From 5ea3f6c9472a38c9a510c8a7a67455e428a9b3a2 Mon Sep 17 00:00:00 2001 From: yanglbme Date: Wed, 25 Sep 2024 06:23:53 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20doocs/md?= =?UTF-8?q?@c7b0e027ac0b5d7e952b951cd0f0482584bacafc=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...Uniq-B1Flybha.js => _baseUniq-BdggiAxO.js} | 2 +- assets/{arc-B1CpNSko.js => arc-BQjszOj9.js} | 2 +- ... architectureDiagram-V6B76FHG-B6YBGQ56.js} | 2 +- ...k.js => blockDiagram-EN3ZKWFM-XbCfY_lM.js} | 2 +- ...9Z8i.js => c4Diagram-THADGKDP-B3FNYdXZ.js} | 2 +- assets/channel-C3SqRiWs.js | 1 + assets/channel-q1VHAzml.js | 1 - ...ClymeFnE.js => chunk-2JBRQKJ5-DY0slxRe.js} | 2 +- ...DZRNnxEy.js => chunk-2RYQ3QTB-BNTIwrOE.js} | 2 +- ...jpI8a8Z5.js => chunk-BAVOGKFW-Bm2jdtC8.js} | 2 +- ...BNJNkKaQ.js => chunk-DUMQOTYW-DrDMarzi.js} | 2 +- ...hYeIc3H-.js => chunk-OQCM5LHU-CSoVW7EB.js} | 2 +- ...DsfIFBqE.js => chunk-UGV5ZQQN-S_EzHP18.js} | 2 +- ...D2CgWdoi.js => chunk-XVOYOM2C-B52IjuyV.js} | 2 +- ...CHuoUZPA.js => chunk-YWFND7JV-Cxhz5tcw.js} | 2 +- ...b.js => classDiagram-4BHYIK4I-Dab2o9cQ.js} | 2 +- ...s => classDiagram-v2-FI7KE7WJ-BybGxp1p.js} | 2 +- ...-BPL5M0Vw.js => cytoscape.esm-BUox6XmP.js} | 2 +- ...Cvu0GWn2.js => dagre-P3YPLUS5-cXP2yN0w.js} | 2 +- ...LulXfZ.js => diagram-QS5GVLUX-BhI56X_Q.js} | 2 +- ...kziK.js => erDiagram-62CBQV5Y-CBsxnETU.js} | 2 +- ...B0.js => flowDiagram-JSIZSE4D-2QXowptI.js} | 2 +- ...E.js => ganttDiagram-ASEIQ4P5-fbNyvURz.js} | 2 +- ...CyTsA.js => gitGraph-YCYPL57B-Bmt_-sZ3.js} | 4 +- ...s => gitGraphDiagram-UL5UFKDR-CK7a38zf.js} | 2 +- .../{graph-F-lRYGiw.js => graph-DNRi3G-N.js} | 2 +- .../{index-DqL3MUN2.js => index-BmyXM-jo.js} | 1022 ++++++++--------- ...sE.js => infoDiagram-7APDZ6AT-CeVMP40j.js} | 2 +- ...js => journeyDiagram-G5LC7W2K-CzCm-6ra.js} | 2 +- assets/{json-Dvvisu1f.js => json-BzboBZu8.js} | 2 +- ...{layout-B3T3dhdM.js => layout-CbykB6Gj.js} | 2 +- ...{linear-CK0OKaTM.js => linear-_gXvi5T4.js} | 2 +- assets/{min-CjiScnR7.js => min-CuKIA37g.js} | 2 +- ...> mindmap-definition-FCEC46F3-BJYta2vd.js} | 2 +- ...yZf.js => pieDiagram-OZX6XH5M-DM2JSR2T.js} | 2 +- ...s => quadrantDiagram-VG34DGKC-C5FwPLoa.js} | 2 +- ...> requirementDiagram-FPZB6IJI-pFEUG6Ac.js} | 2 +- ....js => sankeyDiagram-KMMQDL5K-D5UCg7by.js} | 2 +- ...s => sequenceDiagram-PQT5PN7B-DN-F_B2T.js} | 2 +- ...Q.js => stateDiagram-TQSDS2D4-CleU-zJR.js} | 2 +- assets/stateDiagram-v2-J5TZWJW5-DIUSmo9x.js | 1 - assets/stateDiagram-v2-J5TZWJW5-uMj8NiYN.js | 1 + ... timeline-definition-KYQAIZUX-C-TYbTLN.js} | 2 +- ...js => xychartDiagram-LESROZAQ-pn7-8-Md.js} | 2 +- index.html | 2 +- 45 files changed, 554 insertions(+), 554 deletions(-) rename assets/{_baseUniq-B1Flybha.js => _baseUniq-BdggiAxO.js} (96%) rename assets/{arc-B1CpNSko.js => arc-BQjszOj9.js} (98%) rename assets/{architectureDiagram-V6B76FHG-Bw1CZbuL.js => architectureDiagram-V6B76FHG-B6YBGQ56.js} (99%) rename assets/{blockDiagram-EN3ZKWFM-ODRjdJyk.js => blockDiagram-EN3ZKWFM-XbCfY_lM.js} (99%) rename assets/{c4Diagram-THADGKDP-z2s09Z8i.js => c4Diagram-THADGKDP-B3FNYdXZ.js} (99%) create mode 100644 assets/channel-C3SqRiWs.js delete mode 100644 assets/channel-q1VHAzml.js rename assets/{chunk-2JBRQKJ5-ClymeFnE.js => chunk-2JBRQKJ5-DY0slxRe.js} (99%) rename assets/{chunk-2RYQ3QTB-DZRNnxEy.js => chunk-2RYQ3QTB-BNTIwrOE.js} (65%) rename assets/{chunk-BAVOGKFW-jpI8a8Z5.js => chunk-BAVOGKFW-Bm2jdtC8.js} (99%) rename assets/{chunk-DUMQOTYW-BNJNkKaQ.js => chunk-DUMQOTYW-DrDMarzi.js} (90%) rename assets/{chunk-OQCM5LHU-hYeIc3H-.js => chunk-OQCM5LHU-CSoVW7EB.js} (77%) rename assets/{chunk-UGV5ZQQN-DsfIFBqE.js => chunk-UGV5ZQQN-S_EzHP18.js} (98%) rename assets/{chunk-XVOYOM2C-D2CgWdoi.js => chunk-XVOYOM2C-B52IjuyV.js} (95%) rename assets/{chunk-YWFND7JV-CHuoUZPA.js => chunk-YWFND7JV-Cxhz5tcw.js} (99%) rename assets/{classDiagram-4BHYIK4I-BdgJT4jb.js => classDiagram-4BHYIK4I-Dab2o9cQ.js} (97%) rename assets/{classDiagram-v2-FI7KE7WJ-DaZ2pEyK.js => classDiagram-v2-FI7KE7WJ-BybGxp1p.js} (97%) rename assets/{cytoscape.esm-BPL5M0Vw.js => cytoscape.esm-BUox6XmP.js} (99%) rename assets/{dagre-P3YPLUS5-Cvu0GWn2.js => dagre-P3YPLUS5-cXP2yN0w.js} (97%) rename assets/{diagram-QS5GVLUX-BXLulXfZ.js => diagram-QS5GVLUX-BhI56X_Q.js} (93%) rename assets/{erDiagram-62CBQV5Y-CTiNkziK.js => erDiagram-62CBQV5Y-CBsxnETU.js} (99%) rename assets/{flowDiagram-JSIZSE4D-31S8DQB0.js => flowDiagram-JSIZSE4D-2QXowptI.js} (99%) rename assets/{ganttDiagram-ASEIQ4P5-DWYsQsHE.js => ganttDiagram-ASEIQ4P5-fbNyvURz.js} (99%) rename assets/{gitGraph-YCYPL57B-DANCyTsA.js => gitGraph-YCYPL57B-Bmt_-sZ3.js} (84%) rename assets/{gitGraphDiagram-UL5UFKDR-DLUMmjYA.js => gitGraphDiagram-UL5UFKDR-CK7a38zf.js} (98%) rename assets/{graph-F-lRYGiw.js => graph-DNRi3G-N.js} (97%) rename assets/{index-DqL3MUN2.js => index-BmyXM-jo.js} (56%) rename assets/{infoDiagram-7APDZ6AT-C4BMMmsE.js => infoDiagram-7APDZ6AT-CeVMP40j.js} (68%) rename assets/{journeyDiagram-G5LC7W2K-Df6aXyG-.js => journeyDiagram-G5LC7W2K-CzCm-6ra.js} (98%) rename assets/{json-Dvvisu1f.js => json-BzboBZu8.js} (77%) rename assets/{layout-B3T3dhdM.js => layout-CbykB6Gj.js} (99%) rename assets/{linear-CK0OKaTM.js => linear-_gXvi5T4.js} (98%) rename assets/{min-CjiScnR7.js => min-CuKIA37g.js} (91%) rename assets/{mindmap-definition-FCEC46F3-VnOEc6eV.js => mindmap-definition-FCEC46F3-BJYta2vd.js} (99%) rename assets/{pieDiagram-OZX6XH5M-DcX0GyZf.js => pieDiagram-OZX6XH5M-DM2JSR2T.js} (93%) rename assets/{quadrantDiagram-VG34DGKC-CjDMvYwc.js => quadrantDiagram-VG34DGKC-C5FwPLoa.js} (99%) rename assets/{requirementDiagram-FPZB6IJI-Ca-LbwOn.js => requirementDiagram-FPZB6IJI-pFEUG6Ac.js} (99%) rename assets/{sankeyDiagram-KMMQDL5K-ChG3AGTx.js => sankeyDiagram-KMMQDL5K-D5UCg7by.js} (99%) rename assets/{sequenceDiagram-PQT5PN7B-DcJjkkJr.js => sequenceDiagram-PQT5PN7B-DN-F_B2T.js} (99%) rename assets/{stateDiagram-TQSDS2D4-D-_rRabQ.js => stateDiagram-TQSDS2D4-CleU-zJR.js} (96%) delete mode 100644 assets/stateDiagram-v2-J5TZWJW5-DIUSmo9x.js create mode 100644 assets/stateDiagram-v2-J5TZWJW5-uMj8NiYN.js rename assets/{timeline-definition-KYQAIZUX-BHsMXyod.js => timeline-definition-KYQAIZUX-C-TYbTLN.js} (99%) rename assets/{xychartDiagram-LESROZAQ-wW-Rjpwg.js => xychartDiagram-LESROZAQ-pn7-8-Md.js} (99%) diff --git a/assets/_baseUniq-B1Flybha.js b/assets/_baseUniq-BdggiAxO.js similarity index 96% rename from assets/_baseUniq-B1Flybha.js rename to assets/_baseUniq-BdggiAxO.js index a4a4c8e..fbe6c85 100644 --- a/assets/_baseUniq-B1Flybha.js +++ b/assets/_baseUniq-BdggiAxO.js @@ -1 +1 @@ -import{aV as I,a_ as F,aG as p,aT as O,aZ as x,aW as c,a$ as A,aU as d,b0 as E,b1 as R,aX as y,b2 as g,b3 as v,b4 as N,b5 as P}from"./index-DqL3MUN2.js";function S(){}function k(n){return n!==n}function T(n,s,r){for(var e=r-1,a=n.length;++e-1}function G(n,s,r,e){var a=-1,t=n==null?0:n.length;for(e&&t&&(r=n[++a]);++a=$){var o=s?null:X(n);if(o)return v(o);u=!1,a=P,f=new N}else f=s?[]:i;n:for(;++e-1}function G(n,s,r,e){var a=-1,t=n==null?0:n.length;for(e&&t&&(r=n[++a]);++a=$){var o=s?null:X(n);if(o)return v(o);u=!1,a=P,f=new N}else f=s?[]:i;n:for(;++er*r+G*G&&(j=w,z=p),{cx:j,cy:z,x01:-n,y01:-d,x11:j*(v/T-1),y11:z*(v/T-1)}}function hn(){var l=cn,h=gn,I=B(0),D=null,v=yn,A=dn,C=mn,a=null,O=ln(i);function i(){var n,d,u=+l.apply(this,arguments),s=+h.apply(this,arguments),f=v.apply(this,arguments)-an,c=A.apply(this,arguments)-an,F=un(c-f),t=c>f;if(a||(a=n=O()),sg))a.moveTo(0,0);else if(F>tn-g)a.moveTo(s*H(f),s*q(f)),a.arc(0,0,s,f,c,!t),u>g&&(a.moveTo(u*H(c),u*q(c)),a.arc(0,0,u,c,f,t));else{var m=f,y=c,R=f,T=c,P=F,S=F,j=C.apply(this,arguments)/2,z=j>g&&(D?+D.apply(this,arguments):L(u*u+s*s)),w=_(un(s-u)/2,+I.apply(this,arguments)),p=w,x=w,e,r;if(z>g){var G=sn(z/u*q(j)),M=sn(z/s*q(j));(P-=G*2)>g?(G*=t?1:-1,R+=G,T-=G):(P=0,R=T=(f+c)/2),(S-=M*2)>g?(M*=t?1:-1,m+=M,y-=M):(S=0,m=y=(f+c)/2)}var J=s*H(m),K=s*q(m),N=u*H(T),Q=u*q(T);if(w>g){var U=s*H(y),V=s*q(y),X=u*H(R),Y=u*q(R),E;if(Fg?x>g?(e=W(X,Y,J,K,s,x,t),r=W(U,V,N,Q,s,x,t),a.moveTo(e.cx+e.x01,e.cy+e.y01),xg)||!(P>g)?a.lineTo(N,Q):p>g?(e=W(N,Q,U,V,u,-p,t),r=W(J,K,X,Y,u,-p,t),a.lineTo(e.cx+e.x01,e.cy+e.y01),pr*r+G*G&&(j=w,z=p),{cx:j,cy:z,x01:-n,y01:-d,x11:j*(v/T-1),y11:z*(v/T-1)}}function hn(){var l=cn,h=gn,I=B(0),D=null,v=yn,A=dn,C=mn,a=null,O=ln(i);function i(){var n,d,u=+l.apply(this,arguments),s=+h.apply(this,arguments),f=v.apply(this,arguments)-an,c=A.apply(this,arguments)-an,F=un(c-f),t=c>f;if(a||(a=n=O()),sg))a.moveTo(0,0);else if(F>tn-g)a.moveTo(s*H(f),s*q(f)),a.arc(0,0,s,f,c,!t),u>g&&(a.moveTo(u*H(c),u*q(c)),a.arc(0,0,u,c,f,t));else{var m=f,y=c,R=f,T=c,P=F,S=F,j=C.apply(this,arguments)/2,z=j>g&&(D?+D.apply(this,arguments):L(u*u+s*s)),w=_(un(s-u)/2,+I.apply(this,arguments)),p=w,x=w,e,r;if(z>g){var G=sn(z/u*q(j)),M=sn(z/s*q(j));(P-=G*2)>g?(G*=t?1:-1,R+=G,T-=G):(P=0,R=T=(f+c)/2),(S-=M*2)>g?(M*=t?1:-1,m+=M,y-=M):(S=0,m=y=(f+c)/2)}var J=s*H(m),K=s*q(m),N=u*H(T),Q=u*q(T);if(w>g){var U=s*H(y),V=s*q(y),X=u*H(R),Y=u*q(R),E;if(Fg?x>g?(e=W(X,Y,J,K,s,x,t),r=W(U,V,N,Q,s,x,t),a.moveTo(e.cx+e.x01,e.cy+e.y01),xg)||!(P>g)?a.lineTo(N,Q):p>g?(e=W(N,Q,U,V,u,-p,t),r=W(J,K,X,Y,u,-p,t),a.lineTo(e.cx+e.x01,e.cy+e.y01),ph?(this.rect.x-=(this.labelWidth-h)/2,this.setWidth(this.labelWidth)):this.labelPosHorizontal=="right"&&this.setWidth(h+this.labelWidth)),this.labelHeight&&(this.labelPosVertical=="top"?(this.rect.y-=this.labelHeight,this.setHeight(o+this.labelHeight)):this.labelPosVertical=="center"&&this.labelHeight>o?(this.rect.y-=(this.labelHeight-o)/2,this.setHeight(this.labelHeight)):this.labelPosVertical=="bottom"&&this.setHeight(o+this.labelHeight))}}},a.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==s.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},a.prototype.transform=function(t){var h=this.rect.x;h>r.WORLD_BOUNDARY?h=r.WORLD_BOUNDARY:h<-r.WORLD_BOUNDARY&&(h=-r.WORLD_BOUNDARY);var o=this.rect.y;o>r.WORLD_BOUNDARY?o=r.WORLD_BOUNDARY:o<-r.WORLD_BOUNDARY&&(o=-r.WORLD_BOUNDARY);var c=new f(h,o),l=t.inverseTransformPoint(c);this.setLocation(l.x,l.y)},a.prototype.getLeft=function(){return this.rect.x},a.prototype.getRight=function(){return this.rect.x+this.rect.width},a.prototype.getTop=function(){return this.rect.y},a.prototype.getBottom=function(){return this.rect.y+this.rect.height},a.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},C.exports=a},function(C,G,N){var g=N(0);function s(){}for(var i in g)s[i]=g[i];s.MAX_ITERATIONS=2500,s.DEFAULT_EDGE_LENGTH=50,s.DEFAULT_SPRING_STRENGTH=.45,s.DEFAULT_REPULSION_STRENGTH=4500,s.DEFAULT_GRAVITY_STRENGTH=.4,s.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,s.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,s.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,s.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,s.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,s.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,s.COOLING_ADAPTATION_FACTOR=.33,s.ADAPTATION_LOWER_NODE_LIMIT=1e3,s.ADAPTATION_UPPER_NODE_LIMIT=5e3,s.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,s.MAX_NODE_DISPLACEMENT=s.MAX_NODE_DISPLACEMENT_INCREMENTAL*3,s.MIN_REPULSION_DIST=s.DEFAULT_EDGE_LENGTH/10,s.CONVERGENCE_CHECK_PERIOD=100,s.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,s.MIN_EDGE_LENGTH=1,s.GRID_CALCULATION_CHECK_PERIOD=10,C.exports=s},function(C,G,N){function g(s,i){s==null&&i==null?(this.x=0,this.y=0):(this.x=s,this.y=i)}g.prototype.getX=function(){return this.x},g.prototype.getY=function(){return this.y},g.prototype.setX=function(s){this.x=s},g.prototype.setY=function(s){this.y=s},g.prototype.getDifference=function(s){return new DimensionD(this.x-s.x,this.y-s.y)},g.prototype.getCopy=function(){return new g(this.x,this.y)},g.prototype.translate=function(s){return this.x+=s.width,this.y+=s.height,this},C.exports=g},function(C,G,N){var g=N(2),s=N(10),i=N(0),r=N(7),e=N(3),f=N(1),a=N(13),y=N(12),t=N(11);function h(c,l,T){g.call(this,T),this.estimatedSize=s.MIN_VALUE,this.margin=i.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=c,l!=null&&l instanceof r?this.graphManager=l:l!=null&&l instanceof Layout&&(this.graphManager=l.graphManager)}h.prototype=Object.create(g.prototype);for(var o in g)h[o]=g[o];h.prototype.getNodes=function(){return this.nodes},h.prototype.getEdges=function(){return this.edges},h.prototype.getGraphManager=function(){return this.graphManager},h.prototype.getParent=function(){return this.parent},h.prototype.getLeft=function(){return this.left},h.prototype.getRight=function(){return this.right},h.prototype.getTop=function(){return this.top},h.prototype.getBottom=function(){return this.bottom},h.prototype.isConnected=function(){return this.isConnected},h.prototype.add=function(c,l,T){if(l==null&&T==null){var u=c;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(u)>-1)throw"Node already in graph!";return u.owner=this,this.getNodes().push(u),u}else{var v=c;if(!(this.getNodes().indexOf(l)>-1&&this.getNodes().indexOf(T)>-1))throw"Source or target not in graph!";if(!(l.owner==T.owner&&l.owner==this))throw"Both owners must be this graph!";return l.owner!=T.owner?null:(v.source=l,v.target=T,v.isInterGraph=!1,this.getEdges().push(v),l.edges.push(v),T!=l&&T.edges.push(v),v)}},h.prototype.remove=function(c){var l=c;if(c instanceof e){if(l==null)throw"Node is null!";if(!(l.owner!=null&&l.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var T=l.edges.slice(),u,v=T.length,L=0;L-1&&P>-1))throw"Source and/or target doesn't know this edge!";u.source.edges.splice(A,1),u.target!=u.source&&u.target.edges.splice(P,1);var F=u.source.owner.getEdges().indexOf(u);if(F==-1)throw"Not in owner's edge list!";u.source.owner.getEdges().splice(F,1)}},h.prototype.updateLeftTop=function(){for(var c=s.MAX_VALUE,l=s.MAX_VALUE,T,u,v,L=this.getNodes(),F=L.length,A=0;AT&&(c=T),l>u&&(l=u)}return c==s.MAX_VALUE?null:(L[0].getParent().paddingLeft!=null?v=L[0].getParent().paddingLeft:v=this.margin,this.left=l-v,this.top=c-v,new y(this.left,this.top))},h.prototype.updateBounds=function(c){for(var l=s.MAX_VALUE,T=-s.MAX_VALUE,u=s.MAX_VALUE,v=-s.MAX_VALUE,L,F,A,P,J,V=this.nodes,Q=V.length,D=0;DL&&(l=L),TA&&(u=A),vL&&(l=L),TA&&(u=A),v=this.nodes.length){var Q=0;T.forEach(function(D){D.owner==c&&Q++}),Q==this.nodes.length&&(this.isConnected=!0)}},C.exports=h},function(C,G,N){var g,s=N(1);function i(r){g=N(6),this.layout=r,this.graphs=[],this.edges=[]}i.prototype.addRoot=function(){var r=this.layout.newGraph(),e=this.layout.newNode(null),f=this.add(r,e);return this.setRootGraph(f),this.rootGraph},i.prototype.add=function(r,e,f,a,y){if(f==null&&a==null&&y==null){if(r==null)throw"Graph is null!";if(e==null)throw"Parent node is null!";if(this.graphs.indexOf(r)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(r),r.parent!=null)throw"Already has a parent!";if(e.child!=null)throw"Already has a child!";return r.parent=e,e.child=r,r}else{y=f,a=e,f=r;var t=a.getOwner(),h=y.getOwner();if(!(t!=null&&t.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(h!=null&&h.getGraphManager()==this))throw"Target not in this graph mgr!";if(t==h)return f.isInterGraph=!1,t.add(f,a,y);if(f.isInterGraph=!0,f.source=a,f.target=y,this.edges.indexOf(f)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(f),!(f.source!=null&&f.target!=null))throw"Edge source and/or target is null!";if(!(f.source.edges.indexOf(f)==-1&&f.target.edges.indexOf(f)==-1))throw"Edge already in source and/or target incidency list!";return f.source.edges.push(f),f.target.edges.push(f),f}},i.prototype.remove=function(r){if(r instanceof g){var e=r;if(e.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(e==this.rootGraph||e.parent!=null&&e.parent.graphManager==this))throw"Invalid parent node!";var f=[];f=f.concat(e.getEdges());for(var a,y=f.length,t=0;t=r.getRight()?e[0]+=Math.min(r.getX()-i.getX(),i.getRight()-r.getRight()):r.getX()<=i.getX()&&r.getRight()>=i.getRight()&&(e[0]+=Math.min(i.getX()-r.getX(),r.getRight()-i.getRight())),i.getY()<=r.getY()&&i.getBottom()>=r.getBottom()?e[1]+=Math.min(r.getY()-i.getY(),i.getBottom()-r.getBottom()):r.getY()<=i.getY()&&r.getBottom()>=i.getBottom()&&(e[1]+=Math.min(i.getY()-r.getY(),r.getBottom()-i.getBottom()));var y=Math.abs((r.getCenterY()-i.getCenterY())/(r.getCenterX()-i.getCenterX()));r.getCenterY()===i.getCenterY()&&r.getCenterX()===i.getCenterX()&&(y=1);var t=y*e[0],h=e[1]/y;e[0]t)return e[0]=f,e[1]=o,e[2]=y,e[3]=V,!1;if(ay)return e[0]=h,e[1]=a,e[2]=P,e[3]=t,!1;if(fy?(e[0]=l,e[1]=T,n=!0):(e[0]=c,e[1]=o,n=!0):d===p&&(f>y?(e[0]=h,e[1]=o,n=!0):(e[0]=u,e[1]=T,n=!0)),-E===p?y>f?(e[2]=J,e[3]=V,m=!0):(e[2]=P,e[3]=A,m=!0):E===p&&(y>f?(e[2]=F,e[3]=A,m=!0):(e[2]=Q,e[3]=V,m=!0)),n&&m)return!1;if(f>y?a>t?(R=this.getCardinalDirection(d,p,4),w=this.getCardinalDirection(E,p,2)):(R=this.getCardinalDirection(-d,p,3),w=this.getCardinalDirection(-E,p,1)):a>t?(R=this.getCardinalDirection(-d,p,1),w=this.getCardinalDirection(-E,p,3)):(R=this.getCardinalDirection(d,p,2),w=this.getCardinalDirection(E,p,4)),!n)switch(R){case 1:H=o,I=f+-L/p,e[0]=I,e[1]=H;break;case 2:I=u,H=a+v*p,e[0]=I,e[1]=H;break;case 3:H=T,I=f+L/p,e[0]=I,e[1]=H;break;case 4:I=l,H=a+-v*p,e[0]=I,e[1]=H;break}if(!m)switch(w){case 1:k=A,x=y+-rt/p,e[2]=x,e[3]=k;break;case 2:x=Q,k=t+D*p,e[2]=x,e[3]=k;break;case 3:k=V,x=y+rt/p,e[2]=x,e[3]=k;break;case 4:x=J,k=t+-D*p,e[2]=x,e[3]=k;break}}return!1},s.getCardinalDirection=function(i,r,e){return i>r?e:1+e%4},s.getIntersection=function(i,r,e,f){if(f==null)return this.getIntersection2(i,r,e);var a=i.x,y=i.y,t=r.x,h=r.y,o=e.x,c=e.y,l=f.x,T=f.y,u=void 0,v=void 0,L=void 0,F=void 0,A=void 0,P=void 0,J=void 0,V=void 0,Q=void 0;return L=h-y,A=a-t,J=t*y-a*h,F=T-c,P=o-l,V=l*c-o*T,Q=L*P-F*A,Q===0?null:(u=(A*V-P*J)/Q,v=(F*J-L*V)/Q,new g(u,v))},s.angleOfVector=function(i,r,e,f){var a=void 0;return i!==e?(a=Math.atan((f-r)/(e-i)),e=0){var T=(-o+Math.sqrt(o*o-4*h*c))/(2*h),u=(-o-Math.sqrt(o*o-4*h*c))/(2*h),v=null;return T>=0&&T<=1?[T]:u>=0&&u<=1?[u]:v}else return null},s.HALF_PI=.5*Math.PI,s.ONE_AND_HALF_PI=1.5*Math.PI,s.TWO_PI=2*Math.PI,s.THREE_PI=3*Math.PI,C.exports=s},function(C,G,N){function g(){}g.sign=function(s){return s>0?1:s<0?-1:0},g.floor=function(s){return s<0?Math.ceil(s):Math.floor(s)},g.ceil=function(s){return s<0?Math.floor(s):Math.ceil(s)},C.exports=g},function(C,G,N){function g(){}g.MAX_VALUE=2147483647,g.MIN_VALUE=-2147483648,C.exports=g},function(C,G,N){var g=function(){function a(y,t){for(var h=0;h"u"?"undefined":g(i);return i==null||r!="object"&&r!="function"},C.exports=s},function(C,G,N){function g(o){if(Array.isArray(o)){for(var c=0,l=Array(o.length);c0&&c;){for(L.push(A[0]);L.length>0&&c;){var P=L[0];L.splice(0,1),v.add(P);for(var J=P.getEdges(),u=0;u-1&&A.splice(rt,1)}v=new Set,F=new Map}}return o},h.prototype.createDummyNodesForBendpoints=function(o){for(var c=[],l=o.source,T=this.graphManager.calcLowestCommonAncestor(o.source,o.target),u=0;u0){for(var T=this.edgeToDummyNodes.get(l),u=0;u=0&&c.splice(V,1);var Q=F.getNeighborsList();Q.forEach(function(n){if(l.indexOf(n)<0){var m=T.get(n),d=m-1;d==1&&P.push(n),T.set(n,d)}})}l=l.concat(P),(c.length==1||c.length==2)&&(u=!0,v=c[0])}return v},h.prototype.setGraphManager=function(o){this.graphManager=o},C.exports=h},function(C,G,N){function g(){}g.seed=1,g.x=0,g.nextDouble=function(){return g.x=Math.sin(g.seed++)*1e4,g.x-Math.floor(g.x)},C.exports=g},function(C,G,N){var g=N(5);function s(i,r){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}s.prototype.getWorldOrgX=function(){return this.lworldOrgX},s.prototype.setWorldOrgX=function(i){this.lworldOrgX=i},s.prototype.getWorldOrgY=function(){return this.lworldOrgY},s.prototype.setWorldOrgY=function(i){this.lworldOrgY=i},s.prototype.getWorldExtX=function(){return this.lworldExtX},s.prototype.setWorldExtX=function(i){this.lworldExtX=i},s.prototype.getWorldExtY=function(){return this.lworldExtY},s.prototype.setWorldExtY=function(i){this.lworldExtY=i},s.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},s.prototype.setDeviceOrgX=function(i){this.ldeviceOrgX=i},s.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},s.prototype.setDeviceOrgY=function(i){this.ldeviceOrgY=i},s.prototype.getDeviceExtX=function(){return this.ldeviceExtX},s.prototype.setDeviceExtX=function(i){this.ldeviceExtX=i},s.prototype.getDeviceExtY=function(){return this.ldeviceExtY},s.prototype.setDeviceExtY=function(i){this.ldeviceExtY=i},s.prototype.transformX=function(i){var r=0,e=this.lworldExtX;return e!=0&&(r=this.ldeviceOrgX+(i-this.lworldOrgX)*this.ldeviceExtX/e),r},s.prototype.transformY=function(i){var r=0,e=this.lworldExtY;return e!=0&&(r=this.ldeviceOrgY+(i-this.lworldOrgY)*this.ldeviceExtY/e),r},s.prototype.inverseTransformX=function(i){var r=0,e=this.ldeviceExtX;return e!=0&&(r=this.lworldOrgX+(i-this.ldeviceOrgX)*this.lworldExtX/e),r},s.prototype.inverseTransformY=function(i){var r=0,e=this.ldeviceExtY;return e!=0&&(r=this.lworldOrgY+(i-this.ldeviceOrgY)*this.lworldExtY/e),r},s.prototype.inverseTransformPoint=function(i){var r=new g(this.inverseTransformX(i.x),this.inverseTransformY(i.y));return r},C.exports=s},function(C,G,N){function g(t){if(Array.isArray(t)){for(var h=0,o=Array(t.length);hi.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*i.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(t-i.ADAPTATION_LOWER_NODE_LIMIT)/(i.ADAPTATION_UPPER_NODE_LIMIT-i.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-i.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=i.MAX_NODE_DISPLACEMENT_INCREMENTAL):(t>i.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(i.COOLING_ADAPTATION_FACTOR,1-(t-i.ADAPTATION_LOWER_NODE_LIMIT)/(i.ADAPTATION_UPPER_NODE_LIMIT-i.ADAPTATION_LOWER_NODE_LIMIT)*(1-i.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=i.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.displacementThresholdPerNode=3*i.DEFAULT_EDGE_LENGTH/100,this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},a.prototype.calcSpringForces=function(){for(var t=this.getAllEdges(),h,o=0;o0&&arguments[0]!==void 0?arguments[0]:!0,h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,o,c,l,T,u=this.getAllNodes(),v;if(this.useFRGridVariant)for(this.totalIterations%i.GRID_CALCULATION_CHECK_PERIOD==1&&t&&this.updateGrid(),v=new Set,o=0;oL||v>L)&&(t.gravitationForceX=-this.gravityConstant*l,t.gravitationForceY=-this.gravityConstant*T)):(L=h.getEstimatedSize()*this.compoundGravityRangeFactor,(u>L||v>L)&&(t.gravitationForceX=-this.gravityConstant*l*this.compoundGravityConstant,t.gravitationForceY=-this.gravityConstant*T*this.compoundGravityConstant))},a.prototype.isConverged=function(){var t,h=!1;return this.totalIterations>this.maxIterations/3&&(h=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),t=this.totalDisplacement=u.length||L>=u[0].length)){for(var F=0;Fa}}]),e}();C.exports=r},function(C,G,N){function g(){}g.svd=function(s){this.U=null,this.V=null,this.s=null,this.m=0,this.n=0,this.m=s.length,this.n=s[0].length;var i=Math.min(this.m,this.n);this.s=function(Nt){for(var At=[];Nt-- >0;)At.push(0);return At}(Math.min(this.m+1,this.n)),this.U=function(Nt){var At=function Zt(Gt){if(Gt.length==0)return 0;for(var $t=[],Ft=0;Ft0;)At.push(0);return At}(this.n),e=function(Nt){for(var At=[];Nt-- >0;)At.push(0);return At}(this.m),f=!0,a=Math.min(this.m-1,this.n),y=Math.max(0,Math.min(this.n-2,this.m)),t=0;t=0;E--)if(this.s[E]!==0){for(var p=E+1;p=0;W--){if(function(Nt,At){return Nt&&At}(W0;){var q=void 0,It=void 0;for(q=n-2;q>=-1&&q!==-1;q--)if(Math.abs(r[q])<=lt+_*(Math.abs(this.s[q])+Math.abs(this.s[q+1]))){r[q]=0;break}if(q===n-2)It=4;else{var Lt=void 0;for(Lt=n-1;Lt>=q&&Lt!==q;Lt--){var dt=(Lt!==n?Math.abs(r[Lt]):0)+(Lt!==q+1?Math.abs(r[Lt-1]):0);if(Math.abs(this.s[Lt])<=lt+_*dt){this.s[Lt]=0;break}}Lt===q?It=3:Lt===n-1?It=1:(It=2,q=Lt)}switch(q++,It){case 1:{var it=r[n-2];r[n-2]=0;for(var ut=n-2;ut>=q;ut--){var Tt=g.hypot(this.s[ut],it),Ct=this.s[ut]/Tt,Dt=it/Tt;this.s[ut]=Tt,ut!==q&&(it=-Dt*r[ut-1],r[ut-1]=Ct*r[ut-1]);for(var mt=0;mt=this.s[q+1]);){var Mt=this.s[q];if(this.s[q]=this.s[q+1],this.s[q+1]=Mt,qMath.abs(i)?(r=i/s,r=Math.abs(s)*Math.sqrt(1+r*r)):i!=0?(r=s/i,r=Math.abs(i)*Math.sqrt(1+r*r)):r=0,r},C.exports=g},function(C,G,N){var g=function(){function r(e,f){for(var a=0;a2&&arguments[2]!==void 0?arguments[2]:1,y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,t=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;s(this,r),this.sequence1=e,this.sequence2=f,this.match_score=a,this.mismatch_penalty=y,this.gap_penalty=t,this.iMax=e.length+1,this.jMax=f.length+1,this.grid=new Array(this.iMax);for(var h=0;h=0;e--){var f=this.listeners[e];f.event===i&&f.callback===r&&this.listeners.splice(e,1)}},s.emit=function(i,r){for(var e=0;e{var G={45:(i,r,e)=>{var f={};f.layoutBase=e(551),f.CoSEConstants=e(806),f.CoSEEdge=e(767),f.CoSEGraph=e(880),f.CoSEGraphManager=e(578),f.CoSELayout=e(765),f.CoSENode=e(991),f.ConstraintHandler=e(902),i.exports=f},806:(i,r,e)=>{var f=e(551).FDLayoutConstants;function a(){}for(var y in f)a[y]=f[y];a.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,a.DEFAULT_RADIAL_SEPARATION=f.DEFAULT_EDGE_LENGTH,a.DEFAULT_COMPONENT_SEPERATION=60,a.TILE=!0,a.TILING_PADDING_VERTICAL=10,a.TILING_PADDING_HORIZONTAL=10,a.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,a.ENFORCE_CONSTRAINTS=!0,a.APPLY_LAYOUT=!0,a.RELAX_MOVEMENT_ON_CONSTRAINTS=!0,a.TREE_REDUCTION_ON_INCREMENTAL=!0,a.PURE_INCREMENTAL=a.DEFAULT_INCREMENTAL,i.exports=a},767:(i,r,e)=>{var f=e(551).FDLayoutEdge;function a(t,h,o){f.call(this,t,h,o)}a.prototype=Object.create(f.prototype);for(var y in f)a[y]=f[y];i.exports=a},880:(i,r,e)=>{var f=e(551).LGraph;function a(t,h,o){f.call(this,t,h,o)}a.prototype=Object.create(f.prototype);for(var y in f)a[y]=f[y];i.exports=a},578:(i,r,e)=>{var f=e(551).LGraphManager;function a(t){f.call(this,t)}a.prototype=Object.create(f.prototype);for(var y in f)a[y]=f[y];i.exports=a},765:(i,r,e)=>{var f=e(551).FDLayout,a=e(578),y=e(880),t=e(991),h=e(767),o=e(806),c=e(902),l=e(551).FDLayoutConstants,T=e(551).LayoutConstants,u=e(551).Point,v=e(551).PointD,L=e(551).DimensionD,F=e(551).Layout,A=e(551).Integer,P=e(551).IGeometry,J=e(551).LGraph,V=e(551).Transform,Q=e(551).LinkedList;function D(){f.call(this),this.toBeTiled={},this.constraints={}}D.prototype=Object.create(f.prototype);for(var rt in f)D[rt]=f[rt];D.prototype.newGraphManager=function(){var n=new a(this);return this.graphManager=n,n},D.prototype.newGraph=function(n){return new y(null,this.graphManager,n)},D.prototype.newNode=function(n){return new t(this.graphManager,n)},D.prototype.newEdge=function(n){return new h(null,null,n)},D.prototype.initParameters=function(){f.prototype.initParameters.call(this,arguments),this.isSubLayout||(o.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=o.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=o.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.gravityConstant=l.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=l.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=l.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1)},D.prototype.initSpringEmbedder=function(){f.prototype.initSpringEmbedder.call(this),this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/l.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=.04,this.coolingAdjuster=1},D.prototype.layout=function(){var n=T.DEFAULT_CREATE_BENDS_AS_NEEDED;return n&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},D.prototype.classicLayout=function(){if(this.nodesWithGravity=this.calculateNodesToApplyGravitationTo(),this.graphManager.setAllNodesToApplyGravitation(this.nodesWithGravity),this.calcNoOfChildrenForAllNodes(),this.graphManager.calcLowestCommonAncestors(),this.graphManager.calcInclusionTreeDepths(),this.graphManager.getRoot().calcEstimatedSize(),this.calcIdealEdgeLengths(),this.incremental){if(o.TREE_REDUCTION_ON_INCREMENTAL){this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var m=new Set(this.getAllNodes()),d=this.nodesWithGravity.filter(function(R){return m.has(R)});this.graphManager.setAllNodesToApplyGravitation(d)}}else{var n=this.getFlatForest();if(n.length>0)this.positionNodesRadially(n);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var m=new Set(this.getAllNodes()),d=this.nodesWithGravity.filter(function(E){return m.has(E)});this.graphManager.setAllNodesToApplyGravitation(d),this.positionNodesRandomly()}}return Object.keys(this.constraints).length>0&&(c.handleConstraints(this),this.initConstraintVariables()),this.initSpringEmbedder(),o.APPLY_LAYOUT&&this.runSpringEmbedder(),!0},D.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%l.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var n=new Set(this.getAllNodes()),m=this.nodesWithGravity.filter(function(p){return n.has(p)});this.graphManager.setAllNodesToApplyGravitation(m),this.graphManager.updateBounds(),this.updateGrid(),o.PURE_INCREMENTAL?this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL/2:this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),o.PURE_INCREMENTAL?this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL/2*((100-this.afterGrowthIterations)/100):this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var d=!this.isTreeGrowing&&!this.isGrowthFinished,E=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(d,E),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},D.prototype.getPositionsData=function(){for(var n=this.graphManager.getAllNodes(),m={},d=0;d0&&this.updateDisplacements();for(var d=0;d0&&(E.fixedNodeWeight=R)}}if(this.constraints.relativePlacementConstraint){var w=new Map,I=new Map;if(this.dummyToNodeForVerticalAlignment=new Map,this.dummyToNodeForHorizontalAlignment=new Map,this.fixedNodesOnHorizontal=new Set,this.fixedNodesOnVertical=new Set,this.fixedNodeSet.forEach(function(O){n.fixedNodesOnHorizontal.add(O),n.fixedNodesOnVertical.add(O)}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical)for(var H=this.constraints.alignmentConstraint.vertical,d=0;d=2*O.length/3;_--)X=Math.floor(Math.random()*(_+1)),B=O[_],O[_]=O[X],O[X]=B;return O},this.nodesInRelativeHorizontal=[],this.nodesInRelativeVertical=[],this.nodeToRelativeConstraintMapHorizontal=new Map,this.nodeToRelativeConstraintMapVertical=new Map,this.nodeToTempPositionMapHorizontal=new Map,this.nodeToTempPositionMapVertical=new Map,this.constraints.relativePlacementConstraint.forEach(function(O){if(O.left){var X=w.has(O.left)?w.get(O.left):O.left,B=w.has(O.right)?w.get(O.right):O.right;n.nodesInRelativeHorizontal.includes(X)||(n.nodesInRelativeHorizontal.push(X),n.nodeToRelativeConstraintMapHorizontal.set(X,[]),n.dummyToNodeForVerticalAlignment.has(X)?n.nodeToTempPositionMapHorizontal.set(X,n.idToNodeMap.get(n.dummyToNodeForVerticalAlignment.get(X)[0]).getCenterX()):n.nodeToTempPositionMapHorizontal.set(X,n.idToNodeMap.get(X).getCenterX())),n.nodesInRelativeHorizontal.includes(B)||(n.nodesInRelativeHorizontal.push(B),n.nodeToRelativeConstraintMapHorizontal.set(B,[]),n.dummyToNodeForVerticalAlignment.has(B)?n.nodeToTempPositionMapHorizontal.set(B,n.idToNodeMap.get(n.dummyToNodeForVerticalAlignment.get(B)[0]).getCenterX()):n.nodeToTempPositionMapHorizontal.set(B,n.idToNodeMap.get(B).getCenterX())),n.nodeToRelativeConstraintMapHorizontal.get(X).push({right:B,gap:O.gap}),n.nodeToRelativeConstraintMapHorizontal.get(B).push({left:X,gap:O.gap})}else{var _=I.has(O.top)?I.get(O.top):O.top,lt=I.has(O.bottom)?I.get(O.bottom):O.bottom;n.nodesInRelativeVertical.includes(_)||(n.nodesInRelativeVertical.push(_),n.nodeToRelativeConstraintMapVertical.set(_,[]),n.dummyToNodeForHorizontalAlignment.has(_)?n.nodeToTempPositionMapVertical.set(_,n.idToNodeMap.get(n.dummyToNodeForHorizontalAlignment.get(_)[0]).getCenterY()):n.nodeToTempPositionMapVertical.set(_,n.idToNodeMap.get(_).getCenterY())),n.nodesInRelativeVertical.includes(lt)||(n.nodesInRelativeVertical.push(lt),n.nodeToRelativeConstraintMapVertical.set(lt,[]),n.dummyToNodeForHorizontalAlignment.has(lt)?n.nodeToTempPositionMapVertical.set(lt,n.idToNodeMap.get(n.dummyToNodeForHorizontalAlignment.get(lt)[0]).getCenterY()):n.nodeToTempPositionMapVertical.set(lt,n.idToNodeMap.get(lt).getCenterY())),n.nodeToRelativeConstraintMapVertical.get(_).push({bottom:lt,gap:O.gap}),n.nodeToRelativeConstraintMapVertical.get(lt).push({top:_,gap:O.gap})}});else{var k=new Map,W=new Map;this.constraints.relativePlacementConstraint.forEach(function(O){if(O.left){var X=w.has(O.left)?w.get(O.left):O.left,B=w.has(O.right)?w.get(O.right):O.right;k.has(X)?k.get(X).push(B):k.set(X,[B]),k.has(B)?k.get(B).push(X):k.set(B,[X])}else{var _=I.has(O.top)?I.get(O.top):O.top,lt=I.has(O.bottom)?I.get(O.bottom):O.bottom;W.has(_)?W.get(_).push(lt):W.set(_,[lt]),W.has(lt)?W.get(lt).push(_):W.set(lt,[_])}});var U=function(X,B){var _=[],lt=[],q=new Q,It=new Set,Lt=0;return X.forEach(function(dt,it){if(!It.has(it)){_[Lt]=[],lt[Lt]=!1;var ut=it;for(q.push(ut),It.add(ut),_[Lt].push(ut);q.length!=0;){ut=q.shift(),B.has(ut)&&(lt[Lt]=!0);var Tt=X.get(ut);Tt.forEach(function(Ct){It.has(Ct)||(q.push(Ct),It.add(Ct),_[Lt].push(Ct))})}Lt++}}),{components:_,isFixed:lt}},et=U(k,n.fixedNodesOnHorizontal);this.componentsOnHorizontal=et.components,this.fixedComponentsOnHorizontal=et.isFixed;var z=U(W,n.fixedNodesOnVertical);this.componentsOnVertical=z.components,this.fixedComponentsOnVertical=z.isFixed}}},D.prototype.updateDisplacements=function(){var n=this;if(this.constraints.fixedNodeConstraint&&this.constraints.fixedNodeConstraint.forEach(function(z){var O=n.idToNodeMap.get(z.nodeId);O.displacementX=0,O.displacementY=0}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical)for(var m=this.constraints.alignmentConstraint.vertical,d=0;d1){var I;for(I=0;IE&&(E=Math.floor(w.y)),R=Math.floor(w.x+o.DEFAULT_COMPONENT_SEPERATION)}this.transform(new v(T.WORLD_CENTER_X-w.x/2,T.WORLD_CENTER_Y-w.y/2))},D.radialLayout=function(n,m,d){var E=Math.max(this.maxDiagonalInTree(n),o.DEFAULT_RADIAL_SEPARATION);D.branchRadialLayout(m,null,0,359,0,E);var p=J.calculateBounds(n),R=new V;R.setDeviceOrgX(p.getMinX()),R.setDeviceOrgY(p.getMinY()),R.setWorldOrgX(d.x),R.setWorldOrgY(d.y);for(var w=0;w1;){var B=X[0];X.splice(0,1);var _=W.indexOf(B);_>=0&&W.splice(_,1),z--,U--}m!=null?O=(W.indexOf(X[0])+1)%z:O=0;for(var lt=Math.abs(E-d)/U,q=O;et!=U;q=++q%z){var It=W[q].getOtherEnd(n);if(It!=m){var Lt=(d+et*lt)%360,dt=(Lt+lt)%360;D.branchRadialLayout(It,n,Lt,dt,p+R,R),et++}}},D.maxDiagonalInTree=function(n){for(var m=A.MIN_VALUE,d=0;dm&&(m=p)}return m},D.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},D.prototype.groupZeroDegreeMembers=function(){var n=this,m={};this.memberGroups={},this.idToDummyNode={};for(var d=[],E=this.graphManager.getAllNodes(),p=0;p"u"&&(m[I]=[]),m[I]=m[I].concat(R)}Object.keys(m).forEach(function(H){if(m[H].length>1){var x="DummyCompound_"+H;n.memberGroups[x]=m[H];var k=m[H][0].getParent(),W=new t(n.graphManager);W.id=x,W.paddingLeft=k.paddingLeft||0,W.paddingRight=k.paddingRight||0,W.paddingBottom=k.paddingBottom||0,W.paddingTop=k.paddingTop||0,n.idToDummyNode[x]=W;var U=n.getGraphManager().add(n.newGraph(),W),et=k.getChild();et.add(W);for(var z=0;zp?(E.rect.x-=(E.labelWidth-p)/2,E.setWidth(E.labelWidth),E.labelMarginLeft=(E.labelWidth-p)/2):E.labelPosHorizontal=="right"&&E.setWidth(p+E.labelWidth)),E.labelHeight&&(E.labelPosVertical=="top"?(E.rect.y-=E.labelHeight,E.setHeight(R+E.labelHeight),E.labelMarginTop=E.labelHeight):E.labelPosVertical=="center"&&E.labelHeight>R?(E.rect.y-=(E.labelHeight-R)/2,E.setHeight(E.labelHeight),E.labelMarginTop=(E.labelHeight-R)/2):E.labelPosVertical=="bottom"&&E.setHeight(R+E.labelHeight))}})},D.prototype.repopulateCompounds=function(){for(var n=this.compoundOrder.length-1;n>=0;n--){var m=this.compoundOrder[n],d=m.id,E=m.paddingLeft,p=m.paddingTop,R=m.labelMarginLeft,w=m.labelMarginTop;this.adjustLocations(this.tiledMemberPack[d],m.rect.x,m.rect.y,E,p,R,w)}},D.prototype.repopulateZeroDegreeMembers=function(){var n=this,m=this.tiledZeroDegreePack;Object.keys(m).forEach(function(d){var E=n.idToDummyNode[d],p=E.paddingLeft,R=E.paddingTop,w=E.labelMarginLeft,I=E.labelMarginTop;n.adjustLocations(m[d],E.rect.x,E.rect.y,p,R,w,I)})},D.prototype.getToBeTiled=function(n){var m=n.id;if(this.toBeTiled[m]!=null)return this.toBeTiled[m];var d=n.getChild();if(d==null)return this.toBeTiled[m]=!1,!1;for(var E=d.getNodes(),p=0;p0)return this.toBeTiled[m]=!1,!1;if(R.getChild()==null){this.toBeTiled[R.id]=!1;continue}if(!this.getToBeTiled(R))return this.toBeTiled[m]=!1,!1}return this.toBeTiled[m]=!0,!0},D.prototype.getNodeDegree=function(n){n.id;for(var m=n.getEdges(),d=0,E=0;Ek&&(k=U.rect.height)}d+=k+n.verticalPadding}},D.prototype.tileCompoundMembers=function(n,m){var d=this;this.tiledMemberPack=[],Object.keys(n).forEach(function(E){var p=m[E];if(d.tiledMemberPack[E]=d.tileNodes(n[E],p.paddingLeft+p.paddingRight),p.rect.width=d.tiledMemberPack[E].width,p.rect.height=d.tiledMemberPack[E].height,p.setCenter(d.tiledMemberPack[E].centerX,d.tiledMemberPack[E].centerY),p.labelMarginLeft=0,p.labelMarginTop=0,o.NODE_DIMENSIONS_INCLUDE_LABELS){var R=p.rect.width,w=p.rect.height;p.labelWidth&&(p.labelPosHorizontal=="left"?(p.rect.x-=p.labelWidth,p.setWidth(R+p.labelWidth),p.labelMarginLeft=p.labelWidth):p.labelPosHorizontal=="center"&&p.labelWidth>R?(p.rect.x-=(p.labelWidth-R)/2,p.setWidth(p.labelWidth),p.labelMarginLeft=(p.labelWidth-R)/2):p.labelPosHorizontal=="right"&&p.setWidth(R+p.labelWidth)),p.labelHeight&&(p.labelPosVertical=="top"?(p.rect.y-=p.labelHeight,p.setHeight(w+p.labelHeight),p.labelMarginTop=p.labelHeight):p.labelPosVertical=="center"&&p.labelHeight>w?(p.rect.y-=(p.labelHeight-w)/2,p.setHeight(p.labelHeight),p.labelMarginTop=(p.labelHeight-w)/2):p.labelPosVertical=="bottom"&&p.setHeight(w+p.labelHeight))}})},D.prototype.tileNodes=function(n,m){var d=this.tileNodesByFavoringDim(n,m,!0),E=this.tileNodesByFavoringDim(n,m,!1),p=this.getOrgRatio(d),R=this.getOrgRatio(E),w;return RI&&(I=z.getWidth())});var H=R/p,x=w/p,k=Math.pow(d-E,2)+4*(H+E)*(x+d)*p,W=(E-d+Math.sqrt(k))/(2*(H+E)),U;m?(U=Math.ceil(W),U==W&&U++):U=Math.floor(W);var et=U*(H+E)-E;return I>et&&(et=I),et+=E*2,et},D.prototype.tileNodesByFavoringDim=function(n,m,d){var E=o.TILING_PADDING_VERTICAL,p=o.TILING_PADDING_HORIZONTAL,R=o.TILING_COMPARE_BY,w={rows:[],rowWidth:[],rowHeight:[],width:0,height:m,verticalPadding:E,horizontalPadding:p,centerX:0,centerY:0};R&&(w.idealRowWidth=this.calcIdealRowWidth(n,d));var I=function(O){return O.rect.width*O.rect.height},H=function(O,X){return I(X)-I(O)};n.sort(function(z,O){var X=H;return w.idealRowWidth?(X=R,X(z.id,O.id)):X(z,O)});for(var x=0,k=0,W=0;W0&&(w+=n.horizontalPadding),n.rowWidth[d]=w,n.width0&&(I+=n.verticalPadding);var H=0;I>n.rowHeight[d]&&(H=n.rowHeight[d],n.rowHeight[d]=I,H=n.rowHeight[d]-H),n.height+=H,n.rows[d].push(m)},D.prototype.getShortestRowIndex=function(n){for(var m=-1,d=Number.MAX_VALUE,E=0;Ed&&(m=E,d=n.rowWidth[E]);return m},D.prototype.canAddHorizontal=function(n,m,d){if(n.idealRowWidth){var E=n.rows.length-1,p=n.rowWidth[E];return p+m+n.horizontalPadding<=n.idealRowWidth}var R=this.getShortestRowIndex(n);if(R<0)return!0;var w=n.rowWidth[R];if(w+n.horizontalPadding+m<=n.width)return!0;var I=0;n.rowHeight[R]0&&(I=d+n.verticalPadding-n.rowHeight[R]);var H;n.width-w>=m+n.horizontalPadding?H=(n.height+I)/(w+m+n.horizontalPadding):H=(n.height+I)/n.width,I=d+n.verticalPadding;var x;return n.widthR&&m!=d){E.splice(-1,1),n.rows[d].push(p),n.rowWidth[m]=n.rowWidth[m]-R,n.rowWidth[d]=n.rowWidth[d]+R,n.width=n.rowWidth[instance.getLongestRowIndex(n)];for(var w=Number.MIN_VALUE,I=0;Iw&&(w=E[I].height);m>0&&(w+=n.verticalPadding);var H=n.rowHeight[m]+n.rowHeight[d];n.rowHeight[m]=w,n.rowHeight[d]0)for(var et=p;et<=R;et++)U[0]+=this.grid[et][w-1].length+this.grid[et][w].length-1;if(R0)for(var et=w;et<=I;et++)U[3]+=this.grid[p-1][et].length+this.grid[p][et].length-1;for(var z=A.MAX_VALUE,O,X,B=0;B{var f=e(551).FDLayoutNode,a=e(551).IMath;function y(h,o,c,l){f.call(this,h,o,c,l)}y.prototype=Object.create(f.prototype);for(var t in f)y[t]=f[t];y.prototype.calculateDisplacement=function(){var h=this.graphManager.getLayout();this.getChild()!=null&&this.fixedNodeWeight?(this.displacementX+=h.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.fixedNodeWeight,this.displacementY+=h.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.fixedNodeWeight):(this.displacementX+=h.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY+=h.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren),Math.abs(this.displacementX)>h.coolingFactor*h.maxNodeDisplacement&&(this.displacementX=h.coolingFactor*h.maxNodeDisplacement*a.sign(this.displacementX)),Math.abs(this.displacementY)>h.coolingFactor*h.maxNodeDisplacement&&(this.displacementY=h.coolingFactor*h.maxNodeDisplacement*a.sign(this.displacementY)),this.child&&this.child.getNodes().length>0&&this.propogateDisplacementToChildren(this.displacementX,this.displacementY)},y.prototype.propogateDisplacementToChildren=function(h,o){for(var c=this.getChild().getNodes(),l,T=0;T{function f(c){if(Array.isArray(c)){for(var l=0,T=Array(c.length);l0){var Mt=0;st.forEach(function(ht){$=="horizontal"?(tt.set(ht,u.has(ht)?v[u.get(ht)]:Z.get(ht)),Mt+=tt.get(ht)):(tt.set(ht,u.has(ht)?L[u.get(ht)]:Z.get(ht)),Mt+=tt.get(ht))}),Mt=Mt/st.length,ft.forEach(function(ht){K.has(ht)||tt.set(ht,Mt)})}else{var ct=0;ft.forEach(function(ht){$=="horizontal"?ct+=u.has(ht)?v[u.get(ht)]:Z.get(ht):ct+=u.has(ht)?L[u.get(ht)]:Z.get(ht)}),ct=ct/ft.length,ft.forEach(function(ht){tt.set(ht,ct)})}});for(var wt=function(){var st=vt.shift(),Mt=b.get(st);Mt.forEach(function(ct){if(tt.get(ct.id)ht&&(ht=qt),_tWt&&(Wt=_t)}}catch(ie){At=!0,Zt=ie}finally{try{!Nt&&Gt.return&&Gt.return()}finally{if(At)throw Zt}}var ce=(Mt+ht)/2-(ct+Wt)/2,Kt=!0,te=!1,ee=void 0;try{for(var jt=ft[Symbol.iterator](),se;!(Kt=(se=jt.next()).done);Kt=!0){var re=se.value;tt.set(re,tt.get(re)+ce)}}catch(ie){te=!0,ee=ie}finally{try{!Kt&&jt.return&&jt.return()}finally{if(te)throw ee}}})}return tt},rt=function(b){var $=0,K=0,Z=0,at=0;if(b.forEach(function(j){j.left?v[u.get(j.left)]-v[u.get(j.right)]>=0?$++:K++:L[u.get(j.top)]-L[u.get(j.bottom)]>=0?Z++:at++}),$>K&&Z>at)for(var gt=0;gtK)for(var ot=0;otat)for(var tt=0;tt1)l.fixedNodeConstraint.forEach(function(S,b){E[b]=[S.position.x,S.position.y],p[b]=[v[u.get(S.nodeId)],L[u.get(S.nodeId)]]}),R=!0;else if(l.alignmentConstraint)(function(){var S=0;if(l.alignmentConstraint.vertical){for(var b=l.alignmentConstraint.vertical,$=function(tt){var j=new Set;b[tt].forEach(function(yt){j.add(yt)});var vt=new Set([].concat(f(j)).filter(function(yt){return I.has(yt)})),wt=void 0;vt.size>0?wt=v[u.get(vt.values().next().value)]:wt=Q(j).x,b[tt].forEach(function(yt){E[S]=[wt,L[u.get(yt)]],p[S]=[v[u.get(yt)],L[u.get(yt)]],S++})},K=0;K0?wt=v[u.get(vt.values().next().value)]:wt=Q(j).y,Z[tt].forEach(function(yt){E[S]=[v[u.get(yt)],wt],p[S]=[v[u.get(yt)],L[u.get(yt)]],S++})},gt=0;gtW&&(W=k[et].length,U=et);if(W0){var mt={x:0,y:0};l.fixedNodeConstraint.forEach(function(S,b){var $={x:v[u.get(S.nodeId)],y:L[u.get(S.nodeId)]},K=S.position,Z=V(K,$);mt.x+=Z.x,mt.y+=Z.y}),mt.x/=l.fixedNodeConstraint.length,mt.y/=l.fixedNodeConstraint.length,v.forEach(function(S,b){v[b]+=mt.x}),L.forEach(function(S,b){L[b]+=mt.y}),l.fixedNodeConstraint.forEach(function(S){v[u.get(S.nodeId)]=S.position.x,L[u.get(S.nodeId)]=S.position.y})}if(l.alignmentConstraint){if(l.alignmentConstraint.vertical)for(var xt=l.alignmentConstraint.vertical,St=function(b){var $=new Set;xt[b].forEach(function(at){$.add(at)});var K=new Set([].concat(f($)).filter(function(at){return I.has(at)})),Z=void 0;K.size>0?Z=v[u.get(K.values().next().value)]:Z=Q($).x,$.forEach(function(at){I.has(at)||(v[u.get(at)]=Z)})},Vt=0;Vt0?Z=L[u.get(K.values().next().value)]:Z=Q($).y,$.forEach(function(at){I.has(at)||(L[u.get(at)]=Z)})},bt=0;bt{i.exports=C}},N={};function g(i){var r=N[i];if(r!==void 0)return r.exports;var e=N[i]={exports:{}};return G[i](e,e.exports,g),e.exports}var s=g(45);return s})()})}(pe)),pe.exports}(function(M,Y){(function(G,N){M.exports=N(cr())})(Te,function(C){return(()=>{var G={658:i=>{i.exports=Object.assign!=null?Object.assign.bind(Object):function(r){for(var e=arguments.length,f=Array(e>1?e-1:0),a=1;a{var f=function(){function t(h,o){var c=[],l=!0,T=!1,u=void 0;try{for(var v=h[Symbol.iterator](),L;!(l=(L=v.next()).done)&&(c.push(L.value),!(o&&c.length===o));l=!0);}catch(F){T=!0,u=F}finally{try{!l&&v.return&&v.return()}finally{if(T)throw u}}return c}return function(h,o){if(Array.isArray(h))return h;if(Symbol.iterator in Object(h))return t(h,o);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=e(140).layoutBase.LinkedList,y={};y.getTopMostNodes=function(t){for(var h={},o=0;o0&&R.merge(x)});for(var w=0;w1){L=u[0],F=L.connectedEdges().length,u.forEach(function(p){p.connectedEdges().length0&&c.set("dummy"+(c.size+1),J),V},y.relocateComponent=function(t,h,o){if(!o.fixedNodeConstraint){var c=Number.POSITIVE_INFINITY,l=Number.NEGATIVE_INFINITY,T=Number.POSITIVE_INFINITY,u=Number.NEGATIVE_INFINITY;if(o.quality=="draft"){var v=!0,L=!1,F=void 0;try{for(var A=h.nodeIndexes[Symbol.iterator](),P;!(v=(P=A.next()).done);v=!0){var J=P.value,V=f(J,2),Q=V[0],D=V[1],rt=o.cy.getElementById(Q);if(rt){var n=rt.boundingBox(),m=h.xCoords[D]-n.w/2,d=h.xCoords[D]+n.w/2,E=h.yCoords[D]-n.h/2,p=h.yCoords[D]+n.h/2;ml&&(l=d),Eu&&(u=p)}}}catch(x){L=!0,F=x}finally{try{!v&&A.return&&A.return()}finally{if(L)throw F}}var R=t.x-(l+c)/2,w=t.y-(u+T)/2;h.xCoords=h.xCoords.map(function(x){return x+R}),h.yCoords=h.yCoords.map(function(x){return x+w})}else{Object.keys(h).forEach(function(x){var k=h[x],W=k.getRect().x,U=k.getRect().x+k.getRect().width,et=k.getRect().y,z=k.getRect().y+k.getRect().height;Wl&&(l=U),etu&&(u=z)});var I=t.x-(l+c)/2,H=t.y-(u+T)/2;Object.keys(h).forEach(function(x){var k=h[x];k.setCenter(k.getCenterX()+I,k.getCenterY()+H)})}}},y.calcBoundingBox=function(t,h,o,c){for(var l=Number.MAX_SAFE_INTEGER,T=Number.MIN_SAFE_INTEGER,u=Number.MAX_SAFE_INTEGER,v=Number.MIN_SAFE_INTEGER,L=void 0,F=void 0,A=void 0,P=void 0,J=t.descendants().not(":parent"),V=J.length,Q=0;QL&&(l=L),TA&&(u=A),v{var f=e(548),a=e(140).CoSELayout,y=e(140).CoSENode,t=e(140).layoutBase.PointD,h=e(140).layoutBase.DimensionD,o=e(140).layoutBase.LayoutConstants,c=e(140).layoutBase.FDLayoutConstants,l=e(140).CoSEConstants,T=function(v,L){var F=v.cy,A=v.eles,P=A.nodes(),J=A.edges(),V=void 0,Q=void 0,D=void 0,rt={};v.randomize&&(V=L.nodeIndexes,Q=L.xCoords,D=L.yCoords);var n=function(x){return typeof x=="function"},m=function(x,k){return n(x)?x(k):x},d=f.calcParentsWithoutChildren(F,A),E=function H(x,k,W,U){for(var et=k.length,z=0;z0){var q=void 0;q=W.getGraphManager().add(W.newGraph(),B),H(q,X,W,U)}}},p=function(x,k,W){for(var U=0,et=0,z=0;z0?l.DEFAULT_EDGE_LENGTH=c.DEFAULT_EDGE_LENGTH=U/et:n(v.idealEdgeLength)?l.DEFAULT_EDGE_LENGTH=c.DEFAULT_EDGE_LENGTH=50:l.DEFAULT_EDGE_LENGTH=c.DEFAULT_EDGE_LENGTH=v.idealEdgeLength,l.MIN_REPULSION_DIST=c.MIN_REPULSION_DIST=c.DEFAULT_EDGE_LENGTH/10,l.DEFAULT_RADIAL_SEPARATION=c.DEFAULT_EDGE_LENGTH)},R=function(x,k){k.fixedNodeConstraint&&(x.constraints.fixedNodeConstraint=k.fixedNodeConstraint),k.alignmentConstraint&&(x.constraints.alignmentConstraint=k.alignmentConstraint),k.relativePlacementConstraint&&(x.constraints.relativePlacementConstraint=k.relativePlacementConstraint)};v.nestingFactor!=null&&(l.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=c.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=v.nestingFactor),v.gravity!=null&&(l.DEFAULT_GRAVITY_STRENGTH=c.DEFAULT_GRAVITY_STRENGTH=v.gravity),v.numIter!=null&&(l.MAX_ITERATIONS=c.MAX_ITERATIONS=v.numIter),v.gravityRange!=null&&(l.DEFAULT_GRAVITY_RANGE_FACTOR=c.DEFAULT_GRAVITY_RANGE_FACTOR=v.gravityRange),v.gravityCompound!=null&&(l.DEFAULT_COMPOUND_GRAVITY_STRENGTH=c.DEFAULT_COMPOUND_GRAVITY_STRENGTH=v.gravityCompound),v.gravityRangeCompound!=null&&(l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=c.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=v.gravityRangeCompound),v.initialEnergyOnIncremental!=null&&(l.DEFAULT_COOLING_FACTOR_INCREMENTAL=c.DEFAULT_COOLING_FACTOR_INCREMENTAL=v.initialEnergyOnIncremental),v.tilingCompareBy!=null&&(l.TILING_COMPARE_BY=v.tilingCompareBy),v.quality=="proof"?o.QUALITY=2:o.QUALITY=0,l.NODE_DIMENSIONS_INCLUDE_LABELS=c.NODE_DIMENSIONS_INCLUDE_LABELS=o.NODE_DIMENSIONS_INCLUDE_LABELS=v.nodeDimensionsIncludeLabels,l.DEFAULT_INCREMENTAL=c.DEFAULT_INCREMENTAL=o.DEFAULT_INCREMENTAL=!v.randomize,l.ANIMATE=c.ANIMATE=o.ANIMATE=v.animate,l.TILE=v.tile,l.TILING_PADDING_VERTICAL=typeof v.tilingPaddingVertical=="function"?v.tilingPaddingVertical.call():v.tilingPaddingVertical,l.TILING_PADDING_HORIZONTAL=typeof v.tilingPaddingHorizontal=="function"?v.tilingPaddingHorizontal.call():v.tilingPaddingHorizontal,l.DEFAULT_INCREMENTAL=c.DEFAULT_INCREMENTAL=o.DEFAULT_INCREMENTAL=!0,l.PURE_INCREMENTAL=!v.randomize,o.DEFAULT_UNIFORM_LEAF_NODE_SIZES=v.uniformNodeDimensions,v.step=="transformed"&&(l.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,l.ENFORCE_CONSTRAINTS=!1,l.APPLY_LAYOUT=!1),v.step=="enforced"&&(l.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,l.ENFORCE_CONSTRAINTS=!0,l.APPLY_LAYOUT=!1),v.step=="cose"&&(l.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,l.ENFORCE_CONSTRAINTS=!1,l.APPLY_LAYOUT=!0),v.step=="all"&&(v.randomize?l.TRANSFORM_ON_CONSTRAINT_HANDLING=!0:l.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,l.ENFORCE_CONSTRAINTS=!0,l.APPLY_LAYOUT=!0),v.fixedNodeConstraint||v.alignmentConstraint||v.relativePlacementConstraint?l.TREE_REDUCTION_ON_INCREMENTAL=!1:l.TREE_REDUCTION_ON_INCREMENTAL=!0;var w=new a,I=w.newGraphManager();return E(I.addRoot(),f.getTopMostNodes(P),w,v),p(w,I,J),R(w,v),w.runLayout(),rt};i.exports={coseLayout:T}},212:(i,r,e)=>{var f=function(){function v(L,F){for(var A=0;A0)if(d){var R=t.getTopMostNodes(A.eles.nodes());if(D=t.connectComponents(P,A.eles,R),D.forEach(function(dt){var it=dt.boundingBox();rt.push({x:it.x1+it.w/2,y:it.y1+it.h/2})}),A.randomize&&D.forEach(function(dt){A.eles=dt,V.push(o(A))}),A.quality=="default"||A.quality=="proof"){var w=P.collection();if(A.tile){var I=new Map,H=[],x=[],k=0,W={nodeIndexes:I,xCoords:H,yCoords:x},U=[];if(D.forEach(function(dt,it){dt.edges().length==0&&(dt.nodes().forEach(function(ut,Tt){w.merge(dt.nodes()[Tt]),ut.isParent()||(W.nodeIndexes.set(dt.nodes()[Tt].id(),k++),W.xCoords.push(dt.nodes()[0].position().x),W.yCoords.push(dt.nodes()[0].position().y))}),U.push(it))}),w.length>1){var et=w.boundingBox();rt.push({x:et.x1+et.w/2,y:et.y1+et.h/2}),D.push(w),V.push(W);for(var z=U.length-1;z>=0;z--)D.splice(U[z],1),V.splice(U[z],1),rt.splice(U[z],1)}}D.forEach(function(dt,it){A.eles=dt,Q.push(l(A,V[it])),t.relocateComponent(rt[it],Q[it],A)})}else D.forEach(function(dt,it){t.relocateComponent(rt[it],V[it],A)});var O=new Set;if(D.length>1){var X=[],B=J.filter(function(dt){return dt.css("display")=="none"});D.forEach(function(dt,it){var ut=void 0;if(A.quality=="draft"&&(ut=V[it].nodeIndexes),dt.nodes().not(B).length>0){var Tt={};Tt.edges=[],Tt.nodes=[];var Ct=void 0;dt.nodes().not(B).forEach(function(Dt){if(A.quality=="draft")if(!Dt.isParent())Ct=ut.get(Dt.id()),Tt.nodes.push({x:V[it].xCoords[Ct]-Dt.boundingbox().w/2,y:V[it].yCoords[Ct]-Dt.boundingbox().h/2,width:Dt.boundingbox().w,height:Dt.boundingbox().h});else{var mt=t.calcBoundingBox(Dt,V[it].xCoords,V[it].yCoords,ut);Tt.nodes.push({x:mt.topLeftX,y:mt.topLeftY,width:mt.width,height:mt.height})}else Q[it][Dt.id()]&&Tt.nodes.push({x:Q[it][Dt.id()].getLeft(),y:Q[it][Dt.id()].getTop(),width:Q[it][Dt.id()].getWidth(),height:Q[it][Dt.id()].getHeight()})}),dt.edges().forEach(function(Dt){var mt=Dt.source(),xt=Dt.target();if(mt.css("display")!="none"&&xt.css("display")!="none")if(A.quality=="draft"){var St=ut.get(mt.id()),Vt=ut.get(xt.id()),Xt=[],Ut=[];if(mt.isParent()){var bt=t.calcBoundingBox(mt,V[it].xCoords,V[it].yCoords,ut);Xt.push(bt.topLeftX+bt.width/2),Xt.push(bt.topLeftY+bt.height/2)}else Xt.push(V[it].xCoords[St]),Xt.push(V[it].yCoords[St]);if(xt.isParent()){var Ht=t.calcBoundingBox(xt,V[it].xCoords,V[it].yCoords,ut);Ut.push(Ht.topLeftX+Ht.width/2),Ut.push(Ht.topLeftY+Ht.height/2)}else Ut.push(V[it].xCoords[Vt]),Ut.push(V[it].yCoords[Vt]);Tt.edges.push({startX:Xt[0],startY:Xt[1],endX:Ut[0],endY:Ut[1]})}else Q[it][mt.id()]&&Q[it][xt.id()]&&Tt.edges.push({startX:Q[it][mt.id()].getCenterX(),startY:Q[it][mt.id()].getCenterY(),endX:Q[it][xt.id()].getCenterX(),endY:Q[it][xt.id()].getCenterY()})}),Tt.nodes.length>0&&(X.push(Tt),O.add(it))}});var _=m.packComponents(X,A.randomize).shifts;if(A.quality=="draft")V.forEach(function(dt,it){var ut=dt.xCoords.map(function(Ct){return Ct+_[it].dx}),Tt=dt.yCoords.map(function(Ct){return Ct+_[it].dy});dt.xCoords=ut,dt.yCoords=Tt});else{var lt=0;O.forEach(function(dt){Object.keys(Q[dt]).forEach(function(it){var ut=Q[dt][it];ut.setCenter(ut.getCenterX()+_[lt].dx,ut.getCenterY()+_[lt].dy)}),lt++})}}}else{var E=A.eles.boundingBox();if(rt.push({x:E.x1+E.w/2,y:E.y1+E.h/2}),A.randomize){var p=o(A);V.push(p)}A.quality=="default"||A.quality=="proof"?(Q.push(l(A,V[0])),t.relocateComponent(rt[0],Q[0],A)):t.relocateComponent(rt[0],V[0],A)}var q=function(it,ut){if(A.quality=="default"||A.quality=="proof"){typeof it=="number"&&(it=ut);var Tt=void 0,Ct=void 0,Dt=it.data("id");return Q.forEach(function(xt){Dt in xt&&(Tt={x:xt[Dt].getRect().getCenterX(),y:xt[Dt].getRect().getCenterY()},Ct=xt[Dt])}),A.nodeDimensionsIncludeLabels&&(Ct.labelWidth&&(Ct.labelPosHorizontal=="left"?Tt.x+=Ct.labelWidth/2:Ct.labelPosHorizontal=="right"&&(Tt.x-=Ct.labelWidth/2)),Ct.labelHeight&&(Ct.labelPosVertical=="top"?Tt.y+=Ct.labelHeight/2:Ct.labelPosVertical=="bottom"&&(Tt.y-=Ct.labelHeight/2))),Tt==null&&(Tt={x:it.position("x"),y:it.position("y")}),{x:Tt.x,y:Tt.y}}else{var mt=void 0;return V.forEach(function(xt){var St=xt.nodeIndexes.get(it.id());St!=null&&(mt={x:xt.xCoords[St],y:xt.yCoords[St]})}),mt==null&&(mt={x:it.position("x"),y:it.position("y")}),{x:mt.x,y:mt.y}}};if(A.quality=="default"||A.quality=="proof"||A.randomize){var It=t.calcParentsWithoutChildren(P,J),Lt=J.filter(function(dt){return dt.css("display")=="none"});A.eles=J.not(Lt),J.nodes().not(":parent").not(Lt).layoutPositions(F,A,q),It.length>0&&It.forEach(function(dt){dt.position(q(dt))})}else console.log("If randomize option is set to false, then quality option must be 'default' or 'proof'.")}}]),v}();i.exports=u},657:(i,r,e)=>{var f=e(548),a=e(140).layoutBase.Matrix,y=e(140).layoutBase.SVD,t=function(o){var c=o.cy,l=o.eles,T=l.nodes(),u=l.nodes(":parent"),v=new Map,L=new Map,F=new Map,A=[],P=[],J=[],V=[],Q=[],D=[],rt=[],n=[],m=void 0,d=1e8,E=1e-9,p=o.piTol,R=o.samplingType,w=o.nodeSeparation,I=void 0,H=function(){for(var b=0,$=0,K=!1;$=at;){ot=Z[at++];for(var Rt=A[ot],ft=0;ftvt&&(vt=Q[Mt],wt=Mt)}return wt},k=function(b){var $=void 0;if(b){$=Math.floor(Math.random()*m);for(var Z=0;Z=1)break;j=tt}for(var yt=0;yt=1)break;j=tt}for(var ft=0;ft0&&($.isParent()?A[b].push(F.get($.id())):A[b].push($.id()))})});var Lt=function(b){var $=L.get(b),K=void 0;v.get(b).forEach(function(Z){c.getElementById(Z).isParent()?K=F.get(Z):K=Z,A[$].push(K),A[L.get(K)].push(b)})},dt=!0,it=!1,ut=void 0;try{for(var Tt=v.keys()[Symbol.iterator](),Ct;!(dt=(Ct=Tt.next()).done);dt=!0){var Dt=Ct.value;Lt(Dt)}}catch(S){it=!0,ut=S}finally{try{!dt&&Tt.return&&Tt.return()}finally{if(it)throw ut}}m=L.size;var mt=void 0;if(m>2){I=m{var f=e(212),a=function(t){t&&t("layout","fcose",f)};typeof cytoscape<"u"&&a(cytoscape),i.exports=a},140:i=>{i.exports=C}},N={};function g(i){var r=N[i];if(r!==void 0)return r.exports;var e=N[i]={exports:{}};return G[i](e,e.exports,g),e.exports}var s=g(579);return s})()})})(be);var gr=be.exports;const ur=ke(gr);var xe={L:"left",R:"right",T:"top",B:"bottom"},Re={L:nt(M=>`${M},${M/2} 0,${M} 0,0`,"L"),R:nt(M=>`0,${M/2} ${M},0 ${M},${M}`,"R"),T:nt(M=>`0,0 ${M},0 ${M/2},${M}`,"T"),B:nt(M=>`${M/2},0 ${M},${M} 0,${M}`,"B")},he={L:nt((M,Y)=>M-Y+2,"L"),R:nt((M,Y)=>M-2,"R"),T:nt((M,Y)=>M-Y+2,"T"),B:nt((M,Y)=>M-2,"B")},vr=nt(function(M){return zt(M)?M==="L"?"R":"L":M==="T"?"B":"T"},"getOppositeArchitectureDirection"),Ie=nt(function(M){const Y=M;return Y==="L"||Y==="R"||Y==="T"||Y==="B"},"isArchitectureDirection"),zt=nt(function(M){const Y=M;return Y==="L"||Y==="R"},"isArchitectureDirectionX"),Qt=nt(function(M){const Y=M;return Y==="T"||Y==="B"},"isArchitectureDirectionY"),Pe=nt(function(M,Y){const C=zt(M)&&Qt(Y),G=Qt(M)&&zt(Y);return C||G},"isArchitectureDirectionXY"),dr=nt(function(M){const Y=M[0],C=M[1],G=zt(Y)&&Qt(C),N=Qt(Y)&&zt(C);return G||N},"isArchitecturePairXY"),pr=nt(function(M){return M!=="LL"&&M!=="RR"&&M!=="TT"&&M!=="BB"},"isValidArchitectureDirectionPair"),me=nt(function(M,Y){const C=`${M}${Y}`;return pr(C)?C:void 0},"getArchitectureDirectionPair"),yr=nt(function([M,Y],C){const G=C[0],N=C[1];return zt(G)?Qt(N)?[M+(G==="L"?-1:1),Y+(N==="T"?1:-1)]:[M+(G==="L"?-1:1),Y]:zt(N)?[M+(N==="L"?1:-1),Y+(G==="T"?1:-1)]:[M,Y+(G==="T"?1:-1)]},"shiftPositionByArchitectureDirectionPair"),Er=nt(function(M){return M==="LT"||M==="TL"?[1,1]:M==="BL"||M==="LB"?[1,-1]:M==="BR"||M==="RB"?[-1,-1]:[-1,1]},"getArchitectureDirectionXYFactors"),mr=nt(function(M){return M.type==="service"},"isArchitectureService"),Tr=nt(function(M){return M.type==="junction"},"isArchitectureJunction"),Ge=nt(M=>M.data(),"edgeData"),ne=nt(M=>M.data(),"nodeData"),Ue=qe.architecture,pt=new hr(()=>({nodes:{},groups:{},edges:[],registeredIds:{},config:Ue,dataStructures:void 0,elements:{}})),Nr=nt(()=>{pt.reset(),ar()},"clear"),Lr=nt(function({id:M,icon:Y,in:C,title:G,iconText:N}){if(pt.records.registeredIds[M]!==void 0)throw new Error(`The service id [${M}] is already in use by another ${pt.records.registeredIds[M]}`);if(C!==void 0){if(M===C)throw new Error(`The service [${M}] cannot be placed within itself`);if(pt.records.registeredIds[C]===void 0)throw new Error(`The service [${M}]'s parent does not exist. Please make sure the parent is created before this service`);if(pt.records.registeredIds[C]==="node")throw new Error(`The service [${M}]'s parent is not a group`)}pt.records.registeredIds[M]="node",pt.records.nodes[M]={id:M,type:"service",icon:Y,iconText:N,title:G,edges:[],in:C}},"addService"),Mr=nt(()=>Object.values(pt.records.nodes).filter(mr),"getServices"),Ar=nt(function({id:M,in:Y}){pt.records.registeredIds[M]="node",pt.records.nodes[M]={id:M,type:"junction",edges:[],in:Y}},"addJunction"),Cr=nt(()=>Object.values(pt.records.nodes).filter(Tr),"getJunctions"),wr=nt(()=>Object.values(pt.records.nodes),"getNodes"),Or=nt(M=>pt.records.nodes[M],"getNode"),Dr=nt(function({id:M,icon:Y,in:C,title:G}){if(pt.records.registeredIds[M]!==void 0)throw new Error(`The group id [${M}] is already in use by another ${pt.records.registeredIds[M]}`);if(C!==void 0){if(M===C)throw new Error(`The group [${M}] cannot be placed within itself`);if(pt.records.registeredIds[C]===void 0)throw new Error(`The group [${M}]'s parent does not exist. Please make sure the parent is created before this group`);if(pt.records.registeredIds[C]==="node")throw new Error(`The group [${M}]'s parent is not a group`)}pt.records.registeredIds[M]="group",pt.records.groups[M]={id:M,icon:Y,title:G,in:C}},"addGroup"),xr=nt(()=>Object.values(pt.records.groups),"getGroups"),Rr=nt(function({lhsId:M,rhsId:Y,lhsDir:C,rhsDir:G,lhsInto:N,rhsInto:g,lhsGroup:s,rhsGroup:i,title:r}){if(!Ie(C))throw new Error(`Invalid direction given for left hand side of edge ${M}--${Y}. Expected (L,R,T,B) got ${C}`);if(!Ie(G))throw new Error(`Invalid direction given for right hand side of edge ${M}--${Y}. Expected (L,R,T,B) got ${G}`);if(pt.records.nodes[M]===void 0&&pt.records.groups[M]===void 0)throw new Error(`The left-hand id [${M}] does not yet exist. Please create the service/group before declaring an edge to it.`);if(pt.records.nodes[Y]===void 0&&pt.records.groups[M]===void 0)throw new Error(`The right-hand id [${Y}] does not yet exist. Please create the service/group before declaring an edge to it.`);const e=pt.records.nodes[M].in,f=pt.records.nodes[Y].in;if(s&&e&&f&&e==f)throw new Error(`The left-hand id [${M}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);if(i&&e&&f&&e==f)throw new Error(`The right-hand id [${Y}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);const a={lhsId:M,lhsDir:C,lhsInto:N,lhsGroup:s,rhsId:Y,rhsDir:G,rhsInto:g,rhsGroup:i,title:r};pt.records.edges.push(a),pt.records.nodes[M]&&pt.records.nodes[Y]&&(pt.records.nodes[M].edges.push(pt.records.edges[pt.records.edges.length-1]),pt.records.nodes[Y].edges.push(pt.records.edges[pt.records.edges.length-1]))},"addEdge"),Ir=nt(()=>pt.records.edges,"getEdges"),Sr=nt(()=>{if(pt.records.dataStructures===void 0){const M=Object.entries(pt.records.nodes).reduce((s,[i,r])=>(s[i]=r.edges.reduce((e,f)=>{if(f.lhsId===i){const a=me(f.lhsDir,f.rhsDir);a&&(e[a]=f.rhsId)}else{const a=me(f.rhsDir,f.lhsDir);a&&(e[a]=f.lhsId)}return e},{}),s),{}),Y=Object.keys(M)[0],C={[Y]:1},G=Object.keys(M).reduce((s,i)=>i===Y?s:{...s,[i]:1},{}),N=nt(s=>{const i={[s]:[0,0]},r=[s];for(;r.length>0;){const e=r.shift();if(e){C[e]=1,delete G[e];const f=M[e],[a,y]=i[e];Object.entries(f).forEach(([t,h])=>{C[h]||(i[h]=yr([a,y],t),r.push(h))})}}return i},"BFS"),g=[N(Y)];for(;Object.keys(G).length>0;)g.push(N(Object.keys(G)[0]));pt.records.dataStructures={adjList:M,spatialMaps:g}}return pt.records.dataStructures},"getDataStructures"),Fr=nt((M,Y)=>{pt.records.elements[M]=Y},"setElementForId"),br=nt(M=>pt.records.elements[M],"getElementById"),le={clear:Nr,setDiagramTitle:Ke,getDiagramTitle:je,setAccTitle:_e,getAccTitle:tr,setAccDescription:er,getAccDescription:rr,addService:Lr,getServices:Mr,addJunction:Ar,getJunctions:Cr,getNodes:wr,getNode:Or,addGroup:Dr,getGroups:xr,addEdge:Rr,getEdges:Ir,setElementForId:Fr,getElementById:br,getDataStructures:Sr};function Pt(M){const Y=fe().architecture;return Y!=null&&Y[M]?Y[M]:Ue[M]}nt(Pt,"getConfigField");var Pr=nt((M,Y)=>{sr(M,Y),M.groups.map(Y.addGroup),M.services.map(C=>Y.addService({...C,type:"service"})),M.junctions.map(C=>Y.addJunction({...C,type:"junction"})),M.edges.map(Y.addEdge)},"populateDb"),Gr={parse:nt(async M=>{const Y=await lr("architecture",M);Se.debug(Y),Pr(Y,le)},"parse")},Ur=nt(M=>` +import{aK as Te,aL as ke,z as qe,_ as nt,aM as Je,aN as Qe,p as Ke,q as je,s as _e,g as tr,c as er,b as rr,d as fe,l as Se,j as ir,r as ar,E as nr,O as or,U as Ne,aO as Ee}from"./index-BmyXM-jo.js";import{p as sr}from"./chunk-OQCM5LHU-CSoVW7EB.js";import{I as hr}from"./chunk-2RYQ3QTB-BNTIwrOE.js";import{p as lr}from"./gitGraph-YCYPL57B-Bmt_-sZ3.js";import{c as Fe}from"./cytoscape.esm-BUox6XmP.js";import"./min-CuKIA37g.js";import"./_baseUniq-BdggiAxO.js";var be={exports:{}},pe={exports:{}},ye={exports:{}},Oe;function fr(){return Oe||(Oe=1,function(M,Y){(function(G,N){M.exports=N()})(Te,function(){return function(C){var G={};function N(g){if(G[g])return G[g].exports;var s=G[g]={i:g,l:!1,exports:{}};return C[g].call(s.exports,s,s.exports,N),s.l=!0,s.exports}return N.m=C,N.c=G,N.i=function(g){return g},N.d=function(g,s,i){N.o(g,s)||Object.defineProperty(g,s,{configurable:!1,enumerable:!0,get:i})},N.n=function(g){var s=g&&g.__esModule?function(){return g.default}:function(){return g};return N.d(s,"a",s),s},N.o=function(g,s){return Object.prototype.hasOwnProperty.call(g,s)},N.p="",N(N.s=28)}([function(C,G,N){function g(){}g.QUALITY=1,g.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,g.DEFAULT_INCREMENTAL=!1,g.DEFAULT_ANIMATION_ON_LAYOUT=!0,g.DEFAULT_ANIMATION_DURING_LAYOUT=!1,g.DEFAULT_ANIMATION_PERIOD=50,g.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,g.DEFAULT_GRAPH_MARGIN=15,g.NODE_DIMENSIONS_INCLUDE_LABELS=!1,g.SIMPLE_NODE_SIZE=40,g.SIMPLE_NODE_HALF_SIZE=g.SIMPLE_NODE_SIZE/2,g.EMPTY_COMPOUND_NODE_SIZE=40,g.MIN_EDGE_LENGTH=1,g.WORLD_BOUNDARY=1e6,g.INITIAL_WORLD_BOUNDARY=g.WORLD_BOUNDARY/1e3,g.WORLD_CENTER_X=1200,g.WORLD_CENTER_Y=900,C.exports=g},function(C,G,N){var g=N(2),s=N(8),i=N(9);function r(f,a,y){g.call(this,y),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=y,this.bendpoints=[],this.source=f,this.target=a}r.prototype=Object.create(g.prototype);for(var e in g)r[e]=g[e];r.prototype.getSource=function(){return this.source},r.prototype.getTarget=function(){return this.target},r.prototype.isInterGraph=function(){return this.isInterGraph},r.prototype.getLength=function(){return this.length},r.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},r.prototype.getBendpoints=function(){return this.bendpoints},r.prototype.getLca=function(){return this.lca},r.prototype.getSourceInLca=function(){return this.sourceInLca},r.prototype.getTargetInLca=function(){return this.targetInLca},r.prototype.getOtherEnd=function(f){if(this.source===f)return this.target;if(this.target===f)return this.source;throw"Node is not incident with this edge"},r.prototype.getOtherEndInGraph=function(f,a){for(var y=this.getOtherEnd(f),t=a.getGraphManager().getRoot();;){if(y.getOwner()==a)return y;if(y.getOwner()==t)break;y=y.getOwner().getParent()}return null},r.prototype.updateLength=function(){var f=new Array(4);this.isOverlapingSourceAndTarget=s.getIntersection(this.target.getRect(),this.source.getRect(),f),this.isOverlapingSourceAndTarget||(this.lengthX=f[0]-f[2],this.lengthY=f[1]-f[3],Math.abs(this.lengthX)<1&&(this.lengthX=i.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=i.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},r.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=i.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=i.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},C.exports=r},function(C,G,N){function g(s){this.vGraphObject=s}C.exports=g},function(C,G,N){var g=N(2),s=N(10),i=N(13),r=N(0),e=N(16),f=N(5);function a(t,h,o,c){o==null&&c==null&&(c=h),g.call(this,c),t.graphManager!=null&&(t=t.graphManager),this.estimatedSize=s.MIN_VALUE,this.inclusionTreeDepth=s.MAX_VALUE,this.vGraphObject=c,this.edges=[],this.graphManager=t,o!=null&&h!=null?this.rect=new i(h.x,h.y,o.width,o.height):this.rect=new i}a.prototype=Object.create(g.prototype);for(var y in g)a[y]=g[y];a.prototype.getEdges=function(){return this.edges},a.prototype.getChild=function(){return this.child},a.prototype.getOwner=function(){return this.owner},a.prototype.getWidth=function(){return this.rect.width},a.prototype.setWidth=function(t){this.rect.width=t},a.prototype.getHeight=function(){return this.rect.height},a.prototype.setHeight=function(t){this.rect.height=t},a.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},a.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},a.prototype.getCenter=function(){return new f(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},a.prototype.getLocation=function(){return new f(this.rect.x,this.rect.y)},a.prototype.getRect=function(){return this.rect},a.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},a.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},a.prototype.setRect=function(t,h){this.rect.x=t.x,this.rect.y=t.y,this.rect.width=h.width,this.rect.height=h.height},a.prototype.setCenter=function(t,h){this.rect.x=t-this.rect.width/2,this.rect.y=h-this.rect.height/2},a.prototype.setLocation=function(t,h){this.rect.x=t,this.rect.y=h},a.prototype.moveBy=function(t,h){this.rect.x+=t,this.rect.y+=h},a.prototype.getEdgeListToNode=function(t){var h=[],o=this;return o.edges.forEach(function(c){if(c.target==t){if(c.source!=o)throw"Incorrect edge source!";h.push(c)}}),h},a.prototype.getEdgesBetween=function(t){var h=[],o=this;return o.edges.forEach(function(c){if(!(c.source==o||c.target==o))throw"Incorrect edge source and/or target";(c.target==t||c.source==t)&&h.push(c)}),h},a.prototype.getNeighborsList=function(){var t=new Set,h=this;return h.edges.forEach(function(o){if(o.source==h)t.add(o.target);else{if(o.target!=h)throw"Incorrect incidency!";t.add(o.source)}}),t},a.prototype.withChildren=function(){var t=new Set,h,o;if(t.add(this),this.child!=null)for(var c=this.child.getNodes(),l=0;lh?(this.rect.x-=(this.labelWidth-h)/2,this.setWidth(this.labelWidth)):this.labelPosHorizontal=="right"&&this.setWidth(h+this.labelWidth)),this.labelHeight&&(this.labelPosVertical=="top"?(this.rect.y-=this.labelHeight,this.setHeight(o+this.labelHeight)):this.labelPosVertical=="center"&&this.labelHeight>o?(this.rect.y-=(this.labelHeight-o)/2,this.setHeight(this.labelHeight)):this.labelPosVertical=="bottom"&&this.setHeight(o+this.labelHeight))}}},a.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==s.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},a.prototype.transform=function(t){var h=this.rect.x;h>r.WORLD_BOUNDARY?h=r.WORLD_BOUNDARY:h<-r.WORLD_BOUNDARY&&(h=-r.WORLD_BOUNDARY);var o=this.rect.y;o>r.WORLD_BOUNDARY?o=r.WORLD_BOUNDARY:o<-r.WORLD_BOUNDARY&&(o=-r.WORLD_BOUNDARY);var c=new f(h,o),l=t.inverseTransformPoint(c);this.setLocation(l.x,l.y)},a.prototype.getLeft=function(){return this.rect.x},a.prototype.getRight=function(){return this.rect.x+this.rect.width},a.prototype.getTop=function(){return this.rect.y},a.prototype.getBottom=function(){return this.rect.y+this.rect.height},a.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},C.exports=a},function(C,G,N){var g=N(0);function s(){}for(var i in g)s[i]=g[i];s.MAX_ITERATIONS=2500,s.DEFAULT_EDGE_LENGTH=50,s.DEFAULT_SPRING_STRENGTH=.45,s.DEFAULT_REPULSION_STRENGTH=4500,s.DEFAULT_GRAVITY_STRENGTH=.4,s.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,s.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,s.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,s.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,s.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,s.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,s.COOLING_ADAPTATION_FACTOR=.33,s.ADAPTATION_LOWER_NODE_LIMIT=1e3,s.ADAPTATION_UPPER_NODE_LIMIT=5e3,s.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,s.MAX_NODE_DISPLACEMENT=s.MAX_NODE_DISPLACEMENT_INCREMENTAL*3,s.MIN_REPULSION_DIST=s.DEFAULT_EDGE_LENGTH/10,s.CONVERGENCE_CHECK_PERIOD=100,s.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,s.MIN_EDGE_LENGTH=1,s.GRID_CALCULATION_CHECK_PERIOD=10,C.exports=s},function(C,G,N){function g(s,i){s==null&&i==null?(this.x=0,this.y=0):(this.x=s,this.y=i)}g.prototype.getX=function(){return this.x},g.prototype.getY=function(){return this.y},g.prototype.setX=function(s){this.x=s},g.prototype.setY=function(s){this.y=s},g.prototype.getDifference=function(s){return new DimensionD(this.x-s.x,this.y-s.y)},g.prototype.getCopy=function(){return new g(this.x,this.y)},g.prototype.translate=function(s){return this.x+=s.width,this.y+=s.height,this},C.exports=g},function(C,G,N){var g=N(2),s=N(10),i=N(0),r=N(7),e=N(3),f=N(1),a=N(13),y=N(12),t=N(11);function h(c,l,T){g.call(this,T),this.estimatedSize=s.MIN_VALUE,this.margin=i.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=c,l!=null&&l instanceof r?this.graphManager=l:l!=null&&l instanceof Layout&&(this.graphManager=l.graphManager)}h.prototype=Object.create(g.prototype);for(var o in g)h[o]=g[o];h.prototype.getNodes=function(){return this.nodes},h.prototype.getEdges=function(){return this.edges},h.prototype.getGraphManager=function(){return this.graphManager},h.prototype.getParent=function(){return this.parent},h.prototype.getLeft=function(){return this.left},h.prototype.getRight=function(){return this.right},h.prototype.getTop=function(){return this.top},h.prototype.getBottom=function(){return this.bottom},h.prototype.isConnected=function(){return this.isConnected},h.prototype.add=function(c,l,T){if(l==null&&T==null){var u=c;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(u)>-1)throw"Node already in graph!";return u.owner=this,this.getNodes().push(u),u}else{var v=c;if(!(this.getNodes().indexOf(l)>-1&&this.getNodes().indexOf(T)>-1))throw"Source or target not in graph!";if(!(l.owner==T.owner&&l.owner==this))throw"Both owners must be this graph!";return l.owner!=T.owner?null:(v.source=l,v.target=T,v.isInterGraph=!1,this.getEdges().push(v),l.edges.push(v),T!=l&&T.edges.push(v),v)}},h.prototype.remove=function(c){var l=c;if(c instanceof e){if(l==null)throw"Node is null!";if(!(l.owner!=null&&l.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var T=l.edges.slice(),u,v=T.length,L=0;L-1&&P>-1))throw"Source and/or target doesn't know this edge!";u.source.edges.splice(A,1),u.target!=u.source&&u.target.edges.splice(P,1);var F=u.source.owner.getEdges().indexOf(u);if(F==-1)throw"Not in owner's edge list!";u.source.owner.getEdges().splice(F,1)}},h.prototype.updateLeftTop=function(){for(var c=s.MAX_VALUE,l=s.MAX_VALUE,T,u,v,L=this.getNodes(),F=L.length,A=0;AT&&(c=T),l>u&&(l=u)}return c==s.MAX_VALUE?null:(L[0].getParent().paddingLeft!=null?v=L[0].getParent().paddingLeft:v=this.margin,this.left=l-v,this.top=c-v,new y(this.left,this.top))},h.prototype.updateBounds=function(c){for(var l=s.MAX_VALUE,T=-s.MAX_VALUE,u=s.MAX_VALUE,v=-s.MAX_VALUE,L,F,A,P,J,V=this.nodes,Q=V.length,D=0;DL&&(l=L),TA&&(u=A),vL&&(l=L),TA&&(u=A),v=this.nodes.length){var Q=0;T.forEach(function(D){D.owner==c&&Q++}),Q==this.nodes.length&&(this.isConnected=!0)}},C.exports=h},function(C,G,N){var g,s=N(1);function i(r){g=N(6),this.layout=r,this.graphs=[],this.edges=[]}i.prototype.addRoot=function(){var r=this.layout.newGraph(),e=this.layout.newNode(null),f=this.add(r,e);return this.setRootGraph(f),this.rootGraph},i.prototype.add=function(r,e,f,a,y){if(f==null&&a==null&&y==null){if(r==null)throw"Graph is null!";if(e==null)throw"Parent node is null!";if(this.graphs.indexOf(r)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(r),r.parent!=null)throw"Already has a parent!";if(e.child!=null)throw"Already has a child!";return r.parent=e,e.child=r,r}else{y=f,a=e,f=r;var t=a.getOwner(),h=y.getOwner();if(!(t!=null&&t.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(h!=null&&h.getGraphManager()==this))throw"Target not in this graph mgr!";if(t==h)return f.isInterGraph=!1,t.add(f,a,y);if(f.isInterGraph=!0,f.source=a,f.target=y,this.edges.indexOf(f)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(f),!(f.source!=null&&f.target!=null))throw"Edge source and/or target is null!";if(!(f.source.edges.indexOf(f)==-1&&f.target.edges.indexOf(f)==-1))throw"Edge already in source and/or target incidency list!";return f.source.edges.push(f),f.target.edges.push(f),f}},i.prototype.remove=function(r){if(r instanceof g){var e=r;if(e.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(e==this.rootGraph||e.parent!=null&&e.parent.graphManager==this))throw"Invalid parent node!";var f=[];f=f.concat(e.getEdges());for(var a,y=f.length,t=0;t=r.getRight()?e[0]+=Math.min(r.getX()-i.getX(),i.getRight()-r.getRight()):r.getX()<=i.getX()&&r.getRight()>=i.getRight()&&(e[0]+=Math.min(i.getX()-r.getX(),r.getRight()-i.getRight())),i.getY()<=r.getY()&&i.getBottom()>=r.getBottom()?e[1]+=Math.min(r.getY()-i.getY(),i.getBottom()-r.getBottom()):r.getY()<=i.getY()&&r.getBottom()>=i.getBottom()&&(e[1]+=Math.min(i.getY()-r.getY(),r.getBottom()-i.getBottom()));var y=Math.abs((r.getCenterY()-i.getCenterY())/(r.getCenterX()-i.getCenterX()));r.getCenterY()===i.getCenterY()&&r.getCenterX()===i.getCenterX()&&(y=1);var t=y*e[0],h=e[1]/y;e[0]t)return e[0]=f,e[1]=o,e[2]=y,e[3]=V,!1;if(ay)return e[0]=h,e[1]=a,e[2]=P,e[3]=t,!1;if(fy?(e[0]=l,e[1]=T,n=!0):(e[0]=c,e[1]=o,n=!0):d===p&&(f>y?(e[0]=h,e[1]=o,n=!0):(e[0]=u,e[1]=T,n=!0)),-E===p?y>f?(e[2]=J,e[3]=V,m=!0):(e[2]=P,e[3]=A,m=!0):E===p&&(y>f?(e[2]=F,e[3]=A,m=!0):(e[2]=Q,e[3]=V,m=!0)),n&&m)return!1;if(f>y?a>t?(R=this.getCardinalDirection(d,p,4),w=this.getCardinalDirection(E,p,2)):(R=this.getCardinalDirection(-d,p,3),w=this.getCardinalDirection(-E,p,1)):a>t?(R=this.getCardinalDirection(-d,p,1),w=this.getCardinalDirection(-E,p,3)):(R=this.getCardinalDirection(d,p,2),w=this.getCardinalDirection(E,p,4)),!n)switch(R){case 1:H=o,I=f+-L/p,e[0]=I,e[1]=H;break;case 2:I=u,H=a+v*p,e[0]=I,e[1]=H;break;case 3:H=T,I=f+L/p,e[0]=I,e[1]=H;break;case 4:I=l,H=a+-v*p,e[0]=I,e[1]=H;break}if(!m)switch(w){case 1:k=A,x=y+-rt/p,e[2]=x,e[3]=k;break;case 2:x=Q,k=t+D*p,e[2]=x,e[3]=k;break;case 3:k=V,x=y+rt/p,e[2]=x,e[3]=k;break;case 4:x=J,k=t+-D*p,e[2]=x,e[3]=k;break}}return!1},s.getCardinalDirection=function(i,r,e){return i>r?e:1+e%4},s.getIntersection=function(i,r,e,f){if(f==null)return this.getIntersection2(i,r,e);var a=i.x,y=i.y,t=r.x,h=r.y,o=e.x,c=e.y,l=f.x,T=f.y,u=void 0,v=void 0,L=void 0,F=void 0,A=void 0,P=void 0,J=void 0,V=void 0,Q=void 0;return L=h-y,A=a-t,J=t*y-a*h,F=T-c,P=o-l,V=l*c-o*T,Q=L*P-F*A,Q===0?null:(u=(A*V-P*J)/Q,v=(F*J-L*V)/Q,new g(u,v))},s.angleOfVector=function(i,r,e,f){var a=void 0;return i!==e?(a=Math.atan((f-r)/(e-i)),e=0){var T=(-o+Math.sqrt(o*o-4*h*c))/(2*h),u=(-o-Math.sqrt(o*o-4*h*c))/(2*h),v=null;return T>=0&&T<=1?[T]:u>=0&&u<=1?[u]:v}else return null},s.HALF_PI=.5*Math.PI,s.ONE_AND_HALF_PI=1.5*Math.PI,s.TWO_PI=2*Math.PI,s.THREE_PI=3*Math.PI,C.exports=s},function(C,G,N){function g(){}g.sign=function(s){return s>0?1:s<0?-1:0},g.floor=function(s){return s<0?Math.ceil(s):Math.floor(s)},g.ceil=function(s){return s<0?Math.floor(s):Math.ceil(s)},C.exports=g},function(C,G,N){function g(){}g.MAX_VALUE=2147483647,g.MIN_VALUE=-2147483648,C.exports=g},function(C,G,N){var g=function(){function a(y,t){for(var h=0;h"u"?"undefined":g(i);return i==null||r!="object"&&r!="function"},C.exports=s},function(C,G,N){function g(o){if(Array.isArray(o)){for(var c=0,l=Array(o.length);c0&&c;){for(L.push(A[0]);L.length>0&&c;){var P=L[0];L.splice(0,1),v.add(P);for(var J=P.getEdges(),u=0;u-1&&A.splice(rt,1)}v=new Set,F=new Map}}return o},h.prototype.createDummyNodesForBendpoints=function(o){for(var c=[],l=o.source,T=this.graphManager.calcLowestCommonAncestor(o.source,o.target),u=0;u0){for(var T=this.edgeToDummyNodes.get(l),u=0;u=0&&c.splice(V,1);var Q=F.getNeighborsList();Q.forEach(function(n){if(l.indexOf(n)<0){var m=T.get(n),d=m-1;d==1&&P.push(n),T.set(n,d)}})}l=l.concat(P),(c.length==1||c.length==2)&&(u=!0,v=c[0])}return v},h.prototype.setGraphManager=function(o){this.graphManager=o},C.exports=h},function(C,G,N){function g(){}g.seed=1,g.x=0,g.nextDouble=function(){return g.x=Math.sin(g.seed++)*1e4,g.x-Math.floor(g.x)},C.exports=g},function(C,G,N){var g=N(5);function s(i,r){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}s.prototype.getWorldOrgX=function(){return this.lworldOrgX},s.prototype.setWorldOrgX=function(i){this.lworldOrgX=i},s.prototype.getWorldOrgY=function(){return this.lworldOrgY},s.prototype.setWorldOrgY=function(i){this.lworldOrgY=i},s.prototype.getWorldExtX=function(){return this.lworldExtX},s.prototype.setWorldExtX=function(i){this.lworldExtX=i},s.prototype.getWorldExtY=function(){return this.lworldExtY},s.prototype.setWorldExtY=function(i){this.lworldExtY=i},s.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},s.prototype.setDeviceOrgX=function(i){this.ldeviceOrgX=i},s.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},s.prototype.setDeviceOrgY=function(i){this.ldeviceOrgY=i},s.prototype.getDeviceExtX=function(){return this.ldeviceExtX},s.prototype.setDeviceExtX=function(i){this.ldeviceExtX=i},s.prototype.getDeviceExtY=function(){return this.ldeviceExtY},s.prototype.setDeviceExtY=function(i){this.ldeviceExtY=i},s.prototype.transformX=function(i){var r=0,e=this.lworldExtX;return e!=0&&(r=this.ldeviceOrgX+(i-this.lworldOrgX)*this.ldeviceExtX/e),r},s.prototype.transformY=function(i){var r=0,e=this.lworldExtY;return e!=0&&(r=this.ldeviceOrgY+(i-this.lworldOrgY)*this.ldeviceExtY/e),r},s.prototype.inverseTransformX=function(i){var r=0,e=this.ldeviceExtX;return e!=0&&(r=this.lworldOrgX+(i-this.ldeviceOrgX)*this.lworldExtX/e),r},s.prototype.inverseTransformY=function(i){var r=0,e=this.ldeviceExtY;return e!=0&&(r=this.lworldOrgY+(i-this.ldeviceOrgY)*this.lworldExtY/e),r},s.prototype.inverseTransformPoint=function(i){var r=new g(this.inverseTransformX(i.x),this.inverseTransformY(i.y));return r},C.exports=s},function(C,G,N){function g(t){if(Array.isArray(t)){for(var h=0,o=Array(t.length);hi.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*i.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(t-i.ADAPTATION_LOWER_NODE_LIMIT)/(i.ADAPTATION_UPPER_NODE_LIMIT-i.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-i.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=i.MAX_NODE_DISPLACEMENT_INCREMENTAL):(t>i.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(i.COOLING_ADAPTATION_FACTOR,1-(t-i.ADAPTATION_LOWER_NODE_LIMIT)/(i.ADAPTATION_UPPER_NODE_LIMIT-i.ADAPTATION_LOWER_NODE_LIMIT)*(1-i.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=i.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.displacementThresholdPerNode=3*i.DEFAULT_EDGE_LENGTH/100,this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},a.prototype.calcSpringForces=function(){for(var t=this.getAllEdges(),h,o=0;o0&&arguments[0]!==void 0?arguments[0]:!0,h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,o,c,l,T,u=this.getAllNodes(),v;if(this.useFRGridVariant)for(this.totalIterations%i.GRID_CALCULATION_CHECK_PERIOD==1&&t&&this.updateGrid(),v=new Set,o=0;oL||v>L)&&(t.gravitationForceX=-this.gravityConstant*l,t.gravitationForceY=-this.gravityConstant*T)):(L=h.getEstimatedSize()*this.compoundGravityRangeFactor,(u>L||v>L)&&(t.gravitationForceX=-this.gravityConstant*l*this.compoundGravityConstant,t.gravitationForceY=-this.gravityConstant*T*this.compoundGravityConstant))},a.prototype.isConverged=function(){var t,h=!1;return this.totalIterations>this.maxIterations/3&&(h=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),t=this.totalDisplacement=u.length||L>=u[0].length)){for(var F=0;Fa}}]),e}();C.exports=r},function(C,G,N){function g(){}g.svd=function(s){this.U=null,this.V=null,this.s=null,this.m=0,this.n=0,this.m=s.length,this.n=s[0].length;var i=Math.min(this.m,this.n);this.s=function(Nt){for(var At=[];Nt-- >0;)At.push(0);return At}(Math.min(this.m+1,this.n)),this.U=function(Nt){var At=function Zt(Gt){if(Gt.length==0)return 0;for(var $t=[],Ft=0;Ft0;)At.push(0);return At}(this.n),e=function(Nt){for(var At=[];Nt-- >0;)At.push(0);return At}(this.m),f=!0,a=Math.min(this.m-1,this.n),y=Math.max(0,Math.min(this.n-2,this.m)),t=0;t=0;E--)if(this.s[E]!==0){for(var p=E+1;p=0;W--){if(function(Nt,At){return Nt&&At}(W0;){var q=void 0,It=void 0;for(q=n-2;q>=-1&&q!==-1;q--)if(Math.abs(r[q])<=lt+_*(Math.abs(this.s[q])+Math.abs(this.s[q+1]))){r[q]=0;break}if(q===n-2)It=4;else{var Lt=void 0;for(Lt=n-1;Lt>=q&&Lt!==q;Lt--){var dt=(Lt!==n?Math.abs(r[Lt]):0)+(Lt!==q+1?Math.abs(r[Lt-1]):0);if(Math.abs(this.s[Lt])<=lt+_*dt){this.s[Lt]=0;break}}Lt===q?It=3:Lt===n-1?It=1:(It=2,q=Lt)}switch(q++,It){case 1:{var it=r[n-2];r[n-2]=0;for(var ut=n-2;ut>=q;ut--){var Tt=g.hypot(this.s[ut],it),Ct=this.s[ut]/Tt,Dt=it/Tt;this.s[ut]=Tt,ut!==q&&(it=-Dt*r[ut-1],r[ut-1]=Ct*r[ut-1]);for(var mt=0;mt=this.s[q+1]);){var Mt=this.s[q];if(this.s[q]=this.s[q+1],this.s[q+1]=Mt,qMath.abs(i)?(r=i/s,r=Math.abs(s)*Math.sqrt(1+r*r)):i!=0?(r=s/i,r=Math.abs(i)*Math.sqrt(1+r*r)):r=0,r},C.exports=g},function(C,G,N){var g=function(){function r(e,f){for(var a=0;a2&&arguments[2]!==void 0?arguments[2]:1,y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,t=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;s(this,r),this.sequence1=e,this.sequence2=f,this.match_score=a,this.mismatch_penalty=y,this.gap_penalty=t,this.iMax=e.length+1,this.jMax=f.length+1,this.grid=new Array(this.iMax);for(var h=0;h=0;e--){var f=this.listeners[e];f.event===i&&f.callback===r&&this.listeners.splice(e,1)}},s.emit=function(i,r){for(var e=0;e{var G={45:(i,r,e)=>{var f={};f.layoutBase=e(551),f.CoSEConstants=e(806),f.CoSEEdge=e(767),f.CoSEGraph=e(880),f.CoSEGraphManager=e(578),f.CoSELayout=e(765),f.CoSENode=e(991),f.ConstraintHandler=e(902),i.exports=f},806:(i,r,e)=>{var f=e(551).FDLayoutConstants;function a(){}for(var y in f)a[y]=f[y];a.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,a.DEFAULT_RADIAL_SEPARATION=f.DEFAULT_EDGE_LENGTH,a.DEFAULT_COMPONENT_SEPERATION=60,a.TILE=!0,a.TILING_PADDING_VERTICAL=10,a.TILING_PADDING_HORIZONTAL=10,a.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,a.ENFORCE_CONSTRAINTS=!0,a.APPLY_LAYOUT=!0,a.RELAX_MOVEMENT_ON_CONSTRAINTS=!0,a.TREE_REDUCTION_ON_INCREMENTAL=!0,a.PURE_INCREMENTAL=a.DEFAULT_INCREMENTAL,i.exports=a},767:(i,r,e)=>{var f=e(551).FDLayoutEdge;function a(t,h,o){f.call(this,t,h,o)}a.prototype=Object.create(f.prototype);for(var y in f)a[y]=f[y];i.exports=a},880:(i,r,e)=>{var f=e(551).LGraph;function a(t,h,o){f.call(this,t,h,o)}a.prototype=Object.create(f.prototype);for(var y in f)a[y]=f[y];i.exports=a},578:(i,r,e)=>{var f=e(551).LGraphManager;function a(t){f.call(this,t)}a.prototype=Object.create(f.prototype);for(var y in f)a[y]=f[y];i.exports=a},765:(i,r,e)=>{var f=e(551).FDLayout,a=e(578),y=e(880),t=e(991),h=e(767),o=e(806),c=e(902),l=e(551).FDLayoutConstants,T=e(551).LayoutConstants,u=e(551).Point,v=e(551).PointD,L=e(551).DimensionD,F=e(551).Layout,A=e(551).Integer,P=e(551).IGeometry,J=e(551).LGraph,V=e(551).Transform,Q=e(551).LinkedList;function D(){f.call(this),this.toBeTiled={},this.constraints={}}D.prototype=Object.create(f.prototype);for(var rt in f)D[rt]=f[rt];D.prototype.newGraphManager=function(){var n=new a(this);return this.graphManager=n,n},D.prototype.newGraph=function(n){return new y(null,this.graphManager,n)},D.prototype.newNode=function(n){return new t(this.graphManager,n)},D.prototype.newEdge=function(n){return new h(null,null,n)},D.prototype.initParameters=function(){f.prototype.initParameters.call(this,arguments),this.isSubLayout||(o.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=o.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=o.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.gravityConstant=l.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=l.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=l.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1)},D.prototype.initSpringEmbedder=function(){f.prototype.initSpringEmbedder.call(this),this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/l.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=.04,this.coolingAdjuster=1},D.prototype.layout=function(){var n=T.DEFAULT_CREATE_BENDS_AS_NEEDED;return n&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},D.prototype.classicLayout=function(){if(this.nodesWithGravity=this.calculateNodesToApplyGravitationTo(),this.graphManager.setAllNodesToApplyGravitation(this.nodesWithGravity),this.calcNoOfChildrenForAllNodes(),this.graphManager.calcLowestCommonAncestors(),this.graphManager.calcInclusionTreeDepths(),this.graphManager.getRoot().calcEstimatedSize(),this.calcIdealEdgeLengths(),this.incremental){if(o.TREE_REDUCTION_ON_INCREMENTAL){this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var m=new Set(this.getAllNodes()),d=this.nodesWithGravity.filter(function(R){return m.has(R)});this.graphManager.setAllNodesToApplyGravitation(d)}}else{var n=this.getFlatForest();if(n.length>0)this.positionNodesRadially(n);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var m=new Set(this.getAllNodes()),d=this.nodesWithGravity.filter(function(E){return m.has(E)});this.graphManager.setAllNodesToApplyGravitation(d),this.positionNodesRandomly()}}return Object.keys(this.constraints).length>0&&(c.handleConstraints(this),this.initConstraintVariables()),this.initSpringEmbedder(),o.APPLY_LAYOUT&&this.runSpringEmbedder(),!0},D.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%l.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var n=new Set(this.getAllNodes()),m=this.nodesWithGravity.filter(function(p){return n.has(p)});this.graphManager.setAllNodesToApplyGravitation(m),this.graphManager.updateBounds(),this.updateGrid(),o.PURE_INCREMENTAL?this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL/2:this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),o.PURE_INCREMENTAL?this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL/2*((100-this.afterGrowthIterations)/100):this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var d=!this.isTreeGrowing&&!this.isGrowthFinished,E=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(d,E),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},D.prototype.getPositionsData=function(){for(var n=this.graphManager.getAllNodes(),m={},d=0;d0&&this.updateDisplacements();for(var d=0;d0&&(E.fixedNodeWeight=R)}}if(this.constraints.relativePlacementConstraint){var w=new Map,I=new Map;if(this.dummyToNodeForVerticalAlignment=new Map,this.dummyToNodeForHorizontalAlignment=new Map,this.fixedNodesOnHorizontal=new Set,this.fixedNodesOnVertical=new Set,this.fixedNodeSet.forEach(function(O){n.fixedNodesOnHorizontal.add(O),n.fixedNodesOnVertical.add(O)}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical)for(var H=this.constraints.alignmentConstraint.vertical,d=0;d=2*O.length/3;_--)X=Math.floor(Math.random()*(_+1)),B=O[_],O[_]=O[X],O[X]=B;return O},this.nodesInRelativeHorizontal=[],this.nodesInRelativeVertical=[],this.nodeToRelativeConstraintMapHorizontal=new Map,this.nodeToRelativeConstraintMapVertical=new Map,this.nodeToTempPositionMapHorizontal=new Map,this.nodeToTempPositionMapVertical=new Map,this.constraints.relativePlacementConstraint.forEach(function(O){if(O.left){var X=w.has(O.left)?w.get(O.left):O.left,B=w.has(O.right)?w.get(O.right):O.right;n.nodesInRelativeHorizontal.includes(X)||(n.nodesInRelativeHorizontal.push(X),n.nodeToRelativeConstraintMapHorizontal.set(X,[]),n.dummyToNodeForVerticalAlignment.has(X)?n.nodeToTempPositionMapHorizontal.set(X,n.idToNodeMap.get(n.dummyToNodeForVerticalAlignment.get(X)[0]).getCenterX()):n.nodeToTempPositionMapHorizontal.set(X,n.idToNodeMap.get(X).getCenterX())),n.nodesInRelativeHorizontal.includes(B)||(n.nodesInRelativeHorizontal.push(B),n.nodeToRelativeConstraintMapHorizontal.set(B,[]),n.dummyToNodeForVerticalAlignment.has(B)?n.nodeToTempPositionMapHorizontal.set(B,n.idToNodeMap.get(n.dummyToNodeForVerticalAlignment.get(B)[0]).getCenterX()):n.nodeToTempPositionMapHorizontal.set(B,n.idToNodeMap.get(B).getCenterX())),n.nodeToRelativeConstraintMapHorizontal.get(X).push({right:B,gap:O.gap}),n.nodeToRelativeConstraintMapHorizontal.get(B).push({left:X,gap:O.gap})}else{var _=I.has(O.top)?I.get(O.top):O.top,lt=I.has(O.bottom)?I.get(O.bottom):O.bottom;n.nodesInRelativeVertical.includes(_)||(n.nodesInRelativeVertical.push(_),n.nodeToRelativeConstraintMapVertical.set(_,[]),n.dummyToNodeForHorizontalAlignment.has(_)?n.nodeToTempPositionMapVertical.set(_,n.idToNodeMap.get(n.dummyToNodeForHorizontalAlignment.get(_)[0]).getCenterY()):n.nodeToTempPositionMapVertical.set(_,n.idToNodeMap.get(_).getCenterY())),n.nodesInRelativeVertical.includes(lt)||(n.nodesInRelativeVertical.push(lt),n.nodeToRelativeConstraintMapVertical.set(lt,[]),n.dummyToNodeForHorizontalAlignment.has(lt)?n.nodeToTempPositionMapVertical.set(lt,n.idToNodeMap.get(n.dummyToNodeForHorizontalAlignment.get(lt)[0]).getCenterY()):n.nodeToTempPositionMapVertical.set(lt,n.idToNodeMap.get(lt).getCenterY())),n.nodeToRelativeConstraintMapVertical.get(_).push({bottom:lt,gap:O.gap}),n.nodeToRelativeConstraintMapVertical.get(lt).push({top:_,gap:O.gap})}});else{var k=new Map,W=new Map;this.constraints.relativePlacementConstraint.forEach(function(O){if(O.left){var X=w.has(O.left)?w.get(O.left):O.left,B=w.has(O.right)?w.get(O.right):O.right;k.has(X)?k.get(X).push(B):k.set(X,[B]),k.has(B)?k.get(B).push(X):k.set(B,[X])}else{var _=I.has(O.top)?I.get(O.top):O.top,lt=I.has(O.bottom)?I.get(O.bottom):O.bottom;W.has(_)?W.get(_).push(lt):W.set(_,[lt]),W.has(lt)?W.get(lt).push(_):W.set(lt,[_])}});var U=function(X,B){var _=[],lt=[],q=new Q,It=new Set,Lt=0;return X.forEach(function(dt,it){if(!It.has(it)){_[Lt]=[],lt[Lt]=!1;var ut=it;for(q.push(ut),It.add(ut),_[Lt].push(ut);q.length!=0;){ut=q.shift(),B.has(ut)&&(lt[Lt]=!0);var Tt=X.get(ut);Tt.forEach(function(Ct){It.has(Ct)||(q.push(Ct),It.add(Ct),_[Lt].push(Ct))})}Lt++}}),{components:_,isFixed:lt}},et=U(k,n.fixedNodesOnHorizontal);this.componentsOnHorizontal=et.components,this.fixedComponentsOnHorizontal=et.isFixed;var z=U(W,n.fixedNodesOnVertical);this.componentsOnVertical=z.components,this.fixedComponentsOnVertical=z.isFixed}}},D.prototype.updateDisplacements=function(){var n=this;if(this.constraints.fixedNodeConstraint&&this.constraints.fixedNodeConstraint.forEach(function(z){var O=n.idToNodeMap.get(z.nodeId);O.displacementX=0,O.displacementY=0}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical)for(var m=this.constraints.alignmentConstraint.vertical,d=0;d1){var I;for(I=0;IE&&(E=Math.floor(w.y)),R=Math.floor(w.x+o.DEFAULT_COMPONENT_SEPERATION)}this.transform(new v(T.WORLD_CENTER_X-w.x/2,T.WORLD_CENTER_Y-w.y/2))},D.radialLayout=function(n,m,d){var E=Math.max(this.maxDiagonalInTree(n),o.DEFAULT_RADIAL_SEPARATION);D.branchRadialLayout(m,null,0,359,0,E);var p=J.calculateBounds(n),R=new V;R.setDeviceOrgX(p.getMinX()),R.setDeviceOrgY(p.getMinY()),R.setWorldOrgX(d.x),R.setWorldOrgY(d.y);for(var w=0;w1;){var B=X[0];X.splice(0,1);var _=W.indexOf(B);_>=0&&W.splice(_,1),z--,U--}m!=null?O=(W.indexOf(X[0])+1)%z:O=0;for(var lt=Math.abs(E-d)/U,q=O;et!=U;q=++q%z){var It=W[q].getOtherEnd(n);if(It!=m){var Lt=(d+et*lt)%360,dt=(Lt+lt)%360;D.branchRadialLayout(It,n,Lt,dt,p+R,R),et++}}},D.maxDiagonalInTree=function(n){for(var m=A.MIN_VALUE,d=0;dm&&(m=p)}return m},D.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},D.prototype.groupZeroDegreeMembers=function(){var n=this,m={};this.memberGroups={},this.idToDummyNode={};for(var d=[],E=this.graphManager.getAllNodes(),p=0;p"u"&&(m[I]=[]),m[I]=m[I].concat(R)}Object.keys(m).forEach(function(H){if(m[H].length>1){var x="DummyCompound_"+H;n.memberGroups[x]=m[H];var k=m[H][0].getParent(),W=new t(n.graphManager);W.id=x,W.paddingLeft=k.paddingLeft||0,W.paddingRight=k.paddingRight||0,W.paddingBottom=k.paddingBottom||0,W.paddingTop=k.paddingTop||0,n.idToDummyNode[x]=W;var U=n.getGraphManager().add(n.newGraph(),W),et=k.getChild();et.add(W);for(var z=0;zp?(E.rect.x-=(E.labelWidth-p)/2,E.setWidth(E.labelWidth),E.labelMarginLeft=(E.labelWidth-p)/2):E.labelPosHorizontal=="right"&&E.setWidth(p+E.labelWidth)),E.labelHeight&&(E.labelPosVertical=="top"?(E.rect.y-=E.labelHeight,E.setHeight(R+E.labelHeight),E.labelMarginTop=E.labelHeight):E.labelPosVertical=="center"&&E.labelHeight>R?(E.rect.y-=(E.labelHeight-R)/2,E.setHeight(E.labelHeight),E.labelMarginTop=(E.labelHeight-R)/2):E.labelPosVertical=="bottom"&&E.setHeight(R+E.labelHeight))}})},D.prototype.repopulateCompounds=function(){for(var n=this.compoundOrder.length-1;n>=0;n--){var m=this.compoundOrder[n],d=m.id,E=m.paddingLeft,p=m.paddingTop,R=m.labelMarginLeft,w=m.labelMarginTop;this.adjustLocations(this.tiledMemberPack[d],m.rect.x,m.rect.y,E,p,R,w)}},D.prototype.repopulateZeroDegreeMembers=function(){var n=this,m=this.tiledZeroDegreePack;Object.keys(m).forEach(function(d){var E=n.idToDummyNode[d],p=E.paddingLeft,R=E.paddingTop,w=E.labelMarginLeft,I=E.labelMarginTop;n.adjustLocations(m[d],E.rect.x,E.rect.y,p,R,w,I)})},D.prototype.getToBeTiled=function(n){var m=n.id;if(this.toBeTiled[m]!=null)return this.toBeTiled[m];var d=n.getChild();if(d==null)return this.toBeTiled[m]=!1,!1;for(var E=d.getNodes(),p=0;p0)return this.toBeTiled[m]=!1,!1;if(R.getChild()==null){this.toBeTiled[R.id]=!1;continue}if(!this.getToBeTiled(R))return this.toBeTiled[m]=!1,!1}return this.toBeTiled[m]=!0,!0},D.prototype.getNodeDegree=function(n){n.id;for(var m=n.getEdges(),d=0,E=0;Ek&&(k=U.rect.height)}d+=k+n.verticalPadding}},D.prototype.tileCompoundMembers=function(n,m){var d=this;this.tiledMemberPack=[],Object.keys(n).forEach(function(E){var p=m[E];if(d.tiledMemberPack[E]=d.tileNodes(n[E],p.paddingLeft+p.paddingRight),p.rect.width=d.tiledMemberPack[E].width,p.rect.height=d.tiledMemberPack[E].height,p.setCenter(d.tiledMemberPack[E].centerX,d.tiledMemberPack[E].centerY),p.labelMarginLeft=0,p.labelMarginTop=0,o.NODE_DIMENSIONS_INCLUDE_LABELS){var R=p.rect.width,w=p.rect.height;p.labelWidth&&(p.labelPosHorizontal=="left"?(p.rect.x-=p.labelWidth,p.setWidth(R+p.labelWidth),p.labelMarginLeft=p.labelWidth):p.labelPosHorizontal=="center"&&p.labelWidth>R?(p.rect.x-=(p.labelWidth-R)/2,p.setWidth(p.labelWidth),p.labelMarginLeft=(p.labelWidth-R)/2):p.labelPosHorizontal=="right"&&p.setWidth(R+p.labelWidth)),p.labelHeight&&(p.labelPosVertical=="top"?(p.rect.y-=p.labelHeight,p.setHeight(w+p.labelHeight),p.labelMarginTop=p.labelHeight):p.labelPosVertical=="center"&&p.labelHeight>w?(p.rect.y-=(p.labelHeight-w)/2,p.setHeight(p.labelHeight),p.labelMarginTop=(p.labelHeight-w)/2):p.labelPosVertical=="bottom"&&p.setHeight(w+p.labelHeight))}})},D.prototype.tileNodes=function(n,m){var d=this.tileNodesByFavoringDim(n,m,!0),E=this.tileNodesByFavoringDim(n,m,!1),p=this.getOrgRatio(d),R=this.getOrgRatio(E),w;return RI&&(I=z.getWidth())});var H=R/p,x=w/p,k=Math.pow(d-E,2)+4*(H+E)*(x+d)*p,W=(E-d+Math.sqrt(k))/(2*(H+E)),U;m?(U=Math.ceil(W),U==W&&U++):U=Math.floor(W);var et=U*(H+E)-E;return I>et&&(et=I),et+=E*2,et},D.prototype.tileNodesByFavoringDim=function(n,m,d){var E=o.TILING_PADDING_VERTICAL,p=o.TILING_PADDING_HORIZONTAL,R=o.TILING_COMPARE_BY,w={rows:[],rowWidth:[],rowHeight:[],width:0,height:m,verticalPadding:E,horizontalPadding:p,centerX:0,centerY:0};R&&(w.idealRowWidth=this.calcIdealRowWidth(n,d));var I=function(O){return O.rect.width*O.rect.height},H=function(O,X){return I(X)-I(O)};n.sort(function(z,O){var X=H;return w.idealRowWidth?(X=R,X(z.id,O.id)):X(z,O)});for(var x=0,k=0,W=0;W0&&(w+=n.horizontalPadding),n.rowWidth[d]=w,n.width0&&(I+=n.verticalPadding);var H=0;I>n.rowHeight[d]&&(H=n.rowHeight[d],n.rowHeight[d]=I,H=n.rowHeight[d]-H),n.height+=H,n.rows[d].push(m)},D.prototype.getShortestRowIndex=function(n){for(var m=-1,d=Number.MAX_VALUE,E=0;Ed&&(m=E,d=n.rowWidth[E]);return m},D.prototype.canAddHorizontal=function(n,m,d){if(n.idealRowWidth){var E=n.rows.length-1,p=n.rowWidth[E];return p+m+n.horizontalPadding<=n.idealRowWidth}var R=this.getShortestRowIndex(n);if(R<0)return!0;var w=n.rowWidth[R];if(w+n.horizontalPadding+m<=n.width)return!0;var I=0;n.rowHeight[R]0&&(I=d+n.verticalPadding-n.rowHeight[R]);var H;n.width-w>=m+n.horizontalPadding?H=(n.height+I)/(w+m+n.horizontalPadding):H=(n.height+I)/n.width,I=d+n.verticalPadding;var x;return n.widthR&&m!=d){E.splice(-1,1),n.rows[d].push(p),n.rowWidth[m]=n.rowWidth[m]-R,n.rowWidth[d]=n.rowWidth[d]+R,n.width=n.rowWidth[instance.getLongestRowIndex(n)];for(var w=Number.MIN_VALUE,I=0;Iw&&(w=E[I].height);m>0&&(w+=n.verticalPadding);var H=n.rowHeight[m]+n.rowHeight[d];n.rowHeight[m]=w,n.rowHeight[d]0)for(var et=p;et<=R;et++)U[0]+=this.grid[et][w-1].length+this.grid[et][w].length-1;if(R0)for(var et=w;et<=I;et++)U[3]+=this.grid[p-1][et].length+this.grid[p][et].length-1;for(var z=A.MAX_VALUE,O,X,B=0;B{var f=e(551).FDLayoutNode,a=e(551).IMath;function y(h,o,c,l){f.call(this,h,o,c,l)}y.prototype=Object.create(f.prototype);for(var t in f)y[t]=f[t];y.prototype.calculateDisplacement=function(){var h=this.graphManager.getLayout();this.getChild()!=null&&this.fixedNodeWeight?(this.displacementX+=h.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.fixedNodeWeight,this.displacementY+=h.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.fixedNodeWeight):(this.displacementX+=h.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY+=h.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren),Math.abs(this.displacementX)>h.coolingFactor*h.maxNodeDisplacement&&(this.displacementX=h.coolingFactor*h.maxNodeDisplacement*a.sign(this.displacementX)),Math.abs(this.displacementY)>h.coolingFactor*h.maxNodeDisplacement&&(this.displacementY=h.coolingFactor*h.maxNodeDisplacement*a.sign(this.displacementY)),this.child&&this.child.getNodes().length>0&&this.propogateDisplacementToChildren(this.displacementX,this.displacementY)},y.prototype.propogateDisplacementToChildren=function(h,o){for(var c=this.getChild().getNodes(),l,T=0;T{function f(c){if(Array.isArray(c)){for(var l=0,T=Array(c.length);l0){var Mt=0;st.forEach(function(ht){$=="horizontal"?(tt.set(ht,u.has(ht)?v[u.get(ht)]:Z.get(ht)),Mt+=tt.get(ht)):(tt.set(ht,u.has(ht)?L[u.get(ht)]:Z.get(ht)),Mt+=tt.get(ht))}),Mt=Mt/st.length,ft.forEach(function(ht){K.has(ht)||tt.set(ht,Mt)})}else{var ct=0;ft.forEach(function(ht){$=="horizontal"?ct+=u.has(ht)?v[u.get(ht)]:Z.get(ht):ct+=u.has(ht)?L[u.get(ht)]:Z.get(ht)}),ct=ct/ft.length,ft.forEach(function(ht){tt.set(ht,ct)})}});for(var wt=function(){var st=vt.shift(),Mt=b.get(st);Mt.forEach(function(ct){if(tt.get(ct.id)ht&&(ht=qt),_tWt&&(Wt=_t)}}catch(ie){At=!0,Zt=ie}finally{try{!Nt&&Gt.return&&Gt.return()}finally{if(At)throw Zt}}var ce=(Mt+ht)/2-(ct+Wt)/2,Kt=!0,te=!1,ee=void 0;try{for(var jt=ft[Symbol.iterator](),se;!(Kt=(se=jt.next()).done);Kt=!0){var re=se.value;tt.set(re,tt.get(re)+ce)}}catch(ie){te=!0,ee=ie}finally{try{!Kt&&jt.return&&jt.return()}finally{if(te)throw ee}}})}return tt},rt=function(b){var $=0,K=0,Z=0,at=0;if(b.forEach(function(j){j.left?v[u.get(j.left)]-v[u.get(j.right)]>=0?$++:K++:L[u.get(j.top)]-L[u.get(j.bottom)]>=0?Z++:at++}),$>K&&Z>at)for(var gt=0;gtK)for(var ot=0;otat)for(var tt=0;tt1)l.fixedNodeConstraint.forEach(function(S,b){E[b]=[S.position.x,S.position.y],p[b]=[v[u.get(S.nodeId)],L[u.get(S.nodeId)]]}),R=!0;else if(l.alignmentConstraint)(function(){var S=0;if(l.alignmentConstraint.vertical){for(var b=l.alignmentConstraint.vertical,$=function(tt){var j=new Set;b[tt].forEach(function(yt){j.add(yt)});var vt=new Set([].concat(f(j)).filter(function(yt){return I.has(yt)})),wt=void 0;vt.size>0?wt=v[u.get(vt.values().next().value)]:wt=Q(j).x,b[tt].forEach(function(yt){E[S]=[wt,L[u.get(yt)]],p[S]=[v[u.get(yt)],L[u.get(yt)]],S++})},K=0;K0?wt=v[u.get(vt.values().next().value)]:wt=Q(j).y,Z[tt].forEach(function(yt){E[S]=[v[u.get(yt)],wt],p[S]=[v[u.get(yt)],L[u.get(yt)]],S++})},gt=0;gtW&&(W=k[et].length,U=et);if(W0){var mt={x:0,y:0};l.fixedNodeConstraint.forEach(function(S,b){var $={x:v[u.get(S.nodeId)],y:L[u.get(S.nodeId)]},K=S.position,Z=V(K,$);mt.x+=Z.x,mt.y+=Z.y}),mt.x/=l.fixedNodeConstraint.length,mt.y/=l.fixedNodeConstraint.length,v.forEach(function(S,b){v[b]+=mt.x}),L.forEach(function(S,b){L[b]+=mt.y}),l.fixedNodeConstraint.forEach(function(S){v[u.get(S.nodeId)]=S.position.x,L[u.get(S.nodeId)]=S.position.y})}if(l.alignmentConstraint){if(l.alignmentConstraint.vertical)for(var xt=l.alignmentConstraint.vertical,St=function(b){var $=new Set;xt[b].forEach(function(at){$.add(at)});var K=new Set([].concat(f($)).filter(function(at){return I.has(at)})),Z=void 0;K.size>0?Z=v[u.get(K.values().next().value)]:Z=Q($).x,$.forEach(function(at){I.has(at)||(v[u.get(at)]=Z)})},Vt=0;Vt0?Z=L[u.get(K.values().next().value)]:Z=Q($).y,$.forEach(function(at){I.has(at)||(L[u.get(at)]=Z)})},bt=0;bt{i.exports=C}},N={};function g(i){var r=N[i];if(r!==void 0)return r.exports;var e=N[i]={exports:{}};return G[i](e,e.exports,g),e.exports}var s=g(45);return s})()})}(pe)),pe.exports}(function(M,Y){(function(G,N){M.exports=N(cr())})(Te,function(C){return(()=>{var G={658:i=>{i.exports=Object.assign!=null?Object.assign.bind(Object):function(r){for(var e=arguments.length,f=Array(e>1?e-1:0),a=1;a{var f=function(){function t(h,o){var c=[],l=!0,T=!1,u=void 0;try{for(var v=h[Symbol.iterator](),L;!(l=(L=v.next()).done)&&(c.push(L.value),!(o&&c.length===o));l=!0);}catch(F){T=!0,u=F}finally{try{!l&&v.return&&v.return()}finally{if(T)throw u}}return c}return function(h,o){if(Array.isArray(h))return h;if(Symbol.iterator in Object(h))return t(h,o);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=e(140).layoutBase.LinkedList,y={};y.getTopMostNodes=function(t){for(var h={},o=0;o0&&R.merge(x)});for(var w=0;w1){L=u[0],F=L.connectedEdges().length,u.forEach(function(p){p.connectedEdges().length0&&c.set("dummy"+(c.size+1),J),V},y.relocateComponent=function(t,h,o){if(!o.fixedNodeConstraint){var c=Number.POSITIVE_INFINITY,l=Number.NEGATIVE_INFINITY,T=Number.POSITIVE_INFINITY,u=Number.NEGATIVE_INFINITY;if(o.quality=="draft"){var v=!0,L=!1,F=void 0;try{for(var A=h.nodeIndexes[Symbol.iterator](),P;!(v=(P=A.next()).done);v=!0){var J=P.value,V=f(J,2),Q=V[0],D=V[1],rt=o.cy.getElementById(Q);if(rt){var n=rt.boundingBox(),m=h.xCoords[D]-n.w/2,d=h.xCoords[D]+n.w/2,E=h.yCoords[D]-n.h/2,p=h.yCoords[D]+n.h/2;ml&&(l=d),Eu&&(u=p)}}}catch(x){L=!0,F=x}finally{try{!v&&A.return&&A.return()}finally{if(L)throw F}}var R=t.x-(l+c)/2,w=t.y-(u+T)/2;h.xCoords=h.xCoords.map(function(x){return x+R}),h.yCoords=h.yCoords.map(function(x){return x+w})}else{Object.keys(h).forEach(function(x){var k=h[x],W=k.getRect().x,U=k.getRect().x+k.getRect().width,et=k.getRect().y,z=k.getRect().y+k.getRect().height;Wl&&(l=U),etu&&(u=z)});var I=t.x-(l+c)/2,H=t.y-(u+T)/2;Object.keys(h).forEach(function(x){var k=h[x];k.setCenter(k.getCenterX()+I,k.getCenterY()+H)})}}},y.calcBoundingBox=function(t,h,o,c){for(var l=Number.MAX_SAFE_INTEGER,T=Number.MIN_SAFE_INTEGER,u=Number.MAX_SAFE_INTEGER,v=Number.MIN_SAFE_INTEGER,L=void 0,F=void 0,A=void 0,P=void 0,J=t.descendants().not(":parent"),V=J.length,Q=0;QL&&(l=L),TA&&(u=A),v{var f=e(548),a=e(140).CoSELayout,y=e(140).CoSENode,t=e(140).layoutBase.PointD,h=e(140).layoutBase.DimensionD,o=e(140).layoutBase.LayoutConstants,c=e(140).layoutBase.FDLayoutConstants,l=e(140).CoSEConstants,T=function(v,L){var F=v.cy,A=v.eles,P=A.nodes(),J=A.edges(),V=void 0,Q=void 0,D=void 0,rt={};v.randomize&&(V=L.nodeIndexes,Q=L.xCoords,D=L.yCoords);var n=function(x){return typeof x=="function"},m=function(x,k){return n(x)?x(k):x},d=f.calcParentsWithoutChildren(F,A),E=function H(x,k,W,U){for(var et=k.length,z=0;z0){var q=void 0;q=W.getGraphManager().add(W.newGraph(),B),H(q,X,W,U)}}},p=function(x,k,W){for(var U=0,et=0,z=0;z0?l.DEFAULT_EDGE_LENGTH=c.DEFAULT_EDGE_LENGTH=U/et:n(v.idealEdgeLength)?l.DEFAULT_EDGE_LENGTH=c.DEFAULT_EDGE_LENGTH=50:l.DEFAULT_EDGE_LENGTH=c.DEFAULT_EDGE_LENGTH=v.idealEdgeLength,l.MIN_REPULSION_DIST=c.MIN_REPULSION_DIST=c.DEFAULT_EDGE_LENGTH/10,l.DEFAULT_RADIAL_SEPARATION=c.DEFAULT_EDGE_LENGTH)},R=function(x,k){k.fixedNodeConstraint&&(x.constraints.fixedNodeConstraint=k.fixedNodeConstraint),k.alignmentConstraint&&(x.constraints.alignmentConstraint=k.alignmentConstraint),k.relativePlacementConstraint&&(x.constraints.relativePlacementConstraint=k.relativePlacementConstraint)};v.nestingFactor!=null&&(l.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=c.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=v.nestingFactor),v.gravity!=null&&(l.DEFAULT_GRAVITY_STRENGTH=c.DEFAULT_GRAVITY_STRENGTH=v.gravity),v.numIter!=null&&(l.MAX_ITERATIONS=c.MAX_ITERATIONS=v.numIter),v.gravityRange!=null&&(l.DEFAULT_GRAVITY_RANGE_FACTOR=c.DEFAULT_GRAVITY_RANGE_FACTOR=v.gravityRange),v.gravityCompound!=null&&(l.DEFAULT_COMPOUND_GRAVITY_STRENGTH=c.DEFAULT_COMPOUND_GRAVITY_STRENGTH=v.gravityCompound),v.gravityRangeCompound!=null&&(l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=c.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=v.gravityRangeCompound),v.initialEnergyOnIncremental!=null&&(l.DEFAULT_COOLING_FACTOR_INCREMENTAL=c.DEFAULT_COOLING_FACTOR_INCREMENTAL=v.initialEnergyOnIncremental),v.tilingCompareBy!=null&&(l.TILING_COMPARE_BY=v.tilingCompareBy),v.quality=="proof"?o.QUALITY=2:o.QUALITY=0,l.NODE_DIMENSIONS_INCLUDE_LABELS=c.NODE_DIMENSIONS_INCLUDE_LABELS=o.NODE_DIMENSIONS_INCLUDE_LABELS=v.nodeDimensionsIncludeLabels,l.DEFAULT_INCREMENTAL=c.DEFAULT_INCREMENTAL=o.DEFAULT_INCREMENTAL=!v.randomize,l.ANIMATE=c.ANIMATE=o.ANIMATE=v.animate,l.TILE=v.tile,l.TILING_PADDING_VERTICAL=typeof v.tilingPaddingVertical=="function"?v.tilingPaddingVertical.call():v.tilingPaddingVertical,l.TILING_PADDING_HORIZONTAL=typeof v.tilingPaddingHorizontal=="function"?v.tilingPaddingHorizontal.call():v.tilingPaddingHorizontal,l.DEFAULT_INCREMENTAL=c.DEFAULT_INCREMENTAL=o.DEFAULT_INCREMENTAL=!0,l.PURE_INCREMENTAL=!v.randomize,o.DEFAULT_UNIFORM_LEAF_NODE_SIZES=v.uniformNodeDimensions,v.step=="transformed"&&(l.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,l.ENFORCE_CONSTRAINTS=!1,l.APPLY_LAYOUT=!1),v.step=="enforced"&&(l.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,l.ENFORCE_CONSTRAINTS=!0,l.APPLY_LAYOUT=!1),v.step=="cose"&&(l.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,l.ENFORCE_CONSTRAINTS=!1,l.APPLY_LAYOUT=!0),v.step=="all"&&(v.randomize?l.TRANSFORM_ON_CONSTRAINT_HANDLING=!0:l.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,l.ENFORCE_CONSTRAINTS=!0,l.APPLY_LAYOUT=!0),v.fixedNodeConstraint||v.alignmentConstraint||v.relativePlacementConstraint?l.TREE_REDUCTION_ON_INCREMENTAL=!1:l.TREE_REDUCTION_ON_INCREMENTAL=!0;var w=new a,I=w.newGraphManager();return E(I.addRoot(),f.getTopMostNodes(P),w,v),p(w,I,J),R(w,v),w.runLayout(),rt};i.exports={coseLayout:T}},212:(i,r,e)=>{var f=function(){function v(L,F){for(var A=0;A0)if(d){var R=t.getTopMostNodes(A.eles.nodes());if(D=t.connectComponents(P,A.eles,R),D.forEach(function(dt){var it=dt.boundingBox();rt.push({x:it.x1+it.w/2,y:it.y1+it.h/2})}),A.randomize&&D.forEach(function(dt){A.eles=dt,V.push(o(A))}),A.quality=="default"||A.quality=="proof"){var w=P.collection();if(A.tile){var I=new Map,H=[],x=[],k=0,W={nodeIndexes:I,xCoords:H,yCoords:x},U=[];if(D.forEach(function(dt,it){dt.edges().length==0&&(dt.nodes().forEach(function(ut,Tt){w.merge(dt.nodes()[Tt]),ut.isParent()||(W.nodeIndexes.set(dt.nodes()[Tt].id(),k++),W.xCoords.push(dt.nodes()[0].position().x),W.yCoords.push(dt.nodes()[0].position().y))}),U.push(it))}),w.length>1){var et=w.boundingBox();rt.push({x:et.x1+et.w/2,y:et.y1+et.h/2}),D.push(w),V.push(W);for(var z=U.length-1;z>=0;z--)D.splice(U[z],1),V.splice(U[z],1),rt.splice(U[z],1)}}D.forEach(function(dt,it){A.eles=dt,Q.push(l(A,V[it])),t.relocateComponent(rt[it],Q[it],A)})}else D.forEach(function(dt,it){t.relocateComponent(rt[it],V[it],A)});var O=new Set;if(D.length>1){var X=[],B=J.filter(function(dt){return dt.css("display")=="none"});D.forEach(function(dt,it){var ut=void 0;if(A.quality=="draft"&&(ut=V[it].nodeIndexes),dt.nodes().not(B).length>0){var Tt={};Tt.edges=[],Tt.nodes=[];var Ct=void 0;dt.nodes().not(B).forEach(function(Dt){if(A.quality=="draft")if(!Dt.isParent())Ct=ut.get(Dt.id()),Tt.nodes.push({x:V[it].xCoords[Ct]-Dt.boundingbox().w/2,y:V[it].yCoords[Ct]-Dt.boundingbox().h/2,width:Dt.boundingbox().w,height:Dt.boundingbox().h});else{var mt=t.calcBoundingBox(Dt,V[it].xCoords,V[it].yCoords,ut);Tt.nodes.push({x:mt.topLeftX,y:mt.topLeftY,width:mt.width,height:mt.height})}else Q[it][Dt.id()]&&Tt.nodes.push({x:Q[it][Dt.id()].getLeft(),y:Q[it][Dt.id()].getTop(),width:Q[it][Dt.id()].getWidth(),height:Q[it][Dt.id()].getHeight()})}),dt.edges().forEach(function(Dt){var mt=Dt.source(),xt=Dt.target();if(mt.css("display")!="none"&&xt.css("display")!="none")if(A.quality=="draft"){var St=ut.get(mt.id()),Vt=ut.get(xt.id()),Xt=[],Ut=[];if(mt.isParent()){var bt=t.calcBoundingBox(mt,V[it].xCoords,V[it].yCoords,ut);Xt.push(bt.topLeftX+bt.width/2),Xt.push(bt.topLeftY+bt.height/2)}else Xt.push(V[it].xCoords[St]),Xt.push(V[it].yCoords[St]);if(xt.isParent()){var Ht=t.calcBoundingBox(xt,V[it].xCoords,V[it].yCoords,ut);Ut.push(Ht.topLeftX+Ht.width/2),Ut.push(Ht.topLeftY+Ht.height/2)}else Ut.push(V[it].xCoords[Vt]),Ut.push(V[it].yCoords[Vt]);Tt.edges.push({startX:Xt[0],startY:Xt[1],endX:Ut[0],endY:Ut[1]})}else Q[it][mt.id()]&&Q[it][xt.id()]&&Tt.edges.push({startX:Q[it][mt.id()].getCenterX(),startY:Q[it][mt.id()].getCenterY(),endX:Q[it][xt.id()].getCenterX(),endY:Q[it][xt.id()].getCenterY()})}),Tt.nodes.length>0&&(X.push(Tt),O.add(it))}});var _=m.packComponents(X,A.randomize).shifts;if(A.quality=="draft")V.forEach(function(dt,it){var ut=dt.xCoords.map(function(Ct){return Ct+_[it].dx}),Tt=dt.yCoords.map(function(Ct){return Ct+_[it].dy});dt.xCoords=ut,dt.yCoords=Tt});else{var lt=0;O.forEach(function(dt){Object.keys(Q[dt]).forEach(function(it){var ut=Q[dt][it];ut.setCenter(ut.getCenterX()+_[lt].dx,ut.getCenterY()+_[lt].dy)}),lt++})}}}else{var E=A.eles.boundingBox();if(rt.push({x:E.x1+E.w/2,y:E.y1+E.h/2}),A.randomize){var p=o(A);V.push(p)}A.quality=="default"||A.quality=="proof"?(Q.push(l(A,V[0])),t.relocateComponent(rt[0],Q[0],A)):t.relocateComponent(rt[0],V[0],A)}var q=function(it,ut){if(A.quality=="default"||A.quality=="proof"){typeof it=="number"&&(it=ut);var Tt=void 0,Ct=void 0,Dt=it.data("id");return Q.forEach(function(xt){Dt in xt&&(Tt={x:xt[Dt].getRect().getCenterX(),y:xt[Dt].getRect().getCenterY()},Ct=xt[Dt])}),A.nodeDimensionsIncludeLabels&&(Ct.labelWidth&&(Ct.labelPosHorizontal=="left"?Tt.x+=Ct.labelWidth/2:Ct.labelPosHorizontal=="right"&&(Tt.x-=Ct.labelWidth/2)),Ct.labelHeight&&(Ct.labelPosVertical=="top"?Tt.y+=Ct.labelHeight/2:Ct.labelPosVertical=="bottom"&&(Tt.y-=Ct.labelHeight/2))),Tt==null&&(Tt={x:it.position("x"),y:it.position("y")}),{x:Tt.x,y:Tt.y}}else{var mt=void 0;return V.forEach(function(xt){var St=xt.nodeIndexes.get(it.id());St!=null&&(mt={x:xt.xCoords[St],y:xt.yCoords[St]})}),mt==null&&(mt={x:it.position("x"),y:it.position("y")}),{x:mt.x,y:mt.y}}};if(A.quality=="default"||A.quality=="proof"||A.randomize){var It=t.calcParentsWithoutChildren(P,J),Lt=J.filter(function(dt){return dt.css("display")=="none"});A.eles=J.not(Lt),J.nodes().not(":parent").not(Lt).layoutPositions(F,A,q),It.length>0&&It.forEach(function(dt){dt.position(q(dt))})}else console.log("If randomize option is set to false, then quality option must be 'default' or 'proof'.")}}]),v}();i.exports=u},657:(i,r,e)=>{var f=e(548),a=e(140).layoutBase.Matrix,y=e(140).layoutBase.SVD,t=function(o){var c=o.cy,l=o.eles,T=l.nodes(),u=l.nodes(":parent"),v=new Map,L=new Map,F=new Map,A=[],P=[],J=[],V=[],Q=[],D=[],rt=[],n=[],m=void 0,d=1e8,E=1e-9,p=o.piTol,R=o.samplingType,w=o.nodeSeparation,I=void 0,H=function(){for(var b=0,$=0,K=!1;$=at;){ot=Z[at++];for(var Rt=A[ot],ft=0;ftvt&&(vt=Q[Mt],wt=Mt)}return wt},k=function(b){var $=void 0;if(b){$=Math.floor(Math.random()*m);for(var Z=0;Z=1)break;j=tt}for(var yt=0;yt=1)break;j=tt}for(var ft=0;ft0&&($.isParent()?A[b].push(F.get($.id())):A[b].push($.id()))})});var Lt=function(b){var $=L.get(b),K=void 0;v.get(b).forEach(function(Z){c.getElementById(Z).isParent()?K=F.get(Z):K=Z,A[$].push(K),A[L.get(K)].push(b)})},dt=!0,it=!1,ut=void 0;try{for(var Tt=v.keys()[Symbol.iterator](),Ct;!(dt=(Ct=Tt.next()).done);dt=!0){var Dt=Ct.value;Lt(Dt)}}catch(S){it=!0,ut=S}finally{try{!dt&&Tt.return&&Tt.return()}finally{if(it)throw ut}}m=L.size;var mt=void 0;if(m>2){I=m{var f=e(212),a=function(t){t&&t("layout","fcose",f)};typeof cytoscape<"u"&&a(cytoscape),i.exports=a},140:i=>{i.exports=C}},N={};function g(i){var r=N[i];if(r!==void 0)return r.exports;var e=N[i]={exports:{}};return G[i](e,e.exports,g),e.exports}var s=g(579);return s})()})})(be);var gr=be.exports;const ur=ke(gr);var xe={L:"left",R:"right",T:"top",B:"bottom"},Re={L:nt(M=>`${M},${M/2} 0,${M} 0,0`,"L"),R:nt(M=>`0,${M/2} ${M},0 ${M},${M}`,"R"),T:nt(M=>`0,0 ${M},0 ${M/2},${M}`,"T"),B:nt(M=>`${M/2},0 ${M},${M} 0,${M}`,"B")},he={L:nt((M,Y)=>M-Y+2,"L"),R:nt((M,Y)=>M-2,"R"),T:nt((M,Y)=>M-Y+2,"T"),B:nt((M,Y)=>M-2,"B")},vr=nt(function(M){return zt(M)?M==="L"?"R":"L":M==="T"?"B":"T"},"getOppositeArchitectureDirection"),Ie=nt(function(M){const Y=M;return Y==="L"||Y==="R"||Y==="T"||Y==="B"},"isArchitectureDirection"),zt=nt(function(M){const Y=M;return Y==="L"||Y==="R"},"isArchitectureDirectionX"),Qt=nt(function(M){const Y=M;return Y==="T"||Y==="B"},"isArchitectureDirectionY"),Pe=nt(function(M,Y){const C=zt(M)&&Qt(Y),G=Qt(M)&&zt(Y);return C||G},"isArchitectureDirectionXY"),dr=nt(function(M){const Y=M[0],C=M[1],G=zt(Y)&&Qt(C),N=Qt(Y)&&zt(C);return G||N},"isArchitecturePairXY"),pr=nt(function(M){return M!=="LL"&&M!=="RR"&&M!=="TT"&&M!=="BB"},"isValidArchitectureDirectionPair"),me=nt(function(M,Y){const C=`${M}${Y}`;return pr(C)?C:void 0},"getArchitectureDirectionPair"),yr=nt(function([M,Y],C){const G=C[0],N=C[1];return zt(G)?Qt(N)?[M+(G==="L"?-1:1),Y+(N==="T"?1:-1)]:[M+(G==="L"?-1:1),Y]:zt(N)?[M+(N==="L"?1:-1),Y+(G==="T"?1:-1)]:[M,Y+(G==="T"?1:-1)]},"shiftPositionByArchitectureDirectionPair"),Er=nt(function(M){return M==="LT"||M==="TL"?[1,1]:M==="BL"||M==="LB"?[1,-1]:M==="BR"||M==="RB"?[-1,-1]:[-1,1]},"getArchitectureDirectionXYFactors"),mr=nt(function(M){return M.type==="service"},"isArchitectureService"),Tr=nt(function(M){return M.type==="junction"},"isArchitectureJunction"),Ge=nt(M=>M.data(),"edgeData"),ne=nt(M=>M.data(),"nodeData"),Ue=qe.architecture,pt=new hr(()=>({nodes:{},groups:{},edges:[],registeredIds:{},config:Ue,dataStructures:void 0,elements:{}})),Nr=nt(()=>{pt.reset(),ar()},"clear"),Lr=nt(function({id:M,icon:Y,in:C,title:G,iconText:N}){if(pt.records.registeredIds[M]!==void 0)throw new Error(`The service id [${M}] is already in use by another ${pt.records.registeredIds[M]}`);if(C!==void 0){if(M===C)throw new Error(`The service [${M}] cannot be placed within itself`);if(pt.records.registeredIds[C]===void 0)throw new Error(`The service [${M}]'s parent does not exist. Please make sure the parent is created before this service`);if(pt.records.registeredIds[C]==="node")throw new Error(`The service [${M}]'s parent is not a group`)}pt.records.registeredIds[M]="node",pt.records.nodes[M]={id:M,type:"service",icon:Y,iconText:N,title:G,edges:[],in:C}},"addService"),Mr=nt(()=>Object.values(pt.records.nodes).filter(mr),"getServices"),Ar=nt(function({id:M,in:Y}){pt.records.registeredIds[M]="node",pt.records.nodes[M]={id:M,type:"junction",edges:[],in:Y}},"addJunction"),Cr=nt(()=>Object.values(pt.records.nodes).filter(Tr),"getJunctions"),wr=nt(()=>Object.values(pt.records.nodes),"getNodes"),Or=nt(M=>pt.records.nodes[M],"getNode"),Dr=nt(function({id:M,icon:Y,in:C,title:G}){if(pt.records.registeredIds[M]!==void 0)throw new Error(`The group id [${M}] is already in use by another ${pt.records.registeredIds[M]}`);if(C!==void 0){if(M===C)throw new Error(`The group [${M}] cannot be placed within itself`);if(pt.records.registeredIds[C]===void 0)throw new Error(`The group [${M}]'s parent does not exist. Please make sure the parent is created before this group`);if(pt.records.registeredIds[C]==="node")throw new Error(`The group [${M}]'s parent is not a group`)}pt.records.registeredIds[M]="group",pt.records.groups[M]={id:M,icon:Y,title:G,in:C}},"addGroup"),xr=nt(()=>Object.values(pt.records.groups),"getGroups"),Rr=nt(function({lhsId:M,rhsId:Y,lhsDir:C,rhsDir:G,lhsInto:N,rhsInto:g,lhsGroup:s,rhsGroup:i,title:r}){if(!Ie(C))throw new Error(`Invalid direction given for left hand side of edge ${M}--${Y}. Expected (L,R,T,B) got ${C}`);if(!Ie(G))throw new Error(`Invalid direction given for right hand side of edge ${M}--${Y}. Expected (L,R,T,B) got ${G}`);if(pt.records.nodes[M]===void 0&&pt.records.groups[M]===void 0)throw new Error(`The left-hand id [${M}] does not yet exist. Please create the service/group before declaring an edge to it.`);if(pt.records.nodes[Y]===void 0&&pt.records.groups[M]===void 0)throw new Error(`The right-hand id [${Y}] does not yet exist. Please create the service/group before declaring an edge to it.`);const e=pt.records.nodes[M].in,f=pt.records.nodes[Y].in;if(s&&e&&f&&e==f)throw new Error(`The left-hand id [${M}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);if(i&&e&&f&&e==f)throw new Error(`The right-hand id [${Y}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);const a={lhsId:M,lhsDir:C,lhsInto:N,lhsGroup:s,rhsId:Y,rhsDir:G,rhsInto:g,rhsGroup:i,title:r};pt.records.edges.push(a),pt.records.nodes[M]&&pt.records.nodes[Y]&&(pt.records.nodes[M].edges.push(pt.records.edges[pt.records.edges.length-1]),pt.records.nodes[Y].edges.push(pt.records.edges[pt.records.edges.length-1]))},"addEdge"),Ir=nt(()=>pt.records.edges,"getEdges"),Sr=nt(()=>{if(pt.records.dataStructures===void 0){const M=Object.entries(pt.records.nodes).reduce((s,[i,r])=>(s[i]=r.edges.reduce((e,f)=>{if(f.lhsId===i){const a=me(f.lhsDir,f.rhsDir);a&&(e[a]=f.rhsId)}else{const a=me(f.rhsDir,f.lhsDir);a&&(e[a]=f.lhsId)}return e},{}),s),{}),Y=Object.keys(M)[0],C={[Y]:1},G=Object.keys(M).reduce((s,i)=>i===Y?s:{...s,[i]:1},{}),N=nt(s=>{const i={[s]:[0,0]},r=[s];for(;r.length>0;){const e=r.shift();if(e){C[e]=1,delete G[e];const f=M[e],[a,y]=i[e];Object.entries(f).forEach(([t,h])=>{C[h]||(i[h]=yr([a,y],t),r.push(h))})}}return i},"BFS"),g=[N(Y)];for(;Object.keys(G).length>0;)g.push(N(Object.keys(G)[0]));pt.records.dataStructures={adjList:M,spatialMaps:g}}return pt.records.dataStructures},"getDataStructures"),Fr=nt((M,Y)=>{pt.records.elements[M]=Y},"setElementForId"),br=nt(M=>pt.records.elements[M],"getElementById"),le={clear:Nr,setDiagramTitle:Ke,getDiagramTitle:je,setAccTitle:_e,getAccTitle:tr,setAccDescription:er,getAccDescription:rr,addService:Lr,getServices:Mr,addJunction:Ar,getJunctions:Cr,getNodes:wr,getNode:Or,addGroup:Dr,getGroups:xr,addEdge:Rr,getEdges:Ir,setElementForId:Fr,getElementById:br,getDataStructures:Sr};function Pt(M){const Y=fe().architecture;return Y!=null&&Y[M]?Y[M]:Ue[M]}nt(Pt,"getConfigField");var Pr=nt((M,Y)=>{sr(M,Y),M.groups.map(Y.addGroup),M.services.map(C=>Y.addService({...C,type:"service"})),M.junctions.map(C=>Y.addJunction({...C,type:"junction"})),M.edges.map(Y.addEdge)},"populateDb"),Gr={parse:nt(async M=>{const Y=await lr("architecture",M);Se.debug(Y),Pr(Y,le)},"parse")},Ur=nt(M=>` .edge { stroke-width: ${M.archEdgeWidth}; stroke: ${M.archEdgeColor}; diff --git a/assets/blockDiagram-EN3ZKWFM-ODRjdJyk.js b/assets/blockDiagram-EN3ZKWFM-XbCfY_lM.js similarity index 99% rename from assets/blockDiagram-EN3ZKWFM-ODRjdJyk.js rename to assets/blockDiagram-EN3ZKWFM-XbCfY_lM.js index b5650a3..9fd593e 100644 --- a/assets/blockDiagram-EN3ZKWFM-ODRjdJyk.js +++ b/assets/blockDiagram-EN3ZKWFM-XbCfY_lM.js @@ -1,4 +1,4 @@ -import{a as Re,i as Be,p as ke,m as Pe}from"./chunk-UGV5ZQQN-DsfIFBqE.js";import{i as xe,p as Fe}from"./chunk-YWFND7JV-CHuoUZPA.js";import{_ as u,d as Le,l as L,P as Ke,B as ie,j as G,k as Me,r as Ye,y as We,ah as Ve,e as je}from"./index-DqL3MUN2.js";import{G as Ue}from"./graph-F-lRYGiw.js";import{c as Xe}from"./channel-q1VHAzml.js";import"./_baseUniq-B1Flybha.js";var se=function(){var e=u(function(N,c,s,r){for(s=s||{},r=N.length;r--;s[N[r]]=c);return s},"o"),l=[1,7],h=[1,13],n=[1,14],i=[1,15],d=[1,19],o=[1,16],f=[1,17],S=[1,18],m=[8,30],x=[8,21,28,29,30,31,32,40,44,47],_=[1,23],O=[1,24],I=[8,15,16,21,28,29,30,31,32,40,44,47],D=[8,15,16,21,27,28,29,30,31,32,40,44,47],C=[1,49],E={trace:u(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,block:31,NODE_ID:32,nodeShapeNLabel:33,dirList:34,DIR:35,NODE_DSTART:36,NODE_DEND:37,BLOCK_ARROW_START:38,BLOCK_ARROW_END:39,classDef:40,CLASSDEF_ID:41,CLASSDEF_STYLEOPTS:42,DEFAULT:43,class:44,CLASSENTITY_IDS:45,STYLECLASS:46,style:47,STYLE_ENTITY_IDS:48,STYLE_DEFINITION_DATA:49,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"block",32:"NODE_ID",35:"DIR",36:"NODE_DSTART",37:"NODE_DEND",38:"BLOCK_ARROW_START",39:"BLOCK_ARROW_END",40:"classDef",41:"CLASSDEF_ID",42:"CLASSDEF_STYLEOPTS",43:"DEFAULT",44:"class",45:"CLASSENTITY_IDS",46:"STYLECLASS",47:"style",48:"STYLE_ENTITY_IDS",49:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[34,1],[34,2],[33,3],[33,4],[23,3],[23,3],[24,3],[25,3]],performAction:u(function(c,s,r,g,p,t,b){var a=t.length-1;switch(p){case 4:g.getLogger().debug("Rule: separator (NL) ");break;case 5:g.getLogger().debug("Rule: separator (Space) ");break;case 6:g.getLogger().debug("Rule: separator (EOF) ");break;case 7:g.getLogger().debug("Rule: hierarchy: ",t[a-1]),g.setHierarchy(t[a-1]);break;case 8:g.getLogger().debug("Stop NL ");break;case 9:g.getLogger().debug("Stop EOF ");break;case 10:g.getLogger().debug("Stop NL2 ");break;case 11:g.getLogger().debug("Stop EOF2 ");break;case 12:g.getLogger().debug("Rule: statement: ",t[a]),typeof t[a].length=="number"?this.$=t[a]:this.$=[t[a]];break;case 13:g.getLogger().debug("Rule: statement #2: ",t[a-1]),this.$=[t[a-1]].concat(t[a]);break;case 14:g.getLogger().debug("Rule: link: ",t[a],c),this.$={edgeTypeStr:t[a],label:""};break;case 15:g.getLogger().debug("Rule: LABEL link: ",t[a-3],t[a-1],t[a]),this.$={edgeTypeStr:t[a],label:t[a-1]};break;case 18:const P=parseInt(t[a]),W=g.generateId();this.$={id:W,type:"space",label:"",width:P,children:[]};break;case 23:g.getLogger().debug("Rule: (nodeStatement link node) ",t[a-2],t[a-1],t[a]," typestr: ",t[a-1].edgeTypeStr);const K=g.edgeStrToEdgeData(t[a-1].edgeTypeStr);this.$=[{id:t[a-2].id,label:t[a-2].label,type:t[a-2].type,directions:t[a-2].directions},{id:t[a-2].id+"-"+t[a].id,start:t[a-2].id,end:t[a].id,label:t[a-1].label,type:"edge",directions:t[a].directions,arrowTypeEnd:K,arrowTypeStart:"arrow_open"},{id:t[a].id,label:t[a].label,type:g.typeStr2Type(t[a].typeStr),directions:t[a].directions}];break;case 24:g.getLogger().debug("Rule: nodeStatement (abc88 node size) ",t[a-1],t[a]),this.$={id:t[a-1].id,label:t[a-1].label,type:g.typeStr2Type(t[a-1].typeStr),directions:t[a-1].directions,widthInColumns:parseInt(t[a],10)};break;case 25:g.getLogger().debug("Rule: nodeStatement (node) ",t[a]),this.$={id:t[a].id,label:t[a].label,type:g.typeStr2Type(t[a].typeStr),directions:t[a].directions,widthInColumns:1};break;case 26:g.getLogger().debug("APA123",this?this:"na"),g.getLogger().debug("COLUMNS: ",t[a]),this.$={type:"column-setting",columns:t[a]==="auto"?-1:parseInt(t[a])};break;case 27:g.getLogger().debug("Rule: id-block statement : ",t[a-2],t[a-1]),g.generateId(),this.$={...t[a-2],type:"composite",children:t[a-1]};break;case 28:g.getLogger().debug("Rule: blockStatement : ",t[a-2],t[a-1],t[a]);const B=g.generateId();this.$={id:B,type:"composite",label:"",children:t[a-1]};break;case 29:g.getLogger().debug("Rule: node (NODE_ID separator): ",t[a]),this.$={id:t[a]};break;case 30:g.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",t[a-1],t[a]),this.$={id:t[a-1],label:t[a].label,typeStr:t[a].typeStr,directions:t[a].directions};break;case 31:g.getLogger().debug("Rule: dirList: ",t[a]),this.$=[t[a]];break;case 32:g.getLogger().debug("Rule: dirList: ",t[a-1],t[a]),this.$=[t[a-1]].concat(t[a]);break;case 33:g.getLogger().debug("Rule: nodeShapeNLabel: ",t[a-2],t[a-1],t[a]),this.$={typeStr:t[a-2]+t[a],label:t[a-1]};break;case 34:g.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",t[a-3],t[a-2]," #3:",t[a-1],t[a]),this.$={typeStr:t[a-3]+t[a],label:t[a-2],directions:t[a-1]};break;case 35:case 36:this.$={type:"classDef",id:t[a-1].trim(),css:t[a].trim()};break;case 37:this.$={type:"applyClass",id:t[a-1].trim(),styleClass:t[a].trim()};break;case 38:this.$={type:"applyStyles",id:t[a-1].trim(),stylesStr:t[a].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{11:3,13:4,19:5,20:6,21:l,22:8,23:9,24:10,25:11,26:12,28:h,29:n,31:i,32:d,40:o,44:f,47:S},{8:[1,20]},e(m,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,21:l,28:h,29:n,31:i,32:d,40:o,44:f,47:S}),e(x,[2,16],{14:22,15:_,16:O}),e(x,[2,17]),e(x,[2,18]),e(x,[2,19]),e(x,[2,20]),e(x,[2,21]),e(x,[2,22]),e(I,[2,25],{27:[1,25]}),e(x,[2,26]),{19:26,26:12,32:d},{11:27,13:4,19:5,20:6,21:l,22:8,23:9,24:10,25:11,26:12,28:h,29:n,31:i,32:d,40:o,44:f,47:S},{41:[1,28],43:[1,29]},{45:[1,30]},{48:[1,31]},e(D,[2,29],{33:32,36:[1,33],38:[1,34]}),{1:[2,7]},e(m,[2,13]),{26:35,32:d},{32:[2,14]},{17:[1,36]},e(I,[2,24]),{11:37,13:4,14:22,15:_,16:O,19:5,20:6,21:l,22:8,23:9,24:10,25:11,26:12,28:h,29:n,31:i,32:d,40:o,44:f,47:S},{30:[1,38]},{42:[1,39]},{42:[1,40]},{46:[1,41]},{49:[1,42]},e(D,[2,30]),{18:[1,43]},{18:[1,44]},e(I,[2,23]),{18:[1,45]},{30:[1,46]},e(x,[2,28]),e(x,[2,35]),e(x,[2,36]),e(x,[2,37]),e(x,[2,38]),{37:[1,47]},{34:48,35:C},{15:[1,50]},e(x,[2,27]),e(D,[2,33]),{39:[1,51]},{34:52,35:C,39:[2,31]},{32:[2,15]},e(D,[2,34]),{39:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:u(function(c,s){if(s.recoverable)this.trace(c);else{var r=new Error(c);throw r.hash=s,r}},"parseError"),parse:u(function(c){var s=this,r=[0],g=[],p=[null],t=[],b=this.table,a="",P=0,W=0,K=2,B=1,ze=t.slice.call(arguments,1),w=Object.create(this.lexer),M={yy:{}};for(var Q in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Q)&&(M.yy[Q]=this.yy[Q]);w.setInput(c,M.yy),M.yy.lexer=w,M.yy.parser=this,typeof w.yylloc>"u"&&(w.yylloc={});var $=w.yylloc;t.push($);var Ce=w.options&&w.options.ranges;typeof M.yy.parseError=="function"?this.parseError=M.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ae(z){r.length=r.length-2*z,p.length=p.length-z,t.length=t.length-z}u(Ae,"popStack");function he(){var z;return z=g.pop()||w.lex()||B,typeof z!="number"&&(z instanceof Array&&(g=z,z=g.pop()),z=s.symbols_[z]||z),z}u(he,"lex");for(var T,Y,A,ee,V={},U,F,ue,X;;){if(Y=r[r.length-1],this.defaultActions[Y]?A=this.defaultActions[Y]:((T===null||typeof T>"u")&&(T=he()),A=b[Y]&&b[Y][T]),typeof A>"u"||!A.length||!A[0]){var te="";X=[];for(U in b[Y])this.terminals_[U]&&U>K&&X.push("'"+this.terminals_[U]+"'");w.showPosition?te="Parse error on line "+(P+1)+`: +import{a as Re,i as Be,p as ke,m as Pe}from"./chunk-UGV5ZQQN-S_EzHP18.js";import{i as xe,p as Fe}from"./chunk-YWFND7JV-Cxhz5tcw.js";import{_ as u,d as Le,l as L,P as Ke,B as ie,j as G,k as Me,r as Ye,y as We,ah as Ve,e as je}from"./index-BmyXM-jo.js";import{G as Ue}from"./graph-DNRi3G-N.js";import{c as Xe}from"./channel-C3SqRiWs.js";import"./_baseUniq-BdggiAxO.js";var se=function(){var e=u(function(N,c,s,r){for(s=s||{},r=N.length;r--;s[N[r]]=c);return s},"o"),l=[1,7],h=[1,13],n=[1,14],i=[1,15],d=[1,19],o=[1,16],f=[1,17],S=[1,18],m=[8,30],x=[8,21,28,29,30,31,32,40,44,47],_=[1,23],O=[1,24],I=[8,15,16,21,28,29,30,31,32,40,44,47],D=[8,15,16,21,27,28,29,30,31,32,40,44,47],C=[1,49],E={trace:u(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,block:31,NODE_ID:32,nodeShapeNLabel:33,dirList:34,DIR:35,NODE_DSTART:36,NODE_DEND:37,BLOCK_ARROW_START:38,BLOCK_ARROW_END:39,classDef:40,CLASSDEF_ID:41,CLASSDEF_STYLEOPTS:42,DEFAULT:43,class:44,CLASSENTITY_IDS:45,STYLECLASS:46,style:47,STYLE_ENTITY_IDS:48,STYLE_DEFINITION_DATA:49,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"block",32:"NODE_ID",35:"DIR",36:"NODE_DSTART",37:"NODE_DEND",38:"BLOCK_ARROW_START",39:"BLOCK_ARROW_END",40:"classDef",41:"CLASSDEF_ID",42:"CLASSDEF_STYLEOPTS",43:"DEFAULT",44:"class",45:"CLASSENTITY_IDS",46:"STYLECLASS",47:"style",48:"STYLE_ENTITY_IDS",49:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[34,1],[34,2],[33,3],[33,4],[23,3],[23,3],[24,3],[25,3]],performAction:u(function(c,s,r,g,p,t,b){var a=t.length-1;switch(p){case 4:g.getLogger().debug("Rule: separator (NL) ");break;case 5:g.getLogger().debug("Rule: separator (Space) ");break;case 6:g.getLogger().debug("Rule: separator (EOF) ");break;case 7:g.getLogger().debug("Rule: hierarchy: ",t[a-1]),g.setHierarchy(t[a-1]);break;case 8:g.getLogger().debug("Stop NL ");break;case 9:g.getLogger().debug("Stop EOF ");break;case 10:g.getLogger().debug("Stop NL2 ");break;case 11:g.getLogger().debug("Stop EOF2 ");break;case 12:g.getLogger().debug("Rule: statement: ",t[a]),typeof t[a].length=="number"?this.$=t[a]:this.$=[t[a]];break;case 13:g.getLogger().debug("Rule: statement #2: ",t[a-1]),this.$=[t[a-1]].concat(t[a]);break;case 14:g.getLogger().debug("Rule: link: ",t[a],c),this.$={edgeTypeStr:t[a],label:""};break;case 15:g.getLogger().debug("Rule: LABEL link: ",t[a-3],t[a-1],t[a]),this.$={edgeTypeStr:t[a],label:t[a-1]};break;case 18:const P=parseInt(t[a]),W=g.generateId();this.$={id:W,type:"space",label:"",width:P,children:[]};break;case 23:g.getLogger().debug("Rule: (nodeStatement link node) ",t[a-2],t[a-1],t[a]," typestr: ",t[a-1].edgeTypeStr);const K=g.edgeStrToEdgeData(t[a-1].edgeTypeStr);this.$=[{id:t[a-2].id,label:t[a-2].label,type:t[a-2].type,directions:t[a-2].directions},{id:t[a-2].id+"-"+t[a].id,start:t[a-2].id,end:t[a].id,label:t[a-1].label,type:"edge",directions:t[a].directions,arrowTypeEnd:K,arrowTypeStart:"arrow_open"},{id:t[a].id,label:t[a].label,type:g.typeStr2Type(t[a].typeStr),directions:t[a].directions}];break;case 24:g.getLogger().debug("Rule: nodeStatement (abc88 node size) ",t[a-1],t[a]),this.$={id:t[a-1].id,label:t[a-1].label,type:g.typeStr2Type(t[a-1].typeStr),directions:t[a-1].directions,widthInColumns:parseInt(t[a],10)};break;case 25:g.getLogger().debug("Rule: nodeStatement (node) ",t[a]),this.$={id:t[a].id,label:t[a].label,type:g.typeStr2Type(t[a].typeStr),directions:t[a].directions,widthInColumns:1};break;case 26:g.getLogger().debug("APA123",this?this:"na"),g.getLogger().debug("COLUMNS: ",t[a]),this.$={type:"column-setting",columns:t[a]==="auto"?-1:parseInt(t[a])};break;case 27:g.getLogger().debug("Rule: id-block statement : ",t[a-2],t[a-1]),g.generateId(),this.$={...t[a-2],type:"composite",children:t[a-1]};break;case 28:g.getLogger().debug("Rule: blockStatement : ",t[a-2],t[a-1],t[a]);const B=g.generateId();this.$={id:B,type:"composite",label:"",children:t[a-1]};break;case 29:g.getLogger().debug("Rule: node (NODE_ID separator): ",t[a]),this.$={id:t[a]};break;case 30:g.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",t[a-1],t[a]),this.$={id:t[a-1],label:t[a].label,typeStr:t[a].typeStr,directions:t[a].directions};break;case 31:g.getLogger().debug("Rule: dirList: ",t[a]),this.$=[t[a]];break;case 32:g.getLogger().debug("Rule: dirList: ",t[a-1],t[a]),this.$=[t[a-1]].concat(t[a]);break;case 33:g.getLogger().debug("Rule: nodeShapeNLabel: ",t[a-2],t[a-1],t[a]),this.$={typeStr:t[a-2]+t[a],label:t[a-1]};break;case 34:g.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",t[a-3],t[a-2]," #3:",t[a-1],t[a]),this.$={typeStr:t[a-3]+t[a],label:t[a-2],directions:t[a-1]};break;case 35:case 36:this.$={type:"classDef",id:t[a-1].trim(),css:t[a].trim()};break;case 37:this.$={type:"applyClass",id:t[a-1].trim(),styleClass:t[a].trim()};break;case 38:this.$={type:"applyStyles",id:t[a-1].trim(),stylesStr:t[a].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{11:3,13:4,19:5,20:6,21:l,22:8,23:9,24:10,25:11,26:12,28:h,29:n,31:i,32:d,40:o,44:f,47:S},{8:[1,20]},e(m,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,21:l,28:h,29:n,31:i,32:d,40:o,44:f,47:S}),e(x,[2,16],{14:22,15:_,16:O}),e(x,[2,17]),e(x,[2,18]),e(x,[2,19]),e(x,[2,20]),e(x,[2,21]),e(x,[2,22]),e(I,[2,25],{27:[1,25]}),e(x,[2,26]),{19:26,26:12,32:d},{11:27,13:4,19:5,20:6,21:l,22:8,23:9,24:10,25:11,26:12,28:h,29:n,31:i,32:d,40:o,44:f,47:S},{41:[1,28],43:[1,29]},{45:[1,30]},{48:[1,31]},e(D,[2,29],{33:32,36:[1,33],38:[1,34]}),{1:[2,7]},e(m,[2,13]),{26:35,32:d},{32:[2,14]},{17:[1,36]},e(I,[2,24]),{11:37,13:4,14:22,15:_,16:O,19:5,20:6,21:l,22:8,23:9,24:10,25:11,26:12,28:h,29:n,31:i,32:d,40:o,44:f,47:S},{30:[1,38]},{42:[1,39]},{42:[1,40]},{46:[1,41]},{49:[1,42]},e(D,[2,30]),{18:[1,43]},{18:[1,44]},e(I,[2,23]),{18:[1,45]},{30:[1,46]},e(x,[2,28]),e(x,[2,35]),e(x,[2,36]),e(x,[2,37]),e(x,[2,38]),{37:[1,47]},{34:48,35:C},{15:[1,50]},e(x,[2,27]),e(D,[2,33]),{39:[1,51]},{34:52,35:C,39:[2,31]},{32:[2,15]},e(D,[2,34]),{39:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:u(function(c,s){if(s.recoverable)this.trace(c);else{var r=new Error(c);throw r.hash=s,r}},"parseError"),parse:u(function(c){var s=this,r=[0],g=[],p=[null],t=[],b=this.table,a="",P=0,W=0,K=2,B=1,ze=t.slice.call(arguments,1),w=Object.create(this.lexer),M={yy:{}};for(var Q in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Q)&&(M.yy[Q]=this.yy[Q]);w.setInput(c,M.yy),M.yy.lexer=w,M.yy.parser=this,typeof w.yylloc>"u"&&(w.yylloc={});var $=w.yylloc;t.push($);var Ce=w.options&&w.options.ranges;typeof M.yy.parseError=="function"?this.parseError=M.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ae(z){r.length=r.length-2*z,p.length=p.length-z,t.length=t.length-z}u(Ae,"popStack");function he(){var z;return z=g.pop()||w.lex()||B,typeof z!="number"&&(z instanceof Array&&(g=z,z=g.pop()),z=s.symbols_[z]||z),z}u(he,"lex");for(var T,Y,A,ee,V={},U,F,ue,X;;){if(Y=r[r.length-1],this.defaultActions[Y]?A=this.defaultActions[Y]:((T===null||typeof T>"u")&&(T=he()),A=b[Y]&&b[Y][T]),typeof A>"u"||!A.length||!A[0]){var te="";X=[];for(U in b[Y])this.terminals_[U]&&U>K&&X.push("'"+this.terminals_[U]+"'");w.showPosition?te="Parse error on line "+(P+1)+`: `+w.showPosition()+` Expecting `+X.join(", ")+", got '"+(this.terminals_[T]||T)+"'":te="Parse error on line "+(P+1)+": Unexpected "+(T==B?"end of input":"'"+(this.terminals_[T]||T)+"'"),this.parseError(te,{text:w.match,token:this.terminals_[T]||T,line:w.yylineno,loc:$,expected:X})}if(A[0]instanceof Array&&A.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Y+", token: "+T);switch(A[0]){case 1:r.push(T),p.push(w.yytext),t.push(w.yylloc),r.push(A[1]),T=null,W=w.yyleng,a=w.yytext,P=w.yylineno,$=w.yylloc;break;case 2:if(F=this.productions_[A[1]][1],V.$=p[p.length-F],V._$={first_line:t[t.length-(F||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(F||1)].first_column,last_column:t[t.length-1].last_column},Ce&&(V._$.range=[t[t.length-(F||1)].range[0],t[t.length-1].range[1]]),ee=this.performAction.apply(V,[a,W,P,M.yy,A[1],p,t].concat(ze)),typeof ee<"u")return ee;F&&(r=r.slice(0,-1*F*2),p=p.slice(0,-1*F),t=t.slice(0,-1*F)),r.push(this.productions_[A[1]][0]),p.push(V.$),t.push(V._$),ue=b[r[r.length-2]][r[r.length-1]],r.push(ue);break;case 3:return!0}}return!0},"parse")},k=function(){var N={EOF:1,parseError:u(function(s,r){if(this.yy.parser)this.yy.parser.parseError(s,r);else throw new Error(s)},"parseError"),setInput:u(function(c,s){return this.yy=s||this.yy||{},this._input=c,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:u(function(){var c=this._input[0];this.yytext+=c,this.yyleng++,this.offset++,this.match+=c,this.matched+=c;var s=c.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),c},"input"),unput:u(function(c){var s=c.length,r=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var g=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1);var p=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===g.length?this.yylloc.first_column:0)+g[g.length-r.length].length-r[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[p[0],p[0]+this.yyleng-s]),this.yyleng=this.yytext.length,this},"unput"),more:u(function(){return this._more=!0,this},"more"),reject:u(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:u(function(c){this.unput(this.match.slice(c))},"less"),pastInput:u(function(){var c=this.matched.substr(0,this.matched.length-this.match.length);return(c.length>20?"...":"")+c.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:u(function(){var c=this.match;return c.length<20&&(c+=this._input.substr(0,20-c.length)),(c.substr(0,20)+(c.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:u(function(){var c=this.pastInput(),s=new Array(c.length+1).join("-");return c+this.upcomingInput()+` diff --git a/assets/c4Diagram-THADGKDP-z2s09Z8i.js b/assets/c4Diagram-THADGKDP-B3FNYdXZ.js similarity index 99% rename from assets/c4Diagram-THADGKDP-z2s09Z8i.js rename to assets/c4Diagram-THADGKDP-B3FNYdXZ.js index e2464ee..1ac2bc6 100644 --- a/assets/c4Diagram-THADGKDP-z2s09Z8i.js +++ b/assets/c4Diagram-THADGKDP-B3FNYdXZ.js @@ -1,4 +1,4 @@ -import{d as Se,g as De}from"./chunk-XVOYOM2C-D2CgWdoi.js";import{_ as g,a as Pe,s as Be,g as Ie,b as Me,c as Le,d as Bt,w as Ne,e as $t,f as de,h as Tt,i as ge,j as jt,l as fe,k as Ye,m as je}from"./index-DqL3MUN2.js";var Ft=function(){var e=g(function(_t,x,m,v){for(m=m||{},v=_t.length;v--;m[_t[v]]=x);return m},"o"),t=[1,24],s=[1,25],o=[1,26],l=[1,27],a=[1,28],r=[1,63],n=[1,64],i=[1,65],u=[1,66],d=[1,67],f=[1,68],y=[1,69],E=[1,29],O=[1,30],S=[1,31],P=[1,32],M=[1,33],U=[1,34],H=[1,35],q=[1,36],G=[1,37],K=[1,38],J=[1,39],Z=[1,40],$=[1,41],tt=[1,42],et=[1,43],at=[1,44],it=[1,45],nt=[1,46],rt=[1,47],st=[1,48],lt=[1,50],ot=[1,51],ct=[1,52],ht=[1,53],ut=[1,54],dt=[1,55],ft=[1,56],pt=[1,57],yt=[1,58],gt=[1,59],bt=[1,60],Ct=[14,42],Qt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],St=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],k=[1,82],A=[1,83],C=[1,84],w=[1,85],T=[12,14,42],le=[12,14,33,42],Mt=[12,14,33,42,76,77,79,80],vt=[12,33],Ht=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],qt={trace:g(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:g(function(x,m,v,b,R,h,Dt){var p=h.length-1;switch(R){case 3:b.setDirection("TB");break;case 4:b.setDirection("BT");break;case 5:b.setDirection("RL");break;case 6:b.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:b.setC4Type(h[p-3]);break;case 19:b.setTitle(h[p].substring(6)),this.$=h[p].substring(6);break;case 20:b.setAccDescription(h[p].substring(15)),this.$=h[p].substring(15);break;case 21:this.$=h[p].trim(),b.setTitle(this.$);break;case 22:case 23:this.$=h[p].trim(),b.setAccDescription(this.$);break;case 28:h[p].splice(2,0,"ENTERPRISE"),b.addPersonOrSystemBoundary(...h[p]),this.$=h[p];break;case 29:h[p].splice(2,0,"SYSTEM"),b.addPersonOrSystemBoundary(...h[p]),this.$=h[p];break;case 30:b.addPersonOrSystemBoundary(...h[p]),this.$=h[p];break;case 31:h[p].splice(2,0,"CONTAINER"),b.addContainerBoundary(...h[p]),this.$=h[p];break;case 32:b.addDeploymentNode("node",...h[p]),this.$=h[p];break;case 33:b.addDeploymentNode("nodeL",...h[p]),this.$=h[p];break;case 34:b.addDeploymentNode("nodeR",...h[p]),this.$=h[p];break;case 35:b.popBoundaryParseStack();break;case 39:b.addPersonOrSystem("person",...h[p]),this.$=h[p];break;case 40:b.addPersonOrSystem("external_person",...h[p]),this.$=h[p];break;case 41:b.addPersonOrSystem("system",...h[p]),this.$=h[p];break;case 42:b.addPersonOrSystem("system_db",...h[p]),this.$=h[p];break;case 43:b.addPersonOrSystem("system_queue",...h[p]),this.$=h[p];break;case 44:b.addPersonOrSystem("external_system",...h[p]),this.$=h[p];break;case 45:b.addPersonOrSystem("external_system_db",...h[p]),this.$=h[p];break;case 46:b.addPersonOrSystem("external_system_queue",...h[p]),this.$=h[p];break;case 47:b.addContainer("container",...h[p]),this.$=h[p];break;case 48:b.addContainer("container_db",...h[p]),this.$=h[p];break;case 49:b.addContainer("container_queue",...h[p]),this.$=h[p];break;case 50:b.addContainer("external_container",...h[p]),this.$=h[p];break;case 51:b.addContainer("external_container_db",...h[p]),this.$=h[p];break;case 52:b.addContainer("external_container_queue",...h[p]),this.$=h[p];break;case 53:b.addComponent("component",...h[p]),this.$=h[p];break;case 54:b.addComponent("component_db",...h[p]),this.$=h[p];break;case 55:b.addComponent("component_queue",...h[p]),this.$=h[p];break;case 56:b.addComponent("external_component",...h[p]),this.$=h[p];break;case 57:b.addComponent("external_component_db",...h[p]),this.$=h[p];break;case 58:b.addComponent("external_component_queue",...h[p]),this.$=h[p];break;case 60:b.addRel("rel",...h[p]),this.$=h[p];break;case 61:b.addRel("birel",...h[p]),this.$=h[p];break;case 62:b.addRel("rel_u",...h[p]),this.$=h[p];break;case 63:b.addRel("rel_d",...h[p]),this.$=h[p];break;case 64:b.addRel("rel_l",...h[p]),this.$=h[p];break;case 65:b.addRel("rel_r",...h[p]),this.$=h[p];break;case 66:b.addRel("rel_b",...h[p]),this.$=h[p];break;case 67:h[p].splice(0,1),b.addRel("rel",...h[p]),this.$=h[p];break;case 68:b.updateElStyle("update_el_style",...h[p]),this.$=h[p];break;case 69:b.updateRelStyle("update_rel_style",...h[p]),this.$=h[p];break;case 70:b.updateLayoutConfig("update_layout_config",...h[p]),this.$=h[p];break;case 71:this.$=[h[p]];break;case 72:h[p].unshift(h[p-1]),this.$=h[p];break;case 73:case 75:this.$=h[p].trim();break;case 74:let Et={};Et[h[p-1].trim()]=h[p].trim(),this.$=Et;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:70,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:71,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:72,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:73,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{14:[1,74]},e(Ct,[2,13],{43:23,29:49,30:61,32:62,20:75,34:r,36:n,37:i,38:u,39:d,40:f,41:y,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt}),e(Ct,[2,14]),e(Qt,[2,16],{12:[1,76]}),e(Ct,[2,36],{12:[1,77]}),e(St,[2,19]),e(St,[2,20]),{25:[1,78]},{27:[1,79]},e(St,[2,23]),{35:80,75:81,76:k,77:A,79:C,80:w},{35:86,75:81,76:k,77:A,79:C,80:w},{35:87,75:81,76:k,77:A,79:C,80:w},{35:88,75:81,76:k,77:A,79:C,80:w},{35:89,75:81,76:k,77:A,79:C,80:w},{35:90,75:81,76:k,77:A,79:C,80:w},{35:91,75:81,76:k,77:A,79:C,80:w},{35:92,75:81,76:k,77:A,79:C,80:w},{35:93,75:81,76:k,77:A,79:C,80:w},{35:94,75:81,76:k,77:A,79:C,80:w},{35:95,75:81,76:k,77:A,79:C,80:w},{35:96,75:81,76:k,77:A,79:C,80:w},{35:97,75:81,76:k,77:A,79:C,80:w},{35:98,75:81,76:k,77:A,79:C,80:w},{35:99,75:81,76:k,77:A,79:C,80:w},{35:100,75:81,76:k,77:A,79:C,80:w},{35:101,75:81,76:k,77:A,79:C,80:w},{35:102,75:81,76:k,77:A,79:C,80:w},{35:103,75:81,76:k,77:A,79:C,80:w},{35:104,75:81,76:k,77:A,79:C,80:w},e(T,[2,59]),{35:105,75:81,76:k,77:A,79:C,80:w},{35:106,75:81,76:k,77:A,79:C,80:w},{35:107,75:81,76:k,77:A,79:C,80:w},{35:108,75:81,76:k,77:A,79:C,80:w},{35:109,75:81,76:k,77:A,79:C,80:w},{35:110,75:81,76:k,77:A,79:C,80:w},{35:111,75:81,76:k,77:A,79:C,80:w},{35:112,75:81,76:k,77:A,79:C,80:w},{35:113,75:81,76:k,77:A,79:C,80:w},{35:114,75:81,76:k,77:A,79:C,80:w},{35:115,75:81,76:k,77:A,79:C,80:w},{20:116,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{12:[1,118],33:[1,117]},{35:119,75:81,76:k,77:A,79:C,80:w},{35:120,75:81,76:k,77:A,79:C,80:w},{35:121,75:81,76:k,77:A,79:C,80:w},{35:122,75:81,76:k,77:A,79:C,80:w},{35:123,75:81,76:k,77:A,79:C,80:w},{35:124,75:81,76:k,77:A,79:C,80:w},{35:125,75:81,76:k,77:A,79:C,80:w},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},e(Ct,[2,15]),e(Qt,[2,17],{21:22,19:130,22:t,23:s,24:o,26:l,28:a}),e(Ct,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:t,23:s,24:o,26:l,28:a,34:r,36:n,37:i,38:u,39:d,40:f,41:y,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt}),e(St,[2,21]),e(St,[2,22]),e(T,[2,39]),e(le,[2,71],{75:81,35:132,76:k,77:A,79:C,80:w}),e(Mt,[2,73]),{78:[1,133]},e(Mt,[2,75]),e(Mt,[2,76]),e(T,[2,40]),e(T,[2,41]),e(T,[2,42]),e(T,[2,43]),e(T,[2,44]),e(T,[2,45]),e(T,[2,46]),e(T,[2,47]),e(T,[2,48]),e(T,[2,49]),e(T,[2,50]),e(T,[2,51]),e(T,[2,52]),e(T,[2,53]),e(T,[2,54]),e(T,[2,55]),e(T,[2,56]),e(T,[2,57]),e(T,[2,58]),e(T,[2,60]),e(T,[2,61]),e(T,[2,62]),e(T,[2,63]),e(T,[2,64]),e(T,[2,65]),e(T,[2,66]),e(T,[2,67]),e(T,[2,68]),e(T,[2,69]),e(T,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},e(vt,[2,28]),e(vt,[2,29]),e(vt,[2,30]),e(vt,[2,31]),e(vt,[2,32]),e(vt,[2,33]),e(vt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},e(Qt,[2,18]),e(Ct,[2,38]),e(le,[2,72]),e(Mt,[2,74]),e(T,[2,24]),e(T,[2,35]),e(Ht,[2,25]),e(Ht,[2,26],{12:[1,138]}),e(Ht,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:g(function(x,m){if(m.recoverable)this.trace(x);else{var v=new Error(x);throw v.hash=m,v}},"parseError"),parse:g(function(x){var m=this,v=[0],b=[],R=[null],h=[],Dt=this.table,p="",Et=0,oe=0,we=2,ce=1,Te=h.slice.call(arguments,1),D=Object.create(this.lexer),kt={yy:{}};for(var Gt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Gt)&&(kt.yy[Gt]=this.yy[Gt]);D.setInput(x,kt.yy),kt.yy.lexer=D,kt.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var Kt=D.yylloc;h.push(Kt);var Oe=D.options&&D.options.ranges;typeof kt.yy.parseError=="function"?this.parseError=kt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Re(L){v.length=v.length-2*L,R.length=R.length-L,h.length=h.length-L}g(Re,"popStack");function he(){var L;return L=b.pop()||D.lex()||ce,typeof L!="number"&&(L instanceof Array&&(b=L,L=b.pop()),L=m.symbols_[L]||L),L}g(he,"lex");for(var I,At,N,Jt,wt={},Nt,W,ue,Yt;;){if(At=v[v.length-1],this.defaultActions[At]?N=this.defaultActions[At]:((I===null||typeof I>"u")&&(I=he()),N=Dt[At]&&Dt[At][I]),typeof N>"u"||!N.length||!N[0]){var Zt="";Yt=[];for(Nt in Dt[At])this.terminals_[Nt]&&Nt>we&&Yt.push("'"+this.terminals_[Nt]+"'");D.showPosition?Zt="Parse error on line "+(Et+1)+`: +import{d as Se,g as De}from"./chunk-XVOYOM2C-B52IjuyV.js";import{_ as g,a as Pe,s as Be,g as Ie,b as Me,c as Le,d as Bt,w as Ne,e as $t,f as de,h as Tt,i as ge,j as jt,l as fe,k as Ye,m as je}from"./index-BmyXM-jo.js";var Ft=function(){var e=g(function(_t,x,m,v){for(m=m||{},v=_t.length;v--;m[_t[v]]=x);return m},"o"),t=[1,24],s=[1,25],o=[1,26],l=[1,27],a=[1,28],r=[1,63],n=[1,64],i=[1,65],u=[1,66],d=[1,67],f=[1,68],y=[1,69],E=[1,29],O=[1,30],S=[1,31],P=[1,32],M=[1,33],U=[1,34],H=[1,35],q=[1,36],G=[1,37],K=[1,38],J=[1,39],Z=[1,40],$=[1,41],tt=[1,42],et=[1,43],at=[1,44],it=[1,45],nt=[1,46],rt=[1,47],st=[1,48],lt=[1,50],ot=[1,51],ct=[1,52],ht=[1,53],ut=[1,54],dt=[1,55],ft=[1,56],pt=[1,57],yt=[1,58],gt=[1,59],bt=[1,60],Ct=[14,42],Qt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],St=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],k=[1,82],A=[1,83],C=[1,84],w=[1,85],T=[12,14,42],le=[12,14,33,42],Mt=[12,14,33,42,76,77,79,80],vt=[12,33],Ht=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],qt={trace:g(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:g(function(x,m,v,b,R,h,Dt){var p=h.length-1;switch(R){case 3:b.setDirection("TB");break;case 4:b.setDirection("BT");break;case 5:b.setDirection("RL");break;case 6:b.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:b.setC4Type(h[p-3]);break;case 19:b.setTitle(h[p].substring(6)),this.$=h[p].substring(6);break;case 20:b.setAccDescription(h[p].substring(15)),this.$=h[p].substring(15);break;case 21:this.$=h[p].trim(),b.setTitle(this.$);break;case 22:case 23:this.$=h[p].trim(),b.setAccDescription(this.$);break;case 28:h[p].splice(2,0,"ENTERPRISE"),b.addPersonOrSystemBoundary(...h[p]),this.$=h[p];break;case 29:h[p].splice(2,0,"SYSTEM"),b.addPersonOrSystemBoundary(...h[p]),this.$=h[p];break;case 30:b.addPersonOrSystemBoundary(...h[p]),this.$=h[p];break;case 31:h[p].splice(2,0,"CONTAINER"),b.addContainerBoundary(...h[p]),this.$=h[p];break;case 32:b.addDeploymentNode("node",...h[p]),this.$=h[p];break;case 33:b.addDeploymentNode("nodeL",...h[p]),this.$=h[p];break;case 34:b.addDeploymentNode("nodeR",...h[p]),this.$=h[p];break;case 35:b.popBoundaryParseStack();break;case 39:b.addPersonOrSystem("person",...h[p]),this.$=h[p];break;case 40:b.addPersonOrSystem("external_person",...h[p]),this.$=h[p];break;case 41:b.addPersonOrSystem("system",...h[p]),this.$=h[p];break;case 42:b.addPersonOrSystem("system_db",...h[p]),this.$=h[p];break;case 43:b.addPersonOrSystem("system_queue",...h[p]),this.$=h[p];break;case 44:b.addPersonOrSystem("external_system",...h[p]),this.$=h[p];break;case 45:b.addPersonOrSystem("external_system_db",...h[p]),this.$=h[p];break;case 46:b.addPersonOrSystem("external_system_queue",...h[p]),this.$=h[p];break;case 47:b.addContainer("container",...h[p]),this.$=h[p];break;case 48:b.addContainer("container_db",...h[p]),this.$=h[p];break;case 49:b.addContainer("container_queue",...h[p]),this.$=h[p];break;case 50:b.addContainer("external_container",...h[p]),this.$=h[p];break;case 51:b.addContainer("external_container_db",...h[p]),this.$=h[p];break;case 52:b.addContainer("external_container_queue",...h[p]),this.$=h[p];break;case 53:b.addComponent("component",...h[p]),this.$=h[p];break;case 54:b.addComponent("component_db",...h[p]),this.$=h[p];break;case 55:b.addComponent("component_queue",...h[p]),this.$=h[p];break;case 56:b.addComponent("external_component",...h[p]),this.$=h[p];break;case 57:b.addComponent("external_component_db",...h[p]),this.$=h[p];break;case 58:b.addComponent("external_component_queue",...h[p]),this.$=h[p];break;case 60:b.addRel("rel",...h[p]),this.$=h[p];break;case 61:b.addRel("birel",...h[p]),this.$=h[p];break;case 62:b.addRel("rel_u",...h[p]),this.$=h[p];break;case 63:b.addRel("rel_d",...h[p]),this.$=h[p];break;case 64:b.addRel("rel_l",...h[p]),this.$=h[p];break;case 65:b.addRel("rel_r",...h[p]),this.$=h[p];break;case 66:b.addRel("rel_b",...h[p]),this.$=h[p];break;case 67:h[p].splice(0,1),b.addRel("rel",...h[p]),this.$=h[p];break;case 68:b.updateElStyle("update_el_style",...h[p]),this.$=h[p];break;case 69:b.updateRelStyle("update_rel_style",...h[p]),this.$=h[p];break;case 70:b.updateLayoutConfig("update_layout_config",...h[p]),this.$=h[p];break;case 71:this.$=[h[p]];break;case 72:h[p].unshift(h[p-1]),this.$=h[p];break;case 73:case 75:this.$=h[p].trim();break;case 74:let Et={};Et[h[p-1].trim()]=h[p].trim(),this.$=Et;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:70,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:71,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:72,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:73,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{14:[1,74]},e(Ct,[2,13],{43:23,29:49,30:61,32:62,20:75,34:r,36:n,37:i,38:u,39:d,40:f,41:y,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt}),e(Ct,[2,14]),e(Qt,[2,16],{12:[1,76]}),e(Ct,[2,36],{12:[1,77]}),e(St,[2,19]),e(St,[2,20]),{25:[1,78]},{27:[1,79]},e(St,[2,23]),{35:80,75:81,76:k,77:A,79:C,80:w},{35:86,75:81,76:k,77:A,79:C,80:w},{35:87,75:81,76:k,77:A,79:C,80:w},{35:88,75:81,76:k,77:A,79:C,80:w},{35:89,75:81,76:k,77:A,79:C,80:w},{35:90,75:81,76:k,77:A,79:C,80:w},{35:91,75:81,76:k,77:A,79:C,80:w},{35:92,75:81,76:k,77:A,79:C,80:w},{35:93,75:81,76:k,77:A,79:C,80:w},{35:94,75:81,76:k,77:A,79:C,80:w},{35:95,75:81,76:k,77:A,79:C,80:w},{35:96,75:81,76:k,77:A,79:C,80:w},{35:97,75:81,76:k,77:A,79:C,80:w},{35:98,75:81,76:k,77:A,79:C,80:w},{35:99,75:81,76:k,77:A,79:C,80:w},{35:100,75:81,76:k,77:A,79:C,80:w},{35:101,75:81,76:k,77:A,79:C,80:w},{35:102,75:81,76:k,77:A,79:C,80:w},{35:103,75:81,76:k,77:A,79:C,80:w},{35:104,75:81,76:k,77:A,79:C,80:w},e(T,[2,59]),{35:105,75:81,76:k,77:A,79:C,80:w},{35:106,75:81,76:k,77:A,79:C,80:w},{35:107,75:81,76:k,77:A,79:C,80:w},{35:108,75:81,76:k,77:A,79:C,80:w},{35:109,75:81,76:k,77:A,79:C,80:w},{35:110,75:81,76:k,77:A,79:C,80:w},{35:111,75:81,76:k,77:A,79:C,80:w},{35:112,75:81,76:k,77:A,79:C,80:w},{35:113,75:81,76:k,77:A,79:C,80:w},{35:114,75:81,76:k,77:A,79:C,80:w},{35:115,75:81,76:k,77:A,79:C,80:w},{20:116,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{12:[1,118],33:[1,117]},{35:119,75:81,76:k,77:A,79:C,80:w},{35:120,75:81,76:k,77:A,79:C,80:w},{35:121,75:81,76:k,77:A,79:C,80:w},{35:122,75:81,76:k,77:A,79:C,80:w},{35:123,75:81,76:k,77:A,79:C,80:w},{35:124,75:81,76:k,77:A,79:C,80:w},{35:125,75:81,76:k,77:A,79:C,80:w},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},e(Ct,[2,15]),e(Qt,[2,17],{21:22,19:130,22:t,23:s,24:o,26:l,28:a}),e(Ct,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:t,23:s,24:o,26:l,28:a,34:r,36:n,37:i,38:u,39:d,40:f,41:y,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt}),e(St,[2,21]),e(St,[2,22]),e(T,[2,39]),e(le,[2,71],{75:81,35:132,76:k,77:A,79:C,80:w}),e(Mt,[2,73]),{78:[1,133]},e(Mt,[2,75]),e(Mt,[2,76]),e(T,[2,40]),e(T,[2,41]),e(T,[2,42]),e(T,[2,43]),e(T,[2,44]),e(T,[2,45]),e(T,[2,46]),e(T,[2,47]),e(T,[2,48]),e(T,[2,49]),e(T,[2,50]),e(T,[2,51]),e(T,[2,52]),e(T,[2,53]),e(T,[2,54]),e(T,[2,55]),e(T,[2,56]),e(T,[2,57]),e(T,[2,58]),e(T,[2,60]),e(T,[2,61]),e(T,[2,62]),e(T,[2,63]),e(T,[2,64]),e(T,[2,65]),e(T,[2,66]),e(T,[2,67]),e(T,[2,68]),e(T,[2,69]),e(T,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},e(vt,[2,28]),e(vt,[2,29]),e(vt,[2,30]),e(vt,[2,31]),e(vt,[2,32]),e(vt,[2,33]),e(vt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},e(Qt,[2,18]),e(Ct,[2,38]),e(le,[2,72]),e(Mt,[2,74]),e(T,[2,24]),e(T,[2,35]),e(Ht,[2,25]),e(Ht,[2,26],{12:[1,138]}),e(Ht,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:g(function(x,m){if(m.recoverable)this.trace(x);else{var v=new Error(x);throw v.hash=m,v}},"parseError"),parse:g(function(x){var m=this,v=[0],b=[],R=[null],h=[],Dt=this.table,p="",Et=0,oe=0,we=2,ce=1,Te=h.slice.call(arguments,1),D=Object.create(this.lexer),kt={yy:{}};for(var Gt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Gt)&&(kt.yy[Gt]=this.yy[Gt]);D.setInput(x,kt.yy),kt.yy.lexer=D,kt.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var Kt=D.yylloc;h.push(Kt);var Oe=D.options&&D.options.ranges;typeof kt.yy.parseError=="function"?this.parseError=kt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Re(L){v.length=v.length-2*L,R.length=R.length-L,h.length=h.length-L}g(Re,"popStack");function he(){var L;return L=b.pop()||D.lex()||ce,typeof L!="number"&&(L instanceof Array&&(b=L,L=b.pop()),L=m.symbols_[L]||L),L}g(he,"lex");for(var I,At,N,Jt,wt={},Nt,W,ue,Yt;;){if(At=v[v.length-1],this.defaultActions[At]?N=this.defaultActions[At]:((I===null||typeof I>"u")&&(I=he()),N=Dt[At]&&Dt[At][I]),typeof N>"u"||!N.length||!N[0]){var Zt="";Yt=[];for(Nt in Dt[At])this.terminals_[Nt]&&Nt>we&&Yt.push("'"+this.terminals_[Nt]+"'");D.showPosition?Zt="Parse error on line "+(Et+1)+`: `+D.showPosition()+` Expecting `+Yt.join(", ")+", got '"+(this.terminals_[I]||I)+"'":Zt="Parse error on line "+(Et+1)+": Unexpected "+(I==ce?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(Zt,{text:D.match,token:this.terminals_[I]||I,line:D.yylineno,loc:Kt,expected:Yt})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+At+", token: "+I);switch(N[0]){case 1:v.push(I),R.push(D.yytext),h.push(D.yylloc),v.push(N[1]),I=null,oe=D.yyleng,p=D.yytext,Et=D.yylineno,Kt=D.yylloc;break;case 2:if(W=this.productions_[N[1]][1],wt.$=R[R.length-W],wt._$={first_line:h[h.length-(W||1)].first_line,last_line:h[h.length-1].last_line,first_column:h[h.length-(W||1)].first_column,last_column:h[h.length-1].last_column},Oe&&(wt._$.range=[h[h.length-(W||1)].range[0],h[h.length-1].range[1]]),Jt=this.performAction.apply(wt,[p,oe,Et,kt.yy,N[1],R,h].concat(Te)),typeof Jt<"u")return Jt;W&&(v=v.slice(0,-1*W*2),R=R.slice(0,-1*W),h=h.slice(0,-1*W)),v.push(this.productions_[N[1]][0]),R.push(wt.$),h.push(wt._$),ue=Dt[v[v.length-2]][v[v.length-1]],v.push(ue);break;case 3:return!0}}return!0},"parse")},Ce=function(){var _t={EOF:1,parseError:g(function(m,v){if(this.yy.parser)this.yy.parser.parseError(m,v);else throw new Error(m)},"parseError"),setInput:g(function(x,m){return this.yy=m||this.yy||{},this._input=x,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:g(function(){var x=this._input[0];this.yytext+=x,this.yyleng++,this.offset++,this.match+=x,this.matched+=x;var m=x.match(/(?:\r\n?|\n).*/g);return m?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),x},"input"),unput:g(function(x){var m=x.length,v=x.split(/(?:\r\n?|\n)/g);this._input=x+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-m),this.offset-=m;var b=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),v.length-1&&(this.yylineno-=v.length-1);var R=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:v?(v.length===b.length?this.yylloc.first_column:0)+b[b.length-v.length].length-v[0].length:this.yylloc.first_column-m},this.options.ranges&&(this.yylloc.range=[R[0],R[0]+this.yyleng-m]),this.yyleng=this.yytext.length,this},"unput"),more:g(function(){return this._more=!0,this},"more"),reject:g(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:g(function(x){this.unput(this.match.slice(x))},"less"),pastInput:g(function(){var x=this.matched.substr(0,this.matched.length-this.match.length);return(x.length>20?"...":"")+x.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:g(function(){var x=this.match;return x.length<20&&(x+=this._input.substr(0,20-x.length)),(x.substr(0,20)+(x.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:g(function(){var x=this.pastInput(),m=new Array(x.length+1).join("-");return x+this.upcomingInput()+` diff --git a/assets/channel-C3SqRiWs.js b/assets/channel-C3SqRiWs.js new file mode 100644 index 0000000..4361e31 --- /dev/null +++ b/assets/channel-C3SqRiWs.js @@ -0,0 +1 @@ +import{ai as o,aj as n}from"./index-BmyXM-jo.js";const t=(a,r)=>o.lang.round(n.parse(a)[r]);export{t as c}; diff --git a/assets/channel-q1VHAzml.js b/assets/channel-q1VHAzml.js deleted file mode 100644 index 849b539..0000000 --- a/assets/channel-q1VHAzml.js +++ /dev/null @@ -1 +0,0 @@ -import{ai as o,aj as n}from"./index-DqL3MUN2.js";const t=(a,r)=>o.lang.round(n.parse(a)[r]);export{t as c}; diff --git a/assets/chunk-2JBRQKJ5-ClymeFnE.js b/assets/chunk-2JBRQKJ5-DY0slxRe.js similarity index 99% rename from assets/chunk-2JBRQKJ5-ClymeFnE.js rename to assets/chunk-2JBRQKJ5-DY0slxRe.js index eeb96d8..a3d55fe 100644 --- a/assets/chunk-2JBRQKJ5-ClymeFnE.js +++ b/assets/chunk-2JBRQKJ5-DY0slxRe.js @@ -1,4 +1,4 @@ -import{g as De,s as Ce}from"./chunk-DUMQOTYW-BNJNkKaQ.js";import{_ as r,e as H,d as x,g as xe,s as Ae,b as Le,c as Ie,p as Re,q as Oe,l as b,x as Ne,u as we,r as $e,V as Pe}from"./index-DqL3MUN2.js";var Ot=function(){var t=r(function($,o,u,n){for(u=u||{},n=$.length;n--;u[$[n]]=o);return u},"o"),e=[1,2],c=[1,3],a=[1,4],d=[2,4],s=[1,9],p=[1,11],g=[1,16],l=[1,17],_=[1,18],v=[1,19],A=[1,32],B=[1,20],Y=[1,21],I=[1,22],f=[1,23],L=[1,24],R=[1,26],F=[1,27],V=[1,28],N=[1,29],w=[1,30],rt=[1,31],at=[1,34],nt=[1,35],lt=[1,36],ot=[1,37],J=[1,33],S=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],ct=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],Vt=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],kt={trace:r(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,classDef:38,CLASSDEF_ID:39,CLASSDEF_STYLEOPTS:40,DEFAULT:41,style:42,STYLE_IDS:43,STYLEDEF_STYLEOPTS:44,class:45,CLASSENTITY_IDS:46,STYLECLASS:47,direction_tb:48,direction_bt:49,direction_rl:50,direction_lr:51,eol:52,";":53,EDGE_STATE:54,STYLE_SEPARATOR:55,left_of:56,right_of:57,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"classDef",39:"CLASSDEF_ID",40:"CLASSDEF_STYLEOPTS",41:"DEFAULT",42:"style",43:"STYLE_IDS",44:"STYLEDEF_STYLEOPTS",45:"class",46:"CLASSENTITY_IDS",47:"STYLECLASS",48:"direction_tb",49:"direction_bt",50:"direction_rl",51:"direction_lr",53:";",54:"EDGE_STATE",55:"STYLE_SEPARATOR",56:"left_of",57:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[52,1],[52,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:r(function(o,u,n,y,T,i,q){var h=i.length-1;switch(T){case 3:return y.setRootDoc(i[h]),i[h];case 4:this.$=[];break;case 5:i[h]!="nl"&&(i[h-1].push(i[h]),this.$=i[h-1]);break;case 6:case 7:this.$=i[h];break;case 8:this.$="nl";break;case 12:this.$=i[h];break;case 13:const Q=i[h-1];Q.description=y.trimColon(i[h]),this.$=Q;break;case 14:this.$={stmt:"relation",state1:i[h-2],state2:i[h]};break;case 15:const Dt=y.trimColon(i[h]);this.$={stmt:"relation",state1:i[h-3],state2:i[h-1],description:Dt};break;case 19:this.$={stmt:"state",id:i[h-3],type:"default",description:"",doc:i[h-1]};break;case 20:var M=i[h],W=i[h-2].trim();if(i[h].match(":")){var ht=i[h].split(":");M=ht[0],W=[W,ht[1]]}this.$={stmt:"state",id:M,type:"default",description:W};break;case 21:this.$={stmt:"state",id:i[h-3],type:"default",description:i[h-5],doc:i[h-1]};break;case 22:this.$={stmt:"state",id:i[h],type:"fork"};break;case 23:this.$={stmt:"state",id:i[h],type:"join"};break;case 24:this.$={stmt:"state",id:i[h],type:"choice"};break;case 25:this.$={stmt:"state",id:y.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:i[h-1].trim(),note:{position:i[h-2].trim(),text:i[h].trim()}};break;case 29:this.$=i[h].trim(),y.setAccTitle(this.$);break;case 30:case 31:this.$=i[h].trim(),y.setAccDescription(this.$);break;case 32:case 33:this.$={stmt:"classDef",id:i[h-1].trim(),classes:i[h].trim()};break;case 34:this.$={stmt:"style",id:i[h-1].trim(),styleClass:i[h].trim()};break;case 35:this.$={stmt:"applyClass",id:i[h-1].trim(),styleClass:i[h].trim()};break;case 36:y.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 37:y.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 38:y.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 39:y.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 42:case 43:this.$={stmt:"state",id:i[h].trim(),type:"default",description:""};break;case 44:this.$={stmt:"state",id:i[h-2].trim(),classes:[i[h].trim()],type:"default",description:""};break;case 45:this.$={stmt:"state",id:i[h-2].trim(),classes:[i[h].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:e,5:c,6:a},{1:[3]},{3:5,4:e,5:c,6:a},{3:6,4:e,5:c,6:a},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],d,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:s,5:p,8:8,9:10,10:12,11:13,12:14,13:15,16:g,17:l,19:_,22:v,24:A,25:B,26:Y,27:I,28:f,29:L,32:25,33:R,35:F,37:V,38:N,42:w,45:rt,48:at,49:nt,50:lt,51:ot,54:J},t(S,[2,5]),{9:38,10:12,11:13,12:14,13:15,16:g,17:l,19:_,22:v,24:A,25:B,26:Y,27:I,28:f,29:L,32:25,33:R,35:F,37:V,38:N,42:w,45:rt,48:at,49:nt,50:lt,51:ot,54:J},t(S,[2,7]),t(S,[2,8]),t(S,[2,9]),t(S,[2,10]),t(S,[2,11]),t(S,[2,12],{14:[1,39],15:[1,40]}),t(S,[2,16]),{18:[1,41]},t(S,[2,18],{20:[1,42]}),{23:[1,43]},t(S,[2,22]),t(S,[2,23]),t(S,[2,24]),t(S,[2,25]),{30:44,31:[1,45],56:[1,46],57:[1,47]},t(S,[2,28]),{34:[1,48]},{36:[1,49]},t(S,[2,31]),{39:[1,50],41:[1,51]},{43:[1,52]},{46:[1,53]},t(ct,[2,42],{55:[1,54]}),t(ct,[2,43],{55:[1,55]}),t(S,[2,36]),t(S,[2,37]),t(S,[2,38]),t(S,[2,39]),t(S,[2,6]),t(S,[2,13]),{13:56,24:A,54:J},t(S,[2,17]),t(Vt,d,{7:57}),{24:[1,58]},{24:[1,59]},{23:[1,60]},{24:[2,46]},{24:[2,47]},t(S,[2,29]),t(S,[2,30]),{40:[1,61]},{40:[1,62]},{44:[1,63]},{47:[1,64]},{24:[1,65]},{24:[1,66]},t(S,[2,14],{14:[1,67]}),{4:s,5:p,8:8,9:10,10:12,11:13,12:14,13:15,16:g,17:l,19:_,21:[1,68],22:v,24:A,25:B,26:Y,27:I,28:f,29:L,32:25,33:R,35:F,37:V,38:N,42:w,45:rt,48:at,49:nt,50:lt,51:ot,54:J},t(S,[2,20],{20:[1,69]}),{31:[1,70]},{24:[1,71]},t(S,[2,32]),t(S,[2,33]),t(S,[2,34]),t(S,[2,35]),t(ct,[2,44]),t(ct,[2,45]),t(S,[2,15]),t(S,[2,19]),t(Vt,d,{7:72}),t(S,[2,26]),t(S,[2,27]),{4:s,5:p,8:8,9:10,10:12,11:13,12:14,13:15,16:g,17:l,19:_,21:[1,73],22:v,24:A,25:B,26:Y,27:I,28:f,29:L,32:25,33:R,35:F,37:V,38:N,42:w,45:rt,48:at,49:nt,50:lt,51:ot,54:J},t(S,[2,21])],defaultActions:{5:[2,1],6:[2,2],46:[2,46],47:[2,47]},parseError:r(function(o,u){if(u.recoverable)this.trace(o);else{var n=new Error(o);throw n.hash=u,n}},"parseError"),parse:r(function(o){var u=this,n=[0],y=[],T=[null],i=[],q=this.table,h="",M=0,W=0,ht=2,Q=1,Dt=i.slice.call(arguments,1),E=Object.create(this.lexer),U={yy:{}};for(var Ct in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ct)&&(U.yy[Ct]=this.yy[Ct]);E.setInput(o,U.yy),U.yy.lexer=E,U.yy.parser=this,typeof E.yylloc>"u"&&(E.yylloc={});var xt=E.yylloc;i.push(xt);var me=E.options&&E.options.ranges;typeof U.yy.parseError=="function"?this.parseError=U.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ke(D){n.length=n.length-2*D,T.length=T.length-D,i.length=i.length-D}r(ke,"popStack");function Mt(){var D;return D=y.pop()||E.lex()||Q,typeof D!="number"&&(D instanceof Array&&(y=D,D=y.pop()),D=u.symbols_[D]||D),D}r(Mt,"lex");for(var m,j,C,At,X={},dt,O,Ut,ft;;){if(j=n[n.length-1],this.defaultActions[j]?C=this.defaultActions[j]:((m===null||typeof m>"u")&&(m=Mt()),C=q[j]&&q[j][m]),typeof C>"u"||!C.length||!C[0]){var Lt="";ft=[];for(dt in q[j])this.terminals_[dt]&&dt>ht&&ft.push("'"+this.terminals_[dt]+"'");E.showPosition?Lt="Parse error on line "+(M+1)+`: +import{g as De,s as Ce}from"./chunk-DUMQOTYW-DrDMarzi.js";import{_ as r,e as H,d as x,g as xe,s as Ae,b as Le,c as Ie,p as Re,q as Oe,l as b,x as Ne,u as we,r as $e,V as Pe}from"./index-BmyXM-jo.js";var Ot=function(){var t=r(function($,o,u,n){for(u=u||{},n=$.length;n--;u[$[n]]=o);return u},"o"),e=[1,2],c=[1,3],a=[1,4],d=[2,4],s=[1,9],p=[1,11],g=[1,16],l=[1,17],_=[1,18],v=[1,19],A=[1,32],B=[1,20],Y=[1,21],I=[1,22],f=[1,23],L=[1,24],R=[1,26],F=[1,27],V=[1,28],N=[1,29],w=[1,30],rt=[1,31],at=[1,34],nt=[1,35],lt=[1,36],ot=[1,37],J=[1,33],S=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],ct=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],Vt=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],kt={trace:r(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,classDef:38,CLASSDEF_ID:39,CLASSDEF_STYLEOPTS:40,DEFAULT:41,style:42,STYLE_IDS:43,STYLEDEF_STYLEOPTS:44,class:45,CLASSENTITY_IDS:46,STYLECLASS:47,direction_tb:48,direction_bt:49,direction_rl:50,direction_lr:51,eol:52,";":53,EDGE_STATE:54,STYLE_SEPARATOR:55,left_of:56,right_of:57,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"classDef",39:"CLASSDEF_ID",40:"CLASSDEF_STYLEOPTS",41:"DEFAULT",42:"style",43:"STYLE_IDS",44:"STYLEDEF_STYLEOPTS",45:"class",46:"CLASSENTITY_IDS",47:"STYLECLASS",48:"direction_tb",49:"direction_bt",50:"direction_rl",51:"direction_lr",53:";",54:"EDGE_STATE",55:"STYLE_SEPARATOR",56:"left_of",57:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[52,1],[52,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:r(function(o,u,n,y,T,i,q){var h=i.length-1;switch(T){case 3:return y.setRootDoc(i[h]),i[h];case 4:this.$=[];break;case 5:i[h]!="nl"&&(i[h-1].push(i[h]),this.$=i[h-1]);break;case 6:case 7:this.$=i[h];break;case 8:this.$="nl";break;case 12:this.$=i[h];break;case 13:const Q=i[h-1];Q.description=y.trimColon(i[h]),this.$=Q;break;case 14:this.$={stmt:"relation",state1:i[h-2],state2:i[h]};break;case 15:const Dt=y.trimColon(i[h]);this.$={stmt:"relation",state1:i[h-3],state2:i[h-1],description:Dt};break;case 19:this.$={stmt:"state",id:i[h-3],type:"default",description:"",doc:i[h-1]};break;case 20:var M=i[h],W=i[h-2].trim();if(i[h].match(":")){var ht=i[h].split(":");M=ht[0],W=[W,ht[1]]}this.$={stmt:"state",id:M,type:"default",description:W};break;case 21:this.$={stmt:"state",id:i[h-3],type:"default",description:i[h-5],doc:i[h-1]};break;case 22:this.$={stmt:"state",id:i[h],type:"fork"};break;case 23:this.$={stmt:"state",id:i[h],type:"join"};break;case 24:this.$={stmt:"state",id:i[h],type:"choice"};break;case 25:this.$={stmt:"state",id:y.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:i[h-1].trim(),note:{position:i[h-2].trim(),text:i[h].trim()}};break;case 29:this.$=i[h].trim(),y.setAccTitle(this.$);break;case 30:case 31:this.$=i[h].trim(),y.setAccDescription(this.$);break;case 32:case 33:this.$={stmt:"classDef",id:i[h-1].trim(),classes:i[h].trim()};break;case 34:this.$={stmt:"style",id:i[h-1].trim(),styleClass:i[h].trim()};break;case 35:this.$={stmt:"applyClass",id:i[h-1].trim(),styleClass:i[h].trim()};break;case 36:y.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 37:y.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 38:y.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 39:y.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 42:case 43:this.$={stmt:"state",id:i[h].trim(),type:"default",description:""};break;case 44:this.$={stmt:"state",id:i[h-2].trim(),classes:[i[h].trim()],type:"default",description:""};break;case 45:this.$={stmt:"state",id:i[h-2].trim(),classes:[i[h].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:e,5:c,6:a},{1:[3]},{3:5,4:e,5:c,6:a},{3:6,4:e,5:c,6:a},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],d,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:s,5:p,8:8,9:10,10:12,11:13,12:14,13:15,16:g,17:l,19:_,22:v,24:A,25:B,26:Y,27:I,28:f,29:L,32:25,33:R,35:F,37:V,38:N,42:w,45:rt,48:at,49:nt,50:lt,51:ot,54:J},t(S,[2,5]),{9:38,10:12,11:13,12:14,13:15,16:g,17:l,19:_,22:v,24:A,25:B,26:Y,27:I,28:f,29:L,32:25,33:R,35:F,37:V,38:N,42:w,45:rt,48:at,49:nt,50:lt,51:ot,54:J},t(S,[2,7]),t(S,[2,8]),t(S,[2,9]),t(S,[2,10]),t(S,[2,11]),t(S,[2,12],{14:[1,39],15:[1,40]}),t(S,[2,16]),{18:[1,41]},t(S,[2,18],{20:[1,42]}),{23:[1,43]},t(S,[2,22]),t(S,[2,23]),t(S,[2,24]),t(S,[2,25]),{30:44,31:[1,45],56:[1,46],57:[1,47]},t(S,[2,28]),{34:[1,48]},{36:[1,49]},t(S,[2,31]),{39:[1,50],41:[1,51]},{43:[1,52]},{46:[1,53]},t(ct,[2,42],{55:[1,54]}),t(ct,[2,43],{55:[1,55]}),t(S,[2,36]),t(S,[2,37]),t(S,[2,38]),t(S,[2,39]),t(S,[2,6]),t(S,[2,13]),{13:56,24:A,54:J},t(S,[2,17]),t(Vt,d,{7:57}),{24:[1,58]},{24:[1,59]},{23:[1,60]},{24:[2,46]},{24:[2,47]},t(S,[2,29]),t(S,[2,30]),{40:[1,61]},{40:[1,62]},{44:[1,63]},{47:[1,64]},{24:[1,65]},{24:[1,66]},t(S,[2,14],{14:[1,67]}),{4:s,5:p,8:8,9:10,10:12,11:13,12:14,13:15,16:g,17:l,19:_,21:[1,68],22:v,24:A,25:B,26:Y,27:I,28:f,29:L,32:25,33:R,35:F,37:V,38:N,42:w,45:rt,48:at,49:nt,50:lt,51:ot,54:J},t(S,[2,20],{20:[1,69]}),{31:[1,70]},{24:[1,71]},t(S,[2,32]),t(S,[2,33]),t(S,[2,34]),t(S,[2,35]),t(ct,[2,44]),t(ct,[2,45]),t(S,[2,15]),t(S,[2,19]),t(Vt,d,{7:72}),t(S,[2,26]),t(S,[2,27]),{4:s,5:p,8:8,9:10,10:12,11:13,12:14,13:15,16:g,17:l,19:_,21:[1,73],22:v,24:A,25:B,26:Y,27:I,28:f,29:L,32:25,33:R,35:F,37:V,38:N,42:w,45:rt,48:at,49:nt,50:lt,51:ot,54:J},t(S,[2,21])],defaultActions:{5:[2,1],6:[2,2],46:[2,46],47:[2,47]},parseError:r(function(o,u){if(u.recoverable)this.trace(o);else{var n=new Error(o);throw n.hash=u,n}},"parseError"),parse:r(function(o){var u=this,n=[0],y=[],T=[null],i=[],q=this.table,h="",M=0,W=0,ht=2,Q=1,Dt=i.slice.call(arguments,1),E=Object.create(this.lexer),U={yy:{}};for(var Ct in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ct)&&(U.yy[Ct]=this.yy[Ct]);E.setInput(o,U.yy),U.yy.lexer=E,U.yy.parser=this,typeof E.yylloc>"u"&&(E.yylloc={});var xt=E.yylloc;i.push(xt);var me=E.options&&E.options.ranges;typeof U.yy.parseError=="function"?this.parseError=U.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ke(D){n.length=n.length-2*D,T.length=T.length-D,i.length=i.length-D}r(ke,"popStack");function Mt(){var D;return D=y.pop()||E.lex()||Q,typeof D!="number"&&(D instanceof Array&&(y=D,D=y.pop()),D=u.symbols_[D]||D),D}r(Mt,"lex");for(var m,j,C,At,X={},dt,O,Ut,ft;;){if(j=n[n.length-1],this.defaultActions[j]?C=this.defaultActions[j]:((m===null||typeof m>"u")&&(m=Mt()),C=q[j]&&q[j][m]),typeof C>"u"||!C.length||!C[0]){var Lt="";ft=[];for(dt in q[j])this.terminals_[dt]&&dt>ht&&ft.push("'"+this.terminals_[dt]+"'");E.showPosition?Lt="Parse error on line "+(M+1)+`: `+E.showPosition()+` Expecting `+ft.join(", ")+", got '"+(this.terminals_[m]||m)+"'":Lt="Parse error on line "+(M+1)+": Unexpected "+(m==Q?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(Lt,{text:E.match,token:this.terminals_[m]||m,line:E.yylineno,loc:xt,expected:ft})}if(C[0]instanceof Array&&C.length>1)throw new Error("Parse Error: multiple actions possible at state: "+j+", token: "+m);switch(C[0]){case 1:n.push(m),T.push(E.yytext),i.push(E.yylloc),n.push(C[1]),m=null,W=E.yyleng,h=E.yytext,M=E.yylineno,xt=E.yylloc;break;case 2:if(O=this.productions_[C[1]][1],X.$=T[T.length-O],X._$={first_line:i[i.length-(O||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(O||1)].first_column,last_column:i[i.length-1].last_column},me&&(X._$.range=[i[i.length-(O||1)].range[0],i[i.length-1].range[1]]),At=this.performAction.apply(X,[h,W,M,U.yy,C[1],T,i].concat(Dt)),typeof At<"u")return At;O&&(n=n.slice(0,-1*O*2),T=T.slice(0,-1*O),i=i.slice(0,-1*O)),n.push(this.productions_[C[1]][0]),T.push(X.$),i.push(X._$),Ut=q[n[n.length-2]][n[n.length-1]],n.push(Ut);break;case 3:return!0}}return!0},"parse")},be=function(){var $={EOF:1,parseError:r(function(u,n){if(this.yy.parser)this.yy.parser.parseError(u,n);else throw new Error(u)},"parseError"),setInput:r(function(o,u){return this.yy=u||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:r(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var u=o.match(/(?:\r\n?|\n).*/g);return u?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},"input"),unput:r(function(o){var u=o.length,n=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;var y=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var T=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===y.length?this.yylloc.first_column:0)+y[y.length-n.length].length-n[0].length:this.yylloc.first_column-u},this.options.ranges&&(this.yylloc.range=[T[0],T[0]+this.yyleng-u]),this.yyleng=this.yytext.length,this},"unput"),more:r(function(){return this._more=!0,this},"more"),reject:r(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:r(function(o){this.unput(this.match.slice(o))},"less"),pastInput:r(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:r(function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:r(function(){var o=this.pastInput(),u=new Array(o.length+1).join("-");return o+this.upcomingInput()+` diff --git a/assets/chunk-2RYQ3QTB-DZRNnxEy.js b/assets/chunk-2RYQ3QTB-BNTIwrOE.js similarity index 65% rename from assets/chunk-2RYQ3QTB-DZRNnxEy.js rename to assets/chunk-2RYQ3QTB-BNTIwrOE.js index 7aeff3b..56c942e 100644 --- a/assets/chunk-2RYQ3QTB-DZRNnxEy.js +++ b/assets/chunk-2RYQ3QTB-BNTIwrOE.js @@ -1 +1 @@ -import{_ as s}from"./index-DqL3MUN2.js";var t,e=(t=class{constructor(i){this.init=i,this.records=this.init()}reset(){this.records=this.init()}},s(t,"ImperativeState"),t);export{e as I}; +import{_ as s}from"./index-BmyXM-jo.js";var t,e=(t=class{constructor(i){this.init=i,this.records=this.init()}reset(){this.records=this.init()}},s(t,"ImperativeState"),t);export{e as I}; diff --git a/assets/chunk-BAVOGKFW-jpI8a8Z5.js b/assets/chunk-BAVOGKFW-Bm2jdtC8.js similarity index 99% rename from assets/chunk-BAVOGKFW-jpI8a8Z5.js rename to assets/chunk-BAVOGKFW-Bm2jdtC8.js index b107ef3..bd7d12b 100644 --- a/assets/chunk-BAVOGKFW-jpI8a8Z5.js +++ b/assets/chunk-BAVOGKFW-Bm2jdtC8.js @@ -1,4 +1,4 @@ -import{_ as n,i as lt,d as D,N as Ve,s as ct,g as ot,b as ht,c as At,p as pt,q as ft,e as x,r as dt,l as Ct,u as $e,j as Y}from"./index-DqL3MUN2.js";var Pe=function(){var e=n(function(O,a,l,A){for(l=l||{},A=O.length;A--;l[O[A]]=a);return l},"o"),i=[1,17],r=[1,18],h=[1,19],c=[1,39],f=[1,40],d=[1,25],B=[1,23],S=[1,24],N=[1,31],Ee=[1,32],ge=[1,33],me=[1,34],be=[1,35],ke=[1,36],Te=[1,26],ye=[1,27],Fe=[1,28],De=[1,29],E=[1,43],_e=[1,30],g=[1,42],m=[1,44],b=[1,41],T=[1,45],Be=[1,9],o=[1,8,9],Q=[1,56],X=[1,57],W=[1,58],q=[1,59],H=[1,60],Se=[1,61],ve=[1,62],J=[1,8,9,39],Ke=[1,74],U=[1,8,9,12,13,21,37,39,42,59,60,61,62,63,64,65,70,72],Z=[1,8,9,12,13,19,21,37,39,42,46,59,60,61,62,63,64,65,70,72,74,80,95,97,98],$=[13,74,80,95,97,98],z=[13,64,65,74,80,95,97,98],Ye=[13,59,60,61,62,63,74,80,95,97,98],Ne=[1,93],ee=[1,110],te=[1,108],se=[1,102],ie=[1,103],ue=[1,104],ne=[1,105],ae=[1,106],re=[1,107],le=[1,109],Le=[1,8,9,37,39,42],ce=[1,8,9,21],je=[1,8,9,78],v=[1,8,9,21,73,74,78,80,81,82,83,84,85],xe={trace:n(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,className:17,classLiteralName:18,GENERICTYPE:19,relationStatement:20,LABEL:21,namespaceStatement:22,classStatement:23,memberStatement:24,annotationStatement:25,clickStatement:26,styleStatement:27,cssClassStatement:28,noteStatement:29,direction:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,namespaceIdentifier:36,STRUCT_START:37,classStatements:38,STRUCT_STOP:39,NAMESPACE:40,classIdentifier:41,STYLE_SEPARATOR:42,members:43,CLASS:44,ANNOTATION_START:45,ANNOTATION_END:46,MEMBER:47,SEPARATOR:48,relation:49,NOTE_FOR:50,noteText:51,NOTE:52,direction_tb:53,direction_bt:54,direction_rl:55,direction_lr:56,relationType:57,lineType:58,AGGREGATION:59,EXTENSION:60,COMPOSITION:61,DEPENDENCY:62,LOLLIPOP:63,LINE:64,DOTTED_LINE:65,CALLBACK:66,LINK:67,LINK_TARGET:68,CLICK:69,CALLBACK_NAME:70,CALLBACK_ARGS:71,HREF:72,STYLE:73,ALPHA:74,stylesOpt:75,CSSCLASS:76,style:77,COMMA:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,commentToken:86,textToken:87,graphCodeTokens:88,textNoTagsToken:89,TAGSTART:90,TAGEND:91,"==":92,"--":93,DEFAULT:94,MINUS:95,keywords:96,UNICODE_TEXT:97,BQUOTE_STR:98,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",19:"GENERICTYPE",21:"LABEL",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",37:"STRUCT_START",39:"STRUCT_STOP",40:"NAMESPACE",42:"STYLE_SEPARATOR",44:"CLASS",45:"ANNOTATION_START",46:"ANNOTATION_END",47:"MEMBER",48:"SEPARATOR",50:"NOTE_FOR",52:"NOTE",53:"direction_tb",54:"direction_bt",55:"direction_rl",56:"direction_lr",59:"AGGREGATION",60:"EXTENSION",61:"COMPOSITION",62:"DEPENDENCY",63:"LOLLIPOP",64:"LINE",65:"DOTTED_LINE",66:"CALLBACK",67:"LINK",68:"LINK_TARGET",69:"CLICK",70:"CALLBACK_NAME",71:"CALLBACK_ARGS",72:"HREF",73:"STYLE",74:"ALPHA",76:"CSSCLASS",78:"COMMA",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",88:"graphCodeTokens",90:"TAGSTART",91:"TAGEND",92:"==",93:"--",94:"DEFAULT",95:"MINUS",96:"keywords",97:"UNICODE_TEXT",98:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,2],[17,1],[17,1],[17,2],[17,2],[17,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[22,4],[22,5],[36,2],[38,1],[38,2],[38,3],[23,1],[23,3],[23,4],[23,6],[41,2],[41,3],[25,4],[43,1],[43,2],[24,1],[24,2],[24,1],[24,1],[20,3],[20,4],[20,4],[20,5],[29,3],[29,2],[30,1],[30,1],[30,1],[30,1],[49,3],[49,2],[49,2],[49,1],[57,1],[57,1],[57,1],[57,1],[57,1],[58,1],[58,1],[26,3],[26,4],[26,3],[26,4],[26,4],[26,5],[26,3],[26,4],[26,4],[26,5],[26,4],[26,5],[26,5],[26,6],[27,3],[28,3],[75,1],[75,3],[77,1],[77,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[86,1],[86,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[89,1],[89,1],[89,1],[89,1],[16,1],[16,1],[16,1],[16,1],[18,1],[51,1]],performAction:n(function(a,l,A,u,p,t,K){var s=t.length-1;switch(p){case 8:this.$=t[s-1];break;case 9:case 11:case 12:this.$=t[s];break;case 10:case 13:this.$=t[s-1]+t[s];break;case 14:case 15:this.$=t[s-1]+"~"+t[s]+"~";break;case 16:u.addRelation(t[s]);break;case 17:t[s-1].title=u.cleanupLabel(t[s]),u.addRelation(t[s-1]);break;case 27:this.$=t[s].trim(),u.setAccTitle(this.$);break;case 28:case 29:this.$=t[s].trim(),u.setAccDescription(this.$);break;case 30:u.addClassesToNamespace(t[s-3],t[s-1]);break;case 31:u.addClassesToNamespace(t[s-4],t[s-1]);break;case 32:this.$=t[s],u.addNamespace(t[s]);break;case 33:this.$=[t[s]];break;case 34:this.$=[t[s-1]];break;case 35:t[s].unshift(t[s-2]),this.$=t[s];break;case 37:u.setCssClass(t[s-2],t[s]);break;case 38:u.addMembers(t[s-3],t[s-1]);break;case 39:u.setCssClass(t[s-5],t[s-3]),u.addMembers(t[s-5],t[s-1]);break;case 40:this.$=t[s],u.addClass(t[s]);break;case 41:this.$=t[s-1],u.addClass(t[s-1]),u.setClassLabel(t[s-1],t[s]);break;case 42:u.addAnnotation(t[s],t[s-2]);break;case 43:this.$=[t[s]];break;case 44:t[s].push(t[s-1]),this.$=t[s];break;case 45:break;case 46:u.addMember(t[s-1],u.cleanupLabel(t[s]));break;case 47:break;case 48:break;case 49:this.$={id1:t[s-2],id2:t[s],relation:t[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 50:this.$={id1:t[s-3],id2:t[s],relation:t[s-1],relationTitle1:t[s-2],relationTitle2:"none"};break;case 51:this.$={id1:t[s-3],id2:t[s],relation:t[s-2],relationTitle1:"none",relationTitle2:t[s-1]};break;case 52:this.$={id1:t[s-4],id2:t[s],relation:t[s-2],relationTitle1:t[s-3],relationTitle2:t[s-1]};break;case 53:u.addNote(t[s],t[s-1]);break;case 54:u.addNote(t[s]);break;case 55:u.setDirection("TB");break;case 56:u.setDirection("BT");break;case 57:u.setDirection("RL");break;case 58:u.setDirection("LR");break;case 59:this.$={type1:t[s-2],type2:t[s],lineType:t[s-1]};break;case 60:this.$={type1:"none",type2:t[s],lineType:t[s-1]};break;case 61:this.$={type1:t[s-1],type2:"none",lineType:t[s]};break;case 62:this.$={type1:"none",type2:"none",lineType:t[s]};break;case 63:this.$=u.relationType.AGGREGATION;break;case 64:this.$=u.relationType.EXTENSION;break;case 65:this.$=u.relationType.COMPOSITION;break;case 66:this.$=u.relationType.DEPENDENCY;break;case 67:this.$=u.relationType.LOLLIPOP;break;case 68:this.$=u.lineType.LINE;break;case 69:this.$=u.lineType.DOTTED_LINE;break;case 70:case 76:this.$=t[s-2],u.setClickEvent(t[s-1],t[s]);break;case 71:case 77:this.$=t[s-3],u.setClickEvent(t[s-2],t[s-1]),u.setTooltip(t[s-2],t[s]);break;case 72:this.$=t[s-2],u.setLink(t[s-1],t[s]);break;case 73:this.$=t[s-3],u.setLink(t[s-2],t[s-1],t[s]);break;case 74:this.$=t[s-3],u.setLink(t[s-2],t[s-1]),u.setTooltip(t[s-2],t[s]);break;case 75:this.$=t[s-4],u.setLink(t[s-3],t[s-2],t[s]),u.setTooltip(t[s-3],t[s-1]);break;case 78:this.$=t[s-3],u.setClickEvent(t[s-2],t[s-1],t[s]);break;case 79:this.$=t[s-4],u.setClickEvent(t[s-3],t[s-2],t[s-1]),u.setTooltip(t[s-3],t[s]);break;case 80:this.$=t[s-3],u.setLink(t[s-2],t[s]);break;case 81:this.$=t[s-4],u.setLink(t[s-3],t[s-1],t[s]);break;case 82:this.$=t[s-4],u.setLink(t[s-3],t[s-1]),u.setTooltip(t[s-3],t[s]);break;case 83:this.$=t[s-5],u.setLink(t[s-4],t[s-2],t[s]),u.setTooltip(t[s-4],t[s-1]);break;case 84:this.$=t[s-2],u.setCssStyle(t[s-1],t[s]);break;case 85:u.setCssClass(t[s-1],t[s]);break;case 86:this.$=[t[s]];break;case 87:t[s-2].push(t[s]),this.$=t[s-2];break;case 89:this.$=t[s-1]+t[s];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:37,17:20,18:38,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,31:i,33:r,35:h,36:21,40:c,41:22,44:f,45:d,47:B,48:S,50:N,52:Ee,53:ge,54:me,55:be,56:ke,66:Te,67:ye,69:Fe,73:De,74:E,76:_e,80:g,95:m,97:b,98:T},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},e(Be,[2,5],{8:[1,46]}),{8:[1,47]},e(o,[2,16],{21:[1,48]}),e(o,[2,18]),e(o,[2,19]),e(o,[2,20]),e(o,[2,21]),e(o,[2,22]),e(o,[2,23]),e(o,[2,24]),e(o,[2,25]),e(o,[2,26]),{32:[1,49]},{34:[1,50]},e(o,[2,29]),e(o,[2,45],{49:51,57:54,58:55,13:[1,52],21:[1,53],59:Q,60:X,61:W,62:q,63:H,64:Se,65:ve}),{37:[1,63]},e(J,[2,36],{37:[1,65],42:[1,64]}),e(o,[2,47]),e(o,[2,48]),{16:66,74:E,80:g,95:m,97:b},{16:37,17:67,18:38,74:E,80:g,95:m,97:b,98:T},{16:37,17:68,18:38,74:E,80:g,95:m,97:b,98:T},{16:37,17:69,18:38,74:E,80:g,95:m,97:b,98:T},{74:[1,70]},{13:[1,71]},{16:37,17:72,18:38,74:E,80:g,95:m,97:b,98:T},{13:Ke,51:73},e(o,[2,55]),e(o,[2,56]),e(o,[2,57]),e(o,[2,58]),e(U,[2,11],{16:37,18:38,17:75,19:[1,76],74:E,80:g,95:m,97:b,98:T}),e(U,[2,12],{19:[1,77]}),{15:78,16:79,74:E,80:g,95:m,97:b},{16:37,17:80,18:38,74:E,80:g,95:m,97:b,98:T},e(Z,[2,112]),e(Z,[2,113]),e(Z,[2,114]),e(Z,[2,115]),e([1,8,9,12,13,19,21,37,39,42,59,60,61,62,63,64,65,70,72],[2,116]),e(Be,[2,6],{10:5,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,17:20,36:21,41:22,16:37,18:38,5:81,31:i,33:r,35:h,40:c,44:f,45:d,47:B,48:S,50:N,52:Ee,53:ge,54:me,55:be,56:ke,66:Te,67:ye,69:Fe,73:De,74:E,76:_e,80:g,95:m,97:b,98:T}),{5:82,10:5,16:37,17:20,18:38,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,31:i,33:r,35:h,36:21,40:c,41:22,44:f,45:d,47:B,48:S,50:N,52:Ee,53:ge,54:me,55:be,56:ke,66:Te,67:ye,69:Fe,73:De,74:E,76:_e,80:g,95:m,97:b,98:T},e(o,[2,17]),e(o,[2,27]),e(o,[2,28]),{13:[1,84],16:37,17:83,18:38,74:E,80:g,95:m,97:b,98:T},{49:85,57:54,58:55,59:Q,60:X,61:W,62:q,63:H,64:Se,65:ve},e(o,[2,46]),{58:86,64:Se,65:ve},e($,[2,62],{57:87,59:Q,60:X,61:W,62:q,63:H}),e(z,[2,63]),e(z,[2,64]),e(z,[2,65]),e(z,[2,66]),e(z,[2,67]),e(Ye,[2,68]),e(Ye,[2,69]),{8:[1,89],23:90,38:88,41:22,44:f},{16:91,74:E,80:g,95:m,97:b},{43:92,47:Ne},{46:[1,94]},{13:[1,95]},{13:[1,96]},{70:[1,97],72:[1,98]},{21:ee,73:te,74:se,75:99,77:100,79:101,80:ie,81:ue,82:ne,83:ae,84:re,85:le},{74:[1,111]},{13:Ke,51:112},e(o,[2,54]),e(o,[2,117]),e(U,[2,13]),e(U,[2,14]),e(U,[2,15]),{37:[2,32]},{15:113,16:79,37:[2,9],74:E,80:g,95:m,97:b},e(Le,[2,40],{11:114,12:[1,115]}),e(Be,[2,7]),{9:[1,116]},e(ce,[2,49]),{16:37,17:117,18:38,74:E,80:g,95:m,97:b,98:T},{13:[1,119],16:37,17:118,18:38,74:E,80:g,95:m,97:b,98:T},e($,[2,61],{57:120,59:Q,60:X,61:W,62:q,63:H}),e($,[2,60]),{39:[1,121]},{23:90,38:122,41:22,44:f},{8:[1,123],39:[2,33]},e(J,[2,37],{37:[1,124]}),{39:[1,125]},{39:[2,43],43:126,47:Ne},{16:37,17:127,18:38,74:E,80:g,95:m,97:b,98:T},e(o,[2,70],{13:[1,128]}),e(o,[2,72],{13:[1,130],68:[1,129]}),e(o,[2,76],{13:[1,131],71:[1,132]}),{13:[1,133]},e(o,[2,84],{78:[1,134]}),e(je,[2,86],{79:135,21:ee,73:te,74:se,80:ie,81:ue,82:ne,83:ae,84:re,85:le}),e(v,[2,88]),e(v,[2,90]),e(v,[2,91]),e(v,[2,92]),e(v,[2,93]),e(v,[2,94]),e(v,[2,95]),e(v,[2,96]),e(v,[2,97]),e(v,[2,98]),e(o,[2,85]),e(o,[2,53]),{37:[2,10]},e(Le,[2,41]),{13:[1,136]},{1:[2,4]},e(ce,[2,51]),e(ce,[2,50]),{16:37,17:137,18:38,74:E,80:g,95:m,97:b,98:T},e($,[2,59]),e(o,[2,30]),{39:[1,138]},{23:90,38:139,39:[2,34],41:22,44:f},{43:140,47:Ne},e(J,[2,38]),{39:[2,44]},e(o,[2,42]),e(o,[2,71]),e(o,[2,73]),e(o,[2,74],{68:[1,141]}),e(o,[2,77]),e(o,[2,78],{13:[1,142]}),e(o,[2,80],{13:[1,144],68:[1,143]}),{21:ee,73:te,74:se,77:145,79:101,80:ie,81:ue,82:ne,83:ae,84:re,85:le},e(v,[2,89]),{14:[1,146]},e(ce,[2,52]),e(o,[2,31]),{39:[2,35]},{39:[1,147]},e(o,[2,75]),e(o,[2,79]),e(o,[2,81]),e(o,[2,82],{68:[1,148]}),e(je,[2,87],{79:135,21:ee,73:te,74:se,80:ie,81:ue,82:ne,83:ae,84:re,85:le}),e(Le,[2,8]),e(J,[2,39]),e(o,[2,83])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],78:[2,32],113:[2,10],116:[2,4],126:[2,44],139:[2,35]},parseError:n(function(a,l){if(l.recoverable)this.trace(a);else{var A=new Error(a);throw A.hash=l,A}},"parseError"),parse:n(function(a){var l=this,A=[0],u=[],p=[null],t=[],K=this.table,s="",he=0,Qe=0,ut=2,Xe=1,nt=t.slice.call(arguments,1),k=Object.create(this.lexer),R={yy:{}};for(var Ie in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ie)&&(R.yy[Ie]=this.yy[Ie]);k.setInput(a,R.yy),R.yy.lexer=k,R.yy.parser=this,typeof k.yylloc>"u"&&(k.yylloc={});var Oe=k.yylloc;t.push(Oe);var at=k.options&&k.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function rt(F){A.length=A.length-2*F,p.length=p.length-F,t.length=t.length-F}n(rt,"popStack");function We(){var F;return F=u.pop()||k.lex()||Xe,typeof F!="number"&&(F instanceof Array&&(u=F,F=u.pop()),F=l.symbols_[F]||F),F}n(We,"lex");for(var y,w,_,Re,M={},Ae,L,qe,pe;;){if(w=A[A.length-1],this.defaultActions[w]?_=this.defaultActions[w]:((y===null||typeof y>"u")&&(y=We()),_=K[w]&&K[w][y]),typeof _>"u"||!_.length||!_[0]){var we="";pe=[];for(Ae in K[w])this.terminals_[Ae]&&Ae>ut&&pe.push("'"+this.terminals_[Ae]+"'");k.showPosition?we="Parse error on line "+(he+1)+`: +import{_ as n,i as lt,d as D,N as Ve,s as ct,g as ot,b as ht,c as At,p as pt,q as ft,e as x,r as dt,l as Ct,u as $e,j as Y}from"./index-BmyXM-jo.js";var Pe=function(){var e=n(function(O,a,l,A){for(l=l||{},A=O.length;A--;l[O[A]]=a);return l},"o"),i=[1,17],r=[1,18],h=[1,19],c=[1,39],f=[1,40],d=[1,25],B=[1,23],S=[1,24],N=[1,31],Ee=[1,32],ge=[1,33],me=[1,34],be=[1,35],ke=[1,36],Te=[1,26],ye=[1,27],Fe=[1,28],De=[1,29],E=[1,43],_e=[1,30],g=[1,42],m=[1,44],b=[1,41],T=[1,45],Be=[1,9],o=[1,8,9],Q=[1,56],X=[1,57],W=[1,58],q=[1,59],H=[1,60],Se=[1,61],ve=[1,62],J=[1,8,9,39],Ke=[1,74],U=[1,8,9,12,13,21,37,39,42,59,60,61,62,63,64,65,70,72],Z=[1,8,9,12,13,19,21,37,39,42,46,59,60,61,62,63,64,65,70,72,74,80,95,97,98],$=[13,74,80,95,97,98],z=[13,64,65,74,80,95,97,98],Ye=[13,59,60,61,62,63,74,80,95,97,98],Ne=[1,93],ee=[1,110],te=[1,108],se=[1,102],ie=[1,103],ue=[1,104],ne=[1,105],ae=[1,106],re=[1,107],le=[1,109],Le=[1,8,9,37,39,42],ce=[1,8,9,21],je=[1,8,9,78],v=[1,8,9,21,73,74,78,80,81,82,83,84,85],xe={trace:n(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,className:17,classLiteralName:18,GENERICTYPE:19,relationStatement:20,LABEL:21,namespaceStatement:22,classStatement:23,memberStatement:24,annotationStatement:25,clickStatement:26,styleStatement:27,cssClassStatement:28,noteStatement:29,direction:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,namespaceIdentifier:36,STRUCT_START:37,classStatements:38,STRUCT_STOP:39,NAMESPACE:40,classIdentifier:41,STYLE_SEPARATOR:42,members:43,CLASS:44,ANNOTATION_START:45,ANNOTATION_END:46,MEMBER:47,SEPARATOR:48,relation:49,NOTE_FOR:50,noteText:51,NOTE:52,direction_tb:53,direction_bt:54,direction_rl:55,direction_lr:56,relationType:57,lineType:58,AGGREGATION:59,EXTENSION:60,COMPOSITION:61,DEPENDENCY:62,LOLLIPOP:63,LINE:64,DOTTED_LINE:65,CALLBACK:66,LINK:67,LINK_TARGET:68,CLICK:69,CALLBACK_NAME:70,CALLBACK_ARGS:71,HREF:72,STYLE:73,ALPHA:74,stylesOpt:75,CSSCLASS:76,style:77,COMMA:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,commentToken:86,textToken:87,graphCodeTokens:88,textNoTagsToken:89,TAGSTART:90,TAGEND:91,"==":92,"--":93,DEFAULT:94,MINUS:95,keywords:96,UNICODE_TEXT:97,BQUOTE_STR:98,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",19:"GENERICTYPE",21:"LABEL",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",37:"STRUCT_START",39:"STRUCT_STOP",40:"NAMESPACE",42:"STYLE_SEPARATOR",44:"CLASS",45:"ANNOTATION_START",46:"ANNOTATION_END",47:"MEMBER",48:"SEPARATOR",50:"NOTE_FOR",52:"NOTE",53:"direction_tb",54:"direction_bt",55:"direction_rl",56:"direction_lr",59:"AGGREGATION",60:"EXTENSION",61:"COMPOSITION",62:"DEPENDENCY",63:"LOLLIPOP",64:"LINE",65:"DOTTED_LINE",66:"CALLBACK",67:"LINK",68:"LINK_TARGET",69:"CLICK",70:"CALLBACK_NAME",71:"CALLBACK_ARGS",72:"HREF",73:"STYLE",74:"ALPHA",76:"CSSCLASS",78:"COMMA",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",88:"graphCodeTokens",90:"TAGSTART",91:"TAGEND",92:"==",93:"--",94:"DEFAULT",95:"MINUS",96:"keywords",97:"UNICODE_TEXT",98:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,2],[17,1],[17,1],[17,2],[17,2],[17,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[22,4],[22,5],[36,2],[38,1],[38,2],[38,3],[23,1],[23,3],[23,4],[23,6],[41,2],[41,3],[25,4],[43,1],[43,2],[24,1],[24,2],[24,1],[24,1],[20,3],[20,4],[20,4],[20,5],[29,3],[29,2],[30,1],[30,1],[30,1],[30,1],[49,3],[49,2],[49,2],[49,1],[57,1],[57,1],[57,1],[57,1],[57,1],[58,1],[58,1],[26,3],[26,4],[26,3],[26,4],[26,4],[26,5],[26,3],[26,4],[26,4],[26,5],[26,4],[26,5],[26,5],[26,6],[27,3],[28,3],[75,1],[75,3],[77,1],[77,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[86,1],[86,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[89,1],[89,1],[89,1],[89,1],[16,1],[16,1],[16,1],[16,1],[18,1],[51,1]],performAction:n(function(a,l,A,u,p,t,K){var s=t.length-1;switch(p){case 8:this.$=t[s-1];break;case 9:case 11:case 12:this.$=t[s];break;case 10:case 13:this.$=t[s-1]+t[s];break;case 14:case 15:this.$=t[s-1]+"~"+t[s]+"~";break;case 16:u.addRelation(t[s]);break;case 17:t[s-1].title=u.cleanupLabel(t[s]),u.addRelation(t[s-1]);break;case 27:this.$=t[s].trim(),u.setAccTitle(this.$);break;case 28:case 29:this.$=t[s].trim(),u.setAccDescription(this.$);break;case 30:u.addClassesToNamespace(t[s-3],t[s-1]);break;case 31:u.addClassesToNamespace(t[s-4],t[s-1]);break;case 32:this.$=t[s],u.addNamespace(t[s]);break;case 33:this.$=[t[s]];break;case 34:this.$=[t[s-1]];break;case 35:t[s].unshift(t[s-2]),this.$=t[s];break;case 37:u.setCssClass(t[s-2],t[s]);break;case 38:u.addMembers(t[s-3],t[s-1]);break;case 39:u.setCssClass(t[s-5],t[s-3]),u.addMembers(t[s-5],t[s-1]);break;case 40:this.$=t[s],u.addClass(t[s]);break;case 41:this.$=t[s-1],u.addClass(t[s-1]),u.setClassLabel(t[s-1],t[s]);break;case 42:u.addAnnotation(t[s],t[s-2]);break;case 43:this.$=[t[s]];break;case 44:t[s].push(t[s-1]),this.$=t[s];break;case 45:break;case 46:u.addMember(t[s-1],u.cleanupLabel(t[s]));break;case 47:break;case 48:break;case 49:this.$={id1:t[s-2],id2:t[s],relation:t[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 50:this.$={id1:t[s-3],id2:t[s],relation:t[s-1],relationTitle1:t[s-2],relationTitle2:"none"};break;case 51:this.$={id1:t[s-3],id2:t[s],relation:t[s-2],relationTitle1:"none",relationTitle2:t[s-1]};break;case 52:this.$={id1:t[s-4],id2:t[s],relation:t[s-2],relationTitle1:t[s-3],relationTitle2:t[s-1]};break;case 53:u.addNote(t[s],t[s-1]);break;case 54:u.addNote(t[s]);break;case 55:u.setDirection("TB");break;case 56:u.setDirection("BT");break;case 57:u.setDirection("RL");break;case 58:u.setDirection("LR");break;case 59:this.$={type1:t[s-2],type2:t[s],lineType:t[s-1]};break;case 60:this.$={type1:"none",type2:t[s],lineType:t[s-1]};break;case 61:this.$={type1:t[s-1],type2:"none",lineType:t[s]};break;case 62:this.$={type1:"none",type2:"none",lineType:t[s]};break;case 63:this.$=u.relationType.AGGREGATION;break;case 64:this.$=u.relationType.EXTENSION;break;case 65:this.$=u.relationType.COMPOSITION;break;case 66:this.$=u.relationType.DEPENDENCY;break;case 67:this.$=u.relationType.LOLLIPOP;break;case 68:this.$=u.lineType.LINE;break;case 69:this.$=u.lineType.DOTTED_LINE;break;case 70:case 76:this.$=t[s-2],u.setClickEvent(t[s-1],t[s]);break;case 71:case 77:this.$=t[s-3],u.setClickEvent(t[s-2],t[s-1]),u.setTooltip(t[s-2],t[s]);break;case 72:this.$=t[s-2],u.setLink(t[s-1],t[s]);break;case 73:this.$=t[s-3],u.setLink(t[s-2],t[s-1],t[s]);break;case 74:this.$=t[s-3],u.setLink(t[s-2],t[s-1]),u.setTooltip(t[s-2],t[s]);break;case 75:this.$=t[s-4],u.setLink(t[s-3],t[s-2],t[s]),u.setTooltip(t[s-3],t[s-1]);break;case 78:this.$=t[s-3],u.setClickEvent(t[s-2],t[s-1],t[s]);break;case 79:this.$=t[s-4],u.setClickEvent(t[s-3],t[s-2],t[s-1]),u.setTooltip(t[s-3],t[s]);break;case 80:this.$=t[s-3],u.setLink(t[s-2],t[s]);break;case 81:this.$=t[s-4],u.setLink(t[s-3],t[s-1],t[s]);break;case 82:this.$=t[s-4],u.setLink(t[s-3],t[s-1]),u.setTooltip(t[s-3],t[s]);break;case 83:this.$=t[s-5],u.setLink(t[s-4],t[s-2],t[s]),u.setTooltip(t[s-4],t[s-1]);break;case 84:this.$=t[s-2],u.setCssStyle(t[s-1],t[s]);break;case 85:u.setCssClass(t[s-1],t[s]);break;case 86:this.$=[t[s]];break;case 87:t[s-2].push(t[s]),this.$=t[s-2];break;case 89:this.$=t[s-1]+t[s];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:37,17:20,18:38,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,31:i,33:r,35:h,36:21,40:c,41:22,44:f,45:d,47:B,48:S,50:N,52:Ee,53:ge,54:me,55:be,56:ke,66:Te,67:ye,69:Fe,73:De,74:E,76:_e,80:g,95:m,97:b,98:T},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},e(Be,[2,5],{8:[1,46]}),{8:[1,47]},e(o,[2,16],{21:[1,48]}),e(o,[2,18]),e(o,[2,19]),e(o,[2,20]),e(o,[2,21]),e(o,[2,22]),e(o,[2,23]),e(o,[2,24]),e(o,[2,25]),e(o,[2,26]),{32:[1,49]},{34:[1,50]},e(o,[2,29]),e(o,[2,45],{49:51,57:54,58:55,13:[1,52],21:[1,53],59:Q,60:X,61:W,62:q,63:H,64:Se,65:ve}),{37:[1,63]},e(J,[2,36],{37:[1,65],42:[1,64]}),e(o,[2,47]),e(o,[2,48]),{16:66,74:E,80:g,95:m,97:b},{16:37,17:67,18:38,74:E,80:g,95:m,97:b,98:T},{16:37,17:68,18:38,74:E,80:g,95:m,97:b,98:T},{16:37,17:69,18:38,74:E,80:g,95:m,97:b,98:T},{74:[1,70]},{13:[1,71]},{16:37,17:72,18:38,74:E,80:g,95:m,97:b,98:T},{13:Ke,51:73},e(o,[2,55]),e(o,[2,56]),e(o,[2,57]),e(o,[2,58]),e(U,[2,11],{16:37,18:38,17:75,19:[1,76],74:E,80:g,95:m,97:b,98:T}),e(U,[2,12],{19:[1,77]}),{15:78,16:79,74:E,80:g,95:m,97:b},{16:37,17:80,18:38,74:E,80:g,95:m,97:b,98:T},e(Z,[2,112]),e(Z,[2,113]),e(Z,[2,114]),e(Z,[2,115]),e([1,8,9,12,13,19,21,37,39,42,59,60,61,62,63,64,65,70,72],[2,116]),e(Be,[2,6],{10:5,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,17:20,36:21,41:22,16:37,18:38,5:81,31:i,33:r,35:h,40:c,44:f,45:d,47:B,48:S,50:N,52:Ee,53:ge,54:me,55:be,56:ke,66:Te,67:ye,69:Fe,73:De,74:E,76:_e,80:g,95:m,97:b,98:T}),{5:82,10:5,16:37,17:20,18:38,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,31:i,33:r,35:h,36:21,40:c,41:22,44:f,45:d,47:B,48:S,50:N,52:Ee,53:ge,54:me,55:be,56:ke,66:Te,67:ye,69:Fe,73:De,74:E,76:_e,80:g,95:m,97:b,98:T},e(o,[2,17]),e(o,[2,27]),e(o,[2,28]),{13:[1,84],16:37,17:83,18:38,74:E,80:g,95:m,97:b,98:T},{49:85,57:54,58:55,59:Q,60:X,61:W,62:q,63:H,64:Se,65:ve},e(o,[2,46]),{58:86,64:Se,65:ve},e($,[2,62],{57:87,59:Q,60:X,61:W,62:q,63:H}),e(z,[2,63]),e(z,[2,64]),e(z,[2,65]),e(z,[2,66]),e(z,[2,67]),e(Ye,[2,68]),e(Ye,[2,69]),{8:[1,89],23:90,38:88,41:22,44:f},{16:91,74:E,80:g,95:m,97:b},{43:92,47:Ne},{46:[1,94]},{13:[1,95]},{13:[1,96]},{70:[1,97],72:[1,98]},{21:ee,73:te,74:se,75:99,77:100,79:101,80:ie,81:ue,82:ne,83:ae,84:re,85:le},{74:[1,111]},{13:Ke,51:112},e(o,[2,54]),e(o,[2,117]),e(U,[2,13]),e(U,[2,14]),e(U,[2,15]),{37:[2,32]},{15:113,16:79,37:[2,9],74:E,80:g,95:m,97:b},e(Le,[2,40],{11:114,12:[1,115]}),e(Be,[2,7]),{9:[1,116]},e(ce,[2,49]),{16:37,17:117,18:38,74:E,80:g,95:m,97:b,98:T},{13:[1,119],16:37,17:118,18:38,74:E,80:g,95:m,97:b,98:T},e($,[2,61],{57:120,59:Q,60:X,61:W,62:q,63:H}),e($,[2,60]),{39:[1,121]},{23:90,38:122,41:22,44:f},{8:[1,123],39:[2,33]},e(J,[2,37],{37:[1,124]}),{39:[1,125]},{39:[2,43],43:126,47:Ne},{16:37,17:127,18:38,74:E,80:g,95:m,97:b,98:T},e(o,[2,70],{13:[1,128]}),e(o,[2,72],{13:[1,130],68:[1,129]}),e(o,[2,76],{13:[1,131],71:[1,132]}),{13:[1,133]},e(o,[2,84],{78:[1,134]}),e(je,[2,86],{79:135,21:ee,73:te,74:se,80:ie,81:ue,82:ne,83:ae,84:re,85:le}),e(v,[2,88]),e(v,[2,90]),e(v,[2,91]),e(v,[2,92]),e(v,[2,93]),e(v,[2,94]),e(v,[2,95]),e(v,[2,96]),e(v,[2,97]),e(v,[2,98]),e(o,[2,85]),e(o,[2,53]),{37:[2,10]},e(Le,[2,41]),{13:[1,136]},{1:[2,4]},e(ce,[2,51]),e(ce,[2,50]),{16:37,17:137,18:38,74:E,80:g,95:m,97:b,98:T},e($,[2,59]),e(o,[2,30]),{39:[1,138]},{23:90,38:139,39:[2,34],41:22,44:f},{43:140,47:Ne},e(J,[2,38]),{39:[2,44]},e(o,[2,42]),e(o,[2,71]),e(o,[2,73]),e(o,[2,74],{68:[1,141]}),e(o,[2,77]),e(o,[2,78],{13:[1,142]}),e(o,[2,80],{13:[1,144],68:[1,143]}),{21:ee,73:te,74:se,77:145,79:101,80:ie,81:ue,82:ne,83:ae,84:re,85:le},e(v,[2,89]),{14:[1,146]},e(ce,[2,52]),e(o,[2,31]),{39:[2,35]},{39:[1,147]},e(o,[2,75]),e(o,[2,79]),e(o,[2,81]),e(o,[2,82],{68:[1,148]}),e(je,[2,87],{79:135,21:ee,73:te,74:se,80:ie,81:ue,82:ne,83:ae,84:re,85:le}),e(Le,[2,8]),e(J,[2,39]),e(o,[2,83])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],78:[2,32],113:[2,10],116:[2,4],126:[2,44],139:[2,35]},parseError:n(function(a,l){if(l.recoverable)this.trace(a);else{var A=new Error(a);throw A.hash=l,A}},"parseError"),parse:n(function(a){var l=this,A=[0],u=[],p=[null],t=[],K=this.table,s="",he=0,Qe=0,ut=2,Xe=1,nt=t.slice.call(arguments,1),k=Object.create(this.lexer),R={yy:{}};for(var Ie in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ie)&&(R.yy[Ie]=this.yy[Ie]);k.setInput(a,R.yy),R.yy.lexer=k,R.yy.parser=this,typeof k.yylloc>"u"&&(k.yylloc={});var Oe=k.yylloc;t.push(Oe);var at=k.options&&k.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function rt(F){A.length=A.length-2*F,p.length=p.length-F,t.length=t.length-F}n(rt,"popStack");function We(){var F;return F=u.pop()||k.lex()||Xe,typeof F!="number"&&(F instanceof Array&&(u=F,F=u.pop()),F=l.symbols_[F]||F),F}n(We,"lex");for(var y,w,_,Re,M={},Ae,L,qe,pe;;){if(w=A[A.length-1],this.defaultActions[w]?_=this.defaultActions[w]:((y===null||typeof y>"u")&&(y=We()),_=K[w]&&K[w][y]),typeof _>"u"||!_.length||!_[0]){var we="";pe=[];for(Ae in K[w])this.terminals_[Ae]&&Ae>ut&&pe.push("'"+this.terminals_[Ae]+"'");k.showPosition?we="Parse error on line "+(he+1)+`: `+k.showPosition()+` Expecting `+pe.join(", ")+", got '"+(this.terminals_[y]||y)+"'":we="Parse error on line "+(he+1)+": Unexpected "+(y==Xe?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(we,{text:k.match,token:this.terminals_[y]||y,line:k.yylineno,loc:Oe,expected:pe})}if(_[0]instanceof Array&&_.length>1)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+y);switch(_[0]){case 1:A.push(y),p.push(k.yytext),t.push(k.yylloc),A.push(_[1]),y=null,Qe=k.yyleng,s=k.yytext,he=k.yylineno,Oe=k.yylloc;break;case 2:if(L=this.productions_[_[1]][1],M.$=p[p.length-L],M._$={first_line:t[t.length-(L||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(L||1)].first_column,last_column:t[t.length-1].last_column},at&&(M._$.range=[t[t.length-(L||1)].range[0],t[t.length-1].range[1]]),Re=this.performAction.apply(M,[s,Qe,he,R.yy,_[1],p,t].concat(nt)),typeof Re<"u")return Re;L&&(A=A.slice(0,-1*L*2),p=p.slice(0,-1*L),t=t.slice(0,-1*L)),A.push(this.productions_[_[1]][0]),p.push(M.$),t.push(M._$),qe=K[A[A.length-2]][A[A.length-1]],A.push(qe);break;case 3:return!0}}return!0},"parse")},it=function(){var O={EOF:1,parseError:n(function(l,A){if(this.yy.parser)this.yy.parser.parseError(l,A);else throw new Error(l)},"parseError"),setInput:n(function(a,l){return this.yy=l||this.yy||{},this._input=a,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:n(function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var l=a.match(/(?:\r\n?|\n).*/g);return l?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},"input"),unput:n(function(a){var l=a.length,A=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),A.length-1&&(this.yylineno-=A.length-1);var p=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:A?(A.length===u.length?this.yylloc.first_column:0)+u[u.length-A.length].length-A[0].length:this.yylloc.first_column-l},this.options.ranges&&(this.yylloc.range=[p[0],p[0]+this.yyleng-l]),this.yyleng=this.yytext.length,this},"unput"),more:n(function(){return this._more=!0,this},"more"),reject:n(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:n(function(a){this.unput(this.match.slice(a))},"less"),pastInput:n(function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:n(function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:n(function(){var a=this.pastInput(),l=new Array(a.length+1).join("-");return a+this.upcomingInput()+` diff --git a/assets/chunk-DUMQOTYW-BNJNkKaQ.js b/assets/chunk-DUMQOTYW-DrDMarzi.js similarity index 90% rename from assets/chunk-DUMQOTYW-BNJNkKaQ.js rename to assets/chunk-DUMQOTYW-DrDMarzi.js index 372ae6e..ff773ed 100644 --- a/assets/chunk-DUMQOTYW-BNJNkKaQ.js +++ b/assets/chunk-DUMQOTYW-DrDMarzi.js @@ -1 +1 @@ -import{_ as n,j as r,k as g,l as d}from"./index-DqL3MUN2.js";var u=n((t,e)=>{let o;return e==="sandbox"&&(o=r("#i"+t)),(e==="sandbox"?r(o.nodes()[0].contentDocument.body):r("body")).select(`[id="${t}"]`)},"getDiagramElement"),b=n((t,e,o,i)=>{t.attr("class",o);const{width:a,height:s,x:h,y:x}=l(t,e);g(t,s,a,i);const c=w(h,x,a,s,e);t.attr("viewBox",c),d.debug(`viewBox configured: ${c} with padding: ${e}`)},"setupViewPortForSVG"),l=n((t,e)=>{var i;const o=((i=t.node())==null?void 0:i.getBBox())||{width:0,height:0,x:0,y:0};return{width:o.width+e*2,height:o.height+e*2,x:o.x,y:o.y}},"calculateDimensionsWithPadding"),w=n((t,e,o,i,a)=>`${t-a} ${e-a} ${o} ${i}`,"createViewBox");export{u as g,b as s}; +import{_ as n,j as r,k as g,l as d}from"./index-BmyXM-jo.js";var u=n((t,e)=>{let o;return e==="sandbox"&&(o=r("#i"+t)),(e==="sandbox"?r(o.nodes()[0].contentDocument.body):r("body")).select(`[id="${t}"]`)},"getDiagramElement"),b=n((t,e,o,i)=>{t.attr("class",o);const{width:a,height:s,x:h,y:x}=l(t,e);g(t,s,a,i);const c=w(h,x,a,s,e);t.attr("viewBox",c),d.debug(`viewBox configured: ${c} with padding: ${e}`)},"setupViewPortForSVG"),l=n((t,e)=>{var i;const o=((i=t.node())==null?void 0:i.getBBox())||{width:0,height:0,x:0,y:0};return{width:o.width+e*2,height:o.height+e*2,x:o.x,y:o.y}},"calculateDimensionsWithPadding"),w=n((t,e,o,i,a)=>`${t-a} ${e-a} ${o} ${i}`,"createViewBox");export{u as g,b as s}; diff --git a/assets/chunk-OQCM5LHU-hYeIc3H-.js b/assets/chunk-OQCM5LHU-CSoVW7EB.js similarity index 77% rename from assets/chunk-OQCM5LHU-hYeIc3H-.js rename to assets/chunk-OQCM5LHU-CSoVW7EB.js index 404a20a..b676057 100644 --- a/assets/chunk-OQCM5LHU-hYeIc3H-.js +++ b/assets/chunk-OQCM5LHU-CSoVW7EB.js @@ -1 +1 @@ -import{_ as l}from"./index-DqL3MUN2.js";function m(e,c){var i,t,o;e.accDescr&&((i=c.setAccDescription)==null||i.call(c,e.accDescr)),e.accTitle&&((t=c.setAccTitle)==null||t.call(c,e.accTitle)),e.title&&((o=c.setDiagramTitle)==null||o.call(c,e.title))}l(m,"populateCommonDb");export{m as p}; +import{_ as l}from"./index-BmyXM-jo.js";function m(e,c){var i,t,o;e.accDescr&&((i=c.setAccDescription)==null||i.call(c,e.accDescr)),e.accTitle&&((t=c.setAccTitle)==null||t.call(c,e.accTitle)),e.title&&((o=c.setDiagramTitle)==null||o.call(c,e.title))}l(m,"populateCommonDb");export{m as p}; diff --git a/assets/chunk-UGV5ZQQN-DsfIFBqE.js b/assets/chunk-UGV5ZQQN-S_EzHP18.js similarity index 98% rename from assets/chunk-UGV5ZQQN-DsfIFBqE.js rename to assets/chunk-UGV5ZQQN-S_EzHP18.js index ae01fb3..0bdc919 100644 --- a/assets/chunk-UGV5ZQQN-DsfIFBqE.js +++ b/assets/chunk-UGV5ZQQN-S_EzHP18.js @@ -1,4 +1,4 @@ -import{a as y}from"./chunk-YWFND7JV-CHuoUZPA.js";import{_ as f,d as g,T as W,U as H,j as C,l as m,S as R,u as w,ak as X,H as Y,M as U}from"./index-DqL3MUN2.js";var O=f((r,t,a,h)=>{t.forEach(o=>{J[o](r,a,h)})},"insertMarkers"),Z=f((r,t,a)=>{m.trace("Making markers for ",a),r.append("defs").append("marker").attr("id",a+"_"+t+"-extensionStart").attr("class","marker extension "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-extensionEnd").attr("class","marker extension "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},"extension"),A=f((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-compositionStart").attr("class","marker composition "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-compositionEnd").attr("class","marker composition "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),I=f((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-aggregationStart").attr("class","marker aggregation "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-aggregationEnd").attr("class","marker aggregation "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),N=f((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-dependencyStart").attr("class","marker dependency "+t).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-dependencyEnd").attr("class","marker dependency "+t).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),q=f((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-lollipopStart").attr("class","marker lollipop "+t).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),r.append("defs").append("marker").attr("id",a+"_"+t+"-lollipopEnd").attr("class","marker lollipop "+t).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},"lollipop"),Q=f((r,t,a)=>{r.append("marker").attr("id",a+"_"+t+"-pointEnd").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",6).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),r.append("marker").attr("id",a+"_"+t+"-pointStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"point"),z=f((r,t,a)=>{r.append("marker").attr("id",a+"_"+t+"-circleEnd").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),r.append("marker").attr("id",a+"_"+t+"-circleStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"circle"),F=f((r,t,a)=>{r.append("marker").attr("id",a+"_"+t+"-crossEnd").attr("class","marker cross "+t).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),r.append("marker").attr("id",a+"_"+t+"-crossStart").attr("class","marker cross "+t).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},"cross"),G=f((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb"),J={extension:Z,composition:A,aggregation:I,dependency:N,lollipop:q,point:Q,circle:z,cross:F,barb:G},at=O,V=f((r,t,a,h,o)=>{t.arrowTypeStart&&E(r,"start",t.arrowTypeStart,a,h,o),t.arrowTypeEnd&&E(r,"end",t.arrowTypeEnd,a,h,o)},"addEdgeMarkers"),j={arrow_cross:"cross",arrow_point:"point",arrow_barb:"barb",arrow_circle:"circle",aggregation:"aggregation",extension:"extension",composition:"composition",dependency:"dependency",lollipop:"lollipop"},E=f((r,t,a,h,o,c)=>{const n=j[a];if(!n){m.warn(`Unknown arrow type: ${a}`);return}const e=t==="start"?"Start":"End";r.attr(`marker-${t}`,`url(${h}#${o}_${c}-${n}${e})`)},"addEdgeMarker"),v={},k={},rt=f(()=>{v={},k={}},"clear"),et=f((r,t)=>{const a=g(),h=W(a.flowchart.htmlLabels),o=t.labelType==="markdown"?H(r,t.label,{style:t.labelStyle,useHtmlLabels:h,addSvgBackground:!0},a):y(t.label,t.labelStyle),c=r.insert("g").attr("class","edgeLabel"),n=c.insert("g").attr("class","label");n.node().appendChild(o);let e=o.getBBox();if(h){const i=o.children[0],l=C(o);e=i.getBoundingClientRect(),l.attr("width",e.width),l.attr("height",e.height)}n.attr("transform","translate("+-e.width/2+", "+-e.height/2+")"),v[t.id]=c,t.width=e.width,t.height=e.height;let s;if(t.startLabelLeft){const i=y(t.startLabelLeft,t.labelStyle),l=r.insert("g").attr("class","edgeTerminals"),d=l.insert("g").attr("class","inner");s=d.node().appendChild(i);const p=i.getBBox();d.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),k[t.id]||(k[t.id]={}),k[t.id].startLeft=l,u(s,t.startLabelLeft)}if(t.startLabelRight){const i=y(t.startLabelRight,t.labelStyle),l=r.insert("g").attr("class","edgeTerminals"),d=l.insert("g").attr("class","inner");s=l.node().appendChild(i),d.node().appendChild(i);const p=i.getBBox();d.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),k[t.id]||(k[t.id]={}),k[t.id].startRight=l,u(s,t.startLabelRight)}if(t.endLabelLeft){const i=y(t.endLabelLeft,t.labelStyle),l=r.insert("g").attr("class","edgeTerminals"),d=l.insert("g").attr("class","inner");s=d.node().appendChild(i);const p=i.getBBox();d.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),l.node().appendChild(i),k[t.id]||(k[t.id]={}),k[t.id].endLeft=l,u(s,t.endLabelLeft)}if(t.endLabelRight){const i=y(t.endLabelRight,t.labelStyle),l=r.insert("g").attr("class","edgeTerminals"),d=l.insert("g").attr("class","inner");s=d.node().appendChild(i);const p=i.getBBox();d.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),l.node().appendChild(i),k[t.id]||(k[t.id]={}),k[t.id].endRight=l,u(s,t.endLabelRight)}return o},"insertEdgeLabel");function u(r,t){g().flowchart.htmlLabels&&r&&(r.style.width=t.length*9+"px",r.style.height="12px")}f(u,"setTerminalWidth");var st=f((r,t)=>{m.debug("Moving label abc88 ",r.id,r.label,v[r.id],t);let a=t.updatedPath?t.updatedPath:t.originalPath;const h=g(),{subGraphTitleTotalMargin:o}=R(h);if(r.label){const c=v[r.id];let n=r.x,e=r.y;if(a){const s=w.calcLabelPosition(a);m.debug("Moving label "+r.label+" from (",n,",",e,") to (",s.x,",",s.y,") abc88"),t.updatedPath&&(n=s.x,e=s.y)}c.attr("transform",`translate(${n}, ${e+o/2})`)}if(r.startLabelLeft){const c=k[r.id].startLeft;let n=r.x,e=r.y;if(a){const s=w.calcTerminalLabelPosition(r.arrowTypeStart?10:0,"start_left",a);n=s.x,e=s.y}c.attr("transform",`translate(${n}, ${e})`)}if(r.startLabelRight){const c=k[r.id].startRight;let n=r.x,e=r.y;if(a){const s=w.calcTerminalLabelPosition(r.arrowTypeStart?10:0,"start_right",a);n=s.x,e=s.y}c.attr("transform",`translate(${n}, ${e})`)}if(r.endLabelLeft){const c=k[r.id].endLeft;let n=r.x,e=r.y;if(a){const s=w.calcTerminalLabelPosition(r.arrowTypeEnd?10:0,"end_left",a);n=s.x,e=s.y}c.attr("transform",`translate(${n}, ${e})`)}if(r.endLabelRight){const c=k[r.id].endRight;let n=r.x,e=r.y;if(a){const s=w.calcTerminalLabelPosition(r.arrowTypeEnd?10:0,"end_right",a);n=s.x,e=s.y}c.attr("transform",`translate(${n}, ${e})`)}},"positionEdgeLabel"),K=f((r,t)=>{const a=r.x,h=r.y,o=Math.abs(t.x-a),c=Math.abs(t.y-h),n=r.width/2,e=r.height/2;return o>=n||c>=e},"outsideNode"),D=f((r,t,a)=>{m.debug(`intersection calc abc89: +import{a as y}from"./chunk-YWFND7JV-Cxhz5tcw.js";import{_ as f,d as g,T as W,U as H,j as C,l as m,S as R,u as w,ak as X,H as Y,M as U}from"./index-BmyXM-jo.js";var O=f((r,t,a,h)=>{t.forEach(o=>{J[o](r,a,h)})},"insertMarkers"),Z=f((r,t,a)=>{m.trace("Making markers for ",a),r.append("defs").append("marker").attr("id",a+"_"+t+"-extensionStart").attr("class","marker extension "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-extensionEnd").attr("class","marker extension "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},"extension"),A=f((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-compositionStart").attr("class","marker composition "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-compositionEnd").attr("class","marker composition "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),I=f((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-aggregationStart").attr("class","marker aggregation "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-aggregationEnd").attr("class","marker aggregation "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),N=f((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-dependencyStart").attr("class","marker dependency "+t).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-dependencyEnd").attr("class","marker dependency "+t).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),q=f((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-lollipopStart").attr("class","marker lollipop "+t).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),r.append("defs").append("marker").attr("id",a+"_"+t+"-lollipopEnd").attr("class","marker lollipop "+t).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},"lollipop"),Q=f((r,t,a)=>{r.append("marker").attr("id",a+"_"+t+"-pointEnd").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",6).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),r.append("marker").attr("id",a+"_"+t+"-pointStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"point"),z=f((r,t,a)=>{r.append("marker").attr("id",a+"_"+t+"-circleEnd").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),r.append("marker").attr("id",a+"_"+t+"-circleStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"circle"),F=f((r,t,a)=>{r.append("marker").attr("id",a+"_"+t+"-crossEnd").attr("class","marker cross "+t).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),r.append("marker").attr("id",a+"_"+t+"-crossStart").attr("class","marker cross "+t).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},"cross"),G=f((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb"),J={extension:Z,composition:A,aggregation:I,dependency:N,lollipop:q,point:Q,circle:z,cross:F,barb:G},at=O,V=f((r,t,a,h,o)=>{t.arrowTypeStart&&E(r,"start",t.arrowTypeStart,a,h,o),t.arrowTypeEnd&&E(r,"end",t.arrowTypeEnd,a,h,o)},"addEdgeMarkers"),j={arrow_cross:"cross",arrow_point:"point",arrow_barb:"barb",arrow_circle:"circle",aggregation:"aggregation",extension:"extension",composition:"composition",dependency:"dependency",lollipop:"lollipop"},E=f((r,t,a,h,o,c)=>{const n=j[a];if(!n){m.warn(`Unknown arrow type: ${a}`);return}const e=t==="start"?"Start":"End";r.attr(`marker-${t}`,`url(${h}#${o}_${c}-${n}${e})`)},"addEdgeMarker"),v={},k={},rt=f(()=>{v={},k={}},"clear"),et=f((r,t)=>{const a=g(),h=W(a.flowchart.htmlLabels),o=t.labelType==="markdown"?H(r,t.label,{style:t.labelStyle,useHtmlLabels:h,addSvgBackground:!0},a):y(t.label,t.labelStyle),c=r.insert("g").attr("class","edgeLabel"),n=c.insert("g").attr("class","label");n.node().appendChild(o);let e=o.getBBox();if(h){const i=o.children[0],l=C(o);e=i.getBoundingClientRect(),l.attr("width",e.width),l.attr("height",e.height)}n.attr("transform","translate("+-e.width/2+", "+-e.height/2+")"),v[t.id]=c,t.width=e.width,t.height=e.height;let s;if(t.startLabelLeft){const i=y(t.startLabelLeft,t.labelStyle),l=r.insert("g").attr("class","edgeTerminals"),d=l.insert("g").attr("class","inner");s=d.node().appendChild(i);const p=i.getBBox();d.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),k[t.id]||(k[t.id]={}),k[t.id].startLeft=l,u(s,t.startLabelLeft)}if(t.startLabelRight){const i=y(t.startLabelRight,t.labelStyle),l=r.insert("g").attr("class","edgeTerminals"),d=l.insert("g").attr("class","inner");s=l.node().appendChild(i),d.node().appendChild(i);const p=i.getBBox();d.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),k[t.id]||(k[t.id]={}),k[t.id].startRight=l,u(s,t.startLabelRight)}if(t.endLabelLeft){const i=y(t.endLabelLeft,t.labelStyle),l=r.insert("g").attr("class","edgeTerminals"),d=l.insert("g").attr("class","inner");s=d.node().appendChild(i);const p=i.getBBox();d.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),l.node().appendChild(i),k[t.id]||(k[t.id]={}),k[t.id].endLeft=l,u(s,t.endLabelLeft)}if(t.endLabelRight){const i=y(t.endLabelRight,t.labelStyle),l=r.insert("g").attr("class","edgeTerminals"),d=l.insert("g").attr("class","inner");s=d.node().appendChild(i);const p=i.getBBox();d.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),l.node().appendChild(i),k[t.id]||(k[t.id]={}),k[t.id].endRight=l,u(s,t.endLabelRight)}return o},"insertEdgeLabel");function u(r,t){g().flowchart.htmlLabels&&r&&(r.style.width=t.length*9+"px",r.style.height="12px")}f(u,"setTerminalWidth");var st=f((r,t)=>{m.debug("Moving label abc88 ",r.id,r.label,v[r.id],t);let a=t.updatedPath?t.updatedPath:t.originalPath;const h=g(),{subGraphTitleTotalMargin:o}=R(h);if(r.label){const c=v[r.id];let n=r.x,e=r.y;if(a){const s=w.calcLabelPosition(a);m.debug("Moving label "+r.label+" from (",n,",",e,") to (",s.x,",",s.y,") abc88"),t.updatedPath&&(n=s.x,e=s.y)}c.attr("transform",`translate(${n}, ${e+o/2})`)}if(r.startLabelLeft){const c=k[r.id].startLeft;let n=r.x,e=r.y;if(a){const s=w.calcTerminalLabelPosition(r.arrowTypeStart?10:0,"start_left",a);n=s.x,e=s.y}c.attr("transform",`translate(${n}, ${e})`)}if(r.startLabelRight){const c=k[r.id].startRight;let n=r.x,e=r.y;if(a){const s=w.calcTerminalLabelPosition(r.arrowTypeStart?10:0,"start_right",a);n=s.x,e=s.y}c.attr("transform",`translate(${n}, ${e})`)}if(r.endLabelLeft){const c=k[r.id].endLeft;let n=r.x,e=r.y;if(a){const s=w.calcTerminalLabelPosition(r.arrowTypeEnd?10:0,"end_left",a);n=s.x,e=s.y}c.attr("transform",`translate(${n}, ${e})`)}if(r.endLabelRight){const c=k[r.id].endRight;let n=r.x,e=r.y;if(a){const s=w.calcTerminalLabelPosition(r.arrowTypeEnd?10:0,"end_right",a);n=s.x,e=s.y}c.attr("transform",`translate(${n}, ${e})`)}},"positionEdgeLabel"),K=f((r,t)=>{const a=r.x,h=r.y,o=Math.abs(t.x-a),c=Math.abs(t.y-h),n=r.width/2,e=r.height/2;return o>=n||c>=e},"outsideNode"),D=f((r,t,a)=>{m.debug(`intersection calc abc89: outsidePoint: ${JSON.stringify(t)} insidePoint : ${JSON.stringify(a)} node : x:${r.x} y:${r.y} w:${r.width} h:${r.height}`);const h=r.x,o=r.y,c=Math.abs(h-a.x),n=r.width/2;let e=a.xMath.abs(h-t.x)*s){let d=a.y{m.debug("abc88 cutPathAtIntersect",r,t);let a=[],h=r[0],o=!1;return r.forEach(c=>{if(!K(t,c)&&!o){const n=D(t,h,c);let e=!1;a.forEach(s=>{e=e||s.x===n.x&&s.y===n.y}),a.some(s=>s.x===n.x&&s.y===n.y)||a.push(n),o=!0}else h=c,o||a.push(c)}),a},"cutPathAtIntersect"),nt=f(function(r,t,a,h,o,c,n){let e=a.points;m.debug("abc88 InsertEdge: edge=",a,"e=",t);let s=!1;const i=c.node(t.v);var l=c.node(t.w);l!=null&&l.intersect&&(i!=null&&i.intersect)&&(e=e.slice(1,a.points.length-1),e.unshift(i.intersect(e[0])),e.push(l.intersect(e[e.length-1]))),a.toCluster&&(m.debug("to cluster abc88",h[a.toCluster]),e=_(a.points,h[a.toCluster].node),s=!0),a.fromCluster&&(m.debug("from cluster abc88",h[a.fromCluster]),e=_(e.reverse(),h[a.fromCluster].node).reverse(),s=!0);const d=e.filter(T=>!Number.isNaN(T.y));let p=U;a.curve&&(o==="graph"||o==="flowchart")&&(p=a.curve);const{x,y:$}=X(a),S=Y().x(x).y($).curve(p);let b;switch(a.thickness){case"normal":b="edge-thickness-normal";break;case"thick":b="edge-thickness-thick";break;case"invisible":b="edge-thickness-thick";break;default:b=""}switch(a.pattern){case"solid":b+=" edge-pattern-solid";break;case"dotted":b+=" edge-pattern-dotted";break;case"dashed":b+=" edge-pattern-dashed";break}const B=r.append("path").attr("d",S(d)).attr("id",a.id).attr("class"," "+b+(a.classes?" "+a.classes:"")).attr("style",a.style);let L="";(g().flowchart.arrowMarkerAbsolute||g().state.arrowMarkerAbsolute)&&(L=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,L=L.replace(/\(/g,"\\("),L=L.replace(/\)/g,"\\)")),V(B,a,L,n,o);let M={};return s&&(M.updatedPath=e),M.originalPath=a.points,M},"insertEdge");export{nt as a,rt as c,et as i,at as m,st as p}; diff --git a/assets/chunk-XVOYOM2C-D2CgWdoi.js b/assets/chunk-XVOYOM2C-B52IjuyV.js similarity index 95% rename from assets/chunk-XVOYOM2C-D2CgWdoi.js rename to assets/chunk-XVOYOM2C-B52IjuyV.js index f499562..fa7d63d 100644 --- a/assets/chunk-XVOYOM2C-D2CgWdoi.js +++ b/assets/chunk-XVOYOM2C-B52IjuyV.js @@ -1 +1 @@ -import{_ as n,W as c,m as l}from"./index-DqL3MUN2.js";var o=n((a,t)=>{const e=a.append("rect");if(e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),t.name&&e.attr("name",t.name),t.rx&&e.attr("rx",t.rx),t.ry&&e.attr("ry",t.ry),t.attrs!==void 0)for(const r in t.attrs)e.attr(r,t.attrs[r]);return t.class&&e.attr("class",t.class),e},"drawRect"),d=n((a,t)=>{const e={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};o(a,e).lower()},"drawBackgroundRect"),g=n((a,t)=>{const e=t.text.replace(c," "),r=a.append("text");r.attr("x",t.x),r.attr("y",t.y),r.attr("class","legend"),r.style("text-anchor",t.anchor),t.class&&r.attr("class",t.class);const s=r.append("tspan");return s.attr("x",t.x+t.textMargin*2),s.text(e),r},"drawText"),m=n((a,t,e,r)=>{const s=a.append("image");s.attr("x",t),s.attr("y",e);const i=l(r);s.attr("xlink:href",i)},"drawImage"),h=n((a,t,e,r)=>{const s=a.append("use");s.attr("x",t),s.attr("y",e);const i=l(r);s.attr("xlink:href",`#${i}`)},"drawEmbeddedImage"),y=n(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),p=n(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj");export{p as a,d as b,h as c,o as d,m as e,g as f,y as g}; +import{_ as n,W as c,m as l}from"./index-BmyXM-jo.js";var o=n((a,t)=>{const e=a.append("rect");if(e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),t.name&&e.attr("name",t.name),t.rx&&e.attr("rx",t.rx),t.ry&&e.attr("ry",t.ry),t.attrs!==void 0)for(const r in t.attrs)e.attr(r,t.attrs[r]);return t.class&&e.attr("class",t.class),e},"drawRect"),d=n((a,t)=>{const e={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};o(a,e).lower()},"drawBackgroundRect"),g=n((a,t)=>{const e=t.text.replace(c," "),r=a.append("text");r.attr("x",t.x),r.attr("y",t.y),r.attr("class","legend"),r.style("text-anchor",t.anchor),t.class&&r.attr("class",t.class);const s=r.append("tspan");return s.attr("x",t.x+t.textMargin*2),s.text(e),r},"drawText"),m=n((a,t,e,r)=>{const s=a.append("image");s.attr("x",t),s.attr("y",e);const i=l(r);s.attr("xlink:href",i)},"drawImage"),h=n((a,t,e,r)=>{const s=a.append("use");s.attr("x",t),s.attr("y",e);const i=l(r);s.attr("xlink:href",`#${i}`)},"drawEmbeddedImage"),y=n(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),p=n(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj");export{p as a,d as b,h as c,o as d,m as e,g as f,y as g}; diff --git a/assets/chunk-YWFND7JV-CHuoUZPA.js b/assets/chunk-YWFND7JV-Cxhz5tcw.js similarity index 99% rename from assets/chunk-YWFND7JV-CHuoUZPA.js rename to assets/chunk-YWFND7JV-Cxhz5tcw.js index 9054b26..df79c92 100644 --- a/assets/chunk-YWFND7JV-CHuoUZPA.js +++ b/assets/chunk-YWFND7JV-Cxhz5tcw.js @@ -1 +1 @@ -import{_ as o,j as T,l as L,d as N,T as A,al as ct,am as U,U as lt,i as J}from"./index-DqL3MUN2.js";function X(l,t){t&&l.attr("style",t)}o(X,"applyStyle");function Z(l){const t=T(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),c=t.append("xhtml:div"),e=l.label,s=l.isNode?"nodeLabel":"edgeLabel",r=c.append("span");return r.html(e),X(r,l.labelStyle),r.attr("class",s),X(c,l.labelStyle),c.style("display","inline-block"),c.style("white-space","nowrap"),c.attr("xmlns","http://www.w3.org/1999/xhtml"),t.node()}o(Z,"addHtmlLabel");var nt=o((l,t,c,e)=>{let s=l||"";if(typeof s=="object"&&(s=s[0]),A(N().flowchart.htmlLabels)){s=s.replace(/\\n|\n/g,"
"),L.debug("vertexText"+s);const r={isNode:e,label:ct(U(s)),labelStyle:t.replace("fill:","color:")};return Z(r)}else{const r=document.createElementNS("http://www.w3.org/2000/svg","text");r.setAttribute("style",t.replace("color:","fill:"));let a=[];typeof s=="string"?a=s.split(/\\n|\n|/gi):Array.isArray(s)?a=s:a=[];for(const i of a){const n=document.createElementNS("http://www.w3.org/2000/svg","tspan");n.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),n.setAttribute("dy","1em"),n.setAttribute("x","0"),c?n.setAttribute("class","title-row"):n.setAttribute("class","row"),n.textContent=i.trim(),r.appendChild(n)}return r}},"createLabel"),R=nt,_=o(async(l,t,c,e)=>{const s=N();let r;const a=t.useHtmlLabels||A(s.flowchart.htmlLabels);c?r=c:r="node default";const i=l.insert("g").attr("class",r).attr("id",t.domId||t.id),n=i.insert("g").attr("class","label").attr("style",t.labelStyle);let y;t.labelText===void 0?y="":y=typeof t.labelText=="string"?t.labelText:t.labelText[0];const h=n.node();let x;t.labelType==="markdown"?x=lt(n,J(U(y),s),{useHtmlLabels:a,width:t.width||s.flowchart.wrappingWidth,classes:"markdown-node-label"},s):x=h.appendChild(R(J(U(y),s),t.labelStyle,!1,e));let f=x.getBBox();const g=t.padding/2;if(A(s.flowchart.htmlLabels)){const d=x.children[0],m=T(x),p=d.getElementsByTagName("img");if(p){const C=y.replace(/]*>/g,"").trim()==="";await Promise.all([...p].map(S=>new Promise(D=>{function B(){if(S.style.display="flex",S.style.flexDirection="column",C){const j=s.fontSize?s.fontSize:window.getComputedStyle(document.body).fontSize,F=parseInt(j,10)*5+"px";S.style.minWidth=F,S.style.maxWidth=F}else S.style.width="100%";D(S)}o(B,"setupImage"),setTimeout(()=>{S.complete&&B()}),S.addEventListener("error",B),S.addEventListener("load",B)})))}f=d.getBoundingClientRect(),m.attr("width",f.width),m.attr("height",f.height)}return a?n.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"):n.attr("transform","translate(0, "+-f.height/2+")"),t.centerLabel&&n.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),n.insert("rect",":first-child"),{shapeSvg:i,bbox:f,halfPadding:g,label:n}},"labelHelper"),w=o((l,t)=>{const c=t.node().getBBox();l.width=c.width,l.height=c.height},"updateNodeBounds");function E(l,t,c,e){return l.insert("polygon",":first-child").attr("points",e.map(function(s){return s.x+","+s.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-t/2+","+c/2+")")}o(E,"insertPolygonShape");var ht=o(l=>{const t=new Set;for(const c of l)switch(c){case"x":t.add("right"),t.add("left");break;case"y":t.add("up"),t.add("down");break;default:t.add(c);break}return t},"expandAndDeduplicateDirections"),ot=o((l,t,c)=>{const e=ht(l),s=2,r=t.height+2*c.padding,a=r/s,i=t.width+2*a+c.padding,n=c.padding/2;return e.has("right")&&e.has("left")&&e.has("up")&&e.has("down")?[{x:0,y:0},{x:a,y:0},{x:i/2,y:2*n},{x:i-a,y:0},{x:i,y:0},{x:i,y:-r/3},{x:i+2*n,y:-r/2},{x:i,y:-2*r/3},{x:i,y:-r},{x:i-a,y:-r},{x:i/2,y:-r-2*n},{x:a,y:-r},{x:0,y:-r},{x:0,y:-2*r/3},{x:-2*n,y:-r/2},{x:0,y:-r/3}]:e.has("right")&&e.has("left")&&e.has("up")?[{x:a,y:0},{x:i-a,y:0},{x:i,y:-r/2},{x:i-a,y:-r},{x:a,y:-r},{x:0,y:-r/2}]:e.has("right")&&e.has("left")&&e.has("down")?[{x:0,y:0},{x:a,y:-r},{x:i-a,y:-r},{x:i,y:0}]:e.has("right")&&e.has("up")&&e.has("down")?[{x:0,y:0},{x:i,y:-a},{x:i,y:-r+a},{x:0,y:-r}]:e.has("left")&&e.has("up")&&e.has("down")?[{x:i,y:0},{x:0,y:-a},{x:0,y:-r+a},{x:i,y:-r}]:e.has("right")&&e.has("left")?[{x:a,y:0},{x:a,y:-n},{x:i-a,y:-n},{x:i-a,y:0},{x:i,y:-r/2},{x:i-a,y:-r},{x:i-a,y:-r+n},{x:a,y:-r+n},{x:a,y:-r},{x:0,y:-r/2}]:e.has("up")&&e.has("down")?[{x:i/2,y:0},{x:0,y:-n},{x:a,y:-n},{x:a,y:-r+n},{x:0,y:-r+n},{x:i/2,y:-r},{x:i,y:-r+n},{x:i-a,y:-r+n},{x:i-a,y:-n},{x:i,y:-n}]:e.has("right")&&e.has("up")?[{x:0,y:0},{x:i,y:-a},{x:0,y:-r}]:e.has("right")&&e.has("down")?[{x:0,y:0},{x:i,y:0},{x:0,y:-r}]:e.has("left")&&e.has("up")?[{x:i,y:0},{x:0,y:-a},{x:i,y:-r}]:e.has("left")&&e.has("down")?[{x:i,y:0},{x:0,y:0},{x:i,y:-r}]:e.has("right")?[{x:a,y:-n},{x:a,y:-n},{x:i-a,y:-n},{x:i-a,y:0},{x:i,y:-r/2},{x:i-a,y:-r},{x:i-a,y:-r+n},{x:a,y:-r+n},{x:a,y:-r+n}]:e.has("left")?[{x:a,y:0},{x:a,y:-n},{x:i-a,y:-n},{x:i-a,y:-r+n},{x:a,y:-r+n},{x:a,y:-r},{x:0,y:-r/2}]:e.has("up")?[{x:a,y:-n},{x:a,y:-r+n},{x:0,y:-r+n},{x:i/2,y:-r},{x:i,y:-r+n},{x:i-a,y:-r+n},{x:i-a,y:-n}]:e.has("down")?[{x:i/2,y:0},{x:0,y:-n},{x:a,y:-n},{x:a,y:-r+n},{x:i-a,y:-r+n},{x:i-a,y:-n},{x:i,y:-n}]:[{x:0,y:0}]},"getArrowPoints");function tt(l,t){return l.intersect(t)}o(tt,"intersectNode");var yt=tt;function rt(l,t,c,e){var s=l.x,r=l.y,a=s-e.x,i=r-e.y,n=Math.sqrt(t*t*i*i+c*c*a*a),y=Math.abs(t*c*a/n);e.x0}o(K,"sameSign");var gt=st,ft=it;function it(l,t,c){var e=l.x,s=l.y,r=[],a=Number.POSITIVE_INFINITY,i=Number.POSITIVE_INFINITY;typeof t.forEach=="function"?t.forEach(function(d){a=Math.min(a,d.x),i=Math.min(i,d.y)}):(a=Math.min(a,t.x),i=Math.min(i,t.y));for(var n=e-l.width/2-a,y=s-l.height/2-i,h=0;h1&&r.sort(function(d,m){var p=d.x-c.x,C=d.y-c.y,S=Math.sqrt(p*p+C*C),D=m.x-c.x,B=m.y-c.y,j=Math.sqrt(D*D+B*B);return S{var c=l.x,e=l.y,s=t.x-c,r=t.y-e,a=l.width/2,i=l.height/2,n,y;return Math.abs(r)*a>Math.abs(s)*i?(r<0&&(i=-i),n=r===0?0:i*s/r,y=i):(s<0&&(a=-a),n=a,y=s===0?0:a*r/s),{x:c+n,y:e+y}},"intersectRect"),pt=dt,u={node:yt,circle:xt,ellipse:at,polygon:ft,rect:pt},ut=o(async(l,t)=>{t.useHtmlLabels||N().flowchart.htmlLabels||(t.centerLabel=!0);const{shapeSvg:e,bbox:s,halfPadding:r}=await _(l,t,"node "+t.classes,!0);L.info("Classes = ",t.classes);const a=e.insert("rect",":first-child");return a.attr("rx",t.rx).attr("ry",t.ry).attr("x",-s.width/2-r).attr("y",-s.height/2-r).attr("width",s.width+t.padding).attr("height",s.height+t.padding),w(t,a),t.intersect=function(i){return u.rect(t,i)},e},"note"),wt=ut,V=o(l=>l?" "+l:"","formatClass"),I=o((l,t)=>`${t||"node default"}${V(l.classes)} ${V(l.class)}`,"getClassesFromNode"),G=o(async(l,t)=>{const{shapeSvg:c,bbox:e}=await _(l,t,I(t,void 0),!0),s=e.width+t.padding,r=e.height+t.padding,a=s+r,i=[{x:a/2,y:0},{x:a,y:-a/2},{x:a/2,y:-a},{x:0,y:-a/2}];L.info("Question main (Circle)");const n=E(c,a,a,i);return n.attr("style",t.style),w(t,n),t.intersect=function(y){return L.warn("Intersect called"),u.polygon(t,i,y)},c},"question"),bt=o((l,t)=>{const c=l.insert("g").attr("class","node default").attr("id",t.domId||t.id),e=28,s=[{x:0,y:e/2},{x:e/2,y:0},{x:0,y:-e/2},{x:-e/2,y:0}];return c.insert("polygon",":first-child").attr("points",s.map(function(a){return a.x+","+a.y}).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),t.width=28,t.height=28,t.intersect=function(a){return u.circle(t,14,a)},c},"choice"),vt=o(async(l,t)=>{const{shapeSvg:c,bbox:e}=await _(l,t,I(t,void 0),!0),s=4,r=e.height+t.padding,a=r/s,i=e.width+2*a+t.padding,n=[{x:a,y:0},{x:i-a,y:0},{x:i,y:-r/2},{x:i-a,y:-r},{x:a,y:-r},{x:0,y:-r/2}],y=E(c,i,r,n);return y.attr("style",t.style),w(t,y),t.intersect=function(h){return u.polygon(t,n,h)},c},"hexagon"),mt=o(async(l,t)=>{const{shapeSvg:c,bbox:e}=await _(l,t,void 0,!0),s=2,r=e.height+2*t.padding,a=r/s,i=e.width+2*a+t.padding,n=ot(t.directions,e,t),y=E(c,i,r,n);return y.attr("style",t.style),w(t,y),t.intersect=function(h){return u.polygon(t,n,h)},c},"block_arrow"),St=o(async(l,t)=>{const{shapeSvg:c,bbox:e}=await _(l,t,I(t,void 0),!0),s=e.width+t.padding,r=e.height+t.padding,a=[{x:-r/2,y:0},{x:s,y:0},{x:s,y:-r},{x:-r/2,y:-r},{x:0,y:-r/2}];return E(c,s,r,a).attr("style",t.style),t.width=s+r,t.height=r,t.intersect=function(n){return u.polygon(t,a,n)},c},"rect_left_inv_arrow"),Lt=o(async(l,t)=>{const{shapeSvg:c,bbox:e}=await _(l,t,I(t),!0),s=e.width+t.padding,r=e.height+t.padding,a=[{x:-2*r/6,y:0},{x:s-r/6,y:0},{x:s+2*r/6,y:-r},{x:r/6,y:-r}],i=E(c,s,r,a);return i.attr("style",t.style),w(t,i),t.intersect=function(n){return u.polygon(t,a,n)},c},"lean_right"),_t=o(async(l,t)=>{const{shapeSvg:c,bbox:e}=await _(l,t,I(t,void 0),!0),s=e.width+t.padding,r=e.height+t.padding,a=[{x:2*r/6,y:0},{x:s+r/6,y:0},{x:s-2*r/6,y:-r},{x:-r/6,y:-r}],i=E(c,s,r,a);return i.attr("style",t.style),w(t,i),t.intersect=function(n){return u.polygon(t,a,n)},c},"lean_left"),Bt=o(async(l,t)=>{const{shapeSvg:c,bbox:e}=await _(l,t,I(t,void 0),!0),s=e.width+t.padding,r=e.height+t.padding,a=[{x:-2*r/6,y:0},{x:s+2*r/6,y:0},{x:s-r/6,y:-r},{x:r/6,y:-r}],i=E(c,s,r,a);return i.attr("style",t.style),w(t,i),t.intersect=function(n){return u.polygon(t,a,n)},c},"trapezoid"),Ct=o(async(l,t)=>{const{shapeSvg:c,bbox:e}=await _(l,t,I(t,void 0),!0),s=e.width+t.padding,r=e.height+t.padding,a=[{x:r/6,y:0},{x:s-r/6,y:0},{x:s+2*r/6,y:-r},{x:-2*r/6,y:-r}],i=E(c,s,r,a);return i.attr("style",t.style),w(t,i),t.intersect=function(n){return u.polygon(t,a,n)},c},"inv_trapezoid"),Tt=o(async(l,t)=>{const{shapeSvg:c,bbox:e}=await _(l,t,I(t,void 0),!0),s=e.width+t.padding,r=e.height+t.padding,a=[{x:0,y:0},{x:s+r/2,y:0},{x:s,y:-r/2},{x:s+r/2,y:-r},{x:0,y:-r}],i=E(c,s,r,a);return i.attr("style",t.style),w(t,i),t.intersect=function(n){return u.polygon(t,a,n)},c},"rect_right_inv_arrow"),kt=o(async(l,t)=>{const{shapeSvg:c,bbox:e}=await _(l,t,I(t,void 0),!0),s=e.width+t.padding,r=s/2,a=r/(2.5+s/50),i=e.height+a+t.padding,n="M 0,"+a+" a "+r+","+a+" 0,0,0 "+s+" 0 a "+r+","+a+" 0,0,0 "+-s+" 0 l 0,"+i+" a "+r+","+a+" 0,0,0 "+s+" 0 l 0,"+-i,y=c.attr("label-offset-y",a).insert("path",":first-child").attr("style",t.style).attr("d",n).attr("transform","translate("+-s/2+","+-(i/2+a)+")");return w(t,y),t.intersect=function(h){const x=u.rect(t,h),f=x.x-t.x;if(r!=0&&(Math.abs(f)t.height/2-a)){let g=a*a*(1-f*f/(r*r));g!=0&&(g=Math.sqrt(g)),g=a-g,h.y-t.y>0&&(g=-g),x.y+=g}return x},c},"cylinder"),Nt=o(async(l,t)=>{const{shapeSvg:c,bbox:e,halfPadding:s}=await _(l,t,"node "+t.classes+" "+t.class,!0),r=c.insert("rect",":first-child"),a=t.positioned?t.width:e.width+t.padding,i=t.positioned?t.height:e.height+t.padding,n=t.positioned?-a/2:-e.width/2-s,y=t.positioned?-i/2:-e.height/2-s;if(r.attr("class","basic label-container").attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",n).attr("y",y).attr("width",a).attr("height",i),t.props){const h=new Set(Object.keys(t.props));t.props.borders&&(O(r,t.props.borders,a,i),h.delete("borders")),h.forEach(x=>{L.warn(`Unknown node property ${x}`)})}return w(t,r),t.intersect=function(h){return u.rect(t,h)},c},"rect"),It=o(async(l,t)=>{const{shapeSvg:c,bbox:e,halfPadding:s}=await _(l,t,"node "+t.classes,!0),r=c.insert("rect",":first-child"),a=t.positioned?t.width:e.width+t.padding,i=t.positioned?t.height:e.height+t.padding,n=t.positioned?-a/2:-e.width/2-s,y=t.positioned?-i/2:-e.height/2-s;if(r.attr("class","basic cluster composite label-container").attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",n).attr("y",y).attr("width",a).attr("height",i),t.props){const h=new Set(Object.keys(t.props));t.props.borders&&(O(r,t.props.borders,a,i),h.delete("borders")),h.forEach(x=>{L.warn(`Unknown node property ${x}`)})}return w(t,r),t.intersect=function(h){return u.rect(t,h)},c},"composite"),Et=o(async(l,t)=>{const{shapeSvg:c}=await _(l,t,"label",!0);L.trace("Classes = ",t.class);const e=c.insert("rect",":first-child"),s=0,r=0;if(e.attr("width",s).attr("height",r),c.attr("class","label edgeLabel"),t.props){const a=new Set(Object.keys(t.props));t.props.borders&&(O(e,t.props.borders,s,r),a.delete("borders")),a.forEach(i=>{L.warn(`Unknown node property ${i}`)})}return w(t,e),t.intersect=function(a){return u.rect(t,a)},c},"labelRect");function O(l,t,c,e){const s=[],r=o(i=>{s.push(i,0)},"addBorder"),a=o(i=>{s.push(0,i)},"skipBorder");t.includes("t")?(L.debug("add top border"),r(c)):a(c),t.includes("r")?(L.debug("add right border"),r(e)):a(e),t.includes("b")?(L.debug("add bottom border"),r(c)):a(c),t.includes("l")?(L.debug("add left border"),r(e)):a(e),l.attr("stroke-dasharray",s.join(" "))}o(O,"applyNodePropertyBorders");var Dt=o((l,t)=>{let c;t.classes?c="node "+t.classes:c="node default";const e=l.insert("g").attr("class",c).attr("id",t.domId||t.id),s=e.insert("rect",":first-child"),r=e.insert("line"),a=e.insert("g").attr("class","label"),i=t.labelText.flat?t.labelText.flat():t.labelText;let n="";typeof i=="object"?n=i[0]:n=i,L.info("Label text abc79",n,i,typeof i=="object");const y=a.node().appendChild(R(n,t.labelStyle,!0,!0));let h={width:0,height:0};if(A(N().flowchart.htmlLabels)){const m=y.children[0],p=T(y);h=m.getBoundingClientRect(),p.attr("width",h.width),p.attr("height",h.height)}L.info("Text 2",i);const x=i.slice(1,i.length);let f=y.getBBox();const g=a.node().appendChild(R(x.join?x.join("
"):x,t.labelStyle,!0,!0));if(A(N().flowchart.htmlLabels)){const m=g.children[0],p=T(g);h=m.getBoundingClientRect(),p.attr("width",h.width),p.attr("height",h.height)}const d=t.padding/2;return T(g).attr("transform","translate( "+(h.width>f.width?0:(f.width-h.width)/2)+", "+(f.height+d+5)+")"),T(y).attr("transform","translate( "+(h.width{const{shapeSvg:c,bbox:e}=await _(l,t,I(t,void 0),!0),s=e.height+t.padding,r=e.width+s/4+t.padding,a=c.insert("rect",":first-child").attr("style",t.style).attr("rx",s/2).attr("ry",s/2).attr("x",-r/2).attr("y",-s/2).attr("width",r).attr("height",s);return w(t,a),t.intersect=function(i){return u.rect(t,i)},c},"stadium"),At=o(async(l,t)=>{const{shapeSvg:c,bbox:e,halfPadding:s}=await _(l,t,I(t,void 0),!0),r=c.insert("circle",":first-child");return r.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",e.width/2+s).attr("width",e.width+t.padding).attr("height",e.height+t.padding),L.info("Circle main"),w(t,r),t.intersect=function(a){return L.info("Circle intersect",t,e.width/2+s,a),u.circle(t,e.width/2+s,a)},c},"circle"),jt=o(async(l,t)=>{const{shapeSvg:c,bbox:e,halfPadding:s}=await _(l,t,I(t,void 0),!0),r=5,a=c.insert("g",":first-child"),i=a.insert("circle"),n=a.insert("circle");return a.attr("class",t.class),i.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",e.width/2+s+r).attr("width",e.width+t.padding+r*2).attr("height",e.height+t.padding+r*2),n.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",e.width/2+s).attr("width",e.width+t.padding).attr("height",e.height+t.padding),L.info("DoubleCircle main"),w(t,i),t.intersect=function(y){return L.info("DoubleCircle intersect",t,e.width/2+s+r,y),u.circle(t,e.width/2+s+r,y)},c},"doublecircle"),Pt=o(async(l,t)=>{const{shapeSvg:c,bbox:e}=await _(l,t,I(t,void 0),!0),s=e.width+t.padding,r=e.height+t.padding,a=[{x:0,y:0},{x:s,y:0},{x:s,y:-r},{x:0,y:-r},{x:0,y:0},{x:-8,y:0},{x:s+8,y:0},{x:s+8,y:-r},{x:-8,y:-r},{x:-8,y:0}],i=E(c,s,r,a);return i.attr("style",t.style),w(t,i),t.intersect=function(n){return u.polygon(t,a,n)},c},"subroutine"),Rt=o((l,t)=>{const c=l.insert("g").attr("class","node default").attr("id",t.domId||t.id),e=c.insert("circle",":first-child");return e.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),w(t,e),t.intersect=function(s){return u.circle(t,7,s)},c},"start"),Q=o((l,t,c)=>{const e=l.insert("g").attr("class","node default").attr("id",t.domId||t.id);let s=70,r=10;c==="LR"&&(s=10,r=70);const a=e.append("rect").attr("x",-1*s/2).attr("y",-1*r/2).attr("width",s).attr("height",r).attr("class","fork-join");return w(t,a),t.height=t.height+t.padding/2,t.width=t.width+t.padding/2,t.intersect=function(i){return u.rect(t,i)},e},"forkJoin"),Ht=o((l,t)=>{const c=l.insert("g").attr("class","node default").attr("id",t.domId||t.id),e=c.insert("circle",":first-child"),s=c.insert("circle",":first-child");return s.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),e.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),w(t,s),t.intersect=function(r){return u.circle(t,7,r)},c},"end"),zt=o((l,t)=>{var Y;const c=t.padding/2,e=4,s=8;let r;t.classes?r="node "+t.classes:r="node default";const a=l.insert("g").attr("class",r).attr("id",t.domId||t.id),i=a.insert("rect",":first-child"),n=a.insert("line"),y=a.insert("line");let h=0,x=e;const f=a.insert("g").attr("class","label");let g=0;const d=(Y=t.classData.annotations)==null?void 0:Y[0],m=t.classData.annotations[0]?"«"+t.classData.annotations[0]+"»":"",p=f.node().appendChild(R(m,t.labelStyle,!0,!0));let C=p.getBBox();if(A(N().flowchart.htmlLabels)){const b=p.children[0],v=T(p);C=b.getBoundingClientRect(),v.attr("width",C.width),v.attr("height",C.height)}t.classData.annotations[0]&&(x+=C.height+e,h+=C.width);let S=t.classData.label;t.classData.type!==void 0&&t.classData.type!==""&&(N().flowchart.htmlLabels?S+="<"+t.classData.type+">":S+="<"+t.classData.type+">");const D=f.node().appendChild(R(S,t.labelStyle,!0,!0));T(D).attr("class","classTitle");let B=D.getBBox();if(A(N().flowchart.htmlLabels)){const b=D.children[0],v=T(D);B=b.getBoundingClientRect(),v.attr("width",B.width),v.attr("height",B.height)}x+=B.height+e,B.width>h&&(h=B.width);const j=[];t.classData.members.forEach(b=>{const v=b.getDisplayDetails();let P=v.displayText;N().flowchart.htmlLabels&&(P=P.replace(//g,">"));const M=f.node().appendChild(R(P,v.cssStyle?v.cssStyle:t.labelStyle,!0,!0));let k=M.getBBox();if(A(N().flowchart.htmlLabels)){const $=M.children[0],z=T(M);k=$.getBoundingClientRect(),z.attr("width",k.width),z.attr("height",k.height)}k.width>h&&(h=k.width),x+=k.height+e,j.push(M)}),x+=s;const W=[];if(t.classData.methods.forEach(b=>{const v=b.getDisplayDetails();let P=v.displayText;N().flowchart.htmlLabels&&(P=P.replace(//g,">"));const M=f.node().appendChild(R(P,v.cssStyle?v.cssStyle:t.labelStyle,!0,!0));let k=M.getBBox();if(A(N().flowchart.htmlLabels)){const $=M.children[0],z=T(M);k=$.getBoundingClientRect(),z.attr("width",k.width),z.attr("height",k.height)}k.width>h&&(h=k.width),x+=k.height+e,W.push(M)}),x+=s,d){let b=(h-C.width)/2;T(p).attr("transform","translate( "+(-1*h/2+b)+", "+-1*x/2+")"),g=C.height+e}let F=(h-B.width)/2;return T(D).attr("transform","translate( "+(-1*h/2+F)+", "+(-1*x/2+g)+")"),g+=B.height+e,n.attr("class","divider").attr("x1",-h/2-c).attr("x2",h/2+c).attr("y1",-x/2-c+s+g).attr("y2",-x/2-c+s+g),g+=s,j.forEach(b=>{T(b).attr("transform","translate( "+-h/2+", "+(-1*x/2+g+s/2)+")");const v=b==null?void 0:b.getBBox();g+=((v==null?void 0:v.height)??0)+e}),g+=s,y.attr("class","divider").attr("x1",-h/2-c).attr("x2",h/2+c).attr("y1",-x/2-c+s+g).attr("y2",-x/2-c+s+g),g+=s,W.forEach(b=>{T(b).attr("transform","translate( "+-h/2+", "+(-1*x/2+g)+")");const v=b==null?void 0:b.getBBox();g+=((v==null?void 0:v.height)??0)+e}),i.attr("style",t.style).attr("class","outer title-state").attr("x",-h/2-c).attr("y",-(x/2)-c).attr("width",h+t.padding).attr("height",x+t.padding),w(t,i),t.intersect=function(b){return u.rect(t,b)},a},"class_box"),q={rhombus:G,composite:It,question:G,rect:Nt,labelRect:Et,rectWithTitle:Dt,choice:bt,circle:At,doublecircle:jt,stadium:Mt,hexagon:vt,block_arrow:mt,rect_left_inv_arrow:St,lean_right:Lt,lean_left:_t,trapezoid:Bt,inv_trapezoid:Ct,rect_right_inv_arrow:Tt,cylinder:kt,start:Rt,end:Ht,note:wt,subroutine:Pt,fork:Q,join:Q,class_box:zt},H={},Ot=o(async(l,t,c)=>{let e,s;if(t.link){let r;N().securityLevel==="sandbox"?r="_top":t.linkTarget&&(r=t.linkTarget||"_blank"),e=l.insert("svg:a").attr("xlink:href",t.link).attr("target",r),s=await q[t.shape](e,t,c)}else s=await q[t.shape](l,t,c),e=s;return t.tooltip&&s.attr("title",t.tooltip),t.class&&s.attr("class","node default "+t.class),H[t.id]=e,t.haveCallback&&H[t.id].attr("class",H[t.id].attr("class")+" clickable"),e},"insertNode"),Wt=o((l,t)=>{H[t.id]=l},"setNodeElem"),$t=o(()=>{H={}},"clear"),Ut=o(l=>{const t=H[l.id];L.trace("Transforming node",l.diff,l,"translate("+(l.x-l.width/2-5)+", "+l.width/2+")");const c=8,e=l.diff||0;return l.clusterNode?t.attr("transform","translate("+(l.x+e-l.width/2)+", "+(l.y-l.height/2-c)+")"):t.attr("transform","translate("+l.x+", "+l.y+")"),e},"positionNode");export{R as a,pt as b,$t as c,Ot as i,Ut as p,Wt as s,w as u}; +import{_ as o,j as T,l as L,d as N,T as A,al as ct,am as U,U as lt,i as J}from"./index-BmyXM-jo.js";function X(l,t){t&&l.attr("style",t)}o(X,"applyStyle");function Z(l){const t=T(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),c=t.append("xhtml:div"),e=l.label,s=l.isNode?"nodeLabel":"edgeLabel",r=c.append("span");return r.html(e),X(r,l.labelStyle),r.attr("class",s),X(c,l.labelStyle),c.style("display","inline-block"),c.style("white-space","nowrap"),c.attr("xmlns","http://www.w3.org/1999/xhtml"),t.node()}o(Z,"addHtmlLabel");var nt=o((l,t,c,e)=>{let s=l||"";if(typeof s=="object"&&(s=s[0]),A(N().flowchart.htmlLabels)){s=s.replace(/\\n|\n/g,"
"),L.debug("vertexText"+s);const r={isNode:e,label:ct(U(s)),labelStyle:t.replace("fill:","color:")};return Z(r)}else{const r=document.createElementNS("http://www.w3.org/2000/svg","text");r.setAttribute("style",t.replace("color:","fill:"));let a=[];typeof s=="string"?a=s.split(/\\n|\n|/gi):Array.isArray(s)?a=s:a=[];for(const i of a){const n=document.createElementNS("http://www.w3.org/2000/svg","tspan");n.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),n.setAttribute("dy","1em"),n.setAttribute("x","0"),c?n.setAttribute("class","title-row"):n.setAttribute("class","row"),n.textContent=i.trim(),r.appendChild(n)}return r}},"createLabel"),R=nt,_=o(async(l,t,c,e)=>{const s=N();let r;const a=t.useHtmlLabels||A(s.flowchart.htmlLabels);c?r=c:r="node default";const i=l.insert("g").attr("class",r).attr("id",t.domId||t.id),n=i.insert("g").attr("class","label").attr("style",t.labelStyle);let y;t.labelText===void 0?y="":y=typeof t.labelText=="string"?t.labelText:t.labelText[0];const h=n.node();let x;t.labelType==="markdown"?x=lt(n,J(U(y),s),{useHtmlLabels:a,width:t.width||s.flowchart.wrappingWidth,classes:"markdown-node-label"},s):x=h.appendChild(R(J(U(y),s),t.labelStyle,!1,e));let f=x.getBBox();const g=t.padding/2;if(A(s.flowchart.htmlLabels)){const d=x.children[0],m=T(x),p=d.getElementsByTagName("img");if(p){const C=y.replace(/]*>/g,"").trim()==="";await Promise.all([...p].map(S=>new Promise(D=>{function B(){if(S.style.display="flex",S.style.flexDirection="column",C){const j=s.fontSize?s.fontSize:window.getComputedStyle(document.body).fontSize,F=parseInt(j,10)*5+"px";S.style.minWidth=F,S.style.maxWidth=F}else S.style.width="100%";D(S)}o(B,"setupImage"),setTimeout(()=>{S.complete&&B()}),S.addEventListener("error",B),S.addEventListener("load",B)})))}f=d.getBoundingClientRect(),m.attr("width",f.width),m.attr("height",f.height)}return a?n.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"):n.attr("transform","translate(0, "+-f.height/2+")"),t.centerLabel&&n.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),n.insert("rect",":first-child"),{shapeSvg:i,bbox:f,halfPadding:g,label:n}},"labelHelper"),w=o((l,t)=>{const c=t.node().getBBox();l.width=c.width,l.height=c.height},"updateNodeBounds");function E(l,t,c,e){return l.insert("polygon",":first-child").attr("points",e.map(function(s){return s.x+","+s.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-t/2+","+c/2+")")}o(E,"insertPolygonShape");var ht=o(l=>{const t=new Set;for(const c of l)switch(c){case"x":t.add("right"),t.add("left");break;case"y":t.add("up"),t.add("down");break;default:t.add(c);break}return t},"expandAndDeduplicateDirections"),ot=o((l,t,c)=>{const e=ht(l),s=2,r=t.height+2*c.padding,a=r/s,i=t.width+2*a+c.padding,n=c.padding/2;return e.has("right")&&e.has("left")&&e.has("up")&&e.has("down")?[{x:0,y:0},{x:a,y:0},{x:i/2,y:2*n},{x:i-a,y:0},{x:i,y:0},{x:i,y:-r/3},{x:i+2*n,y:-r/2},{x:i,y:-2*r/3},{x:i,y:-r},{x:i-a,y:-r},{x:i/2,y:-r-2*n},{x:a,y:-r},{x:0,y:-r},{x:0,y:-2*r/3},{x:-2*n,y:-r/2},{x:0,y:-r/3}]:e.has("right")&&e.has("left")&&e.has("up")?[{x:a,y:0},{x:i-a,y:0},{x:i,y:-r/2},{x:i-a,y:-r},{x:a,y:-r},{x:0,y:-r/2}]:e.has("right")&&e.has("left")&&e.has("down")?[{x:0,y:0},{x:a,y:-r},{x:i-a,y:-r},{x:i,y:0}]:e.has("right")&&e.has("up")&&e.has("down")?[{x:0,y:0},{x:i,y:-a},{x:i,y:-r+a},{x:0,y:-r}]:e.has("left")&&e.has("up")&&e.has("down")?[{x:i,y:0},{x:0,y:-a},{x:0,y:-r+a},{x:i,y:-r}]:e.has("right")&&e.has("left")?[{x:a,y:0},{x:a,y:-n},{x:i-a,y:-n},{x:i-a,y:0},{x:i,y:-r/2},{x:i-a,y:-r},{x:i-a,y:-r+n},{x:a,y:-r+n},{x:a,y:-r},{x:0,y:-r/2}]:e.has("up")&&e.has("down")?[{x:i/2,y:0},{x:0,y:-n},{x:a,y:-n},{x:a,y:-r+n},{x:0,y:-r+n},{x:i/2,y:-r},{x:i,y:-r+n},{x:i-a,y:-r+n},{x:i-a,y:-n},{x:i,y:-n}]:e.has("right")&&e.has("up")?[{x:0,y:0},{x:i,y:-a},{x:0,y:-r}]:e.has("right")&&e.has("down")?[{x:0,y:0},{x:i,y:0},{x:0,y:-r}]:e.has("left")&&e.has("up")?[{x:i,y:0},{x:0,y:-a},{x:i,y:-r}]:e.has("left")&&e.has("down")?[{x:i,y:0},{x:0,y:0},{x:i,y:-r}]:e.has("right")?[{x:a,y:-n},{x:a,y:-n},{x:i-a,y:-n},{x:i-a,y:0},{x:i,y:-r/2},{x:i-a,y:-r},{x:i-a,y:-r+n},{x:a,y:-r+n},{x:a,y:-r+n}]:e.has("left")?[{x:a,y:0},{x:a,y:-n},{x:i-a,y:-n},{x:i-a,y:-r+n},{x:a,y:-r+n},{x:a,y:-r},{x:0,y:-r/2}]:e.has("up")?[{x:a,y:-n},{x:a,y:-r+n},{x:0,y:-r+n},{x:i/2,y:-r},{x:i,y:-r+n},{x:i-a,y:-r+n},{x:i-a,y:-n}]:e.has("down")?[{x:i/2,y:0},{x:0,y:-n},{x:a,y:-n},{x:a,y:-r+n},{x:i-a,y:-r+n},{x:i-a,y:-n},{x:i,y:-n}]:[{x:0,y:0}]},"getArrowPoints");function tt(l,t){return l.intersect(t)}o(tt,"intersectNode");var yt=tt;function rt(l,t,c,e){var s=l.x,r=l.y,a=s-e.x,i=r-e.y,n=Math.sqrt(t*t*i*i+c*c*a*a),y=Math.abs(t*c*a/n);e.x0}o(K,"sameSign");var gt=st,ft=it;function it(l,t,c){var e=l.x,s=l.y,r=[],a=Number.POSITIVE_INFINITY,i=Number.POSITIVE_INFINITY;typeof t.forEach=="function"?t.forEach(function(d){a=Math.min(a,d.x),i=Math.min(i,d.y)}):(a=Math.min(a,t.x),i=Math.min(i,t.y));for(var n=e-l.width/2-a,y=s-l.height/2-i,h=0;h1&&r.sort(function(d,m){var p=d.x-c.x,C=d.y-c.y,S=Math.sqrt(p*p+C*C),D=m.x-c.x,B=m.y-c.y,j=Math.sqrt(D*D+B*B);return S{var c=l.x,e=l.y,s=t.x-c,r=t.y-e,a=l.width/2,i=l.height/2,n,y;return Math.abs(r)*a>Math.abs(s)*i?(r<0&&(i=-i),n=r===0?0:i*s/r,y=i):(s<0&&(a=-a),n=a,y=s===0?0:a*r/s),{x:c+n,y:e+y}},"intersectRect"),pt=dt,u={node:yt,circle:xt,ellipse:at,polygon:ft,rect:pt},ut=o(async(l,t)=>{t.useHtmlLabels||N().flowchart.htmlLabels||(t.centerLabel=!0);const{shapeSvg:e,bbox:s,halfPadding:r}=await _(l,t,"node "+t.classes,!0);L.info("Classes = ",t.classes);const a=e.insert("rect",":first-child");return a.attr("rx",t.rx).attr("ry",t.ry).attr("x",-s.width/2-r).attr("y",-s.height/2-r).attr("width",s.width+t.padding).attr("height",s.height+t.padding),w(t,a),t.intersect=function(i){return u.rect(t,i)},e},"note"),wt=ut,V=o(l=>l?" "+l:"","formatClass"),I=o((l,t)=>`${t||"node default"}${V(l.classes)} ${V(l.class)}`,"getClassesFromNode"),G=o(async(l,t)=>{const{shapeSvg:c,bbox:e}=await _(l,t,I(t,void 0),!0),s=e.width+t.padding,r=e.height+t.padding,a=s+r,i=[{x:a/2,y:0},{x:a,y:-a/2},{x:a/2,y:-a},{x:0,y:-a/2}];L.info("Question main (Circle)");const n=E(c,a,a,i);return n.attr("style",t.style),w(t,n),t.intersect=function(y){return L.warn("Intersect called"),u.polygon(t,i,y)},c},"question"),bt=o((l,t)=>{const c=l.insert("g").attr("class","node default").attr("id",t.domId||t.id),e=28,s=[{x:0,y:e/2},{x:e/2,y:0},{x:0,y:-e/2},{x:-e/2,y:0}];return c.insert("polygon",":first-child").attr("points",s.map(function(a){return a.x+","+a.y}).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),t.width=28,t.height=28,t.intersect=function(a){return u.circle(t,14,a)},c},"choice"),vt=o(async(l,t)=>{const{shapeSvg:c,bbox:e}=await _(l,t,I(t,void 0),!0),s=4,r=e.height+t.padding,a=r/s,i=e.width+2*a+t.padding,n=[{x:a,y:0},{x:i-a,y:0},{x:i,y:-r/2},{x:i-a,y:-r},{x:a,y:-r},{x:0,y:-r/2}],y=E(c,i,r,n);return y.attr("style",t.style),w(t,y),t.intersect=function(h){return u.polygon(t,n,h)},c},"hexagon"),mt=o(async(l,t)=>{const{shapeSvg:c,bbox:e}=await _(l,t,void 0,!0),s=2,r=e.height+2*t.padding,a=r/s,i=e.width+2*a+t.padding,n=ot(t.directions,e,t),y=E(c,i,r,n);return y.attr("style",t.style),w(t,y),t.intersect=function(h){return u.polygon(t,n,h)},c},"block_arrow"),St=o(async(l,t)=>{const{shapeSvg:c,bbox:e}=await _(l,t,I(t,void 0),!0),s=e.width+t.padding,r=e.height+t.padding,a=[{x:-r/2,y:0},{x:s,y:0},{x:s,y:-r},{x:-r/2,y:-r},{x:0,y:-r/2}];return E(c,s,r,a).attr("style",t.style),t.width=s+r,t.height=r,t.intersect=function(n){return u.polygon(t,a,n)},c},"rect_left_inv_arrow"),Lt=o(async(l,t)=>{const{shapeSvg:c,bbox:e}=await _(l,t,I(t),!0),s=e.width+t.padding,r=e.height+t.padding,a=[{x:-2*r/6,y:0},{x:s-r/6,y:0},{x:s+2*r/6,y:-r},{x:r/6,y:-r}],i=E(c,s,r,a);return i.attr("style",t.style),w(t,i),t.intersect=function(n){return u.polygon(t,a,n)},c},"lean_right"),_t=o(async(l,t)=>{const{shapeSvg:c,bbox:e}=await _(l,t,I(t,void 0),!0),s=e.width+t.padding,r=e.height+t.padding,a=[{x:2*r/6,y:0},{x:s+r/6,y:0},{x:s-2*r/6,y:-r},{x:-r/6,y:-r}],i=E(c,s,r,a);return i.attr("style",t.style),w(t,i),t.intersect=function(n){return u.polygon(t,a,n)},c},"lean_left"),Bt=o(async(l,t)=>{const{shapeSvg:c,bbox:e}=await _(l,t,I(t,void 0),!0),s=e.width+t.padding,r=e.height+t.padding,a=[{x:-2*r/6,y:0},{x:s+2*r/6,y:0},{x:s-r/6,y:-r},{x:r/6,y:-r}],i=E(c,s,r,a);return i.attr("style",t.style),w(t,i),t.intersect=function(n){return u.polygon(t,a,n)},c},"trapezoid"),Ct=o(async(l,t)=>{const{shapeSvg:c,bbox:e}=await _(l,t,I(t,void 0),!0),s=e.width+t.padding,r=e.height+t.padding,a=[{x:r/6,y:0},{x:s-r/6,y:0},{x:s+2*r/6,y:-r},{x:-2*r/6,y:-r}],i=E(c,s,r,a);return i.attr("style",t.style),w(t,i),t.intersect=function(n){return u.polygon(t,a,n)},c},"inv_trapezoid"),Tt=o(async(l,t)=>{const{shapeSvg:c,bbox:e}=await _(l,t,I(t,void 0),!0),s=e.width+t.padding,r=e.height+t.padding,a=[{x:0,y:0},{x:s+r/2,y:0},{x:s,y:-r/2},{x:s+r/2,y:-r},{x:0,y:-r}],i=E(c,s,r,a);return i.attr("style",t.style),w(t,i),t.intersect=function(n){return u.polygon(t,a,n)},c},"rect_right_inv_arrow"),kt=o(async(l,t)=>{const{shapeSvg:c,bbox:e}=await _(l,t,I(t,void 0),!0),s=e.width+t.padding,r=s/2,a=r/(2.5+s/50),i=e.height+a+t.padding,n="M 0,"+a+" a "+r+","+a+" 0,0,0 "+s+" 0 a "+r+","+a+" 0,0,0 "+-s+" 0 l 0,"+i+" a "+r+","+a+" 0,0,0 "+s+" 0 l 0,"+-i,y=c.attr("label-offset-y",a).insert("path",":first-child").attr("style",t.style).attr("d",n).attr("transform","translate("+-s/2+","+-(i/2+a)+")");return w(t,y),t.intersect=function(h){const x=u.rect(t,h),f=x.x-t.x;if(r!=0&&(Math.abs(f)t.height/2-a)){let g=a*a*(1-f*f/(r*r));g!=0&&(g=Math.sqrt(g)),g=a-g,h.y-t.y>0&&(g=-g),x.y+=g}return x},c},"cylinder"),Nt=o(async(l,t)=>{const{shapeSvg:c,bbox:e,halfPadding:s}=await _(l,t,"node "+t.classes+" "+t.class,!0),r=c.insert("rect",":first-child"),a=t.positioned?t.width:e.width+t.padding,i=t.positioned?t.height:e.height+t.padding,n=t.positioned?-a/2:-e.width/2-s,y=t.positioned?-i/2:-e.height/2-s;if(r.attr("class","basic label-container").attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",n).attr("y",y).attr("width",a).attr("height",i),t.props){const h=new Set(Object.keys(t.props));t.props.borders&&(O(r,t.props.borders,a,i),h.delete("borders")),h.forEach(x=>{L.warn(`Unknown node property ${x}`)})}return w(t,r),t.intersect=function(h){return u.rect(t,h)},c},"rect"),It=o(async(l,t)=>{const{shapeSvg:c,bbox:e,halfPadding:s}=await _(l,t,"node "+t.classes,!0),r=c.insert("rect",":first-child"),a=t.positioned?t.width:e.width+t.padding,i=t.positioned?t.height:e.height+t.padding,n=t.positioned?-a/2:-e.width/2-s,y=t.positioned?-i/2:-e.height/2-s;if(r.attr("class","basic cluster composite label-container").attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",n).attr("y",y).attr("width",a).attr("height",i),t.props){const h=new Set(Object.keys(t.props));t.props.borders&&(O(r,t.props.borders,a,i),h.delete("borders")),h.forEach(x=>{L.warn(`Unknown node property ${x}`)})}return w(t,r),t.intersect=function(h){return u.rect(t,h)},c},"composite"),Et=o(async(l,t)=>{const{shapeSvg:c}=await _(l,t,"label",!0);L.trace("Classes = ",t.class);const e=c.insert("rect",":first-child"),s=0,r=0;if(e.attr("width",s).attr("height",r),c.attr("class","label edgeLabel"),t.props){const a=new Set(Object.keys(t.props));t.props.borders&&(O(e,t.props.borders,s,r),a.delete("borders")),a.forEach(i=>{L.warn(`Unknown node property ${i}`)})}return w(t,e),t.intersect=function(a){return u.rect(t,a)},c},"labelRect");function O(l,t,c,e){const s=[],r=o(i=>{s.push(i,0)},"addBorder"),a=o(i=>{s.push(0,i)},"skipBorder");t.includes("t")?(L.debug("add top border"),r(c)):a(c),t.includes("r")?(L.debug("add right border"),r(e)):a(e),t.includes("b")?(L.debug("add bottom border"),r(c)):a(c),t.includes("l")?(L.debug("add left border"),r(e)):a(e),l.attr("stroke-dasharray",s.join(" "))}o(O,"applyNodePropertyBorders");var Dt=o((l,t)=>{let c;t.classes?c="node "+t.classes:c="node default";const e=l.insert("g").attr("class",c).attr("id",t.domId||t.id),s=e.insert("rect",":first-child"),r=e.insert("line"),a=e.insert("g").attr("class","label"),i=t.labelText.flat?t.labelText.flat():t.labelText;let n="";typeof i=="object"?n=i[0]:n=i,L.info("Label text abc79",n,i,typeof i=="object");const y=a.node().appendChild(R(n,t.labelStyle,!0,!0));let h={width:0,height:0};if(A(N().flowchart.htmlLabels)){const m=y.children[0],p=T(y);h=m.getBoundingClientRect(),p.attr("width",h.width),p.attr("height",h.height)}L.info("Text 2",i);const x=i.slice(1,i.length);let f=y.getBBox();const g=a.node().appendChild(R(x.join?x.join("
"):x,t.labelStyle,!0,!0));if(A(N().flowchart.htmlLabels)){const m=g.children[0],p=T(g);h=m.getBoundingClientRect(),p.attr("width",h.width),p.attr("height",h.height)}const d=t.padding/2;return T(g).attr("transform","translate( "+(h.width>f.width?0:(f.width-h.width)/2)+", "+(f.height+d+5)+")"),T(y).attr("transform","translate( "+(h.width{const{shapeSvg:c,bbox:e}=await _(l,t,I(t,void 0),!0),s=e.height+t.padding,r=e.width+s/4+t.padding,a=c.insert("rect",":first-child").attr("style",t.style).attr("rx",s/2).attr("ry",s/2).attr("x",-r/2).attr("y",-s/2).attr("width",r).attr("height",s);return w(t,a),t.intersect=function(i){return u.rect(t,i)},c},"stadium"),At=o(async(l,t)=>{const{shapeSvg:c,bbox:e,halfPadding:s}=await _(l,t,I(t,void 0),!0),r=c.insert("circle",":first-child");return r.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",e.width/2+s).attr("width",e.width+t.padding).attr("height",e.height+t.padding),L.info("Circle main"),w(t,r),t.intersect=function(a){return L.info("Circle intersect",t,e.width/2+s,a),u.circle(t,e.width/2+s,a)},c},"circle"),jt=o(async(l,t)=>{const{shapeSvg:c,bbox:e,halfPadding:s}=await _(l,t,I(t,void 0),!0),r=5,a=c.insert("g",":first-child"),i=a.insert("circle"),n=a.insert("circle");return a.attr("class",t.class),i.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",e.width/2+s+r).attr("width",e.width+t.padding+r*2).attr("height",e.height+t.padding+r*2),n.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",e.width/2+s).attr("width",e.width+t.padding).attr("height",e.height+t.padding),L.info("DoubleCircle main"),w(t,i),t.intersect=function(y){return L.info("DoubleCircle intersect",t,e.width/2+s+r,y),u.circle(t,e.width/2+s+r,y)},c},"doublecircle"),Pt=o(async(l,t)=>{const{shapeSvg:c,bbox:e}=await _(l,t,I(t,void 0),!0),s=e.width+t.padding,r=e.height+t.padding,a=[{x:0,y:0},{x:s,y:0},{x:s,y:-r},{x:0,y:-r},{x:0,y:0},{x:-8,y:0},{x:s+8,y:0},{x:s+8,y:-r},{x:-8,y:-r},{x:-8,y:0}],i=E(c,s,r,a);return i.attr("style",t.style),w(t,i),t.intersect=function(n){return u.polygon(t,a,n)},c},"subroutine"),Rt=o((l,t)=>{const c=l.insert("g").attr("class","node default").attr("id",t.domId||t.id),e=c.insert("circle",":first-child");return e.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),w(t,e),t.intersect=function(s){return u.circle(t,7,s)},c},"start"),Q=o((l,t,c)=>{const e=l.insert("g").attr("class","node default").attr("id",t.domId||t.id);let s=70,r=10;c==="LR"&&(s=10,r=70);const a=e.append("rect").attr("x",-1*s/2).attr("y",-1*r/2).attr("width",s).attr("height",r).attr("class","fork-join");return w(t,a),t.height=t.height+t.padding/2,t.width=t.width+t.padding/2,t.intersect=function(i){return u.rect(t,i)},e},"forkJoin"),Ht=o((l,t)=>{const c=l.insert("g").attr("class","node default").attr("id",t.domId||t.id),e=c.insert("circle",":first-child"),s=c.insert("circle",":first-child");return s.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),e.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),w(t,s),t.intersect=function(r){return u.circle(t,7,r)},c},"end"),zt=o((l,t)=>{var Y;const c=t.padding/2,e=4,s=8;let r;t.classes?r="node "+t.classes:r="node default";const a=l.insert("g").attr("class",r).attr("id",t.domId||t.id),i=a.insert("rect",":first-child"),n=a.insert("line"),y=a.insert("line");let h=0,x=e;const f=a.insert("g").attr("class","label");let g=0;const d=(Y=t.classData.annotations)==null?void 0:Y[0],m=t.classData.annotations[0]?"«"+t.classData.annotations[0]+"»":"",p=f.node().appendChild(R(m,t.labelStyle,!0,!0));let C=p.getBBox();if(A(N().flowchart.htmlLabels)){const b=p.children[0],v=T(p);C=b.getBoundingClientRect(),v.attr("width",C.width),v.attr("height",C.height)}t.classData.annotations[0]&&(x+=C.height+e,h+=C.width);let S=t.classData.label;t.classData.type!==void 0&&t.classData.type!==""&&(N().flowchart.htmlLabels?S+="<"+t.classData.type+">":S+="<"+t.classData.type+">");const D=f.node().appendChild(R(S,t.labelStyle,!0,!0));T(D).attr("class","classTitle");let B=D.getBBox();if(A(N().flowchart.htmlLabels)){const b=D.children[0],v=T(D);B=b.getBoundingClientRect(),v.attr("width",B.width),v.attr("height",B.height)}x+=B.height+e,B.width>h&&(h=B.width);const j=[];t.classData.members.forEach(b=>{const v=b.getDisplayDetails();let P=v.displayText;N().flowchart.htmlLabels&&(P=P.replace(//g,">"));const M=f.node().appendChild(R(P,v.cssStyle?v.cssStyle:t.labelStyle,!0,!0));let k=M.getBBox();if(A(N().flowchart.htmlLabels)){const $=M.children[0],z=T(M);k=$.getBoundingClientRect(),z.attr("width",k.width),z.attr("height",k.height)}k.width>h&&(h=k.width),x+=k.height+e,j.push(M)}),x+=s;const W=[];if(t.classData.methods.forEach(b=>{const v=b.getDisplayDetails();let P=v.displayText;N().flowchart.htmlLabels&&(P=P.replace(//g,">"));const M=f.node().appendChild(R(P,v.cssStyle?v.cssStyle:t.labelStyle,!0,!0));let k=M.getBBox();if(A(N().flowchart.htmlLabels)){const $=M.children[0],z=T(M);k=$.getBoundingClientRect(),z.attr("width",k.width),z.attr("height",k.height)}k.width>h&&(h=k.width),x+=k.height+e,W.push(M)}),x+=s,d){let b=(h-C.width)/2;T(p).attr("transform","translate( "+(-1*h/2+b)+", "+-1*x/2+")"),g=C.height+e}let F=(h-B.width)/2;return T(D).attr("transform","translate( "+(-1*h/2+F)+", "+(-1*x/2+g)+")"),g+=B.height+e,n.attr("class","divider").attr("x1",-h/2-c).attr("x2",h/2+c).attr("y1",-x/2-c+s+g).attr("y2",-x/2-c+s+g),g+=s,j.forEach(b=>{T(b).attr("transform","translate( "+-h/2+", "+(-1*x/2+g+s/2)+")");const v=b==null?void 0:b.getBBox();g+=((v==null?void 0:v.height)??0)+e}),g+=s,y.attr("class","divider").attr("x1",-h/2-c).attr("x2",h/2+c).attr("y1",-x/2-c+s+g).attr("y2",-x/2-c+s+g),g+=s,W.forEach(b=>{T(b).attr("transform","translate( "+-h/2+", "+(-1*x/2+g)+")");const v=b==null?void 0:b.getBBox();g+=((v==null?void 0:v.height)??0)+e}),i.attr("style",t.style).attr("class","outer title-state").attr("x",-h/2-c).attr("y",-(x/2)-c).attr("width",h+t.padding).attr("height",x+t.padding),w(t,i),t.intersect=function(b){return u.rect(t,b)},a},"class_box"),q={rhombus:G,composite:It,question:G,rect:Nt,labelRect:Et,rectWithTitle:Dt,choice:bt,circle:At,doublecircle:jt,stadium:Mt,hexagon:vt,block_arrow:mt,rect_left_inv_arrow:St,lean_right:Lt,lean_left:_t,trapezoid:Bt,inv_trapezoid:Ct,rect_right_inv_arrow:Tt,cylinder:kt,start:Rt,end:Ht,note:wt,subroutine:Pt,fork:Q,join:Q,class_box:zt},H={},Ot=o(async(l,t,c)=>{let e,s;if(t.link){let r;N().securityLevel==="sandbox"?r="_top":t.linkTarget&&(r=t.linkTarget||"_blank"),e=l.insert("svg:a").attr("xlink:href",t.link).attr("target",r),s=await q[t.shape](e,t,c)}else s=await q[t.shape](l,t,c),e=s;return t.tooltip&&s.attr("title",t.tooltip),t.class&&s.attr("class","node default "+t.class),H[t.id]=e,t.haveCallback&&H[t.id].attr("class",H[t.id].attr("class")+" clickable"),e},"insertNode"),Wt=o((l,t)=>{H[t.id]=l},"setNodeElem"),$t=o(()=>{H={}},"clear"),Ut=o(l=>{const t=H[l.id];L.trace("Transforming node",l.diff,l,"translate("+(l.x-l.width/2-5)+", "+l.width/2+")");const c=8,e=l.diff||0;return l.clusterNode?t.attr("transform","translate("+(l.x+e-l.width/2)+", "+(l.y-l.height/2-c)+")"):t.attr("transform","translate("+l.x+", "+l.y+")"),e},"positionNode");export{R as a,pt as b,$t as c,Ot as i,Ut as p,Wt as s,w as u}; diff --git a/assets/classDiagram-4BHYIK4I-BdgJT4jb.js b/assets/classDiagram-4BHYIK4I-Dab2o9cQ.js similarity index 97% rename from assets/classDiagram-4BHYIK4I-BdgJT4jb.js rename to assets/classDiagram-4BHYIK4I-Dab2o9cQ.js index 4ee2136..0abe632 100644 --- a/assets/classDiagram-4BHYIK4I-BdgJT4jb.js +++ b/assets/classDiagram-4BHYIK4I-Dab2o9cQ.js @@ -1,2 +1,2 @@ -import{c as G,a as _,s as I}from"./chunk-BAVOGKFW-jpI8a8Z5.js";import{_ as f,d as S,l as u,j as B,k as W,H as P,M as R,u as M,N as X}from"./index-DqL3MUN2.js";import{G as Y}from"./graph-F-lRYGiw.js";import{l as $}from"./layout-B3T3dhdM.js";import"./_baseUniq-B1Flybha.js";import"./min-CjiScnR7.js";var H=0,J=f(function(i,a,t,o,p){const g=f(function(e){switch(e){case p.db.relationType.AGGREGATION:return"aggregation";case p.db.relationType.EXTENSION:return"extension";case p.db.relationType.COMPOSITION:return"composition";case p.db.relationType.DEPENDENCY:return"dependency";case p.db.relationType.LOLLIPOP:return"lollipop"}},"getRelationType");a.points=a.points.filter(e=>!Number.isNaN(e.y));const s=a.points,c=P().x(function(e){return e.x}).y(function(e){return e.y}).curve(R),n=i.append("path").attr("d",c(s)).attr("id","edge"+H).attr("class","relation");let r="";o.arrowMarkerAbsolute&&(r=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,r=r.replace(/\(/g,"\\("),r=r.replace(/\)/g,"\\)")),t.relation.lineType==1&&n.attr("class","relation dashed-line"),t.relation.lineType==10&&n.attr("class","relation dotted-line"),t.relation.type1!=="none"&&n.attr("marker-start","url("+r+"#"+g(t.relation.type1)+"Start)"),t.relation.type2!=="none"&&n.attr("marker-end","url("+r+"#"+g(t.relation.type2)+"End)");let m,h;const x=a.points.length;let b=M.calcLabelPosition(a.points);m=b.x,h=b.y;let y,w,k,v;if(x%2!==0&&x>1){let e=M.calcCardinalityPosition(t.relation.type1!=="none",a.points,a.points[0]),d=M.calcCardinalityPosition(t.relation.type2!=="none",a.points,a.points[x-1]);u.debug("cardinality_1_point "+JSON.stringify(e)),u.debug("cardinality_2_point "+JSON.stringify(d)),y=e.x,w=e.y,k=d.x,v=d.y}if(t.title!==void 0){const e=i.append("g").attr("class","classLabel"),d=e.append("text").attr("class","label").attr("x",m).attr("y",h).attr("fill","red").attr("text-anchor","middle").text(t.title);window.label=d;const l=d.node().getBBox();e.insert("rect",":first-child").attr("class","box").attr("x",l.x-o.padding/2).attr("y",l.y-o.padding/2).attr("width",l.width+o.padding).attr("height",l.height+o.padding)}u.info("Rendering relation "+JSON.stringify(t)),t.relationTitle1!==void 0&&t.relationTitle1!=="none"&&i.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",y).attr("y",w).attr("fill","black").attr("font-size","6").text(t.relationTitle1),t.relationTitle2!==void 0&&t.relationTitle2!=="none"&&i.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",k).attr("y",v).attr("fill","black").attr("font-size","6").text(t.relationTitle2),H++},"drawEdge"),O=f(function(i,a,t,o){u.debug("Rendering class ",a,t);const p=a.id,g={id:p,label:a.id,width:0,height:0},s=i.append("g").attr("id",o.db.lookUpDomId(p)).attr("class","classGroup");let c;a.link?c=s.append("svg:a").attr("xlink:href",a.link).attr("target",a.linkTarget).append("text").attr("y",t.textHeight+t.padding).attr("x",0):c=s.append("text").attr("y",t.textHeight+t.padding).attr("x",0);let n=!0;a.annotations.forEach(function(d){const l=c.append("tspan").text("«"+d+"»");n||l.attr("dy",t.textHeight),n=!1});let r=A(a);const m=c.append("tspan").text(r).attr("class","title");n||m.attr("dy",t.textHeight);const h=c.node().getBBox().height;let x,b,y;if(a.members.length>0){x=s.append("line").attr("x1",0).attr("y1",t.padding+h+t.dividerMargin/2).attr("y2",t.padding+h+t.dividerMargin/2);const d=s.append("text").attr("x",t.padding).attr("y",h+t.dividerMargin+t.textHeight).attr("fill","white").attr("class","classText");n=!0,a.members.forEach(function(l){C(d,l,n,t),n=!1}),b=d.node().getBBox()}if(a.methods.length>0){y=s.append("line").attr("x1",0).attr("y1",t.padding+h+t.dividerMargin+b.height).attr("y2",t.padding+h+t.dividerMargin+b.height);const d=s.append("text").attr("x",t.padding).attr("y",h+2*t.dividerMargin+b.height+t.textHeight).attr("fill","white").attr("class","classText");n=!0,a.methods.forEach(function(l){C(d,l,n,t),n=!1})}const w=s.node().getBBox();var k=" ";a.cssClasses.length>0&&(k=k+a.cssClasses.join(" "));const e=s.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",w.width+2*t.padding).attr("height",w.height+t.padding+.5*t.dividerMargin).attr("class",k).node().getBBox().width;return c.node().childNodes.forEach(function(d){d.setAttribute("x",(e-d.getBBox().width)/2)}),a.tooltip&&c.insert("title").text(a.tooltip),x&&x.attr("x2",e),y&&y.attr("x2",e),g.width=e,g.height=w.height+t.padding+.5*t.dividerMargin,g},"drawClass"),A=f(function(i){let a=i.id;return i.type&&(a+="<"+X(i.type)+">"),a},"getClassTitleString"),Z=f(function(i,a,t,o){u.debug("Rendering note ",a,t);const p=a.id,g={id:p,text:a.text,width:0,height:0},s=i.append("g").attr("id",p).attr("class","classGroup");let c=s.append("text").attr("y",t.textHeight+t.padding).attr("x",0);const n=JSON.parse(`"${a.text}"`).split(` +import{c as G,a as _,s as I}from"./chunk-BAVOGKFW-Bm2jdtC8.js";import{_ as f,d as S,l as u,j as B,k as W,H as P,M as R,u as M,N as X}from"./index-BmyXM-jo.js";import{G as Y}from"./graph-DNRi3G-N.js";import{l as $}from"./layout-CbykB6Gj.js";import"./_baseUniq-BdggiAxO.js";import"./min-CuKIA37g.js";var H=0,J=f(function(i,a,t,o,p){const g=f(function(e){switch(e){case p.db.relationType.AGGREGATION:return"aggregation";case p.db.relationType.EXTENSION:return"extension";case p.db.relationType.COMPOSITION:return"composition";case p.db.relationType.DEPENDENCY:return"dependency";case p.db.relationType.LOLLIPOP:return"lollipop"}},"getRelationType");a.points=a.points.filter(e=>!Number.isNaN(e.y));const s=a.points,c=P().x(function(e){return e.x}).y(function(e){return e.y}).curve(R),n=i.append("path").attr("d",c(s)).attr("id","edge"+H).attr("class","relation");let r="";o.arrowMarkerAbsolute&&(r=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,r=r.replace(/\(/g,"\\("),r=r.replace(/\)/g,"\\)")),t.relation.lineType==1&&n.attr("class","relation dashed-line"),t.relation.lineType==10&&n.attr("class","relation dotted-line"),t.relation.type1!=="none"&&n.attr("marker-start","url("+r+"#"+g(t.relation.type1)+"Start)"),t.relation.type2!=="none"&&n.attr("marker-end","url("+r+"#"+g(t.relation.type2)+"End)");let m,h;const x=a.points.length;let b=M.calcLabelPosition(a.points);m=b.x,h=b.y;let y,w,k,v;if(x%2!==0&&x>1){let e=M.calcCardinalityPosition(t.relation.type1!=="none",a.points,a.points[0]),d=M.calcCardinalityPosition(t.relation.type2!=="none",a.points,a.points[x-1]);u.debug("cardinality_1_point "+JSON.stringify(e)),u.debug("cardinality_2_point "+JSON.stringify(d)),y=e.x,w=e.y,k=d.x,v=d.y}if(t.title!==void 0){const e=i.append("g").attr("class","classLabel"),d=e.append("text").attr("class","label").attr("x",m).attr("y",h).attr("fill","red").attr("text-anchor","middle").text(t.title);window.label=d;const l=d.node().getBBox();e.insert("rect",":first-child").attr("class","box").attr("x",l.x-o.padding/2).attr("y",l.y-o.padding/2).attr("width",l.width+o.padding).attr("height",l.height+o.padding)}u.info("Rendering relation "+JSON.stringify(t)),t.relationTitle1!==void 0&&t.relationTitle1!=="none"&&i.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",y).attr("y",w).attr("fill","black").attr("font-size","6").text(t.relationTitle1),t.relationTitle2!==void 0&&t.relationTitle2!=="none"&&i.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",k).attr("y",v).attr("fill","black").attr("font-size","6").text(t.relationTitle2),H++},"drawEdge"),O=f(function(i,a,t,o){u.debug("Rendering class ",a,t);const p=a.id,g={id:p,label:a.id,width:0,height:0},s=i.append("g").attr("id",o.db.lookUpDomId(p)).attr("class","classGroup");let c;a.link?c=s.append("svg:a").attr("xlink:href",a.link).attr("target",a.linkTarget).append("text").attr("y",t.textHeight+t.padding).attr("x",0):c=s.append("text").attr("y",t.textHeight+t.padding).attr("x",0);let n=!0;a.annotations.forEach(function(d){const l=c.append("tspan").text("«"+d+"»");n||l.attr("dy",t.textHeight),n=!1});let r=A(a);const m=c.append("tspan").text(r).attr("class","title");n||m.attr("dy",t.textHeight);const h=c.node().getBBox().height;let x,b,y;if(a.members.length>0){x=s.append("line").attr("x1",0).attr("y1",t.padding+h+t.dividerMargin/2).attr("y2",t.padding+h+t.dividerMargin/2);const d=s.append("text").attr("x",t.padding).attr("y",h+t.dividerMargin+t.textHeight).attr("fill","white").attr("class","classText");n=!0,a.members.forEach(function(l){C(d,l,n,t),n=!1}),b=d.node().getBBox()}if(a.methods.length>0){y=s.append("line").attr("x1",0).attr("y1",t.padding+h+t.dividerMargin+b.height).attr("y2",t.padding+h+t.dividerMargin+b.height);const d=s.append("text").attr("x",t.padding).attr("y",h+2*t.dividerMargin+b.height+t.textHeight).attr("fill","white").attr("class","classText");n=!0,a.methods.forEach(function(l){C(d,l,n,t),n=!1})}const w=s.node().getBBox();var k=" ";a.cssClasses.length>0&&(k=k+a.cssClasses.join(" "));const e=s.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",w.width+2*t.padding).attr("height",w.height+t.padding+.5*t.dividerMargin).attr("class",k).node().getBBox().width;return c.node().childNodes.forEach(function(d){d.setAttribute("x",(e-d.getBBox().width)/2)}),a.tooltip&&c.insert("title").text(a.tooltip),x&&x.attr("x2",e),y&&y.attr("x2",e),g.width=e,g.height=w.height+t.padding+.5*t.dividerMargin,g},"drawClass"),A=f(function(i){let a=i.id;return i.type&&(a+="<"+X(i.type)+">"),a},"getClassTitleString"),Z=f(function(i,a,t,o){u.debug("Rendering note ",a,t);const p=a.id,g={id:p,text:a.text,width:0,height:0},s=i.append("g").attr("id",p).attr("class","classGroup");let c=s.append("text").attr("y",t.textHeight+t.padding).attr("x",0);const n=JSON.parse(`"${a.text}"`).split(` `);n.forEach(function(x){u.debug(`Adding line: ${x}`),c.append("tspan").text(x).attr("class","title").attr("dy",t.textHeight)});const r=s.node().getBBox(),h=s.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",r.width+2*t.padding).attr("height",r.height+n.length*t.textHeight+t.padding+.5*t.dividerMargin).node().getBBox().width;return c.node().childNodes.forEach(function(x){x.setAttribute("x",(h-x.getBBox().width)/2)}),g.width=h,g.height=r.height+n.length*t.textHeight+t.padding+.5*t.dividerMargin,g},"drawNote"),C=f(function(i,a,t,o){const{displayText:p,cssStyle:g}=a.getDisplayDetails(),s=i.append("tspan").attr("x",o.padding).text(p);g!==""&&s.attr("style",a.cssStyle),t||s.attr("dy",o.textHeight)},"addTspan"),N={getClassTitleString:A,drawClass:O,drawEdge:J,drawNote:Z},L={},E=20,T=f(function(i){const a=Object.entries(L).find(t=>t[1].label===i);if(a)return a[0]},"getGraphId"),F=f(function(i){i.append("defs").append("marker").attr("id","extensionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),i.append("defs").append("marker").attr("id","extensionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),i.append("defs").append("marker").attr("id","compositionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),i.append("defs").append("marker").attr("id","compositionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),i.append("defs").append("marker").attr("id","aggregationStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),i.append("defs").append("marker").attr("id","aggregationEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),i.append("defs").append("marker").attr("id","dependencyStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),i.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"insertMarkers"),U=f(function(i,a,t,o){const p=S().class;L={},u.info("Rendering diagram "+i);const g=S().securityLevel;let s;g==="sandbox"&&(s=B("#i"+a));const c=g==="sandbox"?B(s.nodes()[0].contentDocument.body):B("body"),n=c.select(`[id='${a}']`);F(n);const r=new Y({multigraph:!0});r.setGraph({isMultiGraph:!0}),r.setDefaultEdgeLabel(function(){return{}});const m=o.db.getClasses(),h=[...m.keys()];for(const e of h){const d=m.get(e),l=N.drawClass(n,d,p,o);L[l.id]=l,r.setNode(l.id,l),u.info("Org height: "+l.height)}o.db.getRelations().forEach(function(e){u.info("tjoho"+T(e.id1)+T(e.id2)+JSON.stringify(e)),r.setEdge(T(e.id1),T(e.id2),{relation:e},e.title||"DEFAULT")}),o.db.getNotes().forEach(function(e){u.debug(`Adding note: ${JSON.stringify(e)}`);const d=N.drawNote(n,e,p,o);L[d.id]=d,r.setNode(d.id,d),e.class&&m.has(e.class)&&r.setEdge(e.id,T(e.class),{relation:{id1:e.id,id2:e.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")}),$(r),r.nodes().forEach(function(e){e!==void 0&&r.node(e)!==void 0&&(u.debug("Node "+e+": "+JSON.stringify(r.node(e))),c.select("#"+(o.db.lookUpDomId(e)||e)).attr("transform","translate("+(r.node(e).x-r.node(e).width/2)+","+(r.node(e).y-r.node(e).height/2)+" )"))}),r.edges().forEach(function(e){e!==void 0&&r.edge(e)!==void 0&&(u.debug("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(r.edge(e))),N.drawEdge(n,r.edge(e),r.edge(e).relation,p,o))});const y=n.node().getBBox(),w=y.width+E*2,k=y.height+E*2;W(n,k,w,p.useMaxWidth);const v=`${y.x-E} ${y.y-E} ${w} ${k}`;u.debug(`viewBox ${v}`),n.attr("viewBox",v)},"draw"),z={draw:U},tt={parser:G,db:_,renderer:z,styles:I,init:f(i=>{i.class||(i.class={}),i.class.arrowMarkerAbsolute=i.arrowMarkerAbsolute,_.clear()},"init")};export{tt as diagram}; diff --git a/assets/classDiagram-v2-FI7KE7WJ-DaZ2pEyK.js b/assets/classDiagram-v2-FI7KE7WJ-BybGxp1p.js similarity index 97% rename from assets/classDiagram-v2-FI7KE7WJ-DaZ2pEyK.js rename to assets/classDiagram-v2-FI7KE7WJ-BybGxp1p.js index 299b651..0159d45 100644 --- a/assets/classDiagram-v2-FI7KE7WJ-DaZ2pEyK.js +++ b/assets/classDiagram-v2-FI7KE7WJ-BybGxp1p.js @@ -1,2 +1,2 @@ -import{m as tt,c as et,i as nt,a as it,p as st}from"./chunk-UGV5ZQQN-DsfIFBqE.js";import{c as at,a as G,s as rt}from"./chunk-BAVOGKFW-jpI8a8Z5.js";import{c as lt,u as ot,s as ct,i as dt,p as M,a as F,b as R}from"./chunk-YWFND7JV-CHuoUZPA.js";import{_ as g,l as s,d as m,j as T,u as ft,O as ut,P as $,Q as H,R as z,t as ht,e as W,S as J,T as B,U as gt}from"./index-DqL3MUN2.js";import{G as q}from"./graph-F-lRYGiw.js";import{l as wt}from"./layout-B3T3dhdM.js";import{w as S}from"./json-Dvvisu1f.js";import"./_baseUniq-B1Flybha.js";import"./min-CjiScnR7.js";var u={},x={},Q={},yt=g(()=>{x={},Q={},u={}},"clear"),L=g((e,t)=>(s.trace("In isDescendant",t," ",e," = ",x[t].includes(e)),!!x[t].includes(e)),"isDescendant"),bt=g((e,t)=>(s.info("Descendants of ",t," is ",x[t]),s.info("Edge is ",e),e.v===t||e.w===t?!1:x[t]?x[t].includes(e.v)||L(e.v,t)||L(e.w,t)||x[t].includes(e.w):(s.debug("Tilt, ",t,",not in descendants"),!1)),"edgeInCluster"),U=g((e,t,n,l)=>{s.warn("Copying children of ",e,"root",l,"data",t.node(e),l);const i=t.children(e)||[];e!==l&&i.push(e),s.warn("Copying (nodes) clusterId",e,"nodes",i),i.forEach(a=>{if(t.children(a).length>0)U(a,t,n,l);else{const r=t.node(a);s.info("cp ",a," to ",l," with parent ",e),n.setNode(a,r),l!==t.parent(a)&&(s.warn("Setting parent",a,t.parent(a)),n.setParent(a,t.parent(a))),e!==l&&a!==e?(s.debug("Setting parent",a,e),n.setParent(a,e)):(s.info("In copy ",e,"root",l,"data",t.node(e),l),s.debug("Not Setting parent for node=",a,"cluster!==rootId",e!==l,"node!==clusterId",a!==e));const f=t.edges(a);s.debug("Copying Edges",f),f.forEach(d=>{s.info("Edge",d);const h=t.edge(d.v,d.w,d.name);s.info("Edge data",h,l);try{bt(d,l)?(s.info("Copying as ",d.v,d.w,h,d.name),n.setEdge(d.v,d.w,h,d.name),s.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):s.info("Skipping copy of edge ",d.v,"-->",d.w," rootId: ",l," clusterId:",e)}catch(b){s.error(b)}})}s.debug("Removing node",a),t.removeNode(a)})},"copy"),V=g((e,t)=>{const n=t.children(e);let l=[...n];for(const i of n)Q[i]=e,l=[...l,...V(i,t)];return l},"extractDescendants"),k=g((e,t)=>{s.trace("Searching",e);const n=t.children(e);if(s.trace("Searching children of id ",e,n),n.length<1)return s.trace("This is a valid node",e),e;for(const l of n){const i=k(l,t);if(i)return s.trace("Found replacement for",e," => ",i),i}},"findNonClusterChild"),X=g(e=>!u[e]||!u[e].externalConnections?e:u[e]?u[e].id:e,"getAnchorId"),mt=g((e,t)=>{if(!e||t>10){s.debug("Opting out, no graph ");return}else s.debug("Opting in, graph ");e.nodes().forEach(function(n){e.children(n).length>0&&(s.warn("Cluster identified",n," Replacement id in edges: ",k(n,e)),x[n]=V(n,e),u[n]={id:k(n,e),clusterData:e.node(n)})}),e.nodes().forEach(function(n){const l=e.children(n),i=e.edges();l.length>0?(s.debug("Cluster identified",n,x),i.forEach(a=>{if(a.v!==n&&a.w!==n){const r=L(a.v,n),f=L(a.w,n);r^f&&(s.warn("Edge: ",a," leaves cluster ",n),s.warn("Descendants of XXX ",n,": ",x[n]),u[n].externalConnections=!0)}})):s.debug("Not a cluster ",n,x)});for(let n of Object.keys(u)){const l=u[n].id,i=e.parent(l);i!==n&&u[i]&&!u[i].externalConnections&&(u[n].id=i)}e.edges().forEach(function(n){const l=e.edge(n);s.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),s.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let i=n.v,a=n.w;if(s.warn("Fix XXX",u,"ids:",n.v,n.w,"Translating: ",u[n.v]," --- ",u[n.w]),u[n.v]&&u[n.w]&&u[n.v]===u[n.w]){s.warn("Fixing and trixing link to self - removing XXX",n.v,n.w,n.name),s.warn("Fixing and trixing - removing XXX",n.v,n.w,n.name),i=X(n.v),a=X(n.w),e.removeEdge(n.v,n.w,n.name);const r=n.w+"---"+n.v;e.setNode(r,{domId:r,id:r,labelStyle:"",labelText:l.label,padding:0,shape:"labelRect",style:""});const f=structuredClone(l),d=structuredClone(l);f.label="",f.arrowTypeEnd="none",d.label="",f.fromCluster=n.v,d.toCluster=n.v,e.setEdge(i,r,f,n.name+"-cyclic-special"),e.setEdge(r,a,d,n.name+"-cyclic-special")}else if(u[n.v]||u[n.w]){if(s.warn("Fixing and trixing - removing XXX",n.v,n.w,n.name),i=X(n.v),a=X(n.w),e.removeEdge(n.v,n.w,n.name),i!==n.v){const r=e.parent(i);u[r].externalConnections=!0,l.fromCluster=n.v}if(a!==n.w){const r=e.parent(a);u[r].externalConnections=!0,l.toCluster=n.w}s.warn("Fix Replacing with XXX",i,a,n.name),e.setEdge(i,a,l,n.name)}}),s.warn("Adjusted Graph",S(e)),j(e,0),s.trace(u)},"adjustClustersAndEdges"),j=g((e,t)=>{var i,a;if(s.warn("extractor - ",t,S(e),e.children("D")),t>10){s.error("Bailing out");return}let n=e.nodes(),l=!1;for(const r of n){const f=e.children(r);l=l||f.length>0}if(!l){s.debug("Done, no node has children",e.nodes());return}s.debug("Nodes = ",n,t);for(const r of n)if(s.debug("Extracting node",r,u,u[r]&&!u[r].externalConnections,!e.parent(r),e.node(r),e.children("D")," Depth ",t),!u[r])s.debug("Not a cluster",r,t);else if(!u[r].externalConnections&&e.children(r)&&e.children(r).length>0){s.warn("Cluster without external connections, without a parent and with children",r,t);let d=e.graph().rankdir==="TB"?"LR":"TB";(a=(i=u[r])==null?void 0:i.clusterData)!=null&&a.dir&&(d=u[r].clusterData.dir,s.warn("Fixing dir",u[r].clusterData.dir,d));const h=new q({multigraph:!0,compound:!0}).setGraph({rankdir:d,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});s.warn("Old graph before copy",S(e)),U(r,e,h,r),e.setNode(r,{clusterNode:!0,id:r,clusterData:u[r].clusterData,labelText:u[r].labelText,graph:h}),s.warn("New graph after copy node: (",r,")",S(h)),s.debug("Old graph after copy",S(e))}else s.warn("Cluster ** ",r," **not meeting the criteria !externalConnections:",!u[r].externalConnections," no parent: ",!e.parent(r)," children ",e.children(r)&&e.children(r).length>0,e.children("D"),t),s.debug(u);n=e.nodes(),s.warn("New list of nodes",n);for(const r of n){const f=e.node(r);s.warn(" Now next level",r,f),f.clusterNode&&j(f.graph,t+1)}},"extractor"),K=g((e,t)=>{if(t.length===0)return[];let n=Object.assign(t);return t.forEach(l=>{const i=e.children(l),a=K(e,i);n=[...n,...a]}),n},"sorter"),vt=g(e=>K(e,e.children()),"sortNodesByHierarchy"),pt=g((e,t)=>{s.info("Creating subgraph rect for ",t.id,t);const n=m(),l=e.insert("g").attr("class","cluster"+(t.class?" "+t.class:"")).attr("id",t.id),i=l.insert("rect",":first-child"),a=B(n.flowchart.htmlLabels),r=l.insert("g").attr("class","cluster-label"),f=t.labelType==="markdown"?gt(r,t.labelText,{style:t.labelStyle,useHtmlLabels:a},n):r.node().appendChild(F(t.labelText,t.labelStyle,void 0,!0));let d=f.getBBox();if(B(n.flowchart.htmlLabels)){const c=f.children[0],o=T(f);d=c.getBoundingClientRect(),o.attr("width",d.width),o.attr("height",d.height)}const h=0*t.padding,b=h/2,y=t.width<=d.width+h?d.width+h:t.width;t.width<=d.width+h?t.diff=(d.width-t.width)/2-t.padding/2:t.diff=-t.padding/2,s.trace("Data ",t,JSON.stringify(t)),i.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-y/2).attr("y",t.y-t.height/2-b).attr("width",y).attr("height",t.height+h);const{subGraphTitleTopMargin:v}=J(n);a?r.attr("transform",`translate(${t.x-d.width/2}, ${t.y-t.height/2+v})`):r.attr("transform",`translate(${t.x}, ${t.y-t.height/2+v})`);const w=i.node().getBBox();return t.width=w.width,t.height=w.height,t.intersect=function(c){return R(t,c)},l},"rect"),xt=g((e,t)=>{const n=e.insert("g").attr("class","note-cluster").attr("id",t.id),l=n.insert("rect",":first-child"),i=0*t.padding,a=i/2;l.attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2-a).attr("width",t.width+i).attr("height",t.height+i).attr("fill","none");const r=l.node().getBBox();return t.width=r.width,t.height=r.height,t.intersect=function(f){return R(t,f)},n},"noteGroup"),St=g((e,t)=>{const n=m(),l=e.insert("g").attr("class",t.classes).attr("id",t.id),i=l.insert("rect",":first-child"),a=l.insert("g").attr("class","cluster-label"),r=l.append("rect"),f=a.node().appendChild(F(t.labelText,t.labelStyle,void 0,!0));let d=f.getBBox();if(B(n.flowchart.htmlLabels)){const c=f.children[0],o=T(f);d=c.getBoundingClientRect(),o.attr("width",d.width),o.attr("height",d.height)}d=f.getBBox();const h=0*t.padding,b=h/2,y=t.width<=d.width+t.padding?d.width+t.padding:t.width;t.width<=d.width+t.padding?t.diff=(d.width+t.padding*0-t.width)/2:t.diff=-t.padding/2,i.attr("class","outer").attr("x",t.x-y/2-b).attr("y",t.y-t.height/2-b).attr("width",y+h).attr("height",t.height+h),r.attr("class","inner").attr("x",t.x-y/2-b).attr("y",t.y-t.height/2-b+d.height-1).attr("width",y+h).attr("height",t.height+h-d.height-3);const{subGraphTitleTopMargin:v}=J(n);a.attr("transform",`translate(${t.x-d.width/2}, ${t.y-t.height/2-t.padding/3+(B(n.flowchart.htmlLabels)?5:3)+v})`);const w=i.node().getBBox();return t.height=w.height,t.intersect=function(c){return R(t,c)},l},"roundedWithTitle"),Nt=g((e,t)=>{const n=e.insert("g").attr("class",t.classes).attr("id",t.id),l=n.insert("rect",":first-child"),i=0*t.padding,a=i/2;l.attr("class","divider").attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2).attr("width",t.width+i).attr("height",t.height+i);const r=l.node().getBBox();return t.width=r.width,t.height=r.height,t.diff=-t.padding/2,t.intersect=function(f){return R(t,f)},n},"divider"),Et={rect:pt,roundedWithTitle:St,noteGroup:xt,divider:Nt},Y={},Ct=g((e,t)=>{s.trace("Inserting cluster");const n=t.shape||"rect";Y[t.id]=Et[n](e,t)},"insertCluster"),Tt=g(()=>{Y={}},"clear"),Z=g(async(e,t,n,l,i,a)=>{s.info("Graph in recursive render: XXX",S(t),i);const r=t.graph().rankdir;s.trace("Dir in recursive render - dir:",r);const f=e.insert("g").attr("class","root");t.nodes()?s.info("Recursive render XXX",t.nodes()):s.info("No nodes found for",t),t.edges().length>0&&s.trace("Recursive edges",t.edge(t.edges()[0]));const d=f.insert("g").attr("class","clusters"),h=f.insert("g").attr("class","edgePaths"),b=f.insert("g").attr("class","edgeLabels"),y=f.insert("g").attr("class","nodes");await Promise.all(t.nodes().map(async function(c){const o=t.node(c);if(i!==void 0){const p=JSON.parse(JSON.stringify(i.clusterData));s.info("Setting data for cluster XXX (",c,") ",p,i),t.setNode(i.id,p),t.parent(c)||(s.trace("Setting parent",c,i.id),t.setParent(c,i.id,p))}if(s.info("(Insert) Node XXX"+c+": "+JSON.stringify(t.node(c))),o!=null&&o.clusterNode){s.info("Cluster identified",c,o.width,t.node(c));const{ranksep:p,nodesep:E}=t.graph();o.graph.setGraph({...o.graph.graph(),ranksep:p,nodesep:E});const D=await Z(y,o.graph,n,l,t.node(c),a),N=D.elem;ot(o,N),o.diff=D.diff||0,s.info("Node bounds (abc123)",c,o,o.width,o.x,o.y),ct(N,o),s.warn("Recursive render complete ",N,o)}else t.children(c).length>0?(s.info("Cluster - the non recursive path XXX",c,o.id,o,t),s.info(k(o.id,t)),u[o.id]={id:k(o.id,t),node:o}):(s.info("Node - the non recursive path",c,o.id,o),await dt(y,t.node(c),r))})),t.edges().forEach(async function(c){const o=t.edge(c.v,c.w,c.name);s.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(c)),s.info("Edge "+c.v+" -> "+c.w+": ",c," ",JSON.stringify(t.edge(c))),s.info("Fix",u,"ids:",c.v,c.w,"Translating: ",u[c.v],u[c.w]),await nt(b,o)}),t.edges().forEach(function(c){s.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(c))}),s.info("Graph before layout:",JSON.stringify(S(t))),s.info("#############################################"),s.info("### Layout ###"),s.info("#############################################"),s.info(t),wt(t),s.info("Graph after layout:",JSON.stringify(S(t)));let v=0;const{subGraphTitleTotalMargin:w}=J(a);return vt(t).forEach(function(c){const o=t.node(c);s.info("Position "+c+": "+JSON.stringify(t.node(c))),s.info("Position "+c+": ("+o.x,","+o.y,") width: ",o.width," height: ",o.height),o!=null&&o.clusterNode?(o.y+=w,M(o)):t.children(c).length>0?(o.height+=w,Ct(d,o),u[o.id].node=o):(o.y+=w/2,M(o))}),t.edges().forEach(function(c){const o=t.edge(c);s.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(o),o),o.points.forEach(E=>E.y+=w/2);const p=it(h,c,o,u,n,t,l);st(o,p)}),t.nodes().forEach(function(c){const o=t.node(c);s.info(c,o.type,o.diff),o.type==="group"&&(v=o.diff)}),{elem:f,diff:v}},"recursiveRender"),kt=g(async(e,t,n,l,i)=>{tt(e,n,l,i),lt(),et(),Tt(),yt(),s.warn("Graph at first:",JSON.stringify(S(t))),mt(t),s.warn("Graph after:",JSON.stringify(S(t)));const a=m();await Z(e,t,l,i,void 0,a)},"render"),O=g(e=>W.sanitizeText(e,m()),"sanitizeText"),_={dividerMargin:10,padding:5,textHeight:10,curve:void 0},Dt=g(function(e,t,n,l){s.info("keys:",[...e.keys()]),s.info(e),e.forEach(function(i){var f,d;const r={shape:"rect",id:i.id,domId:i.domId,labelText:O(i.id),labelStyle:"",style:"fill: none; stroke: black",padding:((f=m().flowchart)==null?void 0:f.padding)??((d=m().class)==null?void 0:d.padding)};t.setNode(i.id,r),I(i.classes,t,n,l,i.id),s.info("setNode",r)})},"addNamespaces"),I=g(function(e,t,n,l,i){s.info("keys:",[...e.keys()]),s.info(e),[...e.values()].filter(a=>a.parent===i).forEach(function(a){var v,w;const r=a.cssClasses.join(" "),f=$(a.styles),d=a.label??a.id,h=0,y={labelStyle:f.labelStyle,shape:"class_box",labelText:O(d),classData:a,rx:h,ry:h,class:r,style:f.style,id:a.id,domId:a.domId,tooltip:l.db.getTooltip(a.id,i)||"",haveCallback:a.haveCallback,link:a.link,width:a.type==="group"?500:void 0,type:a.type,padding:((v=m().flowchart)==null?void 0:v.padding)??((w=m().class)==null?void 0:w.padding)};t.setNode(a.id,y),i&&t.setParent(a.id,i),s.info("setNode",y)})},"addClasses"),Xt=g(function(e,t,n,l){s.info(e),e.forEach(function(i,a){var o,p;const r=i,f="",d={labelStyle:"",style:""},h=r.text,b=0,v={labelStyle:d.labelStyle,shape:"note",labelText:O(h),noteData:r,rx:b,ry:b,class:f,style:d.style,id:r.id,domId:r.id,tooltip:"",type:"note",padding:((o=m().flowchart)==null?void 0:o.padding)??((p=m().class)==null?void 0:p.padding)};if(t.setNode(r.id,v),s.info("setNode",v),!r.class||!l.has(r.class))return;const w=n+a,c={id:`edgeNote${w}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:H(_.curve,z)};t.setEdge(r.id,r.class,c,w)})},"addNotes"),Bt=g(function(e,t){const n=m().flowchart;let l=0;e.forEach(function(i){var r;l++;const a={classes:"relation",pattern:i.relation.lineType==1?"dashed":"solid",id:ht(i.id1,i.id2,{prefix:"id",counter:l}),arrowhead:i.type==="arrow_open"?"none":"normal",startLabelRight:i.relationTitle1==="none"?"":i.relationTitle1,endLabelLeft:i.relationTitle2==="none"?"":i.relationTitle2,arrowTypeStart:A(i.relation.type1),arrowTypeEnd:A(i.relation.type2),style:"fill:none",labelStyle:"",curve:H(n==null?void 0:n.curve,z)};if(s.info(a,i),i.style!==void 0){const f=$(i.style);a.style=f.style,a.labelStyle=f.labelStyle}i.text=i.title,i.text===void 0?i.style!==void 0&&(a.arrowheadStyle="fill: #333"):(a.arrowheadStyle="fill: #333",a.labelpos="c",((r=m().flowchart)==null?void 0:r.htmlLabels)??m().htmlLabels?(a.labelType="html",a.label=''+i.text+""):(a.labelType="text",a.label=i.text.replace(W.lineBreakRegex,` +import{m as tt,c as et,i as nt,a as it,p as st}from"./chunk-UGV5ZQQN-S_EzHP18.js";import{c as at,a as G,s as rt}from"./chunk-BAVOGKFW-Bm2jdtC8.js";import{c as lt,u as ot,s as ct,i as dt,p as M,a as F,b as R}from"./chunk-YWFND7JV-Cxhz5tcw.js";import{_ as g,l as s,d as m,j as T,u as ft,O as ut,P as $,Q as H,R as z,t as ht,e as W,S as J,T as B,U as gt}from"./index-BmyXM-jo.js";import{G as q}from"./graph-DNRi3G-N.js";import{l as wt}from"./layout-CbykB6Gj.js";import{w as S}from"./json-BzboBZu8.js";import"./_baseUniq-BdggiAxO.js";import"./min-CuKIA37g.js";var u={},x={},Q={},yt=g(()=>{x={},Q={},u={}},"clear"),L=g((e,t)=>(s.trace("In isDescendant",t," ",e," = ",x[t].includes(e)),!!x[t].includes(e)),"isDescendant"),bt=g((e,t)=>(s.info("Descendants of ",t," is ",x[t]),s.info("Edge is ",e),e.v===t||e.w===t?!1:x[t]?x[t].includes(e.v)||L(e.v,t)||L(e.w,t)||x[t].includes(e.w):(s.debug("Tilt, ",t,",not in descendants"),!1)),"edgeInCluster"),U=g((e,t,n,l)=>{s.warn("Copying children of ",e,"root",l,"data",t.node(e),l);const i=t.children(e)||[];e!==l&&i.push(e),s.warn("Copying (nodes) clusterId",e,"nodes",i),i.forEach(a=>{if(t.children(a).length>0)U(a,t,n,l);else{const r=t.node(a);s.info("cp ",a," to ",l," with parent ",e),n.setNode(a,r),l!==t.parent(a)&&(s.warn("Setting parent",a,t.parent(a)),n.setParent(a,t.parent(a))),e!==l&&a!==e?(s.debug("Setting parent",a,e),n.setParent(a,e)):(s.info("In copy ",e,"root",l,"data",t.node(e),l),s.debug("Not Setting parent for node=",a,"cluster!==rootId",e!==l,"node!==clusterId",a!==e));const f=t.edges(a);s.debug("Copying Edges",f),f.forEach(d=>{s.info("Edge",d);const h=t.edge(d.v,d.w,d.name);s.info("Edge data",h,l);try{bt(d,l)?(s.info("Copying as ",d.v,d.w,h,d.name),n.setEdge(d.v,d.w,h,d.name),s.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):s.info("Skipping copy of edge ",d.v,"-->",d.w," rootId: ",l," clusterId:",e)}catch(b){s.error(b)}})}s.debug("Removing node",a),t.removeNode(a)})},"copy"),V=g((e,t)=>{const n=t.children(e);let l=[...n];for(const i of n)Q[i]=e,l=[...l,...V(i,t)];return l},"extractDescendants"),k=g((e,t)=>{s.trace("Searching",e);const n=t.children(e);if(s.trace("Searching children of id ",e,n),n.length<1)return s.trace("This is a valid node",e),e;for(const l of n){const i=k(l,t);if(i)return s.trace("Found replacement for",e," => ",i),i}},"findNonClusterChild"),X=g(e=>!u[e]||!u[e].externalConnections?e:u[e]?u[e].id:e,"getAnchorId"),mt=g((e,t)=>{if(!e||t>10){s.debug("Opting out, no graph ");return}else s.debug("Opting in, graph ");e.nodes().forEach(function(n){e.children(n).length>0&&(s.warn("Cluster identified",n," Replacement id in edges: ",k(n,e)),x[n]=V(n,e),u[n]={id:k(n,e),clusterData:e.node(n)})}),e.nodes().forEach(function(n){const l=e.children(n),i=e.edges();l.length>0?(s.debug("Cluster identified",n,x),i.forEach(a=>{if(a.v!==n&&a.w!==n){const r=L(a.v,n),f=L(a.w,n);r^f&&(s.warn("Edge: ",a," leaves cluster ",n),s.warn("Descendants of XXX ",n,": ",x[n]),u[n].externalConnections=!0)}})):s.debug("Not a cluster ",n,x)});for(let n of Object.keys(u)){const l=u[n].id,i=e.parent(l);i!==n&&u[i]&&!u[i].externalConnections&&(u[n].id=i)}e.edges().forEach(function(n){const l=e.edge(n);s.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),s.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let i=n.v,a=n.w;if(s.warn("Fix XXX",u,"ids:",n.v,n.w,"Translating: ",u[n.v]," --- ",u[n.w]),u[n.v]&&u[n.w]&&u[n.v]===u[n.w]){s.warn("Fixing and trixing link to self - removing XXX",n.v,n.w,n.name),s.warn("Fixing and trixing - removing XXX",n.v,n.w,n.name),i=X(n.v),a=X(n.w),e.removeEdge(n.v,n.w,n.name);const r=n.w+"---"+n.v;e.setNode(r,{domId:r,id:r,labelStyle:"",labelText:l.label,padding:0,shape:"labelRect",style:""});const f=structuredClone(l),d=structuredClone(l);f.label="",f.arrowTypeEnd="none",d.label="",f.fromCluster=n.v,d.toCluster=n.v,e.setEdge(i,r,f,n.name+"-cyclic-special"),e.setEdge(r,a,d,n.name+"-cyclic-special")}else if(u[n.v]||u[n.w]){if(s.warn("Fixing and trixing - removing XXX",n.v,n.w,n.name),i=X(n.v),a=X(n.w),e.removeEdge(n.v,n.w,n.name),i!==n.v){const r=e.parent(i);u[r].externalConnections=!0,l.fromCluster=n.v}if(a!==n.w){const r=e.parent(a);u[r].externalConnections=!0,l.toCluster=n.w}s.warn("Fix Replacing with XXX",i,a,n.name),e.setEdge(i,a,l,n.name)}}),s.warn("Adjusted Graph",S(e)),j(e,0),s.trace(u)},"adjustClustersAndEdges"),j=g((e,t)=>{var i,a;if(s.warn("extractor - ",t,S(e),e.children("D")),t>10){s.error("Bailing out");return}let n=e.nodes(),l=!1;for(const r of n){const f=e.children(r);l=l||f.length>0}if(!l){s.debug("Done, no node has children",e.nodes());return}s.debug("Nodes = ",n,t);for(const r of n)if(s.debug("Extracting node",r,u,u[r]&&!u[r].externalConnections,!e.parent(r),e.node(r),e.children("D")," Depth ",t),!u[r])s.debug("Not a cluster",r,t);else if(!u[r].externalConnections&&e.children(r)&&e.children(r).length>0){s.warn("Cluster without external connections, without a parent and with children",r,t);let d=e.graph().rankdir==="TB"?"LR":"TB";(a=(i=u[r])==null?void 0:i.clusterData)!=null&&a.dir&&(d=u[r].clusterData.dir,s.warn("Fixing dir",u[r].clusterData.dir,d));const h=new q({multigraph:!0,compound:!0}).setGraph({rankdir:d,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});s.warn("Old graph before copy",S(e)),U(r,e,h,r),e.setNode(r,{clusterNode:!0,id:r,clusterData:u[r].clusterData,labelText:u[r].labelText,graph:h}),s.warn("New graph after copy node: (",r,")",S(h)),s.debug("Old graph after copy",S(e))}else s.warn("Cluster ** ",r," **not meeting the criteria !externalConnections:",!u[r].externalConnections," no parent: ",!e.parent(r)," children ",e.children(r)&&e.children(r).length>0,e.children("D"),t),s.debug(u);n=e.nodes(),s.warn("New list of nodes",n);for(const r of n){const f=e.node(r);s.warn(" Now next level",r,f),f.clusterNode&&j(f.graph,t+1)}},"extractor"),K=g((e,t)=>{if(t.length===0)return[];let n=Object.assign(t);return t.forEach(l=>{const i=e.children(l),a=K(e,i);n=[...n,...a]}),n},"sorter"),vt=g(e=>K(e,e.children()),"sortNodesByHierarchy"),pt=g((e,t)=>{s.info("Creating subgraph rect for ",t.id,t);const n=m(),l=e.insert("g").attr("class","cluster"+(t.class?" "+t.class:"")).attr("id",t.id),i=l.insert("rect",":first-child"),a=B(n.flowchart.htmlLabels),r=l.insert("g").attr("class","cluster-label"),f=t.labelType==="markdown"?gt(r,t.labelText,{style:t.labelStyle,useHtmlLabels:a},n):r.node().appendChild(F(t.labelText,t.labelStyle,void 0,!0));let d=f.getBBox();if(B(n.flowchart.htmlLabels)){const c=f.children[0],o=T(f);d=c.getBoundingClientRect(),o.attr("width",d.width),o.attr("height",d.height)}const h=0*t.padding,b=h/2,y=t.width<=d.width+h?d.width+h:t.width;t.width<=d.width+h?t.diff=(d.width-t.width)/2-t.padding/2:t.diff=-t.padding/2,s.trace("Data ",t,JSON.stringify(t)),i.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-y/2).attr("y",t.y-t.height/2-b).attr("width",y).attr("height",t.height+h);const{subGraphTitleTopMargin:v}=J(n);a?r.attr("transform",`translate(${t.x-d.width/2}, ${t.y-t.height/2+v})`):r.attr("transform",`translate(${t.x}, ${t.y-t.height/2+v})`);const w=i.node().getBBox();return t.width=w.width,t.height=w.height,t.intersect=function(c){return R(t,c)},l},"rect"),xt=g((e,t)=>{const n=e.insert("g").attr("class","note-cluster").attr("id",t.id),l=n.insert("rect",":first-child"),i=0*t.padding,a=i/2;l.attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2-a).attr("width",t.width+i).attr("height",t.height+i).attr("fill","none");const r=l.node().getBBox();return t.width=r.width,t.height=r.height,t.intersect=function(f){return R(t,f)},n},"noteGroup"),St=g((e,t)=>{const n=m(),l=e.insert("g").attr("class",t.classes).attr("id",t.id),i=l.insert("rect",":first-child"),a=l.insert("g").attr("class","cluster-label"),r=l.append("rect"),f=a.node().appendChild(F(t.labelText,t.labelStyle,void 0,!0));let d=f.getBBox();if(B(n.flowchart.htmlLabels)){const c=f.children[0],o=T(f);d=c.getBoundingClientRect(),o.attr("width",d.width),o.attr("height",d.height)}d=f.getBBox();const h=0*t.padding,b=h/2,y=t.width<=d.width+t.padding?d.width+t.padding:t.width;t.width<=d.width+t.padding?t.diff=(d.width+t.padding*0-t.width)/2:t.diff=-t.padding/2,i.attr("class","outer").attr("x",t.x-y/2-b).attr("y",t.y-t.height/2-b).attr("width",y+h).attr("height",t.height+h),r.attr("class","inner").attr("x",t.x-y/2-b).attr("y",t.y-t.height/2-b+d.height-1).attr("width",y+h).attr("height",t.height+h-d.height-3);const{subGraphTitleTopMargin:v}=J(n);a.attr("transform",`translate(${t.x-d.width/2}, ${t.y-t.height/2-t.padding/3+(B(n.flowchart.htmlLabels)?5:3)+v})`);const w=i.node().getBBox();return t.height=w.height,t.intersect=function(c){return R(t,c)},l},"roundedWithTitle"),Nt=g((e,t)=>{const n=e.insert("g").attr("class",t.classes).attr("id",t.id),l=n.insert("rect",":first-child"),i=0*t.padding,a=i/2;l.attr("class","divider").attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2).attr("width",t.width+i).attr("height",t.height+i);const r=l.node().getBBox();return t.width=r.width,t.height=r.height,t.diff=-t.padding/2,t.intersect=function(f){return R(t,f)},n},"divider"),Et={rect:pt,roundedWithTitle:St,noteGroup:xt,divider:Nt},Y={},Ct=g((e,t)=>{s.trace("Inserting cluster");const n=t.shape||"rect";Y[t.id]=Et[n](e,t)},"insertCluster"),Tt=g(()=>{Y={}},"clear"),Z=g(async(e,t,n,l,i,a)=>{s.info("Graph in recursive render: XXX",S(t),i);const r=t.graph().rankdir;s.trace("Dir in recursive render - dir:",r);const f=e.insert("g").attr("class","root");t.nodes()?s.info("Recursive render XXX",t.nodes()):s.info("No nodes found for",t),t.edges().length>0&&s.trace("Recursive edges",t.edge(t.edges()[0]));const d=f.insert("g").attr("class","clusters"),h=f.insert("g").attr("class","edgePaths"),b=f.insert("g").attr("class","edgeLabels"),y=f.insert("g").attr("class","nodes");await Promise.all(t.nodes().map(async function(c){const o=t.node(c);if(i!==void 0){const p=JSON.parse(JSON.stringify(i.clusterData));s.info("Setting data for cluster XXX (",c,") ",p,i),t.setNode(i.id,p),t.parent(c)||(s.trace("Setting parent",c,i.id),t.setParent(c,i.id,p))}if(s.info("(Insert) Node XXX"+c+": "+JSON.stringify(t.node(c))),o!=null&&o.clusterNode){s.info("Cluster identified",c,o.width,t.node(c));const{ranksep:p,nodesep:E}=t.graph();o.graph.setGraph({...o.graph.graph(),ranksep:p,nodesep:E});const D=await Z(y,o.graph,n,l,t.node(c),a),N=D.elem;ot(o,N),o.diff=D.diff||0,s.info("Node bounds (abc123)",c,o,o.width,o.x,o.y),ct(N,o),s.warn("Recursive render complete ",N,o)}else t.children(c).length>0?(s.info("Cluster - the non recursive path XXX",c,o.id,o,t),s.info(k(o.id,t)),u[o.id]={id:k(o.id,t),node:o}):(s.info("Node - the non recursive path",c,o.id,o),await dt(y,t.node(c),r))})),t.edges().forEach(async function(c){const o=t.edge(c.v,c.w,c.name);s.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(c)),s.info("Edge "+c.v+" -> "+c.w+": ",c," ",JSON.stringify(t.edge(c))),s.info("Fix",u,"ids:",c.v,c.w,"Translating: ",u[c.v],u[c.w]),await nt(b,o)}),t.edges().forEach(function(c){s.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(c))}),s.info("Graph before layout:",JSON.stringify(S(t))),s.info("#############################################"),s.info("### Layout ###"),s.info("#############################################"),s.info(t),wt(t),s.info("Graph after layout:",JSON.stringify(S(t)));let v=0;const{subGraphTitleTotalMargin:w}=J(a);return vt(t).forEach(function(c){const o=t.node(c);s.info("Position "+c+": "+JSON.stringify(t.node(c))),s.info("Position "+c+": ("+o.x,","+o.y,") width: ",o.width," height: ",o.height),o!=null&&o.clusterNode?(o.y+=w,M(o)):t.children(c).length>0?(o.height+=w,Ct(d,o),u[o.id].node=o):(o.y+=w/2,M(o))}),t.edges().forEach(function(c){const o=t.edge(c);s.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(o),o),o.points.forEach(E=>E.y+=w/2);const p=it(h,c,o,u,n,t,l);st(o,p)}),t.nodes().forEach(function(c){const o=t.node(c);s.info(c,o.type,o.diff),o.type==="group"&&(v=o.diff)}),{elem:f,diff:v}},"recursiveRender"),kt=g(async(e,t,n,l,i)=>{tt(e,n,l,i),lt(),et(),Tt(),yt(),s.warn("Graph at first:",JSON.stringify(S(t))),mt(t),s.warn("Graph after:",JSON.stringify(S(t)));const a=m();await Z(e,t,l,i,void 0,a)},"render"),O=g(e=>W.sanitizeText(e,m()),"sanitizeText"),_={dividerMargin:10,padding:5,textHeight:10,curve:void 0},Dt=g(function(e,t,n,l){s.info("keys:",[...e.keys()]),s.info(e),e.forEach(function(i){var f,d;const r={shape:"rect",id:i.id,domId:i.domId,labelText:O(i.id),labelStyle:"",style:"fill: none; stroke: black",padding:((f=m().flowchart)==null?void 0:f.padding)??((d=m().class)==null?void 0:d.padding)};t.setNode(i.id,r),I(i.classes,t,n,l,i.id),s.info("setNode",r)})},"addNamespaces"),I=g(function(e,t,n,l,i){s.info("keys:",[...e.keys()]),s.info(e),[...e.values()].filter(a=>a.parent===i).forEach(function(a){var v,w;const r=a.cssClasses.join(" "),f=$(a.styles),d=a.label??a.id,h=0,y={labelStyle:f.labelStyle,shape:"class_box",labelText:O(d),classData:a,rx:h,ry:h,class:r,style:f.style,id:a.id,domId:a.domId,tooltip:l.db.getTooltip(a.id,i)||"",haveCallback:a.haveCallback,link:a.link,width:a.type==="group"?500:void 0,type:a.type,padding:((v=m().flowchart)==null?void 0:v.padding)??((w=m().class)==null?void 0:w.padding)};t.setNode(a.id,y),i&&t.setParent(a.id,i),s.info("setNode",y)})},"addClasses"),Xt=g(function(e,t,n,l){s.info(e),e.forEach(function(i,a){var o,p;const r=i,f="",d={labelStyle:"",style:""},h=r.text,b=0,v={labelStyle:d.labelStyle,shape:"note",labelText:O(h),noteData:r,rx:b,ry:b,class:f,style:d.style,id:r.id,domId:r.id,tooltip:"",type:"note",padding:((o=m().flowchart)==null?void 0:o.padding)??((p=m().class)==null?void 0:p.padding)};if(t.setNode(r.id,v),s.info("setNode",v),!r.class||!l.has(r.class))return;const w=n+a,c={id:`edgeNote${w}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:H(_.curve,z)};t.setEdge(r.id,r.class,c,w)})},"addNotes"),Bt=g(function(e,t){const n=m().flowchart;let l=0;e.forEach(function(i){var r;l++;const a={classes:"relation",pattern:i.relation.lineType==1?"dashed":"solid",id:ht(i.id1,i.id2,{prefix:"id",counter:l}),arrowhead:i.type==="arrow_open"?"none":"normal",startLabelRight:i.relationTitle1==="none"?"":i.relationTitle1,endLabelLeft:i.relationTitle2==="none"?"":i.relationTitle2,arrowTypeStart:A(i.relation.type1),arrowTypeEnd:A(i.relation.type2),style:"fill:none",labelStyle:"",curve:H(n==null?void 0:n.curve,z)};if(s.info(a,i),i.style!==void 0){const f=$(i.style);a.style=f.style,a.labelStyle=f.labelStyle}i.text=i.title,i.text===void 0?i.style!==void 0&&(a.arrowheadStyle="fill: #333"):(a.arrowheadStyle="fill: #333",a.labelpos="c",((r=m().flowchart)==null?void 0:r.htmlLabels)??m().htmlLabels?(a.labelType="html",a.label=''+i.text+""):(a.labelType="text",a.label=i.text.replace(W.lineBreakRegex,` `),i.style===void 0&&(a.style=a.style||"stroke: #333; stroke-width: 1.5px;fill:none"),a.labelStyle=a.labelStyle.replace("color:","fill:"))),t.setEdge(i.id1,i.id2,a,l)})},"addRelations"),Lt=g(function(e){_={..._,...e}},"setConf"),Rt=g(async function(e,t,n,l){s.info("Drawing class - ",t);const i=m().flowchart??m().class,a=m().securityLevel;s.info("config:",i);const r=(i==null?void 0:i.nodeSpacing)??50,f=(i==null?void 0:i.rankSpacing)??50,d=new q({multigraph:!0,compound:!0}).setGraph({rankdir:l.db.getDirection(),nodesep:r,ranksep:f,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),h=l.db.getNamespaces(),b=l.db.getClasses(),y=l.db.getRelations(),v=l.db.getNotes();s.info(y),Dt(h,d,t,l),I(b,d,t,l),Bt(y,d),Xt(v,d,y.length+1,b);let w;a==="sandbox"&&(w=T("#i"+t));const c=a==="sandbox"?T(w.nodes()[0].contentDocument.body):T("body"),o=c.select(`[id="${t}"]`),p=c.select("#"+t+" g");if(await kt(p,d,["aggregation","extension","composition","dependency","lollipop"],"classDiagram",t),ft.insertTitle(o,"classTitleText",(i==null?void 0:i.titleTopMargin)??5,l.db.getDiagramTitle()),ut(d,o,i==null?void 0:i.diagramPadding,i==null?void 0:i.useMaxWidth),!(i!=null&&i.htmlLabels)){const E=a==="sandbox"?w.nodes()[0].contentDocument:document,D=E.querySelectorAll('[id="'+t+'"] .edgeLabel .label');for(const N of D){const P=N.getBBox(),C=E.createElementNS("http://www.w3.org/2000/svg","rect");C.setAttribute("rx",0),C.setAttribute("ry",0),C.setAttribute("width",P.width),C.setAttribute("height",P.height),N.insertBefore(C,N.firstChild)}}},"draw");function A(e){let t;switch(e){case 0:t="aggregation";break;case 1:t="extension";break;case 2:t="composition";break;case 3:t="dependency";break;case 4:t="lollipop";break;default:t="none"}return t}g(A,"getArrowMarker");var _t={setConf:Lt,draw:Rt},zt={parser:at,db:G,renderer:_t,styles:rt,init:g(e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute,G.clear()},"init")};export{zt as diagram}; diff --git a/assets/cytoscape.esm-BPL5M0Vw.js b/assets/cytoscape.esm-BUox6XmP.js similarity index 99% rename from assets/cytoscape.esm-BPL5M0Vw.js rename to assets/cytoscape.esm-BUox6XmP.js index cf47ec4..c2e65a2 100644 --- a/assets/cytoscape.esm-BPL5M0Vw.js +++ b/assets/cytoscape.esm-BUox6XmP.js @@ -1,4 +1,4 @@ -import{an as Li}from"./index-DqL3MUN2.js";function We(r){"@babel/helpers - typeof";return We=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},We(r)}function ai(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function qu(r,e){for(var t=0;tr.length)&&(e=r.length);for(var t=0,a=new Array(e);tr.length)&&(e=r.length);for(var t=0,a=new Array(e);t=r.length?{done:!0}:{done:!1,value:r[a++]}},e:function(l){throw l},f:n}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,o=!1,s;return{s:function(){t=t.call(r)},n:function(){var l=t.next();return i=l.done,l},e:function(l){o=!0,s=l},f:function(){try{!i&&t.return!=null&&t.return()}finally{if(o)throw s}}}}var Ge=typeof window>"u"?null:window,Ri=Ge?Ge.navigator:null;Ge&&Ge.document;var Ku=We(""),Zo=We({}),Wu=We(function(){}),Uu=typeof HTMLElement>"u"?"undefined":We(HTMLElement),ba=function(e){return e&&e.instanceString&&Fe(e.instanceString)?e.instanceString():null},de=function(e){return e!=null&&We(e)==Ku},Fe=function(e){return e!=null&&We(e)===Wu},Re=function(e){return!gr(e)&&(Array.isArray?Array.isArray(e):e!=null&&e instanceof Array)},Se=function(e){return e!=null&&We(e)===Zo&&!Re(e)&&e.constructor===Object},Yu=function(e){return e!=null&&We(e)===Zo},ne=function(e){return e!=null&&We(e)===We(1)&&!isNaN(e)},Xu=function(e){return ne(e)&&Math.floor(e)===e},Qa=function(e){if(Uu!=="undefined")return e!=null&&e instanceof HTMLElement},gr=function(e){return wa(e)||Qo(e)},wa=function(e){return ba(e)==="collection"&&e._private.single},Qo=function(e){return ba(e)==="collection"&&!e._private.single},ii=function(e){return ba(e)==="core"},Jo=function(e){return ba(e)==="stylesheet"},Zu=function(e){return ba(e)==="event"},Jr=function(e){return e==null?!0:!!(e===""||e.match(/^\s+$/))},Qu=function(e){return typeof HTMLElement>"u"?!1:e instanceof HTMLElement},Ju=function(e){return Se(e)&&ne(e.x1)&&ne(e.x2)&&ne(e.y1)&&ne(e.y2)},_u=function(e){return Yu(e)&&Fe(e.then)},ju=function(){return Ri&&Ri.userAgent.match(/msie|trident|edge/i)},ua=function(e,t){t||(t=function(){if(arguments.length===1)return arguments[0];if(arguments.length===0)return"undefined";for(var i=[],o=0;ot?1:0},ol=function(e,t){return-1*jo(e,t)},be=Object.assign!=null?Object.assign.bind(Object):function(r){for(var e=arguments,t=1;t1&&(p-=1),p<1/6?d+(y-d)*6*p:p<1/2?y:p<2/3?d+(y-d)*(2/3-p)*6:d}var f=new RegExp("^"+tl+"$").exec(e);if(f){if(a=parseInt(f[1]),a<0?a=(360- -1*a%360)%360:a>360&&(a=a%360),a/=360,n=parseFloat(f[2]),n<0||n>100||(n=n/100,i=parseFloat(f[3]),i<0||i>100)||(i=i/100,o=f[4],o!==void 0&&(o=parseFloat(o),o<0||o>1)))return;if(n===0)s=l=u=Math.round(i*255);else{var c=i<.5?i*(1+n):i+n-i*n,h=2*i-c;s=Math.round(255*v(h,c,a+1/3)),l=Math.round(255*v(h,c,a)),u=Math.round(255*v(h,c,a-1/3))}t=[s,l,u,o]}return t},ll=function(e){var t,a=new RegExp("^"+el+"$").exec(e);if(a){t=[];for(var n=[],i=1;i<=3;i++){var o=a[i];if(o[o.length-1]==="%"&&(n[i]=!0),o=parseFloat(o),n[i]&&(o=o/100*255),o<0||o>255)return;t.push(Math.floor(o))}var s=n[1]||n[2]||n[3],l=n[1]&&n[2]&&n[3];if(s&&!l)return;var u=a[4];if(u!==void 0){if(u=parseFloat(u),u<0||u>1)return;t.push(u)}}return t},vl=function(e){return cl[e.toLowerCase()]},fl=function(e){return(Re(e)?e:null)||vl(e)||sl(e)||ll(e)||ul(e)},cl={transparent:[0,0,0,0],aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},es=function(e){for(var t=e.map,a=e.keys,n=a.length,i=0;i=e||x<0||f&&D>=i}function g(){var E=Pn();if(p(E))return m(E);s=setTimeout(g,y(E))}function m(E){return s=void 0,c&&a?h(E):(a=n=void 0,o)}function b(){s!==void 0&&clearTimeout(s),u=0,a=l=n=s=void 0}function w(){return s===void 0?o:m(Pn())}function S(){var E=Pn(),x=p(E);if(a=arguments,n=this,l=E,x){if(s===void 0)return d(l);if(f)return clearTimeout(s),s=setTimeout(g,e),h(l)}return s===void 0&&(s=setTimeout(g,e)),o}return S.cancel=b,S.flush=w,S}var vn=Ql,Bn=Ge?Ge.performance:null,ns=Bn&&Bn.now?function(){return Bn.now()}:function(){return Date.now()},Jl=function(){if(Ge){if(Ge.requestAnimationFrame)return function(r){Ge.requestAnimationFrame(r)};if(Ge.mozRequestAnimationFrame)return function(r){Ge.mozRequestAnimationFrame(r)};if(Ge.webkitRequestAnimationFrame)return function(r){Ge.webkitRequestAnimationFrame(r)};if(Ge.msRequestAnimationFrame)return function(r){Ge.msRequestAnimationFrame(r)}}return function(r){r&&setTimeout(function(){r(ns())},1e3/60)}}(),Ja=function(e){return Jl(e)},qr=ns,Dt=9261,is=65599,ta=5381,os=function(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Dt,a=t,n;n=e.next(),!n.done;)a=a*is+n.value|0;return a},la=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Dt;return t*is+e|0},va=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ta;return(t<<5)+t+e|0},_l=function(e,t){return e*2097152+t},Wr=function(e){return e[0]*2097152+e[1]},Ba=function(e,t){return[la(e[0],t[0]),va(e[1],t[1])]},jl=function(e,t){var a={value:0,done:!1},n=0,i=e.length,o={next:function(){return n=0;n--)e[n]===t&&e.splice(n,1)},li=function(e){e.splice(0,e.length)},ov=function(e,t){for(var a=0;a"u"?"undefined":We(Set))!==uv?Set:lv,fn=function(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(e===void 0||t===void 0||!ii(e)){Ve("An element must have a core reference and parameters set");return}var n=t.group;if(n==null&&(t.data&&t.data.source!=null&&t.data.target!=null?n="edges":n="nodes"),n!=="nodes"&&n!=="edges"){Ve("An element must be of type `nodes` or `edges`; you specified `"+n+"`");return}this.length=1,this[0]=this;var i=this._private={cy:e,single:!0,data:t.data||{},position:t.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:n,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!t.selected,selectable:t.selectable===void 0?!0:!!t.selectable,locked:!!t.locked,grabbed:!1,grabbable:t.grabbable===void 0?!0:!!t.grabbable,pannable:t.pannable===void 0?n==="edges":!!t.pannable,active:!1,classes:new Ft,animation:{current:[],queue:[]},rscratch:{},scratch:t.scratch||{},edges:[],children:[],parent:t.parent&&t.parent.isNode()?t.parent:null,traversalCache:{},backgrounding:!1,bbCache:null,bbCacheShift:{x:0,y:0},bodyBounds:null,overlayBounds:null,labelBounds:{all:null,source:null,target:null,main:null},arrowBounds:{source:null,target:null,"mid-source":null,"mid-target":null}};if(i.position.x==null&&(i.position.x=0),i.position.y==null&&(i.position.y=0),t.renderedPosition){var o=t.renderedPosition,s=e.pan(),l=e.zoom();i.position={x:(o.x-s.x)/l,y:(o.y-s.y)/l}}var u=[];Re(t.classes)?u=t.classes:de(t.classes)&&(u=t.classes.split(/\s+/));for(var v=0,f=u.length;vm?1:0},v=function(g,m,b,w,S){var E;if(b==null&&(b=0),S==null&&(S=a),b<0)throw new Error("lo must be non-negative");for(w==null&&(w=g.length);bM;0<=M?C++:C--)D.push(C);return D}).apply(this).reverse(),x=[],w=0,S=E.length;wP;0<=P?++D:--D)B.push(o(g,b));return B},y=function(g,m,b,w){var S,E,x;for(w==null&&(w=a),S=g[b];b>m;){if(x=b-1>>1,E=g[x],w(S,E)<0){g[b]=E,b=x;continue}break}return g[b]=S},p=function(g,m,b){var w,S,E,x,D;for(b==null&&(b=a),S=g.length,D=m,E=g[m],w=2*m+1;w0;){var E=m.pop(),x=p(E),D=E.id();if(c[D]=x,x!==1/0)for(var C=E.neighborhood().intersect(d),M=0;M0)for(I.unshift(R);f[$];){var F=f[$];I.unshift(F.edge),I.unshift(F.node),q=F.node,$=q.id()}return s.spawn(I)}}}},dv={kruskal:function(e){e=e||function(b){return 1};for(var t=this.byGroup(),a=t.nodes,n=t.edges,i=a.length,o=new Array(i),s=a,l=function(w){for(var S=0;S0;){if(S(),x++,w===v){for(var D=[],C=i,M=v,P=g[M];D.unshift(C),P!=null&&D.unshift(P),C=p[M],C!=null;)M=C.id(),P=g[M];return{found:!0,distance:f[w],path:this.spawn(D),steps:x}}h[w]=!0;for(var B=b._private.edges,L=0;LP&&(d[M]=P,m[M]=C,b[M]=S),!i){var B=C*v+D;!i&&d[B]>P&&(d[B]=P,m[B]=D,b[B]=S)}}}for(var L=0;L1&&arguments[1]!==void 0?arguments[1]:o,Pe=b(ve),Ee=[],xe=Pe;;){if(xe==null)return t.spawn();var Te=m(xe),J=Te.edge,T=Te.pred;if(Ee.unshift(xe[0]),xe.same(pe)&&Ee.length>0)break;J!=null&&Ee.unshift(J),xe=T}return l.spawn(Ee)},E=0;E=0;v--){var f=u[v],c=f[1],h=f[2];(t[c]===s&&t[h]===l||t[c]===l&&t[h]===s)&&u.splice(v,1)}for(var d=0;dn;){var i=Math.floor(Math.random()*t.length);t=xv(i,e,t),a--}return t},Ev={kargerStein:function(){var e=this,t=this.byGroup(),a=t.nodes,n=t.edges;n.unmergeBy(function(I){return I.isLoop()});var i=a.length,o=n.length,s=Math.ceil(Math.pow(Math.log(i)/Math.LN2,2)),l=Math.floor(i/wv);if(i<2){Ve("At least 2 nodes are required for Karger-Stein algorithm");return}for(var u=[],v=0;v1&&arguments[1]!==void 0?arguments[1]:0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,n=1/0,i=t;i1&&arguments[1]!==void 0?arguments[1]:0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,n=-1/0,i=t;i1&&arguments[1]!==void 0?arguments[1]:0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,n=0,i=0,o=t;o1&&arguments[1]!==void 0?arguments[1]:0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0;n?e=e.slice(t,a):(a0&&e.splice(0,t));for(var s=0,l=e.length-1;l>=0;l--){var u=e[l];o?isFinite(u)||(e[l]=-1/0,s++):e.splice(l,1)}i&&e.sort(function(c,h){return c-h});var v=e.length,f=Math.floor(v/2);return v%2!==0?e[f+1+s]:(e[f-1+s]+e[f+s])/2},Pv=function(e){return Math.PI*e/180},Ma=function(e,t){return Math.atan2(t,e)-Math.PI/2},vi=Math.log2||function(r){return Math.log(r)/Math.log(2)},ds=function(e){return e>0?1:e<0?-1:0},ct=function(e,t){return Math.sqrt(it(e,t))},it=function(e,t){var a=t.x-e.x,n=t.y-e.y;return a*a+n*n},Bv=function(e){for(var t=e.length,a=0,n=0;n=e.x1&&e.y2>=e.y1)return{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,w:e.x2-e.x1,h:e.y2-e.y1};if(e.w!=null&&e.h!=null&&e.w>=0&&e.h>=0)return{x1:e.x1,y1:e.y1,x2:e.x1+e.w,y2:e.y1+e.h,w:e.w,h:e.h}}},Lv=function(e){return{x1:e.x1,x2:e.x2,w:e.w,y1:e.y1,y2:e.y2,h:e.h}},Av=function(e){e.x1=1/0,e.y1=1/0,e.x2=-1/0,e.y2=-1/0,e.w=0,e.h=0},Rv=function(e,t,a){return{x1:e.x1+t,x2:e.x2+t,y1:e.y1+a,y2:e.y2+a,w:e.w,h:e.h}},hs=function(e,t){e.x1=Math.min(e.x1,t.x1),e.x2=Math.max(e.x2,t.x2),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,t.y1),e.y2=Math.max(e.y2,t.y2),e.h=e.y2-e.y1},Ov=function(e,t,a){e.x1=Math.min(e.x1,t),e.x2=Math.max(e.x2,t),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,a),e.y2=Math.max(e.y2,a),e.h=e.y2-e.y1},$a=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return e.x1-=t,e.x2+=t,e.y1-=t,e.y2+=t,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},Ha=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[0],a,n,i,o;if(t.length===1)a=n=i=o=t[0];else if(t.length===2)a=i=t[0],o=n=t[1];else if(t.length===4){var s=Tr(t,4);a=s[0],n=s[1],i=s[2],o=s[3]}return e.x1-=o,e.x2+=n,e.y1-=a,e.y2+=i,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},$i=function(e,t){e.x1=t.x1,e.y1=t.y1,e.x2=t.x2,e.y2=t.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1},fi=function(e,t){return!(e.x1>t.x2||t.x1>e.x2||e.x2t.y2||t.y1>e.y2)},Ot=function(e,t,a){return e.x1<=t&&t<=e.x2&&e.y1<=a&&a<=e.y2},Iv=function(e,t){return Ot(e,t.x,t.y)},gs=function(e,t){return Ot(e,t.x1,t.y1)&&Ot(e,t.x2,t.y2)},ps=function(e,t,a,n,i,o,s){var l=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"auto",u=l==="auto"?dt(i,o):l,v=i/2,f=o/2;u=Math.min(u,v,f);var c=u!==v,h=u!==f,d;if(c){var y=a-v+u-s,p=n-f-s,g=a+v-u+s,m=p;if(d=Xr(e,t,a,n,y,p,g,m,!1),d.length>0)return d}if(h){var b=a+v+s,w=n-f+u-s,S=b,E=n+f-u+s;if(d=Xr(e,t,a,n,b,w,S,E,!1),d.length>0)return d}if(c){var x=a-v+u-s,D=n+f+s,C=a+v-u+s,M=D;if(d=Xr(e,t,a,n,x,D,C,M,!1),d.length>0)return d}if(h){var P=a-v-s,B=n-f+u-s,L=P,k=n+f-u+s;if(d=Xr(e,t,a,n,P,B,L,k,!1),d.length>0)return d}var O;{var A=a-v+u,R=n-f+u;if(O=aa(e,t,a,n,A,R,u+s),O.length>0&&O[0]<=A&&O[1]<=R)return[O[0],O[1]]}{var I=a+v-u,q=n-f+u;if(O=aa(e,t,a,n,I,q,u+s),O.length>0&&O[0]>=I&&O[1]<=q)return[O[0],O[1]]}{var $=a+v-u,F=n+f-u;if(O=aa(e,t,a,n,$,F,u+s),O.length>0&&O[0]>=$&&O[1]>=F)return[O[0],O[1]]}{var N=a-v+u,W=n+f-u;if(O=aa(e,t,a,n,N,W,u+s),O.length>0&&O[0]<=N&&O[1]>=W)return[O[0],O[1]]}return[]},zv=function(e,t,a,n,i,o,s){var l=s,u=Math.min(a,i),v=Math.max(a,i),f=Math.min(n,o),c=Math.max(n,o);return u-l<=e&&e<=v+l&&f-l<=t&&t<=c+l},Nv=function(e,t,a,n,i,o,s,l,u){var v={x1:Math.min(a,s,i)-u,x2:Math.max(a,s,i)+u,y1:Math.min(n,l,o)-u,y2:Math.max(n,l,o)+u};return!(ev.x2||tv.y2)},Fv=function(e,t,a,n){a-=n;var i=t*t-4*e*a;if(i<0)return[];var o=Math.sqrt(i),s=2*e,l=(-t+o)/s,u=(-t-o)/s;return[l,u]},Vv=function(e,t,a,n,i){var o=1e-5;e===0&&(e=o),t/=e,a/=e,n/=e;var s,l,u,v,f,c,h,d;if(l=(3*a-t*t)/9,u=-(27*n)+t*(9*a-2*(t*t)),u/=54,s=l*l*l+u*u,i[1]=0,h=t/3,s>0){f=u+Math.sqrt(s),f=f<0?-Math.pow(-f,1/3):Math.pow(f,1/3),c=u-Math.sqrt(s),c=c<0?-Math.pow(-c,1/3):Math.pow(c,1/3),i[0]=-h+f+c,h+=(f+c)/2,i[4]=i[2]=-h,h=Math.sqrt(3)*(-c+f)/2,i[3]=h,i[5]=-h;return}if(i[5]=i[3]=0,s===0){d=u<0?-Math.pow(-u,1/3):Math.pow(u,1/3),i[0]=-h+2*d,i[4]=i[2]=-(d+h);return}l=-l,v=l*l*l,v=Math.acos(u/Math.sqrt(v)),d=2*Math.sqrt(l),i[0]=-h+d*Math.cos(v/3),i[2]=-h+d*Math.cos((v+2*Math.PI)/3),i[4]=-h+d*Math.cos((v+4*Math.PI)/3)},qv=function(e,t,a,n,i,o,s,l){var u=1*a*a-4*a*i+2*a*s+4*i*i-4*i*s+s*s+n*n-4*n*o+2*n*l+4*o*o-4*o*l+l*l,v=1*9*a*i-3*a*a-3*a*s-6*i*i+3*i*s+9*n*o-3*n*n-3*n*l-6*o*o+3*o*l,f=1*3*a*a-6*a*i+a*s-a*e+2*i*i+2*i*e-s*e+3*n*n-6*n*o+n*l-n*t+2*o*o+2*o*t-l*t,c=1*a*i-a*a+a*e-i*e+n*o-n*n+n*t-o*t,h=[];Vv(u,v,f,c,h);for(var d=1e-7,y=[],p=0;p<6;p+=2)Math.abs(h[p+1])=0&&h[p]<=1&&y.push(h[p]);y.push(1),y.push(0);for(var g=-1,m,b,w,S=0;S=0?wu?(e-i)*(e-i)+(t-o)*(t-o):v-c},dr=function(e,t,a){for(var n,i,o,s,l,u=0,v=0;v=e&&e>=o||n<=e&&e<=o)l=(e-n)/(o-n)*(s-i)+i,l>t&&u++;else continue;return u%2!==0},$r=function(e,t,a,n,i,o,s,l,u){var v=new Array(a.length),f;l[0]!=null?(f=Math.atan(l[1]/l[0]),l[0]<0?f=f+Math.PI/2:f=-f-Math.PI/2):f=l;for(var c=Math.cos(-f),h=Math.sin(-f),d=0;d0){var p=en(v,-u);y=ja(p)}else y=v;return dr(e,t,y)},Hv=function(e,t,a,n,i,o,s,l){for(var u=new Array(a.length*2),v=0;v=0&&p<=1&&m.push(p),g>=0&&g<=1&&m.push(g),m.length===0)return[];var b=m[0]*l[0]+e,w=m[0]*l[1]+t;if(m.length>1){if(m[0]==m[1])return[b,w];var S=m[1]*l[0]+e,E=m[1]*l[1]+t;return[b,w,S,E]}else return[b,w]},Ln=function(e,t,a){return t<=e&&e<=a||a<=e&&e<=t?e:e<=t&&t<=a||a<=t&&t<=e?t:a},Xr=function(e,t,a,n,i,o,s,l,u){var v=e-i,f=a-e,c=s-i,h=t-o,d=n-t,y=l-o,p=c*h-y*v,g=f*h-d*v,m=y*f-c*d;if(m!==0){var b=p/m,w=g/m,S=.001,E=0-S,x=1+S;return E<=b&&b<=x&&E<=w&&w<=x?[e+b*f,t+b*d]:u?[e+b*f,t+b*d]:[]}else return p===0||g===0?Ln(e,a,s)===s?[s,l]:Ln(e,a,i)===i?[i,o]:Ln(i,s,a)===a?[a,n]:[]:[]},da=function(e,t,a,n,i,o,s,l){var u=[],v,f=new Array(a.length),c=!0;o==null&&(c=!1);var h;if(c){for(var d=0;d0){var y=en(f,-l);h=ja(y)}else h=f}else h=a;for(var p,g,m,b,w=0;w2){for(var d=[v[0],v[1]],y=Math.pow(d[0]-e,2)+Math.pow(d[1]-t,2),p=1;pv&&(v=w)},get:function(b){return u[b]}},c=0;c0?A=O.edgesTo(k)[0]:A=k.edgesTo(O)[0];var R=n(A);k=k.id(),D[k]>D[B]+R&&(D[k]=D[B]+R,C.nodes.indexOf(k)<0?C.push(k):C.updateItem(k),x[k]=0,E[k]=[]),D[k]==D[B]+R&&(x[k]=x[k]+x[B],E[k].push(B))}else for(var I=0;I0;){for(var N=S.pop(),W=0;W0&&s.push(a[l]);s.length!==0&&i.push(n.collection(s))}return i},nf=function(e,t){for(var a=0;a5&&arguments[5]!==void 0?arguments[5]:uf,s=n,l,u,v=0;v=2?Jt(e,t,a,0,Ui,lf):Jt(e,t,a,0,Wi)},squaredEuclidean:function(e,t,a){return Jt(e,t,a,0,Ui)},manhattan:function(e,t,a){return Jt(e,t,a,0,Wi)},max:function(e,t,a){return Jt(e,t,a,-1/0,vf)}};It["squared-euclidean"]=It.squaredEuclidean;It.squaredeuclidean=It.squaredEuclidean;function dn(r,e,t,a,n,i){var o;return Fe(r)?o=r:o=It[r]||It.euclidean,e===0&&Fe(r)?o(n,i):o(e,t,a,n,i)}var ff=er({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),di=function(e){return ff(e)},rn=function(e,t,a,n,i){var o=i!=="kMedoids",s=o?function(f){return a[f]}:function(f){return n[f](a)},l=function(c){return n[c](t)},u=a,v=t;return dn(e,n.length,s,l,u,v)},An=function(e,t,a){for(var n=a.length,i=new Array(n),o=new Array(n),s=new Array(t),l=null,u=0;ua)return!1}return!0},hf=function(e,t,a){for(var n=0;ns&&(s=t[u][v],l=v);i[l].push(e[u])}for(var f=0;f=i.threshold||i.mode==="dendrogram"&&e.length===1)return!1;var d=t[o],y=t[n[o]],p;i.mode==="dendrogram"?p={left:d,right:y,key:d.key}:p={value:d.value.concat(y.value),key:d.key},e[d.index]=p,e.splice(y.index,1),t[d.key]=p;for(var g=0;ga[y.key][m.key]&&(l=a[y.key][m.key])):i.linkage==="max"?(l=a[d.key][m.key],a[d.key][m.key]0&&n.push(i);return n},_i=function(e,t,a){for(var n=[],i=0;is&&(o=u,s=t[i*e+u])}o>0&&n.push(o)}for(var v=0;vu&&(l=v,u=f)}a[i]=o[l]}return n=_i(e,t,a),n},ji=function(e){for(var t=this.cy(),a=this.nodes(),n=Pf(e),i={},o=0;o=P?(B=P,P=k,L=O):k>B&&(B=k);for(var A=0;A0?1:0;x[C%n.minIterations*s+N]=W,F+=W}if(F>0&&(C>=n.minIterations-1||C==n.maxIterations-1)){for(var Q=0,_=0;_1||E>1)&&(s=!0),f[b]=[],m.outgoers().forEach(function(D){D.isEdge()&&f[b].push(D.id())})}else c[b]=[void 0,m.target().id()]}):o.forEach(function(m){var b=m.id();if(m.isNode()){var w=m.degree(!0);w%2&&(l?u?s=!0:u=b:l=b),f[b]=[],m.connectedEdges().forEach(function(S){return f[b].push(S.id())})}else c[b]=[m.source().id(),m.target().id()]});var h={found:!1,trail:void 0};if(s)return h;if(u&&l)if(i){if(v&&u!=v)return h;v=u}else{if(v&&u!=v&&l!=v)return h;v||(v=u)}else v||(v=o[0].id());var d=function(b){for(var w=b,S=[b],E,x,D;f[w].length;)E=f[w].shift(),x=c[E][0],D=c[E][1],w!=D?(f[D]=f[D].filter(function(C){return C!=E}),w=D):!i&&w!=x&&(f[x]=f[x].filter(function(C){return C!=E}),w=x),S.unshift(E),S.unshift(w);return S},y=[],p=[];for(p=d(v);p.length!=1;)f[p[0]].length==0?(y.unshift(o.getElementById(p.shift())),y.unshift(o.getElementById(p.shift()))):p=d(p.shift()).concat(p);y.unshift(o.getElementById(p.shift()));for(var g in f)if(f[g].length)return h;return h.found=!0,h.trail=this.spawn(y,!0),h}},Ra=function(){var e=this,t={},a=0,n=0,i=[],o=[],s={},l=function(c,h){for(var d=o.length-1,y=[],p=e.spawn();o[d].x!=c||o[d].y!=h;)y.push(o.pop().edge),d--;y.push(o.pop().edge),y.forEach(function(g){var m=g.connectedNodes().intersection(e);p.merge(g),m.forEach(function(b){var w=b.id(),S=b.connectedEdges().intersection(e);p.merge(b),t[w].cutVertex?p.merge(S.filter(function(E){return E.isLoop()})):p.merge(S)})}),i.push(p)},u=function f(c,h,d){c===d&&(n+=1),t[h]={id:a,low:a++,cutVertex:!1};var y=e.getElementById(h).connectedEdges().intersection(e);if(y.size()===0)i.push(e.spawn(e.getElementById(h)));else{var p,g,m,b;y.forEach(function(w){p=w.source().id(),g=w.target().id(),m=p===h?g:p,m!==d&&(b=w.id(),s[b]||(s[b]=!0,o.push({x:h,y:m,edge:w})),m in t?t[h].low=Math.min(t[h].low,t[m].id):(f(c,m,h),t[h].low=Math.min(t[h].low,t[m].low),t[h].id<=t[m].low&&(t[h].cutVertex=!0,l(h,m))))})}};e.forEach(function(f){if(f.isNode()){var c=f.id();c in t||(n=0,u(c,c),t[c].cutVertex=n>1)}});var v=Object.keys(t).filter(function(f){return t[f].cutVertex}).map(function(f){return e.getElementById(f)});return{cut:e.spawn(v),components:i}},zf={hopcroftTarjanBiconnected:Ra,htbc:Ra,htb:Ra,hopcroftTarjanBiconnectedComponents:Ra},Oa=function(){var e=this,t={},a=0,n=[],i=[],o=e.spawn(e),s=function l(u){i.push(u),t[u]={index:a,low:a++,explored:!1};var v=e.getElementById(u).connectedEdges().intersection(e);if(v.forEach(function(y){var p=y.target().id();p!==u&&(p in t||l(p),t[p].explored||(t[u].low=Math.min(t[u].low,t[p].low)))}),t[u].index===t[u].low){for(var f=e.spawn();;){var c=i.pop();if(f.merge(e.getElementById(c)),t[c].low=t[u].index,t[c].explored=!0,c===u)break}var h=f.edgesWith(f),d=f.merge(h);n.push(d),o=o.difference(d)}};return e.forEach(function(l){if(l.isNode()){var u=l.id();u in t||s(u)}}),{cut:o,components:n}},Nf={tarjanStronglyConnected:Oa,tsc:Oa,tscc:Oa,tarjanStronglyConnectedComponents:Oa},Cs={};[fa,cv,dv,gv,yv,bv,Ev,Yv,Mt,Lt,Gn,sf,wf,Df,Rf,If,zf,Nf].forEach(function(r){be(Cs,r)});/*! Embeddable Minimum Strictly-Compliant Promises/A+ 1.1.1 Thenable diff --git a/assets/dagre-P3YPLUS5-Cvu0GWn2.js b/assets/dagre-P3YPLUS5-cXP2yN0w.js similarity index 97% rename from assets/dagre-P3YPLUS5-Cvu0GWn2.js rename to assets/dagre-P3YPLUS5-cXP2yN0w.js index 854e4d0..801ce8e 100644 --- a/assets/dagre-P3YPLUS5-Cvu0GWn2.js +++ b/assets/dagre-P3YPLUS5-cXP2yN0w.js @@ -1,4 +1,4 @@ -import{_ as X,ao as M,ap as F,aq as Y,ar as _,l as i,d as j,as as H,at as q,au as z,S as K,av as O,aw as Q,ax as U,ay as V,az as W}from"./index-DqL3MUN2.js";import{G as k}from"./graph-F-lRYGiw.js";import{l as Z}from"./layout-B3T3dhdM.js";import{w as N}from"./json-Dvvisu1f.js";import"./_baseUniq-B1Flybha.js";import"./min-CjiScnR7.js";var f=new Map,p=new Map,B=new Map,$=X(()=>{p.clear(),B.clear(),f.clear()},"clear"),D=X((e,t)=>{const n=p.get(t)||[];return i.trace("In isDescendant",t," ",e," = ",n.includes(e)),n.includes(e)},"isDescendant"),I=X((e,t)=>{const n=p.get(t)||[];return i.info("Descendants of ",t," is ",n),i.info("Edge is ",e),e.v===t||e.w===t?!1:n?n.includes(e.v)||D(e.v,t)||D(e.w,t)||n.includes(e.w):(i.debug("Tilt, ",t,",not in descendants"),!1)},"edgeInCluster"),A=X((e,t,n,o)=>{i.warn("Copying children of ",e,"root",o,"data",t.node(e),o);const d=t.children(e)||[];e!==o&&d.push(e),i.warn("Copying (nodes) clusterId",e,"nodes",d),d.forEach(c=>{if(t.children(c).length>0)A(c,t,n,o);else{const r=t.node(c);i.info("cp ",c," to ",o," with parent ",e),n.setNode(c,r),o!==t.parent(c)&&(i.warn("Setting parent",c,t.parent(c)),n.setParent(c,t.parent(c))),e!==o&&c!==e?(i.debug("Setting parent",c,e),n.setParent(c,e)):(i.info("In copy ",e,"root",o,"data",t.node(e),o),i.debug("Not Setting parent for node=",c,"cluster!==rootId",e!==o,"node!==clusterId",c!==e));const u=t.edges(c);i.debug("Copying Edges",u),u.forEach(l=>{i.info("Edge",l);const v=t.edge(l.v,l.w,l.name);i.info("Edge data",v,o);try{I(l,o)?(i.info("Copying as ",l.v,l.w,v,l.name),n.setEdge(l.v,l.w,v,l.name),i.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):i.info("Skipping copy of edge ",l.v,"-->",l.w," rootId: ",o," clusterId:",e)}catch(C){i.error(C)}})}i.debug("Removing node",c),t.removeNode(c)})},"copy"),J=X((e,t)=>{const n=t.children(e);let o=[...n];for(const d of n)B.set(d,e),o=[...o,...J(d,t)];return o},"extractDescendants"),L=X((e,t,n)=>{const o=e.edges().filter(l=>l.v===t||l.w===t),d=e.edges().filter(l=>l.v===n||l.w===n),c=o.map(l=>({v:l.v===t?n:l.v,w:l.w===t?t:l.w})),r=d.map(l=>({v:l.v,w:l.w}));return c.filter(l=>r.some(v=>l.v===v.v&&l.w===v.w))},"findCommonEdges"),S=X((e,t,n)=>{const o=t.children(e);if(i.trace("Searching children of id ",e,o),o.length<1)return e;let d;for(const c of o){const r=S(c,t,n),u=L(t,n,r);if(r)if(u.length>0)d=r;else return r}return d},"findNonClusterChild"),P=X(e=>!f.has(e)||!f.get(e).externalConnections?e:f.has(e)?f.get(e).id:e,"getAnchorId"),ee=X((e,t)=>{if(!e||t>10){i.debug("Opting out, no graph ");return}else i.debug("Opting in, graph ");e.nodes().forEach(function(n){e.children(n).length>0&&(i.warn("Cluster identified",n," Replacement id in edges: ",S(n,e,n)),p.set(n,J(n,e)),f.set(n,{id:S(n,e,n),clusterData:e.node(n)}))}),e.nodes().forEach(function(n){const o=e.children(n),d=e.edges();o.length>0?(i.debug("Cluster identified",n,p),d.forEach(c=>{const r=D(c.v,n),u=D(c.w,n);r^u&&(i.warn("Edge: ",c," leaves cluster ",n),i.warn("Descendants of XXX ",n,": ",p.get(n)),f.get(n).externalConnections=!0)})):i.debug("Not a cluster ",n,p)});for(let n of f.keys()){const o=f.get(n).id,d=e.parent(o);d!==n&&f.has(d)&&!f.get(d).externalConnections&&(f.get(n).id=d)}e.edges().forEach(function(n){const o=e.edge(n);i.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),i.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let d=n.v,c=n.w;if(i.warn("Fix XXX",f,"ids:",n.v,n.w,"Translating: ",f.get(n.v)," --- ",f.get(n.w)),f.get(n.v)||f.get(n.w)){if(i.warn("Fixing and trying - removing XXX",n.v,n.w,n.name),d=P(n.v),c=P(n.w),e.removeEdge(n.v,n.w,n.name),d!==n.v){const r=e.parent(d);f.get(r).externalConnections=!0,o.fromCluster=n.v}if(c!==n.w){const r=e.parent(c);f.get(r).externalConnections=!0,o.toCluster=n.w}i.warn("Fix Replacing with XXX",d,c,n.name),e.setEdge(d,c,o,n.name)}}),i.warn("Adjusted Graph",N(e)),G(e,0),i.trace(f)},"adjustClustersAndEdges"),G=X((e,t)=>{var d,c;if(i.warn("extractor - ",t,N(e),e.children("D")),t>10){i.error("Bailing out");return}let n=e.nodes(),o=!1;for(const r of n){const u=e.children(r);o=o||u.length>0}if(!o){i.debug("Done, no node has children",e.nodes());return}i.debug("Nodes = ",n,t);for(const r of n)if(i.debug("Extracting node",r,f,f.has(r)&&!f.get(r).externalConnections,!e.parent(r),e.node(r),e.children("D")," Depth ",t),!f.has(r))i.debug("Not a cluster",r,t);else if(!f.get(r).externalConnections&&e.children(r)&&e.children(r).length>0){i.warn("Cluster without external connections, without a parent and with children",r,t);let l=e.graph().rankdir==="TB"?"LR":"TB";(c=(d=f.get(r))==null?void 0:d.clusterData)!=null&&c.dir&&(l=f.get(r).clusterData.dir,i.warn("Fixing dir",f.get(r).clusterData.dir,l));const v=new k({multigraph:!0,compound:!0}).setGraph({rankdir:l,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});i.warn("Old graph before copy",N(e)),A(r,e,v,r),e.setNode(r,{clusterNode:!0,id:r,clusterData:f.get(r).clusterData,label:f.get(r).label,graph:v}),i.warn("New graph after copy node: (",r,")",N(v)),i.debug("Old graph after copy",N(e))}else i.warn("Cluster ** ",r," **not meeting the criteria !externalConnections:",!f.get(r).externalConnections," no parent: ",!e.parent(r)," children ",e.children(r)&&e.children(r).length>0,e.children("D"),t),i.debug(f);n=e.nodes(),i.warn("New list of nodes",n);for(const r of n){const u=e.node(r);i.warn(" Now next level",r,u),u!=null&&u.clusterNode&&G(u.graph,t+1)}},"extractor"),R=X((e,t)=>{if(t.length===0)return[];let n=Object.assign([],t);return t.forEach(o=>{const d=e.children(o),c=R(e,d);n=[...n,...c]}),n},"sorter"),ne=X(e=>R(e,e.children()),"sortNodesByHierarchy"),T=X(async(e,t,n,o,d,c)=>{i.warn("Graph in recursive render:XAX",N(t),d);const r=t.graph().rankdir;i.trace("Dir in recursive render - dir:",r);const u=e.insert("g").attr("class","root");t.nodes()?i.info("Recursive render XXX",t.nodes()):i.info("No nodes found for",t),t.edges().length>0&&i.info("Recursive edges",t.edge(t.edges()[0]));const l=u.insert("g").attr("class","clusters"),v=u.insert("g").attr("class","edgePaths"),C=u.insert("g").attr("class","edgeLabels"),g=u.insert("g").attr("class","nodes");await Promise.all(t.nodes().map(async function(a){const s=t.node(a);if(d!==void 0){const m=JSON.parse(JSON.stringify(d.clusterData));i.trace(`Setting data for parent cluster XXX +import{_ as X,ao as M,ap as F,aq as Y,ar as _,l as i,d as j,as as H,at as q,au as z,S as K,av as O,aw as Q,ax as U,ay as V,az as W}from"./index-BmyXM-jo.js";import{G as k}from"./graph-DNRi3G-N.js";import{l as Z}from"./layout-CbykB6Gj.js";import{w as N}from"./json-BzboBZu8.js";import"./_baseUniq-BdggiAxO.js";import"./min-CuKIA37g.js";var f=new Map,p=new Map,B=new Map,$=X(()=>{p.clear(),B.clear(),f.clear()},"clear"),D=X((e,t)=>{const n=p.get(t)||[];return i.trace("In isDescendant",t," ",e," = ",n.includes(e)),n.includes(e)},"isDescendant"),I=X((e,t)=>{const n=p.get(t)||[];return i.info("Descendants of ",t," is ",n),i.info("Edge is ",e),e.v===t||e.w===t?!1:n?n.includes(e.v)||D(e.v,t)||D(e.w,t)||n.includes(e.w):(i.debug("Tilt, ",t,",not in descendants"),!1)},"edgeInCluster"),A=X((e,t,n,o)=>{i.warn("Copying children of ",e,"root",o,"data",t.node(e),o);const d=t.children(e)||[];e!==o&&d.push(e),i.warn("Copying (nodes) clusterId",e,"nodes",d),d.forEach(c=>{if(t.children(c).length>0)A(c,t,n,o);else{const r=t.node(c);i.info("cp ",c," to ",o," with parent ",e),n.setNode(c,r),o!==t.parent(c)&&(i.warn("Setting parent",c,t.parent(c)),n.setParent(c,t.parent(c))),e!==o&&c!==e?(i.debug("Setting parent",c,e),n.setParent(c,e)):(i.info("In copy ",e,"root",o,"data",t.node(e),o),i.debug("Not Setting parent for node=",c,"cluster!==rootId",e!==o,"node!==clusterId",c!==e));const u=t.edges(c);i.debug("Copying Edges",u),u.forEach(l=>{i.info("Edge",l);const v=t.edge(l.v,l.w,l.name);i.info("Edge data",v,o);try{I(l,o)?(i.info("Copying as ",l.v,l.w,v,l.name),n.setEdge(l.v,l.w,v,l.name),i.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):i.info("Skipping copy of edge ",l.v,"-->",l.w," rootId: ",o," clusterId:",e)}catch(C){i.error(C)}})}i.debug("Removing node",c),t.removeNode(c)})},"copy"),J=X((e,t)=>{const n=t.children(e);let o=[...n];for(const d of n)B.set(d,e),o=[...o,...J(d,t)];return o},"extractDescendants"),L=X((e,t,n)=>{const o=e.edges().filter(l=>l.v===t||l.w===t),d=e.edges().filter(l=>l.v===n||l.w===n),c=o.map(l=>({v:l.v===t?n:l.v,w:l.w===t?t:l.w})),r=d.map(l=>({v:l.v,w:l.w}));return c.filter(l=>r.some(v=>l.v===v.v&&l.w===v.w))},"findCommonEdges"),S=X((e,t,n)=>{const o=t.children(e);if(i.trace("Searching children of id ",e,o),o.length<1)return e;let d;for(const c of o){const r=S(c,t,n),u=L(t,n,r);if(r)if(u.length>0)d=r;else return r}return d},"findNonClusterChild"),P=X(e=>!f.has(e)||!f.get(e).externalConnections?e:f.has(e)?f.get(e).id:e,"getAnchorId"),ee=X((e,t)=>{if(!e||t>10){i.debug("Opting out, no graph ");return}else i.debug("Opting in, graph ");e.nodes().forEach(function(n){e.children(n).length>0&&(i.warn("Cluster identified",n," Replacement id in edges: ",S(n,e,n)),p.set(n,J(n,e)),f.set(n,{id:S(n,e,n),clusterData:e.node(n)}))}),e.nodes().forEach(function(n){const o=e.children(n),d=e.edges();o.length>0?(i.debug("Cluster identified",n,p),d.forEach(c=>{const r=D(c.v,n),u=D(c.w,n);r^u&&(i.warn("Edge: ",c," leaves cluster ",n),i.warn("Descendants of XXX ",n,": ",p.get(n)),f.get(n).externalConnections=!0)})):i.debug("Not a cluster ",n,p)});for(let n of f.keys()){const o=f.get(n).id,d=e.parent(o);d!==n&&f.has(d)&&!f.get(d).externalConnections&&(f.get(n).id=d)}e.edges().forEach(function(n){const o=e.edge(n);i.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),i.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let d=n.v,c=n.w;if(i.warn("Fix XXX",f,"ids:",n.v,n.w,"Translating: ",f.get(n.v)," --- ",f.get(n.w)),f.get(n.v)||f.get(n.w)){if(i.warn("Fixing and trying - removing XXX",n.v,n.w,n.name),d=P(n.v),c=P(n.w),e.removeEdge(n.v,n.w,n.name),d!==n.v){const r=e.parent(d);f.get(r).externalConnections=!0,o.fromCluster=n.v}if(c!==n.w){const r=e.parent(c);f.get(r).externalConnections=!0,o.toCluster=n.w}i.warn("Fix Replacing with XXX",d,c,n.name),e.setEdge(d,c,o,n.name)}}),i.warn("Adjusted Graph",N(e)),G(e,0),i.trace(f)},"adjustClustersAndEdges"),G=X((e,t)=>{var d,c;if(i.warn("extractor - ",t,N(e),e.children("D")),t>10){i.error("Bailing out");return}let n=e.nodes(),o=!1;for(const r of n){const u=e.children(r);o=o||u.length>0}if(!o){i.debug("Done, no node has children",e.nodes());return}i.debug("Nodes = ",n,t);for(const r of n)if(i.debug("Extracting node",r,f,f.has(r)&&!f.get(r).externalConnections,!e.parent(r),e.node(r),e.children("D")," Depth ",t),!f.has(r))i.debug("Not a cluster",r,t);else if(!f.get(r).externalConnections&&e.children(r)&&e.children(r).length>0){i.warn("Cluster without external connections, without a parent and with children",r,t);let l=e.graph().rankdir==="TB"?"LR":"TB";(c=(d=f.get(r))==null?void 0:d.clusterData)!=null&&c.dir&&(l=f.get(r).clusterData.dir,i.warn("Fixing dir",f.get(r).clusterData.dir,l));const v=new k({multigraph:!0,compound:!0}).setGraph({rankdir:l,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});i.warn("Old graph before copy",N(e)),A(r,e,v,r),e.setNode(r,{clusterNode:!0,id:r,clusterData:f.get(r).clusterData,label:f.get(r).label,graph:v}),i.warn("New graph after copy node: (",r,")",N(v)),i.debug("Old graph after copy",N(e))}else i.warn("Cluster ** ",r," **not meeting the criteria !externalConnections:",!f.get(r).externalConnections," no parent: ",!e.parent(r)," children ",e.children(r)&&e.children(r).length>0,e.children("D"),t),i.debug(f);n=e.nodes(),i.warn("New list of nodes",n);for(const r of n){const u=e.node(r);i.warn(" Now next level",r,u),u!=null&&u.clusterNode&&G(u.graph,t+1)}},"extractor"),R=X((e,t)=>{if(t.length===0)return[];let n=Object.assign([],t);return t.forEach(o=>{const d=e.children(o),c=R(e,d);n=[...n,...c]}),n},"sorter"),ne=X(e=>R(e,e.children()),"sortNodesByHierarchy"),T=X(async(e,t,n,o,d,c)=>{i.warn("Graph in recursive render:XAX",N(t),d);const r=t.graph().rankdir;i.trace("Dir in recursive render - dir:",r);const u=e.insert("g").attr("class","root");t.nodes()?i.info("Recursive render XXX",t.nodes()):i.info("No nodes found for",t),t.edges().length>0&&i.info("Recursive edges",t.edge(t.edges()[0]));const l=u.insert("g").attr("class","clusters"),v=u.insert("g").attr("class","edgePaths"),C=u.insert("g").attr("class","edgeLabels"),g=u.insert("g").attr("class","nodes");await Promise.all(t.nodes().map(async function(a){const s=t.node(a);if(d!==void 0){const m=JSON.parse(JSON.stringify(d.clusterData));i.trace(`Setting data for parent cluster XXX Node.id = `,a,` data=`,m.height,` Parent cluster`,d.height),t.setNode(d.id,m),t.parent(a)||(i.trace("Setting parent",a,d.id),t.setParent(a,d.id,m))}if(i.info("(Insert) Node XXX"+a+": "+JSON.stringify(t.node(a))),s!=null&&s.clusterNode){i.info("Cluster identified XBX",a,s.width,t.node(a));const{ranksep:m,nodesep:h}=t.graph();s.graph.setGraph({...s.graph.graph(),ranksep:m+25,nodesep:h});const b=await T(g,s.graph,n,o,t.node(a),c),x=b.elem;H(s,x),s.diff=b.diff||0,i.info("New compound node after recursive render XAX",a,"width",s.width,"height",s.height),q(x,s)}else t.children(a).length>0?(i.trace("Cluster - the non recursive path XBX",a,s.id,s,s.width,"Graph:",t),i.trace(S(s.id,t)),f.set(s.id,{id:S(s.id,t),node:s})):(i.trace("Node - the non recursive path XAX",a,g,t.node(a),r),await z(g,t.node(a),r))})),await X(async()=>{const a=t.edges().map(async function(s){const m=t.edge(s.v,s.w,s.name);i.info("Edge "+s.v+" -> "+s.w+": "+JSON.stringify(s)),i.info("Edge "+s.v+" -> "+s.w+": ",s," ",JSON.stringify(t.edge(s))),i.info("Fix",f,"ids:",s.v,s.w,"Translating: ",f.get(s.v),f.get(s.w)),await W(C,m)});await Promise.all(a)},"processEdges")(),i.info("Graph before layout:",JSON.stringify(N(t))),i.info("############################################# XXX"),i.info("### Layout ### XXX"),i.info("############################################# XXX"),Z(t),i.info("Graph after layout:",JSON.stringify(N(t)));let E=0,{subGraphTitleTotalMargin:y}=K(c);return await Promise.all(ne(t).map(async function(a){var m;const s=t.node(a);if(i.info("Position XBX => "+a+": ("+s.x,","+s.y,") width: ",s.width," height: ",s.height),s!=null&&s.clusterNode)s.y+=y,i.info("A tainted cluster node XBX1",a,s.id,s.width,s.height,s.x,s.y,t.parent(a)),f.get(s.id).node=s,O(s);else if(t.children(a).length>0){i.info("A pure cluster node XBX1",a,s.id,s.x,s.y,s.width,s.height,t.parent(a)),s.height+=y,t.node(s.parentId);const h=(s==null?void 0:s.padding)/2||0,b=((m=s==null?void 0:s.labelBBox)==null?void 0:m.height)||0,x=b-h||0;i.debug("OffsetY",x,"labelHeight",b,"halfPadding",h),await Q(l,s),f.get(s.id).node=s}else{const h=t.node(s.parentId);s.y+=y/2,i.info("A regular node XBX1 - using the padding",s.id,"parent",s.parentId,s.width,s.height,s.x,s.y,"offsetY",s.offsetY,"parent",h,h==null?void 0:h.offsetY,s),O(s)}})),t.edges().forEach(function(a){const s=t.edge(a);i.info("Edge "+a.v+" -> "+a.w+": "+JSON.stringify(s),s),s.points.forEach(x=>x.y+=y/2);const m=t.node(a.v);var h=t.node(a.w);const b=U(v,s,f,n,m,h,o);V(s,b)}),t.nodes().forEach(function(a){const s=t.node(a);i.info(a,s.type,s.diff),s.isGroup&&(E=s.diff)}),i.warn("Returning from recursive render XAX",u,E),{elem:u,diff:E}},"recursiveRender"),ae=X(async(e,t)=>{var c,r,u,l,v,C;const n=new k({multigraph:!0,compound:!0}).setGraph({rankdir:e.direction,nodesep:((c=e.config)==null?void 0:c.nodeSpacing)||((u=(r=e.config)==null?void 0:r.flowchart)==null?void 0:u.nodeSpacing)||e.nodeSpacing,ranksep:((l=e.config)==null?void 0:l.rankSpacing)||((C=(v=e.config)==null?void 0:v.flowchart)==null?void 0:C.rankSpacing)||e.rankSpacing,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),o=t.select("g");M(o,e.markers,e.type,e.diagramId),F(),Y(),_(),$(),e.nodes.forEach(g=>{n.setNode(g.id,{...g}),g.parentId&&n.setParent(g.id,g.parentId)}),i.debug("Edges:",e.edges),e.edges.forEach(g=>{if(g.start===g.end){const w=g.start,E=w+"---"+w+"---1",y=w+"---"+w+"---2",a=n.node(w);n.setNode(E,{domId:E,id:E,parentId:a.parentId,labelStyle:"",label:"",padding:0,shape:"labelRect",style:"",width:10,height:10}),n.setParent(E,a.parentId),n.setNode(y,{domId:y,id:y,parentId:a.parentId,labelStyle:"",padding:0,shape:"labelRect",label:"",style:"",width:10,height:10}),n.setParent(y,a.parentId);const s=structuredClone(g),m=structuredClone(g),h=structuredClone(g);s.label="",s.arrowTypeEnd="none",s.id=w+"-cyclic-special-1",m.arrowTypeEnd="none",m.id=w+"-cyclic-special-mid",h.label="",a.isGroup&&(s.fromCluster=w,h.toCluster=w),h.id=w+"-cyclic-special-2",n.setEdge(w,E,s,w+"-cyclic-special-0"),n.setEdge(E,y,m,w+"-cyclic-special-1"),n.setEdge(y,w,h,w+"-cyc{const t=x({...L,...A().packet});return t.showBits&&(t.paddingY+=10),t},"getConfig"),I=n(()=>m.packet,"getPacket"),M=n(t=>{t.length>0&&m.packet.push(t)},"pushWord"),O=n(()=>{D(),m=structuredClone(C)},"clear"),h={pushWord:M,getPacket:I,getConfig:Y,clear:O,setAccTitle:S,getAccTitle:z,setDiagramTitle:F,getDiagramTitle:P,getAccDescription:W,setAccDescription:T},q=1e4,G=n(t=>{w(t,h);let e=-1,o=[],s=1;const{bitsPerRow:i}=h.getConfig();for(let{start:a,end:r,label:p}of t.blocks){if(r&&r{if(t.end===void 0&&(t.end=t.start),t.start>t.end)throw new Error(`Block start ${t.start} is greater than block end ${t.end}.`);return t.end+1<=e*o?[t,void 0]:[{start:t.start,end:e*o-1,label:t.label},{start:e*o,end:t.end,label:t.label}]},"getNextFittingBlock"),K={parse:n(async t=>{const e=await N("packet",t);v.debug(e),G(e)},"parse")},R=n((t,e,o,s)=>{const i=s.db,a=i.getConfig(),{rowHeight:r,paddingY:p,bitWidth:b,bitsPerRow:c}=a,u=i.getPacket(),l=i.getDiagramTitle(),g=r+p,d=g*(u.length+1)-(l?0:r),k=b*c+2,f=E(e);f.attr("viewbox",`0 0 ${k} ${d}`),_(f,d,k,a.useMaxWidth);for(const[$,y]of u.entries())U(f,y,$,a);f.append("text").text(l).attr("x",k/2).attr("y",d-g/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")},"draw"),U=n((t,e,o,{rowHeight:s,paddingX:i,paddingY:a,bitWidth:r,bitsPerRow:p,showBits:b})=>{const c=t.append("g"),u=o*(s+a)+a;for(const l of e){const g=l.start%p*r+1,d=(l.end-l.start+1)*r-i;if(c.append("rect").attr("x",g).attr("y",u).attr("width",d).attr("height",s).attr("class","packetBlock"),c.append("text").attr("x",g+d/2).attr("y",u+s/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(l.label),!b)continue;const k=l.end===l.start,f=u-2;c.append("text").attr("x",g+(k?d/2:0)).attr("y",f).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",k?"middle":"start").text(l.start),k||c.append("text").attr("x",g+d).attr("y",f).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(l.end)}},"drawWord"),X={draw:R},j={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},J=n(({packet:t}={})=>{const e=x(j,t);return` +import{p as w}from"./chunk-OQCM5LHU-CSoVW7EB.js";import{z as B,s as S,g as z,p as F,q as P,b as W,c as T,_ as n,l as v,A as x,B as A,r as D,E,k as _}from"./index-BmyXM-jo.js";import{p as N}from"./gitGraph-YCYPL57B-Bmt_-sZ3.js";import"./min-CuKIA37g.js";import"./_baseUniq-BdggiAxO.js";var C={packet:[]},m=structuredClone(C),L=B.packet,Y=n(()=>{const t=x({...L,...A().packet});return t.showBits&&(t.paddingY+=10),t},"getConfig"),I=n(()=>m.packet,"getPacket"),M=n(t=>{t.length>0&&m.packet.push(t)},"pushWord"),O=n(()=>{D(),m=structuredClone(C)},"clear"),h={pushWord:M,getPacket:I,getConfig:Y,clear:O,setAccTitle:S,getAccTitle:z,setDiagramTitle:F,getDiagramTitle:P,getAccDescription:W,setAccDescription:T},q=1e4,G=n(t=>{w(t,h);let e=-1,o=[],s=1;const{bitsPerRow:i}=h.getConfig();for(let{start:a,end:r,label:p}of t.blocks){if(r&&r{if(t.end===void 0&&(t.end=t.start),t.start>t.end)throw new Error(`Block start ${t.start} is greater than block end ${t.end}.`);return t.end+1<=e*o?[t,void 0]:[{start:t.start,end:e*o-1,label:t.label},{start:e*o,end:t.end,label:t.label}]},"getNextFittingBlock"),K={parse:n(async t=>{const e=await N("packet",t);v.debug(e),G(e)},"parse")},R=n((t,e,o,s)=>{const i=s.db,a=i.getConfig(),{rowHeight:r,paddingY:p,bitWidth:b,bitsPerRow:c}=a,u=i.getPacket(),l=i.getDiagramTitle(),g=r+p,d=g*(u.length+1)-(l?0:r),k=b*c+2,f=E(e);f.attr("viewbox",`0 0 ${k} ${d}`),_(f,d,k,a.useMaxWidth);for(const[$,y]of u.entries())U(f,y,$,a);f.append("text").text(l).attr("x",k/2).attr("y",d-g/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")},"draw"),U=n((t,e,o,{rowHeight:s,paddingX:i,paddingY:a,bitWidth:r,bitsPerRow:p,showBits:b})=>{const c=t.append("g"),u=o*(s+a)+a;for(const l of e){const g=l.start%p*r+1,d=(l.end-l.start+1)*r-i;if(c.append("rect").attr("x",g).attr("y",u).attr("width",d).attr("height",s).attr("class","packetBlock"),c.append("text").attr("x",g+d/2).attr("y",u+s/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(l.label),!b)continue;const k=l.end===l.start,f=u-2;c.append("text").attr("x",g+(k?d/2:0)).attr("y",f).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",k?"middle":"start").text(l.start),k||c.append("text").attr("x",g+d).attr("y",f).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(l.end)}},"drawWord"),X={draw:R},j={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},J=n(({packet:t}={})=>{const e=x(j,t);return` .packetByte { font-size: ${e.byteFontSize}; } diff --git a/assets/erDiagram-62CBQV5Y-CTiNkziK.js b/assets/erDiagram-62CBQV5Y-CBsxnETU.js similarity index 99% rename from assets/erDiagram-62CBQV5Y-CTiNkziK.js rename to assets/erDiagram-62CBQV5Y-CBsxnETU.js index 8beb0cc..f0d4865 100644 --- a/assets/erDiagram-62CBQV5Y-CTiNkziK.js +++ b/assets/erDiagram-62CBQV5Y-CBsxnETU.js @@ -1,4 +1,4 @@ -import{_ as u,d as H,s as kt,g as xt,c as Rt,b as Ot,p as bt,q as Nt,l as X,r as Tt,j as at,u as At,k as Mt,H as vt,M as St,N as wt}from"./index-DqL3MUN2.js";import{G as It}from"./graph-F-lRYGiw.js";import{l as Dt}from"./layout-B3T3dhdM.js";import"./_baseUniq-B1Flybha.js";import"./min-CjiScnR7.js";const Lt=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function Bt(t){return typeof t=="string"&&Lt.test(t)}const v=[];for(let t=0;t<256;++t)v.push((t+256).toString(16).slice(1));function Ct(t,e=0){return v[t[e+0]]+v[t[e+1]]+v[t[e+2]]+v[t[e+3]]+"-"+v[t[e+4]]+v[t[e+5]]+"-"+v[t[e+6]]+v[t[e+7]]+"-"+v[t[e+8]]+v[t[e+9]]+"-"+v[t[e+10]]+v[t[e+11]]+v[t[e+12]]+v[t[e+13]]+v[t[e+14]]+v[t[e+15]]}function Pt(t){if(!Bt(t))throw TypeError("Invalid UUID");let e;const r=new Uint8Array(16);return r[0]=(e=parseInt(t.slice(0,8),16))>>>24,r[1]=e>>>16&255,r[2]=e>>>8&255,r[3]=e&255,r[4]=(e=parseInt(t.slice(9,13),16))>>>8,r[5]=e&255,r[6]=(e=parseInt(t.slice(14,18),16))>>>8,r[7]=e&255,r[8]=(e=parseInt(t.slice(19,23),16))>>>8,r[9]=e&255,r[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,r[11]=e/4294967296&255,r[12]=e>>>24&255,r[13]=e>>>16&255,r[14]=e>>>8&255,r[15]=e&255,r}function Yt(t){t=unescape(encodeURIComponent(t));const e=[];for(let r=0;r>>32-e}function Ut(t){const e=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof t=="string"){const y=unescape(encodeURIComponent(t));t=[];for(let o=0;o>>0;x=k,k=m,m=it(g,30)>>>0,g=h,h=b}r[0]=r[0]+h>>>0,r[1]=r[1]+g>>>0,r[2]=r[2]+m>>>0,r[3]=r[3]+k>>>0,r[4]=r[4]+x>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,r[0]&255,r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,r[1]&255,r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,r[2]&255,r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,r[3]&255,r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,r[4]&255]}const zt=Wt("v5",80,Ut);var nt=function(){var t=u(function(w,i,n,l){for(n=n||{},l=w.length;l--;n[w[l]]=i);return n},"o"),e=[6,8,10,20,22,24,26,27,28],r=[1,10],f=[1,11],c=[1,12],_=[1,13],y=[1,14],o=[1,15],h=[1,21],g=[1,22],m=[1,23],k=[1,24],x=[1,25],p=[6,8,10,13,15,18,19,20,22,24,26,27,28,41,42,43,44,45],O=[1,34],b=[27,28,46,47],Y=[41,42,43,44,45],Z=[17,34],F=[1,54],M=[1,53],S=[17,34,36,38],N={trace:u(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,":":13,role:14,BLOCK_START:15,attributes:16,BLOCK_STOP:17,SQS:18,SQE:19,title:20,title_value:21,acc_title:22,acc_title_value:23,acc_descr:24,acc_descr_value:25,acc_descr_multiline_value:26,ALPHANUM:27,ENTITY_NAME:28,attribute:29,attributeType:30,attributeName:31,attributeKeyTypeList:32,attributeComment:33,ATTRIBUTE_WORD:34,attributeKeyType:35,COMMA:36,ATTRIBUTE_KEY:37,COMMENT:38,cardinality:39,relType:40,ZERO_OR_ONE:41,ZERO_OR_MORE:42,ONE_OR_MORE:43,ONLY_ONE:44,MD_PARENT:45,NON_IDENTIFYING:46,IDENTIFYING:47,WORD:48,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:":",15:"BLOCK_START",17:"BLOCK_STOP",18:"SQS",19:"SQE",20:"title",21:"title_value",22:"acc_title",23:"acc_title_value",24:"acc_descr",25:"acc_descr_value",26:"acc_descr_multiline_value",27:"ALPHANUM",28:"ENTITY_NAME",34:"ATTRIBUTE_WORD",36:"COMMA",37:"ATTRIBUTE_KEY",38:"COMMENT",41:"ZERO_OR_ONE",42:"ZERO_OR_MORE",43:"ONE_OR_MORE",44:"ONLY_ONE",45:"MD_PARENT",46:"NON_IDENTIFYING",47:"IDENTIFYING",48:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,4],[9,3],[9,1],[9,7],[9,6],[9,4],[9,2],[9,2],[9,2],[9,1],[11,1],[11,1],[16,1],[16,2],[29,2],[29,3],[29,3],[29,4],[30,1],[31,1],[32,1],[32,3],[35,1],[33,1],[12,3],[39,1],[39,1],[39,1],[39,1],[39,1],[40,1],[40,1],[14,1],[14,1],[14,1]],performAction:u(function(i,n,l,d,E,a,V){var s=a.length-1;switch(E){case 1:break;case 2:this.$=[];break;case 3:a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 5:this.$=a[s];break;case 6:case 7:this.$=[];break;case 8:d.addEntity(a[s-4]),d.addEntity(a[s-2]),d.addRelationship(a[s-4],a[s],a[s-2],a[s-3]);break;case 9:d.addEntity(a[s-3]),d.addAttributes(a[s-3],a[s-1]);break;case 10:d.addEntity(a[s-2]);break;case 11:d.addEntity(a[s]);break;case 12:d.addEntity(a[s-6],a[s-4]),d.addAttributes(a[s-6],a[s-1]);break;case 13:d.addEntity(a[s-5],a[s-3]);break;case 14:d.addEntity(a[s-3],a[s-1]);break;case 15:case 16:this.$=a[s].trim(),d.setAccTitle(this.$);break;case 17:case 18:this.$=a[s].trim(),d.setAccDescription(this.$);break;case 19:case 43:this.$=a[s];break;case 20:case 41:case 42:this.$=a[s].replace(/"/g,"");break;case 21:case 29:this.$=[a[s]];break;case 22:a[s].push(a[s-1]),this.$=a[s];break;case 23:this.$={attributeType:a[s-1],attributeName:a[s]};break;case 24:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeKeyTypeList:a[s]};break;case 25:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeComment:a[s]};break;case 26:this.$={attributeType:a[s-3],attributeName:a[s-2],attributeKeyTypeList:a[s-1],attributeComment:a[s]};break;case 27:case 28:case 31:this.$=a[s];break;case 30:a[s-2].push(a[s]),this.$=a[s-2];break;case 32:this.$=a[s].replace(/"/g,"");break;case 33:this.$={cardA:a[s],relType:a[s-1],cardB:a[s-2]};break;case 34:this.$=d.Cardinality.ZERO_OR_ONE;break;case 35:this.$=d.Cardinality.ZERO_OR_MORE;break;case 36:this.$=d.Cardinality.ONE_OR_MORE;break;case 37:this.$=d.Cardinality.ONLY_ONE;break;case 38:this.$=d.Cardinality.MD_PARENT;break;case 39:this.$=d.Identification.NON_IDENTIFYING;break;case 40:this.$=d.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,20:r,22:f,24:c,26:_,27:y,28:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:16,11:9,20:r,22:f,24:c,26:_,27:y,28:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,11],{12:17,39:20,15:[1,18],18:[1,19],41:h,42:g,43:m,44:k,45:x}),{21:[1,26]},{23:[1,27]},{25:[1,28]},t(e,[2,18]),t(p,[2,19]),t(p,[2,20]),t(e,[2,4]),{11:29,27:y,28:o},{16:30,17:[1,31],29:32,30:33,34:O},{11:35,27:y,28:o},{40:36,46:[1,37],47:[1,38]},t(b,[2,34]),t(b,[2,35]),t(b,[2,36]),t(b,[2,37]),t(b,[2,38]),t(e,[2,15]),t(e,[2,16]),t(e,[2,17]),{13:[1,39]},{17:[1,40]},t(e,[2,10]),{16:41,17:[2,21],29:32,30:33,34:O},{31:42,34:[1,43]},{34:[2,27]},{19:[1,44]},{39:45,41:h,42:g,43:m,44:k,45:x},t(Y,[2,39]),t(Y,[2,40]),{14:46,27:[1,49],28:[1,48],48:[1,47]},t(e,[2,9]),{17:[2,22]},t(Z,[2,23],{32:50,33:51,35:52,37:F,38:M}),t([17,34,37,38],[2,28]),t(e,[2,14],{15:[1,55]}),t([27,28],[2,33]),t(e,[2,8]),t(e,[2,41]),t(e,[2,42]),t(e,[2,43]),t(Z,[2,24],{33:56,36:[1,57],38:M}),t(Z,[2,25]),t(S,[2,29]),t(Z,[2,32]),t(S,[2,31]),{16:58,17:[1,59],29:32,30:33,34:O},t(Z,[2,26]),{35:60,37:F},{17:[1,61]},t(e,[2,13]),t(S,[2,30]),t(e,[2,12])],defaultActions:{34:[2,27],41:[2,22]},parseError:u(function(i,n){if(n.recoverable)this.trace(i);else{var l=new Error(i);throw l.hash=n,l}},"parseError"),parse:u(function(i){var n=this,l=[0],d=[],E=[null],a=[],V=this.table,s="",j=0,lt=0,_t=2,ct=1,Et=a.slice.call(arguments,1),A=Object.create(this.lexer),U={yy:{}};for(var $ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,$)&&(U.yy[$]=this.yy[$]);A.setInput(i,U.yy),U.yy.lexer=A,U.yy.parser=this,typeof A.yylloc>"u"&&(A.yylloc={});var tt=A.yylloc;a.push(tt);var gt=A.options&&A.options.ranges;typeof U.yy.parseError=="function"?this.parseError=U.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function mt(D){l.length=l.length-2*D,E.length=E.length-D,a.length=a.length-D}u(mt,"popStack");function ht(){var D;return D=d.pop()||A.lex()||ct,typeof D!="number"&&(D instanceof Array&&(d=D,D=d.pop()),D=n.symbols_[D]||D),D}u(ht,"lex");for(var I,z,B,et,K={},q,W,dt,J;;){if(z=l[l.length-1],this.defaultActions[z]?B=this.defaultActions[z]:((I===null||typeof I>"u")&&(I=ht()),B=V[z]&&V[z][I]),typeof B>"u"||!B.length||!B[0]){var rt="";J=[];for(q in V[z])this.terminals_[q]&&q>_t&&J.push("'"+this.terminals_[q]+"'");A.showPosition?rt="Parse error on line "+(j+1)+`: +import{_ as u,d as H,s as kt,g as xt,c as Rt,b as Ot,p as bt,q as Nt,l as X,r as Tt,j as at,u as At,k as Mt,H as vt,M as St,N as wt}from"./index-BmyXM-jo.js";import{G as It}from"./graph-DNRi3G-N.js";import{l as Dt}from"./layout-CbykB6Gj.js";import"./_baseUniq-BdggiAxO.js";import"./min-CuKIA37g.js";const Lt=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function Bt(t){return typeof t=="string"&&Lt.test(t)}const v=[];for(let t=0;t<256;++t)v.push((t+256).toString(16).slice(1));function Ct(t,e=0){return v[t[e+0]]+v[t[e+1]]+v[t[e+2]]+v[t[e+3]]+"-"+v[t[e+4]]+v[t[e+5]]+"-"+v[t[e+6]]+v[t[e+7]]+"-"+v[t[e+8]]+v[t[e+9]]+"-"+v[t[e+10]]+v[t[e+11]]+v[t[e+12]]+v[t[e+13]]+v[t[e+14]]+v[t[e+15]]}function Pt(t){if(!Bt(t))throw TypeError("Invalid UUID");let e;const r=new Uint8Array(16);return r[0]=(e=parseInt(t.slice(0,8),16))>>>24,r[1]=e>>>16&255,r[2]=e>>>8&255,r[3]=e&255,r[4]=(e=parseInt(t.slice(9,13),16))>>>8,r[5]=e&255,r[6]=(e=parseInt(t.slice(14,18),16))>>>8,r[7]=e&255,r[8]=(e=parseInt(t.slice(19,23),16))>>>8,r[9]=e&255,r[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,r[11]=e/4294967296&255,r[12]=e>>>24&255,r[13]=e>>>16&255,r[14]=e>>>8&255,r[15]=e&255,r}function Yt(t){t=unescape(encodeURIComponent(t));const e=[];for(let r=0;r>>32-e}function Ut(t){const e=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof t=="string"){const y=unescape(encodeURIComponent(t));t=[];for(let o=0;o>>0;x=k,k=m,m=it(g,30)>>>0,g=h,h=b}r[0]=r[0]+h>>>0,r[1]=r[1]+g>>>0,r[2]=r[2]+m>>>0,r[3]=r[3]+k>>>0,r[4]=r[4]+x>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,r[0]&255,r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,r[1]&255,r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,r[2]&255,r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,r[3]&255,r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,r[4]&255]}const zt=Wt("v5",80,Ut);var nt=function(){var t=u(function(w,i,n,l){for(n=n||{},l=w.length;l--;n[w[l]]=i);return n},"o"),e=[6,8,10,20,22,24,26,27,28],r=[1,10],f=[1,11],c=[1,12],_=[1,13],y=[1,14],o=[1,15],h=[1,21],g=[1,22],m=[1,23],k=[1,24],x=[1,25],p=[6,8,10,13,15,18,19,20,22,24,26,27,28,41,42,43,44,45],O=[1,34],b=[27,28,46,47],Y=[41,42,43,44,45],Z=[17,34],F=[1,54],M=[1,53],S=[17,34,36,38],N={trace:u(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,":":13,role:14,BLOCK_START:15,attributes:16,BLOCK_STOP:17,SQS:18,SQE:19,title:20,title_value:21,acc_title:22,acc_title_value:23,acc_descr:24,acc_descr_value:25,acc_descr_multiline_value:26,ALPHANUM:27,ENTITY_NAME:28,attribute:29,attributeType:30,attributeName:31,attributeKeyTypeList:32,attributeComment:33,ATTRIBUTE_WORD:34,attributeKeyType:35,COMMA:36,ATTRIBUTE_KEY:37,COMMENT:38,cardinality:39,relType:40,ZERO_OR_ONE:41,ZERO_OR_MORE:42,ONE_OR_MORE:43,ONLY_ONE:44,MD_PARENT:45,NON_IDENTIFYING:46,IDENTIFYING:47,WORD:48,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:":",15:"BLOCK_START",17:"BLOCK_STOP",18:"SQS",19:"SQE",20:"title",21:"title_value",22:"acc_title",23:"acc_title_value",24:"acc_descr",25:"acc_descr_value",26:"acc_descr_multiline_value",27:"ALPHANUM",28:"ENTITY_NAME",34:"ATTRIBUTE_WORD",36:"COMMA",37:"ATTRIBUTE_KEY",38:"COMMENT",41:"ZERO_OR_ONE",42:"ZERO_OR_MORE",43:"ONE_OR_MORE",44:"ONLY_ONE",45:"MD_PARENT",46:"NON_IDENTIFYING",47:"IDENTIFYING",48:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,4],[9,3],[9,1],[9,7],[9,6],[9,4],[9,2],[9,2],[9,2],[9,1],[11,1],[11,1],[16,1],[16,2],[29,2],[29,3],[29,3],[29,4],[30,1],[31,1],[32,1],[32,3],[35,1],[33,1],[12,3],[39,1],[39,1],[39,1],[39,1],[39,1],[40,1],[40,1],[14,1],[14,1],[14,1]],performAction:u(function(i,n,l,d,E,a,V){var s=a.length-1;switch(E){case 1:break;case 2:this.$=[];break;case 3:a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 5:this.$=a[s];break;case 6:case 7:this.$=[];break;case 8:d.addEntity(a[s-4]),d.addEntity(a[s-2]),d.addRelationship(a[s-4],a[s],a[s-2],a[s-3]);break;case 9:d.addEntity(a[s-3]),d.addAttributes(a[s-3],a[s-1]);break;case 10:d.addEntity(a[s-2]);break;case 11:d.addEntity(a[s]);break;case 12:d.addEntity(a[s-6],a[s-4]),d.addAttributes(a[s-6],a[s-1]);break;case 13:d.addEntity(a[s-5],a[s-3]);break;case 14:d.addEntity(a[s-3],a[s-1]);break;case 15:case 16:this.$=a[s].trim(),d.setAccTitle(this.$);break;case 17:case 18:this.$=a[s].trim(),d.setAccDescription(this.$);break;case 19:case 43:this.$=a[s];break;case 20:case 41:case 42:this.$=a[s].replace(/"/g,"");break;case 21:case 29:this.$=[a[s]];break;case 22:a[s].push(a[s-1]),this.$=a[s];break;case 23:this.$={attributeType:a[s-1],attributeName:a[s]};break;case 24:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeKeyTypeList:a[s]};break;case 25:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeComment:a[s]};break;case 26:this.$={attributeType:a[s-3],attributeName:a[s-2],attributeKeyTypeList:a[s-1],attributeComment:a[s]};break;case 27:case 28:case 31:this.$=a[s];break;case 30:a[s-2].push(a[s]),this.$=a[s-2];break;case 32:this.$=a[s].replace(/"/g,"");break;case 33:this.$={cardA:a[s],relType:a[s-1],cardB:a[s-2]};break;case 34:this.$=d.Cardinality.ZERO_OR_ONE;break;case 35:this.$=d.Cardinality.ZERO_OR_MORE;break;case 36:this.$=d.Cardinality.ONE_OR_MORE;break;case 37:this.$=d.Cardinality.ONLY_ONE;break;case 38:this.$=d.Cardinality.MD_PARENT;break;case 39:this.$=d.Identification.NON_IDENTIFYING;break;case 40:this.$=d.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,20:r,22:f,24:c,26:_,27:y,28:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:16,11:9,20:r,22:f,24:c,26:_,27:y,28:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,11],{12:17,39:20,15:[1,18],18:[1,19],41:h,42:g,43:m,44:k,45:x}),{21:[1,26]},{23:[1,27]},{25:[1,28]},t(e,[2,18]),t(p,[2,19]),t(p,[2,20]),t(e,[2,4]),{11:29,27:y,28:o},{16:30,17:[1,31],29:32,30:33,34:O},{11:35,27:y,28:o},{40:36,46:[1,37],47:[1,38]},t(b,[2,34]),t(b,[2,35]),t(b,[2,36]),t(b,[2,37]),t(b,[2,38]),t(e,[2,15]),t(e,[2,16]),t(e,[2,17]),{13:[1,39]},{17:[1,40]},t(e,[2,10]),{16:41,17:[2,21],29:32,30:33,34:O},{31:42,34:[1,43]},{34:[2,27]},{19:[1,44]},{39:45,41:h,42:g,43:m,44:k,45:x},t(Y,[2,39]),t(Y,[2,40]),{14:46,27:[1,49],28:[1,48],48:[1,47]},t(e,[2,9]),{17:[2,22]},t(Z,[2,23],{32:50,33:51,35:52,37:F,38:M}),t([17,34,37,38],[2,28]),t(e,[2,14],{15:[1,55]}),t([27,28],[2,33]),t(e,[2,8]),t(e,[2,41]),t(e,[2,42]),t(e,[2,43]),t(Z,[2,24],{33:56,36:[1,57],38:M}),t(Z,[2,25]),t(S,[2,29]),t(Z,[2,32]),t(S,[2,31]),{16:58,17:[1,59],29:32,30:33,34:O},t(Z,[2,26]),{35:60,37:F},{17:[1,61]},t(e,[2,13]),t(S,[2,30]),t(e,[2,12])],defaultActions:{34:[2,27],41:[2,22]},parseError:u(function(i,n){if(n.recoverable)this.trace(i);else{var l=new Error(i);throw l.hash=n,l}},"parseError"),parse:u(function(i){var n=this,l=[0],d=[],E=[null],a=[],V=this.table,s="",j=0,lt=0,_t=2,ct=1,Et=a.slice.call(arguments,1),A=Object.create(this.lexer),U={yy:{}};for(var $ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,$)&&(U.yy[$]=this.yy[$]);A.setInput(i,U.yy),U.yy.lexer=A,U.yy.parser=this,typeof A.yylloc>"u"&&(A.yylloc={});var tt=A.yylloc;a.push(tt);var gt=A.options&&A.options.ranges;typeof U.yy.parseError=="function"?this.parseError=U.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function mt(D){l.length=l.length-2*D,E.length=E.length-D,a.length=a.length-D}u(mt,"popStack");function ht(){var D;return D=d.pop()||A.lex()||ct,typeof D!="number"&&(D instanceof Array&&(d=D,D=d.pop()),D=n.symbols_[D]||D),D}u(ht,"lex");for(var I,z,B,et,K={},q,W,dt,J;;){if(z=l[l.length-1],this.defaultActions[z]?B=this.defaultActions[z]:((I===null||typeof I>"u")&&(I=ht()),B=V[z]&&V[z][I]),typeof B>"u"||!B.length||!B[0]){var rt="";J=[];for(q in V[z])this.terminals_[q]&&q>_t&&J.push("'"+this.terminals_[q]+"'");A.showPosition?rt="Parse error on line "+(j+1)+`: `+A.showPosition()+` Expecting `+J.join(", ")+", got '"+(this.terminals_[I]||I)+"'":rt="Parse error on line "+(j+1)+": Unexpected "+(I==ct?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(rt,{text:A.match,token:this.terminals_[I]||I,line:A.yylineno,loc:tt,expected:J})}if(B[0]instanceof Array&&B.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+I);switch(B[0]){case 1:l.push(I),E.push(A.yytext),a.push(A.yylloc),l.push(B[1]),I=null,lt=A.yyleng,s=A.yytext,j=A.yylineno,tt=A.yylloc;break;case 2:if(W=this.productions_[B[1]][1],K.$=E[E.length-W],K._$={first_line:a[a.length-(W||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(W||1)].first_column,last_column:a[a.length-1].last_column},gt&&(K._$.range=[a[a.length-(W||1)].range[0],a[a.length-1].range[1]]),et=this.performAction.apply(K,[s,lt,j,U.yy,B[1],E,a].concat(Et)),typeof et<"u")return et;W&&(l=l.slice(0,-1*W*2),E=E.slice(0,-1*W),a=a.slice(0,-1*W)),l.push(this.productions_[B[1]][0]),E.push(K.$),a.push(K._$),dt=V[l[l.length-2]][l[l.length-1]],l.push(dt);break;case 3:return!0}}return!0},"parse")},T=function(){var w={EOF:1,parseError:u(function(n,l){if(this.yy.parser)this.yy.parser.parseError(n,l);else throw new Error(n)},"parseError"),setInput:u(function(i,n){return this.yy=n||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:u(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var n=i.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:u(function(i){var n=i.length,l=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var E=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===d.length?this.yylloc.first_column:0)+d[d.length-l.length].length-l[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:u(function(){return this._more=!0,this},"more"),reject:u(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:u(function(i){this.unput(this.match.slice(i))},"less"),pastInput:u(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:u(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:u(function(){var i=this.pastInput(),n=new Array(i.length+1).join("-");return i+this.upcomingInput()+` diff --git a/assets/flowDiagram-JSIZSE4D-31S8DQB0.js b/assets/flowDiagram-JSIZSE4D-2QXowptI.js similarity index 99% rename from assets/flowDiagram-JSIZSE4D-31S8DQB0.js rename to assets/flowDiagram-JSIZSE4D-2QXowptI.js index b1c85f4..a97f0f5 100644 --- a/assets/flowDiagram-JSIZSE4D-31S8DQB0.js +++ b/assets/flowDiagram-JSIZSE4D-2QXowptI.js @@ -1,4 +1,4 @@ -import{g as pt,s as ft}from"./chunk-DUMQOTYW-BNJNkKaQ.js";import"./chunk-YWFND7JV-CHuoUZPA.js";import{d as O1,_ as l,n as Qe,o as At,s as gt,g as kt,b as bt,c as Et,p as St,q as Dt,l as e1,u as Ae,r as mt,t as xt,j as m1,v as Tt,x as Ct,e as yt,y as Ft}from"./index-DqL3MUN2.js";import{c as _t}from"./channel-q1VHAzml.js";var vt="flowchart-",Ze=0,P1=O1(),g1=new Map,W=[],j1=new Map,p1=[],ge=new Map,ke=new Map,ee=0,pe=!0,H,se,re=[],ie=l(e=>yt.sanitizeText(e,P1),"sanitizeText"),ue=l(function(e){for(const r of g1.values())if(r.id===e)return r.domId;return e},"lookUpDomId"),Bt=l(function(e,r,i,u,n,c,f={}){if(!e||e.trim().length===0)return;let k,o=g1.get(e);o===void 0&&(o={id:e,labelType:"text",domId:vt+e+"-"+Ze,styles:[],classes:[]},g1.set(e,o)),Ze++,r!==void 0?(P1=O1(),k=ie(r.text.trim()),o.labelType=r.type,k.startsWith('"')&&k.endsWith('"')&&(k=k.substring(1,k.length-1)),o.text=k):o.text===void 0&&(o.text=e),i!==void 0&&(o.type=i),u!=null&&u.forEach(function(p){o.styles.push(p)}),n!=null&&n.forEach(function(p){o.classes.push(p)}),c!==void 0&&(o.dir=c),o.props===void 0?o.props=f:f!==void 0&&Object.assign(o.props,f)},"addVertex"),Vt=l(function(e,r,i){const c={start:e,end:r,type:void 0,text:"",labelType:"text"};e1.info("abc78 Got edge...",c);const f=i.text;if(f!==void 0&&(c.text=ie(f.text.trim()),c.text.startsWith('"')&&c.text.endsWith('"')&&(c.text=c.text.substring(1,c.text.length-1)),c.labelType=f.type),i!==void 0&&(c.type=i.type,c.stroke=i.stroke,c.length=i.length>10?10:i.length),W.length<(P1.maxEdges??500))e1.info("Pushing edge..."),W.push(c);else throw new Error(`Edge limit exceeded. ${W.length} edges found, but the limit is ${P1.maxEdges}. +import{g as pt,s as ft}from"./chunk-DUMQOTYW-DrDMarzi.js";import"./chunk-YWFND7JV-Cxhz5tcw.js";import{d as O1,_ as l,n as Qe,o as At,s as gt,g as kt,b as bt,c as Et,p as St,q as Dt,l as e1,u as Ae,r as mt,t as xt,j as m1,v as Tt,x as Ct,e as yt,y as Ft}from"./index-BmyXM-jo.js";import{c as _t}from"./channel-C3SqRiWs.js";var vt="flowchart-",Ze=0,P1=O1(),g1=new Map,W=[],j1=new Map,p1=[],ge=new Map,ke=new Map,ee=0,pe=!0,H,se,re=[],ie=l(e=>yt.sanitizeText(e,P1),"sanitizeText"),ue=l(function(e){for(const r of g1.values())if(r.id===e)return r.domId;return e},"lookUpDomId"),Bt=l(function(e,r,i,u,n,c,f={}){if(!e||e.trim().length===0)return;let k,o=g1.get(e);o===void 0&&(o={id:e,labelType:"text",domId:vt+e+"-"+Ze,styles:[],classes:[]},g1.set(e,o)),Ze++,r!==void 0?(P1=O1(),k=ie(r.text.trim()),o.labelType=r.type,k.startsWith('"')&&k.endsWith('"')&&(k=k.substring(1,k.length-1)),o.text=k):o.text===void 0&&(o.text=e),i!==void 0&&(o.type=i),u!=null&&u.forEach(function(p){o.styles.push(p)}),n!=null&&n.forEach(function(p){o.classes.push(p)}),c!==void 0&&(o.dir=c),o.props===void 0?o.props=f:f!==void 0&&Object.assign(o.props,f)},"addVertex"),Vt=l(function(e,r,i){const c={start:e,end:r,type:void 0,text:"",labelType:"text"};e1.info("abc78 Got edge...",c);const f=i.text;if(f!==void 0&&(c.text=ie(f.text.trim()),c.text.startsWith('"')&&c.text.endsWith('"')&&(c.text=c.text.substring(1,c.text.length-1)),c.labelType=f.type),i!==void 0&&(c.type=i.type,c.stroke=i.stroke,c.length=i.length>10?10:i.length),W.length<(P1.maxEdges??500))e1.info("Pushing edge..."),W.push(c);else throw new Error(`Edge limit exceeded. ${W.length} edges found, but the limit is ${P1.maxEdges}. Initialize mermaid with maxEdges set to a higher number to allow more edges. You cannot set this config via configuration inside the diagram as it is a secure config. diff --git a/assets/ganttDiagram-ASEIQ4P5-DWYsQsHE.js b/assets/ganttDiagram-ASEIQ4P5-fbNyvURz.js similarity index 99% rename from assets/ganttDiagram-ASEIQ4P5-DWYsQsHE.js rename to assets/ganttDiagram-ASEIQ4P5-fbNyvURz.js index 7fedce6..1696ef2 100644 --- a/assets/ganttDiagram-ASEIQ4P5-DWYsQsHE.js +++ b/assets/ganttDiagram-ASEIQ4P5-fbNyvURz.js @@ -1,4 +1,4 @@ -import{aL as Te,aK as be,b6 as Je,b7 as Ke,b8 as $e,b9 as tn,ba as Fn,bb as re,bc as En,_ as h,bd as at,d as _t,s as Ln,g as An,p as In,q as Wn,c as On,b as Hn,r as Nn,m as Vn,l as Qt,j as Zt,k as zn,e as Pn,u as Rn}from"./index-DqL3MUN2.js";import{b as Bn,t as Ie,c as Zn,a as qn,l as Xn}from"./linear-CK0OKaTM.js";import{i as Gn}from"./init-Gi6I4Gst.js";var en={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(be,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d/,i=/\d\d/,s=/\d\d?/,k=/\d*[^-_:/,()\s\d]+/,M={},T=function(C){return(C=+C)+(C>68?1900:2e3)},g=function(C){return function(I){this[C]=+I}},F=[/[+-]\d\d:?(\d\d)?|Z/,function(C){(this.zone||(this.zone={})).offset=function(I){if(!I||I==="Z")return 0;var V=I.match(/([+-]|\d\d)/g),W=60*V[1]+(+V[2]||0);return W===0?0:V[0]==="+"?-W:W}(C)}],D=function(C){var I=M[C];return I&&(I.indexOf?I:I.s.concat(I.f))},b=function(C,I){var V,W=M.meridiem;if(W){for(var Z=1;Z<=24;Z+=1)if(C.indexOf(W(Z,0,I))>-1){V=Z>12;break}}else V=C===(I?"pm":"PM");return V},X={A:[k,function(C){this.afternoon=b(C,!1)}],a:[k,function(C){this.afternoon=b(C,!0)}],Q:[a,function(C){this.month=3*(C-1)+1}],S:[a,function(C){this.milliseconds=100*+C}],SS:[i,function(C){this.milliseconds=10*+C}],SSS:[/\d{3}/,function(C){this.milliseconds=+C}],s:[s,g("seconds")],ss:[s,g("seconds")],m:[s,g("minutes")],mm:[s,g("minutes")],H:[s,g("hours")],h:[s,g("hours")],HH:[s,g("hours")],hh:[s,g("hours")],D:[s,g("day")],DD:[i,g("day")],Do:[k,function(C){var I=M.ordinal,V=C.match(/\d+/);if(this.day=V[0],I)for(var W=1;W<=31;W+=1)I(W).replace(/\[|\]/g,"")===C&&(this.day=W)}],w:[s,g("week")],ww:[i,g("week")],M:[s,g("month")],MM:[i,g("month")],MMM:[k,function(C){var I=D("months"),V=(D("monthsShort")||I.map(function(W){return W.slice(0,3)})).indexOf(C)+1;if(V<1)throw new Error;this.month=V%12||V}],MMMM:[k,function(C){var I=D("months").indexOf(C)+1;if(I<1)throw new Error;this.month=I%12||I}],Y:[/[+-]?\d+/,g("year")],YY:[i,function(C){this.year=T(C)}],YYYY:[/\d{4}/,g("year")],Z:F,ZZ:F};function O(C){var I,V;I=C,V=M&&M.formats;for(var W=(C=I.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(_,S,p){var U=p&&p.toUpperCase();return S||V[p]||n[p]||V[U].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(l,f,y){return f||y.slice(1)})})).match(r),Z=W.length,Q=0;Q-1)return new Date((E==="X"?1e3:1)*m);var o=O(E)(m),P=o.year,z=o.month,R=o.day,$=o.hours,G=o.minutes,J=o.seconds,it=o.milliseconds,v=o.zone,A=o.week,N=new Date,u=R||(P||z?1:N.getDate()),K=P||N.getFullYear(),L=0;P&&!z||(L=z>0?z-1:N.getMonth());var j,q=$||0,rt=G||0,st=J||0,pt=it||0;return v?new Date(Date.UTC(K,L,u,q,rt,st,pt+60*v.offset*1e3)):c?new Date(Date.UTC(K,L,u,q,rt,st,pt)):(j=new Date(K,L,u,q,rt,st,pt),A&&(j=d(j).week(A).toDate()),j)}catch{return new Date("")}}(w,Y,H,V),this.init(),U&&U!==!0&&(this.$L=this.locale(U).$L),p&&w!=this.format(Y)&&(this.$d=new Date("")),M={}}else if(Y instanceof Array)for(var l=Y.length,f=1;f<=l;f+=1){x[1]=Y[f-1];var y=V.apply(this,x);if(y.isValid()){this.$d=y.$d,this.$L=y.$L,this.init();break}f===l&&(this.$d=new Date(""))}else Z.call(this,Q)}}})})(en);var jn=en.exports;const Qn=Te(jn);var nn={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(be,function(){return function(n,r){var a=r.prototype,i=a.format;a.format=function(s){var k=this,M=this.$locale();if(!this.isValid())return i.bind(this)(s);var T=this.$utils(),g=(s||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(F){switch(F){case"Q":return Math.ceil((k.$M+1)/3);case"Do":return M.ordinal(k.$D);case"gggg":return k.weekYear();case"GGGG":return k.isoWeekYear();case"wo":return M.ordinal(k.week(),"W");case"w":case"ww":return T.s(k.week(),F==="w"?1:2,"0");case"W":case"WW":return T.s(k.isoWeek(),F==="W"?1:2,"0");case"k":case"kk":return T.s(String(k.$H===0?24:k.$H),F==="k"?1:2,"0");case"X":return Math.floor(k.$d.getTime()/1e3);case"x":return k.$d.getTime();case"z":return"["+k.offsetName()+"]";case"zzz":return"["+k.offsetName("long")+"]";default:return F}});return i.bind(this)(g)}}})})(nn);var Jn=nn.exports;const Kn=Te(Jn);function $n(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n=r)&&(n=r);else{let r=-1;for(let a of t)(a=e(a,++r,t))!=null&&(n=a)&&(n=a)}return n}function tr(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let a of t)(a=e(a,++r,t))!=null&&(n>a||n===void 0&&a>=a)&&(n=a)}return n}function er(t){return t}var Xt=1,ae=2,me=3,qt=4,We=1e-6;function nr(t){return"translate("+t+",0)"}function rr(t){return"translate(0,"+t+")"}function ar(t){return e=>+t(e)}function ir(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function sr(){return!this.__axis}function rn(t,e){var n=[],r=null,a=null,i=6,s=6,k=3,M=typeof window<"u"&&window.devicePixelRatio>1?0:.5,T=t===Xt||t===qt?-1:1,g=t===qt||t===ae?"x":"y",F=t===Xt||t===me?nr:rr;function D(b){var X=r??(e.ticks?e.ticks.apply(e,n):e.domain()),O=a??(e.tickFormat?e.tickFormat.apply(e,n):er),C=Math.max(i,0)+k,I=e.range(),V=+I[0]+M,W=+I[I.length-1]+M,Z=(e.bandwidth?ir:ar)(e.copy(),M),Q=b.selection?b.selection():b,w=Q.selectAll(".domain").data([null]),H=Q.selectAll(".tick").data(X,e).order(),x=H.exit(),Y=H.enter().append("g").attr("class","tick"),_=H.select("line"),S=H.select("text");w=w.merge(w.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),H=H.merge(Y),_=_.merge(Y.append("line").attr("stroke","currentColor").attr(g+"2",T*i)),S=S.merge(Y.append("text").attr("fill","currentColor").attr(g,T*C).attr("dy",t===Xt?"0em":t===me?"0.71em":"0.32em")),b!==Q&&(w=w.transition(b),H=H.transition(b),_=_.transition(b),S=S.transition(b),x=x.transition(b).attr("opacity",We).attr("transform",function(p){return isFinite(p=Z(p))?F(p+M):this.getAttribute("transform")}),Y.attr("opacity",We).attr("transform",function(p){var U=this.parentNode.__axis;return F((U&&isFinite(U=U(p))?U:Z(p))+M)})),x.remove(),w.attr("d",t===qt||t===ae?s?"M"+T*s+","+V+"H"+M+"V"+W+"H"+T*s:"M"+M+","+V+"V"+W:s?"M"+V+","+T*s+"V"+M+"H"+W+"V"+T*s:"M"+V+","+M+"H"+W),H.attr("opacity",1).attr("transform",function(p){return F(Z(p)+M)}),_.attr(g+"2",T*i),S.attr(g,T*C).text(O),Q.filter(sr).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===ae?"start":t===qt?"end":"middle"),Q.each(function(){this.__axis=Z})}return D.scale=function(b){return arguments.length?(e=b,D):e},D.ticks=function(){return n=Array.from(arguments),D},D.tickArguments=function(b){return arguments.length?(n=b==null?[]:Array.from(b),D):n.slice()},D.tickValues=function(b){return arguments.length?(r=b==null?null:Array.from(b),D):r&&r.slice()},D.tickFormat=function(b){return arguments.length?(a=b,D):a},D.tickSize=function(b){return arguments.length?(i=s=+b,D):i},D.tickSizeInner=function(b){return arguments.length?(i=+b,D):i},D.tickSizeOuter=function(b){return arguments.length?(s=+b,D):s},D.tickPadding=function(b){return arguments.length?(k=+b,D):k},D.offset=function(b){return arguments.length?(M=+b,D):M},D}function or(t){return rn(Xt,t)}function cr(t){return rn(me,t)}const lr=Math.PI/180,ur=180/Math.PI,Jt=18,an=.96422,sn=1,on=.82521,cn=4/29,St=6/29,ln=3*St*St,fr=St*St*St;function un(t){if(t instanceof ft)return new ft(t.l,t.a,t.b,t.opacity);if(t instanceof dt)return fn(t);t instanceof $e||(t=Fn(t));var e=ce(t.r),n=ce(t.g),r=ce(t.b),a=ie((.2225045*e+.7168786*n+.0606169*r)/sn),i,s;return e===n&&n===r?i=s=a:(i=ie((.4360747*e+.3850649*n+.1430804*r)/an),s=ie((.0139322*e+.0971045*n+.7141733*r)/on)),new ft(116*a-16,500*(i-a),200*(a-s),t.opacity)}function hr(t,e,n,r){return arguments.length===1?un(t):new ft(t,e,n,r??1)}function ft(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}Je(ft,hr,Ke(tn,{brighter(t){return new ft(this.l+Jt*(t??1),this.a,this.b,this.opacity)},darker(t){return new ft(this.l-Jt*(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=an*se(e),t=sn*se(t),n=on*se(n),new $e(oe(3.1338561*e-1.6168667*t-.4906146*n),oe(-.9787684*e+1.9161415*t+.033454*n),oe(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function ie(t){return t>fr?Math.pow(t,1/3):t/ln+cn}function se(t){return t>St?t*t*t:ln*(t-cn)}function oe(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function ce(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function dr(t){if(t instanceof dt)return new dt(t.h,t.c,t.l,t.opacity);if(t instanceof ft||(t=un(t)),t.a===0&&t.b===0)return new dt(NaN,0(t(i=new Date(+i)),i),a.ceil=i=>(t(i=new Date(i-1)),e(i,1),t(i),i),a.round=i=>{const s=a(i),k=a.ceil(i);return i-s(e(i=new Date(+i),s==null?1:Math.floor(s)),i),a.range=(i,s,k)=>{const M=[];if(i=a.ceil(i),k=k==null?1:Math.floor(k),!(i0))return M;let T;do M.push(T=new Date(+i)),e(i,k),t(i);while(Tet(s=>{if(s>=s)for(;t(s),!i(s);)s.setTime(s-1)},(s,k)=>{if(s>=s)if(k<0)for(;++k<=0;)for(;e(s,-1),!i(s););else for(;--k>=0;)for(;e(s,1),!i(s););}),n&&(a.count=(i,s)=>(le.setTime(+i),ue.setTime(+s),t(le),t(ue),Math.floor(n(le,ue))),a.every=i=>(i=Math.floor(i),!isFinite(i)||!(i>0)?null:i>1?a.filter(r?s=>r(s)%i===0:s=>a.count(0,s)%i===0):a)),a}const Ut=et(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);Ut.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?et(e=>{e.setTime(Math.floor(e/t)*t)},(e,n)=>{e.setTime(+e+n*t)},(e,n)=>(n-e)/t):Ut);Ut.range;const mt=1e3,ct=mt*60,gt=ct*60,yt=gt*24,xe=yt*7,Oe=yt*30,fe=yt*365,vt=et(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*mt)},(t,e)=>(e-t)/mt,t=>t.getUTCSeconds());vt.range;const Wt=et(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*mt)},(t,e)=>{t.setTime(+t+e*ct)},(t,e)=>(e-t)/ct,t=>t.getMinutes());Wt.range;const kr=et(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*ct)},(t,e)=>(e-t)/ct,t=>t.getUTCMinutes());kr.range;const Ot=et(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*mt-t.getMinutes()*ct)},(t,e)=>{t.setTime(+t+e*gt)},(t,e)=>(e-t)/gt,t=>t.getHours());Ot.range;const pr=et(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*gt)},(t,e)=>(e-t)/gt,t=>t.getUTCHours());pr.range;const Tt=et(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*ct)/yt,t=>t.getDate()-1);Tt.range;const we=et(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/yt,t=>t.getUTCDate()-1);we.range;const vr=et(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/yt,t=>Math.floor(t/yt));vr.range;function wt(t){return et(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())*ct)/xe)}const Vt=wt(0),Ht=wt(1),hn=wt(2),dn=wt(3),bt=wt(4),mn=wt(5),gn=wt(6);Vt.range;Ht.range;hn.range;dn.range;bt.range;mn.range;gn.range;function Dt(t){return et(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)/xe)}const yn=Dt(0),Kt=Dt(1),Tr=Dt(2),br=Dt(3),Ft=Dt(4),xr=Dt(5),wr=Dt(6);yn.range;Kt.range;Tr.range;br.range;Ft.range;xr.range;wr.range;const Nt=et(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());Nt.range;const Dr=et(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());Dr.range;const kt=et(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());kt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:et(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)});kt.range;const xt=et(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());xt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:et(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)});xt.range;function Cr(t,e,n,r,a,i){const s=[[vt,1,mt],[vt,5,5*mt],[vt,15,15*mt],[vt,30,30*mt],[i,1,ct],[i,5,5*ct],[i,15,15*ct],[i,30,30*ct],[a,1,gt],[a,3,3*gt],[a,6,6*gt],[a,12,12*gt],[r,1,yt],[r,2,2*yt],[n,1,xe],[e,1,Oe],[e,3,3*Oe],[t,1,fe]];function k(T,g,F){const D=gC).right(s,D);if(b===s.length)return t.every(Ie(T/fe,g/fe,F));if(b===0)return Ut.every(Math.max(Ie(T,g,F),1));const[X,O]=s[D/s[b-1][2]53)return null;"w"in u||(u.w=1),"Z"in u?(L=de(Lt(u.y,0,1)),j=L.getUTCDay(),L=j>4||j===0?Kt.ceil(L):Kt(L),L=we.offset(L,(u.V-1)*7),u.y=L.getUTCFullYear(),u.m=L.getUTCMonth(),u.d=L.getUTCDate()+(u.w+6)%7):(L=he(Lt(u.y,0,1)),j=L.getDay(),L=j>4||j===0?Ht.ceil(L):Ht(L),L=Tt.offset(L,(u.V-1)*7),u.y=L.getFullYear(),u.m=L.getMonth(),u.d=L.getDate()+(u.w+6)%7)}else("W"in u||"U"in u)&&("w"in u||(u.w="u"in u?u.u%7:"W"in u?1:0),j="Z"in u?de(Lt(u.y,0,1)).getUTCDay():he(Lt(u.y,0,1)).getDay(),u.m=0,u.d="W"in u?(u.w+6)%7+u.W*7-(j+5)%7:u.w+u.U*7-(j+6)%7);return"Z"in u?(u.H+=u.Z/100|0,u.M+=u.Z%100,de(u)):he(u)}}function x(v,A,N,u){for(var K=0,L=A.length,j=N.length,q,rt;K=j)return-1;if(q=A.charCodeAt(K++),q===37){if(q=A.charAt(K++),rt=Q[q in He?A.charAt(K++):q],!rt||(u=rt(v,N,u))<0)return-1}else if(q!=N.charCodeAt(u++))return-1}return u}function Y(v,A,N){var u=T.exec(A.slice(N));return u?(v.p=g.get(u[0].toLowerCase()),N+u[0].length):-1}function _(v,A,N){var u=b.exec(A.slice(N));return u?(v.w=X.get(u[0].toLowerCase()),N+u[0].length):-1}function S(v,A,N){var u=F.exec(A.slice(N));return u?(v.w=D.get(u[0].toLowerCase()),N+u[0].length):-1}function p(v,A,N){var u=I.exec(A.slice(N));return u?(v.m=V.get(u[0].toLowerCase()),N+u[0].length):-1}function U(v,A,N){var u=O.exec(A.slice(N));return u?(v.m=C.get(u[0].toLowerCase()),N+u[0].length):-1}function l(v,A,N){return x(v,e,A,N)}function f(v,A,N){return x(v,n,A,N)}function y(v,A,N){return x(v,r,A,N)}function m(v){return s[v.getDay()]}function E(v){return i[v.getDay()]}function c(v){return M[v.getMonth()]}function d(v){return k[v.getMonth()]}function o(v){return a[+(v.getHours()>=12)]}function P(v){return 1+~~(v.getMonth()/3)}function z(v){return s[v.getUTCDay()]}function R(v){return i[v.getUTCDay()]}function $(v){return M[v.getUTCMonth()]}function G(v){return k[v.getUTCMonth()]}function J(v){return a[+(v.getUTCHours()>=12)]}function it(v){return 1+~~(v.getUTCMonth()/3)}return{format:function(v){var A=w(v+="",W);return A.toString=function(){return v},A},parse:function(v){var A=H(v+="",!1);return A.toString=function(){return v},A},utcFormat:function(v){var A=w(v+="",Z);return A.toString=function(){return v},A},utcParse:function(v){var A=H(v+="",!0);return A.toString=function(){return v},A}}}var He={"-":"",_:" ",0:"0"},nt=/^\s*\d+/,Yr=/^%/,Ur=/[\\^$*+?|[\]().{}]/g;function B(t,e,n){var r=t<0?"-":"",a=(r?-t:t)+"",i=a.length;return r+(i[e.toLowerCase(),n]))}function Er(t,e,n){var r=nt.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function Lr(t,e,n){var r=nt.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function Ar(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function Ir(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function Wr(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function Ne(t,e,n){var r=nt.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function Ve(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Or(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 Hr(t,e,n){var r=nt.exec(e.slice(n,n+1));return r?(t.q=r[0]*3-3,n+r[0].length):-1}function Nr(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function ze(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function Vr(t,e,n){var r=nt.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function Pe(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function zr(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Pr(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function Rr(t,e,n){var r=nt.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Br(t,e,n){var r=nt.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Zr(t,e,n){var r=Yr.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function qr(t,e,n){var r=nt.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function Xr(t,e,n){var r=nt.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function Re(t,e){return B(t.getDate(),e,2)}function Gr(t,e){return B(t.getHours(),e,2)}function jr(t,e){return B(t.getHours()%12||12,e,2)}function Qr(t,e){return B(1+Tt.count(kt(t),t),e,3)}function kn(t,e){return B(t.getMilliseconds(),e,3)}function Jr(t,e){return kn(t,e)+"000"}function Kr(t,e){return B(t.getMonth()+1,e,2)}function $r(t,e){return B(t.getMinutes(),e,2)}function ta(t,e){return B(t.getSeconds(),e,2)}function ea(t){var e=t.getDay();return e===0?7:e}function na(t,e){return B(Vt.count(kt(t)-1,t),e,2)}function pn(t){var e=t.getDay();return e>=4||e===0?bt(t):bt.ceil(t)}function ra(t,e){return t=pn(t),B(bt.count(kt(t),t)+(kt(t).getDay()===4),e,2)}function aa(t){return t.getDay()}function ia(t,e){return B(Ht.count(kt(t)-1,t),e,2)}function sa(t,e){return B(t.getFullYear()%100,e,2)}function oa(t,e){return t=pn(t),B(t.getFullYear()%100,e,2)}function ca(t,e){return B(t.getFullYear()%1e4,e,4)}function la(t,e){var n=t.getDay();return t=n>=4||n===0?bt(t):bt.ceil(t),B(t.getFullYear()%1e4,e,4)}function ua(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+B(e/60|0,"0",2)+B(e%60,"0",2)}function Be(t,e){return B(t.getUTCDate(),e,2)}function fa(t,e){return B(t.getUTCHours(),e,2)}function ha(t,e){return B(t.getUTCHours()%12||12,e,2)}function da(t,e){return B(1+we.count(xt(t),t),e,3)}function vn(t,e){return B(t.getUTCMilliseconds(),e,3)}function ma(t,e){return vn(t,e)+"000"}function ga(t,e){return B(t.getUTCMonth()+1,e,2)}function ya(t,e){return B(t.getUTCMinutes(),e,2)}function ka(t,e){return B(t.getUTCSeconds(),e,2)}function pa(t){var e=t.getUTCDay();return e===0?7:e}function va(t,e){return B(yn.count(xt(t)-1,t),e,2)}function Tn(t){var e=t.getUTCDay();return e>=4||e===0?Ft(t):Ft.ceil(t)}function Ta(t,e){return t=Tn(t),B(Ft.count(xt(t),t)+(xt(t).getUTCDay()===4),e,2)}function ba(t){return t.getUTCDay()}function xa(t,e){return B(Kt.count(xt(t)-1,t),e,2)}function wa(t,e){return B(t.getUTCFullYear()%100,e,2)}function Da(t,e){return t=Tn(t),B(t.getUTCFullYear()%100,e,2)}function Ca(t,e){return B(t.getUTCFullYear()%1e4,e,4)}function Ma(t,e){var n=t.getUTCDay();return t=n>=4||n===0?Ft(t):Ft.ceil(t),B(t.getUTCFullYear()%1e4,e,4)}function _a(){return"+0000"}function Ze(){return"%"}function qe(t){return+t}function Xe(t){return Math.floor(+t/1e3)}var Mt,$t;Sa({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 Sa(t){return Mt=Sr(t),$t=Mt.format,Mt.parse,Mt.utcFormat,Mt.utcParse,Mt}function Ya(t){return new Date(t)}function Ua(t){return t instanceof Date?+t:+new Date(+t)}function bn(t,e,n,r,a,i,s,k,M,T){var g=Zn(),F=g.invert,D=g.domain,b=T(".%L"),X=T(":%S"),O=T("%I:%M"),C=T("%I %p"),I=T("%a %d"),V=T("%b %d"),W=T("%B"),Z=T("%Y");function Q(w){return(M(w)4&&(b+=7),D.add(b,n));return X.diff(O,"week")+1},k.isoWeekday=function(T){return this.$utils().u(T)?this.day()||7:this.day(this.day()%7?T:T-7)};var M=k.startOf;k.startOf=function(T,g){var F=this.$utils(),D=!!F.u(g)||g;return F.p(T)==="isoweek"?D?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):M.bind(this)(T,g)}}})})(xn);var Ea=xn.exports;const La=Te(Ea);var ye=function(){var t=h(function(U,l,f,y){for(f=f||{},y=U.length;y--;f[U[y]]=l);return f},"o"),e=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],n=[1,26],r=[1,27],a=[1,28],i=[1,29],s=[1,30],k=[1,31],M=[1,32],T=[1,33],g=[1,34],F=[1,9],D=[1,10],b=[1,11],X=[1,12],O=[1,13],C=[1,14],I=[1,15],V=[1,16],W=[1,19],Z=[1,20],Q=[1,21],w=[1,22],H=[1,23],x=[1,25],Y=[1,35],_={trace:h(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:h(function(l,f,y,m,E,c,d){var o=c.length-1;switch(E){case 1:return c[o-1];case 2:this.$=[];break;case 3:c[o-1].push(c[o]),this.$=c[o-1];break;case 4:case 5:this.$=c[o];break;case 6:case 7:this.$=[];break;case 8:m.setWeekday("monday");break;case 9:m.setWeekday("tuesday");break;case 10:m.setWeekday("wednesday");break;case 11:m.setWeekday("thursday");break;case 12:m.setWeekday("friday");break;case 13:m.setWeekday("saturday");break;case 14:m.setWeekday("sunday");break;case 15:m.setWeekend("friday");break;case 16:m.setWeekend("saturday");break;case 17:m.setDateFormat(c[o].substr(11)),this.$=c[o].substr(11);break;case 18:m.enableInclusiveEndDates(),this.$=c[o].substr(18);break;case 19:m.TopAxis(),this.$=c[o].substr(8);break;case 20:m.setAxisFormat(c[o].substr(11)),this.$=c[o].substr(11);break;case 21:m.setTickInterval(c[o].substr(13)),this.$=c[o].substr(13);break;case 22:m.setExcludes(c[o].substr(9)),this.$=c[o].substr(9);break;case 23:m.setIncludes(c[o].substr(9)),this.$=c[o].substr(9);break;case 24:m.setTodayMarker(c[o].substr(12)),this.$=c[o].substr(12);break;case 27:m.setDiagramTitle(c[o].substr(6)),this.$=c[o].substr(6);break;case 28:this.$=c[o].trim(),m.setAccTitle(this.$);break;case 29:case 30:this.$=c[o].trim(),m.setAccDescription(this.$);break;case 31:m.addSection(c[o].substr(8)),this.$=c[o].substr(8);break;case 33:m.addTask(c[o-1],c[o]),this.$="task";break;case 34:this.$=c[o-1],m.setClickEvent(c[o-1],c[o],null);break;case 35:this.$=c[o-2],m.setClickEvent(c[o-2],c[o-1],c[o]);break;case 36:this.$=c[o-2],m.setClickEvent(c[o-2],c[o-1],null),m.setLink(c[o-2],c[o]);break;case 37:this.$=c[o-3],m.setClickEvent(c[o-3],c[o-2],c[o-1]),m.setLink(c[o-3],c[o]);break;case 38:this.$=c[o-2],m.setClickEvent(c[o-2],c[o],null),m.setLink(c[o-2],c[o-1]);break;case 39:this.$=c[o-3],m.setClickEvent(c[o-3],c[o-1],c[o]),m.setLink(c[o-3],c[o-2]);break;case 40:this.$=c[o-1],m.setLink(c[o-1],c[o]);break;case 41:case 47:this.$=c[o-1]+" "+c[o];break;case 42:case 43:case 45:this.$=c[o-2]+" "+c[o-1]+" "+c[o];break;case 44:case 46:this.$=c[o-3]+" "+c[o-2]+" "+c[o-1]+" "+c[o];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:n,13:r,14:a,15:i,16:s,17:k,18:M,19:18,20:T,21:g,22:F,23:D,24:b,25:X,26:O,27:C,28:I,29:V,30:W,31:Z,33:Q,35:w,36:H,37:24,38:x,40:Y},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:n,13:r,14:a,15:i,16:s,17:k,18:M,19:18,20:T,21:g,22:F,23:D,24:b,25:X,26:O,27:C,28:I,29:V,30:W,31:Z,33:Q,35:w,36:H,37:24,38:x,40:Y},t(e,[2,5]),t(e,[2,6]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),t(e,[2,27]),{32:[1,37]},{34:[1,38]},t(e,[2,30]),t(e,[2,31]),t(e,[2,32]),{39:[1,39]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),{41:[1,40],43:[1,41]},t(e,[2,4]),t(e,[2,28]),t(e,[2,29]),t(e,[2,33]),t(e,[2,34],{42:[1,42],43:[1,43]}),t(e,[2,40],{41:[1,44]}),t(e,[2,35],{43:[1,45]}),t(e,[2,36]),t(e,[2,38],{42:[1,46]}),t(e,[2,37]),t(e,[2,39])],defaultActions:{},parseError:h(function(l,f){if(f.recoverable)this.trace(l);else{var y=new Error(l);throw y.hash=f,y}},"parseError"),parse:h(function(l){var f=this,y=[0],m=[],E=[null],c=[],d=this.table,o="",P=0,z=0,R=2,$=1,G=c.slice.call(arguments,1),J=Object.create(this.lexer),it={yy:{}};for(var v in this.yy)Object.prototype.hasOwnProperty.call(this.yy,v)&&(it.yy[v]=this.yy[v]);J.setInput(l,it.yy),it.yy.lexer=J,it.yy.parser=this,typeof J.yylloc>"u"&&(J.yylloc={});var A=J.yylloc;c.push(A);var N=J.options&&J.options.ranges;typeof it.yy.parseError=="function"?this.parseError=it.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function u(ot){y.length=y.length-2*ot,E.length=E.length-ot,c.length=c.length-ot}h(u,"popStack");function K(){var ot;return ot=m.pop()||J.lex()||$,typeof ot!="number"&&(ot instanceof Array&&(m=ot,ot=m.pop()),ot=f.symbols_[ot]||ot),ot}h(K,"lex");for(var L,j,q,rt,st={},pt,lt,Ae,Bt;;){if(j=y[y.length-1],this.defaultActions[j]?q=this.defaultActions[j]:((L===null||typeof L>"u")&&(L=K()),q=d[j]&&d[j][L]),typeof q>"u"||!q.length||!q[0]){var ne="";Bt=[];for(pt in d[j])this.terminals_[pt]&&pt>R&&Bt.push("'"+this.terminals_[pt]+"'");J.showPosition?ne="Parse error on line "+(P+1)+`: +import{aL as Te,aK as be,b6 as Je,b7 as Ke,b8 as $e,b9 as tn,ba as Fn,bb as re,bc as En,_ as h,bd as at,d as _t,s as Ln,g as An,p as In,q as Wn,c as On,b as Hn,r as Nn,m as Vn,l as Qt,j as Zt,k as zn,e as Pn,u as Rn}from"./index-BmyXM-jo.js";import{b as Bn,t as Ie,c as Zn,a as qn,l as Xn}from"./linear-_gXvi5T4.js";import{i as Gn}from"./init-Gi6I4Gst.js";var en={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(be,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d/,i=/\d\d/,s=/\d\d?/,k=/\d*[^-_:/,()\s\d]+/,M={},T=function(C){return(C=+C)+(C>68?1900:2e3)},g=function(C){return function(I){this[C]=+I}},F=[/[+-]\d\d:?(\d\d)?|Z/,function(C){(this.zone||(this.zone={})).offset=function(I){if(!I||I==="Z")return 0;var V=I.match(/([+-]|\d\d)/g),W=60*V[1]+(+V[2]||0);return W===0?0:V[0]==="+"?-W:W}(C)}],D=function(C){var I=M[C];return I&&(I.indexOf?I:I.s.concat(I.f))},b=function(C,I){var V,W=M.meridiem;if(W){for(var Z=1;Z<=24;Z+=1)if(C.indexOf(W(Z,0,I))>-1){V=Z>12;break}}else V=C===(I?"pm":"PM");return V},X={A:[k,function(C){this.afternoon=b(C,!1)}],a:[k,function(C){this.afternoon=b(C,!0)}],Q:[a,function(C){this.month=3*(C-1)+1}],S:[a,function(C){this.milliseconds=100*+C}],SS:[i,function(C){this.milliseconds=10*+C}],SSS:[/\d{3}/,function(C){this.milliseconds=+C}],s:[s,g("seconds")],ss:[s,g("seconds")],m:[s,g("minutes")],mm:[s,g("minutes")],H:[s,g("hours")],h:[s,g("hours")],HH:[s,g("hours")],hh:[s,g("hours")],D:[s,g("day")],DD:[i,g("day")],Do:[k,function(C){var I=M.ordinal,V=C.match(/\d+/);if(this.day=V[0],I)for(var W=1;W<=31;W+=1)I(W).replace(/\[|\]/g,"")===C&&(this.day=W)}],w:[s,g("week")],ww:[i,g("week")],M:[s,g("month")],MM:[i,g("month")],MMM:[k,function(C){var I=D("months"),V=(D("monthsShort")||I.map(function(W){return W.slice(0,3)})).indexOf(C)+1;if(V<1)throw new Error;this.month=V%12||V}],MMMM:[k,function(C){var I=D("months").indexOf(C)+1;if(I<1)throw new Error;this.month=I%12||I}],Y:[/[+-]?\d+/,g("year")],YY:[i,function(C){this.year=T(C)}],YYYY:[/\d{4}/,g("year")],Z:F,ZZ:F};function O(C){var I,V;I=C,V=M&&M.formats;for(var W=(C=I.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(_,S,p){var U=p&&p.toUpperCase();return S||V[p]||n[p]||V[U].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(l,f,y){return f||y.slice(1)})})).match(r),Z=W.length,Q=0;Q-1)return new Date((E==="X"?1e3:1)*m);var o=O(E)(m),P=o.year,z=o.month,R=o.day,$=o.hours,G=o.minutes,J=o.seconds,it=o.milliseconds,v=o.zone,A=o.week,N=new Date,u=R||(P||z?1:N.getDate()),K=P||N.getFullYear(),L=0;P&&!z||(L=z>0?z-1:N.getMonth());var j,q=$||0,rt=G||0,st=J||0,pt=it||0;return v?new Date(Date.UTC(K,L,u,q,rt,st,pt+60*v.offset*1e3)):c?new Date(Date.UTC(K,L,u,q,rt,st,pt)):(j=new Date(K,L,u,q,rt,st,pt),A&&(j=d(j).week(A).toDate()),j)}catch{return new Date("")}}(w,Y,H,V),this.init(),U&&U!==!0&&(this.$L=this.locale(U).$L),p&&w!=this.format(Y)&&(this.$d=new Date("")),M={}}else if(Y instanceof Array)for(var l=Y.length,f=1;f<=l;f+=1){x[1]=Y[f-1];var y=V.apply(this,x);if(y.isValid()){this.$d=y.$d,this.$L=y.$L,this.init();break}f===l&&(this.$d=new Date(""))}else Z.call(this,Q)}}})})(en);var jn=en.exports;const Qn=Te(jn);var nn={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(be,function(){return function(n,r){var a=r.prototype,i=a.format;a.format=function(s){var k=this,M=this.$locale();if(!this.isValid())return i.bind(this)(s);var T=this.$utils(),g=(s||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(F){switch(F){case"Q":return Math.ceil((k.$M+1)/3);case"Do":return M.ordinal(k.$D);case"gggg":return k.weekYear();case"GGGG":return k.isoWeekYear();case"wo":return M.ordinal(k.week(),"W");case"w":case"ww":return T.s(k.week(),F==="w"?1:2,"0");case"W":case"WW":return T.s(k.isoWeek(),F==="W"?1:2,"0");case"k":case"kk":return T.s(String(k.$H===0?24:k.$H),F==="k"?1:2,"0");case"X":return Math.floor(k.$d.getTime()/1e3);case"x":return k.$d.getTime();case"z":return"["+k.offsetName()+"]";case"zzz":return"["+k.offsetName("long")+"]";default:return F}});return i.bind(this)(g)}}})})(nn);var Jn=nn.exports;const Kn=Te(Jn);function $n(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n=r)&&(n=r);else{let r=-1;for(let a of t)(a=e(a,++r,t))!=null&&(n=a)&&(n=a)}return n}function tr(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let a of t)(a=e(a,++r,t))!=null&&(n>a||n===void 0&&a>=a)&&(n=a)}return n}function er(t){return t}var Xt=1,ae=2,me=3,qt=4,We=1e-6;function nr(t){return"translate("+t+",0)"}function rr(t){return"translate(0,"+t+")"}function ar(t){return e=>+t(e)}function ir(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function sr(){return!this.__axis}function rn(t,e){var n=[],r=null,a=null,i=6,s=6,k=3,M=typeof window<"u"&&window.devicePixelRatio>1?0:.5,T=t===Xt||t===qt?-1:1,g=t===qt||t===ae?"x":"y",F=t===Xt||t===me?nr:rr;function D(b){var X=r??(e.ticks?e.ticks.apply(e,n):e.domain()),O=a??(e.tickFormat?e.tickFormat.apply(e,n):er),C=Math.max(i,0)+k,I=e.range(),V=+I[0]+M,W=+I[I.length-1]+M,Z=(e.bandwidth?ir:ar)(e.copy(),M),Q=b.selection?b.selection():b,w=Q.selectAll(".domain").data([null]),H=Q.selectAll(".tick").data(X,e).order(),x=H.exit(),Y=H.enter().append("g").attr("class","tick"),_=H.select("line"),S=H.select("text");w=w.merge(w.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),H=H.merge(Y),_=_.merge(Y.append("line").attr("stroke","currentColor").attr(g+"2",T*i)),S=S.merge(Y.append("text").attr("fill","currentColor").attr(g,T*C).attr("dy",t===Xt?"0em":t===me?"0.71em":"0.32em")),b!==Q&&(w=w.transition(b),H=H.transition(b),_=_.transition(b),S=S.transition(b),x=x.transition(b).attr("opacity",We).attr("transform",function(p){return isFinite(p=Z(p))?F(p+M):this.getAttribute("transform")}),Y.attr("opacity",We).attr("transform",function(p){var U=this.parentNode.__axis;return F((U&&isFinite(U=U(p))?U:Z(p))+M)})),x.remove(),w.attr("d",t===qt||t===ae?s?"M"+T*s+","+V+"H"+M+"V"+W+"H"+T*s:"M"+M+","+V+"V"+W:s?"M"+V+","+T*s+"V"+M+"H"+W+"V"+T*s:"M"+V+","+M+"H"+W),H.attr("opacity",1).attr("transform",function(p){return F(Z(p)+M)}),_.attr(g+"2",T*i),S.attr(g,T*C).text(O),Q.filter(sr).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===ae?"start":t===qt?"end":"middle"),Q.each(function(){this.__axis=Z})}return D.scale=function(b){return arguments.length?(e=b,D):e},D.ticks=function(){return n=Array.from(arguments),D},D.tickArguments=function(b){return arguments.length?(n=b==null?[]:Array.from(b),D):n.slice()},D.tickValues=function(b){return arguments.length?(r=b==null?null:Array.from(b),D):r&&r.slice()},D.tickFormat=function(b){return arguments.length?(a=b,D):a},D.tickSize=function(b){return arguments.length?(i=s=+b,D):i},D.tickSizeInner=function(b){return arguments.length?(i=+b,D):i},D.tickSizeOuter=function(b){return arguments.length?(s=+b,D):s},D.tickPadding=function(b){return arguments.length?(k=+b,D):k},D.offset=function(b){return arguments.length?(M=+b,D):M},D}function or(t){return rn(Xt,t)}function cr(t){return rn(me,t)}const lr=Math.PI/180,ur=180/Math.PI,Jt=18,an=.96422,sn=1,on=.82521,cn=4/29,St=6/29,ln=3*St*St,fr=St*St*St;function un(t){if(t instanceof ft)return new ft(t.l,t.a,t.b,t.opacity);if(t instanceof dt)return fn(t);t instanceof $e||(t=Fn(t));var e=ce(t.r),n=ce(t.g),r=ce(t.b),a=ie((.2225045*e+.7168786*n+.0606169*r)/sn),i,s;return e===n&&n===r?i=s=a:(i=ie((.4360747*e+.3850649*n+.1430804*r)/an),s=ie((.0139322*e+.0971045*n+.7141733*r)/on)),new ft(116*a-16,500*(i-a),200*(a-s),t.opacity)}function hr(t,e,n,r){return arguments.length===1?un(t):new ft(t,e,n,r??1)}function ft(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}Je(ft,hr,Ke(tn,{brighter(t){return new ft(this.l+Jt*(t??1),this.a,this.b,this.opacity)},darker(t){return new ft(this.l-Jt*(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=an*se(e),t=sn*se(t),n=on*se(n),new $e(oe(3.1338561*e-1.6168667*t-.4906146*n),oe(-.9787684*e+1.9161415*t+.033454*n),oe(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function ie(t){return t>fr?Math.pow(t,1/3):t/ln+cn}function se(t){return t>St?t*t*t:ln*(t-cn)}function oe(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function ce(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function dr(t){if(t instanceof dt)return new dt(t.h,t.c,t.l,t.opacity);if(t instanceof ft||(t=un(t)),t.a===0&&t.b===0)return new dt(NaN,0(t(i=new Date(+i)),i),a.ceil=i=>(t(i=new Date(i-1)),e(i,1),t(i),i),a.round=i=>{const s=a(i),k=a.ceil(i);return i-s(e(i=new Date(+i),s==null?1:Math.floor(s)),i),a.range=(i,s,k)=>{const M=[];if(i=a.ceil(i),k=k==null?1:Math.floor(k),!(i0))return M;let T;do M.push(T=new Date(+i)),e(i,k),t(i);while(Tet(s=>{if(s>=s)for(;t(s),!i(s);)s.setTime(s-1)},(s,k)=>{if(s>=s)if(k<0)for(;++k<=0;)for(;e(s,-1),!i(s););else for(;--k>=0;)for(;e(s,1),!i(s););}),n&&(a.count=(i,s)=>(le.setTime(+i),ue.setTime(+s),t(le),t(ue),Math.floor(n(le,ue))),a.every=i=>(i=Math.floor(i),!isFinite(i)||!(i>0)?null:i>1?a.filter(r?s=>r(s)%i===0:s=>a.count(0,s)%i===0):a)),a}const Ut=et(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);Ut.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?et(e=>{e.setTime(Math.floor(e/t)*t)},(e,n)=>{e.setTime(+e+n*t)},(e,n)=>(n-e)/t):Ut);Ut.range;const mt=1e3,ct=mt*60,gt=ct*60,yt=gt*24,xe=yt*7,Oe=yt*30,fe=yt*365,vt=et(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*mt)},(t,e)=>(e-t)/mt,t=>t.getUTCSeconds());vt.range;const Wt=et(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*mt)},(t,e)=>{t.setTime(+t+e*ct)},(t,e)=>(e-t)/ct,t=>t.getMinutes());Wt.range;const kr=et(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*ct)},(t,e)=>(e-t)/ct,t=>t.getUTCMinutes());kr.range;const Ot=et(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*mt-t.getMinutes()*ct)},(t,e)=>{t.setTime(+t+e*gt)},(t,e)=>(e-t)/gt,t=>t.getHours());Ot.range;const pr=et(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*gt)},(t,e)=>(e-t)/gt,t=>t.getUTCHours());pr.range;const Tt=et(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*ct)/yt,t=>t.getDate()-1);Tt.range;const we=et(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/yt,t=>t.getUTCDate()-1);we.range;const vr=et(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/yt,t=>Math.floor(t/yt));vr.range;function wt(t){return et(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())*ct)/xe)}const Vt=wt(0),Ht=wt(1),hn=wt(2),dn=wt(3),bt=wt(4),mn=wt(5),gn=wt(6);Vt.range;Ht.range;hn.range;dn.range;bt.range;mn.range;gn.range;function Dt(t){return et(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)/xe)}const yn=Dt(0),Kt=Dt(1),Tr=Dt(2),br=Dt(3),Ft=Dt(4),xr=Dt(5),wr=Dt(6);yn.range;Kt.range;Tr.range;br.range;Ft.range;xr.range;wr.range;const Nt=et(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());Nt.range;const Dr=et(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());Dr.range;const kt=et(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());kt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:et(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)});kt.range;const xt=et(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());xt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:et(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)});xt.range;function Cr(t,e,n,r,a,i){const s=[[vt,1,mt],[vt,5,5*mt],[vt,15,15*mt],[vt,30,30*mt],[i,1,ct],[i,5,5*ct],[i,15,15*ct],[i,30,30*ct],[a,1,gt],[a,3,3*gt],[a,6,6*gt],[a,12,12*gt],[r,1,yt],[r,2,2*yt],[n,1,xe],[e,1,Oe],[e,3,3*Oe],[t,1,fe]];function k(T,g,F){const D=gC).right(s,D);if(b===s.length)return t.every(Ie(T/fe,g/fe,F));if(b===0)return Ut.every(Math.max(Ie(T,g,F),1));const[X,O]=s[D/s[b-1][2]53)return null;"w"in u||(u.w=1),"Z"in u?(L=de(Lt(u.y,0,1)),j=L.getUTCDay(),L=j>4||j===0?Kt.ceil(L):Kt(L),L=we.offset(L,(u.V-1)*7),u.y=L.getUTCFullYear(),u.m=L.getUTCMonth(),u.d=L.getUTCDate()+(u.w+6)%7):(L=he(Lt(u.y,0,1)),j=L.getDay(),L=j>4||j===0?Ht.ceil(L):Ht(L),L=Tt.offset(L,(u.V-1)*7),u.y=L.getFullYear(),u.m=L.getMonth(),u.d=L.getDate()+(u.w+6)%7)}else("W"in u||"U"in u)&&("w"in u||(u.w="u"in u?u.u%7:"W"in u?1:0),j="Z"in u?de(Lt(u.y,0,1)).getUTCDay():he(Lt(u.y,0,1)).getDay(),u.m=0,u.d="W"in u?(u.w+6)%7+u.W*7-(j+5)%7:u.w+u.U*7-(j+6)%7);return"Z"in u?(u.H+=u.Z/100|0,u.M+=u.Z%100,de(u)):he(u)}}function x(v,A,N,u){for(var K=0,L=A.length,j=N.length,q,rt;K=j)return-1;if(q=A.charCodeAt(K++),q===37){if(q=A.charAt(K++),rt=Q[q in He?A.charAt(K++):q],!rt||(u=rt(v,N,u))<0)return-1}else if(q!=N.charCodeAt(u++))return-1}return u}function Y(v,A,N){var u=T.exec(A.slice(N));return u?(v.p=g.get(u[0].toLowerCase()),N+u[0].length):-1}function _(v,A,N){var u=b.exec(A.slice(N));return u?(v.w=X.get(u[0].toLowerCase()),N+u[0].length):-1}function S(v,A,N){var u=F.exec(A.slice(N));return u?(v.w=D.get(u[0].toLowerCase()),N+u[0].length):-1}function p(v,A,N){var u=I.exec(A.slice(N));return u?(v.m=V.get(u[0].toLowerCase()),N+u[0].length):-1}function U(v,A,N){var u=O.exec(A.slice(N));return u?(v.m=C.get(u[0].toLowerCase()),N+u[0].length):-1}function l(v,A,N){return x(v,e,A,N)}function f(v,A,N){return x(v,n,A,N)}function y(v,A,N){return x(v,r,A,N)}function m(v){return s[v.getDay()]}function E(v){return i[v.getDay()]}function c(v){return M[v.getMonth()]}function d(v){return k[v.getMonth()]}function o(v){return a[+(v.getHours()>=12)]}function P(v){return 1+~~(v.getMonth()/3)}function z(v){return s[v.getUTCDay()]}function R(v){return i[v.getUTCDay()]}function $(v){return M[v.getUTCMonth()]}function G(v){return k[v.getUTCMonth()]}function J(v){return a[+(v.getUTCHours()>=12)]}function it(v){return 1+~~(v.getUTCMonth()/3)}return{format:function(v){var A=w(v+="",W);return A.toString=function(){return v},A},parse:function(v){var A=H(v+="",!1);return A.toString=function(){return v},A},utcFormat:function(v){var A=w(v+="",Z);return A.toString=function(){return v},A},utcParse:function(v){var A=H(v+="",!0);return A.toString=function(){return v},A}}}var He={"-":"",_:" ",0:"0"},nt=/^\s*\d+/,Yr=/^%/,Ur=/[\\^$*+?|[\]().{}]/g;function B(t,e,n){var r=t<0?"-":"",a=(r?-t:t)+"",i=a.length;return r+(i[e.toLowerCase(),n]))}function Er(t,e,n){var r=nt.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function Lr(t,e,n){var r=nt.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function Ar(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function Ir(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function Wr(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function Ne(t,e,n){var r=nt.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function Ve(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Or(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 Hr(t,e,n){var r=nt.exec(e.slice(n,n+1));return r?(t.q=r[0]*3-3,n+r[0].length):-1}function Nr(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function ze(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function Vr(t,e,n){var r=nt.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function Pe(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function zr(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Pr(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function Rr(t,e,n){var r=nt.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Br(t,e,n){var r=nt.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Zr(t,e,n){var r=Yr.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function qr(t,e,n){var r=nt.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function Xr(t,e,n){var r=nt.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function Re(t,e){return B(t.getDate(),e,2)}function Gr(t,e){return B(t.getHours(),e,2)}function jr(t,e){return B(t.getHours()%12||12,e,2)}function Qr(t,e){return B(1+Tt.count(kt(t),t),e,3)}function kn(t,e){return B(t.getMilliseconds(),e,3)}function Jr(t,e){return kn(t,e)+"000"}function Kr(t,e){return B(t.getMonth()+1,e,2)}function $r(t,e){return B(t.getMinutes(),e,2)}function ta(t,e){return B(t.getSeconds(),e,2)}function ea(t){var e=t.getDay();return e===0?7:e}function na(t,e){return B(Vt.count(kt(t)-1,t),e,2)}function pn(t){var e=t.getDay();return e>=4||e===0?bt(t):bt.ceil(t)}function ra(t,e){return t=pn(t),B(bt.count(kt(t),t)+(kt(t).getDay()===4),e,2)}function aa(t){return t.getDay()}function ia(t,e){return B(Ht.count(kt(t)-1,t),e,2)}function sa(t,e){return B(t.getFullYear()%100,e,2)}function oa(t,e){return t=pn(t),B(t.getFullYear()%100,e,2)}function ca(t,e){return B(t.getFullYear()%1e4,e,4)}function la(t,e){var n=t.getDay();return t=n>=4||n===0?bt(t):bt.ceil(t),B(t.getFullYear()%1e4,e,4)}function ua(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+B(e/60|0,"0",2)+B(e%60,"0",2)}function Be(t,e){return B(t.getUTCDate(),e,2)}function fa(t,e){return B(t.getUTCHours(),e,2)}function ha(t,e){return B(t.getUTCHours()%12||12,e,2)}function da(t,e){return B(1+we.count(xt(t),t),e,3)}function vn(t,e){return B(t.getUTCMilliseconds(),e,3)}function ma(t,e){return vn(t,e)+"000"}function ga(t,e){return B(t.getUTCMonth()+1,e,2)}function ya(t,e){return B(t.getUTCMinutes(),e,2)}function ka(t,e){return B(t.getUTCSeconds(),e,2)}function pa(t){var e=t.getUTCDay();return e===0?7:e}function va(t,e){return B(yn.count(xt(t)-1,t),e,2)}function Tn(t){var e=t.getUTCDay();return e>=4||e===0?Ft(t):Ft.ceil(t)}function Ta(t,e){return t=Tn(t),B(Ft.count(xt(t),t)+(xt(t).getUTCDay()===4),e,2)}function ba(t){return t.getUTCDay()}function xa(t,e){return B(Kt.count(xt(t)-1,t),e,2)}function wa(t,e){return B(t.getUTCFullYear()%100,e,2)}function Da(t,e){return t=Tn(t),B(t.getUTCFullYear()%100,e,2)}function Ca(t,e){return B(t.getUTCFullYear()%1e4,e,4)}function Ma(t,e){var n=t.getUTCDay();return t=n>=4||n===0?Ft(t):Ft.ceil(t),B(t.getUTCFullYear()%1e4,e,4)}function _a(){return"+0000"}function Ze(){return"%"}function qe(t){return+t}function Xe(t){return Math.floor(+t/1e3)}var Mt,$t;Sa({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 Sa(t){return Mt=Sr(t),$t=Mt.format,Mt.parse,Mt.utcFormat,Mt.utcParse,Mt}function Ya(t){return new Date(t)}function Ua(t){return t instanceof Date?+t:+new Date(+t)}function bn(t,e,n,r,a,i,s,k,M,T){var g=Zn(),F=g.invert,D=g.domain,b=T(".%L"),X=T(":%S"),O=T("%I:%M"),C=T("%I %p"),I=T("%a %d"),V=T("%b %d"),W=T("%B"),Z=T("%Y");function Q(w){return(M(w)4&&(b+=7),D.add(b,n));return X.diff(O,"week")+1},k.isoWeekday=function(T){return this.$utils().u(T)?this.day()||7:this.day(this.day()%7?T:T-7)};var M=k.startOf;k.startOf=function(T,g){var F=this.$utils(),D=!!F.u(g)||g;return F.p(T)==="isoweek"?D?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):M.bind(this)(T,g)}}})})(xn);var Ea=xn.exports;const La=Te(Ea);var ye=function(){var t=h(function(U,l,f,y){for(f=f||{},y=U.length;y--;f[U[y]]=l);return f},"o"),e=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],n=[1,26],r=[1,27],a=[1,28],i=[1,29],s=[1,30],k=[1,31],M=[1,32],T=[1,33],g=[1,34],F=[1,9],D=[1,10],b=[1,11],X=[1,12],O=[1,13],C=[1,14],I=[1,15],V=[1,16],W=[1,19],Z=[1,20],Q=[1,21],w=[1,22],H=[1,23],x=[1,25],Y=[1,35],_={trace:h(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:h(function(l,f,y,m,E,c,d){var o=c.length-1;switch(E){case 1:return c[o-1];case 2:this.$=[];break;case 3:c[o-1].push(c[o]),this.$=c[o-1];break;case 4:case 5:this.$=c[o];break;case 6:case 7:this.$=[];break;case 8:m.setWeekday("monday");break;case 9:m.setWeekday("tuesday");break;case 10:m.setWeekday("wednesday");break;case 11:m.setWeekday("thursday");break;case 12:m.setWeekday("friday");break;case 13:m.setWeekday("saturday");break;case 14:m.setWeekday("sunday");break;case 15:m.setWeekend("friday");break;case 16:m.setWeekend("saturday");break;case 17:m.setDateFormat(c[o].substr(11)),this.$=c[o].substr(11);break;case 18:m.enableInclusiveEndDates(),this.$=c[o].substr(18);break;case 19:m.TopAxis(),this.$=c[o].substr(8);break;case 20:m.setAxisFormat(c[o].substr(11)),this.$=c[o].substr(11);break;case 21:m.setTickInterval(c[o].substr(13)),this.$=c[o].substr(13);break;case 22:m.setExcludes(c[o].substr(9)),this.$=c[o].substr(9);break;case 23:m.setIncludes(c[o].substr(9)),this.$=c[o].substr(9);break;case 24:m.setTodayMarker(c[o].substr(12)),this.$=c[o].substr(12);break;case 27:m.setDiagramTitle(c[o].substr(6)),this.$=c[o].substr(6);break;case 28:this.$=c[o].trim(),m.setAccTitle(this.$);break;case 29:case 30:this.$=c[o].trim(),m.setAccDescription(this.$);break;case 31:m.addSection(c[o].substr(8)),this.$=c[o].substr(8);break;case 33:m.addTask(c[o-1],c[o]),this.$="task";break;case 34:this.$=c[o-1],m.setClickEvent(c[o-1],c[o],null);break;case 35:this.$=c[o-2],m.setClickEvent(c[o-2],c[o-1],c[o]);break;case 36:this.$=c[o-2],m.setClickEvent(c[o-2],c[o-1],null),m.setLink(c[o-2],c[o]);break;case 37:this.$=c[o-3],m.setClickEvent(c[o-3],c[o-2],c[o-1]),m.setLink(c[o-3],c[o]);break;case 38:this.$=c[o-2],m.setClickEvent(c[o-2],c[o],null),m.setLink(c[o-2],c[o-1]);break;case 39:this.$=c[o-3],m.setClickEvent(c[o-3],c[o-1],c[o]),m.setLink(c[o-3],c[o-2]);break;case 40:this.$=c[o-1],m.setLink(c[o-1],c[o]);break;case 41:case 47:this.$=c[o-1]+" "+c[o];break;case 42:case 43:case 45:this.$=c[o-2]+" "+c[o-1]+" "+c[o];break;case 44:case 46:this.$=c[o-3]+" "+c[o-2]+" "+c[o-1]+" "+c[o];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:n,13:r,14:a,15:i,16:s,17:k,18:M,19:18,20:T,21:g,22:F,23:D,24:b,25:X,26:O,27:C,28:I,29:V,30:W,31:Z,33:Q,35:w,36:H,37:24,38:x,40:Y},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:n,13:r,14:a,15:i,16:s,17:k,18:M,19:18,20:T,21:g,22:F,23:D,24:b,25:X,26:O,27:C,28:I,29:V,30:W,31:Z,33:Q,35:w,36:H,37:24,38:x,40:Y},t(e,[2,5]),t(e,[2,6]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),t(e,[2,27]),{32:[1,37]},{34:[1,38]},t(e,[2,30]),t(e,[2,31]),t(e,[2,32]),{39:[1,39]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),{41:[1,40],43:[1,41]},t(e,[2,4]),t(e,[2,28]),t(e,[2,29]),t(e,[2,33]),t(e,[2,34],{42:[1,42],43:[1,43]}),t(e,[2,40],{41:[1,44]}),t(e,[2,35],{43:[1,45]}),t(e,[2,36]),t(e,[2,38],{42:[1,46]}),t(e,[2,37]),t(e,[2,39])],defaultActions:{},parseError:h(function(l,f){if(f.recoverable)this.trace(l);else{var y=new Error(l);throw y.hash=f,y}},"parseError"),parse:h(function(l){var f=this,y=[0],m=[],E=[null],c=[],d=this.table,o="",P=0,z=0,R=2,$=1,G=c.slice.call(arguments,1),J=Object.create(this.lexer),it={yy:{}};for(var v in this.yy)Object.prototype.hasOwnProperty.call(this.yy,v)&&(it.yy[v]=this.yy[v]);J.setInput(l,it.yy),it.yy.lexer=J,it.yy.parser=this,typeof J.yylloc>"u"&&(J.yylloc={});var A=J.yylloc;c.push(A);var N=J.options&&J.options.ranges;typeof it.yy.parseError=="function"?this.parseError=it.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function u(ot){y.length=y.length-2*ot,E.length=E.length-ot,c.length=c.length-ot}h(u,"popStack");function K(){var ot;return ot=m.pop()||J.lex()||$,typeof ot!="number"&&(ot instanceof Array&&(m=ot,ot=m.pop()),ot=f.symbols_[ot]||ot),ot}h(K,"lex");for(var L,j,q,rt,st={},pt,lt,Ae,Bt;;){if(j=y[y.length-1],this.defaultActions[j]?q=this.defaultActions[j]:((L===null||typeof L>"u")&&(L=K()),q=d[j]&&d[j][L]),typeof q>"u"||!q.length||!q[0]){var ne="";Bt=[];for(pt in d[j])this.terminals_[pt]&&pt>R&&Bt.push("'"+this.terminals_[pt]+"'");J.showPosition?ne="Parse error on line "+(P+1)+`: `+J.showPosition()+` Expecting `+Bt.join(", ")+", got '"+(this.terminals_[L]||L)+"'":ne="Parse error on line "+(P+1)+": Unexpected "+(L==$?"end of input":"'"+(this.terminals_[L]||L)+"'"),this.parseError(ne,{text:J.match,token:this.terminals_[L]||L,line:J.yylineno,loc:A,expected:Bt})}if(q[0]instanceof Array&&q.length>1)throw new Error("Parse Error: multiple actions possible at state: "+j+", token: "+L);switch(q[0]){case 1:y.push(L),E.push(J.yytext),c.push(J.yylloc),y.push(q[1]),L=null,z=J.yyleng,o=J.yytext,P=J.yylineno,A=J.yylloc;break;case 2:if(lt=this.productions_[q[1]][1],st.$=E[E.length-lt],st._$={first_line:c[c.length-(lt||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(lt||1)].first_column,last_column:c[c.length-1].last_column},N&&(st._$.range=[c[c.length-(lt||1)].range[0],c[c.length-1].range[1]]),rt=this.performAction.apply(st,[o,z,P,it.yy,q[1],E,c].concat(G)),typeof rt<"u")return rt;lt&&(y=y.slice(0,-1*lt*2),E=E.slice(0,-1*lt),c=c.slice(0,-1*lt)),y.push(this.productions_[q[1]][0]),E.push(st.$),c.push(st._$),Ae=d[y[y.length-2]][y[y.length-1]],y.push(Ae);break;case 3:return!0}}return!0},"parse")},S=function(){var U={EOF:1,parseError:h(function(f,y){if(this.yy.parser)this.yy.parser.parseError(f,y);else throw new Error(f)},"parseError"),setInput:h(function(l,f){return this.yy=f||this.yy||{},this._input=l,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:h(function(){var l=this._input[0];this.yytext+=l,this.yyleng++,this.offset++,this.match+=l,this.matched+=l;var f=l.match(/(?:\r\n?|\n).*/g);return f?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),l},"input"),unput:h(function(l){var f=l.length,y=l.split(/(?:\r\n?|\n)/g);this._input=l+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-f),this.offset-=f;var m=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),y.length-1&&(this.yylineno-=y.length-1);var E=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:y?(y.length===m.length?this.yylloc.first_column:0)+m[m.length-y.length].length-y[0].length:this.yylloc.first_column-f},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-f]),this.yyleng=this.yytext.length,this},"unput"),more:h(function(){return this._more=!0,this},"more"),reject:h(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:h(function(l){this.unput(this.match.slice(l))},"less"),pastInput:h(function(){var l=this.matched.substr(0,this.matched.length-this.match.length);return(l.length>20?"...":"")+l.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:h(function(){var l=this.match;return l.length<20&&(l+=this._input.substr(0,20-l.length)),(l.substr(0,20)+(l.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:h(function(){var l=this.pastInput(),f=new Array(l.length+1).join("-");return l+this.upcomingInput()+` diff --git a/assets/gitGraph-YCYPL57B-DANCyTsA.js b/assets/gitGraph-YCYPL57B-Bmt_-sZ3.js similarity index 84% rename from assets/gitGraph-YCYPL57B-DANCyTsA.js rename to assets/gitGraph-YCYPL57B-Bmt_-sZ3.js index dce5ca4..1e75400 100644 --- a/assets/gitGraph-YCYPL57B-DANCyTsA.js +++ b/assets/gitGraph-YCYPL57B-Bmt_-sZ3.js @@ -1,4 +1,4 @@ -var Gc=Object.defineProperty;var Uc=(n,e,t)=>e in n?Gc(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var Je=(n,e,t)=>Uc(n,typeof e!="symbol"?e+"":e,t);import{bs as Fc,bt as Bc,aT as ao,bu as Hc,aG as Mt,bn as Vc,aU as Kt,aW as Z,b4 as Wc,b5 as Kc,aB as zc,aD as Qi,aC as oo,bj as qc,bv as lo,bw as co,bx as Zi,bl as Yc,aX as Xc,by as Jc,bz as Qc,b0 as Zc,bA as eu,bo as Ie,aF as mt,aA as ze,aH as D,ah as te,aZ as es,bB as tu,bC as tn}from"./index-DqL3MUN2.js";import{g as vi,m as b,f as Dt,e as _i,l as jt,d as nu}from"./min-CjiScnR7.js";import{c as Ei,g as ru,v as K,i as uo,j as iu,b as fo,a as S,h as x,r as oe,f as Ee,n as q}from"./_baseUniq-B1Flybha.js";var su=Object.prototype,au=su.hasOwnProperty,_e=Fc(function(n,e){if(Bc(e)||ao(e)){Hc(e,Mt(e),n);return}for(var t in e)au.call(e,t)&&Vc(n,t,e[t])});function ho(n,e,t){var r=-1,i=n.length;e<0&&(e=-e>i?0:i+e),t=t>i?i:t,t<0&&(t+=i),i=e>t?0:t-e>>>0,e>>>=0;for(var s=Array(i);++r=uu&&(s=Kc,a=!1,e=new Wc(e));e:for(;++i-1:!!i&&uo(n,e,t)>-1}function ts(n,e,t){var r=n==null?0:n.length;if(!r)return-1;var i=0;return uo(n,e,i)}var vu="[object RegExp]";function _u(n){return lo(n)&&co(n)==vu}var ns=Zi&&Zi.isRegExp,qe=ns?Yc(ns):_u,Eu="Expected a function";function Ru(n){if(typeof n!="function")throw new TypeError(Eu);return function(){var e=arguments;switch(e.length){case 0:return!n.call(this);case 1:return!n.call(this,e[0]);case 2:return!n.call(this,e[0],e[1]);case 3:return!n.call(this,e[0],e[1],e[2])}return!n.apply(this,e)}}function Pe(n,e){if(n==null)return{};var t=Xc(Jc(n),function(r){return[r]});return e=Kt(e),Qc(n,t,function(r,i){return e(r,i[0])})}function rr(n,e){var t=Z(n)?Zc:iu;return t(n,Ru(Kt(e)))}function Au(n,e){var t;return Ei(n,function(r,i,s){return t=e(r,i,s),!t}),!!t}function po(n,e,t){var r=Z(n)?eu:Au;return r(n,Kt(e))}function Ri(n){return n&&n.length?fo(n):[]}function bu(n,e){return n&&n.length?fo(n,Kt(e)):[]}function ae(n){return typeof n=="object"&&n!==null&&typeof n.$type=="string"}function Ge(n){return typeof n=="object"&&n!==null&&typeof n.$refText=="string"}function Nu(n){return typeof n=="object"&&n!==null&&typeof n.name=="string"&&typeof n.type=="string"&&typeof n.path=="string"}function kn(n){return typeof n=="object"&&n!==null&&ae(n.container)&&Ge(n.reference)&&typeof n.message=="string"}class mo{constructor(){this.subtypes={},this.allSubtypes={}}isInstance(e,t){return ae(e)&&this.isSubtype(e.$type,t)}isSubtype(e,t){if(e===t)return!0;let r=this.subtypes[e];r||(r=this.subtypes[e]={});const i=r[t];if(i!==void 0)return i;{const s=this.computeIsSubtype(e,t);return r[t]=s,s}}getAllSubTypes(e){const t=this.allSubtypes[e];if(t)return t;{const r=this.getAllTypes(),i=[];for(const s of r)this.isSubtype(s,e)&&i.push(s);return this.allSubtypes[e]=i,i}}}function Gt(n){return typeof n=="object"&&n!==null&&Array.isArray(n.content)}function go(n){return typeof n=="object"&&n!==null&&typeof n.tokenType=="object"}function yo(n){return Gt(n)&&typeof n.fullText=="string"}class ie{constructor(e,t){this.startFn=e,this.nextFn=t}iterator(){const e={state:this.startFn(),next:()=>this.nextFn(e.state),[Symbol.iterator]:()=>e};return e}[Symbol.iterator](){return this.iterator()}isEmpty(){return!!this.iterator().next().done}count(){const e=this.iterator();let t=0,r=e.next();for(;!r.done;)t++,r=e.next();return t}toArray(){const e=[],t=this.iterator();let r;do r=t.next(),r.value!==void 0&&e.push(r.value);while(!r.done);return e}toSet(){return new Set(this)}toMap(e,t){const r=this.map(i=>[e?e(i):i,t?t(i):i]);return new Map(r)}toString(){return this.join()}concat(e){const t=e[Symbol.iterator]();return new ie(()=>({first:this.startFn(),firstDone:!1}),r=>{let i;if(!r.firstDone){do if(i=this.nextFn(r.first),!i.done)return i;while(!i.done);r.firstDone=!0}do if(i=t.next(),!i.done)return i;while(!i.done);return ke})}join(e=","){const t=this.iterator();let r="",i,s=!1;do i=t.next(),i.done||(s&&(r+=e),r+=ku(i.value)),s=!0;while(!i.done);return r}indexOf(e,t=0){const r=this.iterator();let i=0,s=r.next();for(;!s.done;){if(i>=t&&s.value===e)return i;s=r.next(),i++}return-1}every(e){const t=this.iterator();let r=t.next();for(;!r.done;){if(!e(r.value))return!1;r=t.next()}return!0}some(e){const t=this.iterator();let r=t.next();for(;!r.done;){if(e(r.value))return!0;r=t.next()}return!1}forEach(e){const t=this.iterator();let r=0,i=t.next();for(;!i.done;)e(i.value,r),i=t.next(),r++}map(e){return new ie(this.startFn,t=>{const{done:r,value:i}=this.nextFn(t);return r?ke:{done:!1,value:e(i)}})}filter(e){return new ie(this.startFn,t=>{let r;do if(r=this.nextFn(t),!r.done&&e(r.value))return r;while(!r.done);return ke})}nonNullable(){return this.filter(e=>e!=null)}reduce(e,t){const r=this.iterator();let i=t,s=r.next();for(;!s.done;)i===void 0?i=s.value:i=e(i,s.value),s=r.next();return i}reduceRight(e,t){return this.recursiveReduce(this.iterator(),e,t)}recursiveReduce(e,t,r){const i=e.next();if(i.done)return r;const s=this.recursiveReduce(e,t,r);return s===void 0?i.value:t(s,i.value)}find(e){const t=this.iterator();let r=t.next();for(;!r.done;){if(e(r.value))return r.value;r=t.next()}}findIndex(e){const t=this.iterator();let r=0,i=t.next();for(;!i.done;){if(e(i.value))return r;i=t.next(),r++}return-1}includes(e){const t=this.iterator();let r=t.next();for(;!r.done;){if(r.value===e)return!0;r=t.next()}return!1}flatMap(e){return new ie(()=>({this:this.startFn()}),t=>{do{if(t.iterator){const s=t.iterator.next();if(s.done)t.iterator=void 0;else return s}const{done:r,value:i}=this.nextFn(t.this);if(!r){const s=e(i);if(On(s))t.iterator=s[Symbol.iterator]();else return{done:!1,value:s}}}while(t.iterator);return ke})}flat(e){if(e===void 0&&(e=1),e<=0)return this;const t=e>1?this.flat(e-1):this;return new ie(()=>({this:t.startFn()}),r=>{do{if(r.iterator){const a=r.iterator.next();if(a.done)r.iterator=void 0;else return a}const{done:i,value:s}=t.nextFn(r.this);if(!i)if(On(s))r.iterator=s[Symbol.iterator]();else return{done:!1,value:s}}while(r.iterator);return ke})}head(){const t=this.iterator().next();if(!t.done)return t.value}tail(e=1){return new ie(()=>{const t=this.startFn();for(let r=0;r({size:0,state:this.startFn()}),t=>(t.size++,t.size>e?ke:this.nextFn(t.state)))}distinct(e){const t=new Set;return this.filter(r=>{const i=e?e(r):r;return t.has(i)?!1:(t.add(i),!0)})}exclude(e,t){const r=new Set;for(const i of e){const s=t?t(i):i;r.add(s)}return this.filter(i=>{const s=t?t(i):i;return!r.has(s)})}}function ku(n){return typeof n=="string"?n:typeof n>"u"?"undefined":typeof n.toString=="function"?n.toString():Object.prototype.toString.call(n)}function On(n){return!!n&&typeof n[Symbol.iterator]=="function"}const Iu=new ie(()=>{},()=>ke),ke=Object.freeze({done:!0,value:void 0});function Q(...n){if(n.length===1){const e=n[0];if(e instanceof ie)return e;if(On(e))return new ie(()=>e[Symbol.iterator](),t=>t.next());if(typeof e.length=="number")return new ie(()=>({index:0}),t=>t.index1?new ie(()=>({collIndex:0,arrIndex:0}),e=>{do{if(e.iterator){const t=e.iterator.next();if(!t.done)return t;e.iterator=void 0}if(e.array){if(e.arrIndex({iterators:r!=null&&r.includeRoot?[[e][Symbol.iterator]()]:[t(e)[Symbol.iterator]()],pruned:!1}),i=>{for(i.pruned&&(i.iterators.pop(),i.pruned=!1);i.iterators.length>0;){const a=i.iterators[i.iterators.length-1].next();if(a.done)i.iterators.pop();else return i.iterators.push(t(a.value)[Symbol.iterator]()),a}return ke})}iterator(){const e={state:this.startFn(),next:()=>this.nextFn(e.state),prune:()=>{e.state.pruned=!0},[Symbol.iterator]:()=>e};return e}}var Pr;(function(n){function e(s){return s.reduce((a,o)=>a+o,0)}n.sum=e;function t(s){return s.reduce((a,o)=>a*o,0)}n.product=t;function r(s){return s.reduce((a,o)=>Math.min(a,o))}n.min=r;function i(s){return s.reduce((a,o)=>Math.max(a,o))}n.max=i})(Pr||(Pr={}));function Mr(n){return new Ai(n,e=>Gt(e)?e.content:[],{includeRoot:!0})}function Su(n,e){for(;n.container;)if(n=n.container,n===e)return!0;return!1}function Dr(n){return{start:{character:n.startColumn-1,line:n.startLine-1},end:{character:n.endColumn,line:n.endLine-1}}}function Ln(n){if(!n)return;const{offset:e,end:t,range:r}=n;return{range:r,offset:e,end:t,length:t-e}}var Ze;(function(n){n[n.Before=0]="Before",n[n.After=1]="After",n[n.OverlapFront=2]="OverlapFront",n[n.OverlapBack=3]="OverlapBack",n[n.Inside=4]="Inside"})(Ze||(Ze={}));function xu(n,e){if(n.end.linee.end.line||n.start.line===e.end.line&&n.start.character>e.end.character)return Ze.After;const t=n.start.line>e.start.line||n.start.line===e.start.line&&n.start.character>=e.start.character,r=n.end.lineZe.After}const wu=/^[\w\p{L}]$/u;function Ou(n,e){if(n){const t=Lu(n,!0);if(t&&rs(t,e))return t;if(yo(n)){const r=n.content.findIndex(i=>!i.hidden);for(let i=r-1;i>=0;i--){const s=n.content[i];if(rs(s,e))return s}}}}function rs(n,e){return go(n)&&e.includes(n.tokenType.name)}function Lu(n,e=!0){for(;n.container;){const t=n.container;let r=t.content.indexOf(n);for(;r>0;){r--;const i=t.content[r];if(e||!i.hidden)return i}n=t}}class To extends Error{constructor(e,t){super(e?`${t} at ${e.range.start.line}:${e.range.start.character}`:t)}}function ir(n){throw new Error("Error! The input value was not handled.")}const _r="AbstractRule",Er="AbstractType",is="Condition",$u="TypeDefinition",ss="ValueLiteral",vo="AbstractElement";function Pu(n){return M.isInstance(n,vo)}const Mu="ArrayLiteral",Du="ArrayType",_o="BooleanLiteral";function ju(n){return M.isInstance(n,_o)}const Eo="Conjunction";function Gu(n){return M.isInstance(n,Eo)}const Ro="Disjunction";function Uu(n){return M.isInstance(n,Ro)}const Fu="Grammar",Ao="InferredType";function bo(n){return M.isInstance(n,Ao)}const No="Interface";function ko(n){return M.isInstance(n,No)}const Io="Negation";function Bu(n){return M.isInstance(n,Io)}const Hu="NumberLiteral",Vu="Parameter",So="ParameterReference";function Wu(n){return M.isInstance(n,So)}const xo="ParserRule";function Se(n){return M.isInstance(n,xo)}const Ku="ReferenceType",zu="ReturnType";function qu(n){return M.isInstance(n,zu)}const Co="SimpleType";function Yu(n){return M.isInstance(n,Co)}const Xu="StringLiteral",jr="TerminalRule";function gt(n){return M.isInstance(n,jr)}const wo="Type";function Oo(n){return M.isInstance(n,wo)}const Ju="UnionType",Lo="Action";function sr(n){return M.isInstance(n,Lo)}const $o="Alternatives";function Po(n){return M.isInstance(n,$o)}const Mo="Assignment";function ut(n){return M.isInstance(n,Mo)}const Do="CharacterRange";function Qu(n){return M.isInstance(n,Do)}const jo="CrossReference";function bi(n){return M.isInstance(n,jo)}const Go="EndOfFile";function Zu(n){return M.isInstance(n,Go)}const Uo="Group";function Ni(n){return M.isInstance(n,Uo)}const Fo="Keyword";function dt(n){return M.isInstance(n,Fo)}const Bo="NegatedToken";function ed(n){return M.isInstance(n,Bo)}const Ho="RegexToken";function td(n){return M.isInstance(n,Ho)}const Vo="RuleCall";function ft(n){return M.isInstance(n,Vo)}const Wo="TerminalAlternatives";function nd(n){return M.isInstance(n,Wo)}const Ko="TerminalGroup";function rd(n){return M.isInstance(n,Ko)}const zo="TerminalRuleCall";function id(n){return M.isInstance(n,zo)}const qo="UnorderedGroup";function Yo(n){return M.isInstance(n,qo)}const Xo="UntilToken";function sd(n){return M.isInstance(n,Xo)}const Jo="Wildcard";function ad(n){return M.isInstance(n,Jo)}class Qo extends mo{getAllTypes(){return["AbstractElement","AbstractRule","AbstractType","Action","Alternatives","ArrayLiteral","ArrayType","Assignment","BooleanLiteral","CharacterRange","Condition","Conjunction","CrossReference","Disjunction","EndOfFile","Grammar","GrammarImport","Group","InferredType","Interface","Keyword","NamedArgument","NegatedToken","Negation","NumberLiteral","Parameter","ParameterReference","ParserRule","ReferenceType","RegexToken","ReturnType","RuleCall","SimpleType","StringLiteral","TerminalAlternatives","TerminalGroup","TerminalRule","TerminalRuleCall","Type","TypeAttribute","TypeDefinition","UnionType","UnorderedGroup","UntilToken","ValueLiteral","Wildcard"]}computeIsSubtype(e,t){switch(e){case Lo:case $o:case Mo:case Do:case jo:case Go:case Uo:case Fo:case Bo:case Ho:case Vo:case Wo:case Ko:case zo:case qo:case Xo:case Jo:return this.isSubtype(vo,t);case Mu:case Hu:case Xu:return this.isSubtype(ss,t);case Du:case Ku:case Co:case Ju:return this.isSubtype($u,t);case _o:return this.isSubtype(is,t)||this.isSubtype(ss,t);case Eo:case Ro:case Io:case So:return this.isSubtype(is,t);case Ao:case No:case wo:return this.isSubtype(Er,t);case xo:return this.isSubtype(_r,t)||this.isSubtype(Er,t);case jr:return this.isSubtype(_r,t);default:return!1}}getReferenceType(e){const t=`${e.container.$type}:${e.property}`;switch(t){case"Action:type":case"CrossReference:type":case"Interface:superTypes":case"ParserRule:returnType":case"SimpleType:typeRef":return Er;case"Grammar:hiddenTokens":case"ParserRule:hiddenTokens":case"RuleCall:rule":return _r;case"Grammar:usedGrammars":return Fu;case"NamedArgument:parameter":case"ParameterReference:parameter":return Vu;case"TerminalRuleCall:rule":return jr;default:throw new Error(`${t} is not a valid reference id.`)}}getTypeMetaData(e){switch(e){case"AbstractElement":return{name:"AbstractElement",properties:[{name:"cardinality"},{name:"lookahead"}]};case"ArrayLiteral":return{name:"ArrayLiteral",properties:[{name:"elements",defaultValue:[]}]};case"ArrayType":return{name:"ArrayType",properties:[{name:"elementType"}]};case"BooleanLiteral":return{name:"BooleanLiteral",properties:[{name:"true",defaultValue:!1}]};case"Conjunction":return{name:"Conjunction",properties:[{name:"left"},{name:"right"}]};case"Disjunction":return{name:"Disjunction",properties:[{name:"left"},{name:"right"}]};case"Grammar":return{name:"Grammar",properties:[{name:"definesHiddenTokens",defaultValue:!1},{name:"hiddenTokens",defaultValue:[]},{name:"imports",defaultValue:[]},{name:"interfaces",defaultValue:[]},{name:"isDeclared",defaultValue:!1},{name:"name"},{name:"rules",defaultValue:[]},{name:"types",defaultValue:[]},{name:"usedGrammars",defaultValue:[]}]};case"GrammarImport":return{name:"GrammarImport",properties:[{name:"path"}]};case"InferredType":return{name:"InferredType",properties:[{name:"name"}]};case"Interface":return{name:"Interface",properties:[{name:"attributes",defaultValue:[]},{name:"name"},{name:"superTypes",defaultValue:[]}]};case"NamedArgument":return{name:"NamedArgument",properties:[{name:"calledByName",defaultValue:!1},{name:"parameter"},{name:"value"}]};case"Negation":return{name:"Negation",properties:[{name:"value"}]};case"NumberLiteral":return{name:"NumberLiteral",properties:[{name:"value"}]};case"Parameter":return{name:"Parameter",properties:[{name:"name"}]};case"ParameterReference":return{name:"ParameterReference",properties:[{name:"parameter"}]};case"ParserRule":return{name:"ParserRule",properties:[{name:"dataType"},{name:"definesHiddenTokens",defaultValue:!1},{name:"definition"},{name:"entry",defaultValue:!1},{name:"fragment",defaultValue:!1},{name:"hiddenTokens",defaultValue:[]},{name:"inferredType"},{name:"name"},{name:"parameters",defaultValue:[]},{name:"returnType"},{name:"wildcard",defaultValue:!1}]};case"ReferenceType":return{name:"ReferenceType",properties:[{name:"referenceType"}]};case"ReturnType":return{name:"ReturnType",properties:[{name:"name"}]};case"SimpleType":return{name:"SimpleType",properties:[{name:"primitiveType"},{name:"stringType"},{name:"typeRef"}]};case"StringLiteral":return{name:"StringLiteral",properties:[{name:"value"}]};case"TerminalRule":return{name:"TerminalRule",properties:[{name:"definition"},{name:"fragment",defaultValue:!1},{name:"hidden",defaultValue:!1},{name:"name"},{name:"type"}]};case"Type":return{name:"Type",properties:[{name:"name"},{name:"type"}]};case"TypeAttribute":return{name:"TypeAttribute",properties:[{name:"defaultValue"},{name:"isOptional",defaultValue:!1},{name:"name"},{name:"type"}]};case"UnionType":return{name:"UnionType",properties:[{name:"types",defaultValue:[]}]};case"Action":return{name:"Action",properties:[{name:"cardinality"},{name:"feature"},{name:"inferredType"},{name:"lookahead"},{name:"operator"},{name:"type"}]};case"Alternatives":return{name:"Alternatives",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"Assignment":return{name:"Assignment",properties:[{name:"cardinality"},{name:"feature"},{name:"lookahead"},{name:"operator"},{name:"terminal"}]};case"CharacterRange":return{name:"CharacterRange",properties:[{name:"cardinality"},{name:"left"},{name:"lookahead"},{name:"right"}]};case"CrossReference":return{name:"CrossReference",properties:[{name:"cardinality"},{name:"deprecatedSyntax",defaultValue:!1},{name:"lookahead"},{name:"terminal"},{name:"type"}]};case"EndOfFile":return{name:"EndOfFile",properties:[{name:"cardinality"},{name:"lookahead"}]};case"Group":return{name:"Group",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"guardCondition"},{name:"lookahead"}]};case"Keyword":return{name:"Keyword",properties:[{name:"cardinality"},{name:"lookahead"},{name:"value"}]};case"NegatedToken":return{name:"NegatedToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"terminal"}]};case"RegexToken":return{name:"RegexToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"regex"}]};case"RuleCall":return{name:"RuleCall",properties:[{name:"arguments",defaultValue:[]},{name:"cardinality"},{name:"lookahead"},{name:"rule"}]};case"TerminalAlternatives":return{name:"TerminalAlternatives",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"TerminalGroup":return{name:"TerminalGroup",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"TerminalRuleCall":return{name:"TerminalRuleCall",properties:[{name:"cardinality"},{name:"lookahead"},{name:"rule"}]};case"UnorderedGroup":return{name:"UnorderedGroup",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"UntilToken":return{name:"UntilToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"terminal"}]};case"Wildcard":return{name:"Wildcard",properties:[{name:"cardinality"},{name:"lookahead"}]};default:return{name:e,properties:[]}}}}const M=new Qo;function od(n){for(const[e,t]of Object.entries(n))e.startsWith("$")||(Array.isArray(t)?t.forEach((r,i)=>{ae(r)&&(r.$container=n,r.$containerProperty=e,r.$containerIndex=i)}):ae(t)&&(t.$container=n,t.$containerProperty=e))}function ar(n,e){let t=n;for(;t;){if(e(t))return t;t=t.$container}}function Ue(n){const t=ld(n).$document;if(!t)throw new Error("AST node has no document.");return t}function ld(n){for(;n.$container;)n=n.$container;return n}function ki(n,e){if(!n)throw new Error("Node must be an AstNode.");const t=e==null?void 0:e.range;return new ie(()=>({keys:Object.keys(n),keyIndex:0,arrayIndex:0}),r=>{for(;r.keyIndexki(t,e))}function Et(n,e){if(!n)throw new Error("Root node must be an AstNode.");return new Ai(n,t=>ki(t,e),{includeRoot:!0})}function as(n,e){var t;if(!e)return!0;const r=(t=n.$cstNode)===null||t===void 0?void 0:t.range;return r?Cu(r,e):!1}function Zo(n){return new ie(()=>({keys:Object.keys(n),keyIndex:0,arrayIndex:0}),e=>{for(;e.keyIndexe in n?Gc(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var Je=(n,e,t)=>Uc(n,typeof e!="symbol"?e+"":e,t);import{bs as Fc,bt as Bc,aT as ao,bu as Hc,aG as Mt,bn as Vc,aU as Kt,aW as Z,b4 as Wc,b5 as Kc,aB as zc,aD as Qi,aC as oo,bj as qc,bv as lo,bw as co,bx as Zi,bl as Yc,aX as Xc,by as Jc,bz as Qc,b0 as Zc,bA as eu,bo as Ie,aF as mt,aA as ze,aH as D,ah as te,aZ as es,bB as tu,bC as tn}from"./index-BmyXM-jo.js";import{g as vi,m as b,f as Dt,e as _i,l as jt,d as nu}from"./min-CuKIA37g.js";import{c as Ei,g as ru,v as K,i as uo,j as iu,b as fo,a as S,h as x,r as oe,f as Ee,n as q}from"./_baseUniq-BdggiAxO.js";var su=Object.prototype,au=su.hasOwnProperty,_e=Fc(function(n,e){if(Bc(e)||ao(e)){Hc(e,Mt(e),n);return}for(var t in e)au.call(e,t)&&Vc(n,t,e[t])});function ho(n,e,t){var r=-1,i=n.length;e<0&&(e=-e>i?0:i+e),t=t>i?i:t,t<0&&(t+=i),i=e>t?0:t-e>>>0,e>>>=0;for(var s=Array(i);++r=uu&&(s=Kc,a=!1,e=new Wc(e));e:for(;++i-1:!!i&&uo(n,e,t)>-1}function ts(n,e,t){var r=n==null?0:n.length;if(!r)return-1;var i=0;return uo(n,e,i)}var vu="[object RegExp]";function _u(n){return lo(n)&&co(n)==vu}var ns=Zi&&Zi.isRegExp,qe=ns?Yc(ns):_u,Eu="Expected a function";function Ru(n){if(typeof n!="function")throw new TypeError(Eu);return function(){var e=arguments;switch(e.length){case 0:return!n.call(this);case 1:return!n.call(this,e[0]);case 2:return!n.call(this,e[0],e[1]);case 3:return!n.call(this,e[0],e[1],e[2])}return!n.apply(this,e)}}function Pe(n,e){if(n==null)return{};var t=Xc(Jc(n),function(r){return[r]});return e=Kt(e),Qc(n,t,function(r,i){return e(r,i[0])})}function rr(n,e){var t=Z(n)?Zc:iu;return t(n,Ru(Kt(e)))}function Au(n,e){var t;return Ei(n,function(r,i,s){return t=e(r,i,s),!t}),!!t}function po(n,e,t){var r=Z(n)?eu:Au;return r(n,Kt(e))}function Ri(n){return n&&n.length?fo(n):[]}function bu(n,e){return n&&n.length?fo(n,Kt(e)):[]}function ae(n){return typeof n=="object"&&n!==null&&typeof n.$type=="string"}function Ge(n){return typeof n=="object"&&n!==null&&typeof n.$refText=="string"}function Nu(n){return typeof n=="object"&&n!==null&&typeof n.name=="string"&&typeof n.type=="string"&&typeof n.path=="string"}function kn(n){return typeof n=="object"&&n!==null&&ae(n.container)&&Ge(n.reference)&&typeof n.message=="string"}class mo{constructor(){this.subtypes={},this.allSubtypes={}}isInstance(e,t){return ae(e)&&this.isSubtype(e.$type,t)}isSubtype(e,t){if(e===t)return!0;let r=this.subtypes[e];r||(r=this.subtypes[e]={});const i=r[t];if(i!==void 0)return i;{const s=this.computeIsSubtype(e,t);return r[t]=s,s}}getAllSubTypes(e){const t=this.allSubtypes[e];if(t)return t;{const r=this.getAllTypes(),i=[];for(const s of r)this.isSubtype(s,e)&&i.push(s);return this.allSubtypes[e]=i,i}}}function Gt(n){return typeof n=="object"&&n!==null&&Array.isArray(n.content)}function go(n){return typeof n=="object"&&n!==null&&typeof n.tokenType=="object"}function yo(n){return Gt(n)&&typeof n.fullText=="string"}class ie{constructor(e,t){this.startFn=e,this.nextFn=t}iterator(){const e={state:this.startFn(),next:()=>this.nextFn(e.state),[Symbol.iterator]:()=>e};return e}[Symbol.iterator](){return this.iterator()}isEmpty(){return!!this.iterator().next().done}count(){const e=this.iterator();let t=0,r=e.next();for(;!r.done;)t++,r=e.next();return t}toArray(){const e=[],t=this.iterator();let r;do r=t.next(),r.value!==void 0&&e.push(r.value);while(!r.done);return e}toSet(){return new Set(this)}toMap(e,t){const r=this.map(i=>[e?e(i):i,t?t(i):i]);return new Map(r)}toString(){return this.join()}concat(e){const t=e[Symbol.iterator]();return new ie(()=>({first:this.startFn(),firstDone:!1}),r=>{let i;if(!r.firstDone){do if(i=this.nextFn(r.first),!i.done)return i;while(!i.done);r.firstDone=!0}do if(i=t.next(),!i.done)return i;while(!i.done);return ke})}join(e=","){const t=this.iterator();let r="",i,s=!1;do i=t.next(),i.done||(s&&(r+=e),r+=ku(i.value)),s=!0;while(!i.done);return r}indexOf(e,t=0){const r=this.iterator();let i=0,s=r.next();for(;!s.done;){if(i>=t&&s.value===e)return i;s=r.next(),i++}return-1}every(e){const t=this.iterator();let r=t.next();for(;!r.done;){if(!e(r.value))return!1;r=t.next()}return!0}some(e){const t=this.iterator();let r=t.next();for(;!r.done;){if(e(r.value))return!0;r=t.next()}return!1}forEach(e){const t=this.iterator();let r=0,i=t.next();for(;!i.done;)e(i.value,r),i=t.next(),r++}map(e){return new ie(this.startFn,t=>{const{done:r,value:i}=this.nextFn(t);return r?ke:{done:!1,value:e(i)}})}filter(e){return new ie(this.startFn,t=>{let r;do if(r=this.nextFn(t),!r.done&&e(r.value))return r;while(!r.done);return ke})}nonNullable(){return this.filter(e=>e!=null)}reduce(e,t){const r=this.iterator();let i=t,s=r.next();for(;!s.done;)i===void 0?i=s.value:i=e(i,s.value),s=r.next();return i}reduceRight(e,t){return this.recursiveReduce(this.iterator(),e,t)}recursiveReduce(e,t,r){const i=e.next();if(i.done)return r;const s=this.recursiveReduce(e,t,r);return s===void 0?i.value:t(s,i.value)}find(e){const t=this.iterator();let r=t.next();for(;!r.done;){if(e(r.value))return r.value;r=t.next()}}findIndex(e){const t=this.iterator();let r=0,i=t.next();for(;!i.done;){if(e(i.value))return r;i=t.next(),r++}return-1}includes(e){const t=this.iterator();let r=t.next();for(;!r.done;){if(r.value===e)return!0;r=t.next()}return!1}flatMap(e){return new ie(()=>({this:this.startFn()}),t=>{do{if(t.iterator){const s=t.iterator.next();if(s.done)t.iterator=void 0;else return s}const{done:r,value:i}=this.nextFn(t.this);if(!r){const s=e(i);if(On(s))t.iterator=s[Symbol.iterator]();else return{done:!1,value:s}}}while(t.iterator);return ke})}flat(e){if(e===void 0&&(e=1),e<=0)return this;const t=e>1?this.flat(e-1):this;return new ie(()=>({this:t.startFn()}),r=>{do{if(r.iterator){const a=r.iterator.next();if(a.done)r.iterator=void 0;else return a}const{done:i,value:s}=t.nextFn(r.this);if(!i)if(On(s))r.iterator=s[Symbol.iterator]();else return{done:!1,value:s}}while(r.iterator);return ke})}head(){const t=this.iterator().next();if(!t.done)return t.value}tail(e=1){return new ie(()=>{const t=this.startFn();for(let r=0;r({size:0,state:this.startFn()}),t=>(t.size++,t.size>e?ke:this.nextFn(t.state)))}distinct(e){const t=new Set;return this.filter(r=>{const i=e?e(r):r;return t.has(i)?!1:(t.add(i),!0)})}exclude(e,t){const r=new Set;for(const i of e){const s=t?t(i):i;r.add(s)}return this.filter(i=>{const s=t?t(i):i;return!r.has(s)})}}function ku(n){return typeof n=="string"?n:typeof n>"u"?"undefined":typeof n.toString=="function"?n.toString():Object.prototype.toString.call(n)}function On(n){return!!n&&typeof n[Symbol.iterator]=="function"}const Iu=new ie(()=>{},()=>ke),ke=Object.freeze({done:!0,value:void 0});function Q(...n){if(n.length===1){const e=n[0];if(e instanceof ie)return e;if(On(e))return new ie(()=>e[Symbol.iterator](),t=>t.next());if(typeof e.length=="number")return new ie(()=>({index:0}),t=>t.index1?new ie(()=>({collIndex:0,arrIndex:0}),e=>{do{if(e.iterator){const t=e.iterator.next();if(!t.done)return t;e.iterator=void 0}if(e.array){if(e.arrIndex({iterators:r!=null&&r.includeRoot?[[e][Symbol.iterator]()]:[t(e)[Symbol.iterator]()],pruned:!1}),i=>{for(i.pruned&&(i.iterators.pop(),i.pruned=!1);i.iterators.length>0;){const a=i.iterators[i.iterators.length-1].next();if(a.done)i.iterators.pop();else return i.iterators.push(t(a.value)[Symbol.iterator]()),a}return ke})}iterator(){const e={state:this.startFn(),next:()=>this.nextFn(e.state),prune:()=>{e.state.pruned=!0},[Symbol.iterator]:()=>e};return e}}var Pr;(function(n){function e(s){return s.reduce((a,o)=>a+o,0)}n.sum=e;function t(s){return s.reduce((a,o)=>a*o,0)}n.product=t;function r(s){return s.reduce((a,o)=>Math.min(a,o))}n.min=r;function i(s){return s.reduce((a,o)=>Math.max(a,o))}n.max=i})(Pr||(Pr={}));function Mr(n){return new Ai(n,e=>Gt(e)?e.content:[],{includeRoot:!0})}function Su(n,e){for(;n.container;)if(n=n.container,n===e)return!0;return!1}function Dr(n){return{start:{character:n.startColumn-1,line:n.startLine-1},end:{character:n.endColumn,line:n.endLine-1}}}function Ln(n){if(!n)return;const{offset:e,end:t,range:r}=n;return{range:r,offset:e,end:t,length:t-e}}var Ze;(function(n){n[n.Before=0]="Before",n[n.After=1]="After",n[n.OverlapFront=2]="OverlapFront",n[n.OverlapBack=3]="OverlapBack",n[n.Inside=4]="Inside"})(Ze||(Ze={}));function xu(n,e){if(n.end.linee.end.line||n.start.line===e.end.line&&n.start.character>e.end.character)return Ze.After;const t=n.start.line>e.start.line||n.start.line===e.start.line&&n.start.character>=e.start.character,r=n.end.lineZe.After}const wu=/^[\w\p{L}]$/u;function Ou(n,e){if(n){const t=Lu(n,!0);if(t&&rs(t,e))return t;if(yo(n)){const r=n.content.findIndex(i=>!i.hidden);for(let i=r-1;i>=0;i--){const s=n.content[i];if(rs(s,e))return s}}}}function rs(n,e){return go(n)&&e.includes(n.tokenType.name)}function Lu(n,e=!0){for(;n.container;){const t=n.container;let r=t.content.indexOf(n);for(;r>0;){r--;const i=t.content[r];if(e||!i.hidden)return i}n=t}}class To extends Error{constructor(e,t){super(e?`${t} at ${e.range.start.line}:${e.range.start.character}`:t)}}function ir(n){throw new Error("Error! The input value was not handled.")}const _r="AbstractRule",Er="AbstractType",is="Condition",$u="TypeDefinition",ss="ValueLiteral",vo="AbstractElement";function Pu(n){return M.isInstance(n,vo)}const Mu="ArrayLiteral",Du="ArrayType",_o="BooleanLiteral";function ju(n){return M.isInstance(n,_o)}const Eo="Conjunction";function Gu(n){return M.isInstance(n,Eo)}const Ro="Disjunction";function Uu(n){return M.isInstance(n,Ro)}const Fu="Grammar",Ao="InferredType";function bo(n){return M.isInstance(n,Ao)}const No="Interface";function ko(n){return M.isInstance(n,No)}const Io="Negation";function Bu(n){return M.isInstance(n,Io)}const Hu="NumberLiteral",Vu="Parameter",So="ParameterReference";function Wu(n){return M.isInstance(n,So)}const xo="ParserRule";function Se(n){return M.isInstance(n,xo)}const Ku="ReferenceType",zu="ReturnType";function qu(n){return M.isInstance(n,zu)}const Co="SimpleType";function Yu(n){return M.isInstance(n,Co)}const Xu="StringLiteral",jr="TerminalRule";function gt(n){return M.isInstance(n,jr)}const wo="Type";function Oo(n){return M.isInstance(n,wo)}const Ju="UnionType",Lo="Action";function sr(n){return M.isInstance(n,Lo)}const $o="Alternatives";function Po(n){return M.isInstance(n,$o)}const Mo="Assignment";function ut(n){return M.isInstance(n,Mo)}const Do="CharacterRange";function Qu(n){return M.isInstance(n,Do)}const jo="CrossReference";function bi(n){return M.isInstance(n,jo)}const Go="EndOfFile";function Zu(n){return M.isInstance(n,Go)}const Uo="Group";function Ni(n){return M.isInstance(n,Uo)}const Fo="Keyword";function dt(n){return M.isInstance(n,Fo)}const Bo="NegatedToken";function ed(n){return M.isInstance(n,Bo)}const Ho="RegexToken";function td(n){return M.isInstance(n,Ho)}const Vo="RuleCall";function ft(n){return M.isInstance(n,Vo)}const Wo="TerminalAlternatives";function nd(n){return M.isInstance(n,Wo)}const Ko="TerminalGroup";function rd(n){return M.isInstance(n,Ko)}const zo="TerminalRuleCall";function id(n){return M.isInstance(n,zo)}const qo="UnorderedGroup";function Yo(n){return M.isInstance(n,qo)}const Xo="UntilToken";function sd(n){return M.isInstance(n,Xo)}const Jo="Wildcard";function ad(n){return M.isInstance(n,Jo)}class Qo extends mo{getAllTypes(){return["AbstractElement","AbstractRule","AbstractType","Action","Alternatives","ArrayLiteral","ArrayType","Assignment","BooleanLiteral","CharacterRange","Condition","Conjunction","CrossReference","Disjunction","EndOfFile","Grammar","GrammarImport","Group","InferredType","Interface","Keyword","NamedArgument","NegatedToken","Negation","NumberLiteral","Parameter","ParameterReference","ParserRule","ReferenceType","RegexToken","ReturnType","RuleCall","SimpleType","StringLiteral","TerminalAlternatives","TerminalGroup","TerminalRule","TerminalRuleCall","Type","TypeAttribute","TypeDefinition","UnionType","UnorderedGroup","UntilToken","ValueLiteral","Wildcard"]}computeIsSubtype(e,t){switch(e){case Lo:case $o:case Mo:case Do:case jo:case Go:case Uo:case Fo:case Bo:case Ho:case Vo:case Wo:case Ko:case zo:case qo:case Xo:case Jo:return this.isSubtype(vo,t);case Mu:case Hu:case Xu:return this.isSubtype(ss,t);case Du:case Ku:case Co:case Ju:return this.isSubtype($u,t);case _o:return this.isSubtype(is,t)||this.isSubtype(ss,t);case Eo:case Ro:case Io:case So:return this.isSubtype(is,t);case Ao:case No:case wo:return this.isSubtype(Er,t);case xo:return this.isSubtype(_r,t)||this.isSubtype(Er,t);case jr:return this.isSubtype(_r,t);default:return!1}}getReferenceType(e){const t=`${e.container.$type}:${e.property}`;switch(t){case"Action:type":case"CrossReference:type":case"Interface:superTypes":case"ParserRule:returnType":case"SimpleType:typeRef":return Er;case"Grammar:hiddenTokens":case"ParserRule:hiddenTokens":case"RuleCall:rule":return _r;case"Grammar:usedGrammars":return Fu;case"NamedArgument:parameter":case"ParameterReference:parameter":return Vu;case"TerminalRuleCall:rule":return jr;default:throw new Error(`${t} is not a valid reference id.`)}}getTypeMetaData(e){switch(e){case"AbstractElement":return{name:"AbstractElement",properties:[{name:"cardinality"},{name:"lookahead"}]};case"ArrayLiteral":return{name:"ArrayLiteral",properties:[{name:"elements",defaultValue:[]}]};case"ArrayType":return{name:"ArrayType",properties:[{name:"elementType"}]};case"BooleanLiteral":return{name:"BooleanLiteral",properties:[{name:"true",defaultValue:!1}]};case"Conjunction":return{name:"Conjunction",properties:[{name:"left"},{name:"right"}]};case"Disjunction":return{name:"Disjunction",properties:[{name:"left"},{name:"right"}]};case"Grammar":return{name:"Grammar",properties:[{name:"definesHiddenTokens",defaultValue:!1},{name:"hiddenTokens",defaultValue:[]},{name:"imports",defaultValue:[]},{name:"interfaces",defaultValue:[]},{name:"isDeclared",defaultValue:!1},{name:"name"},{name:"rules",defaultValue:[]},{name:"types",defaultValue:[]},{name:"usedGrammars",defaultValue:[]}]};case"GrammarImport":return{name:"GrammarImport",properties:[{name:"path"}]};case"InferredType":return{name:"InferredType",properties:[{name:"name"}]};case"Interface":return{name:"Interface",properties:[{name:"attributes",defaultValue:[]},{name:"name"},{name:"superTypes",defaultValue:[]}]};case"NamedArgument":return{name:"NamedArgument",properties:[{name:"calledByName",defaultValue:!1},{name:"parameter"},{name:"value"}]};case"Negation":return{name:"Negation",properties:[{name:"value"}]};case"NumberLiteral":return{name:"NumberLiteral",properties:[{name:"value"}]};case"Parameter":return{name:"Parameter",properties:[{name:"name"}]};case"ParameterReference":return{name:"ParameterReference",properties:[{name:"parameter"}]};case"ParserRule":return{name:"ParserRule",properties:[{name:"dataType"},{name:"definesHiddenTokens",defaultValue:!1},{name:"definition"},{name:"entry",defaultValue:!1},{name:"fragment",defaultValue:!1},{name:"hiddenTokens",defaultValue:[]},{name:"inferredType"},{name:"name"},{name:"parameters",defaultValue:[]},{name:"returnType"},{name:"wildcard",defaultValue:!1}]};case"ReferenceType":return{name:"ReferenceType",properties:[{name:"referenceType"}]};case"ReturnType":return{name:"ReturnType",properties:[{name:"name"}]};case"SimpleType":return{name:"SimpleType",properties:[{name:"primitiveType"},{name:"stringType"},{name:"typeRef"}]};case"StringLiteral":return{name:"StringLiteral",properties:[{name:"value"}]};case"TerminalRule":return{name:"TerminalRule",properties:[{name:"definition"},{name:"fragment",defaultValue:!1},{name:"hidden",defaultValue:!1},{name:"name"},{name:"type"}]};case"Type":return{name:"Type",properties:[{name:"name"},{name:"type"}]};case"TypeAttribute":return{name:"TypeAttribute",properties:[{name:"defaultValue"},{name:"isOptional",defaultValue:!1},{name:"name"},{name:"type"}]};case"UnionType":return{name:"UnionType",properties:[{name:"types",defaultValue:[]}]};case"Action":return{name:"Action",properties:[{name:"cardinality"},{name:"feature"},{name:"inferredType"},{name:"lookahead"},{name:"operator"},{name:"type"}]};case"Alternatives":return{name:"Alternatives",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"Assignment":return{name:"Assignment",properties:[{name:"cardinality"},{name:"feature"},{name:"lookahead"},{name:"operator"},{name:"terminal"}]};case"CharacterRange":return{name:"CharacterRange",properties:[{name:"cardinality"},{name:"left"},{name:"lookahead"},{name:"right"}]};case"CrossReference":return{name:"CrossReference",properties:[{name:"cardinality"},{name:"deprecatedSyntax",defaultValue:!1},{name:"lookahead"},{name:"terminal"},{name:"type"}]};case"EndOfFile":return{name:"EndOfFile",properties:[{name:"cardinality"},{name:"lookahead"}]};case"Group":return{name:"Group",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"guardCondition"},{name:"lookahead"}]};case"Keyword":return{name:"Keyword",properties:[{name:"cardinality"},{name:"lookahead"},{name:"value"}]};case"NegatedToken":return{name:"NegatedToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"terminal"}]};case"RegexToken":return{name:"RegexToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"regex"}]};case"RuleCall":return{name:"RuleCall",properties:[{name:"arguments",defaultValue:[]},{name:"cardinality"},{name:"lookahead"},{name:"rule"}]};case"TerminalAlternatives":return{name:"TerminalAlternatives",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"TerminalGroup":return{name:"TerminalGroup",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"TerminalRuleCall":return{name:"TerminalRuleCall",properties:[{name:"cardinality"},{name:"lookahead"},{name:"rule"}]};case"UnorderedGroup":return{name:"UnorderedGroup",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"UntilToken":return{name:"UntilToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"terminal"}]};case"Wildcard":return{name:"Wildcard",properties:[{name:"cardinality"},{name:"lookahead"}]};default:return{name:e,properties:[]}}}}const M=new Qo;function od(n){for(const[e,t]of Object.entries(n))e.startsWith("$")||(Array.isArray(t)?t.forEach((r,i)=>{ae(r)&&(r.$container=n,r.$containerProperty=e,r.$containerIndex=i)}):ae(t)&&(t.$container=n,t.$containerProperty=e))}function ar(n,e){let t=n;for(;t;){if(e(t))return t;t=t.$container}}function Ue(n){const t=ld(n).$document;if(!t)throw new Error("AST node has no document.");return t}function ld(n){for(;n.$container;)n=n.$container;return n}function ki(n,e){if(!n)throw new Error("Node must be an AstNode.");const t=e==null?void 0:e.range;return new ie(()=>({keys:Object.keys(n),keyIndex:0,arrayIndex:0}),r=>{for(;r.keyIndexki(t,e))}function Et(n,e){if(!n)throw new Error("Root node must be an AstNode.");return new Ai(n,t=>ki(t,e),{includeRoot:!0})}function as(n,e){var t;if(!e)return!0;const r=(t=n.$cstNode)===null||t===void 0?void 0:t.range;return r?Cu(r,e):!1}function Zo(n){return new ie(()=>({keys:Object.keys(n),keyIndex:0,arrayIndex:0}),e=>{for(;e.keyIndexs.state.transitions),i=bu(r.filter(s=>s instanceof Di).map(s=>s.tokenType),s=>s.tokenTypeIdx);return{actualToken:t,possibleTokenTypes:i,tokenPath:n}}function mp(n,e){return n.edges[e.tokenTypeIdx]}function gp(n,e,t){const r=new qr,i=[];for(const a of n.elements){if(t.is(a.alt)===!1)continue;if(a.state.type===vn){i.push(a);continue}const o=a.state.transitions.length;for(let l=0;l0&&!Ep(s))for(const a of i)s.add(a);return s}function yp(n,e){if(n instanceof Di&&Al(e,n.tokenType))return n.target}function Tp(n,e){let t;for(const r of n.elements)if(e.is(r.alt)===!0){if(t===void 0)t=r.alt;else if(t!==r.alt)return}return t}function Jl(n){return{configs:n,edges:{},isAcceptState:!1,prediction:-1}}function Ms(n,e,t,r){return r=Ql(n,r),e.edges[t.tokenTypeIdx]=r,r}function Ql(n,e){if(e===Hn)return e;const t=e.configs.key,r=n.states[t];return r!==void 0?r:(e.configs.finalize(),n.states[t]=e,e)}function vp(n){const e=new qr,t=n.transitions.length;for(let r=0;r0){const i=[...n.stack],a={state:i.pop(),alt:n.alt,stack:i};Vn(a,e)}else e.add(n);return}t.epsilonOnlyTransitions||e.add(n);const r=t.transitions.length;for(let i=0;i1)return!0;return!1}function kp(n){for(const e of Array.from(n.values()))if(Object.keys(e).length===1)return!0;return!1}var Ds;(function(n){function e(t){return typeof t=="string"}n.is=e})(Ds||(Ds={}));var Yr;(function(n){function e(t){return typeof t=="string"}n.is=e})(Yr||(Yr={}));var js;(function(n){n.MIN_VALUE=-2147483648,n.MAX_VALUE=2147483647;function e(t){return typeof t=="number"&&n.MIN_VALUE<=t&&t<=n.MAX_VALUE}n.is=e})(js||(js={}));var Wn;(function(n){n.MIN_VALUE=0,n.MAX_VALUE=2147483647;function e(t){return typeof t=="number"&&n.MIN_VALUE<=t&&t<=n.MAX_VALUE}n.is=e})(Wn||(Wn={}));var P;(function(n){function e(r,i){return r===Number.MAX_VALUE&&(r=Wn.MAX_VALUE),i===Number.MAX_VALUE&&(i=Wn.MAX_VALUE),{line:r,character:i}}n.create=e;function t(r){let i=r;return p.objectLiteral(i)&&p.uinteger(i.line)&&p.uinteger(i.character)}n.is=t})(P||(P={}));var $;(function(n){function e(r,i,s,a){if(p.uinteger(r)&&p.uinteger(i)&&p.uinteger(s)&&p.uinteger(a))return{start:P.create(r,i),end:P.create(s,a)};if(P.is(r)&&P.is(i))return{start:r,end:i};throw new Error(`Range#create called with invalid arguments[${r}, ${i}, ${s}, ${a}]`)}n.create=e;function t(r){let i=r;return p.objectLiteral(i)&&P.is(i.start)&&P.is(i.end)}n.is=t})($||($={}));var Kn;(function(n){function e(r,i){return{uri:r,range:i}}n.create=e;function t(r){let i=r;return p.objectLiteral(i)&&$.is(i.range)&&(p.string(i.uri)||p.undefined(i.uri))}n.is=t})(Kn||(Kn={}));var Gs;(function(n){function e(r,i,s,a){return{targetUri:r,targetRange:i,targetSelectionRange:s,originSelectionRange:a}}n.create=e;function t(r){let i=r;return p.objectLiteral(i)&&$.is(i.targetRange)&&p.string(i.targetUri)&&$.is(i.targetSelectionRange)&&($.is(i.originSelectionRange)||p.undefined(i.originSelectionRange))}n.is=t})(Gs||(Gs={}));var Xr;(function(n){function e(r,i,s,a){return{red:r,green:i,blue:s,alpha:a}}n.create=e;function t(r){const i=r;return p.objectLiteral(i)&&p.numberRange(i.red,0,1)&&p.numberRange(i.green,0,1)&&p.numberRange(i.blue,0,1)&&p.numberRange(i.alpha,0,1)}n.is=t})(Xr||(Xr={}));var Us;(function(n){function e(r,i){return{range:r,color:i}}n.create=e;function t(r){const i=r;return p.objectLiteral(i)&&$.is(i.range)&&Xr.is(i.color)}n.is=t})(Us||(Us={}));var Fs;(function(n){function e(r,i,s){return{label:r,textEdit:i,additionalTextEdits:s}}n.create=e;function t(r){const i=r;return p.objectLiteral(i)&&p.string(i.label)&&(p.undefined(i.textEdit)||Bt.is(i))&&(p.undefined(i.additionalTextEdits)||p.typedArray(i.additionalTextEdits,Bt.is))}n.is=t})(Fs||(Fs={}));var Bs;(function(n){n.Comment="comment",n.Imports="imports",n.Region="region"})(Bs||(Bs={}));var Hs;(function(n){function e(r,i,s,a,o,l){const c={startLine:r,endLine:i};return p.defined(s)&&(c.startCharacter=s),p.defined(a)&&(c.endCharacter=a),p.defined(o)&&(c.kind=o),p.defined(l)&&(c.collapsedText=l),c}n.create=e;function t(r){const i=r;return p.objectLiteral(i)&&p.uinteger(i.startLine)&&p.uinteger(i.startLine)&&(p.undefined(i.startCharacter)||p.uinteger(i.startCharacter))&&(p.undefined(i.endCharacter)||p.uinteger(i.endCharacter))&&(p.undefined(i.kind)||p.string(i.kind))}n.is=t})(Hs||(Hs={}));var Jr;(function(n){function e(r,i){return{location:r,message:i}}n.create=e;function t(r){let i=r;return p.defined(i)&&Kn.is(i.location)&&p.string(i.message)}n.is=t})(Jr||(Jr={}));var Vs;(function(n){n.Error=1,n.Warning=2,n.Information=3,n.Hint=4})(Vs||(Vs={}));var Ws;(function(n){n.Unnecessary=1,n.Deprecated=2})(Ws||(Ws={}));var Ks;(function(n){function e(t){const r=t;return p.objectLiteral(r)&&p.string(r.href)}n.is=e})(Ks||(Ks={}));var zn;(function(n){function e(r,i,s,a,o,l){let c={range:r,message:i};return p.defined(s)&&(c.severity=s),p.defined(a)&&(c.code=a),p.defined(o)&&(c.source=o),p.defined(l)&&(c.relatedInformation=l),c}n.create=e;function t(r){var i;let s=r;return p.defined(s)&&$.is(s.range)&&p.string(s.message)&&(p.number(s.severity)||p.undefined(s.severity))&&(p.integer(s.code)||p.string(s.code)||p.undefined(s.code))&&(p.undefined(s.codeDescription)||p.string((i=s.codeDescription)===null||i===void 0?void 0:i.href))&&(p.string(s.source)||p.undefined(s.source))&&(p.undefined(s.relatedInformation)||p.typedArray(s.relatedInformation,Jr.is))}n.is=t})(zn||(zn={}));var Ft;(function(n){function e(r,i,...s){let a={title:r,command:i};return p.defined(s)&&s.length>0&&(a.arguments=s),a}n.create=e;function t(r){let i=r;return p.defined(i)&&p.string(i.title)&&p.string(i.command)}n.is=t})(Ft||(Ft={}));var Bt;(function(n){function e(s,a){return{range:s,newText:a}}n.replace=e;function t(s,a){return{range:{start:s,end:s},newText:a}}n.insert=t;function r(s){return{range:s,newText:""}}n.del=r;function i(s){const a=s;return p.objectLiteral(a)&&p.string(a.newText)&&$.is(a.range)}n.is=i})(Bt||(Bt={}));var Qr;(function(n){function e(r,i,s){const a={label:r};return i!==void 0&&(a.needsConfirmation=i),s!==void 0&&(a.description=s),a}n.create=e;function t(r){const i=r;return p.objectLiteral(i)&&p.string(i.label)&&(p.boolean(i.needsConfirmation)||i.needsConfirmation===void 0)&&(p.string(i.description)||i.description===void 0)}n.is=t})(Qr||(Qr={}));var Ht;(function(n){function e(t){const r=t;return p.string(r)}n.is=e})(Ht||(Ht={}));var zs;(function(n){function e(s,a,o){return{range:s,newText:a,annotationId:o}}n.replace=e;function t(s,a,o){return{range:{start:s,end:s},newText:a,annotationId:o}}n.insert=t;function r(s,a){return{range:s,newText:"",annotationId:a}}n.del=r;function i(s){const a=s;return Bt.is(a)&&(Qr.is(a.annotationId)||Ht.is(a.annotationId))}n.is=i})(zs||(zs={}));var Zr;(function(n){function e(r,i){return{textDocument:r,edits:i}}n.create=e;function t(r){let i=r;return p.defined(i)&&ii.is(i.textDocument)&&Array.isArray(i.edits)}n.is=t})(Zr||(Zr={}));var ei;(function(n){function e(r,i,s){let a={kind:"create",uri:r};return i!==void 0&&(i.overwrite!==void 0||i.ignoreIfExists!==void 0)&&(a.options=i),s!==void 0&&(a.annotationId=s),a}n.create=e;function t(r){let i=r;return i&&i.kind==="create"&&p.string(i.uri)&&(i.options===void 0||(i.options.overwrite===void 0||p.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||p.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||Ht.is(i.annotationId))}n.is=t})(ei||(ei={}));var ti;(function(n){function e(r,i,s,a){let o={kind:"rename",oldUri:r,newUri:i};return s!==void 0&&(s.overwrite!==void 0||s.ignoreIfExists!==void 0)&&(o.options=s),a!==void 0&&(o.annotationId=a),o}n.create=e;function t(r){let i=r;return i&&i.kind==="rename"&&p.string(i.oldUri)&&p.string(i.newUri)&&(i.options===void 0||(i.options.overwrite===void 0||p.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||p.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||Ht.is(i.annotationId))}n.is=t})(ti||(ti={}));var ni;(function(n){function e(r,i,s){let a={kind:"delete",uri:r};return i!==void 0&&(i.recursive!==void 0||i.ignoreIfNotExists!==void 0)&&(a.options=i),s!==void 0&&(a.annotationId=s),a}n.create=e;function t(r){let i=r;return i&&i.kind==="delete"&&p.string(i.uri)&&(i.options===void 0||(i.options.recursive===void 0||p.boolean(i.options.recursive))&&(i.options.ignoreIfNotExists===void 0||p.boolean(i.options.ignoreIfNotExists)))&&(i.annotationId===void 0||Ht.is(i.annotationId))}n.is=t})(ni||(ni={}));var ri;(function(n){function e(t){let r=t;return r&&(r.changes!==void 0||r.documentChanges!==void 0)&&(r.documentChanges===void 0||r.documentChanges.every(i=>p.string(i.kind)?ei.is(i)||ti.is(i)||ni.is(i):Zr.is(i)))}n.is=e})(ri||(ri={}));var qs;(function(n){function e(r){return{uri:r}}n.create=e;function t(r){let i=r;return p.defined(i)&&p.string(i.uri)}n.is=t})(qs||(qs={}));var Ys;(function(n){function e(r,i){return{uri:r,version:i}}n.create=e;function t(r){let i=r;return p.defined(i)&&p.string(i.uri)&&p.integer(i.version)}n.is=t})(Ys||(Ys={}));var ii;(function(n){function e(r,i){return{uri:r,version:i}}n.create=e;function t(r){let i=r;return p.defined(i)&&p.string(i.uri)&&(i.version===null||p.integer(i.version))}n.is=t})(ii||(ii={}));var Xs;(function(n){function e(r,i,s,a){return{uri:r,languageId:i,version:s,text:a}}n.create=e;function t(r){let i=r;return p.defined(i)&&p.string(i.uri)&&p.string(i.languageId)&&p.integer(i.version)&&p.string(i.text)}n.is=t})(Xs||(Xs={}));var si;(function(n){n.PlainText="plaintext",n.Markdown="markdown";function e(t){const r=t;return r===n.PlainText||r===n.Markdown}n.is=e})(si||(si={}));var un;(function(n){function e(t){const r=t;return p.objectLiteral(t)&&si.is(r.kind)&&p.string(r.value)}n.is=e})(un||(un={}));var Js;(function(n){n.Text=1,n.Method=2,n.Function=3,n.Constructor=4,n.Field=5,n.Variable=6,n.Class=7,n.Interface=8,n.Module=9,n.Property=10,n.Unit=11,n.Value=12,n.Enum=13,n.Keyword=14,n.Snippet=15,n.Color=16,n.File=17,n.Reference=18,n.Folder=19,n.EnumMember=20,n.Constant=21,n.Struct=22,n.Event=23,n.Operator=24,n.TypeParameter=25})(Js||(Js={}));var Qs;(function(n){n.PlainText=1,n.Snippet=2})(Qs||(Qs={}));var Zs;(function(n){n.Deprecated=1})(Zs||(Zs={}));var ea;(function(n){function e(r,i,s){return{newText:r,insert:i,replace:s}}n.create=e;function t(r){const i=r;return i&&p.string(i.newText)&&$.is(i.insert)&&$.is(i.replace)}n.is=t})(ea||(ea={}));var ta;(function(n){n.asIs=1,n.adjustIndentation=2})(ta||(ta={}));var na;(function(n){function e(t){const r=t;return r&&(p.string(r.detail)||r.detail===void 0)&&(p.string(r.description)||r.description===void 0)}n.is=e})(na||(na={}));var ra;(function(n){function e(t){return{label:t}}n.create=e})(ra||(ra={}));var ia;(function(n){function e(t,r){return{items:t||[],isIncomplete:!!r}}n.create=e})(ia||(ia={}));var qn;(function(n){function e(r){return r.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}n.fromPlainText=e;function t(r){const i=r;return p.string(i)||p.objectLiteral(i)&&p.string(i.language)&&p.string(i.value)}n.is=t})(qn||(qn={}));var sa;(function(n){function e(t){let r=t;return!!r&&p.objectLiteral(r)&&(un.is(r.contents)||qn.is(r.contents)||p.typedArray(r.contents,qn.is))&&(t.range===void 0||$.is(t.range))}n.is=e})(sa||(sa={}));var aa;(function(n){function e(t,r){return r?{label:t,documentation:r}:{label:t}}n.create=e})(aa||(aa={}));var oa;(function(n){function e(t,r,...i){let s={label:t};return p.defined(r)&&(s.documentation=r),p.defined(i)?s.parameters=i:s.parameters=[],s}n.create=e})(oa||(oa={}));var la;(function(n){n.Text=1,n.Read=2,n.Write=3})(la||(la={}));var ca;(function(n){function e(t,r){let i={range:t};return p.number(r)&&(i.kind=r),i}n.create=e})(ca||(ca={}));var ua;(function(n){n.File=1,n.Module=2,n.Namespace=3,n.Package=4,n.Class=5,n.Method=6,n.Property=7,n.Field=8,n.Constructor=9,n.Enum=10,n.Interface=11,n.Function=12,n.Variable=13,n.Constant=14,n.String=15,n.Number=16,n.Boolean=17,n.Array=18,n.Object=19,n.Key=20,n.Null=21,n.EnumMember=22,n.Struct=23,n.Event=24,n.Operator=25,n.TypeParameter=26})(ua||(ua={}));var da;(function(n){n.Deprecated=1})(da||(da={}));var fa;(function(n){function e(t,r,i,s,a){let o={name:t,kind:r,location:{uri:s,range:i}};return a&&(o.containerName=a),o}n.create=e})(fa||(fa={}));var ha;(function(n){function e(t,r,i,s){return s!==void 0?{name:t,kind:r,location:{uri:i,range:s}}:{name:t,kind:r,location:{uri:i}}}n.create=e})(ha||(ha={}));var pa;(function(n){function e(r,i,s,a,o,l){let c={name:r,detail:i,kind:s,range:a,selectionRange:o};return l!==void 0&&(c.children=l),c}n.create=e;function t(r){let i=r;return i&&p.string(i.name)&&p.number(i.kind)&&$.is(i.range)&&$.is(i.selectionRange)&&(i.detail===void 0||p.string(i.detail))&&(i.deprecated===void 0||p.boolean(i.deprecated))&&(i.children===void 0||Array.isArray(i.children))&&(i.tags===void 0||Array.isArray(i.tags))}n.is=t})(pa||(pa={}));var ma;(function(n){n.Empty="",n.QuickFix="quickfix",n.Refactor="refactor",n.RefactorExtract="refactor.extract",n.RefactorInline="refactor.inline",n.RefactorRewrite="refactor.rewrite",n.Source="source",n.SourceOrganizeImports="source.organizeImports",n.SourceFixAll="source.fixAll"})(ma||(ma={}));var Yn;(function(n){n.Invoked=1,n.Automatic=2})(Yn||(Yn={}));var ga;(function(n){function e(r,i,s){let a={diagnostics:r};return i!=null&&(a.only=i),s!=null&&(a.triggerKind=s),a}n.create=e;function t(r){let i=r;return p.defined(i)&&p.typedArray(i.diagnostics,zn.is)&&(i.only===void 0||p.typedArray(i.only,p.string))&&(i.triggerKind===void 0||i.triggerKind===Yn.Invoked||i.triggerKind===Yn.Automatic)}n.is=t})(ga||(ga={}));var ya;(function(n){function e(r,i,s){let a={title:r},o=!0;return typeof i=="string"?(o=!1,a.kind=i):Ft.is(i)?a.command=i:a.edit=i,o&&s!==void 0&&(a.kind=s),a}n.create=e;function t(r){let i=r;return i&&p.string(i.title)&&(i.diagnostics===void 0||p.typedArray(i.diagnostics,zn.is))&&(i.kind===void 0||p.string(i.kind))&&(i.edit!==void 0||i.command!==void 0)&&(i.command===void 0||Ft.is(i.command))&&(i.isPreferred===void 0||p.boolean(i.isPreferred))&&(i.edit===void 0||ri.is(i.edit))}n.is=t})(ya||(ya={}));var Ta;(function(n){function e(r,i){let s={range:r};return p.defined(i)&&(s.data=i),s}n.create=e;function t(r){let i=r;return p.defined(i)&&$.is(i.range)&&(p.undefined(i.command)||Ft.is(i.command))}n.is=t})(Ta||(Ta={}));var va;(function(n){function e(r,i){return{tabSize:r,insertSpaces:i}}n.create=e;function t(r){let i=r;return p.defined(i)&&p.uinteger(i.tabSize)&&p.boolean(i.insertSpaces)}n.is=t})(va||(va={}));var _a;(function(n){function e(r,i,s){return{range:r,target:i,data:s}}n.create=e;function t(r){let i=r;return p.defined(i)&&$.is(i.range)&&(p.undefined(i.target)||p.string(i.target))}n.is=t})(_a||(_a={}));var Ea;(function(n){function e(r,i){return{range:r,parent:i}}n.create=e;function t(r){let i=r;return p.objectLiteral(i)&&$.is(i.range)&&(i.parent===void 0||n.is(i.parent))}n.is=t})(Ea||(Ea={}));var Ra;(function(n){n.namespace="namespace",n.type="type",n.class="class",n.enum="enum",n.interface="interface",n.struct="struct",n.typeParameter="typeParameter",n.parameter="parameter",n.variable="variable",n.property="property",n.enumMember="enumMember",n.event="event",n.function="function",n.method="method",n.macro="macro",n.keyword="keyword",n.modifier="modifier",n.comment="comment",n.string="string",n.number="number",n.regexp="regexp",n.operator="operator",n.decorator="decorator"})(Ra||(Ra={}));var Aa;(function(n){n.declaration="declaration",n.definition="definition",n.readonly="readonly",n.static="static",n.deprecated="deprecated",n.abstract="abstract",n.async="async",n.modification="modification",n.documentation="documentation",n.defaultLibrary="defaultLibrary"})(Aa||(Aa={}));var ba;(function(n){function e(t){const r=t;return p.objectLiteral(r)&&(r.resultId===void 0||typeof r.resultId=="string")&&Array.isArray(r.data)&&(r.data.length===0||typeof r.data[0]=="number")}n.is=e})(ba||(ba={}));var Na;(function(n){function e(r,i){return{range:r,text:i}}n.create=e;function t(r){const i=r;return i!=null&&$.is(i.range)&&p.string(i.text)}n.is=t})(Na||(Na={}));var ka;(function(n){function e(r,i,s){return{range:r,variableName:i,caseSensitiveLookup:s}}n.create=e;function t(r){const i=r;return i!=null&&$.is(i.range)&&p.boolean(i.caseSensitiveLookup)&&(p.string(i.variableName)||i.variableName===void 0)}n.is=t})(ka||(ka={}));var Ia;(function(n){function e(r,i){return{range:r,expression:i}}n.create=e;function t(r){const i=r;return i!=null&&$.is(i.range)&&(p.string(i.expression)||i.expression===void 0)}n.is=t})(Ia||(Ia={}));var Sa;(function(n){function e(r,i){return{frameId:r,stoppedLocation:i}}n.create=e;function t(r){const i=r;return p.defined(i)&&$.is(r.stoppedLocation)}n.is=t})(Sa||(Sa={}));var ai;(function(n){n.Type=1,n.Parameter=2;function e(t){return t===1||t===2}n.is=e})(ai||(ai={}));var oi;(function(n){function e(r){return{value:r}}n.create=e;function t(r){const i=r;return p.objectLiteral(i)&&(i.tooltip===void 0||p.string(i.tooltip)||un.is(i.tooltip))&&(i.location===void 0||Kn.is(i.location))&&(i.command===void 0||Ft.is(i.command))}n.is=t})(oi||(oi={}));var xa;(function(n){function e(r,i,s){const a={position:r,label:i};return s!==void 0&&(a.kind=s),a}n.create=e;function t(r){const i=r;return p.objectLiteral(i)&&P.is(i.position)&&(p.string(i.label)||p.typedArray(i.label,oi.is))&&(i.kind===void 0||ai.is(i.kind))&&i.textEdits===void 0||p.typedArray(i.textEdits,Bt.is)&&(i.tooltip===void 0||p.string(i.tooltip)||un.is(i.tooltip))&&(i.paddingLeft===void 0||p.boolean(i.paddingLeft))&&(i.paddingRight===void 0||p.boolean(i.paddingRight))}n.is=t})(xa||(xa={}));var Ca;(function(n){function e(t){return{kind:"snippet",value:t}}n.createSnippet=e})(Ca||(Ca={}));var wa;(function(n){function e(t,r,i,s){return{insertText:t,filterText:r,range:i,command:s}}n.create=e})(wa||(wa={}));var Oa;(function(n){function e(t){return{items:t}}n.create=e})(Oa||(Oa={}));var La;(function(n){n.Invoked=0,n.Automatic=1})(La||(La={}));var $a;(function(n){function e(t,r){return{range:t,text:r}}n.create=e})($a||($a={}));var Pa;(function(n){function e(t,r){return{triggerKind:t,selectedCompletionInfo:r}}n.create=e})(Pa||(Pa={}));var Ma;(function(n){function e(t){const r=t;return p.objectLiteral(r)&&Yr.is(r.uri)&&p.string(r.name)}n.is=e})(Ma||(Ma={}));var Da;(function(n){function e(s,a,o,l){return new Ip(s,a,o,l)}n.create=e;function t(s){let a=s;return!!(p.defined(a)&&p.string(a.uri)&&(p.undefined(a.languageId)||p.string(a.languageId))&&p.uinteger(a.lineCount)&&p.func(a.getText)&&p.func(a.positionAt)&&p.func(a.offsetAt))}n.is=t;function r(s,a){let o=s.getText(),l=i(a,(u,d)=>{let f=u.range.start.line-d.range.start.line;return f===0?u.range.start.character-d.range.start.character:f}),c=o.length;for(let u=l.length-1;u>=0;u--){let d=l[u],f=s.offsetAt(d.range.start),h=s.offsetAt(d.range.end);if(h<=c)o=o.substring(0,f)+d.newText+o.substring(h,o.length);else throw new Error("Overlapping edit");c=f}return o}n.applyEdits=r;function i(s,a){if(s.length<=1)return s;const o=s.length/2|0,l=s.slice(0,o),c=s.slice(o);i(l,a),i(c,a);let u=0,d=0,f=0;for(;u0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let t=this.getLineOffsets(),r=0,i=t.length;if(i===0)return P.create(0,e);for(;re?i=a:r=a+1}let s=r-1;return P.create(s,e-t[s])}offsetAt(e){let t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;let r=t[e.line],i=e.line+1"u"}n.undefined=r;function i(h){return h===!0||h===!1}n.boolean=i;function s(h){return e.call(h)==="[object String]"}n.string=s;function a(h){return e.call(h)==="[object Number]"}n.number=a;function o(h,m,g){return e.call(h)==="[object Number]"&&m<=h&&h<=g}n.numberRange=o;function l(h){return e.call(h)==="[object Number]"&&-2147483648<=h&&h<=2147483647}n.integer=l;function c(h){return e.call(h)==="[object Number]"&&0<=h&&h<=2147483647}n.uinteger=c;function u(h){return e.call(h)==="[object Function]"}n.func=u;function d(h){return h!==null&&typeof h=="object"}n.objectLiteral=d;function f(h,m){return Array.isArray(h)&&h.every(m)}n.typedArray=f})(p||(p={}));class Sp{constructor(){this.nodeStack=[]}get current(){return this.nodeStack[this.nodeStack.length-1]}buildRootNode(e){return this.rootNode=new ec(e),this.rootNode.root=this.rootNode,this.nodeStack=[this.rootNode],this.rootNode}buildCompositeNode(e){const t=new Fi;return t.grammarSource=e,t.root=this.rootNode,this.current.content.push(t),this.nodeStack.push(t),t}buildLeafNode(e,t){const r=new li(e.startOffset,e.image.length,Dr(e),e.tokenType,!1);return r.grammarSource=t,r.root=this.rootNode,this.current.content.push(r),r}removeNode(e){const t=e.container;if(t){const r=t.content.indexOf(e);r>=0&&t.content.splice(r,1)}}construct(e){const t=this.current;typeof e.$type=="string"&&(this.current.astNode=e),e.$cstNode=t;const r=this.nodeStack.pop();(r==null?void 0:r.content.length)===0&&this.removeNode(r)}addHiddenTokens(e){for(const t of e){const r=new li(t.startOffset,t.image.length,Dr(t),t.tokenType,!0);r.root=this.rootNode,this.addHiddenToken(this.rootNode,r)}}addHiddenToken(e,t){const{offset:r,end:i}=t;for(let s=0;so&&i=0;e--){const t=this.content[e];if(!t.hidden)return t}return this.content[this.content.length-1]}}class Bi extends Array{constructor(e){super(),this.parent=e,Object.setPrototypeOf(this,Bi.prototype)}push(...e){return this.addParents(e),super.push(...e)}unshift(...e){return this.addParents(e),super.unshift(...e)}splice(e,t,...r){return this.addParents(r),super.splice(e,t,...r)}addParents(e){for(const t of e)t.container=this.parent}}class ec extends Fi{get text(){return this._text.substring(this.offset,this.end)}get fullText(){return this._text}constructor(e){super(),this._text="",this._text=e??""}}const ci=Symbol("Datatype");function Cr(n){return n.$type===ci}const ja="​",tc=n=>n.endsWith(ja)?n:n+ja;class nc{constructor(e){this._unorderedGroups=new Map,this.lexer=e.parser.Lexer;const t=this.lexer.definition;this.wrapper=new Lp(t,Object.assign(Object.assign({},e.parser.ParserConfig),{errorMessageProvider:e.parser.ParserErrorMessageProvider}))}alternatives(e,t){this.wrapper.wrapOr(e,t)}optional(e,t){this.wrapper.wrapOption(e,t)}many(e,t){this.wrapper.wrapMany(e,t)}atLeastOne(e,t){this.wrapper.wrapAtLeastOne(e,t)}isRecording(){return this.wrapper.IS_RECORDING}get unorderedGroups(){return this._unorderedGroups}getRuleStack(){return this.wrapper.RULE_STACK}finalize(){this.wrapper.wrapSelfAnalysis()}}class xp extends nc{get current(){return this.stack[this.stack.length-1]}constructor(e){super(e),this.nodeBuilder=new Sp,this.stack=[],this.assignmentMap=new Map,this.linker=e.references.Linker,this.converter=e.parser.ValueConverter,this.astReflection=e.shared.AstReflection}rule(e,t){const r=e.fragment?void 0:Si(e)?ci:cr(e),i=this.wrapper.DEFINE_RULE(tc(e.name),this.startImplementation(r,t).bind(this));return e.entry&&(this.mainRule=i),i}parse(e){this.nodeBuilder.buildRootNode(e);const t=this.lexer.tokenize(e);this.wrapper.input=t.tokens;const r=this.mainRule.call(this.wrapper,{});return this.nodeBuilder.addHiddenTokens(t.hidden),this.unorderedGroups.clear(),{value:r,lexerErrors:t.errors,parserErrors:this.wrapper.errors}}startImplementation(e,t){return r=>{if(!this.isRecording()){const s={$type:e};this.stack.push(s),e===ci&&(s.value="")}let i;try{i=t(r)}catch{i=void 0}return!this.isRecording()&&i===void 0&&(i=this.construct()),i}}consume(e,t,r){const i=this.wrapper.wrapConsume(e,t);if(!this.isRecording()&&this.isValidToken(i)){const s=this.nodeBuilder.buildLeafNode(i,r),{assignment:a,isCrossRef:o}=this.getAssignment(r),l=this.current;if(a){const c=dt(r)?i.image:this.converter.convert(i.image,s);this.assign(a.operator,a.feature,c,s,o)}else if(Cr(l)){let c=i.image;dt(r)||(c=this.converter.convert(c,s).toString()),l.value+=c}}}isValidToken(e){return!e.isInsertedInRecovery&&!isNaN(e.startOffset)&&typeof e.endOffset=="number"&&!isNaN(e.endOffset)}subrule(e,t,r,i){let s;this.isRecording()||(s=this.nodeBuilder.buildCompositeNode(r));const a=this.wrapper.wrapSubrule(e,t,i);!this.isRecording()&&s&&s.length>0&&this.performSubruleAssignment(a,r,s)}performSubruleAssignment(e,t,r){const{assignment:i,isCrossRef:s}=this.getAssignment(t);if(i)this.assign(i.operator,i.feature,e,r,s);else if(!i){const a=this.current;if(Cr(a))a.value+=e.toString();else if(typeof e=="object"&&e){const o=e.$type,l=this.assignWithoutOverride(e,a);o&&(l.$type=o);const c=l;this.stack.pop(),this.stack.push(c)}}}action(e,t){if(!this.isRecording()){let r=this.current;if(!r.$cstNode&&t.feature&&t.operator){r=this.construct(!1);const s=r.$cstNode.feature;this.nodeBuilder.buildCompositeNode(s)}const i={$type:e};this.stack.pop(),this.stack.push(i),t.feature&&t.operator&&this.assign(t.operator,t.feature,r,r.$cstNode,!1)}}construct(e=!0){if(this.isRecording())return;const t=this.current;return od(t),this.nodeBuilder.construct(t),e&&this.stack.pop(),Cr(t)?this.converter.convert(t.value,t.$cstNode):(cd(this.astReflection,t),t)}getAssignment(e){if(!this.assignmentMap.has(e)){const t=ar(e,ut);this.assignmentMap.set(e,{assignment:t,isCrossRef:t?bi(t.terminal):!1})}return this.assignmentMap.get(e)}assign(e,t,r,i,s){const a=this.current;let o;switch(s&&typeof r=="string"?o=this.linker.buildReference(a,t,i,r):o=r,e){case"=":{a[t]=o;break}case"?=":{a[t]=!0;break}case"+=":Array.isArray(a[t])||(a[t]=[]),a[t].push(o)}}assignWithoutOverride(e,t){for(const[r,i]of Object.entries(t)){const s=e[r];s===void 0?e[r]=i:Array.isArray(s)&&Array.isArray(i)&&(i.push(...s),e[r]=i)}return e}get definitionErrors(){return this.wrapper.definitionErrors}}class Cp{buildMismatchTokenMessage(e){return _t.buildMismatchTokenMessage(e)}buildNotAllInputParsedMessage(e){return _t.buildNotAllInputParsedMessage(e)}buildNoViableAltMessage(e){return _t.buildNoViableAltMessage(e)}buildEarlyExitMessage(e){return _t.buildEarlyExitMessage(e)}}class rc extends Cp{buildMismatchTokenMessage({expected:e,actual:t}){return`Expecting ${e.LABEL?"`"+e.LABEL+"`":e.name.endsWith(":KW")?`keyword '${e.name.substring(0,e.name.length-3)}'`:`token of type '${e.name}'`} but found \`${t.image}\`.`}buildNotAllInputParsedMessage({firstRedundant:e}){return`Expecting end of file but found \`${e.image}\`.`}}class wp extends nc{constructor(){super(...arguments),this.tokens=[],this.elementStack=[],this.lastElementStack=[],this.nextTokenIndex=0,this.stackSize=0}action(){}construct(){}parse(e){this.resetState();const t=this.lexer.tokenize(e);return this.tokens=t.tokens,this.wrapper.input=[...this.tokens],this.mainRule.call(this.wrapper,{}),this.unorderedGroups.clear(),{tokens:this.tokens,elementStack:[...this.lastElementStack],tokenIndex:this.nextTokenIndex}}rule(e,t){const r=this.wrapper.DEFINE_RULE(tc(e.name),this.startImplementation(t).bind(this));return e.entry&&(this.mainRule=r),r}resetState(){this.elementStack=[],this.lastElementStack=[],this.nextTokenIndex=0,this.stackSize=0}startImplementation(e){return t=>{const r=this.keepStackSize();try{e(t)}finally{this.resetStackSize(r)}}}removeUnexpectedElements(){this.elementStack.splice(this.stackSize)}keepStackSize(){const e=this.elementStack.length;return this.stackSize=e,e}resetStackSize(e){this.removeUnexpectedElements(),this.stackSize=e}consume(e,t,r){this.wrapper.wrapConsume(e,t),this.isRecording()||(this.lastElementStack=[...this.elementStack,r],this.nextTokenIndex=this.currIdx+1)}subrule(e,t,r,i){this.before(r),this.wrapper.wrapSubrule(e,t,i),this.after(r)}before(e){this.isRecording()||this.elementStack.push(e)}after(e){if(!this.isRecording()){const t=this.elementStack.lastIndexOf(e);t>=0&&this.elementStack.splice(t)}}get currIdx(){return this.wrapper.currIdx}}const Op={recoveryEnabled:!0,nodeLocationTracking:"full",skipValidations:!0,errorMessageProvider:new rc};class Lp extends Uh{constructor(e,t){const r=t&&"maxLookahead"in t;super(e,Object.assign(Object.assign(Object.assign({},Op),{lookaheadStrategy:r?new Pi({maxLookahead:t.maxLookahead}):new op}),t))}get IS_RECORDING(){return this.RECORDING_PHASE}DEFINE_RULE(e,t){return this.RULE(e,t)}wrapSelfAnalysis(){this.performSelfAnalysis()}wrapConsume(e,t){return this.consume(e,t)}wrapSubrule(e,t,r){return this.subrule(e,t,{ARGS:[r]})}wrapOr(e,t){this.or(e,t)}wrapOption(e,t){this.option(e,t)}wrapMany(e,t){this.many(e,t)}wrapAtLeastOne(e,t){this.atLeastOne(e,t)}}function ic(n,e,t){return $p({parser:e,tokens:t,rules:new Map,ruleNames:new Map},n),e}function $p(n,e){const t=nl(e,!1),r=Q(e.rules).filter(Se).filter(i=>t.has(i));for(const i of r){const s=Object.assign(Object.assign({},n),{consume:1,optional:1,subrule:1,many:1,or:1});s.rules.set(i.name,n.parser.rule(i,pt(s,i.definition)))}}function pt(n,e,t=!1){let r;if(dt(e))r=Fp(n,e);else if(sr(e))r=Pp(n,e);else if(ut(e))r=pt(n,e.terminal);else if(bi(e))r=sc(n,e);else if(ft(e))r=Mp(n,e);else if(Po(e))r=jp(n,e);else if(Yo(e))r=Gp(n,e);else if(Ni(e))r=Up(n,e);else if(Zu(e)){const i=n.consume++;r=()=>n.parser.consume(i,tt,e)}else throw new To(e.$cstNode,`Unexpected element type: ${e.$type}`);return ac(n,t?void 0:Xn(e),r,e.cardinality)}function Pp(n,e){const t=cr(e);return()=>n.parser.action(t,e)}function Mp(n,e){const t=e.rule.ref;if(Se(t)){const r=n.subrule++,i=e.arguments.length>0?Dp(t,e.arguments):()=>({});return s=>n.parser.subrule(r,oc(n,t),e,i(s))}else if(gt(t)){const r=n.consume++,i=ui(n,t.name);return()=>n.parser.consume(r,i,e)}else if(t)ir();else throw new To(e.$cstNode,`Undefined rule type: ${e.$type}`)}function Dp(n,e){const t=e.map(r=>We(r.value));return r=>{const i={};for(let s=0;se(r)||t(r)}else if(Gu(n)){const e=We(n.left),t=We(n.right);return r=>e(r)&&t(r)}else if(Bu(n)){const e=We(n.value);return t=>!e(t)}else if(Wu(n)){const e=n.parameter.ref.name;return t=>t!==void 0&&t[e]===!0}else if(ju(n)){const e=!!n.true;return()=>e}ir()}function jp(n,e){if(e.elements.length===1)return pt(n,e.elements[0]);{const t=[];for(const i of e.elements){const s={ALT:pt(n,i,!0)},a=Xn(i);a&&(s.GATE=We(a)),t.push(s)}const r=n.or++;return i=>n.parser.alternatives(r,t.map(s=>{const a={ALT:()=>s.ALT(i)},o=s.GATE;return o&&(a.GATE=()=>o(i)),a}))}}function Gp(n,e){if(e.elements.length===1)return pt(n,e.elements[0]);const t=[];for(const o of e.elements){const l={ALT:pt(n,o,!0)},c=Xn(o);c&&(l.GATE=We(c)),t.push(l)}const r=n.or++,i=(o,l)=>{const c=l.getRuleStack().join("-");return`uGroup_${o}_${c}`},s=o=>n.parser.alternatives(r,t.map((l,c)=>{const u={ALT:()=>!0},d=n.parser;u.ALT=()=>{if(l.ALT(o),!d.isRecording()){const h=i(r,d);d.unorderedGroups.get(h)||d.unorderedGroups.set(h,[]);const m=d.unorderedGroups.get(h);typeof(m==null?void 0:m[c])>"u"&&(m[c]=!0)}};const f=l.GATE;return f?u.GATE=()=>f(o):u.GATE=()=>{const h=d.unorderedGroups.get(i(r,d));return!(h!=null&&h[c])},u})),a=ac(n,Xn(e),s,"*");return o=>{a(o),n.parser.isRecording()||n.parser.unorderedGroups.delete(i(r,n.parser))}}function Up(n,e){const t=e.elements.map(r=>pt(n,r));return r=>t.forEach(i=>i(r))}function Xn(n){if(Ni(n))return n.guardCondition}function sc(n,e,t=e.terminal){if(t)if(ft(t)&&Se(t.rule.ref)){const r=n.subrule++;return i=>n.parser.subrule(r,oc(n,t.rule.ref),e,i)}else if(ft(t)&>(t.rule.ref)){const r=n.consume++,i=ui(n,t.rule.ref.name);return()=>n.parser.consume(r,i,e)}else if(dt(t)){const r=n.consume++,i=ui(n,t.value);return()=>n.parser.consume(r,i,e)}else throw new Error("Could not build cross reference parser");else{if(!e.type.ref)throw new Error("Could not resolve reference to type: "+e.type.$refText);const r=sl(e.type.ref),i=r==null?void 0:r.terminal;if(!i)throw new Error("Could not find name assignment for type: "+cr(e.type.ref));return sc(n,e,i)}}function Fp(n,e){const t=n.consume++,r=n.tokens[e.value];if(!r)throw new Error("Could not find token for keyword: "+e.value);return()=>n.parser.consume(t,r,e)}function ac(n,e,t,r){const i=e&&We(e);if(!r)if(i){const s=n.or++;return a=>n.parser.alternatives(s,[{ALT:()=>t(a),GATE:()=>i(a)},{ALT:Ls(),GATE:()=>!i(a)}])}else return t;if(r==="*"){const s=n.many++;return a=>n.parser.many(s,{DEF:()=>t(a),GATE:i?()=>i(a):void 0})}else if(r==="+"){const s=n.many++;if(i){const a=n.or++;return o=>n.parser.alternatives(a,[{ALT:()=>n.parser.atLeastOne(s,{DEF:()=>t(o)}),GATE:()=>i(o)},{ALT:Ls(),GATE:()=>!i(o)}])}else return a=>n.parser.atLeastOne(s,{DEF:()=>t(a)})}else if(r==="?"){const s=n.optional++;return a=>n.parser.optional(s,{DEF:()=>t(a),GATE:i?()=>i(a):void 0})}else ir()}function oc(n,e){const t=Bp(n,e),r=n.rules.get(t);if(!r)throw new Error(`Rule "${t}" not found."`);return r}function Bp(n,e){if(Se(e))return e.name;if(n.ruleNames.has(e))return n.ruleNames.get(e);{let t=e,r=t.$container,i=e.$type;for(;!Se(r);)(Ni(r)||Po(r)||Yo(r))&&(i=r.elements.indexOf(t).toString()+":"+i),t=r,r=r.$container;return i=r.name+":"+i,n.ruleNames.set(e,i),i}}function ui(n,e){const t=n.tokens[e];if(!t)throw new Error(`Token "${e}" not found."`);return t}function Hp(n){const e=n.Grammar,t=n.parser.Lexer,r=new wp(n);return ic(e,r,t.definition),r.finalize(),r}function Vp(n){const e=Wp(n);return e.finalize(),e}function Wp(n){const e=n.Grammar,t=n.parser.Lexer,r=new xp(n);return ic(e,r,t.definition)}class lc{buildTokens(e,t){const r=Q(nl(e,!1)),i=this.buildTerminalTokens(r),s=this.buildKeywordTokens(r,i,t);return i.forEach(a=>{const o=a.PATTERN;typeof o=="object"&&o&&"test"in o&&cs(o)?s.unshift(a):s.push(a)}),s}buildTerminalTokens(e){return e.filter(gt).filter(t=>!t.fragment).map(t=>this.buildTerminalToken(t)).toArray()}buildTerminalToken(e){const t=xi(e),r=this.requiresCustomPattern(t)?this.regexPatternFunction(t):t,i={name:e.name,PATTERN:r,LINE_BREAKS:!0};return e.hidden&&(i.GROUP=cs(t)?de.SKIPPED:"hidden"),i}requiresCustomPattern(e){return e.flags.includes("u")?!0:!!(e.source.includes("?<=")||e.source.includes("?(t.lastIndex=i,t.exec(r))}buildKeywordTokens(e,t,r){return e.filter(Se).flatMap(i=>pn(i).filter(dt)).distinct(i=>i.value).toArray().sort((i,s)=>s.value.length-i.value.length).map(i=>this.buildKeywordToken(i,t,!!(r!=null&&r.caseInsensitive)))}buildKeywordToken(e,t,r){return{name:e.value,PATTERN:this.buildKeywordPattern(e,r),LONGER_ALT:this.findLongerAlt(e,t)}}buildKeywordPattern(e,t){return t?new RegExp(yd(e.value)):e.value}findLongerAlt(e,t){return t.reduce((r,i)=>{const s=i==null?void 0:i.PATTERN;return s!=null&&s.source&&Td("^"+s.source+"$",e.value)&&r.push(i),r},[])}}class cc{convert(e,t){let r=t.grammarSource;if(bi(r)&&(r=Rd(r)),ft(r)){const i=r.rule.ref;if(!i)throw new Error("This cst node was not parsed by a rule.");return this.runConverter(i,e,t)}return e}runConverter(e,t,r){var i;switch(e.name.toUpperCase()){case"INT":return Ve.convertInt(t);case"STRING":return Ve.convertString(t);case"ID":return Ve.convertID(t)}switch((i=xd(e))===null||i===void 0?void 0:i.toLowerCase()){case"number":return Ve.convertNumber(t);case"boolean":return Ve.convertBoolean(t);case"bigint":return Ve.convertBigint(t);case"date":return Ve.convertDate(t);default:return t}}}var Ve;(function(n){function e(c){let u="";for(let d=1;duc(e))}se.stringArray=Xp;var Vt={};Object.defineProperty(Vt,"__esModule",{value:!0});Vt.Emitter=Vt.Event=void 0;const Jp=yr;var Ga;(function(n){const e={dispose(){}};n.None=function(){return e}})(Ga||(Vt.Event=Ga={}));class Qp{add(e,t=null,r){this._callbacks||(this._callbacks=[],this._contexts=[]),this._callbacks.push(e),this._contexts.push(t),Array.isArray(r)&&r.push({dispose:()=>this.remove(e,t)})}remove(e,t=null){if(!this._callbacks)return;let r=!1;for(let i=0,s=this._callbacks.length;i{this._callbacks||(this._callbacks=new Qp),this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(e,t);const i={dispose:()=>{this._callbacks&&(this._callbacks.remove(e,t),i.dispose=Tr._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this))}};return Array.isArray(r)&&r.push(i),i}),this._event}fire(e){this._callbacks&&this._callbacks.invoke.call(this._callbacks,e)}dispose(){this._callbacks&&(this._callbacks.dispose(),this._callbacks=void 0)}}Vt.Emitter=Tr;Tr._noop=function(){};var X;Object.defineProperty(dn,"__esModule",{value:!0});var hi=dn.CancellationTokenSource=X=dn.CancellationToken=void 0;const Zp=yr,em=se,pi=Vt;var Jn;(function(n){n.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:pi.Event.None}),n.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:pi.Event.None});function e(t){const r=t;return r&&(r===n.None||r===n.Cancelled||em.boolean(r.isCancellationRequested)&&!!r.onCancellationRequested)}n.is=e})(Jn||(X=dn.CancellationToken=Jn={}));const tm=Object.freeze(function(n,e){const t=(0,Zp.default)().timer.setTimeout(n.bind(e),0);return{dispose(){t.dispose()}}});class Ua{constructor(){this._isCancelled=!1}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?tm:(this._emitter||(this._emitter=new pi.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=void 0)}}class nm{get token(){return this._token||(this._token=new Ua),this._token}cancel(){this._token?this._token.cancel():this._token=Jn.Cancelled}dispose(){this._token?this._token instanceof Ua&&this._token.dispose():this._token=Jn.None}}hi=dn.CancellationTokenSource=nm;function rm(){return new Promise(n=>{typeof setImmediate>"u"?setTimeout(n,0):setImmediate(n)})}let Fa=0,im=10;const Qn=Symbol("OperationCancelled");function Hi(n){return n===Qn}async function Le(n){if(n===X.None)return;const e=Date.now();if(e-Fa>=im&&(Fa=e,await rm()),n.isCancellationRequested)throw Qn}class Vi{constructor(){this.promise=new Promise((e,t)=>{this.resolve=r=>(e(r),this),this.reject=r=>(t(r),this)})}}class fn{constructor(e,t,r,i){this._uri=e,this._languageId=t,this._version=r,this._content=i,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){const t=this.offsetAt(e.start),r=this.offsetAt(e.end);return this._content.substring(t,r)}return this._content}update(e,t){for(const r of e)if(fn.isIncremental(r)){const i=hc(r.range),s=this.offsetAt(i.start),a=this.offsetAt(i.end);this._content=this._content.substring(0,s)+r.text+this._content.substring(a,this._content.length);const o=Math.max(i.start.line,0),l=Math.max(i.end.line,0);let c=this._lineOffsets;const u=Ba(r.text,!1,s);if(l-o===u.length)for(let f=0,h=u.length;fe?i=a:r=a+1}const s=r-1;return e=this.ensureBeforeEOL(e,t[s]),{line:s,character:e-t[s]}}offsetAt(e){const t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;const r=t[e.line];if(e.character<=0)return r;const i=e.line+1t&&fc(this._content.charCodeAt(e-1));)e--;return e}get lineCount(){return this.getLineOffsets().length}static isIncremental(e){const t=e;return t!=null&&typeof t.text=="string"&&t.range!==void 0&&(t.rangeLength===void 0||typeof t.rangeLength=="number")}static isFull(e){const t=e;return t!=null&&typeof t.text=="string"&&t.range===void 0&&t.rangeLength===void 0}}var mi;(function(n){function e(i,s,a,o){return new fn(i,s,a,o)}n.create=e;function t(i,s,a){if(i instanceof fn)return i.update(s,a),i;throw new Error("TextDocument.update: document must be created by TextDocument.create")}n.update=t;function r(i,s){const a=i.getText(),o=gi(s.map(sm),(u,d)=>{const f=u.range.start.line-d.range.start.line;return f===0?u.range.start.character-d.range.start.character:f});let l=0;const c=[];for(const u of o){const d=i.offsetAt(u.range.start);if(dl&&c.push(a.substring(l,d)),u.newText.length&&c.push(u.newText),l=i.offsetAt(u.range.end)}return c.push(a.substr(l)),c.join("")}n.applyEdits=r})(mi||(mi={}));function gi(n,e){if(n.length<=1)return n;const t=n.length/2|0,r=n.slice(0,t),i=n.slice(t);gi(r,e),gi(i,e);let s=0,a=0,o=0;for(;st.line||e.line===t.line&&e.character>t.character?{start:t,end:e}:n}function sm(n){const e=hc(n.range);return e!==n.range?{newText:n.newText,range:e}:n}var wr={version:"v20.17.0",versions:{node:"20.17.0",acorn:"8.11.3",ada:"2.9.0",ares:"1.32.3",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.2.2",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.13+quic",simdutf:"5.3.0",tz:"2024a",undici:"6.19.2",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-209717d"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule internal/idna","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/streams/utils","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/idna.js","lib/internal/inspector_async_hook.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_f474754f-950f-4d2e-994a-c524574e8031",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.17.0 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_f474754f-950f-4d2e-994a-c524574e8031",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.10.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu22",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"604",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",GOROOT_1_20_X64:"/opt/hostedtoolcache/go/1.20.14/x64",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20240915.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.7/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",JOURNAL_STREAM:"8:5513",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.17.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",npm_config_npm_version:"10.8.2",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"10931482109",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"30f0792baaad6e1889d29d0c00ae240dfec216c4",GITHUB_BASE_REF:"",ImageOS:"ubuntu22",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.17.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_8327e18c-9985-4d8c-819f-743e4582b3aa",INVOCATION_ID:"facc399a086f481090bef1701fa117fb",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"438",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 7",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"30f0792baaad6e1889d29d0c00ae240dfec216c4",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.17.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_f474754f-950f-4d2e-994a-c524574e8031",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_f474754f-950f-4d2e-994a-c524574e8031",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.1.12297006",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",STATS_EXTP:"https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_f474754f-950f-4d2e-994a-c524574e8031",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.17.0/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2081,ppid:2080,execPath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}},pc;(()=>{var n={470:i=>{function s(l){if(typeof l!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(l))}function a(l,c){for(var u,d="",f=0,h=-1,m=0,g=0;g<=l.length;++g){if(g2){var _=d.lastIndexOf("/");if(_!==d.length-1){_===-1?(d="",f=0):f=(d=d.slice(0,_)).length-1-d.lastIndexOf("/"),h=g,m=0;continue}}else if(d.length===2||d.length===1){d="",f=0,h=g,m=0;continue}}c&&(d.length>0?d+="/..":d="..",f=2)}else d.length>0?d+="/"+l.slice(h+1,g):d=l.slice(h+1,g),f=g-h-1;h=g,m=0}else u===46&&m!==-1?++m:m=-1}return d}var o={resolve:function(){for(var l,c="",u=!1,d=arguments.length-1;d>=-1&&!u;d--){var f;d>=0?f=arguments[d]:(l===void 0&&(l=wr.cwd()),f=l),s(f),f.length!==0&&(c=f+"/"+c,u=f.charCodeAt(0)===47)}return c=a(c,!u),u?c.length>0?"/"+c:"/":c.length>0?c:"."},normalize:function(l){if(s(l),l.length===0)return".";var c=l.charCodeAt(0)===47,u=l.charCodeAt(l.length-1)===47;return(l=a(l,!c)).length!==0||c||(l="."),l.length>0&&u&&(l+="/"),c?"/"+l:l},isAbsolute:function(l){return s(l),l.length>0&&l.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var l,c=0;c0&&(l===void 0?l=u:l+="/"+u)}return l===void 0?".":o.normalize(l)},relative:function(l,c){if(s(l),s(c),l===c||(l=o.resolve(l))===(c=o.resolve(c)))return"";for(var u=1;ug){if(c.charCodeAt(h+y)===47)return c.slice(h+y+1);if(y===0)return c.slice(h+y)}else f>g&&(l.charCodeAt(u+y)===47?_=y:y===0&&(_=0));break}var E=l.charCodeAt(u+y);if(E!==c.charCodeAt(h+y))break;E===47&&(_=y)}var v="";for(y=u+_+1;y<=d;++y)y!==d&&l.charCodeAt(y)!==47||(v.length===0?v+="..":v+="/..");return v.length>0?v+c.slice(h+_):(h+=_,c.charCodeAt(h)===47&&++h,c.slice(h))},_makeLong:function(l){return l},dirname:function(l){if(s(l),l.length===0)return".";for(var c=l.charCodeAt(0),u=c===47,d=-1,f=!0,h=l.length-1;h>=1;--h)if((c=l.charCodeAt(h))===47){if(!f){d=h;break}}else f=!1;return d===-1?u?"/":".":u&&d===1?"//":l.slice(0,d)},basename:function(l,c){if(c!==void 0&&typeof c!="string")throw new TypeError('"ext" argument must be a string');s(l);var u,d=0,f=-1,h=!0;if(c!==void 0&&c.length>0&&c.length<=l.length){if(c.length===l.length&&c===l)return"";var m=c.length-1,g=-1;for(u=l.length-1;u>=0;--u){var _=l.charCodeAt(u);if(_===47){if(!h){d=u+1;break}}else g===-1&&(h=!1,g=u+1),m>=0&&(_===c.charCodeAt(m)?--m==-1&&(f=u):(m=-1,f=g))}return d===f?f=g:f===-1&&(f=l.length),l.slice(d,f)}for(u=l.length-1;u>=0;--u)if(l.charCodeAt(u)===47){if(!h){d=u+1;break}}else f===-1&&(h=!1,f=u+1);return f===-1?"":l.slice(d,f)},extname:function(l){s(l);for(var c=-1,u=0,d=-1,f=!0,h=0,m=l.length-1;m>=0;--m){var g=l.charCodeAt(m);if(g!==47)d===-1&&(f=!1,d=m+1),g===46?c===-1?c=m:h!==1&&(h=1):c!==-1&&(h=-1);else if(!f){u=m+1;break}}return c===-1||d===-1||h===0||h===1&&c===d-1&&c===u+1?"":l.slice(c,d)},format:function(l){if(l===null||typeof l!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof l);return function(c,u){var d=u.dir||u.root,f=u.base||(u.name||"")+(u.ext||"");return d?d===u.root?d+f:d+"/"+f:f}(0,l)},parse:function(l){s(l);var c={root:"",dir:"",base:"",ext:"",name:""};if(l.length===0)return c;var u,d=l.charCodeAt(0),f=d===47;f?(c.root="/",u=1):u=0;for(var h=-1,m=0,g=-1,_=!0,y=l.length-1,E=0;y>=u;--y)if((d=l.charCodeAt(y))!==47)g===-1&&(_=!1,g=y+1),d===46?h===-1?h=y:E!==1&&(E=1):h!==-1&&(E=-1);else if(!_){m=y+1;break}return h===-1||g===-1||E===0||E===1&&h===g-1&&h===m+1?g!==-1&&(c.base=c.name=m===0&&f?l.slice(1,g):l.slice(m,g)):(m===0&&f?(c.name=l.slice(1,h),c.base=l.slice(1,g)):(c.name=l.slice(m,h),c.base=l.slice(m,g)),c.ext=l.slice(h,g)),m>0?c.dir=l.slice(0,m-1):f&&(c.dir="/"),c},sep:"/",delimiter:":",win32:null,posix:null};o.posix=o,i.exports=o}},e={};function t(i){var s=e[i];if(s!==void 0)return s.exports;var a=e[i]={exports:{}};return n[i](a,a.exports,t),a.exports}t.d=(i,s)=>{for(var a in s)t.o(s,a)&&!t.o(i,a)&&Object.defineProperty(i,a,{enumerable:!0,get:s[a]})},t.o=(i,s)=>Object.prototype.hasOwnProperty.call(i,s),t.r=i=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})};var r={};(()=>{let i;t.r(r),t.d(r,{URI:()=>f,Utils:()=>be}),typeof wr=="object"?i=wr.platform==="win32":typeof navigator=="object"&&(i=navigator.userAgent.indexOf("Windows")>=0);const s=/^\w[\w\d+.-]*$/,a=/^\//,o=/^\/\//;function l(A,T){if(!A.scheme&&T)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${A.authority}", path: "${A.path}", query: "${A.query}", fragment: "${A.fragment}"}`);if(A.scheme&&!s.test(A.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(A.path){if(A.authority){if(!a.test(A.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(o.test(A.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}const c="",u="/",d=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class f{constructor(T,R,N,L,O,w=!1){Je(this,"scheme");Je(this,"authority");Je(this,"path");Je(this,"query");Je(this,"fragment");typeof T=="object"?(this.scheme=T.scheme||c,this.authority=T.authority||c,this.path=T.path||c,this.query=T.query||c,this.fragment=T.fragment||c):(this.scheme=function(ye,z){return ye||z?ye:"file"}(T,w),this.authority=R||c,this.path=function(ye,z){switch(ye){case"https":case"http":case"file":z?z[0]!==u&&(z=u+z):z=u}return z}(this.scheme,N||c),this.query=L||c,this.fragment=O||c,l(this,w))}static isUri(T){return T instanceof f||!!T&&typeof T.authority=="string"&&typeof T.fragment=="string"&&typeof T.path=="string"&&typeof T.query=="string"&&typeof T.scheme=="string"&&typeof T.fsPath=="string"&&typeof T.with=="function"&&typeof T.toString=="function"}get fsPath(){return E(this)}with(T){if(!T)return this;let{scheme:R,authority:N,path:L,query:O,fragment:w}=T;return R===void 0?R=this.scheme:R===null&&(R=c),N===void 0?N=this.authority:N===null&&(N=c),L===void 0?L=this.path:L===null&&(L=c),O===void 0?O=this.query:O===null&&(O=c),w===void 0?w=this.fragment:w===null&&(w=c),R===this.scheme&&N===this.authority&&L===this.path&&O===this.query&&w===this.fragment?this:new m(R,N,L,O,w)}static parse(T,R=!1){const N=d.exec(T);return N?new m(N[2]||c,ne(N[4]||c),ne(N[5]||c),ne(N[7]||c),ne(N[9]||c),R):new m(c,c,c,c,c)}static file(T){let R=c;if(i&&(T=T.replace(/\\/g,u)),T[0]===u&&T[1]===u){const N=T.indexOf(u,2);N===-1?(R=T.substring(2),T=u):(R=T.substring(2,N),T=T.substring(N)||u)}return new m("file",R,T,c,c)}static from(T){const R=new m(T.scheme,T.authority,T.path,T.query,T.fragment);return l(R,!0),R}toString(T=!1){return v(this,T)}toJSON(){return this}static revive(T){if(T){if(T instanceof f)return T;{const R=new m(T);return R._formatted=T.external,R._fsPath=T._sep===h?T.fsPath:null,R}}return T}}const h=i?1:void 0;class m extends f{constructor(){super(...arguments);Je(this,"_formatted",null);Je(this,"_fsPath",null)}get fsPath(){return this._fsPath||(this._fsPath=E(this)),this._fsPath}toString(R=!1){return R?v(this,!0):(this._formatted||(this._formatted=v(this,!1)),this._formatted)}toJSON(){const R={$mid:1};return this._fsPath&&(R.fsPath=this._fsPath,R._sep=h),this._formatted&&(R.external=this._formatted),this.path&&(R.path=this.path),this.scheme&&(R.scheme=this.scheme),this.authority&&(R.authority=this.authority),this.query&&(R.query=this.query),this.fragment&&(R.fragment=this.fragment),R}}const g={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function _(A,T,R){let N,L=-1;for(let O=0;O=97&&w<=122||w>=65&&w<=90||w>=48&&w<=57||w===45||w===46||w===95||w===126||T&&w===47||R&&w===91||R&&w===93||R&&w===58)L!==-1&&(N+=encodeURIComponent(A.substring(L,O)),L=-1),N!==void 0&&(N+=A.charAt(O));else{N===void 0&&(N=A.substr(0,O));const ye=g[w];ye!==void 0?(L!==-1&&(N+=encodeURIComponent(A.substring(L,O)),L=-1),N+=ye):L===-1&&(L=O)}}return L!==-1&&(N+=encodeURIComponent(A.substring(L))),N!==void 0?N:A}function y(A){let T;for(let R=0;R1&&A.scheme==="file"?`//${A.authority}${A.path}`:A.path.charCodeAt(0)===47&&(A.path.charCodeAt(1)>=65&&A.path.charCodeAt(1)<=90||A.path.charCodeAt(1)>=97&&A.path.charCodeAt(1)<=122)&&A.path.charCodeAt(2)===58?A.path[1].toLowerCase()+A.path.substr(2):A.path,i&&(R=R.replace(/\//g,"\\")),R}function v(A,T){const R=T?y:_;let N="",{scheme:L,authority:O,path:w,query:ye,fragment:z}=A;if(L&&(N+=L,N+=":"),(O||L==="file")&&(N+=u,N+=u),O){let B=O.indexOf("@");if(B!==-1){const at=O.substr(0,B);O=O.substr(B+1),B=at.lastIndexOf(":"),B===-1?N+=R(at,!1,!1):(N+=R(at.substr(0,B),!1,!1),N+=":",N+=R(at.substr(B+1),!1,!0)),N+="@"}O=O.toLowerCase(),B=O.lastIndexOf(":"),B===-1?N+=R(O,!1,!0):(N+=R(O.substr(0,B),!1,!0),N+=O.substr(B))}if(w){if(w.length>=3&&w.charCodeAt(0)===47&&w.charCodeAt(2)===58){const B=w.charCodeAt(1);B>=65&&B<=90&&(w=`/${String.fromCharCode(B+32)}:${w.substr(3)}`)}else if(w.length>=2&&w.charCodeAt(1)===58){const B=w.charCodeAt(0);B>=65&&B<=90&&(w=`${String.fromCharCode(B+32)}:${w.substr(2)}`)}N+=R(w,!0,!1)}return ye&&(N+="?",N+=R(ye,!1,!1)),z&&(N+="#",N+=T?z:_(z,!1,!1)),N}function I(A){try{return decodeURIComponent(A)}catch{return A.length>3?A.substr(0,3)+I(A.substr(3)):A}}const j=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function ne(A){return A.match(j)?A.replace(j,T=>I(T)):A}var Ce=t(470);const ge=Ce.posix||Ce,De="/";var be;(function(A){A.joinPath=function(T,...R){return T.with({path:ge.join(T.path,...R)})},A.resolvePath=function(T,...R){let N=T.path,L=!1;N[0]!==De&&(N=De+N,L=!0);let O=ge.resolve(N,...R);return L&&O[0]===De&&!T.authority&&(O=O.substring(1)),T.with({path:O})},A.dirname=function(T){if(T.path.length===0||T.path===De)return T;let R=ge.dirname(T.path);return R.length===1&&R.charCodeAt(0)===46&&(R=""),T.with({path:R})},A.basename=function(T){return ge.basename(T.path)},A.extname=function(T){return ge.extname(T.path)}})(be||(be={}))})(),pc=r})();const{URI:Wt,Utils:sn}=pc;var rt;(function(n){n.basename=sn.basename,n.dirname=sn.dirname,n.extname=sn.extname,n.joinPath=sn.joinPath,n.resolvePath=sn.resolvePath;function e(r,i){return(r==null?void 0:r.toString())===(i==null?void 0:i.toString())}n.equals=e;function t(r,i){const s=typeof r=="string"?r:r.path,a=typeof i=="string"?i:i.path,o=s.split("/").filter(f=>f.length>0),l=a.split("/").filter(f=>f.length>0);let c=0;for(;ci??(i=mi.create(e.toString(),r.getServices(e).LanguageMetaData.languageId,0,t??""))}}class om{constructor(e){this.documentMap=new Map,this.langiumDocumentFactory=e.workspace.LangiumDocumentFactory}get all(){return Q(this.documentMap.values())}addDocument(e){const t=e.uri.toString();if(this.documentMap.has(t))throw new Error(`A document with the URI '${t}' is already present.`);this.documentMap.set(t,e)}getDocument(e){const t=e.toString();return this.documentMap.get(t)}async getOrCreateDocument(e,t){let r=this.getDocument(e);return r||(r=await this.langiumDocumentFactory.fromUri(e,t),this.addDocument(r),r)}createDocument(e,t,r){if(r)return this.langiumDocumentFactory.fromString(t,e,r).then(i=>(this.addDocument(i),i));{const i=this.langiumDocumentFactory.fromString(t,e);return this.addDocument(i),i}}hasDocument(e){return this.documentMap.has(e.toString())}invalidateDocument(e){const t=e.toString(),r=this.documentMap.get(t);return r&&(r.state=U.Changed,r.precomputedScopes=void 0,r.references=[],r.diagnostics=void 0),r}deleteDocument(e){const t=e.toString(),r=this.documentMap.get(t);return r&&(r.state=U.Changed,this.documentMap.delete(t)),r}}class lm{constructor(e){this.reflection=e.shared.AstReflection,this.langiumDocuments=()=>e.shared.workspace.LangiumDocuments,this.scopeProvider=e.references.ScopeProvider,this.astNodeLocator=e.workspace.AstNodeLocator}async link(e,t=X.None){for(const r of Et(e.parseResult.value))await Le(t),Zo(r).forEach(i=>this.doLink(i,e))}doLink(e,t){const r=e.reference;if(r._ref===void 0)try{const i=this.getCandidate(e);if(kn(i))r._ref=i;else if(r._nodeDescription=i,this.langiumDocuments().hasDocument(i.documentUri)){const s=this.loadAstNode(i);r._ref=s??this.createLinkingError(e,i)}}catch(i){r._ref=Object.assign(Object.assign({},e),{message:`An error occurred while resolving reference to '${r.$refText}': ${i}`})}t.references.push(r)}unlink(e){for(const t of e.references)delete t._ref,delete t._nodeDescription;e.references=[]}getCandidate(e){const r=this.scopeProvider.getScope(e).getElement(e.reference.$refText);return r??this.createLinkingError(e)}buildReference(e,t,r,i){const s=this,a={$refNode:r,$refText:i,get ref(){var o;if(ae(this._ref))return this._ref;if(Nu(this._nodeDescription)){const l=s.loadAstNode(this._nodeDescription);this._ref=l??s.createLinkingError({reference:a,container:e,property:t},this._nodeDescription)}else if(this._ref===void 0){const l=s.getLinkedNode({reference:a,container:e,property:t});if(l.error&&Ue(e).state=e.end)return s.ref}}if(r){const i=this.nameProvider.getNameNode(r);if(i&&(i===e||Su(e,i)))return r}}}findDeclarationNode(e){const t=this.findDeclaration(e);if(t!=null&&t.$cstNode){const r=this.nameProvider.getNameNode(t);return r??t.$cstNode}}findReferences(e,t){const r=[];if(t.includeDeclaration){const s=this.getReferenceToSelf(e);s&&r.push(s)}let i=this.index.findAllReferences(e,this.nodeLocator.getAstNodePath(e));return t.documentUri&&(i=i.filter(s=>rt.equals(s.sourceUri,t.documentUri))),r.push(...i),Q(r)}getReferenceToSelf(e){const t=this.nameProvider.getNameNode(e);if(t){const r=Ue(e),i=this.nodeLocator.getAstNodePath(e);return{sourceUri:r.uri,sourcePath:i,targetUri:r.uri,targetPath:i,segment:Ln(t),local:!0}}}}class Wi{constructor(e){if(this.map=new Map,e)for(const[t,r]of e)this.add(t,r)}get size(){return Pr.sum(Q(this.map.values()).map(e=>e.length))}clear(){this.map.clear()}delete(e,t){if(t===void 0)return this.map.delete(e);{const r=this.map.get(e);if(r){const i=r.indexOf(t);if(i>=0)return r.length===1?this.map.delete(e):r.splice(i,1),!0}return!1}}get(e){var t;return(t=this.map.get(e))!==null&&t!==void 0?t:[]}has(e,t){if(t===void 0)return this.map.has(e);{const r=this.map.get(e);return r?r.indexOf(t)>=0:!1}}add(e,t){return this.map.has(e)?this.map.get(e).push(t):this.map.set(e,[t]),this}addAll(e,t){return this.map.has(e)?this.map.get(e).push(...t):this.map.set(e,Array.from(t)),this}forEach(e){this.map.forEach((t,r)=>t.forEach(i=>e(i,r,this)))}[Symbol.iterator](){return this.entries().iterator()}entries(){return Q(this.map.entries()).flatMap(([e,t])=>t.map(r=>[e,r]))}keys(){return Q(this.map.keys())}values(){return Q(this.map.values()).flat()}entriesGroupedByKey(){return Q(this.map.entries())}}class Ha{get size(){return this.map.size}constructor(e){if(this.map=new Map,this.inverse=new Map,e)for(const[t,r]of e)this.set(t,r)}clear(){this.map.clear(),this.inverse.clear()}set(e,t){return this.map.set(e,t),this.inverse.set(t,e),this}get(e){return this.map.get(e)}getKey(e){return this.inverse.get(e)}delete(e){const t=this.map.get(e);return t!==void 0?(this.map.delete(e),this.inverse.delete(t),!0):!1}}class fm{constructor(e){this.nameProvider=e.references.NameProvider,this.descriptions=e.workspace.AstNodeDescriptionProvider}async computeExports(e,t=X.None){return this.computeExportsForNode(e.parseResult.value,e,void 0,t)}async computeExportsForNode(e,t,r=ki,i=X.None){const s=[];this.exportNode(e,s,t);for(const a of r(e))await Le(i),this.exportNode(a,s,t);return s}exportNode(e,t,r){const i=this.nameProvider.getName(e);i&&t.push(this.descriptions.createDescription(e,i,r))}async computeLocalScopes(e,t=X.None){const r=e.parseResult.value,i=new Wi;for(const s of pn(r))await Le(t),this.processNode(s,e,i);return i}processNode(e,t,r){const i=e.$container;if(i){const s=this.nameProvider.getName(e);s&&r.add(i,this.descriptions.createDescription(e,s,t))}}}class Va{constructor(e,t,r){var i;this.elements=e,this.outerScope=t,this.caseInsensitive=(i=r==null?void 0:r.caseInsensitive)!==null&&i!==void 0?i:!1}getAllElements(){return this.outerScope?this.elements.concat(this.outerScope.getAllElements()):this.elements}getElement(e){const t=this.caseInsensitive?this.elements.find(r=>r.name.toLowerCase()===e.toLowerCase()):this.elements.find(r=>r.name===e);if(t)return t;if(this.outerScope)return this.outerScope.getElement(e)}}class hm{constructor(e,t,r){var i;this.elements=new Map,this.caseInsensitive=(i=r==null?void 0:r.caseInsensitive)!==null&&i!==void 0?i:!1;for(const s of e){const a=this.caseInsensitive?s.name.toLowerCase():s.name;this.elements.set(a,s)}this.outerScope=t}getElement(e){const t=this.caseInsensitive?e.toLowerCase():e,r=this.elements.get(t);if(r)return r;if(this.outerScope)return this.outerScope.getElement(e)}getAllElements(){let e=Q(this.elements.values());return this.outerScope&&(e=e.concat(this.outerScope.getAllElements())),e}}class mc{constructor(){this.toDispose=[],this.isDisposed=!1}onDispose(e){this.toDispose.push(e)}dispose(){this.throwIfDisposed(),this.clear(),this.isDisposed=!0,this.toDispose.forEach(e=>e.dispose())}throwIfDisposed(){if(this.isDisposed)throw new Error("This cache has already been disposed")}}class pm extends mc{constructor(){super(...arguments),this.cache=new Map}has(e){return this.throwIfDisposed(),this.cache.has(e)}set(e,t){this.throwIfDisposed(),this.cache.set(e,t)}get(e,t){if(this.throwIfDisposed(),this.cache.has(e))return this.cache.get(e);if(t){const r=t();return this.cache.set(e,r),r}else return}delete(e){return this.throwIfDisposed(),this.cache.delete(e)}clear(){this.throwIfDisposed(),this.cache.clear()}}class mm extends mc{constructor(e){super(),this.cache=new Map,this.converter=e??(t=>t)}has(e,t){return this.throwIfDisposed(),this.cacheForContext(e).has(t)}set(e,t,r){this.throwIfDisposed(),this.cacheForContext(e).set(t,r)}get(e,t,r){this.throwIfDisposed();const i=this.cacheForContext(e);if(i.has(t))return i.get(t);if(r){const s=r();return i.set(t,s),s}else return}delete(e,t){return this.throwIfDisposed(),this.cacheForContext(e).delete(t)}clear(e){if(this.throwIfDisposed(),e){const t=this.converter(e);this.cache.delete(t)}else this.cache.clear()}cacheForContext(e){const t=this.converter(e);let r=this.cache.get(t);return r||(r=new Map,this.cache.set(t,r)),r}}class gm extends pm{constructor(e){super(),this.onDispose(e.workspace.DocumentBuilder.onUpdate(()=>{this.clear()}))}}class ym{constructor(e){this.reflection=e.shared.AstReflection,this.nameProvider=e.references.NameProvider,this.descriptions=e.workspace.AstNodeDescriptionProvider,this.indexManager=e.shared.workspace.IndexManager,this.globalScopeCache=new gm(e.shared)}getScope(e){const t=[],r=this.reflection.getReferenceType(e),i=Ue(e.container).precomputedScopes;if(i){let a=e.container;do{const o=i.get(a);o.length>0&&t.push(Q(o).filter(l=>this.reflection.isSubtype(l.type,r))),a=a.$container}while(a)}let s=this.getGlobalScope(r,e);for(let a=t.length-1;a>=0;a--)s=this.createScope(t[a],s);return s}createScope(e,t,r){return new Va(Q(e),t,r)}createScopeForNodes(e,t,r){const i=Q(e).map(s=>{const a=this.nameProvider.getName(s);if(a)return this.descriptions.createDescription(s,a)}).nonNullable();return new Va(i,t,r)}getGlobalScope(e,t){return this.globalScopeCache.get(e,()=>new hm(this.indexManager.allElements(e)))}}function Tm(n){return typeof n.$comment=="string"}function Wa(n){return typeof n=="object"&&!!n&&("$ref"in n||"$error"in n)}class vm{constructor(e){this.ignoreProperties=new Set(["$container","$containerProperty","$containerIndex","$document","$cstNode"]),this.langiumDocuments=e.shared.workspace.LangiumDocuments,this.astNodeLocator=e.workspace.AstNodeLocator,this.nameProvider=e.references.NameProvider,this.commentProvider=e.documentation.CommentProvider}serialize(e,t={}){const r=t==null?void 0:t.replacer,i=(a,o)=>this.replacer(a,o,t),s=r?(a,o)=>r(a,o,i):i;try{return this.currentDocument=Ue(e),JSON.stringify(e,s,t==null?void 0:t.space)}finally{this.currentDocument=void 0}}deserialize(e,t={}){const r=JSON.parse(e);return this.linkNode(r,r,t),r}replacer(e,t,{refText:r,sourceText:i,textRegions:s,comments:a,uriConverter:o}){var l,c,u,d;if(!this.ignoreProperties.has(e))if(Ge(t)){const f=t.ref,h=r?t.$refText:void 0;if(f){const m=Ue(f);let g="";this.currentDocument&&this.currentDocument!==m&&(o?g=o(m.uri,t):g=m.uri.toString());const _=this.astNodeLocator.getAstNodePath(f);return{$ref:`${g}#${_}`,$refText:h}}else return{$error:(c=(l=t.error)===null||l===void 0?void 0:l.message)!==null&&c!==void 0?c:"Could not resolve reference",$refText:h}}else if(ae(t)){let f;if(s&&(f=this.addAstNodeRegionWithAssignmentsTo(Object.assign({},t)),(!e||t.$document)&&(f!=null&&f.$textRegion)&&(f.$textRegion.documentURI=(u=this.currentDocument)===null||u===void 0?void 0:u.uri.toString())),i&&!e&&(f??(f=Object.assign({},t)),f.$sourceText=(d=t.$cstNode)===null||d===void 0?void 0:d.text),a){f??(f=Object.assign({},t));const h=this.commentProvider.getComment(t);h&&(f.$comment=h.replace(/\r/g,""))}return f??t}else return t}addAstNodeRegionWithAssignmentsTo(e){const t=r=>({offset:r.offset,end:r.end,length:r.length,range:r.range});if(e.$cstNode){const r=e.$textRegion=t(e.$cstNode),i=r.assignments={};return Object.keys(e).filter(s=>!s.startsWith("$")).forEach(s=>{const a=bd(e.$cstNode,s).map(t);a.length!==0&&(i[s]=a)}),e}}linkNode(e,t,r,i,s,a){for(const[l,c]of Object.entries(e))if(Array.isArray(c))for(let u=0;u{try{await e.call(t,r,i,s)}catch(a){if(Hi(a))throw a;console.error("An error occurred during validation:",a);const o=a instanceof Error?a.message:String(a);a instanceof Error&&a.stack&&console.error(a.stack),i("error","An error occurred during validation: "+o,{node:r})}}}addEntry(e,t){if(e==="AstNode"){this.entries.add("AstNode",t);return}for(const r of this.reflection.getAllSubTypes(e))this.entries.add(r,t)}getChecks(e,t){let r=Q(this.entries.get(e)).concat(this.entries.get("AstNode"));return t&&(r=r.filter(i=>t.includes(i.category))),r.map(i=>i.check)}}class Rm{constructor(e){this.validationRegistry=e.validation.ValidationRegistry,this.metadata=e.LanguageMetaData}async validateDocument(e,t={},r=X.None){const i=e.parseResult,s=[];if(await Le(r),(!t.categories||t.categories.includes("built-in"))&&(this.processLexingErrors(i,s,t),t.stopAfterLexingErrors&&s.some(a=>{var o;return((o=a.data)===null||o===void 0?void 0:o.code)===Qe.LexingError})||(this.processParsingErrors(i,s,t),t.stopAfterParsingErrors&&s.some(a=>{var o;return((o=a.data)===null||o===void 0?void 0:o.code)===Qe.ParsingError}))||(this.processLinkingErrors(e,s,t),t.stopAfterLinkingErrors&&s.some(a=>{var o;return((o=a.data)===null||o===void 0?void 0:o.code)===Qe.LinkingError}))))return s;try{s.push(...await this.validateAst(i.value,t,r))}catch(a){if(Hi(a))throw a;console.error("An error occurred during validation:",a)}return await Le(r),s}processLexingErrors(e,t,r){for(const i of e.lexerErrors){const s={severity:Or("error"),range:{start:{line:i.line-1,character:i.column-1},end:{line:i.line-1,character:i.column+i.length-1}},message:i.message,data:Ka(Qe.LexingError),source:this.getSource()};t.push(s)}}processParsingErrors(e,t,r){for(const i of e.parserErrors){let s;if(isNaN(i.token.startOffset)){if("previousToken"in i){const a=i.previousToken;if(isNaN(a.startOffset)){const o={line:0,character:0};s={start:o,end:o}}else{const o={line:a.endLine-1,character:a.endColumn};s={start:o,end:o}}}}else s=Dr(i.token);if(s){const a={severity:Or("error"),range:s,message:i.message,data:Ka(Qe.ParsingError),source:this.getSource()};t.push(a)}}}processLinkingErrors(e,t,r){for(const i of e.references){const s=i.error;if(s){const a={node:s.container,property:s.property,index:s.index,data:{code:Qe.LinkingError,containerType:s.container.$type,property:s.property,refText:s.reference.$refText}};t.push(this.toDiagnostic("error",s.message,a))}}}async validateAst(e,t,r=X.None){const i=[],s=(a,o,l)=>{i.push(this.toDiagnostic(a,o,l))};return await Promise.all(Et(e).map(async a=>{await Le(r);const o=this.validationRegistry.getChecks(a.$type,t.categories);for(const l of o)await l(a,s,r)})),i}toDiagnostic(e,t,r){return{message:t,range:Am(r),severity:Or(e),code:r.code,codeDescription:r.codeDescription,tags:r.tags,relatedInformation:r.relatedInformation,data:r.data,source:this.getSource()}}getSource(){return this.metadata.languageId}}function Am(n){if(n.range)return n.range;let e;return typeof n.property=="string"?e=il(n.node.$cstNode,n.property,n.index):typeof n.keyword=="string"&&(e=Nd(n.node.$cstNode,n.keyword,n.index)),e??(e=n.node.$cstNode),e?e.range:{start:{line:0,character:0},end:{line:0,character:0}}}function Or(n){switch(n){case"error":return 1;case"warning":return 2;case"info":return 3;case"hint":return 4;default:throw new Error("Invalid diagnostic severity: "+n)}}var Qe;(function(n){n.LexingError="lexing-error",n.ParsingError="parsing-error",n.LinkingError="linking-error"})(Qe||(Qe={}));class bm{constructor(e){this.astNodeLocator=e.workspace.AstNodeLocator,this.nameProvider=e.references.NameProvider}createDescription(e,t,r=Ue(e)){t??(t=this.nameProvider.getName(e));const i=this.astNodeLocator.getAstNodePath(e);if(!t)throw new Error(`Node at path ${i} has no name.`);let s;const a=()=>{var o;return s??(s=Ln((o=this.nameProvider.getNameNode(e))!==null&&o!==void 0?o:e.$cstNode))};return{node:e,name:t,get nameSegment(){return a()},selectionSegment:Ln(e.$cstNode),type:e.$type,documentUri:r.uri,path:i}}}class Nm{constructor(e){this.nodeLocator=e.workspace.AstNodeLocator}async createDescriptions(e,t=X.None){const r=[],i=e.parseResult.value;for(const s of Et(i))await Le(t),Zo(s).filter(a=>!kn(a)).forEach(a=>{const o=this.createDescription(a);o&&r.push(o)});return r}createDescription(e){const t=e.reference.$nodeDescription,r=e.reference.$refNode;if(!t||!r)return;const i=Ue(e.container).uri;return{sourceUri:i,sourcePath:this.nodeLocator.getAstNodePath(e.container),targetUri:t.documentUri,targetPath:t.path,segment:Ln(r),local:rt.equals(t.documentUri,i)}}}class km{constructor(){this.segmentSeparator="/",this.indexSeparator="@"}getAstNodePath(e){if(e.$container){const t=this.getAstNodePath(e.$container),r=this.getPathSegment(e);return t+this.segmentSeparator+r}return""}getPathSegment({$containerProperty:e,$containerIndex:t}){if(!e)throw new Error("Missing '$containerProperty' in AST node.");return t!==void 0?e+this.indexSeparator+t:e}getAstNode(e,t){return t.split(this.segmentSeparator).reduce((i,s)=>{if(!i||s.length===0)return i;const a=s.indexOf(this.indexSeparator);if(a>0){const o=s.substring(0,a),l=parseInt(s.substring(a+1)),c=i[o];return c==null?void 0:c[l]}return i[s]},e)}}class Im{constructor(e){this._ready=new Vi,this.settings={},this.workspaceConfig=!1,this.serviceRegistry=e.ServiceRegistry}get ready(){return this._ready.promise}initialize(e){var t,r;this.workspaceConfig=(r=(t=e.capabilities.workspace)===null||t===void 0?void 0:t.configuration)!==null&&r!==void 0?r:!1}async initialized(e){if(this.workspaceConfig){if(e.register){const t=this.serviceRegistry.all;e.register({section:t.map(r=>this.toSectionName(r.LanguageMetaData.languageId))})}if(e.fetchConfiguration){const t=this.serviceRegistry.all.map(i=>({section:this.toSectionName(i.LanguageMetaData.languageId)})),r=await e.fetchConfiguration(t);t.forEach((i,s)=>{this.updateSectionConfiguration(i.section,r[s])})}}this._ready.resolve()}updateConfiguration(e){e.settings&&Object.keys(e.settings).forEach(t=>{this.updateSectionConfiguration(t,e.settings[t])})}updateSectionConfiguration(e,t){this.settings[e]=t}async getConfiguration(e,t){await this.ready;const r=this.toSectionName(e);if(this.settings[r])return this.settings[r][t]}toSectionName(e){return`${e}`}}var er;(function(n){function e(t){return{dispose:async()=>await t()}}n.create=e})(er||(er={}));class Sm{constructor(e){this.updateBuildOptions={validation:{categories:["built-in","fast"]}},this.updateListeners=[],this.buildPhaseListeners=new Wi,this.buildState=new Map,this.documentBuildWaiters=new Map,this.currentState=U.Changed,this.langiumDocuments=e.workspace.LangiumDocuments,this.langiumDocumentFactory=e.workspace.LangiumDocumentFactory,this.indexManager=e.workspace.IndexManager,this.serviceRegistry=e.ServiceRegistry}async build(e,t={},r=X.None){var i,s;for(const a of e){const o=a.uri.toString();if(a.state===U.Validated){if(typeof t.validation=="boolean"&&t.validation)a.state=U.IndexedReferences,a.diagnostics=void 0,this.buildState.delete(o);else if(typeof t.validation=="object"){const l=this.buildState.get(o),c=(i=l==null?void 0:l.result)===null||i===void 0?void 0:i.validationChecks;if(c){const d=((s=t.validation.categories)!==null&&s!==void 0?s:Zn.all).filter(f=>!c.includes(f));d.length>0&&(this.buildState.set(o,{completed:!1,options:{validation:Object.assign(Object.assign({},t.validation),{categories:d})},result:l.result}),a.state=U.IndexedReferences)}}}else this.buildState.delete(o)}this.currentState=U.Changed,await this.emitUpdate(e.map(a=>a.uri),[]),await this.buildDocuments(e,t,r)}async update(e,t,r=X.None){this.currentState=U.Changed;for(const a of t)this.langiumDocuments.deleteDocument(a),this.buildState.delete(a.toString()),this.indexManager.remove(a);for(const a of e){if(!this.langiumDocuments.invalidateDocument(a)){const l=this.langiumDocumentFactory.fromModel({$type:"INVALID"},a);l.state=U.Changed,this.langiumDocuments.addDocument(l)}this.buildState.delete(a.toString())}const i=Q(e).concat(t).map(a=>a.toString()).toSet();this.langiumDocuments.all.filter(a=>!i.has(a.uri.toString())&&this.shouldRelink(a,i)).forEach(a=>{this.serviceRegistry.getServices(a.uri).references.Linker.unlink(a),a.state=Math.min(a.state,U.ComputedScopes),a.diagnostics=void 0}),await this.emitUpdate(e,t),await Le(r);const s=this.langiumDocuments.all.filter(a=>{var o;return a.stater(e,t)))}shouldRelink(e,t){return e.references.some(r=>r.error!==void 0)?!0:this.indexManager.isAffected(e,t)}onUpdate(e){return this.updateListeners.push(e),er.create(()=>{const t=this.updateListeners.indexOf(e);t>=0&&this.updateListeners.splice(t,1)})}async buildDocuments(e,t,r){this.prepareBuild(e,t),await this.runCancelable(e,U.Parsed,r,s=>this.langiumDocumentFactory.update(s,r)),await this.runCancelable(e,U.IndexedContent,r,s=>this.indexManager.updateContent(s,r)),await this.runCancelable(e,U.ComputedScopes,r,async s=>{const a=this.serviceRegistry.getServices(s.uri).references.ScopeComputation;s.precomputedScopes=await a.computeLocalScopes(s,r)}),await this.runCancelable(e,U.Linked,r,s=>this.serviceRegistry.getServices(s.uri).references.Linker.link(s,r)),await this.runCancelable(e,U.IndexedReferences,r,s=>this.indexManager.updateReferences(s,r));const i=e.filter(s=>this.shouldValidate(s));await this.runCancelable(i,U.Validated,r,s=>this.validate(s,r));for(const s of e){const a=this.buildState.get(s.uri.toString());a&&(a.completed=!0)}}prepareBuild(e,t){for(const r of e){const i=r.uri.toString(),s=this.buildState.get(i);(!s||s.completed)&&this.buildState.set(i,{completed:!1,options:t,result:s==null?void 0:s.result})}}async runCancelable(e,t,r,i){const s=e.filter(a=>a.state{this.buildPhaseListeners.delete(e,t)})}waitUntil(e,t,r){let i;if(t&&"path"in t?i=t:r=t,r??(r=X.None),i){const s=this.langiumDocuments.getDocument(i);if(s&&s.state>e)return Promise.resolve(i)}return this.currentState>=e?Promise.resolve(void 0):r.isCancellationRequested?Promise.reject(Qn):new Promise((s,a)=>{const o=this.onBuildPhase(e,()=>{if(o.dispose(),l.dispose(),i){const c=this.langiumDocuments.getDocument(i);s(c==null?void 0:c.uri)}else s(void 0)}),l=r.onCancellationRequested(()=>{o.dispose(),l.dispose(),a(Qn)})})}async notifyBuildPhase(e,t,r){if(e.length===0)return;const i=this.buildPhaseListeners.get(t);for(const s of i)await Le(r),await s(e,r)}shouldValidate(e){return!!this.getBuildOptions(e).validation}async validate(e,t){var r,i;const s=this.serviceRegistry.getServices(e.uri).validation.DocumentValidator,a=this.getBuildOptions(e).validation,o=typeof a=="object"?a:void 0,l=await s.validateDocument(e,o,t);e.diagnostics?e.diagnostics.push(...l):e.diagnostics=l;const c=this.buildState.get(e.uri.toString());if(c){(r=c.result)!==null&&r!==void 0||(c.result={});const u=(i=o==null?void 0:o.categories)!==null&&i!==void 0?i:Zn.all;c.result.validationChecks?c.result.validationChecks.push(...u):c.result.validationChecks=[...u]}}getBuildOptions(e){var t,r;return(r=(t=this.buildState.get(e.uri.toString()))===null||t===void 0?void 0:t.options)!==null&&r!==void 0?r:{}}}class xm{constructor(e){this.symbolIndex=new Map,this.symbolByTypeIndex=new mm,this.referenceIndex=new Map,this.documents=e.workspace.LangiumDocuments,this.serviceRegistry=e.ServiceRegistry,this.astReflection=e.AstReflection}findAllReferences(e,t){const r=Ue(e).uri,i=[];return this.referenceIndex.forEach(s=>{s.forEach(a=>{rt.equals(a.targetUri,r)&&a.targetPath===t&&i.push(a)})}),Q(i)}allElements(e,t){let r=Q(this.symbolIndex.keys());return t&&(r=r.filter(i=>!t||t.has(i))),r.map(i=>this.getFileDescriptions(i,e)).flat()}getFileDescriptions(e,t){var r;return t?this.symbolByTypeIndex.get(e,t,()=>{var s;return((s=this.symbolIndex.get(e))!==null&&s!==void 0?s:[]).filter(o=>this.astReflection.isSubtype(o.type,t))}):(r=this.symbolIndex.get(e))!==null&&r!==void 0?r:[]}remove(e){const t=e.toString();this.symbolIndex.delete(t),this.symbolByTypeIndex.clear(t),this.referenceIndex.delete(t)}async updateContent(e,t=X.None){const i=await this.serviceRegistry.getServices(e.uri).references.ScopeComputation.computeExports(e,t),s=e.uri.toString();this.symbolIndex.set(s,i),this.symbolByTypeIndex.clear(s)}async updateReferences(e,t=X.None){const i=await this.serviceRegistry.getServices(e.uri).workspace.ReferenceDescriptionProvider.createDescriptions(e,t);this.referenceIndex.set(e.uri.toString(),i)}isAffected(e,t){const r=this.referenceIndex.get(e.uri.toString());return r?r.some(i=>!i.local&&t.has(i.targetUri.toString())):!1}}class Cm{constructor(e){this.initialBuildOptions={},this._ready=new Vi,this.serviceRegistry=e.ServiceRegistry,this.langiumDocuments=e.workspace.LangiumDocuments,this.documentBuilder=e.workspace.DocumentBuilder,this.fileSystemProvider=e.workspace.FileSystemProvider,this.mutex=e.workspace.WorkspaceLock}get ready(){return this._ready.promise}initialize(e){var t;this.folders=(t=e.workspaceFolders)!==null&&t!==void 0?t:void 0}initialized(e){return this.mutex.write(t=>{var r;return this.initializeWorkspace((r=this.folders)!==null&&r!==void 0?r:[],t)})}async initializeWorkspace(e,t=X.None){const r=await this.performStartup(e);await Le(t),await this.documentBuilder.build(r,this.initialBuildOptions,t)}async performStartup(e){const t=this.serviceRegistry.all.flatMap(s=>s.LanguageMetaData.fileExtensions),r=[],i=s=>{r.push(s),this.langiumDocuments.hasDocument(s.uri)||this.langiumDocuments.addDocument(s)};return await this.loadAdditionalDocuments(e,i),await Promise.all(e.map(s=>[s,this.getRootFolder(s)]).map(async s=>this.traverseFolder(...s,t,i))),this._ready.resolve(),r}loadAdditionalDocuments(e,t){return Promise.resolve()}getRootFolder(e){return Wt.parse(e.uri)}async traverseFolder(e,t,r,i){const s=await this.fileSystemProvider.readDirectory(t);await Promise.all(s.map(async a=>{if(this.includeEntry(e,a,r)){if(a.isDirectory)await this.traverseFolder(e,a.uri,r,i);else if(a.isFile){const o=await this.langiumDocuments.getOrCreateDocument(a.uri);i(o)}}}))}includeEntry(e,t,r){const i=rt.basename(t.uri);if(i.startsWith("."))return!1;if(t.isDirectory)return i!=="node_modules"&&i!=="out";if(t.isFile){const s=rt.extname(t.uri);return r.includes(s)}return!1}}class wm{constructor(e){const t=e.parser.TokenBuilder.buildTokens(e.Grammar,{caseInsensitive:e.LanguageMetaData.caseInsensitive});this.tokenTypes=this.toTokenTypeDictionary(t);const r=za(t)?Object.values(t):t;this.chevrotainLexer=new de(r,{positionTracking:"full"})}get definition(){return this.tokenTypes}tokenize(e){var t;const r=this.chevrotainLexer.tokenize(e);return{tokens:r.tokens,errors:r.errors,hidden:(t=r.groups.hidden)!==null&&t!==void 0?t:[]}}toTokenTypeDictionary(e){if(za(e))return e;const t=gc(e)?Object.values(e.modes).flat():e,r={};return t.forEach(i=>r[i.name]=i),r}}function Om(n){return Array.isArray(n)&&(n.length===0||"name"in n[0])}function gc(n){return n&&"modes"in n&&"defaultMode"in n}function za(n){return!Om(n)&&!gc(n)}function Lm(n,e,t){let r,i;typeof n=="string"?(i=e,r=t):(i=n.range.start,r=e),i||(i=P.create(0,0));const s=yc(n),a=Ki(r),o=Mm({lines:s,position:i,options:a});return Fm({index:0,tokens:o,position:i})}function $m(n,e){const t=Ki(e),r=yc(n);if(r.length===0)return!1;const i=r[0],s=r[r.length-1],a=t.start,o=t.end;return!!(a!=null&&a.exec(i))&&!!(o!=null&&o.exec(s))}function yc(n){let e="";return typeof n=="string"?e=n:e=n.text,e.split(hd)}const qa=/\s*(@([\p{L}][\p{L}\p{N}]*)?)/uy,Pm=/\{(@[\p{L}][\p{L}\p{N}]*)(\s*)([^\r\n}]+)?\}/gu;function Mm(n){var e,t,r;const i=[];let s=n.position.line,a=n.position.character;for(let o=0;o=u.length){if(i.length>0){const h=P.create(s,a);i.push({type:"break",content:"",range:$.create(h,h)})}}else{qa.lastIndex=d;const h=qa.exec(u);if(h){const m=h[0],g=h[1],_=P.create(s,a+d),y=P.create(s,a+d+m.length);i.push({type:"tag",content:g,range:$.create(_,y)}),d+=m.length,d=yi(u,d)}if(d0&&i[i.length-1].type==="break"?i.slice(0,-1):i}function Dm(n,e,t,r){const i=[];if(n.length===0){const s=P.create(t,r),a=P.create(t,r+e.length);i.push({type:"text",content:e,range:$.create(s,a)})}else{let s=0;for(const o of n){const l=o.index,c=e.substring(s,l);c.length>0&&i.push({type:"text",content:e.substring(s,l),range:$.create(P.create(t,s+r),P.create(t,l+r))});let u=c.length+1;const d=o[1];if(i.push({type:"inline-tag",content:d,range:$.create(P.create(t,s+u+r),P.create(t,s+u+d.length+r))}),u+=d.length,o.length===4){u+=o[2].length;const f=o[3];i.push({type:"text",content:f,range:$.create(P.create(t,s+u+r),P.create(t,s+u+f.length+r))})}else i.push({type:"text",content:"",range:$.create(P.create(t,s+u+r),P.create(t,s+u+r))});s=l+o[0].length}const a=e.substring(s);a.length>0&&i.push({type:"text",content:a,range:$.create(P.create(t,s+r),P.create(t,s+r+a.length))})}return i}const jm=/\S/,Gm=/\s*$/;function yi(n,e){const t=n.substring(e).match(jm);return t?e+t.index:n.length}function Um(n){const e=n.match(Gm);if(e&&typeof e.index=="number")return e.index}function Fm(n){var e,t,r,i;const s=P.create(n.position.line,n.position.character);if(n.tokens.length===0)return new Ya([],$.create(s,s));const a=[];for(;n.indext.name===e)}getTags(e){return this.getAllTags().filter(t=>t.name===e)}getAllTags(){return this.elements.filter(e=>"name"in e)}toString(){let e="";for(const t of this.elements)if(e.length===0)e=t.toString();else{const r=t.toString();e+=Xa(e)+r}return e.trim()}toMarkdown(e){let t="";for(const r of this.elements)if(t.length===0)t=r.toMarkdown(e);else{const i=r.toMarkdown(e);t+=Xa(t)+i}return t.trim()}}class $r{constructor(e,t,r,i){this.name=e,this.content=t,this.inline=r,this.range=i}toString(){let e=`@${this.name}`;const t=this.content.toString();return this.content.inlines.length===1?e=`${e} ${t}`:this.content.inlines.length>1&&(e=`${e} +`;case"r":return"\r";case"t":return" ";case"v":return"\v";case"0":return"\0";default:return c}}function r(c){return c.charAt(0)==="^"?c.substring(1):c}n.convertID=r;function i(c){return parseInt(c)}n.convertInt=i;function s(c){return BigInt(c)}n.convertBigint=s;function a(c){return new Date(c)}n.convertDate=a;function o(c){return Number(c)}n.convertNumber=o;function l(c){return c.toLowerCase()==="true"}n.convertBoolean=l})(Ve||(Ve={}));var dn={},yr={};Object.defineProperty(yr,"__esModule",{value:!0});let di;function fi(){if(di===void 0)throw new Error("No runtime abstraction layer installed");return di}(function(n){function e(t){if(t===void 0)throw new Error("No runtime abstraction layer provided");di=t}n.install=e})(fi||(fi={}));yr.default=fi;var se={};Object.defineProperty(se,"__esModule",{value:!0});se.stringArray=se.array=se.func=se.error=se.number=se.string=se.boolean=void 0;function Kp(n){return n===!0||n===!1}se.boolean=Kp;function uc(n){return typeof n=="string"||n instanceof String}se.string=uc;function zp(n){return typeof n=="number"||n instanceof Number}se.number=zp;function qp(n){return n instanceof Error}se.error=qp;function Yp(n){return typeof n=="function"}se.func=Yp;function dc(n){return Array.isArray(n)}se.array=dc;function Xp(n){return dc(n)&&n.every(e=>uc(e))}se.stringArray=Xp;var Vt={};Object.defineProperty(Vt,"__esModule",{value:!0});Vt.Emitter=Vt.Event=void 0;const Jp=yr;var Ga;(function(n){const e={dispose(){}};n.None=function(){return e}})(Ga||(Vt.Event=Ga={}));class Qp{add(e,t=null,r){this._callbacks||(this._callbacks=[],this._contexts=[]),this._callbacks.push(e),this._contexts.push(t),Array.isArray(r)&&r.push({dispose:()=>this.remove(e,t)})}remove(e,t=null){if(!this._callbacks)return;let r=!1;for(let i=0,s=this._callbacks.length;i{this._callbacks||(this._callbacks=new Qp),this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(e,t);const i={dispose:()=>{this._callbacks&&(this._callbacks.remove(e,t),i.dispose=Tr._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this))}};return Array.isArray(r)&&r.push(i),i}),this._event}fire(e){this._callbacks&&this._callbacks.invoke.call(this._callbacks,e)}dispose(){this._callbacks&&(this._callbacks.dispose(),this._callbacks=void 0)}}Vt.Emitter=Tr;Tr._noop=function(){};var X;Object.defineProperty(dn,"__esModule",{value:!0});var hi=dn.CancellationTokenSource=X=dn.CancellationToken=void 0;const Zp=yr,em=se,pi=Vt;var Jn;(function(n){n.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:pi.Event.None}),n.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:pi.Event.None});function e(t){const r=t;return r&&(r===n.None||r===n.Cancelled||em.boolean(r.isCancellationRequested)&&!!r.onCancellationRequested)}n.is=e})(Jn||(X=dn.CancellationToken=Jn={}));const tm=Object.freeze(function(n,e){const t=(0,Zp.default)().timer.setTimeout(n.bind(e),0);return{dispose(){t.dispose()}}});class Ua{constructor(){this._isCancelled=!1}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?tm:(this._emitter||(this._emitter=new pi.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=void 0)}}class nm{get token(){return this._token||(this._token=new Ua),this._token}cancel(){this._token?this._token.cancel():this._token=Jn.Cancelled}dispose(){this._token?this._token instanceof Ua&&this._token.dispose():this._token=Jn.None}}hi=dn.CancellationTokenSource=nm;function rm(){return new Promise(n=>{typeof setImmediate>"u"?setTimeout(n,0):setImmediate(n)})}let Fa=0,im=10;const Qn=Symbol("OperationCancelled");function Hi(n){return n===Qn}async function Le(n){if(n===X.None)return;const e=Date.now();if(e-Fa>=im&&(Fa=e,await rm()),n.isCancellationRequested)throw Qn}class Vi{constructor(){this.promise=new Promise((e,t)=>{this.resolve=r=>(e(r),this),this.reject=r=>(t(r),this)})}}class fn{constructor(e,t,r,i){this._uri=e,this._languageId=t,this._version=r,this._content=i,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){const t=this.offsetAt(e.start),r=this.offsetAt(e.end);return this._content.substring(t,r)}return this._content}update(e,t){for(const r of e)if(fn.isIncremental(r)){const i=hc(r.range),s=this.offsetAt(i.start),a=this.offsetAt(i.end);this._content=this._content.substring(0,s)+r.text+this._content.substring(a,this._content.length);const o=Math.max(i.start.line,0),l=Math.max(i.end.line,0);let c=this._lineOffsets;const u=Ba(r.text,!1,s);if(l-o===u.length)for(let f=0,h=u.length;fe?i=a:r=a+1}const s=r-1;return e=this.ensureBeforeEOL(e,t[s]),{line:s,character:e-t[s]}}offsetAt(e){const t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;const r=t[e.line];if(e.character<=0)return r;const i=e.line+1t&&fc(this._content.charCodeAt(e-1));)e--;return e}get lineCount(){return this.getLineOffsets().length}static isIncremental(e){const t=e;return t!=null&&typeof t.text=="string"&&t.range!==void 0&&(t.rangeLength===void 0||typeof t.rangeLength=="number")}static isFull(e){const t=e;return t!=null&&typeof t.text=="string"&&t.range===void 0&&t.rangeLength===void 0}}var mi;(function(n){function e(i,s,a,o){return new fn(i,s,a,o)}n.create=e;function t(i,s,a){if(i instanceof fn)return i.update(s,a),i;throw new Error("TextDocument.update: document must be created by TextDocument.create")}n.update=t;function r(i,s){const a=i.getText(),o=gi(s.map(sm),(u,d)=>{const f=u.range.start.line-d.range.start.line;return f===0?u.range.start.character-d.range.start.character:f});let l=0;const c=[];for(const u of o){const d=i.offsetAt(u.range.start);if(dl&&c.push(a.substring(l,d)),u.newText.length&&c.push(u.newText),l=i.offsetAt(u.range.end)}return c.push(a.substr(l)),c.join("")}n.applyEdits=r})(mi||(mi={}));function gi(n,e){if(n.length<=1)return n;const t=n.length/2|0,r=n.slice(0,t),i=n.slice(t);gi(r,e),gi(i,e);let s=0,a=0,o=0;for(;st.line||e.line===t.line&&e.character>t.character?{start:t,end:e}:n}function sm(n){const e=hc(n.range);return e!==n.range?{newText:n.newText,range:e}:n}var wr={version:"v20.17.0",versions:{node:"20.17.0",acorn:"8.11.3",ada:"2.9.0",ares:"1.32.3",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.2.2",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.13+quic",simdutf:"5.3.0",tz:"2024a",undici:"6.19.2",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-209717d"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule internal/idna","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/streams/utils","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/idna.js","lib/internal/inspector_async_hook.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_fc48d429-f579-45e8-bf03-b8f40cba1391",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.17.0 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_fc48d429-f579-45e8-bf03-b8f40cba1391",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.10.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu22",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"610",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",GOROOT_1_20_X64:"/opt/hostedtoolcache/go/1.20.14/x64",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20240915.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.7/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",JOURNAL_STREAM:"8:6290",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.17.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",npm_config_npm_version:"10.8.2",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"11027463784",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"c7b0e027ac0b5d7e952b951cd0f0482584bacafc",GITHUB_BASE_REF:"",ImageOS:"ubuntu22",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.17.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_869f45d3-ff71-43f5-9b82-440d0334cd1b",INVOCATION_ID:"4184953ec64c49749c61dec1ef6bfa6c",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"439",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 9",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"c7b0e027ac0b5d7e952b951cd0f0482584bacafc",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.17.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_fc48d429-f579-45e8-bf03-b8f40cba1391",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_fc48d429-f579-45e8-bf03-b8f40cba1391",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.1.12297006",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",STATS_EXTP:"https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.189/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_fc48d429-f579-45e8-bf03-b8f40cba1391",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.17.0/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2041,ppid:2038,execPath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}},pc;(()=>{var n={470:i=>{function s(l){if(typeof l!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(l))}function a(l,c){for(var u,d="",f=0,h=-1,m=0,g=0;g<=l.length;++g){if(g2){var _=d.lastIndexOf("/");if(_!==d.length-1){_===-1?(d="",f=0):f=(d=d.slice(0,_)).length-1-d.lastIndexOf("/"),h=g,m=0;continue}}else if(d.length===2||d.length===1){d="",f=0,h=g,m=0;continue}}c&&(d.length>0?d+="/..":d="..",f=2)}else d.length>0?d+="/"+l.slice(h+1,g):d=l.slice(h+1,g),f=g-h-1;h=g,m=0}else u===46&&m!==-1?++m:m=-1}return d}var o={resolve:function(){for(var l,c="",u=!1,d=arguments.length-1;d>=-1&&!u;d--){var f;d>=0?f=arguments[d]:(l===void 0&&(l=wr.cwd()),f=l),s(f),f.length!==0&&(c=f+"/"+c,u=f.charCodeAt(0)===47)}return c=a(c,!u),u?c.length>0?"/"+c:"/":c.length>0?c:"."},normalize:function(l){if(s(l),l.length===0)return".";var c=l.charCodeAt(0)===47,u=l.charCodeAt(l.length-1)===47;return(l=a(l,!c)).length!==0||c||(l="."),l.length>0&&u&&(l+="/"),c?"/"+l:l},isAbsolute:function(l){return s(l),l.length>0&&l.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var l,c=0;c0&&(l===void 0?l=u:l+="/"+u)}return l===void 0?".":o.normalize(l)},relative:function(l,c){if(s(l),s(c),l===c||(l=o.resolve(l))===(c=o.resolve(c)))return"";for(var u=1;ug){if(c.charCodeAt(h+y)===47)return c.slice(h+y+1);if(y===0)return c.slice(h+y)}else f>g&&(l.charCodeAt(u+y)===47?_=y:y===0&&(_=0));break}var E=l.charCodeAt(u+y);if(E!==c.charCodeAt(h+y))break;E===47&&(_=y)}var v="";for(y=u+_+1;y<=d;++y)y!==d&&l.charCodeAt(y)!==47||(v.length===0?v+="..":v+="/..");return v.length>0?v+c.slice(h+_):(h+=_,c.charCodeAt(h)===47&&++h,c.slice(h))},_makeLong:function(l){return l},dirname:function(l){if(s(l),l.length===0)return".";for(var c=l.charCodeAt(0),u=c===47,d=-1,f=!0,h=l.length-1;h>=1;--h)if((c=l.charCodeAt(h))===47){if(!f){d=h;break}}else f=!1;return d===-1?u?"/":".":u&&d===1?"//":l.slice(0,d)},basename:function(l,c){if(c!==void 0&&typeof c!="string")throw new TypeError('"ext" argument must be a string');s(l);var u,d=0,f=-1,h=!0;if(c!==void 0&&c.length>0&&c.length<=l.length){if(c.length===l.length&&c===l)return"";var m=c.length-1,g=-1;for(u=l.length-1;u>=0;--u){var _=l.charCodeAt(u);if(_===47){if(!h){d=u+1;break}}else g===-1&&(h=!1,g=u+1),m>=0&&(_===c.charCodeAt(m)?--m==-1&&(f=u):(m=-1,f=g))}return d===f?f=g:f===-1&&(f=l.length),l.slice(d,f)}for(u=l.length-1;u>=0;--u)if(l.charCodeAt(u)===47){if(!h){d=u+1;break}}else f===-1&&(h=!1,f=u+1);return f===-1?"":l.slice(d,f)},extname:function(l){s(l);for(var c=-1,u=0,d=-1,f=!0,h=0,m=l.length-1;m>=0;--m){var g=l.charCodeAt(m);if(g!==47)d===-1&&(f=!1,d=m+1),g===46?c===-1?c=m:h!==1&&(h=1):c!==-1&&(h=-1);else if(!f){u=m+1;break}}return c===-1||d===-1||h===0||h===1&&c===d-1&&c===u+1?"":l.slice(c,d)},format:function(l){if(l===null||typeof l!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof l);return function(c,u){var d=u.dir||u.root,f=u.base||(u.name||"")+(u.ext||"");return d?d===u.root?d+f:d+"/"+f:f}(0,l)},parse:function(l){s(l);var c={root:"",dir:"",base:"",ext:"",name:""};if(l.length===0)return c;var u,d=l.charCodeAt(0),f=d===47;f?(c.root="/",u=1):u=0;for(var h=-1,m=0,g=-1,_=!0,y=l.length-1,E=0;y>=u;--y)if((d=l.charCodeAt(y))!==47)g===-1&&(_=!1,g=y+1),d===46?h===-1?h=y:E!==1&&(E=1):h!==-1&&(E=-1);else if(!_){m=y+1;break}return h===-1||g===-1||E===0||E===1&&h===g-1&&h===m+1?g!==-1&&(c.base=c.name=m===0&&f?l.slice(1,g):l.slice(m,g)):(m===0&&f?(c.name=l.slice(1,h),c.base=l.slice(1,g)):(c.name=l.slice(m,h),c.base=l.slice(m,g)),c.ext=l.slice(h,g)),m>0?c.dir=l.slice(0,m-1):f&&(c.dir="/"),c},sep:"/",delimiter:":",win32:null,posix:null};o.posix=o,i.exports=o}},e={};function t(i){var s=e[i];if(s!==void 0)return s.exports;var a=e[i]={exports:{}};return n[i](a,a.exports,t),a.exports}t.d=(i,s)=>{for(var a in s)t.o(s,a)&&!t.o(i,a)&&Object.defineProperty(i,a,{enumerable:!0,get:s[a]})},t.o=(i,s)=>Object.prototype.hasOwnProperty.call(i,s),t.r=i=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})};var r={};(()=>{let i;t.r(r),t.d(r,{URI:()=>f,Utils:()=>be}),typeof wr=="object"?i=wr.platform==="win32":typeof navigator=="object"&&(i=navigator.userAgent.indexOf("Windows")>=0);const s=/^\w[\w\d+.-]*$/,a=/^\//,o=/^\/\//;function l(A,T){if(!A.scheme&&T)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${A.authority}", path: "${A.path}", query: "${A.query}", fragment: "${A.fragment}"}`);if(A.scheme&&!s.test(A.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(A.path){if(A.authority){if(!a.test(A.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(o.test(A.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}const c="",u="/",d=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class f{constructor(T,R,N,L,O,w=!1){Je(this,"scheme");Je(this,"authority");Je(this,"path");Je(this,"query");Je(this,"fragment");typeof T=="object"?(this.scheme=T.scheme||c,this.authority=T.authority||c,this.path=T.path||c,this.query=T.query||c,this.fragment=T.fragment||c):(this.scheme=function(ye,z){return ye||z?ye:"file"}(T,w),this.authority=R||c,this.path=function(ye,z){switch(ye){case"https":case"http":case"file":z?z[0]!==u&&(z=u+z):z=u}return z}(this.scheme,N||c),this.query=L||c,this.fragment=O||c,l(this,w))}static isUri(T){return T instanceof f||!!T&&typeof T.authority=="string"&&typeof T.fragment=="string"&&typeof T.path=="string"&&typeof T.query=="string"&&typeof T.scheme=="string"&&typeof T.fsPath=="string"&&typeof T.with=="function"&&typeof T.toString=="function"}get fsPath(){return E(this)}with(T){if(!T)return this;let{scheme:R,authority:N,path:L,query:O,fragment:w}=T;return R===void 0?R=this.scheme:R===null&&(R=c),N===void 0?N=this.authority:N===null&&(N=c),L===void 0?L=this.path:L===null&&(L=c),O===void 0?O=this.query:O===null&&(O=c),w===void 0?w=this.fragment:w===null&&(w=c),R===this.scheme&&N===this.authority&&L===this.path&&O===this.query&&w===this.fragment?this:new m(R,N,L,O,w)}static parse(T,R=!1){const N=d.exec(T);return N?new m(N[2]||c,ne(N[4]||c),ne(N[5]||c),ne(N[7]||c),ne(N[9]||c),R):new m(c,c,c,c,c)}static file(T){let R=c;if(i&&(T=T.replace(/\\/g,u)),T[0]===u&&T[1]===u){const N=T.indexOf(u,2);N===-1?(R=T.substring(2),T=u):(R=T.substring(2,N),T=T.substring(N)||u)}return new m("file",R,T,c,c)}static from(T){const R=new m(T.scheme,T.authority,T.path,T.query,T.fragment);return l(R,!0),R}toString(T=!1){return v(this,T)}toJSON(){return this}static revive(T){if(T){if(T instanceof f)return T;{const R=new m(T);return R._formatted=T.external,R._fsPath=T._sep===h?T.fsPath:null,R}}return T}}const h=i?1:void 0;class m extends f{constructor(){super(...arguments);Je(this,"_formatted",null);Je(this,"_fsPath",null)}get fsPath(){return this._fsPath||(this._fsPath=E(this)),this._fsPath}toString(R=!1){return R?v(this,!0):(this._formatted||(this._formatted=v(this,!1)),this._formatted)}toJSON(){const R={$mid:1};return this._fsPath&&(R.fsPath=this._fsPath,R._sep=h),this._formatted&&(R.external=this._formatted),this.path&&(R.path=this.path),this.scheme&&(R.scheme=this.scheme),this.authority&&(R.authority=this.authority),this.query&&(R.query=this.query),this.fragment&&(R.fragment=this.fragment),R}}const g={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function _(A,T,R){let N,L=-1;for(let O=0;O=97&&w<=122||w>=65&&w<=90||w>=48&&w<=57||w===45||w===46||w===95||w===126||T&&w===47||R&&w===91||R&&w===93||R&&w===58)L!==-1&&(N+=encodeURIComponent(A.substring(L,O)),L=-1),N!==void 0&&(N+=A.charAt(O));else{N===void 0&&(N=A.substr(0,O));const ye=g[w];ye!==void 0?(L!==-1&&(N+=encodeURIComponent(A.substring(L,O)),L=-1),N+=ye):L===-1&&(L=O)}}return L!==-1&&(N+=encodeURIComponent(A.substring(L))),N!==void 0?N:A}function y(A){let T;for(let R=0;R1&&A.scheme==="file"?`//${A.authority}${A.path}`:A.path.charCodeAt(0)===47&&(A.path.charCodeAt(1)>=65&&A.path.charCodeAt(1)<=90||A.path.charCodeAt(1)>=97&&A.path.charCodeAt(1)<=122)&&A.path.charCodeAt(2)===58?A.path[1].toLowerCase()+A.path.substr(2):A.path,i&&(R=R.replace(/\//g,"\\")),R}function v(A,T){const R=T?y:_;let N="",{scheme:L,authority:O,path:w,query:ye,fragment:z}=A;if(L&&(N+=L,N+=":"),(O||L==="file")&&(N+=u,N+=u),O){let B=O.indexOf("@");if(B!==-1){const at=O.substr(0,B);O=O.substr(B+1),B=at.lastIndexOf(":"),B===-1?N+=R(at,!1,!1):(N+=R(at.substr(0,B),!1,!1),N+=":",N+=R(at.substr(B+1),!1,!0)),N+="@"}O=O.toLowerCase(),B=O.lastIndexOf(":"),B===-1?N+=R(O,!1,!0):(N+=R(O.substr(0,B),!1,!0),N+=O.substr(B))}if(w){if(w.length>=3&&w.charCodeAt(0)===47&&w.charCodeAt(2)===58){const B=w.charCodeAt(1);B>=65&&B<=90&&(w=`/${String.fromCharCode(B+32)}:${w.substr(3)}`)}else if(w.length>=2&&w.charCodeAt(1)===58){const B=w.charCodeAt(0);B>=65&&B<=90&&(w=`${String.fromCharCode(B+32)}:${w.substr(2)}`)}N+=R(w,!0,!1)}return ye&&(N+="?",N+=R(ye,!1,!1)),z&&(N+="#",N+=T?z:_(z,!1,!1)),N}function I(A){try{return decodeURIComponent(A)}catch{return A.length>3?A.substr(0,3)+I(A.substr(3)):A}}const j=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function ne(A){return A.match(j)?A.replace(j,T=>I(T)):A}var Ce=t(470);const ge=Ce.posix||Ce,De="/";var be;(function(A){A.joinPath=function(T,...R){return T.with({path:ge.join(T.path,...R)})},A.resolvePath=function(T,...R){let N=T.path,L=!1;N[0]!==De&&(N=De+N,L=!0);let O=ge.resolve(N,...R);return L&&O[0]===De&&!T.authority&&(O=O.substring(1)),T.with({path:O})},A.dirname=function(T){if(T.path.length===0||T.path===De)return T;let R=ge.dirname(T.path);return R.length===1&&R.charCodeAt(0)===46&&(R=""),T.with({path:R})},A.basename=function(T){return ge.basename(T.path)},A.extname=function(T){return ge.extname(T.path)}})(be||(be={}))})(),pc=r})();const{URI:Wt,Utils:sn}=pc;var rt;(function(n){n.basename=sn.basename,n.dirname=sn.dirname,n.extname=sn.extname,n.joinPath=sn.joinPath,n.resolvePath=sn.resolvePath;function e(r,i){return(r==null?void 0:r.toString())===(i==null?void 0:i.toString())}n.equals=e;function t(r,i){const s=typeof r=="string"?r:r.path,a=typeof i=="string"?i:i.path,o=s.split("/").filter(f=>f.length>0),l=a.split("/").filter(f=>f.length>0);let c=0;for(;ci??(i=mi.create(e.toString(),r.getServices(e).LanguageMetaData.languageId,0,t??""))}}class om{constructor(e){this.documentMap=new Map,this.langiumDocumentFactory=e.workspace.LangiumDocumentFactory}get all(){return Q(this.documentMap.values())}addDocument(e){const t=e.uri.toString();if(this.documentMap.has(t))throw new Error(`A document with the URI '${t}' is already present.`);this.documentMap.set(t,e)}getDocument(e){const t=e.toString();return this.documentMap.get(t)}async getOrCreateDocument(e,t){let r=this.getDocument(e);return r||(r=await this.langiumDocumentFactory.fromUri(e,t),this.addDocument(r),r)}createDocument(e,t,r){if(r)return this.langiumDocumentFactory.fromString(t,e,r).then(i=>(this.addDocument(i),i));{const i=this.langiumDocumentFactory.fromString(t,e);return this.addDocument(i),i}}hasDocument(e){return this.documentMap.has(e.toString())}invalidateDocument(e){const t=e.toString(),r=this.documentMap.get(t);return r&&(r.state=U.Changed,r.precomputedScopes=void 0,r.references=[],r.diagnostics=void 0),r}deleteDocument(e){const t=e.toString(),r=this.documentMap.get(t);return r&&(r.state=U.Changed,this.documentMap.delete(t)),r}}class lm{constructor(e){this.reflection=e.shared.AstReflection,this.langiumDocuments=()=>e.shared.workspace.LangiumDocuments,this.scopeProvider=e.references.ScopeProvider,this.astNodeLocator=e.workspace.AstNodeLocator}async link(e,t=X.None){for(const r of Et(e.parseResult.value))await Le(t),Zo(r).forEach(i=>this.doLink(i,e))}doLink(e,t){const r=e.reference;if(r._ref===void 0)try{const i=this.getCandidate(e);if(kn(i))r._ref=i;else if(r._nodeDescription=i,this.langiumDocuments().hasDocument(i.documentUri)){const s=this.loadAstNode(i);r._ref=s??this.createLinkingError(e,i)}}catch(i){r._ref=Object.assign(Object.assign({},e),{message:`An error occurred while resolving reference to '${r.$refText}': ${i}`})}t.references.push(r)}unlink(e){for(const t of e.references)delete t._ref,delete t._nodeDescription;e.references=[]}getCandidate(e){const r=this.scopeProvider.getScope(e).getElement(e.reference.$refText);return r??this.createLinkingError(e)}buildReference(e,t,r,i){const s=this,a={$refNode:r,$refText:i,get ref(){var o;if(ae(this._ref))return this._ref;if(Nu(this._nodeDescription)){const l=s.loadAstNode(this._nodeDescription);this._ref=l??s.createLinkingError({reference:a,container:e,property:t},this._nodeDescription)}else if(this._ref===void 0){const l=s.getLinkedNode({reference:a,container:e,property:t});if(l.error&&Ue(e).state=e.end)return s.ref}}if(r){const i=this.nameProvider.getNameNode(r);if(i&&(i===e||Su(e,i)))return r}}}findDeclarationNode(e){const t=this.findDeclaration(e);if(t!=null&&t.$cstNode){const r=this.nameProvider.getNameNode(t);return r??t.$cstNode}}findReferences(e,t){const r=[];if(t.includeDeclaration){const s=this.getReferenceToSelf(e);s&&r.push(s)}let i=this.index.findAllReferences(e,this.nodeLocator.getAstNodePath(e));return t.documentUri&&(i=i.filter(s=>rt.equals(s.sourceUri,t.documentUri))),r.push(...i),Q(r)}getReferenceToSelf(e){const t=this.nameProvider.getNameNode(e);if(t){const r=Ue(e),i=this.nodeLocator.getAstNodePath(e);return{sourceUri:r.uri,sourcePath:i,targetUri:r.uri,targetPath:i,segment:Ln(t),local:!0}}}}class Wi{constructor(e){if(this.map=new Map,e)for(const[t,r]of e)this.add(t,r)}get size(){return Pr.sum(Q(this.map.values()).map(e=>e.length))}clear(){this.map.clear()}delete(e,t){if(t===void 0)return this.map.delete(e);{const r=this.map.get(e);if(r){const i=r.indexOf(t);if(i>=0)return r.length===1?this.map.delete(e):r.splice(i,1),!0}return!1}}get(e){var t;return(t=this.map.get(e))!==null&&t!==void 0?t:[]}has(e,t){if(t===void 0)return this.map.has(e);{const r=this.map.get(e);return r?r.indexOf(t)>=0:!1}}add(e,t){return this.map.has(e)?this.map.get(e).push(t):this.map.set(e,[t]),this}addAll(e,t){return this.map.has(e)?this.map.get(e).push(...t):this.map.set(e,Array.from(t)),this}forEach(e){this.map.forEach((t,r)=>t.forEach(i=>e(i,r,this)))}[Symbol.iterator](){return this.entries().iterator()}entries(){return Q(this.map.entries()).flatMap(([e,t])=>t.map(r=>[e,r]))}keys(){return Q(this.map.keys())}values(){return Q(this.map.values()).flat()}entriesGroupedByKey(){return Q(this.map.entries())}}class Ha{get size(){return this.map.size}constructor(e){if(this.map=new Map,this.inverse=new Map,e)for(const[t,r]of e)this.set(t,r)}clear(){this.map.clear(),this.inverse.clear()}set(e,t){return this.map.set(e,t),this.inverse.set(t,e),this}get(e){return this.map.get(e)}getKey(e){return this.inverse.get(e)}delete(e){const t=this.map.get(e);return t!==void 0?(this.map.delete(e),this.inverse.delete(t),!0):!1}}class fm{constructor(e){this.nameProvider=e.references.NameProvider,this.descriptions=e.workspace.AstNodeDescriptionProvider}async computeExports(e,t=X.None){return this.computeExportsForNode(e.parseResult.value,e,void 0,t)}async computeExportsForNode(e,t,r=ki,i=X.None){const s=[];this.exportNode(e,s,t);for(const a of r(e))await Le(i),this.exportNode(a,s,t);return s}exportNode(e,t,r){const i=this.nameProvider.getName(e);i&&t.push(this.descriptions.createDescription(e,i,r))}async computeLocalScopes(e,t=X.None){const r=e.parseResult.value,i=new Wi;for(const s of pn(r))await Le(t),this.processNode(s,e,i);return i}processNode(e,t,r){const i=e.$container;if(i){const s=this.nameProvider.getName(e);s&&r.add(i,this.descriptions.createDescription(e,s,t))}}}class Va{constructor(e,t,r){var i;this.elements=e,this.outerScope=t,this.caseInsensitive=(i=r==null?void 0:r.caseInsensitive)!==null&&i!==void 0?i:!1}getAllElements(){return this.outerScope?this.elements.concat(this.outerScope.getAllElements()):this.elements}getElement(e){const t=this.caseInsensitive?this.elements.find(r=>r.name.toLowerCase()===e.toLowerCase()):this.elements.find(r=>r.name===e);if(t)return t;if(this.outerScope)return this.outerScope.getElement(e)}}class hm{constructor(e,t,r){var i;this.elements=new Map,this.caseInsensitive=(i=r==null?void 0:r.caseInsensitive)!==null&&i!==void 0?i:!1;for(const s of e){const a=this.caseInsensitive?s.name.toLowerCase():s.name;this.elements.set(a,s)}this.outerScope=t}getElement(e){const t=this.caseInsensitive?e.toLowerCase():e,r=this.elements.get(t);if(r)return r;if(this.outerScope)return this.outerScope.getElement(e)}getAllElements(){let e=Q(this.elements.values());return this.outerScope&&(e=e.concat(this.outerScope.getAllElements())),e}}class mc{constructor(){this.toDispose=[],this.isDisposed=!1}onDispose(e){this.toDispose.push(e)}dispose(){this.throwIfDisposed(),this.clear(),this.isDisposed=!0,this.toDispose.forEach(e=>e.dispose())}throwIfDisposed(){if(this.isDisposed)throw new Error("This cache has already been disposed")}}class pm extends mc{constructor(){super(...arguments),this.cache=new Map}has(e){return this.throwIfDisposed(),this.cache.has(e)}set(e,t){this.throwIfDisposed(),this.cache.set(e,t)}get(e,t){if(this.throwIfDisposed(),this.cache.has(e))return this.cache.get(e);if(t){const r=t();return this.cache.set(e,r),r}else return}delete(e){return this.throwIfDisposed(),this.cache.delete(e)}clear(){this.throwIfDisposed(),this.cache.clear()}}class mm extends mc{constructor(e){super(),this.cache=new Map,this.converter=e??(t=>t)}has(e,t){return this.throwIfDisposed(),this.cacheForContext(e).has(t)}set(e,t,r){this.throwIfDisposed(),this.cacheForContext(e).set(t,r)}get(e,t,r){this.throwIfDisposed();const i=this.cacheForContext(e);if(i.has(t))return i.get(t);if(r){const s=r();return i.set(t,s),s}else return}delete(e,t){return this.throwIfDisposed(),this.cacheForContext(e).delete(t)}clear(e){if(this.throwIfDisposed(),e){const t=this.converter(e);this.cache.delete(t)}else this.cache.clear()}cacheForContext(e){const t=this.converter(e);let r=this.cache.get(t);return r||(r=new Map,this.cache.set(t,r)),r}}class gm extends pm{constructor(e){super(),this.onDispose(e.workspace.DocumentBuilder.onUpdate(()=>{this.clear()}))}}class ym{constructor(e){this.reflection=e.shared.AstReflection,this.nameProvider=e.references.NameProvider,this.descriptions=e.workspace.AstNodeDescriptionProvider,this.indexManager=e.shared.workspace.IndexManager,this.globalScopeCache=new gm(e.shared)}getScope(e){const t=[],r=this.reflection.getReferenceType(e),i=Ue(e.container).precomputedScopes;if(i){let a=e.container;do{const o=i.get(a);o.length>0&&t.push(Q(o).filter(l=>this.reflection.isSubtype(l.type,r))),a=a.$container}while(a)}let s=this.getGlobalScope(r,e);for(let a=t.length-1;a>=0;a--)s=this.createScope(t[a],s);return s}createScope(e,t,r){return new Va(Q(e),t,r)}createScopeForNodes(e,t,r){const i=Q(e).map(s=>{const a=this.nameProvider.getName(s);if(a)return this.descriptions.createDescription(s,a)}).nonNullable();return new Va(i,t,r)}getGlobalScope(e,t){return this.globalScopeCache.get(e,()=>new hm(this.indexManager.allElements(e)))}}function Tm(n){return typeof n.$comment=="string"}function Wa(n){return typeof n=="object"&&!!n&&("$ref"in n||"$error"in n)}class vm{constructor(e){this.ignoreProperties=new Set(["$container","$containerProperty","$containerIndex","$document","$cstNode"]),this.langiumDocuments=e.shared.workspace.LangiumDocuments,this.astNodeLocator=e.workspace.AstNodeLocator,this.nameProvider=e.references.NameProvider,this.commentProvider=e.documentation.CommentProvider}serialize(e,t={}){const r=t==null?void 0:t.replacer,i=(a,o)=>this.replacer(a,o,t),s=r?(a,o)=>r(a,o,i):i;try{return this.currentDocument=Ue(e),JSON.stringify(e,s,t==null?void 0:t.space)}finally{this.currentDocument=void 0}}deserialize(e,t={}){const r=JSON.parse(e);return this.linkNode(r,r,t),r}replacer(e,t,{refText:r,sourceText:i,textRegions:s,comments:a,uriConverter:o}){var l,c,u,d;if(!this.ignoreProperties.has(e))if(Ge(t)){const f=t.ref,h=r?t.$refText:void 0;if(f){const m=Ue(f);let g="";this.currentDocument&&this.currentDocument!==m&&(o?g=o(m.uri,t):g=m.uri.toString());const _=this.astNodeLocator.getAstNodePath(f);return{$ref:`${g}#${_}`,$refText:h}}else return{$error:(c=(l=t.error)===null||l===void 0?void 0:l.message)!==null&&c!==void 0?c:"Could not resolve reference",$refText:h}}else if(ae(t)){let f;if(s&&(f=this.addAstNodeRegionWithAssignmentsTo(Object.assign({},t)),(!e||t.$document)&&(f!=null&&f.$textRegion)&&(f.$textRegion.documentURI=(u=this.currentDocument)===null||u===void 0?void 0:u.uri.toString())),i&&!e&&(f??(f=Object.assign({},t)),f.$sourceText=(d=t.$cstNode)===null||d===void 0?void 0:d.text),a){f??(f=Object.assign({},t));const h=this.commentProvider.getComment(t);h&&(f.$comment=h.replace(/\r/g,""))}return f??t}else return t}addAstNodeRegionWithAssignmentsTo(e){const t=r=>({offset:r.offset,end:r.end,length:r.length,range:r.range});if(e.$cstNode){const r=e.$textRegion=t(e.$cstNode),i=r.assignments={};return Object.keys(e).filter(s=>!s.startsWith("$")).forEach(s=>{const a=bd(e.$cstNode,s).map(t);a.length!==0&&(i[s]=a)}),e}}linkNode(e,t,r,i,s,a){for(const[l,c]of Object.entries(e))if(Array.isArray(c))for(let u=0;u{try{await e.call(t,r,i,s)}catch(a){if(Hi(a))throw a;console.error("An error occurred during validation:",a);const o=a instanceof Error?a.message:String(a);a instanceof Error&&a.stack&&console.error(a.stack),i("error","An error occurred during validation: "+o,{node:r})}}}addEntry(e,t){if(e==="AstNode"){this.entries.add("AstNode",t);return}for(const r of this.reflection.getAllSubTypes(e))this.entries.add(r,t)}getChecks(e,t){let r=Q(this.entries.get(e)).concat(this.entries.get("AstNode"));return t&&(r=r.filter(i=>t.includes(i.category))),r.map(i=>i.check)}}class Rm{constructor(e){this.validationRegistry=e.validation.ValidationRegistry,this.metadata=e.LanguageMetaData}async validateDocument(e,t={},r=X.None){const i=e.parseResult,s=[];if(await Le(r),(!t.categories||t.categories.includes("built-in"))&&(this.processLexingErrors(i,s,t),t.stopAfterLexingErrors&&s.some(a=>{var o;return((o=a.data)===null||o===void 0?void 0:o.code)===Qe.LexingError})||(this.processParsingErrors(i,s,t),t.stopAfterParsingErrors&&s.some(a=>{var o;return((o=a.data)===null||o===void 0?void 0:o.code)===Qe.ParsingError}))||(this.processLinkingErrors(e,s,t),t.stopAfterLinkingErrors&&s.some(a=>{var o;return((o=a.data)===null||o===void 0?void 0:o.code)===Qe.LinkingError}))))return s;try{s.push(...await this.validateAst(i.value,t,r))}catch(a){if(Hi(a))throw a;console.error("An error occurred during validation:",a)}return await Le(r),s}processLexingErrors(e,t,r){for(const i of e.lexerErrors){const s={severity:Or("error"),range:{start:{line:i.line-1,character:i.column-1},end:{line:i.line-1,character:i.column+i.length-1}},message:i.message,data:Ka(Qe.LexingError),source:this.getSource()};t.push(s)}}processParsingErrors(e,t,r){for(const i of e.parserErrors){let s;if(isNaN(i.token.startOffset)){if("previousToken"in i){const a=i.previousToken;if(isNaN(a.startOffset)){const o={line:0,character:0};s={start:o,end:o}}else{const o={line:a.endLine-1,character:a.endColumn};s={start:o,end:o}}}}else s=Dr(i.token);if(s){const a={severity:Or("error"),range:s,message:i.message,data:Ka(Qe.ParsingError),source:this.getSource()};t.push(a)}}}processLinkingErrors(e,t,r){for(const i of e.references){const s=i.error;if(s){const a={node:s.container,property:s.property,index:s.index,data:{code:Qe.LinkingError,containerType:s.container.$type,property:s.property,refText:s.reference.$refText}};t.push(this.toDiagnostic("error",s.message,a))}}}async validateAst(e,t,r=X.None){const i=[],s=(a,o,l)=>{i.push(this.toDiagnostic(a,o,l))};return await Promise.all(Et(e).map(async a=>{await Le(r);const o=this.validationRegistry.getChecks(a.$type,t.categories);for(const l of o)await l(a,s,r)})),i}toDiagnostic(e,t,r){return{message:t,range:Am(r),severity:Or(e),code:r.code,codeDescription:r.codeDescription,tags:r.tags,relatedInformation:r.relatedInformation,data:r.data,source:this.getSource()}}getSource(){return this.metadata.languageId}}function Am(n){if(n.range)return n.range;let e;return typeof n.property=="string"?e=il(n.node.$cstNode,n.property,n.index):typeof n.keyword=="string"&&(e=Nd(n.node.$cstNode,n.keyword,n.index)),e??(e=n.node.$cstNode),e?e.range:{start:{line:0,character:0},end:{line:0,character:0}}}function Or(n){switch(n){case"error":return 1;case"warning":return 2;case"info":return 3;case"hint":return 4;default:throw new Error("Invalid diagnostic severity: "+n)}}var Qe;(function(n){n.LexingError="lexing-error",n.ParsingError="parsing-error",n.LinkingError="linking-error"})(Qe||(Qe={}));class bm{constructor(e){this.astNodeLocator=e.workspace.AstNodeLocator,this.nameProvider=e.references.NameProvider}createDescription(e,t,r=Ue(e)){t??(t=this.nameProvider.getName(e));const i=this.astNodeLocator.getAstNodePath(e);if(!t)throw new Error(`Node at path ${i} has no name.`);let s;const a=()=>{var o;return s??(s=Ln((o=this.nameProvider.getNameNode(e))!==null&&o!==void 0?o:e.$cstNode))};return{node:e,name:t,get nameSegment(){return a()},selectionSegment:Ln(e.$cstNode),type:e.$type,documentUri:r.uri,path:i}}}class Nm{constructor(e){this.nodeLocator=e.workspace.AstNodeLocator}async createDescriptions(e,t=X.None){const r=[],i=e.parseResult.value;for(const s of Et(i))await Le(t),Zo(s).filter(a=>!kn(a)).forEach(a=>{const o=this.createDescription(a);o&&r.push(o)});return r}createDescription(e){const t=e.reference.$nodeDescription,r=e.reference.$refNode;if(!t||!r)return;const i=Ue(e.container).uri;return{sourceUri:i,sourcePath:this.nodeLocator.getAstNodePath(e.container),targetUri:t.documentUri,targetPath:t.path,segment:Ln(r),local:rt.equals(t.documentUri,i)}}}class km{constructor(){this.segmentSeparator="/",this.indexSeparator="@"}getAstNodePath(e){if(e.$container){const t=this.getAstNodePath(e.$container),r=this.getPathSegment(e);return t+this.segmentSeparator+r}return""}getPathSegment({$containerProperty:e,$containerIndex:t}){if(!e)throw new Error("Missing '$containerProperty' in AST node.");return t!==void 0?e+this.indexSeparator+t:e}getAstNode(e,t){return t.split(this.segmentSeparator).reduce((i,s)=>{if(!i||s.length===0)return i;const a=s.indexOf(this.indexSeparator);if(a>0){const o=s.substring(0,a),l=parseInt(s.substring(a+1)),c=i[o];return c==null?void 0:c[l]}return i[s]},e)}}class Im{constructor(e){this._ready=new Vi,this.settings={},this.workspaceConfig=!1,this.serviceRegistry=e.ServiceRegistry}get ready(){return this._ready.promise}initialize(e){var t,r;this.workspaceConfig=(r=(t=e.capabilities.workspace)===null||t===void 0?void 0:t.configuration)!==null&&r!==void 0?r:!1}async initialized(e){if(this.workspaceConfig){if(e.register){const t=this.serviceRegistry.all;e.register({section:t.map(r=>this.toSectionName(r.LanguageMetaData.languageId))})}if(e.fetchConfiguration){const t=this.serviceRegistry.all.map(i=>({section:this.toSectionName(i.LanguageMetaData.languageId)})),r=await e.fetchConfiguration(t);t.forEach((i,s)=>{this.updateSectionConfiguration(i.section,r[s])})}}this._ready.resolve()}updateConfiguration(e){e.settings&&Object.keys(e.settings).forEach(t=>{this.updateSectionConfiguration(t,e.settings[t])})}updateSectionConfiguration(e,t){this.settings[e]=t}async getConfiguration(e,t){await this.ready;const r=this.toSectionName(e);if(this.settings[r])return this.settings[r][t]}toSectionName(e){return`${e}`}}var er;(function(n){function e(t){return{dispose:async()=>await t()}}n.create=e})(er||(er={}));class Sm{constructor(e){this.updateBuildOptions={validation:{categories:["built-in","fast"]}},this.updateListeners=[],this.buildPhaseListeners=new Wi,this.buildState=new Map,this.documentBuildWaiters=new Map,this.currentState=U.Changed,this.langiumDocuments=e.workspace.LangiumDocuments,this.langiumDocumentFactory=e.workspace.LangiumDocumentFactory,this.indexManager=e.workspace.IndexManager,this.serviceRegistry=e.ServiceRegistry}async build(e,t={},r=X.None){var i,s;for(const a of e){const o=a.uri.toString();if(a.state===U.Validated){if(typeof t.validation=="boolean"&&t.validation)a.state=U.IndexedReferences,a.diagnostics=void 0,this.buildState.delete(o);else if(typeof t.validation=="object"){const l=this.buildState.get(o),c=(i=l==null?void 0:l.result)===null||i===void 0?void 0:i.validationChecks;if(c){const d=((s=t.validation.categories)!==null&&s!==void 0?s:Zn.all).filter(f=>!c.includes(f));d.length>0&&(this.buildState.set(o,{completed:!1,options:{validation:Object.assign(Object.assign({},t.validation),{categories:d})},result:l.result}),a.state=U.IndexedReferences)}}}else this.buildState.delete(o)}this.currentState=U.Changed,await this.emitUpdate(e.map(a=>a.uri),[]),await this.buildDocuments(e,t,r)}async update(e,t,r=X.None){this.currentState=U.Changed;for(const a of t)this.langiumDocuments.deleteDocument(a),this.buildState.delete(a.toString()),this.indexManager.remove(a);for(const a of e){if(!this.langiumDocuments.invalidateDocument(a)){const l=this.langiumDocumentFactory.fromModel({$type:"INVALID"},a);l.state=U.Changed,this.langiumDocuments.addDocument(l)}this.buildState.delete(a.toString())}const i=Q(e).concat(t).map(a=>a.toString()).toSet();this.langiumDocuments.all.filter(a=>!i.has(a.uri.toString())&&this.shouldRelink(a,i)).forEach(a=>{this.serviceRegistry.getServices(a.uri).references.Linker.unlink(a),a.state=Math.min(a.state,U.ComputedScopes),a.diagnostics=void 0}),await this.emitUpdate(e,t),await Le(r);const s=this.langiumDocuments.all.filter(a=>{var o;return a.stater(e,t)))}shouldRelink(e,t){return e.references.some(r=>r.error!==void 0)?!0:this.indexManager.isAffected(e,t)}onUpdate(e){return this.updateListeners.push(e),er.create(()=>{const t=this.updateListeners.indexOf(e);t>=0&&this.updateListeners.splice(t,1)})}async buildDocuments(e,t,r){this.prepareBuild(e,t),await this.runCancelable(e,U.Parsed,r,s=>this.langiumDocumentFactory.update(s,r)),await this.runCancelable(e,U.IndexedContent,r,s=>this.indexManager.updateContent(s,r)),await this.runCancelable(e,U.ComputedScopes,r,async s=>{const a=this.serviceRegistry.getServices(s.uri).references.ScopeComputation;s.precomputedScopes=await a.computeLocalScopes(s,r)}),await this.runCancelable(e,U.Linked,r,s=>this.serviceRegistry.getServices(s.uri).references.Linker.link(s,r)),await this.runCancelable(e,U.IndexedReferences,r,s=>this.indexManager.updateReferences(s,r));const i=e.filter(s=>this.shouldValidate(s));await this.runCancelable(i,U.Validated,r,s=>this.validate(s,r));for(const s of e){const a=this.buildState.get(s.uri.toString());a&&(a.completed=!0)}}prepareBuild(e,t){for(const r of e){const i=r.uri.toString(),s=this.buildState.get(i);(!s||s.completed)&&this.buildState.set(i,{completed:!1,options:t,result:s==null?void 0:s.result})}}async runCancelable(e,t,r,i){const s=e.filter(a=>a.state{this.buildPhaseListeners.delete(e,t)})}waitUntil(e,t,r){let i;if(t&&"path"in t?i=t:r=t,r??(r=X.None),i){const s=this.langiumDocuments.getDocument(i);if(s&&s.state>e)return Promise.resolve(i)}return this.currentState>=e?Promise.resolve(void 0):r.isCancellationRequested?Promise.reject(Qn):new Promise((s,a)=>{const o=this.onBuildPhase(e,()=>{if(o.dispose(),l.dispose(),i){const c=this.langiumDocuments.getDocument(i);s(c==null?void 0:c.uri)}else s(void 0)}),l=r.onCancellationRequested(()=>{o.dispose(),l.dispose(),a(Qn)})})}async notifyBuildPhase(e,t,r){if(e.length===0)return;const i=this.buildPhaseListeners.get(t);for(const s of i)await Le(r),await s(e,r)}shouldValidate(e){return!!this.getBuildOptions(e).validation}async validate(e,t){var r,i;const s=this.serviceRegistry.getServices(e.uri).validation.DocumentValidator,a=this.getBuildOptions(e).validation,o=typeof a=="object"?a:void 0,l=await s.validateDocument(e,o,t);e.diagnostics?e.diagnostics.push(...l):e.diagnostics=l;const c=this.buildState.get(e.uri.toString());if(c){(r=c.result)!==null&&r!==void 0||(c.result={});const u=(i=o==null?void 0:o.categories)!==null&&i!==void 0?i:Zn.all;c.result.validationChecks?c.result.validationChecks.push(...u):c.result.validationChecks=[...u]}}getBuildOptions(e){var t,r;return(r=(t=this.buildState.get(e.uri.toString()))===null||t===void 0?void 0:t.options)!==null&&r!==void 0?r:{}}}class xm{constructor(e){this.symbolIndex=new Map,this.symbolByTypeIndex=new mm,this.referenceIndex=new Map,this.documents=e.workspace.LangiumDocuments,this.serviceRegistry=e.ServiceRegistry,this.astReflection=e.AstReflection}findAllReferences(e,t){const r=Ue(e).uri,i=[];return this.referenceIndex.forEach(s=>{s.forEach(a=>{rt.equals(a.targetUri,r)&&a.targetPath===t&&i.push(a)})}),Q(i)}allElements(e,t){let r=Q(this.symbolIndex.keys());return t&&(r=r.filter(i=>!t||t.has(i))),r.map(i=>this.getFileDescriptions(i,e)).flat()}getFileDescriptions(e,t){var r;return t?this.symbolByTypeIndex.get(e,t,()=>{var s;return((s=this.symbolIndex.get(e))!==null&&s!==void 0?s:[]).filter(o=>this.astReflection.isSubtype(o.type,t))}):(r=this.symbolIndex.get(e))!==null&&r!==void 0?r:[]}remove(e){const t=e.toString();this.symbolIndex.delete(t),this.symbolByTypeIndex.clear(t),this.referenceIndex.delete(t)}async updateContent(e,t=X.None){const i=await this.serviceRegistry.getServices(e.uri).references.ScopeComputation.computeExports(e,t),s=e.uri.toString();this.symbolIndex.set(s,i),this.symbolByTypeIndex.clear(s)}async updateReferences(e,t=X.None){const i=await this.serviceRegistry.getServices(e.uri).workspace.ReferenceDescriptionProvider.createDescriptions(e,t);this.referenceIndex.set(e.uri.toString(),i)}isAffected(e,t){const r=this.referenceIndex.get(e.uri.toString());return r?r.some(i=>!i.local&&t.has(i.targetUri.toString())):!1}}class Cm{constructor(e){this.initialBuildOptions={},this._ready=new Vi,this.serviceRegistry=e.ServiceRegistry,this.langiumDocuments=e.workspace.LangiumDocuments,this.documentBuilder=e.workspace.DocumentBuilder,this.fileSystemProvider=e.workspace.FileSystemProvider,this.mutex=e.workspace.WorkspaceLock}get ready(){return this._ready.promise}initialize(e){var t;this.folders=(t=e.workspaceFolders)!==null&&t!==void 0?t:void 0}initialized(e){return this.mutex.write(t=>{var r;return this.initializeWorkspace((r=this.folders)!==null&&r!==void 0?r:[],t)})}async initializeWorkspace(e,t=X.None){const r=await this.performStartup(e);await Le(t),await this.documentBuilder.build(r,this.initialBuildOptions,t)}async performStartup(e){const t=this.serviceRegistry.all.flatMap(s=>s.LanguageMetaData.fileExtensions),r=[],i=s=>{r.push(s),this.langiumDocuments.hasDocument(s.uri)||this.langiumDocuments.addDocument(s)};return await this.loadAdditionalDocuments(e,i),await Promise.all(e.map(s=>[s,this.getRootFolder(s)]).map(async s=>this.traverseFolder(...s,t,i))),this._ready.resolve(),r}loadAdditionalDocuments(e,t){return Promise.resolve()}getRootFolder(e){return Wt.parse(e.uri)}async traverseFolder(e,t,r,i){const s=await this.fileSystemProvider.readDirectory(t);await Promise.all(s.map(async a=>{if(this.includeEntry(e,a,r)){if(a.isDirectory)await this.traverseFolder(e,a.uri,r,i);else if(a.isFile){const o=await this.langiumDocuments.getOrCreateDocument(a.uri);i(o)}}}))}includeEntry(e,t,r){const i=rt.basename(t.uri);if(i.startsWith("."))return!1;if(t.isDirectory)return i!=="node_modules"&&i!=="out";if(t.isFile){const s=rt.extname(t.uri);return r.includes(s)}return!1}}class wm{constructor(e){const t=e.parser.TokenBuilder.buildTokens(e.Grammar,{caseInsensitive:e.LanguageMetaData.caseInsensitive});this.tokenTypes=this.toTokenTypeDictionary(t);const r=za(t)?Object.values(t):t;this.chevrotainLexer=new de(r,{positionTracking:"full"})}get definition(){return this.tokenTypes}tokenize(e){var t;const r=this.chevrotainLexer.tokenize(e);return{tokens:r.tokens,errors:r.errors,hidden:(t=r.groups.hidden)!==null&&t!==void 0?t:[]}}toTokenTypeDictionary(e){if(za(e))return e;const t=gc(e)?Object.values(e.modes).flat():e,r={};return t.forEach(i=>r[i.name]=i),r}}function Om(n){return Array.isArray(n)&&(n.length===0||"name"in n[0])}function gc(n){return n&&"modes"in n&&"defaultMode"in n}function za(n){return!Om(n)&&!gc(n)}function Lm(n,e,t){let r,i;typeof n=="string"?(i=e,r=t):(i=n.range.start,r=e),i||(i=P.create(0,0));const s=yc(n),a=Ki(r),o=Mm({lines:s,position:i,options:a});return Fm({index:0,tokens:o,position:i})}function $m(n,e){const t=Ki(e),r=yc(n);if(r.length===0)return!1;const i=r[0],s=r[r.length-1],a=t.start,o=t.end;return!!(a!=null&&a.exec(i))&&!!(o!=null&&o.exec(s))}function yc(n){let e="";return typeof n=="string"?e=n:e=n.text,e.split(hd)}const qa=/\s*(@([\p{L}][\p{L}\p{N}]*)?)/uy,Pm=/\{(@[\p{L}][\p{L}\p{N}]*)(\s*)([^\r\n}]+)?\}/gu;function Mm(n){var e,t,r;const i=[];let s=n.position.line,a=n.position.character;for(let o=0;o=u.length){if(i.length>0){const h=P.create(s,a);i.push({type:"break",content:"",range:$.create(h,h)})}}else{qa.lastIndex=d;const h=qa.exec(u);if(h){const m=h[0],g=h[1],_=P.create(s,a+d),y=P.create(s,a+d+m.length);i.push({type:"tag",content:g,range:$.create(_,y)}),d+=m.length,d=yi(u,d)}if(d0&&i[i.length-1].type==="break"?i.slice(0,-1):i}function Dm(n,e,t,r){const i=[];if(n.length===0){const s=P.create(t,r),a=P.create(t,r+e.length);i.push({type:"text",content:e,range:$.create(s,a)})}else{let s=0;for(const o of n){const l=o.index,c=e.substring(s,l);c.length>0&&i.push({type:"text",content:e.substring(s,l),range:$.create(P.create(t,s+r),P.create(t,l+r))});let u=c.length+1;const d=o[1];if(i.push({type:"inline-tag",content:d,range:$.create(P.create(t,s+u+r),P.create(t,s+u+d.length+r))}),u+=d.length,o.length===4){u+=o[2].length;const f=o[3];i.push({type:"text",content:f,range:$.create(P.create(t,s+u+r),P.create(t,s+u+f.length+r))})}else i.push({type:"text",content:"",range:$.create(P.create(t,s+u+r),P.create(t,s+u+r))});s=l+o[0].length}const a=e.substring(s);a.length>0&&i.push({type:"text",content:a,range:$.create(P.create(t,s+r),P.create(t,s+r+a.length))})}return i}const jm=/\S/,Gm=/\s*$/;function yi(n,e){const t=n.substring(e).match(jm);return t?e+t.index:n.length}function Um(n){const e=n.match(Gm);if(e&&typeof e.index=="number")return e.index}function Fm(n){var e,t,r,i;const s=P.create(n.position.line,n.position.character);if(n.tokens.length===0)return new Ya([],$.create(s,s));const a=[];for(;n.indext.name===e)}getTags(e){return this.getAllTags().filter(t=>t.name===e)}getAllTags(){return this.elements.filter(e=>"name"in e)}toString(){let e="";for(const t of this.elements)if(e.length===0)e=t.toString();else{const r=t.toString();e+=Xa(e)+r}return e.trim()}toMarkdown(e){let t="";for(const r of this.elements)if(t.length===0)t=r.toMarkdown(e);else{const i=r.toMarkdown(e);t+=Xa(t)+i}return t.trim()}}class $r{constructor(e,t,r,i){this.name=e,this.content=t,this.inline=r,this.range=i}toString(){let e=`@${this.name}`;const t=this.content.toString();return this.content.inlines.length===1?e=`${e} ${t}`:this.content.inlines.length>1&&(e=`${e} ${t}`),this.inline?`{${e}}`:e}toMarkdown(e){var t,r;return(r=(t=e==null?void 0:e.renderTag)===null||t===void 0?void 0:t.call(e,this))!==null&&r!==void 0?r:this.toMarkdownDefault(e)}toMarkdownDefault(e){const t=this.content.toMarkdown(e);if(this.inline){const s=Wm(this.name,t,e??{});if(typeof s=="string")return s}let r="";(e==null?void 0:e.tag)==="italic"||(e==null?void 0:e.tag)===void 0?r="*":(e==null?void 0:e.tag)==="bold"?r="**":(e==null?void 0:e.tag)==="bold-italic"&&(r="***");let i=`${r}@${this.name}${r}`;return this.content.inlines.length===1?i=`${i} — ${t}`:this.content.inlines.length>1&&(i=`${i} ${t}`),this.inline?`{${i}}`:i}}function Wm(n,e,t){var r,i;if(n==="linkplain"||n==="linkcode"||n==="link"){const s=e.indexOf(" ");let a=e;if(s>0){const l=yi(e,s);a=e.substring(l),e=e.substring(0,s)}return(n==="linkcode"||n==="link"&&t.link==="code")&&(a=`\`${a}\``),(i=(r=t.renderLink)===null||r===void 0?void 0:r.call(t,e,a))!==null&&i!==void 0?i:Km(e,a)}}function Km(n,e){try{return Wt.parse(n,!0),`[${e}](${n})`}catch{return n}}class Ti{constructor(e,t){this.inlines=e,this.range=t}toString(){let e="";for(let t=0;tr.range.start.line&&(e+=` `)}return e}toMarkdown(e){let t="";for(let r=0;ri.range.start.line&&(t+=` diff --git a/assets/gitGraphDiagram-UL5UFKDR-DLUMmjYA.js b/assets/gitGraphDiagram-UL5UFKDR-CK7a38zf.js similarity index 98% rename from assets/gitGraphDiagram-UL5UFKDR-DLUMmjYA.js rename to assets/gitGraphDiagram-UL5UFKDR-CK7a38zf.js index ad6f855..9cab548 100644 --- a/assets/gitGraphDiagram-UL5UFKDR-DLUMmjYA.js +++ b/assets/gitGraphDiagram-UL5UFKDR-CK7a38zf.js @@ -1,4 +1,4 @@ -import{p as Z}from"./chunk-OQCM5LHU-hYeIc3H-.js";import{I as F}from"./chunk-2RYQ3QTB-DZRNnxEy.js";import{z as U,_ as h,d as rr,A as er,B as tr,C as ar,l as w,s as nr,g as sr,b as or,c as cr,p as ir,q as dr,e as E,r as hr,j as lr,u as $r,D as fr}from"./index-DqL3MUN2.js";import{p as gr}from"./gitGraph-YCYPL57B-DANCyTsA.js";import"./min-CjiScnR7.js";import"./_baseUniq-B1Flybha.js";var x={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},yr=U.gitGraph,z=h(()=>er({...yr,...tr().gitGraph}),"getConfig"),i=new F(()=>{const t=z(),r=t.mainBranchName,a=t.mainBranchOrder;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:a}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function j(){return ar({length:7})}h(j,"getID");function N(t,r){const a=Object.create(null);return t.reduce((s,e)=>{const n=r(e);return a[n]||(a[n]=!0,s.push(e)),s},[])}h(N,"uniqBy");var ur=h(function(t){i.records.direction=t},"setDirection"),xr=h(function(t){w.debug("options str",t),t=t==null?void 0:t.trim(),t=t||"{}";try{i.records.options=JSON.parse(t)}catch(r){w.error("error while parsing gitGraph options",r.message)}},"setOptions"),pr=h(function(){return i.records.options},"getOptions"),br=h(function(t){let r=t.msg,a=t.id;const s=t.type;let e=t.tags;w.info("commit",r,a,s,e),w.debug("Entering commit:",r,a,s,e);const n=z();a=E.sanitizeText(a,n),r=E.sanitizeText(r,n),e=e==null?void 0:e.map(o=>E.sanitizeText(o,n));const c={id:a||i.records.seq+"-"+j(),message:r,seq:i.records.seq++,type:s??x.NORMAL,tags:e??[],parents:i.records.head==null?[]:[i.records.head.id],branch:i.records.currBranch};i.records.head=c,w.info("main branch",n.mainBranchName),i.records.commits.set(c.id,c),i.records.branches.set(i.records.currBranch,c.id),w.debug("in pushCommit "+c.id)},"commit"),mr=h(function(t){let r=t.name;const a=t.order;if(r=E.sanitizeText(r,z()),i.records.branches.has(r))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);i.records.branches.set(r,i.records.head!=null?i.records.head.id:null),i.records.branchConfig.set(r,{name:r,order:a}),_(r),w.debug("in createBranch")},"branch"),wr=h(t=>{let r=t.branch,a=t.id;const s=t.type,e=t.tags,n=z();r=E.sanitizeText(r,n),a&&(a=E.sanitizeText(a,n));const c=i.records.branches.get(i.records.currBranch),o=i.records.branches.get(r),$=c?i.records.commits.get(c):void 0,l=o?i.records.commits.get(o):void 0;if($&&l&&$.branch===r)throw new Error(`Cannot merge branch '${r}' into itself.`);if(i.records.currBranch===r){const d=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},d}if($===void 0||!$){const d=new Error(`Incorrect usage of "merge". Current branch (${i.records.currBranch})has no commits`);throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},d}if(!i.records.branches.has(r)){const d=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},d}if(l===void 0||!l){const d=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},d}if($===l){const d=new Error('Incorrect usage of "merge". Both branches have same head');throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},d}if(a&&i.records.commits.has(a)){const d=new Error('Incorrect usage of "merge". Commit with id:'+a+" already exists, use different custom Id");throw d.hash={text:`merge ${r} ${a} ${s} ${e==null?void 0:e.join(" ")}`,token:`merge ${r} ${a} ${s} ${e==null?void 0:e.join(" ")}`,expected:[`merge ${r} ${a}_UNIQUE ${s} ${e==null?void 0:e.join(" ")}`]},d}const f=o||"",g={id:a||`${i.records.seq}-${j()}`,message:`merged branch ${r} into ${i.records.currBranch}`,seq:i.records.seq++,parents:i.records.head==null?[]:[i.records.head.id,f],branch:i.records.currBranch,type:x.MERGE,customType:s,customId:!!a,tags:e??[]};i.records.head=g,i.records.commits.set(g.id,g),i.records.branches.set(i.records.currBranch,g.id),w.debug(i.records.branches),w.debug("in mergeBranch")},"merge"),vr=h(function(t){let r=t.id,a=t.targetId,s=t.tags,e=t.parent;w.debug("Entering cherryPick:",r,a,s);const n=z();if(r=E.sanitizeText(r,n),a=E.sanitizeText(a,n),s=s==null?void 0:s.map($=>E.sanitizeText($,n)),e=E.sanitizeText(e,n),!r||!i.records.commits.has(r)){const $=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw $.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},$}const c=i.records.commits.get(r);if(c===void 0||!c)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(e&&!(Array.isArray(c.parents)&&c.parents.includes(e)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const o=c.branch;if(c.type===x.MERGE&&!e)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!a||!i.records.commits.has(a)){if(o===i.records.currBranch){const g=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw g.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},g}const $=i.records.branches.get(i.records.currBranch);if($===void 0||!$){const g=new Error(`Incorrect usage of "cherry-pick". Current branch (${i.records.currBranch})has no commits`);throw g.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},g}const l=i.records.commits.get($);if(l===void 0||!l){const g=new Error(`Incorrect usage of "cherry-pick". Current branch (${i.records.currBranch})has no commits`);throw g.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},g}const f={id:i.records.seq+"-"+j(),message:`cherry-picked ${c==null?void 0:c.message} into ${i.records.currBranch}`,seq:i.records.seq++,parents:i.records.head==null?[]:[i.records.head.id,c.id],branch:i.records.currBranch,type:x.CHERRY_PICK,tags:s?s.filter(Boolean):[`cherry-pick:${c.id}${c.type===x.MERGE?`|parent:${e}`:""}`]};i.records.head=f,i.records.commits.set(f.id,f),i.records.branches.set(i.records.currBranch,f.id),w.debug(i.records.branches),w.debug("in cherryPick")}},"cherryPick"),_=h(function(t){if(t=E.sanitizeText(t,z()),i.records.branches.has(t)){i.records.currBranch=t;const r=i.records.branches.get(i.records.currBranch);r===void 0||!r?i.records.head=null:i.records.head=i.records.commits.get(r)??null}else{const r=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${t}")`);throw r.hash={text:`checkout ${t}`,token:`checkout ${t}`,expected:[`branch ${t}`]},r}},"checkout");function A(t,r,a){const s=t.indexOf(r);s===-1?t.push(a):t.splice(s,1,a)}h(A,"upsert");function D(t){const r=t.reduce((e,n)=>e.seq>n.seq?e:n,t[0]);let a="";t.forEach(function(e){e===r?a+=" *":a+=" |"});const s=[a,r.id,r.seq];for(const e in i.records.branches)i.records.branches.get(e)===r.id&&s.push(e);if(w.debug(s.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){const e=i.records.commits.get(r.parents[0]);A(t,r,e),r.parents[1]&&t.push(i.records.commits.get(r.parents[1]))}else{if(r.parents.length==0)return;if(r.parents[0]){const e=i.records.commits.get(r.parents[0]);A(t,r,e)}}t=N(t,e=>e.id),D(t)}h(D,"prettyPrintCommitHistory");var Cr=h(function(){w.debug(i.records.commits);const t=V()[0];D([t])},"prettyPrint"),Br=h(function(){i.reset(),hr()},"clear"),Er=h(function(){return[...i.records.branchConfig.values()].map((r,a)=>r.order!==null&&r.order!==void 0?r:{...r,order:parseFloat(`0.${a}`)}).sort((r,a)=>(r.order??0)-(a.order??0)).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),kr=h(function(){return i.records.branches},"getBranches"),Lr=h(function(){return i.records.commits},"getCommits"),V=h(function(){const t=[...i.records.commits.values()];return t.forEach(function(r){w.debug(r.id)}),t.sort((r,a)=>r.seq-a.seq),t},"getCommitsArray"),Tr=h(function(){return i.records.currBranch},"getCurrentBranch"),Mr=h(function(){return i.records.direction},"getDirection"),Rr=h(function(){return i.records.head},"getHead"),X={commitType:x,getConfig:z,setDirection:ur,setOptions:xr,getOptions:pr,commit:br,branch:mr,merge:wr,cherryPick:vr,checkout:_,prettyPrint:Cr,clear:Br,getBranchesAsObjArray:Er,getBranches:kr,getCommits:Lr,getCommitsArray:V,getCurrentBranch:Tr,getDirection:Mr,getHead:Rr,setAccTitle:nr,getAccTitle:sr,getAccDescription:or,setAccDescription:cr,setDiagramTitle:ir,getDiagramTitle:dr},Ir=h((t,r)=>{Z(t,r),t.dir&&r.setDirection(t.dir);for(const a of t.statements)qr(a,r)},"populate"),qr=h((t,r)=>{const s={Commit:h(e=>r.commit(Or(e)),"Commit"),Branch:h(e=>r.branch(zr(e)),"Branch"),Merge:h(e=>r.merge(Gr(e)),"Merge"),Checkout:h(e=>r.checkout(Hr(e)),"Checkout"),CherryPicking:h(e=>r.cherryPick(Pr(e)),"CherryPicking")}[t.$type];s?s(t):w.error(`Unknown statement type: ${t.$type}`)},"parseStatement"),Or=h(t=>({id:t.id,msg:t.message??"",type:t.type!==void 0?x[t.type]:x.NORMAL,tags:t.tags??void 0}),"parseCommit"),zr=h(t=>({name:t.name,order:t.order??0}),"parseBranch"),Gr=h(t=>({branch:t.branch,id:t.id??"",type:t.type!==void 0?x[t.type]:void 0,tags:t.tags??void 0}),"parseMerge"),Hr=h(t=>t.branch,"parseCheckout"),Pr=h(t=>{var a;return{id:t.id,targetId:"",tags:((a=t.tags)==null?void 0:a.length)===0?void 0:t.tags,parent:t.parent}},"parseCherryPicking"),Wr={parse:h(async t=>{const r=await gr("gitGraph",t);w.debug(r),Ir(r,X)},"parse")},S=rr(),b=S==null?void 0:S.gitGraph,R=10,I=40,k=4,L=2,O=8,C=new Map,B=new Map,P=30,G=new Map,W=[],M=0,u="LR",jr=h(()=>{C.clear(),B.clear(),G.clear(),M=0,W=[],u="LR"},"clear"),J=h(t=>{const r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof t=="string"?t.split(/\\n|\n|/gi):t).forEach(s=>{const e=document.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),e.setAttribute("dy","1em"),e.setAttribute("x","0"),e.setAttribute("class","row"),e.textContent=s.trim(),r.appendChild(e)}),r},"drawText"),Q=h(t=>{let r,a,s;return u==="BT"?(a=h((e,n)=>e<=n,"comparisonFunc"),s=1/0):(a=h((e,n)=>e>=n,"comparisonFunc"),s=0),t.forEach(e=>{var c,o;const n=u==="TB"||u=="BT"?(c=B.get(e))==null?void 0:c.y:(o=B.get(e))==null?void 0:o.x;n!==void 0&&a(n,s)&&(r=e,s=n)}),r},"findClosestParent"),Sr=h(t=>{let r="",a=1/0;return t.forEach(s=>{const e=B.get(s).y;e<=a&&(r=s,a=e)}),r||void 0},"findClosestParentBT"),Ar=h((t,r,a)=>{let s=a,e=a;const n=[];t.forEach(c=>{const o=r.get(c);if(!o)throw new Error(`Commit not found for key ${c}`);o.parents.length?(s=Yr(o),e=Math.max(s,e)):n.push(o),Kr(o,s)}),s=e,n.forEach(c=>{Nr(c,s,a)}),t.forEach(c=>{const o=r.get(c);if(o!=null&&o.parents.length){const $=Sr(o.parents);s=B.get($).y-I,s<=e&&(e=s);const l=C.get(o.branch).pos,f=s-R;B.set(o.id,{x:l,y:f})}})},"setParallelBTPos"),Dr=h(t=>{var s;const r=Q(t.parents.filter(e=>e!==null));if(!r)throw new Error(`Closest parent not found for commit ${t.id}`);const a=(s=B.get(r))==null?void 0:s.y;if(a===void 0)throw new Error(`Closest parent position not found for commit ${t.id}`);return a},"findClosestParentPos"),Yr=h(t=>Dr(t)+I,"calculateCommitPosition"),Kr=h((t,r)=>{const a=C.get(t.branch);if(!a)throw new Error(`Branch not found for commit ${t.id}`);const s=a.pos,e=r+R;return B.set(t.id,{x:s,y:e}),{x:s,y:e}},"setCommitPosition"),Nr=h((t,r,a)=>{const s=C.get(t.branch);if(!s)throw new Error(`Branch not found for commit ${t.id}`);const e=r+a,n=s.pos;B.set(t.id,{x:n,y:e})},"setRootPosition"),_r=h((t,r,a,s,e,n)=>{if(n===x.HIGHLIGHT)t.append("rect").attr("x",a.x-10).attr("y",a.y-10).attr("width",20).attr("height",20).attr("class",`commit ${r.id} commit-highlight${e%O} ${s}-outer`),t.append("rect").attr("x",a.x-6).attr("y",a.y-6).attr("width",12).attr("height",12).attr("class",`commit ${r.id} commit${e%O} ${s}-inner`);else if(n===x.CHERRY_PICK)t.append("circle").attr("cx",a.x).attr("cy",a.y).attr("r",10).attr("class",`commit ${r.id} ${s}`),t.append("circle").attr("cx",a.x-3).attr("cy",a.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${r.id} ${s}`),t.append("circle").attr("cx",a.x+3).attr("cy",a.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${r.id} ${s}`),t.append("line").attr("x1",a.x+3).attr("y1",a.y+1).attr("x2",a.x).attr("y2",a.y-5).attr("stroke","#fff").attr("class",`commit ${r.id} ${s}`),t.append("line").attr("x1",a.x-3).attr("y1",a.y+1).attr("x2",a.x).attr("y2",a.y-5).attr("stroke","#fff").attr("class",`commit ${r.id} ${s}`);else{const c=t.append("circle");if(c.attr("cx",a.x),c.attr("cy",a.y),c.attr("r",r.type===x.MERGE?9:10),c.attr("class",`commit ${r.id} commit${e%O}`),n===x.MERGE){const o=t.append("circle");o.attr("cx",a.x),o.attr("cy",a.y),o.attr("r",6),o.attr("class",`commit ${s} ${r.id} commit${e%O}`)}n===x.REVERSE&&t.append("path").attr("d",`M ${a.x-5},${a.y-5}L${a.x+5},${a.y+5}M${a.x-5},${a.y+5}L${a.x+5},${a.y-5}`).attr("class",`commit ${s} ${r.id} commit${e%O}`)}},"drawCommitBullet"),Vr=h((t,r,a,s)=>{var e;if(r.type!==x.CHERRY_PICK&&(r.customId&&r.type===x.MERGE||r.type!==x.MERGE)&&(b!=null&&b.showCommitLabel)){const n=t.append("g"),c=n.insert("rect").attr("class","commit-label-bkg"),o=n.append("text").attr("x",s).attr("y",a.y+25).attr("class","commit-label").text(r.id),$=(e=o.node())==null?void 0:e.getBBox();if($&&(c.attr("x",a.posWithOffset-$.width/2-L).attr("y",a.y+13.5).attr("width",$.width+2*L).attr("height",$.height+2*L),u==="TB"||u==="BT"?(c.attr("x",a.x-($.width+4*k+5)).attr("y",a.y-12),o.attr("x",a.x-($.width+4*k)).attr("y",a.y+$.height-12)):o.attr("x",a.posWithOffset-$.width/2),b.rotateCommitLabel))if(u==="TB"||u==="BT")o.attr("transform","rotate(-45, "+a.x+", "+a.y+")"),c.attr("transform","rotate(-45, "+a.x+", "+a.y+")");else{const l=-7.5-($.width+10)/25*9.5,f=10+$.width/25*8.5;n.attr("transform","translate("+l+", "+f+") rotate(-45, "+s+", "+a.y+")")}}},"drawCommitLabel"),Xr=h((t,r,a,s)=>{var e;if(r.tags.length>0){let n=0,c=0,o=0;const $=[];for(const l of r.tags.reverse()){const f=t.insert("polygon"),g=t.append("circle"),d=t.append("text").attr("y",a.y-16-n).attr("class","tag-label").text(l),y=(e=d.node())==null?void 0:e.getBBox();if(!y)throw new Error("Tag bbox not found");c=Math.max(c,y.width),o=Math.max(o,y.height),d.attr("x",a.posWithOffset-y.width/2),$.push({tag:d,hole:g,rect:f,yOffset:n}),n+=20}for(const{tag:l,hole:f,rect:g,yOffset:d}of $){const y=o/2,p=a.y-19.2-d;if(g.attr("class","tag-label-bkg").attr("points",` +import{p as Z}from"./chunk-OQCM5LHU-CSoVW7EB.js";import{I as F}from"./chunk-2RYQ3QTB-BNTIwrOE.js";import{z as U,_ as h,d as rr,A as er,B as tr,C as ar,l as w,s as nr,g as sr,b as or,c as cr,p as ir,q as dr,e as E,r as hr,j as lr,u as $r,D as fr}from"./index-BmyXM-jo.js";import{p as gr}from"./gitGraph-YCYPL57B-Bmt_-sZ3.js";import"./min-CuKIA37g.js";import"./_baseUniq-BdggiAxO.js";var x={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},yr=U.gitGraph,z=h(()=>er({...yr,...tr().gitGraph}),"getConfig"),i=new F(()=>{const t=z(),r=t.mainBranchName,a=t.mainBranchOrder;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:a}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function j(){return ar({length:7})}h(j,"getID");function N(t,r){const a=Object.create(null);return t.reduce((s,e)=>{const n=r(e);return a[n]||(a[n]=!0,s.push(e)),s},[])}h(N,"uniqBy");var ur=h(function(t){i.records.direction=t},"setDirection"),xr=h(function(t){w.debug("options str",t),t=t==null?void 0:t.trim(),t=t||"{}";try{i.records.options=JSON.parse(t)}catch(r){w.error("error while parsing gitGraph options",r.message)}},"setOptions"),pr=h(function(){return i.records.options},"getOptions"),br=h(function(t){let r=t.msg,a=t.id;const s=t.type;let e=t.tags;w.info("commit",r,a,s,e),w.debug("Entering commit:",r,a,s,e);const n=z();a=E.sanitizeText(a,n),r=E.sanitizeText(r,n),e=e==null?void 0:e.map(o=>E.sanitizeText(o,n));const c={id:a||i.records.seq+"-"+j(),message:r,seq:i.records.seq++,type:s??x.NORMAL,tags:e??[],parents:i.records.head==null?[]:[i.records.head.id],branch:i.records.currBranch};i.records.head=c,w.info("main branch",n.mainBranchName),i.records.commits.set(c.id,c),i.records.branches.set(i.records.currBranch,c.id),w.debug("in pushCommit "+c.id)},"commit"),mr=h(function(t){let r=t.name;const a=t.order;if(r=E.sanitizeText(r,z()),i.records.branches.has(r))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);i.records.branches.set(r,i.records.head!=null?i.records.head.id:null),i.records.branchConfig.set(r,{name:r,order:a}),_(r),w.debug("in createBranch")},"branch"),wr=h(t=>{let r=t.branch,a=t.id;const s=t.type,e=t.tags,n=z();r=E.sanitizeText(r,n),a&&(a=E.sanitizeText(a,n));const c=i.records.branches.get(i.records.currBranch),o=i.records.branches.get(r),$=c?i.records.commits.get(c):void 0,l=o?i.records.commits.get(o):void 0;if($&&l&&$.branch===r)throw new Error(`Cannot merge branch '${r}' into itself.`);if(i.records.currBranch===r){const d=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},d}if($===void 0||!$){const d=new Error(`Incorrect usage of "merge". Current branch (${i.records.currBranch})has no commits`);throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},d}if(!i.records.branches.has(r)){const d=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},d}if(l===void 0||!l){const d=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},d}if($===l){const d=new Error('Incorrect usage of "merge". Both branches have same head');throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},d}if(a&&i.records.commits.has(a)){const d=new Error('Incorrect usage of "merge". Commit with id:'+a+" already exists, use different custom Id");throw d.hash={text:`merge ${r} ${a} ${s} ${e==null?void 0:e.join(" ")}`,token:`merge ${r} ${a} ${s} ${e==null?void 0:e.join(" ")}`,expected:[`merge ${r} ${a}_UNIQUE ${s} ${e==null?void 0:e.join(" ")}`]},d}const f=o||"",g={id:a||`${i.records.seq}-${j()}`,message:`merged branch ${r} into ${i.records.currBranch}`,seq:i.records.seq++,parents:i.records.head==null?[]:[i.records.head.id,f],branch:i.records.currBranch,type:x.MERGE,customType:s,customId:!!a,tags:e??[]};i.records.head=g,i.records.commits.set(g.id,g),i.records.branches.set(i.records.currBranch,g.id),w.debug(i.records.branches),w.debug("in mergeBranch")},"merge"),vr=h(function(t){let r=t.id,a=t.targetId,s=t.tags,e=t.parent;w.debug("Entering cherryPick:",r,a,s);const n=z();if(r=E.sanitizeText(r,n),a=E.sanitizeText(a,n),s=s==null?void 0:s.map($=>E.sanitizeText($,n)),e=E.sanitizeText(e,n),!r||!i.records.commits.has(r)){const $=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw $.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},$}const c=i.records.commits.get(r);if(c===void 0||!c)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(e&&!(Array.isArray(c.parents)&&c.parents.includes(e)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const o=c.branch;if(c.type===x.MERGE&&!e)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!a||!i.records.commits.has(a)){if(o===i.records.currBranch){const g=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw g.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},g}const $=i.records.branches.get(i.records.currBranch);if($===void 0||!$){const g=new Error(`Incorrect usage of "cherry-pick". Current branch (${i.records.currBranch})has no commits`);throw g.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},g}const l=i.records.commits.get($);if(l===void 0||!l){const g=new Error(`Incorrect usage of "cherry-pick". Current branch (${i.records.currBranch})has no commits`);throw g.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},g}const f={id:i.records.seq+"-"+j(),message:`cherry-picked ${c==null?void 0:c.message} into ${i.records.currBranch}`,seq:i.records.seq++,parents:i.records.head==null?[]:[i.records.head.id,c.id],branch:i.records.currBranch,type:x.CHERRY_PICK,tags:s?s.filter(Boolean):[`cherry-pick:${c.id}${c.type===x.MERGE?`|parent:${e}`:""}`]};i.records.head=f,i.records.commits.set(f.id,f),i.records.branches.set(i.records.currBranch,f.id),w.debug(i.records.branches),w.debug("in cherryPick")}},"cherryPick"),_=h(function(t){if(t=E.sanitizeText(t,z()),i.records.branches.has(t)){i.records.currBranch=t;const r=i.records.branches.get(i.records.currBranch);r===void 0||!r?i.records.head=null:i.records.head=i.records.commits.get(r)??null}else{const r=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${t}")`);throw r.hash={text:`checkout ${t}`,token:`checkout ${t}`,expected:[`branch ${t}`]},r}},"checkout");function A(t,r,a){const s=t.indexOf(r);s===-1?t.push(a):t.splice(s,1,a)}h(A,"upsert");function D(t){const r=t.reduce((e,n)=>e.seq>n.seq?e:n,t[0]);let a="";t.forEach(function(e){e===r?a+=" *":a+=" |"});const s=[a,r.id,r.seq];for(const e in i.records.branches)i.records.branches.get(e)===r.id&&s.push(e);if(w.debug(s.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){const e=i.records.commits.get(r.parents[0]);A(t,r,e),r.parents[1]&&t.push(i.records.commits.get(r.parents[1]))}else{if(r.parents.length==0)return;if(r.parents[0]){const e=i.records.commits.get(r.parents[0]);A(t,r,e)}}t=N(t,e=>e.id),D(t)}h(D,"prettyPrintCommitHistory");var Cr=h(function(){w.debug(i.records.commits);const t=V()[0];D([t])},"prettyPrint"),Br=h(function(){i.reset(),hr()},"clear"),Er=h(function(){return[...i.records.branchConfig.values()].map((r,a)=>r.order!==null&&r.order!==void 0?r:{...r,order:parseFloat(`0.${a}`)}).sort((r,a)=>(r.order??0)-(a.order??0)).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),kr=h(function(){return i.records.branches},"getBranches"),Lr=h(function(){return i.records.commits},"getCommits"),V=h(function(){const t=[...i.records.commits.values()];return t.forEach(function(r){w.debug(r.id)}),t.sort((r,a)=>r.seq-a.seq),t},"getCommitsArray"),Tr=h(function(){return i.records.currBranch},"getCurrentBranch"),Mr=h(function(){return i.records.direction},"getDirection"),Rr=h(function(){return i.records.head},"getHead"),X={commitType:x,getConfig:z,setDirection:ur,setOptions:xr,getOptions:pr,commit:br,branch:mr,merge:wr,cherryPick:vr,checkout:_,prettyPrint:Cr,clear:Br,getBranchesAsObjArray:Er,getBranches:kr,getCommits:Lr,getCommitsArray:V,getCurrentBranch:Tr,getDirection:Mr,getHead:Rr,setAccTitle:nr,getAccTitle:sr,getAccDescription:or,setAccDescription:cr,setDiagramTitle:ir,getDiagramTitle:dr},Ir=h((t,r)=>{Z(t,r),t.dir&&r.setDirection(t.dir);for(const a of t.statements)qr(a,r)},"populate"),qr=h((t,r)=>{const s={Commit:h(e=>r.commit(Or(e)),"Commit"),Branch:h(e=>r.branch(zr(e)),"Branch"),Merge:h(e=>r.merge(Gr(e)),"Merge"),Checkout:h(e=>r.checkout(Hr(e)),"Checkout"),CherryPicking:h(e=>r.cherryPick(Pr(e)),"CherryPicking")}[t.$type];s?s(t):w.error(`Unknown statement type: ${t.$type}`)},"parseStatement"),Or=h(t=>({id:t.id,msg:t.message??"",type:t.type!==void 0?x[t.type]:x.NORMAL,tags:t.tags??void 0}),"parseCommit"),zr=h(t=>({name:t.name,order:t.order??0}),"parseBranch"),Gr=h(t=>({branch:t.branch,id:t.id??"",type:t.type!==void 0?x[t.type]:void 0,tags:t.tags??void 0}),"parseMerge"),Hr=h(t=>t.branch,"parseCheckout"),Pr=h(t=>{var a;return{id:t.id,targetId:"",tags:((a=t.tags)==null?void 0:a.length)===0?void 0:t.tags,parent:t.parent}},"parseCherryPicking"),Wr={parse:h(async t=>{const r=await gr("gitGraph",t);w.debug(r),Ir(r,X)},"parse")},S=rr(),b=S==null?void 0:S.gitGraph,R=10,I=40,k=4,L=2,O=8,C=new Map,B=new Map,P=30,G=new Map,W=[],M=0,u="LR",jr=h(()=>{C.clear(),B.clear(),G.clear(),M=0,W=[],u="LR"},"clear"),J=h(t=>{const r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof t=="string"?t.split(/\\n|\n|/gi):t).forEach(s=>{const e=document.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),e.setAttribute("dy","1em"),e.setAttribute("x","0"),e.setAttribute("class","row"),e.textContent=s.trim(),r.appendChild(e)}),r},"drawText"),Q=h(t=>{let r,a,s;return u==="BT"?(a=h((e,n)=>e<=n,"comparisonFunc"),s=1/0):(a=h((e,n)=>e>=n,"comparisonFunc"),s=0),t.forEach(e=>{var c,o;const n=u==="TB"||u=="BT"?(c=B.get(e))==null?void 0:c.y:(o=B.get(e))==null?void 0:o.x;n!==void 0&&a(n,s)&&(r=e,s=n)}),r},"findClosestParent"),Sr=h(t=>{let r="",a=1/0;return t.forEach(s=>{const e=B.get(s).y;e<=a&&(r=s,a=e)}),r||void 0},"findClosestParentBT"),Ar=h((t,r,a)=>{let s=a,e=a;const n=[];t.forEach(c=>{const o=r.get(c);if(!o)throw new Error(`Commit not found for key ${c}`);o.parents.length?(s=Yr(o),e=Math.max(s,e)):n.push(o),Kr(o,s)}),s=e,n.forEach(c=>{Nr(c,s,a)}),t.forEach(c=>{const o=r.get(c);if(o!=null&&o.parents.length){const $=Sr(o.parents);s=B.get($).y-I,s<=e&&(e=s);const l=C.get(o.branch).pos,f=s-R;B.set(o.id,{x:l,y:f})}})},"setParallelBTPos"),Dr=h(t=>{var s;const r=Q(t.parents.filter(e=>e!==null));if(!r)throw new Error(`Closest parent not found for commit ${t.id}`);const a=(s=B.get(r))==null?void 0:s.y;if(a===void 0)throw new Error(`Closest parent position not found for commit ${t.id}`);return a},"findClosestParentPos"),Yr=h(t=>Dr(t)+I,"calculateCommitPosition"),Kr=h((t,r)=>{const a=C.get(t.branch);if(!a)throw new Error(`Branch not found for commit ${t.id}`);const s=a.pos,e=r+R;return B.set(t.id,{x:s,y:e}),{x:s,y:e}},"setCommitPosition"),Nr=h((t,r,a)=>{const s=C.get(t.branch);if(!s)throw new Error(`Branch not found for commit ${t.id}`);const e=r+a,n=s.pos;B.set(t.id,{x:n,y:e})},"setRootPosition"),_r=h((t,r,a,s,e,n)=>{if(n===x.HIGHLIGHT)t.append("rect").attr("x",a.x-10).attr("y",a.y-10).attr("width",20).attr("height",20).attr("class",`commit ${r.id} commit-highlight${e%O} ${s}-outer`),t.append("rect").attr("x",a.x-6).attr("y",a.y-6).attr("width",12).attr("height",12).attr("class",`commit ${r.id} commit${e%O} ${s}-inner`);else if(n===x.CHERRY_PICK)t.append("circle").attr("cx",a.x).attr("cy",a.y).attr("r",10).attr("class",`commit ${r.id} ${s}`),t.append("circle").attr("cx",a.x-3).attr("cy",a.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${r.id} ${s}`),t.append("circle").attr("cx",a.x+3).attr("cy",a.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${r.id} ${s}`),t.append("line").attr("x1",a.x+3).attr("y1",a.y+1).attr("x2",a.x).attr("y2",a.y-5).attr("stroke","#fff").attr("class",`commit ${r.id} ${s}`),t.append("line").attr("x1",a.x-3).attr("y1",a.y+1).attr("x2",a.x).attr("y2",a.y-5).attr("stroke","#fff").attr("class",`commit ${r.id} ${s}`);else{const c=t.append("circle");if(c.attr("cx",a.x),c.attr("cy",a.y),c.attr("r",r.type===x.MERGE?9:10),c.attr("class",`commit ${r.id} commit${e%O}`),n===x.MERGE){const o=t.append("circle");o.attr("cx",a.x),o.attr("cy",a.y),o.attr("r",6),o.attr("class",`commit ${s} ${r.id} commit${e%O}`)}n===x.REVERSE&&t.append("path").attr("d",`M ${a.x-5},${a.y-5}L${a.x+5},${a.y+5}M${a.x-5},${a.y+5}L${a.x+5},${a.y-5}`).attr("class",`commit ${s} ${r.id} commit${e%O}`)}},"drawCommitBullet"),Vr=h((t,r,a,s)=>{var e;if(r.type!==x.CHERRY_PICK&&(r.customId&&r.type===x.MERGE||r.type!==x.MERGE)&&(b!=null&&b.showCommitLabel)){const n=t.append("g"),c=n.insert("rect").attr("class","commit-label-bkg"),o=n.append("text").attr("x",s).attr("y",a.y+25).attr("class","commit-label").text(r.id),$=(e=o.node())==null?void 0:e.getBBox();if($&&(c.attr("x",a.posWithOffset-$.width/2-L).attr("y",a.y+13.5).attr("width",$.width+2*L).attr("height",$.height+2*L),u==="TB"||u==="BT"?(c.attr("x",a.x-($.width+4*k+5)).attr("y",a.y-12),o.attr("x",a.x-($.width+4*k)).attr("y",a.y+$.height-12)):o.attr("x",a.posWithOffset-$.width/2),b.rotateCommitLabel))if(u==="TB"||u==="BT")o.attr("transform","rotate(-45, "+a.x+", "+a.y+")"),c.attr("transform","rotate(-45, "+a.x+", "+a.y+")");else{const l=-7.5-($.width+10)/25*9.5,f=10+$.width/25*8.5;n.attr("transform","translate("+l+", "+f+") rotate(-45, "+s+", "+a.y+")")}}},"drawCommitLabel"),Xr=h((t,r,a,s)=>{var e;if(r.tags.length>0){let n=0,c=0,o=0;const $=[];for(const l of r.tags.reverse()){const f=t.insert("polygon"),g=t.append("circle"),d=t.append("text").attr("y",a.y-16-n).attr("class","tag-label").text(l),y=(e=d.node())==null?void 0:e.getBBox();if(!y)throw new Error("Tag bbox not found");c=Math.max(c,y.width),o=Math.max(o,y.height),d.attr("x",a.posWithOffset-y.width/2),$.push({tag:d,hole:g,rect:f,yOffset:n}),n+=20}for(const{tag:l,hole:f,rect:g,yOffset:d}of $){const y=o/2,p=a.y-19.2-d;if(g.attr("class","tag-label-bkg").attr("points",` ${s-c/2-k/2},${p+L} ${s-c/2-k/2},${p-L} ${a.posWithOffset-c/2-k},${p-y-L} diff --git a/assets/graph-F-lRYGiw.js b/assets/graph-DNRi3G-N.js similarity index 97% rename from assets/graph-F-lRYGiw.js rename to assets/graph-DNRi3G-N.js index 7bea7da..f705b2d 100644 --- a/assets/graph-F-lRYGiw.js +++ b/assets/graph-DNRi3G-N.js @@ -1 +1 @@ -import{b as O,h as a,f as c,a as u,v as p,r as F}from"./_baseUniq-B1Flybha.js";import{aB as j,aC as y,aD as P,aE as m,aF as E,aG as l,aA as f,aH as C}from"./index-DqL3MUN2.js";var G=j(function(d){return O(y(d,1,P,!0))}),M="\0",o="\0",L="";class D{constructor(e={}){this._isDirected=a(e,"directed")?e.directed:!0,this._isMultigraph=a(e,"multigraph")?e.multigraph:!1,this._isCompound=a(e,"compound")?e.compound:!1,this._label=void 0,this._defaultNodeLabelFn=m(void 0),this._defaultEdgeLabelFn=m(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[o]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(e){return this._label=e,this}graph(){return this._label}setDefaultNodeLabel(e){return E(e)||(e=m(e)),this._defaultNodeLabelFn=e,this}nodeCount(){return this._nodeCount}nodes(){return l(this._nodes)}sources(){var e=this;return c(this.nodes(),function(t){return C(e._in[t])})}sinks(){var e=this;return c(this.nodes(),function(t){return C(e._out[t])})}setNodes(e,t){var s=arguments,i=this;return u(e,function(r){s.length>1?i.setNode(r,t):i.setNode(r)}),this}setNode(e,t){return a(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=t),this):(this._nodes[e]=arguments.length>1?t:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]=o,this._children[e]={},this._children[o][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)}node(e){return this._nodes[e]}hasNode(e){return a(this._nodes,e)}removeNode(e){var t=this;if(a(this._nodes,e)){var s=function(i){t.removeEdge(t._edgeObjs[i])};delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],u(this.children(e),function(i){t.setParent(i)}),delete this._children[e]),u(l(this._in[e]),s),delete this._in[e],delete this._preds[e],u(l(this._out[e]),s),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this}setParent(e,t){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(f(t))t=o;else{t+="";for(var s=t;!f(s);s=this.parent(s))if(s===e)throw new Error("Setting "+t+" as parent of "+e+" would create a cycle");this.setNode(t)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=t,this._children[t][e]=!0,this}_removeFromParentsChildList(e){delete this._children[this._parent[e]][e]}parent(e){if(this._isCompound){var t=this._parent[e];if(t!==o)return t}}children(e){if(f(e)&&(e=o),this._isCompound){var t=this._children[e];if(t)return l(t)}else{if(e===o)return this.nodes();if(this.hasNode(e))return[]}}predecessors(e){var t=this._preds[e];if(t)return l(t)}successors(e){var t=this._sucs[e];if(t)return l(t)}neighbors(e){var t=this.predecessors(e);if(t)return G(t,this.successors(e))}isLeaf(e){var t;return this.isDirected()?t=this.successors(e):t=this.neighbors(e),t.length===0}filterNodes(e){var t=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});t.setGraph(this.graph());var s=this;u(this._nodes,function(n,h){e(h)&&t.setNode(h,n)}),u(this._edgeObjs,function(n){t.hasNode(n.v)&&t.hasNode(n.w)&&t.setEdge(n,s.edge(n))});var i={};function r(n){var h=s.parent(n);return h===void 0||t.hasNode(h)?(i[n]=h,h):h in i?i[h]:r(h)}return this._isCompound&&u(t.nodes(),function(n){t.setParent(n,r(n))}),t}setDefaultEdgeLabel(e){return E(e)||(e=m(e)),this._defaultEdgeLabelFn=e,this}edgeCount(){return this._edgeCount}edges(){return p(this._edgeObjs)}setPath(e,t){var s=this,i=arguments;return F(e,function(r,n){return i.length>1?s.setEdge(r,n,t):s.setEdge(r,n),n}),this}setEdge(){var e,t,s,i,r=!1,n=arguments[0];typeof n=="object"&&n!==null&&"v"in n?(e=n.v,t=n.w,s=n.name,arguments.length===2&&(i=arguments[1],r=!0)):(e=n,t=arguments[1],s=arguments[3],arguments.length>2&&(i=arguments[2],r=!0)),e=""+e,t=""+t,f(s)||(s=""+s);var h=g(this._isDirected,e,t,s);if(a(this._edgeLabels,h))return r&&(this._edgeLabels[h]=i),this;if(!f(s)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(t),this._edgeLabels[h]=r?i:this._defaultEdgeLabelFn(e,t,s);var _=A(this._isDirected,e,t,s);return e=_.v,t=_.w,Object.freeze(_),this._edgeObjs[h]=_,N(this._preds[t],e),N(this._sucs[e],t),this._in[t][h]=_,this._out[e][h]=_,this._edgeCount++,this}edge(e,t,s){var i=arguments.length===1?b(this._isDirected,arguments[0]):g(this._isDirected,e,t,s);return this._edgeLabels[i]}hasEdge(e,t,s){var i=arguments.length===1?b(this._isDirected,arguments[0]):g(this._isDirected,e,t,s);return a(this._edgeLabels,i)}removeEdge(e,t,s){var i=arguments.length===1?b(this._isDirected,arguments[0]):g(this._isDirected,e,t,s),r=this._edgeObjs[i];return r&&(e=r.v,t=r.w,delete this._edgeLabels[i],delete this._edgeObjs[i],v(this._preds[t],e),v(this._sucs[e],t),delete this._in[t][i],delete this._out[e][i],this._edgeCount--),this}inEdges(e,t){var s=this._in[e];if(s){var i=p(s);return t?c(i,function(r){return r.v===t}):i}}outEdges(e,t){var s=this._out[e];if(s){var i=p(s);return t?c(i,function(r){return r.w===t}):i}}nodeEdges(e,t){var s=this.inEdges(e,t);if(s)return s.concat(this.outEdges(e,t))}}D.prototype._nodeCount=0;D.prototype._edgeCount=0;function N(d,e){d[e]?d[e]++:d[e]=1}function v(d,e){--d[e]||delete d[e]}function g(d,e,t,s){var i=""+e,r=""+t;if(!d&&i>r){var n=i;i=r,r=n}return i+L+r+L+(f(s)?M:s)}function A(d,e,t,s){var i=""+e,r=""+t;if(!d&&i>r){var n=i;i=r,r=n}var h={v:i,w:r};return s&&(h.name=s),h}function b(d,e){return g(d,e.v,e.w,e.name)}export{D as G}; +import{b as O,h as a,f as c,a as u,v as p,r as F}from"./_baseUniq-BdggiAxO.js";import{aB as j,aC as y,aD as P,aE as m,aF as E,aG as l,aA as f,aH as C}from"./index-BmyXM-jo.js";var G=j(function(d){return O(y(d,1,P,!0))}),M="\0",o="\0",L="";class D{constructor(e={}){this._isDirected=a(e,"directed")?e.directed:!0,this._isMultigraph=a(e,"multigraph")?e.multigraph:!1,this._isCompound=a(e,"compound")?e.compound:!1,this._label=void 0,this._defaultNodeLabelFn=m(void 0),this._defaultEdgeLabelFn=m(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[o]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(e){return this._label=e,this}graph(){return this._label}setDefaultNodeLabel(e){return E(e)||(e=m(e)),this._defaultNodeLabelFn=e,this}nodeCount(){return this._nodeCount}nodes(){return l(this._nodes)}sources(){var e=this;return c(this.nodes(),function(t){return C(e._in[t])})}sinks(){var e=this;return c(this.nodes(),function(t){return C(e._out[t])})}setNodes(e,t){var s=arguments,i=this;return u(e,function(r){s.length>1?i.setNode(r,t):i.setNode(r)}),this}setNode(e,t){return a(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=t),this):(this._nodes[e]=arguments.length>1?t:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]=o,this._children[e]={},this._children[o][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)}node(e){return this._nodes[e]}hasNode(e){return a(this._nodes,e)}removeNode(e){var t=this;if(a(this._nodes,e)){var s=function(i){t.removeEdge(t._edgeObjs[i])};delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],u(this.children(e),function(i){t.setParent(i)}),delete this._children[e]),u(l(this._in[e]),s),delete this._in[e],delete this._preds[e],u(l(this._out[e]),s),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this}setParent(e,t){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(f(t))t=o;else{t+="";for(var s=t;!f(s);s=this.parent(s))if(s===e)throw new Error("Setting "+t+" as parent of "+e+" would create a cycle");this.setNode(t)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=t,this._children[t][e]=!0,this}_removeFromParentsChildList(e){delete this._children[this._parent[e]][e]}parent(e){if(this._isCompound){var t=this._parent[e];if(t!==o)return t}}children(e){if(f(e)&&(e=o),this._isCompound){var t=this._children[e];if(t)return l(t)}else{if(e===o)return this.nodes();if(this.hasNode(e))return[]}}predecessors(e){var t=this._preds[e];if(t)return l(t)}successors(e){var t=this._sucs[e];if(t)return l(t)}neighbors(e){var t=this.predecessors(e);if(t)return G(t,this.successors(e))}isLeaf(e){var t;return this.isDirected()?t=this.successors(e):t=this.neighbors(e),t.length===0}filterNodes(e){var t=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});t.setGraph(this.graph());var s=this;u(this._nodes,function(n,h){e(h)&&t.setNode(h,n)}),u(this._edgeObjs,function(n){t.hasNode(n.v)&&t.hasNode(n.w)&&t.setEdge(n,s.edge(n))});var i={};function r(n){var h=s.parent(n);return h===void 0||t.hasNode(h)?(i[n]=h,h):h in i?i[h]:r(h)}return this._isCompound&&u(t.nodes(),function(n){t.setParent(n,r(n))}),t}setDefaultEdgeLabel(e){return E(e)||(e=m(e)),this._defaultEdgeLabelFn=e,this}edgeCount(){return this._edgeCount}edges(){return p(this._edgeObjs)}setPath(e,t){var s=this,i=arguments;return F(e,function(r,n){return i.length>1?s.setEdge(r,n,t):s.setEdge(r,n),n}),this}setEdge(){var e,t,s,i,r=!1,n=arguments[0];typeof n=="object"&&n!==null&&"v"in n?(e=n.v,t=n.w,s=n.name,arguments.length===2&&(i=arguments[1],r=!0)):(e=n,t=arguments[1],s=arguments[3],arguments.length>2&&(i=arguments[2],r=!0)),e=""+e,t=""+t,f(s)||(s=""+s);var h=g(this._isDirected,e,t,s);if(a(this._edgeLabels,h))return r&&(this._edgeLabels[h]=i),this;if(!f(s)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(t),this._edgeLabels[h]=r?i:this._defaultEdgeLabelFn(e,t,s);var _=A(this._isDirected,e,t,s);return e=_.v,t=_.w,Object.freeze(_),this._edgeObjs[h]=_,N(this._preds[t],e),N(this._sucs[e],t),this._in[t][h]=_,this._out[e][h]=_,this._edgeCount++,this}edge(e,t,s){var i=arguments.length===1?b(this._isDirected,arguments[0]):g(this._isDirected,e,t,s);return this._edgeLabels[i]}hasEdge(e,t,s){var i=arguments.length===1?b(this._isDirected,arguments[0]):g(this._isDirected,e,t,s);return a(this._edgeLabels,i)}removeEdge(e,t,s){var i=arguments.length===1?b(this._isDirected,arguments[0]):g(this._isDirected,e,t,s),r=this._edgeObjs[i];return r&&(e=r.v,t=r.w,delete this._edgeLabels[i],delete this._edgeObjs[i],v(this._preds[t],e),v(this._sucs[e],t),delete this._in[t][i],delete this._out[e][i],this._edgeCount--),this}inEdges(e,t){var s=this._in[e];if(s){var i=p(s);return t?c(i,function(r){return r.v===t}):i}}outEdges(e,t){var s=this._out[e];if(s){var i=p(s);return t?c(i,function(r){return r.w===t}):i}}nodeEdges(e,t){var s=this.inEdges(e,t);if(s)return s.concat(this.outEdges(e,t))}}D.prototype._nodeCount=0;D.prototype._edgeCount=0;function N(d,e){d[e]?d[e]++:d[e]=1}function v(d,e){--d[e]||delete d[e]}function g(d,e,t,s){var i=""+e,r=""+t;if(!d&&i>r){var n=i;i=r,r=n}return i+L+r+L+(f(s)?M:s)}function A(d,e,t,s){var i=""+e,r=""+t;if(!d&&i>r){var n=i;i=r,r=n}var h={v:i,w:r};return s&&(h.name=s),h}function b(d,e){return g(d,e.v,e.w,e.name)}export{D as G}; diff --git a/assets/index-DqL3MUN2.js b/assets/index-BmyXM-jo.js similarity index 56% rename from assets/index-DqL3MUN2.js rename to assets/index-BmyXM-jo.js index 82d4905..c7c9745 100644 --- a/assets/index-DqL3MUN2.js +++ b/assets/index-BmyXM-jo.js @@ -1,35 +1,35 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/dagre-P3YPLUS5-Cvu0GWn2.js","assets/graph-F-lRYGiw.js","assets/_baseUniq-B1Flybha.js","assets/layout-B3T3dhdM.js","assets/min-CjiScnR7.js","assets/json-Dvvisu1f.js","assets/c4Diagram-THADGKDP-z2s09Z8i.js","assets/chunk-XVOYOM2C-D2CgWdoi.js","assets/flowDiagram-JSIZSE4D-31S8DQB0.js","assets/chunk-DUMQOTYW-BNJNkKaQ.js","assets/chunk-YWFND7JV-CHuoUZPA.js","assets/channel-q1VHAzml.js","assets/erDiagram-62CBQV5Y-CTiNkziK.js","assets/gitGraphDiagram-UL5UFKDR-DLUMmjYA.js","assets/chunk-OQCM5LHU-hYeIc3H-.js","assets/chunk-2RYQ3QTB-DZRNnxEy.js","assets/gitGraph-YCYPL57B-DANCyTsA.js","assets/ganttDiagram-ASEIQ4P5-DWYsQsHE.js","assets/linear-CK0OKaTM.js","assets/init-Gi6I4Gst.js","assets/infoDiagram-7APDZ6AT-C4BMMmsE.js","assets/pieDiagram-OZX6XH5M-DcX0GyZf.js","assets/arc-B1CpNSko.js","assets/ordinal-Cboi1Yqb.js","assets/quadrantDiagram-VG34DGKC-CjDMvYwc.js","assets/xychartDiagram-LESROZAQ-wW-Rjpwg.js","assets/requirementDiagram-FPZB6IJI-Ca-LbwOn.js","assets/sequenceDiagram-PQT5PN7B-DcJjkkJr.js","assets/classDiagram-4BHYIK4I-BdgJT4jb.js","assets/chunk-BAVOGKFW-jpI8a8Z5.js","assets/classDiagram-v2-FI7KE7WJ-DaZ2pEyK.js","assets/chunk-UGV5ZQQN-DsfIFBqE.js","assets/stateDiagram-TQSDS2D4-D-_rRabQ.js","assets/chunk-2JBRQKJ5-ClymeFnE.js","assets/stateDiagram-v2-J5TZWJW5-DIUSmo9x.js","assets/journeyDiagram-G5LC7W2K-Df6aXyG-.js","assets/timeline-definition-KYQAIZUX-BHsMXyod.js","assets/mindmap-definition-FCEC46F3-VnOEc6eV.js","assets/cytoscape.esm-BPL5M0Vw.js","assets/sankeyDiagram-KMMQDL5K-ChG3AGTx.js","assets/diagram-QS5GVLUX-BXLulXfZ.js","assets/blockDiagram-EN3ZKWFM-ODRjdJyk.js","assets/architectureDiagram-V6B76FHG-Bw1CZbuL.js"])))=>i.map(i=>d[i]); -var lw=Object.defineProperty;var Z2=Ra=>{throw TypeError(Ra)};var uw=(Ra,qa,ed)=>qa in Ra?lw(Ra,qa,{enumerable:!0,configurable:!0,writable:!0,value:ed}):Ra[qa]=ed;var Ym=(Ra,qa,ed)=>uw(Ra,typeof qa!="symbol"?qa+"":qa,ed),cw=(Ra,qa,ed)=>qa.has(Ra)||Z2("Cannot "+ed);var eS=(Ra,qa,ed)=>qa.has(Ra)?Z2("Cannot add the same private member more than once"):qa instanceof WeakSet?qa.add(Ra):qa.set(Ra,ed);var xE=(Ra,qa,ed)=>(cw(Ra,qa,"access private method"),ed);(function(){const qa=document.createElement("link").relList;if(qa&&qa.supports&&qa.supports("modulepreload"))return;for(const rd of document.querySelectorAll('link[rel="modulepreload"]'))td(rd);new MutationObserver(rd=>{for(const sd of rd)if(sd.type==="childList")for(const od of sd.addedNodes)od.tagName==="LINK"&&od.rel==="modulepreload"&&td(od)}).observe(document,{childList:!0,subtree:!0});function ed(rd){const sd={};return rd.integrity&&(sd.integrity=rd.integrity),rd.referrerPolicy&&(sd.referrerPolicy=rd.referrerPolicy),rd.crossOrigin==="use-credentials"?sd.credentials="include":rd.crossOrigin==="anonymous"?sd.credentials="omit":sd.credentials="same-origin",sd}function td(rd){if(rd.ep)return;rd.ep=!0;const sd=ed(rd);fetch(rd.href,sd)}})();const global$1=globalThis||void 0||self;/** -* @vue/shared v3.5.6 +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/dagre-P3YPLUS5-cXP2yN0w.js","assets/graph-DNRi3G-N.js","assets/_baseUniq-BdggiAxO.js","assets/layout-CbykB6Gj.js","assets/min-CuKIA37g.js","assets/json-BzboBZu8.js","assets/c4Diagram-THADGKDP-B3FNYdXZ.js","assets/chunk-XVOYOM2C-B52IjuyV.js","assets/flowDiagram-JSIZSE4D-2QXowptI.js","assets/chunk-DUMQOTYW-DrDMarzi.js","assets/chunk-YWFND7JV-Cxhz5tcw.js","assets/channel-C3SqRiWs.js","assets/erDiagram-62CBQV5Y-CBsxnETU.js","assets/gitGraphDiagram-UL5UFKDR-CK7a38zf.js","assets/chunk-OQCM5LHU-CSoVW7EB.js","assets/chunk-2RYQ3QTB-BNTIwrOE.js","assets/gitGraph-YCYPL57B-Bmt_-sZ3.js","assets/ganttDiagram-ASEIQ4P5-fbNyvURz.js","assets/linear-_gXvi5T4.js","assets/init-Gi6I4Gst.js","assets/infoDiagram-7APDZ6AT-CeVMP40j.js","assets/pieDiagram-OZX6XH5M-DM2JSR2T.js","assets/arc-BQjszOj9.js","assets/ordinal-Cboi1Yqb.js","assets/quadrantDiagram-VG34DGKC-C5FwPLoa.js","assets/xychartDiagram-LESROZAQ-pn7-8-Md.js","assets/requirementDiagram-FPZB6IJI-pFEUG6Ac.js","assets/sequenceDiagram-PQT5PN7B-DN-F_B2T.js","assets/classDiagram-4BHYIK4I-Dab2o9cQ.js","assets/chunk-BAVOGKFW-Bm2jdtC8.js","assets/classDiagram-v2-FI7KE7WJ-BybGxp1p.js","assets/chunk-UGV5ZQQN-S_EzHP18.js","assets/stateDiagram-TQSDS2D4-CleU-zJR.js","assets/chunk-2JBRQKJ5-DY0slxRe.js","assets/stateDiagram-v2-J5TZWJW5-uMj8NiYN.js","assets/journeyDiagram-G5LC7W2K-CzCm-6ra.js","assets/timeline-definition-KYQAIZUX-C-TYbTLN.js","assets/mindmap-definition-FCEC46F3-BJYta2vd.js","assets/cytoscape.esm-BUox6XmP.js","assets/sankeyDiagram-KMMQDL5K-D5UCg7by.js","assets/diagram-QS5GVLUX-BhI56X_Q.js","assets/blockDiagram-EN3ZKWFM-XbCfY_lM.js","assets/architectureDiagram-V6B76FHG-B6YBGQ56.js"])))=>i.map(i=>d[i]); +var dw=Object.defineProperty;var rS=Ra=>{throw TypeError(Ra)};var pw=(Ra,qa,td)=>qa in Ra?dw(Ra,qa,{enumerable:!0,configurable:!0,writable:!0,value:td}):Ra[qa]=td;var Qm=(Ra,qa,td)=>pw(Ra,typeof qa!="symbol"?qa+"":qa,td),fw=(Ra,qa,td)=>qa.has(Ra)||rS("Cannot "+td);var nS=(Ra,qa,td)=>qa.has(Ra)?rS("Cannot add the same private member more than once"):qa instanceof WeakSet?qa.add(Ra):qa.set(Ra,td);var wE=(Ra,qa,td)=>(fw(Ra,qa,"access private method"),td);(function(){const qa=document.createElement("link").relList;if(qa&&qa.supports&&qa.supports("modulepreload"))return;for(const nd of document.querySelectorAll('link[rel="modulepreload"]'))rd(nd);new MutationObserver(nd=>{for(const ad of nd)if(ad.type==="childList")for(const sd of ad.addedNodes)sd.tagName==="LINK"&&sd.rel==="modulepreload"&&rd(sd)}).observe(document,{childList:!0,subtree:!0});function td(nd){const ad={};return nd.integrity&&(ad.integrity=nd.integrity),nd.referrerPolicy&&(ad.referrerPolicy=nd.referrerPolicy),nd.crossOrigin==="use-credentials"?ad.credentials="include":nd.crossOrigin==="anonymous"?ad.credentials="omit":ad.credentials="same-origin",ad}function rd(nd){if(nd.ep)return;nd.ep=!0;const ad=td(nd);fetch(nd.href,ad)}})();const global$1=globalThis||void 0||self;/** +* @vue/shared v3.5.8 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function makeMap(Ra){const qa=Object.create(null);for(const ed of Ra.split(","))qa[ed]=1;return ed=>ed in qa}const EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn=Ra=>Ra.charCodeAt(0)===111&&Ra.charCodeAt(1)===110&&(Ra.charCodeAt(2)>122||Ra.charCodeAt(2)<97),isModelListener=Ra=>Ra.startsWith("onUpdate:"),extend$3=Object.assign,remove$2=(Ra,qa)=>{const ed=Ra.indexOf(qa);ed>-1&&Ra.splice(ed,1)},hasOwnProperty$i=Object.prototype.hasOwnProperty,hasOwn$2=(Ra,qa)=>hasOwnProperty$i.call(Ra,qa),isArray$2=Array.isArray,isMap$1=Ra=>toTypeString(Ra)==="[object Map]",isSet$1=Ra=>toTypeString(Ra)==="[object Set]",isDate$1=Ra=>toTypeString(Ra)==="[object Date]",isFunction$4=Ra=>typeof Ra=="function",isString$3=Ra=>typeof Ra=="string",isSymbol$1=Ra=>typeof Ra=="symbol",isObject$5=Ra=>Ra!==null&&typeof Ra=="object",isPromise=Ra=>(isObject$5(Ra)||isFunction$4(Ra))&&isFunction$4(Ra.then)&&isFunction$4(Ra.catch),objectToString$1=Object.prototype.toString,toTypeString=Ra=>objectToString$1.call(Ra),toRawType=Ra=>toTypeString(Ra).slice(8,-1),isPlainObject$3=Ra=>toTypeString(Ra)==="[object Object]",isIntegerKey=Ra=>isString$3(Ra)&&Ra!=="NaN"&&Ra[0]!=="-"&&""+parseInt(Ra,10)===Ra,isReservedProp=makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cacheStringFunction=Ra=>{const qa=Object.create(null);return ed=>qa[ed]||(qa[ed]=Ra(ed))},camelizeRE=/-(\w)/g,camelize=cacheStringFunction(Ra=>Ra.replace(camelizeRE,(qa,ed)=>ed?ed.toUpperCase():"")),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(Ra=>Ra.replace(hyphenateRE,"-$1").toLowerCase()),capitalize$1=cacheStringFunction(Ra=>Ra.charAt(0).toUpperCase()+Ra.slice(1)),toHandlerKey=cacheStringFunction(Ra=>Ra?`on${capitalize$1(Ra)}`:""),hasChanged=(Ra,qa)=>!Object.is(Ra,qa),invokeArrayFns=(Ra,...qa)=>{for(let ed=0;ed{Object.defineProperty(Ra,qa,{configurable:!0,enumerable:!1,writable:td,value:ed})},looseToNumber=Ra=>{const qa=parseFloat(Ra);return isNaN(qa)?Ra:qa},toNumber$3=Ra=>{const qa=isString$3(Ra)?Number(Ra):NaN;return isNaN(qa)?Ra:qa};let _globalThis;const getGlobalThis=()=>_globalThis||(_globalThis=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global$1<"u"?global$1:{});function normalizeStyle(Ra){if(isArray$2(Ra)){const qa={};for(let ed=0;ed{if(ed){const td=ed.split(propertyDelimiterRE);td.length>1&&(qa[td[0].trim()]=td[1].trim())}}),qa}function normalizeClass(Ra){let qa="";if(isString$3(Ra))qa=Ra;else if(isArray$2(Ra))for(let ed=0;edlooseEqual(ed,qa))}const isRef$1=Ra=>!!(Ra&&Ra.__v_isRef===!0),toDisplayString=Ra=>isString$3(Ra)?Ra:Ra==null?"":isArray$2(Ra)||isObject$5(Ra)&&(Ra.toString===objectToString$1||!isFunction$4(Ra.toString))?isRef$1(Ra)?toDisplayString(Ra.value):JSON.stringify(Ra,replacer$1,2):String(Ra),replacer$1=(Ra,qa)=>isRef$1(qa)?replacer$1(Ra,qa.value):isMap$1(qa)?{[`Map(${qa.size})`]:[...qa.entries()].reduce((ed,[td,rd],sd)=>(ed[stringifySymbol(td,sd)+" =>"]=rd,ed),{})}:isSet$1(qa)?{[`Set(${qa.size})`]:[...qa.values()].map(ed=>stringifySymbol(ed))}:isSymbol$1(qa)?stringifySymbol(qa):isObject$5(qa)&&!isArray$2(qa)&&!isPlainObject$3(qa)?String(qa):qa,stringifySymbol=(Ra,qa="")=>{var ed;return isSymbol$1(Ra)?`Symbol(${(ed=Ra.description)!=null?ed:qa})`:Ra};/** -* @vue/reactivity v3.5.6 +**//*! #__NO_SIDE_EFFECTS__ */function makeMap(Ra){const qa=Object.create(null);for(const td of Ra.split(","))qa[td]=1;return td=>td in qa}const EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn=Ra=>Ra.charCodeAt(0)===111&&Ra.charCodeAt(1)===110&&(Ra.charCodeAt(2)>122||Ra.charCodeAt(2)<97),isModelListener=Ra=>Ra.startsWith("onUpdate:"),extend$3=Object.assign,remove$2=(Ra,qa)=>{const td=Ra.indexOf(qa);td>-1&&Ra.splice(td,1)},hasOwnProperty$i=Object.prototype.hasOwnProperty,hasOwn$2=(Ra,qa)=>hasOwnProperty$i.call(Ra,qa),isArray$2=Array.isArray,isMap$1=Ra=>toTypeString(Ra)==="[object Map]",isSet$1=Ra=>toTypeString(Ra)==="[object Set]",isDate$1=Ra=>toTypeString(Ra)==="[object Date]",isFunction$4=Ra=>typeof Ra=="function",isString$3=Ra=>typeof Ra=="string",isSymbol$1=Ra=>typeof Ra=="symbol",isObject$5=Ra=>Ra!==null&&typeof Ra=="object",isPromise=Ra=>(isObject$5(Ra)||isFunction$4(Ra))&&isFunction$4(Ra.then)&&isFunction$4(Ra.catch),objectToString$1=Object.prototype.toString,toTypeString=Ra=>objectToString$1.call(Ra),toRawType=Ra=>toTypeString(Ra).slice(8,-1),isPlainObject$3=Ra=>toTypeString(Ra)==="[object Object]",isIntegerKey=Ra=>isString$3(Ra)&&Ra!=="NaN"&&Ra[0]!=="-"&&""+parseInt(Ra,10)===Ra,isReservedProp=makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cacheStringFunction=Ra=>{const qa=Object.create(null);return td=>qa[td]||(qa[td]=Ra(td))},camelizeRE=/-(\w)/g,camelize=cacheStringFunction(Ra=>Ra.replace(camelizeRE,(qa,td)=>td?td.toUpperCase():"")),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(Ra=>Ra.replace(hyphenateRE,"-$1").toLowerCase()),capitalize$1=cacheStringFunction(Ra=>Ra.charAt(0).toUpperCase()+Ra.slice(1)),toHandlerKey=cacheStringFunction(Ra=>Ra?`on${capitalize$1(Ra)}`:""),hasChanged=(Ra,qa)=>!Object.is(Ra,qa),invokeArrayFns=(Ra,...qa)=>{for(let td=0;td{Object.defineProperty(Ra,qa,{configurable:!0,enumerable:!1,writable:rd,value:td})},looseToNumber=Ra=>{const qa=parseFloat(Ra);return isNaN(qa)?Ra:qa},toNumber$3=Ra=>{const qa=isString$3(Ra)?Number(Ra):NaN;return isNaN(qa)?Ra:qa};let _globalThis;const getGlobalThis=()=>_globalThis||(_globalThis=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global$1<"u"?global$1:{});function normalizeStyle(Ra){if(isArray$2(Ra)){const qa={};for(let td=0;td{if(td){const rd=td.split(propertyDelimiterRE);rd.length>1&&(qa[rd[0].trim()]=rd[1].trim())}}),qa}function normalizeClass(Ra){let qa="";if(isString$3(Ra))qa=Ra;else if(isArray$2(Ra))for(let td=0;tdlooseEqual(td,qa))}const isRef$1=Ra=>!!(Ra&&Ra.__v_isRef===!0),toDisplayString=Ra=>isString$3(Ra)?Ra:Ra==null?"":isArray$2(Ra)||isObject$5(Ra)&&(Ra.toString===objectToString$1||!isFunction$4(Ra.toString))?isRef$1(Ra)?toDisplayString(Ra.value):JSON.stringify(Ra,replacer$1,2):String(Ra),replacer$1=(Ra,qa)=>isRef$1(qa)?replacer$1(Ra,qa.value):isMap$1(qa)?{[`Map(${qa.size})`]:[...qa.entries()].reduce((td,[rd,nd],ad)=>(td[stringifySymbol(rd,ad)+" =>"]=nd,td),{})}:isSet$1(qa)?{[`Set(${qa.size})`]:[...qa.values()].map(td=>stringifySymbol(td))}:isSymbol$1(qa)?stringifySymbol(qa):isObject$5(qa)&&!isArray$2(qa)&&!isPlainObject$3(qa)?String(qa):qa,stringifySymbol=(Ra,qa="")=>{var td;return isSymbol$1(Ra)?`Symbol(${(td=Ra.description)!=null?td:qa})`:Ra};/** +* @vue/reactivity v3.5.8 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let activeEffectScope;class EffectScope{constructor(qa=!1){this.detached=qa,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=activeEffectScope,!qa&&activeEffectScope&&(this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let qa,ed;if(this.scopes)for(qa=0,ed=this.scopes.length;qa0)return;let Ra;for(;batchedSub;){let qa=batchedSub;for(batchedSub=void 0;qa;){const ed=qa.next;if(qa.next=void 0,qa.flags&=-9,qa.flags&1)try{qa.trigger()}catch(td){Ra||(Ra=td)}qa=ed}}if(Ra)throw Ra}function prepareDeps(Ra){for(let qa=Ra.deps;qa;qa=qa.nextDep)qa.version=-1,qa.prevActiveLink=qa.dep.activeLink,qa.dep.activeLink=qa}function cleanupDeps(Ra){let qa,ed=Ra.depsTail,td=ed;for(;td;){const rd=td.prevDep;td.version===-1?(td===ed&&(ed=rd),removeSub(td),removeDep(td)):qa=td,td.dep.activeLink=td.prevActiveLink,td.prevActiveLink=void 0,td=rd}Ra.deps=qa,Ra.depsTail=ed}function isDirty(Ra){for(let qa=Ra.deps;qa;qa=qa.nextDep)if(qa.dep.version!==qa.version||qa.dep.computed&&(refreshComputed(qa.dep.computed)||qa.dep.version!==qa.version))return!0;return!!Ra._dirty}function refreshComputed(Ra){if(Ra.flags&4&&!(Ra.flags&16)||(Ra.flags&=-17,Ra.globalVersion===globalVersion))return;Ra.globalVersion=globalVersion;const qa=Ra.dep;if(Ra.flags|=2,qa.version>0&&!Ra.isSSR&&Ra.deps&&!isDirty(Ra)){Ra.flags&=-3;return}const ed=activeSub,td=shouldTrack;activeSub=Ra,shouldTrack=!0;try{prepareDeps(Ra);const rd=Ra.fn(Ra._value);(qa.version===0||hasChanged(rd,Ra._value))&&(Ra._value=rd,qa.version++)}catch(rd){throw qa.version++,rd}finally{activeSub=ed,shouldTrack=td,cleanupDeps(Ra),Ra.flags&=-3}}function removeSub(Ra){const{dep:qa,prevSub:ed,nextSub:td}=Ra;if(ed&&(ed.nextSub=td,Ra.prevSub=void 0),td&&(td.prevSub=ed,Ra.nextSub=void 0),qa.subs===Ra&&(qa.subs=ed),!qa.subs&&qa.computed){qa.computed.flags&=-5;for(let rd=qa.computed.deps;rd;rd=rd.nextDep)removeSub(rd)}}function removeDep(Ra){const{prevDep:qa,nextDep:ed}=Ra;qa&&(qa.nextDep=ed,Ra.prevDep=void 0),ed&&(ed.prevDep=qa,Ra.nextDep=void 0)}let shouldTrack=!0;const trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){const Ra=trackStack.pop();shouldTrack=Ra===void 0?!0:Ra}function cleanupEffect(Ra){const{cleanup:qa}=Ra;if(Ra.cleanup=void 0,qa){const ed=activeSub;activeSub=void 0;try{qa()}finally{activeSub=ed}}}let globalVersion=0,Link$1=class{constructor(qa,ed){this.sub=qa,this.dep=ed,this.version=ed.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}};class Dep{constructor(qa){this.computed=qa,this.version=0,this.activeLink=void 0,this.subs=void 0}track(qa){if(!activeSub||!shouldTrack||activeSub===this.computed)return;let ed=this.activeLink;if(ed===void 0||ed.sub!==activeSub)ed=this.activeLink=new Link$1(activeSub,this),activeSub.deps?(ed.prevDep=activeSub.depsTail,activeSub.depsTail.nextDep=ed,activeSub.depsTail=ed):activeSub.deps=activeSub.depsTail=ed,activeSub.flags&4&&addSub(ed);else if(ed.version===-1&&(ed.version=this.version,ed.nextDep)){const td=ed.nextDep;td.prevDep=ed.prevDep,ed.prevDep&&(ed.prevDep.nextDep=td),ed.prevDep=activeSub.depsTail,ed.nextDep=void 0,activeSub.depsTail.nextDep=ed,activeSub.depsTail=ed,activeSub.deps===ed&&(activeSub.deps=td)}return ed}trigger(qa){this.version++,globalVersion++,this.notify(qa)}notify(qa){startBatch();try{for(let ed=this.subs;ed;ed=ed.prevSub)ed.sub.notify()&&ed.sub.dep.notify()}finally{endBatch()}}}function addSub(Ra){const qa=Ra.dep.computed;if(qa&&!Ra.dep.subs){qa.flags|=20;for(let td=qa.deps;td;td=td.nextDep)addSub(td)}const ed=Ra.dep.subs;ed!==Ra&&(Ra.prevSub=ed,ed&&(ed.nextSub=Ra)),Ra.dep.subs=Ra}const targetMap=new WeakMap,ITERATE_KEY=Symbol(""),MAP_KEY_ITERATE_KEY=Symbol(""),ARRAY_ITERATE_KEY=Symbol("");function track(Ra,qa,ed){if(shouldTrack&&activeSub){let td=targetMap.get(Ra);td||targetMap.set(Ra,td=new Map);let rd=td.get(ed);rd||td.set(ed,rd=new Dep),rd.track()}}function trigger(Ra,qa,ed,td,rd,sd){const od=targetMap.get(Ra);if(!od){globalVersion++;return}const ld=ud=>{ud&&ud.trigger()};if(startBatch(),qa==="clear")od.forEach(ld);else{const ud=isArray$2(Ra),cd=ud&&isIntegerKey(ed);if(ud&&ed==="length"){const dd=Number(td);od.forEach((_d,Ed)=>{(Ed==="length"||Ed===ARRAY_ITERATE_KEY||!isSymbol$1(Ed)&&Ed>=dd)&&ld(_d)})}else switch(ed!==void 0&&ld(od.get(ed)),cd&&ld(od.get(ARRAY_ITERATE_KEY)),qa){case"add":ud?cd&&ld(od.get("length")):(ld(od.get(ITERATE_KEY)),isMap$1(Ra)&&ld(od.get(MAP_KEY_ITERATE_KEY)));break;case"delete":ud||(ld(od.get(ITERATE_KEY)),isMap$1(Ra)&&ld(od.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap$1(Ra)&&ld(od.get(ITERATE_KEY));break}}endBatch()}function getDepFromReactive(Ra,qa){var ed;return(ed=targetMap.get(Ra))==null?void 0:ed.get(qa)}function reactiveReadArray(Ra){const qa=toRaw(Ra);return qa===Ra?qa:(track(qa,"iterate",ARRAY_ITERATE_KEY),isShallow(Ra)?qa:qa.map(toReactive))}function shallowReadArray(Ra){return track(Ra=toRaw(Ra),"iterate",ARRAY_ITERATE_KEY),Ra}const arrayInstrumentations={__proto__:null,[Symbol.iterator](){return iterator(this,Symbol.iterator,toReactive)},concat(...Ra){return reactiveReadArray(this).concat(...Ra.map(qa=>isArray$2(qa)?reactiveReadArray(qa):qa))},entries(){return iterator(this,"entries",Ra=>(Ra[1]=toReactive(Ra[1]),Ra))},every(Ra,qa){return apply$3(this,"every",Ra,qa,void 0,arguments)},filter(Ra,qa){return apply$3(this,"filter",Ra,qa,ed=>ed.map(toReactive),arguments)},find(Ra,qa){return apply$3(this,"find",Ra,qa,toReactive,arguments)},findIndex(Ra,qa){return apply$3(this,"findIndex",Ra,qa,void 0,arguments)},findLast(Ra,qa){return apply$3(this,"findLast",Ra,qa,toReactive,arguments)},findLastIndex(Ra,qa){return apply$3(this,"findLastIndex",Ra,qa,void 0,arguments)},forEach(Ra,qa){return apply$3(this,"forEach",Ra,qa,void 0,arguments)},includes(...Ra){return searchProxy(this,"includes",Ra)},indexOf(...Ra){return searchProxy(this,"indexOf",Ra)},join(Ra){return reactiveReadArray(this).join(Ra)},lastIndexOf(...Ra){return searchProxy(this,"lastIndexOf",Ra)},map(Ra,qa){return apply$3(this,"map",Ra,qa,void 0,arguments)},pop(){return noTracking(this,"pop")},push(...Ra){return noTracking(this,"push",Ra)},reduce(Ra,...qa){return reduce$2(this,"reduce",Ra,qa)},reduceRight(Ra,...qa){return reduce$2(this,"reduceRight",Ra,qa)},shift(){return noTracking(this,"shift")},some(Ra,qa){return apply$3(this,"some",Ra,qa,void 0,arguments)},splice(...Ra){return noTracking(this,"splice",Ra)},toReversed(){return reactiveReadArray(this).toReversed()},toSorted(Ra){return reactiveReadArray(this).toSorted(Ra)},toSpliced(...Ra){return reactiveReadArray(this).toSpliced(...Ra)},unshift(...Ra){return noTracking(this,"unshift",Ra)},values(){return iterator(this,"values",toReactive)}};function iterator(Ra,qa,ed){const td=shallowReadArray(Ra),rd=td[qa]();return td!==Ra&&!isShallow(Ra)&&(rd._next=rd.next,rd.next=()=>{const sd=rd._next();return sd.value&&(sd.value=ed(sd.value)),sd}),rd}const arrayProto$1=Array.prototype;function apply$3(Ra,qa,ed,td,rd,sd){const od=shallowReadArray(Ra),ld=od!==Ra&&!isShallow(Ra),ud=od[qa];if(ud!==arrayProto$1[qa]){const _d=ud.apply(Ra,sd);return ld?toReactive(_d):_d}let cd=ed;od!==Ra&&(ld?cd=function(_d,Ed){return ed.call(this,toReactive(_d),Ed,Ra)}:ed.length>2&&(cd=function(_d,Ed){return ed.call(this,_d,Ed,Ra)}));const dd=ud.call(od,cd,td);return ld&&rd?rd(dd):dd}function reduce$2(Ra,qa,ed,td){const rd=shallowReadArray(Ra);let sd=ed;return rd!==Ra&&(isShallow(Ra)?ed.length>3&&(sd=function(od,ld,ud){return ed.call(this,od,ld,ud,Ra)}):sd=function(od,ld,ud){return ed.call(this,od,toReactive(ld),ud,Ra)}),rd[qa](sd,...td)}function searchProxy(Ra,qa,ed){const td=toRaw(Ra);track(td,"iterate",ARRAY_ITERATE_KEY);const rd=td[qa](...ed);return(rd===-1||rd===!1)&&isProxy(ed[0])?(ed[0]=toRaw(ed[0]),td[qa](...ed)):rd}function noTracking(Ra,qa,ed=[]){pauseTracking(),startBatch();const td=toRaw(Ra)[qa].apply(Ra,ed);return endBatch(),resetTracking(),td}const isNonTrackableKeys=makeMap("__proto__,__v_isRef,__isVue"),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(Ra=>Ra!=="arguments"&&Ra!=="caller").map(Ra=>Symbol[Ra]).filter(isSymbol$1));function hasOwnProperty$h(Ra){isSymbol$1(Ra)||(Ra=String(Ra));const qa=toRaw(this);return track(qa,"has",Ra),qa.hasOwnProperty(Ra)}class BaseReactiveHandler{constructor(qa=!1,ed=!1){this._isReadonly=qa,this._isShallow=ed}get(qa,ed,td){const rd=this._isReadonly,sd=this._isShallow;if(ed==="__v_isReactive")return!rd;if(ed==="__v_isReadonly")return rd;if(ed==="__v_isShallow")return sd;if(ed==="__v_raw")return td===(rd?sd?shallowReadonlyMap:readonlyMap:sd?shallowReactiveMap:reactiveMap).get(qa)||Object.getPrototypeOf(qa)===Object.getPrototypeOf(td)?qa:void 0;const od=isArray$2(qa);if(!rd){let ud;if(od&&(ud=arrayInstrumentations[ed]))return ud;if(ed==="hasOwnProperty")return hasOwnProperty$h}const ld=Reflect.get(qa,ed,isRef(qa)?qa:td);return(isSymbol$1(ed)?builtInSymbols.has(ed):isNonTrackableKeys(ed))||(rd||track(qa,"get",ed),sd)?ld:isRef(ld)?od&&isIntegerKey(ed)?ld:ld.value:isObject$5(ld)?rd?readonly(ld):reactive(ld):ld}}class MutableReactiveHandler extends BaseReactiveHandler{constructor(qa=!1){super(!1,qa)}set(qa,ed,td,rd){let sd=qa[ed];if(!this._isShallow){const ud=isReadonly(sd);if(!isShallow(td)&&!isReadonly(td)&&(sd=toRaw(sd),td=toRaw(td)),!isArray$2(qa)&&isRef(sd)&&!isRef(td))return ud?!1:(sd.value=td,!0)}const od=isArray$2(qa)&&isIntegerKey(ed)?Number(ed)Ra,getProto$2=Ra=>Reflect.getPrototypeOf(Ra);function get$4(Ra,qa,ed=!1,td=!1){Ra=Ra.__v_raw;const rd=toRaw(Ra),sd=toRaw(qa);ed||(hasChanged(qa,sd)&&track(rd,"get",qa),track(rd,"get",sd));const{has:od}=getProto$2(rd),ld=td?toShallow:ed?toReadonly:toReactive;if(od.call(rd,qa))return ld(Ra.get(qa));if(od.call(rd,sd))return ld(Ra.get(sd));Ra!==rd&&Ra.get(qa)}function has$1(Ra,qa=!1){const ed=this.__v_raw,td=toRaw(ed),rd=toRaw(Ra);return qa||(hasChanged(Ra,rd)&&track(td,"has",Ra),track(td,"has",rd)),Ra===rd?ed.has(Ra):ed.has(Ra)||ed.has(rd)}function size$2(Ra,qa=!1){return Ra=Ra.__v_raw,!qa&&track(toRaw(Ra),"iterate",ITERATE_KEY),Reflect.get(Ra,"size",Ra)}function add$1(Ra,qa=!1){!qa&&!isShallow(Ra)&&!isReadonly(Ra)&&(Ra=toRaw(Ra));const ed=toRaw(this);return getProto$2(ed).has.call(ed,Ra)||(ed.add(Ra),trigger(ed,"add",Ra,Ra)),this}function set$4(Ra,qa,ed=!1){!ed&&!isShallow(qa)&&!isReadonly(qa)&&(qa=toRaw(qa));const td=toRaw(this),{has:rd,get:sd}=getProto$2(td);let od=rd.call(td,Ra);od||(Ra=toRaw(Ra),od=rd.call(td,Ra));const ld=sd.call(td,Ra);return td.set(Ra,qa),od?hasChanged(qa,ld)&&trigger(td,"set",Ra,qa):trigger(td,"add",Ra,qa),this}function deleteEntry(Ra){const qa=toRaw(this),{has:ed,get:td}=getProto$2(qa);let rd=ed.call(qa,Ra);rd||(Ra=toRaw(Ra),rd=ed.call(qa,Ra)),td&&td.call(qa,Ra);const sd=qa.delete(Ra);return rd&&trigger(qa,"delete",Ra,void 0),sd}function clear$2(){const Ra=toRaw(this),qa=Ra.size!==0,ed=Ra.clear();return qa&&trigger(Ra,"clear",void 0,void 0),ed}function createForEach(Ra,qa){return function(td,rd){const sd=this,od=sd.__v_raw,ld=toRaw(od),ud=qa?toShallow:Ra?toReadonly:toReactive;return!Ra&&track(ld,"iterate",ITERATE_KEY),od.forEach((cd,dd)=>td.call(rd,ud(cd),ud(dd),sd))}}function createIterableMethod(Ra,qa,ed){return function(...td){const rd=this.__v_raw,sd=toRaw(rd),od=isMap$1(sd),ld=Ra==="entries"||Ra===Symbol.iterator&&od,ud=Ra==="keys"&&od,cd=rd[Ra](...td),dd=ed?toShallow:qa?toReadonly:toReactive;return!qa&&track(sd,"iterate",ud?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:_d,done:Ed}=cd.next();return Ed?{value:_d,done:Ed}:{value:ld?[dd(_d[0]),dd(_d[1])]:dd(_d),done:Ed}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(Ra){return function(...qa){return Ra==="delete"?!1:Ra==="clear"?void 0:this}}function createInstrumentations(){const Ra={get(sd){return get$4(this,sd)},get size(){return size$2(this)},has:has$1,add:add$1,set:set$4,delete:deleteEntry,clear:clear$2,forEach:createForEach(!1,!1)},qa={get(sd){return get$4(this,sd,!1,!0)},get size(){return size$2(this)},has:has$1,add(sd){return add$1.call(this,sd,!0)},set(sd,od){return set$4.call(this,sd,od,!0)},delete:deleteEntry,clear:clear$2,forEach:createForEach(!1,!0)},ed={get(sd){return get$4(this,sd,!0)},get size(){return size$2(this,!0)},has(sd){return has$1.call(this,sd,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!1)},td={get(sd){return get$4(this,sd,!0,!0)},get size(){return size$2(this,!0)},has(sd){return has$1.call(this,sd,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(sd=>{Ra[sd]=createIterableMethod(sd,!1,!1),ed[sd]=createIterableMethod(sd,!0,!1),qa[sd]=createIterableMethod(sd,!1,!0),td[sd]=createIterableMethod(sd,!0,!0)}),[Ra,ed,qa,td]}const[mutableInstrumentations,readonlyInstrumentations,shallowInstrumentations,shallowReadonlyInstrumentations]=createInstrumentations();function createInstrumentationGetter(Ra,qa){const ed=qa?Ra?shallowReadonlyInstrumentations:shallowInstrumentations:Ra?readonlyInstrumentations:mutableInstrumentations;return(td,rd,sd)=>rd==="__v_isReactive"?!Ra:rd==="__v_isReadonly"?Ra:rd==="__v_raw"?td:Reflect.get(hasOwn$2(ed,rd)&&rd in td?ed:td,rd,sd)}const mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(Ra){switch(Ra){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function getTargetType(Ra){return Ra.__v_skip||!Object.isExtensible(Ra)?0:targetTypeMap(toRawType(Ra))}function reactive(Ra){return isReadonly(Ra)?Ra:createReactiveObject(Ra,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(Ra){return createReactiveObject(Ra,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(Ra){return createReactiveObject(Ra,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(Ra){return createReactiveObject(Ra,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(Ra,qa,ed,td,rd){if(!isObject$5(Ra)||Ra.__v_raw&&!(qa&&Ra.__v_isReactive))return Ra;const sd=rd.get(Ra);if(sd)return sd;const od=getTargetType(Ra);if(od===0)return Ra;const ld=new Proxy(Ra,od===2?td:ed);return rd.set(Ra,ld),ld}function isReactive(Ra){return isReadonly(Ra)?isReactive(Ra.__v_raw):!!(Ra&&Ra.__v_isReactive)}function isReadonly(Ra){return!!(Ra&&Ra.__v_isReadonly)}function isShallow(Ra){return!!(Ra&&Ra.__v_isShallow)}function isProxy(Ra){return Ra?!!Ra.__v_raw:!1}function toRaw(Ra){const qa=Ra&&Ra.__v_raw;return qa?toRaw(qa):Ra}function markRaw(Ra){return!hasOwn$2(Ra,"__v_skip")&&Object.isExtensible(Ra)&&def$2(Ra,"__v_skip",!0),Ra}const toReactive=Ra=>isObject$5(Ra)?reactive(Ra):Ra,toReadonly=Ra=>isObject$5(Ra)?readonly(Ra):Ra;function isRef(Ra){return Ra?Ra.__v_isRef===!0:!1}function ref$1(Ra){return createRef(Ra,!1)}function shallowRef(Ra){return createRef(Ra,!0)}function createRef(Ra,qa){return isRef(Ra)?Ra:new RefImpl(Ra,qa)}class RefImpl{constructor(qa,ed){this.dep=new Dep,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=ed?qa:toRaw(qa),this._value=ed?qa:toReactive(qa),this.__v_isShallow=ed}get value(){return this.dep.track(),this._value}set value(qa){const ed=this._rawValue,td=this.__v_isShallow||isShallow(qa)||isReadonly(qa);qa=td?qa:toRaw(qa),hasChanged(qa,ed)&&(this._rawValue=qa,this._value=td?qa:toReactive(qa),this.dep.trigger())}}function unref(Ra){return isRef(Ra)?Ra.value:Ra}const shallowUnwrapHandlers={get:(Ra,qa,ed)=>qa==="__v_raw"?Ra:unref(Reflect.get(Ra,qa,ed)),set:(Ra,qa,ed,td)=>{const rd=Ra[qa];return isRef(rd)&&!isRef(ed)?(rd.value=ed,!0):Reflect.set(Ra,qa,ed,td)}};function proxyRefs(Ra){return isReactive(Ra)?Ra:new Proxy(Ra,shallowUnwrapHandlers)}class CustomRefImpl{constructor(qa){this.__v_isRef=!0,this._value=void 0;const ed=this.dep=new Dep,{get:td,set:rd}=qa(ed.track.bind(ed),ed.trigger.bind(ed));this._get=td,this._set=rd}get value(){return this._value=this._get()}set value(qa){this._set(qa)}}function customRef(Ra){return new CustomRefImpl(Ra)}function toRefs(Ra){const qa=isArray$2(Ra)?new Array(Ra.length):{};for(const ed in Ra)qa[ed]=propertyToRef(Ra,ed);return qa}class ObjectRefImpl{constructor(qa,ed,td){this._object=qa,this._key=ed,this._defaultValue=td,this.__v_isRef=!0,this._value=void 0}get value(){const qa=this._object[this._key];return this._value=qa===void 0?this._defaultValue:qa}set value(qa){this._object[this._key]=qa}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}}class GetterRefImpl{constructor(qa){this._getter=qa,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function toRef$1(Ra,qa,ed){return isRef(Ra)?Ra:isFunction$4(Ra)?new GetterRefImpl(Ra):isObject$5(Ra)&&arguments.length>1?propertyToRef(Ra,qa,ed):ref$1(Ra)}function propertyToRef(Ra,qa,ed){const td=Ra[qa];return isRef(td)?td:new ObjectRefImpl(Ra,qa,ed)}class ComputedRefImpl{constructor(qa,ed,td){this.fn=qa,this.setter=ed,this._value=void 0,this.dep=new Dep(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=globalVersion-1,this.effect=this,this.__v_isReadonly=!ed,this.isSSR=td}notify(){if(this.flags|=16,!(this.flags&8)&&activeSub!==this)return batch(this),!0}get value(){const qa=this.dep.track();return refreshComputed(this),qa&&(qa.version=this.dep.version),this._value}set value(qa){this.setter&&this.setter(qa)}}function computed$1(Ra,qa,ed=!1){let td,rd;return isFunction$4(Ra)?td=Ra:(td=Ra.get,rd=Ra.set),new ComputedRefImpl(td,rd,ed)}const INITIAL_WATCHER_VALUE={},cleanupMap=new WeakMap;let activeWatcher;function onWatcherCleanup(Ra,qa=!1,ed=activeWatcher){if(ed){let td=cleanupMap.get(ed);td||cleanupMap.set(ed,td=[]),td.push(Ra)}}function watch$1(Ra,qa,ed=EMPTY_OBJ){const{immediate:td,deep:rd,once:sd,scheduler:od,augmentJob:ld,call:ud}=ed,cd=Ld=>rd?Ld:isShallow(Ld)||rd===!1||rd===0?traverse(Ld,1):traverse(Ld);let dd,_d,Ed,Ad,Td=!1,Id=!1;if(isRef(Ra)?(_d=()=>Ra.value,Td=isShallow(Ra)):isReactive(Ra)?(_d=()=>cd(Ra),Td=!0):isArray$2(Ra)?(Id=!0,Td=Ra.some(Ld=>isReactive(Ld)||isShallow(Ld)),_d=()=>Ra.map(Ld=>{if(isRef(Ld))return Ld.value;if(isReactive(Ld))return cd(Ld);if(isFunction$4(Ld))return ud?ud(Ld,2):Ld()})):isFunction$4(Ra)?qa?_d=ud?()=>ud(Ra,2):Ra:_d=()=>{if(Ed){pauseTracking();try{Ed()}finally{resetTracking()}}const Ld=activeWatcher;activeWatcher=dd;try{return ud?ud(Ra,3,[Ad]):Ra(Ad)}finally{activeWatcher=Ld}}:_d=NOOP,qa&&rd){const Ld=_d,Fd=rd===!0?1/0:rd;_d=()=>traverse(Ld(),Fd)}const Bd=getCurrentScope(),Rd=()=>{dd.stop(),Bd&&remove$2(Bd.effects,dd)};if(sd&&qa){const Ld=qa;qa=(...Fd)=>{Ld(...Fd),Rd()}}let Od=Id?new Array(Ra.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE;const Md=Ld=>{if(!(!(dd.flags&1)||!dd.dirty&&!Ld))if(qa){const Fd=dd.run();if(rd||Td||(Id?Fd.some((jd,Vd)=>hasChanged(jd,Od[Vd])):hasChanged(Fd,Od))){Ed&&Ed();const jd=activeWatcher;activeWatcher=dd;try{const Vd=[Fd,Od===INITIAL_WATCHER_VALUE?void 0:Id&&Od[0]===INITIAL_WATCHER_VALUE?[]:Od,Ad];ud?ud(qa,3,Vd):qa(...Vd),Od=Fd}finally{activeWatcher=jd}}}else dd.run()};return ld&&ld(Md),dd=new ReactiveEffect(_d),dd.scheduler=od?()=>od(Md,!1):Md,Ad=Ld=>onWatcherCleanup(Ld,!1,dd),Ed=dd.onStop=()=>{const Ld=cleanupMap.get(dd);if(Ld){if(ud)ud(Ld,4);else for(const Fd of Ld)Fd();cleanupMap.delete(dd)}},qa?td?Md(!0):Od=dd.run():od?od(Md.bind(null,!0),!0):dd.run(),Rd.pause=dd.pause.bind(dd),Rd.resume=dd.resume.bind(dd),Rd.stop=Rd,Rd}function traverse(Ra,qa=1/0,ed){if(qa<=0||!isObject$5(Ra)||Ra.__v_skip||(ed=ed||new Set,ed.has(Ra)))return Ra;if(ed.add(Ra),qa--,isRef(Ra))traverse(Ra.value,qa,ed);else if(isArray$2(Ra))for(let td=0;td{traverse(td,qa,ed)});else if(isPlainObject$3(Ra)){for(const td in Ra)traverse(Ra[td],qa,ed);for(const td of Object.getOwnPropertySymbols(Ra))Object.prototype.propertyIsEnumerable.call(Ra,td)&&traverse(Ra[td],qa,ed)}return Ra}/** -* @vue/runtime-core v3.5.6 +**/let activeEffectScope;class EffectScope{constructor(qa=!1){this.detached=qa,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=activeEffectScope,!qa&&activeEffectScope&&(this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let qa,td;if(this.scopes)for(qa=0,td=this.scopes.length;qa0)return;let Ra;for(;batchedSub;){let qa=batchedSub;for(batchedSub=void 0;qa;){const td=qa.next;if(qa.next=void 0,qa.flags&=-9,qa.flags&1)try{qa.trigger()}catch(rd){Ra||(Ra=rd)}qa=td}}if(Ra)throw Ra}function prepareDeps(Ra){for(let qa=Ra.deps;qa;qa=qa.nextDep)qa.version=-1,qa.prevActiveLink=qa.dep.activeLink,qa.dep.activeLink=qa}function cleanupDeps(Ra,qa=!1){let td,rd=Ra.depsTail,nd=rd;for(;nd;){const ad=nd.prevDep;nd.version===-1?(nd===rd&&(rd=ad),removeSub(nd,qa),removeDep(nd)):td=nd,nd.dep.activeLink=nd.prevActiveLink,nd.prevActiveLink=void 0,nd=ad}Ra.deps=td,Ra.depsTail=rd}function isDirty(Ra){for(let qa=Ra.deps;qa;qa=qa.nextDep)if(qa.dep.version!==qa.version||qa.dep.computed&&(refreshComputed(qa.dep.computed)||qa.dep.version!==qa.version))return!0;return!!Ra._dirty}function refreshComputed(Ra){if(Ra.flags&4&&!(Ra.flags&16)||(Ra.flags&=-17,Ra.globalVersion===globalVersion))return;Ra.globalVersion=globalVersion;const qa=Ra.dep;if(Ra.flags|=2,qa.version>0&&!Ra.isSSR&&Ra.deps&&!isDirty(Ra)){Ra.flags&=-3;return}const td=activeSub,rd=shouldTrack;activeSub=Ra,shouldTrack=!0;try{prepareDeps(Ra);const nd=Ra.fn(Ra._value);(qa.version===0||hasChanged(nd,Ra._value))&&(Ra._value=nd,qa.version++)}catch(nd){throw qa.version++,nd}finally{activeSub=td,shouldTrack=rd,cleanupDeps(Ra,!0),Ra.flags&=-3}}function removeSub(Ra,qa=!1){const{dep:td,prevSub:rd,nextSub:nd}=Ra;if(rd&&(rd.nextSub=nd,Ra.prevSub=void 0),nd&&(nd.prevSub=rd,Ra.nextSub=void 0),td.subs===Ra&&(td.subs=rd),!td.subs)if(td.computed){td.computed.flags&=-5;for(let ad=td.computed.deps;ad;ad=ad.nextDep)removeSub(ad,!0)}else td.map&&!qa&&(td.map.delete(td.key),td.map.size||targetMap.delete(td.target))}function removeDep(Ra){const{prevDep:qa,nextDep:td}=Ra;qa&&(qa.nextDep=td,Ra.prevDep=void 0),td&&(td.prevDep=qa,Ra.nextDep=void 0)}let shouldTrack=!0;const trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){const Ra=trackStack.pop();shouldTrack=Ra===void 0?!0:Ra}function cleanupEffect(Ra){const{cleanup:qa}=Ra;if(Ra.cleanup=void 0,qa){const td=activeSub;activeSub=void 0;try{qa()}finally{activeSub=td}}}let globalVersion=0,Link$1=class{constructor(qa,td){this.sub=qa,this.dep=td,this.version=td.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}};class Dep{constructor(qa){this.computed=qa,this.version=0,this.activeLink=void 0,this.subs=void 0,this.target=void 0,this.map=void 0,this.key=void 0}track(qa){if(!activeSub||!shouldTrack||activeSub===this.computed)return;let td=this.activeLink;if(td===void 0||td.sub!==activeSub)td=this.activeLink=new Link$1(activeSub,this),activeSub.deps?(td.prevDep=activeSub.depsTail,activeSub.depsTail.nextDep=td,activeSub.depsTail=td):activeSub.deps=activeSub.depsTail=td,activeSub.flags&4&&addSub(td);else if(td.version===-1&&(td.version=this.version,td.nextDep)){const rd=td.nextDep;rd.prevDep=td.prevDep,td.prevDep&&(td.prevDep.nextDep=rd),td.prevDep=activeSub.depsTail,td.nextDep=void 0,activeSub.depsTail.nextDep=td,activeSub.depsTail=td,activeSub.deps===td&&(activeSub.deps=rd)}return td}trigger(qa){this.version++,globalVersion++,this.notify(qa)}notify(qa){startBatch();try{for(let td=this.subs;td;td=td.prevSub)td.sub.notify()&&td.sub.dep.notify()}finally{endBatch()}}}function addSub(Ra){const qa=Ra.dep.computed;if(qa&&!Ra.dep.subs){qa.flags|=20;for(let rd=qa.deps;rd;rd=rd.nextDep)addSub(rd)}const td=Ra.dep.subs;td!==Ra&&(Ra.prevSub=td,td&&(td.nextSub=Ra)),Ra.dep.subs=Ra}const targetMap=new WeakMap,ITERATE_KEY=Symbol(""),MAP_KEY_ITERATE_KEY=Symbol(""),ARRAY_ITERATE_KEY=Symbol("");function track(Ra,qa,td){if(shouldTrack&&activeSub){let rd=targetMap.get(Ra);rd||targetMap.set(Ra,rd=new Map);let nd=rd.get(td);nd||(rd.set(td,nd=new Dep),nd.target=Ra,nd.map=rd,nd.key=td),nd.track()}}function trigger(Ra,qa,td,rd,nd,ad){const sd=targetMap.get(Ra);if(!sd){globalVersion++;return}const ud=cd=>{cd&&cd.trigger()};if(startBatch(),qa==="clear")sd.forEach(ud);else{const cd=isArray$2(Ra),dd=cd&&isIntegerKey(td);if(cd&&td==="length"){const pd=Number(rd);sd.forEach((fd,Td)=>{(Td==="length"||Td===ARRAY_ITERATE_KEY||!isSymbol$1(Td)&&Td>=pd)&&ud(fd)})}else switch(td!==void 0&&ud(sd.get(td)),dd&&ud(sd.get(ARRAY_ITERATE_KEY)),qa){case"add":cd?dd&&ud(sd.get("length")):(ud(sd.get(ITERATE_KEY)),isMap$1(Ra)&&ud(sd.get(MAP_KEY_ITERATE_KEY)));break;case"delete":cd||(ud(sd.get(ITERATE_KEY)),isMap$1(Ra)&&ud(sd.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap$1(Ra)&&ud(sd.get(ITERATE_KEY));break}}endBatch()}function getDepFromReactive(Ra,qa){var td;return(td=targetMap.get(Ra))==null?void 0:td.get(qa)}function reactiveReadArray(Ra){const qa=toRaw(Ra);return qa===Ra?qa:(track(qa,"iterate",ARRAY_ITERATE_KEY),isShallow(Ra)?qa:qa.map(toReactive))}function shallowReadArray(Ra){return track(Ra=toRaw(Ra),"iterate",ARRAY_ITERATE_KEY),Ra}const arrayInstrumentations={__proto__:null,[Symbol.iterator](){return iterator(this,Symbol.iterator,toReactive)},concat(...Ra){return reactiveReadArray(this).concat(...Ra.map(qa=>isArray$2(qa)?reactiveReadArray(qa):qa))},entries(){return iterator(this,"entries",Ra=>(Ra[1]=toReactive(Ra[1]),Ra))},every(Ra,qa){return apply$3(this,"every",Ra,qa,void 0,arguments)},filter(Ra,qa){return apply$3(this,"filter",Ra,qa,td=>td.map(toReactive),arguments)},find(Ra,qa){return apply$3(this,"find",Ra,qa,toReactive,arguments)},findIndex(Ra,qa){return apply$3(this,"findIndex",Ra,qa,void 0,arguments)},findLast(Ra,qa){return apply$3(this,"findLast",Ra,qa,toReactive,arguments)},findLastIndex(Ra,qa){return apply$3(this,"findLastIndex",Ra,qa,void 0,arguments)},forEach(Ra,qa){return apply$3(this,"forEach",Ra,qa,void 0,arguments)},includes(...Ra){return searchProxy(this,"includes",Ra)},indexOf(...Ra){return searchProxy(this,"indexOf",Ra)},join(Ra){return reactiveReadArray(this).join(Ra)},lastIndexOf(...Ra){return searchProxy(this,"lastIndexOf",Ra)},map(Ra,qa){return apply$3(this,"map",Ra,qa,void 0,arguments)},pop(){return noTracking(this,"pop")},push(...Ra){return noTracking(this,"push",Ra)},reduce(Ra,...qa){return reduce$2(this,"reduce",Ra,qa)},reduceRight(Ra,...qa){return reduce$2(this,"reduceRight",Ra,qa)},shift(){return noTracking(this,"shift")},some(Ra,qa){return apply$3(this,"some",Ra,qa,void 0,arguments)},splice(...Ra){return noTracking(this,"splice",Ra)},toReversed(){return reactiveReadArray(this).toReversed()},toSorted(Ra){return reactiveReadArray(this).toSorted(Ra)},toSpliced(...Ra){return reactiveReadArray(this).toSpliced(...Ra)},unshift(...Ra){return noTracking(this,"unshift",Ra)},values(){return iterator(this,"values",toReactive)}};function iterator(Ra,qa,td){const rd=shallowReadArray(Ra),nd=rd[qa]();return rd!==Ra&&!isShallow(Ra)&&(nd._next=nd.next,nd.next=()=>{const ad=nd._next();return ad.value&&(ad.value=td(ad.value)),ad}),nd}const arrayProto$1=Array.prototype;function apply$3(Ra,qa,td,rd,nd,ad){const sd=shallowReadArray(Ra),ud=sd!==Ra&&!isShallow(Ra),cd=sd[qa];if(cd!==arrayProto$1[qa]){const fd=cd.apply(Ra,ad);return ud?toReactive(fd):fd}let dd=td;sd!==Ra&&(ud?dd=function(fd,Td){return td.call(this,toReactive(fd),Td,Ra)}:td.length>2&&(dd=function(fd,Td){return td.call(this,fd,Td,Ra)}));const pd=cd.call(sd,dd,rd);return ud&&nd?nd(pd):pd}function reduce$2(Ra,qa,td,rd){const nd=shallowReadArray(Ra);let ad=td;return nd!==Ra&&(isShallow(Ra)?td.length>3&&(ad=function(sd,ud,cd){return td.call(this,sd,ud,cd,Ra)}):ad=function(sd,ud,cd){return td.call(this,sd,toReactive(ud),cd,Ra)}),nd[qa](ad,...rd)}function searchProxy(Ra,qa,td){const rd=toRaw(Ra);track(rd,"iterate",ARRAY_ITERATE_KEY);const nd=rd[qa](...td);return(nd===-1||nd===!1)&&isProxy(td[0])?(td[0]=toRaw(td[0]),rd[qa](...td)):nd}function noTracking(Ra,qa,td=[]){pauseTracking(),startBatch();const rd=toRaw(Ra)[qa].apply(Ra,td);return endBatch(),resetTracking(),rd}const isNonTrackableKeys=makeMap("__proto__,__v_isRef,__isVue"),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(Ra=>Ra!=="arguments"&&Ra!=="caller").map(Ra=>Symbol[Ra]).filter(isSymbol$1));function hasOwnProperty$h(Ra){isSymbol$1(Ra)||(Ra=String(Ra));const qa=toRaw(this);return track(qa,"has",Ra),qa.hasOwnProperty(Ra)}class BaseReactiveHandler{constructor(qa=!1,td=!1){this._isReadonly=qa,this._isShallow=td}get(qa,td,rd){const nd=this._isReadonly,ad=this._isShallow;if(td==="__v_isReactive")return!nd;if(td==="__v_isReadonly")return nd;if(td==="__v_isShallow")return ad;if(td==="__v_raw")return rd===(nd?ad?shallowReadonlyMap:readonlyMap:ad?shallowReactiveMap:reactiveMap).get(qa)||Object.getPrototypeOf(qa)===Object.getPrototypeOf(rd)?qa:void 0;const sd=isArray$2(qa);if(!nd){let cd;if(sd&&(cd=arrayInstrumentations[td]))return cd;if(td==="hasOwnProperty")return hasOwnProperty$h}const ud=Reflect.get(qa,td,isRef(qa)?qa:rd);return(isSymbol$1(td)?builtInSymbols.has(td):isNonTrackableKeys(td))||(nd||track(qa,"get",td),ad)?ud:isRef(ud)?sd&&isIntegerKey(td)?ud:ud.value:isObject$5(ud)?nd?readonly(ud):reactive(ud):ud}}class MutableReactiveHandler extends BaseReactiveHandler{constructor(qa=!1){super(!1,qa)}set(qa,td,rd,nd){let ad=qa[td];if(!this._isShallow){const cd=isReadonly(ad);if(!isShallow(rd)&&!isReadonly(rd)&&(ad=toRaw(ad),rd=toRaw(rd)),!isArray$2(qa)&&isRef(ad)&&!isRef(rd))return cd?!1:(ad.value=rd,!0)}const sd=isArray$2(qa)&&isIntegerKey(td)?Number(td)Ra,getProto$2=Ra=>Reflect.getPrototypeOf(Ra);function get$4(Ra,qa,td=!1,rd=!1){Ra=Ra.__v_raw;const nd=toRaw(Ra),ad=toRaw(qa);td||(hasChanged(qa,ad)&&track(nd,"get",qa),track(nd,"get",ad));const{has:sd}=getProto$2(nd),ud=rd?toShallow:td?toReadonly:toReactive;if(sd.call(nd,qa))return ud(Ra.get(qa));if(sd.call(nd,ad))return ud(Ra.get(ad));Ra!==nd&&Ra.get(qa)}function has$1(Ra,qa=!1){const td=this.__v_raw,rd=toRaw(td),nd=toRaw(Ra);return qa||(hasChanged(Ra,nd)&&track(rd,"has",Ra),track(rd,"has",nd)),Ra===nd?td.has(Ra):td.has(Ra)||td.has(nd)}function size$2(Ra,qa=!1){return Ra=Ra.__v_raw,!qa&&track(toRaw(Ra),"iterate",ITERATE_KEY),Reflect.get(Ra,"size",Ra)}function add$1(Ra,qa=!1){!qa&&!isShallow(Ra)&&!isReadonly(Ra)&&(Ra=toRaw(Ra));const td=toRaw(this);return getProto$2(td).has.call(td,Ra)||(td.add(Ra),trigger(td,"add",Ra,Ra)),this}function set$4(Ra,qa,td=!1){!td&&!isShallow(qa)&&!isReadonly(qa)&&(qa=toRaw(qa));const rd=toRaw(this),{has:nd,get:ad}=getProto$2(rd);let sd=nd.call(rd,Ra);sd||(Ra=toRaw(Ra),sd=nd.call(rd,Ra));const ud=ad.call(rd,Ra);return rd.set(Ra,qa),sd?hasChanged(qa,ud)&&trigger(rd,"set",Ra,qa):trigger(rd,"add",Ra,qa),this}function deleteEntry(Ra){const qa=toRaw(this),{has:td,get:rd}=getProto$2(qa);let nd=td.call(qa,Ra);nd||(Ra=toRaw(Ra),nd=td.call(qa,Ra)),rd&&rd.call(qa,Ra);const ad=qa.delete(Ra);return nd&&trigger(qa,"delete",Ra,void 0),ad}function clear$2(){const Ra=toRaw(this),qa=Ra.size!==0,td=Ra.clear();return qa&&trigger(Ra,"clear",void 0,void 0),td}function createForEach(Ra,qa){return function(rd,nd){const ad=this,sd=ad.__v_raw,ud=toRaw(sd),cd=qa?toShallow:Ra?toReadonly:toReactive;return!Ra&&track(ud,"iterate",ITERATE_KEY),sd.forEach((dd,pd)=>rd.call(nd,cd(dd),cd(pd),ad))}}function createIterableMethod(Ra,qa,td){return function(...rd){const nd=this.__v_raw,ad=toRaw(nd),sd=isMap$1(ad),ud=Ra==="entries"||Ra===Symbol.iterator&&sd,cd=Ra==="keys"&&sd,dd=nd[Ra](...rd),pd=td?toShallow:qa?toReadonly:toReactive;return!qa&&track(ad,"iterate",cd?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:fd,done:Td}=dd.next();return Td?{value:fd,done:Td}:{value:ud?[pd(fd[0]),pd(fd[1])]:pd(fd),done:Td}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(Ra){return function(...qa){return Ra==="delete"?!1:Ra==="clear"?void 0:this}}function createInstrumentations(){const Ra={get(ad){return get$4(this,ad)},get size(){return size$2(this)},has:has$1,add:add$1,set:set$4,delete:deleteEntry,clear:clear$2,forEach:createForEach(!1,!1)},qa={get(ad){return get$4(this,ad,!1,!0)},get size(){return size$2(this)},has:has$1,add(ad){return add$1.call(this,ad,!0)},set(ad,sd){return set$4.call(this,ad,sd,!0)},delete:deleteEntry,clear:clear$2,forEach:createForEach(!1,!0)},td={get(ad){return get$4(this,ad,!0)},get size(){return size$2(this,!0)},has(ad){return has$1.call(this,ad,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!1)},rd={get(ad){return get$4(this,ad,!0,!0)},get size(){return size$2(this,!0)},has(ad){return has$1.call(this,ad,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(ad=>{Ra[ad]=createIterableMethod(ad,!1,!1),td[ad]=createIterableMethod(ad,!0,!1),qa[ad]=createIterableMethod(ad,!1,!0),rd[ad]=createIterableMethod(ad,!0,!0)}),[Ra,td,qa,rd]}const[mutableInstrumentations,readonlyInstrumentations,shallowInstrumentations,shallowReadonlyInstrumentations]=createInstrumentations();function createInstrumentationGetter(Ra,qa){const td=qa?Ra?shallowReadonlyInstrumentations:shallowInstrumentations:Ra?readonlyInstrumentations:mutableInstrumentations;return(rd,nd,ad)=>nd==="__v_isReactive"?!Ra:nd==="__v_isReadonly"?Ra:nd==="__v_raw"?rd:Reflect.get(hasOwn$2(td,nd)&&nd in rd?td:rd,nd,ad)}const mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(Ra){switch(Ra){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function getTargetType(Ra){return Ra.__v_skip||!Object.isExtensible(Ra)?0:targetTypeMap(toRawType(Ra))}function reactive(Ra){return isReadonly(Ra)?Ra:createReactiveObject(Ra,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(Ra){return createReactiveObject(Ra,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(Ra){return createReactiveObject(Ra,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(Ra){return createReactiveObject(Ra,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(Ra,qa,td,rd,nd){if(!isObject$5(Ra)||Ra.__v_raw&&!(qa&&Ra.__v_isReactive))return Ra;const ad=nd.get(Ra);if(ad)return ad;const sd=getTargetType(Ra);if(sd===0)return Ra;const ud=new Proxy(Ra,sd===2?rd:td);return nd.set(Ra,ud),ud}function isReactive(Ra){return isReadonly(Ra)?isReactive(Ra.__v_raw):!!(Ra&&Ra.__v_isReactive)}function isReadonly(Ra){return!!(Ra&&Ra.__v_isReadonly)}function isShallow(Ra){return!!(Ra&&Ra.__v_isShallow)}function isProxy(Ra){return Ra?!!Ra.__v_raw:!1}function toRaw(Ra){const qa=Ra&&Ra.__v_raw;return qa?toRaw(qa):Ra}function markRaw(Ra){return!hasOwn$2(Ra,"__v_skip")&&Object.isExtensible(Ra)&&def$2(Ra,"__v_skip",!0),Ra}const toReactive=Ra=>isObject$5(Ra)?reactive(Ra):Ra,toReadonly=Ra=>isObject$5(Ra)?readonly(Ra):Ra;function isRef(Ra){return Ra?Ra.__v_isRef===!0:!1}function ref$1(Ra){return createRef(Ra,!1)}function shallowRef(Ra){return createRef(Ra,!0)}function createRef(Ra,qa){return isRef(Ra)?Ra:new RefImpl(Ra,qa)}class RefImpl{constructor(qa,td){this.dep=new Dep,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=td?qa:toRaw(qa),this._value=td?qa:toReactive(qa),this.__v_isShallow=td}get value(){return this.dep.track(),this._value}set value(qa){const td=this._rawValue,rd=this.__v_isShallow||isShallow(qa)||isReadonly(qa);qa=rd?qa:toRaw(qa),hasChanged(qa,td)&&(this._rawValue=qa,this._value=rd?qa:toReactive(qa),this.dep.trigger())}}function unref(Ra){return isRef(Ra)?Ra.value:Ra}const shallowUnwrapHandlers={get:(Ra,qa,td)=>qa==="__v_raw"?Ra:unref(Reflect.get(Ra,qa,td)),set:(Ra,qa,td,rd)=>{const nd=Ra[qa];return isRef(nd)&&!isRef(td)?(nd.value=td,!0):Reflect.set(Ra,qa,td,rd)}};function proxyRefs(Ra){return isReactive(Ra)?Ra:new Proxy(Ra,shallowUnwrapHandlers)}class CustomRefImpl{constructor(qa){this.__v_isRef=!0,this._value=void 0;const td=this.dep=new Dep,{get:rd,set:nd}=qa(td.track.bind(td),td.trigger.bind(td));this._get=rd,this._set=nd}get value(){return this._value=this._get()}set value(qa){this._set(qa)}}function customRef(Ra){return new CustomRefImpl(Ra)}function toRefs(Ra){const qa=isArray$2(Ra)?new Array(Ra.length):{};for(const td in Ra)qa[td]=propertyToRef(Ra,td);return qa}class ObjectRefImpl{constructor(qa,td,rd){this._object=qa,this._key=td,this._defaultValue=rd,this.__v_isRef=!0,this._value=void 0}get value(){const qa=this._object[this._key];return this._value=qa===void 0?this._defaultValue:qa}set value(qa){this._object[this._key]=qa}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}}class GetterRefImpl{constructor(qa){this._getter=qa,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function toRef$1(Ra,qa,td){return isRef(Ra)?Ra:isFunction$4(Ra)?new GetterRefImpl(Ra):isObject$5(Ra)&&arguments.length>1?propertyToRef(Ra,qa,td):ref$1(Ra)}function propertyToRef(Ra,qa,td){const rd=Ra[qa];return isRef(rd)?rd:new ObjectRefImpl(Ra,qa,td)}class ComputedRefImpl{constructor(qa,td,rd){this.fn=qa,this.setter=td,this._value=void 0,this.dep=new Dep(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=globalVersion-1,this.effect=this,this.__v_isReadonly=!td,this.isSSR=rd}notify(){if(this.flags|=16,!(this.flags&8)&&activeSub!==this)return batch(this),!0}get value(){const qa=this.dep.track();return refreshComputed(this),qa&&(qa.version=this.dep.version),this._value}set value(qa){this.setter&&this.setter(qa)}}function computed$1(Ra,qa,td=!1){let rd,nd;return isFunction$4(Ra)?rd=Ra:(rd=Ra.get,nd=Ra.set),new ComputedRefImpl(rd,nd,td)}const INITIAL_WATCHER_VALUE={},cleanupMap=new WeakMap;let activeWatcher;function onWatcherCleanup(Ra,qa=!1,td=activeWatcher){if(td){let rd=cleanupMap.get(td);rd||cleanupMap.set(td,rd=[]),rd.push(Ra)}}function watch$1(Ra,qa,td=EMPTY_OBJ){const{immediate:rd,deep:nd,once:ad,scheduler:sd,augmentJob:ud,call:cd}=td,dd=jd=>nd?jd:isShallow(jd)||nd===!1||nd===0?traverse(jd,1):traverse(jd);let pd,fd,Td,Ad,Sd=!1,Dd=!1;if(isRef(Ra)?(fd=()=>Ra.value,Sd=isShallow(Ra)):isReactive(Ra)?(fd=()=>dd(Ra),Sd=!0):isArray$2(Ra)?(Dd=!0,Sd=Ra.some(jd=>isReactive(jd)||isShallow(jd)),fd=()=>Ra.map(jd=>{if(isRef(jd))return jd.value;if(isReactive(jd))return dd(jd);if(isFunction$4(jd))return cd?cd(jd,2):jd()})):isFunction$4(Ra)?qa?fd=cd?()=>cd(Ra,2):Ra:fd=()=>{if(Td){pauseTracking();try{Td()}finally{resetTracking()}}const jd=activeWatcher;activeWatcher=pd;try{return cd?cd(Ra,3,[Ad]):Ra(Ad)}finally{activeWatcher=jd}}:fd=NOOP,qa&&nd){const jd=fd,Ud=nd===!0?1/0:nd;fd=()=>traverse(jd(),Ud)}const Ld=getCurrentScope(),Rd=()=>{pd.stop(),Ld&&remove$2(Ld.effects,pd)};if(ad&&qa){const jd=qa;qa=(...Ud)=>{jd(...Ud),Rd()}}let Od=Dd?new Array(Ra.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE;const Md=jd=>{if(!(!(pd.flags&1)||!pd.dirty&&!jd))if(qa){const Ud=pd.run();if(nd||Sd||(Dd?Ud.some((Hd,zd)=>hasChanged(Hd,Od[zd])):hasChanged(Ud,Od))){Td&&Td();const Hd=activeWatcher;activeWatcher=pd;try{const zd=[Ud,Od===INITIAL_WATCHER_VALUE?void 0:Dd&&Od[0]===INITIAL_WATCHER_VALUE?[]:Od,Ad];cd?cd(qa,3,zd):qa(...zd),Od=Ud}finally{activeWatcher=Hd}}}else pd.run()};return ud&&ud(Md),pd=new ReactiveEffect(fd),pd.scheduler=sd?()=>sd(Md,!1):Md,Ad=jd=>onWatcherCleanup(jd,!1,pd),Td=pd.onStop=()=>{const jd=cleanupMap.get(pd);if(jd){if(cd)cd(jd,4);else for(const Ud of jd)Ud();cleanupMap.delete(pd)}},qa?rd?Md(!0):Od=pd.run():sd?sd(Md.bind(null,!0),!0):pd.run(),Rd.pause=pd.pause.bind(pd),Rd.resume=pd.resume.bind(pd),Rd.stop=Rd,Rd}function traverse(Ra,qa=1/0,td){if(qa<=0||!isObject$5(Ra)||Ra.__v_skip||(td=td||new Set,td.has(Ra)))return Ra;if(td.add(Ra),qa--,isRef(Ra))traverse(Ra.value,qa,td);else if(isArray$2(Ra))for(let rd=0;rd{traverse(rd,qa,td)});else if(isPlainObject$3(Ra)){for(const rd in Ra)traverse(Ra[rd],qa,td);for(const rd of Object.getOwnPropertySymbols(Ra))Object.prototype.propertyIsEnumerable.call(Ra,rd)&&traverse(Ra[rd],qa,td)}return Ra}/** +* @vue/runtime-core v3.5.8 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const stack=[];let isWarning=!1;function warn$1(Ra,...qa){if(isWarning)return;isWarning=!0,pauseTracking();const ed=stack.length?stack[stack.length-1].component:null,td=ed&&ed.appContext.config.warnHandler,rd=getComponentTrace();if(td)callWithErrorHandling(td,ed,11,[Ra+qa.map(sd=>{var od,ld;return(ld=(od=sd.toString)==null?void 0:od.call(sd))!=null?ld:JSON.stringify(sd)}).join(""),ed&&ed.proxy,rd.map(({vnode:sd})=>`at <${formatComponentName(ed,sd.type)}>`).join(` -`),rd]);else{const sd=[`[Vue warn]: ${Ra}`,...qa];rd.length&&sd.push(` -`,...formatTrace(rd)),console.warn(...sd)}resetTracking(),isWarning=!1}function getComponentTrace(){let Ra=stack[stack.length-1];if(!Ra)return[];const qa=[];for(;Ra;){const ed=qa[0];ed&&ed.vnode===Ra?ed.recurseCount++:qa.push({vnode:Ra,recurseCount:0});const td=Ra.component&&Ra.component.parent;Ra=td&&td.vnode}return qa}function formatTrace(Ra){const qa=[];return Ra.forEach((ed,td)=>{qa.push(...td===0?[]:[` -`],...formatTraceEntry(ed))}),qa}function formatTraceEntry({vnode:Ra,recurseCount:qa}){const ed=qa>0?`... (${qa} recursive calls)`:"",td=Ra.component?Ra.component.parent==null:!1,rd=` at <${formatComponentName(Ra.component,Ra.type,td)}`,sd=">"+ed;return Ra.props?[rd,...formatProps(Ra.props),sd]:[rd+sd]}function formatProps(Ra){const qa=[],ed=Object.keys(Ra);return ed.slice(0,3).forEach(td=>{qa.push(...formatProp(td,Ra[td]))}),ed.length>3&&qa.push(" ..."),qa}function formatProp(Ra,qa,ed){return isString$3(qa)?(qa=JSON.stringify(qa),ed?qa:[`${Ra}=${qa}`]):typeof qa=="number"||typeof qa=="boolean"||qa==null?ed?qa:[`${Ra}=${qa}`]:isRef(qa)?(qa=formatProp(Ra,toRaw(qa.value),!0),ed?qa:[`${Ra}=Ref<`,qa,">"]):isFunction$4(qa)?[`${Ra}=fn${qa.name?`<${qa.name}>`:""}`]:(qa=toRaw(qa),ed?qa:[`${Ra}=`,qa])}function callWithErrorHandling(Ra,qa,ed,td){try{return td?Ra(...td):Ra()}catch(rd){handleError$1(rd,qa,ed)}}function callWithAsyncErrorHandling(Ra,qa,ed,td){if(isFunction$4(Ra)){const rd=callWithErrorHandling(Ra,qa,ed,td);return rd&&isPromise(rd)&&rd.catch(sd=>{handleError$1(sd,qa,ed)}),rd}if(isArray$2(Ra)){const rd=[];for(let sd=0;sd>>1,rd=queue$2[td],sd=getId(rd);sd=getId(ed)?queue$2.push(Ra):queue$2.splice(findInsertionIndex(qa),0,Ra),Ra.flags|=1,queueFlush()}}function queueFlush(){!isFlushing&&!isFlushPending&&(isFlushPending=!0,currentFlushPromise=resolvedPromise.then(flushJobs))}function queuePostFlushCb(Ra){isArray$2(Ra)?pendingPostFlushCbs.push(...Ra):activePostFlushCbs&&Ra.id===-1?activePostFlushCbs.splice(postFlushIndex+1,0,Ra):Ra.flags&1||(pendingPostFlushCbs.push(Ra),Ra.flags|=1),queueFlush()}function flushPreFlushCbs(Ra,qa,ed=isFlushing?flushIndex+1:0){for(;edgetId(ed)-getId(td));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...qa);return}for(activePostFlushCbs=qa,postFlushIndex=0;postFlushIndexRa.id==null?Ra.flags&2?-1:1/0:Ra.id;function flushJobs(Ra){isFlushPending=!1,isFlushing=!0;try{for(flushIndex=0;flushIndex{td._d&&setBlockTracking(-1);const sd=setCurrentRenderingInstance(qa);let od;try{od=Ra(...rd)}finally{setCurrentRenderingInstance(sd),td._d&&setBlockTracking(1)}return od};return td._n=!0,td._c=!0,td._d=!0,td}function withDirectives(Ra,qa){if(currentRenderingInstance===null)return Ra;const ed=getComponentPublicInstance(currentRenderingInstance),td=Ra.dirs||(Ra.dirs=[]);for(let rd=0;rdRa.__isTeleport,isTeleportDisabled=Ra=>Ra&&(Ra.disabled||Ra.disabled===""),isTeleportDeferred=Ra=>Ra&&(Ra.defer||Ra.defer===""),isTargetSVG=Ra=>typeof SVGElement<"u"&&Ra instanceof SVGElement,isTargetMathML=Ra=>typeof MathMLElement=="function"&&Ra instanceof MathMLElement,resolveTarget=(Ra,qa)=>{const ed=Ra&&Ra.to;return isString$3(ed)?qa?qa(ed):null:ed},TeleportImpl={name:"Teleport",__isTeleport:!0,process(Ra,qa,ed,td,rd,sd,od,ld,ud,cd){const{mc:dd,pc:_d,pbc:Ed,o:{insert:Ad,querySelector:Td,createText:Id,createComment:Bd}}=cd,Rd=isTeleportDisabled(qa.props);let{shapeFlag:Od,children:Md,dynamicChildren:Ld}=qa;if(Ra==null){const Fd=qa.el=Id(""),jd=qa.anchor=Id("");Ad(Fd,ed,td),Ad(jd,ed,td);const Vd=(qd,Kd)=>{Od&16&&(rd&&rd.isCE&&(rd.ce._teleportTarget=qd),dd(Md,qd,Kd,rd,sd,od,ld,ud))},Qd=()=>{const qd=qa.target=resolveTarget(qa.props,Td),Kd=prepareAnchor(qd,qa,Id,Ad);qd&&(od!=="svg"&&isTargetSVG(qd)?od="svg":od!=="mathml"&&isTargetMathML(qd)&&(od="mathml"),Rd||(Vd(qd,Kd),updateCssVars(qa)))};Rd&&(Vd(ed,jd),updateCssVars(qa)),isTeleportDeferred(qa.props)?queuePostRenderEffect(Qd,sd):Qd()}else{qa.el=Ra.el,qa.targetStart=Ra.targetStart;const Fd=qa.anchor=Ra.anchor,jd=qa.target=Ra.target,Vd=qa.targetAnchor=Ra.targetAnchor,Qd=isTeleportDisabled(Ra.props),qd=Qd?ed:jd,Kd=Qd?Fd:Vd;if(od==="svg"||isTargetSVG(jd)?od="svg":(od==="mathml"||isTargetMathML(jd))&&(od="mathml"),Ld?(Ed(Ra.dynamicChildren,Ld,qd,rd,sd,od,ld),traverseStaticChildren(Ra,qa,!0)):ud||_d(Ra,qa,qd,Kd,rd,sd,od,ld,!1),Rd)Qd?qa.props&&Ra.props&&qa.props.to!==Ra.props.to&&(qa.props.to=Ra.props.to):moveTeleport(qa,ed,Fd,cd,1);else if((qa.props&&qa.props.to)!==(Ra.props&&Ra.props.to)){const Xd=qa.target=resolveTarget(qa.props,Td);Xd&&moveTeleport(qa,Xd,null,cd,0)}else Qd&&moveTeleport(qa,jd,Vd,cd,1);updateCssVars(qa)}},remove(Ra,qa,ed,{um:td,o:{remove:rd}},sd){const{shapeFlag:od,children:ld,anchor:ud,targetStart:cd,targetAnchor:dd,target:_d,props:Ed}=Ra;if(_d&&(rd(cd),rd(dd)),sd&&rd(ud),od&16){const Ad=sd||!isTeleportDisabled(Ed);for(let Td=0;Td{Ra.isMounted=!0}),onBeforeUnmount(()=>{Ra.isUnmounting=!0}),Ra}const TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},recursiveGetSubtree=Ra=>{const qa=Ra.subTree;return qa.component?recursiveGetSubtree(qa.component):qa},BaseTransitionImpl={name:"BaseTransition",props:BaseTransitionPropsValidators,setup(Ra,{slots:qa}){const ed=getCurrentInstance(),td=useTransitionState();return()=>{const rd=qa.default&&getTransitionRawChildren(qa.default(),!0);if(!rd||!rd.length)return;const sd=findNonCommentChild(rd),od=toRaw(Ra),{mode:ld}=od;if(td.isLeaving)return emptyPlaceholder(sd);const ud=getInnerChild$1(sd);if(!ud)return emptyPlaceholder(sd);let cd=resolveTransitionHooks(ud,od,td,ed,Ed=>cd=Ed);ud.type!==Comment$2&&setTransitionHooks(ud,cd);const dd=ed.subTree,_d=dd&&getInnerChild$1(dd);if(_d&&_d.type!==Comment$2&&!isSameVNodeType(ud,_d)&&recursiveGetSubtree(ed).type!==Comment$2){const Ed=resolveTransitionHooks(_d,od,td,ed);if(setTransitionHooks(_d,Ed),ld==="out-in"&&ud.type!==Comment$2)return td.isLeaving=!0,Ed.afterLeave=()=>{td.isLeaving=!1,ed.job.flags&8||ed.update(),delete Ed.afterLeave},emptyPlaceholder(sd);ld==="in-out"&&ud.type!==Comment$2&&(Ed.delayLeave=(Ad,Td,Id)=>{const Bd=getLeavingNodesForType(td,_d);Bd[String(_d.key)]=_d,Ad[leaveCbKey]=()=>{Td(),Ad[leaveCbKey]=void 0,delete cd.delayedLeave},cd.delayedLeave=Id})}return sd}}};function findNonCommentChild(Ra){let qa=Ra[0];if(Ra.length>1){for(const ed of Ra)if(ed.type!==Comment$2){qa=ed;break}}return qa}const BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(Ra,qa){const{leavingVNodes:ed}=Ra;let td=ed.get(qa.type);return td||(td=Object.create(null),ed.set(qa.type,td)),td}function resolveTransitionHooks(Ra,qa,ed,td,rd){const{appear:sd,mode:od,persisted:ld=!1,onBeforeEnter:ud,onEnter:cd,onAfterEnter:dd,onEnterCancelled:_d,onBeforeLeave:Ed,onLeave:Ad,onAfterLeave:Td,onLeaveCancelled:Id,onBeforeAppear:Bd,onAppear:Rd,onAfterAppear:Od,onAppearCancelled:Md}=qa,Ld=String(Ra.key),Fd=getLeavingNodesForType(ed,Ra),jd=(qd,Kd)=>{qd&&callWithAsyncErrorHandling(qd,td,9,Kd)},Vd=(qd,Kd)=>{const Xd=Kd[1];jd(qd,Kd),isArray$2(qd)?qd.every(df=>df.length<=1)&&Xd():qd.length<=1&&Xd()},Qd={mode:od,persisted:ld,beforeEnter(qd){let Kd=ud;if(!ed.isMounted)if(sd)Kd=Bd||ud;else return;qd[leaveCbKey]&&qd[leaveCbKey](!0);const Xd=Fd[Ld];Xd&&isSameVNodeType(Ra,Xd)&&Xd.el[leaveCbKey]&&Xd.el[leaveCbKey](),jd(Kd,[qd])},enter(qd){let Kd=cd,Xd=dd,df=_d;if(!ed.isMounted)if(sd)Kd=Rd||cd,Xd=Od||dd,df=Md||_d;else return;let mf=!1;const bf=qd[enterCbKey$1]=pf=>{mf||(mf=!0,pf?jd(df,[qd]):jd(Xd,[qd]),Qd.delayedLeave&&Qd.delayedLeave(),qd[enterCbKey$1]=void 0)};Kd?Vd(Kd,[qd,bf]):bf()},leave(qd,Kd){const Xd=String(Ra.key);if(qd[enterCbKey$1]&&qd[enterCbKey$1](!0),ed.isUnmounting)return Kd();jd(Ed,[qd]);let df=!1;const mf=qd[leaveCbKey]=bf=>{df||(df=!0,Kd(),bf?jd(Id,[qd]):jd(Td,[qd]),qd[leaveCbKey]=void 0,Fd[Xd]===Ra&&delete Fd[Xd])};Fd[Xd]=Ra,Ad?Vd(Ad,[qd,mf]):mf()},clone(qd){const Kd=resolveTransitionHooks(qd,qa,ed,td,rd);return rd&&rd(Kd),Kd}};return Qd}function emptyPlaceholder(Ra){if(isKeepAlive(Ra))return Ra=cloneVNode(Ra),Ra.children=null,Ra}function getInnerChild$1(Ra){if(!isKeepAlive(Ra))return isTeleport(Ra.type)&&Ra.children?findNonCommentChild(Ra.children):Ra;const{shapeFlag:qa,children:ed}=Ra;if(ed){if(qa&16)return ed[0];if(qa&32&&isFunction$4(ed.default))return ed.default()}}function setTransitionHooks(Ra,qa){Ra.shapeFlag&6&&Ra.component?(Ra.transition=qa,setTransitionHooks(Ra.component.subTree,qa)):Ra.shapeFlag&128?(Ra.ssContent.transition=qa.clone(Ra.ssContent),Ra.ssFallback.transition=qa.clone(Ra.ssFallback)):Ra.transition=qa}function getTransitionRawChildren(Ra,qa=!1,ed){let td=[],rd=0;for(let sd=0;sd1)for(let sd=0;sdsetRef(Td,qa&&(isArray$2(qa)?qa[Id]:qa),ed,td,rd));return}if(isAsyncWrapper(td)&&!rd)return;const sd=td.shapeFlag&4?getComponentPublicInstance(td.component):td.el,od=rd?null:sd,{i:ld,r:ud}=Ra,cd=qa&&qa.r,dd=ld.refs===EMPTY_OBJ?ld.refs={}:ld.refs,_d=ld.setupState,Ed=toRaw(_d),Ad=_d===EMPTY_OBJ?()=>!1:Td=>hasOwn$2(Ed,Td);if(cd!=null&&cd!==ud&&(isString$3(cd)?(dd[cd]=null,Ad(cd)&&(_d[cd]=null)):isRef(cd)&&(cd.value=null)),isFunction$4(ud))callWithErrorHandling(ud,ld,12,[od,dd]);else{const Td=isString$3(ud),Id=isRef(ud);if(Td||Id){const Bd=()=>{if(Ra.f){const Rd=Td?Ad(ud)?_d[ud]:dd[ud]:ud.value;rd?isArray$2(Rd)&&remove$2(Rd,sd):isArray$2(Rd)?Rd.includes(sd)||Rd.push(sd):Td?(dd[ud]=[sd],Ad(ud)&&(_d[ud]=dd[ud])):(ud.value=[sd],Ra.k&&(dd[Ra.k]=ud.value))}else Td?(dd[ud]=od,Ad(ud)&&(_d[ud]=od)):Id&&(ud.value=od,Ra.k&&(dd[Ra.k]=od))};od?(Bd.id=-1,queuePostRenderEffect(Bd,ed)):Bd()}}}const isAsyncWrapper=Ra=>!!Ra.type.__asyncLoader,isKeepAlive=Ra=>Ra.type.__isKeepAlive;function onActivated(Ra,qa){registerKeepAliveHook(Ra,"a",qa)}function onDeactivated(Ra,qa){registerKeepAliveHook(Ra,"da",qa)}function registerKeepAliveHook(Ra,qa,ed=currentInstance){const td=Ra.__wdc||(Ra.__wdc=()=>{let rd=ed;for(;rd;){if(rd.isDeactivated)return;rd=rd.parent}return Ra()});if(injectHook(qa,td,ed),ed){let rd=ed.parent;for(;rd&&rd.parent;)isKeepAlive(rd.parent.vnode)&&injectToKeepAliveRoot(td,qa,ed,rd),rd=rd.parent}}function injectToKeepAliveRoot(Ra,qa,ed,td){const rd=injectHook(qa,Ra,td,!0);onUnmounted(()=>{remove$2(td[qa],rd)},ed)}function injectHook(Ra,qa,ed=currentInstance,td=!1){if(ed){const rd=ed[Ra]||(ed[Ra]=[]),sd=qa.__weh||(qa.__weh=(...od)=>{pauseTracking();const ld=setCurrentInstance(ed),ud=callWithAsyncErrorHandling(qa,ed,Ra,od);return ld(),resetTracking(),ud});return td?rd.unshift(sd):rd.push(sd),sd}}const createHook=Ra=>(qa,ed=currentInstance)=>{(!isInSSRComponentSetup||Ra==="sp")&&injectHook(Ra,(...td)=>qa(...td),ed)},onBeforeMount=createHook("bm"),onMounted=createHook("m"),onBeforeUpdate=createHook("bu"),onUpdated=createHook("u"),onBeforeUnmount=createHook("bum"),onUnmounted=createHook("um"),onServerPrefetch=createHook("sp"),onRenderTriggered=createHook("rtg"),onRenderTracked=createHook("rtc");function onErrorCaptured(Ra,qa=currentInstance){injectHook("ec",Ra,qa)}const COMPONENTS="components",DIRECTIVES="directives";function resolveComponent(Ra,qa){return resolveAsset(COMPONENTS,Ra,!0,qa)||Ra}const NULL_DYNAMIC_COMPONENT=Symbol.for("v-ndc");function resolveDynamicComponent(Ra){return isString$3(Ra)?resolveAsset(COMPONENTS,Ra,!1)||Ra:Ra||NULL_DYNAMIC_COMPONENT}function resolveDirective(Ra){return resolveAsset(DIRECTIVES,Ra)}function resolveAsset(Ra,qa,ed=!0,td=!1){const rd=currentRenderingInstance||currentInstance;if(rd){const sd=rd.type;if(Ra===COMPONENTS){const ld=getComponentName(sd,!1);if(ld&&(ld===qa||ld===camelize(qa)||ld===capitalize$1(camelize(qa))))return sd}const od=resolve$1(rd[Ra]||sd[Ra],qa)||resolve$1(rd.appContext[Ra],qa);return!od&&td?sd:od}}function resolve$1(Ra,qa){return Ra&&(Ra[qa]||Ra[camelize(qa)]||Ra[capitalize$1(camelize(qa))])}function renderList(Ra,qa,ed,td){let rd;const sd=ed,od=isArray$2(Ra);if(od||isString$3(Ra)){const ld=od&&isReactive(Ra);let ud=!1;ld&&(ud=!isShallow(Ra),Ra=shallowReadArray(Ra)),rd=new Array(Ra.length);for(let cd=0,dd=Ra.length;cdqa(ld,ud,void 0,sd));else{const ld=Object.keys(Ra);rd=new Array(ld.length);for(let ud=0,cd=ld.length;ud{const sd=td.fn(...rd);return sd&&(sd.key=td.key),sd}:td.fn)}return Ra}function renderSlot(Ra,qa,ed={},td,rd){if(currentRenderingInstance.ce||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.ce)return qa!=="default"&&(ed.name=qa),openBlock(),createBlock(Fragment,null,[createVNode("slot",ed,td&&td())],64);let sd=Ra[qa];sd&&sd._c&&(sd._d=!1),openBlock();const od=sd&&ensureValidVNode(sd(ed)),ld=createBlock(Fragment,{key:(ed.key||od&&od.key||`_${qa}`)+(!od&&td?"_fb":"")},od||(td?td():[]),od&&Ra._===1?64:-2);return ld.scopeId&&(ld.slotScopeIds=[ld.scopeId+"-s"]),sd&&sd._c&&(sd._d=!0),ld}function ensureValidVNode(Ra){return Ra.some(qa=>isVNode(qa)?!(qa.type===Comment$2||qa.type===Fragment&&!ensureValidVNode(qa.children)):!0)?Ra:null}const getPublicInstance=Ra=>Ra?isStatefulComponent(Ra)?getComponentPublicInstance(Ra):getPublicInstance(Ra.parent):null,publicPropertiesMap=extend$3(Object.create(null),{$:Ra=>Ra,$el:Ra=>Ra.vnode.el,$data:Ra=>Ra.data,$props:Ra=>Ra.props,$attrs:Ra=>Ra.attrs,$slots:Ra=>Ra.slots,$refs:Ra=>Ra.refs,$parent:Ra=>getPublicInstance(Ra.parent),$root:Ra=>getPublicInstance(Ra.root),$host:Ra=>Ra.ce,$emit:Ra=>Ra.emit,$options:Ra=>resolveMergedOptions(Ra),$forceUpdate:Ra=>Ra.f||(Ra.f=()=>{queueJob(Ra.update)}),$nextTick:Ra=>Ra.n||(Ra.n=nextTick$1.bind(Ra.proxy)),$watch:Ra=>instanceWatch.bind(Ra)}),hasSetupBinding=(Ra,qa)=>Ra!==EMPTY_OBJ&&!Ra.__isScriptSetup&&hasOwn$2(Ra,qa),PublicInstanceProxyHandlers={get({_:Ra},qa){if(qa==="__v_skip")return!0;const{ctx:ed,setupState:td,data:rd,props:sd,accessCache:od,type:ld,appContext:ud}=Ra;let cd;if(qa[0]!=="$"){const Ad=od[qa];if(Ad!==void 0)switch(Ad){case 1:return td[qa];case 2:return rd[qa];case 4:return ed[qa];case 3:return sd[qa]}else{if(hasSetupBinding(td,qa))return od[qa]=1,td[qa];if(rd!==EMPTY_OBJ&&hasOwn$2(rd,qa))return od[qa]=2,rd[qa];if((cd=Ra.propsOptions[0])&&hasOwn$2(cd,qa))return od[qa]=3,sd[qa];if(ed!==EMPTY_OBJ&&hasOwn$2(ed,qa))return od[qa]=4,ed[qa];shouldCacheAccess&&(od[qa]=0)}}const dd=publicPropertiesMap[qa];let _d,Ed;if(dd)return qa==="$attrs"&&track(Ra.attrs,"get",""),dd(Ra);if((_d=ld.__cssModules)&&(_d=_d[qa]))return _d;if(ed!==EMPTY_OBJ&&hasOwn$2(ed,qa))return od[qa]=4,ed[qa];if(Ed=ud.config.globalProperties,hasOwn$2(Ed,qa))return Ed[qa]},set({_:Ra},qa,ed){const{data:td,setupState:rd,ctx:sd}=Ra;return hasSetupBinding(rd,qa)?(rd[qa]=ed,!0):td!==EMPTY_OBJ&&hasOwn$2(td,qa)?(td[qa]=ed,!0):hasOwn$2(Ra.props,qa)||qa[0]==="$"&&qa.slice(1)in Ra?!1:(sd[qa]=ed,!0)},has({_:{data:Ra,setupState:qa,accessCache:ed,ctx:td,appContext:rd,propsOptions:sd}},od){let ld;return!!ed[od]||Ra!==EMPTY_OBJ&&hasOwn$2(Ra,od)||hasSetupBinding(qa,od)||(ld=sd[0])&&hasOwn$2(ld,od)||hasOwn$2(td,od)||hasOwn$2(publicPropertiesMap,od)||hasOwn$2(rd.config.globalProperties,od)},defineProperty(Ra,qa,ed){return ed.get!=null?Ra._.accessCache[qa]=0:hasOwn$2(ed,"value")&&this.set(Ra,qa,ed.value,null),Reflect.defineProperty(Ra,qa,ed)}};function useSlots(){return getContext().slots}function useAttrs$1(){return getContext().attrs}function getContext(){const Ra=getCurrentInstance();return Ra.setupContext||(Ra.setupContext=createSetupContext(Ra))}function normalizePropsOrEmits(Ra){return isArray$2(Ra)?Ra.reduce((qa,ed)=>(qa[ed]=null,qa),{}):Ra}function mergeDefaults(Ra,qa){const ed=normalizePropsOrEmits(Ra);for(const td in qa){if(td.startsWith("__skip"))continue;let rd=ed[td];rd?isArray$2(rd)||isFunction$4(rd)?rd=ed[td]={type:rd,default:qa[td]}:rd.default=qa[td]:rd===null&&(rd=ed[td]={default:qa[td]}),rd&&qa[`__skip_${td}`]&&(rd.skipFactory=!0)}return ed}let shouldCacheAccess=!0;function applyOptions(Ra){const qa=resolveMergedOptions(Ra),ed=Ra.proxy,td=Ra.ctx;shouldCacheAccess=!1,qa.beforeCreate&&callHook$1(qa.beforeCreate,Ra,"bc");const{data:rd,computed:sd,methods:od,watch:ld,provide:ud,inject:cd,created:dd,beforeMount:_d,mounted:Ed,beforeUpdate:Ad,updated:Td,activated:Id,deactivated:Bd,beforeDestroy:Rd,beforeUnmount:Od,destroyed:Md,unmounted:Ld,render:Fd,renderTracked:jd,renderTriggered:Vd,errorCaptured:Qd,serverPrefetch:qd,expose:Kd,inheritAttrs:Xd,components:df,directives:mf,filters:bf}=qa;if(cd&&resolveInjections(cd,td,null),od)for(const Tf in od){const kf=od[Tf];isFunction$4(kf)&&(td[Tf]=kf.bind(ed))}if(rd){const Tf=rd.call(ed,ed);isObject$5(Tf)&&(Ra.data=reactive(Tf))}if(shouldCacheAccess=!0,sd)for(const Tf in sd){const kf=sd[Tf],zf=isFunction$4(kf)?kf.bind(ed,ed):isFunction$4(kf.get)?kf.get.bind(ed,ed):NOOP,Jf=!isFunction$4(kf)&&isFunction$4(kf.set)?kf.set.bind(ed):NOOP,Gf=computed({get:zf,set:Jf});Object.defineProperty(td,Tf,{enumerable:!0,configurable:!0,get:()=>Gf.value,set:Mf=>Gf.value=Mf})}if(ld)for(const Tf in ld)createWatcher(ld[Tf],td,ed,Tf);if(ud){const Tf=isFunction$4(ud)?ud.call(ed):ud;Reflect.ownKeys(Tf).forEach(kf=>{provide(kf,Tf[kf])})}dd&&callHook$1(dd,Ra,"c");function _f(Tf,kf){isArray$2(kf)?kf.forEach(zf=>Tf(zf.bind(ed))):kf&&Tf(kf.bind(ed))}if(_f(onBeforeMount,_d),_f(onMounted,Ed),_f(onBeforeUpdate,Ad),_f(onUpdated,Td),_f(onActivated,Id),_f(onDeactivated,Bd),_f(onErrorCaptured,Qd),_f(onRenderTracked,jd),_f(onRenderTriggered,Vd),_f(onBeforeUnmount,Od),_f(onUnmounted,Ld),_f(onServerPrefetch,qd),isArray$2(Kd))if(Kd.length){const Tf=Ra.exposed||(Ra.exposed={});Kd.forEach(kf=>{Object.defineProperty(Tf,kf,{get:()=>ed[kf],set:zf=>ed[kf]=zf})})}else Ra.exposed||(Ra.exposed={});Fd&&Ra.render===NOOP&&(Ra.render=Fd),Xd!=null&&(Ra.inheritAttrs=Xd),df&&(Ra.components=df),mf&&(Ra.directives=mf),qd&&markAsyncBoundary(Ra)}function resolveInjections(Ra,qa,ed=NOOP){isArray$2(Ra)&&(Ra=normalizeInject(Ra));for(const td in Ra){const rd=Ra[td];let sd;isObject$5(rd)?"default"in rd?sd=inject(rd.from||td,rd.default,!0):sd=inject(rd.from||td):sd=inject(rd),isRef(sd)?Object.defineProperty(qa,td,{enumerable:!0,configurable:!0,get:()=>sd.value,set:od=>sd.value=od}):qa[td]=sd}}function callHook$1(Ra,qa,ed){callWithAsyncErrorHandling(isArray$2(Ra)?Ra.map(td=>td.bind(qa.proxy)):Ra.bind(qa.proxy),qa,ed)}function createWatcher(Ra,qa,ed,td){let rd=td.includes(".")?createPathGetter(ed,td):()=>ed[td];if(isString$3(Ra)){const sd=qa[Ra];isFunction$4(sd)&&watch(rd,sd)}else if(isFunction$4(Ra))watch(rd,Ra.bind(ed));else if(isObject$5(Ra))if(isArray$2(Ra))Ra.forEach(sd=>createWatcher(sd,qa,ed,td));else{const sd=isFunction$4(Ra.handler)?Ra.handler.bind(ed):qa[Ra.handler];isFunction$4(sd)&&watch(rd,sd,Ra)}}function resolveMergedOptions(Ra){const qa=Ra.type,{mixins:ed,extends:td}=qa,{mixins:rd,optionsCache:sd,config:{optionMergeStrategies:od}}=Ra.appContext,ld=sd.get(qa);let ud;return ld?ud=ld:!rd.length&&!ed&&!td?ud=qa:(ud={},rd.length&&rd.forEach(cd=>mergeOptions(ud,cd,od,!0)),mergeOptions(ud,qa,od)),isObject$5(qa)&&sd.set(qa,ud),ud}function mergeOptions(Ra,qa,ed,td=!1){const{mixins:rd,extends:sd}=qa;sd&&mergeOptions(Ra,sd,ed,!0),rd&&rd.forEach(od=>mergeOptions(Ra,od,ed,!0));for(const od in qa)if(!(td&&od==="expose")){const ld=internalOptionMergeStrats[od]||ed&&ed[od];Ra[od]=ld?ld(Ra[od],qa[od]):qa[od]}return Ra}const internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray,created:mergeAsArray,beforeMount:mergeAsArray,mounted:mergeAsArray,beforeUpdate:mergeAsArray,updated:mergeAsArray,beforeDestroy:mergeAsArray,beforeUnmount:mergeAsArray,destroyed:mergeAsArray,unmounted:mergeAsArray,activated:mergeAsArray,deactivated:mergeAsArray,errorCaptured:mergeAsArray,serverPrefetch:mergeAsArray,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(Ra,qa){return qa?Ra?function(){return extend$3(isFunction$4(Ra)?Ra.call(this,this):Ra,isFunction$4(qa)?qa.call(this,this):qa)}:qa:Ra}function mergeInject(Ra,qa){return mergeObjectOptions(normalizeInject(Ra),normalizeInject(qa))}function normalizeInject(Ra){if(isArray$2(Ra)){const qa={};for(let ed=0;ed1)return ed&&isFunction$4(qa)?qa.call(td&&td.proxy):qa}}function hasInjectionContext(){return!!(currentInstance||currentRenderingInstance||currentApp)}const internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=Ra=>Object.getPrototypeOf(Ra)===internalObjectProto;function initProps(Ra,qa,ed,td=!1){const rd={},sd=createInternalObject();Ra.propsDefaults=Object.create(null),setFullProps(Ra,qa,rd,sd);for(const od in Ra.propsOptions[0])od in rd||(rd[od]=void 0);ed?Ra.props=td?rd:shallowReactive(rd):Ra.type.props?Ra.props=rd:Ra.props=sd,Ra.attrs=sd}function updateProps(Ra,qa,ed,td){const{props:rd,attrs:sd,vnode:{patchFlag:od}}=Ra,ld=toRaw(rd),[ud]=Ra.propsOptions;let cd=!1;if((td||od>0)&&!(od&16)){if(od&8){const dd=Ra.vnode.dynamicProps;for(let _d=0;_d{ud=!0;const[Ed,Ad]=normalizePropsOptions(_d,qa,!0);extend$3(od,Ed),Ad&&ld.push(...Ad)};!ed&&qa.mixins.length&&qa.mixins.forEach(dd),Ra.extends&&dd(Ra.extends),Ra.mixins&&Ra.mixins.forEach(dd)}if(!sd&&!ud)return isObject$5(Ra)&&td.set(Ra,EMPTY_ARR),EMPTY_ARR;if(isArray$2(sd))for(let dd=0;ddRa[0]==="_"||Ra==="$stable",normalizeSlotValue=Ra=>isArray$2(Ra)?Ra.map(normalizeVNode):[normalizeVNode(Ra)],normalizeSlot=(Ra,qa,ed)=>{if(qa._n)return qa;const td=withCtx((...rd)=>normalizeSlotValue(qa(...rd)),ed);return td._c=!1,td},normalizeObjectSlots=(Ra,qa,ed)=>{const td=Ra._ctx;for(const rd in Ra){if(isInternalKey(rd))continue;const sd=Ra[rd];if(isFunction$4(sd))qa[rd]=normalizeSlot(rd,sd,td);else if(sd!=null){const od=normalizeSlotValue(sd);qa[rd]=()=>od}}},normalizeVNodeSlots=(Ra,qa)=>{const ed=normalizeSlotValue(qa);Ra.slots.default=()=>ed},assignSlots=(Ra,qa,ed)=>{for(const td in qa)(ed||td!=="_")&&(Ra[td]=qa[td])},initSlots=(Ra,qa,ed)=>{const td=Ra.slots=createInternalObject();if(Ra.vnode.shapeFlag&32){const rd=qa._;rd?(assignSlots(td,qa,ed),ed&&def$2(td,"_",rd,!0)):normalizeObjectSlots(qa,td)}else qa&&normalizeVNodeSlots(Ra,qa)},updateSlots=(Ra,qa,ed)=>{const{vnode:td,slots:rd}=Ra;let sd=!0,od=EMPTY_OBJ;if(td.shapeFlag&32){const ld=qa._;ld?ed&&ld===1?sd=!1:assignSlots(rd,qa,ed):(sd=!qa.$stable,normalizeObjectSlots(qa,rd)),od=qa}else qa&&(normalizeVNodeSlots(Ra,qa),od={default:1});if(sd)for(const ld in rd)!isInternalKey(ld)&&od[ld]==null&&delete rd[ld]},queuePostRenderEffect=queueEffectWithSuspense;function createRenderer$1(Ra){return baseCreateRenderer(Ra)}function baseCreateRenderer(Ra,qa){const ed=getGlobalThis();ed.__VUE__=!0;const{insert:td,remove:rd,patchProp:sd,createElement:od,createText:ld,createComment:ud,setText:cd,setElementText:dd,parentNode:_d,nextSibling:Ed,setScopeId:Ad=NOOP,insertStaticContent:Td}=Ra,Id=(wf,Yf,uh,Uf=null,Cf=null,If=null,Lf=void 0,sh=null,hh=!!Yf.dynamicChildren)=>{if(wf===Yf)return;wf&&!isSameVNodeType(wf,Yf)&&(Uf=yf(wf),Mf(wf,Cf,If,!0),wf=null),Yf.patchFlag===-2&&(hh=!1,Yf.dynamicChildren=null);const{type:rh,ref:Ah,shapeFlag:ph}=Yf;switch(rh){case Text$2:Bd(wf,Yf,uh,Uf);break;case Comment$2:Rd(wf,Yf,uh,Uf);break;case Static:wf==null&&Od(Yf,uh,Uf,Lf);break;case Fragment:df(wf,Yf,uh,Uf,Cf,If,Lf,sh,hh);break;default:ph&1?Fd(wf,Yf,uh,Uf,Cf,If,Lf,sh,hh):ph&6?mf(wf,Yf,uh,Uf,Cf,If,Lf,sh,hh):(ph&64||ph&128)&&rh.process(wf,Yf,uh,Uf,Cf,If,Lf,sh,hh,jf)}Ah!=null&&Cf&&setRef(Ah,wf&&wf.ref,If,Yf||wf,!Yf)},Bd=(wf,Yf,uh,Uf)=>{if(wf==null)td(Yf.el=ld(Yf.children),uh,Uf);else{const Cf=Yf.el=wf.el;Yf.children!==wf.children&&cd(Cf,Yf.children)}},Rd=(wf,Yf,uh,Uf)=>{wf==null?td(Yf.el=ud(Yf.children||""),uh,Uf):Yf.el=wf.el},Od=(wf,Yf,uh,Uf)=>{[wf.el,wf.anchor]=Td(wf.children,Yf,uh,Uf,wf.el,wf.anchor)},Md=({el:wf,anchor:Yf},uh,Uf)=>{let Cf;for(;wf&&wf!==Yf;)Cf=Ed(wf),td(wf,uh,Uf),wf=Cf;td(Yf,uh,Uf)},Ld=({el:wf,anchor:Yf})=>{let uh;for(;wf&&wf!==Yf;)uh=Ed(wf),rd(wf),wf=uh;rd(Yf)},Fd=(wf,Yf,uh,Uf,Cf,If,Lf,sh,hh)=>{Yf.type==="svg"?Lf="svg":Yf.type==="math"&&(Lf="mathml"),wf==null?jd(Yf,uh,Uf,Cf,If,Lf,sh,hh):qd(wf,Yf,Cf,If,Lf,sh,hh)},jd=(wf,Yf,uh,Uf,Cf,If,Lf,sh)=>{let hh,rh;const{props:Ah,shapeFlag:ph,transition:vh,dirs:qh}=wf;if(hh=wf.el=od(wf.type,If,Ah&&Ah.is,Ah),ph&8?dd(hh,wf.children):ph&16&&Qd(wf.children,hh,null,Uf,Cf,resolveChildrenNamespace(wf,If),Lf,sh),qh&&invokeDirectiveHook(wf,null,Uf,"created"),Vd(hh,wf,wf.scopeId,Lf,Uf),Ah){for(const Wh in Ah)Wh!=="value"&&!isReservedProp(Wh)&&sd(hh,Wh,null,Ah[Wh],If,Uf);"value"in Ah&&sd(hh,"value",null,Ah.value,If),(rh=Ah.onVnodeBeforeMount)&&invokeVNodeHook(rh,Uf,wf)}qh&&invokeDirectiveHook(wf,null,Uf,"beforeMount");const kh=needTransition(Cf,vh);kh&&vh.beforeEnter(hh),td(hh,Yf,uh),((rh=Ah&&Ah.onVnodeMounted)||kh||qh)&&queuePostRenderEffect(()=>{rh&&invokeVNodeHook(rh,Uf,wf),kh&&vh.enter(hh),qh&&invokeDirectiveHook(wf,null,Uf,"mounted")},Cf)},Vd=(wf,Yf,uh,Uf,Cf)=>{if(uh&&Ad(wf,uh),Uf)for(let If=0;If{for(let rh=hh;rh{const sh=Yf.el=wf.el;let{patchFlag:hh,dynamicChildren:rh,dirs:Ah}=Yf;hh|=wf.patchFlag&16;const ph=wf.props||EMPTY_OBJ,vh=Yf.props||EMPTY_OBJ;let qh;if(uh&&toggleRecurse(uh,!1),(qh=vh.onVnodeBeforeUpdate)&&invokeVNodeHook(qh,uh,Yf,wf),Ah&&invokeDirectiveHook(Yf,wf,uh,"beforeUpdate"),uh&&toggleRecurse(uh,!0),(ph.innerHTML&&vh.innerHTML==null||ph.textContent&&vh.textContent==null)&&dd(sh,""),rh?Kd(wf.dynamicChildren,rh,sh,uh,Uf,resolveChildrenNamespace(Yf,Cf),If):Lf||kf(wf,Yf,sh,null,uh,Uf,resolveChildrenNamespace(Yf,Cf),If,!1),hh>0){if(hh&16)Xd(sh,ph,vh,uh,Cf);else if(hh&2&&ph.class!==vh.class&&sd(sh,"class",null,vh.class,Cf),hh&4&&sd(sh,"style",ph.style,vh.style,Cf),hh&8){const kh=Yf.dynamicProps;for(let Wh=0;Wh{qh&&invokeVNodeHook(qh,uh,Yf,wf),Ah&&invokeDirectiveHook(Yf,wf,uh,"updated")},Uf)},Kd=(wf,Yf,uh,Uf,Cf,If,Lf)=>{for(let sh=0;sh{if(Yf!==uh){if(Yf!==EMPTY_OBJ)for(const If in Yf)!isReservedProp(If)&&!(If in uh)&&sd(wf,If,Yf[If],null,Cf,Uf);for(const If in uh){if(isReservedProp(If))continue;const Lf=uh[If],sh=Yf[If];Lf!==sh&&If!=="value"&&sd(wf,If,sh,Lf,Cf,Uf)}"value"in uh&&sd(wf,"value",Yf.value,uh.value,Cf)}},df=(wf,Yf,uh,Uf,Cf,If,Lf,sh,hh)=>{const rh=Yf.el=wf?wf.el:ld(""),Ah=Yf.anchor=wf?wf.anchor:ld("");let{patchFlag:ph,dynamicChildren:vh,slotScopeIds:qh}=Yf;qh&&(sh=sh?sh.concat(qh):qh),wf==null?(td(rh,uh,Uf),td(Ah,uh,Uf),Qd(Yf.children||[],uh,Ah,Cf,If,Lf,sh,hh)):ph>0&&ph&64&&vh&&wf.dynamicChildren?(Kd(wf.dynamicChildren,vh,uh,Cf,If,Lf,sh),(Yf.key!=null||Cf&&Yf===Cf.subTree)&&traverseStaticChildren(wf,Yf,!0)):kf(wf,Yf,uh,Ah,Cf,If,Lf,sh,hh)},mf=(wf,Yf,uh,Uf,Cf,If,Lf,sh,hh)=>{Yf.slotScopeIds=sh,wf==null?Yf.shapeFlag&512?Cf.ctx.activate(Yf,uh,Uf,Lf,hh):bf(Yf,uh,Uf,Cf,If,Lf,hh):pf(wf,Yf,hh)},bf=(wf,Yf,uh,Uf,Cf,If,Lf)=>{const sh=wf.component=createComponentInstance(wf,Uf,Cf);if(isKeepAlive(wf)&&(sh.ctx.renderer=jf),setupComponent(sh,!1,Lf),sh.asyncDep){if(Cf&&Cf.registerDep(sh,_f,Lf),!wf.el){const hh=sh.subTree=createVNode(Comment$2);Rd(null,hh,Yf,uh)}}else _f(sh,wf,Yf,uh,Cf,If,Lf)},pf=(wf,Yf,uh)=>{const Uf=Yf.component=wf.component;if(shouldUpdateComponent(wf,Yf,uh))if(Uf.asyncDep&&!Uf.asyncResolved){Tf(Uf,Yf,uh);return}else Uf.next=Yf,Uf.update();else Yf.el=wf.el,Uf.vnode=Yf},_f=(wf,Yf,uh,Uf,Cf,If,Lf)=>{const sh=()=>{if(wf.isMounted){let{next:ph,bu:vh,u:qh,parent:kh,vnode:Wh}=wf;{const Xf=locateNonHydratedAsyncRoot(wf);if(Xf){ph&&(ph.el=Wh.el,Tf(wf,ph,Lf)),Xf.asyncDep.then(()=>{wf.isUnmounted||sh()});return}}let om=ph,th;toggleRecurse(wf,!1),ph?(ph.el=Wh.el,Tf(wf,ph,Lf)):ph=Wh,vh&&invokeArrayFns(vh),(th=ph.props&&ph.props.onVnodeBeforeUpdate)&&invokeVNodeHook(th,kh,ph,Wh),toggleRecurse(wf,!0);const Df=renderComponentRoot(wf),Af=wf.subTree;wf.subTree=Df,Id(Af,Df,_d(Af.el),yf(Af),wf,Cf,If),ph.el=Df.el,om===null&&updateHOCHostEl(wf,Df.el),qh&&queuePostRenderEffect(qh,Cf),(th=ph.props&&ph.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(th,kh,ph,Wh),Cf)}else{let ph;const{el:vh,props:qh}=Yf,{bm:kh,m:Wh,parent:om,root:th,type:Df}=wf,Af=isAsyncWrapper(Yf);if(toggleRecurse(wf,!1),kh&&invokeArrayFns(kh),!Af&&(ph=qh&&qh.onVnodeBeforeMount)&&invokeVNodeHook(ph,om,Yf),toggleRecurse(wf,!0),vh&&Ff){const Xf=()=>{wf.subTree=renderComponentRoot(wf),Ff(vh,wf.subTree,wf,Cf,null)};Af&&Df.__asyncHydrate?Df.__asyncHydrate(vh,wf,Xf):Xf()}else{th.ce&&th.ce._injectChildStyle(Df);const Xf=wf.subTree=renderComponentRoot(wf);Id(null,Xf,uh,Uf,wf,Cf,If),Yf.el=Xf.el}if(Wh&&queuePostRenderEffect(Wh,Cf),!Af&&(ph=qh&&qh.onVnodeMounted)){const Xf=Yf;queuePostRenderEffect(()=>invokeVNodeHook(ph,om,Xf),Cf)}(Yf.shapeFlag&256||om&&isAsyncWrapper(om.vnode)&&om.vnode.shapeFlag&256)&&wf.a&&queuePostRenderEffect(wf.a,Cf),wf.isMounted=!0,Yf=uh=Uf=null}};wf.scope.on();const hh=wf.effect=new ReactiveEffect(sh);wf.scope.off();const rh=wf.update=hh.run.bind(hh),Ah=wf.job=hh.runIfDirty.bind(hh);Ah.i=wf,Ah.id=wf.uid,hh.scheduler=()=>queueJob(Ah),toggleRecurse(wf,!0),rh()},Tf=(wf,Yf,uh)=>{Yf.component=wf;const Uf=wf.vnode.props;wf.vnode=Yf,wf.next=null,updateProps(wf,Yf.props,Uf,uh),updateSlots(wf,Yf.children,uh),pauseTracking(),flushPreFlushCbs(wf),resetTracking()},kf=(wf,Yf,uh,Uf,Cf,If,Lf,sh,hh=!1)=>{const rh=wf&&wf.children,Ah=wf?wf.shapeFlag:0,ph=Yf.children,{patchFlag:vh,shapeFlag:qh}=Yf;if(vh>0){if(vh&128){Jf(rh,ph,uh,Uf,Cf,If,Lf,sh,hh);return}else if(vh&256){zf(rh,ph,uh,Uf,Cf,If,Lf,sh,hh);return}}qh&8?(Ah&16&&Wf(rh,Cf,If),ph!==rh&&dd(uh,ph)):Ah&16?qh&16?Jf(rh,ph,uh,Uf,Cf,If,Lf,sh,hh):Wf(rh,Cf,If,!0):(Ah&8&&dd(uh,""),qh&16&&Qd(ph,uh,Uf,Cf,If,Lf,sh,hh))},zf=(wf,Yf,uh,Uf,Cf,If,Lf,sh,hh)=>{wf=wf||EMPTY_ARR,Yf=Yf||EMPTY_ARR;const rh=wf.length,Ah=Yf.length,ph=Math.min(rh,Ah);let vh;for(vh=0;vhAh?Wf(wf,Cf,If,!0,!1,ph):Qd(Yf,uh,Uf,Cf,If,Lf,sh,hh,ph)},Jf=(wf,Yf,uh,Uf,Cf,If,Lf,sh,hh)=>{let rh=0;const Ah=Yf.length;let ph=wf.length-1,vh=Ah-1;for(;rh<=ph&&rh<=vh;){const qh=wf[rh],kh=Yf[rh]=hh?cloneIfMounted(Yf[rh]):normalizeVNode(Yf[rh]);if(isSameVNodeType(qh,kh))Id(qh,kh,uh,null,Cf,If,Lf,sh,hh);else break;rh++}for(;rh<=ph&&rh<=vh;){const qh=wf[ph],kh=Yf[vh]=hh?cloneIfMounted(Yf[vh]):normalizeVNode(Yf[vh]);if(isSameVNodeType(qh,kh))Id(qh,kh,uh,null,Cf,If,Lf,sh,hh);else break;ph--,vh--}if(rh>ph){if(rh<=vh){const qh=vh+1,kh=qhvh)for(;rh<=ph;)Mf(wf[rh],Cf,If,!0),rh++;else{const qh=rh,kh=rh,Wh=new Map;for(rh=kh;rh<=vh;rh++){const Dh=Yf[rh]=hh?cloneIfMounted(Yf[rh]):normalizeVNode(Yf[rh]);Dh.key!=null&&Wh.set(Dh.key,rh)}let om,th=0;const Df=vh-kh+1;let Af=!1,Xf=0;const ah=new Array(Df);for(rh=0;rh=Df){Mf(Dh,Cf,If,!0);continue}let Yh;if(Dh.key!=null)Yh=Wh.get(Dh.key);else for(om=kh;om<=vh;om++)if(ah[om-kh]===0&&isSameVNodeType(Dh,Yf[om])){Yh=om;break}Yh===void 0?Mf(Dh,Cf,If,!0):(ah[Yh-kh]=rh+1,Yh>=Xf?Xf=Yh:Af=!0,Id(Dh,Yf[Yh],uh,null,Cf,If,Lf,sh,hh),th++)}const yh=Af?getSequence(ah):EMPTY_ARR;for(om=yh.length-1,rh=Df-1;rh>=0;rh--){const Dh=kh+rh,Yh=Yf[Dh],hm=Dh+1{const{el:If,type:Lf,transition:sh,children:hh,shapeFlag:rh}=wf;if(rh&6){Gf(wf.component.subTree,Yf,uh,Uf);return}if(rh&128){wf.suspense.move(Yf,uh,Uf);return}if(rh&64){Lf.move(wf,Yf,uh,jf);return}if(Lf===Fragment){td(If,Yf,uh);for(let ph=0;phsh.enter(If),Cf);else{const{leave:ph,delayLeave:vh,afterLeave:qh}=sh,kh=()=>td(If,Yf,uh),Wh=()=>{ph(If,()=>{kh(),qh&&qh()})};vh?vh(If,kh,Wh):Wh()}else td(If,Yf,uh)},Mf=(wf,Yf,uh,Uf=!1,Cf=!1)=>{const{type:If,props:Lf,ref:sh,children:hh,dynamicChildren:rh,shapeFlag:Ah,patchFlag:ph,dirs:vh,cacheIndex:qh}=wf;if(ph===-2&&(Cf=!1),sh!=null&&setRef(sh,null,uh,wf,!0),qh!=null&&(Yf.renderCache[qh]=void 0),Ah&256){Yf.ctx.deactivate(wf);return}const kh=Ah&1&&vh,Wh=!isAsyncWrapper(wf);let om;if(Wh&&(om=Lf&&Lf.onVnodeBeforeUnmount)&&invokeVNodeHook(om,Yf,wf),Ah&6)Qf(wf.component,uh,Uf);else{if(Ah&128){wf.suspense.unmount(uh,Uf);return}kh&&invokeDirectiveHook(wf,null,Yf,"beforeUnmount"),Ah&64?wf.type.remove(wf,Yf,uh,jf,Uf):rh&&!rh.hasOnce&&(If!==Fragment||ph>0&&ph&64)?Wf(rh,Yf,uh,!1,!0):(If===Fragment&&ph&384||!Cf&&Ah&16)&&Wf(hh,Yf,uh),Uf&&Nf(wf)}(Wh&&(om=Lf&&Lf.onVnodeUnmounted)||kh)&&queuePostRenderEffect(()=>{om&&invokeVNodeHook(om,Yf,wf),kh&&invokeDirectiveHook(wf,null,Yf,"unmounted")},uh)},Nf=wf=>{const{type:Yf,el:uh,anchor:Uf,transition:Cf}=wf;if(Yf===Fragment){Bf(uh,Uf);return}if(Yf===Static){Ld(wf);return}const If=()=>{rd(uh),Cf&&!Cf.persisted&&Cf.afterLeave&&Cf.afterLeave()};if(wf.shapeFlag&1&&Cf&&!Cf.persisted){const{leave:Lf,delayLeave:sh}=Cf,hh=()=>Lf(uh,If);sh?sh(wf.el,If,hh):hh()}else If()},Bf=(wf,Yf)=>{let uh;for(;wf!==Yf;)uh=Ed(wf),rd(wf),wf=uh;rd(Yf)},Qf=(wf,Yf,uh)=>{const{bum:Uf,scope:Cf,job:If,subTree:Lf,um:sh,m:hh,a:rh}=wf;invalidateMount(hh),invalidateMount(rh),Uf&&invokeArrayFns(Uf),Cf.stop(),If&&(If.flags|=8,Mf(Lf,wf,Yf,uh)),sh&&queuePostRenderEffect(sh,Yf),queuePostRenderEffect(()=>{wf.isUnmounted=!0},Yf),Yf&&Yf.pendingBranch&&!Yf.isUnmounted&&wf.asyncDep&&!wf.asyncResolved&&wf.suspenseId===Yf.pendingId&&(Yf.deps--,Yf.deps===0&&Yf.resolve())},Wf=(wf,Yf,uh,Uf=!1,Cf=!1,If=0)=>{for(let Lf=If;Lf{if(wf.shapeFlag&6)return yf(wf.component.subTree);if(wf.shapeFlag&128)return wf.suspense.next();const Yf=Ed(wf.anchor||wf.el),uh=Yf&&Yf[TeleportEndKey];return uh?Ed(uh):Yf};let hf=!1;const Rf=(wf,Yf,uh)=>{wf==null?Yf._vnode&&Mf(Yf._vnode,null,null,!0):Id(Yf._vnode||null,wf,Yf,null,null,null,uh),Yf._vnode=wf,hf||(hf=!0,flushPreFlushCbs(),flushPostFlushCbs(),hf=!1)},jf={p:Id,um:Mf,m:Gf,r:Nf,mt:bf,mc:Qd,pc:kf,pbc:Kd,n:yf,o:Ra};let Kf,Ff;return{render:Rf,hydrate:Kf,createApp:createAppAPI(Rf,Kf)}}function resolveChildrenNamespace({type:Ra,props:qa},ed){return ed==="svg"&&Ra==="foreignObject"||ed==="mathml"&&Ra==="annotation-xml"&&qa&&qa.encoding&&qa.encoding.includes("html")?void 0:ed}function toggleRecurse({effect:Ra,job:qa},ed){ed?(Ra.flags|=32,qa.flags|=4):(Ra.flags&=-33,qa.flags&=-5)}function needTransition(Ra,qa){return(!Ra||Ra&&!Ra.pendingBranch)&&qa&&!qa.persisted}function traverseStaticChildren(Ra,qa,ed=!1){const td=Ra.children,rd=qa.children;if(isArray$2(td)&&isArray$2(rd))for(let sd=0;sd>1,Ra[ed[ld]]0&&(qa[td]=ed[sd-1]),ed[sd]=td)}}for(sd=ed.length,od=ed[sd-1];sd-- >0;)ed[sd]=od,od=qa[od];return ed}function locateNonHydratedAsyncRoot(Ra){const qa=Ra.subTree.component;if(qa)return qa.asyncDep&&!qa.asyncResolved?qa:locateNonHydratedAsyncRoot(qa)}function invalidateMount(Ra){if(Ra)for(let qa=0;qainject(ssrContextKey);function watchEffect(Ra,qa){return doWatch(Ra,null,qa)}function watchPostEffect(Ra,qa){return doWatch(Ra,null,{flush:"post"})}function watch(Ra,qa,ed){return doWatch(Ra,qa,ed)}function doWatch(Ra,qa,ed=EMPTY_OBJ){const{immediate:td,deep:rd,flush:sd,once:od}=ed,ld=extend$3({},ed);let ud;if(isInSSRComponentSetup)if(sd==="sync"){const Ed=useSSRContext();ud=Ed.__watcherHandles||(Ed.__watcherHandles=[])}else if(!qa||td)ld.once=!0;else{const Ed=()=>{};return Ed.stop=NOOP,Ed.resume=NOOP,Ed.pause=NOOP,Ed}const cd=currentInstance;ld.call=(Ed,Ad,Td)=>callWithAsyncErrorHandling(Ed,cd,Ad,Td);let dd=!1;sd==="post"?ld.scheduler=Ed=>{queuePostRenderEffect(Ed,cd&&cd.suspense)}:sd!=="sync"&&(dd=!0,ld.scheduler=(Ed,Ad)=>{Ad?Ed():queueJob(Ed)}),ld.augmentJob=Ed=>{qa&&(Ed.flags|=4),dd&&(Ed.flags|=2,cd&&(Ed.id=cd.uid,Ed.i=cd))};const _d=watch$1(Ra,qa,ld);return ud&&ud.push(_d),_d}function instanceWatch(Ra,qa,ed){const td=this.proxy,rd=isString$3(Ra)?Ra.includes(".")?createPathGetter(td,Ra):()=>td[Ra]:Ra.bind(td,td);let sd;isFunction$4(qa)?sd=qa:(sd=qa.handler,ed=qa);const od=setCurrentInstance(this),ld=doWatch(rd,sd.bind(td),ed);return od(),ld}function createPathGetter(Ra,qa){const ed=qa.split(".");return()=>{let td=Ra;for(let rd=0;rdqa==="modelValue"||qa==="model-value"?Ra.modelModifiers:Ra[`${qa}Modifiers`]||Ra[`${camelize(qa)}Modifiers`]||Ra[`${hyphenate(qa)}Modifiers`];function emit(Ra,qa,...ed){if(Ra.isUnmounted)return;const td=Ra.vnode.props||EMPTY_OBJ;let rd=ed;const sd=qa.startsWith("update:"),od=sd&&getModelModifiers(td,qa.slice(7));od&&(od.trim&&(rd=ed.map(dd=>isString$3(dd)?dd.trim():dd)),od.number&&(rd=ed.map(looseToNumber)));let ld,ud=td[ld=toHandlerKey(qa)]||td[ld=toHandlerKey(camelize(qa))];!ud&&sd&&(ud=td[ld=toHandlerKey(hyphenate(qa))]),ud&&callWithAsyncErrorHandling(ud,Ra,6,rd);const cd=td[ld+"Once"];if(cd){if(!Ra.emitted)Ra.emitted={};else if(Ra.emitted[ld])return;Ra.emitted[ld]=!0,callWithAsyncErrorHandling(cd,Ra,6,rd)}}function normalizeEmitsOptions(Ra,qa,ed=!1){const td=qa.emitsCache,rd=td.get(Ra);if(rd!==void 0)return rd;const sd=Ra.emits;let od={},ld=!1;if(!isFunction$4(Ra)){const ud=cd=>{const dd=normalizeEmitsOptions(cd,qa,!0);dd&&(ld=!0,extend$3(od,dd))};!ed&&qa.mixins.length&&qa.mixins.forEach(ud),Ra.extends&&ud(Ra.extends),Ra.mixins&&Ra.mixins.forEach(ud)}return!sd&&!ld?(isObject$5(Ra)&&td.set(Ra,null),null):(isArray$2(sd)?sd.forEach(ud=>od[ud]=null):extend$3(od,sd),isObject$5(Ra)&&td.set(Ra,od),od)}function isEmitListener(Ra,qa){return!Ra||!isOn(qa)?!1:(qa=qa.slice(2).replace(/Once$/,""),hasOwn$2(Ra,qa[0].toLowerCase()+qa.slice(1))||hasOwn$2(Ra,hyphenate(qa))||hasOwn$2(Ra,qa))}function markAttrsAccessed(){}function renderComponentRoot(Ra){const{type:qa,vnode:ed,proxy:td,withProxy:rd,propsOptions:[sd],slots:od,attrs:ld,emit:ud,render:cd,renderCache:dd,props:_d,data:Ed,setupState:Ad,ctx:Td,inheritAttrs:Id}=Ra,Bd=setCurrentRenderingInstance(Ra);let Rd,Od;try{if(ed.shapeFlag&4){const Ld=rd||td,Fd=Ld;Rd=normalizeVNode(cd.call(Fd,Ld,dd,_d,Ad,Ed,Td)),Od=ld}else{const Ld=qa;Rd=normalizeVNode(Ld.length>1?Ld(_d,{attrs:ld,slots:od,emit:ud}):Ld(_d,null)),Od=qa.props?ld:getFunctionalFallthrough(ld)}}catch(Ld){blockStack.length=0,handleError$1(Ld,Ra,1),Rd=createVNode(Comment$2)}let Md=Rd;if(Od&&Id!==!1){const Ld=Object.keys(Od),{shapeFlag:Fd}=Md;Ld.length&&Fd&7&&(sd&&Ld.some(isModelListener)&&(Od=filterModelListeners(Od,sd)),Md=cloneVNode(Md,Od,!1,!0))}return ed.dirs&&(Md=cloneVNode(Md,null,!1,!0),Md.dirs=Md.dirs?Md.dirs.concat(ed.dirs):ed.dirs),ed.transition&&setTransitionHooks(Md,ed.transition),Rd=Md,setCurrentRenderingInstance(Bd),Rd}const getFunctionalFallthrough=Ra=>{let qa;for(const ed in Ra)(ed==="class"||ed==="style"||isOn(ed))&&((qa||(qa={}))[ed]=Ra[ed]);return qa},filterModelListeners=(Ra,qa)=>{const ed={};for(const td in Ra)(!isModelListener(td)||!(td.slice(9)in qa))&&(ed[td]=Ra[td]);return ed};function shouldUpdateComponent(Ra,qa,ed){const{props:td,children:rd,component:sd}=Ra,{props:od,children:ld,patchFlag:ud}=qa,cd=sd.emitsOptions;if(qa.dirs||qa.transition)return!0;if(ed&&ud>=0){if(ud&1024)return!0;if(ud&16)return td?hasPropsChanged(td,od,cd):!!od;if(ud&8){const dd=qa.dynamicProps;for(let _d=0;_dRa.__isSuspense;function queueEffectWithSuspense(Ra,qa){qa&&qa.pendingBranch?isArray$2(Ra)?qa.effects.push(...Ra):qa.effects.push(Ra):queuePostFlushCb(Ra)}const Fragment=Symbol.for("v-fgt"),Text$2=Symbol.for("v-txt"),Comment$2=Symbol.for("v-cmt"),Static=Symbol.for("v-stc"),blockStack=[];let currentBlock=null;function openBlock(Ra=!1){blockStack.push(currentBlock=Ra?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}let isBlockTreeEnabled=1;function setBlockTracking(Ra){isBlockTreeEnabled+=Ra,Ra<0&¤tBlock&&(currentBlock.hasOnce=!0)}function setupBlock(Ra){return Ra.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(Ra),Ra}function createElementBlock(Ra,qa,ed,td,rd,sd){return setupBlock(createBaseVNode(Ra,qa,ed,td,rd,sd,!0))}function createBlock(Ra,qa,ed,td,rd){return setupBlock(createVNode(Ra,qa,ed,td,rd,!0))}function isVNode(Ra){return Ra?Ra.__v_isVNode===!0:!1}function isSameVNodeType(Ra,qa){return Ra.type===qa.type&&Ra.key===qa.key}const normalizeKey=({key:Ra})=>Ra??null,normalizeRef=({ref:Ra,ref_key:qa,ref_for:ed})=>(typeof Ra=="number"&&(Ra=""+Ra),Ra!=null?isString$3(Ra)||isRef(Ra)||isFunction$4(Ra)?{i:currentRenderingInstance,r:Ra,k:qa,f:!!ed}:Ra:null);function createBaseVNode(Ra,qa=null,ed=null,td=0,rd=null,sd=Ra===Fragment?0:1,od=!1,ld=!1){const ud={__v_isVNode:!0,__v_skip:!0,type:Ra,props:qa,key:qa&&normalizeKey(qa),ref:qa&&normalizeRef(qa),scopeId:currentScopeId,slotScopeIds:null,children:ed,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:sd,patchFlag:td,dynamicProps:rd,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return ld?(normalizeChildren(ud,ed),sd&128&&Ra.normalize(ud)):ed&&(ud.shapeFlag|=isString$3(ed)?8:16),isBlockTreeEnabled>0&&!od&¤tBlock&&(ud.patchFlag>0||sd&6)&&ud.patchFlag!==32&¤tBlock.push(ud),ud}const createVNode=_createVNode;function _createVNode(Ra,qa=null,ed=null,td=0,rd=null,sd=!1){if((!Ra||Ra===NULL_DYNAMIC_COMPONENT)&&(Ra=Comment$2),isVNode(Ra)){const ld=cloneVNode(Ra,qa,!0);return ed&&normalizeChildren(ld,ed),isBlockTreeEnabled>0&&!sd&¤tBlock&&(ld.shapeFlag&6?currentBlock[currentBlock.indexOf(Ra)]=ld:currentBlock.push(ld)),ld.patchFlag=-2,ld}if(isClassComponent(Ra)&&(Ra=Ra.__vccOpts),qa){qa=guardReactiveProps(qa);let{class:ld,style:ud}=qa;ld&&!isString$3(ld)&&(qa.class=normalizeClass(ld)),isObject$5(ud)&&(isProxy(ud)&&!isArray$2(ud)&&(ud=extend$3({},ud)),qa.style=normalizeStyle(ud))}const od=isString$3(Ra)?1:isSuspense(Ra)?128:isTeleport(Ra)?64:isObject$5(Ra)?4:isFunction$4(Ra)?2:0;return createBaseVNode(Ra,qa,ed,td,rd,od,sd,!0)}function guardReactiveProps(Ra){return Ra?isProxy(Ra)||isInternalObject(Ra)?extend$3({},Ra):Ra:null}function cloneVNode(Ra,qa,ed=!1,td=!1){const{props:rd,ref:sd,patchFlag:od,children:ld,transition:ud}=Ra,cd=qa?mergeProps(rd||{},qa):rd,dd={__v_isVNode:!0,__v_skip:!0,type:Ra.type,props:cd,key:cd&&normalizeKey(cd),ref:qa&&qa.ref?ed&&sd?isArray$2(sd)?sd.concat(normalizeRef(qa)):[sd,normalizeRef(qa)]:normalizeRef(qa):sd,scopeId:Ra.scopeId,slotScopeIds:Ra.slotScopeIds,children:ld,target:Ra.target,targetStart:Ra.targetStart,targetAnchor:Ra.targetAnchor,staticCount:Ra.staticCount,shapeFlag:Ra.shapeFlag,patchFlag:qa&&Ra.type!==Fragment?od===-1?16:od|16:od,dynamicProps:Ra.dynamicProps,dynamicChildren:Ra.dynamicChildren,appContext:Ra.appContext,dirs:Ra.dirs,transition:ud,component:Ra.component,suspense:Ra.suspense,ssContent:Ra.ssContent&&cloneVNode(Ra.ssContent),ssFallback:Ra.ssFallback&&cloneVNode(Ra.ssFallback),el:Ra.el,anchor:Ra.anchor,ctx:Ra.ctx,ce:Ra.ce};return ud&&td&&setTransitionHooks(dd,ud.clone(dd)),dd}function createTextVNode(Ra=" ",qa=0){return createVNode(Text$2,null,Ra,qa)}function createCommentVNode(Ra="",qa=!1){return qa?(openBlock(),createBlock(Comment$2,null,Ra)):createVNode(Comment$2,null,Ra)}function normalizeVNode(Ra){return Ra==null||typeof Ra=="boolean"?createVNode(Comment$2):isArray$2(Ra)?createVNode(Fragment,null,Ra.slice()):typeof Ra=="object"?cloneIfMounted(Ra):createVNode(Text$2,null,String(Ra))}function cloneIfMounted(Ra){return Ra.el===null&&Ra.patchFlag!==-1||Ra.memo?Ra:cloneVNode(Ra)}function normalizeChildren(Ra,qa){let ed=0;const{shapeFlag:td}=Ra;if(qa==null)qa=null;else if(isArray$2(qa))ed=16;else if(typeof qa=="object")if(td&65){const rd=qa.default;rd&&(rd._c&&(rd._d=!1),normalizeChildren(Ra,rd()),rd._c&&(rd._d=!0));return}else{ed=32;const rd=qa._;!rd&&!isInternalObject(qa)?qa._ctx=currentRenderingInstance:rd===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?qa._=1:(qa._=2,Ra.patchFlag|=1024))}else isFunction$4(qa)?(qa={default:qa,_ctx:currentRenderingInstance},ed=32):(qa=String(qa),td&64?(ed=16,qa=[createTextVNode(qa)]):ed=8);Ra.children=qa,Ra.shapeFlag|=ed}function mergeProps(...Ra){const qa={};for(let ed=0;edcurrentInstance||currentRenderingInstance;let internalSetCurrentInstance,setInSSRSetupState;{const Ra=getGlobalThis(),qa=(ed,td)=>{let rd;return(rd=Ra[ed])||(rd=Ra[ed]=[]),rd.push(td),sd=>{rd.length>1?rd.forEach(od=>od(sd)):rd[0](sd)}};internalSetCurrentInstance=qa("__VUE_INSTANCE_SETTERS__",ed=>currentInstance=ed),setInSSRSetupState=qa("__VUE_SSR_SETTERS__",ed=>isInSSRComponentSetup=ed)}const setCurrentInstance=Ra=>{const qa=currentInstance;return internalSetCurrentInstance(Ra),Ra.scope.on(),()=>{Ra.scope.off(),internalSetCurrentInstance(qa)}},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(Ra){return Ra.vnode.shapeFlag&4}let isInSSRComponentSetup=!1;function setupComponent(Ra,qa=!1,ed=!1){qa&&setInSSRSetupState(qa);const{props:td,children:rd}=Ra.vnode,sd=isStatefulComponent(Ra);initProps(Ra,td,sd,qa),initSlots(Ra,rd,ed);const od=sd?setupStatefulComponent(Ra,qa):void 0;return qa&&setInSSRSetupState(!1),od}function setupStatefulComponent(Ra,qa){const ed=Ra.type;Ra.accessCache=Object.create(null),Ra.proxy=new Proxy(Ra.ctx,PublicInstanceProxyHandlers);const{setup:td}=ed;if(td){const rd=Ra.setupContext=td.length>1?createSetupContext(Ra):null,sd=setCurrentInstance(Ra);pauseTracking();const od=callWithErrorHandling(td,Ra,0,[Ra.props,rd]);if(resetTracking(),sd(),isPromise(od)){if(isAsyncWrapper(Ra)||markAsyncBoundary(Ra),od.then(unsetCurrentInstance,unsetCurrentInstance),qa)return od.then(ld=>{handleSetupResult(Ra,ld,qa)}).catch(ld=>{handleError$1(ld,Ra,0)});Ra.asyncDep=od}else handleSetupResult(Ra,od,qa)}else finishComponentSetup(Ra,qa)}function handleSetupResult(Ra,qa,ed){isFunction$4(qa)?Ra.type.__ssrInlineRender?Ra.ssrRender=qa:Ra.render=qa:isObject$5(qa)&&(Ra.setupState=proxyRefs(qa)),finishComponentSetup(Ra,ed)}let compile$2;function finishComponentSetup(Ra,qa,ed){const td=Ra.type;if(!Ra.render){if(!qa&&compile$2&&!td.render){const rd=td.template||resolveMergedOptions(Ra).template;if(rd){const{isCustomElement:sd,compilerOptions:od}=Ra.appContext.config,{delimiters:ld,compilerOptions:ud}=td,cd=extend$3(extend$3({isCustomElement:sd,delimiters:ld},od),ud);td.render=compile$2(rd,cd)}}Ra.render=td.render||NOOP}{const rd=setCurrentInstance(Ra);pauseTracking();try{applyOptions(Ra)}finally{resetTracking(),rd()}}}const attrsProxyHandlers={get(Ra,qa){return track(Ra,"get",""),Ra[qa]}};function createSetupContext(Ra){const qa=ed=>{Ra.exposed=ed||{}};return{attrs:new Proxy(Ra.attrs,attrsProxyHandlers),slots:Ra.slots,emit:Ra.emit,expose:qa}}function getComponentPublicInstance(Ra){return Ra.exposed?Ra.exposeProxy||(Ra.exposeProxy=new Proxy(proxyRefs(markRaw(Ra.exposed)),{get(qa,ed){if(ed in qa)return qa[ed];if(ed in publicPropertiesMap)return publicPropertiesMap[ed](Ra)},has(qa,ed){return ed in qa||ed in publicPropertiesMap}})):Ra.proxy}const classifyRE=/(?:^|[-_])(\w)/g,classify=Ra=>Ra.replace(classifyRE,qa=>qa.toUpperCase()).replace(/[-_]/g,"");function getComponentName(Ra,qa=!0){return isFunction$4(Ra)?Ra.displayName||Ra.name:Ra.name||qa&&Ra.__name}function formatComponentName(Ra,qa,ed=!1){let td=getComponentName(qa);if(!td&&qa.__file){const rd=qa.__file.match(/([^/\\]+)\.\w+$/);rd&&(td=rd[1])}if(!td&&Ra&&Ra.parent){const rd=sd=>{for(const od in sd)if(sd[od]===qa)return od};td=rd(Ra.components||Ra.parent.type.components)||rd(Ra.appContext.components)}return td?classify(td):ed?"App":"Anonymous"}function isClassComponent(Ra){return isFunction$4(Ra)&&"__vccOpts"in Ra}const computed=(Ra,qa)=>computed$1(Ra,qa,isInSSRComponentSetup);function h$1(Ra,qa,ed){const td=arguments.length;return td===2?isObject$5(qa)&&!isArray$2(qa)?isVNode(qa)?createVNode(Ra,null,[qa]):createVNode(Ra,qa):createVNode(Ra,null,qa):(td>3?ed=Array.prototype.slice.call(arguments,2):td===3&&isVNode(ed)&&(ed=[ed]),createVNode(Ra,qa,ed))}const version$2="3.5.6",warn$2=NOOP;/** -* @vue/runtime-dom v3.5.6 +**/const stack=[];let isWarning=!1;function warn$1(Ra,...qa){if(isWarning)return;isWarning=!0,pauseTracking();const td=stack.length?stack[stack.length-1].component:null,rd=td&&td.appContext.config.warnHandler,nd=getComponentTrace();if(rd)callWithErrorHandling(rd,td,11,[Ra+qa.map(ad=>{var sd,ud;return(ud=(sd=ad.toString)==null?void 0:sd.call(ad))!=null?ud:JSON.stringify(ad)}).join(""),td&&td.proxy,nd.map(({vnode:ad})=>`at <${formatComponentName(td,ad.type)}>`).join(` +`),nd]);else{const ad=[`[Vue warn]: ${Ra}`,...qa];nd.length&&ad.push(` +`,...formatTrace(nd)),console.warn(...ad)}resetTracking(),isWarning=!1}function getComponentTrace(){let Ra=stack[stack.length-1];if(!Ra)return[];const qa=[];for(;Ra;){const td=qa[0];td&&td.vnode===Ra?td.recurseCount++:qa.push({vnode:Ra,recurseCount:0});const rd=Ra.component&&Ra.component.parent;Ra=rd&&rd.vnode}return qa}function formatTrace(Ra){const qa=[];return Ra.forEach((td,rd)=>{qa.push(...rd===0?[]:[` +`],...formatTraceEntry(td))}),qa}function formatTraceEntry({vnode:Ra,recurseCount:qa}){const td=qa>0?`... (${qa} recursive calls)`:"",rd=Ra.component?Ra.component.parent==null:!1,nd=` at <${formatComponentName(Ra.component,Ra.type,rd)}`,ad=">"+td;return Ra.props?[nd,...formatProps(Ra.props),ad]:[nd+ad]}function formatProps(Ra){const qa=[],td=Object.keys(Ra);return td.slice(0,3).forEach(rd=>{qa.push(...formatProp(rd,Ra[rd]))}),td.length>3&&qa.push(" ..."),qa}function formatProp(Ra,qa,td){return isString$3(qa)?(qa=JSON.stringify(qa),td?qa:[`${Ra}=${qa}`]):typeof qa=="number"||typeof qa=="boolean"||qa==null?td?qa:[`${Ra}=${qa}`]:isRef(qa)?(qa=formatProp(Ra,toRaw(qa.value),!0),td?qa:[`${Ra}=Ref<`,qa,">"]):isFunction$4(qa)?[`${Ra}=fn${qa.name?`<${qa.name}>`:""}`]:(qa=toRaw(qa),td?qa:[`${Ra}=`,qa])}function callWithErrorHandling(Ra,qa,td,rd){try{return rd?Ra(...rd):Ra()}catch(nd){handleError$1(nd,qa,td)}}function callWithAsyncErrorHandling(Ra,qa,td,rd){if(isFunction$4(Ra)){const nd=callWithErrorHandling(Ra,qa,td,rd);return nd&&isPromise(nd)&&nd.catch(ad=>{handleError$1(ad,qa,td)}),nd}if(isArray$2(Ra)){const nd=[];for(let ad=0;ad>>1,nd=queue$2[rd],ad=getId(nd);ad=getId(td)?queue$2.push(Ra):queue$2.splice(findInsertionIndex(qa),0,Ra),Ra.flags|=1,queueFlush()}}function queueFlush(){!isFlushing&&!isFlushPending&&(isFlushPending=!0,currentFlushPromise=resolvedPromise.then(flushJobs))}function queuePostFlushCb(Ra){isArray$2(Ra)?pendingPostFlushCbs.push(...Ra):activePostFlushCbs&&Ra.id===-1?activePostFlushCbs.splice(postFlushIndex+1,0,Ra):Ra.flags&1||(pendingPostFlushCbs.push(Ra),Ra.flags|=1),queueFlush()}function flushPreFlushCbs(Ra,qa,td=isFlushing?flushIndex+1:0){for(;tdgetId(td)-getId(rd));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...qa);return}for(activePostFlushCbs=qa,postFlushIndex=0;postFlushIndexRa.id==null?Ra.flags&2?-1:1/0:Ra.id;function flushJobs(Ra){isFlushPending=!1,isFlushing=!0;try{for(flushIndex=0;flushIndex{rd._d&&setBlockTracking(-1);const ad=setCurrentRenderingInstance(qa);let sd;try{sd=Ra(...nd)}finally{setCurrentRenderingInstance(ad),rd._d&&setBlockTracking(1)}return sd};return rd._n=!0,rd._c=!0,rd._d=!0,rd}function withDirectives(Ra,qa){if(currentRenderingInstance===null)return Ra;const td=getComponentPublicInstance(currentRenderingInstance),rd=Ra.dirs||(Ra.dirs=[]);for(let nd=0;ndRa.__isTeleport,isTeleportDisabled=Ra=>Ra&&(Ra.disabled||Ra.disabled===""),isTeleportDeferred=Ra=>Ra&&(Ra.defer||Ra.defer===""),isTargetSVG=Ra=>typeof SVGElement<"u"&&Ra instanceof SVGElement,isTargetMathML=Ra=>typeof MathMLElement=="function"&&Ra instanceof MathMLElement,resolveTarget=(Ra,qa)=>{const td=Ra&&Ra.to;return isString$3(td)?qa?qa(td):null:td},TeleportImpl={name:"Teleport",__isTeleport:!0,process(Ra,qa,td,rd,nd,ad,sd,ud,cd,dd){const{mc:pd,pc:fd,pbc:Td,o:{insert:Ad,querySelector:Sd,createText:Dd,createComment:Ld}}=dd,Rd=isTeleportDisabled(qa.props);let{shapeFlag:Od,children:Md,dynamicChildren:jd}=qa;if(Ra==null){const Ud=qa.el=Dd(""),Hd=qa.anchor=Dd("");Ad(Ud,td,rd),Ad(Hd,td,rd);const zd=(Wd,Qd)=>{Od&16&&(nd&&nd.isCE&&(nd.ce._teleportTarget=Wd),pd(Md,Wd,Qd,nd,ad,sd,ud,cd))},Zd=()=>{const Wd=qa.target=resolveTarget(qa.props,Sd),Qd=prepareAnchor(Wd,qa,Dd,Ad);Wd&&(sd!=="svg"&&isTargetSVG(Wd)?sd="svg":sd!=="mathml"&&isTargetMathML(Wd)&&(sd="mathml"),Rd||(zd(Wd,Qd),updateCssVars(qa)))};Rd&&(zd(td,Hd),updateCssVars(qa)),isTeleportDeferred(qa.props)?queuePostRenderEffect(Zd,ad):Zd()}else{qa.el=Ra.el,qa.targetStart=Ra.targetStart;const Ud=qa.anchor=Ra.anchor,Hd=qa.target=Ra.target,zd=qa.targetAnchor=Ra.targetAnchor,Zd=isTeleportDisabled(Ra.props),Wd=Zd?td:Hd,Qd=Zd?Ud:zd;if(sd==="svg"||isTargetSVG(Hd)?sd="svg":(sd==="mathml"||isTargetMathML(Hd))&&(sd="mathml"),jd?(Td(Ra.dynamicChildren,jd,Wd,nd,ad,sd,ud),traverseStaticChildren(Ra,qa,!0)):cd||fd(Ra,qa,Wd,Qd,nd,ad,sd,ud,!1),Rd)Zd?qa.props&&Ra.props&&qa.props.to!==Ra.props.to&&(qa.props.to=Ra.props.to):moveTeleport(qa,td,Ud,dd,1);else if((qa.props&&qa.props.to)!==(Ra.props&&Ra.props.to)){const Jd=qa.target=resolveTarget(qa.props,Sd);Jd&&moveTeleport(qa,Jd,null,dd,0)}else Zd&&moveTeleport(qa,Hd,zd,dd,1);updateCssVars(qa)}},remove(Ra,qa,td,{um:rd,o:{remove:nd}},ad){const{shapeFlag:sd,children:ud,anchor:cd,targetStart:dd,targetAnchor:pd,target:fd,props:Td}=Ra;if(fd&&(nd(dd),nd(pd)),ad&&nd(cd),sd&16){const Ad=ad||!isTeleportDisabled(Td);for(let Sd=0;Sd{Ra.isMounted=!0}),onBeforeUnmount(()=>{Ra.isUnmounting=!0}),Ra}const TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},recursiveGetSubtree=Ra=>{const qa=Ra.subTree;return qa.component?recursiveGetSubtree(qa.component):qa},BaseTransitionImpl={name:"BaseTransition",props:BaseTransitionPropsValidators,setup(Ra,{slots:qa}){const td=getCurrentInstance(),rd=useTransitionState();return()=>{const nd=qa.default&&getTransitionRawChildren(qa.default(),!0);if(!nd||!nd.length)return;const ad=findNonCommentChild(nd),sd=toRaw(Ra),{mode:ud}=sd;if(rd.isLeaving)return emptyPlaceholder(ad);const cd=getInnerChild$1(ad);if(!cd)return emptyPlaceholder(ad);let dd=resolveTransitionHooks(cd,sd,rd,td,Td=>dd=Td);cd.type!==Comment$2&&setTransitionHooks(cd,dd);const pd=td.subTree,fd=pd&&getInnerChild$1(pd);if(fd&&fd.type!==Comment$2&&!isSameVNodeType(cd,fd)&&recursiveGetSubtree(td).type!==Comment$2){const Td=resolveTransitionHooks(fd,sd,rd,td);if(setTransitionHooks(fd,Td),ud==="out-in"&&cd.type!==Comment$2)return rd.isLeaving=!0,Td.afterLeave=()=>{rd.isLeaving=!1,td.job.flags&8||td.update(),delete Td.afterLeave},emptyPlaceholder(ad);ud==="in-out"&&cd.type!==Comment$2&&(Td.delayLeave=(Ad,Sd,Dd)=>{const Ld=getLeavingNodesForType(rd,fd);Ld[String(fd.key)]=fd,Ad[leaveCbKey]=()=>{Sd(),Ad[leaveCbKey]=void 0,delete dd.delayedLeave},dd.delayedLeave=Dd})}return ad}}};function findNonCommentChild(Ra){let qa=Ra[0];if(Ra.length>1){for(const td of Ra)if(td.type!==Comment$2){qa=td;break}}return qa}const BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(Ra,qa){const{leavingVNodes:td}=Ra;let rd=td.get(qa.type);return rd||(rd=Object.create(null),td.set(qa.type,rd)),rd}function resolveTransitionHooks(Ra,qa,td,rd,nd){const{appear:ad,mode:sd,persisted:ud=!1,onBeforeEnter:cd,onEnter:dd,onAfterEnter:pd,onEnterCancelled:fd,onBeforeLeave:Td,onLeave:Ad,onAfterLeave:Sd,onLeaveCancelled:Dd,onBeforeAppear:Ld,onAppear:Rd,onAfterAppear:Od,onAppearCancelled:Md}=qa,jd=String(Ra.key),Ud=getLeavingNodesForType(td,Ra),Hd=(Wd,Qd)=>{Wd&&callWithAsyncErrorHandling(Wd,rd,9,Qd)},zd=(Wd,Qd)=>{const Jd=Qd[1];Hd(Wd,Qd),isArray$2(Wd)?Wd.every(hf=>hf.length<=1)&&Jd():Wd.length<=1&&Jd()},Zd={mode:sd,persisted:ud,beforeEnter(Wd){let Qd=cd;if(!td.isMounted)if(ad)Qd=Ld||cd;else return;Wd[leaveCbKey]&&Wd[leaveCbKey](!0);const Jd=Ud[jd];Jd&&isSameVNodeType(Ra,Jd)&&Jd.el[leaveCbKey]&&Jd.el[leaveCbKey](),Hd(Qd,[Wd])},enter(Wd){let Qd=dd,Jd=pd,hf=fd;if(!td.isMounted)if(ad)Qd=Rd||dd,Jd=Od||pd,hf=Md||fd;else return;let bf=!1;const Ef=Wd[enterCbKey$1]=_f=>{bf||(bf=!0,_f?Hd(hf,[Wd]):Hd(Jd,[Wd]),Zd.delayedLeave&&Zd.delayedLeave(),Wd[enterCbKey$1]=void 0)};Qd?zd(Qd,[Wd,Ef]):Ef()},leave(Wd,Qd){const Jd=String(Ra.key);if(Wd[enterCbKey$1]&&Wd[enterCbKey$1](!0),td.isUnmounting)return Qd();Hd(Td,[Wd]);let hf=!1;const bf=Wd[leaveCbKey]=Ef=>{hf||(hf=!0,Qd(),Ef?Hd(Dd,[Wd]):Hd(Sd,[Wd]),Wd[leaveCbKey]=void 0,Ud[Jd]===Ra&&delete Ud[Jd])};Ud[Jd]=Ra,Ad?zd(Ad,[Wd,bf]):bf()},clone(Wd){const Qd=resolveTransitionHooks(Wd,qa,td,rd,nd);return nd&&nd(Qd),Qd}};return Zd}function emptyPlaceholder(Ra){if(isKeepAlive(Ra))return Ra=cloneVNode(Ra),Ra.children=null,Ra}function getInnerChild$1(Ra){if(!isKeepAlive(Ra))return isTeleport(Ra.type)&&Ra.children?findNonCommentChild(Ra.children):Ra;const{shapeFlag:qa,children:td}=Ra;if(td){if(qa&16)return td[0];if(qa&32&&isFunction$4(td.default))return td.default()}}function setTransitionHooks(Ra,qa){Ra.shapeFlag&6&&Ra.component?(Ra.transition=qa,setTransitionHooks(Ra.component.subTree,qa)):Ra.shapeFlag&128?(Ra.ssContent.transition=qa.clone(Ra.ssContent),Ra.ssFallback.transition=qa.clone(Ra.ssFallback)):Ra.transition=qa}function getTransitionRawChildren(Ra,qa=!1,td){let rd=[],nd=0;for(let ad=0;ad1)for(let ad=0;adsetRef(Sd,qa&&(isArray$2(qa)?qa[Dd]:qa),td,rd,nd));return}if(isAsyncWrapper(rd)&&!nd)return;const ad=rd.shapeFlag&4?getComponentPublicInstance(rd.component):rd.el,sd=nd?null:ad,{i:ud,r:cd}=Ra,dd=qa&&qa.r,pd=ud.refs===EMPTY_OBJ?ud.refs={}:ud.refs,fd=ud.setupState,Td=toRaw(fd),Ad=fd===EMPTY_OBJ?()=>!1:Sd=>hasOwn$2(Td,Sd);if(dd!=null&&dd!==cd&&(isString$3(dd)?(pd[dd]=null,Ad(dd)&&(fd[dd]=null)):isRef(dd)&&(dd.value=null)),isFunction$4(cd))callWithErrorHandling(cd,ud,12,[sd,pd]);else{const Sd=isString$3(cd),Dd=isRef(cd);if(Sd||Dd){const Ld=()=>{if(Ra.f){const Rd=Sd?Ad(cd)?fd[cd]:pd[cd]:cd.value;nd?isArray$2(Rd)&&remove$2(Rd,ad):isArray$2(Rd)?Rd.includes(ad)||Rd.push(ad):Sd?(pd[cd]=[ad],Ad(cd)&&(fd[cd]=pd[cd])):(cd.value=[ad],Ra.k&&(pd[Ra.k]=cd.value))}else Sd?(pd[cd]=sd,Ad(cd)&&(fd[cd]=sd)):Dd&&(cd.value=sd,Ra.k&&(pd[Ra.k]=sd))};sd?(Ld.id=-1,queuePostRenderEffect(Ld,td)):Ld()}}}const isAsyncWrapper=Ra=>!!Ra.type.__asyncLoader,isKeepAlive=Ra=>Ra.type.__isKeepAlive;function onActivated(Ra,qa){registerKeepAliveHook(Ra,"a",qa)}function onDeactivated(Ra,qa){registerKeepAliveHook(Ra,"da",qa)}function registerKeepAliveHook(Ra,qa,td=currentInstance){const rd=Ra.__wdc||(Ra.__wdc=()=>{let nd=td;for(;nd;){if(nd.isDeactivated)return;nd=nd.parent}return Ra()});if(injectHook(qa,rd,td),td){let nd=td.parent;for(;nd&&nd.parent;)isKeepAlive(nd.parent.vnode)&&injectToKeepAliveRoot(rd,qa,td,nd),nd=nd.parent}}function injectToKeepAliveRoot(Ra,qa,td,rd){const nd=injectHook(qa,Ra,rd,!0);onUnmounted(()=>{remove$2(rd[qa],nd)},td)}function injectHook(Ra,qa,td=currentInstance,rd=!1){if(td){const nd=td[Ra]||(td[Ra]=[]),ad=qa.__weh||(qa.__weh=(...sd)=>{pauseTracking();const ud=setCurrentInstance(td),cd=callWithAsyncErrorHandling(qa,td,Ra,sd);return ud(),resetTracking(),cd});return rd?nd.unshift(ad):nd.push(ad),ad}}const createHook=Ra=>(qa,td=currentInstance)=>{(!isInSSRComponentSetup||Ra==="sp")&&injectHook(Ra,(...rd)=>qa(...rd),td)},onBeforeMount=createHook("bm"),onMounted=createHook("m"),onBeforeUpdate=createHook("bu"),onUpdated=createHook("u"),onBeforeUnmount=createHook("bum"),onUnmounted=createHook("um"),onServerPrefetch=createHook("sp"),onRenderTriggered=createHook("rtg"),onRenderTracked=createHook("rtc");function onErrorCaptured(Ra,qa=currentInstance){injectHook("ec",Ra,qa)}const COMPONENTS="components",DIRECTIVES="directives";function resolveComponent(Ra,qa){return resolveAsset(COMPONENTS,Ra,!0,qa)||Ra}const NULL_DYNAMIC_COMPONENT=Symbol.for("v-ndc");function resolveDynamicComponent(Ra){return isString$3(Ra)?resolveAsset(COMPONENTS,Ra,!1)||Ra:Ra||NULL_DYNAMIC_COMPONENT}function resolveDirective(Ra){return resolveAsset(DIRECTIVES,Ra)}function resolveAsset(Ra,qa,td=!0,rd=!1){const nd=currentRenderingInstance||currentInstance;if(nd){const ad=nd.type;if(Ra===COMPONENTS){const ud=getComponentName(ad,!1);if(ud&&(ud===qa||ud===camelize(qa)||ud===capitalize$1(camelize(qa))))return ad}const sd=resolve$1(nd[Ra]||ad[Ra],qa)||resolve$1(nd.appContext[Ra],qa);return!sd&&rd?ad:sd}}function resolve$1(Ra,qa){return Ra&&(Ra[qa]||Ra[camelize(qa)]||Ra[capitalize$1(camelize(qa))])}function renderList(Ra,qa,td,rd){let nd;const ad=td,sd=isArray$2(Ra);if(sd||isString$3(Ra)){const ud=sd&&isReactive(Ra);let cd=!1;ud&&(cd=!isShallow(Ra),Ra=shallowReadArray(Ra)),nd=new Array(Ra.length);for(let dd=0,pd=Ra.length;ddqa(ud,cd,void 0,ad));else{const ud=Object.keys(Ra);nd=new Array(ud.length);for(let cd=0,dd=ud.length;cd{const ad=rd.fn(...nd);return ad&&(ad.key=rd.key),ad}:rd.fn)}return Ra}function renderSlot(Ra,qa,td={},rd,nd){if(currentRenderingInstance.ce||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.ce)return qa!=="default"&&(td.name=qa),openBlock(),createBlock(Fragment,null,[createVNode("slot",td,rd&&rd())],64);let ad=Ra[qa];ad&&ad._c&&(ad._d=!1),openBlock();const sd=ad&&ensureValidVNode(ad(td)),ud=createBlock(Fragment,{key:(td.key||sd&&sd.key||`_${qa}`)+(!sd&&rd?"_fb":"")},sd||(rd?rd():[]),sd&&Ra._===1?64:-2);return ud.scopeId&&(ud.slotScopeIds=[ud.scopeId+"-s"]),ad&&ad._c&&(ad._d=!0),ud}function ensureValidVNode(Ra){return Ra.some(qa=>isVNode(qa)?!(qa.type===Comment$2||qa.type===Fragment&&!ensureValidVNode(qa.children)):!0)?Ra:null}const getPublicInstance=Ra=>Ra?isStatefulComponent(Ra)?getComponentPublicInstance(Ra):getPublicInstance(Ra.parent):null,publicPropertiesMap=extend$3(Object.create(null),{$:Ra=>Ra,$el:Ra=>Ra.vnode.el,$data:Ra=>Ra.data,$props:Ra=>Ra.props,$attrs:Ra=>Ra.attrs,$slots:Ra=>Ra.slots,$refs:Ra=>Ra.refs,$parent:Ra=>getPublicInstance(Ra.parent),$root:Ra=>getPublicInstance(Ra.root),$host:Ra=>Ra.ce,$emit:Ra=>Ra.emit,$options:Ra=>resolveMergedOptions(Ra),$forceUpdate:Ra=>Ra.f||(Ra.f=()=>{queueJob(Ra.update)}),$nextTick:Ra=>Ra.n||(Ra.n=nextTick$1.bind(Ra.proxy)),$watch:Ra=>instanceWatch.bind(Ra)}),hasSetupBinding=(Ra,qa)=>Ra!==EMPTY_OBJ&&!Ra.__isScriptSetup&&hasOwn$2(Ra,qa),PublicInstanceProxyHandlers={get({_:Ra},qa){if(qa==="__v_skip")return!0;const{ctx:td,setupState:rd,data:nd,props:ad,accessCache:sd,type:ud,appContext:cd}=Ra;let dd;if(qa[0]!=="$"){const Ad=sd[qa];if(Ad!==void 0)switch(Ad){case 1:return rd[qa];case 2:return nd[qa];case 4:return td[qa];case 3:return ad[qa]}else{if(hasSetupBinding(rd,qa))return sd[qa]=1,rd[qa];if(nd!==EMPTY_OBJ&&hasOwn$2(nd,qa))return sd[qa]=2,nd[qa];if((dd=Ra.propsOptions[0])&&hasOwn$2(dd,qa))return sd[qa]=3,ad[qa];if(td!==EMPTY_OBJ&&hasOwn$2(td,qa))return sd[qa]=4,td[qa];shouldCacheAccess&&(sd[qa]=0)}}const pd=publicPropertiesMap[qa];let fd,Td;if(pd)return qa==="$attrs"&&track(Ra.attrs,"get",""),pd(Ra);if((fd=ud.__cssModules)&&(fd=fd[qa]))return fd;if(td!==EMPTY_OBJ&&hasOwn$2(td,qa))return sd[qa]=4,td[qa];if(Td=cd.config.globalProperties,hasOwn$2(Td,qa))return Td[qa]},set({_:Ra},qa,td){const{data:rd,setupState:nd,ctx:ad}=Ra;return hasSetupBinding(nd,qa)?(nd[qa]=td,!0):rd!==EMPTY_OBJ&&hasOwn$2(rd,qa)?(rd[qa]=td,!0):hasOwn$2(Ra.props,qa)||qa[0]==="$"&&qa.slice(1)in Ra?!1:(ad[qa]=td,!0)},has({_:{data:Ra,setupState:qa,accessCache:td,ctx:rd,appContext:nd,propsOptions:ad}},sd){let ud;return!!td[sd]||Ra!==EMPTY_OBJ&&hasOwn$2(Ra,sd)||hasSetupBinding(qa,sd)||(ud=ad[0])&&hasOwn$2(ud,sd)||hasOwn$2(rd,sd)||hasOwn$2(publicPropertiesMap,sd)||hasOwn$2(nd.config.globalProperties,sd)},defineProperty(Ra,qa,td){return td.get!=null?Ra._.accessCache[qa]=0:hasOwn$2(td,"value")&&this.set(Ra,qa,td.value,null),Reflect.defineProperty(Ra,qa,td)}};function useSlots(){return getContext().slots}function useAttrs$1(){return getContext().attrs}function getContext(){const Ra=getCurrentInstance();return Ra.setupContext||(Ra.setupContext=createSetupContext(Ra))}function normalizePropsOrEmits(Ra){return isArray$2(Ra)?Ra.reduce((qa,td)=>(qa[td]=null,qa),{}):Ra}function mergeDefaults(Ra,qa){const td=normalizePropsOrEmits(Ra);for(const rd in qa){if(rd.startsWith("__skip"))continue;let nd=td[rd];nd?isArray$2(nd)||isFunction$4(nd)?nd=td[rd]={type:nd,default:qa[rd]}:nd.default=qa[rd]:nd===null&&(nd=td[rd]={default:qa[rd]}),nd&&qa[`__skip_${rd}`]&&(nd.skipFactory=!0)}return td}let shouldCacheAccess=!0;function applyOptions(Ra){const qa=resolveMergedOptions(Ra),td=Ra.proxy,rd=Ra.ctx;shouldCacheAccess=!1,qa.beforeCreate&&callHook$1(qa.beforeCreate,Ra,"bc");const{data:nd,computed:ad,methods:sd,watch:ud,provide:cd,inject:dd,created:pd,beforeMount:fd,mounted:Td,beforeUpdate:Ad,updated:Sd,activated:Dd,deactivated:Ld,beforeDestroy:Rd,beforeUnmount:Od,destroyed:Md,unmounted:jd,render:Ud,renderTracked:Hd,renderTriggered:zd,errorCaptured:Zd,serverPrefetch:Wd,expose:Qd,inheritAttrs:Jd,components:hf,directives:bf,filters:Ef}=qa;if(dd&&resolveInjections(dd,rd,null),sd)for(const xf in sd){const Bf=sd[xf];isFunction$4(Bf)&&(rd[xf]=Bf.bind(td))}if(nd){const xf=nd.call(td,td);isObject$5(xf)&&(Ra.data=reactive(xf))}if(shouldCacheAccess=!0,ad)for(const xf in ad){const Bf=ad[xf],Yf=isFunction$4(Bf)?Bf.bind(td,td):isFunction$4(Bf.get)?Bf.get.bind(td,td):NOOP,eh=!isFunction$4(Bf)&&isFunction$4(Bf.set)?Bf.set.bind(td):NOOP,Vf=computed({get:Yf,set:eh});Object.defineProperty(rd,xf,{enumerable:!0,configurable:!0,get:()=>Vf.value,set:Pf=>Vf.value=Pf})}if(ud)for(const xf in ud)createWatcher(ud[xf],rd,td,xf);if(cd){const xf=isFunction$4(cd)?cd.call(td):cd;Reflect.ownKeys(xf).forEach(Bf=>{provide(Bf,xf[Bf])})}pd&&callHook$1(pd,Ra,"c");function vf(xf,Bf){isArray$2(Bf)?Bf.forEach(Yf=>xf(Yf.bind(td))):Bf&&xf(Bf.bind(td))}if(vf(onBeforeMount,fd),vf(onMounted,Td),vf(onBeforeUpdate,Ad),vf(onUpdated,Sd),vf(onActivated,Dd),vf(onDeactivated,Ld),vf(onErrorCaptured,Zd),vf(onRenderTracked,Hd),vf(onRenderTriggered,zd),vf(onBeforeUnmount,Od),vf(onUnmounted,jd),vf(onServerPrefetch,Wd),isArray$2(Qd))if(Qd.length){const xf=Ra.exposed||(Ra.exposed={});Qd.forEach(Bf=>{Object.defineProperty(xf,Bf,{get:()=>td[Bf],set:Yf=>td[Bf]=Yf})})}else Ra.exposed||(Ra.exposed={});Ud&&Ra.render===NOOP&&(Ra.render=Ud),Jd!=null&&(Ra.inheritAttrs=Jd),hf&&(Ra.components=hf),bf&&(Ra.directives=bf),Wd&&markAsyncBoundary(Ra)}function resolveInjections(Ra,qa,td=NOOP){isArray$2(Ra)&&(Ra=normalizeInject(Ra));for(const rd in Ra){const nd=Ra[rd];let ad;isObject$5(nd)?"default"in nd?ad=inject(nd.from||rd,nd.default,!0):ad=inject(nd.from||rd):ad=inject(nd),isRef(ad)?Object.defineProperty(qa,rd,{enumerable:!0,configurable:!0,get:()=>ad.value,set:sd=>ad.value=sd}):qa[rd]=ad}}function callHook$1(Ra,qa,td){callWithAsyncErrorHandling(isArray$2(Ra)?Ra.map(rd=>rd.bind(qa.proxy)):Ra.bind(qa.proxy),qa,td)}function createWatcher(Ra,qa,td,rd){let nd=rd.includes(".")?createPathGetter(td,rd):()=>td[rd];if(isString$3(Ra)){const ad=qa[Ra];isFunction$4(ad)&&watch(nd,ad)}else if(isFunction$4(Ra))watch(nd,Ra.bind(td));else if(isObject$5(Ra))if(isArray$2(Ra))Ra.forEach(ad=>createWatcher(ad,qa,td,rd));else{const ad=isFunction$4(Ra.handler)?Ra.handler.bind(td):qa[Ra.handler];isFunction$4(ad)&&watch(nd,ad,Ra)}}function resolveMergedOptions(Ra){const qa=Ra.type,{mixins:td,extends:rd}=qa,{mixins:nd,optionsCache:ad,config:{optionMergeStrategies:sd}}=Ra.appContext,ud=ad.get(qa);let cd;return ud?cd=ud:!nd.length&&!td&&!rd?cd=qa:(cd={},nd.length&&nd.forEach(dd=>mergeOptions(cd,dd,sd,!0)),mergeOptions(cd,qa,sd)),isObject$5(qa)&&ad.set(qa,cd),cd}function mergeOptions(Ra,qa,td,rd=!1){const{mixins:nd,extends:ad}=qa;ad&&mergeOptions(Ra,ad,td,!0),nd&&nd.forEach(sd=>mergeOptions(Ra,sd,td,!0));for(const sd in qa)if(!(rd&&sd==="expose")){const ud=internalOptionMergeStrats[sd]||td&&td[sd];Ra[sd]=ud?ud(Ra[sd],qa[sd]):qa[sd]}return Ra}const internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray,created:mergeAsArray,beforeMount:mergeAsArray,mounted:mergeAsArray,beforeUpdate:mergeAsArray,updated:mergeAsArray,beforeDestroy:mergeAsArray,beforeUnmount:mergeAsArray,destroyed:mergeAsArray,unmounted:mergeAsArray,activated:mergeAsArray,deactivated:mergeAsArray,errorCaptured:mergeAsArray,serverPrefetch:mergeAsArray,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(Ra,qa){return qa?Ra?function(){return extend$3(isFunction$4(Ra)?Ra.call(this,this):Ra,isFunction$4(qa)?qa.call(this,this):qa)}:qa:Ra}function mergeInject(Ra,qa){return mergeObjectOptions(normalizeInject(Ra),normalizeInject(qa))}function normalizeInject(Ra){if(isArray$2(Ra)){const qa={};for(let td=0;td1)return td&&isFunction$4(qa)?qa.call(rd&&rd.proxy):qa}}function hasInjectionContext(){return!!(currentInstance||currentRenderingInstance||currentApp)}const internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=Ra=>Object.getPrototypeOf(Ra)===internalObjectProto;function initProps(Ra,qa,td,rd=!1){const nd={},ad=createInternalObject();Ra.propsDefaults=Object.create(null),setFullProps(Ra,qa,nd,ad);for(const sd in Ra.propsOptions[0])sd in nd||(nd[sd]=void 0);td?Ra.props=rd?nd:shallowReactive(nd):Ra.type.props?Ra.props=nd:Ra.props=ad,Ra.attrs=ad}function updateProps(Ra,qa,td,rd){const{props:nd,attrs:ad,vnode:{patchFlag:sd}}=Ra,ud=toRaw(nd),[cd]=Ra.propsOptions;let dd=!1;if((rd||sd>0)&&!(sd&16)){if(sd&8){const pd=Ra.vnode.dynamicProps;for(let fd=0;fd{cd=!0;const[Td,Ad]=normalizePropsOptions(fd,qa,!0);extend$3(sd,Td),Ad&&ud.push(...Ad)};!td&&qa.mixins.length&&qa.mixins.forEach(pd),Ra.extends&&pd(Ra.extends),Ra.mixins&&Ra.mixins.forEach(pd)}if(!ad&&!cd)return isObject$5(Ra)&&rd.set(Ra,EMPTY_ARR),EMPTY_ARR;if(isArray$2(ad))for(let pd=0;pdRa[0]==="_"||Ra==="$stable",normalizeSlotValue=Ra=>isArray$2(Ra)?Ra.map(normalizeVNode):[normalizeVNode(Ra)],normalizeSlot=(Ra,qa,td)=>{if(qa._n)return qa;const rd=withCtx((...nd)=>normalizeSlotValue(qa(...nd)),td);return rd._c=!1,rd},normalizeObjectSlots=(Ra,qa,td)=>{const rd=Ra._ctx;for(const nd in Ra){if(isInternalKey(nd))continue;const ad=Ra[nd];if(isFunction$4(ad))qa[nd]=normalizeSlot(nd,ad,rd);else if(ad!=null){const sd=normalizeSlotValue(ad);qa[nd]=()=>sd}}},normalizeVNodeSlots=(Ra,qa)=>{const td=normalizeSlotValue(qa);Ra.slots.default=()=>td},assignSlots=(Ra,qa,td)=>{for(const rd in qa)(td||rd!=="_")&&(Ra[rd]=qa[rd])},initSlots=(Ra,qa,td)=>{const rd=Ra.slots=createInternalObject();if(Ra.vnode.shapeFlag&32){const nd=qa._;nd?(assignSlots(rd,qa,td),td&&def$2(rd,"_",nd,!0)):normalizeObjectSlots(qa,rd)}else qa&&normalizeVNodeSlots(Ra,qa)},updateSlots=(Ra,qa,td)=>{const{vnode:rd,slots:nd}=Ra;let ad=!0,sd=EMPTY_OBJ;if(rd.shapeFlag&32){const ud=qa._;ud?td&&ud===1?ad=!1:assignSlots(nd,qa,td):(ad=!qa.$stable,normalizeObjectSlots(qa,nd)),sd=qa}else qa&&(normalizeVNodeSlots(Ra,qa),sd={default:1});if(ad)for(const ud in nd)!isInternalKey(ud)&&sd[ud]==null&&delete nd[ud]},queuePostRenderEffect=queueEffectWithSuspense;function createRenderer$1(Ra){return baseCreateRenderer(Ra)}function baseCreateRenderer(Ra,qa){const td=getGlobalThis();td.__VUE__=!0;const{insert:rd,remove:nd,patchProp:ad,createElement:sd,createText:ud,createComment:cd,setText:dd,setElementText:pd,parentNode:fd,nextSibling:Td,setScopeId:Ad=NOOP,insertStaticContent:Sd}=Ra,Dd=(Df,Xf,dh,qf=null,wf=null,Rf=null,jf=void 0,lh=null,_h=!!Xf.dynamicChildren)=>{if(Df===Xf)return;Df&&!isSameVNodeType(Df,Xf)&&(qf=Tf(Df),Pf(Df,wf,Rf,!0),Df=null),Xf.patchFlag===-2&&(_h=!1,Xf.dynamicChildren=null);const{type:ih,ref:wh,shapeFlag:hh}=Xf;switch(ih){case Text$2:Ld(Df,Xf,dh,qf);break;case Comment$2:Rd(Df,Xf,dh,qf);break;case Static:Df==null&&Od(Xf,dh,qf,jf);break;case Fragment:hf(Df,Xf,dh,qf,wf,Rf,jf,lh,_h);break;default:hh&1?Ud(Df,Xf,dh,qf,wf,Rf,jf,lh,_h):hh&6?bf(Df,Xf,dh,qf,wf,Rf,jf,lh,_h):(hh&64||hh&128)&&ih.process(Df,Xf,dh,qf,wf,Rf,jf,lh,_h,Gf)}wh!=null&&wf&&setRef(wh,Df&&Df.ref,Rf,Xf||Df,!Xf)},Ld=(Df,Xf,dh,qf)=>{if(Df==null)rd(Xf.el=ud(Xf.children),dh,qf);else{const wf=Xf.el=Df.el;Xf.children!==Df.children&&dd(wf,Xf.children)}},Rd=(Df,Xf,dh,qf)=>{Df==null?rd(Xf.el=cd(Xf.children||""),dh,qf):Xf.el=Df.el},Od=(Df,Xf,dh,qf)=>{[Df.el,Df.anchor]=Sd(Df.children,Xf,dh,qf,Df.el,Df.anchor)},Md=({el:Df,anchor:Xf},dh,qf)=>{let wf;for(;Df&&Df!==Xf;)wf=Td(Df),rd(Df,dh,qf),Df=wf;rd(Xf,dh,qf)},jd=({el:Df,anchor:Xf})=>{let dh;for(;Df&&Df!==Xf;)dh=Td(Df),nd(Df),Df=dh;nd(Xf)},Ud=(Df,Xf,dh,qf,wf,Rf,jf,lh,_h)=>{Xf.type==="svg"?jf="svg":Xf.type==="math"&&(jf="mathml"),Df==null?Hd(Xf,dh,qf,wf,Rf,jf,lh,_h):Wd(Df,Xf,wf,Rf,jf,lh,_h)},Hd=(Df,Xf,dh,qf,wf,Rf,jf,lh)=>{let _h,ih;const{props:wh,shapeFlag:hh,transition:Th,dirs:Vh}=Df;if(_h=Df.el=sd(Df.type,Rf,wh&&wh.is,wh),hh&8?pd(_h,Df.children):hh&16&&Zd(Df.children,_h,null,qf,wf,resolveChildrenNamespace(Df,Rf),jf,lh),Vh&&invokeDirectiveHook(Df,null,qf,"created"),zd(_h,Df,Df.scopeId,jf,qf),wh){for(const Yh in wh)Yh!=="value"&&!isReservedProp(Yh)&&ad(_h,Yh,null,wh[Yh],Rf,qf);"value"in wh&&ad(_h,"value",null,wh.value,Rf),(ih=wh.onVnodeBeforeMount)&&invokeVNodeHook(ih,qf,Df)}Vh&&invokeDirectiveHook(Df,null,qf,"beforeMount");const Bh=needTransition(wf,Th);Bh&&Th.beforeEnter(_h),rd(_h,Xf,dh),((ih=wh&&wh.onVnodeMounted)||Bh||Vh)&&queuePostRenderEffect(()=>{ih&&invokeVNodeHook(ih,qf,Df),Bh&&Th.enter(_h),Vh&&invokeDirectiveHook(Df,null,qf,"mounted")},wf)},zd=(Df,Xf,dh,qf,wf)=>{if(dh&&Ad(Df,dh),qf)for(let Rf=0;Rf{for(let ih=_h;ih{const lh=Xf.el=Df.el;let{patchFlag:_h,dynamicChildren:ih,dirs:wh}=Xf;_h|=Df.patchFlag&16;const hh=Df.props||EMPTY_OBJ,Th=Xf.props||EMPTY_OBJ;let Vh;if(dh&&toggleRecurse(dh,!1),(Vh=Th.onVnodeBeforeUpdate)&&invokeVNodeHook(Vh,dh,Xf,Df),wh&&invokeDirectiveHook(Xf,Df,dh,"beforeUpdate"),dh&&toggleRecurse(dh,!0),(hh.innerHTML&&Th.innerHTML==null||hh.textContent&&Th.textContent==null)&&pd(lh,""),ih?Qd(Df.dynamicChildren,ih,lh,dh,qf,resolveChildrenNamespace(Xf,wf),Rf):jf||Bf(Df,Xf,lh,null,dh,qf,resolveChildrenNamespace(Xf,wf),Rf,!1),_h>0){if(_h&16)Jd(lh,hh,Th,dh,wf);else if(_h&2&&hh.class!==Th.class&&ad(lh,"class",null,Th.class,wf),_h&4&&ad(lh,"style",hh.style,Th.style,wf),_h&8){const Bh=Xf.dynamicProps;for(let Yh=0;Yh{Vh&&invokeVNodeHook(Vh,dh,Xf,Df),wh&&invokeDirectiveHook(Xf,Df,dh,"updated")},qf)},Qd=(Df,Xf,dh,qf,wf,Rf,jf)=>{for(let lh=0;lh{if(Xf!==dh){if(Xf!==EMPTY_OBJ)for(const Rf in Xf)!isReservedProp(Rf)&&!(Rf in dh)&&ad(Df,Rf,Xf[Rf],null,wf,qf);for(const Rf in dh){if(isReservedProp(Rf))continue;const jf=dh[Rf],lh=Xf[Rf];jf!==lh&&Rf!=="value"&&ad(Df,Rf,lh,jf,wf,qf)}"value"in dh&&ad(Df,"value",Xf.value,dh.value,wf)}},hf=(Df,Xf,dh,qf,wf,Rf,jf,lh,_h)=>{const ih=Xf.el=Df?Df.el:ud(""),wh=Xf.anchor=Df?Df.anchor:ud("");let{patchFlag:hh,dynamicChildren:Th,slotScopeIds:Vh}=Xf;Vh&&(lh=lh?lh.concat(Vh):Vh),Df==null?(rd(ih,dh,qf),rd(wh,dh,qf),Zd(Xf.children||[],dh,wh,wf,Rf,jf,lh,_h)):hh>0&&hh&64&&Th&&Df.dynamicChildren?(Qd(Df.dynamicChildren,Th,dh,wf,Rf,jf,lh),(Xf.key!=null||wf&&Xf===wf.subTree)&&traverseStaticChildren(Df,Xf,!0)):Bf(Df,Xf,dh,wh,wf,Rf,jf,lh,_h)},bf=(Df,Xf,dh,qf,wf,Rf,jf,lh,_h)=>{Xf.slotScopeIds=lh,Df==null?Xf.shapeFlag&512?wf.ctx.activate(Xf,dh,qf,jf,_h):Ef(Xf,dh,qf,wf,Rf,jf,_h):_f(Df,Xf,_h)},Ef=(Df,Xf,dh,qf,wf,Rf,jf)=>{const lh=Df.component=createComponentInstance(Df,qf,wf);if(isKeepAlive(Df)&&(lh.ctx.renderer=Gf),setupComponent(lh,!1,jf),lh.asyncDep){if(wf&&wf.registerDep(lh,vf,jf),!Df.el){const _h=lh.subTree=createVNode(Comment$2);Rd(null,_h,Xf,dh)}}else vf(lh,Df,Xf,dh,wf,Rf,jf)},_f=(Df,Xf,dh)=>{const qf=Xf.component=Df.component;if(shouldUpdateComponent(Df,Xf,dh))if(qf.asyncDep&&!qf.asyncResolved){xf(qf,Xf,dh);return}else qf.next=Xf,qf.update();else Xf.el=Df.el,qf.vnode=Xf},vf=(Df,Xf,dh,qf,wf,Rf,jf)=>{const lh=()=>{if(Df.isMounted){let{next:hh,bu:Th,u:Vh,parent:Bh,vnode:Yh}=Df;{const Jf=locateNonHydratedAsyncRoot(Df);if(Jf){hh&&(hh.el=Yh.el,xf(Df,hh,jf)),Jf.asyncDep.then(()=>{Df.isUnmounted||lh()});return}}let dm=hh,nh;toggleRecurse(Df,!1),hh?(hh.el=Yh.el,xf(Df,hh,jf)):hh=Yh,Th&&invokeArrayFns(Th),(nh=hh.props&&hh.props.onVnodeBeforeUpdate)&&invokeVNodeHook(nh,Bh,hh,Yh),toggleRecurse(Df,!0);const Of=renderComponentRoot(Df),Nf=Df.subTree;Df.subTree=Of,Dd(Nf,Of,fd(Nf.el),Tf(Nf),Df,wf,Rf),hh.el=Of.el,dm===null&&updateHOCHostEl(Df,Of.el),Vh&&queuePostRenderEffect(Vh,wf),(nh=hh.props&&hh.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(nh,Bh,hh,Yh),wf)}else{let hh;const{el:Th,props:Vh}=Xf,{bm:Bh,m:Yh,parent:dm,root:nh,type:Of}=Df,Nf=isAsyncWrapper(Xf);if(toggleRecurse(Df,!1),Bh&&invokeArrayFns(Bh),!Nf&&(hh=Vh&&Vh.onVnodeBeforeMount)&&invokeVNodeHook(hh,dm,Xf),toggleRecurse(Df,!0),Th&&Uf){const Jf=()=>{Df.subTree=renderComponentRoot(Df),Uf(Th,Df.subTree,Df,wf,null)};Nf&&Of.__asyncHydrate?Of.__asyncHydrate(Th,Df,Jf):Jf()}else{nh.ce&&nh.ce._injectChildStyle(Of);const Jf=Df.subTree=renderComponentRoot(Df);Dd(null,Jf,dh,qf,Df,wf,Rf),Xf.el=Jf.el}if(Yh&&queuePostRenderEffect(Yh,wf),!Nf&&(hh=Vh&&Vh.onVnodeMounted)){const Jf=Xf;queuePostRenderEffect(()=>invokeVNodeHook(hh,dm,Jf),wf)}(Xf.shapeFlag&256||dm&&isAsyncWrapper(dm.vnode)&&dm.vnode.shapeFlag&256)&&Df.a&&queuePostRenderEffect(Df.a,wf),Df.isMounted=!0,Xf=dh=qf=null}};Df.scope.on();const _h=Df.effect=new ReactiveEffect(lh);Df.scope.off();const ih=Df.update=_h.run.bind(_h),wh=Df.job=_h.runIfDirty.bind(_h);wh.i=Df,wh.id=Df.uid,_h.scheduler=()=>queueJob(wh),toggleRecurse(Df,!0),ih()},xf=(Df,Xf,dh)=>{Xf.component=Df;const qf=Df.vnode.props;Df.vnode=Xf,Df.next=null,updateProps(Df,Xf.props,qf,dh),updateSlots(Df,Xf.children,dh),pauseTracking(),flushPreFlushCbs(Df),resetTracking()},Bf=(Df,Xf,dh,qf,wf,Rf,jf,lh,_h=!1)=>{const ih=Df&&Df.children,wh=Df?Df.shapeFlag:0,hh=Xf.children,{patchFlag:Th,shapeFlag:Vh}=Xf;if(Th>0){if(Th&128){eh(ih,hh,dh,qf,wf,Rf,jf,lh,_h);return}else if(Th&256){Yf(ih,hh,dh,qf,wf,Rf,jf,lh,_h);return}}Vh&8?(wh&16&&Kf(ih,wf,Rf),hh!==ih&&pd(dh,hh)):wh&16?Vh&16?eh(ih,hh,dh,qf,wf,Rf,jf,lh,_h):Kf(ih,wf,Rf,!0):(wh&8&&pd(dh,""),Vh&16&&Zd(hh,dh,qf,wf,Rf,jf,lh,_h))},Yf=(Df,Xf,dh,qf,wf,Rf,jf,lh,_h)=>{Df=Df||EMPTY_ARR,Xf=Xf||EMPTY_ARR;const ih=Df.length,wh=Xf.length,hh=Math.min(ih,wh);let Th;for(Th=0;Thwh?Kf(Df,wf,Rf,!0,!1,hh):Zd(Xf,dh,qf,wf,Rf,jf,lh,_h,hh)},eh=(Df,Xf,dh,qf,wf,Rf,jf,lh,_h)=>{let ih=0;const wh=Xf.length;let hh=Df.length-1,Th=wh-1;for(;ih<=hh&&ih<=Th;){const Vh=Df[ih],Bh=Xf[ih]=_h?cloneIfMounted(Xf[ih]):normalizeVNode(Xf[ih]);if(isSameVNodeType(Vh,Bh))Dd(Vh,Bh,dh,null,wf,Rf,jf,lh,_h);else break;ih++}for(;ih<=hh&&ih<=Th;){const Vh=Df[hh],Bh=Xf[Th]=_h?cloneIfMounted(Xf[Th]):normalizeVNode(Xf[Th]);if(isSameVNodeType(Vh,Bh))Dd(Vh,Bh,dh,null,wf,Rf,jf,lh,_h);else break;hh--,Th--}if(ih>hh){if(ih<=Th){const Vh=Th+1,Bh=VhTh)for(;ih<=hh;)Pf(Df[ih],wf,Rf,!0),ih++;else{const Vh=ih,Bh=ih,Yh=new Map;for(ih=Bh;ih<=Th;ih++){const Oh=Xf[ih]=_h?cloneIfMounted(Xf[ih]):normalizeVNode(Xf[ih]);Oh.key!=null&&Yh.set(Oh.key,ih)}let dm,nh=0;const Of=Th-Bh+1;let Nf=!1,Jf=0;const oh=new Array(Of);for(ih=0;ih=Of){Pf(Oh,wf,Rf,!0);continue}let Xh;if(Oh.key!=null)Xh=Yh.get(Oh.key);else for(dm=Bh;dm<=Th;dm++)if(oh[dm-Bh]===0&&isSameVNodeType(Oh,Xf[dm])){Xh=dm;break}Xh===void 0?Pf(Oh,wf,Rf,!0):(oh[Xh-Bh]=ih+1,Xh>=Jf?Jf=Xh:Nf=!0,Dd(Oh,Xf[Xh],dh,null,wf,Rf,jf,lh,_h),nh++)}const xh=Nf?getSequence(oh):EMPTY_ARR;for(dm=xh.length-1,ih=Of-1;ih>=0;ih--){const Oh=Bh+ih,Xh=Xf[Oh],gm=Oh+1{const{el:Rf,type:jf,transition:lh,children:_h,shapeFlag:ih}=Df;if(ih&6){Vf(Df.component.subTree,Xf,dh,qf);return}if(ih&128){Df.suspense.move(Xf,dh,qf);return}if(ih&64){jf.move(Df,Xf,dh,Gf);return}if(jf===Fragment){rd(Rf,Xf,dh);for(let hh=0;hh<_h.length;hh++)Vf(_h[hh],Xf,dh,qf);rd(Df.anchor,Xf,dh);return}if(jf===Static){Md(Df,Xf,dh);return}if(qf!==2&&ih&1&&lh)if(qf===0)lh.beforeEnter(Rf),rd(Rf,Xf,dh),queuePostRenderEffect(()=>lh.enter(Rf),wf);else{const{leave:hh,delayLeave:Th,afterLeave:Vh}=lh,Bh=()=>rd(Rf,Xf,dh),Yh=()=>{hh(Rf,()=>{Bh(),Vh&&Vh()})};Th?Th(Rf,Bh,Yh):Yh()}else rd(Rf,Xf,dh)},Pf=(Df,Xf,dh,qf=!1,wf=!1)=>{const{type:Rf,props:jf,ref:lh,children:_h,dynamicChildren:ih,shapeFlag:wh,patchFlag:hh,dirs:Th,cacheIndex:Vh}=Df;if(hh===-2&&(wf=!1),lh!=null&&setRef(lh,null,dh,Df,!0),Vh!=null&&(Xf.renderCache[Vh]=void 0),wh&256){Xf.ctx.deactivate(Df);return}const Bh=wh&1&&Th,Yh=!isAsyncWrapper(Df);let dm;if(Yh&&(dm=jf&&jf.onVnodeBeforeUnmount)&&invokeVNodeHook(dm,Xf,Df),wh&6)Zf(Df.component,dh,qf);else{if(wh&128){Df.suspense.unmount(dh,qf);return}Bh&&invokeDirectiveHook(Df,null,Xf,"beforeUnmount"),wh&64?Df.type.remove(Df,Xf,dh,Gf,qf):ih&&!ih.hasOnce&&(Rf!==Fragment||hh>0&&hh&64)?Kf(ih,Xf,dh,!1,!0):(Rf===Fragment&&hh&384||!wf&&wh&16)&&Kf(_h,Xf,dh),qf&&If(Df)}(Yh&&(dm=jf&&jf.onVnodeUnmounted)||Bh)&&queuePostRenderEffect(()=>{dm&&invokeVNodeHook(dm,Xf,Df),Bh&&invokeDirectiveHook(Df,null,Xf,"unmounted")},dh)},If=Df=>{const{type:Xf,el:dh,anchor:qf,transition:wf}=Df;if(Xf===Fragment){$f(dh,qf);return}if(Xf===Static){jd(Df);return}const Rf=()=>{nd(dh),wf&&!wf.persisted&&wf.afterLeave&&wf.afterLeave()};if(Df.shapeFlag&1&&wf&&!wf.persisted){const{leave:jf,delayLeave:lh}=wf,_h=()=>jf(dh,Rf);lh?lh(Df.el,Rf,_h):_h()}else Rf()},$f=(Df,Xf)=>{let dh;for(;Df!==Xf;)dh=Td(Df),nd(Df),Df=dh;nd(Xf)},Zf=(Df,Xf,dh)=>{const{bum:qf,scope:wf,job:Rf,subTree:jf,um:lh,m:_h,a:ih}=Df;invalidateMount(_h),invalidateMount(ih),qf&&invokeArrayFns(qf),wf.stop(),Rf&&(Rf.flags|=8,Pf(jf,Df,Xf,dh)),lh&&queuePostRenderEffect(lh,Xf),queuePostRenderEffect(()=>{Df.isUnmounted=!0},Xf),Xf&&Xf.pendingBranch&&!Xf.isUnmounted&&Df.asyncDep&&!Df.asyncResolved&&Df.suspenseId===Xf.pendingId&&(Xf.deps--,Xf.deps===0&&Xf.resolve())},Kf=(Df,Xf,dh,qf=!1,wf=!1,Rf=0)=>{for(let jf=Rf;jf{if(Df.shapeFlag&6)return Tf(Df.component.subTree);if(Df.shapeFlag&128)return Df.suspense.next();const Xf=Td(Df.anchor||Df.el),dh=Xf&&Xf[TeleportEndKey];return dh?Td(dh):Xf};let gf=!1;const Mf=(Df,Xf,dh)=>{Df==null?Xf._vnode&&Pf(Xf._vnode,null,null,!0):Dd(Xf._vnode||null,Df,Xf,null,null,null,dh),Xf._vnode=Df,gf||(gf=!0,flushPreFlushCbs(),flushPostFlushCbs(),gf=!1)},Gf={p:Dd,um:Pf,m:Vf,r:If,mt:Ef,mc:Zd,pc:Bf,pbc:Qd,n:Tf,o:Ra};let Qf,Uf;return{render:Mf,hydrate:Qf,createApp:createAppAPI(Mf,Qf)}}function resolveChildrenNamespace({type:Ra,props:qa},td){return td==="svg"&&Ra==="foreignObject"||td==="mathml"&&Ra==="annotation-xml"&&qa&&qa.encoding&&qa.encoding.includes("html")?void 0:td}function toggleRecurse({effect:Ra,job:qa},td){td?(Ra.flags|=32,qa.flags|=4):(Ra.flags&=-33,qa.flags&=-5)}function needTransition(Ra,qa){return(!Ra||Ra&&!Ra.pendingBranch)&&qa&&!qa.persisted}function traverseStaticChildren(Ra,qa,td=!1){const rd=Ra.children,nd=qa.children;if(isArray$2(rd)&&isArray$2(nd))for(let ad=0;ad>1,Ra[td[ud]]0&&(qa[rd]=td[ad-1]),td[ad]=rd)}}for(ad=td.length,sd=td[ad-1];ad-- >0;)td[ad]=sd,sd=qa[sd];return td}function locateNonHydratedAsyncRoot(Ra){const qa=Ra.subTree.component;if(qa)return qa.asyncDep&&!qa.asyncResolved?qa:locateNonHydratedAsyncRoot(qa)}function invalidateMount(Ra){if(Ra)for(let qa=0;qainject(ssrContextKey);function watchEffect(Ra,qa){return doWatch(Ra,null,qa)}function watchPostEffect(Ra,qa){return doWatch(Ra,null,{flush:"post"})}function watch(Ra,qa,td){return doWatch(Ra,qa,td)}function doWatch(Ra,qa,td=EMPTY_OBJ){const{immediate:rd,deep:nd,flush:ad,once:sd}=td,ud=extend$3({},td);let cd;if(isInSSRComponentSetup)if(ad==="sync"){const Td=useSSRContext();cd=Td.__watcherHandles||(Td.__watcherHandles=[])}else if(!qa||rd)ud.once=!0;else{const Td=()=>{};return Td.stop=NOOP,Td.resume=NOOP,Td.pause=NOOP,Td}const dd=currentInstance;ud.call=(Td,Ad,Sd)=>callWithAsyncErrorHandling(Td,dd,Ad,Sd);let pd=!1;ad==="post"?ud.scheduler=Td=>{queuePostRenderEffect(Td,dd&&dd.suspense)}:ad!=="sync"&&(pd=!0,ud.scheduler=(Td,Ad)=>{Ad?Td():queueJob(Td)}),ud.augmentJob=Td=>{qa&&(Td.flags|=4),pd&&(Td.flags|=2,dd&&(Td.id=dd.uid,Td.i=dd))};const fd=watch$1(Ra,qa,ud);return cd&&cd.push(fd),fd}function instanceWatch(Ra,qa,td){const rd=this.proxy,nd=isString$3(Ra)?Ra.includes(".")?createPathGetter(rd,Ra):()=>rd[Ra]:Ra.bind(rd,rd);let ad;isFunction$4(qa)?ad=qa:(ad=qa.handler,td=qa);const sd=setCurrentInstance(this),ud=doWatch(nd,ad.bind(rd),td);return sd(),ud}function createPathGetter(Ra,qa){const td=qa.split(".");return()=>{let rd=Ra;for(let nd=0;ndqa==="modelValue"||qa==="model-value"?Ra.modelModifiers:Ra[`${qa}Modifiers`]||Ra[`${camelize(qa)}Modifiers`]||Ra[`${hyphenate(qa)}Modifiers`];function emit(Ra,qa,...td){if(Ra.isUnmounted)return;const rd=Ra.vnode.props||EMPTY_OBJ;let nd=td;const ad=qa.startsWith("update:"),sd=ad&&getModelModifiers(rd,qa.slice(7));sd&&(sd.trim&&(nd=td.map(pd=>isString$3(pd)?pd.trim():pd)),sd.number&&(nd=td.map(looseToNumber)));let ud,cd=rd[ud=toHandlerKey(qa)]||rd[ud=toHandlerKey(camelize(qa))];!cd&&ad&&(cd=rd[ud=toHandlerKey(hyphenate(qa))]),cd&&callWithAsyncErrorHandling(cd,Ra,6,nd);const dd=rd[ud+"Once"];if(dd){if(!Ra.emitted)Ra.emitted={};else if(Ra.emitted[ud])return;Ra.emitted[ud]=!0,callWithAsyncErrorHandling(dd,Ra,6,nd)}}function normalizeEmitsOptions(Ra,qa,td=!1){const rd=qa.emitsCache,nd=rd.get(Ra);if(nd!==void 0)return nd;const ad=Ra.emits;let sd={},ud=!1;if(!isFunction$4(Ra)){const cd=dd=>{const pd=normalizeEmitsOptions(dd,qa,!0);pd&&(ud=!0,extend$3(sd,pd))};!td&&qa.mixins.length&&qa.mixins.forEach(cd),Ra.extends&&cd(Ra.extends),Ra.mixins&&Ra.mixins.forEach(cd)}return!ad&&!ud?(isObject$5(Ra)&&rd.set(Ra,null),null):(isArray$2(ad)?ad.forEach(cd=>sd[cd]=null):extend$3(sd,ad),isObject$5(Ra)&&rd.set(Ra,sd),sd)}function isEmitListener(Ra,qa){return!Ra||!isOn(qa)?!1:(qa=qa.slice(2).replace(/Once$/,""),hasOwn$2(Ra,qa[0].toLowerCase()+qa.slice(1))||hasOwn$2(Ra,hyphenate(qa))||hasOwn$2(Ra,qa))}function markAttrsAccessed(){}function renderComponentRoot(Ra){const{type:qa,vnode:td,proxy:rd,withProxy:nd,propsOptions:[ad],slots:sd,attrs:ud,emit:cd,render:dd,renderCache:pd,props:fd,data:Td,setupState:Ad,ctx:Sd,inheritAttrs:Dd}=Ra,Ld=setCurrentRenderingInstance(Ra);let Rd,Od;try{if(td.shapeFlag&4){const jd=nd||rd,Ud=jd;Rd=normalizeVNode(dd.call(Ud,jd,pd,fd,Ad,Td,Sd)),Od=ud}else{const jd=qa;Rd=normalizeVNode(jd.length>1?jd(fd,{attrs:ud,slots:sd,emit:cd}):jd(fd,null)),Od=qa.props?ud:getFunctionalFallthrough(ud)}}catch(jd){blockStack.length=0,handleError$1(jd,Ra,1),Rd=createVNode(Comment$2)}let Md=Rd;if(Od&&Dd!==!1){const jd=Object.keys(Od),{shapeFlag:Ud}=Md;jd.length&&Ud&7&&(ad&&jd.some(isModelListener)&&(Od=filterModelListeners(Od,ad)),Md=cloneVNode(Md,Od,!1,!0))}return td.dirs&&(Md=cloneVNode(Md,null,!1,!0),Md.dirs=Md.dirs?Md.dirs.concat(td.dirs):td.dirs),td.transition&&setTransitionHooks(Md,td.transition),Rd=Md,setCurrentRenderingInstance(Ld),Rd}const getFunctionalFallthrough=Ra=>{let qa;for(const td in Ra)(td==="class"||td==="style"||isOn(td))&&((qa||(qa={}))[td]=Ra[td]);return qa},filterModelListeners=(Ra,qa)=>{const td={};for(const rd in Ra)(!isModelListener(rd)||!(rd.slice(9)in qa))&&(td[rd]=Ra[rd]);return td};function shouldUpdateComponent(Ra,qa,td){const{props:rd,children:nd,component:ad}=Ra,{props:sd,children:ud,patchFlag:cd}=qa,dd=ad.emitsOptions;if(qa.dirs||qa.transition)return!0;if(td&&cd>=0){if(cd&1024)return!0;if(cd&16)return rd?hasPropsChanged(rd,sd,dd):!!sd;if(cd&8){const pd=qa.dynamicProps;for(let fd=0;fdRa.__isSuspense;function queueEffectWithSuspense(Ra,qa){qa&&qa.pendingBranch?isArray$2(Ra)?qa.effects.push(...Ra):qa.effects.push(Ra):queuePostFlushCb(Ra)}const Fragment=Symbol.for("v-fgt"),Text$2=Symbol.for("v-txt"),Comment$2=Symbol.for("v-cmt"),Static=Symbol.for("v-stc"),blockStack=[];let currentBlock=null;function openBlock(Ra=!1){blockStack.push(currentBlock=Ra?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}let isBlockTreeEnabled=1;function setBlockTracking(Ra){isBlockTreeEnabled+=Ra,Ra<0&¤tBlock&&(currentBlock.hasOnce=!0)}function setupBlock(Ra){return Ra.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(Ra),Ra}function createElementBlock(Ra,qa,td,rd,nd,ad){return setupBlock(createBaseVNode(Ra,qa,td,rd,nd,ad,!0))}function createBlock(Ra,qa,td,rd,nd){return setupBlock(createVNode(Ra,qa,td,rd,nd,!0))}function isVNode(Ra){return Ra?Ra.__v_isVNode===!0:!1}function isSameVNodeType(Ra,qa){return Ra.type===qa.type&&Ra.key===qa.key}const normalizeKey=({key:Ra})=>Ra??null,normalizeRef=({ref:Ra,ref_key:qa,ref_for:td})=>(typeof Ra=="number"&&(Ra=""+Ra),Ra!=null?isString$3(Ra)||isRef(Ra)||isFunction$4(Ra)?{i:currentRenderingInstance,r:Ra,k:qa,f:!!td}:Ra:null);function createBaseVNode(Ra,qa=null,td=null,rd=0,nd=null,ad=Ra===Fragment?0:1,sd=!1,ud=!1){const cd={__v_isVNode:!0,__v_skip:!0,type:Ra,props:qa,key:qa&&normalizeKey(qa),ref:qa&&normalizeRef(qa),scopeId:currentScopeId,slotScopeIds:null,children:td,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:ad,patchFlag:rd,dynamicProps:nd,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return ud?(normalizeChildren(cd,td),ad&128&&Ra.normalize(cd)):td&&(cd.shapeFlag|=isString$3(td)?8:16),isBlockTreeEnabled>0&&!sd&¤tBlock&&(cd.patchFlag>0||ad&6)&&cd.patchFlag!==32&¤tBlock.push(cd),cd}const createVNode=_createVNode;function _createVNode(Ra,qa=null,td=null,rd=0,nd=null,ad=!1){if((!Ra||Ra===NULL_DYNAMIC_COMPONENT)&&(Ra=Comment$2),isVNode(Ra)){const ud=cloneVNode(Ra,qa,!0);return td&&normalizeChildren(ud,td),isBlockTreeEnabled>0&&!ad&¤tBlock&&(ud.shapeFlag&6?currentBlock[currentBlock.indexOf(Ra)]=ud:currentBlock.push(ud)),ud.patchFlag=-2,ud}if(isClassComponent(Ra)&&(Ra=Ra.__vccOpts),qa){qa=guardReactiveProps(qa);let{class:ud,style:cd}=qa;ud&&!isString$3(ud)&&(qa.class=normalizeClass(ud)),isObject$5(cd)&&(isProxy(cd)&&!isArray$2(cd)&&(cd=extend$3({},cd)),qa.style=normalizeStyle(cd))}const sd=isString$3(Ra)?1:isSuspense(Ra)?128:isTeleport(Ra)?64:isObject$5(Ra)?4:isFunction$4(Ra)?2:0;return createBaseVNode(Ra,qa,td,rd,nd,sd,ad,!0)}function guardReactiveProps(Ra){return Ra?isProxy(Ra)||isInternalObject(Ra)?extend$3({},Ra):Ra:null}function cloneVNode(Ra,qa,td=!1,rd=!1){const{props:nd,ref:ad,patchFlag:sd,children:ud,transition:cd}=Ra,dd=qa?mergeProps(nd||{},qa):nd,pd={__v_isVNode:!0,__v_skip:!0,type:Ra.type,props:dd,key:dd&&normalizeKey(dd),ref:qa&&qa.ref?td&&ad?isArray$2(ad)?ad.concat(normalizeRef(qa)):[ad,normalizeRef(qa)]:normalizeRef(qa):ad,scopeId:Ra.scopeId,slotScopeIds:Ra.slotScopeIds,children:ud,target:Ra.target,targetStart:Ra.targetStart,targetAnchor:Ra.targetAnchor,staticCount:Ra.staticCount,shapeFlag:Ra.shapeFlag,patchFlag:qa&&Ra.type!==Fragment?sd===-1?16:sd|16:sd,dynamicProps:Ra.dynamicProps,dynamicChildren:Ra.dynamicChildren,appContext:Ra.appContext,dirs:Ra.dirs,transition:cd,component:Ra.component,suspense:Ra.suspense,ssContent:Ra.ssContent&&cloneVNode(Ra.ssContent),ssFallback:Ra.ssFallback&&cloneVNode(Ra.ssFallback),el:Ra.el,anchor:Ra.anchor,ctx:Ra.ctx,ce:Ra.ce};return cd&&rd&&setTransitionHooks(pd,cd.clone(pd)),pd}function createTextVNode(Ra=" ",qa=0){return createVNode(Text$2,null,Ra,qa)}function createCommentVNode(Ra="",qa=!1){return qa?(openBlock(),createBlock(Comment$2,null,Ra)):createVNode(Comment$2,null,Ra)}function normalizeVNode(Ra){return Ra==null||typeof Ra=="boolean"?createVNode(Comment$2):isArray$2(Ra)?createVNode(Fragment,null,Ra.slice()):typeof Ra=="object"?cloneIfMounted(Ra):createVNode(Text$2,null,String(Ra))}function cloneIfMounted(Ra){return Ra.el===null&&Ra.patchFlag!==-1||Ra.memo?Ra:cloneVNode(Ra)}function normalizeChildren(Ra,qa){let td=0;const{shapeFlag:rd}=Ra;if(qa==null)qa=null;else if(isArray$2(qa))td=16;else if(typeof qa=="object")if(rd&65){const nd=qa.default;nd&&(nd._c&&(nd._d=!1),normalizeChildren(Ra,nd()),nd._c&&(nd._d=!0));return}else{td=32;const nd=qa._;!nd&&!isInternalObject(qa)?qa._ctx=currentRenderingInstance:nd===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?qa._=1:(qa._=2,Ra.patchFlag|=1024))}else isFunction$4(qa)?(qa={default:qa,_ctx:currentRenderingInstance},td=32):(qa=String(qa),rd&64?(td=16,qa=[createTextVNode(qa)]):td=8);Ra.children=qa,Ra.shapeFlag|=td}function mergeProps(...Ra){const qa={};for(let td=0;tdcurrentInstance||currentRenderingInstance;let internalSetCurrentInstance,setInSSRSetupState;{const Ra=getGlobalThis(),qa=(td,rd)=>{let nd;return(nd=Ra[td])||(nd=Ra[td]=[]),nd.push(rd),ad=>{nd.length>1?nd.forEach(sd=>sd(ad)):nd[0](ad)}};internalSetCurrentInstance=qa("__VUE_INSTANCE_SETTERS__",td=>currentInstance=td),setInSSRSetupState=qa("__VUE_SSR_SETTERS__",td=>isInSSRComponentSetup=td)}const setCurrentInstance=Ra=>{const qa=currentInstance;return internalSetCurrentInstance(Ra),Ra.scope.on(),()=>{Ra.scope.off(),internalSetCurrentInstance(qa)}},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(Ra){return Ra.vnode.shapeFlag&4}let isInSSRComponentSetup=!1;function setupComponent(Ra,qa=!1,td=!1){qa&&setInSSRSetupState(qa);const{props:rd,children:nd}=Ra.vnode,ad=isStatefulComponent(Ra);initProps(Ra,rd,ad,qa),initSlots(Ra,nd,td);const sd=ad?setupStatefulComponent(Ra,qa):void 0;return qa&&setInSSRSetupState(!1),sd}function setupStatefulComponent(Ra,qa){const td=Ra.type;Ra.accessCache=Object.create(null),Ra.proxy=new Proxy(Ra.ctx,PublicInstanceProxyHandlers);const{setup:rd}=td;if(rd){const nd=Ra.setupContext=rd.length>1?createSetupContext(Ra):null,ad=setCurrentInstance(Ra);pauseTracking();const sd=callWithErrorHandling(rd,Ra,0,[Ra.props,nd]);if(resetTracking(),ad(),isPromise(sd)){if(isAsyncWrapper(Ra)||markAsyncBoundary(Ra),sd.then(unsetCurrentInstance,unsetCurrentInstance),qa)return sd.then(ud=>{handleSetupResult(Ra,ud,qa)}).catch(ud=>{handleError$1(ud,Ra,0)});Ra.asyncDep=sd}else handleSetupResult(Ra,sd,qa)}else finishComponentSetup(Ra,qa)}function handleSetupResult(Ra,qa,td){isFunction$4(qa)?Ra.type.__ssrInlineRender?Ra.ssrRender=qa:Ra.render=qa:isObject$5(qa)&&(Ra.setupState=proxyRefs(qa)),finishComponentSetup(Ra,td)}let compile$2;function finishComponentSetup(Ra,qa,td){const rd=Ra.type;if(!Ra.render){if(!qa&&compile$2&&!rd.render){const nd=rd.template||resolveMergedOptions(Ra).template;if(nd){const{isCustomElement:ad,compilerOptions:sd}=Ra.appContext.config,{delimiters:ud,compilerOptions:cd}=rd,dd=extend$3(extend$3({isCustomElement:ad,delimiters:ud},sd),cd);rd.render=compile$2(nd,dd)}}Ra.render=rd.render||NOOP}{const nd=setCurrentInstance(Ra);pauseTracking();try{applyOptions(Ra)}finally{resetTracking(),nd()}}}const attrsProxyHandlers={get(Ra,qa){return track(Ra,"get",""),Ra[qa]}};function createSetupContext(Ra){const qa=td=>{Ra.exposed=td||{}};return{attrs:new Proxy(Ra.attrs,attrsProxyHandlers),slots:Ra.slots,emit:Ra.emit,expose:qa}}function getComponentPublicInstance(Ra){return Ra.exposed?Ra.exposeProxy||(Ra.exposeProxy=new Proxy(proxyRefs(markRaw(Ra.exposed)),{get(qa,td){if(td in qa)return qa[td];if(td in publicPropertiesMap)return publicPropertiesMap[td](Ra)},has(qa,td){return td in qa||td in publicPropertiesMap}})):Ra.proxy}const classifyRE=/(?:^|[-_])(\w)/g,classify=Ra=>Ra.replace(classifyRE,qa=>qa.toUpperCase()).replace(/[-_]/g,"");function getComponentName(Ra,qa=!0){return isFunction$4(Ra)?Ra.displayName||Ra.name:Ra.name||qa&&Ra.__name}function formatComponentName(Ra,qa,td=!1){let rd=getComponentName(qa);if(!rd&&qa.__file){const nd=qa.__file.match(/([^/\\]+)\.\w+$/);nd&&(rd=nd[1])}if(!rd&&Ra&&Ra.parent){const nd=ad=>{for(const sd in ad)if(ad[sd]===qa)return sd};rd=nd(Ra.components||Ra.parent.type.components)||nd(Ra.appContext.components)}return rd?classify(rd):td?"App":"Anonymous"}function isClassComponent(Ra){return isFunction$4(Ra)&&"__vccOpts"in Ra}const computed=(Ra,qa)=>computed$1(Ra,qa,isInSSRComponentSetup);function h$1(Ra,qa,td){const rd=arguments.length;return rd===2?isObject$5(qa)&&!isArray$2(qa)?isVNode(qa)?createVNode(Ra,null,[qa]):createVNode(Ra,qa):createVNode(Ra,null,qa):(rd>3?td=Array.prototype.slice.call(arguments,2):rd===3&&isVNode(td)&&(td=[td]),createVNode(Ra,qa,td))}const version$2="3.5.8",warn$2=NOOP;/** +* @vue/runtime-dom v3.5.8 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let policy;const tt$5=typeof window<"u"&&window.trustedTypes;if(tt$5)try{policy=tt$5.createPolicy("vue",{createHTML:Ra=>Ra})}catch{}const unsafeToTrustedHTML=policy?Ra=>policy.createHTML(Ra):Ra=>Ra,svgNS="http://www.w3.org/2000/svg",mathmlNS="http://www.w3.org/1998/Math/MathML",doc=typeof document<"u"?document:null,templateContainer=doc&&doc.createElement("template"),nodeOps={insert:(Ra,qa,ed)=>{qa.insertBefore(Ra,ed||null)},remove:Ra=>{const qa=Ra.parentNode;qa&&qa.removeChild(Ra)},createElement:(Ra,qa,ed,td)=>{const rd=qa==="svg"?doc.createElementNS(svgNS,Ra):qa==="mathml"?doc.createElementNS(mathmlNS,Ra):ed?doc.createElement(Ra,{is:ed}):doc.createElement(Ra);return Ra==="select"&&td&&td.multiple!=null&&rd.setAttribute("multiple",td.multiple),rd},createText:Ra=>doc.createTextNode(Ra),createComment:Ra=>doc.createComment(Ra),setText:(Ra,qa)=>{Ra.nodeValue=qa},setElementText:(Ra,qa)=>{Ra.textContent=qa},parentNode:Ra=>Ra.parentNode,nextSibling:Ra=>Ra.nextSibling,querySelector:Ra=>doc.querySelector(Ra),setScopeId(Ra,qa){Ra.setAttribute(qa,"")},insertStaticContent(Ra,qa,ed,td,rd,sd){const od=ed?ed.previousSibling:qa.lastChild;if(rd&&(rd===sd||rd.nextSibling))for(;qa.insertBefore(rd.cloneNode(!0),ed),!(rd===sd||!(rd=rd.nextSibling)););else{templateContainer.innerHTML=unsafeToTrustedHTML(td==="svg"?`${Ra}`:td==="mathml"?`${Ra}`:Ra);const ld=templateContainer.content;if(td==="svg"||td==="mathml"){const ud=ld.firstChild;for(;ud.firstChild;)ld.appendChild(ud.firstChild);ld.removeChild(ud)}qa.insertBefore(ld,ed)}return[od?od.nextSibling:qa.firstChild,ed?ed.previousSibling:qa.lastChild]}},TRANSITION="transition",ANIMATION="animation",vtcKey=Symbol("_vtc"),DOMTransitionPropsValidators={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},TransitionPropsValidators=extend$3({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),decorate$1=Ra=>(Ra.displayName="Transition",Ra.props=TransitionPropsValidators,Ra),Transition$1=decorate$1((Ra,{slots:qa})=>h$1(BaseTransition,resolveTransitionProps(Ra),qa)),callHook=(Ra,qa=[])=>{isArray$2(Ra)?Ra.forEach(ed=>ed(...qa)):Ra&&Ra(...qa)},hasExplicitCallback=Ra=>Ra?isArray$2(Ra)?Ra.some(qa=>qa.length>1):Ra.length>1:!1;function resolveTransitionProps(Ra){const qa={};for(const df in Ra)df in DOMTransitionPropsValidators||(qa[df]=Ra[df]);if(Ra.css===!1)return qa;const{name:ed="v",type:td,duration:rd,enterFromClass:sd=`${ed}-enter-from`,enterActiveClass:od=`${ed}-enter-active`,enterToClass:ld=`${ed}-enter-to`,appearFromClass:ud=sd,appearActiveClass:cd=od,appearToClass:dd=ld,leaveFromClass:_d=`${ed}-leave-from`,leaveActiveClass:Ed=`${ed}-leave-active`,leaveToClass:Ad=`${ed}-leave-to`}=Ra,Td=normalizeDuration(rd),Id=Td&&Td[0],Bd=Td&&Td[1],{onBeforeEnter:Rd,onEnter:Od,onEnterCancelled:Md,onLeave:Ld,onLeaveCancelled:Fd,onBeforeAppear:jd=Rd,onAppear:Vd=Od,onAppearCancelled:Qd=Md}=qa,qd=(df,mf,bf)=>{removeTransitionClass(df,mf?dd:ld),removeTransitionClass(df,mf?cd:od),bf&&bf()},Kd=(df,mf)=>{df._isLeaving=!1,removeTransitionClass(df,_d),removeTransitionClass(df,Ad),removeTransitionClass(df,Ed),mf&&mf()},Xd=df=>(mf,bf)=>{const pf=df?Vd:Od,_f=()=>qd(mf,df,bf);callHook(pf,[mf,_f]),nextFrame(()=>{removeTransitionClass(mf,df?ud:sd),addTransitionClass(mf,df?dd:ld),hasExplicitCallback(pf)||whenTransitionEnds(mf,td,Id,_f)})};return extend$3(qa,{onBeforeEnter(df){callHook(Rd,[df]),addTransitionClass(df,sd),addTransitionClass(df,od)},onBeforeAppear(df){callHook(jd,[df]),addTransitionClass(df,ud),addTransitionClass(df,cd)},onEnter:Xd(!1),onAppear:Xd(!0),onLeave(df,mf){df._isLeaving=!0;const bf=()=>Kd(df,mf);addTransitionClass(df,_d),addTransitionClass(df,Ed),forceReflow(),nextFrame(()=>{df._isLeaving&&(removeTransitionClass(df,_d),addTransitionClass(df,Ad),hasExplicitCallback(Ld)||whenTransitionEnds(df,td,Bd,bf))}),callHook(Ld,[df,bf])},onEnterCancelled(df){qd(df,!1),callHook(Md,[df])},onAppearCancelled(df){qd(df,!0),callHook(Qd,[df])},onLeaveCancelled(df){Kd(df),callHook(Fd,[df])}})}function normalizeDuration(Ra){if(Ra==null)return null;if(isObject$5(Ra))return[NumberOf(Ra.enter),NumberOf(Ra.leave)];{const qa=NumberOf(Ra);return[qa,qa]}}function NumberOf(Ra){return toNumber$3(Ra)}function addTransitionClass(Ra,qa){qa.split(/\s+/).forEach(ed=>ed&&Ra.classList.add(ed)),(Ra[vtcKey]||(Ra[vtcKey]=new Set)).add(qa)}function removeTransitionClass(Ra,qa){qa.split(/\s+/).forEach(td=>td&&Ra.classList.remove(td));const ed=Ra[vtcKey];ed&&(ed.delete(qa),ed.size||(Ra[vtcKey]=void 0))}function nextFrame(Ra){requestAnimationFrame(()=>{requestAnimationFrame(Ra)})}let endId=0;function whenTransitionEnds(Ra,qa,ed,td){const rd=Ra._endId=++endId,sd=()=>{rd===Ra._endId&&td()};if(ed)return setTimeout(sd,ed);const{type:od,timeout:ld,propCount:ud}=getTransitionInfo(Ra,qa);if(!od)return td();const cd=od+"end";let dd=0;const _d=()=>{Ra.removeEventListener(cd,Ed),sd()},Ed=Ad=>{Ad.target===Ra&&++dd>=ud&&_d()};setTimeout(()=>{dd(ed[Td]||"").split(", "),rd=td(`${TRANSITION}Delay`),sd=td(`${TRANSITION}Duration`),od=getTimeout(rd,sd),ld=td(`${ANIMATION}Delay`),ud=td(`${ANIMATION}Duration`),cd=getTimeout(ld,ud);let dd=null,_d=0,Ed=0;qa===TRANSITION?od>0&&(dd=TRANSITION,_d=od,Ed=sd.length):qa===ANIMATION?cd>0&&(dd=ANIMATION,_d=cd,Ed=ud.length):(_d=Math.max(od,cd),dd=_d>0?od>cd?TRANSITION:ANIMATION:null,Ed=dd?dd===TRANSITION?sd.length:ud.length:0);const Ad=dd===TRANSITION&&/\b(transform|all)(,|$)/.test(td(`${TRANSITION}Property`).toString());return{type:dd,timeout:_d,propCount:Ed,hasTransform:Ad}}function getTimeout(Ra,qa){for(;Ra.lengthtoMs(ed)+toMs(Ra[td])))}function toMs(Ra){return Ra==="auto"?0:Number(Ra.slice(0,-1).replace(",","."))*1e3}function forceReflow(){return document.body.offsetHeight}function patchClass(Ra,qa,ed){const td=Ra[vtcKey];td&&(qa=(qa?[qa,...td]:[...td]).join(" ")),qa==null?Ra.removeAttribute("class"):ed?Ra.setAttribute("class",qa):Ra.className=qa}const vShowOriginalDisplay=Symbol("_vod"),vShowHidden=Symbol("_vsh"),vShow={beforeMount(Ra,{value:qa},{transition:ed}){Ra[vShowOriginalDisplay]=Ra.style.display==="none"?"":Ra.style.display,ed&&qa?ed.beforeEnter(Ra):setDisplay(Ra,qa)},mounted(Ra,{value:qa},{transition:ed}){ed&&qa&&ed.enter(Ra)},updated(Ra,{value:qa,oldValue:ed},{transition:td}){!qa!=!ed&&(td?qa?(td.beforeEnter(Ra),setDisplay(Ra,!0),td.enter(Ra)):td.leave(Ra,()=>{setDisplay(Ra,!1)}):setDisplay(Ra,qa))},beforeUnmount(Ra,{value:qa}){setDisplay(Ra,qa)}};function setDisplay(Ra,qa){Ra.style.display=qa?Ra[vShowOriginalDisplay]:"none",Ra[vShowHidden]=!qa}const CSS_VAR_TEXT=Symbol(""),displayRE=/(^|;)\s*display\s*:/;function patchStyle(Ra,qa,ed){const td=Ra.style,rd=isString$3(ed);let sd=!1;if(ed&&!rd){if(qa)if(isString$3(qa))for(const od of qa.split(";")){const ld=od.slice(0,od.indexOf(":")).trim();ed[ld]==null&&setStyle(td,ld,"")}else for(const od in qa)ed[od]==null&&setStyle(td,od,"");for(const od in ed)od==="display"&&(sd=!0),setStyle(td,od,ed[od])}else if(rd){if(qa!==ed){const od=td[CSS_VAR_TEXT];od&&(ed+=";"+od),td.cssText=ed,sd=displayRE.test(ed)}}else qa&&Ra.removeAttribute("style");vShowOriginalDisplay in Ra&&(Ra[vShowOriginalDisplay]=sd?td.display:"",Ra[vShowHidden]&&(td.display="none"))}const importantRE=/\s*!important$/;function setStyle(Ra,qa,ed){if(isArray$2(ed))ed.forEach(td=>setStyle(Ra,qa,td));else if(ed==null&&(ed=""),qa.startsWith("--"))Ra.setProperty(qa,ed);else{const td=autoPrefix(Ra,qa);importantRE.test(ed)?Ra.setProperty(hyphenate(td),ed.replace(importantRE,""),"important"):Ra[td]=ed}}const prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix(Ra,qa){const ed=prefixCache[qa];if(ed)return ed;let td=camelize(qa);if(td!=="filter"&&td in Ra)return prefixCache[qa]=td;td=capitalize$1(td);for(let rd=0;rdcachedNow||(p$1.then(()=>cachedNow=0),cachedNow=Date.now());function createInvoker(Ra,qa){const ed=td=>{if(!td._vts)td._vts=Date.now();else if(td._vts<=ed.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(td,ed.value),qa,5,[td])};return ed.value=Ra,ed.attached=getNow(),ed}function patchStopImmediatePropagation(Ra,qa){if(isArray$2(qa)){const ed=Ra.stopImmediatePropagation;return Ra.stopImmediatePropagation=()=>{ed.call(Ra),Ra._stopped=!0},qa.map(td=>rd=>!rd._stopped&&td&&td(rd))}else return qa}const isNativeOn=Ra=>Ra.charCodeAt(0)===111&&Ra.charCodeAt(1)===110&&Ra.charCodeAt(2)>96&&Ra.charCodeAt(2)<123,patchProp=(Ra,qa,ed,td,rd,sd)=>{const od=rd==="svg";qa==="class"?patchClass(Ra,td,od):qa==="style"?patchStyle(Ra,ed,td):isOn(qa)?isModelListener(qa)||patchEvent(Ra,qa,ed,td,sd):(qa[0]==="."?(qa=qa.slice(1),!0):qa[0]==="^"?(qa=qa.slice(1),!1):shouldSetAsProp(Ra,qa,td,od))?(patchDOMProp(Ra,qa,td),!Ra.tagName.includes("-")&&(qa==="value"||qa==="checked"||qa==="selected")&&patchAttr(Ra,qa,td,od,sd,qa!=="value")):(qa==="true-value"?Ra._trueValue=td:qa==="false-value"&&(Ra._falseValue=td),patchAttr(Ra,qa,td,od))};function shouldSetAsProp(Ra,qa,ed,td){if(td)return!!(qa==="innerHTML"||qa==="textContent"||qa in Ra&&isNativeOn(qa)&&isFunction$4(ed));if(qa==="spellcheck"||qa==="draggable"||qa==="translate"||qa==="form"||qa==="list"&&Ra.tagName==="INPUT"||qa==="type"&&Ra.tagName==="TEXTAREA")return!1;if(qa==="width"||qa==="height"){const rd=Ra.tagName;if(rd==="IMG"||rd==="VIDEO"||rd==="CANVAS"||rd==="SOURCE")return!1}return isNativeOn(qa)&&isString$3(ed)?!1:!!(qa in Ra||Ra._isVueCE&&(/[A-Z]/.test(qa)||!isString$3(ed)))}const positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol("_moveCb"),enterCbKey=Symbol("_enterCb"),decorate=Ra=>(delete Ra.props.mode,Ra),TransitionGroupImpl=decorate({name:"TransitionGroup",props:extend$3({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(Ra,{slots:qa}){const ed=getCurrentInstance(),td=useTransitionState();let rd,sd;return onUpdated(()=>{if(!rd.length)return;const od=Ra.moveClass||`${Ra.name||"v"}-move`;if(!hasCSSTransform(rd[0].el,ed.vnode.el,od))return;rd.forEach(callPendingCbs),rd.forEach(recordPosition);const ld=rd.filter(applyTranslation);forceReflow(),ld.forEach(ud=>{const cd=ud.el,dd=cd.style;addTransitionClass(cd,od),dd.transform=dd.webkitTransform=dd.transitionDuration="";const _d=cd[moveCbKey]=Ed=>{Ed&&Ed.target!==cd||(!Ed||/transform$/.test(Ed.propertyName))&&(cd.removeEventListener("transitionend",_d),cd[moveCbKey]=null,removeTransitionClass(cd,od))};cd.addEventListener("transitionend",_d)})}),()=>{const od=toRaw(Ra),ld=resolveTransitionProps(od);let ud=od.tag||Fragment;if(rd=[],sd)for(let cd=0;cd{ld.split(/\s+/).forEach(ud=>ud&&td.classList.remove(ud))}),ed.split(/\s+/).forEach(ld=>ld&&td.classList.add(ld)),td.style.display="none";const sd=qa.nodeType===1?qa:qa.parentNode;sd.appendChild(td);const{hasTransform:od}=getTransitionInfo(td);return sd.removeChild(td),od}const getModelAssigner=Ra=>{const qa=Ra.props["onUpdate:modelValue"]||!1;return isArray$2(qa)?ed=>invokeArrayFns(qa,ed):qa};function onCompositionStart(Ra){Ra.target.composing=!0}function onCompositionEnd(Ra){const qa=Ra.target;qa.composing&&(qa.composing=!1,qa.dispatchEvent(new Event("input")))}const assignKey=Symbol("_assign"),vModelText={created(Ra,{modifiers:{lazy:qa,trim:ed,number:td}},rd){Ra[assignKey]=getModelAssigner(rd);const sd=td||rd.props&&rd.props.type==="number";addEventListener(Ra,qa?"change":"input",od=>{if(od.target.composing)return;let ld=Ra.value;ed&&(ld=ld.trim()),sd&&(ld=looseToNumber(ld)),Ra[assignKey](ld)}),ed&&addEventListener(Ra,"change",()=>{Ra.value=Ra.value.trim()}),qa||(addEventListener(Ra,"compositionstart",onCompositionStart),addEventListener(Ra,"compositionend",onCompositionEnd),addEventListener(Ra,"change",onCompositionEnd))},mounted(Ra,{value:qa}){Ra.value=qa??""},beforeUpdate(Ra,{value:qa,oldValue:ed,modifiers:{lazy:td,trim:rd,number:sd}},od){if(Ra[assignKey]=getModelAssigner(od),Ra.composing)return;const ld=(sd||Ra.type==="number")&&!/^0\d/.test(Ra.value)?looseToNumber(Ra.value):Ra.value,ud=qa??"";ld!==ud&&(document.activeElement===Ra&&Ra.type!=="range"&&(td&&qa===ed||rd&&Ra.value.trim()===ud)||(Ra.value=ud))}},vModelSelect={deep:!0,created(Ra,{value:qa,modifiers:{number:ed}},td){const rd=isSet$1(qa);addEventListener(Ra,"change",()=>{const sd=Array.prototype.filter.call(Ra.options,od=>od.selected).map(od=>ed?looseToNumber(getValue$2(od)):getValue$2(od));Ra[assignKey](Ra.multiple?rd?new Set(sd):sd:sd[0]),Ra._assigning=!0,nextTick$1(()=>{Ra._assigning=!1})}),Ra[assignKey]=getModelAssigner(td)},mounted(Ra,{value:qa,modifiers:{number:ed}}){setSelected(Ra,qa)},beforeUpdate(Ra,qa,ed){Ra[assignKey]=getModelAssigner(ed)},updated(Ra,{value:qa,modifiers:{number:ed}}){Ra._assigning||setSelected(Ra,qa)}};function setSelected(Ra,qa,ed){const td=Ra.multiple,rd=isArray$2(qa);if(!(td&&!rd&&!isSet$1(qa))){for(let sd=0,od=Ra.options.length;sdString(dd)===String(ud)):ld.selected=looseIndexOf(qa,ud)>-1}else ld.selected=qa.has(ud);else if(looseEqual(getValue$2(ld),qa)){Ra.selectedIndex!==sd&&(Ra.selectedIndex=sd);return}}!td&&Ra.selectedIndex!==-1&&(Ra.selectedIndex=-1)}}function getValue$2(Ra){return"_value"in Ra?Ra._value:Ra.value}const systemModifiers=["ctrl","shift","alt","meta"],modifierGuards={stop:Ra=>Ra.stopPropagation(),prevent:Ra=>Ra.preventDefault(),self:Ra=>Ra.target!==Ra.currentTarget,ctrl:Ra=>!Ra.ctrlKey,shift:Ra=>!Ra.shiftKey,alt:Ra=>!Ra.altKey,meta:Ra=>!Ra.metaKey,left:Ra=>"button"in Ra&&Ra.button!==0,middle:Ra=>"button"in Ra&&Ra.button!==1,right:Ra=>"button"in Ra&&Ra.button!==2,exact:(Ra,qa)=>systemModifiers.some(ed=>Ra[`${ed}Key`]&&!qa.includes(ed))},withModifiers=(Ra,qa)=>{const ed=Ra._withMods||(Ra._withMods={}),td=qa.join(".");return ed[td]||(ed[td]=(rd,...sd)=>{for(let od=0;od{const ed=Ra._withKeys||(Ra._withKeys={}),td=qa.join(".");return ed[td]||(ed[td]=rd=>{if(!("key"in rd))return;const sd=hyphenate(rd.key);if(qa.some(od=>od===sd||keyNames[od]===sd))return Ra(rd)})},rendererOptions=extend$3({patchProp},nodeOps);let renderer$1;function ensureRenderer(){return renderer$1||(renderer$1=createRenderer$1(rendererOptions))}const render$4=(...Ra)=>{ensureRenderer().render(...Ra)},createApp=(...Ra)=>{const qa=ensureRenderer().createApp(...Ra),{mount:ed}=qa;return qa.mount=td=>{const rd=normalizeContainer(td);if(!rd)return;const sd=qa._component;!isFunction$4(sd)&&!sd.render&&!sd.template&&(sd.template=rd.innerHTML),rd.nodeType===1&&(rd.textContent="");const od=ed(rd,!1,resolveRootNamespace(rd));return rd instanceof Element&&(rd.removeAttribute("v-cloak"),rd.setAttribute("data-v-app","")),od},qa};function resolveRootNamespace(Ra){if(Ra instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&Ra instanceof MathMLElement)return"mathml"}function normalizeContainer(Ra){return isString$3(Ra)?document.querySelector(Ra):Ra}var isVue2=!1;let activePinia;const setActivePinia=Ra=>activePinia=Ra,piniaSymbol=Symbol();function isPlainObject$2(Ra){return Ra&&typeof Ra=="object"&&Object.prototype.toString.call(Ra)==="[object Object]"&&typeof Ra.toJSON!="function"}var MutationType;(function(Ra){Ra.direct="direct",Ra.patchObject="patch object",Ra.patchFunction="patch function"})(MutationType||(MutationType={}));function createPinia(){const Ra=effectScope(!0),qa=Ra.run(()=>ref$1({}));let ed=[],td=[];const rd=markRaw({install(sd){setActivePinia(rd),rd._a=sd,sd.provide(piniaSymbol,rd),sd.config.globalProperties.$pinia=rd,td.forEach(od=>ed.push(od)),td=[]},use(sd){return!this._a&&!isVue2?td.push(sd):ed.push(sd),this},_p:ed,_a:null,_e:Ra,_s:new Map,state:qa});return rd}const noop$7=()=>{};function addSubscription(Ra,qa,ed,td=noop$7){Ra.push(qa);const rd=()=>{const sd=Ra.indexOf(qa);sd>-1&&(Ra.splice(sd,1),td())};return!ed&&getCurrentScope()&&onScopeDispose(rd),rd}function triggerSubscriptions(Ra,...qa){Ra.slice().forEach(ed=>{ed(...qa)})}const fallbackRunWithContext=Ra=>Ra(),ACTION_MARKER=Symbol(),ACTION_NAME=Symbol();function mergeReactiveObjects(Ra,qa){Ra instanceof Map&&qa instanceof Map?qa.forEach((ed,td)=>Ra.set(td,ed)):Ra instanceof Set&&qa instanceof Set&&qa.forEach(Ra.add,Ra);for(const ed in qa){if(!qa.hasOwnProperty(ed))continue;const td=qa[ed],rd=Ra[ed];isPlainObject$2(rd)&&isPlainObject$2(td)&&Ra.hasOwnProperty(ed)&&!isRef(td)&&!isReactive(td)?Ra[ed]=mergeReactiveObjects(rd,td):Ra[ed]=td}return Ra}const skipHydrateSymbol=Symbol();function shouldHydrate(Ra){return!isPlainObject$2(Ra)||!Ra.hasOwnProperty(skipHydrateSymbol)}const{assign}=Object;function isComputed(Ra){return!!(isRef(Ra)&&Ra.effect)}function createOptionsStore(Ra,qa,ed,td){const{state:rd,actions:sd,getters:od}=qa,ld=ed.state.value[Ra];let ud;function cd(){ld||(ed.state.value[Ra]=rd?rd():{});const dd=toRefs(ed.state.value[Ra]);return assign(dd,sd,Object.keys(od||{}).reduce((_d,Ed)=>(_d[Ed]=markRaw(computed(()=>{setActivePinia(ed);const Ad=ed._s.get(Ra);return od[Ed].call(Ad,Ad)})),_d),{}))}return ud=createSetupStore(Ra,cd,qa,ed,td,!0),ud}function createSetupStore(Ra,qa,ed={},td,rd,sd){let od;const ld=assign({actions:{}},ed),ud={deep:!0};let cd,dd,_d=[],Ed=[],Ad;const Td=td.state.value[Ra];!sd&&!Td&&(td.state.value[Ra]={}),ref$1({});let Id;function Bd(Qd){let qd;cd=dd=!1,typeof Qd=="function"?(Qd(td.state.value[Ra]),qd={type:MutationType.patchFunction,storeId:Ra,events:Ad}):(mergeReactiveObjects(td.state.value[Ra],Qd),qd={type:MutationType.patchObject,payload:Qd,storeId:Ra,events:Ad});const Kd=Id=Symbol();nextTick$1().then(()=>{Id===Kd&&(cd=!0)}),dd=!0,triggerSubscriptions(_d,qd,td.state.value[Ra])}const Rd=sd?function(){const{state:qd}=ed,Kd=qd?qd():{};this.$patch(Xd=>{assign(Xd,Kd)})}:noop$7;function Od(){od.stop(),_d=[],Ed=[],td._s.delete(Ra)}const Md=(Qd,qd="")=>{if(ACTION_MARKER in Qd)return Qd[ACTION_NAME]=qd,Qd;const Kd=function(){setActivePinia(td);const Xd=Array.from(arguments),df=[],mf=[];function bf(Tf){df.push(Tf)}function pf(Tf){mf.push(Tf)}triggerSubscriptions(Ed,{args:Xd,name:Kd[ACTION_NAME],store:Fd,after:bf,onError:pf});let _f;try{_f=Qd.apply(this&&this.$id===Ra?this:Fd,Xd)}catch(Tf){throw triggerSubscriptions(mf,Tf),Tf}return _f instanceof Promise?_f.then(Tf=>(triggerSubscriptions(df,Tf),Tf)).catch(Tf=>(triggerSubscriptions(mf,Tf),Promise.reject(Tf))):(triggerSubscriptions(df,_f),_f)};return Kd[ACTION_MARKER]=!0,Kd[ACTION_NAME]=qd,Kd},Ld={_p:td,$id:Ra,$onAction:addSubscription.bind(null,Ed),$patch:Bd,$reset:Rd,$subscribe(Qd,qd={}){const Kd=addSubscription(_d,Qd,qd.detached,()=>Xd()),Xd=od.run(()=>watch(()=>td.state.value[Ra],df=>{(qd.flush==="sync"?dd:cd)&&Qd({storeId:Ra,type:MutationType.direct,events:Ad},df)},assign({},ud,qd)));return Kd},$dispose:Od},Fd=reactive(Ld);td._s.set(Ra,Fd);const Vd=(td._a&&td._a.runWithContext||fallbackRunWithContext)(()=>td._e.run(()=>(od=effectScope()).run(()=>qa({action:Md}))));for(const Qd in Vd){const qd=Vd[Qd];if(isRef(qd)&&!isComputed(qd)||isReactive(qd))sd||(Td&&shouldHydrate(qd)&&(isRef(qd)?qd.value=Td[Qd]:mergeReactiveObjects(qd,Td[Qd])),td.state.value[Ra][Qd]=qd);else if(typeof qd=="function"){const Kd=Md(qd,Qd);Vd[Qd]=Kd,ld.actions[Qd]=qd}}return assign(Fd,Vd),assign(toRaw(Fd),Vd),Object.defineProperty(Fd,"$state",{get:()=>td.state.value[Ra],set:Qd=>{Bd(qd=>{assign(qd,Qd)})}}),td._p.forEach(Qd=>{assign(Fd,od.run(()=>Qd({store:Fd,app:td._a,pinia:td,options:ld})))}),Td&&sd&&ed.hydrate&&ed.hydrate(Fd.$state,Td),cd=!0,dd=!0,Fd}function defineStore(Ra,qa,ed){let td,rd;const sd=typeof qa=="function";typeof Ra=="string"?(td=Ra,rd=sd?ed:qa):(rd=Ra,td=Ra.id);function od(ld,ud){const cd=hasInjectionContext();return ld=ld||(cd?inject(piniaSymbol,null):null),ld&&setActivePinia(ld),ld=activePinia,ld._s.has(td)||(sd?createSetupStore(td,qa,rd,ld):createOptionsStore(td,rd,ld)),ld._s.get(td)}return od.$id=td,od}function storeToRefs(Ra){{Ra=toRaw(Ra);const qa={};for(const ed in Ra){const td=Ra[ed];(isRef(td)||isReactive(td))&&(qa[ed]=toRef$1(Ra,ed))}return qa}}const FOCUSABLE_ELEMENT_SELECTORS='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',isVisible=Ra=>getComputedStyle(Ra).position==="fixed"?!1:Ra.offsetParent!==null,obtainAllFocusableElements$1=Ra=>Array.from(Ra.querySelectorAll(FOCUSABLE_ELEMENT_SELECTORS)).filter(qa=>isFocusable(qa)&&isVisible(qa)),isFocusable=Ra=>{if(Ra.tabIndex>0||Ra.tabIndex===0&&Ra.getAttribute("tabIndex")!==null)return!0;if(Ra.disabled)return!1;switch(Ra.nodeName){case"A":return!!Ra.href&&Ra.rel!=="ignore";case"INPUT":return!(Ra.type==="hidden"||Ra.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},composeEventHandlers=(Ra,qa,{checkForDefaultPrevented:ed=!0}={})=>rd=>{const sd=Ra==null?void 0:Ra(rd);if(ed===!1||!sd)return qa==null?void 0:qa(rd)};var __defProp$9=Object.defineProperty,__defProps$6=Object.defineProperties,__getOwnPropDescs$6=Object.getOwnPropertyDescriptors,__getOwnPropSymbols$b=Object.getOwnPropertySymbols,__hasOwnProp$b=Object.prototype.hasOwnProperty,__propIsEnum$b=Object.prototype.propertyIsEnumerable,__defNormalProp$9=(Ra,qa,ed)=>qa in Ra?__defProp$9(Ra,qa,{enumerable:!0,configurable:!0,writable:!0,value:ed}):Ra[qa]=ed,__spreadValues$9=(Ra,qa)=>{for(var ed in qa||(qa={}))__hasOwnProp$b.call(qa,ed)&&__defNormalProp$9(Ra,ed,qa[ed]);if(__getOwnPropSymbols$b)for(var ed of __getOwnPropSymbols$b(qa))__propIsEnum$b.call(qa,ed)&&__defNormalProp$9(Ra,ed,qa[ed]);return Ra},__spreadProps$6=(Ra,qa)=>__defProps$6(Ra,__getOwnPropDescs$6(qa));function computedEager(Ra,qa){var ed;const td=shallowRef();return watchEffect(()=>{td.value=Ra()},__spreadProps$6(__spreadValues$9({},qa),{flush:(ed=void 0)!=null?ed:"sync"})),readonly(td)}var _a$4;const isClient$1=typeof window<"u",isDef=Ra=>typeof Ra<"u",isFunction$3=Ra=>typeof Ra=="function",isString$2=Ra=>typeof Ra=="string",noop$6=()=>{},isIOS$1=isClient$1&&((_a$4=window==null?void 0:window.navigator)==null?void 0:_a$4.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function resolveUnref(Ra){return typeof Ra=="function"?Ra():unref(Ra)}function createFilterWrapper$1(Ra,qa){function ed(...td){return new Promise((rd,sd)=>{Promise.resolve(Ra(()=>qa.apply(this,td),{fn:qa,thisArg:this,args:td})).then(rd).catch(sd)})}return ed}function debounceFilter(Ra,qa={}){let ed,td,rd=noop$6;const sd=ld=>{clearTimeout(ld),rd(),rd=noop$6};return ld=>{const ud=resolveUnref(Ra),cd=resolveUnref(qa.maxWait);return ed&&sd(ed),ud<=0||cd!==void 0&&cd<=0?(td&&(sd(td),td=null),Promise.resolve(ld())):new Promise((dd,_d)=>{rd=qa.rejectOnCancel?_d:dd,cd&&!td&&(td=setTimeout(()=>{ed&&sd(ed),td=null,dd(ld())},cd)),ed=setTimeout(()=>{td&&sd(td),td=null,dd(ld())},ud)})}}function identity$2(Ra){return Ra}function tryOnScopeDispose$1(Ra){return getCurrentScope()?(onScopeDispose(Ra),!0):!1}function useDebounceFn(Ra,qa=200,ed={}){return createFilterWrapper$1(debounceFilter(qa,ed),Ra)}function refDebounced(Ra,qa=200,ed={}){const td=ref$1(Ra.value),rd=useDebounceFn(()=>{td.value=Ra.value},qa,ed);return watch(Ra,()=>rd()),td}function tryOnMounted$1(Ra,qa=!0){getCurrentInstance()?onMounted(Ra):qa?Ra():nextTick$1(Ra)}function useTimeoutFn(Ra,qa,ed={}){const{immediate:td=!0}=ed,rd=ref$1(!1);let sd=null;function od(){sd&&(clearTimeout(sd),sd=null)}function ld(){rd.value=!1,od()}function ud(...cd){od(),rd.value=!0,sd=setTimeout(()=>{rd.value=!1,sd=null,Ra(...cd)},resolveUnref(qa))}return td&&(rd.value=!0,isClient$1&&ud()),tryOnScopeDispose$1(ld),{isPending:readonly(rd),start:ud,stop:ld}}function unrefElement$1(Ra){var qa;const ed=resolveUnref(Ra);return(qa=ed==null?void 0:ed.$el)!=null?qa:ed}const defaultWindow$1=isClient$1?window:void 0,defaultDocument=isClient$1?window.document:void 0;function useEventListener$1(...Ra){let qa,ed,td,rd;if(isString$2(Ra[0])||Array.isArray(Ra[0])?([ed,td,rd]=Ra,qa=defaultWindow$1):[qa,ed,td,rd]=Ra,!qa)return noop$6;Array.isArray(ed)||(ed=[ed]),Array.isArray(td)||(td=[td]);const sd=[],od=()=>{sd.forEach(dd=>dd()),sd.length=0},ld=(dd,_d,Ed,Ad)=>(dd.addEventListener(_d,Ed,Ad),()=>dd.removeEventListener(_d,Ed,Ad)),ud=watch(()=>[unrefElement$1(qa),resolveUnref(rd)],([dd,_d])=>{od(),dd&&sd.push(...ed.flatMap(Ed=>td.map(Ad=>ld(dd,Ed,Ad,_d))))},{immediate:!0,flush:"post"}),cd=()=>{ud(),od()};return tryOnScopeDispose$1(cd),cd}let _iOSWorkaround=!1;function onClickOutside(Ra,qa,ed={}){const{window:td=defaultWindow$1,ignore:rd=[],capture:sd=!0,detectIframe:od=!1}=ed;if(!td)return;isIOS$1&&!_iOSWorkaround&&(_iOSWorkaround=!0,Array.from(td.document.body.children).forEach(Ed=>Ed.addEventListener("click",noop$6)));let ld=!0;const ud=Ed=>rd.some(Ad=>{if(typeof Ad=="string")return Array.from(td.document.querySelectorAll(Ad)).some(Td=>Td===Ed.target||Ed.composedPath().includes(Td));{const Td=unrefElement$1(Ad);return Td&&(Ed.target===Td||Ed.composedPath().includes(Td))}}),dd=[useEventListener$1(td,"click",Ed=>{const Ad=unrefElement$1(Ra);if(!(!Ad||Ad===Ed.target||Ed.composedPath().includes(Ad))){if(Ed.detail===0&&(ld=!ud(Ed)),!ld){ld=!0;return}qa(Ed)}},{passive:!0,capture:sd}),useEventListener$1(td,"pointerdown",Ed=>{const Ad=unrefElement$1(Ra);Ad&&(ld=!Ed.composedPath().includes(Ad)&&!ud(Ed))},{passive:!0}),od&&useEventListener$1(td,"blur",Ed=>{var Ad;const Td=unrefElement$1(Ra);((Ad=td.document.activeElement)==null?void 0:Ad.tagName)==="IFRAME"&&!(Td!=null&&Td.contains(td.document.activeElement))&&qa(Ed)})].filter(Boolean);return()=>dd.forEach(Ed=>Ed())}function useSupported$1(Ra,qa=!1){const ed=ref$1(),td=()=>ed.value=!!Ra();return td(),tryOnMounted$1(td,qa),ed}function cloneFnJSON(Ra){return JSON.parse(JSON.stringify(Ra))}const _global$2=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global$1<"u"?global$1:typeof self<"u"?self:{},globalKey$1="__vueuse_ssr_handlers__";_global$2[globalKey$1]=_global$2[globalKey$1]||{};_global$2[globalKey$1];function useDocumentVisibility({document:Ra=defaultDocument}={}){if(!Ra)return ref$1("visible");const qa=ref$1(Ra.visibilityState);return useEventListener$1(Ra,"visibilitychange",()=>{qa.value=Ra.visibilityState}),qa}var __getOwnPropSymbols$g=Object.getOwnPropertySymbols,__hasOwnProp$g=Object.prototype.hasOwnProperty,__propIsEnum$g=Object.prototype.propertyIsEnumerable,__objRest$2=(Ra,qa)=>{var ed={};for(var td in Ra)__hasOwnProp$g.call(Ra,td)&&qa.indexOf(td)<0&&(ed[td]=Ra[td]);if(Ra!=null&&__getOwnPropSymbols$g)for(var td of __getOwnPropSymbols$g(Ra))qa.indexOf(td)<0&&__propIsEnum$g.call(Ra,td)&&(ed[td]=Ra[td]);return ed};function useResizeObserver(Ra,qa,ed={}){const td=ed,{window:rd=defaultWindow$1}=td,sd=__objRest$2(td,["window"]);let od;const ld=useSupported$1(()=>rd&&"ResizeObserver"in rd),ud=()=>{od&&(od.disconnect(),od=void 0)},cd=watch(()=>unrefElement$1(Ra),_d=>{ud(),ld.value&&rd&&_d&&(od=new ResizeObserver(qa),od.observe(_d,sd))},{immediate:!0,flush:"post"}),dd=()=>{ud(),cd()};return tryOnScopeDispose$1(dd),{isSupported:ld,stop:dd}}var __getOwnPropSymbols$8=Object.getOwnPropertySymbols,__hasOwnProp$8=Object.prototype.hasOwnProperty,__propIsEnum$8=Object.prototype.propertyIsEnumerable,__objRest$1=(Ra,qa)=>{var ed={};for(var td in Ra)__hasOwnProp$8.call(Ra,td)&&qa.indexOf(td)<0&&(ed[td]=Ra[td]);if(Ra!=null&&__getOwnPropSymbols$8)for(var td of __getOwnPropSymbols$8(Ra))qa.indexOf(td)<0&&__propIsEnum$8.call(Ra,td)&&(ed[td]=Ra[td]);return ed};function useMutationObserver(Ra,qa,ed={}){const td=ed,{window:rd=defaultWindow$1}=td,sd=__objRest$1(td,["window"]);let od;const ld=useSupported$1(()=>rd&&"MutationObserver"in rd),ud=()=>{od&&(od.disconnect(),od=void 0)},cd=watch(()=>unrefElement$1(Ra),_d=>{ud(),ld.value&&rd&&_d&&(od=new MutationObserver(qa),od.observe(_d,sd))},{immediate:!0}),dd=()=>{ud(),cd()};return tryOnScopeDispose$1(dd),{isSupported:ld,stop:dd}}var SwipeDirection;(function(Ra){Ra.UP="UP",Ra.RIGHT="RIGHT",Ra.DOWN="DOWN",Ra.LEFT="LEFT",Ra.NONE="NONE"})(SwipeDirection||(SwipeDirection={}));var __defProp$1=Object.defineProperty,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(Ra,qa,ed)=>qa in Ra?__defProp$1(Ra,qa,{enumerable:!0,configurable:!0,writable:!0,value:ed}):Ra[qa]=ed,__spreadValues=(Ra,qa)=>{for(var ed in qa||(qa={}))__hasOwnProp.call(qa,ed)&&__defNormalProp(Ra,ed,qa[ed]);if(__getOwnPropSymbols)for(var ed of __getOwnPropSymbols(qa))__propIsEnum.call(qa,ed)&&__defNormalProp(Ra,ed,qa[ed]);return Ra};const _TransitionPresets={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};__spreadValues({linear:identity$2},_TransitionPresets);function useVModel(Ra,qa,ed,td={}){var rd,sd,od;const{clone:ld=!1,passive:ud=!1,eventName:cd,deep:dd=!1,defaultValue:_d}=td,Ed=getCurrentInstance(),Ad=(Ed==null?void 0:Ed.emit)||((rd=Ed==null?void 0:Ed.$emit)==null?void 0:rd.bind(Ed))||((od=(sd=Ed==null?void 0:Ed.proxy)==null?void 0:sd.$emit)==null?void 0:od.bind(Ed==null?void 0:Ed.proxy));let Td=cd;Td=cd||Td||`update:${qa.toString()}`;const Id=Rd=>ld?isFunction$3(ld)?ld(Rd):cloneFnJSON(Rd):Rd,Bd=()=>isDef(Ra[qa])?Id(Ra[qa]):_d;if(ud){const Rd=Bd(),Od=ref$1(Rd);return watch(()=>Ra[qa],Md=>Od.value=Id(Md)),watch(Od,Md=>{(Md!==Ra[qa]||dd)&&Ad(Td,Md)},{deep:dd}),Od}else return computed({get(){return Bd()},set(Rd){Ad(Td,Rd)}})}function useWindowFocus({window:Ra=defaultWindow$1}={}){if(!Ra)return ref$1(!1);const qa=ref$1(Ra.document.hasFocus());return useEventListener$1(Ra,"blur",()=>{qa.value=!1}),useEventListener$1(Ra,"focus",()=>{qa.value=!0}),qa}const isFirefox=()=>isClient$1&&/firefox/i.test(window.navigator.userAgent),getClientXY=Ra=>{let qa,ed;return Ra.type==="touchend"?(ed=Ra.changedTouches[0].clientY,qa=Ra.changedTouches[0].clientX):Ra.type.startsWith("touch")?(ed=Ra.touches[0].clientY,qa=Ra.touches[0].clientX):(ed=Ra.clientY,qa=Ra.clientX),{clientX:qa,clientY:ed}};var freeGlobal=typeof global$1=="object"&&global$1&&global$1.Object===Object&&global$1,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root$2=freeGlobal||freeSelf||Function("return this")(),Symbol$1=root$2.Symbol,objectProto$g=Object.prototype,hasOwnProperty$g=objectProto$g.hasOwnProperty,nativeObjectToString$1=objectProto$g.toString,symToStringTag$1=Symbol$1?Symbol$1.toStringTag:void 0;function getRawTag(Ra){var qa=hasOwnProperty$g.call(Ra,symToStringTag$1),ed=Ra[symToStringTag$1];try{Ra[symToStringTag$1]=void 0;var td=!0}catch{}var rd=nativeObjectToString$1.call(Ra);return td&&(qa?Ra[symToStringTag$1]=ed:delete Ra[symToStringTag$1]),rd}var objectProto$f=Object.prototype,nativeObjectToString=objectProto$f.toString;function objectToString(Ra){return nativeObjectToString.call(Ra)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$1?Symbol$1.toStringTag:void 0;function baseGetTag(Ra){return Ra==null?Ra===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(Ra)?getRawTag(Ra):objectToString(Ra)}function isObjectLike$1(Ra){return Ra!=null&&typeof Ra=="object"}var symbolTag$3="[object Symbol]";function isSymbol(Ra){return typeof Ra=="symbol"||isObjectLike$1(Ra)&&baseGetTag(Ra)==symbolTag$3}function arrayMap(Ra,qa){for(var ed=-1,td=Ra==null?0:Ra.length,rd=Array(td);++ed0){if(++qa>=HOT_COUNT)return arguments[0]}else qa=0;return Ra.apply(void 0,arguments)}}function constant$5(Ra){return function(){return Ra}}var defineProperty=function(){try{var Ra=getNative(Object,"defineProperty");return Ra({},"",{}),Ra}catch{}}(),baseSetToString=defineProperty?function(Ra,qa){return defineProperty(Ra,"toString",{configurable:!0,enumerable:!1,value:constant$5(qa),writable:!0})}:identity$1,setToString=shortOut(baseSetToString);function arrayEach(Ra,qa){for(var ed=-1,td=Ra==null?0:Ra.length;++ed-1&&Ra%1==0&&Ra-1&&Ra%1==0&&Ra<=MAX_SAFE_INTEGER}function isArrayLike$2(Ra){return Ra!=null&&isLength$1(Ra.length)&&!isFunction$2(Ra)}function isIterateeCall(Ra,qa,ed){if(!isObject$4(ed))return!1;var td=typeof qa;return(td=="number"?isArrayLike$2(ed)&&isIndex(qa,ed.length):td=="string"&&qa in ed)?eq$1(ed[qa],Ra):!1}function createAssigner(Ra){return baseRest(function(qa,ed){var td=-1,rd=ed.length,sd=rd>1?ed[rd-1]:void 0,od=rd>2?ed[2]:void 0;for(sd=Ra.length>3&&typeof sd=="function"?(rd--,sd):void 0,od&&isIterateeCall(ed[0],ed[1],od)&&(sd=rd<3?void 0:sd,rd=1),qa=Object(qa);++td-1}function listCacheSet(Ra,qa){var ed=this.__data__,td=assocIndexOf(ed,Ra);return td<0?(++this.size,ed.push([Ra,qa])):ed[td][1]=qa,this}function ListCache(Ra){var qa=-1,ed=Ra==null?0:Ra.length;for(this.clear();++qald))return!1;var cd=sd.get(Ra),dd=sd.get(qa);if(cd&&dd)return cd==qa&&dd==Ra;var _d=-1,Ed=!0,Ad=ed&COMPARE_UNORDERED_FLAG$3?new SetCache:void 0;for(sd.set(Ra,qa),sd.set(qa,Ra);++_d=qa||Vd<0||_d&&Qd>=sd}function Rd(){var jd=now$1();if(Bd(jd))return Od(jd);ld=setTimeout(Rd,Id(jd))}function Od(jd){return ld=void 0,Ed&&td?Ad(jd):(td=rd=void 0,od)}function Md(){ld!==void 0&&clearTimeout(ld),cd=0,td=ud=rd=ld=void 0}function Ld(){return ld===void 0?od:Od(now$1())}function Fd(){var jd=now$1(),Vd=Bd(jd);if(td=arguments,rd=this,ud=jd,Vd){if(ld===void 0)return Td(ud);if(_d)return clearTimeout(ld),ld=setTimeout(Rd,qa),Ad(ud)}return ld===void 0&&(ld=setTimeout(Rd,qa)),od}return Fd.cancel=Md,Fd.flush=Ld,Fd}function assignMergeValue(Ra,qa,ed){(ed!==void 0&&!eq$1(Ra[qa],ed)||ed===void 0&&!(qa in Ra))&&baseAssignValue(Ra,qa,ed)}function isArrayLikeObject(Ra){return isObjectLike$1(Ra)&&isArrayLike$2(Ra)}function safeGet(Ra,qa){if(!(qa==="constructor"&&typeof Ra[qa]=="function")&&qa!="__proto__")return Ra[qa]}function toPlainObject(Ra){return copyObject(Ra,keysIn(Ra))}function baseMergeDeep(Ra,qa,ed,td,rd,sd,od){var ld=safeGet(Ra,ed),ud=safeGet(qa,ed),cd=od.get(ud);if(cd){assignMergeValue(Ra,ed,cd);return}var dd=sd?sd(ld,ud,ed+"",Ra,qa,od):void 0,_d=dd===void 0;if(_d){var Ed=isArray$1(ud),Ad=!Ed&&isBuffer$1(ud),Td=!Ed&&!Ad&&isTypedArray$3(ud);dd=ud,Ed||Ad||Td?isArray$1(ld)?dd=ld:isArrayLikeObject(ld)?dd=copyArray(ld):Ad?(_d=!1,dd=cloneBuffer(ud,!0)):Td?(_d=!1,dd=cloneTypedArray(ud,!0)):dd=[]:isPlainObject$1(ud)||isArguments$1(ud)?(dd=ld,isArguments$1(ld)?dd=toPlainObject(ld):(!isObject$4(ld)||isFunction$2(ld))&&(dd=initCloneObject(ud))):_d=!1}_d&&(od.set(ud,dd),rd(dd,ud,td,sd,od),od.delete(ud)),assignMergeValue(Ra,ed,dd)}function baseMerge(Ra,qa,ed,td,rd){Ra!==qa&&baseFor(qa,function(sd,od){if(rd||(rd=new Stack),isObject$4(sd))baseMergeDeep(Ra,qa,od,ed,baseMerge,td,rd);else{var ld=td?td(safeGet(Ra,od),sd,od+"",Ra,qa,rd):void 0;ld===void 0&&(ld=sd),assignMergeValue(Ra,od,ld)}},keysIn)}function findLastIndex(Ra,qa,ed){var td=Ra==null?0:Ra.length;if(!td)return-1;var rd=td-1;return baseFindIndex(Ra,baseIteratee(qa),rd,!0)}function fromPairs(Ra){for(var qa=-1,ed=Ra==null?0:Ra.length,td={};++qaRa===void 0,isBoolean$3=Ra=>typeof Ra=="boolean",isNumber$4=Ra=>typeof Ra=="number",isElement$2=Ra=>typeof Element>"u"?!1:Ra instanceof Element,isStringNumber=Ra=>isString$3(Ra)?!Number.isNaN(Number(Ra)):!1,escapeStringRegexp=(Ra="")=>Ra.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),capitalize=Ra=>capitalize$1(Ra),keysOf=Ra=>Object.keys(Ra),entriesOf=Ra=>Object.entries(Ra),getProp$1=(Ra,qa,ed)=>({get value(){return get$3(Ra,qa,ed)},set value(td){set$3(Ra,qa,td)}});class ElementPlusError extends Error{constructor(qa){super(qa),this.name="ElementPlusError"}}function throwError$1(Ra,qa){throw new ElementPlusError(`[${Ra}] ${qa}`)}function debugWarn(Ra,qa){}const classNameToArray=(Ra="")=>Ra.split(" ").filter(qa=>!!qa.trim()),hasClass$1=(Ra,qa)=>{if(!Ra||!qa)return!1;if(qa.includes(" "))throw new Error("className should not contain space.");return Ra.classList.contains(qa)},addClass$1=(Ra,qa)=>{!Ra||!qa.trim()||Ra.classList.add(...classNameToArray(qa))},removeClass$1=(Ra,qa)=>{!Ra||!qa.trim()||Ra.classList.remove(...classNameToArray(qa))},getStyle=(Ra,qa)=>{var ed;if(!isClient$1||!Ra||!qa)return"";let td=camelize(qa);td==="float"&&(td="cssFloat");try{const rd=Ra.style[td];if(rd)return rd;const sd=(ed=document.defaultView)==null?void 0:ed.getComputedStyle(Ra,"");return sd?sd[td]:""}catch{return Ra.style[td]}};function addUnit(Ra,qa="px"){if(!Ra)return"";if(isNumber$4(Ra)||isStringNumber(Ra))return`${Ra}${qa}`;if(isString$3(Ra))return Ra}let scrollBarWidth;const getScrollBarWidth=Ra=>{var qa;if(!isClient$1)return 0;if(scrollBarWidth!==void 0)return scrollBarWidth;const ed=document.createElement("div");ed.className=`${Ra}-scrollbar__wrap`,ed.style.visibility="hidden",ed.style.width="100px",ed.style.position="absolute",ed.style.top="-9999px",document.body.appendChild(ed);const td=ed.offsetWidth;ed.style.overflow="scroll";const rd=document.createElement("div");rd.style.width="100%",ed.appendChild(rd);const sd=rd.offsetWidth;return(qa=ed.parentNode)==null||qa.removeChild(ed),scrollBarWidth=td-sd,scrollBarWidth};function scrollIntoView(Ra,qa){if(!isClient$1)return;if(!qa){Ra.scrollTop=0;return}const ed=[];let td=qa.offsetParent;for(;td!==null&&Ra!==td&&Ra.contains(td);)ed.push(td),td=td.offsetParent;const rd=qa.offsetTop+ed.reduce((ud,cd)=>ud+cd.offsetTop,0),sd=rd+qa.offsetHeight,od=Ra.scrollTop,ld=od+Ra.clientHeight;rdld&&(Ra.scrollTop=sd-Ra.clientHeight)}/*! Element Plus Icons Vue v2.3.1 */var add_location_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"AddLocation",__name:"add-location",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),createBaseVNode("path",{fill:"currentColor",d:"M544 384h96a32 32 0 1 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96v-96a32 32 0 0 1 64 0z"})]))}}),add_location_default=add_location_vue_vue_type_script_setup_true_lang_default,aim_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Aim",__name:"aim",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M512 96a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V128a32 32 0 0 1 32-32m0 576a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V704a32 32 0 0 1 32-32M96 512a32 32 0 0 1 32-32h192a32 32 0 0 1 0 64H128a32 32 0 0 1-32-32m576 0a32 32 0 0 1 32-32h192a32 32 0 1 1 0 64H704a32 32 0 0 1-32-32"})]))}}),aim_default=aim_vue_vue_type_script_setup_true_lang_default,alarm_clock_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"AlarmClock",__name:"alarm-clock",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 832a320 320 0 1 0 0-640 320 320 0 0 0 0 640m0 64a384 384 0 1 1 0-768 384 384 0 0 1 0 768"}),createBaseVNode("path",{fill:"currentColor",d:"m292.288 824.576 55.424 32-48 83.136a32 32 0 1 1-55.424-32zm439.424 0-55.424 32 48 83.136a32 32 0 1 0 55.424-32zM512 512h160a32 32 0 1 1 0 64H480a32 32 0 0 1-32-32V320a32 32 0 0 1 64 0zM90.496 312.256A160 160 0 0 1 312.32 90.496l-46.848 46.848a96 96 0 0 0-128 128L90.56 312.256zm835.264 0A160 160 0 0 0 704 90.496l46.848 46.848a96 96 0 0 1 128 128z"})]))}}),alarm_clock_default=alarm_clock_vue_vue_type_script_setup_true_lang_default,apple_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Apple",__name:"apple",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M599.872 203.776a189.44 189.44 0 0 1 64.384-4.672l2.624.128c31.168 1.024 51.2 4.096 79.488 16.32 37.632 16.128 74.496 45.056 111.488 89.344 96.384 115.264 82.752 372.8-34.752 521.728-7.68 9.728-32 41.6-30.72 39.936a426.624 426.624 0 0 1-30.08 35.776c-31.232 32.576-65.28 49.216-110.08 50.048-31.36.64-53.568-5.312-84.288-18.752l-6.528-2.88c-20.992-9.216-30.592-11.904-47.296-11.904-18.112 0-28.608 2.88-51.136 12.672l-6.464 2.816c-28.416 12.224-48.32 18.048-76.16 19.2-74.112 2.752-116.928-38.08-180.672-132.16-96.64-142.08-132.608-349.312-55.04-486.4 46.272-81.92 129.92-133.632 220.672-135.04 32.832-.576 60.288 6.848 99.648 22.72 27.136 10.88 34.752 13.76 37.376 14.272 16.256-20.16 27.776-36.992 34.56-50.24 13.568-26.304 27.2-59.968 40.704-100.8a32 32 0 1 1 60.8 20.224c-12.608 37.888-25.408 70.4-38.528 97.664zm-51.52 78.08c-14.528 17.792-31.808 37.376-51.904 58.816a32 32 0 1 1-46.72-43.776l12.288-13.248c-28.032-11.2-61.248-26.688-95.68-26.112-70.4 1.088-135.296 41.6-171.648 105.792C121.6 492.608 176 684.16 247.296 788.992c34.816 51.328 76.352 108.992 130.944 106.944 52.48-2.112 72.32-34.688 135.872-34.688 63.552 0 81.28 34.688 136.96 33.536 56.448-1.088 75.776-39.04 126.848-103.872 107.904-136.768 107.904-362.752 35.776-449.088-72.192-86.272-124.672-84.096-151.68-85.12-41.472-4.288-81.6 12.544-113.664 25.152z"})]))}}),apple_default=apple_vue_vue_type_script_setup_true_lang_default,arrow_down_bold_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowDownBold",__name:"arrow-down-bold",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M104.704 338.752a64 64 0 0 1 90.496 0l316.8 316.8 316.8-316.8a64 64 0 0 1 90.496 90.496L557.248 791.296a64 64 0 0 1-90.496 0L104.704 429.248a64 64 0 0 1 0-90.496z"})]))}}),arrow_down_bold_default=arrow_down_bold_vue_vue_type_script_setup_true_lang_default,arrow_down_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowDown",__name:"arrow-down",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"})]))}}),arrow_down_default=arrow_down_vue_vue_type_script_setup_true_lang_default,arrow_left_bold_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowLeftBold",__name:"arrow-left-bold",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M685.248 104.704a64 64 0 0 1 0 90.496L368.448 512l316.8 316.8a64 64 0 0 1-90.496 90.496L232.704 557.248a64 64 0 0 1 0-90.496l362.048-362.048a64 64 0 0 1 90.496 0z"})]))}}),arrow_left_bold_default=arrow_left_bold_vue_vue_type_script_setup_true_lang_default,arrow_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowLeft",__name:"arrow-left",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"})]))}}),arrow_left_default=arrow_left_vue_vue_type_script_setup_true_lang_default,arrow_right_bold_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowRightBold",__name:"arrow-right-bold",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M338.752 104.704a64 64 0 0 0 0 90.496l316.8 316.8-316.8 316.8a64 64 0 0 0 90.496 90.496l362.048-362.048a64 64 0 0 0 0-90.496L429.248 104.704a64 64 0 0 0-90.496 0z"})]))}}),arrow_right_bold_default=arrow_right_bold_vue_vue_type_script_setup_true_lang_default,arrow_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowRight",__name:"arrow-right",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}}),arrow_right_default=arrow_right_vue_vue_type_script_setup_true_lang_default,arrow_up_bold_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowUpBold",__name:"arrow-up-bold",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M104.704 685.248a64 64 0 0 0 90.496 0l316.8-316.8 316.8 316.8a64 64 0 0 0 90.496-90.496L557.248 232.704a64 64 0 0 0-90.496 0L104.704 594.752a64 64 0 0 0 0 90.496z"})]))}}),arrow_up_bold_default=arrow_up_bold_vue_vue_type_script_setup_true_lang_default,arrow_up_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowUp",__name:"arrow-up",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"})]))}}),arrow_up_default=arrow_up_vue_vue_type_script_setup_true_lang_default,avatar_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Avatar",__name:"avatar",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M628.736 528.896A416 416 0 0 1 928 928H96a415.872 415.872 0 0 1 299.264-399.104L512 704zM720 304a208 208 0 1 1-416 0 208 208 0 0 1 416 0"})]))}}),avatar_default=avatar_vue_vue_type_script_setup_true_lang_default,back_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Back",__name:"back",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64"}),createBaseVNode("path",{fill:"currentColor",d:"m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312z"})]))}}),back_default=back_vue_vue_type_script_setup_true_lang_default,baseball_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Baseball",__name:"baseball",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M195.2 828.8a448 448 0 1 1 633.6-633.6 448 448 0 0 1-633.6 633.6zm45.248-45.248a384 384 0 1 0 543.104-543.104 384 384 0 0 0-543.104 543.104"}),createBaseVNode("path",{fill:"currentColor",d:"M497.472 96.896c22.784 4.672 44.416 9.472 64.896 14.528a256.128 256.128 0 0 0 350.208 350.208c5.056 20.48 9.856 42.112 14.528 64.896A320.128 320.128 0 0 1 497.472 96.896zM108.48 491.904a320.128 320.128 0 0 1 423.616 423.68c-23.04-3.648-44.992-7.424-65.728-11.52a256.128 256.128 0 0 0-346.496-346.432 1736.64 1736.64 0 0 1-11.392-65.728z"})]))}}),baseball_default=baseball_vue_vue_type_script_setup_true_lang_default,basketball_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Basketball",__name:"basketball",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M778.752 788.224a382.464 382.464 0 0 0 116.032-245.632 256.512 256.512 0 0 0-241.728-13.952 762.88 762.88 0 0 1 125.696 259.584zm-55.04 44.224a699.648 699.648 0 0 0-125.056-269.632 256.128 256.128 0 0 0-56.064 331.968 382.72 382.72 0 0 0 181.12-62.336m-254.08 61.248A320.128 320.128 0 0 1 557.76 513.6a715.84 715.84 0 0 0-48.192-48.128 320.128 320.128 0 0 1-379.264 88.384 382.4 382.4 0 0 0 110.144 229.696 382.4 382.4 0 0 0 229.184 110.08zM129.28 481.088a256.128 256.128 0 0 0 331.072-56.448 699.648 699.648 0 0 0-268.8-124.352 382.656 382.656 0 0 0-62.272 180.8m106.56-235.84a762.88 762.88 0 0 1 258.688 125.056 256.512 256.512 0 0 0-13.44-241.088A382.464 382.464 0 0 0 235.84 245.248zm318.08-114.944c40.576 89.536 37.76 193.92-8.448 281.344a779.84 779.84 0 0 1 66.176 66.112 320.832 320.832 0 0 1 282.112-8.128 382.4 382.4 0 0 0-110.144-229.12 382.4 382.4 0 0 0-229.632-110.208zM828.8 828.8a448 448 0 1 1-633.6-633.6 448 448 0 0 1 633.6 633.6"})]))}}),basketball_default=basketball_vue_vue_type_script_setup_true_lang_default,bell_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"BellFilled",__name:"bell-filled",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M640 832a128 128 0 0 1-256 0zm192-64H134.4a38.4 38.4 0 0 1 0-76.8H192V448c0-154.88 110.08-284.16 256.32-313.6a64 64 0 1 1 127.36 0A320.128 320.128 0 0 1 832 448v243.2h57.6a38.4 38.4 0 0 1 0 76.8z"})]))}}),bell_filled_default=bell_filled_vue_vue_type_script_setup_true_lang_default,bell_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Bell",__name:"bell",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a64 64 0 0 1 64 64v64H448v-64a64 64 0 0 1 64-64"}),createBaseVNode("path",{fill:"currentColor",d:"M256 768h512V448a256 256 0 1 0-512 0zm256-640a320 320 0 0 1 320 320v384H192V448a320 320 0 0 1 320-320"}),createBaseVNode("path",{fill:"currentColor",d:"M96 768h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32m352 128h128a64 64 0 0 1-128 0"})]))}}),bell_default=bell_vue_vue_type_script_setup_true_lang_default,bicycle_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Bicycle",__name:"bicycle",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"}),createBaseVNode("path",{fill:"currentColor",d:"M288 672h320q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M768 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"}),createBaseVNode("path",{fill:"currentColor",d:"M480 192a32 32 0 0 1 0-64h160a32 32 0 0 1 31.04 24.256l96 384a32 32 0 0 1-62.08 15.488L615.04 192zM96 384a32 32 0 0 1 0-64h128a32 32 0 0 1 30.336 21.888l64 192a32 32 0 1 1-60.672 20.224L200.96 384z"}),createBaseVNode("path",{fill:"currentColor",d:"m373.376 599.808-42.752-47.616 320-288 42.752 47.616z"})]))}}),bicycle_default=bicycle_vue_vue_type_script_setup_true_lang_default,bottom_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"BottomLeft",__name:"bottom-left",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 768h416a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V352a32 32 0 0 1 64 0z"}),createBaseVNode("path",{fill:"currentColor",d:"M246.656 822.656a32 32 0 0 1-45.312-45.312l544-544a32 32 0 0 1 45.312 45.312l-544 544z"})]))}}),bottom_left_default=bottom_left_vue_vue_type_script_setup_true_lang_default,bottom_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"BottomRight",__name:"bottom-right",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M352 768a32 32 0 1 0 0 64h448a32 32 0 0 0 32-32V352a32 32 0 0 0-64 0v416z"}),createBaseVNode("path",{fill:"currentColor",d:"M777.344 822.656a32 32 0 0 0 45.312-45.312l-544-544a32 32 0 0 0-45.312 45.312z"})]))}}),bottom_right_default=bottom_right_vue_vue_type_script_setup_true_lang_default,bottom_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Bottom",__name:"bottom",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M544 805.888V168a32 32 0 1 0-64 0v637.888L246.656 557.952a30.72 30.72 0 0 0-45.312 0 35.52 35.52 0 0 0 0 48.064l288 306.048a30.72 30.72 0 0 0 45.312 0l288-306.048a35.52 35.52 0 0 0 0-48 30.72 30.72 0 0 0-45.312 0L544 805.824z"})]))}}),bottom_default=bottom_vue_vue_type_script_setup_true_lang_default,bowl_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Bowl",__name:"bowl",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M714.432 704a351.744 351.744 0 0 0 148.16-256H161.408a351.744 351.744 0 0 0 148.16 256zM288 766.592A415.68 415.68 0 0 1 96 416a32 32 0 0 1 32-32h768a32 32 0 0 1 32 32 415.68 415.68 0 0 1-192 350.592V832a64 64 0 0 1-64 64H352a64 64 0 0 1-64-64zM493.248 320h-90.496l254.4-254.4a32 32 0 1 1 45.248 45.248zm187.328 0h-128l269.696-155.712a32 32 0 0 1 32 55.424zM352 768v64h320v-64z"})]))}}),bowl_default=bowl_vue_vue_type_script_setup_true_lang_default,box_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Box",__name:"box",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M317.056 128 128 344.064V896h768V344.064L706.944 128zm-14.528-64h418.944a32 32 0 0 1 24.064 10.88l206.528 236.096A32 32 0 0 1 960 332.032V928a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V332.032a32 32 0 0 1 7.936-21.12L278.4 75.008A32 32 0 0 1 302.528 64z"}),createBaseVNode("path",{fill:"currentColor",d:"M64 320h896v64H64z"}),createBaseVNode("path",{fill:"currentColor",d:"M448 327.872V640h128V327.872L526.08 128h-28.16zM448 64h128l64 256v352a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V320z"})]))}}),box_default=box_vue_vue_type_script_setup_true_lang_default,briefcase_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Briefcase",__name:"briefcase",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M320 320V128h384v192h192v192H128V320zM128 576h768v320H128zm256-256h256.064V192H384z"})]))}}),briefcase_default=briefcase_vue_vue_type_script_setup_true_lang_default,brush_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"BrushFilled",__name:"brush-filled",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M608 704v160a96 96 0 0 1-192 0V704h-96a128 128 0 0 1-128-128h640a128 128 0 0 1-128 128zM192 512V128.064h640V512z"})]))}}),brush_filled_default=brush_filled_vue_vue_type_script_setup_true_lang_default,brush_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Brush",__name:"brush",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M896 448H128v192a64 64 0 0 0 64 64h192v192h256V704h192a64 64 0 0 0 64-64zm-770.752-64c0-47.552 5.248-90.24 15.552-128 14.72-54.016 42.496-107.392 83.2-160h417.28l-15.36 70.336L736 96h211.2c-24.832 42.88-41.92 96.256-51.2 160a663.872 663.872 0 0 0-6.144 128H960v256a128 128 0 0 1-128 128H704v160a32 32 0 0 1-32 32H352a32 32 0 0 1-32-32V768H192A128 128 0 0 1 64 640V384h61.248zm64 0h636.544c-2.048-45.824.256-91.584 6.848-137.216 4.48-30.848 10.688-59.776 18.688-86.784h-96.64l-221.12 141.248L561.92 160H256.512c-25.856 37.888-43.776 75.456-53.952 112.832-8.768 32.064-13.248 69.12-13.312 111.168z"})]))}}),brush_default=brush_vue_vue_type_script_setup_true_lang_default,burger_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Burger",__name:"burger",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 512a32 32 0 0 0-32 32v64a32 32 0 0 0 30.08 32H864a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32zm736-58.56A96 96 0 0 1 960 544v64a96 96 0 0 1-51.968 85.312L855.36 833.6a96 96 0 0 1-89.856 62.272H258.496A96 96 0 0 1 168.64 833.6l-52.608-140.224A96 96 0 0 1 64 608v-64a96 96 0 0 1 64-90.56V448a384 384 0 1 1 768 5.44M832 448a320 320 0 0 0-640 0zM512 704H188.352l40.192 107.136a32 32 0 0 0 29.952 20.736h507.008a32 32 0 0 0 29.952-20.736L835.648 704z"})]))}}),burger_default=burger_vue_vue_type_script_setup_true_lang_default,calendar_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Calendar",__name:"calendar",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"})]))}}),calendar_default=calendar_vue_vue_type_script_setup_true_lang_default,camera_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CameraFilled",__name:"camera-filled",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 224a64 64 0 0 0-64 64v512a64 64 0 0 0 64 64h704a64 64 0 0 0 64-64V288a64 64 0 0 0-64-64H748.416l-46.464-92.672A64 64 0 0 0 644.736 96H379.328a64 64 0 0 0-57.216 35.392L275.776 224zm352 435.2a115.2 115.2 0 1 0 0-230.4 115.2 115.2 0 0 0 0 230.4m0 140.8a256 256 0 1 1 0-512 256 256 0 0 1 0 512"})]))}}),camera_filled_default=camera_filled_vue_vue_type_script_setup_true_lang_default,camera_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Camera",__name:"camera",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M896 256H128v576h768zm-199.424-64-32.064-64h-304.96l-32 64zM96 192h160l46.336-92.608A64 64 0 0 1 359.552 64h304.96a64 64 0 0 1 57.216 35.328L768.192 192H928a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32m416 512a160 160 0 1 0 0-320 160 160 0 0 0 0 320m0 64a224 224 0 1 1 0-448 224 224 0 0 1 0 448"})]))}}),camera_default=camera_vue_vue_type_script_setup_true_lang_default,caret_bottom_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CaretBottom",__name:"caret-bottom",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m192 384 320 384 320-384z"})]))}}),caret_bottom_default=caret_bottom_vue_vue_type_script_setup_true_lang_default,caret_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CaretLeft",__name:"caret-left",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M672 192 288 511.936 672 832z"})]))}}),caret_left_default=caret_left_vue_vue_type_script_setup_true_lang_default,caret_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CaretRight",__name:"caret-right",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"})]))}}),caret_right_default=caret_right_vue_vue_type_script_setup_true_lang_default,caret_top_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CaretTop",__name:"caret-top",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"})]))}}),caret_top_default=caret_top_vue_vue_type_script_setup_true_lang_default,cellphone_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Cellphone",__name:"cellphone",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 128a64 64 0 0 0-64 64v640a64 64 0 0 0 64 64h512a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64zm0-64h512a128 128 0 0 1 128 128v640a128 128 0 0 1-128 128H256a128 128 0 0 1-128-128V192A128 128 0 0 1 256 64m128 128h256a32 32 0 1 1 0 64H384a32 32 0 0 1 0-64m128 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128"})]))}}),cellphone_default=cellphone_vue_vue_type_script_setup_true_lang_default,chat_dot_round_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ChatDotRound",__name:"chat-dot-round",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m174.72 855.68 135.296-45.12 23.68 11.84C388.096 849.536 448.576 864 512 864c211.84 0 384-166.784 384-352S723.84 160 512 160 128 326.784 128 512c0 69.12 24.96 139.264 70.848 199.232l22.08 28.8-46.272 115.584zm-45.248 82.56A32 32 0 0 1 89.6 896l58.368-145.92C94.72 680.32 64 596.864 64 512 64 299.904 256 96 512 96s448 203.904 448 416-192 416-448 416a461.056 461.056 0 0 1-206.912-48.384l-175.616 58.56z"}),createBaseVNode("path",{fill:"currentColor",d:"M512 563.2a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m192 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m-384 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4"})]))}}),chat_dot_round_default=chat_dot_round_vue_vue_type_script_setup_true_lang_default,chat_dot_square_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ChatDotSquare",__name:"chat-dot-square",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64v570.88zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"}),createBaseVNode("path",{fill:"currentColor",d:"M512 499.2a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4zm192 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4zm-384 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4z"})]))}}),chat_dot_square_default=chat_dot_square_vue_vue_type_script_setup_true_lang_default,chat_line_round_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ChatLineRound",__name:"chat-line-round",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m174.72 855.68 135.296-45.12 23.68 11.84C388.096 849.536 448.576 864 512 864c211.84 0 384-166.784 384-352S723.84 160 512 160 128 326.784 128 512c0 69.12 24.96 139.264 70.848 199.232l22.08 28.8-46.272 115.584zm-45.248 82.56A32 32 0 0 1 89.6 896l58.368-145.92C94.72 680.32 64 596.864 64 512 64 299.904 256 96 512 96s448 203.904 448 416-192 416-448 416a461.056 461.056 0 0 1-206.912-48.384l-175.616 58.56z"}),createBaseVNode("path",{fill:"currentColor",d:"M352 576h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m32-192h256q32 0 32 32t-32 32H384q-32 0-32-32t32-32"})]))}}),chat_line_round_default=chat_line_round_vue_vue_type_script_setup_true_lang_default,chat_line_square_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ChatLineSquare",__name:"chat-line-square",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 826.88 273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"}),createBaseVNode("path",{fill:"currentColor",d:"M352 512h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m0-192h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32"})]))}}),chat_line_square_default=chat_line_square_vue_vue_type_script_setup_true_lang_default,chat_round_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ChatRound",__name:"chat-round",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m174.72 855.68 130.048-43.392 23.424 11.392C382.4 849.984 444.352 864 512 864c223.744 0 384-159.872 384-352 0-192.832-159.104-352-384-352S128 319.168 128 512a341.12 341.12 0 0 0 69.248 204.288l21.632 28.8-44.16 110.528zm-45.248 82.56A32 32 0 0 1 89.6 896l56.512-141.248A405.12 405.12 0 0 1 64 512C64 299.904 235.648 96 512 96s448 203.904 448 416-173.44 416-448 416c-79.68 0-150.848-17.152-211.712-46.72l-170.88 56.96z"})]))}}),chat_round_default=chat_round_vue_vue_type_script_setup_true_lang_default,chat_square_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ChatSquare",__name:"chat-square",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64v570.88zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"})]))}}),chat_square_default=chat_square_vue_vue_type_script_setup_true_lang_default,check_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Check",__name:"check",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"})]))}}),check_default=check_vue_vue_type_script_setup_true_lang_default,checked_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Checked",__name:"checked",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M704 192h160v736H160V192h160.064v64H704zM311.616 537.28l-45.312 45.248L447.36 763.52l316.8-316.8-45.312-45.184L447.36 673.024zM384 192V96h256v96z"})]))}}),checked_default=checked_vue_vue_type_script_setup_true_lang_default,cherry_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Cherry",__name:"cherry",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M261.056 449.6c13.824-69.696 34.88-128.96 63.36-177.728 23.744-40.832 61.12-88.64 112.256-143.872H320a32 32 0 0 1 0-64h384a32 32 0 1 1 0 64H554.752c14.912 39.168 41.344 86.592 79.552 141.76 47.36 68.48 84.8 106.752 106.304 114.304a224 224 0 1 1-84.992 14.784c-22.656-22.912-47.04-53.76-73.92-92.608-38.848-56.128-67.008-105.792-84.352-149.312-55.296 58.24-94.528 107.52-117.76 147.2-23.168 39.744-41.088 88.768-53.568 147.072a224.064 224.064 0 1 1-64.96-1.6zM288 832a160 160 0 1 0 0-320 160 160 0 0 0 0 320m448-64a160 160 0 1 0 0-320 160 160 0 0 0 0 320"})]))}}),cherry_default=cherry_vue_vue_type_script_setup_true_lang_default,chicken_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Chicken",__name:"chicken",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M349.952 716.992 478.72 588.16a106.688 106.688 0 0 1-26.176-19.072 106.688 106.688 0 0 1-19.072-26.176L304.704 671.744c.768 3.072 1.472 6.144 2.048 9.216l2.048 31.936 31.872 1.984c3.136.64 6.208 1.28 9.28 2.112zm57.344 33.152a128 128 0 1 1-216.32 114.432l-1.92-32-32-1.92a128 128 0 1 1 114.432-216.32L416.64 469.248c-2.432-101.44 58.112-239.104 149.056-330.048 107.328-107.328 231.296-85.504 316.8 0 85.44 85.44 107.328 209.408 0 316.8-91.008 90.88-228.672 151.424-330.112 149.056L407.296 750.08zm90.496-226.304c49.536 49.536 233.344-7.04 339.392-113.088 78.208-78.208 63.232-163.072 0-226.304-63.168-63.232-148.032-78.208-226.24 0C504.896 290.496 448.32 474.368 497.792 523.84M244.864 708.928a64 64 0 1 0-59.84 59.84l56.32-3.52zm8.064 127.68a64 64 0 1 0 59.84-59.84l-56.32 3.52-3.52 56.32z"})]))}}),chicken_default=chicken_vue_vue_type_script_setup_true_lang_default,chrome_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ChromeFilled",__name:"chrome-filled",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M938.67 512.01c0-44.59-6.82-87.6-19.54-128H682.67a212.372 212.372 0 0 1 42.67 128c.06 38.71-10.45 76.7-30.42 109.87l-182.91 316.8c235.65-.01 426.66-191.02 426.66-426.67z"}),createBaseVNode("path",{fill:"currentColor",d:"M576.79 401.63a127.92 127.92 0 0 0-63.56-17.6c-22.36-.22-44.39 5.43-63.89 16.38s-35.79 26.82-47.25 46.02a128.005 128.005 0 0 0-2.16 127.44l1.24 2.13a127.906 127.906 0 0 0 46.36 46.61 127.907 127.907 0 0 0 63.38 17.44c22.29.2 44.24-5.43 63.68-16.33a127.94 127.94 0 0 0 47.16-45.79v-.01l1.11-1.92a127.984 127.984 0 0 0 .29-127.46 127.957 127.957 0 0 0-46.36-46.91"}),createBaseVNode("path",{fill:"currentColor",d:"M394.45 333.96A213.336 213.336 0 0 1 512 298.67h369.58A426.503 426.503 0 0 0 512 85.34a425.598 425.598 0 0 0-171.74 35.98 425.644 425.644 0 0 0-142.62 102.22l118.14 204.63a213.397 213.397 0 0 1 78.67-94.21m117.56 604.72H512zm-97.25-236.73a213.284 213.284 0 0 1-89.54-86.81L142.48 298.6c-36.35 62.81-57.13 135.68-57.13 213.42 0 203.81 142.93 374.22 333.95 416.55h.04l118.19-204.71a213.315 213.315 0 0 1-122.77-21.91z"})]))}}),chrome_filled_default=chrome_filled_vue_vue_type_script_setup_true_lang_default,circle_check_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleCheckFilled",__name:"circle-check-filled",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),circle_check_filled_default=circle_check_filled_vue_vue_type_script_setup_true_lang_default,circle_check_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleCheck",__name:"circle-check",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"})]))}}),circle_check_default=circle_check_vue_vue_type_script_setup_true_lang_default,circle_close_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleCloseFilled",__name:"circle-close-filled",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}}),circle_close_filled_default=circle_close_filled_vue_vue_type_script_setup_true_lang_default,circle_close_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleClose",__name:"circle-close",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),circle_close_default=circle_close_vue_vue_type_script_setup_true_lang_default,circle_plus_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CirclePlusFilled",__name:"circle-plus-filled",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-38.4 409.6H326.4a38.4 38.4 0 1 0 0 76.8h147.2v147.2a38.4 38.4 0 0 0 76.8 0V550.4h147.2a38.4 38.4 0 0 0 0-76.8H550.4V326.4a38.4 38.4 0 1 0-76.8 0v147.2z"})]))}}),circle_plus_filled_default=circle_plus_filled_vue_vue_type_script_setup_true_lang_default,circle_plus_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CirclePlus",__name:"circle-plus",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"}),createBaseVNode("path",{fill:"currentColor",d:"M480 672V352a32 32 0 1 1 64 0v320a32 32 0 0 1-64 0"}),createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),circle_plus_default=circle_plus_vue_vue_type_script_setup_true_lang_default,clock_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Clock",__name:"clock",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}}),clock_default=clock_vue_vue_type_script_setup_true_lang_default,close_bold_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CloseBold",__name:"close-bold",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M195.2 195.2a64 64 0 0 1 90.496 0L512 421.504 738.304 195.2a64 64 0 0 1 90.496 90.496L602.496 512 828.8 738.304a64 64 0 0 1-90.496 90.496L512 602.496 285.696 828.8a64 64 0 0 1-90.496-90.496L421.504 512 195.2 285.696a64 64 0 0 1 0-90.496z"})]))}}),close_bold_default=close_bold_vue_vue_type_script_setup_true_lang_default,close_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Close",__name:"close",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),close_default=close_vue_vue_type_script_setup_true_lang_default,cloudy_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Cloudy",__name:"cloudy",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M598.4 831.872H328.192a256 256 0 0 1-34.496-510.528A352 352 0 1 1 598.4 831.872m-271.36-64h272.256a288 288 0 1 0-248.512-417.664L335.04 381.44l-34.816 3.584a192 192 0 0 0 26.88 382.848z"})]))}}),cloudy_default=cloudy_vue_vue_type_script_setup_true_lang_default,coffee_cup_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CoffeeCup",__name:"coffee-cup",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M768 192a192 192 0 1 1-8 383.808A256.128 256.128 0 0 1 512 768H320A256 256 0 0 1 64 512V160a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 64v256a128 128 0 1 0 0-256M96 832h640a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64m32-640v320a192 192 0 0 0 192 192h192a192 192 0 0 0 192-192V192z"})]))}}),coffee_cup_default=coffee_cup_vue_vue_type_script_setup_true_lang_default,coffee_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Coffee",__name:"coffee",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M822.592 192h14.272a32 32 0 0 1 31.616 26.752l21.312 128A32 32 0 0 1 858.24 384h-49.344l-39.04 546.304A32 32 0 0 1 737.92 960H285.824a32 32 0 0 1-32-29.696L214.912 384H165.76a32 32 0 0 1-31.552-37.248l21.312-128A32 32 0 0 1 187.136 192h14.016l-6.72-93.696A32 32 0 0 1 226.368 64h571.008a32 32 0 0 1 31.936 34.304zm-64.128 0 4.544-64H260.736l4.544 64h493.184m-548.16 128H820.48l-10.688-64H214.208l-10.688 64h6.784m68.736 64 36.544 512H708.16l36.544-512z"})]))}}),coffee_default=coffee_vue_vue_type_script_setup_true_lang_default,coin_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Coin",__name:"coin",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m161.92 580.736 29.888 58.88C171.328 659.776 160 681.728 160 704c0 82.304 155.328 160 352 160s352-77.696 352-160c0-22.272-11.392-44.16-31.808-64.32l30.464-58.432C903.936 615.808 928 657.664 928 704c0 129.728-188.544 224-416 224S96 833.728 96 704c0-46.592 24.32-88.576 65.92-123.264z"}),createBaseVNode("path",{fill:"currentColor",d:"m161.92 388.736 29.888 58.88C171.328 467.84 160 489.792 160 512c0 82.304 155.328 160 352 160s352-77.696 352-160c0-22.272-11.392-44.16-31.808-64.32l30.464-58.432C903.936 423.808 928 465.664 928 512c0 129.728-188.544 224-416 224S96 641.728 96 512c0-46.592 24.32-88.576 65.92-123.264z"}),createBaseVNode("path",{fill:"currentColor",d:"M512 544c-227.456 0-416-94.272-416-224S284.544 96 512 96s416 94.272 416 224-188.544 224-416 224m0-64c196.672 0 352-77.696 352-160S708.672 160 512 160s-352 77.696-352 160 155.328 160 352 160"})]))}}),coin_default=coin_vue_vue_type_script_setup_true_lang_default,cold_drink_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ColdDrink",__name:"cold-drink",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M768 64a192 192 0 1 1-69.952 370.88L480 725.376V896h96a32 32 0 1 1 0 64H320a32 32 0 1 1 0-64h96V725.376L76.8 273.536a64 64 0 0 1-12.8-38.4v-10.688a32 32 0 0 1 32-32h71.808l-65.536-83.84a32 32 0 0 1 50.432-39.424l96.256 123.264h337.728A192.064 192.064 0 0 1 768 64M656.896 192.448H800a32 32 0 0 1 32 32v10.624a64 64 0 0 1-12.8 38.4l-80.448 107.2a128 128 0 1 0-81.92-188.16v-.064zm-357.888 64 129.472 165.76a32 32 0 0 1-50.432 39.36l-160.256-205.12H144l304 404.928 304-404.928z"})]))}}),cold_drink_default=cold_drink_vue_vue_type_script_setup_true_lang_default,collection_tag_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CollectionTag",__name:"collection-tag",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 128v698.88l196.032-156.864a96 96 0 0 1 119.936 0L768 826.816V128zm-32-64h576a32 32 0 0 1 32 32v797.44a32 32 0 0 1-51.968 24.96L531.968 720a32 32 0 0 0-39.936 0L243.968 918.4A32 32 0 0 1 192 893.44V96a32 32 0 0 1 32-32"})]))}}),collection_tag_default=collection_tag_vue_vue_type_script_setup_true_lang_default,collection_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Collection",__name:"collection",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M192 736h640V128H256a64 64 0 0 0-64 64zm64-672h608a32 32 0 0 1 32 32v672a32 32 0 0 1-32 32H160l-32 57.536V192A128 128 0 0 1 256 64"}),createBaseVNode("path",{fill:"currentColor",d:"M240 800a48 48 0 1 0 0 96h592v-96zm0-64h656v160a64 64 0 0 1-64 64H240a112 112 0 0 1 0-224m144-608v250.88l96-76.8 96 76.8V128zm-64-64h320v381.44a32 32 0 0 1-51.968 24.96L480 384l-108.032 86.4A32 32 0 0 1 320 445.44z"})]))}}),collection_default=collection_vue_vue_type_script_setup_true_lang_default,comment_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Comment",__name:"comment",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M736 504a56 56 0 1 1 0-112 56 56 0 0 1 0 112m-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112m-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112M128 128v640h192v160l224-160h352V128z"})]))}}),comment_default=comment_vue_vue_type_script_setup_true_lang_default,compass_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Compass",__name:"compass",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M725.888 315.008C676.48 428.672 624 513.28 568.576 568.64c-55.424 55.424-139.968 107.904-253.568 157.312a12.8 12.8 0 0 1-16.896-16.832c49.536-113.728 102.016-198.272 157.312-253.632 55.36-55.296 139.904-107.776 253.632-157.312a12.8 12.8 0 0 1 16.832 16.832"})]))}}),compass_default=compass_vue_vue_type_script_setup_true_lang_default,connection_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Connection",__name:"connection",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M640 384v64H448a128 128 0 0 0-128 128v128a128 128 0 0 0 128 128h320a128 128 0 0 0 128-128V576a128 128 0 0 0-64-110.848V394.88c74.56 26.368 128 97.472 128 181.056v128a192 192 0 0 1-192 192H448a192 192 0 0 1-192-192V576a192 192 0 0 1 192-192z"}),createBaseVNode("path",{fill:"currentColor",d:"M384 640v-64h192a128 128 0 0 0 128-128V320a128 128 0 0 0-128-128H256a128 128 0 0 0-128 128v128a128 128 0 0 0 64 110.848v70.272A192.064 192.064 0 0 1 64 448V320a192 192 0 0 1 192-192h320a192 192 0 0 1 192 192v128a192 192 0 0 1-192 192z"})]))}}),connection_default=connection_vue_vue_type_script_setup_true_lang_default,coordinate_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Coordinate",__name:"coordinate",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M480 512h64v320h-64z"}),createBaseVNode("path",{fill:"currentColor",d:"M192 896h640a64 64 0 0 0-64-64H256a64 64 0 0 0-64 64m64-128h512a128 128 0 0 1 128 128v64H128v-64a128 128 0 0 1 128-128m256-256a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512"})]))}}),coordinate_default=coordinate_vue_vue_type_script_setup_true_lang_default,copy_document_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CopyDocument",__name:"copy-document",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M768 832a128 128 0 0 1-128 128H192A128 128 0 0 1 64 832V384a128 128 0 0 1 128-128v64a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64z"}),createBaseVNode("path",{fill:"currentColor",d:"M384 128a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64zm0-64h448a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H384a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64"})]))}}),copy_document_default=copy_document_vue_vue_type_script_setup_true_lang_default,cpu_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Cpu",__name:"cpu",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M320 256a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h384a64 64 0 0 0 64-64V320a64 64 0 0 0-64-64zm0-64h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128H320a128 128 0 0 1-128-128V320a128 128 0 0 1 128-128"}),createBaseVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m160 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m-320 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m160 896a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32m160 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32m-320 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32M64 512a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m0-160a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m0 320a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m896-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32m0-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32m0 320a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32"})]))}}),cpu_default=cpu_vue_vue_type_script_setup_true_lang_default,credit_card_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CreditCard",__name:"credit-card",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M896 324.096c0-42.368-2.496-55.296-9.536-68.48a52.352 52.352 0 0 0-22.144-22.08c-13.12-7.04-26.048-9.536-68.416-9.536H228.096c-42.368 0-55.296 2.496-68.48 9.536a52.352 52.352 0 0 0-22.08 22.144c-7.04 13.12-9.536 26.048-9.536 68.416v375.808c0 42.368 2.496 55.296 9.536 68.48a52.352 52.352 0 0 0 22.144 22.08c13.12 7.04 26.048 9.536 68.416 9.536h567.808c42.368 0 55.296-2.496 68.48-9.536a52.352 52.352 0 0 0 22.08-22.144c7.04-13.12 9.536-26.048 9.536-68.416zm64 0v375.808c0 57.088-5.952 77.76-17.088 98.56-11.136 20.928-27.52 37.312-48.384 48.448-20.864 11.136-41.6 17.088-98.56 17.088H228.032c-57.088 0-77.76-5.952-98.56-17.088a116.288 116.288 0 0 1-48.448-48.384c-11.136-20.864-17.088-41.6-17.088-98.56V324.032c0-57.088 5.952-77.76 17.088-98.56 11.136-20.928 27.52-37.312 48.384-48.448 20.864-11.136 41.6-17.088 98.56-17.088H795.84c57.088 0 77.76 5.952 98.56 17.088 20.928 11.136 37.312 27.52 48.448 48.384 11.136 20.864 17.088 41.6 17.088 98.56z"}),createBaseVNode("path",{fill:"currentColor",d:"M64 320h896v64H64zm0 128h896v64H64zm128 192h256v64H192z"})]))}}),credit_card_default=credit_card_vue_vue_type_script_setup_true_lang_default,crop_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Crop",__name:"crop",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 768h672a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V96a32 32 0 0 1 64 0z"}),createBaseVNode("path",{fill:"currentColor",d:"M832 224v704a32 32 0 1 1-64 0V256H96a32 32 0 0 1 0-64h704a32 32 0 0 1 32 32"})]))}}),crop_default=crop_vue_vue_type_script_setup_true_lang_default,d_arrow_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DArrowLeft",__name:"d-arrow-left",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224zm256 0a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224z"})]))}}),d_arrow_left_default=d_arrow_left_vue_vue_type_script_setup_true_lang_default,d_arrow_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DArrowRight",__name:"d-arrow-right",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L764.736 512 452.864 192a30.592 30.592 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L508.736 512 196.864 192a30.592 30.592 0 0 1 0-42.688z"})]))}}),d_arrow_right_default=d_arrow_right_vue_vue_type_script_setup_true_lang_default,d_caret_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DCaret",__name:"d-caret",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m512 128 288 320H224zM224 576h576L512 896z"})]))}}),d_caret_default=d_caret_vue_vue_type_script_setup_true_lang_default,data_analysis_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DataAnalysis",__name:"data-analysis",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m665.216 768 110.848 192h-73.856L591.36 768H433.024L322.176 960H248.32l110.848-192H160a32 32 0 0 1-32-32V192H64a32 32 0 0 1 0-64h896a32 32 0 1 1 0 64h-64v544a32 32 0 0 1-32 32zM832 192H192v512h640zM352 448a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0v-64a32 32 0 0 1 32-32m160-64a32 32 0 0 1 32 32v128a32 32 0 0 1-64 0V416a32 32 0 0 1 32-32m160-64a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V352a32 32 0 0 1 32-32"})]))}}),data_analysis_default=data_analysis_vue_vue_type_script_setup_true_lang_default,data_board_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DataBoard",__name:"data-board",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M32 128h960v64H32z"}),createBaseVNode("path",{fill:"currentColor",d:"M192 192v512h640V192zm-64-64h768v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32z"}),createBaseVNode("path",{fill:"currentColor",d:"M322.176 960H248.32l144.64-250.56 55.424 32zm453.888 0h-73.856L576 741.44l55.424-32z"})]))}}),data_board_default=data_board_vue_vue_type_script_setup_true_lang_default,data_line_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DataLine",__name:"data-line",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M359.168 768H160a32 32 0 0 1-32-32V192H64a32 32 0 0 1 0-64h896a32 32 0 1 1 0 64h-64v544a32 32 0 0 1-32 32H665.216l110.848 192h-73.856L591.36 768H433.024L322.176 960H248.32zM832 192H192v512h640zM342.656 534.656a32 32 0 1 1-45.312-45.312L444.992 341.76l125.44 94.08L679.04 300.032a32 32 0 1 1 49.92 39.936L581.632 524.224 451.008 426.24 342.656 534.592z"})]))}}),data_line_default=data_line_vue_vue_type_script_setup_true_lang_default,delete_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DeleteFilled",__name:"delete-filled",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M352 192V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64H96a32 32 0 0 1 0-64zm64 0h192v-64H416zM192 960a32 32 0 0 1-32-32V256h704v672a32 32 0 0 1-32 32zm224-192a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32m192 0a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32"})]))}}),delete_filled_default=delete_filled_vue_vue_type_script_setup_true_lang_default,delete_location_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DeleteLocation",__name:"delete-location",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),createBaseVNode("path",{fill:"currentColor",d:"M384 384h256q32 0 32 32t-32 32H384q-32 0-32-32t32-32"})]))}}),delete_location_default=delete_location_vue_vue_type_script_setup_true_lang_default,delete_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Delete",__name:"delete",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}}),delete_default=delete_vue_vue_type_script_setup_true_lang_default,dessert_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Dessert",__name:"dessert",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 416v-48a144 144 0 0 1 168.64-141.888 224.128 224.128 0 0 1 430.72 0A144 144 0 0 1 896 368v48a384 384 0 0 1-352 382.72V896h-64v-97.28A384 384 0 0 1 128 416m287.104-32.064h193.792a143.808 143.808 0 0 1 58.88-132.736 160.064 160.064 0 0 0-311.552 0 143.808 143.808 0 0 1 58.88 132.8zm-72.896 0a72 72 0 1 0-140.48 0h140.48m339.584 0h140.416a72 72 0 1 0-140.48 0zM512 736a320 320 0 0 0 318.4-288.064H193.6A320 320 0 0 0 512 736M384 896.064h256a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64"})]))}}),dessert_default=dessert_vue_vue_type_script_setup_true_lang_default,discount_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Discount",__name:"discount",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 704h576V318.336L552.512 115.84a64 64 0 0 0-81.024 0L224 318.336zm0 64v128h576V768zM593.024 66.304l259.2 212.096A32 32 0 0 1 864 303.168V928a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V303.168a32 32 0 0 1 11.712-24.768l259.2-212.096a128 128 0 0 1 162.112 0"}),createBaseVNode("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),discount_default=discount_vue_vue_type_script_setup_true_lang_default,dish_dot_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DishDot",__name:"dish-dot",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m384.064 274.56.064-50.688A128 128 0 0 1 512.128 96c70.528 0 127.68 57.152 127.68 127.68v50.752A448.192 448.192 0 0 1 955.392 768H68.544A448.192 448.192 0 0 1 384 274.56zM96 832h832a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64m32-128h768a384 384 0 1 0-768 0m447.808-448v-32.32a63.68 63.68 0 0 0-63.68-63.68 64 64 0 0 0-64 63.936V256z"})]))}}),dish_dot_default=dish_dot_vue_vue_type_script_setup_true_lang_default,dish_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Dish",__name:"dish",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M480 257.152V192h-96a32 32 0 0 1 0-64h256a32 32 0 1 1 0 64h-96v65.152A448 448 0 0 1 955.52 768H68.48A448 448 0 0 1 480 257.152M128 704h768a384 384 0 1 0-768 0M96 832h832a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64"})]))}}),dish_default=dish_vue_vue_type_script_setup_true_lang_default,document_add_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DocumentAdd",__name:"document-add",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m320 512V448h64v128h128v64H544v128h-64V640H352v-64z"})]))}}),document_add_default=document_add_vue_vue_type_script_setup_true_lang_default,document_checked_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DocumentChecked",__name:"document-checked",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m318.4 582.144 180.992-180.992L704.64 510.4 478.4 736.64 320 578.304l45.248-45.312z"})]))}}),document_checked_default=document_checked_vue_vue_type_script_setup_true_lang_default,document_copy_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DocumentCopy",__name:"document-copy",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 320v576h576V320zm-32-64h640a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32M960 96v704a32 32 0 0 1-32 32h-96v-64h64V128H384v64h-64V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32M256 672h320v64H256zm0-192h320v64H256z"})]))}}),document_copy_default=document_copy_vue_vue_type_script_setup_true_lang_default,document_delete_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DocumentDelete",__name:"document-delete",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m308.992 546.304-90.496-90.624 45.248-45.248 90.56 90.496 90.496-90.432 45.248 45.248-90.496 90.56 90.496 90.496-45.248 45.248-90.496-90.496-90.56 90.496-45.248-45.248 90.496-90.496z"})]))}}),document_delete_default=document_delete_vue_vue_type_script_setup_true_lang_default,document_remove_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DocumentRemove",__name:"document-remove",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m192 512h320v64H352z"})]))}}),document_remove_default=document_remove_vue_vue_type_script_setup_true_lang_default,document_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Document",__name:"document",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}}),document_default=document_vue_vue_type_script_setup_true_lang_default,download_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Download",__name:"download",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-253.696 236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64z"})]))}}),download_default=download_vue_vue_type_script_setup_true_lang_default,drizzling_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Drizzling",__name:"drizzling",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m739.328 291.328-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 97.28 78.72 175.936 175.808 175.936h400a192 192 0 0 0 35.776-380.672zM959.552 480a256 256 0 0 1-256 256h-400A239.808 239.808 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 959.552 480M288 800h64v64h-64zm192 0h64v64h-64zm-96 96h64v64h-64zm192 0h64v64h-64zm96-96h64v64h-64z"})]))}}),drizzling_default=drizzling_vue_vue_type_script_setup_true_lang_default,edit_pen_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"EditPen",__name:"edit-pen",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m199.04 672.64 193.984 112 224-387.968-193.92-112-224 388.032zm-23.872 60.16 32.896 148.288 144.896-45.696zM455.04 229.248l193.92 112 56.704-98.112-193.984-112-56.64 98.112zM104.32 708.8l384-665.024 304.768 175.936L409.152 884.8h.064l-248.448 78.336zm384 254.272v-64h448v64h-448z"})]))}}),edit_pen_default=edit_pen_vue_vue_type_script_setup_true_lang_default,edit_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Edit",__name:"edit",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640z"}),createBaseVNode("path",{fill:"currentColor",d:"m469.952 554.24 52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z"})]))}}),edit_default=edit_vue_vue_type_script_setup_true_lang_default,eleme_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ElemeFilled",__name:"eleme-filled",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M176 64h672c61.824 0 112 50.176 112 112v672a112 112 0 0 1-112 112H176A112 112 0 0 1 64 848V176c0-61.824 50.176-112 112-112m150.528 173.568c-152.896 99.968-196.544 304.064-97.408 456.96a330.688 330.688 0 0 0 456.96 96.64c9.216-5.888 17.6-11.776 25.152-18.56a18.24 18.24 0 0 0 4.224-24.32L700.352 724.8a47.552 47.552 0 0 0-65.536-14.272A234.56 234.56 0 0 1 310.592 641.6C240 533.248 271.104 387.968 379.456 316.48a234.304 234.304 0 0 1 276.352 15.168c1.664.832 2.56 2.56 3.392 4.224 5.888 8.384 3.328 19.328-5.12 25.216L456.832 489.6a47.552 47.552 0 0 0-14.336 65.472l16 24.384c5.888 8.384 16.768 10.88 25.216 5.056l308.224-199.936a19.584 19.584 0 0 0 6.72-23.488v-.896c-4.992-9.216-10.048-17.6-15.104-26.88-99.968-151.168-304.064-194.88-456.96-95.744zM786.88 504.704l-62.208 40.32c-8.32 5.888-10.88 16.768-4.992 25.216L760 632.32c5.888 8.448 16.768 11.008 25.152 5.12l31.104-20.16a55.36 55.36 0 0 0 16-76.48l-20.224-31.04a19.52 19.52 0 0 0-25.152-5.12z"})]))}}),eleme_filled_default=eleme_filled_vue_vue_type_script_setup_true_lang_default,eleme_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Eleme",__name:"eleme",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M300.032 188.8c174.72-113.28 408-63.36 522.24 109.44 5.76 10.56 11.52 20.16 17.28 30.72v.96a22.4 22.4 0 0 1-7.68 26.88l-352.32 228.48c-9.6 6.72-22.08 3.84-28.8-5.76l-18.24-27.84a54.336 54.336 0 0 1 16.32-74.88l225.6-146.88c9.6-6.72 12.48-19.2 5.76-28.8-.96-1.92-1.92-3.84-3.84-4.8a267.84 267.84 0 0 0-315.84-17.28c-123.84 81.6-159.36 247.68-78.72 371.52a268.096 268.096 0 0 0 370.56 78.72 54.336 54.336 0 0 1 74.88 16.32l17.28 26.88c5.76 9.6 3.84 21.12-4.8 27.84-8.64 7.68-18.24 14.4-28.8 21.12a377.92 377.92 0 0 1-522.24-110.4c-113.28-174.72-63.36-408 111.36-522.24zm526.08 305.28a22.336 22.336 0 0 1 28.8 5.76l23.04 35.52a63.232 63.232 0 0 1-18.24 87.36l-35.52 23.04c-9.6 6.72-22.08 3.84-28.8-5.76l-46.08-71.04c-6.72-9.6-3.84-22.08 5.76-28.8l71.04-46.08z"})]))}}),eleme_default=eleme_vue_vue_type_script_setup_true_lang_default,element_plus_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ElementPlus",__name:"element-plus",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M839.7 734.7c0 33.3-17.9 41-17.9 41S519.7 949.8 499.2 960c-10.2 5.1-20.5 5.1-30.7 0 0 0-314.9-184.3-325.1-192-5.1-5.1-10.2-12.8-12.8-20.5V368.6c0-17.9 20.5-28.2 20.5-28.2L466 158.6c12.8-5.1 25.6-5.1 38.4 0 0 0 279 161.3 309.8 179.2 17.9 7.7 28.2 25.6 25.6 46.1-.1-5-.1 317.5-.1 350.8M714.2 371.2c-64-35.8-217.6-125.4-217.6-125.4-7.7-5.1-20.5-5.1-30.7 0L217.6 389.1s-17.9 10.2-17.9 23v297c0 5.1 5.1 12.8 7.7 17.9 7.7 5.1 256 148.5 256 148.5 7.7 5.1 17.9 5.1 25.6 0 15.4-7.7 250.9-145.9 250.9-145.9s12.8-5.1 12.8-30.7v-74.2l-276.5 169v-64c0-17.9 7.7-30.7 20.5-46.1L745 535c5.1-7.7 10.2-20.5 10.2-30.7v-66.6l-279 169v-69.1c0-15.4 5.1-30.7 17.9-38.4l220.1-128zM919 135.7c0-5.1-5.1-7.7-7.7-7.7h-58.9V66.6c0-5.1-5.1-5.1-10.2-5.1l-30.7 5.1c-5.1 0-5.1 2.6-5.1 5.1V128h-56.3c-5.1 0-5.1 5.1-7.7 5.1v38.4h69.1v64c0 5.1 5.1 5.1 10.2 5.1l30.7-5.1c5.1 0 5.1-2.6 5.1-5.1v-56.3h64l-2.5-38.4z"})]))}}),element_plus_default=element_plus_vue_vue_type_script_setup_true_lang_default,expand_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Expand",__name:"expand",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 192h768v128H128zm0 256h512v128H128zm0 256h768v128H128zm576-352 192 160-192 128z"})]))}}),expand_default=expand_vue_vue_type_script_setup_true_lang_default,failed_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Failed",__name:"failed",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m557.248 608 135.744-135.744-45.248-45.248-135.68 135.744-135.808-135.68-45.248 45.184L466.752 608l-135.68 135.68 45.184 45.312L512 653.248l135.744 135.744 45.248-45.248L557.312 608zM704 192h160v736H160V192h160v64h384zm-320 0V96h256v96z"})]))}}),failed_default=failed_vue_vue_type_script_setup_true_lang_default,female_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Female",__name:"female",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 640a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),createBaseVNode("path",{fill:"currentColor",d:"M512 640q32 0 32 32v256q0 32-32 32t-32-32V672q0-32 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M352 800h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32"})]))}}),female_default=female_vue_vue_type_script_setup_true_lang_default,files_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Files",__name:"files",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 384v448h768V384zm-32-64h832a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32m64-128h704v64H160zm96-128h512v64H256z"})]))}}),files_default=files_vue_vue_type_script_setup_true_lang_default,film_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Film",__name:"film",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M320 288V128h64v352h256V128h64v160h160v64H704v128h160v64H704v128h160v64H704v160h-64V544H384v352h-64V736H128v-64h192V544H128v-64h192V352H128v-64z"})]))}}),film_default=film_vue_vue_type_script_setup_true_lang_default,filter_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Filter",__name:"filter",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 523.392V928a32 32 0 0 0 46.336 28.608l192-96A32 32 0 0 0 640 832V523.392l280.768-343.104a32 32 0 1 0-49.536-40.576l-288 352A32 32 0 0 0 576 512v300.224l-128 64V512a32 32 0 0 0-7.232-20.288L195.52 192H704a32 32 0 1 0 0-64H128a32 32 0 0 0-24.768 52.288z"})]))}}),filter_default=filter_vue_vue_type_script_setup_true_lang_default,finished_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Finished",__name:"finished",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M280.768 753.728 691.456 167.04a32 32 0 1 1 52.416 36.672L314.24 817.472a32 32 0 0 1-45.44 7.296l-230.4-172.8a32 32 0 0 1 38.4-51.2l203.968 152.96zM736 448a32 32 0 1 1 0-64h192a32 32 0 1 1 0 64zM608 640a32 32 0 0 1 0-64h319.936a32 32 0 1 1 0 64zM480 832a32 32 0 1 1 0-64h447.936a32 32 0 1 1 0 64z"})]))}}),finished_default=finished_vue_vue_type_script_setup_true_lang_default,first_aid_kit_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"FirstAidKit",__name:"first-aid-kit",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M192 256a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V320a64 64 0 0 0-64-64zm0-64h640a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H192A128 128 0 0 1 64 768V320a128 128 0 0 1 128-128"}),createBaseVNode("path",{fill:"currentColor",d:"M544 512h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96v-96a32 32 0 0 1 64 0zM352 128v64h320v-64zm-32-64h384a32 32 0 0 1 32 32v128a32 32 0 0 1-32 32H320a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"})]))}}),first_aid_kit_default=first_aid_kit_vue_vue_type_script_setup_true_lang_default,flag_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Flag",__name:"flag",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M288 128h608L736 384l160 256H288v320h-96V64h96z"})]))}}),flag_default=flag_vue_vue_type_script_setup_true_lang_default,fold_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Fold",__name:"fold",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M896 192H128v128h768zm0 256H384v128h512zm0 256H128v128h768zM320 384 128 512l192 128z"})]))}}),fold_default=fold_vue_vue_type_script_setup_true_lang_default,folder_add_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"FolderAdd",__name:"folder-add",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m384 416V416h64v128h128v64H544v128h-64V608H352v-64z"})]))}}),folder_add_default=folder_add_vue_vue_type_script_setup_true_lang_default,folder_checked_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"FolderChecked",__name:"folder-checked",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m414.08 502.144 180.992-180.992L736.32 494.4 510.08 720.64l-158.4-158.336 45.248-45.312z"})]))}}),folder_checked_default=folder_checked_vue_vue_type_script_setup_true_lang_default,folder_delete_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"FolderDelete",__name:"folder-delete",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m370.752 448-90.496-90.496 45.248-45.248L512 530.752l90.496-90.496 45.248 45.248L557.248 576l90.496 90.496-45.248 45.248L512 621.248l-90.496 90.496-45.248-45.248z"})]))}}),folder_delete_default=folder_delete_vue_vue_type_script_setup_true_lang_default,folder_opened_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"FolderOpened",__name:"folder-opened",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M878.08 448H241.92l-96 384h636.16l96-384zM832 384v-64H485.76L357.504 192H128v448l57.92-231.744A32 32 0 0 1 216.96 384zm-24.96 512H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h287.872l128.384 128H864a32 32 0 0 1 32 32v96h23.04a32 32 0 0 1 31.04 39.744l-112 448A32 32 0 0 1 807.04 896"})]))}}),folder_opened_default=folder_opened_vue_vue_type_script_setup_true_lang_default,folder_remove_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"FolderRemove",__name:"folder-remove",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m256 416h320v64H352z"})]))}}),folder_remove_default=folder_remove_vue_vue_type_script_setup_true_lang_default,folder_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Folder",__name:"folder",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32"})]))}}),folder_default=folder_vue_vue_type_script_setup_true_lang_default,food_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Food",__name:"food",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 352.576V352a288 288 0 0 1 491.072-204.224 192 192 0 0 1 274.24 204.48 64 64 0 0 1 57.216 74.24C921.6 600.512 850.048 710.656 736 756.992V800a96 96 0 0 1-96 96H384a96 96 0 0 1-96-96v-43.008c-114.048-46.336-185.6-156.48-214.528-330.496A64 64 0 0 1 128 352.64zm64-.576h64a160 160 0 0 1 320 0h64a224 224 0 0 0-448 0m128 0h192a96 96 0 0 0-192 0m439.424 0h68.544A128.256 128.256 0 0 0 704 192c-15.36 0-29.952 2.688-43.52 7.616 11.328 18.176 20.672 37.76 27.84 58.304A64.128 64.128 0 0 1 759.424 352M672 768H352v32a32 32 0 0 0 32 32h256a32 32 0 0 0 32-32zm-342.528-64h365.056c101.504-32.64 165.76-124.928 192.896-288H136.576c27.136 163.072 91.392 255.36 192.896 288"})]))}}),food_default=food_vue_vue_type_script_setup_true_lang_default,football_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Football",__name:"football",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896m0-64a384 384 0 1 0 0-768 384 384 0 0 0 0 768"}),createBaseVNode("path",{fill:"currentColor",d:"M186.816 268.288c16-16.384 31.616-31.744 46.976-46.08 17.472 30.656 39.808 58.112 65.984 81.28l-32.512 56.448a385.984 385.984 0 0 1-80.448-91.648zm653.696-5.312a385.92 385.92 0 0 1-83.776 96.96l-32.512-56.384a322.923 322.923 0 0 0 68.48-85.76c15.552 14.08 31.488 29.12 47.808 45.184zM465.984 445.248l11.136-63.104a323.584 323.584 0 0 0 69.76 0l11.136 63.104a387.968 387.968 0 0 1-92.032 0m-62.72-12.8A381.824 381.824 0 0 1 320 396.544l32-55.424a319.885 319.885 0 0 0 62.464 27.712l-11.2 63.488zm300.8-35.84a381.824 381.824 0 0 1-83.328 35.84l-11.2-63.552A319.885 319.885 0 0 0 672 341.184l32 55.424zm-520.768 364.8a385.92 385.92 0 0 1 83.968-97.28l32.512 56.32c-26.88 23.936-49.856 52.352-67.52 84.032-16-13.44-32.32-27.712-48.96-43.072zm657.536.128a1442.759 1442.759 0 0 1-49.024 43.072 321.408 321.408 0 0 0-67.584-84.16l32.512-56.32c33.216 27.456 61.696 60.352 84.096 97.408zM465.92 578.752a387.968 387.968 0 0 1 92.032 0l-11.136 63.104a323.584 323.584 0 0 0-69.76 0zm-62.72 12.8 11.2 63.552a319.885 319.885 0 0 0-62.464 27.712L320 627.392a381.824 381.824 0 0 1 83.264-35.84zm300.8 35.84-32 55.424a318.272 318.272 0 0 0-62.528-27.712l11.2-63.488c29.44 8.64 57.28 20.736 83.264 35.776z"})]))}}),football_default=football_vue_vue_type_script_setup_true_lang_default,fork_spoon_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ForkSpoon",__name:"fork-spoon",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 410.304V96a32 32 0 0 1 64 0v314.304a96 96 0 0 0 64-90.56V96a32 32 0 0 1 64 0v223.744a160 160 0 0 1-128 156.8V928a32 32 0 1 1-64 0V476.544a160 160 0 0 1-128-156.8V96a32 32 0 0 1 64 0v223.744a96 96 0 0 0 64 90.56zM672 572.48C581.184 552.128 512 446.848 512 320c0-141.44 85.952-256 192-256s192 114.56 192 256c0 126.848-69.184 232.128-160 252.48V928a32 32 0 1 1-64 0zM704 512c66.048 0 128-82.56 128-192s-61.952-192-128-192-128 82.56-128 192 61.952 192 128 192"})]))}}),fork_spoon_default=fork_spoon_vue_vue_type_script_setup_true_lang_default,fries_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Fries",__name:"fries",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M608 224v-64a32 32 0 0 0-64 0v336h26.88A64 64 0 0 0 608 484.096zm101.12 160A64 64 0 0 0 672 395.904V384h64V224a32 32 0 1 0-64 0v160zm74.88 0a92.928 92.928 0 0 1 91.328 110.08l-60.672 323.584A96 96 0 0 1 720.32 896H303.68a96 96 0 0 1-94.336-78.336L148.672 494.08A92.928 92.928 0 0 1 240 384h-16V224a96 96 0 0 1 188.608-25.28A95.744 95.744 0 0 1 480 197.44V160a96 96 0 0 1 188.608-25.28A96 96 0 0 1 800 224v160zM670.784 512a128 128 0 0 1-99.904 48H453.12a128 128 0 0 1-99.84-48H352v-1.536a128.128 128.128 0 0 1-9.984-14.976L314.88 448H240a28.928 28.928 0 0 0-28.48 34.304L241.088 640h541.824l29.568-157.696A28.928 28.928 0 0 0 784 448h-74.88l-27.136 47.488A132.405 132.405 0 0 1 672 510.464V512zM480 288a32 32 0 0 0-64 0v196.096A64 64 0 0 0 453.12 496H480zm-128 96V224a32 32 0 0 0-64 0v160zh-37.12A64 64 0 0 1 352 395.904zm-98.88 320 19.072 101.888A32 32 0 0 0 303.68 832h416.64a32 32 0 0 0 31.488-26.112L770.88 704z"})]))}}),fries_default=fries_vue_vue_type_script_setup_true_lang_default,full_screen_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"FullScreen",__name:"full-screen",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64l192-.192zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"})]))}}),full_screen_default=full_screen_vue_vue_type_script_setup_true_lang_default,goblet_full_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"GobletFull",__name:"goblet-full",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 320h512c0-78.592-12.608-142.4-36.928-192h-434.24C269.504 192.384 256 256.256 256 320m503.936 64H264.064a256.128 256.128 0 0 0 495.872 0zM544 638.4V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.4A320 320 0 0 1 192 320c0-85.632 21.312-170.944 64-256h512c42.688 64.32 64 149.632 64 256a320 320 0 0 1-288 318.4"})]))}}),goblet_full_default=goblet_full_vue_vue_type_script_setup_true_lang_default,goblet_square_full_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"GobletSquareFull",__name:"goblet-square-full",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 270.912c10.048 6.72 22.464 14.912 28.992 18.624a220.16 220.16 0 0 0 114.752 30.72c30.592 0 49.408-9.472 91.072-41.152l.64-.448c52.928-40.32 82.368-55.04 132.288-54.656 55.552.448 99.584 20.8 142.72 57.408l1.536 1.28V128H256v142.912zm.96 76.288C266.368 482.176 346.88 575.872 512 576c157.44.064 237.952-85.056 253.248-209.984a952.32 952.32 0 0 1-40.192-35.712c-32.704-27.776-63.36-41.92-101.888-42.24-31.552-.256-50.624 9.28-93.12 41.6l-.576.448c-52.096 39.616-81.024 54.208-129.792 54.208-54.784 0-100.48-13.376-142.784-37.056zM480 638.848C250.624 623.424 192 442.496 192 319.68V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v224c0 122.816-58.624 303.68-288 318.912V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96z"})]))}}),goblet_square_full_default=goblet_square_full_vue_vue_type_script_setup_true_lang_default,goblet_square_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"GobletSquare",__name:"goblet-square",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M544 638.912V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.848C250.624 623.424 192 442.496 192 319.68V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v224c0 122.816-58.624 303.68-288 318.912M256 319.68c0 149.568 80 256.192 256 256.256C688.128 576 768 469.568 768 320V128H256z"})]))}}),goblet_square_default=goblet_square_vue_vue_type_script_setup_true_lang_default,goblet_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Goblet",__name:"goblet",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M544 638.4V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.4A320 320 0 0 1 192 320c0-85.632 21.312-170.944 64-256h512c42.688 64.32 64 149.632 64 256a320 320 0 0 1-288 318.4M256 320a256 256 0 1 0 512 0c0-78.592-12.608-142.4-36.928-192h-434.24C269.504 192.384 256 256.256 256 320"})]))}}),goblet_default=goblet_vue_vue_type_script_setup_true_lang_default,gold_medal_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"GoldMedal",__name:"gold-medal",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m772.13 452.84 53.86-351.81c1.32-10.01-1.17-18.68-7.49-26.02S804.35 64 795.01 64H228.99v-.01h-.06c-9.33 0-17.15 3.67-23.49 11.01s-8.83 16.01-7.49 26.02l53.87 351.89C213.54 505.73 193.59 568.09 192 640c2 90.67 33.17 166.17 93.5 226.5S421.33 957.99 512 960c90.67-2 166.17-33.17 226.5-93.5 60.33-60.34 91.49-135.83 93.5-226.5-1.59-71.94-21.56-134.32-59.87-187.16zM640.01 128h117.02l-39.01 254.02c-20.75-10.64-40.74-19.73-59.94-27.28-5.92-3-11.95-5.8-18.08-8.41V128h.01zM576 128v198.76c-13.18-2.58-26.74-4.43-40.67-5.55-8.07-.8-15.85-1.2-23.33-1.2-10.54 0-21.09.66-31.64 1.96a359.844 359.844 0 0 0-32.36 4.79V128zm-192 0h.04v218.3c-6.22 2.66-12.34 5.5-18.36 8.56-19.13 7.54-39.02 16.6-59.66 27.16L267.01 128zm308.99 692.99c-48 48-108.33 73-180.99 75.01-72.66-2.01-132.99-27.01-180.99-75.01S258.01 712.66 256 640c2.01-72.66 27.01-132.99 75.01-180.99 19.67-19.67 41.41-35.47 65.22-47.41 38.33-15.04 71.15-23.92 98.44-26.65 5.07-.41 10.2-.7 15.39-.88.63-.01 1.28-.03 1.91-.03.66 0 1.35.03 2.02.04 5.11.17 10.15.46 15.13.86 27.4 2.71 60.37 11.65 98.91 26.79 23.71 11.93 45.36 27.69 64.96 47.29 48 48 73 108.33 75.01 180.99-2.01 72.65-27.01 132.98-75.01 180.98z"}),createBaseVNode("path",{fill:"currentColor",d:"M544 480H416v64h64v192h-64v64h192v-64h-64z"})]))}}),gold_medal_default=gold_medal_vue_vue_type_script_setup_true_lang_default,goods_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"GoodsFilled",__name:"goods-filled",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M192 352h640l64 544H128zm128 224h64V448h-64zm320 0h64V448h-64zM384 288h-64a192 192 0 1 1 384 0h-64a128 128 0 1 0-256 0"})]))}}),goods_filled_default=goods_filled_vue_vue_type_script_setup_true_lang_default,goods_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Goods",__name:"goods",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M320 288v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4h131.072a32 32 0 0 1 31.808 28.8l57.6 576a32 32 0 0 1-31.808 35.2H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320zm64 0h256v-22.336C640 189.248 582.272 128 512 128c-70.272 0-128 61.248-128 137.664v22.4zm-64 64H217.92l-51.2 512h690.56l-51.264-512H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0z"})]))}}),goods_default=goods_vue_vue_type_script_setup_true_lang_default,grape_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Grape",__name:"grape",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M544 195.2a160 160 0 0 1 96 60.8 160 160 0 1 1 146.24 254.976 160 160 0 0 1-128 224 160 160 0 1 1-292.48 0 160 160 0 0 1-128-224A160 160 0 1 1 384 256a160 160 0 0 1 96-60.8V128h-64a32 32 0 0 1 0-64h192a32 32 0 0 1 0 64h-64zM512 448a96 96 0 1 0 0-192 96 96 0 0 0 0 192m-256 0a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128 224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128 224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128-224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128-224a96 96 0 1 0 0-192 96 96 0 0 0 0 192"})]))}}),grape_default=grape_vue_vue_type_script_setup_true_lang_default,grid_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Grid",__name:"grid",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M640 384v256H384V384zm64 0h192v256H704zm-64 512H384V704h256zm64 0V704h192v192zm-64-768v192H384V128zm64 0h192v192H704zM320 384v256H128V384zm0 512H128V704h192zm0-768v192H128V128z"})]))}}),grid_default=grid_vue_vue_type_script_setup_true_lang_default,guide_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Guide",__name:"guide",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M640 608h-64V416h64zm0 160v160a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V768h64v128h128V768zM384 608V416h64v192zm256-352h-64V128H448v128h-64V96a32 32 0 0 1 32-32h192a32 32 0 0 1 32 32z"}),createBaseVNode("path",{fill:"currentColor",d:"m220.8 256-71.232 80 71.168 80H768V256H220.8zm-14.4-64H800a32 32 0 0 1 32 32v224a32 32 0 0 1-32 32H206.4a32 32 0 0 1-23.936-10.752l-99.584-112a32 32 0 0 1 0-42.496l99.584-112A32 32 0 0 1 206.4 192m678.784 496-71.104 80H266.816V608h547.2l71.168 80zm-56.768-144H234.88a32 32 0 0 0-32 32v224a32 32 0 0 0 32 32h593.6a32 32 0 0 0 23.936-10.752l99.584-112a32 32 0 0 0 0-42.496l-99.584-112A32 32 0 0 0 828.48 544z"})]))}}),guide_default=guide_vue_vue_type_script_setup_true_lang_default,handbag_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Handbag",__name:"handbag",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M887.01 264.99c-6-5.99-13.67-8.99-23.01-8.99H704c-1.34-54.68-20.01-100.01-56-136s-81.32-54.66-136-56c-54.68 1.34-100.01 20.01-136 56s-54.66 81.32-56 136H160c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.67-8.99 23.01v640c0 9.35 2.99 17.02 8.99 23.01S150.66 960 160 960h704c9.35 0 17.02-2.99 23.01-8.99S896 937.34 896 928V288c0-9.35-2.99-17.02-8.99-23.01M421.5 165.5c24.32-24.34 54.49-36.84 90.5-37.5 35.99.68 66.16 13.18 90.5 37.5s36.84 54.49 37.5 90.5H384c.68-35.99 13.18-66.16 37.5-90.5M832 896H192V320h128v128h64V320h256v128h64V320h128z"})]))}}),handbag_default=handbag_vue_vue_type_script_setup_true_lang_default,headset_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Headset",__name:"headset",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M896 529.152V512a384 384 0 1 0-768 0v17.152A128 128 0 0 1 320 640v128a128 128 0 1 1-256 0V512a448 448 0 1 1 896 0v256a128 128 0 1 1-256 0V640a128 128 0 0 1 192-110.848M896 640a64 64 0 0 0-128 0v128a64 64 0 0 0 128 0zm-768 0v128a64 64 0 0 0 128 0V640a64 64 0 1 0-128 0"})]))}}),headset_default=headset_vue_vue_type_script_setup_true_lang_default,help_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"HelpFilled",__name:"help-filled",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M926.784 480H701.312A192.512 192.512 0 0 0 544 322.688V97.216A416.064 416.064 0 0 1 926.784 480m0 64A416.064 416.064 0 0 1 544 926.784V701.312A192.512 192.512 0 0 0 701.312 544zM97.28 544h225.472A192.512 192.512 0 0 0 480 701.312v225.472A416.064 416.064 0 0 1 97.216 544zm0-64A416.064 416.064 0 0 1 480 97.216v225.472A192.512 192.512 0 0 0 322.688 480H97.216z"})]))}}),help_filled_default=help_filled_vue_vue_type_script_setup_true_lang_default,help_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Help",__name:"help",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m759.936 805.248-90.944-91.008A254.912 254.912 0 0 1 512 768a254.912 254.912 0 0 1-156.992-53.76l-90.944 91.008A382.464 382.464 0 0 0 512 896c94.528 0 181.12-34.176 247.936-90.752m45.312-45.312A382.464 382.464 0 0 0 896 512c0-94.528-34.176-181.12-90.752-247.936l-91.008 90.944C747.904 398.4 768 452.864 768 512c0 59.136-20.096 113.6-53.76 156.992l91.008 90.944zm-45.312-541.184A382.464 382.464 0 0 0 512 128c-94.528 0-181.12 34.176-247.936 90.752l90.944 91.008A254.912 254.912 0 0 1 512 256c59.136 0 113.6 20.096 156.992 53.76l90.944-91.008zm-541.184 45.312A382.464 382.464 0 0 0 128 512c0 94.528 34.176 181.12 90.752 247.936l91.008-90.944A254.912 254.912 0 0 1 256 512c0-59.136 20.096-113.6 53.76-156.992zm417.28 394.496a194.56 194.56 0 0 0 22.528-22.528C686.912 602.56 704 559.232 704 512a191.232 191.232 0 0 0-67.968-146.56A191.296 191.296 0 0 0 512 320a191.232 191.232 0 0 0-146.56 67.968C337.088 421.44 320 464.768 320 512a191.232 191.232 0 0 0 67.968 146.56C421.44 686.912 464.768 704 512 704c47.296 0 90.56-17.088 124.032-45.44zM512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),help_default=help_vue_vue_type_script_setup_true_lang_default,hide_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Hide",__name:"hide",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z"}),createBaseVNode("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z"})]))}}),hide_default=hide_vue_vue_type_script_setup_true_lang_default,histogram_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Histogram",__name:"histogram",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M416 896V128h192v768zm-288 0V448h192v448zm576 0V320h192v576z"})]))}}),histogram_default=histogram_vue_vue_type_script_setup_true_lang_default,home_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"HomeFilled",__name:"home-filled",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 128 128 447.936V896h255.936V640H640v256h255.936V447.936z"})]))}}),home_filled_default=home_filled_vue_vue_type_script_setup_true_lang_default,hot_water_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"HotWater",__name:"hot-water",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M273.067 477.867h477.866V409.6H273.067zm0 68.266v51.2A187.733 187.733 0 0 0 460.8 785.067h102.4a187.733 187.733 0 0 0 187.733-187.734v-51.2H273.067zm-34.134-204.8h546.134a34.133 34.133 0 0 1 34.133 34.134v221.866a256 256 0 0 1-256 256H460.8a256 256 0 0 1-256-256V375.467a34.133 34.133 0 0 1 34.133-34.134zM512 34.133a34.133 34.133 0 0 1 34.133 34.134v170.666a34.133 34.133 0 0 1-68.266 0V68.267A34.133 34.133 0 0 1 512 34.133zM375.467 102.4a34.133 34.133 0 0 1 34.133 34.133v102.4a34.133 34.133 0 0 1-68.267 0v-102.4a34.133 34.133 0 0 1 34.134-34.133m273.066 0a34.133 34.133 0 0 1 34.134 34.133v102.4a34.133 34.133 0 1 1-68.267 0v-102.4a34.133 34.133 0 0 1 34.133-34.133M170.667 921.668h682.666a34.133 34.133 0 1 1 0 68.267H170.667a34.133 34.133 0 1 1 0-68.267z"})]))}}),hot_water_default=hot_water_vue_vue_type_script_setup_true_lang_default,house_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"House",__name:"house",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M192 413.952V896h640V413.952L512 147.328zM139.52 374.4l352-293.312a32 32 0 0 1 40.96 0l352 293.312A32 32 0 0 1 896 398.976V928a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V398.976a32 32 0 0 1 11.52-24.576"})]))}}),house_default=house_vue_vue_type_script_setup_true_lang_default,ice_cream_round_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"IceCreamRound",__name:"ice-cream-round",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m308.352 489.344 226.304 226.304a32 32 0 0 0 45.248 0L783.552 512A192 192 0 1 0 512 240.448L308.352 444.16a32 32 0 0 0 0 45.248zm135.744 226.304L308.352 851.392a96 96 0 0 1-135.744-135.744l135.744-135.744-45.248-45.248a96 96 0 0 1 0-135.808L466.752 195.2A256 256 0 0 1 828.8 557.248L625.152 760.96a96 96 0 0 1-135.808 0l-45.248-45.248zM398.848 670.4 353.6 625.152 217.856 760.896a32 32 0 0 0 45.248 45.248zm248.96-384.64a32 32 0 0 1 0 45.248L466.624 512a32 32 0 1 1-45.184-45.248l180.992-181.056a32 32 0 0 1 45.248 0zm90.496 90.496a32 32 0 0 1 0 45.248L557.248 602.496A32 32 0 1 1 512 557.248l180.992-180.992a32 32 0 0 1 45.312 0z"})]))}}),ice_cream_round_default=ice_cream_round_vue_vue_type_script_setup_true_lang_default,ice_cream_square_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"IceCreamSquare",__name:"ice-cream-square",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M416 640h256a32 32 0 0 0 32-32V160a32 32 0 0 0-32-32H352a32 32 0 0 0-32 32v448a32 32 0 0 0 32 32zm192 64v160a96 96 0 0 1-192 0V704h-64a96 96 0 0 1-96-96V160a96 96 0 0 1 96-96h320a96 96 0 0 1 96 96v448a96 96 0 0 1-96 96zm-64 0h-64v160a32 32 0 1 0 64 0z"})]))}}),ice_cream_square_default=ice_cream_square_vue_vue_type_script_setup_true_lang_default,ice_cream_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"IceCream",__name:"ice-cream",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128.64 448a208 208 0 0 1 193.536-191.552 224 224 0 0 1 445.248 15.488A208.128 208.128 0 0 1 894.784 448H896L548.8 983.68a32 32 0 0 1-53.248.704L128 448zm64.256 0h286.208a144 144 0 0 0-286.208 0zm351.36 0h286.272a144 144 0 0 0-286.272 0zm-294.848 64 271.808 396.608L778.24 512H249.408zM511.68 352.64a207.872 207.872 0 0 1 189.184-96.192 160 160 0 0 0-314.752 5.632c52.608 12.992 97.28 46.08 125.568 90.56"})]))}}),ice_cream_default=ice_cream_vue_vue_type_script_setup_true_lang_default,ice_drink_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"IceDrink",__name:"ice-drink",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 448v128h239.68l16.064-128zm-64 0H256.256l16.064 128H448zm64-255.36V384h247.744A256.128 256.128 0 0 0 512 192.64m-64 8.064A256.448 256.448 0 0 0 264.256 384H448zm64-72.064A320.128 320.128 0 0 1 825.472 384H896a32 32 0 1 1 0 64h-64v1.92l-56.96 454.016A64 64 0 0 1 711.552 960H312.448a64 64 0 0 1-63.488-56.064L192 449.92V448h-64a32 32 0 0 1 0-64h70.528A320.384 320.384 0 0 1 448 135.04V96a96 96 0 0 1 96-96h128a32 32 0 1 1 0 64H544a32 32 0 0 0-32 32zM743.68 640H280.32l32.128 256h399.104z"})]))}}),ice_drink_default=ice_drink_vue_vue_type_script_setup_true_lang_default,ice_tea_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"IceTea",__name:"ice-tea",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M197.696 259.648a320.128 320.128 0 0 1 628.608 0A96 96 0 0 1 896 352v64a96 96 0 0 1-71.616 92.864l-49.408 395.072A64 64 0 0 1 711.488 960H312.512a64 64 0 0 1-63.488-56.064l-49.408-395.072A96 96 0 0 1 128 416v-64a96 96 0 0 1 69.696-92.352M264.064 256h495.872a256.128 256.128 0 0 0-495.872 0m495.424 256H264.512l48 384h398.976zM224 448h576a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32H224a32 32 0 0 0-32 32v64a32 32 0 0 0 32 32m160 192h64v64h-64zm192 64h64v64h-64zm-128 64h64v64h-64zm64-192h64v64h-64z"})]))}}),ice_tea_default=ice_tea_vue_vue_type_script_setup_true_lang_default,info_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"InfoFilled",__name:"info-filled",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"})]))}}),info_filled_default=info_filled_vue_vue_type_script_setup_true_lang_default,iphone_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Iphone",__name:"iphone",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 768v96.064a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V768zm0-64h576V160a64 64 0 0 0-64-64H288a64 64 0 0 0-64 64zm32 288a96 96 0 0 1-96-96V128a96 96 0 0 1 96-96h512a96 96 0 0 1 96 96v768a96 96 0 0 1-96 96zm304-144a48 48 0 1 1-96 0 48 48 0 0 1 96 0"})]))}}),iphone_default=iphone_vue_vue_type_script_setup_true_lang_default,key_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Key",__name:"key",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M448 456.064V96a32 32 0 0 1 32-32.064L672 64a32 32 0 0 1 0 64H512v128h160a32 32 0 0 1 0 64H512v128a256 256 0 1 1-64 8.064M512 896a192 192 0 1 0 0-384 192 192 0 0 0 0 384"})]))}}),key_default=key_vue_vue_type_script_setup_true_lang_default,knife_fork_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"KnifeFork",__name:"knife-fork",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 410.56V96a32 32 0 0 1 64 0v314.56A96 96 0 0 0 384 320V96a32 32 0 0 1 64 0v224a160 160 0 0 1-128 156.8V928a32 32 0 1 1-64 0V476.8A160 160 0 0 1 128 320V96a32 32 0 0 1 64 0v224a96 96 0 0 0 64 90.56m384-250.24V544h126.72c-3.328-78.72-12.928-147.968-28.608-207.744-14.336-54.528-46.848-113.344-98.112-175.872zM640 608v320a32 32 0 1 1-64 0V64h64c85.312 89.472 138.688 174.848 160 256 21.312 81.152 32 177.152 32 288z"})]))}}),knife_fork_default=knife_fork_vue_vue_type_script_setup_true_lang_default,lightning_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Lightning",__name:"lightning",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M288 671.36v64.128A239.808 239.808 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 736 734.016v-64.768a192 192 0 0 0 3.328-377.92l-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 91.968 70.464 167.36 160.256 175.232z"}),createBaseVNode("path",{fill:"currentColor",d:"M416 736a32 32 0 0 1-27.776-47.872l128-224a32 32 0 1 1 55.552 31.744L471.168 672H608a32 32 0 0 1 27.776 47.872l-128 224a32 32 0 1 1-55.68-31.744L552.96 736z"})]))}}),lightning_default=lightning_vue_vue_type_script_setup_true_lang_default,link_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Link",__name:"link",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M715.648 625.152 670.4 579.904l90.496-90.56c75.008-74.944 85.12-186.368 22.656-248.896-62.528-62.464-173.952-52.352-248.96 22.656L444.16 353.6l-45.248-45.248 90.496-90.496c100.032-99.968 251.968-110.08 339.456-22.656 87.488 87.488 77.312 239.424-22.656 339.456l-90.496 90.496zm-90.496 90.496-90.496 90.496C434.624 906.112 282.688 916.224 195.2 828.8c-87.488-87.488-77.312-239.424 22.656-339.456l90.496-90.496 45.248 45.248-90.496 90.56c-75.008 74.944-85.12 186.368-22.656 248.896 62.528 62.464 173.952 52.352 248.96-22.656l90.496-90.496zm0-362.048 45.248 45.248L398.848 670.4 353.6 625.152z"})]))}}),link_default=link_vue_vue_type_script_setup_true_lang_default,list_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"List",__name:"list",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M704 192h160v736H160V192h160v64h384zM288 512h448v-64H288zm0 256h448v-64H288zm96-576V96h256v96z"})]))}}),list_default=list_vue_vue_type_script_setup_true_lang_default,loading_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Loading",__name:"loading",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"})]))}}),loading_default=loading_vue_vue_type_script_setup_true_lang_default,location_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"LocationFilled",__name:"location-filled",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 928c23.936 0 117.504-68.352 192.064-153.152C803.456 661.888 864 535.808 864 416c0-189.632-155.84-320-352-320S160 226.368 160 416c0 120.32 60.544 246.4 159.936 359.232C394.432 859.84 488 928 512 928m0-435.2a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 140.8a204.8 204.8 0 1 1 0-409.6 204.8 204.8 0 0 1 0 409.6"})]))}}),location_filled_default=location_filled_vue_vue_type_script_setup_true_lang_default,location_information_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"LocationInformation",__name:"location-information",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),createBaseVNode("path",{fill:"currentColor",d:"M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320"})]))}}),location_information_default=location_information_vue_vue_type_script_setup_true_lang_default,location_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Location",__name:"location",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),createBaseVNode("path",{fill:"currentColor",d:"M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320"})]))}}),location_default=location_vue_vue_type_script_setup_true_lang_default,lock_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Lock",__name:"lock",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96"}),createBaseVNode("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m192-160v-64a192 192 0 1 0-384 0v64zM512 64a256 256 0 0 1 256 256v128H256V320A256 256 0 0 1 512 64"})]))}}),lock_default=lock_vue_vue_type_script_setup_true_lang_default,lollipop_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Lollipop",__name:"lollipop",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M513.28 448a64 64 0 1 1 76.544 49.728A96 96 0 0 0 768 448h64a160 160 0 0 1-320 0zm-126.976-29.696a256 256 0 1 0 43.52-180.48A256 256 0 0 1 832 448h-64a192 192 0 0 0-381.696-29.696m105.664 249.472L285.696 874.048a96 96 0 0 1-135.68-135.744l206.208-206.272a320 320 0 1 1 135.744 135.744zm-54.464-36.032a321.92 321.92 0 0 1-45.248-45.248L195.2 783.552a32 32 0 1 0 45.248 45.248l197.056-197.12z"})]))}}),lollipop_default=lollipop_vue_vue_type_script_setup_true_lang_default,magic_stick_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"MagicStick",__name:"magic-stick",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64h64v192h-64zm0 576h64v192h-64zM160 480v-64h192v64zm576 0v-64h192v64zM249.856 199.04l45.248-45.184L430.848 289.6 385.6 334.848 249.856 199.104zM657.152 606.4l45.248-45.248 135.744 135.744-45.248 45.248zM114.048 923.2 68.8 877.952l316.8-316.8 45.248 45.248zM702.4 334.848 657.152 289.6l135.744-135.744 45.248 45.248z"})]))}}),magic_stick_default=magic_stick_vue_vue_type_script_setup_true_lang_default,magnet_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Magnet",__name:"magnet",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M832 320V192H704v320a192 192 0 1 1-384 0V192H192v128h128v64H192v128a320 320 0 0 0 640 0V384H704v-64zM640 512V128h256v384a384 384 0 1 1-768 0V128h256v384a128 128 0 1 0 256 0"})]))}}),magnet_default=magnet_vue_vue_type_script_setup_true_lang_default,male_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Male",__name:"male",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M399.5 849.5a225 225 0 1 0 0-450 225 225 0 0 0 0 450m0 56.25a281.25 281.25 0 1 1 0-562.5 281.25 281.25 0 0 1 0 562.5m253.125-787.5h225q28.125 0 28.125 28.125T877.625 174.5h-225q-28.125 0-28.125-28.125t28.125-28.125"}),createBaseVNode("path",{fill:"currentColor",d:"M877.625 118.25q28.125 0 28.125 28.125v225q0 28.125-28.125 28.125T849.5 371.375v-225q0-28.125 28.125-28.125"}),createBaseVNode("path",{fill:"currentColor",d:"M604.813 458.9 565.1 419.131l292.613-292.668 39.825 39.824z"})]))}}),male_default=male_vue_vue_type_script_setup_true_lang_default,management_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Management",__name:"management",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M576 128v288l96-96 96 96V128h128v768H320V128zm-448 0h128v768H128z"})]))}}),management_default=management_vue_vue_type_script_setup_true_lang_default,map_location_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"MapLocation",__name:"map-location",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),createBaseVNode("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256m345.6 192L960 960H672v-64H352v64H64l102.4-256zm-68.928 0H235.328l-76.8 192h706.944z"})]))}}),map_location_default=map_location_vue_vue_type_script_setup_true_lang_default,medal_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Medal",__name:"medal",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),createBaseVNode("path",{fill:"currentColor",d:"M576 128H448v200a286.72 286.72 0 0 1 64-8c19.52 0 40.832 2.688 64 8zm64 0v219.648c24.448 9.088 50.56 20.416 78.4 33.92L757.44 128zm-256 0H266.624l39.04 253.568c27.84-13.504 53.888-24.832 78.336-33.92V128zM229.312 64h565.376a32 32 0 0 1 31.616 36.864L768 480c-113.792-64-199.104-96-256-96-56.896 0-142.208 32-256 96l-58.304-379.136A32 32 0 0 1 229.312 64"})]))}}),medal_default=medal_vue_vue_type_script_setup_true_lang_default,memo_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Memo",__name:"memo",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M480 320h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32"}),createBaseVNode("path",{fill:"currentColor",d:"M887.01 72.99C881.01 67 873.34 64 864 64H160c-9.35 0-17.02 3-23.01 8.99C131 78.99 128 86.66 128 96v832c0 9.35 2.99 17.02 8.99 23.01S150.66 960 160 960h704c9.35 0 17.02-2.99 23.01-8.99S896 937.34 896 928V96c0-9.35-3-17.02-8.99-23.01M192 896V128h96v768zm640 0H352V128h480z"}),createBaseVNode("path",{fill:"currentColor",d:"M480 512h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32m0 192h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32"})]))}}),memo_default=memo_vue_vue_type_script_setup_true_lang_default,menu_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Menu",__name:"menu",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 448a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zM160 896a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32z"})]))}}),menu_default=menu_vue_vue_type_script_setup_true_lang_default,message_box_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"MessageBox",__name:"message-box",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M288 384h448v64H288zm96-128h256v64H384zM131.456 512H384v128h256V512h252.544L721.856 192H302.144zM896 576H704v128H320V576H128v256h768zM275.776 128h472.448a32 32 0 0 1 28.608 17.664l179.84 359.552A32 32 0 0 1 960 519.552V864a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V519.552a32 32 0 0 1 3.392-14.336l179.776-359.552A32 32 0 0 1 275.776 128z"})]))}}),message_box_default=message_box_vue_vue_type_script_setup_true_lang_default,message_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Message",__name:"message",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 224v512a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V224zm0-64h768a64 64 0 0 1 64 64v512a128 128 0 0 1-128 128H192A128 128 0 0 1 64 736V224a64 64 0 0 1 64-64"}),createBaseVNode("path",{fill:"currentColor",d:"M904 224 656.512 506.88a192 192 0 0 1-289.024 0L120 224zm-698.944 0 210.56 240.704a128 128 0 0 0 192.704 0L818.944 224H205.056"})]))}}),message_default=message_vue_vue_type_script_setup_true_lang_default,mic_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Mic",__name:"mic",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M480 704h160a64 64 0 0 0 64-64v-32h-96a32 32 0 0 1 0-64h96v-96h-96a32 32 0 0 1 0-64h96v-96h-96a32 32 0 0 1 0-64h96v-32a64 64 0 0 0-64-64H384a64 64 0 0 0-64 64v32h96a32 32 0 0 1 0 64h-96v96h96a32 32 0 0 1 0 64h-96v96h96a32 32 0 0 1 0 64h-96v32a64 64 0 0 0 64 64zm64 64v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768h-96a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64h256a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128z"})]))}}),mic_default=mic_vue_vue_type_script_setup_true_lang_default,microphone_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Microphone",__name:"microphone",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 128a128 128 0 0 0-128 128v256a128 128 0 1 0 256 0V256a128 128 0 0 0-128-128m0-64a192 192 0 0 1 192 192v256a192 192 0 1 1-384 0V256A192 192 0 0 1 512 64m-32 832v-64a288 288 0 0 1-288-288v-32a32 32 0 0 1 64 0v32a224 224 0 0 0 224 224h64a224 224 0 0 0 224-224v-32a32 32 0 1 1 64 0v32a288 288 0 0 1-288 288v64h64a32 32 0 1 1 0 64H416a32 32 0 1 1 0-64z"})]))}}),microphone_default=microphone_vue_vue_type_script_setup_true_lang_default,milk_tea_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"MilkTea",__name:"milk-tea",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M416 128V96a96 96 0 0 1 96-96h128a32 32 0 1 1 0 64H512a32 32 0 0 0-32 32v32h320a96 96 0 0 1 11.712 191.296l-39.68 581.056A64 64 0 0 1 708.224 960H315.776a64 64 0 0 1-63.872-59.648l-39.616-581.056A96 96 0 0 1 224 128zM276.48 320l39.296 576h392.448l4.8-70.784a224.064 224.064 0 0 1 30.016-439.808L747.52 320zM224 256h576a32 32 0 1 0 0-64H224a32 32 0 0 0 0 64m493.44 503.872 21.12-309.12a160 160 0 0 0-21.12 309.12"})]))}}),milk_tea_default=milk_tea_vue_vue_type_script_setup_true_lang_default,minus_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Minus",__name:"minus",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"})]))}}),minus_default=minus_vue_vue_type_script_setup_true_lang_default,money_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Money",__name:"money",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 640v192h640V384H768v-64h150.976c14.272 0 19.456 1.472 24.64 4.288a29.056 29.056 0 0 1 12.16 12.096c2.752 5.184 4.224 10.368 4.224 24.64v493.952c0 14.272-1.472 19.456-4.288 24.64a29.056 29.056 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H233.024c-14.272 0-19.456-1.472-24.64-4.288a29.056 29.056 0 0 1-12.16-12.096c-2.688-5.184-4.224-10.368-4.224-24.576V640z"}),createBaseVNode("path",{fill:"currentColor",d:"M768 192H128v448h640zm64-22.976v493.952c0 14.272-1.472 19.456-4.288 24.64a29.056 29.056 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H105.024c-14.272 0-19.456-1.472-24.64-4.288a29.056 29.056 0 0 1-12.16-12.096C65.536 682.432 64 677.248 64 663.04V169.024c0-14.272 1.472-19.456 4.288-24.64a29.056 29.056 0 0 1 12.096-12.16C85.568 129.536 90.752 128 104.96 128h685.952c14.272 0 19.456 1.472 24.64 4.288a29.056 29.056 0 0 1 12.16 12.096c2.752 5.184 4.224 10.368 4.224 24.64z"}),createBaseVNode("path",{fill:"currentColor",d:"M448 576a160 160 0 1 1 0-320 160 160 0 0 1 0 320m0-64a96 96 0 1 0 0-192 96 96 0 0 0 0 192"})]))}}),money_default=money_vue_vue_type_script_setup_true_lang_default,monitor_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Monitor",__name:"monitor",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M544 768v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768H192A128 128 0 0 1 64 640V256a128 128 0 0 1 128-128h640a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128zM192 192a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64z"})]))}}),monitor_default=monitor_vue_vue_type_script_setup_true_lang_default,moon_night_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"MoonNight",__name:"moon-night",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 512a448 448 0 0 1 215.872-383.296A384 384 0 0 0 213.76 640h188.8A448.256 448.256 0 0 1 384 512M171.136 704a448 448 0 0 1 636.992-575.296A384 384 0 0 0 499.328 704h-328.32z"}),createBaseVNode("path",{fill:"currentColor",d:"M32 640h960q32 0 32 32t-32 32H32q-32 0-32-32t32-32m128 128h384a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m160 127.68 224 .256a32 32 0 0 1 32 32V928a32 32 0 0 1-32 32l-224-.384a32 32 0 0 1-32-32v-.064a32 32 0 0 1 32-32z"})]))}}),moon_night_default=moon_night_vue_vue_type_script_setup_true_lang_default,moon_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Moon",__name:"moon",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M240.448 240.448a384 384 0 1 0 559.424 525.696 448 448 0 0 1-542.016-542.08 390.592 390.592 0 0 0-17.408 16.384zm181.056 362.048a384 384 0 0 0 525.632 16.384A448 448 0 1 1 405.056 76.8a384 384 0 0 0 16.448 525.696"})]))}}),moon_default=moon_vue_vue_type_script_setup_true_lang_default,more_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"MoreFilled",__name:"more-filled",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}}),more_filled_default=more_filled_vue_vue_type_script_setup_true_lang_default,more_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"More",__name:"more",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96"})]))}}),more_default=more_vue_vue_type_script_setup_true_lang_default,mostly_cloudy_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"MostlyCloudy",__name:"mostly-cloudy",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M737.216 357.952 704 349.824l-11.776-32a192.064 192.064 0 0 0-367.424 23.04l-8.96 39.04-39.04 8.96A192.064 192.064 0 0 0 320 768h368a207.808 207.808 0 0 0 207.808-208 208.32 208.32 0 0 0-158.592-202.048m15.168-62.208A272.32 272.32 0 0 1 959.744 560a271.808 271.808 0 0 1-271.552 272H320a256 256 0 0 1-57.536-505.536 256.128 256.128 0 0 1 489.92-30.72"})]))}}),mostly_cloudy_default=mostly_cloudy_vue_vue_type_script_setup_true_lang_default,mouse_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Mouse",__name:"mouse",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M438.144 256c-68.352 0-92.736 4.672-117.76 18.112-20.096 10.752-35.52 26.176-46.272 46.272C260.672 345.408 256 369.792 256 438.144v275.712c0 68.352 4.672 92.736 18.112 117.76 10.752 20.096 26.176 35.52 46.272 46.272C345.408 891.328 369.792 896 438.144 896h147.712c68.352 0 92.736-4.672 117.76-18.112 20.096-10.752 35.52-26.176 46.272-46.272C763.328 806.592 768 782.208 768 713.856V438.144c0-68.352-4.672-92.736-18.112-117.76a110.464 110.464 0 0 0-46.272-46.272C678.592 260.672 654.208 256 585.856 256zm0-64h147.712c85.568 0 116.608 8.96 147.904 25.6 31.36 16.768 55.872 41.344 72.576 72.64C823.104 321.536 832 352.576 832 438.08v275.84c0 85.504-8.96 116.544-25.6 147.84a174.464 174.464 0 0 1-72.64 72.576C702.464 951.104 671.424 960 585.92 960H438.08c-85.504 0-116.544-8.96-147.84-25.6a174.464 174.464 0 0 1-72.64-72.704c-16.768-31.296-25.664-62.336-25.664-147.84v-275.84c0-85.504 8.96-116.544 25.6-147.84a174.464 174.464 0 0 1 72.768-72.576c31.232-16.704 62.272-25.6 147.776-25.6z"}),createBaseVNode("path",{fill:"currentColor",d:"M512 320q32 0 32 32v128q0 32-32 32t-32-32V352q0-32 32-32m32-96a32 32 0 0 1-64 0v-64a32 32 0 0 0-32-32h-96a32 32 0 0 1 0-64h96a96 96 0 0 1 96 96z"})]))}}),mouse_default=mouse_vue_vue_type_script_setup_true_lang_default,mug_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Mug",__name:"mug",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M736 800V160H160v640a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64m64-544h63.552a96 96 0 0 1 96 96v224a96 96 0 0 1-96 96H800v128a128 128 0 0 1-128 128H224A128 128 0 0 1 96 800V128a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 64v288h63.552a32 32 0 0 0 32-32V352a32 32 0 0 0-32-32z"})]))}}),mug_default=mug_vue_vue_type_script_setup_true_lang_default,mute_notification_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"MuteNotification",__name:"mute-notification",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m241.216 832 63.616-64H768V448c0-42.368-10.24-82.304-28.48-117.504l46.912-47.232C815.36 331.392 832 387.84 832 448v320h96a32 32 0 1 1 0 64zm-90.24 0H96a32 32 0 1 1 0-64h96V448a320.128 320.128 0 0 1 256-313.6V128a64 64 0 1 1 128 0v6.4a319.552 319.552 0 0 1 171.648 97.088l-45.184 45.44A256 256 0 0 0 256 448v278.336L151.04 832zM448 896h128a64 64 0 0 1-128 0"}),createBaseVNode("path",{fill:"currentColor",d:"M150.72 859.072a32 32 0 0 1-45.44-45.056l704-708.544a32 32 0 0 1 45.44 45.056l-704 708.544z"})]))}}),mute_notification_default=mute_notification_vue_vue_type_script_setup_true_lang_default,mute_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Mute",__name:"mute",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m412.16 592.128-45.44 45.44A191.232 191.232 0 0 1 320 512V256a192 192 0 1 1 384 0v44.352l-64 64V256a128 128 0 1 0-256 0v256c0 30.336 10.56 58.24 28.16 80.128m51.968 38.592A128 128 0 0 0 640 512v-57.152l64-64V512a192 192 0 0 1-287.68 166.528zM314.88 779.968l46.144-46.08A222.976 222.976 0 0 0 480 768h64a224 224 0 0 0 224-224v-32a32 32 0 1 1 64 0v32a288 288 0 0 1-288 288v64h64a32 32 0 1 1 0 64H416a32 32 0 1 1 0-64h64v-64c-61.44 0-118.4-19.2-165.12-52.032M266.752 737.6A286.976 286.976 0 0 1 192 544v-32a32 32 0 0 1 64 0v32c0 56.832 21.184 108.8 56.064 148.288z"}),createBaseVNode("path",{fill:"currentColor",d:"M150.72 859.072a32 32 0 0 1-45.44-45.056l704-708.544a32 32 0 0 1 45.44 45.056l-704 708.544z"})]))}}),mute_default=mute_vue_vue_type_script_setup_true_lang_default,no_smoking_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"NoSmoking",__name:"no-smoking",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M440.256 576H256v128h56.256l-64 64H224a32 32 0 0 1-32-32V544a32 32 0 0 1 32-32h280.256zm143.488 128H704V583.744L775.744 512H928a32 32 0 0 1 32 32v192a32 32 0 0 1-32 32H519.744zM768 576v128h128V576zm-29.696-207.552 45.248 45.248-497.856 497.856-45.248-45.248zM256 64h64v320h-64zM128 192h64v192h-64zM64 512h64v256H64z"})]))}}),no_smoking_default=no_smoking_vue_vue_type_script_setup_true_lang_default,notebook_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Notebook",__name:"notebook",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M192 128v768h640V128zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M672 128h64v768h-64zM96 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32"})]))}}),notebook_default=notebook_vue_vue_type_script_setup_true_lang_default,notification_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Notification",__name:"notification",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 128v64H256a64 64 0 0 0-64 64v512a64 64 0 0 0 64 64h512a64 64 0 0 0 64-64V512h64v256a128 128 0 0 1-128 128H256a128 128 0 0 1-128-128V256a128 128 0 0 1 128-128z"}),createBaseVNode("path",{fill:"currentColor",d:"M768 384a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"})]))}}),notification_default=notification_vue_vue_type_script_setup_true_lang_default,odometer_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Odometer",__name:"odometer",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M192 512a320 320 0 1 1 640 0 32 32 0 1 1-64 0 256 256 0 1 0-512 0 32 32 0 0 1-64 0"}),createBaseVNode("path",{fill:"currentColor",d:"M570.432 627.84A96 96 0 1 1 509.568 608l60.992-187.776A32 32 0 1 1 631.424 440l-60.992 187.776zM502.08 734.464a32 32 0 1 0 19.84-60.928 32 32 0 0 0-19.84 60.928"})]))}}),odometer_default=odometer_vue_vue_type_script_setup_true_lang_default,office_building_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"OfficeBuilding",__name:"office-building",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M192 128v704h384V128zm-32-64h448a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M256 256h256v64H256zm0 192h256v64H256zm0 192h256v64H256zm384-128h128v64H640zm0 128h128v64H640zM64 832h896v64H64z"}),createBaseVNode("path",{fill:"currentColor",d:"M640 384v448h192V384zm-32-64h256a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H608a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32"})]))}}),office_building_default=office_building_vue_vue_type_script_setup_true_lang_default,open_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Open",__name:"open",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M329.956 257.138a254.862 254.862 0 0 0 0 509.724h364.088a254.862 254.862 0 0 0 0-509.724zm0-72.818h364.088a327.68 327.68 0 1 1 0 655.36H329.956a327.68 327.68 0 1 1 0-655.36z"}),createBaseVNode("path",{fill:"currentColor",d:"M694.044 621.227a109.227 109.227 0 1 0 0-218.454 109.227 109.227 0 0 0 0 218.454m0 72.817a182.044 182.044 0 1 1 0-364.088 182.044 182.044 0 0 1 0 364.088"})]))}}),open_default=open_vue_vue_type_script_setup_true_lang_default,operation_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Operation",__name:"operation",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M389.44 768a96.064 96.064 0 0 1 181.12 0H896v64H570.56a96.064 96.064 0 0 1-181.12 0H128v-64zm192-288a96.064 96.064 0 0 1 181.12 0H896v64H762.56a96.064 96.064 0 0 1-181.12 0H128v-64zm-320-288a96.064 96.064 0 0 1 181.12 0H896v64H442.56a96.064 96.064 0 0 1-181.12 0H128v-64z"})]))}}),operation_default=operation_vue_vue_type_script_setup_true_lang_default,opportunity_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Opportunity",__name:"opportunity",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 960v-64h192.064v64zm448-544a350.656 350.656 0 0 1-128.32 271.424C665.344 719.04 640 763.776 640 813.504V832H320v-14.336c0-48-19.392-95.36-57.216-124.992a351.552 351.552 0 0 1-128.448-344.256c25.344-136.448 133.888-248.128 269.76-276.48A352.384 352.384 0 0 1 832 416m-544 32c0-132.288 75.904-224 192-224v-64c-154.432 0-256 122.752-256 288z"})]))}}),opportunity_default=opportunity_vue_vue_type_script_setup_true_lang_default,orange_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Orange",__name:"orange",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M544 894.72a382.336 382.336 0 0 0 215.936-89.472L577.024 622.272c-10.24 6.016-21.248 10.688-33.024 13.696v258.688zm261.248-134.784A382.336 382.336 0 0 0 894.656 544H635.968c-3.008 11.776-7.68 22.848-13.696 33.024l182.976 182.912zM894.656 480a382.336 382.336 0 0 0-89.408-215.936L622.272 446.976c6.016 10.24 10.688 21.248 13.696 33.024h258.688zm-134.72-261.248A382.336 382.336 0 0 0 544 129.344v258.688c11.776 3.008 22.848 7.68 33.024 13.696zM480 129.344a382.336 382.336 0 0 0-215.936 89.408l182.912 182.976c10.24-6.016 21.248-10.688 33.024-13.696zm-261.248 134.72A382.336 382.336 0 0 0 129.344 480h258.688c3.008-11.776 7.68-22.848 13.696-33.024zM129.344 544a382.336 382.336 0 0 0 89.408 215.936l182.976-182.912A127.232 127.232 0 0 1 388.032 544zm134.72 261.248A382.336 382.336 0 0 0 480 894.656V635.968a127.232 127.232 0 0 1-33.024-13.696zM512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896m0-384a64 64 0 1 0 0-128 64 64 0 0 0 0 128"})]))}}),orange_default=orange_vue_vue_type_script_setup_true_lang_default,paperclip_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Paperclip",__name:"paperclip",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M602.496 240.448A192 192 0 1 1 874.048 512l-316.8 316.8A256 256 0 0 1 195.2 466.752L602.496 59.456l45.248 45.248L240.448 512A192 192 0 0 0 512 783.552l316.8-316.8a128 128 0 1 0-181.056-181.056L353.6 579.904a32 32 0 1 0 45.248 45.248l294.144-294.144 45.312 45.248L444.096 670.4a96 96 0 1 1-135.744-135.744l294.144-294.208z"})]))}}),paperclip_default=paperclip_vue_vue_type_script_setup_true_lang_default,partly_cloudy_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"PartlyCloudy",__name:"partly-cloudy",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M598.4 895.872H328.192a256 256 0 0 1-34.496-510.528A352 352 0 1 1 598.4 895.872m-271.36-64h272.256a288 288 0 1 0-248.512-417.664L335.04 445.44l-34.816 3.584a192 192 0 0 0 26.88 382.848z"}),createBaseVNode("path",{fill:"currentColor",d:"M139.84 501.888a256 256 0 1 1 417.856-277.12c-17.728 2.176-38.208 8.448-61.504 18.816A192 192 0 1 0 189.12 460.48a6003.84 6003.84 0 0 0-49.28 41.408z"})]))}}),partly_cloudy_default=partly_cloudy_vue_vue_type_script_setup_true_lang_default,pear_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Pear",__name:"pear",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M542.336 258.816a443.255 443.255 0 0 0-9.024 25.088 32 32 0 1 1-60.8-20.032l1.088-3.328a162.688 162.688 0 0 0-122.048 131.392l-17.088 102.72-20.736 15.36C256.192 552.704 224 610.88 224 672c0 120.576 126.4 224 288 224s288-103.424 288-224c0-61.12-32.192-119.296-89.728-161.92l-20.736-15.424-17.088-102.72a162.688 162.688 0 0 0-130.112-133.12zm-40.128-66.56c7.936-15.552 16.576-30.08 25.92-43.776 23.296-33.92 49.408-59.776 78.528-77.12a32 32 0 1 1 32.704 55.04c-20.544 12.224-40.064 31.552-58.432 58.304a316.608 316.608 0 0 0-9.792 15.104 226.688 226.688 0 0 1 164.48 181.568l12.8 77.248C819.456 511.36 864 587.392 864 672c0 159.04-157.568 288-352 288S160 831.04 160 672c0-84.608 44.608-160.64 115.584-213.376l12.8-77.248a226.624 226.624 0 0 1 213.76-189.184z"})]))}}),pear_default=pear_vue_vue_type_script_setup_true_lang_default,phone_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"PhoneFilled",__name:"phone-filled",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M199.232 125.568 90.624 379.008a32 32 0 0 0 6.784 35.2l512.384 512.384a32 32 0 0 0 35.2 6.784l253.44-108.608a32 32 0 0 0 10.048-52.032L769.6 633.92a32 32 0 0 0-36.928-5.952l-130.176 65.088-271.488-271.552 65.024-130.176a32 32 0 0 0-5.952-36.928L251.2 115.52a32 32 0 0 0-51.968 10.048z"})]))}}),phone_filled_default=phone_filled_vue_vue_type_script_setup_true_lang_default,phone_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Phone",__name:"phone",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M79.36 432.256 591.744 944.64a32 32 0 0 0 35.2 6.784l253.44-108.544a32 32 0 0 0 9.984-52.032l-153.856-153.92a32 32 0 0 0-36.928-6.016l-69.888 34.944L358.08 394.24l35.008-69.888a32 32 0 0 0-5.952-36.928L233.152 133.568a32 32 0 0 0-52.032 10.048L72.512 397.056a32 32 0 0 0 6.784 35.2zm60.48-29.952 81.536-190.08L325.568 316.48l-24.64 49.216-20.608 41.216 32.576 32.64 271.552 271.552 32.64 32.64 41.216-20.672 49.28-24.576 104.192 104.128-190.08 81.472L139.84 402.304zM512 320v-64a256 256 0 0 1 256 256h-64a192 192 0 0 0-192-192m0-192V64a448 448 0 0 1 448 448h-64a384 384 0 0 0-384-384"})]))}}),phone_default=phone_vue_vue_type_script_setup_true_lang_default,picture_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"PictureFilled",__name:"picture-filled",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M96 896a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h832a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32zm315.52-228.48-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112M256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384"})]))}}),picture_filled_default=picture_filled_vue_vue_type_script_setup_true_lang_default,picture_rounded_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"PictureRounded",__name:"picture-rounded",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 128a384 384 0 1 0 0 768 384 384 0 0 0 0-768m0-64a448 448 0 1 1 0 896 448 448 0 0 1 0-896"}),createBaseVNode("path",{fill:"currentColor",d:"M640 288q64 0 64 64t-64 64q-64 0-64-64t64-64M214.656 790.656l-45.312-45.312 185.664-185.6a96 96 0 0 1 123.712-10.24l138.24 98.688a32 32 0 0 0 39.872-2.176L906.688 422.4l42.624 47.744L699.52 693.696a96 96 0 0 1-119.808 6.592l-138.24-98.752a32 32 0 0 0-41.152 3.456l-185.664 185.6z"})]))}}),picture_rounded_default=picture_rounded_vue_vue_type_script_setup_true_lang_default,picture_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Picture",__name:"picture",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M384 288q64 0 64 64t-64 64q-64 0-64-64t64-64M185.408 876.992l-50.816-38.912L350.72 556.032a96 96 0 0 1 134.592-17.856l1.856 1.472 122.88 99.136a32 32 0 0 0 44.992-4.864l216-269.888 49.92 39.936-215.808 269.824-.256.32a96 96 0 0 1-135.04 14.464l-122.88-99.072-.64-.512a32 32 0 0 0-44.8 5.952z"})]))}}),picture_default=picture_vue_vue_type_script_setup_true_lang_default,pie_chart_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"PieChart",__name:"pie-chart",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M448 68.48v64.832A384.128 384.128 0 0 0 512 896a384.128 384.128 0 0 0 378.688-320h64.768A448.128 448.128 0 0 1 64 512 448.128 448.128 0 0 1 448 68.48z"}),createBaseVNode("path",{fill:"currentColor",d:"M576 97.28V448h350.72A384.064 384.064 0 0 0 576 97.28zM512 64V33.152A448 448 0 0 1 990.848 512H512z"})]))}}),pie_chart_default=pie_chart_vue_vue_type_script_setup_true_lang_default,place_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Place",__name:"place",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512"}),createBaseVNode("path",{fill:"currentColor",d:"M512 512a32 32 0 0 1 32 32v256a32 32 0 1 1-64 0V544a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M384 649.088v64.96C269.76 732.352 192 771.904 192 800c0 37.696 139.904 96 320 96s320-58.304 320-96c0-28.16-77.76-67.648-192-85.952v-64.96C789.12 671.04 896 730.368 896 800c0 88.32-171.904 160-384 160s-384-71.68-384-160c0-69.696 106.88-128.96 256-150.912"})]))}}),place_default=place_vue_vue_type_script_setup_true_lang_default,platform_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Platform",__name:"platform",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M448 832v-64h128v64h192v64H256v-64zM128 704V128h768v576z"})]))}}),platform_default=platform_vue_vue_type_script_setup_true_lang_default,plus_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Plus",__name:"plus",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"})]))}}),plus_default=plus_vue_vue_type_script_setup_true_lang_default,pointer_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Pointer",__name:"pointer",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M511.552 128c-35.584 0-64.384 28.8-64.384 64.448v516.48L274.048 570.88a94.272 94.272 0 0 0-112.896-3.456 44.416 44.416 0 0 0-8.96 62.208L332.8 870.4A64 64 0 0 0 384 896h512V575.232a64 64 0 0 0-45.632-61.312l-205.952-61.76A96 96 0 0 1 576 360.192V192.448C576 156.8 547.2 128 511.552 128M359.04 556.8l24.128 19.2V192.448a128.448 128.448 0 1 1 256.832 0v167.744a32 32 0 0 0 22.784 30.656l206.016 61.76A128 128 0 0 1 960 575.232V896a64 64 0 0 1-64 64H384a128 128 0 0 1-102.4-51.2L101.056 668.032A108.416 108.416 0 0 1 128 512.512a158.272 158.272 0 0 1 185.984 8.32z"})]))}}),pointer_default=pointer_vue_vue_type_script_setup_true_lang_default,position_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Position",__name:"position",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m249.6 417.088 319.744 43.072 39.168 310.272L845.12 178.88 249.6 417.088zm-129.024 47.168a32 32 0 0 1-7.68-61.44l777.792-311.04a32 32 0 0 1 41.6 41.6l-310.336 775.68a32 32 0 0 1-61.44-7.808L512 516.992l-391.424-52.736z"})]))}}),position_default=position_vue_vue_type_script_setup_true_lang_default,postcard_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Postcard",__name:"postcard",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 224a32 32 0 0 0-32 32v512a32 32 0 0 0 32 32h704a32 32 0 0 0 32-32V256a32 32 0 0 0-32-32zm0-64h704a96 96 0 0 1 96 96v512a96 96 0 0 1-96 96H160a96 96 0 0 1-96-96V256a96 96 0 0 1 96-96"}),createBaseVNode("path",{fill:"currentColor",d:"M704 320a64 64 0 1 1 0 128 64 64 0 0 1 0-128M288 448h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32m0 128h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),postcard_default=postcard_vue_vue_type_script_setup_true_lang_default,pouring_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Pouring",__name:"pouring",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m739.328 291.328-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 97.28 78.72 175.936 175.808 175.936h400a192 192 0 0 0 35.776-380.672zM959.552 480a256 256 0 0 1-256 256h-400A239.808 239.808 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 959.552 480M224 800a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32"})]))}}),pouring_default=pouring_vue_vue_type_script_setup_true_lang_default,present_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Present",__name:"present",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M480 896V640H192v-64h288V320H192v576zm64 0h288V320H544v256h288v64H544zM128 256h768v672a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32z"}),createBaseVNode("path",{fill:"currentColor",d:"M96 256h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M416 256a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),createBaseVNode("path",{fill:"currentColor",d:"M608 256a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),present_default=present_vue_vue_type_script_setup_true_lang_default,price_tag_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"PriceTag",__name:"price-tag",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 318.336V896h576V318.336L552.512 115.84a64 64 0 0 0-81.024 0zM593.024 66.304l259.2 212.096A32 32 0 0 1 864 303.168V928a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V303.168a32 32 0 0 1 11.712-24.768l259.2-212.096a128 128 0 0 1 162.112 0z"}),createBaseVNode("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),price_tag_default=price_tag_vue_vue_type_script_setup_true_lang_default,printer_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Printer",__name:"printer",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 768H105.024c-14.272 0-19.456-1.472-24.64-4.288a29.056 29.056 0 0 1-12.16-12.096C65.536 746.432 64 741.248 64 727.04V379.072c0-42.816 4.48-58.304 12.8-73.984 8.384-15.616 20.672-27.904 36.288-36.288 15.68-8.32 31.168-12.8 73.984-12.8H256V64h512v192h68.928c42.816 0 58.304 4.48 73.984 12.8 15.616 8.384 27.904 20.672 36.288 36.288 8.32 15.68 12.8 31.168 12.8 73.984v347.904c0 14.272-1.472 19.456-4.288 24.64a29.056 29.056 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H768v192H256zm64-192v320h384V576zm-64 128V512h512v192h128V379.072c0-29.376-1.408-36.48-5.248-43.776a23.296 23.296 0 0 0-10.048-10.048c-7.232-3.84-14.4-5.248-43.776-5.248H187.072c-29.376 0-36.48 1.408-43.776 5.248a23.296 23.296 0 0 0-10.048 10.048c-3.84 7.232-5.248 14.4-5.248 43.776V704zm64-448h384V128H320zm-64 128h64v64h-64zm128 0h64v64h-64z"})]))}}),printer_default=printer_vue_vue_type_script_setup_true_lang_default,promotion_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Promotion",__name:"promotion",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m64 448 832-320-128 704-446.08-243.328L832 192 242.816 545.472zm256 512V657.024L512 768z"})]))}}),promotion_default=promotion_vue_vue_type_script_setup_true_lang_default,quartz_watch_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"QuartzWatch",__name:"quartz-watch",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M422.02 602.01v-.03c-6.68-5.99-14.35-8.83-23.01-8.51-8.67.32-16.17 3.66-22.5 10.02-6.33 6.36-9.5 13.7-9.5 22.02s3 15.82 8.99 22.5c8.68 8.68 19.02 11.35 31.01 8s19.49-10.85 22.5-22.5c3.01-11.65.51-22.15-7.49-31.49zM384 512c0-9.35-3-17.02-8.99-23.01-6-5.99-13.66-8.99-23.01-8.99-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.66 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.67 8.99-23.01m6.53-82.49c11.65 3.01 22.15.51 31.49-7.49h.04c5.99-6.68 8.83-14.34 8.51-23.01-.32-8.67-3.66-16.16-10.02-22.5-6.36-6.33-13.7-9.5-22.02-9.5s-15.82 3-22.5 8.99c-8.68 8.69-11.35 19.02-8 31.01 3.35 11.99 10.85 19.49 22.5 22.5zm242.94 0c11.67-3.03 19.01-10.37 22.02-22.02 3.01-11.65.51-22.15-7.49-31.49h.01c-6.68-5.99-14.18-8.99-22.5-8.99s-15.66 3.16-22.02 9.5c-6.36 6.34-9.7 13.84-10.02 22.5-.32 8.66 2.52 16.33 8.51 23.01 9.32 8.02 19.82 10.52 31.49 7.49M512 640c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.67 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.66 8.99-23.01s-3-17.02-8.99-23.01c-6-5.99-13.66-8.99-23.01-8.99m183.01-151.01c-6-5.99-13.66-8.99-23.01-8.99s-17.02 3-23.01 8.99c-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.66 8.99 23.01 8.99s17.02-3 23.01-8.99c5.99-6 8.99-13.67 8.99-23.01 0-9.35-3-17.02-8.99-23.01"}),createBaseVNode("path",{fill:"currentColor",d:"M832 512c-2-90.67-33.17-166.17-93.5-226.5-20.43-20.42-42.6-37.49-66.5-51.23V64H352v170.26c-23.9 13.74-46.07 30.81-66.5 51.24-60.33 60.33-91.49 135.83-93.5 226.5 2 90.67 33.17 166.17 93.5 226.5 20.43 20.43 42.6 37.5 66.5 51.24V960h320V789.74c23.9-13.74 46.07-30.81 66.5-51.24 60.33-60.34 91.49-135.83 93.5-226.5M416 128h192v78.69c-29.85-9.03-61.85-13.93-96-14.69-34.15.75-66.15 5.65-96 14.68zm192 768H416v-78.68c29.85 9.03 61.85 13.93 96 14.68 34.15-.75 66.15-5.65 96-14.68zm-96-128c-72.66-2.01-132.99-27.01-180.99-75.01S258.01 584.66 256 512c2.01-72.66 27.01-132.99 75.01-180.99S439.34 258.01 512 256c72.66 2.01 132.99 27.01 180.99 75.01S765.99 439.34 768 512c-2.01 72.66-27.01 132.99-75.01 180.99S584.66 765.99 512 768"}),createBaseVNode("path",{fill:"currentColor",d:"M512 320c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01 0 9.35 3 17.02 8.99 23.01 6 5.99 13.67 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.66 8.99-23.01 0-9.35-3-17.02-8.99-23.01-6-5.99-13.66-8.99-23.01-8.99m112.99 273.5c-8.66-.32-16.33 2.52-23.01 8.51-7.98 9.32-10.48 19.82-7.49 31.49s10.49 19.17 22.5 22.5 22.35.66 31.01-8v.04c5.99-6.68 8.99-14.18 8.99-22.5s-3.16-15.66-9.5-22.02-13.84-9.7-22.5-10.02"})]))}}),quartz_watch_default=quartz_watch_vue_vue_type_script_setup_true_lang_default,question_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"QuestionFilled",__name:"question-filled",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592 0-42.944-14.08-76.736-42.24-101.376-28.16-25.344-65.472-37.312-111.232-37.312zm-12.672 406.208a54.272 54.272 0 0 0-38.72 14.784 49.408 49.408 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.848 54.848 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.968 51.968 0 0 0-15.488-38.016 55.936 55.936 0 0 0-39.424-14.784z"})]))}}),question_filled_default=question_filled_vue_vue_type_script_setup_true_lang_default,rank_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Rank",__name:"rank",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m186.496 544 41.408 41.344a32 32 0 1 1-45.248 45.312l-96-96a32 32 0 0 1 0-45.312l96-96a32 32 0 1 1 45.248 45.312L186.496 480h290.816V186.432l-41.472 41.472a32 32 0 1 1-45.248-45.184l96-96.128a32 32 0 0 1 45.312 0l96 96.064a32 32 0 0 1-45.248 45.184l-41.344-41.28V480H832l-41.344-41.344a32 32 0 0 1 45.248-45.312l96 96a32 32 0 0 1 0 45.312l-96 96a32 32 0 0 1-45.248-45.312L832 544H541.312v293.44l41.344-41.28a32 32 0 1 1 45.248 45.248l-96 96a32 32 0 0 1-45.312 0l-96-96a32 32 0 1 1 45.312-45.248l41.408 41.408V544H186.496z"})]))}}),rank_default=rank_vue_vue_type_script_setup_true_lang_default,reading_lamp_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ReadingLamp",__name:"reading-lamp",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M352 896h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m-44.672-768-99.52 448h608.384l-99.52-448zm-25.6-64h460.608a32 32 0 0 1 31.232 25.088l113.792 512A32 32 0 0 1 856.128 640H167.872a32 32 0 0 1-31.232-38.912l113.792-512A32 32 0 0 1 281.664 64z"}),createBaseVNode("path",{fill:"currentColor",d:"M672 576q32 0 32 32v128q0 32-32 32t-32-32V608q0-32 32-32m-192-.064h64V960h-64z"})]))}}),reading_lamp_default=reading_lamp_vue_vue_type_script_setup_true_lang_default,reading_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Reading",__name:"reading",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m512 863.36 384-54.848v-638.72L525.568 222.72a96 96 0 0 1-27.136 0L128 169.792v638.72zM137.024 106.432l370.432 52.928a32 32 0 0 0 9.088 0l370.432-52.928A64 64 0 0 1 960 169.792v638.72a64 64 0 0 1-54.976 63.36l-388.48 55.488a32 32 0 0 1-9.088 0l-388.48-55.488A64 64 0 0 1 64 808.512v-638.72a64 64 0 0 1 73.024-63.36z"}),createBaseVNode("path",{fill:"currentColor",d:"M480 192h64v704h-64z"})]))}}),reading_default=reading_vue_vue_type_script_setup_true_lang_default,refresh_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"RefreshLeft",__name:"refresh-left",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"})]))}}),refresh_left_default=refresh_left_vue_vue_type_script_setup_true_lang_default,refresh_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"RefreshRight",__name:"refresh-right",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88z"})]))}}),refresh_right_default=refresh_right_vue_vue_type_script_setup_true_lang_default,refresh_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Refresh",__name:"refresh",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"})]))}}),refresh_default=refresh_vue_vue_type_script_setup_true_lang_default,refrigerator_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Refrigerator",__name:"refrigerator",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 448h512V160a32 32 0 0 0-32-32H288a32 32 0 0 0-32 32zm0 64v352a32 32 0 0 0 32 32h448a32 32 0 0 0 32-32V512zm32-448h448a96 96 0 0 1 96 96v704a96 96 0 0 1-96 96H288a96 96 0 0 1-96-96V160a96 96 0 0 1 96-96m32 224h64v96h-64zm0 288h64v96h-64z"})]))}}),refrigerator_default=refrigerator_vue_vue_type_script_setup_true_lang_default,remove_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"RemoveFilled",__name:"remove-filled",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896M288 512a38.4 38.4 0 0 0 38.4 38.4h371.2a38.4 38.4 0 0 0 0-76.8H326.4A38.4 38.4 0 0 0 288 512"})]))}}),remove_filled_default=remove_filled_vue_vue_type_script_setup_true_lang_default,remove_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Remove",__name:"remove",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"}),createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),remove_default=remove_vue_vue_type_script_setup_true_lang_default,right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Right",__name:"right",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M754.752 480H160a32 32 0 1 0 0 64h594.752L521.344 777.344a32 32 0 0 0 45.312 45.312l288-288a32 32 0 0 0 0-45.312l-288-288a32 32 0 1 0-45.312 45.312z"})]))}}),right_default=right_vue_vue_type_script_setup_true_lang_default,scale_to_original_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ScaleToOriginal",__name:"scale-to-original",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118zm-361.412 0a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118M512 361.412a30.118 30.118 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.118 30.118 0 0 0 512 361.412M512 512a30.118 30.118 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.118 30.118 0 0 0 512 512"})]))}}),scale_to_original_default=scale_to_original_vue_vue_type_script_setup_true_lang_default,school_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"School",__name:"school",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 128v704h576V128zm-32-64h640a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M64 832h896v64H64zm256-640h128v96H320z"}),createBaseVNode("path",{fill:"currentColor",d:"M384 832h256v-64a128 128 0 1 0-256 0zm128-256a192 192 0 0 1 192 192v128H320V768a192 192 0 0 1 192-192M320 384h128v96H320zm256-192h128v96H576zm0 192h128v96H576z"})]))}}),school_default=school_vue_vue_type_script_setup_true_lang_default,scissor_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Scissor",__name:"scissor",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m512.064 578.368-106.88 152.768a160 160 0 1 1-23.36-78.208L472.96 522.56 196.864 128.256a32 32 0 1 1 52.48-36.736l393.024 561.344a160 160 0 1 1-23.36 78.208l-106.88-152.704zm54.4-189.248 208.384-297.6a32 32 0 0 1 52.48 36.736l-221.76 316.672-39.04-55.808zm-376.32 425.856a96 96 0 1 0 110.144-157.248 96 96 0 0 0-110.08 157.248zm643.84 0a96 96 0 1 0-110.08-157.248 96 96 0 0 0 110.08 157.248"})]))}}),scissor_default=scissor_vue_vue_type_script_setup_true_lang_default,search_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Search",__name:"search",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"})]))}}),search_default=search_vue_vue_type_script_setup_true_lang_default,select_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Select",__name:"select",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M77.248 415.04a64 64 0 0 1 90.496 0l226.304 226.304L846.528 188.8a64 64 0 1 1 90.56 90.496l-543.04 543.04-316.8-316.8a64 64 0 0 1 0-90.496z"})]))}}),select_default=select_vue_vue_type_script_setup_true_lang_default,sell_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Sell",__name:"sell",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M704 288h131.072a32 32 0 0 1 31.808 28.8L886.4 512h-64.384l-16-160H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0v-96H217.92l-51.2 512H512v64H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4zm-64 0v-22.336C640 189.248 582.272 128 512 128c-70.272 0-128 61.248-128 137.664v22.4h256zm201.408 483.84L768 698.496V928a32 32 0 1 1-64 0V698.496l-73.344 73.344a32 32 0 1 1-45.248-45.248l128-128a32 32 0 0 1 45.248 0l128 128a32 32 0 1 1-45.248 45.248z"})]))}}),sell_default=sell_vue_vue_type_script_setup_true_lang_default,semi_select_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SemiSelect",__name:"semi-select",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 448h768q64 0 64 64t-64 64H128q-64 0-64-64t64-64"})]))}}),semi_select_default=semi_select_vue_vue_type_script_setup_true_lang_default,service_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Service",__name:"service",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M864 409.6a192 192 0 0 1-37.888 349.44A256.064 256.064 0 0 1 576 960h-96a32 32 0 1 1 0-64h96a192.064 192.064 0 0 0 181.12-128H736a32 32 0 0 1-32-32V416a32 32 0 0 1 32-32h32c10.368 0 20.544.832 30.528 2.432a288 288 0 0 0-573.056 0A193.235 193.235 0 0 1 256 384h32a32 32 0 0 1 32 32v320a32 32 0 0 1-32 32h-32a192 192 0 0 1-96-358.4 352 352 0 0 1 704 0M256 448a128 128 0 1 0 0 256zm640 128a128 128 0 0 0-128-128v256a128 128 0 0 0 128-128"})]))}}),service_default=service_vue_vue_type_script_setup_true_lang_default,set_up_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SetUp",__name:"set-up",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 160a64 64 0 0 0-64 64v576a64 64 0 0 0 64 64h576a64 64 0 0 0 64-64V224a64 64 0 0 0-64-64zm0-64h576a128 128 0 0 1 128 128v576a128 128 0 0 1-128 128H224A128 128 0 0 1 96 800V224A128 128 0 0 1 224 96"}),createBaseVNode("path",{fill:"currentColor",d:"M384 416a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),createBaseVNode("path",{fill:"currentColor",d:"M480 320h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32m160 416a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),createBaseVNode("path",{fill:"currentColor",d:"M288 640h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),set_up_default=set_up_vue_vue_type_script_setup_true_lang_default,setting_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Setting",__name:"setting",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M600.704 64a32 32 0 0 1 30.464 22.208l35.2 109.376c14.784 7.232 28.928 15.36 42.432 24.512l112.384-24.192a32 32 0 0 1 34.432 15.36L944.32 364.8a32 32 0 0 1-4.032 37.504l-77.12 85.12a357.12 357.12 0 0 1 0 49.024l77.12 85.248a32 32 0 0 1 4.032 37.504l-88.704 153.6a32 32 0 0 1-34.432 15.296L708.8 803.904c-13.44 9.088-27.648 17.28-42.368 24.512l-35.264 109.376A32 32 0 0 1 600.704 960H423.296a32 32 0 0 1-30.464-22.208L357.696 828.48a351.616 351.616 0 0 1-42.56-24.64l-112.32 24.256a32 32 0 0 1-34.432-15.36L79.68 659.2a32 32 0 0 1 4.032-37.504l77.12-85.248a357.12 357.12 0 0 1 0-48.896l-77.12-85.248A32 32 0 0 1 79.68 364.8l88.704-153.6a32 32 0 0 1 34.432-15.296l112.32 24.256c13.568-9.152 27.776-17.408 42.56-24.64l35.2-109.312A32 32 0 0 1 423.232 64H600.64zm-23.424 64H446.72l-36.352 113.088-24.512 11.968a294.113 294.113 0 0 0-34.816 20.096l-22.656 15.36-116.224-25.088-65.28 113.152 79.68 88.192-1.92 27.136a293.12 293.12 0 0 0 0 40.192l1.92 27.136-79.808 88.192 65.344 113.152 116.224-25.024 22.656 15.296a294.113 294.113 0 0 0 34.816 20.096l24.512 11.968L446.72 896h130.688l36.48-113.152 24.448-11.904a288.282 288.282 0 0 0 34.752-20.096l22.592-15.296 116.288 25.024 65.28-113.152-79.744-88.192 1.92-27.136a293.12 293.12 0 0 0 0-40.256l-1.92-27.136 79.808-88.128-65.344-113.152-116.288 24.96-22.592-15.232a287.616 287.616 0 0 0-34.752-20.096l-24.448-11.904L577.344 128zM512 320a192 192 0 1 1 0 384 192 192 0 0 1 0-384m0 64a128 128 0 1 0 0 256 128 128 0 0 0 0-256"})]))}}),setting_default=setting_vue_vue_type_script_setup_true_lang_default,share_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Share",__name:"share",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m679.872 348.8-301.76 188.608a127.808 127.808 0 0 1 5.12 52.16l279.936 104.96a128 128 0 1 1-22.464 59.904l-279.872-104.96a128 128 0 1 1-16.64-166.272l301.696-188.608a128 128 0 1 1 33.92 54.272z"})]))}}),share_default=share_vue_vue_type_script_setup_true_lang_default,ship_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Ship",__name:"ship",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 386.88V448h405.568a32 32 0 0 1 30.72 40.768l-76.48 267.968A192 192 0 0 1 687.168 896H336.832a192 192 0 0 1-184.64-139.264L75.648 488.768A32 32 0 0 1 106.368 448H448V117.888a32 32 0 0 1 47.36-28.096l13.888 7.616L512 96v2.88l231.68 126.4a32 32 0 0 1-2.048 57.216zm0-70.272 144.768-65.792L512 171.84zM512 512H148.864l18.24 64H856.96l18.24-64zM185.408 640l28.352 99.2A128 128 0 0 0 336.832 832h350.336a128 128 0 0 0 123.072-92.8l28.352-99.2H185.408"})]))}}),ship_default=ship_vue_vue_type_script_setup_true_lang_default,shop_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Shop",__name:"shop",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M704 704h64v192H256V704h64v64h384zm188.544-152.192C894.528 559.616 896 567.616 896 576a96 96 0 1 1-192 0 96 96 0 1 1-192 0 96 96 0 1 1-192 0 96 96 0 1 1-192 0c0-8.384 1.408-16.384 3.392-24.192L192 128h640z"})]))}}),shop_default=shop_vue_vue_type_script_setup_true_lang_default,shopping_bag_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ShoppingBag",__name:"shopping-bag",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M704 320v96a32 32 0 0 1-32 32h-32V320H384v128h-32a32 32 0 0 1-32-32v-96H192v576h640V320zm-384-64a192 192 0 1 1 384 0h160a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32zm64 0h256a128 128 0 1 0-256 0"}),createBaseVNode("path",{fill:"currentColor",d:"M192 704h640v64H192z"})]))}}),shopping_bag_default=shopping_bag_vue_vue_type_script_setup_true_lang_default,shopping_cart_full_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ShoppingCartFull",__name:"shopping-cart-full",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M432 928a48 48 0 1 1 0-96 48 48 0 0 1 0 96m320 0a48 48 0 1 1 0-96 48 48 0 0 1 0 96M96 128a32 32 0 0 1 0-64h160a32 32 0 0 1 31.36 25.728L320.64 256H928a32 32 0 0 1 31.296 38.72l-96 448A32 32 0 0 1 832 768H384a32 32 0 0 1-31.36-25.728L229.76 128zm314.24 576h395.904l82.304-384H333.44l76.8 384z"}),createBaseVNode("path",{fill:"currentColor",d:"M699.648 256 608 145.984 516.352 256h183.296zm-140.8-151.04a64 64 0 0 1 98.304 0L836.352 320H379.648l179.2-215.04"})]))}}),shopping_cart_full_default=shopping_cart_full_vue_vue_type_script_setup_true_lang_default,shopping_cart_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ShoppingCart",__name:"shopping-cart",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M432 928a48 48 0 1 1 0-96 48 48 0 0 1 0 96m320 0a48 48 0 1 1 0-96 48 48 0 0 1 0 96M96 128a32 32 0 0 1 0-64h160a32 32 0 0 1 31.36 25.728L320.64 256H928a32 32 0 0 1 31.296 38.72l-96 448A32 32 0 0 1 832 768H384a32 32 0 0 1-31.36-25.728L229.76 128zm314.24 576h395.904l82.304-384H333.44l76.8 384z"})]))}}),shopping_cart_default=shopping_cart_vue_vue_type_script_setup_true_lang_default,shopping_trolley_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ShoppingTrolley",__name:"shopping-trolley",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M368 833c-13.3 0-24.5 4.5-33.5 13.5S321 866.7 321 880s4.5 24.5 13.5 33.5 20.2 13.8 33.5 14.5c13.3-.7 24.5-5.5 33.5-14.5S415 893.3 415 880s-4.5-24.5-13.5-33.5S381.3 833 368 833m439-193c7.4 0 13.8-2.2 19.5-6.5S836 623.3 838 616l112-448c2-10-.2-19.2-6.5-27.5S929 128 919 128H96c-9.3 0-17 3-23 9s-9 13.7-9 23 3 17 9 23 13.7 9 23 9h96v576h672c9.3 0 17-3 23-9s9-13.7 9-23-3-17-9-23-13.7-9-23-9H256v-64zM256 192h622l-96 384H256zm432 641c-13.3 0-24.5 4.5-33.5 13.5S641 866.7 641 880s4.5 24.5 13.5 33.5 20.2 13.8 33.5 14.5c13.3-.7 24.5-5.5 33.5-14.5S735 893.3 735 880s-4.5-24.5-13.5-33.5S701.3 833 688 833"})]))}}),shopping_trolley_default=shopping_trolley_vue_vue_type_script_setup_true_lang_default,smoking_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Smoking",__name:"smoking",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 576v128h640V576zm-32-64h704a32 32 0 0 1 32 32v192a32 32 0 0 1-32 32H224a32 32 0 0 1-32-32V544a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M704 576h64v128h-64zM256 64h64v320h-64zM128 192h64v192h-64zM64 512h64v256H64z"})]))}}),smoking_default=smoking_vue_vue_type_script_setup_true_lang_default,soccer_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Soccer",__name:"soccer",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M418.496 871.04 152.256 604.8c-16.512 94.016-2.368 178.624 42.944 224 44.928 44.928 129.344 58.752 223.296 42.24m72.32-18.176a573.056 573.056 0 0 0 224.832-137.216 573.12 573.12 0 0 0 137.216-224.832L533.888 171.84a578.56 578.56 0 0 0-227.52 138.496A567.68 567.68 0 0 0 170.432 532.48l320.384 320.384zM871.04 418.496c16.512-93.952 2.688-178.368-42.24-223.296-44.544-44.544-128.704-58.048-222.592-41.536zM149.952 874.048c-112.96-112.96-88.832-408.96 111.168-608.96C461.056 65.152 760.96 36.928 874.048 149.952c113.024 113.024 86.784 411.008-113.152 610.944-199.936 199.936-497.92 226.112-610.944 113.152m452.544-497.792 22.656-22.656a32 32 0 0 1 45.248 45.248l-22.656 22.656 45.248 45.248A32 32 0 1 1 647.744 512l-45.248-45.248L557.248 512l45.248 45.248a32 32 0 1 1-45.248 45.248L512 557.248l-45.248 45.248L512 647.744a32 32 0 1 1-45.248 45.248l-45.248-45.248-22.656 22.656a32 32 0 1 1-45.248-45.248l22.656-22.656-45.248-45.248A32 32 0 1 1 376.256 512l45.248 45.248L466.752 512l-45.248-45.248a32 32 0 1 1 45.248-45.248L512 466.752l45.248-45.248L512 376.256a32 32 0 0 1 45.248-45.248l45.248 45.248z"})]))}}),soccer_default=soccer_vue_vue_type_script_setup_true_lang_default,sold_out_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SoldOut",__name:"sold-out",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M704 288h131.072a32 32 0 0 1 31.808 28.8L886.4 512h-64.384l-16-160H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0v-96H217.92l-51.2 512H512v64H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4zm-64 0v-22.336C640 189.248 582.272 128 512 128c-70.272 0-128 61.248-128 137.664v22.4h256zm201.408 476.16a32 32 0 1 1 45.248 45.184l-128 128a32 32 0 0 1-45.248 0l-128-128a32 32 0 1 1 45.248-45.248L704 837.504V608a32 32 0 1 1 64 0v229.504l73.408-73.408z"})]))}}),sold_out_default=sold_out_vue_vue_type_script_setup_true_lang_default,sort_down_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SortDown",__name:"sort-down",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M576 96v709.568L333.312 562.816A32 32 0 1 0 288 608l297.408 297.344A32 32 0 0 0 640 882.688V96a32 32 0 0 0-64 0"})]))}}),sort_down_default=sort_down_vue_vue_type_script_setup_true_lang_default,sort_up_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SortUp",__name:"sort-up",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 141.248V928a32 32 0 1 0 64 0V218.56l242.688 242.688A32 32 0 1 0 736 416L438.592 118.656A32 32 0 0 0 384 141.248"})]))}}),sort_up_default=sort_up_vue_vue_type_script_setup_true_lang_default,sort_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Sort",__name:"sort",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 96a32 32 0 0 1 64 0v786.752a32 32 0 0 1-54.592 22.656L95.936 608a32 32 0 0 1 0-45.312h.128a32 32 0 0 1 45.184 0L384 805.632zm192 45.248a32 32 0 0 1 54.592-22.592L928.064 416a32 32 0 0 1 0 45.312h-.128a32 32 0 0 1-45.184 0L640 218.496V928a32 32 0 1 1-64 0V141.248z"})]))}}),sort_default=sort_vue_vue_type_script_setup_true_lang_default,stamp_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Stamp",__name:"stamp",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M624 475.968V640h144a128 128 0 0 1 128 128H128a128 128 0 0 1 128-128h144V475.968a192 192 0 1 1 224 0M128 896v-64h768v64z"})]))}}),stamp_default=stamp_vue_vue_type_script_setup_true_lang_default,star_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"StarFilled",__name:"star-filled",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M283.84 867.84 512 747.776l228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72z"})]))}}),star_filled_default=star_filled_vue_vue_type_script_setup_true_lang_default,star_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Star",__name:"star",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m512 747.84 228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72zM313.6 924.48a70.4 70.4 0 0 1-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 126.208 0l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),star_default=star_vue_vue_type_script_setup_true_lang_default,stopwatch_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Stopwatch",__name:"stopwatch",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M672 234.88c-39.168 174.464-80 298.624-122.688 372.48-64 110.848-202.624 30.848-138.624-80C453.376 453.44 540.48 355.968 672 234.816z"})]))}}),stopwatch_default=stopwatch_vue_vue_type_script_setup_true_lang_default,success_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SuccessFilled",__name:"success-filled",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),success_filled_default=success_filled_vue_vue_type_script_setup_true_lang_default,sugar_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Sugar",__name:"sugar",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m801.728 349.184 4.48 4.48a128 128 0 0 1 0 180.992L534.656 806.144a128 128 0 0 1-181.056 0l-4.48-4.48-19.392 109.696a64 64 0 0 1-108.288 34.176L78.464 802.56a64 64 0 0 1 34.176-108.288l109.76-19.328-4.544-4.544a128 128 0 0 1 0-181.056l271.488-271.488a128 128 0 0 1 181.056 0l4.48 4.48 19.392-109.504a64 64 0 0 1 108.352-34.048l142.592 143.04a64 64 0 0 1-34.24 108.16l-109.248 19.2zm-548.8 198.72h447.168v2.24l60.8-60.8a63.808 63.808 0 0 0 18.752-44.416h-426.88l-89.664 89.728a64.064 64.064 0 0 0-10.24 13.248zm0 64c2.752 4.736 6.144 9.152 10.176 13.248l135.744 135.744a64 64 0 0 0 90.496 0L638.4 611.904zm490.048-230.976L625.152 263.104a64 64 0 0 0-90.496 0L416.768 380.928zM123.712 757.312l142.976 142.976 24.32-137.6a25.6 25.6 0 0 0-29.696-29.632l-137.6 24.256zm633.6-633.344-24.32 137.472a25.6 25.6 0 0 0 29.632 29.632l137.28-24.064-142.656-143.04z"})]))}}),sugar_default=sugar_vue_vue_type_script_setup_true_lang_default,suitcase_line_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SuitcaseLine",__name:"suitcase-line",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M922.5 229.5c-24.32-24.34-54.49-36.84-90.5-37.5H704v-64c-.68-17.98-7.02-32.98-19.01-44.99S658.01 64.66 640 64H384c-17.98.68-32.98 7.02-44.99 19.01S320.66 110 320 128v64H192c-35.99.68-66.16 13.18-90.5 37.5C77.16 253.82 64.66 283.99 64 320v448c.68 35.99 13.18 66.16 37.5 90.5s54.49 36.84 90.5 37.5h640c35.99-.68 66.16-13.18 90.5-37.5s36.84-54.49 37.5-90.5V320c-.68-35.99-13.18-66.16-37.5-90.5M384 128h256v64H384zM256 832h-64c-17.98-.68-32.98-7.02-44.99-19.01S128.66 786.01 128 768V448h128zm448 0H320V448h384zm192-64c-.68 17.98-7.02 32.98-19.01 44.99S850.01 831.34 832 832h-64V448h128zm0-384H128v-64c.69-17.98 7.02-32.98 19.01-44.99S173.99 256.66 192 256h640c17.98.69 32.98 7.02 44.99 19.01S895.34 301.99 896 320z"})]))}}),suitcase_line_default=suitcase_line_vue_vue_type_script_setup_true_lang_default,suitcase_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Suitcase",__name:"suitcase",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 384h768v-64a64 64 0 0 0-64-64H192a64 64 0 0 0-64 64zm0 64v320a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V448zm64-256h640a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H192A128 128 0 0 1 64 768V320a128 128 0 0 1 128-128"}),createBaseVNode("path",{fill:"currentColor",d:"M384 128v64h256v-64zm0-64h256a64 64 0 0 1 64 64v64a64 64 0 0 1-64 64H384a64 64 0 0 1-64-64v-64a64 64 0 0 1 64-64"})]))}}),suitcase_default=suitcase_vue_vue_type_script_setup_true_lang_default,sunny_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Sunny",__name:"sunny",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 704a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m0-704a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 768a32 32 0 0 1 32 32v64a32 32 0 1 1-64 0v-64a32 32 0 0 1 32-32M195.2 195.2a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 1 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm543.104 543.104a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 0 1-45.248 45.248l-45.248-45.248a32 32 0 0 1 0-45.248M64 512a32 32 0 0 1 32-32h64a32 32 0 0 1 0 64H96a32 32 0 0 1-32-32m768 0a32 32 0 0 1 32-32h64a32 32 0 1 1 0 64h-64a32 32 0 0 1-32-32M195.2 828.8a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248L240.448 828.8a32 32 0 0 1-45.248 0zm543.104-543.104a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248l-45.248 45.248a32 32 0 0 1-45.248 0"})]))}}),sunny_default=sunny_vue_vue_type_script_setup_true_lang_default,sunrise_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Sunrise",__name:"sunrise",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M32 768h960a32 32 0 1 1 0 64H32a32 32 0 1 1 0-64m129.408-96a352 352 0 0 1 701.184 0h-64.32a288 288 0 0 0-572.544 0h-64.32zM512 128a32 32 0 0 1 32 32v96a32 32 0 0 1-64 0v-96a32 32 0 0 1 32-32m407.296 168.704a32 32 0 0 1 0 45.248l-67.84 67.84a32 32 0 1 1-45.248-45.248l67.84-67.84a32 32 0 0 1 45.248 0zm-814.592 0a32 32 0 0 1 45.248 0l67.84 67.84a32 32 0 1 1-45.248 45.248l-67.84-67.84a32 32 0 0 1 0-45.248"})]))}}),sunrise_default=sunrise_vue_vue_type_script_setup_true_lang_default,sunset_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Sunset",__name:"sunset",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M82.56 640a448 448 0 1 1 858.88 0h-67.2a384 384 0 1 0-724.288 0zM32 704h960q32 0 32 32t-32 32H32q-32 0-32-32t32-32m256 128h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),sunset_default=sunset_vue_vue_type_script_setup_true_lang_default,switch_button_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SwitchButton",__name:"switch-button",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M352 159.872V230.4a352 352 0 1 0 320 0v-70.528A416.128 416.128 0 0 1 512 960a416 416 0 0 1-160-800.128z"}),createBaseVNode("path",{fill:"currentColor",d:"M512 64q32 0 32 32v320q0 32-32 32t-32-32V96q0-32 32-32"})]))}}),switch_button_default=switch_button_vue_vue_type_script_setup_true_lang_default,switch_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SwitchFilled",__name:"switch-filled",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M247.47 358.4v.04c.07 19.17 7.72 37.53 21.27 51.09s31.92 21.2 51.09 21.27c39.86 0 72.41-32.6 72.41-72.4s-32.6-72.36-72.41-72.36-72.36 32.55-72.36 72.36z"}),createBaseVNode("path",{fill:"currentColor",d:"M492.38 128H324.7c-52.16 0-102.19 20.73-139.08 57.61a196.655 196.655 0 0 0-57.61 139.08V698.7c-.01 25.84 5.08 51.42 14.96 75.29s24.36 45.56 42.63 63.83 39.95 32.76 63.82 42.65a196.67 196.67 0 0 0 75.28 14.98h167.68c3.03 0 5.46-2.43 5.46-5.42V133.42c.6-2.99-1.83-5.42-5.46-5.42zm-56.11 705.88H324.7c-17.76.13-35.36-3.33-51.75-10.18s-31.22-16.94-43.61-29.67c-25.3-25.35-39.81-59.1-39.81-95.32V324.69c-.13-17.75 3.33-35.35 10.17-51.74a131.695 131.695 0 0 1 29.64-43.62c25.39-25.3 59.14-39.81 95.36-39.81h111.57zm402.12-647.67a196.655 196.655 0 0 0-139.08-57.61H580.48c-3.03 0-4.82 2.43-4.82 4.82v757.16c-.6 2.99 1.79 5.42 5.42 5.42h118.23a196.69 196.69 0 0 0 139.08-57.61A196.655 196.655 0 0 0 896 699.31V325.29a196.69 196.69 0 0 0-57.61-139.08zm-111.3 441.92c-42.83 0-77.82-34.99-77.82-77.82s34.98-77.82 77.82-77.82c42.83 0 77.82 34.99 77.82 77.82s-34.99 77.82-77.82 77.82z"})]))}}),switch_filled_default=switch_filled_vue_vue_type_script_setup_true_lang_default,switch_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Switch",__name:"switch",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M118.656 438.656a32 32 0 0 1 0-45.248L416 96l4.48-3.776A32 32 0 0 1 461.248 96l3.712 4.48a32.064 32.064 0 0 1-3.712 40.832L218.56 384H928a32 32 0 1 1 0 64H141.248a32 32 0 0 1-22.592-9.344zM64 608a32 32 0 0 1 32-32h786.752a32 32 0 0 1 22.656 54.592L608 928l-4.48 3.776a32.064 32.064 0 0 1-40.832-49.024L805.632 640H96a32 32 0 0 1-32-32"})]))}}),switch_default=switch_vue_vue_type_script_setup_true_lang_default,takeaway_box_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"TakeawayBox",__name:"takeaway-box",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M832 384H192v448h640zM96 320h832V128H96zm800 64v480a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V384H64a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32h896a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zM416 512h192a32 32 0 0 1 0 64H416a32 32 0 0 1 0-64"})]))}}),takeaway_box_default=takeaway_box_vue_vue_type_script_setup_true_lang_default,ticket_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Ticket",__name:"ticket",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M640 832H64V640a128 128 0 1 0 0-256V192h576v160h64V192h256v192a128 128 0 1 0 0 256v192H704V672h-64zm0-416v192h64V416z"})]))}}),ticket_default=ticket_vue_vue_type_script_setup_true_lang_default,tickets_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Tickets",__name:"tickets",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M192 128v768h640V128zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h192v64H320zm0 384h384v64H320z"})]))}}),tickets_default=tickets_vue_vue_type_script_setup_true_lang_default,timer_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Timer",__name:"timer",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a320 320 0 1 0 0-640 320 320 0 0 0 0 640m0 64a384 384 0 1 1 0-768 384 384 0 0 1 0 768"}),createBaseVNode("path",{fill:"currentColor",d:"M512 320a32 32 0 0 1 32 32l-.512 224a32 32 0 1 1-64 0L480 352a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M448 576a64 64 0 1 0 128 0 64 64 0 1 0-128 0m96-448v128h-64V128h-96a32 32 0 0 1 0-64h256a32 32 0 1 1 0 64z"})]))}}),timer_default=timer_vue_vue_type_script_setup_true_lang_default,toilet_paper_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ToiletPaper",__name:"toilet-paper",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M595.2 128H320a192 192 0 0 0-192 192v576h384V352c0-90.496 32.448-171.2 83.2-224M736 64c123.712 0 224 128.96 224 288S859.712 640 736 640H576v320H64V320A256 256 0 0 1 320 64zM576 352v224h160c84.352 0 160-97.28 160-224s-75.648-224-160-224-160 97.28-160 224"}),createBaseVNode("path",{fill:"currentColor",d:"M736 448c-35.328 0-64-43.008-64-96s28.672-96 64-96 64 43.008 64 96-28.672 96-64 96"})]))}}),toilet_paper_default=toilet_paper_vue_vue_type_script_setup_true_lang_default,tools_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Tools",__name:"tools",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M764.416 254.72a351.68 351.68 0 0 1 86.336 149.184H960v192.064H850.752a351.68 351.68 0 0 1-86.336 149.312l54.72 94.72-166.272 96-54.592-94.72a352.64 352.64 0 0 1-172.48 0L371.136 936l-166.272-96 54.72-94.72a351.68 351.68 0 0 1-86.336-149.312H64v-192h109.248a351.68 351.68 0 0 1 86.336-149.312L204.8 160l166.208-96h.192l54.656 94.592a352.64 352.64 0 0 1 172.48 0L652.8 64h.128L819.2 160l-54.72 94.72zM704 499.968a192 192 0 1 0-384 0 192 192 0 0 0 384 0"})]))}}),tools_default=tools_vue_vue_type_script_setup_true_lang_default,top_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"TopLeft",__name:"top-left",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 256h416a32 32 0 1 0 0-64H224a32 32 0 0 0-32 32v448a32 32 0 0 0 64 0z"}),createBaseVNode("path",{fill:"currentColor",d:"M246.656 201.344a32 32 0 0 0-45.312 45.312l544 544a32 32 0 0 0 45.312-45.312l-544-544z"})]))}}),top_left_default=top_left_vue_vue_type_script_setup_true_lang_default,top_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"TopRight",__name:"top-right",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M768 256H353.6a32 32 0 1 1 0-64H800a32 32 0 0 1 32 32v448a32 32 0 0 1-64 0z"}),createBaseVNode("path",{fill:"currentColor",d:"M777.344 201.344a32 32 0 0 1 45.312 45.312l-544 544a32 32 0 0 1-45.312-45.312l544-544z"})]))}}),top_right_default=top_right_vue_vue_type_script_setup_true_lang_default,top_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Top",__name:"top",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M572.235 205.282v600.365a30.118 30.118 0 1 1-60.235 0V205.282L292.382 438.633a28.913 28.913 0 0 1-42.646 0 33.43 33.43 0 0 1 0-45.236l271.058-288.045a28.913 28.913 0 0 1 42.647 0L834.5 393.397a33.43 33.43 0 0 1 0 45.176 28.913 28.913 0 0 1-42.647 0l-219.618-233.23z"})]))}}),top_default=top_vue_vue_type_script_setup_true_lang_default,trend_charts_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"TrendCharts",__name:"trend-charts",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 896V128h768v768zm291.712-327.296 128 102.4 180.16-201.792-47.744-42.624-139.84 156.608-128-102.4-180.16 201.792 47.744 42.624 139.84-156.608zM816 352a48 48 0 1 0-96 0 48 48 0 0 0 96 0"})]))}}),trend_charts_default=trend_charts_vue_vue_type_script_setup_true_lang_default,trophy_base_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"TrophyBase",__name:"trophy-base",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M918.4 201.6c-6.4-6.4-12.8-9.6-22.4-9.6H768V96c0-9.6-3.2-16-9.6-22.4C752 67.2 745.6 64 736 64H288c-9.6 0-16 3.2-22.4 9.6C259.2 80 256 86.4 256 96v96H128c-9.6 0-16 3.2-22.4 9.6-6.4 6.4-9.6 16-9.6 22.4 3.2 108.8 25.6 185.6 64 224 34.4 34.4 77.56 55.65 127.65 61.99 10.91 20.44 24.78 39.25 41.95 56.41 40.86 40.86 91 65.47 150.4 71.9V768h-96c-9.6 0-16 3.2-22.4 9.6-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4c6.4 6.4 12.8 9.6 22.4 9.6h256c9.6 0 16-3.2 22.4-9.6 6.4-6.4 9.6-12.8 9.6-22.4s-3.2-16-9.6-22.4c-6.4-6.4-12.8-9.6-22.4-9.6h-96V637.26c59.4-7.71 109.54-30.01 150.4-70.86 17.2-17.2 31.51-36.06 42.81-56.55 48.93-6.51 90.02-27.7 126.79-61.85 38.4-38.4 60.8-112 64-224 0-6.4-3.2-16-9.6-22.4zM256 438.4c-19.2-6.4-35.2-19.2-51.2-35.2-22.4-22.4-35.2-70.4-41.6-147.2H256zm390.4 80C608 553.6 566.4 576 512 576s-99.2-19.2-134.4-57.6C342.4 480 320 438.4 320 384V128h384v256c0 54.4-19.2 99.2-57.6 134.4m172.8-115.2c-16 16-32 25.6-51.2 35.2V256h92.8c-6.4 76.8-19.2 124.8-41.6 147.2zM768 896H256c-9.6 0-16 3.2-22.4 9.6-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4c6.4 6.4 12.8 9.6 22.4 9.6h512c9.6 0 16-3.2 22.4-9.6 6.4-6.4 9.6-12.8 9.6-22.4s-3.2-16-9.6-22.4c-6.4-6.4-12.8-9.6-22.4-9.6"})]))}}),trophy_base_default=trophy_base_vue_vue_type_script_setup_true_lang_default,trophy_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Trophy",__name:"trophy",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M480 896V702.08A256.256 256.256 0 0 1 264.064 512h-32.64a96 96 0 0 1-91.968-68.416L93.632 290.88a76.8 76.8 0 0 1 73.6-98.88H256V96a32 32 0 0 1 32-32h448a32 32 0 0 1 32 32v96h88.768a76.8 76.8 0 0 1 73.6 98.88L884.48 443.52A96 96 0 0 1 792.576 512h-32.64A256.256 256.256 0 0 1 544 702.08V896h128a32 32 0 1 1 0 64H352a32 32 0 1 1 0-64zm224-448V128H320v320a192 192 0 1 0 384 0m64 0h24.576a32 32 0 0 0 30.656-22.784l45.824-152.768A12.8 12.8 0 0 0 856.768 256H768zm-512 0V256h-88.768a12.8 12.8 0 0 0-12.288 16.448l45.824 152.768A32 32 0 0 0 231.424 448z"})]))}}),trophy_default=trophy_vue_vue_type_script_setup_true_lang_default,turn_off_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"TurnOff",__name:"turn-off",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M329.956 257.138a254.862 254.862 0 0 0 0 509.724h364.088a254.862 254.862 0 0 0 0-509.724zm0-72.818h364.088a327.68 327.68 0 1 1 0 655.36H329.956a327.68 327.68 0 1 1 0-655.36z"}),createBaseVNode("path",{fill:"currentColor",d:"M329.956 621.227a109.227 109.227 0 1 0 0-218.454 109.227 109.227 0 0 0 0 218.454m0 72.817a182.044 182.044 0 1 1 0-364.088 182.044 182.044 0 0 1 0 364.088"})]))}}),turn_off_default=turn_off_vue_vue_type_script_setup_true_lang_default,umbrella_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Umbrella",__name:"umbrella",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M320 768a32 32 0 1 1 64 0 64 64 0 0 0 128 0V512H64a448 448 0 1 1 896 0H576v256a128 128 0 1 1-256 0m570.688-320a384.128 384.128 0 0 0-757.376 0z"})]))}}),umbrella_default=umbrella_vue_vue_type_script_setup_true_lang_default,unlock_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Unlock",__name:"unlock",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96"}),createBaseVNode("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m178.304-295.296A192.064 192.064 0 0 0 320 320v64h352l96 38.4V448H256V320a256 256 0 0 1 493.76-95.104z"})]))}}),unlock_default=unlock_vue_vue_type_script_setup_true_lang_default,upload_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"UploadFilled",__name:"upload-filled",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M544 864V672h128L512 480 352 672h128v192H320v-1.6c-5.376.32-10.496 1.6-16 1.6A240 240 0 0 1 64 624c0-123.136 93.12-223.488 212.608-237.248A239.808 239.808 0 0 1 512 192a239.872 239.872 0 0 1 235.456 194.752c119.488 13.76 212.48 114.112 212.48 237.248a240 240 0 0 1-240 240c-5.376 0-10.56-1.28-16-1.6v1.6z"})]))}}),upload_filled_default=upload_filled_vue_vue_type_script_setup_true_lang_default,upload_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Upload",__name:"upload",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248z"})]))}}),upload_default=upload_vue_vue_type_script_setup_true_lang_default,user_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"UserFilled",__name:"user-filled",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M288 320a224 224 0 1 0 448 0 224 224 0 1 0-448 0m544 608H160a32 32 0 0 1-32-32v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 0 1-32 32z"})]))}}),user_filled_default=user_filled_vue_vue_type_script_setup_true_lang_default,user_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"User",__name:"user",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m320 320v-96a96 96 0 0 0-96-96H288a96 96 0 0 0-96 96v96a32 32 0 1 1-64 0v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 1 1-64 0"})]))}}),user_default=user_vue_vue_type_script_setup_true_lang_default,van_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Van",__name:"van",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128.896 736H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v96h164.544a32 32 0 0 1 31.616 27.136l54.144 352A32 32 0 0 1 922.688 736h-91.52a144 144 0 1 1-286.272 0H415.104a144 144 0 1 1-286.272 0zm23.36-64a143.872 143.872 0 0 1 239.488 0H568.32c17.088-25.6 42.24-45.376 71.744-55.808V256H128v416zm655.488 0h77.632l-19.648-128H704v64.896A144 144 0 0 1 807.744 672m48.128-192-14.72-96H704v96h151.872M688 832a80 80 0 1 0 0-160 80 80 0 0 0 0 160m-416 0a80 80 0 1 0 0-160 80 80 0 0 0 0 160"})]))}}),van_default=van_vue_vue_type_script_setup_true_lang_default,video_camera_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"VideoCameraFilled",__name:"video-camera-filled",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m768 576 192-64v320l-192-64v96a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V480a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zM192 768v64h384v-64zm192-480a160 160 0 0 1 320 0 160 160 0 0 1-320 0m64 0a96 96 0 1 0 192.064-.064A96 96 0 0 0 448 288m-320 32a128 128 0 1 1 256.064.064A128 128 0 0 1 128 320m64 0a64 64 0 1 0 128 0 64 64 0 0 0-128 0"})]))}}),video_camera_filled_default=video_camera_filled_vue_vue_type_script_setup_true_lang_default,video_camera_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"VideoCamera",__name:"video-camera",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M704 768V256H128v512zm64-416 192-96v512l-192-96v128a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 71.552v176.896l128 64V359.552zM192 320h192v64H192z"})]))}}),video_camera_default=video_camera_vue_vue_type_script_setup_true_lang_default,video_pause_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"VideoPause",__name:"video-pause",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m-96-544q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32m192 0q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32"})]))}}),video_pause_default=video_pause_vue_vue_type_script_setup_true_lang_default,video_play_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"VideoPlay",__name:"video-play",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m-48-247.616L668.608 512 464 375.616zm10.624-342.656 249.472 166.336a48 48 0 0 1 0 79.872L474.624 718.272A48 48 0 0 1 400 678.336V345.6a48 48 0 0 1 74.624-39.936z"})]))}}),video_play_default=video_play_vue_vue_type_script_setup_true_lang_default,view_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"View",__name:"view",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),view_default=view_vue_vue_type_script_setup_true_lang_default,wallet_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"WalletFilled",__name:"wallet-filled",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M688 512a112 112 0 1 0 0 224h208v160H128V352h768v160zm32 160h-32a48 48 0 0 1 0-96h32a48 48 0 0 1 0 96m-80-544 128 160H384z"})]))}}),wallet_filled_default=wallet_filled_vue_vue_type_script_setup_true_lang_default,wallet_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Wallet",__name:"wallet",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M640 288h-64V128H128v704h384v32a32 32 0 0 0 32 32H96a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32h512a32 32 0 0 1 32 32z"}),createBaseVNode("path",{fill:"currentColor",d:"M128 320v512h768V320zm-32-64h832a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M704 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128"})]))}}),wallet_default=wallet_vue_vue_type_script_setup_true_lang_default,warn_triangle_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"WarnTriangleFilled",__name:"warn-triangle-filled",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M928.99 755.83 574.6 203.25c-12.89-20.16-36.76-32.58-62.6-32.58s-49.71 12.43-62.6 32.58L95.01 755.83c-12.91 20.12-12.9 44.91.01 65.03 12.92 20.12 36.78 32.51 62.59 32.49h708.78c25.82.01 49.68-12.37 62.59-32.49 12.91-20.12 12.92-44.91.01-65.03M554.67 768h-85.33v-85.33h85.33zm0-426.67v298.66h-85.33V341.32z"})]))}}),warn_triangle_filled_default=warn_triangle_filled_vue_vue_type_script_setup_true_lang_default,warning_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"WarningFilled",__name:"warning-filled",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}}),warning_filled_default=warning_filled_vue_vue_type_script_setup_true_lang_default,warning_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Warning",__name:"warning",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"})]))}}),warning_default=warning_vue_vue_type_script_setup_true_lang_default,watch_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Watch",__name:"watch",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 768a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),createBaseVNode("path",{fill:"currentColor",d:"M480 352a32 32 0 0 1 32 32v160a32 32 0 0 1-64 0V384a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M480 512h128q32 0 32 32t-32 32H480q-32 0-32-32t32-32m128-256V128H416v128h-64V64h320v192zM416 768v128h192V768h64v192H352V768z"})]))}}),watch_default=watch_vue_vue_type_script_setup_true_lang_default,watermelon_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Watermelon",__name:"watermelon",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m683.072 600.32-43.648 162.816-61.824-16.512 53.248-198.528L576 493.248l-158.4 158.4-45.248-45.248 158.4-158.4-55.616-55.616-198.528 53.248-16.512-61.824 162.816-43.648L282.752 200A384 384 0 0 0 824 741.248zm231.552 141.056a448 448 0 1 1-632-632l632 632"})]))}}),watermelon_default=watermelon_vue_vue_type_script_setup_true_lang_default,wind_power_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"WindPower",__name:"wind-power",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 64q32 0 32 32v832q0 32-32 32t-32-32V96q0-32 32-32m416 354.624 128-11.584V168.96l-128-11.52v261.12zm-64 5.824V151.552L320 134.08V160h-64V64l616.704 56.064A96 96 0 0 1 960 215.68v144.64a96 96 0 0 1-87.296 95.616L256 512V224h64v217.92zm256-23.232 98.88-8.96A32 32 0 0 0 896 360.32V215.68a32 32 0 0 0-29.12-31.872l-98.88-8.96z"})]))}}),wind_power_default=wind_power_vue_vue_type_script_setup_true_lang_default,zoom_in_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ZoomIn",__name:"zoom-in",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"})]))}}),zoom_in_default=zoom_in_vue_vue_type_script_setup_true_lang_default,zoom_out_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ZoomOut",__name:"zoom-out",setup(Ra){return(qa,ed)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704M352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64"})]))}}),zoom_out_default=zoom_out_vue_vue_type_script_setup_true_lang_default;const ElementPlusIconsVue=Object.freeze(Object.defineProperty({__proto__:null,AddLocation:add_location_default,Aim:aim_default,AlarmClock:alarm_clock_default,Apple:apple_default,ArrowDown:arrow_down_default,ArrowDownBold:arrow_down_bold_default,ArrowLeft:arrow_left_default,ArrowLeftBold:arrow_left_bold_default,ArrowRight:arrow_right_default,ArrowRightBold:arrow_right_bold_default,ArrowUp:arrow_up_default,ArrowUpBold:arrow_up_bold_default,Avatar:avatar_default,Back:back_default,Baseball:baseball_default,Basketball:basketball_default,Bell:bell_default,BellFilled:bell_filled_default,Bicycle:bicycle_default,Bottom:bottom_default,BottomLeft:bottom_left_default,BottomRight:bottom_right_default,Bowl:bowl_default,Box:box_default,Briefcase:briefcase_default,Brush:brush_default,BrushFilled:brush_filled_default,Burger:burger_default,Calendar:calendar_default,Camera:camera_default,CameraFilled:camera_filled_default,CaretBottom:caret_bottom_default,CaretLeft:caret_left_default,CaretRight:caret_right_default,CaretTop:caret_top_default,Cellphone:cellphone_default,ChatDotRound:chat_dot_round_default,ChatDotSquare:chat_dot_square_default,ChatLineRound:chat_line_round_default,ChatLineSquare:chat_line_square_default,ChatRound:chat_round_default,ChatSquare:chat_square_default,Check:check_default,Checked:checked_default,Cherry:cherry_default,Chicken:chicken_default,ChromeFilled:chrome_filled_default,CircleCheck:circle_check_default,CircleCheckFilled:circle_check_filled_default,CircleClose:circle_close_default,CircleCloseFilled:circle_close_filled_default,CirclePlus:circle_plus_default,CirclePlusFilled:circle_plus_filled_default,Clock:clock_default,Close:close_default,CloseBold:close_bold_default,Cloudy:cloudy_default,Coffee:coffee_default,CoffeeCup:coffee_cup_default,Coin:coin_default,ColdDrink:cold_drink_default,Collection:collection_default,CollectionTag:collection_tag_default,Comment:comment_default,Compass:compass_default,Connection:connection_default,Coordinate:coordinate_default,CopyDocument:copy_document_default,Cpu:cpu_default,CreditCard:credit_card_default,Crop:crop_default,DArrowLeft:d_arrow_left_default,DArrowRight:d_arrow_right_default,DCaret:d_caret_default,DataAnalysis:data_analysis_default,DataBoard:data_board_default,DataLine:data_line_default,Delete:delete_default,DeleteFilled:delete_filled_default,DeleteLocation:delete_location_default,Dessert:dessert_default,Discount:discount_default,Dish:dish_default,DishDot:dish_dot_default,Document:document_default,DocumentAdd:document_add_default,DocumentChecked:document_checked_default,DocumentCopy:document_copy_default,DocumentDelete:document_delete_default,DocumentRemove:document_remove_default,Download:download_default,Drizzling:drizzling_default,Edit:edit_default,EditPen:edit_pen_default,Eleme:eleme_default,ElemeFilled:eleme_filled_default,ElementPlus:element_plus_default,Expand:expand_default,Failed:failed_default,Female:female_default,Files:files_default,Film:film_default,Filter:filter_default,Finished:finished_default,FirstAidKit:first_aid_kit_default,Flag:flag_default,Fold:fold_default,Folder:folder_default,FolderAdd:folder_add_default,FolderChecked:folder_checked_default,FolderDelete:folder_delete_default,FolderOpened:folder_opened_default,FolderRemove:folder_remove_default,Food:food_default,Football:football_default,ForkSpoon:fork_spoon_default,Fries:fries_default,FullScreen:full_screen_default,Goblet:goblet_default,GobletFull:goblet_full_default,GobletSquare:goblet_square_default,GobletSquareFull:goblet_square_full_default,GoldMedal:gold_medal_default,Goods:goods_default,GoodsFilled:goods_filled_default,Grape:grape_default,Grid:grid_default,Guide:guide_default,Handbag:handbag_default,Headset:headset_default,Help:help_default,HelpFilled:help_filled_default,Hide:hide_default,Histogram:histogram_default,HomeFilled:home_filled_default,HotWater:hot_water_default,House:house_default,IceCream:ice_cream_default,IceCreamRound:ice_cream_round_default,IceCreamSquare:ice_cream_square_default,IceDrink:ice_drink_default,IceTea:ice_tea_default,InfoFilled:info_filled_default,Iphone:iphone_default,Key:key_default,KnifeFork:knife_fork_default,Lightning:lightning_default,Link:link_default,List:list_default,Loading:loading_default,Location:location_default,LocationFilled:location_filled_default,LocationInformation:location_information_default,Lock:lock_default,Lollipop:lollipop_default,MagicStick:magic_stick_default,Magnet:magnet_default,Male:male_default,Management:management_default,MapLocation:map_location_default,Medal:medal_default,Memo:memo_default,Menu:menu_default,Message:message_default,MessageBox:message_box_default,Mic:mic_default,Microphone:microphone_default,MilkTea:milk_tea_default,Minus:minus_default,Money:money_default,Monitor:monitor_default,Moon:moon_default,MoonNight:moon_night_default,More:more_default,MoreFilled:more_filled_default,MostlyCloudy:mostly_cloudy_default,Mouse:mouse_default,Mug:mug_default,Mute:mute_default,MuteNotification:mute_notification_default,NoSmoking:no_smoking_default,Notebook:notebook_default,Notification:notification_default,Odometer:odometer_default,OfficeBuilding:office_building_default,Open:open_default,Operation:operation_default,Opportunity:opportunity_default,Orange:orange_default,Paperclip:paperclip_default,PartlyCloudy:partly_cloudy_default,Pear:pear_default,Phone:phone_default,PhoneFilled:phone_filled_default,Picture:picture_default,PictureFilled:picture_filled_default,PictureRounded:picture_rounded_default,PieChart:pie_chart_default,Place:place_default,Platform:platform_default,Plus:plus_default,Pointer:pointer_default,Position:position_default,Postcard:postcard_default,Pouring:pouring_default,Present:present_default,PriceTag:price_tag_default,Printer:printer_default,Promotion:promotion_default,QuartzWatch:quartz_watch_default,QuestionFilled:question_filled_default,Rank:rank_default,Reading:reading_default,ReadingLamp:reading_lamp_default,Refresh:refresh_default,RefreshLeft:refresh_left_default,RefreshRight:refresh_right_default,Refrigerator:refrigerator_default,Remove:remove_default,RemoveFilled:remove_filled_default,Right:right_default,ScaleToOriginal:scale_to_original_default,School:school_default,Scissor:scissor_default,Search:search_default,Select:select_default,Sell:sell_default,SemiSelect:semi_select_default,Service:service_default,SetUp:set_up_default,Setting:setting_default,Share:share_default,Ship:ship_default,Shop:shop_default,ShoppingBag:shopping_bag_default,ShoppingCart:shopping_cart_default,ShoppingCartFull:shopping_cart_full_default,ShoppingTrolley:shopping_trolley_default,Smoking:smoking_default,Soccer:soccer_default,SoldOut:sold_out_default,Sort:sort_default,SortDown:sort_down_default,SortUp:sort_up_default,Stamp:stamp_default,Star:star_default,StarFilled:star_filled_default,Stopwatch:stopwatch_default,SuccessFilled:success_filled_default,Sugar:sugar_default,Suitcase:suitcase_default,SuitcaseLine:suitcase_line_default,Sunny:sunny_default,Sunrise:sunrise_default,Sunset:sunset_default,Switch:switch_default,SwitchButton:switch_button_default,SwitchFilled:switch_filled_default,TakeawayBox:takeaway_box_default,Ticket:ticket_default,Tickets:tickets_default,Timer:timer_default,ToiletPaper:toilet_paper_default,Tools:tools_default,Top:top_default,TopLeft:top_left_default,TopRight:top_right_default,TrendCharts:trend_charts_default,Trophy:trophy_default,TrophyBase:trophy_base_default,TurnOff:turn_off_default,Umbrella:umbrella_default,Unlock:unlock_default,Upload:upload_default,UploadFilled:upload_filled_default,User:user_default,UserFilled:user_filled_default,Van:van_default,VideoCamera:video_camera_default,VideoCameraFilled:video_camera_filled_default,VideoPause:video_pause_default,VideoPlay:video_play_default,View:view_default,Wallet:wallet_default,WalletFilled:wallet_filled_default,WarnTriangleFilled:warn_triangle_filled_default,Warning:warning_default,WarningFilled:warning_filled_default,Watch:watch_default,Watermelon:watermelon_default,WindPower:wind_power_default,ZoomIn:zoom_in_default,ZoomOut:zoom_out_default},Symbol.toStringTag,{value:"Module"})),epPropKey="__epPropKey",definePropType=Ra=>Ra,isEpProp=Ra=>isObject$5(Ra)&&!!Ra[epPropKey],buildProp=(Ra,qa)=>{if(!isObject$5(Ra)||isEpProp(Ra))return Ra;const{values:ed,required:td,default:rd,type:sd,validator:od}=Ra,ud={type:sd,required:!!td,validator:ed||od?cd=>{let dd=!1,_d=[];if(ed&&(_d=Array.from(ed),hasOwn$2(Ra,"default")&&_d.push(rd),dd||(dd=_d.includes(cd))),od&&(dd||(dd=od(cd))),!dd&&_d.length>0){const Ed=[...new Set(_d)].map(Ad=>JSON.stringify(Ad)).join(", ");warn$2(`Invalid prop: validation failed${qa?` for prop "${qa}"`:""}. Expected one of [${Ed}], got value ${JSON.stringify(cd)}.`)}return dd}:void 0,[epPropKey]:!0};return hasOwn$2(Ra,"default")&&(ud.default=rd),ud},buildProps=Ra=>fromPairs(Object.entries(Ra).map(([qa,ed])=>[qa,buildProp(ed,qa)])),iconPropType=definePropType([String,Object,Function]),CloseComponents={Close:close_default},TypeComponents={Close:close_default,SuccessFilled:success_filled_default,InfoFilled:info_filled_default,WarningFilled:warning_filled_default,CircleCloseFilled:circle_close_filled_default},TypeComponentsMap={success:success_filled_default,warning:warning_filled_default,error:circle_close_filled_default,info:info_filled_default},ValidateComponentsMap={validating:loading_default,success:circle_check_default,error:circle_close_default},withInstall=(Ra,qa)=>{if(Ra.install=ed=>{for(const td of[Ra,...Object.values(qa??{})])ed.component(td.name,td)},qa)for(const[ed,td]of Object.entries(qa))Ra[ed]=td;return Ra},withInstallFunction=(Ra,qa)=>(Ra.install=ed=>{Ra._context=ed._context,ed.config.globalProperties[qa]=Ra},Ra),withNoopInstall=Ra=>(Ra.install=NOOP,Ra),EVENT_CODE={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},UPDATE_MODEL_EVENT="update:modelValue",CHANGE_EVENT="change",INPUT_EVENT="input",componentSizes=["","default","small","large"],isValidComponentSize=Ra=>["",...componentSizes].includes(Ra);var PatchFlags=(Ra=>(Ra[Ra.TEXT=1]="TEXT",Ra[Ra.CLASS=2]="CLASS",Ra[Ra.STYLE=4]="STYLE",Ra[Ra.PROPS=8]="PROPS",Ra[Ra.FULL_PROPS=16]="FULL_PROPS",Ra[Ra.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",Ra[Ra.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",Ra[Ra.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",Ra[Ra.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",Ra[Ra.NEED_PATCH=512]="NEED_PATCH",Ra[Ra.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",Ra[Ra.HOISTED=-1]="HOISTED",Ra[Ra.BAIL=-2]="BAIL",Ra))(PatchFlags||{});const flattedChildren=Ra=>{const qa=isArray$2(Ra)?Ra:[Ra],ed=[];return qa.forEach(td=>{var rd;isArray$2(td)?ed.push(...flattedChildren(td)):isVNode(td)&&isArray$2(td.children)?ed.push(...flattedChildren(td.children)):(ed.push(td),isVNode(td)&&((rd=td.component)!=null&&rd.subTree)&&ed.push(...flattedChildren(td.component.subTree)))}),ed},isKorean=Ra=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(Ra),mutable=Ra=>Ra,DEFAULT_EXCLUDE_KEYS=["class","style"],LISTENER_PREFIX=/^on[A-Z]/,useAttrs=(Ra={})=>{const{excludeListeners:qa=!1,excludeKeys:ed}=Ra,td=computed(()=>((ed==null?void 0:ed.value)||[]).concat(DEFAULT_EXCLUDE_KEYS)),rd=getCurrentInstance();return computed(rd?()=>{var sd;return fromPairs(Object.entries((sd=rd.proxy)==null?void 0:sd.$attrs).filter(([od])=>!td.value.includes(od)&&!(qa&&LISTENER_PREFIX.test(od))))}:()=>({}))},useDeprecated=({from:Ra,replacement:qa,scope:ed,version:td,ref:rd,type:sd="API"},od)=>{watch(()=>unref(od),ld=>{},{immediate:!0})},useDraggable=(Ra,qa,ed,td)=>{let rd={offsetX:0,offsetY:0};const sd=cd=>{const dd=cd.clientX,_d=cd.clientY,{offsetX:Ed,offsetY:Ad}=rd,Td=Ra.value.getBoundingClientRect(),Id=Td.left,Bd=Td.top,Rd=Td.width,Od=Td.height,Md=document.documentElement.clientWidth,Ld=document.documentElement.clientHeight,Fd=-Id+Ed,jd=-Bd+Ad,Vd=Md-Id-Rd+Ed,Qd=Ld-Bd-Od+Ad,qd=Xd=>{let df=Ed+Xd.clientX-dd,mf=Ad+Xd.clientY-_d;td!=null&&td.value||(df=Math.min(Math.max(df,Fd),Vd),mf=Math.min(Math.max(mf,jd),Qd)),rd={offsetX:df,offsetY:mf},Ra.value&&(Ra.value.style.transform=`translate(${addUnit(df)}, ${addUnit(mf)})`)},Kd=()=>{document.removeEventListener("mousemove",qd),document.removeEventListener("mouseup",Kd)};document.addEventListener("mousemove",qd),document.addEventListener("mouseup",Kd)},od=()=>{qa.value&&Ra.value&&qa.value.addEventListener("mousedown",sd)},ld=()=>{qa.value&&Ra.value&&qa.value.removeEventListener("mousedown",sd)},ud=()=>{rd={offsetX:0,offsetY:0},Ra.value&&(Ra.value.style.transform="none")};return onMounted(()=>{watchEffect(()=>{ed.value?od():ld()})}),onBeforeUnmount(()=>{ld()}),{resetPosition:ud}};var English={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color.",alphaLabel:"pick alpha value"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},mention:{loading:"Loading"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tour:{next:"Next",previous:"Previous",finish:"Finish"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"}}};const buildTranslator=Ra=>(qa,ed)=>translate(qa,ed,unref(Ra)),translate=(Ra,qa,ed)=>get$3(ed,Ra,Ra).replace(/\{(\w+)\}/g,(td,rd)=>{var sd;return`${(sd=qa==null?void 0:qa[rd])!=null?sd:`{${rd}}`}`}),buildLocaleContext=Ra=>{const qa=computed(()=>unref(Ra).name),ed=isRef(Ra)?Ra:ref$1(Ra);return{lang:qa,locale:ed,t:buildTranslator(Ra)}},localeContextKey=Symbol("localeContextKey"),useLocale=Ra=>{const qa=Ra||inject(localeContextKey,ref$1());return buildLocaleContext(computed(()=>qa.value||English))},defaultNamespace="el",statePrefix="is-",_bem=(Ra,qa,ed,td,rd)=>{let sd=`${Ra}-${qa}`;return ed&&(sd+=`-${ed}`),td&&(sd+=`__${td}`),rd&&(sd+=`--${rd}`),sd},namespaceContextKey=Symbol("namespaceContextKey"),useGetDerivedNamespace=Ra=>{const qa=Ra||(getCurrentInstance()?inject(namespaceContextKey,ref$1(defaultNamespace)):ref$1(defaultNamespace));return computed(()=>unref(qa)||defaultNamespace)},useNamespace=(Ra,qa)=>{const ed=useGetDerivedNamespace(qa);return{namespace:ed,b:(Id="")=>_bem(ed.value,Ra,Id,"",""),e:Id=>Id?_bem(ed.value,Ra,"",Id,""):"",m:Id=>Id?_bem(ed.value,Ra,"","",Id):"",be:(Id,Bd)=>Id&&Bd?_bem(ed.value,Ra,Id,Bd,""):"",em:(Id,Bd)=>Id&&Bd?_bem(ed.value,Ra,"",Id,Bd):"",bm:(Id,Bd)=>Id&&Bd?_bem(ed.value,Ra,Id,"",Bd):"",bem:(Id,Bd,Rd)=>Id&&Bd&&Rd?_bem(ed.value,Ra,Id,Bd,Rd):"",is:(Id,...Bd)=>{const Rd=Bd.length>=1?Bd[0]:!0;return Id&&Rd?`${statePrefix}${Id}`:""},cssVar:Id=>{const Bd={};for(const Rd in Id)Id[Rd]&&(Bd[`--${ed.value}-${Rd}`]=Id[Rd]);return Bd},cssVarName:Id=>`--${ed.value}-${Id}`,cssVarBlock:Id=>{const Bd={};for(const Rd in Id)Id[Rd]&&(Bd[`--${ed.value}-${Ra}-${Rd}`]=Id[Rd]);return Bd},cssVarBlockName:Id=>`--${ed.value}-${Ra}-${Id}`}},useLockscreen=(Ra,qa={})=>{isRef(Ra)||throwError$1("[useLockscreen]","You need to pass a ref param to this function");const ed=qa.ns||useNamespace("popup"),td=computed(()=>ed.bm("parent","hidden"));if(!isClient$1||hasClass$1(document.body,td.value))return;let rd=0,sd=!1,od="0";const ld=()=>{setTimeout(()=>{removeClass$1(document==null?void 0:document.body,td.value),sd&&document&&(document.body.style.width=od)},200)};watch(Ra,ud=>{if(!ud){ld();return}sd=!hasClass$1(document.body,td.value),sd&&(od=document.body.style.width),rd=getScrollBarWidth(ed.namespace.value);const cd=document.documentElement.clientHeight0&&(cd||dd==="scroll")&&sd&&(document.body.style.width=`calc(100% - ${rd}px)`),addClass$1(document.body,td.value)}),onScopeDispose(()=>ld())},_prop=buildProp({type:definePropType(Boolean),default:null}),_event=buildProp({type:definePropType(Function)}),createModelToggleComposable=Ra=>{const qa=`update:${Ra}`,ed=`onUpdate:${Ra}`,td=[qa],rd={[Ra]:_prop,[ed]:_event};return{useModelToggle:({indicator:od,toggleReason:ld,shouldHideWhenRouteChanges:ud,shouldProceed:cd,onShow:dd,onHide:_d})=>{const Ed=getCurrentInstance(),{emit:Ad}=Ed,Td=Ed.props,Id=computed(()=>isFunction$4(Td[ed])),Bd=computed(()=>Td[Ra]===null),Rd=Vd=>{od.value!==!0&&(od.value=!0,ld&&(ld.value=Vd),isFunction$4(dd)&&dd(Vd))},Od=Vd=>{od.value!==!1&&(od.value=!1,ld&&(ld.value=Vd),isFunction$4(_d)&&_d(Vd))},Md=Vd=>{if(Td.disabled===!0||isFunction$4(cd)&&!cd())return;const Qd=Id.value&&isClient$1;Qd&&Ad(qa,!0),(Bd.value||!Qd)&&Rd(Vd)},Ld=Vd=>{if(Td.disabled===!0||!isClient$1)return;const Qd=Id.value&&isClient$1;Qd&&Ad(qa,!1),(Bd.value||!Qd)&&Od(Vd)},Fd=Vd=>{isBoolean$3(Vd)&&(Td.disabled&&Vd?Id.value&&Ad(qa,!1):od.value!==Vd&&(Vd?Rd():Od()))},jd=()=>{od.value?Ld():Md()};return watch(()=>Td[Ra],Fd),ud&&Ed.appContext.config.globalProperties.$route!==void 0&&watch(()=>({...Ed.proxy.$route}),()=>{ud.value&&od.value&&Ld()}),onMounted(()=>{Fd(Td[Ra])}),{hide:Ld,show:Md,toggle:jd,hasUpdateHandler:Id}},useModelToggleProps:rd,useModelToggleEmits:td}};createModelToggleComposable("modelValue");const useProp=Ra=>{const qa=getCurrentInstance();return computed(()=>{var ed,td;return(td=(ed=qa==null?void 0:qa.proxy)==null?void 0:ed.$props)==null?void 0:td[Ra]})};var E$3="top",R$4="bottom",W$4="right",P$4="left",me$2="auto",G$5=[E$3,R$4,W$4,P$4],U$4="start",J$4="end",Xe$3="clippingParents",je$5="viewport",K$4="popper",Ye$3="reference",De$3=G$5.reduce(function(Ra,qa){return Ra.concat([qa+"-"+U$4,qa+"-"+J$4])},[]),Ee$4=[].concat(G$5,[me$2]).reduce(function(Ra,qa){return Ra.concat([qa,qa+"-"+U$4,qa+"-"+J$4])},[]),Ge$3="beforeRead",Je$4="read",Ke$3="afterRead",Qe$3="beforeMain",Ze$4="main",et$5="afterMain",tt$4="beforeWrite",nt$3="write",rt$3="afterWrite",ot$3=[Ge$3,Je$4,Ke$3,Qe$3,Ze$4,et$5,tt$4,nt$3,rt$3];function C$2(Ra){return Ra?(Ra.nodeName||"").toLowerCase():null}function H$4(Ra){if(Ra==null)return window;if(Ra.toString()!=="[object Window]"){var qa=Ra.ownerDocument;return qa&&qa.defaultView||window}return Ra}function Q$5(Ra){var qa=H$4(Ra).Element;return Ra instanceof qa||Ra instanceof Element}function B$3(Ra){var qa=H$4(Ra).HTMLElement;return Ra instanceof qa||Ra instanceof HTMLElement}function Pe$5(Ra){if(typeof ShadowRoot>"u")return!1;var qa=H$4(Ra).ShadowRoot;return Ra instanceof qa||Ra instanceof ShadowRoot}function Mt$4(Ra){var qa=Ra.state;Object.keys(qa.elements).forEach(function(ed){var td=qa.styles[ed]||{},rd=qa.attributes[ed]||{},sd=qa.elements[ed];!B$3(sd)||!C$2(sd)||(Object.assign(sd.style,td),Object.keys(rd).forEach(function(od){var ld=rd[od];ld===!1?sd.removeAttribute(od):sd.setAttribute(od,ld===!0?"":ld)}))})}function Rt$5(Ra){var qa=Ra.state,ed={popper:{position:qa.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(qa.elements.popper.style,ed.popper),qa.styles=ed,qa.elements.arrow&&Object.assign(qa.elements.arrow.style,ed.arrow),function(){Object.keys(qa.elements).forEach(function(td){var rd=qa.elements[td],sd=qa.attributes[td]||{},od=Object.keys(qa.styles.hasOwnProperty(td)?qa.styles[td]:ed[td]),ld=od.reduce(function(ud,cd){return ud[cd]="",ud},{});!B$3(rd)||!C$2(rd)||(Object.assign(rd.style,ld),Object.keys(sd).forEach(function(ud){rd.removeAttribute(ud)}))})}}var Ae$3={name:"applyStyles",enabled:!0,phase:"write",fn:Mt$4,effect:Rt$5,requires:["computeStyles"]};function q$4(Ra){return Ra.split("-")[0]}var X$5=Math.max,ve$4=Math.min,Z$3=Math.round;function ee$3(Ra,qa){qa===void 0&&(qa=!1);var ed=Ra.getBoundingClientRect(),td=1,rd=1;if(B$3(Ra)&&qa){var sd=Ra.offsetHeight,od=Ra.offsetWidth;od>0&&(td=Z$3(ed.width)/od||1),sd>0&&(rd=Z$3(ed.height)/sd||1)}return{width:ed.width/td,height:ed.height/rd,top:ed.top/rd,right:ed.right/td,bottom:ed.bottom/rd,left:ed.left/td,x:ed.left/td,y:ed.top/rd}}function ke$4(Ra){var qa=ee$3(Ra),ed=Ra.offsetWidth,td=Ra.offsetHeight;return Math.abs(qa.width-ed)<=1&&(ed=qa.width),Math.abs(qa.height-td)<=1&&(td=qa.height),{x:Ra.offsetLeft,y:Ra.offsetTop,width:ed,height:td}}function it$3(Ra,qa){var ed=qa.getRootNode&&qa.getRootNode();if(Ra.contains(qa))return!0;if(ed&&Pe$5(ed)){var td=qa;do{if(td&&Ra.isSameNode(td))return!0;td=td.parentNode||td.host}while(td)}return!1}function N$5(Ra){return H$4(Ra).getComputedStyle(Ra)}function Wt$2(Ra){return["table","td","th"].indexOf(C$2(Ra))>=0}function I$2(Ra){return((Q$5(Ra)?Ra.ownerDocument:Ra.document)||window.document).documentElement}function ge$5(Ra){return C$2(Ra)==="html"?Ra:Ra.assignedSlot||Ra.parentNode||(Pe$5(Ra)?Ra.host:null)||I$2(Ra)}function at$5(Ra){return!B$3(Ra)||N$5(Ra).position==="fixed"?null:Ra.offsetParent}function Bt$5(Ra){var qa=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,ed=navigator.userAgent.indexOf("Trident")!==-1;if(ed&&B$3(Ra)){var td=N$5(Ra);if(td.position==="fixed")return null}var rd=ge$5(Ra);for(Pe$5(rd)&&(rd=rd.host);B$3(rd)&&["html","body"].indexOf(C$2(rd))<0;){var sd=N$5(rd);if(sd.transform!=="none"||sd.perspective!=="none"||sd.contain==="paint"||["transform","perspective"].indexOf(sd.willChange)!==-1||qa&&sd.willChange==="filter"||qa&&sd.filter&&sd.filter!=="none")return rd;rd=rd.parentNode}return null}function se$3(Ra){for(var qa=H$4(Ra),ed=at$5(Ra);ed&&Wt$2(ed)&&N$5(ed).position==="static";)ed=at$5(ed);return ed&&(C$2(ed)==="html"||C$2(ed)==="body"&&N$5(ed).position==="static")?qa:ed||Bt$5(Ra)||qa}function Le$4(Ra){return["top","bottom"].indexOf(Ra)>=0?"x":"y"}function fe$4(Ra,qa,ed){return X$5(Ra,ve$4(qa,ed))}function St$4(Ra,qa,ed){var td=fe$4(Ra,qa,ed);return td>ed?ed:td}function st$3(){return{top:0,right:0,bottom:0,left:0}}function ft$3(Ra){return Object.assign({},st$3(),Ra)}function ct$2(Ra,qa){return qa.reduce(function(ed,td){return ed[td]=Ra,ed},{})}var Tt$4=function(Ra,qa){return Ra=typeof Ra=="function"?Ra(Object.assign({},qa.rects,{placement:qa.placement})):Ra,ft$3(typeof Ra!="number"?Ra:ct$2(Ra,G$5))};function Ht$4(Ra){var qa,ed=Ra.state,td=Ra.name,rd=Ra.options,sd=ed.elements.arrow,od=ed.modifiersData.popperOffsets,ld=q$4(ed.placement),ud=Le$4(ld),cd=[P$4,W$4].indexOf(ld)>=0,dd=cd?"height":"width";if(!(!sd||!od)){var _d=Tt$4(rd.padding,ed),Ed=ke$4(sd),Ad=ud==="y"?E$3:P$4,Td=ud==="y"?R$4:W$4,Id=ed.rects.reference[dd]+ed.rects.reference[ud]-od[ud]-ed.rects.popper[dd],Bd=od[ud]-ed.rects.reference[ud],Rd=se$3(sd),Od=Rd?ud==="y"?Rd.clientHeight||0:Rd.clientWidth||0:0,Md=Id/2-Bd/2,Ld=_d[Ad],Fd=Od-Ed[dd]-_d[Td],jd=Od/2-Ed[dd]/2+Md,Vd=fe$4(Ld,jd,Fd),Qd=ud;ed.modifiersData[td]=(qa={},qa[Qd]=Vd,qa.centerOffset=Vd-jd,qa)}}function Ct$5(Ra){var qa=Ra.state,ed=Ra.options,td=ed.element,rd=td===void 0?"[data-popper-arrow]":td;rd!=null&&(typeof rd=="string"&&(rd=qa.elements.popper.querySelector(rd),!rd)||!it$3(qa.elements.popper,rd)||(qa.elements.arrow=rd))}var pt$4={name:"arrow",enabled:!0,phase:"main",fn:Ht$4,effect:Ct$5,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function te$4(Ra){return Ra.split("-")[1]}var qt$3={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Vt$4(Ra){var qa=Ra.x,ed=Ra.y,td=window,rd=td.devicePixelRatio||1;return{x:Z$3(qa*rd)/rd||0,y:Z$3(ed*rd)/rd||0}}function ut$2(Ra){var qa,ed=Ra.popper,td=Ra.popperRect,rd=Ra.placement,sd=Ra.variation,od=Ra.offsets,ld=Ra.position,ud=Ra.gpuAcceleration,cd=Ra.adaptive,dd=Ra.roundOffsets,_d=Ra.isFixed,Ed=od.x,Ad=Ed===void 0?0:Ed,Td=od.y,Id=Td===void 0?0:Td,Bd=typeof dd=="function"?dd({x:Ad,y:Id}):{x:Ad,y:Id};Ad=Bd.x,Id=Bd.y;var Rd=od.hasOwnProperty("x"),Od=od.hasOwnProperty("y"),Md=P$4,Ld=E$3,Fd=window;if(cd){var jd=se$3(ed),Vd="clientHeight",Qd="clientWidth";if(jd===H$4(ed)&&(jd=I$2(ed),N$5(jd).position!=="static"&&ld==="absolute"&&(Vd="scrollHeight",Qd="scrollWidth")),jd=jd,rd===E$3||(rd===P$4||rd===W$4)&&sd===J$4){Ld=R$4;var qd=_d&&jd===Fd&&Fd.visualViewport?Fd.visualViewport.height:jd[Vd];Id-=qd-td.height,Id*=ud?1:-1}if(rd===P$4||(rd===E$3||rd===R$4)&&sd===J$4){Md=W$4;var Kd=_d&&jd===Fd&&Fd.visualViewport?Fd.visualViewport.width:jd[Qd];Ad-=Kd-td.width,Ad*=ud?1:-1}}var Xd=Object.assign({position:ld},cd&&qt$3),df=dd===!0?Vt$4({x:Ad,y:Id}):{x:Ad,y:Id};if(Ad=df.x,Id=df.y,ud){var mf;return Object.assign({},Xd,(mf={},mf[Ld]=Od?"0":"",mf[Md]=Rd?"0":"",mf.transform=(Fd.devicePixelRatio||1)<=1?"translate("+Ad+"px, "+Id+"px)":"translate3d("+Ad+"px, "+Id+"px, 0)",mf))}return Object.assign({},Xd,(qa={},qa[Ld]=Od?Id+"px":"",qa[Md]=Rd?Ad+"px":"",qa.transform="",qa))}function Nt$4(Ra){var qa=Ra.state,ed=Ra.options,td=ed.gpuAcceleration,rd=td===void 0?!0:td,sd=ed.adaptive,od=sd===void 0?!0:sd,ld=ed.roundOffsets,ud=ld===void 0?!0:ld,cd={placement:q$4(qa.placement),variation:te$4(qa.placement),popper:qa.elements.popper,popperRect:qa.rects.popper,gpuAcceleration:rd,isFixed:qa.options.strategy==="fixed"};qa.modifiersData.popperOffsets!=null&&(qa.styles.popper=Object.assign({},qa.styles.popper,ut$2(Object.assign({},cd,{offsets:qa.modifiersData.popperOffsets,position:qa.options.strategy,adaptive:od,roundOffsets:ud})))),qa.modifiersData.arrow!=null&&(qa.styles.arrow=Object.assign({},qa.styles.arrow,ut$2(Object.assign({},cd,{offsets:qa.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:ud})))),qa.attributes.popper=Object.assign({},qa.attributes.popper,{"data-popper-placement":qa.placement})}var Me$6={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Nt$4,data:{}},ye$3={passive:!0};function It$4(Ra){var qa=Ra.state,ed=Ra.instance,td=Ra.options,rd=td.scroll,sd=rd===void 0?!0:rd,od=td.resize,ld=od===void 0?!0:od,ud=H$4(qa.elements.popper),cd=[].concat(qa.scrollParents.reference,qa.scrollParents.popper);return sd&&cd.forEach(function(dd){dd.addEventListener("scroll",ed.update,ye$3)}),ld&&ud.addEventListener("resize",ed.update,ye$3),function(){sd&&cd.forEach(function(dd){dd.removeEventListener("scroll",ed.update,ye$3)}),ld&&ud.removeEventListener("resize",ed.update,ye$3)}}var Re$6={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:It$4,data:{}},_t$3={left:"right",right:"left",bottom:"top",top:"bottom"};function be$6(Ra){return Ra.replace(/left|right|bottom|top/g,function(qa){return _t$3[qa]})}var zt$2={start:"end",end:"start"};function lt$3(Ra){return Ra.replace(/start|end/g,function(qa){return zt$2[qa]})}function We$2(Ra){var qa=H$4(Ra),ed=qa.pageXOffset,td=qa.pageYOffset;return{scrollLeft:ed,scrollTop:td}}function Be$5(Ra){return ee$3(I$2(Ra)).left+We$2(Ra).scrollLeft}function Ft$5(Ra){var qa=H$4(Ra),ed=I$2(Ra),td=qa.visualViewport,rd=ed.clientWidth,sd=ed.clientHeight,od=0,ld=0;return td&&(rd=td.width,sd=td.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(od=td.offsetLeft,ld=td.offsetTop)),{width:rd,height:sd,x:od+Be$5(Ra),y:ld}}function Ut$3(Ra){var qa,ed=I$2(Ra),td=We$2(Ra),rd=(qa=Ra.ownerDocument)==null?void 0:qa.body,sd=X$5(ed.scrollWidth,ed.clientWidth,rd?rd.scrollWidth:0,rd?rd.clientWidth:0),od=X$5(ed.scrollHeight,ed.clientHeight,rd?rd.scrollHeight:0,rd?rd.clientHeight:0),ld=-td.scrollLeft+Be$5(Ra),ud=-td.scrollTop;return N$5(rd||ed).direction==="rtl"&&(ld+=X$5(ed.clientWidth,rd?rd.clientWidth:0)-sd),{width:sd,height:od,x:ld,y:ud}}function Se$4(Ra){var qa=N$5(Ra),ed=qa.overflow,td=qa.overflowX,rd=qa.overflowY;return/auto|scroll|overlay|hidden/.test(ed+rd+td)}function dt$4(Ra){return["html","body","#document"].indexOf(C$2(Ra))>=0?Ra.ownerDocument.body:B$3(Ra)&&Se$4(Ra)?Ra:dt$4(ge$5(Ra))}function ce$4(Ra,qa){var ed;qa===void 0&&(qa=[]);var td=dt$4(Ra),rd=td===((ed=Ra.ownerDocument)==null?void 0:ed.body),sd=H$4(td),od=rd?[sd].concat(sd.visualViewport||[],Se$4(td)?td:[]):td,ld=qa.concat(od);return rd?ld:ld.concat(ce$4(ge$5(od)))}function Te$4(Ra){return Object.assign({},Ra,{left:Ra.x,top:Ra.y,right:Ra.x+Ra.width,bottom:Ra.y+Ra.height})}function Xt$4(Ra){var qa=ee$3(Ra);return qa.top=qa.top+Ra.clientTop,qa.left=qa.left+Ra.clientLeft,qa.bottom=qa.top+Ra.clientHeight,qa.right=qa.left+Ra.clientWidth,qa.width=Ra.clientWidth,qa.height=Ra.clientHeight,qa.x=qa.left,qa.y=qa.top,qa}function ht$4(Ra,qa){return qa===je$5?Te$4(Ft$5(Ra)):Q$5(qa)?Xt$4(qa):Te$4(Ut$3(I$2(Ra)))}function Yt$2(Ra){var qa=ce$4(ge$5(Ra)),ed=["absolute","fixed"].indexOf(N$5(Ra).position)>=0,td=ed&&B$3(Ra)?se$3(Ra):Ra;return Q$5(td)?qa.filter(function(rd){return Q$5(rd)&&it$3(rd,td)&&C$2(rd)!=="body"}):[]}function Gt$4(Ra,qa,ed){var td=qa==="clippingParents"?Yt$2(Ra):[].concat(qa),rd=[].concat(td,[ed]),sd=rd[0],od=rd.reduce(function(ld,ud){var cd=ht$4(Ra,ud);return ld.top=X$5(cd.top,ld.top),ld.right=ve$4(cd.right,ld.right),ld.bottom=ve$4(cd.bottom,ld.bottom),ld.left=X$5(cd.left,ld.left),ld},ht$4(Ra,sd));return od.width=od.right-od.left,od.height=od.bottom-od.top,od.x=od.left,od.y=od.top,od}function mt$4(Ra){var qa=Ra.reference,ed=Ra.element,td=Ra.placement,rd=td?q$4(td):null,sd=td?te$4(td):null,od=qa.x+qa.width/2-ed.width/2,ld=qa.y+qa.height/2-ed.height/2,ud;switch(rd){case E$3:ud={x:od,y:qa.y-ed.height};break;case R$4:ud={x:od,y:qa.y+qa.height};break;case W$4:ud={x:qa.x+qa.width,y:ld};break;case P$4:ud={x:qa.x-ed.width,y:ld};break;default:ud={x:qa.x,y:qa.y}}var cd=rd?Le$4(rd):null;if(cd!=null){var dd=cd==="y"?"height":"width";switch(sd){case U$4:ud[cd]=ud[cd]-(qa[dd]/2-ed[dd]/2);break;case J$4:ud[cd]=ud[cd]+(qa[dd]/2-ed[dd]/2);break}}return ud}function ne$4(Ra,qa){qa===void 0&&(qa={});var ed=qa,td=ed.placement,rd=td===void 0?Ra.placement:td,sd=ed.boundary,od=sd===void 0?Xe$3:sd,ld=ed.rootBoundary,ud=ld===void 0?je$5:ld,cd=ed.elementContext,dd=cd===void 0?K$4:cd,_d=ed.altBoundary,Ed=_d===void 0?!1:_d,Ad=ed.padding,Td=Ad===void 0?0:Ad,Id=ft$3(typeof Td!="number"?Td:ct$2(Td,G$5)),Bd=dd===K$4?Ye$3:K$4,Rd=Ra.rects.popper,Od=Ra.elements[Ed?Bd:dd],Md=Gt$4(Q$5(Od)?Od:Od.contextElement||I$2(Ra.elements.popper),od,ud),Ld=ee$3(Ra.elements.reference),Fd=mt$4({reference:Ld,element:Rd,strategy:"absolute",placement:rd}),jd=Te$4(Object.assign({},Rd,Fd)),Vd=dd===K$4?jd:Ld,Qd={top:Md.top-Vd.top+Id.top,bottom:Vd.bottom-Md.bottom+Id.bottom,left:Md.left-Vd.left+Id.left,right:Vd.right-Md.right+Id.right},qd=Ra.modifiersData.offset;if(dd===K$4&&qd){var Kd=qd[rd];Object.keys(Qd).forEach(function(Xd){var df=[W$4,R$4].indexOf(Xd)>=0?1:-1,mf=[E$3,R$4].indexOf(Xd)>=0?"y":"x";Qd[Xd]+=Kd[mf]*df})}return Qd}function Jt$4(Ra,qa){qa===void 0&&(qa={});var ed=qa,td=ed.placement,rd=ed.boundary,sd=ed.rootBoundary,od=ed.padding,ld=ed.flipVariations,ud=ed.allowedAutoPlacements,cd=ud===void 0?Ee$4:ud,dd=te$4(td),_d=dd?ld?De$3:De$3.filter(function(Td){return te$4(Td)===dd}):G$5,Ed=_d.filter(function(Td){return cd.indexOf(Td)>=0});Ed.length===0&&(Ed=_d);var Ad=Ed.reduce(function(Td,Id){return Td[Id]=ne$4(Ra,{placement:Id,boundary:rd,rootBoundary:sd,padding:od})[q$4(Id)],Td},{});return Object.keys(Ad).sort(function(Td,Id){return Ad[Td]-Ad[Id]})}function Kt$2(Ra){if(q$4(Ra)===me$2)return[];var qa=be$6(Ra);return[lt$3(Ra),qa,lt$3(qa)]}function Qt$3(Ra){var qa=Ra.state,ed=Ra.options,td=Ra.name;if(!qa.modifiersData[td]._skip){for(var rd=ed.mainAxis,sd=rd===void 0?!0:rd,od=ed.altAxis,ld=od===void 0?!0:od,ud=ed.fallbackPlacements,cd=ed.padding,dd=ed.boundary,_d=ed.rootBoundary,Ed=ed.altBoundary,Ad=ed.flipVariations,Td=Ad===void 0?!0:Ad,Id=ed.allowedAutoPlacements,Bd=qa.options.placement,Rd=q$4(Bd),Od=Rd===Bd,Md=ud||(Od||!Td?[be$6(Bd)]:Kt$2(Bd)),Ld=[Bd].concat(Md).reduce(function(Bf,Qf){return Bf.concat(q$4(Qf)===me$2?Jt$4(qa,{placement:Qf,boundary:dd,rootBoundary:_d,padding:cd,flipVariations:Td,allowedAutoPlacements:Id}):Qf)},[]),Fd=qa.rects.reference,jd=qa.rects.popper,Vd=new Map,Qd=!0,qd=Ld[0],Kd=0;Kd=0,pf=bf?"width":"height",_f=ne$4(qa,{placement:Xd,boundary:dd,rootBoundary:_d,altBoundary:Ed,padding:cd}),Tf=bf?mf?W$4:P$4:mf?R$4:E$3;Fd[pf]>jd[pf]&&(Tf=be$6(Tf));var kf=be$6(Tf),zf=[];if(sd&&zf.push(_f[df]<=0),ld&&zf.push(_f[Tf]<=0,_f[kf]<=0),zf.every(function(Bf){return Bf})){qd=Xd,Qd=!1;break}Vd.set(Xd,zf)}if(Qd)for(var Jf=Td?3:1,Gf=function(Bf){var Qf=Ld.find(function(Wf){var yf=Vd.get(Wf);if(yf)return yf.slice(0,Bf).every(function(hf){return hf})});if(Qf)return qd=Qf,"break"},Mf=Jf;Mf>0;Mf--){var Nf=Gf(Mf);if(Nf==="break")break}qa.placement!==qd&&(qa.modifiersData[td]._skip=!0,qa.placement=qd,qa.reset=!0)}}var vt$4={name:"flip",enabled:!0,phase:"main",fn:Qt$3,requiresIfExists:["offset"],data:{_skip:!1}};function gt$3(Ra,qa,ed){return ed===void 0&&(ed={x:0,y:0}),{top:Ra.top-qa.height-ed.y,right:Ra.right-qa.width+ed.x,bottom:Ra.bottom-qa.height+ed.y,left:Ra.left-qa.width-ed.x}}function yt$3(Ra){return[E$3,W$4,R$4,P$4].some(function(qa){return Ra[qa]>=0})}function Zt$3(Ra){var qa=Ra.state,ed=Ra.name,td=qa.rects.reference,rd=qa.rects.popper,sd=qa.modifiersData.preventOverflow,od=ne$4(qa,{elementContext:"reference"}),ld=ne$4(qa,{altBoundary:!0}),ud=gt$3(od,td),cd=gt$3(ld,rd,sd),dd=yt$3(ud),_d=yt$3(cd);qa.modifiersData[ed]={referenceClippingOffsets:ud,popperEscapeOffsets:cd,isReferenceHidden:dd,hasPopperEscaped:_d},qa.attributes.popper=Object.assign({},qa.attributes.popper,{"data-popper-reference-hidden":dd,"data-popper-escaped":_d})}var bt$5={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Zt$3};function en$3(Ra,qa,ed){var td=q$4(Ra),rd=[P$4,E$3].indexOf(td)>=0?-1:1,sd=typeof ed=="function"?ed(Object.assign({},qa,{placement:Ra})):ed,od=sd[0],ld=sd[1];return od=od||0,ld=(ld||0)*rd,[P$4,W$4].indexOf(td)>=0?{x:ld,y:od}:{x:od,y:ld}}function tn$4(Ra){var qa=Ra.state,ed=Ra.options,td=Ra.name,rd=ed.offset,sd=rd===void 0?[0,0]:rd,od=Ee$4.reduce(function(dd,_d){return dd[_d]=en$3(_d,qa.rects,sd),dd},{}),ld=od[qa.placement],ud=ld.x,cd=ld.y;qa.modifiersData.popperOffsets!=null&&(qa.modifiersData.popperOffsets.x+=ud,qa.modifiersData.popperOffsets.y+=cd),qa.modifiersData[td]=od}var wt$3={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:tn$4};function nn$3(Ra){var qa=Ra.state,ed=Ra.name;qa.modifiersData[ed]=mt$4({reference:qa.rects.reference,element:qa.rects.popper,strategy:"absolute",placement:qa.placement})}var He$3={name:"popperOffsets",enabled:!0,phase:"read",fn:nn$3,data:{}};function rn$3(Ra){return Ra==="x"?"y":"x"}function on$2(Ra){var qa=Ra.state,ed=Ra.options,td=Ra.name,rd=ed.mainAxis,sd=rd===void 0?!0:rd,od=ed.altAxis,ld=od===void 0?!1:od,ud=ed.boundary,cd=ed.rootBoundary,dd=ed.altBoundary,_d=ed.padding,Ed=ed.tether,Ad=Ed===void 0?!0:Ed,Td=ed.tetherOffset,Id=Td===void 0?0:Td,Bd=ne$4(qa,{boundary:ud,rootBoundary:cd,padding:_d,altBoundary:dd}),Rd=q$4(qa.placement),Od=te$4(qa.placement),Md=!Od,Ld=Le$4(Rd),Fd=rn$3(Ld),jd=qa.modifiersData.popperOffsets,Vd=qa.rects.reference,Qd=qa.rects.popper,qd=typeof Id=="function"?Id(Object.assign({},qa.rects,{placement:qa.placement})):Id,Kd=typeof qd=="number"?{mainAxis:qd,altAxis:qd}:Object.assign({mainAxis:0,altAxis:0},qd),Xd=qa.modifiersData.offset?qa.modifiersData.offset[qa.placement]:null,df={x:0,y:0};if(jd){if(sd){var mf,bf=Ld==="y"?E$3:P$4,pf=Ld==="y"?R$4:W$4,_f=Ld==="y"?"height":"width",Tf=jd[Ld],kf=Tf+Bd[bf],zf=Tf-Bd[pf],Jf=Ad?-Qd[_f]/2:0,Gf=Od===U$4?Vd[_f]:Qd[_f],Mf=Od===U$4?-Qd[_f]:-Vd[_f],Nf=qa.elements.arrow,Bf=Ad&&Nf?ke$4(Nf):{width:0,height:0},Qf=qa.modifiersData["arrow#persistent"]?qa.modifiersData["arrow#persistent"].padding:st$3(),Wf=Qf[bf],yf=Qf[pf],hf=fe$4(0,Vd[_f],Bf[_f]),Rf=Md?Vd[_f]/2-Jf-hf-Wf-Kd.mainAxis:Gf-hf-Wf-Kd.mainAxis,jf=Md?-Vd[_f]/2+Jf+hf+yf+Kd.mainAxis:Mf+hf+yf+Kd.mainAxis,Kf=qa.elements.arrow&&se$3(qa.elements.arrow),Ff=Kf?Ld==="y"?Kf.clientTop||0:Kf.clientLeft||0:0,wf=(mf=Xd==null?void 0:Xd[Ld])!=null?mf:0,Yf=Tf+Rf-wf-Ff,uh=Tf+jf-wf,Uf=fe$4(Ad?ve$4(kf,Yf):kf,Tf,Ad?X$5(zf,uh):zf);jd[Ld]=Uf,df[Ld]=Uf-Tf}if(ld){var Cf,If=Ld==="x"?E$3:P$4,Lf=Ld==="x"?R$4:W$4,sh=jd[Fd],hh=Fd==="y"?"height":"width",rh=sh+Bd[If],Ah=sh-Bd[Lf],ph=[E$3,P$4].indexOf(Rd)!==-1,vh=(Cf=Xd==null?void 0:Xd[Fd])!=null?Cf:0,qh=ph?rh:sh-Vd[hh]-Qd[hh]-vh+Kd.altAxis,kh=ph?sh+Vd[hh]+Qd[hh]-vh-Kd.altAxis:Ah,Wh=Ad&&ph?St$4(qh,sh,kh):fe$4(Ad?qh:rh,sh,Ad?kh:Ah);jd[Fd]=Wh,df[Fd]=Wh-sh}qa.modifiersData[td]=df}}var xt$1={name:"preventOverflow",enabled:!0,phase:"main",fn:on$2,requiresIfExists:["offset"]};function an$3(Ra){return{scrollLeft:Ra.scrollLeft,scrollTop:Ra.scrollTop}}function sn$2(Ra){return Ra===H$4(Ra)||!B$3(Ra)?We$2(Ra):an$3(Ra)}function fn$3(Ra){var qa=Ra.getBoundingClientRect(),ed=Z$3(qa.width)/Ra.offsetWidth||1,td=Z$3(qa.height)/Ra.offsetHeight||1;return ed!==1||td!==1}function cn$4(Ra,qa,ed){ed===void 0&&(ed=!1);var td=B$3(qa),rd=B$3(qa)&&fn$3(qa),sd=I$2(qa),od=ee$3(Ra,rd),ld={scrollLeft:0,scrollTop:0},ud={x:0,y:0};return(td||!td&&!ed)&&((C$2(qa)!=="body"||Se$4(sd))&&(ld=sn$2(qa)),B$3(qa)?(ud=ee$3(qa,!0),ud.x+=qa.clientLeft,ud.y+=qa.clientTop):sd&&(ud.x=Be$5(sd))),{x:od.left+ld.scrollLeft-ud.x,y:od.top+ld.scrollTop-ud.y,width:od.width,height:od.height}}function pn$3(Ra){var qa=new Map,ed=new Set,td=[];Ra.forEach(function(sd){qa.set(sd.name,sd)});function rd(sd){ed.add(sd.name);var od=[].concat(sd.requires||[],sd.requiresIfExists||[]);od.forEach(function(ld){if(!ed.has(ld)){var ud=qa.get(ld);ud&&rd(ud)}}),td.push(sd)}return Ra.forEach(function(sd){ed.has(sd.name)||rd(sd)}),td}function un$3(Ra){var qa=pn$3(Ra);return ot$3.reduce(function(ed,td){return ed.concat(qa.filter(function(rd){return rd.phase===td}))},[])}function ln$3(Ra){var qa;return function(){return qa||(qa=new Promise(function(ed){Promise.resolve().then(function(){qa=void 0,ed(Ra())})})),qa}}function dn$4(Ra){var qa=Ra.reduce(function(ed,td){var rd=ed[td.name];return ed[td.name]=rd?Object.assign({},rd,td,{options:Object.assign({},rd.options,td.options),data:Object.assign({},rd.data,td.data)}):td,ed},{});return Object.keys(qa).map(function(ed){return qa[ed]})}var Ot$4={placement:"bottom",modifiers:[],strategy:"absolute"};function $t$4(){for(var Ra=arguments.length,qa=new Array(Ra),ed=0;ed{const td={name:"updateState",enabled:!0,phase:"write",fn:({state:ud})=>{const cd=deriveState(ud);Object.assign(od.value,cd)},requires:["computeStyles"]},rd=computed(()=>{const{onFirstUpdate:ud,placement:cd,strategy:dd,modifiers:_d}=unref(ed);return{onFirstUpdate:ud,placement:cd||"bottom",strategy:dd||"absolute",modifiers:[..._d||[],td,{name:"applyStyles",enabled:!1}]}}),sd=shallowRef(),od=ref$1({styles:{popper:{position:unref(rd).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),ld=()=>{sd.value&&(sd.value.destroy(),sd.value=void 0)};return watch(rd,ud=>{const cd=unref(sd);cd&&cd.setOptions(ud)},{deep:!0}),watch([Ra,qa],([ud,cd])=>{ld(),!(!ud||!cd)&&(sd.value=yn$4(ud,cd,unref(rd)))}),onBeforeUnmount(()=>{ld()}),{state:computed(()=>{var ud;return{...((ud=unref(sd))==null?void 0:ud.state)||{}}}),styles:computed(()=>unref(od).styles),attributes:computed(()=>unref(od).attributes),update:()=>{var ud;return(ud=unref(sd))==null?void 0:ud.update()},forceUpdate:()=>{var ud;return(ud=unref(sd))==null?void 0:ud.forceUpdate()},instanceRef:computed(()=>unref(sd))}};function deriveState(Ra){const qa=Object.keys(Ra.elements),ed=fromPairs(qa.map(rd=>[rd,Ra.styles[rd]||{}])),td=fromPairs(qa.map(rd=>[rd,Ra.attributes[rd]]));return{styles:ed,attributes:td}}const useSameTarget=Ra=>{if(!Ra)return{onClick:NOOP,onMousedown:NOOP,onMouseup:NOOP};let qa=!1,ed=!1;return{onClick:od=>{qa&&ed&&Ra(od),qa=ed=!1},onMousedown:od=>{qa=od.target===od.currentTarget},onMouseup:od=>{ed=od.target===od.currentTarget}}};function useTimeout(){let Ra;const qa=(td,rd)=>{ed(),Ra=window.setTimeout(td,rd)},ed=()=>window.clearTimeout(Ra);return tryOnScopeDispose$1(()=>ed()),{registerTimeout:qa,cancelTimeout:ed}}const defaultIdInjection={prefix:Math.floor(Math.random()*1e4),current:0},ID_INJECTION_KEY=Symbol("elIdInjection"),useIdInjection=()=>getCurrentInstance()?inject(ID_INJECTION_KEY,defaultIdInjection):defaultIdInjection,useId=Ra=>{const qa=useIdInjection(),ed=useGetDerivedNamespace();return computed(()=>unref(Ra)||`${ed.value}-id-${qa.prefix}-${qa.current++}`)};let registeredEscapeHandlers=[];const cachedHandler=Ra=>{const qa=Ra;qa.key===EVENT_CODE.esc&®isteredEscapeHandlers.forEach(ed=>ed(qa))},useEscapeKeydown=Ra=>{onMounted(()=>{registeredEscapeHandlers.length===0&&document.addEventListener("keydown",cachedHandler),isClient$1&®isteredEscapeHandlers.push(Ra)}),onBeforeUnmount(()=>{registeredEscapeHandlers=registeredEscapeHandlers.filter(qa=>qa!==Ra),registeredEscapeHandlers.length===0&&isClient$1&&document.removeEventListener("keydown",cachedHandler)})};let cachedContainer;const usePopperContainerId=()=>{const Ra=useGetDerivedNamespace(),qa=useIdInjection(),ed=computed(()=>`${Ra.value}-popper-container-${qa.prefix}`),td=computed(()=>`#${ed.value}`);return{id:ed,selector:td}},createContainer=Ra=>{const qa=document.createElement("div");return qa.id=Ra,document.body.appendChild(qa),qa},usePopperContainer=()=>{const{id:Ra,selector:qa}=usePopperContainerId();return onBeforeMount(()=>{isClient$1&&(!cachedContainer||!document.body.querySelector(qa.value))&&(cachedContainer=createContainer(Ra.value))}),{id:Ra,selector:qa}},useDelayedToggleProps=buildProps({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),useDelayedToggle=({showAfter:Ra,hideAfter:qa,autoClose:ed,open:td,close:rd})=>{const{registerTimeout:sd}=useTimeout(),{registerTimeout:od,cancelTimeout:ld}=useTimeout();return{onOpen:dd=>{sd(()=>{td(dd);const _d=unref(ed);isNumber$4(_d)&&_d>0&&od(()=>{rd(dd)},_d)},unref(Ra))},onClose:dd=>{ld(),sd(()=>{rd(dd)},unref(qa))}}},FORWARD_REF_INJECTION_KEY=Symbol("elForwardRef"),useForwardRef=Ra=>{provide(FORWARD_REF_INJECTION_KEY,{setForwardRef:ed=>{Ra.value=ed}})},useForwardRefDirective=Ra=>({mounted(qa){Ra(qa)},updated(qa){Ra(qa)},unmounted(){Ra(null)}}),initial={current:0},zIndex=ref$1(0),defaultInitialZIndex=2e3,ZINDEX_INJECTION_KEY=Symbol("elZIndexContextKey"),zIndexContextKey=Symbol("zIndexContextKey"),useZIndex=Ra=>{const qa=getCurrentInstance()?inject(ZINDEX_INJECTION_KEY,initial):initial,ed=Ra||(getCurrentInstance()?inject(zIndexContextKey,void 0):void 0),td=computed(()=>{const od=unref(ed);return isNumber$4(od)?od:defaultInitialZIndex}),rd=computed(()=>td.value+zIndex.value),sd=()=>(qa.current++,zIndex.value=qa.current,rd.value);return!isClient$1&&inject(ZINDEX_INJECTION_KEY),{initialZIndex:td,currentZIndex:rd,nextZIndex:sd}},sides=["top","right","bottom","left"],min$1=Math.min,max$2=Math.max,round=Math.round,floor=Math.floor,createCoords=Ra=>({x:Ra,y:Ra}),oppositeSideMap={left:"right",right:"left",bottom:"top",top:"bottom"},oppositeAlignmentMap={start:"end",end:"start"};function clamp(Ra,qa,ed){return max$2(Ra,min$1(qa,ed))}function evaluate$1(Ra,qa){return typeof Ra=="function"?Ra(qa):Ra}function getSide(Ra){return Ra.split("-")[0]}function getAlignment(Ra){return Ra.split("-")[1]}function getOppositeAxis(Ra){return Ra==="x"?"y":"x"}function getAxisLength(Ra){return Ra==="y"?"height":"width"}function getSideAxis(Ra){return["top","bottom"].includes(getSide(Ra))?"y":"x"}function getAlignmentAxis(Ra){return getOppositeAxis(getSideAxis(Ra))}function getAlignmentSides(Ra,qa,ed){ed===void 0&&(ed=!1);const td=getAlignment(Ra),rd=getAlignmentAxis(Ra),sd=getAxisLength(rd);let od=rd==="x"?td===(ed?"end":"start")?"right":"left":td==="start"?"bottom":"top";return qa.reference[sd]>qa.floating[sd]&&(od=getOppositePlacement(od)),[od,getOppositePlacement(od)]}function getExpandedPlacements(Ra){const qa=getOppositePlacement(Ra);return[getOppositeAlignmentPlacement(Ra),qa,getOppositeAlignmentPlacement(qa)]}function getOppositeAlignmentPlacement(Ra){return Ra.replace(/start|end/g,qa=>oppositeAlignmentMap[qa])}function getSideList(Ra,qa,ed){const td=["left","right"],rd=["right","left"],sd=["top","bottom"],od=["bottom","top"];switch(Ra){case"top":case"bottom":return ed?qa?rd:td:qa?td:rd;case"left":case"right":return qa?sd:od;default:return[]}}function getOppositeAxisPlacements(Ra,qa,ed,td){const rd=getAlignment(Ra);let sd=getSideList(getSide(Ra),ed==="start",td);return rd&&(sd=sd.map(od=>od+"-"+rd),qa&&(sd=sd.concat(sd.map(getOppositeAlignmentPlacement)))),sd}function getOppositePlacement(Ra){return Ra.replace(/left|right|bottom|top/g,qa=>oppositeSideMap[qa])}function expandPaddingObject(Ra){return{top:0,right:0,bottom:0,left:0,...Ra}}function getPaddingObject(Ra){return typeof Ra!="number"?expandPaddingObject(Ra):{top:Ra,right:Ra,bottom:Ra,left:Ra}}function rectToClientRect(Ra){const{x:qa,y:ed,width:td,height:rd}=Ra;return{width:td,height:rd,top:ed,left:qa,right:qa+td,bottom:ed+rd,x:qa,y:ed}}function computeCoordsFromPlacement(Ra,qa,ed){let{reference:td,floating:rd}=Ra;const sd=getSideAxis(qa),od=getAlignmentAxis(qa),ld=getAxisLength(od),ud=getSide(qa),cd=sd==="y",dd=td.x+td.width/2-rd.width/2,_d=td.y+td.height/2-rd.height/2,Ed=td[ld]/2-rd[ld]/2;let Ad;switch(ud){case"top":Ad={x:dd,y:td.y-rd.height};break;case"bottom":Ad={x:dd,y:td.y+td.height};break;case"right":Ad={x:td.x+td.width,y:_d};break;case"left":Ad={x:td.x-rd.width,y:_d};break;default:Ad={x:td.x,y:td.y}}switch(getAlignment(qa)){case"start":Ad[od]-=Ed*(ed&&cd?-1:1);break;case"end":Ad[od]+=Ed*(ed&&cd?-1:1);break}return Ad}const computePosition$1=async(Ra,qa,ed)=>{const{placement:td="bottom",strategy:rd="absolute",middleware:sd=[],platform:od}=ed,ld=sd.filter(Boolean),ud=await(od.isRTL==null?void 0:od.isRTL(qa));let cd=await od.getElementRects({reference:Ra,floating:qa,strategy:rd}),{x:dd,y:_d}=computeCoordsFromPlacement(cd,td,ud),Ed=td,Ad={},Td=0;for(let Id=0;Id({name:"arrow",options:Ra,async fn(qa){const{x:ed,y:td,placement:rd,rects:sd,platform:od,elements:ld,middlewareData:ud}=qa,{element:cd,padding:dd=0}=evaluate$1(Ra,qa)||{};if(cd==null)return{};const _d=getPaddingObject(dd),Ed={x:ed,y:td},Ad=getAlignmentAxis(rd),Td=getAxisLength(Ad),Id=await od.getDimensions(cd),Bd=Ad==="y",Rd=Bd?"top":"left",Od=Bd?"bottom":"right",Md=Bd?"clientHeight":"clientWidth",Ld=sd.reference[Td]+sd.reference[Ad]-Ed[Ad]-sd.floating[Td],Fd=Ed[Ad]-sd.reference[Ad],jd=await(od.getOffsetParent==null?void 0:od.getOffsetParent(cd));let Vd=jd?jd[Md]:0;(!Vd||!await(od.isElement==null?void 0:od.isElement(jd)))&&(Vd=ld.floating[Md]||sd.floating[Td]);const Qd=Ld/2-Fd/2,qd=Vd/2-Id[Td]/2-1,Kd=min$1(_d[Rd],qd),Xd=min$1(_d[Od],qd),df=Kd,mf=Vd-Id[Td]-Xd,bf=Vd/2-Id[Td]/2+Qd,pf=clamp(df,bf,mf),_f=!ud.arrow&&getAlignment(rd)!=null&&bf!==pf&&sd.reference[Td]/2-(bfbf<=0)){var Xd,df;const bf=(((Xd=sd.flip)==null?void 0:Xd.index)||0)+1,pf=Vd[bf];if(pf)return{data:{index:bf,overflows:Kd},reset:{placement:pf}};let _f=(df=Kd.filter(Tf=>Tf.overflows[0]<=0).sort((Tf,kf)=>Tf.overflows[1]-kf.overflows[1])[0])==null?void 0:df.placement;if(!_f)switch(Ad){case"bestFit":{var mf;const Tf=(mf=Kd.filter(kf=>{if(jd){const zf=getSideAxis(kf.placement);return zf===Od||zf==="y"}return!0}).map(kf=>[kf.placement,kf.overflows.filter(zf=>zf>0).reduce((zf,Jf)=>zf+Jf,0)]).sort((kf,zf)=>kf[1]-zf[1])[0])==null?void 0:mf[0];Tf&&(_f=Tf);break}case"initialPlacement":_f=ld;break}if(rd!==_f)return{reset:{placement:_f}}}return{}}}};function getSideOffsets(Ra,qa){return{top:Ra.top-qa.height,right:Ra.right-qa.width,bottom:Ra.bottom-qa.height,left:Ra.left-qa.width}}function isAnySideFullyClipped(Ra){return sides.some(qa=>Ra[qa]>=0)}const hide$1=function(Ra){return Ra===void 0&&(Ra={}),{name:"hide",options:Ra,async fn(qa){const{rects:ed}=qa,{strategy:td="referenceHidden",...rd}=evaluate$1(Ra,qa);switch(td){case"referenceHidden":{const sd=await detectOverflow(qa,{...rd,elementContext:"reference"}),od=getSideOffsets(sd,ed.reference);return{data:{referenceHiddenOffsets:od,referenceHidden:isAnySideFullyClipped(od)}}}case"escaped":{const sd=await detectOverflow(qa,{...rd,altBoundary:!0}),od=getSideOffsets(sd,ed.floating);return{data:{escapedOffsets:od,escaped:isAnySideFullyClipped(od)}}}default:return{}}}}};async function convertValueToCoords(Ra,qa){const{placement:ed,platform:td,elements:rd}=Ra,sd=await(td.isRTL==null?void 0:td.isRTL(rd.floating)),od=getSide(ed),ld=getAlignment(ed),ud=getSideAxis(ed)==="y",cd=["left","top"].includes(od)?-1:1,dd=sd&&ud?-1:1,_d=evaluate$1(qa,Ra);let{mainAxis:Ed,crossAxis:Ad,alignmentAxis:Td}=typeof _d=="number"?{mainAxis:_d,crossAxis:0,alignmentAxis:null}:{mainAxis:_d.mainAxis||0,crossAxis:_d.crossAxis||0,alignmentAxis:_d.alignmentAxis};return ld&&typeof Td=="number"&&(Ad=ld==="end"?Td*-1:Td),ud?{x:Ad*dd,y:Ed*cd}:{x:Ed*cd,y:Ad*dd}}const offset$1=function(Ra){return Ra===void 0&&(Ra=0),{name:"offset",options:Ra,async fn(qa){var ed,td;const{x:rd,y:sd,placement:od,middlewareData:ld}=qa,ud=await convertValueToCoords(qa,Ra);return od===((ed=ld.offset)==null?void 0:ed.placement)&&(td=ld.arrow)!=null&&td.alignmentOffset?{}:{x:rd+ud.x,y:sd+ud.y,data:{...ud,placement:od}}}}},shift$1=function(Ra){return Ra===void 0&&(Ra={}),{name:"shift",options:Ra,async fn(qa){const{x:ed,y:td,placement:rd}=qa,{mainAxis:sd=!0,crossAxis:od=!1,limiter:ld={fn:Bd=>{let{x:Rd,y:Od}=Bd;return{x:Rd,y:Od}}},...ud}=evaluate$1(Ra,qa),cd={x:ed,y:td},dd=await detectOverflow(qa,ud),_d=getSideAxis(getSide(rd)),Ed=getOppositeAxis(_d);let Ad=cd[Ed],Td=cd[_d];if(sd){const Bd=Ed==="y"?"top":"left",Rd=Ed==="y"?"bottom":"right",Od=Ad+dd[Bd],Md=Ad-dd[Rd];Ad=clamp(Od,Ad,Md)}if(od){const Bd=_d==="y"?"top":"left",Rd=_d==="y"?"bottom":"right",Od=Td+dd[Bd],Md=Td-dd[Rd];Td=clamp(Od,Td,Md)}const Id=ld.fn({...qa,[Ed]:Ad,[_d]:Td});return{...Id,data:{x:Id.x-ed,y:Id.y-td,enabled:{[Ed]:sd,[_d]:od}}}}}},limitShift$1=function(Ra){return Ra===void 0&&(Ra={}),{options:Ra,fn(qa){const{x:ed,y:td,placement:rd,rects:sd,middlewareData:od}=qa,{offset:ld=0,mainAxis:ud=!0,crossAxis:cd=!0}=evaluate$1(Ra,qa),dd={x:ed,y:td},_d=getSideAxis(rd),Ed=getOppositeAxis(_d);let Ad=dd[Ed],Td=dd[_d];const Id=evaluate$1(ld,qa),Bd=typeof Id=="number"?{mainAxis:Id,crossAxis:0}:{mainAxis:0,crossAxis:0,...Id};if(ud){const Md=Ed==="y"?"height":"width",Ld=sd.reference[Ed]-sd.floating[Md]+Bd.mainAxis,Fd=sd.reference[Ed]+sd.reference[Md]-Bd.mainAxis;AdFd&&(Ad=Fd)}if(cd){var Rd,Od;const Md=Ed==="y"?"width":"height",Ld=["top","left"].includes(getSide(rd)),Fd=sd.reference[_d]-sd.floating[Md]+(Ld&&((Rd=od.offset)==null?void 0:Rd[_d])||0)+(Ld?0:Bd.crossAxis),jd=sd.reference[_d]+sd.reference[Md]+(Ld?0:((Od=od.offset)==null?void 0:Od[_d])||0)-(Ld?Bd.crossAxis:0);Tdjd&&(Td=jd)}return{[Ed]:Ad,[_d]:Td}}}},size$1=function(Ra){return Ra===void 0&&(Ra={}),{name:"size",options:Ra,async fn(qa){var ed,td;const{placement:rd,rects:sd,platform:od,elements:ld}=qa,{apply:ud=()=>{},...cd}=evaluate$1(Ra,qa),dd=await detectOverflow(qa,cd),_d=getSide(rd),Ed=getAlignment(rd),Ad=getSideAxis(rd)==="y",{width:Td,height:Id}=sd.floating;let Bd,Rd;_d==="top"||_d==="bottom"?(Bd=_d,Rd=Ed===(await(od.isRTL==null?void 0:od.isRTL(ld.floating))?"start":"end")?"left":"right"):(Rd=_d,Bd=Ed==="end"?"top":"bottom");const Od=Id-dd.top-dd.bottom,Md=Td-dd.left-dd.right,Ld=min$1(Id-dd[Bd],Od),Fd=min$1(Td-dd[Rd],Md),jd=!qa.middlewareData.shift;let Vd=Ld,Qd=Fd;if((ed=qa.middlewareData.shift)!=null&&ed.enabled.x&&(Qd=Md),(td=qa.middlewareData.shift)!=null&&td.enabled.y&&(Vd=Od),jd&&!Ed){const Kd=max$2(dd.left,0),Xd=max$2(dd.right,0),df=max$2(dd.top,0),mf=max$2(dd.bottom,0);Ad?Qd=Td-2*(Kd!==0||Xd!==0?Kd+Xd:max$2(dd.left,dd.right)):Vd=Id-2*(df!==0||mf!==0?df+mf:max$2(dd.top,dd.bottom))}await ud({...qa,availableWidth:Qd,availableHeight:Vd});const qd=await od.getDimensions(ld.floating);return Td!==qd.width||Id!==qd.height?{reset:{rects:!0}}:{}}}};function hasWindow(){return typeof window<"u"}function getNodeName(Ra){return isNode$2(Ra)?(Ra.nodeName||"").toLowerCase():"#document"}function getWindow(Ra){var qa;return(Ra==null||(qa=Ra.ownerDocument)==null?void 0:qa.defaultView)||window}function getDocumentElement(Ra){var qa;return(qa=(isNode$2(Ra)?Ra.ownerDocument:Ra.document)||window.document)==null?void 0:qa.documentElement}function isNode$2(Ra){return hasWindow()?Ra instanceof Node||Ra instanceof getWindow(Ra).Node:!1}function isElement$1(Ra){return hasWindow()?Ra instanceof Element||Ra instanceof getWindow(Ra).Element:!1}function isHTMLElement(Ra){return hasWindow()?Ra instanceof HTMLElement||Ra instanceof getWindow(Ra).HTMLElement:!1}function isShadowRoot(Ra){return!hasWindow()||typeof ShadowRoot>"u"?!1:Ra instanceof ShadowRoot||Ra instanceof getWindow(Ra).ShadowRoot}function isOverflowElement(Ra){const{overflow:qa,overflowX:ed,overflowY:td,display:rd}=getComputedStyle$1(Ra);return/auto|scroll|overlay|hidden|clip/.test(qa+td+ed)&&!["inline","contents"].includes(rd)}function isTableElement(Ra){return["table","td","th"].includes(getNodeName(Ra))}function isTopLayer(Ra){return[":popover-open",":modal"].some(qa=>{try{return Ra.matches(qa)}catch{return!1}})}function isContainingBlock(Ra){const qa=isWebKit(),ed=isElement$1(Ra)?getComputedStyle$1(Ra):Ra;return ed.transform!=="none"||ed.perspective!=="none"||(ed.containerType?ed.containerType!=="normal":!1)||!qa&&(ed.backdropFilter?ed.backdropFilter!=="none":!1)||!qa&&(ed.filter?ed.filter!=="none":!1)||["transform","perspective","filter"].some(td=>(ed.willChange||"").includes(td))||["paint","layout","strict","content"].some(td=>(ed.contain||"").includes(td))}function getContainingBlock(Ra){let qa=getParentNode(Ra);for(;isHTMLElement(qa)&&!isLastTraversableNode(qa);){if(isContainingBlock(qa))return qa;if(isTopLayer(qa))return null;qa=getParentNode(qa)}return null}function isWebKit(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function isLastTraversableNode(Ra){return["html","body","#document"].includes(getNodeName(Ra))}function getComputedStyle$1(Ra){return getWindow(Ra).getComputedStyle(Ra)}function getNodeScroll(Ra){return isElement$1(Ra)?{scrollLeft:Ra.scrollLeft,scrollTop:Ra.scrollTop}:{scrollLeft:Ra.scrollX,scrollTop:Ra.scrollY}}function getParentNode(Ra){if(getNodeName(Ra)==="html")return Ra;const qa=Ra.assignedSlot||Ra.parentNode||isShadowRoot(Ra)&&Ra.host||getDocumentElement(Ra);return isShadowRoot(qa)?qa.host:qa}function getNearestOverflowAncestor(Ra){const qa=getParentNode(Ra);return isLastTraversableNode(qa)?Ra.ownerDocument?Ra.ownerDocument.body:Ra.body:isHTMLElement(qa)&&isOverflowElement(qa)?qa:getNearestOverflowAncestor(qa)}function getOverflowAncestors(Ra,qa,ed){var td;qa===void 0&&(qa=[]),ed===void 0&&(ed=!0);const rd=getNearestOverflowAncestor(Ra),sd=rd===((td=Ra.ownerDocument)==null?void 0:td.body),od=getWindow(rd);if(sd){const ld=getFrameElement(od);return qa.concat(od,od.visualViewport||[],isOverflowElement(rd)?rd:[],ld&&ed?getOverflowAncestors(ld):[])}return qa.concat(rd,getOverflowAncestors(rd,[],ed))}function getFrameElement(Ra){return Ra.parent&&Object.getPrototypeOf(Ra.parent)?Ra.frameElement:null}function getCssDimensions(Ra){const qa=getComputedStyle$1(Ra);let ed=parseFloat(qa.width)||0,td=parseFloat(qa.height)||0;const rd=isHTMLElement(Ra),sd=rd?Ra.offsetWidth:ed,od=rd?Ra.offsetHeight:td,ld=round(ed)!==sd||round(td)!==od;return ld&&(ed=sd,td=od),{width:ed,height:td,$:ld}}function unwrapElement$1(Ra){return isElement$1(Ra)?Ra:Ra.contextElement}function getScale(Ra){const qa=unwrapElement$1(Ra);if(!isHTMLElement(qa))return createCoords(1);const ed=qa.getBoundingClientRect(),{width:td,height:rd,$:sd}=getCssDimensions(qa);let od=(sd?round(ed.width):ed.width)/td,ld=(sd?round(ed.height):ed.height)/rd;return(!od||!Number.isFinite(od))&&(od=1),(!ld||!Number.isFinite(ld))&&(ld=1),{x:od,y:ld}}const noOffsets=createCoords(0);function getVisualOffsets(Ra){const qa=getWindow(Ra);return!isWebKit()||!qa.visualViewport?noOffsets:{x:qa.visualViewport.offsetLeft,y:qa.visualViewport.offsetTop}}function shouldAddVisualOffsets(Ra,qa,ed){return qa===void 0&&(qa=!1),!ed||qa&&ed!==getWindow(Ra)?!1:qa}function getBoundingClientRect(Ra,qa,ed,td){qa===void 0&&(qa=!1),ed===void 0&&(ed=!1);const rd=Ra.getBoundingClientRect(),sd=unwrapElement$1(Ra);let od=createCoords(1);qa&&(td?isElement$1(td)&&(od=getScale(td)):od=getScale(Ra));const ld=shouldAddVisualOffsets(sd,ed,td)?getVisualOffsets(sd):createCoords(0);let ud=(rd.left+ld.x)/od.x,cd=(rd.top+ld.y)/od.y,dd=rd.width/od.x,_d=rd.height/od.y;if(sd){const Ed=getWindow(sd),Ad=td&&isElement$1(td)?getWindow(td):td;let Td=Ed,Id=getFrameElement(Td);for(;Id&&td&&Ad!==Td;){const Bd=getScale(Id),Rd=Id.getBoundingClientRect(),Od=getComputedStyle$1(Id),Md=Rd.left+(Id.clientLeft+parseFloat(Od.paddingLeft))*Bd.x,Ld=Rd.top+(Id.clientTop+parseFloat(Od.paddingTop))*Bd.y;ud*=Bd.x,cd*=Bd.y,dd*=Bd.x,_d*=Bd.y,ud+=Md,cd+=Ld,Td=getWindow(Id),Id=getFrameElement(Td)}}return rectToClientRect({width:dd,height:_d,x:ud,y:cd})}function convertOffsetParentRelativeRectToViewportRelativeRect(Ra){let{elements:qa,rect:ed,offsetParent:td,strategy:rd}=Ra;const sd=rd==="fixed",od=getDocumentElement(td),ld=qa?isTopLayer(qa.floating):!1;if(td===od||ld&&sd)return ed;let ud={scrollLeft:0,scrollTop:0},cd=createCoords(1);const dd=createCoords(0),_d=isHTMLElement(td);if((_d||!_d&&!sd)&&((getNodeName(td)!=="body"||isOverflowElement(od))&&(ud=getNodeScroll(td)),isHTMLElement(td))){const Ed=getBoundingClientRect(td);cd=getScale(td),dd.x=Ed.x+td.clientLeft,dd.y=Ed.y+td.clientTop}return{width:ed.width*cd.x,height:ed.height*cd.y,x:ed.x*cd.x-ud.scrollLeft*cd.x+dd.x,y:ed.y*cd.y-ud.scrollTop*cd.y+dd.y}}function getClientRects(Ra){return Array.from(Ra.getClientRects())}function getWindowScrollBarX(Ra,qa){const ed=getNodeScroll(Ra).scrollLeft;return qa?qa.left+ed:getBoundingClientRect(getDocumentElement(Ra)).left+ed}function getDocumentRect(Ra){const qa=getDocumentElement(Ra),ed=getNodeScroll(Ra),td=Ra.ownerDocument.body,rd=max$2(qa.scrollWidth,qa.clientWidth,td.scrollWidth,td.clientWidth),sd=max$2(qa.scrollHeight,qa.clientHeight,td.scrollHeight,td.clientHeight);let od=-ed.scrollLeft+getWindowScrollBarX(Ra);const ld=-ed.scrollTop;return getComputedStyle$1(td).direction==="rtl"&&(od+=max$2(qa.clientWidth,td.clientWidth)-rd),{width:rd,height:sd,x:od,y:ld}}function getViewportRect(Ra,qa){const ed=getWindow(Ra),td=getDocumentElement(Ra),rd=ed.visualViewport;let sd=td.clientWidth,od=td.clientHeight,ld=0,ud=0;if(rd){sd=rd.width,od=rd.height;const cd=isWebKit();(!cd||cd&&qa==="fixed")&&(ld=rd.offsetLeft,ud=rd.offsetTop)}return{width:sd,height:od,x:ld,y:ud}}function getInnerBoundingClientRect(Ra,qa){const ed=getBoundingClientRect(Ra,!0,qa==="fixed"),td=ed.top+Ra.clientTop,rd=ed.left+Ra.clientLeft,sd=isHTMLElement(Ra)?getScale(Ra):createCoords(1),od=Ra.clientWidth*sd.x,ld=Ra.clientHeight*sd.y,ud=rd*sd.x,cd=td*sd.y;return{width:od,height:ld,x:ud,y:cd}}function getClientRectFromClippingAncestor(Ra,qa,ed){let td;if(qa==="viewport")td=getViewportRect(Ra,ed);else if(qa==="document")td=getDocumentRect(getDocumentElement(Ra));else if(isElement$1(qa))td=getInnerBoundingClientRect(qa,ed);else{const rd=getVisualOffsets(Ra);td={...qa,x:qa.x-rd.x,y:qa.y-rd.y}}return rectToClientRect(td)}function hasFixedPositionAncestor(Ra,qa){const ed=getParentNode(Ra);return ed===qa||!isElement$1(ed)||isLastTraversableNode(ed)?!1:getComputedStyle$1(ed).position==="fixed"||hasFixedPositionAncestor(ed,qa)}function getClippingElementAncestors(Ra,qa){const ed=qa.get(Ra);if(ed)return ed;let td=getOverflowAncestors(Ra,[],!1).filter(ld=>isElement$1(ld)&&getNodeName(ld)!=="body"),rd=null;const sd=getComputedStyle$1(Ra).position==="fixed";let od=sd?getParentNode(Ra):Ra;for(;isElement$1(od)&&!isLastTraversableNode(od);){const ld=getComputedStyle$1(od),ud=isContainingBlock(od);!ud&&ld.position==="fixed"&&(rd=null),(sd?!ud&&!rd:!ud&&ld.position==="static"&&!!rd&&["absolute","fixed"].includes(rd.position)||isOverflowElement(od)&&!ud&&hasFixedPositionAncestor(Ra,od))?td=td.filter(dd=>dd!==od):rd=ld,od=getParentNode(od)}return qa.set(Ra,td),td}function getClippingRect(Ra){let{element:qa,boundary:ed,rootBoundary:td,strategy:rd}=Ra;const od=[...ed==="clippingAncestors"?isTopLayer(qa)?[]:getClippingElementAncestors(qa,this._c):[].concat(ed),td],ld=od[0],ud=od.reduce((cd,dd)=>{const _d=getClientRectFromClippingAncestor(qa,dd,rd);return cd.top=max$2(_d.top,cd.top),cd.right=min$1(_d.right,cd.right),cd.bottom=min$1(_d.bottom,cd.bottom),cd.left=max$2(_d.left,cd.left),cd},getClientRectFromClippingAncestor(qa,ld,rd));return{width:ud.right-ud.left,height:ud.bottom-ud.top,x:ud.left,y:ud.top}}function getDimensions(Ra){const{width:qa,height:ed}=getCssDimensions(Ra);return{width:qa,height:ed}}function getRectRelativeToOffsetParent(Ra,qa,ed){const td=isHTMLElement(qa),rd=getDocumentElement(qa),sd=ed==="fixed",od=getBoundingClientRect(Ra,!0,sd,qa);let ld={scrollLeft:0,scrollTop:0};const ud=createCoords(0);if(td||!td&&!sd)if((getNodeName(qa)!=="body"||isOverflowElement(rd))&&(ld=getNodeScroll(qa)),td){const Ad=getBoundingClientRect(qa,!0,sd,qa);ud.x=Ad.x+qa.clientLeft,ud.y=Ad.y+qa.clientTop}else rd&&(ud.x=getWindowScrollBarX(rd));let cd=0,dd=0;if(rd&&!td&&!sd){const Ad=rd.getBoundingClientRect();dd=Ad.top+ld.scrollTop,cd=Ad.left+ld.scrollLeft-getWindowScrollBarX(rd,Ad)}const _d=od.left+ld.scrollLeft-ud.x-cd,Ed=od.top+ld.scrollTop-ud.y-dd;return{x:_d,y:Ed,width:od.width,height:od.height}}function isStaticPositioned(Ra){return getComputedStyle$1(Ra).position==="static"}function getTrueOffsetParent(Ra,qa){if(!isHTMLElement(Ra)||getComputedStyle$1(Ra).position==="fixed")return null;if(qa)return qa(Ra);let ed=Ra.offsetParent;return getDocumentElement(Ra)===ed&&(ed=ed.ownerDocument.body),ed}function getOffsetParent(Ra,qa){const ed=getWindow(Ra);if(isTopLayer(Ra))return ed;if(!isHTMLElement(Ra)){let rd=getParentNode(Ra);for(;rd&&!isLastTraversableNode(rd);){if(isElement$1(rd)&&!isStaticPositioned(rd))return rd;rd=getParentNode(rd)}return ed}let td=getTrueOffsetParent(Ra,qa);for(;td&&isTableElement(td)&&isStaticPositioned(td);)td=getTrueOffsetParent(td,qa);return td&&isLastTraversableNode(td)&&isStaticPositioned(td)&&!isContainingBlock(td)?ed:td||getContainingBlock(Ra)||ed}const getElementRects=async function(Ra){const qa=this.getOffsetParent||getOffsetParent,ed=this.getDimensions,td=await ed(Ra.floating);return{reference:getRectRelativeToOffsetParent(Ra.reference,await qa(Ra.floating),Ra.strategy),floating:{x:0,y:0,width:td.width,height:td.height}}};function isRTL(Ra){return getComputedStyle$1(Ra).direction==="rtl"}const platform$2={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement:isElement$1,isRTL};function observeMove(Ra,qa){let ed=null,td;const rd=getDocumentElement(Ra);function sd(){var ld;clearTimeout(td),(ld=ed)==null||ld.disconnect(),ed=null}function od(ld,ud){ld===void 0&&(ld=!1),ud===void 0&&(ud=1),sd();const{left:cd,top:dd,width:_d,height:Ed}=Ra.getBoundingClientRect();if(ld||qa(),!_d||!Ed)return;const Ad=floor(dd),Td=floor(rd.clientWidth-(cd+_d)),Id=floor(rd.clientHeight-(dd+Ed)),Bd=floor(cd),Od={rootMargin:-Ad+"px "+-Td+"px "+-Id+"px "+-Bd+"px",threshold:max$2(0,min$1(1,ud))||1};let Md=!0;function Ld(Fd){const jd=Fd[0].intersectionRatio;if(jd!==ud){if(!Md)return od();jd?od(!1,jd):td=setTimeout(()=>{od(!1,1e-7)},1e3)}Md=!1}try{ed=new IntersectionObserver(Ld,{...Od,root:rd.ownerDocument})}catch{ed=new IntersectionObserver(Ld,Od)}ed.observe(Ra)}return od(!0),sd}function autoUpdate(Ra,qa,ed,td){td===void 0&&(td={});const{ancestorScroll:rd=!0,ancestorResize:sd=!0,elementResize:od=typeof ResizeObserver=="function",layoutShift:ld=typeof IntersectionObserver=="function",animationFrame:ud=!1}=td,cd=unwrapElement$1(Ra),dd=rd||sd?[...cd?getOverflowAncestors(cd):[],...getOverflowAncestors(qa)]:[];dd.forEach(Rd=>{rd&&Rd.addEventListener("scroll",ed,{passive:!0}),sd&&Rd.addEventListener("resize",ed)});const _d=cd&&ld?observeMove(cd,ed):null;let Ed=-1,Ad=null;od&&(Ad=new ResizeObserver(Rd=>{let[Od]=Rd;Od&&Od.target===cd&&Ad&&(Ad.unobserve(qa),cancelAnimationFrame(Ed),Ed=requestAnimationFrame(()=>{var Md;(Md=Ad)==null||Md.observe(qa)})),ed()}),cd&&!ud&&Ad.observe(cd),Ad.observe(qa));let Td,Id=ud?getBoundingClientRect(Ra):null;ud&&Bd();function Bd(){const Rd=getBoundingClientRect(Ra);Id&&(Rd.x!==Id.x||Rd.y!==Id.y||Rd.width!==Id.width||Rd.height!==Id.height)&&ed(),Id=Rd,Td=requestAnimationFrame(Bd)}return ed(),()=>{var Rd;dd.forEach(Od=>{rd&&Od.removeEventListener("scroll",ed),sd&&Od.removeEventListener("resize",ed)}),_d==null||_d(),(Rd=Ad)==null||Rd.disconnect(),Ad=null,ud&&cancelAnimationFrame(Td)}}const offset=offset$1,shift=shift$1,flip=flip$1,size=size$1,hide=hide$1,arrow$1=arrow$2,limitShift=limitShift$1,computePosition=(Ra,qa,ed)=>{const td=new Map,rd={platform:platform$2,...ed},sd={...rd.platform,_c:td};return computePosition$1(Ra,qa,{...rd,platform:sd})};function useCursor(Ra){let qa;function ed(){if(Ra.value==null)return;const{selectionStart:rd,selectionEnd:sd,value:od}=Ra.value;if(rd==null||sd==null)return;const ld=od.slice(0,Math.max(0,rd)),ud=od.slice(Math.max(0,sd));qa={selectionStart:rd,selectionEnd:sd,value:od,beforeTxt:ld,afterTxt:ud}}function td(){if(Ra.value==null||qa==null)return;const{value:rd}=Ra.value,{beforeTxt:sd,afterTxt:od,selectionStart:ld}=qa;if(sd==null||od==null||ld==null)return;let ud=rd.length;if(rd.endsWith(od))ud=rd.length-od.length;else if(rd.startsWith(sd))ud=sd.length;else{const cd=sd[ld-1],dd=rd.indexOf(cd,ld-1);dd!==-1&&(ud=dd+1)}Ra.value.setSelectionRange(ud,ud)}return[ed,td]}const getOrderedChildren=(Ra,qa,ed)=>flattedChildren(Ra.subTree).filter(sd=>{var od;return isVNode(sd)&&((od=sd.type)==null?void 0:od.name)===qa&&!!sd.component}).map(sd=>sd.component.uid).map(sd=>ed[sd]).filter(sd=>!!sd),useOrderedChildren=(Ra,qa)=>{const ed={},td=shallowRef([]);return{children:td,addChild:od=>{ed[od.uid]=od,td.value=getOrderedChildren(Ra,qa,ed)},removeChild:od=>{delete ed[od],td.value=td.value.filter(ld=>ld.uid!==od)}}},useSizeProp=buildProp({type:String,values:componentSizes,required:!1}),SIZE_INJECTION_KEY=Symbol("size"),useGlobalSize=()=>{const Ra=inject(SIZE_INJECTION_KEY,{});return computed(()=>unref(Ra.size)||"")};function useFocusController(Ra,{beforeFocus:qa,afterFocus:ed,beforeBlur:td,afterBlur:rd}={}){const sd=getCurrentInstance(),{emit:od}=sd,ld=shallowRef(),ud=ref$1(!1),cd=Ed=>{isFunction$4(qa)&&qa(Ed)||ud.value||(ud.value=!0,od("focus",Ed),ed==null||ed())},dd=Ed=>{var Ad;isFunction$4(td)&&td(Ed)||Ed.relatedTarget&&((Ad=ld.value)!=null&&Ad.contains(Ed.relatedTarget))||(ud.value=!1,od("blur",Ed),rd==null||rd())},_d=()=>{var Ed,Ad;(Ed=ld.value)!=null&&Ed.contains(document.activeElement)&&ld.value!==document.activeElement||(Ad=Ra.value)==null||Ad.focus()};return watch(ld,Ed=>{Ed&&Ed.setAttribute("tabindex","-1")}),useEventListener$1(ld,"focus",cd,!0),useEventListener$1(ld,"blur",dd,!0),useEventListener$1(ld,"click",_d,!0),{isFocused:ud,wrapperRef:ld,handleFocus:cd,handleBlur:dd}}function useComposition({afterComposition:Ra,emit:qa}){const ed=ref$1(!1),td=ld=>{qa==null||qa("compositionstart",ld),ed.value=!0},rd=ld=>{var ud;qa==null||qa("compositionupdate",ld);const cd=(ud=ld.target)==null?void 0:ud.value,dd=cd[cd.length-1]||"";ed.value=!isKorean(dd)},sd=ld=>{qa==null||qa("compositionend",ld),ed.value&&(ed.value=!1,nextTick$1(()=>Ra(ld)))};return{isComposing:ed,handleComposition:ld=>{ld.type==="compositionend"?sd(ld):rd(ld)},handleCompositionStart:td,handleCompositionUpdate:rd,handleCompositionEnd:sd}}const emptyValuesContextKey=Symbol("emptyValuesContextKey"),DEFAULT_EMPTY_VALUES=["",void 0,null],DEFAULT_VALUE_ON_CLEAR=void 0,useEmptyValuesProps=buildProps({emptyValues:Array,valueOnClear:{type:[String,Number,Boolean,Function],default:void 0,validator:Ra=>isFunction$4(Ra)?!Ra():!Ra}}),useEmptyValues=(Ra,qa)=>{const ed=getCurrentInstance()?inject(emptyValuesContextKey,ref$1({})):ref$1({}),td=computed(()=>Ra.emptyValues||ed.value.emptyValues||DEFAULT_EMPTY_VALUES),rd=computed(()=>isFunction$4(Ra.valueOnClear)?Ra.valueOnClear():Ra.valueOnClear!==void 0?Ra.valueOnClear:isFunction$4(ed.value.valueOnClear)?ed.value.valueOnClear():ed.value.valueOnClear!==void 0?ed.value.valueOnClear:DEFAULT_VALUE_ON_CLEAR),sd=od=>td.value.includes(od);return td.value.includes(rd.value),{emptyValues:td,valueOnClear:rd,isEmptyValue:sd}},ariaProps=buildProps({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),useAriaProps=Ra=>pick(ariaProps,Ra),configProviderContextKey=Symbol(),globalConfig=ref$1();function useGlobalConfig(Ra,qa=void 0){const ed=getCurrentInstance()?inject(configProviderContextKey,globalConfig):globalConfig;return Ra?computed(()=>{var td,rd;return(rd=(td=ed.value)==null?void 0:td[Ra])!=null?rd:qa}):ed}function useGlobalComponentSettings(Ra,qa){const ed=useGlobalConfig(),td=useNamespace(Ra,computed(()=>{var ld;return((ld=ed.value)==null?void 0:ld.namespace)||defaultNamespace})),rd=useLocale(computed(()=>{var ld;return(ld=ed.value)==null?void 0:ld.locale})),sd=useZIndex(computed(()=>{var ld;return((ld=ed.value)==null?void 0:ld.zIndex)||defaultInitialZIndex})),od=computed(()=>{var ld;return unref(qa)||((ld=ed.value)==null?void 0:ld.size)||""});return provideGlobalConfig(computed(()=>unref(ed)||{})),{ns:td,locale:rd,zIndex:sd,size:od}}const provideGlobalConfig=(Ra,qa,ed=!1)=>{var td;const rd=!!getCurrentInstance(),sd=rd?useGlobalConfig():void 0,od=(td=void 0)!=null?td:rd?provide:void 0;if(!od)return;const ld=computed(()=>{const ud=unref(Ra);return sd!=null&&sd.value?mergeConfig$1(sd.value,ud):ud});return od(configProviderContextKey,ld),od(localeContextKey,computed(()=>ld.value.locale)),od(namespaceContextKey,computed(()=>ld.value.namespace)),od(zIndexContextKey,computed(()=>ld.value.zIndex)),od(SIZE_INJECTION_KEY,{size:computed(()=>ld.value.size||"")}),od(emptyValuesContextKey,computed(()=>({emptyValues:ld.value.emptyValues,valueOnClear:ld.value.valueOnClear}))),(ed||!globalConfig.value)&&(globalConfig.value=ld.value),ld},mergeConfig$1=(Ra,qa)=>{const ed=[...new Set([...keysOf(Ra),...keysOf(qa)])],td={};for(const rd of ed)td[rd]=qa[rd]!==void 0?qa[rd]:Ra[rd];return td},messageConfig={};var _export_sfc$1=(Ra,qa)=>{const ed=Ra.__vccOpts||Ra;for(const[td,rd]of qa)ed[td]=rd;return ed};const iconProps=buildProps({size:{type:definePropType([Number,String])},color:{type:String}}),__default__$w=defineComponent({name:"ElIcon",inheritAttrs:!1}),_sfc_main$1u=defineComponent({...__default__$w,props:iconProps,setup(Ra){const qa=Ra,ed=useNamespace("icon"),td=computed(()=>{const{size:rd,color:sd}=qa;return!rd&&!sd?{}:{fontSize:isUndefined$1(rd)?void 0:addUnit(rd),"--color":sd}});return(rd,sd)=>(openBlock(),createElementBlock("i",mergeProps({class:unref(ed).b(),style:unref(td)},rd.$attrs),[renderSlot(rd.$slots,"default")],16))}});var Icon$1=_export_sfc$1(_sfc_main$1u,[["__file","icon.vue"]]);const ElIcon=withInstall(Icon$1),alertEffects=["light","dark"],alertProps=buildProps({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:keysOf(TypeComponentsMap),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:alertEffects,default:"light"}}),alertEmits={close:Ra=>Ra instanceof MouseEvent},__default__$v=defineComponent({name:"ElAlert"}),_sfc_main$1t=defineComponent({...__default__$v,props:alertProps,emits:alertEmits,setup(Ra,{emit:qa}){const ed=Ra,{Close:td}=TypeComponents,rd=useSlots(),sd=useNamespace("alert"),od=ref$1(!0),ld=computed(()=>TypeComponentsMap[ed.type]),ud=computed(()=>[sd.e("icon"),{[sd.is("big")]:!!ed.description||!!rd.default}]),cd=computed(()=>({"with-description":ed.description||rd.default})),dd=_d=>{od.value=!1,qa("close",_d)};return(_d,Ed)=>(openBlock(),createBlock(Transition$1,{name:unref(sd).b("fade"),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{class:normalizeClass([unref(sd).b(),unref(sd).m(_d.type),unref(sd).is("center",_d.center),unref(sd).is(_d.effect)]),role:"alert"},[_d.showIcon&&unref(ld)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(ud))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(ld))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(sd).e("content"))},[_d.title||_d.$slots.title?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass([unref(sd).e("title"),unref(cd)])},[renderSlot(_d.$slots,"title",{},()=>[createTextVNode(toDisplayString(_d.title),1)])],2)):createCommentVNode("v-if",!0),_d.$slots.default||_d.description?(openBlock(),createElementBlock("p",{key:1,class:normalizeClass(unref(sd).e("description"))},[renderSlot(_d.$slots,"default",{},()=>[createTextVNode(toDisplayString(_d.description),1)])],2)):createCommentVNode("v-if",!0),_d.closable?(openBlock(),createElementBlock(Fragment,{key:2},[_d.closeText?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(sd).e("close-btn"),unref(sd).is("customed")]),onClick:dd},toDisplayString(_d.closeText),3)):(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(sd).e("close-btn")),onClick:dd},{default:withCtx(()=>[createVNode(unref(td))]),_:1},8,["class"]))],64)):createCommentVNode("v-if",!0)],2)],2),[[vShow,od.value]])]),_:3},8,["name"]))}});var Alert=_export_sfc$1(_sfc_main$1t,[["__file","alert.vue"]]);const ElAlert=withInstall(Alert),formContextKey=Symbol("formContextKey"),formItemContextKey=Symbol("formItemContextKey"),useFormSize=(Ra,qa={})=>{const ed=ref$1(void 0),td=qa.prop?ed:useProp("size"),rd=qa.global?ed:useGlobalSize(),sd=qa.form?{size:void 0}:inject(formContextKey,void 0),od=qa.formItem?{size:void 0}:inject(formItemContextKey,void 0);return computed(()=>td.value||unref(Ra)||(od==null?void 0:od.size)||(sd==null?void 0:sd.size)||rd.value||"")},useFormDisabled=Ra=>{const qa=useProp("disabled"),ed=inject(formContextKey,void 0);return computed(()=>qa.value||unref(Ra)||(ed==null?void 0:ed.disabled)||!1)},useFormItem=()=>{const Ra=inject(formContextKey,void 0),qa=inject(formItemContextKey,void 0);return{form:Ra,formItem:qa}},useFormItemInputId=(Ra,{formItemContext:qa,disableIdGeneration:ed,disableIdManagement:td})=>{ed||(ed=ref$1(!1)),td||(td=ref$1(!1));const rd=ref$1();let sd;const od=computed(()=>{var ld;return!!(!(Ra.label||Ra.ariaLabel)&&qa&&qa.inputIds&&((ld=qa.inputIds)==null?void 0:ld.length)<=1)});return onMounted(()=>{sd=watch([toRef$1(Ra,"id"),ed],([ld,ud])=>{const cd=ld??(ud?void 0:useId().value);cd!==rd.value&&(qa!=null&&qa.removeInputId&&(rd.value&&qa.removeInputId(rd.value),!(td!=null&&td.value)&&!ud&&cd&&qa.addInputId(cd)),rd.value=cd)},{immediate:!0})}),onUnmounted(()=>{sd&&sd(),qa!=null&&qa.removeInputId&&rd.value&&qa.removeInputId(rd.value)}),{isLabeledByFormItem:od,inputId:rd}},formMetaProps=buildProps({size:{type:String,values:componentSizes},disabled:Boolean}),formProps=buildProps({...formMetaProps,model:Object,rules:{type:definePropType(Object)},labelPosition:{type:String,values:["left","right","top"],default:"right"},requireAsteriskPosition:{type:String,values:["left","right"],default:"left"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:Boolean,scrollToError:Boolean,scrollIntoViewOptions:{type:[Object,Boolean]}}),formEmits={validate:(Ra,qa,ed)=>(isArray$2(Ra)||isString$3(Ra))&&isBoolean$3(qa)&&isString$3(ed)};function useFormLabelWidth(){const Ra=ref$1([]),qa=computed(()=>{if(!Ra.value.length)return"0";const sd=Math.max(...Ra.value);return sd?`${sd}px`:""});function ed(sd){const od=Ra.value.indexOf(sd);return od===-1&&qa.value,od}function td(sd,od){if(sd&&od){const ld=ed(od);Ra.value.splice(ld,1,sd)}else sd&&Ra.value.push(sd)}function rd(sd){const od=ed(sd);od>-1&&Ra.value.splice(od,1)}return{autoLabelWidth:qa,registerLabelWidth:td,deregisterLabelWidth:rd}}const filterFields=(Ra,qa)=>{const ed=castArray(qa);return ed.length>0?Ra.filter(td=>td.prop&&ed.includes(td.prop)):Ra},COMPONENT_NAME$a="ElForm",__default__$u=defineComponent({name:COMPONENT_NAME$a}),_sfc_main$1s=defineComponent({...__default__$u,props:formProps,emits:formEmits,setup(Ra,{expose:qa,emit:ed}){const td=Ra,rd=[],sd=useFormSize(),od=useNamespace("form"),ld=computed(()=>{const{labelPosition:Md,inline:Ld}=td;return[od.b(),od.m(sd.value||"default"),{[od.m(`label-${Md}`)]:Md,[od.m("inline")]:Ld}]}),ud=Md=>rd.find(Ld=>Ld.prop===Md),cd=Md=>{rd.push(Md)},dd=Md=>{Md.prop&&rd.splice(rd.indexOf(Md),1)},_d=(Md=[])=>{td.model&&filterFields(rd,Md).forEach(Ld=>Ld.resetField())},Ed=(Md=[])=>{filterFields(rd,Md).forEach(Ld=>Ld.clearValidate())},Ad=computed(()=>!!td.model),Td=Md=>{if(rd.length===0)return[];const Ld=filterFields(rd,Md);return Ld.length?Ld:[]},Id=async Md=>Rd(void 0,Md),Bd=async(Md=[])=>{if(!Ad.value)return!1;const Ld=Td(Md);if(Ld.length===0)return!0;let Fd={};for(const jd of Ld)try{await jd.validate("")}catch(Vd){Fd={...Fd,...Vd}}return Object.keys(Fd).length===0?!0:Promise.reject(Fd)},Rd=async(Md=[],Ld)=>{const Fd=!isFunction$4(Ld);try{const jd=await Bd(Md);return jd===!0&&await(Ld==null?void 0:Ld(jd)),jd}catch(jd){if(jd instanceof Error)throw jd;const Vd=jd;return td.scrollToError&&Od(Object.keys(Vd)[0]),await(Ld==null?void 0:Ld(!1,Vd)),Fd&&Promise.reject(Vd)}},Od=Md=>{var Ld;const Fd=filterFields(rd,Md)[0];Fd&&((Ld=Fd.$el)==null||Ld.scrollIntoView(td.scrollIntoViewOptions))};return watch(()=>td.rules,()=>{td.validateOnRuleChange&&Id().catch(Md=>void 0)},{deep:!0}),provide(formContextKey,reactive({...toRefs(td),emit:ed,resetFields:_d,clearValidate:Ed,validateField:Rd,getField:ud,addField:cd,removeField:dd,...useFormLabelWidth()})),qa({validate:Id,validateField:Rd,resetFields:_d,clearValidate:Ed,scrollToField:Od,fields:rd}),(Md,Ld)=>(openBlock(),createElementBlock("form",{class:normalizeClass(unref(ld))},[renderSlot(Md.$slots,"default")],2))}});var Form=_export_sfc$1(_sfc_main$1s,[["__file","form.vue"]]),define_process_default$9={version:"v20.17.0",versions:{node:"20.17.0",acorn:"8.11.3",ada:"2.9.0",ares:"1.32.3",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.2.2",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.13+quic",simdutf:"5.3.0",tz:"2024a",undici:"6.19.2",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-209717d"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule internal/idna","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/streams/utils","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/idna.js","lib/internal/inspector_async_hook.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_f474754f-950f-4d2e-994a-c524574e8031",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.17.0 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_f474754f-950f-4d2e-994a-c524574e8031",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.10.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu22",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"604",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",GOROOT_1_20_X64:"/opt/hostedtoolcache/go/1.20.14/x64",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20240915.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.7/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",JOURNAL_STREAM:"8:5513",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.17.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",npm_config_npm_version:"10.8.2",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"10931482109",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"30f0792baaad6e1889d29d0c00ae240dfec216c4",GITHUB_BASE_REF:"",ImageOS:"ubuntu22",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.17.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_8327e18c-9985-4d8c-819f-743e4582b3aa",INVOCATION_ID:"facc399a086f481090bef1701fa117fb",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"438",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 7",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"30f0792baaad6e1889d29d0c00ae240dfec216c4",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.17.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_f474754f-950f-4d2e-994a-c524574e8031",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_f474754f-950f-4d2e-994a-c524574e8031",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.1.12297006",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",STATS_EXTP:"https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_f474754f-950f-4d2e-994a-c524574e8031",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.17.0/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2081,ppid:2080,execPath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}},define_process_env_default={};function _extends(){return _extends=Object.assign?Object.assign.bind():function(Ra){for(var qa=1;qa"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _construct(Ra,qa,ed){return _isNativeReflectConstruct()?_construct=Reflect.construct.bind():_construct=function(rd,sd,od){var ld=[null];ld.push.apply(ld,sd);var ud=Function.bind.apply(rd,ld),cd=new ud;return od&&_setPrototypeOf(cd,od.prototype),cd},_construct.apply(null,arguments)}function _isNativeFunction(Ra){return Function.toString.call(Ra).indexOf("[native code]")!==-1}function _wrapNativeSuper(Ra){var qa=typeof Map=="function"?new Map:void 0;return _wrapNativeSuper=function(td){if(td===null||!_isNativeFunction(td))return td;if(typeof td!="function")throw new TypeError("Super expression must either be null or a function");if(typeof qa<"u"){if(qa.has(td))return qa.get(td);qa.set(td,rd)}function rd(){return _construct(td,arguments,_getPrototypeOf(this).constructor)}return rd.prototype=Object.create(td.prototype,{constructor:{value:rd,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(rd,td)},_wrapNativeSuper(Ra)}var formatRegExp=/%[sdj%]/g,warning=function(){};typeof define_process_default$9<"u";function convertFieldsError(Ra){if(!Ra||!Ra.length)return null;var qa={};return Ra.forEach(function(ed){var td=ed.field;qa[td]=qa[td]||[],qa[td].push(ed)}),qa}function format$2(Ra){for(var qa=arguments.length,ed=new Array(qa>1?qa-1:0),td=1;td=sd)return ld;switch(ld){case"%s":return String(ed[rd++]);case"%d":return Number(ed[rd++]);case"%j":try{return JSON.stringify(ed[rd++])}catch{return"[Circular]"}break;default:return ld}});return od}return Ra}function isNativeStringType(Ra){return Ra==="string"||Ra==="url"||Ra==="hex"||Ra==="email"||Ra==="date"||Ra==="pattern"}function isEmptyValue(Ra,qa){return!!(Ra==null||qa==="array"&&Array.isArray(Ra)&&!Ra.length||isNativeStringType(qa)&&typeof Ra=="string"&&!Ra)}function asyncParallelArray(Ra,qa,ed){var td=[],rd=0,sd=Ra.length;function od(ld){td.push.apply(td,ld||[]),rd++,rd===sd&&ed(td)}Ra.forEach(function(ld){qa(ld,od)})}function asyncSerialArray(Ra,qa,ed){var td=0,rd=Ra.length;function sd(od){if(od&&od.length){ed(od);return}var ld=td;td=td+1,ldRa})}catch{}const unsafeToTrustedHTML=policy?Ra=>policy.createHTML(Ra):Ra=>Ra,svgNS="http://www.w3.org/2000/svg",mathmlNS="http://www.w3.org/1998/Math/MathML",doc=typeof document<"u"?document:null,templateContainer=doc&&doc.createElement("template"),nodeOps={insert:(Ra,qa,td)=>{qa.insertBefore(Ra,td||null)},remove:Ra=>{const qa=Ra.parentNode;qa&&qa.removeChild(Ra)},createElement:(Ra,qa,td,rd)=>{const nd=qa==="svg"?doc.createElementNS(svgNS,Ra):qa==="mathml"?doc.createElementNS(mathmlNS,Ra):td?doc.createElement(Ra,{is:td}):doc.createElement(Ra);return Ra==="select"&&rd&&rd.multiple!=null&&nd.setAttribute("multiple",rd.multiple),nd},createText:Ra=>doc.createTextNode(Ra),createComment:Ra=>doc.createComment(Ra),setText:(Ra,qa)=>{Ra.nodeValue=qa},setElementText:(Ra,qa)=>{Ra.textContent=qa},parentNode:Ra=>Ra.parentNode,nextSibling:Ra=>Ra.nextSibling,querySelector:Ra=>doc.querySelector(Ra),setScopeId(Ra,qa){Ra.setAttribute(qa,"")},insertStaticContent(Ra,qa,td,rd,nd,ad){const sd=td?td.previousSibling:qa.lastChild;if(nd&&(nd===ad||nd.nextSibling))for(;qa.insertBefore(nd.cloneNode(!0),td),!(nd===ad||!(nd=nd.nextSibling)););else{templateContainer.innerHTML=unsafeToTrustedHTML(rd==="svg"?`${Ra}`:rd==="mathml"?`${Ra}`:Ra);const ud=templateContainer.content;if(rd==="svg"||rd==="mathml"){const cd=ud.firstChild;for(;cd.firstChild;)ud.appendChild(cd.firstChild);ud.removeChild(cd)}qa.insertBefore(ud,td)}return[sd?sd.nextSibling:qa.firstChild,td?td.previousSibling:qa.lastChild]}},TRANSITION="transition",ANIMATION="animation",vtcKey=Symbol("_vtc"),DOMTransitionPropsValidators={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},TransitionPropsValidators=extend$3({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),decorate$1=Ra=>(Ra.displayName="Transition",Ra.props=TransitionPropsValidators,Ra),Transition$1=decorate$1((Ra,{slots:qa})=>h$1(BaseTransition,resolveTransitionProps(Ra),qa)),callHook=(Ra,qa=[])=>{isArray$2(Ra)?Ra.forEach(td=>td(...qa)):Ra&&Ra(...qa)},hasExplicitCallback=Ra=>Ra?isArray$2(Ra)?Ra.some(qa=>qa.length>1):Ra.length>1:!1;function resolveTransitionProps(Ra){const qa={};for(const hf in Ra)hf in DOMTransitionPropsValidators||(qa[hf]=Ra[hf]);if(Ra.css===!1)return qa;const{name:td="v",type:rd,duration:nd,enterFromClass:ad=`${td}-enter-from`,enterActiveClass:sd=`${td}-enter-active`,enterToClass:ud=`${td}-enter-to`,appearFromClass:cd=ad,appearActiveClass:dd=sd,appearToClass:pd=ud,leaveFromClass:fd=`${td}-leave-from`,leaveActiveClass:Td=`${td}-leave-active`,leaveToClass:Ad=`${td}-leave-to`}=Ra,Sd=normalizeDuration(nd),Dd=Sd&&Sd[0],Ld=Sd&&Sd[1],{onBeforeEnter:Rd,onEnter:Od,onEnterCancelled:Md,onLeave:jd,onLeaveCancelled:Ud,onBeforeAppear:Hd=Rd,onAppear:zd=Od,onAppearCancelled:Zd=Md}=qa,Wd=(hf,bf,Ef)=>{removeTransitionClass(hf,bf?pd:ud),removeTransitionClass(hf,bf?dd:sd),Ef&&Ef()},Qd=(hf,bf)=>{hf._isLeaving=!1,removeTransitionClass(hf,fd),removeTransitionClass(hf,Ad),removeTransitionClass(hf,Td),bf&&bf()},Jd=hf=>(bf,Ef)=>{const _f=hf?zd:Od,vf=()=>Wd(bf,hf,Ef);callHook(_f,[bf,vf]),nextFrame(()=>{removeTransitionClass(bf,hf?cd:ad),addTransitionClass(bf,hf?pd:ud),hasExplicitCallback(_f)||whenTransitionEnds(bf,rd,Dd,vf)})};return extend$3(qa,{onBeforeEnter(hf){callHook(Rd,[hf]),addTransitionClass(hf,ad),addTransitionClass(hf,sd)},onBeforeAppear(hf){callHook(Hd,[hf]),addTransitionClass(hf,cd),addTransitionClass(hf,dd)},onEnter:Jd(!1),onAppear:Jd(!0),onLeave(hf,bf){hf._isLeaving=!0;const Ef=()=>Qd(hf,bf);addTransitionClass(hf,fd),addTransitionClass(hf,Td),forceReflow(),nextFrame(()=>{hf._isLeaving&&(removeTransitionClass(hf,fd),addTransitionClass(hf,Ad),hasExplicitCallback(jd)||whenTransitionEnds(hf,rd,Ld,Ef))}),callHook(jd,[hf,Ef])},onEnterCancelled(hf){Wd(hf,!1),callHook(Md,[hf])},onAppearCancelled(hf){Wd(hf,!0),callHook(Zd,[hf])},onLeaveCancelled(hf){Qd(hf),callHook(Ud,[hf])}})}function normalizeDuration(Ra){if(Ra==null)return null;if(isObject$5(Ra))return[NumberOf(Ra.enter),NumberOf(Ra.leave)];{const qa=NumberOf(Ra);return[qa,qa]}}function NumberOf(Ra){return toNumber$3(Ra)}function addTransitionClass(Ra,qa){qa.split(/\s+/).forEach(td=>td&&Ra.classList.add(td)),(Ra[vtcKey]||(Ra[vtcKey]=new Set)).add(qa)}function removeTransitionClass(Ra,qa){qa.split(/\s+/).forEach(rd=>rd&&Ra.classList.remove(rd));const td=Ra[vtcKey];td&&(td.delete(qa),td.size||(Ra[vtcKey]=void 0))}function nextFrame(Ra){requestAnimationFrame(()=>{requestAnimationFrame(Ra)})}let endId=0;function whenTransitionEnds(Ra,qa,td,rd){const nd=Ra._endId=++endId,ad=()=>{nd===Ra._endId&&rd()};if(td!=null)return setTimeout(ad,td);const{type:sd,timeout:ud,propCount:cd}=getTransitionInfo(Ra,qa);if(!sd)return rd();const dd=sd+"end";let pd=0;const fd=()=>{Ra.removeEventListener(dd,Td),ad()},Td=Ad=>{Ad.target===Ra&&++pd>=cd&&fd()};setTimeout(()=>{pd(td[Sd]||"").split(", "),nd=rd(`${TRANSITION}Delay`),ad=rd(`${TRANSITION}Duration`),sd=getTimeout(nd,ad),ud=rd(`${ANIMATION}Delay`),cd=rd(`${ANIMATION}Duration`),dd=getTimeout(ud,cd);let pd=null,fd=0,Td=0;qa===TRANSITION?sd>0&&(pd=TRANSITION,fd=sd,Td=ad.length):qa===ANIMATION?dd>0&&(pd=ANIMATION,fd=dd,Td=cd.length):(fd=Math.max(sd,dd),pd=fd>0?sd>dd?TRANSITION:ANIMATION:null,Td=pd?pd===TRANSITION?ad.length:cd.length:0);const Ad=pd===TRANSITION&&/\b(transform|all)(,|$)/.test(rd(`${TRANSITION}Property`).toString());return{type:pd,timeout:fd,propCount:Td,hasTransform:Ad}}function getTimeout(Ra,qa){for(;Ra.lengthtoMs(td)+toMs(Ra[rd])))}function toMs(Ra){return Ra==="auto"?0:Number(Ra.slice(0,-1).replace(",","."))*1e3}function forceReflow(){return document.body.offsetHeight}function patchClass(Ra,qa,td){const rd=Ra[vtcKey];rd&&(qa=(qa?[qa,...rd]:[...rd]).join(" ")),qa==null?Ra.removeAttribute("class"):td?Ra.setAttribute("class",qa):Ra.className=qa}const vShowOriginalDisplay=Symbol("_vod"),vShowHidden=Symbol("_vsh"),vShow={beforeMount(Ra,{value:qa},{transition:td}){Ra[vShowOriginalDisplay]=Ra.style.display==="none"?"":Ra.style.display,td&&qa?td.beforeEnter(Ra):setDisplay(Ra,qa)},mounted(Ra,{value:qa},{transition:td}){td&&qa&&td.enter(Ra)},updated(Ra,{value:qa,oldValue:td},{transition:rd}){!qa!=!td&&(rd?qa?(rd.beforeEnter(Ra),setDisplay(Ra,!0),rd.enter(Ra)):rd.leave(Ra,()=>{setDisplay(Ra,!1)}):setDisplay(Ra,qa))},beforeUnmount(Ra,{value:qa}){setDisplay(Ra,qa)}};function setDisplay(Ra,qa){Ra.style.display=qa?Ra[vShowOriginalDisplay]:"none",Ra[vShowHidden]=!qa}const CSS_VAR_TEXT=Symbol(""),displayRE=/(^|;)\s*display\s*:/;function patchStyle(Ra,qa,td){const rd=Ra.style,nd=isString$3(td);let ad=!1;if(td&&!nd){if(qa)if(isString$3(qa))for(const sd of qa.split(";")){const ud=sd.slice(0,sd.indexOf(":")).trim();td[ud]==null&&setStyle(rd,ud,"")}else for(const sd in qa)td[sd]==null&&setStyle(rd,sd,"");for(const sd in td)sd==="display"&&(ad=!0),setStyle(rd,sd,td[sd])}else if(nd){if(qa!==td){const sd=rd[CSS_VAR_TEXT];sd&&(td+=";"+sd),rd.cssText=td,ad=displayRE.test(td)}}else qa&&Ra.removeAttribute("style");vShowOriginalDisplay in Ra&&(Ra[vShowOriginalDisplay]=ad?rd.display:"",Ra[vShowHidden]&&(rd.display="none"))}const importantRE=/\s*!important$/;function setStyle(Ra,qa,td){if(isArray$2(td))td.forEach(rd=>setStyle(Ra,qa,rd));else if(td==null&&(td=""),qa.startsWith("--"))Ra.setProperty(qa,td);else{const rd=autoPrefix(Ra,qa);importantRE.test(td)?Ra.setProperty(hyphenate(rd),td.replace(importantRE,""),"important"):Ra[rd]=td}}const prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix(Ra,qa){const td=prefixCache[qa];if(td)return td;let rd=camelize(qa);if(rd!=="filter"&&rd in Ra)return prefixCache[qa]=rd;rd=capitalize$1(rd);for(let nd=0;ndcachedNow||(p$1.then(()=>cachedNow=0),cachedNow=Date.now());function createInvoker(Ra,qa){const td=rd=>{if(!rd._vts)rd._vts=Date.now();else if(rd._vts<=td.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(rd,td.value),qa,5,[rd])};return td.value=Ra,td.attached=getNow(),td}function patchStopImmediatePropagation(Ra,qa){if(isArray$2(qa)){const td=Ra.stopImmediatePropagation;return Ra.stopImmediatePropagation=()=>{td.call(Ra),Ra._stopped=!0},qa.map(rd=>nd=>!nd._stopped&&rd&&rd(nd))}else return qa}const isNativeOn=Ra=>Ra.charCodeAt(0)===111&&Ra.charCodeAt(1)===110&&Ra.charCodeAt(2)>96&&Ra.charCodeAt(2)<123,patchProp=(Ra,qa,td,rd,nd,ad)=>{const sd=nd==="svg";qa==="class"?patchClass(Ra,rd,sd):qa==="style"?patchStyle(Ra,td,rd):isOn(qa)?isModelListener(qa)||patchEvent(Ra,qa,td,rd,ad):(qa[0]==="."?(qa=qa.slice(1),!0):qa[0]==="^"?(qa=qa.slice(1),!1):shouldSetAsProp(Ra,qa,rd,sd))?(patchDOMProp(Ra,qa,rd),!Ra.tagName.includes("-")&&(qa==="value"||qa==="checked"||qa==="selected")&&patchAttr(Ra,qa,rd,sd,ad,qa!=="value")):(qa==="true-value"?Ra._trueValue=rd:qa==="false-value"&&(Ra._falseValue=rd),patchAttr(Ra,qa,rd,sd))};function shouldSetAsProp(Ra,qa,td,rd){if(rd)return!!(qa==="innerHTML"||qa==="textContent"||qa in Ra&&isNativeOn(qa)&&isFunction$4(td));if(qa==="spellcheck"||qa==="draggable"||qa==="translate"||qa==="form"||qa==="list"&&Ra.tagName==="INPUT"||qa==="type"&&Ra.tagName==="TEXTAREA")return!1;if(qa==="width"||qa==="height"){const nd=Ra.tagName;if(nd==="IMG"||nd==="VIDEO"||nd==="CANVAS"||nd==="SOURCE")return!1}return isNativeOn(qa)&&isString$3(td)?!1:!!(qa in Ra||Ra._isVueCE&&(/[A-Z]/.test(qa)||!isString$3(td)))}const positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol("_moveCb"),enterCbKey=Symbol("_enterCb"),decorate=Ra=>(delete Ra.props.mode,Ra),TransitionGroupImpl=decorate({name:"TransitionGroup",props:extend$3({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(Ra,{slots:qa}){const td=getCurrentInstance(),rd=useTransitionState();let nd,ad;return onUpdated(()=>{if(!nd.length)return;const sd=Ra.moveClass||`${Ra.name||"v"}-move`;if(!hasCSSTransform(nd[0].el,td.vnode.el,sd))return;nd.forEach(callPendingCbs),nd.forEach(recordPosition);const ud=nd.filter(applyTranslation);forceReflow(),ud.forEach(cd=>{const dd=cd.el,pd=dd.style;addTransitionClass(dd,sd),pd.transform=pd.webkitTransform=pd.transitionDuration="";const fd=dd[moveCbKey]=Td=>{Td&&Td.target!==dd||(!Td||/transform$/.test(Td.propertyName))&&(dd.removeEventListener("transitionend",fd),dd[moveCbKey]=null,removeTransitionClass(dd,sd))};dd.addEventListener("transitionend",fd)})}),()=>{const sd=toRaw(Ra),ud=resolveTransitionProps(sd);let cd=sd.tag||Fragment;if(nd=[],ad)for(let dd=0;dd{ud.split(/\s+/).forEach(cd=>cd&&rd.classList.remove(cd))}),td.split(/\s+/).forEach(ud=>ud&&rd.classList.add(ud)),rd.style.display="none";const ad=qa.nodeType===1?qa:qa.parentNode;ad.appendChild(rd);const{hasTransform:sd}=getTransitionInfo(rd);return ad.removeChild(rd),sd}const getModelAssigner=Ra=>{const qa=Ra.props["onUpdate:modelValue"]||!1;return isArray$2(qa)?td=>invokeArrayFns(qa,td):qa};function onCompositionStart(Ra){Ra.target.composing=!0}function onCompositionEnd(Ra){const qa=Ra.target;qa.composing&&(qa.composing=!1,qa.dispatchEvent(new Event("input")))}const assignKey=Symbol("_assign"),vModelText={created(Ra,{modifiers:{lazy:qa,trim:td,number:rd}},nd){Ra[assignKey]=getModelAssigner(nd);const ad=rd||nd.props&&nd.props.type==="number";addEventListener(Ra,qa?"change":"input",sd=>{if(sd.target.composing)return;let ud=Ra.value;td&&(ud=ud.trim()),ad&&(ud=looseToNumber(ud)),Ra[assignKey](ud)}),td&&addEventListener(Ra,"change",()=>{Ra.value=Ra.value.trim()}),qa||(addEventListener(Ra,"compositionstart",onCompositionStart),addEventListener(Ra,"compositionend",onCompositionEnd),addEventListener(Ra,"change",onCompositionEnd))},mounted(Ra,{value:qa}){Ra.value=qa??""},beforeUpdate(Ra,{value:qa,oldValue:td,modifiers:{lazy:rd,trim:nd,number:ad}},sd){if(Ra[assignKey]=getModelAssigner(sd),Ra.composing)return;const ud=(ad||Ra.type==="number")&&!/^0\d/.test(Ra.value)?looseToNumber(Ra.value):Ra.value,cd=qa??"";ud!==cd&&(document.activeElement===Ra&&Ra.type!=="range"&&(rd&&qa===td||nd&&Ra.value.trim()===cd)||(Ra.value=cd))}},vModelSelect={deep:!0,created(Ra,{value:qa,modifiers:{number:td}},rd){const nd=isSet$1(qa);addEventListener(Ra,"change",()=>{const ad=Array.prototype.filter.call(Ra.options,sd=>sd.selected).map(sd=>td?looseToNumber(getValue$2(sd)):getValue$2(sd));Ra[assignKey](Ra.multiple?nd?new Set(ad):ad:ad[0]),Ra._assigning=!0,nextTick$1(()=>{Ra._assigning=!1})}),Ra[assignKey]=getModelAssigner(rd)},mounted(Ra,{value:qa,modifiers:{number:td}}){setSelected(Ra,qa)},beforeUpdate(Ra,qa,td){Ra[assignKey]=getModelAssigner(td)},updated(Ra,{value:qa,modifiers:{number:td}}){Ra._assigning||setSelected(Ra,qa)}};function setSelected(Ra,qa,td){const rd=Ra.multiple,nd=isArray$2(qa);if(!(rd&&!nd&&!isSet$1(qa))){for(let ad=0,sd=Ra.options.length;adString(pd)===String(cd)):ud.selected=looseIndexOf(qa,cd)>-1}else ud.selected=qa.has(cd);else if(looseEqual(getValue$2(ud),qa)){Ra.selectedIndex!==ad&&(Ra.selectedIndex=ad);return}}!rd&&Ra.selectedIndex!==-1&&(Ra.selectedIndex=-1)}}function getValue$2(Ra){return"_value"in Ra?Ra._value:Ra.value}const systemModifiers=["ctrl","shift","alt","meta"],modifierGuards={stop:Ra=>Ra.stopPropagation(),prevent:Ra=>Ra.preventDefault(),self:Ra=>Ra.target!==Ra.currentTarget,ctrl:Ra=>!Ra.ctrlKey,shift:Ra=>!Ra.shiftKey,alt:Ra=>!Ra.altKey,meta:Ra=>!Ra.metaKey,left:Ra=>"button"in Ra&&Ra.button!==0,middle:Ra=>"button"in Ra&&Ra.button!==1,right:Ra=>"button"in Ra&&Ra.button!==2,exact:(Ra,qa)=>systemModifiers.some(td=>Ra[`${td}Key`]&&!qa.includes(td))},withModifiers=(Ra,qa)=>{const td=Ra._withMods||(Ra._withMods={}),rd=qa.join(".");return td[rd]||(td[rd]=(nd,...ad)=>{for(let sd=0;sd{const td=Ra._withKeys||(Ra._withKeys={}),rd=qa.join(".");return td[rd]||(td[rd]=nd=>{if(!("key"in nd))return;const ad=hyphenate(nd.key);if(qa.some(sd=>sd===ad||keyNames[sd]===ad))return Ra(nd)})},rendererOptions=extend$3({patchProp},nodeOps);let renderer$1;function ensureRenderer(){return renderer$1||(renderer$1=createRenderer$1(rendererOptions))}const render$4=(...Ra)=>{ensureRenderer().render(...Ra)},createApp=(...Ra)=>{const qa=ensureRenderer().createApp(...Ra),{mount:td}=qa;return qa.mount=rd=>{const nd=normalizeContainer(rd);if(!nd)return;const ad=qa._component;!isFunction$4(ad)&&!ad.render&&!ad.template&&(ad.template=nd.innerHTML),nd.nodeType===1&&(nd.textContent="");const sd=td(nd,!1,resolveRootNamespace(nd));return nd instanceof Element&&(nd.removeAttribute("v-cloak"),nd.setAttribute("data-v-app","")),sd},qa};function resolveRootNamespace(Ra){if(Ra instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&Ra instanceof MathMLElement)return"mathml"}function normalizeContainer(Ra){return isString$3(Ra)?document.querySelector(Ra):Ra}var isVue2=!1;let activePinia;const setActivePinia=Ra=>activePinia=Ra,piniaSymbol=Symbol();function isPlainObject$2(Ra){return Ra&&typeof Ra=="object"&&Object.prototype.toString.call(Ra)==="[object Object]"&&typeof Ra.toJSON!="function"}var MutationType;(function(Ra){Ra.direct="direct",Ra.patchObject="patch object",Ra.patchFunction="patch function"})(MutationType||(MutationType={}));function createPinia(){const Ra=effectScope(!0),qa=Ra.run(()=>ref$1({}));let td=[],rd=[];const nd=markRaw({install(ad){setActivePinia(nd),nd._a=ad,ad.provide(piniaSymbol,nd),ad.config.globalProperties.$pinia=nd,rd.forEach(sd=>td.push(sd)),rd=[]},use(ad){return!this._a&&!isVue2?rd.push(ad):td.push(ad),this},_p:td,_a:null,_e:Ra,_s:new Map,state:qa});return nd}const noop$7=()=>{};function addSubscription(Ra,qa,td,rd=noop$7){Ra.push(qa);const nd=()=>{const ad=Ra.indexOf(qa);ad>-1&&(Ra.splice(ad,1),rd())};return!td&&getCurrentScope()&&onScopeDispose(nd),nd}function triggerSubscriptions(Ra,...qa){Ra.slice().forEach(td=>{td(...qa)})}const fallbackRunWithContext=Ra=>Ra(),ACTION_MARKER=Symbol(),ACTION_NAME=Symbol();function mergeReactiveObjects(Ra,qa){Ra instanceof Map&&qa instanceof Map?qa.forEach((td,rd)=>Ra.set(rd,td)):Ra instanceof Set&&qa instanceof Set&&qa.forEach(Ra.add,Ra);for(const td in qa){if(!qa.hasOwnProperty(td))continue;const rd=qa[td],nd=Ra[td];isPlainObject$2(nd)&&isPlainObject$2(rd)&&Ra.hasOwnProperty(td)&&!isRef(rd)&&!isReactive(rd)?Ra[td]=mergeReactiveObjects(nd,rd):Ra[td]=rd}return Ra}const skipHydrateSymbol=Symbol();function shouldHydrate(Ra){return!isPlainObject$2(Ra)||!Ra.hasOwnProperty(skipHydrateSymbol)}const{assign}=Object;function isComputed(Ra){return!!(isRef(Ra)&&Ra.effect)}function createOptionsStore(Ra,qa,td,rd){const{state:nd,actions:ad,getters:sd}=qa,ud=td.state.value[Ra];let cd;function dd(){ud||(td.state.value[Ra]=nd?nd():{});const pd=toRefs(td.state.value[Ra]);return assign(pd,ad,Object.keys(sd||{}).reduce((fd,Td)=>(fd[Td]=markRaw(computed(()=>{setActivePinia(td);const Ad=td._s.get(Ra);return sd[Td].call(Ad,Ad)})),fd),{}))}return cd=createSetupStore(Ra,dd,qa,td,rd,!0),cd}function createSetupStore(Ra,qa,td={},rd,nd,ad){let sd;const ud=assign({actions:{}},td),cd={deep:!0};let dd,pd,fd=[],Td=[],Ad;const Sd=rd.state.value[Ra];!ad&&!Sd&&(rd.state.value[Ra]={}),ref$1({});let Dd;function Ld(Zd){let Wd;dd=pd=!1,typeof Zd=="function"?(Zd(rd.state.value[Ra]),Wd={type:MutationType.patchFunction,storeId:Ra,events:Ad}):(mergeReactiveObjects(rd.state.value[Ra],Zd),Wd={type:MutationType.patchObject,payload:Zd,storeId:Ra,events:Ad});const Qd=Dd=Symbol();nextTick$1().then(()=>{Dd===Qd&&(dd=!0)}),pd=!0,triggerSubscriptions(fd,Wd,rd.state.value[Ra])}const Rd=ad?function(){const{state:Wd}=td,Qd=Wd?Wd():{};this.$patch(Jd=>{assign(Jd,Qd)})}:noop$7;function Od(){sd.stop(),fd=[],Td=[],rd._s.delete(Ra)}const Md=(Zd,Wd="")=>{if(ACTION_MARKER in Zd)return Zd[ACTION_NAME]=Wd,Zd;const Qd=function(){setActivePinia(rd);const Jd=Array.from(arguments),hf=[],bf=[];function Ef(xf){hf.push(xf)}function _f(xf){bf.push(xf)}triggerSubscriptions(Td,{args:Jd,name:Qd[ACTION_NAME],store:Ud,after:Ef,onError:_f});let vf;try{vf=Zd.apply(this&&this.$id===Ra?this:Ud,Jd)}catch(xf){throw triggerSubscriptions(bf,xf),xf}return vf instanceof Promise?vf.then(xf=>(triggerSubscriptions(hf,xf),xf)).catch(xf=>(triggerSubscriptions(bf,xf),Promise.reject(xf))):(triggerSubscriptions(hf,vf),vf)};return Qd[ACTION_MARKER]=!0,Qd[ACTION_NAME]=Wd,Qd},jd={_p:rd,$id:Ra,$onAction:addSubscription.bind(null,Td),$patch:Ld,$reset:Rd,$subscribe(Zd,Wd={}){const Qd=addSubscription(fd,Zd,Wd.detached,()=>Jd()),Jd=sd.run(()=>watch(()=>rd.state.value[Ra],hf=>{(Wd.flush==="sync"?pd:dd)&&Zd({storeId:Ra,type:MutationType.direct,events:Ad},hf)},assign({},cd,Wd)));return Qd},$dispose:Od},Ud=reactive(jd);rd._s.set(Ra,Ud);const zd=(rd._a&&rd._a.runWithContext||fallbackRunWithContext)(()=>rd._e.run(()=>(sd=effectScope()).run(()=>qa({action:Md}))));for(const Zd in zd){const Wd=zd[Zd];if(isRef(Wd)&&!isComputed(Wd)||isReactive(Wd))ad||(Sd&&shouldHydrate(Wd)&&(isRef(Wd)?Wd.value=Sd[Zd]:mergeReactiveObjects(Wd,Sd[Zd])),rd.state.value[Ra][Zd]=Wd);else if(typeof Wd=="function"){const Qd=Md(Wd,Zd);zd[Zd]=Qd,ud.actions[Zd]=Wd}}return assign(Ud,zd),assign(toRaw(Ud),zd),Object.defineProperty(Ud,"$state",{get:()=>rd.state.value[Ra],set:Zd=>{Ld(Wd=>{assign(Wd,Zd)})}}),rd._p.forEach(Zd=>{assign(Ud,sd.run(()=>Zd({store:Ud,app:rd._a,pinia:rd,options:ud})))}),Sd&&ad&&td.hydrate&&td.hydrate(Ud.$state,Sd),dd=!0,pd=!0,Ud}function defineStore(Ra,qa,td){let rd,nd;const ad=typeof qa=="function";typeof Ra=="string"?(rd=Ra,nd=ad?td:qa):(nd=Ra,rd=Ra.id);function sd(ud,cd){const dd=hasInjectionContext();return ud=ud||(dd?inject(piniaSymbol,null):null),ud&&setActivePinia(ud),ud=activePinia,ud._s.has(rd)||(ad?createSetupStore(rd,qa,nd,ud):createOptionsStore(rd,nd,ud)),ud._s.get(rd)}return sd.$id=rd,sd}function storeToRefs(Ra){{Ra=toRaw(Ra);const qa={};for(const td in Ra){const rd=Ra[td];(isRef(rd)||isReactive(rd))&&(qa[td]=toRef$1(Ra,td))}return qa}}const FOCUSABLE_ELEMENT_SELECTORS='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',isVisible=Ra=>getComputedStyle(Ra).position==="fixed"?!1:Ra.offsetParent!==null,obtainAllFocusableElements$1=Ra=>Array.from(Ra.querySelectorAll(FOCUSABLE_ELEMENT_SELECTORS)).filter(qa=>isFocusable(qa)&&isVisible(qa)),isFocusable=Ra=>{if(Ra.tabIndex>0||Ra.tabIndex===0&&Ra.getAttribute("tabIndex")!==null)return!0;if(Ra.disabled)return!1;switch(Ra.nodeName){case"A":return!!Ra.href&&Ra.rel!=="ignore";case"INPUT":return!(Ra.type==="hidden"||Ra.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},composeEventHandlers=(Ra,qa,{checkForDefaultPrevented:td=!0}={})=>nd=>{const ad=Ra==null?void 0:Ra(nd);if(td===!1||!ad)return qa==null?void 0:qa(nd)};var __defProp$9=Object.defineProperty,__defProps$6=Object.defineProperties,__getOwnPropDescs$6=Object.getOwnPropertyDescriptors,__getOwnPropSymbols$b=Object.getOwnPropertySymbols,__hasOwnProp$b=Object.prototype.hasOwnProperty,__propIsEnum$b=Object.prototype.propertyIsEnumerable,__defNormalProp$9=(Ra,qa,td)=>qa in Ra?__defProp$9(Ra,qa,{enumerable:!0,configurable:!0,writable:!0,value:td}):Ra[qa]=td,__spreadValues$9=(Ra,qa)=>{for(var td in qa||(qa={}))__hasOwnProp$b.call(qa,td)&&__defNormalProp$9(Ra,td,qa[td]);if(__getOwnPropSymbols$b)for(var td of __getOwnPropSymbols$b(qa))__propIsEnum$b.call(qa,td)&&__defNormalProp$9(Ra,td,qa[td]);return Ra},__spreadProps$6=(Ra,qa)=>__defProps$6(Ra,__getOwnPropDescs$6(qa));function computedEager(Ra,qa){var td;const rd=shallowRef();return watchEffect(()=>{rd.value=Ra()},__spreadProps$6(__spreadValues$9({},qa),{flush:(td=void 0)!=null?td:"sync"})),readonly(rd)}var _a$4;const isClient$1=typeof window<"u",isDef=Ra=>typeof Ra<"u",isFunction$3=Ra=>typeof Ra=="function",isString$2=Ra=>typeof Ra=="string",noop$6=()=>{},isIOS$1=isClient$1&&((_a$4=window==null?void 0:window.navigator)==null?void 0:_a$4.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function resolveUnref(Ra){return typeof Ra=="function"?Ra():unref(Ra)}function createFilterWrapper$1(Ra,qa){function td(...rd){return new Promise((nd,ad)=>{Promise.resolve(Ra(()=>qa.apply(this,rd),{fn:qa,thisArg:this,args:rd})).then(nd).catch(ad)})}return td}function debounceFilter(Ra,qa={}){let td,rd,nd=noop$6;const ad=ud=>{clearTimeout(ud),nd(),nd=noop$6};return ud=>{const cd=resolveUnref(Ra),dd=resolveUnref(qa.maxWait);return td&&ad(td),cd<=0||dd!==void 0&&dd<=0?(rd&&(ad(rd),rd=null),Promise.resolve(ud())):new Promise((pd,fd)=>{nd=qa.rejectOnCancel?fd:pd,dd&&!rd&&(rd=setTimeout(()=>{td&&ad(td),rd=null,pd(ud())},dd)),td=setTimeout(()=>{rd&&ad(rd),rd=null,pd(ud())},cd)})}}function identity$2(Ra){return Ra}function tryOnScopeDispose$1(Ra){return getCurrentScope()?(onScopeDispose(Ra),!0):!1}function useDebounceFn(Ra,qa=200,td={}){return createFilterWrapper$1(debounceFilter(qa,td),Ra)}function refDebounced(Ra,qa=200,td={}){const rd=ref$1(Ra.value),nd=useDebounceFn(()=>{rd.value=Ra.value},qa,td);return watch(Ra,()=>nd()),rd}function tryOnMounted$1(Ra,qa=!0){getCurrentInstance()?onMounted(Ra):qa?Ra():nextTick$1(Ra)}function useTimeoutFn(Ra,qa,td={}){const{immediate:rd=!0}=td,nd=ref$1(!1);let ad=null;function sd(){ad&&(clearTimeout(ad),ad=null)}function ud(){nd.value=!1,sd()}function cd(...dd){sd(),nd.value=!0,ad=setTimeout(()=>{nd.value=!1,ad=null,Ra(...dd)},resolveUnref(qa))}return rd&&(nd.value=!0,isClient$1&&cd()),tryOnScopeDispose$1(ud),{isPending:readonly(nd),start:cd,stop:ud}}function unrefElement$1(Ra){var qa;const td=resolveUnref(Ra);return(qa=td==null?void 0:td.$el)!=null?qa:td}const defaultWindow$1=isClient$1?window:void 0,defaultDocument=isClient$1?window.document:void 0;function useEventListener$1(...Ra){let qa,td,rd,nd;if(isString$2(Ra[0])||Array.isArray(Ra[0])?([td,rd,nd]=Ra,qa=defaultWindow$1):[qa,td,rd,nd]=Ra,!qa)return noop$6;Array.isArray(td)||(td=[td]),Array.isArray(rd)||(rd=[rd]);const ad=[],sd=()=>{ad.forEach(pd=>pd()),ad.length=0},ud=(pd,fd,Td,Ad)=>(pd.addEventListener(fd,Td,Ad),()=>pd.removeEventListener(fd,Td,Ad)),cd=watch(()=>[unrefElement$1(qa),resolveUnref(nd)],([pd,fd])=>{sd(),pd&&ad.push(...td.flatMap(Td=>rd.map(Ad=>ud(pd,Td,Ad,fd))))},{immediate:!0,flush:"post"}),dd=()=>{cd(),sd()};return tryOnScopeDispose$1(dd),dd}let _iOSWorkaround=!1;function onClickOutside(Ra,qa,td={}){const{window:rd=defaultWindow$1,ignore:nd=[],capture:ad=!0,detectIframe:sd=!1}=td;if(!rd)return;isIOS$1&&!_iOSWorkaround&&(_iOSWorkaround=!0,Array.from(rd.document.body.children).forEach(Td=>Td.addEventListener("click",noop$6)));let ud=!0;const cd=Td=>nd.some(Ad=>{if(typeof Ad=="string")return Array.from(rd.document.querySelectorAll(Ad)).some(Sd=>Sd===Td.target||Td.composedPath().includes(Sd));{const Sd=unrefElement$1(Ad);return Sd&&(Td.target===Sd||Td.composedPath().includes(Sd))}}),pd=[useEventListener$1(rd,"click",Td=>{const Ad=unrefElement$1(Ra);if(!(!Ad||Ad===Td.target||Td.composedPath().includes(Ad))){if(Td.detail===0&&(ud=!cd(Td)),!ud){ud=!0;return}qa(Td)}},{passive:!0,capture:ad}),useEventListener$1(rd,"pointerdown",Td=>{const Ad=unrefElement$1(Ra);Ad&&(ud=!Td.composedPath().includes(Ad)&&!cd(Td))},{passive:!0}),sd&&useEventListener$1(rd,"blur",Td=>{var Ad;const Sd=unrefElement$1(Ra);((Ad=rd.document.activeElement)==null?void 0:Ad.tagName)==="IFRAME"&&!(Sd!=null&&Sd.contains(rd.document.activeElement))&&qa(Td)})].filter(Boolean);return()=>pd.forEach(Td=>Td())}function useSupported$1(Ra,qa=!1){const td=ref$1(),rd=()=>td.value=!!Ra();return rd(),tryOnMounted$1(rd,qa),td}function cloneFnJSON(Ra){return JSON.parse(JSON.stringify(Ra))}const _global$2=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global$1<"u"?global$1:typeof self<"u"?self:{},globalKey$1="__vueuse_ssr_handlers__";_global$2[globalKey$1]=_global$2[globalKey$1]||{};_global$2[globalKey$1];function useDocumentVisibility({document:Ra=defaultDocument}={}){if(!Ra)return ref$1("visible");const qa=ref$1(Ra.visibilityState);return useEventListener$1(Ra,"visibilitychange",()=>{qa.value=Ra.visibilityState}),qa}var __getOwnPropSymbols$g=Object.getOwnPropertySymbols,__hasOwnProp$g=Object.prototype.hasOwnProperty,__propIsEnum$g=Object.prototype.propertyIsEnumerable,__objRest$2=(Ra,qa)=>{var td={};for(var rd in Ra)__hasOwnProp$g.call(Ra,rd)&&qa.indexOf(rd)<0&&(td[rd]=Ra[rd]);if(Ra!=null&&__getOwnPropSymbols$g)for(var rd of __getOwnPropSymbols$g(Ra))qa.indexOf(rd)<0&&__propIsEnum$g.call(Ra,rd)&&(td[rd]=Ra[rd]);return td};function useResizeObserver(Ra,qa,td={}){const rd=td,{window:nd=defaultWindow$1}=rd,ad=__objRest$2(rd,["window"]);let sd;const ud=useSupported$1(()=>nd&&"ResizeObserver"in nd),cd=()=>{sd&&(sd.disconnect(),sd=void 0)},dd=watch(()=>unrefElement$1(Ra),fd=>{cd(),ud.value&&nd&&fd&&(sd=new ResizeObserver(qa),sd.observe(fd,ad))},{immediate:!0,flush:"post"}),pd=()=>{cd(),dd()};return tryOnScopeDispose$1(pd),{isSupported:ud,stop:pd}}var __getOwnPropSymbols$8=Object.getOwnPropertySymbols,__hasOwnProp$8=Object.prototype.hasOwnProperty,__propIsEnum$8=Object.prototype.propertyIsEnumerable,__objRest$1=(Ra,qa)=>{var td={};for(var rd in Ra)__hasOwnProp$8.call(Ra,rd)&&qa.indexOf(rd)<0&&(td[rd]=Ra[rd]);if(Ra!=null&&__getOwnPropSymbols$8)for(var rd of __getOwnPropSymbols$8(Ra))qa.indexOf(rd)<0&&__propIsEnum$8.call(Ra,rd)&&(td[rd]=Ra[rd]);return td};function useMutationObserver(Ra,qa,td={}){const rd=td,{window:nd=defaultWindow$1}=rd,ad=__objRest$1(rd,["window"]);let sd;const ud=useSupported$1(()=>nd&&"MutationObserver"in nd),cd=()=>{sd&&(sd.disconnect(),sd=void 0)},dd=watch(()=>unrefElement$1(Ra),fd=>{cd(),ud.value&&nd&&fd&&(sd=new MutationObserver(qa),sd.observe(fd,ad))},{immediate:!0}),pd=()=>{cd(),dd()};return tryOnScopeDispose$1(pd),{isSupported:ud,stop:pd}}var SwipeDirection;(function(Ra){Ra.UP="UP",Ra.RIGHT="RIGHT",Ra.DOWN="DOWN",Ra.LEFT="LEFT",Ra.NONE="NONE"})(SwipeDirection||(SwipeDirection={}));var __defProp$1=Object.defineProperty,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(Ra,qa,td)=>qa in Ra?__defProp$1(Ra,qa,{enumerable:!0,configurable:!0,writable:!0,value:td}):Ra[qa]=td,__spreadValues=(Ra,qa)=>{for(var td in qa||(qa={}))__hasOwnProp.call(qa,td)&&__defNormalProp(Ra,td,qa[td]);if(__getOwnPropSymbols)for(var td of __getOwnPropSymbols(qa))__propIsEnum.call(qa,td)&&__defNormalProp(Ra,td,qa[td]);return Ra};const _TransitionPresets={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};__spreadValues({linear:identity$2},_TransitionPresets);function useVModel(Ra,qa,td,rd={}){var nd,ad,sd;const{clone:ud=!1,passive:cd=!1,eventName:dd,deep:pd=!1,defaultValue:fd}=rd,Td=getCurrentInstance(),Ad=(Td==null?void 0:Td.emit)||((nd=Td==null?void 0:Td.$emit)==null?void 0:nd.bind(Td))||((sd=(ad=Td==null?void 0:Td.proxy)==null?void 0:ad.$emit)==null?void 0:sd.bind(Td==null?void 0:Td.proxy));let Sd=dd;Sd=dd||Sd||`update:${qa.toString()}`;const Dd=Rd=>ud?isFunction$3(ud)?ud(Rd):cloneFnJSON(Rd):Rd,Ld=()=>isDef(Ra[qa])?Dd(Ra[qa]):fd;if(cd){const Rd=Ld(),Od=ref$1(Rd);return watch(()=>Ra[qa],Md=>Od.value=Dd(Md)),watch(Od,Md=>{(Md!==Ra[qa]||pd)&&Ad(Sd,Md)},{deep:pd}),Od}else return computed({get(){return Ld()},set(Rd){Ad(Sd,Rd)}})}function useWindowFocus({window:Ra=defaultWindow$1}={}){if(!Ra)return ref$1(!1);const qa=ref$1(Ra.document.hasFocus());return useEventListener$1(Ra,"blur",()=>{qa.value=!1}),useEventListener$1(Ra,"focus",()=>{qa.value=!0}),qa}const isFirefox=()=>isClient$1&&/firefox/i.test(window.navigator.userAgent),getClientXY=Ra=>{let qa,td;return Ra.type==="touchend"?(td=Ra.changedTouches[0].clientY,qa=Ra.changedTouches[0].clientX):Ra.type.startsWith("touch")?(td=Ra.touches[0].clientY,qa=Ra.touches[0].clientX):(td=Ra.clientY,qa=Ra.clientX),{clientX:qa,clientY:td}};var freeGlobal=typeof global$1=="object"&&global$1&&global$1.Object===Object&&global$1,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root$2=freeGlobal||freeSelf||Function("return this")(),Symbol$1=root$2.Symbol,objectProto$g=Object.prototype,hasOwnProperty$g=objectProto$g.hasOwnProperty,nativeObjectToString$1=objectProto$g.toString,symToStringTag$1=Symbol$1?Symbol$1.toStringTag:void 0;function getRawTag(Ra){var qa=hasOwnProperty$g.call(Ra,symToStringTag$1),td=Ra[symToStringTag$1];try{Ra[symToStringTag$1]=void 0;var rd=!0}catch{}var nd=nativeObjectToString$1.call(Ra);return rd&&(qa?Ra[symToStringTag$1]=td:delete Ra[symToStringTag$1]),nd}var objectProto$f=Object.prototype,nativeObjectToString=objectProto$f.toString;function objectToString(Ra){return nativeObjectToString.call(Ra)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$1?Symbol$1.toStringTag:void 0;function baseGetTag(Ra){return Ra==null?Ra===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(Ra)?getRawTag(Ra):objectToString(Ra)}function isObjectLike$1(Ra){return Ra!=null&&typeof Ra=="object"}var symbolTag$3="[object Symbol]";function isSymbol(Ra){return typeof Ra=="symbol"||isObjectLike$1(Ra)&&baseGetTag(Ra)==symbolTag$3}function arrayMap(Ra,qa){for(var td=-1,rd=Ra==null?0:Ra.length,nd=Array(rd);++td0){if(++qa>=HOT_COUNT)return arguments[0]}else qa=0;return Ra.apply(void 0,arguments)}}function constant$5(Ra){return function(){return Ra}}var defineProperty=function(){try{var Ra=getNative(Object,"defineProperty");return Ra({},"",{}),Ra}catch{}}(),baseSetToString=defineProperty?function(Ra,qa){return defineProperty(Ra,"toString",{configurable:!0,enumerable:!1,value:constant$5(qa),writable:!0})}:identity$1,setToString=shortOut(baseSetToString);function arrayEach(Ra,qa){for(var td=-1,rd=Ra==null?0:Ra.length;++td-1&&Ra%1==0&&Ra-1&&Ra%1==0&&Ra<=MAX_SAFE_INTEGER}function isArrayLike$2(Ra){return Ra!=null&&isLength$1(Ra.length)&&!isFunction$2(Ra)}function isIterateeCall(Ra,qa,td){if(!isObject$4(td))return!1;var rd=typeof qa;return(rd=="number"?isArrayLike$2(td)&&isIndex(qa,td.length):rd=="string"&&qa in td)?eq$1(td[qa],Ra):!1}function createAssigner(Ra){return baseRest(function(qa,td){var rd=-1,nd=td.length,ad=nd>1?td[nd-1]:void 0,sd=nd>2?td[2]:void 0;for(ad=Ra.length>3&&typeof ad=="function"?(nd--,ad):void 0,sd&&isIterateeCall(td[0],td[1],sd)&&(ad=nd<3?void 0:ad,nd=1),qa=Object(qa);++rd-1}function listCacheSet(Ra,qa){var td=this.__data__,rd=assocIndexOf(td,Ra);return rd<0?(++this.size,td.push([Ra,qa])):td[rd][1]=qa,this}function ListCache(Ra){var qa=-1,td=Ra==null?0:Ra.length;for(this.clear();++qaud))return!1;var dd=ad.get(Ra),pd=ad.get(qa);if(dd&&pd)return dd==qa&&pd==Ra;var fd=-1,Td=!0,Ad=td&COMPARE_UNORDERED_FLAG$3?new SetCache:void 0;for(ad.set(Ra,qa),ad.set(qa,Ra);++fd=qa||zd<0||fd&&Zd>=ad}function Rd(){var Hd=now$1();if(Ld(Hd))return Od(Hd);ud=setTimeout(Rd,Dd(Hd))}function Od(Hd){return ud=void 0,Td&&rd?Ad(Hd):(rd=nd=void 0,sd)}function Md(){ud!==void 0&&clearTimeout(ud),dd=0,rd=cd=nd=ud=void 0}function jd(){return ud===void 0?sd:Od(now$1())}function Ud(){var Hd=now$1(),zd=Ld(Hd);if(rd=arguments,nd=this,cd=Hd,zd){if(ud===void 0)return Sd(cd);if(fd)return clearTimeout(ud),ud=setTimeout(Rd,qa),Ad(cd)}return ud===void 0&&(ud=setTimeout(Rd,qa)),sd}return Ud.cancel=Md,Ud.flush=jd,Ud}function assignMergeValue(Ra,qa,td){(td!==void 0&&!eq$1(Ra[qa],td)||td===void 0&&!(qa in Ra))&&baseAssignValue(Ra,qa,td)}function isArrayLikeObject(Ra){return isObjectLike$1(Ra)&&isArrayLike$2(Ra)}function safeGet(Ra,qa){if(!(qa==="constructor"&&typeof Ra[qa]=="function")&&qa!="__proto__")return Ra[qa]}function toPlainObject(Ra){return copyObject(Ra,keysIn(Ra))}function baseMergeDeep(Ra,qa,td,rd,nd,ad,sd){var ud=safeGet(Ra,td),cd=safeGet(qa,td),dd=sd.get(cd);if(dd){assignMergeValue(Ra,td,dd);return}var pd=ad?ad(ud,cd,td+"",Ra,qa,sd):void 0,fd=pd===void 0;if(fd){var Td=isArray$1(cd),Ad=!Td&&isBuffer$1(cd),Sd=!Td&&!Ad&&isTypedArray$3(cd);pd=cd,Td||Ad||Sd?isArray$1(ud)?pd=ud:isArrayLikeObject(ud)?pd=copyArray(ud):Ad?(fd=!1,pd=cloneBuffer(cd,!0)):Sd?(fd=!1,pd=cloneTypedArray(cd,!0)):pd=[]:isPlainObject$1(cd)||isArguments$1(cd)?(pd=ud,isArguments$1(ud)?pd=toPlainObject(ud):(!isObject$4(ud)||isFunction$2(ud))&&(pd=initCloneObject(cd))):fd=!1}fd&&(sd.set(cd,pd),nd(pd,cd,rd,ad,sd),sd.delete(cd)),assignMergeValue(Ra,td,pd)}function baseMerge(Ra,qa,td,rd,nd){Ra!==qa&&baseFor(qa,function(ad,sd){if(nd||(nd=new Stack),isObject$4(ad))baseMergeDeep(Ra,qa,sd,td,baseMerge,rd,nd);else{var ud=rd?rd(safeGet(Ra,sd),ad,sd+"",Ra,qa,nd):void 0;ud===void 0&&(ud=ad),assignMergeValue(Ra,sd,ud)}},keysIn)}function findLastIndex(Ra,qa,td){var rd=Ra==null?0:Ra.length;if(!rd)return-1;var nd=rd-1;return baseFindIndex(Ra,baseIteratee(qa),nd,!0)}function fromPairs(Ra){for(var qa=-1,td=Ra==null?0:Ra.length,rd={};++qaRa===void 0,isBoolean$3=Ra=>typeof Ra=="boolean",isNumber$4=Ra=>typeof Ra=="number",isElement$2=Ra=>typeof Element>"u"?!1:Ra instanceof Element,isStringNumber=Ra=>isString$3(Ra)?!Number.isNaN(Number(Ra)):!1,escapeStringRegexp=(Ra="")=>Ra.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),capitalize=Ra=>capitalize$1(Ra),keysOf=Ra=>Object.keys(Ra),entriesOf=Ra=>Object.entries(Ra),getProp$1=(Ra,qa,td)=>({get value(){return get$3(Ra,qa,td)},set value(rd){set$3(Ra,qa,rd)}});class ElementPlusError extends Error{constructor(qa){super(qa),this.name="ElementPlusError"}}function throwError$1(Ra,qa){throw new ElementPlusError(`[${Ra}] ${qa}`)}function debugWarn(Ra,qa){}const classNameToArray=(Ra="")=>Ra.split(" ").filter(qa=>!!qa.trim()),hasClass$1=(Ra,qa)=>{if(!Ra||!qa)return!1;if(qa.includes(" "))throw new Error("className should not contain space.");return Ra.classList.contains(qa)},addClass$1=(Ra,qa)=>{!Ra||!qa.trim()||Ra.classList.add(...classNameToArray(qa))},removeClass$1=(Ra,qa)=>{!Ra||!qa.trim()||Ra.classList.remove(...classNameToArray(qa))},getStyle=(Ra,qa)=>{var td;if(!isClient$1||!Ra||!qa)return"";let rd=camelize(qa);rd==="float"&&(rd="cssFloat");try{const nd=Ra.style[rd];if(nd)return nd;const ad=(td=document.defaultView)==null?void 0:td.getComputedStyle(Ra,"");return ad?ad[rd]:""}catch{return Ra.style[rd]}};function addUnit(Ra,qa="px"){if(!Ra)return"";if(isNumber$4(Ra)||isStringNumber(Ra))return`${Ra}${qa}`;if(isString$3(Ra))return Ra}let scrollBarWidth;const getScrollBarWidth=Ra=>{var qa;if(!isClient$1)return 0;if(scrollBarWidth!==void 0)return scrollBarWidth;const td=document.createElement("div");td.className=`${Ra}-scrollbar__wrap`,td.style.visibility="hidden",td.style.width="100px",td.style.position="absolute",td.style.top="-9999px",document.body.appendChild(td);const rd=td.offsetWidth;td.style.overflow="scroll";const nd=document.createElement("div");nd.style.width="100%",td.appendChild(nd);const ad=nd.offsetWidth;return(qa=td.parentNode)==null||qa.removeChild(td),scrollBarWidth=rd-ad,scrollBarWidth};function scrollIntoView(Ra,qa){if(!isClient$1)return;if(!qa){Ra.scrollTop=0;return}const td=[];let rd=qa.offsetParent;for(;rd!==null&&Ra!==rd&&Ra.contains(rd);)td.push(rd),rd=rd.offsetParent;const nd=qa.offsetTop+td.reduce((cd,dd)=>cd+dd.offsetTop,0),ad=nd+qa.offsetHeight,sd=Ra.scrollTop,ud=sd+Ra.clientHeight;ndud&&(Ra.scrollTop=ad-Ra.clientHeight)}/*! Element Plus Icons Vue v2.3.1 */var add_location_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"AddLocation",__name:"add-location",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),createBaseVNode("path",{fill:"currentColor",d:"M544 384h96a32 32 0 1 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96v-96a32 32 0 0 1 64 0z"})]))}}),add_location_default=add_location_vue_vue_type_script_setup_true_lang_default,aim_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Aim",__name:"aim",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M512 96a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V128a32 32 0 0 1 32-32m0 576a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V704a32 32 0 0 1 32-32M96 512a32 32 0 0 1 32-32h192a32 32 0 0 1 0 64H128a32 32 0 0 1-32-32m576 0a32 32 0 0 1 32-32h192a32 32 0 1 1 0 64H704a32 32 0 0 1-32-32"})]))}}),aim_default=aim_vue_vue_type_script_setup_true_lang_default,alarm_clock_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"AlarmClock",__name:"alarm-clock",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 832a320 320 0 1 0 0-640 320 320 0 0 0 0 640m0 64a384 384 0 1 1 0-768 384 384 0 0 1 0 768"}),createBaseVNode("path",{fill:"currentColor",d:"m292.288 824.576 55.424 32-48 83.136a32 32 0 1 1-55.424-32zm439.424 0-55.424 32 48 83.136a32 32 0 1 0 55.424-32zM512 512h160a32 32 0 1 1 0 64H480a32 32 0 0 1-32-32V320a32 32 0 0 1 64 0zM90.496 312.256A160 160 0 0 1 312.32 90.496l-46.848 46.848a96 96 0 0 0-128 128L90.56 312.256zm835.264 0A160 160 0 0 0 704 90.496l46.848 46.848a96 96 0 0 1 128 128z"})]))}}),alarm_clock_default=alarm_clock_vue_vue_type_script_setup_true_lang_default,apple_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Apple",__name:"apple",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M599.872 203.776a189.44 189.44 0 0 1 64.384-4.672l2.624.128c31.168 1.024 51.2 4.096 79.488 16.32 37.632 16.128 74.496 45.056 111.488 89.344 96.384 115.264 82.752 372.8-34.752 521.728-7.68 9.728-32 41.6-30.72 39.936a426.624 426.624 0 0 1-30.08 35.776c-31.232 32.576-65.28 49.216-110.08 50.048-31.36.64-53.568-5.312-84.288-18.752l-6.528-2.88c-20.992-9.216-30.592-11.904-47.296-11.904-18.112 0-28.608 2.88-51.136 12.672l-6.464 2.816c-28.416 12.224-48.32 18.048-76.16 19.2-74.112 2.752-116.928-38.08-180.672-132.16-96.64-142.08-132.608-349.312-55.04-486.4 46.272-81.92 129.92-133.632 220.672-135.04 32.832-.576 60.288 6.848 99.648 22.72 27.136 10.88 34.752 13.76 37.376 14.272 16.256-20.16 27.776-36.992 34.56-50.24 13.568-26.304 27.2-59.968 40.704-100.8a32 32 0 1 1 60.8 20.224c-12.608 37.888-25.408 70.4-38.528 97.664zm-51.52 78.08c-14.528 17.792-31.808 37.376-51.904 58.816a32 32 0 1 1-46.72-43.776l12.288-13.248c-28.032-11.2-61.248-26.688-95.68-26.112-70.4 1.088-135.296 41.6-171.648 105.792C121.6 492.608 176 684.16 247.296 788.992c34.816 51.328 76.352 108.992 130.944 106.944 52.48-2.112 72.32-34.688 135.872-34.688 63.552 0 81.28 34.688 136.96 33.536 56.448-1.088 75.776-39.04 126.848-103.872 107.904-136.768 107.904-362.752 35.776-449.088-72.192-86.272-124.672-84.096-151.68-85.12-41.472-4.288-81.6 12.544-113.664 25.152z"})]))}}),apple_default=apple_vue_vue_type_script_setup_true_lang_default,arrow_down_bold_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowDownBold",__name:"arrow-down-bold",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M104.704 338.752a64 64 0 0 1 90.496 0l316.8 316.8 316.8-316.8a64 64 0 0 1 90.496 90.496L557.248 791.296a64 64 0 0 1-90.496 0L104.704 429.248a64 64 0 0 1 0-90.496z"})]))}}),arrow_down_bold_default=arrow_down_bold_vue_vue_type_script_setup_true_lang_default,arrow_down_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowDown",__name:"arrow-down",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"})]))}}),arrow_down_default=arrow_down_vue_vue_type_script_setup_true_lang_default,arrow_left_bold_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowLeftBold",__name:"arrow-left-bold",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M685.248 104.704a64 64 0 0 1 0 90.496L368.448 512l316.8 316.8a64 64 0 0 1-90.496 90.496L232.704 557.248a64 64 0 0 1 0-90.496l362.048-362.048a64 64 0 0 1 90.496 0z"})]))}}),arrow_left_bold_default=arrow_left_bold_vue_vue_type_script_setup_true_lang_default,arrow_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowLeft",__name:"arrow-left",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"})]))}}),arrow_left_default=arrow_left_vue_vue_type_script_setup_true_lang_default,arrow_right_bold_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowRightBold",__name:"arrow-right-bold",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M338.752 104.704a64 64 0 0 0 0 90.496l316.8 316.8-316.8 316.8a64 64 0 0 0 90.496 90.496l362.048-362.048a64 64 0 0 0 0-90.496L429.248 104.704a64 64 0 0 0-90.496 0z"})]))}}),arrow_right_bold_default=arrow_right_bold_vue_vue_type_script_setup_true_lang_default,arrow_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowRight",__name:"arrow-right",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}}),arrow_right_default=arrow_right_vue_vue_type_script_setup_true_lang_default,arrow_up_bold_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowUpBold",__name:"arrow-up-bold",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M104.704 685.248a64 64 0 0 0 90.496 0l316.8-316.8 316.8 316.8a64 64 0 0 0 90.496-90.496L557.248 232.704a64 64 0 0 0-90.496 0L104.704 594.752a64 64 0 0 0 0 90.496z"})]))}}),arrow_up_bold_default=arrow_up_bold_vue_vue_type_script_setup_true_lang_default,arrow_up_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowUp",__name:"arrow-up",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"})]))}}),arrow_up_default=arrow_up_vue_vue_type_script_setup_true_lang_default,avatar_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Avatar",__name:"avatar",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M628.736 528.896A416 416 0 0 1 928 928H96a415.872 415.872 0 0 1 299.264-399.104L512 704zM720 304a208 208 0 1 1-416 0 208 208 0 0 1 416 0"})]))}}),avatar_default=avatar_vue_vue_type_script_setup_true_lang_default,back_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Back",__name:"back",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64"}),createBaseVNode("path",{fill:"currentColor",d:"m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312z"})]))}}),back_default=back_vue_vue_type_script_setup_true_lang_default,baseball_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Baseball",__name:"baseball",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M195.2 828.8a448 448 0 1 1 633.6-633.6 448 448 0 0 1-633.6 633.6zm45.248-45.248a384 384 0 1 0 543.104-543.104 384 384 0 0 0-543.104 543.104"}),createBaseVNode("path",{fill:"currentColor",d:"M497.472 96.896c22.784 4.672 44.416 9.472 64.896 14.528a256.128 256.128 0 0 0 350.208 350.208c5.056 20.48 9.856 42.112 14.528 64.896A320.128 320.128 0 0 1 497.472 96.896zM108.48 491.904a320.128 320.128 0 0 1 423.616 423.68c-23.04-3.648-44.992-7.424-65.728-11.52a256.128 256.128 0 0 0-346.496-346.432 1736.64 1736.64 0 0 1-11.392-65.728z"})]))}}),baseball_default=baseball_vue_vue_type_script_setup_true_lang_default,basketball_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Basketball",__name:"basketball",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M778.752 788.224a382.464 382.464 0 0 0 116.032-245.632 256.512 256.512 0 0 0-241.728-13.952 762.88 762.88 0 0 1 125.696 259.584zm-55.04 44.224a699.648 699.648 0 0 0-125.056-269.632 256.128 256.128 0 0 0-56.064 331.968 382.72 382.72 0 0 0 181.12-62.336m-254.08 61.248A320.128 320.128 0 0 1 557.76 513.6a715.84 715.84 0 0 0-48.192-48.128 320.128 320.128 0 0 1-379.264 88.384 382.4 382.4 0 0 0 110.144 229.696 382.4 382.4 0 0 0 229.184 110.08zM129.28 481.088a256.128 256.128 0 0 0 331.072-56.448 699.648 699.648 0 0 0-268.8-124.352 382.656 382.656 0 0 0-62.272 180.8m106.56-235.84a762.88 762.88 0 0 1 258.688 125.056 256.512 256.512 0 0 0-13.44-241.088A382.464 382.464 0 0 0 235.84 245.248zm318.08-114.944c40.576 89.536 37.76 193.92-8.448 281.344a779.84 779.84 0 0 1 66.176 66.112 320.832 320.832 0 0 1 282.112-8.128 382.4 382.4 0 0 0-110.144-229.12 382.4 382.4 0 0 0-229.632-110.208zM828.8 828.8a448 448 0 1 1-633.6-633.6 448 448 0 0 1 633.6 633.6"})]))}}),basketball_default=basketball_vue_vue_type_script_setup_true_lang_default,bell_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"BellFilled",__name:"bell-filled",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M640 832a128 128 0 0 1-256 0zm192-64H134.4a38.4 38.4 0 0 1 0-76.8H192V448c0-154.88 110.08-284.16 256.32-313.6a64 64 0 1 1 127.36 0A320.128 320.128 0 0 1 832 448v243.2h57.6a38.4 38.4 0 0 1 0 76.8z"})]))}}),bell_filled_default=bell_filled_vue_vue_type_script_setup_true_lang_default,bell_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Bell",__name:"bell",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a64 64 0 0 1 64 64v64H448v-64a64 64 0 0 1 64-64"}),createBaseVNode("path",{fill:"currentColor",d:"M256 768h512V448a256 256 0 1 0-512 0zm256-640a320 320 0 0 1 320 320v384H192V448a320 320 0 0 1 320-320"}),createBaseVNode("path",{fill:"currentColor",d:"M96 768h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32m352 128h128a64 64 0 0 1-128 0"})]))}}),bell_default=bell_vue_vue_type_script_setup_true_lang_default,bicycle_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Bicycle",__name:"bicycle",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"}),createBaseVNode("path",{fill:"currentColor",d:"M288 672h320q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M768 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"}),createBaseVNode("path",{fill:"currentColor",d:"M480 192a32 32 0 0 1 0-64h160a32 32 0 0 1 31.04 24.256l96 384a32 32 0 0 1-62.08 15.488L615.04 192zM96 384a32 32 0 0 1 0-64h128a32 32 0 0 1 30.336 21.888l64 192a32 32 0 1 1-60.672 20.224L200.96 384z"}),createBaseVNode("path",{fill:"currentColor",d:"m373.376 599.808-42.752-47.616 320-288 42.752 47.616z"})]))}}),bicycle_default=bicycle_vue_vue_type_script_setup_true_lang_default,bottom_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"BottomLeft",__name:"bottom-left",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 768h416a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V352a32 32 0 0 1 64 0z"}),createBaseVNode("path",{fill:"currentColor",d:"M246.656 822.656a32 32 0 0 1-45.312-45.312l544-544a32 32 0 0 1 45.312 45.312l-544 544z"})]))}}),bottom_left_default=bottom_left_vue_vue_type_script_setup_true_lang_default,bottom_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"BottomRight",__name:"bottom-right",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M352 768a32 32 0 1 0 0 64h448a32 32 0 0 0 32-32V352a32 32 0 0 0-64 0v416z"}),createBaseVNode("path",{fill:"currentColor",d:"M777.344 822.656a32 32 0 0 0 45.312-45.312l-544-544a32 32 0 0 0-45.312 45.312z"})]))}}),bottom_right_default=bottom_right_vue_vue_type_script_setup_true_lang_default,bottom_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Bottom",__name:"bottom",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M544 805.888V168a32 32 0 1 0-64 0v637.888L246.656 557.952a30.72 30.72 0 0 0-45.312 0 35.52 35.52 0 0 0 0 48.064l288 306.048a30.72 30.72 0 0 0 45.312 0l288-306.048a35.52 35.52 0 0 0 0-48 30.72 30.72 0 0 0-45.312 0L544 805.824z"})]))}}),bottom_default=bottom_vue_vue_type_script_setup_true_lang_default,bowl_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Bowl",__name:"bowl",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M714.432 704a351.744 351.744 0 0 0 148.16-256H161.408a351.744 351.744 0 0 0 148.16 256zM288 766.592A415.68 415.68 0 0 1 96 416a32 32 0 0 1 32-32h768a32 32 0 0 1 32 32 415.68 415.68 0 0 1-192 350.592V832a64 64 0 0 1-64 64H352a64 64 0 0 1-64-64zM493.248 320h-90.496l254.4-254.4a32 32 0 1 1 45.248 45.248zm187.328 0h-128l269.696-155.712a32 32 0 0 1 32 55.424zM352 768v64h320v-64z"})]))}}),bowl_default=bowl_vue_vue_type_script_setup_true_lang_default,box_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Box",__name:"box",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M317.056 128 128 344.064V896h768V344.064L706.944 128zm-14.528-64h418.944a32 32 0 0 1 24.064 10.88l206.528 236.096A32 32 0 0 1 960 332.032V928a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V332.032a32 32 0 0 1 7.936-21.12L278.4 75.008A32 32 0 0 1 302.528 64z"}),createBaseVNode("path",{fill:"currentColor",d:"M64 320h896v64H64z"}),createBaseVNode("path",{fill:"currentColor",d:"M448 327.872V640h128V327.872L526.08 128h-28.16zM448 64h128l64 256v352a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V320z"})]))}}),box_default=box_vue_vue_type_script_setup_true_lang_default,briefcase_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Briefcase",__name:"briefcase",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M320 320V128h384v192h192v192H128V320zM128 576h768v320H128zm256-256h256.064V192H384z"})]))}}),briefcase_default=briefcase_vue_vue_type_script_setup_true_lang_default,brush_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"BrushFilled",__name:"brush-filled",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M608 704v160a96 96 0 0 1-192 0V704h-96a128 128 0 0 1-128-128h640a128 128 0 0 1-128 128zM192 512V128.064h640V512z"})]))}}),brush_filled_default=brush_filled_vue_vue_type_script_setup_true_lang_default,brush_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Brush",__name:"brush",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M896 448H128v192a64 64 0 0 0 64 64h192v192h256V704h192a64 64 0 0 0 64-64zm-770.752-64c0-47.552 5.248-90.24 15.552-128 14.72-54.016 42.496-107.392 83.2-160h417.28l-15.36 70.336L736 96h211.2c-24.832 42.88-41.92 96.256-51.2 160a663.872 663.872 0 0 0-6.144 128H960v256a128 128 0 0 1-128 128H704v160a32 32 0 0 1-32 32H352a32 32 0 0 1-32-32V768H192A128 128 0 0 1 64 640V384h61.248zm64 0h636.544c-2.048-45.824.256-91.584 6.848-137.216 4.48-30.848 10.688-59.776 18.688-86.784h-96.64l-221.12 141.248L561.92 160H256.512c-25.856 37.888-43.776 75.456-53.952 112.832-8.768 32.064-13.248 69.12-13.312 111.168z"})]))}}),brush_default=brush_vue_vue_type_script_setup_true_lang_default,burger_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Burger",__name:"burger",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 512a32 32 0 0 0-32 32v64a32 32 0 0 0 30.08 32H864a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32zm736-58.56A96 96 0 0 1 960 544v64a96 96 0 0 1-51.968 85.312L855.36 833.6a96 96 0 0 1-89.856 62.272H258.496A96 96 0 0 1 168.64 833.6l-52.608-140.224A96 96 0 0 1 64 608v-64a96 96 0 0 1 64-90.56V448a384 384 0 1 1 768 5.44M832 448a320 320 0 0 0-640 0zM512 704H188.352l40.192 107.136a32 32 0 0 0 29.952 20.736h507.008a32 32 0 0 0 29.952-20.736L835.648 704z"})]))}}),burger_default=burger_vue_vue_type_script_setup_true_lang_default,calendar_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Calendar",__name:"calendar",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"})]))}}),calendar_default=calendar_vue_vue_type_script_setup_true_lang_default,camera_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CameraFilled",__name:"camera-filled",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 224a64 64 0 0 0-64 64v512a64 64 0 0 0 64 64h704a64 64 0 0 0 64-64V288a64 64 0 0 0-64-64H748.416l-46.464-92.672A64 64 0 0 0 644.736 96H379.328a64 64 0 0 0-57.216 35.392L275.776 224zm352 435.2a115.2 115.2 0 1 0 0-230.4 115.2 115.2 0 0 0 0 230.4m0 140.8a256 256 0 1 1 0-512 256 256 0 0 1 0 512"})]))}}),camera_filled_default=camera_filled_vue_vue_type_script_setup_true_lang_default,camera_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Camera",__name:"camera",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M896 256H128v576h768zm-199.424-64-32.064-64h-304.96l-32 64zM96 192h160l46.336-92.608A64 64 0 0 1 359.552 64h304.96a64 64 0 0 1 57.216 35.328L768.192 192H928a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32m416 512a160 160 0 1 0 0-320 160 160 0 0 0 0 320m0 64a224 224 0 1 1 0-448 224 224 0 0 1 0 448"})]))}}),camera_default=camera_vue_vue_type_script_setup_true_lang_default,caret_bottom_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CaretBottom",__name:"caret-bottom",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m192 384 320 384 320-384z"})]))}}),caret_bottom_default=caret_bottom_vue_vue_type_script_setup_true_lang_default,caret_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CaretLeft",__name:"caret-left",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M672 192 288 511.936 672 832z"})]))}}),caret_left_default=caret_left_vue_vue_type_script_setup_true_lang_default,caret_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CaretRight",__name:"caret-right",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"})]))}}),caret_right_default=caret_right_vue_vue_type_script_setup_true_lang_default,caret_top_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CaretTop",__name:"caret-top",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"})]))}}),caret_top_default=caret_top_vue_vue_type_script_setup_true_lang_default,cellphone_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Cellphone",__name:"cellphone",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 128a64 64 0 0 0-64 64v640a64 64 0 0 0 64 64h512a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64zm0-64h512a128 128 0 0 1 128 128v640a128 128 0 0 1-128 128H256a128 128 0 0 1-128-128V192A128 128 0 0 1 256 64m128 128h256a32 32 0 1 1 0 64H384a32 32 0 0 1 0-64m128 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128"})]))}}),cellphone_default=cellphone_vue_vue_type_script_setup_true_lang_default,chat_dot_round_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ChatDotRound",__name:"chat-dot-round",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m174.72 855.68 135.296-45.12 23.68 11.84C388.096 849.536 448.576 864 512 864c211.84 0 384-166.784 384-352S723.84 160 512 160 128 326.784 128 512c0 69.12 24.96 139.264 70.848 199.232l22.08 28.8-46.272 115.584zm-45.248 82.56A32 32 0 0 1 89.6 896l58.368-145.92C94.72 680.32 64 596.864 64 512 64 299.904 256 96 512 96s448 203.904 448 416-192 416-448 416a461.056 461.056 0 0 1-206.912-48.384l-175.616 58.56z"}),createBaseVNode("path",{fill:"currentColor",d:"M512 563.2a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m192 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m-384 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4"})]))}}),chat_dot_round_default=chat_dot_round_vue_vue_type_script_setup_true_lang_default,chat_dot_square_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ChatDotSquare",__name:"chat-dot-square",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64v570.88zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"}),createBaseVNode("path",{fill:"currentColor",d:"M512 499.2a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4zm192 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4zm-384 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4z"})]))}}),chat_dot_square_default=chat_dot_square_vue_vue_type_script_setup_true_lang_default,chat_line_round_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ChatLineRound",__name:"chat-line-round",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m174.72 855.68 135.296-45.12 23.68 11.84C388.096 849.536 448.576 864 512 864c211.84 0 384-166.784 384-352S723.84 160 512 160 128 326.784 128 512c0 69.12 24.96 139.264 70.848 199.232l22.08 28.8-46.272 115.584zm-45.248 82.56A32 32 0 0 1 89.6 896l58.368-145.92C94.72 680.32 64 596.864 64 512 64 299.904 256 96 512 96s448 203.904 448 416-192 416-448 416a461.056 461.056 0 0 1-206.912-48.384l-175.616 58.56z"}),createBaseVNode("path",{fill:"currentColor",d:"M352 576h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m32-192h256q32 0 32 32t-32 32H384q-32 0-32-32t32-32"})]))}}),chat_line_round_default=chat_line_round_vue_vue_type_script_setup_true_lang_default,chat_line_square_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ChatLineSquare",__name:"chat-line-square",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 826.88 273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"}),createBaseVNode("path",{fill:"currentColor",d:"M352 512h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m0-192h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32"})]))}}),chat_line_square_default=chat_line_square_vue_vue_type_script_setup_true_lang_default,chat_round_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ChatRound",__name:"chat-round",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m174.72 855.68 130.048-43.392 23.424 11.392C382.4 849.984 444.352 864 512 864c223.744 0 384-159.872 384-352 0-192.832-159.104-352-384-352S128 319.168 128 512a341.12 341.12 0 0 0 69.248 204.288l21.632 28.8-44.16 110.528zm-45.248 82.56A32 32 0 0 1 89.6 896l56.512-141.248A405.12 405.12 0 0 1 64 512C64 299.904 235.648 96 512 96s448 203.904 448 416-173.44 416-448 416c-79.68 0-150.848-17.152-211.712-46.72l-170.88 56.96z"})]))}}),chat_round_default=chat_round_vue_vue_type_script_setup_true_lang_default,chat_square_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ChatSquare",__name:"chat-square",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64v570.88zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"})]))}}),chat_square_default=chat_square_vue_vue_type_script_setup_true_lang_default,check_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Check",__name:"check",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"})]))}}),check_default=check_vue_vue_type_script_setup_true_lang_default,checked_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Checked",__name:"checked",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M704 192h160v736H160V192h160.064v64H704zM311.616 537.28l-45.312 45.248L447.36 763.52l316.8-316.8-45.312-45.184L447.36 673.024zM384 192V96h256v96z"})]))}}),checked_default=checked_vue_vue_type_script_setup_true_lang_default,cherry_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Cherry",__name:"cherry",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M261.056 449.6c13.824-69.696 34.88-128.96 63.36-177.728 23.744-40.832 61.12-88.64 112.256-143.872H320a32 32 0 0 1 0-64h384a32 32 0 1 1 0 64H554.752c14.912 39.168 41.344 86.592 79.552 141.76 47.36 68.48 84.8 106.752 106.304 114.304a224 224 0 1 1-84.992 14.784c-22.656-22.912-47.04-53.76-73.92-92.608-38.848-56.128-67.008-105.792-84.352-149.312-55.296 58.24-94.528 107.52-117.76 147.2-23.168 39.744-41.088 88.768-53.568 147.072a224.064 224.064 0 1 1-64.96-1.6zM288 832a160 160 0 1 0 0-320 160 160 0 0 0 0 320m448-64a160 160 0 1 0 0-320 160 160 0 0 0 0 320"})]))}}),cherry_default=cherry_vue_vue_type_script_setup_true_lang_default,chicken_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Chicken",__name:"chicken",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M349.952 716.992 478.72 588.16a106.688 106.688 0 0 1-26.176-19.072 106.688 106.688 0 0 1-19.072-26.176L304.704 671.744c.768 3.072 1.472 6.144 2.048 9.216l2.048 31.936 31.872 1.984c3.136.64 6.208 1.28 9.28 2.112zm57.344 33.152a128 128 0 1 1-216.32 114.432l-1.92-32-32-1.92a128 128 0 1 1 114.432-216.32L416.64 469.248c-2.432-101.44 58.112-239.104 149.056-330.048 107.328-107.328 231.296-85.504 316.8 0 85.44 85.44 107.328 209.408 0 316.8-91.008 90.88-228.672 151.424-330.112 149.056L407.296 750.08zm90.496-226.304c49.536 49.536 233.344-7.04 339.392-113.088 78.208-78.208 63.232-163.072 0-226.304-63.168-63.232-148.032-78.208-226.24 0C504.896 290.496 448.32 474.368 497.792 523.84M244.864 708.928a64 64 0 1 0-59.84 59.84l56.32-3.52zm8.064 127.68a64 64 0 1 0 59.84-59.84l-56.32 3.52-3.52 56.32z"})]))}}),chicken_default=chicken_vue_vue_type_script_setup_true_lang_default,chrome_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ChromeFilled",__name:"chrome-filled",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M938.67 512.01c0-44.59-6.82-87.6-19.54-128H682.67a212.372 212.372 0 0 1 42.67 128c.06 38.71-10.45 76.7-30.42 109.87l-182.91 316.8c235.65-.01 426.66-191.02 426.66-426.67z"}),createBaseVNode("path",{fill:"currentColor",d:"M576.79 401.63a127.92 127.92 0 0 0-63.56-17.6c-22.36-.22-44.39 5.43-63.89 16.38s-35.79 26.82-47.25 46.02a128.005 128.005 0 0 0-2.16 127.44l1.24 2.13a127.906 127.906 0 0 0 46.36 46.61 127.907 127.907 0 0 0 63.38 17.44c22.29.2 44.24-5.43 63.68-16.33a127.94 127.94 0 0 0 47.16-45.79v-.01l1.11-1.92a127.984 127.984 0 0 0 .29-127.46 127.957 127.957 0 0 0-46.36-46.91"}),createBaseVNode("path",{fill:"currentColor",d:"M394.45 333.96A213.336 213.336 0 0 1 512 298.67h369.58A426.503 426.503 0 0 0 512 85.34a425.598 425.598 0 0 0-171.74 35.98 425.644 425.644 0 0 0-142.62 102.22l118.14 204.63a213.397 213.397 0 0 1 78.67-94.21m117.56 604.72H512zm-97.25-236.73a213.284 213.284 0 0 1-89.54-86.81L142.48 298.6c-36.35 62.81-57.13 135.68-57.13 213.42 0 203.81 142.93 374.22 333.95 416.55h.04l118.19-204.71a213.315 213.315 0 0 1-122.77-21.91z"})]))}}),chrome_filled_default=chrome_filled_vue_vue_type_script_setup_true_lang_default,circle_check_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleCheckFilled",__name:"circle-check-filled",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),circle_check_filled_default=circle_check_filled_vue_vue_type_script_setup_true_lang_default,circle_check_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleCheck",__name:"circle-check",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"})]))}}),circle_check_default=circle_check_vue_vue_type_script_setup_true_lang_default,circle_close_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleCloseFilled",__name:"circle-close-filled",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}}),circle_close_filled_default=circle_close_filled_vue_vue_type_script_setup_true_lang_default,circle_close_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleClose",__name:"circle-close",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),circle_close_default=circle_close_vue_vue_type_script_setup_true_lang_default,circle_plus_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CirclePlusFilled",__name:"circle-plus-filled",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-38.4 409.6H326.4a38.4 38.4 0 1 0 0 76.8h147.2v147.2a38.4 38.4 0 0 0 76.8 0V550.4h147.2a38.4 38.4 0 0 0 0-76.8H550.4V326.4a38.4 38.4 0 1 0-76.8 0v147.2z"})]))}}),circle_plus_filled_default=circle_plus_filled_vue_vue_type_script_setup_true_lang_default,circle_plus_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CirclePlus",__name:"circle-plus",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"}),createBaseVNode("path",{fill:"currentColor",d:"M480 672V352a32 32 0 1 1 64 0v320a32 32 0 0 1-64 0"}),createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),circle_plus_default=circle_plus_vue_vue_type_script_setup_true_lang_default,clock_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Clock",__name:"clock",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}}),clock_default=clock_vue_vue_type_script_setup_true_lang_default,close_bold_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CloseBold",__name:"close-bold",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M195.2 195.2a64 64 0 0 1 90.496 0L512 421.504 738.304 195.2a64 64 0 0 1 90.496 90.496L602.496 512 828.8 738.304a64 64 0 0 1-90.496 90.496L512 602.496 285.696 828.8a64 64 0 0 1-90.496-90.496L421.504 512 195.2 285.696a64 64 0 0 1 0-90.496z"})]))}}),close_bold_default=close_bold_vue_vue_type_script_setup_true_lang_default,close_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Close",__name:"close",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),close_default=close_vue_vue_type_script_setup_true_lang_default,cloudy_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Cloudy",__name:"cloudy",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M598.4 831.872H328.192a256 256 0 0 1-34.496-510.528A352 352 0 1 1 598.4 831.872m-271.36-64h272.256a288 288 0 1 0-248.512-417.664L335.04 381.44l-34.816 3.584a192 192 0 0 0 26.88 382.848z"})]))}}),cloudy_default=cloudy_vue_vue_type_script_setup_true_lang_default,coffee_cup_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CoffeeCup",__name:"coffee-cup",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M768 192a192 192 0 1 1-8 383.808A256.128 256.128 0 0 1 512 768H320A256 256 0 0 1 64 512V160a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 64v256a128 128 0 1 0 0-256M96 832h640a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64m32-640v320a192 192 0 0 0 192 192h192a192 192 0 0 0 192-192V192z"})]))}}),coffee_cup_default=coffee_cup_vue_vue_type_script_setup_true_lang_default,coffee_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Coffee",__name:"coffee",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M822.592 192h14.272a32 32 0 0 1 31.616 26.752l21.312 128A32 32 0 0 1 858.24 384h-49.344l-39.04 546.304A32 32 0 0 1 737.92 960H285.824a32 32 0 0 1-32-29.696L214.912 384H165.76a32 32 0 0 1-31.552-37.248l21.312-128A32 32 0 0 1 187.136 192h14.016l-6.72-93.696A32 32 0 0 1 226.368 64h571.008a32 32 0 0 1 31.936 34.304zm-64.128 0 4.544-64H260.736l4.544 64h493.184m-548.16 128H820.48l-10.688-64H214.208l-10.688 64h6.784m68.736 64 36.544 512H708.16l36.544-512z"})]))}}),coffee_default=coffee_vue_vue_type_script_setup_true_lang_default,coin_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Coin",__name:"coin",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m161.92 580.736 29.888 58.88C171.328 659.776 160 681.728 160 704c0 82.304 155.328 160 352 160s352-77.696 352-160c0-22.272-11.392-44.16-31.808-64.32l30.464-58.432C903.936 615.808 928 657.664 928 704c0 129.728-188.544 224-416 224S96 833.728 96 704c0-46.592 24.32-88.576 65.92-123.264z"}),createBaseVNode("path",{fill:"currentColor",d:"m161.92 388.736 29.888 58.88C171.328 467.84 160 489.792 160 512c0 82.304 155.328 160 352 160s352-77.696 352-160c0-22.272-11.392-44.16-31.808-64.32l30.464-58.432C903.936 423.808 928 465.664 928 512c0 129.728-188.544 224-416 224S96 641.728 96 512c0-46.592 24.32-88.576 65.92-123.264z"}),createBaseVNode("path",{fill:"currentColor",d:"M512 544c-227.456 0-416-94.272-416-224S284.544 96 512 96s416 94.272 416 224-188.544 224-416 224m0-64c196.672 0 352-77.696 352-160S708.672 160 512 160s-352 77.696-352 160 155.328 160 352 160"})]))}}),coin_default=coin_vue_vue_type_script_setup_true_lang_default,cold_drink_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ColdDrink",__name:"cold-drink",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M768 64a192 192 0 1 1-69.952 370.88L480 725.376V896h96a32 32 0 1 1 0 64H320a32 32 0 1 1 0-64h96V725.376L76.8 273.536a64 64 0 0 1-12.8-38.4v-10.688a32 32 0 0 1 32-32h71.808l-65.536-83.84a32 32 0 0 1 50.432-39.424l96.256 123.264h337.728A192.064 192.064 0 0 1 768 64M656.896 192.448H800a32 32 0 0 1 32 32v10.624a64 64 0 0 1-12.8 38.4l-80.448 107.2a128 128 0 1 0-81.92-188.16v-.064zm-357.888 64 129.472 165.76a32 32 0 0 1-50.432 39.36l-160.256-205.12H144l304 404.928 304-404.928z"})]))}}),cold_drink_default=cold_drink_vue_vue_type_script_setup_true_lang_default,collection_tag_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CollectionTag",__name:"collection-tag",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 128v698.88l196.032-156.864a96 96 0 0 1 119.936 0L768 826.816V128zm-32-64h576a32 32 0 0 1 32 32v797.44a32 32 0 0 1-51.968 24.96L531.968 720a32 32 0 0 0-39.936 0L243.968 918.4A32 32 0 0 1 192 893.44V96a32 32 0 0 1 32-32"})]))}}),collection_tag_default=collection_tag_vue_vue_type_script_setup_true_lang_default,collection_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Collection",__name:"collection",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M192 736h640V128H256a64 64 0 0 0-64 64zm64-672h608a32 32 0 0 1 32 32v672a32 32 0 0 1-32 32H160l-32 57.536V192A128 128 0 0 1 256 64"}),createBaseVNode("path",{fill:"currentColor",d:"M240 800a48 48 0 1 0 0 96h592v-96zm0-64h656v160a64 64 0 0 1-64 64H240a112 112 0 0 1 0-224m144-608v250.88l96-76.8 96 76.8V128zm-64-64h320v381.44a32 32 0 0 1-51.968 24.96L480 384l-108.032 86.4A32 32 0 0 1 320 445.44z"})]))}}),collection_default=collection_vue_vue_type_script_setup_true_lang_default,comment_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Comment",__name:"comment",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M736 504a56 56 0 1 1 0-112 56 56 0 0 1 0 112m-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112m-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112M128 128v640h192v160l224-160h352V128z"})]))}}),comment_default=comment_vue_vue_type_script_setup_true_lang_default,compass_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Compass",__name:"compass",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M725.888 315.008C676.48 428.672 624 513.28 568.576 568.64c-55.424 55.424-139.968 107.904-253.568 157.312a12.8 12.8 0 0 1-16.896-16.832c49.536-113.728 102.016-198.272 157.312-253.632 55.36-55.296 139.904-107.776 253.632-157.312a12.8 12.8 0 0 1 16.832 16.832"})]))}}),compass_default=compass_vue_vue_type_script_setup_true_lang_default,connection_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Connection",__name:"connection",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M640 384v64H448a128 128 0 0 0-128 128v128a128 128 0 0 0 128 128h320a128 128 0 0 0 128-128V576a128 128 0 0 0-64-110.848V394.88c74.56 26.368 128 97.472 128 181.056v128a192 192 0 0 1-192 192H448a192 192 0 0 1-192-192V576a192 192 0 0 1 192-192z"}),createBaseVNode("path",{fill:"currentColor",d:"M384 640v-64h192a128 128 0 0 0 128-128V320a128 128 0 0 0-128-128H256a128 128 0 0 0-128 128v128a128 128 0 0 0 64 110.848v70.272A192.064 192.064 0 0 1 64 448V320a192 192 0 0 1 192-192h320a192 192 0 0 1 192 192v128a192 192 0 0 1-192 192z"})]))}}),connection_default=connection_vue_vue_type_script_setup_true_lang_default,coordinate_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Coordinate",__name:"coordinate",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M480 512h64v320h-64z"}),createBaseVNode("path",{fill:"currentColor",d:"M192 896h640a64 64 0 0 0-64-64H256a64 64 0 0 0-64 64m64-128h512a128 128 0 0 1 128 128v64H128v-64a128 128 0 0 1 128-128m256-256a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512"})]))}}),coordinate_default=coordinate_vue_vue_type_script_setup_true_lang_default,copy_document_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CopyDocument",__name:"copy-document",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M768 832a128 128 0 0 1-128 128H192A128 128 0 0 1 64 832V384a128 128 0 0 1 128-128v64a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64z"}),createBaseVNode("path",{fill:"currentColor",d:"M384 128a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64zm0-64h448a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H384a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64"})]))}}),copy_document_default=copy_document_vue_vue_type_script_setup_true_lang_default,cpu_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Cpu",__name:"cpu",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M320 256a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h384a64 64 0 0 0 64-64V320a64 64 0 0 0-64-64zm0-64h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128H320a128 128 0 0 1-128-128V320a128 128 0 0 1 128-128"}),createBaseVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m160 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m-320 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m160 896a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32m160 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32m-320 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32M64 512a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m0-160a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m0 320a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m896-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32m0-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32m0 320a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32"})]))}}),cpu_default=cpu_vue_vue_type_script_setup_true_lang_default,credit_card_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CreditCard",__name:"credit-card",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M896 324.096c0-42.368-2.496-55.296-9.536-68.48a52.352 52.352 0 0 0-22.144-22.08c-13.12-7.04-26.048-9.536-68.416-9.536H228.096c-42.368 0-55.296 2.496-68.48 9.536a52.352 52.352 0 0 0-22.08 22.144c-7.04 13.12-9.536 26.048-9.536 68.416v375.808c0 42.368 2.496 55.296 9.536 68.48a52.352 52.352 0 0 0 22.144 22.08c13.12 7.04 26.048 9.536 68.416 9.536h567.808c42.368 0 55.296-2.496 68.48-9.536a52.352 52.352 0 0 0 22.08-22.144c7.04-13.12 9.536-26.048 9.536-68.416zm64 0v375.808c0 57.088-5.952 77.76-17.088 98.56-11.136 20.928-27.52 37.312-48.384 48.448-20.864 11.136-41.6 17.088-98.56 17.088H228.032c-57.088 0-77.76-5.952-98.56-17.088a116.288 116.288 0 0 1-48.448-48.384c-11.136-20.864-17.088-41.6-17.088-98.56V324.032c0-57.088 5.952-77.76 17.088-98.56 11.136-20.928 27.52-37.312 48.384-48.448 20.864-11.136 41.6-17.088 98.56-17.088H795.84c57.088 0 77.76 5.952 98.56 17.088 20.928 11.136 37.312 27.52 48.448 48.384 11.136 20.864 17.088 41.6 17.088 98.56z"}),createBaseVNode("path",{fill:"currentColor",d:"M64 320h896v64H64zm0 128h896v64H64zm128 192h256v64H192z"})]))}}),credit_card_default=credit_card_vue_vue_type_script_setup_true_lang_default,crop_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Crop",__name:"crop",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 768h672a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V96a32 32 0 0 1 64 0z"}),createBaseVNode("path",{fill:"currentColor",d:"M832 224v704a32 32 0 1 1-64 0V256H96a32 32 0 0 1 0-64h704a32 32 0 0 1 32 32"})]))}}),crop_default=crop_vue_vue_type_script_setup_true_lang_default,d_arrow_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DArrowLeft",__name:"d-arrow-left",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224zm256 0a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224z"})]))}}),d_arrow_left_default=d_arrow_left_vue_vue_type_script_setup_true_lang_default,d_arrow_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DArrowRight",__name:"d-arrow-right",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L764.736 512 452.864 192a30.592 30.592 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L508.736 512 196.864 192a30.592 30.592 0 0 1 0-42.688z"})]))}}),d_arrow_right_default=d_arrow_right_vue_vue_type_script_setup_true_lang_default,d_caret_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DCaret",__name:"d-caret",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m512 128 288 320H224zM224 576h576L512 896z"})]))}}),d_caret_default=d_caret_vue_vue_type_script_setup_true_lang_default,data_analysis_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DataAnalysis",__name:"data-analysis",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m665.216 768 110.848 192h-73.856L591.36 768H433.024L322.176 960H248.32l110.848-192H160a32 32 0 0 1-32-32V192H64a32 32 0 0 1 0-64h896a32 32 0 1 1 0 64h-64v544a32 32 0 0 1-32 32zM832 192H192v512h640zM352 448a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0v-64a32 32 0 0 1 32-32m160-64a32 32 0 0 1 32 32v128a32 32 0 0 1-64 0V416a32 32 0 0 1 32-32m160-64a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V352a32 32 0 0 1 32-32"})]))}}),data_analysis_default=data_analysis_vue_vue_type_script_setup_true_lang_default,data_board_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DataBoard",__name:"data-board",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M32 128h960v64H32z"}),createBaseVNode("path",{fill:"currentColor",d:"M192 192v512h640V192zm-64-64h768v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32z"}),createBaseVNode("path",{fill:"currentColor",d:"M322.176 960H248.32l144.64-250.56 55.424 32zm453.888 0h-73.856L576 741.44l55.424-32z"})]))}}),data_board_default=data_board_vue_vue_type_script_setup_true_lang_default,data_line_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DataLine",__name:"data-line",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M359.168 768H160a32 32 0 0 1-32-32V192H64a32 32 0 0 1 0-64h896a32 32 0 1 1 0 64h-64v544a32 32 0 0 1-32 32H665.216l110.848 192h-73.856L591.36 768H433.024L322.176 960H248.32zM832 192H192v512h640zM342.656 534.656a32 32 0 1 1-45.312-45.312L444.992 341.76l125.44 94.08L679.04 300.032a32 32 0 1 1 49.92 39.936L581.632 524.224 451.008 426.24 342.656 534.592z"})]))}}),data_line_default=data_line_vue_vue_type_script_setup_true_lang_default,delete_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DeleteFilled",__name:"delete-filled",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M352 192V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64H96a32 32 0 0 1 0-64zm64 0h192v-64H416zM192 960a32 32 0 0 1-32-32V256h704v672a32 32 0 0 1-32 32zm224-192a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32m192 0a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32"})]))}}),delete_filled_default=delete_filled_vue_vue_type_script_setup_true_lang_default,delete_location_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DeleteLocation",__name:"delete-location",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),createBaseVNode("path",{fill:"currentColor",d:"M384 384h256q32 0 32 32t-32 32H384q-32 0-32-32t32-32"})]))}}),delete_location_default=delete_location_vue_vue_type_script_setup_true_lang_default,delete_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Delete",__name:"delete",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}}),delete_default=delete_vue_vue_type_script_setup_true_lang_default,dessert_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Dessert",__name:"dessert",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 416v-48a144 144 0 0 1 168.64-141.888 224.128 224.128 0 0 1 430.72 0A144 144 0 0 1 896 368v48a384 384 0 0 1-352 382.72V896h-64v-97.28A384 384 0 0 1 128 416m287.104-32.064h193.792a143.808 143.808 0 0 1 58.88-132.736 160.064 160.064 0 0 0-311.552 0 143.808 143.808 0 0 1 58.88 132.8zm-72.896 0a72 72 0 1 0-140.48 0h140.48m339.584 0h140.416a72 72 0 1 0-140.48 0zM512 736a320 320 0 0 0 318.4-288.064H193.6A320 320 0 0 0 512 736M384 896.064h256a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64"})]))}}),dessert_default=dessert_vue_vue_type_script_setup_true_lang_default,discount_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Discount",__name:"discount",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 704h576V318.336L552.512 115.84a64 64 0 0 0-81.024 0L224 318.336zm0 64v128h576V768zM593.024 66.304l259.2 212.096A32 32 0 0 1 864 303.168V928a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V303.168a32 32 0 0 1 11.712-24.768l259.2-212.096a128 128 0 0 1 162.112 0"}),createBaseVNode("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),discount_default=discount_vue_vue_type_script_setup_true_lang_default,dish_dot_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DishDot",__name:"dish-dot",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m384.064 274.56.064-50.688A128 128 0 0 1 512.128 96c70.528 0 127.68 57.152 127.68 127.68v50.752A448.192 448.192 0 0 1 955.392 768H68.544A448.192 448.192 0 0 1 384 274.56zM96 832h832a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64m32-128h768a384 384 0 1 0-768 0m447.808-448v-32.32a63.68 63.68 0 0 0-63.68-63.68 64 64 0 0 0-64 63.936V256z"})]))}}),dish_dot_default=dish_dot_vue_vue_type_script_setup_true_lang_default,dish_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Dish",__name:"dish",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M480 257.152V192h-96a32 32 0 0 1 0-64h256a32 32 0 1 1 0 64h-96v65.152A448 448 0 0 1 955.52 768H68.48A448 448 0 0 1 480 257.152M128 704h768a384 384 0 1 0-768 0M96 832h832a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64"})]))}}),dish_default=dish_vue_vue_type_script_setup_true_lang_default,document_add_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DocumentAdd",__name:"document-add",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m320 512V448h64v128h128v64H544v128h-64V640H352v-64z"})]))}}),document_add_default=document_add_vue_vue_type_script_setup_true_lang_default,document_checked_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DocumentChecked",__name:"document-checked",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m318.4 582.144 180.992-180.992L704.64 510.4 478.4 736.64 320 578.304l45.248-45.312z"})]))}}),document_checked_default=document_checked_vue_vue_type_script_setup_true_lang_default,document_copy_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DocumentCopy",__name:"document-copy",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 320v576h576V320zm-32-64h640a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32M960 96v704a32 32 0 0 1-32 32h-96v-64h64V128H384v64h-64V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32M256 672h320v64H256zm0-192h320v64H256z"})]))}}),document_copy_default=document_copy_vue_vue_type_script_setup_true_lang_default,document_delete_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DocumentDelete",__name:"document-delete",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m308.992 546.304-90.496-90.624 45.248-45.248 90.56 90.496 90.496-90.432 45.248 45.248-90.496 90.56 90.496 90.496-45.248 45.248-90.496-90.496-90.56 90.496-45.248-45.248 90.496-90.496z"})]))}}),document_delete_default=document_delete_vue_vue_type_script_setup_true_lang_default,document_remove_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DocumentRemove",__name:"document-remove",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m192 512h320v64H352z"})]))}}),document_remove_default=document_remove_vue_vue_type_script_setup_true_lang_default,document_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Document",__name:"document",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}}),document_default=document_vue_vue_type_script_setup_true_lang_default,download_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Download",__name:"download",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-253.696 236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64z"})]))}}),download_default=download_vue_vue_type_script_setup_true_lang_default,drizzling_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Drizzling",__name:"drizzling",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m739.328 291.328-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 97.28 78.72 175.936 175.808 175.936h400a192 192 0 0 0 35.776-380.672zM959.552 480a256 256 0 0 1-256 256h-400A239.808 239.808 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 959.552 480M288 800h64v64h-64zm192 0h64v64h-64zm-96 96h64v64h-64zm192 0h64v64h-64zm96-96h64v64h-64z"})]))}}),drizzling_default=drizzling_vue_vue_type_script_setup_true_lang_default,edit_pen_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"EditPen",__name:"edit-pen",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m199.04 672.64 193.984 112 224-387.968-193.92-112-224 388.032zm-23.872 60.16 32.896 148.288 144.896-45.696zM455.04 229.248l193.92 112 56.704-98.112-193.984-112-56.64 98.112zM104.32 708.8l384-665.024 304.768 175.936L409.152 884.8h.064l-248.448 78.336zm384 254.272v-64h448v64h-448z"})]))}}),edit_pen_default=edit_pen_vue_vue_type_script_setup_true_lang_default,edit_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Edit",__name:"edit",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640z"}),createBaseVNode("path",{fill:"currentColor",d:"m469.952 554.24 52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z"})]))}}),edit_default=edit_vue_vue_type_script_setup_true_lang_default,eleme_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ElemeFilled",__name:"eleme-filled",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M176 64h672c61.824 0 112 50.176 112 112v672a112 112 0 0 1-112 112H176A112 112 0 0 1 64 848V176c0-61.824 50.176-112 112-112m150.528 173.568c-152.896 99.968-196.544 304.064-97.408 456.96a330.688 330.688 0 0 0 456.96 96.64c9.216-5.888 17.6-11.776 25.152-18.56a18.24 18.24 0 0 0 4.224-24.32L700.352 724.8a47.552 47.552 0 0 0-65.536-14.272A234.56 234.56 0 0 1 310.592 641.6C240 533.248 271.104 387.968 379.456 316.48a234.304 234.304 0 0 1 276.352 15.168c1.664.832 2.56 2.56 3.392 4.224 5.888 8.384 3.328 19.328-5.12 25.216L456.832 489.6a47.552 47.552 0 0 0-14.336 65.472l16 24.384c5.888 8.384 16.768 10.88 25.216 5.056l308.224-199.936a19.584 19.584 0 0 0 6.72-23.488v-.896c-4.992-9.216-10.048-17.6-15.104-26.88-99.968-151.168-304.064-194.88-456.96-95.744zM786.88 504.704l-62.208 40.32c-8.32 5.888-10.88 16.768-4.992 25.216L760 632.32c5.888 8.448 16.768 11.008 25.152 5.12l31.104-20.16a55.36 55.36 0 0 0 16-76.48l-20.224-31.04a19.52 19.52 0 0 0-25.152-5.12z"})]))}}),eleme_filled_default=eleme_filled_vue_vue_type_script_setup_true_lang_default,eleme_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Eleme",__name:"eleme",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M300.032 188.8c174.72-113.28 408-63.36 522.24 109.44 5.76 10.56 11.52 20.16 17.28 30.72v.96a22.4 22.4 0 0 1-7.68 26.88l-352.32 228.48c-9.6 6.72-22.08 3.84-28.8-5.76l-18.24-27.84a54.336 54.336 0 0 1 16.32-74.88l225.6-146.88c9.6-6.72 12.48-19.2 5.76-28.8-.96-1.92-1.92-3.84-3.84-4.8a267.84 267.84 0 0 0-315.84-17.28c-123.84 81.6-159.36 247.68-78.72 371.52a268.096 268.096 0 0 0 370.56 78.72 54.336 54.336 0 0 1 74.88 16.32l17.28 26.88c5.76 9.6 3.84 21.12-4.8 27.84-8.64 7.68-18.24 14.4-28.8 21.12a377.92 377.92 0 0 1-522.24-110.4c-113.28-174.72-63.36-408 111.36-522.24zm526.08 305.28a22.336 22.336 0 0 1 28.8 5.76l23.04 35.52a63.232 63.232 0 0 1-18.24 87.36l-35.52 23.04c-9.6 6.72-22.08 3.84-28.8-5.76l-46.08-71.04c-6.72-9.6-3.84-22.08 5.76-28.8l71.04-46.08z"})]))}}),eleme_default=eleme_vue_vue_type_script_setup_true_lang_default,element_plus_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ElementPlus",__name:"element-plus",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M839.7 734.7c0 33.3-17.9 41-17.9 41S519.7 949.8 499.2 960c-10.2 5.1-20.5 5.1-30.7 0 0 0-314.9-184.3-325.1-192-5.1-5.1-10.2-12.8-12.8-20.5V368.6c0-17.9 20.5-28.2 20.5-28.2L466 158.6c12.8-5.1 25.6-5.1 38.4 0 0 0 279 161.3 309.8 179.2 17.9 7.7 28.2 25.6 25.6 46.1-.1-5-.1 317.5-.1 350.8M714.2 371.2c-64-35.8-217.6-125.4-217.6-125.4-7.7-5.1-20.5-5.1-30.7 0L217.6 389.1s-17.9 10.2-17.9 23v297c0 5.1 5.1 12.8 7.7 17.9 7.7 5.1 256 148.5 256 148.5 7.7 5.1 17.9 5.1 25.6 0 15.4-7.7 250.9-145.9 250.9-145.9s12.8-5.1 12.8-30.7v-74.2l-276.5 169v-64c0-17.9 7.7-30.7 20.5-46.1L745 535c5.1-7.7 10.2-20.5 10.2-30.7v-66.6l-279 169v-69.1c0-15.4 5.1-30.7 17.9-38.4l220.1-128zM919 135.7c0-5.1-5.1-7.7-7.7-7.7h-58.9V66.6c0-5.1-5.1-5.1-10.2-5.1l-30.7 5.1c-5.1 0-5.1 2.6-5.1 5.1V128h-56.3c-5.1 0-5.1 5.1-7.7 5.1v38.4h69.1v64c0 5.1 5.1 5.1 10.2 5.1l30.7-5.1c5.1 0 5.1-2.6 5.1-5.1v-56.3h64l-2.5-38.4z"})]))}}),element_plus_default=element_plus_vue_vue_type_script_setup_true_lang_default,expand_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Expand",__name:"expand",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 192h768v128H128zm0 256h512v128H128zm0 256h768v128H128zm576-352 192 160-192 128z"})]))}}),expand_default=expand_vue_vue_type_script_setup_true_lang_default,failed_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Failed",__name:"failed",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m557.248 608 135.744-135.744-45.248-45.248-135.68 135.744-135.808-135.68-45.248 45.184L466.752 608l-135.68 135.68 45.184 45.312L512 653.248l135.744 135.744 45.248-45.248L557.312 608zM704 192h160v736H160V192h160v64h384zm-320 0V96h256v96z"})]))}}),failed_default=failed_vue_vue_type_script_setup_true_lang_default,female_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Female",__name:"female",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 640a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),createBaseVNode("path",{fill:"currentColor",d:"M512 640q32 0 32 32v256q0 32-32 32t-32-32V672q0-32 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M352 800h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32"})]))}}),female_default=female_vue_vue_type_script_setup_true_lang_default,files_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Files",__name:"files",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 384v448h768V384zm-32-64h832a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32m64-128h704v64H160zm96-128h512v64H256z"})]))}}),files_default=files_vue_vue_type_script_setup_true_lang_default,film_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Film",__name:"film",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M320 288V128h64v352h256V128h64v160h160v64H704v128h160v64H704v128h160v64H704v160h-64V544H384v352h-64V736H128v-64h192V544H128v-64h192V352H128v-64z"})]))}}),film_default=film_vue_vue_type_script_setup_true_lang_default,filter_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Filter",__name:"filter",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 523.392V928a32 32 0 0 0 46.336 28.608l192-96A32 32 0 0 0 640 832V523.392l280.768-343.104a32 32 0 1 0-49.536-40.576l-288 352A32 32 0 0 0 576 512v300.224l-128 64V512a32 32 0 0 0-7.232-20.288L195.52 192H704a32 32 0 1 0 0-64H128a32 32 0 0 0-24.768 52.288z"})]))}}),filter_default=filter_vue_vue_type_script_setup_true_lang_default,finished_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Finished",__name:"finished",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M280.768 753.728 691.456 167.04a32 32 0 1 1 52.416 36.672L314.24 817.472a32 32 0 0 1-45.44 7.296l-230.4-172.8a32 32 0 0 1 38.4-51.2l203.968 152.96zM736 448a32 32 0 1 1 0-64h192a32 32 0 1 1 0 64zM608 640a32 32 0 0 1 0-64h319.936a32 32 0 1 1 0 64zM480 832a32 32 0 1 1 0-64h447.936a32 32 0 1 1 0 64z"})]))}}),finished_default=finished_vue_vue_type_script_setup_true_lang_default,first_aid_kit_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"FirstAidKit",__name:"first-aid-kit",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M192 256a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V320a64 64 0 0 0-64-64zm0-64h640a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H192A128 128 0 0 1 64 768V320a128 128 0 0 1 128-128"}),createBaseVNode("path",{fill:"currentColor",d:"M544 512h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96v-96a32 32 0 0 1 64 0zM352 128v64h320v-64zm-32-64h384a32 32 0 0 1 32 32v128a32 32 0 0 1-32 32H320a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"})]))}}),first_aid_kit_default=first_aid_kit_vue_vue_type_script_setup_true_lang_default,flag_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Flag",__name:"flag",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M288 128h608L736 384l160 256H288v320h-96V64h96z"})]))}}),flag_default=flag_vue_vue_type_script_setup_true_lang_default,fold_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Fold",__name:"fold",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M896 192H128v128h768zm0 256H384v128h512zm0 256H128v128h768zM320 384 128 512l192 128z"})]))}}),fold_default=fold_vue_vue_type_script_setup_true_lang_default,folder_add_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"FolderAdd",__name:"folder-add",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m384 416V416h64v128h128v64H544v128h-64V608H352v-64z"})]))}}),folder_add_default=folder_add_vue_vue_type_script_setup_true_lang_default,folder_checked_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"FolderChecked",__name:"folder-checked",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m414.08 502.144 180.992-180.992L736.32 494.4 510.08 720.64l-158.4-158.336 45.248-45.312z"})]))}}),folder_checked_default=folder_checked_vue_vue_type_script_setup_true_lang_default,folder_delete_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"FolderDelete",__name:"folder-delete",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m370.752 448-90.496-90.496 45.248-45.248L512 530.752l90.496-90.496 45.248 45.248L557.248 576l90.496 90.496-45.248 45.248L512 621.248l-90.496 90.496-45.248-45.248z"})]))}}),folder_delete_default=folder_delete_vue_vue_type_script_setup_true_lang_default,folder_opened_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"FolderOpened",__name:"folder-opened",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M878.08 448H241.92l-96 384h636.16l96-384zM832 384v-64H485.76L357.504 192H128v448l57.92-231.744A32 32 0 0 1 216.96 384zm-24.96 512H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h287.872l128.384 128H864a32 32 0 0 1 32 32v96h23.04a32 32 0 0 1 31.04 39.744l-112 448A32 32 0 0 1 807.04 896"})]))}}),folder_opened_default=folder_opened_vue_vue_type_script_setup_true_lang_default,folder_remove_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"FolderRemove",__name:"folder-remove",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m256 416h320v64H352z"})]))}}),folder_remove_default=folder_remove_vue_vue_type_script_setup_true_lang_default,folder_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Folder",__name:"folder",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32"})]))}}),folder_default=folder_vue_vue_type_script_setup_true_lang_default,food_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Food",__name:"food",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 352.576V352a288 288 0 0 1 491.072-204.224 192 192 0 0 1 274.24 204.48 64 64 0 0 1 57.216 74.24C921.6 600.512 850.048 710.656 736 756.992V800a96 96 0 0 1-96 96H384a96 96 0 0 1-96-96v-43.008c-114.048-46.336-185.6-156.48-214.528-330.496A64 64 0 0 1 128 352.64zm64-.576h64a160 160 0 0 1 320 0h64a224 224 0 0 0-448 0m128 0h192a96 96 0 0 0-192 0m439.424 0h68.544A128.256 128.256 0 0 0 704 192c-15.36 0-29.952 2.688-43.52 7.616 11.328 18.176 20.672 37.76 27.84 58.304A64.128 64.128 0 0 1 759.424 352M672 768H352v32a32 32 0 0 0 32 32h256a32 32 0 0 0 32-32zm-342.528-64h365.056c101.504-32.64 165.76-124.928 192.896-288H136.576c27.136 163.072 91.392 255.36 192.896 288"})]))}}),food_default=food_vue_vue_type_script_setup_true_lang_default,football_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Football",__name:"football",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896m0-64a384 384 0 1 0 0-768 384 384 0 0 0 0 768"}),createBaseVNode("path",{fill:"currentColor",d:"M186.816 268.288c16-16.384 31.616-31.744 46.976-46.08 17.472 30.656 39.808 58.112 65.984 81.28l-32.512 56.448a385.984 385.984 0 0 1-80.448-91.648zm653.696-5.312a385.92 385.92 0 0 1-83.776 96.96l-32.512-56.384a322.923 322.923 0 0 0 68.48-85.76c15.552 14.08 31.488 29.12 47.808 45.184zM465.984 445.248l11.136-63.104a323.584 323.584 0 0 0 69.76 0l11.136 63.104a387.968 387.968 0 0 1-92.032 0m-62.72-12.8A381.824 381.824 0 0 1 320 396.544l32-55.424a319.885 319.885 0 0 0 62.464 27.712l-11.2 63.488zm300.8-35.84a381.824 381.824 0 0 1-83.328 35.84l-11.2-63.552A319.885 319.885 0 0 0 672 341.184l32 55.424zm-520.768 364.8a385.92 385.92 0 0 1 83.968-97.28l32.512 56.32c-26.88 23.936-49.856 52.352-67.52 84.032-16-13.44-32.32-27.712-48.96-43.072zm657.536.128a1442.759 1442.759 0 0 1-49.024 43.072 321.408 321.408 0 0 0-67.584-84.16l32.512-56.32c33.216 27.456 61.696 60.352 84.096 97.408zM465.92 578.752a387.968 387.968 0 0 1 92.032 0l-11.136 63.104a323.584 323.584 0 0 0-69.76 0zm-62.72 12.8 11.2 63.552a319.885 319.885 0 0 0-62.464 27.712L320 627.392a381.824 381.824 0 0 1 83.264-35.84zm300.8 35.84-32 55.424a318.272 318.272 0 0 0-62.528-27.712l11.2-63.488c29.44 8.64 57.28 20.736 83.264 35.776z"})]))}}),football_default=football_vue_vue_type_script_setup_true_lang_default,fork_spoon_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ForkSpoon",__name:"fork-spoon",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 410.304V96a32 32 0 0 1 64 0v314.304a96 96 0 0 0 64-90.56V96a32 32 0 0 1 64 0v223.744a160 160 0 0 1-128 156.8V928a32 32 0 1 1-64 0V476.544a160 160 0 0 1-128-156.8V96a32 32 0 0 1 64 0v223.744a96 96 0 0 0 64 90.56zM672 572.48C581.184 552.128 512 446.848 512 320c0-141.44 85.952-256 192-256s192 114.56 192 256c0 126.848-69.184 232.128-160 252.48V928a32 32 0 1 1-64 0zM704 512c66.048 0 128-82.56 128-192s-61.952-192-128-192-128 82.56-128 192 61.952 192 128 192"})]))}}),fork_spoon_default=fork_spoon_vue_vue_type_script_setup_true_lang_default,fries_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Fries",__name:"fries",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M608 224v-64a32 32 0 0 0-64 0v336h26.88A64 64 0 0 0 608 484.096zm101.12 160A64 64 0 0 0 672 395.904V384h64V224a32 32 0 1 0-64 0v160zm74.88 0a92.928 92.928 0 0 1 91.328 110.08l-60.672 323.584A96 96 0 0 1 720.32 896H303.68a96 96 0 0 1-94.336-78.336L148.672 494.08A92.928 92.928 0 0 1 240 384h-16V224a96 96 0 0 1 188.608-25.28A95.744 95.744 0 0 1 480 197.44V160a96 96 0 0 1 188.608-25.28A96 96 0 0 1 800 224v160zM670.784 512a128 128 0 0 1-99.904 48H453.12a128 128 0 0 1-99.84-48H352v-1.536a128.128 128.128 0 0 1-9.984-14.976L314.88 448H240a28.928 28.928 0 0 0-28.48 34.304L241.088 640h541.824l29.568-157.696A28.928 28.928 0 0 0 784 448h-74.88l-27.136 47.488A132.405 132.405 0 0 1 672 510.464V512zM480 288a32 32 0 0 0-64 0v196.096A64 64 0 0 0 453.12 496H480zm-128 96V224a32 32 0 0 0-64 0v160zh-37.12A64 64 0 0 1 352 395.904zm-98.88 320 19.072 101.888A32 32 0 0 0 303.68 832h416.64a32 32 0 0 0 31.488-26.112L770.88 704z"})]))}}),fries_default=fries_vue_vue_type_script_setup_true_lang_default,full_screen_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"FullScreen",__name:"full-screen",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64l192-.192zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"})]))}}),full_screen_default=full_screen_vue_vue_type_script_setup_true_lang_default,goblet_full_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"GobletFull",__name:"goblet-full",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 320h512c0-78.592-12.608-142.4-36.928-192h-434.24C269.504 192.384 256 256.256 256 320m503.936 64H264.064a256.128 256.128 0 0 0 495.872 0zM544 638.4V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.4A320 320 0 0 1 192 320c0-85.632 21.312-170.944 64-256h512c42.688 64.32 64 149.632 64 256a320 320 0 0 1-288 318.4"})]))}}),goblet_full_default=goblet_full_vue_vue_type_script_setup_true_lang_default,goblet_square_full_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"GobletSquareFull",__name:"goblet-square-full",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 270.912c10.048 6.72 22.464 14.912 28.992 18.624a220.16 220.16 0 0 0 114.752 30.72c30.592 0 49.408-9.472 91.072-41.152l.64-.448c52.928-40.32 82.368-55.04 132.288-54.656 55.552.448 99.584 20.8 142.72 57.408l1.536 1.28V128H256v142.912zm.96 76.288C266.368 482.176 346.88 575.872 512 576c157.44.064 237.952-85.056 253.248-209.984a952.32 952.32 0 0 1-40.192-35.712c-32.704-27.776-63.36-41.92-101.888-42.24-31.552-.256-50.624 9.28-93.12 41.6l-.576.448c-52.096 39.616-81.024 54.208-129.792 54.208-54.784 0-100.48-13.376-142.784-37.056zM480 638.848C250.624 623.424 192 442.496 192 319.68V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v224c0 122.816-58.624 303.68-288 318.912V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96z"})]))}}),goblet_square_full_default=goblet_square_full_vue_vue_type_script_setup_true_lang_default,goblet_square_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"GobletSquare",__name:"goblet-square",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M544 638.912V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.848C250.624 623.424 192 442.496 192 319.68V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v224c0 122.816-58.624 303.68-288 318.912M256 319.68c0 149.568 80 256.192 256 256.256C688.128 576 768 469.568 768 320V128H256z"})]))}}),goblet_square_default=goblet_square_vue_vue_type_script_setup_true_lang_default,goblet_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Goblet",__name:"goblet",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M544 638.4V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.4A320 320 0 0 1 192 320c0-85.632 21.312-170.944 64-256h512c42.688 64.32 64 149.632 64 256a320 320 0 0 1-288 318.4M256 320a256 256 0 1 0 512 0c0-78.592-12.608-142.4-36.928-192h-434.24C269.504 192.384 256 256.256 256 320"})]))}}),goblet_default=goblet_vue_vue_type_script_setup_true_lang_default,gold_medal_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"GoldMedal",__name:"gold-medal",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m772.13 452.84 53.86-351.81c1.32-10.01-1.17-18.68-7.49-26.02S804.35 64 795.01 64H228.99v-.01h-.06c-9.33 0-17.15 3.67-23.49 11.01s-8.83 16.01-7.49 26.02l53.87 351.89C213.54 505.73 193.59 568.09 192 640c2 90.67 33.17 166.17 93.5 226.5S421.33 957.99 512 960c90.67-2 166.17-33.17 226.5-93.5 60.33-60.34 91.49-135.83 93.5-226.5-1.59-71.94-21.56-134.32-59.87-187.16zM640.01 128h117.02l-39.01 254.02c-20.75-10.64-40.74-19.73-59.94-27.28-5.92-3-11.95-5.8-18.08-8.41V128h.01zM576 128v198.76c-13.18-2.58-26.74-4.43-40.67-5.55-8.07-.8-15.85-1.2-23.33-1.2-10.54 0-21.09.66-31.64 1.96a359.844 359.844 0 0 0-32.36 4.79V128zm-192 0h.04v218.3c-6.22 2.66-12.34 5.5-18.36 8.56-19.13 7.54-39.02 16.6-59.66 27.16L267.01 128zm308.99 692.99c-48 48-108.33 73-180.99 75.01-72.66-2.01-132.99-27.01-180.99-75.01S258.01 712.66 256 640c2.01-72.66 27.01-132.99 75.01-180.99 19.67-19.67 41.41-35.47 65.22-47.41 38.33-15.04 71.15-23.92 98.44-26.65 5.07-.41 10.2-.7 15.39-.88.63-.01 1.28-.03 1.91-.03.66 0 1.35.03 2.02.04 5.11.17 10.15.46 15.13.86 27.4 2.71 60.37 11.65 98.91 26.79 23.71 11.93 45.36 27.69 64.96 47.29 48 48 73 108.33 75.01 180.99-2.01 72.65-27.01 132.98-75.01 180.98z"}),createBaseVNode("path",{fill:"currentColor",d:"M544 480H416v64h64v192h-64v64h192v-64h-64z"})]))}}),gold_medal_default=gold_medal_vue_vue_type_script_setup_true_lang_default,goods_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"GoodsFilled",__name:"goods-filled",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M192 352h640l64 544H128zm128 224h64V448h-64zm320 0h64V448h-64zM384 288h-64a192 192 0 1 1 384 0h-64a128 128 0 1 0-256 0"})]))}}),goods_filled_default=goods_filled_vue_vue_type_script_setup_true_lang_default,goods_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Goods",__name:"goods",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M320 288v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4h131.072a32 32 0 0 1 31.808 28.8l57.6 576a32 32 0 0 1-31.808 35.2H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320zm64 0h256v-22.336C640 189.248 582.272 128 512 128c-70.272 0-128 61.248-128 137.664v22.4zm-64 64H217.92l-51.2 512h690.56l-51.264-512H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0z"})]))}}),goods_default=goods_vue_vue_type_script_setup_true_lang_default,grape_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Grape",__name:"grape",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M544 195.2a160 160 0 0 1 96 60.8 160 160 0 1 1 146.24 254.976 160 160 0 0 1-128 224 160 160 0 1 1-292.48 0 160 160 0 0 1-128-224A160 160 0 1 1 384 256a160 160 0 0 1 96-60.8V128h-64a32 32 0 0 1 0-64h192a32 32 0 0 1 0 64h-64zM512 448a96 96 0 1 0 0-192 96 96 0 0 0 0 192m-256 0a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128 224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128 224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128-224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128-224a96 96 0 1 0 0-192 96 96 0 0 0 0 192"})]))}}),grape_default=grape_vue_vue_type_script_setup_true_lang_default,grid_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Grid",__name:"grid",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M640 384v256H384V384zm64 0h192v256H704zm-64 512H384V704h256zm64 0V704h192v192zm-64-768v192H384V128zm64 0h192v192H704zM320 384v256H128V384zm0 512H128V704h192zm0-768v192H128V128z"})]))}}),grid_default=grid_vue_vue_type_script_setup_true_lang_default,guide_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Guide",__name:"guide",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M640 608h-64V416h64zm0 160v160a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V768h64v128h128V768zM384 608V416h64v192zm256-352h-64V128H448v128h-64V96a32 32 0 0 1 32-32h192a32 32 0 0 1 32 32z"}),createBaseVNode("path",{fill:"currentColor",d:"m220.8 256-71.232 80 71.168 80H768V256H220.8zm-14.4-64H800a32 32 0 0 1 32 32v224a32 32 0 0 1-32 32H206.4a32 32 0 0 1-23.936-10.752l-99.584-112a32 32 0 0 1 0-42.496l99.584-112A32 32 0 0 1 206.4 192m678.784 496-71.104 80H266.816V608h547.2l71.168 80zm-56.768-144H234.88a32 32 0 0 0-32 32v224a32 32 0 0 0 32 32h593.6a32 32 0 0 0 23.936-10.752l99.584-112a32 32 0 0 0 0-42.496l-99.584-112A32 32 0 0 0 828.48 544z"})]))}}),guide_default=guide_vue_vue_type_script_setup_true_lang_default,handbag_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Handbag",__name:"handbag",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M887.01 264.99c-6-5.99-13.67-8.99-23.01-8.99H704c-1.34-54.68-20.01-100.01-56-136s-81.32-54.66-136-56c-54.68 1.34-100.01 20.01-136 56s-54.66 81.32-56 136H160c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.67-8.99 23.01v640c0 9.35 2.99 17.02 8.99 23.01S150.66 960 160 960h704c9.35 0 17.02-2.99 23.01-8.99S896 937.34 896 928V288c0-9.35-2.99-17.02-8.99-23.01M421.5 165.5c24.32-24.34 54.49-36.84 90.5-37.5 35.99.68 66.16 13.18 90.5 37.5s36.84 54.49 37.5 90.5H384c.68-35.99 13.18-66.16 37.5-90.5M832 896H192V320h128v128h64V320h256v128h64V320h128z"})]))}}),handbag_default=handbag_vue_vue_type_script_setup_true_lang_default,headset_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Headset",__name:"headset",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M896 529.152V512a384 384 0 1 0-768 0v17.152A128 128 0 0 1 320 640v128a128 128 0 1 1-256 0V512a448 448 0 1 1 896 0v256a128 128 0 1 1-256 0V640a128 128 0 0 1 192-110.848M896 640a64 64 0 0 0-128 0v128a64 64 0 0 0 128 0zm-768 0v128a64 64 0 0 0 128 0V640a64 64 0 1 0-128 0"})]))}}),headset_default=headset_vue_vue_type_script_setup_true_lang_default,help_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"HelpFilled",__name:"help-filled",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M926.784 480H701.312A192.512 192.512 0 0 0 544 322.688V97.216A416.064 416.064 0 0 1 926.784 480m0 64A416.064 416.064 0 0 1 544 926.784V701.312A192.512 192.512 0 0 0 701.312 544zM97.28 544h225.472A192.512 192.512 0 0 0 480 701.312v225.472A416.064 416.064 0 0 1 97.216 544zm0-64A416.064 416.064 0 0 1 480 97.216v225.472A192.512 192.512 0 0 0 322.688 480H97.216z"})]))}}),help_filled_default=help_filled_vue_vue_type_script_setup_true_lang_default,help_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Help",__name:"help",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m759.936 805.248-90.944-91.008A254.912 254.912 0 0 1 512 768a254.912 254.912 0 0 1-156.992-53.76l-90.944 91.008A382.464 382.464 0 0 0 512 896c94.528 0 181.12-34.176 247.936-90.752m45.312-45.312A382.464 382.464 0 0 0 896 512c0-94.528-34.176-181.12-90.752-247.936l-91.008 90.944C747.904 398.4 768 452.864 768 512c0 59.136-20.096 113.6-53.76 156.992l91.008 90.944zm-45.312-541.184A382.464 382.464 0 0 0 512 128c-94.528 0-181.12 34.176-247.936 90.752l90.944 91.008A254.912 254.912 0 0 1 512 256c59.136 0 113.6 20.096 156.992 53.76l90.944-91.008zm-541.184 45.312A382.464 382.464 0 0 0 128 512c0 94.528 34.176 181.12 90.752 247.936l91.008-90.944A254.912 254.912 0 0 1 256 512c0-59.136 20.096-113.6 53.76-156.992zm417.28 394.496a194.56 194.56 0 0 0 22.528-22.528C686.912 602.56 704 559.232 704 512a191.232 191.232 0 0 0-67.968-146.56A191.296 191.296 0 0 0 512 320a191.232 191.232 0 0 0-146.56 67.968C337.088 421.44 320 464.768 320 512a191.232 191.232 0 0 0 67.968 146.56C421.44 686.912 464.768 704 512 704c47.296 0 90.56-17.088 124.032-45.44zM512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),help_default=help_vue_vue_type_script_setup_true_lang_default,hide_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Hide",__name:"hide",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z"}),createBaseVNode("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z"})]))}}),hide_default=hide_vue_vue_type_script_setup_true_lang_default,histogram_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Histogram",__name:"histogram",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M416 896V128h192v768zm-288 0V448h192v448zm576 0V320h192v576z"})]))}}),histogram_default=histogram_vue_vue_type_script_setup_true_lang_default,home_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"HomeFilled",__name:"home-filled",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 128 128 447.936V896h255.936V640H640v256h255.936V447.936z"})]))}}),home_filled_default=home_filled_vue_vue_type_script_setup_true_lang_default,hot_water_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"HotWater",__name:"hot-water",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M273.067 477.867h477.866V409.6H273.067zm0 68.266v51.2A187.733 187.733 0 0 0 460.8 785.067h102.4a187.733 187.733 0 0 0 187.733-187.734v-51.2H273.067zm-34.134-204.8h546.134a34.133 34.133 0 0 1 34.133 34.134v221.866a256 256 0 0 1-256 256H460.8a256 256 0 0 1-256-256V375.467a34.133 34.133 0 0 1 34.133-34.134zM512 34.133a34.133 34.133 0 0 1 34.133 34.134v170.666a34.133 34.133 0 0 1-68.266 0V68.267A34.133 34.133 0 0 1 512 34.133zM375.467 102.4a34.133 34.133 0 0 1 34.133 34.133v102.4a34.133 34.133 0 0 1-68.267 0v-102.4a34.133 34.133 0 0 1 34.134-34.133m273.066 0a34.133 34.133 0 0 1 34.134 34.133v102.4a34.133 34.133 0 1 1-68.267 0v-102.4a34.133 34.133 0 0 1 34.133-34.133M170.667 921.668h682.666a34.133 34.133 0 1 1 0 68.267H170.667a34.133 34.133 0 1 1 0-68.267z"})]))}}),hot_water_default=hot_water_vue_vue_type_script_setup_true_lang_default,house_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"House",__name:"house",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M192 413.952V896h640V413.952L512 147.328zM139.52 374.4l352-293.312a32 32 0 0 1 40.96 0l352 293.312A32 32 0 0 1 896 398.976V928a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V398.976a32 32 0 0 1 11.52-24.576"})]))}}),house_default=house_vue_vue_type_script_setup_true_lang_default,ice_cream_round_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"IceCreamRound",__name:"ice-cream-round",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m308.352 489.344 226.304 226.304a32 32 0 0 0 45.248 0L783.552 512A192 192 0 1 0 512 240.448L308.352 444.16a32 32 0 0 0 0 45.248zm135.744 226.304L308.352 851.392a96 96 0 0 1-135.744-135.744l135.744-135.744-45.248-45.248a96 96 0 0 1 0-135.808L466.752 195.2A256 256 0 0 1 828.8 557.248L625.152 760.96a96 96 0 0 1-135.808 0l-45.248-45.248zM398.848 670.4 353.6 625.152 217.856 760.896a32 32 0 0 0 45.248 45.248zm248.96-384.64a32 32 0 0 1 0 45.248L466.624 512a32 32 0 1 1-45.184-45.248l180.992-181.056a32 32 0 0 1 45.248 0zm90.496 90.496a32 32 0 0 1 0 45.248L557.248 602.496A32 32 0 1 1 512 557.248l180.992-180.992a32 32 0 0 1 45.312 0z"})]))}}),ice_cream_round_default=ice_cream_round_vue_vue_type_script_setup_true_lang_default,ice_cream_square_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"IceCreamSquare",__name:"ice-cream-square",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M416 640h256a32 32 0 0 0 32-32V160a32 32 0 0 0-32-32H352a32 32 0 0 0-32 32v448a32 32 0 0 0 32 32zm192 64v160a96 96 0 0 1-192 0V704h-64a96 96 0 0 1-96-96V160a96 96 0 0 1 96-96h320a96 96 0 0 1 96 96v448a96 96 0 0 1-96 96zm-64 0h-64v160a32 32 0 1 0 64 0z"})]))}}),ice_cream_square_default=ice_cream_square_vue_vue_type_script_setup_true_lang_default,ice_cream_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"IceCream",__name:"ice-cream",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128.64 448a208 208 0 0 1 193.536-191.552 224 224 0 0 1 445.248 15.488A208.128 208.128 0 0 1 894.784 448H896L548.8 983.68a32 32 0 0 1-53.248.704L128 448zm64.256 0h286.208a144 144 0 0 0-286.208 0zm351.36 0h286.272a144 144 0 0 0-286.272 0zm-294.848 64 271.808 396.608L778.24 512H249.408zM511.68 352.64a207.872 207.872 0 0 1 189.184-96.192 160 160 0 0 0-314.752 5.632c52.608 12.992 97.28 46.08 125.568 90.56"})]))}}),ice_cream_default=ice_cream_vue_vue_type_script_setup_true_lang_default,ice_drink_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"IceDrink",__name:"ice-drink",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 448v128h239.68l16.064-128zm-64 0H256.256l16.064 128H448zm64-255.36V384h247.744A256.128 256.128 0 0 0 512 192.64m-64 8.064A256.448 256.448 0 0 0 264.256 384H448zm64-72.064A320.128 320.128 0 0 1 825.472 384H896a32 32 0 1 1 0 64h-64v1.92l-56.96 454.016A64 64 0 0 1 711.552 960H312.448a64 64 0 0 1-63.488-56.064L192 449.92V448h-64a32 32 0 0 1 0-64h70.528A320.384 320.384 0 0 1 448 135.04V96a96 96 0 0 1 96-96h128a32 32 0 1 1 0 64H544a32 32 0 0 0-32 32zM743.68 640H280.32l32.128 256h399.104z"})]))}}),ice_drink_default=ice_drink_vue_vue_type_script_setup_true_lang_default,ice_tea_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"IceTea",__name:"ice-tea",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M197.696 259.648a320.128 320.128 0 0 1 628.608 0A96 96 0 0 1 896 352v64a96 96 0 0 1-71.616 92.864l-49.408 395.072A64 64 0 0 1 711.488 960H312.512a64 64 0 0 1-63.488-56.064l-49.408-395.072A96 96 0 0 1 128 416v-64a96 96 0 0 1 69.696-92.352M264.064 256h495.872a256.128 256.128 0 0 0-495.872 0m495.424 256H264.512l48 384h398.976zM224 448h576a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32H224a32 32 0 0 0-32 32v64a32 32 0 0 0 32 32m160 192h64v64h-64zm192 64h64v64h-64zm-128 64h64v64h-64zm64-192h64v64h-64z"})]))}}),ice_tea_default=ice_tea_vue_vue_type_script_setup_true_lang_default,info_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"InfoFilled",__name:"info-filled",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"})]))}}),info_filled_default=info_filled_vue_vue_type_script_setup_true_lang_default,iphone_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Iphone",__name:"iphone",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 768v96.064a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V768zm0-64h576V160a64 64 0 0 0-64-64H288a64 64 0 0 0-64 64zm32 288a96 96 0 0 1-96-96V128a96 96 0 0 1 96-96h512a96 96 0 0 1 96 96v768a96 96 0 0 1-96 96zm304-144a48 48 0 1 1-96 0 48 48 0 0 1 96 0"})]))}}),iphone_default=iphone_vue_vue_type_script_setup_true_lang_default,key_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Key",__name:"key",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M448 456.064V96a32 32 0 0 1 32-32.064L672 64a32 32 0 0 1 0 64H512v128h160a32 32 0 0 1 0 64H512v128a256 256 0 1 1-64 8.064M512 896a192 192 0 1 0 0-384 192 192 0 0 0 0 384"})]))}}),key_default=key_vue_vue_type_script_setup_true_lang_default,knife_fork_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"KnifeFork",__name:"knife-fork",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 410.56V96a32 32 0 0 1 64 0v314.56A96 96 0 0 0 384 320V96a32 32 0 0 1 64 0v224a160 160 0 0 1-128 156.8V928a32 32 0 1 1-64 0V476.8A160 160 0 0 1 128 320V96a32 32 0 0 1 64 0v224a96 96 0 0 0 64 90.56m384-250.24V544h126.72c-3.328-78.72-12.928-147.968-28.608-207.744-14.336-54.528-46.848-113.344-98.112-175.872zM640 608v320a32 32 0 1 1-64 0V64h64c85.312 89.472 138.688 174.848 160 256 21.312 81.152 32 177.152 32 288z"})]))}}),knife_fork_default=knife_fork_vue_vue_type_script_setup_true_lang_default,lightning_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Lightning",__name:"lightning",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M288 671.36v64.128A239.808 239.808 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 736 734.016v-64.768a192 192 0 0 0 3.328-377.92l-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 91.968 70.464 167.36 160.256 175.232z"}),createBaseVNode("path",{fill:"currentColor",d:"M416 736a32 32 0 0 1-27.776-47.872l128-224a32 32 0 1 1 55.552 31.744L471.168 672H608a32 32 0 0 1 27.776 47.872l-128 224a32 32 0 1 1-55.68-31.744L552.96 736z"})]))}}),lightning_default=lightning_vue_vue_type_script_setup_true_lang_default,link_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Link",__name:"link",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M715.648 625.152 670.4 579.904l90.496-90.56c75.008-74.944 85.12-186.368 22.656-248.896-62.528-62.464-173.952-52.352-248.96 22.656L444.16 353.6l-45.248-45.248 90.496-90.496c100.032-99.968 251.968-110.08 339.456-22.656 87.488 87.488 77.312 239.424-22.656 339.456l-90.496 90.496zm-90.496 90.496-90.496 90.496C434.624 906.112 282.688 916.224 195.2 828.8c-87.488-87.488-77.312-239.424 22.656-339.456l90.496-90.496 45.248 45.248-90.496 90.56c-75.008 74.944-85.12 186.368-22.656 248.896 62.528 62.464 173.952 52.352 248.96-22.656l90.496-90.496zm0-362.048 45.248 45.248L398.848 670.4 353.6 625.152z"})]))}}),link_default=link_vue_vue_type_script_setup_true_lang_default,list_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"List",__name:"list",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M704 192h160v736H160V192h160v64h384zM288 512h448v-64H288zm0 256h448v-64H288zm96-576V96h256v96z"})]))}}),list_default=list_vue_vue_type_script_setup_true_lang_default,loading_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Loading",__name:"loading",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"})]))}}),loading_default=loading_vue_vue_type_script_setup_true_lang_default,location_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"LocationFilled",__name:"location-filled",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 928c23.936 0 117.504-68.352 192.064-153.152C803.456 661.888 864 535.808 864 416c0-189.632-155.84-320-352-320S160 226.368 160 416c0 120.32 60.544 246.4 159.936 359.232C394.432 859.84 488 928 512 928m0-435.2a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 140.8a204.8 204.8 0 1 1 0-409.6 204.8 204.8 0 0 1 0 409.6"})]))}}),location_filled_default=location_filled_vue_vue_type_script_setup_true_lang_default,location_information_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"LocationInformation",__name:"location-information",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),createBaseVNode("path",{fill:"currentColor",d:"M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320"})]))}}),location_information_default=location_information_vue_vue_type_script_setup_true_lang_default,location_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Location",__name:"location",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),createBaseVNode("path",{fill:"currentColor",d:"M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320"})]))}}),location_default=location_vue_vue_type_script_setup_true_lang_default,lock_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Lock",__name:"lock",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96"}),createBaseVNode("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m192-160v-64a192 192 0 1 0-384 0v64zM512 64a256 256 0 0 1 256 256v128H256V320A256 256 0 0 1 512 64"})]))}}),lock_default=lock_vue_vue_type_script_setup_true_lang_default,lollipop_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Lollipop",__name:"lollipop",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M513.28 448a64 64 0 1 1 76.544 49.728A96 96 0 0 0 768 448h64a160 160 0 0 1-320 0zm-126.976-29.696a256 256 0 1 0 43.52-180.48A256 256 0 0 1 832 448h-64a192 192 0 0 0-381.696-29.696m105.664 249.472L285.696 874.048a96 96 0 0 1-135.68-135.744l206.208-206.272a320 320 0 1 1 135.744 135.744zm-54.464-36.032a321.92 321.92 0 0 1-45.248-45.248L195.2 783.552a32 32 0 1 0 45.248 45.248l197.056-197.12z"})]))}}),lollipop_default=lollipop_vue_vue_type_script_setup_true_lang_default,magic_stick_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"MagicStick",__name:"magic-stick",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64h64v192h-64zm0 576h64v192h-64zM160 480v-64h192v64zm576 0v-64h192v64zM249.856 199.04l45.248-45.184L430.848 289.6 385.6 334.848 249.856 199.104zM657.152 606.4l45.248-45.248 135.744 135.744-45.248 45.248zM114.048 923.2 68.8 877.952l316.8-316.8 45.248 45.248zM702.4 334.848 657.152 289.6l135.744-135.744 45.248 45.248z"})]))}}),magic_stick_default=magic_stick_vue_vue_type_script_setup_true_lang_default,magnet_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Magnet",__name:"magnet",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M832 320V192H704v320a192 192 0 1 1-384 0V192H192v128h128v64H192v128a320 320 0 0 0 640 0V384H704v-64zM640 512V128h256v384a384 384 0 1 1-768 0V128h256v384a128 128 0 1 0 256 0"})]))}}),magnet_default=magnet_vue_vue_type_script_setup_true_lang_default,male_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Male",__name:"male",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M399.5 849.5a225 225 0 1 0 0-450 225 225 0 0 0 0 450m0 56.25a281.25 281.25 0 1 1 0-562.5 281.25 281.25 0 0 1 0 562.5m253.125-787.5h225q28.125 0 28.125 28.125T877.625 174.5h-225q-28.125 0-28.125-28.125t28.125-28.125"}),createBaseVNode("path",{fill:"currentColor",d:"M877.625 118.25q28.125 0 28.125 28.125v225q0 28.125-28.125 28.125T849.5 371.375v-225q0-28.125 28.125-28.125"}),createBaseVNode("path",{fill:"currentColor",d:"M604.813 458.9 565.1 419.131l292.613-292.668 39.825 39.824z"})]))}}),male_default=male_vue_vue_type_script_setup_true_lang_default,management_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Management",__name:"management",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M576 128v288l96-96 96 96V128h128v768H320V128zm-448 0h128v768H128z"})]))}}),management_default=management_vue_vue_type_script_setup_true_lang_default,map_location_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"MapLocation",__name:"map-location",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),createBaseVNode("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256m345.6 192L960 960H672v-64H352v64H64l102.4-256zm-68.928 0H235.328l-76.8 192h706.944z"})]))}}),map_location_default=map_location_vue_vue_type_script_setup_true_lang_default,medal_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Medal",__name:"medal",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),createBaseVNode("path",{fill:"currentColor",d:"M576 128H448v200a286.72 286.72 0 0 1 64-8c19.52 0 40.832 2.688 64 8zm64 0v219.648c24.448 9.088 50.56 20.416 78.4 33.92L757.44 128zm-256 0H266.624l39.04 253.568c27.84-13.504 53.888-24.832 78.336-33.92V128zM229.312 64h565.376a32 32 0 0 1 31.616 36.864L768 480c-113.792-64-199.104-96-256-96-56.896 0-142.208 32-256 96l-58.304-379.136A32 32 0 0 1 229.312 64"})]))}}),medal_default=medal_vue_vue_type_script_setup_true_lang_default,memo_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Memo",__name:"memo",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M480 320h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32"}),createBaseVNode("path",{fill:"currentColor",d:"M887.01 72.99C881.01 67 873.34 64 864 64H160c-9.35 0-17.02 3-23.01 8.99C131 78.99 128 86.66 128 96v832c0 9.35 2.99 17.02 8.99 23.01S150.66 960 160 960h704c9.35 0 17.02-2.99 23.01-8.99S896 937.34 896 928V96c0-9.35-3-17.02-8.99-23.01M192 896V128h96v768zm640 0H352V128h480z"}),createBaseVNode("path",{fill:"currentColor",d:"M480 512h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32m0 192h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32"})]))}}),memo_default=memo_vue_vue_type_script_setup_true_lang_default,menu_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Menu",__name:"menu",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 448a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zM160 896a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32z"})]))}}),menu_default=menu_vue_vue_type_script_setup_true_lang_default,message_box_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"MessageBox",__name:"message-box",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M288 384h448v64H288zm96-128h256v64H384zM131.456 512H384v128h256V512h252.544L721.856 192H302.144zM896 576H704v128H320V576H128v256h768zM275.776 128h472.448a32 32 0 0 1 28.608 17.664l179.84 359.552A32 32 0 0 1 960 519.552V864a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V519.552a32 32 0 0 1 3.392-14.336l179.776-359.552A32 32 0 0 1 275.776 128z"})]))}}),message_box_default=message_box_vue_vue_type_script_setup_true_lang_default,message_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Message",__name:"message",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 224v512a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V224zm0-64h768a64 64 0 0 1 64 64v512a128 128 0 0 1-128 128H192A128 128 0 0 1 64 736V224a64 64 0 0 1 64-64"}),createBaseVNode("path",{fill:"currentColor",d:"M904 224 656.512 506.88a192 192 0 0 1-289.024 0L120 224zm-698.944 0 210.56 240.704a128 128 0 0 0 192.704 0L818.944 224H205.056"})]))}}),message_default=message_vue_vue_type_script_setup_true_lang_default,mic_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Mic",__name:"mic",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M480 704h160a64 64 0 0 0 64-64v-32h-96a32 32 0 0 1 0-64h96v-96h-96a32 32 0 0 1 0-64h96v-96h-96a32 32 0 0 1 0-64h96v-32a64 64 0 0 0-64-64H384a64 64 0 0 0-64 64v32h96a32 32 0 0 1 0 64h-96v96h96a32 32 0 0 1 0 64h-96v96h96a32 32 0 0 1 0 64h-96v32a64 64 0 0 0 64 64zm64 64v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768h-96a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64h256a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128z"})]))}}),mic_default=mic_vue_vue_type_script_setup_true_lang_default,microphone_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Microphone",__name:"microphone",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 128a128 128 0 0 0-128 128v256a128 128 0 1 0 256 0V256a128 128 0 0 0-128-128m0-64a192 192 0 0 1 192 192v256a192 192 0 1 1-384 0V256A192 192 0 0 1 512 64m-32 832v-64a288 288 0 0 1-288-288v-32a32 32 0 0 1 64 0v32a224 224 0 0 0 224 224h64a224 224 0 0 0 224-224v-32a32 32 0 1 1 64 0v32a288 288 0 0 1-288 288v64h64a32 32 0 1 1 0 64H416a32 32 0 1 1 0-64z"})]))}}),microphone_default=microphone_vue_vue_type_script_setup_true_lang_default,milk_tea_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"MilkTea",__name:"milk-tea",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M416 128V96a96 96 0 0 1 96-96h128a32 32 0 1 1 0 64H512a32 32 0 0 0-32 32v32h320a96 96 0 0 1 11.712 191.296l-39.68 581.056A64 64 0 0 1 708.224 960H315.776a64 64 0 0 1-63.872-59.648l-39.616-581.056A96 96 0 0 1 224 128zM276.48 320l39.296 576h392.448l4.8-70.784a224.064 224.064 0 0 1 30.016-439.808L747.52 320zM224 256h576a32 32 0 1 0 0-64H224a32 32 0 0 0 0 64m493.44 503.872 21.12-309.12a160 160 0 0 0-21.12 309.12"})]))}}),milk_tea_default=milk_tea_vue_vue_type_script_setup_true_lang_default,minus_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Minus",__name:"minus",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"})]))}}),minus_default=minus_vue_vue_type_script_setup_true_lang_default,money_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Money",__name:"money",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 640v192h640V384H768v-64h150.976c14.272 0 19.456 1.472 24.64 4.288a29.056 29.056 0 0 1 12.16 12.096c2.752 5.184 4.224 10.368 4.224 24.64v493.952c0 14.272-1.472 19.456-4.288 24.64a29.056 29.056 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H233.024c-14.272 0-19.456-1.472-24.64-4.288a29.056 29.056 0 0 1-12.16-12.096c-2.688-5.184-4.224-10.368-4.224-24.576V640z"}),createBaseVNode("path",{fill:"currentColor",d:"M768 192H128v448h640zm64-22.976v493.952c0 14.272-1.472 19.456-4.288 24.64a29.056 29.056 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H105.024c-14.272 0-19.456-1.472-24.64-4.288a29.056 29.056 0 0 1-12.16-12.096C65.536 682.432 64 677.248 64 663.04V169.024c0-14.272 1.472-19.456 4.288-24.64a29.056 29.056 0 0 1 12.096-12.16C85.568 129.536 90.752 128 104.96 128h685.952c14.272 0 19.456 1.472 24.64 4.288a29.056 29.056 0 0 1 12.16 12.096c2.752 5.184 4.224 10.368 4.224 24.64z"}),createBaseVNode("path",{fill:"currentColor",d:"M448 576a160 160 0 1 1 0-320 160 160 0 0 1 0 320m0-64a96 96 0 1 0 0-192 96 96 0 0 0 0 192"})]))}}),money_default=money_vue_vue_type_script_setup_true_lang_default,monitor_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Monitor",__name:"monitor",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M544 768v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768H192A128 128 0 0 1 64 640V256a128 128 0 0 1 128-128h640a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128zM192 192a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64z"})]))}}),monitor_default=monitor_vue_vue_type_script_setup_true_lang_default,moon_night_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"MoonNight",__name:"moon-night",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 512a448 448 0 0 1 215.872-383.296A384 384 0 0 0 213.76 640h188.8A448.256 448.256 0 0 1 384 512M171.136 704a448 448 0 0 1 636.992-575.296A384 384 0 0 0 499.328 704h-328.32z"}),createBaseVNode("path",{fill:"currentColor",d:"M32 640h960q32 0 32 32t-32 32H32q-32 0-32-32t32-32m128 128h384a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m160 127.68 224 .256a32 32 0 0 1 32 32V928a32 32 0 0 1-32 32l-224-.384a32 32 0 0 1-32-32v-.064a32 32 0 0 1 32-32z"})]))}}),moon_night_default=moon_night_vue_vue_type_script_setup_true_lang_default,moon_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Moon",__name:"moon",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M240.448 240.448a384 384 0 1 0 559.424 525.696 448 448 0 0 1-542.016-542.08 390.592 390.592 0 0 0-17.408 16.384zm181.056 362.048a384 384 0 0 0 525.632 16.384A448 448 0 1 1 405.056 76.8a384 384 0 0 0 16.448 525.696"})]))}}),moon_default=moon_vue_vue_type_script_setup_true_lang_default,more_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"MoreFilled",__name:"more-filled",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}}),more_filled_default=more_filled_vue_vue_type_script_setup_true_lang_default,more_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"More",__name:"more",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96"})]))}}),more_default=more_vue_vue_type_script_setup_true_lang_default,mostly_cloudy_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"MostlyCloudy",__name:"mostly-cloudy",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M737.216 357.952 704 349.824l-11.776-32a192.064 192.064 0 0 0-367.424 23.04l-8.96 39.04-39.04 8.96A192.064 192.064 0 0 0 320 768h368a207.808 207.808 0 0 0 207.808-208 208.32 208.32 0 0 0-158.592-202.048m15.168-62.208A272.32 272.32 0 0 1 959.744 560a271.808 271.808 0 0 1-271.552 272H320a256 256 0 0 1-57.536-505.536 256.128 256.128 0 0 1 489.92-30.72"})]))}}),mostly_cloudy_default=mostly_cloudy_vue_vue_type_script_setup_true_lang_default,mouse_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Mouse",__name:"mouse",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M438.144 256c-68.352 0-92.736 4.672-117.76 18.112-20.096 10.752-35.52 26.176-46.272 46.272C260.672 345.408 256 369.792 256 438.144v275.712c0 68.352 4.672 92.736 18.112 117.76 10.752 20.096 26.176 35.52 46.272 46.272C345.408 891.328 369.792 896 438.144 896h147.712c68.352 0 92.736-4.672 117.76-18.112 20.096-10.752 35.52-26.176 46.272-46.272C763.328 806.592 768 782.208 768 713.856V438.144c0-68.352-4.672-92.736-18.112-117.76a110.464 110.464 0 0 0-46.272-46.272C678.592 260.672 654.208 256 585.856 256zm0-64h147.712c85.568 0 116.608 8.96 147.904 25.6 31.36 16.768 55.872 41.344 72.576 72.64C823.104 321.536 832 352.576 832 438.08v275.84c0 85.504-8.96 116.544-25.6 147.84a174.464 174.464 0 0 1-72.64 72.576C702.464 951.104 671.424 960 585.92 960H438.08c-85.504 0-116.544-8.96-147.84-25.6a174.464 174.464 0 0 1-72.64-72.704c-16.768-31.296-25.664-62.336-25.664-147.84v-275.84c0-85.504 8.96-116.544 25.6-147.84a174.464 174.464 0 0 1 72.768-72.576c31.232-16.704 62.272-25.6 147.776-25.6z"}),createBaseVNode("path",{fill:"currentColor",d:"M512 320q32 0 32 32v128q0 32-32 32t-32-32V352q0-32 32-32m32-96a32 32 0 0 1-64 0v-64a32 32 0 0 0-32-32h-96a32 32 0 0 1 0-64h96a96 96 0 0 1 96 96z"})]))}}),mouse_default=mouse_vue_vue_type_script_setup_true_lang_default,mug_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Mug",__name:"mug",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M736 800V160H160v640a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64m64-544h63.552a96 96 0 0 1 96 96v224a96 96 0 0 1-96 96H800v128a128 128 0 0 1-128 128H224A128 128 0 0 1 96 800V128a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 64v288h63.552a32 32 0 0 0 32-32V352a32 32 0 0 0-32-32z"})]))}}),mug_default=mug_vue_vue_type_script_setup_true_lang_default,mute_notification_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"MuteNotification",__name:"mute-notification",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m241.216 832 63.616-64H768V448c0-42.368-10.24-82.304-28.48-117.504l46.912-47.232C815.36 331.392 832 387.84 832 448v320h96a32 32 0 1 1 0 64zm-90.24 0H96a32 32 0 1 1 0-64h96V448a320.128 320.128 0 0 1 256-313.6V128a64 64 0 1 1 128 0v6.4a319.552 319.552 0 0 1 171.648 97.088l-45.184 45.44A256 256 0 0 0 256 448v278.336L151.04 832zM448 896h128a64 64 0 0 1-128 0"}),createBaseVNode("path",{fill:"currentColor",d:"M150.72 859.072a32 32 0 0 1-45.44-45.056l704-708.544a32 32 0 0 1 45.44 45.056l-704 708.544z"})]))}}),mute_notification_default=mute_notification_vue_vue_type_script_setup_true_lang_default,mute_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Mute",__name:"mute",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m412.16 592.128-45.44 45.44A191.232 191.232 0 0 1 320 512V256a192 192 0 1 1 384 0v44.352l-64 64V256a128 128 0 1 0-256 0v256c0 30.336 10.56 58.24 28.16 80.128m51.968 38.592A128 128 0 0 0 640 512v-57.152l64-64V512a192 192 0 0 1-287.68 166.528zM314.88 779.968l46.144-46.08A222.976 222.976 0 0 0 480 768h64a224 224 0 0 0 224-224v-32a32 32 0 1 1 64 0v32a288 288 0 0 1-288 288v64h64a32 32 0 1 1 0 64H416a32 32 0 1 1 0-64h64v-64c-61.44 0-118.4-19.2-165.12-52.032M266.752 737.6A286.976 286.976 0 0 1 192 544v-32a32 32 0 0 1 64 0v32c0 56.832 21.184 108.8 56.064 148.288z"}),createBaseVNode("path",{fill:"currentColor",d:"M150.72 859.072a32 32 0 0 1-45.44-45.056l704-708.544a32 32 0 0 1 45.44 45.056l-704 708.544z"})]))}}),mute_default=mute_vue_vue_type_script_setup_true_lang_default,no_smoking_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"NoSmoking",__name:"no-smoking",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M440.256 576H256v128h56.256l-64 64H224a32 32 0 0 1-32-32V544a32 32 0 0 1 32-32h280.256zm143.488 128H704V583.744L775.744 512H928a32 32 0 0 1 32 32v192a32 32 0 0 1-32 32H519.744zM768 576v128h128V576zm-29.696-207.552 45.248 45.248-497.856 497.856-45.248-45.248zM256 64h64v320h-64zM128 192h64v192h-64zM64 512h64v256H64z"})]))}}),no_smoking_default=no_smoking_vue_vue_type_script_setup_true_lang_default,notebook_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Notebook",__name:"notebook",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M192 128v768h640V128zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M672 128h64v768h-64zM96 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32"})]))}}),notebook_default=notebook_vue_vue_type_script_setup_true_lang_default,notification_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Notification",__name:"notification",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 128v64H256a64 64 0 0 0-64 64v512a64 64 0 0 0 64 64h512a64 64 0 0 0 64-64V512h64v256a128 128 0 0 1-128 128H256a128 128 0 0 1-128-128V256a128 128 0 0 1 128-128z"}),createBaseVNode("path",{fill:"currentColor",d:"M768 384a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"})]))}}),notification_default=notification_vue_vue_type_script_setup_true_lang_default,odometer_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Odometer",__name:"odometer",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M192 512a320 320 0 1 1 640 0 32 32 0 1 1-64 0 256 256 0 1 0-512 0 32 32 0 0 1-64 0"}),createBaseVNode("path",{fill:"currentColor",d:"M570.432 627.84A96 96 0 1 1 509.568 608l60.992-187.776A32 32 0 1 1 631.424 440l-60.992 187.776zM502.08 734.464a32 32 0 1 0 19.84-60.928 32 32 0 0 0-19.84 60.928"})]))}}),odometer_default=odometer_vue_vue_type_script_setup_true_lang_default,office_building_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"OfficeBuilding",__name:"office-building",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M192 128v704h384V128zm-32-64h448a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M256 256h256v64H256zm0 192h256v64H256zm0 192h256v64H256zm384-128h128v64H640zm0 128h128v64H640zM64 832h896v64H64z"}),createBaseVNode("path",{fill:"currentColor",d:"M640 384v448h192V384zm-32-64h256a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H608a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32"})]))}}),office_building_default=office_building_vue_vue_type_script_setup_true_lang_default,open_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Open",__name:"open",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M329.956 257.138a254.862 254.862 0 0 0 0 509.724h364.088a254.862 254.862 0 0 0 0-509.724zm0-72.818h364.088a327.68 327.68 0 1 1 0 655.36H329.956a327.68 327.68 0 1 1 0-655.36z"}),createBaseVNode("path",{fill:"currentColor",d:"M694.044 621.227a109.227 109.227 0 1 0 0-218.454 109.227 109.227 0 0 0 0 218.454m0 72.817a182.044 182.044 0 1 1 0-364.088 182.044 182.044 0 0 1 0 364.088"})]))}}),open_default=open_vue_vue_type_script_setup_true_lang_default,operation_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Operation",__name:"operation",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M389.44 768a96.064 96.064 0 0 1 181.12 0H896v64H570.56a96.064 96.064 0 0 1-181.12 0H128v-64zm192-288a96.064 96.064 0 0 1 181.12 0H896v64H762.56a96.064 96.064 0 0 1-181.12 0H128v-64zm-320-288a96.064 96.064 0 0 1 181.12 0H896v64H442.56a96.064 96.064 0 0 1-181.12 0H128v-64z"})]))}}),operation_default=operation_vue_vue_type_script_setup_true_lang_default,opportunity_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Opportunity",__name:"opportunity",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 960v-64h192.064v64zm448-544a350.656 350.656 0 0 1-128.32 271.424C665.344 719.04 640 763.776 640 813.504V832H320v-14.336c0-48-19.392-95.36-57.216-124.992a351.552 351.552 0 0 1-128.448-344.256c25.344-136.448 133.888-248.128 269.76-276.48A352.384 352.384 0 0 1 832 416m-544 32c0-132.288 75.904-224 192-224v-64c-154.432 0-256 122.752-256 288z"})]))}}),opportunity_default=opportunity_vue_vue_type_script_setup_true_lang_default,orange_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Orange",__name:"orange",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M544 894.72a382.336 382.336 0 0 0 215.936-89.472L577.024 622.272c-10.24 6.016-21.248 10.688-33.024 13.696v258.688zm261.248-134.784A382.336 382.336 0 0 0 894.656 544H635.968c-3.008 11.776-7.68 22.848-13.696 33.024l182.976 182.912zM894.656 480a382.336 382.336 0 0 0-89.408-215.936L622.272 446.976c6.016 10.24 10.688 21.248 13.696 33.024h258.688zm-134.72-261.248A382.336 382.336 0 0 0 544 129.344v258.688c11.776 3.008 22.848 7.68 33.024 13.696zM480 129.344a382.336 382.336 0 0 0-215.936 89.408l182.912 182.976c10.24-6.016 21.248-10.688 33.024-13.696zm-261.248 134.72A382.336 382.336 0 0 0 129.344 480h258.688c3.008-11.776 7.68-22.848 13.696-33.024zM129.344 544a382.336 382.336 0 0 0 89.408 215.936l182.976-182.912A127.232 127.232 0 0 1 388.032 544zm134.72 261.248A382.336 382.336 0 0 0 480 894.656V635.968a127.232 127.232 0 0 1-33.024-13.696zM512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896m0-384a64 64 0 1 0 0-128 64 64 0 0 0 0 128"})]))}}),orange_default=orange_vue_vue_type_script_setup_true_lang_default,paperclip_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Paperclip",__name:"paperclip",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M602.496 240.448A192 192 0 1 1 874.048 512l-316.8 316.8A256 256 0 0 1 195.2 466.752L602.496 59.456l45.248 45.248L240.448 512A192 192 0 0 0 512 783.552l316.8-316.8a128 128 0 1 0-181.056-181.056L353.6 579.904a32 32 0 1 0 45.248 45.248l294.144-294.144 45.312 45.248L444.096 670.4a96 96 0 1 1-135.744-135.744l294.144-294.208z"})]))}}),paperclip_default=paperclip_vue_vue_type_script_setup_true_lang_default,partly_cloudy_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"PartlyCloudy",__name:"partly-cloudy",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M598.4 895.872H328.192a256 256 0 0 1-34.496-510.528A352 352 0 1 1 598.4 895.872m-271.36-64h272.256a288 288 0 1 0-248.512-417.664L335.04 445.44l-34.816 3.584a192 192 0 0 0 26.88 382.848z"}),createBaseVNode("path",{fill:"currentColor",d:"M139.84 501.888a256 256 0 1 1 417.856-277.12c-17.728 2.176-38.208 8.448-61.504 18.816A192 192 0 1 0 189.12 460.48a6003.84 6003.84 0 0 0-49.28 41.408z"})]))}}),partly_cloudy_default=partly_cloudy_vue_vue_type_script_setup_true_lang_default,pear_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Pear",__name:"pear",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M542.336 258.816a443.255 443.255 0 0 0-9.024 25.088 32 32 0 1 1-60.8-20.032l1.088-3.328a162.688 162.688 0 0 0-122.048 131.392l-17.088 102.72-20.736 15.36C256.192 552.704 224 610.88 224 672c0 120.576 126.4 224 288 224s288-103.424 288-224c0-61.12-32.192-119.296-89.728-161.92l-20.736-15.424-17.088-102.72a162.688 162.688 0 0 0-130.112-133.12zm-40.128-66.56c7.936-15.552 16.576-30.08 25.92-43.776 23.296-33.92 49.408-59.776 78.528-77.12a32 32 0 1 1 32.704 55.04c-20.544 12.224-40.064 31.552-58.432 58.304a316.608 316.608 0 0 0-9.792 15.104 226.688 226.688 0 0 1 164.48 181.568l12.8 77.248C819.456 511.36 864 587.392 864 672c0 159.04-157.568 288-352 288S160 831.04 160 672c0-84.608 44.608-160.64 115.584-213.376l12.8-77.248a226.624 226.624 0 0 1 213.76-189.184z"})]))}}),pear_default=pear_vue_vue_type_script_setup_true_lang_default,phone_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"PhoneFilled",__name:"phone-filled",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M199.232 125.568 90.624 379.008a32 32 0 0 0 6.784 35.2l512.384 512.384a32 32 0 0 0 35.2 6.784l253.44-108.608a32 32 0 0 0 10.048-52.032L769.6 633.92a32 32 0 0 0-36.928-5.952l-130.176 65.088-271.488-271.552 65.024-130.176a32 32 0 0 0-5.952-36.928L251.2 115.52a32 32 0 0 0-51.968 10.048z"})]))}}),phone_filled_default=phone_filled_vue_vue_type_script_setup_true_lang_default,phone_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Phone",__name:"phone",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M79.36 432.256 591.744 944.64a32 32 0 0 0 35.2 6.784l253.44-108.544a32 32 0 0 0 9.984-52.032l-153.856-153.92a32 32 0 0 0-36.928-6.016l-69.888 34.944L358.08 394.24l35.008-69.888a32 32 0 0 0-5.952-36.928L233.152 133.568a32 32 0 0 0-52.032 10.048L72.512 397.056a32 32 0 0 0 6.784 35.2zm60.48-29.952 81.536-190.08L325.568 316.48l-24.64 49.216-20.608 41.216 32.576 32.64 271.552 271.552 32.64 32.64 41.216-20.672 49.28-24.576 104.192 104.128-190.08 81.472L139.84 402.304zM512 320v-64a256 256 0 0 1 256 256h-64a192 192 0 0 0-192-192m0-192V64a448 448 0 0 1 448 448h-64a384 384 0 0 0-384-384"})]))}}),phone_default=phone_vue_vue_type_script_setup_true_lang_default,picture_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"PictureFilled",__name:"picture-filled",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M96 896a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h832a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32zm315.52-228.48-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112M256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384"})]))}}),picture_filled_default=picture_filled_vue_vue_type_script_setup_true_lang_default,picture_rounded_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"PictureRounded",__name:"picture-rounded",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 128a384 384 0 1 0 0 768 384 384 0 0 0 0-768m0-64a448 448 0 1 1 0 896 448 448 0 0 1 0-896"}),createBaseVNode("path",{fill:"currentColor",d:"M640 288q64 0 64 64t-64 64q-64 0-64-64t64-64M214.656 790.656l-45.312-45.312 185.664-185.6a96 96 0 0 1 123.712-10.24l138.24 98.688a32 32 0 0 0 39.872-2.176L906.688 422.4l42.624 47.744L699.52 693.696a96 96 0 0 1-119.808 6.592l-138.24-98.752a32 32 0 0 0-41.152 3.456l-185.664 185.6z"})]))}}),picture_rounded_default=picture_rounded_vue_vue_type_script_setup_true_lang_default,picture_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Picture",__name:"picture",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M384 288q64 0 64 64t-64 64q-64 0-64-64t64-64M185.408 876.992l-50.816-38.912L350.72 556.032a96 96 0 0 1 134.592-17.856l1.856 1.472 122.88 99.136a32 32 0 0 0 44.992-4.864l216-269.888 49.92 39.936-215.808 269.824-.256.32a96 96 0 0 1-135.04 14.464l-122.88-99.072-.64-.512a32 32 0 0 0-44.8 5.952z"})]))}}),picture_default=picture_vue_vue_type_script_setup_true_lang_default,pie_chart_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"PieChart",__name:"pie-chart",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M448 68.48v64.832A384.128 384.128 0 0 0 512 896a384.128 384.128 0 0 0 378.688-320h64.768A448.128 448.128 0 0 1 64 512 448.128 448.128 0 0 1 448 68.48z"}),createBaseVNode("path",{fill:"currentColor",d:"M576 97.28V448h350.72A384.064 384.064 0 0 0 576 97.28zM512 64V33.152A448 448 0 0 1 990.848 512H512z"})]))}}),pie_chart_default=pie_chart_vue_vue_type_script_setup_true_lang_default,place_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Place",__name:"place",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512"}),createBaseVNode("path",{fill:"currentColor",d:"M512 512a32 32 0 0 1 32 32v256a32 32 0 1 1-64 0V544a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M384 649.088v64.96C269.76 732.352 192 771.904 192 800c0 37.696 139.904 96 320 96s320-58.304 320-96c0-28.16-77.76-67.648-192-85.952v-64.96C789.12 671.04 896 730.368 896 800c0 88.32-171.904 160-384 160s-384-71.68-384-160c0-69.696 106.88-128.96 256-150.912"})]))}}),place_default=place_vue_vue_type_script_setup_true_lang_default,platform_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Platform",__name:"platform",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M448 832v-64h128v64h192v64H256v-64zM128 704V128h768v576z"})]))}}),platform_default=platform_vue_vue_type_script_setup_true_lang_default,plus_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Plus",__name:"plus",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"})]))}}),plus_default=plus_vue_vue_type_script_setup_true_lang_default,pointer_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Pointer",__name:"pointer",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M511.552 128c-35.584 0-64.384 28.8-64.384 64.448v516.48L274.048 570.88a94.272 94.272 0 0 0-112.896-3.456 44.416 44.416 0 0 0-8.96 62.208L332.8 870.4A64 64 0 0 0 384 896h512V575.232a64 64 0 0 0-45.632-61.312l-205.952-61.76A96 96 0 0 1 576 360.192V192.448C576 156.8 547.2 128 511.552 128M359.04 556.8l24.128 19.2V192.448a128.448 128.448 0 1 1 256.832 0v167.744a32 32 0 0 0 22.784 30.656l206.016 61.76A128 128 0 0 1 960 575.232V896a64 64 0 0 1-64 64H384a128 128 0 0 1-102.4-51.2L101.056 668.032A108.416 108.416 0 0 1 128 512.512a158.272 158.272 0 0 1 185.984 8.32z"})]))}}),pointer_default=pointer_vue_vue_type_script_setup_true_lang_default,position_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Position",__name:"position",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m249.6 417.088 319.744 43.072 39.168 310.272L845.12 178.88 249.6 417.088zm-129.024 47.168a32 32 0 0 1-7.68-61.44l777.792-311.04a32 32 0 0 1 41.6 41.6l-310.336 775.68a32 32 0 0 1-61.44-7.808L512 516.992l-391.424-52.736z"})]))}}),position_default=position_vue_vue_type_script_setup_true_lang_default,postcard_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Postcard",__name:"postcard",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 224a32 32 0 0 0-32 32v512a32 32 0 0 0 32 32h704a32 32 0 0 0 32-32V256a32 32 0 0 0-32-32zm0-64h704a96 96 0 0 1 96 96v512a96 96 0 0 1-96 96H160a96 96 0 0 1-96-96V256a96 96 0 0 1 96-96"}),createBaseVNode("path",{fill:"currentColor",d:"M704 320a64 64 0 1 1 0 128 64 64 0 0 1 0-128M288 448h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32m0 128h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),postcard_default=postcard_vue_vue_type_script_setup_true_lang_default,pouring_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Pouring",__name:"pouring",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m739.328 291.328-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 97.28 78.72 175.936 175.808 175.936h400a192 192 0 0 0 35.776-380.672zM959.552 480a256 256 0 0 1-256 256h-400A239.808 239.808 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 959.552 480M224 800a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32"})]))}}),pouring_default=pouring_vue_vue_type_script_setup_true_lang_default,present_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Present",__name:"present",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M480 896V640H192v-64h288V320H192v576zm64 0h288V320H544v256h288v64H544zM128 256h768v672a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32z"}),createBaseVNode("path",{fill:"currentColor",d:"M96 256h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M416 256a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),createBaseVNode("path",{fill:"currentColor",d:"M608 256a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),present_default=present_vue_vue_type_script_setup_true_lang_default,price_tag_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"PriceTag",__name:"price-tag",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 318.336V896h576V318.336L552.512 115.84a64 64 0 0 0-81.024 0zM593.024 66.304l259.2 212.096A32 32 0 0 1 864 303.168V928a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V303.168a32 32 0 0 1 11.712-24.768l259.2-212.096a128 128 0 0 1 162.112 0z"}),createBaseVNode("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),price_tag_default=price_tag_vue_vue_type_script_setup_true_lang_default,printer_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Printer",__name:"printer",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 768H105.024c-14.272 0-19.456-1.472-24.64-4.288a29.056 29.056 0 0 1-12.16-12.096C65.536 746.432 64 741.248 64 727.04V379.072c0-42.816 4.48-58.304 12.8-73.984 8.384-15.616 20.672-27.904 36.288-36.288 15.68-8.32 31.168-12.8 73.984-12.8H256V64h512v192h68.928c42.816 0 58.304 4.48 73.984 12.8 15.616 8.384 27.904 20.672 36.288 36.288 8.32 15.68 12.8 31.168 12.8 73.984v347.904c0 14.272-1.472 19.456-4.288 24.64a29.056 29.056 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H768v192H256zm64-192v320h384V576zm-64 128V512h512v192h128V379.072c0-29.376-1.408-36.48-5.248-43.776a23.296 23.296 0 0 0-10.048-10.048c-7.232-3.84-14.4-5.248-43.776-5.248H187.072c-29.376 0-36.48 1.408-43.776 5.248a23.296 23.296 0 0 0-10.048 10.048c-3.84 7.232-5.248 14.4-5.248 43.776V704zm64-448h384V128H320zm-64 128h64v64h-64zm128 0h64v64h-64z"})]))}}),printer_default=printer_vue_vue_type_script_setup_true_lang_default,promotion_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Promotion",__name:"promotion",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m64 448 832-320-128 704-446.08-243.328L832 192 242.816 545.472zm256 512V657.024L512 768z"})]))}}),promotion_default=promotion_vue_vue_type_script_setup_true_lang_default,quartz_watch_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"QuartzWatch",__name:"quartz-watch",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M422.02 602.01v-.03c-6.68-5.99-14.35-8.83-23.01-8.51-8.67.32-16.17 3.66-22.5 10.02-6.33 6.36-9.5 13.7-9.5 22.02s3 15.82 8.99 22.5c8.68 8.68 19.02 11.35 31.01 8s19.49-10.85 22.5-22.5c3.01-11.65.51-22.15-7.49-31.49zM384 512c0-9.35-3-17.02-8.99-23.01-6-5.99-13.66-8.99-23.01-8.99-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.66 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.67 8.99-23.01m6.53-82.49c11.65 3.01 22.15.51 31.49-7.49h.04c5.99-6.68 8.83-14.34 8.51-23.01-.32-8.67-3.66-16.16-10.02-22.5-6.36-6.33-13.7-9.5-22.02-9.5s-15.82 3-22.5 8.99c-8.68 8.69-11.35 19.02-8 31.01 3.35 11.99 10.85 19.49 22.5 22.5zm242.94 0c11.67-3.03 19.01-10.37 22.02-22.02 3.01-11.65.51-22.15-7.49-31.49h.01c-6.68-5.99-14.18-8.99-22.5-8.99s-15.66 3.16-22.02 9.5c-6.36 6.34-9.7 13.84-10.02 22.5-.32 8.66 2.52 16.33 8.51 23.01 9.32 8.02 19.82 10.52 31.49 7.49M512 640c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.67 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.66 8.99-23.01s-3-17.02-8.99-23.01c-6-5.99-13.66-8.99-23.01-8.99m183.01-151.01c-6-5.99-13.66-8.99-23.01-8.99s-17.02 3-23.01 8.99c-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.66 8.99 23.01 8.99s17.02-3 23.01-8.99c5.99-6 8.99-13.67 8.99-23.01 0-9.35-3-17.02-8.99-23.01"}),createBaseVNode("path",{fill:"currentColor",d:"M832 512c-2-90.67-33.17-166.17-93.5-226.5-20.43-20.42-42.6-37.49-66.5-51.23V64H352v170.26c-23.9 13.74-46.07 30.81-66.5 51.24-60.33 60.33-91.49 135.83-93.5 226.5 2 90.67 33.17 166.17 93.5 226.5 20.43 20.43 42.6 37.5 66.5 51.24V960h320V789.74c23.9-13.74 46.07-30.81 66.5-51.24 60.33-60.34 91.49-135.83 93.5-226.5M416 128h192v78.69c-29.85-9.03-61.85-13.93-96-14.69-34.15.75-66.15 5.65-96 14.68zm192 768H416v-78.68c29.85 9.03 61.85 13.93 96 14.68 34.15-.75 66.15-5.65 96-14.68zm-96-128c-72.66-2.01-132.99-27.01-180.99-75.01S258.01 584.66 256 512c2.01-72.66 27.01-132.99 75.01-180.99S439.34 258.01 512 256c72.66 2.01 132.99 27.01 180.99 75.01S765.99 439.34 768 512c-2.01 72.66-27.01 132.99-75.01 180.99S584.66 765.99 512 768"}),createBaseVNode("path",{fill:"currentColor",d:"M512 320c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01 0 9.35 3 17.02 8.99 23.01 6 5.99 13.67 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.66 8.99-23.01 0-9.35-3-17.02-8.99-23.01-6-5.99-13.66-8.99-23.01-8.99m112.99 273.5c-8.66-.32-16.33 2.52-23.01 8.51-7.98 9.32-10.48 19.82-7.49 31.49s10.49 19.17 22.5 22.5 22.35.66 31.01-8v.04c5.99-6.68 8.99-14.18 8.99-22.5s-3.16-15.66-9.5-22.02-13.84-9.7-22.5-10.02"})]))}}),quartz_watch_default=quartz_watch_vue_vue_type_script_setup_true_lang_default,question_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"QuestionFilled",__name:"question-filled",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592 0-42.944-14.08-76.736-42.24-101.376-28.16-25.344-65.472-37.312-111.232-37.312zm-12.672 406.208a54.272 54.272 0 0 0-38.72 14.784 49.408 49.408 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.848 54.848 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.968 51.968 0 0 0-15.488-38.016 55.936 55.936 0 0 0-39.424-14.784z"})]))}}),question_filled_default=question_filled_vue_vue_type_script_setup_true_lang_default,rank_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Rank",__name:"rank",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m186.496 544 41.408 41.344a32 32 0 1 1-45.248 45.312l-96-96a32 32 0 0 1 0-45.312l96-96a32 32 0 1 1 45.248 45.312L186.496 480h290.816V186.432l-41.472 41.472a32 32 0 1 1-45.248-45.184l96-96.128a32 32 0 0 1 45.312 0l96 96.064a32 32 0 0 1-45.248 45.184l-41.344-41.28V480H832l-41.344-41.344a32 32 0 0 1 45.248-45.312l96 96a32 32 0 0 1 0 45.312l-96 96a32 32 0 0 1-45.248-45.312L832 544H541.312v293.44l41.344-41.28a32 32 0 1 1 45.248 45.248l-96 96a32 32 0 0 1-45.312 0l-96-96a32 32 0 1 1 45.312-45.248l41.408 41.408V544H186.496z"})]))}}),rank_default=rank_vue_vue_type_script_setup_true_lang_default,reading_lamp_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ReadingLamp",__name:"reading-lamp",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M352 896h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m-44.672-768-99.52 448h608.384l-99.52-448zm-25.6-64h460.608a32 32 0 0 1 31.232 25.088l113.792 512A32 32 0 0 1 856.128 640H167.872a32 32 0 0 1-31.232-38.912l113.792-512A32 32 0 0 1 281.664 64z"}),createBaseVNode("path",{fill:"currentColor",d:"M672 576q32 0 32 32v128q0 32-32 32t-32-32V608q0-32 32-32m-192-.064h64V960h-64z"})]))}}),reading_lamp_default=reading_lamp_vue_vue_type_script_setup_true_lang_default,reading_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Reading",__name:"reading",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m512 863.36 384-54.848v-638.72L525.568 222.72a96 96 0 0 1-27.136 0L128 169.792v638.72zM137.024 106.432l370.432 52.928a32 32 0 0 0 9.088 0l370.432-52.928A64 64 0 0 1 960 169.792v638.72a64 64 0 0 1-54.976 63.36l-388.48 55.488a32 32 0 0 1-9.088 0l-388.48-55.488A64 64 0 0 1 64 808.512v-638.72a64 64 0 0 1 73.024-63.36z"}),createBaseVNode("path",{fill:"currentColor",d:"M480 192h64v704h-64z"})]))}}),reading_default=reading_vue_vue_type_script_setup_true_lang_default,refresh_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"RefreshLeft",__name:"refresh-left",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"})]))}}),refresh_left_default=refresh_left_vue_vue_type_script_setup_true_lang_default,refresh_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"RefreshRight",__name:"refresh-right",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88z"})]))}}),refresh_right_default=refresh_right_vue_vue_type_script_setup_true_lang_default,refresh_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Refresh",__name:"refresh",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"})]))}}),refresh_default=refresh_vue_vue_type_script_setup_true_lang_default,refrigerator_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Refrigerator",__name:"refrigerator",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 448h512V160a32 32 0 0 0-32-32H288a32 32 0 0 0-32 32zm0 64v352a32 32 0 0 0 32 32h448a32 32 0 0 0 32-32V512zm32-448h448a96 96 0 0 1 96 96v704a96 96 0 0 1-96 96H288a96 96 0 0 1-96-96V160a96 96 0 0 1 96-96m32 224h64v96h-64zm0 288h64v96h-64z"})]))}}),refrigerator_default=refrigerator_vue_vue_type_script_setup_true_lang_default,remove_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"RemoveFilled",__name:"remove-filled",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896M288 512a38.4 38.4 0 0 0 38.4 38.4h371.2a38.4 38.4 0 0 0 0-76.8H326.4A38.4 38.4 0 0 0 288 512"})]))}}),remove_filled_default=remove_filled_vue_vue_type_script_setup_true_lang_default,remove_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Remove",__name:"remove",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"}),createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),remove_default=remove_vue_vue_type_script_setup_true_lang_default,right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Right",__name:"right",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M754.752 480H160a32 32 0 1 0 0 64h594.752L521.344 777.344a32 32 0 0 0 45.312 45.312l288-288a32 32 0 0 0 0-45.312l-288-288a32 32 0 1 0-45.312 45.312z"})]))}}),right_default=right_vue_vue_type_script_setup_true_lang_default,scale_to_original_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ScaleToOriginal",__name:"scale-to-original",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118zm-361.412 0a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118M512 361.412a30.118 30.118 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.118 30.118 0 0 0 512 361.412M512 512a30.118 30.118 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.118 30.118 0 0 0 512 512"})]))}}),scale_to_original_default=scale_to_original_vue_vue_type_script_setup_true_lang_default,school_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"School",__name:"school",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 128v704h576V128zm-32-64h640a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M64 832h896v64H64zm256-640h128v96H320z"}),createBaseVNode("path",{fill:"currentColor",d:"M384 832h256v-64a128 128 0 1 0-256 0zm128-256a192 192 0 0 1 192 192v128H320V768a192 192 0 0 1 192-192M320 384h128v96H320zm256-192h128v96H576zm0 192h128v96H576z"})]))}}),school_default=school_vue_vue_type_script_setup_true_lang_default,scissor_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Scissor",__name:"scissor",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m512.064 578.368-106.88 152.768a160 160 0 1 1-23.36-78.208L472.96 522.56 196.864 128.256a32 32 0 1 1 52.48-36.736l393.024 561.344a160 160 0 1 1-23.36 78.208l-106.88-152.704zm54.4-189.248 208.384-297.6a32 32 0 0 1 52.48 36.736l-221.76 316.672-39.04-55.808zm-376.32 425.856a96 96 0 1 0 110.144-157.248 96 96 0 0 0-110.08 157.248zm643.84 0a96 96 0 1 0-110.08-157.248 96 96 0 0 0 110.08 157.248"})]))}}),scissor_default=scissor_vue_vue_type_script_setup_true_lang_default,search_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Search",__name:"search",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"})]))}}),search_default=search_vue_vue_type_script_setup_true_lang_default,select_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Select",__name:"select",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M77.248 415.04a64 64 0 0 1 90.496 0l226.304 226.304L846.528 188.8a64 64 0 1 1 90.56 90.496l-543.04 543.04-316.8-316.8a64 64 0 0 1 0-90.496z"})]))}}),select_default=select_vue_vue_type_script_setup_true_lang_default,sell_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Sell",__name:"sell",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M704 288h131.072a32 32 0 0 1 31.808 28.8L886.4 512h-64.384l-16-160H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0v-96H217.92l-51.2 512H512v64H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4zm-64 0v-22.336C640 189.248 582.272 128 512 128c-70.272 0-128 61.248-128 137.664v22.4h256zm201.408 483.84L768 698.496V928a32 32 0 1 1-64 0V698.496l-73.344 73.344a32 32 0 1 1-45.248-45.248l128-128a32 32 0 0 1 45.248 0l128 128a32 32 0 1 1-45.248 45.248z"})]))}}),sell_default=sell_vue_vue_type_script_setup_true_lang_default,semi_select_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SemiSelect",__name:"semi-select",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 448h768q64 0 64 64t-64 64H128q-64 0-64-64t64-64"})]))}}),semi_select_default=semi_select_vue_vue_type_script_setup_true_lang_default,service_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Service",__name:"service",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M864 409.6a192 192 0 0 1-37.888 349.44A256.064 256.064 0 0 1 576 960h-96a32 32 0 1 1 0-64h96a192.064 192.064 0 0 0 181.12-128H736a32 32 0 0 1-32-32V416a32 32 0 0 1 32-32h32c10.368 0 20.544.832 30.528 2.432a288 288 0 0 0-573.056 0A193.235 193.235 0 0 1 256 384h32a32 32 0 0 1 32 32v320a32 32 0 0 1-32 32h-32a192 192 0 0 1-96-358.4 352 352 0 0 1 704 0M256 448a128 128 0 1 0 0 256zm640 128a128 128 0 0 0-128-128v256a128 128 0 0 0 128-128"})]))}}),service_default=service_vue_vue_type_script_setup_true_lang_default,set_up_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SetUp",__name:"set-up",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 160a64 64 0 0 0-64 64v576a64 64 0 0 0 64 64h576a64 64 0 0 0 64-64V224a64 64 0 0 0-64-64zm0-64h576a128 128 0 0 1 128 128v576a128 128 0 0 1-128 128H224A128 128 0 0 1 96 800V224A128 128 0 0 1 224 96"}),createBaseVNode("path",{fill:"currentColor",d:"M384 416a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),createBaseVNode("path",{fill:"currentColor",d:"M480 320h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32m160 416a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),createBaseVNode("path",{fill:"currentColor",d:"M288 640h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),set_up_default=set_up_vue_vue_type_script_setup_true_lang_default,setting_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Setting",__name:"setting",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M600.704 64a32 32 0 0 1 30.464 22.208l35.2 109.376c14.784 7.232 28.928 15.36 42.432 24.512l112.384-24.192a32 32 0 0 1 34.432 15.36L944.32 364.8a32 32 0 0 1-4.032 37.504l-77.12 85.12a357.12 357.12 0 0 1 0 49.024l77.12 85.248a32 32 0 0 1 4.032 37.504l-88.704 153.6a32 32 0 0 1-34.432 15.296L708.8 803.904c-13.44 9.088-27.648 17.28-42.368 24.512l-35.264 109.376A32 32 0 0 1 600.704 960H423.296a32 32 0 0 1-30.464-22.208L357.696 828.48a351.616 351.616 0 0 1-42.56-24.64l-112.32 24.256a32 32 0 0 1-34.432-15.36L79.68 659.2a32 32 0 0 1 4.032-37.504l77.12-85.248a357.12 357.12 0 0 1 0-48.896l-77.12-85.248A32 32 0 0 1 79.68 364.8l88.704-153.6a32 32 0 0 1 34.432-15.296l112.32 24.256c13.568-9.152 27.776-17.408 42.56-24.64l35.2-109.312A32 32 0 0 1 423.232 64H600.64zm-23.424 64H446.72l-36.352 113.088-24.512 11.968a294.113 294.113 0 0 0-34.816 20.096l-22.656 15.36-116.224-25.088-65.28 113.152 79.68 88.192-1.92 27.136a293.12 293.12 0 0 0 0 40.192l1.92 27.136-79.808 88.192 65.344 113.152 116.224-25.024 22.656 15.296a294.113 294.113 0 0 0 34.816 20.096l24.512 11.968L446.72 896h130.688l36.48-113.152 24.448-11.904a288.282 288.282 0 0 0 34.752-20.096l22.592-15.296 116.288 25.024 65.28-113.152-79.744-88.192 1.92-27.136a293.12 293.12 0 0 0 0-40.256l-1.92-27.136 79.808-88.128-65.344-113.152-116.288 24.96-22.592-15.232a287.616 287.616 0 0 0-34.752-20.096l-24.448-11.904L577.344 128zM512 320a192 192 0 1 1 0 384 192 192 0 0 1 0-384m0 64a128 128 0 1 0 0 256 128 128 0 0 0 0-256"})]))}}),setting_default=setting_vue_vue_type_script_setup_true_lang_default,share_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Share",__name:"share",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m679.872 348.8-301.76 188.608a127.808 127.808 0 0 1 5.12 52.16l279.936 104.96a128 128 0 1 1-22.464 59.904l-279.872-104.96a128 128 0 1 1-16.64-166.272l301.696-188.608a128 128 0 1 1 33.92 54.272z"})]))}}),share_default=share_vue_vue_type_script_setup_true_lang_default,ship_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Ship",__name:"ship",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 386.88V448h405.568a32 32 0 0 1 30.72 40.768l-76.48 267.968A192 192 0 0 1 687.168 896H336.832a192 192 0 0 1-184.64-139.264L75.648 488.768A32 32 0 0 1 106.368 448H448V117.888a32 32 0 0 1 47.36-28.096l13.888 7.616L512 96v2.88l231.68 126.4a32 32 0 0 1-2.048 57.216zm0-70.272 144.768-65.792L512 171.84zM512 512H148.864l18.24 64H856.96l18.24-64zM185.408 640l28.352 99.2A128 128 0 0 0 336.832 832h350.336a128 128 0 0 0 123.072-92.8l28.352-99.2H185.408"})]))}}),ship_default=ship_vue_vue_type_script_setup_true_lang_default,shop_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Shop",__name:"shop",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M704 704h64v192H256V704h64v64h384zm188.544-152.192C894.528 559.616 896 567.616 896 576a96 96 0 1 1-192 0 96 96 0 1 1-192 0 96 96 0 1 1-192 0 96 96 0 1 1-192 0c0-8.384 1.408-16.384 3.392-24.192L192 128h640z"})]))}}),shop_default=shop_vue_vue_type_script_setup_true_lang_default,shopping_bag_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ShoppingBag",__name:"shopping-bag",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M704 320v96a32 32 0 0 1-32 32h-32V320H384v128h-32a32 32 0 0 1-32-32v-96H192v576h640V320zm-384-64a192 192 0 1 1 384 0h160a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32zm64 0h256a128 128 0 1 0-256 0"}),createBaseVNode("path",{fill:"currentColor",d:"M192 704h640v64H192z"})]))}}),shopping_bag_default=shopping_bag_vue_vue_type_script_setup_true_lang_default,shopping_cart_full_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ShoppingCartFull",__name:"shopping-cart-full",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M432 928a48 48 0 1 1 0-96 48 48 0 0 1 0 96m320 0a48 48 0 1 1 0-96 48 48 0 0 1 0 96M96 128a32 32 0 0 1 0-64h160a32 32 0 0 1 31.36 25.728L320.64 256H928a32 32 0 0 1 31.296 38.72l-96 448A32 32 0 0 1 832 768H384a32 32 0 0 1-31.36-25.728L229.76 128zm314.24 576h395.904l82.304-384H333.44l76.8 384z"}),createBaseVNode("path",{fill:"currentColor",d:"M699.648 256 608 145.984 516.352 256h183.296zm-140.8-151.04a64 64 0 0 1 98.304 0L836.352 320H379.648l179.2-215.04"})]))}}),shopping_cart_full_default=shopping_cart_full_vue_vue_type_script_setup_true_lang_default,shopping_cart_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ShoppingCart",__name:"shopping-cart",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M432 928a48 48 0 1 1 0-96 48 48 0 0 1 0 96m320 0a48 48 0 1 1 0-96 48 48 0 0 1 0 96M96 128a32 32 0 0 1 0-64h160a32 32 0 0 1 31.36 25.728L320.64 256H928a32 32 0 0 1 31.296 38.72l-96 448A32 32 0 0 1 832 768H384a32 32 0 0 1-31.36-25.728L229.76 128zm314.24 576h395.904l82.304-384H333.44l76.8 384z"})]))}}),shopping_cart_default=shopping_cart_vue_vue_type_script_setup_true_lang_default,shopping_trolley_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ShoppingTrolley",__name:"shopping-trolley",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M368 833c-13.3 0-24.5 4.5-33.5 13.5S321 866.7 321 880s4.5 24.5 13.5 33.5 20.2 13.8 33.5 14.5c13.3-.7 24.5-5.5 33.5-14.5S415 893.3 415 880s-4.5-24.5-13.5-33.5S381.3 833 368 833m439-193c7.4 0 13.8-2.2 19.5-6.5S836 623.3 838 616l112-448c2-10-.2-19.2-6.5-27.5S929 128 919 128H96c-9.3 0-17 3-23 9s-9 13.7-9 23 3 17 9 23 13.7 9 23 9h96v576h672c9.3 0 17-3 23-9s9-13.7 9-23-3-17-9-23-13.7-9-23-9H256v-64zM256 192h622l-96 384H256zm432 641c-13.3 0-24.5 4.5-33.5 13.5S641 866.7 641 880s4.5 24.5 13.5 33.5 20.2 13.8 33.5 14.5c13.3-.7 24.5-5.5 33.5-14.5S735 893.3 735 880s-4.5-24.5-13.5-33.5S701.3 833 688 833"})]))}}),shopping_trolley_default=shopping_trolley_vue_vue_type_script_setup_true_lang_default,smoking_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Smoking",__name:"smoking",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 576v128h640V576zm-32-64h704a32 32 0 0 1 32 32v192a32 32 0 0 1-32 32H224a32 32 0 0 1-32-32V544a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M704 576h64v128h-64zM256 64h64v320h-64zM128 192h64v192h-64zM64 512h64v256H64z"})]))}}),smoking_default=smoking_vue_vue_type_script_setup_true_lang_default,soccer_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Soccer",__name:"soccer",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M418.496 871.04 152.256 604.8c-16.512 94.016-2.368 178.624 42.944 224 44.928 44.928 129.344 58.752 223.296 42.24m72.32-18.176a573.056 573.056 0 0 0 224.832-137.216 573.12 573.12 0 0 0 137.216-224.832L533.888 171.84a578.56 578.56 0 0 0-227.52 138.496A567.68 567.68 0 0 0 170.432 532.48l320.384 320.384zM871.04 418.496c16.512-93.952 2.688-178.368-42.24-223.296-44.544-44.544-128.704-58.048-222.592-41.536zM149.952 874.048c-112.96-112.96-88.832-408.96 111.168-608.96C461.056 65.152 760.96 36.928 874.048 149.952c113.024 113.024 86.784 411.008-113.152 610.944-199.936 199.936-497.92 226.112-610.944 113.152m452.544-497.792 22.656-22.656a32 32 0 0 1 45.248 45.248l-22.656 22.656 45.248 45.248A32 32 0 1 1 647.744 512l-45.248-45.248L557.248 512l45.248 45.248a32 32 0 1 1-45.248 45.248L512 557.248l-45.248 45.248L512 647.744a32 32 0 1 1-45.248 45.248l-45.248-45.248-22.656 22.656a32 32 0 1 1-45.248-45.248l22.656-22.656-45.248-45.248A32 32 0 1 1 376.256 512l45.248 45.248L466.752 512l-45.248-45.248a32 32 0 1 1 45.248-45.248L512 466.752l45.248-45.248L512 376.256a32 32 0 0 1 45.248-45.248l45.248 45.248z"})]))}}),soccer_default=soccer_vue_vue_type_script_setup_true_lang_default,sold_out_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SoldOut",__name:"sold-out",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M704 288h131.072a32 32 0 0 1 31.808 28.8L886.4 512h-64.384l-16-160H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0v-96H217.92l-51.2 512H512v64H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4zm-64 0v-22.336C640 189.248 582.272 128 512 128c-70.272 0-128 61.248-128 137.664v22.4h256zm201.408 476.16a32 32 0 1 1 45.248 45.184l-128 128a32 32 0 0 1-45.248 0l-128-128a32 32 0 1 1 45.248-45.248L704 837.504V608a32 32 0 1 1 64 0v229.504l73.408-73.408z"})]))}}),sold_out_default=sold_out_vue_vue_type_script_setup_true_lang_default,sort_down_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SortDown",__name:"sort-down",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M576 96v709.568L333.312 562.816A32 32 0 1 0 288 608l297.408 297.344A32 32 0 0 0 640 882.688V96a32 32 0 0 0-64 0"})]))}}),sort_down_default=sort_down_vue_vue_type_script_setup_true_lang_default,sort_up_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SortUp",__name:"sort-up",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 141.248V928a32 32 0 1 0 64 0V218.56l242.688 242.688A32 32 0 1 0 736 416L438.592 118.656A32 32 0 0 0 384 141.248"})]))}}),sort_up_default=sort_up_vue_vue_type_script_setup_true_lang_default,sort_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Sort",__name:"sort",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 96a32 32 0 0 1 64 0v786.752a32 32 0 0 1-54.592 22.656L95.936 608a32 32 0 0 1 0-45.312h.128a32 32 0 0 1 45.184 0L384 805.632zm192 45.248a32 32 0 0 1 54.592-22.592L928.064 416a32 32 0 0 1 0 45.312h-.128a32 32 0 0 1-45.184 0L640 218.496V928a32 32 0 1 1-64 0V141.248z"})]))}}),sort_default=sort_vue_vue_type_script_setup_true_lang_default,stamp_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Stamp",__name:"stamp",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M624 475.968V640h144a128 128 0 0 1 128 128H128a128 128 0 0 1 128-128h144V475.968a192 192 0 1 1 224 0M128 896v-64h768v64z"})]))}}),stamp_default=stamp_vue_vue_type_script_setup_true_lang_default,star_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"StarFilled",__name:"star-filled",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M283.84 867.84 512 747.776l228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72z"})]))}}),star_filled_default=star_filled_vue_vue_type_script_setup_true_lang_default,star_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Star",__name:"star",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m512 747.84 228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72zM313.6 924.48a70.4 70.4 0 0 1-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 126.208 0l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),star_default=star_vue_vue_type_script_setup_true_lang_default,stopwatch_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Stopwatch",__name:"stopwatch",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M672 234.88c-39.168 174.464-80 298.624-122.688 372.48-64 110.848-202.624 30.848-138.624-80C453.376 453.44 540.48 355.968 672 234.816z"})]))}}),stopwatch_default=stopwatch_vue_vue_type_script_setup_true_lang_default,success_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SuccessFilled",__name:"success-filled",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),success_filled_default=success_filled_vue_vue_type_script_setup_true_lang_default,sugar_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Sugar",__name:"sugar",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m801.728 349.184 4.48 4.48a128 128 0 0 1 0 180.992L534.656 806.144a128 128 0 0 1-181.056 0l-4.48-4.48-19.392 109.696a64 64 0 0 1-108.288 34.176L78.464 802.56a64 64 0 0 1 34.176-108.288l109.76-19.328-4.544-4.544a128 128 0 0 1 0-181.056l271.488-271.488a128 128 0 0 1 181.056 0l4.48 4.48 19.392-109.504a64 64 0 0 1 108.352-34.048l142.592 143.04a64 64 0 0 1-34.24 108.16l-109.248 19.2zm-548.8 198.72h447.168v2.24l60.8-60.8a63.808 63.808 0 0 0 18.752-44.416h-426.88l-89.664 89.728a64.064 64.064 0 0 0-10.24 13.248zm0 64c2.752 4.736 6.144 9.152 10.176 13.248l135.744 135.744a64 64 0 0 0 90.496 0L638.4 611.904zm490.048-230.976L625.152 263.104a64 64 0 0 0-90.496 0L416.768 380.928zM123.712 757.312l142.976 142.976 24.32-137.6a25.6 25.6 0 0 0-29.696-29.632l-137.6 24.256zm633.6-633.344-24.32 137.472a25.6 25.6 0 0 0 29.632 29.632l137.28-24.064-142.656-143.04z"})]))}}),sugar_default=sugar_vue_vue_type_script_setup_true_lang_default,suitcase_line_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SuitcaseLine",__name:"suitcase-line",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M922.5 229.5c-24.32-24.34-54.49-36.84-90.5-37.5H704v-64c-.68-17.98-7.02-32.98-19.01-44.99S658.01 64.66 640 64H384c-17.98.68-32.98 7.02-44.99 19.01S320.66 110 320 128v64H192c-35.99.68-66.16 13.18-90.5 37.5C77.16 253.82 64.66 283.99 64 320v448c.68 35.99 13.18 66.16 37.5 90.5s54.49 36.84 90.5 37.5h640c35.99-.68 66.16-13.18 90.5-37.5s36.84-54.49 37.5-90.5V320c-.68-35.99-13.18-66.16-37.5-90.5M384 128h256v64H384zM256 832h-64c-17.98-.68-32.98-7.02-44.99-19.01S128.66 786.01 128 768V448h128zm448 0H320V448h384zm192-64c-.68 17.98-7.02 32.98-19.01 44.99S850.01 831.34 832 832h-64V448h128zm0-384H128v-64c.69-17.98 7.02-32.98 19.01-44.99S173.99 256.66 192 256h640c17.98.69 32.98 7.02 44.99 19.01S895.34 301.99 896 320z"})]))}}),suitcase_line_default=suitcase_line_vue_vue_type_script_setup_true_lang_default,suitcase_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Suitcase",__name:"suitcase",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 384h768v-64a64 64 0 0 0-64-64H192a64 64 0 0 0-64 64zm0 64v320a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V448zm64-256h640a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H192A128 128 0 0 1 64 768V320a128 128 0 0 1 128-128"}),createBaseVNode("path",{fill:"currentColor",d:"M384 128v64h256v-64zm0-64h256a64 64 0 0 1 64 64v64a64 64 0 0 1-64 64H384a64 64 0 0 1-64-64v-64a64 64 0 0 1 64-64"})]))}}),suitcase_default=suitcase_vue_vue_type_script_setup_true_lang_default,sunny_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Sunny",__name:"sunny",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 704a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m0-704a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 768a32 32 0 0 1 32 32v64a32 32 0 1 1-64 0v-64a32 32 0 0 1 32-32M195.2 195.2a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 1 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm543.104 543.104a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 0 1-45.248 45.248l-45.248-45.248a32 32 0 0 1 0-45.248M64 512a32 32 0 0 1 32-32h64a32 32 0 0 1 0 64H96a32 32 0 0 1-32-32m768 0a32 32 0 0 1 32-32h64a32 32 0 1 1 0 64h-64a32 32 0 0 1-32-32M195.2 828.8a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248L240.448 828.8a32 32 0 0 1-45.248 0zm543.104-543.104a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248l-45.248 45.248a32 32 0 0 1-45.248 0"})]))}}),sunny_default=sunny_vue_vue_type_script_setup_true_lang_default,sunrise_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Sunrise",__name:"sunrise",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M32 768h960a32 32 0 1 1 0 64H32a32 32 0 1 1 0-64m129.408-96a352 352 0 0 1 701.184 0h-64.32a288 288 0 0 0-572.544 0h-64.32zM512 128a32 32 0 0 1 32 32v96a32 32 0 0 1-64 0v-96a32 32 0 0 1 32-32m407.296 168.704a32 32 0 0 1 0 45.248l-67.84 67.84a32 32 0 1 1-45.248-45.248l67.84-67.84a32 32 0 0 1 45.248 0zm-814.592 0a32 32 0 0 1 45.248 0l67.84 67.84a32 32 0 1 1-45.248 45.248l-67.84-67.84a32 32 0 0 1 0-45.248"})]))}}),sunrise_default=sunrise_vue_vue_type_script_setup_true_lang_default,sunset_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Sunset",__name:"sunset",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M82.56 640a448 448 0 1 1 858.88 0h-67.2a384 384 0 1 0-724.288 0zM32 704h960q32 0 32 32t-32 32H32q-32 0-32-32t32-32m256 128h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),sunset_default=sunset_vue_vue_type_script_setup_true_lang_default,switch_button_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SwitchButton",__name:"switch-button",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M352 159.872V230.4a352 352 0 1 0 320 0v-70.528A416.128 416.128 0 0 1 512 960a416 416 0 0 1-160-800.128z"}),createBaseVNode("path",{fill:"currentColor",d:"M512 64q32 0 32 32v320q0 32-32 32t-32-32V96q0-32 32-32"})]))}}),switch_button_default=switch_button_vue_vue_type_script_setup_true_lang_default,switch_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SwitchFilled",__name:"switch-filled",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M247.47 358.4v.04c.07 19.17 7.72 37.53 21.27 51.09s31.92 21.2 51.09 21.27c39.86 0 72.41-32.6 72.41-72.4s-32.6-72.36-72.41-72.36-72.36 32.55-72.36 72.36z"}),createBaseVNode("path",{fill:"currentColor",d:"M492.38 128H324.7c-52.16 0-102.19 20.73-139.08 57.61a196.655 196.655 0 0 0-57.61 139.08V698.7c-.01 25.84 5.08 51.42 14.96 75.29s24.36 45.56 42.63 63.83 39.95 32.76 63.82 42.65a196.67 196.67 0 0 0 75.28 14.98h167.68c3.03 0 5.46-2.43 5.46-5.42V133.42c.6-2.99-1.83-5.42-5.46-5.42zm-56.11 705.88H324.7c-17.76.13-35.36-3.33-51.75-10.18s-31.22-16.94-43.61-29.67c-25.3-25.35-39.81-59.1-39.81-95.32V324.69c-.13-17.75 3.33-35.35 10.17-51.74a131.695 131.695 0 0 1 29.64-43.62c25.39-25.3 59.14-39.81 95.36-39.81h111.57zm402.12-647.67a196.655 196.655 0 0 0-139.08-57.61H580.48c-3.03 0-4.82 2.43-4.82 4.82v757.16c-.6 2.99 1.79 5.42 5.42 5.42h118.23a196.69 196.69 0 0 0 139.08-57.61A196.655 196.655 0 0 0 896 699.31V325.29a196.69 196.69 0 0 0-57.61-139.08zm-111.3 441.92c-42.83 0-77.82-34.99-77.82-77.82s34.98-77.82 77.82-77.82c42.83 0 77.82 34.99 77.82 77.82s-34.99 77.82-77.82 77.82z"})]))}}),switch_filled_default=switch_filled_vue_vue_type_script_setup_true_lang_default,switch_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Switch",__name:"switch",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M118.656 438.656a32 32 0 0 1 0-45.248L416 96l4.48-3.776A32 32 0 0 1 461.248 96l3.712 4.48a32.064 32.064 0 0 1-3.712 40.832L218.56 384H928a32 32 0 1 1 0 64H141.248a32 32 0 0 1-22.592-9.344zM64 608a32 32 0 0 1 32-32h786.752a32 32 0 0 1 22.656 54.592L608 928l-4.48 3.776a32.064 32.064 0 0 1-40.832-49.024L805.632 640H96a32 32 0 0 1-32-32"})]))}}),switch_default=switch_vue_vue_type_script_setup_true_lang_default,takeaway_box_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"TakeawayBox",__name:"takeaway-box",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M832 384H192v448h640zM96 320h832V128H96zm800 64v480a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V384H64a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32h896a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zM416 512h192a32 32 0 0 1 0 64H416a32 32 0 0 1 0-64"})]))}}),takeaway_box_default=takeaway_box_vue_vue_type_script_setup_true_lang_default,ticket_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Ticket",__name:"ticket",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M640 832H64V640a128 128 0 1 0 0-256V192h576v160h64V192h256v192a128 128 0 1 0 0 256v192H704V672h-64zm0-416v192h64V416z"})]))}}),ticket_default=ticket_vue_vue_type_script_setup_true_lang_default,tickets_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Tickets",__name:"tickets",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M192 128v768h640V128zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h192v64H320zm0 384h384v64H320z"})]))}}),tickets_default=tickets_vue_vue_type_script_setup_true_lang_default,timer_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Timer",__name:"timer",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a320 320 0 1 0 0-640 320 320 0 0 0 0 640m0 64a384 384 0 1 1 0-768 384 384 0 0 1 0 768"}),createBaseVNode("path",{fill:"currentColor",d:"M512 320a32 32 0 0 1 32 32l-.512 224a32 32 0 1 1-64 0L480 352a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M448 576a64 64 0 1 0 128 0 64 64 0 1 0-128 0m96-448v128h-64V128h-96a32 32 0 0 1 0-64h256a32 32 0 1 1 0 64z"})]))}}),timer_default=timer_vue_vue_type_script_setup_true_lang_default,toilet_paper_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ToiletPaper",__name:"toilet-paper",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M595.2 128H320a192 192 0 0 0-192 192v576h384V352c0-90.496 32.448-171.2 83.2-224M736 64c123.712 0 224 128.96 224 288S859.712 640 736 640H576v320H64V320A256 256 0 0 1 320 64zM576 352v224h160c84.352 0 160-97.28 160-224s-75.648-224-160-224-160 97.28-160 224"}),createBaseVNode("path",{fill:"currentColor",d:"M736 448c-35.328 0-64-43.008-64-96s28.672-96 64-96 64 43.008 64 96-28.672 96-64 96"})]))}}),toilet_paper_default=toilet_paper_vue_vue_type_script_setup_true_lang_default,tools_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Tools",__name:"tools",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M764.416 254.72a351.68 351.68 0 0 1 86.336 149.184H960v192.064H850.752a351.68 351.68 0 0 1-86.336 149.312l54.72 94.72-166.272 96-54.592-94.72a352.64 352.64 0 0 1-172.48 0L371.136 936l-166.272-96 54.72-94.72a351.68 351.68 0 0 1-86.336-149.312H64v-192h109.248a351.68 351.68 0 0 1 86.336-149.312L204.8 160l166.208-96h.192l54.656 94.592a352.64 352.64 0 0 1 172.48 0L652.8 64h.128L819.2 160l-54.72 94.72zM704 499.968a192 192 0 1 0-384 0 192 192 0 0 0 384 0"})]))}}),tools_default=tools_vue_vue_type_script_setup_true_lang_default,top_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"TopLeft",__name:"top-left",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 256h416a32 32 0 1 0 0-64H224a32 32 0 0 0-32 32v448a32 32 0 0 0 64 0z"}),createBaseVNode("path",{fill:"currentColor",d:"M246.656 201.344a32 32 0 0 0-45.312 45.312l544 544a32 32 0 0 0 45.312-45.312l-544-544z"})]))}}),top_left_default=top_left_vue_vue_type_script_setup_true_lang_default,top_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"TopRight",__name:"top-right",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M768 256H353.6a32 32 0 1 1 0-64H800a32 32 0 0 1 32 32v448a32 32 0 0 1-64 0z"}),createBaseVNode("path",{fill:"currentColor",d:"M777.344 201.344a32 32 0 0 1 45.312 45.312l-544 544a32 32 0 0 1-45.312-45.312l544-544z"})]))}}),top_right_default=top_right_vue_vue_type_script_setup_true_lang_default,top_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Top",__name:"top",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M572.235 205.282v600.365a30.118 30.118 0 1 1-60.235 0V205.282L292.382 438.633a28.913 28.913 0 0 1-42.646 0 33.43 33.43 0 0 1 0-45.236l271.058-288.045a28.913 28.913 0 0 1 42.647 0L834.5 393.397a33.43 33.43 0 0 1 0 45.176 28.913 28.913 0 0 1-42.647 0l-219.618-233.23z"})]))}}),top_default=top_vue_vue_type_script_setup_true_lang_default,trend_charts_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"TrendCharts",__name:"trend-charts",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 896V128h768v768zm291.712-327.296 128 102.4 180.16-201.792-47.744-42.624-139.84 156.608-128-102.4-180.16 201.792 47.744 42.624 139.84-156.608zM816 352a48 48 0 1 0-96 0 48 48 0 0 0 96 0"})]))}}),trend_charts_default=trend_charts_vue_vue_type_script_setup_true_lang_default,trophy_base_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"TrophyBase",__name:"trophy-base",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M918.4 201.6c-6.4-6.4-12.8-9.6-22.4-9.6H768V96c0-9.6-3.2-16-9.6-22.4C752 67.2 745.6 64 736 64H288c-9.6 0-16 3.2-22.4 9.6C259.2 80 256 86.4 256 96v96H128c-9.6 0-16 3.2-22.4 9.6-6.4 6.4-9.6 16-9.6 22.4 3.2 108.8 25.6 185.6 64 224 34.4 34.4 77.56 55.65 127.65 61.99 10.91 20.44 24.78 39.25 41.95 56.41 40.86 40.86 91 65.47 150.4 71.9V768h-96c-9.6 0-16 3.2-22.4 9.6-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4c6.4 6.4 12.8 9.6 22.4 9.6h256c9.6 0 16-3.2 22.4-9.6 6.4-6.4 9.6-12.8 9.6-22.4s-3.2-16-9.6-22.4c-6.4-6.4-12.8-9.6-22.4-9.6h-96V637.26c59.4-7.71 109.54-30.01 150.4-70.86 17.2-17.2 31.51-36.06 42.81-56.55 48.93-6.51 90.02-27.7 126.79-61.85 38.4-38.4 60.8-112 64-224 0-6.4-3.2-16-9.6-22.4zM256 438.4c-19.2-6.4-35.2-19.2-51.2-35.2-22.4-22.4-35.2-70.4-41.6-147.2H256zm390.4 80C608 553.6 566.4 576 512 576s-99.2-19.2-134.4-57.6C342.4 480 320 438.4 320 384V128h384v256c0 54.4-19.2 99.2-57.6 134.4m172.8-115.2c-16 16-32 25.6-51.2 35.2V256h92.8c-6.4 76.8-19.2 124.8-41.6 147.2zM768 896H256c-9.6 0-16 3.2-22.4 9.6-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4c6.4 6.4 12.8 9.6 22.4 9.6h512c9.6 0 16-3.2 22.4-9.6 6.4-6.4 9.6-12.8 9.6-22.4s-3.2-16-9.6-22.4c-6.4-6.4-12.8-9.6-22.4-9.6"})]))}}),trophy_base_default=trophy_base_vue_vue_type_script_setup_true_lang_default,trophy_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Trophy",__name:"trophy",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M480 896V702.08A256.256 256.256 0 0 1 264.064 512h-32.64a96 96 0 0 1-91.968-68.416L93.632 290.88a76.8 76.8 0 0 1 73.6-98.88H256V96a32 32 0 0 1 32-32h448a32 32 0 0 1 32 32v96h88.768a76.8 76.8 0 0 1 73.6 98.88L884.48 443.52A96 96 0 0 1 792.576 512h-32.64A256.256 256.256 0 0 1 544 702.08V896h128a32 32 0 1 1 0 64H352a32 32 0 1 1 0-64zm224-448V128H320v320a192 192 0 1 0 384 0m64 0h24.576a32 32 0 0 0 30.656-22.784l45.824-152.768A12.8 12.8 0 0 0 856.768 256H768zm-512 0V256h-88.768a12.8 12.8 0 0 0-12.288 16.448l45.824 152.768A32 32 0 0 0 231.424 448z"})]))}}),trophy_default=trophy_vue_vue_type_script_setup_true_lang_default,turn_off_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"TurnOff",__name:"turn-off",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M329.956 257.138a254.862 254.862 0 0 0 0 509.724h364.088a254.862 254.862 0 0 0 0-509.724zm0-72.818h364.088a327.68 327.68 0 1 1 0 655.36H329.956a327.68 327.68 0 1 1 0-655.36z"}),createBaseVNode("path",{fill:"currentColor",d:"M329.956 621.227a109.227 109.227 0 1 0 0-218.454 109.227 109.227 0 0 0 0 218.454m0 72.817a182.044 182.044 0 1 1 0-364.088 182.044 182.044 0 0 1 0 364.088"})]))}}),turn_off_default=turn_off_vue_vue_type_script_setup_true_lang_default,umbrella_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Umbrella",__name:"umbrella",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M320 768a32 32 0 1 1 64 0 64 64 0 0 0 128 0V512H64a448 448 0 1 1 896 0H576v256a128 128 0 1 1-256 0m570.688-320a384.128 384.128 0 0 0-757.376 0z"})]))}}),umbrella_default=umbrella_vue_vue_type_script_setup_true_lang_default,unlock_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Unlock",__name:"unlock",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96"}),createBaseVNode("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m178.304-295.296A192.064 192.064 0 0 0 320 320v64h352l96 38.4V448H256V320a256 256 0 0 1 493.76-95.104z"})]))}}),unlock_default=unlock_vue_vue_type_script_setup_true_lang_default,upload_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"UploadFilled",__name:"upload-filled",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M544 864V672h128L512 480 352 672h128v192H320v-1.6c-5.376.32-10.496 1.6-16 1.6A240 240 0 0 1 64 624c0-123.136 93.12-223.488 212.608-237.248A239.808 239.808 0 0 1 512 192a239.872 239.872 0 0 1 235.456 194.752c119.488 13.76 212.48 114.112 212.48 237.248a240 240 0 0 1-240 240c-5.376 0-10.56-1.28-16-1.6v1.6z"})]))}}),upload_filled_default=upload_filled_vue_vue_type_script_setup_true_lang_default,upload_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Upload",__name:"upload",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248z"})]))}}),upload_default=upload_vue_vue_type_script_setup_true_lang_default,user_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"UserFilled",__name:"user-filled",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M288 320a224 224 0 1 0 448 0 224 224 0 1 0-448 0m544 608H160a32 32 0 0 1-32-32v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 0 1-32 32z"})]))}}),user_filled_default=user_filled_vue_vue_type_script_setup_true_lang_default,user_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"User",__name:"user",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m320 320v-96a96 96 0 0 0-96-96H288a96 96 0 0 0-96 96v96a32 32 0 1 1-64 0v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 1 1-64 0"})]))}}),user_default=user_vue_vue_type_script_setup_true_lang_default,van_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Van",__name:"van",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128.896 736H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v96h164.544a32 32 0 0 1 31.616 27.136l54.144 352A32 32 0 0 1 922.688 736h-91.52a144 144 0 1 1-286.272 0H415.104a144 144 0 1 1-286.272 0zm23.36-64a143.872 143.872 0 0 1 239.488 0H568.32c17.088-25.6 42.24-45.376 71.744-55.808V256H128v416zm655.488 0h77.632l-19.648-128H704v64.896A144 144 0 0 1 807.744 672m48.128-192-14.72-96H704v96h151.872M688 832a80 80 0 1 0 0-160 80 80 0 0 0 0 160m-416 0a80 80 0 1 0 0-160 80 80 0 0 0 0 160"})]))}}),van_default=van_vue_vue_type_script_setup_true_lang_default,video_camera_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"VideoCameraFilled",__name:"video-camera-filled",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m768 576 192-64v320l-192-64v96a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V480a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zM192 768v64h384v-64zm192-480a160 160 0 0 1 320 0 160 160 0 0 1-320 0m64 0a96 96 0 1 0 192.064-.064A96 96 0 0 0 448 288m-320 32a128 128 0 1 1 256.064.064A128 128 0 0 1 128 320m64 0a64 64 0 1 0 128 0 64 64 0 0 0-128 0"})]))}}),video_camera_filled_default=video_camera_filled_vue_vue_type_script_setup_true_lang_default,video_camera_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"VideoCamera",__name:"video-camera",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M704 768V256H128v512zm64-416 192-96v512l-192-96v128a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 71.552v176.896l128 64V359.552zM192 320h192v64H192z"})]))}}),video_camera_default=video_camera_vue_vue_type_script_setup_true_lang_default,video_pause_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"VideoPause",__name:"video-pause",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m-96-544q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32m192 0q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32"})]))}}),video_pause_default=video_pause_vue_vue_type_script_setup_true_lang_default,video_play_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"VideoPlay",__name:"video-play",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m-48-247.616L668.608 512 464 375.616zm10.624-342.656 249.472 166.336a48 48 0 0 1 0 79.872L474.624 718.272A48 48 0 0 1 400 678.336V345.6a48 48 0 0 1 74.624-39.936z"})]))}}),video_play_default=video_play_vue_vue_type_script_setup_true_lang_default,view_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"View",__name:"view",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),view_default=view_vue_vue_type_script_setup_true_lang_default,wallet_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"WalletFilled",__name:"wallet-filled",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M688 512a112 112 0 1 0 0 224h208v160H128V352h768v160zm32 160h-32a48 48 0 0 1 0-96h32a48 48 0 0 1 0 96m-80-544 128 160H384z"})]))}}),wallet_filled_default=wallet_filled_vue_vue_type_script_setup_true_lang_default,wallet_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Wallet",__name:"wallet",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M640 288h-64V128H128v704h384v32a32 32 0 0 0 32 32H96a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32h512a32 32 0 0 1 32 32z"}),createBaseVNode("path",{fill:"currentColor",d:"M128 320v512h768V320zm-32-64h832a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M704 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128"})]))}}),wallet_default=wallet_vue_vue_type_script_setup_true_lang_default,warn_triangle_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"WarnTriangleFilled",__name:"warn-triangle-filled",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M928.99 755.83 574.6 203.25c-12.89-20.16-36.76-32.58-62.6-32.58s-49.71 12.43-62.6 32.58L95.01 755.83c-12.91 20.12-12.9 44.91.01 65.03 12.92 20.12 36.78 32.51 62.59 32.49h708.78c25.82.01 49.68-12.37 62.59-32.49 12.91-20.12 12.92-44.91.01-65.03M554.67 768h-85.33v-85.33h85.33zm0-426.67v298.66h-85.33V341.32z"})]))}}),warn_triangle_filled_default=warn_triangle_filled_vue_vue_type_script_setup_true_lang_default,warning_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"WarningFilled",__name:"warning-filled",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}}),warning_filled_default=warning_filled_vue_vue_type_script_setup_true_lang_default,warning_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Warning",__name:"warning",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"})]))}}),warning_default=warning_vue_vue_type_script_setup_true_lang_default,watch_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Watch",__name:"watch",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 768a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),createBaseVNode("path",{fill:"currentColor",d:"M480 352a32 32 0 0 1 32 32v160a32 32 0 0 1-64 0V384a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M480 512h128q32 0 32 32t-32 32H480q-32 0-32-32t32-32m128-256V128H416v128h-64V64h320v192zM416 768v128h192V768h64v192H352V768z"})]))}}),watch_default=watch_vue_vue_type_script_setup_true_lang_default,watermelon_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Watermelon",__name:"watermelon",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m683.072 600.32-43.648 162.816-61.824-16.512 53.248-198.528L576 493.248l-158.4 158.4-45.248-45.248 158.4-158.4-55.616-55.616-198.528 53.248-16.512-61.824 162.816-43.648L282.752 200A384 384 0 0 0 824 741.248zm231.552 141.056a448 448 0 1 1-632-632l632 632"})]))}}),watermelon_default=watermelon_vue_vue_type_script_setup_true_lang_default,wind_power_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"WindPower",__name:"wind-power",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 64q32 0 32 32v832q0 32-32 32t-32-32V96q0-32 32-32m416 354.624 128-11.584V168.96l-128-11.52v261.12zm-64 5.824V151.552L320 134.08V160h-64V64l616.704 56.064A96 96 0 0 1 960 215.68v144.64a96 96 0 0 1-87.296 95.616L256 512V224h64v217.92zm256-23.232 98.88-8.96A32 32 0 0 0 896 360.32V215.68a32 32 0 0 0-29.12-31.872l-98.88-8.96z"})]))}}),wind_power_default=wind_power_vue_vue_type_script_setup_true_lang_default,zoom_in_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ZoomIn",__name:"zoom-in",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"})]))}}),zoom_in_default=zoom_in_vue_vue_type_script_setup_true_lang_default,zoom_out_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ZoomOut",__name:"zoom-out",setup(Ra){return(qa,td)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704M352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64"})]))}}),zoom_out_default=zoom_out_vue_vue_type_script_setup_true_lang_default;const ElementPlusIconsVue=Object.freeze(Object.defineProperty({__proto__:null,AddLocation:add_location_default,Aim:aim_default,AlarmClock:alarm_clock_default,Apple:apple_default,ArrowDown:arrow_down_default,ArrowDownBold:arrow_down_bold_default,ArrowLeft:arrow_left_default,ArrowLeftBold:arrow_left_bold_default,ArrowRight:arrow_right_default,ArrowRightBold:arrow_right_bold_default,ArrowUp:arrow_up_default,ArrowUpBold:arrow_up_bold_default,Avatar:avatar_default,Back:back_default,Baseball:baseball_default,Basketball:basketball_default,Bell:bell_default,BellFilled:bell_filled_default,Bicycle:bicycle_default,Bottom:bottom_default,BottomLeft:bottom_left_default,BottomRight:bottom_right_default,Bowl:bowl_default,Box:box_default,Briefcase:briefcase_default,Brush:brush_default,BrushFilled:brush_filled_default,Burger:burger_default,Calendar:calendar_default,Camera:camera_default,CameraFilled:camera_filled_default,CaretBottom:caret_bottom_default,CaretLeft:caret_left_default,CaretRight:caret_right_default,CaretTop:caret_top_default,Cellphone:cellphone_default,ChatDotRound:chat_dot_round_default,ChatDotSquare:chat_dot_square_default,ChatLineRound:chat_line_round_default,ChatLineSquare:chat_line_square_default,ChatRound:chat_round_default,ChatSquare:chat_square_default,Check:check_default,Checked:checked_default,Cherry:cherry_default,Chicken:chicken_default,ChromeFilled:chrome_filled_default,CircleCheck:circle_check_default,CircleCheckFilled:circle_check_filled_default,CircleClose:circle_close_default,CircleCloseFilled:circle_close_filled_default,CirclePlus:circle_plus_default,CirclePlusFilled:circle_plus_filled_default,Clock:clock_default,Close:close_default,CloseBold:close_bold_default,Cloudy:cloudy_default,Coffee:coffee_default,CoffeeCup:coffee_cup_default,Coin:coin_default,ColdDrink:cold_drink_default,Collection:collection_default,CollectionTag:collection_tag_default,Comment:comment_default,Compass:compass_default,Connection:connection_default,Coordinate:coordinate_default,CopyDocument:copy_document_default,Cpu:cpu_default,CreditCard:credit_card_default,Crop:crop_default,DArrowLeft:d_arrow_left_default,DArrowRight:d_arrow_right_default,DCaret:d_caret_default,DataAnalysis:data_analysis_default,DataBoard:data_board_default,DataLine:data_line_default,Delete:delete_default,DeleteFilled:delete_filled_default,DeleteLocation:delete_location_default,Dessert:dessert_default,Discount:discount_default,Dish:dish_default,DishDot:dish_dot_default,Document:document_default,DocumentAdd:document_add_default,DocumentChecked:document_checked_default,DocumentCopy:document_copy_default,DocumentDelete:document_delete_default,DocumentRemove:document_remove_default,Download:download_default,Drizzling:drizzling_default,Edit:edit_default,EditPen:edit_pen_default,Eleme:eleme_default,ElemeFilled:eleme_filled_default,ElementPlus:element_plus_default,Expand:expand_default,Failed:failed_default,Female:female_default,Files:files_default,Film:film_default,Filter:filter_default,Finished:finished_default,FirstAidKit:first_aid_kit_default,Flag:flag_default,Fold:fold_default,Folder:folder_default,FolderAdd:folder_add_default,FolderChecked:folder_checked_default,FolderDelete:folder_delete_default,FolderOpened:folder_opened_default,FolderRemove:folder_remove_default,Food:food_default,Football:football_default,ForkSpoon:fork_spoon_default,Fries:fries_default,FullScreen:full_screen_default,Goblet:goblet_default,GobletFull:goblet_full_default,GobletSquare:goblet_square_default,GobletSquareFull:goblet_square_full_default,GoldMedal:gold_medal_default,Goods:goods_default,GoodsFilled:goods_filled_default,Grape:grape_default,Grid:grid_default,Guide:guide_default,Handbag:handbag_default,Headset:headset_default,Help:help_default,HelpFilled:help_filled_default,Hide:hide_default,Histogram:histogram_default,HomeFilled:home_filled_default,HotWater:hot_water_default,House:house_default,IceCream:ice_cream_default,IceCreamRound:ice_cream_round_default,IceCreamSquare:ice_cream_square_default,IceDrink:ice_drink_default,IceTea:ice_tea_default,InfoFilled:info_filled_default,Iphone:iphone_default,Key:key_default,KnifeFork:knife_fork_default,Lightning:lightning_default,Link:link_default,List:list_default,Loading:loading_default,Location:location_default,LocationFilled:location_filled_default,LocationInformation:location_information_default,Lock:lock_default,Lollipop:lollipop_default,MagicStick:magic_stick_default,Magnet:magnet_default,Male:male_default,Management:management_default,MapLocation:map_location_default,Medal:medal_default,Memo:memo_default,Menu:menu_default,Message:message_default,MessageBox:message_box_default,Mic:mic_default,Microphone:microphone_default,MilkTea:milk_tea_default,Minus:minus_default,Money:money_default,Monitor:monitor_default,Moon:moon_default,MoonNight:moon_night_default,More:more_default,MoreFilled:more_filled_default,MostlyCloudy:mostly_cloudy_default,Mouse:mouse_default,Mug:mug_default,Mute:mute_default,MuteNotification:mute_notification_default,NoSmoking:no_smoking_default,Notebook:notebook_default,Notification:notification_default,Odometer:odometer_default,OfficeBuilding:office_building_default,Open:open_default,Operation:operation_default,Opportunity:opportunity_default,Orange:orange_default,Paperclip:paperclip_default,PartlyCloudy:partly_cloudy_default,Pear:pear_default,Phone:phone_default,PhoneFilled:phone_filled_default,Picture:picture_default,PictureFilled:picture_filled_default,PictureRounded:picture_rounded_default,PieChart:pie_chart_default,Place:place_default,Platform:platform_default,Plus:plus_default,Pointer:pointer_default,Position:position_default,Postcard:postcard_default,Pouring:pouring_default,Present:present_default,PriceTag:price_tag_default,Printer:printer_default,Promotion:promotion_default,QuartzWatch:quartz_watch_default,QuestionFilled:question_filled_default,Rank:rank_default,Reading:reading_default,ReadingLamp:reading_lamp_default,Refresh:refresh_default,RefreshLeft:refresh_left_default,RefreshRight:refresh_right_default,Refrigerator:refrigerator_default,Remove:remove_default,RemoveFilled:remove_filled_default,Right:right_default,ScaleToOriginal:scale_to_original_default,School:school_default,Scissor:scissor_default,Search:search_default,Select:select_default,Sell:sell_default,SemiSelect:semi_select_default,Service:service_default,SetUp:set_up_default,Setting:setting_default,Share:share_default,Ship:ship_default,Shop:shop_default,ShoppingBag:shopping_bag_default,ShoppingCart:shopping_cart_default,ShoppingCartFull:shopping_cart_full_default,ShoppingTrolley:shopping_trolley_default,Smoking:smoking_default,Soccer:soccer_default,SoldOut:sold_out_default,Sort:sort_default,SortDown:sort_down_default,SortUp:sort_up_default,Stamp:stamp_default,Star:star_default,StarFilled:star_filled_default,Stopwatch:stopwatch_default,SuccessFilled:success_filled_default,Sugar:sugar_default,Suitcase:suitcase_default,SuitcaseLine:suitcase_line_default,Sunny:sunny_default,Sunrise:sunrise_default,Sunset:sunset_default,Switch:switch_default,SwitchButton:switch_button_default,SwitchFilled:switch_filled_default,TakeawayBox:takeaway_box_default,Ticket:ticket_default,Tickets:tickets_default,Timer:timer_default,ToiletPaper:toilet_paper_default,Tools:tools_default,Top:top_default,TopLeft:top_left_default,TopRight:top_right_default,TrendCharts:trend_charts_default,Trophy:trophy_default,TrophyBase:trophy_base_default,TurnOff:turn_off_default,Umbrella:umbrella_default,Unlock:unlock_default,Upload:upload_default,UploadFilled:upload_filled_default,User:user_default,UserFilled:user_filled_default,Van:van_default,VideoCamera:video_camera_default,VideoCameraFilled:video_camera_filled_default,VideoPause:video_pause_default,VideoPlay:video_play_default,View:view_default,Wallet:wallet_default,WalletFilled:wallet_filled_default,WarnTriangleFilled:warn_triangle_filled_default,Warning:warning_default,WarningFilled:warning_filled_default,Watch:watch_default,Watermelon:watermelon_default,WindPower:wind_power_default,ZoomIn:zoom_in_default,ZoomOut:zoom_out_default},Symbol.toStringTag,{value:"Module"})),epPropKey="__epPropKey",definePropType=Ra=>Ra,isEpProp=Ra=>isObject$5(Ra)&&!!Ra[epPropKey],buildProp=(Ra,qa)=>{if(!isObject$5(Ra)||isEpProp(Ra))return Ra;const{values:td,required:rd,default:nd,type:ad,validator:sd}=Ra,cd={type:ad,required:!!rd,validator:td||sd?dd=>{let pd=!1,fd=[];if(td&&(fd=Array.from(td),hasOwn$2(Ra,"default")&&fd.push(nd),pd||(pd=fd.includes(dd))),sd&&(pd||(pd=sd(dd))),!pd&&fd.length>0){const Td=[...new Set(fd)].map(Ad=>JSON.stringify(Ad)).join(", ");warn$2(`Invalid prop: validation failed${qa?` for prop "${qa}"`:""}. Expected one of [${Td}], got value ${JSON.stringify(dd)}.`)}return pd}:void 0,[epPropKey]:!0};return hasOwn$2(Ra,"default")&&(cd.default=nd),cd},buildProps=Ra=>fromPairs(Object.entries(Ra).map(([qa,td])=>[qa,buildProp(td,qa)])),iconPropType=definePropType([String,Object,Function]),CloseComponents={Close:close_default},TypeComponents={Close:close_default,SuccessFilled:success_filled_default,InfoFilled:info_filled_default,WarningFilled:warning_filled_default,CircleCloseFilled:circle_close_filled_default},TypeComponentsMap={success:success_filled_default,warning:warning_filled_default,error:circle_close_filled_default,info:info_filled_default},ValidateComponentsMap={validating:loading_default,success:circle_check_default,error:circle_close_default},withInstall=(Ra,qa)=>{if(Ra.install=td=>{for(const rd of[Ra,...Object.values(qa??{})])td.component(rd.name,rd)},qa)for(const[td,rd]of Object.entries(qa))Ra[td]=rd;return Ra},withInstallFunction=(Ra,qa)=>(Ra.install=td=>{Ra._context=td._context,td.config.globalProperties[qa]=Ra},Ra),withNoopInstall=Ra=>(Ra.install=NOOP,Ra),EVENT_CODE={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},UPDATE_MODEL_EVENT="update:modelValue",CHANGE_EVENT="change",INPUT_EVENT="input",componentSizes=["","default","small","large"],isValidComponentSize=Ra=>["",...componentSizes].includes(Ra);var PatchFlags=(Ra=>(Ra[Ra.TEXT=1]="TEXT",Ra[Ra.CLASS=2]="CLASS",Ra[Ra.STYLE=4]="STYLE",Ra[Ra.PROPS=8]="PROPS",Ra[Ra.FULL_PROPS=16]="FULL_PROPS",Ra[Ra.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",Ra[Ra.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",Ra[Ra.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",Ra[Ra.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",Ra[Ra.NEED_PATCH=512]="NEED_PATCH",Ra[Ra.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",Ra[Ra.HOISTED=-1]="HOISTED",Ra[Ra.BAIL=-2]="BAIL",Ra))(PatchFlags||{});const flattedChildren=Ra=>{const qa=isArray$2(Ra)?Ra:[Ra],td=[];return qa.forEach(rd=>{var nd;isArray$2(rd)?td.push(...flattedChildren(rd)):isVNode(rd)&&isArray$2(rd.children)?td.push(...flattedChildren(rd.children)):(td.push(rd),isVNode(rd)&&((nd=rd.component)!=null&&nd.subTree)&&td.push(...flattedChildren(rd.component.subTree)))}),td},isKorean=Ra=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(Ra),mutable=Ra=>Ra,DEFAULT_EXCLUDE_KEYS=["class","style"],LISTENER_PREFIX=/^on[A-Z]/,useAttrs=(Ra={})=>{const{excludeListeners:qa=!1,excludeKeys:td}=Ra,rd=computed(()=>((td==null?void 0:td.value)||[]).concat(DEFAULT_EXCLUDE_KEYS)),nd=getCurrentInstance();return computed(nd?()=>{var ad;return fromPairs(Object.entries((ad=nd.proxy)==null?void 0:ad.$attrs).filter(([sd])=>!rd.value.includes(sd)&&!(qa&&LISTENER_PREFIX.test(sd))))}:()=>({}))},useDeprecated=({from:Ra,replacement:qa,scope:td,version:rd,ref:nd,type:ad="API"},sd)=>{watch(()=>unref(sd),ud=>{},{immediate:!0})},useDraggable=(Ra,qa,td,rd)=>{let nd={offsetX:0,offsetY:0};const ad=dd=>{const pd=dd.clientX,fd=dd.clientY,{offsetX:Td,offsetY:Ad}=nd,Sd=Ra.value.getBoundingClientRect(),Dd=Sd.left,Ld=Sd.top,Rd=Sd.width,Od=Sd.height,Md=document.documentElement.clientWidth,jd=document.documentElement.clientHeight,Ud=-Dd+Td,Hd=-Ld+Ad,zd=Md-Dd-Rd+Td,Zd=jd-Ld-Od+Ad,Wd=Jd=>{let hf=Td+Jd.clientX-pd,bf=Ad+Jd.clientY-fd;rd!=null&&rd.value||(hf=Math.min(Math.max(hf,Ud),zd),bf=Math.min(Math.max(bf,Hd),Zd)),nd={offsetX:hf,offsetY:bf},Ra.value&&(Ra.value.style.transform=`translate(${addUnit(hf)}, ${addUnit(bf)})`)},Qd=()=>{document.removeEventListener("mousemove",Wd),document.removeEventListener("mouseup",Qd)};document.addEventListener("mousemove",Wd),document.addEventListener("mouseup",Qd)},sd=()=>{qa.value&&Ra.value&&qa.value.addEventListener("mousedown",ad)},ud=()=>{qa.value&&Ra.value&&qa.value.removeEventListener("mousedown",ad)},cd=()=>{nd={offsetX:0,offsetY:0},Ra.value&&(Ra.value.style.transform="none")};return onMounted(()=>{watchEffect(()=>{td.value?sd():ud()})}),onBeforeUnmount(()=>{ud()}),{resetPosition:cd}};var English={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color.",alphaLabel:"pick alpha value"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},mention:{loading:"Loading"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tour:{next:"Next",previous:"Previous",finish:"Finish"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"}}};const buildTranslator=Ra=>(qa,td)=>translate(qa,td,unref(Ra)),translate=(Ra,qa,td)=>get$3(td,Ra,Ra).replace(/\{(\w+)\}/g,(rd,nd)=>{var ad;return`${(ad=qa==null?void 0:qa[nd])!=null?ad:`{${nd}}`}`}),buildLocaleContext=Ra=>{const qa=computed(()=>unref(Ra).name),td=isRef(Ra)?Ra:ref$1(Ra);return{lang:qa,locale:td,t:buildTranslator(Ra)}},localeContextKey=Symbol("localeContextKey"),useLocale=Ra=>{const qa=Ra||inject(localeContextKey,ref$1());return buildLocaleContext(computed(()=>qa.value||English))},defaultNamespace="el",statePrefix="is-",_bem=(Ra,qa,td,rd,nd)=>{let ad=`${Ra}-${qa}`;return td&&(ad+=`-${td}`),rd&&(ad+=`__${rd}`),nd&&(ad+=`--${nd}`),ad},namespaceContextKey=Symbol("namespaceContextKey"),useGetDerivedNamespace=Ra=>{const qa=Ra||(getCurrentInstance()?inject(namespaceContextKey,ref$1(defaultNamespace)):ref$1(defaultNamespace));return computed(()=>unref(qa)||defaultNamespace)},useNamespace=(Ra,qa)=>{const td=useGetDerivedNamespace(qa);return{namespace:td,b:(Dd="")=>_bem(td.value,Ra,Dd,"",""),e:Dd=>Dd?_bem(td.value,Ra,"",Dd,""):"",m:Dd=>Dd?_bem(td.value,Ra,"","",Dd):"",be:(Dd,Ld)=>Dd&&Ld?_bem(td.value,Ra,Dd,Ld,""):"",em:(Dd,Ld)=>Dd&&Ld?_bem(td.value,Ra,"",Dd,Ld):"",bm:(Dd,Ld)=>Dd&&Ld?_bem(td.value,Ra,Dd,"",Ld):"",bem:(Dd,Ld,Rd)=>Dd&&Ld&&Rd?_bem(td.value,Ra,Dd,Ld,Rd):"",is:(Dd,...Ld)=>{const Rd=Ld.length>=1?Ld[0]:!0;return Dd&&Rd?`${statePrefix}${Dd}`:""},cssVar:Dd=>{const Ld={};for(const Rd in Dd)Dd[Rd]&&(Ld[`--${td.value}-${Rd}`]=Dd[Rd]);return Ld},cssVarName:Dd=>`--${td.value}-${Dd}`,cssVarBlock:Dd=>{const Ld={};for(const Rd in Dd)Dd[Rd]&&(Ld[`--${td.value}-${Ra}-${Rd}`]=Dd[Rd]);return Ld},cssVarBlockName:Dd=>`--${td.value}-${Ra}-${Dd}`}},useLockscreen=(Ra,qa={})=>{isRef(Ra)||throwError$1("[useLockscreen]","You need to pass a ref param to this function");const td=qa.ns||useNamespace("popup"),rd=computed(()=>td.bm("parent","hidden"));if(!isClient$1||hasClass$1(document.body,rd.value))return;let nd=0,ad=!1,sd="0";const ud=()=>{setTimeout(()=>{removeClass$1(document==null?void 0:document.body,rd.value),ad&&document&&(document.body.style.width=sd)},200)};watch(Ra,cd=>{if(!cd){ud();return}ad=!hasClass$1(document.body,rd.value),ad&&(sd=document.body.style.width),nd=getScrollBarWidth(td.namespace.value);const dd=document.documentElement.clientHeight0&&(dd||pd==="scroll")&&ad&&(document.body.style.width=`calc(100% - ${nd}px)`),addClass$1(document.body,rd.value)}),onScopeDispose(()=>ud())},_prop=buildProp({type:definePropType(Boolean),default:null}),_event=buildProp({type:definePropType(Function)}),createModelToggleComposable=Ra=>{const qa=`update:${Ra}`,td=`onUpdate:${Ra}`,rd=[qa],nd={[Ra]:_prop,[td]:_event};return{useModelToggle:({indicator:sd,toggleReason:ud,shouldHideWhenRouteChanges:cd,shouldProceed:dd,onShow:pd,onHide:fd})=>{const Td=getCurrentInstance(),{emit:Ad}=Td,Sd=Td.props,Dd=computed(()=>isFunction$4(Sd[td])),Ld=computed(()=>Sd[Ra]===null),Rd=zd=>{sd.value!==!0&&(sd.value=!0,ud&&(ud.value=zd),isFunction$4(pd)&&pd(zd))},Od=zd=>{sd.value!==!1&&(sd.value=!1,ud&&(ud.value=zd),isFunction$4(fd)&&fd(zd))},Md=zd=>{if(Sd.disabled===!0||isFunction$4(dd)&&!dd())return;const Zd=Dd.value&&isClient$1;Zd&&Ad(qa,!0),(Ld.value||!Zd)&&Rd(zd)},jd=zd=>{if(Sd.disabled===!0||!isClient$1)return;const Zd=Dd.value&&isClient$1;Zd&&Ad(qa,!1),(Ld.value||!Zd)&&Od(zd)},Ud=zd=>{isBoolean$3(zd)&&(Sd.disabled&&zd?Dd.value&&Ad(qa,!1):sd.value!==zd&&(zd?Rd():Od()))},Hd=()=>{sd.value?jd():Md()};return watch(()=>Sd[Ra],Ud),cd&&Td.appContext.config.globalProperties.$route!==void 0&&watch(()=>({...Td.proxy.$route}),()=>{cd.value&&sd.value&&jd()}),onMounted(()=>{Ud(Sd[Ra])}),{hide:jd,show:Md,toggle:Hd,hasUpdateHandler:Dd}},useModelToggleProps:nd,useModelToggleEmits:rd}};createModelToggleComposable("modelValue");const useProp=Ra=>{const qa=getCurrentInstance();return computed(()=>{var td,rd;return(rd=(td=qa==null?void 0:qa.proxy)==null?void 0:td.$props)==null?void 0:rd[Ra]})};var E$3="top",R$5="bottom",W$4="right",P$4="left",me$2="auto",G$5=[E$3,R$5,W$4,P$4],U$4="start",J$4="end",Xe$3="clippingParents",je$5="viewport",K$4="popper",Ye$3="reference",De$3=G$5.reduce(function(Ra,qa){return Ra.concat([qa+"-"+U$4,qa+"-"+J$4])},[]),Ee$4=[].concat(G$5,[me$2]).reduce(function(Ra,qa){return Ra.concat([qa,qa+"-"+U$4,qa+"-"+J$4])},[]),Ge$3="beforeRead",Je$4="read",Ke$3="afterRead",Qe$3="beforeMain",Ze$4="main",et$5="afterMain",tt$4="beforeWrite",nt$3="write",rt$3="afterWrite",ot$3=[Ge$3,Je$4,Ke$3,Qe$3,Ze$4,et$5,tt$4,nt$3,rt$3];function C$2(Ra){return Ra?(Ra.nodeName||"").toLowerCase():null}function H$4(Ra){if(Ra==null)return window;if(Ra.toString()!=="[object Window]"){var qa=Ra.ownerDocument;return qa&&qa.defaultView||window}return Ra}function Q$5(Ra){var qa=H$4(Ra).Element;return Ra instanceof qa||Ra instanceof Element}function B$3(Ra){var qa=H$4(Ra).HTMLElement;return Ra instanceof qa||Ra instanceof HTMLElement}function Pe$5(Ra){if(typeof ShadowRoot>"u")return!1;var qa=H$4(Ra).ShadowRoot;return Ra instanceof qa||Ra instanceof ShadowRoot}function Mt$4(Ra){var qa=Ra.state;Object.keys(qa.elements).forEach(function(td){var rd=qa.styles[td]||{},nd=qa.attributes[td]||{},ad=qa.elements[td];!B$3(ad)||!C$2(ad)||(Object.assign(ad.style,rd),Object.keys(nd).forEach(function(sd){var ud=nd[sd];ud===!1?ad.removeAttribute(sd):ad.setAttribute(sd,ud===!0?"":ud)}))})}function Rt$5(Ra){var qa=Ra.state,td={popper:{position:qa.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(qa.elements.popper.style,td.popper),qa.styles=td,qa.elements.arrow&&Object.assign(qa.elements.arrow.style,td.arrow),function(){Object.keys(qa.elements).forEach(function(rd){var nd=qa.elements[rd],ad=qa.attributes[rd]||{},sd=Object.keys(qa.styles.hasOwnProperty(rd)?qa.styles[rd]:td[rd]),ud=sd.reduce(function(cd,dd){return cd[dd]="",cd},{});!B$3(nd)||!C$2(nd)||(Object.assign(nd.style,ud),Object.keys(ad).forEach(function(cd){nd.removeAttribute(cd)}))})}}var Ae$3={name:"applyStyles",enabled:!0,phase:"write",fn:Mt$4,effect:Rt$5,requires:["computeStyles"]};function q$4(Ra){return Ra.split("-")[0]}var X$5=Math.max,ve$4=Math.min,Z$3=Math.round;function ee$3(Ra,qa){qa===void 0&&(qa=!1);var td=Ra.getBoundingClientRect(),rd=1,nd=1;if(B$3(Ra)&&qa){var ad=Ra.offsetHeight,sd=Ra.offsetWidth;sd>0&&(rd=Z$3(td.width)/sd||1),ad>0&&(nd=Z$3(td.height)/ad||1)}return{width:td.width/rd,height:td.height/nd,top:td.top/nd,right:td.right/rd,bottom:td.bottom/nd,left:td.left/rd,x:td.left/rd,y:td.top/nd}}function ke$4(Ra){var qa=ee$3(Ra),td=Ra.offsetWidth,rd=Ra.offsetHeight;return Math.abs(qa.width-td)<=1&&(td=qa.width),Math.abs(qa.height-rd)<=1&&(rd=qa.height),{x:Ra.offsetLeft,y:Ra.offsetTop,width:td,height:rd}}function it$3(Ra,qa){var td=qa.getRootNode&&qa.getRootNode();if(Ra.contains(qa))return!0;if(td&&Pe$5(td)){var rd=qa;do{if(rd&&Ra.isSameNode(rd))return!0;rd=rd.parentNode||rd.host}while(rd)}return!1}function N$5(Ra){return H$4(Ra).getComputedStyle(Ra)}function Wt$2(Ra){return["table","td","th"].indexOf(C$2(Ra))>=0}function I$2(Ra){return((Q$5(Ra)?Ra.ownerDocument:Ra.document)||window.document).documentElement}function ge$5(Ra){return C$2(Ra)==="html"?Ra:Ra.assignedSlot||Ra.parentNode||(Pe$5(Ra)?Ra.host:null)||I$2(Ra)}function at$5(Ra){return!B$3(Ra)||N$5(Ra).position==="fixed"?null:Ra.offsetParent}function Bt$5(Ra){var qa=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,td=navigator.userAgent.indexOf("Trident")!==-1;if(td&&B$3(Ra)){var rd=N$5(Ra);if(rd.position==="fixed")return null}var nd=ge$5(Ra);for(Pe$5(nd)&&(nd=nd.host);B$3(nd)&&["html","body"].indexOf(C$2(nd))<0;){var ad=N$5(nd);if(ad.transform!=="none"||ad.perspective!=="none"||ad.contain==="paint"||["transform","perspective"].indexOf(ad.willChange)!==-1||qa&&ad.willChange==="filter"||qa&&ad.filter&&ad.filter!=="none")return nd;nd=nd.parentNode}return null}function se$3(Ra){for(var qa=H$4(Ra),td=at$5(Ra);td&&Wt$2(td)&&N$5(td).position==="static";)td=at$5(td);return td&&(C$2(td)==="html"||C$2(td)==="body"&&N$5(td).position==="static")?qa:td||Bt$5(Ra)||qa}function Le$4(Ra){return["top","bottom"].indexOf(Ra)>=0?"x":"y"}function fe$4(Ra,qa,td){return X$5(Ra,ve$4(qa,td))}function St$4(Ra,qa,td){var rd=fe$4(Ra,qa,td);return rd>td?td:rd}function st$3(){return{top:0,right:0,bottom:0,left:0}}function ft$3(Ra){return Object.assign({},st$3(),Ra)}function ct$2(Ra,qa){return qa.reduce(function(td,rd){return td[rd]=Ra,td},{})}var Tt$4=function(Ra,qa){return Ra=typeof Ra=="function"?Ra(Object.assign({},qa.rects,{placement:qa.placement})):Ra,ft$3(typeof Ra!="number"?Ra:ct$2(Ra,G$5))};function Ht$4(Ra){var qa,td=Ra.state,rd=Ra.name,nd=Ra.options,ad=td.elements.arrow,sd=td.modifiersData.popperOffsets,ud=q$4(td.placement),cd=Le$4(ud),dd=[P$4,W$4].indexOf(ud)>=0,pd=dd?"height":"width";if(!(!ad||!sd)){var fd=Tt$4(nd.padding,td),Td=ke$4(ad),Ad=cd==="y"?E$3:P$4,Sd=cd==="y"?R$5:W$4,Dd=td.rects.reference[pd]+td.rects.reference[cd]-sd[cd]-td.rects.popper[pd],Ld=sd[cd]-td.rects.reference[cd],Rd=se$3(ad),Od=Rd?cd==="y"?Rd.clientHeight||0:Rd.clientWidth||0:0,Md=Dd/2-Ld/2,jd=fd[Ad],Ud=Od-Td[pd]-fd[Sd],Hd=Od/2-Td[pd]/2+Md,zd=fe$4(jd,Hd,Ud),Zd=cd;td.modifiersData[rd]=(qa={},qa[Zd]=zd,qa.centerOffset=zd-Hd,qa)}}function Ct$5(Ra){var qa=Ra.state,td=Ra.options,rd=td.element,nd=rd===void 0?"[data-popper-arrow]":rd;nd!=null&&(typeof nd=="string"&&(nd=qa.elements.popper.querySelector(nd),!nd)||!it$3(qa.elements.popper,nd)||(qa.elements.arrow=nd))}var pt$4={name:"arrow",enabled:!0,phase:"main",fn:Ht$4,effect:Ct$5,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function te$4(Ra){return Ra.split("-")[1]}var qt$3={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Vt$4(Ra){var qa=Ra.x,td=Ra.y,rd=window,nd=rd.devicePixelRatio||1;return{x:Z$3(qa*nd)/nd||0,y:Z$3(td*nd)/nd||0}}function ut$2(Ra){var qa,td=Ra.popper,rd=Ra.popperRect,nd=Ra.placement,ad=Ra.variation,sd=Ra.offsets,ud=Ra.position,cd=Ra.gpuAcceleration,dd=Ra.adaptive,pd=Ra.roundOffsets,fd=Ra.isFixed,Td=sd.x,Ad=Td===void 0?0:Td,Sd=sd.y,Dd=Sd===void 0?0:Sd,Ld=typeof pd=="function"?pd({x:Ad,y:Dd}):{x:Ad,y:Dd};Ad=Ld.x,Dd=Ld.y;var Rd=sd.hasOwnProperty("x"),Od=sd.hasOwnProperty("y"),Md=P$4,jd=E$3,Ud=window;if(dd){var Hd=se$3(td),zd="clientHeight",Zd="clientWidth";if(Hd===H$4(td)&&(Hd=I$2(td),N$5(Hd).position!=="static"&&ud==="absolute"&&(zd="scrollHeight",Zd="scrollWidth")),Hd=Hd,nd===E$3||(nd===P$4||nd===W$4)&&ad===J$4){jd=R$5;var Wd=fd&&Hd===Ud&&Ud.visualViewport?Ud.visualViewport.height:Hd[zd];Dd-=Wd-rd.height,Dd*=cd?1:-1}if(nd===P$4||(nd===E$3||nd===R$5)&&ad===J$4){Md=W$4;var Qd=fd&&Hd===Ud&&Ud.visualViewport?Ud.visualViewport.width:Hd[Zd];Ad-=Qd-rd.width,Ad*=cd?1:-1}}var Jd=Object.assign({position:ud},dd&&qt$3),hf=pd===!0?Vt$4({x:Ad,y:Dd}):{x:Ad,y:Dd};if(Ad=hf.x,Dd=hf.y,cd){var bf;return Object.assign({},Jd,(bf={},bf[jd]=Od?"0":"",bf[Md]=Rd?"0":"",bf.transform=(Ud.devicePixelRatio||1)<=1?"translate("+Ad+"px, "+Dd+"px)":"translate3d("+Ad+"px, "+Dd+"px, 0)",bf))}return Object.assign({},Jd,(qa={},qa[jd]=Od?Dd+"px":"",qa[Md]=Rd?Ad+"px":"",qa.transform="",qa))}function Nt$4(Ra){var qa=Ra.state,td=Ra.options,rd=td.gpuAcceleration,nd=rd===void 0?!0:rd,ad=td.adaptive,sd=ad===void 0?!0:ad,ud=td.roundOffsets,cd=ud===void 0?!0:ud,dd={placement:q$4(qa.placement),variation:te$4(qa.placement),popper:qa.elements.popper,popperRect:qa.rects.popper,gpuAcceleration:nd,isFixed:qa.options.strategy==="fixed"};qa.modifiersData.popperOffsets!=null&&(qa.styles.popper=Object.assign({},qa.styles.popper,ut$2(Object.assign({},dd,{offsets:qa.modifiersData.popperOffsets,position:qa.options.strategy,adaptive:sd,roundOffsets:cd})))),qa.modifiersData.arrow!=null&&(qa.styles.arrow=Object.assign({},qa.styles.arrow,ut$2(Object.assign({},dd,{offsets:qa.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:cd})))),qa.attributes.popper=Object.assign({},qa.attributes.popper,{"data-popper-placement":qa.placement})}var Me$6={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Nt$4,data:{}},ye$3={passive:!0};function It$4(Ra){var qa=Ra.state,td=Ra.instance,rd=Ra.options,nd=rd.scroll,ad=nd===void 0?!0:nd,sd=rd.resize,ud=sd===void 0?!0:sd,cd=H$4(qa.elements.popper),dd=[].concat(qa.scrollParents.reference,qa.scrollParents.popper);return ad&&dd.forEach(function(pd){pd.addEventListener("scroll",td.update,ye$3)}),ud&&cd.addEventListener("resize",td.update,ye$3),function(){ad&&dd.forEach(function(pd){pd.removeEventListener("scroll",td.update,ye$3)}),ud&&cd.removeEventListener("resize",td.update,ye$3)}}var Re$6={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:It$4,data:{}},_t$3={left:"right",right:"left",bottom:"top",top:"bottom"};function be$6(Ra){return Ra.replace(/left|right|bottom|top/g,function(qa){return _t$3[qa]})}var zt$2={start:"end",end:"start"};function lt$3(Ra){return Ra.replace(/start|end/g,function(qa){return zt$2[qa]})}function We$2(Ra){var qa=H$4(Ra),td=qa.pageXOffset,rd=qa.pageYOffset;return{scrollLeft:td,scrollTop:rd}}function Be$5(Ra){return ee$3(I$2(Ra)).left+We$2(Ra).scrollLeft}function Ft$5(Ra){var qa=H$4(Ra),td=I$2(Ra),rd=qa.visualViewport,nd=td.clientWidth,ad=td.clientHeight,sd=0,ud=0;return rd&&(nd=rd.width,ad=rd.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(sd=rd.offsetLeft,ud=rd.offsetTop)),{width:nd,height:ad,x:sd+Be$5(Ra),y:ud}}function Ut$3(Ra){var qa,td=I$2(Ra),rd=We$2(Ra),nd=(qa=Ra.ownerDocument)==null?void 0:qa.body,ad=X$5(td.scrollWidth,td.clientWidth,nd?nd.scrollWidth:0,nd?nd.clientWidth:0),sd=X$5(td.scrollHeight,td.clientHeight,nd?nd.scrollHeight:0,nd?nd.clientHeight:0),ud=-rd.scrollLeft+Be$5(Ra),cd=-rd.scrollTop;return N$5(nd||td).direction==="rtl"&&(ud+=X$5(td.clientWidth,nd?nd.clientWidth:0)-ad),{width:ad,height:sd,x:ud,y:cd}}function Se$4(Ra){var qa=N$5(Ra),td=qa.overflow,rd=qa.overflowX,nd=qa.overflowY;return/auto|scroll|overlay|hidden/.test(td+nd+rd)}function dt$4(Ra){return["html","body","#document"].indexOf(C$2(Ra))>=0?Ra.ownerDocument.body:B$3(Ra)&&Se$4(Ra)?Ra:dt$4(ge$5(Ra))}function ce$4(Ra,qa){var td;qa===void 0&&(qa=[]);var rd=dt$4(Ra),nd=rd===((td=Ra.ownerDocument)==null?void 0:td.body),ad=H$4(rd),sd=nd?[ad].concat(ad.visualViewport||[],Se$4(rd)?rd:[]):rd,ud=qa.concat(sd);return nd?ud:ud.concat(ce$4(ge$5(sd)))}function Te$4(Ra){return Object.assign({},Ra,{left:Ra.x,top:Ra.y,right:Ra.x+Ra.width,bottom:Ra.y+Ra.height})}function Xt$4(Ra){var qa=ee$3(Ra);return qa.top=qa.top+Ra.clientTop,qa.left=qa.left+Ra.clientLeft,qa.bottom=qa.top+Ra.clientHeight,qa.right=qa.left+Ra.clientWidth,qa.width=Ra.clientWidth,qa.height=Ra.clientHeight,qa.x=qa.left,qa.y=qa.top,qa}function ht$4(Ra,qa){return qa===je$5?Te$4(Ft$5(Ra)):Q$5(qa)?Xt$4(qa):Te$4(Ut$3(I$2(Ra)))}function Yt$2(Ra){var qa=ce$4(ge$5(Ra)),td=["absolute","fixed"].indexOf(N$5(Ra).position)>=0,rd=td&&B$3(Ra)?se$3(Ra):Ra;return Q$5(rd)?qa.filter(function(nd){return Q$5(nd)&&it$3(nd,rd)&&C$2(nd)!=="body"}):[]}function Gt$4(Ra,qa,td){var rd=qa==="clippingParents"?Yt$2(Ra):[].concat(qa),nd=[].concat(rd,[td]),ad=nd[0],sd=nd.reduce(function(ud,cd){var dd=ht$4(Ra,cd);return ud.top=X$5(dd.top,ud.top),ud.right=ve$4(dd.right,ud.right),ud.bottom=ve$4(dd.bottom,ud.bottom),ud.left=X$5(dd.left,ud.left),ud},ht$4(Ra,ad));return sd.width=sd.right-sd.left,sd.height=sd.bottom-sd.top,sd.x=sd.left,sd.y=sd.top,sd}function mt$4(Ra){var qa=Ra.reference,td=Ra.element,rd=Ra.placement,nd=rd?q$4(rd):null,ad=rd?te$4(rd):null,sd=qa.x+qa.width/2-td.width/2,ud=qa.y+qa.height/2-td.height/2,cd;switch(nd){case E$3:cd={x:sd,y:qa.y-td.height};break;case R$5:cd={x:sd,y:qa.y+qa.height};break;case W$4:cd={x:qa.x+qa.width,y:ud};break;case P$4:cd={x:qa.x-td.width,y:ud};break;default:cd={x:qa.x,y:qa.y}}var dd=nd?Le$4(nd):null;if(dd!=null){var pd=dd==="y"?"height":"width";switch(ad){case U$4:cd[dd]=cd[dd]-(qa[pd]/2-td[pd]/2);break;case J$4:cd[dd]=cd[dd]+(qa[pd]/2-td[pd]/2);break}}return cd}function ne$4(Ra,qa){qa===void 0&&(qa={});var td=qa,rd=td.placement,nd=rd===void 0?Ra.placement:rd,ad=td.boundary,sd=ad===void 0?Xe$3:ad,ud=td.rootBoundary,cd=ud===void 0?je$5:ud,dd=td.elementContext,pd=dd===void 0?K$4:dd,fd=td.altBoundary,Td=fd===void 0?!1:fd,Ad=td.padding,Sd=Ad===void 0?0:Ad,Dd=ft$3(typeof Sd!="number"?Sd:ct$2(Sd,G$5)),Ld=pd===K$4?Ye$3:K$4,Rd=Ra.rects.popper,Od=Ra.elements[Td?Ld:pd],Md=Gt$4(Q$5(Od)?Od:Od.contextElement||I$2(Ra.elements.popper),sd,cd),jd=ee$3(Ra.elements.reference),Ud=mt$4({reference:jd,element:Rd,strategy:"absolute",placement:nd}),Hd=Te$4(Object.assign({},Rd,Ud)),zd=pd===K$4?Hd:jd,Zd={top:Md.top-zd.top+Dd.top,bottom:zd.bottom-Md.bottom+Dd.bottom,left:Md.left-zd.left+Dd.left,right:zd.right-Md.right+Dd.right},Wd=Ra.modifiersData.offset;if(pd===K$4&&Wd){var Qd=Wd[nd];Object.keys(Zd).forEach(function(Jd){var hf=[W$4,R$5].indexOf(Jd)>=0?1:-1,bf=[E$3,R$5].indexOf(Jd)>=0?"y":"x";Zd[Jd]+=Qd[bf]*hf})}return Zd}function Jt$4(Ra,qa){qa===void 0&&(qa={});var td=qa,rd=td.placement,nd=td.boundary,ad=td.rootBoundary,sd=td.padding,ud=td.flipVariations,cd=td.allowedAutoPlacements,dd=cd===void 0?Ee$4:cd,pd=te$4(rd),fd=pd?ud?De$3:De$3.filter(function(Sd){return te$4(Sd)===pd}):G$5,Td=fd.filter(function(Sd){return dd.indexOf(Sd)>=0});Td.length===0&&(Td=fd);var Ad=Td.reduce(function(Sd,Dd){return Sd[Dd]=ne$4(Ra,{placement:Dd,boundary:nd,rootBoundary:ad,padding:sd})[q$4(Dd)],Sd},{});return Object.keys(Ad).sort(function(Sd,Dd){return Ad[Sd]-Ad[Dd]})}function Kt$2(Ra){if(q$4(Ra)===me$2)return[];var qa=be$6(Ra);return[lt$3(Ra),qa,lt$3(qa)]}function Qt$3(Ra){var qa=Ra.state,td=Ra.options,rd=Ra.name;if(!qa.modifiersData[rd]._skip){for(var nd=td.mainAxis,ad=nd===void 0?!0:nd,sd=td.altAxis,ud=sd===void 0?!0:sd,cd=td.fallbackPlacements,dd=td.padding,pd=td.boundary,fd=td.rootBoundary,Td=td.altBoundary,Ad=td.flipVariations,Sd=Ad===void 0?!0:Ad,Dd=td.allowedAutoPlacements,Ld=qa.options.placement,Rd=q$4(Ld),Od=Rd===Ld,Md=cd||(Od||!Sd?[be$6(Ld)]:Kt$2(Ld)),jd=[Ld].concat(Md).reduce(function($f,Zf){return $f.concat(q$4(Zf)===me$2?Jt$4(qa,{placement:Zf,boundary:pd,rootBoundary:fd,padding:dd,flipVariations:Sd,allowedAutoPlacements:Dd}):Zf)},[]),Ud=qa.rects.reference,Hd=qa.rects.popper,zd=new Map,Zd=!0,Wd=jd[0],Qd=0;Qd=0,_f=Ef?"width":"height",vf=ne$4(qa,{placement:Jd,boundary:pd,rootBoundary:fd,altBoundary:Td,padding:dd}),xf=Ef?bf?W$4:P$4:bf?R$5:E$3;Ud[_f]>Hd[_f]&&(xf=be$6(xf));var Bf=be$6(xf),Yf=[];if(ad&&Yf.push(vf[hf]<=0),ud&&Yf.push(vf[xf]<=0,vf[Bf]<=0),Yf.every(function($f){return $f})){Wd=Jd,Zd=!1;break}zd.set(Jd,Yf)}if(Zd)for(var eh=Sd?3:1,Vf=function($f){var Zf=jd.find(function(Kf){var Tf=zd.get(Kf);if(Tf)return Tf.slice(0,$f).every(function(gf){return gf})});if(Zf)return Wd=Zf,"break"},Pf=eh;Pf>0;Pf--){var If=Vf(Pf);if(If==="break")break}qa.placement!==Wd&&(qa.modifiersData[rd]._skip=!0,qa.placement=Wd,qa.reset=!0)}}var vt$4={name:"flip",enabled:!0,phase:"main",fn:Qt$3,requiresIfExists:["offset"],data:{_skip:!1}};function gt$3(Ra,qa,td){return td===void 0&&(td={x:0,y:0}),{top:Ra.top-qa.height-td.y,right:Ra.right-qa.width+td.x,bottom:Ra.bottom-qa.height+td.y,left:Ra.left-qa.width-td.x}}function yt$3(Ra){return[E$3,W$4,R$5,P$4].some(function(qa){return Ra[qa]>=0})}function Zt$3(Ra){var qa=Ra.state,td=Ra.name,rd=qa.rects.reference,nd=qa.rects.popper,ad=qa.modifiersData.preventOverflow,sd=ne$4(qa,{elementContext:"reference"}),ud=ne$4(qa,{altBoundary:!0}),cd=gt$3(sd,rd),dd=gt$3(ud,nd,ad),pd=yt$3(cd),fd=yt$3(dd);qa.modifiersData[td]={referenceClippingOffsets:cd,popperEscapeOffsets:dd,isReferenceHidden:pd,hasPopperEscaped:fd},qa.attributes.popper=Object.assign({},qa.attributes.popper,{"data-popper-reference-hidden":pd,"data-popper-escaped":fd})}var bt$5={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Zt$3};function en$3(Ra,qa,td){var rd=q$4(Ra),nd=[P$4,E$3].indexOf(rd)>=0?-1:1,ad=typeof td=="function"?td(Object.assign({},qa,{placement:Ra})):td,sd=ad[0],ud=ad[1];return sd=sd||0,ud=(ud||0)*nd,[P$4,W$4].indexOf(rd)>=0?{x:ud,y:sd}:{x:sd,y:ud}}function tn$4(Ra){var qa=Ra.state,td=Ra.options,rd=Ra.name,nd=td.offset,ad=nd===void 0?[0,0]:nd,sd=Ee$4.reduce(function(pd,fd){return pd[fd]=en$3(fd,qa.rects,ad),pd},{}),ud=sd[qa.placement],cd=ud.x,dd=ud.y;qa.modifiersData.popperOffsets!=null&&(qa.modifiersData.popperOffsets.x+=cd,qa.modifiersData.popperOffsets.y+=dd),qa.modifiersData[rd]=sd}var wt$3={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:tn$4};function nn$3(Ra){var qa=Ra.state,td=Ra.name;qa.modifiersData[td]=mt$4({reference:qa.rects.reference,element:qa.rects.popper,strategy:"absolute",placement:qa.placement})}var He$3={name:"popperOffsets",enabled:!0,phase:"read",fn:nn$3,data:{}};function rn$3(Ra){return Ra==="x"?"y":"x"}function on$2(Ra){var qa=Ra.state,td=Ra.options,rd=Ra.name,nd=td.mainAxis,ad=nd===void 0?!0:nd,sd=td.altAxis,ud=sd===void 0?!1:sd,cd=td.boundary,dd=td.rootBoundary,pd=td.altBoundary,fd=td.padding,Td=td.tether,Ad=Td===void 0?!0:Td,Sd=td.tetherOffset,Dd=Sd===void 0?0:Sd,Ld=ne$4(qa,{boundary:cd,rootBoundary:dd,padding:fd,altBoundary:pd}),Rd=q$4(qa.placement),Od=te$4(qa.placement),Md=!Od,jd=Le$4(Rd),Ud=rn$3(jd),Hd=qa.modifiersData.popperOffsets,zd=qa.rects.reference,Zd=qa.rects.popper,Wd=typeof Dd=="function"?Dd(Object.assign({},qa.rects,{placement:qa.placement})):Dd,Qd=typeof Wd=="number"?{mainAxis:Wd,altAxis:Wd}:Object.assign({mainAxis:0,altAxis:0},Wd),Jd=qa.modifiersData.offset?qa.modifiersData.offset[qa.placement]:null,hf={x:0,y:0};if(Hd){if(ad){var bf,Ef=jd==="y"?E$3:P$4,_f=jd==="y"?R$5:W$4,vf=jd==="y"?"height":"width",xf=Hd[jd],Bf=xf+Ld[Ef],Yf=xf-Ld[_f],eh=Ad?-Zd[vf]/2:0,Vf=Od===U$4?zd[vf]:Zd[vf],Pf=Od===U$4?-Zd[vf]:-zd[vf],If=qa.elements.arrow,$f=Ad&&If?ke$4(If):{width:0,height:0},Zf=qa.modifiersData["arrow#persistent"]?qa.modifiersData["arrow#persistent"].padding:st$3(),Kf=Zf[Ef],Tf=Zf[_f],gf=fe$4(0,zd[vf],$f[vf]),Mf=Md?zd[vf]/2-eh-gf-Kf-Qd.mainAxis:Vf-gf-Kf-Qd.mainAxis,Gf=Md?-zd[vf]/2+eh+gf+Tf+Qd.mainAxis:Pf+gf+Tf+Qd.mainAxis,Qf=qa.elements.arrow&&se$3(qa.elements.arrow),Uf=Qf?jd==="y"?Qf.clientTop||0:Qf.clientLeft||0:0,Df=(bf=Jd==null?void 0:Jd[jd])!=null?bf:0,Xf=xf+Mf-Df-Uf,dh=xf+Gf-Df,qf=fe$4(Ad?ve$4(Bf,Xf):Bf,xf,Ad?X$5(Yf,dh):Yf);Hd[jd]=qf,hf[jd]=qf-xf}if(ud){var wf,Rf=jd==="x"?E$3:P$4,jf=jd==="x"?R$5:W$4,lh=Hd[Ud],_h=Ud==="y"?"height":"width",ih=lh+Ld[Rf],wh=lh-Ld[jf],hh=[E$3,P$4].indexOf(Rd)!==-1,Th=(wf=Jd==null?void 0:Jd[Ud])!=null?wf:0,Vh=hh?ih:lh-zd[_h]-Zd[_h]-Th+Qd.altAxis,Bh=hh?lh+zd[_h]+Zd[_h]-Th-Qd.altAxis:wh,Yh=Ad&&hh?St$4(Vh,lh,Bh):fe$4(Ad?Vh:ih,lh,Ad?Bh:wh);Hd[Ud]=Yh,hf[Ud]=Yh-lh}qa.modifiersData[rd]=hf}}var xt$1={name:"preventOverflow",enabled:!0,phase:"main",fn:on$2,requiresIfExists:["offset"]};function an$3(Ra){return{scrollLeft:Ra.scrollLeft,scrollTop:Ra.scrollTop}}function sn$2(Ra){return Ra===H$4(Ra)||!B$3(Ra)?We$2(Ra):an$3(Ra)}function fn$3(Ra){var qa=Ra.getBoundingClientRect(),td=Z$3(qa.width)/Ra.offsetWidth||1,rd=Z$3(qa.height)/Ra.offsetHeight||1;return td!==1||rd!==1}function cn$4(Ra,qa,td){td===void 0&&(td=!1);var rd=B$3(qa),nd=B$3(qa)&&fn$3(qa),ad=I$2(qa),sd=ee$3(Ra,nd),ud={scrollLeft:0,scrollTop:0},cd={x:0,y:0};return(rd||!rd&&!td)&&((C$2(qa)!=="body"||Se$4(ad))&&(ud=sn$2(qa)),B$3(qa)?(cd=ee$3(qa,!0),cd.x+=qa.clientLeft,cd.y+=qa.clientTop):ad&&(cd.x=Be$5(ad))),{x:sd.left+ud.scrollLeft-cd.x,y:sd.top+ud.scrollTop-cd.y,width:sd.width,height:sd.height}}function pn$3(Ra){var qa=new Map,td=new Set,rd=[];Ra.forEach(function(ad){qa.set(ad.name,ad)});function nd(ad){td.add(ad.name);var sd=[].concat(ad.requires||[],ad.requiresIfExists||[]);sd.forEach(function(ud){if(!td.has(ud)){var cd=qa.get(ud);cd&&nd(cd)}}),rd.push(ad)}return Ra.forEach(function(ad){td.has(ad.name)||nd(ad)}),rd}function un$3(Ra){var qa=pn$3(Ra);return ot$3.reduce(function(td,rd){return td.concat(qa.filter(function(nd){return nd.phase===rd}))},[])}function ln$3(Ra){var qa;return function(){return qa||(qa=new Promise(function(td){Promise.resolve().then(function(){qa=void 0,td(Ra())})})),qa}}function dn$4(Ra){var qa=Ra.reduce(function(td,rd){var nd=td[rd.name];return td[rd.name]=nd?Object.assign({},nd,rd,{options:Object.assign({},nd.options,rd.options),data:Object.assign({},nd.data,rd.data)}):rd,td},{});return Object.keys(qa).map(function(td){return qa[td]})}var Ot$4={placement:"bottom",modifiers:[],strategy:"absolute"};function $t$4(){for(var Ra=arguments.length,qa=new Array(Ra),td=0;td{const rd={name:"updateState",enabled:!0,phase:"write",fn:({state:cd})=>{const dd=deriveState(cd);Object.assign(sd.value,dd)},requires:["computeStyles"]},nd=computed(()=>{const{onFirstUpdate:cd,placement:dd,strategy:pd,modifiers:fd}=unref(td);return{onFirstUpdate:cd,placement:dd||"bottom",strategy:pd||"absolute",modifiers:[...fd||[],rd,{name:"applyStyles",enabled:!1}]}}),ad=shallowRef(),sd=ref$1({styles:{popper:{position:unref(nd).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),ud=()=>{ad.value&&(ad.value.destroy(),ad.value=void 0)};return watch(nd,cd=>{const dd=unref(ad);dd&&dd.setOptions(cd)},{deep:!0}),watch([Ra,qa],([cd,dd])=>{ud(),!(!cd||!dd)&&(ad.value=yn$4(cd,dd,unref(nd)))}),onBeforeUnmount(()=>{ud()}),{state:computed(()=>{var cd;return{...((cd=unref(ad))==null?void 0:cd.state)||{}}}),styles:computed(()=>unref(sd).styles),attributes:computed(()=>unref(sd).attributes),update:()=>{var cd;return(cd=unref(ad))==null?void 0:cd.update()},forceUpdate:()=>{var cd;return(cd=unref(ad))==null?void 0:cd.forceUpdate()},instanceRef:computed(()=>unref(ad))}};function deriveState(Ra){const qa=Object.keys(Ra.elements),td=fromPairs(qa.map(nd=>[nd,Ra.styles[nd]||{}])),rd=fromPairs(qa.map(nd=>[nd,Ra.attributes[nd]]));return{styles:td,attributes:rd}}const useSameTarget=Ra=>{if(!Ra)return{onClick:NOOP,onMousedown:NOOP,onMouseup:NOOP};let qa=!1,td=!1;return{onClick:sd=>{qa&&td&&Ra(sd),qa=td=!1},onMousedown:sd=>{qa=sd.target===sd.currentTarget},onMouseup:sd=>{td=sd.target===sd.currentTarget}}};function useTimeout(){let Ra;const qa=(rd,nd)=>{td(),Ra=window.setTimeout(rd,nd)},td=()=>window.clearTimeout(Ra);return tryOnScopeDispose$1(()=>td()),{registerTimeout:qa,cancelTimeout:td}}const defaultIdInjection={prefix:Math.floor(Math.random()*1e4),current:0},ID_INJECTION_KEY=Symbol("elIdInjection"),useIdInjection=()=>getCurrentInstance()?inject(ID_INJECTION_KEY,defaultIdInjection):defaultIdInjection,useId=Ra=>{const qa=useIdInjection(),td=useGetDerivedNamespace();return computed(()=>unref(Ra)||`${td.value}-id-${qa.prefix}-${qa.current++}`)};let registeredEscapeHandlers=[];const cachedHandler=Ra=>{const qa=Ra;qa.key===EVENT_CODE.esc&®isteredEscapeHandlers.forEach(td=>td(qa))},useEscapeKeydown=Ra=>{onMounted(()=>{registeredEscapeHandlers.length===0&&document.addEventListener("keydown",cachedHandler),isClient$1&®isteredEscapeHandlers.push(Ra)}),onBeforeUnmount(()=>{registeredEscapeHandlers=registeredEscapeHandlers.filter(qa=>qa!==Ra),registeredEscapeHandlers.length===0&&isClient$1&&document.removeEventListener("keydown",cachedHandler)})};let cachedContainer;const usePopperContainerId=()=>{const Ra=useGetDerivedNamespace(),qa=useIdInjection(),td=computed(()=>`${Ra.value}-popper-container-${qa.prefix}`),rd=computed(()=>`#${td.value}`);return{id:td,selector:rd}},createContainer=Ra=>{const qa=document.createElement("div");return qa.id=Ra,document.body.appendChild(qa),qa},usePopperContainer=()=>{const{id:Ra,selector:qa}=usePopperContainerId();return onBeforeMount(()=>{isClient$1&&(!cachedContainer||!document.body.querySelector(qa.value))&&(cachedContainer=createContainer(Ra.value))}),{id:Ra,selector:qa}},useDelayedToggleProps=buildProps({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),useDelayedToggle=({showAfter:Ra,hideAfter:qa,autoClose:td,open:rd,close:nd})=>{const{registerTimeout:ad}=useTimeout(),{registerTimeout:sd,cancelTimeout:ud}=useTimeout();return{onOpen:pd=>{ad(()=>{rd(pd);const fd=unref(td);isNumber$4(fd)&&fd>0&&sd(()=>{nd(pd)},fd)},unref(Ra))},onClose:pd=>{ud(),ad(()=>{nd(pd)},unref(qa))}}},FORWARD_REF_INJECTION_KEY=Symbol("elForwardRef"),useForwardRef=Ra=>{provide(FORWARD_REF_INJECTION_KEY,{setForwardRef:td=>{Ra.value=td}})},useForwardRefDirective=Ra=>({mounted(qa){Ra(qa)},updated(qa){Ra(qa)},unmounted(){Ra(null)}}),initial={current:0},zIndex=ref$1(0),defaultInitialZIndex=2e3,ZINDEX_INJECTION_KEY=Symbol("elZIndexContextKey"),zIndexContextKey=Symbol("zIndexContextKey"),useZIndex=Ra=>{const qa=getCurrentInstance()?inject(ZINDEX_INJECTION_KEY,initial):initial,td=Ra||(getCurrentInstance()?inject(zIndexContextKey,void 0):void 0),rd=computed(()=>{const sd=unref(td);return isNumber$4(sd)?sd:defaultInitialZIndex}),nd=computed(()=>rd.value+zIndex.value),ad=()=>(qa.current++,zIndex.value=qa.current,nd.value);return!isClient$1&&inject(ZINDEX_INJECTION_KEY),{initialZIndex:rd,currentZIndex:nd,nextZIndex:ad}},sides=["top","right","bottom","left"],min$1=Math.min,max$2=Math.max,round=Math.round,floor=Math.floor,createCoords=Ra=>({x:Ra,y:Ra}),oppositeSideMap={left:"right",right:"left",bottom:"top",top:"bottom"},oppositeAlignmentMap={start:"end",end:"start"};function clamp(Ra,qa,td){return max$2(Ra,min$1(qa,td))}function evaluate$1(Ra,qa){return typeof Ra=="function"?Ra(qa):Ra}function getSide(Ra){return Ra.split("-")[0]}function getAlignment(Ra){return Ra.split("-")[1]}function getOppositeAxis(Ra){return Ra==="x"?"y":"x"}function getAxisLength(Ra){return Ra==="y"?"height":"width"}function getSideAxis(Ra){return["top","bottom"].includes(getSide(Ra))?"y":"x"}function getAlignmentAxis(Ra){return getOppositeAxis(getSideAxis(Ra))}function getAlignmentSides(Ra,qa,td){td===void 0&&(td=!1);const rd=getAlignment(Ra),nd=getAlignmentAxis(Ra),ad=getAxisLength(nd);let sd=nd==="x"?rd===(td?"end":"start")?"right":"left":rd==="start"?"bottom":"top";return qa.reference[ad]>qa.floating[ad]&&(sd=getOppositePlacement(sd)),[sd,getOppositePlacement(sd)]}function getExpandedPlacements(Ra){const qa=getOppositePlacement(Ra);return[getOppositeAlignmentPlacement(Ra),qa,getOppositeAlignmentPlacement(qa)]}function getOppositeAlignmentPlacement(Ra){return Ra.replace(/start|end/g,qa=>oppositeAlignmentMap[qa])}function getSideList(Ra,qa,td){const rd=["left","right"],nd=["right","left"],ad=["top","bottom"],sd=["bottom","top"];switch(Ra){case"top":case"bottom":return td?qa?nd:rd:qa?rd:nd;case"left":case"right":return qa?ad:sd;default:return[]}}function getOppositeAxisPlacements(Ra,qa,td,rd){const nd=getAlignment(Ra);let ad=getSideList(getSide(Ra),td==="start",rd);return nd&&(ad=ad.map(sd=>sd+"-"+nd),qa&&(ad=ad.concat(ad.map(getOppositeAlignmentPlacement)))),ad}function getOppositePlacement(Ra){return Ra.replace(/left|right|bottom|top/g,qa=>oppositeSideMap[qa])}function expandPaddingObject(Ra){return{top:0,right:0,bottom:0,left:0,...Ra}}function getPaddingObject(Ra){return typeof Ra!="number"?expandPaddingObject(Ra):{top:Ra,right:Ra,bottom:Ra,left:Ra}}function rectToClientRect(Ra){const{x:qa,y:td,width:rd,height:nd}=Ra;return{width:rd,height:nd,top:td,left:qa,right:qa+rd,bottom:td+nd,x:qa,y:td}}function computeCoordsFromPlacement(Ra,qa,td){let{reference:rd,floating:nd}=Ra;const ad=getSideAxis(qa),sd=getAlignmentAxis(qa),ud=getAxisLength(sd),cd=getSide(qa),dd=ad==="y",pd=rd.x+rd.width/2-nd.width/2,fd=rd.y+rd.height/2-nd.height/2,Td=rd[ud]/2-nd[ud]/2;let Ad;switch(cd){case"top":Ad={x:pd,y:rd.y-nd.height};break;case"bottom":Ad={x:pd,y:rd.y+rd.height};break;case"right":Ad={x:rd.x+rd.width,y:fd};break;case"left":Ad={x:rd.x-nd.width,y:fd};break;default:Ad={x:rd.x,y:rd.y}}switch(getAlignment(qa)){case"start":Ad[sd]-=Td*(td&&dd?-1:1);break;case"end":Ad[sd]+=Td*(td&&dd?-1:1);break}return Ad}const computePosition$1=async(Ra,qa,td)=>{const{placement:rd="bottom",strategy:nd="absolute",middleware:ad=[],platform:sd}=td,ud=ad.filter(Boolean),cd=await(sd.isRTL==null?void 0:sd.isRTL(qa));let dd=await sd.getElementRects({reference:Ra,floating:qa,strategy:nd}),{x:pd,y:fd}=computeCoordsFromPlacement(dd,rd,cd),Td=rd,Ad={},Sd=0;for(let Dd=0;Dd({name:"arrow",options:Ra,async fn(qa){const{x:td,y:rd,placement:nd,rects:ad,platform:sd,elements:ud,middlewareData:cd}=qa,{element:dd,padding:pd=0}=evaluate$1(Ra,qa)||{};if(dd==null)return{};const fd=getPaddingObject(pd),Td={x:td,y:rd},Ad=getAlignmentAxis(nd),Sd=getAxisLength(Ad),Dd=await sd.getDimensions(dd),Ld=Ad==="y",Rd=Ld?"top":"left",Od=Ld?"bottom":"right",Md=Ld?"clientHeight":"clientWidth",jd=ad.reference[Sd]+ad.reference[Ad]-Td[Ad]-ad.floating[Sd],Ud=Td[Ad]-ad.reference[Ad],Hd=await(sd.getOffsetParent==null?void 0:sd.getOffsetParent(dd));let zd=Hd?Hd[Md]:0;(!zd||!await(sd.isElement==null?void 0:sd.isElement(Hd)))&&(zd=ud.floating[Md]||ad.floating[Sd]);const Zd=jd/2-Ud/2,Wd=zd/2-Dd[Sd]/2-1,Qd=min$1(fd[Rd],Wd),Jd=min$1(fd[Od],Wd),hf=Qd,bf=zd-Dd[Sd]-Jd,Ef=zd/2-Dd[Sd]/2+Zd,_f=clamp(hf,Ef,bf),vf=!cd.arrow&&getAlignment(nd)!=null&&Ef!==_f&&ad.reference[Sd]/2-(EfEf<=0)){var Jd,hf;const Ef=(((Jd=ad.flip)==null?void 0:Jd.index)||0)+1,_f=zd[Ef];if(_f)return{data:{index:Ef,overflows:Qd},reset:{placement:_f}};let vf=(hf=Qd.filter(xf=>xf.overflows[0]<=0).sort((xf,Bf)=>xf.overflows[1]-Bf.overflows[1])[0])==null?void 0:hf.placement;if(!vf)switch(Ad){case"bestFit":{var bf;const xf=(bf=Qd.filter(Bf=>{if(Hd){const Yf=getSideAxis(Bf.placement);return Yf===Od||Yf==="y"}return!0}).map(Bf=>[Bf.placement,Bf.overflows.filter(Yf=>Yf>0).reduce((Yf,eh)=>Yf+eh,0)]).sort((Bf,Yf)=>Bf[1]-Yf[1])[0])==null?void 0:bf[0];xf&&(vf=xf);break}case"initialPlacement":vf=ud;break}if(nd!==vf)return{reset:{placement:vf}}}return{}}}};function getSideOffsets(Ra,qa){return{top:Ra.top-qa.height,right:Ra.right-qa.width,bottom:Ra.bottom-qa.height,left:Ra.left-qa.width}}function isAnySideFullyClipped(Ra){return sides.some(qa=>Ra[qa]>=0)}const hide$1=function(Ra){return Ra===void 0&&(Ra={}),{name:"hide",options:Ra,async fn(qa){const{rects:td}=qa,{strategy:rd="referenceHidden",...nd}=evaluate$1(Ra,qa);switch(rd){case"referenceHidden":{const ad=await detectOverflow(qa,{...nd,elementContext:"reference"}),sd=getSideOffsets(ad,td.reference);return{data:{referenceHiddenOffsets:sd,referenceHidden:isAnySideFullyClipped(sd)}}}case"escaped":{const ad=await detectOverflow(qa,{...nd,altBoundary:!0}),sd=getSideOffsets(ad,td.floating);return{data:{escapedOffsets:sd,escaped:isAnySideFullyClipped(sd)}}}default:return{}}}}};async function convertValueToCoords(Ra,qa){const{placement:td,platform:rd,elements:nd}=Ra,ad=await(rd.isRTL==null?void 0:rd.isRTL(nd.floating)),sd=getSide(td),ud=getAlignment(td),cd=getSideAxis(td)==="y",dd=["left","top"].includes(sd)?-1:1,pd=ad&&cd?-1:1,fd=evaluate$1(qa,Ra);let{mainAxis:Td,crossAxis:Ad,alignmentAxis:Sd}=typeof fd=="number"?{mainAxis:fd,crossAxis:0,alignmentAxis:null}:{mainAxis:fd.mainAxis||0,crossAxis:fd.crossAxis||0,alignmentAxis:fd.alignmentAxis};return ud&&typeof Sd=="number"&&(Ad=ud==="end"?Sd*-1:Sd),cd?{x:Ad*pd,y:Td*dd}:{x:Td*dd,y:Ad*pd}}const offset$1=function(Ra){return Ra===void 0&&(Ra=0),{name:"offset",options:Ra,async fn(qa){var td,rd;const{x:nd,y:ad,placement:sd,middlewareData:ud}=qa,cd=await convertValueToCoords(qa,Ra);return sd===((td=ud.offset)==null?void 0:td.placement)&&(rd=ud.arrow)!=null&&rd.alignmentOffset?{}:{x:nd+cd.x,y:ad+cd.y,data:{...cd,placement:sd}}}}},shift$1=function(Ra){return Ra===void 0&&(Ra={}),{name:"shift",options:Ra,async fn(qa){const{x:td,y:rd,placement:nd}=qa,{mainAxis:ad=!0,crossAxis:sd=!1,limiter:ud={fn:Ld=>{let{x:Rd,y:Od}=Ld;return{x:Rd,y:Od}}},...cd}=evaluate$1(Ra,qa),dd={x:td,y:rd},pd=await detectOverflow(qa,cd),fd=getSideAxis(getSide(nd)),Td=getOppositeAxis(fd);let Ad=dd[Td],Sd=dd[fd];if(ad){const Ld=Td==="y"?"top":"left",Rd=Td==="y"?"bottom":"right",Od=Ad+pd[Ld],Md=Ad-pd[Rd];Ad=clamp(Od,Ad,Md)}if(sd){const Ld=fd==="y"?"top":"left",Rd=fd==="y"?"bottom":"right",Od=Sd+pd[Ld],Md=Sd-pd[Rd];Sd=clamp(Od,Sd,Md)}const Dd=ud.fn({...qa,[Td]:Ad,[fd]:Sd});return{...Dd,data:{x:Dd.x-td,y:Dd.y-rd,enabled:{[Td]:ad,[fd]:sd}}}}}},limitShift$1=function(Ra){return Ra===void 0&&(Ra={}),{options:Ra,fn(qa){const{x:td,y:rd,placement:nd,rects:ad,middlewareData:sd}=qa,{offset:ud=0,mainAxis:cd=!0,crossAxis:dd=!0}=evaluate$1(Ra,qa),pd={x:td,y:rd},fd=getSideAxis(nd),Td=getOppositeAxis(fd);let Ad=pd[Td],Sd=pd[fd];const Dd=evaluate$1(ud,qa),Ld=typeof Dd=="number"?{mainAxis:Dd,crossAxis:0}:{mainAxis:0,crossAxis:0,...Dd};if(cd){const Md=Td==="y"?"height":"width",jd=ad.reference[Td]-ad.floating[Md]+Ld.mainAxis,Ud=ad.reference[Td]+ad.reference[Md]-Ld.mainAxis;AdUd&&(Ad=Ud)}if(dd){var Rd,Od;const Md=Td==="y"?"width":"height",jd=["top","left"].includes(getSide(nd)),Ud=ad.reference[fd]-ad.floating[Md]+(jd&&((Rd=sd.offset)==null?void 0:Rd[fd])||0)+(jd?0:Ld.crossAxis),Hd=ad.reference[fd]+ad.reference[Md]+(jd?0:((Od=sd.offset)==null?void 0:Od[fd])||0)-(jd?Ld.crossAxis:0);SdHd&&(Sd=Hd)}return{[Td]:Ad,[fd]:Sd}}}},size$1=function(Ra){return Ra===void 0&&(Ra={}),{name:"size",options:Ra,async fn(qa){var td,rd;const{placement:nd,rects:ad,platform:sd,elements:ud}=qa,{apply:cd=()=>{},...dd}=evaluate$1(Ra,qa),pd=await detectOverflow(qa,dd),fd=getSide(nd),Td=getAlignment(nd),Ad=getSideAxis(nd)==="y",{width:Sd,height:Dd}=ad.floating;let Ld,Rd;fd==="top"||fd==="bottom"?(Ld=fd,Rd=Td===(await(sd.isRTL==null?void 0:sd.isRTL(ud.floating))?"start":"end")?"left":"right"):(Rd=fd,Ld=Td==="end"?"top":"bottom");const Od=Dd-pd.top-pd.bottom,Md=Sd-pd.left-pd.right,jd=min$1(Dd-pd[Ld],Od),Ud=min$1(Sd-pd[Rd],Md),Hd=!qa.middlewareData.shift;let zd=jd,Zd=Ud;if((td=qa.middlewareData.shift)!=null&&td.enabled.x&&(Zd=Md),(rd=qa.middlewareData.shift)!=null&&rd.enabled.y&&(zd=Od),Hd&&!Td){const Qd=max$2(pd.left,0),Jd=max$2(pd.right,0),hf=max$2(pd.top,0),bf=max$2(pd.bottom,0);Ad?Zd=Sd-2*(Qd!==0||Jd!==0?Qd+Jd:max$2(pd.left,pd.right)):zd=Dd-2*(hf!==0||bf!==0?hf+bf:max$2(pd.top,pd.bottom))}await cd({...qa,availableWidth:Zd,availableHeight:zd});const Wd=await sd.getDimensions(ud.floating);return Sd!==Wd.width||Dd!==Wd.height?{reset:{rects:!0}}:{}}}};function hasWindow(){return typeof window<"u"}function getNodeName(Ra){return isNode$2(Ra)?(Ra.nodeName||"").toLowerCase():"#document"}function getWindow(Ra){var qa;return(Ra==null||(qa=Ra.ownerDocument)==null?void 0:qa.defaultView)||window}function getDocumentElement(Ra){var qa;return(qa=(isNode$2(Ra)?Ra.ownerDocument:Ra.document)||window.document)==null?void 0:qa.documentElement}function isNode$2(Ra){return hasWindow()?Ra instanceof Node||Ra instanceof getWindow(Ra).Node:!1}function isElement$1(Ra){return hasWindow()?Ra instanceof Element||Ra instanceof getWindow(Ra).Element:!1}function isHTMLElement(Ra){return hasWindow()?Ra instanceof HTMLElement||Ra instanceof getWindow(Ra).HTMLElement:!1}function isShadowRoot(Ra){return!hasWindow()||typeof ShadowRoot>"u"?!1:Ra instanceof ShadowRoot||Ra instanceof getWindow(Ra).ShadowRoot}function isOverflowElement(Ra){const{overflow:qa,overflowX:td,overflowY:rd,display:nd}=getComputedStyle$1(Ra);return/auto|scroll|overlay|hidden|clip/.test(qa+rd+td)&&!["inline","contents"].includes(nd)}function isTableElement(Ra){return["table","td","th"].includes(getNodeName(Ra))}function isTopLayer(Ra){return[":popover-open",":modal"].some(qa=>{try{return Ra.matches(qa)}catch{return!1}})}function isContainingBlock(Ra){const qa=isWebKit(),td=isElement$1(Ra)?getComputedStyle$1(Ra):Ra;return td.transform!=="none"||td.perspective!=="none"||(td.containerType?td.containerType!=="normal":!1)||!qa&&(td.backdropFilter?td.backdropFilter!=="none":!1)||!qa&&(td.filter?td.filter!=="none":!1)||["transform","perspective","filter"].some(rd=>(td.willChange||"").includes(rd))||["paint","layout","strict","content"].some(rd=>(td.contain||"").includes(rd))}function getContainingBlock(Ra){let qa=getParentNode(Ra);for(;isHTMLElement(qa)&&!isLastTraversableNode(qa);){if(isContainingBlock(qa))return qa;if(isTopLayer(qa))return null;qa=getParentNode(qa)}return null}function isWebKit(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function isLastTraversableNode(Ra){return["html","body","#document"].includes(getNodeName(Ra))}function getComputedStyle$1(Ra){return getWindow(Ra).getComputedStyle(Ra)}function getNodeScroll(Ra){return isElement$1(Ra)?{scrollLeft:Ra.scrollLeft,scrollTop:Ra.scrollTop}:{scrollLeft:Ra.scrollX,scrollTop:Ra.scrollY}}function getParentNode(Ra){if(getNodeName(Ra)==="html")return Ra;const qa=Ra.assignedSlot||Ra.parentNode||isShadowRoot(Ra)&&Ra.host||getDocumentElement(Ra);return isShadowRoot(qa)?qa.host:qa}function getNearestOverflowAncestor(Ra){const qa=getParentNode(Ra);return isLastTraversableNode(qa)?Ra.ownerDocument?Ra.ownerDocument.body:Ra.body:isHTMLElement(qa)&&isOverflowElement(qa)?qa:getNearestOverflowAncestor(qa)}function getOverflowAncestors(Ra,qa,td){var rd;qa===void 0&&(qa=[]),td===void 0&&(td=!0);const nd=getNearestOverflowAncestor(Ra),ad=nd===((rd=Ra.ownerDocument)==null?void 0:rd.body),sd=getWindow(nd);if(ad){const ud=getFrameElement(sd);return qa.concat(sd,sd.visualViewport||[],isOverflowElement(nd)?nd:[],ud&&td?getOverflowAncestors(ud):[])}return qa.concat(nd,getOverflowAncestors(nd,[],td))}function getFrameElement(Ra){return Ra.parent&&Object.getPrototypeOf(Ra.parent)?Ra.frameElement:null}function getCssDimensions(Ra){const qa=getComputedStyle$1(Ra);let td=parseFloat(qa.width)||0,rd=parseFloat(qa.height)||0;const nd=isHTMLElement(Ra),ad=nd?Ra.offsetWidth:td,sd=nd?Ra.offsetHeight:rd,ud=round(td)!==ad||round(rd)!==sd;return ud&&(td=ad,rd=sd),{width:td,height:rd,$:ud}}function unwrapElement$1(Ra){return isElement$1(Ra)?Ra:Ra.contextElement}function getScale(Ra){const qa=unwrapElement$1(Ra);if(!isHTMLElement(qa))return createCoords(1);const td=qa.getBoundingClientRect(),{width:rd,height:nd,$:ad}=getCssDimensions(qa);let sd=(ad?round(td.width):td.width)/rd,ud=(ad?round(td.height):td.height)/nd;return(!sd||!Number.isFinite(sd))&&(sd=1),(!ud||!Number.isFinite(ud))&&(ud=1),{x:sd,y:ud}}const noOffsets=createCoords(0);function getVisualOffsets(Ra){const qa=getWindow(Ra);return!isWebKit()||!qa.visualViewport?noOffsets:{x:qa.visualViewport.offsetLeft,y:qa.visualViewport.offsetTop}}function shouldAddVisualOffsets(Ra,qa,td){return qa===void 0&&(qa=!1),!td||qa&&td!==getWindow(Ra)?!1:qa}function getBoundingClientRect(Ra,qa,td,rd){qa===void 0&&(qa=!1),td===void 0&&(td=!1);const nd=Ra.getBoundingClientRect(),ad=unwrapElement$1(Ra);let sd=createCoords(1);qa&&(rd?isElement$1(rd)&&(sd=getScale(rd)):sd=getScale(Ra));const ud=shouldAddVisualOffsets(ad,td,rd)?getVisualOffsets(ad):createCoords(0);let cd=(nd.left+ud.x)/sd.x,dd=(nd.top+ud.y)/sd.y,pd=nd.width/sd.x,fd=nd.height/sd.y;if(ad){const Td=getWindow(ad),Ad=rd&&isElement$1(rd)?getWindow(rd):rd;let Sd=Td,Dd=getFrameElement(Sd);for(;Dd&&rd&&Ad!==Sd;){const Ld=getScale(Dd),Rd=Dd.getBoundingClientRect(),Od=getComputedStyle$1(Dd),Md=Rd.left+(Dd.clientLeft+parseFloat(Od.paddingLeft))*Ld.x,jd=Rd.top+(Dd.clientTop+parseFloat(Od.paddingTop))*Ld.y;cd*=Ld.x,dd*=Ld.y,pd*=Ld.x,fd*=Ld.y,cd+=Md,dd+=jd,Sd=getWindow(Dd),Dd=getFrameElement(Sd)}}return rectToClientRect({width:pd,height:fd,x:cd,y:dd})}function convertOffsetParentRelativeRectToViewportRelativeRect(Ra){let{elements:qa,rect:td,offsetParent:rd,strategy:nd}=Ra;const ad=nd==="fixed",sd=getDocumentElement(rd),ud=qa?isTopLayer(qa.floating):!1;if(rd===sd||ud&&ad)return td;let cd={scrollLeft:0,scrollTop:0},dd=createCoords(1);const pd=createCoords(0),fd=isHTMLElement(rd);if((fd||!fd&&!ad)&&((getNodeName(rd)!=="body"||isOverflowElement(sd))&&(cd=getNodeScroll(rd)),isHTMLElement(rd))){const Td=getBoundingClientRect(rd);dd=getScale(rd),pd.x=Td.x+rd.clientLeft,pd.y=Td.y+rd.clientTop}return{width:td.width*dd.x,height:td.height*dd.y,x:td.x*dd.x-cd.scrollLeft*dd.x+pd.x,y:td.y*dd.y-cd.scrollTop*dd.y+pd.y}}function getClientRects(Ra){return Array.from(Ra.getClientRects())}function getWindowScrollBarX(Ra,qa){const td=getNodeScroll(Ra).scrollLeft;return qa?qa.left+td:getBoundingClientRect(getDocumentElement(Ra)).left+td}function getDocumentRect(Ra){const qa=getDocumentElement(Ra),td=getNodeScroll(Ra),rd=Ra.ownerDocument.body,nd=max$2(qa.scrollWidth,qa.clientWidth,rd.scrollWidth,rd.clientWidth),ad=max$2(qa.scrollHeight,qa.clientHeight,rd.scrollHeight,rd.clientHeight);let sd=-td.scrollLeft+getWindowScrollBarX(Ra);const ud=-td.scrollTop;return getComputedStyle$1(rd).direction==="rtl"&&(sd+=max$2(qa.clientWidth,rd.clientWidth)-nd),{width:nd,height:ad,x:sd,y:ud}}function getViewportRect(Ra,qa){const td=getWindow(Ra),rd=getDocumentElement(Ra),nd=td.visualViewport;let ad=rd.clientWidth,sd=rd.clientHeight,ud=0,cd=0;if(nd){ad=nd.width,sd=nd.height;const dd=isWebKit();(!dd||dd&&qa==="fixed")&&(ud=nd.offsetLeft,cd=nd.offsetTop)}return{width:ad,height:sd,x:ud,y:cd}}function getInnerBoundingClientRect(Ra,qa){const td=getBoundingClientRect(Ra,!0,qa==="fixed"),rd=td.top+Ra.clientTop,nd=td.left+Ra.clientLeft,ad=isHTMLElement(Ra)?getScale(Ra):createCoords(1),sd=Ra.clientWidth*ad.x,ud=Ra.clientHeight*ad.y,cd=nd*ad.x,dd=rd*ad.y;return{width:sd,height:ud,x:cd,y:dd}}function getClientRectFromClippingAncestor(Ra,qa,td){let rd;if(qa==="viewport")rd=getViewportRect(Ra,td);else if(qa==="document")rd=getDocumentRect(getDocumentElement(Ra));else if(isElement$1(qa))rd=getInnerBoundingClientRect(qa,td);else{const nd=getVisualOffsets(Ra);rd={...qa,x:qa.x-nd.x,y:qa.y-nd.y}}return rectToClientRect(rd)}function hasFixedPositionAncestor(Ra,qa){const td=getParentNode(Ra);return td===qa||!isElement$1(td)||isLastTraversableNode(td)?!1:getComputedStyle$1(td).position==="fixed"||hasFixedPositionAncestor(td,qa)}function getClippingElementAncestors(Ra,qa){const td=qa.get(Ra);if(td)return td;let rd=getOverflowAncestors(Ra,[],!1).filter(ud=>isElement$1(ud)&&getNodeName(ud)!=="body"),nd=null;const ad=getComputedStyle$1(Ra).position==="fixed";let sd=ad?getParentNode(Ra):Ra;for(;isElement$1(sd)&&!isLastTraversableNode(sd);){const ud=getComputedStyle$1(sd),cd=isContainingBlock(sd);!cd&&ud.position==="fixed"&&(nd=null),(ad?!cd&&!nd:!cd&&ud.position==="static"&&!!nd&&["absolute","fixed"].includes(nd.position)||isOverflowElement(sd)&&!cd&&hasFixedPositionAncestor(Ra,sd))?rd=rd.filter(pd=>pd!==sd):nd=ud,sd=getParentNode(sd)}return qa.set(Ra,rd),rd}function getClippingRect(Ra){let{element:qa,boundary:td,rootBoundary:rd,strategy:nd}=Ra;const sd=[...td==="clippingAncestors"?isTopLayer(qa)?[]:getClippingElementAncestors(qa,this._c):[].concat(td),rd],ud=sd[0],cd=sd.reduce((dd,pd)=>{const fd=getClientRectFromClippingAncestor(qa,pd,nd);return dd.top=max$2(fd.top,dd.top),dd.right=min$1(fd.right,dd.right),dd.bottom=min$1(fd.bottom,dd.bottom),dd.left=max$2(fd.left,dd.left),dd},getClientRectFromClippingAncestor(qa,ud,nd));return{width:cd.right-cd.left,height:cd.bottom-cd.top,x:cd.left,y:cd.top}}function getDimensions(Ra){const{width:qa,height:td}=getCssDimensions(Ra);return{width:qa,height:td}}function getRectRelativeToOffsetParent(Ra,qa,td){const rd=isHTMLElement(qa),nd=getDocumentElement(qa),ad=td==="fixed",sd=getBoundingClientRect(Ra,!0,ad,qa);let ud={scrollLeft:0,scrollTop:0};const cd=createCoords(0);if(rd||!rd&&!ad)if((getNodeName(qa)!=="body"||isOverflowElement(nd))&&(ud=getNodeScroll(qa)),rd){const Ad=getBoundingClientRect(qa,!0,ad,qa);cd.x=Ad.x+qa.clientLeft,cd.y=Ad.y+qa.clientTop}else nd&&(cd.x=getWindowScrollBarX(nd));let dd=0,pd=0;if(nd&&!rd&&!ad){const Ad=nd.getBoundingClientRect();pd=Ad.top+ud.scrollTop,dd=Ad.left+ud.scrollLeft-getWindowScrollBarX(nd,Ad)}const fd=sd.left+ud.scrollLeft-cd.x-dd,Td=sd.top+ud.scrollTop-cd.y-pd;return{x:fd,y:Td,width:sd.width,height:sd.height}}function isStaticPositioned(Ra){return getComputedStyle$1(Ra).position==="static"}function getTrueOffsetParent(Ra,qa){if(!isHTMLElement(Ra)||getComputedStyle$1(Ra).position==="fixed")return null;if(qa)return qa(Ra);let td=Ra.offsetParent;return getDocumentElement(Ra)===td&&(td=td.ownerDocument.body),td}function getOffsetParent(Ra,qa){const td=getWindow(Ra);if(isTopLayer(Ra))return td;if(!isHTMLElement(Ra)){let nd=getParentNode(Ra);for(;nd&&!isLastTraversableNode(nd);){if(isElement$1(nd)&&!isStaticPositioned(nd))return nd;nd=getParentNode(nd)}return td}let rd=getTrueOffsetParent(Ra,qa);for(;rd&&isTableElement(rd)&&isStaticPositioned(rd);)rd=getTrueOffsetParent(rd,qa);return rd&&isLastTraversableNode(rd)&&isStaticPositioned(rd)&&!isContainingBlock(rd)?td:rd||getContainingBlock(Ra)||td}const getElementRects=async function(Ra){const qa=this.getOffsetParent||getOffsetParent,td=this.getDimensions,rd=await td(Ra.floating);return{reference:getRectRelativeToOffsetParent(Ra.reference,await qa(Ra.floating),Ra.strategy),floating:{x:0,y:0,width:rd.width,height:rd.height}}};function isRTL(Ra){return getComputedStyle$1(Ra).direction==="rtl"}const platform$2={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement:isElement$1,isRTL};function observeMove(Ra,qa){let td=null,rd;const nd=getDocumentElement(Ra);function ad(){var ud;clearTimeout(rd),(ud=td)==null||ud.disconnect(),td=null}function sd(ud,cd){ud===void 0&&(ud=!1),cd===void 0&&(cd=1),ad();const{left:dd,top:pd,width:fd,height:Td}=Ra.getBoundingClientRect();if(ud||qa(),!fd||!Td)return;const Ad=floor(pd),Sd=floor(nd.clientWidth-(dd+fd)),Dd=floor(nd.clientHeight-(pd+Td)),Ld=floor(dd),Od={rootMargin:-Ad+"px "+-Sd+"px "+-Dd+"px "+-Ld+"px",threshold:max$2(0,min$1(1,cd))||1};let Md=!0;function jd(Ud){const Hd=Ud[0].intersectionRatio;if(Hd!==cd){if(!Md)return sd();Hd?sd(!1,Hd):rd=setTimeout(()=>{sd(!1,1e-7)},1e3)}Md=!1}try{td=new IntersectionObserver(jd,{...Od,root:nd.ownerDocument})}catch{td=new IntersectionObserver(jd,Od)}td.observe(Ra)}return sd(!0),ad}function autoUpdate(Ra,qa,td,rd){rd===void 0&&(rd={});const{ancestorScroll:nd=!0,ancestorResize:ad=!0,elementResize:sd=typeof ResizeObserver=="function",layoutShift:ud=typeof IntersectionObserver=="function",animationFrame:cd=!1}=rd,dd=unwrapElement$1(Ra),pd=nd||ad?[...dd?getOverflowAncestors(dd):[],...getOverflowAncestors(qa)]:[];pd.forEach(Rd=>{nd&&Rd.addEventListener("scroll",td,{passive:!0}),ad&&Rd.addEventListener("resize",td)});const fd=dd&&ud?observeMove(dd,td):null;let Td=-1,Ad=null;sd&&(Ad=new ResizeObserver(Rd=>{let[Od]=Rd;Od&&Od.target===dd&&Ad&&(Ad.unobserve(qa),cancelAnimationFrame(Td),Td=requestAnimationFrame(()=>{var Md;(Md=Ad)==null||Md.observe(qa)})),td()}),dd&&!cd&&Ad.observe(dd),Ad.observe(qa));let Sd,Dd=cd?getBoundingClientRect(Ra):null;cd&&Ld();function Ld(){const Rd=getBoundingClientRect(Ra);Dd&&(Rd.x!==Dd.x||Rd.y!==Dd.y||Rd.width!==Dd.width||Rd.height!==Dd.height)&&td(),Dd=Rd,Sd=requestAnimationFrame(Ld)}return td(),()=>{var Rd;pd.forEach(Od=>{nd&&Od.removeEventListener("scroll",td),ad&&Od.removeEventListener("resize",td)}),fd==null||fd(),(Rd=Ad)==null||Rd.disconnect(),Ad=null,cd&&cancelAnimationFrame(Sd)}}const offset=offset$1,shift=shift$1,flip=flip$1,size=size$1,hide=hide$1,arrow$1=arrow$2,limitShift=limitShift$1,computePosition=(Ra,qa,td)=>{const rd=new Map,nd={platform:platform$2,...td},ad={...nd.platform,_c:rd};return computePosition$1(Ra,qa,{...nd,platform:ad})};function useCursor(Ra){let qa;function td(){if(Ra.value==null)return;const{selectionStart:nd,selectionEnd:ad,value:sd}=Ra.value;if(nd==null||ad==null)return;const ud=sd.slice(0,Math.max(0,nd)),cd=sd.slice(Math.max(0,ad));qa={selectionStart:nd,selectionEnd:ad,value:sd,beforeTxt:ud,afterTxt:cd}}function rd(){if(Ra.value==null||qa==null)return;const{value:nd}=Ra.value,{beforeTxt:ad,afterTxt:sd,selectionStart:ud}=qa;if(ad==null||sd==null||ud==null)return;let cd=nd.length;if(nd.endsWith(sd))cd=nd.length-sd.length;else if(nd.startsWith(ad))cd=ad.length;else{const dd=ad[ud-1],pd=nd.indexOf(dd,ud-1);pd!==-1&&(cd=pd+1)}Ra.value.setSelectionRange(cd,cd)}return[td,rd]}const getOrderedChildren=(Ra,qa,td)=>flattedChildren(Ra.subTree).filter(ad=>{var sd;return isVNode(ad)&&((sd=ad.type)==null?void 0:sd.name)===qa&&!!ad.component}).map(ad=>ad.component.uid).map(ad=>td[ad]).filter(ad=>!!ad),useOrderedChildren=(Ra,qa)=>{const td={},rd=shallowRef([]);return{children:rd,addChild:sd=>{td[sd.uid]=sd,rd.value=getOrderedChildren(Ra,qa,td)},removeChild:sd=>{delete td[sd],rd.value=rd.value.filter(ud=>ud.uid!==sd)}}},useSizeProp=buildProp({type:String,values:componentSizes,required:!1}),SIZE_INJECTION_KEY=Symbol("size"),useGlobalSize=()=>{const Ra=inject(SIZE_INJECTION_KEY,{});return computed(()=>unref(Ra.size)||"")};function useFocusController(Ra,{beforeFocus:qa,afterFocus:td,beforeBlur:rd,afterBlur:nd}={}){const ad=getCurrentInstance(),{emit:sd}=ad,ud=shallowRef(),cd=ref$1(!1),dd=Td=>{isFunction$4(qa)&&qa(Td)||cd.value||(cd.value=!0,sd("focus",Td),td==null||td())},pd=Td=>{var Ad;isFunction$4(rd)&&rd(Td)||Td.relatedTarget&&((Ad=ud.value)!=null&&Ad.contains(Td.relatedTarget))||(cd.value=!1,sd("blur",Td),nd==null||nd())},fd=()=>{var Td,Ad;(Td=ud.value)!=null&&Td.contains(document.activeElement)&&ud.value!==document.activeElement||(Ad=Ra.value)==null||Ad.focus()};return watch(ud,Td=>{Td&&Td.setAttribute("tabindex","-1")}),useEventListener$1(ud,"focus",dd,!0),useEventListener$1(ud,"blur",pd,!0),useEventListener$1(ud,"click",fd,!0),{isFocused:cd,wrapperRef:ud,handleFocus:dd,handleBlur:pd}}function useComposition({afterComposition:Ra,emit:qa}){const td=ref$1(!1),rd=ud=>{qa==null||qa("compositionstart",ud),td.value=!0},nd=ud=>{var cd;qa==null||qa("compositionupdate",ud);const dd=(cd=ud.target)==null?void 0:cd.value,pd=dd[dd.length-1]||"";td.value=!isKorean(pd)},ad=ud=>{qa==null||qa("compositionend",ud),td.value&&(td.value=!1,nextTick$1(()=>Ra(ud)))};return{isComposing:td,handleComposition:ud=>{ud.type==="compositionend"?ad(ud):nd(ud)},handleCompositionStart:rd,handleCompositionUpdate:nd,handleCompositionEnd:ad}}const emptyValuesContextKey=Symbol("emptyValuesContextKey"),DEFAULT_EMPTY_VALUES=["",void 0,null],DEFAULT_VALUE_ON_CLEAR=void 0,useEmptyValuesProps=buildProps({emptyValues:Array,valueOnClear:{type:[String,Number,Boolean,Function],default:void 0,validator:Ra=>isFunction$4(Ra)?!Ra():!Ra}}),useEmptyValues=(Ra,qa)=>{const td=getCurrentInstance()?inject(emptyValuesContextKey,ref$1({})):ref$1({}),rd=computed(()=>Ra.emptyValues||td.value.emptyValues||DEFAULT_EMPTY_VALUES),nd=computed(()=>isFunction$4(Ra.valueOnClear)?Ra.valueOnClear():Ra.valueOnClear!==void 0?Ra.valueOnClear:isFunction$4(td.value.valueOnClear)?td.value.valueOnClear():td.value.valueOnClear!==void 0?td.value.valueOnClear:DEFAULT_VALUE_ON_CLEAR),ad=sd=>rd.value.includes(sd);return rd.value.includes(nd.value),{emptyValues:rd,valueOnClear:nd,isEmptyValue:ad}},ariaProps=buildProps({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),useAriaProps=Ra=>pick(ariaProps,Ra),configProviderContextKey=Symbol(),globalConfig=ref$1();function useGlobalConfig(Ra,qa=void 0){const td=getCurrentInstance()?inject(configProviderContextKey,globalConfig):globalConfig;return Ra?computed(()=>{var rd,nd;return(nd=(rd=td.value)==null?void 0:rd[Ra])!=null?nd:qa}):td}function useGlobalComponentSettings(Ra,qa){const td=useGlobalConfig(),rd=useNamespace(Ra,computed(()=>{var ud;return((ud=td.value)==null?void 0:ud.namespace)||defaultNamespace})),nd=useLocale(computed(()=>{var ud;return(ud=td.value)==null?void 0:ud.locale})),ad=useZIndex(computed(()=>{var ud;return((ud=td.value)==null?void 0:ud.zIndex)||defaultInitialZIndex})),sd=computed(()=>{var ud;return unref(qa)||((ud=td.value)==null?void 0:ud.size)||""});return provideGlobalConfig(computed(()=>unref(td)||{})),{ns:rd,locale:nd,zIndex:ad,size:sd}}const provideGlobalConfig=(Ra,qa,td=!1)=>{var rd;const nd=!!getCurrentInstance(),ad=nd?useGlobalConfig():void 0,sd=(rd=void 0)!=null?rd:nd?provide:void 0;if(!sd)return;const ud=computed(()=>{const cd=unref(Ra);return ad!=null&&ad.value?mergeConfig$1(ad.value,cd):cd});return sd(configProviderContextKey,ud),sd(localeContextKey,computed(()=>ud.value.locale)),sd(namespaceContextKey,computed(()=>ud.value.namespace)),sd(zIndexContextKey,computed(()=>ud.value.zIndex)),sd(SIZE_INJECTION_KEY,{size:computed(()=>ud.value.size||"")}),sd(emptyValuesContextKey,computed(()=>({emptyValues:ud.value.emptyValues,valueOnClear:ud.value.valueOnClear}))),(td||!globalConfig.value)&&(globalConfig.value=ud.value),ud},mergeConfig$1=(Ra,qa)=>{const td=[...new Set([...keysOf(Ra),...keysOf(qa)])],rd={};for(const nd of td)rd[nd]=qa[nd]!==void 0?qa[nd]:Ra[nd];return rd},messageConfig={};var _export_sfc$1=(Ra,qa)=>{const td=Ra.__vccOpts||Ra;for(const[rd,nd]of qa)td[rd]=nd;return td};const iconProps=buildProps({size:{type:definePropType([Number,String])},color:{type:String}}),__default__$w=defineComponent({name:"ElIcon",inheritAttrs:!1}),_sfc_main$1u=defineComponent({...__default__$w,props:iconProps,setup(Ra){const qa=Ra,td=useNamespace("icon"),rd=computed(()=>{const{size:nd,color:ad}=qa;return!nd&&!ad?{}:{fontSize:isUndefined$1(nd)?void 0:addUnit(nd),"--color":ad}});return(nd,ad)=>(openBlock(),createElementBlock("i",mergeProps({class:unref(td).b(),style:unref(rd)},nd.$attrs),[renderSlot(nd.$slots,"default")],16))}});var Icon$1=_export_sfc$1(_sfc_main$1u,[["__file","icon.vue"]]);const ElIcon=withInstall(Icon$1),alertEffects=["light","dark"],alertProps=buildProps({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:keysOf(TypeComponentsMap),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:alertEffects,default:"light"}}),alertEmits={close:Ra=>Ra instanceof MouseEvent},__default__$v=defineComponent({name:"ElAlert"}),_sfc_main$1t=defineComponent({...__default__$v,props:alertProps,emits:alertEmits,setup(Ra,{emit:qa}){const td=Ra,{Close:rd}=TypeComponents,nd=useSlots(),ad=useNamespace("alert"),sd=ref$1(!0),ud=computed(()=>TypeComponentsMap[td.type]),cd=computed(()=>[ad.e("icon"),{[ad.is("big")]:!!td.description||!!nd.default}]),dd=computed(()=>({"with-description":td.description||nd.default})),pd=fd=>{sd.value=!1,qa("close",fd)};return(fd,Td)=>(openBlock(),createBlock(Transition$1,{name:unref(ad).b("fade"),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{class:normalizeClass([unref(ad).b(),unref(ad).m(fd.type),unref(ad).is("center",fd.center),unref(ad).is(fd.effect)]),role:"alert"},[fd.showIcon&&unref(ud)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(cd))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(ud))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(ad).e("content"))},[fd.title||fd.$slots.title?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass([unref(ad).e("title"),unref(dd)])},[renderSlot(fd.$slots,"title",{},()=>[createTextVNode(toDisplayString(fd.title),1)])],2)):createCommentVNode("v-if",!0),fd.$slots.default||fd.description?(openBlock(),createElementBlock("p",{key:1,class:normalizeClass(unref(ad).e("description"))},[renderSlot(fd.$slots,"default",{},()=>[createTextVNode(toDisplayString(fd.description),1)])],2)):createCommentVNode("v-if",!0),fd.closable?(openBlock(),createElementBlock(Fragment,{key:2},[fd.closeText?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(ad).e("close-btn"),unref(ad).is("customed")]),onClick:pd},toDisplayString(fd.closeText),3)):(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(ad).e("close-btn")),onClick:pd},{default:withCtx(()=>[createVNode(unref(rd))]),_:1},8,["class"]))],64)):createCommentVNode("v-if",!0)],2)],2),[[vShow,sd.value]])]),_:3},8,["name"]))}});var Alert=_export_sfc$1(_sfc_main$1t,[["__file","alert.vue"]]);const ElAlert=withInstall(Alert),formContextKey=Symbol("formContextKey"),formItemContextKey=Symbol("formItemContextKey"),useFormSize=(Ra,qa={})=>{const td=ref$1(void 0),rd=qa.prop?td:useProp("size"),nd=qa.global?td:useGlobalSize(),ad=qa.form?{size:void 0}:inject(formContextKey,void 0),sd=qa.formItem?{size:void 0}:inject(formItemContextKey,void 0);return computed(()=>rd.value||unref(Ra)||(sd==null?void 0:sd.size)||(ad==null?void 0:ad.size)||nd.value||"")},useFormDisabled=Ra=>{const qa=useProp("disabled"),td=inject(formContextKey,void 0);return computed(()=>qa.value||unref(Ra)||(td==null?void 0:td.disabled)||!1)},useFormItem=()=>{const Ra=inject(formContextKey,void 0),qa=inject(formItemContextKey,void 0);return{form:Ra,formItem:qa}},useFormItemInputId=(Ra,{formItemContext:qa,disableIdGeneration:td,disableIdManagement:rd})=>{td||(td=ref$1(!1)),rd||(rd=ref$1(!1));const nd=ref$1();let ad;const sd=computed(()=>{var ud;return!!(!(Ra.label||Ra.ariaLabel)&&qa&&qa.inputIds&&((ud=qa.inputIds)==null?void 0:ud.length)<=1)});return onMounted(()=>{ad=watch([toRef$1(Ra,"id"),td],([ud,cd])=>{const dd=ud??(cd?void 0:useId().value);dd!==nd.value&&(qa!=null&&qa.removeInputId&&(nd.value&&qa.removeInputId(nd.value),!(rd!=null&&rd.value)&&!cd&&dd&&qa.addInputId(dd)),nd.value=dd)},{immediate:!0})}),onUnmounted(()=>{ad&&ad(),qa!=null&&qa.removeInputId&&nd.value&&qa.removeInputId(nd.value)}),{isLabeledByFormItem:sd,inputId:nd}},formMetaProps=buildProps({size:{type:String,values:componentSizes},disabled:Boolean}),formProps=buildProps({...formMetaProps,model:Object,rules:{type:definePropType(Object)},labelPosition:{type:String,values:["left","right","top"],default:"right"},requireAsteriskPosition:{type:String,values:["left","right"],default:"left"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:Boolean,scrollToError:Boolean,scrollIntoViewOptions:{type:[Object,Boolean]}}),formEmits={validate:(Ra,qa,td)=>(isArray$2(Ra)||isString$3(Ra))&&isBoolean$3(qa)&&isString$3(td)};function useFormLabelWidth(){const Ra=ref$1([]),qa=computed(()=>{if(!Ra.value.length)return"0";const ad=Math.max(...Ra.value);return ad?`${ad}px`:""});function td(ad){const sd=Ra.value.indexOf(ad);return sd===-1&&qa.value,sd}function rd(ad,sd){if(ad&&sd){const ud=td(sd);Ra.value.splice(ud,1,ad)}else ad&&Ra.value.push(ad)}function nd(ad){const sd=td(ad);sd>-1&&Ra.value.splice(sd,1)}return{autoLabelWidth:qa,registerLabelWidth:rd,deregisterLabelWidth:nd}}const filterFields=(Ra,qa)=>{const td=castArray(qa);return td.length>0?Ra.filter(rd=>rd.prop&&td.includes(rd.prop)):Ra},COMPONENT_NAME$a="ElForm",__default__$u=defineComponent({name:COMPONENT_NAME$a}),_sfc_main$1s=defineComponent({...__default__$u,props:formProps,emits:formEmits,setup(Ra,{expose:qa,emit:td}){const rd=Ra,nd=[],ad=useFormSize(),sd=useNamespace("form"),ud=computed(()=>{const{labelPosition:Md,inline:jd}=rd;return[sd.b(),sd.m(ad.value||"default"),{[sd.m(`label-${Md}`)]:Md,[sd.m("inline")]:jd}]}),cd=Md=>nd.find(jd=>jd.prop===Md),dd=Md=>{nd.push(Md)},pd=Md=>{Md.prop&&nd.splice(nd.indexOf(Md),1)},fd=(Md=[])=>{rd.model&&filterFields(nd,Md).forEach(jd=>jd.resetField())},Td=(Md=[])=>{filterFields(nd,Md).forEach(jd=>jd.clearValidate())},Ad=computed(()=>!!rd.model),Sd=Md=>{if(nd.length===0)return[];const jd=filterFields(nd,Md);return jd.length?jd:[]},Dd=async Md=>Rd(void 0,Md),Ld=async(Md=[])=>{if(!Ad.value)return!1;const jd=Sd(Md);if(jd.length===0)return!0;let Ud={};for(const Hd of jd)try{await Hd.validate("")}catch(zd){Ud={...Ud,...zd}}return Object.keys(Ud).length===0?!0:Promise.reject(Ud)},Rd=async(Md=[],jd)=>{const Ud=!isFunction$4(jd);try{const Hd=await Ld(Md);return Hd===!0&&await(jd==null?void 0:jd(Hd)),Hd}catch(Hd){if(Hd instanceof Error)throw Hd;const zd=Hd;return rd.scrollToError&&Od(Object.keys(zd)[0]),await(jd==null?void 0:jd(!1,zd)),Ud&&Promise.reject(zd)}},Od=Md=>{var jd;const Ud=filterFields(nd,Md)[0];Ud&&((jd=Ud.$el)==null||jd.scrollIntoView(rd.scrollIntoViewOptions))};return watch(()=>rd.rules,()=>{rd.validateOnRuleChange&&Dd().catch(Md=>void 0)},{deep:!0}),provide(formContextKey,reactive({...toRefs(rd),emit:td,resetFields:fd,clearValidate:Td,validateField:Rd,getField:cd,addField:dd,removeField:pd,...useFormLabelWidth()})),qa({validate:Dd,validateField:Rd,resetFields:fd,clearValidate:Td,scrollToField:Od,fields:nd}),(Md,jd)=>(openBlock(),createElementBlock("form",{class:normalizeClass(unref(ud))},[renderSlot(Md.$slots,"default")],2))}});var Form=_export_sfc$1(_sfc_main$1s,[["__file","form.vue"]]),define_process_default$9={version:"v20.17.0",versions:{node:"20.17.0",acorn:"8.11.3",ada:"2.9.0",ares:"1.32.3",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.2.2",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.13+quic",simdutf:"5.3.0",tz:"2024a",undici:"6.19.2",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-209717d"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule internal/idna","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/streams/utils","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/idna.js","lib/internal/inspector_async_hook.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_fc48d429-f579-45e8-bf03-b8f40cba1391",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.17.0 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_fc48d429-f579-45e8-bf03-b8f40cba1391",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.10.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu22",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"610",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",GOROOT_1_20_X64:"/opt/hostedtoolcache/go/1.20.14/x64",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20240915.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.7/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",JOURNAL_STREAM:"8:6290",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.17.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",npm_config_npm_version:"10.8.2",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"11027463784",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"c7b0e027ac0b5d7e952b951cd0f0482584bacafc",GITHUB_BASE_REF:"",ImageOS:"ubuntu22",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.17.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_869f45d3-ff71-43f5-9b82-440d0334cd1b",INVOCATION_ID:"4184953ec64c49749c61dec1ef6bfa6c",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"439",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 9",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"c7b0e027ac0b5d7e952b951cd0f0482584bacafc",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.17.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_fc48d429-f579-45e8-bf03-b8f40cba1391",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_fc48d429-f579-45e8-bf03-b8f40cba1391",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.1.12297006",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",STATS_EXTP:"https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.189/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_fc48d429-f579-45e8-bf03-b8f40cba1391",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.17.0/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2041,ppid:2038,execPath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}},define_process_env_default={};function _extends(){return _extends=Object.assign?Object.assign.bind():function(Ra){for(var qa=1;qa"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _construct(Ra,qa,td){return _isNativeReflectConstruct()?_construct=Reflect.construct.bind():_construct=function(nd,ad,sd){var ud=[null];ud.push.apply(ud,ad);var cd=Function.bind.apply(nd,ud),dd=new cd;return sd&&_setPrototypeOf(dd,sd.prototype),dd},_construct.apply(null,arguments)}function _isNativeFunction(Ra){return Function.toString.call(Ra).indexOf("[native code]")!==-1}function _wrapNativeSuper(Ra){var qa=typeof Map=="function"?new Map:void 0;return _wrapNativeSuper=function(rd){if(rd===null||!_isNativeFunction(rd))return rd;if(typeof rd!="function")throw new TypeError("Super expression must either be null or a function");if(typeof qa<"u"){if(qa.has(rd))return qa.get(rd);qa.set(rd,nd)}function nd(){return _construct(rd,arguments,_getPrototypeOf(this).constructor)}return nd.prototype=Object.create(rd.prototype,{constructor:{value:nd,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(nd,rd)},_wrapNativeSuper(Ra)}var formatRegExp=/%[sdj%]/g,warning=function(){};typeof define_process_default$9<"u";function convertFieldsError(Ra){if(!Ra||!Ra.length)return null;var qa={};return Ra.forEach(function(td){var rd=td.field;qa[rd]=qa[rd]||[],qa[rd].push(td)}),qa}function format$2(Ra){for(var qa=arguments.length,td=new Array(qa>1?qa-1:0),rd=1;rd=ad)return ud;switch(ud){case"%s":return String(td[nd++]);case"%d":return Number(td[nd++]);case"%j":try{return JSON.stringify(td[nd++])}catch{return"[Circular]"}break;default:return ud}});return sd}return Ra}function isNativeStringType(Ra){return Ra==="string"||Ra==="url"||Ra==="hex"||Ra==="email"||Ra==="date"||Ra==="pattern"}function isEmptyValue(Ra,qa){return!!(Ra==null||qa==="array"&&Array.isArray(Ra)&&!Ra.length||isNativeStringType(qa)&&typeof Ra=="string"&&!Ra)}function asyncParallelArray(Ra,qa,td){var rd=[],nd=0,ad=Ra.length;function sd(ud){rd.push.apply(rd,ud||[]),nd++,nd===ad&&td(rd)}Ra.forEach(function(ud){qa(ud,sd)})}function asyncSerialArray(Ra,qa,td){var rd=0,nd=Ra.length;function ad(sd){if(sd&&sd.length){td(sd);return}var ud=rd;rd=rd+1,ud()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},types$1={integer:function(qa){return types$1.number(qa)&&parseInt(qa,10)===qa},float:function(qa){return types$1.number(qa)&&!types$1.integer(qa)},array:function(qa){return Array.isArray(qa)},regexp:function(qa){if(qa instanceof RegExp)return!0;try{return!!new RegExp(qa)}catch{return!1}},date:function(qa){return typeof qa.getTime=="function"&&typeof qa.getMonth=="function"&&typeof qa.getYear=="function"&&!isNaN(qa.getTime())},number:function(qa){return isNaN(qa)?!1:typeof qa=="number"},object:function(qa){return typeof qa=="object"&&!types$1.array(qa)},method:function(qa){return typeof qa=="function"},email:function(qa){return typeof qa=="string"&&qa.length<=320&&!!qa.match(pattern$2.email)},url:function(qa){return typeof qa=="string"&&qa.length<=2048&&!!qa.match(getUrlRegex())},hex:function(qa){return typeof qa=="string"&&!!qa.match(pattern$2.hex)}},type$1$1=function(qa,ed,td,rd,sd){if(qa.required&&ed===void 0){required$1(qa,ed,td,rd,sd);return}var od=["integer","float","array","regexp","object","method","email","number","date","url","hex"],ld=qa.type;od.indexOf(ld)>-1?types$1[ld](ed)||rd.push(format$2(sd.messages.types[ld],qa.fullField,qa.type)):ld&&typeof ed!==qa.type&&rd.push(format$2(sd.messages.types[ld],qa.fullField,qa.type))},range$2=function(qa,ed,td,rd,sd){var od=typeof qa.len=="number",ld=typeof qa.min=="number",ud=typeof qa.max=="number",cd=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,dd=ed,_d=null,Ed=typeof ed=="number",Ad=typeof ed=="string",Td=Array.isArray(ed);if(Ed?_d="number":Ad?_d="string":Td&&(_d="array"),!_d)return!1;Td&&(dd=ed.length),Ad&&(dd=ed.replace(cd,"_").length),od?dd!==qa.len&&rd.push(format$2(sd.messages[_d].len,qa.fullField,qa.len)):ld&&!ud&&ddqa.max?rd.push(format$2(sd.messages[_d].max,qa.fullField,qa.max)):ld&&ud&&(ddqa.max)&&rd.push(format$2(sd.messages[_d].range,qa.fullField,qa.min,qa.max))},ENUM$1="enum",enumerable$1=function(qa,ed,td,rd,sd){qa[ENUM$1]=Array.isArray(qa[ENUM$1])?qa[ENUM$1]:[],qa[ENUM$1].indexOf(ed)===-1&&rd.push(format$2(sd.messages[ENUM$1],qa.fullField,qa[ENUM$1].join(", ")))},pattern$1=function(qa,ed,td,rd,sd){if(qa.pattern){if(qa.pattern instanceof RegExp)qa.pattern.lastIndex=0,qa.pattern.test(ed)||rd.push(format$2(sd.messages.pattern.mismatch,qa.fullField,ed,qa.pattern));else if(typeof qa.pattern=="string"){var od=new RegExp(qa.pattern);od.test(ed)||rd.push(format$2(sd.messages.pattern.mismatch,qa.fullField,ed,qa.pattern))}}},rules={required:required$1,whitespace:whitespace$2,type:type$1$1,range:range$2,enum:enumerable$1,pattern:pattern$1},string=function(qa,ed,td,rd,sd){var od=[],ld=qa.required||!qa.required&&rd.hasOwnProperty(qa.field);if(ld){if(isEmptyValue(ed,"string")&&!qa.required)return td();rules.required(qa,ed,rd,od,sd,"string"),isEmptyValue(ed,"string")||(rules.type(qa,ed,rd,od,sd),rules.range(qa,ed,rd,od,sd),rules.pattern(qa,ed,rd,od,sd),qa.whitespace===!0&&rules.whitespace(qa,ed,rd,od,sd))}td(od)},method2=function(qa,ed,td,rd,sd){var od=[],ld=qa.required||!qa.required&&rd.hasOwnProperty(qa.field);if(ld){if(isEmptyValue(ed)&&!qa.required)return td();rules.required(qa,ed,rd,od,sd),ed!==void 0&&rules.type(qa,ed,rd,od,sd)}td(od)},number2=function(qa,ed,td,rd,sd){var od=[],ld=qa.required||!qa.required&&rd.hasOwnProperty(qa.field);if(ld){if(ed===""&&(ed=void 0),isEmptyValue(ed)&&!qa.required)return td();rules.required(qa,ed,rd,od,sd),ed!==void 0&&(rules.type(qa,ed,rd,od,sd),rules.range(qa,ed,rd,od,sd))}td(od)},_boolean=function(qa,ed,td,rd,sd){var od=[],ld=qa.required||!qa.required&&rd.hasOwnProperty(qa.field);if(ld){if(isEmptyValue(ed)&&!qa.required)return td();rules.required(qa,ed,rd,od,sd),ed!==void 0&&rules.type(qa,ed,rd,od,sd)}td(od)},regexp2=function(qa,ed,td,rd,sd){var od=[],ld=qa.required||!qa.required&&rd.hasOwnProperty(qa.field);if(ld){if(isEmptyValue(ed)&&!qa.required)return td();rules.required(qa,ed,rd,od,sd),isEmptyValue(ed)||rules.type(qa,ed,rd,od,sd)}td(od)},integer2=function(qa,ed,td,rd,sd){var od=[],ld=qa.required||!qa.required&&rd.hasOwnProperty(qa.field);if(ld){if(isEmptyValue(ed)&&!qa.required)return td();rules.required(qa,ed,rd,od,sd),ed!==void 0&&(rules.type(qa,ed,rd,od,sd),rules.range(qa,ed,rd,od,sd))}td(od)},floatFn=function(qa,ed,td,rd,sd){var od=[],ld=qa.required||!qa.required&&rd.hasOwnProperty(qa.field);if(ld){if(isEmptyValue(ed)&&!qa.required)return td();rules.required(qa,ed,rd,od,sd),ed!==void 0&&(rules.type(qa,ed,rd,od,sd),rules.range(qa,ed,rd,od,sd))}td(od)},array2=function(qa,ed,td,rd,sd){var od=[],ld=qa.required||!qa.required&&rd.hasOwnProperty(qa.field);if(ld){if(ed==null&&!qa.required)return td();rules.required(qa,ed,rd,od,sd,"array"),ed!=null&&(rules.type(qa,ed,rd,od,sd),rules.range(qa,ed,rd,od,sd))}td(od)},object2=function(qa,ed,td,rd,sd){var od=[],ld=qa.required||!qa.required&&rd.hasOwnProperty(qa.field);if(ld){if(isEmptyValue(ed)&&!qa.required)return td();rules.required(qa,ed,rd,od,sd),ed!==void 0&&rules.type(qa,ed,rd,od,sd)}td(od)},ENUM="enum",enumerable2=function(qa,ed,td,rd,sd){var od=[],ld=qa.required||!qa.required&&rd.hasOwnProperty(qa.field);if(ld){if(isEmptyValue(ed)&&!qa.required)return td();rules.required(qa,ed,rd,od,sd),ed!==void 0&&rules[ENUM](qa,ed,rd,od,sd)}td(od)},pattern2=function(qa,ed,td,rd,sd){var od=[],ld=qa.required||!qa.required&&rd.hasOwnProperty(qa.field);if(ld){if(isEmptyValue(ed,"string")&&!qa.required)return td();rules.required(qa,ed,rd,od,sd),isEmptyValue(ed,"string")||rules.pattern(qa,ed,rd,od,sd)}td(od)},date2=function(qa,ed,td,rd,sd){var od=[],ld=qa.required||!qa.required&&rd.hasOwnProperty(qa.field);if(ld){if(isEmptyValue(ed,"date")&&!qa.required)return td();if(rules.required(qa,ed,rd,od,sd),!isEmptyValue(ed,"date")){var ud;ed instanceof Date?ud=ed:ud=new Date(ed),rules.type(qa,ud,rd,od,sd),ud&&rules.range(qa,ud.getTime(),rd,od,sd)}}td(od)},required2=function(qa,ed,td,rd,sd){var od=[],ld=Array.isArray(ed)?"array":typeof ed;rules.required(qa,ed,rd,od,sd,ld),td(od)},type2=function(qa,ed,td,rd,sd){var od=qa.type,ld=[],ud=qa.required||!qa.required&&rd.hasOwnProperty(qa.field);if(ud){if(isEmptyValue(ed,od)&&!qa.required)return td();rules.required(qa,ed,rd,ld,sd,od),isEmptyValue(ed,od)||rules.type(qa,ed,rd,ld,sd)}td(ld)},any=function(qa,ed,td,rd,sd){var od=[],ld=qa.required||!qa.required&&rd.hasOwnProperty(qa.field);if(ld){if(isEmptyValue(ed)&&!qa.required)return td();rules.required(qa,ed,rd,od,sd)}td(od)},validators$2={string,method:method2,number:number2,boolean:_boolean,regexp:regexp2,integer:integer2,float:floatFn,array:array2,object:object2,enum:enumerable2,pattern:pattern2,date:date2,url:type2,hex:type2,email:type2,required:required2,any};function newMessages(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var qa=JSON.parse(JSON.stringify(this));return qa.clone=this.clone,qa}}}var messages=newMessages(),Schema=function(){function Ra(ed){this.rules=null,this._messages=messages,this.define(ed)}var qa=Ra.prototype;return qa.define=function(td){var rd=this;if(!td)throw new Error("Cannot configure a schema with no rules");if(typeof td!="object"||Array.isArray(td))throw new Error("Rules must be an object");this.rules={},Object.keys(td).forEach(function(sd){var od=td[sd];rd.rules[sd]=Array.isArray(od)?od:[od]})},qa.messages=function(td){return td&&(this._messages=deepMerge(newMessages(),td)),this._messages},qa.validate=function(td,rd,sd){var od=this;rd===void 0&&(rd={}),sd===void 0&&(sd=function(){});var ld=td,ud=rd,cd=sd;if(typeof ud=="function"&&(cd=ud,ud={}),!this.rules||Object.keys(this.rules).length===0)return cd&&cd(null,ld),Promise.resolve(ld);function dd(Id){var Bd=[],Rd={};function Od(Ld){if(Array.isArray(Ld)){var Fd;Bd=(Fd=Bd).concat.apply(Fd,Ld)}else Bd.push(Ld)}for(var Md=0;Md");const rd=useNamespace("form"),sd=ref$1(),od=ref$1(0),ld=()=>{var dd;if((dd=sd.value)!=null&&dd.firstElementChild){const _d=window.getComputedStyle(sd.value.firstElementChild).width;return Math.ceil(Number.parseFloat(_d))}else return 0},ud=(dd="update")=>{nextTick$1(()=>{qa.default&&Ra.isAutoWidth&&(dd==="update"?od.value=ld():dd==="remove"&&(ed==null||ed.deregisterLabelWidth(od.value)))})},cd=()=>ud("update");return onMounted(()=>{cd()}),onBeforeUnmount(()=>{ud("remove")}),onUpdated(()=>cd()),watch(od,(dd,_d)=>{Ra.updateAll&&(ed==null||ed.registerLabelWidth(dd,_d))}),useResizeObserver(computed(()=>{var dd,_d;return(_d=(dd=sd.value)==null?void 0:dd.firstElementChild)!=null?_d:null}),cd),()=>{var dd,_d;if(!qa)return null;const{isAutoWidth:Ed}=Ra;if(Ed){const Ad=ed==null?void 0:ed.autoLabelWidth,Td=td==null?void 0:td.hasLabel,Id={};if(Td&&Ad&&Ad!=="auto"){const Bd=Math.max(0,Number.parseInt(Ad,10)-od.value),Od=(td.labelPosition||ed.labelPosition)==="left"?"marginRight":"marginLeft";Bd&&(Id[Od]=`${Bd}px`)}return createVNode("div",{ref:sd,class:[rd.be("item","label-wrap")],style:Id},[(dd=qa.default)==null?void 0:dd.call(qa)])}else return createVNode(Fragment,{ref:sd},[(_d=qa.default)==null?void 0:_d.call(qa)])}}});const __default__$t=defineComponent({name:"ElFormItem"}),_sfc_main$1r=defineComponent({...__default__$t,props:formItemProps,setup(Ra,{expose:qa}){const ed=Ra,td=useSlots(),rd=inject(formContextKey,void 0),sd=inject(formItemContextKey,void 0),od=useFormSize(void 0,{formItem:!1}),ld=useNamespace("form-item"),ud=useId().value,cd=ref$1([]),dd=ref$1(""),_d=refDebounced(dd,100),Ed=ref$1(""),Ad=ref$1();let Td,Id=!1;const Bd=computed(()=>ed.labelPosition||(rd==null?void 0:rd.labelPosition)),Rd=computed(()=>{if(Bd.value==="top")return{};const hf=addUnit(ed.labelWidth||(rd==null?void 0:rd.labelWidth)||"");return hf?{width:hf}:{}}),Od=computed(()=>{if(Bd.value==="top"||rd!=null&&rd.inline)return{};if(!ed.label&&!ed.labelWidth&&Kd)return{};const hf=addUnit(ed.labelWidth||(rd==null?void 0:rd.labelWidth)||"");return!ed.label&&!td.label?{marginLeft:hf}:{}}),Md=computed(()=>[ld.b(),ld.m(od.value),ld.is("error",dd.value==="error"),ld.is("validating",dd.value==="validating"),ld.is("success",dd.value==="success"),ld.is("required",pf.value||ed.required),ld.is("no-asterisk",rd==null?void 0:rd.hideRequiredAsterisk),(rd==null?void 0:rd.requireAsteriskPosition)==="right"?"asterisk-right":"asterisk-left",{[ld.m("feedback")]:rd==null?void 0:rd.statusIcon,[ld.m(`label-${Bd.value}`)]:Bd.value}]),Ld=computed(()=>isBoolean$3(ed.inlineMessage)?ed.inlineMessage:(rd==null?void 0:rd.inlineMessage)||!1),Fd=computed(()=>[ld.e("error"),{[ld.em("error","inline")]:Ld.value}]),jd=computed(()=>ed.prop?isString$3(ed.prop)?ed.prop:ed.prop.join("."):""),Vd=computed(()=>!!(ed.label||td.label)),Qd=computed(()=>ed.for||(cd.value.length===1?cd.value[0]:void 0)),qd=computed(()=>!Qd.value&&Vd.value),Kd=!!sd,Xd=computed(()=>{const hf=rd==null?void 0:rd.model;if(!(!hf||!ed.prop))return getProp$1(hf,ed.prop).value}),df=computed(()=>{const{required:hf}=ed,Rf=[];ed.rules&&Rf.push(...castArray(ed.rules));const jf=rd==null?void 0:rd.rules;if(jf&&ed.prop){const Kf=getProp$1(jf,ed.prop).value;Kf&&Rf.push(...castArray(Kf))}if(hf!==void 0){const Kf=Rf.map((Ff,wf)=>[Ff,wf]).filter(([Ff])=>Object.keys(Ff).includes("required"));if(Kf.length>0)for(const[Ff,wf]of Kf)Ff.required!==hf&&(Rf[wf]={...Ff,required:hf});else Rf.push({required:hf})}return Rf}),mf=computed(()=>df.value.length>0),bf=hf=>df.value.filter(jf=>!jf.trigger||!hf?!0:Array.isArray(jf.trigger)?jf.trigger.includes(hf):jf.trigger===hf).map(({trigger:jf,...Kf})=>Kf),pf=computed(()=>df.value.some(hf=>hf.required)),_f=computed(()=>{var hf;return _d.value==="error"&&ed.showMessage&&((hf=rd==null?void 0:rd.showMessage)!=null?hf:!0)}),Tf=computed(()=>`${ed.label||""}${(rd==null?void 0:rd.labelSuffix)||""}`),kf=hf=>{dd.value=hf},zf=hf=>{var Rf,jf;const{errors:Kf,fields:Ff}=hf;(!Kf||!Ff)&&console.error(hf),kf("error"),Ed.value=Kf?(jf=(Rf=Kf==null?void 0:Kf[0])==null?void 0:Rf.message)!=null?jf:`${ed.prop} is required`:"",rd==null||rd.emit("validate",ed.prop,!1,Ed.value)},Jf=()=>{kf("success"),rd==null||rd.emit("validate",ed.prop,!0,"")},Gf=async hf=>{const Rf=jd.value;return new Schema({[Rf]:hf}).validate({[Rf]:Xd.value},{firstFields:!0}).then(()=>(Jf(),!0)).catch(Kf=>(zf(Kf),Promise.reject(Kf)))},Mf=async(hf,Rf)=>{if(Id||!ed.prop)return!1;const jf=isFunction$4(Rf);if(!mf.value)return Rf==null||Rf(!1),!1;const Kf=bf(hf);return Kf.length===0?(Rf==null||Rf(!0),!0):(kf("validating"),Gf(Kf).then(()=>(Rf==null||Rf(!0),!0)).catch(Ff=>{const{fields:wf}=Ff;return Rf==null||Rf(!1,wf),jf?!1:Promise.reject(wf)}))},Nf=()=>{kf(""),Ed.value="",Id=!1},Bf=async()=>{const hf=rd==null?void 0:rd.model;if(!hf||!ed.prop)return;const Rf=getProp$1(hf,ed.prop);Id=!0,Rf.value=clone$2(Td),await nextTick$1(),Nf(),Id=!1},Qf=hf=>{cd.value.includes(hf)||cd.value.push(hf)},Wf=hf=>{cd.value=cd.value.filter(Rf=>Rf!==hf)};watch(()=>ed.error,hf=>{Ed.value=hf||"",kf(hf?"error":"")},{immediate:!0}),watch(()=>ed.validateStatus,hf=>kf(hf||""));const yf=reactive({...toRefs(ed),$el:Ad,size:od,validateState:dd,labelId:ud,inputIds:cd,isGroup:qd,hasLabel:Vd,fieldValue:Xd,addInputId:Qf,removeInputId:Wf,resetField:Bf,clearValidate:Nf,validate:Mf});return provide(formItemContextKey,yf),onMounted(()=>{ed.prop&&(rd==null||rd.addField(yf),Td=clone$2(Xd.value))}),onBeforeUnmount(()=>{rd==null||rd.removeField(yf)}),qa({size:od,validateMessage:Ed,validateState:dd,validate:Mf,clearValidate:Nf,resetField:Bf}),(hf,Rf)=>{var jf;return openBlock(),createElementBlock("div",{ref_key:"formItemRef",ref:Ad,class:normalizeClass(unref(Md)),role:unref(qd)?"group":void 0,"aria-labelledby":unref(qd)?unref(ud):void 0},[createVNode(unref(FormLabelWrap),{"is-auto-width":unref(Rd).width==="auto","update-all":((jf=unref(rd))==null?void 0:jf.labelWidth)==="auto"},{default:withCtx(()=>[unref(Vd)?(openBlock(),createBlock(resolveDynamicComponent(unref(Qd)?"label":"div"),{key:0,id:unref(ud),for:unref(Qd),class:normalizeClass(unref(ld).e("label")),style:normalizeStyle(unref(Rd))},{default:withCtx(()=>[renderSlot(hf.$slots,"label",{label:unref(Tf)},()=>[createTextVNode(toDisplayString(unref(Tf)),1)])]),_:3},8,["id","for","class","style"])):createCommentVNode("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),createBaseVNode("div",{class:normalizeClass(unref(ld).e("content")),style:normalizeStyle(unref(Od))},[renderSlot(hf.$slots,"default"),createVNode(TransitionGroup,{name:`${unref(ld).namespace.value}-zoom-in-top`},{default:withCtx(()=>[unref(_f)?renderSlot(hf.$slots,"error",{key:0,error:Ed.value},()=>[createBaseVNode("div",{class:normalizeClass(unref(Fd))},toDisplayString(Ed.value),3)]):createCommentVNode("v-if",!0)]),_:3},8,["name"])],6)],10,["role","aria-labelledby"])}}});var FormItem=_export_sfc$1(_sfc_main$1r,[["__file","form-item.vue"]]);const ElForm=withInstall(Form,{FormItem}),ElFormItem=withNoopInstall(FormItem);let hiddenTextarea;const HIDDEN_STYLE=` +`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),ad=new RegExp("(?:^"+td+"$)|(?:^"+nd+"$)"),sd=new RegExp("^"+td+"$"),ud=new RegExp("^"+nd+"$"),cd=function(jd){return jd&&jd.exact?ad:new RegExp("(?:"+qa(jd)+td+qa(jd)+")|(?:"+qa(jd)+nd+qa(jd)+")","g")};cd.v4=function(Md){return Md&&Md.exact?sd:new RegExp(""+qa(Md)+td+qa(Md),"g")},cd.v6=function(Md){return Md&&Md.exact?ud:new RegExp(""+qa(Md)+nd+qa(Md),"g")};var dd="(?:(?:[a-z]+:)?//)",pd="(?:\\S+(?::\\S*)?@)?",fd=cd.v4().source,Td=cd.v6().source,Ad="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",Sd="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",Dd="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",Ld="(?::\\d{2,5})?",Rd='(?:[/?#][^\\s"]*)?',Od="(?:"+dd+"|www\\.)"+pd+"(?:localhost|"+fd+"|"+Td+"|"+Ad+Sd+Dd+")"+Ld+Rd;return urlReg=new RegExp("(?:^"+Od+"$)","i"),urlReg},pattern$2={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},types$1={integer:function(qa){return types$1.number(qa)&&parseInt(qa,10)===qa},float:function(qa){return types$1.number(qa)&&!types$1.integer(qa)},array:function(qa){return Array.isArray(qa)},regexp:function(qa){if(qa instanceof RegExp)return!0;try{return!!new RegExp(qa)}catch{return!1}},date:function(qa){return typeof qa.getTime=="function"&&typeof qa.getMonth=="function"&&typeof qa.getYear=="function"&&!isNaN(qa.getTime())},number:function(qa){return isNaN(qa)?!1:typeof qa=="number"},object:function(qa){return typeof qa=="object"&&!types$1.array(qa)},method:function(qa){return typeof qa=="function"},email:function(qa){return typeof qa=="string"&&qa.length<=320&&!!qa.match(pattern$2.email)},url:function(qa){return typeof qa=="string"&&qa.length<=2048&&!!qa.match(getUrlRegex())},hex:function(qa){return typeof qa=="string"&&!!qa.match(pattern$2.hex)}},type$1$1=function(qa,td,rd,nd,ad){if(qa.required&&td===void 0){required$1(qa,td,rd,nd,ad);return}var sd=["integer","float","array","regexp","object","method","email","number","date","url","hex"],ud=qa.type;sd.indexOf(ud)>-1?types$1[ud](td)||nd.push(format$2(ad.messages.types[ud],qa.fullField,qa.type)):ud&&typeof td!==qa.type&&nd.push(format$2(ad.messages.types[ud],qa.fullField,qa.type))},range$2=function(qa,td,rd,nd,ad){var sd=typeof qa.len=="number",ud=typeof qa.min=="number",cd=typeof qa.max=="number",dd=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,pd=td,fd=null,Td=typeof td=="number",Ad=typeof td=="string",Sd=Array.isArray(td);if(Td?fd="number":Ad?fd="string":Sd&&(fd="array"),!fd)return!1;Sd&&(pd=td.length),Ad&&(pd=td.replace(dd,"_").length),sd?pd!==qa.len&&nd.push(format$2(ad.messages[fd].len,qa.fullField,qa.len)):ud&&!cd&&pdqa.max?nd.push(format$2(ad.messages[fd].max,qa.fullField,qa.max)):ud&&cd&&(pdqa.max)&&nd.push(format$2(ad.messages[fd].range,qa.fullField,qa.min,qa.max))},ENUM$1="enum",enumerable$1=function(qa,td,rd,nd,ad){qa[ENUM$1]=Array.isArray(qa[ENUM$1])?qa[ENUM$1]:[],qa[ENUM$1].indexOf(td)===-1&&nd.push(format$2(ad.messages[ENUM$1],qa.fullField,qa[ENUM$1].join(", ")))},pattern$1=function(qa,td,rd,nd,ad){if(qa.pattern){if(qa.pattern instanceof RegExp)qa.pattern.lastIndex=0,qa.pattern.test(td)||nd.push(format$2(ad.messages.pattern.mismatch,qa.fullField,td,qa.pattern));else if(typeof qa.pattern=="string"){var sd=new RegExp(qa.pattern);sd.test(td)||nd.push(format$2(ad.messages.pattern.mismatch,qa.fullField,td,qa.pattern))}}},rules={required:required$1,whitespace:whitespace$2,type:type$1$1,range:range$2,enum:enumerable$1,pattern:pattern$1},string=function(qa,td,rd,nd,ad){var sd=[],ud=qa.required||!qa.required&&nd.hasOwnProperty(qa.field);if(ud){if(isEmptyValue(td,"string")&&!qa.required)return rd();rules.required(qa,td,nd,sd,ad,"string"),isEmptyValue(td,"string")||(rules.type(qa,td,nd,sd,ad),rules.range(qa,td,nd,sd,ad),rules.pattern(qa,td,nd,sd,ad),qa.whitespace===!0&&rules.whitespace(qa,td,nd,sd,ad))}rd(sd)},method2=function(qa,td,rd,nd,ad){var sd=[],ud=qa.required||!qa.required&&nd.hasOwnProperty(qa.field);if(ud){if(isEmptyValue(td)&&!qa.required)return rd();rules.required(qa,td,nd,sd,ad),td!==void 0&&rules.type(qa,td,nd,sd,ad)}rd(sd)},number2=function(qa,td,rd,nd,ad){var sd=[],ud=qa.required||!qa.required&&nd.hasOwnProperty(qa.field);if(ud){if(td===""&&(td=void 0),isEmptyValue(td)&&!qa.required)return rd();rules.required(qa,td,nd,sd,ad),td!==void 0&&(rules.type(qa,td,nd,sd,ad),rules.range(qa,td,nd,sd,ad))}rd(sd)},_boolean=function(qa,td,rd,nd,ad){var sd=[],ud=qa.required||!qa.required&&nd.hasOwnProperty(qa.field);if(ud){if(isEmptyValue(td)&&!qa.required)return rd();rules.required(qa,td,nd,sd,ad),td!==void 0&&rules.type(qa,td,nd,sd,ad)}rd(sd)},regexp2=function(qa,td,rd,nd,ad){var sd=[],ud=qa.required||!qa.required&&nd.hasOwnProperty(qa.field);if(ud){if(isEmptyValue(td)&&!qa.required)return rd();rules.required(qa,td,nd,sd,ad),isEmptyValue(td)||rules.type(qa,td,nd,sd,ad)}rd(sd)},integer2=function(qa,td,rd,nd,ad){var sd=[],ud=qa.required||!qa.required&&nd.hasOwnProperty(qa.field);if(ud){if(isEmptyValue(td)&&!qa.required)return rd();rules.required(qa,td,nd,sd,ad),td!==void 0&&(rules.type(qa,td,nd,sd,ad),rules.range(qa,td,nd,sd,ad))}rd(sd)},floatFn=function(qa,td,rd,nd,ad){var sd=[],ud=qa.required||!qa.required&&nd.hasOwnProperty(qa.field);if(ud){if(isEmptyValue(td)&&!qa.required)return rd();rules.required(qa,td,nd,sd,ad),td!==void 0&&(rules.type(qa,td,nd,sd,ad),rules.range(qa,td,nd,sd,ad))}rd(sd)},array2=function(qa,td,rd,nd,ad){var sd=[],ud=qa.required||!qa.required&&nd.hasOwnProperty(qa.field);if(ud){if(td==null&&!qa.required)return rd();rules.required(qa,td,nd,sd,ad,"array"),td!=null&&(rules.type(qa,td,nd,sd,ad),rules.range(qa,td,nd,sd,ad))}rd(sd)},object2=function(qa,td,rd,nd,ad){var sd=[],ud=qa.required||!qa.required&&nd.hasOwnProperty(qa.field);if(ud){if(isEmptyValue(td)&&!qa.required)return rd();rules.required(qa,td,nd,sd,ad),td!==void 0&&rules.type(qa,td,nd,sd,ad)}rd(sd)},ENUM="enum",enumerable2=function(qa,td,rd,nd,ad){var sd=[],ud=qa.required||!qa.required&&nd.hasOwnProperty(qa.field);if(ud){if(isEmptyValue(td)&&!qa.required)return rd();rules.required(qa,td,nd,sd,ad),td!==void 0&&rules[ENUM](qa,td,nd,sd,ad)}rd(sd)},pattern2=function(qa,td,rd,nd,ad){var sd=[],ud=qa.required||!qa.required&&nd.hasOwnProperty(qa.field);if(ud){if(isEmptyValue(td,"string")&&!qa.required)return rd();rules.required(qa,td,nd,sd,ad),isEmptyValue(td,"string")||rules.pattern(qa,td,nd,sd,ad)}rd(sd)},date2=function(qa,td,rd,nd,ad){var sd=[],ud=qa.required||!qa.required&&nd.hasOwnProperty(qa.field);if(ud){if(isEmptyValue(td,"date")&&!qa.required)return rd();if(rules.required(qa,td,nd,sd,ad),!isEmptyValue(td,"date")){var cd;td instanceof Date?cd=td:cd=new Date(td),rules.type(qa,cd,nd,sd,ad),cd&&rules.range(qa,cd.getTime(),nd,sd,ad)}}rd(sd)},required2=function(qa,td,rd,nd,ad){var sd=[],ud=Array.isArray(td)?"array":typeof td;rules.required(qa,td,nd,sd,ad,ud),rd(sd)},type2=function(qa,td,rd,nd,ad){var sd=qa.type,ud=[],cd=qa.required||!qa.required&&nd.hasOwnProperty(qa.field);if(cd){if(isEmptyValue(td,sd)&&!qa.required)return rd();rules.required(qa,td,nd,ud,ad,sd),isEmptyValue(td,sd)||rules.type(qa,td,nd,ud,ad)}rd(ud)},any=function(qa,td,rd,nd,ad){var sd=[],ud=qa.required||!qa.required&&nd.hasOwnProperty(qa.field);if(ud){if(isEmptyValue(td)&&!qa.required)return rd();rules.required(qa,td,nd,sd,ad)}rd(sd)},validators$2={string,method:method2,number:number2,boolean:_boolean,regexp:regexp2,integer:integer2,float:floatFn,array:array2,object:object2,enum:enumerable2,pattern:pattern2,date:date2,url:type2,hex:type2,email:type2,required:required2,any};function newMessages(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var qa=JSON.parse(JSON.stringify(this));return qa.clone=this.clone,qa}}}var messages=newMessages(),Schema=function(){function Ra(td){this.rules=null,this._messages=messages,this.define(td)}var qa=Ra.prototype;return qa.define=function(rd){var nd=this;if(!rd)throw new Error("Cannot configure a schema with no rules");if(typeof rd!="object"||Array.isArray(rd))throw new Error("Rules must be an object");this.rules={},Object.keys(rd).forEach(function(ad){var sd=rd[ad];nd.rules[ad]=Array.isArray(sd)?sd:[sd]})},qa.messages=function(rd){return rd&&(this._messages=deepMerge(newMessages(),rd)),this._messages},qa.validate=function(rd,nd,ad){var sd=this;nd===void 0&&(nd={}),ad===void 0&&(ad=function(){});var ud=rd,cd=nd,dd=ad;if(typeof cd=="function"&&(dd=cd,cd={}),!this.rules||Object.keys(this.rules).length===0)return dd&&dd(null,ud),Promise.resolve(ud);function pd(Dd){var Ld=[],Rd={};function Od(jd){if(Array.isArray(jd)){var Ud;Ld=(Ud=Ld).concat.apply(Ud,jd)}else Ld.push(jd)}for(var Md=0;Md");const nd=useNamespace("form"),ad=ref$1(),sd=ref$1(0),ud=()=>{var pd;if((pd=ad.value)!=null&&pd.firstElementChild){const fd=window.getComputedStyle(ad.value.firstElementChild).width;return Math.ceil(Number.parseFloat(fd))}else return 0},cd=(pd="update")=>{nextTick$1(()=>{qa.default&&Ra.isAutoWidth&&(pd==="update"?sd.value=ud():pd==="remove"&&(td==null||td.deregisterLabelWidth(sd.value)))})},dd=()=>cd("update");return onMounted(()=>{dd()}),onBeforeUnmount(()=>{cd("remove")}),onUpdated(()=>dd()),watch(sd,(pd,fd)=>{Ra.updateAll&&(td==null||td.registerLabelWidth(pd,fd))}),useResizeObserver(computed(()=>{var pd,fd;return(fd=(pd=ad.value)==null?void 0:pd.firstElementChild)!=null?fd:null}),dd),()=>{var pd,fd;if(!qa)return null;const{isAutoWidth:Td}=Ra;if(Td){const Ad=td==null?void 0:td.autoLabelWidth,Sd=rd==null?void 0:rd.hasLabel,Dd={};if(Sd&&Ad&&Ad!=="auto"){const Ld=Math.max(0,Number.parseInt(Ad,10)-sd.value),Od=(rd.labelPosition||td.labelPosition)==="left"?"marginRight":"marginLeft";Ld&&(Dd[Od]=`${Ld}px`)}return createVNode("div",{ref:ad,class:[nd.be("item","label-wrap")],style:Dd},[(pd=qa.default)==null?void 0:pd.call(qa)])}else return createVNode(Fragment,{ref:ad},[(fd=qa.default)==null?void 0:fd.call(qa)])}}});const __default__$t=defineComponent({name:"ElFormItem"}),_sfc_main$1r=defineComponent({...__default__$t,props:formItemProps,setup(Ra,{expose:qa}){const td=Ra,rd=useSlots(),nd=inject(formContextKey,void 0),ad=inject(formItemContextKey,void 0),sd=useFormSize(void 0,{formItem:!1}),ud=useNamespace("form-item"),cd=useId().value,dd=ref$1([]),pd=ref$1(""),fd=refDebounced(pd,100),Td=ref$1(""),Ad=ref$1();let Sd,Dd=!1;const Ld=computed(()=>td.labelPosition||(nd==null?void 0:nd.labelPosition)),Rd=computed(()=>{if(Ld.value==="top")return{};const gf=addUnit(td.labelWidth||(nd==null?void 0:nd.labelWidth)||"");return gf?{width:gf}:{}}),Od=computed(()=>{if(Ld.value==="top"||nd!=null&&nd.inline)return{};if(!td.label&&!td.labelWidth&&Qd)return{};const gf=addUnit(td.labelWidth||(nd==null?void 0:nd.labelWidth)||"");return!td.label&&!rd.label?{marginLeft:gf}:{}}),Md=computed(()=>[ud.b(),ud.m(sd.value),ud.is("error",pd.value==="error"),ud.is("validating",pd.value==="validating"),ud.is("success",pd.value==="success"),ud.is("required",_f.value||td.required),ud.is("no-asterisk",nd==null?void 0:nd.hideRequiredAsterisk),(nd==null?void 0:nd.requireAsteriskPosition)==="right"?"asterisk-right":"asterisk-left",{[ud.m("feedback")]:nd==null?void 0:nd.statusIcon,[ud.m(`label-${Ld.value}`)]:Ld.value}]),jd=computed(()=>isBoolean$3(td.inlineMessage)?td.inlineMessage:(nd==null?void 0:nd.inlineMessage)||!1),Ud=computed(()=>[ud.e("error"),{[ud.em("error","inline")]:jd.value}]),Hd=computed(()=>td.prop?isString$3(td.prop)?td.prop:td.prop.join("."):""),zd=computed(()=>!!(td.label||rd.label)),Zd=computed(()=>td.for||(dd.value.length===1?dd.value[0]:void 0)),Wd=computed(()=>!Zd.value&&zd.value),Qd=!!ad,Jd=computed(()=>{const gf=nd==null?void 0:nd.model;if(!(!gf||!td.prop))return getProp$1(gf,td.prop).value}),hf=computed(()=>{const{required:gf}=td,Mf=[];td.rules&&Mf.push(...castArray(td.rules));const Gf=nd==null?void 0:nd.rules;if(Gf&&td.prop){const Qf=getProp$1(Gf,td.prop).value;Qf&&Mf.push(...castArray(Qf))}if(gf!==void 0){const Qf=Mf.map((Uf,Df)=>[Uf,Df]).filter(([Uf])=>Object.keys(Uf).includes("required"));if(Qf.length>0)for(const[Uf,Df]of Qf)Uf.required!==gf&&(Mf[Df]={...Uf,required:gf});else Mf.push({required:gf})}return Mf}),bf=computed(()=>hf.value.length>0),Ef=gf=>hf.value.filter(Gf=>!Gf.trigger||!gf?!0:Array.isArray(Gf.trigger)?Gf.trigger.includes(gf):Gf.trigger===gf).map(({trigger:Gf,...Qf})=>Qf),_f=computed(()=>hf.value.some(gf=>gf.required)),vf=computed(()=>{var gf;return fd.value==="error"&&td.showMessage&&((gf=nd==null?void 0:nd.showMessage)!=null?gf:!0)}),xf=computed(()=>`${td.label||""}${(nd==null?void 0:nd.labelSuffix)||""}`),Bf=gf=>{pd.value=gf},Yf=gf=>{var Mf,Gf;const{errors:Qf,fields:Uf}=gf;(!Qf||!Uf)&&console.error(gf),Bf("error"),Td.value=Qf?(Gf=(Mf=Qf==null?void 0:Qf[0])==null?void 0:Mf.message)!=null?Gf:`${td.prop} is required`:"",nd==null||nd.emit("validate",td.prop,!1,Td.value)},eh=()=>{Bf("success"),nd==null||nd.emit("validate",td.prop,!0,"")},Vf=async gf=>{const Mf=Hd.value;return new Schema({[Mf]:gf}).validate({[Mf]:Jd.value},{firstFields:!0}).then(()=>(eh(),!0)).catch(Qf=>(Yf(Qf),Promise.reject(Qf)))},Pf=async(gf,Mf)=>{if(Dd||!td.prop)return!1;const Gf=isFunction$4(Mf);if(!bf.value)return Mf==null||Mf(!1),!1;const Qf=Ef(gf);return Qf.length===0?(Mf==null||Mf(!0),!0):(Bf("validating"),Vf(Qf).then(()=>(Mf==null||Mf(!0),!0)).catch(Uf=>{const{fields:Df}=Uf;return Mf==null||Mf(!1,Df),Gf?!1:Promise.reject(Df)}))},If=()=>{Bf(""),Td.value="",Dd=!1},$f=async()=>{const gf=nd==null?void 0:nd.model;if(!gf||!td.prop)return;const Mf=getProp$1(gf,td.prop);Dd=!0,Mf.value=clone$2(Sd),await nextTick$1(),If(),Dd=!1},Zf=gf=>{dd.value.includes(gf)||dd.value.push(gf)},Kf=gf=>{dd.value=dd.value.filter(Mf=>Mf!==gf)};watch(()=>td.error,gf=>{Td.value=gf||"",Bf(gf?"error":"")},{immediate:!0}),watch(()=>td.validateStatus,gf=>Bf(gf||""));const Tf=reactive({...toRefs(td),$el:Ad,size:sd,validateState:pd,labelId:cd,inputIds:dd,isGroup:Wd,hasLabel:zd,fieldValue:Jd,addInputId:Zf,removeInputId:Kf,resetField:$f,clearValidate:If,validate:Pf});return provide(formItemContextKey,Tf),onMounted(()=>{td.prop&&(nd==null||nd.addField(Tf),Sd=clone$2(Jd.value))}),onBeforeUnmount(()=>{nd==null||nd.removeField(Tf)}),qa({size:sd,validateMessage:Td,validateState:pd,validate:Pf,clearValidate:If,resetField:$f}),(gf,Mf)=>{var Gf;return openBlock(),createElementBlock("div",{ref_key:"formItemRef",ref:Ad,class:normalizeClass(unref(Md)),role:unref(Wd)?"group":void 0,"aria-labelledby":unref(Wd)?unref(cd):void 0},[createVNode(unref(FormLabelWrap),{"is-auto-width":unref(Rd).width==="auto","update-all":((Gf=unref(nd))==null?void 0:Gf.labelWidth)==="auto"},{default:withCtx(()=>[unref(zd)?(openBlock(),createBlock(resolveDynamicComponent(unref(Zd)?"label":"div"),{key:0,id:unref(cd),for:unref(Zd),class:normalizeClass(unref(ud).e("label")),style:normalizeStyle(unref(Rd))},{default:withCtx(()=>[renderSlot(gf.$slots,"label",{label:unref(xf)},()=>[createTextVNode(toDisplayString(unref(xf)),1)])]),_:3},8,["id","for","class","style"])):createCommentVNode("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),createBaseVNode("div",{class:normalizeClass(unref(ud).e("content")),style:normalizeStyle(unref(Od))},[renderSlot(gf.$slots,"default"),createVNode(TransitionGroup,{name:`${unref(ud).namespace.value}-zoom-in-top`},{default:withCtx(()=>[unref(vf)?renderSlot(gf.$slots,"error",{key:0,error:Td.value},()=>[createBaseVNode("div",{class:normalizeClass(unref(Ud))},toDisplayString(Td.value),3)]):createCommentVNode("v-if",!0)]),_:3},8,["name"])],6)],10,["role","aria-labelledby"])}}});var FormItem=_export_sfc$1(_sfc_main$1r,[["__file","form-item.vue"]]);const ElForm=withInstall(Form,{FormItem}),ElFormItem=withNoopInstall(FormItem);let hiddenTextarea;const HIDDEN_STYLE=` height:0 !important; visibility:hidden !important; ${isFirefox()?"":"overflow:hidden !important;"} @@ -37,12 +37,12 @@ var lw=Object.defineProperty;var Z2=Ra=>{throw TypeError(Ra)};var uw=(Ra,qa,ed)= z-index:-1000 !important; top:0 !important; right:0 !important; -`,CONTEXT_STYLE=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function calculateNodeStyling(Ra){const qa=window.getComputedStyle(Ra),ed=qa.getPropertyValue("box-sizing"),td=Number.parseFloat(qa.getPropertyValue("padding-bottom"))+Number.parseFloat(qa.getPropertyValue("padding-top")),rd=Number.parseFloat(qa.getPropertyValue("border-bottom-width"))+Number.parseFloat(qa.getPropertyValue("border-top-width"));return{contextStyle:CONTEXT_STYLE.map(od=>`${od}:${qa.getPropertyValue(od)}`).join(";"),paddingSize:td,borderSize:rd,boxSizing:ed}}function calcTextareaHeight(Ra,qa=1,ed){var td;hiddenTextarea||(hiddenTextarea=document.createElement("textarea"),document.body.appendChild(hiddenTextarea));const{paddingSize:rd,borderSize:sd,boxSizing:od,contextStyle:ld}=calculateNodeStyling(Ra);hiddenTextarea.setAttribute("style",`${ld};${HIDDEN_STYLE}`),hiddenTextarea.value=Ra.value||Ra.placeholder||"";let ud=hiddenTextarea.scrollHeight;const cd={};od==="border-box"?ud=ud+sd:od==="content-box"&&(ud=ud-rd),hiddenTextarea.value="";const dd=hiddenTextarea.scrollHeight-rd;if(isNumber$4(qa)){let _d=dd*qa;od==="border-box"&&(_d=_d+rd+sd),ud=Math.max(_d,ud),cd.minHeight=`${_d}px`}if(isNumber$4(ed)){let _d=dd*ed;od==="border-box"&&(_d=_d+rd+sd),ud=Math.min(_d,ud)}return cd.height=`${ud}px`,(td=hiddenTextarea.parentNode)==null||td.removeChild(hiddenTextarea),hiddenTextarea=void 0,cd}const inputProps=buildProps({id:{type:String,default:void 0},size:useSizeProp,disabled:Boolean,modelValue:{type:definePropType([String,Number,Object]),default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:definePropType([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,showPassword:Boolean,showWordLimit:Boolean,suffixIcon:{type:iconPropType},prefixIcon:{type:iconPropType},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:definePropType([Object,Array,String]),default:()=>mutable({})},autofocus:Boolean,rows:{type:Number,default:2},...useAriaProps(["ariaLabel"])}),inputEmits={[UPDATE_MODEL_EVENT]:Ra=>isString$3(Ra),input:Ra=>isString$3(Ra),change:Ra=>isString$3(Ra),focus:Ra=>Ra instanceof FocusEvent,blur:Ra=>Ra instanceof FocusEvent,clear:()=>!0,mouseleave:Ra=>Ra instanceof MouseEvent,mouseenter:Ra=>Ra instanceof MouseEvent,keydown:Ra=>Ra instanceof Event,compositionstart:Ra=>Ra instanceof CompositionEvent,compositionupdate:Ra=>Ra instanceof CompositionEvent,compositionend:Ra=>Ra instanceof CompositionEvent},__default__$s=defineComponent({name:"ElInput",inheritAttrs:!1}),_sfc_main$1q=defineComponent({...__default__$s,props:inputProps,emits:inputEmits,setup(Ra,{expose:qa,emit:ed}){const td=Ra,rd=useAttrs$1(),sd=useSlots(),od=computed(()=>{const vh={};return td.containerRole==="combobox"&&(vh["aria-haspopup"]=rd["aria-haspopup"],vh["aria-owns"]=rd["aria-owns"],vh["aria-expanded"]=rd["aria-expanded"]),vh}),ld=computed(()=>[td.type==="textarea"?Bd.b():Id.b(),Id.m(Ad.value),Id.is("disabled",Td.value),Id.is("exceed",Nf.value),{[Id.b("group")]:sd.prepend||sd.append,[Id.m("prefix")]:sd.prefix||td.prefixIcon,[Id.m("suffix")]:sd.suffix||td.suffixIcon||td.clearable||td.showPassword,[Id.bm("suffix","password-clear")]:zf.value&&Jf.value,[Id.b("hidden")]:td.type==="hidden"},rd.class]),ud=computed(()=>[Id.e("wrapper"),Id.is("focus",qd.value)]),cd=useAttrs({excludeKeys:computed(()=>Object.keys(od.value))}),{form:dd,formItem:_d}=useFormItem(),{inputId:Ed}=useFormItemInputId(td,{formItemContext:_d}),Ad=useFormSize(),Td=useFormDisabled(),Id=useNamespace("input"),Bd=useNamespace("textarea"),Rd=shallowRef(),Od=shallowRef(),Md=ref$1(!1),Ld=ref$1(!1),Fd=ref$1(),jd=shallowRef(td.inputStyle),Vd=computed(()=>Rd.value||Od.value),{wrapperRef:Qd,isFocused:qd,handleFocus:Kd,handleBlur:Xd}=useFocusController(Vd,{beforeFocus(){return Td.value},afterBlur(){var vh;td.validateEvent&&((vh=_d==null?void 0:_d.validate)==null||vh.call(_d,"blur").catch(qh=>void 0))}}),df=computed(()=>{var vh;return(vh=dd==null?void 0:dd.statusIcon)!=null?vh:!1}),mf=computed(()=>(_d==null?void 0:_d.validateState)||""),bf=computed(()=>mf.value&&ValidateComponentsMap[mf.value]),pf=computed(()=>Ld.value?view_default:hide_default),_f=computed(()=>[rd.style]),Tf=computed(()=>[td.inputStyle,jd.value,{resize:td.resize}]),kf=computed(()=>isNil(td.modelValue)?"":String(td.modelValue)),zf=computed(()=>td.clearable&&!Td.value&&!td.readonly&&!!kf.value&&(qd.value||Md.value)),Jf=computed(()=>td.showPassword&&!Td.value&&!td.readonly&&!!kf.value&&(!!kf.value||qd.value)),Gf=computed(()=>td.showWordLimit&&!!td.maxlength&&(td.type==="text"||td.type==="textarea")&&!Td.value&&!td.readonly&&!td.showPassword),Mf=computed(()=>kf.value.length),Nf=computed(()=>!!Gf.value&&Mf.value>Number(td.maxlength)),Bf=computed(()=>!!sd.suffix||!!td.suffixIcon||zf.value||td.showPassword||Gf.value||!!mf.value&&df.value),[Qf,Wf]=useCursor(Rd);useResizeObserver(Od,vh=>{if(Rf(),!Gf.value||td.resize!=="both")return;const qh=vh[0],{width:kh}=qh.contentRect;Fd.value={right:`calc(100% - ${kh+15+6}px)`}});const yf=()=>{const{type:vh,autosize:qh}=td;if(!(!isClient$1||vh!=="textarea"||!Od.value))if(qh){const kh=isObject$5(qh)?qh.minRows:void 0,Wh=isObject$5(qh)?qh.maxRows:void 0,om=calcTextareaHeight(Od.value,kh,Wh);jd.value={overflowY:"hidden",...om},nextTick$1(()=>{Od.value.offsetHeight,jd.value=om})}else jd.value={minHeight:calcTextareaHeight(Od.value).minHeight}},Rf=(vh=>{let qh=!1;return()=>{var kh;if(qh||!td.autosize)return;((kh=Od.value)==null?void 0:kh.offsetParent)===null||(vh(),qh=!0)}})(yf),jf=()=>{const vh=Vd.value,qh=td.formatter?td.formatter(kf.value):kf.value;!vh||vh.value===qh||(vh.value=qh)},Kf=async vh=>{Qf();let{value:qh}=vh.target;if(td.formatter&&(qh=td.parser?td.parser(qh):qh),!wf.value){if(qh===kf.value){jf();return}ed(UPDATE_MODEL_EVENT,qh),ed("input",qh),await nextTick$1(),jf(),Wf()}},Ff=vh=>{ed("change",vh.target.value)},{isComposing:wf,handleCompositionStart:Yf,handleCompositionUpdate:uh,handleCompositionEnd:Uf}=useComposition({emit:ed,afterComposition:Kf}),Cf=()=>{Ld.value=!Ld.value,If()},If=async()=>{var vh;await nextTick$1(),(vh=Vd.value)==null||vh.focus()},Lf=()=>{var vh;return(vh=Vd.value)==null?void 0:vh.blur()},sh=vh=>{Md.value=!1,ed("mouseleave",vh)},hh=vh=>{Md.value=!0,ed("mouseenter",vh)},rh=vh=>{ed("keydown",vh)},Ah=()=>{var vh;(vh=Vd.value)==null||vh.select()},ph=()=>{ed(UPDATE_MODEL_EVENT,""),ed("change",""),ed("clear"),ed("input","")};return watch(()=>td.modelValue,()=>{var vh;nextTick$1(()=>yf()),td.validateEvent&&((vh=_d==null?void 0:_d.validate)==null||vh.call(_d,"change").catch(qh=>void 0))}),watch(kf,()=>jf()),watch(()=>td.type,async()=>{await nextTick$1(),jf(),yf()}),onMounted(()=>{!td.formatter&&td.parser,jf(),nextTick$1(yf)}),qa({input:Rd,textarea:Od,ref:Vd,textareaStyle:Tf,autosize:toRef$1(td,"autosize"),isComposing:wf,focus:If,blur:Lf,select:Ah,clear:ph,resizeTextarea:yf}),(vh,qh)=>(openBlock(),createElementBlock("div",mergeProps(unref(od),{class:[unref(ld),{[unref(Id).bm("group","append")]:vh.$slots.append,[unref(Id).bm("group","prepend")]:vh.$slots.prepend}],style:unref(_f),role:vh.containerRole,onMouseenter:hh,onMouseleave:sh}),[createCommentVNode(" input "),vh.type!=="textarea"?(openBlock(),createElementBlock(Fragment,{key:0},[createCommentVNode(" prepend slot "),vh.$slots.prepend?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Id).be("group","prepend"))},[renderSlot(vh.$slots,"prepend")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{ref_key:"wrapperRef",ref:Qd,class:normalizeClass(unref(ud))},[createCommentVNode(" prefix slot "),vh.$slots.prefix||vh.prefixIcon?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(Id).e("prefix"))},[createBaseVNode("span",{class:normalizeClass(unref(Id).e("prefix-inner"))},[renderSlot(vh.$slots,"prefix"),vh.prefixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Id).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(vh.prefixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("input",mergeProps({id:unref(Ed),ref_key:"input",ref:Rd,class:unref(Id).e("inner")},unref(cd),{minlength:vh.minlength,maxlength:vh.maxlength,type:vh.showPassword?Ld.value?"text":"password":vh.type,disabled:unref(Td),readonly:vh.readonly,autocomplete:vh.autocomplete,tabindex:vh.tabindex,"aria-label":vh.ariaLabel,placeholder:vh.placeholder,style:vh.inputStyle,form:vh.form,autofocus:vh.autofocus,onCompositionstart:unref(Yf),onCompositionupdate:unref(uh),onCompositionend:unref(Uf),onInput:Kf,onChange:Ff,onKeydown:rh}),null,16,["id","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus","onCompositionstart","onCompositionupdate","onCompositionend"]),createCommentVNode(" suffix slot "),unref(Bf)?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(Id).e("suffix"))},[createBaseVNode("span",{class:normalizeClass(unref(Id).e("suffix-inner"))},[!unref(zf)||!unref(Jf)||!unref(Gf)?(openBlock(),createElementBlock(Fragment,{key:0},[renderSlot(vh.$slots,"suffix"),vh.suffixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Id).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(vh.suffixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],64)):createCommentVNode("v-if",!0),unref(zf)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(Id).e("icon"),unref(Id).e("clear")]),onMousedown:withModifiers(unref(NOOP),["prevent"]),onClick:ph},{default:withCtx(()=>[createVNode(unref(circle_close_default))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0),unref(Jf)?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass([unref(Id).e("icon"),unref(Id).e("password")]),onClick:Cf},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(pf))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),unref(Gf)?(openBlock(),createElementBlock("span",{key:3,class:normalizeClass(unref(Id).e("count"))},[createBaseVNode("span",{class:normalizeClass(unref(Id).e("count-inner"))},toDisplayString(unref(Mf))+" / "+toDisplayString(vh.maxlength),3)],2)):createCommentVNode("v-if",!0),unref(mf)&&unref(bf)&&unref(df)?(openBlock(),createBlock(unref(ElIcon),{key:4,class:normalizeClass([unref(Id).e("icon"),unref(Id).e("validateIcon"),unref(Id).is("loading",unref(mf)==="validating")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(bf))))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)):createCommentVNode("v-if",!0)],2),createCommentVNode(" append slot "),vh.$slots.append?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Id).be("group","append"))},[renderSlot(vh.$slots,"append")],2)):createCommentVNode("v-if",!0)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" textarea "),createBaseVNode("textarea",mergeProps({id:unref(Ed),ref_key:"textarea",ref:Od,class:[unref(Bd).e("inner"),unref(Id).is("focus",unref(qd))]},unref(cd),{minlength:vh.minlength,maxlength:vh.maxlength,tabindex:vh.tabindex,disabled:unref(Td),readonly:vh.readonly,autocomplete:vh.autocomplete,style:unref(Tf),"aria-label":vh.ariaLabel,placeholder:vh.placeholder,form:vh.form,autofocus:vh.autofocus,rows:vh.rows,onCompositionstart:unref(Yf),onCompositionupdate:unref(uh),onCompositionend:unref(Uf),onInput:Kf,onFocus:unref(Kd),onBlur:unref(Xd),onChange:Ff,onKeydown:rh}),null,16,["id","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus","rows","onCompositionstart","onCompositionupdate","onCompositionend","onFocus","onBlur"]),unref(Gf)?(openBlock(),createElementBlock("span",{key:0,style:normalizeStyle(Fd.value),class:normalizeClass(unref(Id).e("count"))},toDisplayString(unref(Mf))+" / "+toDisplayString(vh.maxlength),7)):createCommentVNode("v-if",!0)],64))],16,["role"]))}});var Input=_export_sfc$1(_sfc_main$1q,[["__file","input.vue"]]);const ElInput=withInstall(Input),GAP=4,BAR_MAP={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},renderThumbStyle=({move:Ra,size:qa,bar:ed})=>({[ed.size]:qa,transform:`translate${ed.axis}(${Ra}%)`}),scrollbarContextKey=Symbol("scrollbarContextKey"),thumbProps=buildProps({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),COMPONENT_NAME$8="Thumb",_sfc_main$1p=defineComponent({__name:"thumb",props:thumbProps,setup(Ra){const qa=Ra,ed=inject(scrollbarContextKey),td=useNamespace("scrollbar");ed||throwError$1(COMPONENT_NAME$8,"can not inject scrollbar context");const rd=ref$1(),sd=ref$1(),od=ref$1({}),ld=ref$1(!1);let ud=!1,cd=!1,dd=isClient$1?document.onselectstart:null;const _d=computed(()=>BAR_MAP[qa.vertical?"vertical":"horizontal"]),Ed=computed(()=>renderThumbStyle({size:qa.size,move:qa.move,bar:_d.value})),Ad=computed(()=>rd.value[_d.value.offset]**2/ed.wrapElement[_d.value.scrollSize]/qa.ratio/sd.value[_d.value.offset]),Td=jd=>{var Vd;if(jd.stopPropagation(),jd.ctrlKey||[1,2].includes(jd.button))return;(Vd=window.getSelection())==null||Vd.removeAllRanges(),Bd(jd);const Qd=jd.currentTarget;Qd&&(od.value[_d.value.axis]=Qd[_d.value.offset]-(jd[_d.value.client]-Qd.getBoundingClientRect()[_d.value.direction]))},Id=jd=>{if(!sd.value||!rd.value||!ed.wrapElement)return;const Vd=Math.abs(jd.target.getBoundingClientRect()[_d.value.direction]-jd[_d.value.client]),Qd=sd.value[_d.value.offset]/2,qd=(Vd-Qd)*100*Ad.value/rd.value[_d.value.offset];ed.wrapElement[_d.value.scroll]=qd*ed.wrapElement[_d.value.scrollSize]/100},Bd=jd=>{jd.stopImmediatePropagation(),ud=!0,document.addEventListener("mousemove",Rd),document.addEventListener("mouseup",Od),dd=document.onselectstart,document.onselectstart=()=>!1},Rd=jd=>{if(!rd.value||!sd.value||ud===!1)return;const Vd=od.value[_d.value.axis];if(!Vd)return;const Qd=(rd.value.getBoundingClientRect()[_d.value.direction]-jd[_d.value.client])*-1,qd=sd.value[_d.value.offset]-Vd,Kd=(Qd-qd)*100*Ad.value/rd.value[_d.value.offset];ed.wrapElement[_d.value.scroll]=Kd*ed.wrapElement[_d.value.scrollSize]/100},Od=()=>{ud=!1,od.value[_d.value.axis]=0,document.removeEventListener("mousemove",Rd),document.removeEventListener("mouseup",Od),Fd(),cd&&(ld.value=!1)},Md=()=>{cd=!1,ld.value=!!qa.size},Ld=()=>{cd=!0,ld.value=ud};onBeforeUnmount(()=>{Fd(),document.removeEventListener("mouseup",Od)});const Fd=()=>{document.onselectstart!==dd&&(document.onselectstart=dd)};return useEventListener$1(toRef$1(ed,"scrollbarElement"),"mousemove",Md),useEventListener$1(toRef$1(ed,"scrollbarElement"),"mouseleave",Ld),(jd,Vd)=>(openBlock(),createBlock(Transition$1,{name:unref(td).b("fade"),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{ref_key:"instance",ref:rd,class:normalizeClass([unref(td).e("bar"),unref(td).is(unref(_d).key)]),onMousedown:Id},[createBaseVNode("div",{ref_key:"thumb",ref:sd,class:normalizeClass(unref(td).e("thumb")),style:normalizeStyle(unref(Ed)),onMousedown:Td},null,38)],34),[[vShow,jd.always||ld.value]])]),_:1},8,["name"]))}});var Thumb=_export_sfc$1(_sfc_main$1p,[["__file","thumb.vue"]]);const barProps=buildProps({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),_sfc_main$1o=defineComponent({__name:"bar",props:barProps,setup(Ra,{expose:qa}){const ed=Ra,td=inject(scrollbarContextKey),rd=ref$1(0),sd=ref$1(0),od=ref$1(""),ld=ref$1(""),ud=ref$1(1),cd=ref$1(1);return qa({handleScroll:Ed=>{if(Ed){const Ad=Ed.offsetHeight-GAP,Td=Ed.offsetWidth-GAP;sd.value=Ed.scrollTop*100/Ad*ud.value,rd.value=Ed.scrollLeft*100/Td*cd.value}},update:()=>{const Ed=td==null?void 0:td.wrapElement;if(!Ed)return;const Ad=Ed.offsetHeight-GAP,Td=Ed.offsetWidth-GAP,Id=Ad**2/Ed.scrollHeight,Bd=Td**2/Ed.scrollWidth,Rd=Math.max(Id,ed.minSize),Od=Math.max(Bd,ed.minSize);ud.value=Id/(Ad-Id)/(Rd/(Ad-Rd)),cd.value=Bd/(Td-Bd)/(Od/(Td-Od)),ld.value=Rd+GAP(openBlock(),createElementBlock(Fragment,null,[createVNode(Thumb,{move:rd.value,ratio:cd.value,size:od.value,always:Ed.always},null,8,["move","ratio","size","always"]),createVNode(Thumb,{move:sd.value,ratio:ud.value,size:ld.value,vertical:"",always:Ed.always},null,8,["move","ratio","size","always"])],64))}});var Bar=_export_sfc$1(_sfc_main$1o,[["__file","bar.vue"]]);const scrollbarProps=buildProps({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:definePropType([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},tabindex:{type:[String,Number],default:void 0},id:String,role:String,...useAriaProps(["ariaLabel","ariaOrientation"])}),scrollbarEmits={scroll:({scrollTop:Ra,scrollLeft:qa})=>[Ra,qa].every(isNumber$4)},COMPONENT_NAME$7="ElScrollbar",__default__$r=defineComponent({name:COMPONENT_NAME$7}),_sfc_main$1n=defineComponent({...__default__$r,props:scrollbarProps,emits:scrollbarEmits,setup(Ra,{expose:qa,emit:ed}){const td=Ra,rd=useNamespace("scrollbar");let sd,od,ld=0,ud=0;const cd=ref$1(),dd=ref$1(),_d=ref$1(),Ed=ref$1(),Ad=computed(()=>{const Fd={};return td.height&&(Fd.height=addUnit(td.height)),td.maxHeight&&(Fd.maxHeight=addUnit(td.maxHeight)),[td.wrapStyle,Fd]}),Td=computed(()=>[td.wrapClass,rd.e("wrap"),{[rd.em("wrap","hidden-default")]:!td.native}]),Id=computed(()=>[rd.e("view"),td.viewClass]),Bd=()=>{var Fd;dd.value&&((Fd=Ed.value)==null||Fd.handleScroll(dd.value),ld=dd.value.scrollTop,ud=dd.value.scrollLeft,ed("scroll",{scrollTop:dd.value.scrollTop,scrollLeft:dd.value.scrollLeft}))};function Rd(Fd,jd){isObject$5(Fd)?dd.value.scrollTo(Fd):isNumber$4(Fd)&&isNumber$4(jd)&&dd.value.scrollTo(Fd,jd)}const Od=Fd=>{isNumber$4(Fd)&&(dd.value.scrollTop=Fd)},Md=Fd=>{isNumber$4(Fd)&&(dd.value.scrollLeft=Fd)},Ld=()=>{var Fd;(Fd=Ed.value)==null||Fd.update()};return watch(()=>td.noresize,Fd=>{Fd?(sd==null||sd(),od==null||od()):({stop:sd}=useResizeObserver(_d,Ld),od=useEventListener$1("resize",Ld))},{immediate:!0}),watch(()=>[td.maxHeight,td.height],()=>{td.native||nextTick$1(()=>{var Fd;Ld(),dd.value&&((Fd=Ed.value)==null||Fd.handleScroll(dd.value))})}),provide(scrollbarContextKey,reactive({scrollbarElement:cd,wrapElement:dd})),onActivated(()=>{dd.value.scrollTop=ld,dd.value.scrollLeft=ud}),onMounted(()=>{td.native||nextTick$1(()=>{Ld()})}),onUpdated(()=>Ld()),qa({wrapRef:dd,update:Ld,scrollTo:Rd,setScrollTop:Od,setScrollLeft:Md,handleScroll:Bd}),(Fd,jd)=>(openBlock(),createElementBlock("div",{ref_key:"scrollbarRef",ref:cd,class:normalizeClass(unref(rd).b())},[createBaseVNode("div",{ref_key:"wrapRef",ref:dd,class:normalizeClass(unref(Td)),style:normalizeStyle(unref(Ad)),tabindex:Fd.tabindex,onScroll:Bd},[(openBlock(),createBlock(resolveDynamicComponent(Fd.tag),{id:Fd.id,ref_key:"resizeRef",ref:_d,class:normalizeClass(unref(Id)),style:normalizeStyle(Fd.viewStyle),role:Fd.role,"aria-label":Fd.ariaLabel,"aria-orientation":Fd.ariaOrientation},{default:withCtx(()=>[renderSlot(Fd.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],46,["tabindex"]),Fd.native?createCommentVNode("v-if",!0):(openBlock(),createBlock(Bar,{key:0,ref_key:"barRef",ref:Ed,always:Fd.always,"min-size":Fd.minSize},null,8,["always","min-size"]))],2))}});var Scrollbar=_export_sfc$1(_sfc_main$1n,[["__file","scrollbar.vue"]]);const ElScrollbar=withInstall(Scrollbar),POPPER_INJECTION_KEY=Symbol("popper"),POPPER_CONTENT_INJECTION_KEY=Symbol("popperContent"),roleTypes=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],popperProps=buildProps({role:{type:String,values:roleTypes,default:"tooltip"}}),__default__$q=defineComponent({name:"ElPopper",inheritAttrs:!1}),_sfc_main$1m=defineComponent({...__default__$q,props:popperProps,setup(Ra,{expose:qa}){const ed=Ra,td=ref$1(),rd=ref$1(),sd=ref$1(),od=ref$1(),ld=computed(()=>ed.role),ud={triggerRef:td,popperInstanceRef:rd,contentRef:sd,referenceRef:od,role:ld};return qa(ud),provide(POPPER_INJECTION_KEY,ud),(cd,dd)=>renderSlot(cd.$slots,"default")}});var Popper=_export_sfc$1(_sfc_main$1m,[["__file","popper.vue"]]);const popperArrowProps=buildProps({arrowOffset:{type:Number,default:5}}),__default__$p=defineComponent({name:"ElPopperArrow",inheritAttrs:!1}),_sfc_main$1l=defineComponent({...__default__$p,props:popperArrowProps,setup(Ra,{expose:qa}){const ed=Ra,td=useNamespace("popper"),{arrowOffset:rd,arrowRef:sd,arrowStyle:od}=inject(POPPER_CONTENT_INJECTION_KEY,void 0);return watch(()=>ed.arrowOffset,ld=>{rd.value=ld}),onBeforeUnmount(()=>{sd.value=void 0}),qa({arrowRef:sd}),(ld,ud)=>(openBlock(),createElementBlock("span",{ref_key:"arrowRef",ref:sd,class:normalizeClass(unref(td).e("arrow")),style:normalizeStyle(unref(od)),"data-popper-arrow":""},null,6))}});var ElPopperArrow=_export_sfc$1(_sfc_main$1l,[["__file","arrow.vue"]]);const NAME="ElOnlyChild",OnlyChild=defineComponent({name:NAME,setup(Ra,{slots:qa,attrs:ed}){var td;const rd=inject(FORWARD_REF_INJECTION_KEY),sd=useForwardRefDirective((td=rd==null?void 0:rd.setForwardRef)!=null?td:NOOP);return()=>{var od;const ld=(od=qa.default)==null?void 0:od.call(qa,ed);if(!ld||ld.length>1)return null;const ud=findFirstLegitChild(ld);return ud?withDirectives(cloneVNode(ud,ed),[[sd]]):null}}});function findFirstLegitChild(Ra){if(!Ra)return null;const qa=Ra;for(const ed of qa){if(isObject$5(ed))switch(ed.type){case Comment$2:continue;case Text$2:case"svg":return wrapTextContent(ed);case Fragment:return findFirstLegitChild(ed.children);default:return ed}return wrapTextContent(ed)}return null}function wrapTextContent(Ra){const qa=useNamespace("only-child");return createVNode("span",{class:qa.e("content")},[Ra])}const popperTriggerProps=buildProps({virtualRef:{type:definePropType(Object)},virtualTriggering:Boolean,onMouseenter:{type:definePropType(Function)},onMouseleave:{type:definePropType(Function)},onClick:{type:definePropType(Function)},onKeydown:{type:definePropType(Function)},onFocus:{type:definePropType(Function)},onBlur:{type:definePropType(Function)},onContextmenu:{type:definePropType(Function)},id:String,open:Boolean}),__default__$o=defineComponent({name:"ElPopperTrigger",inheritAttrs:!1}),_sfc_main$1k=defineComponent({...__default__$o,props:popperTriggerProps,setup(Ra,{expose:qa}){const ed=Ra,{role:td,triggerRef:rd}=inject(POPPER_INJECTION_KEY,void 0);useForwardRef(rd);const sd=computed(()=>ld.value?ed.id:void 0),od=computed(()=>{if(td&&td.value==="tooltip")return ed.open&&ed.id?ed.id:void 0}),ld=computed(()=>{if(td&&td.value!=="tooltip")return td.value}),ud=computed(()=>ld.value?`${ed.open}`:void 0);let cd;const dd=["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"];return onMounted(()=>{watch(()=>ed.virtualRef,_d=>{_d&&(rd.value=unrefElement$1(_d))},{immediate:!0}),watch(rd,(_d,Ed)=>{cd==null||cd(),cd=void 0,isElement$2(_d)&&(dd.forEach(Ad=>{var Td;const Id=ed[Ad];Id&&(_d.addEventListener(Ad.slice(2).toLowerCase(),Id),(Td=Ed==null?void 0:Ed.removeEventListener)==null||Td.call(Ed,Ad.slice(2).toLowerCase(),Id))}),cd=watch([sd,od,ld,ud],Ad=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((Td,Id)=>{isNil(Ad[Id])?_d.removeAttribute(Td):_d.setAttribute(Td,Ad[Id])})},{immediate:!0})),isElement$2(Ed)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(Ad=>Ed.removeAttribute(Ad))},{immediate:!0})}),onBeforeUnmount(()=>{if(cd==null||cd(),cd=void 0,rd.value&&isElement$2(rd.value)){const _d=rd.value;dd.forEach(Ed=>{const Ad=ed[Ed];Ad&&_d.removeEventListener(Ed.slice(2).toLowerCase(),Ad)}),rd.value=void 0}}),qa({triggerRef:rd}),(_d,Ed)=>_d.virtualTriggering?createCommentVNode("v-if",!0):(openBlock(),createBlock(unref(OnlyChild),mergeProps({key:0},_d.$attrs,{"aria-controls":unref(sd),"aria-describedby":unref(od),"aria-expanded":unref(ud),"aria-haspopup":unref(ld)}),{default:withCtx(()=>[renderSlot(_d.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var ElPopperTrigger=_export_sfc$1(_sfc_main$1k,[["__file","trigger.vue"]]);const FOCUS_AFTER_TRAPPED="focus-trap.focus-after-trapped",FOCUS_AFTER_RELEASED="focus-trap.focus-after-released",FOCUSOUT_PREVENTED="focus-trap.focusout-prevented",FOCUS_AFTER_TRAPPED_OPTS={cancelable:!0,bubbles:!1},FOCUSOUT_PREVENTED_OPTS={cancelable:!0,bubbles:!1},ON_TRAP_FOCUS_EVT="focusAfterTrapped",ON_RELEASE_FOCUS_EVT="focusAfterReleased",FOCUS_TRAP_INJECTION_KEY=Symbol("elFocusTrap"),focusReason=ref$1(),lastUserFocusTimestamp=ref$1(0),lastAutomatedFocusTimestamp=ref$1(0);let focusReasonUserCount=0;const obtainAllFocusableElements=Ra=>{const qa=[],ed=document.createTreeWalker(Ra,NodeFilter.SHOW_ELEMENT,{acceptNode:td=>{const rd=td.tagName==="INPUT"&&td.type==="hidden";return td.disabled||td.hidden||rd?NodeFilter.FILTER_SKIP:td.tabIndex>=0||td===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;ed.nextNode();)qa.push(ed.currentNode);return qa},getVisibleElement=(Ra,qa)=>{for(const ed of Ra)if(!isHidden(ed,qa))return ed},isHidden=(Ra,qa)=>{if(getComputedStyle(Ra).visibility==="hidden")return!0;for(;Ra;){if(qa&&Ra===qa)return!1;if(getComputedStyle(Ra).display==="none")return!0;Ra=Ra.parentElement}return!1},getEdges=Ra=>{const qa=obtainAllFocusableElements(Ra),ed=getVisibleElement(qa,Ra),td=getVisibleElement(qa.reverse(),Ra);return[ed,td]},isSelectable=Ra=>Ra instanceof HTMLInputElement&&"select"in Ra,tryFocus=(Ra,qa)=>{if(Ra&&Ra.focus){const ed=document.activeElement;Ra.focus({preventScroll:!0}),lastAutomatedFocusTimestamp.value=window.performance.now(),Ra!==ed&&isSelectable(Ra)&&qa&&Ra.select()}};function removeFromStack(Ra,qa){const ed=[...Ra],td=Ra.indexOf(qa);return td!==-1&&ed.splice(td,1),ed}const createFocusableStack=()=>{let Ra=[];return{push:td=>{const rd=Ra[0];rd&&td!==rd&&rd.pause(),Ra=removeFromStack(Ra,td),Ra.unshift(td)},remove:td=>{var rd,sd;Ra=removeFromStack(Ra,td),(sd=(rd=Ra[0])==null?void 0:rd.resume)==null||sd.call(rd)}}},focusFirstDescendant=(Ra,qa=!1)=>{const ed=document.activeElement;for(const td of Ra)if(tryFocus(td,qa),document.activeElement!==ed)return},focusableStack=createFocusableStack(),isFocusCausedByUserEvent=()=>lastUserFocusTimestamp.value>lastAutomatedFocusTimestamp.value,notifyFocusReasonPointer=()=>{focusReason.value="pointer",lastUserFocusTimestamp.value=window.performance.now()},notifyFocusReasonKeydown=()=>{focusReason.value="keyboard",lastUserFocusTimestamp.value=window.performance.now()},useFocusReason=()=>(onMounted(()=>{focusReasonUserCount===0&&(document.addEventListener("mousedown",notifyFocusReasonPointer),document.addEventListener("touchstart",notifyFocusReasonPointer),document.addEventListener("keydown",notifyFocusReasonKeydown)),focusReasonUserCount++}),onBeforeUnmount(()=>{focusReasonUserCount--,focusReasonUserCount<=0&&(document.removeEventListener("mousedown",notifyFocusReasonPointer),document.removeEventListener("touchstart",notifyFocusReasonPointer),document.removeEventListener("keydown",notifyFocusReasonKeydown))}),{focusReason,lastUserFocusTimestamp,lastAutomatedFocusTimestamp}),createFocusOutPreventedEvent=Ra=>new CustomEvent(FOCUSOUT_PREVENTED,{...FOCUSOUT_PREVENTED_OPTS,detail:Ra}),_sfc_main$1j=defineComponent({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[ON_TRAP_FOCUS_EVT,ON_RELEASE_FOCUS_EVT,"focusin","focusout","focusout-prevented","release-requested"],setup(Ra,{emit:qa}){const ed=ref$1();let td,rd;const{focusReason:sd}=useFocusReason();useEscapeKeydown(Td=>{Ra.trapped&&!od.paused&&qa("release-requested",Td)});const od={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},ld=Td=>{if(!Ra.loop&&!Ra.trapped||od.paused)return;const{key:Id,altKey:Bd,ctrlKey:Rd,metaKey:Od,currentTarget:Md,shiftKey:Ld}=Td,{loop:Fd}=Ra,jd=Id===EVENT_CODE.tab&&!Bd&&!Rd&&!Od,Vd=document.activeElement;if(jd&&Vd){const Qd=Md,[qd,Kd]=getEdges(Qd);if(qd&&Kd){if(!Ld&&Vd===Kd){const df=createFocusOutPreventedEvent({focusReason:sd.value});qa("focusout-prevented",df),df.defaultPrevented||(Td.preventDefault(),Fd&&tryFocus(qd,!0))}else if(Ld&&[qd,Qd].includes(Vd)){const df=createFocusOutPreventedEvent({focusReason:sd.value});qa("focusout-prevented",df),df.defaultPrevented||(Td.preventDefault(),Fd&&tryFocus(Kd,!0))}}else if(Vd===Qd){const df=createFocusOutPreventedEvent({focusReason:sd.value});qa("focusout-prevented",df),df.defaultPrevented||Td.preventDefault()}}};provide(FOCUS_TRAP_INJECTION_KEY,{focusTrapRef:ed,onKeydown:ld}),watch(()=>Ra.focusTrapEl,Td=>{Td&&(ed.value=Td)},{immediate:!0}),watch([ed],([Td],[Id])=>{Td&&(Td.addEventListener("keydown",ld),Td.addEventListener("focusin",dd),Td.addEventListener("focusout",_d)),Id&&(Id.removeEventListener("keydown",ld),Id.removeEventListener("focusin",dd),Id.removeEventListener("focusout",_d))});const ud=Td=>{qa(ON_TRAP_FOCUS_EVT,Td)},cd=Td=>qa(ON_RELEASE_FOCUS_EVT,Td),dd=Td=>{const Id=unref(ed);if(!Id)return;const Bd=Td.target,Rd=Td.relatedTarget,Od=Bd&&Id.contains(Bd);Ra.trapped||Rd&&Id.contains(Rd)||(td=Rd),Od&&qa("focusin",Td),!od.paused&&Ra.trapped&&(Od?rd=Bd:tryFocus(rd,!0))},_d=Td=>{const Id=unref(ed);if(!(od.paused||!Id))if(Ra.trapped){const Bd=Td.relatedTarget;!isNil(Bd)&&!Id.contains(Bd)&&setTimeout(()=>{if(!od.paused&&Ra.trapped){const Rd=createFocusOutPreventedEvent({focusReason:sd.value});qa("focusout-prevented",Rd),Rd.defaultPrevented||tryFocus(rd,!0)}},0)}else{const Bd=Td.target;Bd&&Id.contains(Bd)||qa("focusout",Td)}};async function Ed(){await nextTick$1();const Td=unref(ed);if(Td){focusableStack.push(od);const Id=Td.contains(document.activeElement)?td:document.activeElement;if(td=Id,!Td.contains(Id)){const Rd=new Event(FOCUS_AFTER_TRAPPED,FOCUS_AFTER_TRAPPED_OPTS);Td.addEventListener(FOCUS_AFTER_TRAPPED,ud),Td.dispatchEvent(Rd),Rd.defaultPrevented||nextTick$1(()=>{let Od=Ra.focusStartEl;isString$3(Od)||(tryFocus(Od),document.activeElement!==Od&&(Od="first")),Od==="first"&&focusFirstDescendant(obtainAllFocusableElements(Td),!0),(document.activeElement===Id||Od==="container")&&tryFocus(Td)})}}}function Ad(){const Td=unref(ed);if(Td){Td.removeEventListener(FOCUS_AFTER_TRAPPED,ud);const Id=new CustomEvent(FOCUS_AFTER_RELEASED,{...FOCUS_AFTER_TRAPPED_OPTS,detail:{focusReason:sd.value}});Td.addEventListener(FOCUS_AFTER_RELEASED,cd),Td.dispatchEvent(Id),!Id.defaultPrevented&&(sd.value=="keyboard"||!isFocusCausedByUserEvent()||Td.contains(document.activeElement))&&tryFocus(td??document.body),Td.removeEventListener(FOCUS_AFTER_RELEASED,cd),focusableStack.remove(od)}}return onMounted(()=>{Ra.trapped&&Ed(),watch(()=>Ra.trapped,Td=>{Td?Ed():Ad()})}),onBeforeUnmount(()=>{Ra.trapped&&Ad(),ed.value&&(ed.value.removeEventListener("keydown",ld),ed.value.removeEventListener("focusin",dd),ed.value.removeEventListener("focusout",_d),ed.value=void 0)}),{onKeydown:ld}}});function _sfc_render$8(Ra,qa,ed,td,rd,sd){return renderSlot(Ra.$slots,"default",{handleKeydown:Ra.onKeydown})}var ElFocusTrap=_export_sfc$1(_sfc_main$1j,[["render",_sfc_render$8],["__file","focus-trap.vue"]]);const POSITIONING_STRATEGIES=["fixed","absolute"],popperCoreConfigProps=buildProps({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:definePropType(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:Ee$4,default:"bottom"},popperOptions:{type:definePropType(Object),default:()=>({})},strategy:{type:String,values:POSITIONING_STRATEGIES,default:"absolute"}}),popperContentProps=buildProps({...popperCoreConfigProps,id:String,style:{type:definePropType([String,Array,Object])},className:{type:definePropType([String,Array,Object])},effect:{type:definePropType(String),default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:{type:Boolean,default:!1},trapping:{type:Boolean,default:!1},popperClass:{type:definePropType([String,Array,Object])},popperStyle:{type:definePropType([String,Array,Object])},referenceEl:{type:definePropType(Object)},triggerTargetEl:{type:definePropType(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number,...useAriaProps(["ariaLabel"])}),popperContentEmits={mouseenter:Ra=>Ra instanceof MouseEvent,mouseleave:Ra=>Ra instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},buildPopperOptions=(Ra,qa=[])=>{const{placement:ed,strategy:td,popperOptions:rd}=Ra,sd={placement:ed,strategy:td,...rd,modifiers:[...genModifiers(Ra),...qa]};return deriveExtraModifiers(sd,rd==null?void 0:rd.modifiers),sd},unwrapMeasurableEl=Ra=>{if(isClient$1)return unrefElement$1(Ra)};function genModifiers(Ra){const{offset:qa,gpuAcceleration:ed,fallbackPlacements:td}=Ra;return[{name:"offset",options:{offset:[0,qa??12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:td}},{name:"computeStyles",options:{gpuAcceleration:ed}}]}function deriveExtraModifiers(Ra,qa){qa&&(Ra.modifiers=[...Ra.modifiers,...qa??[]])}const DEFAULT_ARROW_OFFSET=0,usePopperContent=Ra=>{const{popperInstanceRef:qa,contentRef:ed,triggerRef:td,role:rd}=inject(POPPER_INJECTION_KEY,void 0),sd=ref$1(),od=ref$1(),ld=computed(()=>({name:"eventListeners",enabled:!!Ra.visible})),ud=computed(()=>{var Rd;const Od=unref(sd),Md=(Rd=unref(od))!=null?Rd:DEFAULT_ARROW_OFFSET;return{name:"arrow",enabled:!isUndefined$2(Od),options:{element:Od,padding:Md}}}),cd=computed(()=>({onFirstUpdate:()=>{Td()},...buildPopperOptions(Ra,[unref(ud),unref(ld)])})),dd=computed(()=>unwrapMeasurableEl(Ra.referenceEl)||unref(td)),{attributes:_d,state:Ed,styles:Ad,update:Td,forceUpdate:Id,instanceRef:Bd}=usePopper(dd,ed,cd);return watch(Bd,Rd=>qa.value=Rd),onMounted(()=>{watch(()=>{var Rd;return(Rd=unref(dd))==null?void 0:Rd.getBoundingClientRect()},()=>{Td()})}),{attributes:_d,arrowRef:sd,contentRef:ed,instanceRef:Bd,state:Ed,styles:Ad,role:rd,forceUpdate:Id,update:Td}},usePopperContentDOM=(Ra,{attributes:qa,styles:ed,role:td})=>{const{nextZIndex:rd}=useZIndex(),sd=useNamespace("popper"),od=computed(()=>unref(qa).popper),ld=ref$1(isNumber$4(Ra.zIndex)?Ra.zIndex:rd()),ud=computed(()=>[sd.b(),sd.is("pure",Ra.pure),sd.is(Ra.effect),Ra.popperClass]),cd=computed(()=>[{zIndex:unref(ld)},unref(ed).popper,Ra.popperStyle||{}]),dd=computed(()=>td.value==="dialog"?"false":void 0),_d=computed(()=>unref(ed).arrow||{});return{ariaModal:dd,arrowStyle:_d,contentAttrs:od,contentClass:ud,contentStyle:cd,contentZIndex:ld,updateZIndex:()=>{ld.value=isNumber$4(Ra.zIndex)?Ra.zIndex:rd()}}},usePopperContentFocusTrap=(Ra,qa)=>{const ed=ref$1(!1),td=ref$1();return{focusStartRef:td,trapped:ed,onFocusAfterReleased:cd=>{var dd;((dd=cd.detail)==null?void 0:dd.focusReason)!=="pointer"&&(td.value="first",qa("blur"))},onFocusAfterTrapped:()=>{qa("focus")},onFocusInTrap:cd=>{Ra.visible&&!ed.value&&(cd.target&&(td.value=cd.target),ed.value=!0)},onFocusoutPrevented:cd=>{Ra.trapping||(cd.detail.focusReason==="pointer"&&cd.preventDefault(),ed.value=!1)},onReleaseRequested:()=>{ed.value=!1,qa("close")}}},__default__$n=defineComponent({name:"ElPopperContent"}),_sfc_main$1i=defineComponent({...__default__$n,props:popperContentProps,emits:popperContentEmits,setup(Ra,{expose:qa,emit:ed}){const td=Ra,{focusStartRef:rd,trapped:sd,onFocusAfterReleased:od,onFocusAfterTrapped:ld,onFocusInTrap:ud,onFocusoutPrevented:cd,onReleaseRequested:dd}=usePopperContentFocusTrap(td,ed),{attributes:_d,arrowRef:Ed,contentRef:Ad,styles:Td,instanceRef:Id,role:Bd,update:Rd}=usePopperContent(td),{ariaModal:Od,arrowStyle:Md,contentAttrs:Ld,contentClass:Fd,contentStyle:jd,updateZIndex:Vd}=usePopperContentDOM(td,{styles:Td,attributes:_d,role:Bd}),Qd=inject(formItemContextKey,void 0),qd=ref$1();provide(POPPER_CONTENT_INJECTION_KEY,{arrowStyle:Md,arrowRef:Ed,arrowOffset:qd}),Qd&&provide(formItemContextKey,{...Qd,addInputId:NOOP,removeInputId:NOOP});let Kd;const Xd=(mf=!0)=>{Rd(),mf&&Vd()},df=()=>{Xd(!1),td.visible&&td.focusOnShow?sd.value=!0:td.visible===!1&&(sd.value=!1)};return onMounted(()=>{watch(()=>td.triggerTargetEl,(mf,bf)=>{Kd==null||Kd(),Kd=void 0;const pf=unref(mf||Ad.value),_f=unref(bf||Ad.value);isElement$2(pf)&&(Kd=watch([Bd,()=>td.ariaLabel,Od,()=>td.id],Tf=>{["role","aria-label","aria-modal","id"].forEach((kf,zf)=>{isNil(Tf[zf])?pf.removeAttribute(kf):pf.setAttribute(kf,Tf[zf])})},{immediate:!0})),_f!==pf&&isElement$2(_f)&&["role","aria-label","aria-modal","id"].forEach(Tf=>{_f.removeAttribute(Tf)})},{immediate:!0}),watch(()=>td.visible,df,{immediate:!0})}),onBeforeUnmount(()=>{Kd==null||Kd(),Kd=void 0}),qa({popperContentRef:Ad,popperInstanceRef:Id,updatePopper:Xd,contentStyle:jd}),(mf,bf)=>(openBlock(),createElementBlock("div",mergeProps({ref_key:"contentRef",ref:Ad},unref(Ld),{style:unref(jd),class:unref(Fd),tabindex:"-1",onMouseenter:pf=>mf.$emit("mouseenter",pf),onMouseleave:pf=>mf.$emit("mouseleave",pf)}),[createVNode(unref(ElFocusTrap),{trapped:unref(sd),"trap-on-focus-in":!0,"focus-trap-el":unref(Ad),"focus-start-el":unref(rd),onFocusAfterTrapped:unref(ld),onFocusAfterReleased:unref(od),onFocusin:unref(ud),onFocusoutPrevented:unref(cd),onReleaseRequested:unref(dd)},{default:withCtx(()=>[renderSlot(mf.$slots,"default")]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16,["onMouseenter","onMouseleave"]))}});var ElPopperContent=_export_sfc$1(_sfc_main$1i,[["__file","content.vue"]]);const ElPopper=withInstall(Popper),TOOLTIP_INJECTION_KEY=Symbol("elTooltip"),useTooltipContentProps=buildProps({...useDelayedToggleProps,...popperContentProps,appendTo:{type:definePropType([String,Object])},content:{type:String,default:""},rawContent:Boolean,persistent:Boolean,visible:{type:definePropType(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean,...useAriaProps(["ariaLabel"])}),useTooltipTriggerProps=buildProps({...popperTriggerProps,disabled:Boolean,trigger:{type:definePropType([String,Array]),default:"hover"},triggerKeys:{type:definePropType(Array),default:()=>[EVENT_CODE.enter,EVENT_CODE.space]}}),{useModelToggleProps:useTooltipModelToggleProps,useModelToggleEmits:useTooltipModelToggleEmits,useModelToggle:useTooltipModelToggle}=createModelToggleComposable("visible"),useTooltipProps=buildProps({...popperProps,...useTooltipModelToggleProps,...useTooltipContentProps,...useTooltipTriggerProps,...popperArrowProps,showArrow:{type:Boolean,default:!0}}),tooltipEmits=[...useTooltipModelToggleEmits,"before-show","before-hide","show","hide","open","close"],isTriggerType=(Ra,qa)=>isArray$2(Ra)?Ra.includes(qa):Ra===qa,whenTrigger=(Ra,qa,ed)=>td=>{isTriggerType(unref(Ra),qa)&&ed(td)},__default__$m=defineComponent({name:"ElTooltipTrigger"}),_sfc_main$1h=defineComponent({...__default__$m,props:useTooltipTriggerProps,setup(Ra,{expose:qa}){const ed=Ra,td=useNamespace("tooltip"),{controlled:rd,id:sd,open:od,onOpen:ld,onClose:ud,onToggle:cd}=inject(TOOLTIP_INJECTION_KEY,void 0),dd=ref$1(null),_d=()=>{if(unref(rd)||ed.disabled)return!0},Ed=toRef$1(ed,"trigger"),Ad=composeEventHandlers(_d,whenTrigger(Ed,"hover",ld)),Td=composeEventHandlers(_d,whenTrigger(Ed,"hover",ud)),Id=composeEventHandlers(_d,whenTrigger(Ed,"click",Ld=>{Ld.button===0&&cd(Ld)})),Bd=composeEventHandlers(_d,whenTrigger(Ed,"focus",ld)),Rd=composeEventHandlers(_d,whenTrigger(Ed,"focus",ud)),Od=composeEventHandlers(_d,whenTrigger(Ed,"contextmenu",Ld=>{Ld.preventDefault(),cd(Ld)})),Md=composeEventHandlers(_d,Ld=>{const{code:Fd}=Ld;ed.triggerKeys.includes(Fd)&&(Ld.preventDefault(),cd(Ld))});return qa({triggerRef:dd}),(Ld,Fd)=>(openBlock(),createBlock(unref(ElPopperTrigger),{id:unref(sd),"virtual-ref":Ld.virtualRef,open:unref(od),"virtual-triggering":Ld.virtualTriggering,class:normalizeClass(unref(td).e("trigger")),onBlur:unref(Rd),onClick:unref(Id),onContextmenu:unref(Od),onFocus:unref(Bd),onMouseenter:unref(Ad),onMouseleave:unref(Td),onKeydown:unref(Md)},{default:withCtx(()=>[renderSlot(Ld.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});var ElTooltipTrigger=_export_sfc$1(_sfc_main$1h,[["__file","trigger.vue"]]);const teleportProps=buildProps({to:{type:definePropType([String,Object]),required:!0},disabled:Boolean}),_sfc_main$1g=defineComponent({__name:"teleport",props:teleportProps,setup(Ra){return(qa,ed)=>qa.disabled?renderSlot(qa.$slots,"default",{key:0}):(openBlock(),createBlock(Teleport$1,{key:1,to:qa.to},[renderSlot(qa.$slots,"default")],8,["to"]))}});var Teleport=_export_sfc$1(_sfc_main$1g,[["__file","teleport.vue"]]);const ElTeleport=withInstall(Teleport),__default__$l=defineComponent({name:"ElTooltipContent",inheritAttrs:!1}),_sfc_main$1f=defineComponent({...__default__$l,props:useTooltipContentProps,setup(Ra,{expose:qa}){const ed=Ra,{selector:td}=usePopperContainerId(),rd=useNamespace("tooltip"),sd=ref$1(null);let od;const{controlled:ld,id:ud,open:cd,trigger:dd,onClose:_d,onOpen:Ed,onShow:Ad,onHide:Td,onBeforeShow:Id,onBeforeHide:Bd}=inject(TOOLTIP_INJECTION_KEY,void 0),Rd=computed(()=>ed.transition||`${rd.namespace.value}-fade-in-linear`),Od=computed(()=>ed.persistent);onBeforeUnmount(()=>{od==null||od()});const Md=computed(()=>unref(Od)?!0:unref(cd)),Ld=computed(()=>ed.disabled?!1:unref(cd)),Fd=computed(()=>ed.appendTo||td.value),jd=computed(()=>{var _f;return(_f=ed.style)!=null?_f:{}}),Vd=ref$1(!0),Qd=()=>{Td(),Vd.value=!0},qd=()=>{if(unref(ld))return!0},Kd=composeEventHandlers(qd,()=>{ed.enterable&&unref(dd)==="hover"&&Ed()}),Xd=composeEventHandlers(qd,()=>{unref(dd)==="hover"&&_d()}),df=()=>{var _f,Tf;(Tf=(_f=sd.value)==null?void 0:_f.updatePopper)==null||Tf.call(_f),Id==null||Id()},mf=()=>{Bd==null||Bd()},bf=()=>{Ad(),od=onClickOutside(computed(()=>{var _f;return(_f=sd.value)==null?void 0:_f.popperContentRef}),()=>{if(unref(ld))return;unref(dd)!=="hover"&&_d()})},pf=()=>{ed.virtualTriggering||_d()};return watch(()=>unref(cd),_f=>{_f?Vd.value=!1:od==null||od()},{flush:"post"}),watch(()=>ed.content,()=>{var _f,Tf;(Tf=(_f=sd.value)==null?void 0:_f.updatePopper)==null||Tf.call(_f)}),qa({contentRef:sd}),(_f,Tf)=>(openBlock(),createBlock(unref(ElTeleport),{disabled:!_f.teleported,to:unref(Fd)},{default:withCtx(()=>[createVNode(Transition$1,{name:unref(Rd),onAfterLeave:Qd,onBeforeEnter:df,onAfterEnter:bf,onBeforeLeave:mf},{default:withCtx(()=>[unref(Md)?withDirectives((openBlock(),createBlock(unref(ElPopperContent),mergeProps({key:0,id:unref(ud),ref_key:"contentRef",ref:sd},_f.$attrs,{"aria-label":_f.ariaLabel,"aria-hidden":Vd.value,"boundaries-padding":_f.boundariesPadding,"fallback-placements":_f.fallbackPlacements,"gpu-acceleration":_f.gpuAcceleration,offset:_f.offset,placement:_f.placement,"popper-options":_f.popperOptions,strategy:_f.strategy,effect:_f.effect,enterable:_f.enterable,pure:_f.pure,"popper-class":_f.popperClass,"popper-style":[_f.popperStyle,unref(jd)],"reference-el":_f.referenceEl,"trigger-target-el":_f.triggerTargetEl,visible:unref(Ld),"z-index":_f.zIndex,onMouseenter:unref(Kd),onMouseleave:unref(Xd),onBlur:pf,onClose:unref(_d)}),{default:withCtx(()=>[renderSlot(_f.$slots,"default")]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","onMouseenter","onMouseleave","onClose"])),[[vShow,unref(Ld)]]):createCommentVNode("v-if",!0)]),_:3},8,["name"])]),_:3},8,["disabled","to"]))}});var ElTooltipContent=_export_sfc$1(_sfc_main$1f,[["__file","content.vue"]]);const __default__$k=defineComponent({name:"ElTooltip"}),_sfc_main$1e=defineComponent({...__default__$k,props:useTooltipProps,emits:tooltipEmits,setup(Ra,{expose:qa,emit:ed}){const td=Ra;usePopperContainer();const rd=useId(),sd=ref$1(),od=ref$1(),ld=()=>{var Rd;const Od=unref(sd);Od&&((Rd=Od.popperInstanceRef)==null||Rd.update())},ud=ref$1(!1),cd=ref$1(),{show:dd,hide:_d,hasUpdateHandler:Ed}=useTooltipModelToggle({indicator:ud,toggleReason:cd}),{onOpen:Ad,onClose:Td}=useDelayedToggle({showAfter:toRef$1(td,"showAfter"),hideAfter:toRef$1(td,"hideAfter"),autoClose:toRef$1(td,"autoClose"),open:dd,close:_d}),Id=computed(()=>isBoolean$3(td.visible)&&!Ed.value);provide(TOOLTIP_INJECTION_KEY,{controlled:Id,id:rd,open:readonly(ud),trigger:toRef$1(td,"trigger"),onOpen:Rd=>{Ad(Rd)},onClose:Rd=>{Td(Rd)},onToggle:Rd=>{unref(ud)?Td(Rd):Ad(Rd)},onShow:()=>{ed("show",cd.value)},onHide:()=>{ed("hide",cd.value)},onBeforeShow:()=>{ed("before-show",cd.value)},onBeforeHide:()=>{ed("before-hide",cd.value)},updatePopper:ld}),watch(()=>td.disabled,Rd=>{Rd&&ud.value&&(ud.value=!1)});const Bd=Rd=>{var Od,Md;const Ld=(Md=(Od=od.value)==null?void 0:Od.contentRef)==null?void 0:Md.popperContentRef,Fd=(Rd==null?void 0:Rd.relatedTarget)||document.activeElement;return Ld&&Ld.contains(Fd)};return onDeactivated(()=>ud.value&&_d()),qa({popperRef:sd,contentRef:od,isFocusInsideContent:Bd,updatePopper:ld,onOpen:Ad,onClose:Td,hide:_d}),(Rd,Od)=>(openBlock(),createBlock(unref(ElPopper),{ref_key:"popperRef",ref:sd,role:Rd.role},{default:withCtx(()=>[createVNode(ElTooltipTrigger,{disabled:Rd.disabled,trigger:Rd.trigger,"trigger-keys":Rd.triggerKeys,"virtual-ref":Rd.virtualRef,"virtual-triggering":Rd.virtualTriggering},{default:withCtx(()=>[Rd.$slots.default?renderSlot(Rd.$slots,"default",{key:0}):createCommentVNode("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),createVNode(ElTooltipContent,{ref_key:"contentRef",ref:od,"aria-label":Rd.ariaLabel,"boundaries-padding":Rd.boundariesPadding,content:Rd.content,disabled:Rd.disabled,effect:Rd.effect,enterable:Rd.enterable,"fallback-placements":Rd.fallbackPlacements,"hide-after":Rd.hideAfter,"gpu-acceleration":Rd.gpuAcceleration,offset:Rd.offset,persistent:Rd.persistent,"popper-class":Rd.popperClass,"popper-style":Rd.popperStyle,placement:Rd.placement,"popper-options":Rd.popperOptions,pure:Rd.pure,"raw-content":Rd.rawContent,"reference-el":Rd.referenceEl,"trigger-target-el":Rd.triggerTargetEl,"show-after":Rd.showAfter,strategy:Rd.strategy,teleported:Rd.teleported,transition:Rd.transition,"virtual-triggering":Rd.virtualTriggering,"z-index":Rd.zIndex,"append-to":Rd.appendTo},{default:withCtx(()=>[renderSlot(Rd.$slots,"content",{},()=>[Rd.rawContent?(openBlock(),createElementBlock("span",{key:0,innerHTML:Rd.content},null,8,["innerHTML"])):(openBlock(),createElementBlock("span",{key:1},toDisplayString(Rd.content),1))]),Rd.showArrow?(openBlock(),createBlock(unref(ElPopperArrow),{key:0,"arrow-offset":Rd.arrowOffset},null,8,["arrow-offset"])):createCommentVNode("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to"])]),_:3},8,["role"]))}});var Tooltip=_export_sfc$1(_sfc_main$1e,[["__file","tooltip.vue"]]);const ElTooltip=withInstall(Tooltip),badgeProps=buildProps({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"},showZero:{type:Boolean,default:!0},color:String,badgeStyle:{type:definePropType([String,Object,Array])},offset:{type:definePropType(Array),default:[0,0]},badgeClass:{type:String}}),__default__$j=defineComponent({name:"ElBadge"}),_sfc_main$1d=defineComponent({...__default__$j,props:badgeProps,setup(Ra,{expose:qa}){const ed=Ra,td=useNamespace("badge"),rd=computed(()=>ed.isDot?"":isNumber$4(ed.value)&&isNumber$4(ed.max)?ed.max{var od,ld,ud,cd,dd;return[{backgroundColor:ed.color,marginRight:addUnit(-((ld=(od=ed.offset)==null?void 0:od[0])!=null?ld:0)),marginTop:addUnit((cd=(ud=ed.offset)==null?void 0:ud[1])!=null?cd:0)},(dd=ed.badgeStyle)!=null?dd:{}]});return qa({content:rd}),(od,ld)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(td).b())},[renderSlot(od.$slots,"default"),createVNode(Transition$1,{name:`${unref(td).namespace.value}-zoom-in-center`,persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("sup",{class:normalizeClass([unref(td).e("content"),unref(td).em("content",od.type),unref(td).is("fixed",!!od.$slots.default),unref(td).is("dot",od.isDot),od.badgeClass]),style:normalizeStyle(unref(sd)),textContent:toDisplayString(unref(rd))},null,14,["textContent"]),[[vShow,!od.hidden&&(unref(rd)||od.isDot)]])]),_:1},8,["name"])],2))}});var Badge=_export_sfc$1(_sfc_main$1d,[["__file","badge.vue"]]);const ElBadge=withInstall(Badge),buttonGroupContextKey=Symbol("buttonGroupContextKey"),useButton=(Ra,qa)=>{useDeprecated({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},computed(()=>Ra.type==="text"));const ed=inject(buttonGroupContextKey,void 0),td=useGlobalConfig("button"),{form:rd}=useFormItem(),sd=useFormSize(computed(()=>ed==null?void 0:ed.size)),od=useFormDisabled(),ld=ref$1(),ud=useSlots(),cd=computed(()=>Ra.type||(ed==null?void 0:ed.type)||""),dd=computed(()=>{var Td,Id,Bd;return(Bd=(Id=Ra.autoInsertSpace)!=null?Id:(Td=td.value)==null?void 0:Td.autoInsertSpace)!=null?Bd:!1}),_d=computed(()=>Ra.tag==="button"?{ariaDisabled:od.value||Ra.loading,disabled:od.value||Ra.loading,autofocus:Ra.autofocus,type:Ra.nativeType}:{}),Ed=computed(()=>{var Td;const Id=(Td=ud.default)==null?void 0:Td.call(ud);if(dd.value&&(Id==null?void 0:Id.length)===1){const Bd=Id[0];if((Bd==null?void 0:Bd.type)===Text$2){const Rd=Bd.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(Rd.trim())}}return!1});return{_disabled:od,_size:sd,_type:cd,_ref:ld,_props:_d,shouldAddSpace:Ed,handleClick:Td=>{if(od.value||Ra.loading){Td.stopPropagation();return}Ra.nativeType==="reset"&&(rd==null||rd.resetFields()),qa("click",Td)}}},buttonTypes=["default","primary","success","warning","info","danger","text",""],buttonNativeTypes=["button","submit","reset"],buttonProps=buildProps({size:useSizeProp,disabled:Boolean,type:{type:String,values:buttonTypes,default:""},icon:{type:iconPropType},nativeType:{type:String,values:buttonNativeTypes,default:"button"},loading:Boolean,loadingIcon:{type:iconPropType,default:()=>loading_default},plain:Boolean,text:Boolean,link:Boolean,bg:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:definePropType([String,Object]),default:"button"}}),buttonEmits={click:Ra=>Ra instanceof MouseEvent};function bound01$1(Ra,qa){isOnePointZero$1(Ra)&&(Ra="100%");var ed=isPercentage$1(Ra);return Ra=qa===360?Ra:Math.min(qa,Math.max(0,parseFloat(Ra))),ed&&(Ra=parseInt(String(Ra*qa),10)/100),Math.abs(Ra-qa)<1e-6?1:(qa===360?Ra=(Ra<0?Ra%qa+qa:Ra%qa)/parseFloat(String(qa)):Ra=Ra%qa/parseFloat(String(qa)),Ra)}function clamp01(Ra){return Math.min(1,Math.max(0,Ra))}function isOnePointZero$1(Ra){return typeof Ra=="string"&&Ra.indexOf(".")!==-1&&parseFloat(Ra)===1}function isPercentage$1(Ra){return typeof Ra=="string"&&Ra.indexOf("%")!==-1}function boundAlpha(Ra){return Ra=parseFloat(Ra),(isNaN(Ra)||Ra<0||Ra>1)&&(Ra=1),Ra}function convertToPercentage(Ra){return Ra<=1?"".concat(Number(Ra)*100,"%"):Ra}function pad2(Ra){return Ra.length===1?"0"+Ra:String(Ra)}function rgbToRgb(Ra,qa,ed){return{r:bound01$1(Ra,255)*255,g:bound01$1(qa,255)*255,b:bound01$1(ed,255)*255}}function rgbToHsl(Ra,qa,ed){Ra=bound01$1(Ra,255),qa=bound01$1(qa,255),ed=bound01$1(ed,255);var td=Math.max(Ra,qa,ed),rd=Math.min(Ra,qa,ed),sd=0,od=0,ld=(td+rd)/2;if(td===rd)od=0,sd=0;else{var ud=td-rd;switch(od=ld>.5?ud/(2-td-rd):ud/(td+rd),td){case Ra:sd=(qa-ed)/ud+(qa1&&(ed-=1),ed<1/6?Ra+(qa-Ra)*(6*ed):ed<1/2?qa:ed<2/3?Ra+(qa-Ra)*(2/3-ed)*6:Ra}function hslToRgb(Ra,qa,ed){var td,rd,sd;if(Ra=bound01$1(Ra,360),qa=bound01$1(qa,100),ed=bound01$1(ed,100),qa===0)rd=ed,sd=ed,td=ed;else{var od=ed<.5?ed*(1+qa):ed+qa-ed*qa,ld=2*ed-od;td=hue2rgb(ld,od,Ra+1/3),rd=hue2rgb(ld,od,Ra),sd=hue2rgb(ld,od,Ra-1/3)}return{r:td*255,g:rd*255,b:sd*255}}function rgbToHsv(Ra,qa,ed){Ra=bound01$1(Ra,255),qa=bound01$1(qa,255),ed=bound01$1(ed,255);var td=Math.max(Ra,qa,ed),rd=Math.min(Ra,qa,ed),sd=0,od=td,ld=td-rd,ud=td===0?0:ld/td;if(td===rd)sd=0;else{switch(td){case Ra:sd=(qa-ed)/ld+(qa>16,g:(Ra&65280)>>8,b:Ra&255}}var names={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function inputToRGB(Ra){var qa={r:0,g:0,b:0},ed=1,td=null,rd=null,sd=null,od=!1,ld=!1;return typeof Ra=="string"&&(Ra=stringInputToObject(Ra)),typeof Ra=="object"&&(isValidCSSUnit(Ra.r)&&isValidCSSUnit(Ra.g)&&isValidCSSUnit(Ra.b)?(qa=rgbToRgb(Ra.r,Ra.g,Ra.b),od=!0,ld=String(Ra.r).substr(-1)==="%"?"prgb":"rgb"):isValidCSSUnit(Ra.h)&&isValidCSSUnit(Ra.s)&&isValidCSSUnit(Ra.v)?(td=convertToPercentage(Ra.s),rd=convertToPercentage(Ra.v),qa=hsvToRgb(Ra.h,td,rd),od=!0,ld="hsv"):isValidCSSUnit(Ra.h)&&isValidCSSUnit(Ra.s)&&isValidCSSUnit(Ra.l)&&(td=convertToPercentage(Ra.s),sd=convertToPercentage(Ra.l),qa=hslToRgb(Ra.h,td,sd),od=!0,ld="hsl"),Object.prototype.hasOwnProperty.call(Ra,"a")&&(ed=Ra.a)),ed=boundAlpha(ed),{ok:od,format:Ra.format||ld,r:Math.min(255,Math.max(qa.r,0)),g:Math.min(255,Math.max(qa.g,0)),b:Math.min(255,Math.max(qa.b,0)),a:ed}}var CSS_INTEGER="[-\\+]?\\d+%?",CSS_NUMBER="[-\\+]?\\d*\\.\\d+%?",CSS_UNIT="(?:".concat(CSS_NUMBER,")|(?:").concat(CSS_INTEGER,")"),PERMISSIVE_MATCH3="[\\s|\\(]+(".concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")\\s*\\)?"),PERMISSIVE_MATCH4="[\\s|\\(]+(".concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")\\s*\\)?"),matchers={CSS_UNIT:new RegExp(CSS_UNIT),rgb:new RegExp("rgb"+PERMISSIVE_MATCH3),rgba:new RegExp("rgba"+PERMISSIVE_MATCH4),hsl:new RegExp("hsl"+PERMISSIVE_MATCH3),hsla:new RegExp("hsla"+PERMISSIVE_MATCH4),hsv:new RegExp("hsv"+PERMISSIVE_MATCH3),hsva:new RegExp("hsva"+PERMISSIVE_MATCH4),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function stringInputToObject(Ra){if(Ra=Ra.trim().toLowerCase(),Ra.length===0)return!1;var qa=!1;if(names[Ra])Ra=names[Ra],qa=!0;else if(Ra==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var ed=matchers.rgb.exec(Ra);return ed?{r:ed[1],g:ed[2],b:ed[3]}:(ed=matchers.rgba.exec(Ra),ed?{r:ed[1],g:ed[2],b:ed[3],a:ed[4]}:(ed=matchers.hsl.exec(Ra),ed?{h:ed[1],s:ed[2],l:ed[3]}:(ed=matchers.hsla.exec(Ra),ed?{h:ed[1],s:ed[2],l:ed[3],a:ed[4]}:(ed=matchers.hsv.exec(Ra),ed?{h:ed[1],s:ed[2],v:ed[3]}:(ed=matchers.hsva.exec(Ra),ed?{h:ed[1],s:ed[2],v:ed[3],a:ed[4]}:(ed=matchers.hex8.exec(Ra),ed?{r:parseIntFromHex(ed[1]),g:parseIntFromHex(ed[2]),b:parseIntFromHex(ed[3]),a:convertHexToDecimal(ed[4]),format:qa?"name":"hex8"}:(ed=matchers.hex6.exec(Ra),ed?{r:parseIntFromHex(ed[1]),g:parseIntFromHex(ed[2]),b:parseIntFromHex(ed[3]),format:qa?"name":"hex"}:(ed=matchers.hex4.exec(Ra),ed?{r:parseIntFromHex(ed[1]+ed[1]),g:parseIntFromHex(ed[2]+ed[2]),b:parseIntFromHex(ed[3]+ed[3]),a:convertHexToDecimal(ed[4]+ed[4]),format:qa?"name":"hex8"}:(ed=matchers.hex3.exec(Ra),ed?{r:parseIntFromHex(ed[1]+ed[1]),g:parseIntFromHex(ed[2]+ed[2]),b:parseIntFromHex(ed[3]+ed[3]),format:qa?"name":"hex"}:!1)))))))))}function isValidCSSUnit(Ra){return!!matchers.CSS_UNIT.exec(String(Ra))}var TinyColor=function(){function Ra(qa,ed){qa===void 0&&(qa=""),ed===void 0&&(ed={});var td;if(qa instanceof Ra)return qa;typeof qa=="number"&&(qa=numberInputToObject(qa)),this.originalInput=qa;var rd=inputToRGB(qa);this.originalInput=qa,this.r=rd.r,this.g=rd.g,this.b=rd.b,this.a=rd.a,this.roundA=Math.round(100*this.a)/100,this.format=(td=ed.format)!==null&&td!==void 0?td:rd.format,this.gradientType=ed.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=rd.ok}return Ra.prototype.isDark=function(){return this.getBrightness()<128},Ra.prototype.isLight=function(){return!this.isDark()},Ra.prototype.getBrightness=function(){var qa=this.toRgb();return(qa.r*299+qa.g*587+qa.b*114)/1e3},Ra.prototype.getLuminance=function(){var qa=this.toRgb(),ed,td,rd,sd=qa.r/255,od=qa.g/255,ld=qa.b/255;return sd<=.03928?ed=sd/12.92:ed=Math.pow((sd+.055)/1.055,2.4),od<=.03928?td=od/12.92:td=Math.pow((od+.055)/1.055,2.4),ld<=.03928?rd=ld/12.92:rd=Math.pow((ld+.055)/1.055,2.4),.2126*ed+.7152*td+.0722*rd},Ra.prototype.getAlpha=function(){return this.a},Ra.prototype.setAlpha=function(qa){return this.a=boundAlpha(qa),this.roundA=Math.round(100*this.a)/100,this},Ra.prototype.isMonochrome=function(){var qa=this.toHsl().s;return qa===0},Ra.prototype.toHsv=function(){var qa=rgbToHsv(this.r,this.g,this.b);return{h:qa.h*360,s:qa.s,v:qa.v,a:this.a}},Ra.prototype.toHsvString=function(){var qa=rgbToHsv(this.r,this.g,this.b),ed=Math.round(qa.h*360),td=Math.round(qa.s*100),rd=Math.round(qa.v*100);return this.a===1?"hsv(".concat(ed,", ").concat(td,"%, ").concat(rd,"%)"):"hsva(".concat(ed,", ").concat(td,"%, ").concat(rd,"%, ").concat(this.roundA,")")},Ra.prototype.toHsl=function(){var qa=rgbToHsl(this.r,this.g,this.b);return{h:qa.h*360,s:qa.s,l:qa.l,a:this.a}},Ra.prototype.toHslString=function(){var qa=rgbToHsl(this.r,this.g,this.b),ed=Math.round(qa.h*360),td=Math.round(qa.s*100),rd=Math.round(qa.l*100);return this.a===1?"hsl(".concat(ed,", ").concat(td,"%, ").concat(rd,"%)"):"hsla(".concat(ed,", ").concat(td,"%, ").concat(rd,"%, ").concat(this.roundA,")")},Ra.prototype.toHex=function(qa){return qa===void 0&&(qa=!1),rgbToHex(this.r,this.g,this.b,qa)},Ra.prototype.toHexString=function(qa){return qa===void 0&&(qa=!1),"#"+this.toHex(qa)},Ra.prototype.toHex8=function(qa){return qa===void 0&&(qa=!1),rgbaToHex(this.r,this.g,this.b,this.a,qa)},Ra.prototype.toHex8String=function(qa){return qa===void 0&&(qa=!1),"#"+this.toHex8(qa)},Ra.prototype.toHexShortString=function(qa){return qa===void 0&&(qa=!1),this.a===1?this.toHexString(qa):this.toHex8String(qa)},Ra.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},Ra.prototype.toRgbString=function(){var qa=Math.round(this.r),ed=Math.round(this.g),td=Math.round(this.b);return this.a===1?"rgb(".concat(qa,", ").concat(ed,", ").concat(td,")"):"rgba(".concat(qa,", ").concat(ed,", ").concat(td,", ").concat(this.roundA,")")},Ra.prototype.toPercentageRgb=function(){var qa=function(ed){return"".concat(Math.round(bound01$1(ed,255)*100),"%")};return{r:qa(this.r),g:qa(this.g),b:qa(this.b),a:this.a}},Ra.prototype.toPercentageRgbString=function(){var qa=function(ed){return Math.round(bound01$1(ed,255)*100)};return this.a===1?"rgb(".concat(qa(this.r),"%, ").concat(qa(this.g),"%, ").concat(qa(this.b),"%)"):"rgba(".concat(qa(this.r),"%, ").concat(qa(this.g),"%, ").concat(qa(this.b),"%, ").concat(this.roundA,")")},Ra.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var qa="#"+rgbToHex(this.r,this.g,this.b,!1),ed=0,td=Object.entries(names);ed=0,sd=!ed&&rd&&(qa.startsWith("hex")||qa==="name");return sd?qa==="name"&&this.a===0?this.toName():this.toRgbString():(qa==="rgb"&&(td=this.toRgbString()),qa==="prgb"&&(td=this.toPercentageRgbString()),(qa==="hex"||qa==="hex6")&&(td=this.toHexString()),qa==="hex3"&&(td=this.toHexString(!0)),qa==="hex4"&&(td=this.toHex8String(!0)),qa==="hex8"&&(td=this.toHex8String()),qa==="name"&&(td=this.toName()),qa==="hsl"&&(td=this.toHslString()),qa==="hsv"&&(td=this.toHsvString()),td||this.toHexString())},Ra.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},Ra.prototype.clone=function(){return new Ra(this.toString())},Ra.prototype.lighten=function(qa){qa===void 0&&(qa=10);var ed=this.toHsl();return ed.l+=qa/100,ed.l=clamp01(ed.l),new Ra(ed)},Ra.prototype.brighten=function(qa){qa===void 0&&(qa=10);var ed=this.toRgb();return ed.r=Math.max(0,Math.min(255,ed.r-Math.round(255*-(qa/100)))),ed.g=Math.max(0,Math.min(255,ed.g-Math.round(255*-(qa/100)))),ed.b=Math.max(0,Math.min(255,ed.b-Math.round(255*-(qa/100)))),new Ra(ed)},Ra.prototype.darken=function(qa){qa===void 0&&(qa=10);var ed=this.toHsl();return ed.l-=qa/100,ed.l=clamp01(ed.l),new Ra(ed)},Ra.prototype.tint=function(qa){return qa===void 0&&(qa=10),this.mix("white",qa)},Ra.prototype.shade=function(qa){return qa===void 0&&(qa=10),this.mix("black",qa)},Ra.prototype.desaturate=function(qa){qa===void 0&&(qa=10);var ed=this.toHsl();return ed.s-=qa/100,ed.s=clamp01(ed.s),new Ra(ed)},Ra.prototype.saturate=function(qa){qa===void 0&&(qa=10);var ed=this.toHsl();return ed.s+=qa/100,ed.s=clamp01(ed.s),new Ra(ed)},Ra.prototype.greyscale=function(){return this.desaturate(100)},Ra.prototype.spin=function(qa){var ed=this.toHsl(),td=(ed.h+qa)%360;return ed.h=td<0?360+td:td,new Ra(ed)},Ra.prototype.mix=function(qa,ed){ed===void 0&&(ed=50);var td=this.toRgb(),rd=new Ra(qa).toRgb(),sd=ed/100,od={r:(rd.r-td.r)*sd+td.r,g:(rd.g-td.g)*sd+td.g,b:(rd.b-td.b)*sd+td.b,a:(rd.a-td.a)*sd+td.a};return new Ra(od)},Ra.prototype.analogous=function(qa,ed){qa===void 0&&(qa=6),ed===void 0&&(ed=30);var td=this.toHsl(),rd=360/ed,sd=[this];for(td.h=(td.h-(rd*qa>>1)+720)%360;--qa;)td.h=(td.h+rd)%360,sd.push(new Ra(td));return sd},Ra.prototype.complement=function(){var qa=this.toHsl();return qa.h=(qa.h+180)%360,new Ra(qa)},Ra.prototype.monochromatic=function(qa){qa===void 0&&(qa=6);for(var ed=this.toHsv(),td=ed.h,rd=ed.s,sd=ed.v,od=[],ld=1/qa;qa--;)od.push(new Ra({h:td,s:rd,v:sd})),sd=(sd+ld)%1;return od},Ra.prototype.splitcomplement=function(){var qa=this.toHsl(),ed=qa.h;return[this,new Ra({h:(ed+72)%360,s:qa.s,l:qa.l}),new Ra({h:(ed+216)%360,s:qa.s,l:qa.l})]},Ra.prototype.onBackground=function(qa){var ed=this.toRgb(),td=new Ra(qa).toRgb(),rd=ed.a+td.a*(1-ed.a);return new Ra({r:(ed.r*ed.a+td.r*td.a*(1-ed.a))/rd,g:(ed.g*ed.a+td.g*td.a*(1-ed.a))/rd,b:(ed.b*ed.a+td.b*td.a*(1-ed.a))/rd,a:rd})},Ra.prototype.triad=function(){return this.polyad(3)},Ra.prototype.tetrad=function(){return this.polyad(4)},Ra.prototype.polyad=function(qa){for(var ed=this.toHsl(),td=ed.h,rd=[this],sd=360/qa,od=1;od{let td={},rd=Ra.color;if(rd){const sd=rd.match(/var\((.*?)\)/);sd&&(rd=window.getComputedStyle(window.document.documentElement).getPropertyValue(sd[1]));const od=new TinyColor(rd),ld=Ra.dark?od.tint(20).toString():darken$1(od,20);if(Ra.plain)td=ed.cssVarBlock({"bg-color":Ra.dark?darken$1(od,90):od.tint(90).toString(),"text-color":rd,"border-color":Ra.dark?darken$1(od,50):od.tint(50).toString(),"hover-text-color":`var(${ed.cssVarName("color-white")})`,"hover-bg-color":rd,"hover-border-color":rd,"active-bg-color":ld,"active-text-color":`var(${ed.cssVarName("color-white")})`,"active-border-color":ld}),qa.value&&(td[ed.cssVarBlockName("disabled-bg-color")]=Ra.dark?darken$1(od,90):od.tint(90).toString(),td[ed.cssVarBlockName("disabled-text-color")]=Ra.dark?darken$1(od,50):od.tint(50).toString(),td[ed.cssVarBlockName("disabled-border-color")]=Ra.dark?darken$1(od,80):od.tint(80).toString());else{const ud=Ra.dark?darken$1(od,30):od.tint(30).toString(),cd=od.isDark()?`var(${ed.cssVarName("color-white")})`:`var(${ed.cssVarName("color-black")})`;if(td=ed.cssVarBlock({"bg-color":rd,"text-color":cd,"border-color":rd,"hover-bg-color":ud,"hover-text-color":cd,"hover-border-color":ud,"active-bg-color":ld,"active-border-color":ld}),qa.value){const dd=Ra.dark?darken$1(od,50):od.tint(50).toString();td[ed.cssVarBlockName("disabled-bg-color")]=dd,td[ed.cssVarBlockName("disabled-text-color")]=Ra.dark?"rgba(255, 255, 255, 0.5)":`var(${ed.cssVarName("color-white")})`,td[ed.cssVarBlockName("disabled-border-color")]=dd}}}return td})}const __default__$i=defineComponent({name:"ElButton"}),_sfc_main$1c=defineComponent({...__default__$i,props:buttonProps,emits:buttonEmits,setup(Ra,{expose:qa,emit:ed}){const td=Ra,rd=useButtonCustomStyle(td),sd=useNamespace("button"),{_ref:od,_size:ld,_type:ud,_disabled:cd,_props:dd,shouldAddSpace:_d,handleClick:Ed}=useButton(td,ed),Ad=computed(()=>[sd.b(),sd.m(ud.value),sd.m(ld.value),sd.is("disabled",cd.value),sd.is("loading",td.loading),sd.is("plain",td.plain),sd.is("round",td.round),sd.is("circle",td.circle),sd.is("text",td.text),sd.is("link",td.link),sd.is("has-bg",td.bg)]);return qa({ref:od,size:ld,type:ud,disabled:cd,shouldAddSpace:_d}),(Td,Id)=>(openBlock(),createBlock(resolveDynamicComponent(Td.tag),mergeProps({ref_key:"_ref",ref:od},unref(dd),{class:unref(Ad),style:unref(rd),onClick:unref(Ed)}),{default:withCtx(()=>[Td.loading?(openBlock(),createElementBlock(Fragment,{key:0},[Td.$slots.loading?renderSlot(Td.$slots,"loading",{key:0}):(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(sd).is("loading"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Td.loadingIcon)))]),_:1},8,["class"]))],64)):Td.icon||Td.$slots.icon?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[Td.icon?(openBlock(),createBlock(resolveDynamicComponent(Td.icon),{key:0})):renderSlot(Td.$slots,"icon",{key:1})]),_:3})):createCommentVNode("v-if",!0),Td.$slots.default?(openBlock(),createElementBlock("span",{key:2,class:normalizeClass({[unref(sd).em("text","expand")]:unref(_d)})},[renderSlot(Td.$slots,"default")],2)):createCommentVNode("v-if",!0)]),_:3},16,["class","style","onClick"]))}});var Button=_export_sfc$1(_sfc_main$1c,[["__file","button.vue"]]);const buttonGroupProps={size:buttonProps.size,type:buttonProps.type},__default__$h=defineComponent({name:"ElButtonGroup"}),_sfc_main$1b=defineComponent({...__default__$h,props:buttonGroupProps,setup(Ra){const qa=Ra;provide(buttonGroupContextKey,reactive({size:toRef$1(qa,"size"),type:toRef$1(qa,"type")}));const ed=useNamespace("button");return(td,rd)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(ed).b("group"))},[renderSlot(td.$slots,"default")],2))}});var ButtonGroup=_export_sfc$1(_sfc_main$1b,[["__file","button-group.vue"]]);const ElButton=withInstall(Button,{ButtonGroup});withNoopInstall(ButtonGroup);var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(Ra){return Ra&&Ra.__esModule&&Object.prototype.hasOwnProperty.call(Ra,"default")?Ra.default:Ra}function getAugmentedNamespace(Ra){if(Ra.__esModule)return Ra;var qa=Ra.default;if(typeof qa=="function"){var ed=function td(){return this instanceof td?Reflect.construct(qa,arguments,this.constructor):qa.apply(this,arguments)};ed.prototype=qa.prototype}else ed={};return Object.defineProperty(ed,"__esModule",{value:!0}),Object.keys(Ra).forEach(function(td){var rd=Object.getOwnPropertyDescriptor(Ra,td);Object.defineProperty(ed,td,rd.get?rd:{enumerable:!0,get:function(){return Ra[td]}})}),ed}var dayjs_min={exports:{}};(function(Ra,qa){(function(ed,td){Ra.exports=td()})(commonjsGlobal,function(){var ed=1e3,td=6e4,rd=36e5,sd="millisecond",od="second",ld="minute",ud="hour",cd="day",dd="week",_d="month",Ed="quarter",Ad="year",Td="date",Id="Invalid Date",Bd=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Rd=/\[([^\]]+)]|Y{1,4}|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,Od={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(bf){var pf=["th","st","nd","rd"],_f=bf%100;return"["+bf+(pf[(_f-20)%10]||pf[_f]||pf[0])+"]"}},Md=function(bf,pf,_f){var Tf=String(bf);return!Tf||Tf.length>=pf?bf:""+Array(pf+1-Tf.length).join(_f)+bf},Ld={s:Md,z:function(bf){var pf=-bf.utcOffset(),_f=Math.abs(pf),Tf=Math.floor(_f/60),kf=_f%60;return(pf<=0?"+":"-")+Md(Tf,2,"0")+":"+Md(kf,2,"0")},m:function bf(pf,_f){if(pf.date()<_f.date())return-bf(_f,pf);var Tf=12*(_f.year()-pf.year())+(_f.month()-pf.month()),kf=pf.clone().add(Tf,_d),zf=_f-kf<0,Jf=pf.clone().add(Tf+(zf?-1:1),_d);return+(-(Tf+(_f-kf)/(zf?kf-Jf:Jf-kf))||0)},a:function(bf){return bf<0?Math.ceil(bf)||0:Math.floor(bf)},p:function(bf){return{M:_d,y:Ad,w:dd,d:cd,D:Td,h:ud,m:ld,s:od,ms:sd,Q:Ed}[bf]||String(bf||"").toLowerCase().replace(/s$/,"")},u:function(bf){return bf===void 0}},Fd="en",jd={};jd[Fd]=Od;var Vd="$isDayjsObject",Qd=function(bf){return bf instanceof df||!(!bf||!bf[Vd])},qd=function bf(pf,_f,Tf){var kf;if(!pf)return Fd;if(typeof pf=="string"){var zf=pf.toLowerCase();jd[zf]&&(kf=zf),_f&&(jd[zf]=_f,kf=zf);var Jf=pf.split("-");if(!kf&&Jf.length>1)return bf(Jf[0])}else{var Gf=pf.name;jd[Gf]=pf,kf=Gf}return!Tf&&kf&&(Fd=kf),kf||!Tf&&Fd},Kd=function(bf,pf){if(Qd(bf))return bf.clone();var _f=typeof pf=="object"?pf:{};return _f.date=bf,_f.args=arguments,new df(_f)},Xd=Ld;Xd.l=qd,Xd.i=Qd,Xd.w=function(bf,pf){return Kd(bf,{locale:pf.$L,utc:pf.$u,x:pf.$x,$offset:pf.$offset})};var df=function(){function bf(_f){this.$L=qd(_f.locale,null,!0),this.parse(_f),this.$x=this.$x||_f.x||{},this[Vd]=!0}var pf=bf.prototype;return pf.parse=function(_f){this.$d=function(Tf){var kf=Tf.date,zf=Tf.utc;if(kf===null)return new Date(NaN);if(Xd.u(kf))return new Date;if(kf instanceof Date)return new Date(kf);if(typeof kf=="string"&&!/Z$/i.test(kf)){var Jf=kf.match(Bd);if(Jf){var Gf=Jf[2]-1||0,Mf=(Jf[7]||"0").substring(0,3);return zf?new Date(Date.UTC(Jf[1],Gf,Jf[3]||1,Jf[4]||0,Jf[5]||0,Jf[6]||0,Mf)):new Date(Jf[1],Gf,Jf[3]||1,Jf[4]||0,Jf[5]||0,Jf[6]||0,Mf)}}return new Date(kf)}(_f),this.init()},pf.init=function(){var _f=this.$d;this.$y=_f.getFullYear(),this.$M=_f.getMonth(),this.$D=_f.getDate(),this.$W=_f.getDay(),this.$H=_f.getHours(),this.$m=_f.getMinutes(),this.$s=_f.getSeconds(),this.$ms=_f.getMilliseconds()},pf.$utils=function(){return Xd},pf.isValid=function(){return this.$d.toString()!==Id},pf.isSame=function(_f,Tf){var kf=Kd(_f);return this.startOf(Tf)<=kf&&kf<=this.endOf(Tf)},pf.isAfter=function(_f,Tf){return Kd(_f)Ra=qa),document.addEventListener("mouseup",qa=>{if(Ra){for(const ed of nodeList.values())for(const{documentHandler:td}of ed)td(qa,Ra);Ra=void 0}})}function createDocumentHandler(Ra,qa){let ed=[];return Array.isArray(qa.arg)?ed=qa.arg:isElement$2(qa.arg)&&ed.push(qa.arg),function(td,rd){const sd=qa.instance.popperRef,od=td.target,ld=rd==null?void 0:rd.target,ud=!qa||!qa.instance,cd=!od||!ld,dd=Ra.contains(od)||Ra.contains(ld),_d=Ra===od,Ed=ed.length&&ed.some(Td=>Td==null?void 0:Td.contains(od))||ed.length&&ed.includes(ld),Ad=sd&&(sd.contains(od)||sd.contains(ld));ud||cd||dd||_d||Ed||Ad||qa.value(td,rd)}}const ClickOutside={beforeMount(Ra,qa){nodeList.has(Ra)||nodeList.set(Ra,[]),nodeList.get(Ra).push({documentHandler:createDocumentHandler(Ra,qa),bindingFn:qa.value})},updated(Ra,qa){nodeList.has(Ra)||nodeList.set(Ra,[]);const ed=nodeList.get(Ra),td=ed.findIndex(sd=>sd.bindingFn===qa.oldValue),rd={documentHandler:createDocumentHandler(Ra,qa),bindingFn:qa.value};td>=0?ed.splice(td,1,rd):ed.push(rd)},unmounted(Ra){nodeList.delete(Ra)}},REPEAT_INTERVAL=100,REPEAT_DELAY=600,vRepeatClick={beforeMount(Ra,qa){const ed=qa.value,{interval:td=REPEAT_INTERVAL,delay:rd=REPEAT_DELAY}=isFunction$4(ed)?{}:ed;let sd,od;const ld=()=>isFunction$4(ed)?ed():ed.handler(),ud=()=>{od&&(clearTimeout(od),od=void 0),sd&&(clearInterval(sd),sd=void 0)};Ra.addEventListener("mousedown",cd=>{cd.button===0&&(ud(),ld(),document.addEventListener("mouseup",()=>ud(),{once:!0}),od=setTimeout(()=>{sd=setInterval(()=>{ld()},td)},rd))})}},FOCUSABLE_CHILDREN="_trap-focus-children",FOCUS_STACK=[],FOCUS_HANDLER=Ra=>{if(FOCUS_STACK.length===0)return;const qa=FOCUS_STACK[FOCUS_STACK.length-1][FOCUSABLE_CHILDREN];if(qa.length>0&&Ra.code===EVENT_CODE.tab){if(qa.length===1){Ra.preventDefault(),document.activeElement!==qa[0]&&qa[0].focus();return}const ed=Ra.shiftKey,td=Ra.target===qa[0],rd=Ra.target===qa[qa.length-1];td&&ed&&(Ra.preventDefault(),qa[qa.length-1].focus()),rd&&!ed&&(Ra.preventDefault(),qa[0].focus())}},TrapFocus={beforeMount(Ra){Ra[FOCUSABLE_CHILDREN]=obtainAllFocusableElements$1(Ra),FOCUS_STACK.push(Ra),FOCUS_STACK.length<=1&&document.addEventListener("keydown",FOCUS_HANDLER)},updated(Ra){nextTick$1(()=>{Ra[FOCUSABLE_CHILDREN]=obtainAllFocusableElements$1(Ra)})},unmounted(){FOCUS_STACK.shift(),FOCUS_STACK.length===0&&document.removeEventListener("keydown",FOCUS_HANDLER)}},tagProps=buildProps({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:componentSizes},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),tagEmits={close:Ra=>Ra instanceof MouseEvent,click:Ra=>Ra instanceof MouseEvent},__default__$g=defineComponent({name:"ElTag"}),_sfc_main$1a=defineComponent({...__default__$g,props:tagProps,emits:tagEmits,setup(Ra,{emit:qa}){const ed=Ra,td=useFormSize(),rd=useNamespace("tag"),sd=computed(()=>{const{type:cd,hit:dd,effect:_d,closable:Ed,round:Ad}=ed;return[rd.b(),rd.is("closable",Ed),rd.m(cd||"primary"),rd.m(td.value),rd.m(_d),rd.is("hit",dd),rd.is("round",Ad)]}),od=cd=>{qa("close",cd)},ld=cd=>{qa("click",cd)},ud=cd=>{cd.component.subTree.component.bum=null};return(cd,dd)=>cd.disableTransitions?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(sd)),style:normalizeStyle({backgroundColor:cd.color}),onClick:ld},[createBaseVNode("span",{class:normalizeClass(unref(rd).e("content"))},[renderSlot(cd.$slots,"default")],2),cd.closable?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(rd).e("close")),onClick:withModifiers(od,["stop"])},{default:withCtx(()=>[createVNode(unref(close_default))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],6)):(openBlock(),createBlock(Transition$1,{key:1,name:`${unref(rd).namespace.value}-zoom-in-center`,appear:"",onVnodeMounted:ud},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(unref(sd)),style:normalizeStyle({backgroundColor:cd.color}),onClick:ld},[createBaseVNode("span",{class:normalizeClass(unref(rd).e("content"))},[renderSlot(cd.$slots,"default")],2),cd.closable?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(rd).e("close")),onClick:withModifiers(od,["stop"])},{default:withCtx(()=>[createVNode(unref(close_default))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],6)]),_:3},8,["name"]))}});var Tag$1=_export_sfc$1(_sfc_main$1a,[["__file","tag.vue"]]);const ElTag=withInstall(Tag$1),rowContextKey=Symbol("rowContextKey"),RowJustify=["start","center","end","space-around","space-between","space-evenly"],RowAlign=["top","middle","bottom"],rowProps=buildProps({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:RowJustify,default:"start"},align:{type:String,values:RowAlign}}),__default__$f=defineComponent({name:"ElRow"}),_sfc_main$19=defineComponent({...__default__$f,props:rowProps,setup(Ra){const qa=Ra,ed=useNamespace("row"),td=computed(()=>qa.gutter);provide(rowContextKey,{gutter:td});const rd=computed(()=>{const od={};return qa.gutter&&(od.marginRight=od.marginLeft=`-${qa.gutter/2}px`),od}),sd=computed(()=>[ed.b(),ed.is(`justify-${qa.justify}`,qa.justify!=="start"),ed.is(`align-${qa.align}`,!!qa.align)]);return(od,ld)=>(openBlock(),createBlock(resolveDynamicComponent(od.tag),{class:normalizeClass(unref(sd)),style:normalizeStyle(unref(rd))},{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},8,["class","style"]))}});var Row=_export_sfc$1(_sfc_main$19,[["__file","row.vue"]]);const ElRow=withInstall(Row),colProps=buildProps({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:definePropType([Number,Object]),default:()=>mutable({})},sm:{type:definePropType([Number,Object]),default:()=>mutable({})},md:{type:definePropType([Number,Object]),default:()=>mutable({})},lg:{type:definePropType([Number,Object]),default:()=>mutable({})},xl:{type:definePropType([Number,Object]),default:()=>mutable({})}}),__default__$e=defineComponent({name:"ElCol"}),_sfc_main$18=defineComponent({...__default__$e,props:colProps,setup(Ra){const qa=Ra,{gutter:ed}=inject(rowContextKey,{gutter:computed(()=>0)}),td=useNamespace("col"),rd=computed(()=>{const od={};return ed.value&&(od.paddingLeft=od.paddingRight=`${ed.value/2}px`),od}),sd=computed(()=>{const od=[];return["span","offset","pull","push"].forEach(cd=>{const dd=qa[cd];isNumber$4(dd)&&(cd==="span"?od.push(td.b(`${qa[cd]}`)):dd>0&&od.push(td.b(`${cd}-${qa[cd]}`)))}),["xs","sm","md","lg","xl"].forEach(cd=>{isNumber$4(qa[cd])?od.push(td.b(`${cd}-${qa[cd]}`)):isObject$5(qa[cd])&&Object.entries(qa[cd]).forEach(([dd,_d])=>{od.push(dd!=="span"?td.b(`${cd}-${dd}-${_d}`):td.b(`${cd}-${_d}`))})}),ed.value&&od.push(td.is("guttered")),[td.b(),od]});return(od,ld)=>(openBlock(),createBlock(resolveDynamicComponent(od.tag),{class:normalizeClass(unref(sd)),style:normalizeStyle(unref(rd))},{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},8,["class","style"]))}});var Col=_export_sfc$1(_sfc_main$18,[["__file","col.vue"]]);const ElCol=withInstall(Col),alphaSliderProps=buildProps({color:{type:definePropType(Object),required:!0},vertical:{type:Boolean,default:!1}});let isDragging=!1;function draggable(Ra,qa){if(!isClient$1)return;const ed=function(sd){var od;(od=qa.drag)==null||od.call(qa,sd)},td=function(sd){var od;document.removeEventListener("mousemove",ed),document.removeEventListener("mouseup",td),document.removeEventListener("touchmove",ed),document.removeEventListener("touchend",td),document.onselectstart=null,document.ondragstart=null,isDragging=!1,(od=qa.end)==null||od.call(qa,sd)},rd=function(sd){var od;isDragging||(sd.preventDefault(),document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",ed),document.addEventListener("mouseup",td),document.addEventListener("touchmove",ed),document.addEventListener("touchend",td),isDragging=!0,(od=qa.start)==null||od.call(qa,sd))};Ra.addEventListener("mousedown",rd),Ra.addEventListener("touchstart",rd,{passive:!1})}const useAlphaSlider=Ra=>{const qa=getCurrentInstance(),{t:ed}=useLocale(),td=shallowRef(),rd=shallowRef(),sd=computed(()=>Ra.color.get("alpha")),od=computed(()=>ed("el.colorpicker.alphaLabel"));function ld(_d){var Ed;_d.target!==td.value&&ud(_d),(Ed=td.value)==null||Ed.focus()}function ud(_d){if(!rd.value||!td.value)return;const Ad=qa.vnode.el.getBoundingClientRect(),{clientX:Td,clientY:Id}=getClientXY(_d);if(Ra.vertical){let Bd=Id-Ad.top;Bd=Math.max(td.value.offsetHeight/2,Bd),Bd=Math.min(Bd,Ad.height-td.value.offsetHeight/2),Ra.color.set("alpha",Math.round((Bd-td.value.offsetHeight/2)/(Ad.height-td.value.offsetHeight)*100))}else{let Bd=Td-Ad.left;Bd=Math.max(td.value.offsetWidth/2,Bd),Bd=Math.min(Bd,Ad.width-td.value.offsetWidth/2),Ra.color.set("alpha",Math.round((Bd-td.value.offsetWidth/2)/(Ad.width-td.value.offsetWidth)*100))}}function cd(_d){const{code:Ed,shiftKey:Ad}=_d,Td=Ad?10:1;switch(Ed){case EVENT_CODE.left:case EVENT_CODE.down:_d.preventDefault(),_d.stopPropagation(),dd(-Td);break;case EVENT_CODE.right:case EVENT_CODE.up:_d.preventDefault(),_d.stopPropagation(),dd(Td);break}}function dd(_d){let Ed=sd.value+_d;Ed=Ed<0?0:Ed>100?100:Ed,Ra.color.set("alpha",Ed)}return{thumb:td,bar:rd,alpha:sd,alphaLabel:od,handleDrag:ud,handleClick:ld,handleKeydown:cd}},useAlphaSliderDOM=(Ra,{bar:qa,thumb:ed,handleDrag:td})=>{const rd=getCurrentInstance(),sd=useNamespace("color-alpha-slider"),od=ref$1(0),ld=ref$1(0),ud=ref$1();function cd(){if(!ed.value||Ra.vertical)return 0;const Od=rd.vnode.el,Md=Ra.color.get("alpha");return Od?Math.round(Md*(Od.offsetWidth-ed.value.offsetWidth/2)/100):0}function dd(){if(!ed.value)return 0;const Od=rd.vnode.el;if(!Ra.vertical)return 0;const Md=Ra.color.get("alpha");return Od?Math.round(Md*(Od.offsetHeight-ed.value.offsetHeight/2)/100):0}function _d(){if(Ra.color&&Ra.color.value){const{r:Od,g:Md,b:Ld}=Ra.color.toRgb();return`linear-gradient(to right, rgba(${Od}, ${Md}, ${Ld}, 0) 0%, rgba(${Od}, ${Md}, ${Ld}, 1) 100%)`}return""}function Ed(){od.value=cd(),ld.value=dd(),ud.value=_d()}onMounted(()=>{if(!qa.value||!ed.value)return;const Od={drag:Md=>{td(Md)},end:Md=>{td(Md)}};draggable(qa.value,Od),draggable(ed.value,Od),Ed()}),watch(()=>Ra.color.get("alpha"),()=>Ed()),watch(()=>Ra.color.value,()=>Ed());const Ad=computed(()=>[sd.b(),sd.is("vertical",Ra.vertical)]),Td=computed(()=>sd.e("bar")),Id=computed(()=>sd.e("thumb")),Bd=computed(()=>({background:ud.value})),Rd=computed(()=>({left:addUnit(od.value),top:addUnit(ld.value)}));return{rootKls:Ad,barKls:Td,barStyle:Bd,thumbKls:Id,thumbStyle:Rd,update:Ed}},COMPONENT_NAME$6="ElColorAlphaSlider",__default__$d=defineComponent({name:COMPONENT_NAME$6}),_sfc_main$17=defineComponent({...__default__$d,props:alphaSliderProps,setup(Ra,{expose:qa}){const ed=Ra,{alpha:td,alphaLabel:rd,bar:sd,thumb:od,handleDrag:ld,handleClick:ud,handleKeydown:cd}=useAlphaSlider(ed),{rootKls:dd,barKls:_d,barStyle:Ed,thumbKls:Ad,thumbStyle:Td,update:Id}=useAlphaSliderDOM(ed,{bar:sd,thumb:od,handleDrag:ld});return qa({update:Id,bar:sd,thumb:od}),(Bd,Rd)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(dd))},[createBaseVNode("div",{ref_key:"bar",ref:sd,class:normalizeClass(unref(_d)),style:normalizeStyle(unref(Ed)),onClick:unref(ud)},null,14,["onClick"]),createBaseVNode("div",{ref_key:"thumb",ref:od,class:normalizeClass(unref(Ad)),style:normalizeStyle(unref(Td)),"aria-label":unref(rd),"aria-valuenow":unref(td),"aria-orientation":Bd.vertical?"vertical":"horizontal","aria-valuemin":"0","aria-valuemax":"100",role:"slider",tabindex:"0",onKeydown:unref(cd)},null,46,["aria-label","aria-valuenow","aria-orientation","onKeydown"])],2))}});var AlphaSlider=_export_sfc$1(_sfc_main$17,[["__file","alpha-slider.vue"]]);const _sfc_main$16=defineComponent({name:"ElColorHueSlider",props:{color:{type:Object,required:!0},vertical:Boolean},setup(Ra){const qa=useNamespace("color-hue-slider"),ed=getCurrentInstance(),td=ref$1(),rd=ref$1(),sd=ref$1(0),od=ref$1(0),ld=computed(()=>Ra.color.get("hue"));watch(()=>ld.value,()=>{Ed()});function ud(Ad){Ad.target!==td.value&&cd(Ad)}function cd(Ad){if(!rd.value||!td.value)return;const Id=ed.vnode.el.getBoundingClientRect(),{clientX:Bd,clientY:Rd}=getClientXY(Ad);let Od;if(Ra.vertical){let Md=Rd-Id.top;Md=Math.min(Md,Id.height-td.value.offsetHeight/2),Md=Math.max(td.value.offsetHeight/2,Md),Od=Math.round((Md-td.value.offsetHeight/2)/(Id.height-td.value.offsetHeight)*360)}else{let Md=Bd-Id.left;Md=Math.min(Md,Id.width-td.value.offsetWidth/2),Md=Math.max(td.value.offsetWidth/2,Md),Od=Math.round((Md-td.value.offsetWidth/2)/(Id.width-td.value.offsetWidth)*360)}Ra.color.set("hue",Od)}function dd(){if(!td.value)return 0;const Ad=ed.vnode.el;if(Ra.vertical)return 0;const Td=Ra.color.get("hue");return Ad?Math.round(Td*(Ad.offsetWidth-td.value.offsetWidth/2)/360):0}function _d(){if(!td.value)return 0;const Ad=ed.vnode.el;if(!Ra.vertical)return 0;const Td=Ra.color.get("hue");return Ad?Math.round(Td*(Ad.offsetHeight-td.value.offsetHeight/2)/360):0}function Ed(){sd.value=dd(),od.value=_d()}return onMounted(()=>{if(!rd.value||!td.value)return;const Ad={drag:Td=>{cd(Td)},end:Td=>{cd(Td)}};draggable(rd.value,Ad),draggable(td.value,Ad),Ed()}),{bar:rd,thumb:td,thumbLeft:sd,thumbTop:od,hueValue:ld,handleClick:ud,update:Ed,ns:qa}}});function _sfc_render$7(Ra,qa,ed,td,rd,sd){return openBlock(),createElementBlock("div",{class:normalizeClass([Ra.ns.b(),Ra.ns.is("vertical",Ra.vertical)])},[createBaseVNode("div",{ref:"bar",class:normalizeClass(Ra.ns.e("bar")),onClick:Ra.handleClick},null,10,["onClick"]),createBaseVNode("div",{ref:"thumb",class:normalizeClass(Ra.ns.e("thumb")),style:normalizeStyle({left:Ra.thumbLeft+"px",top:Ra.thumbTop+"px"})},null,6)],2)}var HueSlider=_export_sfc$1(_sfc_main$16,[["render",_sfc_render$7],["__file","hue-slider.vue"]]);const colorPickerProps=buildProps({modelValue:String,id:String,showAlpha:Boolean,colorFormat:String,disabled:Boolean,size:useSizeProp,popperClass:{type:String,default:""},tabindex:{type:[String,Number],default:0},teleported:useTooltipContentProps.teleported,predefine:{type:definePropType(Array)},validateEvent:{type:Boolean,default:!0},...useAriaProps(["ariaLabel"])}),colorPickerEmits={[UPDATE_MODEL_EVENT]:Ra=>isString$3(Ra)||isNil(Ra),[CHANGE_EVENT]:Ra=>isString$3(Ra)||isNil(Ra),activeChange:Ra=>isString$3(Ra)||isNil(Ra),focus:Ra=>Ra instanceof FocusEvent,blur:Ra=>Ra instanceof FocusEvent},colorPickerContextKey=Symbol("colorPickerContextKey"),hsv2hsl=function(Ra,qa,ed){return[Ra,qa*ed/((Ra=(2-qa)*ed)<1?Ra:2-Ra)||0,Ra/2]},isOnePointZero=function(Ra){return typeof Ra=="string"&&Ra.includes(".")&&Number.parseFloat(Ra)===1},isPercentage=function(Ra){return typeof Ra=="string"&&Ra.includes("%")},bound01=function(Ra,qa){isOnePointZero(Ra)&&(Ra="100%");const ed=isPercentage(Ra);return Ra=Math.min(qa,Math.max(0,Number.parseFloat(`${Ra}`))),ed&&(Ra=Number.parseInt(`${Ra*qa}`,10)/100),Math.abs(Ra-qa)<1e-6?1:Ra%qa/Number.parseFloat(qa)},INT_HEX_MAP={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},hexOne=Ra=>{Ra=Math.min(Math.round(Ra),255);const qa=Math.floor(Ra/16),ed=Ra%16;return`${INT_HEX_MAP[qa]||qa}${INT_HEX_MAP[ed]||ed}`},toHex=function({r:Ra,g:qa,b:ed}){return Number.isNaN(+Ra)||Number.isNaN(+qa)||Number.isNaN(+ed)?"":`#${hexOne(Ra)}${hexOne(qa)}${hexOne(ed)}`},HEX_INT_MAP={A:10,B:11,C:12,D:13,E:14,F:15},parseHexChannel=function(Ra){return Ra.length===2?(HEX_INT_MAP[Ra[0].toUpperCase()]||+Ra[0])*16+(HEX_INT_MAP[Ra[1].toUpperCase()]||+Ra[1]):HEX_INT_MAP[Ra[1].toUpperCase()]||+Ra[1]},hsl2hsv=function(Ra,qa,ed){qa=qa/100,ed=ed/100;let td=qa;const rd=Math.max(ed,.01);ed*=2,qa*=ed<=1?ed:2-ed,td*=rd<=1?rd:2-rd;const sd=(ed+qa)/2,od=ed===0?2*td/(rd+td):2*qa/(ed+qa);return{h:Ra,s:od*100,v:sd*100}},rgb2hsv=(Ra,qa,ed)=>{Ra=bound01(Ra,255),qa=bound01(qa,255),ed=bound01(ed,255);const td=Math.max(Ra,qa,ed),rd=Math.min(Ra,qa,ed);let sd;const od=td,ld=td-rd,ud=td===0?0:ld/td;if(td===rd)sd=0;else{switch(td){case Ra:{sd=(qa-ed)/ld+(qa{this._hue=Math.max(0,Math.min(360,td)),this._saturation=Math.max(0,Math.min(100,rd)),this._value=Math.max(0,Math.min(100,sd)),this.doOnChange()};if(qa.includes("hsl")){const td=qa.replace(/hsla|hsl|\(|\)/gm,"").split(/\s|,/g).filter(rd=>rd!=="").map((rd,sd)=>sd>2?Number.parseFloat(rd):Number.parseInt(rd,10));if(td.length===4?this._alpha=Number.parseFloat(td[3])*100:td.length===3&&(this._alpha=100),td.length>=3){const{h:rd,s:sd,v:od}=hsl2hsv(td[0],td[1],td[2]);ed(rd,sd,od)}}else if(qa.includes("hsv")){const td=qa.replace(/hsva|hsv|\(|\)/gm,"").split(/\s|,/g).filter(rd=>rd!=="").map((rd,sd)=>sd>2?Number.parseFloat(rd):Number.parseInt(rd,10));td.length===4?this._alpha=Number.parseFloat(td[3])*100:td.length===3&&(this._alpha=100),td.length>=3&&ed(td[0],td[1],td[2])}else if(qa.includes("rgb")){const td=qa.replace(/rgba|rgb|\(|\)/gm,"").split(/\s|,/g).filter(rd=>rd!=="").map((rd,sd)=>sd>2?Number.parseFloat(rd):Number.parseInt(rd,10));if(td.length===4?this._alpha=Number.parseFloat(td[3])*100:td.length===3&&(this._alpha=100),td.length>=3){const{h:rd,s:sd,v:od}=rgb2hsv(td[0],td[1],td[2]);ed(rd,sd,od)}}else if(qa.includes("#")){const td=qa.replace("#","").trim();if(!/^[0-9a-fA-F]{3}$|^[0-9a-fA-F]{6}$|^[0-9a-fA-F]{8}$/.test(td))return;let rd,sd,od;td.length===3?(rd=parseHexChannel(td[0]+td[0]),sd=parseHexChannel(td[1]+td[1]),od=parseHexChannel(td[2]+td[2])):(td.length===6||td.length===8)&&(rd=parseHexChannel(td.slice(0,2)),sd=parseHexChannel(td.slice(2,4)),od=parseHexChannel(td.slice(4,6))),td.length===8?this._alpha=parseHexChannel(td.slice(6))/255*100:(td.length===3||td.length===6)&&(this._alpha=100);const{h:ld,s:ud,v:cd}=rgb2hsv(rd,sd,od);ed(ld,ud,cd)}}compare(qa){return Math.abs(qa._hue-this._hue)<2&&Math.abs(qa._saturation-this._saturation)<1&&Math.abs(qa._value-this._value)<1&&Math.abs(qa._alpha-this._alpha)<1}doOnChange(){const{_hue:qa,_saturation:ed,_value:td,_alpha:rd,format:sd}=this;if(this.enableAlpha)switch(sd){case"hsl":{const od=hsv2hsl(qa,ed/100,td/100);this.value=`hsla(${qa}, ${Math.round(od[1]*100)}%, ${Math.round(od[2]*100)}%, ${this.get("alpha")/100})`;break}case"hsv":{this.value=`hsva(${qa}, ${Math.round(ed)}%, ${Math.round(td)}%, ${this.get("alpha")/100})`;break}case"hex":{this.value=`${toHex(hsv2rgb(qa,ed,td))}${hexOne(rd*255/100)}`;break}default:{const{r:od,g:ld,b:ud}=hsv2rgb(qa,ed,td);this.value=`rgba(${od}, ${ld}, ${ud}, ${this.get("alpha")/100})`}}else switch(sd){case"hsl":{const od=hsv2hsl(qa,ed/100,td/100);this.value=`hsl(${qa}, ${Math.round(od[1]*100)}%, ${Math.round(od[2]*100)}%)`;break}case"hsv":{this.value=`hsv(${qa}, ${Math.round(ed)}%, ${Math.round(td)}%)`;break}case"rgb":{const{r:od,g:ld,b:ud}=hsv2rgb(qa,ed,td);this.value=`rgb(${od}, ${ld}, ${ud})`;break}default:this.value=toHex(hsv2rgb(qa,ed,td))}}};const _sfc_main$15=defineComponent({props:{colors:{type:Array,required:!0},color:{type:Object,required:!0},enableAlpha:{type:Boolean,required:!0}},setup(Ra){const qa=useNamespace("color-predefine"),{currentColor:ed}=inject(colorPickerContextKey),td=ref$1(sd(Ra.colors,Ra.color));watch(()=>ed.value,od=>{const ld=new Color$2;ld.fromString(od),td.value.forEach(ud=>{ud.selected=ld.compare(ud)})}),watchEffect(()=>{td.value=sd(Ra.colors,Ra.color)});function rd(od){Ra.color.fromString(Ra.colors[od])}function sd(od,ld){return od.map(ud=>{const cd=new Color$2;return cd.enableAlpha=Ra.enableAlpha,cd.format="rgba",cd.fromString(ud),cd.selected=cd.value===ld.value,cd})}return{rgbaColors:td,handleSelect:rd,ns:qa}}});function _sfc_render$6(Ra,qa,ed,td,rd,sd){return openBlock(),createElementBlock("div",{class:normalizeClass(Ra.ns.b())},[createBaseVNode("div",{class:normalizeClass(Ra.ns.e("colors"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ra.rgbaColors,(od,ld)=>(openBlock(),createElementBlock("div",{key:Ra.colors[ld],class:normalizeClass([Ra.ns.e("color-selector"),Ra.ns.is("alpha",od._alpha<100),{selected:od.selected}]),onClick:ud=>Ra.handleSelect(ld)},[createBaseVNode("div",{style:normalizeStyle({backgroundColor:od.value})},null,4)],10,["onClick"]))),128))],2)],2)}var Predefine=_export_sfc$1(_sfc_main$15,[["render",_sfc_render$6],["__file","predefine.vue"]]);const _sfc_main$14=defineComponent({name:"ElSlPanel",props:{color:{type:Object,required:!0}},setup(Ra){const qa=useNamespace("color-svpanel"),ed=getCurrentInstance(),td=ref$1(0),rd=ref$1(0),sd=ref$1("hsl(0, 100%, 50%)"),od=computed(()=>{const cd=Ra.color.get("hue"),dd=Ra.color.get("value");return{hue:cd,value:dd}});function ld(){const cd=Ra.color.get("saturation"),dd=Ra.color.get("value"),_d=ed.vnode.el,{clientWidth:Ed,clientHeight:Ad}=_d;rd.value=cd*Ed/100,td.value=(100-dd)*Ad/100,sd.value=`hsl(${Ra.color.get("hue")}, 100%, 50%)`}function ud(cd){const _d=ed.vnode.el.getBoundingClientRect(),{clientX:Ed,clientY:Ad}=getClientXY(cd);let Td=Ed-_d.left,Id=Ad-_d.top;Td=Math.max(0,Td),Td=Math.min(Td,_d.width),Id=Math.max(0,Id),Id=Math.min(Id,_d.height),rd.value=Td,td.value=Id,Ra.color.set({saturation:Td/_d.width*100,value:100-Id/_d.height*100})}return watch(()=>od.value,()=>{ld()}),onMounted(()=>{draggable(ed.vnode.el,{drag:cd=>{ud(cd)},end:cd=>{ud(cd)}}),ld()}),{cursorTop:td,cursorLeft:rd,background:sd,colorValue:od,handleDrag:ud,update:ld,ns:qa}}});function _sfc_render$5(Ra,qa,ed,td,rd,sd){return openBlock(),createElementBlock("div",{class:normalizeClass(Ra.ns.b()),style:normalizeStyle({backgroundColor:Ra.background})},[createBaseVNode("div",{class:normalizeClass(Ra.ns.e("white"))},null,2),createBaseVNode("div",{class:normalizeClass(Ra.ns.e("black"))},null,2),createBaseVNode("div",{class:normalizeClass(Ra.ns.e("cursor")),style:normalizeStyle({top:Ra.cursorTop+"px",left:Ra.cursorLeft+"px"})},[createBaseVNode("div")],6)],6)}var SvPanel=_export_sfc$1(_sfc_main$14,[["render",_sfc_render$5],["__file","sv-panel.vue"]]);const __default__$c=defineComponent({name:"ElColorPicker"}),_sfc_main$13=defineComponent({...__default__$c,props:colorPickerProps,emits:colorPickerEmits,setup(Ra,{expose:qa,emit:ed}){const td=Ra,{t:rd}=useLocale(),sd=useNamespace("color"),{formItem:od}=useFormItem(),ld=useFormSize(),ud=useFormDisabled(),{inputId:cd,isLabeledByFormItem:dd}=useFormItemInputId(td,{formItemContext:od}),_d=ref$1(),Ed=ref$1(),Ad=ref$1(),Td=ref$1(),Id=ref$1(),Bd=ref$1(),{isFocused:Rd,handleFocus:Od,handleBlur:Md}=useFocusController(Id,{beforeFocus(){return ud.value},beforeBlur(Rf){var jf;return(jf=Td.value)==null?void 0:jf.isFocusInsideContent(Rf)},afterBlur(){pf(!1),zf()}});let Ld=!0;const Fd=reactive(new Color$2({enableAlpha:td.showAlpha,format:td.colorFormat||"",value:td.modelValue})),jd=ref$1(!1),Vd=ref$1(!1),Qd=ref$1(""),qd=computed(()=>!td.modelValue&&!Vd.value?"transparent":bf(Fd,td.showAlpha)),Kd=computed(()=>!td.modelValue&&!Vd.value?"":Fd.value),Xd=computed(()=>dd.value?void 0:td.ariaLabel||rd("el.colorpicker.defaultLabel")),df=computed(()=>dd.value?od==null?void 0:od.labelId:void 0),mf=computed(()=>[sd.b("picker"),sd.is("disabled",ud.value),sd.bm("picker",ld.value),sd.is("focused",Rd.value)]);function bf(Rf,jf){if(!(Rf instanceof Color$2))throw new TypeError("color should be instance of _color Class");const{r:Kf,g:Ff,b:wf}=Rf.toRgb();return jf?`rgba(${Kf}, ${Ff}, ${wf}, ${Rf.get("alpha")/100})`:`rgb(${Kf}, ${Ff}, ${wf})`}function pf(Rf){jd.value=Rf}const _f=debounce(pf,100,{leading:!0});function Tf(){ud.value||pf(!0)}function kf(){_f(!1),zf()}function zf(){nextTick$1(()=>{td.modelValue?Fd.fromString(td.modelValue):(Fd.value="",nextTick$1(()=>{Vd.value=!1}))})}function Jf(){ud.value||_f(!jd.value)}function Gf(){Fd.fromString(Qd.value)}function Mf(){const Rf=Fd.value;ed(UPDATE_MODEL_EVENT,Rf),ed("change",Rf),td.validateEvent&&(od==null||od.validate("change").catch(jf=>void 0)),_f(!1),nextTick$1(()=>{const jf=new Color$2({enableAlpha:td.showAlpha,format:td.colorFormat||"",value:td.modelValue});Fd.compare(jf)||zf()})}function Nf(){_f(!1),ed(UPDATE_MODEL_EVENT,null),ed("change",null),td.modelValue!==null&&td.validateEvent&&(od==null||od.validate("change").catch(Rf=>void 0)),zf()}function Bf(){jd.value&&(kf(),Rd.value&&yf())}function Qf(Rf){Rf.preventDefault(),Rf.stopPropagation(),pf(!1),zf()}function Wf(Rf){switch(Rf.code){case EVENT_CODE.enter:case EVENT_CODE.space:Rf.preventDefault(),Rf.stopPropagation(),Tf(),Bd.value.focus();break;case EVENT_CODE.esc:Qf(Rf);break}}function yf(){Id.value.focus()}function hf(){Id.value.blur()}return onMounted(()=>{td.modelValue&&(Qd.value=Kd.value)}),watch(()=>td.modelValue,Rf=>{Rf?Rf&&Rf!==Fd.value&&(Ld=!1,Fd.fromString(Rf)):Vd.value=!1}),watch(()=>td.colorFormat,()=>{td.colorFormat&&(Fd.format=td.colorFormat,Fd.doOnChange(),ed(UPDATE_MODEL_EVENT,Fd.value))}),watch(()=>Kd.value,Rf=>{Qd.value=Rf,Ld&&ed("activeChange",Rf),Ld=!0}),watch(()=>Fd.value,()=>{!td.modelValue&&!Vd.value&&(Vd.value=!0)}),watch(()=>jd.value,()=>{nextTick$1(()=>{var Rf,jf,Kf;(Rf=_d.value)==null||Rf.update(),(jf=Ed.value)==null||jf.update(),(Kf=Ad.value)==null||Kf.update()})}),provide(colorPickerContextKey,{currentColor:Kd}),qa({color:Fd,show:Tf,hide:kf,focus:yf,blur:hf}),(Rf,jf)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"popper",ref:Td,visible:jd.value,"show-arrow":!1,"fallback-placements":["bottom","top","right","left"],offset:0,"gpu-acceleration":!1,"popper-class":[unref(sd).be("picker","panel"),unref(sd).b("dropdown"),Rf.popperClass],"stop-popper-mouse-event":!1,effect:"light",trigger:"click",teleported:Rf.teleported,transition:`${unref(sd).namespace.value}-zoom-in-top`,persistent:"",onHide:Kf=>pf(!1)},{content:withCtx(()=>[withDirectives((openBlock(),createElementBlock("div",{onKeydown:withKeys(Qf,["esc"])},[createBaseVNode("div",{class:normalizeClass(unref(sd).be("dropdown","main-wrapper"))},[createVNode(HueSlider,{ref_key:"hue",ref:_d,class:"hue-slider",color:unref(Fd),vertical:""},null,8,["color"]),createVNode(SvPanel,{ref_key:"sv",ref:Ed,color:unref(Fd)},null,8,["color"])],2),Rf.showAlpha?(openBlock(),createBlock(AlphaSlider,{key:0,ref_key:"alpha",ref:Ad,color:unref(Fd)},null,8,["color"])):createCommentVNode("v-if",!0),Rf.predefine?(openBlock(),createBlock(Predefine,{key:1,ref:"predefine","enable-alpha":Rf.showAlpha,color:unref(Fd),colors:Rf.predefine},null,8,["enable-alpha","color","colors"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(sd).be("dropdown","btns"))},[createBaseVNode("span",{class:normalizeClass(unref(sd).be("dropdown","value"))},[createVNode(unref(ElInput),{ref_key:"inputRef",ref:Bd,modelValue:Qd.value,"onUpdate:modelValue":Kf=>Qd.value=Kf,"validate-event":!1,size:"small",onKeyup:withKeys(Gf,["enter"]),onBlur:Gf},null,8,["modelValue","onUpdate:modelValue","onKeyup"])],2),createVNode(unref(ElButton),{class:normalizeClass(unref(sd).be("dropdown","link-btn")),text:"",size:"small",onClick:Nf},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(rd)("el.colorpicker.clear")),1)]),_:1},8,["class"]),createVNode(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(sd).be("dropdown","btn")),onClick:Mf},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(rd)("el.colorpicker.confirm")),1)]),_:1},8,["class"])],2)],40,["onKeydown"])),[[unref(ClickOutside),Bf]])]),default:withCtx(()=>[createBaseVNode("div",mergeProps({id:unref(cd),ref_key:"triggerRef",ref:Id},Rf.$attrs,{class:unref(mf),role:"button","aria-label":unref(Xd),"aria-labelledby":unref(df),"aria-description":unref(rd)("el.colorpicker.description",{color:Rf.modelValue||""}),"aria-disabled":unref(ud),tabindex:unref(ud)?-1:Rf.tabindex,onKeydown:Wf,onFocus:unref(Od),onBlur:unref(Md)}),[unref(ud)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(sd).be("picker","mask"))},null,2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(sd).be("picker","trigger")),onClick:Jf},[createBaseVNode("span",{class:normalizeClass([unref(sd).be("picker","color"),unref(sd).is("alpha",Rf.showAlpha)])},[createBaseVNode("span",{class:normalizeClass(unref(sd).be("picker","color-inner")),style:normalizeStyle({backgroundColor:unref(qd)})},[withDirectives(createVNode(unref(ElIcon),{class:normalizeClass([unref(sd).be("picker","icon"),unref(sd).is("icon-arrow-down")])},{default:withCtx(()=>[createVNode(unref(arrow_down_default))]),_:1},8,["class"]),[[vShow,Rf.modelValue||Vd.value]]),withDirectives(createVNode(unref(ElIcon),{class:normalizeClass([unref(sd).be("picker","empty"),unref(sd).is("icon-close")])},{default:withCtx(()=>[createVNode(unref(close_default))]),_:1},8,["class"]),[[vShow,!Rf.modelValue&&!Vd.value]])],6)],2)],2)],16,["id","aria-label","aria-labelledby","aria-description","aria-disabled","tabindex","onFocus","onBlur"])]),_:1},8,["visible","popper-class","teleported","transition","onHide"]))}});var ColorPicker=_export_sfc$1(_sfc_main$13,[["__file","color-picker.vue"]]);const ElColorPicker=withInstall(ColorPicker),overlayProps=buildProps({mask:{type:Boolean,default:!0},customMaskEvent:Boolean,overlayClass:{type:definePropType([String,Array,Object])},zIndex:{type:definePropType([String,Number])}}),overlayEmits={click:Ra=>Ra instanceof MouseEvent},BLOCK="overlay";var Overlay=defineComponent({name:"ElOverlay",props:overlayProps,emits:overlayEmits,setup(Ra,{slots:qa,emit:ed}){const td=useNamespace(BLOCK),rd=ud=>{ed("click",ud)},{onClick:sd,onMousedown:od,onMouseup:ld}=useSameTarget(Ra.customMaskEvent?void 0:rd);return()=>Ra.mask?createVNode("div",{class:[td.b(),Ra.overlayClass],style:{zIndex:Ra.zIndex},onClick:sd,onMousedown:od,onMouseup:ld},[renderSlot(qa,"default")],PatchFlags.STYLE|PatchFlags.CLASS|PatchFlags.PROPS,["onClick","onMouseup","onMousedown"]):h$1("div",{class:Ra.overlayClass,style:{zIndex:Ra.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[renderSlot(qa,"default")])}});const ElOverlay=Overlay,inputNumberProps=buildProps({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.POSITIVE_INFINITY},min:{type:Number,default:Number.NEGATIVE_INFINITY},modelValue:Number,readonly:Boolean,disabled:Boolean,size:useSizeProp,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:[String,Number,null],validator:Ra=>Ra===null||isNumber$4(Ra)||["min","max"].includes(Ra),default:null},name:String,placeholder:String,precision:{type:Number,validator:Ra=>Ra>=0&&Ra===Number.parseInt(`${Ra}`,10)},validateEvent:{type:Boolean,default:!0},...useAriaProps(["ariaLabel"])}),inputNumberEmits={[CHANGE_EVENT]:(Ra,qa)=>qa!==Ra,blur:Ra=>Ra instanceof FocusEvent,focus:Ra=>Ra instanceof FocusEvent,[INPUT_EVENT]:Ra=>isNumber$4(Ra)||isNil(Ra),[UPDATE_MODEL_EVENT]:Ra=>isNumber$4(Ra)||isNil(Ra)},__default__$b=defineComponent({name:"ElInputNumber"}),_sfc_main$12=defineComponent({...__default__$b,props:inputNumberProps,emits:inputNumberEmits,setup(Ra,{expose:qa,emit:ed}){const td=Ra,{t:rd}=useLocale(),sd=useNamespace("input-number"),od=ref$1(),ld=reactive({currentValue:td.modelValue,userInput:null}),{formItem:ud}=useFormItem(),cd=computed(()=>isNumber$4(td.modelValue)&&td.modelValue<=td.min),dd=computed(()=>isNumber$4(td.modelValue)&&td.modelValue>=td.max),_d=computed(()=>{const pf=Rd(td.step);return isUndefined$1(td.precision)?Math.max(Rd(td.modelValue),pf):(pf>td.precision,td.precision)}),Ed=computed(()=>td.controls&&td.controlsPosition==="right"),Ad=useFormSize(),Td=useFormDisabled(),Id=computed(()=>{if(ld.userInput!==null)return ld.userInput;let pf=ld.currentValue;if(isNil(pf))return"";if(isNumber$4(pf)){if(Number.isNaN(pf))return"";isUndefined$1(td.precision)||(pf=pf.toFixed(td.precision))}return pf}),Bd=(pf,_f)=>{if(isUndefined$1(_f)&&(_f=_d.value),_f===0)return Math.round(pf);let Tf=String(pf);const kf=Tf.indexOf(".");if(kf===-1||!Tf.replace(".","").split("")[kf+_f])return pf;const Gf=Tf.length;return Tf.charAt(Gf-1)==="5"&&(Tf=`${Tf.slice(0,Math.max(0,Gf-1))}6`),Number.parseFloat(Number(Tf).toFixed(_f))},Rd=pf=>{if(isNil(pf))return 0;const _f=pf.toString(),Tf=_f.indexOf(".");let kf=0;return Tf!==-1&&(kf=_f.length-Tf-1),kf},Od=(pf,_f=1)=>isNumber$4(pf)?Bd(pf+td.step*_f):ld.currentValue,Md=()=>{if(td.readonly||Td.value||dd.value)return;const pf=Number(Id.value)||0,_f=Od(pf);jd(_f),ed(INPUT_EVENT,ld.currentValue),mf()},Ld=()=>{if(td.readonly||Td.value||cd.value)return;const pf=Number(Id.value)||0,_f=Od(pf,-1);jd(_f),ed(INPUT_EVENT,ld.currentValue),mf()},Fd=(pf,_f)=>{const{max:Tf,min:kf,step:zf,precision:Jf,stepStrictly:Gf,valueOnClear:Mf}=td;TfTf||NfTf?Tf:kf,_f&&ed(UPDATE_MODEL_EVENT,Nf)),Nf},jd=(pf,_f=!0)=>{var Tf;const kf=ld.currentValue,zf=Fd(pf);if(!_f){ed(UPDATE_MODEL_EVENT,zf);return}kf===zf&&pf||(ld.userInput=null,ed(UPDATE_MODEL_EVENT,zf),kf!==zf&&ed(CHANGE_EVENT,zf,kf),td.validateEvent&&((Tf=ud==null?void 0:ud.validate)==null||Tf.call(ud,"change").catch(Jf=>void 0)),ld.currentValue=zf)},Vd=pf=>{ld.userInput=pf;const _f=pf===""?null:Number(pf);ed(INPUT_EVENT,_f),jd(_f,!1)},Qd=pf=>{const _f=pf!==""?Number(pf):"";(isNumber$4(_f)&&!Number.isNaN(_f)||pf==="")&&jd(_f),mf(),ld.userInput=null},qd=()=>{var pf,_f;(_f=(pf=od.value)==null?void 0:pf.focus)==null||_f.call(pf)},Kd=()=>{var pf,_f;(_f=(pf=od.value)==null?void 0:pf.blur)==null||_f.call(pf)},Xd=pf=>{ed("focus",pf)},df=pf=>{var _f;ld.userInput=null,ed("blur",pf),td.validateEvent&&((_f=ud==null?void 0:ud.validate)==null||_f.call(ud,"blur").catch(Tf=>void 0))},mf=()=>{ld.currentValue!==td.modelValue&&(ld.currentValue=td.modelValue)},bf=pf=>{document.activeElement===pf.target&&pf.preventDefault()};return watch(()=>td.modelValue,(pf,_f)=>{const Tf=Fd(pf,!0);ld.userInput===null&&Tf!==_f&&(ld.currentValue=Tf)},{immediate:!0}),onMounted(()=>{var pf;const{min:_f,max:Tf,modelValue:kf}=td,zf=(pf=od.value)==null?void 0:pf.input;if(zf.setAttribute("role","spinbutton"),Number.isFinite(Tf)?zf.setAttribute("aria-valuemax",String(Tf)):zf.removeAttribute("aria-valuemax"),Number.isFinite(_f)?zf.setAttribute("aria-valuemin",String(_f)):zf.removeAttribute("aria-valuemin"),zf.setAttribute("aria-valuenow",ld.currentValue||ld.currentValue===0?String(ld.currentValue):""),zf.setAttribute("aria-disabled",String(Td.value)),!isNumber$4(kf)&&kf!=null){let Jf=Number(kf);Number.isNaN(Jf)&&(Jf=null),ed(UPDATE_MODEL_EVENT,Jf)}zf.addEventListener("wheel",bf,{passive:!1})}),onUpdated(()=>{var pf,_f;const Tf=(pf=od.value)==null?void 0:pf.input;Tf==null||Tf.setAttribute("aria-valuenow",`${(_f=ld.currentValue)!=null?_f:""}`)}),qa({focus:qd,blur:Kd}),(pf,_f)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(sd).b(),unref(sd).m(unref(Ad)),unref(sd).is("disabled",unref(Td)),unref(sd).is("without-controls",!pf.controls),unref(sd).is("controls-right",unref(Ed))]),onDragstart:withModifiers(()=>{},["prevent"])},[pf.controls?withDirectives((openBlock(),createElementBlock("span",{key:0,role:"button","aria-label":unref(rd)("el.inputNumber.decrease"),class:normalizeClass([unref(sd).e("decrease"),unref(sd).is("disabled",unref(cd))]),onKeydown:withKeys(Ld,["enter"])},[renderSlot(pf.$slots,"decrease-icon",{},()=>[createVNode(unref(ElIcon),null,{default:withCtx(()=>[unref(Ed)?(openBlock(),createBlock(unref(arrow_down_default),{key:0})):(openBlock(),createBlock(unref(minus_default),{key:1}))]),_:1})])],42,["aria-label","onKeydown"])),[[unref(vRepeatClick),Ld]]):createCommentVNode("v-if",!0),pf.controls?withDirectives((openBlock(),createElementBlock("span",{key:1,role:"button","aria-label":unref(rd)("el.inputNumber.increase"),class:normalizeClass([unref(sd).e("increase"),unref(sd).is("disabled",unref(dd))]),onKeydown:withKeys(Md,["enter"])},[renderSlot(pf.$slots,"increase-icon",{},()=>[createVNode(unref(ElIcon),null,{default:withCtx(()=>[unref(Ed)?(openBlock(),createBlock(unref(arrow_up_default),{key:0})):(openBlock(),createBlock(unref(plus_default),{key:1}))]),_:1})])],42,["aria-label","onKeydown"])),[[unref(vRepeatClick),Md]]):createCommentVNode("v-if",!0),createVNode(unref(ElInput),{id:pf.id,ref_key:"input",ref:od,type:"number",step:pf.step,"model-value":unref(Id),placeholder:pf.placeholder,readonly:pf.readonly,disabled:unref(Td),size:unref(Ad),max:pf.max,min:pf.min,name:pf.name,"aria-label":pf.ariaLabel,"validate-event":!1,onKeydown:[withKeys(withModifiers(Md,["prevent"]),["up"]),withKeys(withModifiers(Ld,["prevent"]),["down"])],onBlur:df,onFocus:Xd,onInput:Vd,onChange:Qd},null,8,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","onKeydown"])],42,["onDragstart"]))}});var InputNumber=_export_sfc$1(_sfc_main$12,[["__file","input-number.vue"]]);const ElInputNumber=withInstall(InputNumber),linkProps=buildProps({type:{type:String,values:["primary","success","warning","info","danger","default"],default:"default"},underline:{type:Boolean,default:!0},disabled:Boolean,href:{type:String,default:""},target:{type:String,default:"_self"},icon:{type:iconPropType}}),linkEmits={click:Ra=>Ra instanceof MouseEvent},__default__$a=defineComponent({name:"ElLink"}),_sfc_main$11=defineComponent({...__default__$a,props:linkProps,emits:linkEmits,setup(Ra,{emit:qa}){const ed=Ra,td=useNamespace("link"),rd=computed(()=>[td.b(),td.m(ed.type),td.is("disabled",ed.disabled),td.is("underline",ed.underline&&!ed.disabled)]);function sd(od){ed.disabled||qa("click",od)}return(od,ld)=>(openBlock(),createElementBlock("a",{class:normalizeClass(unref(rd)),href:od.disabled||!od.href?void 0:od.href,target:od.disabled||!od.href?void 0:od.target,onClick:sd},[od.icon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(od.icon)))]),_:1})):createCommentVNode("v-if",!0),od.$slots.default?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(td).e("inner"))},[renderSlot(od.$slots,"default")],2)):createCommentVNode("v-if",!0),od.$slots.icon?renderSlot(od.$slots,"icon",{key:2}):createCommentVNode("v-if",!0)],10,["href","target"]))}});var Link=_export_sfc$1(_sfc_main$11,[["__file","link.vue"]]);const ElLink=withInstall(Link),selectGroupKey=Symbol("ElSelectGroup"),selectKey=Symbol("ElSelect");function useOption(Ra,qa){const ed=inject(selectKey),td=inject(selectGroupKey,{disabled:!1}),rd=computed(()=>dd(castArray(ed.props.modelValue),Ra.value)),sd=computed(()=>{var Ad;if(ed.props.multiple){const Td=castArray((Ad=ed.props.modelValue)!=null?Ad:[]);return!rd.value&&Td.length>=ed.props.multipleLimit&&ed.props.multipleLimit>0}else return!1}),od=computed(()=>Ra.label||(isObject$5(Ra.value)?"":Ra.value)),ld=computed(()=>Ra.value||Ra.label||""),ud=computed(()=>Ra.disabled||qa.groupDisabled||sd.value),cd=getCurrentInstance(),dd=(Ad=[],Td)=>{if(isObject$5(Ra.value)){const Id=ed.props.valueKey;return Ad&&Ad.some(Bd=>toRaw(get$3(Bd,Id))===get$3(Td,Id))}else return Ad&&Ad.includes(Td)},_d=()=>{!Ra.disabled&&!td.disabled&&(ed.states.hoveringIndex=ed.optionsArray.indexOf(cd.proxy))},Ed=Ad=>{const Td=new RegExp(escapeStringRegexp(Ad),"i");qa.visible=Td.test(od.value)||Ra.created};return watch(()=>od.value,()=>{!Ra.created&&!ed.props.remote&&ed.setSelected()}),watch(()=>Ra.value,(Ad,Td)=>{const{remote:Id,valueKey:Bd}=ed.props;if(Ad!==Td&&(ed.onOptionDestroy(Td,cd.proxy),ed.onOptionCreate(cd.proxy)),!Ra.created&&!Id){if(Bd&&isObject$5(Ad)&&isObject$5(Td)&&Ad[Bd]===Td[Bd])return;ed.setSelected()}}),watch(()=>td.disabled,()=>{qa.groupDisabled=td.disabled},{immediate:!0}),{select:ed,currentLabel:od,currentValue:ld,itemSelected:rd,isDisabled:ud,hoverItem:_d,updateOption:Ed}}const _sfc_main$10=defineComponent({name:"ElOption",componentName:"ElOption",props:{value:{required:!0,type:[String,Number,Boolean,Object]},label:[String,Number],created:Boolean,disabled:Boolean},setup(Ra){const qa=useNamespace("select"),ed=useId(),td=computed(()=>[qa.be("dropdown","item"),qa.is("disabled",unref(ld)),qa.is("selected",unref(od)),qa.is("hovering",unref(Ed))]),rd=reactive({index:-1,groupDisabled:!1,visible:!0,hover:!1}),{currentLabel:sd,itemSelected:od,isDisabled:ld,select:ud,hoverItem:cd,updateOption:dd}=useOption(Ra,rd),{visible:_d,hover:Ed}=toRefs(rd),Ad=getCurrentInstance().proxy;ud.onOptionCreate(Ad),onBeforeUnmount(()=>{const Id=Ad.value,{selected:Bd}=ud.states,Od=(ud.props.multiple?Bd:[Bd]).some(Md=>Md.value===Ad.value);nextTick$1(()=>{ud.states.cachedOptions.get(Id)===Ad&&!Od&&ud.states.cachedOptions.delete(Id)}),ud.onOptionDestroy(Id,Ad)});function Td(){ld.value||ud.handleOptionSelect(Ad)}return{ns:qa,id:ed,containerKls:td,currentLabel:sd,itemSelected:od,isDisabled:ld,select:ud,hoverItem:cd,updateOption:dd,visible:_d,hover:Ed,selectOptionClick:Td,states:rd}}});function _sfc_render$4(Ra,qa,ed,td,rd,sd){return withDirectives((openBlock(),createElementBlock("li",{id:Ra.id,class:normalizeClass(Ra.containerKls),role:"option","aria-disabled":Ra.isDisabled||void 0,"aria-selected":Ra.itemSelected,onMouseenter:Ra.hoverItem,onClick:withModifiers(Ra.selectOptionClick,["stop"])},[renderSlot(Ra.$slots,"default",{},()=>[createBaseVNode("span",null,toDisplayString(Ra.currentLabel),1)])],42,["id","aria-disabled","aria-selected","onMouseenter","onClick"])),[[vShow,Ra.visible]])}var Option=_export_sfc$1(_sfc_main$10,[["render",_sfc_render$4],["__file","option.vue"]]);const _sfc_main$$=defineComponent({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const Ra=inject(selectKey),qa=useNamespace("select"),ed=computed(()=>Ra.props.popperClass),td=computed(()=>Ra.props.multiple),rd=computed(()=>Ra.props.fitInputWidth),sd=ref$1("");function od(){var ld;sd.value=`${(ld=Ra.selectRef)==null?void 0:ld.offsetWidth}px`}return onMounted(()=>{od(),useResizeObserver(Ra.selectRef,od)}),{ns:qa,minWidth:sd,popperClass:ed,isMultiple:td,isFitInputWidth:rd}}});function _sfc_render$3(Ra,qa,ed,td,rd,sd){return openBlock(),createElementBlock("div",{class:normalizeClass([Ra.ns.b("dropdown"),Ra.ns.is("multiple",Ra.isMultiple),Ra.popperClass]),style:normalizeStyle({[Ra.isFitInputWidth?"width":"minWidth"]:Ra.minWidth})},[Ra.$slots.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(Ra.ns.be("dropdown","header"))},[renderSlot(Ra.$slots,"header")],2)):createCommentVNode("v-if",!0),renderSlot(Ra.$slots,"default"),Ra.$slots.footer?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(Ra.ns.be("dropdown","footer"))},[renderSlot(Ra.$slots,"footer")],2)):createCommentVNode("v-if",!0)],6)}var ElSelectMenu=_export_sfc$1(_sfc_main$$,[["render",_sfc_render$3],["__file","select-dropdown.vue"]]);const MINIMUM_INPUT_WIDTH=11,useSelect=(Ra,qa)=>{const{t:ed}=useLocale(),td=useId(),rd=useNamespace("select"),sd=useNamespace("input"),od=reactive({inputValue:"",options:new Map,cachedOptions:new Map,disabledOptions:new Map,optionValues:[],selected:[],selectionWidth:0,calculatorWidth:0,collapseItemWidth:0,selectedLabel:"",hoveringIndex:-1,previousQuery:null,inputHovering:!1,menuVisibleOnFocus:!1,isBeforeHide:!1}),ld=ref$1(null),ud=ref$1(null),cd=ref$1(null),dd=ref$1(null),_d=ref$1(null),Ed=ref$1(null),Ad=ref$1(null),Td=ref$1(null),Id=ref$1(null),Bd=ref$1(null),Rd=ref$1(null),Od=ref$1(null),{isComposing:Md,handleCompositionStart:Ld,handleCompositionUpdate:Fd,handleCompositionEnd:jd}=useComposition({afterComposition:am=>kh(am)}),{wrapperRef:Vd,isFocused:Qd}=useFocusController(_d,{beforeFocus(){return _f.value},afterFocus(){Ra.automaticDropdown&&!qd.value&&(qd.value=!0,od.menuVisibleOnFocus=!0)},beforeBlur(am){var Sf,oh;return((Sf=cd.value)==null?void 0:Sf.isFocusInsideContent(am))||((oh=dd.value)==null?void 0:oh.isFocusInsideContent(am))},afterBlur(){qd.value=!1,od.menuVisibleOnFocus=!1}}),qd=ref$1(!1),Kd=ref$1(),{form:Xd,formItem:df}=useFormItem(),{inputId:mf}=useFormItemInputId(Ra,{formItemContext:df}),{valueOnClear:bf,isEmptyValue:pf}=useEmptyValues(Ra),_f=computed(()=>Ra.disabled||(Xd==null?void 0:Xd.disabled)),Tf=computed(()=>isArray$2(Ra.modelValue)?Ra.modelValue.length>0:!pf(Ra.modelValue)),kf=computed(()=>Ra.clearable&&!_f.value&&od.inputHovering&&Tf.value),zf=computed(()=>Ra.remote&&Ra.filterable&&!Ra.remoteShowSuffix?"":Ra.suffixIcon),Jf=computed(()=>rd.is("reverse",zf.value&&qd.value)),Gf=computed(()=>(df==null?void 0:df.validateState)||""),Mf=computed(()=>ValidateComponentsMap[Gf.value]),Nf=computed(()=>Ra.remote?300:0),Bf=computed(()=>Ra.loading?Ra.loadingText||ed("el.select.loading"):Ra.remote&&!od.inputValue&&od.options.size===0?!1:Ra.filterable&&od.inputValue&&od.options.size>0&&Qf.value===0?Ra.noMatchText||ed("el.select.noMatch"):od.options.size===0?Ra.noDataText||ed("el.select.noData"):null),Qf=computed(()=>Wf.value.filter(am=>am.visible).length),Wf=computed(()=>{const am=Array.from(od.options.values()),Sf=[];return od.optionValues.forEach(oh=>{const Zf=am.findIndex(lh=>lh.value===oh);Zf>-1&&Sf.push(am[Zf])}),Sf.length>=am.length?Sf:am}),yf=computed(()=>Array.from(od.cachedOptions.values())),hf=computed(()=>{const am=Wf.value.filter(Sf=>!Sf.created).some(Sf=>Sf.currentLabel===od.inputValue);return Ra.filterable&&Ra.allowCreate&&od.inputValue!==""&&!am}),Rf=()=>{Ra.filterable&&isFunction$4(Ra.filterMethod)||Ra.filterable&&Ra.remote&&isFunction$4(Ra.remoteMethod)||Wf.value.forEach(am=>{var Sf;(Sf=am.updateOption)==null||Sf.call(am,od.inputValue)})},jf=useFormSize(),Kf=computed(()=>["small"].includes(jf.value)?"small":"default"),Ff=computed({get(){return qd.value&&Bf.value!==!1},set(am){qd.value=am}}),wf=computed(()=>{if(Ra.multiple&&!isUndefined$1(Ra.modelValue))return castArray(Ra.modelValue).length===0&&!od.inputValue;const am=isArray$2(Ra.modelValue)?Ra.modelValue[0]:Ra.modelValue;return Ra.filterable||isUndefined$1(am)?!od.inputValue:!0}),Yf=computed(()=>{var am;const Sf=(am=Ra.placeholder)!=null?am:ed("el.select.placeholder");return Ra.multiple||!Tf.value?Sf:od.selectedLabel}),uh=computed(()=>isIOS$1?null:"mouseenter");watch(()=>Ra.modelValue,(am,Sf)=>{Ra.multiple&&Ra.filterable&&!Ra.reserveKeyword&&(od.inputValue="",Uf("")),If(),!isEqual(am,Sf)&&Ra.validateEvent&&(df==null||df.validate("change").catch(oh=>void 0))},{flush:"post",deep:!0}),watch(()=>qd.value,am=>{am?Uf(od.inputValue):(od.inputValue="",od.previousQuery=null,od.isBeforeHide=!0),qa("visible-change",am)}),watch(()=>od.options.entries(),()=>{var am;if(!isClient$1)return;const Sf=((am=ld.value)==null?void 0:am.querySelectorAll("input"))||[];(!Ra.filterable&&!Ra.defaultFirstOption&&!isUndefined$1(Ra.modelValue)||!Array.from(Sf).includes(document.activeElement))&&If(),Ra.defaultFirstOption&&(Ra.filterable||Ra.remote)&&Qf.value&&Cf()},{flush:"post"}),watch(()=>od.hoveringIndex,am=>{isNumber$4(am)&&am>-1?Kd.value=Wf.value[am]||{}:Kd.value={},Wf.value.forEach(Sf=>{Sf.hover=Kd.value===Sf})}),watchEffect(()=>{od.isBeforeHide||Rf()});const Uf=am=>{od.previousQuery===am||Md.value||(od.previousQuery=am,Ra.filterable&&isFunction$4(Ra.filterMethod)?Ra.filterMethod(am):Ra.filterable&&Ra.remote&&isFunction$4(Ra.remoteMethod)&&Ra.remoteMethod(am),Ra.defaultFirstOption&&(Ra.filterable||Ra.remote)&&Qf.value?nextTick$1(Cf):nextTick$1(sh))},Cf=()=>{const am=Wf.value.filter(Zf=>Zf.visible&&!Zf.disabled&&!Zf.states.groupDisabled),Sf=am.find(Zf=>Zf.created),oh=am[0];od.hoveringIndex=yh(Wf.value,Sf||oh)},If=()=>{if(Ra.multiple)od.selectedLabel="";else{const Sf=isArray$2(Ra.modelValue)?Ra.modelValue[0]:Ra.modelValue,oh=Lf(Sf);od.selectedLabel=oh.currentLabel,od.selected=[oh];return}const am=[];isUndefined$1(Ra.modelValue)||castArray(Ra.modelValue).forEach(Sf=>{am.push(Lf(Sf))}),od.selected=am},Lf=am=>{let Sf;const oh=toRawType(am).toLowerCase()==="object",Zf=toRawType(am).toLowerCase()==="null",lh=toRawType(am).toLowerCase()==="undefined";for(let Oh=od.cachedOptions.size-1;Oh>=0;Oh--){const Ih=yf.value[Oh];if(oh?get$3(Ih.value,Ra.valueKey)===get$3(am,Ra.valueKey):Ih.value===am){Sf={value:am,currentLabel:Ih.currentLabel,get isDisabled(){return Ih.isDisabled}};break}}if(Sf)return Sf;const bh=oh?am.label:!Zf&&!lh?am:"";return{value:am,currentLabel:bh}},sh=()=>{od.hoveringIndex=Wf.value.findIndex(am=>od.selected.some(Sf=>B_(Sf)===B_(am)))},hh=()=>{od.selectionWidth=ud.value.getBoundingClientRect().width},rh=()=>{od.calculatorWidth=Ed.value.getBoundingClientRect().width},Ah=()=>{od.collapseItemWidth=Rd.value.getBoundingClientRect().width},ph=()=>{var am,Sf;(Sf=(am=cd.value)==null?void 0:am.updatePopper)==null||Sf.call(am)},vh=()=>{var am,Sf;(Sf=(am=dd.value)==null?void 0:am.updatePopper)==null||Sf.call(am)},qh=()=>{od.inputValue.length>0&&!qd.value&&(qd.value=!0),Uf(od.inputValue)},kh=am=>{if(od.inputValue=am.target.value,Ra.remote)Wh();else return qh()},Wh=debounce(()=>{qh()},Nf.value),om=am=>{isEqual(Ra.modelValue,am)||qa(CHANGE_EVENT,am)},th=am=>findLastIndex(am,Sf=>!od.disabledOptions.has(Sf)),Df=am=>{if(Ra.multiple&&am.code!==EVENT_CODE.delete&&am.target.value.length<=0){const Sf=castArray(Ra.modelValue).slice(),oh=th(Sf);if(oh<0)return;const Zf=Sf[oh];Sf.splice(oh,1),qa(UPDATE_MODEL_EVENT,Sf),om(Sf),qa("remove-tag",Zf)}},Af=(am,Sf)=>{const oh=od.selected.indexOf(Sf);if(oh>-1&&!_f.value){const Zf=castArray(Ra.modelValue).slice();Zf.splice(oh,1),qa(UPDATE_MODEL_EVENT,Zf),om(Zf),qa("remove-tag",Sf.value)}am.stopPropagation(),Dm()},Xf=am=>{am.stopPropagation();const Sf=Ra.multiple?[]:bf.value;if(Ra.multiple)for(const oh of od.selected)oh.isDisabled&&Sf.push(oh.value);qa(UPDATE_MODEL_EVENT,Sf),om(Sf),od.hoveringIndex=-1,qd.value=!1,qa("clear"),Dm()},ah=am=>{var Sf;if(Ra.multiple){const oh=castArray((Sf=Ra.modelValue)!=null?Sf:[]).slice(),Zf=yh(oh,am.value);Zf>-1?oh.splice(Zf,1):(Ra.multipleLimit<=0||oh.length{Dh(am)})},yh=(am=[],Sf)=>{if(!isObject$5(Sf))return am.indexOf(Sf);const oh=Ra.valueKey;let Zf=-1;return am.some((lh,bh)=>toRaw(get$3(lh,oh))===get$3(Sf,oh)?(Zf=bh,!0):!1),Zf},Dh=am=>{var Sf,oh,Zf,lh,bh;const gh=isArray$2(am)?am[0]:am;let Oh=null;if(gh!=null&&gh.value){const Ih=Wf.value.filter(fh=>fh.value===gh.value);Ih.length>0&&(Oh=Ih[0].$el)}if(cd.value&&Oh){const Ih=(lh=(Zf=(oh=(Sf=cd.value)==null?void 0:Sf.popperRef)==null?void 0:oh.contentRef)==null?void 0:Zf.querySelector)==null?void 0:lh.call(Zf,`.${rd.be("dropdown","wrap")}`);Ih&&scrollIntoView(Ih,Oh)}(bh=Od.value)==null||bh.handleScroll()},Yh=am=>{od.options.set(am.value,am),od.cachedOptions.set(am.value,am),am.disabled&&od.disabledOptions.set(am.value,am)},hm=(am,Sf)=>{od.options.get(am)===Sf&&od.options.delete(am)},im=computed(()=>{var am,Sf;return(Sf=(am=cd.value)==null?void 0:am.popperRef)==null?void 0:Sf.contentRef}),Fm=()=>{od.isBeforeHide=!1,nextTick$1(()=>Dh(od.selected))},Dm=()=>{var am;(am=_d.value)==null||am.focus()},Om=()=>{var am;(am=_d.value)==null||am.blur()},Qm=am=>{Xf(am)},L_=()=>{qd.value=!1,Qd.value&&Om()},T_=()=>{od.inputValue.length>0?od.inputValue="":qd.value=!1},S_=()=>{_f.value||(isIOS$1&&(od.inputHovering=!0),od.menuVisibleOnFocus?od.menuVisibleOnFocus=!1:qd.value=!qd.value)},Xm=()=>{qd.value?Wf.value[od.hoveringIndex]&&ah(Wf.value[od.hoveringIndex]):S_()},B_=am=>isObject$5(am.value)?get$3(am.value,Ra.valueKey):am.value,H_=computed(()=>Wf.value.filter(am=>am.visible).every(am=>am.disabled)),Y_=computed(()=>Ra.multiple?Ra.collapseTags?od.selected.slice(0,Ra.maxCollapseTags):od.selected:[]),X_=computed(()=>Ra.multiple?Ra.collapseTags?od.selected.slice(Ra.maxCollapseTags):[]:[]),F_=am=>{if(!qd.value){qd.value=!0;return}if(!(od.options.size===0||od.filteredOptionsCount===0||Md.value)&&!H_.value){am==="next"?(od.hoveringIndex++,od.hoveringIndex===od.options.size&&(od.hoveringIndex=0)):am==="prev"&&(od.hoveringIndex--,od.hoveringIndex<0&&(od.hoveringIndex=od.options.size-1));const Sf=Wf.value[od.hoveringIndex];(Sf.disabled===!0||Sf.states.groupDisabled===!0||!Sf.visible)&&F_(am),nextTick$1(()=>Dh(Kd.value))}},N_=()=>{if(!ud.value)return 0;const am=window.getComputedStyle(ud.value);return Number.parseFloat(am.gap||"6px")},Rm=computed(()=>{const am=N_();return{maxWidth:`${Rd.value&&Ra.maxCollapseTags===1?od.selectionWidth-od.collapseItemWidth-am:od.selectionWidth}px`}}),Dg=computed(()=>({maxWidth:`${od.selectionWidth}px`})),Fg=computed(()=>({width:`${Math.max(od.calculatorWidth,MINIMUM_INPUT_WIDTH)}px`}));return useResizeObserver(ud,hh),useResizeObserver(Ed,rh),useResizeObserver(Id,ph),useResizeObserver(Vd,ph),useResizeObserver(Bd,vh),useResizeObserver(Rd,Ah),onMounted(()=>{If()}),{inputId:mf,contentId:td,nsSelect:rd,nsInput:sd,states:od,isFocused:Qd,expanded:qd,optionsArray:Wf,hoverOption:Kd,selectSize:jf,filteredOptionsCount:Qf,resetCalculatorWidth:rh,updateTooltip:ph,updateTagTooltip:vh,debouncedOnInputChange:Wh,onInput:kh,deletePrevTag:Df,deleteTag:Af,deleteSelected:Xf,handleOptionSelect:ah,scrollToOption:Dh,hasModelValue:Tf,shouldShowPlaceholder:wf,currentPlaceholder:Yf,mouseEnterEventName:uh,showClose:kf,iconComponent:zf,iconReverse:Jf,validateState:Gf,validateIcon:Mf,showNewOption:hf,updateOptions:Rf,collapseTagSize:Kf,setSelected:If,selectDisabled:_f,emptyText:Bf,handleCompositionStart:Ld,handleCompositionUpdate:Fd,handleCompositionEnd:jd,onOptionCreate:Yh,onOptionDestroy:hm,handleMenuEnter:Fm,focus:Dm,blur:Om,handleClearClick:Qm,handleClickOutside:L_,handleEsc:T_,toggleMenu:S_,selectOption:Xm,getValueKey:B_,navigateOptions:F_,dropdownMenuVisible:Ff,showTagList:Y_,collapseTagList:X_,tagStyle:Rm,collapseTagStyle:Dg,inputStyle:Fg,popperRef:im,inputRef:_d,tooltipRef:cd,tagTooltipRef:dd,calculatorRef:Ed,prefixRef:Ad,suffixRef:Td,selectRef:ld,wrapperRef:Vd,selectionRef:ud,scrollbarRef:Od,menuRef:Id,tagMenuRef:Bd,collapseItemRef:Rd}};var ElOptions=defineComponent({name:"ElOptions",setup(Ra,{slots:qa}){const ed=inject(selectKey);let td=[];return()=>{var rd,sd;const od=(rd=qa.default)==null?void 0:rd.call(qa),ld=[];function ud(cd){isArray$2(cd)&&cd.forEach(dd=>{var _d,Ed,Ad,Td;const Id=(_d=(dd==null?void 0:dd.type)||{})==null?void 0:_d.name;Id==="ElOptionGroup"?ud(!isString$3(dd.children)&&!isArray$2(dd.children)&&isFunction$4((Ed=dd.children)==null?void 0:Ed.default)?(Ad=dd.children)==null?void 0:Ad.default():dd.children):Id==="ElOption"?ld.push((Td=dd.props)==null?void 0:Td.value):isArray$2(dd.children)&&ud(dd.children)})}return od.length&&ud((sd=od[0])==null?void 0:sd.children),isEqual(ld,td)||(td=ld,ed&&(ed.states.optionValues=ld)),od}}});const SelectProps=buildProps({name:String,id:String,modelValue:{type:[Array,String,Number,Boolean,Object],default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:useSizeProp,effect:{type:definePropType(String),default:"light"},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperOptions:{type:definePropType(Object),default:()=>({})},remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},teleported:useTooltipContentProps.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:iconPropType,default:circle_close_default},fitInputWidth:Boolean,suffixIcon:{type:iconPropType,default:arrow_down_default},tagType:{...tagProps.type,default:"info"},tagEffect:{...tagProps.effect,default:"light"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,placement:{type:definePropType(String),values:Ee$4,default:"bottom-start"},fallbackPlacements:{type:definePropType(Array),default:["bottom-start","top-start","right","left"]},...useEmptyValuesProps,...useAriaProps(["ariaLabel"])}),COMPONENT_NAME$5="ElSelect",_sfc_main$_=defineComponent({name:COMPONENT_NAME$5,componentName:COMPONENT_NAME$5,components:{ElSelectMenu,ElOption:Option,ElOptions,ElTag,ElScrollbar,ElTooltip,ElIcon},directives:{ClickOutside},props:SelectProps,emits:[UPDATE_MODEL_EVENT,CHANGE_EVENT,"remove-tag","clear","visible-change","focus","blur"],setup(Ra,{emit:qa}){const ed=computed(()=>{const{modelValue:sd,multiple:od}=Ra,ld=od?[]:void 0;return isArray$2(sd)?od?sd:ld:od?ld:sd}),td=reactive({...toRefs(Ra),modelValue:ed}),rd=useSelect(td,qa);return provide(selectKey,reactive({props:td,states:rd.states,optionsArray:rd.optionsArray,handleOptionSelect:rd.handleOptionSelect,onOptionCreate:rd.onOptionCreate,onOptionDestroy:rd.onOptionDestroy,selectRef:rd.selectRef,setSelected:rd.setSelected})),{...rd,modelValue:ed}}});function _sfc_render$2(Ra,qa,ed,td,rd,sd){const od=resolveComponent("el-tag"),ld=resolveComponent("el-tooltip"),ud=resolveComponent("el-icon"),cd=resolveComponent("el-option"),dd=resolveComponent("el-options"),_d=resolveComponent("el-scrollbar"),Ed=resolveComponent("el-select-menu"),Ad=resolveDirective("click-outside");return withDirectives((openBlock(),createElementBlock("div",{ref:"selectRef",class:normalizeClass([Ra.nsSelect.b(),Ra.nsSelect.m(Ra.selectSize)]),[toHandlerKey(Ra.mouseEnterEventName)]:Td=>Ra.states.inputHovering=!0,onMouseleave:Td=>Ra.states.inputHovering=!1},[createVNode(ld,{ref:"tooltipRef",visible:Ra.dropdownMenuVisible,placement:Ra.placement,teleported:Ra.teleported,"popper-class":[Ra.nsSelect.e("popper"),Ra.popperClass],"popper-options":Ra.popperOptions,"fallback-placements":Ra.fallbackPlacements,effect:Ra.effect,pure:"",trigger:"click",transition:`${Ra.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:Ra.persistent,onBeforeShow:Ra.handleMenuEnter,onHide:Td=>Ra.states.isBeforeHide=!1},{default:withCtx(()=>{var Td;return[createBaseVNode("div",{ref:"wrapperRef",class:normalizeClass([Ra.nsSelect.e("wrapper"),Ra.nsSelect.is("focused",Ra.isFocused),Ra.nsSelect.is("hovering",Ra.states.inputHovering),Ra.nsSelect.is("filterable",Ra.filterable),Ra.nsSelect.is("disabled",Ra.selectDisabled)]),onClick:withModifiers(Ra.toggleMenu,["prevent"])},[Ra.$slots.prefix?(openBlock(),createElementBlock("div",{key:0,ref:"prefixRef",class:normalizeClass(Ra.nsSelect.e("prefix"))},[renderSlot(Ra.$slots,"prefix")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{ref:"selectionRef",class:normalizeClass([Ra.nsSelect.e("selection"),Ra.nsSelect.is("near",Ra.multiple&&!Ra.$slots.prefix&&!!Ra.states.selected.length)])},[Ra.multiple?renderSlot(Ra.$slots,"tag",{key:0},()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ra.showTagList,Id=>(openBlock(),createElementBlock("div",{key:Ra.getValueKey(Id),class:normalizeClass(Ra.nsSelect.e("selected-item"))},[createVNode(od,{closable:!Ra.selectDisabled&&!Id.isDisabled,size:Ra.collapseTagSize,type:Ra.tagType,effect:Ra.tagEffect,"disable-transitions":"",style:normalizeStyle(Ra.tagStyle),onClose:Bd=>Ra.deleteTag(Bd,Id)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(Ra.nsSelect.e("tags-text"))},[renderSlot(Ra.$slots,"label",{label:Id.currentLabel,value:Id.value},()=>[createTextVNode(toDisplayString(Id.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","style","onClose"])],2))),128)),Ra.collapseTags&&Ra.states.selected.length>Ra.maxCollapseTags?(openBlock(),createBlock(ld,{key:0,ref:"tagTooltipRef",disabled:Ra.dropdownMenuVisible||!Ra.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:Ra.effect,placement:"bottom",teleported:Ra.teleported},{default:withCtx(()=>[createBaseVNode("div",{ref:"collapseItemRef",class:normalizeClass(Ra.nsSelect.e("selected-item"))},[createVNode(od,{closable:!1,size:Ra.collapseTagSize,type:Ra.tagType,effect:Ra.tagEffect,"disable-transitions":"",style:normalizeStyle(Ra.collapseTagStyle)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(Ra.nsSelect.e("tags-text"))}," + "+toDisplayString(Ra.states.selected.length-Ra.maxCollapseTags),3)]),_:1},8,["size","type","effect","style"])],2)]),content:withCtx(()=>[createBaseVNode("div",{ref:"tagMenuRef",class:normalizeClass(Ra.nsSelect.e("selection"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ra.collapseTagList,Id=>(openBlock(),createElementBlock("div",{key:Ra.getValueKey(Id),class:normalizeClass(Ra.nsSelect.e("selected-item"))},[createVNode(od,{class:"in-tooltip",closable:!Ra.selectDisabled&&!Id.isDisabled,size:Ra.collapseTagSize,type:Ra.tagType,effect:Ra.tagEffect,"disable-transitions":"",onClose:Bd=>Ra.deleteTag(Bd,Id)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(Ra.nsSelect.e("tags-text"))},[renderSlot(Ra.$slots,"label",{label:Id.currentLabel,value:Id.value},()=>[createTextVNode(toDisplayString(Id.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","onClose"])],2))),128))],2)]),_:3},8,["disabled","effect","teleported"])):createCommentVNode("v-if",!0)]):createCommentVNode("v-if",!0),Ra.selectDisabled?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([Ra.nsSelect.e("selected-item"),Ra.nsSelect.e("input-wrapper"),Ra.nsSelect.is("hidden",!Ra.filterable)])},[withDirectives(createBaseVNode("input",{id:Ra.inputId,ref:"inputRef","onUpdate:modelValue":Id=>Ra.states.inputValue=Id,type:"text",name:Ra.name,class:normalizeClass([Ra.nsSelect.e("input"),Ra.nsSelect.is(Ra.selectSize)]),disabled:Ra.selectDisabled,autocomplete:Ra.autocomplete,style:normalizeStyle(Ra.inputStyle),role:"combobox",readonly:!Ra.filterable,spellcheck:"false","aria-activedescendant":((Td=Ra.hoverOption)==null?void 0:Td.id)||"","aria-controls":Ra.contentId,"aria-expanded":Ra.dropdownMenuVisible,"aria-label":Ra.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onKeydown:[withKeys(withModifiers(Id=>Ra.navigateOptions("next"),["stop","prevent"]),["down"]),withKeys(withModifiers(Id=>Ra.navigateOptions("prev"),["stop","prevent"]),["up"]),withKeys(withModifiers(Ra.handleEsc,["stop","prevent"]),["esc"]),withKeys(withModifiers(Ra.selectOption,["stop","prevent"]),["enter"]),withKeys(withModifiers(Ra.deletePrevTag,["stop"]),["delete"])],onCompositionstart:Ra.handleCompositionStart,onCompositionupdate:Ra.handleCompositionUpdate,onCompositionend:Ra.handleCompositionEnd,onInput:Ra.onInput,onClick:withModifiers(Ra.toggleMenu,["stop"])},null,46,["id","onUpdate:modelValue","name","disabled","autocomplete","readonly","aria-activedescendant","aria-controls","aria-expanded","aria-label","onKeydown","onCompositionstart","onCompositionupdate","onCompositionend","onInput","onClick"]),[[vModelText,Ra.states.inputValue]]),Ra.filterable?(openBlock(),createElementBlock("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:normalizeClass(Ra.nsSelect.e("input-calculator")),textContent:toDisplayString(Ra.states.inputValue)},null,10,["textContent"])):createCommentVNode("v-if",!0)],2)),Ra.shouldShowPlaceholder?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass([Ra.nsSelect.e("selected-item"),Ra.nsSelect.e("placeholder"),Ra.nsSelect.is("transparent",!Ra.hasModelValue||Ra.expanded&&!Ra.states.inputValue)])},[Ra.hasModelValue?renderSlot(Ra.$slots,"label",{key:0,label:Ra.currentPlaceholder,value:Ra.modelValue},()=>[createBaseVNode("span",null,toDisplayString(Ra.currentPlaceholder),1)]):(openBlock(),createElementBlock("span",{key:1},toDisplayString(Ra.currentPlaceholder),1))],2)):createCommentVNode("v-if",!0)],2),createBaseVNode("div",{ref:"suffixRef",class:normalizeClass(Ra.nsSelect.e("suffix"))},[Ra.iconComponent&&!Ra.showClose?(openBlock(),createBlock(ud,{key:0,class:normalizeClass([Ra.nsSelect.e("caret"),Ra.nsSelect.e("icon"),Ra.iconReverse])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ra.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),Ra.showClose&&Ra.clearIcon?(openBlock(),createBlock(ud,{key:1,class:normalizeClass([Ra.nsSelect.e("caret"),Ra.nsSelect.e("icon"),Ra.nsSelect.e("clear")]),onClick:Ra.handleClearClick},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ra.clearIcon)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),Ra.validateState&&Ra.validateIcon?(openBlock(),createBlock(ud,{key:2,class:normalizeClass([Ra.nsInput.e("icon"),Ra.nsInput.e("validateIcon")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ra.validateIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],10,["onClick"])]}),content:withCtx(()=>[createVNode(Ed,{ref:"menuRef"},{default:withCtx(()=>[Ra.$slots.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(Ra.nsSelect.be("dropdown","header")),onClick:withModifiers(()=>{},["stop"])},[renderSlot(Ra.$slots,"header")],10,["onClick"])):createCommentVNode("v-if",!0),withDirectives(createVNode(_d,{id:Ra.contentId,ref:"scrollbarRef",tag:"ul","wrap-class":Ra.nsSelect.be("dropdown","wrap"),"view-class":Ra.nsSelect.be("dropdown","list"),class:normalizeClass([Ra.nsSelect.is("empty",Ra.filteredOptionsCount===0)]),role:"listbox","aria-label":Ra.ariaLabel,"aria-orientation":"vertical"},{default:withCtx(()=>[Ra.showNewOption?(openBlock(),createBlock(cd,{key:0,value:Ra.states.inputValue,created:!0},null,8,["value"])):createCommentVNode("v-if",!0),createVNode(dd,null,{default:withCtx(()=>[renderSlot(Ra.$slots,"default")]),_:3})]),_:3},8,["id","wrap-class","view-class","class","aria-label"]),[[vShow,Ra.states.options.size>0&&!Ra.loading]]),Ra.$slots.loading&&Ra.loading?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(Ra.nsSelect.be("dropdown","loading"))},[renderSlot(Ra.$slots,"loading")],2)):Ra.loading||Ra.filteredOptionsCount===0?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(Ra.nsSelect.be("dropdown","empty"))},[renderSlot(Ra.$slots,"empty",{},()=>[createBaseVNode("span",null,toDisplayString(Ra.emptyText),1)])],2)):createCommentVNode("v-if",!0),Ra.$slots.footer?(openBlock(),createElementBlock("div",{key:3,class:normalizeClass(Ra.nsSelect.be("dropdown","footer")),onClick:withModifiers(()=>{},["stop"])},[renderSlot(Ra.$slots,"footer")],10,["onClick"])):createCommentVNode("v-if",!0)]),_:3},512)]),_:3},8,["visible","placement","teleported","popper-class","popper-options","fallback-placements","effect","transition","persistent","onBeforeShow","onHide"])],16,["onMouseleave"])),[[Ad,Ra.handleClickOutside,Ra.popperRef]])}var Select=_export_sfc$1(_sfc_main$_,[["render",_sfc_render$2],["__file","select.vue"]]);const _sfc_main$Z=defineComponent({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(Ra){const qa=useNamespace("select"),ed=ref$1(null),td=getCurrentInstance(),rd=ref$1([]);provide(selectGroupKey,reactive({...toRefs(Ra)}));const sd=computed(()=>rd.value.some(cd=>cd.visible===!0)),od=cd=>{var dd,_d;return((dd=cd.type)==null?void 0:dd.name)==="ElOption"&&!!((_d=cd.component)!=null&&_d.proxy)},ld=cd=>{const dd=castArray(cd),_d=[];return dd.forEach(Ed=>{var Ad,Td;od(Ed)?_d.push(Ed.component.proxy):(Ad=Ed.children)!=null&&Ad.length?_d.push(...ld(Ed.children)):(Td=Ed.component)!=null&&Td.subTree&&_d.push(...ld(Ed.component.subTree))}),_d},ud=()=>{rd.value=ld(td.subTree)};return onMounted(()=>{ud()}),useMutationObserver(ed,ud,{attributes:!0,subtree:!0,childList:!0}),{groupRef:ed,visible:sd,ns:qa}}});function _sfc_render$1(Ra,qa,ed,td,rd,sd){return withDirectives((openBlock(),createElementBlock("ul",{ref:"groupRef",class:normalizeClass(Ra.ns.be("group","wrap"))},[createBaseVNode("li",{class:normalizeClass(Ra.ns.be("group","title"))},toDisplayString(Ra.label),3),createBaseVNode("li",null,[createBaseVNode("ul",{class:normalizeClass(Ra.ns.b("group"))},[renderSlot(Ra.$slots,"default")],2)])],2)),[[vShow,Ra.visible]])}var OptionGroup=_export_sfc$1(_sfc_main$Z,[["render",_sfc_render$1],["__file","option-group.vue"]]);const ElSelect=withInstall(Select,{Option,OptionGroup}),ElOption=withNoopInstall(Option);withNoopInstall(OptionGroup);const progressProps=buildProps({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:Ra=>Ra>=0&&Ra<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:Boolean,duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:definePropType(String),default:"round"},textInside:Boolean,width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:definePropType([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:definePropType(Function),default:Ra=>`${Ra}%`}}),__default__$9=defineComponent({name:"ElProgress"}),_sfc_main$Y=defineComponent({...__default__$9,props:progressProps,setup(Ra){const qa=Ra,ed={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},td=useNamespace("progress"),rd=computed(()=>{const Md={width:`${qa.percentage}%`,animationDuration:`${qa.duration}s`},Ld=Od(qa.percentage);return Ld.includes("gradient")?Md.background=Ld:Md.backgroundColor=Ld,Md}),sd=computed(()=>(qa.strokeWidth/qa.width*100).toFixed(1)),od=computed(()=>["circle","dashboard"].includes(qa.type)?Number.parseInt(`${50-Number.parseFloat(sd.value)/2}`,10):0),ld=computed(()=>{const Md=od.value,Ld=qa.type==="dashboard";return` +`,CONTEXT_STYLE=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function calculateNodeStyling(Ra){const qa=window.getComputedStyle(Ra),td=qa.getPropertyValue("box-sizing"),rd=Number.parseFloat(qa.getPropertyValue("padding-bottom"))+Number.parseFloat(qa.getPropertyValue("padding-top")),nd=Number.parseFloat(qa.getPropertyValue("border-bottom-width"))+Number.parseFloat(qa.getPropertyValue("border-top-width"));return{contextStyle:CONTEXT_STYLE.map(sd=>`${sd}:${qa.getPropertyValue(sd)}`).join(";"),paddingSize:rd,borderSize:nd,boxSizing:td}}function calcTextareaHeight(Ra,qa=1,td){var rd;hiddenTextarea||(hiddenTextarea=document.createElement("textarea"),document.body.appendChild(hiddenTextarea));const{paddingSize:nd,borderSize:ad,boxSizing:sd,contextStyle:ud}=calculateNodeStyling(Ra);hiddenTextarea.setAttribute("style",`${ud};${HIDDEN_STYLE}`),hiddenTextarea.value=Ra.value||Ra.placeholder||"";let cd=hiddenTextarea.scrollHeight;const dd={};sd==="border-box"?cd=cd+ad:sd==="content-box"&&(cd=cd-nd),hiddenTextarea.value="";const pd=hiddenTextarea.scrollHeight-nd;if(isNumber$4(qa)){let fd=pd*qa;sd==="border-box"&&(fd=fd+nd+ad),cd=Math.max(fd,cd),dd.minHeight=`${fd}px`}if(isNumber$4(td)){let fd=pd*td;sd==="border-box"&&(fd=fd+nd+ad),cd=Math.min(fd,cd)}return dd.height=`${cd}px`,(rd=hiddenTextarea.parentNode)==null||rd.removeChild(hiddenTextarea),hiddenTextarea=void 0,dd}const inputProps=buildProps({id:{type:String,default:void 0},size:useSizeProp,disabled:Boolean,modelValue:{type:definePropType([String,Number,Object]),default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:definePropType([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,showPassword:Boolean,showWordLimit:Boolean,suffixIcon:{type:iconPropType},prefixIcon:{type:iconPropType},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:definePropType([Object,Array,String]),default:()=>mutable({})},autofocus:Boolean,rows:{type:Number,default:2},...useAriaProps(["ariaLabel"])}),inputEmits={[UPDATE_MODEL_EVENT]:Ra=>isString$3(Ra),input:Ra=>isString$3(Ra),change:Ra=>isString$3(Ra),focus:Ra=>Ra instanceof FocusEvent,blur:Ra=>Ra instanceof FocusEvent,clear:()=>!0,mouseleave:Ra=>Ra instanceof MouseEvent,mouseenter:Ra=>Ra instanceof MouseEvent,keydown:Ra=>Ra instanceof Event,compositionstart:Ra=>Ra instanceof CompositionEvent,compositionupdate:Ra=>Ra instanceof CompositionEvent,compositionend:Ra=>Ra instanceof CompositionEvent},__default__$s=defineComponent({name:"ElInput",inheritAttrs:!1}),_sfc_main$1q=defineComponent({...__default__$s,props:inputProps,emits:inputEmits,setup(Ra,{expose:qa,emit:td}){const rd=Ra,nd=useAttrs$1(),ad=useSlots(),sd=computed(()=>{const Th={};return rd.containerRole==="combobox"&&(Th["aria-haspopup"]=nd["aria-haspopup"],Th["aria-owns"]=nd["aria-owns"],Th["aria-expanded"]=nd["aria-expanded"]),Th}),ud=computed(()=>[rd.type==="textarea"?Ld.b():Dd.b(),Dd.m(Ad.value),Dd.is("disabled",Sd.value),Dd.is("exceed",If.value),{[Dd.b("group")]:ad.prepend||ad.append,[Dd.m("prefix")]:ad.prefix||rd.prefixIcon,[Dd.m("suffix")]:ad.suffix||rd.suffixIcon||rd.clearable||rd.showPassword,[Dd.bm("suffix","password-clear")]:Yf.value&&eh.value,[Dd.b("hidden")]:rd.type==="hidden"},nd.class]),cd=computed(()=>[Dd.e("wrapper"),Dd.is("focus",Wd.value)]),dd=useAttrs({excludeKeys:computed(()=>Object.keys(sd.value))}),{form:pd,formItem:fd}=useFormItem(),{inputId:Td}=useFormItemInputId(rd,{formItemContext:fd}),Ad=useFormSize(),Sd=useFormDisabled(),Dd=useNamespace("input"),Ld=useNamespace("textarea"),Rd=shallowRef(),Od=shallowRef(),Md=ref$1(!1),jd=ref$1(!1),Ud=ref$1(),Hd=shallowRef(rd.inputStyle),zd=computed(()=>Rd.value||Od.value),{wrapperRef:Zd,isFocused:Wd,handleFocus:Qd,handleBlur:Jd}=useFocusController(zd,{beforeFocus(){return Sd.value},afterBlur(){var Th;rd.validateEvent&&((Th=fd==null?void 0:fd.validate)==null||Th.call(fd,"blur").catch(Vh=>void 0))}}),hf=computed(()=>{var Th;return(Th=pd==null?void 0:pd.statusIcon)!=null?Th:!1}),bf=computed(()=>(fd==null?void 0:fd.validateState)||""),Ef=computed(()=>bf.value&&ValidateComponentsMap[bf.value]),_f=computed(()=>jd.value?view_default:hide_default),vf=computed(()=>[nd.style]),xf=computed(()=>[rd.inputStyle,Hd.value,{resize:rd.resize}]),Bf=computed(()=>isNil(rd.modelValue)?"":String(rd.modelValue)),Yf=computed(()=>rd.clearable&&!Sd.value&&!rd.readonly&&!!Bf.value&&(Wd.value||Md.value)),eh=computed(()=>rd.showPassword&&!Sd.value&&!rd.readonly&&!!Bf.value&&(!!Bf.value||Wd.value)),Vf=computed(()=>rd.showWordLimit&&!!rd.maxlength&&(rd.type==="text"||rd.type==="textarea")&&!Sd.value&&!rd.readonly&&!rd.showPassword),Pf=computed(()=>Bf.value.length),If=computed(()=>!!Vf.value&&Pf.value>Number(rd.maxlength)),$f=computed(()=>!!ad.suffix||!!rd.suffixIcon||Yf.value||rd.showPassword||Vf.value||!!bf.value&&hf.value),[Zf,Kf]=useCursor(Rd);useResizeObserver(Od,Th=>{if(Mf(),!Vf.value||rd.resize!=="both")return;const Vh=Th[0],{width:Bh}=Vh.contentRect;Ud.value={right:`calc(100% - ${Bh+15+6}px)`}});const Tf=()=>{const{type:Th,autosize:Vh}=rd;if(!(!isClient$1||Th!=="textarea"||!Od.value))if(Vh){const Bh=isObject$5(Vh)?Vh.minRows:void 0,Yh=isObject$5(Vh)?Vh.maxRows:void 0,dm=calcTextareaHeight(Od.value,Bh,Yh);Hd.value={overflowY:"hidden",...dm},nextTick$1(()=>{Od.value.offsetHeight,Hd.value=dm})}else Hd.value={minHeight:calcTextareaHeight(Od.value).minHeight}},Mf=(Th=>{let Vh=!1;return()=>{var Bh;if(Vh||!rd.autosize)return;((Bh=Od.value)==null?void 0:Bh.offsetParent)===null||(Th(),Vh=!0)}})(Tf),Gf=()=>{const Th=zd.value,Vh=rd.formatter?rd.formatter(Bf.value):Bf.value;!Th||Th.value===Vh||(Th.value=Vh)},Qf=async Th=>{Zf();let{value:Vh}=Th.target;if(rd.formatter&&(Vh=rd.parser?rd.parser(Vh):Vh),!Df.value){if(Vh===Bf.value){Gf();return}td(UPDATE_MODEL_EVENT,Vh),td("input",Vh),await nextTick$1(),Gf(),Kf()}},Uf=Th=>{td("change",Th.target.value)},{isComposing:Df,handleCompositionStart:Xf,handleCompositionUpdate:dh,handleCompositionEnd:qf}=useComposition({emit:td,afterComposition:Qf}),wf=()=>{jd.value=!jd.value,Rf()},Rf=async()=>{var Th;await nextTick$1(),(Th=zd.value)==null||Th.focus()},jf=()=>{var Th;return(Th=zd.value)==null?void 0:Th.blur()},lh=Th=>{Md.value=!1,td("mouseleave",Th)},_h=Th=>{Md.value=!0,td("mouseenter",Th)},ih=Th=>{td("keydown",Th)},wh=()=>{var Th;(Th=zd.value)==null||Th.select()},hh=()=>{td(UPDATE_MODEL_EVENT,""),td("change",""),td("clear"),td("input","")};return watch(()=>rd.modelValue,()=>{var Th;nextTick$1(()=>Tf()),rd.validateEvent&&((Th=fd==null?void 0:fd.validate)==null||Th.call(fd,"change").catch(Vh=>void 0))}),watch(Bf,()=>Gf()),watch(()=>rd.type,async()=>{await nextTick$1(),Gf(),Tf()}),onMounted(()=>{!rd.formatter&&rd.parser,Gf(),nextTick$1(Tf)}),qa({input:Rd,textarea:Od,ref:zd,textareaStyle:xf,autosize:toRef$1(rd,"autosize"),isComposing:Df,focus:Rf,blur:jf,select:wh,clear:hh,resizeTextarea:Tf}),(Th,Vh)=>(openBlock(),createElementBlock("div",mergeProps(unref(sd),{class:[unref(ud),{[unref(Dd).bm("group","append")]:Th.$slots.append,[unref(Dd).bm("group","prepend")]:Th.$slots.prepend}],style:unref(vf),role:Th.containerRole,onMouseenter:_h,onMouseleave:lh}),[createCommentVNode(" input "),Th.type!=="textarea"?(openBlock(),createElementBlock(Fragment,{key:0},[createCommentVNode(" prepend slot "),Th.$slots.prepend?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Dd).be("group","prepend"))},[renderSlot(Th.$slots,"prepend")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{ref_key:"wrapperRef",ref:Zd,class:normalizeClass(unref(cd))},[createCommentVNode(" prefix slot "),Th.$slots.prefix||Th.prefixIcon?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(Dd).e("prefix"))},[createBaseVNode("span",{class:normalizeClass(unref(Dd).e("prefix-inner"))},[renderSlot(Th.$slots,"prefix"),Th.prefixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Dd).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Th.prefixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("input",mergeProps({id:unref(Td),ref_key:"input",ref:Rd,class:unref(Dd).e("inner")},unref(dd),{minlength:Th.minlength,maxlength:Th.maxlength,type:Th.showPassword?jd.value?"text":"password":Th.type,disabled:unref(Sd),readonly:Th.readonly,autocomplete:Th.autocomplete,tabindex:Th.tabindex,"aria-label":Th.ariaLabel,placeholder:Th.placeholder,style:Th.inputStyle,form:Th.form,autofocus:Th.autofocus,onCompositionstart:unref(Xf),onCompositionupdate:unref(dh),onCompositionend:unref(qf),onInput:Qf,onChange:Uf,onKeydown:ih}),null,16,["id","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus","onCompositionstart","onCompositionupdate","onCompositionend"]),createCommentVNode(" suffix slot "),unref($f)?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(Dd).e("suffix"))},[createBaseVNode("span",{class:normalizeClass(unref(Dd).e("suffix-inner"))},[!unref(Yf)||!unref(eh)||!unref(Vf)?(openBlock(),createElementBlock(Fragment,{key:0},[renderSlot(Th.$slots,"suffix"),Th.suffixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Dd).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Th.suffixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],64)):createCommentVNode("v-if",!0),unref(Yf)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(Dd).e("icon"),unref(Dd).e("clear")]),onMousedown:withModifiers(unref(NOOP),["prevent"]),onClick:hh},{default:withCtx(()=>[createVNode(unref(circle_close_default))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0),unref(eh)?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass([unref(Dd).e("icon"),unref(Dd).e("password")]),onClick:wf},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(_f))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),unref(Vf)?(openBlock(),createElementBlock("span",{key:3,class:normalizeClass(unref(Dd).e("count"))},[createBaseVNode("span",{class:normalizeClass(unref(Dd).e("count-inner"))},toDisplayString(unref(Pf))+" / "+toDisplayString(Th.maxlength),3)],2)):createCommentVNode("v-if",!0),unref(bf)&&unref(Ef)&&unref(hf)?(openBlock(),createBlock(unref(ElIcon),{key:4,class:normalizeClass([unref(Dd).e("icon"),unref(Dd).e("validateIcon"),unref(Dd).is("loading",unref(bf)==="validating")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Ef))))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)):createCommentVNode("v-if",!0)],2),createCommentVNode(" append slot "),Th.$slots.append?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Dd).be("group","append"))},[renderSlot(Th.$slots,"append")],2)):createCommentVNode("v-if",!0)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" textarea "),createBaseVNode("textarea",mergeProps({id:unref(Td),ref_key:"textarea",ref:Od,class:[unref(Ld).e("inner"),unref(Dd).is("focus",unref(Wd))]},unref(dd),{minlength:Th.minlength,maxlength:Th.maxlength,tabindex:Th.tabindex,disabled:unref(Sd),readonly:Th.readonly,autocomplete:Th.autocomplete,style:unref(xf),"aria-label":Th.ariaLabel,placeholder:Th.placeholder,form:Th.form,autofocus:Th.autofocus,rows:Th.rows,onCompositionstart:unref(Xf),onCompositionupdate:unref(dh),onCompositionend:unref(qf),onInput:Qf,onFocus:unref(Qd),onBlur:unref(Jd),onChange:Uf,onKeydown:ih}),null,16,["id","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus","rows","onCompositionstart","onCompositionupdate","onCompositionend","onFocus","onBlur"]),unref(Vf)?(openBlock(),createElementBlock("span",{key:0,style:normalizeStyle(Ud.value),class:normalizeClass(unref(Dd).e("count"))},toDisplayString(unref(Pf))+" / "+toDisplayString(Th.maxlength),7)):createCommentVNode("v-if",!0)],64))],16,["role"]))}});var Input=_export_sfc$1(_sfc_main$1q,[["__file","input.vue"]]);const ElInput=withInstall(Input),GAP=4,BAR_MAP={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},renderThumbStyle=({move:Ra,size:qa,bar:td})=>({[td.size]:qa,transform:`translate${td.axis}(${Ra}%)`}),scrollbarContextKey=Symbol("scrollbarContextKey"),thumbProps=buildProps({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),COMPONENT_NAME$8="Thumb",_sfc_main$1p=defineComponent({__name:"thumb",props:thumbProps,setup(Ra){const qa=Ra,td=inject(scrollbarContextKey),rd=useNamespace("scrollbar");td||throwError$1(COMPONENT_NAME$8,"can not inject scrollbar context");const nd=ref$1(),ad=ref$1(),sd=ref$1({}),ud=ref$1(!1);let cd=!1,dd=!1,pd=isClient$1?document.onselectstart:null;const fd=computed(()=>BAR_MAP[qa.vertical?"vertical":"horizontal"]),Td=computed(()=>renderThumbStyle({size:qa.size,move:qa.move,bar:fd.value})),Ad=computed(()=>nd.value[fd.value.offset]**2/td.wrapElement[fd.value.scrollSize]/qa.ratio/ad.value[fd.value.offset]),Sd=Hd=>{var zd;if(Hd.stopPropagation(),Hd.ctrlKey||[1,2].includes(Hd.button))return;(zd=window.getSelection())==null||zd.removeAllRanges(),Ld(Hd);const Zd=Hd.currentTarget;Zd&&(sd.value[fd.value.axis]=Zd[fd.value.offset]-(Hd[fd.value.client]-Zd.getBoundingClientRect()[fd.value.direction]))},Dd=Hd=>{if(!ad.value||!nd.value||!td.wrapElement)return;const zd=Math.abs(Hd.target.getBoundingClientRect()[fd.value.direction]-Hd[fd.value.client]),Zd=ad.value[fd.value.offset]/2,Wd=(zd-Zd)*100*Ad.value/nd.value[fd.value.offset];td.wrapElement[fd.value.scroll]=Wd*td.wrapElement[fd.value.scrollSize]/100},Ld=Hd=>{Hd.stopImmediatePropagation(),cd=!0,document.addEventListener("mousemove",Rd),document.addEventListener("mouseup",Od),pd=document.onselectstart,document.onselectstart=()=>!1},Rd=Hd=>{if(!nd.value||!ad.value||cd===!1)return;const zd=sd.value[fd.value.axis];if(!zd)return;const Zd=(nd.value.getBoundingClientRect()[fd.value.direction]-Hd[fd.value.client])*-1,Wd=ad.value[fd.value.offset]-zd,Qd=(Zd-Wd)*100*Ad.value/nd.value[fd.value.offset];td.wrapElement[fd.value.scroll]=Qd*td.wrapElement[fd.value.scrollSize]/100},Od=()=>{cd=!1,sd.value[fd.value.axis]=0,document.removeEventListener("mousemove",Rd),document.removeEventListener("mouseup",Od),Ud(),dd&&(ud.value=!1)},Md=()=>{dd=!1,ud.value=!!qa.size},jd=()=>{dd=!0,ud.value=cd};onBeforeUnmount(()=>{Ud(),document.removeEventListener("mouseup",Od)});const Ud=()=>{document.onselectstart!==pd&&(document.onselectstart=pd)};return useEventListener$1(toRef$1(td,"scrollbarElement"),"mousemove",Md),useEventListener$1(toRef$1(td,"scrollbarElement"),"mouseleave",jd),(Hd,zd)=>(openBlock(),createBlock(Transition$1,{name:unref(rd).b("fade"),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{ref_key:"instance",ref:nd,class:normalizeClass([unref(rd).e("bar"),unref(rd).is(unref(fd).key)]),onMousedown:Dd},[createBaseVNode("div",{ref_key:"thumb",ref:ad,class:normalizeClass(unref(rd).e("thumb")),style:normalizeStyle(unref(Td)),onMousedown:Sd},null,38)],34),[[vShow,Hd.always||ud.value]])]),_:1},8,["name"]))}});var Thumb=_export_sfc$1(_sfc_main$1p,[["__file","thumb.vue"]]);const barProps=buildProps({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),_sfc_main$1o=defineComponent({__name:"bar",props:barProps,setup(Ra,{expose:qa}){const td=Ra,rd=inject(scrollbarContextKey),nd=ref$1(0),ad=ref$1(0),sd=ref$1(""),ud=ref$1(""),cd=ref$1(1),dd=ref$1(1);return qa({handleScroll:Td=>{if(Td){const Ad=Td.offsetHeight-GAP,Sd=Td.offsetWidth-GAP;ad.value=Td.scrollTop*100/Ad*cd.value,nd.value=Td.scrollLeft*100/Sd*dd.value}},update:()=>{const Td=rd==null?void 0:rd.wrapElement;if(!Td)return;const Ad=Td.offsetHeight-GAP,Sd=Td.offsetWidth-GAP,Dd=Ad**2/Td.scrollHeight,Ld=Sd**2/Td.scrollWidth,Rd=Math.max(Dd,td.minSize),Od=Math.max(Ld,td.minSize);cd.value=Dd/(Ad-Dd)/(Rd/(Ad-Rd)),dd.value=Ld/(Sd-Ld)/(Od/(Sd-Od)),ud.value=Rd+GAP(openBlock(),createElementBlock(Fragment,null,[createVNode(Thumb,{move:nd.value,ratio:dd.value,size:sd.value,always:Td.always},null,8,["move","ratio","size","always"]),createVNode(Thumb,{move:ad.value,ratio:cd.value,size:ud.value,vertical:"",always:Td.always},null,8,["move","ratio","size","always"])],64))}});var Bar=_export_sfc$1(_sfc_main$1o,[["__file","bar.vue"]]);const scrollbarProps=buildProps({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:definePropType([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},tabindex:{type:[String,Number],default:void 0},id:String,role:String,...useAriaProps(["ariaLabel","ariaOrientation"])}),scrollbarEmits={scroll:({scrollTop:Ra,scrollLeft:qa})=>[Ra,qa].every(isNumber$4)},COMPONENT_NAME$7="ElScrollbar",__default__$r=defineComponent({name:COMPONENT_NAME$7}),_sfc_main$1n=defineComponent({...__default__$r,props:scrollbarProps,emits:scrollbarEmits,setup(Ra,{expose:qa,emit:td}){const rd=Ra,nd=useNamespace("scrollbar");let ad,sd,ud=0,cd=0;const dd=ref$1(),pd=ref$1(),fd=ref$1(),Td=ref$1(),Ad=computed(()=>{const Ud={};return rd.height&&(Ud.height=addUnit(rd.height)),rd.maxHeight&&(Ud.maxHeight=addUnit(rd.maxHeight)),[rd.wrapStyle,Ud]}),Sd=computed(()=>[rd.wrapClass,nd.e("wrap"),{[nd.em("wrap","hidden-default")]:!rd.native}]),Dd=computed(()=>[nd.e("view"),rd.viewClass]),Ld=()=>{var Ud;pd.value&&((Ud=Td.value)==null||Ud.handleScroll(pd.value),ud=pd.value.scrollTop,cd=pd.value.scrollLeft,td("scroll",{scrollTop:pd.value.scrollTop,scrollLeft:pd.value.scrollLeft}))};function Rd(Ud,Hd){isObject$5(Ud)?pd.value.scrollTo(Ud):isNumber$4(Ud)&&isNumber$4(Hd)&&pd.value.scrollTo(Ud,Hd)}const Od=Ud=>{isNumber$4(Ud)&&(pd.value.scrollTop=Ud)},Md=Ud=>{isNumber$4(Ud)&&(pd.value.scrollLeft=Ud)},jd=()=>{var Ud;(Ud=Td.value)==null||Ud.update()};return watch(()=>rd.noresize,Ud=>{Ud?(ad==null||ad(),sd==null||sd()):({stop:ad}=useResizeObserver(fd,jd),sd=useEventListener$1("resize",jd))},{immediate:!0}),watch(()=>[rd.maxHeight,rd.height],()=>{rd.native||nextTick$1(()=>{var Ud;jd(),pd.value&&((Ud=Td.value)==null||Ud.handleScroll(pd.value))})}),provide(scrollbarContextKey,reactive({scrollbarElement:dd,wrapElement:pd})),onActivated(()=>{pd.value.scrollTop=ud,pd.value.scrollLeft=cd}),onMounted(()=>{rd.native||nextTick$1(()=>{jd()})}),onUpdated(()=>jd()),qa({wrapRef:pd,update:jd,scrollTo:Rd,setScrollTop:Od,setScrollLeft:Md,handleScroll:Ld}),(Ud,Hd)=>(openBlock(),createElementBlock("div",{ref_key:"scrollbarRef",ref:dd,class:normalizeClass(unref(nd).b())},[createBaseVNode("div",{ref_key:"wrapRef",ref:pd,class:normalizeClass(unref(Sd)),style:normalizeStyle(unref(Ad)),tabindex:Ud.tabindex,onScroll:Ld},[(openBlock(),createBlock(resolveDynamicComponent(Ud.tag),{id:Ud.id,ref_key:"resizeRef",ref:fd,class:normalizeClass(unref(Dd)),style:normalizeStyle(Ud.viewStyle),role:Ud.role,"aria-label":Ud.ariaLabel,"aria-orientation":Ud.ariaOrientation},{default:withCtx(()=>[renderSlot(Ud.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],46,["tabindex"]),Ud.native?createCommentVNode("v-if",!0):(openBlock(),createBlock(Bar,{key:0,ref_key:"barRef",ref:Td,always:Ud.always,"min-size":Ud.minSize},null,8,["always","min-size"]))],2))}});var Scrollbar=_export_sfc$1(_sfc_main$1n,[["__file","scrollbar.vue"]]);const ElScrollbar=withInstall(Scrollbar),POPPER_INJECTION_KEY=Symbol("popper"),POPPER_CONTENT_INJECTION_KEY=Symbol("popperContent"),roleTypes=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],popperProps=buildProps({role:{type:String,values:roleTypes,default:"tooltip"}}),__default__$q=defineComponent({name:"ElPopper",inheritAttrs:!1}),_sfc_main$1m=defineComponent({...__default__$q,props:popperProps,setup(Ra,{expose:qa}){const td=Ra,rd=ref$1(),nd=ref$1(),ad=ref$1(),sd=ref$1(),ud=computed(()=>td.role),cd={triggerRef:rd,popperInstanceRef:nd,contentRef:ad,referenceRef:sd,role:ud};return qa(cd),provide(POPPER_INJECTION_KEY,cd),(dd,pd)=>renderSlot(dd.$slots,"default")}});var Popper=_export_sfc$1(_sfc_main$1m,[["__file","popper.vue"]]);const popperArrowProps=buildProps({arrowOffset:{type:Number,default:5}}),__default__$p=defineComponent({name:"ElPopperArrow",inheritAttrs:!1}),_sfc_main$1l=defineComponent({...__default__$p,props:popperArrowProps,setup(Ra,{expose:qa}){const td=Ra,rd=useNamespace("popper"),{arrowOffset:nd,arrowRef:ad,arrowStyle:sd}=inject(POPPER_CONTENT_INJECTION_KEY,void 0);return watch(()=>td.arrowOffset,ud=>{nd.value=ud}),onBeforeUnmount(()=>{ad.value=void 0}),qa({arrowRef:ad}),(ud,cd)=>(openBlock(),createElementBlock("span",{ref_key:"arrowRef",ref:ad,class:normalizeClass(unref(rd).e("arrow")),style:normalizeStyle(unref(sd)),"data-popper-arrow":""},null,6))}});var ElPopperArrow=_export_sfc$1(_sfc_main$1l,[["__file","arrow.vue"]]);const NAME="ElOnlyChild",OnlyChild=defineComponent({name:NAME,setup(Ra,{slots:qa,attrs:td}){var rd;const nd=inject(FORWARD_REF_INJECTION_KEY),ad=useForwardRefDirective((rd=nd==null?void 0:nd.setForwardRef)!=null?rd:NOOP);return()=>{var sd;const ud=(sd=qa.default)==null?void 0:sd.call(qa,td);if(!ud||ud.length>1)return null;const cd=findFirstLegitChild(ud);return cd?withDirectives(cloneVNode(cd,td),[[ad]]):null}}});function findFirstLegitChild(Ra){if(!Ra)return null;const qa=Ra;for(const td of qa){if(isObject$5(td))switch(td.type){case Comment$2:continue;case Text$2:case"svg":return wrapTextContent(td);case Fragment:return findFirstLegitChild(td.children);default:return td}return wrapTextContent(td)}return null}function wrapTextContent(Ra){const qa=useNamespace("only-child");return createVNode("span",{class:qa.e("content")},[Ra])}const popperTriggerProps=buildProps({virtualRef:{type:definePropType(Object)},virtualTriggering:Boolean,onMouseenter:{type:definePropType(Function)},onMouseleave:{type:definePropType(Function)},onClick:{type:definePropType(Function)},onKeydown:{type:definePropType(Function)},onFocus:{type:definePropType(Function)},onBlur:{type:definePropType(Function)},onContextmenu:{type:definePropType(Function)},id:String,open:Boolean}),__default__$o=defineComponent({name:"ElPopperTrigger",inheritAttrs:!1}),_sfc_main$1k=defineComponent({...__default__$o,props:popperTriggerProps,setup(Ra,{expose:qa}){const td=Ra,{role:rd,triggerRef:nd}=inject(POPPER_INJECTION_KEY,void 0);useForwardRef(nd);const ad=computed(()=>ud.value?td.id:void 0),sd=computed(()=>{if(rd&&rd.value==="tooltip")return td.open&&td.id?td.id:void 0}),ud=computed(()=>{if(rd&&rd.value!=="tooltip")return rd.value}),cd=computed(()=>ud.value?`${td.open}`:void 0);let dd;const pd=["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"];return onMounted(()=>{watch(()=>td.virtualRef,fd=>{fd&&(nd.value=unrefElement$1(fd))},{immediate:!0}),watch(nd,(fd,Td)=>{dd==null||dd(),dd=void 0,isElement$2(fd)&&(pd.forEach(Ad=>{var Sd;const Dd=td[Ad];Dd&&(fd.addEventListener(Ad.slice(2).toLowerCase(),Dd),(Sd=Td==null?void 0:Td.removeEventListener)==null||Sd.call(Td,Ad.slice(2).toLowerCase(),Dd))}),dd=watch([ad,sd,ud,cd],Ad=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((Sd,Dd)=>{isNil(Ad[Dd])?fd.removeAttribute(Sd):fd.setAttribute(Sd,Ad[Dd])})},{immediate:!0})),isElement$2(Td)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(Ad=>Td.removeAttribute(Ad))},{immediate:!0})}),onBeforeUnmount(()=>{if(dd==null||dd(),dd=void 0,nd.value&&isElement$2(nd.value)){const fd=nd.value;pd.forEach(Td=>{const Ad=td[Td];Ad&&fd.removeEventListener(Td.slice(2).toLowerCase(),Ad)}),nd.value=void 0}}),qa({triggerRef:nd}),(fd,Td)=>fd.virtualTriggering?createCommentVNode("v-if",!0):(openBlock(),createBlock(unref(OnlyChild),mergeProps({key:0},fd.$attrs,{"aria-controls":unref(ad),"aria-describedby":unref(sd),"aria-expanded":unref(cd),"aria-haspopup":unref(ud)}),{default:withCtx(()=>[renderSlot(fd.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var ElPopperTrigger=_export_sfc$1(_sfc_main$1k,[["__file","trigger.vue"]]);const FOCUS_AFTER_TRAPPED="focus-trap.focus-after-trapped",FOCUS_AFTER_RELEASED="focus-trap.focus-after-released",FOCUSOUT_PREVENTED="focus-trap.focusout-prevented",FOCUS_AFTER_TRAPPED_OPTS={cancelable:!0,bubbles:!1},FOCUSOUT_PREVENTED_OPTS={cancelable:!0,bubbles:!1},ON_TRAP_FOCUS_EVT="focusAfterTrapped",ON_RELEASE_FOCUS_EVT="focusAfterReleased",FOCUS_TRAP_INJECTION_KEY=Symbol("elFocusTrap"),focusReason=ref$1(),lastUserFocusTimestamp=ref$1(0),lastAutomatedFocusTimestamp=ref$1(0);let focusReasonUserCount=0;const obtainAllFocusableElements=Ra=>{const qa=[],td=document.createTreeWalker(Ra,NodeFilter.SHOW_ELEMENT,{acceptNode:rd=>{const nd=rd.tagName==="INPUT"&&rd.type==="hidden";return rd.disabled||rd.hidden||nd?NodeFilter.FILTER_SKIP:rd.tabIndex>=0||rd===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;td.nextNode();)qa.push(td.currentNode);return qa},getVisibleElement=(Ra,qa)=>{for(const td of Ra)if(!isHidden(td,qa))return td},isHidden=(Ra,qa)=>{if(getComputedStyle(Ra).visibility==="hidden")return!0;for(;Ra;){if(qa&&Ra===qa)return!1;if(getComputedStyle(Ra).display==="none")return!0;Ra=Ra.parentElement}return!1},getEdges=Ra=>{const qa=obtainAllFocusableElements(Ra),td=getVisibleElement(qa,Ra),rd=getVisibleElement(qa.reverse(),Ra);return[td,rd]},isSelectable=Ra=>Ra instanceof HTMLInputElement&&"select"in Ra,tryFocus=(Ra,qa)=>{if(Ra&&Ra.focus){const td=document.activeElement;Ra.focus({preventScroll:!0}),lastAutomatedFocusTimestamp.value=window.performance.now(),Ra!==td&&isSelectable(Ra)&&qa&&Ra.select()}};function removeFromStack(Ra,qa){const td=[...Ra],rd=Ra.indexOf(qa);return rd!==-1&&td.splice(rd,1),td}const createFocusableStack=()=>{let Ra=[];return{push:rd=>{const nd=Ra[0];nd&&rd!==nd&&nd.pause(),Ra=removeFromStack(Ra,rd),Ra.unshift(rd)},remove:rd=>{var nd,ad;Ra=removeFromStack(Ra,rd),(ad=(nd=Ra[0])==null?void 0:nd.resume)==null||ad.call(nd)}}},focusFirstDescendant=(Ra,qa=!1)=>{const td=document.activeElement;for(const rd of Ra)if(tryFocus(rd,qa),document.activeElement!==td)return},focusableStack=createFocusableStack(),isFocusCausedByUserEvent=()=>lastUserFocusTimestamp.value>lastAutomatedFocusTimestamp.value,notifyFocusReasonPointer=()=>{focusReason.value="pointer",lastUserFocusTimestamp.value=window.performance.now()},notifyFocusReasonKeydown=()=>{focusReason.value="keyboard",lastUserFocusTimestamp.value=window.performance.now()},useFocusReason=()=>(onMounted(()=>{focusReasonUserCount===0&&(document.addEventListener("mousedown",notifyFocusReasonPointer),document.addEventListener("touchstart",notifyFocusReasonPointer),document.addEventListener("keydown",notifyFocusReasonKeydown)),focusReasonUserCount++}),onBeforeUnmount(()=>{focusReasonUserCount--,focusReasonUserCount<=0&&(document.removeEventListener("mousedown",notifyFocusReasonPointer),document.removeEventListener("touchstart",notifyFocusReasonPointer),document.removeEventListener("keydown",notifyFocusReasonKeydown))}),{focusReason,lastUserFocusTimestamp,lastAutomatedFocusTimestamp}),createFocusOutPreventedEvent=Ra=>new CustomEvent(FOCUSOUT_PREVENTED,{...FOCUSOUT_PREVENTED_OPTS,detail:Ra}),_sfc_main$1j=defineComponent({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[ON_TRAP_FOCUS_EVT,ON_RELEASE_FOCUS_EVT,"focusin","focusout","focusout-prevented","release-requested"],setup(Ra,{emit:qa}){const td=ref$1();let rd,nd;const{focusReason:ad}=useFocusReason();useEscapeKeydown(Sd=>{Ra.trapped&&!sd.paused&&qa("release-requested",Sd)});const sd={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},ud=Sd=>{if(!Ra.loop&&!Ra.trapped||sd.paused)return;const{key:Dd,altKey:Ld,ctrlKey:Rd,metaKey:Od,currentTarget:Md,shiftKey:jd}=Sd,{loop:Ud}=Ra,Hd=Dd===EVENT_CODE.tab&&!Ld&&!Rd&&!Od,zd=document.activeElement;if(Hd&&zd){const Zd=Md,[Wd,Qd]=getEdges(Zd);if(Wd&&Qd){if(!jd&&zd===Qd){const hf=createFocusOutPreventedEvent({focusReason:ad.value});qa("focusout-prevented",hf),hf.defaultPrevented||(Sd.preventDefault(),Ud&&tryFocus(Wd,!0))}else if(jd&&[Wd,Zd].includes(zd)){const hf=createFocusOutPreventedEvent({focusReason:ad.value});qa("focusout-prevented",hf),hf.defaultPrevented||(Sd.preventDefault(),Ud&&tryFocus(Qd,!0))}}else if(zd===Zd){const hf=createFocusOutPreventedEvent({focusReason:ad.value});qa("focusout-prevented",hf),hf.defaultPrevented||Sd.preventDefault()}}};provide(FOCUS_TRAP_INJECTION_KEY,{focusTrapRef:td,onKeydown:ud}),watch(()=>Ra.focusTrapEl,Sd=>{Sd&&(td.value=Sd)},{immediate:!0}),watch([td],([Sd],[Dd])=>{Sd&&(Sd.addEventListener("keydown",ud),Sd.addEventListener("focusin",pd),Sd.addEventListener("focusout",fd)),Dd&&(Dd.removeEventListener("keydown",ud),Dd.removeEventListener("focusin",pd),Dd.removeEventListener("focusout",fd))});const cd=Sd=>{qa(ON_TRAP_FOCUS_EVT,Sd)},dd=Sd=>qa(ON_RELEASE_FOCUS_EVT,Sd),pd=Sd=>{const Dd=unref(td);if(!Dd)return;const Ld=Sd.target,Rd=Sd.relatedTarget,Od=Ld&&Dd.contains(Ld);Ra.trapped||Rd&&Dd.contains(Rd)||(rd=Rd),Od&&qa("focusin",Sd),!sd.paused&&Ra.trapped&&(Od?nd=Ld:tryFocus(nd,!0))},fd=Sd=>{const Dd=unref(td);if(!(sd.paused||!Dd))if(Ra.trapped){const Ld=Sd.relatedTarget;!isNil(Ld)&&!Dd.contains(Ld)&&setTimeout(()=>{if(!sd.paused&&Ra.trapped){const Rd=createFocusOutPreventedEvent({focusReason:ad.value});qa("focusout-prevented",Rd),Rd.defaultPrevented||tryFocus(nd,!0)}},0)}else{const Ld=Sd.target;Ld&&Dd.contains(Ld)||qa("focusout",Sd)}};async function Td(){await nextTick$1();const Sd=unref(td);if(Sd){focusableStack.push(sd);const Dd=Sd.contains(document.activeElement)?rd:document.activeElement;if(rd=Dd,!Sd.contains(Dd)){const Rd=new Event(FOCUS_AFTER_TRAPPED,FOCUS_AFTER_TRAPPED_OPTS);Sd.addEventListener(FOCUS_AFTER_TRAPPED,cd),Sd.dispatchEvent(Rd),Rd.defaultPrevented||nextTick$1(()=>{let Od=Ra.focusStartEl;isString$3(Od)||(tryFocus(Od),document.activeElement!==Od&&(Od="first")),Od==="first"&&focusFirstDescendant(obtainAllFocusableElements(Sd),!0),(document.activeElement===Dd||Od==="container")&&tryFocus(Sd)})}}}function Ad(){const Sd=unref(td);if(Sd){Sd.removeEventListener(FOCUS_AFTER_TRAPPED,cd);const Dd=new CustomEvent(FOCUS_AFTER_RELEASED,{...FOCUS_AFTER_TRAPPED_OPTS,detail:{focusReason:ad.value}});Sd.addEventListener(FOCUS_AFTER_RELEASED,dd),Sd.dispatchEvent(Dd),!Dd.defaultPrevented&&(ad.value=="keyboard"||!isFocusCausedByUserEvent()||Sd.contains(document.activeElement))&&tryFocus(rd??document.body),Sd.removeEventListener(FOCUS_AFTER_RELEASED,dd),focusableStack.remove(sd)}}return onMounted(()=>{Ra.trapped&&Td(),watch(()=>Ra.trapped,Sd=>{Sd?Td():Ad()})}),onBeforeUnmount(()=>{Ra.trapped&&Ad(),td.value&&(td.value.removeEventListener("keydown",ud),td.value.removeEventListener("focusin",pd),td.value.removeEventListener("focusout",fd),td.value=void 0)}),{onKeydown:ud}}});function _sfc_render$8(Ra,qa,td,rd,nd,ad){return renderSlot(Ra.$slots,"default",{handleKeydown:Ra.onKeydown})}var ElFocusTrap=_export_sfc$1(_sfc_main$1j,[["render",_sfc_render$8],["__file","focus-trap.vue"]]);const POSITIONING_STRATEGIES=["fixed","absolute"],popperCoreConfigProps=buildProps({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:definePropType(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:Ee$4,default:"bottom"},popperOptions:{type:definePropType(Object),default:()=>({})},strategy:{type:String,values:POSITIONING_STRATEGIES,default:"absolute"}}),popperContentProps=buildProps({...popperCoreConfigProps,id:String,style:{type:definePropType([String,Array,Object])},className:{type:definePropType([String,Array,Object])},effect:{type:definePropType(String),default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:{type:Boolean,default:!1},trapping:{type:Boolean,default:!1},popperClass:{type:definePropType([String,Array,Object])},popperStyle:{type:definePropType([String,Array,Object])},referenceEl:{type:definePropType(Object)},triggerTargetEl:{type:definePropType(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number,...useAriaProps(["ariaLabel"])}),popperContentEmits={mouseenter:Ra=>Ra instanceof MouseEvent,mouseleave:Ra=>Ra instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},buildPopperOptions=(Ra,qa=[])=>{const{placement:td,strategy:rd,popperOptions:nd}=Ra,ad={placement:td,strategy:rd,...nd,modifiers:[...genModifiers(Ra),...qa]};return deriveExtraModifiers(ad,nd==null?void 0:nd.modifiers),ad},unwrapMeasurableEl=Ra=>{if(isClient$1)return unrefElement$1(Ra)};function genModifiers(Ra){const{offset:qa,gpuAcceleration:td,fallbackPlacements:rd}=Ra;return[{name:"offset",options:{offset:[0,qa??12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:rd}},{name:"computeStyles",options:{gpuAcceleration:td}}]}function deriveExtraModifiers(Ra,qa){qa&&(Ra.modifiers=[...Ra.modifiers,...qa??[]])}const DEFAULT_ARROW_OFFSET=0,usePopperContent=Ra=>{const{popperInstanceRef:qa,contentRef:td,triggerRef:rd,role:nd}=inject(POPPER_INJECTION_KEY,void 0),ad=ref$1(),sd=ref$1(),ud=computed(()=>({name:"eventListeners",enabled:!!Ra.visible})),cd=computed(()=>{var Rd;const Od=unref(ad),Md=(Rd=unref(sd))!=null?Rd:DEFAULT_ARROW_OFFSET;return{name:"arrow",enabled:!isUndefined$2(Od),options:{element:Od,padding:Md}}}),dd=computed(()=>({onFirstUpdate:()=>{Sd()},...buildPopperOptions(Ra,[unref(cd),unref(ud)])})),pd=computed(()=>unwrapMeasurableEl(Ra.referenceEl)||unref(rd)),{attributes:fd,state:Td,styles:Ad,update:Sd,forceUpdate:Dd,instanceRef:Ld}=usePopper(pd,td,dd);return watch(Ld,Rd=>qa.value=Rd),onMounted(()=>{watch(()=>{var Rd;return(Rd=unref(pd))==null?void 0:Rd.getBoundingClientRect()},()=>{Sd()})}),{attributes:fd,arrowRef:ad,contentRef:td,instanceRef:Ld,state:Td,styles:Ad,role:nd,forceUpdate:Dd,update:Sd}},usePopperContentDOM=(Ra,{attributes:qa,styles:td,role:rd})=>{const{nextZIndex:nd}=useZIndex(),ad=useNamespace("popper"),sd=computed(()=>unref(qa).popper),ud=ref$1(isNumber$4(Ra.zIndex)?Ra.zIndex:nd()),cd=computed(()=>[ad.b(),ad.is("pure",Ra.pure),ad.is(Ra.effect),Ra.popperClass]),dd=computed(()=>[{zIndex:unref(ud)},unref(td).popper,Ra.popperStyle||{}]),pd=computed(()=>rd.value==="dialog"?"false":void 0),fd=computed(()=>unref(td).arrow||{});return{ariaModal:pd,arrowStyle:fd,contentAttrs:sd,contentClass:cd,contentStyle:dd,contentZIndex:ud,updateZIndex:()=>{ud.value=isNumber$4(Ra.zIndex)?Ra.zIndex:nd()}}},usePopperContentFocusTrap=(Ra,qa)=>{const td=ref$1(!1),rd=ref$1();return{focusStartRef:rd,trapped:td,onFocusAfterReleased:dd=>{var pd;((pd=dd.detail)==null?void 0:pd.focusReason)!=="pointer"&&(rd.value="first",qa("blur"))},onFocusAfterTrapped:()=>{qa("focus")},onFocusInTrap:dd=>{Ra.visible&&!td.value&&(dd.target&&(rd.value=dd.target),td.value=!0)},onFocusoutPrevented:dd=>{Ra.trapping||(dd.detail.focusReason==="pointer"&&dd.preventDefault(),td.value=!1)},onReleaseRequested:()=>{td.value=!1,qa("close")}}},__default__$n=defineComponent({name:"ElPopperContent"}),_sfc_main$1i=defineComponent({...__default__$n,props:popperContentProps,emits:popperContentEmits,setup(Ra,{expose:qa,emit:td}){const rd=Ra,{focusStartRef:nd,trapped:ad,onFocusAfterReleased:sd,onFocusAfterTrapped:ud,onFocusInTrap:cd,onFocusoutPrevented:dd,onReleaseRequested:pd}=usePopperContentFocusTrap(rd,td),{attributes:fd,arrowRef:Td,contentRef:Ad,styles:Sd,instanceRef:Dd,role:Ld,update:Rd}=usePopperContent(rd),{ariaModal:Od,arrowStyle:Md,contentAttrs:jd,contentClass:Ud,contentStyle:Hd,updateZIndex:zd}=usePopperContentDOM(rd,{styles:Sd,attributes:fd,role:Ld}),Zd=inject(formItemContextKey,void 0),Wd=ref$1();provide(POPPER_CONTENT_INJECTION_KEY,{arrowStyle:Md,arrowRef:Td,arrowOffset:Wd}),Zd&&provide(formItemContextKey,{...Zd,addInputId:NOOP,removeInputId:NOOP});let Qd;const Jd=(bf=!0)=>{Rd(),bf&&zd()},hf=()=>{Jd(!1),rd.visible&&rd.focusOnShow?ad.value=!0:rd.visible===!1&&(ad.value=!1)};return onMounted(()=>{watch(()=>rd.triggerTargetEl,(bf,Ef)=>{Qd==null||Qd(),Qd=void 0;const _f=unref(bf||Ad.value),vf=unref(Ef||Ad.value);isElement$2(_f)&&(Qd=watch([Ld,()=>rd.ariaLabel,Od,()=>rd.id],xf=>{["role","aria-label","aria-modal","id"].forEach((Bf,Yf)=>{isNil(xf[Yf])?_f.removeAttribute(Bf):_f.setAttribute(Bf,xf[Yf])})},{immediate:!0})),vf!==_f&&isElement$2(vf)&&["role","aria-label","aria-modal","id"].forEach(xf=>{vf.removeAttribute(xf)})},{immediate:!0}),watch(()=>rd.visible,hf,{immediate:!0})}),onBeforeUnmount(()=>{Qd==null||Qd(),Qd=void 0}),qa({popperContentRef:Ad,popperInstanceRef:Dd,updatePopper:Jd,contentStyle:Hd}),(bf,Ef)=>(openBlock(),createElementBlock("div",mergeProps({ref_key:"contentRef",ref:Ad},unref(jd),{style:unref(Hd),class:unref(Ud),tabindex:"-1",onMouseenter:_f=>bf.$emit("mouseenter",_f),onMouseleave:_f=>bf.$emit("mouseleave",_f)}),[createVNode(unref(ElFocusTrap),{trapped:unref(ad),"trap-on-focus-in":!0,"focus-trap-el":unref(Ad),"focus-start-el":unref(nd),onFocusAfterTrapped:unref(ud),onFocusAfterReleased:unref(sd),onFocusin:unref(cd),onFocusoutPrevented:unref(dd),onReleaseRequested:unref(pd)},{default:withCtx(()=>[renderSlot(bf.$slots,"default")]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16,["onMouseenter","onMouseleave"]))}});var ElPopperContent=_export_sfc$1(_sfc_main$1i,[["__file","content.vue"]]);const ElPopper=withInstall(Popper),TOOLTIP_INJECTION_KEY=Symbol("elTooltip"),useTooltipContentProps=buildProps({...useDelayedToggleProps,...popperContentProps,appendTo:{type:definePropType([String,Object])},content:{type:String,default:""},rawContent:Boolean,persistent:Boolean,visible:{type:definePropType(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean,...useAriaProps(["ariaLabel"])}),useTooltipTriggerProps=buildProps({...popperTriggerProps,disabled:Boolean,trigger:{type:definePropType([String,Array]),default:"hover"},triggerKeys:{type:definePropType(Array),default:()=>[EVENT_CODE.enter,EVENT_CODE.space]}}),{useModelToggleProps:useTooltipModelToggleProps,useModelToggleEmits:useTooltipModelToggleEmits,useModelToggle:useTooltipModelToggle}=createModelToggleComposable("visible"),useTooltipProps=buildProps({...popperProps,...useTooltipModelToggleProps,...useTooltipContentProps,...useTooltipTriggerProps,...popperArrowProps,showArrow:{type:Boolean,default:!0}}),tooltipEmits=[...useTooltipModelToggleEmits,"before-show","before-hide","show","hide","open","close"],isTriggerType=(Ra,qa)=>isArray$2(Ra)?Ra.includes(qa):Ra===qa,whenTrigger=(Ra,qa,td)=>rd=>{isTriggerType(unref(Ra),qa)&&td(rd)},__default__$m=defineComponent({name:"ElTooltipTrigger"}),_sfc_main$1h=defineComponent({...__default__$m,props:useTooltipTriggerProps,setup(Ra,{expose:qa}){const td=Ra,rd=useNamespace("tooltip"),{controlled:nd,id:ad,open:sd,onOpen:ud,onClose:cd,onToggle:dd}=inject(TOOLTIP_INJECTION_KEY,void 0),pd=ref$1(null),fd=()=>{if(unref(nd)||td.disabled)return!0},Td=toRef$1(td,"trigger"),Ad=composeEventHandlers(fd,whenTrigger(Td,"hover",ud)),Sd=composeEventHandlers(fd,whenTrigger(Td,"hover",cd)),Dd=composeEventHandlers(fd,whenTrigger(Td,"click",jd=>{jd.button===0&&dd(jd)})),Ld=composeEventHandlers(fd,whenTrigger(Td,"focus",ud)),Rd=composeEventHandlers(fd,whenTrigger(Td,"focus",cd)),Od=composeEventHandlers(fd,whenTrigger(Td,"contextmenu",jd=>{jd.preventDefault(),dd(jd)})),Md=composeEventHandlers(fd,jd=>{const{code:Ud}=jd;td.triggerKeys.includes(Ud)&&(jd.preventDefault(),dd(jd))});return qa({triggerRef:pd}),(jd,Ud)=>(openBlock(),createBlock(unref(ElPopperTrigger),{id:unref(ad),"virtual-ref":jd.virtualRef,open:unref(sd),"virtual-triggering":jd.virtualTriggering,class:normalizeClass(unref(rd).e("trigger")),onBlur:unref(Rd),onClick:unref(Dd),onContextmenu:unref(Od),onFocus:unref(Ld),onMouseenter:unref(Ad),onMouseleave:unref(Sd),onKeydown:unref(Md)},{default:withCtx(()=>[renderSlot(jd.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});var ElTooltipTrigger=_export_sfc$1(_sfc_main$1h,[["__file","trigger.vue"]]);const teleportProps=buildProps({to:{type:definePropType([String,Object]),required:!0},disabled:Boolean}),_sfc_main$1g=defineComponent({__name:"teleport",props:teleportProps,setup(Ra){return(qa,td)=>qa.disabled?renderSlot(qa.$slots,"default",{key:0}):(openBlock(),createBlock(Teleport$1,{key:1,to:qa.to},[renderSlot(qa.$slots,"default")],8,["to"]))}});var Teleport=_export_sfc$1(_sfc_main$1g,[["__file","teleport.vue"]]);const ElTeleport=withInstall(Teleport),__default__$l=defineComponent({name:"ElTooltipContent",inheritAttrs:!1}),_sfc_main$1f=defineComponent({...__default__$l,props:useTooltipContentProps,setup(Ra,{expose:qa}){const td=Ra,{selector:rd}=usePopperContainerId(),nd=useNamespace("tooltip"),ad=ref$1(null);let sd;const{controlled:ud,id:cd,open:dd,trigger:pd,onClose:fd,onOpen:Td,onShow:Ad,onHide:Sd,onBeforeShow:Dd,onBeforeHide:Ld}=inject(TOOLTIP_INJECTION_KEY,void 0),Rd=computed(()=>td.transition||`${nd.namespace.value}-fade-in-linear`),Od=computed(()=>td.persistent);onBeforeUnmount(()=>{sd==null||sd()});const Md=computed(()=>unref(Od)?!0:unref(dd)),jd=computed(()=>td.disabled?!1:unref(dd)),Ud=computed(()=>td.appendTo||rd.value),Hd=computed(()=>{var vf;return(vf=td.style)!=null?vf:{}}),zd=ref$1(!0),Zd=()=>{Sd(),zd.value=!0},Wd=()=>{if(unref(ud))return!0},Qd=composeEventHandlers(Wd,()=>{td.enterable&&unref(pd)==="hover"&&Td()}),Jd=composeEventHandlers(Wd,()=>{unref(pd)==="hover"&&fd()}),hf=()=>{var vf,xf;(xf=(vf=ad.value)==null?void 0:vf.updatePopper)==null||xf.call(vf),Dd==null||Dd()},bf=()=>{Ld==null||Ld()},Ef=()=>{Ad(),sd=onClickOutside(computed(()=>{var vf;return(vf=ad.value)==null?void 0:vf.popperContentRef}),()=>{if(unref(ud))return;unref(pd)!=="hover"&&fd()})},_f=()=>{td.virtualTriggering||fd()};return watch(()=>unref(dd),vf=>{vf?zd.value=!1:sd==null||sd()},{flush:"post"}),watch(()=>td.content,()=>{var vf,xf;(xf=(vf=ad.value)==null?void 0:vf.updatePopper)==null||xf.call(vf)}),qa({contentRef:ad}),(vf,xf)=>(openBlock(),createBlock(unref(ElTeleport),{disabled:!vf.teleported,to:unref(Ud)},{default:withCtx(()=>[createVNode(Transition$1,{name:unref(Rd),onAfterLeave:Zd,onBeforeEnter:hf,onAfterEnter:Ef,onBeforeLeave:bf},{default:withCtx(()=>[unref(Md)?withDirectives((openBlock(),createBlock(unref(ElPopperContent),mergeProps({key:0,id:unref(cd),ref_key:"contentRef",ref:ad},vf.$attrs,{"aria-label":vf.ariaLabel,"aria-hidden":zd.value,"boundaries-padding":vf.boundariesPadding,"fallback-placements":vf.fallbackPlacements,"gpu-acceleration":vf.gpuAcceleration,offset:vf.offset,placement:vf.placement,"popper-options":vf.popperOptions,strategy:vf.strategy,effect:vf.effect,enterable:vf.enterable,pure:vf.pure,"popper-class":vf.popperClass,"popper-style":[vf.popperStyle,unref(Hd)],"reference-el":vf.referenceEl,"trigger-target-el":vf.triggerTargetEl,visible:unref(jd),"z-index":vf.zIndex,onMouseenter:unref(Qd),onMouseleave:unref(Jd),onBlur:_f,onClose:unref(fd)}),{default:withCtx(()=>[renderSlot(vf.$slots,"default")]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","onMouseenter","onMouseleave","onClose"])),[[vShow,unref(jd)]]):createCommentVNode("v-if",!0)]),_:3},8,["name"])]),_:3},8,["disabled","to"]))}});var ElTooltipContent=_export_sfc$1(_sfc_main$1f,[["__file","content.vue"]]);const __default__$k=defineComponent({name:"ElTooltip"}),_sfc_main$1e=defineComponent({...__default__$k,props:useTooltipProps,emits:tooltipEmits,setup(Ra,{expose:qa,emit:td}){const rd=Ra;usePopperContainer();const nd=useId(),ad=ref$1(),sd=ref$1(),ud=()=>{var Rd;const Od=unref(ad);Od&&((Rd=Od.popperInstanceRef)==null||Rd.update())},cd=ref$1(!1),dd=ref$1(),{show:pd,hide:fd,hasUpdateHandler:Td}=useTooltipModelToggle({indicator:cd,toggleReason:dd}),{onOpen:Ad,onClose:Sd}=useDelayedToggle({showAfter:toRef$1(rd,"showAfter"),hideAfter:toRef$1(rd,"hideAfter"),autoClose:toRef$1(rd,"autoClose"),open:pd,close:fd}),Dd=computed(()=>isBoolean$3(rd.visible)&&!Td.value);provide(TOOLTIP_INJECTION_KEY,{controlled:Dd,id:nd,open:readonly(cd),trigger:toRef$1(rd,"trigger"),onOpen:Rd=>{Ad(Rd)},onClose:Rd=>{Sd(Rd)},onToggle:Rd=>{unref(cd)?Sd(Rd):Ad(Rd)},onShow:()=>{td("show",dd.value)},onHide:()=>{td("hide",dd.value)},onBeforeShow:()=>{td("before-show",dd.value)},onBeforeHide:()=>{td("before-hide",dd.value)},updatePopper:ud}),watch(()=>rd.disabled,Rd=>{Rd&&cd.value&&(cd.value=!1)});const Ld=Rd=>{var Od,Md;const jd=(Md=(Od=sd.value)==null?void 0:Od.contentRef)==null?void 0:Md.popperContentRef,Ud=(Rd==null?void 0:Rd.relatedTarget)||document.activeElement;return jd&&jd.contains(Ud)};return onDeactivated(()=>cd.value&&fd()),qa({popperRef:ad,contentRef:sd,isFocusInsideContent:Ld,updatePopper:ud,onOpen:Ad,onClose:Sd,hide:fd}),(Rd,Od)=>(openBlock(),createBlock(unref(ElPopper),{ref_key:"popperRef",ref:ad,role:Rd.role},{default:withCtx(()=>[createVNode(ElTooltipTrigger,{disabled:Rd.disabled,trigger:Rd.trigger,"trigger-keys":Rd.triggerKeys,"virtual-ref":Rd.virtualRef,"virtual-triggering":Rd.virtualTriggering},{default:withCtx(()=>[Rd.$slots.default?renderSlot(Rd.$slots,"default",{key:0}):createCommentVNode("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),createVNode(ElTooltipContent,{ref_key:"contentRef",ref:sd,"aria-label":Rd.ariaLabel,"boundaries-padding":Rd.boundariesPadding,content:Rd.content,disabled:Rd.disabled,effect:Rd.effect,enterable:Rd.enterable,"fallback-placements":Rd.fallbackPlacements,"hide-after":Rd.hideAfter,"gpu-acceleration":Rd.gpuAcceleration,offset:Rd.offset,persistent:Rd.persistent,"popper-class":Rd.popperClass,"popper-style":Rd.popperStyle,placement:Rd.placement,"popper-options":Rd.popperOptions,pure:Rd.pure,"raw-content":Rd.rawContent,"reference-el":Rd.referenceEl,"trigger-target-el":Rd.triggerTargetEl,"show-after":Rd.showAfter,strategy:Rd.strategy,teleported:Rd.teleported,transition:Rd.transition,"virtual-triggering":Rd.virtualTriggering,"z-index":Rd.zIndex,"append-to":Rd.appendTo},{default:withCtx(()=>[renderSlot(Rd.$slots,"content",{},()=>[Rd.rawContent?(openBlock(),createElementBlock("span",{key:0,innerHTML:Rd.content},null,8,["innerHTML"])):(openBlock(),createElementBlock("span",{key:1},toDisplayString(Rd.content),1))]),Rd.showArrow?(openBlock(),createBlock(unref(ElPopperArrow),{key:0,"arrow-offset":Rd.arrowOffset},null,8,["arrow-offset"])):createCommentVNode("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to"])]),_:3},8,["role"]))}});var Tooltip=_export_sfc$1(_sfc_main$1e,[["__file","tooltip.vue"]]);const ElTooltip=withInstall(Tooltip),badgeProps=buildProps({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"},showZero:{type:Boolean,default:!0},color:String,badgeStyle:{type:definePropType([String,Object,Array])},offset:{type:definePropType(Array),default:[0,0]},badgeClass:{type:String}}),__default__$j=defineComponent({name:"ElBadge"}),_sfc_main$1d=defineComponent({...__default__$j,props:badgeProps,setup(Ra,{expose:qa}){const td=Ra,rd=useNamespace("badge"),nd=computed(()=>td.isDot?"":isNumber$4(td.value)&&isNumber$4(td.max)?td.max{var sd,ud,cd,dd,pd;return[{backgroundColor:td.color,marginRight:addUnit(-((ud=(sd=td.offset)==null?void 0:sd[0])!=null?ud:0)),marginTop:addUnit((dd=(cd=td.offset)==null?void 0:cd[1])!=null?dd:0)},(pd=td.badgeStyle)!=null?pd:{}]});return qa({content:nd}),(sd,ud)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(rd).b())},[renderSlot(sd.$slots,"default"),createVNode(Transition$1,{name:`${unref(rd).namespace.value}-zoom-in-center`,persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("sup",{class:normalizeClass([unref(rd).e("content"),unref(rd).em("content",sd.type),unref(rd).is("fixed",!!sd.$slots.default),unref(rd).is("dot",sd.isDot),sd.badgeClass]),style:normalizeStyle(unref(ad)),textContent:toDisplayString(unref(nd))},null,14,["textContent"]),[[vShow,!sd.hidden&&(unref(nd)||sd.isDot)]])]),_:1},8,["name"])],2))}});var Badge=_export_sfc$1(_sfc_main$1d,[["__file","badge.vue"]]);const ElBadge=withInstall(Badge),buttonGroupContextKey=Symbol("buttonGroupContextKey"),useButton=(Ra,qa)=>{useDeprecated({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},computed(()=>Ra.type==="text"));const td=inject(buttonGroupContextKey,void 0),rd=useGlobalConfig("button"),{form:nd}=useFormItem(),ad=useFormSize(computed(()=>td==null?void 0:td.size)),sd=useFormDisabled(),ud=ref$1(),cd=useSlots(),dd=computed(()=>Ra.type||(td==null?void 0:td.type)||""),pd=computed(()=>{var Sd,Dd,Ld;return(Ld=(Dd=Ra.autoInsertSpace)!=null?Dd:(Sd=rd.value)==null?void 0:Sd.autoInsertSpace)!=null?Ld:!1}),fd=computed(()=>Ra.tag==="button"?{ariaDisabled:sd.value||Ra.loading,disabled:sd.value||Ra.loading,autofocus:Ra.autofocus,type:Ra.nativeType}:{}),Td=computed(()=>{var Sd;const Dd=(Sd=cd.default)==null?void 0:Sd.call(cd);if(pd.value&&(Dd==null?void 0:Dd.length)===1){const Ld=Dd[0];if((Ld==null?void 0:Ld.type)===Text$2){const Rd=Ld.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(Rd.trim())}}return!1});return{_disabled:sd,_size:ad,_type:dd,_ref:ud,_props:fd,shouldAddSpace:Td,handleClick:Sd=>{if(sd.value||Ra.loading){Sd.stopPropagation();return}Ra.nativeType==="reset"&&(nd==null||nd.resetFields()),qa("click",Sd)}}},buttonTypes=["default","primary","success","warning","info","danger","text",""],buttonNativeTypes=["button","submit","reset"],buttonProps=buildProps({size:useSizeProp,disabled:Boolean,type:{type:String,values:buttonTypes,default:""},icon:{type:iconPropType},nativeType:{type:String,values:buttonNativeTypes,default:"button"},loading:Boolean,loadingIcon:{type:iconPropType,default:()=>loading_default},plain:Boolean,text:Boolean,link:Boolean,bg:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:definePropType([String,Object]),default:"button"}}),buttonEmits={click:Ra=>Ra instanceof MouseEvent};function bound01$1(Ra,qa){isOnePointZero$1(Ra)&&(Ra="100%");var td=isPercentage$1(Ra);return Ra=qa===360?Ra:Math.min(qa,Math.max(0,parseFloat(Ra))),td&&(Ra=parseInt(String(Ra*qa),10)/100),Math.abs(Ra-qa)<1e-6?1:(qa===360?Ra=(Ra<0?Ra%qa+qa:Ra%qa)/parseFloat(String(qa)):Ra=Ra%qa/parseFloat(String(qa)),Ra)}function clamp01(Ra){return Math.min(1,Math.max(0,Ra))}function isOnePointZero$1(Ra){return typeof Ra=="string"&&Ra.indexOf(".")!==-1&&parseFloat(Ra)===1}function isPercentage$1(Ra){return typeof Ra=="string"&&Ra.indexOf("%")!==-1}function boundAlpha(Ra){return Ra=parseFloat(Ra),(isNaN(Ra)||Ra<0||Ra>1)&&(Ra=1),Ra}function convertToPercentage(Ra){return Ra<=1?"".concat(Number(Ra)*100,"%"):Ra}function pad2(Ra){return Ra.length===1?"0"+Ra:String(Ra)}function rgbToRgb(Ra,qa,td){return{r:bound01$1(Ra,255)*255,g:bound01$1(qa,255)*255,b:bound01$1(td,255)*255}}function rgbToHsl(Ra,qa,td){Ra=bound01$1(Ra,255),qa=bound01$1(qa,255),td=bound01$1(td,255);var rd=Math.max(Ra,qa,td),nd=Math.min(Ra,qa,td),ad=0,sd=0,ud=(rd+nd)/2;if(rd===nd)sd=0,ad=0;else{var cd=rd-nd;switch(sd=ud>.5?cd/(2-rd-nd):cd/(rd+nd),rd){case Ra:ad=(qa-td)/cd+(qa1&&(td-=1),td<1/6?Ra+(qa-Ra)*(6*td):td<1/2?qa:td<2/3?Ra+(qa-Ra)*(2/3-td)*6:Ra}function hslToRgb(Ra,qa,td){var rd,nd,ad;if(Ra=bound01$1(Ra,360),qa=bound01$1(qa,100),td=bound01$1(td,100),qa===0)nd=td,ad=td,rd=td;else{var sd=td<.5?td*(1+qa):td+qa-td*qa,ud=2*td-sd;rd=hue2rgb(ud,sd,Ra+1/3),nd=hue2rgb(ud,sd,Ra),ad=hue2rgb(ud,sd,Ra-1/3)}return{r:rd*255,g:nd*255,b:ad*255}}function rgbToHsv(Ra,qa,td){Ra=bound01$1(Ra,255),qa=bound01$1(qa,255),td=bound01$1(td,255);var rd=Math.max(Ra,qa,td),nd=Math.min(Ra,qa,td),ad=0,sd=rd,ud=rd-nd,cd=rd===0?0:ud/rd;if(rd===nd)ad=0;else{switch(rd){case Ra:ad=(qa-td)/ud+(qa>16,g:(Ra&65280)>>8,b:Ra&255}}var names={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function inputToRGB(Ra){var qa={r:0,g:0,b:0},td=1,rd=null,nd=null,ad=null,sd=!1,ud=!1;return typeof Ra=="string"&&(Ra=stringInputToObject(Ra)),typeof Ra=="object"&&(isValidCSSUnit(Ra.r)&&isValidCSSUnit(Ra.g)&&isValidCSSUnit(Ra.b)?(qa=rgbToRgb(Ra.r,Ra.g,Ra.b),sd=!0,ud=String(Ra.r).substr(-1)==="%"?"prgb":"rgb"):isValidCSSUnit(Ra.h)&&isValidCSSUnit(Ra.s)&&isValidCSSUnit(Ra.v)?(rd=convertToPercentage(Ra.s),nd=convertToPercentage(Ra.v),qa=hsvToRgb(Ra.h,rd,nd),sd=!0,ud="hsv"):isValidCSSUnit(Ra.h)&&isValidCSSUnit(Ra.s)&&isValidCSSUnit(Ra.l)&&(rd=convertToPercentage(Ra.s),ad=convertToPercentage(Ra.l),qa=hslToRgb(Ra.h,rd,ad),sd=!0,ud="hsl"),Object.prototype.hasOwnProperty.call(Ra,"a")&&(td=Ra.a)),td=boundAlpha(td),{ok:sd,format:Ra.format||ud,r:Math.min(255,Math.max(qa.r,0)),g:Math.min(255,Math.max(qa.g,0)),b:Math.min(255,Math.max(qa.b,0)),a:td}}var CSS_INTEGER="[-\\+]?\\d+%?",CSS_NUMBER="[-\\+]?\\d*\\.\\d+%?",CSS_UNIT="(?:".concat(CSS_NUMBER,")|(?:").concat(CSS_INTEGER,")"),PERMISSIVE_MATCH3="[\\s|\\(]+(".concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")\\s*\\)?"),PERMISSIVE_MATCH4="[\\s|\\(]+(".concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")\\s*\\)?"),matchers={CSS_UNIT:new RegExp(CSS_UNIT),rgb:new RegExp("rgb"+PERMISSIVE_MATCH3),rgba:new RegExp("rgba"+PERMISSIVE_MATCH4),hsl:new RegExp("hsl"+PERMISSIVE_MATCH3),hsla:new RegExp("hsla"+PERMISSIVE_MATCH4),hsv:new RegExp("hsv"+PERMISSIVE_MATCH3),hsva:new RegExp("hsva"+PERMISSIVE_MATCH4),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function stringInputToObject(Ra){if(Ra=Ra.trim().toLowerCase(),Ra.length===0)return!1;var qa=!1;if(names[Ra])Ra=names[Ra],qa=!0;else if(Ra==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var td=matchers.rgb.exec(Ra);return td?{r:td[1],g:td[2],b:td[3]}:(td=matchers.rgba.exec(Ra),td?{r:td[1],g:td[2],b:td[3],a:td[4]}:(td=matchers.hsl.exec(Ra),td?{h:td[1],s:td[2],l:td[3]}:(td=matchers.hsla.exec(Ra),td?{h:td[1],s:td[2],l:td[3],a:td[4]}:(td=matchers.hsv.exec(Ra),td?{h:td[1],s:td[2],v:td[3]}:(td=matchers.hsva.exec(Ra),td?{h:td[1],s:td[2],v:td[3],a:td[4]}:(td=matchers.hex8.exec(Ra),td?{r:parseIntFromHex(td[1]),g:parseIntFromHex(td[2]),b:parseIntFromHex(td[3]),a:convertHexToDecimal(td[4]),format:qa?"name":"hex8"}:(td=matchers.hex6.exec(Ra),td?{r:parseIntFromHex(td[1]),g:parseIntFromHex(td[2]),b:parseIntFromHex(td[3]),format:qa?"name":"hex"}:(td=matchers.hex4.exec(Ra),td?{r:parseIntFromHex(td[1]+td[1]),g:parseIntFromHex(td[2]+td[2]),b:parseIntFromHex(td[3]+td[3]),a:convertHexToDecimal(td[4]+td[4]),format:qa?"name":"hex8"}:(td=matchers.hex3.exec(Ra),td?{r:parseIntFromHex(td[1]+td[1]),g:parseIntFromHex(td[2]+td[2]),b:parseIntFromHex(td[3]+td[3]),format:qa?"name":"hex"}:!1)))))))))}function isValidCSSUnit(Ra){return!!matchers.CSS_UNIT.exec(String(Ra))}var TinyColor=function(){function Ra(qa,td){qa===void 0&&(qa=""),td===void 0&&(td={});var rd;if(qa instanceof Ra)return qa;typeof qa=="number"&&(qa=numberInputToObject(qa)),this.originalInput=qa;var nd=inputToRGB(qa);this.originalInput=qa,this.r=nd.r,this.g=nd.g,this.b=nd.b,this.a=nd.a,this.roundA=Math.round(100*this.a)/100,this.format=(rd=td.format)!==null&&rd!==void 0?rd:nd.format,this.gradientType=td.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=nd.ok}return Ra.prototype.isDark=function(){return this.getBrightness()<128},Ra.prototype.isLight=function(){return!this.isDark()},Ra.prototype.getBrightness=function(){var qa=this.toRgb();return(qa.r*299+qa.g*587+qa.b*114)/1e3},Ra.prototype.getLuminance=function(){var qa=this.toRgb(),td,rd,nd,ad=qa.r/255,sd=qa.g/255,ud=qa.b/255;return ad<=.03928?td=ad/12.92:td=Math.pow((ad+.055)/1.055,2.4),sd<=.03928?rd=sd/12.92:rd=Math.pow((sd+.055)/1.055,2.4),ud<=.03928?nd=ud/12.92:nd=Math.pow((ud+.055)/1.055,2.4),.2126*td+.7152*rd+.0722*nd},Ra.prototype.getAlpha=function(){return this.a},Ra.prototype.setAlpha=function(qa){return this.a=boundAlpha(qa),this.roundA=Math.round(100*this.a)/100,this},Ra.prototype.isMonochrome=function(){var qa=this.toHsl().s;return qa===0},Ra.prototype.toHsv=function(){var qa=rgbToHsv(this.r,this.g,this.b);return{h:qa.h*360,s:qa.s,v:qa.v,a:this.a}},Ra.prototype.toHsvString=function(){var qa=rgbToHsv(this.r,this.g,this.b),td=Math.round(qa.h*360),rd=Math.round(qa.s*100),nd=Math.round(qa.v*100);return this.a===1?"hsv(".concat(td,", ").concat(rd,"%, ").concat(nd,"%)"):"hsva(".concat(td,", ").concat(rd,"%, ").concat(nd,"%, ").concat(this.roundA,")")},Ra.prototype.toHsl=function(){var qa=rgbToHsl(this.r,this.g,this.b);return{h:qa.h*360,s:qa.s,l:qa.l,a:this.a}},Ra.prototype.toHslString=function(){var qa=rgbToHsl(this.r,this.g,this.b),td=Math.round(qa.h*360),rd=Math.round(qa.s*100),nd=Math.round(qa.l*100);return this.a===1?"hsl(".concat(td,", ").concat(rd,"%, ").concat(nd,"%)"):"hsla(".concat(td,", ").concat(rd,"%, ").concat(nd,"%, ").concat(this.roundA,")")},Ra.prototype.toHex=function(qa){return qa===void 0&&(qa=!1),rgbToHex(this.r,this.g,this.b,qa)},Ra.prototype.toHexString=function(qa){return qa===void 0&&(qa=!1),"#"+this.toHex(qa)},Ra.prototype.toHex8=function(qa){return qa===void 0&&(qa=!1),rgbaToHex(this.r,this.g,this.b,this.a,qa)},Ra.prototype.toHex8String=function(qa){return qa===void 0&&(qa=!1),"#"+this.toHex8(qa)},Ra.prototype.toHexShortString=function(qa){return qa===void 0&&(qa=!1),this.a===1?this.toHexString(qa):this.toHex8String(qa)},Ra.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},Ra.prototype.toRgbString=function(){var qa=Math.round(this.r),td=Math.round(this.g),rd=Math.round(this.b);return this.a===1?"rgb(".concat(qa,", ").concat(td,", ").concat(rd,")"):"rgba(".concat(qa,", ").concat(td,", ").concat(rd,", ").concat(this.roundA,")")},Ra.prototype.toPercentageRgb=function(){var qa=function(td){return"".concat(Math.round(bound01$1(td,255)*100),"%")};return{r:qa(this.r),g:qa(this.g),b:qa(this.b),a:this.a}},Ra.prototype.toPercentageRgbString=function(){var qa=function(td){return Math.round(bound01$1(td,255)*100)};return this.a===1?"rgb(".concat(qa(this.r),"%, ").concat(qa(this.g),"%, ").concat(qa(this.b),"%)"):"rgba(".concat(qa(this.r),"%, ").concat(qa(this.g),"%, ").concat(qa(this.b),"%, ").concat(this.roundA,")")},Ra.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var qa="#"+rgbToHex(this.r,this.g,this.b,!1),td=0,rd=Object.entries(names);td=0,ad=!td&&nd&&(qa.startsWith("hex")||qa==="name");return ad?qa==="name"&&this.a===0?this.toName():this.toRgbString():(qa==="rgb"&&(rd=this.toRgbString()),qa==="prgb"&&(rd=this.toPercentageRgbString()),(qa==="hex"||qa==="hex6")&&(rd=this.toHexString()),qa==="hex3"&&(rd=this.toHexString(!0)),qa==="hex4"&&(rd=this.toHex8String(!0)),qa==="hex8"&&(rd=this.toHex8String()),qa==="name"&&(rd=this.toName()),qa==="hsl"&&(rd=this.toHslString()),qa==="hsv"&&(rd=this.toHsvString()),rd||this.toHexString())},Ra.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},Ra.prototype.clone=function(){return new Ra(this.toString())},Ra.prototype.lighten=function(qa){qa===void 0&&(qa=10);var td=this.toHsl();return td.l+=qa/100,td.l=clamp01(td.l),new Ra(td)},Ra.prototype.brighten=function(qa){qa===void 0&&(qa=10);var td=this.toRgb();return td.r=Math.max(0,Math.min(255,td.r-Math.round(255*-(qa/100)))),td.g=Math.max(0,Math.min(255,td.g-Math.round(255*-(qa/100)))),td.b=Math.max(0,Math.min(255,td.b-Math.round(255*-(qa/100)))),new Ra(td)},Ra.prototype.darken=function(qa){qa===void 0&&(qa=10);var td=this.toHsl();return td.l-=qa/100,td.l=clamp01(td.l),new Ra(td)},Ra.prototype.tint=function(qa){return qa===void 0&&(qa=10),this.mix("white",qa)},Ra.prototype.shade=function(qa){return qa===void 0&&(qa=10),this.mix("black",qa)},Ra.prototype.desaturate=function(qa){qa===void 0&&(qa=10);var td=this.toHsl();return td.s-=qa/100,td.s=clamp01(td.s),new Ra(td)},Ra.prototype.saturate=function(qa){qa===void 0&&(qa=10);var td=this.toHsl();return td.s+=qa/100,td.s=clamp01(td.s),new Ra(td)},Ra.prototype.greyscale=function(){return this.desaturate(100)},Ra.prototype.spin=function(qa){var td=this.toHsl(),rd=(td.h+qa)%360;return td.h=rd<0?360+rd:rd,new Ra(td)},Ra.prototype.mix=function(qa,td){td===void 0&&(td=50);var rd=this.toRgb(),nd=new Ra(qa).toRgb(),ad=td/100,sd={r:(nd.r-rd.r)*ad+rd.r,g:(nd.g-rd.g)*ad+rd.g,b:(nd.b-rd.b)*ad+rd.b,a:(nd.a-rd.a)*ad+rd.a};return new Ra(sd)},Ra.prototype.analogous=function(qa,td){qa===void 0&&(qa=6),td===void 0&&(td=30);var rd=this.toHsl(),nd=360/td,ad=[this];for(rd.h=(rd.h-(nd*qa>>1)+720)%360;--qa;)rd.h=(rd.h+nd)%360,ad.push(new Ra(rd));return ad},Ra.prototype.complement=function(){var qa=this.toHsl();return qa.h=(qa.h+180)%360,new Ra(qa)},Ra.prototype.monochromatic=function(qa){qa===void 0&&(qa=6);for(var td=this.toHsv(),rd=td.h,nd=td.s,ad=td.v,sd=[],ud=1/qa;qa--;)sd.push(new Ra({h:rd,s:nd,v:ad})),ad=(ad+ud)%1;return sd},Ra.prototype.splitcomplement=function(){var qa=this.toHsl(),td=qa.h;return[this,new Ra({h:(td+72)%360,s:qa.s,l:qa.l}),new Ra({h:(td+216)%360,s:qa.s,l:qa.l})]},Ra.prototype.onBackground=function(qa){var td=this.toRgb(),rd=new Ra(qa).toRgb(),nd=td.a+rd.a*(1-td.a);return new Ra({r:(td.r*td.a+rd.r*rd.a*(1-td.a))/nd,g:(td.g*td.a+rd.g*rd.a*(1-td.a))/nd,b:(td.b*td.a+rd.b*rd.a*(1-td.a))/nd,a:nd})},Ra.prototype.triad=function(){return this.polyad(3)},Ra.prototype.tetrad=function(){return this.polyad(4)},Ra.prototype.polyad=function(qa){for(var td=this.toHsl(),rd=td.h,nd=[this],ad=360/qa,sd=1;sd{let rd={},nd=Ra.color;if(nd){const ad=nd.match(/var\((.*?)\)/);ad&&(nd=window.getComputedStyle(window.document.documentElement).getPropertyValue(ad[1]));const sd=new TinyColor(nd),ud=Ra.dark?sd.tint(20).toString():darken$1(sd,20);if(Ra.plain)rd=td.cssVarBlock({"bg-color":Ra.dark?darken$1(sd,90):sd.tint(90).toString(),"text-color":nd,"border-color":Ra.dark?darken$1(sd,50):sd.tint(50).toString(),"hover-text-color":`var(${td.cssVarName("color-white")})`,"hover-bg-color":nd,"hover-border-color":nd,"active-bg-color":ud,"active-text-color":`var(${td.cssVarName("color-white")})`,"active-border-color":ud}),qa.value&&(rd[td.cssVarBlockName("disabled-bg-color")]=Ra.dark?darken$1(sd,90):sd.tint(90).toString(),rd[td.cssVarBlockName("disabled-text-color")]=Ra.dark?darken$1(sd,50):sd.tint(50).toString(),rd[td.cssVarBlockName("disabled-border-color")]=Ra.dark?darken$1(sd,80):sd.tint(80).toString());else{const cd=Ra.dark?darken$1(sd,30):sd.tint(30).toString(),dd=sd.isDark()?`var(${td.cssVarName("color-white")})`:`var(${td.cssVarName("color-black")})`;if(rd=td.cssVarBlock({"bg-color":nd,"text-color":dd,"border-color":nd,"hover-bg-color":cd,"hover-text-color":dd,"hover-border-color":cd,"active-bg-color":ud,"active-border-color":ud}),qa.value){const pd=Ra.dark?darken$1(sd,50):sd.tint(50).toString();rd[td.cssVarBlockName("disabled-bg-color")]=pd,rd[td.cssVarBlockName("disabled-text-color")]=Ra.dark?"rgba(255, 255, 255, 0.5)":`var(${td.cssVarName("color-white")})`,rd[td.cssVarBlockName("disabled-border-color")]=pd}}}return rd})}const __default__$i=defineComponent({name:"ElButton"}),_sfc_main$1c=defineComponent({...__default__$i,props:buttonProps,emits:buttonEmits,setup(Ra,{expose:qa,emit:td}){const rd=Ra,nd=useButtonCustomStyle(rd),ad=useNamespace("button"),{_ref:sd,_size:ud,_type:cd,_disabled:dd,_props:pd,shouldAddSpace:fd,handleClick:Td}=useButton(rd,td),Ad=computed(()=>[ad.b(),ad.m(cd.value),ad.m(ud.value),ad.is("disabled",dd.value),ad.is("loading",rd.loading),ad.is("plain",rd.plain),ad.is("round",rd.round),ad.is("circle",rd.circle),ad.is("text",rd.text),ad.is("link",rd.link),ad.is("has-bg",rd.bg)]);return qa({ref:sd,size:ud,type:cd,disabled:dd,shouldAddSpace:fd}),(Sd,Dd)=>(openBlock(),createBlock(resolveDynamicComponent(Sd.tag),mergeProps({ref_key:"_ref",ref:sd},unref(pd),{class:unref(Ad),style:unref(nd),onClick:unref(Td)}),{default:withCtx(()=>[Sd.loading?(openBlock(),createElementBlock(Fragment,{key:0},[Sd.$slots.loading?renderSlot(Sd.$slots,"loading",{key:0}):(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(ad).is("loading"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Sd.loadingIcon)))]),_:1},8,["class"]))],64)):Sd.icon||Sd.$slots.icon?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[Sd.icon?(openBlock(),createBlock(resolveDynamicComponent(Sd.icon),{key:0})):renderSlot(Sd.$slots,"icon",{key:1})]),_:3})):createCommentVNode("v-if",!0),Sd.$slots.default?(openBlock(),createElementBlock("span",{key:2,class:normalizeClass({[unref(ad).em("text","expand")]:unref(fd)})},[renderSlot(Sd.$slots,"default")],2)):createCommentVNode("v-if",!0)]),_:3},16,["class","style","onClick"]))}});var Button=_export_sfc$1(_sfc_main$1c,[["__file","button.vue"]]);const buttonGroupProps={size:buttonProps.size,type:buttonProps.type},__default__$h=defineComponent({name:"ElButtonGroup"}),_sfc_main$1b=defineComponent({...__default__$h,props:buttonGroupProps,setup(Ra){const qa=Ra;provide(buttonGroupContextKey,reactive({size:toRef$1(qa,"size"),type:toRef$1(qa,"type")}));const td=useNamespace("button");return(rd,nd)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(td).b("group"))},[renderSlot(rd.$slots,"default")],2))}});var ButtonGroup=_export_sfc$1(_sfc_main$1b,[["__file","button-group.vue"]]);const ElButton=withInstall(Button,{ButtonGroup});withNoopInstall(ButtonGroup);var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(Ra){return Ra&&Ra.__esModule&&Object.prototype.hasOwnProperty.call(Ra,"default")?Ra.default:Ra}function getAugmentedNamespace(Ra){if(Ra.__esModule)return Ra;var qa=Ra.default;if(typeof qa=="function"){var td=function rd(){return this instanceof rd?Reflect.construct(qa,arguments,this.constructor):qa.apply(this,arguments)};td.prototype=qa.prototype}else td={};return Object.defineProperty(td,"__esModule",{value:!0}),Object.keys(Ra).forEach(function(rd){var nd=Object.getOwnPropertyDescriptor(Ra,rd);Object.defineProperty(td,rd,nd.get?nd:{enumerable:!0,get:function(){return Ra[rd]}})}),td}var dayjs_min={exports:{}};(function(Ra,qa){(function(td,rd){Ra.exports=rd()})(commonjsGlobal,function(){var td=1e3,rd=6e4,nd=36e5,ad="millisecond",sd="second",ud="minute",cd="hour",dd="day",pd="week",fd="month",Td="quarter",Ad="year",Sd="date",Dd="Invalid Date",Ld=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Rd=/\[([^\]]+)]|Y{1,4}|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,Od={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(Ef){var _f=["th","st","nd","rd"],vf=Ef%100;return"["+Ef+(_f[(vf-20)%10]||_f[vf]||_f[0])+"]"}},Md=function(Ef,_f,vf){var xf=String(Ef);return!xf||xf.length>=_f?Ef:""+Array(_f+1-xf.length).join(vf)+Ef},jd={s:Md,z:function(Ef){var _f=-Ef.utcOffset(),vf=Math.abs(_f),xf=Math.floor(vf/60),Bf=vf%60;return(_f<=0?"+":"-")+Md(xf,2,"0")+":"+Md(Bf,2,"0")},m:function Ef(_f,vf){if(_f.date()1)return Ef(eh[0])}else{var Vf=_f.name;Hd[Vf]=_f,Bf=Vf}return!xf&&Bf&&(Ud=Bf),Bf||!xf&&Ud},Qd=function(Ef,_f){if(Zd(Ef))return Ef.clone();var vf=typeof _f=="object"?_f:{};return vf.date=Ef,vf.args=arguments,new hf(vf)},Jd=jd;Jd.l=Wd,Jd.i=Zd,Jd.w=function(Ef,_f){return Qd(Ef,{locale:_f.$L,utc:_f.$u,x:_f.$x,$offset:_f.$offset})};var hf=function(){function Ef(vf){this.$L=Wd(vf.locale,null,!0),this.parse(vf),this.$x=this.$x||vf.x||{},this[zd]=!0}var _f=Ef.prototype;return _f.parse=function(vf){this.$d=function(xf){var Bf=xf.date,Yf=xf.utc;if(Bf===null)return new Date(NaN);if(Jd.u(Bf))return new Date;if(Bf instanceof Date)return new Date(Bf);if(typeof Bf=="string"&&!/Z$/i.test(Bf)){var eh=Bf.match(Ld);if(eh){var Vf=eh[2]-1||0,Pf=(eh[7]||"0").substring(0,3);return Yf?new Date(Date.UTC(eh[1],Vf,eh[3]||1,eh[4]||0,eh[5]||0,eh[6]||0,Pf)):new Date(eh[1],Vf,eh[3]||1,eh[4]||0,eh[5]||0,eh[6]||0,Pf)}}return new Date(Bf)}(vf),this.init()},_f.init=function(){var vf=this.$d;this.$y=vf.getFullYear(),this.$M=vf.getMonth(),this.$D=vf.getDate(),this.$W=vf.getDay(),this.$H=vf.getHours(),this.$m=vf.getMinutes(),this.$s=vf.getSeconds(),this.$ms=vf.getMilliseconds()},_f.$utils=function(){return Jd},_f.isValid=function(){return this.$d.toString()!==Dd},_f.isSame=function(vf,xf){var Bf=Qd(vf);return this.startOf(xf)<=Bf&&Bf<=this.endOf(xf)},_f.isAfter=function(vf,xf){return Qd(vf)Ra=qa),document.addEventListener("mouseup",qa=>{if(Ra){for(const td of nodeList.values())for(const{documentHandler:rd}of td)rd(qa,Ra);Ra=void 0}})}function createDocumentHandler(Ra,qa){let td=[];return Array.isArray(qa.arg)?td=qa.arg:isElement$2(qa.arg)&&td.push(qa.arg),function(rd,nd){const ad=qa.instance.popperRef,sd=rd.target,ud=nd==null?void 0:nd.target,cd=!qa||!qa.instance,dd=!sd||!ud,pd=Ra.contains(sd)||Ra.contains(ud),fd=Ra===sd,Td=td.length&&td.some(Sd=>Sd==null?void 0:Sd.contains(sd))||td.length&&td.includes(ud),Ad=ad&&(ad.contains(sd)||ad.contains(ud));cd||dd||pd||fd||Td||Ad||qa.value(rd,nd)}}const ClickOutside={beforeMount(Ra,qa){nodeList.has(Ra)||nodeList.set(Ra,[]),nodeList.get(Ra).push({documentHandler:createDocumentHandler(Ra,qa),bindingFn:qa.value})},updated(Ra,qa){nodeList.has(Ra)||nodeList.set(Ra,[]);const td=nodeList.get(Ra),rd=td.findIndex(ad=>ad.bindingFn===qa.oldValue),nd={documentHandler:createDocumentHandler(Ra,qa),bindingFn:qa.value};rd>=0?td.splice(rd,1,nd):td.push(nd)},unmounted(Ra){nodeList.delete(Ra)}},REPEAT_INTERVAL=100,REPEAT_DELAY=600,vRepeatClick={beforeMount(Ra,qa){const td=qa.value,{interval:rd=REPEAT_INTERVAL,delay:nd=REPEAT_DELAY}=isFunction$4(td)?{}:td;let ad,sd;const ud=()=>isFunction$4(td)?td():td.handler(),cd=()=>{sd&&(clearTimeout(sd),sd=void 0),ad&&(clearInterval(ad),ad=void 0)};Ra.addEventListener("mousedown",dd=>{dd.button===0&&(cd(),ud(),document.addEventListener("mouseup",()=>cd(),{once:!0}),sd=setTimeout(()=>{ad=setInterval(()=>{ud()},rd)},nd))})}},FOCUSABLE_CHILDREN="_trap-focus-children",FOCUS_STACK=[],FOCUS_HANDLER=Ra=>{if(FOCUS_STACK.length===0)return;const qa=FOCUS_STACK[FOCUS_STACK.length-1][FOCUSABLE_CHILDREN];if(qa.length>0&&Ra.code===EVENT_CODE.tab){if(qa.length===1){Ra.preventDefault(),document.activeElement!==qa[0]&&qa[0].focus();return}const td=Ra.shiftKey,rd=Ra.target===qa[0],nd=Ra.target===qa[qa.length-1];rd&&td&&(Ra.preventDefault(),qa[qa.length-1].focus()),nd&&!td&&(Ra.preventDefault(),qa[0].focus())}},TrapFocus={beforeMount(Ra){Ra[FOCUSABLE_CHILDREN]=obtainAllFocusableElements$1(Ra),FOCUS_STACK.push(Ra),FOCUS_STACK.length<=1&&document.addEventListener("keydown",FOCUS_HANDLER)},updated(Ra){nextTick$1(()=>{Ra[FOCUSABLE_CHILDREN]=obtainAllFocusableElements$1(Ra)})},unmounted(){FOCUS_STACK.shift(),FOCUS_STACK.length===0&&document.removeEventListener("keydown",FOCUS_HANDLER)}},tagProps=buildProps({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:componentSizes},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),tagEmits={close:Ra=>Ra instanceof MouseEvent,click:Ra=>Ra instanceof MouseEvent},__default__$g=defineComponent({name:"ElTag"}),_sfc_main$1a=defineComponent({...__default__$g,props:tagProps,emits:tagEmits,setup(Ra,{emit:qa}){const td=Ra,rd=useFormSize(),nd=useNamespace("tag"),ad=computed(()=>{const{type:dd,hit:pd,effect:fd,closable:Td,round:Ad}=td;return[nd.b(),nd.is("closable",Td),nd.m(dd||"primary"),nd.m(rd.value),nd.m(fd),nd.is("hit",pd),nd.is("round",Ad)]}),sd=dd=>{qa("close",dd)},ud=dd=>{qa("click",dd)},cd=dd=>{dd.component.subTree.component.bum=null};return(dd,pd)=>dd.disableTransitions?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(ad)),style:normalizeStyle({backgroundColor:dd.color}),onClick:ud},[createBaseVNode("span",{class:normalizeClass(unref(nd).e("content"))},[renderSlot(dd.$slots,"default")],2),dd.closable?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(nd).e("close")),onClick:withModifiers(sd,["stop"])},{default:withCtx(()=>[createVNode(unref(close_default))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],6)):(openBlock(),createBlock(Transition$1,{key:1,name:`${unref(nd).namespace.value}-zoom-in-center`,appear:"",onVnodeMounted:cd},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(unref(ad)),style:normalizeStyle({backgroundColor:dd.color}),onClick:ud},[createBaseVNode("span",{class:normalizeClass(unref(nd).e("content"))},[renderSlot(dd.$slots,"default")],2),dd.closable?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(nd).e("close")),onClick:withModifiers(sd,["stop"])},{default:withCtx(()=>[createVNode(unref(close_default))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],6)]),_:3},8,["name"]))}});var Tag$1=_export_sfc$1(_sfc_main$1a,[["__file","tag.vue"]]);const ElTag=withInstall(Tag$1),rowContextKey=Symbol("rowContextKey"),RowJustify=["start","center","end","space-around","space-between","space-evenly"],RowAlign=["top","middle","bottom"],rowProps=buildProps({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:RowJustify,default:"start"},align:{type:String,values:RowAlign}}),__default__$f=defineComponent({name:"ElRow"}),_sfc_main$19=defineComponent({...__default__$f,props:rowProps,setup(Ra){const qa=Ra,td=useNamespace("row"),rd=computed(()=>qa.gutter);provide(rowContextKey,{gutter:rd});const nd=computed(()=>{const sd={};return qa.gutter&&(sd.marginRight=sd.marginLeft=`-${qa.gutter/2}px`),sd}),ad=computed(()=>[td.b(),td.is(`justify-${qa.justify}`,qa.justify!=="start"),td.is(`align-${qa.align}`,!!qa.align)]);return(sd,ud)=>(openBlock(),createBlock(resolveDynamicComponent(sd.tag),{class:normalizeClass(unref(ad)),style:normalizeStyle(unref(nd))},{default:withCtx(()=>[renderSlot(sd.$slots,"default")]),_:3},8,["class","style"]))}});var Row=_export_sfc$1(_sfc_main$19,[["__file","row.vue"]]);const ElRow=withInstall(Row),colProps=buildProps({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:definePropType([Number,Object]),default:()=>mutable({})},sm:{type:definePropType([Number,Object]),default:()=>mutable({})},md:{type:definePropType([Number,Object]),default:()=>mutable({})},lg:{type:definePropType([Number,Object]),default:()=>mutable({})},xl:{type:definePropType([Number,Object]),default:()=>mutable({})}}),__default__$e=defineComponent({name:"ElCol"}),_sfc_main$18=defineComponent({...__default__$e,props:colProps,setup(Ra){const qa=Ra,{gutter:td}=inject(rowContextKey,{gutter:computed(()=>0)}),rd=useNamespace("col"),nd=computed(()=>{const sd={};return td.value&&(sd.paddingLeft=sd.paddingRight=`${td.value/2}px`),sd}),ad=computed(()=>{const sd=[];return["span","offset","pull","push"].forEach(dd=>{const pd=qa[dd];isNumber$4(pd)&&(dd==="span"?sd.push(rd.b(`${qa[dd]}`)):pd>0&&sd.push(rd.b(`${dd}-${qa[dd]}`)))}),["xs","sm","md","lg","xl"].forEach(dd=>{isNumber$4(qa[dd])?sd.push(rd.b(`${dd}-${qa[dd]}`)):isObject$5(qa[dd])&&Object.entries(qa[dd]).forEach(([pd,fd])=>{sd.push(pd!=="span"?rd.b(`${dd}-${pd}-${fd}`):rd.b(`${dd}-${fd}`))})}),td.value&&sd.push(rd.is("guttered")),[rd.b(),sd]});return(sd,ud)=>(openBlock(),createBlock(resolveDynamicComponent(sd.tag),{class:normalizeClass(unref(ad)),style:normalizeStyle(unref(nd))},{default:withCtx(()=>[renderSlot(sd.$slots,"default")]),_:3},8,["class","style"]))}});var Col=_export_sfc$1(_sfc_main$18,[["__file","col.vue"]]);const ElCol=withInstall(Col),alphaSliderProps=buildProps({color:{type:definePropType(Object),required:!0},vertical:{type:Boolean,default:!1}});let isDragging=!1;function draggable(Ra,qa){if(!isClient$1)return;const td=function(ad){var sd;(sd=qa.drag)==null||sd.call(qa,ad)},rd=function(ad){var sd;document.removeEventListener("mousemove",td),document.removeEventListener("mouseup",rd),document.removeEventListener("touchmove",td),document.removeEventListener("touchend",rd),document.onselectstart=null,document.ondragstart=null,isDragging=!1,(sd=qa.end)==null||sd.call(qa,ad)},nd=function(ad){var sd;isDragging||(ad.preventDefault(),document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",td),document.addEventListener("mouseup",rd),document.addEventListener("touchmove",td),document.addEventListener("touchend",rd),isDragging=!0,(sd=qa.start)==null||sd.call(qa,ad))};Ra.addEventListener("mousedown",nd),Ra.addEventListener("touchstart",nd,{passive:!1})}const useAlphaSlider=Ra=>{const qa=getCurrentInstance(),{t:td}=useLocale(),rd=shallowRef(),nd=shallowRef(),ad=computed(()=>Ra.color.get("alpha")),sd=computed(()=>td("el.colorpicker.alphaLabel"));function ud(fd){var Td;fd.target!==rd.value&&cd(fd),(Td=rd.value)==null||Td.focus()}function cd(fd){if(!nd.value||!rd.value)return;const Ad=qa.vnode.el.getBoundingClientRect(),{clientX:Sd,clientY:Dd}=getClientXY(fd);if(Ra.vertical){let Ld=Dd-Ad.top;Ld=Math.max(rd.value.offsetHeight/2,Ld),Ld=Math.min(Ld,Ad.height-rd.value.offsetHeight/2),Ra.color.set("alpha",Math.round((Ld-rd.value.offsetHeight/2)/(Ad.height-rd.value.offsetHeight)*100))}else{let Ld=Sd-Ad.left;Ld=Math.max(rd.value.offsetWidth/2,Ld),Ld=Math.min(Ld,Ad.width-rd.value.offsetWidth/2),Ra.color.set("alpha",Math.round((Ld-rd.value.offsetWidth/2)/(Ad.width-rd.value.offsetWidth)*100))}}function dd(fd){const{code:Td,shiftKey:Ad}=fd,Sd=Ad?10:1;switch(Td){case EVENT_CODE.left:case EVENT_CODE.down:fd.preventDefault(),fd.stopPropagation(),pd(-Sd);break;case EVENT_CODE.right:case EVENT_CODE.up:fd.preventDefault(),fd.stopPropagation(),pd(Sd);break}}function pd(fd){let Td=ad.value+fd;Td=Td<0?0:Td>100?100:Td,Ra.color.set("alpha",Td)}return{thumb:rd,bar:nd,alpha:ad,alphaLabel:sd,handleDrag:cd,handleClick:ud,handleKeydown:dd}},useAlphaSliderDOM=(Ra,{bar:qa,thumb:td,handleDrag:rd})=>{const nd=getCurrentInstance(),ad=useNamespace("color-alpha-slider"),sd=ref$1(0),ud=ref$1(0),cd=ref$1();function dd(){if(!td.value||Ra.vertical)return 0;const Od=nd.vnode.el,Md=Ra.color.get("alpha");return Od?Math.round(Md*(Od.offsetWidth-td.value.offsetWidth/2)/100):0}function pd(){if(!td.value)return 0;const Od=nd.vnode.el;if(!Ra.vertical)return 0;const Md=Ra.color.get("alpha");return Od?Math.round(Md*(Od.offsetHeight-td.value.offsetHeight/2)/100):0}function fd(){if(Ra.color&&Ra.color.value){const{r:Od,g:Md,b:jd}=Ra.color.toRgb();return`linear-gradient(to right, rgba(${Od}, ${Md}, ${jd}, 0) 0%, rgba(${Od}, ${Md}, ${jd}, 1) 100%)`}return""}function Td(){sd.value=dd(),ud.value=pd(),cd.value=fd()}onMounted(()=>{if(!qa.value||!td.value)return;const Od={drag:Md=>{rd(Md)},end:Md=>{rd(Md)}};draggable(qa.value,Od),draggable(td.value,Od),Td()}),watch(()=>Ra.color.get("alpha"),()=>Td()),watch(()=>Ra.color.value,()=>Td());const Ad=computed(()=>[ad.b(),ad.is("vertical",Ra.vertical)]),Sd=computed(()=>ad.e("bar")),Dd=computed(()=>ad.e("thumb")),Ld=computed(()=>({background:cd.value})),Rd=computed(()=>({left:addUnit(sd.value),top:addUnit(ud.value)}));return{rootKls:Ad,barKls:Sd,barStyle:Ld,thumbKls:Dd,thumbStyle:Rd,update:Td}},COMPONENT_NAME$6="ElColorAlphaSlider",__default__$d=defineComponent({name:COMPONENT_NAME$6}),_sfc_main$17=defineComponent({...__default__$d,props:alphaSliderProps,setup(Ra,{expose:qa}){const td=Ra,{alpha:rd,alphaLabel:nd,bar:ad,thumb:sd,handleDrag:ud,handleClick:cd,handleKeydown:dd}=useAlphaSlider(td),{rootKls:pd,barKls:fd,barStyle:Td,thumbKls:Ad,thumbStyle:Sd,update:Dd}=useAlphaSliderDOM(td,{bar:ad,thumb:sd,handleDrag:ud});return qa({update:Dd,bar:ad,thumb:sd}),(Ld,Rd)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(pd))},[createBaseVNode("div",{ref_key:"bar",ref:ad,class:normalizeClass(unref(fd)),style:normalizeStyle(unref(Td)),onClick:unref(cd)},null,14,["onClick"]),createBaseVNode("div",{ref_key:"thumb",ref:sd,class:normalizeClass(unref(Ad)),style:normalizeStyle(unref(Sd)),"aria-label":unref(nd),"aria-valuenow":unref(rd),"aria-orientation":Ld.vertical?"vertical":"horizontal","aria-valuemin":"0","aria-valuemax":"100",role:"slider",tabindex:"0",onKeydown:unref(dd)},null,46,["aria-label","aria-valuenow","aria-orientation","onKeydown"])],2))}});var AlphaSlider=_export_sfc$1(_sfc_main$17,[["__file","alpha-slider.vue"]]);const _sfc_main$16=defineComponent({name:"ElColorHueSlider",props:{color:{type:Object,required:!0},vertical:Boolean},setup(Ra){const qa=useNamespace("color-hue-slider"),td=getCurrentInstance(),rd=ref$1(),nd=ref$1(),ad=ref$1(0),sd=ref$1(0),ud=computed(()=>Ra.color.get("hue"));watch(()=>ud.value,()=>{Td()});function cd(Ad){Ad.target!==rd.value&&dd(Ad)}function dd(Ad){if(!nd.value||!rd.value)return;const Dd=td.vnode.el.getBoundingClientRect(),{clientX:Ld,clientY:Rd}=getClientXY(Ad);let Od;if(Ra.vertical){let Md=Rd-Dd.top;Md=Math.min(Md,Dd.height-rd.value.offsetHeight/2),Md=Math.max(rd.value.offsetHeight/2,Md),Od=Math.round((Md-rd.value.offsetHeight/2)/(Dd.height-rd.value.offsetHeight)*360)}else{let Md=Ld-Dd.left;Md=Math.min(Md,Dd.width-rd.value.offsetWidth/2),Md=Math.max(rd.value.offsetWidth/2,Md),Od=Math.round((Md-rd.value.offsetWidth/2)/(Dd.width-rd.value.offsetWidth)*360)}Ra.color.set("hue",Od)}function pd(){if(!rd.value)return 0;const Ad=td.vnode.el;if(Ra.vertical)return 0;const Sd=Ra.color.get("hue");return Ad?Math.round(Sd*(Ad.offsetWidth-rd.value.offsetWidth/2)/360):0}function fd(){if(!rd.value)return 0;const Ad=td.vnode.el;if(!Ra.vertical)return 0;const Sd=Ra.color.get("hue");return Ad?Math.round(Sd*(Ad.offsetHeight-rd.value.offsetHeight/2)/360):0}function Td(){ad.value=pd(),sd.value=fd()}return onMounted(()=>{if(!nd.value||!rd.value)return;const Ad={drag:Sd=>{dd(Sd)},end:Sd=>{dd(Sd)}};draggable(nd.value,Ad),draggable(rd.value,Ad),Td()}),{bar:nd,thumb:rd,thumbLeft:ad,thumbTop:sd,hueValue:ud,handleClick:cd,update:Td,ns:qa}}});function _sfc_render$7(Ra,qa,td,rd,nd,ad){return openBlock(),createElementBlock("div",{class:normalizeClass([Ra.ns.b(),Ra.ns.is("vertical",Ra.vertical)])},[createBaseVNode("div",{ref:"bar",class:normalizeClass(Ra.ns.e("bar")),onClick:Ra.handleClick},null,10,["onClick"]),createBaseVNode("div",{ref:"thumb",class:normalizeClass(Ra.ns.e("thumb")),style:normalizeStyle({left:Ra.thumbLeft+"px",top:Ra.thumbTop+"px"})},null,6)],2)}var HueSlider=_export_sfc$1(_sfc_main$16,[["render",_sfc_render$7],["__file","hue-slider.vue"]]);const colorPickerProps=buildProps({modelValue:String,id:String,showAlpha:Boolean,colorFormat:String,disabled:Boolean,size:useSizeProp,popperClass:{type:String,default:""},tabindex:{type:[String,Number],default:0},teleported:useTooltipContentProps.teleported,predefine:{type:definePropType(Array)},validateEvent:{type:Boolean,default:!0},...useAriaProps(["ariaLabel"])}),colorPickerEmits={[UPDATE_MODEL_EVENT]:Ra=>isString$3(Ra)||isNil(Ra),[CHANGE_EVENT]:Ra=>isString$3(Ra)||isNil(Ra),activeChange:Ra=>isString$3(Ra)||isNil(Ra),focus:Ra=>Ra instanceof FocusEvent,blur:Ra=>Ra instanceof FocusEvent},colorPickerContextKey=Symbol("colorPickerContextKey"),hsv2hsl=function(Ra,qa,td){return[Ra,qa*td/((Ra=(2-qa)*td)<1?Ra:2-Ra)||0,Ra/2]},isOnePointZero=function(Ra){return typeof Ra=="string"&&Ra.includes(".")&&Number.parseFloat(Ra)===1},isPercentage=function(Ra){return typeof Ra=="string"&&Ra.includes("%")},bound01=function(Ra,qa){isOnePointZero(Ra)&&(Ra="100%");const td=isPercentage(Ra);return Ra=Math.min(qa,Math.max(0,Number.parseFloat(`${Ra}`))),td&&(Ra=Number.parseInt(`${Ra*qa}`,10)/100),Math.abs(Ra-qa)<1e-6?1:Ra%qa/Number.parseFloat(qa)},INT_HEX_MAP={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},hexOne=Ra=>{Ra=Math.min(Math.round(Ra),255);const qa=Math.floor(Ra/16),td=Ra%16;return`${INT_HEX_MAP[qa]||qa}${INT_HEX_MAP[td]||td}`},toHex=function({r:Ra,g:qa,b:td}){return Number.isNaN(+Ra)||Number.isNaN(+qa)||Number.isNaN(+td)?"":`#${hexOne(Ra)}${hexOne(qa)}${hexOne(td)}`},HEX_INT_MAP={A:10,B:11,C:12,D:13,E:14,F:15},parseHexChannel=function(Ra){return Ra.length===2?(HEX_INT_MAP[Ra[0].toUpperCase()]||+Ra[0])*16+(HEX_INT_MAP[Ra[1].toUpperCase()]||+Ra[1]):HEX_INT_MAP[Ra[1].toUpperCase()]||+Ra[1]},hsl2hsv=function(Ra,qa,td){qa=qa/100,td=td/100;let rd=qa;const nd=Math.max(td,.01);td*=2,qa*=td<=1?td:2-td,rd*=nd<=1?nd:2-nd;const ad=(td+qa)/2,sd=td===0?2*rd/(nd+rd):2*qa/(td+qa);return{h:Ra,s:sd*100,v:ad*100}},rgb2hsv=(Ra,qa,td)=>{Ra=bound01(Ra,255),qa=bound01(qa,255),td=bound01(td,255);const rd=Math.max(Ra,qa,td),nd=Math.min(Ra,qa,td);let ad;const sd=rd,ud=rd-nd,cd=rd===0?0:ud/rd;if(rd===nd)ad=0;else{switch(rd){case Ra:{ad=(qa-td)/ud+(qa{this._hue=Math.max(0,Math.min(360,rd)),this._saturation=Math.max(0,Math.min(100,nd)),this._value=Math.max(0,Math.min(100,ad)),this.doOnChange()};if(qa.includes("hsl")){const rd=qa.replace(/hsla|hsl|\(|\)/gm,"").split(/\s|,/g).filter(nd=>nd!=="").map((nd,ad)=>ad>2?Number.parseFloat(nd):Number.parseInt(nd,10));if(rd.length===4?this._alpha=Number.parseFloat(rd[3])*100:rd.length===3&&(this._alpha=100),rd.length>=3){const{h:nd,s:ad,v:sd}=hsl2hsv(rd[0],rd[1],rd[2]);td(nd,ad,sd)}}else if(qa.includes("hsv")){const rd=qa.replace(/hsva|hsv|\(|\)/gm,"").split(/\s|,/g).filter(nd=>nd!=="").map((nd,ad)=>ad>2?Number.parseFloat(nd):Number.parseInt(nd,10));rd.length===4?this._alpha=Number.parseFloat(rd[3])*100:rd.length===3&&(this._alpha=100),rd.length>=3&&td(rd[0],rd[1],rd[2])}else if(qa.includes("rgb")){const rd=qa.replace(/rgba|rgb|\(|\)/gm,"").split(/\s|,/g).filter(nd=>nd!=="").map((nd,ad)=>ad>2?Number.parseFloat(nd):Number.parseInt(nd,10));if(rd.length===4?this._alpha=Number.parseFloat(rd[3])*100:rd.length===3&&(this._alpha=100),rd.length>=3){const{h:nd,s:ad,v:sd}=rgb2hsv(rd[0],rd[1],rd[2]);td(nd,ad,sd)}}else if(qa.includes("#")){const rd=qa.replace("#","").trim();if(!/^[0-9a-fA-F]{3}$|^[0-9a-fA-F]{6}$|^[0-9a-fA-F]{8}$/.test(rd))return;let nd,ad,sd;rd.length===3?(nd=parseHexChannel(rd[0]+rd[0]),ad=parseHexChannel(rd[1]+rd[1]),sd=parseHexChannel(rd[2]+rd[2])):(rd.length===6||rd.length===8)&&(nd=parseHexChannel(rd.slice(0,2)),ad=parseHexChannel(rd.slice(2,4)),sd=parseHexChannel(rd.slice(4,6))),rd.length===8?this._alpha=parseHexChannel(rd.slice(6))/255*100:(rd.length===3||rd.length===6)&&(this._alpha=100);const{h:ud,s:cd,v:dd}=rgb2hsv(nd,ad,sd);td(ud,cd,dd)}}compare(qa){return Math.abs(qa._hue-this._hue)<2&&Math.abs(qa._saturation-this._saturation)<1&&Math.abs(qa._value-this._value)<1&&Math.abs(qa._alpha-this._alpha)<1}doOnChange(){const{_hue:qa,_saturation:td,_value:rd,_alpha:nd,format:ad}=this;if(this.enableAlpha)switch(ad){case"hsl":{const sd=hsv2hsl(qa,td/100,rd/100);this.value=`hsla(${qa}, ${Math.round(sd[1]*100)}%, ${Math.round(sd[2]*100)}%, ${this.get("alpha")/100})`;break}case"hsv":{this.value=`hsva(${qa}, ${Math.round(td)}%, ${Math.round(rd)}%, ${this.get("alpha")/100})`;break}case"hex":{this.value=`${toHex(hsv2rgb(qa,td,rd))}${hexOne(nd*255/100)}`;break}default:{const{r:sd,g:ud,b:cd}=hsv2rgb(qa,td,rd);this.value=`rgba(${sd}, ${ud}, ${cd}, ${this.get("alpha")/100})`}}else switch(ad){case"hsl":{const sd=hsv2hsl(qa,td/100,rd/100);this.value=`hsl(${qa}, ${Math.round(sd[1]*100)}%, ${Math.round(sd[2]*100)}%)`;break}case"hsv":{this.value=`hsv(${qa}, ${Math.round(td)}%, ${Math.round(rd)}%)`;break}case"rgb":{const{r:sd,g:ud,b:cd}=hsv2rgb(qa,td,rd);this.value=`rgb(${sd}, ${ud}, ${cd})`;break}default:this.value=toHex(hsv2rgb(qa,td,rd))}}};const _sfc_main$15=defineComponent({props:{colors:{type:Array,required:!0},color:{type:Object,required:!0},enableAlpha:{type:Boolean,required:!0}},setup(Ra){const qa=useNamespace("color-predefine"),{currentColor:td}=inject(colorPickerContextKey),rd=ref$1(ad(Ra.colors,Ra.color));watch(()=>td.value,sd=>{const ud=new Color$2;ud.fromString(sd),rd.value.forEach(cd=>{cd.selected=ud.compare(cd)})}),watchEffect(()=>{rd.value=ad(Ra.colors,Ra.color)});function nd(sd){Ra.color.fromString(Ra.colors[sd])}function ad(sd,ud){return sd.map(cd=>{const dd=new Color$2;return dd.enableAlpha=Ra.enableAlpha,dd.format="rgba",dd.fromString(cd),dd.selected=dd.value===ud.value,dd})}return{rgbaColors:rd,handleSelect:nd,ns:qa}}});function _sfc_render$6(Ra,qa,td,rd,nd,ad){return openBlock(),createElementBlock("div",{class:normalizeClass(Ra.ns.b())},[createBaseVNode("div",{class:normalizeClass(Ra.ns.e("colors"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ra.rgbaColors,(sd,ud)=>(openBlock(),createElementBlock("div",{key:Ra.colors[ud],class:normalizeClass([Ra.ns.e("color-selector"),Ra.ns.is("alpha",sd._alpha<100),{selected:sd.selected}]),onClick:cd=>Ra.handleSelect(ud)},[createBaseVNode("div",{style:normalizeStyle({backgroundColor:sd.value})},null,4)],10,["onClick"]))),128))],2)],2)}var Predefine=_export_sfc$1(_sfc_main$15,[["render",_sfc_render$6],["__file","predefine.vue"]]);const _sfc_main$14=defineComponent({name:"ElSlPanel",props:{color:{type:Object,required:!0}},setup(Ra){const qa=useNamespace("color-svpanel"),td=getCurrentInstance(),rd=ref$1(0),nd=ref$1(0),ad=ref$1("hsl(0, 100%, 50%)"),sd=computed(()=>{const dd=Ra.color.get("hue"),pd=Ra.color.get("value");return{hue:dd,value:pd}});function ud(){const dd=Ra.color.get("saturation"),pd=Ra.color.get("value"),fd=td.vnode.el,{clientWidth:Td,clientHeight:Ad}=fd;nd.value=dd*Td/100,rd.value=(100-pd)*Ad/100,ad.value=`hsl(${Ra.color.get("hue")}, 100%, 50%)`}function cd(dd){const fd=td.vnode.el.getBoundingClientRect(),{clientX:Td,clientY:Ad}=getClientXY(dd);let Sd=Td-fd.left,Dd=Ad-fd.top;Sd=Math.max(0,Sd),Sd=Math.min(Sd,fd.width),Dd=Math.max(0,Dd),Dd=Math.min(Dd,fd.height),nd.value=Sd,rd.value=Dd,Ra.color.set({saturation:Sd/fd.width*100,value:100-Dd/fd.height*100})}return watch(()=>sd.value,()=>{ud()}),onMounted(()=>{draggable(td.vnode.el,{drag:dd=>{cd(dd)},end:dd=>{cd(dd)}}),ud()}),{cursorTop:rd,cursorLeft:nd,background:ad,colorValue:sd,handleDrag:cd,update:ud,ns:qa}}});function _sfc_render$5(Ra,qa,td,rd,nd,ad){return openBlock(),createElementBlock("div",{class:normalizeClass(Ra.ns.b()),style:normalizeStyle({backgroundColor:Ra.background})},[createBaseVNode("div",{class:normalizeClass(Ra.ns.e("white"))},null,2),createBaseVNode("div",{class:normalizeClass(Ra.ns.e("black"))},null,2),createBaseVNode("div",{class:normalizeClass(Ra.ns.e("cursor")),style:normalizeStyle({top:Ra.cursorTop+"px",left:Ra.cursorLeft+"px"})},[createBaseVNode("div")],6)],6)}var SvPanel=_export_sfc$1(_sfc_main$14,[["render",_sfc_render$5],["__file","sv-panel.vue"]]);const __default__$c=defineComponent({name:"ElColorPicker"}),_sfc_main$13=defineComponent({...__default__$c,props:colorPickerProps,emits:colorPickerEmits,setup(Ra,{expose:qa,emit:td}){const rd=Ra,{t:nd}=useLocale(),ad=useNamespace("color"),{formItem:sd}=useFormItem(),ud=useFormSize(),cd=useFormDisabled(),{inputId:dd,isLabeledByFormItem:pd}=useFormItemInputId(rd,{formItemContext:sd}),fd=ref$1(),Td=ref$1(),Ad=ref$1(),Sd=ref$1(),Dd=ref$1(),Ld=ref$1(),{isFocused:Rd,handleFocus:Od,handleBlur:Md}=useFocusController(Dd,{beforeFocus(){return cd.value},beforeBlur(Mf){var Gf;return(Gf=Sd.value)==null?void 0:Gf.isFocusInsideContent(Mf)},afterBlur(){_f(!1),Yf()}});let jd=!0;const Ud=reactive(new Color$2({enableAlpha:rd.showAlpha,format:rd.colorFormat||"",value:rd.modelValue})),Hd=ref$1(!1),zd=ref$1(!1),Zd=ref$1(""),Wd=computed(()=>!rd.modelValue&&!zd.value?"transparent":Ef(Ud,rd.showAlpha)),Qd=computed(()=>!rd.modelValue&&!zd.value?"":Ud.value),Jd=computed(()=>pd.value?void 0:rd.ariaLabel||nd("el.colorpicker.defaultLabel")),hf=computed(()=>pd.value?sd==null?void 0:sd.labelId:void 0),bf=computed(()=>[ad.b("picker"),ad.is("disabled",cd.value),ad.bm("picker",ud.value),ad.is("focused",Rd.value)]);function Ef(Mf,Gf){if(!(Mf instanceof Color$2))throw new TypeError("color should be instance of _color Class");const{r:Qf,g:Uf,b:Df}=Mf.toRgb();return Gf?`rgba(${Qf}, ${Uf}, ${Df}, ${Mf.get("alpha")/100})`:`rgb(${Qf}, ${Uf}, ${Df})`}function _f(Mf){Hd.value=Mf}const vf=debounce(_f,100,{leading:!0});function xf(){cd.value||_f(!0)}function Bf(){vf(!1),Yf()}function Yf(){nextTick$1(()=>{rd.modelValue?Ud.fromString(rd.modelValue):(Ud.value="",nextTick$1(()=>{zd.value=!1}))})}function eh(){cd.value||vf(!Hd.value)}function Vf(){Ud.fromString(Zd.value)}function Pf(){const Mf=Ud.value;td(UPDATE_MODEL_EVENT,Mf),td("change",Mf),rd.validateEvent&&(sd==null||sd.validate("change").catch(Gf=>void 0)),vf(!1),nextTick$1(()=>{const Gf=new Color$2({enableAlpha:rd.showAlpha,format:rd.colorFormat||"",value:rd.modelValue});Ud.compare(Gf)||Yf()})}function If(){vf(!1),td(UPDATE_MODEL_EVENT,null),td("change",null),rd.modelValue!==null&&rd.validateEvent&&(sd==null||sd.validate("change").catch(Mf=>void 0)),Yf()}function $f(){Hd.value&&(Bf(),Rd.value&&Tf())}function Zf(Mf){Mf.preventDefault(),Mf.stopPropagation(),_f(!1),Yf()}function Kf(Mf){switch(Mf.code){case EVENT_CODE.enter:case EVENT_CODE.space:Mf.preventDefault(),Mf.stopPropagation(),xf(),Ld.value.focus();break;case EVENT_CODE.esc:Zf(Mf);break}}function Tf(){Dd.value.focus()}function gf(){Dd.value.blur()}return onMounted(()=>{rd.modelValue&&(Zd.value=Qd.value)}),watch(()=>rd.modelValue,Mf=>{Mf?Mf&&Mf!==Ud.value&&(jd=!1,Ud.fromString(Mf)):zd.value=!1}),watch(()=>rd.colorFormat,()=>{rd.colorFormat&&(Ud.format=rd.colorFormat,Ud.doOnChange(),td(UPDATE_MODEL_EVENT,Ud.value))}),watch(()=>Qd.value,Mf=>{Zd.value=Mf,jd&&td("activeChange",Mf),jd=!0}),watch(()=>Ud.value,()=>{!rd.modelValue&&!zd.value&&(zd.value=!0)}),watch(()=>Hd.value,()=>{nextTick$1(()=>{var Mf,Gf,Qf;(Mf=fd.value)==null||Mf.update(),(Gf=Td.value)==null||Gf.update(),(Qf=Ad.value)==null||Qf.update()})}),provide(colorPickerContextKey,{currentColor:Qd}),qa({color:Ud,show:xf,hide:Bf,focus:Tf,blur:gf}),(Mf,Gf)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"popper",ref:Sd,visible:Hd.value,"show-arrow":!1,"fallback-placements":["bottom","top","right","left"],offset:0,"gpu-acceleration":!1,"popper-class":[unref(ad).be("picker","panel"),unref(ad).b("dropdown"),Mf.popperClass],"stop-popper-mouse-event":!1,effect:"light",trigger:"click",teleported:Mf.teleported,transition:`${unref(ad).namespace.value}-zoom-in-top`,persistent:"",onHide:Qf=>_f(!1)},{content:withCtx(()=>[withDirectives((openBlock(),createElementBlock("div",{onKeydown:withKeys(Zf,["esc"])},[createBaseVNode("div",{class:normalizeClass(unref(ad).be("dropdown","main-wrapper"))},[createVNode(HueSlider,{ref_key:"hue",ref:fd,class:"hue-slider",color:unref(Ud),vertical:""},null,8,["color"]),createVNode(SvPanel,{ref_key:"sv",ref:Td,color:unref(Ud)},null,8,["color"])],2),Mf.showAlpha?(openBlock(),createBlock(AlphaSlider,{key:0,ref_key:"alpha",ref:Ad,color:unref(Ud)},null,8,["color"])):createCommentVNode("v-if",!0),Mf.predefine?(openBlock(),createBlock(Predefine,{key:1,ref:"predefine","enable-alpha":Mf.showAlpha,color:unref(Ud),colors:Mf.predefine},null,8,["enable-alpha","color","colors"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(ad).be("dropdown","btns"))},[createBaseVNode("span",{class:normalizeClass(unref(ad).be("dropdown","value"))},[createVNode(unref(ElInput),{ref_key:"inputRef",ref:Ld,modelValue:Zd.value,"onUpdate:modelValue":Qf=>Zd.value=Qf,"validate-event":!1,size:"small",onKeyup:withKeys(Vf,["enter"]),onBlur:Vf},null,8,["modelValue","onUpdate:modelValue","onKeyup"])],2),createVNode(unref(ElButton),{class:normalizeClass(unref(ad).be("dropdown","link-btn")),text:"",size:"small",onClick:If},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(nd)("el.colorpicker.clear")),1)]),_:1},8,["class"]),createVNode(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(ad).be("dropdown","btn")),onClick:Pf},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(nd)("el.colorpicker.confirm")),1)]),_:1},8,["class"])],2)],40,["onKeydown"])),[[unref(ClickOutside),$f]])]),default:withCtx(()=>[createBaseVNode("div",mergeProps({id:unref(dd),ref_key:"triggerRef",ref:Dd},Mf.$attrs,{class:unref(bf),role:"button","aria-label":unref(Jd),"aria-labelledby":unref(hf),"aria-description":unref(nd)("el.colorpicker.description",{color:Mf.modelValue||""}),"aria-disabled":unref(cd),tabindex:unref(cd)?-1:Mf.tabindex,onKeydown:Kf,onFocus:unref(Od),onBlur:unref(Md)}),[unref(cd)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ad).be("picker","mask"))},null,2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(ad).be("picker","trigger")),onClick:eh},[createBaseVNode("span",{class:normalizeClass([unref(ad).be("picker","color"),unref(ad).is("alpha",Mf.showAlpha)])},[createBaseVNode("span",{class:normalizeClass(unref(ad).be("picker","color-inner")),style:normalizeStyle({backgroundColor:unref(Wd)})},[withDirectives(createVNode(unref(ElIcon),{class:normalizeClass([unref(ad).be("picker","icon"),unref(ad).is("icon-arrow-down")])},{default:withCtx(()=>[createVNode(unref(arrow_down_default))]),_:1},8,["class"]),[[vShow,Mf.modelValue||zd.value]]),withDirectives(createVNode(unref(ElIcon),{class:normalizeClass([unref(ad).be("picker","empty"),unref(ad).is("icon-close")])},{default:withCtx(()=>[createVNode(unref(close_default))]),_:1},8,["class"]),[[vShow,!Mf.modelValue&&!zd.value]])],6)],2)],2)],16,["id","aria-label","aria-labelledby","aria-description","aria-disabled","tabindex","onFocus","onBlur"])]),_:1},8,["visible","popper-class","teleported","transition","onHide"]))}});var ColorPicker=_export_sfc$1(_sfc_main$13,[["__file","color-picker.vue"]]);const ElColorPicker=withInstall(ColorPicker),overlayProps=buildProps({mask:{type:Boolean,default:!0},customMaskEvent:Boolean,overlayClass:{type:definePropType([String,Array,Object])},zIndex:{type:definePropType([String,Number])}}),overlayEmits={click:Ra=>Ra instanceof MouseEvent},BLOCK="overlay";var Overlay=defineComponent({name:"ElOverlay",props:overlayProps,emits:overlayEmits,setup(Ra,{slots:qa,emit:td}){const rd=useNamespace(BLOCK),nd=cd=>{td("click",cd)},{onClick:ad,onMousedown:sd,onMouseup:ud}=useSameTarget(Ra.customMaskEvent?void 0:nd);return()=>Ra.mask?createVNode("div",{class:[rd.b(),Ra.overlayClass],style:{zIndex:Ra.zIndex},onClick:ad,onMousedown:sd,onMouseup:ud},[renderSlot(qa,"default")],PatchFlags.STYLE|PatchFlags.CLASS|PatchFlags.PROPS,["onClick","onMouseup","onMousedown"]):h$1("div",{class:Ra.overlayClass,style:{zIndex:Ra.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[renderSlot(qa,"default")])}});const ElOverlay=Overlay,inputNumberProps=buildProps({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.POSITIVE_INFINITY},min:{type:Number,default:Number.NEGATIVE_INFINITY},modelValue:Number,readonly:Boolean,disabled:Boolean,size:useSizeProp,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:[String,Number,null],validator:Ra=>Ra===null||isNumber$4(Ra)||["min","max"].includes(Ra),default:null},name:String,placeholder:String,precision:{type:Number,validator:Ra=>Ra>=0&&Ra===Number.parseInt(`${Ra}`,10)},validateEvent:{type:Boolean,default:!0},...useAriaProps(["ariaLabel"])}),inputNumberEmits={[CHANGE_EVENT]:(Ra,qa)=>qa!==Ra,blur:Ra=>Ra instanceof FocusEvent,focus:Ra=>Ra instanceof FocusEvent,[INPUT_EVENT]:Ra=>isNumber$4(Ra)||isNil(Ra),[UPDATE_MODEL_EVENT]:Ra=>isNumber$4(Ra)||isNil(Ra)},__default__$b=defineComponent({name:"ElInputNumber"}),_sfc_main$12=defineComponent({...__default__$b,props:inputNumberProps,emits:inputNumberEmits,setup(Ra,{expose:qa,emit:td}){const rd=Ra,{t:nd}=useLocale(),ad=useNamespace("input-number"),sd=ref$1(),ud=reactive({currentValue:rd.modelValue,userInput:null}),{formItem:cd}=useFormItem(),dd=computed(()=>isNumber$4(rd.modelValue)&&rd.modelValue<=rd.min),pd=computed(()=>isNumber$4(rd.modelValue)&&rd.modelValue>=rd.max),fd=computed(()=>{const _f=Rd(rd.step);return isUndefined$1(rd.precision)?Math.max(Rd(rd.modelValue),_f):(_f>rd.precision,rd.precision)}),Td=computed(()=>rd.controls&&rd.controlsPosition==="right"),Ad=useFormSize(),Sd=useFormDisabled(),Dd=computed(()=>{if(ud.userInput!==null)return ud.userInput;let _f=ud.currentValue;if(isNil(_f))return"";if(isNumber$4(_f)){if(Number.isNaN(_f))return"";isUndefined$1(rd.precision)||(_f=_f.toFixed(rd.precision))}return _f}),Ld=(_f,vf)=>{if(isUndefined$1(vf)&&(vf=fd.value),vf===0)return Math.round(_f);let xf=String(_f);const Bf=xf.indexOf(".");if(Bf===-1||!xf.replace(".","").split("")[Bf+vf])return _f;const Vf=xf.length;return xf.charAt(Vf-1)==="5"&&(xf=`${xf.slice(0,Math.max(0,Vf-1))}6`),Number.parseFloat(Number(xf).toFixed(vf))},Rd=_f=>{if(isNil(_f))return 0;const vf=_f.toString(),xf=vf.indexOf(".");let Bf=0;return xf!==-1&&(Bf=vf.length-xf-1),Bf},Od=(_f,vf=1)=>isNumber$4(_f)?Ld(_f+rd.step*vf):ud.currentValue,Md=()=>{if(rd.readonly||Sd.value||pd.value)return;const _f=Number(Dd.value)||0,vf=Od(_f);Hd(vf),td(INPUT_EVENT,ud.currentValue),bf()},jd=()=>{if(rd.readonly||Sd.value||dd.value)return;const _f=Number(Dd.value)||0,vf=Od(_f,-1);Hd(vf),td(INPUT_EVENT,ud.currentValue),bf()},Ud=(_f,vf)=>{const{max:xf,min:Bf,step:Yf,precision:eh,stepStrictly:Vf,valueOnClear:Pf}=rd;xfxf||Ifxf?xf:Bf,vf&&td(UPDATE_MODEL_EVENT,If)),If},Hd=(_f,vf=!0)=>{var xf;const Bf=ud.currentValue,Yf=Ud(_f);if(!vf){td(UPDATE_MODEL_EVENT,Yf);return}Bf===Yf&&_f||(ud.userInput=null,td(UPDATE_MODEL_EVENT,Yf),Bf!==Yf&&td(CHANGE_EVENT,Yf,Bf),rd.validateEvent&&((xf=cd==null?void 0:cd.validate)==null||xf.call(cd,"change").catch(eh=>void 0)),ud.currentValue=Yf)},zd=_f=>{ud.userInput=_f;const vf=_f===""?null:Number(_f);td(INPUT_EVENT,vf),Hd(vf,!1)},Zd=_f=>{const vf=_f!==""?Number(_f):"";(isNumber$4(vf)&&!Number.isNaN(vf)||_f==="")&&Hd(vf),bf(),ud.userInput=null},Wd=()=>{var _f,vf;(vf=(_f=sd.value)==null?void 0:_f.focus)==null||vf.call(_f)},Qd=()=>{var _f,vf;(vf=(_f=sd.value)==null?void 0:_f.blur)==null||vf.call(_f)},Jd=_f=>{td("focus",_f)},hf=_f=>{var vf;ud.userInput=null,td("blur",_f),rd.validateEvent&&((vf=cd==null?void 0:cd.validate)==null||vf.call(cd,"blur").catch(xf=>void 0))},bf=()=>{ud.currentValue!==rd.modelValue&&(ud.currentValue=rd.modelValue)},Ef=_f=>{document.activeElement===_f.target&&_f.preventDefault()};return watch(()=>rd.modelValue,(_f,vf)=>{const xf=Ud(_f,!0);ud.userInput===null&&xf!==vf&&(ud.currentValue=xf)},{immediate:!0}),onMounted(()=>{var _f;const{min:vf,max:xf,modelValue:Bf}=rd,Yf=(_f=sd.value)==null?void 0:_f.input;if(Yf.setAttribute("role","spinbutton"),Number.isFinite(xf)?Yf.setAttribute("aria-valuemax",String(xf)):Yf.removeAttribute("aria-valuemax"),Number.isFinite(vf)?Yf.setAttribute("aria-valuemin",String(vf)):Yf.removeAttribute("aria-valuemin"),Yf.setAttribute("aria-valuenow",ud.currentValue||ud.currentValue===0?String(ud.currentValue):""),Yf.setAttribute("aria-disabled",String(Sd.value)),!isNumber$4(Bf)&&Bf!=null){let eh=Number(Bf);Number.isNaN(eh)&&(eh=null),td(UPDATE_MODEL_EVENT,eh)}Yf.addEventListener("wheel",Ef,{passive:!1})}),onUpdated(()=>{var _f,vf;const xf=(_f=sd.value)==null?void 0:_f.input;xf==null||xf.setAttribute("aria-valuenow",`${(vf=ud.currentValue)!=null?vf:""}`)}),qa({focus:Wd,blur:Qd}),(_f,vf)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(ad).b(),unref(ad).m(unref(Ad)),unref(ad).is("disabled",unref(Sd)),unref(ad).is("without-controls",!_f.controls),unref(ad).is("controls-right",unref(Td))]),onDragstart:withModifiers(()=>{},["prevent"])},[_f.controls?withDirectives((openBlock(),createElementBlock("span",{key:0,role:"button","aria-label":unref(nd)("el.inputNumber.decrease"),class:normalizeClass([unref(ad).e("decrease"),unref(ad).is("disabled",unref(dd))]),onKeydown:withKeys(jd,["enter"])},[renderSlot(_f.$slots,"decrease-icon",{},()=>[createVNode(unref(ElIcon),null,{default:withCtx(()=>[unref(Td)?(openBlock(),createBlock(unref(arrow_down_default),{key:0})):(openBlock(),createBlock(unref(minus_default),{key:1}))]),_:1})])],42,["aria-label","onKeydown"])),[[unref(vRepeatClick),jd]]):createCommentVNode("v-if",!0),_f.controls?withDirectives((openBlock(),createElementBlock("span",{key:1,role:"button","aria-label":unref(nd)("el.inputNumber.increase"),class:normalizeClass([unref(ad).e("increase"),unref(ad).is("disabled",unref(pd))]),onKeydown:withKeys(Md,["enter"])},[renderSlot(_f.$slots,"increase-icon",{},()=>[createVNode(unref(ElIcon),null,{default:withCtx(()=>[unref(Td)?(openBlock(),createBlock(unref(arrow_up_default),{key:0})):(openBlock(),createBlock(unref(plus_default),{key:1}))]),_:1})])],42,["aria-label","onKeydown"])),[[unref(vRepeatClick),Md]]):createCommentVNode("v-if",!0),createVNode(unref(ElInput),{id:_f.id,ref_key:"input",ref:sd,type:"number",step:_f.step,"model-value":unref(Dd),placeholder:_f.placeholder,readonly:_f.readonly,disabled:unref(Sd),size:unref(Ad),max:_f.max,min:_f.min,name:_f.name,"aria-label":_f.ariaLabel,"validate-event":!1,onKeydown:[withKeys(withModifiers(Md,["prevent"]),["up"]),withKeys(withModifiers(jd,["prevent"]),["down"])],onBlur:hf,onFocus:Jd,onInput:zd,onChange:Zd},null,8,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","onKeydown"])],42,["onDragstart"]))}});var InputNumber=_export_sfc$1(_sfc_main$12,[["__file","input-number.vue"]]);const ElInputNumber=withInstall(InputNumber),linkProps=buildProps({type:{type:String,values:["primary","success","warning","info","danger","default"],default:"default"},underline:{type:Boolean,default:!0},disabled:Boolean,href:{type:String,default:""},target:{type:String,default:"_self"},icon:{type:iconPropType}}),linkEmits={click:Ra=>Ra instanceof MouseEvent},__default__$a=defineComponent({name:"ElLink"}),_sfc_main$11=defineComponent({...__default__$a,props:linkProps,emits:linkEmits,setup(Ra,{emit:qa}){const td=Ra,rd=useNamespace("link"),nd=computed(()=>[rd.b(),rd.m(td.type),rd.is("disabled",td.disabled),rd.is("underline",td.underline&&!td.disabled)]);function ad(sd){td.disabled||qa("click",sd)}return(sd,ud)=>(openBlock(),createElementBlock("a",{class:normalizeClass(unref(nd)),href:sd.disabled||!sd.href?void 0:sd.href,target:sd.disabled||!sd.href?void 0:sd.target,onClick:ad},[sd.icon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(sd.icon)))]),_:1})):createCommentVNode("v-if",!0),sd.$slots.default?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(rd).e("inner"))},[renderSlot(sd.$slots,"default")],2)):createCommentVNode("v-if",!0),sd.$slots.icon?renderSlot(sd.$slots,"icon",{key:2}):createCommentVNode("v-if",!0)],10,["href","target"]))}});var Link=_export_sfc$1(_sfc_main$11,[["__file","link.vue"]]);const ElLink=withInstall(Link),selectGroupKey=Symbol("ElSelectGroup"),selectKey=Symbol("ElSelect");function useOption(Ra,qa){const td=inject(selectKey),rd=inject(selectGroupKey,{disabled:!1}),nd=computed(()=>pd(castArray(td.props.modelValue),Ra.value)),ad=computed(()=>{var Ad;if(td.props.multiple){const Sd=castArray((Ad=td.props.modelValue)!=null?Ad:[]);return!nd.value&&Sd.length>=td.props.multipleLimit&&td.props.multipleLimit>0}else return!1}),sd=computed(()=>Ra.label||(isObject$5(Ra.value)?"":Ra.value)),ud=computed(()=>Ra.value||Ra.label||""),cd=computed(()=>Ra.disabled||qa.groupDisabled||ad.value),dd=getCurrentInstance(),pd=(Ad=[],Sd)=>{if(isObject$5(Ra.value)){const Dd=td.props.valueKey;return Ad&&Ad.some(Ld=>toRaw(get$3(Ld,Dd))===get$3(Sd,Dd))}else return Ad&&Ad.includes(Sd)},fd=()=>{!Ra.disabled&&!rd.disabled&&(td.states.hoveringIndex=td.optionsArray.indexOf(dd.proxy))},Td=Ad=>{const Sd=new RegExp(escapeStringRegexp(Ad),"i");qa.visible=Sd.test(sd.value)||Ra.created};return watch(()=>sd.value,()=>{!Ra.created&&!td.props.remote&&td.setSelected()}),watch(()=>Ra.value,(Ad,Sd)=>{const{remote:Dd,valueKey:Ld}=td.props;if(Ad!==Sd&&(td.onOptionDestroy(Sd,dd.proxy),td.onOptionCreate(dd.proxy)),!Ra.created&&!Dd){if(Ld&&isObject$5(Ad)&&isObject$5(Sd)&&Ad[Ld]===Sd[Ld])return;td.setSelected()}}),watch(()=>rd.disabled,()=>{qa.groupDisabled=rd.disabled},{immediate:!0}),{select:td,currentLabel:sd,currentValue:ud,itemSelected:nd,isDisabled:cd,hoverItem:fd,updateOption:Td}}const _sfc_main$10=defineComponent({name:"ElOption",componentName:"ElOption",props:{value:{required:!0,type:[String,Number,Boolean,Object]},label:[String,Number],created:Boolean,disabled:Boolean},setup(Ra){const qa=useNamespace("select"),td=useId(),rd=computed(()=>[qa.be("dropdown","item"),qa.is("disabled",unref(ud)),qa.is("selected",unref(sd)),qa.is("hovering",unref(Td))]),nd=reactive({index:-1,groupDisabled:!1,visible:!0,hover:!1}),{currentLabel:ad,itemSelected:sd,isDisabled:ud,select:cd,hoverItem:dd,updateOption:pd}=useOption(Ra,nd),{visible:fd,hover:Td}=toRefs(nd),Ad=getCurrentInstance().proxy;cd.onOptionCreate(Ad),onBeforeUnmount(()=>{const Dd=Ad.value,{selected:Ld}=cd.states,Od=(cd.props.multiple?Ld:[Ld]).some(Md=>Md.value===Ad.value);nextTick$1(()=>{cd.states.cachedOptions.get(Dd)===Ad&&!Od&&cd.states.cachedOptions.delete(Dd)}),cd.onOptionDestroy(Dd,Ad)});function Sd(){ud.value||cd.handleOptionSelect(Ad)}return{ns:qa,id:td,containerKls:rd,currentLabel:ad,itemSelected:sd,isDisabled:ud,select:cd,hoverItem:dd,updateOption:pd,visible:fd,hover:Td,selectOptionClick:Sd,states:nd}}});function _sfc_render$4(Ra,qa,td,rd,nd,ad){return withDirectives((openBlock(),createElementBlock("li",{id:Ra.id,class:normalizeClass(Ra.containerKls),role:"option","aria-disabled":Ra.isDisabled||void 0,"aria-selected":Ra.itemSelected,onMouseenter:Ra.hoverItem,onClick:withModifiers(Ra.selectOptionClick,["stop"])},[renderSlot(Ra.$slots,"default",{},()=>[createBaseVNode("span",null,toDisplayString(Ra.currentLabel),1)])],42,["id","aria-disabled","aria-selected","onMouseenter","onClick"])),[[vShow,Ra.visible]])}var Option=_export_sfc$1(_sfc_main$10,[["render",_sfc_render$4],["__file","option.vue"]]);const _sfc_main$$=defineComponent({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const Ra=inject(selectKey),qa=useNamespace("select"),td=computed(()=>Ra.props.popperClass),rd=computed(()=>Ra.props.multiple),nd=computed(()=>Ra.props.fitInputWidth),ad=ref$1("");function sd(){var ud;ad.value=`${(ud=Ra.selectRef)==null?void 0:ud.offsetWidth}px`}return onMounted(()=>{sd(),useResizeObserver(Ra.selectRef,sd)}),{ns:qa,minWidth:ad,popperClass:td,isMultiple:rd,isFitInputWidth:nd}}});function _sfc_render$3(Ra,qa,td,rd,nd,ad){return openBlock(),createElementBlock("div",{class:normalizeClass([Ra.ns.b("dropdown"),Ra.ns.is("multiple",Ra.isMultiple),Ra.popperClass]),style:normalizeStyle({[Ra.isFitInputWidth?"width":"minWidth"]:Ra.minWidth})},[Ra.$slots.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(Ra.ns.be("dropdown","header"))},[renderSlot(Ra.$slots,"header")],2)):createCommentVNode("v-if",!0),renderSlot(Ra.$slots,"default"),Ra.$slots.footer?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(Ra.ns.be("dropdown","footer"))},[renderSlot(Ra.$slots,"footer")],2)):createCommentVNode("v-if",!0)],6)}var ElSelectMenu=_export_sfc$1(_sfc_main$$,[["render",_sfc_render$3],["__file","select-dropdown.vue"]]);const MINIMUM_INPUT_WIDTH=11,useSelect=(Ra,qa)=>{const{t:td}=useLocale(),rd=useId(),nd=useNamespace("select"),ad=useNamespace("input"),sd=reactive({inputValue:"",options:new Map,cachedOptions:new Map,disabledOptions:new Map,optionValues:[],selected:[],selectionWidth:0,calculatorWidth:0,collapseItemWidth:0,selectedLabel:"",hoveringIndex:-1,previousQuery:null,inputHovering:!1,menuVisibleOnFocus:!1,isBeforeHide:!1}),ud=ref$1(null),cd=ref$1(null),dd=ref$1(null),pd=ref$1(null),fd=ref$1(null),Td=ref$1(null),Ad=ref$1(null),Sd=ref$1(null),Dd=ref$1(null),Ld=ref$1(null),Rd=ref$1(null),Od=ref$1(null),{isComposing:Md,handleCompositionStart:jd,handleCompositionUpdate:Ud,handleCompositionEnd:Hd}=useComposition({afterComposition:um=>Bh(um)}),{wrapperRef:zd,isFocused:Zd}=useFocusController(fd,{beforeFocus(){return vf.value},afterFocus(){Ra.automaticDropdown&&!Wd.value&&(Wd.value=!0,sd.menuVisibleOnFocus=!0)},beforeBlur(um){var Cf,uh;return((Cf=dd.value)==null?void 0:Cf.isFocusInsideContent(um))||((uh=pd.value)==null?void 0:uh.isFocusInsideContent(um))},afterBlur(){Wd.value=!1,sd.menuVisibleOnFocus=!1}}),Wd=ref$1(!1),Qd=ref$1(),{form:Jd,formItem:hf}=useFormItem(),{inputId:bf}=useFormItemInputId(Ra,{formItemContext:hf}),{valueOnClear:Ef,isEmptyValue:_f}=useEmptyValues(Ra),vf=computed(()=>Ra.disabled||(Jd==null?void 0:Jd.disabled)),xf=computed(()=>isArray$2(Ra.modelValue)?Ra.modelValue.length>0:!_f(Ra.modelValue)),Bf=computed(()=>Ra.clearable&&!vf.value&&sd.inputHovering&&xf.value),Yf=computed(()=>Ra.remote&&Ra.filterable&&!Ra.remoteShowSuffix?"":Ra.suffixIcon),eh=computed(()=>nd.is("reverse",Yf.value&&Wd.value)),Vf=computed(()=>(hf==null?void 0:hf.validateState)||""),Pf=computed(()=>ValidateComponentsMap[Vf.value]),If=computed(()=>Ra.remote?300:0),$f=computed(()=>Ra.loading?Ra.loadingText||td("el.select.loading"):Ra.remote&&!sd.inputValue&&sd.options.size===0?!1:Ra.filterable&&sd.inputValue&&sd.options.size>0&&Zf.value===0?Ra.noMatchText||td("el.select.noMatch"):sd.options.size===0?Ra.noDataText||td("el.select.noData"):null),Zf=computed(()=>Kf.value.filter(um=>um.visible).length),Kf=computed(()=>{const um=Array.from(sd.options.values()),Cf=[];return sd.optionValues.forEach(uh=>{const th=um.findIndex(ch=>ch.value===uh);th>-1&&Cf.push(um[th])}),Cf.length>=um.length?Cf:um}),Tf=computed(()=>Array.from(sd.cachedOptions.values())),gf=computed(()=>{const um=Kf.value.filter(Cf=>!Cf.created).some(Cf=>Cf.currentLabel===sd.inputValue);return Ra.filterable&&Ra.allowCreate&&sd.inputValue!==""&&!um}),Mf=()=>{Ra.filterable&&isFunction$4(Ra.filterMethod)||Ra.filterable&&Ra.remote&&isFunction$4(Ra.remoteMethod)||Kf.value.forEach(um=>{var Cf;(Cf=um.updateOption)==null||Cf.call(um,sd.inputValue)})},Gf=useFormSize(),Qf=computed(()=>["small"].includes(Gf.value)?"small":"default"),Uf=computed({get(){return Wd.value&&$f.value!==!1},set(um){Wd.value=um}}),Df=computed(()=>{if(Ra.multiple&&!isUndefined$1(Ra.modelValue))return castArray(Ra.modelValue).length===0&&!sd.inputValue;const um=isArray$2(Ra.modelValue)?Ra.modelValue[0]:Ra.modelValue;return Ra.filterable||isUndefined$1(um)?!sd.inputValue:!0}),Xf=computed(()=>{var um;const Cf=(um=Ra.placeholder)!=null?um:td("el.select.placeholder");return Ra.multiple||!xf.value?Cf:sd.selectedLabel}),dh=computed(()=>isIOS$1?null:"mouseenter");watch(()=>Ra.modelValue,(um,Cf)=>{Ra.multiple&&Ra.filterable&&!Ra.reserveKeyword&&(sd.inputValue="",qf("")),Rf(),!isEqual(um,Cf)&&Ra.validateEvent&&(hf==null||hf.validate("change").catch(uh=>void 0))},{flush:"post",deep:!0}),watch(()=>Wd.value,um=>{um?qf(sd.inputValue):(sd.inputValue="",sd.previousQuery=null,sd.isBeforeHide=!0),qa("visible-change",um)}),watch(()=>sd.options.entries(),()=>{var um;if(!isClient$1)return;const Cf=((um=ud.value)==null?void 0:um.querySelectorAll("input"))||[];(!Ra.filterable&&!Ra.defaultFirstOption&&!isUndefined$1(Ra.modelValue)||!Array.from(Cf).includes(document.activeElement))&&Rf(),Ra.defaultFirstOption&&(Ra.filterable||Ra.remote)&&Zf.value&&wf()},{flush:"post"}),watch(()=>sd.hoveringIndex,um=>{isNumber$4(um)&&um>-1?Qd.value=Kf.value[um]||{}:Qd.value={},Kf.value.forEach(Cf=>{Cf.hover=Qd.value===Cf})}),watchEffect(()=>{sd.isBeforeHide||Mf()});const qf=um=>{sd.previousQuery===um||Md.value||(sd.previousQuery=um,Ra.filterable&&isFunction$4(Ra.filterMethod)?Ra.filterMethod(um):Ra.filterable&&Ra.remote&&isFunction$4(Ra.remoteMethod)&&Ra.remoteMethod(um),Ra.defaultFirstOption&&(Ra.filterable||Ra.remote)&&Zf.value?nextTick$1(wf):nextTick$1(lh))},wf=()=>{const um=Kf.value.filter(th=>th.visible&&!th.disabled&&!th.states.groupDisabled),Cf=um.find(th=>th.created),uh=um[0];sd.hoveringIndex=xh(Kf.value,Cf||uh)},Rf=()=>{if(Ra.multiple)sd.selectedLabel="";else{const Cf=isArray$2(Ra.modelValue)?Ra.modelValue[0]:Ra.modelValue,uh=jf(Cf);sd.selectedLabel=uh.currentLabel,sd.selected=[uh];return}const um=[];isUndefined$1(Ra.modelValue)||castArray(Ra.modelValue).forEach(Cf=>{um.push(jf(Cf))}),sd.selected=um},jf=um=>{let Cf;const uh=toRawType(um).toLowerCase()==="object",th=toRawType(um).toLowerCase()==="null",ch=toRawType(um).toLowerCase()==="undefined";for(let kh=sd.cachedOptions.size-1;kh>=0;kh--){const Rh=Tf.value[kh];if(uh?get$3(Rh.value,Ra.valueKey)===get$3(um,Ra.valueKey):Rh.value===um){Cf={value:um,currentLabel:Rh.currentLabel,get isDisabled(){return Rh.isDisabled}};break}}if(Cf)return Cf;const yh=uh?um.label:!th&&!ch?um:"";return{value:um,currentLabel:yh}},lh=()=>{sd.hoveringIndex=Kf.value.findIndex(um=>sd.selected.some(Cf=>L_(Cf)===L_(um)))},_h=()=>{sd.selectionWidth=cd.value.getBoundingClientRect().width},ih=()=>{sd.calculatorWidth=Td.value.getBoundingClientRect().width},wh=()=>{sd.collapseItemWidth=Rd.value.getBoundingClientRect().width},hh=()=>{var um,Cf;(Cf=(um=dd.value)==null?void 0:um.updatePopper)==null||Cf.call(um)},Th=()=>{var um,Cf;(Cf=(um=pd.value)==null?void 0:um.updatePopper)==null||Cf.call(um)},Vh=()=>{sd.inputValue.length>0&&!Wd.value&&(Wd.value=!0),qf(sd.inputValue)},Bh=um=>{if(sd.inputValue=um.target.value,Ra.remote)Yh();else return Vh()},Yh=debounce(()=>{Vh()},If.value),dm=um=>{isEqual(Ra.modelValue,um)||qa(CHANGE_EVENT,um)},nh=um=>findLastIndex(um,Cf=>!sd.disabledOptions.has(Cf)),Of=um=>{if(Ra.multiple&&um.code!==EVENT_CODE.delete&&um.target.value.length<=0){const Cf=castArray(Ra.modelValue).slice(),uh=nh(Cf);if(uh<0)return;const th=Cf[uh];Cf.splice(uh,1),qa(UPDATE_MODEL_EVENT,Cf),dm(Cf),qa("remove-tag",th)}},Nf=(um,Cf)=>{const uh=sd.selected.indexOf(Cf);if(uh>-1&&!vf.value){const th=castArray(Ra.modelValue).slice();th.splice(uh,1),qa(UPDATE_MODEL_EVENT,th),dm(th),qa("remove-tag",Cf.value)}um.stopPropagation(),Rm()},Jf=um=>{um.stopPropagation();const Cf=Ra.multiple?[]:Ef.value;if(Ra.multiple)for(const uh of sd.selected)uh.isDisabled&&Cf.push(uh.value);qa(UPDATE_MODEL_EVENT,Cf),dm(Cf),sd.hoveringIndex=-1,Wd.value=!1,qa("clear"),Rm()},oh=um=>{var Cf;if(Ra.multiple){const uh=castArray((Cf=Ra.modelValue)!=null?Cf:[]).slice(),th=xh(uh,um.value);th>-1?uh.splice(th,1):(Ra.multipleLimit<=0||uh.length{Oh(um)})},xh=(um=[],Cf)=>{if(!isObject$5(Cf))return um.indexOf(Cf);const uh=Ra.valueKey;let th=-1;return um.some((ch,yh)=>toRaw(get$3(ch,uh))===get$3(Cf,uh)?(th=yh,!0):!1),th},Oh=um=>{var Cf,uh,th,ch,yh;const vh=isArray$2(um)?um[0]:um;let kh=null;if(vh!=null&&vh.value){const Rh=Kf.value.filter(mh=>mh.value===vh.value);Rh.length>0&&(kh=Rh[0].$el)}if(dd.value&&kh){const Rh=(ch=(th=(uh=(Cf=dd.value)==null?void 0:Cf.popperRef)==null?void 0:uh.contentRef)==null?void 0:th.querySelector)==null?void 0:ch.call(th,`.${nd.be("dropdown","wrap")}`);Rh&&scrollIntoView(Rh,kh)}(yh=Od.value)==null||yh.handleScroll()},Xh=um=>{sd.options.set(um.value,um),sd.cachedOptions.set(um.value,um),um.disabled&&sd.disabledOptions.set(um.value,um)},gm=(um,Cf)=>{sd.options.get(um)===Cf&&sd.options.delete(um)},lm=computed(()=>{var um,Cf;return(Cf=(um=dd.value)==null?void 0:um.popperRef)==null?void 0:Cf.contentRef}),Hm=()=>{sd.isBeforeHide=!1,nextTick$1(()=>Oh(sd.selected))},Rm=()=>{var um;(um=fd.value)==null||um.focus()},Pm=()=>{var um;(um=fd.value)==null||um.blur()},e_=um=>{Jf(um)},U_=()=>{Wd.value=!1,Zd.value&&Pm()},C_=()=>{sd.inputValue.length>0?sd.inputValue="":Wd.value=!1},A_=()=>{vf.value||(isIOS$1&&(sd.inputHovering=!0),sd.menuVisibleOnFocus?sd.menuVisibleOnFocus=!1:Wd.value=!Wd.value)},Zm=()=>{Wd.value?Kf.value[sd.hoveringIndex]&&oh(Kf.value[sd.hoveringIndex]):A_()},L_=um=>isObject$5(um.value)?get$3(um.value,Ra.valueKey):um.value,V_=computed(()=>Kf.value.filter(um=>um.visible).every(um=>um.disabled)),Q_=computed(()=>Ra.multiple?Ra.collapseTags?sd.selected.slice(0,Ra.maxCollapseTags):sd.selected:[]),Z_=computed(()=>Ra.multiple?Ra.collapseTags?sd.selected.slice(Ra.maxCollapseTags):[]:[]),H_=um=>{if(!Wd.value){Wd.value=!0;return}if(!(sd.options.size===0||sd.filteredOptionsCount===0||Md.value)&&!V_.value){um==="next"?(sd.hoveringIndex++,sd.hoveringIndex===sd.options.size&&(sd.hoveringIndex=0)):um==="prev"&&(sd.hoveringIndex--,sd.hoveringIndex<0&&(sd.hoveringIndex=sd.options.size-1));const Cf=Kf.value[sd.hoveringIndex];(Cf.disabled===!0||Cf.states.groupDisabled===!0||!Cf.visible)&&H_(um),nextTick$1(()=>Oh(Qd.value))}},O_=()=>{if(!cd.value)return 0;const um=window.getComputedStyle(cd.value);return Number.parseFloat(um.gap||"6px")},$m=computed(()=>{const um=O_();return{maxWidth:`${Rd.value&&Ra.maxCollapseTags===1?sd.selectionWidth-sd.collapseItemWidth-um:sd.selectionWidth}px`}}),Rg=computed(()=>({maxWidth:`${sd.selectionWidth}px`})),Hg=computed(()=>({width:`${Math.max(sd.calculatorWidth,MINIMUM_INPUT_WIDTH)}px`}));return useResizeObserver(cd,_h),useResizeObserver(Td,ih),useResizeObserver(Dd,hh),useResizeObserver(zd,hh),useResizeObserver(Ld,Th),useResizeObserver(Rd,wh),onMounted(()=>{Rf()}),{inputId:bf,contentId:rd,nsSelect:nd,nsInput:ad,states:sd,isFocused:Zd,expanded:Wd,optionsArray:Kf,hoverOption:Qd,selectSize:Gf,filteredOptionsCount:Zf,resetCalculatorWidth:ih,updateTooltip:hh,updateTagTooltip:Th,debouncedOnInputChange:Yh,onInput:Bh,deletePrevTag:Of,deleteTag:Nf,deleteSelected:Jf,handleOptionSelect:oh,scrollToOption:Oh,hasModelValue:xf,shouldShowPlaceholder:Df,currentPlaceholder:Xf,mouseEnterEventName:dh,showClose:Bf,iconComponent:Yf,iconReverse:eh,validateState:Vf,validateIcon:Pf,showNewOption:gf,updateOptions:Mf,collapseTagSize:Qf,setSelected:Rf,selectDisabled:vf,emptyText:$f,handleCompositionStart:jd,handleCompositionUpdate:Ud,handleCompositionEnd:Hd,onOptionCreate:Xh,onOptionDestroy:gm,handleMenuEnter:Hm,focus:Rm,blur:Pm,handleClearClick:e_,handleClickOutside:U_,handleEsc:C_,toggleMenu:A_,selectOption:Zm,getValueKey:L_,navigateOptions:H_,dropdownMenuVisible:Uf,showTagList:Q_,collapseTagList:Z_,tagStyle:$m,collapseTagStyle:Rg,inputStyle:Hg,popperRef:lm,inputRef:fd,tooltipRef:dd,tagTooltipRef:pd,calculatorRef:Td,prefixRef:Ad,suffixRef:Sd,selectRef:ud,wrapperRef:zd,selectionRef:cd,scrollbarRef:Od,menuRef:Dd,tagMenuRef:Ld,collapseItemRef:Rd}};var ElOptions=defineComponent({name:"ElOptions",setup(Ra,{slots:qa}){const td=inject(selectKey);let rd=[];return()=>{var nd,ad;const sd=(nd=qa.default)==null?void 0:nd.call(qa),ud=[];function cd(dd){isArray$2(dd)&&dd.forEach(pd=>{var fd,Td,Ad,Sd;const Dd=(fd=(pd==null?void 0:pd.type)||{})==null?void 0:fd.name;Dd==="ElOptionGroup"?cd(!isString$3(pd.children)&&!isArray$2(pd.children)&&isFunction$4((Td=pd.children)==null?void 0:Td.default)?(Ad=pd.children)==null?void 0:Ad.default():pd.children):Dd==="ElOption"?ud.push((Sd=pd.props)==null?void 0:Sd.value):isArray$2(pd.children)&&cd(pd.children)})}return sd.length&&cd((ad=sd[0])==null?void 0:ad.children),isEqual(ud,rd)||(rd=ud,td&&(td.states.optionValues=ud)),sd}}});const SelectProps=buildProps({name:String,id:String,modelValue:{type:[Array,String,Number,Boolean,Object],default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:useSizeProp,effect:{type:definePropType(String),default:"light"},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperOptions:{type:definePropType(Object),default:()=>({})},remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},teleported:useTooltipContentProps.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:iconPropType,default:circle_close_default},fitInputWidth:Boolean,suffixIcon:{type:iconPropType,default:arrow_down_default},tagType:{...tagProps.type,default:"info"},tagEffect:{...tagProps.effect,default:"light"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,placement:{type:definePropType(String),values:Ee$4,default:"bottom-start"},fallbackPlacements:{type:definePropType(Array),default:["bottom-start","top-start","right","left"]},...useEmptyValuesProps,...useAriaProps(["ariaLabel"])}),COMPONENT_NAME$5="ElSelect",_sfc_main$_=defineComponent({name:COMPONENT_NAME$5,componentName:COMPONENT_NAME$5,components:{ElSelectMenu,ElOption:Option,ElOptions,ElTag,ElScrollbar,ElTooltip,ElIcon},directives:{ClickOutside},props:SelectProps,emits:[UPDATE_MODEL_EVENT,CHANGE_EVENT,"remove-tag","clear","visible-change","focus","blur"],setup(Ra,{emit:qa}){const td=computed(()=>{const{modelValue:ad,multiple:sd}=Ra,ud=sd?[]:void 0;return isArray$2(ad)?sd?ad:ud:sd?ud:ad}),rd=reactive({...toRefs(Ra),modelValue:td}),nd=useSelect(rd,qa);return provide(selectKey,reactive({props:rd,states:nd.states,optionsArray:nd.optionsArray,handleOptionSelect:nd.handleOptionSelect,onOptionCreate:nd.onOptionCreate,onOptionDestroy:nd.onOptionDestroy,selectRef:nd.selectRef,setSelected:nd.setSelected})),{...nd,modelValue:td}}});function _sfc_render$2(Ra,qa,td,rd,nd,ad){const sd=resolveComponent("el-tag"),ud=resolveComponent("el-tooltip"),cd=resolveComponent("el-icon"),dd=resolveComponent("el-option"),pd=resolveComponent("el-options"),fd=resolveComponent("el-scrollbar"),Td=resolveComponent("el-select-menu"),Ad=resolveDirective("click-outside");return withDirectives((openBlock(),createElementBlock("div",{ref:"selectRef",class:normalizeClass([Ra.nsSelect.b(),Ra.nsSelect.m(Ra.selectSize)]),[toHandlerKey(Ra.mouseEnterEventName)]:Sd=>Ra.states.inputHovering=!0,onMouseleave:Sd=>Ra.states.inputHovering=!1},[createVNode(ud,{ref:"tooltipRef",visible:Ra.dropdownMenuVisible,placement:Ra.placement,teleported:Ra.teleported,"popper-class":[Ra.nsSelect.e("popper"),Ra.popperClass],"popper-options":Ra.popperOptions,"fallback-placements":Ra.fallbackPlacements,effect:Ra.effect,pure:"",trigger:"click",transition:`${Ra.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:Ra.persistent,onBeforeShow:Ra.handleMenuEnter,onHide:Sd=>Ra.states.isBeforeHide=!1},{default:withCtx(()=>{var Sd;return[createBaseVNode("div",{ref:"wrapperRef",class:normalizeClass([Ra.nsSelect.e("wrapper"),Ra.nsSelect.is("focused",Ra.isFocused),Ra.nsSelect.is("hovering",Ra.states.inputHovering),Ra.nsSelect.is("filterable",Ra.filterable),Ra.nsSelect.is("disabled",Ra.selectDisabled)]),onClick:withModifiers(Ra.toggleMenu,["prevent"])},[Ra.$slots.prefix?(openBlock(),createElementBlock("div",{key:0,ref:"prefixRef",class:normalizeClass(Ra.nsSelect.e("prefix"))},[renderSlot(Ra.$slots,"prefix")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{ref:"selectionRef",class:normalizeClass([Ra.nsSelect.e("selection"),Ra.nsSelect.is("near",Ra.multiple&&!Ra.$slots.prefix&&!!Ra.states.selected.length)])},[Ra.multiple?renderSlot(Ra.$slots,"tag",{key:0},()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ra.showTagList,Dd=>(openBlock(),createElementBlock("div",{key:Ra.getValueKey(Dd),class:normalizeClass(Ra.nsSelect.e("selected-item"))},[createVNode(sd,{closable:!Ra.selectDisabled&&!Dd.isDisabled,size:Ra.collapseTagSize,type:Ra.tagType,effect:Ra.tagEffect,"disable-transitions":"",style:normalizeStyle(Ra.tagStyle),onClose:Ld=>Ra.deleteTag(Ld,Dd)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(Ra.nsSelect.e("tags-text"))},[renderSlot(Ra.$slots,"label",{label:Dd.currentLabel,value:Dd.value},()=>[createTextVNode(toDisplayString(Dd.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","style","onClose"])],2))),128)),Ra.collapseTags&&Ra.states.selected.length>Ra.maxCollapseTags?(openBlock(),createBlock(ud,{key:0,ref:"tagTooltipRef",disabled:Ra.dropdownMenuVisible||!Ra.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:Ra.effect,placement:"bottom",teleported:Ra.teleported},{default:withCtx(()=>[createBaseVNode("div",{ref:"collapseItemRef",class:normalizeClass(Ra.nsSelect.e("selected-item"))},[createVNode(sd,{closable:!1,size:Ra.collapseTagSize,type:Ra.tagType,effect:Ra.tagEffect,"disable-transitions":"",style:normalizeStyle(Ra.collapseTagStyle)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(Ra.nsSelect.e("tags-text"))}," + "+toDisplayString(Ra.states.selected.length-Ra.maxCollapseTags),3)]),_:1},8,["size","type","effect","style"])],2)]),content:withCtx(()=>[createBaseVNode("div",{ref:"tagMenuRef",class:normalizeClass(Ra.nsSelect.e("selection"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ra.collapseTagList,Dd=>(openBlock(),createElementBlock("div",{key:Ra.getValueKey(Dd),class:normalizeClass(Ra.nsSelect.e("selected-item"))},[createVNode(sd,{class:"in-tooltip",closable:!Ra.selectDisabled&&!Dd.isDisabled,size:Ra.collapseTagSize,type:Ra.tagType,effect:Ra.tagEffect,"disable-transitions":"",onClose:Ld=>Ra.deleteTag(Ld,Dd)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(Ra.nsSelect.e("tags-text"))},[renderSlot(Ra.$slots,"label",{label:Dd.currentLabel,value:Dd.value},()=>[createTextVNode(toDisplayString(Dd.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","onClose"])],2))),128))],2)]),_:3},8,["disabled","effect","teleported"])):createCommentVNode("v-if",!0)]):createCommentVNode("v-if",!0),Ra.selectDisabled?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([Ra.nsSelect.e("selected-item"),Ra.nsSelect.e("input-wrapper"),Ra.nsSelect.is("hidden",!Ra.filterable)])},[withDirectives(createBaseVNode("input",{id:Ra.inputId,ref:"inputRef","onUpdate:modelValue":Dd=>Ra.states.inputValue=Dd,type:"text",name:Ra.name,class:normalizeClass([Ra.nsSelect.e("input"),Ra.nsSelect.is(Ra.selectSize)]),disabled:Ra.selectDisabled,autocomplete:Ra.autocomplete,style:normalizeStyle(Ra.inputStyle),role:"combobox",readonly:!Ra.filterable,spellcheck:"false","aria-activedescendant":((Sd=Ra.hoverOption)==null?void 0:Sd.id)||"","aria-controls":Ra.contentId,"aria-expanded":Ra.dropdownMenuVisible,"aria-label":Ra.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onKeydown:[withKeys(withModifiers(Dd=>Ra.navigateOptions("next"),["stop","prevent"]),["down"]),withKeys(withModifiers(Dd=>Ra.navigateOptions("prev"),["stop","prevent"]),["up"]),withKeys(withModifiers(Ra.handleEsc,["stop","prevent"]),["esc"]),withKeys(withModifiers(Ra.selectOption,["stop","prevent"]),["enter"]),withKeys(withModifiers(Ra.deletePrevTag,["stop"]),["delete"])],onCompositionstart:Ra.handleCompositionStart,onCompositionupdate:Ra.handleCompositionUpdate,onCompositionend:Ra.handleCompositionEnd,onInput:Ra.onInput,onClick:withModifiers(Ra.toggleMenu,["stop"])},null,46,["id","onUpdate:modelValue","name","disabled","autocomplete","readonly","aria-activedescendant","aria-controls","aria-expanded","aria-label","onKeydown","onCompositionstart","onCompositionupdate","onCompositionend","onInput","onClick"]),[[vModelText,Ra.states.inputValue]]),Ra.filterable?(openBlock(),createElementBlock("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:normalizeClass(Ra.nsSelect.e("input-calculator")),textContent:toDisplayString(Ra.states.inputValue)},null,10,["textContent"])):createCommentVNode("v-if",!0)],2)),Ra.shouldShowPlaceholder?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass([Ra.nsSelect.e("selected-item"),Ra.nsSelect.e("placeholder"),Ra.nsSelect.is("transparent",!Ra.hasModelValue||Ra.expanded&&!Ra.states.inputValue)])},[Ra.hasModelValue?renderSlot(Ra.$slots,"label",{key:0,label:Ra.currentPlaceholder,value:Ra.modelValue},()=>[createBaseVNode("span",null,toDisplayString(Ra.currentPlaceholder),1)]):(openBlock(),createElementBlock("span",{key:1},toDisplayString(Ra.currentPlaceholder),1))],2)):createCommentVNode("v-if",!0)],2),createBaseVNode("div",{ref:"suffixRef",class:normalizeClass(Ra.nsSelect.e("suffix"))},[Ra.iconComponent&&!Ra.showClose?(openBlock(),createBlock(cd,{key:0,class:normalizeClass([Ra.nsSelect.e("caret"),Ra.nsSelect.e("icon"),Ra.iconReverse])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ra.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),Ra.showClose&&Ra.clearIcon?(openBlock(),createBlock(cd,{key:1,class:normalizeClass([Ra.nsSelect.e("caret"),Ra.nsSelect.e("icon"),Ra.nsSelect.e("clear")]),onClick:Ra.handleClearClick},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ra.clearIcon)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),Ra.validateState&&Ra.validateIcon?(openBlock(),createBlock(cd,{key:2,class:normalizeClass([Ra.nsInput.e("icon"),Ra.nsInput.e("validateIcon")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ra.validateIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],10,["onClick"])]}),content:withCtx(()=>[createVNode(Td,{ref:"menuRef"},{default:withCtx(()=>[Ra.$slots.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(Ra.nsSelect.be("dropdown","header")),onClick:withModifiers(()=>{},["stop"])},[renderSlot(Ra.$slots,"header")],10,["onClick"])):createCommentVNode("v-if",!0),withDirectives(createVNode(fd,{id:Ra.contentId,ref:"scrollbarRef",tag:"ul","wrap-class":Ra.nsSelect.be("dropdown","wrap"),"view-class":Ra.nsSelect.be("dropdown","list"),class:normalizeClass([Ra.nsSelect.is("empty",Ra.filteredOptionsCount===0)]),role:"listbox","aria-label":Ra.ariaLabel,"aria-orientation":"vertical"},{default:withCtx(()=>[Ra.showNewOption?(openBlock(),createBlock(dd,{key:0,value:Ra.states.inputValue,created:!0},null,8,["value"])):createCommentVNode("v-if",!0),createVNode(pd,null,{default:withCtx(()=>[renderSlot(Ra.$slots,"default")]),_:3})]),_:3},8,["id","wrap-class","view-class","class","aria-label"]),[[vShow,Ra.states.options.size>0&&!Ra.loading]]),Ra.$slots.loading&&Ra.loading?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(Ra.nsSelect.be("dropdown","loading"))},[renderSlot(Ra.$slots,"loading")],2)):Ra.loading||Ra.filteredOptionsCount===0?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(Ra.nsSelect.be("dropdown","empty"))},[renderSlot(Ra.$slots,"empty",{},()=>[createBaseVNode("span",null,toDisplayString(Ra.emptyText),1)])],2)):createCommentVNode("v-if",!0),Ra.$slots.footer?(openBlock(),createElementBlock("div",{key:3,class:normalizeClass(Ra.nsSelect.be("dropdown","footer")),onClick:withModifiers(()=>{},["stop"])},[renderSlot(Ra.$slots,"footer")],10,["onClick"])):createCommentVNode("v-if",!0)]),_:3},512)]),_:3},8,["visible","placement","teleported","popper-class","popper-options","fallback-placements","effect","transition","persistent","onBeforeShow","onHide"])],16,["onMouseleave"])),[[Ad,Ra.handleClickOutside,Ra.popperRef]])}var Select=_export_sfc$1(_sfc_main$_,[["render",_sfc_render$2],["__file","select.vue"]]);const _sfc_main$Z=defineComponent({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(Ra){const qa=useNamespace("select"),td=ref$1(null),rd=getCurrentInstance(),nd=ref$1([]);provide(selectGroupKey,reactive({...toRefs(Ra)}));const ad=computed(()=>nd.value.some(dd=>dd.visible===!0)),sd=dd=>{var pd,fd;return((pd=dd.type)==null?void 0:pd.name)==="ElOption"&&!!((fd=dd.component)!=null&&fd.proxy)},ud=dd=>{const pd=castArray(dd),fd=[];return pd.forEach(Td=>{var Ad,Sd;sd(Td)?fd.push(Td.component.proxy):(Ad=Td.children)!=null&&Ad.length?fd.push(...ud(Td.children)):(Sd=Td.component)!=null&&Sd.subTree&&fd.push(...ud(Td.component.subTree))}),fd},cd=()=>{nd.value=ud(rd.subTree)};return onMounted(()=>{cd()}),useMutationObserver(td,cd,{attributes:!0,subtree:!0,childList:!0}),{groupRef:td,visible:ad,ns:qa}}});function _sfc_render$1(Ra,qa,td,rd,nd,ad){return withDirectives((openBlock(),createElementBlock("ul",{ref:"groupRef",class:normalizeClass(Ra.ns.be("group","wrap"))},[createBaseVNode("li",{class:normalizeClass(Ra.ns.be("group","title"))},toDisplayString(Ra.label),3),createBaseVNode("li",null,[createBaseVNode("ul",{class:normalizeClass(Ra.ns.b("group"))},[renderSlot(Ra.$slots,"default")],2)])],2)),[[vShow,Ra.visible]])}var OptionGroup=_export_sfc$1(_sfc_main$Z,[["render",_sfc_render$1],["__file","option-group.vue"]]);const ElSelect=withInstall(Select,{Option,OptionGroup}),ElOption=withNoopInstall(Option);withNoopInstall(OptionGroup);const progressProps=buildProps({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:Ra=>Ra>=0&&Ra<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:Boolean,duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:definePropType(String),default:"round"},textInside:Boolean,width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:definePropType([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:definePropType(Function),default:Ra=>`${Ra}%`}}),__default__$9=defineComponent({name:"ElProgress"}),_sfc_main$Y=defineComponent({...__default__$9,props:progressProps,setup(Ra){const qa=Ra,td={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},rd=useNamespace("progress"),nd=computed(()=>{const Md={width:`${qa.percentage}%`,animationDuration:`${qa.duration}s`},jd=Od(qa.percentage);return jd.includes("gradient")?Md.background=jd:Md.backgroundColor=jd,Md}),ad=computed(()=>(qa.strokeWidth/qa.width*100).toFixed(1)),sd=computed(()=>["circle","dashboard"].includes(qa.type)?Number.parseInt(`${50-Number.parseFloat(ad.value)/2}`,10):0),ud=computed(()=>{const Md=sd.value,jd=qa.type==="dashboard";return` M 50 50 - m 0 ${Ld?"":"-"}${Md} - a ${Md} ${Md} 0 1 1 0 ${Ld?"-":""}${Md*2} - a ${Md} ${Md} 0 1 1 0 ${Ld?"":"-"}${Md*2} - `}),ud=computed(()=>2*Math.PI*od.value),cd=computed(()=>qa.type==="dashboard"?.75:1),dd=computed(()=>`${-1*ud.value*(1-cd.value)/2}px`),_d=computed(()=>({strokeDasharray:`${ud.value*cd.value}px, ${ud.value}px`,strokeDashoffset:dd.value})),Ed=computed(()=>({strokeDasharray:`${ud.value*cd.value*(qa.percentage/100)}px, ${ud.value}px`,strokeDashoffset:dd.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),Ad=computed(()=>{let Md;return qa.color?Md=Od(qa.percentage):Md=ed[qa.status]||ed.default,Md}),Td=computed(()=>qa.status==="warning"?warning_filled_default:qa.type==="line"?qa.status==="success"?circle_check_default:circle_close_default:qa.status==="success"?check_default:close_default),Id=computed(()=>qa.type==="line"?12+qa.strokeWidth*.4:qa.width*.111111+2),Bd=computed(()=>qa.format(qa.percentage));function Rd(Md){const Ld=100/Md.length;return Md.map((jd,Vd)=>isString$3(jd)?{color:jd,percentage:(Vd+1)*Ld}:jd).sort((jd,Vd)=>jd.percentage-Vd.percentage)}const Od=Md=>{var Ld;const{color:Fd}=qa;if(isFunction$4(Fd))return Fd(Md);if(isString$3(Fd))return Fd;{const jd=Rd(Fd);for(const Vd of jd)if(Vd.percentage>Md)return Vd.color;return(Ld=jd[jd.length-1])==null?void 0:Ld.color}};return(Md,Ld)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(td).b(),unref(td).m(Md.type),unref(td).is(Md.status),{[unref(td).m("without-text")]:!Md.showText,[unref(td).m("text-inside")]:Md.textInside}]),role:"progressbar","aria-valuenow":Md.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[Md.type==="line"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(td).b("bar"))},[createBaseVNode("div",{class:normalizeClass(unref(td).be("bar","outer")),style:normalizeStyle({height:`${Md.strokeWidth}px`})},[createBaseVNode("div",{class:normalizeClass([unref(td).be("bar","inner"),{[unref(td).bem("bar","inner","indeterminate")]:Md.indeterminate},{[unref(td).bem("bar","inner","striped")]:Md.striped},{[unref(td).bem("bar","inner","striped-flow")]:Md.stripedFlow}]),style:normalizeStyle(unref(rd))},[(Md.showText||Md.$slots.default)&&Md.textInside?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(td).be("bar","innerText"))},[renderSlot(Md.$slots,"default",{percentage:Md.percentage},()=>[createBaseVNode("span",null,toDisplayString(unref(Bd)),1)])],2)):createCommentVNode("v-if",!0)],6)],6)],2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(td).b("circle")),style:normalizeStyle({height:`${Md.width}px`,width:`${Md.width}px`})},[(openBlock(),createElementBlock("svg",{viewBox:"0 0 100 100"},[createBaseVNode("path",{class:normalizeClass(unref(td).be("circle","track")),d:unref(ld),stroke:`var(${unref(td).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":Md.strokeLinecap,"stroke-width":unref(sd),fill:"none",style:normalizeStyle(unref(_d))},null,14,["d","stroke","stroke-linecap","stroke-width"]),createBaseVNode("path",{class:normalizeClass(unref(td).be("circle","path")),d:unref(ld),stroke:unref(Ad),fill:"none",opacity:Md.percentage?1:0,"stroke-linecap":Md.strokeLinecap,"stroke-width":unref(sd),style:normalizeStyle(unref(Ed))},null,14,["d","stroke","opacity","stroke-linecap","stroke-width"])]))],6)),(Md.showText||Md.$slots.default)&&!Md.textInside?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(td).e("text")),style:normalizeStyle({fontSize:`${unref(Id)}px`})},[renderSlot(Md.$slots,"default",{percentage:Md.percentage},()=>[Md.status?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Td))))]),_:1})):(openBlock(),createElementBlock("span",{key:0},toDisplayString(unref(Bd)),1))])],6)):createCommentVNode("v-if",!0)],10,["aria-valuenow"]))}});var Progress=_export_sfc$1(_sfc_main$Y,[["__file","progress.vue"]]);const ElProgress=withInstall(Progress),switchProps=buildProps({modelValue:{type:[Boolean,String,Number],default:!1},disabled:Boolean,loading:Boolean,size:{type:String,validator:isValidComponentSize},width:{type:[String,Number],default:""},inlinePrompt:Boolean,inactiveActionIcon:{type:iconPropType},activeActionIcon:{type:iconPropType},activeIcon:{type:iconPropType},inactiveIcon:{type:iconPropType},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:definePropType(Function)},id:String,tabindex:{type:[String,Number]},...useAriaProps(["ariaLabel"])}),switchEmits={[UPDATE_MODEL_EVENT]:Ra=>isBoolean$3(Ra)||isString$3(Ra)||isNumber$4(Ra),[CHANGE_EVENT]:Ra=>isBoolean$3(Ra)||isString$3(Ra)||isNumber$4(Ra),[INPUT_EVENT]:Ra=>isBoolean$3(Ra)||isString$3(Ra)||isNumber$4(Ra)},COMPONENT_NAME$4="ElSwitch",__default__$8=defineComponent({name:COMPONENT_NAME$4}),_sfc_main$X=defineComponent({...__default__$8,props:switchProps,emits:switchEmits,setup(Ra,{expose:qa,emit:ed}){const td=Ra,{formItem:rd}=useFormItem(),sd=useFormSize(),od=useNamespace("switch"),{inputId:ld}=useFormItemInputId(td,{formItemContext:rd}),ud=useFormDisabled(computed(()=>td.loading)),cd=ref$1(td.modelValue!==!1),dd=ref$1(),_d=ref$1(),Ed=computed(()=>[od.b(),od.m(sd.value),od.is("disabled",ud.value),od.is("checked",Rd.value)]),Ad=computed(()=>[od.e("label"),od.em("label","left"),od.is("active",!Rd.value)]),Td=computed(()=>[od.e("label"),od.em("label","right"),od.is("active",Rd.value)]),Id=computed(()=>({width:addUnit(td.width)}));watch(()=>td.modelValue,()=>{cd.value=!0});const Bd=computed(()=>cd.value?td.modelValue:!1),Rd=computed(()=>Bd.value===td.activeValue);[td.activeValue,td.inactiveValue].includes(Bd.value)||(ed(UPDATE_MODEL_EVENT,td.inactiveValue),ed(CHANGE_EVENT,td.inactiveValue),ed(INPUT_EVENT,td.inactiveValue)),watch(Rd,Fd=>{var jd;dd.value.checked=Fd,td.validateEvent&&((jd=rd==null?void 0:rd.validate)==null||jd.call(rd,"change").catch(Vd=>void 0))});const Od=()=>{const Fd=Rd.value?td.inactiveValue:td.activeValue;ed(UPDATE_MODEL_EVENT,Fd),ed(CHANGE_EVENT,Fd),ed(INPUT_EVENT,Fd),nextTick$1(()=>{dd.value.checked=Rd.value})},Md=()=>{if(ud.value)return;const{beforeChange:Fd}=td;if(!Fd){Od();return}const jd=Fd();[isPromise(jd),isBoolean$3(jd)].includes(!0)||throwError$1(COMPONENT_NAME$4,"beforeChange must return type `Promise` or `boolean`"),isPromise(jd)?jd.then(Qd=>{Qd&&Od()}).catch(Qd=>{}):jd&&Od()},Ld=()=>{var Fd,jd;(jd=(Fd=dd.value)==null?void 0:Fd.focus)==null||jd.call(Fd)};return onMounted(()=>{dd.value.checked=Rd.value}),qa({focus:Ld,checked:Rd}),(Fd,jd)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Ed)),onClick:withModifiers(Md,["prevent"])},[createBaseVNode("input",{id:unref(ld),ref_key:"input",ref:dd,class:normalizeClass(unref(od).e("input")),type:"checkbox",role:"switch","aria-checked":unref(Rd),"aria-disabled":unref(ud),"aria-label":Fd.ariaLabel,name:Fd.name,"true-value":Fd.activeValue,"false-value":Fd.inactiveValue,disabled:unref(ud),tabindex:Fd.tabindex,onChange:Od,onKeydown:withKeys(Md,["enter"])},null,42,["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex","onKeydown"]),!Fd.inlinePrompt&&(Fd.inactiveIcon||Fd.inactiveText)?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(Ad))},[Fd.inactiveIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Fd.inactiveIcon)))]),_:1})):createCommentVNode("v-if",!0),!Fd.inactiveIcon&&Fd.inactiveText?(openBlock(),createElementBlock("span",{key:1,"aria-hidden":unref(Rd)},toDisplayString(Fd.inactiveText),9,["aria-hidden"])):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("span",{ref_key:"core",ref:_d,class:normalizeClass(unref(od).e("core")),style:normalizeStyle(unref(Id))},[Fd.inlinePrompt?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(od).e("inner"))},[Fd.activeIcon||Fd.inactiveIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(od).is("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Rd)?Fd.activeIcon:Fd.inactiveIcon)))]),_:1},8,["class"])):Fd.activeText||Fd.inactiveText?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(od).is("text")),"aria-hidden":!unref(Rd)},toDisplayString(unref(Rd)?Fd.activeText:Fd.inactiveText),11,["aria-hidden"])):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(od).e("action"))},[Fd.loading?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(od).is("loading"))},{default:withCtx(()=>[createVNode(unref(loading_default))]),_:1},8,["class"])):unref(Rd)?renderSlot(Fd.$slots,"active-action",{key:1},()=>[Fd.activeActionIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Fd.activeActionIcon)))]),_:1})):createCommentVNode("v-if",!0)]):unref(Rd)?createCommentVNode("v-if",!0):renderSlot(Fd.$slots,"inactive-action",{key:2},()=>[Fd.inactiveActionIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Fd.inactiveActionIcon)))]),_:1})):createCommentVNode("v-if",!0)])],2)],6),!Fd.inlinePrompt&&(Fd.activeIcon||Fd.activeText)?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(Td))},[Fd.activeIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Fd.activeIcon)))]),_:1})):createCommentVNode("v-if",!0),!Fd.activeIcon&&Fd.activeText?(openBlock(),createElementBlock("span",{key:1,"aria-hidden":!unref(Rd)},toDisplayString(Fd.activeText),9,["aria-hidden"])):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0)],10,["onClick"]))}});var Switch=_export_sfc$1(_sfc_main$X,[["__file","switch.vue"]]);const ElSwitch=withInstall(Switch),tabsRootContextKey=Symbol("tabsRootContextKey"),tabBarProps=buildProps({tabs:{type:definePropType(Array),default:()=>mutable([])}}),COMPONENT_NAME$3="ElTabBar",__default__$7=defineComponent({name:COMPONENT_NAME$3}),_sfc_main$W=defineComponent({...__default__$7,props:tabBarProps,setup(Ra,{expose:qa}){const ed=Ra,td=getCurrentInstance(),rd=inject(tabsRootContextKey);rd||throwError$1(COMPONENT_NAME$3,"");const sd=useNamespace("tabs"),od=ref$1(),ld=ref$1(),ud=()=>{let Ad=0,Td=0;const Id=["top","bottom"].includes(rd.props.tabPosition)?"width":"height",Bd=Id==="width"?"x":"y",Rd=Bd==="x"?"left":"top";return ed.tabs.every(Od=>{var Md,Ld;const Fd=(Ld=(Md=td.parent)==null?void 0:Md.refs)==null?void 0:Ld[`tab-${Od.uid}`];if(!Fd)return!1;if(!Od.active)return!0;Ad=Fd[`offset${capitalize(Rd)}`],Td=Fd[`client${capitalize(Id)}`];const jd=window.getComputedStyle(Fd);return Id==="width"&&(Td-=Number.parseFloat(jd.paddingLeft)+Number.parseFloat(jd.paddingRight),Ad+=Number.parseFloat(jd.paddingLeft)),!1}),{[Id]:`${Td}px`,transform:`translate${capitalize(Bd)}(${Ad}px)`}},cd=()=>ld.value=ud(),dd=[],_d=()=>{var Ad;dd.forEach(Id=>Id.stop()),dd.length=0;const Td=(Ad=td.parent)==null?void 0:Ad.refs;if(Td){for(const Id in Td)if(Id.startsWith("tab-")){const Bd=Td[Id];Bd&&dd.push(useResizeObserver(Bd,cd))}}};watch(()=>ed.tabs,async()=>{await nextTick$1(),cd(),_d()},{immediate:!0});const Ed=useResizeObserver(od,()=>cd());return onBeforeUnmount(()=>{dd.forEach(Ad=>Ad.stop()),dd.length=0,Ed.stop()}),qa({ref:od,update:cd}),(Ad,Td)=>(openBlock(),createElementBlock("div",{ref_key:"barRef",ref:od,class:normalizeClass([unref(sd).e("active-bar"),unref(sd).is(unref(rd).props.tabPosition)]),style:normalizeStyle(ld.value)},null,6))}});var TabBar=_export_sfc$1(_sfc_main$W,[["__file","tab-bar.vue"]]);const tabNavProps=buildProps({panes:{type:definePropType(Array),default:()=>mutable([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean}),tabNavEmits={tabClick:(Ra,qa,ed)=>ed instanceof Event,tabRemove:(Ra,qa)=>qa instanceof Event},COMPONENT_NAME$2="ElTabNav",TabNav=defineComponent({name:COMPONENT_NAME$2,props:tabNavProps,emits:tabNavEmits,setup(Ra,{expose:qa,emit:ed}){const td=inject(tabsRootContextKey);td||throwError$1(COMPONENT_NAME$2,"");const rd=useNamespace("tabs"),sd=useDocumentVisibility(),od=useWindowFocus(),ld=ref$1(),ud=ref$1(),cd=ref$1(),dd=ref$1(),_d=ref$1(!1),Ed=ref$1(0),Ad=ref$1(!1),Td=ref$1(!0),Id=computed(()=>["top","bottom"].includes(td.props.tabPosition)?"width":"height"),Bd=computed(()=>({transform:`translate${Id.value==="width"?"X":"Y"}(-${Ed.value}px)`})),Rd=()=>{if(!ld.value)return;const Qd=ld.value[`offset${capitalize(Id.value)}`],qd=Ed.value;if(!qd)return;const Kd=qd>Qd?qd-Qd:0;Ed.value=Kd},Od=()=>{if(!ld.value||!ud.value)return;const Qd=ud.value[`offset${capitalize(Id.value)}`],qd=ld.value[`offset${capitalize(Id.value)}`],Kd=Ed.value;if(Qd-Kd<=qd)return;const Xd=Qd-Kd>qd*2?Kd+qd:Qd-qd;Ed.value=Xd},Md=async()=>{const Qd=ud.value;if(!_d.value||!cd.value||!ld.value||!Qd)return;await nextTick$1();const qd=cd.value.querySelector(".is-active");if(!qd)return;const Kd=ld.value,Xd=["top","bottom"].includes(td.props.tabPosition),df=qd.getBoundingClientRect(),mf=Kd.getBoundingClientRect(),bf=Xd?Qd.offsetWidth-mf.width:Qd.offsetHeight-mf.height,pf=Ed.value;let _f=pf;Xd?(df.leftmf.right&&(_f=pf+df.right-mf.right)):(df.topmf.bottom&&(_f=pf+(df.bottom-mf.bottom))),_f=Math.max(_f,0),Ed.value=Math.min(_f,bf)},Ld=()=>{var Qd;if(!ud.value||!ld.value)return;Ra.stretch&&((Qd=dd.value)==null||Qd.update());const qd=ud.value[`offset${capitalize(Id.value)}`],Kd=ld.value[`offset${capitalize(Id.value)}`],Xd=Ed.value;Kd0&&(Ed.value=0))},Fd=Qd=>{const qd=Qd.code,{up:Kd,down:Xd,left:df,right:mf}=EVENT_CODE;if(![Kd,Xd,df,mf].includes(qd))return;const bf=Array.from(Qd.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)")),pf=bf.indexOf(Qd.target);let _f;qd===df||qd===Kd?pf===0?_f=bf.length-1:_f=pf-1:pf{Td.value&&(Ad.value=!0)},Vd=()=>Ad.value=!1;return watch(sd,Qd=>{Qd==="hidden"?Td.value=!1:Qd==="visible"&&setTimeout(()=>Td.value=!0,50)}),watch(od,Qd=>{Qd?setTimeout(()=>Td.value=!0,50):Td.value=!1}),useResizeObserver(cd,Ld),onMounted(()=>setTimeout(()=>Md(),0)),onUpdated(()=>Ld()),qa({scrollToActiveTab:Md,removeFocus:Vd}),()=>{const Qd=_d.value?[createVNode("span",{class:[rd.e("nav-prev"),rd.is("disabled",!_d.value.prev)],onClick:Rd},[createVNode(ElIcon,null,{default:()=>[createVNode(arrow_left_default,null,null)]})]),createVNode("span",{class:[rd.e("nav-next"),rd.is("disabled",!_d.value.next)],onClick:Od},[createVNode(ElIcon,null,{default:()=>[createVNode(arrow_right_default,null,null)]})])]:null,qd=Ra.panes.map((Kd,Xd)=>{var df,mf,bf,pf;const _f=Kd.uid,Tf=Kd.props.disabled,kf=(mf=(df=Kd.props.name)!=null?df:Kd.index)!=null?mf:`${Xd}`,zf=!Tf&&(Kd.isClosable||Ra.editable);Kd.index=`${Xd}`;const Jf=zf?createVNode(ElIcon,{class:"is-icon-close",onClick:Nf=>ed("tabRemove",Kd,Nf)},{default:()=>[createVNode(close_default,null,null)]}):null,Gf=((pf=(bf=Kd.slots).label)==null?void 0:pf.call(bf))||Kd.props.label,Mf=!Tf&&Kd.active?0:-1;return createVNode("div",{ref:`tab-${_f}`,class:[rd.e("item"),rd.is(td.props.tabPosition),rd.is("active",Kd.active),rd.is("disabled",Tf),rd.is("closable",zf),rd.is("focus",Ad.value)],id:`tab-${kf}`,key:`tab-${_f}`,"aria-controls":`pane-${kf}`,role:"tab","aria-selected":Kd.active,tabindex:Mf,onFocus:()=>jd(),onBlur:()=>Vd(),onClick:Nf=>{Vd(),ed("tabClick",Kd,kf,Nf)},onKeydown:Nf=>{zf&&(Nf.code===EVENT_CODE.delete||Nf.code===EVENT_CODE.backspace)&&ed("tabRemove",Kd,Nf)}},[Gf,Jf])});return createVNode("div",{ref:cd,class:[rd.e("nav-wrap"),rd.is("scrollable",!!_d.value),rd.is(td.props.tabPosition)]},[Qd,createVNode("div",{class:rd.e("nav-scroll"),ref:ld},[createVNode("div",{class:[rd.e("nav"),rd.is(td.props.tabPosition),rd.is("stretch",Ra.stretch&&["top","bottom"].includes(td.props.tabPosition))],ref:ud,style:Bd.value,role:"tablist",onKeydown:Fd},[Ra.type?null:createVNode(TabBar,{ref:dd,tabs:[...Ra.panes]},null),qd])])])}}}),tabsProps=buildProps({type:{type:String,values:["card","border-card",""],default:""},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:definePropType(Function),default:()=>!0},stretch:Boolean}),isPaneName=Ra=>isString$3(Ra)||isNumber$4(Ra),tabsEmits={[UPDATE_MODEL_EVENT]:Ra=>isPaneName(Ra),tabClick:(Ra,qa)=>qa instanceof Event,tabChange:Ra=>isPaneName(Ra),edit:(Ra,qa)=>["remove","add"].includes(qa),tabRemove:Ra=>isPaneName(Ra),tabAdd:()=>!0},Tabs=defineComponent({name:"ElTabs",props:tabsProps,emits:tabsEmits,setup(Ra,{emit:qa,slots:ed,expose:td}){var rd;const sd=useNamespace("tabs"),od=computed(()=>["left","right"].includes(Ra.tabPosition)),{children:ld,addChild:ud,removeChild:cd}=useOrderedChildren(getCurrentInstance(),"ElTabPane"),dd=ref$1(),_d=ref$1((rd=Ra.modelValue)!=null?rd:"0"),Ed=async(Rd,Od=!1)=>{var Md,Ld,Fd;if(!(_d.value===Rd||isUndefined$1(Rd)))try{await((Md=Ra.beforeLeave)==null?void 0:Md.call(Ra,Rd,_d.value))!==!1&&(_d.value=Rd,Od&&(qa(UPDATE_MODEL_EVENT,Rd),qa("tabChange",Rd)),(Fd=(Ld=dd.value)==null?void 0:Ld.removeFocus)==null||Fd.call(Ld))}catch{}},Ad=(Rd,Od,Md)=>{Rd.props.disabled||(Ed(Od,!0),qa("tabClick",Rd,Md))},Td=(Rd,Od)=>{Rd.props.disabled||isUndefined$1(Rd.props.name)||(Od.stopPropagation(),qa("edit",Rd.props.name,"remove"),qa("tabRemove",Rd.props.name))},Id=()=>{qa("edit",void 0,"add"),qa("tabAdd")};watch(()=>Ra.modelValue,Rd=>Ed(Rd)),watch(_d,async()=>{var Rd;await nextTick$1(),(Rd=dd.value)==null||Rd.scrollToActiveTab()}),provide(tabsRootContextKey,{props:Ra,currentName:_d,registerPane:Rd=>{ld.value.push(Rd)},sortPane:ud,unregisterPane:cd}),td({currentName:_d});const Bd=({render:Rd})=>Rd();return()=>{const Rd=ed["add-icon"],Od=Ra.editable||Ra.addable?createVNode("div",{class:[sd.e("new-tab"),od.value&&sd.e("new-tab-vertical")],tabindex:"0",onClick:Id,onKeydown:Fd=>{Fd.code===EVENT_CODE.enter&&Id()}},[Rd?renderSlot(ed,"add-icon"):createVNode(ElIcon,{class:sd.is("icon-plus")},{default:()=>[createVNode(plus_default,null,null)]})]):null,Md=createVNode("div",{class:[sd.e("header"),od.value&&sd.e("header-vertical"),sd.is(Ra.tabPosition)]},[createVNode(Bd,{render:()=>{const Fd=ld.value.some(jd=>jd.slots.label);return createVNode(TabNav,{ref:dd,currentName:_d.value,editable:Ra.editable,type:Ra.type,panes:ld.value,stretch:Ra.stretch,onTabClick:Ad,onTabRemove:Td},{$stable:!Fd})}},null),Od]),Ld=createVNode("div",{class:sd.e("content")},[renderSlot(ed,"default")]);return createVNode("div",{class:[sd.b(),sd.m(Ra.tabPosition),{[sd.m("card")]:Ra.type==="card",[sd.m("border-card")]:Ra.type==="border-card"}]},[Ld,Md])}}}),tabPaneProps=buildProps({label:{type:String,default:""},name:{type:[String,Number]},closable:Boolean,disabled:Boolean,lazy:Boolean}),COMPONENT_NAME$1="ElTabPane",__default__$6=defineComponent({name:COMPONENT_NAME$1}),_sfc_main$V=defineComponent({...__default__$6,props:tabPaneProps,setup(Ra){const qa=Ra,ed=getCurrentInstance(),td=useSlots(),rd=inject(tabsRootContextKey);rd||throwError$1(COMPONENT_NAME$1,"usage: ");const sd=useNamespace("tab-pane"),od=ref$1(),ld=computed(()=>qa.closable||rd.props.closable),ud=computedEager(()=>{var Ad;return rd.currentName.value===((Ad=qa.name)!=null?Ad:od.value)}),cd=ref$1(ud.value),dd=computed(()=>{var Ad;return(Ad=qa.name)!=null?Ad:od.value}),_d=computedEager(()=>!qa.lazy||cd.value||ud.value);watch(ud,Ad=>{Ad&&(cd.value=!0)});const Ed=reactive({uid:ed.uid,slots:td,props:qa,paneName:dd,active:ud,index:od,isClosable:ld});return rd.registerPane(Ed),onMounted(()=>{rd.sortPane(Ed)}),onUnmounted(()=>{rd.unregisterPane(Ed.uid)}),(Ad,Td)=>unref(_d)?withDirectives((openBlock(),createElementBlock("div",{key:0,id:`pane-${unref(dd)}`,class:normalizeClass(unref(sd).b()),role:"tabpanel","aria-hidden":!unref(ud),"aria-labelledby":`tab-${unref(dd)}`},[renderSlot(Ad.$slots,"default")],10,["id","aria-hidden","aria-labelledby"])),[[vShow,unref(ud)]]):createCommentVNode("v-if",!0)}});var TabPane=_export_sfc$1(_sfc_main$V,[["__file","tab-pane.vue"]]);const ElTabs=withInstall(Tabs,{TabPane}),ElTabPane=withNoopInstall(TabPane),uploadContextKey=Symbol("uploadContextKey"),SCOPE$1="ElUpload";class UploadAjaxError extends Error{constructor(qa,ed,td,rd){super(qa),this.name="UploadAjaxError",this.status=ed,this.method=td,this.url=rd}}function getError(Ra,qa,ed){let td;return ed.response?td=`${ed.response.error||ed.response}`:ed.responseText?td=`${ed.responseText}`:td=`fail to ${qa.method} ${Ra} ${ed.status}`,new UploadAjaxError(td,ed.status,qa.method,Ra)}function getBody(Ra){const qa=Ra.responseText||Ra.response;if(!qa)return qa;try{return JSON.parse(qa)}catch{return qa}}const ajaxUpload=Ra=>{typeof XMLHttpRequest>"u"&&throwError$1(SCOPE$1,"XMLHttpRequest is undefined");const qa=new XMLHttpRequest,ed=Ra.action;qa.upload&&qa.upload.addEventListener("progress",sd=>{const od=sd;od.percent=sd.total>0?sd.loaded/sd.total*100:0,Ra.onProgress(od)});const td=new FormData;if(Ra.data)for(const[sd,od]of Object.entries(Ra.data))isArray$2(od)&&od.length?td.append(sd,...od):td.append(sd,od);td.append(Ra.filename,Ra.file,Ra.file.name),qa.addEventListener("error",()=>{Ra.onError(getError(ed,Ra,qa))}),qa.addEventListener("load",()=>{if(qa.status<200||qa.status>=300)return Ra.onError(getError(ed,Ra,qa));Ra.onSuccess(getBody(qa))}),qa.open(Ra.method,ed,!0),Ra.withCredentials&&"withCredentials"in qa&&(qa.withCredentials=!0);const rd=Ra.headers||{};if(rd instanceof Headers)rd.forEach((sd,od)=>qa.setRequestHeader(od,sd));else for(const[sd,od]of Object.entries(rd))isNil(od)||qa.setRequestHeader(sd,String(od));return qa.send(td),qa},uploadListTypes=["text","picture","picture-card"];let fileId=1;const genFileId=()=>Date.now()+fileId++,uploadBaseProps=buildProps({action:{type:String,default:"#"},headers:{type:definePropType(Object)},method:{type:String,default:"post"},data:{type:definePropType([Object,Function,Promise]),default:()=>mutable({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:definePropType(Array),default:()=>mutable([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:uploadListTypes,default:"text"},httpRequest:{type:definePropType(Function),default:ajaxUpload},disabled:Boolean,limit:Number}),uploadProps=buildProps({...uploadBaseProps,beforeUpload:{type:definePropType(Function),default:NOOP},beforeRemove:{type:definePropType(Function)},onRemove:{type:definePropType(Function),default:NOOP},onChange:{type:definePropType(Function),default:NOOP},onPreview:{type:definePropType(Function),default:NOOP},onSuccess:{type:definePropType(Function),default:NOOP},onProgress:{type:definePropType(Function),default:NOOP},onError:{type:definePropType(Function),default:NOOP},onExceed:{type:definePropType(Function),default:NOOP},crossorigin:{type:definePropType(String)}}),uploadListProps=buildProps({files:{type:definePropType(Array),default:()=>mutable([])},disabled:{type:Boolean,default:!1},handlePreview:{type:definePropType(Function),default:NOOP},listType:{type:String,values:uploadListTypes,default:"text"},crossorigin:{type:definePropType(String)}}),uploadListEmits={remove:Ra=>!!Ra},__default__$5=defineComponent({name:"ElUploadList"}),_sfc_main$U=defineComponent({...__default__$5,props:uploadListProps,emits:uploadListEmits,setup(Ra,{emit:qa}){const ed=Ra,{t:td}=useLocale(),rd=useNamespace("upload"),sd=useNamespace("icon"),od=useNamespace("list"),ld=useFormDisabled(),ud=ref$1(!1),cd=computed(()=>[rd.b("list"),rd.bm("list",ed.listType),rd.is("disabled",ed.disabled)]),dd=_d=>{qa("remove",_d)};return(_d,Ed)=>(openBlock(),createBlock(TransitionGroup,{tag:"ul",class:normalizeClass(unref(cd)),name:unref(od).b()},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(_d.files,(Ad,Td)=>(openBlock(),createElementBlock("li",{key:Ad.uid||Ad.name,class:normalizeClass([unref(rd).be("list","item"),unref(rd).is(Ad.status),{focusing:ud.value}]),tabindex:"0",onKeydown:withKeys(Id=>!unref(ld)&&dd(Ad),["delete"]),onFocus:Id=>ud.value=!0,onBlur:Id=>ud.value=!1,onClick:Id=>ud.value=!1},[renderSlot(_d.$slots,"default",{file:Ad,index:Td},()=>[_d.listType==="picture"||Ad.status!=="uploading"&&_d.listType==="picture-card"?(openBlock(),createElementBlock("img",{key:0,class:normalizeClass(unref(rd).be("list","item-thumbnail")),src:Ad.url,crossorigin:_d.crossorigin,alt:""},null,10,["src","crossorigin"])):createCommentVNode("v-if",!0),Ad.status==="uploading"||_d.listType!=="picture-card"?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(rd).be("list","item-info"))},[createBaseVNode("a",{class:normalizeClass(unref(rd).be("list","item-name")),onClick:withModifiers(Id=>_d.handlePreview(Ad),["prevent"])},[createVNode(unref(ElIcon),{class:normalizeClass(unref(sd).m("document"))},{default:withCtx(()=>[createVNode(unref(document_default))]),_:1},8,["class"]),createBaseVNode("span",{class:normalizeClass(unref(rd).be("list","item-file-name")),title:Ad.name},toDisplayString(Ad.name),11,["title"])],10,["onClick"]),Ad.status==="uploading"?(openBlock(),createBlock(unref(ElProgress),{key:0,type:_d.listType==="picture-card"?"circle":"line","stroke-width":_d.listType==="picture-card"?6:2,percentage:Number(Ad.percentage),style:normalizeStyle(_d.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("label",{class:normalizeClass(unref(rd).be("list","item-status-label"))},[_d.listType==="text"?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(sd).m("upload-success"),unref(sd).m("circle-check")])},{default:withCtx(()=>[createVNode(unref(circle_check_default))]),_:1},8,["class"])):["picture-card","picture"].includes(_d.listType)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(sd).m("upload-success"),unref(sd).m("check")])},{default:withCtx(()=>[createVNode(unref(check_default))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2),unref(ld)?createCommentVNode("v-if",!0):(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass(unref(sd).m("close")),onClick:Id=>dd(Ad)},{default:withCtx(()=>[createVNode(unref(close_default))]),_:2},1032,["class","onClick"])),createCommentVNode(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),createCommentVNode(" This is a bug which needs to be fixed "),createCommentVNode(" TODO: Fix the incorrect navigation interaction "),unref(ld)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("i",{key:3,class:normalizeClass(unref(sd).m("close-tip"))},toDisplayString(unref(td)("el.upload.deleteTip")),3)),_d.listType==="picture-card"?(openBlock(),createElementBlock("span",{key:4,class:normalizeClass(unref(rd).be("list","item-actions"))},[createBaseVNode("span",{class:normalizeClass(unref(rd).be("list","item-preview")),onClick:Id=>_d.handlePreview(Ad)},[createVNode(unref(ElIcon),{class:normalizeClass(unref(sd).m("zoom-in"))},{default:withCtx(()=>[createVNode(unref(zoom_in_default))]),_:1},8,["class"])],10,["onClick"]),unref(ld)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(rd).be("list","item-delete")),onClick:Id=>dd(Ad)},[createVNode(unref(ElIcon),{class:normalizeClass(unref(sd).m("delete"))},{default:withCtx(()=>[createVNode(unref(delete_default))]),_:1},8,["class"])],10,["onClick"]))],2)):createCommentVNode("v-if",!0)])],42,["onKeydown","onFocus","onBlur","onClick"]))),128)),renderSlot(_d.$slots,"append")]),_:3},8,["class","name"]))}});var UploadList=_export_sfc$1(_sfc_main$U,[["__file","upload-list.vue"]]);const uploadDraggerProps=buildProps({disabled:{type:Boolean,default:!1}}),uploadDraggerEmits={file:Ra=>isArray$2(Ra)},COMPONENT_NAME="ElUploadDrag",__default__$4=defineComponent({name:COMPONENT_NAME}),_sfc_main$T=defineComponent({...__default__$4,props:uploadDraggerProps,emits:uploadDraggerEmits,setup(Ra,{emit:qa}){inject(uploadContextKey)||throwError$1(COMPONENT_NAME,"usage: ");const td=useNamespace("upload"),rd=ref$1(!1),sd=useFormDisabled(),od=ud=>{if(sd.value)return;rd.value=!1,ud.stopPropagation();const cd=Array.from(ud.dataTransfer.files);qa("file",cd)},ld=()=>{sd.value||(rd.value=!0)};return(ud,cd)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(td).b("dragger"),unref(td).is("dragover",rd.value)]),onDrop:withModifiers(od,["prevent"]),onDragover:withModifiers(ld,["prevent"]),onDragleave:withModifiers(dd=>rd.value=!1,["prevent"])},[renderSlot(ud.$slots,"default")],42,["onDrop","onDragover","onDragleave"]))}});var UploadDragger=_export_sfc$1(_sfc_main$T,[["__file","upload-dragger.vue"]]);const uploadContentProps=buildProps({...uploadBaseProps,beforeUpload:{type:definePropType(Function),default:NOOP},onRemove:{type:definePropType(Function),default:NOOP},onStart:{type:definePropType(Function),default:NOOP},onSuccess:{type:definePropType(Function),default:NOOP},onProgress:{type:definePropType(Function),default:NOOP},onError:{type:definePropType(Function),default:NOOP},onExceed:{type:definePropType(Function),default:NOOP}}),__default__$3=defineComponent({name:"ElUploadContent",inheritAttrs:!1}),_sfc_main$S=defineComponent({...__default__$3,props:uploadContentProps,setup(Ra,{expose:qa}){const ed=Ra,td=useNamespace("upload"),rd=useFormDisabled(),sd=shallowRef({}),od=shallowRef(),ld=Id=>{if(Id.length===0)return;const{autoUpload:Bd,limit:Rd,fileList:Od,multiple:Md,onStart:Ld,onExceed:Fd}=ed;if(Rd&&Od.length+Id.length>Rd){Fd(Id,Od);return}Md||(Id=Id.slice(0,1));for(const jd of Id){const Vd=jd;Vd.uid=genFileId(),Ld(Vd),Bd&&ud(Vd)}},ud=async Id=>{if(od.value.value="",!ed.beforeUpload)return dd(Id);let Bd,Rd={};try{const Md=ed.data,Ld=ed.beforeUpload(Id);Rd=isPlainObject$3(ed.data)?cloneDeep$1(ed.data):ed.data,Bd=await Ld,isPlainObject$3(ed.data)&&isEqual(Md,Rd)&&(Rd=cloneDeep$1(ed.data))}catch{Bd=!1}if(Bd===!1){ed.onRemove(Id);return}let Od=Id;Bd instanceof Blob&&(Bd instanceof File?Od=Bd:Od=new File([Bd],Id.name,{type:Id.type})),dd(Object.assign(Od,{uid:Id.uid}),Rd)},cd=async(Id,Bd)=>isFunction$4(Id)?Id(Bd):Id,dd=async(Id,Bd)=>{const{headers:Rd,data:Od,method:Md,withCredentials:Ld,name:Fd,action:jd,onProgress:Vd,onSuccess:Qd,onError:qd,httpRequest:Kd}=ed;try{Bd=await cd(Bd??Od,Id)}catch{ed.onRemove(Id);return}const{uid:Xd}=Id,df={headers:Rd||{},withCredentials:Ld,file:Id,data:Bd,method:Md,filename:Fd,action:jd,onProgress:bf=>{Vd(bf,Id)},onSuccess:bf=>{Qd(bf,Id),delete sd.value[Xd]},onError:bf=>{qd(bf,Id),delete sd.value[Xd]}},mf=Kd(df);sd.value[Xd]=mf,mf instanceof Promise&&mf.then(df.onSuccess,df.onError)},_d=Id=>{const Bd=Id.target.files;Bd&&ld(Array.from(Bd))},Ed=()=>{rd.value||(od.value.value="",od.value.click())},Ad=()=>{Ed()};return qa({abort:Id=>{entriesOf(sd.value).filter(Id?([Rd])=>String(Id.uid)===Rd:()=>!0).forEach(([Rd,Od])=>{Od instanceof XMLHttpRequest&&Od.abort(),delete sd.value[Rd]})},upload:ud}),(Id,Bd)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(td).b(),unref(td).m(Id.listType),unref(td).is("drag",Id.drag),unref(td).is("disabled",unref(rd))]),tabindex:unref(rd)?"-1":"0",onClick:Ed,onKeydown:withKeys(withModifiers(Ad,["self"]),["enter","space"])},[Id.drag?(openBlock(),createBlock(UploadDragger,{key:0,disabled:unref(rd),onFile:ld},{default:withCtx(()=>[renderSlot(Id.$slots,"default")]),_:3},8,["disabled"])):renderSlot(Id.$slots,"default",{key:1}),createBaseVNode("input",{ref_key:"inputRef",ref:od,class:normalizeClass(unref(td).e("input")),name:Id.name,disabled:unref(rd),multiple:Id.multiple,accept:Id.accept,type:"file",onChange:_d,onClick:withModifiers(()=>{},["stop"])},null,42,["name","disabled","multiple","accept","onClick"])],42,["tabindex","onKeydown"]))}});var UploadContent=_export_sfc$1(_sfc_main$S,[["__file","upload-content.vue"]]);const SCOPE="ElUpload",revokeFileObjectURL=Ra=>{var qa;(qa=Ra.url)!=null&&qa.startsWith("blob:")&&URL.revokeObjectURL(Ra.url)},useHandlers=(Ra,qa)=>{const ed=useVModel(Ra,"fileList",void 0,{passive:!0}),td=Ad=>ed.value.find(Td=>Td.uid===Ad.uid);function rd(Ad){var Td;(Td=qa.value)==null||Td.abort(Ad)}function sd(Ad=["ready","uploading","success","fail"]){ed.value=ed.value.filter(Td=>!Ad.includes(Td.status))}function od(Ad){ed.value=ed.value.filter(Td=>Td!==Ad)}const ld=(Ad,Td)=>{const Id=td(Td);Id&&(console.error(Ad),Id.status="fail",od(Id),Ra.onError(Ad,Id,ed.value),Ra.onChange(Id,ed.value))},ud=(Ad,Td)=>{const Id=td(Td);Id&&(Ra.onProgress(Ad,Id,ed.value),Id.status="uploading",Id.percentage=Math.round(Ad.percent))},cd=(Ad,Td)=>{const Id=td(Td);Id&&(Id.status="success",Id.response=Ad,Ra.onSuccess(Ad,Id,ed.value),Ra.onChange(Id,ed.value))},dd=Ad=>{isNil(Ad.uid)&&(Ad.uid=genFileId());const Td={name:Ad.name,percentage:0,status:"ready",size:Ad.size,raw:Ad,uid:Ad.uid};if(Ra.listType==="picture-card"||Ra.listType==="picture")try{Td.url=URL.createObjectURL(Ad)}catch(Id){Id.message,Ra.onError(Id,Td,ed.value)}ed.value=[...ed.value,Td],Ra.onChange(Td,ed.value)},_d=async Ad=>{const Td=Ad instanceof File?td(Ad):Ad;Td||throwError$1(SCOPE,"file to be removed not found");const Id=Bd=>{rd(Bd),od(Bd),Ra.onRemove(Bd,ed.value),revokeFileObjectURL(Bd)};Ra.beforeRemove?await Ra.beforeRemove(Td,ed.value)!==!1&&Id(Td):Id(Td)};function Ed(){ed.value.filter(({status:Ad})=>Ad==="ready").forEach(({raw:Ad})=>{var Td;return Ad&&((Td=qa.value)==null?void 0:Td.upload(Ad))})}return watch(()=>Ra.listType,Ad=>{Ad!=="picture-card"&&Ad!=="picture"||(ed.value=ed.value.map(Td=>{const{raw:Id,url:Bd}=Td;if(!Bd&&Id)try{Td.url=URL.createObjectURL(Id)}catch(Rd){Ra.onError(Rd,Td,ed.value)}return Td}))}),watch(ed,Ad=>{for(const Td of Ad)Td.uid||(Td.uid=genFileId()),Td.status||(Td.status="success")},{immediate:!0,deep:!0}),{uploadFiles:ed,abort:rd,clearFiles:sd,handleError:ld,handleProgress:ud,handleStart:dd,handleSuccess:cd,handleRemove:_d,submit:Ed,revokeFileObjectURL}},__default__$2=defineComponent({name:"ElUpload"}),_sfc_main$R=defineComponent({...__default__$2,props:uploadProps,setup(Ra,{expose:qa}){const ed=Ra,td=useFormDisabled(),rd=shallowRef(),{abort:sd,submit:od,clearFiles:ld,uploadFiles:ud,handleStart:cd,handleError:dd,handleRemove:_d,handleSuccess:Ed,handleProgress:Ad,revokeFileObjectURL:Td}=useHandlers(ed,rd),Id=computed(()=>ed.listType==="picture-card"),Bd=computed(()=>({...ed,fileList:ud.value,onStart:cd,onProgress:Ad,onSuccess:Ed,onError:dd,onRemove:_d}));return onBeforeUnmount(()=>{ud.value.forEach(Td)}),provide(uploadContextKey,{accept:toRef$1(ed,"accept")}),qa({abort:sd,submit:od,clearFiles:ld,handleStart:cd,handleRemove:_d}),(Rd,Od)=>(openBlock(),createElementBlock("div",null,[unref(Id)&&Rd.showFileList?(openBlock(),createBlock(UploadList,{key:0,disabled:unref(td),"list-type":Rd.listType,files:unref(ud),crossorigin:Rd.crossorigin,"handle-preview":Rd.onPreview,onRemove:unref(_d)},createSlots({append:withCtx(()=>[createVNode(UploadContent,mergeProps({ref_key:"uploadRef",ref:rd},unref(Bd)),{default:withCtx(()=>[Rd.$slots.trigger?renderSlot(Rd.$slots,"trigger",{key:0}):createCommentVNode("v-if",!0),!Rd.$slots.trigger&&Rd.$slots.default?renderSlot(Rd.$slots,"default",{key:1}):createCommentVNode("v-if",!0)]),_:3},16)]),_:2},[Rd.$slots.file?{name:"default",fn:withCtx(({file:Md,index:Ld})=>[renderSlot(Rd.$slots,"file",{file:Md,index:Ld})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):createCommentVNode("v-if",!0),!unref(Id)||unref(Id)&&!Rd.showFileList?(openBlock(),createBlock(UploadContent,mergeProps({key:1,ref_key:"uploadRef",ref:rd},unref(Bd)),{default:withCtx(()=>[Rd.$slots.trigger?renderSlot(Rd.$slots,"trigger",{key:0}):createCommentVNode("v-if",!0),!Rd.$slots.trigger&&Rd.$slots.default?renderSlot(Rd.$slots,"default",{key:1}):createCommentVNode("v-if",!0)]),_:3},16)):createCommentVNode("v-if",!0),Rd.$slots.trigger?renderSlot(Rd.$slots,"default",{key:2}):createCommentVNode("v-if",!0),renderSlot(Rd.$slots,"tip"),!unref(Id)&&Rd.showFileList?(openBlock(),createBlock(UploadList,{key:3,disabled:unref(td),"list-type":Rd.listType,files:unref(ud),crossorigin:Rd.crossorigin,"handle-preview":Rd.onPreview,onRemove:unref(_d)},createSlots({_:2},[Rd.$slots.file?{name:"default",fn:withCtx(({file:Md,index:Ld})=>[renderSlot(Rd.$slots,"file",{file:Md,index:Ld})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):createCommentVNode("v-if",!0)]))}});var Upload=_export_sfc$1(_sfc_main$R,[["__file","upload.vue"]]);const ElUpload=withInstall(Upload);function createLoadingComponent(Ra){let qa;const ed=ref$1(!1),td=reactive({...Ra,originalPosition:"",originalOverflow:"",visible:!1});function rd(Ed){td.text=Ed}function sd(){const Ed=td.parent,Ad=_d.ns;if(!Ed.vLoadingAddClassList){let Td=Ed.getAttribute("loading-number");Td=Number.parseInt(Td)-1,Td?Ed.setAttribute("loading-number",Td.toString()):(removeClass$1(Ed,Ad.bm("parent","relative")),Ed.removeAttribute("loading-number")),removeClass$1(Ed,Ad.bm("parent","hidden"))}od(),dd.unmount()}function od(){var Ed,Ad;(Ad=(Ed=_d.$el)==null?void 0:Ed.parentNode)==null||Ad.removeChild(_d.$el)}function ld(){var Ed;Ra.beforeClose&&!Ra.beforeClose()||(ed.value=!0,clearTimeout(qa),qa=setTimeout(ud,400),td.visible=!1,(Ed=Ra.closed)==null||Ed.call(Ra))}function ud(){if(!ed.value)return;const Ed=td.parent;ed.value=!1,Ed.vLoadingAddClassList=void 0,sd()}const dd=createApp(defineComponent({name:"ElLoading",setup(Ed,{expose:Ad}){const{ns:Td,zIndex:Id}=useGlobalComponentSettings("loading");return Ad({ns:Td,zIndex:Id}),()=>{const Bd=td.spinner||td.svg,Rd=h$1("svg",{class:"circular",viewBox:td.svgViewBox?td.svgViewBox:"0 0 50 50",...Bd?{innerHTML:Bd}:{}},[h$1("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),Od=td.text?h$1("p",{class:Td.b("text")},[td.text]):void 0;return h$1(Transition$1,{name:Td.b("fade"),onAfterLeave:ud},{default:withCtx(()=>[withDirectives(createVNode("div",{style:{backgroundColor:td.background||""},class:[Td.b("mask"),td.customClass,td.fullscreen?"is-fullscreen":""]},[h$1("div",{class:Td.b("spinner")},[Rd,Od])]),[[vShow,td.visible]])])})}}})),_d=dd.mount(document.createElement("div"));return{...toRefs(td),setText:rd,removeElLoadingChild:od,close:ld,handleAfterLeave:ud,vm:_d,get $el(){return _d.$el}}}let fullscreenInstance;const Loading=function(Ra={}){if(!isClient$1)return;const qa=resolveOptions(Ra);if(qa.fullscreen&&fullscreenInstance)return fullscreenInstance;const ed=createLoadingComponent({...qa,closed:()=>{var rd;(rd=qa.closed)==null||rd.call(qa),qa.fullscreen&&(fullscreenInstance=void 0)}});addStyle(qa,qa.parent,ed),addClassList(qa,qa.parent,ed),qa.parent.vLoadingAddClassList=()=>addClassList(qa,qa.parent,ed);let td=qa.parent.getAttribute("loading-number");return td?td=`${Number.parseInt(td)+1}`:td="1",qa.parent.setAttribute("loading-number",td),qa.parent.appendChild(ed.$el),nextTick$1(()=>ed.visible.value=qa.visible),qa.fullscreen&&(fullscreenInstance=ed),ed},resolveOptions=Ra=>{var qa,ed,td,rd;let sd;return isString$3(Ra.target)?sd=(qa=document.querySelector(Ra.target))!=null?qa:document.body:sd=Ra.target||document.body,{parent:sd===document.body||Ra.body?document.body:sd,background:Ra.background||"",svg:Ra.svg||"",svgViewBox:Ra.svgViewBox||"",spinner:Ra.spinner||!1,text:Ra.text||"",fullscreen:sd===document.body&&((ed=Ra.fullscreen)!=null?ed:!0),lock:(td=Ra.lock)!=null?td:!1,customClass:Ra.customClass||"",visible:(rd=Ra.visible)!=null?rd:!0,beforeClose:Ra.beforeClose,closed:Ra.closed,target:sd}},addStyle=async(Ra,qa,ed)=>{const{nextZIndex:td}=ed.vm.zIndex||ed.vm._.exposed.zIndex,rd={};if(Ra.fullscreen)ed.originalPosition.value=getStyle(document.body,"position"),ed.originalOverflow.value=getStyle(document.body,"overflow"),rd.zIndex=td();else if(Ra.parent===document.body){ed.originalPosition.value=getStyle(document.body,"position"),await nextTick$1();for(const sd of["top","left"]){const od=sd==="top"?"scrollTop":"scrollLeft";rd[sd]=`${Ra.target.getBoundingClientRect()[sd]+document.body[od]+document.documentElement[od]-Number.parseInt(getStyle(document.body,`margin-${sd}`),10)}px`}for(const sd of["height","width"])rd[sd]=`${Ra.target.getBoundingClientRect()[sd]}px`}else ed.originalPosition.value=getStyle(qa,"position");for(const[sd,od]of Object.entries(rd))ed.$el.style[sd]=od},addClassList=(Ra,qa,ed)=>{const td=ed.vm.ns||ed.vm._.exposed.ns;["absolute","fixed","sticky"].includes(ed.originalPosition.value)?removeClass$1(qa,td.bm("parent","relative")):addClass$1(qa,td.bm("parent","relative")),Ra.fullscreen&&Ra.lock?addClass$1(qa,td.bm("parent","hidden")):removeClass$1(qa,td.bm("parent","hidden"))},INSTANCE_KEY=Symbol("ElLoading"),createInstance$1=(Ra,qa)=>{var ed,td,rd,sd;const od=qa.instance,ld=Ed=>isObject$5(qa.value)?qa.value[Ed]:void 0,ud=Ed=>{const Ad=isString$3(Ed)&&(od==null?void 0:od[Ed])||Ed;return Ad&&ref$1(Ad)},cd=Ed=>ud(ld(Ed)||Ra.getAttribute(`element-loading-${hyphenate(Ed)}`)),dd=(ed=ld("fullscreen"))!=null?ed:qa.modifiers.fullscreen,_d={text:cd("text"),svg:cd("svg"),svgViewBox:cd("svgViewBox"),spinner:cd("spinner"),background:cd("background"),customClass:cd("customClass"),fullscreen:dd,target:(td=ld("target"))!=null?td:dd?void 0:Ra,body:(rd=ld("body"))!=null?rd:qa.modifiers.body,lock:(sd=ld("lock"))!=null?sd:qa.modifiers.lock};Ra[INSTANCE_KEY]={options:_d,instance:Loading(_d)}},updateOptions=(Ra,qa)=>{for(const ed of Object.keys(qa))isRef(qa[ed])&&(qa[ed].value=Ra[ed])},vLoading={mounted(Ra,qa){qa.value&&createInstance$1(Ra,qa)},updated(Ra,qa){const ed=Ra[INSTANCE_KEY];qa.oldValue!==qa.value&&(qa.value&&!qa.oldValue?createInstance$1(Ra,qa):qa.value&&qa.oldValue?isObject$5(qa.value)&&updateOptions(qa.value,ed.options):ed==null||ed.instance.close())},unmounted(Ra){var qa;(qa=Ra[INSTANCE_KEY])==null||qa.instance.close(),Ra[INSTANCE_KEY]=null}},ElLoading={install(Ra){Ra.directive("loading",vLoading),Ra.config.globalProperties.$loading=Loading},directive:vLoading,service:Loading},messageTypes=["success","info","warning","error"],messageDefaults=mutable({customClass:"",center:!1,dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",plain:!1,offset:16,zIndex:0,grouping:!1,repeatNum:1,appendTo:isClient$1?document.body:void 0}),messageProps=buildProps({customClass:{type:String,default:messageDefaults.customClass},center:{type:Boolean,default:messageDefaults.center},dangerouslyUseHTMLString:{type:Boolean,default:messageDefaults.dangerouslyUseHTMLString},duration:{type:Number,default:messageDefaults.duration},icon:{type:iconPropType,default:messageDefaults.icon},id:{type:String,default:messageDefaults.id},message:{type:definePropType([String,Object,Function]),default:messageDefaults.message},onClose:{type:definePropType(Function),default:messageDefaults.onClose},showClose:{type:Boolean,default:messageDefaults.showClose},type:{type:String,values:messageTypes,default:messageDefaults.type},plain:{type:Boolean,default:messageDefaults.plain},offset:{type:Number,default:messageDefaults.offset},zIndex:{type:Number,default:messageDefaults.zIndex},grouping:{type:Boolean,default:messageDefaults.grouping},repeatNum:{type:Number,default:messageDefaults.repeatNum}}),messageEmits={destroy:()=>!0},instances=shallowReactive([]),getInstance=Ra=>{const qa=instances.findIndex(rd=>rd.id===Ra),ed=instances[qa];let td;return qa>0&&(td=instances[qa-1]),{current:ed,prev:td}},getLastOffset=Ra=>{const{prev:qa}=getInstance(Ra);return qa?qa.vm.exposed.bottom.value:0},getOffsetOrSpace=(Ra,qa)=>instances.findIndex(td=>td.id===Ra)>0?16:qa,__default__$1=defineComponent({name:"ElMessage"}),_sfc_main$Q=defineComponent({...__default__$1,props:messageProps,emits:messageEmits,setup(Ra,{expose:qa}){const ed=Ra,{Close:td}=TypeComponents,{ns:rd,zIndex:sd}=useGlobalComponentSettings("message"),{currentZIndex:od,nextZIndex:ld}=sd,ud=ref$1(),cd=ref$1(!1),dd=ref$1(0);let _d;const Ed=computed(()=>ed.type?ed.type==="error"?"danger":ed.type:"info"),Ad=computed(()=>{const Vd=ed.type;return{[rd.bm("icon",Vd)]:Vd&&TypeComponentsMap[Vd]}}),Td=computed(()=>ed.icon||TypeComponentsMap[ed.type]||""),Id=computed(()=>getLastOffset(ed.id)),Bd=computed(()=>getOffsetOrSpace(ed.id,ed.offset)+Id.value),Rd=computed(()=>dd.value+Bd.value),Od=computed(()=>({top:`${Bd.value}px`,zIndex:od.value}));function Md(){ed.duration!==0&&({stop:_d}=useTimeoutFn(()=>{Fd()},ed.duration))}function Ld(){_d==null||_d()}function Fd(){cd.value=!1}function jd({code:Vd}){Vd===EVENT_CODE.esc&&Fd()}return onMounted(()=>{Md(),ld(),cd.value=!0}),watch(()=>ed.repeatNum,()=>{Ld(),Md()}),useEventListener$1(document,"keydown",jd),useResizeObserver(ud,()=>{dd.value=ud.value.getBoundingClientRect().height}),qa({visible:cd,bottom:Rd,close:Fd}),(Vd,Qd)=>(openBlock(),createBlock(Transition$1,{name:unref(rd).b("fade"),onBeforeLeave:Vd.onClose,onAfterLeave:qd=>Vd.$emit("destroy"),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:Vd.id,ref_key:"messageRef",ref:ud,class:normalizeClass([unref(rd).b(),{[unref(rd).m(Vd.type)]:Vd.type},unref(rd).is("center",Vd.center),unref(rd).is("closable",Vd.showClose),unref(rd).is("plain",Vd.plain),Vd.customClass]),style:normalizeStyle(unref(Od)),role:"alert",onMouseenter:Ld,onMouseleave:Md},[Vd.repeatNum>1?(openBlock(),createBlock(unref(ElBadge),{key:0,value:Vd.repeatNum,type:unref(Ed),class:normalizeClass(unref(rd).e("badge"))},null,8,["value","type","class"])):createCommentVNode("v-if",!0),unref(Td)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(rd).e("icon"),unref(Ad)])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Td))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),renderSlot(Vd.$slots,"default",{},()=>[Vd.dangerouslyUseHTMLString?(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" Caution here, message could've been compromised, never use user's input as message "),createBaseVNode("p",{class:normalizeClass(unref(rd).e("content")),innerHTML:Vd.message},null,10,["innerHTML"])],2112)):(openBlock(),createElementBlock("p",{key:0,class:normalizeClass(unref(rd).e("content"))},toDisplayString(Vd.message),3))]),Vd.showClose?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass(unref(rd).e("closeBtn")),onClick:withModifiers(Fd,["stop"])},{default:withCtx(()=>[createVNode(unref(td))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],46,["id"]),[[vShow,cd.value]])]),_:3},8,["name","onBeforeLeave","onAfterLeave"]))}});var MessageConstructor=_export_sfc$1(_sfc_main$Q,[["__file","message.vue"]]);let seed$1=1;const normalizeOptions=Ra=>{const qa=!Ra||isString$3(Ra)||isVNode(Ra)||isFunction$4(Ra)?{message:Ra}:Ra,ed={...messageDefaults,...qa};if(!ed.appendTo)ed.appendTo=document.body;else if(isString$3(ed.appendTo)){let td=document.querySelector(ed.appendTo);isElement$2(td)||(td=document.body),ed.appendTo=td}return isBoolean$3(messageConfig.grouping)&&!ed.grouping&&(ed.grouping=messageConfig.grouping),isNumber$4(messageConfig.duration)&&ed.duration===3e3&&(ed.duration=messageConfig.duration),isNumber$4(messageConfig.offset)&&ed.offset===16&&(ed.offset=messageConfig.offset),isBoolean$3(messageConfig.showClose)&&!ed.showClose&&(ed.showClose=messageConfig.showClose),ed},closeMessage=Ra=>{const qa=instances.indexOf(Ra);if(qa===-1)return;instances.splice(qa,1);const{handler:ed}=Ra;ed.close()},createMessage=({appendTo:Ra,...qa},ed)=>{const td=`message_${seed$1++}`,rd=qa.onClose,sd=document.createElement("div"),od={...qa,id:td,onClose:()=>{rd==null||rd(),closeMessage(dd)},onDestroy:()=>{render$4(null,sd)}},ld=createVNode(MessageConstructor,od,isFunction$4(od.message)||isVNode(od.message)?{default:isFunction$4(od.message)?od.message:()=>od.message}:null);ld.appContext=ed||message._context,render$4(ld,sd),Ra.appendChild(sd.firstElementChild);const ud=ld.component,dd={id:td,vnode:ld,vm:ud,handler:{close:()=>{ud.exposed.visible.value=!1}},props:ld.component.props};return dd},message=(Ra={},qa)=>{if(!isClient$1)return{close:()=>{}};const ed=normalizeOptions(Ra);if(ed.grouping&&instances.length){const rd=instances.find(({vnode:sd})=>{var od;return((od=sd.props)==null?void 0:od.message)===ed.message});if(rd)return rd.props.repeatNum+=1,rd.props.type=ed.type,rd.handler}if(isNumber$4(messageConfig.max)&&instances.length>=messageConfig.max)return{close:()=>{}};const td=createMessage(ed,qa);return instances.push(td),td.handler};messageTypes.forEach(Ra=>{message[Ra]=(qa={},ed)=>{const td=normalizeOptions(qa);return message({...td,type:Ra},ed)}});function closeAll$1(Ra){for(const qa of instances)(!Ra||Ra===qa.props.type)&&qa.handler.close()}message.closeAll=closeAll$1;message._context=null;const ElMessage=withInstallFunction(message,"$message"),_sfc_main$P=defineComponent({name:"ElMessageBox",directives:{TrapFocus},components:{ElButton,ElFocusTrap,ElInput,ElOverlay,ElIcon,...TypeComponents},inheritAttrs:!1,props:{buttonSize:{type:String,validator:isValidComponentSize},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,overflow:Boolean,roundButton:{default:!1,type:Boolean},container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(Ra,{emit:qa}){const{locale:ed,zIndex:td,ns:rd,size:sd}=useGlobalComponentSettings("message-box",computed(()=>Ra.buttonSize)),{t:od}=ed,{nextZIndex:ld}=td,ud=ref$1(!1),cd=reactive({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:null,inputValidator:null,inputErrorMessage:"",message:null,modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonLoadingIcon:markRaw(loading_default),cancelButtonLoadingIcon:markRaw(loading_default),confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:ld()}),dd=computed(()=>{const _f=cd.type;return{[rd.bm("icon",_f)]:_f&&TypeComponentsMap[_f]}}),_d=useId(),Ed=useId(),Ad=computed(()=>cd.icon||TypeComponentsMap[cd.type]||""),Td=computed(()=>!!cd.message),Id=ref$1(),Bd=ref$1(),Rd=ref$1(),Od=ref$1(),Md=ref$1(),Ld=computed(()=>cd.confirmButtonClass);watch(()=>cd.inputValue,async _f=>{await nextTick$1(),Ra.boxType==="prompt"&&_f!==null&&df()},{immediate:!0}),watch(()=>ud.value,_f=>{var Tf,kf;_f&&(Ra.boxType!=="prompt"&&(cd.autofocus?Rd.value=(kf=(Tf=Md.value)==null?void 0:Tf.$el)!=null?kf:Id.value:Rd.value=Id.value),cd.zIndex=ld()),Ra.boxType==="prompt"&&(_f?nextTick$1().then(()=>{var zf;Od.value&&Od.value.$el&&(cd.autofocus?Rd.value=(zf=mf())!=null?zf:Id.value:Rd.value=Id.value)}):(cd.editorErrorMessage="",cd.validateError=!1))});const Fd=computed(()=>Ra.draggable),jd=computed(()=>Ra.overflow);useDraggable(Id,Bd,Fd,jd),onMounted(async()=>{await nextTick$1(),Ra.closeOnHashChange&&window.addEventListener("hashchange",Vd)}),onBeforeUnmount(()=>{Ra.closeOnHashChange&&window.removeEventListener("hashchange",Vd)});function Vd(){ud.value&&(ud.value=!1,nextTick$1(()=>{cd.action&&qa("action",cd.action)}))}const Qd=()=>{Ra.closeOnClickModal&&Xd(cd.distinguishCancelAndClose?"close":"cancel")},qd=useSameTarget(Qd),Kd=_f=>{if(cd.inputType!=="textarea")return _f.preventDefault(),Xd("confirm")},Xd=_f=>{var Tf;Ra.boxType==="prompt"&&_f==="confirm"&&!df()||(cd.action=_f,cd.beforeClose?(Tf=cd.beforeClose)==null||Tf.call(cd,_f,cd,Vd):Vd())},df=()=>{if(Ra.boxType==="prompt"){const _f=cd.inputPattern;if(_f&&!_f.test(cd.inputValue||""))return cd.editorErrorMessage=cd.inputErrorMessage||od("el.messagebox.error"),cd.validateError=!0,!1;const Tf=cd.inputValidator;if(typeof Tf=="function"){const kf=Tf(cd.inputValue);if(kf===!1)return cd.editorErrorMessage=cd.inputErrorMessage||od("el.messagebox.error"),cd.validateError=!0,!1;if(typeof kf=="string")return cd.editorErrorMessage=kf,cd.validateError=!0,!1}}return cd.editorErrorMessage="",cd.validateError=!1,!0},mf=()=>{const _f=Od.value.$refs;return _f.input||_f.textarea},bf=()=>{Xd("close")},pf=()=>{Ra.closeOnPressEscape&&bf()};return Ra.lockScroll&&useLockscreen(ud),{...toRefs(cd),ns:rd,overlayEvent:qd,visible:ud,hasMessage:Td,typeClass:dd,contentId:_d,inputId:Ed,btnSize:sd,iconComponent:Ad,confirmButtonClasses:Ld,rootRef:Id,focusStartRef:Rd,headerRef:Bd,inputRef:Od,confirmRef:Md,doClose:Vd,handleClose:bf,onCloseRequested:pf,handleWrapperClick:Qd,handleInputEnter:Kd,handleAction:Xd,t:od}}});function _sfc_render(Ra,qa,ed,td,rd,sd){const od=resolveComponent("el-icon"),ld=resolveComponent("close"),ud=resolveComponent("el-input"),cd=resolveComponent("el-button"),dd=resolveComponent("el-focus-trap"),_d=resolveComponent("el-overlay");return openBlock(),createBlock(Transition$1,{name:"fade-in-linear",onAfterLeave:Ed=>Ra.$emit("vanish"),persisted:""},{default:withCtx(()=>[withDirectives(createVNode(_d,{"z-index":Ra.zIndex,"overlay-class":[Ra.ns.is("message-box"),Ra.modalClass],mask:Ra.modal},{default:withCtx(()=>[createBaseVNode("div",{role:"dialog","aria-label":Ra.title,"aria-modal":"true","aria-describedby":Ra.showInput?void 0:Ra.contentId,class:normalizeClass(`${Ra.ns.namespace.value}-overlay-message-box`),onClick:Ra.overlayEvent.onClick,onMousedown:Ra.overlayEvent.onMousedown,onMouseup:Ra.overlayEvent.onMouseup},[createVNode(dd,{loop:"",trapped:Ra.visible,"focus-trap-el":Ra.rootRef,"focus-start-el":Ra.focusStartRef,onReleaseRequested:Ra.onCloseRequested},{default:withCtx(()=>[createBaseVNode("div",{ref:"rootRef",class:normalizeClass([Ra.ns.b(),Ra.customClass,Ra.ns.is("draggable",Ra.draggable),{[Ra.ns.m("center")]:Ra.center}]),style:normalizeStyle(Ra.customStyle),tabindex:"-1",onClick:withModifiers(()=>{},["stop"])},[Ra.title!==null&&Ra.title!==void 0?(openBlock(),createElementBlock("div",{key:0,ref:"headerRef",class:normalizeClass([Ra.ns.e("header"),{"show-close":Ra.showClose}])},[createBaseVNode("div",{class:normalizeClass(Ra.ns.e("title"))},[Ra.iconComponent&&Ra.center?(openBlock(),createBlock(od,{key:0,class:normalizeClass([Ra.ns.e("status"),Ra.typeClass])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ra.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("span",null,toDisplayString(Ra.title),1)],2),Ra.showClose?(openBlock(),createElementBlock("button",{key:0,type:"button",class:normalizeClass(Ra.ns.e("headerbtn")),"aria-label":Ra.t("el.messagebox.close"),onClick:Ed=>Ra.handleAction(Ra.distinguishCancelAndClose?"close":"cancel"),onKeydown:withKeys(withModifiers(Ed=>Ra.handleAction(Ra.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"])},[createVNode(od,{class:normalizeClass(Ra.ns.e("close"))},{default:withCtx(()=>[createVNode(ld)]),_:1},8,["class"])],42,["aria-label","onClick","onKeydown"])):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{id:Ra.contentId,class:normalizeClass(Ra.ns.e("content"))},[createBaseVNode("div",{class:normalizeClass(Ra.ns.e("container"))},[Ra.iconComponent&&!Ra.center&&Ra.hasMessage?(openBlock(),createBlock(od,{key:0,class:normalizeClass([Ra.ns.e("status"),Ra.typeClass])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ra.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),Ra.hasMessage?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(Ra.ns.e("message"))},[renderSlot(Ra.$slots,"default",{},()=>[Ra.dangerouslyUseHTMLString?(openBlock(),createBlock(resolveDynamicComponent(Ra.showInput?"label":"p"),{key:1,for:Ra.showInput?Ra.inputId:void 0,innerHTML:Ra.message},null,8,["for","innerHTML"])):(openBlock(),createBlock(resolveDynamicComponent(Ra.showInput?"label":"p"),{key:0,for:Ra.showInput?Ra.inputId:void 0},{default:withCtx(()=>[createTextVNode(toDisplayString(Ra.dangerouslyUseHTMLString?"":Ra.message),1)]),_:1},8,["for"]))])],2)):createCommentVNode("v-if",!0)],2),withDirectives(createBaseVNode("div",{class:normalizeClass(Ra.ns.e("input"))},[createVNode(ud,{id:Ra.inputId,ref:"inputRef",modelValue:Ra.inputValue,"onUpdate:modelValue":Ed=>Ra.inputValue=Ed,type:Ra.inputType,placeholder:Ra.inputPlaceholder,"aria-invalid":Ra.validateError,class:normalizeClass({invalid:Ra.validateError}),onKeydown:withKeys(Ra.handleInputEnter,["enter"])},null,8,["id","modelValue","onUpdate:modelValue","type","placeholder","aria-invalid","class","onKeydown"]),createBaseVNode("div",{class:normalizeClass(Ra.ns.e("errormsg")),style:normalizeStyle({visibility:Ra.editorErrorMessage?"visible":"hidden"})},toDisplayString(Ra.editorErrorMessage),7)],2),[[vShow,Ra.showInput]])],10,["id"]),createBaseVNode("div",{class:normalizeClass(Ra.ns.e("btns"))},[Ra.showCancelButton?(openBlock(),createBlock(cd,{key:0,loading:Ra.cancelButtonLoading,"loading-icon":Ra.cancelButtonLoadingIcon,class:normalizeClass([Ra.cancelButtonClass]),round:Ra.roundButton,size:Ra.btnSize,onClick:Ed=>Ra.handleAction("cancel"),onKeydown:withKeys(withModifiers(Ed=>Ra.handleAction("cancel"),["prevent"]),["enter"])},{default:withCtx(()=>[createTextVNode(toDisplayString(Ra.cancelButtonText||Ra.t("el.messagebox.cancel")),1)]),_:1},8,["loading","loading-icon","class","round","size","onClick","onKeydown"])):createCommentVNode("v-if",!0),withDirectives(createVNode(cd,{ref:"confirmRef",type:"primary",loading:Ra.confirmButtonLoading,"loading-icon":Ra.confirmButtonLoadingIcon,class:normalizeClass([Ra.confirmButtonClasses]),round:Ra.roundButton,disabled:Ra.confirmButtonDisabled,size:Ra.btnSize,onClick:Ed=>Ra.handleAction("confirm"),onKeydown:withKeys(withModifiers(Ed=>Ra.handleAction("confirm"),["prevent"]),["enter"])},{default:withCtx(()=>[createTextVNode(toDisplayString(Ra.confirmButtonText||Ra.t("el.messagebox.confirm")),1)]),_:1},8,["loading","loading-icon","class","round","disabled","size","onClick","onKeydown"]),[[vShow,Ra.showConfirmButton]])],2)],14,["onClick"])]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,["aria-label","aria-describedby","onClick","onMousedown","onMouseup"])]),_:3},8,["z-index","overlay-class","mask"]),[[vShow,Ra.visible]])]),_:3},8,["onAfterLeave"])}var MessageBoxConstructor=_export_sfc$1(_sfc_main$P,[["render",_sfc_render],["__file","index.vue"]]);const messageInstance=new Map,getAppendToElement=Ra=>{let qa=document.body;return Ra.appendTo&&(isString$3(Ra.appendTo)&&(qa=document.querySelector(Ra.appendTo)),isElement$2(Ra.appendTo)&&(qa=Ra.appendTo),isElement$2(qa)||(qa=document.body)),qa},initInstance=(Ra,qa,ed=null)=>{const td=createVNode(MessageBoxConstructor,Ra,isFunction$4(Ra.message)||isVNode(Ra.message)?{default:isFunction$4(Ra.message)?Ra.message:()=>Ra.message}:null);return td.appContext=ed,render$4(td,qa),getAppendToElement(Ra).appendChild(qa.firstElementChild),td.component},genContainer=()=>document.createElement("div"),showMessage=(Ra,qa)=>{const ed=genContainer();Ra.onVanish=()=>{render$4(null,ed),messageInstance.delete(rd)},Ra.onAction=sd=>{const od=messageInstance.get(rd);let ld;Ra.showInput?ld={value:rd.inputValue,action:sd}:ld=sd,Ra.callback?Ra.callback(ld,td.proxy):sd==="cancel"||sd==="close"?Ra.distinguishCancelAndClose&&sd!=="cancel"?od.reject("close"):od.reject("cancel"):od.resolve(ld)};const td=initInstance(Ra,ed,qa),rd=td.proxy;for(const sd in Ra)hasOwn$2(Ra,sd)&&!hasOwn$2(rd.$props,sd)&&(rd[sd]=Ra[sd]);return rd.visible=!0,rd};function MessageBox(Ra,qa=null){if(!isClient$1)return Promise.reject();let ed;return isString$3(Ra)||isVNode(Ra)?Ra={message:Ra}:ed=Ra.callback,new Promise((td,rd)=>{const sd=showMessage(Ra,qa??MessageBox._context);messageInstance.set(sd,{options:Ra,callback:ed,resolve:td,reject:rd})})}const MESSAGE_BOX_VARIANTS=["alert","confirm","prompt"],MESSAGE_BOX_DEFAULT_OPTS={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};MESSAGE_BOX_VARIANTS.forEach(Ra=>{MessageBox[Ra]=messageBoxFactory(Ra)});function messageBoxFactory(Ra){return(qa,ed,td,rd)=>{let sd="";return isObject$5(ed)?(td=ed,sd=""):isUndefined$1(ed)?sd="":sd=ed,MessageBox(Object.assign({title:sd,message:qa,type:"",...MESSAGE_BOX_DEFAULT_OPTS[Ra]},td,{boxType:Ra}),rd)}}MessageBox.close=()=>{messageInstance.forEach((Ra,qa)=>{qa.doClose()}),messageInstance.clear()};MessageBox._context=null;const _MessageBox=MessageBox;_MessageBox.install=Ra=>{_MessageBox._context=Ra._context,Ra.config.globalProperties.$msgbox=_MessageBox,Ra.config.globalProperties.$messageBox=_MessageBox,Ra.config.globalProperties.$alert=_MessageBox.alert,Ra.config.globalProperties.$confirm=_MessageBox.confirm,Ra.config.globalProperties.$prompt=_MessageBox.prompt};const ElMessageBox=_MessageBox,notificationTypes=["success","info","warning","error"],notificationProps=buildProps({customClass:{type:String,default:""},dangerouslyUseHTMLString:Boolean,duration:{type:Number,default:4500},icon:{type:iconPropType},id:{type:String,default:""},message:{type:definePropType([String,Object]),default:""},offset:{type:Number,default:0},onClick:{type:definePropType(Function),default:()=>{}},onClose:{type:definePropType(Function),required:!0},position:{type:String,values:["top-right","top-left","bottom-right","bottom-left"],default:"top-right"},showClose:{type:Boolean,default:!0},title:{type:String,default:""},type:{type:String,values:[...notificationTypes,""],default:""},zIndex:Number}),notificationEmits={destroy:()=>!0},__default__=defineComponent({name:"ElNotification"}),_sfc_main$O=defineComponent({...__default__,props:notificationProps,emits:notificationEmits,setup(Ra,{expose:qa}){const ed=Ra,{ns:td,zIndex:rd}=useGlobalComponentSettings("notification"),{nextZIndex:sd,currentZIndex:od}=rd,{Close:ld}=CloseComponents,ud=ref$1(!1);let cd;const dd=computed(()=>{const Md=ed.type;return Md&&TypeComponentsMap[ed.type]?td.m(Md):""}),_d=computed(()=>ed.type&&TypeComponentsMap[ed.type]||ed.icon),Ed=computed(()=>ed.position.endsWith("right")?"right":"left"),Ad=computed(()=>ed.position.startsWith("top")?"top":"bottom"),Td=computed(()=>{var Md;return{[Ad.value]:`${ed.offset}px`,zIndex:(Md=ed.zIndex)!=null?Md:od.value}});function Id(){ed.duration>0&&({stop:cd}=useTimeoutFn(()=>{ud.value&&Rd()},ed.duration))}function Bd(){cd==null||cd()}function Rd(){ud.value=!1}function Od({code:Md}){Md===EVENT_CODE.delete||Md===EVENT_CODE.backspace?Bd():Md===EVENT_CODE.esc?ud.value&&Rd():Id()}return onMounted(()=>{Id(),sd(),ud.value=!0}),useEventListener$1(document,"keydown",Od),qa({visible:ud,close:Rd}),(Md,Ld)=>(openBlock(),createBlock(Transition$1,{name:unref(td).b("fade"),onBeforeLeave:Md.onClose,onAfterLeave:Fd=>Md.$emit("destroy"),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:Md.id,class:normalizeClass([unref(td).b(),Md.customClass,unref(Ed)]),style:normalizeStyle(unref(Td)),role:"alert",onMouseenter:Bd,onMouseleave:Id,onClick:Md.onClick},[unref(_d)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(td).e("icon"),unref(dd)])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(_d))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(td).e("group"))},[createBaseVNode("h2",{class:normalizeClass(unref(td).e("title")),textContent:toDisplayString(Md.title)},null,10,["textContent"]),withDirectives(createBaseVNode("div",{class:normalizeClass(unref(td).e("content")),style:normalizeStyle(Md.title?void 0:{margin:0})},[renderSlot(Md.$slots,"default",{},()=>[Md.dangerouslyUseHTMLString?(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" Caution here, message could've been compromised, never use user's input as message "),createBaseVNode("p",{innerHTML:Md.message},null,8,["innerHTML"])],2112)):(openBlock(),createElementBlock("p",{key:0},toDisplayString(Md.message),1))])],6),[[vShow,Md.message]]),Md.showClose?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(td).e("closeBtn")),onClick:withModifiers(Rd,["stop"])},{default:withCtx(()=>[createVNode(unref(ld))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],2)],46,["id","onClick"]),[[vShow,ud.value]])]),_:3},8,["name","onBeforeLeave","onAfterLeave"]))}});var NotificationConstructor=_export_sfc$1(_sfc_main$O,[["__file","notification.vue"]]);const notifications={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},GAP_SIZE=16;let seed=1;const notify=function(Ra={},qa=null){if(!isClient$1)return{close:()=>{}};(typeof Ra=="string"||isVNode(Ra))&&(Ra={message:Ra});const ed=Ra.position||"top-right";let td=Ra.offset||0;notifications[ed].forEach(({vm:dd})=>{var _d;td+=(((_d=dd.el)==null?void 0:_d.offsetHeight)||0)+GAP_SIZE}),td+=GAP_SIZE;const rd=`notification_${seed++}`,sd=Ra.onClose,od={...Ra,offset:td,id:rd,onClose:()=>{close(rd,ed,sd)}};let ld=document.body;isElement$2(Ra.appendTo)?ld=Ra.appendTo:isString$3(Ra.appendTo)&&(ld=document.querySelector(Ra.appendTo)),isElement$2(ld)||(ld=document.body);const ud=document.createElement("div"),cd=createVNode(NotificationConstructor,od,isVNode(od.message)?{default:()=>od.message}:null);return cd.appContext=qa??notify._context,cd.props.onDestroy=()=>{render$4(null,ud)},render$4(cd,ud),notifications[ed].push({vm:cd}),ld.appendChild(ud.firstElementChild),{close:()=>{cd.component.exposed.visible.value=!1}}};notificationTypes.forEach(Ra=>{notify[Ra]=(qa={})=>((typeof qa=="string"||isVNode(qa))&&(qa={message:qa}),notify({...qa,type:Ra}))});function close(Ra,qa,ed){const td=notifications[qa],rd=td.findIndex(({vm:cd})=>{var dd;return((dd=cd.component)==null?void 0:dd.props.id)===Ra});if(rd===-1)return;const{vm:sd}=td[rd];if(!sd)return;ed==null||ed(sd);const od=sd.el.offsetHeight,ld=qa.split("-")[0];td.splice(rd,1);const ud=td.length;if(!(ud<1))for(let cd=rd;cd{qa.component.exposed.visible.value=!1})}notify.closeAll=closeAll;notify._context=null;const ElNotification=withInstallFunction(notify,"$notify"),DEFAULT_CONTENT=`# 探索 Markdown 的奇妙世界 + m 0 ${jd?"":"-"}${Md} + a ${Md} ${Md} 0 1 1 0 ${jd?"-":""}${Md*2} + a ${Md} ${Md} 0 1 1 0 ${jd?"":"-"}${Md*2} + `}),cd=computed(()=>2*Math.PI*sd.value),dd=computed(()=>qa.type==="dashboard"?.75:1),pd=computed(()=>`${-1*cd.value*(1-dd.value)/2}px`),fd=computed(()=>({strokeDasharray:`${cd.value*dd.value}px, ${cd.value}px`,strokeDashoffset:pd.value})),Td=computed(()=>({strokeDasharray:`${cd.value*dd.value*(qa.percentage/100)}px, ${cd.value}px`,strokeDashoffset:pd.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),Ad=computed(()=>{let Md;return qa.color?Md=Od(qa.percentage):Md=td[qa.status]||td.default,Md}),Sd=computed(()=>qa.status==="warning"?warning_filled_default:qa.type==="line"?qa.status==="success"?circle_check_default:circle_close_default:qa.status==="success"?check_default:close_default),Dd=computed(()=>qa.type==="line"?12+qa.strokeWidth*.4:qa.width*.111111+2),Ld=computed(()=>qa.format(qa.percentage));function Rd(Md){const jd=100/Md.length;return Md.map((Hd,zd)=>isString$3(Hd)?{color:Hd,percentage:(zd+1)*jd}:Hd).sort((Hd,zd)=>Hd.percentage-zd.percentage)}const Od=Md=>{var jd;const{color:Ud}=qa;if(isFunction$4(Ud))return Ud(Md);if(isString$3(Ud))return Ud;{const Hd=Rd(Ud);for(const zd of Hd)if(zd.percentage>Md)return zd.color;return(jd=Hd[Hd.length-1])==null?void 0:jd.color}};return(Md,jd)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(rd).b(),unref(rd).m(Md.type),unref(rd).is(Md.status),{[unref(rd).m("without-text")]:!Md.showText,[unref(rd).m("text-inside")]:Md.textInside}]),role:"progressbar","aria-valuenow":Md.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[Md.type==="line"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(rd).b("bar"))},[createBaseVNode("div",{class:normalizeClass(unref(rd).be("bar","outer")),style:normalizeStyle({height:`${Md.strokeWidth}px`})},[createBaseVNode("div",{class:normalizeClass([unref(rd).be("bar","inner"),{[unref(rd).bem("bar","inner","indeterminate")]:Md.indeterminate},{[unref(rd).bem("bar","inner","striped")]:Md.striped},{[unref(rd).bem("bar","inner","striped-flow")]:Md.stripedFlow}]),style:normalizeStyle(unref(nd))},[(Md.showText||Md.$slots.default)&&Md.textInside?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(rd).be("bar","innerText"))},[renderSlot(Md.$slots,"default",{percentage:Md.percentage},()=>[createBaseVNode("span",null,toDisplayString(unref(Ld)),1)])],2)):createCommentVNode("v-if",!0)],6)],6)],2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(rd).b("circle")),style:normalizeStyle({height:`${Md.width}px`,width:`${Md.width}px`})},[(openBlock(),createElementBlock("svg",{viewBox:"0 0 100 100"},[createBaseVNode("path",{class:normalizeClass(unref(rd).be("circle","track")),d:unref(ud),stroke:`var(${unref(rd).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":Md.strokeLinecap,"stroke-width":unref(ad),fill:"none",style:normalizeStyle(unref(fd))},null,14,["d","stroke","stroke-linecap","stroke-width"]),createBaseVNode("path",{class:normalizeClass(unref(rd).be("circle","path")),d:unref(ud),stroke:unref(Ad),fill:"none",opacity:Md.percentage?1:0,"stroke-linecap":Md.strokeLinecap,"stroke-width":unref(ad),style:normalizeStyle(unref(Td))},null,14,["d","stroke","opacity","stroke-linecap","stroke-width"])]))],6)),(Md.showText||Md.$slots.default)&&!Md.textInside?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(rd).e("text")),style:normalizeStyle({fontSize:`${unref(Dd)}px`})},[renderSlot(Md.$slots,"default",{percentage:Md.percentage},()=>[Md.status?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Sd))))]),_:1})):(openBlock(),createElementBlock("span",{key:0},toDisplayString(unref(Ld)),1))])],6)):createCommentVNode("v-if",!0)],10,["aria-valuenow"]))}});var Progress=_export_sfc$1(_sfc_main$Y,[["__file","progress.vue"]]);const ElProgress=withInstall(Progress),switchProps=buildProps({modelValue:{type:[Boolean,String,Number],default:!1},disabled:Boolean,loading:Boolean,size:{type:String,validator:isValidComponentSize},width:{type:[String,Number],default:""},inlinePrompt:Boolean,inactiveActionIcon:{type:iconPropType},activeActionIcon:{type:iconPropType},activeIcon:{type:iconPropType},inactiveIcon:{type:iconPropType},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:definePropType(Function)},id:String,tabindex:{type:[String,Number]},...useAriaProps(["ariaLabel"])}),switchEmits={[UPDATE_MODEL_EVENT]:Ra=>isBoolean$3(Ra)||isString$3(Ra)||isNumber$4(Ra),[CHANGE_EVENT]:Ra=>isBoolean$3(Ra)||isString$3(Ra)||isNumber$4(Ra),[INPUT_EVENT]:Ra=>isBoolean$3(Ra)||isString$3(Ra)||isNumber$4(Ra)},COMPONENT_NAME$4="ElSwitch",__default__$8=defineComponent({name:COMPONENT_NAME$4}),_sfc_main$X=defineComponent({...__default__$8,props:switchProps,emits:switchEmits,setup(Ra,{expose:qa,emit:td}){const rd=Ra,{formItem:nd}=useFormItem(),ad=useFormSize(),sd=useNamespace("switch"),{inputId:ud}=useFormItemInputId(rd,{formItemContext:nd}),cd=useFormDisabled(computed(()=>rd.loading)),dd=ref$1(rd.modelValue!==!1),pd=ref$1(),fd=ref$1(),Td=computed(()=>[sd.b(),sd.m(ad.value),sd.is("disabled",cd.value),sd.is("checked",Rd.value)]),Ad=computed(()=>[sd.e("label"),sd.em("label","left"),sd.is("active",!Rd.value)]),Sd=computed(()=>[sd.e("label"),sd.em("label","right"),sd.is("active",Rd.value)]),Dd=computed(()=>({width:addUnit(rd.width)}));watch(()=>rd.modelValue,()=>{dd.value=!0});const Ld=computed(()=>dd.value?rd.modelValue:!1),Rd=computed(()=>Ld.value===rd.activeValue);[rd.activeValue,rd.inactiveValue].includes(Ld.value)||(td(UPDATE_MODEL_EVENT,rd.inactiveValue),td(CHANGE_EVENT,rd.inactiveValue),td(INPUT_EVENT,rd.inactiveValue)),watch(Rd,Ud=>{var Hd;pd.value.checked=Ud,rd.validateEvent&&((Hd=nd==null?void 0:nd.validate)==null||Hd.call(nd,"change").catch(zd=>void 0))});const Od=()=>{const Ud=Rd.value?rd.inactiveValue:rd.activeValue;td(UPDATE_MODEL_EVENT,Ud),td(CHANGE_EVENT,Ud),td(INPUT_EVENT,Ud),nextTick$1(()=>{pd.value.checked=Rd.value})},Md=()=>{if(cd.value)return;const{beforeChange:Ud}=rd;if(!Ud){Od();return}const Hd=Ud();[isPromise(Hd),isBoolean$3(Hd)].includes(!0)||throwError$1(COMPONENT_NAME$4,"beforeChange must return type `Promise` or `boolean`"),isPromise(Hd)?Hd.then(Zd=>{Zd&&Od()}).catch(Zd=>{}):Hd&&Od()},jd=()=>{var Ud,Hd;(Hd=(Ud=pd.value)==null?void 0:Ud.focus)==null||Hd.call(Ud)};return onMounted(()=>{pd.value.checked=Rd.value}),qa({focus:jd,checked:Rd}),(Ud,Hd)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Td)),onClick:withModifiers(Md,["prevent"])},[createBaseVNode("input",{id:unref(ud),ref_key:"input",ref:pd,class:normalizeClass(unref(sd).e("input")),type:"checkbox",role:"switch","aria-checked":unref(Rd),"aria-disabled":unref(cd),"aria-label":Ud.ariaLabel,name:Ud.name,"true-value":Ud.activeValue,"false-value":Ud.inactiveValue,disabled:unref(cd),tabindex:Ud.tabindex,onChange:Od,onKeydown:withKeys(Md,["enter"])},null,42,["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex","onKeydown"]),!Ud.inlinePrompt&&(Ud.inactiveIcon||Ud.inactiveText)?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(Ad))},[Ud.inactiveIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ud.inactiveIcon)))]),_:1})):createCommentVNode("v-if",!0),!Ud.inactiveIcon&&Ud.inactiveText?(openBlock(),createElementBlock("span",{key:1,"aria-hidden":unref(Rd)},toDisplayString(Ud.inactiveText),9,["aria-hidden"])):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("span",{ref_key:"core",ref:fd,class:normalizeClass(unref(sd).e("core")),style:normalizeStyle(unref(Dd))},[Ud.inlinePrompt?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(sd).e("inner"))},[Ud.activeIcon||Ud.inactiveIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(sd).is("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Rd)?Ud.activeIcon:Ud.inactiveIcon)))]),_:1},8,["class"])):Ud.activeText||Ud.inactiveText?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(sd).is("text")),"aria-hidden":!unref(Rd)},toDisplayString(unref(Rd)?Ud.activeText:Ud.inactiveText),11,["aria-hidden"])):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(sd).e("action"))},[Ud.loading?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(sd).is("loading"))},{default:withCtx(()=>[createVNode(unref(loading_default))]),_:1},8,["class"])):unref(Rd)?renderSlot(Ud.$slots,"active-action",{key:1},()=>[Ud.activeActionIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ud.activeActionIcon)))]),_:1})):createCommentVNode("v-if",!0)]):unref(Rd)?createCommentVNode("v-if",!0):renderSlot(Ud.$slots,"inactive-action",{key:2},()=>[Ud.inactiveActionIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ud.inactiveActionIcon)))]),_:1})):createCommentVNode("v-if",!0)])],2)],6),!Ud.inlinePrompt&&(Ud.activeIcon||Ud.activeText)?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(Sd))},[Ud.activeIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ud.activeIcon)))]),_:1})):createCommentVNode("v-if",!0),!Ud.activeIcon&&Ud.activeText?(openBlock(),createElementBlock("span",{key:1,"aria-hidden":!unref(Rd)},toDisplayString(Ud.activeText),9,["aria-hidden"])):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0)],10,["onClick"]))}});var Switch=_export_sfc$1(_sfc_main$X,[["__file","switch.vue"]]);const ElSwitch=withInstall(Switch),tabsRootContextKey=Symbol("tabsRootContextKey"),tabBarProps=buildProps({tabs:{type:definePropType(Array),default:()=>mutable([])}}),COMPONENT_NAME$3="ElTabBar",__default__$7=defineComponent({name:COMPONENT_NAME$3}),_sfc_main$W=defineComponent({...__default__$7,props:tabBarProps,setup(Ra,{expose:qa}){const td=Ra,rd=getCurrentInstance(),nd=inject(tabsRootContextKey);nd||throwError$1(COMPONENT_NAME$3,"");const ad=useNamespace("tabs"),sd=ref$1(),ud=ref$1(),cd=()=>{let Ad=0,Sd=0;const Dd=["top","bottom"].includes(nd.props.tabPosition)?"width":"height",Ld=Dd==="width"?"x":"y",Rd=Ld==="x"?"left":"top";return td.tabs.every(Od=>{var Md,jd;const Ud=(jd=(Md=rd.parent)==null?void 0:Md.refs)==null?void 0:jd[`tab-${Od.uid}`];if(!Ud)return!1;if(!Od.active)return!0;Ad=Ud[`offset${capitalize(Rd)}`],Sd=Ud[`client${capitalize(Dd)}`];const Hd=window.getComputedStyle(Ud);return Dd==="width"&&(Sd-=Number.parseFloat(Hd.paddingLeft)+Number.parseFloat(Hd.paddingRight),Ad+=Number.parseFloat(Hd.paddingLeft)),!1}),{[Dd]:`${Sd}px`,transform:`translate${capitalize(Ld)}(${Ad}px)`}},dd=()=>ud.value=cd(),pd=[],fd=()=>{var Ad;pd.forEach(Dd=>Dd.stop()),pd.length=0;const Sd=(Ad=rd.parent)==null?void 0:Ad.refs;if(Sd){for(const Dd in Sd)if(Dd.startsWith("tab-")){const Ld=Sd[Dd];Ld&&pd.push(useResizeObserver(Ld,dd))}}};watch(()=>td.tabs,async()=>{await nextTick$1(),dd(),fd()},{immediate:!0});const Td=useResizeObserver(sd,()=>dd());return onBeforeUnmount(()=>{pd.forEach(Ad=>Ad.stop()),pd.length=0,Td.stop()}),qa({ref:sd,update:dd}),(Ad,Sd)=>(openBlock(),createElementBlock("div",{ref_key:"barRef",ref:sd,class:normalizeClass([unref(ad).e("active-bar"),unref(ad).is(unref(nd).props.tabPosition)]),style:normalizeStyle(ud.value)},null,6))}});var TabBar=_export_sfc$1(_sfc_main$W,[["__file","tab-bar.vue"]]);const tabNavProps=buildProps({panes:{type:definePropType(Array),default:()=>mutable([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean}),tabNavEmits={tabClick:(Ra,qa,td)=>td instanceof Event,tabRemove:(Ra,qa)=>qa instanceof Event},COMPONENT_NAME$2="ElTabNav",TabNav=defineComponent({name:COMPONENT_NAME$2,props:tabNavProps,emits:tabNavEmits,setup(Ra,{expose:qa,emit:td}){const rd=inject(tabsRootContextKey);rd||throwError$1(COMPONENT_NAME$2,"");const nd=useNamespace("tabs"),ad=useDocumentVisibility(),sd=useWindowFocus(),ud=ref$1(),cd=ref$1(),dd=ref$1(),pd=ref$1(),fd=ref$1(!1),Td=ref$1(0),Ad=ref$1(!1),Sd=ref$1(!0),Dd=computed(()=>["top","bottom"].includes(rd.props.tabPosition)?"width":"height"),Ld=computed(()=>({transform:`translate${Dd.value==="width"?"X":"Y"}(-${Td.value}px)`})),Rd=()=>{if(!ud.value)return;const Zd=ud.value[`offset${capitalize(Dd.value)}`],Wd=Td.value;if(!Wd)return;const Qd=Wd>Zd?Wd-Zd:0;Td.value=Qd},Od=()=>{if(!ud.value||!cd.value)return;const Zd=cd.value[`offset${capitalize(Dd.value)}`],Wd=ud.value[`offset${capitalize(Dd.value)}`],Qd=Td.value;if(Zd-Qd<=Wd)return;const Jd=Zd-Qd>Wd*2?Qd+Wd:Zd-Wd;Td.value=Jd},Md=async()=>{const Zd=cd.value;if(!fd.value||!dd.value||!ud.value||!Zd)return;await nextTick$1();const Wd=dd.value.querySelector(".is-active");if(!Wd)return;const Qd=ud.value,Jd=["top","bottom"].includes(rd.props.tabPosition),hf=Wd.getBoundingClientRect(),bf=Qd.getBoundingClientRect(),Ef=Jd?Zd.offsetWidth-bf.width:Zd.offsetHeight-bf.height,_f=Td.value;let vf=_f;Jd?(hf.leftbf.right&&(vf=_f+hf.right-bf.right)):(hf.topbf.bottom&&(vf=_f+(hf.bottom-bf.bottom))),vf=Math.max(vf,0),Td.value=Math.min(vf,Ef)},jd=()=>{var Zd;if(!cd.value||!ud.value)return;Ra.stretch&&((Zd=pd.value)==null||Zd.update());const Wd=cd.value[`offset${capitalize(Dd.value)}`],Qd=ud.value[`offset${capitalize(Dd.value)}`],Jd=Td.value;Qd0&&(Td.value=0))},Ud=Zd=>{const Wd=Zd.code,{up:Qd,down:Jd,left:hf,right:bf}=EVENT_CODE;if(![Qd,Jd,hf,bf].includes(Wd))return;const Ef=Array.from(Zd.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)")),_f=Ef.indexOf(Zd.target);let vf;Wd===hf||Wd===Qd?_f===0?vf=Ef.length-1:vf=_f-1:_f{Sd.value&&(Ad.value=!0)},zd=()=>Ad.value=!1;return watch(ad,Zd=>{Zd==="hidden"?Sd.value=!1:Zd==="visible"&&setTimeout(()=>Sd.value=!0,50)}),watch(sd,Zd=>{Zd?setTimeout(()=>Sd.value=!0,50):Sd.value=!1}),useResizeObserver(dd,jd),onMounted(()=>setTimeout(()=>Md(),0)),onUpdated(()=>jd()),qa({scrollToActiveTab:Md,removeFocus:zd}),()=>{const Zd=fd.value?[createVNode("span",{class:[nd.e("nav-prev"),nd.is("disabled",!fd.value.prev)],onClick:Rd},[createVNode(ElIcon,null,{default:()=>[createVNode(arrow_left_default,null,null)]})]),createVNode("span",{class:[nd.e("nav-next"),nd.is("disabled",!fd.value.next)],onClick:Od},[createVNode(ElIcon,null,{default:()=>[createVNode(arrow_right_default,null,null)]})])]:null,Wd=Ra.panes.map((Qd,Jd)=>{var hf,bf,Ef,_f;const vf=Qd.uid,xf=Qd.props.disabled,Bf=(bf=(hf=Qd.props.name)!=null?hf:Qd.index)!=null?bf:`${Jd}`,Yf=!xf&&(Qd.isClosable||Ra.editable);Qd.index=`${Jd}`;const eh=Yf?createVNode(ElIcon,{class:"is-icon-close",onClick:If=>td("tabRemove",Qd,If)},{default:()=>[createVNode(close_default,null,null)]}):null,Vf=((_f=(Ef=Qd.slots).label)==null?void 0:_f.call(Ef))||Qd.props.label,Pf=!xf&&Qd.active?0:-1;return createVNode("div",{ref:`tab-${vf}`,class:[nd.e("item"),nd.is(rd.props.tabPosition),nd.is("active",Qd.active),nd.is("disabled",xf),nd.is("closable",Yf),nd.is("focus",Ad.value)],id:`tab-${Bf}`,key:`tab-${vf}`,"aria-controls":`pane-${Bf}`,role:"tab","aria-selected":Qd.active,tabindex:Pf,onFocus:()=>Hd(),onBlur:()=>zd(),onClick:If=>{zd(),td("tabClick",Qd,Bf,If)},onKeydown:If=>{Yf&&(If.code===EVENT_CODE.delete||If.code===EVENT_CODE.backspace)&&td("tabRemove",Qd,If)}},[Vf,eh])});return createVNode("div",{ref:dd,class:[nd.e("nav-wrap"),nd.is("scrollable",!!fd.value),nd.is(rd.props.tabPosition)]},[Zd,createVNode("div",{class:nd.e("nav-scroll"),ref:ud},[createVNode("div",{class:[nd.e("nav"),nd.is(rd.props.tabPosition),nd.is("stretch",Ra.stretch&&["top","bottom"].includes(rd.props.tabPosition))],ref:cd,style:Ld.value,role:"tablist",onKeydown:Ud},[Ra.type?null:createVNode(TabBar,{ref:pd,tabs:[...Ra.panes]},null),Wd])])])}}}),tabsProps=buildProps({type:{type:String,values:["card","border-card",""],default:""},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:definePropType(Function),default:()=>!0},stretch:Boolean}),isPaneName=Ra=>isString$3(Ra)||isNumber$4(Ra),tabsEmits={[UPDATE_MODEL_EVENT]:Ra=>isPaneName(Ra),tabClick:(Ra,qa)=>qa instanceof Event,tabChange:Ra=>isPaneName(Ra),edit:(Ra,qa)=>["remove","add"].includes(qa),tabRemove:Ra=>isPaneName(Ra),tabAdd:()=>!0},Tabs=defineComponent({name:"ElTabs",props:tabsProps,emits:tabsEmits,setup(Ra,{emit:qa,slots:td,expose:rd}){var nd;const ad=useNamespace("tabs"),sd=computed(()=>["left","right"].includes(Ra.tabPosition)),{children:ud,addChild:cd,removeChild:dd}=useOrderedChildren(getCurrentInstance(),"ElTabPane"),pd=ref$1(),fd=ref$1((nd=Ra.modelValue)!=null?nd:"0"),Td=async(Rd,Od=!1)=>{var Md,jd,Ud;if(!(fd.value===Rd||isUndefined$1(Rd)))try{await((Md=Ra.beforeLeave)==null?void 0:Md.call(Ra,Rd,fd.value))!==!1&&(fd.value=Rd,Od&&(qa(UPDATE_MODEL_EVENT,Rd),qa("tabChange",Rd)),(Ud=(jd=pd.value)==null?void 0:jd.removeFocus)==null||Ud.call(jd))}catch{}},Ad=(Rd,Od,Md)=>{Rd.props.disabled||(Td(Od,!0),qa("tabClick",Rd,Md))},Sd=(Rd,Od)=>{Rd.props.disabled||isUndefined$1(Rd.props.name)||(Od.stopPropagation(),qa("edit",Rd.props.name,"remove"),qa("tabRemove",Rd.props.name))},Dd=()=>{qa("edit",void 0,"add"),qa("tabAdd")};watch(()=>Ra.modelValue,Rd=>Td(Rd)),watch(fd,async()=>{var Rd;await nextTick$1(),(Rd=pd.value)==null||Rd.scrollToActiveTab()}),provide(tabsRootContextKey,{props:Ra,currentName:fd,registerPane:Rd=>{ud.value.push(Rd)},sortPane:cd,unregisterPane:dd}),rd({currentName:fd});const Ld=({render:Rd})=>Rd();return()=>{const Rd=td["add-icon"],Od=Ra.editable||Ra.addable?createVNode("div",{class:[ad.e("new-tab"),sd.value&&ad.e("new-tab-vertical")],tabindex:"0",onClick:Dd,onKeydown:Ud=>{Ud.code===EVENT_CODE.enter&&Dd()}},[Rd?renderSlot(td,"add-icon"):createVNode(ElIcon,{class:ad.is("icon-plus")},{default:()=>[createVNode(plus_default,null,null)]})]):null,Md=createVNode("div",{class:[ad.e("header"),sd.value&&ad.e("header-vertical"),ad.is(Ra.tabPosition)]},[createVNode(Ld,{render:()=>{const Ud=ud.value.some(Hd=>Hd.slots.label);return createVNode(TabNav,{ref:pd,currentName:fd.value,editable:Ra.editable,type:Ra.type,panes:ud.value,stretch:Ra.stretch,onTabClick:Ad,onTabRemove:Sd},{$stable:!Ud})}},null),Od]),jd=createVNode("div",{class:ad.e("content")},[renderSlot(td,"default")]);return createVNode("div",{class:[ad.b(),ad.m(Ra.tabPosition),{[ad.m("card")]:Ra.type==="card",[ad.m("border-card")]:Ra.type==="border-card"}]},[jd,Md])}}}),tabPaneProps=buildProps({label:{type:String,default:""},name:{type:[String,Number]},closable:Boolean,disabled:Boolean,lazy:Boolean}),COMPONENT_NAME$1="ElTabPane",__default__$6=defineComponent({name:COMPONENT_NAME$1}),_sfc_main$V=defineComponent({...__default__$6,props:tabPaneProps,setup(Ra){const qa=Ra,td=getCurrentInstance(),rd=useSlots(),nd=inject(tabsRootContextKey);nd||throwError$1(COMPONENT_NAME$1,"usage: ");const ad=useNamespace("tab-pane"),sd=ref$1(),ud=computed(()=>qa.closable||nd.props.closable),cd=computedEager(()=>{var Ad;return nd.currentName.value===((Ad=qa.name)!=null?Ad:sd.value)}),dd=ref$1(cd.value),pd=computed(()=>{var Ad;return(Ad=qa.name)!=null?Ad:sd.value}),fd=computedEager(()=>!qa.lazy||dd.value||cd.value);watch(cd,Ad=>{Ad&&(dd.value=!0)});const Td=reactive({uid:td.uid,slots:rd,props:qa,paneName:pd,active:cd,index:sd,isClosable:ud});return nd.registerPane(Td),onMounted(()=>{nd.sortPane(Td)}),onUnmounted(()=>{nd.unregisterPane(Td.uid)}),(Ad,Sd)=>unref(fd)?withDirectives((openBlock(),createElementBlock("div",{key:0,id:`pane-${unref(pd)}`,class:normalizeClass(unref(ad).b()),role:"tabpanel","aria-hidden":!unref(cd),"aria-labelledby":`tab-${unref(pd)}`},[renderSlot(Ad.$slots,"default")],10,["id","aria-hidden","aria-labelledby"])),[[vShow,unref(cd)]]):createCommentVNode("v-if",!0)}});var TabPane=_export_sfc$1(_sfc_main$V,[["__file","tab-pane.vue"]]);const ElTabs=withInstall(Tabs,{TabPane}),ElTabPane=withNoopInstall(TabPane),uploadContextKey=Symbol("uploadContextKey"),SCOPE$1="ElUpload";class UploadAjaxError extends Error{constructor(qa,td,rd,nd){super(qa),this.name="UploadAjaxError",this.status=td,this.method=rd,this.url=nd}}function getError(Ra,qa,td){let rd;return td.response?rd=`${td.response.error||td.response}`:td.responseText?rd=`${td.responseText}`:rd=`fail to ${qa.method} ${Ra} ${td.status}`,new UploadAjaxError(rd,td.status,qa.method,Ra)}function getBody(Ra){const qa=Ra.responseText||Ra.response;if(!qa)return qa;try{return JSON.parse(qa)}catch{return qa}}const ajaxUpload=Ra=>{typeof XMLHttpRequest>"u"&&throwError$1(SCOPE$1,"XMLHttpRequest is undefined");const qa=new XMLHttpRequest,td=Ra.action;qa.upload&&qa.upload.addEventListener("progress",ad=>{const sd=ad;sd.percent=ad.total>0?ad.loaded/ad.total*100:0,Ra.onProgress(sd)});const rd=new FormData;if(Ra.data)for(const[ad,sd]of Object.entries(Ra.data))isArray$2(sd)&&sd.length?rd.append(ad,...sd):rd.append(ad,sd);rd.append(Ra.filename,Ra.file,Ra.file.name),qa.addEventListener("error",()=>{Ra.onError(getError(td,Ra,qa))}),qa.addEventListener("load",()=>{if(qa.status<200||qa.status>=300)return Ra.onError(getError(td,Ra,qa));Ra.onSuccess(getBody(qa))}),qa.open(Ra.method,td,!0),Ra.withCredentials&&"withCredentials"in qa&&(qa.withCredentials=!0);const nd=Ra.headers||{};if(nd instanceof Headers)nd.forEach((ad,sd)=>qa.setRequestHeader(sd,ad));else for(const[ad,sd]of Object.entries(nd))isNil(sd)||qa.setRequestHeader(ad,String(sd));return qa.send(rd),qa},uploadListTypes=["text","picture","picture-card"];let fileId=1;const genFileId=()=>Date.now()+fileId++,uploadBaseProps=buildProps({action:{type:String,default:"#"},headers:{type:definePropType(Object)},method:{type:String,default:"post"},data:{type:definePropType([Object,Function,Promise]),default:()=>mutable({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:definePropType(Array),default:()=>mutable([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:uploadListTypes,default:"text"},httpRequest:{type:definePropType(Function),default:ajaxUpload},disabled:Boolean,limit:Number}),uploadProps=buildProps({...uploadBaseProps,beforeUpload:{type:definePropType(Function),default:NOOP},beforeRemove:{type:definePropType(Function)},onRemove:{type:definePropType(Function),default:NOOP},onChange:{type:definePropType(Function),default:NOOP},onPreview:{type:definePropType(Function),default:NOOP},onSuccess:{type:definePropType(Function),default:NOOP},onProgress:{type:definePropType(Function),default:NOOP},onError:{type:definePropType(Function),default:NOOP},onExceed:{type:definePropType(Function),default:NOOP},crossorigin:{type:definePropType(String)}}),uploadListProps=buildProps({files:{type:definePropType(Array),default:()=>mutable([])},disabled:{type:Boolean,default:!1},handlePreview:{type:definePropType(Function),default:NOOP},listType:{type:String,values:uploadListTypes,default:"text"},crossorigin:{type:definePropType(String)}}),uploadListEmits={remove:Ra=>!!Ra},__default__$5=defineComponent({name:"ElUploadList"}),_sfc_main$U=defineComponent({...__default__$5,props:uploadListProps,emits:uploadListEmits,setup(Ra,{emit:qa}){const td=Ra,{t:rd}=useLocale(),nd=useNamespace("upload"),ad=useNamespace("icon"),sd=useNamespace("list"),ud=useFormDisabled(),cd=ref$1(!1),dd=computed(()=>[nd.b("list"),nd.bm("list",td.listType),nd.is("disabled",td.disabled)]),pd=fd=>{qa("remove",fd)};return(fd,Td)=>(openBlock(),createBlock(TransitionGroup,{tag:"ul",class:normalizeClass(unref(dd)),name:unref(sd).b()},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(fd.files,(Ad,Sd)=>(openBlock(),createElementBlock("li",{key:Ad.uid||Ad.name,class:normalizeClass([unref(nd).be("list","item"),unref(nd).is(Ad.status),{focusing:cd.value}]),tabindex:"0",onKeydown:withKeys(Dd=>!unref(ud)&&pd(Ad),["delete"]),onFocus:Dd=>cd.value=!0,onBlur:Dd=>cd.value=!1,onClick:Dd=>cd.value=!1},[renderSlot(fd.$slots,"default",{file:Ad,index:Sd},()=>[fd.listType==="picture"||Ad.status!=="uploading"&&fd.listType==="picture-card"?(openBlock(),createElementBlock("img",{key:0,class:normalizeClass(unref(nd).be("list","item-thumbnail")),src:Ad.url,crossorigin:fd.crossorigin,alt:""},null,10,["src","crossorigin"])):createCommentVNode("v-if",!0),Ad.status==="uploading"||fd.listType!=="picture-card"?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(nd).be("list","item-info"))},[createBaseVNode("a",{class:normalizeClass(unref(nd).be("list","item-name")),onClick:withModifiers(Dd=>fd.handlePreview(Ad),["prevent"])},[createVNode(unref(ElIcon),{class:normalizeClass(unref(ad).m("document"))},{default:withCtx(()=>[createVNode(unref(document_default))]),_:1},8,["class"]),createBaseVNode("span",{class:normalizeClass(unref(nd).be("list","item-file-name")),title:Ad.name},toDisplayString(Ad.name),11,["title"])],10,["onClick"]),Ad.status==="uploading"?(openBlock(),createBlock(unref(ElProgress),{key:0,type:fd.listType==="picture-card"?"circle":"line","stroke-width":fd.listType==="picture-card"?6:2,percentage:Number(Ad.percentage),style:normalizeStyle(fd.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("label",{class:normalizeClass(unref(nd).be("list","item-status-label"))},[fd.listType==="text"?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(ad).m("upload-success"),unref(ad).m("circle-check")])},{default:withCtx(()=>[createVNode(unref(circle_check_default))]),_:1},8,["class"])):["picture-card","picture"].includes(fd.listType)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(ad).m("upload-success"),unref(ad).m("check")])},{default:withCtx(()=>[createVNode(unref(check_default))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2),unref(ud)?createCommentVNode("v-if",!0):(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass(unref(ad).m("close")),onClick:Dd=>pd(Ad)},{default:withCtx(()=>[createVNode(unref(close_default))]),_:2},1032,["class","onClick"])),createCommentVNode(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),createCommentVNode(" This is a bug which needs to be fixed "),createCommentVNode(" TODO: Fix the incorrect navigation interaction "),unref(ud)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("i",{key:3,class:normalizeClass(unref(ad).m("close-tip"))},toDisplayString(unref(rd)("el.upload.deleteTip")),3)),fd.listType==="picture-card"?(openBlock(),createElementBlock("span",{key:4,class:normalizeClass(unref(nd).be("list","item-actions"))},[createBaseVNode("span",{class:normalizeClass(unref(nd).be("list","item-preview")),onClick:Dd=>fd.handlePreview(Ad)},[createVNode(unref(ElIcon),{class:normalizeClass(unref(ad).m("zoom-in"))},{default:withCtx(()=>[createVNode(unref(zoom_in_default))]),_:1},8,["class"])],10,["onClick"]),unref(ud)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(nd).be("list","item-delete")),onClick:Dd=>pd(Ad)},[createVNode(unref(ElIcon),{class:normalizeClass(unref(ad).m("delete"))},{default:withCtx(()=>[createVNode(unref(delete_default))]),_:1},8,["class"])],10,["onClick"]))],2)):createCommentVNode("v-if",!0)])],42,["onKeydown","onFocus","onBlur","onClick"]))),128)),renderSlot(fd.$slots,"append")]),_:3},8,["class","name"]))}});var UploadList=_export_sfc$1(_sfc_main$U,[["__file","upload-list.vue"]]);const uploadDraggerProps=buildProps({disabled:{type:Boolean,default:!1}}),uploadDraggerEmits={file:Ra=>isArray$2(Ra)},COMPONENT_NAME="ElUploadDrag",__default__$4=defineComponent({name:COMPONENT_NAME}),_sfc_main$T=defineComponent({...__default__$4,props:uploadDraggerProps,emits:uploadDraggerEmits,setup(Ra,{emit:qa}){inject(uploadContextKey)||throwError$1(COMPONENT_NAME,"usage: ");const rd=useNamespace("upload"),nd=ref$1(!1),ad=useFormDisabled(),sd=cd=>{if(ad.value)return;nd.value=!1,cd.stopPropagation();const dd=Array.from(cd.dataTransfer.files);qa("file",dd)},ud=()=>{ad.value||(nd.value=!0)};return(cd,dd)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(rd).b("dragger"),unref(rd).is("dragover",nd.value)]),onDrop:withModifiers(sd,["prevent"]),onDragover:withModifiers(ud,["prevent"]),onDragleave:withModifiers(pd=>nd.value=!1,["prevent"])},[renderSlot(cd.$slots,"default")],42,["onDrop","onDragover","onDragleave"]))}});var UploadDragger=_export_sfc$1(_sfc_main$T,[["__file","upload-dragger.vue"]]);const uploadContentProps=buildProps({...uploadBaseProps,beforeUpload:{type:definePropType(Function),default:NOOP},onRemove:{type:definePropType(Function),default:NOOP},onStart:{type:definePropType(Function),default:NOOP},onSuccess:{type:definePropType(Function),default:NOOP},onProgress:{type:definePropType(Function),default:NOOP},onError:{type:definePropType(Function),default:NOOP},onExceed:{type:definePropType(Function),default:NOOP}}),__default__$3=defineComponent({name:"ElUploadContent",inheritAttrs:!1}),_sfc_main$S=defineComponent({...__default__$3,props:uploadContentProps,setup(Ra,{expose:qa}){const td=Ra,rd=useNamespace("upload"),nd=useFormDisabled(),ad=shallowRef({}),sd=shallowRef(),ud=Dd=>{if(Dd.length===0)return;const{autoUpload:Ld,limit:Rd,fileList:Od,multiple:Md,onStart:jd,onExceed:Ud}=td;if(Rd&&Od.length+Dd.length>Rd){Ud(Dd,Od);return}Md||(Dd=Dd.slice(0,1));for(const Hd of Dd){const zd=Hd;zd.uid=genFileId(),jd(zd),Ld&&cd(zd)}},cd=async Dd=>{if(sd.value.value="",!td.beforeUpload)return pd(Dd);let Ld,Rd={};try{const Md=td.data,jd=td.beforeUpload(Dd);Rd=isPlainObject$3(td.data)?cloneDeep$1(td.data):td.data,Ld=await jd,isPlainObject$3(td.data)&&isEqual(Md,Rd)&&(Rd=cloneDeep$1(td.data))}catch{Ld=!1}if(Ld===!1){td.onRemove(Dd);return}let Od=Dd;Ld instanceof Blob&&(Ld instanceof File?Od=Ld:Od=new File([Ld],Dd.name,{type:Dd.type})),pd(Object.assign(Od,{uid:Dd.uid}),Rd)},dd=async(Dd,Ld)=>isFunction$4(Dd)?Dd(Ld):Dd,pd=async(Dd,Ld)=>{const{headers:Rd,data:Od,method:Md,withCredentials:jd,name:Ud,action:Hd,onProgress:zd,onSuccess:Zd,onError:Wd,httpRequest:Qd}=td;try{Ld=await dd(Ld??Od,Dd)}catch{td.onRemove(Dd);return}const{uid:Jd}=Dd,hf={headers:Rd||{},withCredentials:jd,file:Dd,data:Ld,method:Md,filename:Ud,action:Hd,onProgress:Ef=>{zd(Ef,Dd)},onSuccess:Ef=>{Zd(Ef,Dd),delete ad.value[Jd]},onError:Ef=>{Wd(Ef,Dd),delete ad.value[Jd]}},bf=Qd(hf);ad.value[Jd]=bf,bf instanceof Promise&&bf.then(hf.onSuccess,hf.onError)},fd=Dd=>{const Ld=Dd.target.files;Ld&&ud(Array.from(Ld))},Td=()=>{nd.value||(sd.value.value="",sd.value.click())},Ad=()=>{Td()};return qa({abort:Dd=>{entriesOf(ad.value).filter(Dd?([Rd])=>String(Dd.uid)===Rd:()=>!0).forEach(([Rd,Od])=>{Od instanceof XMLHttpRequest&&Od.abort(),delete ad.value[Rd]})},upload:cd}),(Dd,Ld)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(rd).b(),unref(rd).m(Dd.listType),unref(rd).is("drag",Dd.drag),unref(rd).is("disabled",unref(nd))]),tabindex:unref(nd)?"-1":"0",onClick:Td,onKeydown:withKeys(withModifiers(Ad,["self"]),["enter","space"])},[Dd.drag?(openBlock(),createBlock(UploadDragger,{key:0,disabled:unref(nd),onFile:ud},{default:withCtx(()=>[renderSlot(Dd.$slots,"default")]),_:3},8,["disabled"])):renderSlot(Dd.$slots,"default",{key:1}),createBaseVNode("input",{ref_key:"inputRef",ref:sd,class:normalizeClass(unref(rd).e("input")),name:Dd.name,disabled:unref(nd),multiple:Dd.multiple,accept:Dd.accept,type:"file",onChange:fd,onClick:withModifiers(()=>{},["stop"])},null,42,["name","disabled","multiple","accept","onClick"])],42,["tabindex","onKeydown"]))}});var UploadContent=_export_sfc$1(_sfc_main$S,[["__file","upload-content.vue"]]);const SCOPE="ElUpload",revokeFileObjectURL=Ra=>{var qa;(qa=Ra.url)!=null&&qa.startsWith("blob:")&&URL.revokeObjectURL(Ra.url)},useHandlers=(Ra,qa)=>{const td=useVModel(Ra,"fileList",void 0,{passive:!0}),rd=Ad=>td.value.find(Sd=>Sd.uid===Ad.uid);function nd(Ad){var Sd;(Sd=qa.value)==null||Sd.abort(Ad)}function ad(Ad=["ready","uploading","success","fail"]){td.value=td.value.filter(Sd=>!Ad.includes(Sd.status))}function sd(Ad){td.value=td.value.filter(Sd=>Sd!==Ad)}const ud=(Ad,Sd)=>{const Dd=rd(Sd);Dd&&(console.error(Ad),Dd.status="fail",sd(Dd),Ra.onError(Ad,Dd,td.value),Ra.onChange(Dd,td.value))},cd=(Ad,Sd)=>{const Dd=rd(Sd);Dd&&(Ra.onProgress(Ad,Dd,td.value),Dd.status="uploading",Dd.percentage=Math.round(Ad.percent))},dd=(Ad,Sd)=>{const Dd=rd(Sd);Dd&&(Dd.status="success",Dd.response=Ad,Ra.onSuccess(Ad,Dd,td.value),Ra.onChange(Dd,td.value))},pd=Ad=>{isNil(Ad.uid)&&(Ad.uid=genFileId());const Sd={name:Ad.name,percentage:0,status:"ready",size:Ad.size,raw:Ad,uid:Ad.uid};if(Ra.listType==="picture-card"||Ra.listType==="picture")try{Sd.url=URL.createObjectURL(Ad)}catch(Dd){Dd.message,Ra.onError(Dd,Sd,td.value)}td.value=[...td.value,Sd],Ra.onChange(Sd,td.value)},fd=async Ad=>{const Sd=Ad instanceof File?rd(Ad):Ad;Sd||throwError$1(SCOPE,"file to be removed not found");const Dd=Ld=>{nd(Ld),sd(Ld),Ra.onRemove(Ld,td.value),revokeFileObjectURL(Ld)};Ra.beforeRemove?await Ra.beforeRemove(Sd,td.value)!==!1&&Dd(Sd):Dd(Sd)};function Td(){td.value.filter(({status:Ad})=>Ad==="ready").forEach(({raw:Ad})=>{var Sd;return Ad&&((Sd=qa.value)==null?void 0:Sd.upload(Ad))})}return watch(()=>Ra.listType,Ad=>{Ad!=="picture-card"&&Ad!=="picture"||(td.value=td.value.map(Sd=>{const{raw:Dd,url:Ld}=Sd;if(!Ld&&Dd)try{Sd.url=URL.createObjectURL(Dd)}catch(Rd){Ra.onError(Rd,Sd,td.value)}return Sd}))}),watch(td,Ad=>{for(const Sd of Ad)Sd.uid||(Sd.uid=genFileId()),Sd.status||(Sd.status="success")},{immediate:!0,deep:!0}),{uploadFiles:td,abort:nd,clearFiles:ad,handleError:ud,handleProgress:cd,handleStart:pd,handleSuccess:dd,handleRemove:fd,submit:Td,revokeFileObjectURL}},__default__$2=defineComponent({name:"ElUpload"}),_sfc_main$R=defineComponent({...__default__$2,props:uploadProps,setup(Ra,{expose:qa}){const td=Ra,rd=useFormDisabled(),nd=shallowRef(),{abort:ad,submit:sd,clearFiles:ud,uploadFiles:cd,handleStart:dd,handleError:pd,handleRemove:fd,handleSuccess:Td,handleProgress:Ad,revokeFileObjectURL:Sd}=useHandlers(td,nd),Dd=computed(()=>td.listType==="picture-card"),Ld=computed(()=>({...td,fileList:cd.value,onStart:dd,onProgress:Ad,onSuccess:Td,onError:pd,onRemove:fd}));return onBeforeUnmount(()=>{cd.value.forEach(Sd)}),provide(uploadContextKey,{accept:toRef$1(td,"accept")}),qa({abort:ad,submit:sd,clearFiles:ud,handleStart:dd,handleRemove:fd}),(Rd,Od)=>(openBlock(),createElementBlock("div",null,[unref(Dd)&&Rd.showFileList?(openBlock(),createBlock(UploadList,{key:0,disabled:unref(rd),"list-type":Rd.listType,files:unref(cd),crossorigin:Rd.crossorigin,"handle-preview":Rd.onPreview,onRemove:unref(fd)},createSlots({append:withCtx(()=>[createVNode(UploadContent,mergeProps({ref_key:"uploadRef",ref:nd},unref(Ld)),{default:withCtx(()=>[Rd.$slots.trigger?renderSlot(Rd.$slots,"trigger",{key:0}):createCommentVNode("v-if",!0),!Rd.$slots.trigger&&Rd.$slots.default?renderSlot(Rd.$slots,"default",{key:1}):createCommentVNode("v-if",!0)]),_:3},16)]),_:2},[Rd.$slots.file?{name:"default",fn:withCtx(({file:Md,index:jd})=>[renderSlot(Rd.$slots,"file",{file:Md,index:jd})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):createCommentVNode("v-if",!0),!unref(Dd)||unref(Dd)&&!Rd.showFileList?(openBlock(),createBlock(UploadContent,mergeProps({key:1,ref_key:"uploadRef",ref:nd},unref(Ld)),{default:withCtx(()=>[Rd.$slots.trigger?renderSlot(Rd.$slots,"trigger",{key:0}):createCommentVNode("v-if",!0),!Rd.$slots.trigger&&Rd.$slots.default?renderSlot(Rd.$slots,"default",{key:1}):createCommentVNode("v-if",!0)]),_:3},16)):createCommentVNode("v-if",!0),Rd.$slots.trigger?renderSlot(Rd.$slots,"default",{key:2}):createCommentVNode("v-if",!0),renderSlot(Rd.$slots,"tip"),!unref(Dd)&&Rd.showFileList?(openBlock(),createBlock(UploadList,{key:3,disabled:unref(rd),"list-type":Rd.listType,files:unref(cd),crossorigin:Rd.crossorigin,"handle-preview":Rd.onPreview,onRemove:unref(fd)},createSlots({_:2},[Rd.$slots.file?{name:"default",fn:withCtx(({file:Md,index:jd})=>[renderSlot(Rd.$slots,"file",{file:Md,index:jd})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):createCommentVNode("v-if",!0)]))}});var Upload=_export_sfc$1(_sfc_main$R,[["__file","upload.vue"]]);const ElUpload=withInstall(Upload);function createLoadingComponent(Ra){let qa;const td=ref$1(!1),rd=reactive({...Ra,originalPosition:"",originalOverflow:"",visible:!1});function nd(Td){rd.text=Td}function ad(){const Td=rd.parent,Ad=fd.ns;if(!Td.vLoadingAddClassList){let Sd=Td.getAttribute("loading-number");Sd=Number.parseInt(Sd)-1,Sd?Td.setAttribute("loading-number",Sd.toString()):(removeClass$1(Td,Ad.bm("parent","relative")),Td.removeAttribute("loading-number")),removeClass$1(Td,Ad.bm("parent","hidden"))}sd(),pd.unmount()}function sd(){var Td,Ad;(Ad=(Td=fd.$el)==null?void 0:Td.parentNode)==null||Ad.removeChild(fd.$el)}function ud(){var Td;Ra.beforeClose&&!Ra.beforeClose()||(td.value=!0,clearTimeout(qa),qa=setTimeout(cd,400),rd.visible=!1,(Td=Ra.closed)==null||Td.call(Ra))}function cd(){if(!td.value)return;const Td=rd.parent;td.value=!1,Td.vLoadingAddClassList=void 0,ad()}const pd=createApp(defineComponent({name:"ElLoading",setup(Td,{expose:Ad}){const{ns:Sd,zIndex:Dd}=useGlobalComponentSettings("loading");return Ad({ns:Sd,zIndex:Dd}),()=>{const Ld=rd.spinner||rd.svg,Rd=h$1("svg",{class:"circular",viewBox:rd.svgViewBox?rd.svgViewBox:"0 0 50 50",...Ld?{innerHTML:Ld}:{}},[h$1("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),Od=rd.text?h$1("p",{class:Sd.b("text")},[rd.text]):void 0;return h$1(Transition$1,{name:Sd.b("fade"),onAfterLeave:cd},{default:withCtx(()=>[withDirectives(createVNode("div",{style:{backgroundColor:rd.background||""},class:[Sd.b("mask"),rd.customClass,rd.fullscreen?"is-fullscreen":""]},[h$1("div",{class:Sd.b("spinner")},[Rd,Od])]),[[vShow,rd.visible]])])})}}})),fd=pd.mount(document.createElement("div"));return{...toRefs(rd),setText:nd,removeElLoadingChild:sd,close:ud,handleAfterLeave:cd,vm:fd,get $el(){return fd.$el}}}let fullscreenInstance;const Loading=function(Ra={}){if(!isClient$1)return;const qa=resolveOptions(Ra);if(qa.fullscreen&&fullscreenInstance)return fullscreenInstance;const td=createLoadingComponent({...qa,closed:()=>{var nd;(nd=qa.closed)==null||nd.call(qa),qa.fullscreen&&(fullscreenInstance=void 0)}});addStyle(qa,qa.parent,td),addClassList(qa,qa.parent,td),qa.parent.vLoadingAddClassList=()=>addClassList(qa,qa.parent,td);let rd=qa.parent.getAttribute("loading-number");return rd?rd=`${Number.parseInt(rd)+1}`:rd="1",qa.parent.setAttribute("loading-number",rd),qa.parent.appendChild(td.$el),nextTick$1(()=>td.visible.value=qa.visible),qa.fullscreen&&(fullscreenInstance=td),td},resolveOptions=Ra=>{var qa,td,rd,nd;let ad;return isString$3(Ra.target)?ad=(qa=document.querySelector(Ra.target))!=null?qa:document.body:ad=Ra.target||document.body,{parent:ad===document.body||Ra.body?document.body:ad,background:Ra.background||"",svg:Ra.svg||"",svgViewBox:Ra.svgViewBox||"",spinner:Ra.spinner||!1,text:Ra.text||"",fullscreen:ad===document.body&&((td=Ra.fullscreen)!=null?td:!0),lock:(rd=Ra.lock)!=null?rd:!1,customClass:Ra.customClass||"",visible:(nd=Ra.visible)!=null?nd:!0,beforeClose:Ra.beforeClose,closed:Ra.closed,target:ad}},addStyle=async(Ra,qa,td)=>{const{nextZIndex:rd}=td.vm.zIndex||td.vm._.exposed.zIndex,nd={};if(Ra.fullscreen)td.originalPosition.value=getStyle(document.body,"position"),td.originalOverflow.value=getStyle(document.body,"overflow"),nd.zIndex=rd();else if(Ra.parent===document.body){td.originalPosition.value=getStyle(document.body,"position"),await nextTick$1();for(const ad of["top","left"]){const sd=ad==="top"?"scrollTop":"scrollLeft";nd[ad]=`${Ra.target.getBoundingClientRect()[ad]+document.body[sd]+document.documentElement[sd]-Number.parseInt(getStyle(document.body,`margin-${ad}`),10)}px`}for(const ad of["height","width"])nd[ad]=`${Ra.target.getBoundingClientRect()[ad]}px`}else td.originalPosition.value=getStyle(qa,"position");for(const[ad,sd]of Object.entries(nd))td.$el.style[ad]=sd},addClassList=(Ra,qa,td)=>{const rd=td.vm.ns||td.vm._.exposed.ns;["absolute","fixed","sticky"].includes(td.originalPosition.value)?removeClass$1(qa,rd.bm("parent","relative")):addClass$1(qa,rd.bm("parent","relative")),Ra.fullscreen&&Ra.lock?addClass$1(qa,rd.bm("parent","hidden")):removeClass$1(qa,rd.bm("parent","hidden"))},INSTANCE_KEY=Symbol("ElLoading"),createInstance$1=(Ra,qa)=>{var td,rd,nd,ad;const sd=qa.instance,ud=Td=>isObject$5(qa.value)?qa.value[Td]:void 0,cd=Td=>{const Ad=isString$3(Td)&&(sd==null?void 0:sd[Td])||Td;return Ad&&ref$1(Ad)},dd=Td=>cd(ud(Td)||Ra.getAttribute(`element-loading-${hyphenate(Td)}`)),pd=(td=ud("fullscreen"))!=null?td:qa.modifiers.fullscreen,fd={text:dd("text"),svg:dd("svg"),svgViewBox:dd("svgViewBox"),spinner:dd("spinner"),background:dd("background"),customClass:dd("customClass"),fullscreen:pd,target:(rd=ud("target"))!=null?rd:pd?void 0:Ra,body:(nd=ud("body"))!=null?nd:qa.modifiers.body,lock:(ad=ud("lock"))!=null?ad:qa.modifiers.lock};Ra[INSTANCE_KEY]={options:fd,instance:Loading(fd)}},updateOptions=(Ra,qa)=>{for(const td of Object.keys(qa))isRef(qa[td])&&(qa[td].value=Ra[td])},vLoading={mounted(Ra,qa){qa.value&&createInstance$1(Ra,qa)},updated(Ra,qa){const td=Ra[INSTANCE_KEY];qa.oldValue!==qa.value&&(qa.value&&!qa.oldValue?createInstance$1(Ra,qa):qa.value&&qa.oldValue?isObject$5(qa.value)&&updateOptions(qa.value,td.options):td==null||td.instance.close())},unmounted(Ra){var qa;(qa=Ra[INSTANCE_KEY])==null||qa.instance.close(),Ra[INSTANCE_KEY]=null}},ElLoading={install(Ra){Ra.directive("loading",vLoading),Ra.config.globalProperties.$loading=Loading},directive:vLoading,service:Loading},messageTypes=["success","info","warning","error"],messageDefaults=mutable({customClass:"",center:!1,dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",plain:!1,offset:16,zIndex:0,grouping:!1,repeatNum:1,appendTo:isClient$1?document.body:void 0}),messageProps=buildProps({customClass:{type:String,default:messageDefaults.customClass},center:{type:Boolean,default:messageDefaults.center},dangerouslyUseHTMLString:{type:Boolean,default:messageDefaults.dangerouslyUseHTMLString},duration:{type:Number,default:messageDefaults.duration},icon:{type:iconPropType,default:messageDefaults.icon},id:{type:String,default:messageDefaults.id},message:{type:definePropType([String,Object,Function]),default:messageDefaults.message},onClose:{type:definePropType(Function),default:messageDefaults.onClose},showClose:{type:Boolean,default:messageDefaults.showClose},type:{type:String,values:messageTypes,default:messageDefaults.type},plain:{type:Boolean,default:messageDefaults.plain},offset:{type:Number,default:messageDefaults.offset},zIndex:{type:Number,default:messageDefaults.zIndex},grouping:{type:Boolean,default:messageDefaults.grouping},repeatNum:{type:Number,default:messageDefaults.repeatNum}}),messageEmits={destroy:()=>!0},instances=shallowReactive([]),getInstance=Ra=>{const qa=instances.findIndex(nd=>nd.id===Ra),td=instances[qa];let rd;return qa>0&&(rd=instances[qa-1]),{current:td,prev:rd}},getLastOffset=Ra=>{const{prev:qa}=getInstance(Ra);return qa?qa.vm.exposed.bottom.value:0},getOffsetOrSpace=(Ra,qa)=>instances.findIndex(rd=>rd.id===Ra)>0?16:qa,__default__$1=defineComponent({name:"ElMessage"}),_sfc_main$Q=defineComponent({...__default__$1,props:messageProps,emits:messageEmits,setup(Ra,{expose:qa}){const td=Ra,{Close:rd}=TypeComponents,{ns:nd,zIndex:ad}=useGlobalComponentSettings("message"),{currentZIndex:sd,nextZIndex:ud}=ad,cd=ref$1(),dd=ref$1(!1),pd=ref$1(0);let fd;const Td=computed(()=>td.type?td.type==="error"?"danger":td.type:"info"),Ad=computed(()=>{const zd=td.type;return{[nd.bm("icon",zd)]:zd&&TypeComponentsMap[zd]}}),Sd=computed(()=>td.icon||TypeComponentsMap[td.type]||""),Dd=computed(()=>getLastOffset(td.id)),Ld=computed(()=>getOffsetOrSpace(td.id,td.offset)+Dd.value),Rd=computed(()=>pd.value+Ld.value),Od=computed(()=>({top:`${Ld.value}px`,zIndex:sd.value}));function Md(){td.duration!==0&&({stop:fd}=useTimeoutFn(()=>{Ud()},td.duration))}function jd(){fd==null||fd()}function Ud(){dd.value=!1}function Hd({code:zd}){zd===EVENT_CODE.esc&&Ud()}return onMounted(()=>{Md(),ud(),dd.value=!0}),watch(()=>td.repeatNum,()=>{jd(),Md()}),useEventListener$1(document,"keydown",Hd),useResizeObserver(cd,()=>{pd.value=cd.value.getBoundingClientRect().height}),qa({visible:dd,bottom:Rd,close:Ud}),(zd,Zd)=>(openBlock(),createBlock(Transition$1,{name:unref(nd).b("fade"),onBeforeLeave:zd.onClose,onAfterLeave:Wd=>zd.$emit("destroy"),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:zd.id,ref_key:"messageRef",ref:cd,class:normalizeClass([unref(nd).b(),{[unref(nd).m(zd.type)]:zd.type},unref(nd).is("center",zd.center),unref(nd).is("closable",zd.showClose),unref(nd).is("plain",zd.plain),zd.customClass]),style:normalizeStyle(unref(Od)),role:"alert",onMouseenter:jd,onMouseleave:Md},[zd.repeatNum>1?(openBlock(),createBlock(unref(ElBadge),{key:0,value:zd.repeatNum,type:unref(Td),class:normalizeClass(unref(nd).e("badge"))},null,8,["value","type","class"])):createCommentVNode("v-if",!0),unref(Sd)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(nd).e("icon"),unref(Ad)])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Sd))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),renderSlot(zd.$slots,"default",{},()=>[zd.dangerouslyUseHTMLString?(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" Caution here, message could've been compromised, never use user's input as message "),createBaseVNode("p",{class:normalizeClass(unref(nd).e("content")),innerHTML:zd.message},null,10,["innerHTML"])],2112)):(openBlock(),createElementBlock("p",{key:0,class:normalizeClass(unref(nd).e("content"))},toDisplayString(zd.message),3))]),zd.showClose?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass(unref(nd).e("closeBtn")),onClick:withModifiers(Ud,["stop"])},{default:withCtx(()=>[createVNode(unref(rd))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],46,["id"]),[[vShow,dd.value]])]),_:3},8,["name","onBeforeLeave","onAfterLeave"]))}});var MessageConstructor=_export_sfc$1(_sfc_main$Q,[["__file","message.vue"]]);let seed$1=1;const normalizeOptions=Ra=>{const qa=!Ra||isString$3(Ra)||isVNode(Ra)||isFunction$4(Ra)?{message:Ra}:Ra,td={...messageDefaults,...qa};if(!td.appendTo)td.appendTo=document.body;else if(isString$3(td.appendTo)){let rd=document.querySelector(td.appendTo);isElement$2(rd)||(rd=document.body),td.appendTo=rd}return isBoolean$3(messageConfig.grouping)&&!td.grouping&&(td.grouping=messageConfig.grouping),isNumber$4(messageConfig.duration)&&td.duration===3e3&&(td.duration=messageConfig.duration),isNumber$4(messageConfig.offset)&&td.offset===16&&(td.offset=messageConfig.offset),isBoolean$3(messageConfig.showClose)&&!td.showClose&&(td.showClose=messageConfig.showClose),td},closeMessage=Ra=>{const qa=instances.indexOf(Ra);if(qa===-1)return;instances.splice(qa,1);const{handler:td}=Ra;td.close()},createMessage=({appendTo:Ra,...qa},td)=>{const rd=`message_${seed$1++}`,nd=qa.onClose,ad=document.createElement("div"),sd={...qa,id:rd,onClose:()=>{nd==null||nd(),closeMessage(pd)},onDestroy:()=>{render$4(null,ad)}},ud=createVNode(MessageConstructor,sd,isFunction$4(sd.message)||isVNode(sd.message)?{default:isFunction$4(sd.message)?sd.message:()=>sd.message}:null);ud.appContext=td||message._context,render$4(ud,ad),Ra.appendChild(ad.firstElementChild);const cd=ud.component,pd={id:rd,vnode:ud,vm:cd,handler:{close:()=>{cd.exposed.visible.value=!1}},props:ud.component.props};return pd},message=(Ra={},qa)=>{if(!isClient$1)return{close:()=>{}};const td=normalizeOptions(Ra);if(td.grouping&&instances.length){const nd=instances.find(({vnode:ad})=>{var sd;return((sd=ad.props)==null?void 0:sd.message)===td.message});if(nd)return nd.props.repeatNum+=1,nd.props.type=td.type,nd.handler}if(isNumber$4(messageConfig.max)&&instances.length>=messageConfig.max)return{close:()=>{}};const rd=createMessage(td,qa);return instances.push(rd),rd.handler};messageTypes.forEach(Ra=>{message[Ra]=(qa={},td)=>{const rd=normalizeOptions(qa);return message({...rd,type:Ra},td)}});function closeAll$1(Ra){for(const qa of instances)(!Ra||Ra===qa.props.type)&&qa.handler.close()}message.closeAll=closeAll$1;message._context=null;const ElMessage=withInstallFunction(message,"$message"),_sfc_main$P=defineComponent({name:"ElMessageBox",directives:{TrapFocus},components:{ElButton,ElFocusTrap,ElInput,ElOverlay,ElIcon,...TypeComponents},inheritAttrs:!1,props:{buttonSize:{type:String,validator:isValidComponentSize},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,overflow:Boolean,roundButton:{default:!1,type:Boolean},container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(Ra,{emit:qa}){const{locale:td,zIndex:rd,ns:nd,size:ad}=useGlobalComponentSettings("message-box",computed(()=>Ra.buttonSize)),{t:sd}=td,{nextZIndex:ud}=rd,cd=ref$1(!1),dd=reactive({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:null,inputValidator:null,inputErrorMessage:"",message:null,modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonLoadingIcon:markRaw(loading_default),cancelButtonLoadingIcon:markRaw(loading_default),confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:ud()}),pd=computed(()=>{const vf=dd.type;return{[nd.bm("icon",vf)]:vf&&TypeComponentsMap[vf]}}),fd=useId(),Td=useId(),Ad=computed(()=>dd.icon||TypeComponentsMap[dd.type]||""),Sd=computed(()=>!!dd.message),Dd=ref$1(),Ld=ref$1(),Rd=ref$1(),Od=ref$1(),Md=ref$1(),jd=computed(()=>dd.confirmButtonClass);watch(()=>dd.inputValue,async vf=>{await nextTick$1(),Ra.boxType==="prompt"&&vf!==null&&hf()},{immediate:!0}),watch(()=>cd.value,vf=>{var xf,Bf;vf&&(Ra.boxType!=="prompt"&&(dd.autofocus?Rd.value=(Bf=(xf=Md.value)==null?void 0:xf.$el)!=null?Bf:Dd.value:Rd.value=Dd.value),dd.zIndex=ud()),Ra.boxType==="prompt"&&(vf?nextTick$1().then(()=>{var Yf;Od.value&&Od.value.$el&&(dd.autofocus?Rd.value=(Yf=bf())!=null?Yf:Dd.value:Rd.value=Dd.value)}):(dd.editorErrorMessage="",dd.validateError=!1))});const Ud=computed(()=>Ra.draggable),Hd=computed(()=>Ra.overflow);useDraggable(Dd,Ld,Ud,Hd),onMounted(async()=>{await nextTick$1(),Ra.closeOnHashChange&&window.addEventListener("hashchange",zd)}),onBeforeUnmount(()=>{Ra.closeOnHashChange&&window.removeEventListener("hashchange",zd)});function zd(){cd.value&&(cd.value=!1,nextTick$1(()=>{dd.action&&qa("action",dd.action)}))}const Zd=()=>{Ra.closeOnClickModal&&Jd(dd.distinguishCancelAndClose?"close":"cancel")},Wd=useSameTarget(Zd),Qd=vf=>{if(dd.inputType!=="textarea")return vf.preventDefault(),Jd("confirm")},Jd=vf=>{var xf;Ra.boxType==="prompt"&&vf==="confirm"&&!hf()||(dd.action=vf,dd.beforeClose?(xf=dd.beforeClose)==null||xf.call(dd,vf,dd,zd):zd())},hf=()=>{if(Ra.boxType==="prompt"){const vf=dd.inputPattern;if(vf&&!vf.test(dd.inputValue||""))return dd.editorErrorMessage=dd.inputErrorMessage||sd("el.messagebox.error"),dd.validateError=!0,!1;const xf=dd.inputValidator;if(typeof xf=="function"){const Bf=xf(dd.inputValue);if(Bf===!1)return dd.editorErrorMessage=dd.inputErrorMessage||sd("el.messagebox.error"),dd.validateError=!0,!1;if(typeof Bf=="string")return dd.editorErrorMessage=Bf,dd.validateError=!0,!1}}return dd.editorErrorMessage="",dd.validateError=!1,!0},bf=()=>{const vf=Od.value.$refs;return vf.input||vf.textarea},Ef=()=>{Jd("close")},_f=()=>{Ra.closeOnPressEscape&&Ef()};return Ra.lockScroll&&useLockscreen(cd),{...toRefs(dd),ns:nd,overlayEvent:Wd,visible:cd,hasMessage:Sd,typeClass:pd,contentId:fd,inputId:Td,btnSize:ad,iconComponent:Ad,confirmButtonClasses:jd,rootRef:Dd,focusStartRef:Rd,headerRef:Ld,inputRef:Od,confirmRef:Md,doClose:zd,handleClose:Ef,onCloseRequested:_f,handleWrapperClick:Zd,handleInputEnter:Qd,handleAction:Jd,t:sd}}});function _sfc_render(Ra,qa,td,rd,nd,ad){const sd=resolveComponent("el-icon"),ud=resolveComponent("close"),cd=resolveComponent("el-input"),dd=resolveComponent("el-button"),pd=resolveComponent("el-focus-trap"),fd=resolveComponent("el-overlay");return openBlock(),createBlock(Transition$1,{name:"fade-in-linear",onAfterLeave:Td=>Ra.$emit("vanish"),persisted:""},{default:withCtx(()=>[withDirectives(createVNode(fd,{"z-index":Ra.zIndex,"overlay-class":[Ra.ns.is("message-box"),Ra.modalClass],mask:Ra.modal},{default:withCtx(()=>[createBaseVNode("div",{role:"dialog","aria-label":Ra.title,"aria-modal":"true","aria-describedby":Ra.showInput?void 0:Ra.contentId,class:normalizeClass(`${Ra.ns.namespace.value}-overlay-message-box`),onClick:Ra.overlayEvent.onClick,onMousedown:Ra.overlayEvent.onMousedown,onMouseup:Ra.overlayEvent.onMouseup},[createVNode(pd,{loop:"",trapped:Ra.visible,"focus-trap-el":Ra.rootRef,"focus-start-el":Ra.focusStartRef,onReleaseRequested:Ra.onCloseRequested},{default:withCtx(()=>[createBaseVNode("div",{ref:"rootRef",class:normalizeClass([Ra.ns.b(),Ra.customClass,Ra.ns.is("draggable",Ra.draggable),{[Ra.ns.m("center")]:Ra.center}]),style:normalizeStyle(Ra.customStyle),tabindex:"-1",onClick:withModifiers(()=>{},["stop"])},[Ra.title!==null&&Ra.title!==void 0?(openBlock(),createElementBlock("div",{key:0,ref:"headerRef",class:normalizeClass([Ra.ns.e("header"),{"show-close":Ra.showClose}])},[createBaseVNode("div",{class:normalizeClass(Ra.ns.e("title"))},[Ra.iconComponent&&Ra.center?(openBlock(),createBlock(sd,{key:0,class:normalizeClass([Ra.ns.e("status"),Ra.typeClass])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ra.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("span",null,toDisplayString(Ra.title),1)],2),Ra.showClose?(openBlock(),createElementBlock("button",{key:0,type:"button",class:normalizeClass(Ra.ns.e("headerbtn")),"aria-label":Ra.t("el.messagebox.close"),onClick:Td=>Ra.handleAction(Ra.distinguishCancelAndClose?"close":"cancel"),onKeydown:withKeys(withModifiers(Td=>Ra.handleAction(Ra.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"])},[createVNode(sd,{class:normalizeClass(Ra.ns.e("close"))},{default:withCtx(()=>[createVNode(ud)]),_:1},8,["class"])],42,["aria-label","onClick","onKeydown"])):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{id:Ra.contentId,class:normalizeClass(Ra.ns.e("content"))},[createBaseVNode("div",{class:normalizeClass(Ra.ns.e("container"))},[Ra.iconComponent&&!Ra.center&&Ra.hasMessage?(openBlock(),createBlock(sd,{key:0,class:normalizeClass([Ra.ns.e("status"),Ra.typeClass])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ra.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),Ra.hasMessage?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(Ra.ns.e("message"))},[renderSlot(Ra.$slots,"default",{},()=>[Ra.dangerouslyUseHTMLString?(openBlock(),createBlock(resolveDynamicComponent(Ra.showInput?"label":"p"),{key:1,for:Ra.showInput?Ra.inputId:void 0,innerHTML:Ra.message},null,8,["for","innerHTML"])):(openBlock(),createBlock(resolveDynamicComponent(Ra.showInput?"label":"p"),{key:0,for:Ra.showInput?Ra.inputId:void 0},{default:withCtx(()=>[createTextVNode(toDisplayString(Ra.dangerouslyUseHTMLString?"":Ra.message),1)]),_:1},8,["for"]))])],2)):createCommentVNode("v-if",!0)],2),withDirectives(createBaseVNode("div",{class:normalizeClass(Ra.ns.e("input"))},[createVNode(cd,{id:Ra.inputId,ref:"inputRef",modelValue:Ra.inputValue,"onUpdate:modelValue":Td=>Ra.inputValue=Td,type:Ra.inputType,placeholder:Ra.inputPlaceholder,"aria-invalid":Ra.validateError,class:normalizeClass({invalid:Ra.validateError}),onKeydown:withKeys(Ra.handleInputEnter,["enter"])},null,8,["id","modelValue","onUpdate:modelValue","type","placeholder","aria-invalid","class","onKeydown"]),createBaseVNode("div",{class:normalizeClass(Ra.ns.e("errormsg")),style:normalizeStyle({visibility:Ra.editorErrorMessage?"visible":"hidden"})},toDisplayString(Ra.editorErrorMessage),7)],2),[[vShow,Ra.showInput]])],10,["id"]),createBaseVNode("div",{class:normalizeClass(Ra.ns.e("btns"))},[Ra.showCancelButton?(openBlock(),createBlock(dd,{key:0,loading:Ra.cancelButtonLoading,"loading-icon":Ra.cancelButtonLoadingIcon,class:normalizeClass([Ra.cancelButtonClass]),round:Ra.roundButton,size:Ra.btnSize,onClick:Td=>Ra.handleAction("cancel"),onKeydown:withKeys(withModifiers(Td=>Ra.handleAction("cancel"),["prevent"]),["enter"])},{default:withCtx(()=>[createTextVNode(toDisplayString(Ra.cancelButtonText||Ra.t("el.messagebox.cancel")),1)]),_:1},8,["loading","loading-icon","class","round","size","onClick","onKeydown"])):createCommentVNode("v-if",!0),withDirectives(createVNode(dd,{ref:"confirmRef",type:"primary",loading:Ra.confirmButtonLoading,"loading-icon":Ra.confirmButtonLoadingIcon,class:normalizeClass([Ra.confirmButtonClasses]),round:Ra.roundButton,disabled:Ra.confirmButtonDisabled,size:Ra.btnSize,onClick:Td=>Ra.handleAction("confirm"),onKeydown:withKeys(withModifiers(Td=>Ra.handleAction("confirm"),["prevent"]),["enter"])},{default:withCtx(()=>[createTextVNode(toDisplayString(Ra.confirmButtonText||Ra.t("el.messagebox.confirm")),1)]),_:1},8,["loading","loading-icon","class","round","disabled","size","onClick","onKeydown"]),[[vShow,Ra.showConfirmButton]])],2)],14,["onClick"])]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,["aria-label","aria-describedby","onClick","onMousedown","onMouseup"])]),_:3},8,["z-index","overlay-class","mask"]),[[vShow,Ra.visible]])]),_:3},8,["onAfterLeave"])}var MessageBoxConstructor=_export_sfc$1(_sfc_main$P,[["render",_sfc_render],["__file","index.vue"]]);const messageInstance=new Map,getAppendToElement=Ra=>{let qa=document.body;return Ra.appendTo&&(isString$3(Ra.appendTo)&&(qa=document.querySelector(Ra.appendTo)),isElement$2(Ra.appendTo)&&(qa=Ra.appendTo),isElement$2(qa)||(qa=document.body)),qa},initInstance=(Ra,qa,td=null)=>{const rd=createVNode(MessageBoxConstructor,Ra,isFunction$4(Ra.message)||isVNode(Ra.message)?{default:isFunction$4(Ra.message)?Ra.message:()=>Ra.message}:null);return rd.appContext=td,render$4(rd,qa),getAppendToElement(Ra).appendChild(qa.firstElementChild),rd.component},genContainer=()=>document.createElement("div"),showMessage=(Ra,qa)=>{const td=genContainer();Ra.onVanish=()=>{render$4(null,td),messageInstance.delete(nd)},Ra.onAction=ad=>{const sd=messageInstance.get(nd);let ud;Ra.showInput?ud={value:nd.inputValue,action:ad}:ud=ad,Ra.callback?Ra.callback(ud,rd.proxy):ad==="cancel"||ad==="close"?Ra.distinguishCancelAndClose&&ad!=="cancel"?sd.reject("close"):sd.reject("cancel"):sd.resolve(ud)};const rd=initInstance(Ra,td,qa),nd=rd.proxy;for(const ad in Ra)hasOwn$2(Ra,ad)&&!hasOwn$2(nd.$props,ad)&&(nd[ad]=Ra[ad]);return nd.visible=!0,nd};function MessageBox(Ra,qa=null){if(!isClient$1)return Promise.reject();let td;return isString$3(Ra)||isVNode(Ra)?Ra={message:Ra}:td=Ra.callback,new Promise((rd,nd)=>{const ad=showMessage(Ra,qa??MessageBox._context);messageInstance.set(ad,{options:Ra,callback:td,resolve:rd,reject:nd})})}const MESSAGE_BOX_VARIANTS=["alert","confirm","prompt"],MESSAGE_BOX_DEFAULT_OPTS={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};MESSAGE_BOX_VARIANTS.forEach(Ra=>{MessageBox[Ra]=messageBoxFactory(Ra)});function messageBoxFactory(Ra){return(qa,td,rd,nd)=>{let ad="";return isObject$5(td)?(rd=td,ad=""):isUndefined$1(td)?ad="":ad=td,MessageBox(Object.assign({title:ad,message:qa,type:"",...MESSAGE_BOX_DEFAULT_OPTS[Ra]},rd,{boxType:Ra}),nd)}}MessageBox.close=()=>{messageInstance.forEach((Ra,qa)=>{qa.doClose()}),messageInstance.clear()};MessageBox._context=null;const _MessageBox=MessageBox;_MessageBox.install=Ra=>{_MessageBox._context=Ra._context,Ra.config.globalProperties.$msgbox=_MessageBox,Ra.config.globalProperties.$messageBox=_MessageBox,Ra.config.globalProperties.$alert=_MessageBox.alert,Ra.config.globalProperties.$confirm=_MessageBox.confirm,Ra.config.globalProperties.$prompt=_MessageBox.prompt};const ElMessageBox=_MessageBox,notificationTypes=["success","info","warning","error"],notificationProps=buildProps({customClass:{type:String,default:""},dangerouslyUseHTMLString:Boolean,duration:{type:Number,default:4500},icon:{type:iconPropType},id:{type:String,default:""},message:{type:definePropType([String,Object]),default:""},offset:{type:Number,default:0},onClick:{type:definePropType(Function),default:()=>{}},onClose:{type:definePropType(Function),required:!0},position:{type:String,values:["top-right","top-left","bottom-right","bottom-left"],default:"top-right"},showClose:{type:Boolean,default:!0},title:{type:String,default:""},type:{type:String,values:[...notificationTypes,""],default:""},zIndex:Number}),notificationEmits={destroy:()=>!0},__default__=defineComponent({name:"ElNotification"}),_sfc_main$O=defineComponent({...__default__,props:notificationProps,emits:notificationEmits,setup(Ra,{expose:qa}){const td=Ra,{ns:rd,zIndex:nd}=useGlobalComponentSettings("notification"),{nextZIndex:ad,currentZIndex:sd}=nd,{Close:ud}=CloseComponents,cd=ref$1(!1);let dd;const pd=computed(()=>{const Md=td.type;return Md&&TypeComponentsMap[td.type]?rd.m(Md):""}),fd=computed(()=>td.type&&TypeComponentsMap[td.type]||td.icon),Td=computed(()=>td.position.endsWith("right")?"right":"left"),Ad=computed(()=>td.position.startsWith("top")?"top":"bottom"),Sd=computed(()=>{var Md;return{[Ad.value]:`${td.offset}px`,zIndex:(Md=td.zIndex)!=null?Md:sd.value}});function Dd(){td.duration>0&&({stop:dd}=useTimeoutFn(()=>{cd.value&&Rd()},td.duration))}function Ld(){dd==null||dd()}function Rd(){cd.value=!1}function Od({code:Md}){Md===EVENT_CODE.delete||Md===EVENT_CODE.backspace?Ld():Md===EVENT_CODE.esc?cd.value&&Rd():Dd()}return onMounted(()=>{Dd(),ad(),cd.value=!0}),useEventListener$1(document,"keydown",Od),qa({visible:cd,close:Rd}),(Md,jd)=>(openBlock(),createBlock(Transition$1,{name:unref(rd).b("fade"),onBeforeLeave:Md.onClose,onAfterLeave:Ud=>Md.$emit("destroy"),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:Md.id,class:normalizeClass([unref(rd).b(),Md.customClass,unref(Td)]),style:normalizeStyle(unref(Sd)),role:"alert",onMouseenter:Ld,onMouseleave:Dd,onClick:Md.onClick},[unref(fd)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(rd).e("icon"),unref(pd)])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(fd))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(rd).e("group"))},[createBaseVNode("h2",{class:normalizeClass(unref(rd).e("title")),textContent:toDisplayString(Md.title)},null,10,["textContent"]),withDirectives(createBaseVNode("div",{class:normalizeClass(unref(rd).e("content")),style:normalizeStyle(Md.title?void 0:{margin:0})},[renderSlot(Md.$slots,"default",{},()=>[Md.dangerouslyUseHTMLString?(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" Caution here, message could've been compromised, never use user's input as message "),createBaseVNode("p",{innerHTML:Md.message},null,8,["innerHTML"])],2112)):(openBlock(),createElementBlock("p",{key:0},toDisplayString(Md.message),1))])],6),[[vShow,Md.message]]),Md.showClose?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(rd).e("closeBtn")),onClick:withModifiers(Rd,["stop"])},{default:withCtx(()=>[createVNode(unref(ud))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],2)],46,["id","onClick"]),[[vShow,cd.value]])]),_:3},8,["name","onBeforeLeave","onAfterLeave"]))}});var NotificationConstructor=_export_sfc$1(_sfc_main$O,[["__file","notification.vue"]]);const notifications={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},GAP_SIZE=16;let seed=1;const notify=function(Ra={},qa=null){if(!isClient$1)return{close:()=>{}};(typeof Ra=="string"||isVNode(Ra))&&(Ra={message:Ra});const td=Ra.position||"top-right";let rd=Ra.offset||0;notifications[td].forEach(({vm:pd})=>{var fd;rd+=(((fd=pd.el)==null?void 0:fd.offsetHeight)||0)+GAP_SIZE}),rd+=GAP_SIZE;const nd=`notification_${seed++}`,ad=Ra.onClose,sd={...Ra,offset:rd,id:nd,onClose:()=>{close(nd,td,ad)}};let ud=document.body;isElement$2(Ra.appendTo)?ud=Ra.appendTo:isString$3(Ra.appendTo)&&(ud=document.querySelector(Ra.appendTo)),isElement$2(ud)||(ud=document.body);const cd=document.createElement("div"),dd=createVNode(NotificationConstructor,sd,isVNode(sd.message)?{default:()=>sd.message}:null);return dd.appContext=qa??notify._context,dd.props.onDestroy=()=>{render$4(null,cd)},render$4(dd,cd),notifications[td].push({vm:dd}),ud.appendChild(cd.firstElementChild),{close:()=>{dd.component.exposed.visible.value=!1}}};notificationTypes.forEach(Ra=>{notify[Ra]=(qa={})=>((typeof qa=="string"||isVNode(qa))&&(qa={message:qa}),notify({...qa,type:Ra}))});function close(Ra,qa,td){const rd=notifications[qa],nd=rd.findIndex(({vm:dd})=>{var pd;return((pd=dd.component)==null?void 0:pd.props.id)===Ra});if(nd===-1)return;const{vm:ad}=rd[nd];if(!ad)return;td==null||td(ad);const sd=ad.el.offsetHeight,ud=qa.split("-")[0];rd.splice(nd,1);const cd=rd.length;if(!(cd<1))for(let dd=nd;dd{qa.component.exposed.visible.value=!1})}notify.closeAll=closeAll;notify._context=null;const ElNotification=withInstallFunction(notify,"$notify"),DEFAULT_CONTENT=`# 探索 Markdown 的奇妙世界 欢迎来到 Markdown 的奇妙世界!无论你是写作爱好者、开发者、博主,还是想要简单记录点什么的人,Markdown 都能成为你新的好伙伴。它不仅让写作变得简单明了,还能轻松地将内容转化为漂亮的网页格式。今天,我们将全面探讨 Markdown 的基础和进阶语法,让你在这个过程中充分享受写作的乐趣! @@ -231,7 +231,7 @@ Markdown 是一种简单、强大且易于掌握的标记语言,通过学习 * 如:color: var(--md-primary-color); * * 召集令:如果你有好看的主题样式,欢迎分享,让更多人能够使用到你的主题。 - * 提交区:https://github.com/doocs/md/issues/363 + * 提交区:https://github.com/doocs/md/discussions/426 */ /* 一级标题样式 */ h1 { @@ -287,316 +287,316 @@ code { /* 代码块外层样式 */ code_pre { } -`,githubConfig={username:"bucketio",repoList:Array.from({length:20},(Ra,qa)=>`img${qa}`),branch:"main",accessTokenList:["ghp_sqQg5y7XC7Fy8XdoocsmdVEYRiRiTZPvbwzTL4MRjQc","ghp_jB5JXzBjpGbgzdoocsmdogWfSHhfCKGVstozw1cAsPv","ghp_zvy8wkHo259g7doocsmdJnUKOQd1WO1SPzZ9G0O9cJD","ghp_DnCJc2Ms0RVZ1doocsmdiWOAN78FurfSeD1Pv2Y28pO","ghp_EsMYDv9WVjXWP5doocsmd1nnDml2DEP95rOiz44bSo0","ghp_L4isHf01nllOOdoocsmdHBGoDG6jscCA09WV44QDvlg","ghp_qWciwYXHPakAUGdoocsmdBOBZdRcV08JThKey3mBZNJ","ghp_rxkvIO08wVL2DMdoocsmd2jDEhcatp2rfVyhd3A7RiS","ghp_1RvkWKboSxr0yVdoocsmd7OtBCpecYwoV6deh3utifJ","ghp_cduanDnAug60ngdoocsmdF1uDstXUi6S9RMhY1qdada","ghp_q6mxuJIkqAcsCXdoocsmdkkjWvzGlMVRuy5zI0IWNDx","ghp_Pv4npPeJpChKFMTdoocsmdCQneopUcqJrqrjl3vrt9A","ghp_gKMCFqMaQiLTqhjdoocsmd7BJE8RyK6AdRw4b42CutS","ghp_2oShgb33qFlqBmadoocsmdludmuLYxBFY5bao1XrsVo","ghp_eYyd3kxWTZmsV8doocsmdDFbAa7AEGQTJgmOd0GUmtY"]},giteeConfig={username:"filesss",repoList:Array.from({length:20},(Ra,qa)=>`img${qa}`),branch:"main",accessTokenList:["ed5fc9866bd6c2fdoocsmddd433f806fd2f399c","5448ffebbbf1151doocsmdc4e337cf814fc8a62","25b05efd2557ca2doocsmd75b5c0835e3395911","11628c7a5aef015doocsmd2eeff9fb9566f0458","cb2f5145ed938dedoocsmdbd063b4ed244eecf8","d8c0b57500672c1doocsmd55f48b866b5ebcd98","78c56eadb88e453doocsmd43ddd95753351771a","03e1a688003948fdoocsmda16fcf41e6f03f1f0","c49121cf4d191fbdoocsmdd6a7877ed537e474a","adfeb2fadcdc4aadoocsmdfe1ee869ac9c968ff","116c94549ca4a0ddoocsmd192653af5c0694616","ecf30ed7f2eb184doocsmd51ea4ec8300371d9e","5837cf2bd5afd93doocsmd73904bed31934949e","b5b7e1c7d57e01fdoocsmd5266f552574297d78","684d55564ffbd0bdoocsmd7d747e5cc23aed6d6","3fc04a9d272ab71doocsmd010c56cb57d88d2ba"]},fontFamilyOptions=[{label:"无衬线",value:"-apple-system-font,BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB , Microsoft YaHei UI , Microsoft YaHei ,Arial,sans-serif",desc:"字体123Abc"},{label:"衬线",value:"Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, 'PingFang SC', Cambria, Cochin, Georgia, Times, 'Times New Roman', serif",desc:"字体123Abc"},{label:"等宽",value:"Menlo, Monaco, 'Courier New', monospace",desc:"字体123Abc"}],fontSizeOptions=[{label:"12px",value:"12px",desc:"更小"},{label:"13px",value:"13px",desc:"稍小"},{label:"14px",value:"14px",desc:"推荐"},{label:"15px",value:"15px",desc:"稍大"},{label:"16px",value:"16px",desc:"更大"}],colorOptions=[{label:"经典蓝",value:"#0F4C81",desc:"稳重冷静"},{label:"翡翠绿",value:"#009874",desc:"自然平衡"},{label:"活力橘",value:"#FA5151",desc:"热情活力"},{label:"柠檬黄",value:"#FECE00",desc:"明亮温暖"},{label:"薰衣紫",value:"#92617E",desc:"优雅神秘"},{label:"天空蓝",value:"#55C9EA",desc:"清爽自由"},{label:"玫瑰金",value:"#B76E79",desc:"奢华现代"},{label:"橄榄绿",value:"#556B2F",desc:"沉稳自然"},{label:"石墨黑",value:"#333333",desc:"内敛极简"},{label:"雾烟灰",value:"#A9A9A9",desc:"柔和低调"},{label:"樱花粉",value:"#FFB7C5",desc:"浪漫甜美"}],codeBlockUrlPrefix="https://cdn.bootcdn.net/ajax/libs/highlight.js/11.10.0/styles/",codeBlockThemeList=["1c-light.min.css","a11y-dark.min.css","a11y-light.min.css","agate.min.css","an-old-hope.min.css","androidstudio.min.css","arduino-light.min.css","arta.min.css","ascetic.min.css","atom-one-dark-reasonable.min.css","atom-one-dark.min.css","atom-one-light.min.css","brown-paper.min.css","codepen-embed.min.css","color-brewer.min.css","dark.min.css","default.min.css","devibeans.min.css","docco.min.css","far.min.css","felipec.min.css","foundation.min.css","github-dark-dimmed.min.css","github-dark.min.css","github.min.css","gml.min.css","googlecode.min.css","gradient-dark.min.css","gradient-light.min.css","grayscale.min.css","hybrid.min.css","idea.min.css","intellij-light.min.css","ir-black.min.css","isbl-editor-dark.min.css","isbl-editor-light.min.css","kimbie-dark.min.css","kimbie-light.min.css","lightfair.min.css","lioshi.min.css","magula.min.css","mono-blue.min.css","monokai-sublime.min.css","monokai.min.css","night-owl.min.css","nnfx-dark.min.css","nnfx-light.min.css","nord.min.css","obsidian.min.css","panda-syntax-dark.min.css","panda-syntax-light.min.css","paraiso-dark.min.css","paraiso-light.min.css","pojoaque.min.css","purebasic.min.css","qtcreator-dark.min.css","qtcreator-light.min.css","rainbow.min.css","routeros.min.css","school-book.min.css","shades-of-purple.min.css","srcery.min.css","stackoverflow-dark.min.css","stackoverflow-light.min.css","sunburst.min.css","tokyo-night-dark.min.css","tokyo-night-light.min.css","tomorrow-night-blue.min.css","tomorrow-night-bright.min.css","vs.min.css","vs2015.min.css","xcode.min.css","xt256.min.css"].sort(),codeBlockThemeOptions=codeBlockThemeList.map(Ra=>{const qa=Ra.replace(".min.css",""),ed=`${codeBlockUrlPrefix}${Ra}`;return{label:qa,value:ed,desc:""}}),legendOptions=[{label:"title 优先",value:"title-alt",desc:""},{label:"alt 优先",value:"alt-title",desc:""},{label:"只显示 title",value:"title",desc:""},{label:"只显示 alt",value:"alt",desc:""},{label:"不显示",value:"none",desc:""}];function isTypedArray$2(Ra){return ArrayBuffer.isView(Ra)&&!(Ra instanceof DataView)}function isPrimitive(Ra){return Ra==null||typeof Ra!="object"&&typeof Ra!="function"}var buffer$1={},base64Js$1={};base64Js$1.byteLength=byteLength;base64Js$1.toByteArray=toByteArray;base64Js$1.fromByteArray=fromByteArray;var lookup=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var i$3=0,len=code.length;i$30)throw new Error("Invalid string. Length must be a multiple of 4");var ed=Ra.indexOf("=");ed===-1&&(ed=qa);var td=ed===qa?0:4-ed%4;return[ed,td]}function byteLength(Ra){var qa=getLens(Ra),ed=qa[0],td=qa[1];return(ed+td)*3/4-td}function _byteLength(Ra,qa,ed){return(qa+ed)*3/4-ed}function toByteArray(Ra){var qa,ed=getLens(Ra),td=ed[0],rd=ed[1],sd=new Arr(_byteLength(Ra,td,rd)),od=0,ld=rd>0?td-4:td,ud;for(ud=0;ud>16&255,sd[od++]=qa>>8&255,sd[od++]=qa&255;return rd===2&&(qa=revLookup[Ra.charCodeAt(ud)]<<2|revLookup[Ra.charCodeAt(ud+1)]>>4,sd[od++]=qa&255),rd===1&&(qa=revLookup[Ra.charCodeAt(ud)]<<10|revLookup[Ra.charCodeAt(ud+1)]<<4|revLookup[Ra.charCodeAt(ud+2)]>>2,sd[od++]=qa>>8&255,sd[od++]=qa&255),sd}function tripletToBase64(Ra){return lookup[Ra>>18&63]+lookup[Ra>>12&63]+lookup[Ra>>6&63]+lookup[Ra&63]}function encodeChunk(Ra,qa,ed){for(var td,rd=[],sd=qa;sdld?ld:od+sd));return td===1?(qa=Ra[ed-1],rd.push(lookup[qa>>2]+lookup[qa<<4&63]+"==")):td===2&&(qa=(Ra[ed-2]<<8)+Ra[ed-1],rd.push(lookup[qa>>10]+lookup[qa>>4&63]+lookup[qa<<2&63]+"=")),rd.join("")}var ieee754$1={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ieee754$1.read=function(Ra,qa,ed,td,rd){var sd,od,ld=rd*8-td-1,ud=(1<>1,dd=-7,_d=ed?rd-1:0,Ed=ed?-1:1,Ad=Ra[qa+_d];for(_d+=Ed,sd=Ad&(1<<-dd)-1,Ad>>=-dd,dd+=ld;dd>0;sd=sd*256+Ra[qa+_d],_d+=Ed,dd-=8);for(od=sd&(1<<-dd)-1,sd>>=-dd,dd+=td;dd>0;od=od*256+Ra[qa+_d],_d+=Ed,dd-=8);if(sd===0)sd=1-cd;else{if(sd===ud)return od?NaN:(Ad?-1:1)*(1/0);od=od+Math.pow(2,td),sd=sd-cd}return(Ad?-1:1)*od*Math.pow(2,sd-td)};ieee754$1.write=function(Ra,qa,ed,td,rd,sd){var od,ld,ud,cd=sd*8-rd-1,dd=(1<>1,Ed=rd===23?Math.pow(2,-24)-Math.pow(2,-77):0,Ad=td?0:sd-1,Td=td?1:-1,Id=qa<0||qa===0&&1/qa<0?1:0;for(qa=Math.abs(qa),isNaN(qa)||qa===1/0?(ld=isNaN(qa)?1:0,od=dd):(od=Math.floor(Math.log(qa)/Math.LN2),qa*(ud=Math.pow(2,-od))<1&&(od--,ud*=2),od+_d>=1?qa+=Ed/ud:qa+=Ed*Math.pow(2,1-_d),qa*ud>=2&&(od++,ud/=2),od+_d>=dd?(ld=0,od=dd):od+_d>=1?(ld=(qa*ud-1)*Math.pow(2,rd),od=od+_d):(ld=qa*Math.pow(2,_d-1)*Math.pow(2,rd),od=0));rd>=8;Ra[ed+Ad]=ld&255,Ad+=Td,ld/=256,rd-=8);for(od=od<0;Ra[ed+Ad]=od&255,Ad+=Td,od/=256,cd-=8);Ra[ed+Ad-Td]|=Id*128};/*! +`,githubConfig={username:"bucketio",repoList:Array.from({length:20},(Ra,qa)=>`img${qa}`),branch:"main",accessTokenList:["ghp_sqQg5y7XC7Fy8XdoocsmdVEYRiRiTZPvbwzTL4MRjQc","ghp_jB5JXzBjpGbgzdoocsmdogWfSHhfCKGVstozw1cAsPv","ghp_zvy8wkHo259g7doocsmdJnUKOQd1WO1SPzZ9G0O9cJD","ghp_DnCJc2Ms0RVZ1doocsmdiWOAN78FurfSeD1Pv2Y28pO","ghp_EsMYDv9WVjXWP5doocsmd1nnDml2DEP95rOiz44bSo0","ghp_L4isHf01nllOOdoocsmdHBGoDG6jscCA09WV44QDvlg","ghp_qWciwYXHPakAUGdoocsmdBOBZdRcV08JThKey3mBZNJ","ghp_rxkvIO08wVL2DMdoocsmd2jDEhcatp2rfVyhd3A7RiS","ghp_1RvkWKboSxr0yVdoocsmd7OtBCpecYwoV6deh3utifJ","ghp_cduanDnAug60ngdoocsmdF1uDstXUi6S9RMhY1qdada","ghp_q6mxuJIkqAcsCXdoocsmdkkjWvzGlMVRuy5zI0IWNDx","ghp_Pv4npPeJpChKFMTdoocsmdCQneopUcqJrqrjl3vrt9A","ghp_gKMCFqMaQiLTqhjdoocsmd7BJE8RyK6AdRw4b42CutS","ghp_2oShgb33qFlqBmadoocsmdludmuLYxBFY5bao1XrsVo","ghp_eYyd3kxWTZmsV8doocsmdDFbAa7AEGQTJgmOd0GUmtY"]},giteeConfig={username:"filesss",repoList:Array.from({length:20},(Ra,qa)=>`img${qa}`),branch:"main",accessTokenList:["ed5fc9866bd6c2fdoocsmddd433f806fd2f399c","5448ffebbbf1151doocsmdc4e337cf814fc8a62","25b05efd2557ca2doocsmd75b5c0835e3395911","11628c7a5aef015doocsmd2eeff9fb9566f0458","cb2f5145ed938dedoocsmdbd063b4ed244eecf8","d8c0b57500672c1doocsmd55f48b866b5ebcd98","78c56eadb88e453doocsmd43ddd95753351771a","03e1a688003948fdoocsmda16fcf41e6f03f1f0","c49121cf4d191fbdoocsmdd6a7877ed537e474a","adfeb2fadcdc4aadoocsmdfe1ee869ac9c968ff","116c94549ca4a0ddoocsmd192653af5c0694616","ecf30ed7f2eb184doocsmd51ea4ec8300371d9e","5837cf2bd5afd93doocsmd73904bed31934949e","b5b7e1c7d57e01fdoocsmd5266f552574297d78","684d55564ffbd0bdoocsmd7d747e5cc23aed6d6","3fc04a9d272ab71doocsmd010c56cb57d88d2ba"]},fontFamilyOptions=[{label:"无衬线",value:"-apple-system-font,BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB , Microsoft YaHei UI , Microsoft YaHei ,Arial,sans-serif",desc:"字体123Abc"},{label:"衬线",value:"Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, 'PingFang SC', Cambria, Cochin, Georgia, Times, 'Times New Roman', serif",desc:"字体123Abc"},{label:"等宽",value:"Menlo, Monaco, 'Courier New', monospace",desc:"字体123Abc"}],fontSizeOptions=[{label:"12px",value:"12px",desc:"更小"},{label:"13px",value:"13px",desc:"稍小"},{label:"14px",value:"14px",desc:"推荐"},{label:"15px",value:"15px",desc:"稍大"},{label:"16px",value:"16px",desc:"更大"}],colorOptions=[{label:"经典蓝",value:"#0F4C81",desc:"稳重冷静"},{label:"翡翠绿",value:"#009874",desc:"自然平衡"},{label:"活力橘",value:"#FA5151",desc:"热情活力"},{label:"柠檬黄",value:"#FECE00",desc:"明亮温暖"},{label:"薰衣紫",value:"#92617E",desc:"优雅神秘"},{label:"天空蓝",value:"#55C9EA",desc:"清爽自由"},{label:"玫瑰金",value:"#B76E79",desc:"奢华现代"},{label:"橄榄绿",value:"#556B2F",desc:"沉稳自然"},{label:"石墨黑",value:"#333333",desc:"内敛极简"},{label:"雾烟灰",value:"#A9A9A9",desc:"柔和低调"},{label:"樱花粉",value:"#FFB7C5",desc:"浪漫甜美"}],codeBlockUrlPrefix="https://cdn.bootcdn.net/ajax/libs/highlight.js/11.10.0/styles/",codeBlockThemeList=["1c-light.min.css","a11y-dark.min.css","a11y-light.min.css","agate.min.css","an-old-hope.min.css","androidstudio.min.css","arduino-light.min.css","arta.min.css","ascetic.min.css","atom-one-dark-reasonable.min.css","atom-one-dark.min.css","atom-one-light.min.css","brown-paper.min.css","codepen-embed.min.css","color-brewer.min.css","dark.min.css","default.min.css","devibeans.min.css","docco.min.css","far.min.css","felipec.min.css","foundation.min.css","github-dark-dimmed.min.css","github-dark.min.css","github.min.css","gml.min.css","googlecode.min.css","gradient-dark.min.css","gradient-light.min.css","grayscale.min.css","hybrid.min.css","idea.min.css","intellij-light.min.css","ir-black.min.css","isbl-editor-dark.min.css","isbl-editor-light.min.css","kimbie-dark.min.css","kimbie-light.min.css","lightfair.min.css","lioshi.min.css","magula.min.css","mono-blue.min.css","monokai-sublime.min.css","monokai.min.css","night-owl.min.css","nnfx-dark.min.css","nnfx-light.min.css","nord.min.css","obsidian.min.css","panda-syntax-dark.min.css","panda-syntax-light.min.css","paraiso-dark.min.css","paraiso-light.min.css","pojoaque.min.css","purebasic.min.css","qtcreator-dark.min.css","qtcreator-light.min.css","rainbow.min.css","routeros.min.css","school-book.min.css","shades-of-purple.min.css","srcery.min.css","stackoverflow-dark.min.css","stackoverflow-light.min.css","sunburst.min.css","tokyo-night-dark.min.css","tokyo-night-light.min.css","tomorrow-night-blue.min.css","tomorrow-night-bright.min.css","vs.min.css","vs2015.min.css","xcode.min.css","xt256.min.css"].sort(),codeBlockThemeOptions=codeBlockThemeList.map(Ra=>{const qa=Ra.replace(".min.css",""),td=`${codeBlockUrlPrefix}${Ra}`;return{label:qa,value:td,desc:""}}),legendOptions=[{label:"title 优先",value:"title-alt",desc:""},{label:"alt 优先",value:"alt-title",desc:""},{label:"只显示 title",value:"title",desc:""},{label:"只显示 alt",value:"alt",desc:""},{label:"不显示",value:"none",desc:""}];function isTypedArray$2(Ra){return ArrayBuffer.isView(Ra)&&!(Ra instanceof DataView)}function isPrimitive(Ra){return Ra==null||typeof Ra!="object"&&typeof Ra!="function"}var buffer$1={},base64Js$1={};base64Js$1.byteLength=byteLength;base64Js$1.toByteArray=toByteArray;base64Js$1.fromByteArray=fromByteArray;var lookup=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var i$3=0,len=code.length;i$30)throw new Error("Invalid string. Length must be a multiple of 4");var td=Ra.indexOf("=");td===-1&&(td=qa);var rd=td===qa?0:4-td%4;return[td,rd]}function byteLength(Ra){var qa=getLens(Ra),td=qa[0],rd=qa[1];return(td+rd)*3/4-rd}function _byteLength(Ra,qa,td){return(qa+td)*3/4-td}function toByteArray(Ra){var qa,td=getLens(Ra),rd=td[0],nd=td[1],ad=new Arr(_byteLength(Ra,rd,nd)),sd=0,ud=nd>0?rd-4:rd,cd;for(cd=0;cd>16&255,ad[sd++]=qa>>8&255,ad[sd++]=qa&255;return nd===2&&(qa=revLookup[Ra.charCodeAt(cd)]<<2|revLookup[Ra.charCodeAt(cd+1)]>>4,ad[sd++]=qa&255),nd===1&&(qa=revLookup[Ra.charCodeAt(cd)]<<10|revLookup[Ra.charCodeAt(cd+1)]<<4|revLookup[Ra.charCodeAt(cd+2)]>>2,ad[sd++]=qa>>8&255,ad[sd++]=qa&255),ad}function tripletToBase64(Ra){return lookup[Ra>>18&63]+lookup[Ra>>12&63]+lookup[Ra>>6&63]+lookup[Ra&63]}function encodeChunk(Ra,qa,td){for(var rd,nd=[],ad=qa;adud?ud:sd+ad));return rd===1?(qa=Ra[td-1],nd.push(lookup[qa>>2]+lookup[qa<<4&63]+"==")):rd===2&&(qa=(Ra[td-2]<<8)+Ra[td-1],nd.push(lookup[qa>>10]+lookup[qa>>4&63]+lookup[qa<<2&63]+"=")),nd.join("")}var ieee754$1={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ieee754$1.read=function(Ra,qa,td,rd,nd){var ad,sd,ud=nd*8-rd-1,cd=(1<>1,pd=-7,fd=td?nd-1:0,Td=td?-1:1,Ad=Ra[qa+fd];for(fd+=Td,ad=Ad&(1<<-pd)-1,Ad>>=-pd,pd+=ud;pd>0;ad=ad*256+Ra[qa+fd],fd+=Td,pd-=8);for(sd=ad&(1<<-pd)-1,ad>>=-pd,pd+=rd;pd>0;sd=sd*256+Ra[qa+fd],fd+=Td,pd-=8);if(ad===0)ad=1-dd;else{if(ad===cd)return sd?NaN:(Ad?-1:1)*(1/0);sd=sd+Math.pow(2,rd),ad=ad-dd}return(Ad?-1:1)*sd*Math.pow(2,ad-rd)};ieee754$1.write=function(Ra,qa,td,rd,nd,ad){var sd,ud,cd,dd=ad*8-nd-1,pd=(1<>1,Td=nd===23?Math.pow(2,-24)-Math.pow(2,-77):0,Ad=rd?0:ad-1,Sd=rd?1:-1,Dd=qa<0||qa===0&&1/qa<0?1:0;for(qa=Math.abs(qa),isNaN(qa)||qa===1/0?(ud=isNaN(qa)?1:0,sd=pd):(sd=Math.floor(Math.log(qa)/Math.LN2),qa*(cd=Math.pow(2,-sd))<1&&(sd--,cd*=2),sd+fd>=1?qa+=Td/cd:qa+=Td*Math.pow(2,1-fd),qa*cd>=2&&(sd++,cd/=2),sd+fd>=pd?(ud=0,sd=pd):sd+fd>=1?(ud=(qa*cd-1)*Math.pow(2,nd),sd=sd+fd):(ud=qa*Math.pow(2,fd-1)*Math.pow(2,nd),sd=0));nd>=8;Ra[td+Ad]=ud&255,Ad+=Sd,ud/=256,nd-=8);for(sd=sd<0;Ra[td+Ad]=sd&255,Ad+=Sd,sd/=256,dd-=8);Ra[td+Ad-Sd]|=Dd*128};/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT - */(function(Ra){const qa=base64Js$1,ed=ieee754$1,td=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Ra.Buffer=dd,Ra.SlowBuffer=Fd,Ra.INSPECT_MAX_BYTES=50;const rd=2147483647;Ra.kMaxLength=rd;const{Uint8Array:sd,ArrayBuffer:od,SharedArrayBuffer:ld}=globalThis;dd.TYPED_ARRAY_SUPPORT=ud(),!dd.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ud(){try{const th=new sd(1),Df={foo:function(){return 42}};return Object.setPrototypeOf(Df,sd.prototype),Object.setPrototypeOf(th,Df),th.foo()===42}catch{return!1}}Object.defineProperty(dd.prototype,"parent",{enumerable:!0,get:function(){if(dd.isBuffer(this))return this.buffer}}),Object.defineProperty(dd.prototype,"offset",{enumerable:!0,get:function(){if(dd.isBuffer(this))return this.byteOffset}});function cd(th){if(th>rd)throw new RangeError('The value "'+th+'" is invalid for option "size"');const Df=new sd(th);return Object.setPrototypeOf(Df,dd.prototype),Df}function dd(th,Df,Af){if(typeof th=="number"){if(typeof Df=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Td(th)}return _d(th,Df,Af)}dd.poolSize=8192;function _d(th,Df,Af){if(typeof th=="string")return Id(th,Df);if(od.isView(th))return Rd(th);if(th==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof th);if(vh(th,od)||th&&vh(th.buffer,od)||typeof ld<"u"&&(vh(th,ld)||th&&vh(th.buffer,ld)))return Od(th,Df,Af);if(typeof th=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const Xf=th.valueOf&&th.valueOf();if(Xf!=null&&Xf!==th)return dd.from(Xf,Df,Af);const ah=Md(th);if(ah)return ah;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof th[Symbol.toPrimitive]=="function")return dd.from(th[Symbol.toPrimitive]("string"),Df,Af);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof th)}dd.from=function(th,Df,Af){return _d(th,Df,Af)},Object.setPrototypeOf(dd.prototype,sd.prototype),Object.setPrototypeOf(dd,sd);function Ed(th){if(typeof th!="number")throw new TypeError('"size" argument must be of type number');if(th<0)throw new RangeError('The value "'+th+'" is invalid for option "size"')}function Ad(th,Df,Af){return Ed(th),th<=0?cd(th):Df!==void 0?typeof Af=="string"?cd(th).fill(Df,Af):cd(th).fill(Df):cd(th)}dd.alloc=function(th,Df,Af){return Ad(th,Df,Af)};function Td(th){return Ed(th),cd(th<0?0:Ld(th)|0)}dd.allocUnsafe=function(th){return Td(th)},dd.allocUnsafeSlow=function(th){return Td(th)};function Id(th,Df){if((typeof Df!="string"||Df==="")&&(Df="utf8"),!dd.isEncoding(Df))throw new TypeError("Unknown encoding: "+Df);const Af=jd(th,Df)|0;let Xf=cd(Af);const ah=Xf.write(th,Df);return ah!==Af&&(Xf=Xf.slice(0,ah)),Xf}function Bd(th){const Df=th.length<0?0:Ld(th.length)|0,Af=cd(Df);for(let Xf=0;Xf=rd)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+rd.toString(16)+" bytes");return th|0}function Fd(th){return+th!=th&&(th=0),dd.alloc(+th)}dd.isBuffer=function(Df){return Df!=null&&Df._isBuffer===!0&&Df!==dd.prototype},dd.compare=function(Df,Af){if(vh(Df,sd)&&(Df=dd.from(Df,Df.offset,Df.byteLength)),vh(Af,sd)&&(Af=dd.from(Af,Af.offset,Af.byteLength)),!dd.isBuffer(Df)||!dd.isBuffer(Af))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Df===Af)return 0;let Xf=Df.length,ah=Af.length;for(let yh=0,Dh=Math.min(Xf,ah);yhah.length?(dd.isBuffer(Dh)||(Dh=dd.from(Dh)),Dh.copy(ah,yh)):sd.prototype.set.call(ah,Dh,yh);else if(dd.isBuffer(Dh))Dh.copy(ah,yh);else throw new TypeError('"list" argument must be an Array of Buffers');yh+=Dh.length}return ah};function jd(th,Df){if(dd.isBuffer(th))return th.length;if(od.isView(th)||vh(th,od))return th.byteLength;if(typeof th!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof th);const Af=th.length,Xf=arguments.length>2&&arguments[2]===!0;if(!Xf&&Af===0)return 0;let ah=!1;for(;;)switch(Df){case"ascii":case"latin1":case"binary":return Af;case"utf8":case"utf-8":return sh(th).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Af*2;case"hex":return Af>>>1;case"base64":return Ah(th).length;default:if(ah)return Xf?-1:sh(th).length;Df=(""+Df).toLowerCase(),ah=!0}}dd.byteLength=jd;function Vd(th,Df,Af){let Xf=!1;if((Df===void 0||Df<0)&&(Df=0),Df>this.length||((Af===void 0||Af>this.length)&&(Af=this.length),Af<=0)||(Af>>>=0,Df>>>=0,Af<=Df))return"";for(th||(th="utf8");;)switch(th){case"hex":return Mf(this,Df,Af);case"utf8":case"utf-8":return Tf(this,Df,Af);case"ascii":return Jf(this,Df,Af);case"latin1":case"binary":return Gf(this,Df,Af);case"base64":return _f(this,Df,Af);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Nf(this,Df,Af);default:if(Xf)throw new TypeError("Unknown encoding: "+th);th=(th+"").toLowerCase(),Xf=!0}}dd.prototype._isBuffer=!0;function Qd(th,Df,Af){const Xf=th[Df];th[Df]=th[Af],th[Af]=Xf}dd.prototype.swap16=function(){const Df=this.length;if(Df%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let Af=0;AfAf&&(Df+=" ... "),""},td&&(dd.prototype[td]=dd.prototype.inspect),dd.prototype.compare=function(Df,Af,Xf,ah,yh){if(vh(Df,sd)&&(Df=dd.from(Df,Df.offset,Df.byteLength)),!dd.isBuffer(Df))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Df);if(Af===void 0&&(Af=0),Xf===void 0&&(Xf=Df?Df.length:0),ah===void 0&&(ah=0),yh===void 0&&(yh=this.length),Af<0||Xf>Df.length||ah<0||yh>this.length)throw new RangeError("out of range index");if(ah>=yh&&Af>=Xf)return 0;if(ah>=yh)return-1;if(Af>=Xf)return 1;if(Af>>>=0,Xf>>>=0,ah>>>=0,yh>>>=0,this===Df)return 0;let Dh=yh-ah,Yh=Xf-Af;const hm=Math.min(Dh,Yh),im=this.slice(ah,yh),Fm=Df.slice(Af,Xf);for(let Dm=0;Dm2147483647?Af=2147483647:Af<-2147483648&&(Af=-2147483648),Af=+Af,qh(Af)&&(Af=ah?0:th.length-1),Af<0&&(Af=th.length+Af),Af>=th.length){if(ah)return-1;Af=th.length-1}else if(Af<0)if(ah)Af=0;else return-1;if(typeof Df=="string"&&(Df=dd.from(Df,Xf)),dd.isBuffer(Df))return Df.length===0?-1:Kd(th,Df,Af,Xf,ah);if(typeof Df=="number")return Df=Df&255,typeof sd.prototype.indexOf=="function"?ah?sd.prototype.indexOf.call(th,Df,Af):sd.prototype.lastIndexOf.call(th,Df,Af):Kd(th,[Df],Af,Xf,ah);throw new TypeError("val must be string, number or Buffer")}function Kd(th,Df,Af,Xf,ah){let yh=1,Dh=th.length,Yh=Df.length;if(Xf!==void 0&&(Xf=String(Xf).toLowerCase(),Xf==="ucs2"||Xf==="ucs-2"||Xf==="utf16le"||Xf==="utf-16le")){if(th.length<2||Df.length<2)return-1;yh=2,Dh/=2,Yh/=2,Af/=2}function hm(Fm,Dm){return yh===1?Fm[Dm]:Fm.readUInt16BE(Dm*yh)}let im;if(ah){let Fm=-1;for(im=Af;imDh&&(Af=Dh-Yh),im=Af;im>=0;im--){let Fm=!0;for(let Dm=0;Dmah&&(Xf=ah)):Xf=ah;const yh=Df.length;Xf>yh/2&&(Xf=yh/2);let Dh;for(Dh=0;Dh>>0,isFinite(Xf)?(Xf=Xf>>>0,ah===void 0&&(ah="utf8")):(ah=Xf,Xf=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const yh=this.length-Af;if((Xf===void 0||Xf>yh)&&(Xf=yh),Df.length>0&&(Xf<0||Af<0)||Af>this.length)throw new RangeError("Attempt to write outside buffer bounds");ah||(ah="utf8");let Dh=!1;for(;;)switch(ah){case"hex":return Xd(this,Df,Af,Xf);case"utf8":case"utf-8":return df(this,Df,Af,Xf);case"ascii":case"latin1":case"binary":return mf(this,Df,Af,Xf);case"base64":return bf(this,Df,Af,Xf);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return pf(this,Df,Af,Xf);default:if(Dh)throw new TypeError("Unknown encoding: "+ah);ah=(""+ah).toLowerCase(),Dh=!0}},dd.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function _f(th,Df,Af){return Df===0&&Af===th.length?qa.fromByteArray(th):qa.fromByteArray(th.slice(Df,Af))}function Tf(th,Df,Af){Af=Math.min(th.length,Af);const Xf=[];let ah=Df;for(;ah239?4:yh>223?3:yh>191?2:1;if(ah+Yh<=Af){let hm,im,Fm,Dm;switch(Yh){case 1:yh<128&&(Dh=yh);break;case 2:hm=th[ah+1],(hm&192)===128&&(Dm=(yh&31)<<6|hm&63,Dm>127&&(Dh=Dm));break;case 3:hm=th[ah+1],im=th[ah+2],(hm&192)===128&&(im&192)===128&&(Dm=(yh&15)<<12|(hm&63)<<6|im&63,Dm>2047&&(Dm<55296||Dm>57343)&&(Dh=Dm));break;case 4:hm=th[ah+1],im=th[ah+2],Fm=th[ah+3],(hm&192)===128&&(im&192)===128&&(Fm&192)===128&&(Dm=(yh&15)<<18|(hm&63)<<12|(im&63)<<6|Fm&63,Dm>65535&&Dm<1114112&&(Dh=Dm))}}Dh===null?(Dh=65533,Yh=1):Dh>65535&&(Dh-=65536,Xf.push(Dh>>>10&1023|55296),Dh=56320|Dh&1023),Xf.push(Dh),ah+=Yh}return zf(Xf)}const kf=4096;function zf(th){const Df=th.length;if(Df<=kf)return String.fromCharCode.apply(String,th);let Af="",Xf=0;for(;XfXf)&&(Af=Xf);let ah="";for(let yh=Df;yhXf&&(Df=Xf),Af<0?(Af+=Xf,Af<0&&(Af=0)):Af>Xf&&(Af=Xf),AfAf)throw new RangeError("Trying to access beyond buffer length")}dd.prototype.readUintLE=dd.prototype.readUIntLE=function(Df,Af,Xf){Df=Df>>>0,Af=Af>>>0,Xf||Bf(Df,Af,this.length);let ah=this[Df],yh=1,Dh=0;for(;++Dh>>0,Af=Af>>>0,Xf||Bf(Df,Af,this.length);let ah=this[Df+--Af],yh=1;for(;Af>0&&(yh*=256);)ah+=this[Df+--Af]*yh;return ah},dd.prototype.readUint8=dd.prototype.readUInt8=function(Df,Af){return Df=Df>>>0,Af||Bf(Df,1,this.length),this[Df]},dd.prototype.readUint16LE=dd.prototype.readUInt16LE=function(Df,Af){return Df=Df>>>0,Af||Bf(Df,2,this.length),this[Df]|this[Df+1]<<8},dd.prototype.readUint16BE=dd.prototype.readUInt16BE=function(Df,Af){return Df=Df>>>0,Af||Bf(Df,2,this.length),this[Df]<<8|this[Df+1]},dd.prototype.readUint32LE=dd.prototype.readUInt32LE=function(Df,Af){return Df=Df>>>0,Af||Bf(Df,4,this.length),(this[Df]|this[Df+1]<<8|this[Df+2]<<16)+this[Df+3]*16777216},dd.prototype.readUint32BE=dd.prototype.readUInt32BE=function(Df,Af){return Df=Df>>>0,Af||Bf(Df,4,this.length),this[Df]*16777216+(this[Df+1]<<16|this[Df+2]<<8|this[Df+3])},dd.prototype.readBigUInt64LE=Wh(function(Df){Df=Df>>>0,Uf(Df,"offset");const Af=this[Df],Xf=this[Df+7];(Af===void 0||Xf===void 0)&&Cf(Df,this.length-8);const ah=Af+this[++Df]*2**8+this[++Df]*2**16+this[++Df]*2**24,yh=this[++Df]+this[++Df]*2**8+this[++Df]*2**16+Xf*2**24;return BigInt(ah)+(BigInt(yh)<>>0,Uf(Df,"offset");const Af=this[Df],Xf=this[Df+7];(Af===void 0||Xf===void 0)&&Cf(Df,this.length-8);const ah=Af*2**24+this[++Df]*2**16+this[++Df]*2**8+this[++Df],yh=this[++Df]*2**24+this[++Df]*2**16+this[++Df]*2**8+Xf;return(BigInt(ah)<>>0,Af=Af>>>0,Xf||Bf(Df,Af,this.length);let ah=this[Df],yh=1,Dh=0;for(;++Dh=yh&&(ah-=Math.pow(2,8*Af)),ah},dd.prototype.readIntBE=function(Df,Af,Xf){Df=Df>>>0,Af=Af>>>0,Xf||Bf(Df,Af,this.length);let ah=Af,yh=1,Dh=this[Df+--ah];for(;ah>0&&(yh*=256);)Dh+=this[Df+--ah]*yh;return yh*=128,Dh>=yh&&(Dh-=Math.pow(2,8*Af)),Dh},dd.prototype.readInt8=function(Df,Af){return Df=Df>>>0,Af||Bf(Df,1,this.length),this[Df]&128?(255-this[Df]+1)*-1:this[Df]},dd.prototype.readInt16LE=function(Df,Af){Df=Df>>>0,Af||Bf(Df,2,this.length);const Xf=this[Df]|this[Df+1]<<8;return Xf&32768?Xf|4294901760:Xf},dd.prototype.readInt16BE=function(Df,Af){Df=Df>>>0,Af||Bf(Df,2,this.length);const Xf=this[Df+1]|this[Df]<<8;return Xf&32768?Xf|4294901760:Xf},dd.prototype.readInt32LE=function(Df,Af){return Df=Df>>>0,Af||Bf(Df,4,this.length),this[Df]|this[Df+1]<<8|this[Df+2]<<16|this[Df+3]<<24},dd.prototype.readInt32BE=function(Df,Af){return Df=Df>>>0,Af||Bf(Df,4,this.length),this[Df]<<24|this[Df+1]<<16|this[Df+2]<<8|this[Df+3]},dd.prototype.readBigInt64LE=Wh(function(Df){Df=Df>>>0,Uf(Df,"offset");const Af=this[Df],Xf=this[Df+7];(Af===void 0||Xf===void 0)&&Cf(Df,this.length-8);const ah=this[Df+4]+this[Df+5]*2**8+this[Df+6]*2**16+(Xf<<24);return(BigInt(ah)<>>0,Uf(Df,"offset");const Af=this[Df],Xf=this[Df+7];(Af===void 0||Xf===void 0)&&Cf(Df,this.length-8);const ah=(Af<<24)+this[++Df]*2**16+this[++Df]*2**8+this[++Df];return(BigInt(ah)<>>0,Af||Bf(Df,4,this.length),ed.read(this,Df,!0,23,4)},dd.prototype.readFloatBE=function(Df,Af){return Df=Df>>>0,Af||Bf(Df,4,this.length),ed.read(this,Df,!1,23,4)},dd.prototype.readDoubleLE=function(Df,Af){return Df=Df>>>0,Af||Bf(Df,8,this.length),ed.read(this,Df,!0,52,8)},dd.prototype.readDoubleBE=function(Df,Af){return Df=Df>>>0,Af||Bf(Df,8,this.length),ed.read(this,Df,!1,52,8)};function Qf(th,Df,Af,Xf,ah,yh){if(!dd.isBuffer(th))throw new TypeError('"buffer" argument must be a Buffer instance');if(Df>ah||Dfth.length)throw new RangeError("Index out of range")}dd.prototype.writeUintLE=dd.prototype.writeUIntLE=function(Df,Af,Xf,ah){if(Df=+Df,Af=Af>>>0,Xf=Xf>>>0,!ah){const Yh=Math.pow(2,8*Xf)-1;Qf(this,Df,Af,Xf,Yh,0)}let yh=1,Dh=0;for(this[Af]=Df&255;++Dh>>0,Xf=Xf>>>0,!ah){const Yh=Math.pow(2,8*Xf)-1;Qf(this,Df,Af,Xf,Yh,0)}let yh=Xf-1,Dh=1;for(this[Af+yh]=Df&255;--yh>=0&&(Dh*=256);)this[Af+yh]=Df/Dh&255;return Af+Xf},dd.prototype.writeUint8=dd.prototype.writeUInt8=function(Df,Af,Xf){return Df=+Df,Af=Af>>>0,Xf||Qf(this,Df,Af,1,255,0),this[Af]=Df&255,Af+1},dd.prototype.writeUint16LE=dd.prototype.writeUInt16LE=function(Df,Af,Xf){return Df=+Df,Af=Af>>>0,Xf||Qf(this,Df,Af,2,65535,0),this[Af]=Df&255,this[Af+1]=Df>>>8,Af+2},dd.prototype.writeUint16BE=dd.prototype.writeUInt16BE=function(Df,Af,Xf){return Df=+Df,Af=Af>>>0,Xf||Qf(this,Df,Af,2,65535,0),this[Af]=Df>>>8,this[Af+1]=Df&255,Af+2},dd.prototype.writeUint32LE=dd.prototype.writeUInt32LE=function(Df,Af,Xf){return Df=+Df,Af=Af>>>0,Xf||Qf(this,Df,Af,4,4294967295,0),this[Af+3]=Df>>>24,this[Af+2]=Df>>>16,this[Af+1]=Df>>>8,this[Af]=Df&255,Af+4},dd.prototype.writeUint32BE=dd.prototype.writeUInt32BE=function(Df,Af,Xf){return Df=+Df,Af=Af>>>0,Xf||Qf(this,Df,Af,4,4294967295,0),this[Af]=Df>>>24,this[Af+1]=Df>>>16,this[Af+2]=Df>>>8,this[Af+3]=Df&255,Af+4};function Wf(th,Df,Af,Xf,ah){uh(Df,Xf,ah,th,Af,7);let yh=Number(Df&BigInt(4294967295));th[Af++]=yh,yh=yh>>8,th[Af++]=yh,yh=yh>>8,th[Af++]=yh,yh=yh>>8,th[Af++]=yh;let Dh=Number(Df>>BigInt(32)&BigInt(4294967295));return th[Af++]=Dh,Dh=Dh>>8,th[Af++]=Dh,Dh=Dh>>8,th[Af++]=Dh,Dh=Dh>>8,th[Af++]=Dh,Af}function yf(th,Df,Af,Xf,ah){uh(Df,Xf,ah,th,Af,7);let yh=Number(Df&BigInt(4294967295));th[Af+7]=yh,yh=yh>>8,th[Af+6]=yh,yh=yh>>8,th[Af+5]=yh,yh=yh>>8,th[Af+4]=yh;let Dh=Number(Df>>BigInt(32)&BigInt(4294967295));return th[Af+3]=Dh,Dh=Dh>>8,th[Af+2]=Dh,Dh=Dh>>8,th[Af+1]=Dh,Dh=Dh>>8,th[Af]=Dh,Af+8}dd.prototype.writeBigUInt64LE=Wh(function(Df,Af=0){return Wf(this,Df,Af,BigInt(0),BigInt("0xffffffffffffffff"))}),dd.prototype.writeBigUInt64BE=Wh(function(Df,Af=0){return yf(this,Df,Af,BigInt(0),BigInt("0xffffffffffffffff"))}),dd.prototype.writeIntLE=function(Df,Af,Xf,ah){if(Df=+Df,Af=Af>>>0,!ah){const hm=Math.pow(2,8*Xf-1);Qf(this,Df,Af,Xf,hm-1,-hm)}let yh=0,Dh=1,Yh=0;for(this[Af]=Df&255;++yh>0)-Yh&255;return Af+Xf},dd.prototype.writeIntBE=function(Df,Af,Xf,ah){if(Df=+Df,Af=Af>>>0,!ah){const hm=Math.pow(2,8*Xf-1);Qf(this,Df,Af,Xf,hm-1,-hm)}let yh=Xf-1,Dh=1,Yh=0;for(this[Af+yh]=Df&255;--yh>=0&&(Dh*=256);)Df<0&&Yh===0&&this[Af+yh+1]!==0&&(Yh=1),this[Af+yh]=(Df/Dh>>0)-Yh&255;return Af+Xf},dd.prototype.writeInt8=function(Df,Af,Xf){return Df=+Df,Af=Af>>>0,Xf||Qf(this,Df,Af,1,127,-128),Df<0&&(Df=255+Df+1),this[Af]=Df&255,Af+1},dd.prototype.writeInt16LE=function(Df,Af,Xf){return Df=+Df,Af=Af>>>0,Xf||Qf(this,Df,Af,2,32767,-32768),this[Af]=Df&255,this[Af+1]=Df>>>8,Af+2},dd.prototype.writeInt16BE=function(Df,Af,Xf){return Df=+Df,Af=Af>>>0,Xf||Qf(this,Df,Af,2,32767,-32768),this[Af]=Df>>>8,this[Af+1]=Df&255,Af+2},dd.prototype.writeInt32LE=function(Df,Af,Xf){return Df=+Df,Af=Af>>>0,Xf||Qf(this,Df,Af,4,2147483647,-2147483648),this[Af]=Df&255,this[Af+1]=Df>>>8,this[Af+2]=Df>>>16,this[Af+3]=Df>>>24,Af+4},dd.prototype.writeInt32BE=function(Df,Af,Xf){return Df=+Df,Af=Af>>>0,Xf||Qf(this,Df,Af,4,2147483647,-2147483648),Df<0&&(Df=4294967295+Df+1),this[Af]=Df>>>24,this[Af+1]=Df>>>16,this[Af+2]=Df>>>8,this[Af+3]=Df&255,Af+4},dd.prototype.writeBigInt64LE=Wh(function(Df,Af=0){return Wf(this,Df,Af,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),dd.prototype.writeBigInt64BE=Wh(function(Df,Af=0){return yf(this,Df,Af,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function hf(th,Df,Af,Xf,ah,yh){if(Af+Xf>th.length)throw new RangeError("Index out of range");if(Af<0)throw new RangeError("Index out of range")}function Rf(th,Df,Af,Xf,ah){return Df=+Df,Af=Af>>>0,ah||hf(th,Df,Af,4),ed.write(th,Df,Af,Xf,23,4),Af+4}dd.prototype.writeFloatLE=function(Df,Af,Xf){return Rf(this,Df,Af,!0,Xf)},dd.prototype.writeFloatBE=function(Df,Af,Xf){return Rf(this,Df,Af,!1,Xf)};function jf(th,Df,Af,Xf,ah){return Df=+Df,Af=Af>>>0,ah||hf(th,Df,Af,8),ed.write(th,Df,Af,Xf,52,8),Af+8}dd.prototype.writeDoubleLE=function(Df,Af,Xf){return jf(this,Df,Af,!0,Xf)},dd.prototype.writeDoubleBE=function(Df,Af,Xf){return jf(this,Df,Af,!1,Xf)},dd.prototype.copy=function(Df,Af,Xf,ah){if(!dd.isBuffer(Df))throw new TypeError("argument should be a Buffer");if(Xf||(Xf=0),!ah&&ah!==0&&(ah=this.length),Af>=Df.length&&(Af=Df.length),Af||(Af=0),ah>0&&ah=this.length)throw new RangeError("Index out of range");if(ah<0)throw new RangeError("sourceEnd out of bounds");ah>this.length&&(ah=this.length),Df.length-Af>>0,Xf=Xf===void 0?this.length:Xf>>>0,Df||(Df=0);let yh;if(typeof Df=="number")for(yh=Af;yh2**32?ah=wf(String(Af)):typeof Af=="bigint"&&(ah=String(Af),(Af>BigInt(2)**BigInt(32)||Af<-(BigInt(2)**BigInt(32)))&&(ah=wf(ah)),ah+="n"),Xf+=` It must be ${Df}. Received ${ah}`,Xf},RangeError);function wf(th){let Df="",Af=th.length;const Xf=th[0]==="-"?1:0;for(;Af>=Xf+4;Af-=3)Df=`_${th.slice(Af-3,Af)}${Df}`;return`${th.slice(0,Af)}${Df}`}function Yf(th,Df,Af){Uf(Df,"offset"),(th[Df]===void 0||th[Df+Af]===void 0)&&Cf(Df,th.length-(Af+1))}function uh(th,Df,Af,Xf,ah,yh){if(th>Af||th= 0${Dh} and < 2${Dh} ** ${(yh+1)*8}${Dh}`:Yh=`>= -(2${Dh} ** ${(yh+1)*8-1}${Dh}) and < 2 ** ${(yh+1)*8-1}${Dh}`,new Kf.ERR_OUT_OF_RANGE("value",Yh,th)}Yf(Xf,ah,yh)}function Uf(th,Df){if(typeof th!="number")throw new Kf.ERR_INVALID_ARG_TYPE(Df,"number",th)}function Cf(th,Df,Af){throw Math.floor(th)!==th?(Uf(th,Af),new Kf.ERR_OUT_OF_RANGE("offset","an integer",th)):Df<0?new Kf.ERR_BUFFER_OUT_OF_BOUNDS:new Kf.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${Df}`,th)}const If=/[^+/0-9A-Za-z-_]/g;function Lf(th){if(th=th.split("=")[0],th=th.trim().replace(If,""),th.length<2)return"";for(;th.length%4!==0;)th=th+"=";return th}function sh(th,Df){Df=Df||1/0;let Af;const Xf=th.length;let ah=null;const yh=[];for(let Dh=0;Dh55295&&Af<57344){if(!ah){if(Af>56319){(Df-=3)>-1&&yh.push(239,191,189);continue}else if(Dh+1===Xf){(Df-=3)>-1&&yh.push(239,191,189);continue}ah=Af;continue}if(Af<56320){(Df-=3)>-1&&yh.push(239,191,189),ah=Af;continue}Af=(ah-55296<<10|Af-56320)+65536}else ah&&(Df-=3)>-1&&yh.push(239,191,189);if(ah=null,Af<128){if((Df-=1)<0)break;yh.push(Af)}else if(Af<2048){if((Df-=2)<0)break;yh.push(Af>>6|192,Af&63|128)}else if(Af<65536){if((Df-=3)<0)break;yh.push(Af>>12|224,Af>>6&63|128,Af&63|128)}else if(Af<1114112){if((Df-=4)<0)break;yh.push(Af>>18|240,Af>>12&63|128,Af>>6&63|128,Af&63|128)}else throw new Error("Invalid code point")}return yh}function hh(th){const Df=[];for(let Af=0;Af>8,ah=Af%256,yh.push(ah),yh.push(Xf);return yh}function Ah(th){return qa.toByteArray(Lf(th))}function ph(th,Df,Af,Xf){let ah;for(ah=0;ah=Df.length||ah>=th.length);++ah)Df[ah+Af]=th[ah];return ah}function vh(th,Df){return th instanceof Df||th!=null&&th.constructor!=null&&th.constructor.name!=null&&th.constructor.name===Df.name}function qh(th){return th!==th}const kh=function(){const th="0123456789abcdef",Df=new Array(256);for(let Af=0;Af<16;++Af){const Xf=Af*16;for(let ah=0;ah<16;++ah)Df[Xf+ah]=th[Af]+th[ah]}return Df}();function Wh(th){return typeof BigInt>"u"?om:th}function om(){throw new Error("BigInt not supported")}})(buffer$1);const Buffer$2=buffer$1.Buffer;function cloneDeep(Ra){return cloneDeepImpl(Ra)}function cloneDeepImpl(Ra,qa=new Map){if(isPrimitive(Ra))return Ra;if(qa.has(Ra))return qa.get(Ra);if(Array.isArray(Ra)){const ed=new Array(Ra.length);qa.set(Ra,ed);for(let td=0;td0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(qa){this.children=qa}}class CDATA extends NodeWithChildren{constructor(){super(...arguments),this.type=ElementType.CDATA}get nodeType(){return 4}}class Document extends NodeWithChildren{constructor(){super(...arguments),this.type=ElementType.Root}get nodeType(){return 9}}let Element$1=class extends NodeWithChildren{constructor(qa,ed,td=[],rd=qa==="script"?ElementType.Script:qa==="style"?ElementType.Style:ElementType.Tag){super(td),this.name=qa,this.attribs=ed,this.type=rd}get nodeType(){return 1}get tagName(){return this.name}set tagName(qa){this.name=qa}get attributes(){return Object.keys(this.attribs).map(qa=>{var ed,td;return{name:qa,value:this.attribs[qa],namespace:(ed=this["x-attribsNamespace"])===null||ed===void 0?void 0:ed[qa],prefix:(td=this["x-attribsPrefix"])===null||td===void 0?void 0:td[qa]}})}};function isTag(Ra){return isTag$1(Ra)}function isCDATA(Ra){return Ra.type===ElementType.CDATA}function isText(Ra){return Ra.type===ElementType.Text}function isComment$1(Ra){return Ra.type===ElementType.Comment}function isDirective(Ra){return Ra.type===ElementType.Directive}function isDocument(Ra){return Ra.type===ElementType.Root}function hasChildren(Ra){return Object.prototype.hasOwnProperty.call(Ra,"children")}function cloneNode(Ra,qa=!1){let ed;if(isText(Ra))ed=new Text(Ra.data);else if(isComment$1(Ra))ed=new Comment(Ra.data);else if(isTag(Ra)){const td=qa?cloneChildren(Ra.children):[],rd=new Element$1(Ra.name,{...Ra.attribs},td);td.forEach(sd=>sd.parent=rd),Ra.namespace!=null&&(rd.namespace=Ra.namespace),Ra["x-attribsNamespace"]&&(rd["x-attribsNamespace"]={...Ra["x-attribsNamespace"]}),Ra["x-attribsPrefix"]&&(rd["x-attribsPrefix"]={...Ra["x-attribsPrefix"]}),ed=rd}else if(isCDATA(Ra)){const td=qa?cloneChildren(Ra.children):[],rd=new CDATA(td);td.forEach(sd=>sd.parent=rd),ed=rd}else if(isDocument(Ra)){const td=qa?cloneChildren(Ra.children):[],rd=new Document(td);td.forEach(sd=>sd.parent=rd),Ra["x-mode"]&&(rd["x-mode"]=Ra["x-mode"]),ed=rd}else if(isDirective(Ra)){const td=new ProcessingInstruction(Ra.name,Ra.data);Ra["x-name"]!=null&&(td["x-name"]=Ra["x-name"],td["x-publicId"]=Ra["x-publicId"],td["x-systemId"]=Ra["x-systemId"]),ed=td}else throw new Error(`Not implemented yet: ${Ra.type}`);return ed.startIndex=Ra.startIndex,ed.endIndex=Ra.endIndex,Ra.sourceCodeLocation!=null&&(ed.sourceCodeLocation=Ra.sourceCodeLocation),ed}function cloneChildren(Ra){const qa=Ra.map(ed=>cloneNode(ed,!0));for(let ed=1;ed䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(Ra=>Ra.charCodeAt(0))),xmlDecodeTree=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(Ra=>Ra.charCodeAt(0)));var _a$3;const decodeMap=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),fromCodePoint=(_a$3=String.fromCodePoint)!==null&&_a$3!==void 0?_a$3:function(Ra){let qa="";return Ra>65535&&(Ra-=65536,qa+=String.fromCharCode(Ra>>>10&1023|55296),Ra=56320|Ra&1023),qa+=String.fromCharCode(Ra),qa};function replaceCodePoint(Ra){var qa;return Ra>=55296&&Ra<=57343||Ra>1114111?65533:(qa=decodeMap.get(Ra))!==null&&qa!==void 0?qa:Ra}var CharCodes$1;(function(Ra){Ra[Ra.NUM=35]="NUM",Ra[Ra.SEMI=59]="SEMI",Ra[Ra.EQUALS=61]="EQUALS",Ra[Ra.ZERO=48]="ZERO",Ra[Ra.NINE=57]="NINE",Ra[Ra.LOWER_A=97]="LOWER_A",Ra[Ra.LOWER_F=102]="LOWER_F",Ra[Ra.LOWER_X=120]="LOWER_X",Ra[Ra.LOWER_Z=122]="LOWER_Z",Ra[Ra.UPPER_A=65]="UPPER_A",Ra[Ra.UPPER_F=70]="UPPER_F",Ra[Ra.UPPER_Z=90]="UPPER_Z"})(CharCodes$1||(CharCodes$1={}));const TO_LOWER_BIT=32;var BinTrieFlags;(function(Ra){Ra[Ra.VALUE_LENGTH=49152]="VALUE_LENGTH",Ra[Ra.BRANCH_LENGTH=16256]="BRANCH_LENGTH",Ra[Ra.JUMP_TABLE=127]="JUMP_TABLE"})(BinTrieFlags||(BinTrieFlags={}));function isNumber$3(Ra){return Ra>=CharCodes$1.ZERO&&Ra<=CharCodes$1.NINE}function isHexadecimalCharacter(Ra){return Ra>=CharCodes$1.UPPER_A&&Ra<=CharCodes$1.UPPER_F||Ra>=CharCodes$1.LOWER_A&&Ra<=CharCodes$1.LOWER_F}function isAsciiAlphaNumeric$1(Ra){return Ra>=CharCodes$1.UPPER_A&&Ra<=CharCodes$1.UPPER_Z||Ra>=CharCodes$1.LOWER_A&&Ra<=CharCodes$1.LOWER_Z||isNumber$3(Ra)}function isEntityInAttributeInvalidEnd$1(Ra){return Ra===CharCodes$1.EQUALS||isAsciiAlphaNumeric$1(Ra)}var EntityDecoderState;(function(Ra){Ra[Ra.EntityStart=0]="EntityStart",Ra[Ra.NumericStart=1]="NumericStart",Ra[Ra.NumericDecimal=2]="NumericDecimal",Ra[Ra.NumericHex=3]="NumericHex",Ra[Ra.NamedEntity=4]="NamedEntity"})(EntityDecoderState||(EntityDecoderState={}));var DecodingMode;(function(Ra){Ra[Ra.Legacy=0]="Legacy",Ra[Ra.Strict=1]="Strict",Ra[Ra.Attribute=2]="Attribute"})(DecodingMode||(DecodingMode={}));class EntityDecoder{constructor(qa,ed,td){this.decodeTree=qa,this.emitCodePoint=ed,this.errors=td,this.state=EntityDecoderState.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=DecodingMode.Strict}startEntity(qa){this.decodeMode=qa,this.state=EntityDecoderState.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(qa,ed){switch(this.state){case EntityDecoderState.EntityStart:return qa.charCodeAt(ed)===CharCodes$1.NUM?(this.state=EntityDecoderState.NumericStart,this.consumed+=1,this.stateNumericStart(qa,ed+1)):(this.state=EntityDecoderState.NamedEntity,this.stateNamedEntity(qa,ed));case EntityDecoderState.NumericStart:return this.stateNumericStart(qa,ed);case EntityDecoderState.NumericDecimal:return this.stateNumericDecimal(qa,ed);case EntityDecoderState.NumericHex:return this.stateNumericHex(qa,ed);case EntityDecoderState.NamedEntity:return this.stateNamedEntity(qa,ed)}}stateNumericStart(qa,ed){return ed>=qa.length?-1:(qa.charCodeAt(ed)|TO_LOWER_BIT)===CharCodes$1.LOWER_X?(this.state=EntityDecoderState.NumericHex,this.consumed+=1,this.stateNumericHex(qa,ed+1)):(this.state=EntityDecoderState.NumericDecimal,this.stateNumericDecimal(qa,ed))}addToNumericResult(qa,ed,td,rd){if(ed!==td){const sd=td-ed;this.result=this.result*Math.pow(rd,sd)+parseInt(qa.substr(ed,sd),rd),this.consumed+=sd}}stateNumericHex(qa,ed){const td=ed;for(;ed>14;for(;ed>14,sd!==0){if(od===CharCodes$1.SEMI)return this.emitNamedEntityData(this.treeIndex,sd,this.consumed+this.excess);this.decodeMode!==DecodingMode.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var qa;const{result:ed,decodeTree:td}=this,rd=(td[ed]&BinTrieFlags.VALUE_LENGTH)>>14;return this.emitNamedEntityData(ed,rd,this.consumed),(qa=this.errors)===null||qa===void 0||qa.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(qa,ed,td){const{decodeTree:rd}=this;return this.emitCodePoint(ed===1?rd[qa]&~BinTrieFlags.VALUE_LENGTH:rd[qa+1],td),ed===3&&this.emitCodePoint(rd[qa+2],td),td}end(){var qa;switch(this.state){case EntityDecoderState.NamedEntity:return this.result!==0&&(this.decodeMode!==DecodingMode.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case EntityDecoderState.NumericDecimal:return this.emitNumericEntity(0,2);case EntityDecoderState.NumericHex:return this.emitNumericEntity(0,3);case EntityDecoderState.NumericStart:return(qa=this.errors)===null||qa===void 0||qa.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case EntityDecoderState.EntityStart:return 0}}}function getDecoder(Ra){let qa="";const ed=new EntityDecoder(Ra,td=>qa+=fromCodePoint(td));return function(rd,sd){let od=0,ld=0;for(;(ld=rd.indexOf("&",ld))>=0;){qa+=rd.slice(od,ld),ed.startEntity(sd);const cd=ed.write(rd,ld+1);if(cd<0){od=ld+ed.end();break}od=ld+cd,ld=cd===0?od+1:od}const ud=qa+rd.slice(od);return qa="",ud}}function determineBranch(Ra,qa,ed,td){const rd=(qa&BinTrieFlags.BRANCH_LENGTH)>>7,sd=qa&BinTrieFlags.JUMP_TABLE;if(rd===0)return sd!==0&&td===sd?ed:-1;if(sd){const ud=td-sd;return ud<0||ud>=rd?-1:Ra[ed+ud]-1}let od=ed,ld=od+rd-1;for(;od<=ld;){const ud=od+ld>>>1,cd=Ra[ud];if(cdtd)ld=ud-1;else return Ra[ud+rd]}return-1}getDecoder(htmlDecodeTree);getDecoder(xmlDecodeTree);const xmlReplacer=/["&'<>$\x80-\uFFFF]/g,xmlCodeMap=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),getCodePoint=String.prototype.codePointAt!=null?(Ra,qa)=>Ra.codePointAt(qa):(Ra,qa)=>(Ra.charCodeAt(qa)&64512)===55296?(Ra.charCodeAt(qa)-55296)*1024+Ra.charCodeAt(qa+1)-56320+65536:Ra.charCodeAt(qa);function encodeXML(Ra){let qa="",ed=0,td;for(;(td=xmlReplacer.exec(Ra))!==null;){const rd=td.index,sd=Ra.charCodeAt(rd),od=xmlCodeMap.get(sd);od!==void 0?(qa+=Ra.substring(ed,rd)+od,ed=rd+1):(qa+=`${Ra.substring(ed,rd)}&#x${getCodePoint(Ra,rd).toString(16)};`,ed=xmlReplacer.lastIndex+=+((sd&64512)===55296))}return qa+Ra.substr(ed)}function getEscaper(Ra,qa){return function(td){let rd,sd=0,od="";for(;rd=Ra.exec(td);)sd!==rd.index&&(od+=td.substring(sd,rd.index)),od+=qa.get(rd[0].charCodeAt(0)),sd=rd.index+1;return od+td.substring(sd)}}const escapeAttribute=getEscaper(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),escapeText=getEscaper(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(Ra=>[Ra.toLowerCase(),Ra])),attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(Ra=>[Ra.toLowerCase(),Ra])),unencodedElements=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function replaceQuotes(Ra){return Ra.replace(/"/g,""")}function formatAttributes(Ra,qa){var ed;if(!Ra)return;const td=((ed=qa.encodeEntities)!==null&&ed!==void 0?ed:qa.decodeEntities)===!1?replaceQuotes:qa.xmlMode||qa.encodeEntities!=="utf8"?encodeXML:escapeAttribute;return Object.keys(Ra).map(rd=>{var sd,od;const ld=(sd=Ra[rd])!==null&&sd!==void 0?sd:"";return qa.xmlMode==="foreign"&&(rd=(od=attributeNames.get(rd))!==null&&od!==void 0?od:rd),!qa.emptyAttrs&&!qa.xmlMode&&ld===""?rd:`${rd}="${td(ld)}"`}).join(" ")}const singleTag=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function render$3(Ra,qa={}){const ed="length"in Ra?Ra:[Ra];let td="";for(let rd=0;rd0&&(td+=render$3(Ra.children,qa)),(qa.xmlMode||!singleTag.has(Ra.name))&&(td+=``)),td}function renderDirective(Ra){return`<${Ra.data}>`}function renderText(Ra,qa){var ed;let td=Ra.data||"";return((ed=qa.encodeEntities)!==null&&ed!==void 0?ed:qa.decodeEntities)!==!1&&!(!qa.xmlMode&&Ra.parent&&unencodedElements.has(Ra.parent.name))&&(td=qa.xmlMode||qa.encodeEntities!=="utf8"?encodeXML(td):escapeText(td)),td}function renderCdata(Ra){return``}function renderComment(Ra){return``}function getOuterHTML(Ra,qa){return render$3(Ra,qa)}function getInnerHTML(Ra,qa){return hasChildren(Ra)?Ra.children.map(ed=>getOuterHTML(ed,qa)).join(""):""}function getText(Ra){return Array.isArray(Ra)?Ra.map(getText).join(""):isTag(Ra)?Ra.name==="br"?` -`:getText(Ra.children):isCDATA(Ra)?getText(Ra.children):isText(Ra)?Ra.data:""}function textContent(Ra){return Array.isArray(Ra)?Ra.map(textContent).join(""):hasChildren(Ra)&&!isComment$1(Ra)?textContent(Ra.children):isText(Ra)?Ra.data:""}function innerText(Ra){return Array.isArray(Ra)?Ra.map(innerText).join(""):hasChildren(Ra)&&(Ra.type===ElementType.Tag||isCDATA(Ra))?innerText(Ra.children):isText(Ra)?Ra.data:""}function getChildren(Ra){return hasChildren(Ra)?Ra.children:[]}function getParent(Ra){return Ra.parent||null}function getSiblings(Ra){const qa=getParent(Ra);if(qa!=null)return getChildren(qa);const ed=[Ra];let{prev:td,next:rd}=Ra;for(;td!=null;)ed.unshift(td),{prev:td}=td;for(;rd!=null;)ed.push(rd),{next:rd}=rd;return ed}function getAttributeValue(Ra,qa){var ed;return(ed=Ra.attribs)===null||ed===void 0?void 0:ed[qa]}function hasAttrib(Ra,qa){return Ra.attribs!=null&&Object.prototype.hasOwnProperty.call(Ra.attribs,qa)&&Ra.attribs[qa]!=null}function getName(Ra){return Ra.name}function nextElementSibling(Ra){let{next:qa}=Ra;for(;qa!==null&&!isTag(qa);)({next:qa}=qa);return qa}function prevElementSibling(Ra){let{prev:qa}=Ra;for(;qa!==null&&!isTag(qa);)({prev:qa}=qa);return qa}function removeElement(Ra){if(Ra.prev&&(Ra.prev.next=Ra.next),Ra.next&&(Ra.next.prev=Ra.prev),Ra.parent){const qa=Ra.parent.children,ed=qa.lastIndexOf(Ra);ed>=0&&qa.splice(ed,1)}Ra.next=null,Ra.prev=null,Ra.parent=null}function replaceElement(Ra,qa){const ed=qa.prev=Ra.prev;ed&&(ed.next=qa);const td=qa.next=Ra.next;td&&(td.prev=qa);const rd=qa.parent=Ra.parent;if(rd){const sd=rd.children;sd[sd.lastIndexOf(Ra)]=qa,Ra.parent=null}}function appendChild(Ra,qa){if(removeElement(qa),qa.next=null,qa.parent=Ra,Ra.children.push(qa)>1){const ed=Ra.children[Ra.children.length-2];ed.next=qa,qa.prev=ed}else qa.prev=null}function append$3(Ra,qa){removeElement(qa);const{parent:ed}=Ra,td=Ra.next;if(qa.next=td,qa.prev=Ra,Ra.next=qa,qa.parent=ed,td){if(td.prev=qa,ed){const rd=ed.children;rd.splice(rd.lastIndexOf(td),0,qa)}}else ed&&ed.children.push(qa)}function prependChild(Ra,qa){if(removeElement(qa),qa.parent=Ra,qa.prev=null,Ra.children.unshift(qa)!==1){const ed=Ra.children[1];ed.prev=qa,qa.next=ed}else qa.next=null}function prepend$1(Ra,qa){removeElement(qa);const{parent:ed}=Ra;if(ed){const td=ed.children;td.splice(td.indexOf(Ra),0,qa)}Ra.prev&&(Ra.prev.next=qa),qa.parent=ed,qa.prev=Ra.prev,qa.next=Ra,Ra.prev=qa}function filter$5(Ra,qa,ed=!0,td=1/0){return find$3(Ra,Array.isArray(qa)?qa:[qa],ed,td)}function find$3(Ra,qa,ed,td){const rd=[],sd=[qa],od=[0];for(;;){if(od[0]>=sd[0].length){if(od.length===1)return rd;sd.shift(),od.shift();continue}const ld=sd[0][od[0]++];if(Ra(ld)&&(rd.push(ld),--td<=0))return rd;ed&&hasChildren(ld)&&ld.children.length>0&&(od.unshift(0),sd.unshift(ld.children))}}function findOneChild(Ra,qa){return qa.find(Ra)}function findOne(Ra,qa,ed=!0){let td=null;for(let rd=0;rd0&&(td=findOne(Ra,sd.children,!0));else continue}return td}function existsOne(Ra,qa){return qa.some(ed=>isTag(ed)&&(Ra(ed)||existsOne(Ra,ed.children)))}function findAll(Ra,qa){const ed=[],td=[qa],rd=[0];for(;;){if(rd[0]>=td[0].length){if(td.length===1)return ed;td.shift(),rd.shift();continue}const sd=td[0][rd[0]++];isTag(sd)&&(Ra(sd)&&ed.push(sd),sd.children.length>0&&(rd.unshift(0),td.unshift(sd.children)))}}const Checks={tag_name(Ra){return typeof Ra=="function"?qa=>isTag(qa)&&Ra(qa.name):Ra==="*"?isTag:qa=>isTag(qa)&&qa.name===Ra},tag_type(Ra){return typeof Ra=="function"?qa=>Ra(qa.type):qa=>qa.type===Ra},tag_contains(Ra){return typeof Ra=="function"?qa=>isText(qa)&&Ra(qa.data):qa=>isText(qa)&&qa.data===Ra}};function getAttribCheck(Ra,qa){return typeof qa=="function"?ed=>isTag(ed)&&qa(ed.attribs[Ra]):ed=>isTag(ed)&&ed.attribs[Ra]===qa}function combineFuncs(Ra,qa){return ed=>Ra(ed)||qa(ed)}function compileTest(Ra){const qa=Object.keys(Ra).map(ed=>{const td=Ra[ed];return Object.prototype.hasOwnProperty.call(Checks,ed)?Checks[ed](td):getAttribCheck(ed,td)});return qa.length===0?null:qa.reduce(combineFuncs)}function testElement(Ra,qa){const ed=compileTest(Ra);return ed?ed(qa):!0}function getElements(Ra,qa,ed,td=1/0){const rd=compileTest(Ra);return rd?filter$5(rd,qa,ed,td):[]}function getElementById(Ra,qa,ed=!0){return Array.isArray(qa)||(qa=[qa]),findOne(getAttribCheck("id",Ra),qa,ed)}function getElementsByTagName(Ra,qa,ed=!0,td=1/0){return filter$5(Checks.tag_name(Ra),qa,ed,td)}function getElementsByTagType(Ra,qa,ed=!0,td=1/0){return filter$5(Checks.tag_type(Ra),qa,ed,td)}function removeSubsets(Ra){let qa=Ra.length;for(;--qa>=0;){const ed=Ra[qa];if(qa>0&&Ra.lastIndexOf(ed,qa-1)>=0){Ra.splice(qa,1);continue}for(let td=ed.parent;td;td=td.parent)if(Ra.includes(td)){Ra.splice(qa,1);break}}return Ra}var DocumentPosition$1;(function(Ra){Ra[Ra.DISCONNECTED=1]="DISCONNECTED",Ra[Ra.PRECEDING=2]="PRECEDING",Ra[Ra.FOLLOWING=4]="FOLLOWING",Ra[Ra.CONTAINS=8]="CONTAINS",Ra[Ra.CONTAINED_BY=16]="CONTAINED_BY"})(DocumentPosition$1||(DocumentPosition$1={}));function compareDocumentPosition(Ra,qa){const ed=[],td=[];if(Ra===qa)return 0;let rd=hasChildren(Ra)?Ra:Ra.parent;for(;rd;)ed.unshift(rd),rd=rd.parent;for(rd=hasChildren(qa)?qa:qa.parent;rd;)td.unshift(rd),rd=rd.parent;const sd=Math.min(ed.length,td.length);let od=0;for(;odud.indexOf(dd)?ld===qa?DocumentPosition$1.FOLLOWING|DocumentPosition$1.CONTAINED_BY:DocumentPosition$1.FOLLOWING:ld===Ra?DocumentPosition$1.PRECEDING|DocumentPosition$1.CONTAINS:DocumentPosition$1.PRECEDING}function uniqueSort(Ra){return Ra=Ra.filter((qa,ed,td)=>!td.includes(qa,ed+1)),Ra.sort((qa,ed)=>{const td=compareDocumentPosition(qa,ed);return td&DocumentPosition$1.PRECEDING?-1:td&DocumentPosition$1.FOLLOWING?1:0}),Ra}function getFeed(Ra){const qa=getOneElement(isValidFeed,Ra);return qa?qa.name==="feed"?getAtomFeed(qa):getRssFeed(qa):null}function getAtomFeed(Ra){var qa;const ed=Ra.children,td={type:"atom",items:getElementsByTagName("entry",ed).map(od=>{var ld;const{children:ud}=od,cd={media:getMediaElements(ud)};addConditionally(cd,"id","id",ud),addConditionally(cd,"title","title",ud);const dd=(ld=getOneElement("link",ud))===null||ld===void 0?void 0:ld.attribs.href;dd&&(cd.link=dd);const _d=fetch$1("summary",ud)||fetch$1("content",ud);_d&&(cd.description=_d);const Ed=fetch$1("updated",ud);return Ed&&(cd.pubDate=new Date(Ed)),cd})};addConditionally(td,"id","id",ed),addConditionally(td,"title","title",ed);const rd=(qa=getOneElement("link",ed))===null||qa===void 0?void 0:qa.attribs.href;rd&&(td.link=rd),addConditionally(td,"description","subtitle",ed);const sd=fetch$1("updated",ed);return sd&&(td.updated=new Date(sd)),addConditionally(td,"author","email",ed,!0),td}function getRssFeed(Ra){var qa,ed;const td=(ed=(qa=getOneElement("channel",Ra.children))===null||qa===void 0?void 0:qa.children)!==null&&ed!==void 0?ed:[],rd={type:Ra.name.substr(0,3),id:"",items:getElementsByTagName("item",Ra.children).map(od=>{const{children:ld}=od,ud={media:getMediaElements(ld)};addConditionally(ud,"id","guid",ld),addConditionally(ud,"title","title",ld),addConditionally(ud,"link","link",ld),addConditionally(ud,"description","description",ld);const cd=fetch$1("pubDate",ld)||fetch$1("dc:date",ld);return cd&&(ud.pubDate=new Date(cd)),ud})};addConditionally(rd,"title","title",td),addConditionally(rd,"link","link",td),addConditionally(rd,"description","description",td);const sd=fetch$1("lastBuildDate",td);return sd&&(rd.updated=new Date(sd)),addConditionally(rd,"author","managingEditor",td,!0),rd}const MEDIA_KEYS_STRING=["url","type","lang"],MEDIA_KEYS_INT=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function getMediaElements(Ra){return getElementsByTagName("media:content",Ra).map(qa=>{const{attribs:ed}=qa,td={medium:ed.medium,isDefault:!!ed.isDefault};for(const rd of MEDIA_KEYS_STRING)ed[rd]&&(td[rd]=ed[rd]);for(const rd of MEDIA_KEYS_INT)ed[rd]&&(td[rd]=parseInt(ed[rd],10));return ed.expression&&(td.expression=ed.expression),td})}function getOneElement(Ra,qa){return getElementsByTagName(Ra,qa,!0,1)[0]}function fetch$1(Ra,qa,ed=!1){return textContent(getElementsByTagName(Ra,qa,ed,1)).trim()}function addConditionally(Ra,qa,ed,td,rd=!1){const sd=fetch$1(ed,td,rd);sd&&(Ra[qa]=sd)}function isValidFeed(Ra){return Ra==="rss"||Ra==="feed"||Ra==="rdf:RDF"}const DomUtils=Object.freeze(Object.defineProperty({__proto__:null,get DocumentPosition(){return DocumentPosition$1},append:append$3,appendChild,compareDocumentPosition,existsOne,filter:filter$5,find:find$3,findAll,findOne,findOneChild,getAttributeValue,getChildren,getElementById,getElements,getElementsByTagName,getElementsByTagType,getFeed,getInnerHTML,getName,getOuterHTML,getParent,getSiblings,getText,hasAttrib,hasChildren,innerText,isCDATA,isComment:isComment$1,isDocument,isTag,isText,nextElementSibling,prepend:prepend$1,prependChild,prevElementSibling,removeElement,removeSubsets,replaceElement,testElement,textContent,uniqueSort},Symbol.toStringTag,{value:"Module"})),defaultOpts$1={_useHtmlParser2:!1};function flattenOptions(Ra,qa){if(!Ra)return qa??defaultOpts$1;const ed={_useHtmlParser2:!!Ra.xmlMode,...qa,...Ra};return Ra.xml?(ed._useHtmlParser2=!0,ed.xmlMode=!0,Ra.xml!==!0&&Object.assign(ed,Ra.xml)):Ra.xmlMode&&(ed._useHtmlParser2=!0),ed}function render$2(Ra,qa,ed){return Ra?Ra(qa??Ra._root.children,null,void 0,ed).toString():""}function isOptions(Ra,qa){return typeof Ra=="object"&&Ra!=null&&!("length"in Ra)&&!("type"in Ra)}function html$5(Ra,qa){const ed=isOptions(Ra)?(qa=Ra,void 0):Ra,td={...this===null||this===void 0?void 0:this._options,...flattenOptions(qa)};return render$2(this,ed,td)}function xml$4(Ra){const qa={...this._options,xmlMode:!0};return render$2(this,Ra,qa)}function text$2(Ra){const qa=Ra??(this?this.root():[]);let ed="";for(let td=0;tded.toUpperCase())}function cssCase(Ra){return Ra.replace(/[A-Z]/g,"-$&").toLowerCase()}function domEach(Ra,qa){const ed=Ra.length;for(let td=0;tdRa.length-3)return!1;const ed=Ra.charCodeAt(qa+1);return(ed>=CharacterCodes.LowerA&&ed<=CharacterCodes.LowerZ||ed>=CharacterCodes.UpperA&&ed<=CharacterCodes.UpperZ||ed===CharacterCodes.Exclamation)&&Ra.includes(">",qa+2)}const hasOwn$1=Object.prototype.hasOwnProperty,rspace=/\s+/,dataAttrPrefix="data-",rboolean=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,rbrace=/^{[^]*}$|^\[[^]*]$/;function getAttr(Ra,qa,ed){var td;if(!(!Ra||!isTag(Ra))){if((td=Ra.attribs)!==null&&td!==void 0||(Ra.attribs={}),!qa)return Ra.attribs;if(hasOwn$1.call(Ra.attribs,qa))return!ed&&rboolean.test(qa)?qa:Ra.attribs[qa];if(Ra.name==="option"&&qa==="value")return text$2(Ra.children);if(Ra.name==="input"&&(Ra.attribs.type==="radio"||Ra.attribs.type==="checkbox")&&qa==="value")return"on"}}function setAttr(Ra,qa,ed){ed===null?removeAttribute(Ra,qa):Ra.attribs[qa]=`${ed}`}function attr(Ra,qa){if(typeof Ra=="object"||qa!==void 0){if(typeof qa=="function"){if(typeof Ra!="string")throw new Error("Bad combination of arguments.");return domEach(this,(ed,td)=>{isTag(ed)&&setAttr(ed,Ra,qa.call(ed,td,ed.attribs[Ra]))})}return domEach(this,ed=>{if(isTag(ed))if(typeof Ra=="object")for(const td of Object.keys(Ra)){const rd=Ra[td];setAttr(ed,td,rd)}else setAttr(ed,Ra,qa)})}return arguments.length>1?this:getAttr(this[0],Ra,this.options.xmlMode)}function getProp(Ra,qa,ed){return qa in Ra?Ra[qa]:!ed&&rboolean.test(qa)?getAttr(Ra,qa,!1)!==void 0:getAttr(Ra,qa,ed)}function setProp(Ra,qa,ed,td){qa in Ra?Ra[qa]=ed:setAttr(Ra,qa,!td&&rboolean.test(qa)?ed?"":null:`${ed}`)}function prop(Ra,qa){var ed;if(typeof Ra=="string"&&qa===void 0){const td=this[0];if(!td||!isTag(td))return;switch(Ra){case"style":{const rd=this.css(),sd=Object.keys(rd);for(let od=0;od").parent().html();case"innerHTML":return this.html();default:return getProp(td,Ra,this.options.xmlMode)}}if(typeof Ra=="object"||qa!==void 0){if(typeof qa=="function"){if(typeof Ra=="object")throw new TypeError("Bad combination of arguments.");return domEach(this,(td,rd)=>{isTag(td)&&setProp(td,Ra,qa.call(td,rd,getProp(td,Ra,this.options.xmlMode)),this.options.xmlMode)})}return domEach(this,td=>{if(isTag(td))if(typeof Ra=="object")for(const rd of Object.keys(Ra)){const sd=Ra[rd];setProp(td,rd,sd,this.options.xmlMode)}else setProp(td,Ra,qa,this.options.xmlMode)})}}function setData(Ra,qa,ed){var td;(td=Ra.data)!==null&&td!==void 0||(Ra.data={}),typeof qa=="object"?Object.assign(Ra.data,qa):typeof qa=="string"&&ed!==void 0&&(Ra.data[qa]=ed)}function readAllData(Ra){for(const qa of Object.keys(Ra.attribs)){if(!qa.startsWith(dataAttrPrefix))continue;const ed=camelCase(qa.slice(dataAttrPrefix.length));hasOwn$1.call(Ra.data,ed)||(Ra.data[ed]=parseDataValue(Ra.attribs[qa]))}return Ra.data}function readData(Ra,qa){const ed=dataAttrPrefix+cssCase(qa),td=Ra.data;if(hasOwn$1.call(td,qa))return td[qa];if(hasOwn$1.call(Ra.attribs,ed))return td[qa]=parseDataValue(Ra.attribs[ed])}function parseDataValue(Ra){if(Ra==="null")return null;if(Ra==="true")return!0;if(Ra==="false")return!1;const qa=Number(Ra);if(Ra===String(qa))return qa;if(rbrace.test(Ra))try{return JSON.parse(Ra)}catch{}return Ra}function data(Ra,qa){var ed;const td=this[0];if(!td||!isTag(td))return;const rd=td;return(ed=rd.data)!==null&&ed!==void 0||(rd.data={}),Ra==null?readAllData(rd):typeof Ra=="object"||qa!==void 0?(domEach(this,sd=>{isTag(sd)&&(typeof Ra=="object"?setData(sd,Ra):setData(sd,Ra,qa))}),this):readData(rd,Ra)}function val$1(Ra){const qa=arguments.length===0,ed=this[0];if(!ed||!isTag(ed))return qa?void 0:this;switch(ed.name){case"textarea":return this.text(Ra);case"select":{const td=this.find("option:selected");if(!qa){if(this.attr("multiple")==null&&typeof Ra=="object")return this;this.find("option").removeAttr("selected");const rd=typeof Ra=="object"?Ra:[Ra];for(const sd of rd)this.find(`option[value="${sd}"]`).attr("selected","");return this}return this.attr("multiple")?td.toArray().map(rd=>text$2(rd.children)):td.attr("value")}case"input":case"option":return qa?this.attr("value"):this.attr("value",Ra)}}function removeAttribute(Ra,qa){!Ra.attribs||!hasOwn$1.call(Ra.attribs,qa)||delete Ra.attribs[qa]}function splitNames(Ra){return Ra?Ra.trim().split(rspace):[]}function removeAttr(Ra){const qa=splitNames(Ra);for(const ed of qa)domEach(this,td=>{isTag(td)&&removeAttribute(td,ed)});return this}function hasClass(Ra){return this.toArray().some(qa=>{const ed=isTag(qa)&&qa.attribs.class;let td=-1;if(ed&&Ra.length>0)for(;(td=ed.indexOf(Ra,td+1))>-1;){const rd=td+Ra.length;if((td===0||rspace.test(ed[td-1]))&&(rd===ed.length||rspace.test(ed[rd])))return!0}return!1})}function addClass(Ra){if(typeof Ra=="function")return domEach(this,(td,rd)=>{if(isTag(td)){const sd=td.attribs.class||"";addClass.call([td],Ra.call(td,rd,sd))}});if(!Ra||typeof Ra!="string")return this;const qa=Ra.split(rspace),ed=this.length;for(let td=0;td{isTag(rd)&&removeClass.call([rd],Ra.call(rd,sd,rd.attribs.class||""))});const qa=splitNames(Ra),ed=qa.length,td=arguments.length===0;return domEach(this,rd=>{if(isTag(rd))if(td)rd.attribs.class="";else{const sd=splitNames(rd.attribs.class);let od=!1;for(let ld=0;ld=0&&(sd.splice(ud,1),od=!0,ld--)}od&&(rd.attribs.class=sd.join(" "))}})}function toggleClass(Ra,qa){if(typeof Ra=="function")return domEach(this,(od,ld)=>{isTag(od)&&toggleClass.call([od],Ra.call(od,ld,od.attribs.class||"",qa),qa)});if(!Ra||typeof Ra!="string")return this;const ed=Ra.split(rspace),td=ed.length,rd=typeof qa=="boolean"?qa?1:-1:0,sd=this.length;for(let od=0;od=0&&dd<0?ud.push(ed[cd]):rd<=0&&dd>=0&&ud.splice(dd,1)}ld.attribs.class=ud.join(" ")}return this}const Attributes=Object.freeze(Object.defineProperty({__proto__:null,addClass,attr,data,hasClass,prop,removeAttr,removeClass,toggleClass,val:val$1},Symbol.toStringTag,{value:"Module"}));var SelectorType;(function(Ra){Ra.Attribute="attribute",Ra.Pseudo="pseudo",Ra.PseudoElement="pseudo-element",Ra.Tag="tag",Ra.Universal="universal",Ra.Adjacent="adjacent",Ra.Child="child",Ra.Descendant="descendant",Ra.Parent="parent",Ra.Sibling="sibling",Ra.ColumnCombinator="column-combinator"})(SelectorType||(SelectorType={}));var AttributeAction;(function(Ra){Ra.Any="any",Ra.Element="element",Ra.End="end",Ra.Equals="equals",Ra.Exists="exists",Ra.Hyphen="hyphen",Ra.Not="not",Ra.Start="start"})(AttributeAction||(AttributeAction={}));const reName=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,reEscape=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,actionTypes=new Map([[126,AttributeAction.Element],[94,AttributeAction.Start],[36,AttributeAction.End],[42,AttributeAction.Any],[33,AttributeAction.Not],[124,AttributeAction.Hyphen]]),unpackPseudos=new Set(["has","not","matches","is","where","host","host-context"]);function isTraversal$1(Ra){switch(Ra.type){case SelectorType.Adjacent:case SelectorType.Child:case SelectorType.Descendant:case SelectorType.Parent:case SelectorType.Sibling:case SelectorType.ColumnCombinator:return!0;default:return!1}}const stripQuotesFromPseudos=new Set(["contains","icontains"]);function funescape(Ra,qa,ed){const td=parseInt(qa,16)-65536;return td!==td||ed?qa:td<0?String.fromCharCode(td+65536):String.fromCharCode(td>>10|55296,td&1023|56320)}function unescapeCSS(Ra){return Ra.replace(reEscape,funescape)}function isQuote(Ra){return Ra===39||Ra===34}function isWhitespace$3(Ra){return Ra===32||Ra===9||Ra===10||Ra===12||Ra===13}function parse$7(Ra){const qa=[],ed=parseSelector(qa,`${Ra}`,0);if(ed0&&ed0&&isTraversal$1(td[td.length-1]))throw new Error("Did not expect successive traversals.")}function cd(Ed){if(td.length>0&&td[td.length-1].type===SelectorType.Descendant){td[td.length-1].type=Ed;return}ud(),td.push({type:Ed})}function dd(Ed,Ad){td.push({type:SelectorType.Attribute,name:Ed,action:Ad,value:rd(1),namespace:null,ignoreCase:"quirks"})}function _d(){if(td.length&&td[td.length-1].type===SelectorType.Descendant&&td.pop(),td.length===0)throw new Error("Empty sub-selector");Ra.push(td)}if(sd(0),qa.length===ed)return ed;e:for(;ed=0&&td>=1)):Ra.type===SelectorType.Pseudo&&(Ra.data?Ra.name==="has"||Ra.name==="contains"?td=0:Array.isArray(Ra.data)?(td=Math.min(...Ra.data.map(rd=>Math.min(...rd.map(getProcedure)))),td<0&&(td=0)):td=2:td=3),td}const reChars=/[-[\]{}()*+?.,\\^$|#\s]/g;function escapeRegex(Ra){return Ra.replace(reChars,"\\$&")}const caseInsensitiveAttributes=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function shouldIgnoreCase(Ra,qa){return typeof Ra.ignoreCase=="boolean"?Ra.ignoreCase:Ra.ignoreCase==="quirks"?!!qa.quirksMode:!qa.xmlMode&&caseInsensitiveAttributes.has(Ra.name)}const attributeRules={equals(Ra,qa,ed){const{adapter:td}=ed,{name:rd}=qa;let{value:sd}=qa;return shouldIgnoreCase(qa,ed)?(sd=sd.toLowerCase(),od=>{const ld=td.getAttributeValue(od,rd);return ld!=null&&ld.length===sd.length&&ld.toLowerCase()===sd&&Ra(od)}):od=>td.getAttributeValue(od,rd)===sd&&Ra(od)},hyphen(Ra,qa,ed){const{adapter:td}=ed,{name:rd}=qa;let{value:sd}=qa;const od=sd.length;return shouldIgnoreCase(qa,ed)?(sd=sd.toLowerCase(),function(ud){const cd=td.getAttributeValue(ud,rd);return cd!=null&&(cd.length===od||cd.charAt(od)==="-")&&cd.substr(0,od).toLowerCase()===sd&&Ra(ud)}):function(ud){const cd=td.getAttributeValue(ud,rd);return cd!=null&&(cd.length===od||cd.charAt(od)==="-")&&cd.substr(0,od)===sd&&Ra(ud)}},element(Ra,qa,ed){const{adapter:td}=ed,{name:rd,value:sd}=qa;if(/\s/.test(sd))return boolbase$1.falseFunc;const od=new RegExp(`(?:^|\\s)${escapeRegex(sd)}(?:$|\\s)`,shouldIgnoreCase(qa,ed)?"i":"");return function(ud){const cd=td.getAttributeValue(ud,rd);return cd!=null&&cd.length>=sd.length&&od.test(cd)&&Ra(ud)}},exists(Ra,{name:qa},{adapter:ed}){return td=>ed.hasAttrib(td,qa)&&Ra(td)},start(Ra,qa,ed){const{adapter:td}=ed,{name:rd}=qa;let{value:sd}=qa;const od=sd.length;return od===0?boolbase$1.falseFunc:shouldIgnoreCase(qa,ed)?(sd=sd.toLowerCase(),ld=>{const ud=td.getAttributeValue(ld,rd);return ud!=null&&ud.length>=od&&ud.substr(0,od).toLowerCase()===sd&&Ra(ld)}):ld=>{var ud;return!!(!((ud=td.getAttributeValue(ld,rd))===null||ud===void 0)&&ud.startsWith(sd))&&Ra(ld)}},end(Ra,qa,ed){const{adapter:td}=ed,{name:rd}=qa;let{value:sd}=qa;const od=-sd.length;return od===0?boolbase$1.falseFunc:shouldIgnoreCase(qa,ed)?(sd=sd.toLowerCase(),ld=>{var ud;return((ud=td.getAttributeValue(ld,rd))===null||ud===void 0?void 0:ud.substr(od).toLowerCase())===sd&&Ra(ld)}):ld=>{var ud;return!!(!((ud=td.getAttributeValue(ld,rd))===null||ud===void 0)&&ud.endsWith(sd))&&Ra(ld)}},any(Ra,qa,ed){const{adapter:td}=ed,{name:rd,value:sd}=qa;if(sd==="")return boolbase$1.falseFunc;if(shouldIgnoreCase(qa,ed)){const od=new RegExp(escapeRegex(sd),"i");return function(ud){const cd=td.getAttributeValue(ud,rd);return cd!=null&&cd.length>=sd.length&&od.test(cd)&&Ra(ud)}}return od=>{var ld;return!!(!((ld=td.getAttributeValue(od,rd))===null||ld===void 0)&&ld.includes(sd))&&Ra(od)}},not(Ra,qa,ed){const{adapter:td}=ed,{name:rd}=qa;let{value:sd}=qa;return sd===""?od=>!!td.getAttributeValue(od,rd)&&Ra(od):shouldIgnoreCase(qa,ed)?(sd=sd.toLowerCase(),od=>{const ld=td.getAttributeValue(od,rd);return(ld==null||ld.length!==sd.length||ld.toLowerCase()!==sd)&&Ra(od)}):od=>td.getAttributeValue(od,rd)!==sd&&Ra(od)}},whitespace$1=new Set([9,10,12,13,32]),ZERO=48,NINE=57;function parse$6(Ra){if(Ra=Ra.trim().toLowerCase(),Ra==="even")return[2,0];if(Ra==="odd")return[2,1];let qa=0,ed=0,td=sd(),rd=od();if(qa=ZERO&&Ra.charCodeAt(qa)<=NINE;)cd=cd*10+(Ra.charCodeAt(qa)-ZERO),qa++;return qa===ud?null:cd}function ld(){for(;qasd<=ed;if(qa===0)return sd=>sd===ed;if(qa===1)return ed<0?boolbase$1.trueFunc:sd=>sd>=ed;const td=Math.abs(qa),rd=(ed%td+td)%td;return qa>1?sd=>sd>=ed&&sd%td===rd:sd=>sd<=ed&&sd%td===rd}function nthCheck(Ra){return compile$1(parse$6(Ra))}function getChildFunc(Ra,qa){return ed=>{const td=qa.getParent(ed);return td!=null&&qa.isTag(td)&&Ra(ed)}}const filters={contains(Ra,qa,{adapter:ed}){return function(rd){return Ra(rd)&&ed.getText(rd).includes(qa)}},icontains(Ra,qa,{adapter:ed}){const td=qa.toLowerCase();return function(sd){return Ra(sd)&&ed.getText(sd).toLowerCase().includes(td)}},"nth-child"(Ra,qa,{adapter:ed,equals:td}){const rd=nthCheck(qa);return rd===boolbase$1.falseFunc?boolbase$1.falseFunc:rd===boolbase$1.trueFunc?getChildFunc(Ra,ed):function(od){const ld=ed.getSiblings(od);let ud=0;for(let cd=0;cd=0&&!td(od,ld[cd]);cd--)ed.isTag(ld[cd])&&ud++;return rd(ud)&&Ra(od)}},"nth-of-type"(Ra,qa,{adapter:ed,equals:td}){const rd=nthCheck(qa);return rd===boolbase$1.falseFunc?boolbase$1.falseFunc:rd===boolbase$1.trueFunc?getChildFunc(Ra,ed):function(od){const ld=ed.getSiblings(od);let ud=0;for(let cd=0;cd=0;cd--){const dd=ld[cd];if(td(od,dd))break;ed.isTag(dd)&&ed.getName(dd)===ed.getName(od)&&ud++}return rd(ud)&&Ra(od)}},root(Ra,qa,{adapter:ed}){return td=>{const rd=ed.getParent(td);return(rd==null||!ed.isTag(rd))&&Ra(td)}},scope(Ra,qa,ed,td){const{equals:rd}=ed;return!td||td.length===0?filters.root(Ra,qa,ed):td.length===1?sd=>rd(td[0],sd)&&Ra(sd):sd=>td.includes(sd)&&Ra(sd)},hover:dynamicStatePseudo("isHovered"),visited:dynamicStatePseudo("isVisited"),active:dynamicStatePseudo("isActive")};function dynamicStatePseudo(Ra){return function(ed,td,{adapter:rd}){const sd=rd[Ra];return typeof sd!="function"?boolbase$1.falseFunc:function(ld){return sd(ld)&&ed(ld)}}}const pseudos={empty(Ra,{adapter:qa}){return!qa.getChildren(Ra).some(ed=>qa.isTag(ed)||qa.getText(ed)!=="")},"first-child"(Ra,{adapter:qa,equals:ed}){if(qa.prevElementSibling)return qa.prevElementSibling(Ra)==null;const td=qa.getSiblings(Ra).find(rd=>qa.isTag(rd));return td!=null&&ed(Ra,td)},"last-child"(Ra,{adapter:qa,equals:ed}){const td=qa.getSiblings(Ra);for(let rd=td.length-1;rd>=0;rd--){if(ed(Ra,td[rd]))return!0;if(qa.isTag(td[rd]))break}return!1},"first-of-type"(Ra,{adapter:qa,equals:ed}){const td=qa.getSiblings(Ra),rd=qa.getName(Ra);for(let sd=0;sd=0;sd--){const od=td[sd];if(ed(Ra,od))return!0;if(qa.isTag(od)&&qa.getName(od)===rd)break}return!1},"only-of-type"(Ra,{adapter:qa,equals:ed}){const td=qa.getName(Ra);return qa.getSiblings(Ra).every(rd=>ed(Ra,rd)||!qa.isTag(rd)||qa.getName(rd)!==td)},"only-child"(Ra,{adapter:qa,equals:ed}){return qa.getSiblings(Ra).every(td=>ed(Ra,td)||!qa.isTag(td))}};function verifyPseudoArgs(Ra,qa,ed,td){if(ed===null){if(Ra.length>td)throw new Error(`Pseudo-class :${qa} requires an argument`)}else if(Ra.length===td)throw new Error(`Pseudo-class :${qa} doesn't have any arguments`)}const aliases={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:`:is( + */(function(Ra){const qa=base64Js$1,td=ieee754$1,rd=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Ra.Buffer=pd,Ra.SlowBuffer=Ud,Ra.INSPECT_MAX_BYTES=50;const nd=2147483647;Ra.kMaxLength=nd;const{Uint8Array:ad,ArrayBuffer:sd,SharedArrayBuffer:ud}=globalThis;pd.TYPED_ARRAY_SUPPORT=cd(),!pd.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function cd(){try{const nh=new ad(1),Of={foo:function(){return 42}};return Object.setPrototypeOf(Of,ad.prototype),Object.setPrototypeOf(nh,Of),nh.foo()===42}catch{return!1}}Object.defineProperty(pd.prototype,"parent",{enumerable:!0,get:function(){if(pd.isBuffer(this))return this.buffer}}),Object.defineProperty(pd.prototype,"offset",{enumerable:!0,get:function(){if(pd.isBuffer(this))return this.byteOffset}});function dd(nh){if(nh>nd)throw new RangeError('The value "'+nh+'" is invalid for option "size"');const Of=new ad(nh);return Object.setPrototypeOf(Of,pd.prototype),Of}function pd(nh,Of,Nf){if(typeof nh=="number"){if(typeof Of=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Sd(nh)}return fd(nh,Of,Nf)}pd.poolSize=8192;function fd(nh,Of,Nf){if(typeof nh=="string")return Dd(nh,Of);if(sd.isView(nh))return Rd(nh);if(nh==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof nh);if(Th(nh,sd)||nh&&Th(nh.buffer,sd)||typeof ud<"u"&&(Th(nh,ud)||nh&&Th(nh.buffer,ud)))return Od(nh,Of,Nf);if(typeof nh=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const Jf=nh.valueOf&&nh.valueOf();if(Jf!=null&&Jf!==nh)return pd.from(Jf,Of,Nf);const oh=Md(nh);if(oh)return oh;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof nh[Symbol.toPrimitive]=="function")return pd.from(nh[Symbol.toPrimitive]("string"),Of,Nf);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof nh)}pd.from=function(nh,Of,Nf){return fd(nh,Of,Nf)},Object.setPrototypeOf(pd.prototype,ad.prototype),Object.setPrototypeOf(pd,ad);function Td(nh){if(typeof nh!="number")throw new TypeError('"size" argument must be of type number');if(nh<0)throw new RangeError('The value "'+nh+'" is invalid for option "size"')}function Ad(nh,Of,Nf){return Td(nh),nh<=0?dd(nh):Of!==void 0?typeof Nf=="string"?dd(nh).fill(Of,Nf):dd(nh).fill(Of):dd(nh)}pd.alloc=function(nh,Of,Nf){return Ad(nh,Of,Nf)};function Sd(nh){return Td(nh),dd(nh<0?0:jd(nh)|0)}pd.allocUnsafe=function(nh){return Sd(nh)},pd.allocUnsafeSlow=function(nh){return Sd(nh)};function Dd(nh,Of){if((typeof Of!="string"||Of==="")&&(Of="utf8"),!pd.isEncoding(Of))throw new TypeError("Unknown encoding: "+Of);const Nf=Hd(nh,Of)|0;let Jf=dd(Nf);const oh=Jf.write(nh,Of);return oh!==Nf&&(Jf=Jf.slice(0,oh)),Jf}function Ld(nh){const Of=nh.length<0?0:jd(nh.length)|0,Nf=dd(Of);for(let Jf=0;Jf=nd)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+nd.toString(16)+" bytes");return nh|0}function Ud(nh){return+nh!=nh&&(nh=0),pd.alloc(+nh)}pd.isBuffer=function(Of){return Of!=null&&Of._isBuffer===!0&&Of!==pd.prototype},pd.compare=function(Of,Nf){if(Th(Of,ad)&&(Of=pd.from(Of,Of.offset,Of.byteLength)),Th(Nf,ad)&&(Nf=pd.from(Nf,Nf.offset,Nf.byteLength)),!pd.isBuffer(Of)||!pd.isBuffer(Nf))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Of===Nf)return 0;let Jf=Of.length,oh=Nf.length;for(let xh=0,Oh=Math.min(Jf,oh);xhoh.length?(pd.isBuffer(Oh)||(Oh=pd.from(Oh)),Oh.copy(oh,xh)):ad.prototype.set.call(oh,Oh,xh);else if(pd.isBuffer(Oh))Oh.copy(oh,xh);else throw new TypeError('"list" argument must be an Array of Buffers');xh+=Oh.length}return oh};function Hd(nh,Of){if(pd.isBuffer(nh))return nh.length;if(sd.isView(nh)||Th(nh,sd))return nh.byteLength;if(typeof nh!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof nh);const Nf=nh.length,Jf=arguments.length>2&&arguments[2]===!0;if(!Jf&&Nf===0)return 0;let oh=!1;for(;;)switch(Of){case"ascii":case"latin1":case"binary":return Nf;case"utf8":case"utf-8":return lh(nh).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Nf*2;case"hex":return Nf>>>1;case"base64":return wh(nh).length;default:if(oh)return Jf?-1:lh(nh).length;Of=(""+Of).toLowerCase(),oh=!0}}pd.byteLength=Hd;function zd(nh,Of,Nf){let Jf=!1;if((Of===void 0||Of<0)&&(Of=0),Of>this.length||((Nf===void 0||Nf>this.length)&&(Nf=this.length),Nf<=0)||(Nf>>>=0,Of>>>=0,Nf<=Of))return"";for(nh||(nh="utf8");;)switch(nh){case"hex":return Pf(this,Of,Nf);case"utf8":case"utf-8":return xf(this,Of,Nf);case"ascii":return eh(this,Of,Nf);case"latin1":case"binary":return Vf(this,Of,Nf);case"base64":return vf(this,Of,Nf);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return If(this,Of,Nf);default:if(Jf)throw new TypeError("Unknown encoding: "+nh);nh=(nh+"").toLowerCase(),Jf=!0}}pd.prototype._isBuffer=!0;function Zd(nh,Of,Nf){const Jf=nh[Of];nh[Of]=nh[Nf],nh[Nf]=Jf}pd.prototype.swap16=function(){const Of=this.length;if(Of%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let Nf=0;NfNf&&(Of+=" ... "),""},rd&&(pd.prototype[rd]=pd.prototype.inspect),pd.prototype.compare=function(Of,Nf,Jf,oh,xh){if(Th(Of,ad)&&(Of=pd.from(Of,Of.offset,Of.byteLength)),!pd.isBuffer(Of))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Of);if(Nf===void 0&&(Nf=0),Jf===void 0&&(Jf=Of?Of.length:0),oh===void 0&&(oh=0),xh===void 0&&(xh=this.length),Nf<0||Jf>Of.length||oh<0||xh>this.length)throw new RangeError("out of range index");if(oh>=xh&&Nf>=Jf)return 0;if(oh>=xh)return-1;if(Nf>=Jf)return 1;if(Nf>>>=0,Jf>>>=0,oh>>>=0,xh>>>=0,this===Of)return 0;let Oh=xh-oh,Xh=Jf-Nf;const gm=Math.min(Oh,Xh),lm=this.slice(oh,xh),Hm=Of.slice(Nf,Jf);for(let Rm=0;Rm2147483647?Nf=2147483647:Nf<-2147483648&&(Nf=-2147483648),Nf=+Nf,Vh(Nf)&&(Nf=oh?0:nh.length-1),Nf<0&&(Nf=nh.length+Nf),Nf>=nh.length){if(oh)return-1;Nf=nh.length-1}else if(Nf<0)if(oh)Nf=0;else return-1;if(typeof Of=="string"&&(Of=pd.from(Of,Jf)),pd.isBuffer(Of))return Of.length===0?-1:Qd(nh,Of,Nf,Jf,oh);if(typeof Of=="number")return Of=Of&255,typeof ad.prototype.indexOf=="function"?oh?ad.prototype.indexOf.call(nh,Of,Nf):ad.prototype.lastIndexOf.call(nh,Of,Nf):Qd(nh,[Of],Nf,Jf,oh);throw new TypeError("val must be string, number or Buffer")}function Qd(nh,Of,Nf,Jf,oh){let xh=1,Oh=nh.length,Xh=Of.length;if(Jf!==void 0&&(Jf=String(Jf).toLowerCase(),Jf==="ucs2"||Jf==="ucs-2"||Jf==="utf16le"||Jf==="utf-16le")){if(nh.length<2||Of.length<2)return-1;xh=2,Oh/=2,Xh/=2,Nf/=2}function gm(Hm,Rm){return xh===1?Hm[Rm]:Hm.readUInt16BE(Rm*xh)}let lm;if(oh){let Hm=-1;for(lm=Nf;lmOh&&(Nf=Oh-Xh),lm=Nf;lm>=0;lm--){let Hm=!0;for(let Rm=0;Rmoh&&(Jf=oh)):Jf=oh;const xh=Of.length;Jf>xh/2&&(Jf=xh/2);let Oh;for(Oh=0;Oh>>0,isFinite(Jf)?(Jf=Jf>>>0,oh===void 0&&(oh="utf8")):(oh=Jf,Jf=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const xh=this.length-Nf;if((Jf===void 0||Jf>xh)&&(Jf=xh),Of.length>0&&(Jf<0||Nf<0)||Nf>this.length)throw new RangeError("Attempt to write outside buffer bounds");oh||(oh="utf8");let Oh=!1;for(;;)switch(oh){case"hex":return Jd(this,Of,Nf,Jf);case"utf8":case"utf-8":return hf(this,Of,Nf,Jf);case"ascii":case"latin1":case"binary":return bf(this,Of,Nf,Jf);case"base64":return Ef(this,Of,Nf,Jf);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _f(this,Of,Nf,Jf);default:if(Oh)throw new TypeError("Unknown encoding: "+oh);oh=(""+oh).toLowerCase(),Oh=!0}},pd.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function vf(nh,Of,Nf){return Of===0&&Nf===nh.length?qa.fromByteArray(nh):qa.fromByteArray(nh.slice(Of,Nf))}function xf(nh,Of,Nf){Nf=Math.min(nh.length,Nf);const Jf=[];let oh=Of;for(;oh239?4:xh>223?3:xh>191?2:1;if(oh+Xh<=Nf){let gm,lm,Hm,Rm;switch(Xh){case 1:xh<128&&(Oh=xh);break;case 2:gm=nh[oh+1],(gm&192)===128&&(Rm=(xh&31)<<6|gm&63,Rm>127&&(Oh=Rm));break;case 3:gm=nh[oh+1],lm=nh[oh+2],(gm&192)===128&&(lm&192)===128&&(Rm=(xh&15)<<12|(gm&63)<<6|lm&63,Rm>2047&&(Rm<55296||Rm>57343)&&(Oh=Rm));break;case 4:gm=nh[oh+1],lm=nh[oh+2],Hm=nh[oh+3],(gm&192)===128&&(lm&192)===128&&(Hm&192)===128&&(Rm=(xh&15)<<18|(gm&63)<<12|(lm&63)<<6|Hm&63,Rm>65535&&Rm<1114112&&(Oh=Rm))}}Oh===null?(Oh=65533,Xh=1):Oh>65535&&(Oh-=65536,Jf.push(Oh>>>10&1023|55296),Oh=56320|Oh&1023),Jf.push(Oh),oh+=Xh}return Yf(Jf)}const Bf=4096;function Yf(nh){const Of=nh.length;if(Of<=Bf)return String.fromCharCode.apply(String,nh);let Nf="",Jf=0;for(;JfJf)&&(Nf=Jf);let oh="";for(let xh=Of;xhJf&&(Of=Jf),Nf<0?(Nf+=Jf,Nf<0&&(Nf=0)):Nf>Jf&&(Nf=Jf),NfNf)throw new RangeError("Trying to access beyond buffer length")}pd.prototype.readUintLE=pd.prototype.readUIntLE=function(Of,Nf,Jf){Of=Of>>>0,Nf=Nf>>>0,Jf||$f(Of,Nf,this.length);let oh=this[Of],xh=1,Oh=0;for(;++Oh>>0,Nf=Nf>>>0,Jf||$f(Of,Nf,this.length);let oh=this[Of+--Nf],xh=1;for(;Nf>0&&(xh*=256);)oh+=this[Of+--Nf]*xh;return oh},pd.prototype.readUint8=pd.prototype.readUInt8=function(Of,Nf){return Of=Of>>>0,Nf||$f(Of,1,this.length),this[Of]},pd.prototype.readUint16LE=pd.prototype.readUInt16LE=function(Of,Nf){return Of=Of>>>0,Nf||$f(Of,2,this.length),this[Of]|this[Of+1]<<8},pd.prototype.readUint16BE=pd.prototype.readUInt16BE=function(Of,Nf){return Of=Of>>>0,Nf||$f(Of,2,this.length),this[Of]<<8|this[Of+1]},pd.prototype.readUint32LE=pd.prototype.readUInt32LE=function(Of,Nf){return Of=Of>>>0,Nf||$f(Of,4,this.length),(this[Of]|this[Of+1]<<8|this[Of+2]<<16)+this[Of+3]*16777216},pd.prototype.readUint32BE=pd.prototype.readUInt32BE=function(Of,Nf){return Of=Of>>>0,Nf||$f(Of,4,this.length),this[Of]*16777216+(this[Of+1]<<16|this[Of+2]<<8|this[Of+3])},pd.prototype.readBigUInt64LE=Yh(function(Of){Of=Of>>>0,qf(Of,"offset");const Nf=this[Of],Jf=this[Of+7];(Nf===void 0||Jf===void 0)&&wf(Of,this.length-8);const oh=Nf+this[++Of]*2**8+this[++Of]*2**16+this[++Of]*2**24,xh=this[++Of]+this[++Of]*2**8+this[++Of]*2**16+Jf*2**24;return BigInt(oh)+(BigInt(xh)<>>0,qf(Of,"offset");const Nf=this[Of],Jf=this[Of+7];(Nf===void 0||Jf===void 0)&&wf(Of,this.length-8);const oh=Nf*2**24+this[++Of]*2**16+this[++Of]*2**8+this[++Of],xh=this[++Of]*2**24+this[++Of]*2**16+this[++Of]*2**8+Jf;return(BigInt(oh)<>>0,Nf=Nf>>>0,Jf||$f(Of,Nf,this.length);let oh=this[Of],xh=1,Oh=0;for(;++Oh=xh&&(oh-=Math.pow(2,8*Nf)),oh},pd.prototype.readIntBE=function(Of,Nf,Jf){Of=Of>>>0,Nf=Nf>>>0,Jf||$f(Of,Nf,this.length);let oh=Nf,xh=1,Oh=this[Of+--oh];for(;oh>0&&(xh*=256);)Oh+=this[Of+--oh]*xh;return xh*=128,Oh>=xh&&(Oh-=Math.pow(2,8*Nf)),Oh},pd.prototype.readInt8=function(Of,Nf){return Of=Of>>>0,Nf||$f(Of,1,this.length),this[Of]&128?(255-this[Of]+1)*-1:this[Of]},pd.prototype.readInt16LE=function(Of,Nf){Of=Of>>>0,Nf||$f(Of,2,this.length);const Jf=this[Of]|this[Of+1]<<8;return Jf&32768?Jf|4294901760:Jf},pd.prototype.readInt16BE=function(Of,Nf){Of=Of>>>0,Nf||$f(Of,2,this.length);const Jf=this[Of+1]|this[Of]<<8;return Jf&32768?Jf|4294901760:Jf},pd.prototype.readInt32LE=function(Of,Nf){return Of=Of>>>0,Nf||$f(Of,4,this.length),this[Of]|this[Of+1]<<8|this[Of+2]<<16|this[Of+3]<<24},pd.prototype.readInt32BE=function(Of,Nf){return Of=Of>>>0,Nf||$f(Of,4,this.length),this[Of]<<24|this[Of+1]<<16|this[Of+2]<<8|this[Of+3]},pd.prototype.readBigInt64LE=Yh(function(Of){Of=Of>>>0,qf(Of,"offset");const Nf=this[Of],Jf=this[Of+7];(Nf===void 0||Jf===void 0)&&wf(Of,this.length-8);const oh=this[Of+4]+this[Of+5]*2**8+this[Of+6]*2**16+(Jf<<24);return(BigInt(oh)<>>0,qf(Of,"offset");const Nf=this[Of],Jf=this[Of+7];(Nf===void 0||Jf===void 0)&&wf(Of,this.length-8);const oh=(Nf<<24)+this[++Of]*2**16+this[++Of]*2**8+this[++Of];return(BigInt(oh)<>>0,Nf||$f(Of,4,this.length),td.read(this,Of,!0,23,4)},pd.prototype.readFloatBE=function(Of,Nf){return Of=Of>>>0,Nf||$f(Of,4,this.length),td.read(this,Of,!1,23,4)},pd.prototype.readDoubleLE=function(Of,Nf){return Of=Of>>>0,Nf||$f(Of,8,this.length),td.read(this,Of,!0,52,8)},pd.prototype.readDoubleBE=function(Of,Nf){return Of=Of>>>0,Nf||$f(Of,8,this.length),td.read(this,Of,!1,52,8)};function Zf(nh,Of,Nf,Jf,oh,xh){if(!pd.isBuffer(nh))throw new TypeError('"buffer" argument must be a Buffer instance');if(Of>oh||Ofnh.length)throw new RangeError("Index out of range")}pd.prototype.writeUintLE=pd.prototype.writeUIntLE=function(Of,Nf,Jf,oh){if(Of=+Of,Nf=Nf>>>0,Jf=Jf>>>0,!oh){const Xh=Math.pow(2,8*Jf)-1;Zf(this,Of,Nf,Jf,Xh,0)}let xh=1,Oh=0;for(this[Nf]=Of&255;++Oh>>0,Jf=Jf>>>0,!oh){const Xh=Math.pow(2,8*Jf)-1;Zf(this,Of,Nf,Jf,Xh,0)}let xh=Jf-1,Oh=1;for(this[Nf+xh]=Of&255;--xh>=0&&(Oh*=256);)this[Nf+xh]=Of/Oh&255;return Nf+Jf},pd.prototype.writeUint8=pd.prototype.writeUInt8=function(Of,Nf,Jf){return Of=+Of,Nf=Nf>>>0,Jf||Zf(this,Of,Nf,1,255,0),this[Nf]=Of&255,Nf+1},pd.prototype.writeUint16LE=pd.prototype.writeUInt16LE=function(Of,Nf,Jf){return Of=+Of,Nf=Nf>>>0,Jf||Zf(this,Of,Nf,2,65535,0),this[Nf]=Of&255,this[Nf+1]=Of>>>8,Nf+2},pd.prototype.writeUint16BE=pd.prototype.writeUInt16BE=function(Of,Nf,Jf){return Of=+Of,Nf=Nf>>>0,Jf||Zf(this,Of,Nf,2,65535,0),this[Nf]=Of>>>8,this[Nf+1]=Of&255,Nf+2},pd.prototype.writeUint32LE=pd.prototype.writeUInt32LE=function(Of,Nf,Jf){return Of=+Of,Nf=Nf>>>0,Jf||Zf(this,Of,Nf,4,4294967295,0),this[Nf+3]=Of>>>24,this[Nf+2]=Of>>>16,this[Nf+1]=Of>>>8,this[Nf]=Of&255,Nf+4},pd.prototype.writeUint32BE=pd.prototype.writeUInt32BE=function(Of,Nf,Jf){return Of=+Of,Nf=Nf>>>0,Jf||Zf(this,Of,Nf,4,4294967295,0),this[Nf]=Of>>>24,this[Nf+1]=Of>>>16,this[Nf+2]=Of>>>8,this[Nf+3]=Of&255,Nf+4};function Kf(nh,Of,Nf,Jf,oh){dh(Of,Jf,oh,nh,Nf,7);let xh=Number(Of&BigInt(4294967295));nh[Nf++]=xh,xh=xh>>8,nh[Nf++]=xh,xh=xh>>8,nh[Nf++]=xh,xh=xh>>8,nh[Nf++]=xh;let Oh=Number(Of>>BigInt(32)&BigInt(4294967295));return nh[Nf++]=Oh,Oh=Oh>>8,nh[Nf++]=Oh,Oh=Oh>>8,nh[Nf++]=Oh,Oh=Oh>>8,nh[Nf++]=Oh,Nf}function Tf(nh,Of,Nf,Jf,oh){dh(Of,Jf,oh,nh,Nf,7);let xh=Number(Of&BigInt(4294967295));nh[Nf+7]=xh,xh=xh>>8,nh[Nf+6]=xh,xh=xh>>8,nh[Nf+5]=xh,xh=xh>>8,nh[Nf+4]=xh;let Oh=Number(Of>>BigInt(32)&BigInt(4294967295));return nh[Nf+3]=Oh,Oh=Oh>>8,nh[Nf+2]=Oh,Oh=Oh>>8,nh[Nf+1]=Oh,Oh=Oh>>8,nh[Nf]=Oh,Nf+8}pd.prototype.writeBigUInt64LE=Yh(function(Of,Nf=0){return Kf(this,Of,Nf,BigInt(0),BigInt("0xffffffffffffffff"))}),pd.prototype.writeBigUInt64BE=Yh(function(Of,Nf=0){return Tf(this,Of,Nf,BigInt(0),BigInt("0xffffffffffffffff"))}),pd.prototype.writeIntLE=function(Of,Nf,Jf,oh){if(Of=+Of,Nf=Nf>>>0,!oh){const gm=Math.pow(2,8*Jf-1);Zf(this,Of,Nf,Jf,gm-1,-gm)}let xh=0,Oh=1,Xh=0;for(this[Nf]=Of&255;++xh>0)-Xh&255;return Nf+Jf},pd.prototype.writeIntBE=function(Of,Nf,Jf,oh){if(Of=+Of,Nf=Nf>>>0,!oh){const gm=Math.pow(2,8*Jf-1);Zf(this,Of,Nf,Jf,gm-1,-gm)}let xh=Jf-1,Oh=1,Xh=0;for(this[Nf+xh]=Of&255;--xh>=0&&(Oh*=256);)Of<0&&Xh===0&&this[Nf+xh+1]!==0&&(Xh=1),this[Nf+xh]=(Of/Oh>>0)-Xh&255;return Nf+Jf},pd.prototype.writeInt8=function(Of,Nf,Jf){return Of=+Of,Nf=Nf>>>0,Jf||Zf(this,Of,Nf,1,127,-128),Of<0&&(Of=255+Of+1),this[Nf]=Of&255,Nf+1},pd.prototype.writeInt16LE=function(Of,Nf,Jf){return Of=+Of,Nf=Nf>>>0,Jf||Zf(this,Of,Nf,2,32767,-32768),this[Nf]=Of&255,this[Nf+1]=Of>>>8,Nf+2},pd.prototype.writeInt16BE=function(Of,Nf,Jf){return Of=+Of,Nf=Nf>>>0,Jf||Zf(this,Of,Nf,2,32767,-32768),this[Nf]=Of>>>8,this[Nf+1]=Of&255,Nf+2},pd.prototype.writeInt32LE=function(Of,Nf,Jf){return Of=+Of,Nf=Nf>>>0,Jf||Zf(this,Of,Nf,4,2147483647,-2147483648),this[Nf]=Of&255,this[Nf+1]=Of>>>8,this[Nf+2]=Of>>>16,this[Nf+3]=Of>>>24,Nf+4},pd.prototype.writeInt32BE=function(Of,Nf,Jf){return Of=+Of,Nf=Nf>>>0,Jf||Zf(this,Of,Nf,4,2147483647,-2147483648),Of<0&&(Of=4294967295+Of+1),this[Nf]=Of>>>24,this[Nf+1]=Of>>>16,this[Nf+2]=Of>>>8,this[Nf+3]=Of&255,Nf+4},pd.prototype.writeBigInt64LE=Yh(function(Of,Nf=0){return Kf(this,Of,Nf,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),pd.prototype.writeBigInt64BE=Yh(function(Of,Nf=0){return Tf(this,Of,Nf,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function gf(nh,Of,Nf,Jf,oh,xh){if(Nf+Jf>nh.length)throw new RangeError("Index out of range");if(Nf<0)throw new RangeError("Index out of range")}function Mf(nh,Of,Nf,Jf,oh){return Of=+Of,Nf=Nf>>>0,oh||gf(nh,Of,Nf,4),td.write(nh,Of,Nf,Jf,23,4),Nf+4}pd.prototype.writeFloatLE=function(Of,Nf,Jf){return Mf(this,Of,Nf,!0,Jf)},pd.prototype.writeFloatBE=function(Of,Nf,Jf){return Mf(this,Of,Nf,!1,Jf)};function Gf(nh,Of,Nf,Jf,oh){return Of=+Of,Nf=Nf>>>0,oh||gf(nh,Of,Nf,8),td.write(nh,Of,Nf,Jf,52,8),Nf+8}pd.prototype.writeDoubleLE=function(Of,Nf,Jf){return Gf(this,Of,Nf,!0,Jf)},pd.prototype.writeDoubleBE=function(Of,Nf,Jf){return Gf(this,Of,Nf,!1,Jf)},pd.prototype.copy=function(Of,Nf,Jf,oh){if(!pd.isBuffer(Of))throw new TypeError("argument should be a Buffer");if(Jf||(Jf=0),!oh&&oh!==0&&(oh=this.length),Nf>=Of.length&&(Nf=Of.length),Nf||(Nf=0),oh>0&&oh=this.length)throw new RangeError("Index out of range");if(oh<0)throw new RangeError("sourceEnd out of bounds");oh>this.length&&(oh=this.length),Of.length-Nf>>0,Jf=Jf===void 0?this.length:Jf>>>0,Of||(Of=0);let xh;if(typeof Of=="number")for(xh=Nf;xh2**32?oh=Df(String(Nf)):typeof Nf=="bigint"&&(oh=String(Nf),(Nf>BigInt(2)**BigInt(32)||Nf<-(BigInt(2)**BigInt(32)))&&(oh=Df(oh)),oh+="n"),Jf+=` It must be ${Of}. Received ${oh}`,Jf},RangeError);function Df(nh){let Of="",Nf=nh.length;const Jf=nh[0]==="-"?1:0;for(;Nf>=Jf+4;Nf-=3)Of=`_${nh.slice(Nf-3,Nf)}${Of}`;return`${nh.slice(0,Nf)}${Of}`}function Xf(nh,Of,Nf){qf(Of,"offset"),(nh[Of]===void 0||nh[Of+Nf]===void 0)&&wf(Of,nh.length-(Nf+1))}function dh(nh,Of,Nf,Jf,oh,xh){if(nh>Nf||nh= 0${Oh} and < 2${Oh} ** ${(xh+1)*8}${Oh}`:Xh=`>= -(2${Oh} ** ${(xh+1)*8-1}${Oh}) and < 2 ** ${(xh+1)*8-1}${Oh}`,new Qf.ERR_OUT_OF_RANGE("value",Xh,nh)}Xf(Jf,oh,xh)}function qf(nh,Of){if(typeof nh!="number")throw new Qf.ERR_INVALID_ARG_TYPE(Of,"number",nh)}function wf(nh,Of,Nf){throw Math.floor(nh)!==nh?(qf(nh,Nf),new Qf.ERR_OUT_OF_RANGE("offset","an integer",nh)):Of<0?new Qf.ERR_BUFFER_OUT_OF_BOUNDS:new Qf.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${Of}`,nh)}const Rf=/[^+/0-9A-Za-z-_]/g;function jf(nh){if(nh=nh.split("=")[0],nh=nh.trim().replace(Rf,""),nh.length<2)return"";for(;nh.length%4!==0;)nh=nh+"=";return nh}function lh(nh,Of){Of=Of||1/0;let Nf;const Jf=nh.length;let oh=null;const xh=[];for(let Oh=0;Oh55295&&Nf<57344){if(!oh){if(Nf>56319){(Of-=3)>-1&&xh.push(239,191,189);continue}else if(Oh+1===Jf){(Of-=3)>-1&&xh.push(239,191,189);continue}oh=Nf;continue}if(Nf<56320){(Of-=3)>-1&&xh.push(239,191,189),oh=Nf;continue}Nf=(oh-55296<<10|Nf-56320)+65536}else oh&&(Of-=3)>-1&&xh.push(239,191,189);if(oh=null,Nf<128){if((Of-=1)<0)break;xh.push(Nf)}else if(Nf<2048){if((Of-=2)<0)break;xh.push(Nf>>6|192,Nf&63|128)}else if(Nf<65536){if((Of-=3)<0)break;xh.push(Nf>>12|224,Nf>>6&63|128,Nf&63|128)}else if(Nf<1114112){if((Of-=4)<0)break;xh.push(Nf>>18|240,Nf>>12&63|128,Nf>>6&63|128,Nf&63|128)}else throw new Error("Invalid code point")}return xh}function _h(nh){const Of=[];for(let Nf=0;Nf>8,oh=Nf%256,xh.push(oh),xh.push(Jf);return xh}function wh(nh){return qa.toByteArray(jf(nh))}function hh(nh,Of,Nf,Jf){let oh;for(oh=0;oh=Of.length||oh>=nh.length);++oh)Of[oh+Nf]=nh[oh];return oh}function Th(nh,Of){return nh instanceof Of||nh!=null&&nh.constructor!=null&&nh.constructor.name!=null&&nh.constructor.name===Of.name}function Vh(nh){return nh!==nh}const Bh=function(){const nh="0123456789abcdef",Of=new Array(256);for(let Nf=0;Nf<16;++Nf){const Jf=Nf*16;for(let oh=0;oh<16;++oh)Of[Jf+oh]=nh[Nf]+nh[oh]}return Of}();function Yh(nh){return typeof BigInt>"u"?dm:nh}function dm(){throw new Error("BigInt not supported")}})(buffer$1);const Buffer$2=buffer$1.Buffer;function cloneDeep(Ra){return cloneDeepImpl(Ra)}function cloneDeepImpl(Ra,qa=new Map){if(isPrimitive(Ra))return Ra;if(qa.has(Ra))return qa.get(Ra);if(Array.isArray(Ra)){const td=new Array(Ra.length);qa.set(Ra,td);for(let rd=0;rd0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(qa){this.children=qa}}class CDATA extends NodeWithChildren{constructor(){super(...arguments),this.type=ElementType.CDATA}get nodeType(){return 4}}class Document extends NodeWithChildren{constructor(){super(...arguments),this.type=ElementType.Root}get nodeType(){return 9}}let Element$1=class extends NodeWithChildren{constructor(qa,td,rd=[],nd=qa==="script"?ElementType.Script:qa==="style"?ElementType.Style:ElementType.Tag){super(rd),this.name=qa,this.attribs=td,this.type=nd}get nodeType(){return 1}get tagName(){return this.name}set tagName(qa){this.name=qa}get attributes(){return Object.keys(this.attribs).map(qa=>{var td,rd;return{name:qa,value:this.attribs[qa],namespace:(td=this["x-attribsNamespace"])===null||td===void 0?void 0:td[qa],prefix:(rd=this["x-attribsPrefix"])===null||rd===void 0?void 0:rd[qa]}})}};function isTag(Ra){return isTag$1(Ra)}function isCDATA(Ra){return Ra.type===ElementType.CDATA}function isText(Ra){return Ra.type===ElementType.Text}function isComment$1(Ra){return Ra.type===ElementType.Comment}function isDirective(Ra){return Ra.type===ElementType.Directive}function isDocument(Ra){return Ra.type===ElementType.Root}function hasChildren(Ra){return Object.prototype.hasOwnProperty.call(Ra,"children")}function cloneNode(Ra,qa=!1){let td;if(isText(Ra))td=new Text(Ra.data);else if(isComment$1(Ra))td=new Comment(Ra.data);else if(isTag(Ra)){const rd=qa?cloneChildren(Ra.children):[],nd=new Element$1(Ra.name,{...Ra.attribs},rd);rd.forEach(ad=>ad.parent=nd),Ra.namespace!=null&&(nd.namespace=Ra.namespace),Ra["x-attribsNamespace"]&&(nd["x-attribsNamespace"]={...Ra["x-attribsNamespace"]}),Ra["x-attribsPrefix"]&&(nd["x-attribsPrefix"]={...Ra["x-attribsPrefix"]}),td=nd}else if(isCDATA(Ra)){const rd=qa?cloneChildren(Ra.children):[],nd=new CDATA(rd);rd.forEach(ad=>ad.parent=nd),td=nd}else if(isDocument(Ra)){const rd=qa?cloneChildren(Ra.children):[],nd=new Document(rd);rd.forEach(ad=>ad.parent=nd),Ra["x-mode"]&&(nd["x-mode"]=Ra["x-mode"]),td=nd}else if(isDirective(Ra)){const rd=new ProcessingInstruction(Ra.name,Ra.data);Ra["x-name"]!=null&&(rd["x-name"]=Ra["x-name"],rd["x-publicId"]=Ra["x-publicId"],rd["x-systemId"]=Ra["x-systemId"]),td=rd}else throw new Error(`Not implemented yet: ${Ra.type}`);return td.startIndex=Ra.startIndex,td.endIndex=Ra.endIndex,Ra.sourceCodeLocation!=null&&(td.sourceCodeLocation=Ra.sourceCodeLocation),td}function cloneChildren(Ra){const qa=Ra.map(td=>cloneNode(td,!0));for(let td=1;td䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(Ra=>Ra.charCodeAt(0))),xmlDecodeTree=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(Ra=>Ra.charCodeAt(0)));var _a$3;const decodeMap=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),fromCodePoint=(_a$3=String.fromCodePoint)!==null&&_a$3!==void 0?_a$3:function(Ra){let qa="";return Ra>65535&&(Ra-=65536,qa+=String.fromCharCode(Ra>>>10&1023|55296),Ra=56320|Ra&1023),qa+=String.fromCharCode(Ra),qa};function replaceCodePoint(Ra){var qa;return Ra>=55296&&Ra<=57343||Ra>1114111?65533:(qa=decodeMap.get(Ra))!==null&&qa!==void 0?qa:Ra}var CharCodes$1;(function(Ra){Ra[Ra.NUM=35]="NUM",Ra[Ra.SEMI=59]="SEMI",Ra[Ra.EQUALS=61]="EQUALS",Ra[Ra.ZERO=48]="ZERO",Ra[Ra.NINE=57]="NINE",Ra[Ra.LOWER_A=97]="LOWER_A",Ra[Ra.LOWER_F=102]="LOWER_F",Ra[Ra.LOWER_X=120]="LOWER_X",Ra[Ra.LOWER_Z=122]="LOWER_Z",Ra[Ra.UPPER_A=65]="UPPER_A",Ra[Ra.UPPER_F=70]="UPPER_F",Ra[Ra.UPPER_Z=90]="UPPER_Z"})(CharCodes$1||(CharCodes$1={}));const TO_LOWER_BIT=32;var BinTrieFlags;(function(Ra){Ra[Ra.VALUE_LENGTH=49152]="VALUE_LENGTH",Ra[Ra.BRANCH_LENGTH=16256]="BRANCH_LENGTH",Ra[Ra.JUMP_TABLE=127]="JUMP_TABLE"})(BinTrieFlags||(BinTrieFlags={}));function isNumber$3(Ra){return Ra>=CharCodes$1.ZERO&&Ra<=CharCodes$1.NINE}function isHexadecimalCharacter(Ra){return Ra>=CharCodes$1.UPPER_A&&Ra<=CharCodes$1.UPPER_F||Ra>=CharCodes$1.LOWER_A&&Ra<=CharCodes$1.LOWER_F}function isAsciiAlphaNumeric$1(Ra){return Ra>=CharCodes$1.UPPER_A&&Ra<=CharCodes$1.UPPER_Z||Ra>=CharCodes$1.LOWER_A&&Ra<=CharCodes$1.LOWER_Z||isNumber$3(Ra)}function isEntityInAttributeInvalidEnd$1(Ra){return Ra===CharCodes$1.EQUALS||isAsciiAlphaNumeric$1(Ra)}var EntityDecoderState;(function(Ra){Ra[Ra.EntityStart=0]="EntityStart",Ra[Ra.NumericStart=1]="NumericStart",Ra[Ra.NumericDecimal=2]="NumericDecimal",Ra[Ra.NumericHex=3]="NumericHex",Ra[Ra.NamedEntity=4]="NamedEntity"})(EntityDecoderState||(EntityDecoderState={}));var DecodingMode;(function(Ra){Ra[Ra.Legacy=0]="Legacy",Ra[Ra.Strict=1]="Strict",Ra[Ra.Attribute=2]="Attribute"})(DecodingMode||(DecodingMode={}));class EntityDecoder{constructor(qa,td,rd){this.decodeTree=qa,this.emitCodePoint=td,this.errors=rd,this.state=EntityDecoderState.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=DecodingMode.Strict}startEntity(qa){this.decodeMode=qa,this.state=EntityDecoderState.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(qa,td){switch(this.state){case EntityDecoderState.EntityStart:return qa.charCodeAt(td)===CharCodes$1.NUM?(this.state=EntityDecoderState.NumericStart,this.consumed+=1,this.stateNumericStart(qa,td+1)):(this.state=EntityDecoderState.NamedEntity,this.stateNamedEntity(qa,td));case EntityDecoderState.NumericStart:return this.stateNumericStart(qa,td);case EntityDecoderState.NumericDecimal:return this.stateNumericDecimal(qa,td);case EntityDecoderState.NumericHex:return this.stateNumericHex(qa,td);case EntityDecoderState.NamedEntity:return this.stateNamedEntity(qa,td)}}stateNumericStart(qa,td){return td>=qa.length?-1:(qa.charCodeAt(td)|TO_LOWER_BIT)===CharCodes$1.LOWER_X?(this.state=EntityDecoderState.NumericHex,this.consumed+=1,this.stateNumericHex(qa,td+1)):(this.state=EntityDecoderState.NumericDecimal,this.stateNumericDecimal(qa,td))}addToNumericResult(qa,td,rd,nd){if(td!==rd){const ad=rd-td;this.result=this.result*Math.pow(nd,ad)+parseInt(qa.substr(td,ad),nd),this.consumed+=ad}}stateNumericHex(qa,td){const rd=td;for(;td>14;for(;td>14,ad!==0){if(sd===CharCodes$1.SEMI)return this.emitNamedEntityData(this.treeIndex,ad,this.consumed+this.excess);this.decodeMode!==DecodingMode.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var qa;const{result:td,decodeTree:rd}=this,nd=(rd[td]&BinTrieFlags.VALUE_LENGTH)>>14;return this.emitNamedEntityData(td,nd,this.consumed),(qa=this.errors)===null||qa===void 0||qa.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(qa,td,rd){const{decodeTree:nd}=this;return this.emitCodePoint(td===1?nd[qa]&~BinTrieFlags.VALUE_LENGTH:nd[qa+1],rd),td===3&&this.emitCodePoint(nd[qa+2],rd),rd}end(){var qa;switch(this.state){case EntityDecoderState.NamedEntity:return this.result!==0&&(this.decodeMode!==DecodingMode.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case EntityDecoderState.NumericDecimal:return this.emitNumericEntity(0,2);case EntityDecoderState.NumericHex:return this.emitNumericEntity(0,3);case EntityDecoderState.NumericStart:return(qa=this.errors)===null||qa===void 0||qa.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case EntityDecoderState.EntityStart:return 0}}}function getDecoder(Ra){let qa="";const td=new EntityDecoder(Ra,rd=>qa+=fromCodePoint(rd));return function(nd,ad){let sd=0,ud=0;for(;(ud=nd.indexOf("&",ud))>=0;){qa+=nd.slice(sd,ud),td.startEntity(ad);const dd=td.write(nd,ud+1);if(dd<0){sd=ud+td.end();break}sd=ud+dd,ud=dd===0?sd+1:sd}const cd=qa+nd.slice(sd);return qa="",cd}}function determineBranch(Ra,qa,td,rd){const nd=(qa&BinTrieFlags.BRANCH_LENGTH)>>7,ad=qa&BinTrieFlags.JUMP_TABLE;if(nd===0)return ad!==0&&rd===ad?td:-1;if(ad){const cd=rd-ad;return cd<0||cd>=nd?-1:Ra[td+cd]-1}let sd=td,ud=sd+nd-1;for(;sd<=ud;){const cd=sd+ud>>>1,dd=Ra[cd];if(ddrd)ud=cd-1;else return Ra[cd+nd]}return-1}getDecoder(htmlDecodeTree);getDecoder(xmlDecodeTree);const xmlReplacer=/["&'<>$\x80-\uFFFF]/g,xmlCodeMap=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),getCodePoint=String.prototype.codePointAt!=null?(Ra,qa)=>Ra.codePointAt(qa):(Ra,qa)=>(Ra.charCodeAt(qa)&64512)===55296?(Ra.charCodeAt(qa)-55296)*1024+Ra.charCodeAt(qa+1)-56320+65536:Ra.charCodeAt(qa);function encodeXML(Ra){let qa="",td=0,rd;for(;(rd=xmlReplacer.exec(Ra))!==null;){const nd=rd.index,ad=Ra.charCodeAt(nd),sd=xmlCodeMap.get(ad);sd!==void 0?(qa+=Ra.substring(td,nd)+sd,td=nd+1):(qa+=`${Ra.substring(td,nd)}&#x${getCodePoint(Ra,nd).toString(16)};`,td=xmlReplacer.lastIndex+=+((ad&64512)===55296))}return qa+Ra.substr(td)}function getEscaper(Ra,qa){return function(rd){let nd,ad=0,sd="";for(;nd=Ra.exec(rd);)ad!==nd.index&&(sd+=rd.substring(ad,nd.index)),sd+=qa.get(nd[0].charCodeAt(0)),ad=nd.index+1;return sd+rd.substring(ad)}}const escapeAttribute=getEscaper(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),escapeText=getEscaper(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(Ra=>[Ra.toLowerCase(),Ra])),attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(Ra=>[Ra.toLowerCase(),Ra])),unencodedElements=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function replaceQuotes(Ra){return Ra.replace(/"/g,""")}function formatAttributes(Ra,qa){var td;if(!Ra)return;const rd=((td=qa.encodeEntities)!==null&&td!==void 0?td:qa.decodeEntities)===!1?replaceQuotes:qa.xmlMode||qa.encodeEntities!=="utf8"?encodeXML:escapeAttribute;return Object.keys(Ra).map(nd=>{var ad,sd;const ud=(ad=Ra[nd])!==null&&ad!==void 0?ad:"";return qa.xmlMode==="foreign"&&(nd=(sd=attributeNames.get(nd))!==null&&sd!==void 0?sd:nd),!qa.emptyAttrs&&!qa.xmlMode&&ud===""?nd:`${nd}="${rd(ud)}"`}).join(" ")}const singleTag=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function render$3(Ra,qa={}){const td="length"in Ra?Ra:[Ra];let rd="";for(let nd=0;nd0&&(rd+=render$3(Ra.children,qa)),(qa.xmlMode||!singleTag.has(Ra.name))&&(rd+=``)),rd}function renderDirective(Ra){return`<${Ra.data}>`}function renderText(Ra,qa){var td;let rd=Ra.data||"";return((td=qa.encodeEntities)!==null&&td!==void 0?td:qa.decodeEntities)!==!1&&!(!qa.xmlMode&&Ra.parent&&unencodedElements.has(Ra.parent.name))&&(rd=qa.xmlMode||qa.encodeEntities!=="utf8"?encodeXML(rd):escapeText(rd)),rd}function renderCdata(Ra){return``}function renderComment(Ra){return``}function getOuterHTML(Ra,qa){return render$3(Ra,qa)}function getInnerHTML(Ra,qa){return hasChildren(Ra)?Ra.children.map(td=>getOuterHTML(td,qa)).join(""):""}function getText(Ra){return Array.isArray(Ra)?Ra.map(getText).join(""):isTag(Ra)?Ra.name==="br"?` +`:getText(Ra.children):isCDATA(Ra)?getText(Ra.children):isText(Ra)?Ra.data:""}function textContent(Ra){return Array.isArray(Ra)?Ra.map(textContent).join(""):hasChildren(Ra)&&!isComment$1(Ra)?textContent(Ra.children):isText(Ra)?Ra.data:""}function innerText(Ra){return Array.isArray(Ra)?Ra.map(innerText).join(""):hasChildren(Ra)&&(Ra.type===ElementType.Tag||isCDATA(Ra))?innerText(Ra.children):isText(Ra)?Ra.data:""}function getChildren(Ra){return hasChildren(Ra)?Ra.children:[]}function getParent(Ra){return Ra.parent||null}function getSiblings(Ra){const qa=getParent(Ra);if(qa!=null)return getChildren(qa);const td=[Ra];let{prev:rd,next:nd}=Ra;for(;rd!=null;)td.unshift(rd),{prev:rd}=rd;for(;nd!=null;)td.push(nd),{next:nd}=nd;return td}function getAttributeValue(Ra,qa){var td;return(td=Ra.attribs)===null||td===void 0?void 0:td[qa]}function hasAttrib(Ra,qa){return Ra.attribs!=null&&Object.prototype.hasOwnProperty.call(Ra.attribs,qa)&&Ra.attribs[qa]!=null}function getName(Ra){return Ra.name}function nextElementSibling(Ra){let{next:qa}=Ra;for(;qa!==null&&!isTag(qa);)({next:qa}=qa);return qa}function prevElementSibling(Ra){let{prev:qa}=Ra;for(;qa!==null&&!isTag(qa);)({prev:qa}=qa);return qa}function removeElement(Ra){if(Ra.prev&&(Ra.prev.next=Ra.next),Ra.next&&(Ra.next.prev=Ra.prev),Ra.parent){const qa=Ra.parent.children,td=qa.lastIndexOf(Ra);td>=0&&qa.splice(td,1)}Ra.next=null,Ra.prev=null,Ra.parent=null}function replaceElement(Ra,qa){const td=qa.prev=Ra.prev;td&&(td.next=qa);const rd=qa.next=Ra.next;rd&&(rd.prev=qa);const nd=qa.parent=Ra.parent;if(nd){const ad=nd.children;ad[ad.lastIndexOf(Ra)]=qa,Ra.parent=null}}function appendChild(Ra,qa){if(removeElement(qa),qa.next=null,qa.parent=Ra,Ra.children.push(qa)>1){const td=Ra.children[Ra.children.length-2];td.next=qa,qa.prev=td}else qa.prev=null}function append$3(Ra,qa){removeElement(qa);const{parent:td}=Ra,rd=Ra.next;if(qa.next=rd,qa.prev=Ra,Ra.next=qa,qa.parent=td,rd){if(rd.prev=qa,td){const nd=td.children;nd.splice(nd.lastIndexOf(rd),0,qa)}}else td&&td.children.push(qa)}function prependChild(Ra,qa){if(removeElement(qa),qa.parent=Ra,qa.prev=null,Ra.children.unshift(qa)!==1){const td=Ra.children[1];td.prev=qa,qa.next=td}else qa.next=null}function prepend$1(Ra,qa){removeElement(qa);const{parent:td}=Ra;if(td){const rd=td.children;rd.splice(rd.indexOf(Ra),0,qa)}Ra.prev&&(Ra.prev.next=qa),qa.parent=td,qa.prev=Ra.prev,qa.next=Ra,Ra.prev=qa}function filter$5(Ra,qa,td=!0,rd=1/0){return find$3(Ra,Array.isArray(qa)?qa:[qa],td,rd)}function find$3(Ra,qa,td,rd){const nd=[],ad=[qa],sd=[0];for(;;){if(sd[0]>=ad[0].length){if(sd.length===1)return nd;ad.shift(),sd.shift();continue}const ud=ad[0][sd[0]++];if(Ra(ud)&&(nd.push(ud),--rd<=0))return nd;td&&hasChildren(ud)&&ud.children.length>0&&(sd.unshift(0),ad.unshift(ud.children))}}function findOneChild(Ra,qa){return qa.find(Ra)}function findOne(Ra,qa,td=!0){let rd=null;for(let nd=0;nd0&&(rd=findOne(Ra,ad.children,!0));else continue}return rd}function existsOne(Ra,qa){return qa.some(td=>isTag(td)&&(Ra(td)||existsOne(Ra,td.children)))}function findAll(Ra,qa){const td=[],rd=[qa],nd=[0];for(;;){if(nd[0]>=rd[0].length){if(rd.length===1)return td;rd.shift(),nd.shift();continue}const ad=rd[0][nd[0]++];isTag(ad)&&(Ra(ad)&&td.push(ad),ad.children.length>0&&(nd.unshift(0),rd.unshift(ad.children)))}}const Checks={tag_name(Ra){return typeof Ra=="function"?qa=>isTag(qa)&&Ra(qa.name):Ra==="*"?isTag:qa=>isTag(qa)&&qa.name===Ra},tag_type(Ra){return typeof Ra=="function"?qa=>Ra(qa.type):qa=>qa.type===Ra},tag_contains(Ra){return typeof Ra=="function"?qa=>isText(qa)&&Ra(qa.data):qa=>isText(qa)&&qa.data===Ra}};function getAttribCheck(Ra,qa){return typeof qa=="function"?td=>isTag(td)&&qa(td.attribs[Ra]):td=>isTag(td)&&td.attribs[Ra]===qa}function combineFuncs(Ra,qa){return td=>Ra(td)||qa(td)}function compileTest(Ra){const qa=Object.keys(Ra).map(td=>{const rd=Ra[td];return Object.prototype.hasOwnProperty.call(Checks,td)?Checks[td](rd):getAttribCheck(td,rd)});return qa.length===0?null:qa.reduce(combineFuncs)}function testElement(Ra,qa){const td=compileTest(Ra);return td?td(qa):!0}function getElements(Ra,qa,td,rd=1/0){const nd=compileTest(Ra);return nd?filter$5(nd,qa,td,rd):[]}function getElementById(Ra,qa,td=!0){return Array.isArray(qa)||(qa=[qa]),findOne(getAttribCheck("id",Ra),qa,td)}function getElementsByTagName(Ra,qa,td=!0,rd=1/0){return filter$5(Checks.tag_name(Ra),qa,td,rd)}function getElementsByTagType(Ra,qa,td=!0,rd=1/0){return filter$5(Checks.tag_type(Ra),qa,td,rd)}function removeSubsets(Ra){let qa=Ra.length;for(;--qa>=0;){const td=Ra[qa];if(qa>0&&Ra.lastIndexOf(td,qa-1)>=0){Ra.splice(qa,1);continue}for(let rd=td.parent;rd;rd=rd.parent)if(Ra.includes(rd)){Ra.splice(qa,1);break}}return Ra}var DocumentPosition$1;(function(Ra){Ra[Ra.DISCONNECTED=1]="DISCONNECTED",Ra[Ra.PRECEDING=2]="PRECEDING",Ra[Ra.FOLLOWING=4]="FOLLOWING",Ra[Ra.CONTAINS=8]="CONTAINS",Ra[Ra.CONTAINED_BY=16]="CONTAINED_BY"})(DocumentPosition$1||(DocumentPosition$1={}));function compareDocumentPosition(Ra,qa){const td=[],rd=[];if(Ra===qa)return 0;let nd=hasChildren(Ra)?Ra:Ra.parent;for(;nd;)td.unshift(nd),nd=nd.parent;for(nd=hasChildren(qa)?qa:qa.parent;nd;)rd.unshift(nd),nd=nd.parent;const ad=Math.min(td.length,rd.length);let sd=0;for(;sdcd.indexOf(pd)?ud===qa?DocumentPosition$1.FOLLOWING|DocumentPosition$1.CONTAINED_BY:DocumentPosition$1.FOLLOWING:ud===Ra?DocumentPosition$1.PRECEDING|DocumentPosition$1.CONTAINS:DocumentPosition$1.PRECEDING}function uniqueSort(Ra){return Ra=Ra.filter((qa,td,rd)=>!rd.includes(qa,td+1)),Ra.sort((qa,td)=>{const rd=compareDocumentPosition(qa,td);return rd&DocumentPosition$1.PRECEDING?-1:rd&DocumentPosition$1.FOLLOWING?1:0}),Ra}function getFeed(Ra){const qa=getOneElement(isValidFeed,Ra);return qa?qa.name==="feed"?getAtomFeed(qa):getRssFeed(qa):null}function getAtomFeed(Ra){var qa;const td=Ra.children,rd={type:"atom",items:getElementsByTagName("entry",td).map(sd=>{var ud;const{children:cd}=sd,dd={media:getMediaElements(cd)};addConditionally(dd,"id","id",cd),addConditionally(dd,"title","title",cd);const pd=(ud=getOneElement("link",cd))===null||ud===void 0?void 0:ud.attribs.href;pd&&(dd.link=pd);const fd=fetch$1("summary",cd)||fetch$1("content",cd);fd&&(dd.description=fd);const Td=fetch$1("updated",cd);return Td&&(dd.pubDate=new Date(Td)),dd})};addConditionally(rd,"id","id",td),addConditionally(rd,"title","title",td);const nd=(qa=getOneElement("link",td))===null||qa===void 0?void 0:qa.attribs.href;nd&&(rd.link=nd),addConditionally(rd,"description","subtitle",td);const ad=fetch$1("updated",td);return ad&&(rd.updated=new Date(ad)),addConditionally(rd,"author","email",td,!0),rd}function getRssFeed(Ra){var qa,td;const rd=(td=(qa=getOneElement("channel",Ra.children))===null||qa===void 0?void 0:qa.children)!==null&&td!==void 0?td:[],nd={type:Ra.name.substr(0,3),id:"",items:getElementsByTagName("item",Ra.children).map(sd=>{const{children:ud}=sd,cd={media:getMediaElements(ud)};addConditionally(cd,"id","guid",ud),addConditionally(cd,"title","title",ud),addConditionally(cd,"link","link",ud),addConditionally(cd,"description","description",ud);const dd=fetch$1("pubDate",ud)||fetch$1("dc:date",ud);return dd&&(cd.pubDate=new Date(dd)),cd})};addConditionally(nd,"title","title",rd),addConditionally(nd,"link","link",rd),addConditionally(nd,"description","description",rd);const ad=fetch$1("lastBuildDate",rd);return ad&&(nd.updated=new Date(ad)),addConditionally(nd,"author","managingEditor",rd,!0),nd}const MEDIA_KEYS_STRING=["url","type","lang"],MEDIA_KEYS_INT=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function getMediaElements(Ra){return getElementsByTagName("media:content",Ra).map(qa=>{const{attribs:td}=qa,rd={medium:td.medium,isDefault:!!td.isDefault};for(const nd of MEDIA_KEYS_STRING)td[nd]&&(rd[nd]=td[nd]);for(const nd of MEDIA_KEYS_INT)td[nd]&&(rd[nd]=parseInt(td[nd],10));return td.expression&&(rd.expression=td.expression),rd})}function getOneElement(Ra,qa){return getElementsByTagName(Ra,qa,!0,1)[0]}function fetch$1(Ra,qa,td=!1){return textContent(getElementsByTagName(Ra,qa,td,1)).trim()}function addConditionally(Ra,qa,td,rd,nd=!1){const ad=fetch$1(td,rd,nd);ad&&(Ra[qa]=ad)}function isValidFeed(Ra){return Ra==="rss"||Ra==="feed"||Ra==="rdf:RDF"}const DomUtils=Object.freeze(Object.defineProperty({__proto__:null,get DocumentPosition(){return DocumentPosition$1},append:append$3,appendChild,compareDocumentPosition,existsOne,filter:filter$5,find:find$3,findAll,findOne,findOneChild,getAttributeValue,getChildren,getElementById,getElements,getElementsByTagName,getElementsByTagType,getFeed,getInnerHTML,getName,getOuterHTML,getParent,getSiblings,getText,hasAttrib,hasChildren,innerText,isCDATA,isComment:isComment$1,isDocument,isTag,isText,nextElementSibling,prepend:prepend$1,prependChild,prevElementSibling,removeElement,removeSubsets,replaceElement,testElement,textContent,uniqueSort},Symbol.toStringTag,{value:"Module"})),defaultOpts$1={_useHtmlParser2:!1};function flattenOptions(Ra,qa){if(!Ra)return qa??defaultOpts$1;const td={_useHtmlParser2:!!Ra.xmlMode,...qa,...Ra};return Ra.xml?(td._useHtmlParser2=!0,td.xmlMode=!0,Ra.xml!==!0&&Object.assign(td,Ra.xml)):Ra.xmlMode&&(td._useHtmlParser2=!0),td}function render$2(Ra,qa,td){return Ra?Ra(qa??Ra._root.children,null,void 0,td).toString():""}function isOptions(Ra,qa){return typeof Ra=="object"&&Ra!=null&&!("length"in Ra)&&!("type"in Ra)}function html$5(Ra,qa){const td=isOptions(Ra)?(qa=Ra,void 0):Ra,rd={...this===null||this===void 0?void 0:this._options,...flattenOptions(qa)};return render$2(this,td,rd)}function xml$4(Ra){const qa={...this._options,xmlMode:!0};return render$2(this,Ra,qa)}function text$2(Ra){const qa=Ra??(this?this.root():[]);let td="";for(let rd=0;rdtd.toUpperCase())}function cssCase(Ra){return Ra.replace(/[A-Z]/g,"-$&").toLowerCase()}function domEach(Ra,qa){const td=Ra.length;for(let rd=0;rdRa.length-3)return!1;const td=Ra.charCodeAt(qa+1);return(td>=CharacterCodes.LowerA&&td<=CharacterCodes.LowerZ||td>=CharacterCodes.UpperA&&td<=CharacterCodes.UpperZ||td===CharacterCodes.Exclamation)&&Ra.includes(">",qa+2)}const hasOwn$1=Object.prototype.hasOwnProperty,rspace=/\s+/,dataAttrPrefix="data-",rboolean=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,rbrace=/^{[^]*}$|^\[[^]*]$/;function getAttr(Ra,qa,td){var rd;if(!(!Ra||!isTag(Ra))){if((rd=Ra.attribs)!==null&&rd!==void 0||(Ra.attribs={}),!qa)return Ra.attribs;if(hasOwn$1.call(Ra.attribs,qa))return!td&&rboolean.test(qa)?qa:Ra.attribs[qa];if(Ra.name==="option"&&qa==="value")return text$2(Ra.children);if(Ra.name==="input"&&(Ra.attribs.type==="radio"||Ra.attribs.type==="checkbox")&&qa==="value")return"on"}}function setAttr(Ra,qa,td){td===null?removeAttribute(Ra,qa):Ra.attribs[qa]=`${td}`}function attr(Ra,qa){if(typeof Ra=="object"||qa!==void 0){if(typeof qa=="function"){if(typeof Ra!="string")throw new Error("Bad combination of arguments.");return domEach(this,(td,rd)=>{isTag(td)&&setAttr(td,Ra,qa.call(td,rd,td.attribs[Ra]))})}return domEach(this,td=>{if(isTag(td))if(typeof Ra=="object")for(const rd of Object.keys(Ra)){const nd=Ra[rd];setAttr(td,rd,nd)}else setAttr(td,Ra,qa)})}return arguments.length>1?this:getAttr(this[0],Ra,this.options.xmlMode)}function getProp(Ra,qa,td){return qa in Ra?Ra[qa]:!td&&rboolean.test(qa)?getAttr(Ra,qa,!1)!==void 0:getAttr(Ra,qa,td)}function setProp(Ra,qa,td,rd){qa in Ra?Ra[qa]=td:setAttr(Ra,qa,!rd&&rboolean.test(qa)?td?"":null:`${td}`)}function prop(Ra,qa){var td;if(typeof Ra=="string"&&qa===void 0){const rd=this[0];if(!rd||!isTag(rd))return;switch(Ra){case"style":{const nd=this.css(),ad=Object.keys(nd);for(let sd=0;sd").parent().html();case"innerHTML":return this.html();default:return getProp(rd,Ra,this.options.xmlMode)}}if(typeof Ra=="object"||qa!==void 0){if(typeof qa=="function"){if(typeof Ra=="object")throw new TypeError("Bad combination of arguments.");return domEach(this,(rd,nd)=>{isTag(rd)&&setProp(rd,Ra,qa.call(rd,nd,getProp(rd,Ra,this.options.xmlMode)),this.options.xmlMode)})}return domEach(this,rd=>{if(isTag(rd))if(typeof Ra=="object")for(const nd of Object.keys(Ra)){const ad=Ra[nd];setProp(rd,nd,ad,this.options.xmlMode)}else setProp(rd,Ra,qa,this.options.xmlMode)})}}function setData(Ra,qa,td){var rd;(rd=Ra.data)!==null&&rd!==void 0||(Ra.data={}),typeof qa=="object"?Object.assign(Ra.data,qa):typeof qa=="string"&&td!==void 0&&(Ra.data[qa]=td)}function readAllData(Ra){for(const qa of Object.keys(Ra.attribs)){if(!qa.startsWith(dataAttrPrefix))continue;const td=camelCase(qa.slice(dataAttrPrefix.length));hasOwn$1.call(Ra.data,td)||(Ra.data[td]=parseDataValue(Ra.attribs[qa]))}return Ra.data}function readData(Ra,qa){const td=dataAttrPrefix+cssCase(qa),rd=Ra.data;if(hasOwn$1.call(rd,qa))return rd[qa];if(hasOwn$1.call(Ra.attribs,td))return rd[qa]=parseDataValue(Ra.attribs[td])}function parseDataValue(Ra){if(Ra==="null")return null;if(Ra==="true")return!0;if(Ra==="false")return!1;const qa=Number(Ra);if(Ra===String(qa))return qa;if(rbrace.test(Ra))try{return JSON.parse(Ra)}catch{}return Ra}function data(Ra,qa){var td;const rd=this[0];if(!rd||!isTag(rd))return;const nd=rd;return(td=nd.data)!==null&&td!==void 0||(nd.data={}),Ra==null?readAllData(nd):typeof Ra=="object"||qa!==void 0?(domEach(this,ad=>{isTag(ad)&&(typeof Ra=="object"?setData(ad,Ra):setData(ad,Ra,qa))}),this):readData(nd,Ra)}function val$1(Ra){const qa=arguments.length===0,td=this[0];if(!td||!isTag(td))return qa?void 0:this;switch(td.name){case"textarea":return this.text(Ra);case"select":{const rd=this.find("option:selected");if(!qa){if(this.attr("multiple")==null&&typeof Ra=="object")return this;this.find("option").removeAttr("selected");const nd=typeof Ra=="object"?Ra:[Ra];for(const ad of nd)this.find(`option[value="${ad}"]`).attr("selected","");return this}return this.attr("multiple")?rd.toArray().map(nd=>text$2(nd.children)):rd.attr("value")}case"input":case"option":return qa?this.attr("value"):this.attr("value",Ra)}}function removeAttribute(Ra,qa){!Ra.attribs||!hasOwn$1.call(Ra.attribs,qa)||delete Ra.attribs[qa]}function splitNames(Ra){return Ra?Ra.trim().split(rspace):[]}function removeAttr(Ra){const qa=splitNames(Ra);for(const td of qa)domEach(this,rd=>{isTag(rd)&&removeAttribute(rd,td)});return this}function hasClass(Ra){return this.toArray().some(qa=>{const td=isTag(qa)&&qa.attribs.class;let rd=-1;if(td&&Ra.length>0)for(;(rd=td.indexOf(Ra,rd+1))>-1;){const nd=rd+Ra.length;if((rd===0||rspace.test(td[rd-1]))&&(nd===td.length||rspace.test(td[nd])))return!0}return!1})}function addClass(Ra){if(typeof Ra=="function")return domEach(this,(rd,nd)=>{if(isTag(rd)){const ad=rd.attribs.class||"";addClass.call([rd],Ra.call(rd,nd,ad))}});if(!Ra||typeof Ra!="string")return this;const qa=Ra.split(rspace),td=this.length;for(let rd=0;rd{isTag(nd)&&removeClass.call([nd],Ra.call(nd,ad,nd.attribs.class||""))});const qa=splitNames(Ra),td=qa.length,rd=arguments.length===0;return domEach(this,nd=>{if(isTag(nd))if(rd)nd.attribs.class="";else{const ad=splitNames(nd.attribs.class);let sd=!1;for(let ud=0;ud=0&&(ad.splice(cd,1),sd=!0,ud--)}sd&&(nd.attribs.class=ad.join(" "))}})}function toggleClass(Ra,qa){if(typeof Ra=="function")return domEach(this,(sd,ud)=>{isTag(sd)&&toggleClass.call([sd],Ra.call(sd,ud,sd.attribs.class||"",qa),qa)});if(!Ra||typeof Ra!="string")return this;const td=Ra.split(rspace),rd=td.length,nd=typeof qa=="boolean"?qa?1:-1:0,ad=this.length;for(let sd=0;sd=0&&pd<0?cd.push(td[dd]):nd<=0&&pd>=0&&cd.splice(pd,1)}ud.attribs.class=cd.join(" ")}return this}const Attributes=Object.freeze(Object.defineProperty({__proto__:null,addClass,attr,data,hasClass,prop,removeAttr,removeClass,toggleClass,val:val$1},Symbol.toStringTag,{value:"Module"}));var SelectorType;(function(Ra){Ra.Attribute="attribute",Ra.Pseudo="pseudo",Ra.PseudoElement="pseudo-element",Ra.Tag="tag",Ra.Universal="universal",Ra.Adjacent="adjacent",Ra.Child="child",Ra.Descendant="descendant",Ra.Parent="parent",Ra.Sibling="sibling",Ra.ColumnCombinator="column-combinator"})(SelectorType||(SelectorType={}));var AttributeAction;(function(Ra){Ra.Any="any",Ra.Element="element",Ra.End="end",Ra.Equals="equals",Ra.Exists="exists",Ra.Hyphen="hyphen",Ra.Not="not",Ra.Start="start"})(AttributeAction||(AttributeAction={}));const reName=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,reEscape=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,actionTypes=new Map([[126,AttributeAction.Element],[94,AttributeAction.Start],[36,AttributeAction.End],[42,AttributeAction.Any],[33,AttributeAction.Not],[124,AttributeAction.Hyphen]]),unpackPseudos=new Set(["has","not","matches","is","where","host","host-context"]);function isTraversal$1(Ra){switch(Ra.type){case SelectorType.Adjacent:case SelectorType.Child:case SelectorType.Descendant:case SelectorType.Parent:case SelectorType.Sibling:case SelectorType.ColumnCombinator:return!0;default:return!1}}const stripQuotesFromPseudos=new Set(["contains","icontains"]);function funescape(Ra,qa,td){const rd=parseInt(qa,16)-65536;return rd!==rd||td?qa:rd<0?String.fromCharCode(rd+65536):String.fromCharCode(rd>>10|55296,rd&1023|56320)}function unescapeCSS(Ra){return Ra.replace(reEscape,funescape)}function isQuote(Ra){return Ra===39||Ra===34}function isWhitespace$3(Ra){return Ra===32||Ra===9||Ra===10||Ra===12||Ra===13}function parse$7(Ra){const qa=[],td=parseSelector(qa,`${Ra}`,0);if(td0&&td0&&isTraversal$1(rd[rd.length-1]))throw new Error("Did not expect successive traversals.")}function dd(Td){if(rd.length>0&&rd[rd.length-1].type===SelectorType.Descendant){rd[rd.length-1].type=Td;return}cd(),rd.push({type:Td})}function pd(Td,Ad){rd.push({type:SelectorType.Attribute,name:Td,action:Ad,value:nd(1),namespace:null,ignoreCase:"quirks"})}function fd(){if(rd.length&&rd[rd.length-1].type===SelectorType.Descendant&&rd.pop(),rd.length===0)throw new Error("Empty sub-selector");Ra.push(rd)}if(ad(0),qa.length===td)return td;e:for(;td=0&&rd>=1)):Ra.type===SelectorType.Pseudo&&(Ra.data?Ra.name==="has"||Ra.name==="contains"?rd=0:Array.isArray(Ra.data)?(rd=Math.min(...Ra.data.map(nd=>Math.min(...nd.map(getProcedure)))),rd<0&&(rd=0)):rd=2:rd=3),rd}const reChars=/[-[\]{}()*+?.,\\^$|#\s]/g;function escapeRegex(Ra){return Ra.replace(reChars,"\\$&")}const caseInsensitiveAttributes=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function shouldIgnoreCase(Ra,qa){return typeof Ra.ignoreCase=="boolean"?Ra.ignoreCase:Ra.ignoreCase==="quirks"?!!qa.quirksMode:!qa.xmlMode&&caseInsensitiveAttributes.has(Ra.name)}const attributeRules={equals(Ra,qa,td){const{adapter:rd}=td,{name:nd}=qa;let{value:ad}=qa;return shouldIgnoreCase(qa,td)?(ad=ad.toLowerCase(),sd=>{const ud=rd.getAttributeValue(sd,nd);return ud!=null&&ud.length===ad.length&&ud.toLowerCase()===ad&&Ra(sd)}):sd=>rd.getAttributeValue(sd,nd)===ad&&Ra(sd)},hyphen(Ra,qa,td){const{adapter:rd}=td,{name:nd}=qa;let{value:ad}=qa;const sd=ad.length;return shouldIgnoreCase(qa,td)?(ad=ad.toLowerCase(),function(cd){const dd=rd.getAttributeValue(cd,nd);return dd!=null&&(dd.length===sd||dd.charAt(sd)==="-")&&dd.substr(0,sd).toLowerCase()===ad&&Ra(cd)}):function(cd){const dd=rd.getAttributeValue(cd,nd);return dd!=null&&(dd.length===sd||dd.charAt(sd)==="-")&&dd.substr(0,sd)===ad&&Ra(cd)}},element(Ra,qa,td){const{adapter:rd}=td,{name:nd,value:ad}=qa;if(/\s/.test(ad))return boolbase$1.falseFunc;const sd=new RegExp(`(?:^|\\s)${escapeRegex(ad)}(?:$|\\s)`,shouldIgnoreCase(qa,td)?"i":"");return function(cd){const dd=rd.getAttributeValue(cd,nd);return dd!=null&&dd.length>=ad.length&&sd.test(dd)&&Ra(cd)}},exists(Ra,{name:qa},{adapter:td}){return rd=>td.hasAttrib(rd,qa)&&Ra(rd)},start(Ra,qa,td){const{adapter:rd}=td,{name:nd}=qa;let{value:ad}=qa;const sd=ad.length;return sd===0?boolbase$1.falseFunc:shouldIgnoreCase(qa,td)?(ad=ad.toLowerCase(),ud=>{const cd=rd.getAttributeValue(ud,nd);return cd!=null&&cd.length>=sd&&cd.substr(0,sd).toLowerCase()===ad&&Ra(ud)}):ud=>{var cd;return!!(!((cd=rd.getAttributeValue(ud,nd))===null||cd===void 0)&&cd.startsWith(ad))&&Ra(ud)}},end(Ra,qa,td){const{adapter:rd}=td,{name:nd}=qa;let{value:ad}=qa;const sd=-ad.length;return sd===0?boolbase$1.falseFunc:shouldIgnoreCase(qa,td)?(ad=ad.toLowerCase(),ud=>{var cd;return((cd=rd.getAttributeValue(ud,nd))===null||cd===void 0?void 0:cd.substr(sd).toLowerCase())===ad&&Ra(ud)}):ud=>{var cd;return!!(!((cd=rd.getAttributeValue(ud,nd))===null||cd===void 0)&&cd.endsWith(ad))&&Ra(ud)}},any(Ra,qa,td){const{adapter:rd}=td,{name:nd,value:ad}=qa;if(ad==="")return boolbase$1.falseFunc;if(shouldIgnoreCase(qa,td)){const sd=new RegExp(escapeRegex(ad),"i");return function(cd){const dd=rd.getAttributeValue(cd,nd);return dd!=null&&dd.length>=ad.length&&sd.test(dd)&&Ra(cd)}}return sd=>{var ud;return!!(!((ud=rd.getAttributeValue(sd,nd))===null||ud===void 0)&&ud.includes(ad))&&Ra(sd)}},not(Ra,qa,td){const{adapter:rd}=td,{name:nd}=qa;let{value:ad}=qa;return ad===""?sd=>!!rd.getAttributeValue(sd,nd)&&Ra(sd):shouldIgnoreCase(qa,td)?(ad=ad.toLowerCase(),sd=>{const ud=rd.getAttributeValue(sd,nd);return(ud==null||ud.length!==ad.length||ud.toLowerCase()!==ad)&&Ra(sd)}):sd=>rd.getAttributeValue(sd,nd)!==ad&&Ra(sd)}},whitespace$1=new Set([9,10,12,13,32]),ZERO=48,NINE=57;function parse$6(Ra){if(Ra=Ra.trim().toLowerCase(),Ra==="even")return[2,0];if(Ra==="odd")return[2,1];let qa=0,td=0,rd=ad(),nd=sd();if(qa=ZERO&&Ra.charCodeAt(qa)<=NINE;)dd=dd*10+(Ra.charCodeAt(qa)-ZERO),qa++;return qa===cd?null:dd}function ud(){for(;qaad<=td;if(qa===0)return ad=>ad===td;if(qa===1)return td<0?boolbase$1.trueFunc:ad=>ad>=td;const rd=Math.abs(qa),nd=(td%rd+rd)%rd;return qa>1?ad=>ad>=td&&ad%rd===nd:ad=>ad<=td&&ad%rd===nd}function nthCheck(Ra){return compile$1(parse$6(Ra))}function getChildFunc(Ra,qa){return td=>{const rd=qa.getParent(td);return rd!=null&&qa.isTag(rd)&&Ra(td)}}const filters={contains(Ra,qa,{adapter:td}){return function(nd){return Ra(nd)&&td.getText(nd).includes(qa)}},icontains(Ra,qa,{adapter:td}){const rd=qa.toLowerCase();return function(ad){return Ra(ad)&&td.getText(ad).toLowerCase().includes(rd)}},"nth-child"(Ra,qa,{adapter:td,equals:rd}){const nd=nthCheck(qa);return nd===boolbase$1.falseFunc?boolbase$1.falseFunc:nd===boolbase$1.trueFunc?getChildFunc(Ra,td):function(sd){const ud=td.getSiblings(sd);let cd=0;for(let dd=0;dd=0&&!rd(sd,ud[dd]);dd--)td.isTag(ud[dd])&&cd++;return nd(cd)&&Ra(sd)}},"nth-of-type"(Ra,qa,{adapter:td,equals:rd}){const nd=nthCheck(qa);return nd===boolbase$1.falseFunc?boolbase$1.falseFunc:nd===boolbase$1.trueFunc?getChildFunc(Ra,td):function(sd){const ud=td.getSiblings(sd);let cd=0;for(let dd=0;dd=0;dd--){const pd=ud[dd];if(rd(sd,pd))break;td.isTag(pd)&&td.getName(pd)===td.getName(sd)&&cd++}return nd(cd)&&Ra(sd)}},root(Ra,qa,{adapter:td}){return rd=>{const nd=td.getParent(rd);return(nd==null||!td.isTag(nd))&&Ra(rd)}},scope(Ra,qa,td,rd){const{equals:nd}=td;return!rd||rd.length===0?filters.root(Ra,qa,td):rd.length===1?ad=>nd(rd[0],ad)&&Ra(ad):ad=>rd.includes(ad)&&Ra(ad)},hover:dynamicStatePseudo("isHovered"),visited:dynamicStatePseudo("isVisited"),active:dynamicStatePseudo("isActive")};function dynamicStatePseudo(Ra){return function(td,rd,{adapter:nd}){const ad=nd[Ra];return typeof ad!="function"?boolbase$1.falseFunc:function(ud){return ad(ud)&&td(ud)}}}const pseudos={empty(Ra,{adapter:qa}){return!qa.getChildren(Ra).some(td=>qa.isTag(td)||qa.getText(td)!=="")},"first-child"(Ra,{adapter:qa,equals:td}){if(qa.prevElementSibling)return qa.prevElementSibling(Ra)==null;const rd=qa.getSiblings(Ra).find(nd=>qa.isTag(nd));return rd!=null&&td(Ra,rd)},"last-child"(Ra,{adapter:qa,equals:td}){const rd=qa.getSiblings(Ra);for(let nd=rd.length-1;nd>=0;nd--){if(td(Ra,rd[nd]))return!0;if(qa.isTag(rd[nd]))break}return!1},"first-of-type"(Ra,{adapter:qa,equals:td}){const rd=qa.getSiblings(Ra),nd=qa.getName(Ra);for(let ad=0;ad=0;ad--){const sd=rd[ad];if(td(Ra,sd))return!0;if(qa.isTag(sd)&&qa.getName(sd)===nd)break}return!1},"only-of-type"(Ra,{adapter:qa,equals:td}){const rd=qa.getName(Ra);return qa.getSiblings(Ra).every(nd=>td(Ra,nd)||!qa.isTag(nd)||qa.getName(nd)!==rd)},"only-child"(Ra,{adapter:qa,equals:td}){return qa.getSiblings(Ra).every(rd=>td(Ra,rd)||!qa.isTag(rd))}};function verifyPseudoArgs(Ra,qa,td,rd){if(td===null){if(Ra.length>rd)throw new Error(`Pseudo-class :${qa} requires an argument`)}else if(Ra.length===rd)throw new Error(`Pseudo-class :${qa} doesn't have any arguments`)}const aliases={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:`:is( :is(button, input, select, textarea, optgroup, option)[disabled], optgroup[disabled] > option, fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *) - )`,enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"},PLACEHOLDER_ELEMENT={};function ensureIsTag(Ra,qa){return Ra===boolbase$1.falseFunc?boolbase$1.falseFunc:ed=>qa.isTag(ed)&&Ra(ed)}function getNextSiblings(Ra,qa){const ed=qa.getSiblings(Ra);if(ed.length<=1)return[];const td=ed.indexOf(Ra);return td<0||td===ed.length-1?[]:ed.slice(td+1).filter(qa.isTag)}function copyOptions(Ra){return{xmlMode:!!Ra.xmlMode,lowerCaseAttributeNames:!!Ra.lowerCaseAttributeNames,lowerCaseTags:!!Ra.lowerCaseTags,quirksMode:!!Ra.quirksMode,cacheResults:!!Ra.cacheResults,pseudos:Ra.pseudos,adapter:Ra.adapter,equals:Ra.equals}}const is$3=(Ra,qa,ed,td,rd)=>{const sd=rd(qa,copyOptions(ed),td);return sd===boolbase$1.trueFunc?Ra:sd===boolbase$1.falseFunc?boolbase$1.falseFunc:od=>sd(od)&&Ra(od)},subselects={is:is$3,matches:is$3,where:is$3,not(Ra,qa,ed,td,rd){const sd=rd(qa,copyOptions(ed),td);return sd===boolbase$1.falseFunc?Ra:sd===boolbase$1.trueFunc?boolbase$1.falseFunc:od=>!sd(od)&&Ra(od)},has(Ra,qa,ed,td,rd){const{adapter:sd}=ed,od=copyOptions(ed);od.relativeSelector=!0;const ld=qa.some(dd=>dd.some(isTraversal))?[PLACEHOLDER_ELEMENT]:void 0,ud=rd(qa,od,ld);if(ud===boolbase$1.falseFunc)return boolbase$1.falseFunc;const cd=ensureIsTag(ud,sd);if(ld&&ud!==boolbase$1.trueFunc){const{shouldTestNextSiblings:dd=!1}=ud;return _d=>{if(!Ra(_d))return!1;ld[0]=_d;const Ed=sd.getChildren(_d),Ad=dd?[...Ed,...getNextSiblings(_d,sd)]:Ed;return sd.existsOne(cd,Ad)}}return dd=>Ra(dd)&&sd.existsOne(cd,sd.getChildren(dd))}};function compilePseudoSelector(Ra,qa,ed,td,rd){var sd;const{name:od,data:ld}=qa;if(Array.isArray(ld)){if(!(od in subselects))throw new Error(`Unknown pseudo-class :${od}(${ld})`);return subselects[od](Ra,ld,ed,td,rd)}const ud=(sd=ed.pseudos)===null||sd===void 0?void 0:sd[od],cd=typeof ud=="string"?ud:aliases[od];if(typeof cd=="string"){if(ld!=null)throw new Error(`Pseudo ${od} doesn't have any arguments`);const dd=parse$7(cd);return subselects.is(Ra,dd,ed,td,rd)}if(typeof ud=="function")return verifyPseudoArgs(ud,od,ld,1),dd=>ud(dd,ld)&&Ra(dd);if(od in filters)return filters[od](Ra,ld,ed,td);if(od in pseudos){const dd=pseudos[od];return verifyPseudoArgs(dd,od,ld,2),_d=>dd(_d,ed,ld)&&Ra(_d)}throw new Error(`Unknown pseudo-class :${od}`)}function getElementParent(Ra,qa){const ed=qa.getParent(Ra);return ed&&qa.isTag(ed)?ed:null}function compileGeneralSelector(Ra,qa,ed,td,rd){const{adapter:sd,equals:od}=ed;switch(qa.type){case SelectorType.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case SelectorType.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case SelectorType.Attribute:{if(qa.namespace!=null)throw new Error("Namespaced attributes are not yet supported by css-select");return(!ed.xmlMode||ed.lowerCaseAttributeNames)&&(qa.name=qa.name.toLowerCase()),attributeRules[qa.action](Ra,qa,ed)}case SelectorType.Pseudo:return compilePseudoSelector(Ra,qa,ed,td,rd);case SelectorType.Tag:{if(qa.namespace!=null)throw new Error("Namespaced tag names are not yet supported by css-select");let{name:ld}=qa;return(!ed.xmlMode||ed.lowerCaseTags)&&(ld=ld.toLowerCase()),function(cd){return sd.getName(cd)===ld&&Ra(cd)}}case SelectorType.Descendant:{if(ed.cacheResults===!1||typeof WeakSet>"u")return function(cd){let dd=cd;for(;dd=getElementParent(dd,sd);)if(Ra(dd))return!0;return!1};const ld=new WeakSet;return function(cd){let dd=cd;for(;dd=getElementParent(dd,sd);)if(!ld.has(dd)){if(sd.isTag(dd)&&Ra(dd))return!0;ld.add(dd)}return!1}}case"_flexibleDescendant":return function(ud){let cd=ud;do if(Ra(cd))return!0;while(cd=getElementParent(cd,sd));return!1};case SelectorType.Parent:return function(ud){return sd.getChildren(ud).some(cd=>sd.isTag(cd)&&Ra(cd))};case SelectorType.Child:return function(ud){const cd=sd.getParent(ud);return cd!=null&&sd.isTag(cd)&&Ra(cd)};case SelectorType.Sibling:return function(ud){const cd=sd.getSiblings(ud);for(let dd=0;ddqa.some(includesScopePseudo)))}const DESCENDANT_TOKEN={type:SelectorType.Descendant},FLEXIBLE_DESCENDANT_TOKEN={type:"_flexibleDescendant"},SCOPE_TOKEN={type:SelectorType.Pseudo,name:"scope",data:null};function absolutize(Ra,{adapter:qa},ed){const td=!!(ed!=null&&ed.every(rd=>{const sd=qa.isTag(rd)&&qa.getParent(rd);return rd===PLACEHOLDER_ELEMENT||sd&&qa.isTag(sd)}));for(const rd of Ra){if(!(rd.length>0&&isTraversal(rd[0])&&rd[0].type!==SelectorType.Descendant))if(td&&!rd.some(includesScopePseudo))rd.unshift(DESCENDANT_TOKEN);else continue;rd.unshift(SCOPE_TOKEN)}}function compileToken(Ra,qa,ed){var td;Ra.forEach(sortByProcedure),ed=(td=qa.context)!==null&&td!==void 0?td:ed;const rd=Array.isArray(ed),sd=ed&&(Array.isArray(ed)?ed:[ed]);if(qa.relativeSelector!==!1)absolutize(Ra,qa,sd);else if(Ra.some(ud=>ud.length>0&&isTraversal(ud[0])))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let od=!1;const ld=Ra.map(ud=>{if(ud.length>=2){const[cd,dd]=ud;cd.type!==SelectorType.Pseudo||cd.name!=="scope"||(rd&&dd.type===SelectorType.Descendant?ud[1]=FLEXIBLE_DESCENDANT_TOKEN:(dd.type===SelectorType.Adjacent||dd.type===SelectorType.Sibling)&&(od=!0))}return compileRules(ud,qa,sd)}).reduce(reduceRules,boolbase$1.falseFunc);return ld.shouldTestNextSiblings=od,ld}function compileRules(Ra,qa,ed){var td;return Ra.reduce((rd,sd)=>rd===boolbase$1.falseFunc?boolbase$1.falseFunc:compileGeneralSelector(rd,sd,qa,ed,compileToken),(td=qa.rootFunc)!==null&&td!==void 0?td:boolbase$1.trueFunc)}function reduceRules(Ra,qa){return qa===boolbase$1.falseFunc||Ra===boolbase$1.trueFunc?Ra:Ra===boolbase$1.falseFunc||qa===boolbase$1.trueFunc?qa:function(td){return Ra(td)||qa(td)}}const defaultEquals=(Ra,qa)=>Ra===qa,defaultOptions$3={adapter:DomUtils,equals:defaultEquals};function convertOptionFormats(Ra){var qa,ed,td,rd;const sd=Ra??defaultOptions$3;return(qa=sd.adapter)!==null&&qa!==void 0||(sd.adapter=DomUtils),(ed=sd.equals)!==null&&ed!==void 0||(sd.equals=(rd=(td=sd.adapter)===null||td===void 0?void 0:td.equals)!==null&&rd!==void 0?rd:defaultEquals),sd}function wrapCompile(Ra){return function(ed,td,rd){const sd=convertOptionFormats(td);return Ra(ed,sd,rd)}}const _compileToken=wrapCompile(compileToken);function prepareContext(Ra,qa,ed=!1){return ed&&(Ra=appendNextSiblings(Ra,qa)),Array.isArray(Ra)?qa.removeSubsets(Ra):qa.getChildren(Ra)}function appendNextSiblings(Ra,qa){const ed=Array.isArray(Ra)?Ra.slice(0):[Ra],td=ed.length;for(let rd=0;rdqa.some(isFilter)):!1}function getLimit(Ra,qa,ed){const td=qa!=null?parseInt(qa,10):NaN;switch(Ra){case"first":return 1;case"nth":case"eq":return isFinite(td)?td>=0?td+1:1/0:0;case"lt":return isFinite(td)?td>=0?Math.min(td,ed):1/0:0;case"gt":return isFinite(td)?1/0:0;case"odd":return 2*ed;case"even":return 2*ed-1;case"last":case"not":return 1/0}}function getDocumentRoot(Ra){for(;Ra.parent;)Ra=Ra.parent;return Ra}function groupSelectors(Ra){const qa=[],ed=[];for(const td of Ra)td.some(isFilter)?qa.push(td):ed.push(td);return[ed,qa]}const UNIVERSAL_SELECTOR={type:SelectorType.Universal,namespace:null},SCOPE_PSEUDO={type:SelectorType.Pseudo,name:"scope",data:null};function is$2(Ra,qa,ed={}){return some$2([Ra],qa,ed)}function some$2(Ra,qa,ed={}){if(typeof qa=="function")return Ra.some(qa);const[td,rd]=groupSelectors(parse$7(qa));return td.length>0&&Ra.some(_compileToken(td,ed))||rd.some(sd=>filterBySelector(sd,Ra,ed).length>0)}function filterByPosition(Ra,qa,ed,td){const rd=typeof ed=="string"?parseInt(ed,10):NaN;switch(Ra){case"first":case"lt":return qa;case"last":return qa.length>0?[qa[qa.length-1]]:qa;case"nth":case"eq":return isFinite(rd)&&Math.abs(rd)od%2===0);case"odd":return qa.filter((sd,od)=>od%2===1);case"not":{const sd=new Set(filterParsed(ed,qa,td));return qa.filter(od=>!sd.has(od))}}}function filter$4(Ra,qa,ed={}){return filterParsed(parse$7(Ra),qa,ed)}function filterParsed(Ra,qa,ed){if(qa.length===0)return[];const[td,rd]=groupSelectors(Ra);let sd;if(td.length){const od=filterElements(qa,td,ed);if(rd.length===0)return od;od.length&&(sd=new Set(od))}for(let od=0;odisTag(dd)&&!sd.has(dd)):qa).length===0)break;const cd=filterBySelector(ld,qa,ed);if(cd.length)if(sd)cd.forEach(dd=>sd.add(dd));else{if(od===rd.length-1)return cd;sd=new Set(cd)}}return typeof sd<"u"?sd.size===qa.length?qa:qa.filter(od=>sd.has(od)):[]}function filterBySelector(Ra,qa,ed){var td;if(Ra.some(isTraversal$1)){const rd=(td=ed.root)!==null&&td!==void 0?td:getDocumentRoot(qa[0]),sd={...ed,context:qa,relativeSelector:!1};return Ra.push(SCOPE_PSEUDO),findFilterElements(rd,Ra,sd,!0,qa.length)}return findFilterElements(qa,Ra,ed,!1,qa.length)}function select$1(Ra,qa,ed={},td=1/0){if(typeof Ra=="function")return find$2(qa,Ra);const[rd,sd]=groupSelectors(parse$7(Ra)),od=sd.map(ld=>findFilterElements(qa,ld,ed,!0,td));return rd.length&&od.push(findElements(qa,rd,ed,td)),od.length===0?[]:od.length===1?od[0]:uniqueSort(od.reduce((ld,ud)=>[...ld,...ud]))}function findFilterElements(Ra,qa,ed,td,rd){const sd=qa.findIndex(isFilter),od=qa.slice(0,sd),ld=qa[sd],ud=qa.length-1===sd?rd:1/0,cd=getLimit(ld.name,ld.data,ud);if(cd===0)return[];const _d=(od.length===0&&!Array.isArray(Ra)?getChildren(Ra).filter(isTag):od.length===0?(Array.isArray(Ra)?Ra:[Ra]).filter(isTag):td||od.some(isTraversal$1)?findElements(Ra,[od],ed,cd):filterElements(Ra,[od],ed)).slice(0,cd);let Ed=filterByPosition(ld.name,_d,ld.data,ed);if(Ed.length===0||qa.length===sd+1)return Ed;const Ad=qa.slice(sd+1),Td=Ad.some(isTraversal$1);if(Td){if(isTraversal$1(Ad[0])){const{type:Id}=Ad[0];(Id===SelectorType.Sibling||Id===SelectorType.Adjacent)&&(Ed=prepareContext(Ed,DomUtils,!0)),Ad.unshift(UNIVERSAL_SELECTOR)}ed={...ed,relativeSelector:!1,rootFunc:Id=>Ed.includes(Id)}}else ed.rootFunc&&ed.rootFunc!==boolbase.trueFunc&&(ed={...ed,rootFunc:boolbase.trueFunc});return Ad.some(isFilter)?findFilterElements(Ed,Ad,ed,!1,rd):Td?findElements(Ed,[Ad],ed,rd):filterElements(Ed,[Ad],ed)}function findElements(Ra,qa,ed,td){const rd=_compileToken(qa,ed,Ra);return find$2(Ra,rd,td)}function find$2(Ra,qa,ed=1/0){const td=prepareContext(Ra,DomUtils,qa.shouldTestNextSiblings);return find$3(rd=>isTag(rd)&&qa(rd),td,!0,ed)}function filterElements(Ra,qa,ed){const td=(Array.isArray(Ra)?Ra:[Ra]).filter(isTag);if(td.length===0)return td;const rd=_compileToken(qa,ed);return rd===boolbase.trueFunc?td:td.filter(rd)}const reSiblingSelector=/^\s*[+~]/;function find$1(Ra){if(!Ra)return this._make([]);if(typeof Ra!="string"){const qa=isCheerio(Ra)?Ra.toArray():[Ra],ed=this.toArray();return this._make(qa.filter(td=>ed.some(rd=>contains(rd,td))))}return this._findBySelector(Ra,Number.POSITIVE_INFINITY)}function _findBySelector(Ra,qa){var ed;const td=this.toArray(),rd=reSiblingSelector.test(Ra)?td:this.children().toArray(),sd={context:td,root:(ed=this._root)===null||ed===void 0?void 0:ed[0],xmlMode:this.options.xmlMode,lowerCaseTags:this.options.lowerCaseTags,lowerCaseAttributeNames:this.options.lowerCaseAttributeNames,pseudos:this.options.pseudos,quirksMode:this.options.quirksMode};return this._make(select$1(Ra,rd,sd,qa))}function _getMatcher(Ra){return function(qa,...ed){return function(td){var rd;let sd=Ra(qa,this);return td&&(sd=filterArray$1(sd,td,this.options.xmlMode,(rd=this._root)===null||rd===void 0?void 0:rd[0])),this._make(this.length>1&&sd.length>1?ed.reduce((od,ld)=>ld(od),sd):sd)}}}const _matcher=_getMatcher((Ra,qa)=>{let ed=[];for(let td=0;td0&&(ed=ed.concat(rd))}return ed}),_singleMatcher=_getMatcher((Ra,qa)=>{const ed=[];for(let td=0;td{const od=[];return domEach(sd,ld=>{for(let ud;(ud=rd(ld))&&!(ed!=null&&ed(ud,od.length));ld=ud)od.push(ud)}),od})(Ra,...qa);return function(rd,sd){ed=typeof rd=="string"?ld=>is$2(ld,rd,this.options):rd?getFilterFn(rd):null;const od=td.call(this,sd);return ed=null,od}}function _removeDuplicates(Ra){return Ra.length>1?Array.from(new Set(Ra)):Ra}const parent$1=_singleMatcher(({parent:Ra})=>Ra&&!isDocument(Ra)?Ra:null,_removeDuplicates),parents=_matcher(Ra=>{const qa=[];for(;Ra.parent&&!isDocument(Ra.parent);)qa.push(Ra.parent),Ra=Ra.parent;return qa},uniqueSort,Ra=>Ra.reverse()),parentsUntil=_matchUntil(({parent:Ra})=>Ra&&!isDocument(Ra)?Ra:null,uniqueSort,Ra=>Ra.reverse());function closest(Ra){var qa;const ed=[];if(!Ra)return this._make(ed);const td={xmlMode:this.options.xmlMode,root:(qa=this._root)===null||qa===void 0?void 0:qa[0]},rd=typeof Ra=="string"?sd=>is$2(sd,Ra,td):getFilterFn(Ra);return domEach(this,sd=>{for(sd&&!isDocument(sd)&&!isTag(sd)&&(sd=sd.parent);sd&&isTag(sd);){if(rd(sd,0)){ed.includes(sd)||ed.push(sd);break}sd=sd.parent}}),this._make(ed)}const next$1=_singleMatcher(Ra=>nextElementSibling(Ra)),nextAll=_matcher(Ra=>{const qa=[];for(;Ra.next;)Ra=Ra.next,isTag(Ra)&&qa.push(Ra);return qa},_removeDuplicates),nextUntil=_matchUntil(Ra=>nextElementSibling(Ra),_removeDuplicates),prev$1=_singleMatcher(Ra=>prevElementSibling(Ra)),prevAll=_matcher(Ra=>{const qa=[];for(;Ra.prev;)Ra=Ra.prev,isTag(Ra)&&qa.push(Ra);return qa},_removeDuplicates),prevUntil=_matchUntil(Ra=>prevElementSibling(Ra),_removeDuplicates),siblings=_matcher(Ra=>getSiblings(Ra).filter(qa=>isTag(qa)&&qa!==Ra),uniqueSort),children$2=_matcher(Ra=>getChildren(Ra).filter(isTag),_removeDuplicates);function contents(){const Ra=this.toArray().reduce((qa,ed)=>hasChildren(ed)?qa.concat(ed.children):qa,[]);return this._make(Ra)}function each$1(Ra){let qa=0;const ed=this.length;for(;qaRa.call(qa,ed,qa):isCheerio(Ra)?qa=>Array.prototype.includes.call(Ra,qa):function(qa){return Ra===qa}}function filter$3(Ra){var qa;return this._make(filterArray$1(this.toArray(),Ra,this.options.xmlMode,(qa=this._root)===null||qa===void 0?void 0:qa[0]))}function filterArray$1(Ra,qa,ed,td){return typeof qa=="string"?filter$4(qa,Ra,{xmlMode:ed,root:td}):Ra.filter(getFilterFn(qa))}function is$1(Ra){const qa=this.toArray();return typeof Ra=="string"?some$2(qa.filter(isTag),Ra,this.options):Ra?qa.some(getFilterFn(Ra)):!1}function not(Ra){let qa=this.toArray();if(typeof Ra=="string"){const ed=new Set(filter$4(Ra,qa,this.options));qa=qa.filter(td=>!ed.has(td))}else{const ed=getFilterFn(Ra);qa=qa.filter((td,rd)=>!ed(td,rd))}return this._make(qa)}function has(Ra){return this.filter(typeof Ra=="string"?`:has(${Ra})`:(qa,ed)=>this._make(ed).find(Ra).length>0)}function first(){return this.length>1?this._make(this[0]):this}function last(){return this.length>0?this._make(this[this.length-1]):this}function eq(Ra){var qa;return Ra=+Ra,Ra===0&&this.length<=1?this:(Ra<0&&(Ra=this.length+Ra),this._make((qa=this[Ra])!==null&&qa!==void 0?qa:[]))}function get$2(Ra){return Ra==null?this.toArray():this[Ra<0?this.length+Ra:Ra]}function toArray$3(){return Array.prototype.slice.call(this)}function index$1(Ra){let qa,ed;return Ra==null?(qa=this.parent().children(),ed=this[0]):typeof Ra=="string"?(qa=this._make(Ra),ed=this[0]):(qa=this,ed=isCheerio(Ra)?Ra[0]:Ra),Array.prototype.indexOf.call(qa,ed)}function slice$1(Ra,qa){return this._make(Array.prototype.slice.call(this,Ra,qa))}function end(){var Ra;return(Ra=this.prevObject)!==null&&Ra!==void 0?Ra:this._make([])}function add(Ra,qa){const ed=this._make(Ra,qa),td=uniqueSort([...this.get(),...ed.get()]);return this._make(td)}function addBack(Ra){return this.prevObject?this.add(Ra?this.prevObject.filter(Ra):this.prevObject):this}const Traversing=Object.freeze(Object.defineProperty({__proto__:null,_findBySelector,add,addBack,children:children$2,closest,contents,each:each$1,end,eq,filter:filter$3,filterArray:filterArray$1,find:find$1,first,get:get$2,has,index:index$1,is:is$1,last,map:map$3,next:next$1,nextAll,nextUntil,not,parent:parent$1,parents,parentsUntil,prev:prev$1,prevAll,prevUntil,siblings,slice:slice$1,toArray:toArray$3},Symbol.toStringTag,{value:"Module"}));function getParse(Ra){return function(ed,td,rd,sd){if(typeof Buffer$2<"u"&&Buffer$2.isBuffer(ed)&&(ed=ed.toString()),typeof ed=="string")return Ra(ed,td,rd,sd);const od=ed;if(!Array.isArray(od)&&isDocument(od))return od;const ld=new Document([]);return update(od,ld),ld}}function update(Ra,qa){const ed=Array.isArray(Ra)?Ra:[Ra];qa?qa.children=ed:qa=null;for(let td=0;td{if(!hasChildren(td))return;const sd=typeof qa[0]=="function"?qa[0].call(td,rd,this._render(td.children)):qa,od=this._makeDomArray(sd,rd=Ra.length?null:Ra[qa+ed];for(let dd=0;dd-1&&(Ed.children.splice(Td,1),rd===Ed&&qa>Td&&ld[0]--)}_d.parent=rd,_d.prev&&(_d.prev.next=(sd=_d.next)!==null&&sd!==void 0?sd:null),_d.next&&(_d.next.prev=(od=_d.prev)!==null&&od!==void 0?od:null),_d.prev=dd===0?ud:td[dd-1],_d.next=dd===td.length-1?cd:td[dd+1]}return ud&&(ud.next=td[0]),cd&&(cd.prev=td[td.length-1]),Ra.splice(...ld)}function appendTo(Ra){return(isCheerio(Ra)?Ra:this._make(Ra)).append(this),this}function prependTo(Ra){return(isCheerio(Ra)?Ra:this._make(Ra)).prepend(this),this}const append$2=_insert((Ra,qa,ed)=>{uniqueSplice(qa,qa.length,0,Ra,ed)}),prepend=_insert((Ra,qa,ed)=>{uniqueSplice(qa,0,0,Ra,ed)});function _wrap(Ra){return function(qa){const ed=this.length-1,td=this.parents().last();for(let rd=0;rd{const{parent:td}=Ra;if(!td)return;const rd=td.children,sd=rd.indexOf(Ra);update([Ra],qa),uniqueSplice(rd,sd,0,ed,td)}),wrapInner=_wrap((Ra,qa,ed)=>{hasChildren(Ra)&&(update(Ra.children,qa),update(ed,Ra))});function unwrap(Ra){return this.parent(Ra).not("body").each((qa,ed)=>{this._make(ed).replaceWith(ed.children)}),this}function wrapAll(Ra){const qa=this[0];if(qa){const ed=this._make(typeof Ra=="function"?Ra.call(qa,0,qa):Ra).insertBefore(qa);let td;for(let sd=0;sd{if(!hasChildren(ed)||!ed.parent)return;const rd=ed.parent.children,sd=rd.indexOf(ed);if(sd<0)return;const od=typeof Ra[0]=="function"?Ra[0].call(ed,td,this._render(ed.children)):Ra,ld=this._makeDomArray(od,td{if(!hasChildren(ed)||!ed.parent)return;const rd=ed.parent.children,sd=rd.indexOf(ed);if(sd<0)return;const od=typeof Ra[0]=="function"?Ra[0].call(ed,td,this._render(ed.children)):Ra,ld=this._makeDomArray(od,td{const rd=this.clone().toArray(),{parent:sd}=td;if(!sd)return;const od=sd.children,ld=od.indexOf(td);ld<0||(uniqueSplice(od,ld,0,rd,sd),ed.push(...rd))}),this._make(ed)}function remove$1(Ra){const qa=Ra?this.filter(Ra):this;return domEach(qa,ed=>{removeElement(ed),ed.prev=ed.next=ed.parent=null}),this}function replaceWith(Ra){return domEach(this,(qa,ed)=>{const{parent:td}=qa;if(!td)return;const rd=td.children,sd=typeof Ra=="function"?Ra.call(qa,ed,qa):Ra,od=this._makeDomArray(sd);update(od,null);const ld=rd.indexOf(qa);uniqueSplice(rd,ld,1,od,td),od.includes(qa)||(qa.parent=qa.prev=qa.next=null)})}function empty$1(){return domEach(this,Ra=>{if(hasChildren(Ra)){for(const qa of Ra.children)qa.next=qa.prev=qa.parent=null;Ra.children.length=0}})}function html$4(Ra){if(Ra===void 0){const qa=this[0];return!qa||!hasChildren(qa)?null:this._render(qa.children)}return domEach(this,qa=>{if(!hasChildren(qa))return;for(const td of qa.children)td.next=td.prev=td.parent=null;const ed=isCheerio(Ra)?Ra.toArray():this._parse(`${Ra}`,this.options,!1,qa).children;update(ed,qa)})}function toString$3(){return this._render(this)}function text$1(Ra){return Ra===void 0?text$2(this):typeof Ra=="function"?domEach(this,(qa,ed)=>this._make(qa).text(Ra.call(qa,ed,text$2([qa])))):domEach(this,qa=>{if(!hasChildren(qa))return;for(const td of qa.children)td.next=td.prev=td.parent=null;const ed=new Text(`${Ra}`);update(ed,qa)})}function clone$1(){const Ra=Array.prototype.map.call(this.get(),ed=>cloneNode(ed,!0)),qa=new Document(Ra);for(const ed of Ra)ed.parent=qa;return this._make(Ra)}const Manipulation=Object.freeze(Object.defineProperty({__proto__:null,_makeDomArray,after,append:append$2,appendTo,before,clone:clone$1,empty:empty$1,html:html$4,insertAfter,insertBefore,prepend,prependTo,remove:remove$1,replaceWith,text:text$1,toString:toString$3,unwrap,wrap:wrap$1,wrapAll,wrapInner},Symbol.toStringTag,{value:"Module"}));function css$1(Ra,qa){if(Ra!=null&&qa!=null||typeof Ra=="object"&&!Array.isArray(Ra))return domEach(this,(ed,td)=>{isTag(ed)&&setCss(ed,Ra,qa,td)});if(this.length!==0)return getCss(this[0],Ra)}function setCss(Ra,qa,ed,td){if(typeof qa=="string"){const rd=getCss(Ra),sd=typeof ed=="function"?ed.call(Ra,td,rd[qa]):ed;sd===""?delete rd[qa]:sd!=null&&(rd[qa]=sd),Ra.attribs.style=stringify$3(rd)}else if(typeof qa=="object"){const rd=Object.keys(qa);for(let sd=0;sd`${qa}${qa?" ":""}${ed}: ${Ra[ed]};`,"")}function parse$5(Ra){if(Ra=(Ra||"").trim(),!Ra)return{};const qa={};let ed;for(const td of Ra.split(";")){const rd=td.indexOf(":");if(rd<1||rd===td.length-1){const sd=td.trimEnd();sd.length>0&&ed!==void 0&&(qa[ed]+=`;${sd}`)}else ed=td.slice(0,rd).trim(),qa[ed]=td.slice(rd+1).trim()}return qa}const Css=Object.freeze(Object.defineProperty({__proto__:null,css:css$1},Symbol.toStringTag,{value:"Module"})),submittableSelector="input,select,textarea,keygen",r20=/%20/g,rCRLF=/\r?\n/g;function serialize$1(){return this.serializeArray().map(ed=>`${encodeURIComponent(ed.name)}=${encodeURIComponent(ed.value)}`).join("&").replace(r20,"+")}function serializeArray(){return this.map((Ra,qa)=>{const ed=this._make(qa);return isTag(qa)&&qa.name==="form"?ed.find(submittableSelector).toArray():ed.filter(submittableSelector).toArray()}).filter('[name!=""]:enabled:not(:submit, :button, :image, :reset, :file):matches([checked], :not(:checkbox, :radio))').map((Ra,qa)=>{var ed;const td=this._make(qa),rd=td.attr("name"),sd=(ed=td.val())!==null&&ed!==void 0?ed:"";return Array.isArray(sd)?sd.map(od=>({name:rd,value:od.replace(rCRLF,`\r -`)})):{name:rd,value:sd.replace(rCRLF,`\r -`)}}).toArray()}const Forms=Object.freeze(Object.defineProperty({__proto__:null,serialize:serialize$1,serializeArray},Symbol.toStringTag,{value:"Module"}));function getExtractDescr(Ra){var qa;return typeof Ra=="string"?{selector:Ra,value:"textContent"}:{selector:Ra.selector,value:(qa=Ra.value)!==null&&qa!==void 0?qa:"textContent"}}function extract(Ra){const qa={};for(const ed in Ra){const td=Ra[ed],rd=Array.isArray(td),{selector:sd,value:od}=getExtractDescr(rd?td[0]:td),ld=typeof od=="function"?od:typeof od=="string"?ud=>this._make(ud).prop(od):ud=>this._make(ud).extract(od);if(rd)qa[ed]=this._findBySelector(sd,Number.POSITIVE_INFINITY).map((ud,cd)=>ld(cd,ed,qa)).get();else{const ud=this._findBySelector(sd,1);qa[ed]=ud.length>0?ld(ud[0],ed,qa):void 0}}return qa}const Extract=Object.freeze(Object.defineProperty({__proto__:null,extract},Symbol.toStringTag,{value:"Module"}));class Cheerio{constructor(qa,ed,td){if(this.length=0,this.options=td,this._root=ed,qa){for(let rd=0;rd=55296&&Ra<=57343}function isSurrogatePair(Ra){return Ra>=56320&&Ra<=57343}function getSurrogatePairCodePoint(Ra,qa){return(Ra-55296)*1024+9216+qa}function isControlCodePoint(Ra){return Ra!==32&&Ra!==10&&Ra!==13&&Ra!==9&&Ra!==12&&Ra>=1&&Ra<=31||Ra>=127&&Ra<=159}function isUndefinedCodePoint(Ra){return Ra>=64976&&Ra<=65007||UNDEFINED_CODE_POINTS.has(Ra)}var ERR;(function(Ra){Ra.controlCharacterInInputStream="control-character-in-input-stream",Ra.noncharacterInInputStream="noncharacter-in-input-stream",Ra.surrogateInInputStream="surrogate-in-input-stream",Ra.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",Ra.endTagWithAttributes="end-tag-with-attributes",Ra.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",Ra.unexpectedSolidusInTag="unexpected-solidus-in-tag",Ra.unexpectedNullCharacter="unexpected-null-character",Ra.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",Ra.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",Ra.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",Ra.missingEndTagName="missing-end-tag-name",Ra.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",Ra.unknownNamedCharacterReference="unknown-named-character-reference",Ra.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",Ra.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",Ra.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",Ra.eofBeforeTagName="eof-before-tag-name",Ra.eofInTag="eof-in-tag",Ra.missingAttributeValue="missing-attribute-value",Ra.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",Ra.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",Ra.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",Ra.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",Ra.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",Ra.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",Ra.missingDoctypePublicIdentifier="missing-doctype-public-identifier",Ra.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",Ra.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",Ra.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",Ra.cdataInHtmlContent="cdata-in-html-content",Ra.incorrectlyOpenedComment="incorrectly-opened-comment",Ra.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",Ra.eofInDoctype="eof-in-doctype",Ra.nestedComment="nested-comment",Ra.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",Ra.eofInComment="eof-in-comment",Ra.incorrectlyClosedComment="incorrectly-closed-comment",Ra.eofInCdata="eof-in-cdata",Ra.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",Ra.nullCharacterReference="null-character-reference",Ra.surrogateCharacterReference="surrogate-character-reference",Ra.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",Ra.controlCharacterReference="control-character-reference",Ra.noncharacterCharacterReference="noncharacter-character-reference",Ra.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",Ra.missingDoctypeName="missing-doctype-name",Ra.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",Ra.duplicateAttribute="duplicate-attribute",Ra.nonConformingDoctype="non-conforming-doctype",Ra.missingDoctype="missing-doctype",Ra.misplacedDoctype="misplaced-doctype",Ra.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",Ra.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",Ra.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",Ra.openElementsLeftAfterEof="open-elements-left-after-eof",Ra.abandonedHeadElementChild="abandoned-head-element-child",Ra.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",Ra.nestedNoscriptInHead="nested-noscript-in-head",Ra.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(ERR=ERR||(ERR={}));const DEFAULT_BUFFER_WATERLINE=65536;class Preprocessor{constructor(qa){this.handler=qa,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=DEFAULT_BUFFER_WATERLINE,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(qa){const{line:ed,col:td,offset:rd}=this;return{code:qa,startLine:ed,endLine:ed,startCol:td,endCol:td,startOffset:rd,endOffset:rd}}_err(qa){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(qa)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(qa){if(this.pos!==this.html.length-1){const ed=this.html.charCodeAt(this.pos+1);if(isSurrogatePair(ed))return this.pos++,this._addGap(),getSurrogatePairCodePoint(qa,ed)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,CODE_POINTS.EOF;return this._err(ERR.surrogateInInputStream),qa}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(qa,ed){this.html.length>0?this.html+=qa:this.html=qa,this.endOfChunkHit=!1,this.lastChunkWritten=ed}insertHtmlAtCurrentPos(qa){this.html=this.html.substring(0,this.pos+1)+qa+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(qa,ed){if(this.pos+qa.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(ed)return this.html.startsWith(qa,this.pos);for(let td=0;td=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,CODE_POINTS.EOF;const td=this.html.charCodeAt(ed);return td===CODE_POINTS.CARRIAGE_RETURN?CODE_POINTS.LINE_FEED:td}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,CODE_POINTS.EOF;let qa=this.html.charCodeAt(this.pos);return qa===CODE_POINTS.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,CODE_POINTS.LINE_FEED):qa===CODE_POINTS.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,isSurrogate(qa)&&(qa=this._processSurrogate(qa)),this.handler.onParseError===null||qa>31&&qa<127||qa===CODE_POINTS.LINE_FEED||qa===CODE_POINTS.CARRIAGE_RETURN||qa>159&&qa<64976||this._checkForProblematicCharacters(qa),qa)}_checkForProblematicCharacters(qa){isControlCodePoint(qa)?this._err(ERR.controlCharacterInInputStream):isUndefinedCodePoint(qa)&&this._err(ERR.noncharacterInInputStream)}retreat(qa){for(this.pos-=qa;this.pos=0;ed--)if(Ra.attrs[ed].name===qa)return Ra.attrs[ed].value;return null}var NS;(function(Ra){Ra.HTML="http://www.w3.org/1999/xhtml",Ra.MATHML="http://www.w3.org/1998/Math/MathML",Ra.SVG="http://www.w3.org/2000/svg",Ra.XLINK="http://www.w3.org/1999/xlink",Ra.XML="http://www.w3.org/XML/1998/namespace",Ra.XMLNS="http://www.w3.org/2000/xmlns/"})(NS=NS||(NS={}));var ATTRS;(function(Ra){Ra.TYPE="type",Ra.ACTION="action",Ra.ENCODING="encoding",Ra.PROMPT="prompt",Ra.NAME="name",Ra.COLOR="color",Ra.FACE="face",Ra.SIZE="size"})(ATTRS=ATTRS||(ATTRS={}));var DOCUMENT_MODE;(function(Ra){Ra.NO_QUIRKS="no-quirks",Ra.QUIRKS="quirks",Ra.LIMITED_QUIRKS="limited-quirks"})(DOCUMENT_MODE=DOCUMENT_MODE||(DOCUMENT_MODE={}));var TAG_NAMES;(function(Ra){Ra.A="a",Ra.ADDRESS="address",Ra.ANNOTATION_XML="annotation-xml",Ra.APPLET="applet",Ra.AREA="area",Ra.ARTICLE="article",Ra.ASIDE="aside",Ra.B="b",Ra.BASE="base",Ra.BASEFONT="basefont",Ra.BGSOUND="bgsound",Ra.BIG="big",Ra.BLOCKQUOTE="blockquote",Ra.BODY="body",Ra.BR="br",Ra.BUTTON="button",Ra.CAPTION="caption",Ra.CENTER="center",Ra.CODE="code",Ra.COL="col",Ra.COLGROUP="colgroup",Ra.DD="dd",Ra.DESC="desc",Ra.DETAILS="details",Ra.DIALOG="dialog",Ra.DIR="dir",Ra.DIV="div",Ra.DL="dl",Ra.DT="dt",Ra.EM="em",Ra.EMBED="embed",Ra.FIELDSET="fieldset",Ra.FIGCAPTION="figcaption",Ra.FIGURE="figure",Ra.FONT="font",Ra.FOOTER="footer",Ra.FOREIGN_OBJECT="foreignObject",Ra.FORM="form",Ra.FRAME="frame",Ra.FRAMESET="frameset",Ra.H1="h1",Ra.H2="h2",Ra.H3="h3",Ra.H4="h4",Ra.H5="h5",Ra.H6="h6",Ra.HEAD="head",Ra.HEADER="header",Ra.HGROUP="hgroup",Ra.HR="hr",Ra.HTML="html",Ra.I="i",Ra.IMG="img",Ra.IMAGE="image",Ra.INPUT="input",Ra.IFRAME="iframe",Ra.KEYGEN="keygen",Ra.LABEL="label",Ra.LI="li",Ra.LINK="link",Ra.LISTING="listing",Ra.MAIN="main",Ra.MALIGNMARK="malignmark",Ra.MARQUEE="marquee",Ra.MATH="math",Ra.MENU="menu",Ra.META="meta",Ra.MGLYPH="mglyph",Ra.MI="mi",Ra.MO="mo",Ra.MN="mn",Ra.MS="ms",Ra.MTEXT="mtext",Ra.NAV="nav",Ra.NOBR="nobr",Ra.NOFRAMES="noframes",Ra.NOEMBED="noembed",Ra.NOSCRIPT="noscript",Ra.OBJECT="object",Ra.OL="ol",Ra.OPTGROUP="optgroup",Ra.OPTION="option",Ra.P="p",Ra.PARAM="param",Ra.PLAINTEXT="plaintext",Ra.PRE="pre",Ra.RB="rb",Ra.RP="rp",Ra.RT="rt",Ra.RTC="rtc",Ra.RUBY="ruby",Ra.S="s",Ra.SCRIPT="script",Ra.SECTION="section",Ra.SELECT="select",Ra.SOURCE="source",Ra.SMALL="small",Ra.SPAN="span",Ra.STRIKE="strike",Ra.STRONG="strong",Ra.STYLE="style",Ra.SUB="sub",Ra.SUMMARY="summary",Ra.SUP="sup",Ra.TABLE="table",Ra.TBODY="tbody",Ra.TEMPLATE="template",Ra.TEXTAREA="textarea",Ra.TFOOT="tfoot",Ra.TD="td",Ra.TH="th",Ra.THEAD="thead",Ra.TITLE="title",Ra.TR="tr",Ra.TRACK="track",Ra.TT="tt",Ra.U="u",Ra.UL="ul",Ra.SVG="svg",Ra.VAR="var",Ra.WBR="wbr",Ra.XMP="xmp"})(TAG_NAMES=TAG_NAMES||(TAG_NAMES={}));var TAG_ID;(function(Ra){Ra[Ra.UNKNOWN=0]="UNKNOWN",Ra[Ra.A=1]="A",Ra[Ra.ADDRESS=2]="ADDRESS",Ra[Ra.ANNOTATION_XML=3]="ANNOTATION_XML",Ra[Ra.APPLET=4]="APPLET",Ra[Ra.AREA=5]="AREA",Ra[Ra.ARTICLE=6]="ARTICLE",Ra[Ra.ASIDE=7]="ASIDE",Ra[Ra.B=8]="B",Ra[Ra.BASE=9]="BASE",Ra[Ra.BASEFONT=10]="BASEFONT",Ra[Ra.BGSOUND=11]="BGSOUND",Ra[Ra.BIG=12]="BIG",Ra[Ra.BLOCKQUOTE=13]="BLOCKQUOTE",Ra[Ra.BODY=14]="BODY",Ra[Ra.BR=15]="BR",Ra[Ra.BUTTON=16]="BUTTON",Ra[Ra.CAPTION=17]="CAPTION",Ra[Ra.CENTER=18]="CENTER",Ra[Ra.CODE=19]="CODE",Ra[Ra.COL=20]="COL",Ra[Ra.COLGROUP=21]="COLGROUP",Ra[Ra.DD=22]="DD",Ra[Ra.DESC=23]="DESC",Ra[Ra.DETAILS=24]="DETAILS",Ra[Ra.DIALOG=25]="DIALOG",Ra[Ra.DIR=26]="DIR",Ra[Ra.DIV=27]="DIV",Ra[Ra.DL=28]="DL",Ra[Ra.DT=29]="DT",Ra[Ra.EM=30]="EM",Ra[Ra.EMBED=31]="EMBED",Ra[Ra.FIELDSET=32]="FIELDSET",Ra[Ra.FIGCAPTION=33]="FIGCAPTION",Ra[Ra.FIGURE=34]="FIGURE",Ra[Ra.FONT=35]="FONT",Ra[Ra.FOOTER=36]="FOOTER",Ra[Ra.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",Ra[Ra.FORM=38]="FORM",Ra[Ra.FRAME=39]="FRAME",Ra[Ra.FRAMESET=40]="FRAMESET",Ra[Ra.H1=41]="H1",Ra[Ra.H2=42]="H2",Ra[Ra.H3=43]="H3",Ra[Ra.H4=44]="H4",Ra[Ra.H5=45]="H5",Ra[Ra.H6=46]="H6",Ra[Ra.HEAD=47]="HEAD",Ra[Ra.HEADER=48]="HEADER",Ra[Ra.HGROUP=49]="HGROUP",Ra[Ra.HR=50]="HR",Ra[Ra.HTML=51]="HTML",Ra[Ra.I=52]="I",Ra[Ra.IMG=53]="IMG",Ra[Ra.IMAGE=54]="IMAGE",Ra[Ra.INPUT=55]="INPUT",Ra[Ra.IFRAME=56]="IFRAME",Ra[Ra.KEYGEN=57]="KEYGEN",Ra[Ra.LABEL=58]="LABEL",Ra[Ra.LI=59]="LI",Ra[Ra.LINK=60]="LINK",Ra[Ra.LISTING=61]="LISTING",Ra[Ra.MAIN=62]="MAIN",Ra[Ra.MALIGNMARK=63]="MALIGNMARK",Ra[Ra.MARQUEE=64]="MARQUEE",Ra[Ra.MATH=65]="MATH",Ra[Ra.MENU=66]="MENU",Ra[Ra.META=67]="META",Ra[Ra.MGLYPH=68]="MGLYPH",Ra[Ra.MI=69]="MI",Ra[Ra.MO=70]="MO",Ra[Ra.MN=71]="MN",Ra[Ra.MS=72]="MS",Ra[Ra.MTEXT=73]="MTEXT",Ra[Ra.NAV=74]="NAV",Ra[Ra.NOBR=75]="NOBR",Ra[Ra.NOFRAMES=76]="NOFRAMES",Ra[Ra.NOEMBED=77]="NOEMBED",Ra[Ra.NOSCRIPT=78]="NOSCRIPT",Ra[Ra.OBJECT=79]="OBJECT",Ra[Ra.OL=80]="OL",Ra[Ra.OPTGROUP=81]="OPTGROUP",Ra[Ra.OPTION=82]="OPTION",Ra[Ra.P=83]="P",Ra[Ra.PARAM=84]="PARAM",Ra[Ra.PLAINTEXT=85]="PLAINTEXT",Ra[Ra.PRE=86]="PRE",Ra[Ra.RB=87]="RB",Ra[Ra.RP=88]="RP",Ra[Ra.RT=89]="RT",Ra[Ra.RTC=90]="RTC",Ra[Ra.RUBY=91]="RUBY",Ra[Ra.S=92]="S",Ra[Ra.SCRIPT=93]="SCRIPT",Ra[Ra.SECTION=94]="SECTION",Ra[Ra.SELECT=95]="SELECT",Ra[Ra.SOURCE=96]="SOURCE",Ra[Ra.SMALL=97]="SMALL",Ra[Ra.SPAN=98]="SPAN",Ra[Ra.STRIKE=99]="STRIKE",Ra[Ra.STRONG=100]="STRONG",Ra[Ra.STYLE=101]="STYLE",Ra[Ra.SUB=102]="SUB",Ra[Ra.SUMMARY=103]="SUMMARY",Ra[Ra.SUP=104]="SUP",Ra[Ra.TABLE=105]="TABLE",Ra[Ra.TBODY=106]="TBODY",Ra[Ra.TEMPLATE=107]="TEMPLATE",Ra[Ra.TEXTAREA=108]="TEXTAREA",Ra[Ra.TFOOT=109]="TFOOT",Ra[Ra.TD=110]="TD",Ra[Ra.TH=111]="TH",Ra[Ra.THEAD=112]="THEAD",Ra[Ra.TITLE=113]="TITLE",Ra[Ra.TR=114]="TR",Ra[Ra.TRACK=115]="TRACK",Ra[Ra.TT=116]="TT",Ra[Ra.U=117]="U",Ra[Ra.UL=118]="UL",Ra[Ra.SVG=119]="SVG",Ra[Ra.VAR=120]="VAR",Ra[Ra.WBR=121]="WBR",Ra[Ra.XMP=122]="XMP"})(TAG_ID=TAG_ID||(TAG_ID={}));const TAG_NAME_TO_ID=new Map([[TAG_NAMES.A,TAG_ID.A],[TAG_NAMES.ADDRESS,TAG_ID.ADDRESS],[TAG_NAMES.ANNOTATION_XML,TAG_ID.ANNOTATION_XML],[TAG_NAMES.APPLET,TAG_ID.APPLET],[TAG_NAMES.AREA,TAG_ID.AREA],[TAG_NAMES.ARTICLE,TAG_ID.ARTICLE],[TAG_NAMES.ASIDE,TAG_ID.ASIDE],[TAG_NAMES.B,TAG_ID.B],[TAG_NAMES.BASE,TAG_ID.BASE],[TAG_NAMES.BASEFONT,TAG_ID.BASEFONT],[TAG_NAMES.BGSOUND,TAG_ID.BGSOUND],[TAG_NAMES.BIG,TAG_ID.BIG],[TAG_NAMES.BLOCKQUOTE,TAG_ID.BLOCKQUOTE],[TAG_NAMES.BODY,TAG_ID.BODY],[TAG_NAMES.BR,TAG_ID.BR],[TAG_NAMES.BUTTON,TAG_ID.BUTTON],[TAG_NAMES.CAPTION,TAG_ID.CAPTION],[TAG_NAMES.CENTER,TAG_ID.CENTER],[TAG_NAMES.CODE,TAG_ID.CODE],[TAG_NAMES.COL,TAG_ID.COL],[TAG_NAMES.COLGROUP,TAG_ID.COLGROUP],[TAG_NAMES.DD,TAG_ID.DD],[TAG_NAMES.DESC,TAG_ID.DESC],[TAG_NAMES.DETAILS,TAG_ID.DETAILS],[TAG_NAMES.DIALOG,TAG_ID.DIALOG],[TAG_NAMES.DIR,TAG_ID.DIR],[TAG_NAMES.DIV,TAG_ID.DIV],[TAG_NAMES.DL,TAG_ID.DL],[TAG_NAMES.DT,TAG_ID.DT],[TAG_NAMES.EM,TAG_ID.EM],[TAG_NAMES.EMBED,TAG_ID.EMBED],[TAG_NAMES.FIELDSET,TAG_ID.FIELDSET],[TAG_NAMES.FIGCAPTION,TAG_ID.FIGCAPTION],[TAG_NAMES.FIGURE,TAG_ID.FIGURE],[TAG_NAMES.FONT,TAG_ID.FONT],[TAG_NAMES.FOOTER,TAG_ID.FOOTER],[TAG_NAMES.FOREIGN_OBJECT,TAG_ID.FOREIGN_OBJECT],[TAG_NAMES.FORM,TAG_ID.FORM],[TAG_NAMES.FRAME,TAG_ID.FRAME],[TAG_NAMES.FRAMESET,TAG_ID.FRAMESET],[TAG_NAMES.H1,TAG_ID.H1],[TAG_NAMES.H2,TAG_ID.H2],[TAG_NAMES.H3,TAG_ID.H3],[TAG_NAMES.H4,TAG_ID.H4],[TAG_NAMES.H5,TAG_ID.H5],[TAG_NAMES.H6,TAG_ID.H6],[TAG_NAMES.HEAD,TAG_ID.HEAD],[TAG_NAMES.HEADER,TAG_ID.HEADER],[TAG_NAMES.HGROUP,TAG_ID.HGROUP],[TAG_NAMES.HR,TAG_ID.HR],[TAG_NAMES.HTML,TAG_ID.HTML],[TAG_NAMES.I,TAG_ID.I],[TAG_NAMES.IMG,TAG_ID.IMG],[TAG_NAMES.IMAGE,TAG_ID.IMAGE],[TAG_NAMES.INPUT,TAG_ID.INPUT],[TAG_NAMES.IFRAME,TAG_ID.IFRAME],[TAG_NAMES.KEYGEN,TAG_ID.KEYGEN],[TAG_NAMES.LABEL,TAG_ID.LABEL],[TAG_NAMES.LI,TAG_ID.LI],[TAG_NAMES.LINK,TAG_ID.LINK],[TAG_NAMES.LISTING,TAG_ID.LISTING],[TAG_NAMES.MAIN,TAG_ID.MAIN],[TAG_NAMES.MALIGNMARK,TAG_ID.MALIGNMARK],[TAG_NAMES.MARQUEE,TAG_ID.MARQUEE],[TAG_NAMES.MATH,TAG_ID.MATH],[TAG_NAMES.MENU,TAG_ID.MENU],[TAG_NAMES.META,TAG_ID.META],[TAG_NAMES.MGLYPH,TAG_ID.MGLYPH],[TAG_NAMES.MI,TAG_ID.MI],[TAG_NAMES.MO,TAG_ID.MO],[TAG_NAMES.MN,TAG_ID.MN],[TAG_NAMES.MS,TAG_ID.MS],[TAG_NAMES.MTEXT,TAG_ID.MTEXT],[TAG_NAMES.NAV,TAG_ID.NAV],[TAG_NAMES.NOBR,TAG_ID.NOBR],[TAG_NAMES.NOFRAMES,TAG_ID.NOFRAMES],[TAG_NAMES.NOEMBED,TAG_ID.NOEMBED],[TAG_NAMES.NOSCRIPT,TAG_ID.NOSCRIPT],[TAG_NAMES.OBJECT,TAG_ID.OBJECT],[TAG_NAMES.OL,TAG_ID.OL],[TAG_NAMES.OPTGROUP,TAG_ID.OPTGROUP],[TAG_NAMES.OPTION,TAG_ID.OPTION],[TAG_NAMES.P,TAG_ID.P],[TAG_NAMES.PARAM,TAG_ID.PARAM],[TAG_NAMES.PLAINTEXT,TAG_ID.PLAINTEXT],[TAG_NAMES.PRE,TAG_ID.PRE],[TAG_NAMES.RB,TAG_ID.RB],[TAG_NAMES.RP,TAG_ID.RP],[TAG_NAMES.RT,TAG_ID.RT],[TAG_NAMES.RTC,TAG_ID.RTC],[TAG_NAMES.RUBY,TAG_ID.RUBY],[TAG_NAMES.S,TAG_ID.S],[TAG_NAMES.SCRIPT,TAG_ID.SCRIPT],[TAG_NAMES.SECTION,TAG_ID.SECTION],[TAG_NAMES.SELECT,TAG_ID.SELECT],[TAG_NAMES.SOURCE,TAG_ID.SOURCE],[TAG_NAMES.SMALL,TAG_ID.SMALL],[TAG_NAMES.SPAN,TAG_ID.SPAN],[TAG_NAMES.STRIKE,TAG_ID.STRIKE],[TAG_NAMES.STRONG,TAG_ID.STRONG],[TAG_NAMES.STYLE,TAG_ID.STYLE],[TAG_NAMES.SUB,TAG_ID.SUB],[TAG_NAMES.SUMMARY,TAG_ID.SUMMARY],[TAG_NAMES.SUP,TAG_ID.SUP],[TAG_NAMES.TABLE,TAG_ID.TABLE],[TAG_NAMES.TBODY,TAG_ID.TBODY],[TAG_NAMES.TEMPLATE,TAG_ID.TEMPLATE],[TAG_NAMES.TEXTAREA,TAG_ID.TEXTAREA],[TAG_NAMES.TFOOT,TAG_ID.TFOOT],[TAG_NAMES.TD,TAG_ID.TD],[TAG_NAMES.TH,TAG_ID.TH],[TAG_NAMES.THEAD,TAG_ID.THEAD],[TAG_NAMES.TITLE,TAG_ID.TITLE],[TAG_NAMES.TR,TAG_ID.TR],[TAG_NAMES.TRACK,TAG_ID.TRACK],[TAG_NAMES.TT,TAG_ID.TT],[TAG_NAMES.U,TAG_ID.U],[TAG_NAMES.UL,TAG_ID.UL],[TAG_NAMES.SVG,TAG_ID.SVG],[TAG_NAMES.VAR,TAG_ID.VAR],[TAG_NAMES.WBR,TAG_ID.WBR],[TAG_NAMES.XMP,TAG_ID.XMP]]);function getTagID(Ra){var qa;return(qa=TAG_NAME_TO_ID.get(Ra))!==null&&qa!==void 0?qa:TAG_ID.UNKNOWN}const $$3=TAG_ID,SPECIAL_ELEMENTS={[NS.HTML]:new Set([$$3.ADDRESS,$$3.APPLET,$$3.AREA,$$3.ARTICLE,$$3.ASIDE,$$3.BASE,$$3.BASEFONT,$$3.BGSOUND,$$3.BLOCKQUOTE,$$3.BODY,$$3.BR,$$3.BUTTON,$$3.CAPTION,$$3.CENTER,$$3.COL,$$3.COLGROUP,$$3.DD,$$3.DETAILS,$$3.DIR,$$3.DIV,$$3.DL,$$3.DT,$$3.EMBED,$$3.FIELDSET,$$3.FIGCAPTION,$$3.FIGURE,$$3.FOOTER,$$3.FORM,$$3.FRAME,$$3.FRAMESET,$$3.H1,$$3.H2,$$3.H3,$$3.H4,$$3.H5,$$3.H6,$$3.HEAD,$$3.HEADER,$$3.HGROUP,$$3.HR,$$3.HTML,$$3.IFRAME,$$3.IMG,$$3.INPUT,$$3.LI,$$3.LINK,$$3.LISTING,$$3.MAIN,$$3.MARQUEE,$$3.MENU,$$3.META,$$3.NAV,$$3.NOEMBED,$$3.NOFRAMES,$$3.NOSCRIPT,$$3.OBJECT,$$3.OL,$$3.P,$$3.PARAM,$$3.PLAINTEXT,$$3.PRE,$$3.SCRIPT,$$3.SECTION,$$3.SELECT,$$3.SOURCE,$$3.STYLE,$$3.SUMMARY,$$3.TABLE,$$3.TBODY,$$3.TD,$$3.TEMPLATE,$$3.TEXTAREA,$$3.TFOOT,$$3.TH,$$3.THEAD,$$3.TITLE,$$3.TR,$$3.TRACK,$$3.UL,$$3.WBR,$$3.XMP]),[NS.MATHML]:new Set([$$3.MI,$$3.MO,$$3.MN,$$3.MS,$$3.MTEXT,$$3.ANNOTATION_XML]),[NS.SVG]:new Set([$$3.TITLE,$$3.FOREIGN_OBJECT,$$3.DESC]),[NS.XLINK]:new Set,[NS.XML]:new Set,[NS.XMLNS]:new Set};function isNumberedHeader(Ra){return Ra===$$3.H1||Ra===$$3.H2||Ra===$$3.H3||Ra===$$3.H4||Ra===$$3.H5||Ra===$$3.H6}const UNESCAPED_TEXT=new Set([TAG_NAMES.STYLE,TAG_NAMES.SCRIPT,TAG_NAMES.XMP,TAG_NAMES.IFRAME,TAG_NAMES.NOEMBED,TAG_NAMES.NOFRAMES,TAG_NAMES.PLAINTEXT]);function hasUnescapedText(Ra,qa){return UNESCAPED_TEXT.has(Ra)||qa&&Ra===TAG_NAMES.NOSCRIPT}const C1_CONTROLS_REFERENCE_REPLACEMENTS=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);var State$3;(function(Ra){Ra[Ra.DATA=0]="DATA",Ra[Ra.RCDATA=1]="RCDATA",Ra[Ra.RAWTEXT=2]="RAWTEXT",Ra[Ra.SCRIPT_DATA=3]="SCRIPT_DATA",Ra[Ra.PLAINTEXT=4]="PLAINTEXT",Ra[Ra.TAG_OPEN=5]="TAG_OPEN",Ra[Ra.END_TAG_OPEN=6]="END_TAG_OPEN",Ra[Ra.TAG_NAME=7]="TAG_NAME",Ra[Ra.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",Ra[Ra.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",Ra[Ra.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",Ra[Ra.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",Ra[Ra.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",Ra[Ra.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",Ra[Ra.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",Ra[Ra.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",Ra[Ra.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",Ra[Ra.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",Ra[Ra.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",Ra[Ra.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",Ra[Ra.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",Ra[Ra.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",Ra[Ra.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",Ra[Ra.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",Ra[Ra.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",Ra[Ra.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",Ra[Ra.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",Ra[Ra.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",Ra[Ra.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",Ra[Ra.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",Ra[Ra.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",Ra[Ra.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",Ra[Ra.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",Ra[Ra.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",Ra[Ra.BOGUS_COMMENT=40]="BOGUS_COMMENT",Ra[Ra.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",Ra[Ra.COMMENT_START=42]="COMMENT_START",Ra[Ra.COMMENT_START_DASH=43]="COMMENT_START_DASH",Ra[Ra.COMMENT=44]="COMMENT",Ra[Ra.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",Ra[Ra.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",Ra[Ra.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",Ra[Ra.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",Ra[Ra.COMMENT_END_DASH=49]="COMMENT_END_DASH",Ra[Ra.COMMENT_END=50]="COMMENT_END",Ra[Ra.COMMENT_END_BANG=51]="COMMENT_END_BANG",Ra[Ra.DOCTYPE=52]="DOCTYPE",Ra[Ra.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",Ra[Ra.DOCTYPE_NAME=54]="DOCTYPE_NAME",Ra[Ra.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",Ra[Ra.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",Ra[Ra.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",Ra[Ra.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",Ra[Ra.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",Ra[Ra.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",Ra[Ra.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",Ra[Ra.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",Ra[Ra.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",Ra[Ra.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",Ra[Ra.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",Ra[Ra.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",Ra[Ra.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",Ra[Ra.CDATA_SECTION=68]="CDATA_SECTION",Ra[Ra.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",Ra[Ra.CDATA_SECTION_END=70]="CDATA_SECTION_END",Ra[Ra.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",Ra[Ra.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",Ra[Ra.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",Ra[Ra.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",Ra[Ra.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",Ra[Ra.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",Ra[Ra.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",Ra[Ra.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END"})(State$3||(State$3={}));const TokenizerMode={DATA:State$3.DATA,RCDATA:State$3.RCDATA,RAWTEXT:State$3.RAWTEXT,SCRIPT_DATA:State$3.SCRIPT_DATA,PLAINTEXT:State$3.PLAINTEXT,CDATA_SECTION:State$3.CDATA_SECTION};function isAsciiDigit(Ra){return Ra>=CODE_POINTS.DIGIT_0&&Ra<=CODE_POINTS.DIGIT_9}function isAsciiUpper(Ra){return Ra>=CODE_POINTS.LATIN_CAPITAL_A&&Ra<=CODE_POINTS.LATIN_CAPITAL_Z}function isAsciiLower(Ra){return Ra>=CODE_POINTS.LATIN_SMALL_A&&Ra<=CODE_POINTS.LATIN_SMALL_Z}function isAsciiLetter(Ra){return isAsciiLower(Ra)||isAsciiUpper(Ra)}function isAsciiAlphaNumeric(Ra){return isAsciiLetter(Ra)||isAsciiDigit(Ra)}function isAsciiUpperHexDigit(Ra){return Ra>=CODE_POINTS.LATIN_CAPITAL_A&&Ra<=CODE_POINTS.LATIN_CAPITAL_F}function isAsciiLowerHexDigit(Ra){return Ra>=CODE_POINTS.LATIN_SMALL_A&&Ra<=CODE_POINTS.LATIN_SMALL_F}function isAsciiHexDigit(Ra){return isAsciiDigit(Ra)||isAsciiUpperHexDigit(Ra)||isAsciiLowerHexDigit(Ra)}function toAsciiLower(Ra){return Ra+32}function isWhitespace$2(Ra){return Ra===CODE_POINTS.SPACE||Ra===CODE_POINTS.LINE_FEED||Ra===CODE_POINTS.TABULATION||Ra===CODE_POINTS.FORM_FEED}function isEntityInAttributeInvalidEnd(Ra){return Ra===CODE_POINTS.EQUALS_SIGN||isAsciiAlphaNumeric(Ra)}function isScriptDataDoubleEscapeSequenceEnd(Ra){return isWhitespace$2(Ra)||Ra===CODE_POINTS.SOLIDUS||Ra===CODE_POINTS.GREATER_THAN_SIGN}let Tokenizer$1=class{constructor(qa,ed){this.options=qa,this.handler=ed,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=State$3.DATA,this.returnState=State$3.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Preprocessor(ed),this.currentLocation=this.getCurrentLocation(-1)}_err(qa){var ed,td;(td=(ed=this.handler).onParseError)===null||td===void 0||td.call(ed,this.preprocessor.getError(qa))}getCurrentLocation(qa){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-qa,startOffset:this.preprocessor.offset-qa,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const qa=this._consume();this._ensureHibernation()||this._callState(qa)}this.inLoop=!1}}pause(){this.paused=!0}resume(qa){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||qa==null||qa())}write(qa,ed,td){this.active=!0,this.preprocessor.write(qa,ed),this._runParsingLoop(),this.paused||td==null||td()}insertHtmlAtCurrentPos(qa){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(qa),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(qa){this.consumedAfterSnapshot-=qa,this.preprocessor.retreat(qa)}_reconsumeInState(qa,ed){this.state=qa,this._callState(ed)}_advanceBy(qa){this.consumedAfterSnapshot+=qa;for(let ed=0;ed0&&this._err(ERR.endTagWithAttributes),qa.selfClosing&&this._err(ERR.endTagWithTrailingSolidus),this.handler.onEndTag(qa)),this.preprocessor.dropParsedChunk()}emitCurrentComment(qa){this.prepareToken(qa),this.handler.onComment(qa),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(qa){this.prepareToken(qa),this.handler.onDoctype(qa),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(qa){if(this.currentCharacterToken){switch(qa&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=qa.startLine,this.currentCharacterToken.location.endCol=qa.startCol,this.currentCharacterToken.location.endOffset=qa.startOffset),this.currentCharacterToken.type){case TokenType.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case TokenType.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case TokenType.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const qa=this.getCurrentLocation(0);qa&&(qa.endLine=qa.startLine,qa.endCol=qa.startCol,qa.endOffset=qa.startOffset),this._emitCurrentCharacterToken(qa),this.handler.onEof({type:TokenType.EOF,location:qa}),this.active=!1}_appendCharToCurrentCharacterToken(qa,ed){if(this.currentCharacterToken)if(this.currentCharacterToken.type!==qa)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=ed;return}this._createCharacterToken(qa,ed)}_emitCodePoint(qa){const ed=isWhitespace$2(qa)?TokenType.WHITESPACE_CHARACTER:qa===CODE_POINTS.NULL?TokenType.NULL_CHARACTER:TokenType.CHARACTER;this._appendCharToCurrentCharacterToken(ed,String.fromCodePoint(qa))}_emitChars(qa){this._appendCharToCurrentCharacterToken(TokenType.CHARACTER,qa)}_matchNamedCharacterReference(qa){let ed=null,td=0,rd=!1;for(let sd=0,od=htmlDecodeTree[0];sd>=0&&(sd=determineBranch(htmlDecodeTree,od,sd+1,qa),!(sd<0));qa=this._consume()){td+=1,od=htmlDecodeTree[sd];const ld=od&BinTrieFlags.VALUE_LENGTH;if(ld){const ud=(ld>>14)-1;if(qa!==CODE_POINTS.SEMICOLON&&this._isCharacterReferenceInAttribute()&&isEntityInAttributeInvalidEnd(this.preprocessor.peek(1))?(ed=[CODE_POINTS.AMPERSAND],sd+=ud):(ed=ud===0?[htmlDecodeTree[sd]&~BinTrieFlags.VALUE_LENGTH]:ud===1?[htmlDecodeTree[++sd]]:[htmlDecodeTree[++sd],htmlDecodeTree[++sd]],td=0,rd=qa!==CODE_POINTS.SEMICOLON),ud===0){this._consume();break}}}return this._unconsume(td),rd&&!this.preprocessor.endOfChunkHit&&this._err(ERR.missingSemicolonAfterCharacterReference),this._unconsume(1),ed}_isCharacterReferenceInAttribute(){return this.returnState===State$3.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===State$3.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===State$3.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(qa){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(qa):this._emitCodePoint(qa)}_callState(qa){switch(this.state){case State$3.DATA:{this._stateData(qa);break}case State$3.RCDATA:{this._stateRcdata(qa);break}case State$3.RAWTEXT:{this._stateRawtext(qa);break}case State$3.SCRIPT_DATA:{this._stateScriptData(qa);break}case State$3.PLAINTEXT:{this._statePlaintext(qa);break}case State$3.TAG_OPEN:{this._stateTagOpen(qa);break}case State$3.END_TAG_OPEN:{this._stateEndTagOpen(qa);break}case State$3.TAG_NAME:{this._stateTagName(qa);break}case State$3.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(qa);break}case State$3.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(qa);break}case State$3.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(qa);break}case State$3.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(qa);break}case State$3.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(qa);break}case State$3.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(qa);break}case State$3.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(qa);break}case State$3.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(qa);break}case State$3.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(qa);break}case State$3.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(qa);break}case State$3.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(qa);break}case State$3.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(qa);break}case State$3.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(qa);break}case State$3.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(qa);break}case State$3.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(qa);break}case State$3.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(qa);break}case State$3.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(qa);break}case State$3.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(qa);break}case State$3.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(qa);break}case State$3.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(qa);break}case State$3.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(qa);break}case State$3.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(qa);break}case State$3.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(qa);break}case State$3.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(qa);break}case State$3.ATTRIBUTE_NAME:{this._stateAttributeName(qa);break}case State$3.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(qa);break}case State$3.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(qa);break}case State$3.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(qa);break}case State$3.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(qa);break}case State$3.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(qa);break}case State$3.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(qa);break}case State$3.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(qa);break}case State$3.BOGUS_COMMENT:{this._stateBogusComment(qa);break}case State$3.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(qa);break}case State$3.COMMENT_START:{this._stateCommentStart(qa);break}case State$3.COMMENT_START_DASH:{this._stateCommentStartDash(qa);break}case State$3.COMMENT:{this._stateComment(qa);break}case State$3.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(qa);break}case State$3.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(qa);break}case State$3.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(qa);break}case State$3.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(qa);break}case State$3.COMMENT_END_DASH:{this._stateCommentEndDash(qa);break}case State$3.COMMENT_END:{this._stateCommentEnd(qa);break}case State$3.COMMENT_END_BANG:{this._stateCommentEndBang(qa);break}case State$3.DOCTYPE:{this._stateDoctype(qa);break}case State$3.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(qa);break}case State$3.DOCTYPE_NAME:{this._stateDoctypeName(qa);break}case State$3.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(qa);break}case State$3.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(qa);break}case State$3.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(qa);break}case State$3.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(qa);break}case State$3.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(qa);break}case State$3.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(qa);break}case State$3.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(qa);break}case State$3.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(qa);break}case State$3.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(qa);break}case State$3.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(qa);break}case State$3.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(qa);break}case State$3.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(qa);break}case State$3.BOGUS_DOCTYPE:{this._stateBogusDoctype(qa);break}case State$3.CDATA_SECTION:{this._stateCdataSection(qa);break}case State$3.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(qa);break}case State$3.CDATA_SECTION_END:{this._stateCdataSectionEnd(qa);break}case State$3.CHARACTER_REFERENCE:{this._stateCharacterReference(qa);break}case State$3.NAMED_CHARACTER_REFERENCE:{this._stateNamedCharacterReference(qa);break}case State$3.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(qa);break}case State$3.NUMERIC_CHARACTER_REFERENCE:{this._stateNumericCharacterReference(qa);break}case State$3.HEXADEMICAL_CHARACTER_REFERENCE_START:{this._stateHexademicalCharacterReferenceStart(qa);break}case State$3.HEXADEMICAL_CHARACTER_REFERENCE:{this._stateHexademicalCharacterReference(qa);break}case State$3.DECIMAL_CHARACTER_REFERENCE:{this._stateDecimalCharacterReference(qa);break}case State$3.NUMERIC_CHARACTER_REFERENCE_END:{this._stateNumericCharacterReferenceEnd(qa);break}default:throw new Error("Unknown state")}}_stateData(qa){switch(qa){case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$3.TAG_OPEN;break}case CODE_POINTS.AMPERSAND:{this.returnState=State$3.DATA,this.state=State$3.CHARACTER_REFERENCE;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitCodePoint(qa);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateRcdata(qa){switch(qa){case CODE_POINTS.AMPERSAND:{this.returnState=State$3.RCDATA,this.state=State$3.CHARACTER_REFERENCE;break}case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$3.RCDATA_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateRawtext(qa){switch(qa){case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$3.RAWTEXT_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateScriptData(qa){switch(qa){case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$3.SCRIPT_DATA_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_statePlaintext(qa){switch(qa){case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateTagOpen(qa){if(isAsciiLetter(qa))this._createStartTagToken(),this.state=State$3.TAG_NAME,this._stateTagName(qa);else switch(qa){case CODE_POINTS.EXCLAMATION_MARK:{this.state=State$3.MARKUP_DECLARATION_OPEN;break}case CODE_POINTS.SOLIDUS:{this.state=State$3.END_TAG_OPEN;break}case CODE_POINTS.QUESTION_MARK:{this._err(ERR.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=State$3.BOGUS_COMMENT,this._stateBogusComment(qa);break}case CODE_POINTS.EOF:{this._err(ERR.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(ERR.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=State$3.DATA,this._stateData(qa)}}_stateEndTagOpen(qa){if(isAsciiLetter(qa))this._createEndTagToken(),this.state=State$3.TAG_NAME,this._stateTagName(qa);else switch(qa){case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.missingEndTagName),this.state=State$3.DATA;break}case CODE_POINTS.EOF:{this._err(ERR.eofBeforeTagName),this._emitChars("");break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this.state=State$3.SCRIPT_DATA_ESCAPED,this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=State$3.SCRIPT_DATA_ESCAPED,this._emitCodePoint(qa)}}_stateScriptDataEscapedLessThanSign(qa){qa===CODE_POINTS.SOLIDUS?this.state=State$3.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:isAsciiLetter(qa)?(this._emitChars("<"),this.state=State$3.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(qa)):(this._emitChars("<"),this.state=State$3.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(qa))}_stateScriptDataEscapedEndTagOpen(qa){isAsciiLetter(qa)?(this.state=State$3.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(qa)):(this._emitChars("");break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this.state=State$3.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=State$3.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(qa)}}_stateScriptDataDoubleEscapedLessThanSign(qa){qa===CODE_POINTS.SOLIDUS?(this.state=State$3.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=State$3.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(qa))}_stateScriptDataDoubleEscapeEnd(qa){if(this.preprocessor.startsWith(SEQUENCES.SCRIPT,!1)&&isScriptDataDoubleEscapeSequenceEnd(this.preprocessor.peek(SEQUENCES.SCRIPT.length))){this._emitCodePoint(qa);for(let ed=0;ed1114111)this._err(ERR.characterReferenceOutsideUnicodeRange),this.charRefCode=CODE_POINTS.REPLACEMENT_CHARACTER;else if(isSurrogate(this.charRefCode))this._err(ERR.surrogateCharacterReference),this.charRefCode=CODE_POINTS.REPLACEMENT_CHARACTER;else if(isUndefinedCodePoint(this.charRefCode))this._err(ERR.noncharacterCharacterReference);else if(isControlCodePoint(this.charRefCode)||this.charRefCode===CODE_POINTS.CARRIAGE_RETURN){this._err(ERR.controlCharacterReference);const ed=C1_CONTROLS_REFERENCE_REPLACEMENTS.get(this.charRefCode);ed!==void 0&&(this.charRefCode=ed)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,qa)}};const IMPLICIT_END_TAG_REQUIRED=new Set([TAG_ID.DD,TAG_ID.DT,TAG_ID.LI,TAG_ID.OPTGROUP,TAG_ID.OPTION,TAG_ID.P,TAG_ID.RB,TAG_ID.RP,TAG_ID.RT,TAG_ID.RTC]),IMPLICIT_END_TAG_REQUIRED_THOROUGHLY=new Set([...IMPLICIT_END_TAG_REQUIRED,TAG_ID.CAPTION,TAG_ID.COLGROUP,TAG_ID.TBODY,TAG_ID.TD,TAG_ID.TFOOT,TAG_ID.TH,TAG_ID.THEAD,TAG_ID.TR]),SCOPING_ELEMENT_NS=new Map([[TAG_ID.APPLET,NS.HTML],[TAG_ID.CAPTION,NS.HTML],[TAG_ID.HTML,NS.HTML],[TAG_ID.MARQUEE,NS.HTML],[TAG_ID.OBJECT,NS.HTML],[TAG_ID.TABLE,NS.HTML],[TAG_ID.TD,NS.HTML],[TAG_ID.TEMPLATE,NS.HTML],[TAG_ID.TH,NS.HTML],[TAG_ID.ANNOTATION_XML,NS.MATHML],[TAG_ID.MI,NS.MATHML],[TAG_ID.MN,NS.MATHML],[TAG_ID.MO,NS.MATHML],[TAG_ID.MS,NS.MATHML],[TAG_ID.MTEXT,NS.MATHML],[TAG_ID.DESC,NS.SVG],[TAG_ID.FOREIGN_OBJECT,NS.SVG],[TAG_ID.TITLE,NS.SVG]]),NAMED_HEADERS=[TAG_ID.H1,TAG_ID.H2,TAG_ID.H3,TAG_ID.H4,TAG_ID.H5,TAG_ID.H6],TABLE_ROW_CONTEXT=[TAG_ID.TR,TAG_ID.TEMPLATE,TAG_ID.HTML],TABLE_BODY_CONTEXT=[TAG_ID.TBODY,TAG_ID.TFOOT,TAG_ID.THEAD,TAG_ID.TEMPLATE,TAG_ID.HTML],TABLE_CONTEXT=[TAG_ID.TABLE,TAG_ID.TEMPLATE,TAG_ID.HTML],TABLE_CELLS=[TAG_ID.TD,TAG_ID.TH];class OpenElementStack{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(qa,ed,td){this.treeAdapter=ed,this.handler=td,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=TAG_ID.UNKNOWN,this.current=qa}_indexOf(qa){return this.items.lastIndexOf(qa,this.stackTop)}_isInTemplate(){return this.currentTagId===TAG_ID.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===NS.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(qa,ed){this.stackTop++,this.items[this.stackTop]=qa,this.current=qa,this.tagIDs[this.stackTop]=ed,this.currentTagId=ed,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(qa,ed,!0)}pop(){const qa=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(qa,!0)}replace(qa,ed){const td=this._indexOf(qa);this.items[td]=ed,td===this.stackTop&&(this.current=ed)}insertAfter(qa,ed,td){const rd=this._indexOf(qa)+1;this.items.splice(rd,0,ed),this.tagIDs.splice(rd,0,td),this.stackTop++,rd===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,rd===this.stackTop)}popUntilTagNamePopped(qa){let ed=this.stackTop+1;do ed=this.tagIDs.lastIndexOf(qa,ed-1);while(ed>0&&this.treeAdapter.getNamespaceURI(this.items[ed])!==NS.HTML);this.shortenToLength(ed<0?0:ed)}shortenToLength(qa){for(;this.stackTop>=qa;){const ed=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(ed,this.stackTop=0;td--)if(qa.includes(this.tagIDs[td])&&this.treeAdapter.getNamespaceURI(this.items[td])===ed)return td;return-1}clearBackTo(qa,ed){const td=this._indexOfTagNames(qa,ed);this.shortenToLength(td+1)}clearBackToTableContext(){this.clearBackTo(TABLE_CONTEXT,NS.HTML)}clearBackToTableBodyContext(){this.clearBackTo(TABLE_BODY_CONTEXT,NS.HTML)}clearBackToTableRowContext(){this.clearBackTo(TABLE_ROW_CONTEXT,NS.HTML)}remove(qa){const ed=this._indexOf(qa);ed>=0&&(ed===this.stackTop?this.pop():(this.items.splice(ed,1),this.tagIDs.splice(ed,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(qa,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===TAG_ID.BODY?this.items[1]:null}contains(qa){return this._indexOf(qa)>-1}getCommonAncestor(qa){const ed=this._indexOf(qa)-1;return ed>=0?this.items[ed]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===TAG_ID.HTML}hasInScope(qa){for(let ed=this.stackTop;ed>=0;ed--){const td=this.tagIDs[ed],rd=this.treeAdapter.getNamespaceURI(this.items[ed]);if(td===qa&&rd===NS.HTML)return!0;if(SCOPING_ELEMENT_NS.get(td)===rd)return!1}return!0}hasNumberedHeaderInScope(){for(let qa=this.stackTop;qa>=0;qa--){const ed=this.tagIDs[qa],td=this.treeAdapter.getNamespaceURI(this.items[qa]);if(isNumberedHeader(ed)&&td===NS.HTML)return!0;if(SCOPING_ELEMENT_NS.get(ed)===td)return!1}return!0}hasInListItemScope(qa){for(let ed=this.stackTop;ed>=0;ed--){const td=this.tagIDs[ed],rd=this.treeAdapter.getNamespaceURI(this.items[ed]);if(td===qa&&rd===NS.HTML)return!0;if((td===TAG_ID.UL||td===TAG_ID.OL)&&rd===NS.HTML||SCOPING_ELEMENT_NS.get(td)===rd)return!1}return!0}hasInButtonScope(qa){for(let ed=this.stackTop;ed>=0;ed--){const td=this.tagIDs[ed],rd=this.treeAdapter.getNamespaceURI(this.items[ed]);if(td===qa&&rd===NS.HTML)return!0;if(td===TAG_ID.BUTTON&&rd===NS.HTML||SCOPING_ELEMENT_NS.get(td)===rd)return!1}return!0}hasInTableScope(qa){for(let ed=this.stackTop;ed>=0;ed--){const td=this.tagIDs[ed];if(this.treeAdapter.getNamespaceURI(this.items[ed])===NS.HTML){if(td===qa)return!0;if(td===TAG_ID.TABLE||td===TAG_ID.TEMPLATE||td===TAG_ID.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let qa=this.stackTop;qa>=0;qa--){const ed=this.tagIDs[qa];if(this.treeAdapter.getNamespaceURI(this.items[qa])===NS.HTML){if(ed===TAG_ID.TBODY||ed===TAG_ID.THEAD||ed===TAG_ID.TFOOT)return!0;if(ed===TAG_ID.TABLE||ed===TAG_ID.HTML)return!1}}return!0}hasInSelectScope(qa){for(let ed=this.stackTop;ed>=0;ed--){const td=this.tagIDs[ed];if(this.treeAdapter.getNamespaceURI(this.items[ed])===NS.HTML){if(td===qa)return!0;if(td!==TAG_ID.OPTION&&td!==TAG_ID.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;IMPLICIT_END_TAG_REQUIRED.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;IMPLICIT_END_TAG_REQUIRED_THOROUGHLY.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(qa){for(;this.currentTagId!==qa&&IMPLICIT_END_TAG_REQUIRED_THOROUGHLY.has(this.currentTagId);)this.pop()}}const NOAH_ARK_CAPACITY=3;var EntryType;(function(Ra){Ra[Ra.Marker=0]="Marker",Ra[Ra.Element=1]="Element"})(EntryType=EntryType||(EntryType={}));const MARKER={type:EntryType.Marker};class FormattingElementList{constructor(qa){this.treeAdapter=qa,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(qa,ed){const td=[],rd=ed.length,sd=this.treeAdapter.getTagName(qa),od=this.treeAdapter.getNamespaceURI(qa);for(let ld=0;ld[od.name,od.value]));let sd=0;for(let od=0;odrd.get(ud.name)===ud.value)&&(sd+=1,sd>=NOAH_ARK_CAPACITY&&this.entries.splice(ld.idx,1))}}insertMarker(){this.entries.unshift(MARKER)}pushElement(qa,ed){this._ensureNoahArkCondition(qa),this.entries.unshift({type:EntryType.Element,element:qa,token:ed})}insertElementAfterBookmark(qa,ed){const td=this.entries.indexOf(this.bookmark);this.entries.splice(td,0,{type:EntryType.Element,element:qa,token:ed})}removeEntry(qa){const ed=this.entries.indexOf(qa);ed>=0&&this.entries.splice(ed,1)}clearToLastMarker(){const qa=this.entries.indexOf(MARKER);qa>=0?this.entries.splice(0,qa+1):this.entries.length=0}getElementEntryInScopeWithTagName(qa){const ed=this.entries.find(td=>td.type===EntryType.Marker||this.treeAdapter.getTagName(td.element)===qa);return ed&&ed.type===EntryType.Element?ed:null}getElementEntry(qa){return this.entries.find(ed=>ed.type===EntryType.Element&&ed.element===qa)}}function createTextNode$1(Ra){return{nodeName:"#text",value:Ra,parentNode:null}}const defaultTreeAdapter={createDocument(){return{nodeName:"#document",mode:DOCUMENT_MODE.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(Ra,qa,ed){return{nodeName:Ra,tagName:Ra,attrs:ed,namespaceURI:qa,childNodes:[],parentNode:null}},createCommentNode(Ra){return{nodeName:"#comment",data:Ra,parentNode:null}},appendChild(Ra,qa){Ra.childNodes.push(qa),qa.parentNode=Ra},insertBefore(Ra,qa,ed){const td=Ra.childNodes.indexOf(ed);Ra.childNodes.splice(td,0,qa),qa.parentNode=Ra},setTemplateContent(Ra,qa){Ra.content=qa},getTemplateContent(Ra){return Ra.content},setDocumentType(Ra,qa,ed,td){const rd=Ra.childNodes.find(sd=>sd.nodeName==="#documentType");if(rd)rd.name=qa,rd.publicId=ed,rd.systemId=td;else{const sd={nodeName:"#documentType",name:qa,publicId:ed,systemId:td,parentNode:null};defaultTreeAdapter.appendChild(Ra,sd)}},setDocumentMode(Ra,qa){Ra.mode=qa},getDocumentMode(Ra){return Ra.mode},detachNode(Ra){if(Ra.parentNode){const qa=Ra.parentNode.childNodes.indexOf(Ra);Ra.parentNode.childNodes.splice(qa,1),Ra.parentNode=null}},insertText(Ra,qa){if(Ra.childNodes.length>0){const ed=Ra.childNodes[Ra.childNodes.length-1];if(defaultTreeAdapter.isTextNode(ed)){ed.value+=qa;return}}defaultTreeAdapter.appendChild(Ra,createTextNode$1(qa))},insertTextBefore(Ra,qa,ed){const td=Ra.childNodes[Ra.childNodes.indexOf(ed)-1];td&&defaultTreeAdapter.isTextNode(td)?td.value+=qa:defaultTreeAdapter.insertBefore(Ra,createTextNode$1(qa),ed)},adoptAttributes(Ra,qa){const ed=new Set(Ra.attrs.map(td=>td.name));for(let td=0;tdRa.startsWith(ed))}function isConforming(Ra){return Ra.name===VALID_DOCTYPE_NAME&&Ra.publicId===null&&(Ra.systemId===null||Ra.systemId===VALID_SYSTEM_ID)}function getDocumentMode(Ra){if(Ra.name!==VALID_DOCTYPE_NAME)return DOCUMENT_MODE.QUIRKS;const{systemId:qa}=Ra;if(qa&&qa.toLowerCase()===QUIRKS_MODE_SYSTEM_ID)return DOCUMENT_MODE.QUIRKS;let{publicId:ed}=Ra;if(ed!==null){if(ed=ed.toLowerCase(),QUIRKS_MODE_PUBLIC_IDS.has(ed))return DOCUMENT_MODE.QUIRKS;let td=qa===null?QUIRKS_MODE_NO_SYSTEM_ID_PUBLIC_ID_PREFIXES:QUIRKS_MODE_PUBLIC_ID_PREFIXES;if(hasPrefix(ed,td))return DOCUMENT_MODE.QUIRKS;if(td=qa===null?LIMITED_QUIRKS_PUBLIC_ID_PREFIXES:LIMITED_QUIRKS_WITH_SYSTEM_ID_PUBLIC_ID_PREFIXES,hasPrefix(ed,td))return DOCUMENT_MODE.LIMITED_QUIRKS}return DOCUMENT_MODE.NO_QUIRKS}const MIME_TYPES={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},DEFINITION_URL_ATTR="definitionurl",ADJUSTED_DEFINITION_URL_ATTR="definitionURL",SVG_ATTRS_ADJUSTMENT_MAP=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(Ra=>[Ra.toLowerCase(),Ra])),XML_ATTRS_ADJUSTMENT_MAP=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:NS.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:NS.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:NS.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:NS.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:NS.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:NS.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:NS.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:NS.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:NS.XML}],["xml:space",{prefix:"xml",name:"space",namespace:NS.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:NS.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:NS.XMLNS}]]),SVG_TAG_NAMES_ADJUSTMENT_MAP=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(Ra=>[Ra.toLowerCase(),Ra])),EXITS_FOREIGN_CONTENT=new Set([TAG_ID.B,TAG_ID.BIG,TAG_ID.BLOCKQUOTE,TAG_ID.BODY,TAG_ID.BR,TAG_ID.CENTER,TAG_ID.CODE,TAG_ID.DD,TAG_ID.DIV,TAG_ID.DL,TAG_ID.DT,TAG_ID.EM,TAG_ID.EMBED,TAG_ID.H1,TAG_ID.H2,TAG_ID.H3,TAG_ID.H4,TAG_ID.H5,TAG_ID.H6,TAG_ID.HEAD,TAG_ID.HR,TAG_ID.I,TAG_ID.IMG,TAG_ID.LI,TAG_ID.LISTING,TAG_ID.MENU,TAG_ID.META,TAG_ID.NOBR,TAG_ID.OL,TAG_ID.P,TAG_ID.PRE,TAG_ID.RUBY,TAG_ID.S,TAG_ID.SMALL,TAG_ID.SPAN,TAG_ID.STRONG,TAG_ID.STRIKE,TAG_ID.SUB,TAG_ID.SUP,TAG_ID.TABLE,TAG_ID.TT,TAG_ID.U,TAG_ID.UL,TAG_ID.VAR]);function causesExit(Ra){const qa=Ra.tagID;return qa===TAG_ID.FONT&&Ra.attrs.some(({name:td})=>td===ATTRS.COLOR||td===ATTRS.SIZE||td===ATTRS.FACE)||EXITS_FOREIGN_CONTENT.has(qa)}function adjustTokenMathMLAttrs(Ra){for(let qa=0;qa0&&this._setContextModes(qa,ed)}onItemPop(qa,ed){var td,rd;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(qa,this.currentToken),(rd=(td=this.treeAdapter).onItemPop)===null||rd===void 0||rd.call(td,qa,this.openElements.current),ed){let sd,od;this.openElements.stackTop===0&&this.fragmentContext?(sd=this.fragmentContext,od=this.fragmentContextID):{current:sd,currentTagId:od}=this.openElements,this._setContextModes(sd,od)}}_setContextModes(qa,ed){const td=qa===this.document||this.treeAdapter.getNamespaceURI(qa)===NS.HTML;this.currentNotInHTML=!td,this.tokenizer.inForeignNode=!td&&!this._isIntegrationPoint(ed,qa)}_switchToTextParsing(qa,ed){this._insertElement(qa,NS.HTML),this.tokenizer.state=ed,this.originalInsertionMode=this.insertionMode,this.insertionMode=InsertionMode.TEXT}switchToPlaintextParsing(){this.insertionMode=InsertionMode.TEXT,this.originalInsertionMode=InsertionMode.IN_BODY,this.tokenizer.state=TokenizerMode.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let qa=this.fragmentContext;for(;qa;){if(this.treeAdapter.getTagName(qa)===TAG_NAMES.FORM){this.formElement=qa;break}qa=this.treeAdapter.getParentNode(qa)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==NS.HTML))switch(this.fragmentContextID){case TAG_ID.TITLE:case TAG_ID.TEXTAREA:{this.tokenizer.state=TokenizerMode.RCDATA;break}case TAG_ID.STYLE:case TAG_ID.XMP:case TAG_ID.IFRAME:case TAG_ID.NOEMBED:case TAG_ID.NOFRAMES:case TAG_ID.NOSCRIPT:{this.tokenizer.state=TokenizerMode.RAWTEXT;break}case TAG_ID.SCRIPT:{this.tokenizer.state=TokenizerMode.SCRIPT_DATA;break}case TAG_ID.PLAINTEXT:{this.tokenizer.state=TokenizerMode.PLAINTEXT;break}}}_setDocumentType(qa){const ed=qa.name||"",td=qa.publicId||"",rd=qa.systemId||"";if(this.treeAdapter.setDocumentType(this.document,ed,td,rd),qa.location){const od=this.treeAdapter.getChildNodes(this.document).find(ld=>this.treeAdapter.isDocumentTypeNode(ld));od&&this.treeAdapter.setNodeSourceCodeLocation(od,qa.location)}}_attachElementToTree(qa,ed){if(this.options.sourceCodeLocationInfo){const td=ed&&{...ed,startTag:ed};this.treeAdapter.setNodeSourceCodeLocation(qa,td)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(qa);else{const td=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(td,qa)}}_appendElement(qa,ed){const td=this.treeAdapter.createElement(qa.tagName,ed,qa.attrs);this._attachElementToTree(td,qa.location)}_insertElement(qa,ed){const td=this.treeAdapter.createElement(qa.tagName,ed,qa.attrs);this._attachElementToTree(td,qa.location),this.openElements.push(td,qa.tagID)}_insertFakeElement(qa,ed){const td=this.treeAdapter.createElement(qa,NS.HTML,[]);this._attachElementToTree(td,null),this.openElements.push(td,ed)}_insertTemplate(qa){const ed=this.treeAdapter.createElement(qa.tagName,NS.HTML,qa.attrs),td=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(ed,td),this._attachElementToTree(ed,qa.location),this.openElements.push(ed,qa.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(td,null)}_insertFakeRootElement(){const qa=this.treeAdapter.createElement(TAG_NAMES.HTML,NS.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(qa,null),this.treeAdapter.appendChild(this.openElements.current,qa),this.openElements.push(qa,TAG_ID.HTML)}_appendCommentNode(qa,ed){const td=this.treeAdapter.createCommentNode(qa.data);this.treeAdapter.appendChild(ed,td),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(td,qa.location)}_insertCharacters(qa){let ed,td;if(this._shouldFosterParentOnInsertion()?({parent:ed,beforeElement:td}=this._findFosterParentingLocation(),td?this.treeAdapter.insertTextBefore(ed,qa.chars,td):this.treeAdapter.insertText(ed,qa.chars)):(ed=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(ed,qa.chars)),!qa.location)return;const rd=this.treeAdapter.getChildNodes(ed),sd=td?rd.lastIndexOf(td):rd.length,od=rd[sd-1];if(this.treeAdapter.getNodeSourceCodeLocation(od)){const{endLine:ud,endCol:cd,endOffset:dd}=qa.location;this.treeAdapter.updateNodeSourceCodeLocation(od,{endLine:ud,endCol:cd,endOffset:dd})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(od,qa.location)}_adoptNodes(qa,ed){for(let td=this.treeAdapter.getFirstChild(qa);td;td=this.treeAdapter.getFirstChild(qa))this.treeAdapter.detachNode(td),this.treeAdapter.appendChild(ed,td)}_setEndLocation(qa,ed){if(this.treeAdapter.getNodeSourceCodeLocation(qa)&&ed.location){const td=ed.location,rd=this.treeAdapter.getTagName(qa),sd=ed.type===TokenType.END_TAG&&rd===ed.tagName?{endTag:{...td},endLine:td.endLine,endCol:td.endCol,endOffset:td.endOffset}:{endLine:td.startLine,endCol:td.startCol,endOffset:td.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(qa,sd)}}shouldProcessStartTagTokenInForeignContent(qa){if(!this.currentNotInHTML)return!1;let ed,td;return this.openElements.stackTop===0&&this.fragmentContext?(ed=this.fragmentContext,td=this.fragmentContextID):{current:ed,currentTagId:td}=this.openElements,qa.tagID===TAG_ID.SVG&&this.treeAdapter.getTagName(ed)===TAG_NAMES.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(ed)===NS.MATHML?!1:this.tokenizer.inForeignNode||(qa.tagID===TAG_ID.MGLYPH||qa.tagID===TAG_ID.MALIGNMARK)&&!this._isIntegrationPoint(td,ed,NS.HTML)}_processToken(qa){switch(qa.type){case TokenType.CHARACTER:{this.onCharacter(qa);break}case TokenType.NULL_CHARACTER:{this.onNullCharacter(qa);break}case TokenType.COMMENT:{this.onComment(qa);break}case TokenType.DOCTYPE:{this.onDoctype(qa);break}case TokenType.START_TAG:{this._processStartTag(qa);break}case TokenType.END_TAG:{this.onEndTag(qa);break}case TokenType.EOF:{this.onEof(qa);break}case TokenType.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(qa);break}}}_isIntegrationPoint(qa,ed,td){const rd=this.treeAdapter.getNamespaceURI(ed),sd=this.treeAdapter.getAttrList(ed);return isIntegrationPoint(qa,rd,sd,td)}_reconstructActiveFormattingElements(){const qa=this.activeFormattingElements.entries.length;if(qa){const ed=this.activeFormattingElements.entries.findIndex(rd=>rd.type===EntryType.Marker||this.openElements.contains(rd.element)),td=ed<0?qa-1:ed-1;for(let rd=td;rd>=0;rd--){const sd=this.activeFormattingElements.entries[rd];this._insertElement(sd.token,this.treeAdapter.getNamespaceURI(sd.element)),sd.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=InsertionMode.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.P),this.openElements.popUntilTagNamePopped(TAG_ID.P)}_resetInsertionMode(){for(let qa=this.openElements.stackTop;qa>=0;qa--)switch(qa===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[qa]){case TAG_ID.TR:{this.insertionMode=InsertionMode.IN_ROW;return}case TAG_ID.TBODY:case TAG_ID.THEAD:case TAG_ID.TFOOT:{this.insertionMode=InsertionMode.IN_TABLE_BODY;return}case TAG_ID.CAPTION:{this.insertionMode=InsertionMode.IN_CAPTION;return}case TAG_ID.COLGROUP:{this.insertionMode=InsertionMode.IN_COLUMN_GROUP;return}case TAG_ID.TABLE:{this.insertionMode=InsertionMode.IN_TABLE;return}case TAG_ID.BODY:{this.insertionMode=InsertionMode.IN_BODY;return}case TAG_ID.FRAMESET:{this.insertionMode=InsertionMode.IN_FRAMESET;return}case TAG_ID.SELECT:{this._resetInsertionModeForSelect(qa);return}case TAG_ID.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case TAG_ID.HTML:{this.insertionMode=this.headElement?InsertionMode.AFTER_HEAD:InsertionMode.BEFORE_HEAD;return}case TAG_ID.TD:case TAG_ID.TH:{if(qa>0){this.insertionMode=InsertionMode.IN_CELL;return}break}case TAG_ID.HEAD:{if(qa>0){this.insertionMode=InsertionMode.IN_HEAD;return}break}}this.insertionMode=InsertionMode.IN_BODY}_resetInsertionModeForSelect(qa){if(qa>0)for(let ed=qa-1;ed>0;ed--){const td=this.openElements.tagIDs[ed];if(td===TAG_ID.TEMPLATE)break;if(td===TAG_ID.TABLE){this.insertionMode=InsertionMode.IN_SELECT_IN_TABLE;return}}this.insertionMode=InsertionMode.IN_SELECT}_isElementCausesFosterParenting(qa){return TABLE_STRUCTURE_TAGS.has(qa)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let qa=this.openElements.stackTop;qa>=0;qa--){const ed=this.openElements.items[qa];switch(this.openElements.tagIDs[qa]){case TAG_ID.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(ed)===NS.HTML)return{parent:this.treeAdapter.getTemplateContent(ed),beforeElement:null};break}case TAG_ID.TABLE:{const td=this.treeAdapter.getParentNode(ed);return td?{parent:td,beforeElement:ed}:{parent:this.openElements.items[qa-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(qa){const ed=this._findFosterParentingLocation();ed.beforeElement?this.treeAdapter.insertBefore(ed.parent,qa,ed.beforeElement):this.treeAdapter.appendChild(ed.parent,qa)}_isSpecialElement(qa,ed){const td=this.treeAdapter.getNamespaceURI(qa);return SPECIAL_ELEMENTS[td].has(ed)}onCharacter(qa){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){characterInForeignContent(this,qa);return}switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{tokenBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{tokenBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{tokenInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{tokenInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{tokenAfterHead(this,qa);break}case InsertionMode.IN_BODY:case InsertionMode.IN_CAPTION:case InsertionMode.IN_CELL:case InsertionMode.IN_TEMPLATE:{characterInBody(this,qa);break}case InsertionMode.TEXT:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:{this._insertCharacters(qa);break}case InsertionMode.IN_TABLE:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:{characterInTable(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{characterInTableText(this,qa);break}case InsertionMode.IN_COLUMN_GROUP:{tokenInColumnGroup(this,qa);break}case InsertionMode.AFTER_BODY:{tokenAfterBody(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:{tokenAfterAfterBody(this,qa);break}}}onNullCharacter(qa){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){nullCharacterInForeignContent(this,qa);return}switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{tokenBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{tokenBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{tokenInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{tokenInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{tokenAfterHead(this,qa);break}case InsertionMode.TEXT:{this._insertCharacters(qa);break}case InsertionMode.IN_TABLE:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:{characterInTable(this,qa);break}case InsertionMode.IN_COLUMN_GROUP:{tokenInColumnGroup(this,qa);break}case InsertionMode.AFTER_BODY:{tokenAfterBody(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:{tokenAfterAfterBody(this,qa);break}}}onComment(qa){if(this.skipNextNewLine=!1,this.currentNotInHTML){appendComment(this,qa);return}switch(this.insertionMode){case InsertionMode.INITIAL:case InsertionMode.BEFORE_HTML:case InsertionMode.BEFORE_HEAD:case InsertionMode.IN_HEAD:case InsertionMode.IN_HEAD_NO_SCRIPT:case InsertionMode.AFTER_HEAD:case InsertionMode.IN_BODY:case InsertionMode.IN_TABLE:case InsertionMode.IN_CAPTION:case InsertionMode.IN_COLUMN_GROUP:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:case InsertionMode.IN_CELL:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:case InsertionMode.IN_TEMPLATE:case InsertionMode.IN_FRAMESET:case InsertionMode.AFTER_FRAMESET:{appendComment(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}case InsertionMode.AFTER_BODY:{appendCommentToRootHtmlElement(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:case InsertionMode.AFTER_AFTER_FRAMESET:{appendCommentToDocument(this,qa);break}}}onDoctype(qa){switch(this.skipNextNewLine=!1,this.insertionMode){case InsertionMode.INITIAL:{doctypeInInitialMode(this,qa);break}case InsertionMode.BEFORE_HEAD:case InsertionMode.IN_HEAD:case InsertionMode.IN_HEAD_NO_SCRIPT:case InsertionMode.AFTER_HEAD:{this._err(qa,ERR.misplacedDoctype);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}}}onStartTag(qa){this.skipNextNewLine=!1,this.currentToken=qa,this._processStartTag(qa),qa.selfClosing&&!qa.ackSelfClosing&&this._err(qa,ERR.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(qa){this.shouldProcessStartTagTokenInForeignContent(qa)?startTagInForeignContent(this,qa):this._startTagOutsideForeignContent(qa)}_startTagOutsideForeignContent(qa){switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{startTagBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{startTagBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{startTagInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{startTagInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{startTagAfterHead(this,qa);break}case InsertionMode.IN_BODY:{startTagInBody(this,qa);break}case InsertionMode.IN_TABLE:{startTagInTable(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}case InsertionMode.IN_CAPTION:{startTagInCaption(this,qa);break}case InsertionMode.IN_COLUMN_GROUP:{startTagInColumnGroup(this,qa);break}case InsertionMode.IN_TABLE_BODY:{startTagInTableBody(this,qa);break}case InsertionMode.IN_ROW:{startTagInRow(this,qa);break}case InsertionMode.IN_CELL:{startTagInCell(this,qa);break}case InsertionMode.IN_SELECT:{startTagInSelect(this,qa);break}case InsertionMode.IN_SELECT_IN_TABLE:{startTagInSelectInTable(this,qa);break}case InsertionMode.IN_TEMPLATE:{startTagInTemplate(this,qa);break}case InsertionMode.AFTER_BODY:{startTagAfterBody(this,qa);break}case InsertionMode.IN_FRAMESET:{startTagInFrameset(this,qa);break}case InsertionMode.AFTER_FRAMESET:{startTagAfterFrameset(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:{startTagAfterAfterBody(this,qa);break}case InsertionMode.AFTER_AFTER_FRAMESET:{startTagAfterAfterFrameset(this,qa);break}}}onEndTag(qa){this.skipNextNewLine=!1,this.currentToken=qa,this.currentNotInHTML?endTagInForeignContent(this,qa):this._endTagOutsideForeignContent(qa)}_endTagOutsideForeignContent(qa){switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{endTagBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{endTagBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{endTagInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{endTagInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{endTagAfterHead(this,qa);break}case InsertionMode.IN_BODY:{endTagInBody(this,qa);break}case InsertionMode.TEXT:{endTagInText(this,qa);break}case InsertionMode.IN_TABLE:{endTagInTable(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}case InsertionMode.IN_CAPTION:{endTagInCaption(this,qa);break}case InsertionMode.IN_COLUMN_GROUP:{endTagInColumnGroup(this,qa);break}case InsertionMode.IN_TABLE_BODY:{endTagInTableBody(this,qa);break}case InsertionMode.IN_ROW:{endTagInRow(this,qa);break}case InsertionMode.IN_CELL:{endTagInCell(this,qa);break}case InsertionMode.IN_SELECT:{endTagInSelect(this,qa);break}case InsertionMode.IN_SELECT_IN_TABLE:{endTagInSelectInTable(this,qa);break}case InsertionMode.IN_TEMPLATE:{endTagInTemplate(this,qa);break}case InsertionMode.AFTER_BODY:{endTagAfterBody(this,qa);break}case InsertionMode.IN_FRAMESET:{endTagInFrameset(this,qa);break}case InsertionMode.AFTER_FRAMESET:{endTagAfterFrameset(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:{tokenAfterAfterBody(this,qa);break}}}onEof(qa){switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{tokenBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{tokenBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{tokenInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{tokenInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{tokenAfterHead(this,qa);break}case InsertionMode.IN_BODY:case InsertionMode.IN_TABLE:case InsertionMode.IN_CAPTION:case InsertionMode.IN_COLUMN_GROUP:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:case InsertionMode.IN_CELL:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:{eofInBody(this,qa);break}case InsertionMode.TEXT:{eofInText(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}case InsertionMode.IN_TEMPLATE:{eofInTemplate(this,qa);break}case InsertionMode.AFTER_BODY:case InsertionMode.IN_FRAMESET:case InsertionMode.AFTER_FRAMESET:case InsertionMode.AFTER_AFTER_BODY:case InsertionMode.AFTER_AFTER_FRAMESET:{stopParsing(this,qa);break}}}onWhitespaceCharacter(qa){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,qa.chars.charCodeAt(0)===CODE_POINTS.LINE_FEED)){if(qa.chars.length===1)return;qa.chars=qa.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(qa);return}switch(this.insertionMode){case InsertionMode.IN_HEAD:case InsertionMode.IN_HEAD_NO_SCRIPT:case InsertionMode.AFTER_HEAD:case InsertionMode.TEXT:case InsertionMode.IN_COLUMN_GROUP:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:case InsertionMode.IN_FRAMESET:case InsertionMode.AFTER_FRAMESET:{this._insertCharacters(qa);break}case InsertionMode.IN_BODY:case InsertionMode.IN_CAPTION:case InsertionMode.IN_CELL:case InsertionMode.IN_TEMPLATE:case InsertionMode.AFTER_BODY:case InsertionMode.AFTER_AFTER_BODY:case InsertionMode.AFTER_AFTER_FRAMESET:{whitespaceCharacterInBody(this,qa);break}case InsertionMode.IN_TABLE:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:{characterInTable(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{whitespaceCharacterInTableText(this,qa);break}}}};function aaObtainFormattingElementEntry(Ra,qa){let ed=Ra.activeFormattingElements.getElementEntryInScopeWithTagName(qa.tagName);return ed?Ra.openElements.contains(ed.element)?Ra.openElements.hasInScope(qa.tagID)||(ed=null):(Ra.activeFormattingElements.removeEntry(ed),ed=null):genericEndTagInBody(Ra,qa),ed}function aaObtainFurthestBlock(Ra,qa){let ed=null,td=Ra.openElements.stackTop;for(;td>=0;td--){const rd=Ra.openElements.items[td];if(rd===qa.element)break;Ra._isSpecialElement(rd,Ra.openElements.tagIDs[td])&&(ed=rd)}return ed||(Ra.openElements.shortenToLength(td<0?0:td),Ra.activeFormattingElements.removeEntry(qa)),ed}function aaInnerLoop(Ra,qa,ed){let td=qa,rd=Ra.openElements.getCommonAncestor(qa);for(let sd=0,od=rd;od!==ed;sd++,od=rd){rd=Ra.openElements.getCommonAncestor(od);const ld=Ra.activeFormattingElements.getElementEntry(od),ud=ld&&sd>=AA_INNER_LOOP_ITER;!ld||ud?(ud&&Ra.activeFormattingElements.removeEntry(ld),Ra.openElements.remove(od)):(od=aaRecreateElementFromEntry(Ra,ld),td===qa&&(Ra.activeFormattingElements.bookmark=ld),Ra.treeAdapter.detachNode(td),Ra.treeAdapter.appendChild(od,td),td=od)}return td}function aaRecreateElementFromEntry(Ra,qa){const ed=Ra.treeAdapter.getNamespaceURI(qa.element),td=Ra.treeAdapter.createElement(qa.token.tagName,ed,qa.token.attrs);return Ra.openElements.replace(qa.element,td),qa.element=td,td}function aaInsertLastNodeInCommonAncestor(Ra,qa,ed){const td=Ra.treeAdapter.getTagName(qa),rd=getTagID(td);if(Ra._isElementCausesFosterParenting(rd))Ra._fosterParentElement(ed);else{const sd=Ra.treeAdapter.getNamespaceURI(qa);rd===TAG_ID.TEMPLATE&&sd===NS.HTML&&(qa=Ra.treeAdapter.getTemplateContent(qa)),Ra.treeAdapter.appendChild(qa,ed)}}function aaReplaceFormattingElement(Ra,qa,ed){const td=Ra.treeAdapter.getNamespaceURI(ed.element),{token:rd}=ed,sd=Ra.treeAdapter.createElement(rd.tagName,td,rd.attrs);Ra._adoptNodes(qa,sd),Ra.treeAdapter.appendChild(qa,sd),Ra.activeFormattingElements.insertElementAfterBookmark(sd,rd),Ra.activeFormattingElements.removeEntry(ed),Ra.openElements.remove(ed.element),Ra.openElements.insertAfter(qa,sd,rd.tagID)}function callAdoptionAgency(Ra,qa){for(let ed=0;ed=ed;td--)Ra._setEndLocation(Ra.openElements.items[td],qa);if(!Ra.fragmentContext&&Ra.openElements.stackTop>=0){const td=Ra.openElements.items[0],rd=Ra.treeAdapter.getNodeSourceCodeLocation(td);if(rd&&!rd.endTag&&(Ra._setEndLocation(td,qa),Ra.openElements.stackTop>=1)){const sd=Ra.openElements.items[1],od=Ra.treeAdapter.getNodeSourceCodeLocation(sd);od&&!od.endTag&&Ra._setEndLocation(sd,qa)}}}}function doctypeInInitialMode(Ra,qa){Ra._setDocumentType(qa);const ed=qa.forceQuirks?DOCUMENT_MODE.QUIRKS:getDocumentMode(qa);isConforming(qa)||Ra._err(qa,ERR.nonConformingDoctype),Ra.treeAdapter.setDocumentMode(Ra.document,ed),Ra.insertionMode=InsertionMode.BEFORE_HTML}function tokenInInitialMode(Ra,qa){Ra._err(qa,ERR.missingDoctype,!0),Ra.treeAdapter.setDocumentMode(Ra.document,DOCUMENT_MODE.QUIRKS),Ra.insertionMode=InsertionMode.BEFORE_HTML,Ra._processToken(qa)}function startTagBeforeHtml(Ra,qa){qa.tagID===TAG_ID.HTML?(Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.BEFORE_HEAD):tokenBeforeHtml(Ra,qa)}function endTagBeforeHtml(Ra,qa){const ed=qa.tagID;(ed===TAG_ID.HTML||ed===TAG_ID.HEAD||ed===TAG_ID.BODY||ed===TAG_ID.BR)&&tokenBeforeHtml(Ra,qa)}function tokenBeforeHtml(Ra,qa){Ra._insertFakeRootElement(),Ra.insertionMode=InsertionMode.BEFORE_HEAD,Ra._processToken(qa)}function startTagBeforeHead(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.HEAD:{Ra._insertElement(qa,NS.HTML),Ra.headElement=Ra.openElements.current,Ra.insertionMode=InsertionMode.IN_HEAD;break}default:tokenBeforeHead(Ra,qa)}}function endTagBeforeHead(Ra,qa){const ed=qa.tagID;ed===TAG_ID.HEAD||ed===TAG_ID.BODY||ed===TAG_ID.HTML||ed===TAG_ID.BR?tokenBeforeHead(Ra,qa):Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}function tokenBeforeHead(Ra,qa){Ra._insertFakeElement(TAG_NAMES.HEAD,TAG_ID.HEAD),Ra.headElement=Ra.openElements.current,Ra.insertionMode=InsertionMode.IN_HEAD,Ra._processToken(qa)}function startTagInHead(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.BASE:case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.LINK:case TAG_ID.META:{Ra._appendElement(qa,NS.HTML),qa.ackSelfClosing=!0;break}case TAG_ID.TITLE:{Ra._switchToTextParsing(qa,TokenizerMode.RCDATA);break}case TAG_ID.NOSCRIPT:{Ra.options.scriptingEnabled?Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT):(Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_HEAD_NO_SCRIPT);break}case TAG_ID.NOFRAMES:case TAG_ID.STYLE:{Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT);break}case TAG_ID.SCRIPT:{Ra._switchToTextParsing(qa,TokenizerMode.SCRIPT_DATA);break}case TAG_ID.TEMPLATE:{Ra._insertTemplate(qa),Ra.activeFormattingElements.insertMarker(),Ra.framesetOk=!1,Ra.insertionMode=InsertionMode.IN_TEMPLATE,Ra.tmplInsertionModeStack.unshift(InsertionMode.IN_TEMPLATE);break}case TAG_ID.HEAD:{Ra._err(qa,ERR.misplacedStartTagForHeadElement);break}default:tokenInHead(Ra,qa)}}function endTagInHead(Ra,qa){switch(qa.tagID){case TAG_ID.HEAD:{Ra.openElements.pop(),Ra.insertionMode=InsertionMode.AFTER_HEAD;break}case TAG_ID.BODY:case TAG_ID.BR:case TAG_ID.HTML:{tokenInHead(Ra,qa);break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}default:Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}}function templateEndTagInHead(Ra,qa){Ra.openElements.tmplCount>0?(Ra.openElements.generateImpliedEndTagsThoroughly(),Ra.openElements.currentTagId!==TAG_ID.TEMPLATE&&Ra._err(qa,ERR.closingOfElementWithOpenChildElements),Ra.openElements.popUntilTagNamePopped(TAG_ID.TEMPLATE),Ra.activeFormattingElements.clearToLastMarker(),Ra.tmplInsertionModeStack.shift(),Ra._resetInsertionMode()):Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}function tokenInHead(Ra,qa){Ra.openElements.pop(),Ra.insertionMode=InsertionMode.AFTER_HEAD,Ra._processToken(qa)}function startTagInHeadNoScript(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.HEAD:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.NOFRAMES:case TAG_ID.STYLE:{startTagInHead(Ra,qa);break}case TAG_ID.NOSCRIPT:{Ra._err(qa,ERR.nestedNoscriptInHead);break}default:tokenInHeadNoScript(Ra,qa)}}function endTagInHeadNoScript(Ra,qa){switch(qa.tagID){case TAG_ID.NOSCRIPT:{Ra.openElements.pop(),Ra.insertionMode=InsertionMode.IN_HEAD;break}case TAG_ID.BR:{tokenInHeadNoScript(Ra,qa);break}default:Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}}function tokenInHeadNoScript(Ra,qa){const ed=qa.type===TokenType.EOF?ERR.openElementsLeftAfterEof:ERR.disallowedContentInNoscriptInHead;Ra._err(qa,ed),Ra.openElements.pop(),Ra.insertionMode=InsertionMode.IN_HEAD,Ra._processToken(qa)}function startTagAfterHead(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.BODY:{Ra._insertElement(qa,NS.HTML),Ra.framesetOk=!1,Ra.insertionMode=InsertionMode.IN_BODY;break}case TAG_ID.FRAMESET:{Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_FRAMESET;break}case TAG_ID.BASE:case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.NOFRAMES:case TAG_ID.SCRIPT:case TAG_ID.STYLE:case TAG_ID.TEMPLATE:case TAG_ID.TITLE:{Ra._err(qa,ERR.abandonedHeadElementChild),Ra.openElements.push(Ra.headElement,TAG_ID.HEAD),startTagInHead(Ra,qa),Ra.openElements.remove(Ra.headElement);break}case TAG_ID.HEAD:{Ra._err(qa,ERR.misplacedStartTagForHeadElement);break}default:tokenAfterHead(Ra,qa)}}function endTagAfterHead(Ra,qa){switch(qa.tagID){case TAG_ID.BODY:case TAG_ID.HTML:case TAG_ID.BR:{tokenAfterHead(Ra,qa);break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}default:Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}}function tokenAfterHead(Ra,qa){Ra._insertFakeElement(TAG_NAMES.BODY,TAG_ID.BODY),Ra.insertionMode=InsertionMode.IN_BODY,modeInBody(Ra,qa)}function modeInBody(Ra,qa){switch(qa.type){case TokenType.CHARACTER:{characterInBody(Ra,qa);break}case TokenType.WHITESPACE_CHARACTER:{whitespaceCharacterInBody(Ra,qa);break}case TokenType.COMMENT:{appendComment(Ra,qa);break}case TokenType.START_TAG:{startTagInBody(Ra,qa);break}case TokenType.END_TAG:{endTagInBody(Ra,qa);break}case TokenType.EOF:{eofInBody(Ra,qa);break}}}function whitespaceCharacterInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertCharacters(qa)}function characterInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertCharacters(qa),Ra.framesetOk=!1}function htmlStartTagInBody(Ra,qa){Ra.openElements.tmplCount===0&&Ra.treeAdapter.adoptAttributes(Ra.openElements.items[0],qa.attrs)}function bodyStartTagInBody(Ra,qa){const ed=Ra.openElements.tryPeekProperlyNestedBodyElement();ed&&Ra.openElements.tmplCount===0&&(Ra.framesetOk=!1,Ra.treeAdapter.adoptAttributes(ed,qa.attrs))}function framesetStartTagInBody(Ra,qa){const ed=Ra.openElements.tryPeekProperlyNestedBodyElement();Ra.framesetOk&&ed&&(Ra.treeAdapter.detachNode(ed),Ra.openElements.popAllUpToHtmlElement(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_FRAMESET)}function addressStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML)}function numberedHeaderStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),isNumberedHeader(Ra.openElements.currentTagId)&&Ra.openElements.pop(),Ra._insertElement(qa,NS.HTML)}function preStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML),Ra.skipNextNewLine=!0,Ra.framesetOk=!1}function formStartTagInBody(Ra,qa){const ed=Ra.openElements.tmplCount>0;(!Ra.formElement||ed)&&(Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML),ed||(Ra.formElement=Ra.openElements.current))}function listItemStartTagInBody(Ra,qa){Ra.framesetOk=!1;const ed=qa.tagID;for(let td=Ra.openElements.stackTop;td>=0;td--){const rd=Ra.openElements.tagIDs[td];if(ed===TAG_ID.LI&&rd===TAG_ID.LI||(ed===TAG_ID.DD||ed===TAG_ID.DT)&&(rd===TAG_ID.DD||rd===TAG_ID.DT)){Ra.openElements.generateImpliedEndTagsWithExclusion(rd),Ra.openElements.popUntilTagNamePopped(rd);break}if(rd!==TAG_ID.ADDRESS&&rd!==TAG_ID.DIV&&rd!==TAG_ID.P&&Ra._isSpecialElement(Ra.openElements.items[td],rd))break}Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML)}function plaintextStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML),Ra.tokenizer.state=TokenizerMode.PLAINTEXT}function buttonStartTagInBody(Ra,qa){Ra.openElements.hasInScope(TAG_ID.BUTTON)&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilTagNamePopped(TAG_ID.BUTTON)),Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.framesetOk=!1}function aStartTagInBody(Ra,qa){const ed=Ra.activeFormattingElements.getElementEntryInScopeWithTagName(TAG_NAMES.A);ed&&(callAdoptionAgency(Ra,qa),Ra.openElements.remove(ed.element),Ra.activeFormattingElements.removeEntry(ed)),Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.activeFormattingElements.pushElement(Ra.openElements.current,qa)}function bStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.activeFormattingElements.pushElement(Ra.openElements.current,qa)}function nobrStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra.openElements.hasInScope(TAG_ID.NOBR)&&(callAdoptionAgency(Ra,qa),Ra._reconstructActiveFormattingElements()),Ra._insertElement(qa,NS.HTML),Ra.activeFormattingElements.pushElement(Ra.openElements.current,qa)}function appletStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.activeFormattingElements.insertMarker(),Ra.framesetOk=!1}function tableStartTagInBody(Ra,qa){Ra.treeAdapter.getDocumentMode(Ra.document)!==DOCUMENT_MODE.QUIRKS&&Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML),Ra.framesetOk=!1,Ra.insertionMode=InsertionMode.IN_TABLE}function areaStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._appendElement(qa,NS.HTML),Ra.framesetOk=!1,qa.ackSelfClosing=!0}function isHiddenInput(Ra){const qa=getTokenAttr(Ra,ATTRS.TYPE);return qa!=null&&qa.toLowerCase()===HIDDEN_INPUT_TYPE}function inputStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._appendElement(qa,NS.HTML),isHiddenInput(qa)||(Ra.framesetOk=!1),qa.ackSelfClosing=!0}function paramStartTagInBody(Ra,qa){Ra._appendElement(qa,NS.HTML),qa.ackSelfClosing=!0}function hrStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._appendElement(qa,NS.HTML),Ra.framesetOk=!1,qa.ackSelfClosing=!0}function imageStartTagInBody(Ra,qa){qa.tagName=TAG_NAMES.IMG,qa.tagID=TAG_ID.IMG,areaStartTagInBody(Ra,qa)}function textareaStartTagInBody(Ra,qa){Ra._insertElement(qa,NS.HTML),Ra.skipNextNewLine=!0,Ra.tokenizer.state=TokenizerMode.RCDATA,Ra.originalInsertionMode=Ra.insertionMode,Ra.framesetOk=!1,Ra.insertionMode=InsertionMode.TEXT}function xmpStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._reconstructActiveFormattingElements(),Ra.framesetOk=!1,Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT)}function iframeStartTagInBody(Ra,qa){Ra.framesetOk=!1,Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT)}function noembedStartTagInBody(Ra,qa){Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT)}function selectStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.framesetOk=!1,Ra.insertionMode=Ra.insertionMode===InsertionMode.IN_TABLE||Ra.insertionMode===InsertionMode.IN_CAPTION||Ra.insertionMode===InsertionMode.IN_TABLE_BODY||Ra.insertionMode===InsertionMode.IN_ROW||Ra.insertionMode===InsertionMode.IN_CELL?InsertionMode.IN_SELECT_IN_TABLE:InsertionMode.IN_SELECT}function optgroupStartTagInBody(Ra,qa){Ra.openElements.currentTagId===TAG_ID.OPTION&&Ra.openElements.pop(),Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML)}function rbStartTagInBody(Ra,qa){Ra.openElements.hasInScope(TAG_ID.RUBY)&&Ra.openElements.generateImpliedEndTags(),Ra._insertElement(qa,NS.HTML)}function rtStartTagInBody(Ra,qa){Ra.openElements.hasInScope(TAG_ID.RUBY)&&Ra.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.RTC),Ra._insertElement(qa,NS.HTML)}function mathStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),adjustTokenMathMLAttrs(qa),adjustTokenXMLAttrs(qa),qa.selfClosing?Ra._appendElement(qa,NS.MATHML):Ra._insertElement(qa,NS.MATHML),qa.ackSelfClosing=!0}function svgStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),adjustTokenSVGAttrs(qa),adjustTokenXMLAttrs(qa),qa.selfClosing?Ra._appendElement(qa,NS.SVG):Ra._insertElement(qa,NS.SVG),qa.ackSelfClosing=!0}function genericStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML)}function startTagInBody(Ra,qa){switch(qa.tagID){case TAG_ID.I:case TAG_ID.S:case TAG_ID.B:case TAG_ID.U:case TAG_ID.EM:case TAG_ID.TT:case TAG_ID.BIG:case TAG_ID.CODE:case TAG_ID.FONT:case TAG_ID.SMALL:case TAG_ID.STRIKE:case TAG_ID.STRONG:{bStartTagInBody(Ra,qa);break}case TAG_ID.A:{aStartTagInBody(Ra,qa);break}case TAG_ID.H1:case TAG_ID.H2:case TAG_ID.H3:case TAG_ID.H4:case TAG_ID.H5:case TAG_ID.H6:{numberedHeaderStartTagInBody(Ra,qa);break}case TAG_ID.P:case TAG_ID.DL:case TAG_ID.OL:case TAG_ID.UL:case TAG_ID.DIV:case TAG_ID.DIR:case TAG_ID.NAV:case TAG_ID.MAIN:case TAG_ID.MENU:case TAG_ID.ASIDE:case TAG_ID.CENTER:case TAG_ID.FIGURE:case TAG_ID.FOOTER:case TAG_ID.HEADER:case TAG_ID.HGROUP:case TAG_ID.DIALOG:case TAG_ID.DETAILS:case TAG_ID.ADDRESS:case TAG_ID.ARTICLE:case TAG_ID.SECTION:case TAG_ID.SUMMARY:case TAG_ID.FIELDSET:case TAG_ID.BLOCKQUOTE:case TAG_ID.FIGCAPTION:{addressStartTagInBody(Ra,qa);break}case TAG_ID.LI:case TAG_ID.DD:case TAG_ID.DT:{listItemStartTagInBody(Ra,qa);break}case TAG_ID.BR:case TAG_ID.IMG:case TAG_ID.WBR:case TAG_ID.AREA:case TAG_ID.EMBED:case TAG_ID.KEYGEN:{areaStartTagInBody(Ra,qa);break}case TAG_ID.HR:{hrStartTagInBody(Ra,qa);break}case TAG_ID.RB:case TAG_ID.RTC:{rbStartTagInBody(Ra,qa);break}case TAG_ID.RT:case TAG_ID.RP:{rtStartTagInBody(Ra,qa);break}case TAG_ID.PRE:case TAG_ID.LISTING:{preStartTagInBody(Ra,qa);break}case TAG_ID.XMP:{xmpStartTagInBody(Ra,qa);break}case TAG_ID.SVG:{svgStartTagInBody(Ra,qa);break}case TAG_ID.HTML:{htmlStartTagInBody(Ra,qa);break}case TAG_ID.BASE:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.STYLE:case TAG_ID.TITLE:case TAG_ID.SCRIPT:case TAG_ID.BGSOUND:case TAG_ID.BASEFONT:case TAG_ID.TEMPLATE:{startTagInHead(Ra,qa);break}case TAG_ID.BODY:{bodyStartTagInBody(Ra,qa);break}case TAG_ID.FORM:{formStartTagInBody(Ra,qa);break}case TAG_ID.NOBR:{nobrStartTagInBody(Ra,qa);break}case TAG_ID.MATH:{mathStartTagInBody(Ra,qa);break}case TAG_ID.TABLE:{tableStartTagInBody(Ra,qa);break}case TAG_ID.INPUT:{inputStartTagInBody(Ra,qa);break}case TAG_ID.PARAM:case TAG_ID.TRACK:case TAG_ID.SOURCE:{paramStartTagInBody(Ra,qa);break}case TAG_ID.IMAGE:{imageStartTagInBody(Ra,qa);break}case TAG_ID.BUTTON:{buttonStartTagInBody(Ra,qa);break}case TAG_ID.APPLET:case TAG_ID.OBJECT:case TAG_ID.MARQUEE:{appletStartTagInBody(Ra,qa);break}case TAG_ID.IFRAME:{iframeStartTagInBody(Ra,qa);break}case TAG_ID.SELECT:{selectStartTagInBody(Ra,qa);break}case TAG_ID.OPTION:case TAG_ID.OPTGROUP:{optgroupStartTagInBody(Ra,qa);break}case TAG_ID.NOEMBED:{noembedStartTagInBody(Ra,qa);break}case TAG_ID.FRAMESET:{framesetStartTagInBody(Ra,qa);break}case TAG_ID.TEXTAREA:{textareaStartTagInBody(Ra,qa);break}case TAG_ID.NOSCRIPT:{Ra.options.scriptingEnabled?noembedStartTagInBody(Ra,qa):genericStartTagInBody(Ra,qa);break}case TAG_ID.PLAINTEXT:{plaintextStartTagInBody(Ra,qa);break}case TAG_ID.COL:case TAG_ID.TH:case TAG_ID.TD:case TAG_ID.TR:case TAG_ID.HEAD:case TAG_ID.FRAME:case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:case TAG_ID.CAPTION:case TAG_ID.COLGROUP:break;default:genericStartTagInBody(Ra,qa)}}function bodyEndTagInBody(Ra,qa){if(Ra.openElements.hasInScope(TAG_ID.BODY)&&(Ra.insertionMode=InsertionMode.AFTER_BODY,Ra.options.sourceCodeLocationInfo)){const ed=Ra.openElements.tryPeekProperlyNestedBodyElement();ed&&Ra._setEndLocation(ed,qa)}}function htmlEndTagInBody(Ra,qa){Ra.openElements.hasInScope(TAG_ID.BODY)&&(Ra.insertionMode=InsertionMode.AFTER_BODY,endTagAfterBody(Ra,qa))}function addressEndTagInBody(Ra,qa){const ed=qa.tagID;Ra.openElements.hasInScope(ed)&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilTagNamePopped(ed))}function formEndTagInBody(Ra){const qa=Ra.openElements.tmplCount>0,{formElement:ed}=Ra;qa||(Ra.formElement=null),(ed||qa)&&Ra.openElements.hasInScope(TAG_ID.FORM)&&(Ra.openElements.generateImpliedEndTags(),qa?Ra.openElements.popUntilTagNamePopped(TAG_ID.FORM):ed&&Ra.openElements.remove(ed))}function pEndTagInBody(Ra){Ra.openElements.hasInButtonScope(TAG_ID.P)||Ra._insertFakeElement(TAG_NAMES.P,TAG_ID.P),Ra._closePElement()}function liEndTagInBody(Ra){Ra.openElements.hasInListItemScope(TAG_ID.LI)&&(Ra.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.LI),Ra.openElements.popUntilTagNamePopped(TAG_ID.LI))}function ddEndTagInBody(Ra,qa){const ed=qa.tagID;Ra.openElements.hasInScope(ed)&&(Ra.openElements.generateImpliedEndTagsWithExclusion(ed),Ra.openElements.popUntilTagNamePopped(ed))}function numberedHeaderEndTagInBody(Ra){Ra.openElements.hasNumberedHeaderInScope()&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilNumberedHeaderPopped())}function appletEndTagInBody(Ra,qa){const ed=qa.tagID;Ra.openElements.hasInScope(ed)&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilTagNamePopped(ed),Ra.activeFormattingElements.clearToLastMarker())}function brEndTagInBody(Ra){Ra._reconstructActiveFormattingElements(),Ra._insertFakeElement(TAG_NAMES.BR,TAG_ID.BR),Ra.openElements.pop(),Ra.framesetOk=!1}function genericEndTagInBody(Ra,qa){const ed=qa.tagName,td=qa.tagID;for(let rd=Ra.openElements.stackTop;rd>0;rd--){const sd=Ra.openElements.items[rd],od=Ra.openElements.tagIDs[rd];if(td===od&&(td!==TAG_ID.UNKNOWN||Ra.treeAdapter.getTagName(sd)===ed)){Ra.openElements.generateImpliedEndTagsWithExclusion(td),Ra.openElements.stackTop>=rd&&Ra.openElements.shortenToLength(rd);break}if(Ra._isSpecialElement(sd,od))break}}function endTagInBody(Ra,qa){switch(qa.tagID){case TAG_ID.A:case TAG_ID.B:case TAG_ID.I:case TAG_ID.S:case TAG_ID.U:case TAG_ID.EM:case TAG_ID.TT:case TAG_ID.BIG:case TAG_ID.CODE:case TAG_ID.FONT:case TAG_ID.NOBR:case TAG_ID.SMALL:case TAG_ID.STRIKE:case TAG_ID.STRONG:{callAdoptionAgency(Ra,qa);break}case TAG_ID.P:{pEndTagInBody(Ra);break}case TAG_ID.DL:case TAG_ID.UL:case TAG_ID.OL:case TAG_ID.DIR:case TAG_ID.DIV:case TAG_ID.NAV:case TAG_ID.PRE:case TAG_ID.MAIN:case TAG_ID.MENU:case TAG_ID.ASIDE:case TAG_ID.BUTTON:case TAG_ID.CENTER:case TAG_ID.FIGURE:case TAG_ID.FOOTER:case TAG_ID.HEADER:case TAG_ID.HGROUP:case TAG_ID.DIALOG:case TAG_ID.ADDRESS:case TAG_ID.ARTICLE:case TAG_ID.DETAILS:case TAG_ID.SECTION:case TAG_ID.SUMMARY:case TAG_ID.LISTING:case TAG_ID.FIELDSET:case TAG_ID.BLOCKQUOTE:case TAG_ID.FIGCAPTION:{addressEndTagInBody(Ra,qa);break}case TAG_ID.LI:{liEndTagInBody(Ra);break}case TAG_ID.DD:case TAG_ID.DT:{ddEndTagInBody(Ra,qa);break}case TAG_ID.H1:case TAG_ID.H2:case TAG_ID.H3:case TAG_ID.H4:case TAG_ID.H5:case TAG_ID.H6:{numberedHeaderEndTagInBody(Ra);break}case TAG_ID.BR:{brEndTagInBody(Ra);break}case TAG_ID.BODY:{bodyEndTagInBody(Ra,qa);break}case TAG_ID.HTML:{htmlEndTagInBody(Ra,qa);break}case TAG_ID.FORM:{formEndTagInBody(Ra);break}case TAG_ID.APPLET:case TAG_ID.OBJECT:case TAG_ID.MARQUEE:{appletEndTagInBody(Ra,qa);break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}default:genericEndTagInBody(Ra,qa)}}function eofInBody(Ra,qa){Ra.tmplInsertionModeStack.length>0?eofInTemplate(Ra,qa):stopParsing(Ra,qa)}function endTagInText(Ra,qa){var ed;qa.tagID===TAG_ID.SCRIPT&&((ed=Ra.scriptHandler)===null||ed===void 0||ed.call(Ra,Ra.openElements.current)),Ra.openElements.pop(),Ra.insertionMode=Ra.originalInsertionMode}function eofInText(Ra,qa){Ra._err(qa,ERR.eofInElementThatCanContainOnlyText),Ra.openElements.pop(),Ra.insertionMode=Ra.originalInsertionMode,Ra.onEof(qa)}function characterInTable(Ra,qa){if(TABLE_STRUCTURE_TAGS.has(Ra.openElements.currentTagId))switch(Ra.pendingCharacterTokens.length=0,Ra.hasNonWhitespacePendingCharacterToken=!1,Ra.originalInsertionMode=Ra.insertionMode,Ra.insertionMode=InsertionMode.IN_TABLE_TEXT,qa.type){case TokenType.CHARACTER:{characterInTableText(Ra,qa);break}case TokenType.WHITESPACE_CHARACTER:{whitespaceCharacterInTableText(Ra,qa);break}}else tokenInTable(Ra,qa)}function captionStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra.activeFormattingElements.insertMarker(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_CAPTION}function colgroupStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_COLUMN_GROUP}function colStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra._insertFakeElement(TAG_NAMES.COLGROUP,TAG_ID.COLGROUP),Ra.insertionMode=InsertionMode.IN_COLUMN_GROUP,startTagInColumnGroup(Ra,qa)}function tbodyStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_TABLE_BODY}function tdStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra._insertFakeElement(TAG_NAMES.TBODY,TAG_ID.TBODY),Ra.insertionMode=InsertionMode.IN_TABLE_BODY,startTagInTableBody(Ra,qa)}function tableStartTagInTable(Ra,qa){Ra.openElements.hasInTableScope(TAG_ID.TABLE)&&(Ra.openElements.popUntilTagNamePopped(TAG_ID.TABLE),Ra._resetInsertionMode(),Ra._processStartTag(qa))}function inputStartTagInTable(Ra,qa){isHiddenInput(qa)?Ra._appendElement(qa,NS.HTML):tokenInTable(Ra,qa),qa.ackSelfClosing=!0}function formStartTagInTable(Ra,qa){!Ra.formElement&&Ra.openElements.tmplCount===0&&(Ra._insertElement(qa,NS.HTML),Ra.formElement=Ra.openElements.current,Ra.openElements.pop())}function startTagInTable(Ra,qa){switch(qa.tagID){case TAG_ID.TD:case TAG_ID.TH:case TAG_ID.TR:{tdStartTagInTable(Ra,qa);break}case TAG_ID.STYLE:case TAG_ID.SCRIPT:case TAG_ID.TEMPLATE:{startTagInHead(Ra,qa);break}case TAG_ID.COL:{colStartTagInTable(Ra,qa);break}case TAG_ID.FORM:{formStartTagInTable(Ra,qa);break}case TAG_ID.TABLE:{tableStartTagInTable(Ra,qa);break}case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:{tbodyStartTagInTable(Ra,qa);break}case TAG_ID.INPUT:{inputStartTagInTable(Ra,qa);break}case TAG_ID.CAPTION:{captionStartTagInTable(Ra,qa);break}case TAG_ID.COLGROUP:{colgroupStartTagInTable(Ra,qa);break}default:tokenInTable(Ra,qa)}}function endTagInTable(Ra,qa){switch(qa.tagID){case TAG_ID.TABLE:{Ra.openElements.hasInTableScope(TAG_ID.TABLE)&&(Ra.openElements.popUntilTagNamePopped(TAG_ID.TABLE),Ra._resetInsertionMode());break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}case TAG_ID.BODY:case TAG_ID.CAPTION:case TAG_ID.COL:case TAG_ID.COLGROUP:case TAG_ID.HTML:case TAG_ID.TBODY:case TAG_ID.TD:case TAG_ID.TFOOT:case TAG_ID.TH:case TAG_ID.THEAD:case TAG_ID.TR:break;default:tokenInTable(Ra,qa)}}function tokenInTable(Ra,qa){const ed=Ra.fosterParentingEnabled;Ra.fosterParentingEnabled=!0,modeInBody(Ra,qa),Ra.fosterParentingEnabled=ed}function whitespaceCharacterInTableText(Ra,qa){Ra.pendingCharacterTokens.push(qa)}function characterInTableText(Ra,qa){Ra.pendingCharacterTokens.push(qa),Ra.hasNonWhitespacePendingCharacterToken=!0}function tokenInTableText(Ra,qa){let ed=0;if(Ra.hasNonWhitespacePendingCharacterToken)for(;ed0&&Ra.openElements.currentTagId===TAG_ID.OPTION&&Ra.openElements.tagIDs[Ra.openElements.stackTop-1]===TAG_ID.OPTGROUP&&Ra.openElements.pop(),Ra.openElements.currentTagId===TAG_ID.OPTGROUP&&Ra.openElements.pop();break}case TAG_ID.OPTION:{Ra.openElements.currentTagId===TAG_ID.OPTION&&Ra.openElements.pop();break}case TAG_ID.SELECT:{Ra.openElements.hasInSelectScope(TAG_ID.SELECT)&&(Ra.openElements.popUntilTagNamePopped(TAG_ID.SELECT),Ra._resetInsertionMode());break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}}}function startTagInSelectInTable(Ra,qa){const ed=qa.tagID;ed===TAG_ID.CAPTION||ed===TAG_ID.TABLE||ed===TAG_ID.TBODY||ed===TAG_ID.TFOOT||ed===TAG_ID.THEAD||ed===TAG_ID.TR||ed===TAG_ID.TD||ed===TAG_ID.TH?(Ra.openElements.popUntilTagNamePopped(TAG_ID.SELECT),Ra._resetInsertionMode(),Ra._processStartTag(qa)):startTagInSelect(Ra,qa)}function endTagInSelectInTable(Ra,qa){const ed=qa.tagID;ed===TAG_ID.CAPTION||ed===TAG_ID.TABLE||ed===TAG_ID.TBODY||ed===TAG_ID.TFOOT||ed===TAG_ID.THEAD||ed===TAG_ID.TR||ed===TAG_ID.TD||ed===TAG_ID.TH?Ra.openElements.hasInTableScope(ed)&&(Ra.openElements.popUntilTagNamePopped(TAG_ID.SELECT),Ra._resetInsertionMode(),Ra.onEndTag(qa)):endTagInSelect(Ra,qa)}function startTagInTemplate(Ra,qa){switch(qa.tagID){case TAG_ID.BASE:case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.NOFRAMES:case TAG_ID.SCRIPT:case TAG_ID.STYLE:case TAG_ID.TEMPLATE:case TAG_ID.TITLE:{startTagInHead(Ra,qa);break}case TAG_ID.CAPTION:case TAG_ID.COLGROUP:case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:{Ra.tmplInsertionModeStack[0]=InsertionMode.IN_TABLE,Ra.insertionMode=InsertionMode.IN_TABLE,startTagInTable(Ra,qa);break}case TAG_ID.COL:{Ra.tmplInsertionModeStack[0]=InsertionMode.IN_COLUMN_GROUP,Ra.insertionMode=InsertionMode.IN_COLUMN_GROUP,startTagInColumnGroup(Ra,qa);break}case TAG_ID.TR:{Ra.tmplInsertionModeStack[0]=InsertionMode.IN_TABLE_BODY,Ra.insertionMode=InsertionMode.IN_TABLE_BODY,startTagInTableBody(Ra,qa);break}case TAG_ID.TD:case TAG_ID.TH:{Ra.tmplInsertionModeStack[0]=InsertionMode.IN_ROW,Ra.insertionMode=InsertionMode.IN_ROW,startTagInRow(Ra,qa);break}default:Ra.tmplInsertionModeStack[0]=InsertionMode.IN_BODY,Ra.insertionMode=InsertionMode.IN_BODY,startTagInBody(Ra,qa)}}function endTagInTemplate(Ra,qa){qa.tagID===TAG_ID.TEMPLATE&&templateEndTagInHead(Ra,qa)}function eofInTemplate(Ra,qa){Ra.openElements.tmplCount>0?(Ra.openElements.popUntilTagNamePopped(TAG_ID.TEMPLATE),Ra.activeFormattingElements.clearToLastMarker(),Ra.tmplInsertionModeStack.shift(),Ra._resetInsertionMode(),Ra.onEof(qa)):stopParsing(Ra,qa)}function startTagAfterBody(Ra,qa){qa.tagID===TAG_ID.HTML?startTagInBody(Ra,qa):tokenAfterBody(Ra,qa)}function endTagAfterBody(Ra,qa){var ed;if(qa.tagID===TAG_ID.HTML){if(Ra.fragmentContext||(Ra.insertionMode=InsertionMode.AFTER_AFTER_BODY),Ra.options.sourceCodeLocationInfo&&Ra.openElements.tagIDs[0]===TAG_ID.HTML){Ra._setEndLocation(Ra.openElements.items[0],qa);const td=Ra.openElements.items[1];td&&!(!((ed=Ra.treeAdapter.getNodeSourceCodeLocation(td))===null||ed===void 0)&&ed.endTag)&&Ra._setEndLocation(td,qa)}}else tokenAfterBody(Ra,qa)}function tokenAfterBody(Ra,qa){Ra.insertionMode=InsertionMode.IN_BODY,modeInBody(Ra,qa)}function startTagInFrameset(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.FRAMESET:{Ra._insertElement(qa,NS.HTML);break}case TAG_ID.FRAME:{Ra._appendElement(qa,NS.HTML),qa.ackSelfClosing=!0;break}case TAG_ID.NOFRAMES:{startTagInHead(Ra,qa);break}}}function endTagInFrameset(Ra,qa){qa.tagID===TAG_ID.FRAMESET&&!Ra.openElements.isRootHtmlElementCurrent()&&(Ra.openElements.pop(),!Ra.fragmentContext&&Ra.openElements.currentTagId!==TAG_ID.FRAMESET&&(Ra.insertionMode=InsertionMode.AFTER_FRAMESET))}function startTagAfterFrameset(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.NOFRAMES:{startTagInHead(Ra,qa);break}}}function endTagAfterFrameset(Ra,qa){qa.tagID===TAG_ID.HTML&&(Ra.insertionMode=InsertionMode.AFTER_AFTER_FRAMESET)}function startTagAfterAfterBody(Ra,qa){qa.tagID===TAG_ID.HTML?startTagInBody(Ra,qa):tokenAfterAfterBody(Ra,qa)}function tokenAfterAfterBody(Ra,qa){Ra.insertionMode=InsertionMode.IN_BODY,modeInBody(Ra,qa)}function startTagAfterAfterFrameset(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.NOFRAMES:{startTagInHead(Ra,qa);break}}}function nullCharacterInForeignContent(Ra,qa){qa.chars=REPLACEMENT_CHARACTER,Ra._insertCharacters(qa)}function characterInForeignContent(Ra,qa){Ra._insertCharacters(qa),Ra.framesetOk=!1}function popUntilHtmlOrIntegrationPoint(Ra){for(;Ra.treeAdapter.getNamespaceURI(Ra.openElements.current)!==NS.HTML&&!Ra._isIntegrationPoint(Ra.openElements.currentTagId,Ra.openElements.current);)Ra.openElements.pop()}function startTagInForeignContent(Ra,qa){if(causesExit(qa))popUntilHtmlOrIntegrationPoint(Ra),Ra._startTagOutsideForeignContent(qa);else{const ed=Ra._getAdjustedCurrentElement(),td=Ra.treeAdapter.getNamespaceURI(ed);td===NS.MATHML?adjustTokenMathMLAttrs(qa):td===NS.SVG&&(adjustTokenSVGTagName(qa),adjustTokenSVGAttrs(qa)),adjustTokenXMLAttrs(qa),qa.selfClosing?Ra._appendElement(qa,td):Ra._insertElement(qa,td),qa.ackSelfClosing=!0}}function endTagInForeignContent(Ra,qa){if(qa.tagID===TAG_ID.P||qa.tagID===TAG_ID.BR){popUntilHtmlOrIntegrationPoint(Ra),Ra._endTagOutsideForeignContent(qa);return}for(let ed=Ra.openElements.stackTop;ed>0;ed--){const td=Ra.openElements.items[ed];if(Ra.treeAdapter.getNamespaceURI(td)===NS.HTML){Ra._endTagOutsideForeignContent(qa);break}const rd=Ra.treeAdapter.getTagName(td);if(rd.toLowerCase()===qa.tagName){qa.tagName=rd,Ra.openElements.shortenToLength(ed);break}}}const VOID_ELEMENTS=new Set([TAG_NAMES.AREA,TAG_NAMES.BASE,TAG_NAMES.BASEFONT,TAG_NAMES.BGSOUND,TAG_NAMES.BR,TAG_NAMES.COL,TAG_NAMES.EMBED,TAG_NAMES.FRAME,TAG_NAMES.HR,TAG_NAMES.IMG,TAG_NAMES.INPUT,TAG_NAMES.KEYGEN,TAG_NAMES.LINK,TAG_NAMES.META,TAG_NAMES.PARAM,TAG_NAMES.SOURCE,TAG_NAMES.TRACK,TAG_NAMES.WBR]);function isVoidElement(Ra,qa){return qa.treeAdapter.isElementNode(Ra)&&qa.treeAdapter.getNamespaceURI(Ra)===NS.HTML&&VOID_ELEMENTS.has(qa.treeAdapter.getTagName(Ra))}const defaultOpts={treeAdapter:defaultTreeAdapter,scriptingEnabled:!0};function serializeOuter(Ra,qa){const ed={...defaultOpts,...qa};return serializeNode(Ra,ed)}function serializeChildNodes(Ra,qa){let ed="";const td=qa.treeAdapter.isElementNode(Ra)&&qa.treeAdapter.getTagName(Ra)===TAG_NAMES.TEMPLATE&&qa.treeAdapter.getNamespaceURI(Ra)===NS.HTML?qa.treeAdapter.getTemplateContent(Ra):Ra,rd=qa.treeAdapter.getChildNodes(td);if(rd)for(const sd of rd)ed+=serializeNode(sd,qa);return ed}function serializeNode(Ra,qa){return qa.treeAdapter.isElementNode(Ra)?serializeElement(Ra,qa):qa.treeAdapter.isTextNode(Ra)?serializeTextNode(Ra,qa):qa.treeAdapter.isCommentNode(Ra)?serializeCommentNode(Ra,qa):qa.treeAdapter.isDocumentTypeNode(Ra)?serializeDocumentTypeNode(Ra,qa):""}function serializeElement(Ra,qa){const ed=qa.treeAdapter.getTagName(Ra);return`<${ed}${serializeAttributes(Ra,qa)}>${isVoidElement(Ra,qa)?"":`${serializeChildNodes(Ra,qa)}`}`}function serializeAttributes(Ra,{treeAdapter:qa}){let ed="";for(const td of qa.getAttrList(Ra)){if(ed+=" ",!td.namespace)ed+=td.name;else switch(td.namespace){case NS.XML:{ed+=`xml:${td.name}`;break}case NS.XMLNS:{td.name!=="xmlns"&&(ed+="xmlns:"),ed+=td.name;break}case NS.XLINK:{ed+=`xlink:${td.name}`;break}default:ed+=`${td.prefix}:${td.name}`}ed+=`="${escapeAttribute(td.value)}"`}return ed}function serializeTextNode(Ra,qa){const{treeAdapter:ed}=qa,td=ed.getTextNodeContent(Ra),rd=ed.getParentNode(Ra),sd=rd&&ed.isElementNode(rd)&&ed.getTagName(rd);return sd&&ed.getNamespaceURI(rd)===NS.HTML&&hasUnescapedText(sd,qa.scriptingEnabled)?td:escapeText(td)}function serializeCommentNode(Ra,{treeAdapter:qa}){return``}function serializeDocumentTypeNode(Ra,{treeAdapter:qa}){return``}function parse$4(Ra,qa){return Parser$1.parse(Ra,qa)}function parseFragment(Ra,qa,ed){typeof Ra=="string"&&(ed=qa,qa=Ra,Ra=null);const td=Parser$1.getFragmentParser(Ra,ed);return td.tokenizer.write(qa,!0),td.getFragment()}function createTextNode(Ra){return new Text(Ra)}function enquoteDoctypeId(Ra){const qa=Ra.includes('"')?"'":'"';return qa+Ra+qa}function serializeDoctypeContent(Ra,qa,ed){let td="!DOCTYPE ";return Ra&&(td+=Ra),qa?td+=` PUBLIC ${enquoteDoctypeId(qa)}`:ed&&(td+=" SYSTEM"),ed&&(td+=` ${enquoteDoctypeId(ed)}`),td}const adapter={isCommentNode:isComment$1,isElementNode:isTag,isTextNode:isText,createDocument(){const Ra=new Document([]);return Ra["x-mode"]=DOCUMENT_MODE.NO_QUIRKS,Ra},createDocumentFragment(){return new Document([])},createElement(Ra,qa,ed){const td=Object.create(null),rd=Object.create(null),sd=Object.create(null);for(let ld=0;ldisDirective(od)&&od.name==="!doctype");sd?sd.data=rd??null:(sd=new ProcessingInstruction("!doctype",rd),adapter.appendChild(Ra,sd)),sd["x-name"]=qa??void 0,sd["x-publicId"]=ed??void 0,sd["x-systemId"]=td??void 0},setDocumentMode(Ra,qa){Ra["x-mode"]=qa},getDocumentMode(Ra){return Ra["x-mode"]},detachNode(Ra){if(Ra.parent){const qa=Ra.parent.children.indexOf(Ra),{prev:ed,next:td}=Ra;Ra.prev=null,Ra.next=null,ed&&(ed.next=td),td&&(td.prev=ed),Ra.parent.children.splice(qa,1),Ra.parent=null}},insertText(Ra,qa){const ed=Ra.children[Ra.children.length-1];ed&&isText(ed)?ed.data+=qa:adapter.appendChild(Ra,createTextNode(qa))},insertTextBefore(Ra,qa,ed){const td=Ra.children[Ra.children.indexOf(ed)-1];td&&isText(td)?td.data+=qa:adapter.insertBefore(Ra,createTextNode(qa),ed)},adoptAttributes(Ra,qa){for(let ed=0;ed"u"&&(Ra.attribs[td]=qa[ed].value,Ra["x-attribsNamespace"][td]=qa[ed].namespace,Ra["x-attribsPrefix"][td]=qa[ed].prefix)}},getFirstChild(Ra){return Ra.children[0]},getChildNodes(Ra){return Ra.children},getParentNode(Ra){return Ra.parent},getAttrList(Ra){return Ra.attributes},getTagName(Ra){return Ra.name},getNamespaceURI(Ra){return Ra.namespace},getTextNodeContent(Ra){return Ra.data},getCommentNodeContent(Ra){return Ra.data},getDocumentTypeNodeName(Ra){var qa;return(qa=Ra["x-name"])!==null&&qa!==void 0?qa:""},getDocumentTypeNodePublicId(Ra){var qa;return(qa=Ra["x-publicId"])!==null&&qa!==void 0?qa:""},getDocumentTypeNodeSystemId(Ra){var qa;return(qa=Ra["x-systemId"])!==null&&qa!==void 0?qa:""},isDocumentTypeNode(Ra){return isDirective(Ra)&&Ra.name==="!doctype"},setNodeSourceCodeLocation(Ra,qa){qa&&(Ra.startIndex=qa.startOffset,Ra.endIndex=qa.endOffset),Ra.sourceCodeLocation=qa},getNodeSourceCodeLocation(Ra){return Ra.sourceCodeLocation},updateNodeSourceCodeLocation(Ra,qa){qa.endOffset!=null&&(Ra.endIndex=qa.endOffset),Ra.sourceCodeLocation={...Ra.sourceCodeLocation,...qa}}};function parseWithParse5(Ra,qa,ed,td){var rd;return(rd=qa.treeAdapter)!==null&&rd!==void 0||(qa.treeAdapter=adapter),qa.scriptingEnabled!==!1&&(qa.scriptingEnabled=!0),ed?parse$4(Ra,qa):parseFragment(td,Ra,qa)}const renderOpts={treeAdapter:adapter};function renderWithParse5(Ra){const qa="length"in Ra?Ra:[Ra];for(let td=0;td=CharCodes.LowerA&&Ra<=CharCodes.LowerZ||Ra>=CharCodes.UpperA&&Ra<=CharCodes.UpperZ}var QuoteType;(function(Ra){Ra[Ra.NoValue=0]="NoValue",Ra[Ra.Unquoted=1]="Unquoted",Ra[Ra.Single=2]="Single",Ra[Ra.Double=3]="Double"})(QuoteType||(QuoteType={}));const Sequences={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class Tokenizer{constructor({xmlMode:qa=!1,decodeEntities:ed=!0},td){this.cbs=td,this.state=State$2.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=State$2.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=qa,this.decodeEntities=ed,this.entityDecoder=new EntityDecoder(qa?xmlDecodeTree:htmlDecodeTree,(rd,sd)=>this.emitCodePoint(rd,sd))}reset(){this.state=State$2.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=State$2.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(qa){this.offset+=this.buffer.length,this.buffer=qa,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.indexthis.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=State$2.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&qa===CharCodes.Amp&&this.startEntity()}stateSpecialStartSequence(qa){const ed=this.sequenceIndex===this.currentSequence.length;if(!(ed?isEndOfTagSection(qa):(qa|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!ed){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=State$2.InTagName,this.stateInTagName(qa)}stateInSpecialTag(qa){if(this.sequenceIndex===this.currentSequence.length){if(qa===CharCodes.Gt||isWhitespace$1(qa)){const ed=this.index-this.currentSequence.length;if(this.sectionStart=0?(this.state=this.baseState,qa===0&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===State$2.Text||this.state===State$2.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===State$2.InAttributeValueDq||this.state===State$2.InAttributeValueSq||this.state===State$2.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index=qa||(this.state===State$2.InCommentLike?this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,qa,0):this.cbs.oncomment(this.sectionStart,qa,0):this.state===State$2.InTagName||this.state===State$2.BeforeAttributeName||this.state===State$2.BeforeAttributeValue||this.state===State$2.AfterAttributeName||this.state===State$2.InAttributeName||this.state===State$2.InAttributeValueSq||this.state===State$2.InAttributeValueDq||this.state===State$2.InAttributeValueNq||this.state===State$2.InClosingTagName||this.cbs.ontext(this.sectionStart,qa))}emitCodePoint(qa,ed){this.baseState!==State$2.Text&&this.baseState!==State$2.InSpecialTag?(this.sectionStart0&&od.has(this.stack[0]);){const ld=this.stack.shift();(td=(ed=this.cbs).onclosetag)===null||td===void 0||td.call(ed,ld,!0)}this.isVoidElement(qa)||(this.stack.unshift(qa),this.htmlMode&&(foreignContextElements.has(qa)?this.foreignContext.unshift(!0):htmlIntegrationElements.has(qa)&&this.foreignContext.unshift(!1))),(sd=(rd=this.cbs).onopentagname)===null||sd===void 0||sd.call(rd,qa),this.cbs.onopentag&&(this.attribs={})}endOpenTag(qa){var ed,td;this.startIndex=this.openTagStart,this.attribs&&((td=(ed=this.cbs).onopentag)===null||td===void 0||td.call(ed,this.tagname,this.attribs,qa),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(qa){this.endIndex=qa,this.endOpenTag(!1),this.startIndex=qa+1}onclosetag(qa,ed){var td,rd,sd,od,ld,ud,cd,dd;this.endIndex=ed;let _d=this.getSlice(qa,ed);if(this.lowerCaseTagNames&&(_d=_d.toLowerCase()),this.htmlMode&&(foreignContextElements.has(_d)||htmlIntegrationElements.has(_d))&&this.foreignContext.shift(),this.isVoidElement(_d))this.htmlMode&&_d==="br"&&((od=(sd=this.cbs).onopentagname)===null||od===void 0||od.call(sd,"br"),(ud=(ld=this.cbs).onopentag)===null||ud===void 0||ud.call(ld,"br",{},!0),(dd=(cd=this.cbs).onclosetag)===null||dd===void 0||dd.call(cd,"br",!1));else{const Ed=this.stack.indexOf(_d);if(Ed!==-1)for(let Ad=0;Ad<=Ed;Ad++){const Td=this.stack.shift();(rd=(td=this.cbs).onclosetag)===null||rd===void 0||rd.call(td,Td,Ad!==Ed)}else this.htmlMode&&_d==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=ed+1}onselfclosingtag(qa){this.endIndex=qa,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=qa+1):this.onopentagend(qa)}closeCurrentTag(qa){var ed,td;const rd=this.tagname;this.endOpenTag(qa),this.stack[0]===rd&&((td=(ed=this.cbs).onclosetag)===null||td===void 0||td.call(ed,rd,!qa),this.stack.shift())}onattribname(qa,ed){this.startIndex=qa;const td=this.getSlice(qa,ed);this.attribname=this.lowerCaseAttributeNames?td.toLowerCase():td}onattribdata(qa,ed){this.attribvalue+=this.getSlice(qa,ed)}onattribentity(qa){this.attribvalue+=fromCodePoint(qa)}onattribend(qa,ed){var td,rd;this.endIndex=ed,(rd=(td=this.cbs).onattribute)===null||rd===void 0||rd.call(td,this.attribname,this.attribvalue,qa===QuoteType.Double?'"':qa===QuoteType.Single?"'":qa===QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(qa){const ed=qa.search(reNameEnd);let td=ed<0?qa:qa.substr(0,ed);return this.lowerCaseTagNames&&(td=td.toLowerCase()),td}ondeclaration(qa,ed){this.endIndex=ed;const td=this.getSlice(qa,ed);if(this.cbs.onprocessinginstruction){const rd=this.getInstructionName(td);this.cbs.onprocessinginstruction(`!${rd}`,`!${td}`)}this.startIndex=ed+1}onprocessinginstruction(qa,ed){this.endIndex=ed;const td=this.getSlice(qa,ed);if(this.cbs.onprocessinginstruction){const rd=this.getInstructionName(td);this.cbs.onprocessinginstruction(`?${rd}`,`?${td}`)}this.startIndex=ed+1}oncomment(qa,ed,td){var rd,sd,od,ld;this.endIndex=ed,(sd=(rd=this.cbs).oncomment)===null||sd===void 0||sd.call(rd,this.getSlice(qa,ed-td)),(ld=(od=this.cbs).oncommentend)===null||ld===void 0||ld.call(od),this.startIndex=ed+1}oncdata(qa,ed,td){var rd,sd,od,ld,ud,cd,dd,_d,Ed,Ad;this.endIndex=ed;const Td=this.getSlice(qa,ed-td);!this.htmlMode||this.options.recognizeCDATA?((sd=(rd=this.cbs).oncdatastart)===null||sd===void 0||sd.call(rd),(ld=(od=this.cbs).ontext)===null||ld===void 0||ld.call(od,Td),(cd=(ud=this.cbs).oncdataend)===null||cd===void 0||cd.call(ud)):((_d=(dd=this.cbs).oncomment)===null||_d===void 0||_d.call(dd,`[CDATA[${Td}]]`),(Ad=(Ed=this.cbs).oncommentend)===null||Ad===void 0||Ad.call(Ed)),this.startIndex=ed+1}onend(){var qa,ed;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let td=0;td=this.buffers[0].length;)this.shiftBuffer();let td=this.buffers[0].slice(qa-this.bufferOffset,ed-this.bufferOffset);for(;ed-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),td+=this.buffers[0].slice(0,ed-this.bufferOffset);return td}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(qa){var ed,td;if(this.ended){(td=(ed=this.cbs).onerror)===null||td===void 0||td.call(ed,new Error(".write() after done!"));return}this.buffers.push(qa),this.tokenizer.running&&(this.tokenizer.write(qa),this.writeIndex++)}end(qa){var ed,td;if(this.ended){(td=(ed=this.cbs).onerror)===null||td===void 0||td.call(ed,new Error(".end() after done!"));return}qa&&this.write(qa),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndexqa._useHtmlParser2?parseDocument(Ra,qa):parseWithParse5(Ra,qa,ed,td)),load$2=getLoad(parse$3,(Ra,qa)=>qa._useHtmlParser2?render$3(Ra,qa):renderWithParse5(Ra)),browser$1=Object.freeze(Object.defineProperty({__proto__:null,contains,load:load$2,merge:merge$2},Symbol.toStringTag,{value:"Module"})),require$$0$2=getAugmentedNamespace(browser$1);var utils$4={},lexer={exports:{}},debug={exports:{}};(function(Ra,qa){var ed={version:"v20.17.0",versions:{node:"20.17.0",acorn:"8.11.3",ada:"2.9.0",ares:"1.32.3",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.2.2",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.13+quic",simdutf:"5.3.0",tz:"2024a",undici:"6.19.2",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-209717d"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule internal/idna","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/streams/utils","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/idna.js","lib/internal/inspector_async_hook.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_f474754f-950f-4d2e-994a-c524574e8031",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.17.0 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_f474754f-950f-4d2e-994a-c524574e8031",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.10.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu22",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"604",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",GOROOT_1_20_X64:"/opt/hostedtoolcache/go/1.20.14/x64",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20240915.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.7/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",JOURNAL_STREAM:"8:5513",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.17.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",npm_config_npm_version:"10.8.2",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"10931482109",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"30f0792baaad6e1889d29d0c00ae240dfec216c4",GITHUB_BASE_REF:"",ImageOS:"ubuntu22",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.17.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_8327e18c-9985-4d8c-819f-743e4582b3aa",INVOCATION_ID:"facc399a086f481090bef1701fa117fb",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"438",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 7",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"30f0792baaad6e1889d29d0c00ae240dfec216c4",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.17.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_f474754f-950f-4d2e-994a-c524574e8031",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_f474754f-950f-4d2e-994a-c524574e8031",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.1.12297006",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",STATS_EXTP:"https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_f474754f-950f-4d2e-994a-c524574e8031",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.17.0/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2081,ppid:2080,execPath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};Ra.exports=td;function td(sd){return rd.bind(null,sd)}function rd(sd){var od=[].slice.call(arguments,1);od.unshift("["+sd+"]"),ed.stderr.write(od.join(" ")+` -`)}})(debug);var debugExports=debug.exports;(function(Ra,qa){debugExports("lex"),Ra.exports=ed;function ed(td){var rd="",sd,od=0,ld=-1,ud=0,cd=1,dd="before-selector",_d=[dd],Ed={},Ad=[],Td=["media","keyframes",{name:"-webkit-keyframes",type:"keyframes",prefix:"-webkit-"},{name:"-moz-keyframes",type:"keyframes",prefix:"-moz-"},{name:"-ms-keyframes",type:"keyframes",prefix:"-ms-"},{name:"-o-keyframes",type:"keyframes",prefix:"-o-"},"font-face",{name:"import",state:"before-at-value"},{name:"charset",state:"before-at-value"},"supports","viewport",{name:"namespace",state:"before-at-value"},"document",{name:"-moz-document",type:"document",prefix:"-moz-"},"page"];function Id(){return Qd(),td[ld]}function Bd(Tf){return Tf?_d[_d.length-1-Tf]:dd}function Rd(Tf){var kf=ld+1;return Tf===td.slice(kf,kf+Tf.length)}function Od(Tf){var kf=td.slice(ld).indexOf(Tf);return kf>0?kf:!1}function Md(Tf){return Tf===Ld(1)}function Ld(Tf){return td[ld+(Tf||1)]}function Fd(){var Tf=_d.pop();return dd=_d[_d.length-1],Tf}function jd(Tf){return dd=Tf,_d.push(dd),_d.length}function Vd(Tf){var kf=dd;return _d[_d.length-1]=dd=Tf,kf}function Qd(Tf){if((Tf||1)==1)td[ld]==` -`?(cd++,od=1):od++,ld++;else{var kf=td.slice(ld,ld+Tf).split(` -`);kf.length>1&&(cd+=kf.length-1,od=1),od+=kf[kf.length-1].length,ld=ld+Tf}}function qd(){Ed.end={line:cd,col:od},Ad.push(Ed),rd="",Ed={}}function Kd(Tf){Ed={type:Tf,start:{line:cd,col:od}}}for(;sd=Id();)switch(sd){case" ":switch(Bd()){case"selector":case"value":case"value-paren":case"at-group":case"at-value":case"comment":case"double-string":case"single-string":rd+=sd;break}break;case` -`:case" ":case"\r":case"\f":switch(Bd()){case"value":case"value-paren":case"at-group":case"comment":case"single-string":case"double-string":case"selector":rd+=sd;break;case"at-value":sd===` -`&&(Ed.value=rd.trim(),qd(),Fd());break}break;case":":switch(Bd()){case"name":Ed.name=rd.trim(),rd="",Vd("before-value");break;case"before-selector":rd+=sd,Kd("selector"),jd("selector");break;case"before-value":Vd("value"),rd+=sd;break;default:rd+=sd;break}break;case";":switch(Bd()){case"name":case"before-value":case"value":rd.trim().length>0&&(Ed.value=rd.trim(),qd()),Vd("before-name");break;case"value-paren":rd+=sd;break;case"at-value":Ed.value=rd.trim(),qd(),Fd();break;case"before-name":break;default:rd+=sd;break}break;case"{":switch(Bd()){case"selector":if(Ld(-1)==="\\"){rd+=sd;break}Ed.text=rd.trim(),qd(),Vd("before-name"),ud=ud+1;break;case"at-group":switch(Ed.name=rd.trim(),Ed.type){case"font-face":case"viewport":case"page":jd("before-name");break;default:jd("before-selector")}qd(),ud=ud+1;break;case"name":case"at-rule":Ed.name=rd.trim(),qd(),jd("before-name"),ud=ud+1;break;case"comment":case"double-string":case"single-string":rd+=sd;break;case"before-value":Vd("value"),rd+=sd;break}break;case"}":switch(Bd()){case"before-name":case"name":case"before-value":case"value":rd&&(Ed.value=rd.trim()),Ed.name&&Ed.value&&qd(),Kd("end"),qd(),Fd(),Bd()==="at-group"&&(Kd("at-group-end"),qd(),Fd()),ud>0&&(ud=ud-1);break;case"at-group":case"before-selector":case"selector":if(Ld(-1)==="\\"){rd+=sd;break}ud>0&&Bd(1)==="at-group"&&(Kd("at-group-end"),qd()),ud>1&&Fd(),ud>0&&(ud=ud-1);break;case"double-string":case"single-string":case"comment":rd+=sd;break}break;case'"':case"'":switch(Bd()){case"double-string":sd==='"'&&Ld(-1)!=="\\"&&Fd();break;case"single-string":sd==="'"&&Ld(-1)!=="\\"&&Fd();break;case"before-at-value":Vd("at-value"),jd(sd==='"'?"double-string":"single-string");break;case"before-value":Vd("value"),jd(sd==='"'?"double-string":"single-string");break;case"comment":break;default:Ld(-1)!=="\\"&&jd(sd==='"'?"double-string":"single-string")}rd+=sd;break;case"/":switch(Bd()){case"comment":case"double-string":case"single-string":rd+=sd;break;case"before-value":case"selector":case"name":case"value":if(Md("*")){var Xd=Od("*/");Xd&&Qd(Xd+1)}else Bd()=="before-value"&&Vd("value"),rd+=sd;break;default:Md("*")?(Kd("comment"),jd("comment"),Qd()):rd+=sd;break}break;case"*":switch(Bd()){case"comment":Md("/")?(Ed.text=rd,Qd(),qd(),Fd()):rd+=sd;break;case"before-selector":rd+=sd,Kd("selector"),jd("selector");break;case"before-value":Vd("value"),rd+=sd;break;default:rd+=sd}break;case"@":switch(Bd()){case"comment":case"double-string":case"single-string":rd+=sd;break;case"before-value":Vd("value"),rd+=sd;break;default:for(var df=!1,mf,bf,pf=0,_f=Td.length;!df&&pf<_f;++pf)bf=Td[pf],mf=bf.name||bf,Rd(mf)&&(df=!0,Kd(mf),jd(bf.state||"at-group"),Qd(mf.length),bf.prefix&&(Ed.prefix=bf.prefix),bf.type&&(Ed.type=bf.type));df||(rd+=sd);break}break;case"(":switch(Bd()){case"value":jd("value-paren");break;case"before-value":Vd("value");break}rd+=sd;break;case")":switch(Bd()){case"value-paren":Fd();break;case"before-value":Vd("value");break}rd+=sd;break;default:switch(Bd()){case"before-selector":Kd("selector"),jd("selector");break;case"before-name":Kd("property"),Vd("name");break;case"before-value":Vd("value");break;case"before-at-value":Vd("at-value");break}rd+=sd;break}return Ad}})(lexer);var lexerExports=lexer.exports,parser$2={exports:{}};(function(Ra,qa){debugExports("parse");var ed=lexerExports;Ra.exports=ld;var td,rd,sd,od;function ld(Fd,jd){jd||(jd={}),td=!!jd.comments,sd=!!jd.position,rd=0,od=Array.isArray(Fd)?Fd.slice():ed(Fd);for(var Vd,Qd=[],qd;qd=cd();)Vd=Rd(qd),Vd&&Qd.push(Vd);return{type:"stylesheet",stylesheet:{rules:Qd}}}function ud(Fd,jd){jd||(jd={});for(var Vd,Qd=["type","name","value"],qd={},Kd=0;Kd+)\\s*|(\\s+)|(+|\\*)|\\#(+)|\\.(+)|\\[\\s*(+)(?:\\s*([*^$!~|]?=)(?:\\s*(?:(["']?)(.*?)\\9)))?\\s*\\](?!\\])|(:+)(+)(?:\\((?:(?:(["'])([^\\13]*)\\13)|((?:\\([^)]+\\)|[^()]*)+))\\))?)`.replace(//,"["+escape$5(">+~`!@$%^&={}\\;/g,"(?:[\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])").replace(//g,"(?:[:\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])")),Part=function(qa){this.combinator=qa||" ",this.tag="*"};Part.prototype.toString=function(){if(!this.raw){var Ra="",qa,ed;if(Ra+=this.tag||"*",this.id&&(Ra+="#"+this.id),this.classes&&(Ra+="."+this.classList.join(".")),this.attributes)for(qa=0;ed=this.attributes[qa++];)Ra+="["+ed.name+(ed.operator?ed.operator+'"'+ed.value+'"':"")+"]";if(this.pseudos)for(qa=0;ed=this.pseudos[qa++];)Ra+=":"+ed.name,ed.value&&(Ra+="("+ed.value+")");this.raw=Ra}return this.raw};var Expression=function(){this.length=0};Expression.prototype.toString=function(){if(!this.raw){for(var Ra="",qa=0,ed;ed=this[qa++];)qa!==1&&(Ra+=" "),ed.combinator!==" "&&(Ra+=ed.combinator+" "),Ra+=ed;this.raw=Ra}return this.raw};var replacer=function(Ra,qa,ed,td,rd,sd,od,ld,ud,cd,dd,_d,Ed,Ad,Td,Id){var Bd,Rd;if((qa||!this.length)&&(Bd=this[this.length++]=new Expression,qa))return"";if(Bd||(Bd=this[this.length-1]),(ed||td||!Bd.length)&&(Rd=Bd[Bd.length++]=new Part(ed)),Rd||(Rd=Bd[Bd.length-1]),rd)Rd.tag=unescape$2(rd);else if(sd)Rd.id=unescape$2(sd);else if(od){var Od=unescape$2(od),Md=Rd.classes||(Rd.classes={});if(!Md[Od]){Md[Od]=escape$5(od);var Ld=Rd.classList||(Rd.classList=[]);Ld.push(Od),Ld.sort()}}else Ed?(Id=Id||Td,(Rd.pseudos||(Rd.pseudos=[])).push({type:_d.length==1?"class":"element",name:unescape$2(Ed),escapedName:escape$5(Ed),value:Id?unescape$2(Id):null,escapedValue:Id?escape$5(Id):null})):ld&&(dd=dd?escape$5(dd):null,(Rd.attributes||(Rd.attributes=[])).push({operator:ud,name:unescape$2(ld),escapedName:escape$5(ld),value:dd?unescape$2(dd):null,escapedValue:dd?escape$5(dd):null}));return""},Expressions=function(qa){this.length=0;for(var ed=this,td=qa,rd;qa;){if(rd=qa.replace(slickRe,function(){return replacer.apply(ed,arguments)}),rd===qa)throw new Error(td+" is an invalid expression");qa=rd}};Expressions.prototype.toString=function(){if(!this.raw){for(var Ra=[],qa=0,ed;ed=this[qa++];)Ra.push(ed);this.raw=Ra.join(", ")}return this.raw};var cache$1={},parse$2=function(Ra){return Ra==null?null:(Ra=(""+Ra).replace(/^\s+|\s+$/g,""),cache$1[Ra]||(cache$1[Ra]=new Expressions(Ra)))},parser$1=parse$2;(function(Ra,qa){var ed=parser$1;Ra.exports=td;function td(sd,od){this.text=sd,this.spec=void 0,this.styleAttribute=od||!1}td.prototype.parsed=function(){return this.tokens||(this.tokens=rd(this.text)),this.tokens},td.prototype.specificity=function(){var sd=this.styleAttribute;return this.spec||(this.spec=od(this.text,this.parsed())),this.spec;function od(ld,ud){for(var cd=ud||rd(ld),dd=[sd?1:0,0,0,0],_d=[],Ed=0;Ed option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"},PLACEHOLDER_ELEMENT={};function ensureIsTag(Ra,qa){return Ra===boolbase$1.falseFunc?boolbase$1.falseFunc:td=>qa.isTag(td)&&Ra(td)}function getNextSiblings(Ra,qa){const td=qa.getSiblings(Ra);if(td.length<=1)return[];const rd=td.indexOf(Ra);return rd<0||rd===td.length-1?[]:td.slice(rd+1).filter(qa.isTag)}function copyOptions(Ra){return{xmlMode:!!Ra.xmlMode,lowerCaseAttributeNames:!!Ra.lowerCaseAttributeNames,lowerCaseTags:!!Ra.lowerCaseTags,quirksMode:!!Ra.quirksMode,cacheResults:!!Ra.cacheResults,pseudos:Ra.pseudos,adapter:Ra.adapter,equals:Ra.equals}}const is$3=(Ra,qa,td,rd,nd)=>{const ad=nd(qa,copyOptions(td),rd);return ad===boolbase$1.trueFunc?Ra:ad===boolbase$1.falseFunc?boolbase$1.falseFunc:sd=>ad(sd)&&Ra(sd)},subselects={is:is$3,matches:is$3,where:is$3,not(Ra,qa,td,rd,nd){const ad=nd(qa,copyOptions(td),rd);return ad===boolbase$1.falseFunc?Ra:ad===boolbase$1.trueFunc?boolbase$1.falseFunc:sd=>!ad(sd)&&Ra(sd)},has(Ra,qa,td,rd,nd){const{adapter:ad}=td,sd=copyOptions(td);sd.relativeSelector=!0;const ud=qa.some(pd=>pd.some(isTraversal))?[PLACEHOLDER_ELEMENT]:void 0,cd=nd(qa,sd,ud);if(cd===boolbase$1.falseFunc)return boolbase$1.falseFunc;const dd=ensureIsTag(cd,ad);if(ud&&cd!==boolbase$1.trueFunc){const{shouldTestNextSiblings:pd=!1}=cd;return fd=>{if(!Ra(fd))return!1;ud[0]=fd;const Td=ad.getChildren(fd),Ad=pd?[...Td,...getNextSiblings(fd,ad)]:Td;return ad.existsOne(dd,Ad)}}return pd=>Ra(pd)&&ad.existsOne(dd,ad.getChildren(pd))}};function compilePseudoSelector(Ra,qa,td,rd,nd){var ad;const{name:sd,data:ud}=qa;if(Array.isArray(ud)){if(!(sd in subselects))throw new Error(`Unknown pseudo-class :${sd}(${ud})`);return subselects[sd](Ra,ud,td,rd,nd)}const cd=(ad=td.pseudos)===null||ad===void 0?void 0:ad[sd],dd=typeof cd=="string"?cd:aliases[sd];if(typeof dd=="string"){if(ud!=null)throw new Error(`Pseudo ${sd} doesn't have any arguments`);const pd=parse$7(dd);return subselects.is(Ra,pd,td,rd,nd)}if(typeof cd=="function")return verifyPseudoArgs(cd,sd,ud,1),pd=>cd(pd,ud)&&Ra(pd);if(sd in filters)return filters[sd](Ra,ud,td,rd);if(sd in pseudos){const pd=pseudos[sd];return verifyPseudoArgs(pd,sd,ud,2),fd=>pd(fd,td,ud)&&Ra(fd)}throw new Error(`Unknown pseudo-class :${sd}`)}function getElementParent(Ra,qa){const td=qa.getParent(Ra);return td&&qa.isTag(td)?td:null}function compileGeneralSelector(Ra,qa,td,rd,nd){const{adapter:ad,equals:sd}=td;switch(qa.type){case SelectorType.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case SelectorType.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case SelectorType.Attribute:{if(qa.namespace!=null)throw new Error("Namespaced attributes are not yet supported by css-select");return(!td.xmlMode||td.lowerCaseAttributeNames)&&(qa.name=qa.name.toLowerCase()),attributeRules[qa.action](Ra,qa,td)}case SelectorType.Pseudo:return compilePseudoSelector(Ra,qa,td,rd,nd);case SelectorType.Tag:{if(qa.namespace!=null)throw new Error("Namespaced tag names are not yet supported by css-select");let{name:ud}=qa;return(!td.xmlMode||td.lowerCaseTags)&&(ud=ud.toLowerCase()),function(dd){return ad.getName(dd)===ud&&Ra(dd)}}case SelectorType.Descendant:{if(td.cacheResults===!1||typeof WeakSet>"u")return function(dd){let pd=dd;for(;pd=getElementParent(pd,ad);)if(Ra(pd))return!0;return!1};const ud=new WeakSet;return function(dd){let pd=dd;for(;pd=getElementParent(pd,ad);)if(!ud.has(pd)){if(ad.isTag(pd)&&Ra(pd))return!0;ud.add(pd)}return!1}}case"_flexibleDescendant":return function(cd){let dd=cd;do if(Ra(dd))return!0;while(dd=getElementParent(dd,ad));return!1};case SelectorType.Parent:return function(cd){return ad.getChildren(cd).some(dd=>ad.isTag(dd)&&Ra(dd))};case SelectorType.Child:return function(cd){const dd=ad.getParent(cd);return dd!=null&&ad.isTag(dd)&&Ra(dd)};case SelectorType.Sibling:return function(cd){const dd=ad.getSiblings(cd);for(let pd=0;pdqa.some(includesScopePseudo)))}const DESCENDANT_TOKEN={type:SelectorType.Descendant},FLEXIBLE_DESCENDANT_TOKEN={type:"_flexibleDescendant"},SCOPE_TOKEN={type:SelectorType.Pseudo,name:"scope",data:null};function absolutize(Ra,{adapter:qa},td){const rd=!!(td!=null&&td.every(nd=>{const ad=qa.isTag(nd)&&qa.getParent(nd);return nd===PLACEHOLDER_ELEMENT||ad&&qa.isTag(ad)}));for(const nd of Ra){if(!(nd.length>0&&isTraversal(nd[0])&&nd[0].type!==SelectorType.Descendant))if(rd&&!nd.some(includesScopePseudo))nd.unshift(DESCENDANT_TOKEN);else continue;nd.unshift(SCOPE_TOKEN)}}function compileToken(Ra,qa,td){var rd;Ra.forEach(sortByProcedure),td=(rd=qa.context)!==null&&rd!==void 0?rd:td;const nd=Array.isArray(td),ad=td&&(Array.isArray(td)?td:[td]);if(qa.relativeSelector!==!1)absolutize(Ra,qa,ad);else if(Ra.some(cd=>cd.length>0&&isTraversal(cd[0])))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let sd=!1;const ud=Ra.map(cd=>{if(cd.length>=2){const[dd,pd]=cd;dd.type!==SelectorType.Pseudo||dd.name!=="scope"||(nd&&pd.type===SelectorType.Descendant?cd[1]=FLEXIBLE_DESCENDANT_TOKEN:(pd.type===SelectorType.Adjacent||pd.type===SelectorType.Sibling)&&(sd=!0))}return compileRules(cd,qa,ad)}).reduce(reduceRules,boolbase$1.falseFunc);return ud.shouldTestNextSiblings=sd,ud}function compileRules(Ra,qa,td){var rd;return Ra.reduce((nd,ad)=>nd===boolbase$1.falseFunc?boolbase$1.falseFunc:compileGeneralSelector(nd,ad,qa,td,compileToken),(rd=qa.rootFunc)!==null&&rd!==void 0?rd:boolbase$1.trueFunc)}function reduceRules(Ra,qa){return qa===boolbase$1.falseFunc||Ra===boolbase$1.trueFunc?Ra:Ra===boolbase$1.falseFunc||qa===boolbase$1.trueFunc?qa:function(rd){return Ra(rd)||qa(rd)}}const defaultEquals=(Ra,qa)=>Ra===qa,defaultOptions$3={adapter:DomUtils,equals:defaultEquals};function convertOptionFormats(Ra){var qa,td,rd,nd;const ad=Ra??defaultOptions$3;return(qa=ad.adapter)!==null&&qa!==void 0||(ad.adapter=DomUtils),(td=ad.equals)!==null&&td!==void 0||(ad.equals=(nd=(rd=ad.adapter)===null||rd===void 0?void 0:rd.equals)!==null&&nd!==void 0?nd:defaultEquals),ad}function wrapCompile(Ra){return function(td,rd,nd){const ad=convertOptionFormats(rd);return Ra(td,ad,nd)}}const _compileToken=wrapCompile(compileToken);function prepareContext(Ra,qa,td=!1){return td&&(Ra=appendNextSiblings(Ra,qa)),Array.isArray(Ra)?qa.removeSubsets(Ra):qa.getChildren(Ra)}function appendNextSiblings(Ra,qa){const td=Array.isArray(Ra)?Ra.slice(0):[Ra],rd=td.length;for(let nd=0;ndqa.some(isFilter)):!1}function getLimit(Ra,qa,td){const rd=qa!=null?parseInt(qa,10):NaN;switch(Ra){case"first":return 1;case"nth":case"eq":return isFinite(rd)?rd>=0?rd+1:1/0:0;case"lt":return isFinite(rd)?rd>=0?Math.min(rd,td):1/0:0;case"gt":return isFinite(rd)?1/0:0;case"odd":return 2*td;case"even":return 2*td-1;case"last":case"not":return 1/0}}function getDocumentRoot(Ra){for(;Ra.parent;)Ra=Ra.parent;return Ra}function groupSelectors(Ra){const qa=[],td=[];for(const rd of Ra)rd.some(isFilter)?qa.push(rd):td.push(rd);return[td,qa]}const UNIVERSAL_SELECTOR={type:SelectorType.Universal,namespace:null},SCOPE_PSEUDO={type:SelectorType.Pseudo,name:"scope",data:null};function is$2(Ra,qa,td={}){return some$2([Ra],qa,td)}function some$2(Ra,qa,td={}){if(typeof qa=="function")return Ra.some(qa);const[rd,nd]=groupSelectors(parse$7(qa));return rd.length>0&&Ra.some(_compileToken(rd,td))||nd.some(ad=>filterBySelector(ad,Ra,td).length>0)}function filterByPosition(Ra,qa,td,rd){const nd=typeof td=="string"?parseInt(td,10):NaN;switch(Ra){case"first":case"lt":return qa;case"last":return qa.length>0?[qa[qa.length-1]]:qa;case"nth":case"eq":return isFinite(nd)&&Math.abs(nd)sd%2===0);case"odd":return qa.filter((ad,sd)=>sd%2===1);case"not":{const ad=new Set(filterParsed(td,qa,rd));return qa.filter(sd=>!ad.has(sd))}}}function filter$4(Ra,qa,td={}){return filterParsed(parse$7(Ra),qa,td)}function filterParsed(Ra,qa,td){if(qa.length===0)return[];const[rd,nd]=groupSelectors(Ra);let ad;if(rd.length){const sd=filterElements(qa,rd,td);if(nd.length===0)return sd;sd.length&&(ad=new Set(sd))}for(let sd=0;sdisTag(pd)&&!ad.has(pd)):qa).length===0)break;const dd=filterBySelector(ud,qa,td);if(dd.length)if(ad)dd.forEach(pd=>ad.add(pd));else{if(sd===nd.length-1)return dd;ad=new Set(dd)}}return typeof ad<"u"?ad.size===qa.length?qa:qa.filter(sd=>ad.has(sd)):[]}function filterBySelector(Ra,qa,td){var rd;if(Ra.some(isTraversal$1)){const nd=(rd=td.root)!==null&&rd!==void 0?rd:getDocumentRoot(qa[0]),ad={...td,context:qa,relativeSelector:!1};return Ra.push(SCOPE_PSEUDO),findFilterElements(nd,Ra,ad,!0,qa.length)}return findFilterElements(qa,Ra,td,!1,qa.length)}function select$1(Ra,qa,td={},rd=1/0){if(typeof Ra=="function")return find$2(qa,Ra);const[nd,ad]=groupSelectors(parse$7(Ra)),sd=ad.map(ud=>findFilterElements(qa,ud,td,!0,rd));return nd.length&&sd.push(findElements(qa,nd,td,rd)),sd.length===0?[]:sd.length===1?sd[0]:uniqueSort(sd.reduce((ud,cd)=>[...ud,...cd]))}function findFilterElements(Ra,qa,td,rd,nd){const ad=qa.findIndex(isFilter),sd=qa.slice(0,ad),ud=qa[ad],cd=qa.length-1===ad?nd:1/0,dd=getLimit(ud.name,ud.data,cd);if(dd===0)return[];const fd=(sd.length===0&&!Array.isArray(Ra)?getChildren(Ra).filter(isTag):sd.length===0?(Array.isArray(Ra)?Ra:[Ra]).filter(isTag):rd||sd.some(isTraversal$1)?findElements(Ra,[sd],td,dd):filterElements(Ra,[sd],td)).slice(0,dd);let Td=filterByPosition(ud.name,fd,ud.data,td);if(Td.length===0||qa.length===ad+1)return Td;const Ad=qa.slice(ad+1),Sd=Ad.some(isTraversal$1);if(Sd){if(isTraversal$1(Ad[0])){const{type:Dd}=Ad[0];(Dd===SelectorType.Sibling||Dd===SelectorType.Adjacent)&&(Td=prepareContext(Td,DomUtils,!0)),Ad.unshift(UNIVERSAL_SELECTOR)}td={...td,relativeSelector:!1,rootFunc:Dd=>Td.includes(Dd)}}else td.rootFunc&&td.rootFunc!==boolbase.trueFunc&&(td={...td,rootFunc:boolbase.trueFunc});return Ad.some(isFilter)?findFilterElements(Td,Ad,td,!1,nd):Sd?findElements(Td,[Ad],td,nd):filterElements(Td,[Ad],td)}function findElements(Ra,qa,td,rd){const nd=_compileToken(qa,td,Ra);return find$2(Ra,nd,rd)}function find$2(Ra,qa,td=1/0){const rd=prepareContext(Ra,DomUtils,qa.shouldTestNextSiblings);return find$3(nd=>isTag(nd)&&qa(nd),rd,!0,td)}function filterElements(Ra,qa,td){const rd=(Array.isArray(Ra)?Ra:[Ra]).filter(isTag);if(rd.length===0)return rd;const nd=_compileToken(qa,td);return nd===boolbase.trueFunc?rd:rd.filter(nd)}const reSiblingSelector=/^\s*[+~]/;function find$1(Ra){if(!Ra)return this._make([]);if(typeof Ra!="string"){const qa=isCheerio(Ra)?Ra.toArray():[Ra],td=this.toArray();return this._make(qa.filter(rd=>td.some(nd=>contains(nd,rd))))}return this._findBySelector(Ra,Number.POSITIVE_INFINITY)}function _findBySelector(Ra,qa){var td;const rd=this.toArray(),nd=reSiblingSelector.test(Ra)?rd:this.children().toArray(),ad={context:rd,root:(td=this._root)===null||td===void 0?void 0:td[0],xmlMode:this.options.xmlMode,lowerCaseTags:this.options.lowerCaseTags,lowerCaseAttributeNames:this.options.lowerCaseAttributeNames,pseudos:this.options.pseudos,quirksMode:this.options.quirksMode};return this._make(select$1(Ra,nd,ad,qa))}function _getMatcher(Ra){return function(qa,...td){return function(rd){var nd;let ad=Ra(qa,this);return rd&&(ad=filterArray$1(ad,rd,this.options.xmlMode,(nd=this._root)===null||nd===void 0?void 0:nd[0])),this._make(this.length>1&&ad.length>1?td.reduce((sd,ud)=>ud(sd),ad):ad)}}}const _matcher=_getMatcher((Ra,qa)=>{let td=[];for(let rd=0;rd0&&(td=td.concat(nd))}return td}),_singleMatcher=_getMatcher((Ra,qa)=>{const td=[];for(let rd=0;rd{const sd=[];return domEach(ad,ud=>{for(let cd;(cd=nd(ud))&&!(td!=null&&td(cd,sd.length));ud=cd)sd.push(cd)}),sd})(Ra,...qa);return function(nd,ad){td=typeof nd=="string"?ud=>is$2(ud,nd,this.options):nd?getFilterFn(nd):null;const sd=rd.call(this,ad);return td=null,sd}}function _removeDuplicates(Ra){return Ra.length>1?Array.from(new Set(Ra)):Ra}const parent$1=_singleMatcher(({parent:Ra})=>Ra&&!isDocument(Ra)?Ra:null,_removeDuplicates),parents=_matcher(Ra=>{const qa=[];for(;Ra.parent&&!isDocument(Ra.parent);)qa.push(Ra.parent),Ra=Ra.parent;return qa},uniqueSort,Ra=>Ra.reverse()),parentsUntil=_matchUntil(({parent:Ra})=>Ra&&!isDocument(Ra)?Ra:null,uniqueSort,Ra=>Ra.reverse());function closest(Ra){var qa;const td=[];if(!Ra)return this._make(td);const rd={xmlMode:this.options.xmlMode,root:(qa=this._root)===null||qa===void 0?void 0:qa[0]},nd=typeof Ra=="string"?ad=>is$2(ad,Ra,rd):getFilterFn(Ra);return domEach(this,ad=>{for(ad&&!isDocument(ad)&&!isTag(ad)&&(ad=ad.parent);ad&&isTag(ad);){if(nd(ad,0)){td.includes(ad)||td.push(ad);break}ad=ad.parent}}),this._make(td)}const next$1=_singleMatcher(Ra=>nextElementSibling(Ra)),nextAll=_matcher(Ra=>{const qa=[];for(;Ra.next;)Ra=Ra.next,isTag(Ra)&&qa.push(Ra);return qa},_removeDuplicates),nextUntil=_matchUntil(Ra=>nextElementSibling(Ra),_removeDuplicates),prev$1=_singleMatcher(Ra=>prevElementSibling(Ra)),prevAll=_matcher(Ra=>{const qa=[];for(;Ra.prev;)Ra=Ra.prev,isTag(Ra)&&qa.push(Ra);return qa},_removeDuplicates),prevUntil=_matchUntil(Ra=>prevElementSibling(Ra),_removeDuplicates),siblings=_matcher(Ra=>getSiblings(Ra).filter(qa=>isTag(qa)&&qa!==Ra),uniqueSort),children$2=_matcher(Ra=>getChildren(Ra).filter(isTag),_removeDuplicates);function contents(){const Ra=this.toArray().reduce((qa,td)=>hasChildren(td)?qa.concat(td.children):qa,[]);return this._make(Ra)}function each$1(Ra){let qa=0;const td=this.length;for(;qaRa.call(qa,td,qa):isCheerio(Ra)?qa=>Array.prototype.includes.call(Ra,qa):function(qa){return Ra===qa}}function filter$3(Ra){var qa;return this._make(filterArray$1(this.toArray(),Ra,this.options.xmlMode,(qa=this._root)===null||qa===void 0?void 0:qa[0]))}function filterArray$1(Ra,qa,td,rd){return typeof qa=="string"?filter$4(qa,Ra,{xmlMode:td,root:rd}):Ra.filter(getFilterFn(qa))}function is$1(Ra){const qa=this.toArray();return typeof Ra=="string"?some$2(qa.filter(isTag),Ra,this.options):Ra?qa.some(getFilterFn(Ra)):!1}function not(Ra){let qa=this.toArray();if(typeof Ra=="string"){const td=new Set(filter$4(Ra,qa,this.options));qa=qa.filter(rd=>!td.has(rd))}else{const td=getFilterFn(Ra);qa=qa.filter((rd,nd)=>!td(rd,nd))}return this._make(qa)}function has(Ra){return this.filter(typeof Ra=="string"?`:has(${Ra})`:(qa,td)=>this._make(td).find(Ra).length>0)}function first(){return this.length>1?this._make(this[0]):this}function last(){return this.length>0?this._make(this[this.length-1]):this}function eq(Ra){var qa;return Ra=+Ra,Ra===0&&this.length<=1?this:(Ra<0&&(Ra=this.length+Ra),this._make((qa=this[Ra])!==null&&qa!==void 0?qa:[]))}function get$2(Ra){return Ra==null?this.toArray():this[Ra<0?this.length+Ra:Ra]}function toArray$3(){return Array.prototype.slice.call(this)}function index$1(Ra){let qa,td;return Ra==null?(qa=this.parent().children(),td=this[0]):typeof Ra=="string"?(qa=this._make(Ra),td=this[0]):(qa=this,td=isCheerio(Ra)?Ra[0]:Ra),Array.prototype.indexOf.call(qa,td)}function slice$1(Ra,qa){return this._make(Array.prototype.slice.call(this,Ra,qa))}function end(){var Ra;return(Ra=this.prevObject)!==null&&Ra!==void 0?Ra:this._make([])}function add(Ra,qa){const td=this._make(Ra,qa),rd=uniqueSort([...this.get(),...td.get()]);return this._make(rd)}function addBack(Ra){return this.prevObject?this.add(Ra?this.prevObject.filter(Ra):this.prevObject):this}const Traversing=Object.freeze(Object.defineProperty({__proto__:null,_findBySelector,add,addBack,children:children$2,closest,contents,each:each$1,end,eq,filter:filter$3,filterArray:filterArray$1,find:find$1,first,get:get$2,has,index:index$1,is:is$1,last,map:map$3,next:next$1,nextAll,nextUntil,not,parent:parent$1,parents,parentsUntil,prev:prev$1,prevAll,prevUntil,siblings,slice:slice$1,toArray:toArray$3},Symbol.toStringTag,{value:"Module"}));function getParse(Ra){return function(td,rd,nd,ad){if(typeof Buffer$2<"u"&&Buffer$2.isBuffer(td)&&(td=td.toString()),typeof td=="string")return Ra(td,rd,nd,ad);const sd=td;if(!Array.isArray(sd)&&isDocument(sd))return sd;const ud=new Document([]);return update(sd,ud),ud}}function update(Ra,qa){const td=Array.isArray(Ra)?Ra:[Ra];qa?qa.children=td:qa=null;for(let rd=0;rd{if(!hasChildren(rd))return;const ad=typeof qa[0]=="function"?qa[0].call(rd,nd,this._render(rd.children)):qa,sd=this._makeDomArray(ad,nd=Ra.length?null:Ra[qa+td];for(let pd=0;pd-1&&(Td.children.splice(Sd,1),nd===Td&&qa>Sd&&ud[0]--)}fd.parent=nd,fd.prev&&(fd.prev.next=(ad=fd.next)!==null&&ad!==void 0?ad:null),fd.next&&(fd.next.prev=(sd=fd.prev)!==null&&sd!==void 0?sd:null),fd.prev=pd===0?cd:rd[pd-1],fd.next=pd===rd.length-1?dd:rd[pd+1]}return cd&&(cd.next=rd[0]),dd&&(dd.prev=rd[rd.length-1]),Ra.splice(...ud)}function appendTo(Ra){return(isCheerio(Ra)?Ra:this._make(Ra)).append(this),this}function prependTo(Ra){return(isCheerio(Ra)?Ra:this._make(Ra)).prepend(this),this}const append$2=_insert((Ra,qa,td)=>{uniqueSplice(qa,qa.length,0,Ra,td)}),prepend=_insert((Ra,qa,td)=>{uniqueSplice(qa,0,0,Ra,td)});function _wrap(Ra){return function(qa){const td=this.length-1,rd=this.parents().last();for(let nd=0;nd{const{parent:rd}=Ra;if(!rd)return;const nd=rd.children,ad=nd.indexOf(Ra);update([Ra],qa),uniqueSplice(nd,ad,0,td,rd)}),wrapInner=_wrap((Ra,qa,td)=>{hasChildren(Ra)&&(update(Ra.children,qa),update(td,Ra))});function unwrap(Ra){return this.parent(Ra).not("body").each((qa,td)=>{this._make(td).replaceWith(td.children)}),this}function wrapAll(Ra){const qa=this[0];if(qa){const td=this._make(typeof Ra=="function"?Ra.call(qa,0,qa):Ra).insertBefore(qa);let rd;for(let ad=0;ad{if(!hasChildren(td)||!td.parent)return;const nd=td.parent.children,ad=nd.indexOf(td);if(ad<0)return;const sd=typeof Ra[0]=="function"?Ra[0].call(td,rd,this._render(td.children)):Ra,ud=this._makeDomArray(sd,rd{if(!hasChildren(td)||!td.parent)return;const nd=td.parent.children,ad=nd.indexOf(td);if(ad<0)return;const sd=typeof Ra[0]=="function"?Ra[0].call(td,rd,this._render(td.children)):Ra,ud=this._makeDomArray(sd,rd{const nd=this.clone().toArray(),{parent:ad}=rd;if(!ad)return;const sd=ad.children,ud=sd.indexOf(rd);ud<0||(uniqueSplice(sd,ud,0,nd,ad),td.push(...nd))}),this._make(td)}function remove$1(Ra){const qa=Ra?this.filter(Ra):this;return domEach(qa,td=>{removeElement(td),td.prev=td.next=td.parent=null}),this}function replaceWith(Ra){return domEach(this,(qa,td)=>{const{parent:rd}=qa;if(!rd)return;const nd=rd.children,ad=typeof Ra=="function"?Ra.call(qa,td,qa):Ra,sd=this._makeDomArray(ad);update(sd,null);const ud=nd.indexOf(qa);uniqueSplice(nd,ud,1,sd,rd),sd.includes(qa)||(qa.parent=qa.prev=qa.next=null)})}function empty$1(){return domEach(this,Ra=>{if(hasChildren(Ra)){for(const qa of Ra.children)qa.next=qa.prev=qa.parent=null;Ra.children.length=0}})}function html$4(Ra){if(Ra===void 0){const qa=this[0];return!qa||!hasChildren(qa)?null:this._render(qa.children)}return domEach(this,qa=>{if(!hasChildren(qa))return;for(const rd of qa.children)rd.next=rd.prev=rd.parent=null;const td=isCheerio(Ra)?Ra.toArray():this._parse(`${Ra}`,this.options,!1,qa).children;update(td,qa)})}function toString$3(){return this._render(this)}function text$1(Ra){return Ra===void 0?text$2(this):typeof Ra=="function"?domEach(this,(qa,td)=>this._make(qa).text(Ra.call(qa,td,text$2([qa])))):domEach(this,qa=>{if(!hasChildren(qa))return;for(const rd of qa.children)rd.next=rd.prev=rd.parent=null;const td=new Text(`${Ra}`);update(td,qa)})}function clone$1(){const Ra=Array.prototype.map.call(this.get(),td=>cloneNode(td,!0)),qa=new Document(Ra);for(const td of Ra)td.parent=qa;return this._make(Ra)}const Manipulation=Object.freeze(Object.defineProperty({__proto__:null,_makeDomArray,after,append:append$2,appendTo,before,clone:clone$1,empty:empty$1,html:html$4,insertAfter,insertBefore,prepend,prependTo,remove:remove$1,replaceWith,text:text$1,toString:toString$3,unwrap,wrap:wrap$1,wrapAll,wrapInner},Symbol.toStringTag,{value:"Module"}));function css$1(Ra,qa){if(Ra!=null&&qa!=null||typeof Ra=="object"&&!Array.isArray(Ra))return domEach(this,(td,rd)=>{isTag(td)&&setCss(td,Ra,qa,rd)});if(this.length!==0)return getCss(this[0],Ra)}function setCss(Ra,qa,td,rd){if(typeof qa=="string"){const nd=getCss(Ra),ad=typeof td=="function"?td.call(Ra,rd,nd[qa]):td;ad===""?delete nd[qa]:ad!=null&&(nd[qa]=ad),Ra.attribs.style=stringify$3(nd)}else if(typeof qa=="object"){const nd=Object.keys(qa);for(let ad=0;ad`${qa}${qa?" ":""}${td}: ${Ra[td]};`,"")}function parse$5(Ra){if(Ra=(Ra||"").trim(),!Ra)return{};const qa={};let td;for(const rd of Ra.split(";")){const nd=rd.indexOf(":");if(nd<1||nd===rd.length-1){const ad=rd.trimEnd();ad.length>0&&td!==void 0&&(qa[td]+=`;${ad}`)}else td=rd.slice(0,nd).trim(),qa[td]=rd.slice(nd+1).trim()}return qa}const Css=Object.freeze(Object.defineProperty({__proto__:null,css:css$1},Symbol.toStringTag,{value:"Module"})),submittableSelector="input,select,textarea,keygen",r20=/%20/g,rCRLF=/\r?\n/g;function serialize$1(){return this.serializeArray().map(td=>`${encodeURIComponent(td.name)}=${encodeURIComponent(td.value)}`).join("&").replace(r20,"+")}function serializeArray(){return this.map((Ra,qa)=>{const td=this._make(qa);return isTag(qa)&&qa.name==="form"?td.find(submittableSelector).toArray():td.filter(submittableSelector).toArray()}).filter('[name!=""]:enabled:not(:submit, :button, :image, :reset, :file):matches([checked], :not(:checkbox, :radio))').map((Ra,qa)=>{var td;const rd=this._make(qa),nd=rd.attr("name"),ad=(td=rd.val())!==null&&td!==void 0?td:"";return Array.isArray(ad)?ad.map(sd=>({name:nd,value:sd.replace(rCRLF,`\r +`)})):{name:nd,value:ad.replace(rCRLF,`\r +`)}}).toArray()}const Forms=Object.freeze(Object.defineProperty({__proto__:null,serialize:serialize$1,serializeArray},Symbol.toStringTag,{value:"Module"}));function getExtractDescr(Ra){var qa;return typeof Ra=="string"?{selector:Ra,value:"textContent"}:{selector:Ra.selector,value:(qa=Ra.value)!==null&&qa!==void 0?qa:"textContent"}}function extract(Ra){const qa={};for(const td in Ra){const rd=Ra[td],nd=Array.isArray(rd),{selector:ad,value:sd}=getExtractDescr(nd?rd[0]:rd),ud=typeof sd=="function"?sd:typeof sd=="string"?cd=>this._make(cd).prop(sd):cd=>this._make(cd).extract(sd);if(nd)qa[td]=this._findBySelector(ad,Number.POSITIVE_INFINITY).map((cd,dd)=>ud(dd,td,qa)).get();else{const cd=this._findBySelector(ad,1);qa[td]=cd.length>0?ud(cd[0],td,qa):void 0}}return qa}const Extract=Object.freeze(Object.defineProperty({__proto__:null,extract},Symbol.toStringTag,{value:"Module"}));class Cheerio{constructor(qa,td,rd){if(this.length=0,this.options=rd,this._root=td,qa){for(let nd=0;nd=55296&&Ra<=57343}function isSurrogatePair(Ra){return Ra>=56320&&Ra<=57343}function getSurrogatePairCodePoint(Ra,qa){return(Ra-55296)*1024+9216+qa}function isControlCodePoint(Ra){return Ra!==32&&Ra!==10&&Ra!==13&&Ra!==9&&Ra!==12&&Ra>=1&&Ra<=31||Ra>=127&&Ra<=159}function isUndefinedCodePoint(Ra){return Ra>=64976&&Ra<=65007||UNDEFINED_CODE_POINTS.has(Ra)}var ERR;(function(Ra){Ra.controlCharacterInInputStream="control-character-in-input-stream",Ra.noncharacterInInputStream="noncharacter-in-input-stream",Ra.surrogateInInputStream="surrogate-in-input-stream",Ra.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",Ra.endTagWithAttributes="end-tag-with-attributes",Ra.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",Ra.unexpectedSolidusInTag="unexpected-solidus-in-tag",Ra.unexpectedNullCharacter="unexpected-null-character",Ra.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",Ra.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",Ra.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",Ra.missingEndTagName="missing-end-tag-name",Ra.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",Ra.unknownNamedCharacterReference="unknown-named-character-reference",Ra.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",Ra.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",Ra.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",Ra.eofBeforeTagName="eof-before-tag-name",Ra.eofInTag="eof-in-tag",Ra.missingAttributeValue="missing-attribute-value",Ra.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",Ra.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",Ra.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",Ra.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",Ra.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",Ra.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",Ra.missingDoctypePublicIdentifier="missing-doctype-public-identifier",Ra.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",Ra.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",Ra.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",Ra.cdataInHtmlContent="cdata-in-html-content",Ra.incorrectlyOpenedComment="incorrectly-opened-comment",Ra.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",Ra.eofInDoctype="eof-in-doctype",Ra.nestedComment="nested-comment",Ra.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",Ra.eofInComment="eof-in-comment",Ra.incorrectlyClosedComment="incorrectly-closed-comment",Ra.eofInCdata="eof-in-cdata",Ra.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",Ra.nullCharacterReference="null-character-reference",Ra.surrogateCharacterReference="surrogate-character-reference",Ra.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",Ra.controlCharacterReference="control-character-reference",Ra.noncharacterCharacterReference="noncharacter-character-reference",Ra.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",Ra.missingDoctypeName="missing-doctype-name",Ra.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",Ra.duplicateAttribute="duplicate-attribute",Ra.nonConformingDoctype="non-conforming-doctype",Ra.missingDoctype="missing-doctype",Ra.misplacedDoctype="misplaced-doctype",Ra.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",Ra.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",Ra.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",Ra.openElementsLeftAfterEof="open-elements-left-after-eof",Ra.abandonedHeadElementChild="abandoned-head-element-child",Ra.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",Ra.nestedNoscriptInHead="nested-noscript-in-head",Ra.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(ERR=ERR||(ERR={}));const DEFAULT_BUFFER_WATERLINE=65536;class Preprocessor{constructor(qa){this.handler=qa,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=DEFAULT_BUFFER_WATERLINE,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(qa){const{line:td,col:rd,offset:nd}=this;return{code:qa,startLine:td,endLine:td,startCol:rd,endCol:rd,startOffset:nd,endOffset:nd}}_err(qa){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(qa)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(qa){if(this.pos!==this.html.length-1){const td=this.html.charCodeAt(this.pos+1);if(isSurrogatePair(td))return this.pos++,this._addGap(),getSurrogatePairCodePoint(qa,td)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,CODE_POINTS.EOF;return this._err(ERR.surrogateInInputStream),qa}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(qa,td){this.html.length>0?this.html+=qa:this.html=qa,this.endOfChunkHit=!1,this.lastChunkWritten=td}insertHtmlAtCurrentPos(qa){this.html=this.html.substring(0,this.pos+1)+qa+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(qa,td){if(this.pos+qa.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(td)return this.html.startsWith(qa,this.pos);for(let rd=0;rd=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,CODE_POINTS.EOF;const rd=this.html.charCodeAt(td);return rd===CODE_POINTS.CARRIAGE_RETURN?CODE_POINTS.LINE_FEED:rd}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,CODE_POINTS.EOF;let qa=this.html.charCodeAt(this.pos);return qa===CODE_POINTS.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,CODE_POINTS.LINE_FEED):qa===CODE_POINTS.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,isSurrogate(qa)&&(qa=this._processSurrogate(qa)),this.handler.onParseError===null||qa>31&&qa<127||qa===CODE_POINTS.LINE_FEED||qa===CODE_POINTS.CARRIAGE_RETURN||qa>159&&qa<64976||this._checkForProblematicCharacters(qa),qa)}_checkForProblematicCharacters(qa){isControlCodePoint(qa)?this._err(ERR.controlCharacterInInputStream):isUndefinedCodePoint(qa)&&this._err(ERR.noncharacterInInputStream)}retreat(qa){for(this.pos-=qa;this.pos=0;td--)if(Ra.attrs[td].name===qa)return Ra.attrs[td].value;return null}var NS;(function(Ra){Ra.HTML="http://www.w3.org/1999/xhtml",Ra.MATHML="http://www.w3.org/1998/Math/MathML",Ra.SVG="http://www.w3.org/2000/svg",Ra.XLINK="http://www.w3.org/1999/xlink",Ra.XML="http://www.w3.org/XML/1998/namespace",Ra.XMLNS="http://www.w3.org/2000/xmlns/"})(NS=NS||(NS={}));var ATTRS;(function(Ra){Ra.TYPE="type",Ra.ACTION="action",Ra.ENCODING="encoding",Ra.PROMPT="prompt",Ra.NAME="name",Ra.COLOR="color",Ra.FACE="face",Ra.SIZE="size"})(ATTRS=ATTRS||(ATTRS={}));var DOCUMENT_MODE;(function(Ra){Ra.NO_QUIRKS="no-quirks",Ra.QUIRKS="quirks",Ra.LIMITED_QUIRKS="limited-quirks"})(DOCUMENT_MODE=DOCUMENT_MODE||(DOCUMENT_MODE={}));var TAG_NAMES;(function(Ra){Ra.A="a",Ra.ADDRESS="address",Ra.ANNOTATION_XML="annotation-xml",Ra.APPLET="applet",Ra.AREA="area",Ra.ARTICLE="article",Ra.ASIDE="aside",Ra.B="b",Ra.BASE="base",Ra.BASEFONT="basefont",Ra.BGSOUND="bgsound",Ra.BIG="big",Ra.BLOCKQUOTE="blockquote",Ra.BODY="body",Ra.BR="br",Ra.BUTTON="button",Ra.CAPTION="caption",Ra.CENTER="center",Ra.CODE="code",Ra.COL="col",Ra.COLGROUP="colgroup",Ra.DD="dd",Ra.DESC="desc",Ra.DETAILS="details",Ra.DIALOG="dialog",Ra.DIR="dir",Ra.DIV="div",Ra.DL="dl",Ra.DT="dt",Ra.EM="em",Ra.EMBED="embed",Ra.FIELDSET="fieldset",Ra.FIGCAPTION="figcaption",Ra.FIGURE="figure",Ra.FONT="font",Ra.FOOTER="footer",Ra.FOREIGN_OBJECT="foreignObject",Ra.FORM="form",Ra.FRAME="frame",Ra.FRAMESET="frameset",Ra.H1="h1",Ra.H2="h2",Ra.H3="h3",Ra.H4="h4",Ra.H5="h5",Ra.H6="h6",Ra.HEAD="head",Ra.HEADER="header",Ra.HGROUP="hgroup",Ra.HR="hr",Ra.HTML="html",Ra.I="i",Ra.IMG="img",Ra.IMAGE="image",Ra.INPUT="input",Ra.IFRAME="iframe",Ra.KEYGEN="keygen",Ra.LABEL="label",Ra.LI="li",Ra.LINK="link",Ra.LISTING="listing",Ra.MAIN="main",Ra.MALIGNMARK="malignmark",Ra.MARQUEE="marquee",Ra.MATH="math",Ra.MENU="menu",Ra.META="meta",Ra.MGLYPH="mglyph",Ra.MI="mi",Ra.MO="mo",Ra.MN="mn",Ra.MS="ms",Ra.MTEXT="mtext",Ra.NAV="nav",Ra.NOBR="nobr",Ra.NOFRAMES="noframes",Ra.NOEMBED="noembed",Ra.NOSCRIPT="noscript",Ra.OBJECT="object",Ra.OL="ol",Ra.OPTGROUP="optgroup",Ra.OPTION="option",Ra.P="p",Ra.PARAM="param",Ra.PLAINTEXT="plaintext",Ra.PRE="pre",Ra.RB="rb",Ra.RP="rp",Ra.RT="rt",Ra.RTC="rtc",Ra.RUBY="ruby",Ra.S="s",Ra.SCRIPT="script",Ra.SECTION="section",Ra.SELECT="select",Ra.SOURCE="source",Ra.SMALL="small",Ra.SPAN="span",Ra.STRIKE="strike",Ra.STRONG="strong",Ra.STYLE="style",Ra.SUB="sub",Ra.SUMMARY="summary",Ra.SUP="sup",Ra.TABLE="table",Ra.TBODY="tbody",Ra.TEMPLATE="template",Ra.TEXTAREA="textarea",Ra.TFOOT="tfoot",Ra.TD="td",Ra.TH="th",Ra.THEAD="thead",Ra.TITLE="title",Ra.TR="tr",Ra.TRACK="track",Ra.TT="tt",Ra.U="u",Ra.UL="ul",Ra.SVG="svg",Ra.VAR="var",Ra.WBR="wbr",Ra.XMP="xmp"})(TAG_NAMES=TAG_NAMES||(TAG_NAMES={}));var TAG_ID;(function(Ra){Ra[Ra.UNKNOWN=0]="UNKNOWN",Ra[Ra.A=1]="A",Ra[Ra.ADDRESS=2]="ADDRESS",Ra[Ra.ANNOTATION_XML=3]="ANNOTATION_XML",Ra[Ra.APPLET=4]="APPLET",Ra[Ra.AREA=5]="AREA",Ra[Ra.ARTICLE=6]="ARTICLE",Ra[Ra.ASIDE=7]="ASIDE",Ra[Ra.B=8]="B",Ra[Ra.BASE=9]="BASE",Ra[Ra.BASEFONT=10]="BASEFONT",Ra[Ra.BGSOUND=11]="BGSOUND",Ra[Ra.BIG=12]="BIG",Ra[Ra.BLOCKQUOTE=13]="BLOCKQUOTE",Ra[Ra.BODY=14]="BODY",Ra[Ra.BR=15]="BR",Ra[Ra.BUTTON=16]="BUTTON",Ra[Ra.CAPTION=17]="CAPTION",Ra[Ra.CENTER=18]="CENTER",Ra[Ra.CODE=19]="CODE",Ra[Ra.COL=20]="COL",Ra[Ra.COLGROUP=21]="COLGROUP",Ra[Ra.DD=22]="DD",Ra[Ra.DESC=23]="DESC",Ra[Ra.DETAILS=24]="DETAILS",Ra[Ra.DIALOG=25]="DIALOG",Ra[Ra.DIR=26]="DIR",Ra[Ra.DIV=27]="DIV",Ra[Ra.DL=28]="DL",Ra[Ra.DT=29]="DT",Ra[Ra.EM=30]="EM",Ra[Ra.EMBED=31]="EMBED",Ra[Ra.FIELDSET=32]="FIELDSET",Ra[Ra.FIGCAPTION=33]="FIGCAPTION",Ra[Ra.FIGURE=34]="FIGURE",Ra[Ra.FONT=35]="FONT",Ra[Ra.FOOTER=36]="FOOTER",Ra[Ra.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",Ra[Ra.FORM=38]="FORM",Ra[Ra.FRAME=39]="FRAME",Ra[Ra.FRAMESET=40]="FRAMESET",Ra[Ra.H1=41]="H1",Ra[Ra.H2=42]="H2",Ra[Ra.H3=43]="H3",Ra[Ra.H4=44]="H4",Ra[Ra.H5=45]="H5",Ra[Ra.H6=46]="H6",Ra[Ra.HEAD=47]="HEAD",Ra[Ra.HEADER=48]="HEADER",Ra[Ra.HGROUP=49]="HGROUP",Ra[Ra.HR=50]="HR",Ra[Ra.HTML=51]="HTML",Ra[Ra.I=52]="I",Ra[Ra.IMG=53]="IMG",Ra[Ra.IMAGE=54]="IMAGE",Ra[Ra.INPUT=55]="INPUT",Ra[Ra.IFRAME=56]="IFRAME",Ra[Ra.KEYGEN=57]="KEYGEN",Ra[Ra.LABEL=58]="LABEL",Ra[Ra.LI=59]="LI",Ra[Ra.LINK=60]="LINK",Ra[Ra.LISTING=61]="LISTING",Ra[Ra.MAIN=62]="MAIN",Ra[Ra.MALIGNMARK=63]="MALIGNMARK",Ra[Ra.MARQUEE=64]="MARQUEE",Ra[Ra.MATH=65]="MATH",Ra[Ra.MENU=66]="MENU",Ra[Ra.META=67]="META",Ra[Ra.MGLYPH=68]="MGLYPH",Ra[Ra.MI=69]="MI",Ra[Ra.MO=70]="MO",Ra[Ra.MN=71]="MN",Ra[Ra.MS=72]="MS",Ra[Ra.MTEXT=73]="MTEXT",Ra[Ra.NAV=74]="NAV",Ra[Ra.NOBR=75]="NOBR",Ra[Ra.NOFRAMES=76]="NOFRAMES",Ra[Ra.NOEMBED=77]="NOEMBED",Ra[Ra.NOSCRIPT=78]="NOSCRIPT",Ra[Ra.OBJECT=79]="OBJECT",Ra[Ra.OL=80]="OL",Ra[Ra.OPTGROUP=81]="OPTGROUP",Ra[Ra.OPTION=82]="OPTION",Ra[Ra.P=83]="P",Ra[Ra.PARAM=84]="PARAM",Ra[Ra.PLAINTEXT=85]="PLAINTEXT",Ra[Ra.PRE=86]="PRE",Ra[Ra.RB=87]="RB",Ra[Ra.RP=88]="RP",Ra[Ra.RT=89]="RT",Ra[Ra.RTC=90]="RTC",Ra[Ra.RUBY=91]="RUBY",Ra[Ra.S=92]="S",Ra[Ra.SCRIPT=93]="SCRIPT",Ra[Ra.SECTION=94]="SECTION",Ra[Ra.SELECT=95]="SELECT",Ra[Ra.SOURCE=96]="SOURCE",Ra[Ra.SMALL=97]="SMALL",Ra[Ra.SPAN=98]="SPAN",Ra[Ra.STRIKE=99]="STRIKE",Ra[Ra.STRONG=100]="STRONG",Ra[Ra.STYLE=101]="STYLE",Ra[Ra.SUB=102]="SUB",Ra[Ra.SUMMARY=103]="SUMMARY",Ra[Ra.SUP=104]="SUP",Ra[Ra.TABLE=105]="TABLE",Ra[Ra.TBODY=106]="TBODY",Ra[Ra.TEMPLATE=107]="TEMPLATE",Ra[Ra.TEXTAREA=108]="TEXTAREA",Ra[Ra.TFOOT=109]="TFOOT",Ra[Ra.TD=110]="TD",Ra[Ra.TH=111]="TH",Ra[Ra.THEAD=112]="THEAD",Ra[Ra.TITLE=113]="TITLE",Ra[Ra.TR=114]="TR",Ra[Ra.TRACK=115]="TRACK",Ra[Ra.TT=116]="TT",Ra[Ra.U=117]="U",Ra[Ra.UL=118]="UL",Ra[Ra.SVG=119]="SVG",Ra[Ra.VAR=120]="VAR",Ra[Ra.WBR=121]="WBR",Ra[Ra.XMP=122]="XMP"})(TAG_ID=TAG_ID||(TAG_ID={}));const TAG_NAME_TO_ID=new Map([[TAG_NAMES.A,TAG_ID.A],[TAG_NAMES.ADDRESS,TAG_ID.ADDRESS],[TAG_NAMES.ANNOTATION_XML,TAG_ID.ANNOTATION_XML],[TAG_NAMES.APPLET,TAG_ID.APPLET],[TAG_NAMES.AREA,TAG_ID.AREA],[TAG_NAMES.ARTICLE,TAG_ID.ARTICLE],[TAG_NAMES.ASIDE,TAG_ID.ASIDE],[TAG_NAMES.B,TAG_ID.B],[TAG_NAMES.BASE,TAG_ID.BASE],[TAG_NAMES.BASEFONT,TAG_ID.BASEFONT],[TAG_NAMES.BGSOUND,TAG_ID.BGSOUND],[TAG_NAMES.BIG,TAG_ID.BIG],[TAG_NAMES.BLOCKQUOTE,TAG_ID.BLOCKQUOTE],[TAG_NAMES.BODY,TAG_ID.BODY],[TAG_NAMES.BR,TAG_ID.BR],[TAG_NAMES.BUTTON,TAG_ID.BUTTON],[TAG_NAMES.CAPTION,TAG_ID.CAPTION],[TAG_NAMES.CENTER,TAG_ID.CENTER],[TAG_NAMES.CODE,TAG_ID.CODE],[TAG_NAMES.COL,TAG_ID.COL],[TAG_NAMES.COLGROUP,TAG_ID.COLGROUP],[TAG_NAMES.DD,TAG_ID.DD],[TAG_NAMES.DESC,TAG_ID.DESC],[TAG_NAMES.DETAILS,TAG_ID.DETAILS],[TAG_NAMES.DIALOG,TAG_ID.DIALOG],[TAG_NAMES.DIR,TAG_ID.DIR],[TAG_NAMES.DIV,TAG_ID.DIV],[TAG_NAMES.DL,TAG_ID.DL],[TAG_NAMES.DT,TAG_ID.DT],[TAG_NAMES.EM,TAG_ID.EM],[TAG_NAMES.EMBED,TAG_ID.EMBED],[TAG_NAMES.FIELDSET,TAG_ID.FIELDSET],[TAG_NAMES.FIGCAPTION,TAG_ID.FIGCAPTION],[TAG_NAMES.FIGURE,TAG_ID.FIGURE],[TAG_NAMES.FONT,TAG_ID.FONT],[TAG_NAMES.FOOTER,TAG_ID.FOOTER],[TAG_NAMES.FOREIGN_OBJECT,TAG_ID.FOREIGN_OBJECT],[TAG_NAMES.FORM,TAG_ID.FORM],[TAG_NAMES.FRAME,TAG_ID.FRAME],[TAG_NAMES.FRAMESET,TAG_ID.FRAMESET],[TAG_NAMES.H1,TAG_ID.H1],[TAG_NAMES.H2,TAG_ID.H2],[TAG_NAMES.H3,TAG_ID.H3],[TAG_NAMES.H4,TAG_ID.H4],[TAG_NAMES.H5,TAG_ID.H5],[TAG_NAMES.H6,TAG_ID.H6],[TAG_NAMES.HEAD,TAG_ID.HEAD],[TAG_NAMES.HEADER,TAG_ID.HEADER],[TAG_NAMES.HGROUP,TAG_ID.HGROUP],[TAG_NAMES.HR,TAG_ID.HR],[TAG_NAMES.HTML,TAG_ID.HTML],[TAG_NAMES.I,TAG_ID.I],[TAG_NAMES.IMG,TAG_ID.IMG],[TAG_NAMES.IMAGE,TAG_ID.IMAGE],[TAG_NAMES.INPUT,TAG_ID.INPUT],[TAG_NAMES.IFRAME,TAG_ID.IFRAME],[TAG_NAMES.KEYGEN,TAG_ID.KEYGEN],[TAG_NAMES.LABEL,TAG_ID.LABEL],[TAG_NAMES.LI,TAG_ID.LI],[TAG_NAMES.LINK,TAG_ID.LINK],[TAG_NAMES.LISTING,TAG_ID.LISTING],[TAG_NAMES.MAIN,TAG_ID.MAIN],[TAG_NAMES.MALIGNMARK,TAG_ID.MALIGNMARK],[TAG_NAMES.MARQUEE,TAG_ID.MARQUEE],[TAG_NAMES.MATH,TAG_ID.MATH],[TAG_NAMES.MENU,TAG_ID.MENU],[TAG_NAMES.META,TAG_ID.META],[TAG_NAMES.MGLYPH,TAG_ID.MGLYPH],[TAG_NAMES.MI,TAG_ID.MI],[TAG_NAMES.MO,TAG_ID.MO],[TAG_NAMES.MN,TAG_ID.MN],[TAG_NAMES.MS,TAG_ID.MS],[TAG_NAMES.MTEXT,TAG_ID.MTEXT],[TAG_NAMES.NAV,TAG_ID.NAV],[TAG_NAMES.NOBR,TAG_ID.NOBR],[TAG_NAMES.NOFRAMES,TAG_ID.NOFRAMES],[TAG_NAMES.NOEMBED,TAG_ID.NOEMBED],[TAG_NAMES.NOSCRIPT,TAG_ID.NOSCRIPT],[TAG_NAMES.OBJECT,TAG_ID.OBJECT],[TAG_NAMES.OL,TAG_ID.OL],[TAG_NAMES.OPTGROUP,TAG_ID.OPTGROUP],[TAG_NAMES.OPTION,TAG_ID.OPTION],[TAG_NAMES.P,TAG_ID.P],[TAG_NAMES.PARAM,TAG_ID.PARAM],[TAG_NAMES.PLAINTEXT,TAG_ID.PLAINTEXT],[TAG_NAMES.PRE,TAG_ID.PRE],[TAG_NAMES.RB,TAG_ID.RB],[TAG_NAMES.RP,TAG_ID.RP],[TAG_NAMES.RT,TAG_ID.RT],[TAG_NAMES.RTC,TAG_ID.RTC],[TAG_NAMES.RUBY,TAG_ID.RUBY],[TAG_NAMES.S,TAG_ID.S],[TAG_NAMES.SCRIPT,TAG_ID.SCRIPT],[TAG_NAMES.SECTION,TAG_ID.SECTION],[TAG_NAMES.SELECT,TAG_ID.SELECT],[TAG_NAMES.SOURCE,TAG_ID.SOURCE],[TAG_NAMES.SMALL,TAG_ID.SMALL],[TAG_NAMES.SPAN,TAG_ID.SPAN],[TAG_NAMES.STRIKE,TAG_ID.STRIKE],[TAG_NAMES.STRONG,TAG_ID.STRONG],[TAG_NAMES.STYLE,TAG_ID.STYLE],[TAG_NAMES.SUB,TAG_ID.SUB],[TAG_NAMES.SUMMARY,TAG_ID.SUMMARY],[TAG_NAMES.SUP,TAG_ID.SUP],[TAG_NAMES.TABLE,TAG_ID.TABLE],[TAG_NAMES.TBODY,TAG_ID.TBODY],[TAG_NAMES.TEMPLATE,TAG_ID.TEMPLATE],[TAG_NAMES.TEXTAREA,TAG_ID.TEXTAREA],[TAG_NAMES.TFOOT,TAG_ID.TFOOT],[TAG_NAMES.TD,TAG_ID.TD],[TAG_NAMES.TH,TAG_ID.TH],[TAG_NAMES.THEAD,TAG_ID.THEAD],[TAG_NAMES.TITLE,TAG_ID.TITLE],[TAG_NAMES.TR,TAG_ID.TR],[TAG_NAMES.TRACK,TAG_ID.TRACK],[TAG_NAMES.TT,TAG_ID.TT],[TAG_NAMES.U,TAG_ID.U],[TAG_NAMES.UL,TAG_ID.UL],[TAG_NAMES.SVG,TAG_ID.SVG],[TAG_NAMES.VAR,TAG_ID.VAR],[TAG_NAMES.WBR,TAG_ID.WBR],[TAG_NAMES.XMP,TAG_ID.XMP]]);function getTagID(Ra){var qa;return(qa=TAG_NAME_TO_ID.get(Ra))!==null&&qa!==void 0?qa:TAG_ID.UNKNOWN}const $$3=TAG_ID,SPECIAL_ELEMENTS={[NS.HTML]:new Set([$$3.ADDRESS,$$3.APPLET,$$3.AREA,$$3.ARTICLE,$$3.ASIDE,$$3.BASE,$$3.BASEFONT,$$3.BGSOUND,$$3.BLOCKQUOTE,$$3.BODY,$$3.BR,$$3.BUTTON,$$3.CAPTION,$$3.CENTER,$$3.COL,$$3.COLGROUP,$$3.DD,$$3.DETAILS,$$3.DIR,$$3.DIV,$$3.DL,$$3.DT,$$3.EMBED,$$3.FIELDSET,$$3.FIGCAPTION,$$3.FIGURE,$$3.FOOTER,$$3.FORM,$$3.FRAME,$$3.FRAMESET,$$3.H1,$$3.H2,$$3.H3,$$3.H4,$$3.H5,$$3.H6,$$3.HEAD,$$3.HEADER,$$3.HGROUP,$$3.HR,$$3.HTML,$$3.IFRAME,$$3.IMG,$$3.INPUT,$$3.LI,$$3.LINK,$$3.LISTING,$$3.MAIN,$$3.MARQUEE,$$3.MENU,$$3.META,$$3.NAV,$$3.NOEMBED,$$3.NOFRAMES,$$3.NOSCRIPT,$$3.OBJECT,$$3.OL,$$3.P,$$3.PARAM,$$3.PLAINTEXT,$$3.PRE,$$3.SCRIPT,$$3.SECTION,$$3.SELECT,$$3.SOURCE,$$3.STYLE,$$3.SUMMARY,$$3.TABLE,$$3.TBODY,$$3.TD,$$3.TEMPLATE,$$3.TEXTAREA,$$3.TFOOT,$$3.TH,$$3.THEAD,$$3.TITLE,$$3.TR,$$3.TRACK,$$3.UL,$$3.WBR,$$3.XMP]),[NS.MATHML]:new Set([$$3.MI,$$3.MO,$$3.MN,$$3.MS,$$3.MTEXT,$$3.ANNOTATION_XML]),[NS.SVG]:new Set([$$3.TITLE,$$3.FOREIGN_OBJECT,$$3.DESC]),[NS.XLINK]:new Set,[NS.XML]:new Set,[NS.XMLNS]:new Set};function isNumberedHeader(Ra){return Ra===$$3.H1||Ra===$$3.H2||Ra===$$3.H3||Ra===$$3.H4||Ra===$$3.H5||Ra===$$3.H6}const UNESCAPED_TEXT=new Set([TAG_NAMES.STYLE,TAG_NAMES.SCRIPT,TAG_NAMES.XMP,TAG_NAMES.IFRAME,TAG_NAMES.NOEMBED,TAG_NAMES.NOFRAMES,TAG_NAMES.PLAINTEXT]);function hasUnescapedText(Ra,qa){return UNESCAPED_TEXT.has(Ra)||qa&&Ra===TAG_NAMES.NOSCRIPT}const C1_CONTROLS_REFERENCE_REPLACEMENTS=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);var State$3;(function(Ra){Ra[Ra.DATA=0]="DATA",Ra[Ra.RCDATA=1]="RCDATA",Ra[Ra.RAWTEXT=2]="RAWTEXT",Ra[Ra.SCRIPT_DATA=3]="SCRIPT_DATA",Ra[Ra.PLAINTEXT=4]="PLAINTEXT",Ra[Ra.TAG_OPEN=5]="TAG_OPEN",Ra[Ra.END_TAG_OPEN=6]="END_TAG_OPEN",Ra[Ra.TAG_NAME=7]="TAG_NAME",Ra[Ra.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",Ra[Ra.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",Ra[Ra.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",Ra[Ra.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",Ra[Ra.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",Ra[Ra.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",Ra[Ra.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",Ra[Ra.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",Ra[Ra.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",Ra[Ra.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",Ra[Ra.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",Ra[Ra.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",Ra[Ra.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",Ra[Ra.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",Ra[Ra.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",Ra[Ra.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",Ra[Ra.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",Ra[Ra.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",Ra[Ra.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",Ra[Ra.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",Ra[Ra.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",Ra[Ra.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",Ra[Ra.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",Ra[Ra.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",Ra[Ra.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",Ra[Ra.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",Ra[Ra.BOGUS_COMMENT=40]="BOGUS_COMMENT",Ra[Ra.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",Ra[Ra.COMMENT_START=42]="COMMENT_START",Ra[Ra.COMMENT_START_DASH=43]="COMMENT_START_DASH",Ra[Ra.COMMENT=44]="COMMENT",Ra[Ra.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",Ra[Ra.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",Ra[Ra.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",Ra[Ra.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",Ra[Ra.COMMENT_END_DASH=49]="COMMENT_END_DASH",Ra[Ra.COMMENT_END=50]="COMMENT_END",Ra[Ra.COMMENT_END_BANG=51]="COMMENT_END_BANG",Ra[Ra.DOCTYPE=52]="DOCTYPE",Ra[Ra.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",Ra[Ra.DOCTYPE_NAME=54]="DOCTYPE_NAME",Ra[Ra.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",Ra[Ra.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",Ra[Ra.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",Ra[Ra.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",Ra[Ra.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",Ra[Ra.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",Ra[Ra.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",Ra[Ra.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",Ra[Ra.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",Ra[Ra.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",Ra[Ra.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",Ra[Ra.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",Ra[Ra.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",Ra[Ra.CDATA_SECTION=68]="CDATA_SECTION",Ra[Ra.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",Ra[Ra.CDATA_SECTION_END=70]="CDATA_SECTION_END",Ra[Ra.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",Ra[Ra.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",Ra[Ra.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",Ra[Ra.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",Ra[Ra.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",Ra[Ra.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",Ra[Ra.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",Ra[Ra.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END"})(State$3||(State$3={}));const TokenizerMode={DATA:State$3.DATA,RCDATA:State$3.RCDATA,RAWTEXT:State$3.RAWTEXT,SCRIPT_DATA:State$3.SCRIPT_DATA,PLAINTEXT:State$3.PLAINTEXT,CDATA_SECTION:State$3.CDATA_SECTION};function isAsciiDigit(Ra){return Ra>=CODE_POINTS.DIGIT_0&&Ra<=CODE_POINTS.DIGIT_9}function isAsciiUpper(Ra){return Ra>=CODE_POINTS.LATIN_CAPITAL_A&&Ra<=CODE_POINTS.LATIN_CAPITAL_Z}function isAsciiLower(Ra){return Ra>=CODE_POINTS.LATIN_SMALL_A&&Ra<=CODE_POINTS.LATIN_SMALL_Z}function isAsciiLetter(Ra){return isAsciiLower(Ra)||isAsciiUpper(Ra)}function isAsciiAlphaNumeric(Ra){return isAsciiLetter(Ra)||isAsciiDigit(Ra)}function isAsciiUpperHexDigit(Ra){return Ra>=CODE_POINTS.LATIN_CAPITAL_A&&Ra<=CODE_POINTS.LATIN_CAPITAL_F}function isAsciiLowerHexDigit(Ra){return Ra>=CODE_POINTS.LATIN_SMALL_A&&Ra<=CODE_POINTS.LATIN_SMALL_F}function isAsciiHexDigit(Ra){return isAsciiDigit(Ra)||isAsciiUpperHexDigit(Ra)||isAsciiLowerHexDigit(Ra)}function toAsciiLower(Ra){return Ra+32}function isWhitespace$2(Ra){return Ra===CODE_POINTS.SPACE||Ra===CODE_POINTS.LINE_FEED||Ra===CODE_POINTS.TABULATION||Ra===CODE_POINTS.FORM_FEED}function isEntityInAttributeInvalidEnd(Ra){return Ra===CODE_POINTS.EQUALS_SIGN||isAsciiAlphaNumeric(Ra)}function isScriptDataDoubleEscapeSequenceEnd(Ra){return isWhitespace$2(Ra)||Ra===CODE_POINTS.SOLIDUS||Ra===CODE_POINTS.GREATER_THAN_SIGN}let Tokenizer$1=class{constructor(qa,td){this.options=qa,this.handler=td,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=State$3.DATA,this.returnState=State$3.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Preprocessor(td),this.currentLocation=this.getCurrentLocation(-1)}_err(qa){var td,rd;(rd=(td=this.handler).onParseError)===null||rd===void 0||rd.call(td,this.preprocessor.getError(qa))}getCurrentLocation(qa){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-qa,startOffset:this.preprocessor.offset-qa,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const qa=this._consume();this._ensureHibernation()||this._callState(qa)}this.inLoop=!1}}pause(){this.paused=!0}resume(qa){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||qa==null||qa())}write(qa,td,rd){this.active=!0,this.preprocessor.write(qa,td),this._runParsingLoop(),this.paused||rd==null||rd()}insertHtmlAtCurrentPos(qa){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(qa),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(qa){this.consumedAfterSnapshot-=qa,this.preprocessor.retreat(qa)}_reconsumeInState(qa,td){this.state=qa,this._callState(td)}_advanceBy(qa){this.consumedAfterSnapshot+=qa;for(let td=0;td0&&this._err(ERR.endTagWithAttributes),qa.selfClosing&&this._err(ERR.endTagWithTrailingSolidus),this.handler.onEndTag(qa)),this.preprocessor.dropParsedChunk()}emitCurrentComment(qa){this.prepareToken(qa),this.handler.onComment(qa),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(qa){this.prepareToken(qa),this.handler.onDoctype(qa),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(qa){if(this.currentCharacterToken){switch(qa&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=qa.startLine,this.currentCharacterToken.location.endCol=qa.startCol,this.currentCharacterToken.location.endOffset=qa.startOffset),this.currentCharacterToken.type){case TokenType.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case TokenType.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case TokenType.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const qa=this.getCurrentLocation(0);qa&&(qa.endLine=qa.startLine,qa.endCol=qa.startCol,qa.endOffset=qa.startOffset),this._emitCurrentCharacterToken(qa),this.handler.onEof({type:TokenType.EOF,location:qa}),this.active=!1}_appendCharToCurrentCharacterToken(qa,td){if(this.currentCharacterToken)if(this.currentCharacterToken.type!==qa)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=td;return}this._createCharacterToken(qa,td)}_emitCodePoint(qa){const td=isWhitespace$2(qa)?TokenType.WHITESPACE_CHARACTER:qa===CODE_POINTS.NULL?TokenType.NULL_CHARACTER:TokenType.CHARACTER;this._appendCharToCurrentCharacterToken(td,String.fromCodePoint(qa))}_emitChars(qa){this._appendCharToCurrentCharacterToken(TokenType.CHARACTER,qa)}_matchNamedCharacterReference(qa){let td=null,rd=0,nd=!1;for(let ad=0,sd=htmlDecodeTree[0];ad>=0&&(ad=determineBranch(htmlDecodeTree,sd,ad+1,qa),!(ad<0));qa=this._consume()){rd+=1,sd=htmlDecodeTree[ad];const ud=sd&BinTrieFlags.VALUE_LENGTH;if(ud){const cd=(ud>>14)-1;if(qa!==CODE_POINTS.SEMICOLON&&this._isCharacterReferenceInAttribute()&&isEntityInAttributeInvalidEnd(this.preprocessor.peek(1))?(td=[CODE_POINTS.AMPERSAND],ad+=cd):(td=cd===0?[htmlDecodeTree[ad]&~BinTrieFlags.VALUE_LENGTH]:cd===1?[htmlDecodeTree[++ad]]:[htmlDecodeTree[++ad],htmlDecodeTree[++ad]],rd=0,nd=qa!==CODE_POINTS.SEMICOLON),cd===0){this._consume();break}}}return this._unconsume(rd),nd&&!this.preprocessor.endOfChunkHit&&this._err(ERR.missingSemicolonAfterCharacterReference),this._unconsume(1),td}_isCharacterReferenceInAttribute(){return this.returnState===State$3.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===State$3.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===State$3.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(qa){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(qa):this._emitCodePoint(qa)}_callState(qa){switch(this.state){case State$3.DATA:{this._stateData(qa);break}case State$3.RCDATA:{this._stateRcdata(qa);break}case State$3.RAWTEXT:{this._stateRawtext(qa);break}case State$3.SCRIPT_DATA:{this._stateScriptData(qa);break}case State$3.PLAINTEXT:{this._statePlaintext(qa);break}case State$3.TAG_OPEN:{this._stateTagOpen(qa);break}case State$3.END_TAG_OPEN:{this._stateEndTagOpen(qa);break}case State$3.TAG_NAME:{this._stateTagName(qa);break}case State$3.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(qa);break}case State$3.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(qa);break}case State$3.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(qa);break}case State$3.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(qa);break}case State$3.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(qa);break}case State$3.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(qa);break}case State$3.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(qa);break}case State$3.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(qa);break}case State$3.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(qa);break}case State$3.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(qa);break}case State$3.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(qa);break}case State$3.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(qa);break}case State$3.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(qa);break}case State$3.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(qa);break}case State$3.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(qa);break}case State$3.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(qa);break}case State$3.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(qa);break}case State$3.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(qa);break}case State$3.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(qa);break}case State$3.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(qa);break}case State$3.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(qa);break}case State$3.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(qa);break}case State$3.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(qa);break}case State$3.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(qa);break}case State$3.ATTRIBUTE_NAME:{this._stateAttributeName(qa);break}case State$3.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(qa);break}case State$3.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(qa);break}case State$3.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(qa);break}case State$3.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(qa);break}case State$3.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(qa);break}case State$3.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(qa);break}case State$3.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(qa);break}case State$3.BOGUS_COMMENT:{this._stateBogusComment(qa);break}case State$3.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(qa);break}case State$3.COMMENT_START:{this._stateCommentStart(qa);break}case State$3.COMMENT_START_DASH:{this._stateCommentStartDash(qa);break}case State$3.COMMENT:{this._stateComment(qa);break}case State$3.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(qa);break}case State$3.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(qa);break}case State$3.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(qa);break}case State$3.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(qa);break}case State$3.COMMENT_END_DASH:{this._stateCommentEndDash(qa);break}case State$3.COMMENT_END:{this._stateCommentEnd(qa);break}case State$3.COMMENT_END_BANG:{this._stateCommentEndBang(qa);break}case State$3.DOCTYPE:{this._stateDoctype(qa);break}case State$3.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(qa);break}case State$3.DOCTYPE_NAME:{this._stateDoctypeName(qa);break}case State$3.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(qa);break}case State$3.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(qa);break}case State$3.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(qa);break}case State$3.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(qa);break}case State$3.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(qa);break}case State$3.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(qa);break}case State$3.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(qa);break}case State$3.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(qa);break}case State$3.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(qa);break}case State$3.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(qa);break}case State$3.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(qa);break}case State$3.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(qa);break}case State$3.BOGUS_DOCTYPE:{this._stateBogusDoctype(qa);break}case State$3.CDATA_SECTION:{this._stateCdataSection(qa);break}case State$3.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(qa);break}case State$3.CDATA_SECTION_END:{this._stateCdataSectionEnd(qa);break}case State$3.CHARACTER_REFERENCE:{this._stateCharacterReference(qa);break}case State$3.NAMED_CHARACTER_REFERENCE:{this._stateNamedCharacterReference(qa);break}case State$3.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(qa);break}case State$3.NUMERIC_CHARACTER_REFERENCE:{this._stateNumericCharacterReference(qa);break}case State$3.HEXADEMICAL_CHARACTER_REFERENCE_START:{this._stateHexademicalCharacterReferenceStart(qa);break}case State$3.HEXADEMICAL_CHARACTER_REFERENCE:{this._stateHexademicalCharacterReference(qa);break}case State$3.DECIMAL_CHARACTER_REFERENCE:{this._stateDecimalCharacterReference(qa);break}case State$3.NUMERIC_CHARACTER_REFERENCE_END:{this._stateNumericCharacterReferenceEnd(qa);break}default:throw new Error("Unknown state")}}_stateData(qa){switch(qa){case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$3.TAG_OPEN;break}case CODE_POINTS.AMPERSAND:{this.returnState=State$3.DATA,this.state=State$3.CHARACTER_REFERENCE;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitCodePoint(qa);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateRcdata(qa){switch(qa){case CODE_POINTS.AMPERSAND:{this.returnState=State$3.RCDATA,this.state=State$3.CHARACTER_REFERENCE;break}case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$3.RCDATA_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateRawtext(qa){switch(qa){case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$3.RAWTEXT_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateScriptData(qa){switch(qa){case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$3.SCRIPT_DATA_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_statePlaintext(qa){switch(qa){case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateTagOpen(qa){if(isAsciiLetter(qa))this._createStartTagToken(),this.state=State$3.TAG_NAME,this._stateTagName(qa);else switch(qa){case CODE_POINTS.EXCLAMATION_MARK:{this.state=State$3.MARKUP_DECLARATION_OPEN;break}case CODE_POINTS.SOLIDUS:{this.state=State$3.END_TAG_OPEN;break}case CODE_POINTS.QUESTION_MARK:{this._err(ERR.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=State$3.BOGUS_COMMENT,this._stateBogusComment(qa);break}case CODE_POINTS.EOF:{this._err(ERR.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(ERR.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=State$3.DATA,this._stateData(qa)}}_stateEndTagOpen(qa){if(isAsciiLetter(qa))this._createEndTagToken(),this.state=State$3.TAG_NAME,this._stateTagName(qa);else switch(qa){case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.missingEndTagName),this.state=State$3.DATA;break}case CODE_POINTS.EOF:{this._err(ERR.eofBeforeTagName),this._emitChars("");break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this.state=State$3.SCRIPT_DATA_ESCAPED,this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=State$3.SCRIPT_DATA_ESCAPED,this._emitCodePoint(qa)}}_stateScriptDataEscapedLessThanSign(qa){qa===CODE_POINTS.SOLIDUS?this.state=State$3.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:isAsciiLetter(qa)?(this._emitChars("<"),this.state=State$3.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(qa)):(this._emitChars("<"),this.state=State$3.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(qa))}_stateScriptDataEscapedEndTagOpen(qa){isAsciiLetter(qa)?(this.state=State$3.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(qa)):(this._emitChars("");break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this.state=State$3.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=State$3.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(qa)}}_stateScriptDataDoubleEscapedLessThanSign(qa){qa===CODE_POINTS.SOLIDUS?(this.state=State$3.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=State$3.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(qa))}_stateScriptDataDoubleEscapeEnd(qa){if(this.preprocessor.startsWith(SEQUENCES.SCRIPT,!1)&&isScriptDataDoubleEscapeSequenceEnd(this.preprocessor.peek(SEQUENCES.SCRIPT.length))){this._emitCodePoint(qa);for(let td=0;td1114111)this._err(ERR.characterReferenceOutsideUnicodeRange),this.charRefCode=CODE_POINTS.REPLACEMENT_CHARACTER;else if(isSurrogate(this.charRefCode))this._err(ERR.surrogateCharacterReference),this.charRefCode=CODE_POINTS.REPLACEMENT_CHARACTER;else if(isUndefinedCodePoint(this.charRefCode))this._err(ERR.noncharacterCharacterReference);else if(isControlCodePoint(this.charRefCode)||this.charRefCode===CODE_POINTS.CARRIAGE_RETURN){this._err(ERR.controlCharacterReference);const td=C1_CONTROLS_REFERENCE_REPLACEMENTS.get(this.charRefCode);td!==void 0&&(this.charRefCode=td)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,qa)}};const IMPLICIT_END_TAG_REQUIRED=new Set([TAG_ID.DD,TAG_ID.DT,TAG_ID.LI,TAG_ID.OPTGROUP,TAG_ID.OPTION,TAG_ID.P,TAG_ID.RB,TAG_ID.RP,TAG_ID.RT,TAG_ID.RTC]),IMPLICIT_END_TAG_REQUIRED_THOROUGHLY=new Set([...IMPLICIT_END_TAG_REQUIRED,TAG_ID.CAPTION,TAG_ID.COLGROUP,TAG_ID.TBODY,TAG_ID.TD,TAG_ID.TFOOT,TAG_ID.TH,TAG_ID.THEAD,TAG_ID.TR]),SCOPING_ELEMENT_NS=new Map([[TAG_ID.APPLET,NS.HTML],[TAG_ID.CAPTION,NS.HTML],[TAG_ID.HTML,NS.HTML],[TAG_ID.MARQUEE,NS.HTML],[TAG_ID.OBJECT,NS.HTML],[TAG_ID.TABLE,NS.HTML],[TAG_ID.TD,NS.HTML],[TAG_ID.TEMPLATE,NS.HTML],[TAG_ID.TH,NS.HTML],[TAG_ID.ANNOTATION_XML,NS.MATHML],[TAG_ID.MI,NS.MATHML],[TAG_ID.MN,NS.MATHML],[TAG_ID.MO,NS.MATHML],[TAG_ID.MS,NS.MATHML],[TAG_ID.MTEXT,NS.MATHML],[TAG_ID.DESC,NS.SVG],[TAG_ID.FOREIGN_OBJECT,NS.SVG],[TAG_ID.TITLE,NS.SVG]]),NAMED_HEADERS=[TAG_ID.H1,TAG_ID.H2,TAG_ID.H3,TAG_ID.H4,TAG_ID.H5,TAG_ID.H6],TABLE_ROW_CONTEXT=[TAG_ID.TR,TAG_ID.TEMPLATE,TAG_ID.HTML],TABLE_BODY_CONTEXT=[TAG_ID.TBODY,TAG_ID.TFOOT,TAG_ID.THEAD,TAG_ID.TEMPLATE,TAG_ID.HTML],TABLE_CONTEXT=[TAG_ID.TABLE,TAG_ID.TEMPLATE,TAG_ID.HTML],TABLE_CELLS=[TAG_ID.TD,TAG_ID.TH];class OpenElementStack{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(qa,td,rd){this.treeAdapter=td,this.handler=rd,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=TAG_ID.UNKNOWN,this.current=qa}_indexOf(qa){return this.items.lastIndexOf(qa,this.stackTop)}_isInTemplate(){return this.currentTagId===TAG_ID.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===NS.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(qa,td){this.stackTop++,this.items[this.stackTop]=qa,this.current=qa,this.tagIDs[this.stackTop]=td,this.currentTagId=td,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(qa,td,!0)}pop(){const qa=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(qa,!0)}replace(qa,td){const rd=this._indexOf(qa);this.items[rd]=td,rd===this.stackTop&&(this.current=td)}insertAfter(qa,td,rd){const nd=this._indexOf(qa)+1;this.items.splice(nd,0,td),this.tagIDs.splice(nd,0,rd),this.stackTop++,nd===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,nd===this.stackTop)}popUntilTagNamePopped(qa){let td=this.stackTop+1;do td=this.tagIDs.lastIndexOf(qa,td-1);while(td>0&&this.treeAdapter.getNamespaceURI(this.items[td])!==NS.HTML);this.shortenToLength(td<0?0:td)}shortenToLength(qa){for(;this.stackTop>=qa;){const td=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(td,this.stackTop=0;rd--)if(qa.includes(this.tagIDs[rd])&&this.treeAdapter.getNamespaceURI(this.items[rd])===td)return rd;return-1}clearBackTo(qa,td){const rd=this._indexOfTagNames(qa,td);this.shortenToLength(rd+1)}clearBackToTableContext(){this.clearBackTo(TABLE_CONTEXT,NS.HTML)}clearBackToTableBodyContext(){this.clearBackTo(TABLE_BODY_CONTEXT,NS.HTML)}clearBackToTableRowContext(){this.clearBackTo(TABLE_ROW_CONTEXT,NS.HTML)}remove(qa){const td=this._indexOf(qa);td>=0&&(td===this.stackTop?this.pop():(this.items.splice(td,1),this.tagIDs.splice(td,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(qa,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===TAG_ID.BODY?this.items[1]:null}contains(qa){return this._indexOf(qa)>-1}getCommonAncestor(qa){const td=this._indexOf(qa)-1;return td>=0?this.items[td]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===TAG_ID.HTML}hasInScope(qa){for(let td=this.stackTop;td>=0;td--){const rd=this.tagIDs[td],nd=this.treeAdapter.getNamespaceURI(this.items[td]);if(rd===qa&&nd===NS.HTML)return!0;if(SCOPING_ELEMENT_NS.get(rd)===nd)return!1}return!0}hasNumberedHeaderInScope(){for(let qa=this.stackTop;qa>=0;qa--){const td=this.tagIDs[qa],rd=this.treeAdapter.getNamespaceURI(this.items[qa]);if(isNumberedHeader(td)&&rd===NS.HTML)return!0;if(SCOPING_ELEMENT_NS.get(td)===rd)return!1}return!0}hasInListItemScope(qa){for(let td=this.stackTop;td>=0;td--){const rd=this.tagIDs[td],nd=this.treeAdapter.getNamespaceURI(this.items[td]);if(rd===qa&&nd===NS.HTML)return!0;if((rd===TAG_ID.UL||rd===TAG_ID.OL)&&nd===NS.HTML||SCOPING_ELEMENT_NS.get(rd)===nd)return!1}return!0}hasInButtonScope(qa){for(let td=this.stackTop;td>=0;td--){const rd=this.tagIDs[td],nd=this.treeAdapter.getNamespaceURI(this.items[td]);if(rd===qa&&nd===NS.HTML)return!0;if(rd===TAG_ID.BUTTON&&nd===NS.HTML||SCOPING_ELEMENT_NS.get(rd)===nd)return!1}return!0}hasInTableScope(qa){for(let td=this.stackTop;td>=0;td--){const rd=this.tagIDs[td];if(this.treeAdapter.getNamespaceURI(this.items[td])===NS.HTML){if(rd===qa)return!0;if(rd===TAG_ID.TABLE||rd===TAG_ID.TEMPLATE||rd===TAG_ID.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let qa=this.stackTop;qa>=0;qa--){const td=this.tagIDs[qa];if(this.treeAdapter.getNamespaceURI(this.items[qa])===NS.HTML){if(td===TAG_ID.TBODY||td===TAG_ID.THEAD||td===TAG_ID.TFOOT)return!0;if(td===TAG_ID.TABLE||td===TAG_ID.HTML)return!1}}return!0}hasInSelectScope(qa){for(let td=this.stackTop;td>=0;td--){const rd=this.tagIDs[td];if(this.treeAdapter.getNamespaceURI(this.items[td])===NS.HTML){if(rd===qa)return!0;if(rd!==TAG_ID.OPTION&&rd!==TAG_ID.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;IMPLICIT_END_TAG_REQUIRED.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;IMPLICIT_END_TAG_REQUIRED_THOROUGHLY.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(qa){for(;this.currentTagId!==qa&&IMPLICIT_END_TAG_REQUIRED_THOROUGHLY.has(this.currentTagId);)this.pop()}}const NOAH_ARK_CAPACITY=3;var EntryType;(function(Ra){Ra[Ra.Marker=0]="Marker",Ra[Ra.Element=1]="Element"})(EntryType=EntryType||(EntryType={}));const MARKER={type:EntryType.Marker};class FormattingElementList{constructor(qa){this.treeAdapter=qa,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(qa,td){const rd=[],nd=td.length,ad=this.treeAdapter.getTagName(qa),sd=this.treeAdapter.getNamespaceURI(qa);for(let ud=0;ud[sd.name,sd.value]));let ad=0;for(let sd=0;sdnd.get(cd.name)===cd.value)&&(ad+=1,ad>=NOAH_ARK_CAPACITY&&this.entries.splice(ud.idx,1))}}insertMarker(){this.entries.unshift(MARKER)}pushElement(qa,td){this._ensureNoahArkCondition(qa),this.entries.unshift({type:EntryType.Element,element:qa,token:td})}insertElementAfterBookmark(qa,td){const rd=this.entries.indexOf(this.bookmark);this.entries.splice(rd,0,{type:EntryType.Element,element:qa,token:td})}removeEntry(qa){const td=this.entries.indexOf(qa);td>=0&&this.entries.splice(td,1)}clearToLastMarker(){const qa=this.entries.indexOf(MARKER);qa>=0?this.entries.splice(0,qa+1):this.entries.length=0}getElementEntryInScopeWithTagName(qa){const td=this.entries.find(rd=>rd.type===EntryType.Marker||this.treeAdapter.getTagName(rd.element)===qa);return td&&td.type===EntryType.Element?td:null}getElementEntry(qa){return this.entries.find(td=>td.type===EntryType.Element&&td.element===qa)}}function createTextNode$1(Ra){return{nodeName:"#text",value:Ra,parentNode:null}}const defaultTreeAdapter={createDocument(){return{nodeName:"#document",mode:DOCUMENT_MODE.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(Ra,qa,td){return{nodeName:Ra,tagName:Ra,attrs:td,namespaceURI:qa,childNodes:[],parentNode:null}},createCommentNode(Ra){return{nodeName:"#comment",data:Ra,parentNode:null}},appendChild(Ra,qa){Ra.childNodes.push(qa),qa.parentNode=Ra},insertBefore(Ra,qa,td){const rd=Ra.childNodes.indexOf(td);Ra.childNodes.splice(rd,0,qa),qa.parentNode=Ra},setTemplateContent(Ra,qa){Ra.content=qa},getTemplateContent(Ra){return Ra.content},setDocumentType(Ra,qa,td,rd){const nd=Ra.childNodes.find(ad=>ad.nodeName==="#documentType");if(nd)nd.name=qa,nd.publicId=td,nd.systemId=rd;else{const ad={nodeName:"#documentType",name:qa,publicId:td,systemId:rd,parentNode:null};defaultTreeAdapter.appendChild(Ra,ad)}},setDocumentMode(Ra,qa){Ra.mode=qa},getDocumentMode(Ra){return Ra.mode},detachNode(Ra){if(Ra.parentNode){const qa=Ra.parentNode.childNodes.indexOf(Ra);Ra.parentNode.childNodes.splice(qa,1),Ra.parentNode=null}},insertText(Ra,qa){if(Ra.childNodes.length>0){const td=Ra.childNodes[Ra.childNodes.length-1];if(defaultTreeAdapter.isTextNode(td)){td.value+=qa;return}}defaultTreeAdapter.appendChild(Ra,createTextNode$1(qa))},insertTextBefore(Ra,qa,td){const rd=Ra.childNodes[Ra.childNodes.indexOf(td)-1];rd&&defaultTreeAdapter.isTextNode(rd)?rd.value+=qa:defaultTreeAdapter.insertBefore(Ra,createTextNode$1(qa),td)},adoptAttributes(Ra,qa){const td=new Set(Ra.attrs.map(rd=>rd.name));for(let rd=0;rdRa.startsWith(td))}function isConforming(Ra){return Ra.name===VALID_DOCTYPE_NAME&&Ra.publicId===null&&(Ra.systemId===null||Ra.systemId===VALID_SYSTEM_ID)}function getDocumentMode(Ra){if(Ra.name!==VALID_DOCTYPE_NAME)return DOCUMENT_MODE.QUIRKS;const{systemId:qa}=Ra;if(qa&&qa.toLowerCase()===QUIRKS_MODE_SYSTEM_ID)return DOCUMENT_MODE.QUIRKS;let{publicId:td}=Ra;if(td!==null){if(td=td.toLowerCase(),QUIRKS_MODE_PUBLIC_IDS.has(td))return DOCUMENT_MODE.QUIRKS;let rd=qa===null?QUIRKS_MODE_NO_SYSTEM_ID_PUBLIC_ID_PREFIXES:QUIRKS_MODE_PUBLIC_ID_PREFIXES;if(hasPrefix(td,rd))return DOCUMENT_MODE.QUIRKS;if(rd=qa===null?LIMITED_QUIRKS_PUBLIC_ID_PREFIXES:LIMITED_QUIRKS_WITH_SYSTEM_ID_PUBLIC_ID_PREFIXES,hasPrefix(td,rd))return DOCUMENT_MODE.LIMITED_QUIRKS}return DOCUMENT_MODE.NO_QUIRKS}const MIME_TYPES={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},DEFINITION_URL_ATTR="definitionurl",ADJUSTED_DEFINITION_URL_ATTR="definitionURL",SVG_ATTRS_ADJUSTMENT_MAP=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(Ra=>[Ra.toLowerCase(),Ra])),XML_ATTRS_ADJUSTMENT_MAP=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:NS.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:NS.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:NS.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:NS.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:NS.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:NS.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:NS.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:NS.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:NS.XML}],["xml:space",{prefix:"xml",name:"space",namespace:NS.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:NS.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:NS.XMLNS}]]),SVG_TAG_NAMES_ADJUSTMENT_MAP=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(Ra=>[Ra.toLowerCase(),Ra])),EXITS_FOREIGN_CONTENT=new Set([TAG_ID.B,TAG_ID.BIG,TAG_ID.BLOCKQUOTE,TAG_ID.BODY,TAG_ID.BR,TAG_ID.CENTER,TAG_ID.CODE,TAG_ID.DD,TAG_ID.DIV,TAG_ID.DL,TAG_ID.DT,TAG_ID.EM,TAG_ID.EMBED,TAG_ID.H1,TAG_ID.H2,TAG_ID.H3,TAG_ID.H4,TAG_ID.H5,TAG_ID.H6,TAG_ID.HEAD,TAG_ID.HR,TAG_ID.I,TAG_ID.IMG,TAG_ID.LI,TAG_ID.LISTING,TAG_ID.MENU,TAG_ID.META,TAG_ID.NOBR,TAG_ID.OL,TAG_ID.P,TAG_ID.PRE,TAG_ID.RUBY,TAG_ID.S,TAG_ID.SMALL,TAG_ID.SPAN,TAG_ID.STRONG,TAG_ID.STRIKE,TAG_ID.SUB,TAG_ID.SUP,TAG_ID.TABLE,TAG_ID.TT,TAG_ID.U,TAG_ID.UL,TAG_ID.VAR]);function causesExit(Ra){const qa=Ra.tagID;return qa===TAG_ID.FONT&&Ra.attrs.some(({name:rd})=>rd===ATTRS.COLOR||rd===ATTRS.SIZE||rd===ATTRS.FACE)||EXITS_FOREIGN_CONTENT.has(qa)}function adjustTokenMathMLAttrs(Ra){for(let qa=0;qa0&&this._setContextModes(qa,td)}onItemPop(qa,td){var rd,nd;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(qa,this.currentToken),(nd=(rd=this.treeAdapter).onItemPop)===null||nd===void 0||nd.call(rd,qa,this.openElements.current),td){let ad,sd;this.openElements.stackTop===0&&this.fragmentContext?(ad=this.fragmentContext,sd=this.fragmentContextID):{current:ad,currentTagId:sd}=this.openElements,this._setContextModes(ad,sd)}}_setContextModes(qa,td){const rd=qa===this.document||this.treeAdapter.getNamespaceURI(qa)===NS.HTML;this.currentNotInHTML=!rd,this.tokenizer.inForeignNode=!rd&&!this._isIntegrationPoint(td,qa)}_switchToTextParsing(qa,td){this._insertElement(qa,NS.HTML),this.tokenizer.state=td,this.originalInsertionMode=this.insertionMode,this.insertionMode=InsertionMode.TEXT}switchToPlaintextParsing(){this.insertionMode=InsertionMode.TEXT,this.originalInsertionMode=InsertionMode.IN_BODY,this.tokenizer.state=TokenizerMode.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let qa=this.fragmentContext;for(;qa;){if(this.treeAdapter.getTagName(qa)===TAG_NAMES.FORM){this.formElement=qa;break}qa=this.treeAdapter.getParentNode(qa)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==NS.HTML))switch(this.fragmentContextID){case TAG_ID.TITLE:case TAG_ID.TEXTAREA:{this.tokenizer.state=TokenizerMode.RCDATA;break}case TAG_ID.STYLE:case TAG_ID.XMP:case TAG_ID.IFRAME:case TAG_ID.NOEMBED:case TAG_ID.NOFRAMES:case TAG_ID.NOSCRIPT:{this.tokenizer.state=TokenizerMode.RAWTEXT;break}case TAG_ID.SCRIPT:{this.tokenizer.state=TokenizerMode.SCRIPT_DATA;break}case TAG_ID.PLAINTEXT:{this.tokenizer.state=TokenizerMode.PLAINTEXT;break}}}_setDocumentType(qa){const td=qa.name||"",rd=qa.publicId||"",nd=qa.systemId||"";if(this.treeAdapter.setDocumentType(this.document,td,rd,nd),qa.location){const sd=this.treeAdapter.getChildNodes(this.document).find(ud=>this.treeAdapter.isDocumentTypeNode(ud));sd&&this.treeAdapter.setNodeSourceCodeLocation(sd,qa.location)}}_attachElementToTree(qa,td){if(this.options.sourceCodeLocationInfo){const rd=td&&{...td,startTag:td};this.treeAdapter.setNodeSourceCodeLocation(qa,rd)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(qa);else{const rd=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(rd,qa)}}_appendElement(qa,td){const rd=this.treeAdapter.createElement(qa.tagName,td,qa.attrs);this._attachElementToTree(rd,qa.location)}_insertElement(qa,td){const rd=this.treeAdapter.createElement(qa.tagName,td,qa.attrs);this._attachElementToTree(rd,qa.location),this.openElements.push(rd,qa.tagID)}_insertFakeElement(qa,td){const rd=this.treeAdapter.createElement(qa,NS.HTML,[]);this._attachElementToTree(rd,null),this.openElements.push(rd,td)}_insertTemplate(qa){const td=this.treeAdapter.createElement(qa.tagName,NS.HTML,qa.attrs),rd=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(td,rd),this._attachElementToTree(td,qa.location),this.openElements.push(td,qa.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(rd,null)}_insertFakeRootElement(){const qa=this.treeAdapter.createElement(TAG_NAMES.HTML,NS.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(qa,null),this.treeAdapter.appendChild(this.openElements.current,qa),this.openElements.push(qa,TAG_ID.HTML)}_appendCommentNode(qa,td){const rd=this.treeAdapter.createCommentNode(qa.data);this.treeAdapter.appendChild(td,rd),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(rd,qa.location)}_insertCharacters(qa){let td,rd;if(this._shouldFosterParentOnInsertion()?({parent:td,beforeElement:rd}=this._findFosterParentingLocation(),rd?this.treeAdapter.insertTextBefore(td,qa.chars,rd):this.treeAdapter.insertText(td,qa.chars)):(td=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(td,qa.chars)),!qa.location)return;const nd=this.treeAdapter.getChildNodes(td),ad=rd?nd.lastIndexOf(rd):nd.length,sd=nd[ad-1];if(this.treeAdapter.getNodeSourceCodeLocation(sd)){const{endLine:cd,endCol:dd,endOffset:pd}=qa.location;this.treeAdapter.updateNodeSourceCodeLocation(sd,{endLine:cd,endCol:dd,endOffset:pd})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(sd,qa.location)}_adoptNodes(qa,td){for(let rd=this.treeAdapter.getFirstChild(qa);rd;rd=this.treeAdapter.getFirstChild(qa))this.treeAdapter.detachNode(rd),this.treeAdapter.appendChild(td,rd)}_setEndLocation(qa,td){if(this.treeAdapter.getNodeSourceCodeLocation(qa)&&td.location){const rd=td.location,nd=this.treeAdapter.getTagName(qa),ad=td.type===TokenType.END_TAG&&nd===td.tagName?{endTag:{...rd},endLine:rd.endLine,endCol:rd.endCol,endOffset:rd.endOffset}:{endLine:rd.startLine,endCol:rd.startCol,endOffset:rd.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(qa,ad)}}shouldProcessStartTagTokenInForeignContent(qa){if(!this.currentNotInHTML)return!1;let td,rd;return this.openElements.stackTop===0&&this.fragmentContext?(td=this.fragmentContext,rd=this.fragmentContextID):{current:td,currentTagId:rd}=this.openElements,qa.tagID===TAG_ID.SVG&&this.treeAdapter.getTagName(td)===TAG_NAMES.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(td)===NS.MATHML?!1:this.tokenizer.inForeignNode||(qa.tagID===TAG_ID.MGLYPH||qa.tagID===TAG_ID.MALIGNMARK)&&!this._isIntegrationPoint(rd,td,NS.HTML)}_processToken(qa){switch(qa.type){case TokenType.CHARACTER:{this.onCharacter(qa);break}case TokenType.NULL_CHARACTER:{this.onNullCharacter(qa);break}case TokenType.COMMENT:{this.onComment(qa);break}case TokenType.DOCTYPE:{this.onDoctype(qa);break}case TokenType.START_TAG:{this._processStartTag(qa);break}case TokenType.END_TAG:{this.onEndTag(qa);break}case TokenType.EOF:{this.onEof(qa);break}case TokenType.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(qa);break}}}_isIntegrationPoint(qa,td,rd){const nd=this.treeAdapter.getNamespaceURI(td),ad=this.treeAdapter.getAttrList(td);return isIntegrationPoint(qa,nd,ad,rd)}_reconstructActiveFormattingElements(){const qa=this.activeFormattingElements.entries.length;if(qa){const td=this.activeFormattingElements.entries.findIndex(nd=>nd.type===EntryType.Marker||this.openElements.contains(nd.element)),rd=td<0?qa-1:td-1;for(let nd=rd;nd>=0;nd--){const ad=this.activeFormattingElements.entries[nd];this._insertElement(ad.token,this.treeAdapter.getNamespaceURI(ad.element)),ad.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=InsertionMode.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.P),this.openElements.popUntilTagNamePopped(TAG_ID.P)}_resetInsertionMode(){for(let qa=this.openElements.stackTop;qa>=0;qa--)switch(qa===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[qa]){case TAG_ID.TR:{this.insertionMode=InsertionMode.IN_ROW;return}case TAG_ID.TBODY:case TAG_ID.THEAD:case TAG_ID.TFOOT:{this.insertionMode=InsertionMode.IN_TABLE_BODY;return}case TAG_ID.CAPTION:{this.insertionMode=InsertionMode.IN_CAPTION;return}case TAG_ID.COLGROUP:{this.insertionMode=InsertionMode.IN_COLUMN_GROUP;return}case TAG_ID.TABLE:{this.insertionMode=InsertionMode.IN_TABLE;return}case TAG_ID.BODY:{this.insertionMode=InsertionMode.IN_BODY;return}case TAG_ID.FRAMESET:{this.insertionMode=InsertionMode.IN_FRAMESET;return}case TAG_ID.SELECT:{this._resetInsertionModeForSelect(qa);return}case TAG_ID.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case TAG_ID.HTML:{this.insertionMode=this.headElement?InsertionMode.AFTER_HEAD:InsertionMode.BEFORE_HEAD;return}case TAG_ID.TD:case TAG_ID.TH:{if(qa>0){this.insertionMode=InsertionMode.IN_CELL;return}break}case TAG_ID.HEAD:{if(qa>0){this.insertionMode=InsertionMode.IN_HEAD;return}break}}this.insertionMode=InsertionMode.IN_BODY}_resetInsertionModeForSelect(qa){if(qa>0)for(let td=qa-1;td>0;td--){const rd=this.openElements.tagIDs[td];if(rd===TAG_ID.TEMPLATE)break;if(rd===TAG_ID.TABLE){this.insertionMode=InsertionMode.IN_SELECT_IN_TABLE;return}}this.insertionMode=InsertionMode.IN_SELECT}_isElementCausesFosterParenting(qa){return TABLE_STRUCTURE_TAGS.has(qa)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let qa=this.openElements.stackTop;qa>=0;qa--){const td=this.openElements.items[qa];switch(this.openElements.tagIDs[qa]){case TAG_ID.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(td)===NS.HTML)return{parent:this.treeAdapter.getTemplateContent(td),beforeElement:null};break}case TAG_ID.TABLE:{const rd=this.treeAdapter.getParentNode(td);return rd?{parent:rd,beforeElement:td}:{parent:this.openElements.items[qa-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(qa){const td=this._findFosterParentingLocation();td.beforeElement?this.treeAdapter.insertBefore(td.parent,qa,td.beforeElement):this.treeAdapter.appendChild(td.parent,qa)}_isSpecialElement(qa,td){const rd=this.treeAdapter.getNamespaceURI(qa);return SPECIAL_ELEMENTS[rd].has(td)}onCharacter(qa){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){characterInForeignContent(this,qa);return}switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{tokenBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{tokenBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{tokenInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{tokenInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{tokenAfterHead(this,qa);break}case InsertionMode.IN_BODY:case InsertionMode.IN_CAPTION:case InsertionMode.IN_CELL:case InsertionMode.IN_TEMPLATE:{characterInBody(this,qa);break}case InsertionMode.TEXT:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:{this._insertCharacters(qa);break}case InsertionMode.IN_TABLE:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:{characterInTable(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{characterInTableText(this,qa);break}case InsertionMode.IN_COLUMN_GROUP:{tokenInColumnGroup(this,qa);break}case InsertionMode.AFTER_BODY:{tokenAfterBody(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:{tokenAfterAfterBody(this,qa);break}}}onNullCharacter(qa){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){nullCharacterInForeignContent(this,qa);return}switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{tokenBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{tokenBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{tokenInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{tokenInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{tokenAfterHead(this,qa);break}case InsertionMode.TEXT:{this._insertCharacters(qa);break}case InsertionMode.IN_TABLE:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:{characterInTable(this,qa);break}case InsertionMode.IN_COLUMN_GROUP:{tokenInColumnGroup(this,qa);break}case InsertionMode.AFTER_BODY:{tokenAfterBody(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:{tokenAfterAfterBody(this,qa);break}}}onComment(qa){if(this.skipNextNewLine=!1,this.currentNotInHTML){appendComment(this,qa);return}switch(this.insertionMode){case InsertionMode.INITIAL:case InsertionMode.BEFORE_HTML:case InsertionMode.BEFORE_HEAD:case InsertionMode.IN_HEAD:case InsertionMode.IN_HEAD_NO_SCRIPT:case InsertionMode.AFTER_HEAD:case InsertionMode.IN_BODY:case InsertionMode.IN_TABLE:case InsertionMode.IN_CAPTION:case InsertionMode.IN_COLUMN_GROUP:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:case InsertionMode.IN_CELL:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:case InsertionMode.IN_TEMPLATE:case InsertionMode.IN_FRAMESET:case InsertionMode.AFTER_FRAMESET:{appendComment(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}case InsertionMode.AFTER_BODY:{appendCommentToRootHtmlElement(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:case InsertionMode.AFTER_AFTER_FRAMESET:{appendCommentToDocument(this,qa);break}}}onDoctype(qa){switch(this.skipNextNewLine=!1,this.insertionMode){case InsertionMode.INITIAL:{doctypeInInitialMode(this,qa);break}case InsertionMode.BEFORE_HEAD:case InsertionMode.IN_HEAD:case InsertionMode.IN_HEAD_NO_SCRIPT:case InsertionMode.AFTER_HEAD:{this._err(qa,ERR.misplacedDoctype);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}}}onStartTag(qa){this.skipNextNewLine=!1,this.currentToken=qa,this._processStartTag(qa),qa.selfClosing&&!qa.ackSelfClosing&&this._err(qa,ERR.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(qa){this.shouldProcessStartTagTokenInForeignContent(qa)?startTagInForeignContent(this,qa):this._startTagOutsideForeignContent(qa)}_startTagOutsideForeignContent(qa){switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{startTagBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{startTagBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{startTagInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{startTagInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{startTagAfterHead(this,qa);break}case InsertionMode.IN_BODY:{startTagInBody(this,qa);break}case InsertionMode.IN_TABLE:{startTagInTable(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}case InsertionMode.IN_CAPTION:{startTagInCaption(this,qa);break}case InsertionMode.IN_COLUMN_GROUP:{startTagInColumnGroup(this,qa);break}case InsertionMode.IN_TABLE_BODY:{startTagInTableBody(this,qa);break}case InsertionMode.IN_ROW:{startTagInRow(this,qa);break}case InsertionMode.IN_CELL:{startTagInCell(this,qa);break}case InsertionMode.IN_SELECT:{startTagInSelect(this,qa);break}case InsertionMode.IN_SELECT_IN_TABLE:{startTagInSelectInTable(this,qa);break}case InsertionMode.IN_TEMPLATE:{startTagInTemplate(this,qa);break}case InsertionMode.AFTER_BODY:{startTagAfterBody(this,qa);break}case InsertionMode.IN_FRAMESET:{startTagInFrameset(this,qa);break}case InsertionMode.AFTER_FRAMESET:{startTagAfterFrameset(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:{startTagAfterAfterBody(this,qa);break}case InsertionMode.AFTER_AFTER_FRAMESET:{startTagAfterAfterFrameset(this,qa);break}}}onEndTag(qa){this.skipNextNewLine=!1,this.currentToken=qa,this.currentNotInHTML?endTagInForeignContent(this,qa):this._endTagOutsideForeignContent(qa)}_endTagOutsideForeignContent(qa){switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{endTagBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{endTagBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{endTagInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{endTagInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{endTagAfterHead(this,qa);break}case InsertionMode.IN_BODY:{endTagInBody(this,qa);break}case InsertionMode.TEXT:{endTagInText(this,qa);break}case InsertionMode.IN_TABLE:{endTagInTable(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}case InsertionMode.IN_CAPTION:{endTagInCaption(this,qa);break}case InsertionMode.IN_COLUMN_GROUP:{endTagInColumnGroup(this,qa);break}case InsertionMode.IN_TABLE_BODY:{endTagInTableBody(this,qa);break}case InsertionMode.IN_ROW:{endTagInRow(this,qa);break}case InsertionMode.IN_CELL:{endTagInCell(this,qa);break}case InsertionMode.IN_SELECT:{endTagInSelect(this,qa);break}case InsertionMode.IN_SELECT_IN_TABLE:{endTagInSelectInTable(this,qa);break}case InsertionMode.IN_TEMPLATE:{endTagInTemplate(this,qa);break}case InsertionMode.AFTER_BODY:{endTagAfterBody(this,qa);break}case InsertionMode.IN_FRAMESET:{endTagInFrameset(this,qa);break}case InsertionMode.AFTER_FRAMESET:{endTagAfterFrameset(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:{tokenAfterAfterBody(this,qa);break}}}onEof(qa){switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{tokenBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{tokenBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{tokenInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{tokenInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{tokenAfterHead(this,qa);break}case InsertionMode.IN_BODY:case InsertionMode.IN_TABLE:case InsertionMode.IN_CAPTION:case InsertionMode.IN_COLUMN_GROUP:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:case InsertionMode.IN_CELL:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:{eofInBody(this,qa);break}case InsertionMode.TEXT:{eofInText(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}case InsertionMode.IN_TEMPLATE:{eofInTemplate(this,qa);break}case InsertionMode.AFTER_BODY:case InsertionMode.IN_FRAMESET:case InsertionMode.AFTER_FRAMESET:case InsertionMode.AFTER_AFTER_BODY:case InsertionMode.AFTER_AFTER_FRAMESET:{stopParsing(this,qa);break}}}onWhitespaceCharacter(qa){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,qa.chars.charCodeAt(0)===CODE_POINTS.LINE_FEED)){if(qa.chars.length===1)return;qa.chars=qa.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(qa);return}switch(this.insertionMode){case InsertionMode.IN_HEAD:case InsertionMode.IN_HEAD_NO_SCRIPT:case InsertionMode.AFTER_HEAD:case InsertionMode.TEXT:case InsertionMode.IN_COLUMN_GROUP:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:case InsertionMode.IN_FRAMESET:case InsertionMode.AFTER_FRAMESET:{this._insertCharacters(qa);break}case InsertionMode.IN_BODY:case InsertionMode.IN_CAPTION:case InsertionMode.IN_CELL:case InsertionMode.IN_TEMPLATE:case InsertionMode.AFTER_BODY:case InsertionMode.AFTER_AFTER_BODY:case InsertionMode.AFTER_AFTER_FRAMESET:{whitespaceCharacterInBody(this,qa);break}case InsertionMode.IN_TABLE:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:{characterInTable(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{whitespaceCharacterInTableText(this,qa);break}}}};function aaObtainFormattingElementEntry(Ra,qa){let td=Ra.activeFormattingElements.getElementEntryInScopeWithTagName(qa.tagName);return td?Ra.openElements.contains(td.element)?Ra.openElements.hasInScope(qa.tagID)||(td=null):(Ra.activeFormattingElements.removeEntry(td),td=null):genericEndTagInBody(Ra,qa),td}function aaObtainFurthestBlock(Ra,qa){let td=null,rd=Ra.openElements.stackTop;for(;rd>=0;rd--){const nd=Ra.openElements.items[rd];if(nd===qa.element)break;Ra._isSpecialElement(nd,Ra.openElements.tagIDs[rd])&&(td=nd)}return td||(Ra.openElements.shortenToLength(rd<0?0:rd),Ra.activeFormattingElements.removeEntry(qa)),td}function aaInnerLoop(Ra,qa,td){let rd=qa,nd=Ra.openElements.getCommonAncestor(qa);for(let ad=0,sd=nd;sd!==td;ad++,sd=nd){nd=Ra.openElements.getCommonAncestor(sd);const ud=Ra.activeFormattingElements.getElementEntry(sd),cd=ud&&ad>=AA_INNER_LOOP_ITER;!ud||cd?(cd&&Ra.activeFormattingElements.removeEntry(ud),Ra.openElements.remove(sd)):(sd=aaRecreateElementFromEntry(Ra,ud),rd===qa&&(Ra.activeFormattingElements.bookmark=ud),Ra.treeAdapter.detachNode(rd),Ra.treeAdapter.appendChild(sd,rd),rd=sd)}return rd}function aaRecreateElementFromEntry(Ra,qa){const td=Ra.treeAdapter.getNamespaceURI(qa.element),rd=Ra.treeAdapter.createElement(qa.token.tagName,td,qa.token.attrs);return Ra.openElements.replace(qa.element,rd),qa.element=rd,rd}function aaInsertLastNodeInCommonAncestor(Ra,qa,td){const rd=Ra.treeAdapter.getTagName(qa),nd=getTagID(rd);if(Ra._isElementCausesFosterParenting(nd))Ra._fosterParentElement(td);else{const ad=Ra.treeAdapter.getNamespaceURI(qa);nd===TAG_ID.TEMPLATE&&ad===NS.HTML&&(qa=Ra.treeAdapter.getTemplateContent(qa)),Ra.treeAdapter.appendChild(qa,td)}}function aaReplaceFormattingElement(Ra,qa,td){const rd=Ra.treeAdapter.getNamespaceURI(td.element),{token:nd}=td,ad=Ra.treeAdapter.createElement(nd.tagName,rd,nd.attrs);Ra._adoptNodes(qa,ad),Ra.treeAdapter.appendChild(qa,ad),Ra.activeFormattingElements.insertElementAfterBookmark(ad,nd),Ra.activeFormattingElements.removeEntry(td),Ra.openElements.remove(td.element),Ra.openElements.insertAfter(qa,ad,nd.tagID)}function callAdoptionAgency(Ra,qa){for(let td=0;td=td;rd--)Ra._setEndLocation(Ra.openElements.items[rd],qa);if(!Ra.fragmentContext&&Ra.openElements.stackTop>=0){const rd=Ra.openElements.items[0],nd=Ra.treeAdapter.getNodeSourceCodeLocation(rd);if(nd&&!nd.endTag&&(Ra._setEndLocation(rd,qa),Ra.openElements.stackTop>=1)){const ad=Ra.openElements.items[1],sd=Ra.treeAdapter.getNodeSourceCodeLocation(ad);sd&&!sd.endTag&&Ra._setEndLocation(ad,qa)}}}}function doctypeInInitialMode(Ra,qa){Ra._setDocumentType(qa);const td=qa.forceQuirks?DOCUMENT_MODE.QUIRKS:getDocumentMode(qa);isConforming(qa)||Ra._err(qa,ERR.nonConformingDoctype),Ra.treeAdapter.setDocumentMode(Ra.document,td),Ra.insertionMode=InsertionMode.BEFORE_HTML}function tokenInInitialMode(Ra,qa){Ra._err(qa,ERR.missingDoctype,!0),Ra.treeAdapter.setDocumentMode(Ra.document,DOCUMENT_MODE.QUIRKS),Ra.insertionMode=InsertionMode.BEFORE_HTML,Ra._processToken(qa)}function startTagBeforeHtml(Ra,qa){qa.tagID===TAG_ID.HTML?(Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.BEFORE_HEAD):tokenBeforeHtml(Ra,qa)}function endTagBeforeHtml(Ra,qa){const td=qa.tagID;(td===TAG_ID.HTML||td===TAG_ID.HEAD||td===TAG_ID.BODY||td===TAG_ID.BR)&&tokenBeforeHtml(Ra,qa)}function tokenBeforeHtml(Ra,qa){Ra._insertFakeRootElement(),Ra.insertionMode=InsertionMode.BEFORE_HEAD,Ra._processToken(qa)}function startTagBeforeHead(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.HEAD:{Ra._insertElement(qa,NS.HTML),Ra.headElement=Ra.openElements.current,Ra.insertionMode=InsertionMode.IN_HEAD;break}default:tokenBeforeHead(Ra,qa)}}function endTagBeforeHead(Ra,qa){const td=qa.tagID;td===TAG_ID.HEAD||td===TAG_ID.BODY||td===TAG_ID.HTML||td===TAG_ID.BR?tokenBeforeHead(Ra,qa):Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}function tokenBeforeHead(Ra,qa){Ra._insertFakeElement(TAG_NAMES.HEAD,TAG_ID.HEAD),Ra.headElement=Ra.openElements.current,Ra.insertionMode=InsertionMode.IN_HEAD,Ra._processToken(qa)}function startTagInHead(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.BASE:case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.LINK:case TAG_ID.META:{Ra._appendElement(qa,NS.HTML),qa.ackSelfClosing=!0;break}case TAG_ID.TITLE:{Ra._switchToTextParsing(qa,TokenizerMode.RCDATA);break}case TAG_ID.NOSCRIPT:{Ra.options.scriptingEnabled?Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT):(Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_HEAD_NO_SCRIPT);break}case TAG_ID.NOFRAMES:case TAG_ID.STYLE:{Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT);break}case TAG_ID.SCRIPT:{Ra._switchToTextParsing(qa,TokenizerMode.SCRIPT_DATA);break}case TAG_ID.TEMPLATE:{Ra._insertTemplate(qa),Ra.activeFormattingElements.insertMarker(),Ra.framesetOk=!1,Ra.insertionMode=InsertionMode.IN_TEMPLATE,Ra.tmplInsertionModeStack.unshift(InsertionMode.IN_TEMPLATE);break}case TAG_ID.HEAD:{Ra._err(qa,ERR.misplacedStartTagForHeadElement);break}default:tokenInHead(Ra,qa)}}function endTagInHead(Ra,qa){switch(qa.tagID){case TAG_ID.HEAD:{Ra.openElements.pop(),Ra.insertionMode=InsertionMode.AFTER_HEAD;break}case TAG_ID.BODY:case TAG_ID.BR:case TAG_ID.HTML:{tokenInHead(Ra,qa);break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}default:Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}}function templateEndTagInHead(Ra,qa){Ra.openElements.tmplCount>0?(Ra.openElements.generateImpliedEndTagsThoroughly(),Ra.openElements.currentTagId!==TAG_ID.TEMPLATE&&Ra._err(qa,ERR.closingOfElementWithOpenChildElements),Ra.openElements.popUntilTagNamePopped(TAG_ID.TEMPLATE),Ra.activeFormattingElements.clearToLastMarker(),Ra.tmplInsertionModeStack.shift(),Ra._resetInsertionMode()):Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}function tokenInHead(Ra,qa){Ra.openElements.pop(),Ra.insertionMode=InsertionMode.AFTER_HEAD,Ra._processToken(qa)}function startTagInHeadNoScript(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.HEAD:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.NOFRAMES:case TAG_ID.STYLE:{startTagInHead(Ra,qa);break}case TAG_ID.NOSCRIPT:{Ra._err(qa,ERR.nestedNoscriptInHead);break}default:tokenInHeadNoScript(Ra,qa)}}function endTagInHeadNoScript(Ra,qa){switch(qa.tagID){case TAG_ID.NOSCRIPT:{Ra.openElements.pop(),Ra.insertionMode=InsertionMode.IN_HEAD;break}case TAG_ID.BR:{tokenInHeadNoScript(Ra,qa);break}default:Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}}function tokenInHeadNoScript(Ra,qa){const td=qa.type===TokenType.EOF?ERR.openElementsLeftAfterEof:ERR.disallowedContentInNoscriptInHead;Ra._err(qa,td),Ra.openElements.pop(),Ra.insertionMode=InsertionMode.IN_HEAD,Ra._processToken(qa)}function startTagAfterHead(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.BODY:{Ra._insertElement(qa,NS.HTML),Ra.framesetOk=!1,Ra.insertionMode=InsertionMode.IN_BODY;break}case TAG_ID.FRAMESET:{Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_FRAMESET;break}case TAG_ID.BASE:case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.NOFRAMES:case TAG_ID.SCRIPT:case TAG_ID.STYLE:case TAG_ID.TEMPLATE:case TAG_ID.TITLE:{Ra._err(qa,ERR.abandonedHeadElementChild),Ra.openElements.push(Ra.headElement,TAG_ID.HEAD),startTagInHead(Ra,qa),Ra.openElements.remove(Ra.headElement);break}case TAG_ID.HEAD:{Ra._err(qa,ERR.misplacedStartTagForHeadElement);break}default:tokenAfterHead(Ra,qa)}}function endTagAfterHead(Ra,qa){switch(qa.tagID){case TAG_ID.BODY:case TAG_ID.HTML:case TAG_ID.BR:{tokenAfterHead(Ra,qa);break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}default:Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}}function tokenAfterHead(Ra,qa){Ra._insertFakeElement(TAG_NAMES.BODY,TAG_ID.BODY),Ra.insertionMode=InsertionMode.IN_BODY,modeInBody(Ra,qa)}function modeInBody(Ra,qa){switch(qa.type){case TokenType.CHARACTER:{characterInBody(Ra,qa);break}case TokenType.WHITESPACE_CHARACTER:{whitespaceCharacterInBody(Ra,qa);break}case TokenType.COMMENT:{appendComment(Ra,qa);break}case TokenType.START_TAG:{startTagInBody(Ra,qa);break}case TokenType.END_TAG:{endTagInBody(Ra,qa);break}case TokenType.EOF:{eofInBody(Ra,qa);break}}}function whitespaceCharacterInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertCharacters(qa)}function characterInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertCharacters(qa),Ra.framesetOk=!1}function htmlStartTagInBody(Ra,qa){Ra.openElements.tmplCount===0&&Ra.treeAdapter.adoptAttributes(Ra.openElements.items[0],qa.attrs)}function bodyStartTagInBody(Ra,qa){const td=Ra.openElements.tryPeekProperlyNestedBodyElement();td&&Ra.openElements.tmplCount===0&&(Ra.framesetOk=!1,Ra.treeAdapter.adoptAttributes(td,qa.attrs))}function framesetStartTagInBody(Ra,qa){const td=Ra.openElements.tryPeekProperlyNestedBodyElement();Ra.framesetOk&&td&&(Ra.treeAdapter.detachNode(td),Ra.openElements.popAllUpToHtmlElement(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_FRAMESET)}function addressStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML)}function numberedHeaderStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),isNumberedHeader(Ra.openElements.currentTagId)&&Ra.openElements.pop(),Ra._insertElement(qa,NS.HTML)}function preStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML),Ra.skipNextNewLine=!0,Ra.framesetOk=!1}function formStartTagInBody(Ra,qa){const td=Ra.openElements.tmplCount>0;(!Ra.formElement||td)&&(Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML),td||(Ra.formElement=Ra.openElements.current))}function listItemStartTagInBody(Ra,qa){Ra.framesetOk=!1;const td=qa.tagID;for(let rd=Ra.openElements.stackTop;rd>=0;rd--){const nd=Ra.openElements.tagIDs[rd];if(td===TAG_ID.LI&&nd===TAG_ID.LI||(td===TAG_ID.DD||td===TAG_ID.DT)&&(nd===TAG_ID.DD||nd===TAG_ID.DT)){Ra.openElements.generateImpliedEndTagsWithExclusion(nd),Ra.openElements.popUntilTagNamePopped(nd);break}if(nd!==TAG_ID.ADDRESS&&nd!==TAG_ID.DIV&&nd!==TAG_ID.P&&Ra._isSpecialElement(Ra.openElements.items[rd],nd))break}Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML)}function plaintextStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML),Ra.tokenizer.state=TokenizerMode.PLAINTEXT}function buttonStartTagInBody(Ra,qa){Ra.openElements.hasInScope(TAG_ID.BUTTON)&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilTagNamePopped(TAG_ID.BUTTON)),Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.framesetOk=!1}function aStartTagInBody(Ra,qa){const td=Ra.activeFormattingElements.getElementEntryInScopeWithTagName(TAG_NAMES.A);td&&(callAdoptionAgency(Ra,qa),Ra.openElements.remove(td.element),Ra.activeFormattingElements.removeEntry(td)),Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.activeFormattingElements.pushElement(Ra.openElements.current,qa)}function bStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.activeFormattingElements.pushElement(Ra.openElements.current,qa)}function nobrStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra.openElements.hasInScope(TAG_ID.NOBR)&&(callAdoptionAgency(Ra,qa),Ra._reconstructActiveFormattingElements()),Ra._insertElement(qa,NS.HTML),Ra.activeFormattingElements.pushElement(Ra.openElements.current,qa)}function appletStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.activeFormattingElements.insertMarker(),Ra.framesetOk=!1}function tableStartTagInBody(Ra,qa){Ra.treeAdapter.getDocumentMode(Ra.document)!==DOCUMENT_MODE.QUIRKS&&Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML),Ra.framesetOk=!1,Ra.insertionMode=InsertionMode.IN_TABLE}function areaStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._appendElement(qa,NS.HTML),Ra.framesetOk=!1,qa.ackSelfClosing=!0}function isHiddenInput(Ra){const qa=getTokenAttr(Ra,ATTRS.TYPE);return qa!=null&&qa.toLowerCase()===HIDDEN_INPUT_TYPE}function inputStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._appendElement(qa,NS.HTML),isHiddenInput(qa)||(Ra.framesetOk=!1),qa.ackSelfClosing=!0}function paramStartTagInBody(Ra,qa){Ra._appendElement(qa,NS.HTML),qa.ackSelfClosing=!0}function hrStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._appendElement(qa,NS.HTML),Ra.framesetOk=!1,qa.ackSelfClosing=!0}function imageStartTagInBody(Ra,qa){qa.tagName=TAG_NAMES.IMG,qa.tagID=TAG_ID.IMG,areaStartTagInBody(Ra,qa)}function textareaStartTagInBody(Ra,qa){Ra._insertElement(qa,NS.HTML),Ra.skipNextNewLine=!0,Ra.tokenizer.state=TokenizerMode.RCDATA,Ra.originalInsertionMode=Ra.insertionMode,Ra.framesetOk=!1,Ra.insertionMode=InsertionMode.TEXT}function xmpStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._reconstructActiveFormattingElements(),Ra.framesetOk=!1,Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT)}function iframeStartTagInBody(Ra,qa){Ra.framesetOk=!1,Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT)}function noembedStartTagInBody(Ra,qa){Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT)}function selectStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.framesetOk=!1,Ra.insertionMode=Ra.insertionMode===InsertionMode.IN_TABLE||Ra.insertionMode===InsertionMode.IN_CAPTION||Ra.insertionMode===InsertionMode.IN_TABLE_BODY||Ra.insertionMode===InsertionMode.IN_ROW||Ra.insertionMode===InsertionMode.IN_CELL?InsertionMode.IN_SELECT_IN_TABLE:InsertionMode.IN_SELECT}function optgroupStartTagInBody(Ra,qa){Ra.openElements.currentTagId===TAG_ID.OPTION&&Ra.openElements.pop(),Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML)}function rbStartTagInBody(Ra,qa){Ra.openElements.hasInScope(TAG_ID.RUBY)&&Ra.openElements.generateImpliedEndTags(),Ra._insertElement(qa,NS.HTML)}function rtStartTagInBody(Ra,qa){Ra.openElements.hasInScope(TAG_ID.RUBY)&&Ra.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.RTC),Ra._insertElement(qa,NS.HTML)}function mathStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),adjustTokenMathMLAttrs(qa),adjustTokenXMLAttrs(qa),qa.selfClosing?Ra._appendElement(qa,NS.MATHML):Ra._insertElement(qa,NS.MATHML),qa.ackSelfClosing=!0}function svgStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),adjustTokenSVGAttrs(qa),adjustTokenXMLAttrs(qa),qa.selfClosing?Ra._appendElement(qa,NS.SVG):Ra._insertElement(qa,NS.SVG),qa.ackSelfClosing=!0}function genericStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML)}function startTagInBody(Ra,qa){switch(qa.tagID){case TAG_ID.I:case TAG_ID.S:case TAG_ID.B:case TAG_ID.U:case TAG_ID.EM:case TAG_ID.TT:case TAG_ID.BIG:case TAG_ID.CODE:case TAG_ID.FONT:case TAG_ID.SMALL:case TAG_ID.STRIKE:case TAG_ID.STRONG:{bStartTagInBody(Ra,qa);break}case TAG_ID.A:{aStartTagInBody(Ra,qa);break}case TAG_ID.H1:case TAG_ID.H2:case TAG_ID.H3:case TAG_ID.H4:case TAG_ID.H5:case TAG_ID.H6:{numberedHeaderStartTagInBody(Ra,qa);break}case TAG_ID.P:case TAG_ID.DL:case TAG_ID.OL:case TAG_ID.UL:case TAG_ID.DIV:case TAG_ID.DIR:case TAG_ID.NAV:case TAG_ID.MAIN:case TAG_ID.MENU:case TAG_ID.ASIDE:case TAG_ID.CENTER:case TAG_ID.FIGURE:case TAG_ID.FOOTER:case TAG_ID.HEADER:case TAG_ID.HGROUP:case TAG_ID.DIALOG:case TAG_ID.DETAILS:case TAG_ID.ADDRESS:case TAG_ID.ARTICLE:case TAG_ID.SECTION:case TAG_ID.SUMMARY:case TAG_ID.FIELDSET:case TAG_ID.BLOCKQUOTE:case TAG_ID.FIGCAPTION:{addressStartTagInBody(Ra,qa);break}case TAG_ID.LI:case TAG_ID.DD:case TAG_ID.DT:{listItemStartTagInBody(Ra,qa);break}case TAG_ID.BR:case TAG_ID.IMG:case TAG_ID.WBR:case TAG_ID.AREA:case TAG_ID.EMBED:case TAG_ID.KEYGEN:{areaStartTagInBody(Ra,qa);break}case TAG_ID.HR:{hrStartTagInBody(Ra,qa);break}case TAG_ID.RB:case TAG_ID.RTC:{rbStartTagInBody(Ra,qa);break}case TAG_ID.RT:case TAG_ID.RP:{rtStartTagInBody(Ra,qa);break}case TAG_ID.PRE:case TAG_ID.LISTING:{preStartTagInBody(Ra,qa);break}case TAG_ID.XMP:{xmpStartTagInBody(Ra,qa);break}case TAG_ID.SVG:{svgStartTagInBody(Ra,qa);break}case TAG_ID.HTML:{htmlStartTagInBody(Ra,qa);break}case TAG_ID.BASE:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.STYLE:case TAG_ID.TITLE:case TAG_ID.SCRIPT:case TAG_ID.BGSOUND:case TAG_ID.BASEFONT:case TAG_ID.TEMPLATE:{startTagInHead(Ra,qa);break}case TAG_ID.BODY:{bodyStartTagInBody(Ra,qa);break}case TAG_ID.FORM:{formStartTagInBody(Ra,qa);break}case TAG_ID.NOBR:{nobrStartTagInBody(Ra,qa);break}case TAG_ID.MATH:{mathStartTagInBody(Ra,qa);break}case TAG_ID.TABLE:{tableStartTagInBody(Ra,qa);break}case TAG_ID.INPUT:{inputStartTagInBody(Ra,qa);break}case TAG_ID.PARAM:case TAG_ID.TRACK:case TAG_ID.SOURCE:{paramStartTagInBody(Ra,qa);break}case TAG_ID.IMAGE:{imageStartTagInBody(Ra,qa);break}case TAG_ID.BUTTON:{buttonStartTagInBody(Ra,qa);break}case TAG_ID.APPLET:case TAG_ID.OBJECT:case TAG_ID.MARQUEE:{appletStartTagInBody(Ra,qa);break}case TAG_ID.IFRAME:{iframeStartTagInBody(Ra,qa);break}case TAG_ID.SELECT:{selectStartTagInBody(Ra,qa);break}case TAG_ID.OPTION:case TAG_ID.OPTGROUP:{optgroupStartTagInBody(Ra,qa);break}case TAG_ID.NOEMBED:{noembedStartTagInBody(Ra,qa);break}case TAG_ID.FRAMESET:{framesetStartTagInBody(Ra,qa);break}case TAG_ID.TEXTAREA:{textareaStartTagInBody(Ra,qa);break}case TAG_ID.NOSCRIPT:{Ra.options.scriptingEnabled?noembedStartTagInBody(Ra,qa):genericStartTagInBody(Ra,qa);break}case TAG_ID.PLAINTEXT:{plaintextStartTagInBody(Ra,qa);break}case TAG_ID.COL:case TAG_ID.TH:case TAG_ID.TD:case TAG_ID.TR:case TAG_ID.HEAD:case TAG_ID.FRAME:case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:case TAG_ID.CAPTION:case TAG_ID.COLGROUP:break;default:genericStartTagInBody(Ra,qa)}}function bodyEndTagInBody(Ra,qa){if(Ra.openElements.hasInScope(TAG_ID.BODY)&&(Ra.insertionMode=InsertionMode.AFTER_BODY,Ra.options.sourceCodeLocationInfo)){const td=Ra.openElements.tryPeekProperlyNestedBodyElement();td&&Ra._setEndLocation(td,qa)}}function htmlEndTagInBody(Ra,qa){Ra.openElements.hasInScope(TAG_ID.BODY)&&(Ra.insertionMode=InsertionMode.AFTER_BODY,endTagAfterBody(Ra,qa))}function addressEndTagInBody(Ra,qa){const td=qa.tagID;Ra.openElements.hasInScope(td)&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilTagNamePopped(td))}function formEndTagInBody(Ra){const qa=Ra.openElements.tmplCount>0,{formElement:td}=Ra;qa||(Ra.formElement=null),(td||qa)&&Ra.openElements.hasInScope(TAG_ID.FORM)&&(Ra.openElements.generateImpliedEndTags(),qa?Ra.openElements.popUntilTagNamePopped(TAG_ID.FORM):td&&Ra.openElements.remove(td))}function pEndTagInBody(Ra){Ra.openElements.hasInButtonScope(TAG_ID.P)||Ra._insertFakeElement(TAG_NAMES.P,TAG_ID.P),Ra._closePElement()}function liEndTagInBody(Ra){Ra.openElements.hasInListItemScope(TAG_ID.LI)&&(Ra.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.LI),Ra.openElements.popUntilTagNamePopped(TAG_ID.LI))}function ddEndTagInBody(Ra,qa){const td=qa.tagID;Ra.openElements.hasInScope(td)&&(Ra.openElements.generateImpliedEndTagsWithExclusion(td),Ra.openElements.popUntilTagNamePopped(td))}function numberedHeaderEndTagInBody(Ra){Ra.openElements.hasNumberedHeaderInScope()&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilNumberedHeaderPopped())}function appletEndTagInBody(Ra,qa){const td=qa.tagID;Ra.openElements.hasInScope(td)&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilTagNamePopped(td),Ra.activeFormattingElements.clearToLastMarker())}function brEndTagInBody(Ra){Ra._reconstructActiveFormattingElements(),Ra._insertFakeElement(TAG_NAMES.BR,TAG_ID.BR),Ra.openElements.pop(),Ra.framesetOk=!1}function genericEndTagInBody(Ra,qa){const td=qa.tagName,rd=qa.tagID;for(let nd=Ra.openElements.stackTop;nd>0;nd--){const ad=Ra.openElements.items[nd],sd=Ra.openElements.tagIDs[nd];if(rd===sd&&(rd!==TAG_ID.UNKNOWN||Ra.treeAdapter.getTagName(ad)===td)){Ra.openElements.generateImpliedEndTagsWithExclusion(rd),Ra.openElements.stackTop>=nd&&Ra.openElements.shortenToLength(nd);break}if(Ra._isSpecialElement(ad,sd))break}}function endTagInBody(Ra,qa){switch(qa.tagID){case TAG_ID.A:case TAG_ID.B:case TAG_ID.I:case TAG_ID.S:case TAG_ID.U:case TAG_ID.EM:case TAG_ID.TT:case TAG_ID.BIG:case TAG_ID.CODE:case TAG_ID.FONT:case TAG_ID.NOBR:case TAG_ID.SMALL:case TAG_ID.STRIKE:case TAG_ID.STRONG:{callAdoptionAgency(Ra,qa);break}case TAG_ID.P:{pEndTagInBody(Ra);break}case TAG_ID.DL:case TAG_ID.UL:case TAG_ID.OL:case TAG_ID.DIR:case TAG_ID.DIV:case TAG_ID.NAV:case TAG_ID.PRE:case TAG_ID.MAIN:case TAG_ID.MENU:case TAG_ID.ASIDE:case TAG_ID.BUTTON:case TAG_ID.CENTER:case TAG_ID.FIGURE:case TAG_ID.FOOTER:case TAG_ID.HEADER:case TAG_ID.HGROUP:case TAG_ID.DIALOG:case TAG_ID.ADDRESS:case TAG_ID.ARTICLE:case TAG_ID.DETAILS:case TAG_ID.SECTION:case TAG_ID.SUMMARY:case TAG_ID.LISTING:case TAG_ID.FIELDSET:case TAG_ID.BLOCKQUOTE:case TAG_ID.FIGCAPTION:{addressEndTagInBody(Ra,qa);break}case TAG_ID.LI:{liEndTagInBody(Ra);break}case TAG_ID.DD:case TAG_ID.DT:{ddEndTagInBody(Ra,qa);break}case TAG_ID.H1:case TAG_ID.H2:case TAG_ID.H3:case TAG_ID.H4:case TAG_ID.H5:case TAG_ID.H6:{numberedHeaderEndTagInBody(Ra);break}case TAG_ID.BR:{brEndTagInBody(Ra);break}case TAG_ID.BODY:{bodyEndTagInBody(Ra,qa);break}case TAG_ID.HTML:{htmlEndTagInBody(Ra,qa);break}case TAG_ID.FORM:{formEndTagInBody(Ra);break}case TAG_ID.APPLET:case TAG_ID.OBJECT:case TAG_ID.MARQUEE:{appletEndTagInBody(Ra,qa);break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}default:genericEndTagInBody(Ra,qa)}}function eofInBody(Ra,qa){Ra.tmplInsertionModeStack.length>0?eofInTemplate(Ra,qa):stopParsing(Ra,qa)}function endTagInText(Ra,qa){var td;qa.tagID===TAG_ID.SCRIPT&&((td=Ra.scriptHandler)===null||td===void 0||td.call(Ra,Ra.openElements.current)),Ra.openElements.pop(),Ra.insertionMode=Ra.originalInsertionMode}function eofInText(Ra,qa){Ra._err(qa,ERR.eofInElementThatCanContainOnlyText),Ra.openElements.pop(),Ra.insertionMode=Ra.originalInsertionMode,Ra.onEof(qa)}function characterInTable(Ra,qa){if(TABLE_STRUCTURE_TAGS.has(Ra.openElements.currentTagId))switch(Ra.pendingCharacterTokens.length=0,Ra.hasNonWhitespacePendingCharacterToken=!1,Ra.originalInsertionMode=Ra.insertionMode,Ra.insertionMode=InsertionMode.IN_TABLE_TEXT,qa.type){case TokenType.CHARACTER:{characterInTableText(Ra,qa);break}case TokenType.WHITESPACE_CHARACTER:{whitespaceCharacterInTableText(Ra,qa);break}}else tokenInTable(Ra,qa)}function captionStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra.activeFormattingElements.insertMarker(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_CAPTION}function colgroupStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_COLUMN_GROUP}function colStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra._insertFakeElement(TAG_NAMES.COLGROUP,TAG_ID.COLGROUP),Ra.insertionMode=InsertionMode.IN_COLUMN_GROUP,startTagInColumnGroup(Ra,qa)}function tbodyStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_TABLE_BODY}function tdStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra._insertFakeElement(TAG_NAMES.TBODY,TAG_ID.TBODY),Ra.insertionMode=InsertionMode.IN_TABLE_BODY,startTagInTableBody(Ra,qa)}function tableStartTagInTable(Ra,qa){Ra.openElements.hasInTableScope(TAG_ID.TABLE)&&(Ra.openElements.popUntilTagNamePopped(TAG_ID.TABLE),Ra._resetInsertionMode(),Ra._processStartTag(qa))}function inputStartTagInTable(Ra,qa){isHiddenInput(qa)?Ra._appendElement(qa,NS.HTML):tokenInTable(Ra,qa),qa.ackSelfClosing=!0}function formStartTagInTable(Ra,qa){!Ra.formElement&&Ra.openElements.tmplCount===0&&(Ra._insertElement(qa,NS.HTML),Ra.formElement=Ra.openElements.current,Ra.openElements.pop())}function startTagInTable(Ra,qa){switch(qa.tagID){case TAG_ID.TD:case TAG_ID.TH:case TAG_ID.TR:{tdStartTagInTable(Ra,qa);break}case TAG_ID.STYLE:case TAG_ID.SCRIPT:case TAG_ID.TEMPLATE:{startTagInHead(Ra,qa);break}case TAG_ID.COL:{colStartTagInTable(Ra,qa);break}case TAG_ID.FORM:{formStartTagInTable(Ra,qa);break}case TAG_ID.TABLE:{tableStartTagInTable(Ra,qa);break}case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:{tbodyStartTagInTable(Ra,qa);break}case TAG_ID.INPUT:{inputStartTagInTable(Ra,qa);break}case TAG_ID.CAPTION:{captionStartTagInTable(Ra,qa);break}case TAG_ID.COLGROUP:{colgroupStartTagInTable(Ra,qa);break}default:tokenInTable(Ra,qa)}}function endTagInTable(Ra,qa){switch(qa.tagID){case TAG_ID.TABLE:{Ra.openElements.hasInTableScope(TAG_ID.TABLE)&&(Ra.openElements.popUntilTagNamePopped(TAG_ID.TABLE),Ra._resetInsertionMode());break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}case TAG_ID.BODY:case TAG_ID.CAPTION:case TAG_ID.COL:case TAG_ID.COLGROUP:case TAG_ID.HTML:case TAG_ID.TBODY:case TAG_ID.TD:case TAG_ID.TFOOT:case TAG_ID.TH:case TAG_ID.THEAD:case TAG_ID.TR:break;default:tokenInTable(Ra,qa)}}function tokenInTable(Ra,qa){const td=Ra.fosterParentingEnabled;Ra.fosterParentingEnabled=!0,modeInBody(Ra,qa),Ra.fosterParentingEnabled=td}function whitespaceCharacterInTableText(Ra,qa){Ra.pendingCharacterTokens.push(qa)}function characterInTableText(Ra,qa){Ra.pendingCharacterTokens.push(qa),Ra.hasNonWhitespacePendingCharacterToken=!0}function tokenInTableText(Ra,qa){let td=0;if(Ra.hasNonWhitespacePendingCharacterToken)for(;td0&&Ra.openElements.currentTagId===TAG_ID.OPTION&&Ra.openElements.tagIDs[Ra.openElements.stackTop-1]===TAG_ID.OPTGROUP&&Ra.openElements.pop(),Ra.openElements.currentTagId===TAG_ID.OPTGROUP&&Ra.openElements.pop();break}case TAG_ID.OPTION:{Ra.openElements.currentTagId===TAG_ID.OPTION&&Ra.openElements.pop();break}case TAG_ID.SELECT:{Ra.openElements.hasInSelectScope(TAG_ID.SELECT)&&(Ra.openElements.popUntilTagNamePopped(TAG_ID.SELECT),Ra._resetInsertionMode());break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}}}function startTagInSelectInTable(Ra,qa){const td=qa.tagID;td===TAG_ID.CAPTION||td===TAG_ID.TABLE||td===TAG_ID.TBODY||td===TAG_ID.TFOOT||td===TAG_ID.THEAD||td===TAG_ID.TR||td===TAG_ID.TD||td===TAG_ID.TH?(Ra.openElements.popUntilTagNamePopped(TAG_ID.SELECT),Ra._resetInsertionMode(),Ra._processStartTag(qa)):startTagInSelect(Ra,qa)}function endTagInSelectInTable(Ra,qa){const td=qa.tagID;td===TAG_ID.CAPTION||td===TAG_ID.TABLE||td===TAG_ID.TBODY||td===TAG_ID.TFOOT||td===TAG_ID.THEAD||td===TAG_ID.TR||td===TAG_ID.TD||td===TAG_ID.TH?Ra.openElements.hasInTableScope(td)&&(Ra.openElements.popUntilTagNamePopped(TAG_ID.SELECT),Ra._resetInsertionMode(),Ra.onEndTag(qa)):endTagInSelect(Ra,qa)}function startTagInTemplate(Ra,qa){switch(qa.tagID){case TAG_ID.BASE:case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.NOFRAMES:case TAG_ID.SCRIPT:case TAG_ID.STYLE:case TAG_ID.TEMPLATE:case TAG_ID.TITLE:{startTagInHead(Ra,qa);break}case TAG_ID.CAPTION:case TAG_ID.COLGROUP:case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:{Ra.tmplInsertionModeStack[0]=InsertionMode.IN_TABLE,Ra.insertionMode=InsertionMode.IN_TABLE,startTagInTable(Ra,qa);break}case TAG_ID.COL:{Ra.tmplInsertionModeStack[0]=InsertionMode.IN_COLUMN_GROUP,Ra.insertionMode=InsertionMode.IN_COLUMN_GROUP,startTagInColumnGroup(Ra,qa);break}case TAG_ID.TR:{Ra.tmplInsertionModeStack[0]=InsertionMode.IN_TABLE_BODY,Ra.insertionMode=InsertionMode.IN_TABLE_BODY,startTagInTableBody(Ra,qa);break}case TAG_ID.TD:case TAG_ID.TH:{Ra.tmplInsertionModeStack[0]=InsertionMode.IN_ROW,Ra.insertionMode=InsertionMode.IN_ROW,startTagInRow(Ra,qa);break}default:Ra.tmplInsertionModeStack[0]=InsertionMode.IN_BODY,Ra.insertionMode=InsertionMode.IN_BODY,startTagInBody(Ra,qa)}}function endTagInTemplate(Ra,qa){qa.tagID===TAG_ID.TEMPLATE&&templateEndTagInHead(Ra,qa)}function eofInTemplate(Ra,qa){Ra.openElements.tmplCount>0?(Ra.openElements.popUntilTagNamePopped(TAG_ID.TEMPLATE),Ra.activeFormattingElements.clearToLastMarker(),Ra.tmplInsertionModeStack.shift(),Ra._resetInsertionMode(),Ra.onEof(qa)):stopParsing(Ra,qa)}function startTagAfterBody(Ra,qa){qa.tagID===TAG_ID.HTML?startTagInBody(Ra,qa):tokenAfterBody(Ra,qa)}function endTagAfterBody(Ra,qa){var td;if(qa.tagID===TAG_ID.HTML){if(Ra.fragmentContext||(Ra.insertionMode=InsertionMode.AFTER_AFTER_BODY),Ra.options.sourceCodeLocationInfo&&Ra.openElements.tagIDs[0]===TAG_ID.HTML){Ra._setEndLocation(Ra.openElements.items[0],qa);const rd=Ra.openElements.items[1];rd&&!(!((td=Ra.treeAdapter.getNodeSourceCodeLocation(rd))===null||td===void 0)&&td.endTag)&&Ra._setEndLocation(rd,qa)}}else tokenAfterBody(Ra,qa)}function tokenAfterBody(Ra,qa){Ra.insertionMode=InsertionMode.IN_BODY,modeInBody(Ra,qa)}function startTagInFrameset(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.FRAMESET:{Ra._insertElement(qa,NS.HTML);break}case TAG_ID.FRAME:{Ra._appendElement(qa,NS.HTML),qa.ackSelfClosing=!0;break}case TAG_ID.NOFRAMES:{startTagInHead(Ra,qa);break}}}function endTagInFrameset(Ra,qa){qa.tagID===TAG_ID.FRAMESET&&!Ra.openElements.isRootHtmlElementCurrent()&&(Ra.openElements.pop(),!Ra.fragmentContext&&Ra.openElements.currentTagId!==TAG_ID.FRAMESET&&(Ra.insertionMode=InsertionMode.AFTER_FRAMESET))}function startTagAfterFrameset(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.NOFRAMES:{startTagInHead(Ra,qa);break}}}function endTagAfterFrameset(Ra,qa){qa.tagID===TAG_ID.HTML&&(Ra.insertionMode=InsertionMode.AFTER_AFTER_FRAMESET)}function startTagAfterAfterBody(Ra,qa){qa.tagID===TAG_ID.HTML?startTagInBody(Ra,qa):tokenAfterAfterBody(Ra,qa)}function tokenAfterAfterBody(Ra,qa){Ra.insertionMode=InsertionMode.IN_BODY,modeInBody(Ra,qa)}function startTagAfterAfterFrameset(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.NOFRAMES:{startTagInHead(Ra,qa);break}}}function nullCharacterInForeignContent(Ra,qa){qa.chars=REPLACEMENT_CHARACTER,Ra._insertCharacters(qa)}function characterInForeignContent(Ra,qa){Ra._insertCharacters(qa),Ra.framesetOk=!1}function popUntilHtmlOrIntegrationPoint(Ra){for(;Ra.treeAdapter.getNamespaceURI(Ra.openElements.current)!==NS.HTML&&!Ra._isIntegrationPoint(Ra.openElements.currentTagId,Ra.openElements.current);)Ra.openElements.pop()}function startTagInForeignContent(Ra,qa){if(causesExit(qa))popUntilHtmlOrIntegrationPoint(Ra),Ra._startTagOutsideForeignContent(qa);else{const td=Ra._getAdjustedCurrentElement(),rd=Ra.treeAdapter.getNamespaceURI(td);rd===NS.MATHML?adjustTokenMathMLAttrs(qa):rd===NS.SVG&&(adjustTokenSVGTagName(qa),adjustTokenSVGAttrs(qa)),adjustTokenXMLAttrs(qa),qa.selfClosing?Ra._appendElement(qa,rd):Ra._insertElement(qa,rd),qa.ackSelfClosing=!0}}function endTagInForeignContent(Ra,qa){if(qa.tagID===TAG_ID.P||qa.tagID===TAG_ID.BR){popUntilHtmlOrIntegrationPoint(Ra),Ra._endTagOutsideForeignContent(qa);return}for(let td=Ra.openElements.stackTop;td>0;td--){const rd=Ra.openElements.items[td];if(Ra.treeAdapter.getNamespaceURI(rd)===NS.HTML){Ra._endTagOutsideForeignContent(qa);break}const nd=Ra.treeAdapter.getTagName(rd);if(nd.toLowerCase()===qa.tagName){qa.tagName=nd,Ra.openElements.shortenToLength(td);break}}}const VOID_ELEMENTS=new Set([TAG_NAMES.AREA,TAG_NAMES.BASE,TAG_NAMES.BASEFONT,TAG_NAMES.BGSOUND,TAG_NAMES.BR,TAG_NAMES.COL,TAG_NAMES.EMBED,TAG_NAMES.FRAME,TAG_NAMES.HR,TAG_NAMES.IMG,TAG_NAMES.INPUT,TAG_NAMES.KEYGEN,TAG_NAMES.LINK,TAG_NAMES.META,TAG_NAMES.PARAM,TAG_NAMES.SOURCE,TAG_NAMES.TRACK,TAG_NAMES.WBR]);function isVoidElement(Ra,qa){return qa.treeAdapter.isElementNode(Ra)&&qa.treeAdapter.getNamespaceURI(Ra)===NS.HTML&&VOID_ELEMENTS.has(qa.treeAdapter.getTagName(Ra))}const defaultOpts={treeAdapter:defaultTreeAdapter,scriptingEnabled:!0};function serializeOuter(Ra,qa){const td={...defaultOpts,...qa};return serializeNode(Ra,td)}function serializeChildNodes(Ra,qa){let td="";const rd=qa.treeAdapter.isElementNode(Ra)&&qa.treeAdapter.getTagName(Ra)===TAG_NAMES.TEMPLATE&&qa.treeAdapter.getNamespaceURI(Ra)===NS.HTML?qa.treeAdapter.getTemplateContent(Ra):Ra,nd=qa.treeAdapter.getChildNodes(rd);if(nd)for(const ad of nd)td+=serializeNode(ad,qa);return td}function serializeNode(Ra,qa){return qa.treeAdapter.isElementNode(Ra)?serializeElement(Ra,qa):qa.treeAdapter.isTextNode(Ra)?serializeTextNode(Ra,qa):qa.treeAdapter.isCommentNode(Ra)?serializeCommentNode(Ra,qa):qa.treeAdapter.isDocumentTypeNode(Ra)?serializeDocumentTypeNode(Ra,qa):""}function serializeElement(Ra,qa){const td=qa.treeAdapter.getTagName(Ra);return`<${td}${serializeAttributes(Ra,qa)}>${isVoidElement(Ra,qa)?"":`${serializeChildNodes(Ra,qa)}`}`}function serializeAttributes(Ra,{treeAdapter:qa}){let td="";for(const rd of qa.getAttrList(Ra)){if(td+=" ",!rd.namespace)td+=rd.name;else switch(rd.namespace){case NS.XML:{td+=`xml:${rd.name}`;break}case NS.XMLNS:{rd.name!=="xmlns"&&(td+="xmlns:"),td+=rd.name;break}case NS.XLINK:{td+=`xlink:${rd.name}`;break}default:td+=`${rd.prefix}:${rd.name}`}td+=`="${escapeAttribute(rd.value)}"`}return td}function serializeTextNode(Ra,qa){const{treeAdapter:td}=qa,rd=td.getTextNodeContent(Ra),nd=td.getParentNode(Ra),ad=nd&&td.isElementNode(nd)&&td.getTagName(nd);return ad&&td.getNamespaceURI(nd)===NS.HTML&&hasUnescapedText(ad,qa.scriptingEnabled)?rd:escapeText(rd)}function serializeCommentNode(Ra,{treeAdapter:qa}){return``}function serializeDocumentTypeNode(Ra,{treeAdapter:qa}){return``}function parse$4(Ra,qa){return Parser$1.parse(Ra,qa)}function parseFragment(Ra,qa,td){typeof Ra=="string"&&(td=qa,qa=Ra,Ra=null);const rd=Parser$1.getFragmentParser(Ra,td);return rd.tokenizer.write(qa,!0),rd.getFragment()}function createTextNode(Ra){return new Text(Ra)}function enquoteDoctypeId(Ra){const qa=Ra.includes('"')?"'":'"';return qa+Ra+qa}function serializeDoctypeContent(Ra,qa,td){let rd="!DOCTYPE ";return Ra&&(rd+=Ra),qa?rd+=` PUBLIC ${enquoteDoctypeId(qa)}`:td&&(rd+=" SYSTEM"),td&&(rd+=` ${enquoteDoctypeId(td)}`),rd}const adapter={isCommentNode:isComment$1,isElementNode:isTag,isTextNode:isText,createDocument(){const Ra=new Document([]);return Ra["x-mode"]=DOCUMENT_MODE.NO_QUIRKS,Ra},createDocumentFragment(){return new Document([])},createElement(Ra,qa,td){const rd=Object.create(null),nd=Object.create(null),ad=Object.create(null);for(let ud=0;udisDirective(sd)&&sd.name==="!doctype");ad?ad.data=nd??null:(ad=new ProcessingInstruction("!doctype",nd),adapter.appendChild(Ra,ad)),ad["x-name"]=qa??void 0,ad["x-publicId"]=td??void 0,ad["x-systemId"]=rd??void 0},setDocumentMode(Ra,qa){Ra["x-mode"]=qa},getDocumentMode(Ra){return Ra["x-mode"]},detachNode(Ra){if(Ra.parent){const qa=Ra.parent.children.indexOf(Ra),{prev:td,next:rd}=Ra;Ra.prev=null,Ra.next=null,td&&(td.next=rd),rd&&(rd.prev=td),Ra.parent.children.splice(qa,1),Ra.parent=null}},insertText(Ra,qa){const td=Ra.children[Ra.children.length-1];td&&isText(td)?td.data+=qa:adapter.appendChild(Ra,createTextNode(qa))},insertTextBefore(Ra,qa,td){const rd=Ra.children[Ra.children.indexOf(td)-1];rd&&isText(rd)?rd.data+=qa:adapter.insertBefore(Ra,createTextNode(qa),td)},adoptAttributes(Ra,qa){for(let td=0;td"u"&&(Ra.attribs[rd]=qa[td].value,Ra["x-attribsNamespace"][rd]=qa[td].namespace,Ra["x-attribsPrefix"][rd]=qa[td].prefix)}},getFirstChild(Ra){return Ra.children[0]},getChildNodes(Ra){return Ra.children},getParentNode(Ra){return Ra.parent},getAttrList(Ra){return Ra.attributes},getTagName(Ra){return Ra.name},getNamespaceURI(Ra){return Ra.namespace},getTextNodeContent(Ra){return Ra.data},getCommentNodeContent(Ra){return Ra.data},getDocumentTypeNodeName(Ra){var qa;return(qa=Ra["x-name"])!==null&&qa!==void 0?qa:""},getDocumentTypeNodePublicId(Ra){var qa;return(qa=Ra["x-publicId"])!==null&&qa!==void 0?qa:""},getDocumentTypeNodeSystemId(Ra){var qa;return(qa=Ra["x-systemId"])!==null&&qa!==void 0?qa:""},isDocumentTypeNode(Ra){return isDirective(Ra)&&Ra.name==="!doctype"},setNodeSourceCodeLocation(Ra,qa){qa&&(Ra.startIndex=qa.startOffset,Ra.endIndex=qa.endOffset),Ra.sourceCodeLocation=qa},getNodeSourceCodeLocation(Ra){return Ra.sourceCodeLocation},updateNodeSourceCodeLocation(Ra,qa){qa.endOffset!=null&&(Ra.endIndex=qa.endOffset),Ra.sourceCodeLocation={...Ra.sourceCodeLocation,...qa}}};function parseWithParse5(Ra,qa,td,rd){var nd;return(nd=qa.treeAdapter)!==null&&nd!==void 0||(qa.treeAdapter=adapter),qa.scriptingEnabled!==!1&&(qa.scriptingEnabled=!0),td?parse$4(Ra,qa):parseFragment(rd,Ra,qa)}const renderOpts={treeAdapter:adapter};function renderWithParse5(Ra){const qa="length"in Ra?Ra:[Ra];for(let rd=0;rd=CharCodes.LowerA&&Ra<=CharCodes.LowerZ||Ra>=CharCodes.UpperA&&Ra<=CharCodes.UpperZ}var QuoteType;(function(Ra){Ra[Ra.NoValue=0]="NoValue",Ra[Ra.Unquoted=1]="Unquoted",Ra[Ra.Single=2]="Single",Ra[Ra.Double=3]="Double"})(QuoteType||(QuoteType={}));const Sequences={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class Tokenizer{constructor({xmlMode:qa=!1,decodeEntities:td=!0},rd){this.cbs=rd,this.state=State$2.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=State$2.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=qa,this.decodeEntities=td,this.entityDecoder=new EntityDecoder(qa?xmlDecodeTree:htmlDecodeTree,(nd,ad)=>this.emitCodePoint(nd,ad))}reset(){this.state=State$2.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=State$2.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(qa){this.offset+=this.buffer.length,this.buffer=qa,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.indexthis.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=State$2.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&qa===CharCodes.Amp&&this.startEntity()}stateSpecialStartSequence(qa){const td=this.sequenceIndex===this.currentSequence.length;if(!(td?isEndOfTagSection(qa):(qa|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!td){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=State$2.InTagName,this.stateInTagName(qa)}stateInSpecialTag(qa){if(this.sequenceIndex===this.currentSequence.length){if(qa===CharCodes.Gt||isWhitespace$1(qa)){const td=this.index-this.currentSequence.length;if(this.sectionStart=0?(this.state=this.baseState,qa===0&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===State$2.Text||this.state===State$2.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===State$2.InAttributeValueDq||this.state===State$2.InAttributeValueSq||this.state===State$2.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index=qa||(this.state===State$2.InCommentLike?this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,qa,0):this.cbs.oncomment(this.sectionStart,qa,0):this.state===State$2.InTagName||this.state===State$2.BeforeAttributeName||this.state===State$2.BeforeAttributeValue||this.state===State$2.AfterAttributeName||this.state===State$2.InAttributeName||this.state===State$2.InAttributeValueSq||this.state===State$2.InAttributeValueDq||this.state===State$2.InAttributeValueNq||this.state===State$2.InClosingTagName||this.cbs.ontext(this.sectionStart,qa))}emitCodePoint(qa,td){this.baseState!==State$2.Text&&this.baseState!==State$2.InSpecialTag?(this.sectionStart0&&sd.has(this.stack[0]);){const ud=this.stack.shift();(rd=(td=this.cbs).onclosetag)===null||rd===void 0||rd.call(td,ud,!0)}this.isVoidElement(qa)||(this.stack.unshift(qa),this.htmlMode&&(foreignContextElements.has(qa)?this.foreignContext.unshift(!0):htmlIntegrationElements.has(qa)&&this.foreignContext.unshift(!1))),(ad=(nd=this.cbs).onopentagname)===null||ad===void 0||ad.call(nd,qa),this.cbs.onopentag&&(this.attribs={})}endOpenTag(qa){var td,rd;this.startIndex=this.openTagStart,this.attribs&&((rd=(td=this.cbs).onopentag)===null||rd===void 0||rd.call(td,this.tagname,this.attribs,qa),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(qa){this.endIndex=qa,this.endOpenTag(!1),this.startIndex=qa+1}onclosetag(qa,td){var rd,nd,ad,sd,ud,cd,dd,pd;this.endIndex=td;let fd=this.getSlice(qa,td);if(this.lowerCaseTagNames&&(fd=fd.toLowerCase()),this.htmlMode&&(foreignContextElements.has(fd)||htmlIntegrationElements.has(fd))&&this.foreignContext.shift(),this.isVoidElement(fd))this.htmlMode&&fd==="br"&&((sd=(ad=this.cbs).onopentagname)===null||sd===void 0||sd.call(ad,"br"),(cd=(ud=this.cbs).onopentag)===null||cd===void 0||cd.call(ud,"br",{},!0),(pd=(dd=this.cbs).onclosetag)===null||pd===void 0||pd.call(dd,"br",!1));else{const Td=this.stack.indexOf(fd);if(Td!==-1)for(let Ad=0;Ad<=Td;Ad++){const Sd=this.stack.shift();(nd=(rd=this.cbs).onclosetag)===null||nd===void 0||nd.call(rd,Sd,Ad!==Td)}else this.htmlMode&&fd==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=td+1}onselfclosingtag(qa){this.endIndex=qa,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=qa+1):this.onopentagend(qa)}closeCurrentTag(qa){var td,rd;const nd=this.tagname;this.endOpenTag(qa),this.stack[0]===nd&&((rd=(td=this.cbs).onclosetag)===null||rd===void 0||rd.call(td,nd,!qa),this.stack.shift())}onattribname(qa,td){this.startIndex=qa;const rd=this.getSlice(qa,td);this.attribname=this.lowerCaseAttributeNames?rd.toLowerCase():rd}onattribdata(qa,td){this.attribvalue+=this.getSlice(qa,td)}onattribentity(qa){this.attribvalue+=fromCodePoint(qa)}onattribend(qa,td){var rd,nd;this.endIndex=td,(nd=(rd=this.cbs).onattribute)===null||nd===void 0||nd.call(rd,this.attribname,this.attribvalue,qa===QuoteType.Double?'"':qa===QuoteType.Single?"'":qa===QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(qa){const td=qa.search(reNameEnd);let rd=td<0?qa:qa.substr(0,td);return this.lowerCaseTagNames&&(rd=rd.toLowerCase()),rd}ondeclaration(qa,td){this.endIndex=td;const rd=this.getSlice(qa,td);if(this.cbs.onprocessinginstruction){const nd=this.getInstructionName(rd);this.cbs.onprocessinginstruction(`!${nd}`,`!${rd}`)}this.startIndex=td+1}onprocessinginstruction(qa,td){this.endIndex=td;const rd=this.getSlice(qa,td);if(this.cbs.onprocessinginstruction){const nd=this.getInstructionName(rd);this.cbs.onprocessinginstruction(`?${nd}`,`?${rd}`)}this.startIndex=td+1}oncomment(qa,td,rd){var nd,ad,sd,ud;this.endIndex=td,(ad=(nd=this.cbs).oncomment)===null||ad===void 0||ad.call(nd,this.getSlice(qa,td-rd)),(ud=(sd=this.cbs).oncommentend)===null||ud===void 0||ud.call(sd),this.startIndex=td+1}oncdata(qa,td,rd){var nd,ad,sd,ud,cd,dd,pd,fd,Td,Ad;this.endIndex=td;const Sd=this.getSlice(qa,td-rd);!this.htmlMode||this.options.recognizeCDATA?((ad=(nd=this.cbs).oncdatastart)===null||ad===void 0||ad.call(nd),(ud=(sd=this.cbs).ontext)===null||ud===void 0||ud.call(sd,Sd),(dd=(cd=this.cbs).oncdataend)===null||dd===void 0||dd.call(cd)):((fd=(pd=this.cbs).oncomment)===null||fd===void 0||fd.call(pd,`[CDATA[${Sd}]]`),(Ad=(Td=this.cbs).oncommentend)===null||Ad===void 0||Ad.call(Td)),this.startIndex=td+1}onend(){var qa,td;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let rd=0;rd=this.buffers[0].length;)this.shiftBuffer();let rd=this.buffers[0].slice(qa-this.bufferOffset,td-this.bufferOffset);for(;td-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),rd+=this.buffers[0].slice(0,td-this.bufferOffset);return rd}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(qa){var td,rd;if(this.ended){(rd=(td=this.cbs).onerror)===null||rd===void 0||rd.call(td,new Error(".write() after done!"));return}this.buffers.push(qa),this.tokenizer.running&&(this.tokenizer.write(qa),this.writeIndex++)}end(qa){var td,rd;if(this.ended){(rd=(td=this.cbs).onerror)===null||rd===void 0||rd.call(td,new Error(".end() after done!"));return}qa&&this.write(qa),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndexqa._useHtmlParser2?parseDocument(Ra,qa):parseWithParse5(Ra,qa,td,rd)),load$2=getLoad(parse$3,(Ra,qa)=>qa._useHtmlParser2?render$3(Ra,qa):renderWithParse5(Ra)),browser$1=Object.freeze(Object.defineProperty({__proto__:null,contains,load:load$2,merge:merge$2},Symbol.toStringTag,{value:"Module"})),require$$0$2=getAugmentedNamespace(browser$1);var utils$4={},lexer={exports:{}},debug={exports:{}};(function(Ra,qa){var td={version:"v20.17.0",versions:{node:"20.17.0",acorn:"8.11.3",ada:"2.9.0",ares:"1.32.3",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.2.2",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.13+quic",simdutf:"5.3.0",tz:"2024a",undici:"6.19.2",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-209717d"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule internal/idna","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/streams/utils","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/idna.js","lib/internal/inspector_async_hook.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_fc48d429-f579-45e8-bf03-b8f40cba1391",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.17.0 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_fc48d429-f579-45e8-bf03-b8f40cba1391",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.10.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu22",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"610",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",GOROOT_1_20_X64:"/opt/hostedtoolcache/go/1.20.14/x64",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20240915.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.7/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",JOURNAL_STREAM:"8:6290",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.17.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",npm_config_npm_version:"10.8.2",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"11027463784",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"c7b0e027ac0b5d7e952b951cd0f0482584bacafc",GITHUB_BASE_REF:"",ImageOS:"ubuntu22",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.17.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_869f45d3-ff71-43f5-9b82-440d0334cd1b",INVOCATION_ID:"4184953ec64c49749c61dec1ef6bfa6c",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"439",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 9",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"c7b0e027ac0b5d7e952b951cd0f0482584bacafc",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.17.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_fc48d429-f579-45e8-bf03-b8f40cba1391",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_fc48d429-f579-45e8-bf03-b8f40cba1391",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.1.12297006",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",STATS_EXTP:"https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.189/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_fc48d429-f579-45e8-bf03-b8f40cba1391",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.17.0/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2041,ppid:2038,execPath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};Ra.exports=rd;function rd(ad){return nd.bind(null,ad)}function nd(ad){var sd=[].slice.call(arguments,1);sd.unshift("["+ad+"]"),td.stderr.write(sd.join(" ")+` +`)}})(debug);var debugExports=debug.exports;(function(Ra,qa){debugExports("lex"),Ra.exports=td;function td(rd){var nd="",ad,sd=0,ud=-1,cd=0,dd=1,pd="before-selector",fd=[pd],Td={},Ad=[],Sd=["media","keyframes",{name:"-webkit-keyframes",type:"keyframes",prefix:"-webkit-"},{name:"-moz-keyframes",type:"keyframes",prefix:"-moz-"},{name:"-ms-keyframes",type:"keyframes",prefix:"-ms-"},{name:"-o-keyframes",type:"keyframes",prefix:"-o-"},"font-face",{name:"import",state:"before-at-value"},{name:"charset",state:"before-at-value"},"supports","viewport",{name:"namespace",state:"before-at-value"},"document",{name:"-moz-document",type:"document",prefix:"-moz-"},"page"];function Dd(){return Zd(),rd[ud]}function Ld(xf){return xf?fd[fd.length-1-xf]:pd}function Rd(xf){var Bf=ud+1;return xf===rd.slice(Bf,Bf+xf.length)}function Od(xf){var Bf=rd.slice(ud).indexOf(xf);return Bf>0?Bf:!1}function Md(xf){return xf===jd(1)}function jd(xf){return rd[ud+(xf||1)]}function Ud(){var xf=fd.pop();return pd=fd[fd.length-1],xf}function Hd(xf){return pd=xf,fd.push(pd),fd.length}function zd(xf){var Bf=pd;return fd[fd.length-1]=pd=xf,Bf}function Zd(xf){if((xf||1)==1)rd[ud]==` +`?(dd++,sd=1):sd++,ud++;else{var Bf=rd.slice(ud,ud+xf).split(` +`);Bf.length>1&&(dd+=Bf.length-1,sd=1),sd+=Bf[Bf.length-1].length,ud=ud+xf}}function Wd(){Td.end={line:dd,col:sd},Ad.push(Td),nd="",Td={}}function Qd(xf){Td={type:xf,start:{line:dd,col:sd}}}for(;ad=Dd();)switch(ad){case" ":switch(Ld()){case"selector":case"value":case"value-paren":case"at-group":case"at-value":case"comment":case"double-string":case"single-string":nd+=ad;break}break;case` +`:case" ":case"\r":case"\f":switch(Ld()){case"value":case"value-paren":case"at-group":case"comment":case"single-string":case"double-string":case"selector":nd+=ad;break;case"at-value":ad===` +`&&(Td.value=nd.trim(),Wd(),Ud());break}break;case":":switch(Ld()){case"name":Td.name=nd.trim(),nd="",zd("before-value");break;case"before-selector":nd+=ad,Qd("selector"),Hd("selector");break;case"before-value":zd("value"),nd+=ad;break;default:nd+=ad;break}break;case";":switch(Ld()){case"name":case"before-value":case"value":nd.trim().length>0&&(Td.value=nd.trim(),Wd()),zd("before-name");break;case"value-paren":nd+=ad;break;case"at-value":Td.value=nd.trim(),Wd(),Ud();break;case"before-name":break;default:nd+=ad;break}break;case"{":switch(Ld()){case"selector":if(jd(-1)==="\\"){nd+=ad;break}Td.text=nd.trim(),Wd(),zd("before-name"),cd=cd+1;break;case"at-group":switch(Td.name=nd.trim(),Td.type){case"font-face":case"viewport":case"page":Hd("before-name");break;default:Hd("before-selector")}Wd(),cd=cd+1;break;case"name":case"at-rule":Td.name=nd.trim(),Wd(),Hd("before-name"),cd=cd+1;break;case"comment":case"double-string":case"single-string":nd+=ad;break;case"before-value":zd("value"),nd+=ad;break}break;case"}":switch(Ld()){case"before-name":case"name":case"before-value":case"value":nd&&(Td.value=nd.trim()),Td.name&&Td.value&&Wd(),Qd("end"),Wd(),Ud(),Ld()==="at-group"&&(Qd("at-group-end"),Wd(),Ud()),cd>0&&(cd=cd-1);break;case"at-group":case"before-selector":case"selector":if(jd(-1)==="\\"){nd+=ad;break}cd>0&&Ld(1)==="at-group"&&(Qd("at-group-end"),Wd()),cd>1&&Ud(),cd>0&&(cd=cd-1);break;case"double-string":case"single-string":case"comment":nd+=ad;break}break;case'"':case"'":switch(Ld()){case"double-string":ad==='"'&&jd(-1)!=="\\"&&Ud();break;case"single-string":ad==="'"&&jd(-1)!=="\\"&&Ud();break;case"before-at-value":zd("at-value"),Hd(ad==='"'?"double-string":"single-string");break;case"before-value":zd("value"),Hd(ad==='"'?"double-string":"single-string");break;case"comment":break;default:jd(-1)!=="\\"&&Hd(ad==='"'?"double-string":"single-string")}nd+=ad;break;case"/":switch(Ld()){case"comment":case"double-string":case"single-string":nd+=ad;break;case"before-value":case"selector":case"name":case"value":if(Md("*")){var Jd=Od("*/");Jd&&Zd(Jd+1)}else Ld()=="before-value"&&zd("value"),nd+=ad;break;default:Md("*")?(Qd("comment"),Hd("comment"),Zd()):nd+=ad;break}break;case"*":switch(Ld()){case"comment":Md("/")?(Td.text=nd,Zd(),Wd(),Ud()):nd+=ad;break;case"before-selector":nd+=ad,Qd("selector"),Hd("selector");break;case"before-value":zd("value"),nd+=ad;break;default:nd+=ad}break;case"@":switch(Ld()){case"comment":case"double-string":case"single-string":nd+=ad;break;case"before-value":zd("value"),nd+=ad;break;default:for(var hf=!1,bf,Ef,_f=0,vf=Sd.length;!hf&&_f+)\\s*|(\\s+)|(+|\\*)|\\#(+)|\\.(+)|\\[\\s*(+)(?:\\s*([*^$!~|]?=)(?:\\s*(?:(["']?)(.*?)\\9)))?\\s*\\](?!\\])|(:+)(+)(?:\\((?:(?:(["'])([^\\13]*)\\13)|((?:\\([^)]+\\)|[^()]*)+))\\))?)`.replace(//,"["+escape$5(">+~`!@$%^&={}\\;/g,"(?:[\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])").replace(//g,"(?:[:\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])")),Part=function(qa){this.combinator=qa||" ",this.tag="*"};Part.prototype.toString=function(){if(!this.raw){var Ra="",qa,td;if(Ra+=this.tag||"*",this.id&&(Ra+="#"+this.id),this.classes&&(Ra+="."+this.classList.join(".")),this.attributes)for(qa=0;td=this.attributes[qa++];)Ra+="["+td.name+(td.operator?td.operator+'"'+td.value+'"':"")+"]";if(this.pseudos)for(qa=0;td=this.pseudos[qa++];)Ra+=":"+td.name,td.value&&(Ra+="("+td.value+")");this.raw=Ra}return this.raw};var Expression=function(){this.length=0};Expression.prototype.toString=function(){if(!this.raw){for(var Ra="",qa=0,td;td=this[qa++];)qa!==1&&(Ra+=" "),td.combinator!==" "&&(Ra+=td.combinator+" "),Ra+=td;this.raw=Ra}return this.raw};var replacer=function(Ra,qa,td,rd,nd,ad,sd,ud,cd,dd,pd,fd,Td,Ad,Sd,Dd){var Ld,Rd;if((qa||!this.length)&&(Ld=this[this.length++]=new Expression,qa))return"";if(Ld||(Ld=this[this.length-1]),(td||rd||!Ld.length)&&(Rd=Ld[Ld.length++]=new Part(td)),Rd||(Rd=Ld[Ld.length-1]),nd)Rd.tag=unescape$2(nd);else if(ad)Rd.id=unescape$2(ad);else if(sd){var Od=unescape$2(sd),Md=Rd.classes||(Rd.classes={});if(!Md[Od]){Md[Od]=escape$5(sd);var jd=Rd.classList||(Rd.classList=[]);jd.push(Od),jd.sort()}}else Td?(Dd=Dd||Sd,(Rd.pseudos||(Rd.pseudos=[])).push({type:fd.length==1?"class":"element",name:unescape$2(Td),escapedName:escape$5(Td),value:Dd?unescape$2(Dd):null,escapedValue:Dd?escape$5(Dd):null})):ud&&(pd=pd?escape$5(pd):null,(Rd.attributes||(Rd.attributes=[])).push({operator:cd,name:unescape$2(ud),escapedName:escape$5(ud),value:pd?unescape$2(pd):null,escapedValue:pd?escape$5(pd):null}));return""},Expressions=function(qa){this.length=0;for(var td=this,rd=qa,nd;qa;){if(nd=qa.replace(slickRe,function(){return replacer.apply(td,arguments)}),nd===qa)throw new Error(rd+" is an invalid expression");qa=nd}};Expressions.prototype.toString=function(){if(!this.raw){for(var Ra=[],qa=0,td;td=this[qa++];)Ra.push(td);this.raw=Ra.join(", ")}return this.raw};var cache$1={},parse$2=function(Ra){return Ra==null?null:(Ra=(""+Ra).replace(/^\s+|\s+$/g,""),cache$1[Ra]||(cache$1[Ra]=new Expressions(Ra)))},parser$1=parse$2;(function(Ra,qa){var td=parser$1;Ra.exports=rd;function rd(ad,sd){this.text=ad,this.spec=void 0,this.styleAttribute=sd||!1}rd.prototype.parsed=function(){return this.tokens||(this.tokens=nd(this.text)),this.tokens},rd.prototype.specificity=function(){var ad=this.styleAttribute;return this.spec||(this.spec=sd(this.text,this.parsed())),this.spec;function sd(ud,cd){for(var dd=cd||nd(ud),pd=[ad?1:0,0,0,0],fd=[],Td=0;Td=0;dd--)(sd.fontFaces&&ud[dd].type==="font-face"||sd.mediaQueries&&ud[dd].type==="media"||sd.keyFrames&&ud[dd].type==="keyframes"||sd.pseudos&&ud[dd].selectors&&this.matchesPseudo(ud[dd].selectors[0],od))&&cd.unshift(qa.stringify({stylesheet:{rules:[ud[dd]]}},{comments:!1,indentation:" "})),ud[dd].position.start;return cd.length===0?!1:` -`+cd.join(` + */Ra.extract=function(ad){for(var sd=0,ud=[],cd="",dd=0,pd=ad.length;dd=0;pd--)(ad.fontFaces&&cd[pd].type==="font-face"||ad.mediaQueries&&cd[pd].type==="media"||ad.keyFrames&&cd[pd].type==="keyframes"||ad.pseudos&&cd[pd].selectors&&this.matchesPseudo(cd[pd].selectors[0],sd))&&dd.unshift(qa.stringify({stylesheet:{rules:[cd[pd]]}},{comments:!1,indentation:" "})),cd[pd].position.start;return dd.length===0?!1:` +`+dd.join(` `)+` -`},Ra.normalizeLineEndings=function(rd){return rd.replace(/\r\n/g,` +`},Ra.normalizeLineEndings=function(nd){return nd.replace(/\r\n/g,` `).replace(/\n/g,`\r -`)},Ra.matchesPseudo=function(rd,sd){return sd.find(function(od){return rd.indexOf(od)>-1})},Ra.compareFunc=function(rd,sd){for(var od=Math.min(rd.length,sd.length),ld=0;ldsd[ld]?1:-1;return rd.length-sd.length},Ra.compare=function(rd,sd){return Ra.compareFunc(rd,sd)==1?rd:sd},Ra.getDefaultOptions=function(rd){var sd=Object.assign({extraCss:"",insertPreservedExtraCss:!0,applyStyleTags:!0,removeStyleTags:!0,preserveMediaQueries:!0,preserveFontFaces:!0,preserveKeyFrames:!0,preservePseudos:!0,applyWidthAttributes:!0,applyHeightAttributes:!0,applyAttributesTableElements:!0,resolveCSSVariables:!0,url:""},rd);return sd.webResources=sd.webResources||{},sd}}(utils$4)),utils$4}(function(Ra){var qa=require$$0$2;requireUtils$1();var ed=function(rd,sd,od){const{xmlMode:ld,...ud}=sd;return sd=Object.assign({xml:{decodeEntities:!1,xmlMode:ld}},ud),rd=od(rd),qa.load(rd,sd)},td=function(){var rd=[],sd=function(ld){var ud=Ra.exports.codeBlocks;return Object.keys(ud).forEach(function(cd){var dd=new RegExp(ud[cd].start+"([\\S\\s]*?)"+ud[cd].end,"g");ld=ld.replace(dd,function(_d,Ed){return rd.push(_d),"JUICE_CODE_BLOCK_"+(rd.length-1)+"_"})}),ld},od=function(ld){for(var ud=0;ud"},HBS:{start:"{{",end:"}}"}}})(cheerio$1);var cheerioExports=cheerio$1.exports,numbers$1={};numbers$1.romanize=function(Ra){if(isNaN(Ra))return NaN;for(var qa=String(+Ra).split(""),ed=["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM","","X","XX","XXX","XL","L","LX","LXX","LXXX","XC","","I","II","III","IV","V","VI","VII","VIII","IX"],td="",rd=3;rd--;)td=(ed[+qa.pop()+rd*10]||"")+td;return Array(+qa.join("")+1).join("M")+td};numbers$1.alphanumeric=function(Ra){for(var qa="",ed;Ra>0;)ed=(Ra-1)%26,qa=String.fromCharCode(65+ed)+qa,Ra=(Ra-ed)/26|0;return qa||void 0};const uniqueString=Ra=>{let qa="";do qa=(Math.random()+1).toString(36).substring(2);while(Ra.indexOf(qa)!==-1);return qa},replaceVariables=(Ra,qa)=>{let ed=/([a-z\-]+)\s*\(\s*([^\(\)]*?)\s*(?:,\s*([^\(\)]*?)\s*)?\s*\)/i,td=[],rd,sd=uniqueString(qa);for(;(rd=ed.exec(qa))!==null;){let ld=`${td.length}`;if(rd[1].toLowerCase()=="var"){const cd=findVariableValue(Ra,rd[2]);if(cd){qa=qa.replace(rd[0],cd);continue}if(rd[3]){qa=qa.replace(rd[0],rd[3]);continue}}let ud=`${sd}${ld.padStart(5,"-")}`;qa=qa.replace(rd[0],ud),td.push({placeholder:ud,replace:rd[0]})}for(var od=td.length-1;od>=0;od--){const ld=td[od];qa=qa.replace(ld.placeholder,ld.replace)}return qa},findVariableValue=(Ra,qa)=>{for(;Ra;){if(Ra.styleProps&&qa in Ra.styleProps)return Ra.styleProps[qa].value;var Ra=Ra.pseudoElementParent||Ra.parent}};var variables$1={replaceVariables,findVariableValue},utils$3=requireUtils$1(),numbers=numbers$1,variables=variables$1,inline$2=function(qa){qa.ignoredPseudos=["hover","active","focus","visited","link"],qa.widthElements=["TABLE","TD","TH","IMG"],qa.heightElements=["TABLE","TD","TH","IMG"],qa.tableElements=["TABLE","TH","TR","TD","CAPTION","COLGROUP","COL","THEAD","TBODY","TFOOT"],qa.nonVisualElements=["HEAD","TITLE","BASE","LINK","STYLE","META","SCRIPT","NOSCRIPT"],qa.styleToAttribute={"background-color":"bgcolor","background-image":"background","text-align":"align","vertical-align":"valign"},qa.excludedProperties=[],qa.juiceDocument=cd,qa.inlineDocument=ed;function ed(Ed,Ad,Td){Td=Td||{};var Id=utils$3.parseCSS(Ad),Bd=[],Rd="style",Od={};if(Td.styleAttributeName&&(Rd=Td.styleAttributeName),Id.forEach(Fd),Bd.forEach(jd),Td.inlinePseudoElements&&Bd.forEach(Vd),Td.applyWidthAttributes&&Bd.forEach(function(Xd){Qd(Xd,"width")}),Td.applyHeightAttributes&&Bd.forEach(function(Xd){Qd(Xd,"height")}),Td.applyAttributesTableElements&&Bd.forEach(Kd),Td.insertPreservedExtraCss&&Td.extraCss){var Md=utils$3.getPreservedText(Td.extraCss,{mediaQueries:Td.preserveMediaQueries,fontFaces:Td.preserveFontFaces,keyFrames:Td.preserveKeyFrames});if(Md){var Ld=null;Td.insertPreservedExtraCss!==!0?Ld=Ed(Td.insertPreservedExtraCss):(Ld=Ed("head"),Ld.length||(Ld=Ed("body")),Ld.length||(Ld=Ed.root())),Ld.first().append("")}}function Fd(Xd){var df=Xd[0],mf=Xd[1],bf=new utils$3.Selector(df),pf=bf.parsed();if(pf){for(var _f=od(pf),Tf=0;Tf=0)return}}if(_f){var Gf=pf[pf.length-1],Mf=Gf.pseudos;Gf.pseudos=ud(Gf.pseudos),df=pf.toString(),Gf.pseudos=Mf}var Nf;try{Nf=Ed(df)}catch{return}Nf.each(function(){var Bf=this;if(Bf.name&&qa.nonVisualElements.indexOf(Bf.name.toUpperCase())>=0)return;if(Bf.counterProps||(Bf.counterProps=Bf.parent&&Bf.parent.counterProps?Object.create(Bf.parent.counterProps):{}),_f){var Qf="pseudo"+_f,Wf=Bf[Qf];Wf||(Wf=Bf[Qf]=Ed("").get(0),Wf.pseudoElementType=_f,Wf.pseudoElementParent=Bf,Wf.counterProps=Bf.counterProps,Bf[Qf]=Wf),Bf=Wf}if(!Bf.styleProps){if(Bf.styleProps={},Ed(Bf).attr(Rd)){var yf="* { "+Ed(Bf).attr(Rd)+" } ";jf(utils$3.parseCSS(yf)[0][1],new utils$3.Selector("")}}function Ud(Jd){var hf=Jd[0],bf=Jd[1],Ef=new utils$3.Selector(hf),_f=Ef.parsed();if(_f){for(var vf=sd(_f),xf=0;xf<_f.length;++xf){var Bf=_f[xf];if(Bf.pseudos)for(var Yf=0;Yf=0)return}}if(vf){var Vf=_f[_f.length-1],Pf=Vf.pseudos;Vf.pseudos=cd(Vf.pseudos),hf=_f.toString(),Vf.pseudos=Pf}var If;try{If=Td(hf)}catch{return}If.each(function(){var $f=this;if($f.name&&qa.nonVisualElements.indexOf($f.name.toUpperCase())>=0)return;if($f.counterProps||($f.counterProps=$f.parent&&$f.parent.counterProps?Object.create($f.parent.counterProps):{}),vf){var Zf="pseudo"+vf,Kf=$f[Zf];Kf||(Kf=$f[Zf]=Td("").get(0),Kf.pseudoElementType=vf,Kf.pseudoElementParent=$f,Kf.counterProps=$f.counterProps,$f[Zf]=Kf),$f=Kf}if(!$f.styleProps){if($f.styleProps={},Td($f).attr(Rd)){var Tf="* { "+Td($f).attr(Rd)+" } ";Gf(utils$3.parseCSS(Tf)[0][1],new utils$3.Selector(" - `}function getStyles(Ra,qa,ed=""){const td=Ra[qa];return td?`style="${Object.entries(td).map(([sd,od])=>`${sd}:${od}`).join(";")}${ed}"`:""}function buildFootnoteArray(Ra){return Ra.map(([qa,ed,td])=>td===ed?`[${qa}]: ${ed}
`:`[${qa}] ${ed}: ${td}
`).join(` -`)}function transform$1(Ra,qa,ed){const td=Ra.split("-");for(const rd of td){if(rd==="alt"&&qa)return qa;if(rd==="title"&&ed)return ed}return""}const macCodeSvg=` + `}function getStyles(Ra,qa,td=""){const rd=Ra[qa];return rd?`style="${Object.entries(rd).map(([ad,sd])=>`${ad}:${sd}`).join(";")}${td}"`:""}function buildFootnoteArray(Ra){return Ra.map(([qa,td,rd])=>rd===td?`[${qa}]: ${td}
`:`[${qa}] ${td}: ${rd}
`).join(` +`)}function transform$1(Ra,qa,td){const rd=Ra.split("-");for(const nd of rd){if(nd==="alt"&&qa)return qa;if(nd==="title"&&td)return td}return""}const macCodeSvg=` -`.trim();function initRenderer(Ra){const qa=[];let ed=0,td=buildTheme(Ra),rd=0,sd=0,od=!1;function ld(Td,Id=""){return getStyles(td,Td,Id)}function ud(Td,Id,Bd){const Rd=Bd??Td;return`<${Rd} ${ld(Td)}>${Id}`}function cd(Td,Id){return qa.push([++ed,Td,Id]),ed}function dd(Td){qa.length=0,ed=0,_d(Td)}function _d(Td){Ra={...Ra,...Td},td=buildTheme(Ra)}const Ed=()=>qa.length?ud("h4","引用链接")+ud("footnotes",buildFootnoteArray(qa),"p"):"",Ad={heading({tokens:Td,depth:Id}){const Bd=this.parser.parseInline(Td),Rd=`h${Id}`;return ud(Rd,Bd)},paragraph({tokens:Td}){const Id=this.parser.parseInline(Td),Bd=Id.includes("/g,`

`),ud("blockquote",Id)},code({text:Td,lang:Id=""}){if(Id.startsWith("mermaid"))return clearTimeout(rd),rd=setTimeout(()=>{mermaid_default.run()},0),`

${Td}
`;const Bd=Id.split(" ")[0],Rd=HighlightJS.getLanguage(Bd)?Bd:"plaintext";let Od=HighlightJS.highlight(Td,{language:Rd}).value;Od=Od.replace(/\r\n/g,"
").replace(/\n/g,"
").replace(/(>[^<]+)|(^[^<]+)/g,Fd=>Fd.replace(/\s/g," "));const Md=``,Ld=`${Od}`;return`
${Md}${Ld}
`},codespan({text:Td}){return ud("codespan",Td,"code")},listitem(Td){const Id=od?`${sd+1}. `:"• ",Bd=Td.tokens.map(Rd=>this[Rd.type](Rd)).join("");return ud("listitem",`${Id}${Bd}`,"li")},list({ordered:Td,items:Id}){const Bd=[];for(let Od=0;Od${Bd}${Rd}`},link({href:Td,title:Id,text:Bd}){if(Td.startsWith("https://mp.weixin.qq.com"))return`${Bd}`;if(Td===Bd)return Bd;if(Ra.status){const Rd=cd(Id||Bd,Td);return`${Bd}[${Rd}]`}return ud("link",Bd,"span")},strong({tokens:Td}){return ud("strong",this.parser.parseInline(Td))},em({tokens:Td}){return ud("em",this.parser.parseInline(Td),"span")},table({header:Td,rows:Id}){const Bd=Td.map(Od=>this.tablecell(Od)).join(""),Rd=Id.map(Od=>{const Md=Od.map(Ld=>this.tablecell(Ld)).join("");return ud("tr",Md)}).join("");return` +`.trim();function initRenderer(Ra){const qa=[];let td=0,rd=buildTheme(Ra),nd=0,ad=0,sd=!1;function ud(Sd,Dd=""){return getStyles(rd,Sd,Dd)}function cd(Sd,Dd,Ld){const Rd=Ld??Sd;return`<${Rd} ${ud(Sd)}>${Dd}`}function dd(Sd,Dd){return qa.push([++td,Sd,Dd]),td}function pd(Sd){qa.length=0,td=0,fd(Sd)}function fd(Sd){Ra={...Ra,...Sd},rd=buildTheme(Ra)}const Td=()=>qa.length?cd("h4","引用链接")+cd("footnotes",buildFootnoteArray(qa),"p"):"",Ad={heading({tokens:Sd,depth:Dd}){const Ld=this.parser.parseInline(Sd),Rd=`h${Dd}`;return cd(Rd,Ld)},paragraph({tokens:Sd}){const Dd=this.parser.parseInline(Sd),Ld=Dd.includes("/g,`

`),cd("blockquote",Dd)},code({text:Sd,lang:Dd=""}){if(Dd.startsWith("mermaid"))return clearTimeout(nd),nd=setTimeout(()=>{mermaid_default.run()},0),`

${Sd}
`;const Ld=Dd.split(" ")[0],Rd=HighlightJS.getLanguage(Ld)?Ld:"plaintext";let Od=HighlightJS.highlight(Sd,{language:Rd}).value;Od=Od.replace(/\r\n/g,"
").replace(/\n/g,"
").replace(/(>[^<]+)|(^[^<]+)/g,Ud=>Ud.replace(/\s/g," "));const Md=``,jd=`${Od}`;return`
${Md}${jd}
`},codespan({text:Sd}){return cd("codespan",Sd,"code")},listitem(Sd){const Dd=sd?`${ad+1}. `:"• ",Ld=Sd.tokens.map(Rd=>this[Rd.type](Rd)).join("");return cd("listitem",`${Dd}${Ld}`,"li")},list({ordered:Sd,items:Dd}){const Ld=[];for(let Od=0;Od${Ld}${Rd}`},link({href:Sd,title:Dd,text:Ld}){if(Sd.startsWith("https://mp.weixin.qq.com"))return`${Ld}`;if(Sd===Ld)return Ld;if(Ra.status){const Rd=dd(Dd||Ld,Sd);return`${Ld}[${Rd}]`}return cd("link",Ld,"span")},strong({tokens:Sd}){return cd("strong",this.parser.parseInline(Sd))},em({tokens:Sd}){return cd("em",this.parser.parseInline(Sd),"span")},table({header:Sd,rows:Dd}){const Ld=Sd.map(Od=>this.tablecell(Od)).join(""),Rd=Dd.map(Od=>{const Md=Od.map(jd=>this.tablecell(jd)).join("");return cd("tr",Md)}).join("");return`
- ${Bd} + ${Ld}${Rd}
- `},tablecell(Td){const Id=this.parser.parseInline(Td.tokens);return ud("td",Id)},hr(Td){return ud("hr","")}};return marked$1.use({renderer:Ad}),{buildAddition,buildFootnotes:Ed,setOptions:_d,reset:dd}}function tryOnScopeDispose(Ra){return getCurrentScope()?(onScopeDispose(Ra),!0):!1}function toValue$2(Ra){return typeof Ra=="function"?Ra():unref(Ra)}const isClient=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const toString$2=Object.prototype.toString,isObject$2=Ra=>toString$2.call(Ra)==="[object Object]",noop$3=()=>{};function createFilterWrapper(Ra,qa){function ed(...td){return new Promise((rd,sd)=>{Promise.resolve(Ra(()=>qa.apply(this,td),{fn:qa,thisArg:this,args:td})).then(rd).catch(sd)})}return ed}const bypassFilter=Ra=>Ra();function pausableFilter(Ra=bypassFilter){const qa=ref$1(!0);function ed(){qa.value=!1}function td(){qa.value=!0}const rd=(...sd)=>{qa.value&&Ra(...sd)};return{isActive:readonly(qa),pause:ed,resume:td,eventFilter:rd}}function getLifeCycleTarget(Ra){return getCurrentInstance()}function toRef(...Ra){if(Ra.length!==1)return toRef$1(...Ra);const qa=Ra[0];return typeof qa=="function"?readonly(customRef(()=>({get:qa,set:noop$3}))):ref$1(qa)}function watchWithFilter(Ra,qa,ed={}){const{eventFilter:td=bypassFilter,...rd}=ed;return watch(Ra,createFilterWrapper(td,qa),rd)}function watchPausable(Ra,qa,ed={}){const{eventFilter:td,...rd}=ed,{eventFilter:sd,pause:od,resume:ld,isActive:ud}=pausableFilter(td);return{stop:watchWithFilter(Ra,qa,{...rd,eventFilter:sd}),pause:od,resume:ld,isActive:ud}}function tryOnMounted(Ra,qa=!0,ed){getLifeCycleTarget()?onMounted(Ra,ed):qa?Ra():nextTick$1(Ra)}function useToggle(Ra=!1,qa={}){const{truthyValue:ed=!0,falsyValue:td=!1}=qa,rd=isRef(Ra),sd=ref$1(Ra);function od(ld){if(arguments.length)return sd.value=ld,sd.value;{const ud=toValue$2(ed);return sd.value=sd.value===ud?toValue$2(td):ud,sd.value}}return rd?od:[sd,od]}const defaultWindow=isClient?window:void 0;function unrefElement(Ra){var qa;const ed=toValue$2(Ra);return(qa=ed==null?void 0:ed.$el)!=null?qa:ed}function useEventListener(...Ra){let qa,ed,td,rd;if(typeof Ra[0]=="string"||Array.isArray(Ra[0])?([ed,td,rd]=Ra,qa=defaultWindow):[qa,ed,td,rd]=Ra,!qa)return noop$3;Array.isArray(ed)||(ed=[ed]),Array.isArray(td)||(td=[td]);const sd=[],od=()=>{sd.forEach(dd=>dd()),sd.length=0},ld=(dd,_d,Ed,Ad)=>(dd.addEventListener(_d,Ed,Ad),()=>dd.removeEventListener(_d,Ed,Ad)),ud=watch(()=>[unrefElement(qa),toValue$2(rd)],([dd,_d])=>{if(od(),!dd)return;const Ed=isObject$2(_d)?{..._d}:_d;sd.push(...ed.flatMap(Ad=>td.map(Td=>ld(dd,Ad,Td,Ed))))},{immediate:!0,flush:"post"}),cd=()=>{ud(),od()};return tryOnScopeDispose(cd),cd}function useMounted(){const Ra=ref$1(!1),qa=getCurrentInstance();return qa&&onMounted(()=>{Ra.value=!0},qa),Ra}function useSupported(Ra){const qa=useMounted();return computed(()=>(qa.value,!!Ra()))}function useMediaQuery(Ra,qa={}){const{window:ed=defaultWindow}=qa,td=useSupported(()=>ed&&"matchMedia"in ed&&typeof ed.matchMedia=="function");let rd;const sd=ref$1(!1),od=cd=>{sd.value=cd.matches},ld=()=>{rd&&("removeEventListener"in rd?rd.removeEventListener("change",od):rd.removeListener(od))},ud=watchEffect(()=>{td.value&&(ld(),rd=ed.matchMedia(toValue$2(Ra)),"addEventListener"in rd?rd.addEventListener("change",od):rd.addListener(od),sd.value=rd.matches)});return tryOnScopeDispose(()=>{ud(),ld(),rd=void 0}),sd}const _global$1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global$1<"u"?global$1:typeof self<"u"?self:{},globalKey="__vueuse_ssr_handlers__",handlers=getHandlers();function getHandlers(){return globalKey in _global$1||(_global$1[globalKey]=_global$1[globalKey]||{}),_global$1[globalKey]}function getSSRHandler(Ra,qa){return handlers[Ra]||qa}function usePreferredDark(Ra){return useMediaQuery("(prefers-color-scheme: dark)",Ra)}function guessSerializerType(Ra){return Ra==null?"any":Ra instanceof Set?"set":Ra instanceof Map?"map":Ra instanceof Date?"date":typeof Ra=="boolean"?"boolean":typeof Ra=="string"?"string":typeof Ra=="object"?"object":Number.isNaN(Ra)?"any":"number"}const StorageSerializers={boolean:{read:Ra=>Ra==="true",write:Ra=>String(Ra)},object:{read:Ra=>JSON.parse(Ra),write:Ra=>JSON.stringify(Ra)},number:{read:Ra=>Number.parseFloat(Ra),write:Ra=>String(Ra)},any:{read:Ra=>Ra,write:Ra=>String(Ra)},string:{read:Ra=>Ra,write:Ra=>String(Ra)},map:{read:Ra=>new Map(JSON.parse(Ra)),write:Ra=>JSON.stringify(Array.from(Ra.entries()))},set:{read:Ra=>new Set(JSON.parse(Ra)),write:Ra=>JSON.stringify(Array.from(Ra))},date:{read:Ra=>new Date(Ra),write:Ra=>Ra.toISOString()}},customStorageEventName="vueuse-storage";function useStorage(Ra,qa,ed,td={}){var rd;const{flush:sd="pre",deep:od=!0,listenToStorageChanges:ld=!0,writeDefaults:ud=!0,mergeDefaults:cd=!1,shallow:dd,window:_d=defaultWindow,eventFilter:Ed,onError:Ad=Kd=>{console.error(Kd)},initOnMounted:Td}=td,Id=(dd?shallowRef:ref$1)(typeof qa=="function"?qa():qa);if(!ed)try{ed=getSSRHandler("getDefaultStorage",()=>{var Kd;return(Kd=defaultWindow)==null?void 0:Kd.localStorage})()}catch(Kd){Ad(Kd)}if(!ed)return Id;const Bd=toValue$2(qa),Rd=guessSerializerType(Bd),Od=(rd=td.serializer)!=null?rd:StorageSerializers[Rd],{pause:Md,resume:Ld}=watchPausable(Id,()=>jd(Id.value),{flush:sd,deep:od,eventFilter:Ed});_d&&ld&&tryOnMounted(()=>{ed instanceof Storage?useEventListener(_d,"storage",Qd):useEventListener(_d,customStorageEventName,qd),Td&&Qd()}),Td||Qd();function Fd(Kd,Xd){if(_d){const df={key:Ra,oldValue:Kd,newValue:Xd,storageArea:ed};_d.dispatchEvent(ed instanceof Storage?new StorageEvent("storage",df):new CustomEvent(customStorageEventName,{detail:df}))}}function jd(Kd){try{const Xd=ed.getItem(Ra);if(Kd==null)Fd(Xd,null),ed.removeItem(Ra);else{const df=Od.write(Kd);Xd!==df&&(ed.setItem(Ra,df),Fd(Xd,df))}}catch(Xd){Ad(Xd)}}function Vd(Kd){const Xd=Kd?Kd.newValue:ed.getItem(Ra);if(Xd==null)return ud&&Bd!=null&&ed.setItem(Ra,Od.write(Bd)),Bd;if(!Kd&&cd){const df=Od.read(Xd);return typeof cd=="function"?cd(df,Bd):Rd==="object"&&!Array.isArray(df)?{...Bd,...df}:df}else return typeof Xd!="string"?Xd:Od.read(Xd)}function Qd(Kd){if(!(Kd&&Kd.storageArea!==ed)){if(Kd&&Kd.key==null){Id.value=Bd;return}if(!(Kd&&Kd.key!==Ra)){Md();try{(Kd==null?void 0:Kd.newValue)!==Od.write(Id.value)&&(Id.value=Vd(Kd))}catch(Xd){Ad(Xd)}finally{Kd?nextTick$1(Ld):Ld()}}}}function qd(Kd){Qd(Kd.detail)}return Id}const CSS_DISABLE_TRANS="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function useColorMode(Ra={}){const{selector:qa="html",attribute:ed="class",initialValue:td="auto",window:rd=defaultWindow,storage:sd,storageKey:od="vueuse-color-scheme",listenToStorageChanges:ld=!0,storageRef:ud,emitAuto:cd,disableTransition:dd=!0}=Ra,_d={auto:"",light:"light",dark:"dark",...Ra.modes||{}},Ed=usePreferredDark({window:rd}),Ad=computed(()=>Ed.value?"dark":"light"),Td=ud||(od==null?toRef(td):useStorage(od,td,sd,{window:rd,listenToStorageChanges:ld})),Id=computed(()=>Td.value==="auto"?Ad.value:Td.value),Bd=getSSRHandler("updateHTMLAttrs",(Ld,Fd,jd)=>{const Vd=typeof Ld=="string"?rd==null?void 0:rd.document.querySelector(Ld):unrefElement(Ld);if(!Vd)return;const Qd=new Set,qd=new Set;let Kd=null;if(Fd==="class"){const df=jd.split(/\s/g);Object.values(_d).flatMap(mf=>(mf||"").split(/\s/g)).filter(Boolean).forEach(mf=>{df.includes(mf)?Qd.add(mf):qd.add(mf)})}else Kd={key:Fd,value:jd};if(Qd.size===0&&qd.size===0&&Kd===null)return;let Xd;dd&&(Xd=rd.document.createElement("style"),Xd.appendChild(document.createTextNode(CSS_DISABLE_TRANS)),rd.document.head.appendChild(Xd));for(const df of Qd)Vd.classList.add(df);for(const df of qd)Vd.classList.remove(df);Kd&&Vd.setAttribute(Kd.key,Kd.value),dd&&(rd.getComputedStyle(Xd).opacity,document.head.removeChild(Xd))});function Rd(Ld){var Fd;Bd(qa,ed,(Fd=_d[Ld])!=null?Fd:Ld)}function Od(Ld){Ra.onChanged?Ra.onChanged(Ld,Rd):Rd(Ld)}watch(Id,Od,{flush:"post",immediate:!0}),tryOnMounted(()=>Od(Id.value));const Md=computed({get(){return cd?Td.value:Id.value},set(Ld){Td.value=Ld}});try{return Object.assign(Md,{store:Td,system:Ad,state:Id})}catch{return Md}}function useDark(Ra={}){const{valueDark:qa="dark",valueLight:ed="",window:td=defaultWindow}=Ra,rd=useColorMode({...Ra,onChanged:(ld,ud)=>{var cd;Ra.onChanged?(cd=Ra.onChanged)==null||cd.call(Ra,ld==="dark",ud,ld):ud(ld)},modes:{dark:qa,light:ed}}),sd=computed(()=>rd.system?rd.system.value:usePreferredDark({window:td}).value?"dark":"light");return computed({get(){return rd.value==="dark"},set(ld){const ud=ld?"dark":"light";sd.value===ud?rd.value="auto":rd.value=ud}})}var codemirror={exports:{}},hasRequiredCodemirror;function requireCodemirror(){return hasRequiredCodemirror||(hasRequiredCodemirror=1,function(Ra,qa){(function(ed,td){Ra.exports=td()})(commonjsGlobal,function(){var ed=navigator.userAgent,td=navigator.platform,rd=/gecko\/\d/i.test(ed),sd=/MSIE \d/.test(ed),od=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(ed),ld=/Edge\/(\d+)/.exec(ed),ud=sd||od||ld,cd=ud&&(sd?document.documentMode||6:+(ld||od)[1]),dd=!ld&&/WebKit\//.test(ed),_d=dd&&/Qt\/\d+\.\d+/.test(ed),Ed=!ld&&/Chrome\/(\d+)/.exec(ed),Ad=Ed&&+Ed[1],Td=/Opera\//.test(ed),Id=/Apple Computer/.test(navigator.vendor),Bd=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(ed),Rd=/PhantomJS/.test(ed),Od=Id&&(/Mobile\/\w+/.test(ed)||navigator.maxTouchPoints>2),Md=/Android/.test(ed),Ld=Od||Md||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(ed),Fd=Od||/Mac/.test(td),jd=/\bCrOS\b/.test(ed),Vd=/win/i.test(td),Qd=Td&&ed.match(/Version\/(\d*\.\d*)/);Qd&&(Qd=Number(Qd[1])),Qd&&Qd>=15&&(Td=!1,dd=!0);var qd=Fd&&(_d||Td&&(Qd==null||Qd<12.11)),Kd=rd||ud&&cd>=9;function Xd(Nd){return new RegExp("(^|\\s)"+Nd+"(?:$|\\s)\\s*")}var df=function(Nd,Pd){var Wd=Nd.className,zd=Xd(Pd).exec(Wd);if(zd){var Jd=Wd.slice(zd.index+zd[0].length);Nd.className=Wd.slice(0,zd.index)+(Jd?zd[1]+Jd:"")}};function mf(Nd){for(var Pd=Nd.childNodes.length;Pd>0;--Pd)Nd.removeChild(Nd.firstChild);return Nd}function bf(Nd,Pd){return mf(Nd).appendChild(Pd)}function pf(Nd,Pd,Wd,zd){var Jd=document.createElement(Nd);if(Wd&&(Jd.className=Wd),zd&&(Jd.style.cssText=zd),typeof Pd=="string")Jd.appendChild(document.createTextNode(Pd));else if(Pd)for(var Ef=0;Ef=Pd)return Of+(Pd-Ef);Of+=$f-Ef,Of+=Wd-Of%Wd,Ef=$f+1}}var jf=function(){this.id=null,this.f=null,this.time=0,this.handler=yf(this.onTimeout,this)};jf.prototype.onTimeout=function(Nd){Nd.id=0,Nd.time<=+new Date?Nd.f():setTimeout(Nd.handler,Nd.time-+new Date)},jf.prototype.set=function(Nd,Pd){this.f=Pd;var Wd=+new Date+Nd;(!this.id||Wd=Pd)return zd+Math.min(Of,Pd-Jd);if(Jd+=Ef-zd,Jd+=Wd-Jd%Wd,zd=Ef+1,Jd>=Pd)return zd}}var If=[""];function Lf(Nd){for(;If.length<=Nd;)If.push(sh(If)+" ");return If[Nd]}function sh(Nd){return Nd[Nd.length-1]}function hh(Nd,Pd){for(var Wd=[],zd=0;zd"€"&&(Nd.toUpperCase()!=Nd.toLowerCase()||vh.test(Nd))}function kh(Nd,Pd){return Pd?Pd.source.indexOf("\\w")>-1&&qh(Nd)?!0:Pd.test(Nd):qh(Nd)}function Wh(Nd){for(var Pd in Nd)if(Nd.hasOwnProperty(Pd)&&Nd[Pd])return!1;return!0}var om=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function th(Nd){return Nd.charCodeAt(0)>=768&&om.test(Nd)}function Df(Nd,Pd,Wd){for(;(Wd<0?Pd>0:PdWd?-1:1;;){if(Pd==Wd)return Pd;var Jd=(Pd+Wd)/2,Ef=zd<0?Math.ceil(Jd):Math.floor(Jd);if(Ef==Pd)return Nd(Ef)?Pd:Wd;Nd(Ef)?Wd=Ef:Pd=Ef+zd}}function Xf(Nd,Pd,Wd,zd){if(!Nd)return zd(Pd,Wd,"ltr",0);for(var Jd=!1,Ef=0;EfPd||Pd==Wd&&Of.to==Pd)&&(zd(Math.max(Of.from,Pd),Math.min(Of.to,Wd),Of.level==1?"rtl":"ltr",Ef),Jd=!0)}Jd||zd(Pd,Wd,"ltr")}var ah=null;function yh(Nd,Pd,Wd){var zd;ah=null;for(var Jd=0;JdPd)return Jd;Ef.to==Pd&&(Ef.from!=Ef.to&&Wd=="before"?zd=Jd:ah=Jd),Ef.from==Pd&&(Ef.from!=Ef.to&&Wd!="before"?zd=Jd:ah=Jd)}return zd??ah}var Dh=function(){var Nd="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",Pd="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function Wd(eh){return eh<=247?Nd.charAt(eh):1424<=eh&&eh<=1524?"R":1536<=eh&&eh<=1785?Pd.charAt(eh-1536):1774<=eh&&eh<=2220?"r":8192<=eh&&eh<=8203?"w":eh==8204?"b":"L"}var zd=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,Jd=/[stwN]/,Ef=/[LRr]/,Of=/[Lb1n]/,$f=/[1n]/;function Vf(eh,_h,Ch){this.level=eh,this.from=_h,this.to=Ch}return function(eh,_h){var Ch=_h=="ltr"?"L":"R";if(eh.length==0||_h=="ltr"&&!zd.test(eh))return!1;for(var $h=eh.length,Bh=[],sm=0;sm<$h;++sm)Bh.push(Wd(eh.charCodeAt(sm)));for(var pm=0,Sm=Ch;pm<$h;++pm){var $m=Bh[pm];$m=="m"?Bh[pm]=Sm:Sm=$m}for(var Um=0,Pm=Ch;Um<$h;++Um){var Gm=Bh[Um];Gm=="1"&&Pm=="r"?Bh[Um]="n":Ef.test(Gm)&&(Pm=Gm,Gm=="r"&&(Bh[Um]="R"))}for(var e_=1,Jm=Bh[0];e_<$h-1;++e_){var f_=Bh[e_];f_=="+"&&Jm=="1"&&Bh[e_+1]=="1"?Bh[e_]="1":f_==","&&Jm==Bh[e_+1]&&(Jm=="1"||Jm=="n")&&(Bh[e_]=Jm),Jm=f_}for(var $_=0;$_<$h;++$_){var ng=Bh[$_];if(ng==",")Bh[$_]="N";else if(ng=="%"){var W_=void 0;for(W_=$_+1;W_<$h&&Bh[W_]=="%";++W_);for(var Z_=$_&&Bh[$_-1]=="!"||W_<$h&&Bh[W_]=="1"?"1":"N",sg=$_;sg-1&&(zd[Pd]=Jd.slice(0,Ef).concat(Jd.slice(Ef+1)))}}}function Om(Nd,Pd){var Wd=Fm(Nd,Pd);if(Wd.length)for(var zd=Array.prototype.slice.call(arguments,2),Jd=0;Jd0}function S_(Nd){Nd.prototype.on=function(Pd,Wd){im(this,Pd,Wd)},Nd.prototype.off=function(Pd,Wd){Dm(this,Pd,Wd)}}function Xm(Nd){Nd.preventDefault?Nd.preventDefault():Nd.returnValue=!1}function B_(Nd){Nd.stopPropagation?Nd.stopPropagation():Nd.cancelBubble=!0}function H_(Nd){return Nd.defaultPrevented!=null?Nd.defaultPrevented:Nd.returnValue==!1}function Y_(Nd){Xm(Nd),B_(Nd)}function X_(Nd){return Nd.target||Nd.srcElement}function F_(Nd){var Pd=Nd.which;return Pd==null&&(Nd.button&1?Pd=1:Nd.button&2?Pd=3:Nd.button&4&&(Pd=2)),Fd&&Nd.ctrlKey&&Pd==1&&(Pd=3),Pd}var N_=function(){if(ud&&cd<9)return!1;var Nd=pf("div");return"draggable"in Nd||"dragDrop"in Nd}(),Rm;function Dg(Nd){if(Rm==null){var Pd=pf("span","​");bf(Nd,pf("span",[Pd,document.createTextNode("x")])),Nd.firstChild.offsetHeight!=0&&(Rm=Pd.offsetWidth<=1&&Pd.offsetHeight>2&&!(ud&&cd<8))}var Wd=Rm?pf("span","​"):pf("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return Wd.setAttribute("cm-text",""),Wd}var Fg;function am(Nd){if(Fg!=null)return Fg;var Pd=bf(Nd,document.createTextNode("AخA")),Wd=Tf(Pd,0,1).getBoundingClientRect(),zd=Tf(Pd,1,2).getBoundingClientRect();return mf(Nd),!Wd||Wd.left==Wd.right?!1:Fg=zd.right-Wd.right<3}var Sf=` + `},tablecell(Sd){const Dd=this.parser.parseInline(Sd.tokens);return cd("td",Dd)},hr(Sd){return cd("hr","")}};return marked$1.use({renderer:Ad}),{buildAddition,buildFootnotes:Td,setOptions:fd,reset:pd}}function tryOnScopeDispose(Ra){return getCurrentScope()?(onScopeDispose(Ra),!0):!1}function toValue$2(Ra){return typeof Ra=="function"?Ra():unref(Ra)}const isClient=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const toString$2=Object.prototype.toString,isObject$2=Ra=>toString$2.call(Ra)==="[object Object]",noop$3=()=>{};function createFilterWrapper(Ra,qa){function td(...rd){return new Promise((nd,ad)=>{Promise.resolve(Ra(()=>qa.apply(this,rd),{fn:qa,thisArg:this,args:rd})).then(nd).catch(ad)})}return td}const bypassFilter=Ra=>Ra();function pausableFilter(Ra=bypassFilter){const qa=ref$1(!0);function td(){qa.value=!1}function rd(){qa.value=!0}const nd=(...ad)=>{qa.value&&Ra(...ad)};return{isActive:readonly(qa),pause:td,resume:rd,eventFilter:nd}}function getLifeCycleTarget(Ra){return getCurrentInstance()}function toRef(...Ra){if(Ra.length!==1)return toRef$1(...Ra);const qa=Ra[0];return typeof qa=="function"?readonly(customRef(()=>({get:qa,set:noop$3}))):ref$1(qa)}function watchWithFilter(Ra,qa,td={}){const{eventFilter:rd=bypassFilter,...nd}=td;return watch(Ra,createFilterWrapper(rd,qa),nd)}function watchPausable(Ra,qa,td={}){const{eventFilter:rd,...nd}=td,{eventFilter:ad,pause:sd,resume:ud,isActive:cd}=pausableFilter(rd);return{stop:watchWithFilter(Ra,qa,{...nd,eventFilter:ad}),pause:sd,resume:ud,isActive:cd}}function tryOnMounted(Ra,qa=!0,td){getLifeCycleTarget()?onMounted(Ra,td):qa?Ra():nextTick$1(Ra)}function useToggle(Ra=!1,qa={}){const{truthyValue:td=!0,falsyValue:rd=!1}=qa,nd=isRef(Ra),ad=ref$1(Ra);function sd(ud){if(arguments.length)return ad.value=ud,ad.value;{const cd=toValue$2(td);return ad.value=ad.value===cd?toValue$2(rd):cd,ad.value}}return nd?sd:[ad,sd]}const defaultWindow=isClient?window:void 0;function unrefElement(Ra){var qa;const td=toValue$2(Ra);return(qa=td==null?void 0:td.$el)!=null?qa:td}function useEventListener(...Ra){let qa,td,rd,nd;if(typeof Ra[0]=="string"||Array.isArray(Ra[0])?([td,rd,nd]=Ra,qa=defaultWindow):[qa,td,rd,nd]=Ra,!qa)return noop$3;Array.isArray(td)||(td=[td]),Array.isArray(rd)||(rd=[rd]);const ad=[],sd=()=>{ad.forEach(pd=>pd()),ad.length=0},ud=(pd,fd,Td,Ad)=>(pd.addEventListener(fd,Td,Ad),()=>pd.removeEventListener(fd,Td,Ad)),cd=watch(()=>[unrefElement(qa),toValue$2(nd)],([pd,fd])=>{if(sd(),!pd)return;const Td=isObject$2(fd)?{...fd}:fd;ad.push(...td.flatMap(Ad=>rd.map(Sd=>ud(pd,Ad,Sd,Td))))},{immediate:!0,flush:"post"}),dd=()=>{cd(),sd()};return tryOnScopeDispose(dd),dd}function useMounted(){const Ra=ref$1(!1),qa=getCurrentInstance();return qa&&onMounted(()=>{Ra.value=!0},qa),Ra}function useSupported(Ra){const qa=useMounted();return computed(()=>(qa.value,!!Ra()))}function useMediaQuery(Ra,qa={}){const{window:td=defaultWindow}=qa,rd=useSupported(()=>td&&"matchMedia"in td&&typeof td.matchMedia=="function");let nd;const ad=ref$1(!1),sd=dd=>{ad.value=dd.matches},ud=()=>{nd&&("removeEventListener"in nd?nd.removeEventListener("change",sd):nd.removeListener(sd))},cd=watchEffect(()=>{rd.value&&(ud(),nd=td.matchMedia(toValue$2(Ra)),"addEventListener"in nd?nd.addEventListener("change",sd):nd.addListener(sd),ad.value=nd.matches)});return tryOnScopeDispose(()=>{cd(),ud(),nd=void 0}),ad}const _global$1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global$1<"u"?global$1:typeof self<"u"?self:{},globalKey="__vueuse_ssr_handlers__",handlers=getHandlers();function getHandlers(){return globalKey in _global$1||(_global$1[globalKey]=_global$1[globalKey]||{}),_global$1[globalKey]}function getSSRHandler(Ra,qa){return handlers[Ra]||qa}function usePreferredDark(Ra){return useMediaQuery("(prefers-color-scheme: dark)",Ra)}function guessSerializerType(Ra){return Ra==null?"any":Ra instanceof Set?"set":Ra instanceof Map?"map":Ra instanceof Date?"date":typeof Ra=="boolean"?"boolean":typeof Ra=="string"?"string":typeof Ra=="object"?"object":Number.isNaN(Ra)?"any":"number"}const StorageSerializers={boolean:{read:Ra=>Ra==="true",write:Ra=>String(Ra)},object:{read:Ra=>JSON.parse(Ra),write:Ra=>JSON.stringify(Ra)},number:{read:Ra=>Number.parseFloat(Ra),write:Ra=>String(Ra)},any:{read:Ra=>Ra,write:Ra=>String(Ra)},string:{read:Ra=>Ra,write:Ra=>String(Ra)},map:{read:Ra=>new Map(JSON.parse(Ra)),write:Ra=>JSON.stringify(Array.from(Ra.entries()))},set:{read:Ra=>new Set(JSON.parse(Ra)),write:Ra=>JSON.stringify(Array.from(Ra))},date:{read:Ra=>new Date(Ra),write:Ra=>Ra.toISOString()}},customStorageEventName="vueuse-storage";function useStorage(Ra,qa,td,rd={}){var nd;const{flush:ad="pre",deep:sd=!0,listenToStorageChanges:ud=!0,writeDefaults:cd=!0,mergeDefaults:dd=!1,shallow:pd,window:fd=defaultWindow,eventFilter:Td,onError:Ad=Qd=>{console.error(Qd)},initOnMounted:Sd}=rd,Dd=(pd?shallowRef:ref$1)(typeof qa=="function"?qa():qa);if(!td)try{td=getSSRHandler("getDefaultStorage",()=>{var Qd;return(Qd=defaultWindow)==null?void 0:Qd.localStorage})()}catch(Qd){Ad(Qd)}if(!td)return Dd;const Ld=toValue$2(qa),Rd=guessSerializerType(Ld),Od=(nd=rd.serializer)!=null?nd:StorageSerializers[Rd],{pause:Md,resume:jd}=watchPausable(Dd,()=>Hd(Dd.value),{flush:ad,deep:sd,eventFilter:Td});fd&&ud&&tryOnMounted(()=>{td instanceof Storage?useEventListener(fd,"storage",Zd):useEventListener(fd,customStorageEventName,Wd),Sd&&Zd()}),Sd||Zd();function Ud(Qd,Jd){if(fd){const hf={key:Ra,oldValue:Qd,newValue:Jd,storageArea:td};fd.dispatchEvent(td instanceof Storage?new StorageEvent("storage",hf):new CustomEvent(customStorageEventName,{detail:hf}))}}function Hd(Qd){try{const Jd=td.getItem(Ra);if(Qd==null)Ud(Jd,null),td.removeItem(Ra);else{const hf=Od.write(Qd);Jd!==hf&&(td.setItem(Ra,hf),Ud(Jd,hf))}}catch(Jd){Ad(Jd)}}function zd(Qd){const Jd=Qd?Qd.newValue:td.getItem(Ra);if(Jd==null)return cd&&Ld!=null&&td.setItem(Ra,Od.write(Ld)),Ld;if(!Qd&&dd){const hf=Od.read(Jd);return typeof dd=="function"?dd(hf,Ld):Rd==="object"&&!Array.isArray(hf)?{...Ld,...hf}:hf}else return typeof Jd!="string"?Jd:Od.read(Jd)}function Zd(Qd){if(!(Qd&&Qd.storageArea!==td)){if(Qd&&Qd.key==null){Dd.value=Ld;return}if(!(Qd&&Qd.key!==Ra)){Md();try{(Qd==null?void 0:Qd.newValue)!==Od.write(Dd.value)&&(Dd.value=zd(Qd))}catch(Jd){Ad(Jd)}finally{Qd?nextTick$1(jd):jd()}}}}function Wd(Qd){Zd(Qd.detail)}return Dd}const CSS_DISABLE_TRANS="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function useColorMode(Ra={}){const{selector:qa="html",attribute:td="class",initialValue:rd="auto",window:nd=defaultWindow,storage:ad,storageKey:sd="vueuse-color-scheme",listenToStorageChanges:ud=!0,storageRef:cd,emitAuto:dd,disableTransition:pd=!0}=Ra,fd={auto:"",light:"light",dark:"dark",...Ra.modes||{}},Td=usePreferredDark({window:nd}),Ad=computed(()=>Td.value?"dark":"light"),Sd=cd||(sd==null?toRef(rd):useStorage(sd,rd,ad,{window:nd,listenToStorageChanges:ud})),Dd=computed(()=>Sd.value==="auto"?Ad.value:Sd.value),Ld=getSSRHandler("updateHTMLAttrs",(jd,Ud,Hd)=>{const zd=typeof jd=="string"?nd==null?void 0:nd.document.querySelector(jd):unrefElement(jd);if(!zd)return;const Zd=new Set,Wd=new Set;let Qd=null;if(Ud==="class"){const hf=Hd.split(/\s/g);Object.values(fd).flatMap(bf=>(bf||"").split(/\s/g)).filter(Boolean).forEach(bf=>{hf.includes(bf)?Zd.add(bf):Wd.add(bf)})}else Qd={key:Ud,value:Hd};if(Zd.size===0&&Wd.size===0&&Qd===null)return;let Jd;pd&&(Jd=nd.document.createElement("style"),Jd.appendChild(document.createTextNode(CSS_DISABLE_TRANS)),nd.document.head.appendChild(Jd));for(const hf of Zd)zd.classList.add(hf);for(const hf of Wd)zd.classList.remove(hf);Qd&&zd.setAttribute(Qd.key,Qd.value),pd&&(nd.getComputedStyle(Jd).opacity,document.head.removeChild(Jd))});function Rd(jd){var Ud;Ld(qa,td,(Ud=fd[jd])!=null?Ud:jd)}function Od(jd){Ra.onChanged?Ra.onChanged(jd,Rd):Rd(jd)}watch(Dd,Od,{flush:"post",immediate:!0}),tryOnMounted(()=>Od(Dd.value));const Md=computed({get(){return dd?Sd.value:Dd.value},set(jd){Sd.value=jd}});try{return Object.assign(Md,{store:Sd,system:Ad,state:Dd})}catch{return Md}}function useDark(Ra={}){const{valueDark:qa="dark",valueLight:td="",window:rd=defaultWindow}=Ra,nd=useColorMode({...Ra,onChanged:(ud,cd)=>{var dd;Ra.onChanged?(dd=Ra.onChanged)==null||dd.call(Ra,ud==="dark",cd,ud):cd(ud)},modes:{dark:qa,light:td}}),ad=computed(()=>nd.system?nd.system.value:usePreferredDark({window:rd}).value?"dark":"light");return computed({get(){return nd.value==="dark"},set(ud){const cd=ud?"dark":"light";ad.value===cd?nd.value="auto":nd.value=cd}})}var codemirror={exports:{}},hasRequiredCodemirror;function requireCodemirror(){return hasRequiredCodemirror||(hasRequiredCodemirror=1,function(Ra,qa){(function(td,rd){Ra.exports=rd()})(commonjsGlobal,function(){var td=navigator.userAgent,rd=navigator.platform,nd=/gecko\/\d/i.test(td),ad=/MSIE \d/.test(td),sd=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(td),ud=/Edge\/(\d+)/.exec(td),cd=ad||sd||ud,dd=cd&&(ad?document.documentMode||6:+(ud||sd)[1]),pd=!ud&&/WebKit\//.test(td),fd=pd&&/Qt\/\d+\.\d+/.test(td),Td=!ud&&/Chrome\/(\d+)/.exec(td),Ad=Td&&+Td[1],Sd=/Opera\//.test(td),Dd=/Apple Computer/.test(navigator.vendor),Ld=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(td),Rd=/PhantomJS/.test(td),Od=Dd&&(/Mobile\/\w+/.test(td)||navigator.maxTouchPoints>2),Md=/Android/.test(td),jd=Od||Md||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(td),Ud=Od||/Mac/.test(rd),Hd=/\bCrOS\b/.test(td),zd=/win/i.test(rd),Zd=Sd&&td.match(/Version\/(\d*\.\d*)/);Zd&&(Zd=Number(Zd[1])),Zd&&Zd>=15&&(Sd=!1,pd=!0);var Wd=Ud&&(fd||Sd&&(Zd==null||Zd<12.11)),Qd=nd||cd&&dd>=9;function Jd(Nd){return new RegExp("(^|\\s)"+Nd+"(?:$|\\s)\\s*")}var hf=function(Nd,Fd){var Kd=Nd.className,Yd=Jd(Fd).exec(Kd);if(Yd){var df=Kd.slice(Yd.index+Yd[0].length);Nd.className=Kd.slice(0,Yd.index)+(df?Yd[1]+df:"")}};function bf(Nd){for(var Fd=Nd.childNodes.length;Fd>0;--Fd)Nd.removeChild(Nd.firstChild);return Nd}function Ef(Nd,Fd){return bf(Nd).appendChild(Fd)}function _f(Nd,Fd,Kd,Yd){var df=document.createElement(Nd);if(Kd&&(df.className=Kd),Yd&&(df.style.cssText=Yd),typeof Fd=="string")df.appendChild(document.createTextNode(Fd));else if(Fd)for(var Sf=0;Sf=Fd)return kf+(Fd-Sf);kf+=Ff-Sf,kf+=Kd-kf%Kd,Sf=Ff+1}}var Gf=function(){this.id=null,this.f=null,this.time=0,this.handler=Tf(this.onTimeout,this)};Gf.prototype.onTimeout=function(Nd){Nd.id=0,Nd.time<=+new Date?Nd.f():setTimeout(Nd.handler,Nd.time-+new Date)},Gf.prototype.set=function(Nd,Fd){this.f=Fd;var Kd=+new Date+Nd;(!this.id||Kd=Fd)return Yd+Math.min(kf,Fd-df);if(df+=Sf-Yd,df+=Kd-df%Kd,Yd=Sf+1,df>=Fd)return Yd}}var Rf=[""];function jf(Nd){for(;Rf.length<=Nd;)Rf.push(lh(Rf)+" ");return Rf[Nd]}function lh(Nd){return Nd[Nd.length-1]}function _h(Nd,Fd){for(var Kd=[],Yd=0;Yd"€"&&(Nd.toUpperCase()!=Nd.toLowerCase()||Th.test(Nd))}function Bh(Nd,Fd){return Fd?Fd.source.indexOf("\\w")>-1&&Vh(Nd)?!0:Fd.test(Nd):Vh(Nd)}function Yh(Nd){for(var Fd in Nd)if(Nd.hasOwnProperty(Fd)&&Nd[Fd])return!1;return!0}var dm=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function nh(Nd){return Nd.charCodeAt(0)>=768&&dm.test(Nd)}function Of(Nd,Fd,Kd){for(;(Kd<0?Fd>0:FdKd?-1:1;;){if(Fd==Kd)return Fd;var df=(Fd+Kd)/2,Sf=Yd<0?Math.ceil(df):Math.floor(df);if(Sf==Fd)return Nd(Sf)?Fd:Kd;Nd(Sf)?Kd=Sf:Fd=Sf+Yd}}function Jf(Nd,Fd,Kd,Yd){if(!Nd)return Yd(Fd,Kd,"ltr",0);for(var df=!1,Sf=0;SfFd||Fd==Kd&&kf.to==Fd)&&(Yd(Math.max(kf.from,Fd),Math.min(kf.to,Kd),kf.level==1?"rtl":"ltr",Sf),df=!0)}df||Yd(Fd,Kd,"ltr")}var oh=null;function xh(Nd,Fd,Kd){var Yd;oh=null;for(var df=0;dfFd)return df;Sf.to==Fd&&(Sf.from!=Sf.to&&Kd=="before"?Yd=df:oh=df),Sf.from==Fd&&(Sf.from!=Sf.to&&Kd!="before"?Yd=df:oh=df)}return Yd??oh}var Oh=function(){var Nd="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",Fd="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function Kd(rh){return rh<=247?Nd.charAt(rh):1424<=rh&&rh<=1524?"R":1536<=rh&&rh<=1785?Fd.charAt(rh-1536):1774<=rh&&rh<=2220?"r":8192<=rh&&rh<=8203?"w":rh==8204?"b":"L"}var Yd=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,df=/[stwN]/,Sf=/[LRr]/,kf=/[Lb1n]/,Ff=/[1n]/;function Wf(rh,bh,Ah){this.level=rh,this.from=bh,this.to=Ah}return function(rh,bh){var Ah=bh=="ltr"?"L":"R";if(rh.length==0||bh=="ltr"&&!Yd.test(rh))return!1;for(var Hh=rh.length,jh=[],cm=0;cm-1&&(Yd[Fd]=df.slice(0,Sf).concat(df.slice(Sf+1)))}}}function Pm(Nd,Fd){var Kd=Hm(Nd,Fd);if(Kd.length)for(var Yd=Array.prototype.slice.call(arguments,2),df=0;df0}function A_(Nd){Nd.prototype.on=function(Fd,Kd){lm(this,Fd,Kd)},Nd.prototype.off=function(Fd,Kd){Rm(this,Fd,Kd)}}function Zm(Nd){Nd.preventDefault?Nd.preventDefault():Nd.returnValue=!1}function L_(Nd){Nd.stopPropagation?Nd.stopPropagation():Nd.cancelBubble=!0}function V_(Nd){return Nd.defaultPrevented!=null?Nd.defaultPrevented:Nd.returnValue==!1}function Q_(Nd){Zm(Nd),L_(Nd)}function Z_(Nd){return Nd.target||Nd.srcElement}function H_(Nd){var Fd=Nd.which;return Fd==null&&(Nd.button&1?Fd=1:Nd.button&2?Fd=3:Nd.button&4&&(Fd=2)),Ud&&Nd.ctrlKey&&Fd==1&&(Fd=3),Fd}var O_=function(){if(cd&&dd<9)return!1;var Nd=_f("div");return"draggable"in Nd||"dragDrop"in Nd}(),$m;function Rg(Nd){if($m==null){var Fd=_f("span","​");Ef(Nd,_f("span",[Fd,document.createTextNode("x")])),Nd.firstChild.offsetHeight!=0&&($m=Fd.offsetWidth<=1&&Fd.offsetHeight>2&&!(cd&&dd<8))}var Kd=$m?_f("span","​"):_f("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return Kd.setAttribute("cm-text",""),Kd}var Hg;function um(Nd){if(Hg!=null)return Hg;var Fd=Ef(Nd,document.createTextNode("AخA")),Kd=xf(Fd,0,1).getBoundingClientRect(),Yd=xf(Fd,1,2).getBoundingClientRect();return bf(Nd),!Kd||Kd.left==Kd.right?!1:Hg=Yd.right-Kd.right<3}var Cf=` -b`.split(/\n/).length!=3?function(Nd){for(var Pd=0,Wd=[],zd=Nd.length;Pd<=zd;){var Jd=Nd.indexOf(` -`,Pd);Jd==-1&&(Jd=Nd.length);var Ef=Nd.slice(Pd,Nd.charAt(Jd-1)=="\r"?Jd-1:Jd),Of=Ef.indexOf("\r");Of!=-1?(Wd.push(Ef.slice(0,Of)),Pd+=Of+1):(Wd.push(Ef),Pd=Jd+1)}return Wd}:function(Nd){return Nd.split(/\r\n?|\n/)},oh=window.getSelection?function(Nd){try{return Nd.selectionStart!=Nd.selectionEnd}catch{return!1}}:function(Nd){var Pd;try{Pd=Nd.ownerDocument.selection.createRange()}catch{}return!Pd||Pd.parentElement()!=Nd?!1:Pd.compareEndPoints("StartToEnd",Pd)!=0},Zf=function(){var Nd=pf("div");return"oncopy"in Nd?!0:(Nd.setAttribute("oncopy","return;"),typeof Nd.oncopy=="function")}(),lh=null;function bh(Nd){if(lh!=null)return lh;var Pd=bf(Nd,pf("span","x")),Wd=Pd.getBoundingClientRect(),zd=Tf(Pd,0,1).getBoundingClientRect();return lh=Math.abs(Wd.left-zd.left)>1}var gh={},Oh={};function Ih(Nd,Pd){arguments.length>2&&(Pd.dependencies=Array.prototype.slice.call(arguments,2)),gh[Nd]=Pd}function fh(Nd,Pd){Oh[Nd]=Pd}function Xh(Nd){if(typeof Nd=="string"&&Oh.hasOwnProperty(Nd))Nd=Oh[Nd];else if(Nd&&typeof Nd.name=="string"&&Oh.hasOwnProperty(Nd.name)){var Pd=Oh[Nd.name];typeof Pd=="string"&&(Pd={name:Pd}),Nd=ph(Pd,Nd),Nd.name=Pd.name}else{if(typeof Nd=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(Nd))return Xh("application/xml");if(typeof Nd=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(Nd))return Xh("application/json")}return typeof Nd=="string"?{name:Nd}:Nd||{name:"null"}}function cm(Nd,Pd){Pd=Xh(Pd);var Wd=gh[Pd.name];if(!Wd)return cm(Nd,"text/plain");var zd=Wd(Nd,Pd);if(jm.hasOwnProperty(Pd.name)){var Jd=jm[Pd.name];for(var Ef in Jd)Jd.hasOwnProperty(Ef)&&(zd.hasOwnProperty(Ef)&&(zd["_"+Ef]=zd[Ef]),zd[Ef]=Jd[Ef])}if(zd.name=Pd.name,Pd.helperType&&(zd.helperType=Pd.helperType),Pd.modeProps)for(var Of in Pd.modeProps)zd[Of]=Pd.modeProps[Of];return zd}var jm={};function gm(Nd,Pd){var Wd=jm.hasOwnProperty(Nd)?jm[Nd]:jm[Nd]={};hf(Pd,Wd)}function Vm(Nd,Pd){if(Pd===!0)return Pd;if(Nd.copyState)return Nd.copyState(Pd);var Wd={};for(var zd in Pd){var Jd=Pd[zd];Jd instanceof Array&&(Jd=Jd.concat([])),Wd[zd]=Jd}return Wd}function y_(Nd,Pd){for(var Wd;Nd.innerMode&&(Wd=Nd.innerMode(Pd),!(!Wd||Wd.mode==Nd));)Pd=Wd.state,Nd=Wd.mode;return Wd||{mode:Nd,state:Pd}}function x_(Nd,Pd,Wd){return Nd.startState?Nd.startState(Pd,Wd):!0}var u_=function(Nd,Pd,Wd){this.pos=this.start=0,this.string=Nd,this.tabSize=Pd||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=Wd};u_.prototype.eol=function(){return this.pos>=this.string.length},u_.prototype.sol=function(){return this.pos==this.lineStart},u_.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},u_.prototype.next=function(){if(this.posPd},u_.prototype.eatSpace=function(){for(var Nd=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>Nd},u_.prototype.skipToEnd=function(){this.pos=this.string.length},u_.prototype.skipTo=function(Nd){var Pd=this.string.indexOf(Nd,this.pos);if(Pd>-1)return this.pos=Pd,!0},u_.prototype.backUp=function(Nd){this.pos-=Nd},u_.prototype.column=function(){return this.lastColumnPos0?null:(Ef&&Pd!==!1&&(this.pos+=Ef[0].length),Ef)}},u_.prototype.current=function(){return this.string.slice(this.start,this.pos)},u_.prototype.hideFirstChars=function(Nd,Pd){this.lineStart+=Nd;try{return Pd()}finally{this.lineStart-=Nd}},u_.prototype.lookAhead=function(Nd){var Pd=this.lineOracle;return Pd&&Pd.lookAhead(Nd)},u_.prototype.baseToken=function(){var Nd=this.lineOracle;return Nd&&Nd.baseToken(this.pos)};function Nm(Nd,Pd){if(Pd-=Nd.first,Pd<0||Pd>=Nd.size)throw new Error("There is no line "+(Pd+Nd.first)+" in the document.");for(var Wd=Nd;!Wd.lines;)for(var zd=0;;++zd){var Jd=Wd.children[zd],Ef=Jd.chunkSize();if(Pd=Nd.first&&PdWd?fm(Wd,Nm(Nd,Wd).text.length):Og(Pd,Nm(Nd,Pd.line).text.length)}function Og(Nd,Pd){var Wd=Nd.ch;return Wd==null||Wd>Pd?fm(Nd.line,Pd):Wd<0?fm(Nd.line,0):Nd}function q_(Nd,Pd){for(var Wd=[],zd=0;zdthis.maxLookAhead&&(this.maxLookAhead=Nd),Pd},ig.prototype.baseToken=function(Nd){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=Nd;)this.baseTokenPos+=2;var Pd=this.baseTokens[this.baseTokenPos+1];return{type:Pd&&Pd.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-Nd}},ig.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},ig.fromSaved=function(Nd,Pd,Wd){return Pd instanceof hg?new ig(Nd,Vm(Nd.mode,Pd.state),Wd,Pd.lookAhead):new ig(Nd,Vm(Nd.mode,Pd),Wd)},ig.prototype.save=function(Nd){var Pd=Nd!==!1?Vm(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new hg(Pd,this.maxLookAhead):Pd};function Zg(Nd,Pd,Wd,zd){var Jd=[Nd.state.modeGen],Ef={};xb(Nd,Pd.text,Nd.doc.mode,Wd,function(eh,_h){return Jd.push(eh,_h)},Ef,zd);for(var Of=Wd.state,$f=function(eh){Wd.baseTokens=Jd;var _h=Nd.state.overlays[eh],Ch=1,$h=0;Wd.state=!0,xb(Nd,Pd.text,_h.mode,Wd,function(Bh,sm){for(var pm=Ch;$hBh&&Jd.splice(Ch,1,Bh,Jd[Ch+1],Sm),Ch+=2,$h=Math.min(Bh,Sm)}if(sm)if(_h.opaque)Jd.splice(pm,Ch-pm,Bh,"overlay "+sm),Ch=pm+2;else for(;pmNd.options.maxHighlightLength&&Vm(Nd.doc.mode,zd.state),Ef=Zg(Nd,Pd,zd);Jd&&(zd.state=Jd),Pd.stateAfter=zd.save(!Jd),Pd.styles=Ef.styles,Ef.classes?Pd.styleClasses=Ef.classes:Pd.styleClasses&&(Pd.styleClasses=null),Wd===Nd.doc.highlightFrontier&&(Nd.doc.modeFrontier=Math.max(Nd.doc.modeFrontier,++Nd.doc.highlightFrontier))}return Pd.styles}function mg(Nd,Pd,Wd){var zd=Nd.doc,Jd=Nd.display;if(!zd.mode.startState)return new ig(zd,!0,Pd);var Ef=Zb(Nd,Pd,Wd),Of=Ef>zd.first&&Nm(zd,Ef-1).stateAfter,$f=Of?ig.fromSaved(zd,Of,Ef):new ig(zd,x_(zd.mode),Ef);return zd.iter(Ef,Pd,function(Vf){e0(Nd,Vf.text,$f);var eh=$f.line;Vf.stateAfter=eh==Pd-1||eh%5==0||eh>=Jd.viewFrom&&ehPd.start)return Ef}throw new Error("Mode "+Nd.name+" failed to advance stream.")}var Zm=function(Nd,Pd,Wd){this.start=Nd.start,this.end=Nd.pos,this.string=Nd.current(),this.type=Pd||null,this.state=Wd};function nb(Nd,Pd,Wd,zd){var Jd=Nd.doc,Ef=Jd.mode,Of;Pd=i_(Jd,Pd);var $f=Nm(Jd,Pd.line),Vf=mg(Nd,Pd.line,Wd),eh=new u_($f.text,Nd.options.tabSize,Vf),_h;for(zd&&(_h=[]);(zd||eh.posNd.options.maxHighlightLength?($f=!1,Of&&e0(Nd,Pd,zd,_h.pos),_h.pos=Pd.length,Ch=null):Ch=G0(rb(Wd,_h,zd.state,$h),Ef),$h){var Bh=$h[0].name;Bh&&(Ch="m-"+(Ch?Bh+" "+Ch:Bh))}if(!$f||eh!=Ch){for(;Vf<_h.start;)Vf=Math.min(_h.start,Vf+5e3),Jd(Vf,eh);eh=Ch}_h.start=_h.pos}for(;Vf<_h.pos;){var sm=Math.min(_h.pos,Vf+5e3);Jd(sm,eh),Vf=sm}}function Zb(Nd,Pd,Wd){for(var zd,Jd,Ef=Nd.doc,Of=Wd?-1:Pd-(Nd.doc.mode.innerMode?1e3:100),$f=Pd;$f>Of;--$f){if($f<=Ef.first)return Ef.first;var Vf=Nm(Ef,$f-1),eh=Vf.stateAfter;if(eh&&(!Wd||$f+(eh instanceof hg?eh.lookAhead:0)<=Ef.modeFrontier))return $f;var _h=Rf(Vf.text,null,Nd.options.tabSize);(Jd==null||zd>_h)&&(Jd=$f-1,zd=_h)}return Jd}function ev(Nd,Pd){if(Nd.modeFrontier=Math.min(Nd.modeFrontier,Pd),!(Nd.highlightFrontierWd;zd--){var Jd=Nm(Nd,zd).stateAfter;if(Jd&&(!(Jd instanceof hg)||zd+Jd.lookAhead=Pd:Ef.to>Pd);(zd||(zd=[])).push(new V0(Of,Ef.from,Vf?null:Ef.to))}}return zd}function Cy(Nd,Pd,Wd){var zd;if(Nd)for(var Jd=0;Jd=Pd:Ef.to>Pd);if($f||Ef.from==Pd&&Of.type=="bookmark"&&(!Wd||Ef.marker.insertLeft)){var Vf=Ef.from==null||(Of.inclusiveLeft?Ef.from<=Pd:Ef.from0&&$f)for(var Gm=0;Gm<$f.length;++Gm)$f[Gm].to==null&&(Pm||(Pm=[])).push(new V0($f[Gm].marker,null,null));for(var e_=0;e_0)){var _h=[Vf,1],Ch=n_(eh.from,$f.from),$h=n_(eh.to,$f.to);(Ch<0||!Of.inclusiveLeft&&!Ch)&&_h.push({from:eh.from,to:$f.from}),($h>0||!Of.inclusiveRight&&!$h)&&_h.push({from:$f.to,to:eh.to}),Jd.splice.apply(Jd,_h),Vf+=_h.length-3}}return Jd}function Im(Nd){var Pd=Nd.markedSpans;if(Pd){for(var Wd=0;WdPd)&&(!zd||Pv(zd,Ef.marker)<0)&&(zd=Ef.marker)}return zd}function $v(Nd,Pd,Wd,zd,Jd){var Ef=Nm(Nd,Pd),Of=ag&&Ef.markedSpans;if(Of)for(var $f=0;$f=0&&Ch<=0||_h<=0&&Ch>=0)&&(_h<=0&&(Vf.marker.inclusiveRight&&Jd.inclusiveLeft?n_(eh.to,Wd)>=0:n_(eh.to,Wd)>0)||_h>=0&&(Vf.marker.inclusiveRight&&Jd.inclusiveLeft?n_(eh.from,zd)<=0:n_(eh.from,zd)<0)))return!0}}}function k_(Nd){for(var Pd;Pd=E1(Nd);)Nd=Pd.find(-1,!0).line;return Nd}function Lv(Nd){for(var Pd;Pd=Ab(Nd);)Nd=Pd.find(1,!0).line;return Nd}function z0(Nd){for(var Pd,Wd;Pd=Ab(Nd);)Nd=Pd.find(1,!0).line,(Wd||(Wd=[])).push(Nd);return Wd}function z_(Nd,Pd){var Wd=Nm(Nd,Pd),zd=k_(Wd);return Wd==zd?Pd:Lm(zd)}function t0(Nd,Pd){if(Pd>Nd.lastLine())return Pd;var Wd=Nm(Nd,Pd),zd;if(!tg(Nd,Wd))return Pd;for(;zd=Ab(Wd);)Wd=zd.find(1,!0).line;return Lm(Wd)+1}function tg(Nd,Pd){var Wd=ag&&Pd.markedSpans;if(Wd){for(var zd=void 0,Jd=0;JdPd.maxLineLength&&(Pd.maxLineLength=Jd,Pd.maxLine=zd)})}var h0=function(Nd,Pd,Wd){this.text=Nd,P_(this,Pd),this.height=Wd?Wd(this):1};h0.prototype.lineNo=function(){return Lm(this)},S_(h0);function S1(Nd,Pd,Wd,zd){Nd.text=Pd,Nd.stateAfter&&(Nd.stateAfter=null),Nd.styles&&(Nd.styles=null),Nd.order!=null&&(Nd.order=null),Im(Nd),P_(Nd,Wd);var Jd=zd?zd(Nd):1;Jd!=Nd.height&&r_(Nd,Jd)}function Pg(Nd){Nd.parent=null,Im(Nd)}var Fv={},Hg={};function x1(Nd,Pd){if(!Nd||/^\s*$/.test(Nd))return null;var Wd=Pd.addModeClass?Hg:Fv;return Wd[Nd]||(Wd[Nd]=Nd.replace(/\S+/g,"cm-$&"))}function Nb(Nd,Pd){var Wd=_f("span",null,null,dd?"padding-right: .1px":null),zd={pre:_f("pre",[Wd],"CodeMirror-line"),content:Wd,col:0,pos:0,cm:Nd,trailingSpace:!1,splitSpaces:Nd.getOption("lineWrapping")};Pd.measure={};for(var Jd=0;Jd<=(Pd.rest?Pd.rest.length:0);Jd++){var Ef=Jd?Pd.rest[Jd-1]:Pd.line,Of=void 0;zd.pos=0,zd.addToken=nv,am(Nd.display.measure)&&(Of=Yh(Ef,Nd.doc.direction))&&(zd.addToken=V_(zd.addToken,Of)),zd.map=[];var $f=Pd!=Nd.display.externalMeasured&&Lm(Ef);jv(Ef,zd,I0(Nd,Ef,$f)),Ef.styleClasses&&(Ef.styleClasses.bgClass&&(zd.bgClass=Gf(Ef.styleClasses.bgClass,zd.bgClass||"")),Ef.styleClasses.textClass&&(zd.textClass=Gf(Ef.styleClasses.textClass,zd.textClass||""))),zd.map.length==0&&zd.map.push(0,0,zd.content.appendChild(Dg(Nd.display.measure))),Jd==0?(Pd.measure.map=zd.map,Pd.measure.cache={}):((Pd.measure.maps||(Pd.measure.maps=[])).push(zd.map),(Pd.measure.caches||(Pd.measure.caches=[])).push({}))}if(dd){var Vf=zd.content.lastChild;(/\bcm-tab\b/.test(Vf.className)||Vf.querySelector&&Vf.querySelector(".cm-tab"))&&(zd.content.className="cm-tab-wrap-hack")}return Om(Nd,"renderLine",Nd,Pd.line,zd.pre),zd.pre.className&&(zd.textClass=Gf(zd.pre.className,zd.textClass||"")),zd}function O0(Nd){var Pd=pf("span","•","cm-invalidchar");return Pd.title="\\u"+Nd.charCodeAt(0).toString(16),Pd.setAttribute("aria-label",Pd.title),Pd}function nv(Nd,Pd,Wd,zd,Jd,Ef,Of){if(Pd){var $f=Nd.splitSpaces?iv(Pd,Nd.trailingSpace):Pd,Vf=Nd.cm.state.specialChars,eh=!1,_h;if(!Vf.test(Pd))Nd.col+=Pd.length,_h=document.createTextNode($f),Nd.map.push(Nd.pos,Nd.pos+Pd.length,_h),ud&&cd<9&&(eh=!0),Nd.pos+=Pd.length;else{_h=document.createDocumentFragment();for(var Ch=0;;){Vf.lastIndex=Ch;var $h=Vf.exec(Pd),Bh=$h?$h.index-Ch:Pd.length-Ch;if(Bh){var sm=document.createTextNode($f.slice(Ch,Ch+Bh));ud&&cd<9?_h.appendChild(pf("span",[sm])):_h.appendChild(sm),Nd.map.push(Nd.pos,Nd.pos+Bh,sm),Nd.col+=Bh,Nd.pos+=Bh}if(!$h)break;Ch+=Bh+1;var pm=void 0;if($h[0]==" "){var Sm=Nd.cm.options.tabSize,$m=Sm-Nd.col%Sm;pm=_h.appendChild(pf("span",Lf($m),"cm-tab")),pm.setAttribute("role","presentation"),pm.setAttribute("cm-text"," "),Nd.col+=$m}else $h[0]=="\r"||$h[0]==` -`?(pm=_h.appendChild(pf("span",$h[0]=="\r"?"␍":"␤","cm-invalidchar")),pm.setAttribute("cm-text",$h[0]),Nd.col+=1):(pm=Nd.cm.options.specialCharPlaceholder($h[0]),pm.setAttribute("cm-text",$h[0]),ud&&cd<9?_h.appendChild(pf("span",[pm])):_h.appendChild(pm),Nd.col+=1);Nd.map.push(Nd.pos,Nd.pos+1,pm),Nd.pos++}}if(Nd.trailingSpace=$f.charCodeAt(Pd.length-1)==32,Wd||zd||Jd||eh||Ef||Of){var Um=Wd||"";zd&&(Um+=zd),Jd&&(Um+=Jd);var Pm=pf("span",[_h],Um,Ef);if(Of)for(var Gm in Of)Of.hasOwnProperty(Gm)&&Gm!="style"&&Gm!="class"&&Pm.setAttribute(Gm,Of[Gm]);return Nd.content.appendChild(Pm)}Nd.content.appendChild(_h)}}function iv(Nd,Pd){if(Nd.length>1&&!/ /.test(Nd))return Nd;for(var Wd=Pd,zd="",Jd=0;Jdeh&&Ch.from<=eh));$h++);if(Ch.to>=_h)return Nd(Wd,zd,Jd,Ef,Of,$f,Vf);Nd(Wd,zd.slice(0,Ch.to-eh),Jd,Ef,null,$f,Vf),Ef=null,zd=zd.slice(Ch.to-eh),eh=Ch.to}}}function m0(Nd,Pd,Wd,zd){var Jd=!zd&&Wd.widgetNode;Jd&&Nd.map.push(Nd.pos,Nd.pos+Pd,Jd),!zd&&Nd.cm.display.input.needsContentAttribute&&(Jd||(Jd=Nd.content.appendChild(document.createElement("span"))),Jd.setAttribute("cm-marker",Wd.id)),Jd&&(Nd.cm.display.input.setUneditable(Jd),Nd.content.appendChild(Jd)),Nd.pos+=Pd,Nd.trailingSpace=!1}function jv(Nd,Pd,Wd){var zd=Nd.markedSpans,Jd=Nd.text,Ef=0;if(!zd){for(var Of=1;OfVf||f_.collapsed&&Jm.to==Vf&&Jm.from==Vf)){if(Jm.to!=null&&Jm.to!=Vf&&Bh>Jm.to&&(Bh=Jm.to,pm=""),f_.className&&(sm+=" "+f_.className),f_.css&&($h=($h?$h+";":"")+f_.css),f_.startStyle&&Jm.from==Vf&&(Sm+=" "+f_.startStyle),f_.endStyle&&Jm.to==Bh&&(Gm||(Gm=[])).push(f_.endStyle,Jm.to),f_.title&&((Um||(Um={})).title=f_.title),f_.attributes)for(var $_ in f_.attributes)(Um||(Um={}))[$_]=f_.attributes[$_];f_.collapsed&&(!$m||Pv($m.marker,f_)<0)&&($m=Jm)}else Jm.from>Vf&&Bh>Jm.from&&(Bh=Jm.from)}if(Gm)for(var ng=0;ng=$f)break;for(var Z_=Math.min($f,Bh);;){if(_h){var sg=Vf+_h.length;if(!$m){var og=sg>Z_?_h.slice(0,Z_-Vf):_h;Pd.addToken(Pd,og,Ch?Ch+sm:sm,Sm,Vf+og.length==Bh?pm:"",$h,Um)}if(sg>=Z_){_h=_h.slice(Z_-Vf),Vf=Z_;break}Vf=sg,Sm=""}_h=Jd.slice(Ef,Ef=Wd[eh++]),Ch=x1(Wd[eh++],Pd.cm.options)}}}function C1(Nd,Pd,Wd){this.line=Pd,this.rest=z0(Pd),this.size=this.rest?Lm(sh(this.rest))-Wd+1:1,this.node=this.text=null,this.hidden=tg(Nd,Pd)}function sb(Nd,Pd,Wd){for(var zd=[],Jd,Ef=Pd;Ef2&&Ef.push((Vf.bottom+eh.top)/2-Wd.top)}}Ef.push(Wd.bottom-Wd.top)}}function CE(Nd,Pd,Wd){if(Nd.line==Pd)return{map:Nd.measure.map,cache:Nd.measure.cache};if(Nd.rest){for(var zd=0;zdWd)return{map:Nd.measure.maps[Jd],cache:Nd.measure.caches[Jd],before:!0}}}function wT(Nd,Pd){Pd=k_(Pd);var Wd=Lm(Pd),zd=Nd.display.externalMeasured=new C1(Nd.doc,Pd,Wd);zd.lineN=Wd;var Jd=zd.built=Nb(Nd,zd);return zd.text=Jd.pre,bf(Nd.display.lineMeasure,Jd.pre),zd}function w1(Nd,Pd,Wd,zd){return Vg(Nd,qg(Nd,Pd),Wd,zd)}function N1(Nd,Pd){if(Pd>=Nd.display.viewFrom&&Pd=Wd.lineN&&PdPd)&&(Ef=Vf-$f,Jd=Ef-1,Pd>=Vf&&(Of="right")),Jd!=null){if(zd=Nd[eh+2],$f==Vf&&Wd==(zd.insertLeft?"left":"right")&&(Of=Wd),Wd=="left"&&Jd==0)for(;eh&&Nd[eh-2]==Nd[eh-3]&&Nd[eh-1].insertLeft;)zd=Nd[(eh-=3)+2],Of="left";if(Wd=="right"&&Jd==Vf-$f)for(;eh=0&&(Wd=Nd[Jd]).left==Wd.right;Jd--);return Wd}function ov(Nd,Pd,Wd,zd){var Jd=wE(Pd.map,Wd,zd),Ef=Jd.node,Of=Jd.start,$f=Jd.end,Vf=Jd.collapse,eh;if(Ef.nodeType==3){for(var _h=0;_h<4;_h++){for(;Of&&th(Pd.line.text.charAt(Jd.coverStart+Of));)--Of;for(;Jd.coverStart+$f0&&(Vf=zd="right");var Ch;Nd.options.lineWrapping&&(Ch=Ef.getClientRects()).length>1?eh=Ch[zd=="right"?Ch.length-1:0]:eh=Ef.getBoundingClientRect()}if(ud&&cd<9&&!Of&&(!eh||!eh.left&&!eh.right)){var $h=Ef.parentNode.getClientRects()[0];$h?eh={left:$h.left,right:$h.left+Y0(Nd.display),top:$h.top,bottom:$h.bottom}:eh=AE}for(var Bh=eh.top-Pd.rect.top,sm=eh.bottom-Pd.rect.top,pm=(Bh+sm)/2,Sm=Pd.view.measure.heights,$m=0;$m=zd.text.length?(Vf=zd.text.length,eh="before"):Vf<=0&&(Vf=0,eh="after"),!$f)return Of(eh=="before"?Vf-1:Vf,eh=="before");function _h(sm,pm,Sm){var $m=$f[pm],Um=$m.level==1;return Of(Sm?sm-1:sm,Um!=Sm)}var Ch=yh($f,Vf,eh),$h=ah,Bh=_h(Vf,Ch,eh=="before");return $h!=null&&(Bh.other=_h(Vf,$h,eh!="before")),Bh}function Km(Nd,Pd){var Wd=0;Pd=i_(Nd.doc,Pd),Nd.options.lineWrapping||(Wd=Y0(Nd.display)*Pd.ch);var zd=Nm(Nd.doc,Pd.line),Jd=r0(zd)+_g(Nd.display);return{left:Wd,right:Wd,top:Jd,bottom:Jd+zd.height}}function d_(Nd,Pd,Wd,zd,Jd){var Ef=fm(Nd,Pd,Wd);return Ef.xRel=Jd,zd&&(Ef.outside=zd),Ef}function C_(Nd,Pd,Wd){var zd=Nd.doc;if(Wd+=Nd.display.viewOffset,Wd<0)return d_(zd.first,0,null,-1,-1);var Jd=g_(zd,Wd),Ef=zd.first+zd.size-1;if(Jd>Ef)return d_(zd.first+zd.size-1,Nm(zd,Ef).text.length,null,1,1);Pd<0&&(Pd=0);for(var Of=Nm(zd,Jd);;){var $f=DT(Nd,Of,Jd,Pd,Wd),Vf=T1(Of,$f.ch+($f.xRel>0||$f.outside>0?1:0));if(!Vf)return $f;var eh=Vf.find(1);if(eh.line==Jd)return eh;Of=Nm(zd,Jd=eh.line)}}function cg(Nd,Pd,Wd,zd){zd-=By(Pd);var Jd=Pd.text.length,Ef=Af(function(Of){return Vg(Nd,Wd,Of-1).bottom<=zd},Jd,0);return Jd=Af(function(Of){return Vg(Nd,Wd,Of).top>zd},Ef,Jd),{begin:Ef,end:Jd}}function j_(Nd,Pd,Wd,zd){Wd||(Wd=qg(Nd,Pd));var Jd=W0(Nd,Pd,Vg(Nd,Wd,zd),"line").top;return cg(Nd,Pd,Wd,Jd)}function Hv(Nd,Pd,Wd,zd){return Nd.bottom<=Wd?!1:Nd.top>Wd?!0:(zd?Nd.left:Nd.right)>Pd}function DT(Nd,Pd,Wd,zd,Jd){Jd-=r0(Pd);var Ef=qg(Nd,Pd),Of=By(Pd),$f=0,Vf=Pd.text.length,eh=!0,_h=Yh(Pd,Nd.doc.direction);if(_h){var Ch=(Nd.options.lineWrapping?D1:i0)(Nd,Pd,Wd,Ef,_h,zd,Jd);eh=Ch.level!=1,$f=eh?Ch.from:Ch.to-1,Vf=eh?Ch.to:Ch.from-1}var $h=null,Bh=null,sm=Af(function(e_){var Jm=Vg(Nd,Ef,e_);return Jm.top+=Of,Jm.bottom+=Of,Hv(Jm,zd,Jd,!1)?(Jm.top<=Jd&&Jm.left<=zd&&($h=e_,Bh=Jm),!0):!1},$f,Vf),pm,Sm,$m=!1;if(Bh){var Um=zd-Bh.left=Gm.bottom?1:0}return sm=Df(Pd.text,sm,1),d_(Wd,sm,Sm,$m,zd-pm)}function i0(Nd,Pd,Wd,zd,Jd,Ef,Of){var $f=Af(function(Ch){var $h=Jd[Ch],Bh=$h.level!=1;return Hv(Kh(Nd,fm(Wd,Bh?$h.to:$h.from,Bh?"before":"after"),"line",Pd,zd),Ef,Of,!0)},0,Jd.length-1),Vf=Jd[$f];if($f>0){var eh=Vf.level!=1,_h=Kh(Nd,fm(Wd,eh?Vf.from:Vf.to,eh?"after":"before"),"line",Pd,zd);Hv(_h,Ef,Of,!0)&&_h.top>Of&&(Vf=Jd[$f-1])}return Vf}function D1(Nd,Pd,Wd,zd,Jd,Ef,Of){var $f=cg(Nd,Pd,zd,Of),Vf=$f.begin,eh=$f.end;/\s/.test(Pd.text.charAt(eh-1))&&eh--;for(var _h=null,Ch=null,$h=0;$h=eh||Bh.to<=Vf)){var sm=Bh.level!=1,pm=Vg(Nd,zd,sm?Math.min(eh,Bh.to)-1:Math.max(Vf,Bh.from)).right,Sm=pmSm)&&(_h=Bh,Ch=Sm)}}return _h||(_h=Jd[Jd.length-1]),_h.fromeh&&(_h={from:_h.from,to:eh,level:_h.level}),_h}var Rb;function g0(Nd){if(Nd.cachedTextHeight!=null)return Nd.cachedTextHeight;if(Rb==null){Rb=pf("pre",null,"CodeMirror-line-like");for(var Pd=0;Pd<49;++Pd)Rb.appendChild(document.createTextNode("x")),Rb.appendChild(pf("br"));Rb.appendChild(document.createTextNode("x"))}bf(Nd.measure,Rb);var Wd=Rb.offsetHeight/50;return Wd>3&&(Nd.cachedTextHeight=Wd),mf(Nd.measure),Wd||1}function Y0(Nd){if(Nd.cachedCharWidth!=null)return Nd.cachedCharWidth;var Pd=pf("span","xxxxxxxxxx"),Wd=pf("pre",[Pd],"CodeMirror-line-like");bf(Nd.measure,Wd);var zd=Pd.getBoundingClientRect(),Jd=(zd.right-zd.left)/10;return Jd>2&&(Nd.cachedCharWidth=Jd),Jd||10}function lv(Nd){for(var Pd=Nd.display,Wd={},zd={},Jd=Pd.gutters.clientLeft,Ef=Pd.gutters.firstChild,Of=0;Ef;Ef=Ef.nextSibling,++Of){var $f=Nd.display.gutterSpecs[Of].className;Wd[$f]=Ef.offsetLeft+Ef.clientLeft+Jd,zd[$f]=Ef.clientWidth}return{fixedPos:R_(Pd),gutterTotalWidth:Pd.gutters.offsetWidth,gutterLeft:Wd,gutterWidth:zd,wrapperWidth:Pd.wrapper.clientWidth}}function R_(Nd){return Nd.scroller.getBoundingClientRect().left-Nd.sizer.getBoundingClientRect().left}function OE(Nd){var Pd=g0(Nd.display),Wd=Nd.options.lineWrapping,zd=Wd&&Math.max(5,Nd.display.scroller.clientWidth/Y0(Nd.display)-3);return function(Jd){if(tg(Nd.doc,Jd))return 0;var Ef=0;if(Jd.widgets)for(var Of=0;Of0&&(eh=Nm(Nd.doc,Vf.line).text).length==Vf.ch){var _h=Rf(eh,eh.length,Nd.options.tabSize)-eh.length;Vf=fm(Vf.line,Math.max(0,Math.round((Ef-av(Nd.display).left)/Y0(Nd.display))-_h))}return Vf}function kb(Nd,Pd){if(Pd>=Nd.display.viewTo||(Pd-=Nd.display.viewFrom,Pd<0))return null;for(var Wd=Nd.display.view,zd=0;zdPd)&&(Jd.updateLineNumbers=Pd),Nd.curOp.viewChanged=!0,Pd>=Jd.viewTo)ag&&z_(Nd.doc,Pd)Jd.viewFrom?b0(Nd):(Jd.viewFrom+=zd,Jd.viewTo+=zd);else if(Pd<=Jd.viewFrom&&Wd>=Jd.viewTo)b0(Nd);else if(Pd<=Jd.viewFrom){var Ef=v0(Nd,Wd,Wd+zd,1);Ef?(Jd.view=Jd.view.slice(Ef.index),Jd.viewFrom=Ef.lineN,Jd.viewTo+=zd):b0(Nd)}else if(Wd>=Jd.viewTo){var Of=v0(Nd,Pd,Pd,-1);Of?(Jd.view=Jd.view.slice(0,Of.index),Jd.viewTo=Of.lineN):b0(Nd)}else{var $f=v0(Nd,Pd,Pd,-1),Vf=v0(Nd,Wd,Wd+zd,1);$f&&Vf?(Jd.view=Jd.view.slice(0,$f.index).concat(sb(Nd,$f.lineN,Vf.lineN)).concat(Jd.view.slice(Vf.index)),Jd.viewTo+=zd):b0(Nd)}var eh=Jd.externalMeasured;eh&&(Wd=Jd.lineN&&Pd=zd.viewTo)){var Ef=zd.view[kb(Nd,Pd)];if(Ef.node!=null){var Of=Ef.changes||(Ef.changes=[]);Kf(Of,Wd)==-1&&Of.push(Wd)}}}function b0(Nd){Nd.display.viewFrom=Nd.display.viewTo=Nd.doc.first,Nd.display.view=[],Nd.display.viewOffset=0}function v0(Nd,Pd,Wd,zd){var Jd=kb(Nd,Pd),Ef,Of=Nd.display.view;if(!ag||Wd==Nd.doc.first+Nd.doc.size)return{index:Jd,lineN:Wd};for(var $f=Nd.display.viewFrom,Vf=0;Vf0){if(Jd==Of.length-1)return null;Ef=$f+Of[Jd].size-Pd,Jd++}else Ef=$f-Pd;Pd+=Ef,Wd+=Ef}for(;z_(Nd.doc,Wd)!=Wd;){if(Jd==(zd<0?0:Of.length-1))return null;Wd+=zd*Of[Jd-(zd<0?1:0)].size,Jd+=zd}return{index:Jd,lineN:Wd}}function O1(Nd,Pd,Wd){var zd=Nd.display,Jd=zd.view;Jd.length==0||Pd>=zd.viewTo||Wd<=zd.viewFrom?(zd.view=sb(Nd,Pd,Wd),zd.viewFrom=Pd):(zd.viewFrom>Pd?zd.view=sb(Nd,Pd,zd.viewFrom).concat(zd.view):zd.viewFromWd&&(zd.view=zd.view.slice(0,kb(Nd,Wd)))),zd.viewTo=Wd}function Py(Nd){for(var Pd=Nd.display.view,Wd=0,zd=0;zd=Nd.display.viewTo||Vf.to().line0?Of:Nd.defaultCharWidth())+"px"}if(zd.other){var $f=Wd.appendChild(pf("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));$f.style.display="",$f.style.left=zd.other.left+"px",$f.style.top=zd.other.top+"px",$f.style.height=(zd.other.bottom-zd.other.top)*.85+"px"}}function Mb(Nd,Pd){return Nd.top-Pd.top||Nd.left-Pd.left}function RE(Nd,Pd,Wd){var zd=Nd.display,Jd=Nd.doc,Ef=document.createDocumentFragment(),Of=av(Nd.display),$f=Of.left,Vf=Math.max(zd.sizerWidth,Ib(Nd)-zd.sizer.offsetLeft)-Of.right,eh=Jd.direction=="ltr";function _h(Pm,Gm,e_,Jm){Gm<0&&(Gm=0),Gm=Math.round(Gm),Jm=Math.round(Jm),Ef.appendChild(pf("div",null,"CodeMirror-selected","position: absolute; left: "+Pm+`px; - top: `+Gm+"px; width: "+(e_??Vf-Pm)+`px; - height: `+(Jm-Gm)+"px"))}function Ch(Pm,Gm,e_){var Jm=Nm(Jd,Pm),f_=Jm.text.length,$_,ng;function W_(og,kg){return um(Nd,fm(Pm,og),"div",Jm,kg)}function Z_(og,kg,Ag){var pg=j_(Nd,Jm,null,og),lg=kg=="ltr"==(Ag=="after")?"left":"right",eg=Ag=="after"?pg.begin:pg.end-(/\s/.test(Jm.text.charAt(pg.end-1))?2:1);return W_(eg,lg)[lg]}var sg=Yh(Jm,Jd.direction);return Xf(sg,Gm||0,e_??f_,function(og,kg,Ag,pg){var lg=Ag=="ltr",eg=W_(og,lg?"left":"right"),Lg=W_(kg-1,lg?"right":"left"),Ov=Gm==null&&og==0,yb=e_==null&&kg==f_,Ng=pg==0,F0=!sg||pg==sg.length-1;if(Lg.top-eg.top<=3){var Eg=(eh?Ov:yb)&&Ng,yE=(eh?yb:Ov)&&F0,j0=Eg?$f:(lg?eg:Lg).left,Eb=yE?Vf:(lg?Lg:eg).right;_h(j0,eg.top,Eb-j0,eg.bottom)}else{var Tb,Mg,Rv,TE;lg?(Tb=eh&&Ov&&Ng?$f:eg.left,Mg=eh?Vf:Z_(og,Ag,"before"),Rv=eh?$f:Z_(kg,Ag,"after"),TE=eh&&yb&&F0?Vf:Lg.right):(Tb=eh?Z_(og,Ag,"before"):$f,Mg=!eh&&Ov&&Ng?Vf:eg.right,Rv=!eh&&yb&&F0?$f:Lg.left,TE=eh?Z_(kg,Ag,"after"):Vf),_h(Tb,eg.top,Mg-Tb,eg.bottom),eg.bottom0?Pd.blinker=setInterval(function(){Nd.hasFocus()||cv(Nd),Pd.cursorDiv.style.visibility=(Wd=!Wd)?"":"hidden"},Nd.options.cursorBlinkRate):Nd.options.cursorBlinkRate<0&&(Pd.cursorDiv.style.visibility="hidden")}}function ub(Nd){Nd.hasFocus()||(Nd.display.input.focus(),Nd.state.focused||Fy(Nd))}function uv(Nd){Nd.state.delayingBlurEvent=!0,setTimeout(function(){Nd.state.delayingBlurEvent&&(Nd.state.delayingBlurEvent=!1,Nd.state.focused&&cv(Nd))},100)}function Fy(Nd,Pd){Nd.state.delayingBlurEvent&&!Nd.state.draggingText&&(Nd.state.delayingBlurEvent=!1),Nd.options.readOnly!="nocursor"&&(Nd.state.focused||(Om(Nd,"focus",Nd,Pd),Nd.state.focused=!0,Jf(Nd.display.wrapper,"CodeMirror-focused"),!Nd.curOp&&Nd.display.selForContextMenu!=Nd.doc.sel&&(Nd.display.input.reset(),dd&&setTimeout(function(){return Nd.display.input.reset(!0)},20)),Nd.display.input.receivedFocus()),Bb(Nd))}function cv(Nd,Pd){Nd.state.delayingBlurEvent||(Nd.state.focused&&(Om(Nd,"blur",Nd,Pd),Nd.state.focused=!1,df(Nd.display.wrapper,"CodeMirror-focused")),clearInterval(Nd.display.blinker),setTimeout(function(){Nd.state.focused||(Nd.display.shift=!1)},150))}function k1(Nd){for(var Pd=Nd.display,Wd=Pd.lineDiv.offsetTop,zd=Math.max(0,Pd.scroller.getBoundingClientRect().top),Jd=Pd.lineDiv.getBoundingClientRect().top,Ef=0,Of=0;Of.005||Bh<-.005)&&(JdNd.display.sizerWidth){var pm=Math.ceil(_h/Y0(Nd.display));pm>Nd.display.maxLineLength&&(Nd.display.maxLineLength=pm,Nd.display.maxLine=$f.line,Nd.display.maxLineChanged=!0)}}}Math.abs(Ef)>2&&(Pd.scroller.scrollTop+=Ef)}function Gv(Nd){if(Nd.widgets)for(var Pd=0;Pd=Of&&(Ef=g_(Pd,r0(Nm(Pd,Vf))-Nd.wrapper.clientHeight),Of=Vf)}return{from:Ef,to:Math.max(Of,Ef+1)}}function Vy(Nd,Pd){if(!Qm(Nd,"scrollCursorIntoView")){var Wd=Nd.display,zd=Wd.sizer.getBoundingClientRect(),Jd=null,Ef=Wd.wrapper.ownerDocument;if(Pd.top+zd.top<0?Jd=!0:Pd.bottom+zd.top>(Ef.defaultView.innerHeight||Ef.documentElement.clientHeight)&&(Jd=!1),Jd!=null&&!Rd){var Of=pf("div","​",null,`position: absolute; - top: `+(Pd.top-Wd.viewOffset-_g(Nd.display))+`px; - height: `+(Pd.bottom-Pd.top+R0(Nd)+Wd.barHeight)+`px; - left: `+Pd.left+"px; width: "+Math.max(2,Pd.right-Pd.left)+"px;");Nd.display.lineSpace.appendChild(Of),Of.scrollIntoView(Jd),Nd.display.lineSpace.removeChild(Of)}}}function IT(Nd,Pd,Wd,zd){zd==null&&(zd=0);var Jd;!Nd.options.lineWrapping&&Pd==Wd&&(Wd=Pd.sticky=="before"?fm(Pd.line,Pd.ch+1,"before"):Pd,Pd=Pd.ch?fm(Pd.line,Pd.sticky=="before"?Pd.ch-1:Pd.ch,"after"):Pd);for(var Ef=0;Ef<5;Ef++){var Of=!1,$f=Kh(Nd,Pd),Vf=!Wd||Wd==Pd?$f:Kh(Nd,Wd);Jd={left:Math.min($f.left,Vf.left),top:Math.min($f.top,Vf.top)-zd,right:Math.max($f.left,Vf.left),bottom:Math.max($f.bottom,Vf.bottom)+zd};var eh=zy(Nd,Jd),_h=Nd.doc.scrollTop,Ch=Nd.doc.scrollLeft;if(eh.scrollTop!=null&&(qv(Nd,eh.scrollTop),Math.abs(Nd.doc.scrollTop-_h)>1&&(Of=!0)),eh.scrollLeft!=null&&(y0(Nd,eh.scrollLeft),Math.abs(Nd.doc.scrollLeft-Ch)>1&&(Of=!0)),!Of)break}return Jd}function kE(Nd,Pd){var Wd=zy(Nd,Pd);Wd.scrollTop!=null&&qv(Nd,Wd.scrollTop),Wd.scrollLeft!=null&&y0(Nd,Wd.scrollLeft)}function zy(Nd,Pd){var Wd=Nd.display,zd=g0(Nd.display);Pd.top<0&&(Pd.top=0);var Jd=Nd.curOp&&Nd.curOp.scrollTop!=null?Nd.curOp.scrollTop:Wd.scroller.scrollTop,Ef=Iy(Nd),Of={};Pd.bottom-Pd.top>Ef&&(Pd.bottom=Pd.top+Ef);var $f=Nd.doc.height+Db(Wd),Vf=Pd.top$f-zd;if(Pd.topJd+Ef){var _h=Math.min(Pd.top,(eh?$f:Pd.bottom)-Ef);_h!=Jd&&(Of.scrollTop=_h)}var Ch=Nd.options.fixedGutter?0:Wd.gutters.offsetWidth,$h=Nd.curOp&&Nd.curOp.scrollLeft!=null?Nd.curOp.scrollLeft:Wd.scroller.scrollLeft-Ch,Bh=Ib(Nd)-Wd.gutters.offsetWidth,sm=Pd.right-Pd.left>Bh;return sm&&(Pd.right=Pd.left+Bh),Pd.left<10?Of.scrollLeft=0:Pd.left<$h?Of.scrollLeft=Math.max(0,Pd.left+Ch-(sm?0:10)):Pd.right>Bh+$h-3&&(Of.scrollLeft=Pd.right+(sm?0:10)-Bh),Of}function Yy(Nd,Pd){Pd!=null&&(M1(Nd),Nd.curOp.scrollTop=(Nd.curOp.scrollTop==null?Nd.doc.scrollTop:Nd.curOp.scrollTop)+Pd)}function K_(Nd){M1(Nd);var Pd=Nd.getCursor();Nd.curOp.scrollToPos={from:Pd,to:Pd,margin:Nd.options.cursorScrollMargin}}function dg(Nd,Pd,Wd){(Pd!=null||Wd!=null)&&M1(Nd),Pd!=null&&(Nd.curOp.scrollLeft=Pd),Wd!=null&&(Nd.curOp.scrollTop=Wd)}function OT(Nd,Pd){M1(Nd),Nd.curOp.scrollToPos=Pd}function M1(Nd){var Pd=Nd.curOp.scrollToPos;if(Pd){Nd.curOp.scrollToPos=null;var Wd=Km(Nd,Pd.from),zd=Km(Nd,Pd.to);Ky(Nd,Wd,zd,Pd.margin)}}function Ky(Nd,Pd,Wd,zd){var Jd=zy(Nd,{left:Math.min(Pd.left,Wd.left),top:Math.min(Pd.top,Wd.top)-zd,right:Math.max(Pd.right,Wd.right),bottom:Math.max(Pd.bottom,Wd.bottom)+zd});dg(Nd,Jd.scrollLeft,Jd.scrollTop)}function qv(Nd,Pd){Math.abs(Nd.doc.scrollTop-Pd)<2||(rd||E0(Nd,{top:Pd}),B1(Nd,Pd,!0),rd&&E0(Nd),Wv(Nd,100))}function B1(Nd,Pd,Wd){Pd=Math.max(0,Math.min(Nd.display.scroller.scrollHeight-Nd.display.scroller.clientHeight,Pd)),!(Nd.display.scroller.scrollTop==Pd&&!Wd)&&(Nd.doc.scrollTop=Pd,Nd.display.scrollbars.setScrollTop(Pd),Nd.display.scroller.scrollTop!=Pd&&(Nd.display.scroller.scrollTop=Pd))}function y0(Nd,Pd,Wd,zd){Pd=Math.max(0,Math.min(Pd,Nd.display.scroller.scrollWidth-Nd.display.scroller.clientWidth)),!((Wd?Pd==Nd.doc.scrollLeft:Math.abs(Nd.doc.scrollLeft-Pd)<2)&&!zd)&&(Nd.doc.scrollLeft=Pd,$E(Nd),Nd.display.scroller.scrollLeft!=Pd&&(Nd.display.scroller.scrollLeft=Pd),Nd.display.scrollbars.setScrollLeft(Pd))}function $b(Nd){var Pd=Nd.display,Wd=Pd.gutters.offsetWidth,zd=Math.round(Nd.doc.height+Db(Nd.display));return{clientHeight:Pd.scroller.clientHeight,viewHeight:Pd.wrapper.clientHeight,scrollWidth:Pd.scroller.scrollWidth,clientWidth:Pd.scroller.clientWidth,viewWidth:Pd.wrapper.clientWidth,barLeft:Nd.options.fixedGutter?Wd:0,docHeight:zd,scrollHeight:zd+R0(Nd)+Pd.barHeight,nativeBarWidth:Pd.nativeBarWidth,gutterWidth:Wd}}var a0=function(Nd,Pd,Wd){this.cm=Wd;var zd=this.vert=pf("div",[pf("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),Jd=this.horiz=pf("div",[pf("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");zd.tabIndex=Jd.tabIndex=-1,Nd(zd),Nd(Jd),im(zd,"scroll",function(){zd.clientHeight&&Pd(zd.scrollTop,"vertical")}),im(Jd,"scroll",function(){Jd.clientWidth&&Pd(Jd.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,ud&&cd<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};a0.prototype.update=function(Nd){var Pd=Nd.scrollWidth>Nd.clientWidth+1,Wd=Nd.scrollHeight>Nd.clientHeight+1,zd=Nd.nativeBarWidth;if(Wd){this.vert.style.display="block",this.vert.style.bottom=Pd?zd+"px":"0";var Jd=Nd.viewHeight-(Pd?zd:0);this.vert.firstChild.style.height=Math.max(0,Nd.scrollHeight-Nd.clientHeight+Jd)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(Pd){this.horiz.style.display="block",this.horiz.style.right=Wd?zd+"px":"0",this.horiz.style.left=Nd.barLeft+"px";var Ef=Nd.viewWidth-Nd.barLeft-(Wd?zd:0);this.horiz.firstChild.style.width=Math.max(0,Nd.scrollWidth-Nd.clientWidth+Ef)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&Nd.clientHeight>0&&(zd==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:Wd?zd:0,bottom:Pd?zd:0}},a0.prototype.setScrollLeft=function(Nd){this.horiz.scrollLeft!=Nd&&(this.horiz.scrollLeft=Nd),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},a0.prototype.setScrollTop=function(Nd){this.vert.scrollTop!=Nd&&(this.vert.scrollTop=Nd),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},a0.prototype.zeroWidthHack=function(){var Nd=Fd&&!Bd?"12px":"18px";this.horiz.style.height=this.vert.style.width=Nd,this.horiz.style.visibility=this.vert.style.visibility="hidden",this.disableHoriz=new jf,this.disableVert=new jf},a0.prototype.enableZeroWidthBar=function(Nd,Pd,Wd){Nd.style.visibility="";function zd(){var Jd=Nd.getBoundingClientRect(),Ef=Wd=="vert"?document.elementFromPoint(Jd.right-1,(Jd.top+Jd.bottom)/2):document.elementFromPoint((Jd.right+Jd.left)/2,Jd.bottom-1);Ef!=Nd?Nd.style.visibility="hidden":Pd.set(1e3,zd)}Pd.set(1e3,zd)},a0.prototype.clear=function(){var Nd=this.horiz.parentNode;Nd.removeChild(this.horiz),Nd.removeChild(this.vert)};var K0=function(){};K0.prototype.update=function(){return{bottom:0,right:0}},K0.prototype.setScrollLeft=function(){},K0.prototype.setScrollTop=function(){},K0.prototype.clear=function(){};function M0(Nd,Pd){Pd||(Pd=$b(Nd));var Wd=Nd.display.barWidth,zd=Nd.display.barHeight;Vv(Nd,Pd);for(var Jd=0;Jd<4&&Wd!=Nd.display.barWidth||zd!=Nd.display.barHeight;Jd++)Wd!=Nd.display.barWidth&&Nd.options.lineWrapping&&k1(Nd),Vv(Nd,$b(Nd)),Wd=Nd.display.barWidth,zd=Nd.display.barHeight}function Vv(Nd,Pd){var Wd=Nd.display,zd=Wd.scrollbars.update(Pd);Wd.sizer.style.paddingRight=(Wd.barWidth=zd.right)+"px",Wd.sizer.style.paddingBottom=(Wd.barHeight=zd.bottom)+"px",Wd.heightForcer.style.borderBottom=zd.bottom+"px solid transparent",zd.right&&zd.bottom?(Wd.scrollbarFiller.style.display="block",Wd.scrollbarFiller.style.height=zd.bottom+"px",Wd.scrollbarFiller.style.width=zd.right+"px"):Wd.scrollbarFiller.style.display="",zd.bottom&&Nd.options.coverGutterNextToScrollbar&&Nd.options.fixedGutter?(Wd.gutterFiller.style.display="block",Wd.gutterFiller.style.height=zd.bottom+"px",Wd.gutterFiller.style.width=Pd.gutterWidth+"px"):Wd.gutterFiller.style.display=""}var Lb={native:a0,null:K0};function ME(Nd){Nd.display.scrollbars&&(Nd.display.scrollbars.clear(),Nd.display.scrollbars.addClass&&df(Nd.display.wrapper,Nd.display.scrollbars.addClass)),Nd.display.scrollbars=new Lb[Nd.options.scrollbarStyle](function(Pd){Nd.display.wrapper.insertBefore(Pd,Nd.display.scrollbarFiller),im(Pd,"mousedown",function(){Nd.state.focused&&setTimeout(function(){return Nd.display.input.focus()},0)}),Pd.setAttribute("cm-not-content","true")},function(Pd,Wd){Wd=="horizontal"?y0(Nd,Pd):qv(Nd,Pd)},Nd),Nd.display.scrollbars.addClass&&Jf(Nd.display.wrapper,Nd.display.scrollbars.addClass)}var RT=0;function Fb(Nd){Nd.curOp={cm:Nd,viewChanged:!1,startHeight:Nd.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++RT,markArrays:null},A1(Nd.curOp)}function jb(Nd){var Pd=Nd.curOp;Pd&&Hd(Pd,function(Wd){for(var zd=0;zd=Wd.viewTo)||Wd.maxLineChanged&&Pd.options.lineWrapping,Nd.update=Nd.mustUpdate&&new B0(Pd,Nd.mustUpdate&&{top:Nd.scrollTop,ensure:Nd.scrollToPos},Nd.forceUpdate)}function zv(Nd){Nd.updatedDisplay=Nd.mustUpdate&&Xy(Nd.cm,Nd.update)}function BE(Nd){var Pd=Nd.cm,Wd=Pd.display;Nd.updatedDisplay&&k1(Pd),Nd.barMeasure=$b(Pd),Wd.maxLineChanged&&!Pd.options.lineWrapping&&(Nd.adjustWidthTo=w1(Pd,Wd.maxLine,Wd.maxLine.text.length).left+3,Pd.display.sizerWidth=Nd.adjustWidthTo,Nd.barMeasure.scrollWidth=Math.max(Wd.scroller.clientWidth,Wd.sizer.offsetLeft+Nd.adjustWidthTo+R0(Pd)+Pd.display.barWidth),Nd.maxScrollLeft=Math.max(0,Wd.sizer.offsetLeft+Nd.adjustWidthTo-Ib(Pd))),(Nd.updatedDisplay||Nd.selectionChanged)&&(Nd.preparedSelection=Wd.input.prepareSelection())}function ch(Nd){var Pd=Nd.cm;Nd.adjustWidthTo!=null&&(Pd.display.sizer.style.minWidth=Nd.adjustWidthTo+"px",Nd.maxScrollLeft=Nd.display.viewTo)){var Wd=+new Date+Nd.options.workTime,zd=mg(Nd,Pd.highlightFrontier),Jd=[];Pd.iter(zd.line,Math.min(Pd.first+Pd.size,Nd.display.viewTo+500),function(Ef){if(zd.line>=Nd.display.viewFrom){var Of=Ef.styles,$f=Ef.text.length>Nd.options.maxHighlightLength?Vm(Pd.mode,zd.state):null,Vf=Zg(Nd,Ef,zd,!0);$f&&(zd.state=$f),Ef.styles=Vf.styles;var eh=Ef.styleClasses,_h=Vf.classes;_h?Ef.styleClasses=_h:eh&&(Ef.styleClasses=null);for(var Ch=!Of||Of.length!=Ef.styles.length||eh!=_h&&(!eh||!_h||eh.bgClass!=_h.bgClass||eh.textClass!=_h.textClass),$h=0;!Ch&&$hWd)return Wv(Nd,Nd.options.workDelay),!0}),Pd.highlightFrontier=zd.line,Pd.modeFrontier=Math.max(Pd.modeFrontier,zd.line),Jd.length&&wg(Nd,function(){for(var Ef=0;Ef=Wd.viewFrom&&Pd.visible.to<=Wd.viewTo&&(Wd.updateLineNumbers==null||Wd.updateLineNumbers>=Wd.viewTo)&&Wd.renderedView==Wd.view&&Py(Nd)==0)return!1;LE(Nd)&&(b0(Nd),Pd.dims=lv(Nd));var Jd=zd.first+zd.size,Ef=Math.max(Pd.visible.from-Nd.options.viewportMargin,zd.first),Of=Math.min(Jd,Pd.visible.to+Nd.options.viewportMargin);Wd.viewFromOf&&Wd.viewTo-Of<20&&(Of=Math.min(Jd,Wd.viewTo)),ag&&(Ef=z_(Nd.doc,Ef),Of=t0(Nd.doc,Of));var $f=Ef!=Wd.viewFrom||Of!=Wd.viewTo||Wd.lastWrapHeight!=Pd.wrapperHeight||Wd.lastWrapWidth!=Pd.wrapperWidth;O1(Nd,Ef,Of),Wd.viewOffset=r0(Nm(Nd.doc,Wd.viewFrom)),Nd.display.mover.style.top=Wd.viewOffset+"px";var Vf=Py(Nd);if(!$f&&Vf==0&&!Pd.force&&Wd.renderedView==Wd.view&&(Wd.updateLineNumbers==null||Wd.updateLineNumbers>=Wd.viewTo))return!1;var eh=PT(Nd);return Vf>4&&(Wd.lineDiv.style.display="none"),LT(Nd,Wd.updateLineNumbers,Pd.dims),Vf>4&&(Wd.lineDiv.style.display=""),Wd.renderedView=Wd.view,$T(eh),mf(Wd.cursorDiv),mf(Wd.selectionDiv),Wd.gutters.style.height=Wd.sizer.style.minHeight=0,$f&&(Wd.lastWrapHeight=Pd.wrapperHeight,Wd.lastWrapWidth=Pd.wrapperWidth,Wv(Nd,400)),Wd.updateLineNumbers=null,!0}function PE(Nd,Pd){for(var Wd=Pd.viewport,zd=!0;;zd=!1){if(!zd||!Nd.options.lineWrapping||Pd.oldDisplayWidth==Ib(Nd)){if(Wd&&Wd.top!=null&&(Wd={top:Math.min(Nd.doc.height+Db(Nd.display)-Iy(Nd),Wd.top)}),Pd.visible=Pb(Nd.display,Nd.doc,Wd),Pd.visible.from>=Nd.display.viewFrom&&Pd.visible.to<=Nd.display.viewTo)break}else zd&&(Pd.visible=Pb(Nd.display,Nd.doc,Wd));if(!Xy(Nd,Pd))break;k1(Nd);var Jd=$b(Nd);lb(Nd),M0(Nd,Jd),Jy(Nd,Jd),Pd.force=!1}Pd.signal(Nd,"update",Nd),(Nd.display.viewFrom!=Nd.display.reportedViewFrom||Nd.display.viewTo!=Nd.display.reportedViewTo)&&(Pd.signal(Nd,"viewportChange",Nd,Nd.display.viewFrom,Nd.display.viewTo),Nd.display.reportedViewFrom=Nd.display.viewFrom,Nd.display.reportedViewTo=Nd.display.viewTo)}function E0(Nd,Pd){var Wd=new B0(Nd,Pd);if(Xy(Nd,Wd)){k1(Nd),PE(Nd,Wd);var zd=$b(Nd);lb(Nd),M0(Nd,zd),Jy(Nd,zd),Wd.finish()}}function LT(Nd,Pd,Wd){var zd=Nd.display,Jd=Nd.options.lineNumbers,Ef=zd.lineDiv,Of=Ef.firstChild;function $f(sm){var pm=sm.nextSibling;return dd&&Fd&&Nd.display.currentWheelTarget==sm?sm.style.display="none":sm.parentNode.removeChild(sm),pm}for(var Vf=zd.view,eh=zd.viewFrom,_h=0;_h-1&&(Bh=!1),xf(Nd,Ch,eh,Wd)),Bh&&(mf(Ch.lineNumber),Ch.lineNumber.appendChild(document.createTextNode(Qg(Nd.options,eh)))),Of=Ch.node.nextSibling}eh+=Ch.size}for(;Of;)Of=$f(Of)}function Qy(Nd){var Pd=Nd.gutters.offsetWidth;Nd.sizer.style.marginLeft=Pd+"px",Gd(Nd,"gutterChanged",Nd)}function Jy(Nd,Pd){Nd.display.sizer.style.minHeight=Pd.docHeight+"px",Nd.display.heightForcer.style.top=Pd.docHeight+"px",Nd.display.gutters.style.height=Pd.docHeight+Nd.display.barHeight+R0(Nd)+"px"}function $E(Nd){var Pd=Nd.display,Wd=Pd.view;if(!(!Pd.alignWidgets&&(!Pd.gutters.firstChild||!Nd.options.fixedGutter))){for(var zd=R_(Pd)-Pd.scroller.scrollLeft+Nd.doc.scrollLeft,Jd=Pd.gutters.offsetWidth,Ef=zd+"px",Of=0;Of=105&&(Jd.wrapper.style.clipPath="inset(0px)"),Jd.wrapper.setAttribute("translate","no"),ud&&cd<8&&(Jd.gutters.style.zIndex=-1,Jd.scroller.style.paddingRight=0),!dd&&!(rd&&Ld)&&(Jd.scroller.draggable=!0),Nd&&(Nd.appendChild?Nd.appendChild(Jd.wrapper):Nd(Jd.wrapper)),Jd.viewFrom=Jd.viewTo=Pd.first,Jd.reportedViewFrom=Jd.reportedViewTo=Pd.first,Jd.view=[],Jd.renderedView=null,Jd.externalMeasured=null,Jd.viewOffset=0,Jd.lastWrapHeight=Jd.lastWrapWidth=0,Jd.updateLineNumbers=null,Jd.nativeBarWidth=Jd.barHeight=Jd.barWidth=0,Jd.scrollbarsClipped=!1,Jd.lineNumWidth=Jd.lineNumInnerWidth=Jd.lineNumChars=null,Jd.alignWidgets=!1,Jd.cachedCharWidth=Jd.cachedTextHeight=Jd.cachedPaddingH=null,Jd.maxLine=null,Jd.maxLineLength=0,Jd.maxLineChanged=!1,Jd.wheelDX=Jd.wheelDY=Jd.wheelStartX=Jd.wheelStartY=null,Jd.shift=!1,Jd.selForContextMenu=null,Jd.activeTouch=null,Jd.gutterSpecs=T0(zd.gutters,zd.lineNumbers),FE(Jd),Wd.init(Jd)}var $1=0,X0=null;ud?X0=-.53:rd?X0=15:Ed?X0=-.7:Id&&(X0=-1/3);function cb(Nd){var Pd=Nd.wheelDeltaX,Wd=Nd.wheelDeltaY;return Pd==null&&Nd.detail&&Nd.axis==Nd.HORIZONTAL_AXIS&&(Pd=Nd.detail),Wd==null&&Nd.detail&&Nd.axis==Nd.VERTICAL_AXIS?Wd=Nd.detail:Wd==null&&(Wd=Nd.wheelDelta),{x:Pd,y:Wd}}function jT(Nd){var Pd=cb(Nd);return Pd.x*=X0,Pd.y*=X0,Pd}function jE(Nd,Pd){Ed&&Ad==102&&(Nd.display.chromeScrollHack==null?Nd.display.sizer.style.pointerEvents="none":clearTimeout(Nd.display.chromeScrollHack),Nd.display.chromeScrollHack=setTimeout(function(){Nd.display.chromeScrollHack=null,Nd.display.sizer.style.pointerEvents=""},100));var Wd=cb(Pd),zd=Wd.x,Jd=Wd.y,Ef=X0;Pd.deltaMode===0&&(zd=Pd.deltaX,Jd=Pd.deltaY,Ef=1);var Of=Nd.display,$f=Of.scroller,Vf=$f.scrollWidth>$f.clientWidth,eh=$f.scrollHeight>$f.clientHeight;if(zd&&Vf||Jd&&eh){if(Jd&&Fd&&dd){e:for(var _h=Pd.target,Ch=Of.view;_h!=$f;_h=_h.parentNode)for(var $h=0;$h=0&&n_(Nd,zd.to())<=0)return Wd}return-1};var I_=function(Nd,Pd){this.anchor=Nd,this.head=Pd};I_.prototype.from=function(){return jg(this.anchor,this.head)},I_.prototype.to=function(){return p0(this.anchor,this.head)},I_.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function S0(Nd,Pd,Wd){var zd=Nd&&Nd.options.selectionsMayTouch,Jd=Pd[Wd];Pd.sort(function($h,Bh){return n_($h.from(),Bh.from())}),Wd=Kf(Pd,Jd);for(var Ef=1;Ef0:Vf>=0){var eh=jg($f.from(),Of.from()),_h=p0($f.to(),Of.to()),Ch=$f.empty()?Of.from()==Of.head:$f.from()==$f.head;Ef<=Wd&&--Wd,Pd.splice(--Ef,2,new I_(Ch?_h:eh,Ch?eh:_h))}}return new J_(Pd,Wd)}function db(Nd,Pd){return new J_([new I_(Nd,Pd||Nd)],0)}function pb(Nd){return Nd.text?fm(Nd.from.line+Nd.text.length-1,sh(Nd.text).length+(Nd.text.length==1?Nd.from.ch:0)):Nd.to}function UE(Nd,Pd){if(n_(Nd,Pd.from)<0)return Nd;if(n_(Nd,Pd.to)<=0)return pb(Pd);var Wd=Nd.line+Pd.text.length-(Pd.to.line-Pd.from.line)-1,zd=Nd.ch;return Nd.line==Pd.to.line&&(zd+=pb(Pd).ch-Pd.to.ch),fm(Wd,zd)}function L1(Nd,Pd){for(var Wd=[],zd=0;zd1&&Nd.remove($f.line+1,sm-1),Nd.insert($f.line+1,$m)}Gd(Nd,"change",Nd,Pd)}function fb(Nd,Pd,Wd){function zd(Jd,Ef,Of){if(Jd.linked)for(var $f=0;$f1&&!Nd.done[Nd.done.length-2].ranges)return Nd.done.pop(),sh(Nd.done)}function rE(Nd,Pd,Wd,zd){var Jd=Nd.history;Jd.undone.length=0;var Ef=+new Date,Of,$f;if((Jd.lastOp==zd||Jd.lastOrigin==Pd.origin&&Pd.origin&&(Pd.origin.charAt(0)=="+"&&Jd.lastModTime>Ef-(Nd.cm?Nd.cm.options.historyEventDelay:500)||Pd.origin.charAt(0)=="*"))&&(Of=HT(Jd,Jd.lastOp==zd)))$f=sh(Of.changes),n_(Pd.from,Pd.to)==0&&n_(Pd.from,$f.to)==0?$f.to=pb(Pd):Of.changes.push(J0(Nd,Pd));else{var Vf=sh(Jd.done);for((!Vf||!Vf.ranges)&&x0(Nd.sel,Jd.done),Of={changes:[J0(Nd,Pd)],generation:Jd.generation},Jd.done.push(Of);Jd.done.length>Jd.undoDepth;)Jd.done.shift(),Jd.done[0].ranges||Jd.done.shift()}Jd.done.push(Wd),Jd.generation=++Jd.maxGeneration,Jd.lastModTime=Jd.lastSelTime=Ef,Jd.lastOp=Jd.lastSelOp=zd,Jd.lastOrigin=Jd.lastSelOrigin=Pd.origin,$f||Om(Nd,"historyAdded")}function GE(Nd,Pd,Wd,zd){var Jd=Pd.charAt(0);return Jd=="*"||Jd=="+"&&Wd.ranges.length==zd.ranges.length&&Wd.somethingSelected()==zd.somethingSelected()&&new Date-Nd.history.lastSelTime<=(Nd.cm?Nd.cm.options.historyEventDelay:500)}function Kv(Nd,Pd,Wd,zd){var Jd=Nd.history,Ef=zd&&zd.origin;Wd==Jd.lastSelOp||Ef&&Jd.lastSelOrigin==Ef&&(Jd.lastModTime==Jd.lastSelTime&&Jd.lastOrigin==Ef||GE(Nd,Ef,sh(Jd.done),Pd))?Jd.done[Jd.done.length-1]=Pd:x0(Pd,Jd.done),Jd.lastSelTime=+new Date,Jd.lastSelOrigin=Ef,Jd.lastSelOp=Wd,zd&&zd.clearRedo!==!1&&zg(Jd.undone)}function x0(Nd,Pd){var Wd=sh(Pd);Wd&&Wd.ranges&&Wd.equals(Nd)||Pd.push(Nd)}function nE(Nd,Pd,Wd,zd){var Jd=Pd["spans_"+Nd.id],Ef=0;Nd.iter(Math.max(Nd.first,Wd),Math.min(Nd.first+Nd.size,zd),function(Of){Of.markedSpans&&((Jd||(Jd=Pd["spans_"+Nd.id]={}))[Ef]=Of.markedSpans),++Ef})}function GT(Nd){if(!Nd)return null;for(var Pd,Wd=0;Wd-1&&(sh($f)[Ch]=eh[Ch],delete eh[Ch])}}return zd}function bg(Nd,Pd,Wd,zd){if(zd){var Jd=Nd.anchor;if(Wd){var Ef=n_(Pd,Jd)<0;Ef!=n_(Wd,Jd)<0?(Jd=Pd,Pd=Wd):Ef!=n_(Pd,Wd)<0&&(Pd=Wd)}return new I_(Jd,Pd)}else return new I_(Wd||Pd,Pd)}function mv(Nd,Pd,Wd,zd,Jd){Jd==null&&(Jd=Nd.cm&&(Nd.cm.display.shift||Nd.extend)),xg(Nd,new J_([bg(Nd.sel.primary(),Pd,Wd,Jd)],0),zd)}function iE(Nd,Pd,Wd){for(var zd=[],Jd=Nd.cm&&(Nd.cm.display.shift||Nd.extend),Ef=0;Ef=Pd.ch:$f.to>Pd.ch))){if(Jd&&(Om(Vf,"beforeCursorEnter"),Vf.explicitlyCleared))if(Ef.markedSpans){--Of;continue}else break;if(!Vf.atomic)continue;if(Wd){var Ch=Vf.find(zd<0?1:-1),$h=void 0;if((zd<0?_h:eh)&&(Ch=WE(Nd,Ch,-zd,Ch&&Ch.line==Pd.line?Ef:null)),Ch&&Ch.line==Pd.line&&($h=n_(Ch,Wd))&&(zd<0?$h<0:$h>0))return _v(Nd,Ch,Pd,zd,Jd)}var Bh=Vf.find(zd<0?-1:1);return(zd<0?eh:_h)&&(Bh=WE(Nd,Bh,zd,Bh.line==Pd.line?Ef:null)),Bh?_v(Nd,Bh,Pd,zd,Jd):null}}return Pd}function gv(Nd,Pd,Wd,zd,Jd){var Ef=zd||1,Of=_v(Nd,Pd,Wd,Ef,Jd)||!Jd&&_v(Nd,Pd,Wd,Ef,!0)||_v(Nd,Pd,Wd,-Ef,Jd)||!Jd&&_v(Nd,Pd,Wd,-Ef,!0);return Of||(Nd.cantEdit=!0,fm(Nd.first,0))}function WE(Nd,Pd,Wd,zd){return Wd<0&&Pd.ch==0?Pd.line>Nd.first?i_(Nd,fm(Pd.line-1)):null:Wd>0&&Pd.ch==(zd||Nm(Nd,Pd.line)).text.length?Pd.line=0;--Jd)YE(Nd,{from:zd[Jd].from,to:zd[Jd].to,text:Jd?[""]:Pd.text,origin:Pd.origin});else YE(Nd,Pd)}}function YE(Nd,Pd){if(!(Pd.text.length==1&&Pd.text[0]==""&&n_(Pd.from,Pd.to)==0)){var Wd=L1(Nd,Pd);rE(Nd,Pd,Wd,Nd.cm?Nd.cm.curOp.id:NaN),Xv(Nd,Pd,Wd,Bv(Nd,Pd));var zd=[];fb(Nd,function(Jd,Ef){!Ef&&Kf(zd,Jd.history)==-1&&(JE(Jd.history,Pd),zd.push(Jd.history)),Xv(Jd,Pd,null,Bv(Jd,Pd))})}}function mb(Nd,Pd,Wd){var zd=Nd.cm&&Nd.cm.state.suppressEdits;if(!(zd&&!Wd)){for(var Jd=Nd.history,Ef,Of=Nd.sel,$f=Pd=="undo"?Jd.done:Jd.undone,Vf=Pd=="undo"?Jd.undone:Jd.done,eh=0;eh<$f.length&&(Ef=$f[eh],!(Wd?Ef.ranges&&!Ef.equals(Nd.sel):!Ef.ranges));eh++);if(eh!=$f.length){for(Jd.lastOrigin=Jd.lastSelOrigin=null;;)if(Ef=$f.pop(),Ef.ranges){if(x0(Ef,Vf),Wd&&!Ef.equals(Nd.sel)){xg(Nd,Ef,{clearRedo:!1});return}Of=Ef}else if(zd){$f.push(Ef);return}else break;var _h=[];x0(Of,Vf),Vf.push({changes:_h,generation:Jd.generation}),Jd.generation=Ef.generation||++Jd.maxGeneration;for(var Ch=T_(Nd,"beforeChange")||Nd.cm&&T_(Nd.cm,"beforeChange"),$h=function(pm){var Sm=Ef.changes[pm];if(Sm.origin=Pd,Ch&&!aE(Nd,Sm,!1))return $f.length=0,{};_h.push(J0(Nd,Sm));var $m=pm?L1(Nd,Sm):sh($f);Xv(Nd,Sm,$m,qE(Nd,Sm)),!pm&&Nd.cm&&Nd.cm.scrollIntoView({from:Sm.from,to:pb(Sm)});var Um=[];fb(Nd,function(Pm,Gm){!Gm&&Kf(Um,Pm.history)==-1&&(JE(Pm.history,Sm),Um.push(Pm.history)),Xv(Pm,Sm,null,qE(Pm,Sm))})},Bh=Ef.changes.length-1;Bh>=0;--Bh){var sm=$h(Bh);if(sm)return sm.v}}}}function KE(Nd,Pd){if(Pd!=0&&(Nd.first+=Pd,Nd.sel=new J_(hh(Nd.sel.ranges,function(Jd){return new I_(fm(Jd.anchor.line+Pd,Jd.anchor.ch),fm(Jd.head.line+Pd,Jd.head.ch))}),Nd.sel.primIndex),Nd.cm)){$g(Nd.cm,Nd.first,Nd.first-Pd,Pd);for(var Wd=Nd.cm.display,zd=Wd.viewFrom;zdNd.lastLine())){if(Pd.from.lineEf&&(Pd={from:Pd.from,to:fm(Ef,Nm(Nd,Ef).text.length),text:[Pd.text[0]],origin:Pd.origin}),Pd.removed=G_(Nd,Pd.from,Pd.to),Wd||(Wd=L1(Nd,Pd)),Nd.cm?sE(Nd.cm,Pd,zd):fv(Nd,Pd,zd),Cg(Nd,Wd,Yf),Nd.cantEdit&&gv(Nd,fm(Nd.firstLine(),0))&&(Nd.cantEdit=!1)}}function sE(Nd,Pd,Wd){var zd=Nd.doc,Jd=Nd.display,Ef=Pd.from,Of=Pd.to,$f=!1,Vf=Ef.line;Nd.options.lineWrapping||(Vf=Lm(k_(Nm(zd,Ef.line))),zd.iter(Vf,Of.line+1,function(Bh){if(Bh==Jd.maxLine)return $f=!0,!0})),zd.sel.contains(Pd.from,Pd.to)>-1&&L_(Nd),fv(zd,Pd,Wd,OE(Nd)),Nd.options.lineWrapping||(zd.iter(Vf,Ef.line+Pd.text.length,function(Bh){var sm=ab(Bh);sm>Jd.maxLineLength&&(Jd.maxLine=Bh,Jd.maxLineLength=sm,Jd.maxLineChanged=!0,$f=!1)}),$f&&(Nd.curOp.updateMaxLine=!0)),ev(zd,Ef.line),Wv(Nd,400);var eh=Pd.text.length-(Of.line-Ef.line)-1;Pd.full?$g(Nd):Ef.line==Of.line&&Pd.text.length==1&&!pv(Nd.doc,Pd)?ob(Nd,Ef.line,"text"):$g(Nd,Ef.line,Of.line+1,eh);var _h=T_(Nd,"changes"),Ch=T_(Nd,"change");if(Ch||_h){var $h={from:Ef,to:Of,text:Pd.text,removed:Pd.removed,origin:Pd.origin};Ch&&Gd(Nd,"change",Nd,$h),_h&&(Nd.curOp.changeObjs||(Nd.curOp.changeObjs=[])).push($h)}Nd.display.selForContextMenu=null}function Gb(Nd,Pd,Wd,zd,Jd){var Ef;zd||(zd=Wd),n_(zd,Wd)<0&&(Ef=[zd,Wd],Wd=Ef[0],zd=Ef[1]),typeof Pd=="string"&&(Pd=Nd.splitLines(Pd)),vv(Nd,{from:Wd,to:zd,text:Pd,origin:Jd})}function XE(Nd,Pd,Wd,zd){Wd1||!(this.children[0]instanceof qb))){var $f=[];this.collapse($f),this.children=[new qb($f)],this.children[0].parent=this}},collapse:function(Nd){for(var Pd=0;Pd50){for(var Of=Jd.lines.length%25+25,$f=Of;$f10);Nd.parent.maybeSpill()}},iterN:function(Nd,Pd,Wd){for(var zd=0;zdNd.display.maxLineLength&&(Nd.display.maxLine=eh,Nd.display.maxLineLength=_h,Nd.display.maxLineChanged=!0)}zd!=null&&Nd&&this.collapsed&&$g(Nd,zd,Jd+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,Nd&&VE(Nd.doc)),Nd&&Gd(Nd,"markerCleared",Nd,this,zd,Jd),Pd&&jb(Nd),this.parent&&this.parent.clear()}},C0.prototype.find=function(Nd,Pd){Nd==null&&this.type=="bookmark"&&(Nd=1);for(var Wd,zd,Jd=0;Jd0||Of==0&&Ef.clearWhenEmpty!==!1)return Ef;if(Ef.replacedWith&&(Ef.collapsed=!0,Ef.widgetNode=_f("span",[Ef.replacedWith],"CodeMirror-widget"),zd.handleMouseEvents||Ef.widgetNode.setAttribute("cm-ignore-events","true"),zd.insertLeft&&(Ef.widgetNode.insertLeft=!0)),Ef.collapsed){if($v(Nd,Pd.line,Pd,Wd,Ef)||Pd.line!=Wd.line&&$v(Nd,Wd.line,Pd,Wd,Ef))throw new Error("Inserting collapsed marker partially overlapping an existing one");f0()}Ef.addToHistory&&rE(Nd,{from:Pd,to:Wd,origin:"markText"},Nd.sel,NaN);var $f=Pd.line,Vf=Nd.cm,eh;if(Nd.iter($f,Wd.line+1,function(Ch){Vf&&Ef.collapsed&&!Vf.options.lineWrapping&&k_(Ch)==Vf.display.maxLine&&(eh=!0),Ef.collapsed&&$f!=Pd.line&&r_(Ch,0),Mv(Ch,new V0(Ef,$f==Pd.line?Pd.ch:null,$f==Wd.line?Wd.ch:null),Nd.cm&&Nd.cm.curOp),++$f}),Ef.collapsed&&Nd.iter(Pd.line,Wd.line+1,function(Ch){tg(Nd,Ch)&&r_(Ch,0)}),Ef.clearOnEnter&&im(Ef,"beforeCursorEnter",function(){return Ef.clear()}),Ef.readOnly&&(Ug(),(Nd.history.done.length||Nd.history.undone.length)&&Nd.clearHistory()),Ef.collapsed&&(Ef.id=++lE,Ef.atomic=!0),Vf){if(eh&&(Vf.curOp.updateMaxLine=!0),Ef.collapsed)$g(Vf,Pd.line,Wd.line+1);else if(Ef.className||Ef.startStyle||Ef.endStyle||Ef.css||Ef.attributes||Ef.title)for(var _h=Pd.line;_h<=Wd.line;_h++)ob(Vf,_h,"text");Ef.atomic&&VE(Vf.doc),Gd(Vf,"markerAdded",Vf,Ef)}return Ef}var Tv=function(Nd,Pd){this.markers=Nd,this.primary=Pd;for(var Wd=0;Wd=0;Vf--)vv(this,zd[Vf]);$f?hb(this,$f):this.cm&&K_(this.cm)}),undo:gg(function(){mb(this,"undo")}),redo:gg(function(){mb(this,"redo")}),undoSelection:gg(function(){mb(this,"undo",!0)}),redoSelection:gg(function(){mb(this,"redo",!0)}),setExtending:function(Nd){this.extend=Nd},getExtending:function(){return this.extend},historySize:function(){for(var Nd=this.history,Pd=0,Wd=0,zd=0;zd=Nd.ch)&&Pd.push(Jd.marker.parent||Jd.marker)}return Pd},findMarks:function(Nd,Pd,Wd){Nd=i_(this,Nd),Pd=i_(this,Pd);var zd=[],Jd=Nd.line;return this.iter(Nd.line,Pd.line+1,function(Ef){var Of=Ef.markedSpans;if(Of)for(var $f=0;$f=Vf.to||Vf.from==null&&Jd!=Nd.line||Vf.from!=null&&Jd==Pd.line&&Vf.from>=Pd.ch)&&(!Wd||Wd(Vf.marker))&&zd.push(Vf.marker.parent||Vf.marker)}++Jd}),zd},getAllMarks:function(){var Nd=[];return this.iter(function(Pd){var Wd=Pd.markedSpans;if(Wd)for(var zd=0;zdNd)return Pd=Nd,!0;Nd-=Ef,++Wd}),i_(this,fm(Wd,Pd))},indexFromPos:function(Nd){Nd=i_(this,Nd);var Pd=Nd.ch;if(Nd.linePd&&(Pd=Nd.from),Nd.to!=null&&Nd.to-1){Pd.state.draggingText(Nd),setTimeout(function(){return Pd.display.input.focus()},20);return}try{var _h=Nd.dataTransfer.getData("Text");if(_h){var Ch;if(Pd.state.draggingText&&!Pd.state.draggingText.copy&&(Ch=Pd.listSelections()),Cg(Pd.doc,db(Wd,Wd)),Ch)for(var $h=0;$h=0;$f--)Gb(Nd.doc,"",zd[$f].from,zd[$f].to,"+delete");K_(Nd)})}function V1(Nd,Pd,Wd){var zd=Df(Nd.text,Pd+Wd,Wd);return zd<0||zd>Nd.text.length?null:zd}function n1(Nd,Pd,Wd){var zd=V1(Nd,Pd.ch,Wd);return zd==null?null:new fm(Pd.line,zd,Wd<0?"after":"before")}function i1(Nd,Pd,Wd,zd,Jd){if(Nd){Pd.doc.direction=="rtl"&&(Jd=-Jd);var Ef=Yh(Wd,Pd.doc.direction);if(Ef){var Of=Jd<0?sh(Ef):Ef[0],$f=Jd<0==(Of.level==1),Vf=$f?"after":"before",eh;if(Of.level>0||Pd.doc.direction=="rtl"){var _h=qg(Pd,Wd);eh=Jd<0?Wd.text.length-1:0;var Ch=Vg(Pd,_h,eh).top;eh=Af(function($h){return Vg(Pd,_h,$h).top==Ch},Jd<0==(Of.level==1)?Of.from:Of.to-1,eh),Vf=="before"&&(eh=V1(Wd,eh,1))}else eh=Jd<0?Of.to:Of.from;return new fm(zd,eh,Vf)}}return new fm(zd,Jd<0?Wd.text.length:0,Jd<0?"before":"after")}function gb(Nd,Pd,Wd,zd){var Jd=Yh(Pd,Nd.doc.direction);if(!Jd)return n1(Pd,Wd,zd);Wd.ch>=Pd.text.length?(Wd.ch=Pd.text.length,Wd.sticky="before"):Wd.ch<=0&&(Wd.ch=0,Wd.sticky="after");var Ef=yh(Jd,Wd.ch,Wd.sticky),Of=Jd[Ef];if(Nd.doc.direction=="ltr"&&Of.level%2==0&&(zd>0?Of.to>Wd.ch:Of.from=Of.from&&$h>=_h.begin)){var Bh=Ch?"before":"after";return new fm(Wd.line,$h,Bh)}}var sm=function($m,Um,Pm){for(var Gm=function($_,ng){return ng?new fm(Wd.line,$f($_,1),"before"):new fm(Wd.line,$_,"after")};$m>=0&&$m0==(e_.level!=1),f_=Jm?Pm.begin:$f(Pm.end,-1);if(e_.from<=f_&&f_0?_h.end:$f(_h.begin,-1);return Sm!=null&&!(zd>0&&Sm==Pd.text.length)&&(pm=sm(zd>0?0:Jd.length-1,zd,eh(Sm)),pm)?pm:null}var a1={selectAll:bv,singleSelection:function(Nd){return Nd.setSelection(Nd.getCursor("anchor"),Nd.getCursor("head"),Yf)},killLine:function(Nd){return _b(Nd,function(Pd){if(Pd.empty()){var Wd=Nm(Nd.doc,Pd.head.line).text.length;return Pd.head.ch==Wd&&Pd.head.line0)Jd=new fm(Jd.line,Jd.ch+1),Nd.replaceRange(Ef.charAt(Jd.ch-1)+Ef.charAt(Jd.ch-2),fm(Jd.line,Jd.ch-2),Jd,"+transpose");else if(Jd.line>Nd.doc.first){var Of=Nm(Nd.doc,Jd.line-1).text;Of&&(Jd=new fm(Jd.line,1),Nd.replaceRange(Ef.charAt(0)+Nd.doc.lineSeparator()+Of.charAt(Of.length-1),fm(Jd.line-1,Of.length-1),Jd,"+transpose"))}}Wd.push(new I_(Jd,Jd))}Nd.setSelections(Wd)})},newlineAndIndent:function(Nd){return wg(Nd,function(){for(var Pd=Nd.listSelections(),Wd=Pd.length-1;Wd>=0;Wd--)Nd.replaceRange(Nd.doc.lineSeparator(),Pd[Wd].anchor,Pd[Wd].head,"+input");Pd=Nd.listSelections();for(var zd=0;zdNd&&n_(Pd,this.pos)==0&&Wd==this.button};var $0,Av;function uT(Nd,Pd){var Wd=+new Date;return Av&&Av.compare(Wd,Nd,Pd)?($0=Av=null,"triple"):$0&&$0.compare(Wd,Nd,Pd)?(Av=new Cv(Wd,Nd,Pd),$0=null,"double"):($0=new Cv(Wd,Nd,Pd),Av=null,"single")}function cT(Nd){var Pd=this,Wd=Pd.display;if(!(Qm(Pd,Nd)||Wd.activeTouch&&Wd.input.supportsTouch())){if(Wd.input.ensurePolled(),Wd.shift=Nd.shiftKey,D_(Wd,Nd)){dd||(Wd.scroller.draggable=!1,setTimeout(function(){return Wd.scroller.draggable=!0},100));return}if(!Dv(Pd,Nd)){var zd=k0(Pd,Nd),Jd=F_(Nd),Ef=zd?uT(zd,Jd):"single";Wf(Pd).focus(),Jd==1&&Pd.state.selectingText&&Pd.state.selectingText(Nd),!(zd&&dT(Pd,Jd,zd,Ef,Nd))&&(Jd==1?zd?o1(Pd,zd,Ef,Nd):X_(Nd)==Wd.scroller&&Xm(Nd):Jd==2?(zd&&mv(Pd.doc,zd),setTimeout(function(){return Wd.input.focus()},20)):Jd==3&&(Kd?Pd.display.input.onContextMenu(Nd):uv(Pd)))}}}function dT(Nd,Pd,Wd,zd,Jd){var Ef="Click";return zd=="double"?Ef="Double"+Ef:zd=="triple"&&(Ef="Triple"+Ef),Ef=(Pd==1?"Left":Pd==2?"Middle":"Right")+Ef,s1(Nd,dE(Ef,Jd),Jd,function(Of){if(typeof Of=="string"&&(Of=a1[Of]),!Of)return!1;var $f=!1;try{Nd.isReadOnly()&&(Nd.state.suppressEdits=!0),$f=Of(Nd,Wd)!=wf}finally{Nd.state.suppressEdits=!1}return $f})}function Nv(Nd,Pd,Wd){var zd=Nd.getOption("configureMouse"),Jd=zd?zd(Nd,Pd,Wd):{};if(Jd.unit==null){var Ef=jd?Wd.shiftKey&&Wd.metaKey:Wd.altKey;Jd.unit=Ef?"rectangle":Pd=="single"?"char":Pd=="double"?"word":"line"}return(Jd.extend==null||Nd.doc.extend)&&(Jd.extend=Nd.doc.extend||Wd.shiftKey),Jd.addNew==null&&(Jd.addNew=Fd?Wd.metaKey:Wd.ctrlKey),Jd.moveOnDrag==null&&(Jd.moveOnDrag=!(Fd?Wd.altKey:Wd.ctrlKey)),Jd}function o1(Nd,Pd,Wd,zd){ud?setTimeout(yf(ub,Nd),0):Nd.curOp.focus=zf(Bf(Nd));var Jd=Nv(Nd,Wd,zd),Ef=Nd.doc.sel,Of;Nd.options.dragDrop&&N_&&!Nd.isReadOnly()&&Wd=="single"&&(Of=Ef.contains(Pd))>-1&&(n_((Of=Ef.ranges[Of]).from(),Pd)<0||Pd.xRel>0)&&(n_(Of.to(),Pd)>0||Pd.xRel<0)?JT(Nd,zd,Pd,Jd):pT(Nd,zd,Pd,Jd)}function JT(Nd,Pd,Wd,zd){var Jd=Nd.display,Ef=!1,Of=M_(Nd,function(eh){dd&&(Jd.scroller.draggable=!1),Nd.state.draggingText=!1,Nd.state.delayingBlurEvent&&(Nd.hasFocus()?Nd.state.delayingBlurEvent=!1:uv(Nd)),Dm(Jd.wrapper.ownerDocument,"mouseup",Of),Dm(Jd.wrapper.ownerDocument,"mousemove",$f),Dm(Jd.scroller,"dragstart",Vf),Dm(Jd.scroller,"drop",Of),Ef||(Xm(eh),zd.addNew||mv(Nd.doc,Wd,null,null,zd.extend),dd&&!Id||ud&&cd==9?setTimeout(function(){Jd.wrapper.ownerDocument.body.focus({preventScroll:!0}),Jd.input.focus()},20):Jd.input.focus())}),$f=function(eh){Ef=Ef||Math.abs(Pd.clientX-eh.clientX)+Math.abs(Pd.clientY-eh.clientY)>=10},Vf=function(){return Ef=!0};dd&&(Jd.scroller.draggable=!0),Nd.state.draggingText=Of,Of.copy=!zd.moveOnDrag,im(Jd.wrapper.ownerDocument,"mouseup",Of),im(Jd.wrapper.ownerDocument,"mousemove",$f),im(Jd.scroller,"dragstart",Vf),im(Jd.scroller,"drop",Of),Nd.state.delayingBlurEvent=!0,setTimeout(function(){return Jd.input.focus()},20),Jd.scroller.dragDrop&&Jd.scroller.dragDrop()}function _E(Nd,Pd,Wd){if(Wd=="char")return new I_(Pd,Pd);if(Wd=="word")return Nd.findWordAt(Pd);if(Wd=="line")return new I_(fm(Pd.line,0),i_(Nd.doc,fm(Pd.line+1,0)));var zd=Wd(Nd,Pd);return new I_(zd.from,zd.to)}function pT(Nd,Pd,Wd,zd){ud&&uv(Nd);var Jd=Nd.display,Ef=Nd.doc;Xm(Pd);var Of,$f,Vf=Ef.sel,eh=Vf.ranges;if(zd.addNew&&!zd.extend?($f=Ef.sel.contains(Wd),$f>-1?Of=eh[$f]:Of=new I_(Wd,Wd)):(Of=Ef.sel.primary(),$f=Ef.sel.primIndex),zd.unit=="rectangle")zd.addNew||(Of=new I_(Wd,Wd)),Wd=k0(Nd,Pd,!0,!0),$f=-1;else{var _h=_E(Nd,Wd,zd.unit);zd.extend?Of=bg(Of,_h.anchor,_h.head,zd.extend):Of=_h}zd.addNew?$f==-1?($f=eh.length,xg(Ef,S0(Nd,eh.concat([Of]),$f),{scroll:!1,origin:"*mouse"})):eh.length>1&&eh[$f].empty()&&zd.unit=="char"&&!zd.extend?(xg(Ef,S0(Nd,eh.slice(0,$f).concat(eh.slice($f+1)),0),{scroll:!1,origin:"*mouse"}),Vf=Ef.sel):s0(Ef,$f,Of,uh):($f=0,xg(Ef,new J_([Of],0),uh),Vf=Ef.sel);var Ch=Wd;function $h(Pm){if(n_(Ch,Pm)!=0)if(Ch=Pm,zd.unit=="rectangle"){for(var Gm=[],e_=Nd.options.tabSize,Jm=Rf(Nm(Ef,Wd.line).text,Wd.ch,e_),f_=Rf(Nm(Ef,Pm.line).text,Pm.ch,e_),$_=Math.min(Jm,f_),ng=Math.max(Jm,f_),W_=Math.min(Wd.line,Pm.line),Z_=Math.min(Nd.lastLine(),Math.max(Wd.line,Pm.line));W_<=Z_;W_++){var sg=Nm(Ef,W_).text,og=Cf(sg,$_,e_);$_==ng?Gm.push(new I_(fm(W_,og),fm(W_,og))):sg.length>og&&Gm.push(new I_(fm(W_,og),fm(W_,Cf(sg,ng,e_))))}Gm.length||Gm.push(new I_(Wd,Wd)),xg(Ef,S0(Nd,Vf.ranges.slice(0,$f).concat(Gm),$f),{origin:"*mouse",scroll:!1}),Nd.scrollIntoView(Pm)}else{var kg=Of,Ag=_E(Nd,Pm,zd.unit),pg=kg.anchor,lg;n_(Ag.anchor,pg)>0?(lg=Ag.head,pg=jg(kg.from(),Ag.anchor)):(lg=Ag.anchor,pg=p0(kg.to(),Ag.head));var eg=Vf.ranges.slice(0);eg[$f]=W1(Nd,new I_(i_(Ef,pg),lg)),xg(Ef,S0(Nd,eg,$f),uh)}}var Bh=Jd.wrapper.getBoundingClientRect(),sm=0;function pm(Pm){var Gm=++sm,e_=k0(Nd,Pm,!0,zd.unit=="rectangle");if(e_)if(n_(e_,Ch)!=0){Nd.curOp.focus=zf(Bf(Nd)),$h(e_);var Jm=Pb(Jd,Ef);(e_.line>=Jm.to||e_.lineBh.bottom?20:0;f_&&setTimeout(M_(Nd,function(){sm==Gm&&(Jd.scroller.scrollTop+=f_,pm(Pm))}),50)}}function Sm(Pm){Nd.state.selectingText=!1,sm=1/0,Pm&&(Xm(Pm),Jd.input.focus()),Dm(Jd.wrapper.ownerDocument,"mousemove",$m),Dm(Jd.wrapper.ownerDocument,"mouseup",Um),Ef.history.lastSelOrigin=null}var $m=M_(Nd,function(Pm){Pm.buttons===0||!F_(Pm)?Sm(Pm):pm(Pm)}),Um=M_(Nd,Sm);Nd.state.selectingText=Um,im(Jd.wrapper.ownerDocument,"mousemove",$m),im(Jd.wrapper.ownerDocument,"mouseup",Um)}function W1(Nd,Pd){var Wd=Pd.anchor,zd=Pd.head,Jd=Nm(Nd.doc,Wd.line);if(n_(Wd,zd)==0&&Wd.sticky==zd.sticky)return Pd;var Ef=Yh(Jd);if(!Ef)return Pd;var Of=yh(Ef,Wd.ch,Wd.sticky),$f=Ef[Of];if($f.from!=Wd.ch&&$f.to!=Wd.ch)return Pd;var Vf=Of+($f.from==Wd.ch==($f.level!=1)?0:1);if(Vf==0||Vf==Ef.length)return Pd;var eh;if(zd.line!=Wd.line)eh=(zd.line-Wd.line)*(Nd.doc.direction=="ltr"?1:-1)>0;else{var _h=yh(Ef,zd.ch,zd.sticky),Ch=_h-Of||(zd.ch-Wd.ch)*($f.level==1?-1:1);_h==Vf-1||_h==Vf?eh=Ch<0:eh=Ch>0}var $h=Ef[Vf+(eh?-1:0)],Bh=eh==($h.level==1),sm=Bh?$h.from:$h.to,pm=Bh?"after":"before";return Wd.ch==sm&&Wd.sticky==pm?Pd:new I_(new fm(Wd.line,sm,pm),zd)}function gE(Nd,Pd,Wd,zd){var Jd,Ef;if(Pd.touches)Jd=Pd.touches[0].clientX,Ef=Pd.touches[0].clientY;else try{Jd=Pd.clientX,Ef=Pd.clientY}catch{return!1}if(Jd>=Math.floor(Nd.display.gutters.getBoundingClientRect().right))return!1;zd&&Xm(Pd);var Of=Nd.display,$f=Of.lineDiv.getBoundingClientRect();if(Ef>$f.bottom||!T_(Nd,Wd))return H_(Pd);Ef-=$f.top-Of.viewOffset;for(var Vf=0;Vf=Jd){var _h=g_(Nd.doc,Ef),Ch=Nd.display.gutterSpecs[Vf];return Om(Nd,Wd,Nd,_h,Ch.className,Pd),H_(Pd)}}}function Dv(Nd,Pd){return gE(Nd,Pd,"gutterClick",!0)}function Y1(Nd,Pd){D_(Nd.display,Pd)||K1(Nd,Pd)||Qm(Nd,Pd,"contextmenu")||Kd||Nd.display.input.onContextMenu(Pd)}function K1(Nd,Pd){return T_(Nd,"gutterContextMenu")?gE(Nd,Pd,"gutterContextMenu",!1):!1}function fT(Nd){Nd.display.wrapper.className=Nd.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+Nd.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Uv(Nd)}var Yb={toString:function(){return"CodeMirror.Init"}},l1={},u1={};function bE(Nd){var Pd=Nd.optionHandlers;function Wd(zd,Jd,Ef,Of){Nd.defaults[zd]=Jd,Ef&&(Pd[zd]=Of?function($f,Vf,eh){eh!=Yb&&Ef($f,Vf,eh)}:Ef)}Nd.defineOption=Wd,Nd.Init=Yb,Wd("value","",function(zd,Jd){return zd.setValue(Jd)},!0),Wd("mode",null,function(zd,Jd){zd.doc.modeOption=Jd,eE(zd)},!0),Wd("indentUnit",2,eE,!0),Wd("indentWithTabs",!1),Wd("smartIndent",!0),Wd("tabSize",4,function(zd){Ub(zd),Uv(zd),$g(zd)},!0),Wd("lineSeparator",null,function(zd,Jd){if(zd.doc.lineSep=Jd,!!Jd){var Ef=[],Of=zd.doc.first;zd.doc.iter(function(Vf){for(var eh=0;;){var _h=Vf.text.indexOf(Jd,eh);if(_h==-1)break;eh=_h+Jd.length,Ef.push(fm(Of,_h))}Of++});for(var $f=Ef.length-1;$f>=0;$f--)Gb(zd.doc,Jd,Ef[$f],fm(Ef[$f].line,Ef[$f].ch+Jd.length))}}),Wd("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]/g,function(zd,Jd,Ef){zd.state.specialChars=new RegExp(Jd.source+(Jd.test(" ")?"":"| "),"g"),Ef!=Yb&&zd.refresh()}),Wd("specialCharPlaceholder",O0,function(zd){return zd.refresh()},!0),Wd("electricChars",!0),Wd("inputStyle",Ld?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),Wd("spellcheck",!1,function(zd,Jd){return zd.getInputField().spellcheck=Jd},!0),Wd("autocorrect",!1,function(zd,Jd){return zd.getInputField().autocorrect=Jd},!0),Wd("autocapitalize",!1,function(zd,Jd){return zd.getInputField().autocapitalize=Jd},!0),Wd("rtlMoveVisually",!Vd),Wd("wholeLineUpdateBefore",!0),Wd("theme","default",function(zd){fT(zd),Yv(zd)},!0),Wd("keyMap","default",function(zd,Jd,Ef){var Of=r1(Jd),$f=Ef!=Yb&&r1(Ef);$f&&$f.detach&&$f.detach(zd,Of),Of.attach&&Of.attach(zd,$f||null)}),Wd("extraKeys",null),Wd("configureMouse",null),Wd("lineWrapping",!1,hT,!0),Wd("gutters",[],function(zd,Jd){zd.display.gutterSpecs=T0(Jd,zd.options.lineNumbers),Yv(zd)},!0),Wd("fixedGutter",!0,function(zd,Jd){zd.display.gutters.style.left=Jd?R_(zd.display)+"px":"0",zd.refresh()},!0),Wd("coverGutterNextToScrollbar",!1,function(zd){return M0(zd)},!0),Wd("scrollbarStyle","native",function(zd){ME(zd),M0(zd),zd.display.scrollbars.setScrollTop(zd.doc.scrollTop),zd.display.scrollbars.setScrollLeft(zd.doc.scrollLeft)},!0),Wd("lineNumbers",!1,function(zd,Jd){zd.display.gutterSpecs=T0(zd.options.gutters,Jd),Yv(zd)},!0),Wd("firstLineNumber",1,Yv,!0),Wd("lineNumberFormatter",function(zd){return zd},Yv,!0),Wd("showCursorWhenSelecting",!1,lb,!0),Wd("resetSelectionOnContextMenu",!0),Wd("lineWiseCopyCut",!0),Wd("pasteLinesPerSelection",!0),Wd("selectionsMayTouch",!1),Wd("readOnly",!1,function(zd,Jd){Jd=="nocursor"&&(cv(zd),zd.display.input.blur()),zd.display.input.readOnlyChanged(Jd)}),Wd("screenReaderLabel",null,function(zd,Jd){Jd=Jd===""?null:Jd,zd.display.input.screenReaderLabelChanged(Jd)}),Wd("disableInput",!1,function(zd,Jd){Jd||zd.display.input.reset()},!0),Wd("dragDrop",!0,ZT),Wd("allowDropFileTypes",null),Wd("cursorBlinkRate",530),Wd("cursorScrollMargin",0),Wd("cursorHeight",1,lb,!0),Wd("singleCursorHeightPerLine",!0,lb,!0),Wd("workTime",100),Wd("workDelay",100),Wd("flattenSpans",!0,Ub,!0),Wd("addModeClass",!1,Ub,!0),Wd("pollInterval",100),Wd("undoDepth",200,function(zd,Jd){return zd.doc.history.undoDepth=Jd}),Wd("historyEventDelay",1250),Wd("viewportMargin",10,function(zd){return zd.refresh()},!0),Wd("maxHighlightLength",1e4,Ub,!0),Wd("moveInputWithCursor",!0,function(zd,Jd){Jd||zd.display.input.resetPosition()}),Wd("tabindex",null,function(zd,Jd){return zd.display.input.getField().tabIndex=Jd||""}),Wd("autofocus",null),Wd("direction","ltr",function(zd,Jd){return zd.doc.setDirection(Jd)},!0),Wd("phrases",null)}function ZT(Nd,Pd,Wd){var zd=Wd&&Wd!=Yb;if(!Pd!=!zd){var Jd=Nd.display.dragFunctions,Ef=Pd?im:Dm;Ef(Nd.display.scroller,"dragstart",Jd.start),Ef(Nd.display.scroller,"dragenter",Jd.enter),Ef(Nd.display.scroller,"dragover",Jd.over),Ef(Nd.display.scroller,"dragleave",Jd.leave),Ef(Nd.display.scroller,"drop",Jd.drop)}}function hT(Nd){Nd.options.lineWrapping?(Jf(Nd.display.wrapper,"CodeMirror-wrap"),Nd.display.sizer.style.minWidth="",Nd.display.sizerWidth=null):(df(Nd.display.wrapper,"CodeMirror-wrap"),rv(Nd)),I1(Nd),$g(Nd),Uv(Nd),setTimeout(function(){return M0(Nd)},100)}function A_(Nd,Pd){var Wd=this;if(!(this instanceof A_))return new A_(Nd,Pd);this.options=Pd=Pd?hf(Pd):{},hf(l1,Pd,!1);var zd=Pd.value;typeof zd=="string"?zd=new Rg(zd,Pd.mode,null,Pd.lineSeparator,Pd.direction):Pd.mode&&(zd.modeOption=Pd.mode),this.doc=zd;var Jd=new A_.inputStyles[Pd.inputStyle](this),Ef=this.display=new FT(Nd,zd,Jd,Pd);Ef.wrapper.CodeMirror=this,fT(this),Pd.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),ME(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new jf,keySeq:null,specialChars:null},Pd.autofocus&&!Ld&&Ef.input.focus(),ud&&cd<11&&setTimeout(function(){return Wd.display.input.reset(!0)},20),mT(this),aT(),Fb(this),this.curOp.forceUpdate=!0,tE(this,zd),Pd.autofocus&&!Ld||this.hasFocus()?setTimeout(function(){Wd.hasFocus()&&!Wd.state.focused&&Fy(Wd)},20):cv(this);for(var Of in u1)u1.hasOwnProperty(Of)&&u1[Of](this,Pd[Of],Yb);LE(this),Pd.finishInit&&Pd.finishInit(this);for(var $f=0;$f20*20}im(Pd.scroller,"touchstart",function(Vf){if(!Qm(Nd,Vf)&&!Ef(Vf)&&!Dv(Nd,Vf)){Pd.input.ensurePolled(),clearTimeout(Wd);var eh=+new Date;Pd.activeTouch={start:eh,moved:!1,prev:eh-zd.end<=300?zd:null},Vf.touches.length==1&&(Pd.activeTouch.left=Vf.touches[0].pageX,Pd.activeTouch.top=Vf.touches[0].pageY)}}),im(Pd.scroller,"touchmove",function(){Pd.activeTouch&&(Pd.activeTouch.moved=!0)}),im(Pd.scroller,"touchend",function(Vf){var eh=Pd.activeTouch;if(eh&&!D_(Pd,Vf)&&eh.left!=null&&!eh.moved&&new Date-eh.start<300){var _h=Nd.coordsChar(Pd.activeTouch,"page"),Ch;!eh.prev||Of(eh,eh.prev)?Ch=new I_(_h,_h):!eh.prev.prev||Of(eh,eh.prev.prev)?Ch=Nd.findWordAt(_h):Ch=new I_(fm(_h.line,0),i_(Nd.doc,fm(_h.line+1,0))),Nd.setSelection(Ch.anchor,Ch.head),Nd.focus(),Xm(Vf)}Jd()}),im(Pd.scroller,"touchcancel",Jd),im(Pd.scroller,"scroll",function(){Pd.scroller.clientHeight&&(qv(Nd,Pd.scroller.scrollTop),y0(Nd,Pd.scroller.scrollLeft,!0),Om(Nd,"scroll",Nd))}),im(Pd.scroller,"mousewheel",function(Vf){return jE(Nd,Vf)}),im(Pd.scroller,"DOMMouseScroll",function(Vf){return jE(Nd,Vf)}),im(Pd.wrapper,"scroll",function(){return Pd.wrapper.scrollTop=Pd.wrapper.scrollLeft=0}),Pd.dragFunctions={enter:function(Vf){Qm(Nd,Vf)||Y_(Vf)},over:function(Vf){Qm(Nd,Vf)||(m_(Nd,Vf),Y_(Vf))},start:function(Vf){return cE(Nd,Vf)},drop:M_(Nd,VT),leave:function(Vf){Qm(Nd,Vf)||nT(Nd)}};var $f=Pd.input.getField();im($f,"keyup",function(Vf){return A0.call(Nd,Vf)}),im($f,"keydown",M_(Nd,mE)),im($f,"keypress",M_(Nd,lT)),im($f,"focus",function(Vf){return Fy(Nd,Vf)}),im($f,"blur",function(Vf){return cv(Nd,Vf)})}var X1=[];A_.defineInitHook=function(Nd){return X1.push(Nd)};function c1(Nd,Pd,Wd,zd){var Jd=Nd.doc,Ef;Wd==null&&(Wd="add"),Wd=="smart"&&(Jd.mode.indent?Ef=mg(Nd,Pd).state:Wd="prev");var Of=Nd.options.tabSize,$f=Nm(Jd,Pd),Vf=Rf($f.text,null,Of);$f.stateAfter&&($f.stateAfter=null);var eh=$f.text.match(/^\s*/)[0],_h;if(!zd&&!/\S/.test($f.text))_h=0,Wd="not";else if(Wd=="smart"&&(_h=Jd.mode.indent(Ef,$f.text.slice(eh.length),$f.text),_h==wf||_h>150)){if(!zd)return;Wd="prev"}Wd=="prev"?Pd>Jd.first?_h=Rf(Nm(Jd,Pd-1).text,null,Of):_h=0:Wd=="add"?_h=Vf+Nd.options.indentUnit:Wd=="subtract"?_h=Vf-Nd.options.indentUnit:typeof Wd=="number"&&(_h=Vf+Wd),_h=Math.max(0,_h);var Ch="",$h=0;if(Nd.options.indentWithTabs)for(var Bh=Math.floor(_h/Of);Bh;--Bh)$h+=Of,Ch+=" ";if($h<_h&&(Ch+=Lf(_h-$h)),Ch!=eh)return Gb(Jd,Ch,fm(Pd,0),fm(Pd,eh.length),"+input"),$f.stateAfter=null,!0;for(var sm=0;smOf,Vf=Sf(Pd),eh=null;if($f&&zd.ranges.length>1)if(o0&&o0.text.join(` -`)==Pd){if(zd.ranges.length%o0.text.length==0){eh=[];for(var _h=0;_h=0;$h--){var Bh=zd.ranges[$h],sm=Bh.from(),pm=Bh.to();Bh.empty()&&(Wd&&Wd>0?sm=fm(sm.line,sm.ch-Wd):Nd.state.overwrite&&!$f?pm=fm(pm.line,Math.min(Nm(Ef,pm.line).text.length,pm.ch+sh(Vf).length)):$f&&o0&&o0.lineWise&&o0.text.join(` -`)==Vf.join(` -`)&&(sm=pm=fm(sm.line,0)));var Sm={from:sm,to:pm,text:eh?eh[$h%eh.length]:Vf,origin:Jd||($f?"paste":Nd.state.cutIncoming>Of?"cut":"+input")};vv(Nd.doc,Sm),Gd(Nd,"inputRead",Nd,Sm)}Pd&&!$f&&J1(Nd,Pd),K_(Nd),Nd.curOp.updateInput<2&&(Nd.curOp.updateInput=Ch),Nd.curOp.typing=!0,Nd.state.pasteIncoming=Nd.state.cutIncoming=-1}function L0(Nd,Pd){var Wd=Nd.clipboardData&&Nd.clipboardData.getData("Text");if(Wd)return Nd.preventDefault(),!Pd.isReadOnly()&&!Pd.options.disableInput&&Pd.hasFocus()&&wg(Pd,function(){return vE(Pd,Wd,0,null,"paste")}),!0}function J1(Nd,Pd){if(!(!Nd.options.electricChars||!Nd.options.smartIndent))for(var Wd=Nd.doc.sel,zd=Wd.ranges.length-1;zd>=0;zd--){var Jd=Wd.ranges[zd];if(!(Jd.head.ch>100||zd&&Wd.ranges[zd-1].head.line==Jd.head.line)){var Ef=Nd.getModeAt(Jd.head),Of=!1;if(Ef.electricChars){for(var $f=0;$f-1){Of=c1(Nd,Jd.head.line,"smart");break}}else Ef.electricInput&&Ef.electricInput.test(Nm(Nd.doc,Jd.head.line).text.slice(0,Jd.head.ch))&&(Of=c1(Nd,Jd.head.line,"smart"));Of&&Gd(Nd,"electricInput",Nd,Jd.head.line)}}}function Z1(Nd){for(var Pd=[],Wd=[],zd=0;zdEf&&(c1(this,$f.head.line,zd,!0),Ef=$f.head.line,Of==this.doc.sel.primIndex&&K_(this));else{var Vf=$f.from(),eh=$f.to(),_h=Math.max(Ef,Vf.line);Ef=Math.min(this.lastLine(),eh.line-(eh.ch?0:1))+1;for(var Ch=_h;Ch0&&s0(this.doc,Of,new I_(Vf,$h[Of].to()),Yf)}}}),getTokenAt:function(zd,Jd){return nb(this,zd,Jd)},getLineTokens:function(zd,Jd){return nb(this,fm(zd),Jd,!0)},getTokenTypeAt:function(zd){zd=i_(this.doc,zd);var Jd=I0(this,Nm(this.doc,zd.line)),Ef=0,Of=(Jd.length-1)/2,$f=zd.ch,Vf;if($f==0)Vf=Jd[2];else for(;;){var eh=Ef+Of>>1;if((eh?Jd[eh*2-1]:0)>=$f)Of=eh;else if(Jd[eh*2+1]<$f)Ef=eh+1;else{Vf=Jd[eh*2+2];break}}var _h=Vf?Vf.indexOf("overlay "):-1;return _h<0?Vf:_h==0?null:Vf.slice(0,_h-1)},getModeAt:function(zd){var Jd=this.doc.mode;return Jd.innerMode?Nd.innerMode(Jd,this.getTokenAt(zd).state).mode:Jd},getHelper:function(zd,Jd){return this.getHelpers(zd,Jd)[0]},getHelpers:function(zd,Jd){var Ef=[];if(!Wd.hasOwnProperty(Jd))return Ef;var Of=Wd[Jd],$f=this.getModeAt(zd);if(typeof $f[Jd]=="string")Of[$f[Jd]]&&Ef.push(Of[$f[Jd]]);else if($f[Jd])for(var Vf=0;Vf<$f[Jd].length;Vf++){var eh=Of[$f[Jd][Vf]];eh&&Ef.push(eh)}else $f.helperType&&Of[$f.helperType]?Ef.push(Of[$f.helperType]):Of[$f.name]&&Ef.push(Of[$f.name]);for(var _h=0;_hVf&&(zd=Vf,Of=!0),$f=Nm(this.doc,zd)}else $f=zd;return W0(this,$f,{top:0,left:0},Jd||"page",Ef||Of).top+(Of?this.doc.height-r0($f):0)},defaultTextHeight:function(){return g0(this.display)},defaultCharWidth:function(){return Y0(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(zd,Jd,Ef,Of,$f){var Vf=this.display;zd=Kh(this,i_(this.doc,zd));var eh=zd.bottom,_h=zd.left;if(Jd.style.position="absolute",Jd.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(Jd),Vf.sizer.appendChild(Jd),Of=="over")eh=zd.top;else if(Of=="above"||Of=="near"){var Ch=Math.max(Vf.wrapper.clientHeight,this.doc.height),$h=Math.max(Vf.sizer.clientWidth,Vf.lineSpace.clientWidth);(Of=="above"||zd.bottom+Jd.offsetHeight>Ch)&&zd.top>Jd.offsetHeight?eh=zd.top-Jd.offsetHeight:zd.bottom+Jd.offsetHeight<=Ch&&(eh=zd.bottom),_h+Jd.offsetWidth>$h&&(_h=$h-Jd.offsetWidth)}Jd.style.top=eh+"px",Jd.style.left=Jd.style.right="",$f=="right"?(_h=Vf.sizer.clientWidth-Jd.offsetWidth,Jd.style.right="0px"):($f=="left"?_h=0:$f=="middle"&&(_h=(Vf.sizer.clientWidth-Jd.offsetWidth)/2),Jd.style.left=_h+"px"),Ef&&kE(this,{left:_h,top:eh,right:_h+Jd.offsetWidth,bottom:eh+Jd.offsetHeight})},triggerOnKeyDown:s_(mE),triggerOnKeyPress:s_(lT),triggerOnKeyUp:A0,triggerOnMouseDown:s_(cT),execCommand:function(zd){if(a1.hasOwnProperty(zd))return a1[zd].call(null,this)},triggerElectric:s_(function(zd){J1(this,zd)}),findPosH:function(zd,Jd,Ef,Of){var $f=1;Jd<0&&($f=-1,Jd=-Jd);for(var Vf=i_(this.doc,zd),eh=0;eh0&&_h(Ef.charAt(Of-1));)--Of;for(;$f.5||this.options.lineWrapping)&&I1(this),Om(this,"refresh",this)}),swapDoc:s_(function(zd){var Jd=this.doc;return Jd.cm=null,this.state.selectingText&&this.state.selectingText(),tE(this,zd),Uv(this),this.display.input.reset(),dg(this,zd.scrollLeft,zd.scrollTop),this.curOp.forceScroll=!0,Gd(this,"swapDoc",this,Jd),Jd}),phrase:function(zd){var Jd=this.options.phrases;return Jd&&Object.prototype.hasOwnProperty.call(Jd,zd)?Jd[zd]:zd},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},S_(Nd),Nd.registerHelper=function(zd,Jd,Ef){Wd.hasOwnProperty(zd)||(Wd[zd]=Nd[zd]={_global:[]}),Wd[zd][Jd]=Ef},Nd.registerGlobalHelper=function(zd,Jd,Ef,Of){Nd.registerHelper(zd,Jd,Of),Wd[zd]._global.push({pred:Ef,val:Of})}}function a_(Nd,Pd,Wd,zd,Jd){var Ef=Pd,Of=Wd,$f=Nm(Nd,Pd.line),Vf=Jd&&Nd.direction=="rtl"?-Wd:Wd;function eh(){var Um=Pd.line+Vf;return Um=Nd.first+Nd.size?!1:(Pd=new fm(Um,Pd.ch,Pd.sticky),$f=Nm(Nd,Um))}function _h(Um){var Pm;if(zd=="codepoint"){var Gm=$f.text.charCodeAt(Pd.ch+(Wd>0?0:-1));if(isNaN(Gm))Pm=null;else{var e_=Wd>0?Gm>=55296&&Gm<56320:Gm>=56320&&Gm<57343;Pm=new fm(Pd.line,Math.max(0,Math.min($f.text.length,Pd.ch+Wd*(e_?2:1))),-Wd)}}else Jd?Pm=gb(Nd.cm,$f,Pd,Wd):Pm=n1($f,Pd,Wd);if(Pm==null)if(!Um&&eh())Pd=i1(Jd,Nd.cm,$f,Pd.line,Vf);else return!1;else Pd=Pm;return!0}if(zd=="char"||zd=="codepoint")_h();else if(zd=="column")_h(!0);else if(zd=="word"||zd=="group")for(var Ch=null,$h=zd=="group",Bh=Nd.cm&&Nd.cm.getHelper(Pd,"wordChars"),sm=!0;!(Wd<0&&!_h(!sm));sm=!1){var pm=$f.text.charAt(Pd.ch)||` -`,Sm=kh(pm,Bh)?"w":$h&&pm==` -`?"n":!$h||/\s/.test(pm)?null:"p";if($h&&!sm&&!Sm&&(Sm="s"),Ch&&Ch!=Sm){Wd<0&&(Wd=1,_h(),Pd.sticky="after");break}if(Sm&&(Ch=Sm),Wd>0&&!_h(!sm))break}var $m=gv(Nd,Pd,Ef,Of,!0);return Ig(Ef,$m)&&($m.hitSide=!0),$m}function f1(Nd,Pd,Wd,zd){var Jd=Nd.doc,Ef=Pd.left,Of;if(zd=="page"){var $f=Math.min(Nd.display.wrapper.clientHeight,Wf(Nd).innerHeight||Jd(Nd).documentElement.clientHeight),Vf=Math.max($f-.5*g0(Nd.display),3);Of=(Wd>0?Pd.bottom:Pd.top)+Wd*Vf}else zd=="line"&&(Of=Wd>0?Pd.bottom+3:Pd.top-3);for(var eh;eh=C_(Nd,Ef,Of),!!eh.outside;){if(Wd<0?Of<=0:Of>=Jd.height){eh.hitSide=!0;break}Of+=Wd*5}return eh}var O_=function(Nd){this.cm=Nd,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new jf,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};O_.prototype.init=function(Nd){var Pd=this,Wd=this,zd=Wd.cm,Jd=Wd.div=Nd.lineDiv;Jd.contentEditable=!0,d1(Jd,zd.options.spellcheck,zd.options.autocorrect,zd.options.autocapitalize);function Ef($f){for(var Vf=$f.target;Vf;Vf=Vf.parentNode){if(Vf==Jd)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Vf.className))break}return!1}im(Jd,"paste",function($f){!Ef($f)||Qm(zd,$f)||L0($f,zd)||cd<=11&&setTimeout(M_(zd,function(){return Pd.updateFromDOM()}),20)}),im(Jd,"compositionstart",function($f){Pd.composing={data:$f.data,done:!1}}),im(Jd,"compositionupdate",function($f){Pd.composing||(Pd.composing={data:$f.data,done:!1})}),im(Jd,"compositionend",function($f){Pd.composing&&($f.data!=Pd.composing.data&&Pd.readFromDOMSoon(),Pd.composing.done=!0)}),im(Jd,"touchstart",function(){return Wd.forceCompositionEnd()}),im(Jd,"input",function(){Pd.composing||Pd.readFromDOMSoon()});function Of($f){if(!(!Ef($f)||Qm(zd,$f))){if(zd.somethingSelected())Q1({lineWise:!1,text:zd.getSelections()}),$f.type=="cut"&&zd.replaceSelection("",null,"cut");else if(zd.options.lineWiseCopyCut){var Vf=Z1(zd);Q1({lineWise:!0,text:Vf.text}),$f.type=="cut"&&zd.operation(function(){zd.setSelections(Vf.ranges,0,Yf),zd.replaceSelection("",null,"cut")})}else return;if($f.clipboardData){$f.clipboardData.clearData();var eh=o0.text.join(` -`);if($f.clipboardData.setData("Text",eh),$f.clipboardData.getData("Text")==eh){$f.preventDefault();return}}var _h=p1(),Ch=_h.firstChild;d1(Ch),zd.display.lineSpace.insertBefore(_h,zd.display.lineSpace.firstChild),Ch.value=o0.text.join(` -`);var $h=zf(Qf(Jd));Mf(Ch),setTimeout(function(){zd.display.lineSpace.removeChild(_h),$h.focus(),$h==Jd&&Wd.showPrimarySelection()},50)}}im(Jd,"copy",Of),im(Jd,"cut",Of)},O_.prototype.screenReaderLabelChanged=function(Nd){Nd?this.div.setAttribute("aria-label",Nd):this.div.removeAttribute("aria-label")},O_.prototype.prepareSelection=function(){var Nd=$y(this.cm,!1);return Nd.focus=zf(Qf(this.div))==this.div,Nd},O_.prototype.showSelection=function(Nd,Pd){!Nd||!this.cm.display.view.length||((Nd.focus||Pd)&&this.showPrimarySelection(),this.showMultipleSelections(Nd))},O_.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},O_.prototype.showPrimarySelection=function(){var Nd=this.getSelection(),Pd=this.cm,Wd=Pd.doc.sel.primary(),zd=Wd.from(),Jd=Wd.to();if(Pd.display.viewTo==Pd.display.viewFrom||zd.line>=Pd.display.viewTo||Jd.line=Pd.display.viewFrom&&bb(Pd,zd)||{node:$f[0].measure.map[2],offset:0},eh=Jd.lineNd.firstLine()&&(zd=fm(zd.line-1,Nm(Nd.doc,zd.line-1).length)),Jd.ch==Nm(Nd.doc,Jd.line).text.length&&Jd.linePd.viewTo-1)return!1;var Ef,Of,$f;zd.line==Pd.viewFrom||(Ef=kb(Nd,zd.line))==0?(Of=Lm(Pd.view[0].line),$f=Pd.view[0].node):(Of=Lm(Pd.view[Ef].line),$f=Pd.view[Ef-1].node.nextSibling);var Vf=kb(Nd,Jd.line),eh,_h;if(Vf==Pd.view.length-1?(eh=Pd.viewTo-1,_h=Pd.lineDiv.lastChild):(eh=Lm(Pd.view[Vf+1].line)-1,_h=Pd.view[Vf+1].node.previousSibling),!$f)return!1;for(var Ch=Nd.doc.splitLines(_T(Nd,$f,_h,Of,eh)),$h=G_(Nd.doc,fm(Of,0),fm(eh,Nm(Nd.doc,eh).text.length));Ch.length>1&&$h.length>1;)if(sh(Ch)==sh($h))Ch.pop(),$h.pop(),eh--;else if(Ch[0]==$h[0])Ch.shift(),$h.shift(),Of++;else break;for(var Bh=0,sm=0,pm=Ch[0],Sm=$h[0],$m=Math.min(pm.length,Sm.length);Bh<$m&&pm.charCodeAt(Bh)==Sm.charCodeAt(Bh);)++Bh;for(var Um=sh(Ch),Pm=sh($h),Gm=Math.min(Um.length-(Ch.length==1?Bh:0),Pm.length-($h.length==1?Bh:0));smzd.ch&&Um.charCodeAt(Um.length-sm-1)==Pm.charCodeAt(Pm.length-sm-1);)Bh--,sm++;Ch[Ch.length-1]=Um.slice(0,Um.length-sm).replace(/^\u200b+/,""),Ch[0]=Ch[0].slice(Bh).replace(/\u200b+$/,"");var e_=fm(Of,Bh),Jm=fm(eh,$h.length?sh($h).length-sm:0);if(Ch.length>1||Ch[0]||n_(e_,Jm))return Gb(Nd.doc,Ch,e_,Jm,"+input"),!0},O_.prototype.ensurePolled=function(){this.forceCompositionEnd()},O_.prototype.reset=function(){this.forceCompositionEnd()},O_.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},O_.prototype.readFromDOMSoon=function(){var Nd=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(Nd.readDOMTimeout=null,Nd.composing)if(Nd.composing.done)Nd.composing=null;else return;Nd.updateFromDOM()},80))},O_.prototype.updateFromDOM=function(){var Nd=this;(this.cm.isReadOnly()||!this.pollContent())&&wg(this.cm,function(){return $g(Nd.cm)})},O_.prototype.setUneditable=function(Nd){Nd.contentEditable="false"},O_.prototype.onKeyPress=function(Nd){Nd.charCode==0||this.composing||(Nd.preventDefault(),this.cm.isReadOnly()||M_(this.cm,vE)(this.cm,String.fromCharCode(Nd.charCode==null?Nd.keyCode:Nd.charCode),0))},O_.prototype.readOnlyChanged=function(Nd){this.div.contentEditable=String(Nd!="nocursor")},O_.prototype.onContextMenu=function(){},O_.prototype.resetPosition=function(){},O_.prototype.needsContentAttribute=!0;function bb(Nd,Pd){var Wd=N1(Nd,Pd.line);if(!Wd||Wd.hidden)return null;var zd=Nm(Nd.doc,Pd.line),Jd=CE(Wd,zd,Pd.line),Ef=Yh(zd,Nd.doc.direction),Of="left";if(Ef){var $f=yh(Ef,Pd.ch);Of=$f%2?"right":"left"}var Vf=wE(Jd.map,Pd.ch,Of);return Vf.offset=Vf.collapse=="right"?Vf.end:Vf.start,Vf}function e2(Nd){for(var Pd=Nd;Pd;Pd=Pd.parentNode)if(/CodeMirror-gutter-wrapper/.test(Pd.className))return!0;return!1}function vb(Nd,Pd){return Pd&&(Nd.bad=!0),Nd}function _T(Nd,Pd,Wd,zd,Jd){var Ef="",Of=!1,$f=Nd.doc.lineSeparator(),Vf=!1;function eh(Bh){return function(sm){return sm.id==Bh}}function _h(){Of&&(Ef+=$f,Vf&&(Ef+=$f),Of=Vf=!1)}function Ch(Bh){Bh&&(_h(),Ef+=Bh)}function $h(Bh){if(Bh.nodeType==1){var sm=Bh.getAttribute("cm-text");if(sm){Ch(sm);return}var pm=Bh.getAttribute("cm-marker"),Sm;if(pm){var $m=Nd.findMarks(fm(zd,0),fm(Jd+1,0),eh(+pm));$m.length&&(Sm=$m[0].find(0))&&Ch(G_(Nd.doc,Sm.from,Sm.to).join($f));return}if(Bh.getAttribute("contenteditable")=="false")return;var Um=/^(pre|div|p|li|table|br)$/i.test(Bh.nodeName);if(!/^br$/i.test(Bh.nodeName)&&Bh.textContent.length==0)return;Um&&_h();for(var Pm=0;Pm=9&&Pd.hasSelection&&(Pd.hasSelection=null),Wd.poll()}),im(Jd,"paste",function(Of){Qm(zd,Of)||L0(Of,zd)||(zd.state.pasteIncoming=+new Date,Wd.fastPoll())});function Ef(Of){if(!Qm(zd,Of)){if(zd.somethingSelected())Q1({lineWise:!1,text:zd.getSelections()});else if(zd.options.lineWiseCopyCut){var $f=Z1(zd);Q1({lineWise:!0,text:$f.text}),Of.type=="cut"?zd.setSelections($f.ranges,null,Yf):(Wd.prevInput="",Jd.value=$f.text.join(` -`),Mf(Jd))}else return;Of.type=="cut"&&(zd.state.cutIncoming=+new Date)}}im(Jd,"cut",Ef),im(Jd,"copy",Ef),im(Nd.scroller,"paste",function(Of){if(!(D_(Nd,Of)||Qm(zd,Of))){if(!Jd.dispatchEvent){zd.state.pasteIncoming=+new Date,Wd.focus();return}var $f=new Event("paste");$f.clipboardData=Of.clipboardData,Jd.dispatchEvent($f)}}),im(Nd.lineSpace,"selectstart",function(Of){D_(Nd,Of)||Xm(Of)}),im(Jd,"compositionstart",function(){var Of=zd.getCursor("from");Wd.composing&&Wd.composing.range.clear(),Wd.composing={start:Of,range:zd.markText(Of,zd.getCursor("to"),{className:"CodeMirror-composing"})}}),im(Jd,"compositionend",function(){Wd.composing&&(Wd.poll(),Wd.composing.range.clear(),Wd.composing=null)})},rg.prototype.createField=function(Nd){this.wrapper=p1(),this.textarea=this.wrapper.firstChild;var Pd=this.cm.options;d1(this.textarea,Pd.spellcheck,Pd.autocorrect,Pd.autocapitalize)},rg.prototype.screenReaderLabelChanged=function(Nd){Nd?this.textarea.setAttribute("aria-label",Nd):this.textarea.removeAttribute("aria-label")},rg.prototype.prepareSelection=function(){var Nd=this.cm,Pd=Nd.display,Wd=Nd.doc,zd=$y(Nd);if(Nd.options.moveInputWithCursor){var Jd=Kh(Nd,Wd.sel.primary().head,"div"),Ef=Pd.wrapper.getBoundingClientRect(),Of=Pd.lineDiv.getBoundingClientRect();zd.teTop=Math.max(0,Math.min(Pd.wrapper.clientHeight-10,Jd.top+Of.top-Ef.top)),zd.teLeft=Math.max(0,Math.min(Pd.wrapper.clientWidth-10,Jd.left+Of.left-Ef.left))}return zd},rg.prototype.showSelection=function(Nd){var Pd=this.cm,Wd=Pd.display;bf(Wd.cursorDiv,Nd.cursors),bf(Wd.selectionDiv,Nd.selection),Nd.teTop!=null&&(this.wrapper.style.top=Nd.teTop+"px",this.wrapper.style.left=Nd.teLeft+"px")},rg.prototype.reset=function(Nd){if(!(this.contextMenuPending||this.composing&&Nd)){var Pd=this.cm;if(this.resetting=!0,Pd.somethingSelected()){this.prevInput="";var Wd=Pd.getSelection();this.textarea.value=Wd,Pd.state.focused&&Mf(this.textarea),ud&&cd>=9&&(this.hasSelection=Wd)}else Nd||(this.prevInput=this.textarea.value="",ud&&cd>=9&&(this.hasSelection=null));this.resetting=!1}},rg.prototype.getField=function(){return this.textarea},rg.prototype.supportsTouch=function(){return!1},rg.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!Ld||zf(Qf(this.textarea))!=this.textarea))try{this.textarea.focus()}catch{}},rg.prototype.blur=function(){this.textarea.blur()},rg.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},rg.prototype.receivedFocus=function(){this.slowPoll()},rg.prototype.slowPoll=function(){var Nd=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){Nd.poll(),Nd.cm.state.focused&&Nd.slowPoll()})},rg.prototype.fastPoll=function(){var Nd=!1,Pd=this;Pd.pollingFast=!0;function Wd(){var zd=Pd.poll();!zd&&!Nd?(Nd=!0,Pd.polling.set(60,Wd)):(Pd.pollingFast=!1,Pd.slowPoll())}Pd.polling.set(20,Wd)},rg.prototype.poll=function(){var Nd=this,Pd=this.cm,Wd=this.textarea,zd=this.prevInput;if(this.contextMenuPending||this.resetting||!Pd.state.focused||oh(Wd)&&!zd&&!this.composing||Pd.isReadOnly()||Pd.options.disableInput||Pd.state.keySeq)return!1;var Jd=Wd.value;if(Jd==zd&&!Pd.somethingSelected())return!1;if(ud&&cd>=9&&this.hasSelection===Jd||Fd&&/[\uf700-\uf7ff]/.test(Jd))return Pd.display.input.reset(),!1;if(Pd.doc.sel==Pd.display.selForContextMenu){var Ef=Jd.charCodeAt(0);if(Ef==8203&&!zd&&(zd="​"),Ef==8666)return this.reset(),this.cm.execCommand("undo")}for(var Of=0,$f=Math.min(zd.length,Jd.length);Of<$f&&zd.charCodeAt(Of)==Jd.charCodeAt(Of);)++Of;return wg(Pd,function(){vE(Pd,Jd.slice(Of),zd.length-Of,null,Nd.composing?"*compose":null),Jd.length>1e3||Jd.indexOf(` -`)>-1?Wd.value=Nd.prevInput="":Nd.prevInput=Jd,Nd.composing&&(Nd.composing.range.clear(),Nd.composing.range=Pd.markText(Nd.composing.start,Pd.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},rg.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},rg.prototype.onKeyPress=function(){ud&&cd>=9&&(this.hasSelection=null),this.fastPoll()},rg.prototype.onContextMenu=function(Nd){var Pd=this,Wd=Pd.cm,zd=Wd.display,Jd=Pd.textarea;Pd.contextMenuPending&&Pd.contextMenuPending();var Ef=k0(Wd,Nd),Of=zd.scroller.scrollTop;if(!Ef||Td)return;var $f=Wd.options.resetSelectionOnContextMenu;$f&&Wd.doc.sel.contains(Ef)==-1&&M_(Wd,xg)(Wd.doc,db(Ef),Yf);var Vf=Jd.style.cssText,eh=Pd.wrapper.style.cssText,_h=Pd.wrapper.offsetParent.getBoundingClientRect();Pd.wrapper.style.cssText="position: static",Jd.style.cssText=`position: absolute; width: 30px; height: 30px; - top: `+(Nd.clientY-_h.top-5)+"px; left: "+(Nd.clientX-_h.left-5)+`px; - z-index: 1000; background: `+(ud?"rgba(255, 255, 255, .05)":"transparent")+`; - outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Ch;dd&&(Ch=Jd.ownerDocument.defaultView.scrollY),zd.input.focus(),dd&&Jd.ownerDocument.defaultView.scrollTo(null,Ch),zd.input.reset(),Wd.somethingSelected()||(Jd.value=Pd.prevInput=" "),Pd.contextMenuPending=Bh,zd.selForContextMenu=Wd.doc.sel,clearTimeout(zd.detectingSelectAll);function $h(){if(Jd.selectionStart!=null){var pm=Wd.somethingSelected(),Sm="​"+(pm?Jd.value:"");Jd.value="⇚",Jd.value=Sm,Pd.prevInput=pm?"":"​",Jd.selectionStart=1,Jd.selectionEnd=Sm.length,zd.selForContextMenu=Wd.doc.sel}}function Bh(){if(Pd.contextMenuPending==Bh&&(Pd.contextMenuPending=!1,Pd.wrapper.style.cssText=eh,Jd.style.cssText=Vf,ud&&cd<9&&zd.scrollbars.setScrollTop(zd.scroller.scrollTop=Of),Jd.selectionStart!=null)){(!ud||ud&&cd<9)&&$h();var pm=0,Sm=function(){zd.selForContextMenu==Wd.doc.sel&&Jd.selectionStart==0&&Jd.selectionEnd>0&&Pd.prevInput=="​"?M_(Wd,bv)(Wd):pm++<10?zd.detectingSelectAll=setTimeout(Sm,500):(zd.selForContextMenu=null,zd.input.reset())};zd.detectingSelectAll=setTimeout(Sm,200)}}if(ud&&cd>=9&&$h(),Kd){Y_(Nd);var sm=function(){Dm(window,"mouseup",sm),setTimeout(Bh,20)};im(window,"mouseup",sm)}else setTimeout(Bh,50)},rg.prototype.readOnlyChanged=function(Nd){Nd||this.reset(),this.textarea.disabled=Nd=="nocursor",this.textarea.readOnly=!!Nd},rg.prototype.setUneditable=function(){},rg.prototype.needsContentAttribute=!1;function gT(Nd,Pd){if(Pd=Pd?hf(Pd):{},Pd.value=Nd.value,!Pd.tabindex&&Nd.tabIndex&&(Pd.tabindex=Nd.tabIndex),!Pd.placeholder&&Nd.placeholder&&(Pd.placeholder=Nd.placeholder),Pd.autofocus==null){var Wd=zf(Qf(Nd));Pd.autofocus=Wd==Nd||Nd.getAttribute("autofocus")!=null&&Wd==document.body}function zd(){Nd.value=$f.getValue()}var Jd;if(Nd.form&&(im(Nd.form,"submit",zd),!Pd.leaveSubmitMethodAlone)){var Ef=Nd.form;Jd=Ef.submit;try{var Of=Ef.submit=function(){zd(),Ef.submit=Jd,Ef.submit(),Ef.submit=Of}}catch{}}Pd.finishInit=function(Vf){Vf.save=zd,Vf.getTextArea=function(){return Nd},Vf.toTextArea=function(){Vf.toTextArea=isNaN,zd(),Nd.parentNode.removeChild(Vf.getWrapperElement()),Nd.style.display="",Nd.form&&(Dm(Nd.form,"submit",zd),!Pd.leaveSubmitMethodAlone&&typeof Nd.form.submit=="function"&&(Nd.form.submit=Jd))}},Nd.style.display="none";var $f=A_(function(Vf){return Nd.parentNode.insertBefore(Vf,Nd.nextSibling)},Pd);return $f}function r2(Nd){Nd.off=Dm,Nd.on=im,Nd.wheelEventPixels=jT,Nd.Doc=Rg,Nd.splitLines=Sf,Nd.countColumn=Rf,Nd.findColumn=Cf,Nd.isWordChar=qh,Nd.Pass=wf,Nd.signal=Om,Nd.Line=h0,Nd.changeEnd=pb,Nd.scrollbarModel=Lb,Nd.Pos=fm,Nd.cmpPos=n_,Nd.modes=gh,Nd.mimeModes=Oh,Nd.resolveMode=Xh,Nd.getMode=cm,Nd.modeExtensions=jm,Nd.extendMode=gm,Nd.copyState=Vm,Nd.startState=x_,Nd.innerMode=y_,Nd.commands=a1,Nd.keyMap=P0,Nd.keyName=t1,Nd.isModifierKey=q1,Nd.lookupKey=Yg,Nd.normalizeKeyMap=Wg,Nd.StringStream=u_,Nd.SharedTextMarker=Tv,Nd.TextMarker=C0,Nd.LineWidget=Vb,Nd.e_preventDefault=Xm,Nd.e_stopPropagation=B_,Nd.e_stop=Y_,Nd.addClass=Jf,Nd.contains=kf,Nd.rmClass=df,Nd.keyNames=vg}bE(A_),Iv(A_);var bT="iter insert remove copy getEditor constructor".split(" ");for(var ey in Rg.prototype)Rg.prototype.hasOwnProperty(ey)&&Kf(bT,ey)<0&&(A_.prototype[ey]=function(Nd){return function(){return Nd.apply(this.doc,arguments)}}(Rg.prototype[ey]));return S_(Rg),A_.inputStyles={textarea:rg,contenteditable:O_},A_.defineMode=function(Nd){!A_.defaults.mode&&Nd!="null"&&(A_.defaults.mode=Nd),Ih.apply(this,arguments)},A_.defineMIME=fh,A_.defineMode("null",function(){return{token:function(Nd){return Nd.skipToEnd()}}}),A_.defineMIME("text/plain","null"),A_.defineExtension=function(Nd,Pd){A_.prototype[Nd]=Pd},A_.defineDocExtension=function(Nd,Pd){Rg.prototype[Nd]=Pd},A_.fromTextArea=gT,r2(A_),A_.version="5.65.17",A_})}(codemirror)),codemirror.exports}var codemirrorExports=requireCodemirror();const CodeMirror=getDefaultExportFromCjs(codemirrorExports),useStore=defineStore("store",()=>{const Ra=useDark(),qa=useToggle(Ra),ed=useStorage("isMacCodeBlock",!0),td=useToggle(ed),rd=useStorage("isEditOnLeft",!0),sd=useToggle(rd),od=useStorage("isCiteStatus",!1),ld=useToggle(od),ud=ref$1(""),cd=useStorage(addPrefix("theme"),themeOptions[0].value),dd=useStorage("fonts",fontFamilyOptions[0].value),_d=useStorage("size",fontSizeOptions[2].value),Ed=useStorage("color",colorOptions[0].value),Ad=useStorage("codeBlockTheme",codeBlockThemeOptions[23].value),Td=useStorage("legend",legendOptions[3].value),Id=computed(()=>_d.value.replace("px","")),Bd=ref$1(null),Rd=useStorage("__editor_content",DEFAULT_CONTENT),Od=()=>{formatDoc(Bd.value.getValue()).then(Kf=>{Rd.value=Kf,Bd.value.setValue(Kf)})},Md=()=>{const Kf=Ad.value,Ff=document.querySelector("#hljs");if(Ff)Ff.setAttribute("href",Kf);else{const wf=document.createElement("link");wf.setAttribute("type","text/css"),wf.setAttribute("rel","stylesheet"),wf.setAttribute("href",Kf),wf.setAttribute("id","hljs"),document.head.appendChild(wf)}},Ld=ref$1(null),Fd=Kf=>{Ld.value.setValue(Kf)},jd=useStorage("__css_content",DEFAULT_CSS_CONTENT),Vd=useStorage(addPrefix("css_content_config"),{active:"方案1",tabs:[{title:"方案1",name:"方案1",content:jd.value||DEFAULT_CSS_CONTENT}]});onMounted(()=>{jd.value=""});const Qd=()=>Vd.value.tabs.find(Kf=>Kf.name===Vd.value.active),qd=Kf=>{Vd.value.active=Kf;const Ff=Vd.value.tabs.find(wf=>wf.name===Kf).content;Fd(Ff)},Kd=Kf=>{const Ff=Qd();Ff.title=Kf,Ff.name=Kf,Vd.value.active=Kf},Xd=Kf=>{Vd.value.tabs.push({name:Kf,title:Kf,content:DEFAULT_CSS_CONTENT}),Vd.value.active=Kf,Fd(DEFAULT_CSS_CONTENT)},df=Kf=>Vd.value.tabs.every(({name:Ff})=>Ff!==Kf),mf=initRenderer({theme:customCssWithTemplate(css2json(Qd().content),Ed.value,customizeTheme(themeMap[cd.value],{fontSize:Id.value,color:Ed.value})),fonts:dd.value,size:Id.value}),bf=()=>{Md(),mf.reset({status:od.value,legend:Td.value});let Kf=marked$1.parse(Bd.value.getValue());Kf=Kf.replace(/(style=".*?)"/,'$1;margin-top: 0"'),Kf+=mf.buildFootnotes(),Kf+=mf.buildAddition(),ed.value&&(Kf+=` +b`.split(/\n/).length!=3?function(Nd){for(var Fd=0,Kd=[],Yd=Nd.length;Fd<=Yd;){var df=Nd.indexOf(` +`,Fd);df==-1&&(df=Nd.length);var Sf=Nd.slice(Fd,Nd.charAt(df-1)=="\r"?df-1:df),kf=Sf.indexOf("\r");kf!=-1?(Kd.push(Sf.slice(0,kf)),Fd+=kf+1):(Kd.push(Sf),Fd=df+1)}return Kd}:function(Nd){return Nd.split(/\r\n?|\n/)},uh=window.getSelection?function(Nd){try{return Nd.selectionStart!=Nd.selectionEnd}catch{return!1}}:function(Nd){var Fd;try{Fd=Nd.ownerDocument.selection.createRange()}catch{}return!Fd||Fd.parentElement()!=Nd?!1:Fd.compareEndPoints("StartToEnd",Fd)!=0},th=function(){var Nd=_f("div");return"oncopy"in Nd?!0:(Nd.setAttribute("oncopy","return;"),typeof Nd.oncopy=="function")}(),ch=null;function yh(Nd){if(ch!=null)return ch;var Fd=Ef(Nd,_f("span","x")),Kd=Fd.getBoundingClientRect(),Yd=xf(Fd,0,1).getBoundingClientRect();return ch=Math.abs(Kd.left-Yd.left)>1}var vh={},kh={};function Rh(Nd,Fd){arguments.length>2&&(Fd.dependencies=Array.prototype.slice.call(arguments,2)),vh[Nd]=Fd}function mh(Nd,Fd){kh[Nd]=Fd}function im(Nd){if(typeof Nd=="string"&&kh.hasOwnProperty(Nd))Nd=kh[Nd];else if(Nd&&typeof Nd.name=="string"&&kh.hasOwnProperty(Nd.name)){var Fd=kh[Nd.name];typeof Fd=="string"&&(Fd={name:Fd}),Nd=hh(Fd,Nd),Nd.name=Fd.name}else{if(typeof Nd=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(Nd))return im("application/xml");if(typeof Nd=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(Nd))return im("application/json")}return typeof Nd=="string"?{name:Nd}:Nd||{name:"null"}}function fm(Nd,Fd){Fd=im(Fd);var Kd=vh[Fd.name];if(!Kd)return fm(Nd,"text/plain");var Yd=Kd(Nd,Fd);if(Gm.hasOwnProperty(Fd.name)){var df=Gm[Fd.name];for(var Sf in df)df.hasOwnProperty(Sf)&&(Yd.hasOwnProperty(Sf)&&(Yd["_"+Sf]=Yd[Sf]),Yd[Sf]=df[Sf])}if(Yd.name=Fd.name,Fd.helperType&&(Yd.helperType=Fd.helperType),Fd.modeProps)for(var kf in Fd.modeProps)Yd[kf]=Fd.modeProps[kf];return Yd}var Gm={};function Nm(Nd,Fd){var Kd=Gm.hasOwnProperty(Nd)?Gm[Nd]:Gm[Nd]={};gf(Fd,Kd)}function Ym(Nd,Fd){if(Fd===!0)return Fd;if(Nd.copyState)return Nd.copyState(Fd);var Kd={};for(var Yd in Fd){var df=Fd[Yd];df instanceof Array&&(df=df.concat([])),Kd[Yd]=df}return Kd}function S_(Nd,Fd){for(var Kd;Nd.innerMode&&(Kd=Nd.innerMode(Fd),!(!Kd||Kd.mode==Nd));)Fd=Kd.state,Nd=Kd.mode;return Kd||{mode:Nd,state:Fd}}function w_(Nd,Fd,Kd){return Nd.startState?Nd.startState(Fd,Kd):!0}var p_=function(Nd,Fd,Kd){this.pos=this.start=0,this.string=Nd,this.tabSize=Fd||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=Kd};p_.prototype.eol=function(){return this.pos>=this.string.length},p_.prototype.sol=function(){return this.pos==this.lineStart},p_.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},p_.prototype.next=function(){if(this.posFd},p_.prototype.eatSpace=function(){for(var Nd=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>Nd},p_.prototype.skipToEnd=function(){this.pos=this.string.length},p_.prototype.skipTo=function(Nd){var Fd=this.string.indexOf(Nd,this.pos);if(Fd>-1)return this.pos=Fd,!0},p_.prototype.backUp=function(Nd){this.pos-=Nd},p_.prototype.column=function(){return this.lastColumnPos0?null:(Sf&&Fd!==!1&&(this.pos+=Sf[0].length),Sf)}},p_.prototype.current=function(){return this.string.slice(this.start,this.pos)},p_.prototype.hideFirstChars=function(Nd,Fd){this.lineStart+=Nd;try{return Fd()}finally{this.lineStart-=Nd}},p_.prototype.lookAhead=function(Nd){var Fd=this.lineOracle;return Fd&&Fd.lookAhead(Nd)},p_.prototype.baseToken=function(){var Nd=this.lineOracle;return Nd&&Nd.baseToken(this.pos)};function Om(Nd,Fd){if(Fd-=Nd.first,Fd<0||Fd>=Nd.size)throw new Error("There is no line "+(Fd+Nd.first)+" in the document.");for(var Kd=Nd;!Kd.lines;)for(var Yd=0;;++Yd){var df=Kd.children[Yd],Sf=df.chunkSize();if(Fd=Nd.first&&FdKd?_m(Kd,Om(Nd,Kd).text.length):Mg(Fd,Om(Nd,Fd.line).text.length)}function Mg(Nd,Fd){var Kd=Nd.ch;return Kd==null||Kd>Fd?_m(Nd.line,Fd):Kd<0?_m(Nd.line,0):Nd}function W_(Nd,Fd){for(var Kd=[],Yd=0;Ydthis.maxLookAhead&&(this.maxLookAhead=Nd),Fd},og.prototype.baseToken=function(Nd){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=Nd;)this.baseTokenPos+=2;var Fd=this.baseTokens[this.baseTokenPos+1];return{type:Fd&&Fd.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-Nd}},og.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},og.fromSaved=function(Nd,Fd,Kd){return Fd instanceof gg?new og(Nd,Ym(Nd.mode,Fd.state),Kd,Fd.lookAhead):new og(Nd,Ym(Nd.mode,Fd),Kd)},og.prototype.save=function(Nd){var Fd=Nd!==!1?Ym(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new gg(Fd,this.maxLookAhead):Fd};function r0(Nd,Fd,Kd,Yd){var df=[Nd.state.modeGen],Sf={};wb(Nd,Fd.text,Nd.doc.mode,Kd,function(rh,bh){return df.push(rh,bh)},Sf,Yd);for(var kf=Kd.state,Ff=function(rh){Kd.baseTokens=df;var bh=Nd.state.overlays[rh],Ah=1,Hh=0;Kd.state=!0,wb(Nd,Fd.text,bh.mode,Kd,function(jh,cm){for(var mm=Ah;Hhjh&&df.splice(Ah,1,jh,df[Ah+1],Im),Ah+=2,Hh=Math.min(jh,Im)}if(cm)if(bh.opaque)df.splice(mm,Ah-mm,jh,"overlay "+cm),Ah=mm+2;else for(;mmNd.options.maxHighlightLength&&Ym(Nd.doc.mode,Yd.state),Sf=r0(Nd,Fd,Yd);df&&(Yd.state=df),Fd.stateAfter=Yd.save(!df),Fd.styles=Sf.styles,Sf.classes?Fd.styleClasses=Sf.classes:Fd.styleClasses&&(Fd.styleClasses=null),Kd===Nd.doc.highlightFrontier&&(Nd.doc.modeFrontier=Math.max(Nd.doc.modeFrontier,++Nd.doc.highlightFrontier))}return Fd.styles}function bg(Nd,Fd,Kd){var Yd=Nd.doc,df=Nd.display;if(!Yd.mode.startState)return new og(Yd,!0,Fd);var Sf=rv(Nd,Fd,Kd),kf=Sf>Yd.first&&Om(Yd,Sf-1).stateAfter,Ff=kf?og.fromSaved(Yd,kf,Sf):new og(Yd,w_(Yd.mode),Sf);return Yd.iter(Sf,Fd,function(Wf){n0(Nd,Wf.text,Ff);var rh=Ff.line;Wf.stateAfter=rh==Fd-1||rh%5==0||rh>=df.viewFrom&&rhFd.start)return Sf}throw new Error("Mode "+Nd.name+" failed to advance stream.")}var r_=function(Nd,Fd,Kd){this.start=Nd.start,this.end=Nd.pos,this.string=Nd.current(),this.type=Fd||null,this.state=Kd};function sb(Nd,Fd,Kd,Yd){var df=Nd.doc,Sf=df.mode,kf;Fd=o_(df,Fd);var Ff=Om(df,Fd.line),Wf=bg(Nd,Fd.line,Kd),rh=new p_(Ff.text,Nd.options.tabSize,Wf),bh;for(Yd&&(bh=[]);(Yd||rh.posNd.options.maxHighlightLength?(Ff=!1,kf&&n0(Nd,Fd,Yd,bh.pos),bh.pos=Fd.length,Ah=null):Ah=z0(ab(Kd,bh,Yd.state,Hh),Sf),Hh){var jh=Hh[0].name;jh&&(Ah="m-"+(Ah?jh+" "+Ah:jh))}if(!Ff||rh!=Ah){for(;Wfkf;--Ff){if(Ff<=Sf.first)return Sf.first;var Wf=Om(Sf,Ff-1),rh=Wf.stateAfter;if(rh&&(!Kd||Ff+(rh instanceof gg?rh.lookAhead:0)<=Sf.modeFrontier))return Ff;var bh=Mf(Wf.text,null,Nd.options.tabSize);(df==null||Yd>bh)&&(df=Ff-1,Yd=bh)}return df}function nv(Nd,Fd){if(Nd.modeFrontier=Math.min(Nd.modeFrontier,Fd),!(Nd.highlightFrontierKd;Yd--){var df=Om(Nd,Yd).stateAfter;if(df&&(!(df instanceof gg)||Yd+df.lookAhead=Fd:Sf.to>Fd);(Yd||(Yd=[])).push(new Y0(kf,Sf.from,Wf?null:Sf.to))}}return Yd}function Dy(Nd,Fd,Kd){var Yd;if(Nd)for(var df=0;df=Fd:Sf.to>Fd);if(Ff||Sf.from==Fd&&kf.type=="bookmark"&&(!Kd||Sf.marker.insertLeft)){var Wf=Sf.from==null||(kf.inclusiveLeft?Sf.from<=Fd:Sf.from0&&Ff)for(var Wm=0;Wm0)){var bh=[Wf,1],Ah=s_(rh.from,Ff.from),Hh=s_(rh.to,Ff.to);(Ah<0||!kf.inclusiveLeft&&!Ah)&&bh.push({from:rh.from,to:Ff.from}),(Hh>0||!kf.inclusiveRight&&!Hh)&&bh.push({from:Ff.to,to:rh.to}),df.splice.apply(df,bh),Wf+=bh.length-3}}return df}function Mm(Nd){var Fd=Nd.markedSpans;if(Fd){for(var Kd=0;KdFd)&&(!Yd||Fv(Yd,Sf.marker)<0)&&(Yd=Sf.marker)}return Yd}function jv(Nd,Fd,Kd,Yd,df){var Sf=Om(Nd,Fd),kf=lg&&Sf.markedSpans;if(kf)for(var Ff=0;Ff=0&&Ah<=0||bh<=0&&Ah>=0)&&(bh<=0&&(Wf.marker.inclusiveRight&&df.inclusiveLeft?s_(rh.to,Kd)>=0:s_(rh.to,Kd)>0)||bh>=0&&(Wf.marker.inclusiveRight&&df.inclusiveLeft?s_(rh.from,Yd)<=0:s_(rh.from,Yd)<0)))return!0}}}function P_(Nd){for(var Fd;Fd=S1(Nd);)Nd=Fd.find(-1,!0).line;return Nd}function Uv(Nd){for(var Fd;Fd=Db(Nd);)Nd=Fd.find(1,!0).line;return Nd}function K0(Nd){for(var Fd,Kd;Fd=Db(Nd);)Nd=Fd.find(1,!0).line,(Kd||(Kd=[])).push(Nd);return Kd}function K_(Nd,Fd){var Kd=Om(Nd,Fd),Yd=P_(Kd);return Kd==Yd?Fd:Um(Yd)}function i0(Nd,Fd){if(Fd>Nd.lastLine())return Fd;var Kd=Om(Nd,Fd),Yd;if(!ig(Nd,Kd))return Fd;for(;Yd=Db(Kd);)Kd=Yd.find(1,!0).line;return Um(Kd)+1}function ig(Nd,Fd){var Kd=lg&&Fd.markedSpans;if(Kd){for(var Yd=void 0,df=0;dfFd.maxLineLength&&(Fd.maxLineLength=df,Fd.maxLine=Yd)})}var g0=function(Nd,Fd,Kd){this.text=Nd,F_(this,Fd),this.height=Kd?Kd(this):1};g0.prototype.lineNo=function(){return Um(this)},A_(g0);function C1(Nd,Fd,Kd,Yd){Nd.text=Fd,Nd.stateAfter&&(Nd.stateAfter=null),Nd.styles&&(Nd.styles=null),Nd.order!=null&&(Nd.order=null),Mm(Nd),F_(Nd,Kd);var df=Yd?Yd(Nd):1;df!=Nd.height&&a_(Nd,df)}function Fg(Nd){Nd.parent=null,Mm(Nd)}var Hv={},Vg={};function A1(Nd,Fd){if(!Nd||/^\s*$/.test(Nd))return null;var Kd=Fd.addModeClass?Vg:Hv;return Kd[Nd]||(Kd[Nd]=Nd.replace(/\S+/g,"cm-$&"))}function Rb(Nd,Fd){var Kd=vf("span",null,null,pd?"padding-right: .1px":null),Yd={pre:vf("pre",[Kd],"CodeMirror-line"),content:Kd,col:0,pos:0,cm:Nd,trailingSpace:!1,splitSpaces:Nd.getOption("lineWrapping")};Fd.measure={};for(var df=0;df<=(Fd.rest?Fd.rest.length:0);df++){var Sf=df?Fd.rest[df-1]:Fd.line,kf=void 0;Yd.pos=0,Yd.addToken=sv,um(Nd.display.measure)&&(kf=Xh(Sf,Nd.doc.direction))&&(Yd.addToken=Y_(Yd.addToken,kf)),Yd.map=[];var Ff=Fd!=Nd.display.externalMeasured&&Um(Sf);Gv(Sf,Yd,k0(Nd,Sf,Ff)),Sf.styleClasses&&(Sf.styleClasses.bgClass&&(Yd.bgClass=Vf(Sf.styleClasses.bgClass,Yd.bgClass||"")),Sf.styleClasses.textClass&&(Yd.textClass=Vf(Sf.styleClasses.textClass,Yd.textClass||""))),Yd.map.length==0&&Yd.map.push(0,0,Yd.content.appendChild(Rg(Nd.display.measure))),df==0?(Fd.measure.map=Yd.map,Fd.measure.cache={}):((Fd.measure.maps||(Fd.measure.maps=[])).push(Yd.map),(Fd.measure.caches||(Fd.measure.caches=[])).push({}))}if(pd){var Wf=Yd.content.lastChild;(/\bcm-tab\b/.test(Wf.className)||Wf.querySelector&&Wf.querySelector(".cm-tab"))&&(Yd.content.className="cm-tab-wrap-hack")}return Pm(Nd,"renderLine",Nd,Fd.line,Yd.pre),Yd.pre.className&&(Yd.textClass=Vf(Yd.pre.className,Yd.textClass||"")),Yd}function M0(Nd){var Fd=_f("span","•","cm-invalidchar");return Fd.title="\\u"+Nd.charCodeAt(0).toString(16),Fd.setAttribute("aria-label",Fd.title),Fd}function sv(Nd,Fd,Kd,Yd,df,Sf,kf){if(Fd){var Ff=Nd.splitSpaces?ov(Fd,Nd.trailingSpace):Fd,Wf=Nd.cm.state.specialChars,rh=!1,bh;if(!Wf.test(Fd))Nd.col+=Fd.length,bh=document.createTextNode(Ff),Nd.map.push(Nd.pos,Nd.pos+Fd.length,bh),cd&&dd<9&&(rh=!0),Nd.pos+=Fd.length;else{bh=document.createDocumentFragment();for(var Ah=0;;){Wf.lastIndex=Ah;var Hh=Wf.exec(Fd),jh=Hh?Hh.index-Ah:Fd.length-Ah;if(jh){var cm=document.createTextNode(Ff.slice(Ah,Ah+jh));cd&&dd<9?bh.appendChild(_f("span",[cm])):bh.appendChild(cm),Nd.map.push(Nd.pos,Nd.pos+jh,cm),Nd.col+=jh,Nd.pos+=jh}if(!Hh)break;Ah+=jh+1;var mm=void 0;if(Hh[0]==" "){var Im=Nd.cm.options.tabSize,jm=Im-Nd.col%Im;mm=bh.appendChild(_f("span",jf(jm),"cm-tab")),mm.setAttribute("role","presentation"),mm.setAttribute("cm-text"," "),Nd.col+=jm}else Hh[0]=="\r"||Hh[0]==` +`?(mm=bh.appendChild(_f("span",Hh[0]=="\r"?"␍":"␤","cm-invalidchar")),mm.setAttribute("cm-text",Hh[0]),Nd.col+=1):(mm=Nd.cm.options.specialCharPlaceholder(Hh[0]),mm.setAttribute("cm-text",Hh[0]),cd&&dd<9?bh.appendChild(_f("span",[mm])):bh.appendChild(mm),Nd.col+=1);Nd.map.push(Nd.pos,Nd.pos+1,mm),Nd.pos++}}if(Nd.trailingSpace=Ff.charCodeAt(Fd.length-1)==32,Kd||Yd||df||rh||Sf||kf){var Vm=Kd||"";Yd&&(Vm+=Yd),df&&(Vm+=df);var Fm=_f("span",[bh],Vm,Sf);if(kf)for(var Wm in kf)kf.hasOwnProperty(Wm)&&Wm!="style"&&Wm!="class"&&Fm.setAttribute(Wm,kf[Wm]);return Nd.content.appendChild(Fm)}Nd.content.appendChild(bh)}}function ov(Nd,Fd){if(Nd.length>1&&!/ /.test(Nd))return Nd;for(var Kd=Fd,Yd="",df=0;dfrh&&Ah.from<=rh));Hh++);if(Ah.to>=bh)return Nd(Kd,Yd,df,Sf,kf,Ff,Wf);Nd(Kd,Yd.slice(0,Ah.to-rh),df,Sf,null,Ff,Wf),Sf=null,Yd=Yd.slice(Ah.to-rh),rh=Ah.to}}}function b0(Nd,Fd,Kd,Yd){var df=!Yd&&Kd.widgetNode;df&&Nd.map.push(Nd.pos,Nd.pos+Fd,df),!Yd&&Nd.cm.display.input.needsContentAttribute&&(df||(df=Nd.content.appendChild(document.createElement("span"))),df.setAttribute("cm-marker",Kd.id)),df&&(Nd.cm.display.input.setUneditable(df),Nd.content.appendChild(df)),Nd.pos+=Fd,Nd.trailingSpace=!1}function Gv(Nd,Fd,Kd){var Yd=Nd.markedSpans,df=Nd.text,Sf=0;if(!Yd){for(var kf=1;kfWf||__.collapsed&&t_.to==Wf&&t_.from==Wf)){if(t_.to!=null&&t_.to!=Wf&&jh>t_.to&&(jh=t_.to,mm=""),__.className&&(cm+=" "+__.className),__.css&&(Hh=(Hh?Hh+";":"")+__.css),__.startStyle&&t_.from==Wf&&(Im+=" "+__.startStyle),__.endStyle&&t_.to==jh&&(Wm||(Wm=[])).push(__.endStyle,t_.to),__.title&&((Vm||(Vm={})).title=__.title),__.attributes)for(var j_ in __.attributes)(Vm||(Vm={}))[j_]=__.attributes[j_];__.collapsed&&(!jm||Fv(jm.marker,__)<0)&&(jm=t_)}else t_.from>Wf&&jh>t_.from&&(jh=t_.from)}if(Wm)for(var sg=0;sg=Ff)break;for(var rg=Math.min(Ff,jh);;){if(bh){var ug=Wf+bh.length;if(!jm){var cg=ug>rg?bh.slice(0,rg-Wf):bh;Fd.addToken(Fd,cg,Ah?Ah+cm:cm,Im,Wf+cg.length==jh?mm:"",Hh,Vm)}if(ug>=rg){bh=bh.slice(rg-Wf),Wf=rg;break}Wf=ug,Im=""}bh=df.slice(Sf,Sf=Kd[rh++]),Ah=A1(Kd[rh++],Fd.cm.options)}}}function w1(Nd,Fd,Kd){this.line=Fd,this.rest=K0(Fd),this.size=this.rest?Um(lh(this.rest))-Kd+1:1,this.node=this.text=null,this.hidden=ig(Nd,Fd)}function ub(Nd,Fd,Kd){for(var Yd=[],df,Sf=Fd;Sf2&&Sf.push((Wf.bottom+rh.top)/2-Kd.top)}}Sf.push(Kd.bottom-Kd.top)}}function NE(Nd,Fd,Kd){if(Nd.line==Fd)return{map:Nd.measure.map,cache:Nd.measure.cache};if(Nd.rest){for(var Yd=0;YdKd)return{map:Nd.measure.maps[df],cache:Nd.measure.caches[df],before:!0}}}function IT(Nd,Fd){Fd=P_(Fd);var Kd=Um(Fd),Yd=Nd.display.externalMeasured=new w1(Nd.doc,Fd,Kd);Yd.lineN=Kd;var df=Yd.built=Rb(Nd,Yd);return Yd.text=df.pre,Ef(Nd.display.lineMeasure,df.pre),Yd}function D1(Nd,Fd,Kd,Yd){return Yg(Nd,Wg(Nd,Fd),Kd,Yd)}function I1(Nd,Fd){if(Fd>=Nd.display.viewFrom&&Fd=Kd.lineN&&FdFd)&&(Sf=Wf-Ff,df=Sf-1,Fd>=Wf&&(kf="right")),df!=null){if(Yd=Nd[rh+2],Ff==Wf&&Kd==(Yd.insertLeft?"left":"right")&&(kf=Kd),Kd=="left"&&df==0)for(;rh&&Nd[rh-2]==Nd[rh-3]&&Nd[rh-1].insertLeft;)Yd=Nd[(rh-=3)+2],kf="left";if(Kd=="right"&&df==Wf-Ff)for(;rh=0&&(Kd=Nd[df]).left==Kd.right;df--);return Kd}function cv(Nd,Fd,Kd,Yd){var df=IE(Fd.map,Kd,Yd),Sf=df.node,kf=df.start,Ff=df.end,Wf=df.collapse,rh;if(Sf.nodeType==3){for(var bh=0;bh<4;bh++){for(;kf&&nh(Fd.line.text.charAt(df.coverStart+kf));)--kf;for(;df.coverStart+Ff0&&(Wf=Yd="right");var Ah;Nd.options.lineWrapping&&(Ah=Sf.getClientRects()).length>1?rh=Ah[Yd=="right"?Ah.length-1:0]:rh=Sf.getBoundingClientRect()}if(cd&&dd<9&&!kf&&(!rh||!rh.left&&!rh.right)){var Hh=Sf.parentNode.getClientRects()[0];Hh?rh={left:Hh.left,right:Hh.left+Q0(Nd.display),top:Hh.top,bottom:Hh.bottom}:rh=DE}for(var jh=rh.top-Fd.rect.top,cm=rh.bottom-Fd.rect.top,mm=(jh+cm)/2,Im=Fd.view.measure.heights,jm=0;jm=Yd.text.length?(Wf=Yd.text.length,rh="before"):Wf<=0&&(Wf=0,rh="after"),!Ff)return kf(rh=="before"?Wf-1:Wf,rh=="before");function bh(cm,mm,Im){var jm=Ff[mm],Vm=jm.level==1;return kf(Im?cm-1:cm,Vm!=Im)}var Ah=xh(Ff,Wf,rh),Hh=oh,jh=bh(Wf,Ah,rh=="before");return Hh!=null&&(jh.other=bh(Wf,Hh,rh!="before")),jh}function Jm(Nd,Fd){var Kd=0;Fd=o_(Nd.doc,Fd),Nd.options.lineWrapping||(Kd=Q0(Nd.display)*Fd.ch);var Yd=Om(Nd.doc,Fd.line),df=a0(Yd)+vg(Nd.display);return{left:Kd,right:Kd,top:df,bottom:df+Yd.height}}function h_(Nd,Fd,Kd,Yd,df){var Sf=_m(Nd,Fd,Kd);return Sf.xRel=df,Yd&&(Sf.outside=Yd),Sf}function N_(Nd,Fd,Kd){var Yd=Nd.doc;if(Kd+=Nd.display.viewOffset,Kd<0)return h_(Yd.first,0,null,-1,-1);var df=y_(Yd,Kd),Sf=Yd.first+Yd.size-1;if(df>Sf)return h_(Yd.first+Yd.size-1,Om(Yd,Sf).text.length,null,1,1);Fd<0&&(Fd=0);for(var kf=Om(Yd,df);;){var Ff=RT(Nd,kf,df,Fd,Kd),Wf=x1(kf,Ff.ch+(Ff.xRel>0||Ff.outside>0?1:0));if(!Wf)return Ff;var rh=Wf.find(1);if(rh.line==df)return rh;kf=Om(Yd,df=rh.line)}}function fg(Nd,Fd,Kd,Yd){Yd-=Py(Fd);var df=Fd.text.length,Sf=Nf(function(kf){return Yg(Nd,Kd,kf-1).bottom<=Yd},df,0);return df=Nf(function(kf){return Yg(Nd,Kd,kf).top>Yd},Sf,df),{begin:Sf,end:df}}function G_(Nd,Fd,Kd,Yd){Kd||(Kd=Wg(Nd,Fd));var df=X0(Nd,Fd,Yg(Nd,Kd,Yd),"line").top;return fg(Nd,Fd,Kd,df)}function Vv(Nd,Fd,Kd,Yd){return Nd.bottom<=Kd?!1:Nd.top>Kd?!0:(Yd?Nd.left:Nd.right)>Fd}function RT(Nd,Fd,Kd,Yd,df){df-=a0(Fd);var Sf=Wg(Nd,Fd),kf=Py(Fd),Ff=0,Wf=Fd.text.length,rh=!0,bh=Xh(Fd,Nd.doc.direction);if(bh){var Ah=(Nd.options.lineWrapping?O1:o0)(Nd,Fd,Kd,Sf,bh,Yd,df);rh=Ah.level!=1,Ff=rh?Ah.from:Ah.to-1,Wf=rh?Ah.to:Ah.from-1}var Hh=null,jh=null,cm=Nf(function(n_){var t_=Yg(Nd,Sf,n_);return t_.top+=kf,t_.bottom+=kf,Vv(t_,Yd,df,!1)?(t_.top<=df&&t_.left<=Yd&&(Hh=n_,jh=t_),!0):!1},Ff,Wf),mm,Im,jm=!1;if(jh){var Vm=Yd-jh.left=Wm.bottom?1:0}return cm=Of(Fd.text,cm,1),h_(Kd,cm,Im,jm,Yd-mm)}function o0(Nd,Fd,Kd,Yd,df,Sf,kf){var Ff=Nf(function(Ah){var Hh=df[Ah],jh=Hh.level!=1;return Vv(Zh(Nd,_m(Kd,jh?Hh.to:Hh.from,jh?"before":"after"),"line",Fd,Yd),Sf,kf,!0)},0,df.length-1),Wf=df[Ff];if(Ff>0){var rh=Wf.level!=1,bh=Zh(Nd,_m(Kd,rh?Wf.from:Wf.to,rh?"after":"before"),"line",Fd,Yd);Vv(bh,Sf,kf,!0)&&bh.top>kf&&(Wf=df[Ff-1])}return Wf}function O1(Nd,Fd,Kd,Yd,df,Sf,kf){var Ff=fg(Nd,Fd,Yd,kf),Wf=Ff.begin,rh=Ff.end;/\s/.test(Fd.text.charAt(rh-1))&&rh--;for(var bh=null,Ah=null,Hh=0;Hh=rh||jh.to<=Wf)){var cm=jh.level!=1,mm=Yg(Nd,Yd,cm?Math.min(rh,jh.to)-1:Math.max(Wf,jh.from)).right,Im=mmIm)&&(bh=jh,Ah=Im)}}return bh||(bh=df[df.length-1]),bh.fromrh&&(bh={from:bh.from,to:rh,level:bh.level}),bh}var Bb;function y0(Nd){if(Nd.cachedTextHeight!=null)return Nd.cachedTextHeight;if(Bb==null){Bb=_f("pre",null,"CodeMirror-line-like");for(var Fd=0;Fd<49;++Fd)Bb.appendChild(document.createTextNode("x")),Bb.appendChild(_f("br"));Bb.appendChild(document.createTextNode("x"))}Ef(Nd.measure,Bb);var Kd=Bb.offsetHeight/50;return Kd>3&&(Nd.cachedTextHeight=Kd),bf(Nd.measure),Kd||1}function Q0(Nd){if(Nd.cachedCharWidth!=null)return Nd.cachedCharWidth;var Fd=_f("span","xxxxxxxxxx"),Kd=_f("pre",[Fd],"CodeMirror-line-like");Ef(Nd.measure,Kd);var Yd=Fd.getBoundingClientRect(),df=(Yd.right-Yd.left)/10;return df>2&&(Nd.cachedCharWidth=df),df||10}function dv(Nd){for(var Fd=Nd.display,Kd={},Yd={},df=Fd.gutters.clientLeft,Sf=Fd.gutters.firstChild,kf=0;Sf;Sf=Sf.nextSibling,++kf){var Ff=Nd.display.gutterSpecs[kf].className;Kd[Ff]=Sf.offsetLeft+Sf.clientLeft+df,Yd[Ff]=Sf.clientWidth}return{fixedPos:B_(Fd),gutterTotalWidth:Fd.gutters.offsetWidth,gutterLeft:Kd,gutterWidth:Yd,wrapperWidth:Fd.wrapper.clientWidth}}function B_(Nd){return Nd.scroller.getBoundingClientRect().left-Nd.sizer.getBoundingClientRect().left}function ME(Nd){var Fd=y0(Nd.display),Kd=Nd.options.lineWrapping,Yd=Kd&&Math.max(5,Nd.display.scroller.clientWidth/Q0(Nd.display)-3);return function(df){if(ig(Nd.doc,df))return 0;var Sf=0;if(df.widgets)for(var kf=0;kf0&&(rh=Om(Nd.doc,Wf.line).text).length==Wf.ch){var bh=Mf(rh,rh.length,Nd.options.tabSize)-rh.length;Wf=_m(Wf.line,Math.max(0,Math.round((Sf-lv(Nd.display).left)/Q0(Nd.display))-bh))}return Wf}function Pb(Nd,Fd){if(Fd>=Nd.display.viewTo||(Fd-=Nd.display.viewFrom,Fd<0))return null;for(var Kd=Nd.display.view,Yd=0;YdFd)&&(df.updateLineNumbers=Fd),Nd.curOp.viewChanged=!0,Fd>=df.viewTo)lg&&K_(Nd.doc,Fd)df.viewFrom?E0(Nd):(df.viewFrom+=Yd,df.viewTo+=Yd);else if(Fd<=df.viewFrom&&Kd>=df.viewTo)E0(Nd);else if(Fd<=df.viewFrom){var Sf=T0(Nd,Kd,Kd+Yd,1);Sf?(df.view=df.view.slice(Sf.index),df.viewFrom=Sf.lineN,df.viewTo+=Yd):E0(Nd)}else if(Kd>=df.viewTo){var kf=T0(Nd,Fd,Fd,-1);kf?(df.view=df.view.slice(0,kf.index),df.viewTo=kf.lineN):E0(Nd)}else{var Ff=T0(Nd,Fd,Fd,-1),Wf=T0(Nd,Kd,Kd+Yd,1);Ff&&Wf?(df.view=df.view.slice(0,Ff.index).concat(ub(Nd,Ff.lineN,Wf.lineN)).concat(df.view.slice(Wf.index)),df.viewTo+=Yd):E0(Nd)}var rh=df.externalMeasured;rh&&(Kd=df.lineN&&Fd=Yd.viewTo)){var Sf=Yd.view[Pb(Nd,Fd)];if(Sf.node!=null){var kf=Sf.changes||(Sf.changes=[]);Qf(kf,Kd)==-1&&kf.push(Kd)}}}function E0(Nd){Nd.display.viewFrom=Nd.display.viewTo=Nd.doc.first,Nd.display.view=[],Nd.display.viewOffset=0}function T0(Nd,Fd,Kd,Yd){var df=Pb(Nd,Fd),Sf,kf=Nd.display.view;if(!lg||Kd==Nd.doc.first+Nd.doc.size)return{index:df,lineN:Kd};for(var Ff=Nd.display.viewFrom,Wf=0;Wf0){if(df==kf.length-1)return null;Sf=Ff+kf[df].size-Fd,df++}else Sf=Ff-Fd;Fd+=Sf,Kd+=Sf}for(;K_(Nd.doc,Kd)!=Kd;){if(df==(Yd<0?0:kf.length-1))return null;Kd+=Yd*kf[df-(Yd<0?1:0)].size,df+=Yd}return{index:df,lineN:Kd}}function k1(Nd,Fd,Kd){var Yd=Nd.display,df=Yd.view;df.length==0||Fd>=Yd.viewTo||Kd<=Yd.viewFrom?(Yd.view=ub(Nd,Fd,Kd),Yd.viewFrom=Fd):(Yd.viewFrom>Fd?Yd.view=ub(Nd,Fd,Yd.viewFrom).concat(Yd.view):Yd.viewFromKd&&(Yd.view=Yd.view.slice(0,Pb(Nd,Kd)))),Yd.viewTo=Kd}function $y(Nd){for(var Fd=Nd.display.view,Kd=0,Yd=0;Yd=Nd.display.viewTo||Wf.to().line0?kf:Nd.defaultCharWidth())+"px"}if(Yd.other){var Ff=Kd.appendChild(_f("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));Ff.style.display="",Ff.style.left=Yd.other.left+"px",Ff.style.top=Yd.other.top+"px",Ff.style.height=(Yd.other.bottom-Yd.other.top)*.85+"px"}}function $b(Nd,Fd){return Nd.top-Fd.top||Nd.left-Fd.left}function BE(Nd,Fd,Kd){var Yd=Nd.display,df=Nd.doc,Sf=document.createDocumentFragment(),kf=lv(Nd.display),Ff=kf.left,Wf=Math.max(Yd.sizerWidth,Mb(Nd)-Yd.sizer.offsetLeft)-kf.right,rh=df.direction=="ltr";function bh(Fm,Wm,n_,t_){Wm<0&&(Wm=0),Wm=Math.round(Wm),t_=Math.round(t_),Sf.appendChild(_f("div",null,"CodeMirror-selected","position: absolute; left: "+Fm+`px; + top: `+Wm+"px; width: "+(n_??Wf-Fm)+`px; + height: `+(t_-Wm)+"px"))}function Ah(Fm,Wm,n_){var t_=Om(df,Fm),__=t_.text.length,j_,sg;function X_(cg,Pg){return pm(Nd,_m(Fm,cg),"div",t_,Pg)}function rg(cg,Pg,Dg){var mg=G_(Nd,t_,null,cg),dg=Pg=="ltr"==(Dg=="after")?"left":"right",ng=Dg=="after"?mg.begin:mg.end-(/\s/.test(t_.text.charAt(mg.end-1))?2:1);return X_(ng,dg)[dg]}var ug=Xh(t_,df.direction);return Jf(ug,Wm||0,n_??__,function(cg,Pg,Dg,mg){var dg=Dg=="ltr",ng=X_(cg,dg?"left":"right"),Ug=X_(Pg-1,dg?"right":"left"),Mv=Wm==null&&cg==0,Sb=n_==null&&Pg==__,Og=mg==0,H0=!ug||mg==ug.length-1;if(Ug.top-ng.top<=3){var xg=(rh?Mv:Sb)&&Og,xE=(rh?Sb:Mv)&&H0,G0=xg?Ff:(dg?ng:Ug).left,xb=xE?Wf:(dg?Ug:ng).right;bh(G0,ng.top,xb-G0,ng.bottom)}else{var Cb,$g,Bv,CE;dg?(Cb=rh&&Mv&&Og?Ff:ng.left,$g=rh?Wf:rg(cg,Dg,"before"),Bv=rh?Ff:rg(Pg,Dg,"after"),CE=rh&&Sb&&H0?Wf:Ug.right):(Cb=rh?rg(cg,Dg,"before"):Ff,$g=!rh&&Mv&&Og?Wf:ng.right,Bv=!rh&&Sb&&H0?Ff:Ug.left,CE=rh?rg(Pg,Dg,"after"):Wf),bh(Cb,ng.top,$g-Cb,ng.bottom),ng.bottom0?Fd.blinker=setInterval(function(){Nd.hasFocus()||fv(Nd),Fd.cursorDiv.style.visibility=(Kd=!Kd)?"":"hidden"},Nd.options.cursorBlinkRate):Nd.options.cursorBlinkRate<0&&(Fd.cursorDiv.style.visibility="hidden")}}function pb(Nd){Nd.hasFocus()||(Nd.display.input.focus(),Nd.state.focused||Hy(Nd))}function pv(Nd){Nd.state.delayingBlurEvent=!0,setTimeout(function(){Nd.state.delayingBlurEvent&&(Nd.state.delayingBlurEvent=!1,Nd.state.focused&&fv(Nd))},100)}function Hy(Nd,Fd){Nd.state.delayingBlurEvent&&!Nd.state.draggingText&&(Nd.state.delayingBlurEvent=!1),Nd.options.readOnly!="nocursor"&&(Nd.state.focused||(Pm(Nd,"focus",Nd,Fd),Nd.state.focused=!0,eh(Nd.display.wrapper,"CodeMirror-focused"),!Nd.curOp&&Nd.display.selForContextMenu!=Nd.doc.sel&&(Nd.display.input.reset(),pd&&setTimeout(function(){return Nd.display.input.reset(!0)},20)),Nd.display.input.receivedFocus()),Lb(Nd))}function fv(Nd,Fd){Nd.state.delayingBlurEvent||(Nd.state.focused&&(Pm(Nd,"blur",Nd,Fd),Nd.state.focused=!1,hf(Nd.display.wrapper,"CodeMirror-focused")),clearInterval(Nd.display.blinker),setTimeout(function(){Nd.state.focused||(Nd.display.shift=!1)},150))}function B1(Nd){for(var Fd=Nd.display,Kd=Fd.lineDiv.offsetTop,Yd=Math.max(0,Fd.scroller.getBoundingClientRect().top),df=Fd.lineDiv.getBoundingClientRect().top,Sf=0,kf=0;kf.005||jh<-.005)&&(dfNd.display.sizerWidth){var mm=Math.ceil(bh/Q0(Nd.display));mm>Nd.display.maxLineLength&&(Nd.display.maxLineLength=mm,Nd.display.maxLine=Ff.line,Nd.display.maxLineChanged=!0)}}}Math.abs(Sf)>2&&(Fd.scroller.scrollTop+=Sf)}function zv(Nd){if(Nd.widgets)for(var Fd=0;Fd=kf&&(Sf=y_(Fd,a0(Om(Fd,Wf))-Nd.wrapper.clientHeight),kf=Wf)}return{from:Sf,to:Math.max(kf,Sf+1)}}function Ky(Nd,Fd){if(!e_(Nd,"scrollCursorIntoView")){var Kd=Nd.display,Yd=Kd.sizer.getBoundingClientRect(),df=null,Sf=Kd.wrapper.ownerDocument;if(Fd.top+Yd.top<0?df=!0:Fd.bottom+Yd.top>(Sf.defaultView.innerHeight||Sf.documentElement.clientHeight)&&(df=!1),df!=null&&!Rd){var kf=_f("div","​",null,`position: absolute; + top: `+(Fd.top-Kd.viewOffset-vg(Nd.display))+`px; + height: `+(Fd.bottom-Fd.top+B0(Nd)+Kd.barHeight)+`px; + left: `+Fd.left+"px; width: "+Math.max(2,Fd.right-Fd.left)+"px;");Nd.display.lineSpace.appendChild(kf),kf.scrollIntoView(df),Nd.display.lineSpace.removeChild(kf)}}}function kT(Nd,Fd,Kd,Yd){Yd==null&&(Yd=0);var df;!Nd.options.lineWrapping&&Fd==Kd&&(Kd=Fd.sticky=="before"?_m(Fd.line,Fd.ch+1,"before"):Fd,Fd=Fd.ch?_m(Fd.line,Fd.sticky=="before"?Fd.ch-1:Fd.ch,"after"):Fd);for(var Sf=0;Sf<5;Sf++){var kf=!1,Ff=Zh(Nd,Fd),Wf=!Kd||Kd==Fd?Ff:Zh(Nd,Kd);df={left:Math.min(Ff.left,Wf.left),top:Math.min(Ff.top,Wf.top)-Yd,right:Math.max(Ff.left,Wf.left),bottom:Math.max(Ff.bottom,Wf.bottom)+Yd};var rh=Xy(Nd,df),bh=Nd.doc.scrollTop,Ah=Nd.doc.scrollLeft;if(rh.scrollTop!=null&&(Wv(Nd,rh.scrollTop),Math.abs(Nd.doc.scrollTop-bh)>1&&(kf=!0)),rh.scrollLeft!=null&&(S0(Nd,rh.scrollLeft),Math.abs(Nd.doc.scrollLeft-Ah)>1&&(kf=!0)),!kf)break}return df}function PE(Nd,Fd){var Kd=Xy(Nd,Fd);Kd.scrollTop!=null&&Wv(Nd,Kd.scrollTop),Kd.scrollLeft!=null&&S0(Nd,Kd.scrollLeft)}function Xy(Nd,Fd){var Kd=Nd.display,Yd=y0(Nd.display);Fd.top<0&&(Fd.top=0);var df=Nd.curOp&&Nd.curOp.scrollTop!=null?Nd.curOp.scrollTop:Kd.scroller.scrollTop,Sf=Ry(Nd),kf={};Fd.bottom-Fd.top>Sf&&(Fd.bottom=Fd.top+Sf);var Ff=Nd.doc.height+kb(Kd),Wf=Fd.topFf-Yd;if(Fd.topdf+Sf){var bh=Math.min(Fd.top,(rh?Ff:Fd.bottom)-Sf);bh!=df&&(kf.scrollTop=bh)}var Ah=Nd.options.fixedGutter?0:Kd.gutters.offsetWidth,Hh=Nd.curOp&&Nd.curOp.scrollLeft!=null?Nd.curOp.scrollLeft:Kd.scroller.scrollLeft-Ah,jh=Mb(Nd)-Kd.gutters.offsetWidth,cm=Fd.right-Fd.left>jh;return cm&&(Fd.right=Fd.left+jh),Fd.left<10?kf.scrollLeft=0:Fd.leftjh+Hh-3&&(kf.scrollLeft=Fd.right+(cm?0:10)-jh),kf}function Qy(Nd,Fd){Fd!=null&&(P1(Nd),Nd.curOp.scrollTop=(Nd.curOp.scrollTop==null?Nd.doc.scrollTop:Nd.curOp.scrollTop)+Fd)}function J_(Nd){P1(Nd);var Fd=Nd.getCursor();Nd.curOp.scrollToPos={from:Fd,to:Fd,margin:Nd.options.cursorScrollMargin}}function hg(Nd,Fd,Kd){(Fd!=null||Kd!=null)&&P1(Nd),Fd!=null&&(Nd.curOp.scrollLeft=Fd),Kd!=null&&(Nd.curOp.scrollTop=Kd)}function MT(Nd,Fd){P1(Nd),Nd.curOp.scrollToPos=Fd}function P1(Nd){var Fd=Nd.curOp.scrollToPos;if(Fd){Nd.curOp.scrollToPos=null;var Kd=Jm(Nd,Fd.from),Yd=Jm(Nd,Fd.to);Jy(Nd,Kd,Yd,Fd.margin)}}function Jy(Nd,Fd,Kd,Yd){var df=Xy(Nd,{left:Math.min(Fd.left,Kd.left),top:Math.min(Fd.top,Kd.top)-Yd,right:Math.max(Fd.right,Kd.right),bottom:Math.max(Fd.bottom,Kd.bottom)+Yd});hg(Nd,df.scrollLeft,df.scrollTop)}function Wv(Nd,Fd){Math.abs(Nd.doc.scrollTop-Fd)<2||(nd||x0(Nd,{top:Fd}),$1(Nd,Fd,!0),nd&&x0(Nd),Xv(Nd,100))}function $1(Nd,Fd,Kd){Fd=Math.max(0,Math.min(Nd.display.scroller.scrollHeight-Nd.display.scroller.clientHeight,Fd)),!(Nd.display.scroller.scrollTop==Fd&&!Kd)&&(Nd.doc.scrollTop=Fd,Nd.display.scrollbars.setScrollTop(Fd),Nd.display.scroller.scrollTop!=Fd&&(Nd.display.scroller.scrollTop=Fd))}function S0(Nd,Fd,Kd,Yd){Fd=Math.max(0,Math.min(Fd,Nd.display.scroller.scrollWidth-Nd.display.scroller.clientWidth)),!((Kd?Fd==Nd.doc.scrollLeft:Math.abs(Nd.doc.scrollLeft-Fd)<2)&&!Yd)&&(Nd.doc.scrollLeft=Fd,jE(Nd),Nd.display.scroller.scrollLeft!=Fd&&(Nd.display.scroller.scrollLeft=Fd),Nd.display.scrollbars.setScrollLeft(Fd))}function jb(Nd){var Fd=Nd.display,Kd=Fd.gutters.offsetWidth,Yd=Math.round(Nd.doc.height+kb(Nd.display));return{clientHeight:Fd.scroller.clientHeight,viewHeight:Fd.wrapper.clientHeight,scrollWidth:Fd.scroller.scrollWidth,clientWidth:Fd.scroller.clientWidth,viewWidth:Fd.wrapper.clientWidth,barLeft:Nd.options.fixedGutter?Kd:0,docHeight:Yd,scrollHeight:Yd+B0(Nd)+Fd.barHeight,nativeBarWidth:Fd.nativeBarWidth,gutterWidth:Kd}}var l0=function(Nd,Fd,Kd){this.cm=Kd;var Yd=this.vert=_f("div",[_f("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),df=this.horiz=_f("div",[_f("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");Yd.tabIndex=df.tabIndex=-1,Nd(Yd),Nd(df),lm(Yd,"scroll",function(){Yd.clientHeight&&Fd(Yd.scrollTop,"vertical")}),lm(df,"scroll",function(){df.clientWidth&&Fd(df.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,cd&&dd<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};l0.prototype.update=function(Nd){var Fd=Nd.scrollWidth>Nd.clientWidth+1,Kd=Nd.scrollHeight>Nd.clientHeight+1,Yd=Nd.nativeBarWidth;if(Kd){this.vert.style.display="block",this.vert.style.bottom=Fd?Yd+"px":"0";var df=Nd.viewHeight-(Fd?Yd:0);this.vert.firstChild.style.height=Math.max(0,Nd.scrollHeight-Nd.clientHeight+df)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(Fd){this.horiz.style.display="block",this.horiz.style.right=Kd?Yd+"px":"0",this.horiz.style.left=Nd.barLeft+"px";var Sf=Nd.viewWidth-Nd.barLeft-(Kd?Yd:0);this.horiz.firstChild.style.width=Math.max(0,Nd.scrollWidth-Nd.clientWidth+Sf)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&Nd.clientHeight>0&&(Yd==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:Kd?Yd:0,bottom:Fd?Yd:0}},l0.prototype.setScrollLeft=function(Nd){this.horiz.scrollLeft!=Nd&&(this.horiz.scrollLeft=Nd),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},l0.prototype.setScrollTop=function(Nd){this.vert.scrollTop!=Nd&&(this.vert.scrollTop=Nd),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},l0.prototype.zeroWidthHack=function(){var Nd=Ud&&!Ld?"12px":"18px";this.horiz.style.height=this.vert.style.width=Nd,this.horiz.style.visibility=this.vert.style.visibility="hidden",this.disableHoriz=new Gf,this.disableVert=new Gf},l0.prototype.enableZeroWidthBar=function(Nd,Fd,Kd){Nd.style.visibility="";function Yd(){var df=Nd.getBoundingClientRect(),Sf=Kd=="vert"?document.elementFromPoint(df.right-1,(df.top+df.bottom)/2):document.elementFromPoint((df.right+df.left)/2,df.bottom-1);Sf!=Nd?Nd.style.visibility="hidden":Fd.set(1e3,Yd)}Fd.set(1e3,Yd)},l0.prototype.clear=function(){var Nd=this.horiz.parentNode;Nd.removeChild(this.horiz),Nd.removeChild(this.vert)};var J0=function(){};J0.prototype.update=function(){return{bottom:0,right:0}},J0.prototype.setScrollLeft=function(){},J0.prototype.setScrollTop=function(){},J0.prototype.clear=function(){};function $0(Nd,Fd){Fd||(Fd=jb(Nd));var Kd=Nd.display.barWidth,Yd=Nd.display.barHeight;Yv(Nd,Fd);for(var df=0;df<4&&Kd!=Nd.display.barWidth||Yd!=Nd.display.barHeight;df++)Kd!=Nd.display.barWidth&&Nd.options.lineWrapping&&B1(Nd),Yv(Nd,jb(Nd)),Kd=Nd.display.barWidth,Yd=Nd.display.barHeight}function Yv(Nd,Fd){var Kd=Nd.display,Yd=Kd.scrollbars.update(Fd);Kd.sizer.style.paddingRight=(Kd.barWidth=Yd.right)+"px",Kd.sizer.style.paddingBottom=(Kd.barHeight=Yd.bottom)+"px",Kd.heightForcer.style.borderBottom=Yd.bottom+"px solid transparent",Yd.right&&Yd.bottom?(Kd.scrollbarFiller.style.display="block",Kd.scrollbarFiller.style.height=Yd.bottom+"px",Kd.scrollbarFiller.style.width=Yd.right+"px"):Kd.scrollbarFiller.style.display="",Yd.bottom&&Nd.options.coverGutterNextToScrollbar&&Nd.options.fixedGutter?(Kd.gutterFiller.style.display="block",Kd.gutterFiller.style.height=Yd.bottom+"px",Kd.gutterFiller.style.width=Fd.gutterWidth+"px"):Kd.gutterFiller.style.display=""}var Ub={native:l0,null:J0};function $E(Nd){Nd.display.scrollbars&&(Nd.display.scrollbars.clear(),Nd.display.scrollbars.addClass&&hf(Nd.display.wrapper,Nd.display.scrollbars.addClass)),Nd.display.scrollbars=new Ub[Nd.options.scrollbarStyle](function(Fd){Nd.display.wrapper.insertBefore(Fd,Nd.display.scrollbarFiller),lm(Fd,"mousedown",function(){Nd.state.focused&&setTimeout(function(){return Nd.display.input.focus()},0)}),Fd.setAttribute("cm-not-content","true")},function(Fd,Kd){Kd=="horizontal"?S0(Nd,Fd):Wv(Nd,Fd)},Nd),Nd.display.scrollbars.addClass&&eh(Nd.display.wrapper,Nd.display.scrollbars.addClass)}var BT=0;function Hb(Nd){Nd.curOp={cm:Nd,viewChanged:!1,startHeight:Nd.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++BT,markArrays:null},N1(Nd.curOp)}function Gb(Nd){var Fd=Nd.curOp;Fd&&qd(Fd,function(Kd){for(var Yd=0;Yd=Kd.viewTo)||Kd.maxLineChanged&&Fd.options.lineWrapping,Nd.update=Nd.mustUpdate&&new L0(Fd,Nd.mustUpdate&&{top:Nd.scrollTop,ensure:Nd.scrollToPos},Nd.forceUpdate)}function Kv(Nd){Nd.updatedDisplay=Nd.mustUpdate&&Zy(Nd.cm,Nd.update)}function LE(Nd){var Fd=Nd.cm,Kd=Fd.display;Nd.updatedDisplay&&B1(Fd),Nd.barMeasure=jb(Fd),Kd.maxLineChanged&&!Fd.options.lineWrapping&&(Nd.adjustWidthTo=D1(Fd,Kd.maxLine,Kd.maxLine.text.length).left+3,Fd.display.sizerWidth=Nd.adjustWidthTo,Nd.barMeasure.scrollWidth=Math.max(Kd.scroller.clientWidth,Kd.sizer.offsetLeft+Nd.adjustWidthTo+B0(Fd)+Fd.display.barWidth),Nd.maxScrollLeft=Math.max(0,Kd.sizer.offsetLeft+Nd.adjustWidthTo-Mb(Fd))),(Nd.updatedDisplay||Nd.selectionChanged)&&(Nd.preparedSelection=Kd.input.prepareSelection())}function ph(Nd){var Fd=Nd.cm;Nd.adjustWidthTo!=null&&(Fd.display.sizer.style.minWidth=Nd.adjustWidthTo+"px",Nd.maxScrollLeft=Nd.display.viewTo)){var Kd=+new Date+Nd.options.workTime,Yd=bg(Nd,Fd.highlightFrontier),df=[];Fd.iter(Yd.line,Math.min(Fd.first+Fd.size,Nd.display.viewTo+500),function(Sf){if(Yd.line>=Nd.display.viewFrom){var kf=Sf.styles,Ff=Sf.text.length>Nd.options.maxHighlightLength?Ym(Fd.mode,Yd.state):null,Wf=r0(Nd,Sf,Yd,!0);Ff&&(Yd.state=Ff),Sf.styles=Wf.styles;var rh=Sf.styleClasses,bh=Wf.classes;bh?Sf.styleClasses=bh:rh&&(Sf.styleClasses=null);for(var Ah=!kf||kf.length!=Sf.styles.length||rh!=bh&&(!rh||!bh||rh.bgClass!=bh.bgClass||rh.textClass!=bh.textClass),Hh=0;!Ah&&HhKd)return Xv(Nd,Nd.options.workDelay),!0}),Fd.highlightFrontier=Yd.line,Fd.modeFrontier=Math.max(Fd.modeFrontier,Yd.line),df.length&&Ig(Nd,function(){for(var Sf=0;Sf=Kd.viewFrom&&Fd.visible.to<=Kd.viewTo&&(Kd.updateLineNumbers==null||Kd.updateLineNumbers>=Kd.viewTo)&&Kd.renderedView==Kd.view&&$y(Nd)==0)return!1;UE(Nd)&&(E0(Nd),Fd.dims=dv(Nd));var df=Yd.first+Yd.size,Sf=Math.max(Fd.visible.from-Nd.options.viewportMargin,Yd.first),kf=Math.min(df,Fd.visible.to+Nd.options.viewportMargin);Kd.viewFromkf&&Kd.viewTo-kf<20&&(kf=Math.min(df,Kd.viewTo)),lg&&(Sf=K_(Nd.doc,Sf),kf=i0(Nd.doc,kf));var Ff=Sf!=Kd.viewFrom||kf!=Kd.viewTo||Kd.lastWrapHeight!=Fd.wrapperHeight||Kd.lastWrapWidth!=Fd.wrapperWidth;k1(Nd,Sf,kf),Kd.viewOffset=a0(Om(Nd.doc,Kd.viewFrom)),Nd.display.mover.style.top=Kd.viewOffset+"px";var Wf=$y(Nd);if(!Ff&&Wf==0&&!Fd.force&&Kd.renderedView==Kd.view&&(Kd.updateLineNumbers==null||Kd.updateLineNumbers>=Kd.viewTo))return!1;var rh=FT(Nd);return Wf>4&&(Kd.lineDiv.style.display="none"),UT(Nd,Kd.updateLineNumbers,Fd.dims),Wf>4&&(Kd.lineDiv.style.display=""),Kd.renderedView=Kd.view,jT(rh),bf(Kd.cursorDiv),bf(Kd.selectionDiv),Kd.gutters.style.height=Kd.sizer.style.minHeight=0,Ff&&(Kd.lastWrapHeight=Fd.wrapperHeight,Kd.lastWrapWidth=Fd.wrapperWidth,Xv(Nd,400)),Kd.updateLineNumbers=null,!0}function FE(Nd,Fd){for(var Kd=Fd.viewport,Yd=!0;;Yd=!1){if(!Yd||!Nd.options.lineWrapping||Fd.oldDisplayWidth==Mb(Nd)){if(Kd&&Kd.top!=null&&(Kd={top:Math.min(Nd.doc.height+kb(Nd.display)-Ry(Nd),Kd.top)}),Fd.visible=Fb(Nd.display,Nd.doc,Kd),Fd.visible.from>=Nd.display.viewFrom&&Fd.visible.to<=Nd.display.viewTo)break}else Yd&&(Fd.visible=Fb(Nd.display,Nd.doc,Kd));if(!Zy(Nd,Fd))break;B1(Nd);var df=jb(Nd);db(Nd),$0(Nd,df),tE(Nd,df),Fd.force=!1}Fd.signal(Nd,"update",Nd),(Nd.display.viewFrom!=Nd.display.reportedViewFrom||Nd.display.viewTo!=Nd.display.reportedViewTo)&&(Fd.signal(Nd,"viewportChange",Nd,Nd.display.viewFrom,Nd.display.viewTo),Nd.display.reportedViewFrom=Nd.display.viewFrom,Nd.display.reportedViewTo=Nd.display.viewTo)}function x0(Nd,Fd){var Kd=new L0(Nd,Fd);if(Zy(Nd,Kd)){B1(Nd),FE(Nd,Kd);var Yd=jb(Nd);db(Nd),$0(Nd,Yd),tE(Nd,Yd),Kd.finish()}}function UT(Nd,Fd,Kd){var Yd=Nd.display,df=Nd.options.lineNumbers,Sf=Yd.lineDiv,kf=Sf.firstChild;function Ff(cm){var mm=cm.nextSibling;return pd&&Ud&&Nd.display.currentWheelTarget==cm?cm.style.display="none":cm.parentNode.removeChild(cm),mm}for(var Wf=Yd.view,rh=Yd.viewFrom,bh=0;bh-1&&(jh=!1),Af(Nd,Ah,rh,Kd)),jh&&(bf(Ah.lineNumber),Ah.lineNumber.appendChild(document.createTextNode(e0(Nd.options,rh)))),kf=Ah.node.nextSibling}rh+=Ah.size}for(;kf;)kf=Ff(kf)}function eE(Nd){var Fd=Nd.gutters.offsetWidth;Nd.sizer.style.marginLeft=Fd+"px",Vd(Nd,"gutterChanged",Nd)}function tE(Nd,Fd){Nd.display.sizer.style.minHeight=Fd.docHeight+"px",Nd.display.heightForcer.style.top=Fd.docHeight+"px",Nd.display.gutters.style.height=Fd.docHeight+Nd.display.barHeight+B0(Nd)+"px"}function jE(Nd){var Fd=Nd.display,Kd=Fd.view;if(!(!Fd.alignWidgets&&(!Fd.gutters.firstChild||!Nd.options.fixedGutter))){for(var Yd=B_(Fd)-Fd.scroller.scrollLeft+Nd.doc.scrollLeft,df=Fd.gutters.offsetWidth,Sf=Yd+"px",kf=0;kf=105&&(df.wrapper.style.clipPath="inset(0px)"),df.wrapper.setAttribute("translate","no"),cd&&dd<8&&(df.gutters.style.zIndex=-1,df.scroller.style.paddingRight=0),!pd&&!(nd&&jd)&&(df.scroller.draggable=!0),Nd&&(Nd.appendChild?Nd.appendChild(df.wrapper):Nd(df.wrapper)),df.viewFrom=df.viewTo=Fd.first,df.reportedViewFrom=df.reportedViewTo=Fd.first,df.view=[],df.renderedView=null,df.externalMeasured=null,df.viewOffset=0,df.lastWrapHeight=df.lastWrapWidth=0,df.updateLineNumbers=null,df.nativeBarWidth=df.barHeight=df.barWidth=0,df.scrollbarsClipped=!1,df.lineNumWidth=df.lineNumInnerWidth=df.lineNumChars=null,df.alignWidgets=!1,df.cachedCharWidth=df.cachedTextHeight=df.cachedPaddingH=null,df.maxLine=null,df.maxLineLength=0,df.maxLineChanged=!1,df.wheelDX=df.wheelDY=df.wheelStartX=df.wheelStartY=null,df.shift=!1,df.selForContextMenu=null,df.activeTouch=null,df.gutterSpecs=C0(Yd.gutters,Yd.lineNumbers),HE(df),Kd.init(df)}var F1=0,Z0=null;cd?Z0=-.53:nd?Z0=15:Td?Z0=-.7:Dd&&(Z0=-1/3);function fb(Nd){var Fd=Nd.wheelDeltaX,Kd=Nd.wheelDeltaY;return Fd==null&&Nd.detail&&Nd.axis==Nd.HORIZONTAL_AXIS&&(Fd=Nd.detail),Kd==null&&Nd.detail&&Nd.axis==Nd.VERTICAL_AXIS?Kd=Nd.detail:Kd==null&&(Kd=Nd.wheelDelta),{x:Fd,y:Kd}}function GT(Nd){var Fd=fb(Nd);return Fd.x*=Z0,Fd.y*=Z0,Fd}function GE(Nd,Fd){Td&&Ad==102&&(Nd.display.chromeScrollHack==null?Nd.display.sizer.style.pointerEvents="none":clearTimeout(Nd.display.chromeScrollHack),Nd.display.chromeScrollHack=setTimeout(function(){Nd.display.chromeScrollHack=null,Nd.display.sizer.style.pointerEvents=""},100));var Kd=fb(Fd),Yd=Kd.x,df=Kd.y,Sf=Z0;Fd.deltaMode===0&&(Yd=Fd.deltaX,df=Fd.deltaY,Sf=1);var kf=Nd.display,Ff=kf.scroller,Wf=Ff.scrollWidth>Ff.clientWidth,rh=Ff.scrollHeight>Ff.clientHeight;if(Yd&&Wf||df&&rh){if(df&&Ud&&pd){e:for(var bh=Fd.target,Ah=kf.view;bh!=Ff;bh=bh.parentNode)for(var Hh=0;Hh=0&&s_(Nd,Yd.to())<=0)return Kd}return-1};var k_=function(Nd,Fd){this.anchor=Nd,this.head=Fd};k_.prototype.from=function(){return Gg(this.anchor,this.head)},k_.prototype.to=function(){return m0(this.anchor,this.head)},k_.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function A0(Nd,Fd,Kd){var Yd=Nd&&Nd.options.selectionsMayTouch,df=Fd[Kd];Fd.sort(function(Hh,jh){return s_(Hh.from(),jh.from())}),Kd=Qf(Fd,df);for(var Sf=1;Sf0:Wf>=0){var rh=Gg(Ff.from(),kf.from()),bh=m0(Ff.to(),kf.to()),Ah=Ff.empty()?kf.from()==kf.head:Ff.from()==Ff.head;Sf<=Kd&&--Kd,Fd.splice(--Sf,2,new k_(Ah?bh:rh,Ah?rh:bh))}}return new tg(Fd,Kd)}function hb(Nd,Fd){return new tg([new k_(Nd,Fd||Nd)],0)}function mb(Nd){return Nd.text?_m(Nd.from.line+Nd.text.length-1,lh(Nd.text).length+(Nd.text.length==1?Nd.from.ch:0)):Nd.to}function qE(Nd,Fd){if(s_(Nd,Fd.from)<0)return Nd;if(s_(Nd,Fd.to)<=0)return mb(Fd);var Kd=Nd.line+Fd.text.length-(Fd.to.line-Fd.from.line)-1,Yd=Nd.ch;return Nd.line==Fd.to.line&&(Yd+=mb(Fd).ch-Fd.to.ch),_m(Kd,Yd)}function j1(Nd,Fd){for(var Kd=[],Yd=0;Yd1&&Nd.remove(Ff.line+1,cm-1),Nd.insert(Ff.line+1,jm)}Vd(Nd,"change",Nd,Fd)}function _b(Nd,Fd,Kd){function Yd(df,Sf,kf){if(df.linked)for(var Ff=0;Ff1&&!Nd.done[Nd.done.length-2].ranges)return Nd.done.pop(),lh(Nd.done)}function aE(Nd,Fd,Kd,Yd){var df=Nd.history;df.undone.length=0;var Sf=+new Date,kf,Ff;if((df.lastOp==Yd||df.lastOrigin==Fd.origin&&Fd.origin&&(Fd.origin.charAt(0)=="+"&&df.lastModTime>Sf-(Nd.cm?Nd.cm.options.historyEventDelay:500)||Fd.origin.charAt(0)=="*"))&&(kf=VT(df,df.lastOp==Yd)))Ff=lh(kf.changes),s_(Fd.from,Fd.to)==0&&s_(Fd.from,Ff.to)==0?Ff.to=mb(Fd):kf.changes.push(tb(Nd,Fd));else{var Wf=lh(df.done);for((!Wf||!Wf.ranges)&&w0(Nd.sel,df.done),kf={changes:[tb(Nd,Fd)],generation:df.generation},df.done.push(kf);df.done.length>df.undoDepth;)df.done.shift(),df.done[0].ranges||df.done.shift()}df.done.push(Kd),df.generation=++df.maxGeneration,df.lastModTime=df.lastSelTime=Sf,df.lastOp=df.lastSelOp=Yd,df.lastOrigin=df.lastSelOrigin=Fd.origin,Ff||Pm(Nd,"historyAdded")}function zE(Nd,Fd,Kd,Yd){var df=Fd.charAt(0);return df=="*"||df=="+"&&Kd.ranges.length==Yd.ranges.length&&Kd.somethingSelected()==Yd.somethingSelected()&&new Date-Nd.history.lastSelTime<=(Nd.cm?Nd.cm.options.historyEventDelay:500)}function Zv(Nd,Fd,Kd,Yd){var df=Nd.history,Sf=Yd&&Yd.origin;Kd==df.lastSelOp||Sf&&df.lastSelOrigin==Sf&&(df.lastModTime==df.lastSelTime&&df.lastOrigin==Sf||zE(Nd,Sf,lh(df.done),Fd))?df.done[df.done.length-1]=Fd:w0(Fd,df.done),df.lastSelTime=+new Date,df.lastSelOrigin=Sf,df.lastSelOp=Kd,Yd&&Yd.clearRedo!==!1&&Kg(df.undone)}function w0(Nd,Fd){var Kd=lh(Fd);Kd&&Kd.ranges&&Kd.equals(Nd)||Fd.push(Nd)}function sE(Nd,Fd,Kd,Yd){var df=Fd["spans_"+Nd.id],Sf=0;Nd.iter(Math.max(Nd.first,Kd),Math.min(Nd.first+Nd.size,Yd),function(kf){kf.markedSpans&&((df||(df=Fd["spans_"+Nd.id]={}))[Sf]=kf.markedSpans),++Sf})}function zT(Nd){if(!Nd)return null;for(var Fd,Kd=0;Kd-1&&(lh(Ff)[Ah]=rh[Ah],delete rh[Ah])}}return Yd}function Eg(Nd,Fd,Kd,Yd){if(Yd){var df=Nd.anchor;if(Kd){var Sf=s_(Fd,df)<0;Sf!=s_(Kd,df)<0?(df=Fd,Fd=Kd):Sf!=s_(Fd,Kd)<0&&(Fd=Kd)}return new k_(df,Fd)}else return new k_(Kd||Fd,Fd)}function vv(Nd,Fd,Kd,Yd,df){df==null&&(df=Nd.cm&&(Nd.cm.display.shift||Nd.extend)),wg(Nd,new tg([Eg(Nd.sel.primary(),Fd,Kd,df)],0),Yd)}function oE(Nd,Fd,Kd){for(var Yd=[],df=Nd.cm&&(Nd.cm.display.shift||Nd.extend),Sf=0;Sf=Fd.ch:Ff.to>Fd.ch))){if(df&&(Pm(Wf,"beforeCursorEnter"),Wf.explicitlyCleared))if(Sf.markedSpans){--kf;continue}else break;if(!Wf.atomic)continue;if(Kd){var Ah=Wf.find(Yd<0?1:-1),Hh=void 0;if((Yd<0?bh:rh)&&(Ah=XE(Nd,Ah,-Yd,Ah&&Ah.line==Fd.line?Sf:null)),Ah&&Ah.line==Fd.line&&(Hh=s_(Ah,Kd))&&(Yd<0?Hh<0:Hh>0))return yv(Nd,Ah,Fd,Yd,df)}var jh=Wf.find(Yd<0?-1:1);return(Yd<0?rh:bh)&&(jh=XE(Nd,jh,Yd,jh.line==Fd.line?Sf:null)),jh?yv(Nd,jh,Fd,Yd,df):null}}return Fd}function Ev(Nd,Fd,Kd,Yd,df){var Sf=Yd||1,kf=yv(Nd,Fd,Kd,Sf,df)||!df&&yv(Nd,Fd,Kd,Sf,!0)||yv(Nd,Fd,Kd,-Sf,df)||!df&&yv(Nd,Fd,Kd,-Sf,!0);return kf||(Nd.cantEdit=!0,_m(Nd.first,0))}function XE(Nd,Fd,Kd,Yd){return Kd<0&&Fd.ch==0?Fd.line>Nd.first?o_(Nd,_m(Fd.line-1)):null:Kd>0&&Fd.ch==(Yd||Om(Nd,Fd.line)).text.length?Fd.line=0;--df)QE(Nd,{from:Yd[df].from,to:Yd[df].to,text:df?[""]:Fd.text,origin:Fd.origin});else QE(Nd,Fd)}}function QE(Nd,Fd){if(!(Fd.text.length==1&&Fd.text[0]==""&&s_(Fd.from,Fd.to)==0)){var Kd=j1(Nd,Fd);aE(Nd,Fd,Kd,Nd.cm?Nd.cm.curOp.id:NaN),e1(Nd,Fd,Kd,Lv(Nd,Fd));var Yd=[];_b(Nd,function(df,Sf){!Sf&&Qf(Yd,df.history)==-1&&(tT(df.history,Fd),Yd.push(df.history)),e1(df,Fd,null,Lv(df,Fd))})}}function bb(Nd,Fd,Kd){var Yd=Nd.cm&&Nd.cm.state.suppressEdits;if(!(Yd&&!Kd)){for(var df=Nd.history,Sf,kf=Nd.sel,Ff=Fd=="undo"?df.done:df.undone,Wf=Fd=="undo"?df.undone:df.done,rh=0;rh=0;--jh){var cm=Hh(jh);if(cm)return cm.v}}}}function JE(Nd,Fd){if(Fd!=0&&(Nd.first+=Fd,Nd.sel=new tg(_h(Nd.sel.ranges,function(df){return new k_(_m(df.anchor.line+Fd,df.anchor.ch),_m(df.head.line+Fd,df.head.ch))}),Nd.sel.primIndex),Nd.cm)){jg(Nd.cm,Nd.first,Nd.first-Fd,Fd);for(var Kd=Nd.cm.display,Yd=Kd.viewFrom;YdNd.lastLine())){if(Fd.from.lineSf&&(Fd={from:Fd.from,to:_m(Sf,Om(Nd,Sf).text.length),text:[Fd.text[0]],origin:Fd.origin}),Fd.removed=z_(Nd,Fd.from,Fd.to),Kd||(Kd=j1(Nd,Fd)),Nd.cm?uE(Nd.cm,Fd,Yd):gv(Nd,Fd,Yd),Ng(Nd,Kd,Xf),Nd.cantEdit&&Ev(Nd,_m(Nd.firstLine(),0))&&(Nd.cantEdit=!1)}}function uE(Nd,Fd,Kd){var Yd=Nd.doc,df=Nd.display,Sf=Fd.from,kf=Fd.to,Ff=!1,Wf=Sf.line;Nd.options.lineWrapping||(Wf=Um(P_(Om(Yd,Sf.line))),Yd.iter(Wf,kf.line+1,function(jh){if(jh==df.maxLine)return Ff=!0,!0})),Yd.sel.contains(Fd.from,Fd.to)>-1&&U_(Nd),gv(Yd,Fd,Kd,ME(Nd)),Nd.options.lineWrapping||(Yd.iter(Wf,Sf.line+Fd.text.length,function(jh){var cm=lb(jh);cm>df.maxLineLength&&(df.maxLine=jh,df.maxLineLength=cm,df.maxLineChanged=!0,Ff=!1)}),Ff&&(Nd.curOp.updateMaxLine=!0)),nv(Yd,Sf.line),Xv(Nd,400);var rh=Fd.text.length-(kf.line-Sf.line)-1;Fd.full?jg(Nd):Sf.line==kf.line&&Fd.text.length==1&&!mv(Nd.doc,Fd)?cb(Nd,Sf.line,"text"):jg(Nd,Sf.line,kf.line+1,rh);var bh=C_(Nd,"changes"),Ah=C_(Nd,"change");if(Ah||bh){var Hh={from:Sf,to:kf,text:Fd.text,removed:Fd.removed,origin:Fd.origin};Ah&&Vd(Nd,"change",Nd,Hh),bh&&(Nd.curOp.changeObjs||(Nd.curOp.changeObjs=[])).push(Hh)}Nd.display.selForContextMenu=null}function zb(Nd,Fd,Kd,Yd,df){var Sf;Yd||(Yd=Kd),s_(Yd,Kd)<0&&(Sf=[Yd,Kd],Kd=Sf[0],Yd=Sf[1]),typeof Fd=="string"&&(Fd=Nd.splitLines(Fd)),Sv(Nd,{from:Kd,to:Yd,text:Fd,origin:df})}function ZE(Nd,Fd,Kd,Yd){Kd1||!(this.children[0]instanceof Wb))){var Ff=[];this.collapse(Ff),this.children=[new Wb(Ff)],this.children[0].parent=this}},collapse:function(Nd){for(var Fd=0;Fd50){for(var kf=df.lines.length%25+25,Ff=kf;Ff10);Nd.parent.maybeSpill()}},iterN:function(Nd,Fd,Kd){for(var Yd=0;YdNd.display.maxLineLength&&(Nd.display.maxLine=rh,Nd.display.maxLineLength=bh,Nd.display.maxLineChanged=!0)}Yd!=null&&Nd&&this.collapsed&&jg(Nd,Yd,df+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,Nd&&YE(Nd.doc)),Nd&&Vd(Nd,"markerCleared",Nd,this,Yd,df),Fd&&Gb(Nd),this.parent&&this.parent.clear()}},N0.prototype.find=function(Nd,Fd){Nd==null&&this.type=="bookmark"&&(Nd=1);for(var Kd,Yd,df=0;df0||kf==0&&Sf.clearWhenEmpty!==!1)return Sf;if(Sf.replacedWith&&(Sf.collapsed=!0,Sf.widgetNode=vf("span",[Sf.replacedWith],"CodeMirror-widget"),Yd.handleMouseEvents||Sf.widgetNode.setAttribute("cm-ignore-events","true"),Yd.insertLeft&&(Sf.widgetNode.insertLeft=!0)),Sf.collapsed){if(jv(Nd,Fd.line,Fd,Kd,Sf)||Fd.line!=Kd.line&&jv(Nd,Kd.line,Fd,Kd,Sf))throw new Error("Inserting collapsed marker partially overlapping an existing one");_0()}Sf.addToHistory&&aE(Nd,{from:Fd,to:Kd,origin:"markText"},Nd.sel,NaN);var Ff=Fd.line,Wf=Nd.cm,rh;if(Nd.iter(Ff,Kd.line+1,function(Ah){Wf&&Sf.collapsed&&!Wf.options.lineWrapping&&P_(Ah)==Wf.display.maxLine&&(rh=!0),Sf.collapsed&&Ff!=Fd.line&&a_(Ah,0),$v(Ah,new Y0(Sf,Ff==Fd.line?Fd.ch:null,Ff==Kd.line?Kd.ch:null),Nd.cm&&Nd.cm.curOp),++Ff}),Sf.collapsed&&Nd.iter(Fd.line,Kd.line+1,function(Ah){ig(Nd,Ah)&&a_(Ah,0)}),Sf.clearOnEnter&&lm(Sf,"beforeCursorEnter",function(){return Sf.clear()}),Sf.readOnly&&(qg(),(Nd.history.done.length||Nd.history.undone.length)&&Nd.clearHistory()),Sf.collapsed&&(Sf.id=++dE,Sf.atomic=!0),Wf){if(rh&&(Wf.curOp.updateMaxLine=!0),Sf.collapsed)jg(Wf,Fd.line,Kd.line+1);else if(Sf.className||Sf.startStyle||Sf.endStyle||Sf.css||Sf.attributes||Sf.title)for(var bh=Fd.line;bh<=Kd.line;bh++)cb(Wf,bh,"text");Sf.atomic&&YE(Wf.doc),Vd(Wf,"markerAdded",Wf,Sf)}return Sf}var Av=function(Nd,Fd){this.markers=Nd,this.primary=Fd;for(var Kd=0;Kd=0;Wf--)Sv(this,Yd[Wf]);Ff?gb(this,Ff):this.cm&&J_(this.cm)}),undo:yg(function(){bb(this,"undo")}),redo:yg(function(){bb(this,"redo")}),undoSelection:yg(function(){bb(this,"undo",!0)}),redoSelection:yg(function(){bb(this,"redo",!0)}),setExtending:function(Nd){this.extend=Nd},getExtending:function(){return this.extend},historySize:function(){for(var Nd=this.history,Fd=0,Kd=0,Yd=0;Yd=Nd.ch)&&Fd.push(df.marker.parent||df.marker)}return Fd},findMarks:function(Nd,Fd,Kd){Nd=o_(this,Nd),Fd=o_(this,Fd);var Yd=[],df=Nd.line;return this.iter(Nd.line,Fd.line+1,function(Sf){var kf=Sf.markedSpans;if(kf)for(var Ff=0;Ff=Wf.to||Wf.from==null&&df!=Nd.line||Wf.from!=null&&df==Fd.line&&Wf.from>=Fd.ch)&&(!Kd||Kd(Wf.marker))&&Yd.push(Wf.marker.parent||Wf.marker)}++df}),Yd},getAllMarks:function(){var Nd=[];return this.iter(function(Fd){var Kd=Fd.markedSpans;if(Kd)for(var Yd=0;YdNd)return Fd=Nd,!0;Nd-=Sf,++Kd}),o_(this,_m(Kd,Fd))},indexFromPos:function(Nd){Nd=o_(this,Nd);var Fd=Nd.ch;if(Nd.lineFd&&(Fd=Nd.from),Nd.to!=null&&Nd.to-1){Fd.state.draggingText(Nd),setTimeout(function(){return Fd.display.input.focus()},20);return}try{var bh=Nd.dataTransfer.getData("Text");if(bh){var Ah;if(Fd.state.draggingText&&!Fd.state.draggingText.copy&&(Ah=Fd.listSelections()),Ng(Fd.doc,hb(Kd,Kd)),Ah)for(var Hh=0;Hh=0;Ff--)zb(Nd.doc,"",Yd[Ff].from,Yd[Ff].to,"+delete");J_(Nd)})}function W1(Nd,Fd,Kd){var Yd=Of(Nd.text,Fd+Kd,Kd);return Yd<0||Yd>Nd.text.length?null:Yd}function a1(Nd,Fd,Kd){var Yd=W1(Nd,Fd.ch,Kd);return Yd==null?null:new _m(Fd.line,Yd,Kd<0?"after":"before")}function s1(Nd,Fd,Kd,Yd,df){if(Nd){Fd.doc.direction=="rtl"&&(df=-df);var Sf=Xh(Kd,Fd.doc.direction);if(Sf){var kf=df<0?lh(Sf):Sf[0],Ff=df<0==(kf.level==1),Wf=Ff?"after":"before",rh;if(kf.level>0||Fd.doc.direction=="rtl"){var bh=Wg(Fd,Kd);rh=df<0?Kd.text.length-1:0;var Ah=Yg(Fd,bh,rh).top;rh=Nf(function(Hh){return Yg(Fd,bh,Hh).top==Ah},df<0==(kf.level==1)?kf.from:kf.to-1,rh),Wf=="before"&&(rh=W1(Kd,rh,1))}else rh=df<0?kf.to:kf.from;return new _m(Yd,rh,Wf)}}return new _m(Yd,df<0?Kd.text.length:0,df<0?"before":"after")}function yb(Nd,Fd,Kd,Yd){var df=Xh(Fd,Nd.doc.direction);if(!df)return a1(Fd,Kd,Yd);Kd.ch>=Fd.text.length?(Kd.ch=Fd.text.length,Kd.sticky="before"):Kd.ch<=0&&(Kd.ch=0,Kd.sticky="after");var Sf=xh(df,Kd.ch,Kd.sticky),kf=df[Sf];if(Nd.doc.direction=="ltr"&&kf.level%2==0&&(Yd>0?kf.to>Kd.ch:kf.from=kf.from&&Hh>=bh.begin)){var jh=Ah?"before":"after";return new _m(Kd.line,Hh,jh)}}var cm=function(jm,Vm,Fm){for(var Wm=function(j_,sg){return sg?new _m(Kd.line,Ff(j_,1),"before"):new _m(Kd.line,j_,"after")};jm>=0&&jm0==(n_.level!=1),__=t_?Fm.begin:Ff(Fm.end,-1);if(n_.from<=__&&__0?bh.end:Ff(bh.begin,-1);return Im!=null&&!(Yd>0&&Im==Fd.text.length)&&(mm=cm(Yd>0?0:df.length-1,Yd,rh(Im)),mm)?mm:null}var o1={selectAll:Tv,singleSelection:function(Nd){return Nd.setSelection(Nd.getCursor("anchor"),Nd.getCursor("head"),Xf)},killLine:function(Nd){return vb(Nd,function(Fd){if(Fd.empty()){var Kd=Om(Nd.doc,Fd.head.line).text.length;return Fd.head.ch==Kd&&Fd.head.line0)df=new _m(df.line,df.ch+1),Nd.replaceRange(Sf.charAt(df.ch-1)+Sf.charAt(df.ch-2),_m(df.line,df.ch-2),df,"+transpose");else if(df.line>Nd.doc.first){var kf=Om(Nd.doc,df.line-1).text;kf&&(df=new _m(df.line,1),Nd.replaceRange(Sf.charAt(0)+Nd.doc.lineSeparator()+kf.charAt(kf.length-1),_m(df.line-1,kf.length-1),df,"+transpose"))}}Kd.push(new k_(df,df))}Nd.setSelections(Kd)})},newlineAndIndent:function(Nd){return Ig(Nd,function(){for(var Fd=Nd.listSelections(),Kd=Fd.length-1;Kd>=0;Kd--)Nd.replaceRange(Nd.doc.lineSeparator(),Fd[Kd].anchor,Fd[Kd].head,"+input");Fd=Nd.listSelections();for(var Yd=0;YdNd&&s_(Fd,this.pos)==0&&Kd==this.button};var j0,Iv;function pT(Nd,Fd){var Kd=+new Date;return Iv&&Iv.compare(Kd,Nd,Fd)?(j0=Iv=null,"triple"):j0&&j0.compare(Kd,Nd,Fd)?(Iv=new Dv(Kd,Nd,Fd),j0=null,"double"):(j0=new Dv(Kd,Nd,Fd),Iv=null,"single")}function fT(Nd){var Fd=this,Kd=Fd.display;if(!(e_(Fd,Nd)||Kd.activeTouch&&Kd.input.supportsTouch())){if(Kd.input.ensurePolled(),Kd.shift=Nd.shiftKey,R_(Kd,Nd)){pd||(Kd.scroller.draggable=!1,setTimeout(function(){return Kd.scroller.draggable=!0},100));return}if(!Rv(Fd,Nd)){var Yd=P0(Fd,Nd),df=H_(Nd),Sf=Yd?pT(Yd,df):"single";Kf(Fd).focus(),df==1&&Fd.state.selectingText&&Fd.state.selectingText(Nd),!(Yd&&hT(Fd,df,Yd,Sf,Nd))&&(df==1?Yd?u1(Fd,Yd,Sf,Nd):Z_(Nd)==Kd.scroller&&Zm(Nd):df==2?(Yd&&vv(Fd.doc,Yd),setTimeout(function(){return Kd.input.focus()},20)):df==3&&(Qd?Fd.display.input.onContextMenu(Nd):pv(Fd)))}}}function hT(Nd,Fd,Kd,Yd,df){var Sf="Click";return Yd=="double"?Sf="Double"+Sf:Yd=="triple"&&(Sf="Triple"+Sf),Sf=(Fd==1?"Left":Fd==2?"Middle":"Right")+Sf,l1(Nd,hE(Sf,df),df,function(kf){if(typeof kf=="string"&&(kf=o1[kf]),!kf)return!1;var Ff=!1;try{Nd.isReadOnly()&&(Nd.state.suppressEdits=!0),Ff=kf(Nd,Kd)!=Df}finally{Nd.state.suppressEdits=!1}return Ff})}function Ov(Nd,Fd,Kd){var Yd=Nd.getOption("configureMouse"),df=Yd?Yd(Nd,Fd,Kd):{};if(df.unit==null){var Sf=Hd?Kd.shiftKey&&Kd.metaKey:Kd.altKey;df.unit=Sf?"rectangle":Fd=="single"?"char":Fd=="double"?"word":"line"}return(df.extend==null||Nd.doc.extend)&&(df.extend=Nd.doc.extend||Kd.shiftKey),df.addNew==null&&(df.addNew=Ud?Kd.metaKey:Kd.ctrlKey),df.moveOnDrag==null&&(df.moveOnDrag=!(Ud?Kd.altKey:Kd.ctrlKey)),df}function u1(Nd,Fd,Kd,Yd){cd?setTimeout(Tf(pb,Nd),0):Nd.curOp.focus=Yf($f(Nd));var df=Ov(Nd,Kd,Yd),Sf=Nd.doc.sel,kf;Nd.options.dragDrop&&O_&&!Nd.isReadOnly()&&Kd=="single"&&(kf=Sf.contains(Fd))>-1&&(s_((kf=Sf.ranges[kf]).from(),Fd)<0||Fd.xRel>0)&&(s_(kf.to(),Fd)>0||Fd.xRel<0)?t2(Nd,Yd,Fd,df):mT(Nd,Yd,Fd,df)}function t2(Nd,Fd,Kd,Yd){var df=Nd.display,Sf=!1,kf=$_(Nd,function(rh){pd&&(df.scroller.draggable=!1),Nd.state.draggingText=!1,Nd.state.delayingBlurEvent&&(Nd.hasFocus()?Nd.state.delayingBlurEvent=!1:pv(Nd)),Rm(df.wrapper.ownerDocument,"mouseup",kf),Rm(df.wrapper.ownerDocument,"mousemove",Ff),Rm(df.scroller,"dragstart",Wf),Rm(df.scroller,"drop",kf),Sf||(Zm(rh),Yd.addNew||vv(Nd.doc,Kd,null,null,Yd.extend),pd&&!Dd||cd&&dd==9?setTimeout(function(){df.wrapper.ownerDocument.body.focus({preventScroll:!0}),df.input.focus()},20):df.input.focus())}),Ff=function(rh){Sf=Sf||Math.abs(Fd.clientX-rh.clientX)+Math.abs(Fd.clientY-rh.clientY)>=10},Wf=function(){return Sf=!0};pd&&(df.scroller.draggable=!0),Nd.state.draggingText=kf,kf.copy=!Yd.moveOnDrag,lm(df.wrapper.ownerDocument,"mouseup",kf),lm(df.wrapper.ownerDocument,"mousemove",Ff),lm(df.scroller,"dragstart",Wf),lm(df.scroller,"drop",kf),Nd.state.delayingBlurEvent=!0,setTimeout(function(){return df.input.focus()},20),df.scroller.dragDrop&&df.scroller.dragDrop()}function vE(Nd,Fd,Kd){if(Kd=="char")return new k_(Fd,Fd);if(Kd=="word")return Nd.findWordAt(Fd);if(Kd=="line")return new k_(_m(Fd.line,0),o_(Nd.doc,_m(Fd.line+1,0)));var Yd=Kd(Nd,Fd);return new k_(Yd.from,Yd.to)}function mT(Nd,Fd,Kd,Yd){cd&&pv(Nd);var df=Nd.display,Sf=Nd.doc;Zm(Fd);var kf,Ff,Wf=Sf.sel,rh=Wf.ranges;if(Yd.addNew&&!Yd.extend?(Ff=Sf.sel.contains(Kd),Ff>-1?kf=rh[Ff]:kf=new k_(Kd,Kd)):(kf=Sf.sel.primary(),Ff=Sf.sel.primIndex),Yd.unit=="rectangle")Yd.addNew||(kf=new k_(Kd,Kd)),Kd=P0(Nd,Fd,!0,!0),Ff=-1;else{var bh=vE(Nd,Kd,Yd.unit);Yd.extend?kf=Eg(kf,bh.anchor,bh.head,Yd.extend):kf=bh}Yd.addNew?Ff==-1?(Ff=rh.length,wg(Sf,A0(Nd,rh.concat([kf]),Ff),{scroll:!1,origin:"*mouse"})):rh.length>1&&rh[Ff].empty()&&Yd.unit=="char"&&!Yd.extend?(wg(Sf,A0(Nd,rh.slice(0,Ff).concat(rh.slice(Ff+1)),0),{scroll:!1,origin:"*mouse"}),Wf=Sf.sel):u0(Sf,Ff,kf,dh):(Ff=0,wg(Sf,new tg([kf],0),dh),Wf=Sf.sel);var Ah=Kd;function Hh(Fm){if(s_(Ah,Fm)!=0)if(Ah=Fm,Yd.unit=="rectangle"){for(var Wm=[],n_=Nd.options.tabSize,t_=Mf(Om(Sf,Kd.line).text,Kd.ch,n_),__=Mf(Om(Sf,Fm.line).text,Fm.ch,n_),j_=Math.min(t_,__),sg=Math.max(t_,__),X_=Math.min(Kd.line,Fm.line),rg=Math.min(Nd.lastLine(),Math.max(Kd.line,Fm.line));X_<=rg;X_++){var ug=Om(Sf,X_).text,cg=wf(ug,j_,n_);j_==sg?Wm.push(new k_(_m(X_,cg),_m(X_,cg))):ug.length>cg&&Wm.push(new k_(_m(X_,cg),_m(X_,wf(ug,sg,n_))))}Wm.length||Wm.push(new k_(Kd,Kd)),wg(Sf,A0(Nd,Wf.ranges.slice(0,Ff).concat(Wm),Ff),{origin:"*mouse",scroll:!1}),Nd.scrollIntoView(Fm)}else{var Pg=kf,Dg=vE(Nd,Fm,Yd.unit),mg=Pg.anchor,dg;s_(Dg.anchor,mg)>0?(dg=Dg.head,mg=Gg(Pg.from(),Dg.anchor)):(dg=Dg.anchor,mg=m0(Pg.to(),Dg.head));var ng=Wf.ranges.slice(0);ng[Ff]=K1(Nd,new k_(o_(Sf,mg),dg)),wg(Sf,A0(Nd,ng,Ff),dh)}}var jh=df.wrapper.getBoundingClientRect(),cm=0;function mm(Fm){var Wm=++cm,n_=P0(Nd,Fm,!0,Yd.unit=="rectangle");if(n_)if(s_(n_,Ah)!=0){Nd.curOp.focus=Yf($f(Nd)),Hh(n_);var t_=Fb(df,Sf);(n_.line>=t_.to||n_.linejh.bottom?20:0;__&&setTimeout($_(Nd,function(){cm==Wm&&(df.scroller.scrollTop+=__,mm(Fm))}),50)}}function Im(Fm){Nd.state.selectingText=!1,cm=1/0,Fm&&(Zm(Fm),df.input.focus()),Rm(df.wrapper.ownerDocument,"mousemove",jm),Rm(df.wrapper.ownerDocument,"mouseup",Vm),Sf.history.lastSelOrigin=null}var jm=$_(Nd,function(Fm){Fm.buttons===0||!H_(Fm)?Im(Fm):mm(Fm)}),Vm=$_(Nd,Im);Nd.state.selectingText=Vm,lm(df.wrapper.ownerDocument,"mousemove",jm),lm(df.wrapper.ownerDocument,"mouseup",Vm)}function K1(Nd,Fd){var Kd=Fd.anchor,Yd=Fd.head,df=Om(Nd.doc,Kd.line);if(s_(Kd,Yd)==0&&Kd.sticky==Yd.sticky)return Fd;var Sf=Xh(df);if(!Sf)return Fd;var kf=xh(Sf,Kd.ch,Kd.sticky),Ff=Sf[kf];if(Ff.from!=Kd.ch&&Ff.to!=Kd.ch)return Fd;var Wf=kf+(Ff.from==Kd.ch==(Ff.level!=1)?0:1);if(Wf==0||Wf==Sf.length)return Fd;var rh;if(Yd.line!=Kd.line)rh=(Yd.line-Kd.line)*(Nd.doc.direction=="ltr"?1:-1)>0;else{var bh=xh(Sf,Yd.ch,Yd.sticky),Ah=bh-kf||(Yd.ch-Kd.ch)*(Ff.level==1?-1:1);bh==Wf-1||bh==Wf?rh=Ah<0:rh=Ah>0}var Hh=Sf[Wf+(rh?-1:0)],jh=rh==(Hh.level==1),cm=jh?Hh.from:Hh.to,mm=jh?"after":"before";return Kd.ch==cm&&Kd.sticky==mm?Fd:new k_(new _m(Kd.line,cm,mm),Yd)}function yE(Nd,Fd,Kd,Yd){var df,Sf;if(Fd.touches)df=Fd.touches[0].clientX,Sf=Fd.touches[0].clientY;else try{df=Fd.clientX,Sf=Fd.clientY}catch{return!1}if(df>=Math.floor(Nd.display.gutters.getBoundingClientRect().right))return!1;Yd&&Zm(Fd);var kf=Nd.display,Ff=kf.lineDiv.getBoundingClientRect();if(Sf>Ff.bottom||!C_(Nd,Kd))return V_(Fd);Sf-=Ff.top-kf.viewOffset;for(var Wf=0;Wf=df){var bh=y_(Nd.doc,Sf),Ah=Nd.display.gutterSpecs[Wf];return Pm(Nd,Kd,Nd,bh,Ah.className,Fd),V_(Fd)}}}function Rv(Nd,Fd){return yE(Nd,Fd,"gutterClick",!0)}function X1(Nd,Fd){R_(Nd.display,Fd)||Q1(Nd,Fd)||e_(Nd,Fd,"contextmenu")||Qd||Nd.display.input.onContextMenu(Fd)}function Q1(Nd,Fd){return C_(Nd,"gutterContextMenu")?yE(Nd,Fd,"gutterContextMenu",!1):!1}function _T(Nd){Nd.display.wrapper.className=Nd.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+Nd.options.theme.replace(/(^|\s)\s*/g," cm-s-"),qv(Nd)}var Qb={toString:function(){return"CodeMirror.Init"}},c1={},d1={};function TE(Nd){var Fd=Nd.optionHandlers;function Kd(Yd,df,Sf,kf){Nd.defaults[Yd]=df,Sf&&(Fd[Yd]=kf?function(Ff,Wf,rh){rh!=Qb&&Sf(Ff,Wf,rh)}:Sf)}Nd.defineOption=Kd,Nd.Init=Qb,Kd("value","",function(Yd,df){return Yd.setValue(df)},!0),Kd("mode",null,function(Yd,df){Yd.doc.modeOption=df,nE(Yd)},!0),Kd("indentUnit",2,nE,!0),Kd("indentWithTabs",!1),Kd("smartIndent",!0),Kd("tabSize",4,function(Yd){qb(Yd),qv(Yd),jg(Yd)},!0),Kd("lineSeparator",null,function(Yd,df){if(Yd.doc.lineSep=df,!!df){var Sf=[],kf=Yd.doc.first;Yd.doc.iter(function(Wf){for(var rh=0;;){var bh=Wf.text.indexOf(df,rh);if(bh==-1)break;rh=bh+df.length,Sf.push(_m(kf,bh))}kf++});for(var Ff=Sf.length-1;Ff>=0;Ff--)zb(Yd.doc,df,Sf[Ff],_m(Sf[Ff].line,Sf[Ff].ch+df.length))}}),Kd("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]/g,function(Yd,df,Sf){Yd.state.specialChars=new RegExp(df.source+(df.test(" ")?"":"| "),"g"),Sf!=Qb&&Yd.refresh()}),Kd("specialCharPlaceholder",M0,function(Yd){return Yd.refresh()},!0),Kd("electricChars",!0),Kd("inputStyle",jd?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),Kd("spellcheck",!1,function(Yd,df){return Yd.getInputField().spellcheck=df},!0),Kd("autocorrect",!1,function(Yd,df){return Yd.getInputField().autocorrect=df},!0),Kd("autocapitalize",!1,function(Yd,df){return Yd.getInputField().autocapitalize=df},!0),Kd("rtlMoveVisually",!zd),Kd("wholeLineUpdateBefore",!0),Kd("theme","default",function(Yd){_T(Yd),Jv(Yd)},!0),Kd("keyMap","default",function(Yd,df,Sf){var kf=i1(df),Ff=Sf!=Qb&&i1(Sf);Ff&&Ff.detach&&Ff.detach(Yd,kf),kf.attach&&kf.attach(Yd,Ff||null)}),Kd("extraKeys",null),Kd("configureMouse",null),Kd("lineWrapping",!1,gT,!0),Kd("gutters",[],function(Yd,df){Yd.display.gutterSpecs=C0(df,Yd.options.lineNumbers),Jv(Yd)},!0),Kd("fixedGutter",!0,function(Yd,df){Yd.display.gutters.style.left=df?B_(Yd.display)+"px":"0",Yd.refresh()},!0),Kd("coverGutterNextToScrollbar",!1,function(Yd){return $0(Yd)},!0),Kd("scrollbarStyle","native",function(Yd){$E(Yd),$0(Yd),Yd.display.scrollbars.setScrollTop(Yd.doc.scrollTop),Yd.display.scrollbars.setScrollLeft(Yd.doc.scrollLeft)},!0),Kd("lineNumbers",!1,function(Yd,df){Yd.display.gutterSpecs=C0(Yd.options.gutters,df),Jv(Yd)},!0),Kd("firstLineNumber",1,Jv,!0),Kd("lineNumberFormatter",function(Yd){return Yd},Jv,!0),Kd("showCursorWhenSelecting",!1,db,!0),Kd("resetSelectionOnContextMenu",!0),Kd("lineWiseCopyCut",!0),Kd("pasteLinesPerSelection",!0),Kd("selectionsMayTouch",!1),Kd("readOnly",!1,function(Yd,df){df=="nocursor"&&(fv(Yd),Yd.display.input.blur()),Yd.display.input.readOnlyChanged(df)}),Kd("screenReaderLabel",null,function(Yd,df){df=df===""?null:df,Yd.display.input.screenReaderLabelChanged(df)}),Kd("disableInput",!1,function(Yd,df){df||Yd.display.input.reset()},!0),Kd("dragDrop",!0,r2),Kd("allowDropFileTypes",null),Kd("cursorBlinkRate",530),Kd("cursorScrollMargin",0),Kd("cursorHeight",1,db,!0),Kd("singleCursorHeightPerLine",!0,db,!0),Kd("workTime",100),Kd("workDelay",100),Kd("flattenSpans",!0,qb,!0),Kd("addModeClass",!1,qb,!0),Kd("pollInterval",100),Kd("undoDepth",200,function(Yd,df){return Yd.doc.history.undoDepth=df}),Kd("historyEventDelay",1250),Kd("viewportMargin",10,function(Yd){return Yd.refresh()},!0),Kd("maxHighlightLength",1e4,qb,!0),Kd("moveInputWithCursor",!0,function(Yd,df){df||Yd.display.input.resetPosition()}),Kd("tabindex",null,function(Yd,df){return Yd.display.input.getField().tabIndex=df||""}),Kd("autofocus",null),Kd("direction","ltr",function(Yd,df){return Yd.doc.setDirection(df)},!0),Kd("phrases",null)}function r2(Nd,Fd,Kd){var Yd=Kd&&Kd!=Qb;if(!Fd!=!Yd){var df=Nd.display.dragFunctions,Sf=Fd?lm:Rm;Sf(Nd.display.scroller,"dragstart",df.start),Sf(Nd.display.scroller,"dragenter",df.enter),Sf(Nd.display.scroller,"dragover",df.over),Sf(Nd.display.scroller,"dragleave",df.leave),Sf(Nd.display.scroller,"drop",df.drop)}}function gT(Nd){Nd.options.lineWrapping?(eh(Nd.display.wrapper,"CodeMirror-wrap"),Nd.display.sizer.style.minWidth="",Nd.display.sizerWidth=null):(hf(Nd.display.wrapper,"CodeMirror-wrap"),av(Nd)),R1(Nd),jg(Nd),qv(Nd),setTimeout(function(){return $0(Nd)},100)}function D_(Nd,Fd){var Kd=this;if(!(this instanceof D_))return new D_(Nd,Fd);this.options=Fd=Fd?gf(Fd):{},gf(c1,Fd,!1);var Yd=Fd.value;typeof Yd=="string"?Yd=new Bg(Yd,Fd.mode,null,Fd.lineSeparator,Fd.direction):Fd.mode&&(Yd.modeOption=Fd.mode),this.doc=Yd;var df=new D_.inputStyles[Fd.inputStyle](this),Sf=this.display=new HT(Nd,Yd,df,Fd);Sf.wrapper.CodeMirror=this,_T(this),Fd.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),$E(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new Gf,keySeq:null,specialChars:null},Fd.autofocus&&!jd&&Sf.input.focus(),cd&&dd<11&&setTimeout(function(){return Kd.display.input.reset(!0)},20),bT(this),lT(),Hb(this),this.curOp.forceUpdate=!0,iE(this,Yd),Fd.autofocus&&!jd||this.hasFocus()?setTimeout(function(){Kd.hasFocus()&&!Kd.state.focused&&Hy(Kd)},20):fv(this);for(var kf in d1)d1.hasOwnProperty(kf)&&d1[kf](this,Fd[kf],Qb);UE(this),Fd.finishInit&&Fd.finishInit(this);for(var Ff=0;Ff20*20}lm(Fd.scroller,"touchstart",function(Wf){if(!e_(Nd,Wf)&&!Sf(Wf)&&!Rv(Nd,Wf)){Fd.input.ensurePolled(),clearTimeout(Kd);var rh=+new Date;Fd.activeTouch={start:rh,moved:!1,prev:rh-Yd.end<=300?Yd:null},Wf.touches.length==1&&(Fd.activeTouch.left=Wf.touches[0].pageX,Fd.activeTouch.top=Wf.touches[0].pageY)}}),lm(Fd.scroller,"touchmove",function(){Fd.activeTouch&&(Fd.activeTouch.moved=!0)}),lm(Fd.scroller,"touchend",function(Wf){var rh=Fd.activeTouch;if(rh&&!R_(Fd,Wf)&&rh.left!=null&&!rh.moved&&new Date-rh.start<300){var bh=Nd.coordsChar(Fd.activeTouch,"page"),Ah;!rh.prev||kf(rh,rh.prev)?Ah=new k_(bh,bh):!rh.prev.prev||kf(rh,rh.prev.prev)?Ah=Nd.findWordAt(bh):Ah=new k_(_m(bh.line,0),o_(Nd.doc,_m(bh.line+1,0))),Nd.setSelection(Ah.anchor,Ah.head),Nd.focus(),Zm(Wf)}df()}),lm(Fd.scroller,"touchcancel",df),lm(Fd.scroller,"scroll",function(){Fd.scroller.clientHeight&&(Wv(Nd,Fd.scroller.scrollTop),S0(Nd,Fd.scroller.scrollLeft,!0),Pm(Nd,"scroll",Nd))}),lm(Fd.scroller,"mousewheel",function(Wf){return GE(Nd,Wf)}),lm(Fd.scroller,"DOMMouseScroll",function(Wf){return GE(Nd,Wf)}),lm(Fd.wrapper,"scroll",function(){return Fd.wrapper.scrollTop=Fd.wrapper.scrollLeft=0}),Fd.dragFunctions={enter:function(Wf){e_(Nd,Wf)||Q_(Wf)},over:function(Wf){e_(Nd,Wf)||(b_(Nd,Wf),Q_(Wf))},start:function(Wf){return fE(Nd,Wf)},drop:$_(Nd,YT),leave:function(Wf){e_(Nd,Wf)||sT(Nd)}};var Ff=Fd.input.getField();lm(Ff,"keyup",function(Wf){return D0.call(Nd,Wf)}),lm(Ff,"keydown",$_(Nd,bE)),lm(Ff,"keypress",$_(Nd,dT)),lm(Ff,"focus",function(Wf){return Hy(Nd,Wf)}),lm(Ff,"blur",function(Wf){return fv(Nd,Wf)})}var J1=[];D_.defineInitHook=function(Nd){return J1.push(Nd)};function p1(Nd,Fd,Kd,Yd){var df=Nd.doc,Sf;Kd==null&&(Kd="add"),Kd=="smart"&&(df.mode.indent?Sf=bg(Nd,Fd).state:Kd="prev");var kf=Nd.options.tabSize,Ff=Om(df,Fd),Wf=Mf(Ff.text,null,kf);Ff.stateAfter&&(Ff.stateAfter=null);var rh=Ff.text.match(/^\s*/)[0],bh;if(!Yd&&!/\S/.test(Ff.text))bh=0,Kd="not";else if(Kd=="smart"&&(bh=df.mode.indent(Sf,Ff.text.slice(rh.length),Ff.text),bh==Df||bh>150)){if(!Yd)return;Kd="prev"}Kd=="prev"?Fd>df.first?bh=Mf(Om(df,Fd-1).text,null,kf):bh=0:Kd=="add"?bh=Wf+Nd.options.indentUnit:Kd=="subtract"?bh=Wf-Nd.options.indentUnit:typeof Kd=="number"&&(bh=Wf+Kd),bh=Math.max(0,bh);var Ah="",Hh=0;if(Nd.options.indentWithTabs)for(var jh=Math.floor(bh/kf);jh;--jh)Hh+=kf,Ah+=" ";if(Hhkf,Wf=Cf(Fd),rh=null;if(Ff&&Yd.ranges.length>1)if(c0&&c0.text.join(` +`)==Fd){if(Yd.ranges.length%c0.text.length==0){rh=[];for(var bh=0;bh=0;Hh--){var jh=Yd.ranges[Hh],cm=jh.from(),mm=jh.to();jh.empty()&&(Kd&&Kd>0?cm=_m(cm.line,cm.ch-Kd):Nd.state.overwrite&&!Ff?mm=_m(mm.line,Math.min(Om(Sf,mm.line).text.length,mm.ch+lh(Wf).length)):Ff&&c0&&c0.lineWise&&c0.text.join(` +`)==Wf.join(` +`)&&(cm=mm=_m(cm.line,0)));var Im={from:cm,to:mm,text:rh?rh[Hh%rh.length]:Wf,origin:df||(Ff?"paste":Nd.state.cutIncoming>kf?"cut":"+input")};Sv(Nd.doc,Im),Vd(Nd,"inputRead",Nd,Im)}Fd&&!Ff&&ty(Nd,Fd),J_(Nd),Nd.curOp.updateInput<2&&(Nd.curOp.updateInput=Ah),Nd.curOp.typing=!0,Nd.state.pasteIncoming=Nd.state.cutIncoming=-1}function U0(Nd,Fd){var Kd=Nd.clipboardData&&Nd.clipboardData.getData("Text");if(Kd)return Nd.preventDefault(),!Fd.isReadOnly()&&!Fd.options.disableInput&&Fd.hasFocus()&&Ig(Fd,function(){return SE(Fd,Kd,0,null,"paste")}),!0}function ty(Nd,Fd){if(!(!Nd.options.electricChars||!Nd.options.smartIndent))for(var Kd=Nd.doc.sel,Yd=Kd.ranges.length-1;Yd>=0;Yd--){var df=Kd.ranges[Yd];if(!(df.head.ch>100||Yd&&Kd.ranges[Yd-1].head.line==df.head.line)){var Sf=Nd.getModeAt(df.head),kf=!1;if(Sf.electricChars){for(var Ff=0;Ff-1){kf=p1(Nd,df.head.line,"smart");break}}else Sf.electricInput&&Sf.electricInput.test(Om(Nd.doc,df.head.line).text.slice(0,df.head.ch))&&(kf=p1(Nd,df.head.line,"smart"));kf&&Vd(Nd,"electricInput",Nd,df.head.line)}}}function ry(Nd){for(var Fd=[],Kd=[],Yd=0;YdSf&&(p1(this,Ff.head.line,Yd,!0),Sf=Ff.head.line,kf==this.doc.sel.primIndex&&J_(this));else{var Wf=Ff.from(),rh=Ff.to(),bh=Math.max(Sf,Wf.line);Sf=Math.min(this.lastLine(),rh.line-(rh.ch?0:1))+1;for(var Ah=bh;Ah0&&u0(this.doc,kf,new k_(Wf,Hh[kf].to()),Xf)}}}),getTokenAt:function(Yd,df){return sb(this,Yd,df)},getLineTokens:function(Yd,df){return sb(this,_m(Yd),df,!0)},getTokenTypeAt:function(Yd){Yd=o_(this.doc,Yd);var df=k0(this,Om(this.doc,Yd.line)),Sf=0,kf=(df.length-1)/2,Ff=Yd.ch,Wf;if(Ff==0)Wf=df[2];else for(;;){var rh=Sf+kf>>1;if((rh?df[rh*2-1]:0)>=Ff)kf=rh;else if(df[rh*2+1]Wf&&(Yd=Wf,kf=!0),Ff=Om(this.doc,Yd)}else Ff=Yd;return X0(this,Ff,{top:0,left:0},df||"page",Sf||kf).top+(kf?this.doc.height-a0(Ff):0)},defaultTextHeight:function(){return y0(this.display)},defaultCharWidth:function(){return Q0(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(Yd,df,Sf,kf,Ff){var Wf=this.display;Yd=Zh(this,o_(this.doc,Yd));var rh=Yd.bottom,bh=Yd.left;if(df.style.position="absolute",df.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(df),Wf.sizer.appendChild(df),kf=="over")rh=Yd.top;else if(kf=="above"||kf=="near"){var Ah=Math.max(Wf.wrapper.clientHeight,this.doc.height),Hh=Math.max(Wf.sizer.clientWidth,Wf.lineSpace.clientWidth);(kf=="above"||Yd.bottom+df.offsetHeight>Ah)&&Yd.top>df.offsetHeight?rh=Yd.top-df.offsetHeight:Yd.bottom+df.offsetHeight<=Ah&&(rh=Yd.bottom),bh+df.offsetWidth>Hh&&(bh=Hh-df.offsetWidth)}df.style.top=rh+"px",df.style.left=df.style.right="",Ff=="right"?(bh=Wf.sizer.clientWidth-df.offsetWidth,df.style.right="0px"):(Ff=="left"?bh=0:Ff=="middle"&&(bh=(Wf.sizer.clientWidth-df.offsetWidth)/2),df.style.left=bh+"px"),Sf&&PE(this,{left:bh,top:rh,right:bh+df.offsetWidth,bottom:rh+df.offsetHeight})},triggerOnKeyDown:u_(bE),triggerOnKeyPress:u_(dT),triggerOnKeyUp:D0,triggerOnMouseDown:u_(fT),execCommand:function(Yd){if(o1.hasOwnProperty(Yd))return o1[Yd].call(null,this)},triggerElectric:u_(function(Yd){ty(this,Yd)}),findPosH:function(Yd,df,Sf,kf){var Ff=1;df<0&&(Ff=-1,df=-df);for(var Wf=o_(this.doc,Yd),rh=0;rh0&&bh(Sf.charAt(kf-1));)--kf;for(;Ff.5||this.options.lineWrapping)&&R1(this),Pm(this,"refresh",this)}),swapDoc:u_(function(Yd){var df=this.doc;return df.cm=null,this.state.selectingText&&this.state.selectingText(),iE(this,Yd),qv(this),this.display.input.reset(),hg(this,Yd.scrollLeft,Yd.scrollTop),this.curOp.forceScroll=!0,Vd(this,"swapDoc",this,df),df}),phrase:function(Yd){var df=this.options.phrases;return df&&Object.prototype.hasOwnProperty.call(df,Yd)?df[Yd]:Yd},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},A_(Nd),Nd.registerHelper=function(Yd,df,Sf){Kd.hasOwnProperty(Yd)||(Kd[Yd]=Nd[Yd]={_global:[]}),Kd[Yd][df]=Sf},Nd.registerGlobalHelper=function(Yd,df,Sf,kf){Nd.registerHelper(Yd,df,kf),Kd[Yd]._global.push({pred:Sf,val:kf})}}function l_(Nd,Fd,Kd,Yd,df){var Sf=Fd,kf=Kd,Ff=Om(Nd,Fd.line),Wf=df&&Nd.direction=="rtl"?-Kd:Kd;function rh(){var Vm=Fd.line+Wf;return Vm=Nd.first+Nd.size?!1:(Fd=new _m(Vm,Fd.ch,Fd.sticky),Ff=Om(Nd,Vm))}function bh(Vm){var Fm;if(Yd=="codepoint"){var Wm=Ff.text.charCodeAt(Fd.ch+(Kd>0?0:-1));if(isNaN(Wm))Fm=null;else{var n_=Kd>0?Wm>=55296&&Wm<56320:Wm>=56320&&Wm<57343;Fm=new _m(Fd.line,Math.max(0,Math.min(Ff.text.length,Fd.ch+Kd*(n_?2:1))),-Kd)}}else df?Fm=yb(Nd.cm,Ff,Fd,Kd):Fm=a1(Ff,Fd,Kd);if(Fm==null)if(!Vm&&rh())Fd=s1(df,Nd.cm,Ff,Fd.line,Wf);else return!1;else Fd=Fm;return!0}if(Yd=="char"||Yd=="codepoint")bh();else if(Yd=="column")bh(!0);else if(Yd=="word"||Yd=="group")for(var Ah=null,Hh=Yd=="group",jh=Nd.cm&&Nd.cm.getHelper(Fd,"wordChars"),cm=!0;!(Kd<0&&!bh(!cm));cm=!1){var mm=Ff.text.charAt(Fd.ch)||` +`,Im=Bh(mm,jh)?"w":Hh&&mm==` +`?"n":!Hh||/\s/.test(mm)?null:"p";if(Hh&&!cm&&!Im&&(Im="s"),Ah&&Ah!=Im){Kd<0&&(Kd=1,bh(),Fd.sticky="after");break}if(Im&&(Ah=Im),Kd>0&&!bh(!cm))break}var jm=Ev(Nd,Fd,Sf,kf,!0);return kg(Sf,jm)&&(jm.hitSide=!0),jm}function m1(Nd,Fd,Kd,Yd){var df=Nd.doc,Sf=Fd.left,kf;if(Yd=="page"){var Ff=Math.min(Nd.display.wrapper.clientHeight,Kf(Nd).innerHeight||df(Nd).documentElement.clientHeight),Wf=Math.max(Ff-.5*y0(Nd.display),3);kf=(Kd>0?Fd.bottom:Fd.top)+Kd*Wf}else Yd=="line"&&(kf=Kd>0?Fd.bottom+3:Fd.top-3);for(var rh;rh=N_(Nd,Sf,kf),!!rh.outside;){if(Kd<0?kf<=0:kf>=df.height){rh.hitSide=!0;break}kf+=Kd*5}return rh}var M_=function(Nd){this.cm=Nd,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Gf,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};M_.prototype.init=function(Nd){var Fd=this,Kd=this,Yd=Kd.cm,df=Kd.div=Nd.lineDiv;df.contentEditable=!0,f1(df,Yd.options.spellcheck,Yd.options.autocorrect,Yd.options.autocapitalize);function Sf(Ff){for(var Wf=Ff.target;Wf;Wf=Wf.parentNode){if(Wf==df)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Wf.className))break}return!1}lm(df,"paste",function(Ff){!Sf(Ff)||e_(Yd,Ff)||U0(Ff,Yd)||dd<=11&&setTimeout($_(Yd,function(){return Fd.updateFromDOM()}),20)}),lm(df,"compositionstart",function(Ff){Fd.composing={data:Ff.data,done:!1}}),lm(df,"compositionupdate",function(Ff){Fd.composing||(Fd.composing={data:Ff.data,done:!1})}),lm(df,"compositionend",function(Ff){Fd.composing&&(Ff.data!=Fd.composing.data&&Fd.readFromDOMSoon(),Fd.composing.done=!0)}),lm(df,"touchstart",function(){return Kd.forceCompositionEnd()}),lm(df,"input",function(){Fd.composing||Fd.readFromDOMSoon()});function kf(Ff){if(!(!Sf(Ff)||e_(Yd,Ff))){if(Yd.somethingSelected())Z1({lineWise:!1,text:Yd.getSelections()}),Ff.type=="cut"&&Yd.replaceSelection("",null,"cut");else if(Yd.options.lineWiseCopyCut){var Wf=ry(Yd);Z1({lineWise:!0,text:Wf.text}),Ff.type=="cut"&&Yd.operation(function(){Yd.setSelections(Wf.ranges,0,Xf),Yd.replaceSelection("",null,"cut")})}else return;if(Ff.clipboardData){Ff.clipboardData.clearData();var rh=c0.text.join(` +`);if(Ff.clipboardData.setData("Text",rh),Ff.clipboardData.getData("Text")==rh){Ff.preventDefault();return}}var bh=h1(),Ah=bh.firstChild;f1(Ah),Yd.display.lineSpace.insertBefore(bh,Yd.display.lineSpace.firstChild),Ah.value=c0.text.join(` +`);var Hh=Yf(Zf(df));Pf(Ah),setTimeout(function(){Yd.display.lineSpace.removeChild(bh),Hh.focus(),Hh==df&&Kd.showPrimarySelection()},50)}}lm(df,"copy",kf),lm(df,"cut",kf)},M_.prototype.screenReaderLabelChanged=function(Nd){Nd?this.div.setAttribute("aria-label",Nd):this.div.removeAttribute("aria-label")},M_.prototype.prepareSelection=function(){var Nd=Fy(this.cm,!1);return Nd.focus=Yf(Zf(this.div))==this.div,Nd},M_.prototype.showSelection=function(Nd,Fd){!Nd||!this.cm.display.view.length||((Nd.focus||Fd)&&this.showPrimarySelection(),this.showMultipleSelections(Nd))},M_.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},M_.prototype.showPrimarySelection=function(){var Nd=this.getSelection(),Fd=this.cm,Kd=Fd.doc.sel.primary(),Yd=Kd.from(),df=Kd.to();if(Fd.display.viewTo==Fd.display.viewFrom||Yd.line>=Fd.display.viewTo||df.line=Fd.display.viewFrom&&Eb(Fd,Yd)||{node:Ff[0].measure.map[2],offset:0},rh=df.lineNd.firstLine()&&(Yd=_m(Yd.line-1,Om(Nd.doc,Yd.line-1).length)),df.ch==Om(Nd.doc,df.line).text.length&&df.lineFd.viewTo-1)return!1;var Sf,kf,Ff;Yd.line==Fd.viewFrom||(Sf=Pb(Nd,Yd.line))==0?(kf=Um(Fd.view[0].line),Ff=Fd.view[0].node):(kf=Um(Fd.view[Sf].line),Ff=Fd.view[Sf-1].node.nextSibling);var Wf=Pb(Nd,df.line),rh,bh;if(Wf==Fd.view.length-1?(rh=Fd.viewTo-1,bh=Fd.lineDiv.lastChild):(rh=Um(Fd.view[Wf+1].line)-1,bh=Fd.view[Wf+1].node.previousSibling),!Ff)return!1;for(var Ah=Nd.doc.splitLines(vT(Nd,Ff,bh,kf,rh)),Hh=z_(Nd.doc,_m(kf,0),_m(rh,Om(Nd.doc,rh).text.length));Ah.length>1&&Hh.length>1;)if(lh(Ah)==lh(Hh))Ah.pop(),Hh.pop(),rh--;else if(Ah[0]==Hh[0])Ah.shift(),Hh.shift(),kf++;else break;for(var jh=0,cm=0,mm=Ah[0],Im=Hh[0],jm=Math.min(mm.length,Im.length);jhYd.ch&&Vm.charCodeAt(Vm.length-cm-1)==Fm.charCodeAt(Fm.length-cm-1);)jh--,cm++;Ah[Ah.length-1]=Vm.slice(0,Vm.length-cm).replace(/^\u200b+/,""),Ah[0]=Ah[0].slice(jh).replace(/\u200b+$/,"");var n_=_m(kf,jh),t_=_m(rh,Hh.length?lh(Hh).length-cm:0);if(Ah.length>1||Ah[0]||s_(n_,t_))return zb(Nd.doc,Ah,n_,t_,"+input"),!0},M_.prototype.ensurePolled=function(){this.forceCompositionEnd()},M_.prototype.reset=function(){this.forceCompositionEnd()},M_.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},M_.prototype.readFromDOMSoon=function(){var Nd=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(Nd.readDOMTimeout=null,Nd.composing)if(Nd.composing.done)Nd.composing=null;else return;Nd.updateFromDOM()},80))},M_.prototype.updateFromDOM=function(){var Nd=this;(this.cm.isReadOnly()||!this.pollContent())&&Ig(this.cm,function(){return jg(Nd.cm)})},M_.prototype.setUneditable=function(Nd){Nd.contentEditable="false"},M_.prototype.onKeyPress=function(Nd){Nd.charCode==0||this.composing||(Nd.preventDefault(),this.cm.isReadOnly()||$_(this.cm,SE)(this.cm,String.fromCharCode(Nd.charCode==null?Nd.keyCode:Nd.charCode),0))},M_.prototype.readOnlyChanged=function(Nd){this.div.contentEditable=String(Nd!="nocursor")},M_.prototype.onContextMenu=function(){},M_.prototype.resetPosition=function(){},M_.prototype.needsContentAttribute=!0;function Eb(Nd,Fd){var Kd=I1(Nd,Fd.line);if(!Kd||Kd.hidden)return null;var Yd=Om(Nd.doc,Fd.line),df=NE(Kd,Yd,Fd.line),Sf=Xh(Yd,Nd.doc.direction),kf="left";if(Sf){var Ff=xh(Sf,Fd.ch);kf=Ff%2?"right":"left"}var Wf=IE(df.map,Fd.ch,kf);return Wf.offset=Wf.collapse=="right"?Wf.end:Wf.start,Wf}function n2(Nd){for(var Fd=Nd;Fd;Fd=Fd.parentNode)if(/CodeMirror-gutter-wrapper/.test(Fd.className))return!0;return!1}function Tb(Nd,Fd){return Fd&&(Nd.bad=!0),Nd}function vT(Nd,Fd,Kd,Yd,df){var Sf="",kf=!1,Ff=Nd.doc.lineSeparator(),Wf=!1;function rh(jh){return function(cm){return cm.id==jh}}function bh(){kf&&(Sf+=Ff,Wf&&(Sf+=Ff),kf=Wf=!1)}function Ah(jh){jh&&(bh(),Sf+=jh)}function Hh(jh){if(jh.nodeType==1){var cm=jh.getAttribute("cm-text");if(cm){Ah(cm);return}var mm=jh.getAttribute("cm-marker"),Im;if(mm){var jm=Nd.findMarks(_m(Yd,0),_m(df+1,0),rh(+mm));jm.length&&(Im=jm[0].find(0))&&Ah(z_(Nd.doc,Im.from,Im.to).join(Ff));return}if(jh.getAttribute("contenteditable")=="false")return;var Vm=/^(pre|div|p|li|table|br)$/i.test(jh.nodeName);if(!/^br$/i.test(jh.nodeName)&&jh.textContent.length==0)return;Vm&&bh();for(var Fm=0;Fm=9&&Fd.hasSelection&&(Fd.hasSelection=null),Kd.poll()}),lm(df,"paste",function(kf){e_(Yd,kf)||U0(kf,Yd)||(Yd.state.pasteIncoming=+new Date,Kd.fastPoll())});function Sf(kf){if(!e_(Yd,kf)){if(Yd.somethingSelected())Z1({lineWise:!1,text:Yd.getSelections()});else if(Yd.options.lineWiseCopyCut){var Ff=ry(Yd);Z1({lineWise:!0,text:Ff.text}),kf.type=="cut"?Yd.setSelections(Ff.ranges,null,Xf):(Kd.prevInput="",df.value=Ff.text.join(` +`),Pf(df))}else return;kf.type=="cut"&&(Yd.state.cutIncoming=+new Date)}}lm(df,"cut",Sf),lm(df,"copy",Sf),lm(Nd.scroller,"paste",function(kf){if(!(R_(Nd,kf)||e_(Yd,kf))){if(!df.dispatchEvent){Yd.state.pasteIncoming=+new Date,Kd.focus();return}var Ff=new Event("paste");Ff.clipboardData=kf.clipboardData,df.dispatchEvent(Ff)}}),lm(Nd.lineSpace,"selectstart",function(kf){R_(Nd,kf)||Zm(kf)}),lm(df,"compositionstart",function(){var kf=Yd.getCursor("from");Kd.composing&&Kd.composing.range.clear(),Kd.composing={start:kf,range:Yd.markText(kf,Yd.getCursor("to"),{className:"CodeMirror-composing"})}}),lm(df,"compositionend",function(){Kd.composing&&(Kd.poll(),Kd.composing.range.clear(),Kd.composing=null)})},ag.prototype.createField=function(Nd){this.wrapper=h1(),this.textarea=this.wrapper.firstChild;var Fd=this.cm.options;f1(this.textarea,Fd.spellcheck,Fd.autocorrect,Fd.autocapitalize)},ag.prototype.screenReaderLabelChanged=function(Nd){Nd?this.textarea.setAttribute("aria-label",Nd):this.textarea.removeAttribute("aria-label")},ag.prototype.prepareSelection=function(){var Nd=this.cm,Fd=Nd.display,Kd=Nd.doc,Yd=Fy(Nd);if(Nd.options.moveInputWithCursor){var df=Zh(Nd,Kd.sel.primary().head,"div"),Sf=Fd.wrapper.getBoundingClientRect(),kf=Fd.lineDiv.getBoundingClientRect();Yd.teTop=Math.max(0,Math.min(Fd.wrapper.clientHeight-10,df.top+kf.top-Sf.top)),Yd.teLeft=Math.max(0,Math.min(Fd.wrapper.clientWidth-10,df.left+kf.left-Sf.left))}return Yd},ag.prototype.showSelection=function(Nd){var Fd=this.cm,Kd=Fd.display;Ef(Kd.cursorDiv,Nd.cursors),Ef(Kd.selectionDiv,Nd.selection),Nd.teTop!=null&&(this.wrapper.style.top=Nd.teTop+"px",this.wrapper.style.left=Nd.teLeft+"px")},ag.prototype.reset=function(Nd){if(!(this.contextMenuPending||this.composing&&Nd)){var Fd=this.cm;if(this.resetting=!0,Fd.somethingSelected()){this.prevInput="";var Kd=Fd.getSelection();this.textarea.value=Kd,Fd.state.focused&&Pf(this.textarea),cd&&dd>=9&&(this.hasSelection=Kd)}else Nd||(this.prevInput=this.textarea.value="",cd&&dd>=9&&(this.hasSelection=null));this.resetting=!1}},ag.prototype.getField=function(){return this.textarea},ag.prototype.supportsTouch=function(){return!1},ag.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!jd||Yf(Zf(this.textarea))!=this.textarea))try{this.textarea.focus()}catch{}},ag.prototype.blur=function(){this.textarea.blur()},ag.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},ag.prototype.receivedFocus=function(){this.slowPoll()},ag.prototype.slowPoll=function(){var Nd=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){Nd.poll(),Nd.cm.state.focused&&Nd.slowPoll()})},ag.prototype.fastPoll=function(){var Nd=!1,Fd=this;Fd.pollingFast=!0;function Kd(){var Yd=Fd.poll();!Yd&&!Nd?(Nd=!0,Fd.polling.set(60,Kd)):(Fd.pollingFast=!1,Fd.slowPoll())}Fd.polling.set(20,Kd)},ag.prototype.poll=function(){var Nd=this,Fd=this.cm,Kd=this.textarea,Yd=this.prevInput;if(this.contextMenuPending||this.resetting||!Fd.state.focused||uh(Kd)&&!Yd&&!this.composing||Fd.isReadOnly()||Fd.options.disableInput||Fd.state.keySeq)return!1;var df=Kd.value;if(df==Yd&&!Fd.somethingSelected())return!1;if(cd&&dd>=9&&this.hasSelection===df||Ud&&/[\uf700-\uf7ff]/.test(df))return Fd.display.input.reset(),!1;if(Fd.doc.sel==Fd.display.selForContextMenu){var Sf=df.charCodeAt(0);if(Sf==8203&&!Yd&&(Yd="​"),Sf==8666)return this.reset(),this.cm.execCommand("undo")}for(var kf=0,Ff=Math.min(Yd.length,df.length);kf1e3||df.indexOf(` +`)>-1?Kd.value=Nd.prevInput="":Nd.prevInput=df,Nd.composing&&(Nd.composing.range.clear(),Nd.composing.range=Fd.markText(Nd.composing.start,Fd.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ag.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},ag.prototype.onKeyPress=function(){cd&&dd>=9&&(this.hasSelection=null),this.fastPoll()},ag.prototype.onContextMenu=function(Nd){var Fd=this,Kd=Fd.cm,Yd=Kd.display,df=Fd.textarea;Fd.contextMenuPending&&Fd.contextMenuPending();var Sf=P0(Kd,Nd),kf=Yd.scroller.scrollTop;if(!Sf||Sd)return;var Ff=Kd.options.resetSelectionOnContextMenu;Ff&&Kd.doc.sel.contains(Sf)==-1&&$_(Kd,wg)(Kd.doc,hb(Sf),Xf);var Wf=df.style.cssText,rh=Fd.wrapper.style.cssText,bh=Fd.wrapper.offsetParent.getBoundingClientRect();Fd.wrapper.style.cssText="position: static",df.style.cssText=`position: absolute; width: 30px; height: 30px; + top: `+(Nd.clientY-bh.top-5)+"px; left: "+(Nd.clientX-bh.left-5)+`px; + z-index: 1000; background: `+(cd?"rgba(255, 255, 255, .05)":"transparent")+`; + outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Ah;pd&&(Ah=df.ownerDocument.defaultView.scrollY),Yd.input.focus(),pd&&df.ownerDocument.defaultView.scrollTo(null,Ah),Yd.input.reset(),Kd.somethingSelected()||(df.value=Fd.prevInput=" "),Fd.contextMenuPending=jh,Yd.selForContextMenu=Kd.doc.sel,clearTimeout(Yd.detectingSelectAll);function Hh(){if(df.selectionStart!=null){var mm=Kd.somethingSelected(),Im="​"+(mm?df.value:"");df.value="⇚",df.value=Im,Fd.prevInput=mm?"":"​",df.selectionStart=1,df.selectionEnd=Im.length,Yd.selForContextMenu=Kd.doc.sel}}function jh(){if(Fd.contextMenuPending==jh&&(Fd.contextMenuPending=!1,Fd.wrapper.style.cssText=rh,df.style.cssText=Wf,cd&&dd<9&&Yd.scrollbars.setScrollTop(Yd.scroller.scrollTop=kf),df.selectionStart!=null)){(!cd||cd&&dd<9)&&Hh();var mm=0,Im=function(){Yd.selForContextMenu==Kd.doc.sel&&df.selectionStart==0&&df.selectionEnd>0&&Fd.prevInput=="​"?$_(Kd,Tv)(Kd):mm++<10?Yd.detectingSelectAll=setTimeout(Im,500):(Yd.selForContextMenu=null,Yd.input.reset())};Yd.detectingSelectAll=setTimeout(Im,200)}}if(cd&&dd>=9&&Hh(),Qd){Q_(Nd);var cm=function(){Rm(window,"mouseup",cm),setTimeout(jh,20)};lm(window,"mouseup",cm)}else setTimeout(jh,50)},ag.prototype.readOnlyChanged=function(Nd){Nd||this.reset(),this.textarea.disabled=Nd=="nocursor",this.textarea.readOnly=!!Nd},ag.prototype.setUneditable=function(){},ag.prototype.needsContentAttribute=!1;function yT(Nd,Fd){if(Fd=Fd?gf(Fd):{},Fd.value=Nd.value,!Fd.tabindex&&Nd.tabIndex&&(Fd.tabindex=Nd.tabIndex),!Fd.placeholder&&Nd.placeholder&&(Fd.placeholder=Nd.placeholder),Fd.autofocus==null){var Kd=Yf(Zf(Nd));Fd.autofocus=Kd==Nd||Nd.getAttribute("autofocus")!=null&&Kd==document.body}function Yd(){Nd.value=Ff.getValue()}var df;if(Nd.form&&(lm(Nd.form,"submit",Yd),!Fd.leaveSubmitMethodAlone)){var Sf=Nd.form;df=Sf.submit;try{var kf=Sf.submit=function(){Yd(),Sf.submit=df,Sf.submit(),Sf.submit=kf}}catch{}}Fd.finishInit=function(Wf){Wf.save=Yd,Wf.getTextArea=function(){return Nd},Wf.toTextArea=function(){Wf.toTextArea=isNaN,Yd(),Nd.parentNode.removeChild(Wf.getWrapperElement()),Nd.style.display="",Nd.form&&(Rm(Nd.form,"submit",Yd),!Fd.leaveSubmitMethodAlone&&typeof Nd.form.submit=="function"&&(Nd.form.submit=df))}},Nd.style.display="none";var Ff=D_(function(Wf){return Nd.parentNode.insertBefore(Wf,Nd.nextSibling)},Fd);return Ff}function a2(Nd){Nd.off=Rm,Nd.on=lm,Nd.wheelEventPixels=GT,Nd.Doc=Bg,Nd.splitLines=Cf,Nd.countColumn=Mf,Nd.findColumn=wf,Nd.isWordChar=Vh,Nd.Pass=Df,Nd.signal=Pm,Nd.Line=g0,Nd.changeEnd=mb,Nd.scrollbarModel=Ub,Nd.Pos=_m,Nd.cmpPos=s_,Nd.modes=vh,Nd.mimeModes=kh,Nd.resolveMode=im,Nd.getMode=fm,Nd.modeExtensions=Gm,Nd.extendMode=Nm,Nd.copyState=Ym,Nd.startState=w_,Nd.innerMode=S_,Nd.commands=o1,Nd.keyMap=F0,Nd.keyName=n1,Nd.isModifierKey=z1,Nd.lookupKey=Qg,Nd.normalizeKeyMap=Xg,Nd.StringStream=p_,Nd.SharedTextMarker=Av,Nd.TextMarker=N0,Nd.LineWidget=Yb,Nd.e_preventDefault=Zm,Nd.e_stopPropagation=L_,Nd.e_stop=Q_,Nd.addClass=eh,Nd.contains=Bf,Nd.rmClass=hf,Nd.keyNames=Tg}TE(D_),kv(D_);var ET="iter insert remove copy getEditor constructor".split(" ");for(var ny in Bg.prototype)Bg.prototype.hasOwnProperty(ny)&&Qf(ET,ny)<0&&(D_.prototype[ny]=function(Nd){return function(){return Nd.apply(this.doc,arguments)}}(Bg.prototype[ny]));return A_(Bg),D_.inputStyles={textarea:ag,contenteditable:M_},D_.defineMode=function(Nd){!D_.defaults.mode&&Nd!="null"&&(D_.defaults.mode=Nd),Rh.apply(this,arguments)},D_.defineMIME=mh,D_.defineMode("null",function(){return{token:function(Nd){return Nd.skipToEnd()}}}),D_.defineMIME("text/plain","null"),D_.defineExtension=function(Nd,Fd){D_.prototype[Nd]=Fd},D_.defineDocExtension=function(Nd,Fd){Bg.prototype[Nd]=Fd},D_.fromTextArea=yT,a2(D_),D_.version="5.65.17",D_})}(codemirror)),codemirror.exports}var codemirrorExports=requireCodemirror();const CodeMirror=getDefaultExportFromCjs(codemirrorExports),useStore=defineStore("store",()=>{const Ra=useDark(),qa=useToggle(Ra),td=useStorage("isMacCodeBlock",!0),rd=useToggle(td),nd=useStorage("isEditOnLeft",!0),ad=useToggle(nd),sd=useStorage("isCiteStatus",!1),ud=useToggle(sd),cd=ref$1(""),dd=useStorage(addPrefix("theme"),themeOptions[0].value),pd=useStorage("fonts",fontFamilyOptions[0].value),fd=useStorage("size",fontSizeOptions[2].value),Td=useStorage("color",colorOptions[0].value),Ad=useStorage("codeBlockTheme",codeBlockThemeOptions[23].value),Sd=useStorage("legend",legendOptions[3].value),Dd=computed(()=>fd.value.replace("px","")),Ld=ref$1(null),Rd=useStorage("__editor_content",DEFAULT_CONTENT),Od=()=>{formatDoc(Ld.value.getValue()).then(Qf=>{Rd.value=Qf,Ld.value.setValue(Qf)})},Md=()=>{const Qf=Ad.value,Uf=document.querySelector("#hljs");if(Uf)Uf.setAttribute("href",Qf);else{const Df=document.createElement("link");Df.setAttribute("type","text/css"),Df.setAttribute("rel","stylesheet"),Df.setAttribute("href",Qf),Df.setAttribute("id","hljs"),document.head.appendChild(Df)}},jd=ref$1(null),Ud=Qf=>{jd.value.setValue(Qf)},Hd=useStorage("__css_content",DEFAULT_CSS_CONTENT),zd=useStorage(addPrefix("css_content_config"),{active:"方案1",tabs:[{title:"方案1",name:"方案1",content:Hd.value||DEFAULT_CSS_CONTENT}]});onMounted(()=>{Hd.value=""});const Zd=()=>zd.value.tabs.find(Qf=>Qf.name===zd.value.active),Wd=Qf=>{zd.value.active=Qf;const Uf=zd.value.tabs.find(Df=>Df.name===Qf).content;Ud(Uf)},Qd=Qf=>{const Uf=Zd();Uf.title=Qf,Uf.name=Qf,zd.value.active=Qf},Jd=Qf=>{zd.value.tabs.push({name:Qf,title:Qf,content:DEFAULT_CSS_CONTENT}),zd.value.active=Qf,Ud(DEFAULT_CSS_CONTENT)},hf=Qf=>zd.value.tabs.every(({name:Uf})=>Uf!==Qf),bf=initRenderer({theme:customCssWithTemplate(css2json(Zd().content),Td.value,customizeTheme(themeMap[dd.value],{fontSize:Dd.value,color:Td.value})),fonts:pd.value,size:Dd.value}),Ef=()=>{Md(),bf.reset({status:sd.value,legend:Sd.value});let Qf=marked$1.parse(Ld.value.getValue());Qf=Qf.replace(/(style=".*?)"/,'$1;margin-top: 0"'),Qf+=bf.buildFootnotes(),Qf+=bf.buildAddition(),td.value&&(Qf+=` - `),ud.value=Kf},pf=()=>{const Kf=css2json(Ld.value.getValue()),Ff=customCssWithTemplate(Kf,Ed.value,customizeTheme(themeMap[cd.value],{fontSize:Id.value,color:Ed.value}));mf.setOptions({theme:Ff}),bf()};onMounted(()=>{const Kf=document.querySelector("#cssEditor");Kf.value=Qd().content;const Ff=Ra.value?"darcula":"xq-light";Ld.value=markRaw(CodeMirror.fromTextArea(Kf,{mode:"css",theme:Ff,lineNumbers:!1,lineWrapping:!0,styleActiveLine:!0,matchBrackets:!0,autofocus:!0,extraKeys:{[`${shiftKey}-${altKey}-F`]:function(Yf){formatDoc(Yf.getValue(),"css").then(uh=>{Qd().content=uh,Yf.setValue(uh)})}}})),Ld.value.on("keyup",(wf,Yf)=>{(Yf.keyCode>=65&&Yf.keyCode<=90||Yf.keyCode===189)&&wf.showHint(Yf)}),Ld.value.on("update",()=>{pf(),Qd().content=Ld.value.getValue()})}),watch(Ra,()=>{var Ff,wf;const Kf=Ra.value?"darcula":"xq-light";(wf=(Ff=toRaw(Ld.value))==null?void 0:Ff.setOption)==null||wf.call(Ff,"theme",Kf)});const _f=()=>{od.value=!1,ed.value=!0,cd.value=themeOptions[0].value,dd.value=fontFamilyOptions[0].value,dd.value=fontFamilyOptions[0].value,_d.value=fontSizeOptions[2].value,Ed.value=colorOptions[0].value,Ad.value=codeBlockThemeOptions[2].value,Td.value=legendOptions[3].value,Vd.value={active:"方案 1",tabs:[{title:"方案 1",name:"方案 1",content:jd.value||DEFAULT_CSS_CONTENT}]},Ld.value.setValue(DEFAULT_CSS_CONTENT),pf(),bf()},Tf=Kf=>(...Ff)=>{Kf(...Ff),bf()},kf=(Kf,Ff)=>{const wf=themeMap[cd.value],Yf=Kf.replace("px","");return customCssWithTemplate(css2json(Qd().content),Ff,customizeTheme(wf,{fontSize:Yf,color:Ff}))},zf=Tf(Kf=>{mf.setOptions({theme:customCssWithTemplate(css2json(Qd().content),Ed.value,customizeTheme(themeMap[Kf],{fontSize:Id.value}))}),cd.value=Kf}),Jf=Tf(Kf=>{mf.setOptions({fonts:Kf}),dd.value=Kf}),Gf=Tf(Kf=>{const Ff=kf(Kf,Ed.value);mf.setOptions({size:Kf,theme:Ff}),_d.value=Kf}),Mf=Tf(Kf=>{const Ff=kf(_d.value,Kf);mf.setOptions({theme:Ff}),Ed.value=Kf}),Nf=Tf(Kf=>{Ad.value=Kf}),Bf=Tf(Kf=>{Td.value=Kf}),Qf=Tf(()=>{td()}),Wf=Tf(()=>{ld()});return{isDark:Ra,toggleDark:qa,isEditOnLeft:rd,toggleEditOnLeft:sd,isMacCodeBlock:ed,isCiteStatus:od,citeStatusChanged:Wf,output:ud,editor:Bd,cssEditor:Ld,theme:cd,fontFamily:dd,fontSize:_d,primaryColor:Ed,codeBlockTheme:Ad,legend:Td,editorRefresh:bf,themeChanged:zf,fontChanged:Jf,sizeChanged:Gf,colorChanged:Mf,codeBlockThemeChanged:Nf,legendChanged:Bf,macCodeBlockChanged:Qf,formatContent:Od,exportEditorContent2HTML:()=>{exportHTML(),document.querySelector("#output").innerHTML=ud.value},exportEditorContent2MD:()=>{downloadMD(Bd.value.getValue())},importMarkdownContent:()=>{const Kf=document.body,Ff=document.createElement("input");Ff.type="file",Ff.name="filename",Ff.accept=".md",Ff.onchange=()=>{const wf=Ff.files[0];if(!wf)return;const Yf=new FileReader;Yf.readAsText(wf),Yf.onload=uh=>{Bd.value.setValue(uh.target.result),ElMessage.success("文档导入成功")}},Kf.appendChild(Ff),Ff.click(),Kf.removeChild(Ff)},resetStyleConfirm:()=>{ElMessageBox.confirm("此操作将丢失本地自定义样式,是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",center:!0}).then(()=>{_f(),ElMessage({type:"success",message:"样式重置成功~"})}).catch(()=>{Bd.value.focus()})},editorContent:Rd,cssContentConfig:Vd,addCssContentTab:Xd,validatorTabName:df,setCssEditorValue:Fd,tabChanged:qd,renameTab:Kd}}),useDisplayStore=defineStore("display",()=>{const Ra=ref$1(!1),qa=useToggle(Ra),ed=ref$1(!1),td=useToggle(ed),rd=ref$1(!1),sd=useToggle(rd);return{isShowCssEditor:Ra,toggleShowCssEditor:qa,isShowInsertFormDialog:ed,toggleShowInsertFormDialog:td,isShowUploadImgDialog:rd,toggleShowUploadImgDialog:sd}}),_sfc_main$N=defineComponent({__name:"CssEditor",setup(Ra){const qa=useStore(),ed=useDisplayStore();function td(){ElMessageBox.prompt("请输入新的方案名称","编辑方案名称",{confirmButtonText:"确认",cancelButtonText:"取消",inputValue:qa.cssContentConfig.active,inputErrorMessage:"不能与现有方案重名",inputValidator:qa.validatorTabName}).then(({value:sd})=>{if(!`${sd}`.trim()){ElMessage.error("修改失败,方案名不可为空");return}qa.renameTab(sd),ElMessage.success("修改成功~")})}function rd(sd,od){if(od==="add")ElMessageBox.prompt("请输入方案名称","新建自定义 CSS",{confirmButtonText:"确认",cancelButtonText:"取消",inputValue:`方案${qa.cssContentConfig.tabs.length+1}`,inputErrorMessage:"不能与现有方案重名",inputValidator:qa.validatorTabName}).then(({value:ld})=>{if(!`${ld}`.trim()){ElMessage.error("新建失败,方案名不可为空");return}qa.addCssContentTab(ld),ElMessage.success("新建成功~")});else if(od==="remove"){const ld=qa.cssContentConfig.tabs;if(ld.length===1){ElMessage.warning("至少保留一个方案");return}let ud=qa.cssContentConfig.active;ud===sd&&ld.forEach((cd,dd)=>{if(cd.name===sd){const _d=ld[dd+1]||ld[dd-1];_d&&(ud=_d.name)}}),qa.tabChanged(ud),qa.cssContentConfig.tabs=ld.filter(cd=>cd.name!==sd)}}return(sd,od)=>{const ld=edit_pen_default,ud=ElIcon,cd=ElTabPane,dd=ElTabs,_d=ElCol;return openBlock(),createBlock(Transition$1,{"enter-active-class":"bounceInRight"},{default:withCtx(()=>[withDirectives(createVNode(_d,{span:8,class:"cssEditor-wrapper order-1 h-full flex flex-col border-l-1"},{default:withCtx(()=>[createVNode(dd,{modelValue:unref(qa).cssContentConfig.active,"onUpdate:modelValue":od[1]||(od[1]=Ed=>unref(qa).cssContentConfig.active=Ed),type:"border-card",stretch:"",editable:"",onEdit:rd,onTabChange:unref(qa).tabChanged},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(qa).cssContentConfig.tabs,Ed=>(openBlock(),createBlock(cd,{key:Ed.name,name:Ed.name},{label:withCtx(()=>[createTextVNode(toDisplayString(Ed.title)+" ",1),unref(qa).cssContentConfig.active===Ed.name?(openBlock(),createBlock(ud,{key:0,class:"ml-1",onClick:od[0]||(od[0]=Ad=>td())},{default:withCtx(()=>[createVNode(ld)]),_:1})):createCommentVNode("",!0)]),_:2},1032,["name"]))),128))]),_:1},8,["modelValue","onTabChange"]),od[2]||(od[2]=createBaseVNode("textarea",{id:"cssEditor",type:"textarea",placeholder:"Your custom css here."},null,-1))]),_:1},512),[[vShow,unref(ed).isShowCssEditor]])]),_:1})}}}),_export_sfc=(Ra,qa)=>{const ed=Ra.__vccOpts||Ra;for(const[td,rd]of qa)ed[td]=rd;return ed},CssEditor=_export_sfc(_sfc_main$N,[["__scopeId","data-v-0236db12"]]);function r$1(Ra){var qa,ed,td="";if(typeof Ra=="string"||typeof Ra=="number")td+=Ra;else if(typeof Ra=="object")if(Array.isArray(Ra))for(qa=0;qatypeof Ra=="boolean"?"".concat(Ra):Ra===0?"0":Ra,cx=clsx$1,cva=(Ra,qa)=>ed=>{var td;if((qa==null?void 0:qa.variants)==null)return cx(Ra,ed==null?void 0:ed.class,ed==null?void 0:ed.className);const{variants:rd,defaultVariants:sd}=qa,od=Object.keys(rd).map(cd=>{const dd=ed==null?void 0:ed[cd],_d=sd==null?void 0:sd[cd];if(dd===null)return null;const Ed=falsyToString(dd)||falsyToString(_d);return rd[cd][Ed]}),ld=ed&&Object.entries(ed).reduce((cd,dd)=>{let[_d,Ed]=dd;return Ed===void 0||(cd[_d]=Ed),cd},{}),ud=qa==null||(td=qa.compoundVariants)===null||td===void 0?void 0:td.reduce((cd,dd)=>{let{class:_d,className:Ed,...Ad}=dd;return Object.entries(Ad).every(Td=>{let[Id,Bd]=Td;return Array.isArray(Bd)?Bd.includes({...sd,...ld}[Id]):{...sd,...ld}[Id]===Bd})?[...cd,_d,Ed]:cd},[]);return cx(Ra,od,ud,ed==null?void 0:ed.class,ed==null?void 0:ed.className)};function r(Ra){var qa,ed,td="";if(typeof Ra=="string"||typeof Ra=="number")td+=Ra;else if(typeof Ra=="object")if(Array.isArray(Ra)){var rd=Ra.length;for(qa=0;qa{const qa=createClassMap(Ra),{conflictingClassGroups:ed,conflictingClassGroupModifiers:td}=Ra;return{getClassGroupId:od=>{const ld=od.split(CLASS_PART_SEPARATOR);return ld[0]===""&&ld.length!==1&&ld.shift(),getGroupRecursive(ld,qa)||getGroupIdForArbitraryProperty(od)},getConflictingClassGroupIds:(od,ld)=>{const ud=ed[od]||[];return ld&&td[od]?[...ud,...td[od]]:ud}}},getGroupRecursive=(Ra,qa)=>{var od;if(Ra.length===0)return qa.classGroupId;const ed=Ra[0],td=qa.nextPart.get(ed),rd=td?getGroupRecursive(Ra.slice(1),td):void 0;if(rd)return rd;if(qa.validators.length===0)return;const sd=Ra.join(CLASS_PART_SEPARATOR);return(od=qa.validators.find(({validator:ld})=>ld(sd)))==null?void 0:od.classGroupId},arbitraryPropertyRegex=/^\[(.+)\]$/,getGroupIdForArbitraryProperty=Ra=>{if(arbitraryPropertyRegex.test(Ra)){const qa=arbitraryPropertyRegex.exec(Ra)[1],ed=qa==null?void 0:qa.substring(0,qa.indexOf(":"));if(ed)return"arbitrary.."+ed}},createClassMap=Ra=>{const{theme:qa,prefix:ed}=Ra,td={nextPart:new Map,validators:[]};return getPrefixedClassGroupEntries(Object.entries(Ra.classGroups),ed).forEach(([sd,od])=>{processClassesRecursively(od,td,sd,qa)}),td},processClassesRecursively=(Ra,qa,ed,td)=>{Ra.forEach(rd=>{if(typeof rd=="string"){const sd=rd===""?qa:getPart(qa,rd);sd.classGroupId=ed;return}if(typeof rd=="function"){if(isThemeGetter(rd)){processClassesRecursively(rd(td),qa,ed,td);return}qa.validators.push({validator:rd,classGroupId:ed});return}Object.entries(rd).forEach(([sd,od])=>{processClassesRecursively(od,getPart(qa,sd),ed,td)})})},getPart=(Ra,qa)=>{let ed=Ra;return qa.split(CLASS_PART_SEPARATOR).forEach(td=>{ed.nextPart.has(td)||ed.nextPart.set(td,{nextPart:new Map,validators:[]}),ed=ed.nextPart.get(td)}),ed},isThemeGetter=Ra=>Ra.isThemeGetter,getPrefixedClassGroupEntries=(Ra,qa)=>qa?Ra.map(([ed,td])=>{const rd=td.map(sd=>typeof sd=="string"?qa+sd:typeof sd=="object"?Object.fromEntries(Object.entries(sd).map(([od,ld])=>[qa+od,ld])):sd);return[ed,rd]}):Ra,createLruCache=Ra=>{if(Ra<1)return{get:()=>{},set:()=>{}};let qa=0,ed=new Map,td=new Map;const rd=(sd,od)=>{ed.set(sd,od),qa++,qa>Ra&&(qa=0,td=ed,ed=new Map)};return{get(sd){let od=ed.get(sd);if(od!==void 0)return od;if((od=td.get(sd))!==void 0)return rd(sd,od),od},set(sd,od){ed.has(sd)?ed.set(sd,od):rd(sd,od)}}},IMPORTANT_MODIFIER="!",createParseClassName=Ra=>{const{separator:qa,experimentalParseClassName:ed}=Ra,td=qa.length===1,rd=qa[0],sd=qa.length,od=ld=>{const ud=[];let cd=0,dd=0,_d;for(let Bd=0;Bddd?_d-dd:void 0;return{modifiers:ud,hasImportantModifier:Ad,baseClassName:Td,maybePostfixModifierPosition:Id}};return ed?ld=>ed({className:ld,parseClassName:od}):od},sortModifiers=Ra=>{if(Ra.length<=1)return Ra;const qa=[];let ed=[];return Ra.forEach(td=>{td[0]==="["?(qa.push(...ed.sort(),td),ed=[]):ed.push(td)}),qa.push(...ed.sort()),qa},createConfigUtils=Ra=>({cache:createLruCache(Ra.cacheSize),parseClassName:createParseClassName(Ra),...createClassGroupUtils(Ra)}),SPLIT_CLASSES_REGEX=/\s+/,mergeClassList=(Ra,qa)=>{const{parseClassName:ed,getClassGroupId:td,getConflictingClassGroupIds:rd}=qa,sd=[],od=Ra.trim().split(SPLIT_CLASSES_REGEX);let ld="";for(let ud=od.length-1;ud>=0;ud-=1){const cd=od[ud],{modifiers:dd,hasImportantModifier:_d,baseClassName:Ed,maybePostfixModifierPosition:Ad}=ed(cd);let Td=!!Ad,Id=td(Td?Ed.substring(0,Ad):Ed);if(!Id){if(!Td){ld=cd+(ld.length>0?" "+ld:ld);continue}if(Id=td(Ed),!Id){ld=cd+(ld.length>0?" "+ld:ld);continue}Td=!1}const Bd=sortModifiers(dd).join(":"),Rd=_d?Bd+IMPORTANT_MODIFIER:Bd,Od=Rd+Id;if(sd.includes(Od))continue;sd.push(Od);const Md=rd(Id,Td);for(let Ld=0;Ld0?" "+ld:ld)}return ld};function twJoin(){let Ra=0,qa,ed,td="";for(;Ra{if(typeof Ra=="string")return Ra;let qa,ed="";for(let td=0;td_d(dd),Ra());return ed=createConfigUtils(cd),td=ed.cache.get,rd=ed.cache.set,sd=ld,ld(ud)}function ld(ud){const cd=td(ud);if(cd)return cd;const dd=mergeClassList(ud,ed);return rd(ud,dd),dd}return function(){return sd(twJoin.apply(null,arguments))}}const fromTheme=Ra=>{const qa=ed=>ed[Ra]||[];return qa.isThemeGetter=!0,qa},arbitraryValueRegex=/^\[(?:([a-z-]+):)?(.+)\]$/i,fractionRegex=/^\d+\/\d+$/,stringLengths=new Set(["px","full","screen"]),tshirtUnitRegex=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,lengthUnitRegex=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,colorFunctionRegex=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,shadowRegex=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,imageRegex=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,isLength=Ra=>isNumber$2(Ra)||stringLengths.has(Ra)||fractionRegex.test(Ra),isArbitraryLength=Ra=>getIsArbitraryValue(Ra,"length",isLengthOnly),isNumber$2=Ra=>!!Ra&&!Number.isNaN(Number(Ra)),isArbitraryNumber=Ra=>getIsArbitraryValue(Ra,"number",isNumber$2),isInteger=Ra=>!!Ra&&Number.isInteger(Number(Ra)),isPercent=Ra=>Ra.endsWith("%")&&isNumber$2(Ra.slice(0,-1)),isArbitraryValue=Ra=>arbitraryValueRegex.test(Ra),isTshirtSize=Ra=>tshirtUnitRegex.test(Ra),sizeLabels=new Set(["length","size","percentage"]),isArbitrarySize=Ra=>getIsArbitraryValue(Ra,sizeLabels,isNever),isArbitraryPosition=Ra=>getIsArbitraryValue(Ra,"position",isNever),imageLabels=new Set(["image","url"]),isArbitraryImage=Ra=>getIsArbitraryValue(Ra,imageLabels,isImage),isArbitraryShadow=Ra=>getIsArbitraryValue(Ra,"",isShadow),isAny=()=>!0,getIsArbitraryValue=(Ra,qa,ed)=>{const td=arbitraryValueRegex.exec(Ra);return td?td[1]?typeof qa=="string"?td[1]===qa:qa.has(td[1]):ed(td[2]):!1},isLengthOnly=Ra=>lengthUnitRegex.test(Ra)&&!colorFunctionRegex.test(Ra),isNever=()=>!1,isShadow=Ra=>shadowRegex.test(Ra),isImage=Ra=>imageRegex.test(Ra),getDefaultConfig=()=>{const Ra=fromTheme("colors"),qa=fromTheme("spacing"),ed=fromTheme("blur"),td=fromTheme("brightness"),rd=fromTheme("borderColor"),sd=fromTheme("borderRadius"),od=fromTheme("borderSpacing"),ld=fromTheme("borderWidth"),ud=fromTheme("contrast"),cd=fromTheme("grayscale"),dd=fromTheme("hueRotate"),_d=fromTheme("invert"),Ed=fromTheme("gap"),Ad=fromTheme("gradientColorStops"),Td=fromTheme("gradientColorStopPositions"),Id=fromTheme("inset"),Bd=fromTheme("margin"),Rd=fromTheme("opacity"),Od=fromTheme("padding"),Md=fromTheme("saturate"),Ld=fromTheme("scale"),Fd=fromTheme("sepia"),jd=fromTheme("skew"),Vd=fromTheme("space"),Qd=fromTheme("translate"),qd=()=>["auto","contain","none"],Kd=()=>["auto","hidden","clip","visible","scroll"],Xd=()=>["auto",isArbitraryValue,qa],df=()=>[isArbitraryValue,qa],mf=()=>["",isLength,isArbitraryLength],bf=()=>["auto",isNumber$2,isArbitraryValue],pf=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],_f=()=>["solid","dashed","dotted","double","none"],Tf=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],kf=()=>["start","end","center","between","around","evenly","stretch"],zf=()=>["","0",isArbitraryValue],Jf=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Gf=()=>[isNumber$2,isArbitraryValue];return{cacheSize:500,separator:":",theme:{colors:[isAny],spacing:[isLength,isArbitraryLength],blur:["none","",isTshirtSize,isArbitraryValue],brightness:Gf(),borderColor:[Ra],borderRadius:["none","","full",isTshirtSize,isArbitraryValue],borderSpacing:df(),borderWidth:mf(),contrast:Gf(),grayscale:zf(),hueRotate:Gf(),invert:zf(),gap:df(),gradientColorStops:[Ra],gradientColorStopPositions:[isPercent,isArbitraryLength],inset:Xd(),margin:Xd(),opacity:Gf(),padding:df(),saturate:Gf(),scale:Gf(),sepia:zf(),skew:Gf(),space:df(),translate:df()},classGroups:{aspect:[{aspect:["auto","square","video",isArbitraryValue]}],container:["container"],columns:[{columns:[isTshirtSize]}],"break-after":[{"break-after":Jf()}],"break-before":[{"break-before":Jf()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...pf(),isArbitraryValue]}],overflow:[{overflow:Kd()}],"overflow-x":[{"overflow-x":Kd()}],"overflow-y":[{"overflow-y":Kd()}],overscroll:[{overscroll:qd()}],"overscroll-x":[{"overscroll-x":qd()}],"overscroll-y":[{"overscroll-y":qd()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[Id]}],"inset-x":[{"inset-x":[Id]}],"inset-y":[{"inset-y":[Id]}],start:[{start:[Id]}],end:[{end:[Id]}],top:[{top:[Id]}],right:[{right:[Id]}],bottom:[{bottom:[Id]}],left:[{left:[Id]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",isInteger,isArbitraryValue]}],basis:[{basis:Xd()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",isArbitraryValue]}],grow:[{grow:zf()}],shrink:[{shrink:zf()}],order:[{order:["first","last","none",isInteger,isArbitraryValue]}],"grid-cols":[{"grid-cols":[isAny]}],"col-start-end":[{col:["auto",{span:["full",isInteger,isArbitraryValue]},isArbitraryValue]}],"col-start":[{"col-start":bf()}],"col-end":[{"col-end":bf()}],"grid-rows":[{"grid-rows":[isAny]}],"row-start-end":[{row:["auto",{span:[isInteger,isArbitraryValue]},isArbitraryValue]}],"row-start":[{"row-start":bf()}],"row-end":[{"row-end":bf()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",isArbitraryValue]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",isArbitraryValue]}],gap:[{gap:[Ed]}],"gap-x":[{"gap-x":[Ed]}],"gap-y":[{"gap-y":[Ed]}],"justify-content":[{justify:["normal",...kf()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...kf(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...kf(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[Od]}],px:[{px:[Od]}],py:[{py:[Od]}],ps:[{ps:[Od]}],pe:[{pe:[Od]}],pt:[{pt:[Od]}],pr:[{pr:[Od]}],pb:[{pb:[Od]}],pl:[{pl:[Od]}],m:[{m:[Bd]}],mx:[{mx:[Bd]}],my:[{my:[Bd]}],ms:[{ms:[Bd]}],me:[{me:[Bd]}],mt:[{mt:[Bd]}],mr:[{mr:[Bd]}],mb:[{mb:[Bd]}],ml:[{ml:[Bd]}],"space-x":[{"space-x":[Vd]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Vd]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",isArbitraryValue,qa]}],"min-w":[{"min-w":[isArbitraryValue,qa,"min","max","fit"]}],"max-w":[{"max-w":[isArbitraryValue,qa,"none","full","min","max","fit","prose",{screen:[isTshirtSize]},isTshirtSize]}],h:[{h:[isArbitraryValue,qa,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[isArbitraryValue,qa,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[isArbitraryValue,qa,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[isArbitraryValue,qa,"auto","min","max","fit"]}],"font-size":[{text:["base",isTshirtSize,isArbitraryLength]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",isArbitraryNumber]}],"font-family":[{font:[isAny]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",isArbitraryValue]}],"line-clamp":[{"line-clamp":["none",isNumber$2,isArbitraryNumber]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",isLength,isArbitraryValue]}],"list-image":[{"list-image":["none",isArbitraryValue]}],"list-style-type":[{list:["none","disc","decimal",isArbitraryValue]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[Ra]}],"placeholder-opacity":[{"placeholder-opacity":[Rd]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[Ra]}],"text-opacity":[{"text-opacity":[Rd]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[..._f(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",isLength,isArbitraryLength]}],"underline-offset":[{"underline-offset":["auto",isLength,isArbitraryValue]}],"text-decoration-color":[{decoration:[Ra]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:df()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",isArbitraryValue]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",isArbitraryValue]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[Rd]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...pf(),isArbitraryPosition]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",isArbitrarySize]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},isArbitraryImage]}],"bg-color":[{bg:[Ra]}],"gradient-from-pos":[{from:[Td]}],"gradient-via-pos":[{via:[Td]}],"gradient-to-pos":[{to:[Td]}],"gradient-from":[{from:[Ad]}],"gradient-via":[{via:[Ad]}],"gradient-to":[{to:[Ad]}],rounded:[{rounded:[sd]}],"rounded-s":[{"rounded-s":[sd]}],"rounded-e":[{"rounded-e":[sd]}],"rounded-t":[{"rounded-t":[sd]}],"rounded-r":[{"rounded-r":[sd]}],"rounded-b":[{"rounded-b":[sd]}],"rounded-l":[{"rounded-l":[sd]}],"rounded-ss":[{"rounded-ss":[sd]}],"rounded-se":[{"rounded-se":[sd]}],"rounded-ee":[{"rounded-ee":[sd]}],"rounded-es":[{"rounded-es":[sd]}],"rounded-tl":[{"rounded-tl":[sd]}],"rounded-tr":[{"rounded-tr":[sd]}],"rounded-br":[{"rounded-br":[sd]}],"rounded-bl":[{"rounded-bl":[sd]}],"border-w":[{border:[ld]}],"border-w-x":[{"border-x":[ld]}],"border-w-y":[{"border-y":[ld]}],"border-w-s":[{"border-s":[ld]}],"border-w-e":[{"border-e":[ld]}],"border-w-t":[{"border-t":[ld]}],"border-w-r":[{"border-r":[ld]}],"border-w-b":[{"border-b":[ld]}],"border-w-l":[{"border-l":[ld]}],"border-opacity":[{"border-opacity":[Rd]}],"border-style":[{border:[..._f(),"hidden"]}],"divide-x":[{"divide-x":[ld]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[ld]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[Rd]}],"divide-style":[{divide:_f()}],"border-color":[{border:[rd]}],"border-color-x":[{"border-x":[rd]}],"border-color-y":[{"border-y":[rd]}],"border-color-t":[{"border-t":[rd]}],"border-color-r":[{"border-r":[rd]}],"border-color-b":[{"border-b":[rd]}],"border-color-l":[{"border-l":[rd]}],"divide-color":[{divide:[rd]}],"outline-style":[{outline:["",..._f()]}],"outline-offset":[{"outline-offset":[isLength,isArbitraryValue]}],"outline-w":[{outline:[isLength,isArbitraryLength]}],"outline-color":[{outline:[Ra]}],"ring-w":[{ring:mf()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[Ra]}],"ring-opacity":[{"ring-opacity":[Rd]}],"ring-offset-w":[{"ring-offset":[isLength,isArbitraryLength]}],"ring-offset-color":[{"ring-offset":[Ra]}],shadow:[{shadow:["","inner","none",isTshirtSize,isArbitraryShadow]}],"shadow-color":[{shadow:[isAny]}],opacity:[{opacity:[Rd]}],"mix-blend":[{"mix-blend":[...Tf(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Tf()}],filter:[{filter:["","none"]}],blur:[{blur:[ed]}],brightness:[{brightness:[td]}],contrast:[{contrast:[ud]}],"drop-shadow":[{"drop-shadow":["","none",isTshirtSize,isArbitraryValue]}],grayscale:[{grayscale:[cd]}],"hue-rotate":[{"hue-rotate":[dd]}],invert:[{invert:[_d]}],saturate:[{saturate:[Md]}],sepia:[{sepia:[Fd]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[ed]}],"backdrop-brightness":[{"backdrop-brightness":[td]}],"backdrop-contrast":[{"backdrop-contrast":[ud]}],"backdrop-grayscale":[{"backdrop-grayscale":[cd]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[dd]}],"backdrop-invert":[{"backdrop-invert":[_d]}],"backdrop-opacity":[{"backdrop-opacity":[Rd]}],"backdrop-saturate":[{"backdrop-saturate":[Md]}],"backdrop-sepia":[{"backdrop-sepia":[Fd]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[od]}],"border-spacing-x":[{"border-spacing-x":[od]}],"border-spacing-y":[{"border-spacing-y":[od]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",isArbitraryValue]}],duration:[{duration:Gf()}],ease:[{ease:["linear","in","out","in-out",isArbitraryValue]}],delay:[{delay:Gf()}],animate:[{animate:["none","spin","ping","pulse","bounce",isArbitraryValue]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Ld]}],"scale-x":[{"scale-x":[Ld]}],"scale-y":[{"scale-y":[Ld]}],rotate:[{rotate:[isInteger,isArbitraryValue]}],"translate-x":[{"translate-x":[Qd]}],"translate-y":[{"translate-y":[Qd]}],"skew-x":[{"skew-x":[jd]}],"skew-y":[{"skew-y":[jd]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",isArbitraryValue]}],accent:[{accent:["auto",Ra]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",isArbitraryValue]}],"caret-color":[{caret:[Ra]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":df()}],"scroll-mx":[{"scroll-mx":df()}],"scroll-my":[{"scroll-my":df()}],"scroll-ms":[{"scroll-ms":df()}],"scroll-me":[{"scroll-me":df()}],"scroll-mt":[{"scroll-mt":df()}],"scroll-mr":[{"scroll-mr":df()}],"scroll-mb":[{"scroll-mb":df()}],"scroll-ml":[{"scroll-ml":df()}],"scroll-p":[{"scroll-p":df()}],"scroll-px":[{"scroll-px":df()}],"scroll-py":[{"scroll-py":df()}],"scroll-ps":[{"scroll-ps":df()}],"scroll-pe":[{"scroll-pe":df()}],"scroll-pt":[{"scroll-pt":df()}],"scroll-pr":[{"scroll-pr":df()}],"scroll-pb":[{"scroll-pb":df()}],"scroll-pl":[{"scroll-pl":df()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",isArbitraryValue]}],fill:[{fill:[Ra,"none"]}],"stroke-w":[{stroke:[isLength,isArbitraryLength,isArbitraryNumber]}],stroke:[{stroke:[Ra,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},twMerge=createTailwindMerge(getDefaultConfig);function cn(...Ra){return twMerge(clsx(Ra))}function isComponentPublicInstance(Ra){return Ra!=null&&typeof Ra=="object"&&"$el"in Ra}function unwrapElement(Ra){if(isComponentPublicInstance(Ra)){const qa=Ra.$el;return isNode$2(qa)&&getNodeName(qa)==="#comment"?null:qa}return Ra}function toValue(Ra){return typeof Ra=="function"?Ra():unref(Ra)}function arrow(Ra){return{name:"arrow",options:Ra,fn(qa){const ed=unwrapElement(toValue(Ra.element));return ed==null?{}:arrow$1({element:ed,padding:Ra.padding}).fn(qa)}}}function getDPR(Ra){return typeof window>"u"?1:(Ra.ownerDocument.defaultView||window).devicePixelRatio||1}function roundByDPR(Ra,qa){const ed=getDPR(Ra);return Math.round(qa*ed)/ed}function useFloating(Ra,qa,ed){ed===void 0&&(ed={});const td=ed.whileElementsMounted,rd=computed(()=>{var Vd;return(Vd=toValue(ed.open))!=null?Vd:!0}),sd=computed(()=>toValue(ed.middleware)),od=computed(()=>{var Vd;return(Vd=toValue(ed.placement))!=null?Vd:"bottom"}),ld=computed(()=>{var Vd;return(Vd=toValue(ed.strategy))!=null?Vd:"absolute"}),ud=computed(()=>{var Vd;return(Vd=toValue(ed.transform))!=null?Vd:!0}),cd=computed(()=>unwrapElement(Ra.value)),dd=computed(()=>unwrapElement(qa.value)),_d=ref$1(0),Ed=ref$1(0),Ad=ref$1(ld.value),Td=ref$1(od.value),Id=shallowRef({}),Bd=ref$1(!1),Rd=computed(()=>{const Vd={position:Ad.value,left:"0",top:"0"};if(!dd.value)return Vd;const Qd=roundByDPR(dd.value,_d.value),qd=roundByDPR(dd.value,Ed.value);return ud.value?{...Vd,transform:"translate("+Qd+"px, "+qd+"px)",...getDPR(dd.value)>=1.5&&{willChange:"transform"}}:{position:Ad.value,left:Qd+"px",top:qd+"px"}});let Od;function Md(){if(cd.value==null||dd.value==null)return;const Vd=rd.value;computePosition(cd.value,dd.value,{middleware:sd.value,placement:od.value,strategy:ld.value}).then(Qd=>{_d.value=Qd.x,Ed.value=Qd.y,Ad.value=Qd.strategy,Td.value=Qd.placement,Id.value=Qd.middlewareData,Bd.value=Vd!==!1})}function Ld(){typeof Od=="function"&&(Od(),Od=void 0)}function Fd(){if(Ld(),td===void 0){Md();return}if(cd.value!=null&&dd.value!=null){Od=td(cd.value,dd.value,Md);return}}function jd(){rd.value||(Bd.value=!1)}return watch([sd,od,ld,rd],Md,{flush:"sync"}),watch([cd,dd],Fd,{flush:"sync"}),watch(rd,jd,{flush:"sync"}),getCurrentScope()&&onScopeDispose(Ld),{x:shallowReadonly(_d),y:shallowReadonly(Ed),strategy:shallowReadonly(Ad),placement:shallowReadonly(Td),middlewareData:shallowReadonly(Id),isPositioned:shallowReadonly(Bd),floatingStyles:Rd,update:Md}}function Q(Ra,qa){const ed=typeof Ra=="string"&&!qa?`${Ra}Context`:qa,td=Symbol(ed);return[rd=>{const sd=inject(td,rd);if(sd||sd===null)return sd;throw new Error(`Injection \`${td.toString()}\` not found. Component must be used within ${Array.isArray(Ra)?`one of the following components: ${Ra.join(", ")}`:`\`${Ra}\``}`)},rd=>(provide(td,rd),rd)]}function Kt(Ra,qa,ed){const td=ed.originalEvent.target,rd=new CustomEvent(Ra,{bubbles:!1,cancelable:!0,detail:ed});qa&&td.addEventListener(Ra,qa,{once:!0}),td.dispatchEvent(rd)}function Ht(Ra,qa=Number.NEGATIVE_INFINITY,ed=Number.POSITIVE_INFINITY){return Math.min(Math.max(Ra,qa),ed)}function zt(Ra){return Ra==null}function Yr(Ra,qa){var ed;const td=shallowRef();return watchEffect(()=>{td.value=Ra()},{...qa,flush:(ed=void 0)!=null?ed:"sync"}),readonly(td)}function mt(Ra){return getCurrentScope()?(onScopeDispose(Ra),!0):!1}function ia(){const Ra=new Set,qa=ed=>{Ra.delete(ed)};return{on:ed=>{Ra.add(ed);const td=()=>qa(ed);return mt(td),{off:td}},off:qa,trigger:(...ed)=>Promise.all(Array.from(Ra).map(td=>td(...ed)))}}function Zr(Ra){let qa=!1,ed;const td=effectScope(!0);return(...rd)=>(qa||(ed=td.run(()=>Ra(...rd)),qa=!0),ed)}function wl(Ra){let qa=0,ed,td;const rd=()=>{qa-=1,td&&qa<=0&&(td.stop(),ed=void 0,td=void 0)};return(...sd)=>(qa+=1,ed||(td=effectScope(!0),ed=td.run(()=>Ra(...sd))),mt(rd),ed)}function Ke(Ra){return typeof Ra=="function"?Ra():unref(Ra)}const qe=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Qr=Ra=>typeof Ra<"u",ti=Object.prototype.toString,ai=Ra=>ti.call(Ra)==="[object Object]",Va=()=>{},Lo=ni();function ni(){var Ra,qa;return qe&&((Ra=window==null?void 0:window.navigator)==null?void 0:Ra.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((qa=window==null?void 0:window.navigator)==null?void 0:qa.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function xl(Ra,qa){function ed(...td){return new Promise((rd,sd)=>{Promise.resolve(Ra(()=>qa.apply(this,td),{fn:qa,thisArg:this,args:td})).then(rd).catch(sd)})}return ed}const Sl=Ra=>Ra();function li(Ra=Sl){const qa=ref$1(!0);function ed(){qa.value=!1}function td(){qa.value=!0}const rd=(...sd)=>{qa.value&&Ra(...sd)};return{isActive:readonly(qa),pause:ed,resume:td,eventFilter:rd}}function El(Ra){return getCurrentInstance()}function $t(Ra,qa=1e4){return customRef((ed,td)=>{let rd=Ke(Ra),sd;const od=()=>setTimeout(()=>{rd=Ke(Ra),td()},Ke(qa));return mt(()=>{clearTimeout(sd)}),{get(){return ed(),rd},set(ld){rd=ld,td(),clearTimeout(sd),sd=od()}}})}function si(Ra,qa,ed={}){const{eventFilter:td=Sl,...rd}=ed;return watch(Ra,xl(td,qa),rd)}function zo(Ra,qa,ed={}){const{eventFilter:td,...rd}=ed,{eventFilter:sd,pause:od,resume:ld,isActive:ud}=li(td);return{stop:si(Ra,qa,{...rd,eventFilter:sd}),pause:od,resume:ld,isActive:ud}}function ri(Ra,qa,...[ed]){const{flush:td="sync",deep:rd=!1,immediate:sd=!0,direction:od="both",transform:ld={}}=ed||{},ud=[],cd="ltr"in ld&&ld.ltr||(_d=>_d),dd="rtl"in ld&&ld.rtl||(_d=>_d);return(od==="both"||od==="ltr")&&ud.push(zo(Ra,_d=>{ud.forEach(Ed=>Ed.pause()),qa.value=cd(_d),ud.forEach(Ed=>Ed.resume())},{flush:td,deep:rd,immediate:sd})),(od==="both"||od==="rtl")&&ud.push(zo(qa,_d=>{ud.forEach(Ed=>Ed.pause()),Ra.value=dd(_d),ud.forEach(Ed=>Ed.resume())},{flush:td,deep:rd,immediate:sd})),()=>{ud.forEach(_d=>_d.stop())}}function ii(Ra,qa){El()&&onBeforeUnmount(Ra,qa)}function $e(Ra){var qa;const ed=Ke(Ra);return(qa=ed==null?void 0:ed.$el)!=null?qa:ed}const Gt=qe?window:void 0;function Le(...Ra){let qa,ed,td,rd;if(typeof Ra[0]=="string"||Array.isArray(Ra[0])?([ed,td,rd]=Ra,qa=Gt):[qa,ed,td,rd]=Ra,!qa)return Va;Array.isArray(ed)||(ed=[ed]),Array.isArray(td)||(td=[td]);const sd=[],od=()=>{sd.forEach(dd=>dd()),sd.length=0},ld=(dd,_d,Ed,Ad)=>(dd.addEventListener(_d,Ed,Ad),()=>dd.removeEventListener(_d,Ed,Ad)),ud=watch(()=>[$e(qa),Ke(rd)],([dd,_d])=>{if(od(),!dd)return;const Ed=ai(_d)?{..._d}:_d;sd.push(...ed.flatMap(Ad=>td.map(Td=>ld(dd,Ad,Td,Ed))))},{immediate:!0,flush:"post"}),cd=()=>{ud(),od()};return mt(cd),cd}function pi(Ra){return typeof Ra=="function"?Ra:typeof Ra=="string"?qa=>qa.key===Ra:Array.isArray(Ra)?qa=>Ra.includes(qa.key):()=>!0}function jn(...Ra){let qa,ed,td={};Ra.length===3?(qa=Ra[0],ed=Ra[1],td=Ra[2]):Ra.length===2?typeof Ra[1]=="object"?(qa=!0,ed=Ra[0],td=Ra[1]):(qa=Ra[0],ed=Ra[1]):(qa=!0,ed=Ra[0]);const{target:rd=Gt,eventName:sd="keydown",passive:od=!1,dedupe:ld=!1}=td,ud=pi(qa);return Le(rd,sd,cd=>{cd.repeat&&Ke(ld)||ud(cd)&&ed(cd)},od)}function ja(){const Ra=ref$1(!1),qa=getCurrentInstance();return qa&&onMounted(()=>{Ra.value=!0},qa),Ra}function vi(Ra){return JSON.parse(JSON.stringify(Ra))}function ne(Ra,qa,ed,td={}){var rd,sd,od;const{clone:ld=!1,passive:ud=!1,eventName:cd,deep:dd=!1,defaultValue:_d,shouldEmit:Ed}=td,Ad=getCurrentInstance(),Td=ed||(Ad==null?void 0:Ad.emit)||((rd=Ad==null?void 0:Ad.$emit)==null?void 0:rd.bind(Ad))||((od=(sd=Ad==null?void 0:Ad.proxy)==null?void 0:sd.$emit)==null?void 0:od.bind(Ad==null?void 0:Ad.proxy));let Id=cd;qa||(qa="modelValue"),Id=Id||`update:${qa.toString()}`;const Bd=Md=>ld?typeof ld=="function"?ld(Md):vi(Md):Md,Rd=()=>Qr(Ra[qa])?Bd(Ra[qa]):_d,Od=Md=>{Ed?Ed(Md)&&Td(Id,Md):Td(Id,Md)};if(ud){const Md=Rd(),Ld=ref$1(Md);let Fd=!1;return watch(()=>Ra[qa],jd=>{Fd||(Fd=!0,Ld.value=Bd(jd),nextTick$1(()=>Fd=!1))}),watch(Ld,jd=>{!Fd&&(jd!==Ra[qa]||dd)&&Od(jd)},{deep:dd}),Ld}else return computed({get(){return Rd()},set(Md){Od(Md)}})}function Ua(Ra){return Ra?Ra.flatMap(qa=>qa.type===Fragment?Ua(qa.children):[qa]):[]}const yi=["INPUT","TEXTAREA"];function Bt(Ra,qa,ed,td={}){if(!qa||td.enableIgnoredElement&&yi.includes(qa.nodeName))return null;const{arrowKeyOptions:rd="both",attributeName:sd="[data-radix-vue-collection-item]",itemsArray:od=[],loop:ld=!0,dir:ud="ltr",preventScroll:cd=!0,focus:dd=!1}=td,[_d,Ed,Ad,Td,Id,Bd]=[Ra.key==="ArrowRight",Ra.key==="ArrowLeft",Ra.key==="ArrowUp",Ra.key==="ArrowDown",Ra.key==="Home",Ra.key==="End"],Rd=Ad||Td,Od=_d||Ed;if(!Id&&!Bd&&(!Rd&&!Od||rd==="vertical"&&Od||rd==="horizontal"&&Rd))return null;const Md=ed?Array.from(ed.querySelectorAll(sd)):od;if(!Md.length)return null;cd&&Ra.preventDefault();let Ld=null;return Od||Rd?Ld=Il(Md,qa,{goForward:Rd?Td:ud==="ltr"?_d:Ed,loop:ld}):Id?Ld=Md.at(0)||null:Bd&&(Ld=Md.at(-1)||null),dd&&(Ld==null||Ld.focus()),Ld}function Il(Ra,qa,ed,td=Ra.length){if(--td===0)return null;const rd=Ra.indexOf(qa),sd=ed.goForward?rd+1:rd-1;if(!ed.loop&&(sd<0||sd>=Ra.length))return null;const od=(sd+Ra.length)%Ra.length,ld=Ra[od];return ld?ld.hasAttribute("disabled")&&ld.getAttribute("disabled")!=="false"?Il(Ra,ld,ed,td):ld:null}function gn(Ra){if(Ra===null||typeof Ra!="object")return!1;const qa=Object.getPrototypeOf(Ra);return qa!==null&&qa!==Object.prototype&&Object.getPrototypeOf(qa)!==null||Symbol.iterator in Ra?!1:Symbol.toStringTag in Ra?Object.prototype.toString.call(Ra)==="[object Module]":!0}function Pn(Ra,qa,ed=".",td){if(!gn(qa))return Pn(Ra,{},ed);const rd=Object.assign({},qa);for(const sd in Ra){if(sd==="__proto__"||sd==="constructor")continue;const od=Ra[sd];od!=null&&(Array.isArray(od)&&Array.isArray(rd[sd])?rd[sd]=[...od,...rd[sd]]:gn(od)&&gn(rd[sd])?rd[sd]=Pn(od,rd[sd],(ed?`${ed}.`:"")+sd.toString()):rd[sd]=od)}return rd}function gi(Ra){return(...qa)=>qa.reduce((ed,td)=>Pn(ed,td,""),{})}const bi=gi(),[Ga,Ci]=Q("ConfigProvider");let wi="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",_i=(Ra=21)=>{let qa="",ed=Ra;for(;ed--;)qa+=wi[Math.random()*64|0];return qa};const xi=wl(()=>{const Ra=ref$1(new Map),qa=ref$1(),ed=computed(()=>{for(const od of Ra.value.values())if(od)return!0;return!1}),td=Ga({scrollBody:ref$1(!0)});let rd=null;const sd=()=>{document.body.style.paddingRight="",document.body.style.marginRight="",document.body.style.pointerEvents="",document.body.style.removeProperty("--scrollbar-width"),document.body.style.overflow=qa.value??"",Lo&&(rd==null||rd()),qa.value=void 0};return watch(ed,(od,ld)=>{var ud;if(!qe)return;if(!od){ld&&sd();return}qa.value===void 0&&(qa.value=document.body.style.overflow);const cd=window.innerWidth-document.documentElement.clientWidth,dd={padding:cd,margin:0},_d=(ud=td.scrollBody)!=null&&ud.value?typeof td.scrollBody.value=="object"?bi({padding:td.scrollBody.value.padding===!0?cd:td.scrollBody.value.padding,margin:td.scrollBody.value.margin===!0?cd:td.scrollBody.value.margin},dd):dd:{padding:0,margin:0};cd>0&&(document.body.style.paddingRight=`${_d.padding}px`,document.body.style.marginRight=`${_d.margin}px`,document.body.style.setProperty("--scrollbar-width",`${cd}px`),document.body.style.overflow="hidden"),Lo&&(rd=Le(document,"touchmove",Ed=>{var Ad;Ed.target===document.documentElement&&(Ed.touches.length>1||(Ad=Ed.preventDefault)==null||Ad.call(Ed))},{passive:!1})),nextTick$1(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})},{immediate:!0,flush:"sync"}),Ra});function ha(Ra){const qa=_i(6),ed=xi();ed.value.set(qa,Ra??!1);const td=computed({get:()=>ed.value.get(qa)??!1,set:rd=>ed.value.set(qa,rd)});return ii(()=>{ed.value.delete(qa)}),td}const Si="data-radix-vue-collection-item";function Me(Ra,qa=Si){const ed=Ra??Symbol();return{createCollection:td=>{const rd=ref$1([]);function sd(){const od=$e(td);return od?rd.value=Array.from(od.querySelectorAll(`[${qa}]:not([data-disabled])`)):rd.value=[]}return onBeforeUpdate(()=>{rd.value=[]}),onMounted(sd),onUpdated(sd),watch(()=>td==null?void 0:td.value,sd,{immediate:!0}),provide(ed,rd),rd},injectCollection:()=>inject(ed,ref$1([]))}}function be(Ra){const qa=Ga({dir:ref$1("ltr")});return computed(()=>{var ed;return(Ra==null?void 0:Ra.value)||((ed=qa.dir)==null?void 0:ed.value)||"ltr"})}function Re(Ra){const qa=getCurrentInstance(),ed=qa==null?void 0:qa.type.emits,td={};return ed!=null&&ed.length||console.warn(`No emitted event found. Please check component: ${qa==null?void 0:qa.type.__name}`),ed==null||ed.forEach(rd=>{td[toHandlerKey(camelize(rd))]=(...sd)=>Ra(rd,...sd)}),td}let bn=0;function Gn(){watchEffect(Ra=>{if(!qe)return;const qa=document.querySelectorAll("[data-radix-focus-guard]");document.body.insertAdjacentElement("afterbegin",qa[0]??Ko()),document.body.insertAdjacentElement("beforeend",qa[1]??Ko()),bn++,Ra(()=>{bn===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(ed=>ed.remove()),bn--})})}function Ko(){const Ra=document.createElement("span");return Ra.setAttribute("data-radix-focus-guard",""),Ra.tabIndex=0,Ra.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",Ra}function Je(Ra){return computed(()=>{var qa;return Ke(Ra)?!!((qa=$e(Ra))!=null&&qa.closest("form")):!0})}function It(Ra){const qa=getCurrentInstance(),ed=Object.keys((qa==null?void 0:qa.type.props)??{}).reduce((rd,sd)=>{const od=(qa==null?void 0:qa.type.props[sd]).default;return od!==void 0&&(rd[sd]=od),rd},{}),td=toRef$1(Ra);return computed(()=>{const rd={},sd=(qa==null?void 0:qa.vnode.props)??{};return Object.keys(sd).forEach(od=>{rd[camelize(od)]=sd[od]}),Object.keys({...ed,...rd}).reduce((od,ld)=>(td.value[ld]!==void 0&&(od[ld]=td.value[ld]),od),{})})}function xe(Ra,qa){const ed=It(Ra),td=qa?Re(qa):{};return computed(()=>({...ed.value,...td}))}function T(){const Ra=getCurrentInstance(),qa=ref$1(),ed=computed(()=>{var od,ld;return["#text","#comment"].includes((od=qa.value)==null?void 0:od.$el.nodeName)?(ld=qa.value)==null?void 0:ld.$el.nextElementSibling:$e(qa)}),td=Object.assign({},Ra.exposed),rd={};for(const od in Ra.props)Object.defineProperty(rd,od,{enumerable:!0,configurable:!0,get:()=>Ra.props[od]});if(Object.keys(td).length>0)for(const od in td)Object.defineProperty(rd,od,{enumerable:!0,configurable:!0,get:()=>td[od]});Object.defineProperty(rd,"$el",{enumerable:!0,configurable:!0,get:()=>Ra.vnode.el}),Ra.exposed=rd;function sd(od){qa.value=od,!(od instanceof Element||!od)&&(Object.defineProperty(rd,"$el",{enumerable:!0,configurable:!0,get:()=>od.$el}),Ra.exposed=rd)}return{forwardRef:sd,currentRef:qa,currentElement:ed}}function Tl(Ra,qa){const ed=$t(!1,300),td=ref$1(null),rd=ia();function sd(){td.value=null,ed.value=!1}function od(ld,ud){const cd=ld.currentTarget,dd={x:ld.clientX,y:ld.clientY},_d=Ei(dd,cd.getBoundingClientRect()),Ed=Pi(dd,_d),Ad=Di(ud.getBoundingClientRect()),Td=Bi([...Ed,...Ad]);td.value=Td,ed.value=!0}return watchEffect(ld=>{if(Ra.value&&qa.value){const ud=dd=>od(dd,qa.value),cd=dd=>od(dd,Ra.value);Ra.value.addEventListener("pointerleave",ud),qa.value.addEventListener("pointerleave",cd),ld(()=>{var dd,_d;(dd=Ra.value)==null||dd.removeEventListener("pointerleave",ud),(_d=qa.value)==null||_d.removeEventListener("pointerleave",cd)})}}),watchEffect(ld=>{if(td.value){const ud=cd=>{var dd,_d;if(!td.value)return;const Ed=cd.target,Ad={x:cd.clientX,y:cd.clientY},Td=((dd=Ra.value)==null?void 0:dd.contains(Ed))||((_d=qa.value)==null?void 0:_d.contains(Ed)),Id=!$i(Ad,td.value),Bd=Ed.hasAttribute("data-grace-area-trigger");Td?sd():(Id||Bd)&&(sd(),rd.trigger())};document.addEventListener("pointermove",ud),ld(()=>document.removeEventListener("pointermove",ud))}}),{isPointerInTransit:ed,onPointerExit:rd.on}}function Ei(Ra,qa){const ed=Math.abs(qa.top-Ra.y),td=Math.abs(qa.bottom-Ra.y),rd=Math.abs(qa.right-Ra.x),sd=Math.abs(qa.left-Ra.x);switch(Math.min(ed,td,rd,sd)){case sd:return"left";case rd:return"right";case ed:return"top";case td:return"bottom";default:throw new Error("unreachable")}}function Pi(Ra,qa,ed=5){const td=[];switch(qa){case"top":td.push({x:Ra.x-ed,y:Ra.y+ed},{x:Ra.x+ed,y:Ra.y+ed});break;case"bottom":td.push({x:Ra.x-ed,y:Ra.y-ed},{x:Ra.x+ed,y:Ra.y-ed});break;case"left":td.push({x:Ra.x+ed,y:Ra.y-ed},{x:Ra.x+ed,y:Ra.y+ed});break;case"right":td.push({x:Ra.x-ed,y:Ra.y-ed},{x:Ra.x-ed,y:Ra.y+ed});break}return td}function Di(Ra){const{top:qa,right:ed,bottom:td,left:rd}=Ra;return[{x:rd,y:qa},{x:ed,y:qa},{x:ed,y:td},{x:rd,y:td}]}function $i(Ra,qa){const{x:ed,y:td}=Ra;let rd=!1;for(let sd=0,od=qa.length-1;sdtd!=dd>td&&ed<(cd-ld)*(td-ud)/(dd-ud)+ld&&(rd=!rd)}return rd}function Bi(Ra){const qa=Ra.slice();return qa.sort((ed,td)=>ed.xtd.x?1:ed.ytd.y?1:0),Ii(qa)}function Ii(Ra){if(Ra.length<=1)return Ra.slice();const qa=[];for(let td=0;td=2;){const sd=qa[qa.length-1],od=qa[qa.length-2];if((sd.x-od.x)*(rd.y-od.y)>=(sd.y-od.y)*(rd.x-od.x))qa.pop();else break}qa.push(rd)}qa.pop();const ed=[];for(let td=Ra.length-1;td>=0;td--){const rd=Ra[td];for(;ed.length>=2;){const sd=ed[ed.length-1],od=ed[ed.length-2];if((sd.x-od.x)*(rd.y-od.y)>=(sd.y-od.y)*(rd.x-od.x))ed.pop();else break}ed.push(rd)}return ed.pop(),qa.length===1&&ed.length===1&&qa[0].x===ed[0].x&&qa[0].y===ed[0].y?qa:qa.concat(ed)}var Ti=function(Ra){if(typeof document>"u")return null;var qa=Array.isArray(Ra)?Ra[0]:Ra;return qa.ownerDocument.body},Ft=new WeakMap,Pa=new WeakMap,Da={},Cn=0,Rl=function(Ra){return Ra&&(Ra.host||Rl(Ra.parentNode))},Ri=function(Ra,qa){return qa.map(function(ed){if(Ra.contains(ed))return ed;var td=Rl(ed);return td&&Ra.contains(td)?td:(console.error("aria-hidden",ed,"in not contained inside",Ra,". Doing nothing"),null)}).filter(function(ed){return!!ed})},Ai=function(Ra,qa,ed,td){var rd=Ri(qa,Array.isArray(Ra)?Ra:[Ra]);Da[ed]||(Da[ed]=new WeakMap);var sd=Da[ed],od=[],ld=new Set,ud=new Set(rd),cd=function(_d){!_d||ld.has(_d)||(ld.add(_d),cd(_d.parentNode))};rd.forEach(cd);var dd=function(_d){!_d||ud.has(_d)||Array.prototype.forEach.call(_d.children,function(Ed){if(ld.has(Ed))dd(Ed);else try{var Ad=Ed.getAttribute(td),Td=Ad!==null&&Ad!=="false",Id=(Ft.get(Ed)||0)+1,Bd=(sd.get(Ed)||0)+1;Ft.set(Ed,Id),sd.set(Ed,Bd),od.push(Ed),Id===1&&Td&&Pa.set(Ed,!0),Bd===1&&Ed.setAttribute(ed,"true"),Td||Ed.setAttribute(td,"true")}catch(Rd){console.error("aria-hidden: cannot operate on ",Ed,Rd)}})};return dd(qa),ld.clear(),Cn++,function(){od.forEach(function(_d){var Ed=Ft.get(_d)-1,Ad=sd.get(_d)-1;Ft.set(_d,Ed),sd.set(_d,Ad),Ed||(Pa.has(_d)||_d.removeAttribute(td),Pa.delete(_d)),Ad||_d.removeAttribute(ed)}),Cn--,Cn||(Ft=new WeakMap,Ft=new WeakMap,Pa=new WeakMap,Da={})}},Oi=function(Ra,qa,ed){ed===void 0&&(ed="data-aria-hidden");var td=Array.from(Array.isArray(Ra)?Ra:[Ra]),rd=Ti(Ra);return rd?(td.push.apply(td,Array.from(rd.querySelectorAll("[aria-live]"))),Ai(td,rd,ed,"aria-hidden")):function(){return null}};function ya(Ra){let qa;watch(()=>$e(Ra),ed=>{ed?qa=Oi(ed):qa&&qa()}),onUnmounted(()=>{qa&&qa()})}let ki=0;function he(Ra,qa="radix"){if(Ra)return Ra;const{useId:ed}=Ga({useId:void 0});return ed&&typeof ed=="function"?`${qa}-${ed()}`:`${qa}-${++ki}`}function Al(Ra){const qa=ref$1(),ed=computed(()=>{var rd;return((rd=qa.value)==null?void 0:rd.width)??0}),td=computed(()=>{var rd;return((rd=qa.value)==null?void 0:rd.height)??0});return onMounted(()=>{const rd=$e(Ra);if(rd){qa.value={width:rd.offsetWidth,height:rd.offsetHeight};const sd=new ResizeObserver(od=>{if(!Array.isArray(od)||!od.length)return;const ld=od[0];let ud,cd;if("borderBoxSize"in ld){const dd=ld.borderBoxSize,_d=Array.isArray(dd)?dd[0]:dd;ud=_d.inlineSize,cd=_d.blockSize}else ud=rd.offsetWidth,cd=rd.offsetHeight;qa.value={width:ud,height:cd}});return sd.observe(rd,{box:"border-box"}),()=>sd.unobserve(rd)}else qa.value=void 0}),{width:ed,height:td}}function Ol(Ra,qa){const ed=ref$1(Ra);function td(rd){return qa[ed.value][rd]??ed.value}return{state:ed,dispatch:rd=>{ed.value=td(rd)}}}function ga(Ra){const qa=$t("",1e3);return{search:qa,handleTypeaheadSearch:(ed,td)=>{var rd,sd;if(!(Ra!=null&&Ra.value)&&!td)return;qa.value=qa.value+ed;const od=(Ra==null?void 0:Ra.value)??td,ld=document.activeElement,ud=((sd=(rd=od.find(Ed=>Ed===ld))==null?void 0:rd.textContent)==null?void 0:sd.trim())??"",cd=od.map(Ed=>{var Ad;return((Ad=Ed.textContent)==null?void 0:Ad.trim())??""}),dd=Yn(cd,qa.value,ud),_d=od.find(Ed=>{var Ad;return((Ad=Ed.textContent)==null?void 0:Ad.trim())===dd});return _d&&_d.focus(),_d},resetTypeahead:()=>{qa.value=""}}}function qn(Ra,qa){return Ra.map((ed,td)=>Ra[(qa+td)%Ra.length])}function Yn(Ra,qa,ed){const td=qa.length>1&&Array.from(qa).every(ld=>ld===qa[0])?qa[0]:qa,rd=ed?Ra.indexOf(ed):-1;let sd=qn(Ra,Math.max(rd,0));td.length===1&&(sd=sd.filter(ld=>ld!==ed));const od=sd.find(ld=>ld.toLowerCase().startsWith(td.toLowerCase()));return od!==ed?od:void 0}const Xn=defineComponent({name:"PrimitiveSlot",inheritAttrs:!1,setup(Ra,{attrs:qa,slots:ed}){return()=>{var td,rd;if(!ed.default)return null;const sd=Ua(ed.default()),od=sd.findIndex(dd=>dd.type!==Comment$2);if(od===-1)return sd;const ld=sd[od];(td=ld.props)==null||delete td.ref;const ud=ld.props?mergeProps(qa,ld.props):qa;qa.class&&(rd=ld.props)!=null&&rd.class&&delete ld.props.class;const cd=cloneVNode(ld,ud);for(const dd in ud)dd.startsWith("on")&&(cd.props||(cd.props={}),cd.props[dd]=ud[dd]);return sd.length===1?cd:(sd[od]=cd,sd)}}}),O=defineComponent({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(Ra,{attrs:qa,slots:ed}){const td=Ra.asChild?"template":Ra.as;return typeof td=="string"&&["area","img","input"].includes(td)?()=>h$1(td,qa):td!=="template"?()=>h$1(Ra.as,qa,{default:ed.default}):()=>h$1(Xn,qa,{default:ed.default})}});function ke(){const Ra=ref$1(),qa=computed(()=>{var ed,td;return["#text","#comment"].includes((ed=Ra.value)==null?void 0:ed.$el.nodeName)?(td=Ra.value)==null?void 0:td.$el.nextElementSibling:$e(Ra)});return{primitiveElement:Ra,currentElement:qa}}function Li(Ra,qa){const ed=ref$1({}),td=ref$1("none"),rd=Ra.value?"mounted":"unmounted",{state:sd,dispatch:od}=Ol(rd,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),ld=Ed=>{var Ad;if(qe){const Td=new CustomEvent(Ed,{bubbles:!1,cancelable:!1});(Ad=qa.value)==null||Ad.dispatchEvent(Td)}};watch(Ra,async(Ed,Ad)=>{var Td;const Id=Ad!==Ed;if(await nextTick$1(),Id){const Bd=td.value,Rd=$a(qa.value);Ed?(od("MOUNT"),ld("enter"),Rd==="none"&&ld("after-enter")):Rd==="none"||((Td=ed.value)==null?void 0:Td.display)==="none"?(od("UNMOUNT"),ld("leave"),ld("after-leave")):Ad&&Bd!==Rd?(od("ANIMATION_OUT"),ld("leave")):(od("UNMOUNT"),ld("after-leave"))}},{immediate:!0});const ud=Ed=>{const Ad=$a(qa.value),Td=Ad.includes(Ed.animationName),Id=sd.value==="mounted"?"enter":"leave";Ed.target===qa.value&&Td&&(ld(`after-${Id}`),od("ANIMATION_END")),Ed.target===qa.value&&Ad==="none"&&od("ANIMATION_END")},cd=Ed=>{Ed.target===qa.value&&(td.value=$a(qa.value))},dd=watch(qa,(Ed,Ad)=>{Ed?(ed.value=getComputedStyle(Ed),Ed.addEventListener("animationstart",cd),Ed.addEventListener("animationcancel",ud),Ed.addEventListener("animationend",ud)):(od("ANIMATION_END"),Ad==null||Ad.removeEventListener("animationstart",cd),Ad==null||Ad.removeEventListener("animationcancel",ud),Ad==null||Ad.removeEventListener("animationend",ud))},{immediate:!0}),_d=watch(sd,()=>{const Ed=$a(qa.value);td.value=sd.value==="mounted"?Ed:"none"});return onUnmounted(()=>{dd(),_d()}),{isPresent:computed(()=>["mounted","unmountSuspended"].includes(sd.value))}}function $a(Ra){return Ra&&getComputedStyle(Ra).animationName||"none"}const Pe=defineComponent({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(Ra,{slots:qa,expose:ed}){var td;const{present:rd,forceMount:sd}=toRefs(Ra),od=ref$1(),{isPresent:ld}=Li(rd,od);ed({present:ld});let ud=qa.default({present:ld});ud=Ua(ud||[]);const cd=getCurrentInstance();if(ud&&(ud==null?void 0:ud.length)>1){const dd=(td=cd==null?void 0:cd.parent)!=null&&td.type.name?`<${cd.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${dd}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(_d=>` - ${_d}`).join(` + `),cd.value=Qf},_f=()=>{const Qf=css2json(jd.value.getValue()),Uf=customCssWithTemplate(Qf,Td.value,customizeTheme(themeMap[dd.value],{fontSize:Dd.value,color:Td.value}));bf.setOptions({theme:Uf}),Ef()};onMounted(()=>{const Qf=document.querySelector("#cssEditor");Qf.value=Zd().content;const Uf=Ra.value?"darcula":"xq-light";jd.value=markRaw(CodeMirror.fromTextArea(Qf,{mode:"css",theme:Uf,lineNumbers:!1,lineWrapping:!0,styleActiveLine:!0,matchBrackets:!0,autofocus:!0,extraKeys:{[`${shiftKey}-${altKey}-F`]:function(Xf){formatDoc(Xf.getValue(),"css").then(dh=>{Zd().content=dh,Xf.setValue(dh)})}}})),jd.value.on("keyup",(Df,Xf)=>{(Xf.keyCode>=65&&Xf.keyCode<=90||Xf.keyCode===189)&&Df.showHint(Xf)}),jd.value.on("update",()=>{_f(),Zd().content=jd.value.getValue()})}),watch(Ra,()=>{var Uf,Df;const Qf=Ra.value?"darcula":"xq-light";(Df=(Uf=toRaw(jd.value))==null?void 0:Uf.setOption)==null||Df.call(Uf,"theme",Qf)});const vf=()=>{sd.value=!1,td.value=!0,dd.value=themeOptions[0].value,pd.value=fontFamilyOptions[0].value,pd.value=fontFamilyOptions[0].value,fd.value=fontSizeOptions[2].value,Td.value=colorOptions[0].value,Ad.value=codeBlockThemeOptions[2].value,Sd.value=legendOptions[3].value,zd.value={active:"方案 1",tabs:[{title:"方案 1",name:"方案 1",content:Hd.value||DEFAULT_CSS_CONTENT}]},jd.value.setValue(DEFAULT_CSS_CONTENT),_f(),Ef()},xf=Qf=>(...Uf)=>{Qf(...Uf),Ef()},Bf=(Qf,Uf)=>{const Df=themeMap[dd.value],Xf=Qf.replace("px","");return customCssWithTemplate(css2json(Zd().content),Uf,customizeTheme(Df,{fontSize:Xf,color:Uf}))},Yf=xf(Qf=>{bf.setOptions({theme:customCssWithTemplate(css2json(Zd().content),Td.value,customizeTheme(themeMap[Qf],{fontSize:Dd.value}))}),dd.value=Qf}),eh=xf(Qf=>{bf.setOptions({fonts:Qf}),pd.value=Qf}),Vf=xf(Qf=>{const Uf=Bf(Qf,Td.value);bf.setOptions({size:Qf,theme:Uf}),fd.value=Qf}),Pf=xf(Qf=>{const Uf=Bf(fd.value,Qf);bf.setOptions({theme:Uf}),Td.value=Qf}),If=xf(Qf=>{Ad.value=Qf}),$f=xf(Qf=>{Sd.value=Qf}),Zf=xf(()=>{rd()}),Kf=xf(()=>{ud()});return{isDark:Ra,toggleDark:qa,isEditOnLeft:nd,toggleEditOnLeft:ad,isMacCodeBlock:td,isCiteStatus:sd,citeStatusChanged:Kf,output:cd,editor:Ld,cssEditor:jd,theme:dd,fontFamily:pd,fontSize:fd,primaryColor:Td,codeBlockTheme:Ad,legend:Sd,editorRefresh:Ef,themeChanged:Yf,fontChanged:eh,sizeChanged:Vf,colorChanged:Pf,codeBlockThemeChanged:If,legendChanged:$f,macCodeBlockChanged:Zf,formatContent:Od,exportEditorContent2HTML:()=>{exportHTML(),document.querySelector("#output").innerHTML=cd.value},exportEditorContent2MD:()=>{downloadMD(Ld.value.getValue())},importMarkdownContent:()=>{const Qf=document.body,Uf=document.createElement("input");Uf.type="file",Uf.name="filename",Uf.accept=".md",Uf.onchange=()=>{const Df=Uf.files[0];if(!Df)return;const Xf=new FileReader;Xf.readAsText(Df),Xf.onload=dh=>{Ld.value.setValue(dh.target.result),ElMessage.success("文档导入成功")}},Qf.appendChild(Uf),Uf.click(),Qf.removeChild(Uf)},resetStyleConfirm:()=>{ElMessageBox.confirm("此操作将丢失本地自定义样式,是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",center:!0}).then(()=>{vf(),ElMessage({type:"success",message:"样式重置成功~"})}).catch(()=>{Ld.value.focus()})},editorContent:Rd,cssContentConfig:zd,addCssContentTab:Jd,validatorTabName:hf,setCssEditorValue:Ud,tabChanged:Wd,renameTab:Qd}}),useDisplayStore=defineStore("display",()=>{const Ra=ref$1(!1),qa=useToggle(Ra),td=ref$1(!1),rd=useToggle(td),nd=ref$1(!1),ad=useToggle(nd);return{isShowCssEditor:Ra,toggleShowCssEditor:qa,isShowInsertFormDialog:td,toggleShowInsertFormDialog:rd,isShowUploadImgDialog:nd,toggleShowUploadImgDialog:ad}}),_sfc_main$N=defineComponent({__name:"CssEditor",setup(Ra){const qa=useStore(),td=useDisplayStore();function rd(){ElMessageBox.prompt("请输入新的方案名称","编辑方案名称",{confirmButtonText:"确认",cancelButtonText:"取消",inputValue:qa.cssContentConfig.active,inputErrorMessage:"不能与现有方案重名",inputValidator:qa.validatorTabName}).then(({value:ad})=>{if(!`${ad}`.trim()){ElMessage.error("修改失败,方案名不可为空");return}qa.renameTab(ad),ElMessage.success("修改成功~")})}function nd(ad,sd){if(sd==="add")ElMessageBox.prompt("请输入方案名称","新建自定义 CSS",{confirmButtonText:"确认",cancelButtonText:"取消",inputValue:`方案${qa.cssContentConfig.tabs.length+1}`,inputErrorMessage:"不能与现有方案重名",inputValidator:qa.validatorTabName}).then(({value:ud})=>{if(!`${ud}`.trim()){ElMessage.error("新建失败,方案名不可为空");return}qa.addCssContentTab(ud),ElMessage.success("新建成功~")});else if(sd==="remove"){const ud=qa.cssContentConfig.tabs;if(ud.length===1){ElMessage.warning("至少保留一个方案");return}let cd=qa.cssContentConfig.active;cd===ad&&ud.forEach((dd,pd)=>{if(dd.name===ad){const fd=ud[pd+1]||ud[pd-1];fd&&(cd=fd.name)}}),qa.tabChanged(cd),qa.cssContentConfig.tabs=ud.filter(dd=>dd.name!==ad)}}return(ad,sd)=>{const ud=edit_pen_default,cd=ElIcon,dd=ElTabPane,pd=ElTabs,fd=ElCol;return openBlock(),createBlock(Transition$1,{"enter-active-class":"bounceInRight"},{default:withCtx(()=>[withDirectives(createVNode(fd,{span:8,class:"cssEditor-wrapper order-1 h-full flex flex-col border-l-1"},{default:withCtx(()=>[createVNode(pd,{modelValue:unref(qa).cssContentConfig.active,"onUpdate:modelValue":sd[1]||(sd[1]=Td=>unref(qa).cssContentConfig.active=Td),type:"border-card",stretch:"",editable:"",onEdit:nd,onTabChange:unref(qa).tabChanged},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(qa).cssContentConfig.tabs,Td=>(openBlock(),createBlock(dd,{key:Td.name,name:Td.name},{label:withCtx(()=>[createTextVNode(toDisplayString(Td.title)+" ",1),unref(qa).cssContentConfig.active===Td.name?(openBlock(),createBlock(cd,{key:0,class:"ml-1",onClick:sd[0]||(sd[0]=Ad=>rd())},{default:withCtx(()=>[createVNode(ud)]),_:1})):createCommentVNode("",!0)]),_:2},1032,["name"]))),128))]),_:1},8,["modelValue","onTabChange"]),sd[2]||(sd[2]=createBaseVNode("textarea",{id:"cssEditor",type:"textarea",placeholder:"Your custom css here."},null,-1))]),_:1},512),[[vShow,unref(td).isShowCssEditor]])]),_:1})}}}),_export_sfc=(Ra,qa)=>{const td=Ra.__vccOpts||Ra;for(const[rd,nd]of qa)td[rd]=nd;return td},CssEditor=_export_sfc(_sfc_main$N,[["__scopeId","data-v-0236db12"]]);function r$1(Ra){var qa,td,rd="";if(typeof Ra=="string"||typeof Ra=="number")rd+=Ra;else if(typeof Ra=="object")if(Array.isArray(Ra))for(qa=0;qatypeof Ra=="boolean"?"".concat(Ra):Ra===0?"0":Ra,cx=clsx$1,cva=(Ra,qa)=>td=>{var rd;if((qa==null?void 0:qa.variants)==null)return cx(Ra,td==null?void 0:td.class,td==null?void 0:td.className);const{variants:nd,defaultVariants:ad}=qa,sd=Object.keys(nd).map(dd=>{const pd=td==null?void 0:td[dd],fd=ad==null?void 0:ad[dd];if(pd===null)return null;const Td=falsyToString(pd)||falsyToString(fd);return nd[dd][Td]}),ud=td&&Object.entries(td).reduce((dd,pd)=>{let[fd,Td]=pd;return Td===void 0||(dd[fd]=Td),dd},{}),cd=qa==null||(rd=qa.compoundVariants)===null||rd===void 0?void 0:rd.reduce((dd,pd)=>{let{class:fd,className:Td,...Ad}=pd;return Object.entries(Ad).every(Sd=>{let[Dd,Ld]=Sd;return Array.isArray(Ld)?Ld.includes({...ad,...ud}[Dd]):{...ad,...ud}[Dd]===Ld})?[...dd,fd,Td]:dd},[]);return cx(Ra,sd,cd,td==null?void 0:td.class,td==null?void 0:td.className)};function r(Ra){var qa,td,rd="";if(typeof Ra=="string"||typeof Ra=="number")rd+=Ra;else if(typeof Ra=="object")if(Array.isArray(Ra)){var nd=Ra.length;for(qa=0;qa{const qa=createClassMap(Ra),{conflictingClassGroups:td,conflictingClassGroupModifiers:rd}=Ra;return{getClassGroupId:sd=>{const ud=sd.split(CLASS_PART_SEPARATOR);return ud[0]===""&&ud.length!==1&&ud.shift(),getGroupRecursive(ud,qa)||getGroupIdForArbitraryProperty(sd)},getConflictingClassGroupIds:(sd,ud)=>{const cd=td[sd]||[];return ud&&rd[sd]?[...cd,...rd[sd]]:cd}}},getGroupRecursive=(Ra,qa)=>{var sd;if(Ra.length===0)return qa.classGroupId;const td=Ra[0],rd=qa.nextPart.get(td),nd=rd?getGroupRecursive(Ra.slice(1),rd):void 0;if(nd)return nd;if(qa.validators.length===0)return;const ad=Ra.join(CLASS_PART_SEPARATOR);return(sd=qa.validators.find(({validator:ud})=>ud(ad)))==null?void 0:sd.classGroupId},arbitraryPropertyRegex=/^\[(.+)\]$/,getGroupIdForArbitraryProperty=Ra=>{if(arbitraryPropertyRegex.test(Ra)){const qa=arbitraryPropertyRegex.exec(Ra)[1],td=qa==null?void 0:qa.substring(0,qa.indexOf(":"));if(td)return"arbitrary.."+td}},createClassMap=Ra=>{const{theme:qa,prefix:td}=Ra,rd={nextPart:new Map,validators:[]};return getPrefixedClassGroupEntries(Object.entries(Ra.classGroups),td).forEach(([ad,sd])=>{processClassesRecursively(sd,rd,ad,qa)}),rd},processClassesRecursively=(Ra,qa,td,rd)=>{Ra.forEach(nd=>{if(typeof nd=="string"){const ad=nd===""?qa:getPart(qa,nd);ad.classGroupId=td;return}if(typeof nd=="function"){if(isThemeGetter(nd)){processClassesRecursively(nd(rd),qa,td,rd);return}qa.validators.push({validator:nd,classGroupId:td});return}Object.entries(nd).forEach(([ad,sd])=>{processClassesRecursively(sd,getPart(qa,ad),td,rd)})})},getPart=(Ra,qa)=>{let td=Ra;return qa.split(CLASS_PART_SEPARATOR).forEach(rd=>{td.nextPart.has(rd)||td.nextPart.set(rd,{nextPart:new Map,validators:[]}),td=td.nextPart.get(rd)}),td},isThemeGetter=Ra=>Ra.isThemeGetter,getPrefixedClassGroupEntries=(Ra,qa)=>qa?Ra.map(([td,rd])=>{const nd=rd.map(ad=>typeof ad=="string"?qa+ad:typeof ad=="object"?Object.fromEntries(Object.entries(ad).map(([sd,ud])=>[qa+sd,ud])):ad);return[td,nd]}):Ra,createLruCache=Ra=>{if(Ra<1)return{get:()=>{},set:()=>{}};let qa=0,td=new Map,rd=new Map;const nd=(ad,sd)=>{td.set(ad,sd),qa++,qa>Ra&&(qa=0,rd=td,td=new Map)};return{get(ad){let sd=td.get(ad);if(sd!==void 0)return sd;if((sd=rd.get(ad))!==void 0)return nd(ad,sd),sd},set(ad,sd){td.has(ad)?td.set(ad,sd):nd(ad,sd)}}},IMPORTANT_MODIFIER="!",createParseClassName=Ra=>{const{separator:qa,experimentalParseClassName:td}=Ra,rd=qa.length===1,nd=qa[0],ad=qa.length,sd=ud=>{const cd=[];let dd=0,pd=0,fd;for(let Ld=0;Ldpd?fd-pd:void 0;return{modifiers:cd,hasImportantModifier:Ad,baseClassName:Sd,maybePostfixModifierPosition:Dd}};return td?ud=>td({className:ud,parseClassName:sd}):sd},sortModifiers=Ra=>{if(Ra.length<=1)return Ra;const qa=[];let td=[];return Ra.forEach(rd=>{rd[0]==="["?(qa.push(...td.sort(),rd),td=[]):td.push(rd)}),qa.push(...td.sort()),qa},createConfigUtils=Ra=>({cache:createLruCache(Ra.cacheSize),parseClassName:createParseClassName(Ra),...createClassGroupUtils(Ra)}),SPLIT_CLASSES_REGEX=/\s+/,mergeClassList=(Ra,qa)=>{const{parseClassName:td,getClassGroupId:rd,getConflictingClassGroupIds:nd}=qa,ad=[],sd=Ra.trim().split(SPLIT_CLASSES_REGEX);let ud="";for(let cd=sd.length-1;cd>=0;cd-=1){const dd=sd[cd],{modifiers:pd,hasImportantModifier:fd,baseClassName:Td,maybePostfixModifierPosition:Ad}=td(dd);let Sd=!!Ad,Dd=rd(Sd?Td.substring(0,Ad):Td);if(!Dd){if(!Sd){ud=dd+(ud.length>0?" "+ud:ud);continue}if(Dd=rd(Td),!Dd){ud=dd+(ud.length>0?" "+ud:ud);continue}Sd=!1}const Ld=sortModifiers(pd).join(":"),Rd=fd?Ld+IMPORTANT_MODIFIER:Ld,Od=Rd+Dd;if(ad.includes(Od))continue;ad.push(Od);const Md=nd(Dd,Sd);for(let jd=0;jd0?" "+ud:ud)}return ud};function twJoin(){let Ra=0,qa,td,rd="";for(;Ra{if(typeof Ra=="string")return Ra;let qa,td="";for(let rd=0;rdfd(pd),Ra());return td=createConfigUtils(dd),rd=td.cache.get,nd=td.cache.set,ad=ud,ud(cd)}function ud(cd){const dd=rd(cd);if(dd)return dd;const pd=mergeClassList(cd,td);return nd(cd,pd),pd}return function(){return ad(twJoin.apply(null,arguments))}}const fromTheme=Ra=>{const qa=td=>td[Ra]||[];return qa.isThemeGetter=!0,qa},arbitraryValueRegex=/^\[(?:([a-z-]+):)?(.+)\]$/i,fractionRegex=/^\d+\/\d+$/,stringLengths=new Set(["px","full","screen"]),tshirtUnitRegex=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,lengthUnitRegex=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,colorFunctionRegex=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,shadowRegex=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,imageRegex=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,isLength=Ra=>isNumber$2(Ra)||stringLengths.has(Ra)||fractionRegex.test(Ra),isArbitraryLength=Ra=>getIsArbitraryValue(Ra,"length",isLengthOnly),isNumber$2=Ra=>!!Ra&&!Number.isNaN(Number(Ra)),isArbitraryNumber=Ra=>getIsArbitraryValue(Ra,"number",isNumber$2),isInteger=Ra=>!!Ra&&Number.isInteger(Number(Ra)),isPercent=Ra=>Ra.endsWith("%")&&isNumber$2(Ra.slice(0,-1)),isArbitraryValue=Ra=>arbitraryValueRegex.test(Ra),isTshirtSize=Ra=>tshirtUnitRegex.test(Ra),sizeLabels=new Set(["length","size","percentage"]),isArbitrarySize=Ra=>getIsArbitraryValue(Ra,sizeLabels,isNever),isArbitraryPosition=Ra=>getIsArbitraryValue(Ra,"position",isNever),imageLabels=new Set(["image","url"]),isArbitraryImage=Ra=>getIsArbitraryValue(Ra,imageLabels,isImage),isArbitraryShadow=Ra=>getIsArbitraryValue(Ra,"",isShadow),isAny=()=>!0,getIsArbitraryValue=(Ra,qa,td)=>{const rd=arbitraryValueRegex.exec(Ra);return rd?rd[1]?typeof qa=="string"?rd[1]===qa:qa.has(rd[1]):td(rd[2]):!1},isLengthOnly=Ra=>lengthUnitRegex.test(Ra)&&!colorFunctionRegex.test(Ra),isNever=()=>!1,isShadow=Ra=>shadowRegex.test(Ra),isImage=Ra=>imageRegex.test(Ra),getDefaultConfig=()=>{const Ra=fromTheme("colors"),qa=fromTheme("spacing"),td=fromTheme("blur"),rd=fromTheme("brightness"),nd=fromTheme("borderColor"),ad=fromTheme("borderRadius"),sd=fromTheme("borderSpacing"),ud=fromTheme("borderWidth"),cd=fromTheme("contrast"),dd=fromTheme("grayscale"),pd=fromTheme("hueRotate"),fd=fromTheme("invert"),Td=fromTheme("gap"),Ad=fromTheme("gradientColorStops"),Sd=fromTheme("gradientColorStopPositions"),Dd=fromTheme("inset"),Ld=fromTheme("margin"),Rd=fromTheme("opacity"),Od=fromTheme("padding"),Md=fromTheme("saturate"),jd=fromTheme("scale"),Ud=fromTheme("sepia"),Hd=fromTheme("skew"),zd=fromTheme("space"),Zd=fromTheme("translate"),Wd=()=>["auto","contain","none"],Qd=()=>["auto","hidden","clip","visible","scroll"],Jd=()=>["auto",isArbitraryValue,qa],hf=()=>[isArbitraryValue,qa],bf=()=>["",isLength,isArbitraryLength],Ef=()=>["auto",isNumber$2,isArbitraryValue],_f=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],vf=()=>["solid","dashed","dotted","double","none"],xf=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Bf=()=>["start","end","center","between","around","evenly","stretch"],Yf=()=>["","0",isArbitraryValue],eh=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Vf=()=>[isNumber$2,isArbitraryValue];return{cacheSize:500,separator:":",theme:{colors:[isAny],spacing:[isLength,isArbitraryLength],blur:["none","",isTshirtSize,isArbitraryValue],brightness:Vf(),borderColor:[Ra],borderRadius:["none","","full",isTshirtSize,isArbitraryValue],borderSpacing:hf(),borderWidth:bf(),contrast:Vf(),grayscale:Yf(),hueRotate:Vf(),invert:Yf(),gap:hf(),gradientColorStops:[Ra],gradientColorStopPositions:[isPercent,isArbitraryLength],inset:Jd(),margin:Jd(),opacity:Vf(),padding:hf(),saturate:Vf(),scale:Vf(),sepia:Yf(),skew:Vf(),space:hf(),translate:hf()},classGroups:{aspect:[{aspect:["auto","square","video",isArbitraryValue]}],container:["container"],columns:[{columns:[isTshirtSize]}],"break-after":[{"break-after":eh()}],"break-before":[{"break-before":eh()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[..._f(),isArbitraryValue]}],overflow:[{overflow:Qd()}],"overflow-x":[{"overflow-x":Qd()}],"overflow-y":[{"overflow-y":Qd()}],overscroll:[{overscroll:Wd()}],"overscroll-x":[{"overscroll-x":Wd()}],"overscroll-y":[{"overscroll-y":Wd()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[Dd]}],"inset-x":[{"inset-x":[Dd]}],"inset-y":[{"inset-y":[Dd]}],start:[{start:[Dd]}],end:[{end:[Dd]}],top:[{top:[Dd]}],right:[{right:[Dd]}],bottom:[{bottom:[Dd]}],left:[{left:[Dd]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",isInteger,isArbitraryValue]}],basis:[{basis:Jd()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",isArbitraryValue]}],grow:[{grow:Yf()}],shrink:[{shrink:Yf()}],order:[{order:["first","last","none",isInteger,isArbitraryValue]}],"grid-cols":[{"grid-cols":[isAny]}],"col-start-end":[{col:["auto",{span:["full",isInteger,isArbitraryValue]},isArbitraryValue]}],"col-start":[{"col-start":Ef()}],"col-end":[{"col-end":Ef()}],"grid-rows":[{"grid-rows":[isAny]}],"row-start-end":[{row:["auto",{span:[isInteger,isArbitraryValue]},isArbitraryValue]}],"row-start":[{"row-start":Ef()}],"row-end":[{"row-end":Ef()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",isArbitraryValue]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",isArbitraryValue]}],gap:[{gap:[Td]}],"gap-x":[{"gap-x":[Td]}],"gap-y":[{"gap-y":[Td]}],"justify-content":[{justify:["normal",...Bf()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Bf(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Bf(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[Od]}],px:[{px:[Od]}],py:[{py:[Od]}],ps:[{ps:[Od]}],pe:[{pe:[Od]}],pt:[{pt:[Od]}],pr:[{pr:[Od]}],pb:[{pb:[Od]}],pl:[{pl:[Od]}],m:[{m:[Ld]}],mx:[{mx:[Ld]}],my:[{my:[Ld]}],ms:[{ms:[Ld]}],me:[{me:[Ld]}],mt:[{mt:[Ld]}],mr:[{mr:[Ld]}],mb:[{mb:[Ld]}],ml:[{ml:[Ld]}],"space-x":[{"space-x":[zd]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[zd]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",isArbitraryValue,qa]}],"min-w":[{"min-w":[isArbitraryValue,qa,"min","max","fit"]}],"max-w":[{"max-w":[isArbitraryValue,qa,"none","full","min","max","fit","prose",{screen:[isTshirtSize]},isTshirtSize]}],h:[{h:[isArbitraryValue,qa,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[isArbitraryValue,qa,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[isArbitraryValue,qa,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[isArbitraryValue,qa,"auto","min","max","fit"]}],"font-size":[{text:["base",isTshirtSize,isArbitraryLength]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",isArbitraryNumber]}],"font-family":[{font:[isAny]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",isArbitraryValue]}],"line-clamp":[{"line-clamp":["none",isNumber$2,isArbitraryNumber]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",isLength,isArbitraryValue]}],"list-image":[{"list-image":["none",isArbitraryValue]}],"list-style-type":[{list:["none","disc","decimal",isArbitraryValue]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[Ra]}],"placeholder-opacity":[{"placeholder-opacity":[Rd]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[Ra]}],"text-opacity":[{"text-opacity":[Rd]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...vf(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",isLength,isArbitraryLength]}],"underline-offset":[{"underline-offset":["auto",isLength,isArbitraryValue]}],"text-decoration-color":[{decoration:[Ra]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:hf()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",isArbitraryValue]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",isArbitraryValue]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[Rd]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[..._f(),isArbitraryPosition]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",isArbitrarySize]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},isArbitraryImage]}],"bg-color":[{bg:[Ra]}],"gradient-from-pos":[{from:[Sd]}],"gradient-via-pos":[{via:[Sd]}],"gradient-to-pos":[{to:[Sd]}],"gradient-from":[{from:[Ad]}],"gradient-via":[{via:[Ad]}],"gradient-to":[{to:[Ad]}],rounded:[{rounded:[ad]}],"rounded-s":[{"rounded-s":[ad]}],"rounded-e":[{"rounded-e":[ad]}],"rounded-t":[{"rounded-t":[ad]}],"rounded-r":[{"rounded-r":[ad]}],"rounded-b":[{"rounded-b":[ad]}],"rounded-l":[{"rounded-l":[ad]}],"rounded-ss":[{"rounded-ss":[ad]}],"rounded-se":[{"rounded-se":[ad]}],"rounded-ee":[{"rounded-ee":[ad]}],"rounded-es":[{"rounded-es":[ad]}],"rounded-tl":[{"rounded-tl":[ad]}],"rounded-tr":[{"rounded-tr":[ad]}],"rounded-br":[{"rounded-br":[ad]}],"rounded-bl":[{"rounded-bl":[ad]}],"border-w":[{border:[ud]}],"border-w-x":[{"border-x":[ud]}],"border-w-y":[{"border-y":[ud]}],"border-w-s":[{"border-s":[ud]}],"border-w-e":[{"border-e":[ud]}],"border-w-t":[{"border-t":[ud]}],"border-w-r":[{"border-r":[ud]}],"border-w-b":[{"border-b":[ud]}],"border-w-l":[{"border-l":[ud]}],"border-opacity":[{"border-opacity":[Rd]}],"border-style":[{border:[...vf(),"hidden"]}],"divide-x":[{"divide-x":[ud]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[ud]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[Rd]}],"divide-style":[{divide:vf()}],"border-color":[{border:[nd]}],"border-color-x":[{"border-x":[nd]}],"border-color-y":[{"border-y":[nd]}],"border-color-t":[{"border-t":[nd]}],"border-color-r":[{"border-r":[nd]}],"border-color-b":[{"border-b":[nd]}],"border-color-l":[{"border-l":[nd]}],"divide-color":[{divide:[nd]}],"outline-style":[{outline:["",...vf()]}],"outline-offset":[{"outline-offset":[isLength,isArbitraryValue]}],"outline-w":[{outline:[isLength,isArbitraryLength]}],"outline-color":[{outline:[Ra]}],"ring-w":[{ring:bf()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[Ra]}],"ring-opacity":[{"ring-opacity":[Rd]}],"ring-offset-w":[{"ring-offset":[isLength,isArbitraryLength]}],"ring-offset-color":[{"ring-offset":[Ra]}],shadow:[{shadow:["","inner","none",isTshirtSize,isArbitraryShadow]}],"shadow-color":[{shadow:[isAny]}],opacity:[{opacity:[Rd]}],"mix-blend":[{"mix-blend":[...xf(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":xf()}],filter:[{filter:["","none"]}],blur:[{blur:[td]}],brightness:[{brightness:[rd]}],contrast:[{contrast:[cd]}],"drop-shadow":[{"drop-shadow":["","none",isTshirtSize,isArbitraryValue]}],grayscale:[{grayscale:[dd]}],"hue-rotate":[{"hue-rotate":[pd]}],invert:[{invert:[fd]}],saturate:[{saturate:[Md]}],sepia:[{sepia:[Ud]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[td]}],"backdrop-brightness":[{"backdrop-brightness":[rd]}],"backdrop-contrast":[{"backdrop-contrast":[cd]}],"backdrop-grayscale":[{"backdrop-grayscale":[dd]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[pd]}],"backdrop-invert":[{"backdrop-invert":[fd]}],"backdrop-opacity":[{"backdrop-opacity":[Rd]}],"backdrop-saturate":[{"backdrop-saturate":[Md]}],"backdrop-sepia":[{"backdrop-sepia":[Ud]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[sd]}],"border-spacing-x":[{"border-spacing-x":[sd]}],"border-spacing-y":[{"border-spacing-y":[sd]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",isArbitraryValue]}],duration:[{duration:Vf()}],ease:[{ease:["linear","in","out","in-out",isArbitraryValue]}],delay:[{delay:Vf()}],animate:[{animate:["none","spin","ping","pulse","bounce",isArbitraryValue]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[jd]}],"scale-x":[{"scale-x":[jd]}],"scale-y":[{"scale-y":[jd]}],rotate:[{rotate:[isInteger,isArbitraryValue]}],"translate-x":[{"translate-x":[Zd]}],"translate-y":[{"translate-y":[Zd]}],"skew-x":[{"skew-x":[Hd]}],"skew-y":[{"skew-y":[Hd]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",isArbitraryValue]}],accent:[{accent:["auto",Ra]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",isArbitraryValue]}],"caret-color":[{caret:[Ra]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":hf()}],"scroll-mx":[{"scroll-mx":hf()}],"scroll-my":[{"scroll-my":hf()}],"scroll-ms":[{"scroll-ms":hf()}],"scroll-me":[{"scroll-me":hf()}],"scroll-mt":[{"scroll-mt":hf()}],"scroll-mr":[{"scroll-mr":hf()}],"scroll-mb":[{"scroll-mb":hf()}],"scroll-ml":[{"scroll-ml":hf()}],"scroll-p":[{"scroll-p":hf()}],"scroll-px":[{"scroll-px":hf()}],"scroll-py":[{"scroll-py":hf()}],"scroll-ps":[{"scroll-ps":hf()}],"scroll-pe":[{"scroll-pe":hf()}],"scroll-pt":[{"scroll-pt":hf()}],"scroll-pr":[{"scroll-pr":hf()}],"scroll-pb":[{"scroll-pb":hf()}],"scroll-pl":[{"scroll-pl":hf()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",isArbitraryValue]}],fill:[{fill:[Ra,"none"]}],"stroke-w":[{stroke:[isLength,isArbitraryLength,isArbitraryNumber]}],stroke:[{stroke:[Ra,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},twMerge=createTailwindMerge(getDefaultConfig);function cn(...Ra){return twMerge(clsx(Ra))}function isComponentPublicInstance(Ra){return Ra!=null&&typeof Ra=="object"&&"$el"in Ra}function unwrapElement(Ra){if(isComponentPublicInstance(Ra)){const qa=Ra.$el;return isNode$2(qa)&&getNodeName(qa)==="#comment"?null:qa}return Ra}function toValue(Ra){return typeof Ra=="function"?Ra():unref(Ra)}function arrow(Ra){return{name:"arrow",options:Ra,fn(qa){const td=unwrapElement(toValue(Ra.element));return td==null?{}:arrow$1({element:td,padding:Ra.padding}).fn(qa)}}}function getDPR(Ra){return typeof window>"u"?1:(Ra.ownerDocument.defaultView||window).devicePixelRatio||1}function roundByDPR(Ra,qa){const td=getDPR(Ra);return Math.round(qa*td)/td}function useFloating(Ra,qa,td){td===void 0&&(td={});const rd=td.whileElementsMounted,nd=computed(()=>{var zd;return(zd=toValue(td.open))!=null?zd:!0}),ad=computed(()=>toValue(td.middleware)),sd=computed(()=>{var zd;return(zd=toValue(td.placement))!=null?zd:"bottom"}),ud=computed(()=>{var zd;return(zd=toValue(td.strategy))!=null?zd:"absolute"}),cd=computed(()=>{var zd;return(zd=toValue(td.transform))!=null?zd:!0}),dd=computed(()=>unwrapElement(Ra.value)),pd=computed(()=>unwrapElement(qa.value)),fd=ref$1(0),Td=ref$1(0),Ad=ref$1(ud.value),Sd=ref$1(sd.value),Dd=shallowRef({}),Ld=ref$1(!1),Rd=computed(()=>{const zd={position:Ad.value,left:"0",top:"0"};if(!pd.value)return zd;const Zd=roundByDPR(pd.value,fd.value),Wd=roundByDPR(pd.value,Td.value);return cd.value?{...zd,transform:"translate("+Zd+"px, "+Wd+"px)",...getDPR(pd.value)>=1.5&&{willChange:"transform"}}:{position:Ad.value,left:Zd+"px",top:Wd+"px"}});let Od;function Md(){if(dd.value==null||pd.value==null)return;const zd=nd.value;computePosition(dd.value,pd.value,{middleware:ad.value,placement:sd.value,strategy:ud.value}).then(Zd=>{fd.value=Zd.x,Td.value=Zd.y,Ad.value=Zd.strategy,Sd.value=Zd.placement,Dd.value=Zd.middlewareData,Ld.value=zd!==!1})}function jd(){typeof Od=="function"&&(Od(),Od=void 0)}function Ud(){if(jd(),rd===void 0){Md();return}if(dd.value!=null&&pd.value!=null){Od=rd(dd.value,pd.value,Md);return}}function Hd(){nd.value||(Ld.value=!1)}return watch([ad,sd,ud,nd],Md,{flush:"sync"}),watch([dd,pd],Ud,{flush:"sync"}),watch(nd,Hd,{flush:"sync"}),getCurrentScope()&&onScopeDispose(jd),{x:shallowReadonly(fd),y:shallowReadonly(Td),strategy:shallowReadonly(Ad),placement:shallowReadonly(Sd),middlewareData:shallowReadonly(Dd),isPositioned:shallowReadonly(Ld),floatingStyles:Rd,update:Md}}function Q(Ra,qa){const td=typeof Ra=="string"&&!qa?`${Ra}Context`:qa,rd=Symbol(td);return[nd=>{const ad=inject(rd,nd);if(ad||ad===null)return ad;throw new Error(`Injection \`${rd.toString()}\` not found. Component must be used within ${Array.isArray(Ra)?`one of the following components: ${Ra.join(", ")}`:`\`${Ra}\``}`)},nd=>(provide(rd,nd),nd)]}function Kt(Ra,qa,td){const rd=td.originalEvent.target,nd=new CustomEvent(Ra,{bubbles:!1,cancelable:!0,detail:td});qa&&rd.addEventListener(Ra,qa,{once:!0}),rd.dispatchEvent(nd)}function Ht(Ra,qa=Number.NEGATIVE_INFINITY,td=Number.POSITIVE_INFINITY){return Math.min(Math.max(Ra,qa),td)}function zt(Ra){return Ra==null}function Zr(Ra,qa){var td;const rd=shallowRef();return watchEffect(()=>{rd.value=Ra()},{...qa,flush:(td=void 0)!=null?td:"sync"}),readonly(rd)}function mt(Ra){return getCurrentScope()?(onScopeDispose(Ra),!0):!1}function ia(){const Ra=new Set,qa=td=>{Ra.delete(td)};return{on:td=>{Ra.add(td);const rd=()=>qa(td);return mt(rd),{off:rd}},off:qa,trigger:(...td)=>Promise.all(Array.from(Ra).map(rd=>rd(...td)))}}function Qr(Ra){let qa=!1,td;const rd=effectScope(!0);return(...nd)=>(qa||(td=rd.run(()=>Ra(...nd)),qa=!0),td)}function xl(Ra){let qa=0,td,rd;const nd=()=>{qa-=1,rd&&qa<=0&&(rd.stop(),td=void 0,rd=void 0)};return(...ad)=>(qa+=1,td||(rd=effectScope(!0),td=rd.run(()=>Ra(...ad))),mt(nd),td)}function Ke(Ra){return typeof Ra=="function"?Ra():unref(Ra)}const qe=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ti=Ra=>typeof Ra<"u",ni=Object.prototype.toString,oi=Ra=>ni.call(Ra)==="[object Object]",Va=()=>{},zo=li();function li(){var Ra,qa;return qe&&((Ra=window==null?void 0:window.navigator)==null?void 0:Ra.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((qa=window==null?void 0:window.navigator)==null?void 0:qa.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function El(Ra,qa){function td(...rd){return new Promise((nd,ad)=>{Promise.resolve(Ra(()=>qa.apply(this,rd),{fn:qa,thisArg:this,args:rd})).then(nd).catch(ad)})}return td}const Pl=Ra=>Ra();function ri(Ra=Pl){const qa=ref$1(!0);function td(){qa.value=!1}function rd(){qa.value=!0}const nd=(...ad)=>{qa.value&&Ra(...ad)};return{isActive:readonly(qa),pause:td,resume:rd,eventFilter:nd}}function Dl(Ra){return getCurrentInstance()}function $t(Ra,qa=1e4){return customRef((td,rd)=>{let nd=Ke(Ra),ad;const sd=()=>setTimeout(()=>{nd=Ke(Ra),rd()},Ke(qa));return mt(()=>{clearTimeout(ad)}),{get(){return td(),nd},set(ud){nd=ud,rd(),clearTimeout(ad),ad=sd()}}})}function ii(Ra,qa,td={}){const{eventFilter:rd=Pl,...nd}=td;return watch(Ra,El(rd,qa),nd)}function Ko(Ra,qa,td={}){const{eventFilter:rd,...nd}=td,{eventFilter:ad,pause:sd,resume:ud,isActive:cd}=ri(rd);return{stop:ii(Ra,qa,{...nd,eventFilter:ad}),pause:sd,resume:ud,isActive:cd}}function ui(Ra,qa,...[td]){const{flush:rd="sync",deep:nd=!1,immediate:ad=!0,direction:sd="both",transform:ud={}}=td||{},cd=[],dd="ltr"in ud&&ud.ltr||(fd=>fd),pd="rtl"in ud&&ud.rtl||(fd=>fd);return(sd==="both"||sd==="ltr")&&cd.push(Ko(Ra,fd=>{cd.forEach(Td=>Td.pause()),qa.value=dd(fd),cd.forEach(Td=>Td.resume())},{flush:rd,deep:nd,immediate:ad})),(sd==="both"||sd==="rtl")&&cd.push(Ko(qa,fd=>{cd.forEach(Td=>Td.pause()),Ra.value=pd(fd),cd.forEach(Td=>Td.resume())},{flush:rd,deep:nd,immediate:ad})),()=>{cd.forEach(fd=>fd.stop())}}function di(Ra,qa){Dl()&&onBeforeUnmount(Ra,qa)}function $e(Ra){var qa;const td=Ke(Ra);return(qa=td==null?void 0:td.$el)!=null?qa:td}const Gt=qe?window:void 0;function Le(...Ra){let qa,td,rd,nd;if(typeof Ra[0]=="string"||Array.isArray(Ra[0])?([td,rd,nd]=Ra,qa=Gt):[qa,td,rd,nd]=Ra,!qa)return Va;Array.isArray(td)||(td=[td]),Array.isArray(rd)||(rd=[rd]);const ad=[],sd=()=>{ad.forEach(pd=>pd()),ad.length=0},ud=(pd,fd,Td,Ad)=>(pd.addEventListener(fd,Td,Ad),()=>pd.removeEventListener(fd,Td,Ad)),cd=watch(()=>[$e(qa),Ke(nd)],([pd,fd])=>{if(sd(),!pd)return;const Td=oi(fd)?{...fd}:fd;ad.push(...td.flatMap(Ad=>rd.map(Sd=>ud(pd,Ad,Sd,Td))))},{immediate:!0,flush:"post"}),dd=()=>{cd(),sd()};return mt(dd),dd}function vi(Ra){return typeof Ra=="function"?Ra:typeof Ra=="string"?qa=>qa.key===Ra:Array.isArray(Ra)?qa=>Ra.includes(qa.key):()=>!0}function jn(...Ra){let qa,td,rd={};Ra.length===3?(qa=Ra[0],td=Ra[1],rd=Ra[2]):Ra.length===2?typeof Ra[1]=="object"?(qa=!0,td=Ra[0],rd=Ra[1]):(qa=Ra[0],td=Ra[1]):(qa=!0,td=Ra[0]);const{target:nd=Gt,eventName:ad="keydown",passive:sd=!1,dedupe:ud=!1}=rd,cd=vi(qa);return Le(nd,ad,dd=>{dd.repeat&&Ke(ud)||cd(dd)&&td(dd)},sd)}function ja(){const Ra=ref$1(!1),qa=getCurrentInstance();return qa&&onMounted(()=>{Ra.value=!0},qa),Ra}function hi(Ra){return JSON.parse(JSON.stringify(Ra))}function ne(Ra,qa,td,rd={}){var nd,ad,sd;const{clone:ud=!1,passive:cd=!1,eventName:dd,deep:pd=!1,defaultValue:fd,shouldEmit:Td}=rd,Ad=getCurrentInstance(),Sd=td||(Ad==null?void 0:Ad.emit)||((nd=Ad==null?void 0:Ad.$emit)==null?void 0:nd.bind(Ad))||((sd=(ad=Ad==null?void 0:Ad.proxy)==null?void 0:ad.$emit)==null?void 0:sd.bind(Ad==null?void 0:Ad.proxy));let Dd=dd;qa||(qa="modelValue"),Dd=Dd||`update:${qa.toString()}`;const Ld=Md=>ud?typeof ud=="function"?ud(Md):hi(Md):Md,Rd=()=>ti(Ra[qa])?Ld(Ra[qa]):fd,Od=Md=>{Td?Td(Md)&&Sd(Dd,Md):Sd(Dd,Md)};if(cd){const Md=Rd(),jd=ref$1(Md);let Ud=!1;return watch(()=>Ra[qa],Hd=>{Ud||(Ud=!0,jd.value=Ld(Hd),nextTick$1(()=>Ud=!1))}),watch(jd,Hd=>{!Ud&&(Hd!==Ra[qa]||pd)&&Od(Hd)},{deep:pd}),jd}else return computed({get(){return Rd()},set(Md){Od(Md)}})}function Ua(Ra){return Ra?Ra.flatMap(qa=>qa.type===Fragment?Ua(qa.children):[qa]):[]}const bi=["INPUT","TEXTAREA"];function Bt(Ra,qa,td,rd={}){if(!qa||rd.enableIgnoredElement&&bi.includes(qa.nodeName))return null;const{arrowKeyOptions:nd="both",attributeName:ad="[data-radix-vue-collection-item]",itemsArray:sd=[],loop:ud=!0,dir:cd="ltr",preventScroll:dd=!0,focus:pd=!1}=rd,[fd,Td,Ad,Sd,Dd,Ld]=[Ra.key==="ArrowRight",Ra.key==="ArrowLeft",Ra.key==="ArrowUp",Ra.key==="ArrowDown",Ra.key==="Home",Ra.key==="End"],Rd=Ad||Sd,Od=fd||Td;if(!Dd&&!Ld&&(!Rd&&!Od||nd==="vertical"&&Od||nd==="horizontal"&&Rd))return null;const Md=td?Array.from(td.querySelectorAll(ad)):sd;if(!Md.length)return null;dd&&Ra.preventDefault();let jd=null;return Od||Rd?jd=Rl(Md,qa,{goForward:Rd?Sd:cd==="ltr"?fd:Td,loop:ud}):Dd?jd=Md.at(0)||null:Ld&&(jd=Md.at(-1)||null),pd&&(jd==null||jd.focus()),jd}function Rl(Ra,qa,td,rd=Ra.length){if(--rd===0)return null;const nd=Ra.indexOf(qa),ad=td.goForward?nd+1:nd-1;if(!td.loop&&(ad<0||ad>=Ra.length))return null;const sd=(ad+Ra.length)%Ra.length,ud=Ra[sd];return ud?ud.hasAttribute("disabled")&&ud.getAttribute("disabled")!=="false"?Rl(Ra,ud,td,rd):ud:null}function gn(Ra){if(Ra===null||typeof Ra!="object")return!1;const qa=Object.getPrototypeOf(Ra);return qa!==null&&qa!==Object.prototype&&Object.getPrototypeOf(qa)!==null||Symbol.iterator in Ra?!1:Symbol.toStringTag in Ra?Object.prototype.toString.call(Ra)==="[object Module]":!0}function Pn(Ra,qa,td=".",rd){if(!gn(qa))return Pn(Ra,{},td);const nd=Object.assign({},qa);for(const ad in Ra){if(ad==="__proto__"||ad==="constructor")continue;const sd=Ra[ad];sd!=null&&(Array.isArray(sd)&&Array.isArray(nd[ad])?nd[ad]=[...sd,...nd[ad]]:gn(sd)&&gn(nd[ad])?nd[ad]=Pn(sd,nd[ad],(td?`${td}.`:"")+ad.toString()):nd[ad]=sd)}return nd}function Ci(Ra){return(...qa)=>qa.reduce((td,rd)=>Pn(td,rd,""),{})}const wi=Ci(),[Ga,_i]=Q("ConfigProvider");let xi="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Si=(Ra=21)=>{let qa="",td=Ra;for(;td--;)qa+=xi[Math.random()*64|0];return qa};const Ei=xl(()=>{const Ra=ref$1(new Map),qa=ref$1(),td=computed(()=>{for(const sd of Ra.value.values())if(sd)return!0;return!1}),rd=Ga({scrollBody:ref$1(!0)});let nd=null;const ad=()=>{document.body.style.paddingRight="",document.body.style.marginRight="",document.body.style.pointerEvents="",document.body.style.removeProperty("--scrollbar-width"),document.body.style.overflow=qa.value??"",zo&&(nd==null||nd()),qa.value=void 0};return watch(td,(sd,ud)=>{var cd;if(!qe)return;if(!sd){ud&&ad();return}qa.value===void 0&&(qa.value=document.body.style.overflow);const dd=window.innerWidth-document.documentElement.clientWidth,pd={padding:dd,margin:0},fd=(cd=rd.scrollBody)!=null&&cd.value?typeof rd.scrollBody.value=="object"?wi({padding:rd.scrollBody.value.padding===!0?dd:rd.scrollBody.value.padding,margin:rd.scrollBody.value.margin===!0?dd:rd.scrollBody.value.margin},pd):pd:{padding:0,margin:0};dd>0&&(document.body.style.paddingRight=`${fd.padding}px`,document.body.style.marginRight=`${fd.margin}px`,document.body.style.setProperty("--scrollbar-width",`${dd}px`),document.body.style.overflow="hidden"),zo&&(nd=Le(document,"touchmove",Td=>{var Ad;Td.target===document.documentElement&&(Td.touches.length>1||(Ad=Td.preventDefault)==null||Ad.call(Td))},{passive:!1})),nextTick$1(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})},{immediate:!0,flush:"sync"}),Ra});function ha(Ra){const qa=Si(6),td=Ei();td.value.set(qa,Ra??!1);const rd=computed({get:()=>td.value.get(qa)??!1,set:nd=>td.value.set(qa,nd)});return di(()=>{td.value.delete(qa)}),rd}const Pi="data-radix-vue-collection-item";function Me(Ra,qa=Pi){const td=Ra??Symbol();return{createCollection:rd=>{const nd=ref$1([]);function ad(){const sd=$e(rd);return sd?nd.value=Array.from(sd.querySelectorAll(`[${qa}]:not([data-disabled])`)):nd.value=[]}return onBeforeUpdate(()=>{nd.value=[]}),onMounted(ad),onUpdated(ad),watch(()=>rd==null?void 0:rd.value,ad,{immediate:!0}),provide(td,nd),nd},injectCollection:()=>inject(td,ref$1([]))}}function be(Ra){const qa=Ga({dir:ref$1("ltr")});return computed(()=>{var td;return(Ra==null?void 0:Ra.value)||((td=qa.dir)==null?void 0:td.value)||"ltr"})}function Re(Ra){const qa=getCurrentInstance(),td=qa==null?void 0:qa.type.emits,rd={};return td!=null&&td.length||console.warn(`No emitted event found. Please check component: ${qa==null?void 0:qa.type.__name}`),td==null||td.forEach(nd=>{rd[toHandlerKey(camelize(nd))]=(...ad)=>Ra(nd,...ad)}),rd}let bn=0;function Gn(){watchEffect(Ra=>{if(!qe)return;const qa=document.querySelectorAll("[data-radix-focus-guard]");document.body.insertAdjacentElement("afterbegin",qa[0]??Ho()),document.body.insertAdjacentElement("beforeend",qa[1]??Ho()),bn++,Ra(()=>{bn===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(td=>td.remove()),bn--})})}function Ho(){const Ra=document.createElement("span");return Ra.setAttribute("data-radix-focus-guard",""),Ra.tabIndex=0,Ra.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",Ra}function Je(Ra){return computed(()=>{var qa;return Ke(Ra)?!!((qa=$e(Ra))!=null&&qa.closest("form")):!0})}function It(Ra){const qa=getCurrentInstance(),td=Object.keys((qa==null?void 0:qa.type.props)??{}).reduce((nd,ad)=>{const sd=(qa==null?void 0:qa.type.props[ad]).default;return sd!==void 0&&(nd[ad]=sd),nd},{}),rd=toRef$1(Ra);return computed(()=>{const nd={},ad=(qa==null?void 0:qa.vnode.props)??{};return Object.keys(ad).forEach(sd=>{nd[camelize(sd)]=ad[sd]}),Object.keys({...td,...nd}).reduce((sd,ud)=>(rd.value[ud]!==void 0&&(sd[ud]=rd.value[ud]),sd),{})})}function xe(Ra,qa){const td=It(Ra),rd=qa?Re(qa):{};return computed(()=>({...td.value,...rd}))}function R$1(){const Ra=getCurrentInstance(),qa=ref$1(),td=computed(()=>{var sd,ud;return["#text","#comment"].includes((sd=qa.value)==null?void 0:sd.$el.nodeName)?(ud=qa.value)==null?void 0:ud.$el.nextElementSibling:$e(qa)}),rd=Object.assign({},Ra.exposed),nd={};for(const sd in Ra.props)Object.defineProperty(nd,sd,{enumerable:!0,configurable:!0,get:()=>Ra.props[sd]});if(Object.keys(rd).length>0)for(const sd in rd)Object.defineProperty(nd,sd,{enumerable:!0,configurable:!0,get:()=>rd[sd]});Object.defineProperty(nd,"$el",{enumerable:!0,configurable:!0,get:()=>Ra.vnode.el}),Ra.exposed=nd;function ad(sd){qa.value=sd,!(sd instanceof Element||!sd)&&(Object.defineProperty(nd,"$el",{enumerable:!0,configurable:!0,get:()=>sd.$el}),Ra.exposed=nd)}return{forwardRef:ad,currentRef:qa,currentElement:td}}function Al(Ra,qa){const td=$t(!1,300),rd=ref$1(null),nd=ia();function ad(){rd.value=null,td.value=!1}function sd(ud,cd){const dd=ud.currentTarget,pd={x:ud.clientX,y:ud.clientY},fd=Di(pd,dd.getBoundingClientRect()),Td=$i(pd,fd),Ad=Bi(cd.getBoundingClientRect()),Sd=Ti([...Td,...Ad]);rd.value=Sd,td.value=!0}return watchEffect(ud=>{if(Ra.value&&qa.value){const cd=pd=>sd(pd,qa.value),dd=pd=>sd(pd,Ra.value);Ra.value.addEventListener("pointerleave",cd),qa.value.addEventListener("pointerleave",dd),ud(()=>{var pd,fd;(pd=Ra.value)==null||pd.removeEventListener("pointerleave",cd),(fd=qa.value)==null||fd.removeEventListener("pointerleave",dd)})}}),watchEffect(ud=>{if(rd.value){const cd=dd=>{var pd,fd;if(!rd.value)return;const Td=dd.target,Ad={x:dd.clientX,y:dd.clientY},Sd=((pd=Ra.value)==null?void 0:pd.contains(Td))||((fd=qa.value)==null?void 0:fd.contains(Td)),Dd=!Ii(Ad,rd.value),Ld=Td.hasAttribute("data-grace-area-trigger");Sd?ad():(Dd||Ld)&&(ad(),nd.trigger())};document.addEventListener("pointermove",cd),ud(()=>document.removeEventListener("pointermove",cd))}}),{isPointerInTransit:td,onPointerExit:nd.on}}function Di(Ra,qa){const td=Math.abs(qa.top-Ra.y),rd=Math.abs(qa.bottom-Ra.y),nd=Math.abs(qa.right-Ra.x),ad=Math.abs(qa.left-Ra.x);switch(Math.min(td,rd,nd,ad)){case ad:return"left";case nd:return"right";case td:return"top";case rd:return"bottom";default:throw new Error("unreachable")}}function $i(Ra,qa,td=5){const rd=[];switch(qa){case"top":rd.push({x:Ra.x-td,y:Ra.y+td},{x:Ra.x+td,y:Ra.y+td});break;case"bottom":rd.push({x:Ra.x-td,y:Ra.y-td},{x:Ra.x+td,y:Ra.y-td});break;case"left":rd.push({x:Ra.x+td,y:Ra.y-td},{x:Ra.x+td,y:Ra.y+td});break;case"right":rd.push({x:Ra.x-td,y:Ra.y-td},{x:Ra.x-td,y:Ra.y+td});break}return rd}function Bi(Ra){const{top:qa,right:td,bottom:rd,left:nd}=Ra;return[{x:nd,y:qa},{x:td,y:qa},{x:td,y:rd},{x:nd,y:rd}]}function Ii(Ra,qa){const{x:td,y:rd}=Ra;let nd=!1;for(let ad=0,sd=qa.length-1;adrd!=pd>rd&&td<(dd-ud)*(rd-cd)/(pd-cd)+ud&&(nd=!nd)}return nd}function Ti(Ra){const qa=Ra.slice();return qa.sort((td,rd)=>td.xrd.x?1:td.yrd.y?1:0),Ri(qa)}function Ri(Ra){if(Ra.length<=1)return Ra.slice();const qa=[];for(let rd=0;rd=2;){const ad=qa[qa.length-1],sd=qa[qa.length-2];if((ad.x-sd.x)*(nd.y-sd.y)>=(ad.y-sd.y)*(nd.x-sd.x))qa.pop();else break}qa.push(nd)}qa.pop();const td=[];for(let rd=Ra.length-1;rd>=0;rd--){const nd=Ra[rd];for(;td.length>=2;){const ad=td[td.length-1],sd=td[td.length-2];if((ad.x-sd.x)*(nd.y-sd.y)>=(ad.y-sd.y)*(nd.x-sd.x))td.pop();else break}td.push(nd)}return td.pop(),qa.length===1&&td.length===1&&qa[0].x===td[0].x&&qa[0].y===td[0].y?qa:qa.concat(td)}var Ai=function(Ra){if(typeof document>"u")return null;var qa=Array.isArray(Ra)?Ra[0]:Ra;return qa.ownerDocument.body},Ft=new WeakMap,Pa=new WeakMap,Da={},Cn=0,Ol=function(Ra){return Ra&&(Ra.host||Ol(Ra.parentNode))},Oi=function(Ra,qa){return qa.map(function(td){if(Ra.contains(td))return td;var rd=Ol(td);return rd&&Ra.contains(rd)?rd:(console.error("aria-hidden",td,"in not contained inside",Ra,". Doing nothing"),null)}).filter(function(td){return!!td})},ki=function(Ra,qa,td,rd){var nd=Oi(qa,Array.isArray(Ra)?Ra:[Ra]);Da[td]||(Da[td]=new WeakMap);var ad=Da[td],sd=[],ud=new Set,cd=new Set(nd),dd=function(fd){!fd||ud.has(fd)||(ud.add(fd),dd(fd.parentNode))};nd.forEach(dd);var pd=function(fd){!fd||cd.has(fd)||Array.prototype.forEach.call(fd.children,function(Td){if(ud.has(Td))pd(Td);else try{var Ad=Td.getAttribute(rd),Sd=Ad!==null&&Ad!=="false",Dd=(Ft.get(Td)||0)+1,Ld=(ad.get(Td)||0)+1;Ft.set(Td,Dd),ad.set(Td,Ld),sd.push(Td),Dd===1&&Sd&&Pa.set(Td,!0),Ld===1&&Td.setAttribute(td,"true"),Sd||Td.setAttribute(rd,"true")}catch(Rd){console.error("aria-hidden: cannot operate on ",Td,Rd)}})};return pd(qa),ud.clear(),Cn++,function(){sd.forEach(function(fd){var Td=Ft.get(fd)-1,Ad=ad.get(fd)-1;Ft.set(fd,Td),ad.set(fd,Ad),Td||(Pa.has(fd)||fd.removeAttribute(rd),Pa.delete(fd)),Ad||fd.removeAttribute(td)}),Cn--,Cn||(Ft=new WeakMap,Ft=new WeakMap,Pa=new WeakMap,Da={})}},Mi=function(Ra,qa,td){td===void 0&&(td="data-aria-hidden");var rd=Array.from(Array.isArray(Ra)?Ra:[Ra]),nd=Ai(Ra);return nd?(rd.push.apply(rd,Array.from(nd.querySelectorAll("[aria-live]"))),ki(rd,nd,td,"aria-hidden")):function(){return null}};function ya(Ra){let qa;watch(()=>$e(Ra),td=>{td?qa=Mi(td):qa&&qa()}),onUnmounted(()=>{qa&&qa()})}let Vi=0;function he(Ra,qa="radix"){if(Ra)return Ra;const td=Ga({useId:void 0});return useId$1?`${qa}-${useId$1()}`:td.useId?`${qa}-${td.useId()}`:`${qa}-${++Vi}`}function kl(Ra){const qa=ref$1(),td=computed(()=>{var nd;return((nd=qa.value)==null?void 0:nd.width)??0}),rd=computed(()=>{var nd;return((nd=qa.value)==null?void 0:nd.height)??0});return onMounted(()=>{const nd=$e(Ra);if(nd){qa.value={width:nd.offsetWidth,height:nd.offsetHeight};const ad=new ResizeObserver(sd=>{if(!Array.isArray(sd)||!sd.length)return;const ud=sd[0];let cd,dd;if("borderBoxSize"in ud){const pd=ud.borderBoxSize,fd=Array.isArray(pd)?pd[0]:pd;cd=fd.inlineSize,dd=fd.blockSize}else cd=nd.offsetWidth,dd=nd.offsetHeight;qa.value={width:cd,height:dd}});return ad.observe(nd,{box:"border-box"}),()=>ad.unobserve(nd)}else qa.value=void 0}),{width:td,height:rd}}function Ml(Ra,qa){const td=ref$1(Ra);function rd(nd){return qa[td.value][nd]??td.value}return{state:td,dispatch:nd=>{td.value=rd(nd)}}}function ga(Ra){const qa=$t("",1e3);return{search:qa,handleTypeaheadSearch:(td,rd)=>{var nd,ad;if(!(Ra!=null&&Ra.value)&&!rd)return;qa.value=qa.value+td;const sd=(Ra==null?void 0:Ra.value)??rd,ud=document.activeElement,cd=((ad=(nd=sd.find(Td=>Td===ud))==null?void 0:nd.textContent)==null?void 0:ad.trim())??"",dd=sd.map(Td=>{var Ad;return((Ad=Td.textContent)==null?void 0:Ad.trim())??""}),pd=Yn(dd,qa.value,cd),fd=sd.find(Td=>{var Ad;return((Ad=Td.textContent)==null?void 0:Ad.trim())===pd});return fd&&fd.focus(),fd},resetTypeahead:()=>{qa.value=""}}}function qn(Ra,qa){return Ra.map((td,rd)=>Ra[(qa+rd)%Ra.length])}function Yn(Ra,qa,td){const rd=qa.length>1&&Array.from(qa).every(ud=>ud===qa[0])?qa[0]:qa,nd=td?Ra.indexOf(td):-1;let ad=qn(Ra,Math.max(nd,0));rd.length===1&&(ad=ad.filter(ud=>ud!==td));const sd=ad.find(ud=>ud.toLowerCase().startsWith(rd.toLowerCase()));return sd!==td?sd:void 0}const Xn=defineComponent({name:"PrimitiveSlot",inheritAttrs:!1,setup(Ra,{attrs:qa,slots:td}){return()=>{var rd,nd;if(!td.default)return null;const ad=Ua(td.default()),sd=ad.findIndex(pd=>pd.type!==Comment$2);if(sd===-1)return ad;const ud=ad[sd];(rd=ud.props)==null||delete rd.ref;const cd=ud.props?mergeProps(qa,ud.props):qa;qa.class&&(nd=ud.props)!=null&&nd.class&&delete ud.props.class;const dd=cloneVNode(ud,cd);for(const pd in cd)pd.startsWith("on")&&(dd.props||(dd.props={}),dd.props[pd]=cd[pd]);return ad.length===1?dd:(ad[sd]=dd,ad)}}}),O=defineComponent({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(Ra,{attrs:qa,slots:td}){const rd=Ra.asChild?"template":Ra.as;return typeof rd=="string"&&["area","img","input"].includes(rd)?()=>h$1(rd,qa):rd!=="template"?()=>h$1(Ra.as,qa,{default:td.default}):()=>h$1(Xn,qa,{default:td.default})}});function ke(){const Ra=ref$1(),qa=computed(()=>{var td,rd;return["#text","#comment"].includes((td=Ra.value)==null?void 0:td.$el.nodeName)?(rd=Ra.value)==null?void 0:rd.$el.nextElementSibling:$e(Ra)});return{primitiveElement:Ra,currentElement:qa}}function Ki(Ra,qa){const td=ref$1({}),rd=ref$1("none"),nd=Ra.value?"mounted":"unmounted",{state:ad,dispatch:sd}=Ml(nd,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),ud=Td=>{var Ad;if(qe){const Sd=new CustomEvent(Td,{bubbles:!1,cancelable:!1});(Ad=qa.value)==null||Ad.dispatchEvent(Sd)}};watch(Ra,async(Td,Ad)=>{var Sd;const Dd=Ad!==Td;if(await nextTick$1(),Dd){const Ld=rd.value,Rd=$a(qa.value);Td?(sd("MOUNT"),ud("enter"),Rd==="none"&&ud("after-enter")):Rd==="none"||((Sd=td.value)==null?void 0:Sd.display)==="none"?(sd("UNMOUNT"),ud("leave"),ud("after-leave")):Ad&&Ld!==Rd?(sd("ANIMATION_OUT"),ud("leave")):(sd("UNMOUNT"),ud("after-leave"))}},{immediate:!0});const cd=Td=>{const Ad=$a(qa.value),Sd=Ad.includes(Td.animationName),Dd=ad.value==="mounted"?"enter":"leave";Td.target===qa.value&&Sd&&(ud(`after-${Dd}`),sd("ANIMATION_END")),Td.target===qa.value&&Ad==="none"&&sd("ANIMATION_END")},dd=Td=>{Td.target===qa.value&&(rd.value=$a(qa.value))},pd=watch(qa,(Td,Ad)=>{Td?(td.value=getComputedStyle(Td),Td.addEventListener("animationstart",dd),Td.addEventListener("animationcancel",cd),Td.addEventListener("animationend",cd)):(sd("ANIMATION_END"),Ad==null||Ad.removeEventListener("animationstart",dd),Ad==null||Ad.removeEventListener("animationcancel",cd),Ad==null||Ad.removeEventListener("animationend",cd))},{immediate:!0}),fd=watch(ad,()=>{const Td=$a(qa.value);rd.value=ad.value==="mounted"?Td:"none"});return onUnmounted(()=>{pd(),fd()}),{isPresent:computed(()=>["mounted","unmountSuspended"].includes(ad.value))}}function $a(Ra){return Ra&&getComputedStyle(Ra).animationName||"none"}const Pe=defineComponent({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(Ra,{slots:qa,expose:td}){var rd;const{present:nd,forceMount:ad}=toRefs(Ra),sd=ref$1(),{isPresent:ud}=Ki(nd,sd);td({present:ud});let cd=qa.default({present:ud});cd=Ua(cd||[]);const dd=getCurrentInstance();if(cd&&(cd==null?void 0:cd.length)>1){const pd=(rd=dd==null?void 0:dd.parent)!=null&&rd.type.name?`<${dd.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${pd}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(fd=>` - ${fd}`).join(` `)].join(` -`))}return()=>sd.value||rd.value||ld.value?h$1(qa.default({present:ld})[0],{ref:dd=>{const _d=$e(dd);return typeof(_d==null?void 0:_d.hasAttribute)>"u"||(_d!=null&&_d.hasAttribute("data-radix-popper-content-wrapper")?od.value=_d.firstElementChild:od.value=_d),_d}}):null}}),[et,Ui]=Q("DialogRoot"),Gi=defineComponent({__name:"DialogRoot",props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:!1},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(Ra,{emit:qa}){const ed=Ra,td=ne(ed,"open",qa,{defaultValue:ed.defaultOpen,passive:ed.open===void 0}),rd=ref$1(),sd=ref$1(),{modal:od}=toRefs(ed);return Ui({open:td,modal:od,openModal:()=>{td.value=!0},onOpenChange:ld=>{td.value=ld},onOpenToggle:()=>{td.value=!td.value},contentId:"",titleId:"",descriptionId:"",triggerElement:rd,contentElement:sd}),(ld,ud)=>renderSlot(ld.$slots,"default",{open:unref(td)})}}),ht=defineComponent({__name:"Teleport",props:{to:{default:"body"},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=ja();return(ed,td)=>unref(qa)||ed.forceMount?(openBlock(),createBlock(Teleport$1,{key:0,to:ed.to,disabled:ed.disabled},[renderSlot(ed.$slots,"default")],8,["to","disabled"])):createCommentVNode("",!0)}}),wv=defineComponent({__name:"DialogPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(ed,td)=>(openBlock(),createBlock(unref(ht),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(ed.$slots,"default")]),_:3},16))}}),Yi="dismissableLayer.pointerDownOutside",Xi="dismissableLayer.focusOutside";function Fl(Ra,qa){const ed=qa.closest("[data-dismissable-layer]"),td=Ra.dataset.dismissableLayer===""?Ra:Ra.querySelector("[data-dismissable-layer]"),rd=Array.from(Ra.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(ed&&td===ed||rd.indexOf(td){});return watchEffect(od=>{if(!qe)return;const ld=async cd=>{const dd=cd.target;if(qa!=null&&qa.value){if(Fl(qa.value,dd)){rd.value=!1;return}if(cd.target&&!rd.value){let _d=function(){Kt(Yi,Ra,Ed)};const Ed={originalEvent:cd};cd.pointerType==="touch"?(td.removeEventListener("click",sd.value),sd.value=_d,td.addEventListener("click",sd.value,{once:!0})):_d()}else td.removeEventListener("click",sd.value);rd.value=!1}},ud=window.setTimeout(()=>{td.addEventListener("pointerdown",ld)},0);od(()=>{window.clearTimeout(ud),td.removeEventListener("pointerdown",ld),td.removeEventListener("click",sd.value)})}),{onPointerDownCapture:()=>rd.value=!0}}function Ll(Ra,qa){var ed;const td=((ed=qa==null?void 0:qa.value)==null?void 0:ed.ownerDocument)??(globalThis==null?void 0:globalThis.document),rd=ref$1(!1);return watchEffect(sd=>{if(!qe)return;const od=async ld=>{qa!=null&&qa.value&&(await nextTick$1(),!(!qa.value||Fl(qa.value,ld.target))&&ld.target&&!rd.value&&Kt(Xi,Ra,{originalEvent:ld}))};td.addEventListener("focusin",od),sd(()=>td.removeEventListener("focusin",od))}),{onFocusCapture:()=>rd.value=!0,onBlurCapture:()=>rd.value=!1}}const je=reactive({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),yt=defineComponent({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(Ra,{emit:qa}){const ed=Ra,td=qa,{forwardRef:rd,currentElement:sd}=T(),od=computed(()=>{var Td;return((Td=sd.value)==null?void 0:Td.ownerDocument)??globalThis.document}),ld=computed(()=>je.layersRoot),ud=computed(()=>sd.value?Array.from(ld.value).indexOf(sd.value):-1),cd=computed(()=>je.layersWithOutsidePointerEventsDisabled.size>0),dd=computed(()=>{const Td=Array.from(ld.value),[Id]=[...je.layersWithOutsidePointerEventsDisabled].slice(-1),Bd=Td.indexOf(Id);return ud.value>=Bd}),_d=Nl(async Td=>{const Id=[...je.branches].some(Bd=>Bd.contains(Td.target));!dd.value||Id||(td("pointerDownOutside",Td),td("interactOutside",Td),await nextTick$1(),Td.defaultPrevented||td("dismiss"))},sd),Ed=Ll(Td=>{[...je.branches].some(Id=>Id.contains(Td.target))||(td("focusOutside",Td),td("interactOutside",Td),Td.defaultPrevented||td("dismiss"))},sd);jn("Escape",Td=>{ud.value===ld.value.size-1&&(td("escapeKeyDown",Td),Td.defaultPrevented||td("dismiss"))});let Ad;return watchEffect(Td=>{sd.value&&(ed.disableOutsidePointerEvents&&(je.layersWithOutsidePointerEventsDisabled.size===0&&(Ad=od.value.body.style.pointerEvents,od.value.body.style.pointerEvents="none"),je.layersWithOutsidePointerEventsDisabled.add(sd.value)),ld.value.add(sd.value),Td(()=>{ed.disableOutsidePointerEvents&&je.layersWithOutsidePointerEventsDisabled.size===1&&(od.value.body.style.pointerEvents=Ad)}))}),watchEffect(Td=>{Td(()=>{sd.value&&(ld.value.delete(sd.value),je.layersWithOutsidePointerEventsDisabled.delete(sd.value))})}),(Td,Id)=>(openBlock(),createBlock(unref(O),{ref:unref(rd),"as-child":Td.asChild,as:Td.as,"data-dismissable-layer":"",style:normalizeStyle({pointerEvents:cd.value?dd.value?"auto":"none":void 0}),onFocusCapture:unref(Ed).onFocusCapture,onBlurCapture:unref(Ed).onBlurCapture,onPointerdownCapture:unref(_d).onPointerDownCapture},{default:withCtx(()=>[renderSlot(Td.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),wn="focusScope.autoFocusOnMount",_n="focusScope.autoFocusOnUnmount",Ho={bubbles:!1,cancelable:!0};function Oa(Ra,{select:qa=!1}={}){const ed=document.activeElement;for(const td of Ra)if(dt(td,{select:qa}),document.activeElement!==ed)return!0}function Ji(Ra){const qa=Jn(Ra),ed=Wo(qa,Ra),td=Wo(qa.reverse(),Ra);return[ed,td]}function Jn(Ra){const qa=[],ed=document.createTreeWalker(Ra,NodeFilter.SHOW_ELEMENT,{acceptNode:td=>{const rd=td.tagName==="INPUT"&&td.type==="hidden";return td.disabled||td.hidden||rd?NodeFilter.FILTER_SKIP:td.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;ed.nextNode();)qa.push(ed.currentNode);return qa}function Wo(Ra,qa){for(const ed of Ra)if(!Qi(ed,{upTo:qa}))return ed}function Qi(Ra,{upTo:qa}){if(getComputedStyle(Ra).visibility==="hidden")return!0;for(;Ra;){if(qa!==void 0&&Ra===qa)return!1;if(getComputedStyle(Ra).display==="none")return!0;Ra=Ra.parentElement}return!1}function eu(Ra){return Ra instanceof HTMLInputElement&&"select"in Ra}function dt(Ra,{select:qa=!1}={}){if(Ra&&Ra.focus){const ed=document.activeElement;Ra.focus({preventScroll:!0}),Ra!==ed&&eu(Ra)&&qa&&Ra.select()}}const tu=Zr(()=>ref$1([]));function au(){const Ra=tu();return{add(qa){const ed=Ra.value[0];qa!==ed&&(ed==null||ed.pause()),Ra.value=jo(Ra.value,qa),Ra.value.unshift(qa)},remove(qa){var ed;Ra.value=jo(Ra.value,qa),(ed=Ra.value[0])==null||ed.resume()}}}function jo(Ra,qa){const ed=[...Ra],td=ed.indexOf(qa);return td!==-1&&ed.splice(td,1),ed}function nu(Ra){return Ra.filter(qa=>qa.tagName!=="A")}const Ya=defineComponent({__name:"FocusScope",props:{loop:{type:Boolean,default:!1},trapped:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["mountAutoFocus","unmountAutoFocus"],setup(Ra,{emit:qa}){const ed=Ra,td=qa,{currentRef:rd,currentElement:sd}=T(),od=ref$1(null),ld=au(),ud=reactive({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});watchEffect(dd=>{if(!qe)return;const _d=sd.value;if(!ed.trapped)return;function Ed(Bd){if(ud.paused||!_d)return;const Rd=Bd.target;_d.contains(Rd)?od.value=Rd:dt(od.value,{select:!0})}function Ad(Bd){if(ud.paused||!_d)return;const Rd=Bd.relatedTarget;Rd!==null&&(_d.contains(Rd)||dt(od.value,{select:!0}))}function Td(Bd){_d.contains(od.value)||dt(_d)}document.addEventListener("focusin",Ed),document.addEventListener("focusout",Ad);const Id=new MutationObserver(Td);_d&&Id.observe(_d,{childList:!0,subtree:!0}),dd(()=>{document.removeEventListener("focusin",Ed),document.removeEventListener("focusout",Ad),Id.disconnect()})}),watchEffect(async dd=>{const _d=sd.value;if(await nextTick$1(),!_d)return;ld.add(ud);const Ed=document.activeElement;if(!_d.contains(Ed)){const Ad=new CustomEvent(wn,Ho);_d.addEventListener(wn,Td=>td("mountAutoFocus",Td)),_d.dispatchEvent(Ad),Ad.defaultPrevented||(Oa(nu(Jn(_d)),{select:!0}),document.activeElement===Ed&&dt(_d))}dd(()=>{_d.removeEventListener(wn,Id=>td("mountAutoFocus",Id));const Ad=new CustomEvent(_n,Ho),Td=Id=>{td("unmountAutoFocus",Id)};_d.addEventListener(_n,Td),_d.dispatchEvent(Ad),setTimeout(()=>{Ad.defaultPrevented||dt(Ed??document.body,{select:!0}),_d.removeEventListener(_n,Td),ld.remove(ud)},0)})});function cd(dd){if(!ed.loop&&!ed.trapped||ud.paused)return;const _d=dd.key==="Tab"&&!dd.altKey&&!dd.ctrlKey&&!dd.metaKey,Ed=document.activeElement;if(_d&&Ed){const Ad=dd.currentTarget,[Td,Id]=Ji(Ad);Td&&Id?!dd.shiftKey&&Ed===Id?(dd.preventDefault(),ed.loop&&dt(Td,{select:!0})):dd.shiftKey&&Ed===Td&&(dd.preventDefault(),ed.loop&&dt(Id,{select:!0})):Ed===Ad&&dd.preventDefault()}}return(dd,_d)=>(openBlock(),createBlock(unref(O),{ref_key:"currentRef",ref:rd,tabindex:"-1","as-child":dd.asChild,as:dd.as,onKeydown:cd},{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},8,["as-child","as"]))}}),ou="menu.itemSelect",Dn=["Enter"," "],lu=["ArrowDown","PageUp","Home"],zl=["ArrowUp","PageDown","End"],su=[...lu,...zl],ru={ltr:[...Dn,"ArrowRight"],rtl:[...Dn,"ArrowLeft"]},iu={ltr:["ArrowLeft"],rtl:["ArrowRight"]};function Qn(Ra){return Ra?"open":"closed"}function $n(Ra){const qa=document.activeElement;for(const ed of Ra)if(ed===qa||(ed.focus(),document.activeElement!==qa))return}function uu(Ra,qa){const{x:ed,y:td}=Ra;let rd=!1;for(let sd=0,od=qa.length-1;sdtd!=dd>td&&ed<(cd-ld)*(td-ud)/(dd-ud)+ld&&(rd=!rd)}return rd}function du(Ra,qa){if(!qa)return!1;const ed={x:Ra.clientX,y:Ra.clientY};return uu(ed,qa)}function ua(Ra){return Ra.pointerType==="mouse"}const Kl=defineComponent({__name:"DialogContentImpl",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const ed=Ra,td=qa,rd=et(),{forwardRef:sd,currentElement:od}=T();return rd.titleId||(rd.titleId=he(void 0,"radix-vue-dialog-title")),rd.descriptionId||(rd.descriptionId=he(void 0,"radix-vue-dialog-description")),onMounted(()=>{rd.contentElement=od,document.activeElement!==document.body&&(rd.triggerElement.value=document.activeElement)}),(ld,ud)=>(openBlock(),createBlock(unref(Ya),{"as-child":"",loop:"",trapped:ed.trapFocus,onMountAutoFocus:ud[5]||(ud[5]=cd=>td("openAutoFocus",cd)),onUnmountAutoFocus:ud[6]||(ud[6]=cd=>td("closeAutoFocus",cd))},{default:withCtx(()=>[createVNode(unref(yt),mergeProps({id:unref(rd).contentId,ref:unref(sd),as:ld.as,"as-child":ld.asChild,"disable-outside-pointer-events":ld.disableOutsidePointerEvents,role:"dialog","aria-describedby":unref(rd).descriptionId,"aria-labelledby":unref(rd).titleId,"data-state":unref(Qn)(unref(rd).open.value)},ld.$attrs,{onDismiss:ud[0]||(ud[0]=cd=>unref(rd).onOpenChange(!1)),onEscapeKeyDown:ud[1]||(ud[1]=cd=>td("escapeKeyDown",cd)),onFocusOutside:ud[2]||(ud[2]=cd=>td("focusOutside",cd)),onInteractOutside:ud[3]||(ud[3]=cd=>td("interactOutside",cd)),onPointerDownOutside:ud[4]||(ud[4]=cd=>td("pointerDownOutside",cd))}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["id","as","as-child","disable-outside-pointer-events","aria-describedby","aria-labelledby","data-state"])]),_:3},8,["trapped"]))}}),vu=defineComponent({__name:"DialogContentModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const ed=Ra,td=qa,rd=et(),sd=Re(td),{forwardRef:od,currentElement:ld}=T();return ya(ld),(ud,cd)=>(openBlock(),createBlock(Kl,mergeProps({...ed,...unref(sd)},{ref:unref(od),"trap-focus":unref(rd).open.value,"disable-outside-pointer-events":!0,onCloseAutoFocus:cd[0]||(cd[0]=dd=>{var _d;dd.defaultPrevented||(dd.preventDefault(),(_d=unref(rd).triggerElement.value)==null||_d.focus())}),onPointerDownOutside:cd[1]||(cd[1]=dd=>{const _d=dd.detail.originalEvent,Ed=_d.button===0&&_d.ctrlKey===!0;(_d.button===2||Ed)&&dd.preventDefault()}),onFocusOutside:cd[2]||(cd[2]=dd=>{dd.preventDefault()})}),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16,["trap-focus"]))}}),mu=defineComponent({__name:"DialogContentNonModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const ed=Ra,td=Re(qa);T();const rd=et(),sd=ref$1(!1),od=ref$1(!1);return(ld,ud)=>(openBlock(),createBlock(Kl,mergeProps({...ed,...unref(td)},{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:ud[0]||(ud[0]=cd=>{var dd;cd.defaultPrevented||(sd.value||(dd=unref(rd).triggerElement.value)==null||dd.focus(),cd.preventDefault()),sd.value=!1,od.value=!1}),onInteractOutside:ud[1]||(ud[1]=cd=>{var dd;cd.defaultPrevented||(sd.value=!0,cd.detail.originalEvent.type==="pointerdown"&&(od.value=!0));const _d=cd.target;(dd=unref(rd).triggerElement.value)!=null&&dd.contains(_d)&&cd.preventDefault(),cd.detail.originalEvent.type==="focusin"&&od.value&&cd.preventDefault()})}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16))}}),hu=defineComponent({__name:"DialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const ed=Ra,td=qa,rd=et(),sd=Re(td),{forwardRef:od}=T();return(ld,ud)=>(openBlock(),createBlock(unref(Pe),{present:ld.forceMount||unref(rd).open.value},{default:withCtx(()=>[unref(rd).modal.value?(openBlock(),createBlock(vu,mergeProps({key:0,ref:unref(od)},{...ed,...unref(sd),...ld.$attrs}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16)):(openBlock(),createBlock(mu,mergeProps({key:1,ref:unref(od)},{...ed,...unref(sd),...ld.$attrs}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),yu=defineComponent({__name:"DialogOverlayImpl",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=et();return ha(!0),T(),(ed,td)=>(openBlock(),createBlock(unref(O),{as:ed.as,"as-child":ed.asChild,"data-state":unref(qa).open.value?"open":"closed",style:{"pointer-events":"auto"}},{default:withCtx(()=>[renderSlot(ed.$slots,"default")]),_:3},8,["as","as-child","data-state"]))}}),gu=defineComponent({__name:"DialogOverlay",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const qa=et(),{forwardRef:ed}=T();return(td,rd)=>{var sd;return(sd=unref(qa))!=null&&sd.modal.value?(openBlock(),createBlock(unref(Pe),{key:0,present:td.forceMount||unref(qa).open.value},{default:withCtx(()=>[createVNode(yu,mergeProps(td.$attrs,{ref:unref(ed),as:td.as,"as-child":td.asChild}),{default:withCtx(()=>[renderSlot(td.$slots,"default")]),_:3},16,["as","as-child"])]),_:3},8,["present"])):createCommentVNode("",!0)}}}),Hl=defineComponent({__name:"DialogClose",props:{asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra;T();const ed=et();return(td,rd)=>(openBlock(),createBlock(unref(O),mergeProps(qa,{type:td.as==="button"?"button":void 0,onClick:rd[0]||(rd[0]=sd=>unref(ed).onOpenChange(!1))}),{default:withCtx(()=>[renderSlot(td.$slots,"default")]),_:3},16,["type"]))}}),bu=defineComponent({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{default:"h2"}},setup(Ra){const qa=Ra,ed=et();return T(),(td,rd)=>(openBlock(),createBlock(unref(O),mergeProps(qa,{id:unref(ed).titleId}),{default:withCtx(()=>[renderSlot(td.$slots,"default")]),_:3},16,["id"]))}}),[Gl,qu]=Q("PopperRoot"),Tt=defineComponent({__name:"PopperRoot",setup(Ra){const qa=ref$1();return qu({anchor:qa,onAnchorChange:ed=>qa.value=ed}),(ed,td)=>renderSlot(ed.$slots,"default")}}),Rt=defineComponent({__name:"PopperAnchor",props:{element:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,{forwardRef:ed,currentElement:td}=T(),rd=Gl();return watchEffect(()=>{rd.onAnchorChange(qa.element??td.value)}),(sd,od)=>(openBlock(),createBlock(unref(O),{ref:unref(ed),as:sd.as,"as-child":sd.asChild},{default:withCtx(()=>[renderSlot(sd.$slots,"default")]),_:3},8,["as","as-child"]))}});function Yu(Ra){return Ra!==null}function Xu(Ra){return{name:"transformOrigin",options:Ra,fn(qa){var ed,td,rd;const{placement:sd,rects:od,middlewareData:ld}=qa,ud=((ed=ld.arrow)==null?void 0:ed.centerOffset)!==0,cd=ud?0:Ra.arrowWidth,dd=ud?0:Ra.arrowHeight,[_d,Ed]=Bn(sd),Ad={start:"0%",center:"50%",end:"100%"}[Ed],Td=(((td=ld.arrow)==null?void 0:td.x)??0)+cd/2,Id=(((rd=ld.arrow)==null?void 0:rd.y)??0)+dd/2;let Bd="",Rd="";return _d==="bottom"?(Bd=ud?Ad:`${Td}px`,Rd=`${-dd}px`):_d==="top"?(Bd=ud?Ad:`${Td}px`,Rd=`${od.floating.height+dd}px`):_d==="right"?(Bd=`${-dd}px`,Rd=ud?Ad:`${Id}px`):_d==="left"&&(Bd=`${od.floating.width+dd}px`,Rd=ud?Ad:`${Id}px`),{data:{x:Bd,y:Rd}}}}}function Bn(Ra){const[qa,ed="center"]=Ra.split("-");return[qa,ed]}const ql={side:"bottom",sideOffset:0,align:"center",alignOffset:0,arrowPadding:0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,updatePositionStrategy:"optimized",prioritizePosition:!1},[Zu,Ju]=Q("PopperContent"),Dt=defineComponent({inheritAttrs:!1,__name:"PopperContent",props:mergeDefaults({side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},{...ql}),emits:["placed"],setup(Ra,{emit:qa}){const ed=Ra,td=qa,rd=Gl(),{forwardRef:sd,currentElement:od}=T(),ld=ref$1(),ud=ref$1(),{width:cd,height:dd}=Al(ud),_d=computed(()=>ed.side+(ed.align!=="center"?`-${ed.align}`:"")),Ed=computed(()=>typeof ed.collisionPadding=="number"?ed.collisionPadding:{top:0,right:0,bottom:0,left:0,...ed.collisionPadding}),Ad=computed(()=>Array.isArray(ed.collisionBoundary)?ed.collisionBoundary:[ed.collisionBoundary]),Td=computed(()=>({padding:Ed.value,boundary:Ad.value.filter(Yu),altBoundary:Ad.value.length>0})),Id=Yr(()=>[offset({mainAxis:ed.sideOffset+dd.value,alignmentAxis:ed.alignOffset}),ed.prioritizePosition&&ed.avoidCollisions&&flip({...Td.value}),ed.avoidCollisions&&shift({mainAxis:!0,crossAxis:!!ed.prioritizePosition,limiter:ed.sticky==="partial"?limitShift():void 0,...Td.value}),!ed.prioritizePosition&&ed.avoidCollisions&&flip({...Td.value}),size({...Td.value,apply:({elements:Kd,rects:Xd,availableWidth:df,availableHeight:mf})=>{const{width:bf,height:pf}=Xd.reference,_f=Kd.floating.style;_f.setProperty("--radix-popper-available-width",`${df}px`),_f.setProperty("--radix-popper-available-height",`${mf}px`),_f.setProperty("--radix-popper-anchor-width",`${bf}px`),_f.setProperty("--radix-popper-anchor-height",`${pf}px`)}}),ud.value&&arrow({element:ud.value,padding:ed.arrowPadding}),Xu({arrowWidth:cd.value,arrowHeight:dd.value}),ed.hideWhenDetached&&hide({strategy:"referenceHidden",...Td.value})]),{floatingStyles:Bd,placement:Rd,isPositioned:Od,middlewareData:Md}=useFloating(rd.anchor,ld,{strategy:"fixed",placement:_d,whileElementsMounted:(...Kd)=>autoUpdate(...Kd,{animationFrame:ed.updatePositionStrategy==="always"}),middleware:Id}),Ld=computed(()=>Bn(Rd.value)[0]),Fd=computed(()=>Bn(Rd.value)[1]);watchPostEffect(()=>{Od.value&&td("placed")});const jd=computed(()=>{var Kd;return((Kd=Md.value.arrow)==null?void 0:Kd.centerOffset)!==0}),Vd=ref$1("");watchEffect(()=>{od.value&&(Vd.value=window.getComputedStyle(od.value).zIndex)});const Qd=computed(()=>{var Kd;return((Kd=Md.value.arrow)==null?void 0:Kd.x)??0}),qd=computed(()=>{var Kd;return((Kd=Md.value.arrow)==null?void 0:Kd.y)??0});return Ju({placedSide:Ld,onArrowChange:Kd=>ud.value=Kd,arrowX:Qd,arrowY:qd,shouldHideArrow:jd}),(Kd,Xd)=>{var df,mf,bf;return openBlock(),createElementBlock("div",{ref_key:"floatingRef",ref:ld,"data-radix-popper-content-wrapper":"",style:normalizeStyle({...unref(Bd),transform:unref(Od)?unref(Bd).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Vd.value,"--radix-popper-transform-origin":[(df=unref(Md).transformOrigin)==null?void 0:df.x,(mf=unref(Md).transformOrigin)==null?void 0:mf.y].join(" "),...((bf=unref(Md).hide)==null?void 0:bf.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}})},[createVNode(unref(O),mergeProps({ref:unref(sd)},Kd.$attrs,{"as-child":ed.asChild,as:Kd.as,"data-side":Ld.value,"data-align":Fd.value,style:{animation:unref(Od)?void 0:"none"}}),{default:withCtx(()=>[renderSlot(Kd.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4)}}}),Xt=defineComponent({__name:"VisuallyHidden",props:{asChild:{type:Boolean},as:{default:"span"}},setup(Ra){return T(),(qa,ed)=>(openBlock(),createBlock(unref(O),{as:qa.as,"as-child":qa.asChild,style:{position:"absolute",border:0,width:"1px",display:"inline-block",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}},{default:withCtx(()=>[renderSlot(qa.$slots,"default")]),_:3},8,["as","as-child"]))}}),ad="data-radix-vue-collection-item",[ao,nd]=Q("CollectionProvider");function ba(Ra=ad){const qa=ref$1(new Map),ed=ref$1(),td=nd({collectionRef:ed,itemMap:qa,attrName:Ra}),{getItems:rd}=Jt(td),sd=computed(()=>Array.from(td.itemMap.value.values())),od=computed(()=>td.itemMap.value.size);return{getItems:rd,reactiveItems:sd,itemMapSize:od}}const Ca=defineComponent({name:"CollectionSlot",setup(Ra,{slots:qa}){const ed=ao(),{primitiveElement:td,currentElement:rd}=ke();return watch(rd,()=>{ed.collectionRef.value=rd.value}),()=>h$1(Xn,{ref:td},qa)}}),Zt=defineComponent({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(Ra,{slots:qa,attrs:ed}){const td=ao(),{primitiveElement:rd,currentElement:sd}=ke();return watchEffect(od=>{if(sd.value){const ld=markRaw(sd.value);td.itemMap.value.set(ld,{ref:sd.value,value:Ra.value}),od(()=>td.itemMap.value.delete(ld))}}),()=>h$1(Xn,{...ed,[td.attrName]:"",ref:rd},qa)}});function Jt(Ra){const qa=Ra??ao();return{getItems:()=>{const ed=qa.collectionRef.value;if(!ed)return[];const td=Array.from(ed.querySelectorAll(`[${qa.attrName}]`));return Array.from(qa.itemMap.value.values()).sort((rd,sd)=>td.indexOf(rd.ref)-td.indexOf(sd.ref))}}}function Xa(Ra){const qa=Ga({nonce:ref$1()});return computed(()=>{var ed;return(Ra==null?void 0:Ra.value)||((ed=qa.nonce)==null?void 0:ed.value)})}const Za=defineComponent({__name:"MenuAnchor",props:{element:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(ed,td)=>(openBlock(),createBlock(unref(Rt),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(ed.$slots,"default")]),_:3},16))}});function pd(){const Ra=ref$1(!1);return onMounted(()=>{Le("keydown",()=>{Ra.value=!0},{capture:!0,passive:!0}),Le(["pointerdown","pointermove"],()=>{Ra.value=!1},{capture:!0,passive:!0})}),Ra}const fd=wl(pd),[At,Xl]=Q(["MenuRoot","MenuSub"],"MenuContext"),[wa,vd]=Q("MenuRoot"),oo=defineComponent({__name:"MenuRoot",props:{open:{type:Boolean,default:!1},dir:{},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(Ra,{emit:qa}){const ed=Ra,td=qa,{modal:rd,dir:sd}=toRefs(ed),od=be(sd),ld=ne(ed,"open",td),ud=ref$1(),cd=fd();return Xl({open:ld,onOpenChange:dd=>{ld.value=dd},content:ud,onContentChange:dd=>{ud.value=dd}}),vd({onClose:()=>{ld.value=!1},isUsingKeyboardRef:cd,dir:od,modal:rd}),(dd,_d)=>(openBlock(),createBlock(unref(Tt),null,{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3}))}}),md="rovingFocusGroup.onEntryFocus",hd={bubbles:!1,cancelable:!0},Ja={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function yd(Ra,qa){return qa!=="rtl"?Ra:Ra==="ArrowLeft"?"ArrowRight":Ra==="ArrowRight"?"ArrowLeft":Ra}function Zl(Ra,qa,ed){const td=yd(Ra.key,ed);if(!(qa==="vertical"&&["ArrowLeft","ArrowRight"].includes(td))&&!(qa==="horizontal"&&["ArrowUp","ArrowDown"].includes(td)))return Ja[td]}function Jl(Ra,qa=!1){const ed=document.activeElement;for(const td of Ra)if(td===ed||(td.focus({preventScroll:qa}),document.activeElement!==ed))return}function gd(Ra,qa){return Ra.map((ed,td)=>Ra[(qa+td)%Ra.length])}const[bd,Cd]=Q("RovingFocusGroup"),Ot=defineComponent({__name:"RovingFocusGroup",props:{orientation:{default:void 0},dir:{},loop:{type:Boolean,default:!1},currentTabStopId:{},defaultCurrentTabStopId:{},preventScrollOnEntryFocus:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["entryFocus","update:currentTabStopId"],setup(Ra,{expose:qa,emit:ed}){const td=Ra,rd=ed,{loop:sd,orientation:od,dir:ld}=toRefs(td),ud=be(ld),cd=ne(td,"currentTabStopId",rd,{defaultValue:td.defaultCurrentTabStopId,passive:td.currentTabStopId===void 0}),dd=ref$1(!1),_d=ref$1(!1),Ed=ref$1(0),{getItems:Ad}=ba();function Td(Id){const Bd=!_d.value;if(Id.currentTarget&&Id.target===Id.currentTarget&&Bd&&!dd.value){const Rd=new CustomEvent(md,hd);if(Id.currentTarget.dispatchEvent(Rd),rd("entryFocus",Rd),!Rd.defaultPrevented){const Od=Ad().map(jd=>jd.ref).filter(jd=>jd.dataset.disabled!==""),Md=Od.find(jd=>jd.getAttribute("data-active")==="true"),Ld=Od.find(jd=>jd.id===cd.value),Fd=[Md,Ld,...Od].filter(Boolean);Jl(Fd,td.preventScrollOnEntryFocus)}}_d.value=!1}return qa({getItems:Ad}),Cd({loop:sd,dir:ud,orientation:od,currentTabStopId:cd,onItemFocus:Id=>{cd.value=Id},onItemShiftTab:()=>{dd.value=!0},onFocusableItemAdd:()=>{Ed.value++},onFocusableItemRemove:()=>{Ed.value--}}),(Id,Bd)=>(openBlock(),createBlock(unref(Ca),null,{default:withCtx(()=>[createVNode(unref(O),{tabindex:dd.value||Ed.value===0?-1:0,"data-orientation":unref(od),as:Id.as,"as-child":Id.asChild,dir:unref(ud),style:{outline:"none"},onMousedown:Bd[0]||(Bd[0]=Rd=>_d.value=!0),onFocus:Td,onBlur:Bd[1]||(Bd[1]=Rd=>dd.value=!1)},{default:withCtx(()=>[renderSlot(Id.$slots,"default")]),_:3},8,["tabindex","data-orientation","as","as-child","dir"])]),_:3}))}}),kt=defineComponent({__name:"RovingFocusItem",props:{tabStopId:{},focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!0},allowShiftKey:{type:Boolean},asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const qa=Ra,ed=bd(),td=computed(()=>qa.tabStopId||he()),rd=computed(()=>ed.currentTabStopId.value===td.value),{getItems:sd}=Jt();onMounted(()=>{qa.focusable&&ed.onFocusableItemAdd()}),onUnmounted(()=>{qa.focusable&&ed.onFocusableItemRemove()});function od(ld){if(ld.key==="Tab"&&ld.shiftKey){ed.onItemShiftTab();return}if(ld.target!==ld.currentTarget)return;const ud=Zl(ld,ed.orientation.value,ed.dir.value);if(ud!==void 0){if(ld.metaKey||ld.ctrlKey||ld.altKey||!qa.allowShiftKey&&ld.shiftKey)return;ld.preventDefault();let cd=[...sd().map(dd=>dd.ref).filter(dd=>dd.dataset.disabled!=="")];if(ud==="last")cd.reverse();else if(ud==="prev"||ud==="next"){ud==="prev"&&cd.reverse();const dd=cd.indexOf(ld.currentTarget);cd=ed.loop.value?gd(cd,dd+1):cd.slice(dd+1)}nextTick$1(()=>Jl(cd))}}return(ld,ud)=>(openBlock(),createBlock(unref(Zt),null,{default:withCtx(()=>[createVNode(unref(O),{tabindex:rd.value?0:-1,"data-orientation":unref(ed).orientation.value,"data-active":ld.active,"data-disabled":ld.focusable?void 0:"",as:ld.as,"as-child":ld.asChild,onMousedown:ud[0]||(ud[0]=cd=>{ld.focusable?unref(ed).onItemFocus(td.value):cd.preventDefault()}),onFocus:ud[1]||(ud[1]=cd=>unref(ed).onItemFocus(td.value)),onKeydown:od},{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},8,["tabindex","data-orientation","data-active","data-disabled","as","as-child"])]),_:3}))}}),[lo,wd]=Q("MenuContent"),so=defineComponent({__name:"MenuContentImpl",props:mergeDefaults({loop:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},disableOutsideScroll:{type:Boolean},trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},{...ql}),emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus","dismiss"],setup(Ra,{emit:qa}){const ed=Ra,td=qa,rd=At(),sd=wa(),{trapFocus:od,disableOutsidePointerEvents:ld,loop:ud}=toRefs(ed);Gn(),ha(ld.value);const cd=ref$1(""),dd=ref$1(0),_d=ref$1(0),Ed=ref$1(null),Ad=ref$1("right"),Td=ref$1(0),Id=ref$1(null),{createCollection:Bd}=Me(),{forwardRef:Rd,currentElement:Od}=T(),Md=Bd(Od);watch(Od,Kd=>{rd.onContentChange(Kd)});const{handleTypeaheadSearch:Ld}=ga(Md);onUnmounted(()=>{window.clearTimeout(dd.value)});function Fd(Kd){var Xd,df;return Ad.value===((Xd=Ed.value)==null?void 0:Xd.side)&&du(Kd,(df=Ed.value)==null?void 0:df.area)}async function jd(Kd){var Xd;td("openAutoFocus",Kd),!Kd.defaultPrevented&&(Kd.preventDefault(),(Xd=Od.value)==null||Xd.focus({preventScroll:!0}))}function Vd(Kd){if(Kd.defaultPrevented)return;const Xd=Kd.target.closest("[data-radix-menu-content]")===Kd.currentTarget,df=Kd.ctrlKey||Kd.altKey||Kd.metaKey,mf=Kd.key.length===1,bf=Bt(Kd,document.activeElement,Od.value,{loop:ud.value,arrowKeyOptions:"vertical",dir:sd==null?void 0:sd.dir.value,focus:!0,attributeName:"[data-radix-vue-collection-item]:not([data-disabled])"});if(bf)return bf==null?void 0:bf.focus();if(Kd.code==="Space"||(Xd&&(Kd.key==="Tab"&&Kd.preventDefault(),!df&&mf&&Ld(Kd.key)),Kd.target!==Od.value)||!su.includes(Kd.key))return;Kd.preventDefault();const pf=Md.value;zl.includes(Kd.key)&&pf.reverse(),$n(pf)}function Qd(Kd){var Xd,df;(df=(Xd=Kd==null?void 0:Kd.currentTarget)==null?void 0:Xd.contains)!=null&&df.call(Xd,Kd.target)||(window.clearTimeout(dd.value),cd.value="")}function qd(Kd){var Xd;if(!ua(Kd))return;const df=Kd.target,mf=Td.value!==Kd.clientX;if((Xd=Kd==null?void 0:Kd.currentTarget)!=null&&Xd.contains(df)&&mf){const bf=Kd.clientX>Td.value?"right":"left";Ad.value=bf,Td.value=Kd.clientX}}return wd({onItemEnter:Kd=>!!Fd(Kd),onItemLeave:Kd=>{var Xd;Fd(Kd)||((Xd=Od.value)==null||Xd.focus(),Id.value=null)},onTriggerLeave:Kd=>!!Fd(Kd),searchRef:cd,pointerGraceTimerRef:_d,onPointerGraceIntentChange:Kd=>{Ed.value=Kd}}),(Kd,Xd)=>(openBlock(),createBlock(unref(Ya),{"as-child":"",trapped:unref(od),onMountAutoFocus:jd,onUnmountAutoFocus:Xd[7]||(Xd[7]=df=>td("closeAutoFocus",df))},{default:withCtx(()=>[createVNode(unref(yt),{"as-child":"","disable-outside-pointer-events":unref(ld),onEscapeKeyDown:Xd[2]||(Xd[2]=df=>td("escapeKeyDown",df)),onPointerDownOutside:Xd[3]||(Xd[3]=df=>td("pointerDownOutside",df)),onFocusOutside:Xd[4]||(Xd[4]=df=>td("focusOutside",df)),onInteractOutside:Xd[5]||(Xd[5]=df=>td("interactOutside",df)),onDismiss:Xd[6]||(Xd[6]=df=>td("dismiss"))},{default:withCtx(()=>[createVNode(unref(Ot),{"current-tab-stop-id":Id.value,"onUpdate:currentTabStopId":Xd[0]||(Xd[0]=df=>Id.value=df),"as-child":"",orientation:"vertical",dir:unref(sd).dir.value,loop:unref(ud),onEntryFocus:Xd[1]||(Xd[1]=df=>{td("entryFocus",df),unref(sd).isUsingKeyboardRef.value||df.preventDefault()})},{default:withCtx(()=>[createVNode(unref(Dt),{ref:unref(Rd),role:"menu",as:Kd.as,"as-child":Kd.asChild,"aria-orientation":"vertical","data-radix-menu-content":"","data-state":unref(Qn)(unref(rd).open.value),dir:unref(sd).dir.value,side:Kd.side,"side-offset":Kd.sideOffset,align:Kd.align,"align-offset":Kd.alignOffset,"avoid-collisions":Kd.avoidCollisions,"collision-boundary":Kd.collisionBoundary,"collision-padding":Kd.collisionPadding,"arrow-padding":Kd.arrowPadding,"prioritize-position":Kd.prioritizePosition,sticky:Kd.sticky,"hide-when-detached":Kd.hideWhenDetached,onKeydown:Vd,onBlur:Qd,onPointermove:qd},{default:withCtx(()=>[renderSlot(Kd.$slots,"default")]),_:3},8,["as","as-child","data-state","dir","side","side-offset","align","align-offset","avoid-collisions","collision-boundary","collision-padding","arrow-padding","prioritize-position","sticky","hide-when-detached"])]),_:3},8,["current-tab-stop-id","dir","loop"])]),_:3},8,["disable-outside-pointer-events"])]),_:3},8,["trapped"]))}}),Ql=defineComponent({inheritAttrs:!1,__name:"MenuItemImpl",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,ed=lo(),{forwardRef:td}=T(),rd=ref$1(!1);async function sd(ld){if(!ld.defaultPrevented&&ua(ld)){if(qa.disabled)ed.onItemLeave(ld);else if(!ed.onItemEnter(ld)){const ud=ld.currentTarget;ud==null||ud.focus({preventScroll:!0})}}}async function od(ld){await nextTick$1(),!ld.defaultPrevented&&ua(ld)&&ed.onItemLeave(ld)}return(ld,ud)=>(openBlock(),createBlock(unref(Zt),null,{default:withCtx(()=>[createVNode(unref(O),mergeProps({ref:unref(td),role:"menuitem",tabindex:"-1"},ld.$attrs,{as:ld.as,"as-child":ld.asChild,"data-radix-vue-collection-item":"","aria-disabled":ld.disabled||void 0,"data-disabled":ld.disabled?"":void 0,"data-highlighted":rd.value?"":void 0,onPointermove:sd,onPointerleave:od,onFocus:ud[0]||(ud[0]=async cd=>{await nextTick$1(),!(cd.defaultPrevented||ld.disabled)&&(rd.value=!0)}),onBlur:ud[1]||(ud[1]=async cd=>{await nextTick$1(),!cd.defaultPrevented&&(rd.value=!1)})}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["as","as-child","aria-disabled","data-disabled","data-highlighted"])]),_:3}))}}),_a$1=defineComponent({__name:"MenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(Ra,{emit:qa}){const ed=Ra,td=qa,{forwardRef:rd,currentElement:sd}=T(),od=wa(),ld=lo(),ud=ref$1(!1);async function cd(){const dd=sd.value;if(!ed.disabled&&dd){const _d=new CustomEvent(ou,{bubbles:!0,cancelable:!0});td("select",_d),await nextTick$1(),_d.defaultPrevented?ud.value=!1:od.onClose()}}return(dd,_d)=>(openBlock(),createBlock(Ql,mergeProps(ed,{ref:unref(rd),onClick:cd,onPointerdown:_d[0]||(_d[0]=()=>{ud.value=!0}),onPointerup:_d[1]||(_d[1]=async Ed=>{var Ad;await nextTick$1(),!Ed.defaultPrevented&&(ud.value||(Ad=Ed.currentTarget)==null||Ad.click())}),onKeydown:_d[2]||(_d[2]=async Ed=>{const Ad=unref(ld).searchRef.value!=="";dd.disabled||Ad&&Ed.key===" "||unref(Dn).includes(Ed.key)&&(Ed.currentTarget.click(),Ed.preventDefault())})}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16))}}),xd=defineComponent({__name:"MenuRootContentModal",props:{loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const ed=Ra,td=qa,rd=xe(ed,td),sd=At(),{forwardRef:od,currentElement:ld}=T();return ya(ld),(ud,cd)=>(openBlock(),createBlock(so,mergeProps(unref(rd),{ref:unref(od),"trap-focus":unref(sd).open.value,"disable-outside-pointer-events":unref(sd).open.value,"disable-outside-scroll":!0,onDismiss:cd[0]||(cd[0]=dd=>unref(sd).onOpenChange(!1)),onFocusOutside:cd[1]||(cd[1]=withModifiers(dd=>td("focusOutside",dd),["prevent"]))}),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16,["trap-focus","disable-outside-pointer-events"]))}}),Sd=defineComponent({__name:"MenuRootContentNonModal",props:{loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const ed=xe(Ra,qa),td=At();return(rd,sd)=>(openBlock(),createBlock(so,mergeProps(unref(ed),{"trap-focus":!1,"disable-outside-pointer-events":!1,"disable-outside-scroll":!1,onDismiss:sd[0]||(sd[0]=od=>unref(td).onOpenChange(!1))}),{default:withCtx(()=>[renderSlot(rd.$slots,"default")]),_:3},16))}}),uo=defineComponent({__name:"MenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const ed=xe(Ra,qa),td=At(),rd=wa();return(sd,od)=>(openBlock(),createBlock(unref(Pe),{present:sd.forceMount||unref(td).open.value},{default:withCtx(()=>[unref(rd).modal.value?(openBlock(),createBlock(xd,normalizeProps(mergeProps({key:0},{...sd.$attrs,...unref(ed)})),{default:withCtx(()=>[renderSlot(sd.$slots,"default")]),_:3},16)):(openBlock(),createBlock(Sd,normalizeProps(mergeProps({key:1},{...sd.$attrs,...unref(ed)})),{default:withCtx(()=>[renderSlot(sd.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),po=defineComponent({__name:"MenuPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(ed,td)=>(openBlock(),createBlock(unref(ht),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(ed.$slots,"default")]),_:3},16))}}),mo=defineComponent({__name:"MenuSeparator",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(ed,td)=>(openBlock(),createBlock(unref(O),mergeProps(qa,{role:"separator","aria-orientation":"horizontal"}),{default:withCtx(()=>[renderSlot(ed.$slots,"default")]),_:3},16))}}),[ts,Dd]=Q("MenuSub"),ho=defineComponent({__name:"MenuSub",props:{open:{type:Boolean,default:void 0}},emits:["update:open"],setup(Ra,{emit:qa}){const ed=Ra,td=ne(ed,"open",qa,{defaultValue:!1,passive:ed.open===void 0}),rd=At(),sd=ref$1(),od=ref$1();return watchEffect(ld=>{(rd==null?void 0:rd.open.value)===!1&&(td.value=!1),ld(()=>td.value=!1)}),Xl({open:td,onOpenChange:ld=>{td.value=ld},content:od,onContentChange:ld=>{od.value=ld}}),Dd({triggerId:"",contentId:"",trigger:sd,onTriggerChange:ld=>{sd.value=ld}}),(ld,ud)=>(openBlock(),createBlock(unref(Tt),null,{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3}))}}),yo=defineComponent({__name:"MenuSubContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},sideOffset:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean,default:!0},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const ed=xe(Ra,qa),td=At(),rd=wa(),sd=ts(),{forwardRef:od,currentElement:ld}=T();return sd.contentId||(sd.contentId=he(void 0,"radix-vue-menu-sub-content")),(ud,cd)=>(openBlock(),createBlock(unref(Pe),{present:ud.forceMount||unref(td).open.value},{default:withCtx(()=>[createVNode(so,mergeProps(unref(ed),{id:unref(sd).contentId,ref:unref(od),"aria-labelledby":unref(sd).triggerId,align:"start",side:unref(rd).dir.value==="rtl"?"left":"right","disable-outside-pointer-events":!1,"disable-outside-scroll":!1,"trap-focus":!1,onOpenAutoFocus:cd[0]||(cd[0]=withModifiers(dd=>{var _d;unref(rd).isUsingKeyboardRef.value&&((_d=unref(ld))==null||_d.focus())},["prevent"])),onCloseAutoFocus:cd[1]||(cd[1]=withModifiers(()=>{},["prevent"])),onFocusOutside:cd[2]||(cd[2]=dd=>{dd.defaultPrevented||dd.target!==unref(sd).trigger.value&&unref(td).onOpenChange(!1)}),onEscapeKeyDown:cd[3]||(cd[3]=dd=>{unref(rd).onClose(),dd.preventDefault()}),onKeydown:cd[4]||(cd[4]=dd=>{var _d,Ed;const Ad=(_d=dd.currentTarget)==null?void 0:_d.contains(dd.target),Td=unref(iu)[unref(rd).dir.value].includes(dd.key);Ad&&Td&&(unref(td).onOpenChange(!1),(Ed=unref(sd).trigger.value)==null||Ed.focus(),dd.preventDefault())})}),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16,["id","aria-labelledby","side"])]),_:3},8,["present"]))}}),go=defineComponent({__name:"MenuSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,ed=At(),td=wa(),rd=ts(),sd=lo(),od=ref$1(null);rd.triggerId||(rd.triggerId=he(void 0,"radix-vue-menu-sub-trigger"));function ld(){od.value&&window.clearTimeout(od.value),od.value=null}onUnmounted(()=>{ld()});function ud(_d){!ua(_d)||sd.onItemEnter(_d)||!qa.disabled&&!ed.open.value&&!od.value&&(sd.onPointerGraceIntentChange(null),od.value=window.setTimeout(()=>{ed.onOpenChange(!0),ld()},100))}async function cd(_d){var Ed,Ad;if(!ua(_d))return;ld();const Td=(Ed=ed.content.value)==null?void 0:Ed.getBoundingClientRect();if(Td!=null&&Td.width){const Id=(Ad=ed.content.value)==null?void 0:Ad.dataset.side,Bd=Id==="right",Rd=Bd?-5:5,Od=Td[Bd?"left":"right"],Md=Td[Bd?"right":"left"];sd.onPointerGraceIntentChange({area:[{x:_d.clientX+Rd,y:_d.clientY},{x:Od,y:Td.top},{x:Md,y:Td.top},{x:Md,y:Td.bottom},{x:Od,y:Td.bottom}],side:Id}),window.clearTimeout(sd.pointerGraceTimerRef.value),sd.pointerGraceTimerRef.value=window.setTimeout(()=>sd.onPointerGraceIntentChange(null),300)}else{if(sd.onTriggerLeave(_d))return;sd.onPointerGraceIntentChange(null)}}async function dd(_d){var Ed;const Ad=sd.searchRef.value!=="";qa.disabled||Ad&&_d.key===" "||ru[td.dir.value].includes(_d.key)&&(ed.onOpenChange(!0),await nextTick$1(),(Ed=ed.content.value)==null||Ed.focus(),_d.preventDefault())}return(_d,Ed)=>(openBlock(),createBlock(Za,{"as-child":""},{default:withCtx(()=>[createVNode(Ql,mergeProps(qa,{id:unref(rd).triggerId,ref:Ad=>{var Td;(Td=unref(rd))==null||Td.onTriggerChange(Ad==null?void 0:Ad.$el)},"aria-haspopup":"menu","aria-expanded":unref(ed).open.value,"aria-controls":unref(rd).contentId,"data-state":unref(Qn)(unref(ed).open.value),onClick:Ed[0]||(Ed[0]=async Ad=>{qa.disabled||Ad.defaultPrevented||(Ad.currentTarget.focus(),unref(ed).open.value||unref(ed).onOpenChange(!0))}),onPointermove:ud,onPointerleave:cd,onKeydown:dd}),{default:withCtx(()=>[renderSlot(_d.$slots,"default")]),_:3},16,["id","aria-expanded","aria-controls","data-state"])]),_:3}))}}),[as,$d]=Q("ContextMenuRoot"),Jv=defineComponent({inheritAttrs:!1,__name:"ContextMenuRoot",props:{dir:{},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(Ra,{emit:qa}){const ed=Ra,td=qa,{dir:rd,modal:sd}=toRefs(ed);T();const od=be(rd),ld=ref$1(!1);return $d({open:ld,onOpenChange:ud=>{ld.value=ud},dir:od,modal:sd}),watch(ld,ud=>{td("update:open",ud)}),(ud,cd)=>(openBlock(),createBlock(unref(oo),{open:ld.value,"onUpdate:open":cd[0]||(cd[0]=dd=>ld.value=dd),dir:unref(od),modal:unref(sd)},{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},8,["open","dir","modal"]))}});function Uo(Ra){return Ra.pointerType!=="mouse"}const Qv=defineComponent({inheritAttrs:!1,__name:"ContextMenuTrigger",props:{disabled:{type:Boolean,default:!1},asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const qa=Ra,{disabled:ed}=toRefs(qa),{forwardRef:td}=T(),rd=as(),sd=ref$1({x:0,y:0}),od=computed(()=>({getBoundingClientRect:()=>({width:0,height:0,left:sd.value.x,right:sd.value.x,top:sd.value.y,bottom:sd.value.y,...sd.value})})),ld=ref$1(0);function ud(){window.clearTimeout(ld.value)}function cd(Ad){sd.value={x:Ad.clientX,y:Ad.clientY},rd.onOpenChange(!0)}async function dd(Ad){ed.value||(await nextTick$1(),Ad.defaultPrevented||(ud(),cd(Ad),Ad.preventDefault()))}async function _d(Ad){ed.value||(await nextTick$1(),Uo(Ad)&&!Ad.defaultPrevented&&(ud(),ld.value=window.setTimeout(()=>cd(Ad),700)))}async function Ed(Ad){ed.value||(await nextTick$1(),Uo(Ad)&&!Ad.defaultPrevented&&ud())}return(Ad,Td)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(Za),{as:"template",element:od.value},null,8,["element"]),createVNode(unref(O),mergeProps({ref:unref(td),as:Ad.as,"as-child":Ad.asChild,"data-state":unref(rd).open.value?"open":"closed","data-disabled":unref(ed)?"":void 0,style:{WebkitTouchCallout:"none"}},Ad.$attrs,{onContextmenu:dd,onPointerdown:_d,onPointermove:Ed,onPointercancel:Ed,onPointerup:Ed}),{default:withCtx(()=>[renderSlot(Ad.$slots,"default")]),_:3},16,["as","as-child","data-state","data-disabled"])],64))}}),em=defineComponent({__name:"ContextMenuPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(ed,td)=>(openBlock(),createBlock(unref(po),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(ed.$slots,"default")]),_:3},16))}}),tm=defineComponent({__name:"ContextMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},alignOffset:{default:0},avoidCollisions:{type:Boolean,default:!0},collisionBoundary:{default:()=>[]},collisionPadding:{default:0},sticky:{default:"partial"},hideWhenDetached:{type:Boolean,default:!1},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(Ra,{emit:qa}){const ed=xe(Ra,qa);T();const td=as(),rd=ref$1(!1);return(sd,od)=>(openBlock(),createBlock(unref(uo),mergeProps(unref(ed),{side:"right","side-offset":2,align:"start",style:{"--radix-context-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-context-menu-content-available-width":"var(--radix-popper-available-width)","--radix-context-menu-content-available-height":"var(--radix-popper-available-height)","--radix-context-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-context-menu-trigger-height":"var(--radix-popper-anchor-height)"},onCloseAutoFocus:od[0]||(od[0]=ld=>{!ld.defaultPrevented&&rd.value&&ld.preventDefault(),rd.value=!1}),onInteractOutside:od[1]||(od[1]=ld=>{!ld.defaultPrevented&&!unref(td).modal.value&&(rd.value=!0)})}),{default:withCtx(()=>[renderSlot(sd.$slots,"default")]),_:3},16))}}),nm=defineComponent({__name:"ContextMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(Ra,{emit:qa}){const ed=Ra,td=Re(qa);return T(),(rd,sd)=>(openBlock(),createBlock(unref(_a$1),normalizeProps(guardReactiveProps({...ed,...unref(td)})),{default:withCtx(()=>[renderSlot(rd.$slots,"default")]),_:3},16))}}),lm=defineComponent({__name:"ContextMenuSeparator",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return T(),(ed,td)=>(openBlock(),createBlock(unref(mo),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(ed.$slots,"default")]),_:3},16))}}),[wo,nc]=Q("HoverCardRoot"),xh=defineComponent({__name:"HoverCardRoot",props:{defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},openDelay:{default:700},closeDelay:{default:300}},emits:["update:open"],setup(Ra,{emit:qa}){const ed=Ra,td=qa,{openDelay:rd,closeDelay:sd}=toRefs(ed);T();const od=ne(ed,"open",td,{defaultValue:ed.defaultOpen,passive:ed.open===void 0}),ld=ref$1(0),ud=ref$1(0),cd=ref$1(!1),dd=ref$1(!1),_d=ref$1(!1),Ed=ref$1();function Ad(){clearTimeout(ud.value),ld.value=window.setTimeout(()=>od.value=!0,rd.value)}function Td(){clearTimeout(ld.value),!cd.value&&!dd.value&&(ud.value=window.setTimeout(()=>od.value=!1,sd.value))}function Id(){od.value=!1}return nc({open:od,onOpenChange(Bd){od.value=Bd},onOpen:Ad,onClose:Td,onDismiss:Id,hasSelectionRef:cd,isPointerDownOnContentRef:dd,isPointerInTransitRef:_d,triggerElement:Ed}),(Bd,Rd)=>(openBlock(),createBlock(unref(Tt),null,{default:withCtx(()=>[renderSlot(Bd.$slots,"default",{open:unref(od)})]),_:3}))}});function Tn(Ra){return qa=>qa.pointerType==="touch"?void 0:Ra()}function oc(Ra){const qa=[],ed=document.createTreeWalker(Ra,NodeFilter.SHOW_ELEMENT,{acceptNode:td=>td.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;ed.nextNode();)qa.push(ed.currentNode);return qa}const Sh=defineComponent({__name:"HoverCardTrigger",props:{asChild:{type:Boolean},as:{default:"a"}},setup(Ra){const{forwardRef:qa,currentElement:ed}=T(),td=wo();td.triggerElement=ed;function rd(){setTimeout(()=>{!td.isPointerInTransitRef.value&&!td.open.value&&td.onClose()},0)}return(sd,od)=>(openBlock(),createBlock(unref(Rt),{"as-child":""},{default:withCtx(()=>[createVNode(unref(O),{ref:unref(qa),"as-child":sd.asChild,as:sd.as,"data-state":unref(td).open.value?"open":"closed","data-grace-area-trigger":"",onPointerenter:od[0]||(od[0]=ld=>unref(Tn)(unref(td).onOpen)(ld)),onPointerleave:od[1]||(od[1]=ld=>unref(Tn)(rd)(ld)),onFocus:od[2]||(od[2]=ld=>unref(td).onOpen()),onBlur:od[3]||(od[3]=ld=>unref(td).onClose())},{default:withCtx(()=>[renderSlot(sd.$slots,"default")]),_:3},8,["as-child","as","data-state"])]),_:3}))}}),Eh=defineComponent({__name:"HoverCardPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(ed,td)=>(openBlock(),createBlock(unref(ht),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(ed.$slots,"default")]),_:3},16))}}),lc=defineComponent({__name:"HoverCardContentImpl",props:{side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside"],setup(Ra,{emit:qa}){const ed=Ra,td=qa,rd=It(ed),{forwardRef:sd,currentElement:od}=T(),ld=wo(),{isPointerInTransit:ud,onPointerExit:cd}=Tl(ld.triggerElement,od);ri(ld.isPointerInTransitRef,ud,{direction:"rtl"}),cd(()=>{ld.onClose()});const dd=ref$1(!1);let _d;watchEffect(Ad=>{if(dd.value){const Td=document.body;_d=Td.style.userSelect||Td.style.webkitUserSelect,Td.style.userSelect="none",Td.style.webkitUserSelect="none",Ad(()=>{Td.style.userSelect=_d,Td.style.webkitUserSelect=_d})}});function Ed(){dd.value=!1,ld.isPointerDownOnContentRef.value=!1,nextTick$1(()=>{var Ad;((Ad=document.getSelection())==null?void 0:Ad.toString())!==""&&(ld.hasSelectionRef.value=!0)})}return onMounted(()=>{od.value&&(document.addEventListener("pointerup",Ed),oc(od.value).forEach(Ad=>Ad.setAttribute("tabindex","-1")))}),onUnmounted(()=>{document.removeEventListener("pointerup",Ed),ld.hasSelectionRef.value=!1,ld.isPointerDownOnContentRef.value=!1}),(Ad,Td)=>(openBlock(),createBlock(unref(yt),{"as-child":"","disable-outside-pointer-events":!1,onEscapeKeyDown:Td[1]||(Td[1]=Id=>td("escapeKeyDown",Id)),onPointerDownOutside:Td[2]||(Td[2]=Id=>td("pointerDownOutside",Id)),onFocusOutside:Td[3]||(Td[3]=withModifiers(Id=>td("focusOutside",Id),["prevent"])),onDismiss:unref(ld).onDismiss},{default:withCtx(()=>[createVNode(unref(Dt),mergeProps({...unref(rd),...Ad.$attrs},{ref:unref(sd),"data-state":unref(ld).open.value?"open":"closed",style:{userSelect:dd.value?"text":void 0,WebkitUserSelect:dd.value?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"},onPointerdown:Td[0]||(Td[0]=Id=>{Id.currentTarget.contains(Id.target)&&(dd.value=!0),unref(ld).hasSelectionRef.value=!1,unref(ld).isPointerDownOnContentRef.value=!0})}),{default:withCtx(()=>[renderSlot(Ad.$slots,"default")]),_:3},16,["data-state","style"])]),_:3},8,["onDismiss"]))}}),Ph=defineComponent({__name:"HoverCardContent",props:{forceMount:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside"],setup(Ra,{emit:qa}){const ed=xe(Ra,qa),{forwardRef:td}=T(),rd=wo();return(sd,od)=>(openBlock(),createBlock(unref(Pe),{present:sd.forceMount||unref(rd).open.value},{default:withCtx(()=>[createVNode(lc,mergeProps(unref(ed),{ref:unref(td),onPointerenter:od[0]||(od[0]=ld=>unref(Tn)(unref(rd).onOpen)(ld))}),{default:withCtx(()=>[renderSlot(sd.$slots,"default")]),_:3},16)]),_:3},8,["present"]))}}),[tn,Pc]=Q("MenubarRoot"),Vh=defineComponent({__name:"MenubarRoot",props:{modelValue:{},defaultValue:{},dir:{},loop:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const ed=Ra,td=qa,{forwardRef:rd,currentElement:sd}=T(),{createCollection:od}=Me("menubar");od(sd);const ld=ne(ed,"modelValue",td,{defaultValue:ed.defaultValue??"",passive:ed.modelValue===void 0}),ud=ref$1(null),{dir:cd,loop:dd}=toRefs(ed),_d=be(cd);return Pc({modelValue:ld,dir:_d,loop:dd,onMenuOpen:Ed=>{ld.value=Ed,ud.value=Ed},onMenuClose:()=>{ld.value=""},onMenuToggle:Ed=>{ld.value=ld.value?"":Ed,ud.value=Ed}}),(Ed,Ad)=>(openBlock(),createBlock(unref(Ot),{"current-tab-stop-id":ud.value,"onUpdate:currentTabStopId":Ad[0]||(Ad[0]=Td=>ud.value=Td),orientation:"horizontal",loop:unref(dd),dir:unref(_d),"as-child":""},{default:withCtx(()=>[createVNode(unref(O),{ref:unref(rd),role:"menubar"},{default:withCtx(()=>[renderSlot(Ed.$slots,"default",{modelValue:unref(ld)})]),_:3},512)]),_:3},8,["current-tab-stop-id","loop","dir"]))}}),[_o,Dc]=Q("MenubarMenu"),Fh=defineComponent({__name:"MenubarMenu",props:{value:{}},setup(Ra){const qa=he(Ra.value),ed=tn();T();const td=ref$1(),rd=ref$1(!1),sd=computed(()=>ed.modelValue.value===qa);return watch(sd,()=>{sd.value||(rd.value=!1)}),Dc({value:qa,triggerElement:td,triggerId:qa,contentId:"",wasKeyboardTriggerOpenRef:rd}),(od,ld)=>(openBlock(),createBlock(unref(oo),{open:sd.value,modal:!1,dir:unref(ed).dir.value,"onUpdate:open":ld[0]||(ld[0]=ud=>{ud||unref(ed).onMenuClose()})},{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},8,["open","dir"]))}}),Nh=defineComponent({__name:"MenubarTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=tn(),ed=_o(),{forwardRef:td,currentElement:rd}=T(),sd=ref$1(!1),od=computed(()=>qa.modelValue.value===ed.value);return onMounted(()=>{ed.triggerElement=rd}),(ld,ud)=>(openBlock(),createBlock(unref(kt),{"as-child":"",focusable:!ld.disabled,"tab-stop-id":unref(ed).value},{default:withCtx(()=>[createVNode(unref(Za),{"as-child":""},{default:withCtx(()=>[createVNode(unref(O),{id:unref(ed).triggerId,ref:unref(td),as:ld.as,type:ld.as==="button"?"button":void 0,role:"menuitem","aria-haspopup":"menu","aria-expanded":od.value,"aria-controls":od.value?unref(ed).contentId:void 0,"data-highlighted":sd.value?"":void 0,"data-state":od.value?"open":"closed","data-disabled":ld.disabled?"":void 0,disabled:ld.disabled,"data-value":unref(ed).value,"data-radix-vue-collection-item":"",onPointerdown:ud[0]||(ud[0]=cd=>{!ld.disabled&&cd.button===0&&cd.ctrlKey===!1&&(unref(qa).onMenuOpen(unref(ed).value),od.value||cd.preventDefault())}),onPointerenter:ud[1]||(ud[1]=()=>{var cd;unref(qa).modelValue.value&&!od.value&&(unref(qa).onMenuOpen(unref(ed).value),(cd=unref(rd))==null||cd.focus())}),onKeydown:ud[2]||(ud[2]=withKeys(cd=>{ld.disabled||(["Enter"," "].includes(cd.key)&&unref(qa).onMenuToggle(unref(ed).value),cd.key==="ArrowDown"&&unref(qa).onMenuOpen(unref(ed).value),["Enter"," ","ArrowDown"].includes(cd.key)&&(unref(ed).wasKeyboardTriggerOpenRef.value=!0,cd.preventDefault()))},["enter","space","arrow-down"])),onFocus:ud[3]||(ud[3]=cd=>sd.value=!0),onBlur:ud[4]||(ud[4]=cd=>sd.value=!1)},{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},8,["id","as","type","aria-expanded","aria-controls","data-highlighted","data-state","data-disabled","disabled","data-value"])]),_:3})]),_:3},8,["focusable","tab-stop-id"]))}}),Lh=defineComponent({__name:"MenubarPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(ed,td)=>(openBlock(),createBlock(unref(po),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(ed.$slots,"default")]),_:3},16))}}),zh=defineComponent({__name:"MenubarContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{},align:{default:"start"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(Ra,{emit:qa}){const ed=xe(Ra,qa);T();const td=tn(),rd=_o();rd.contentId||(rd.contentId=he(void 0,"radix-vue-menubar-content"));const{injectCollection:sd}=Me("menubar"),od=sd(),ld=ref$1(!1);function ud(cd){const dd=cd.target.hasAttribute("data-radix-menubar-subtrigger"),_d=(td.dir.value==="rtl"?"ArrowRight":"ArrowLeft")===cd.key;if(!_d&&dd)return;let Ed=od.value.map(Id=>Id.dataset.value);_d&&Ed.reverse();const Ad=Ed.indexOf(rd.value);Ed=td.loop.value?qn(Ed,Ad+1):Ed.slice(Ad+1);const[Td]=Ed;Td&&td.onMenuOpen(Td)}return(cd,dd)=>(openBlock(),createBlock(unref(uo),mergeProps(unref(ed),{id:unref(rd).contentId,"data-radix-menubar-content":"","aria-labelledby":unref(rd).triggerId,style:{"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"},onCloseAutoFocus:dd[0]||(dd[0]=_d=>{var Ed;!unref(td).modelValue.value&&!ld.value&&((Ed=unref(rd).triggerElement.value)==null||Ed.focus()),ld.value=!1,_d.preventDefault()}),onFocusOutside:dd[1]||(dd[1]=_d=>{const Ed=_d.target;unref(od).some(Ad=>Ad.contains(Ed))&&_d.preventDefault()}),onInteractOutside:dd[2]||(dd[2]=_d=>{ld.value=!0}),onEntryFocus:dd[3]||(dd[3]=_d=>{unref(rd).wasKeyboardTriggerOpenRef.value||_d.preventDefault()}),onKeydown:withKeys(ud,["arrow-right","arrow-left"])}),{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},16,["id","aria-labelledby"]))}}),Hh=defineComponent({__name:"MenubarItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(Ra,{emit:qa}){const ed=Ra,td=Re(qa);return T(),(rd,sd)=>(openBlock(),createBlock(unref(_a$1),normalizeProps(guardReactiveProps({...ed,...unref(td)})),{default:withCtx(()=>[renderSlot(rd.$slots,"default")]),_:3},16))}}),jh=defineComponent({__name:"MenubarSeparator",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return T(),(ed,td)=>(openBlock(),createBlock(unref(mo),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(ed.$slots,"default")]),_:3},16))}}),Zh=defineComponent({__name:"MenubarSub",props:{defaultOpen:{type:Boolean},open:{type:Boolean,default:void 0}},emits:["update:open"],setup(Ra,{emit:qa}){const ed=Ra,td=qa;T();const rd=ne(ed,"open",td,{defaultValue:ed.defaultOpen??!1,passive:ed.open===void 0});return(sd,od)=>(openBlock(),createBlock(unref(ho),{open:unref(rd),"onUpdate:open":od[0]||(od[0]=ld=>isRef(rd)?rd.value=ld:null)},{default:withCtx(()=>[renderSlot(sd.$slots,"default",{open:unref(rd)})]),_:3},8,["open"]))}}),Jh=defineComponent({__name:"MenubarSubContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},sideOffset:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const ed=xe(Ra,qa);T();const{injectCollection:td}=Me("menubar"),rd=tn(),sd=_o(),od=td();function ld(ud){if(ud.target.hasAttribute("data-radix-menubar-subtrigger"))return;let cd=od.value.map(Ed=>Ed.dataset.value);const dd=cd.indexOf(sd.value);cd=rd.loop.value?qn(cd,dd+1):cd.slice(dd+1);const[_d]=cd;_d&&rd.onMenuOpen(_d)}return(ud,cd)=>(openBlock(),createBlock(unref(yo),mergeProps(unref(ed),{"data-radix-menubar-content":"",style:{"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"},onKeydown:withKeys(ld,["arrow-right"])}),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),Qh=defineComponent({__name:"MenubarSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return T(),(ed,td)=>(openBlock(),createBlock(unref(go),mergeProps(qa,{"data-radix-menubar-subtrigger":""}),{default:withCtx(()=>[renderSlot(ed.$slots,"default")]),_:3},16))}}),[Vt,Hc]=Q("PopoverRoot"),fs=defineComponent({__name:"PopoverRoot",props:{defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},modal:{type:Boolean,default:!1}},emits:["update:open"],setup(Ra,{emit:qa}){const ed=Ra,td=qa,{modal:rd}=toRefs(ed),sd=ne(ed,"open",td,{defaultValue:ed.defaultOpen,passive:ed.open===void 0}),od=ref$1(),ld=ref$1(!1);return Hc({contentId:"",modal:rd,open:sd,onOpenChange:ud=>{sd.value=ud},onOpenToggle:()=>{sd.value=!sd.value},triggerElement:od,hasCustomAnchor:ld}),(ud,cd)=>(openBlock(),createBlock(unref(Tt),null,{default:withCtx(()=>[renderSlot(ud.$slots,"default",{open:unref(sd)})]),_:3}))}}),vs=defineComponent({__name:"PopoverTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,ed=Vt(),{forwardRef:td,currentElement:rd}=T();return onMounted(()=>{ed.triggerElement.value=rd.value}),(sd,od)=>(openBlock(),createBlock(resolveDynamicComponent(unref(ed).hasCustomAnchor.value?unref(O):unref(Rt)),{"as-child":""},{default:withCtx(()=>[createVNode(unref(O),{ref:unref(td),type:sd.as==="button"?"button":void 0,"aria-haspopup":"dialog","aria-expanded":unref(ed).open.value,"aria-controls":unref(ed).contentId,"data-state":unref(ed).open.value?"open":"closed",as:sd.as,"as-child":qa.asChild,onClick:unref(ed).onOpenToggle},{default:withCtx(()=>[renderSlot(sd.$slots,"default")]),_:3},8,["type","aria-expanded","aria-controls","data-state","as","as-child","onClick"])]),_:3}))}}),ms=defineComponent({__name:"PopoverPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(ed,td)=>(openBlock(),createBlock(unref(ht),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(ed.$slots,"default")]),_:3},16))}}),hs=defineComponent({__name:"PopoverContentImpl",props:{trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const ed=Ra,td=qa,rd=It(ed),{forwardRef:sd}=T(),od=Vt();return Gn(),(ld,ud)=>(openBlock(),createBlock(unref(Ya),{"as-child":"",loop:"",trapped:ld.trapFocus,onMountAutoFocus:ud[5]||(ud[5]=cd=>td("openAutoFocus",cd)),onUnmountAutoFocus:ud[6]||(ud[6]=cd=>td("closeAutoFocus",cd))},{default:withCtx(()=>[createVNode(unref(yt),{"as-child":"","disable-outside-pointer-events":ld.disableOutsidePointerEvents,onPointerDownOutside:ud[0]||(ud[0]=cd=>td("pointerDownOutside",cd)),onInteractOutside:ud[1]||(ud[1]=cd=>td("interactOutside",cd)),onEscapeKeyDown:ud[2]||(ud[2]=cd=>td("escapeKeyDown",cd)),onFocusOutside:ud[3]||(ud[3]=cd=>td("focusOutside",cd)),onDismiss:ud[4]||(ud[4]=cd=>unref(od).onOpenChange(!1))},{default:withCtx(()=>[createVNode(unref(Dt),mergeProps(unref(rd),{id:unref(od).contentId,ref:unref(sd),"data-state":unref(od).open.value?"open":"closed",role:"dialog",style:{"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["id","data-state"])]),_:3},8,["disable-outside-pointer-events"])]),_:3},8,["trapped"]))}}),Wc=defineComponent({__name:"PopoverContentModal",props:{trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const ed=Ra,td=qa,rd=Vt(),sd=ref$1(!1);ha(!0);const od=xe(ed,td),{forwardRef:ld,currentElement:ud}=T();return ya(ud),(cd,dd)=>(openBlock(),createBlock(hs,mergeProps(unref(od),{ref:unref(ld),"trap-focus":unref(rd).open.value,"disable-outside-pointer-events":"",onCloseAutoFocus:dd[0]||(dd[0]=withModifiers(_d=>{var Ed;td("closeAutoFocus",_d),sd.value||(Ed=unref(rd).triggerElement.value)==null||Ed.focus()},["prevent"])),onPointerDownOutside:dd[1]||(dd[1]=_d=>{td("pointerDownOutside",_d);const Ed=_d.detail.originalEvent,Ad=Ed.button===0&&Ed.ctrlKey===!0,Td=Ed.button===2||Ad;sd.value=Td}),onFocusOutside:dd[2]||(dd[2]=withModifiers(()=>{},["prevent"]))}),{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},16,["trap-focus"]))}}),jc=defineComponent({__name:"PopoverContentNonModal",props:{trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const ed=Ra,td=qa,rd=Vt(),sd=ref$1(!1),od=ref$1(!1),ld=xe(ed,td);return(ud,cd)=>(openBlock(),createBlock(hs,mergeProps(unref(ld),{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:cd[0]||(cd[0]=dd=>{var _d;td("closeAutoFocus",dd),dd.defaultPrevented||(sd.value||(_d=unref(rd).triggerElement.value)==null||_d.focus(),dd.preventDefault()),sd.value=!1,od.value=!1}),onInteractOutside:cd[1]||(cd[1]=async dd=>{var _d;td("interactOutside",dd),dd.defaultPrevented||(sd.value=!0,dd.detail.originalEvent.type==="pointerdown"&&(od.value=!0));const Ed=dd.target;(_d=unref(rd).triggerElement.value)!=null&&_d.contains(Ed)&&dd.preventDefault(),dd.detail.originalEvent.type==="focusin"&&od.value&&dd.preventDefault()})}),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),ys=defineComponent({__name:"PopoverContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const ed=Ra,td=qa,rd=Vt(),sd=xe(ed,td),{forwardRef:od}=T();return rd.contentId||(rd.contentId=he(void 0,"radix-vue-popover-content")),(ld,ud)=>(openBlock(),createBlock(unref(Pe),{present:ld.forceMount||unref(rd).open.value},{default:withCtx(()=>[unref(rd).modal.value?(openBlock(),createBlock(Wc,mergeProps({key:0},unref(sd),{ref:unref(od)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16)):(openBlock(),createBlock(jc,mergeProps({key:1},unref(sd),{ref:unref(od)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),$p=["default-value"],Bp=defineComponent({__name:"BubbleSelect",props:{autocomplete:{},autofocus:{type:Boolean},disabled:{type:Boolean},form:{},multiple:{type:Boolean},name:{},required:{type:Boolean},size:{},value:{}},setup(Ra){const qa=Ra,{value:ed}=toRefs(qa),td=ref$1();return(rd,sd)=>(openBlock(),createBlock(unref(Xt),{"as-child":""},{default:withCtx(()=>[withDirectives(createBaseVNode("select",mergeProps({ref_key:"selectElement",ref:td},qa,{"onUpdate:modelValue":sd[0]||(sd[0]=od=>isRef(ed)?ed.value=od:null),"default-value":unref(ed)}),[renderSlot(rd.$slots,"default")],16,$p),[[vModelSelect,unref(ed)]])]),_:3}))}}),Ip={key:0,value:""},[bt,Es]=Q("SelectRoot"),[Tp,Rp]=Q("SelectRoot"),Ay=defineComponent({__name:"SelectRoot",props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean},defaultValue:{default:""},modelValue:{default:void 0},dir:{},name:{},autocomplete:{},disabled:{type:Boolean},required:{type:Boolean}},emits:["update:modelValue","update:open"],setup(Ra,{emit:qa}){const ed=Ra,td=qa,rd=ne(ed,"modelValue",td,{defaultValue:ed.defaultValue,passive:ed.modelValue===void 0}),sd=ne(ed,"open",td,{defaultValue:ed.defaultOpen,passive:ed.open===void 0}),od=ref$1(),ld=ref$1(),ud=ref$1({x:0,y:0}),cd=ref$1(!1),{required:dd,disabled:_d,dir:Ed}=toRefs(ed),Ad=be(Ed);Es({triggerElement:od,onTriggerChange:Rd=>{od.value=Rd},valueElement:ld,onValueElementChange:Rd=>{ld.value=Rd},valueElementHasChildren:cd,onValueElementHasChildrenChange:Rd=>{cd.value=Rd},contentId:"",modelValue:rd,onValueChange:Rd=>{rd.value=Rd},open:sd,required:dd,onOpenChange:Rd=>{sd.value=Rd},dir:Ad,triggerPointerDownPosRef:ud,disabled:_d});const Td=Je(od),Id=ref$1(new Set),Bd=computed(()=>Array.from(Id.value).map(Rd=>{var Od;return(Od=Rd.props)==null?void 0:Od.value}).join(";"));return Rp({onNativeOptionAdd:Rd=>{Id.value.add(Rd)},onNativeOptionRemove:Rd=>{Id.value.delete(Rd)}}),(Rd,Od)=>(openBlock(),createBlock(unref(Tt),null,{default:withCtx(()=>[renderSlot(Rd.$slots,"default",{modelValue:unref(rd),open:unref(sd)}),unref(Td)?(openBlock(),createBlock(Bp,mergeProps({key:Bd.value},Rd.$attrs,{"aria-hidden":"true",tabindex:"-1",required:unref(dd),name:Rd.name,autocomplete:Rd.autocomplete,disabled:unref(_d),value:unref(rd),onChange:Od[0]||(Od[0]=Md=>rd.value=Md.target.value)}),{default:withCtx(()=>[unref(rd)===void 0?(openBlock(),createElementBlock("option",Ip)):createCommentVNode("",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(Array.from(Id.value),Md=>(openBlock(),createBlock(resolveDynamicComponent(Md),mergeProps({ref_for:!0},Md.props,{key:Md.key??""}),null,16))),128))]),_:1},16,["required","name","autocomplete","disabled","value"])):createCommentVNode("",!0)]),_:3}))}}),Ap=[" ","Enter","ArrowUp","ArrowDown"],Op=[" ","Enter"],at=10;function Ps(Ra){return Ra===""||zt(Ra)}const Oy=defineComponent({__name:"SelectTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,ed=bt(),td=computed(()=>{var Ad;return((Ad=ed.disabled)==null?void 0:Ad.value)||qa.disabled}),{forwardRef:rd,currentElement:sd}=T();ed.contentId||(ed.contentId=he(void 0,"radix-vue-select-content")),onMounted(()=>{ed.triggerElement=sd});const{injectCollection:od}=Me(),ld=od(),{search:ud,handleTypeaheadSearch:cd,resetTypeahead:dd}=ga(ld);function _d(){td.value||(ed.onOpenChange(!0),dd())}function Ed(Ad){_d(),ed.triggerPointerDownPosRef.value={x:Math.round(Ad.pageX),y:Math.round(Ad.pageY)}}return(Ad,Td)=>(openBlock(),createBlock(unref(Rt),{"as-child":""},{default:withCtx(()=>{var Id,Bd,Rd,Od;return[createVNode(unref(O),{ref:unref(rd),role:"combobox",type:Ad.as==="button"?"button":void 0,"aria-controls":unref(ed).contentId,"aria-expanded":unref(ed).open.value||!1,"aria-required":(Id=unref(ed).required)==null?void 0:Id.value,"aria-autocomplete":"none",disabled:td.value,dir:(Bd=unref(ed))==null?void 0:Bd.dir.value,"data-state":(Rd=unref(ed))!=null&&Rd.open.value?"open":"closed","data-disabled":td.value?"":void 0,"data-placeholder":unref(Ps)((Od=unref(ed).modelValue)==null?void 0:Od.value)?"":void 0,"as-child":Ad.asChild,as:Ad.as,onClick:Td[0]||(Td[0]=Md=>{var Ld;(Ld=Md==null?void 0:Md.currentTarget)==null||Ld.focus()}),onPointerdown:Td[1]||(Td[1]=Md=>{if(Md.pointerType==="touch")return Md.preventDefault();const Ld=Md.target;Ld.hasPointerCapture(Md.pointerId)&&Ld.releasePointerCapture(Md.pointerId),Md.button===0&&Md.ctrlKey===!1&&(Ed(Md),Md.preventDefault())}),onPointerup:Td[2]||(Td[2]=withModifiers(Md=>{Md.pointerType==="touch"&&Ed(Md)},["prevent"])),onKeydown:Td[3]||(Td[3]=Md=>{const Ld=unref(ud)!=="";!(Md.ctrlKey||Md.altKey||Md.metaKey)&&Md.key.length===1&&Ld&&Md.key===" "||(unref(cd)(Md.key),unref(Ap).includes(Md.key)&&(_d(),Md.preventDefault()))})},{default:withCtx(()=>[renderSlot(Ad.$slots,"default")]),_:3},8,["type","aria-controls","aria-expanded","aria-required","disabled","dir","data-state","data-disabled","data-placeholder","as-child","as"])]}),_:3}))}}),ky=defineComponent({__name:"SelectPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(ed,td)=>(openBlock(),createBlock(unref(ht),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(ed.$slots,"default")]),_:3},16))}}),[$o,kp]=Q("SelectItemAlignedPosition"),Mp=defineComponent({inheritAttrs:!1,__name:"SelectItemAlignedPosition",props:{asChild:{type:Boolean},as:{}},emits:["placed"],setup(Ra,{emit:qa}){const ed=Ra,td=qa,{injectCollection:rd}=Me(),sd=bt(),od=Ct(),ld=rd(),ud=ref$1(!1),cd=ref$1(!0),dd=ref$1(),{forwardRef:_d,currentElement:Ed}=T(),{viewport:Ad,selectedItem:Td,selectedItemText:Id,focusSelectedItem:Bd}=od;function Rd(){if(sd.triggerElement.value&&sd.valueElement.value&&dd.value&&Ed.value&&Ad!=null&&Ad.value&&Td!=null&&Td.value&&Id!=null&&Id.value){const Ld=sd.triggerElement.value.getBoundingClientRect(),Fd=Ed.value.getBoundingClientRect(),jd=sd.valueElement.value.getBoundingClientRect(),Vd=Id.value.getBoundingClientRect();if(sd.dir.value!=="rtl"){const yf=Vd.left-Fd.left,hf=jd.left-yf,Rf=Ld.left-hf,jf=Ld.width+Rf,Kf=Math.max(jf,Fd.width),Ff=window.innerWidth-at,wf=Ht(hf,at,Ff-Kf);dd.value.style.minWidth=`${jf}px`,dd.value.style.left=`${wf}px`}else{const yf=Fd.right-Vd.right,hf=window.innerWidth-jd.right-yf,Rf=window.innerWidth-Ld.right-hf,jf=Ld.width+Rf,Kf=Math.max(jf,Fd.width),Ff=window.innerWidth-at,wf=Ht(hf,at,Ff-Kf);dd.value.style.minWidth=`${jf}px`,dd.value.style.right=`${wf}px`}const Qd=ld.value,qd=window.innerHeight-at*2,Kd=Ad.value.scrollHeight,Xd=window.getComputedStyle(Ed.value),df=Number.parseInt(Xd.borderTopWidth,10),mf=Number.parseInt(Xd.paddingTop,10),bf=Number.parseInt(Xd.borderBottomWidth,10),pf=Number.parseInt(Xd.paddingBottom,10),_f=df+mf+Kd+pf+bf,Tf=Math.min(Td.value.offsetHeight*5,_f),kf=window.getComputedStyle(Ad.value),zf=Number.parseInt(kf.paddingTop,10),Jf=Number.parseInt(kf.paddingBottom,10),Gf=Ld.top+Ld.height/2-at,Mf=qd-Gf,Nf=Td.value.offsetHeight/2,Bf=Td.value.offsetTop+Nf,Qf=df+mf+Bf,Wf=_f-Qf;if(Qf<=Gf){const yf=Td.value===Qd[Qd.length-1];dd.value.style.bottom="0px";const hf=Ed.value.clientHeight-Ad.value.offsetTop-Ad.value.offsetHeight,Rf=Math.max(Mf,Nf+(yf?Jf:0)+hf+bf),jf=Qf+Rf;dd.value.style.height=`${jf}px`}else{const yf=Td.value===Qd[0];dd.value.style.top="0px";const hf=Math.max(Gf,df+Ad.value.offsetTop+(yf?zf:0)+Nf)+Wf;dd.value.style.height=`${hf}px`,Ad.value.scrollTop=Qf-Gf+Ad.value.offsetTop}dd.value.style.margin=`${at}px 0`,dd.value.style.minHeight=`${Tf}px`,dd.value.style.maxHeight=`${qd}px`,td("placed"),requestAnimationFrame(()=>ud.value=!0)}}const Od=ref$1("");onMounted(async()=>{await nextTick$1(),Rd(),Ed.value&&(Od.value=window.getComputedStyle(Ed.value).zIndex)});function Md(Ld){Ld&&cd.value===!0&&(Rd(),Bd==null||Bd(),cd.value=!1)}return kp({contentWrapper:dd,shouldExpandOnScrollRef:ud,onScrollButtonChange:Md}),(Ld,Fd)=>(openBlock(),createElementBlock("div",{ref_key:"contentWrapperElement",ref:dd,style:normalizeStyle({display:"flex",flexDirection:"column",position:"fixed",zIndex:Od.value})},[createVNode(unref(O),mergeProps({ref:unref(_d),style:{boxSizing:"border-box",maxHeight:"100%"}},{...Ld.$attrs,...ed}),{default:withCtx(()=>[renderSlot(Ld.$slots,"default")]),_:3},16)],4))}}),Vp=defineComponent({__name:"SelectPopperPosition",props:{side:{},sideOffset:{},align:{default:"start"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{default:at},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const qa=It(Ra);return(ed,td)=>(openBlock(),createBlock(unref(Dt),mergeProps(unref(qa),{style:{boxSizing:"border-box","--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}),{default:withCtx(()=>[renderSlot(ed.$slots,"default")]),_:3},16))}}),aa={onViewportChange:()=>{},itemTextRefCallback:()=>{},itemRefCallback:()=>{}},[Ct,Fp]=Q("SelectContent"),Np=defineComponent({__name:"SelectContentImpl",props:{position:{default:"item-aligned"},bodyLock:{type:Boolean,default:!0},side:{},sideOffset:{},align:{default:"start"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(Ra,{emit:qa}){const ed=Ra,td=qa,rd=bt();Gn(),ha(ed.bodyLock);const{createCollection:sd}=Me(),od=ref$1();ya(od);const ld=sd(od),{search:ud,handleTypeaheadSearch:cd}=ga(ld),dd=ref$1(),_d=ref$1(),Ed=ref$1(),Ad=ref$1(!1),Td=ref$1(!1);function Id(){_d.value&&od.value&&$n([_d.value,od.value])}watch(Ad,()=>{Id()});const{onOpenChange:Bd,triggerPointerDownPosRef:Rd}=rd;watchEffect(Fd=>{if(!od.value)return;let jd={x:0,y:0};const Vd=qd=>{var Kd,Xd;jd={x:Math.abs(Math.round(qd.pageX)-(((Kd=Rd.value)==null?void 0:Kd.x)??0)),y:Math.abs(Math.round(qd.pageY)-(((Xd=Rd.value)==null?void 0:Xd.y)??0))}},Qd=qd=>{var Kd;qd.pointerType!=="touch"&&(jd.x<=10&&jd.y<=10?qd.preventDefault():(Kd=od.value)!=null&&Kd.contains(qd.target)||Bd(!1),document.removeEventListener("pointermove",Vd),Rd.value=null)};Rd.value!==null&&(document.addEventListener("pointermove",Vd),document.addEventListener("pointerup",Qd,{capture:!0,once:!0})),Fd(()=>{document.removeEventListener("pointermove",Vd),document.removeEventListener("pointerup",Qd,{capture:!0})})});function Od(Fd){const jd=Fd.ctrlKey||Fd.altKey||Fd.metaKey;if(Fd.key==="Tab"&&Fd.preventDefault(),!jd&&Fd.key.length===1&&cd(Fd.key),["ArrowUp","ArrowDown","Home","End"].includes(Fd.key)){let Vd=ld.value;if(["ArrowUp","End"].includes(Fd.key)&&(Vd=Vd.slice().reverse()),["ArrowUp","ArrowDown"].includes(Fd.key)){const Qd=Fd.target,qd=Vd.indexOf(Qd);Vd=Vd.slice(qd+1)}setTimeout(()=>$n(Vd)),Fd.preventDefault()}}const Md=computed(()=>ed.position==="popper"?ed:{}),Ld=It(Md.value);return Fp({content:od,viewport:dd,onViewportChange:Fd=>{dd.value=Fd},itemRefCallback:(Fd,jd,Vd)=>{var Qd,qd;const Kd=!Td.value&&!Vd;(((Qd=rd.modelValue)==null?void 0:Qd.value)!==void 0&&((qd=rd.modelValue)==null?void 0:qd.value)===jd||Kd)&&(_d.value=Fd,Kd&&(Td.value=!0))},selectedItem:_d,selectedItemText:Ed,onItemLeave:()=>{var Fd;(Fd=od.value)==null||Fd.focus()},itemTextRefCallback:(Fd,jd,Vd)=>{var Qd,qd;const Kd=!Td.value&&!Vd;(((Qd=rd.modelValue)==null?void 0:Qd.value)!==void 0&&((qd=rd.modelValue)==null?void 0:qd.value)===jd||Kd)&&(Ed.value=Fd)},focusSelectedItem:Id,position:ed.position,isPositioned:Ad,searchRef:ud}),(Fd,jd)=>(openBlock(),createBlock(unref(Ya),{"as-child":"",onMountAutoFocus:jd[6]||(jd[6]=withModifiers(()=>{},["prevent"])),onUnmountAutoFocus:jd[7]||(jd[7]=Vd=>{var Qd;td("closeAutoFocus",Vd),!Vd.defaultPrevented&&((Qd=unref(rd).triggerElement.value)==null||Qd.focus({preventScroll:!0}),Vd.preventDefault())})},{default:withCtx(()=>[createVNode(unref(yt),{"as-child":"","disable-outside-pointer-events":"",onFocusOutside:jd[2]||(jd[2]=withModifiers(()=>{},["prevent"])),onDismiss:jd[3]||(jd[3]=Vd=>unref(rd).onOpenChange(!1)),onEscapeKeyDown:jd[4]||(jd[4]=Vd=>td("escapeKeyDown",Vd)),onPointerDownOutside:jd[5]||(jd[5]=Vd=>td("pointerDownOutside",Vd))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Fd.position==="popper"?Vp:Mp),mergeProps({...Fd.$attrs,...unref(Ld)},{id:unref(rd).contentId,ref:Vd=>{od.value=unref($e)(Vd)},role:"listbox","data-state":unref(rd).open.value?"open":"closed",dir:unref(rd).dir.value,style:{display:"flex",flexDirection:"column",outline:"none"},onContextmenu:jd[0]||(jd[0]=withModifiers(()=>{},["prevent"])),onPlaced:jd[1]||(jd[1]=Vd=>Ad.value=!0),onKeydown:Od}),{default:withCtx(()=>[renderSlot(Fd.$slots,"default")]),_:3},16,["id","data-state","dir","onKeydown"]))]),_:3})]),_:3}))}}),Lp=defineComponent({__name:"SelectProvider",props:{context:{}},setup(Ra){return Es(Ra.context),(qa,ed)=>renderSlot(qa.$slots,"default")}}),zp={key:1},My=defineComponent({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean},position:{},bodyLock:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(Ra,{emit:qa}){const ed=Ra,td=xe(ed,qa),rd=bt(),sd=ref$1();onMounted(()=>{sd.value=new DocumentFragment});const od=ref$1(),ld=computed(()=>ed.forceMount||rd.open.value);return(ud,cd)=>{var dd;return ld.value?(openBlock(),createBlock(unref(Pe),{key:0,ref_key:"presenceRef",ref:od,present:!0},{default:withCtx(()=>[createVNode(Np,normalizeProps(guardReactiveProps({...unref(td),...ud.$attrs})),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16)]),_:3},512)):!((dd=od.value)!=null&&dd.present)&&sd.value?(openBlock(),createElementBlock("div",zp,[(openBlock(),createBlock(Teleport$1,{to:sd.value},[createVNode(Lp,{context:unref(rd)},{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},8,["context"])],8,["to"]))])):createCommentVNode("",!0)}}}),[Ds,Kp]=Q("SelectItem"),Ny=defineComponent({__name:"SelectItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,{disabled:ed}=toRefs(qa),td=bt(),rd=Ct(aa),{forwardRef:sd,currentElement:od}=T(),ld=computed(()=>{var Id;return((Id=td.modelValue)==null?void 0:Id.value)===qa.value}),ud=ref$1(!1),cd=ref$1(qa.textValue??""),dd=he(void 0,"radix-vue-select-item-text");async function _d(Id){await nextTick$1(),!(Id!=null&&Id.defaultPrevented)&&(ed.value||(td.onValueChange(qa.value),td.onOpenChange(!1)))}async function Ed(Id){var Bd;await nextTick$1(),!Id.defaultPrevented&&(ed.value?(Bd=rd.onItemLeave)==null||Bd.call(rd):Id.currentTarget.focus({preventScroll:!0}))}async function Ad(Id){var Bd;await nextTick$1(),!Id.defaultPrevented&&Id.currentTarget===document.activeElement&&((Bd=rd.onItemLeave)==null||Bd.call(rd))}async function Td(Id){var Bd;await nextTick$1(),!(Id.defaultPrevented||((Bd=rd.searchRef)==null?void 0:Bd.value)!==""&&Id.key===" ")&&(Op.includes(Id.key)&&_d(),Id.key===" "&&Id.preventDefault())}if(qa.value==="")throw new Error("A must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return onMounted(()=>{od.value&&rd.itemRefCallback(od.value,qa.value,qa.disabled)}),Kp({value:qa.value,disabled:ed,textId:dd,isSelected:ld,onItemTextChange:Id=>{cd.value=((cd.value||(Id==null?void 0:Id.textContent))??"").trim()}}),(Id,Bd)=>(openBlock(),createBlock(unref(O),{ref:unref(sd),role:"option","data-radix-vue-collection-item":"","aria-labelledby":unref(dd),"data-highlighted":ud.value?"":void 0,"aria-selected":ld.value,"data-state":ld.value?"checked":"unchecked","aria-disabled":unref(ed)||void 0,"data-disabled":unref(ed)?"":void 0,tabindex:unref(ed)?void 0:-1,as:Id.as,"as-child":Id.asChild,onFocus:Bd[0]||(Bd[0]=Rd=>ud.value=!0),onBlur:Bd[1]||(Bd[1]=Rd=>ud.value=!1),onPointerup:_d,onPointerdown:Bd[2]||(Bd[2]=Rd=>{Rd.currentTarget.focus({preventScroll:!0})}),onTouchend:Bd[3]||(Bd[3]=withModifiers(()=>{},["prevent","stop"])),onPointermove:Ed,onPointerleave:Ad,onKeydown:Td},{default:withCtx(()=>[renderSlot(Id.$slots,"default")]),_:3},8,["aria-labelledby","data-highlighted","aria-selected","data-state","aria-disabled","data-disabled","tabindex","as","as-child"]))}}),Ly=defineComponent({__name:"SelectItemIndicator",props:{asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const qa=Ra,ed=Ds();return(td,rd)=>unref(ed).isSelected.value?(openBlock(),createBlock(unref(O),mergeProps({key:0,"aria-hidden":"true"},qa),{default:withCtx(()=>[renderSlot(td.$slots,"default")]),_:3},16)):createCommentVNode("",!0)}}),Hy=defineComponent({inheritAttrs:!1,__name:"SelectItemText",props:{asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const qa=Ra,ed=bt(),td=Ct(aa),rd=Tp(),sd=Ds(),{forwardRef:od,currentElement:ld}=T(),ud=computed(()=>{var cd;return h$1("option",{key:sd.value,value:sd.value,disabled:sd.disabled.value,textContent:(cd=ld.value)==null?void 0:cd.textContent})});return onMounted(()=>{ld.value&&(sd.onItemTextChange(ld.value),td.itemTextRefCallback(ld.value,sd.value,sd.disabled.value),rd.onNativeOptionAdd(ud.value))}),onBeforeUnmount(()=>{rd.onNativeOptionRemove(ud.value)}),(cd,dd)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(O),mergeProps({id:unref(sd).textId,ref:unref(od)},{...qa,...cd.$attrs}),{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},16,["id"]),unref(sd).isSelected.value&&unref(ed).valueElement.value&&!unref(ed).valueElementHasChildren.value?(openBlock(),createBlock(Teleport$1,{key:0,to:unref(ed).valueElement.value},[renderSlot(cd.$slots,"default")],8,["to"])):createCommentVNode("",!0)],64))}}),Wy=defineComponent({__name:"SelectViewport",props:{nonce:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,{nonce:ed}=toRefs(qa),td=Xa(ed),rd=Ct(aa),sd=rd.position==="item-aligned"?$o():void 0,{forwardRef:od,currentElement:ld}=T();onMounted(()=>{rd==null||rd.onViewportChange(ld.value)});const ud=ref$1(0);function cd(dd){const _d=dd.currentTarget,{shouldExpandOnScrollRef:Ed,contentWrapper:Ad}=sd??{};if(Ed!=null&&Ed.value&&Ad!=null&&Ad.value){const Td=Math.abs(ud.value-_d.scrollTop);if(Td>0){const Id=window.innerHeight-at*2,Bd=Number.parseFloat(Ad.value.style.minHeight),Rd=Number.parseFloat(Ad.value.style.height),Od=Math.max(Bd,Rd);if(Od0?Fd:0,Ad.value.style.justifyContent="flex-end")}}}ud.value=_d.scrollTop}return(dd,_d)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(O),mergeProps({ref:unref(od),"data-radix-select-viewport":"",role:"presentation"},{...dd.$attrs,...qa},{style:{position:"relative",flex:1,overflow:"auto"},onScroll:cd}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16),createVNode(unref(O),{as:"style",nonce:unref(td)},{default:withCtx(()=>[createTextVNode(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-radix-select-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-radix-select-viewport]::-webkit-scrollbar { display: none; } ")]),_:1},8,["nonce"])],64))}}),$s=defineComponent({__name:"SelectScrollButtonImpl",emits:["autoScroll"],setup(Ra,{emit:qa}){const ed=qa,{injectCollection:td}=Me(),rd=td(),sd=Ct(aa),od=ref$1(null);function ld(){od.value!==null&&(window.clearInterval(od.value),od.value=null)}watchEffect(()=>{const dd=rd.value.find(_d=>_d===document.activeElement);dd==null||dd.scrollIntoView({block:"nearest"})});function ud(){od.value===null&&(od.value=window.setInterval(()=>{ed("autoScroll")},50))}function cd(){var dd;(dd=sd.onItemLeave)==null||dd.call(sd),od.value===null&&(od.value=window.setInterval(()=>{ed("autoScroll")},50))}return onBeforeUnmount(()=>ld()),(dd,_d)=>{var Ed;return openBlock(),createBlock(unref(O),mergeProps({"aria-hidden":"true",style:{flexShrink:0}},(Ed=dd.$parent)==null?void 0:Ed.$props,{onPointerdown:ud,onPointermove:cd,onPointerleave:_d[0]||(_d[0]=()=>{ld()})}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16)}}}),jy=defineComponent({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ct(aa),ed=qa.position==="item-aligned"?$o():void 0,{forwardRef:td,currentElement:rd}=T(),sd=ref$1(!1);return watchEffect(od=>{var ld,ud;if((ld=qa.viewport)!=null&&ld.value&&(ud=qa.isPositioned)!=null&&ud.value){let cd=function(){sd.value=dd.scrollTop>0};const dd=qa.viewport.value;cd(),dd.addEventListener("scroll",cd),od(()=>dd.removeEventListener("scroll",cd))}}),watch(rd,()=>{rd.value&&(ed==null||ed.onScrollButtonChange(rd.value))}),(od,ld)=>sd.value?(openBlock(),createBlock($s,{key:0,ref:unref(td),onAutoScroll:ld[0]||(ld[0]=()=>{const{viewport:ud,selectedItem:cd}=unref(qa);ud!=null&&ud.value&&cd!=null&&cd.value&&(ud.value.scrollTop=ud.value.scrollTop-cd.value.offsetHeight)})},{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},512)):createCommentVNode("",!0)}}),Uy=defineComponent({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ct(aa),ed=qa.position==="item-aligned"?$o():void 0,{forwardRef:td,currentElement:rd}=T(),sd=ref$1(!1);return watchEffect(od=>{var ld,ud;if((ld=qa.viewport)!=null&&ld.value&&(ud=qa.isPositioned)!=null&&ud.value){let cd=function(){const _d=dd.scrollHeight-dd.clientHeight;sd.value=Math.ceil(dd.scrollTop)<_d};const dd=qa.viewport.value;cd(),dd.addEventListener("scroll",cd),od(()=>dd.removeEventListener("scroll",cd))}}),watch(rd,()=>{rd.value&&(ed==null||ed.onScrollButtonChange(rd.value))}),(od,ld)=>sd.value?(openBlock(),createBlock($s,{key:0,ref:unref(td),onAutoScroll:ld[0]||(ld[0]=()=>{const{viewport:ud,selectedItem:cd}=unref(qa);ud!=null&&ud.value&&cd!=null&&cd.value&&(ud.value.scrollTop=ud.value.scrollTop+cd.value.offsetHeight)})},{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},512)):createCommentVNode("",!0)}}),Gy=defineComponent({__name:"SelectValue",props:{placeholder:{default:""},asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const{forwardRef:qa,currentElement:ed}=T(),td=bt(),rd=useSlots();return onBeforeMount(()=>{var sd;const od=!!Ua((sd=rd==null?void 0:rd.default)==null?void 0:sd.call(rd)).length;td.onValueElementHasChildrenChange(od)}),onMounted(()=>{td.valueElement=ed}),(sd,od)=>(openBlock(),createBlock(unref(O),{ref:unref(qa),as:sd.as,"as-child":sd.asChild,style:{pointerEvents:"none"}},{default:withCtx(()=>{var ld;return[unref(Ps)((ld=unref(td).modelValue)==null?void 0:ld.value)?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(sd.placeholder),1)],64)):renderSlot(sd.$slots,"default",{key:1})]}),_:3},8,["as","as-child"]))}}),qy=defineComponent({__name:"SelectIcon",props:{asChild:{type:Boolean},as:{default:"span"}},setup(Ra){return(qa,ed)=>(openBlock(),createBlock(unref(O),{"aria-hidden":"true",as:qa.as,"as-child":qa.asChild},{default:withCtx(()=>[renderSlot(qa.$slots,"default",{},()=>[createTextVNode("▼")])]),_:3},8,["as","as-child"]))}});function vf(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}vf();const _sfc_main$M=defineComponent({__name:"Button",props:{variant:{},size:{},class:{},asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra;return(ed,td)=>(openBlock(),createBlock(unref(O),{as:ed.as,"as-child":ed.asChild,class:normalizeClass(unref(cn)(unref(buttonVariants)({variant:ed.variant,size:ed.size}),qa.class))},{default:withCtx(()=>[renderSlot(ed.$slots,"default")]),_:3},8,["as","as-child","class"]))}}),buttonVariants=cva("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",xs:"h-7 rounded px-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),_sfc_main$L=defineComponent({__name:"Menubar",props:{modelValue:{},defaultValue:{},dir:{},loop:{type:Boolean},class:{}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const ed=Ra,td=qa,rd=computed(()=>{const{class:od,...ld}=ed;return ld}),sd=xe(rd,td);return(od,ld)=>(openBlock(),createBlock(unref(Vh),mergeProps(unref(sd),{class:unref(cn)("flex h-10 items-center gap-x-1 rounded-md border bg-background p-1",ed.class)}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["class"]))}});/** - * @license lucide-vue-next v0.441.0 - ISC +`))}return()=>ad.value||nd.value||ud.value?h$1(qa.default({present:ud})[0],{ref:pd=>{const fd=$e(pd);return typeof(fd==null?void 0:fd.hasAttribute)>"u"||(fd!=null&&fd.hasAttribute("data-radix-popper-content-wrapper")?sd.value=fd.firstElementChild:sd.value=fd),fd}}):null}}),[et,qi]=Q("DialogRoot"),Yi=defineComponent({__name:"DialogRoot",props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:!1},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(Ra,{emit:qa}){const td=Ra,rd=ne(td,"open",qa,{defaultValue:td.defaultOpen,passive:td.open===void 0}),nd=ref$1(),ad=ref$1(),{modal:sd}=toRefs(td);return qi({open:rd,modal:sd,openModal:()=>{rd.value=!0},onOpenChange:ud=>{rd.value=ud},onOpenToggle:()=>{rd.value=!rd.value},contentId:"",titleId:"",descriptionId:"",triggerElement:nd,contentElement:ad}),(ud,cd)=>renderSlot(ud.$slots,"default",{open:unref(rd)})}}),ht=defineComponent({__name:"Teleport",props:{to:{default:"body"},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=ja();return(td,rd)=>unref(qa)||td.forceMount?(openBlock(),createBlock(Teleport$1,{key:0,to:td.to,disabled:td.disabled},[renderSlot(td.$slots,"default")],8,["to","disabled"])):createCommentVNode("",!0)}}),_v=defineComponent({__name:"DialogPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(td,rd)=>(openBlock(),createBlock(unref(ht),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(td.$slots,"default")]),_:3},16))}}),Zi="dismissableLayer.pointerDownOutside",Ji="dismissableLayer.focusOutside";function Ll(Ra,qa){const td=qa.closest("[data-dismissable-layer]"),rd=Ra.dataset.dismissableLayer===""?Ra:Ra.querySelector("[data-dismissable-layer]"),nd=Array.from(Ra.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(td&&rd===td||nd.indexOf(rd){});return watchEffect(sd=>{if(!qe)return;const ud=async dd=>{const pd=dd.target;if(qa!=null&&qa.value){if(Ll(qa.value,pd)){nd.value=!1;return}if(dd.target&&!nd.value){let fd=function(){Kt(Zi,Ra,Td)};const Td={originalEvent:dd};dd.pointerType==="touch"?(rd.removeEventListener("click",ad.value),ad.value=fd,rd.addEventListener("click",ad.value,{once:!0})):fd()}else rd.removeEventListener("click",ad.value);nd.value=!1}},cd=window.setTimeout(()=>{rd.addEventListener("pointerdown",ud)},0);sd(()=>{window.clearTimeout(cd),rd.removeEventListener("pointerdown",ud),rd.removeEventListener("click",ad.value)})}),{onPointerDownCapture:()=>nd.value=!0}}function Kl(Ra,qa){var td;const rd=((td=qa==null?void 0:qa.value)==null?void 0:td.ownerDocument)??(globalThis==null?void 0:globalThis.document),nd=ref$1(!1);return watchEffect(ad=>{if(!qe)return;const sd=async ud=>{qa!=null&&qa.value&&(await nextTick$1(),!(!qa.value||Ll(qa.value,ud.target))&&ud.target&&!nd.value&&Kt(Ji,Ra,{originalEvent:ud}))};rd.addEventListener("focusin",sd),ad(()=>rd.removeEventListener("focusin",sd))}),{onFocusCapture:()=>nd.value=!0,onBlurCapture:()=>nd.value=!1}}const je=reactive({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),yt=defineComponent({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(Ra,{emit:qa}){const td=Ra,rd=qa,{forwardRef:nd,currentElement:ad}=R$1(),sd=computed(()=>{var Sd;return((Sd=ad.value)==null?void 0:Sd.ownerDocument)??globalThis.document}),ud=computed(()=>je.layersRoot),cd=computed(()=>ad.value?Array.from(ud.value).indexOf(ad.value):-1),dd=computed(()=>je.layersWithOutsidePointerEventsDisabled.size>0),pd=computed(()=>{const Sd=Array.from(ud.value),[Dd]=[...je.layersWithOutsidePointerEventsDisabled].slice(-1),Ld=Sd.indexOf(Dd);return cd.value>=Ld}),fd=zl(async Sd=>{const Dd=[...je.branches].some(Ld=>Ld==null?void 0:Ld.contains(Sd.target));!pd.value||Dd||(rd("pointerDownOutside",Sd),rd("interactOutside",Sd),await nextTick$1(),Sd.defaultPrevented||rd("dismiss"))},ad),Td=Kl(Sd=>{[...je.branches].some(Dd=>Dd==null?void 0:Dd.contains(Sd.target))||(rd("focusOutside",Sd),rd("interactOutside",Sd),Sd.defaultPrevented||rd("dismiss"))},ad);jn("Escape",Sd=>{cd.value===ud.value.size-1&&(rd("escapeKeyDown",Sd),Sd.defaultPrevented||rd("dismiss"))});let Ad;return watchEffect(Sd=>{ad.value&&(td.disableOutsidePointerEvents&&(je.layersWithOutsidePointerEventsDisabled.size===0&&(Ad=sd.value.body.style.pointerEvents,sd.value.body.style.pointerEvents="none"),je.layersWithOutsidePointerEventsDisabled.add(ad.value)),ud.value.add(ad.value),Sd(()=>{td.disableOutsidePointerEvents&&je.layersWithOutsidePointerEventsDisabled.size===1&&(sd.value.body.style.pointerEvents=Ad)}))}),watchEffect(Sd=>{Sd(()=>{ad.value&&(ud.value.delete(ad.value),je.layersWithOutsidePointerEventsDisabled.delete(ad.value))})}),(Sd,Dd)=>(openBlock(),createBlock(unref(O),{ref:unref(nd),"as-child":Sd.asChild,as:Sd.as,"data-dismissable-layer":"",style:normalizeStyle({pointerEvents:dd.value?pd.value?"auto":"none":void 0}),onFocusCapture:unref(Td).onFocusCapture,onBlurCapture:unref(Td).onBlurCapture,onPointerdownCapture:unref(fd).onPointerDownCapture},{default:withCtx(()=>[renderSlot(Sd.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),wn="focusScope.autoFocusOnMount",_n="focusScope.autoFocusOnUnmount",Wo={bubbles:!1,cancelable:!0};function Oa(Ra,{select:qa=!1}={}){const td=document.activeElement;for(const rd of Ra)if(dt(rd,{select:qa}),document.activeElement!==td)return!0}function eu(Ra){const qa=Jn(Ra),td=jo(qa,Ra),rd=jo(qa.reverse(),Ra);return[td,rd]}function Jn(Ra){const qa=[],td=document.createTreeWalker(Ra,NodeFilter.SHOW_ELEMENT,{acceptNode:rd=>{const nd=rd.tagName==="INPUT"&&rd.type==="hidden";return rd.disabled||rd.hidden||nd?NodeFilter.FILTER_SKIP:rd.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;td.nextNode();)qa.push(td.currentNode);return qa}function jo(Ra,qa){for(const td of Ra)if(!tu(td,{upTo:qa}))return td}function tu(Ra,{upTo:qa}){if(getComputedStyle(Ra).visibility==="hidden")return!0;for(;Ra;){if(qa!==void 0&&Ra===qa)return!1;if(getComputedStyle(Ra).display==="none")return!0;Ra=Ra.parentElement}return!1}function au(Ra){return Ra instanceof HTMLInputElement&&"select"in Ra}function dt(Ra,{select:qa=!1}={}){if(Ra&&Ra.focus){const td=document.activeElement;Ra.focus({preventScroll:!0}),Ra!==td&&au(Ra)&&qa&&Ra.select()}}const nu=Qr(()=>ref$1([]));function ou(){const Ra=nu();return{add(qa){const td=Ra.value[0];qa!==td&&(td==null||td.pause()),Ra.value=Uo(Ra.value,qa),Ra.value.unshift(qa)},remove(qa){var td;Ra.value=Uo(Ra.value,qa),(td=Ra.value[0])==null||td.resume()}}}function Uo(Ra,qa){const td=[...Ra],rd=td.indexOf(qa);return rd!==-1&&td.splice(rd,1),td}function lu(Ra){return Ra.filter(qa=>qa.tagName!=="A")}const Ya=defineComponent({__name:"FocusScope",props:{loop:{type:Boolean,default:!1},trapped:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["mountAutoFocus","unmountAutoFocus"],setup(Ra,{emit:qa}){const td=Ra,rd=qa,{currentRef:nd,currentElement:ad}=R$1(),sd=ref$1(null),ud=ou(),cd=reactive({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});watchEffect(pd=>{if(!qe)return;const fd=ad.value;if(!td.trapped)return;function Td(Ld){if(cd.paused||!fd)return;const Rd=Ld.target;fd.contains(Rd)?sd.value=Rd:dt(sd.value,{select:!0})}function Ad(Ld){if(cd.paused||!fd)return;const Rd=Ld.relatedTarget;Rd!==null&&(fd.contains(Rd)||dt(sd.value,{select:!0}))}function Sd(Ld){fd.contains(sd.value)||dt(fd)}document.addEventListener("focusin",Td),document.addEventListener("focusout",Ad);const Dd=new MutationObserver(Sd);fd&&Dd.observe(fd,{childList:!0,subtree:!0}),pd(()=>{document.removeEventListener("focusin",Td),document.removeEventListener("focusout",Ad),Dd.disconnect()})}),watchEffect(async pd=>{const fd=ad.value;if(await nextTick$1(),!fd)return;ud.add(cd);const Td=document.activeElement;if(!fd.contains(Td)){const Ad=new CustomEvent(wn,Wo);fd.addEventListener(wn,Sd=>rd("mountAutoFocus",Sd)),fd.dispatchEvent(Ad),Ad.defaultPrevented||(Oa(lu(Jn(fd)),{select:!0}),document.activeElement===Td&&dt(fd))}pd(()=>{fd.removeEventListener(wn,Dd=>rd("mountAutoFocus",Dd));const Ad=new CustomEvent(_n,Wo),Sd=Dd=>{rd("unmountAutoFocus",Dd)};fd.addEventListener(_n,Sd),fd.dispatchEvent(Ad),setTimeout(()=>{Ad.defaultPrevented||dt(Td??document.body,{select:!0}),fd.removeEventListener(_n,Sd),ud.remove(cd)},0)})});function dd(pd){if(!td.loop&&!td.trapped||cd.paused)return;const fd=pd.key==="Tab"&&!pd.altKey&&!pd.ctrlKey&&!pd.metaKey,Td=document.activeElement;if(fd&&Td){const Ad=pd.currentTarget,[Sd,Dd]=eu(Ad);Sd&&Dd?!pd.shiftKey&&Td===Dd?(pd.preventDefault(),td.loop&&dt(Sd,{select:!0})):pd.shiftKey&&Td===Sd&&(pd.preventDefault(),td.loop&&dt(Dd,{select:!0})):Td===Ad&&pd.preventDefault()}}return(pd,fd)=>(openBlock(),createBlock(unref(O),{ref_key:"currentRef",ref:nd,tabindex:"-1","as-child":pd.asChild,as:pd.as,onKeydown:dd},{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},8,["as-child","as"]))}}),su="menu.itemSelect",Dn=["Enter"," "],ru=["ArrowDown","PageUp","Home"],Hl=["ArrowUp","PageDown","End"],iu=[...ru,...Hl],uu={ltr:[...Dn,"ArrowRight"],rtl:[...Dn,"ArrowLeft"]},du={ltr:["ArrowLeft"],rtl:["ArrowRight"]};function Qn(Ra){return Ra?"open":"closed"}function $n(Ra){const qa=document.activeElement;for(const td of Ra)if(td===qa||(td.focus(),document.activeElement!==qa))return}function cu(Ra,qa){const{x:td,y:rd}=Ra;let nd=!1;for(let ad=0,sd=qa.length-1;adrd!=pd>rd&&td<(dd-ud)*(rd-cd)/(pd-cd)+ud&&(nd=!nd)}return nd}function pu(Ra,qa){if(!qa)return!1;const td={x:Ra.clientX,y:Ra.clientY};return cu(td,qa)}function ua(Ra){return Ra.pointerType==="mouse"}const Wl=defineComponent({__name:"DialogContentImpl",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const td=Ra,rd=qa,nd=et(),{forwardRef:ad,currentElement:sd}=R$1();return nd.titleId||(nd.titleId=he(void 0,"radix-vue-dialog-title")),nd.descriptionId||(nd.descriptionId=he(void 0,"radix-vue-dialog-description")),onMounted(()=>{nd.contentElement=sd,document.activeElement!==document.body&&(nd.triggerElement.value=document.activeElement)}),(ud,cd)=>(openBlock(),createBlock(unref(Ya),{"as-child":"",loop:"",trapped:td.trapFocus,onMountAutoFocus:cd[5]||(cd[5]=dd=>rd("openAutoFocus",dd)),onUnmountAutoFocus:cd[6]||(cd[6]=dd=>rd("closeAutoFocus",dd))},{default:withCtx(()=>[createVNode(unref(yt),mergeProps({id:unref(nd).contentId,ref:unref(ad),as:ud.as,"as-child":ud.asChild,"disable-outside-pointer-events":ud.disableOutsidePointerEvents,role:"dialog","aria-describedby":unref(nd).descriptionId,"aria-labelledby":unref(nd).titleId,"data-state":unref(Qn)(unref(nd).open.value)},ud.$attrs,{onDismiss:cd[0]||(cd[0]=dd=>unref(nd).onOpenChange(!1)),onEscapeKeyDown:cd[1]||(cd[1]=dd=>rd("escapeKeyDown",dd)),onFocusOutside:cd[2]||(cd[2]=dd=>rd("focusOutside",dd)),onInteractOutside:cd[3]||(cd[3]=dd=>rd("interactOutside",dd)),onPointerDownOutside:cd[4]||(cd[4]=dd=>rd("pointerDownOutside",dd))}),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16,["id","as","as-child","disable-outside-pointer-events","aria-describedby","aria-labelledby","data-state"])]),_:3},8,["trapped"]))}}),hu=defineComponent({__name:"DialogContentModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const td=Ra,rd=qa,nd=et(),ad=Re(rd),{forwardRef:sd,currentElement:ud}=R$1();return ya(ud),(cd,dd)=>(openBlock(),createBlock(Wl,mergeProps({...td,...unref(ad)},{ref:unref(sd),"trap-focus":unref(nd).open.value,"disable-outside-pointer-events":!0,onCloseAutoFocus:dd[0]||(dd[0]=pd=>{var fd;pd.defaultPrevented||(pd.preventDefault(),(fd=unref(nd).triggerElement.value)==null||fd.focus())}),onPointerDownOutside:dd[1]||(dd[1]=pd=>{const fd=pd.detail.originalEvent,Td=fd.button===0&&fd.ctrlKey===!0;(fd.button===2||Td)&&pd.preventDefault()}),onFocusOutside:dd[2]||(dd[2]=pd=>{pd.preventDefault()})}),{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},16,["trap-focus"]))}}),yu=defineComponent({__name:"DialogContentNonModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const td=Ra,rd=Re(qa);R$1();const nd=et(),ad=ref$1(!1),sd=ref$1(!1);return(ud,cd)=>(openBlock(),createBlock(Wl,mergeProps({...td,...unref(rd)},{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:cd[0]||(cd[0]=dd=>{var pd;dd.defaultPrevented||(ad.value||(pd=unref(nd).triggerElement.value)==null||pd.focus(),dd.preventDefault()),ad.value=!1,sd.value=!1}),onInteractOutside:cd[1]||(cd[1]=dd=>{var pd;dd.defaultPrevented||(ad.value=!0,dd.detail.originalEvent.type==="pointerdown"&&(sd.value=!0));const fd=dd.target;(pd=unref(nd).triggerElement.value)!=null&&pd.contains(fd)&&dd.preventDefault(),dd.detail.originalEvent.type==="focusin"&&sd.value&&dd.preventDefault()})}),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),gu=defineComponent({__name:"DialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const td=Ra,rd=qa,nd=et(),ad=Re(rd),{forwardRef:sd}=R$1();return(ud,cd)=>(openBlock(),createBlock(unref(Pe),{present:ud.forceMount||unref(nd).open.value},{default:withCtx(()=>[unref(nd).modal.value?(openBlock(),createBlock(hu,mergeProps({key:0,ref:unref(sd)},{...td,...unref(ad),...ud.$attrs}),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16)):(openBlock(),createBlock(yu,mergeProps({key:1,ref:unref(sd)},{...td,...unref(ad),...ud.$attrs}),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),bu=defineComponent({__name:"DialogOverlayImpl",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=et();return ha(!0),R$1(),(td,rd)=>(openBlock(),createBlock(unref(O),{as:td.as,"as-child":td.asChild,"data-state":unref(qa).open.value?"open":"closed",style:{"pointer-events":"auto"}},{default:withCtx(()=>[renderSlot(td.$slots,"default")]),_:3},8,["as","as-child","data-state"]))}}),Cu=defineComponent({__name:"DialogOverlay",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const qa=et(),{forwardRef:td}=R$1();return(rd,nd)=>{var ad;return(ad=unref(qa))!=null&&ad.modal.value?(openBlock(),createBlock(unref(Pe),{key:0,present:rd.forceMount||unref(qa).open.value},{default:withCtx(()=>[createVNode(bu,mergeProps(rd.$attrs,{ref:unref(td),as:rd.as,"as-child":rd.asChild}),{default:withCtx(()=>[renderSlot(rd.$slots,"default")]),_:3},16,["as","as-child"])]),_:3},8,["present"])):createCommentVNode("",!0)}}}),jl=defineComponent({__name:"DialogClose",props:{asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra;R$1();const td=et();return(rd,nd)=>(openBlock(),createBlock(unref(O),mergeProps(qa,{type:rd.as==="button"?"button":void 0,onClick:nd[0]||(nd[0]=ad=>unref(td).onOpenChange(!1))}),{default:withCtx(()=>[renderSlot(rd.$slots,"default")]),_:3},16,["type"]))}}),wu=defineComponent({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{default:"h2"}},setup(Ra){const qa=Ra,td=et();return R$1(),(rd,nd)=>(openBlock(),createBlock(unref(O),mergeProps(qa,{id:unref(td).titleId}),{default:withCtx(()=>[renderSlot(rd.$slots,"default")]),_:3},16,["id"]))}}),[Yl,Xu]=Q("PopperRoot"),Tt=defineComponent({__name:"PopperRoot",setup(Ra){const qa=ref$1();return Xu({anchor:qa,onAnchorChange:td=>qa.value=td}),(td,rd)=>renderSlot(td.$slots,"default")}}),Rt=defineComponent({__name:"PopperAnchor",props:{element:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,{forwardRef:td,currentElement:rd}=R$1(),nd=Yl();return watchEffect(()=>{nd.onAnchorChange(qa.element??rd.value)}),(ad,sd)=>(openBlock(),createBlock(unref(O),{ref:unref(td),as:ad.as,"as-child":ad.asChild},{default:withCtx(()=>[renderSlot(ad.$slots,"default")]),_:3},8,["as","as-child"]))}});function Zu(Ra){return Ra!==null}function Ju(Ra){return{name:"transformOrigin",options:Ra,fn(qa){var td,rd,nd;const{placement:ad,rects:sd,middlewareData:ud}=qa,cd=((td=ud.arrow)==null?void 0:td.centerOffset)!==0,dd=cd?0:Ra.arrowWidth,pd=cd?0:Ra.arrowHeight,[fd,Td]=Bn(ad),Ad={start:"0%",center:"50%",end:"100%"}[Td],Sd=(((rd=ud.arrow)==null?void 0:rd.x)??0)+dd/2,Dd=(((nd=ud.arrow)==null?void 0:nd.y)??0)+pd/2;let Ld="",Rd="";return fd==="bottom"?(Ld=cd?Ad:`${Sd}px`,Rd=`${-pd}px`):fd==="top"?(Ld=cd?Ad:`${Sd}px`,Rd=`${sd.floating.height+pd}px`):fd==="right"?(Ld=`${-pd}px`,Rd=cd?Ad:`${Dd}px`):fd==="left"&&(Ld=`${sd.floating.width+pd}px`,Rd=cd?Ad:`${Dd}px`),{data:{x:Ld,y:Rd}}}}}function Bn(Ra){const[qa,td="center"]=Ra.split("-");return[qa,td]}const Xl={side:"bottom",sideOffset:0,align:"center",alignOffset:0,arrowPadding:0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,updatePositionStrategy:"optimized",prioritizePosition:!1},[Qu,ed]=Q("PopperContent"),Dt=defineComponent({inheritAttrs:!1,__name:"PopperContent",props:mergeDefaults({side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},{...Xl}),emits:["placed"],setup(Ra,{emit:qa}){const td=Ra,rd=qa,nd=Yl(),{forwardRef:ad,currentElement:sd}=R$1(),ud=ref$1(),cd=ref$1(),{width:dd,height:pd}=kl(cd),fd=computed(()=>td.side+(td.align!=="center"?`-${td.align}`:"")),Td=computed(()=>typeof td.collisionPadding=="number"?td.collisionPadding:{top:0,right:0,bottom:0,left:0,...td.collisionPadding}),Ad=computed(()=>Array.isArray(td.collisionBoundary)?td.collisionBoundary:[td.collisionBoundary]),Sd=computed(()=>({padding:Td.value,boundary:Ad.value.filter(Zu),altBoundary:Ad.value.length>0})),Dd=Zr(()=>[offset({mainAxis:td.sideOffset+pd.value,alignmentAxis:td.alignOffset}),td.prioritizePosition&&td.avoidCollisions&&flip({...Sd.value}),td.avoidCollisions&&shift({mainAxis:!0,crossAxis:!!td.prioritizePosition,limiter:td.sticky==="partial"?limitShift():void 0,...Sd.value}),!td.prioritizePosition&&td.avoidCollisions&&flip({...Sd.value}),size({...Sd.value,apply:({elements:Qd,rects:Jd,availableWidth:hf,availableHeight:bf})=>{const{width:Ef,height:_f}=Jd.reference,vf=Qd.floating.style;vf.setProperty("--radix-popper-available-width",`${hf}px`),vf.setProperty("--radix-popper-available-height",`${bf}px`),vf.setProperty("--radix-popper-anchor-width",`${Ef}px`),vf.setProperty("--radix-popper-anchor-height",`${_f}px`)}}),cd.value&&arrow({element:cd.value,padding:td.arrowPadding}),Ju({arrowWidth:dd.value,arrowHeight:pd.value}),td.hideWhenDetached&&hide({strategy:"referenceHidden",...Sd.value})]),{floatingStyles:Ld,placement:Rd,isPositioned:Od,middlewareData:Md}=useFloating(nd.anchor,ud,{strategy:"fixed",placement:fd,whileElementsMounted:(...Qd)=>autoUpdate(...Qd,{animationFrame:td.updatePositionStrategy==="always"}),middleware:Dd}),jd=computed(()=>Bn(Rd.value)[0]),Ud=computed(()=>Bn(Rd.value)[1]);watchPostEffect(()=>{Od.value&&rd("placed")});const Hd=computed(()=>{var Qd;return((Qd=Md.value.arrow)==null?void 0:Qd.centerOffset)!==0}),zd=ref$1("");watchEffect(()=>{sd.value&&(zd.value=window.getComputedStyle(sd.value).zIndex)});const Zd=computed(()=>{var Qd;return((Qd=Md.value.arrow)==null?void 0:Qd.x)??0}),Wd=computed(()=>{var Qd;return((Qd=Md.value.arrow)==null?void 0:Qd.y)??0});return ed({placedSide:jd,onArrowChange:Qd=>cd.value=Qd,arrowX:Zd,arrowY:Wd,shouldHideArrow:Hd}),(Qd,Jd)=>{var hf,bf,Ef;return openBlock(),createElementBlock("div",{ref_key:"floatingRef",ref:ud,"data-radix-popper-content-wrapper":"",style:normalizeStyle({...unref(Ld),transform:unref(Od)?unref(Ld).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:zd.value,"--radix-popper-transform-origin":[(hf=unref(Md).transformOrigin)==null?void 0:hf.x,(bf=unref(Md).transformOrigin)==null?void 0:bf.y].join(" "),...((Ef=unref(Md).hide)==null?void 0:Ef.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}})},[createVNode(unref(O),mergeProps({ref:unref(ad)},Qd.$attrs,{"as-child":td.asChild,as:Qd.as,"data-side":jd.value,"data-align":Ud.value,style:{animation:unref(Od)?void 0:"none"}}),{default:withCtx(()=>[renderSlot(Qd.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4)}}}),Xt=defineComponent({__name:"VisuallyHidden",props:{asChild:{type:Boolean},as:{default:"span"}},setup(Ra){return R$1(),(qa,td)=>(openBlock(),createBlock(unref(O),{as:qa.as,"as-child":qa.asChild,style:{position:"absolute",border:0,width:"1px",display:"inline-block",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}},{default:withCtx(()=>[renderSlot(qa.$slots,"default")]),_:3},8,["as","as-child"]))}}),od="data-radix-vue-collection-item",[ao,ld]=Q("CollectionProvider");function ba(Ra=od){const qa=ref$1(new Map),td=ref$1(),rd=ld({collectionRef:td,itemMap:qa,attrName:Ra}),{getItems:nd}=Jt(rd),ad=computed(()=>Array.from(rd.itemMap.value.values())),sd=computed(()=>rd.itemMap.value.size);return{getItems:nd,reactiveItems:ad,itemMapSize:sd}}const Ca=defineComponent({name:"CollectionSlot",setup(Ra,{slots:qa}){const td=ao(),{primitiveElement:rd,currentElement:nd}=ke();return watch(nd,()=>{td.collectionRef.value=nd.value}),()=>h$1(Xn,{ref:rd},qa)}}),Zt=defineComponent({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(Ra,{slots:qa,attrs:td}){const rd=ao(),{primitiveElement:nd,currentElement:ad}=ke();return watchEffect(sd=>{if(ad.value){const ud=markRaw(ad.value);rd.itemMap.value.set(ud,{ref:ad.value,value:Ra.value}),sd(()=>rd.itemMap.value.delete(ud))}}),()=>h$1(Xn,{...td,[rd.attrName]:"",ref:nd},qa)}});function Jt(Ra){const qa=Ra??ao();return{getItems:()=>{const td=qa.collectionRef.value;if(!td)return[];const rd=Array.from(td.querySelectorAll(`[${qa.attrName}]`));return Array.from(qa.itemMap.value.values()).sort((nd,ad)=>rd.indexOf(nd.ref)-rd.indexOf(ad.ref))}}}function Xa(Ra){const qa=Ga({nonce:ref$1()});return computed(()=>{var td;return(Ra==null?void 0:Ra.value)||((td=qa.nonce)==null?void 0:td.value)})}const Za=defineComponent({__name:"MenuAnchor",props:{element:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(td,rd)=>(openBlock(),createBlock(unref(Rt),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(td.$slots,"default")]),_:3},16))}});function vd(){const Ra=ref$1(!1);return onMounted(()=>{Le("keydown",()=>{Ra.value=!0},{capture:!0,passive:!0}),Le(["pointerdown","pointermove"],()=>{Ra.value=!1},{capture:!0,passive:!0})}),Ra}const md=xl(vd),[At,Jl]=Q(["MenuRoot","MenuSub"],"MenuContext"),[wa,hd]=Q("MenuRoot"),oo=defineComponent({__name:"MenuRoot",props:{open:{type:Boolean,default:!1},dir:{},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(Ra,{emit:qa}){const td=Ra,rd=qa,{modal:nd,dir:ad}=toRefs(td),sd=be(ad),ud=ne(td,"open",rd),cd=ref$1(),dd=md();return Jl({open:ud,onOpenChange:pd=>{ud.value=pd},content:cd,onContentChange:pd=>{cd.value=pd}}),hd({onClose:()=>{ud.value=!1},isUsingKeyboardRef:dd,dir:sd,modal:nd}),(pd,fd)=>(openBlock(),createBlock(unref(Tt),null,{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3}))}}),yd="rovingFocusGroup.onEntryFocus",gd={bubbles:!1,cancelable:!0},Ja={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function bd(Ra,qa){return qa!=="rtl"?Ra:Ra==="ArrowLeft"?"ArrowRight":Ra==="ArrowRight"?"ArrowLeft":Ra}function Ql(Ra,qa,td){const rd=bd(Ra.key,td);if(!(qa==="vertical"&&["ArrowLeft","ArrowRight"].includes(rd))&&!(qa==="horizontal"&&["ArrowUp","ArrowDown"].includes(rd)))return Ja[rd]}function es(Ra,qa=!1){const td=document.activeElement;for(const rd of Ra)if(rd===td||(rd.focus({preventScroll:qa}),document.activeElement!==td))return}function Cd(Ra,qa){return Ra.map((td,rd)=>Ra[(qa+rd)%Ra.length])}const[wd,_d]=Q("RovingFocusGroup"),Ot=defineComponent({__name:"RovingFocusGroup",props:{orientation:{default:void 0},dir:{},loop:{type:Boolean,default:!1},currentTabStopId:{},defaultCurrentTabStopId:{},preventScrollOnEntryFocus:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["entryFocus","update:currentTabStopId"],setup(Ra,{expose:qa,emit:td}){const rd=Ra,nd=td,{loop:ad,orientation:sd,dir:ud}=toRefs(rd),cd=be(ud),dd=ne(rd,"currentTabStopId",nd,{defaultValue:rd.defaultCurrentTabStopId,passive:rd.currentTabStopId===void 0}),pd=ref$1(!1),fd=ref$1(!1),Td=ref$1(0),{getItems:Ad}=ba();function Sd(Ld){const Rd=!fd.value;if(Ld.currentTarget&&Ld.target===Ld.currentTarget&&Rd&&!pd.value){const Od=new CustomEvent(yd,gd);if(Ld.currentTarget.dispatchEvent(Od),nd("entryFocus",Od),!Od.defaultPrevented){const Md=Ad().map(zd=>zd.ref).filter(zd=>zd.dataset.disabled!==""),jd=Md.find(zd=>zd.getAttribute("data-active")==="true"),Ud=Md.find(zd=>zd.id===dd.value),Hd=[jd,Ud,...Md].filter(Boolean);es(Hd,rd.preventScrollOnEntryFocus)}}fd.value=!1}function Dd(){setTimeout(()=>{fd.value=!1},1)}return qa({getItems:Ad}),_d({loop:ad,dir:cd,orientation:sd,currentTabStopId:dd,onItemFocus:Ld=>{dd.value=Ld},onItemShiftTab:()=>{pd.value=!0},onFocusableItemAdd:()=>{Td.value++},onFocusableItemRemove:()=>{Td.value--}}),(Ld,Rd)=>(openBlock(),createBlock(unref(Ca),null,{default:withCtx(()=>[createVNode(unref(O),{tabindex:pd.value||Td.value===0?-1:0,"data-orientation":unref(sd),as:Ld.as,"as-child":Ld.asChild,dir:unref(cd),style:{outline:"none"},onMousedown:Rd[0]||(Rd[0]=Od=>fd.value=!0),onMouseup:Dd,onFocus:Sd,onBlur:Rd[1]||(Rd[1]=Od=>pd.value=!1)},{default:withCtx(()=>[renderSlot(Ld.$slots,"default")]),_:3},8,["tabindex","data-orientation","as","as-child","dir"])]),_:3}))}}),kt=defineComponent({__name:"RovingFocusItem",props:{tabStopId:{},focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!0},allowShiftKey:{type:Boolean},asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const qa=Ra,td=wd(),rd=computed(()=>qa.tabStopId||he()),nd=computed(()=>td.currentTabStopId.value===rd.value),{getItems:ad}=Jt();onMounted(()=>{qa.focusable&&td.onFocusableItemAdd()}),onUnmounted(()=>{qa.focusable&&td.onFocusableItemRemove()});function sd(ud){if(ud.key==="Tab"&&ud.shiftKey){td.onItemShiftTab();return}if(ud.target!==ud.currentTarget)return;const cd=Ql(ud,td.orientation.value,td.dir.value);if(cd!==void 0){if(ud.metaKey||ud.ctrlKey||ud.altKey||!qa.allowShiftKey&&ud.shiftKey)return;ud.preventDefault();let dd=[...ad().map(pd=>pd.ref).filter(pd=>pd.dataset.disabled!=="")];if(cd==="last")dd.reverse();else if(cd==="prev"||cd==="next"){cd==="prev"&&dd.reverse();const pd=dd.indexOf(ud.currentTarget);dd=td.loop.value?Cd(dd,pd+1):dd.slice(pd+1)}nextTick$1(()=>es(dd))}}return(ud,cd)=>(openBlock(),createBlock(unref(Zt),null,{default:withCtx(()=>[createVNode(unref(O),{tabindex:nd.value?0:-1,"data-orientation":unref(td).orientation.value,"data-active":ud.active,"data-disabled":ud.focusable?void 0:"",as:ud.as,"as-child":ud.asChild,onMousedown:cd[0]||(cd[0]=dd=>{ud.focusable?unref(td).onItemFocus(rd.value):dd.preventDefault()}),onFocus:cd[1]||(cd[1]=dd=>unref(td).onItemFocus(rd.value)),onKeydown:sd},{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},8,["tabindex","data-orientation","data-active","data-disabled","as","as-child"])]),_:3}))}}),[lo,xd]=Q("MenuContent"),so=defineComponent({__name:"MenuContentImpl",props:mergeDefaults({loop:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},disableOutsideScroll:{type:Boolean},trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},{...Xl}),emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus","dismiss"],setup(Ra,{emit:qa}){const td=Ra,rd=qa,nd=At(),ad=wa(),{trapFocus:sd,disableOutsidePointerEvents:ud,loop:cd}=toRefs(td);Gn(),ha(ud.value);const dd=ref$1(""),pd=ref$1(0),fd=ref$1(0),Td=ref$1(null),Ad=ref$1("right"),Sd=ref$1(0),Dd=ref$1(null),{createCollection:Ld}=Me(),{forwardRef:Rd,currentElement:Od}=R$1(),Md=Ld(Od);watch(Od,Qd=>{nd.onContentChange(Qd)});const{handleTypeaheadSearch:jd}=ga(Md);onUnmounted(()=>{window.clearTimeout(pd.value)});function Ud(Qd){var Jd,hf;return Ad.value===((Jd=Td.value)==null?void 0:Jd.side)&&pu(Qd,(hf=Td.value)==null?void 0:hf.area)}async function Hd(Qd){var Jd;rd("openAutoFocus",Qd),!Qd.defaultPrevented&&(Qd.preventDefault(),(Jd=Od.value)==null||Jd.focus({preventScroll:!0}))}function zd(Qd){if(Qd.defaultPrevented)return;const Jd=Qd.target.closest("[data-radix-menu-content]")===Qd.currentTarget,hf=Qd.ctrlKey||Qd.altKey||Qd.metaKey,bf=Qd.key.length===1,Ef=Bt(Qd,document.activeElement,Od.value,{loop:cd.value,arrowKeyOptions:"vertical",dir:ad==null?void 0:ad.dir.value,focus:!0,attributeName:"[data-radix-vue-collection-item]:not([data-disabled])"});if(Ef)return Ef==null?void 0:Ef.focus();if(Qd.code==="Space"||(Jd&&(Qd.key==="Tab"&&Qd.preventDefault(),!hf&&bf&&jd(Qd.key)),Qd.target!==Od.value)||!iu.includes(Qd.key))return;Qd.preventDefault();const _f=Md.value;Hl.includes(Qd.key)&&_f.reverse(),$n(_f)}function Zd(Qd){var Jd,hf;(hf=(Jd=Qd==null?void 0:Qd.currentTarget)==null?void 0:Jd.contains)!=null&&hf.call(Jd,Qd.target)||(window.clearTimeout(pd.value),dd.value="")}function Wd(Qd){var Jd;if(!ua(Qd))return;const hf=Qd.target,bf=Sd.value!==Qd.clientX;if((Jd=Qd==null?void 0:Qd.currentTarget)!=null&&Jd.contains(hf)&&bf){const Ef=Qd.clientX>Sd.value?"right":"left";Ad.value=Ef,Sd.value=Qd.clientX}}return xd({onItemEnter:Qd=>!!Ud(Qd),onItemLeave:Qd=>{var Jd;Ud(Qd)||((Jd=Od.value)==null||Jd.focus(),Dd.value=null)},onTriggerLeave:Qd=>!!Ud(Qd),searchRef:dd,pointerGraceTimerRef:fd,onPointerGraceIntentChange:Qd=>{Td.value=Qd}}),(Qd,Jd)=>(openBlock(),createBlock(unref(Ya),{"as-child":"",trapped:unref(sd),onMountAutoFocus:Hd,onUnmountAutoFocus:Jd[7]||(Jd[7]=hf=>rd("closeAutoFocus",hf))},{default:withCtx(()=>[createVNode(unref(yt),{"as-child":"","disable-outside-pointer-events":unref(ud),onEscapeKeyDown:Jd[2]||(Jd[2]=hf=>rd("escapeKeyDown",hf)),onPointerDownOutside:Jd[3]||(Jd[3]=hf=>rd("pointerDownOutside",hf)),onFocusOutside:Jd[4]||(Jd[4]=hf=>rd("focusOutside",hf)),onInteractOutside:Jd[5]||(Jd[5]=hf=>rd("interactOutside",hf)),onDismiss:Jd[6]||(Jd[6]=hf=>rd("dismiss"))},{default:withCtx(()=>[createVNode(unref(Ot),{"current-tab-stop-id":Dd.value,"onUpdate:currentTabStopId":Jd[0]||(Jd[0]=hf=>Dd.value=hf),"as-child":"",orientation:"vertical",dir:unref(ad).dir.value,loop:unref(cd),onEntryFocus:Jd[1]||(Jd[1]=hf=>{rd("entryFocus",hf),unref(ad).isUsingKeyboardRef.value||hf.preventDefault()})},{default:withCtx(()=>[createVNode(unref(Dt),{ref:unref(Rd),role:"menu",as:Qd.as,"as-child":Qd.asChild,"aria-orientation":"vertical","data-radix-menu-content":"","data-state":unref(Qn)(unref(nd).open.value),dir:unref(ad).dir.value,side:Qd.side,"side-offset":Qd.sideOffset,align:Qd.align,"align-offset":Qd.alignOffset,"avoid-collisions":Qd.avoidCollisions,"collision-boundary":Qd.collisionBoundary,"collision-padding":Qd.collisionPadding,"arrow-padding":Qd.arrowPadding,"prioritize-position":Qd.prioritizePosition,sticky:Qd.sticky,"hide-when-detached":Qd.hideWhenDetached,onKeydown:zd,onBlur:Zd,onPointermove:Wd},{default:withCtx(()=>[renderSlot(Qd.$slots,"default")]),_:3},8,["as","as-child","data-state","dir","side","side-offset","align","align-offset","avoid-collisions","collision-boundary","collision-padding","arrow-padding","prioritize-position","sticky","hide-when-detached"])]),_:3},8,["current-tab-stop-id","dir","loop"])]),_:3},8,["disable-outside-pointer-events"])]),_:3},8,["trapped"]))}}),ts=defineComponent({inheritAttrs:!1,__name:"MenuItemImpl",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,td=lo(),{forwardRef:rd}=R$1(),nd=ref$1(!1);async function ad(ud){if(!ud.defaultPrevented&&ua(ud)){if(qa.disabled)td.onItemLeave(ud);else if(!td.onItemEnter(ud)){const cd=ud.currentTarget;cd==null||cd.focus({preventScroll:!0})}}}async function sd(ud){await nextTick$1(),!ud.defaultPrevented&&ua(ud)&&td.onItemLeave(ud)}return(ud,cd)=>(openBlock(),createBlock(unref(Zt),null,{default:withCtx(()=>[createVNode(unref(O),mergeProps({ref:unref(rd),role:"menuitem",tabindex:"-1"},ud.$attrs,{as:ud.as,"as-child":ud.asChild,"data-radix-vue-collection-item":"","aria-disabled":ud.disabled||void 0,"data-disabled":ud.disabled?"":void 0,"data-highlighted":nd.value?"":void 0,onPointermove:ad,onPointerleave:sd,onFocus:cd[0]||(cd[0]=async dd=>{await nextTick$1(),!(dd.defaultPrevented||ud.disabled)&&(nd.value=!0)}),onBlur:cd[1]||(cd[1]=async dd=>{await nextTick$1(),!dd.defaultPrevented&&(nd.value=!1)})}),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16,["as","as-child","aria-disabled","data-disabled","data-highlighted"])]),_:3}))}}),_a$1=defineComponent({__name:"MenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(Ra,{emit:qa}){const td=Ra,rd=qa,{forwardRef:nd,currentElement:ad}=R$1(),sd=wa(),ud=lo(),cd=ref$1(!1);async function dd(){const pd=ad.value;if(!td.disabled&&pd){const fd=new CustomEvent(su,{bubbles:!0,cancelable:!0});rd("select",fd),await nextTick$1(),fd.defaultPrevented?cd.value=!1:sd.onClose()}}return(pd,fd)=>(openBlock(),createBlock(ts,mergeProps(td,{ref:unref(nd),onClick:dd,onPointerdown:fd[0]||(fd[0]=()=>{cd.value=!0}),onPointerup:fd[1]||(fd[1]=async Td=>{var Ad;await nextTick$1(),!Td.defaultPrevented&&(cd.value||(Ad=Td.currentTarget)==null||Ad.click())}),onKeydown:fd[2]||(fd[2]=async Td=>{const Ad=unref(ud).searchRef.value!=="";pd.disabled||Ad&&Td.key===" "||unref(Dn).includes(Td.key)&&(Td.currentTarget.click(),Td.preventDefault())})}),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16))}}),Ed=defineComponent({__name:"MenuRootContentModal",props:{loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const td=Ra,rd=qa,nd=xe(td,rd),ad=At(),{forwardRef:sd,currentElement:ud}=R$1();return ya(ud),(cd,dd)=>(openBlock(),createBlock(so,mergeProps(unref(nd),{ref:unref(sd),"trap-focus":unref(ad).open.value,"disable-outside-pointer-events":unref(ad).open.value,"disable-outside-scroll":!0,onDismiss:dd[0]||(dd[0]=pd=>unref(ad).onOpenChange(!1)),onFocusOutside:dd[1]||(dd[1]=withModifiers(pd=>rd("focusOutside",pd),["prevent"]))}),{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},16,["trap-focus","disable-outside-pointer-events"]))}}),Pd=defineComponent({__name:"MenuRootContentNonModal",props:{loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const td=xe(Ra,qa),rd=At();return(nd,ad)=>(openBlock(),createBlock(so,mergeProps(unref(td),{"trap-focus":!1,"disable-outside-pointer-events":!1,"disable-outside-scroll":!1,onDismiss:ad[0]||(ad[0]=sd=>unref(rd).onOpenChange(!1))}),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),uo=defineComponent({__name:"MenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const td=xe(Ra,qa),rd=At(),nd=wa();return(ad,sd)=>(openBlock(),createBlock(unref(Pe),{present:ad.forceMount||unref(rd).open.value},{default:withCtx(()=>[unref(nd).modal.value?(openBlock(),createBlock(Ed,normalizeProps(mergeProps({key:0},{...ad.$attrs,...unref(td)})),{default:withCtx(()=>[renderSlot(ad.$slots,"default")]),_:3},16)):(openBlock(),createBlock(Pd,normalizeProps(mergeProps({key:1},{...ad.$attrs,...unref(td)})),{default:withCtx(()=>[renderSlot(ad.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),po=defineComponent({__name:"MenuPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(td,rd)=>(openBlock(),createBlock(unref(ht),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(td.$slots,"default")]),_:3},16))}}),mo=defineComponent({__name:"MenuSeparator",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(td,rd)=>(openBlock(),createBlock(unref(O),mergeProps(qa,{role:"separator","aria-orientation":"horizontal"}),{default:withCtx(()=>[renderSlot(td.$slots,"default")]),_:3},16))}}),[ns,Bd]=Q("MenuSub"),ho=defineComponent({__name:"MenuSub",props:{open:{type:Boolean,default:void 0}},emits:["update:open"],setup(Ra,{emit:qa}){const td=Ra,rd=ne(td,"open",qa,{defaultValue:!1,passive:td.open===void 0}),nd=At(),ad=ref$1(),sd=ref$1();return watchEffect(ud=>{(nd==null?void 0:nd.open.value)===!1&&(rd.value=!1),ud(()=>rd.value=!1)}),Jl({open:rd,onOpenChange:ud=>{rd.value=ud},content:sd,onContentChange:ud=>{sd.value=ud}}),Bd({triggerId:"",contentId:"",trigger:ad,onTriggerChange:ud=>{ad.value=ud}}),(ud,cd)=>(openBlock(),createBlock(unref(Tt),null,{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3}))}}),yo=defineComponent({__name:"MenuSubContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},sideOffset:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean,default:!0},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const td=xe(Ra,qa),rd=At(),nd=wa(),ad=ns(),{forwardRef:sd,currentElement:ud}=R$1();return ad.contentId||(ad.contentId=he(void 0,"radix-vue-menu-sub-content")),(cd,dd)=>(openBlock(),createBlock(unref(Pe),{present:cd.forceMount||unref(rd).open.value},{default:withCtx(()=>[createVNode(so,mergeProps(unref(td),{id:unref(ad).contentId,ref:unref(sd),"aria-labelledby":unref(ad).triggerId,align:"start",side:unref(nd).dir.value==="rtl"?"left":"right","disable-outside-pointer-events":!1,"disable-outside-scroll":!1,"trap-focus":!1,onOpenAutoFocus:dd[0]||(dd[0]=withModifiers(pd=>{var fd;unref(nd).isUsingKeyboardRef.value&&((fd=unref(ud))==null||fd.focus())},["prevent"])),onCloseAutoFocus:dd[1]||(dd[1]=withModifiers(()=>{},["prevent"])),onFocusOutside:dd[2]||(dd[2]=pd=>{pd.defaultPrevented||pd.target!==unref(ad).trigger.value&&unref(rd).onOpenChange(!1)}),onEscapeKeyDown:dd[3]||(dd[3]=pd=>{unref(nd).onClose(),pd.preventDefault()}),onKeydown:dd[4]||(dd[4]=pd=>{var fd,Td;const Ad=(fd=pd.currentTarget)==null?void 0:fd.contains(pd.target),Sd=unref(du)[unref(nd).dir.value].includes(pd.key);Ad&&Sd&&(unref(rd).onOpenChange(!1),(Td=unref(ad).trigger.value)==null||Td.focus(),pd.preventDefault())})}),{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},16,["id","aria-labelledby","side"])]),_:3},8,["present"]))}}),go=defineComponent({__name:"MenuSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,td=At(),rd=wa(),nd=ns(),ad=lo(),sd=ref$1(null);nd.triggerId||(nd.triggerId=he(void 0,"radix-vue-menu-sub-trigger"));function ud(){sd.value&&window.clearTimeout(sd.value),sd.value=null}onUnmounted(()=>{ud()});function cd(fd){!ua(fd)||ad.onItemEnter(fd)||!qa.disabled&&!td.open.value&&!sd.value&&(ad.onPointerGraceIntentChange(null),sd.value=window.setTimeout(()=>{td.onOpenChange(!0),ud()},100))}async function dd(fd){var Td,Ad;if(!ua(fd))return;ud();const Sd=(Td=td.content.value)==null?void 0:Td.getBoundingClientRect();if(Sd!=null&&Sd.width){const Dd=(Ad=td.content.value)==null?void 0:Ad.dataset.side,Ld=Dd==="right",Rd=Ld?-5:5,Od=Sd[Ld?"left":"right"],Md=Sd[Ld?"right":"left"];ad.onPointerGraceIntentChange({area:[{x:fd.clientX+Rd,y:fd.clientY},{x:Od,y:Sd.top},{x:Md,y:Sd.top},{x:Md,y:Sd.bottom},{x:Od,y:Sd.bottom}],side:Dd}),window.clearTimeout(ad.pointerGraceTimerRef.value),ad.pointerGraceTimerRef.value=window.setTimeout(()=>ad.onPointerGraceIntentChange(null),300)}else{if(ad.onTriggerLeave(fd))return;ad.onPointerGraceIntentChange(null)}}async function pd(fd){var Td;const Ad=ad.searchRef.value!=="";qa.disabled||Ad&&fd.key===" "||uu[rd.dir.value].includes(fd.key)&&(td.onOpenChange(!0),await nextTick$1(),(Td=td.content.value)==null||Td.focus(),fd.preventDefault())}return(fd,Td)=>(openBlock(),createBlock(Za,{"as-child":""},{default:withCtx(()=>[createVNode(ts,mergeProps(qa,{id:unref(nd).triggerId,ref:Ad=>{var Sd;(Sd=unref(nd))==null||Sd.onTriggerChange(Ad==null?void 0:Ad.$el)},"aria-haspopup":"menu","aria-expanded":unref(td).open.value,"aria-controls":unref(nd).contentId,"data-state":unref(Qn)(unref(td).open.value),onClick:Td[0]||(Td[0]=async Ad=>{qa.disabled||Ad.defaultPrevented||(Ad.currentTarget.focus(),unref(td).open.value||unref(td).onOpenChange(!0))}),onPointermove:cd,onPointerleave:dd,onKeydown:pd}),{default:withCtx(()=>[renderSlot(fd.$slots,"default")]),_:3},16,["id","aria-expanded","aria-controls","data-state"])]),_:3}))}}),[os,Id]=Q("ContextMenuRoot"),Qv=defineComponent({inheritAttrs:!1,__name:"ContextMenuRoot",props:{dir:{},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(Ra,{emit:qa}){const td=Ra,rd=qa,{dir:nd,modal:ad}=toRefs(td);R$1();const sd=be(nd),ud=ref$1(!1);return Id({open:ud,onOpenChange:cd=>{ud.value=cd},dir:sd,modal:ad}),watch(ud,cd=>{rd("update:open",cd)}),(cd,dd)=>(openBlock(),createBlock(unref(oo),{open:ud.value,"onUpdate:open":dd[0]||(dd[0]=pd=>ud.value=pd),dir:unref(sd),modal:unref(ad)},{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},8,["open","dir","modal"]))}});function Go(Ra){return Ra.pointerType!=="mouse"}const em=defineComponent({inheritAttrs:!1,__name:"ContextMenuTrigger",props:{disabled:{type:Boolean,default:!1},asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const qa=Ra,{disabled:td}=toRefs(qa),{forwardRef:rd}=R$1(),nd=os(),ad=ref$1({x:0,y:0}),sd=computed(()=>({getBoundingClientRect:()=>({width:0,height:0,left:ad.value.x,right:ad.value.x,top:ad.value.y,bottom:ad.value.y,...ad.value})})),ud=ref$1(0);function cd(){window.clearTimeout(ud.value)}function dd(Ad){ad.value={x:Ad.clientX,y:Ad.clientY},nd.onOpenChange(!0)}async function pd(Ad){td.value||(await nextTick$1(),Ad.defaultPrevented||(cd(),dd(Ad),Ad.preventDefault()))}async function fd(Ad){td.value||(await nextTick$1(),Go(Ad)&&!Ad.defaultPrevented&&(cd(),ud.value=window.setTimeout(()=>dd(Ad),700)))}async function Td(Ad){td.value||(await nextTick$1(),Go(Ad)&&!Ad.defaultPrevented&&cd())}return(Ad,Sd)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(Za),{as:"template",element:sd.value},null,8,["element"]),createVNode(unref(O),mergeProps({ref:unref(rd),as:Ad.as,"as-child":Ad.asChild,"data-state":unref(nd).open.value?"open":"closed","data-disabled":unref(td)?"":void 0,style:{WebkitTouchCallout:"none"}},Ad.$attrs,{onContextmenu:pd,onPointerdown:fd,onPointermove:Td,onPointercancel:Td,onPointerup:Td}),{default:withCtx(()=>[renderSlot(Ad.$slots,"default")]),_:3},16,["as","as-child","data-state","data-disabled"])],64))}}),tm=defineComponent({__name:"ContextMenuPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(td,rd)=>(openBlock(),createBlock(unref(po),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(td.$slots,"default")]),_:3},16))}}),am=defineComponent({__name:"ContextMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},alignOffset:{default:0},avoidCollisions:{type:Boolean,default:!0},collisionBoundary:{default:()=>[]},collisionPadding:{default:0},sticky:{default:"partial"},hideWhenDetached:{type:Boolean,default:!1},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(Ra,{emit:qa}){const td=xe(Ra,qa);R$1();const rd=os(),nd=ref$1(!1);return(ad,sd)=>(openBlock(),createBlock(unref(uo),mergeProps(unref(td),{side:"right","side-offset":2,align:"start",style:{"--radix-context-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-context-menu-content-available-width":"var(--radix-popper-available-width)","--radix-context-menu-content-available-height":"var(--radix-popper-available-height)","--radix-context-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-context-menu-trigger-height":"var(--radix-popper-anchor-height)"},onCloseAutoFocus:sd[0]||(sd[0]=ud=>{!ud.defaultPrevented&&nd.value&&ud.preventDefault(),nd.value=!1}),onInteractOutside:sd[1]||(sd[1]=ud=>{!ud.defaultPrevented&&!unref(rd).modal.value&&(nd.value=!0)})}),{default:withCtx(()=>[renderSlot(ad.$slots,"default")]),_:3},16))}}),om=defineComponent({__name:"ContextMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(Ra,{emit:qa}){const td=Ra,rd=Re(qa);return R$1(),(nd,ad)=>(openBlock(),createBlock(unref(_a$1),normalizeProps(guardReactiveProps({...td,...unref(rd)})),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),sm=defineComponent({__name:"ContextMenuSeparator",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return R$1(),(td,rd)=>(openBlock(),createBlock(unref(mo),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(td.$slots,"default")]),_:3},16))}}),[wo,lc]=Q("HoverCardRoot"),Sh=defineComponent({__name:"HoverCardRoot",props:{defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},openDelay:{default:700},closeDelay:{default:300}},emits:["update:open"],setup(Ra,{emit:qa}){const td=Ra,rd=qa,{openDelay:nd,closeDelay:ad}=toRefs(td);R$1();const sd=ne(td,"open",rd,{defaultValue:td.defaultOpen,passive:td.open===void 0}),ud=ref$1(0),cd=ref$1(0),dd=ref$1(!1),pd=ref$1(!1),fd=ref$1(!1),Td=ref$1();function Ad(){clearTimeout(cd.value),ud.value=window.setTimeout(()=>sd.value=!0,nd.value)}function Sd(){clearTimeout(ud.value),!dd.value&&!pd.value&&(cd.value=window.setTimeout(()=>sd.value=!1,ad.value))}function Dd(){sd.value=!1}return lc({open:sd,onOpenChange(Ld){sd.value=Ld},onOpen:Ad,onClose:Sd,onDismiss:Dd,hasSelectionRef:dd,isPointerDownOnContentRef:pd,isPointerInTransitRef:fd,triggerElement:Td}),(Ld,Rd)=>(openBlock(),createBlock(unref(Tt),null,{default:withCtx(()=>[renderSlot(Ld.$slots,"default",{open:unref(sd)})]),_:3}))}});function Tn(Ra){return qa=>qa.pointerType==="touch"?void 0:Ra()}function sc(Ra){const qa=[],td=document.createTreeWalker(Ra,NodeFilter.SHOW_ELEMENT,{acceptNode:rd=>rd.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;td.nextNode();)qa.push(td.currentNode);return qa}const Eh=defineComponent({__name:"HoverCardTrigger",props:{asChild:{type:Boolean},as:{default:"a"}},setup(Ra){const{forwardRef:qa,currentElement:td}=R$1(),rd=wo();rd.triggerElement=td;function nd(){setTimeout(()=>{!rd.isPointerInTransitRef.value&&!rd.open.value&&rd.onClose()},0)}return(ad,sd)=>(openBlock(),createBlock(unref(Rt),{"as-child":""},{default:withCtx(()=>[createVNode(unref(O),{ref:unref(qa),"as-child":ad.asChild,as:ad.as,"data-state":unref(rd).open.value?"open":"closed","data-grace-area-trigger":"",onPointerenter:sd[0]||(sd[0]=ud=>unref(Tn)(unref(rd).onOpen)(ud)),onPointerleave:sd[1]||(sd[1]=ud=>unref(Tn)(nd)(ud)),onFocus:sd[2]||(sd[2]=ud=>unref(rd).onOpen()),onBlur:sd[3]||(sd[3]=ud=>unref(rd).onClose())},{default:withCtx(()=>[renderSlot(ad.$slots,"default")]),_:3},8,["as-child","as","data-state"])]),_:3}))}}),Ph=defineComponent({__name:"HoverCardPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(td,rd)=>(openBlock(),createBlock(unref(ht),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(td.$slots,"default")]),_:3},16))}}),rc=defineComponent({__name:"HoverCardContentImpl",props:{side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside"],setup(Ra,{emit:qa}){const td=Ra,rd=qa,nd=It(td),{forwardRef:ad,currentElement:sd}=R$1(),ud=wo(),{isPointerInTransit:cd,onPointerExit:dd}=Al(ud.triggerElement,sd);ui(ud.isPointerInTransitRef,cd,{direction:"rtl"}),dd(()=>{ud.onClose()});const pd=ref$1(!1);let fd;watchEffect(Ad=>{if(pd.value){const Sd=document.body;fd=Sd.style.userSelect||Sd.style.webkitUserSelect,Sd.style.userSelect="none",Sd.style.webkitUserSelect="none",Ad(()=>{Sd.style.userSelect=fd,Sd.style.webkitUserSelect=fd})}});function Td(){pd.value=!1,ud.isPointerDownOnContentRef.value=!1,nextTick$1(()=>{var Ad;((Ad=document.getSelection())==null?void 0:Ad.toString())!==""&&(ud.hasSelectionRef.value=!0)})}return onMounted(()=>{sd.value&&(document.addEventListener("pointerup",Td),sc(sd.value).forEach(Ad=>Ad.setAttribute("tabindex","-1")))}),onUnmounted(()=>{document.removeEventListener("pointerup",Td),ud.hasSelectionRef.value=!1,ud.isPointerDownOnContentRef.value=!1}),(Ad,Sd)=>(openBlock(),createBlock(unref(yt),{"as-child":"","disable-outside-pointer-events":!1,onEscapeKeyDown:Sd[1]||(Sd[1]=Dd=>rd("escapeKeyDown",Dd)),onPointerDownOutside:Sd[2]||(Sd[2]=Dd=>rd("pointerDownOutside",Dd)),onFocusOutside:Sd[3]||(Sd[3]=withModifiers(Dd=>rd("focusOutside",Dd),["prevent"])),onDismiss:unref(ud).onDismiss},{default:withCtx(()=>[createVNode(unref(Dt),mergeProps({...unref(nd),...Ad.$attrs},{ref:unref(ad),"data-state":unref(ud).open.value?"open":"closed",style:{userSelect:pd.value?"text":void 0,WebkitUserSelect:pd.value?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"},onPointerdown:Sd[0]||(Sd[0]=Dd=>{Dd.currentTarget.contains(Dd.target)&&(pd.value=!0),unref(ud).hasSelectionRef.value=!1,unref(ud).isPointerDownOnContentRef.value=!0})}),{default:withCtx(()=>[renderSlot(Ad.$slots,"default")]),_:3},16,["data-state","style"])]),_:3},8,["onDismiss"]))}}),Dh=defineComponent({__name:"HoverCardContent",props:{forceMount:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside"],setup(Ra,{emit:qa}){const td=xe(Ra,qa),{forwardRef:rd}=R$1(),nd=wo();return(ad,sd)=>(openBlock(),createBlock(unref(Pe),{present:ad.forceMount||unref(nd).open.value},{default:withCtx(()=>[createVNode(rc,mergeProps(unref(td),{ref:unref(rd),onPointerenter:sd[0]||(sd[0]=ud=>unref(Tn)(unref(nd).onOpen)(ud))}),{default:withCtx(()=>[renderSlot(ad.$slots,"default")]),_:3},16)]),_:3},8,["present"]))}}),[tn,$c]=Q("MenubarRoot"),Fh=defineComponent({__name:"MenubarRoot",props:{modelValue:{},defaultValue:{},dir:{},loop:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const td=Ra,rd=qa,{forwardRef:nd,currentElement:ad}=R$1(),{createCollection:sd}=Me("menubar");sd(ad);const ud=ne(td,"modelValue",rd,{defaultValue:td.defaultValue??"",passive:td.modelValue===void 0}),cd=ref$1(null),{dir:dd,loop:pd}=toRefs(td),fd=be(dd);return $c({modelValue:ud,dir:fd,loop:pd,onMenuOpen:Td=>{ud.value=Td,cd.value=Td},onMenuClose:()=>{ud.value=""},onMenuToggle:Td=>{ud.value=ud.value?"":Td,cd.value=Td}}),(Td,Ad)=>(openBlock(),createBlock(unref(Ot),{"current-tab-stop-id":cd.value,"onUpdate:currentTabStopId":Ad[0]||(Ad[0]=Sd=>cd.value=Sd),orientation:"horizontal",loop:unref(pd),dir:unref(fd),"as-child":""},{default:withCtx(()=>[createVNode(unref(O),{ref:unref(nd),role:"menubar"},{default:withCtx(()=>[renderSlot(Td.$slots,"default",{modelValue:unref(ud)})]),_:3},512)]),_:3},8,["current-tab-stop-id","loop","dir"]))}}),[_o,Bc]=Q("MenubarMenu"),Nh=defineComponent({__name:"MenubarMenu",props:{value:{}},setup(Ra){const qa=he(Ra.value),td=tn();R$1();const rd=ref$1(),nd=ref$1(!1),ad=computed(()=>td.modelValue.value===qa);return watch(ad,()=>{ad.value||(nd.value=!1)}),Bc({value:qa,triggerElement:rd,triggerId:qa,contentId:"",wasKeyboardTriggerOpenRef:nd}),(sd,ud)=>(openBlock(),createBlock(unref(oo),{open:ad.value,modal:!1,dir:unref(td).dir.value,"onUpdate:open":ud[0]||(ud[0]=cd=>{cd||unref(td).onMenuClose()})},{default:withCtx(()=>[renderSlot(sd.$slots,"default")]),_:3},8,["open","dir"]))}}),Lh=defineComponent({__name:"MenubarTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=tn(),td=_o(),{forwardRef:rd,currentElement:nd}=R$1(),ad=ref$1(!1),sd=computed(()=>qa.modelValue.value===td.value);return onMounted(()=>{td.triggerElement=nd}),(ud,cd)=>(openBlock(),createBlock(unref(kt),{"as-child":"",focusable:!ud.disabled,"tab-stop-id":unref(td).value},{default:withCtx(()=>[createVNode(unref(Za),{"as-child":""},{default:withCtx(()=>[createVNode(unref(O),{id:unref(td).triggerId,ref:unref(rd),as:ud.as,type:ud.as==="button"?"button":void 0,role:"menuitem","aria-haspopup":"menu","aria-expanded":sd.value,"aria-controls":sd.value?unref(td).contentId:void 0,"data-highlighted":ad.value?"":void 0,"data-state":sd.value?"open":"closed","data-disabled":ud.disabled?"":void 0,disabled:ud.disabled,"data-value":unref(td).value,"data-radix-vue-collection-item":"",onPointerdown:cd[0]||(cd[0]=dd=>{!ud.disabled&&dd.button===0&&dd.ctrlKey===!1&&(unref(qa).onMenuOpen(unref(td).value),sd.value||dd.preventDefault())}),onPointerenter:cd[1]||(cd[1]=()=>{var dd;unref(qa).modelValue.value&&!sd.value&&(unref(qa).onMenuOpen(unref(td).value),(dd=unref(nd))==null||dd.focus())}),onKeydown:cd[2]||(cd[2]=withKeys(dd=>{ud.disabled||(["Enter"," "].includes(dd.key)&&unref(qa).onMenuToggle(unref(td).value),dd.key==="ArrowDown"&&unref(qa).onMenuOpen(unref(td).value),["Enter"," ","ArrowDown"].includes(dd.key)&&(unref(td).wasKeyboardTriggerOpenRef.value=!0,dd.preventDefault()))},["enter","space","arrow-down"])),onFocus:cd[3]||(cd[3]=dd=>ad.value=!0),onBlur:cd[4]||(cd[4]=dd=>ad.value=!1)},{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},8,["id","as","type","aria-expanded","aria-controls","data-highlighted","data-state","data-disabled","disabled","data-value"])]),_:3})]),_:3},8,["focusable","tab-stop-id"]))}}),zh=defineComponent({__name:"MenubarPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(td,rd)=>(openBlock(),createBlock(unref(po),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(td.$slots,"default")]),_:3},16))}}),Kh=defineComponent({__name:"MenubarContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{},align:{default:"start"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(Ra,{emit:qa}){const td=xe(Ra,qa);R$1();const rd=tn(),nd=_o();nd.contentId||(nd.contentId=he(void 0,"radix-vue-menubar-content"));const{injectCollection:ad}=Me("menubar"),sd=ad(),ud=ref$1(!1);function cd(dd){const pd=dd.target.hasAttribute("data-radix-menubar-subtrigger"),fd=(rd.dir.value==="rtl"?"ArrowRight":"ArrowLeft")===dd.key;if(!fd&&pd)return;let Td=sd.value.map(Dd=>Dd.dataset.value);fd&&Td.reverse();const Ad=Td.indexOf(nd.value);Td=rd.loop.value?qn(Td,Ad+1):Td.slice(Ad+1);const[Sd]=Td;Sd&&rd.onMenuOpen(Sd)}return(dd,pd)=>(openBlock(),createBlock(unref(uo),mergeProps(unref(td),{id:unref(nd).contentId,"data-radix-menubar-content":"","aria-labelledby":unref(nd).triggerId,style:{"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"},onCloseAutoFocus:pd[0]||(pd[0]=fd=>{var Td;!unref(rd).modelValue.value&&!ud.value&&((Td=unref(nd).triggerElement.value)==null||Td.focus()),ud.value=!1,fd.preventDefault()}),onFocusOutside:pd[1]||(pd[1]=fd=>{const Td=fd.target;unref(sd).some(Ad=>Ad.contains(Td))&&fd.preventDefault()}),onInteractOutside:pd[2]||(pd[2]=fd=>{ud.value=!0}),onEntryFocus:pd[3]||(pd[3]=fd=>{unref(nd).wasKeyboardTriggerOpenRef.value||fd.preventDefault()}),onKeydown:withKeys(cd,["arrow-right","arrow-left"])}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["id","aria-labelledby"]))}}),Wh=defineComponent({__name:"MenubarItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(Ra,{emit:qa}){const td=Ra,rd=Re(qa);return R$1(),(nd,ad)=>(openBlock(),createBlock(unref(_a$1),normalizeProps(guardReactiveProps({...td,...unref(rd)})),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),Uh=defineComponent({__name:"MenubarSeparator",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return R$1(),(td,rd)=>(openBlock(),createBlock(unref(mo),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(td.$slots,"default")]),_:3},16))}}),Jh=defineComponent({__name:"MenubarSub",props:{defaultOpen:{type:Boolean},open:{type:Boolean,default:void 0}},emits:["update:open"],setup(Ra,{emit:qa}){const td=Ra,rd=qa;R$1();const nd=ne(td,"open",rd,{defaultValue:td.defaultOpen??!1,passive:td.open===void 0});return(ad,sd)=>(openBlock(),createBlock(unref(ho),{open:unref(nd),"onUpdate:open":sd[0]||(sd[0]=ud=>isRef(nd)?nd.value=ud:null)},{default:withCtx(()=>[renderSlot(ad.$slots,"default",{open:unref(nd)})]),_:3},8,["open"]))}}),Qh=defineComponent({__name:"MenubarSubContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},sideOffset:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const td=xe(Ra,qa);R$1();const{injectCollection:rd}=Me("menubar"),nd=tn(),ad=_o(),sd=rd();function ud(cd){if(cd.target.hasAttribute("data-radix-menubar-subtrigger"))return;let dd=sd.value.map(Td=>Td.dataset.value);const pd=dd.indexOf(ad.value);dd=nd.loop.value?qn(dd,pd+1):dd.slice(pd+1);const[fd]=dd;fd&&nd.onMenuOpen(fd)}return(cd,dd)=>(openBlock(),createBlock(unref(yo),mergeProps(unref(td),{"data-radix-menubar-content":"",style:{"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"},onKeydown:withKeys(ud,["arrow-right"])}),{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},16))}}),ey=defineComponent({__name:"MenubarSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return R$1(),(td,rd)=>(openBlock(),createBlock(unref(go),mergeProps(qa,{"data-radix-menubar-subtrigger":""}),{default:withCtx(()=>[renderSlot(td.$slots,"default")]),_:3},16))}}),[Vt,jc]=Q("PopoverRoot"),ms=defineComponent({__name:"PopoverRoot",props:{defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},modal:{type:Boolean,default:!1}},emits:["update:open"],setup(Ra,{emit:qa}){const td=Ra,rd=qa,{modal:nd}=toRefs(td),ad=ne(td,"open",rd,{defaultValue:td.defaultOpen,passive:td.open===void 0}),sd=ref$1(),ud=ref$1(!1);return jc({contentId:"",modal:nd,open:ad,onOpenChange:cd=>{ad.value=cd},onOpenToggle:()=>{ad.value=!ad.value},triggerElement:sd,hasCustomAnchor:ud}),(cd,dd)=>(openBlock(),createBlock(unref(Tt),null,{default:withCtx(()=>[renderSlot(cd.$slots,"default",{open:unref(ad)})]),_:3}))}}),hs=defineComponent({__name:"PopoverTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,td=Vt(),{forwardRef:rd,currentElement:nd}=R$1();return onMounted(()=>{td.triggerElement.value=nd.value}),(ad,sd)=>(openBlock(),createBlock(resolveDynamicComponent(unref(td).hasCustomAnchor.value?unref(O):unref(Rt)),{"as-child":""},{default:withCtx(()=>[createVNode(unref(O),{ref:unref(rd),type:ad.as==="button"?"button":void 0,"aria-haspopup":"dialog","aria-expanded":unref(td).open.value,"aria-controls":unref(td).contentId,"data-state":unref(td).open.value?"open":"closed",as:ad.as,"as-child":qa.asChild,onClick:unref(td).onOpenToggle},{default:withCtx(()=>[renderSlot(ad.$slots,"default")]),_:3},8,["type","aria-expanded","aria-controls","data-state","as","as-child","onClick"])]),_:3}))}}),ys=defineComponent({__name:"PopoverPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(td,rd)=>(openBlock(),createBlock(unref(ht),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(td.$slots,"default")]),_:3},16))}}),gs=defineComponent({__name:"PopoverContentImpl",props:{trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const td=Ra,rd=qa,nd=It(td),{forwardRef:ad}=R$1(),sd=Vt();return Gn(),(ud,cd)=>(openBlock(),createBlock(unref(Ya),{"as-child":"",loop:"",trapped:ud.trapFocus,onMountAutoFocus:cd[5]||(cd[5]=dd=>rd("openAutoFocus",dd)),onUnmountAutoFocus:cd[6]||(cd[6]=dd=>rd("closeAutoFocus",dd))},{default:withCtx(()=>[createVNode(unref(yt),{"as-child":"","disable-outside-pointer-events":ud.disableOutsidePointerEvents,onPointerDownOutside:cd[0]||(cd[0]=dd=>rd("pointerDownOutside",dd)),onInteractOutside:cd[1]||(cd[1]=dd=>rd("interactOutside",dd)),onEscapeKeyDown:cd[2]||(cd[2]=dd=>rd("escapeKeyDown",dd)),onFocusOutside:cd[3]||(cd[3]=dd=>rd("focusOutside",dd)),onDismiss:cd[4]||(cd[4]=dd=>unref(sd).onOpenChange(!1))},{default:withCtx(()=>[createVNode(unref(Dt),mergeProps(unref(nd),{id:unref(sd).contentId,ref:unref(ad),"data-state":unref(sd).open.value?"open":"closed",role:"dialog",style:{"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16,["id","data-state"])]),_:3},8,["disable-outside-pointer-events"])]),_:3},8,["trapped"]))}}),Uc=defineComponent({__name:"PopoverContentModal",props:{trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const td=Ra,rd=qa,nd=Vt(),ad=ref$1(!1);ha(!0);const sd=xe(td,rd),{forwardRef:ud,currentElement:cd}=R$1();return ya(cd),(dd,pd)=>(openBlock(),createBlock(gs,mergeProps(unref(sd),{ref:unref(ud),"trap-focus":unref(nd).open.value,"disable-outside-pointer-events":"",onCloseAutoFocus:pd[0]||(pd[0]=withModifiers(fd=>{var Td;rd("closeAutoFocus",fd),ad.value||(Td=unref(nd).triggerElement.value)==null||Td.focus()},["prevent"])),onPointerDownOutside:pd[1]||(pd[1]=fd=>{rd("pointerDownOutside",fd);const Td=fd.detail.originalEvent,Ad=Td.button===0&&Td.ctrlKey===!0,Sd=Td.button===2||Ad;ad.value=Sd}),onFocusOutside:pd[2]||(pd[2]=withModifiers(()=>{},["prevent"]))}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["trap-focus"]))}}),Gc=defineComponent({__name:"PopoverContentNonModal",props:{trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const td=Ra,rd=qa,nd=Vt(),ad=ref$1(!1),sd=ref$1(!1),ud=xe(td,rd);return(cd,dd)=>(openBlock(),createBlock(gs,mergeProps(unref(ud),{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:dd[0]||(dd[0]=pd=>{var fd;rd("closeAutoFocus",pd),pd.defaultPrevented||(ad.value||(fd=unref(nd).triggerElement.value)==null||fd.focus(),pd.preventDefault()),ad.value=!1,sd.value=!1}),onInteractOutside:dd[1]||(dd[1]=async pd=>{var fd;rd("interactOutside",pd),pd.defaultPrevented||(ad.value=!0,pd.detail.originalEvent.type==="pointerdown"&&(sd.value=!0));const Td=pd.target;(fd=unref(nd).triggerElement.value)!=null&&fd.contains(Td)&&pd.preventDefault(),pd.detail.originalEvent.type==="focusin"&&sd.value&&pd.preventDefault()})}),{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},16))}}),bs=defineComponent({__name:"PopoverContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const td=Ra,rd=qa,nd=Vt(),ad=xe(td,rd),{forwardRef:sd}=R$1();return nd.contentId||(nd.contentId=he(void 0,"radix-vue-popover-content")),(ud,cd)=>(openBlock(),createBlock(unref(Pe),{present:ud.forceMount||unref(nd).open.value},{default:withCtx(()=>[unref(nd).modal.value?(openBlock(),createBlock(Uc,mergeProps({key:0},unref(ad),{ref:unref(sd)}),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16)):(openBlock(),createBlock(Gc,mergeProps({key:1},unref(ad),{ref:unref(sd)}),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),Ip=["default-value"],Tp=defineComponent({__name:"BubbleSelect",props:{autocomplete:{},autofocus:{type:Boolean},disabled:{type:Boolean},form:{},multiple:{type:Boolean},name:{},required:{type:Boolean},size:{},value:{}},setup(Ra){const qa=Ra,{value:td}=toRefs(qa),rd=ref$1();return(nd,ad)=>(openBlock(),createBlock(unref(Xt),{"as-child":""},{default:withCtx(()=>[withDirectives(createBaseVNode("select",mergeProps({ref_key:"selectElement",ref:rd},qa,{"onUpdate:modelValue":ad[0]||(ad[0]=sd=>isRef(td)?td.value=sd:null),"default-value":unref(td)}),[renderSlot(nd.$slots,"default")],16,Ip),[[vModelSelect,unref(td)]])]),_:3}))}}),Rp={key:0,value:""},[bt,Ds]=Q("SelectRoot"),[Ap,Op]=Q("SelectRoot"),Oy=defineComponent({__name:"SelectRoot",props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean},defaultValue:{default:""},modelValue:{default:void 0},dir:{},name:{},autocomplete:{},disabled:{type:Boolean},required:{type:Boolean}},emits:["update:modelValue","update:open"],setup(Ra,{emit:qa}){const td=Ra,rd=qa,nd=ne(td,"modelValue",rd,{defaultValue:td.defaultValue,passive:td.modelValue===void 0}),ad=ne(td,"open",rd,{defaultValue:td.defaultOpen,passive:td.open===void 0}),sd=ref$1(),ud=ref$1(),cd=ref$1({x:0,y:0}),dd=ref$1(!1),{required:pd,disabled:fd,dir:Td}=toRefs(td),Ad=be(Td);Ds({triggerElement:sd,onTriggerChange:Rd=>{sd.value=Rd},valueElement:ud,onValueElementChange:Rd=>{ud.value=Rd},valueElementHasChildren:dd,onValueElementHasChildrenChange:Rd=>{dd.value=Rd},contentId:"",modelValue:nd,onValueChange:Rd=>{nd.value=Rd},open:ad,required:pd,onOpenChange:Rd=>{ad.value=Rd},dir:Ad,triggerPointerDownPosRef:cd,disabled:fd});const Sd=Je(sd),Dd=ref$1(new Set),Ld=computed(()=>Array.from(Dd.value).map(Rd=>{var Od;return(Od=Rd.props)==null?void 0:Od.value}).join(";"));return Op({onNativeOptionAdd:Rd=>{Dd.value.add(Rd)},onNativeOptionRemove:Rd=>{Dd.value.delete(Rd)}}),(Rd,Od)=>(openBlock(),createBlock(unref(Tt),null,{default:withCtx(()=>[renderSlot(Rd.$slots,"default",{modelValue:unref(nd),open:unref(ad)}),unref(Sd)?(openBlock(),createBlock(Tp,mergeProps({key:Ld.value},Rd.$attrs,{"aria-hidden":"true",tabindex:"-1",required:unref(pd),name:Rd.name,autocomplete:Rd.autocomplete,disabled:unref(fd),value:unref(nd),onChange:Od[0]||(Od[0]=Md=>nd.value=Md.target.value)}),{default:withCtx(()=>[unref(nd)===void 0?(openBlock(),createElementBlock("option",Rp)):createCommentVNode("",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(Array.from(Dd.value),Md=>(openBlock(),createBlock(resolveDynamicComponent(Md),mergeProps({ref_for:!0},Md.props,{key:Md.key??""}),null,16))),128))]),_:1},16,["required","name","autocomplete","disabled","value"])):createCommentVNode("",!0)]),_:3}))}}),kp=[" ","Enter","ArrowUp","ArrowDown"],Mp=[" ","Enter"],at=10;function $s(Ra){return Ra===""||zt(Ra)}const ky=defineComponent({__name:"SelectTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,td=bt(),rd=computed(()=>{var Ad;return((Ad=td.disabled)==null?void 0:Ad.value)||qa.disabled}),{forwardRef:nd,currentElement:ad}=R$1();td.contentId||(td.contentId=he(void 0,"radix-vue-select-content")),onMounted(()=>{td.triggerElement=ad});const{injectCollection:sd}=Me(),ud=sd(),{search:cd,handleTypeaheadSearch:dd,resetTypeahead:pd}=ga(ud);function fd(){rd.value||(td.onOpenChange(!0),pd())}function Td(Ad){fd(),td.triggerPointerDownPosRef.value={x:Math.round(Ad.pageX),y:Math.round(Ad.pageY)}}return(Ad,Sd)=>(openBlock(),createBlock(unref(Rt),{"as-child":""},{default:withCtx(()=>{var Dd,Ld,Rd,Od;return[createVNode(unref(O),{ref:unref(nd),role:"combobox",type:Ad.as==="button"?"button":void 0,"aria-controls":unref(td).contentId,"aria-expanded":unref(td).open.value||!1,"aria-required":(Dd=unref(td).required)==null?void 0:Dd.value,"aria-autocomplete":"none",disabled:rd.value,dir:(Ld=unref(td))==null?void 0:Ld.dir.value,"data-state":(Rd=unref(td))!=null&&Rd.open.value?"open":"closed","data-disabled":rd.value?"":void 0,"data-placeholder":unref($s)((Od=unref(td).modelValue)==null?void 0:Od.value)?"":void 0,"as-child":Ad.asChild,as:Ad.as,onClick:Sd[0]||(Sd[0]=Md=>{var jd;(jd=Md==null?void 0:Md.currentTarget)==null||jd.focus()}),onPointerdown:Sd[1]||(Sd[1]=Md=>{if(Md.pointerType==="touch")return Md.preventDefault();const jd=Md.target;jd.hasPointerCapture(Md.pointerId)&&jd.releasePointerCapture(Md.pointerId),Md.button===0&&Md.ctrlKey===!1&&(Td(Md),Md.preventDefault())}),onPointerup:Sd[2]||(Sd[2]=withModifiers(Md=>{Md.pointerType==="touch"&&Td(Md)},["prevent"])),onKeydown:Sd[3]||(Sd[3]=Md=>{const jd=unref(cd)!=="";!(Md.ctrlKey||Md.altKey||Md.metaKey)&&Md.key.length===1&&jd&&Md.key===" "||(unref(dd)(Md.key),unref(kp).includes(Md.key)&&(fd(),Md.preventDefault()))})},{default:withCtx(()=>[renderSlot(Ad.$slots,"default")]),_:3},8,["type","aria-controls","aria-expanded","aria-required","disabled","dir","data-state","data-disabled","data-placeholder","as-child","as"])]}),_:3}))}}),My=defineComponent({__name:"SelectPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(td,rd)=>(openBlock(),createBlock(unref(ht),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(td.$slots,"default")]),_:3},16))}}),[$o,Vp]=Q("SelectItemAlignedPosition"),Fp=defineComponent({inheritAttrs:!1,__name:"SelectItemAlignedPosition",props:{asChild:{type:Boolean},as:{}},emits:["placed"],setup(Ra,{emit:qa}){const td=Ra,rd=qa,{injectCollection:nd}=Me(),ad=bt(),sd=Ct(),ud=nd(),cd=ref$1(!1),dd=ref$1(!0),pd=ref$1(),{forwardRef:fd,currentElement:Td}=R$1(),{viewport:Ad,selectedItem:Sd,selectedItemText:Dd,focusSelectedItem:Ld}=sd;function Rd(){if(ad.triggerElement.value&&ad.valueElement.value&&pd.value&&Td.value&&Ad!=null&&Ad.value&&Sd!=null&&Sd.value&&Dd!=null&&Dd.value){const jd=ad.triggerElement.value.getBoundingClientRect(),Ud=Td.value.getBoundingClientRect(),Hd=ad.valueElement.value.getBoundingClientRect(),zd=Dd.value.getBoundingClientRect();if(ad.dir.value!=="rtl"){const Tf=zd.left-Ud.left,gf=Hd.left-Tf,Mf=jd.left-gf,Gf=jd.width+Mf,Qf=Math.max(Gf,Ud.width),Uf=window.innerWidth-at,Df=Ht(gf,at,Uf-Qf);pd.value.style.minWidth=`${Gf}px`,pd.value.style.left=`${Df}px`}else{const Tf=Ud.right-zd.right,gf=window.innerWidth-Hd.right-Tf,Mf=window.innerWidth-jd.right-gf,Gf=jd.width+Mf,Qf=Math.max(Gf,Ud.width),Uf=window.innerWidth-at,Df=Ht(gf,at,Uf-Qf);pd.value.style.minWidth=`${Gf}px`,pd.value.style.right=`${Df}px`}const Zd=ud.value,Wd=window.innerHeight-at*2,Qd=Ad.value.scrollHeight,Jd=window.getComputedStyle(Td.value),hf=Number.parseInt(Jd.borderTopWidth,10),bf=Number.parseInt(Jd.paddingTop,10),Ef=Number.parseInt(Jd.borderBottomWidth,10),_f=Number.parseInt(Jd.paddingBottom,10),vf=hf+bf+Qd+_f+Ef,xf=Math.min(Sd.value.offsetHeight*5,vf),Bf=window.getComputedStyle(Ad.value),Yf=Number.parseInt(Bf.paddingTop,10),eh=Number.parseInt(Bf.paddingBottom,10),Vf=jd.top+jd.height/2-at,Pf=Wd-Vf,If=Sd.value.offsetHeight/2,$f=Sd.value.offsetTop+If,Zf=hf+bf+$f,Kf=vf-Zf;if(Zf<=Vf){const Tf=Sd.value===Zd[Zd.length-1];pd.value.style.bottom="0px";const gf=Td.value.clientHeight-Ad.value.offsetTop-Ad.value.offsetHeight,Mf=Math.max(Pf,If+(Tf?eh:0)+gf+Ef),Gf=Zf+Mf;pd.value.style.height=`${Gf}px`}else{const Tf=Sd.value===Zd[0];pd.value.style.top="0px";const gf=Math.max(Vf,hf+Ad.value.offsetTop+(Tf?Yf:0)+If)+Kf;pd.value.style.height=`${gf}px`,Ad.value.scrollTop=Zf-Vf+Ad.value.offsetTop}pd.value.style.margin=`${at}px 0`,pd.value.style.minHeight=`${xf}px`,pd.value.style.maxHeight=`${Wd}px`,rd("placed"),requestAnimationFrame(()=>cd.value=!0)}}const Od=ref$1("");onMounted(async()=>{await nextTick$1(),Rd(),Td.value&&(Od.value=window.getComputedStyle(Td.value).zIndex)});function Md(jd){jd&&dd.value===!0&&(Rd(),Ld==null||Ld(),dd.value=!1)}return Vp({contentWrapper:pd,shouldExpandOnScrollRef:cd,onScrollButtonChange:Md}),(jd,Ud)=>(openBlock(),createElementBlock("div",{ref_key:"contentWrapperElement",ref:pd,style:normalizeStyle({display:"flex",flexDirection:"column",position:"fixed",zIndex:Od.value})},[createVNode(unref(O),mergeProps({ref:unref(fd),style:{boxSizing:"border-box",maxHeight:"100%"}},{...jd.$attrs,...td}),{default:withCtx(()=>[renderSlot(jd.$slots,"default")]),_:3},16)],4))}}),Np=defineComponent({__name:"SelectPopperPosition",props:{side:{},sideOffset:{},align:{default:"start"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{default:at},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const qa=It(Ra);return(td,rd)=>(openBlock(),createBlock(unref(Dt),mergeProps(unref(qa),{style:{boxSizing:"border-box","--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}),{default:withCtx(()=>[renderSlot(td.$slots,"default")]),_:3},16))}}),aa={onViewportChange:()=>{},itemTextRefCallback:()=>{},itemRefCallback:()=>{}},[Ct,Lp]=Q("SelectContent"),zp=defineComponent({__name:"SelectContentImpl",props:{position:{default:"item-aligned"},bodyLock:{type:Boolean,default:!0},side:{},sideOffset:{},align:{default:"start"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(Ra,{emit:qa}){const td=Ra,rd=qa,nd=bt();Gn(),ha(td.bodyLock);const{createCollection:ad}=Me(),sd=ref$1();ya(sd);const ud=ad(sd),{search:cd,handleTypeaheadSearch:dd}=ga(ud),pd=ref$1(),fd=ref$1(),Td=ref$1(),Ad=ref$1(!1),Sd=ref$1(!1);function Dd(){fd.value&&sd.value&&$n([fd.value,sd.value])}watch(Ad,()=>{Dd()});const{onOpenChange:Ld,triggerPointerDownPosRef:Rd}=nd;watchEffect(Ud=>{if(!sd.value)return;let Hd={x:0,y:0};const zd=Wd=>{var Qd,Jd;Hd={x:Math.abs(Math.round(Wd.pageX)-(((Qd=Rd.value)==null?void 0:Qd.x)??0)),y:Math.abs(Math.round(Wd.pageY)-(((Jd=Rd.value)==null?void 0:Jd.y)??0))}},Zd=Wd=>{var Qd;Wd.pointerType!=="touch"&&(Hd.x<=10&&Hd.y<=10?Wd.preventDefault():(Qd=sd.value)!=null&&Qd.contains(Wd.target)||Ld(!1),document.removeEventListener("pointermove",zd),Rd.value=null)};Rd.value!==null&&(document.addEventListener("pointermove",zd),document.addEventListener("pointerup",Zd,{capture:!0,once:!0})),Ud(()=>{document.removeEventListener("pointermove",zd),document.removeEventListener("pointerup",Zd,{capture:!0})})});function Od(Ud){const Hd=Ud.ctrlKey||Ud.altKey||Ud.metaKey;if(Ud.key==="Tab"&&Ud.preventDefault(),!Hd&&Ud.key.length===1&&dd(Ud.key),["ArrowUp","ArrowDown","Home","End"].includes(Ud.key)){let zd=ud.value;if(["ArrowUp","End"].includes(Ud.key)&&(zd=zd.slice().reverse()),["ArrowUp","ArrowDown"].includes(Ud.key)){const Zd=Ud.target,Wd=zd.indexOf(Zd);zd=zd.slice(Wd+1)}setTimeout(()=>$n(zd)),Ud.preventDefault()}}const Md=computed(()=>td.position==="popper"?td:{}),jd=It(Md.value);return Lp({content:sd,viewport:pd,onViewportChange:Ud=>{pd.value=Ud},itemRefCallback:(Ud,Hd,zd)=>{var Zd,Wd;const Qd=!Sd.value&&!zd;(((Zd=nd.modelValue)==null?void 0:Zd.value)!==void 0&&((Wd=nd.modelValue)==null?void 0:Wd.value)===Hd||Qd)&&(fd.value=Ud,Qd&&(Sd.value=!0))},selectedItem:fd,selectedItemText:Td,onItemLeave:()=>{var Ud;(Ud=sd.value)==null||Ud.focus()},itemTextRefCallback:(Ud,Hd,zd)=>{var Zd,Wd;const Qd=!Sd.value&&!zd;(((Zd=nd.modelValue)==null?void 0:Zd.value)!==void 0&&((Wd=nd.modelValue)==null?void 0:Wd.value)===Hd||Qd)&&(Td.value=Ud)},focusSelectedItem:Dd,position:td.position,isPositioned:Ad,searchRef:cd}),(Ud,Hd)=>(openBlock(),createBlock(unref(Ya),{"as-child":"",onMountAutoFocus:Hd[6]||(Hd[6]=withModifiers(()=>{},["prevent"])),onUnmountAutoFocus:Hd[7]||(Hd[7]=zd=>{var Zd;rd("closeAutoFocus",zd),!zd.defaultPrevented&&((Zd=unref(nd).triggerElement.value)==null||Zd.focus({preventScroll:!0}),zd.preventDefault())})},{default:withCtx(()=>[createVNode(unref(yt),{"as-child":"","disable-outside-pointer-events":"",onFocusOutside:Hd[2]||(Hd[2]=withModifiers(()=>{},["prevent"])),onDismiss:Hd[3]||(Hd[3]=zd=>unref(nd).onOpenChange(!1)),onEscapeKeyDown:Hd[4]||(Hd[4]=zd=>rd("escapeKeyDown",zd)),onPointerDownOutside:Hd[5]||(Hd[5]=zd=>rd("pointerDownOutside",zd))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ud.position==="popper"?Np:Fp),mergeProps({...Ud.$attrs,...unref(jd)},{id:unref(nd).contentId,ref:zd=>{sd.value=unref($e)(zd)},role:"listbox","data-state":unref(nd).open.value?"open":"closed",dir:unref(nd).dir.value,style:{display:"flex",flexDirection:"column",outline:"none"},onContextmenu:Hd[0]||(Hd[0]=withModifiers(()=>{},["prevent"])),onPlaced:Hd[1]||(Hd[1]=zd=>Ad.value=!0),onKeydown:Od}),{default:withCtx(()=>[renderSlot(Ud.$slots,"default")]),_:3},16,["id","data-state","dir","onKeydown"]))]),_:3})]),_:3}))}}),Kp=defineComponent({__name:"SelectProvider",props:{context:{}},setup(Ra){return Ds(Ra.context),(qa,td)=>renderSlot(qa.$slots,"default")}}),Hp={key:1},Vy=defineComponent({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean},position:{},bodyLock:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(Ra,{emit:qa}){const td=Ra,rd=xe(td,qa),nd=bt(),ad=ref$1();onMounted(()=>{ad.value=new DocumentFragment});const sd=ref$1(),ud=computed(()=>td.forceMount||nd.open.value);return(cd,dd)=>{var pd;return ud.value?(openBlock(),createBlock(unref(Pe),{key:0,ref_key:"presenceRef",ref:sd,present:!0},{default:withCtx(()=>[createVNode(zp,normalizeProps(guardReactiveProps({...unref(rd),...cd.$attrs})),{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},16)]),_:3},512)):!((pd=sd.value)!=null&&pd.present)&&ad.value?(openBlock(),createElementBlock("div",Hp,[(openBlock(),createBlock(Teleport$1,{to:ad.value},[createVNode(Kp,{context:unref(nd)},{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},8,["context"])],8,["to"]))])):createCommentVNode("",!0)}}}),[Bs,Wp]=Q("SelectItem"),Ly=defineComponent({__name:"SelectItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,{disabled:td}=toRefs(qa),rd=bt(),nd=Ct(aa),{forwardRef:ad,currentElement:sd}=R$1(),ud=computed(()=>{var Dd;return((Dd=rd.modelValue)==null?void 0:Dd.value)===qa.value}),cd=ref$1(!1),dd=ref$1(qa.textValue??""),pd=he(void 0,"radix-vue-select-item-text");async function fd(Dd){await nextTick$1(),!(Dd!=null&&Dd.defaultPrevented)&&(td.value||(rd.onValueChange(qa.value),rd.onOpenChange(!1)))}async function Td(Dd){var Ld;await nextTick$1(),!Dd.defaultPrevented&&(td.value?(Ld=nd.onItemLeave)==null||Ld.call(nd):Dd.currentTarget.focus({preventScroll:!0}))}async function Ad(Dd){var Ld;await nextTick$1(),!Dd.defaultPrevented&&Dd.currentTarget===document.activeElement&&((Ld=nd.onItemLeave)==null||Ld.call(nd))}async function Sd(Dd){var Ld;await nextTick$1(),!(Dd.defaultPrevented||((Ld=nd.searchRef)==null?void 0:Ld.value)!==""&&Dd.key===" ")&&(Mp.includes(Dd.key)&&fd(),Dd.key===" "&&Dd.preventDefault())}if(qa.value==="")throw new Error("A must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return onMounted(()=>{sd.value&&nd.itemRefCallback(sd.value,qa.value,qa.disabled)}),Wp({value:qa.value,disabled:td,textId:pd,isSelected:ud,onItemTextChange:Dd=>{dd.value=((dd.value||(Dd==null?void 0:Dd.textContent))??"").trim()}}),(Dd,Ld)=>(openBlock(),createBlock(unref(O),{ref:unref(ad),role:"option","data-radix-vue-collection-item":"","aria-labelledby":unref(pd),"data-highlighted":cd.value?"":void 0,"aria-selected":ud.value,"data-state":ud.value?"checked":"unchecked","aria-disabled":unref(td)||void 0,"data-disabled":unref(td)?"":void 0,tabindex:unref(td)?void 0:-1,as:Dd.as,"as-child":Dd.asChild,onFocus:Ld[0]||(Ld[0]=Rd=>cd.value=!0),onBlur:Ld[1]||(Ld[1]=Rd=>cd.value=!1),onPointerup:fd,onPointerdown:Ld[2]||(Ld[2]=Rd=>{Rd.currentTarget.focus({preventScroll:!0})}),onTouchend:Ld[3]||(Ld[3]=withModifiers(()=>{},["prevent","stop"])),onPointermove:Td,onPointerleave:Ad,onKeydown:Sd},{default:withCtx(()=>[renderSlot(Dd.$slots,"default")]),_:3},8,["aria-labelledby","data-highlighted","aria-selected","data-state","aria-disabled","data-disabled","tabindex","as","as-child"]))}}),zy=defineComponent({__name:"SelectItemIndicator",props:{asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const qa=Ra,td=Bs();return(rd,nd)=>unref(td).isSelected.value?(openBlock(),createBlock(unref(O),mergeProps({key:0,"aria-hidden":"true"},qa),{default:withCtx(()=>[renderSlot(rd.$slots,"default")]),_:3},16)):createCommentVNode("",!0)}}),Wy=defineComponent({inheritAttrs:!1,__name:"SelectItemText",props:{asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const qa=Ra,td=bt(),rd=Ct(aa),nd=Ap(),ad=Bs(),{forwardRef:sd,currentElement:ud}=R$1(),cd=computed(()=>{var dd;return h$1("option",{key:ad.value,value:ad.value,disabled:ad.disabled.value,textContent:(dd=ud.value)==null?void 0:dd.textContent})});return onMounted(()=>{ud.value&&(ad.onItemTextChange(ud.value),rd.itemTextRefCallback(ud.value,ad.value,ad.disabled.value),nd.onNativeOptionAdd(cd.value))}),onBeforeUnmount(()=>{nd.onNativeOptionRemove(cd.value)}),(dd,pd)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(O),mergeProps({id:unref(ad).textId,ref:unref(sd)},{...qa,...dd.$attrs}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["id"]),unref(ad).isSelected.value&&unref(td).valueElement.value&&!unref(td).valueElementHasChildren.value?(openBlock(),createBlock(Teleport$1,{key:0,to:unref(td).valueElement.value},[renderSlot(dd.$slots,"default")],8,["to"])):createCommentVNode("",!0)],64))}}),jy=defineComponent({__name:"SelectViewport",props:{nonce:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,{nonce:td}=toRefs(qa),rd=Xa(td),nd=Ct(aa),ad=nd.position==="item-aligned"?$o():void 0,{forwardRef:sd,currentElement:ud}=R$1();onMounted(()=>{nd==null||nd.onViewportChange(ud.value)});const cd=ref$1(0);function dd(pd){const fd=pd.currentTarget,{shouldExpandOnScrollRef:Td,contentWrapper:Ad}=ad??{};if(Td!=null&&Td.value&&Ad!=null&&Ad.value){const Sd=Math.abs(cd.value-fd.scrollTop);if(Sd>0){const Dd=window.innerHeight-at*2,Ld=Number.parseFloat(Ad.value.style.minHeight),Rd=Number.parseFloat(Ad.value.style.height),Od=Math.max(Ld,Rd);if(Od0?Ud:0,Ad.value.style.justifyContent="flex-end")}}}cd.value=fd.scrollTop}return(pd,fd)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(O),mergeProps({ref:unref(sd),"data-radix-select-viewport":"",role:"presentation"},{...pd.$attrs,...qa},{style:{position:"relative",flex:1,overflow:"auto"},onScroll:dd}),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16),createVNode(unref(O),{as:"style",nonce:unref(rd)},{default:withCtx(()=>[createTextVNode(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-radix-select-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-radix-select-viewport]::-webkit-scrollbar { display: none; } ")]),_:1},8,["nonce"])],64))}}),Is=defineComponent({__name:"SelectScrollButtonImpl",emits:["autoScroll"],setup(Ra,{emit:qa}){const td=qa,{injectCollection:rd}=Me(),nd=rd(),ad=Ct(aa),sd=ref$1(null);function ud(){sd.value!==null&&(window.clearInterval(sd.value),sd.value=null)}watchEffect(()=>{const pd=nd.value.find(fd=>fd===document.activeElement);pd==null||pd.scrollIntoView({block:"nearest"})});function cd(){sd.value===null&&(sd.value=window.setInterval(()=>{td("autoScroll")},50))}function dd(){var pd;(pd=ad.onItemLeave)==null||pd.call(ad),sd.value===null&&(sd.value=window.setInterval(()=>{td("autoScroll")},50))}return onBeforeUnmount(()=>ud()),(pd,fd)=>{var Td;return openBlock(),createBlock(unref(O),mergeProps({"aria-hidden":"true",style:{flexShrink:0}},(Td=pd.$parent)==null?void 0:Td.$props,{onPointerdown:cd,onPointermove:dd,onPointerleave:fd[0]||(fd[0]=()=>{ud()})}),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16)}}}),Uy=defineComponent({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ct(aa),td=qa.position==="item-aligned"?$o():void 0,{forwardRef:rd,currentElement:nd}=R$1(),ad=ref$1(!1);return watchEffect(sd=>{var ud,cd;if((ud=qa.viewport)!=null&&ud.value&&(cd=qa.isPositioned)!=null&&cd.value){let dd=function(){ad.value=pd.scrollTop>0};const pd=qa.viewport.value;dd(),pd.addEventListener("scroll",dd),sd(()=>pd.removeEventListener("scroll",dd))}}),watch(nd,()=>{nd.value&&(td==null||td.onScrollButtonChange(nd.value))}),(sd,ud)=>ad.value?(openBlock(),createBlock(Is,{key:0,ref:unref(rd),onAutoScroll:ud[0]||(ud[0]=()=>{const{viewport:cd,selectedItem:dd}=unref(qa);cd!=null&&cd.value&&dd!=null&&dd.value&&(cd.value.scrollTop=cd.value.scrollTop-dd.value.offsetHeight)})},{default:withCtx(()=>[renderSlot(sd.$slots,"default")]),_:3},512)):createCommentVNode("",!0)}}),Gy=defineComponent({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ct(aa),td=qa.position==="item-aligned"?$o():void 0,{forwardRef:rd,currentElement:nd}=R$1(),ad=ref$1(!1);return watchEffect(sd=>{var ud,cd;if((ud=qa.viewport)!=null&&ud.value&&(cd=qa.isPositioned)!=null&&cd.value){let dd=function(){const fd=pd.scrollHeight-pd.clientHeight;ad.value=Math.ceil(pd.scrollTop)pd.removeEventListener("scroll",dd))}}),watch(nd,()=>{nd.value&&(td==null||td.onScrollButtonChange(nd.value))}),(sd,ud)=>ad.value?(openBlock(),createBlock(Is,{key:0,ref:unref(rd),onAutoScroll:ud[0]||(ud[0]=()=>{const{viewport:cd,selectedItem:dd}=unref(qa);cd!=null&&cd.value&&dd!=null&&dd.value&&(cd.value.scrollTop=cd.value.scrollTop+dd.value.offsetHeight)})},{default:withCtx(()=>[renderSlot(sd.$slots,"default")]),_:3},512)):createCommentVNode("",!0)}}),qy=defineComponent({__name:"SelectValue",props:{placeholder:{default:""},asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const{forwardRef:qa,currentElement:td}=R$1(),rd=bt(),nd=useSlots();return onBeforeMount(()=>{var ad;const sd=!!Ua((ad=nd==null?void 0:nd.default)==null?void 0:ad.call(nd)).length;rd.onValueElementHasChildrenChange(sd)}),onMounted(()=>{rd.valueElement=td}),(ad,sd)=>(openBlock(),createBlock(unref(O),{ref:unref(qa),as:ad.as,"as-child":ad.asChild,style:{pointerEvents:"none"}},{default:withCtx(()=>{var ud;return[unref($s)((ud=unref(rd).modelValue)==null?void 0:ud.value)?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(ad.placeholder),1)],64)):renderSlot(ad.$slots,"default",{key:1})]}),_:3},8,["as","as-child"]))}}),Yy=defineComponent({__name:"SelectIcon",props:{asChild:{type:Boolean},as:{default:"span"}},setup(Ra){return(qa,td)=>(openBlock(),createBlock(unref(O),{"aria-hidden":"true",as:qa.as,"as-child":qa.asChild},{default:withCtx(()=>[renderSlot(qa.$slots,"default",{},()=>[createTextVNode("▼")])]),_:3},8,["as","as-child"]))}});function mf(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}mf();const _sfc_main$M=defineComponent({__name:"Button",props:{variant:{},size:{},class:{},asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra;return(td,rd)=>(openBlock(),createBlock(unref(O),{as:td.as,"as-child":td.asChild,class:normalizeClass(unref(cn)(unref(buttonVariants)({variant:td.variant,size:td.size}),qa.class))},{default:withCtx(()=>[renderSlot(td.$slots,"default")]),_:3},8,["as","as-child","class"]))}}),buttonVariants=cva("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",xs:"h-7 rounded px-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),_sfc_main$L=defineComponent({__name:"Menubar",props:{modelValue:{},defaultValue:{},dir:{},loop:{type:Boolean},class:{}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const td=Ra,rd=qa,nd=computed(()=>{const{class:sd,...ud}=td;return ud}),ad=xe(nd,rd);return(sd,ud)=>(openBlock(),createBlock(unref(Fh),mergeProps(unref(ad),{class:unref(cn)("flex h-10 items-center gap-x-1 rounded-md border bg-background p-1",td.class)}),{default:withCtx(()=>[renderSlot(sd.$slots,"default")]),_:3},16,["class"]))}});/** + * @license lucide-vue-next v0.445.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const toKebabCase=Ra=>Ra.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/** - * @license lucide-vue-next v0.441.0 - ISC + * @license lucide-vue-next v0.445.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */var defaultAttributes={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/** - * @license lucide-vue-next v0.441.0 - ISC + * @license lucide-vue-next v0.445.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Icon=({size:Ra,strokeWidth:qa=2,absoluteStrokeWidth:ed,color:td,iconNode:rd,name:sd,class:od,...ld},{slots:ud})=>h$1("svg",{...defaultAttributes,width:Ra||defaultAttributes.width,height:Ra||defaultAttributes.height,stroke:td||defaultAttributes.stroke,"stroke-width":ed?Number(qa)*24/Number(Ra):qa,class:["lucide",`lucide-${toKebabCase(sd??"icon")}`],...ld},[...rd.map(cd=>h$1(...cd)),...ud.default?[ud.default()]:[]]);/** - * @license lucide-vue-next v0.441.0 - ISC + */const Icon=({size:Ra,strokeWidth:qa=2,absoluteStrokeWidth:td,color:rd,iconNode:nd,name:ad,class:sd,...ud},{slots:cd})=>h$1("svg",{...defaultAttributes,width:Ra||defaultAttributes.width,height:Ra||defaultAttributes.height,stroke:rd||defaultAttributes.stroke,"stroke-width":td?Number(qa)*24/Number(Ra):qa,class:["lucide",`lucide-${toKebabCase(ad??"icon")}`],...ud},[...nd.map(dd=>h$1(...dd)),...cd.default?[cd.default()]:[]]);/** + * @license lucide-vue-next v0.445.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const createLucideIcon=(Ra,qa)=>(ed,{slots:td})=>h$1(Icon,{...ed,iconNode:qa,name:Ra},td);/** - * @license lucide-vue-next v0.441.0 - ISC + */const createLucideIcon=(Ra,qa)=>(td,{slots:rd})=>h$1(Icon,{...td,iconNode:qa,name:Ra},rd);/** + * @license lucide-vue-next v0.445.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Check=createLucideIcon("CheckIcon",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** - * @license lucide-vue-next v0.441.0 - ISC + * @license lucide-vue-next v0.445.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ChevronDown=createLucideIcon("ChevronDownIcon",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** - * @license lucide-vue-next v0.441.0 - ISC + * @license lucide-vue-next v0.445.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ChevronRight=createLucideIcon("ChevronRightIcon",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** - * @license lucide-vue-next v0.441.0 - ISC + * @license lucide-vue-next v0.445.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ChevronUp=createLucideIcon("ChevronUpIcon",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/** - * @license lucide-vue-next v0.441.0 - ISC + * @license lucide-vue-next v0.445.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const CloudUpload=createLucideIcon("CloudUploadIcon",[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]]);/** - * @license lucide-vue-next v0.441.0 - ISC + * @license lucide-vue-next v0.445.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Moon=createLucideIcon("MoonIcon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/** - * @license lucide-vue-next v0.441.0 - ISC + * @license lucide-vue-next v0.445.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Paintbrush=createLucideIcon("PaintbrushIcon",[["path",{d:"m14.622 17.897-10.68-2.913",key:"vj2p1u"}],["path",{d:"M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z",key:"18tc5c"}],["path",{d:"M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15",key:"ytzfxy"}]]);/** - * @license lucide-vue-next v0.441.0 - ISC + * @license lucide-vue-next v0.445.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Sun=createLucideIcon("SunIcon",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/** - * @license lucide-vue-next v0.441.0 - ISC + * @license lucide-vue-next v0.445.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Table=createLucideIcon("TableIcon",[["path",{d:"M12 3v18",key:"108xh3"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}]]);/** - * @license lucide-vue-next v0.441.0 - ISC + * @license lucide-vue-next v0.445.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const X=createLucideIcon("XIcon",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),_sfc_main$K=defineComponent({__name:"MenubarContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{default:8},align:{default:"start"},alignOffset:{default:-4},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,ed=computed(()=>{const{class:rd,...sd}=qa;return sd}),td=It(ed);return(rd,sd)=>(openBlock(),createBlock(unref(Lh),null,{default:withCtx(()=>[createVNode(unref(zh),mergeProps(unref(td),{class:unref(cn)("z-50 min-w-48 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",qa.class)}),{default:withCtx(()=>[renderSlot(rd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$J=defineComponent({__name:"MenubarItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},emits:["select"],setup(Ra,{emit:qa}){const ed=Ra,td=qa,rd=computed(()=>{const{class:od,...ld}=ed;return ld}),sd=xe(rd,td);return(od,ld)=>(openBlock(),createBlock(unref(Hh),mergeProps(unref(sd),{class:unref(cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",od.inset&&"pl-8",ed.class)}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$I=defineComponent({__name:"MenubarMenu",props:{value:{}},setup(Ra){const qa=Ra;return(ed,td)=>(openBlock(),createBlock(unref(Fh),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(ed.$slots,"default")]),_:3},16))}}),_sfc_main$H=defineComponent({__name:"MenubarSeparator",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,ed=computed(()=>{const{class:rd,...sd}=qa;return sd}),td=It(ed);return(rd,sd)=>(openBlock(),createBlock(unref(jh),mergeProps({class:unref(cn)("-mx-1 my-1 h-px bg-muted",qa.class)},unref(td)),null,16,["class"]))}}),_sfc_main$G=defineComponent({__name:"MenubarShortcut",props:{class:{}},setup(Ra){const qa=Ra;return(ed,td)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(cn)("ml-auto text-xs tracking-widest text-muted-foreground",qa.class))},[renderSlot(ed.$slots,"default")],2))}}),_sfc_main$F=defineComponent({__name:"MenubarSub",props:{defaultOpen:{type:Boolean},open:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const rd=xe(Ra,qa);return(sd,od)=>(openBlock(),createBlock(unref(Zh),normalizeProps(guardReactiveProps(unref(rd))),{default:withCtx(()=>[renderSlot(sd.$slots,"default")]),_:3},16))}}),_sfc_main$E=defineComponent({__name:"MenubarSubContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},sideOffset:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const ed=Ra,td=qa,rd=computed(()=>{const{class:od,...ld}=ed;return ld}),sd=xe(rd,td);return(od,ld)=>(openBlock(),createBlock(unref(Lh),null,{default:withCtx(()=>[createVNode(unref(Jh),mergeProps(unref(sd),{class:unref(cn)("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",ed.class)}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$D=defineComponent({__name:"MenubarSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},setup(Ra){const qa=Ra,ed=computed(()=>{const{class:rd,...sd}=qa;return sd}),td=It(ed);return(rd,sd)=>(openBlock(),createBlock(unref(Qh),mergeProps(unref(td),{class:unref(cn)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",rd.inset&&"pl-8",qa.class)}),{default:withCtx(()=>[renderSlot(rd.$slots,"default"),createVNode(unref(ChevronRight),{class:"ml-auto h-4 w-4"})]),_:3},16,["class"]))}}),_sfc_main$C=defineComponent({__name:"MenubarTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,ed=computed(()=>{const{class:rd,...sd}=qa;return sd}),td=It(ed);return(rd,sd)=>(openBlock(),createBlock(unref(Nh),mergeProps(unref(td),{class:unref(cn)("flex cursor-default select-none items-center rounded-sm px-3 py-1.5 text-sm font-medium outline-none hover:bg-accent focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",qa.class)}),{default:withCtx(()=>[renderSlot(rd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$B=defineComponent({__name:"Popover",props:{defaultOpen:{type:Boolean},open:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const rd=xe(Ra,qa);return(sd,od)=>(openBlock(),createBlock(unref(fs),normalizeProps(guardReactiveProps(unref(rd))),{default:withCtx(()=>[renderSlot(sd.$slots,"default")]),_:3},16))}}),_sfc_main$A=defineComponent({inheritAttrs:!1,__name:"PopoverContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},side:{},sideOffset:{default:4},align:{default:"center"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const ed=Ra,td=qa,rd=computed(()=>{const{class:od,...ld}=ed;return ld}),sd=xe(rd,td);return(od,ld)=>(openBlock(),createBlock(unref(ms),null,{default:withCtx(()=>[createVNode(unref(ys),mergeProps({...unref(sd),...od.$attrs},{class:unref(cn)("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",ed.class)}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$z=defineComponent({__name:"PopoverTrigger",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(ed,td)=>(openBlock(),createBlock(unref(vs),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(ed.$slots,"default")]),_:3},16))}}),_sfc_main$y=defineComponent({__name:"Select",props:{open:{type:Boolean},defaultOpen:{type:Boolean},defaultValue:{},modelValue:{},dir:{},name:{},autocomplete:{},disabled:{type:Boolean},required:{type:Boolean}},emits:["update:modelValue","update:open"],setup(Ra,{emit:qa}){const rd=xe(Ra,qa);return(sd,od)=>(openBlock(),createBlock(unref(Ay),normalizeProps(guardReactiveProps(unref(rd))),{default:withCtx(()=>[renderSlot(sd.$slots,"default")]),_:3},16))}}),_sfc_main$x=defineComponent({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean},position:{default:"popper"},bodyLock:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(Ra,{emit:qa}){const ed=Ra,td=qa,rd=computed(()=>{const{class:od,...ld}=ed;return ld}),sd=xe(rd,td);return(od,ld)=>(openBlock(),createBlock(unref(ky),null,{default:withCtx(()=>[createVNode(unref(My),mergeProps({...unref(sd),...od.$attrs},{class:unref(cn)("relative z-50 max-h-96 min-w-32 overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",od.position==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",ed.class)}),{default:withCtx(()=>[createVNode(unref(_sfc_main$u)),createVNode(unref(Wy),{class:normalizeClass(unref(cn)("p-1",od.position==="popper"&&"h-[--radix-select-trigger-height] w-full min-w-[--radix-select-trigger-width]"))},{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},8,["class"]),createVNode(unref(_sfc_main$v))]),_:3},16,["class"])]),_:3}))}}),_hoisted_1$4={class:"absolute left-2 h-3.5 w-3.5 flex items-center justify-center"},_sfc_main$w=defineComponent({__name:"SelectItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,ed=computed(()=>{const{class:rd,...sd}=qa;return sd}),td=It(ed);return(rd,sd)=>(openBlock(),createBlock(unref(Ny),mergeProps(unref(td),{class:unref(cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",qa.class)}),{default:withCtx(()=>[createBaseVNode("span",_hoisted_1$4,[createVNode(unref(Ly),null,{default:withCtx(()=>[createVNode(unref(Check),{class:"h-4 w-4"})]),_:1})]),createVNode(unref(Hy),null,{default:withCtx(()=>[renderSlot(rd.$slots,"default")]),_:3})]),_:3},16,["class"]))}}),_sfc_main$v=defineComponent({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,ed=computed(()=>{const{class:rd,...sd}=qa;return sd}),td=It(ed);return(rd,sd)=>(openBlock(),createBlock(unref(Uy),mergeProps(unref(td),{class:unref(cn)("flex cursor-default items-center justify-center py-1",qa.class)}),{default:withCtx(()=>[renderSlot(rd.$slots,"default",{},()=>[createVNode(unref(ChevronDown),{class:"h-4 w-4"})])]),_:3},16,["class"]))}}),_sfc_main$u=defineComponent({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,ed=computed(()=>{const{class:rd,...sd}=qa;return sd}),td=It(ed);return(rd,sd)=>(openBlock(),createBlock(unref(jy),mergeProps(unref(td),{class:unref(cn)("flex cursor-default items-center justify-center py-1",qa.class)}),{default:withCtx(()=>[renderSlot(rd.$slots,"default",{},()=>[createVNode(unref(ChevronUp),{class:"h-4 w-4"})])]),_:3},16,["class"]))}}),_sfc_main$t=defineComponent({__name:"SelectTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,ed=computed(()=>{const{class:rd,...sd}=qa;return sd}),td=It(ed);return(rd,sd)=>(openBlock(),createBlock(unref(Oy),mergeProps(unref(td),{class:unref(cn)("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:truncate text-start",qa.class)}),{default:withCtx(()=>[renderSlot(rd.$slots,"default"),createVNode(unref(qy),{"as-child":""},{default:withCtx(()=>[createVNode(unref(ChevronDown),{class:"h-4 w-4 shrink-0 opacity-50"})]),_:1})]),_:3},16,["class"]))}}),_sfc_main$s=defineComponent({__name:"SelectValue",props:{placeholder:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(ed,td)=>(openBlock(),createBlock(unref(Gy),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(ed.$slots,"default")]),_:3},16))}}),_sfc_main$r=defineComponent({__name:"EditDropdown",setup(Ra){const{toggleShowInsertFormDialog:qa,toggleShowUploadImgDialog:ed}=useDisplayStore();return(td,rd)=>(openBlock(),createBlock(unref(_sfc_main$I),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$C),null,{default:withCtx(()=>rd[2]||(rd[2]=[createTextVNode(" 编辑 ")])),_:1}),createVNode(unref(_sfc_main$K),{align:"start"},{default:withCtx(()=>[createVNode(unref(_sfc_main$J),{onClick:rd[0]||(rd[0]=sd=>unref(ed)())},{default:withCtx(()=>[createVNode(unref(CloudUpload),{class:"mr-2 h-4 w-4"}),rd[3]||(rd[3]=createTextVNode(" 上传图片 "))]),_:1}),createVNode(unref(_sfc_main$J),{onClick:rd[1]||(rd[1]=sd=>unref(qa)())},{default:withCtx(()=>[createVNode(unref(Table),{class:"mr-2 h-4 w-4"}),rd[4]||(rd[4]=createTextVNode(" 插入表格 "))]),_:1})]),_:1})]),_:1}))}}),_sfc_main$q=defineComponent({__name:"FileDropdown",setup(Ra){const qa=useStore(),{isDark:ed,isEditOnLeft:td}=storeToRefs(qa),{toggleDark:rd,toggleEditOnLeft:sd,exportEditorContent2HTML:od,exportEditorContent2MD:ld,importMarkdownContent:ud}=qa;return(cd,dd)=>{const _d=_sfc_main$C,Ed=upload_default,Ad=ElIcon,Td=_sfc_main$J,Id=download_default,Bd=document_default,Rd=_sfc_main$H,Od=check_default,Md=_sfc_main$K,Ld=_sfc_main$I;return openBlock(),createBlock(Ld,null,{default:withCtx(()=>[createVNode(_d,null,{default:withCtx(()=>dd[5]||(dd[5]=[createTextVNode(" 文件 ")])),_:1}),createVNode(Md,{align:"start"},{default:withCtx(()=>[createVNode(Td,{onClick:dd[0]||(dd[0]=Fd=>unref(ud)())},{default:withCtx(()=>[createVNode(Ad,{class:"mr-2 h-4 w-4"},{default:withCtx(()=>[createVNode(Ed)]),_:1}),dd[6]||(dd[6]=createTextVNode(" 导入 .md "))]),_:1}),createVNode(Td,{onClick:dd[1]||(dd[1]=Fd=>unref(ld)())},{default:withCtx(()=>[createVNode(Ad,{class:"mr-2 h-4 w-4"},{default:withCtx(()=>[createVNode(Id)]),_:1}),dd[7]||(dd[7]=createTextVNode(" 导出 .md "))]),_:1}),createVNode(Td,{onClick:dd[2]||(dd[2]=Fd=>unref(od)())},{default:withCtx(()=>[createVNode(Ad,{class:"mr-2 h-4 w-4"},{default:withCtx(()=>[createVNode(Bd)]),_:1}),dd[8]||(dd[8]=createTextVNode(" 导出 .html "))]),_:1}),createVNode(Rd),createVNode(Td,{onClick:dd[3]||(dd[3]=Fd=>unref(rd)())},{default:withCtx(()=>[createVNode(Ad,{class:normalizeClass(["mr-2 h-4 w-4",{"opacity-0":!unref(ed)}])},{default:withCtx(()=>[createVNode(Od)]),_:1},8,["class"]),dd[9]||(dd[9]=createTextVNode(" 深色模式 "))]),_:1}),createVNode(Rd),createVNode(Td,{onClick:dd[4]||(dd[4]=Fd=>unref(sd)())},{default:withCtx(()=>[createVNode(Ad,{class:normalizeClass(["mr-2 h-4 w-4",{"opacity-0":!unref(td)}])},{default:withCtx(()=>[createVNode(Od)]),_:1},8,["class"]),dd[10]||(dd[10]=createTextVNode(" 左侧编辑 "))]),_:1})]),_:1})]),_:1})}}}),_sfc_main$p=defineComponent({__name:"Dialog",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const rd=xe(Ra,qa);return(sd,od)=>(openBlock(),createBlock(unref(Gi),normalizeProps(guardReactiveProps(unref(rd))),{default:withCtx(()=>[renderSlot(sd.$slots,"default")]),_:3},16))}}),_sfc_main$o=defineComponent({__name:"DialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const ed=Ra,td=qa,rd=computed(()=>{const{class:od,...ld}=ed;return ld}),sd=xe(rd,td);return(od,ld)=>(openBlock(),createBlock(unref(wv),null,{default:withCtx(()=>[createVNode(unref(gu),{class:"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80"}),createVNode(unref(hu),mergeProps(unref(sd),{class:unref(cn)("fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",ed.class)}),{default:withCtx(()=>[renderSlot(od.$slots,"default"),createVNode(unref(Hl),{class:"data-[state=open]:bg-accent ring-offset-background data-[state=open]:text-muted-foreground focus:ring-ring absolute right-4 top-4 rounded-sm opacity-70 transition-opacity disabled:pointer-events-none hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-offset-2"},{default:withCtx(()=>[createVNode(unref(X),{class:"h-4 w-4"}),ld[0]||(ld[0]=createBaseVNode("span",{class:"sr-only"},"Close",-1))]),_:1})]),_:3},16,["class"])]),_:3}))}}),_sfc_main$n=defineComponent({__name:"DialogFooter",props:{class:{}},setup(Ra){const qa=Ra;return(ed,td)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2",qa.class))},[renderSlot(ed.$slots,"default")],2))}}),_sfc_main$m=defineComponent({__name:"DialogHeader",props:{class:{}},setup(Ra){const qa=Ra;return(ed,td)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn)("flex flex-col gap-y-1.5 text-center sm:text-left",qa.class))},[renderSlot(ed.$slots,"default")],2))}}),_sfc_main$l=defineComponent({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,ed=computed(()=>{const{class:rd,...sd}=qa;return sd}),td=It(ed);return(rd,sd)=>(openBlock(),createBlock(unref(bu),mergeProps(unref(td),{class:unref(cn)("text-lg font-semibold leading-none tracking-tight",qa.class)}),{default:withCtx(()=>[renderSlot(rd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$k=defineComponent({__name:"AboutDialog",props:{visible:{type:Boolean,default:!1}},emits:["close"],setup(Ra,{emit:qa}){const ed=Ra,td=qa;function rd(ld){ld||td("close")}const sd=[{label:"GitHub 仓库",url:"https://github.com/doocs/md"},{label:"Gitee 仓库",url:"https://gitee.com/doocs/md"},{label:"GitCode 仓库",url:"https://gitcode.com/doocs/md"}];function od(ld){window.open(ld,"_blank")}return(ld,ud)=>{const cd=_sfc_main$M;return openBlock(),createBlock(unref(_sfc_main$p),{open:ed.visible,"onUpdate:open":rd},{default:withCtx(()=>[createVNode(unref(_sfc_main$o),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$m),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$l),null,{default:withCtx(()=>ud[0]||(ud[0]=[createTextVNode("关于")])),_:1})]),_:1}),ud[1]||(ud[1]=createBaseVNode("div",{class:"text-center"},[createBaseVNode("h3",null,"一款高度简洁的微信 Markdown 编辑器"),createBaseVNode("p",null,"扫码关注公众号 Doocs,原创技术文章第一时间推送!"),createBaseVNode("img",{class:"mx-auto my-5",src:"https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/doocs/md/images/1648303220922-7e14aefa-816e-44c1-8604-ade709ca1c69.png",alt:"Doocs Markdown 编辑器",style:{width:"40%"}})],-1)),createVNode(unref(_sfc_main$n),{class:"sm:justify-evenly"},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(sd,dd=>createVNode(cd,{key:dd.url,onClick:_d=>od(dd.url)},{default:withCtx(()=>[createTextVNode(toDisplayString(dd.label),1)]),_:2},1032,["onClick"])),64))]),_:1})]),_:1})]),_:1},8,["open"])}}}),_sfc_main$j=defineComponent({__name:"HelpDropdown",setup(Ra){const qa=ref$1(!1);return(ed,td)=>{const rd=_sfc_main$C,sd=ElIcon,od=_sfc_main$J,ld=_sfc_main$K,ud=_sfc_main$I;return openBlock(),createElementBlock(Fragment,null,[createVNode(ud,null,{default:withCtx(()=>[createVNode(rd,null,{default:withCtx(()=>td[2]||(td[2]=[createTextVNode(" 帮助 ")])),_:1}),createVNode(ld,{align:"start"},{default:withCtx(()=>[createVNode(od,{onClick:td[0]||(td[0]=cd=>qa.value=!0)},{default:withCtx(()=>[createVNode(sd,{class:"mr-2 h-4 w-4"}),td[3]||(td[3]=createBaseVNode("span",null,"关于",-1))]),_:1})]),_:1})]),_:1}),createVNode(_sfc_main$k,{visible:qa.value,onClose:td[1]||(td[1]=cd=>qa.value=!1)},null,8,["visible"])],64)}}}),_sfc_main$i=defineComponent({__name:"PostInfo",setup(Ra){const qa=useStore(),{output:ed}=storeToRefs(qa),td=ref$1(!1),rd=ref$1({title:"",desc:"",thumb:"",content:"",auto:{}});function sd(){var cd;let ud={};try{ud={thumb:(cd=document.querySelector("#output img"))==null?void 0:cd.src,title:[1,2,3,4,5,6].map(dd=>document.querySelector(`#output h${dd}`)).filter(dd=>dd)[0].textContent,desc:document.querySelector("#output p").textContent,content:ed.value}}catch(dd){console.log("error",dd)}rd.value={...ud,auto:ud},td.value=!0}function od(){td.value=!1,window.syncPost({thumb:rd.value.thumb||rd.value.auto.thumb,title:rd.value.title||rd.value.auto.title,desc:rd.value.desc||rd.value.auto.desc,content:rd.value.content||rd.value.auto.content})}function ld(ud){ud||(td.value=!1)}return(ud,cd)=>{const dd=_sfc_main$M,_d=ElAlert,Ed=ElInput,Ad=ElFormItem,Td=ElForm;return openBlock(),createElementBlock(Fragment,null,[createVNode(dd,{variant:"outline",onClick:sd},{default:withCtx(()=>cd[4]||(cd[4]=[createTextVNode(" 发布 ")])),_:1}),createVNode(unref(_sfc_main$p),{open:td.value,"onUpdate:open":ld},{default:withCtx(()=>[createVNode(unref(_sfc_main$o),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$m),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$l),null,{default:withCtx(()=>cd[5]||(cd[5]=[createTextVNode("发布")])),_:1})]),_:1}),createVNode(_d,{class:"mb-4",title:"注:此功能由第三方浏览器插件支持,本平台不保证安全性。",type:"info","show-icon":""}),createVNode(Td,{class:"postInfo","label-width":"50",model:rd.value},{default:withCtx(()=>[createVNode(Ad,{label:"封面"},{default:withCtx(()=>[createVNode(Ed,{modelValue:rd.value.thumb,"onUpdate:modelValue":cd[0]||(cd[0]=Id=>rd.value.thumb=Id),placeholder:"自动提取第一张图"},null,8,["modelValue"])]),_:1}),createVNode(Ad,{label:"标题"},{default:withCtx(()=>[createVNode(Ed,{modelValue:rd.value.title,"onUpdate:modelValue":cd[1]||(cd[1]=Id=>rd.value.title=Id),placeholder:"自动提取第一个标题"},null,8,["modelValue"])]),_:1}),createVNode(Ad,{label:"描述"},{default:withCtx(()=>[createVNode(Ed,{modelValue:rd.value.desc,"onUpdate:modelValue":cd[2]||(cd[2]=Id=>rd.value.desc=Id),type:"textarea",rows:4,placeholder:"自动提取第一个段落"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"]),createVNode(unref(_sfc_main$n),null,{default:withCtx(()=>[createVNode(dd,{variant:"outline",onClick:cd[3]||(cd[3]=Id=>td.value=!1)},{default:withCtx(()=>cd[6]||(cd[6]=[createTextVNode(" 取 消 ")])),_:1}),createVNode(dd,{onClick:od},{default:withCtx(()=>cd[7]||(cd[7]=[createTextVNode(" 确 定 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"])],64)}}}),_sfc_main$h=defineComponent({__name:"HoverCard",props:{defaultOpen:{type:Boolean},open:{type:Boolean},openDelay:{},closeDelay:{}},emits:["update:open"],setup(Ra,{emit:qa}){const rd=xe(Ra,qa);return(sd,od)=>(openBlock(),createBlock(unref(xh),normalizeProps(guardReactiveProps(unref(rd))),{default:withCtx(()=>[renderSlot(sd.$slots,"default")]),_:3},16))}}),_sfc_main$g=defineComponent({__name:"HoverCardContent",props:{forceMount:{type:Boolean},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,ed=computed(()=>{const{class:rd,...sd}=qa;return sd}),td=It(ed);return(rd,sd)=>(openBlock(),createBlock(unref(Eh),null,{default:withCtx(()=>[createVNode(unref(Ph),mergeProps(unref(td),{class:unref(cn)("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",qa.class)}),{default:withCtx(()=>[renderSlot(rd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$f=defineComponent({__name:"HoverCardTrigger",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(ed,td)=>(openBlock(),createBlock(unref(Sh),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(ed.$slots,"default")]),_:3},16))}}),_sfc_main$e=defineComponent({__name:"DropdownMenuShortcut",props:{class:{}},setup(Ra){const qa=Ra;return(ed,td)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(cn)("ml-auto text-xs tracking-widest opacity-60",qa.class))},[renderSlot(ed.$slots,"default")],2))}}),_sfc_main$d=defineComponent({__name:"StyleOptionMenu",props:{title:{},options:{},current:{},change:{type:Function}},setup(Ra){const qa=Ra;function ed(td,rd){switch(td){case"字体":return{fontFamily:rd};case"字号":return{fontSize:rd};case"主题色":return{color:rd};default:return{}}}return(td,rd)=>{const sd=ElIcon,od=check_default,ld=_sfc_main$e;return openBlock(),createBlock(unref(_sfc_main$F),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$D),null,{default:withCtx(()=>[createVNode(sd,{class:"mr-2 h-4 w-4"}),createBaseVNode("span",null,toDisplayString(qa.title),1)]),_:1}),createVNode(unref(_sfc_main$E),{class:"max-h-56 overflow-auto"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(td.options,({label:ud,value:cd,desc:dd})=>(openBlock(),createBlock(unref(_sfc_main$J),{key:cd,label:ud,"model-value":cd,class:"w-50",onClick:_d=>td.change(cd)},{default:withCtx(()=>[createVNode(sd,{class:"mr-2 h-4 w-4",style:normalizeStyle({opacity:+(td.current===cd)})},{default:withCtx(()=>[createVNode(od)]),_:2},1032,["style"]),createTextVNode(" "+toDisplayString(ud)+" ",1),createVNode(ld,{style:normalizeStyle(ed(td.title,cd))},{default:withCtx(()=>[createTextVNode(toDisplayString(dd),1)]),_:2},1032,["style"])]),_:2},1032,["label","model-value","onClick"]))),128))]),_:1})]),_:1})}}}),_sfc_main$c=defineComponent({__name:"StyleDropdown",setup(Ra){const qa=useStore(),{toggleShowCssEditor:ed}=useDisplayStore(),{theme:td,fontFamily:rd,fontSize:sd,primaryColor:od,codeBlockTheme:ld,legend:ud,isMacCodeBlock:cd,cssEditor:dd}=storeToRefs(qa),{resetStyleConfirm:_d,themeChanged:Ed,fontChanged:Ad,sizeChanged:Td,colorChanged:Id,codeBlockThemeChanged:Bd,legendChanged:Rd,macCodeBlockChanged:Od}=qa,Md=ref$1(null);function Ld(){var jd;(jd=Md.value)==null||jd.show()}function Fd(){ed(),setTimeout(()=>{dd.value.refresh()},50)}return(jd,Vd)=>{const Qd=_sfc_main$C,qd=_sfc_main$H,Kd=ElIcon,Xd=ElColorPicker,df=_sfc_main$J,mf=check_default,bf=_sfc_main$K,pf=_sfc_main$I;return openBlock(),createBlock(pf,null,{default:withCtx(()=>[createVNode(Qd,null,{default:withCtx(()=>Vd[1]||(Vd[1]=[createTextVNode(" 样式 ")])),_:1}),createVNode(bf,{class:"w-56",align:"start"},{default:withCtx(()=>[createVNode(_sfc_main$d,{title:"主题",options:unref(themeOptions),current:unref(td),change:unref(Ed)},null,8,["options","current","change"]),createVNode(qd),createVNode(_sfc_main$d,{title:"字体",options:unref(fontFamilyOptions),current:unref(rd),change:unref(Ad)},null,8,["options","current","change"]),createVNode(_sfc_main$d,{title:"字号",options:unref(fontSizeOptions),current:unref(sd),change:unref(Td)},null,8,["options","current","change"]),createVNode(_sfc_main$d,{title:"主题色",options:unref(colorOptions),current:unref(od),change:unref(Id)},null,8,["options","current","change"]),createVNode(_sfc_main$d,{title:"代码块主题",options:unref(codeBlockThemeOptions),current:unref(ld),change:unref(Bd)},null,8,["options","current","change"]),createVNode(_sfc_main$d,{title:"图注格式",options:unref(legendOptions),current:unref(ud),change:unref(Rd)},null,8,["options","current","change"]),createVNode(qd),createVNode(df,{onClick:withModifiers(Ld,["self","prevent"])},{default:withCtx(()=>[createVNode(unref(_sfc_main$h),{"open-delay":100},{default:withCtx(()=>[createVNode(unref(_sfc_main$f),{class:"w-full flex"},{default:withCtx(()=>[createVNode(Kd,{class:"mr-2 h-4 w-4"}),Vd[2]||(Vd[2]=createTextVNode(" 自定义主题色 "))]),_:1}),createVNode(unref(_sfc_main$g),{side:"right",class:"w-min"},{default:withCtx(()=>[createVNode(Xd,{ref_key:"colorPicker",ref:Md,modelValue:unref(od),"onUpdate:modelValue":Vd[0]||(Vd[0]=_f=>isRef(od)?od.value=_f:null),teleported:!1,"show-alpha":"",class:"ml-auto",style:{height:"2em"},onChange:unref(Id),onClick:Ld},null,8,["modelValue","onChange"])]),_:1})]),_:1})]),_:1}),createVNode(df,{onClick:Fd},{default:withCtx(()=>[createVNode(Kd,{class:"mr-2 h-4 w-4"}),Vd[3]||(Vd[3]=createTextVNode(" 自定义 CSS "))]),_:1}),createVNode(qd),createVNode(df,{onClick:unref(Od)},{default:withCtx(()=>[createVNode(Kd,{class:normalizeClass(["mr-2 h-4 w-4",{"opacity-0":!unref(cd)}])},{default:withCtx(()=>[createVNode(mf)]),_:1},8,["class"]),Vd[4]||(Vd[4]=createTextVNode(" Mac 代码块 "))]),_:1},8,["onClick"]),createVNode(qd),createVNode(df,{divided:"",onClick:unref(_d)},{default:withCtx(()=>[createVNode(Kd,{class:"mr-2 h-4 w-4"}),Vd[5]||(Vd[5]=createTextVNode(" 重置 "))]),_:1},8,["onClick"])]),_:1})]),_:1})}}}),_hoisted_1$3={class:"header-container h-15 flex items-center px-5"},_hoisted_2$1={class:"space-y-4"},_hoisted_3$1={class:"space-y-2"},_hoisted_4$1={class:"grid grid-cols-3 justify-items-center gap-2"},_hoisted_5={class:"space-y-2"},_hoisted_6={class:"grid grid-cols-3 justify-items-center gap-2"},_hoisted_7={class:"space-y-2"},_hoisted_8={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_9={class:"space-y-2"},_hoisted_10={class:"grid grid-cols-3 justify-items-center gap-2"},_hoisted_11={class:"space-y-2"},_hoisted_12={class:"space-y-2"},_hoisted_13={class:"space-y-2"},_hoisted_14={class:"grid grid-cols-3 justify-items-center gap-2"},_hoisted_15={class:"space-y-2"},_hoisted_16={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_17={class:"space-y-2"},_hoisted_18={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_19={class:"space-y-2"},_hoisted_20={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_21={class:"space-y-2"},_hoisted_22={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_23={class:"space-y-2"},_hoisted_24={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_25={class:"space-y-2"},_sfc_main$b=defineComponent({__name:"index",emits:["addFormat","formatContent","startCopy","endCopy"],setup(Ra,{emit:qa}){const ed=qa,td=[{label:"加粗",kbd:[ctrlSign,"B"],emitArgs:["addFormat",`${ctrlKey}-B`]},{label:"斜体",kbd:[ctrlSign,"I"],emitArgs:["addFormat",`${ctrlKey}-I`]},{label:"删除线",kbd:[ctrlSign,"D"],emitArgs:["addFormat",`${ctrlKey}-D`]},{label:"超链接",kbd:[ctrlSign,"K"],emitArgs:["addFormat",`${ctrlKey}-K`]},{label:"行内代码",kbd:[ctrlSign,"E"],emitArgs:["addFormat",`${ctrlKey}-E`]},{label:"格式化",kbd:[altSign,shiftSign,"F"],emitArgs:["formatContent"]}],rd=useStore(),sd=useDisplayStore(),{isDark:od,isCiteStatus:ld,output:ud,primaryColor:cd}=storeToRefs(rd),{toggleDark:dd,editorRefresh:_d,citeStatusChanged:Ed}=rd;function Ad(){ed("startCopy"),setTimeout(()=>{function Id(Rd){const Od=document.createElement("div");return Od.innerHTML=Rd,Od.querySelectorAll("li > ul, li > ol").forEach(Ld=>{Ld.parentElement.insertAdjacentElement("afterend",Ld)}),Od.innerHTML}const Bd=od.value;Bd&&dd(),nextTick$1(()=>{solveWeChatImage();const Rd=document.getElementById("output");Rd.innerHTML=mergeCss(Rd.innerHTML),Rd.innerHTML=Id(Rd.innerHTML),Rd.innerHTML=Rd.innerHTML.replace(/top:(.*?)em/g,"transform: translateY($1em)").replaceAll("var(--el-text-color-regular)","#3f3f3f").replaceAll("var(--md-primary-color)",cd.value).replaceAll(/--md-primary-color:.+?;/g,""),Rd.focus(),window.getSelection().removeAllRanges();const Od=document.createRange();Od.setStartBefore(Rd.firstChild),Od.setEndAfter(Rd.lastChild),window.getSelection().addRange(Od),document.execCommand("copy"),window.getSelection().removeAllRanges(),Rd.innerHTML=ud.value,Bd&&nextTick$1(()=>dd()),ElNotification({showClose:!0,message:"已复制渲染后的文章到剪贴板,可直接到公众号后台粘贴",offset:80,duration:1600,type:"success"}),_d(),ed("endCopy")})},350)}function Td(){sd.toggleShowCssEditor(),setTimeout(()=>{rd.cssEditor.refresh()},50)}return(Id,Bd)=>{const Rd=ElIcon,Od=check_default,Md=ElColorPicker;return openBlock(),createElementBlock("header",_hoisted_1$3,[createVNode(unref(_sfc_main$L),{class:"menubar mr-auto"},{default:withCtx(()=>[createVNode(_sfc_main$q),createVNode(unref(_sfc_main$I),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$C),null,{default:withCtx(()=>Bd[14]||(Bd[14]=[createTextVNode(" 格式 ")])),_:1}),createVNode(unref(_sfc_main$K),{class:"w-60",align:"start"},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(td,({label:Ld,kbd:Fd,emitArgs:jd})=>createVNode(unref(_sfc_main$J),{key:Ld,onClick:Vd=>jd[0]==="addFormat"?Id.$emit(jd[0],jd[1]):Id.$emit(jd[0])},{default:withCtx(()=>[createVNode(Rd,{class:"mr-2 h-4 w-4"}),createTextVNode(" "+toDisplayString(Ld)+" ",1),createVNode(unref(_sfc_main$G),null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(Fd,Vd=>(openBlock(),createElementBlock("kbd",{key:Vd,class:"mx-1 bg-gray-2 dark:bg-stone-9"},toDisplayString(Vd),1))),128))]),_:2},1024)]),_:2},1032,["onClick"])),64)),createVNode(unref(_sfc_main$H)),createVNode(unref(_sfc_main$J),{onClick:Bd[0]||(Bd[0]=Ld=>unref(Ed)())},{default:withCtx(()=>[createVNode(Rd,{class:normalizeClass(["mr-2 h-4 w-4",{"opacity-0":!unref(ld)}])},{default:withCtx(()=>[createVNode(Od)]),_:1},8,["class"]),Bd[15]||(Bd[15]=createTextVNode(" 微信外链转底部引用 "))]),_:1})]),_:1})]),_:1}),createVNode(_sfc_main$r),createVNode(_sfc_main$c),createVNode(_sfc_main$j)]),_:1}),createVNode(unref(_sfc_main$B),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$z),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$M),{variant:"outline"},{default:withCtx(()=>[createVNode(unref(Paintbrush),{class:"h-4 w-4"})]),_:1})]),_:1}),createVNode(unref(_sfc_main$A),{class:"h-100 w-100 overflow-auto px-6",align:"end"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$1,[createBaseVNode("div",_hoisted_3$1,[Bd[16]||(Bd[16]=createBaseVNode("h2",null,"主题",-1)),createBaseVNode("div",_hoisted_4$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(themeOptions),({label:Ld,value:Fd})=>(openBlock(),createBlock(unref(_sfc_main$M),{key:Fd,class:normalizeClass(["w-full",{"border-black dark:border-white":unref(rd).theme===Fd}]),variant:"outline",onClick:jd=>unref(rd).themeChanged(Fd)},{default:withCtx(()=>[createTextVNode(toDisplayString(Ld),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_5,[Bd[17]||(Bd[17]=createBaseVNode("h2",null,"字体",-1)),createBaseVNode("div",_hoisted_6,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(fontFamilyOptions),({label:Ld,value:Fd})=>(openBlock(),createBlock(unref(_sfc_main$M),{key:Fd,variant:"outline",class:normalizeClass(["w-full",{"border-black dark:border-white":unref(rd).fontFamily===Fd}]),onClick:jd=>unref(rd).fontChanged(Fd)},{default:withCtx(()=>[createTextVNode(toDisplayString(Ld),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_7,[Bd[18]||(Bd[18]=createBaseVNode("h2",null,"字号",-1)),createBaseVNode("div",_hoisted_8,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(fontSizeOptions),({value:Ld,desc:Fd})=>(openBlock(),createBlock(unref(_sfc_main$M),{key:Ld,variant:"outline",class:normalizeClass(["w-full",{"border-black dark:border-white":unref(rd).fontSize===Ld}]),onClick:jd=>unref(rd).sizeChanged(Ld)},{default:withCtx(()=>[createTextVNode(toDisplayString(Fd),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_9,[Bd[19]||(Bd[19]=createBaseVNode("h2",null,"主题色",-1)),createBaseVNode("div",_hoisted_10,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(colorOptions),({label:Ld,value:Fd})=>(openBlock(),createBlock(unref(_sfc_main$M),{key:Fd,class:normalizeClass(["w-full",{"border-black dark:border-white":unref(rd).primaryColor===Fd}]),variant:"outline",onClick:jd=>unref(rd).colorChanged(Fd)},{default:withCtx(()=>[createBaseVNode("span",{class:"mr-2 inline-block h-4 w-4 rounded-full",style:normalizeStyle({background:Fd})},null,4),createTextVNode(" "+toDisplayString(Ld),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_11,[Bd[20]||(Bd[20]=createBaseVNode("h2",null,"自定义主题色",-1)),createBaseVNode("div",null,[createVNode(Md,{modelValue:unref(cd),"onUpdate:modelValue":Bd[1]||(Bd[1]=Ld=>isRef(cd)?cd.value=Ld:null),teleported:!1,"show-alpha":"",onChange:unref(rd).colorChanged},null,8,["modelValue","onChange"])])]),createBaseVNode("div",_hoisted_12,[Bd[21]||(Bd[21]=createBaseVNode("h2",null,"代码块主题",-1)),createBaseVNode("div",null,[createVNode(unref(_sfc_main$y),{modelValue:unref(rd).codeBlockTheme,"onUpdate:modelValue":[Bd[2]||(Bd[2]=Ld=>unref(rd).codeBlockTheme=Ld),unref(rd).codeBlockThemeChanged]},{default:withCtx(()=>[createVNode(unref(_sfc_main$t),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$s),{placeholder:"Select a fruit"})]),_:1}),createVNode(unref(_sfc_main$x),null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(codeBlockThemeOptions),({label:Ld,value:Fd})=>(openBlock(),createBlock(unref(_sfc_main$w),{key:Ld,value:Fd},{default:withCtx(()=>[createTextVNode(toDisplayString(Ld),1)]),_:2},1032,["value"]))),128))]),_:1})]),_:1},8,["modelValue","onUpdate:modelValue"])])]),createBaseVNode("div",_hoisted_13,[Bd[22]||(Bd[22]=createBaseVNode("h2",null,"图注格式",-1)),createBaseVNode("div",_hoisted_14,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(legendOptions),({label:Ld,value:Fd})=>(openBlock(),createBlock(unref(_sfc_main$M),{key:Fd,class:normalizeClass(["w-full",{"border-black dark:border-white":unref(rd).legend===Fd}]),variant:"outline",onClick:jd=>unref(rd).legendChanged(Fd)},{default:withCtx(()=>[createTextVNode(toDisplayString(Ld),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_15,[Bd[25]||(Bd[25]=createBaseVNode("h2",null,"Mac 代码块",-1)),createBaseVNode("div",_hoisted_16,[createVNode(unref(_sfc_main$M),{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(rd).isMacCodeBlock}]),variant:"outline",onClick:Bd[3]||(Bd[3]=Ld=>!unref(rd).isMacCodeBlock&&unref(rd).macCodeBlockChanged())},{default:withCtx(()=>Bd[23]||(Bd[23]=[createTextVNode(" 开启 ")])),_:1},8,["class"]),createVNode(unref(_sfc_main$M),{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(rd).isMacCodeBlock}]),variant:"outline",onClick:Bd[4]||(Bd[4]=Ld=>unref(rd).isMacCodeBlock&&unref(rd).macCodeBlockChanged())},{default:withCtx(()=>Bd[24]||(Bd[24]=[createTextVNode(" 关闭 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_17,[Bd[28]||(Bd[28]=createBaseVNode("h2",null,"微信外链转底部引用",-1)),createBaseVNode("div",_hoisted_18,[createVNode(unref(_sfc_main$M),{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(rd).isCiteStatus}]),variant:"outline",onClick:Bd[5]||(Bd[5]=Ld=>!unref(rd).isCiteStatus&&unref(rd).citeStatusChanged())},{default:withCtx(()=>Bd[26]||(Bd[26]=[createTextVNode(" 开启 ")])),_:1},8,["class"]),createVNode(unref(_sfc_main$M),{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(rd).isCiteStatus}]),variant:"outline",onClick:Bd[6]||(Bd[6]=Ld=>unref(rd).isCiteStatus&&unref(rd).citeStatusChanged())},{default:withCtx(()=>Bd[27]||(Bd[27]=[createTextVNode(" 关闭 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_19,[Bd[31]||(Bd[31]=createBaseVNode("h2",null,"自定义 CSS 面板",-1)),createBaseVNode("div",_hoisted_20,[createVNode(unref(_sfc_main$M),{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(sd).isShowCssEditor}]),variant:"outline",onClick:Bd[7]||(Bd[7]=Ld=>!unref(sd).isShowCssEditor&&Td())},{default:withCtx(()=>Bd[29]||(Bd[29]=[createTextVNode(" 开启 ")])),_:1},8,["class"]),createVNode(unref(_sfc_main$M),{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(sd).isShowCssEditor}]),variant:"outline",onClick:Bd[8]||(Bd[8]=Ld=>unref(sd).isShowCssEditor&&Td())},{default:withCtx(()=>Bd[30]||(Bd[30]=[createTextVNode(" 关闭 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_21,[Bd[34]||(Bd[34]=createBaseVNode("h2",null,"编辑区位置",-1)),createBaseVNode("div",_hoisted_22,[createVNode(unref(_sfc_main$M),{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(rd).isEditOnLeft}]),variant:"outline",onClick:Bd[9]||(Bd[9]=Ld=>!unref(rd).isEditOnLeft&&unref(rd).toggleEditOnLeft())},{default:withCtx(()=>Bd[32]||(Bd[32]=[createTextVNode(" 左侧 ")])),_:1},8,["class"]),createVNode(unref(_sfc_main$M),{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(rd).isEditOnLeft}]),variant:"outline",onClick:Bd[10]||(Bd[10]=Ld=>unref(rd).isEditOnLeft&&unref(rd).toggleEditOnLeft())},{default:withCtx(()=>Bd[33]||(Bd[33]=[createTextVNode(" 右侧 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_23,[Bd[35]||(Bd[35]=createBaseVNode("h2",null,"模式",-1)),createBaseVNode("div",_hoisted_24,[createVNode(unref(_sfc_main$M),{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(od)}]),variant:"outline",onClick:Bd[11]||(Bd[11]=Ld=>unref(rd).toggleDark(!1))},{default:withCtx(()=>[createVNode(unref(Sun),{class:"h-4 w-4"})]),_:1},8,["class"]),createVNode(unref(_sfc_main$M),{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(od)}]),variant:"outline",onClick:Bd[12]||(Bd[12]=Ld=>unref(rd).toggleDark(!0))},{default:withCtx(()=>[createVNode(unref(Moon),{class:"h-4 w-4"})]),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_25,[Bd[37]||(Bd[37]=createBaseVNode("h2",null,"样式配置",-1)),createBaseVNode("div",null,[createVNode(unref(_sfc_main$M),{class:"w-full",onClick:Bd[13]||(Bd[13]=Ld=>unref(rd).resetStyleConfirm())},{default:withCtx(()=>Bd[36]||(Bd[36]=[createTextVNode(" 重置 ")])),_:1})])])])]),_:1})]),_:1}),createVNode(unref(_sfc_main$M),{variant:"outline",class:"mx-2",onClick:Ad},{default:withCtx(()=>Bd[38]||(Bd[38]=[createTextVNode(" 复制 ")])),_:1}),createVNode(_sfc_main$i)])}}}),EditorHeader=_export_sfc(_sfc_main$b,[["__scopeId","data-v-acc1628a"]]),_hoisted_1$2={style:{"border-collapse":"collapse"},class:"input-table"},_sfc_main$a=defineComponent({__name:"InsertFormDialog",setup(Ra){const qa=useStore(),ed=useDisplayStore(),{toggleShowInsertFormDialog:td}=ed,rd=ref$1(3),sd=ref$1(3),od=ref$1({});function ld(){rd.value=3,sd.value=3,od.value={}}function ud(){const dd=createTable({rows:rd.value,cols:sd.value,data:od.value});toRaw(qa.editor).replaceSelection(` -${dd} -`,"end"),ld(),td()}function cd(dd){dd||td(!1)}return(dd,_d)=>{const Ed=ElInputNumber,Ad=ElCol,Td=ElRow,Id=ElInput,Bd=_sfc_main$M;return openBlock(),createBlock(unref(_sfc_main$p),{open:unref(ed).isShowInsertFormDialog,"onUpdate:open":cd},{default:withCtx(()=>[createVNode(unref(_sfc_main$o),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$m),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$l),null,{default:withCtx(()=>_d[3]||(_d[3]=[createTextVNode("插入表格")])),_:1})]),_:1}),createVNode(Td,{class:"tb-options",type:"flex",align:"middle",gutter:10},{default:withCtx(()=>[createVNode(Ad,{span:12},{default:withCtx(()=>[_d[4]||(_d[4]=createTextVNode(" 行数: ")),createVNode(Ed,{modelValue:rd.value,"onUpdate:modelValue":_d[0]||(_d[0]=Rd=>rd.value=Rd),"controls-position":"right",min:1,max:100,size:"small"},null,8,["modelValue"])]),_:1}),createVNode(Ad,{span:12},{default:withCtx(()=>[_d[5]||(_d[5]=createTextVNode(" 列数: ")),createVNode(Ed,{modelValue:sd.value,"onUpdate:modelValue":_d[1]||(_d[1]=Rd=>sd.value=Rd),"controls-position":"right",min:1,max:100,size:"small"},null,8,["modelValue"])]),_:1})]),_:1}),createBaseVNode("table",_hoisted_1$2,[(openBlock(!0),createElementBlock(Fragment,null,renderList(rd.value+1,Rd=>(openBlock(),createElementBlock("tr",{key:Rd,class:normalizeClass({"head-style":Rd===1})},[(openBlock(!0),createElementBlock(Fragment,null,renderList(sd.value,Od=>(openBlock(),createElementBlock("td",{key:Od},[createVNode(Id,{modelValue:od.value[`k_${Rd-1}_${Od-1}`],"onUpdate:modelValue":Md=>od.value[`k_${Rd-1}_${Od-1}`]=Md,align:"center",placeholder:Rd===1?"表头":""},null,8,["modelValue","onUpdate:modelValue","placeholder"])]))),128))],2))),128))]),createVNode(unref(_sfc_main$n),null,{default:withCtx(()=>[createVNode(Bd,{variant:"outline",onClick:_d[2]||(_d[2]=Rd=>unref(td)(!1))},{default:withCtx(()=>_d[6]||(_d[6]=[createTextVNode(" 取 消 ")])),_:1}),createVNode(Bd,{onClick:ud},{default:withCtx(()=>_d[7]||(_d[7]=[createTextVNode(" 确 定 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"])}}}),InsertFormDialog=_export_sfc(_sfc_main$a,[["__scopeId","data-v-054300b0"]]),_sfc_main$9=defineComponent({__name:"UploadImgDialog",emits:["uploadImage"],setup(Ra,{emit:qa}){const ed=qa,td=useDisplayStore(),rd=ref$1({repo:"",branch:"",accessToken:""}),sd=ref$1({accessKeyId:"",accessKeySecret:"",bucket:"",region:"",path:"",cdnHost:"",useSSL:!0}),od=ref$1({secretId:"",secretKey:"",bucket:"",region:"",path:"",cdnHost:""}),ld=ref$1({accessKey:"",secretKey:"",bucket:"",domain:"",region:"",path:""}),ud=ref$1({endpoint:"",port:"",useSSL:!0,bucket:"",accessKey:"",secretKey:""}),cd=ref$1({code:localStorage.getItem("formCustomConfig")||removeLeft(` + */const X=createLucideIcon("XIcon",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),_sfc_main$K=defineComponent({__name:"MenubarContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{default:8},align:{default:"start"},alignOffset:{default:-4},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,td=computed(()=>{const{class:nd,...ad}=qa;return ad}),rd=It(td);return(nd,ad)=>(openBlock(),createBlock(unref(zh),null,{default:withCtx(()=>[createVNode(unref(Kh),mergeProps(unref(rd),{class:unref(cn)("z-50 min-w-48 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",qa.class)}),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$J=defineComponent({__name:"MenubarItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},emits:["select"],setup(Ra,{emit:qa}){const td=Ra,rd=qa,nd=computed(()=>{const{class:sd,...ud}=td;return ud}),ad=xe(nd,rd);return(sd,ud)=>(openBlock(),createBlock(unref(Wh),mergeProps(unref(ad),{class:unref(cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",sd.inset&&"pl-8",td.class)}),{default:withCtx(()=>[renderSlot(sd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$I=defineComponent({__name:"MenubarMenu",props:{value:{}},setup(Ra){const qa=Ra;return(td,rd)=>(openBlock(),createBlock(unref(Nh),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(td.$slots,"default")]),_:3},16))}}),_sfc_main$H=defineComponent({__name:"MenubarSeparator",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,td=computed(()=>{const{class:nd,...ad}=qa;return ad}),rd=It(td);return(nd,ad)=>(openBlock(),createBlock(unref(Uh),mergeProps({class:unref(cn)("-mx-1 my-1 h-px bg-muted",qa.class)},unref(rd)),null,16,["class"]))}}),_sfc_main$G=defineComponent({__name:"MenubarShortcut",props:{class:{}},setup(Ra){const qa=Ra;return(td,rd)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(cn)("ml-auto text-xs tracking-widest text-muted-foreground",qa.class))},[renderSlot(td.$slots,"default")],2))}}),_sfc_main$F=defineComponent({__name:"MenubarSub",props:{defaultOpen:{type:Boolean},open:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=xe(Ra,qa);return(ad,sd)=>(openBlock(),createBlock(unref(Jh),normalizeProps(guardReactiveProps(unref(nd))),{default:withCtx(()=>[renderSlot(ad.$slots,"default")]),_:3},16))}}),_sfc_main$E=defineComponent({__name:"MenubarSubContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},sideOffset:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const td=Ra,rd=qa,nd=computed(()=>{const{class:sd,...ud}=td;return ud}),ad=xe(nd,rd);return(sd,ud)=>(openBlock(),createBlock(unref(zh),null,{default:withCtx(()=>[createVNode(unref(Qh),mergeProps(unref(ad),{class:unref(cn)("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",td.class)}),{default:withCtx(()=>[renderSlot(sd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$D=defineComponent({__name:"MenubarSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},setup(Ra){const qa=Ra,td=computed(()=>{const{class:nd,...ad}=qa;return ad}),rd=It(td);return(nd,ad)=>(openBlock(),createBlock(unref(ey),mergeProps(unref(rd),{class:unref(cn)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",nd.inset&&"pl-8",qa.class)}),{default:withCtx(()=>[renderSlot(nd.$slots,"default"),createVNode(unref(ChevronRight),{class:"ml-auto h-4 w-4"})]),_:3},16,["class"]))}}),_sfc_main$C=defineComponent({__name:"MenubarTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,td=computed(()=>{const{class:nd,...ad}=qa;return ad}),rd=It(td);return(nd,ad)=>(openBlock(),createBlock(unref(Lh),mergeProps(unref(rd),{class:unref(cn)("flex cursor-default select-none items-center rounded-sm px-3 py-1.5 text-sm font-medium outline-none hover:bg-accent focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",qa.class)}),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$B=defineComponent({__name:"Popover",props:{defaultOpen:{type:Boolean},open:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=xe(Ra,qa);return(ad,sd)=>(openBlock(),createBlock(unref(ms),normalizeProps(guardReactiveProps(unref(nd))),{default:withCtx(()=>[renderSlot(ad.$slots,"default")]),_:3},16))}}),_sfc_main$A=defineComponent({inheritAttrs:!1,__name:"PopoverContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},side:{},sideOffset:{default:4},align:{default:"center"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const td=Ra,rd=qa,nd=computed(()=>{const{class:sd,...ud}=td;return ud}),ad=xe(nd,rd);return(sd,ud)=>(openBlock(),createBlock(unref(ys),null,{default:withCtx(()=>[createVNode(unref(bs),mergeProps({...unref(ad),...sd.$attrs},{class:unref(cn)("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",td.class)}),{default:withCtx(()=>[renderSlot(sd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$z=defineComponent({__name:"PopoverTrigger",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(td,rd)=>(openBlock(),createBlock(unref(hs),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(td.$slots,"default")]),_:3},16))}}),_sfc_main$y=defineComponent({__name:"Select",props:{open:{type:Boolean},defaultOpen:{type:Boolean},defaultValue:{},modelValue:{},dir:{},name:{},autocomplete:{},disabled:{type:Boolean},required:{type:Boolean}},emits:["update:modelValue","update:open"],setup(Ra,{emit:qa}){const nd=xe(Ra,qa);return(ad,sd)=>(openBlock(),createBlock(unref(Oy),normalizeProps(guardReactiveProps(unref(nd))),{default:withCtx(()=>[renderSlot(ad.$slots,"default")]),_:3},16))}}),_sfc_main$x=defineComponent({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean},position:{default:"popper"},bodyLock:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(Ra,{emit:qa}){const td=Ra,rd=qa,nd=computed(()=>{const{class:sd,...ud}=td;return ud}),ad=xe(nd,rd);return(sd,ud)=>(openBlock(),createBlock(unref(My),null,{default:withCtx(()=>[createVNode(unref(Vy),mergeProps({...unref(ad),...sd.$attrs},{class:unref(cn)("relative z-50 max-h-96 min-w-32 overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",sd.position==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",td.class)}),{default:withCtx(()=>[createVNode(unref(_sfc_main$u)),createVNode(unref(jy),{class:normalizeClass(unref(cn)("p-1",sd.position==="popper"&&"h-[--radix-select-trigger-height] w-full min-w-[--radix-select-trigger-width]"))},{default:withCtx(()=>[renderSlot(sd.$slots,"default")]),_:3},8,["class"]),createVNode(unref(_sfc_main$v))]),_:3},16,["class"])]),_:3}))}}),_hoisted_1$4={class:"absolute left-2 h-3.5 w-3.5 flex items-center justify-center"},_sfc_main$w=defineComponent({__name:"SelectItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,td=computed(()=>{const{class:nd,...ad}=qa;return ad}),rd=It(td);return(nd,ad)=>(openBlock(),createBlock(unref(Ly),mergeProps(unref(rd),{class:unref(cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",qa.class)}),{default:withCtx(()=>[createBaseVNode("span",_hoisted_1$4,[createVNode(unref(zy),null,{default:withCtx(()=>[createVNode(unref(Check),{class:"h-4 w-4"})]),_:1})]),createVNode(unref(Wy),null,{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3})]),_:3},16,["class"]))}}),_sfc_main$v=defineComponent({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,td=computed(()=>{const{class:nd,...ad}=qa;return ad}),rd=It(td);return(nd,ad)=>(openBlock(),createBlock(unref(Gy),mergeProps(unref(rd),{class:unref(cn)("flex cursor-default items-center justify-center py-1",qa.class)}),{default:withCtx(()=>[renderSlot(nd.$slots,"default",{},()=>[createVNode(unref(ChevronDown),{class:"h-4 w-4"})])]),_:3},16,["class"]))}}),_sfc_main$u=defineComponent({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,td=computed(()=>{const{class:nd,...ad}=qa;return ad}),rd=It(td);return(nd,ad)=>(openBlock(),createBlock(unref(Uy),mergeProps(unref(rd),{class:unref(cn)("flex cursor-default items-center justify-center py-1",qa.class)}),{default:withCtx(()=>[renderSlot(nd.$slots,"default",{},()=>[createVNode(unref(ChevronUp),{class:"h-4 w-4"})])]),_:3},16,["class"]))}}),_sfc_main$t=defineComponent({__name:"SelectTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,td=computed(()=>{const{class:nd,...ad}=qa;return ad}),rd=It(td);return(nd,ad)=>(openBlock(),createBlock(unref(ky),mergeProps(unref(rd),{class:unref(cn)("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:truncate text-start",qa.class)}),{default:withCtx(()=>[renderSlot(nd.$slots,"default"),createVNode(unref(Yy),{"as-child":""},{default:withCtx(()=>[createVNode(unref(ChevronDown),{class:"h-4 w-4 shrink-0 opacity-50"})]),_:1})]),_:3},16,["class"]))}}),_sfc_main$s=defineComponent({__name:"SelectValue",props:{placeholder:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(td,rd)=>(openBlock(),createBlock(unref(qy),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(td.$slots,"default")]),_:3},16))}}),_sfc_main$r=defineComponent({__name:"EditDropdown",setup(Ra){const{toggleShowInsertFormDialog:qa,toggleShowUploadImgDialog:td}=useDisplayStore();return(rd,nd)=>(openBlock(),createBlock(unref(_sfc_main$I),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$C),null,{default:withCtx(()=>nd[2]||(nd[2]=[createTextVNode(" 编辑 ")])),_:1}),createVNode(unref(_sfc_main$K),{align:"start"},{default:withCtx(()=>[createVNode(unref(_sfc_main$J),{onClick:nd[0]||(nd[0]=ad=>unref(td)())},{default:withCtx(()=>[createVNode(unref(CloudUpload),{class:"mr-2 h-4 w-4"}),nd[3]||(nd[3]=createTextVNode(" 上传图片 "))]),_:1}),createVNode(unref(_sfc_main$J),{onClick:nd[1]||(nd[1]=ad=>unref(qa)())},{default:withCtx(()=>[createVNode(unref(Table),{class:"mr-2 h-4 w-4"}),nd[4]||(nd[4]=createTextVNode(" 插入表格 "))]),_:1})]),_:1})]),_:1}))}}),_sfc_main$q=defineComponent({__name:"FileDropdown",setup(Ra){const qa=useStore(),{isDark:td,isEditOnLeft:rd}=storeToRefs(qa),{toggleDark:nd,toggleEditOnLeft:ad,exportEditorContent2HTML:sd,exportEditorContent2MD:ud,importMarkdownContent:cd}=qa;return(dd,pd)=>{const fd=_sfc_main$C,Td=upload_default,Ad=ElIcon,Sd=_sfc_main$J,Dd=download_default,Ld=document_default,Rd=_sfc_main$H,Od=check_default,Md=_sfc_main$K,jd=_sfc_main$I;return openBlock(),createBlock(jd,null,{default:withCtx(()=>[createVNode(fd,null,{default:withCtx(()=>pd[5]||(pd[5]=[createTextVNode(" 文件 ")])),_:1}),createVNode(Md,{align:"start"},{default:withCtx(()=>[createVNode(Sd,{onClick:pd[0]||(pd[0]=Ud=>unref(cd)())},{default:withCtx(()=>[createVNode(Ad,{class:"mr-2 h-4 w-4"},{default:withCtx(()=>[createVNode(Td)]),_:1}),pd[6]||(pd[6]=createTextVNode(" 导入 .md "))]),_:1}),createVNode(Sd,{onClick:pd[1]||(pd[1]=Ud=>unref(ud)())},{default:withCtx(()=>[createVNode(Ad,{class:"mr-2 h-4 w-4"},{default:withCtx(()=>[createVNode(Dd)]),_:1}),pd[7]||(pd[7]=createTextVNode(" 导出 .md "))]),_:1}),createVNode(Sd,{onClick:pd[2]||(pd[2]=Ud=>unref(sd)())},{default:withCtx(()=>[createVNode(Ad,{class:"mr-2 h-4 w-4"},{default:withCtx(()=>[createVNode(Ld)]),_:1}),pd[8]||(pd[8]=createTextVNode(" 导出 .html "))]),_:1}),createVNode(Rd),createVNode(Sd,{onClick:pd[3]||(pd[3]=Ud=>unref(nd)())},{default:withCtx(()=>[createVNode(Ad,{class:normalizeClass(["mr-2 h-4 w-4",{"opacity-0":!unref(td)}])},{default:withCtx(()=>[createVNode(Od)]),_:1},8,["class"]),pd[9]||(pd[9]=createTextVNode(" 深色模式 "))]),_:1}),createVNode(Rd),createVNode(Sd,{onClick:pd[4]||(pd[4]=Ud=>unref(ad)())},{default:withCtx(()=>[createVNode(Ad,{class:normalizeClass(["mr-2 h-4 w-4",{"opacity-0":!unref(rd)}])},{default:withCtx(()=>[createVNode(Od)]),_:1},8,["class"]),pd[10]||(pd[10]=createTextVNode(" 左侧编辑 "))]),_:1})]),_:1})]),_:1})}}}),_sfc_main$p=defineComponent({__name:"Dialog",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=xe(Ra,qa);return(ad,sd)=>(openBlock(),createBlock(unref(Yi),normalizeProps(guardReactiveProps(unref(nd))),{default:withCtx(()=>[renderSlot(ad.$slots,"default")]),_:3},16))}}),_sfc_main$o=defineComponent({__name:"DialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const td=Ra,rd=qa,nd=computed(()=>{const{class:sd,...ud}=td;return ud}),ad=xe(nd,rd);return(sd,ud)=>(openBlock(),createBlock(unref(_v),null,{default:withCtx(()=>[createVNode(unref(Cu),{class:"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80"}),createVNode(unref(gu),mergeProps(unref(ad),{class:unref(cn)("fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",td.class)}),{default:withCtx(()=>[renderSlot(sd.$slots,"default"),createVNode(unref(jl),{class:"data-[state=open]:bg-accent ring-offset-background data-[state=open]:text-muted-foreground focus:ring-ring absolute right-4 top-4 rounded-sm opacity-70 transition-opacity disabled:pointer-events-none hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-offset-2"},{default:withCtx(()=>[createVNode(unref(X),{class:"h-4 w-4"}),ud[0]||(ud[0]=createBaseVNode("span",{class:"sr-only"},"Close",-1))]),_:1})]),_:3},16,["class"])]),_:3}))}}),_sfc_main$n=defineComponent({__name:"DialogFooter",props:{class:{}},setup(Ra){const qa=Ra;return(td,rd)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2",qa.class))},[renderSlot(td.$slots,"default")],2))}}),_sfc_main$m=defineComponent({__name:"DialogHeader",props:{class:{}},setup(Ra){const qa=Ra;return(td,rd)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn)("flex flex-col gap-y-1.5 text-center sm:text-left",qa.class))},[renderSlot(td.$slots,"default")],2))}}),_sfc_main$l=defineComponent({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,td=computed(()=>{const{class:nd,...ad}=qa;return ad}),rd=It(td);return(nd,ad)=>(openBlock(),createBlock(unref(wu),mergeProps(unref(rd),{class:unref(cn)("text-lg font-semibold leading-none tracking-tight",qa.class)}),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$k=defineComponent({__name:"AboutDialog",props:{visible:{type:Boolean,default:!1}},emits:["close"],setup(Ra,{emit:qa}){const td=Ra,rd=qa;function nd(ud){ud||rd("close")}const ad=[{label:"GitHub 仓库",url:"https://github.com/doocs/md"},{label:"Gitee 仓库",url:"https://gitee.com/doocs/md"},{label:"GitCode 仓库",url:"https://gitcode.com/doocs/md"}];function sd(ud){window.open(ud,"_blank")}return(ud,cd)=>{const dd=_sfc_main$M;return openBlock(),createBlock(unref(_sfc_main$p),{open:td.visible,"onUpdate:open":nd},{default:withCtx(()=>[createVNode(unref(_sfc_main$o),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$m),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$l),null,{default:withCtx(()=>cd[0]||(cd[0]=[createTextVNode("关于")])),_:1})]),_:1}),cd[1]||(cd[1]=createBaseVNode("div",{class:"text-center"},[createBaseVNode("h3",null,"一款高度简洁的微信 Markdown 编辑器"),createBaseVNode("p",null,"扫码关注公众号 Doocs,原创技术文章第一时间推送!"),createBaseVNode("img",{class:"mx-auto my-5",src:"https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/doocs/md/images/1648303220922-7e14aefa-816e-44c1-8604-ade709ca1c69.png",alt:"Doocs Markdown 编辑器",style:{width:"40%"}})],-1)),createVNode(unref(_sfc_main$n),{class:"sm:justify-evenly"},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(ad,pd=>createVNode(dd,{key:pd.url,onClick:fd=>sd(pd.url)},{default:withCtx(()=>[createTextVNode(toDisplayString(pd.label),1)]),_:2},1032,["onClick"])),64))]),_:1})]),_:1})]),_:1},8,["open"])}}}),_sfc_main$j=defineComponent({__name:"HelpDropdown",setup(Ra){const qa=ref$1(!1);return(td,rd)=>{const nd=_sfc_main$C,ad=ElIcon,sd=_sfc_main$J,ud=_sfc_main$K,cd=_sfc_main$I;return openBlock(),createElementBlock(Fragment,null,[createVNode(cd,null,{default:withCtx(()=>[createVNode(nd,null,{default:withCtx(()=>rd[2]||(rd[2]=[createTextVNode(" 帮助 ")])),_:1}),createVNode(ud,{align:"start"},{default:withCtx(()=>[createVNode(sd,{onClick:rd[0]||(rd[0]=dd=>qa.value=!0)},{default:withCtx(()=>[createVNode(ad,{class:"mr-2 h-4 w-4"}),rd[3]||(rd[3]=createBaseVNode("span",null,"关于",-1))]),_:1})]),_:1})]),_:1}),createVNode(_sfc_main$k,{visible:qa.value,onClose:rd[1]||(rd[1]=dd=>qa.value=!1)},null,8,["visible"])],64)}}}),_sfc_main$i=defineComponent({__name:"PostInfo",setup(Ra){const qa=useStore(),{output:td}=storeToRefs(qa),rd=ref$1(!1),nd=ref$1({title:"",desc:"",thumb:"",content:"",auto:{}});function ad(){var dd;let cd={};try{cd={thumb:(dd=document.querySelector("#output img"))==null?void 0:dd.src,title:[1,2,3,4,5,6].map(pd=>document.querySelector(`#output h${pd}`)).filter(pd=>pd)[0].textContent,desc:document.querySelector("#output p").textContent,content:td.value}}catch(pd){console.log("error",pd)}nd.value={...cd,auto:cd},rd.value=!0}function sd(){rd.value=!1,window.syncPost({thumb:nd.value.thumb||nd.value.auto.thumb,title:nd.value.title||nd.value.auto.title,desc:nd.value.desc||nd.value.auto.desc,content:nd.value.content||nd.value.auto.content})}function ud(cd){cd||(rd.value=!1)}return(cd,dd)=>{const pd=_sfc_main$M,fd=ElAlert,Td=ElInput,Ad=ElFormItem,Sd=ElForm;return openBlock(),createElementBlock(Fragment,null,[createVNode(pd,{variant:"outline",onClick:ad},{default:withCtx(()=>dd[4]||(dd[4]=[createTextVNode(" 发布 ")])),_:1}),createVNode(unref(_sfc_main$p),{open:rd.value,"onUpdate:open":ud},{default:withCtx(()=>[createVNode(unref(_sfc_main$o),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$m),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$l),null,{default:withCtx(()=>dd[5]||(dd[5]=[createTextVNode("发布")])),_:1})]),_:1}),createVNode(fd,{class:"mb-4",title:"注:此功能由第三方浏览器插件支持,本平台不保证安全性。",type:"info","show-icon":""}),createVNode(Sd,{class:"postInfo","label-width":"50",model:nd.value},{default:withCtx(()=>[createVNode(Ad,{label:"封面"},{default:withCtx(()=>[createVNode(Td,{modelValue:nd.value.thumb,"onUpdate:modelValue":dd[0]||(dd[0]=Dd=>nd.value.thumb=Dd),placeholder:"自动提取第一张图"},null,8,["modelValue"])]),_:1}),createVNode(Ad,{label:"标题"},{default:withCtx(()=>[createVNode(Td,{modelValue:nd.value.title,"onUpdate:modelValue":dd[1]||(dd[1]=Dd=>nd.value.title=Dd),placeholder:"自动提取第一个标题"},null,8,["modelValue"])]),_:1}),createVNode(Ad,{label:"描述"},{default:withCtx(()=>[createVNode(Td,{modelValue:nd.value.desc,"onUpdate:modelValue":dd[2]||(dd[2]=Dd=>nd.value.desc=Dd),type:"textarea",rows:4,placeholder:"自动提取第一个段落"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"]),createVNode(unref(_sfc_main$n),null,{default:withCtx(()=>[createVNode(pd,{variant:"outline",onClick:dd[3]||(dd[3]=Dd=>rd.value=!1)},{default:withCtx(()=>dd[6]||(dd[6]=[createTextVNode(" 取 消 ")])),_:1}),createVNode(pd,{onClick:sd},{default:withCtx(()=>dd[7]||(dd[7]=[createTextVNode(" 确 定 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"])],64)}}}),_sfc_main$h=defineComponent({__name:"HoverCard",props:{defaultOpen:{type:Boolean},open:{type:Boolean},openDelay:{},closeDelay:{}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=xe(Ra,qa);return(ad,sd)=>(openBlock(),createBlock(unref(Sh),normalizeProps(guardReactiveProps(unref(nd))),{default:withCtx(()=>[renderSlot(ad.$slots,"default")]),_:3},16))}}),_sfc_main$g=defineComponent({__name:"HoverCardContent",props:{forceMount:{type:Boolean},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,td=computed(()=>{const{class:nd,...ad}=qa;return ad}),rd=It(td);return(nd,ad)=>(openBlock(),createBlock(unref(Ph),null,{default:withCtx(()=>[createVNode(unref(Dh),mergeProps(unref(rd),{class:unref(cn)("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",qa.class)}),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$f=defineComponent({__name:"HoverCardTrigger",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(td,rd)=>(openBlock(),createBlock(unref(Eh),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(td.$slots,"default")]),_:3},16))}}),_sfc_main$e=defineComponent({__name:"DropdownMenuShortcut",props:{class:{}},setup(Ra){const qa=Ra;return(td,rd)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(cn)("ml-auto text-xs tracking-widest opacity-60",qa.class))},[renderSlot(td.$slots,"default")],2))}}),_sfc_main$d=defineComponent({__name:"StyleOptionMenu",props:{title:{},options:{},current:{},change:{type:Function}},setup(Ra){const qa=Ra;function td(rd,nd){switch(rd){case"字体":return{fontFamily:nd};case"字号":return{fontSize:nd};case"主题色":return{color:nd};default:return{}}}return(rd,nd)=>{const ad=ElIcon,sd=check_default,ud=_sfc_main$e;return openBlock(),createBlock(unref(_sfc_main$F),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$D),null,{default:withCtx(()=>[createVNode(ad,{class:"mr-2 h-4 w-4"}),createBaseVNode("span",null,toDisplayString(qa.title),1)]),_:1}),createVNode(unref(_sfc_main$E),{class:"max-h-56 overflow-auto"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(rd.options,({label:cd,value:dd,desc:pd})=>(openBlock(),createBlock(unref(_sfc_main$J),{key:dd,label:cd,"model-value":dd,class:"w-50",onClick:fd=>rd.change(dd)},{default:withCtx(()=>[createVNode(ad,{class:"mr-2 h-4 w-4",style:normalizeStyle({opacity:+(rd.current===dd)})},{default:withCtx(()=>[createVNode(sd)]),_:2},1032,["style"]),createTextVNode(" "+toDisplayString(cd)+" ",1),createVNode(ud,{style:normalizeStyle(td(rd.title,dd))},{default:withCtx(()=>[createTextVNode(toDisplayString(pd),1)]),_:2},1032,["style"])]),_:2},1032,["label","model-value","onClick"]))),128))]),_:1})]),_:1})}}}),_sfc_main$c=defineComponent({__name:"StyleDropdown",setup(Ra){const qa=useStore(),{toggleShowCssEditor:td}=useDisplayStore(),{theme:rd,fontFamily:nd,fontSize:ad,primaryColor:sd,codeBlockTheme:ud,legend:cd,isMacCodeBlock:dd,cssEditor:pd}=storeToRefs(qa),{resetStyleConfirm:fd,themeChanged:Td,fontChanged:Ad,sizeChanged:Sd,colorChanged:Dd,codeBlockThemeChanged:Ld,legendChanged:Rd,macCodeBlockChanged:Od}=qa,Md=ref$1(null);function jd(){var Hd;(Hd=Md.value)==null||Hd.show()}function Ud(){td(),setTimeout(()=>{pd.value.refresh()},50)}return(Hd,zd)=>{const Zd=_sfc_main$C,Wd=_sfc_main$H,Qd=ElIcon,Jd=ElColorPicker,hf=_sfc_main$J,bf=check_default,Ef=_sfc_main$K,_f=_sfc_main$I;return openBlock(),createBlock(_f,null,{default:withCtx(()=>[createVNode(Zd,null,{default:withCtx(()=>zd[1]||(zd[1]=[createTextVNode(" 样式 ")])),_:1}),createVNode(Ef,{class:"w-56",align:"start"},{default:withCtx(()=>[createVNode(_sfc_main$d,{title:"主题",options:unref(themeOptions),current:unref(rd),change:unref(Td)},null,8,["options","current","change"]),createVNode(Wd),createVNode(_sfc_main$d,{title:"字体",options:unref(fontFamilyOptions),current:unref(nd),change:unref(Ad)},null,8,["options","current","change"]),createVNode(_sfc_main$d,{title:"字号",options:unref(fontSizeOptions),current:unref(ad),change:unref(Sd)},null,8,["options","current","change"]),createVNode(_sfc_main$d,{title:"主题色",options:unref(colorOptions),current:unref(sd),change:unref(Dd)},null,8,["options","current","change"]),createVNode(_sfc_main$d,{title:"代码块主题",options:unref(codeBlockThemeOptions),current:unref(ud),change:unref(Ld)},null,8,["options","current","change"]),createVNode(_sfc_main$d,{title:"图注格式",options:unref(legendOptions),current:unref(cd),change:unref(Rd)},null,8,["options","current","change"]),createVNode(Wd),createVNode(hf,{onClick:withModifiers(jd,["self","prevent"])},{default:withCtx(()=>[createVNode(unref(_sfc_main$h),{"open-delay":100},{default:withCtx(()=>[createVNode(unref(_sfc_main$f),{class:"w-full flex"},{default:withCtx(()=>[createVNode(Qd,{class:"mr-2 h-4 w-4"}),zd[2]||(zd[2]=createTextVNode(" 自定义主题色 "))]),_:1}),createVNode(unref(_sfc_main$g),{side:"right",class:"w-min"},{default:withCtx(()=>[createVNode(Jd,{ref_key:"colorPicker",ref:Md,modelValue:unref(sd),"onUpdate:modelValue":zd[0]||(zd[0]=vf=>isRef(sd)?sd.value=vf:null),teleported:!1,"show-alpha":"",class:"ml-auto",style:{height:"2em"},onChange:unref(Dd),onClick:jd},null,8,["modelValue","onChange"])]),_:1})]),_:1})]),_:1}),createVNode(hf,{onClick:Ud},{default:withCtx(()=>[createVNode(Qd,{class:"mr-2 h-4 w-4"}),zd[3]||(zd[3]=createTextVNode(" 自定义 CSS "))]),_:1}),createVNode(Wd),createVNode(hf,{onClick:unref(Od)},{default:withCtx(()=>[createVNode(Qd,{class:normalizeClass(["mr-2 h-4 w-4",{"opacity-0":!unref(dd)}])},{default:withCtx(()=>[createVNode(bf)]),_:1},8,["class"]),zd[4]||(zd[4]=createTextVNode(" Mac 代码块 "))]),_:1},8,["onClick"]),createVNode(Wd),createVNode(hf,{divided:"",onClick:unref(fd)},{default:withCtx(()=>[createVNode(Qd,{class:"mr-2 h-4 w-4"}),zd[5]||(zd[5]=createTextVNode(" 重置 "))]),_:1},8,["onClick"])]),_:1})]),_:1})}}}),_hoisted_1$3={class:"header-container h-15 flex items-center px-5"},_hoisted_2$1={class:"space-y-4"},_hoisted_3$1={class:"space-y-2"},_hoisted_4$1={class:"grid grid-cols-3 justify-items-center gap-2"},_hoisted_5={class:"space-y-2"},_hoisted_6={class:"grid grid-cols-3 justify-items-center gap-2"},_hoisted_7={class:"space-y-2"},_hoisted_8={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_9={class:"space-y-2"},_hoisted_10={class:"grid grid-cols-3 justify-items-center gap-2"},_hoisted_11={class:"space-y-2"},_hoisted_12={class:"space-y-2"},_hoisted_13={class:"space-y-2"},_hoisted_14={class:"grid grid-cols-3 justify-items-center gap-2"},_hoisted_15={class:"space-y-2"},_hoisted_16={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_17={class:"space-y-2"},_hoisted_18={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_19={class:"space-y-2"},_hoisted_20={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_21={class:"space-y-2"},_hoisted_22={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_23={class:"space-y-2"},_hoisted_24={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_25={class:"space-y-2"},_sfc_main$b=defineComponent({__name:"index",emits:["addFormat","formatContent","startCopy","endCopy"],setup(Ra,{emit:qa}){const td=qa,rd=[{label:"加粗",kbd:[ctrlSign,"B"],emitArgs:["addFormat",`${ctrlKey}-B`]},{label:"斜体",kbd:[ctrlSign,"I"],emitArgs:["addFormat",`${ctrlKey}-I`]},{label:"删除线",kbd:[ctrlSign,"D"],emitArgs:["addFormat",`${ctrlKey}-D`]},{label:"超链接",kbd:[ctrlSign,"K"],emitArgs:["addFormat",`${ctrlKey}-K`]},{label:"行内代码",kbd:[ctrlSign,"E"],emitArgs:["addFormat",`${ctrlKey}-E`]},{label:"格式化",kbd:[altSign,shiftSign,"F"],emitArgs:["formatContent"]}],nd=useStore(),ad=useDisplayStore(),{isDark:sd,isCiteStatus:ud,output:cd,primaryColor:dd}=storeToRefs(nd),{toggleDark:pd,editorRefresh:fd,citeStatusChanged:Td}=nd;function Ad(){td("startCopy"),setTimeout(()=>{function Dd(Rd){const Od=document.createElement("div");return Od.innerHTML=Rd,Od.querySelectorAll("li > ul, li > ol").forEach(jd=>{jd.parentElement.insertAdjacentElement("afterend",jd)}),Od.innerHTML}const Ld=sd.value;Ld&&pd(),nextTick$1(()=>{solveWeChatImage();const Rd=document.getElementById("output");Rd.innerHTML=mergeCss(Rd.innerHTML),Rd.innerHTML=Dd(Rd.innerHTML),Rd.innerHTML=Rd.innerHTML.replace(/top:(.*?)em/g,"transform: translateY($1em)").replaceAll("var(--el-text-color-regular)","#3f3f3f").replaceAll("var(--md-primary-color)",dd.value).replaceAll(/--md-primary-color:.+?;/g,""),Rd.focus(),window.getSelection().removeAllRanges();const Od=document.createRange();Od.setStartBefore(Rd.firstChild),Od.setEndAfter(Rd.lastChild),window.getSelection().addRange(Od),document.execCommand("copy"),window.getSelection().removeAllRanges(),Rd.innerHTML=cd.value,Ld&&nextTick$1(()=>pd()),ElNotification({showClose:!0,message:"已复制渲染后的文章到剪贴板,可直接到公众号后台粘贴",offset:80,duration:1600,type:"success"}),fd(),td("endCopy")})},350)}function Sd(){ad.toggleShowCssEditor(),setTimeout(()=>{nd.cssEditor.refresh()},50)}return(Dd,Ld)=>{const Rd=ElIcon,Od=check_default,Md=ElColorPicker;return openBlock(),createElementBlock("header",_hoisted_1$3,[createVNode(unref(_sfc_main$L),{class:"menubar mr-auto"},{default:withCtx(()=>[createVNode(_sfc_main$q),createVNode(unref(_sfc_main$I),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$C),null,{default:withCtx(()=>Ld[14]||(Ld[14]=[createTextVNode(" 格式 ")])),_:1}),createVNode(unref(_sfc_main$K),{class:"w-60",align:"start"},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(rd,({label:jd,kbd:Ud,emitArgs:Hd})=>createVNode(unref(_sfc_main$J),{key:jd,onClick:zd=>Hd[0]==="addFormat"?Dd.$emit(Hd[0],Hd[1]):Dd.$emit(Hd[0])},{default:withCtx(()=>[createVNode(Rd,{class:"mr-2 h-4 w-4"}),createTextVNode(" "+toDisplayString(jd)+" ",1),createVNode(unref(_sfc_main$G),null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ud,zd=>(openBlock(),createElementBlock("kbd",{key:zd,class:"mx-1 bg-gray-2 dark:bg-stone-9"},toDisplayString(zd),1))),128))]),_:2},1024)]),_:2},1032,["onClick"])),64)),createVNode(unref(_sfc_main$H)),createVNode(unref(_sfc_main$J),{onClick:Ld[0]||(Ld[0]=jd=>unref(Td)())},{default:withCtx(()=>[createVNode(Rd,{class:normalizeClass(["mr-2 h-4 w-4",{"opacity-0":!unref(ud)}])},{default:withCtx(()=>[createVNode(Od)]),_:1},8,["class"]),Ld[15]||(Ld[15]=createTextVNode(" 微信外链转底部引用 "))]),_:1})]),_:1})]),_:1}),createVNode(_sfc_main$r),createVNode(_sfc_main$c),createVNode(_sfc_main$j)]),_:1}),createVNode(unref(_sfc_main$B),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$z),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$M),{variant:"outline"},{default:withCtx(()=>[createVNode(unref(Paintbrush),{class:"h-4 w-4"})]),_:1})]),_:1}),createVNode(unref(_sfc_main$A),{class:"h-100 w-100 overflow-auto px-6",align:"end"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$1,[createBaseVNode("div",_hoisted_3$1,[Ld[16]||(Ld[16]=createBaseVNode("h2",null,"主题",-1)),createBaseVNode("div",_hoisted_4$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(themeOptions),({label:jd,value:Ud})=>(openBlock(),createBlock(unref(_sfc_main$M),{key:Ud,class:normalizeClass(["w-full",{"border-black dark:border-white":unref(nd).theme===Ud}]),variant:"outline",onClick:Hd=>unref(nd).themeChanged(Ud)},{default:withCtx(()=>[createTextVNode(toDisplayString(jd),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_5,[Ld[17]||(Ld[17]=createBaseVNode("h2",null,"字体",-1)),createBaseVNode("div",_hoisted_6,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(fontFamilyOptions),({label:jd,value:Ud})=>(openBlock(),createBlock(unref(_sfc_main$M),{key:Ud,variant:"outline",class:normalizeClass(["w-full",{"border-black dark:border-white":unref(nd).fontFamily===Ud}]),onClick:Hd=>unref(nd).fontChanged(Ud)},{default:withCtx(()=>[createTextVNode(toDisplayString(jd),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_7,[Ld[18]||(Ld[18]=createBaseVNode("h2",null,"字号",-1)),createBaseVNode("div",_hoisted_8,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(fontSizeOptions),({value:jd,desc:Ud})=>(openBlock(),createBlock(unref(_sfc_main$M),{key:jd,variant:"outline",class:normalizeClass(["w-full",{"border-black dark:border-white":unref(nd).fontSize===jd}]),onClick:Hd=>unref(nd).sizeChanged(jd)},{default:withCtx(()=>[createTextVNode(toDisplayString(Ud),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_9,[Ld[19]||(Ld[19]=createBaseVNode("h2",null,"主题色",-1)),createBaseVNode("div",_hoisted_10,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(colorOptions),({label:jd,value:Ud})=>(openBlock(),createBlock(unref(_sfc_main$M),{key:Ud,class:normalizeClass(["w-full",{"border-black dark:border-white":unref(nd).primaryColor===Ud}]),variant:"outline",onClick:Hd=>unref(nd).colorChanged(Ud)},{default:withCtx(()=>[createBaseVNode("span",{class:"mr-2 inline-block h-4 w-4 rounded-full",style:normalizeStyle({background:Ud})},null,4),createTextVNode(" "+toDisplayString(jd),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_11,[Ld[20]||(Ld[20]=createBaseVNode("h2",null,"自定义主题色",-1)),createBaseVNode("div",null,[createVNode(Md,{modelValue:unref(dd),"onUpdate:modelValue":Ld[1]||(Ld[1]=jd=>isRef(dd)?dd.value=jd:null),teleported:!1,"show-alpha":"",onChange:unref(nd).colorChanged},null,8,["modelValue","onChange"])])]),createBaseVNode("div",_hoisted_12,[Ld[21]||(Ld[21]=createBaseVNode("h2",null,"代码块主题",-1)),createBaseVNode("div",null,[createVNode(unref(_sfc_main$y),{modelValue:unref(nd).codeBlockTheme,"onUpdate:modelValue":[Ld[2]||(Ld[2]=jd=>unref(nd).codeBlockTheme=jd),unref(nd).codeBlockThemeChanged]},{default:withCtx(()=>[createVNode(unref(_sfc_main$t),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$s),{placeholder:"Select a fruit"})]),_:1}),createVNode(unref(_sfc_main$x),null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(codeBlockThemeOptions),({label:jd,value:Ud})=>(openBlock(),createBlock(unref(_sfc_main$w),{key:jd,value:Ud},{default:withCtx(()=>[createTextVNode(toDisplayString(jd),1)]),_:2},1032,["value"]))),128))]),_:1})]),_:1},8,["modelValue","onUpdate:modelValue"])])]),createBaseVNode("div",_hoisted_13,[Ld[22]||(Ld[22]=createBaseVNode("h2",null,"图注格式",-1)),createBaseVNode("div",_hoisted_14,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(legendOptions),({label:jd,value:Ud})=>(openBlock(),createBlock(unref(_sfc_main$M),{key:Ud,class:normalizeClass(["w-full",{"border-black dark:border-white":unref(nd).legend===Ud}]),variant:"outline",onClick:Hd=>unref(nd).legendChanged(Ud)},{default:withCtx(()=>[createTextVNode(toDisplayString(jd),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_15,[Ld[25]||(Ld[25]=createBaseVNode("h2",null,"Mac 代码块",-1)),createBaseVNode("div",_hoisted_16,[createVNode(unref(_sfc_main$M),{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(nd).isMacCodeBlock}]),variant:"outline",onClick:Ld[3]||(Ld[3]=jd=>!unref(nd).isMacCodeBlock&&unref(nd).macCodeBlockChanged())},{default:withCtx(()=>Ld[23]||(Ld[23]=[createTextVNode(" 开启 ")])),_:1},8,["class"]),createVNode(unref(_sfc_main$M),{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(nd).isMacCodeBlock}]),variant:"outline",onClick:Ld[4]||(Ld[4]=jd=>unref(nd).isMacCodeBlock&&unref(nd).macCodeBlockChanged())},{default:withCtx(()=>Ld[24]||(Ld[24]=[createTextVNode(" 关闭 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_17,[Ld[28]||(Ld[28]=createBaseVNode("h2",null,"微信外链转底部引用",-1)),createBaseVNode("div",_hoisted_18,[createVNode(unref(_sfc_main$M),{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(nd).isCiteStatus}]),variant:"outline",onClick:Ld[5]||(Ld[5]=jd=>!unref(nd).isCiteStatus&&unref(nd).citeStatusChanged())},{default:withCtx(()=>Ld[26]||(Ld[26]=[createTextVNode(" 开启 ")])),_:1},8,["class"]),createVNode(unref(_sfc_main$M),{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(nd).isCiteStatus}]),variant:"outline",onClick:Ld[6]||(Ld[6]=jd=>unref(nd).isCiteStatus&&unref(nd).citeStatusChanged())},{default:withCtx(()=>Ld[27]||(Ld[27]=[createTextVNode(" 关闭 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_19,[Ld[31]||(Ld[31]=createBaseVNode("h2",null,"自定义 CSS 面板",-1)),createBaseVNode("div",_hoisted_20,[createVNode(unref(_sfc_main$M),{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ad).isShowCssEditor}]),variant:"outline",onClick:Ld[7]||(Ld[7]=jd=>!unref(ad).isShowCssEditor&&Sd())},{default:withCtx(()=>Ld[29]||(Ld[29]=[createTextVNode(" 开启 ")])),_:1},8,["class"]),createVNode(unref(_sfc_main$M),{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(ad).isShowCssEditor}]),variant:"outline",onClick:Ld[8]||(Ld[8]=jd=>unref(ad).isShowCssEditor&&Sd())},{default:withCtx(()=>Ld[30]||(Ld[30]=[createTextVNode(" 关闭 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_21,[Ld[34]||(Ld[34]=createBaseVNode("h2",null,"编辑区位置",-1)),createBaseVNode("div",_hoisted_22,[createVNode(unref(_sfc_main$M),{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(nd).isEditOnLeft}]),variant:"outline",onClick:Ld[9]||(Ld[9]=jd=>!unref(nd).isEditOnLeft&&unref(nd).toggleEditOnLeft())},{default:withCtx(()=>Ld[32]||(Ld[32]=[createTextVNode(" 左侧 ")])),_:1},8,["class"]),createVNode(unref(_sfc_main$M),{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(nd).isEditOnLeft}]),variant:"outline",onClick:Ld[10]||(Ld[10]=jd=>unref(nd).isEditOnLeft&&unref(nd).toggleEditOnLeft())},{default:withCtx(()=>Ld[33]||(Ld[33]=[createTextVNode(" 右侧 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_23,[Ld[35]||(Ld[35]=createBaseVNode("h2",null,"模式",-1)),createBaseVNode("div",_hoisted_24,[createVNode(unref(_sfc_main$M),{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(sd)}]),variant:"outline",onClick:Ld[11]||(Ld[11]=jd=>unref(nd).toggleDark(!1))},{default:withCtx(()=>[createVNode(unref(Sun),{class:"h-4 w-4"})]),_:1},8,["class"]),createVNode(unref(_sfc_main$M),{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(sd)}]),variant:"outline",onClick:Ld[12]||(Ld[12]=jd=>unref(nd).toggleDark(!0))},{default:withCtx(()=>[createVNode(unref(Moon),{class:"h-4 w-4"})]),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_25,[Ld[37]||(Ld[37]=createBaseVNode("h2",null,"样式配置",-1)),createBaseVNode("div",null,[createVNode(unref(_sfc_main$M),{class:"w-full",onClick:Ld[13]||(Ld[13]=jd=>unref(nd).resetStyleConfirm())},{default:withCtx(()=>Ld[36]||(Ld[36]=[createTextVNode(" 重置 ")])),_:1})])])])]),_:1})]),_:1}),createVNode(unref(_sfc_main$M),{variant:"outline",class:"mx-2",onClick:Ad},{default:withCtx(()=>Ld[38]||(Ld[38]=[createTextVNode(" 复制 ")])),_:1}),createVNode(_sfc_main$i)])}}}),EditorHeader=_export_sfc(_sfc_main$b,[["__scopeId","data-v-acc1628a"]]),_hoisted_1$2={style:{"border-collapse":"collapse"},class:"input-table"},_sfc_main$a=defineComponent({__name:"InsertFormDialog",setup(Ra){const qa=useStore(),td=useDisplayStore(),{toggleShowInsertFormDialog:rd}=td,nd=ref$1(3),ad=ref$1(3),sd=ref$1({});function ud(){nd.value=3,ad.value=3,sd.value={}}function cd(){const pd=createTable({rows:nd.value,cols:ad.value,data:sd.value});toRaw(qa.editor).replaceSelection(` +${pd} +`,"end"),ud(),rd()}function dd(pd){pd||rd(!1)}return(pd,fd)=>{const Td=ElInputNumber,Ad=ElCol,Sd=ElRow,Dd=ElInput,Ld=_sfc_main$M;return openBlock(),createBlock(unref(_sfc_main$p),{open:unref(td).isShowInsertFormDialog,"onUpdate:open":dd},{default:withCtx(()=>[createVNode(unref(_sfc_main$o),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$m),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$l),null,{default:withCtx(()=>fd[3]||(fd[3]=[createTextVNode("插入表格")])),_:1})]),_:1}),createVNode(Sd,{class:"tb-options",type:"flex",align:"middle",gutter:10},{default:withCtx(()=>[createVNode(Ad,{span:12},{default:withCtx(()=>[fd[4]||(fd[4]=createTextVNode(" 行数: ")),createVNode(Td,{modelValue:nd.value,"onUpdate:modelValue":fd[0]||(fd[0]=Rd=>nd.value=Rd),"controls-position":"right",min:1,max:100,size:"small"},null,8,["modelValue"])]),_:1}),createVNode(Ad,{span:12},{default:withCtx(()=>[fd[5]||(fd[5]=createTextVNode(" 列数: ")),createVNode(Td,{modelValue:ad.value,"onUpdate:modelValue":fd[1]||(fd[1]=Rd=>ad.value=Rd),"controls-position":"right",min:1,max:100,size:"small"},null,8,["modelValue"])]),_:1})]),_:1}),createBaseVNode("table",_hoisted_1$2,[(openBlock(!0),createElementBlock(Fragment,null,renderList(nd.value+1,Rd=>(openBlock(),createElementBlock("tr",{key:Rd,class:normalizeClass({"head-style":Rd===1})},[(openBlock(!0),createElementBlock(Fragment,null,renderList(ad.value,Od=>(openBlock(),createElementBlock("td",{key:Od},[createVNode(Dd,{modelValue:sd.value[`k_${Rd-1}_${Od-1}`],"onUpdate:modelValue":Md=>sd.value[`k_${Rd-1}_${Od-1}`]=Md,align:"center",placeholder:Rd===1?"表头":""},null,8,["modelValue","onUpdate:modelValue","placeholder"])]))),128))],2))),128))]),createVNode(unref(_sfc_main$n),null,{default:withCtx(()=>[createVNode(Ld,{variant:"outline",onClick:fd[2]||(fd[2]=Rd=>unref(rd)(!1))},{default:withCtx(()=>fd[6]||(fd[6]=[createTextVNode(" 取 消 ")])),_:1}),createVNode(Ld,{onClick:cd},{default:withCtx(()=>fd[7]||(fd[7]=[createTextVNode(" 确 定 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"])}}}),InsertFormDialog=_export_sfc(_sfc_main$a,[["__scopeId","data-v-054300b0"]]),_sfc_main$9=defineComponent({__name:"UploadImgDialog",emits:["uploadImage"],setup(Ra,{emit:qa}){const td=qa,rd=useDisplayStore(),nd=ref$1({repo:"",branch:"",accessToken:""}),ad=ref$1({accessKeyId:"",accessKeySecret:"",bucket:"",region:"",path:"",cdnHost:"",useSSL:!0}),sd=ref$1({secretId:"",secretKey:"",bucket:"",region:"",path:"",cdnHost:""}),ud=ref$1({accessKey:"",secretKey:"",bucket:"",domain:"",region:"",path:""}),cd=ref$1({endpoint:"",port:"",useSSL:!0,bucket:"",accessKey:"",secretKey:""}),dd=ref$1({code:localStorage.getItem("formCustomConfig")||removeLeft(` const {file, util, okCb, errCb} = CUSTOM_ARG const param = new FormData() param.append('file', file) @@ -913,17 +913,17 @@ ${dd} }).catch(err => { errCb(err) }) -`).trim(),editor:null}),dd=[{value:"default",label:"默认"},{value:"github",label:"GitHub"},{value:"aliOSS",label:"阿里云"},{value:"txCOS",label:"腾讯云"},{value:"qiniu",label:"七牛云"},{value:"minio",label:"MinIO"},{value:"formCustom",label:"自定义代码"}],_d=ref$1("default"),Ed=ref$1(null),Ad=ref$1("upload");watch(Ad,async Vd=>{Vd==="formCustom"&&nextTick$1(()=>{var qd;const Qd=Ed.value.$el.querySelector("textarea");(qd=cd.value).editor||(qd.editor=CodeMirror.fromTextArea(Qd,{mode:"javascript"}))})},{immediate:!0}),onBeforeMount(()=>{localStorage.getItem("githubConfig")&&(rd.value=JSON.parse(localStorage.getItem("githubConfig"))),localStorage.getItem("aliOSSConfig")&&(sd.value=JSON.parse(localStorage.getItem("aliOSSConfig"))),localStorage.getItem("txCOSConfig")&&(od.value=JSON.parse(localStorage.getItem("txCOSConfig"))),localStorage.getItem("qiniuConfig")&&(ld.value=JSON.parse(localStorage.getItem("qiniuConfig"))),localStorage.getItem("minioConfig")&&(ud.value=JSON.parse(localStorage.getItem("minioConfig"))),localStorage.getItem("imgHost")&&(_d.value=localStorage.getItem("imgHost"))});function Td(){localStorage.setItem("imgHost",_d.value),ElMessage.success("已成功切换图床")}function Id(){if(!(rd.value.repo&&rd.value.accessToken)){const Vd=rd.value.repo?"token":"GitHub 仓库";ElMessage.error(`参数「${Vd}」不能为空`);return}localStorage.setItem("githubConfig",JSON.stringify(rd.value)),ElMessage.success("保存成功")}function Bd(){if(!(sd.value.accessKeyId&&sd.value.accessKeySecret&&sd.value.bucket&&sd.value.region)){ElMessage.error("阿里云 OSS 参数配置不全");return}localStorage.setItem("aliOSSConfig",JSON.stringify(sd.value)),ElMessage.success("保存成功")}function Rd(){if(!(ud.value.endpoint&&ud.value.bucket&&ud.value.accessKey&&ud.value.secretKey)){ElMessage.error("MinIO 参数配置不全");return}localStorage.setItem("minioConfig",JSON.stringify(ud.value)),ElMessage.success("保存成功")}function Od(){if(!(od.value.secretId&&od.value.secretKey&&od.value.bucket&&od.value.region)){ElMessage.error("腾讯云 COS 参数配置不全");return}localStorage.setItem("txCOSConfig",JSON.stringify(od.value)),ElMessage.success("保存成功")}function Md(){if(!(ld.value.accessKey&&ld.value.secretKey&&ld.value.bucket&&ld.value.domain)){ElMessage.error("七牛云 Kodo 参数配置不全");return}localStorage.setItem("qiniuConfig",JSON.stringify(ld.value)),ElMessage.success("保存成功")}function Ld(){const Vd=cd.value.editor.getValue();localStorage.setItem("formCustomConfig",Vd),ElMessage.success("保存成功")}function Fd(Vd){const Qd=checkImage(Vd);if(!Qd.ok)return ElMessage.error(Qd.msg),!1;let qd=localStorage.getItem("imgHost");qd=qd||"default",localStorage.setItem("imgHost",qd);const Kd=localStorage.getItem(`${qd}Config`);return qd==="default"||Kd?!0:(ElMessage.error(`请先配置 ${qd} 图床参数`),!1)}function jd(Vd){ed("uploadImage",Vd.file)}return(Vd,Qd)=>{const qd=ElOption,Kd=ElSelect,Xd=ElIcon,df=ElUpload,mf=ElTabPane,bf=ElInput,pf=ElFormItem,_f=ElLink,Tf=ElButton,kf=ElForm,zf=ElSwitch,Jf=ElTabs;return openBlock(),createBlock(unref(_sfc_main$p),{open:unref(td).isShowUploadImgDialog,"onUpdate:open":Qd[31]||(Qd[31]=Gf=>unref(td).isShowUploadImgDialog=Gf)},{default:withCtx(()=>[createVNode(unref(_sfc_main$o),{class:"max-w-max"},{default:withCtx(()=>[createVNode(unref(_sfc_main$m),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$l),null,{default:withCtx(()=>Qd[32]||(Qd[32]=[createTextVNode("本地上传")])),_:1})]),_:1}),createVNode(Jf,{modelValue:Ad.value,"onUpdate:modelValue":Qd[30]||(Qd[30]=Gf=>Ad.value=Gf)},{default:withCtx(()=>[createVNode(mf,{class:"upload-panel",label:"选择上传",name:"upload"},{default:withCtx(()=>[createVNode(Kd,{modelValue:_d.value,"onUpdate:modelValue":Qd[0]||(Qd[0]=Gf=>_d.value=Gf),placeholder:"请选择",size:"small",onChange:Td},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(dd,Gf=>createVNode(qd,{key:Gf.value,label:Gf.label,value:Gf.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"]),createVNode(df,{drag:"",multiple:"",action:"",headers:{"Content-Type":"multipart/form-data"},"show-file-list":!1,accept:".jpg, .jpeg, .png, .gif",name:"file","before-upload":Fd,"http-request":jd},{default:withCtx(()=>[createVNode(Xd,{class:"el-icon--upload"},{default:withCtx(()=>[createVNode(unref(upload_filled_default))]),_:1}),Qd[33]||(Qd[33]=createBaseVNode("div",{class:"el-upload__text"},[createTextVNode(" 将图片拖到此处,或 "),createBaseVNode("em",null,"点击上传")],-1))]),_:1})]),_:1}),createVNode(mf,{class:"github-panel",label:"GitHub 图床",name:"github"},{default:withCtx(()=>[createVNode(kf,{class:"setting-form",model:rd.value,"label-position":"right","label-width":"150px"},{default:withCtx(()=>[createVNode(pf,{label:"GitHub 仓库",required:!0},{default:withCtx(()=>[createVNode(bf,{modelValue:rd.value.repo,"onUpdate:modelValue":Qd[1]||(Qd[1]=Gf=>rd.value.repo=Gf),modelModifiers:{trim:!0},placeholder:"如:github.com/yanglbme/resource"},null,8,["modelValue"])]),_:1}),createVNode(pf,{label:"分支"},{default:withCtx(()=>[createVNode(bf,{modelValue:rd.value.branch,"onUpdate:modelValue":Qd[2]||(Qd[2]=Gf=>rd.value.branch=Gf),modelModifiers:{trim:!0},placeholder:"如:release,可不填,默认 master"},null,8,["modelValue"])]),_:1}),createVNode(pf,{label:"Token",required:!0},{default:withCtx(()=>[createVNode(bf,{modelValue:rd.value.accessToken,"onUpdate:modelValue":Qd[3]||(Qd[3]=Gf=>rd.value.accessToken=Gf),modelModifiers:{trim:!0},"show-password":"",placeholder:"如:cc1d0c1426d0fd0902bd2d7184b14da61b8abc46"},null,8,["modelValue"]),createVNode(_f,{type:"primary",href:"https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token",target:"_blank"},{default:withCtx(()=>Qd[34]||(Qd[34]=[createTextVNode(" 如何获取 GitHub Token? ")])),_:1})]),_:1}),createVNode(pf,null,{default:withCtx(()=>[createVNode(Tf,{type:"primary",onClick:Id},{default:withCtx(()=>Qd[35]||(Qd[35]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),createVNode(mf,{class:"github-panel",label:"阿里云 OSS",name:"aliOSS"},{default:withCtx(()=>[createVNode(kf,{class:"setting-form",model:sd.value,"label-position":"right","label-width":"150px"},{default:withCtx(()=>[createVNode(pf,{label:"AccessKey ID",required:!0},{default:withCtx(()=>[createVNode(bf,{modelValue:sd.value.accessKeyId,"onUpdate:modelValue":Qd[4]||(Qd[4]=Gf=>sd.value.accessKeyId=Gf),modelModifiers:{trim:!0},placeholder:"如:LTAI4GdoocsmdoxUf13ylbaNHk"},null,8,["modelValue"])]),_:1}),createVNode(pf,{label:"AccessKey Secret",required:!0},{default:withCtx(()=>[createVNode(bf,{modelValue:sd.value.accessKeySecret,"onUpdate:modelValue":Qd[5]||(Qd[5]=Gf=>sd.value.accessKeySecret=Gf),modelModifiers:{trim:!0},"show-password":"",placeholder:"如:cc1d0c142doocs0902bd2d7md4b14da6ylbabc46"},null,8,["modelValue"])]),_:1}),createVNode(pf,{label:"Bucket",required:!0},{default:withCtx(()=>[createVNode(bf,{modelValue:sd.value.bucket,"onUpdate:modelValue":Qd[6]||(Qd[6]=Gf=>sd.value.bucket=Gf),modelModifiers:{trim:!0},placeholder:"如:doocs"},null,8,["modelValue"])]),_:1}),createVNode(pf,{label:"Bucket 所在区域",required:!0},{default:withCtx(()=>[createVNode(bf,{modelValue:sd.value.region,"onUpdate:modelValue":Qd[7]||(Qd[7]=Gf=>sd.value.region=Gf),modelModifiers:{trim:!0},placeholder:"如:oss-cn-shenzhen"},null,8,["modelValue"])]),_:1}),createVNode(pf,{label:"UseSSL",required:!0},{default:withCtx(()=>[createVNode(zf,{modelValue:sd.value.useSSL,"onUpdate:modelValue":Qd[8]||(Qd[8]=Gf=>sd.value.useSSL=Gf),"active-text":"是","inactive-text":"否"},null,8,["modelValue"])]),_:1}),createVNode(pf,{label:"自定义 CDN 域名",required:!1},{default:withCtx(()=>[createVNode(bf,{modelValue:sd.value.cdnHost,"onUpdate:modelValue":Qd[9]||(Qd[9]=Gf=>sd.value.cdnHost=Gf),modelModifiers:{trim:!0},placeholder:"如:https://imagecdn.alidaodao.com,可不填"},null,8,["modelValue"])]),_:1}),createVNode(pf,{label:"存储路径"},{default:withCtx(()=>[createVNode(bf,{modelValue:sd.value.path,"onUpdate:modelValue":Qd[10]||(Qd[10]=Gf=>sd.value.path=Gf),modelModifiers:{trim:!0},placeholder:"如:img,可不填,默认为根目录"},null,8,["modelValue"]),createVNode(_f,{type:"primary",href:"https://help.aliyun.com/document_detail/31883.html",target:"_blank"},{default:withCtx(()=>Qd[36]||(Qd[36]=[createTextVNode(" 如何使用阿里云 OSS? ")])),_:1})]),_:1}),createVNode(pf,null,{default:withCtx(()=>[createVNode(Tf,{type:"primary",onClick:Bd},{default:withCtx(()=>Qd[37]||(Qd[37]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),createVNode(mf,{class:"github-panel",label:"腾讯云 COS",name:"txCOS"},{default:withCtx(()=>[createVNode(kf,{class:"setting-form",model:od.value,"label-position":"right","label-width":"150px"},{default:withCtx(()=>[createVNode(pf,{label:"SecretId",required:!0},{default:withCtx(()=>[createVNode(bf,{modelValue:od.value.secretId,"onUpdate:modelValue":Qd[11]||(Qd[11]=Gf=>od.value.secretId=Gf),modelModifiers:{trim:!0},placeholder:"如:AKIDnQp1w3DOOCSs8F5MDp9tdoocsmdUPonW3"},null,8,["modelValue"])]),_:1}),createVNode(pf,{label:"SecretKey",required:!0},{default:withCtx(()=>[createVNode(bf,{modelValue:od.value.secretKey,"onUpdate:modelValue":Qd[12]||(Qd[12]=Gf=>od.value.secretKey=Gf),modelModifiers:{trim:!0},"show-password":"",placeholder:"如:ukLmdtEJ9271f3DOocsMDsCXdS3YlbW0"},null,8,["modelValue"])]),_:1}),createVNode(pf,{label:"Bucket",required:!0},{default:withCtx(()=>[createVNode(bf,{modelValue:od.value.bucket,"onUpdate:modelValue":Qd[13]||(Qd[13]=Gf=>od.value.bucket=Gf),modelModifiers:{trim:!0},placeholder:"如:doocs-3212520134"},null,8,["modelValue"])]),_:1}),createVNode(pf,{label:"Bucket 所在区域",required:!0},{default:withCtx(()=>[createVNode(bf,{modelValue:od.value.region,"onUpdate:modelValue":Qd[14]||(Qd[14]=Gf=>od.value.region=Gf),modelModifiers:{trim:!0},placeholder:"如:ap-guangzhou"},null,8,["modelValue"])]),_:1}),createVNode(pf,{label:"自定义 CDN 域名",required:!1},{default:withCtx(()=>[createVNode(bf,{modelValue:od.value.cdnHost,"onUpdate:modelValue":Qd[15]||(Qd[15]=Gf=>od.value.cdnHost=Gf),modelModifiers:{trim:!0},placeholder:"如:https://imagecdn.alidaodao.com,可不填"},null,8,["modelValue"])]),_:1}),createVNode(pf,{label:"存储路径"},{default:withCtx(()=>[createVNode(bf,{modelValue:od.value.path,"onUpdate:modelValue":Qd[16]||(Qd[16]=Gf=>od.value.path=Gf),modelModifiers:{trim:!0},placeholder:"如:img,可不填,默认根目录"},null,8,["modelValue"]),createVNode(_f,{type:"primary",href:"https://cloud.tencent.com/document/product/436/38484",target:"_blank"},{default:withCtx(()=>Qd[38]||(Qd[38]=[createTextVNode(" 如何使用腾讯云 COS? ")])),_:1})]),_:1}),createVNode(pf,null,{default:withCtx(()=>[createVNode(Tf,{type:"primary",onClick:Od},{default:withCtx(()=>Qd[39]||(Qd[39]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),createVNode(mf,{class:"github-panel",label:"七牛云 Kodo",name:"qiniu"},{default:withCtx(()=>[createVNode(kf,{class:"setting-form",model:ld.value,"label-position":"right","label-width":"150px"},{default:withCtx(()=>[createVNode(pf,{label:"AccessKey",required:!0},{default:withCtx(()=>[createVNode(bf,{modelValue:ld.value.accessKey,"onUpdate:modelValue":Qd[17]||(Qd[17]=Gf=>ld.value.accessKey=Gf),modelModifiers:{trim:!0},placeholder:"如:6DD3VaLJ_SQgOdoocsyTV_YWaDmdnL2n8EGx7kG"},null,8,["modelValue"])]),_:1}),createVNode(pf,{label:"SecretKey",required:!0},{default:withCtx(()=>[createVNode(bf,{modelValue:ld.value.secretKey,"onUpdate:modelValue":Qd[18]||(Qd[18]=Gf=>ld.value.secretKey=Gf),modelModifiers:{trim:!0},"show-password":"",placeholder:"如:qgZa5qrvDOOcsmdKStD1oCjZ9nB7MDvJUs_34SIm"},null,8,["modelValue"])]),_:1}),createVNode(pf,{label:"Bucket",required:!0},{default:withCtx(()=>[createVNode(bf,{modelValue:ld.value.bucket,"onUpdate:modelValue":Qd[19]||(Qd[19]=Gf=>ld.value.bucket=Gf),modelModifiers:{trim:!0},placeholder:"如:md"},null,8,["modelValue"])]),_:1}),createVNode(pf,{label:"Bucket 对应域名",required:!0},{default:withCtx(()=>[createVNode(bf,{modelValue:ld.value.domain,"onUpdate:modelValue":Qd[20]||(Qd[20]=Gf=>ld.value.domain=Gf),modelModifiers:{trim:!0},placeholder:"如:https://images.123ylb.cn"},null,8,["modelValue"])]),_:1}),createVNode(pf,{label:"存储区域",required:!1},{default:withCtx(()=>[createVNode(bf,{modelValue:ld.value.region,"onUpdate:modelValue":Qd[21]||(Qd[21]=Gf=>ld.value.region=Gf),modelModifiers:{trim:!0},placeholder:"如:z2,可不填"},null,8,["modelValue"])]),_:1}),createVNode(pf,{label:"存储路径",required:!1},{default:withCtx(()=>[createVNode(bf,{modelValue:ld.value.path,"onUpdate:modelValue":Qd[22]||(Qd[22]=Gf=>ld.value.path=Gf),modelModifiers:{trim:!0},placeholder:"如:img,可不填,默认为根目录"},null,8,["modelValue"]),createVNode(_f,{type:"primary",href:"https://developer.qiniu.com/kodo",target:"_blank"},{default:withCtx(()=>Qd[40]||(Qd[40]=[createTextVNode(" 如何使用七牛云 Kodo? ")])),_:1})]),_:1}),createVNode(pf,null,{default:withCtx(()=>[createVNode(Tf,{type:"primary",onClick:Md},{default:withCtx(()=>Qd[41]||(Qd[41]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),createVNode(mf,{class:"github-panel",label:"MinIO",name:"minio"},{default:withCtx(()=>[createVNode(kf,{class:"setting-form",model:ud.value,"label-position":"right","label-width":"150px"},{default:withCtx(()=>[createVNode(pf,{label:"Endpoint",required:!0},{default:withCtx(()=>[createVNode(bf,{modelValue:ud.value.endpoint,"onUpdate:modelValue":Qd[23]||(Qd[23]=Gf=>ud.value.endpoint=Gf),modelModifiers:{trim:!0},placeholder:"如:play.min.io"},null,8,["modelValue"])]),_:1}),createVNode(pf,{label:"Port",required:!1},{default:withCtx(()=>[createVNode(bf,{modelValue:ud.value.port,"onUpdate:modelValue":Qd[24]||(Qd[24]=Gf=>ud.value.port=Gf),modelModifiers:{trim:!0},type:"number",placeholder:"如:9000,可不填,http 默认为 80,https 默认为 443"},null,8,["modelValue"])]),_:1}),createVNode(pf,{label:"UseSSL",required:!0},{default:withCtx(()=>[createVNode(zf,{modelValue:ud.value.useSSL,"onUpdate:modelValue":Qd[25]||(Qd[25]=Gf=>ud.value.useSSL=Gf),"active-text":"是","inactive-text":"否"},null,8,["modelValue"])]),_:1}),createVNode(pf,{label:"Bucket",required:!0},{default:withCtx(()=>[createVNode(bf,{modelValue:ud.value.bucket,"onUpdate:modelValue":Qd[26]||(Qd[26]=Gf=>ud.value.bucket=Gf),modelModifiers:{trim:!0},placeholder:"如:doocs"},null,8,["modelValue"])]),_:1}),createVNode(pf,{label:"AccessKey",required:!0},{default:withCtx(()=>[createVNode(bf,{modelValue:ud.value.accessKey,"onUpdate:modelValue":Qd[27]||(Qd[27]=Gf=>ud.value.accessKey=Gf),modelModifiers:{trim:!0},placeholder:"如:zhangsan"},null,8,["modelValue"])]),_:1}),createVNode(pf,{label:"SecretKey",required:!0},{default:withCtx(()=>[createVNode(bf,{modelValue:ud.value.secretKey,"onUpdate:modelValue":Qd[28]||(Qd[28]=Gf=>ud.value.secretKey=Gf),modelModifiers:{trim:!0},placeholder:"如:asdasdasd"},null,8,["modelValue"]),createVNode(_f,{type:"primary",href:"http://docs.minio.org.cn/docs/master/minio-client-complete-guide",target:"_blank"},{default:withCtx(()=>Qd[42]||(Qd[42]=[createTextVNode(" 如何使用 MinIO? ")])),_:1})]),_:1}),createVNode(pf,null,{default:withCtx(()=>[createVNode(Tf,{type:"primary",onClick:Rd},{default:withCtx(()=>Qd[43]||(Qd[43]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),createVNode(mf,{class:"github-panel formCustom",label:"自定义代码",name:"formCustom"},{default:withCtx(()=>[createVNode(kf,{class:"setting-form",model:cd.value,"label-position":"right"},{default:withCtx(()=>[createVNode(pf,{label:"",required:!0},{default:withCtx(()=>[createVNode(bf,{ref_key:"formCustomElInput",ref:Ed,modelValue:cd.value.code,"onUpdate:modelValue":Qd[29]||(Qd[29]=Gf=>cd.value.code=Gf),class:"formCustomElInput",type:"textarea",resize:"none",placeholder:"Your custom code here."},null,8,["modelValue"]),createVNode(_f,{type:"primary",href:"https://github.com/doocs/md#自定义上传逻辑",target:"_blank"},{default:withCtx(()=>Qd[44]||(Qd[44]=[createTextVNode(" 参数详情? ")])),_:1})]),_:1}),createVNode(pf,null,{default:withCtx(()=>[createVNode(Tf,{type:"primary",onClick:Ld},{default:withCtx(()=>Qd[45]||(Qd[45]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})]),_:1},8,["model"])]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["open"])}}}),UploadImgDialog=_export_sfc(_sfc_main$9,[["__scopeId","data-v-417bbd0e"]]),_hoisted_1$1={key:0,class:"loading"},_sfc_main$8=defineComponent({__name:"RunLoading",setup(Ra){const qa=ref$1(!0);return onMounted(()=>{setTimeout(()=>{qa.value=!1},100)}),(ed,td)=>(openBlock(),createBlock(Transition$1,{name:"fade"},{default:withCtx(()=>[qa.value?(openBlock(),createElementBlock("div",_hoisted_1$1,td[0]||(td[0]=[createBaseVNode("strong",null,"致力于让 Markdown 编辑更简单",-1)]))):createCommentVNode("",!0)]),_:1}))}}),RunLoading=_export_sfc(_sfc_main$8,[["__scopeId","data-v-740616c8"]]),_sfc_main$7=defineComponent({__name:"ContextMenu",props:{dir:{},modal:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const rd=xe(Ra,qa);return(sd,od)=>(openBlock(),createBlock(unref(Jv),normalizeProps(guardReactiveProps(unref(rd))),{default:withCtx(()=>[renderSlot(sd.$slots,"default")]),_:3},16))}}),_sfc_main$6=defineComponent({__name:"ContextMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},sticky:{},hideWhenDetached:{type:Boolean},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(Ra,{emit:qa}){const ed=Ra,td=qa,rd=computed(()=>{const{class:od,...ld}=ed;return ld}),sd=xe(rd,td);return(od,ld)=>(openBlock(),createBlock(unref(em),null,{default:withCtx(()=>[createVNode(unref(tm),mergeProps(unref(sd),{class:unref(cn)("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md animate-in fade-in-80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",ed.class)}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$5=defineComponent({__name:"ContextMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},emits:["select"],setup(Ra,{emit:qa}){const ed=Ra,td=qa,rd=computed(()=>{const{class:od,...ld}=ed;return ld}),sd=xe(rd,td);return(od,ld)=>(openBlock(),createBlock(unref(nm),mergeProps(unref(sd),{class:unref(cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",od.inset&&"pl-8",ed.class)}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$4=defineComponent({__name:"ContextMenuSeparator",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,ed=computed(()=>{const{class:td,...rd}=qa;return rd});return(td,rd)=>(openBlock(),createBlock(unref(lm),mergeProps(ed.value,{class:unref(cn)("-mx-1 my-1 h-px bg-border",qa.class)}),null,16,["class"]))}}),_sfc_main$3=defineComponent({__name:"ContextMenuShortcut",props:{class:{}},setup(Ra){const qa=Ra;return(ed,td)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(cn)("ml-auto text-xs tracking-widest text-muted-foreground",qa.class))},[renderSlot(ed.$slots,"default")],2))}}),_sfc_main$2=defineComponent({__name:"ContextMenuTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const ed=It(Ra);return(td,rd)=>(openBlock(),createBlock(unref(Qv),normalizeProps(guardReactiveProps(unref(ed))),{default:withCtx(()=>[renderSlot(td.$slots,"default")]),_:3},16))}});var toString$1=Object.prototype.toString,isModern=typeof Buffer$2<"u"&&typeof Buffer$2.alloc=="function"&&typeof Buffer$2.allocUnsafe=="function"&&typeof Buffer$2.from=="function";function isArrayBuffer$1(Ra){return toString$1.call(Ra).slice(8,-1)==="ArrayBuffer"}function fromArrayBuffer(Ra,qa,ed){qa>>>=0;var td=Ra.byteLength-qa;if(td<0)throw new RangeError("'offset' is out of bounds");if(ed===void 0)ed=td;else if(ed>>>=0,ed>td)throw new RangeError("'length' is out of bounds");return isModern?Buffer$2.from(Ra.slice(qa,qa+ed)):new Buffer$2(new Uint8Array(Ra.slice(qa,qa+ed)))}function fromString(Ra,qa){if((typeof qa!="string"||qa==="")&&(qa="utf8"),!Buffer$2.isEncoding(qa))throw new TypeError('"encoding" must be a valid string encoding');return isModern?Buffer$2.from(Ra,qa):new Buffer$2(Ra,qa)}function bufferFrom(Ra,qa,ed){if(typeof Ra=="number")throw new TypeError('"value" argument must not be a number');return isArrayBuffer$1(Ra)?fromArrayBuffer(Ra,qa,ed):typeof Ra=="string"?fromString(Ra,qa):isModern?Buffer$2.from(Ra):new Buffer$2(Ra)}var bufferFrom_1=bufferFrom;const Buffer$1=getDefaultExportFromCjs(bufferFrom_1);var cosJsSdkV5={exports:{}};(function(Ra,qa){(function(td,rd){Ra.exports=rd()})(commonjsGlobal,function(){return function(ed){var td={};function rd(sd){if(td[sd])return td[sd].exports;var od=td[sd]={i:sd,l:!1,exports:{}};return ed[sd].call(od.exports,od,od.exports,rd),od.l=!0,od.exports}return rd.m=ed,rd.c=td,rd.d=function(sd,od,ld){rd.o(sd,od)||Object.defineProperty(sd,od,{enumerable:!0,get:ld})},rd.r=function(sd){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(sd,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(sd,"__esModule",{value:!0})},rd.t=function(sd,od){if(od&1&&(sd=rd(sd)),od&8||od&4&&typeof sd=="object"&&sd&&sd.__esModule)return sd;var ld=Object.create(null);if(rd.r(ld),Object.defineProperty(ld,"default",{enumerable:!0,value:sd}),od&2&&typeof sd!="string")for(var ud in sd)rd.d(ld,ud,(function(cd){return sd[cd]}).bind(null,ud));return ld},rd.n=function(sd){var od=sd&&sd.__esModule?function(){return sd.default}:function(){return sd};return rd.d(od,"a",od),od},rd.o=function(sd,od){return Object.prototype.hasOwnProperty.call(sd,od)},rd.p="/dist/",rd(rd.s="./index.js")}({"./index.js":function(ed,td,rd){var sd=rd("./src/cos.js");ed.exports=sd},"./lib/base64.js":function(ed,td){var rd=function(sd){sd=sd||{};var od=sd.Base64,ld="2.1.9",ud="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",cd=function(df){for(var mf={},bf=0,pf=df.length;bf>>6)+dd(128|bf&63):dd(224|bf>>>12&15)+dd(128|bf>>>6&63)+dd(128|bf&63)}else{var bf=65536+(mf.charCodeAt(0)-55296)*1024+(mf.charCodeAt(1)-56320);return dd(240|bf>>>18&7)+dd(128|bf>>>12&63)+dd(128|bf>>>6&63)+dd(128|bf&63)}},Ed=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Ad=function(mf){return mf.replace(Ed,_d)},Td=function(mf){var bf=[0,2,1][mf.length%3],pf=mf.charCodeAt(0)<<16|(mf.length>1?mf.charCodeAt(1):0)<<8|(mf.length>2?mf.charCodeAt(2):0),_f=[ud.charAt(pf>>>18),ud.charAt(pf>>>12&63),bf>=2?"=":ud.charAt(pf>>>6&63),bf>=1?"=":ud.charAt(pf&63)];return _f.join("")},Id=sd.btoa?function(df){return sd.btoa(df)}:function(df){return df.replace(/[\s\S]{1,3}/g,Td)},Bd=function(df){return Id(Ad(df))},Rd=function(mf,bf){return bf?Bd(String(mf)).replace(/[+\/]/g,function(pf){return pf=="+"?"-":"_"}).replace(/=/g,""):Bd(String(mf))},Od=function(mf){return Rd(mf,!0)},Md=new RegExp(["[À-ß][€-¿]","[à-ï][€-¿]{2}","[ð-÷][€-¿]{3}"].join("|"),"g"),Ld=function(mf){switch(mf.length){case 4:var bf=(7&mf.charCodeAt(0))<<18|(63&mf.charCodeAt(1))<<12|(63&mf.charCodeAt(2))<<6|63&mf.charCodeAt(3),pf=bf-65536;return dd((pf>>>10)+55296)+dd((pf&1023)+56320);case 3:return dd((15&mf.charCodeAt(0))<<12|(63&mf.charCodeAt(1))<<6|63&mf.charCodeAt(2));default:return dd((31&mf.charCodeAt(0))<<6|63&mf.charCodeAt(1))}},Fd=function(mf){return mf.replace(Md,Ld)},jd=function(mf){var bf=mf.length,pf=bf%4,_f=(bf>0?cd[mf.charAt(0)]<<18:0)|(bf>1?cd[mf.charAt(1)]<<12:0)|(bf>2?cd[mf.charAt(2)]<<6:0)|(bf>3?cd[mf.charAt(3)]:0),Tf=[dd(_f>>>16),dd(_f>>>8&255),dd(_f&255)];return Tf.length-=[0,0,2,1][pf],Tf.join("")},Vd=sd.atob?function(df){return sd.atob(df)}:function(df){return df.replace(/[\s\S]{1,4}/g,jd)},Qd=function(df){return Fd(Vd(df))},qd=function(mf){return Qd(String(mf).replace(/[-_]/g,function(bf){return bf=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,""))},Kd=function(){var mf=sd.Base64;return sd.Base64=od,mf},Xd={VERSION:ld,atob:Vd,btoa:Id,fromBase64:qd,toBase64:Rd,utob:Ad,encode:Rd,encodeURI:Od,btou:Fd,decode:qd,noConflict:Kd};return Xd}();ed.exports=rd},"./lib/crypto.js":function(ed,td,rd){(function(sd){var od=rd("./node_modules/@babel/runtime/helpers/typeof.js"),ld=ld||function(ud,cd){var dd={},_d=dd.lib={},Ed=function(){},Ad=_d.Base={extend:function(jd){Ed.prototype=this;var Vd=new Ed;return jd&&Vd.mixIn(jd),Vd.hasOwnProperty("init")||(Vd.init=function(){Vd.$super.init.apply(this,arguments)}),Vd.init.prototype=Vd,Vd.$super=this,Vd},create:function(){var jd=this.extend();return jd.init.apply(jd,arguments),jd},init:function(){},mixIn:function(jd){for(var Vd in jd)jd.hasOwnProperty(Vd)&&(this[Vd]=jd[Vd]);jd.hasOwnProperty("toString")&&(this.toString=jd.toString)},clone:function(){return this.init.prototype.extend(this)}},Td=_d.WordArray=Ad.extend({init:function(jd,Vd){jd=this.words=jd||[],this.sigBytes=Vd!=cd?Vd:4*jd.length},toString:function(jd){return(jd||Bd).stringify(this)},concat:function(jd){var Vd=this.words,Qd=jd.words,qd=this.sigBytes;if(jd=jd.sigBytes,this.clamp(),qd%4)for(var Kd=0;Kd>>2]|=(Qd[Kd>>>2]>>>24-8*(Kd%4)&255)<<24-8*((qd+Kd)%4);else if(65535>>2]=Qd[Kd>>>2];else Vd.push.apply(Vd,Qd);return this.sigBytes+=jd,this},clamp:function(){var jd=this.words,Vd=this.sigBytes;jd[Vd>>>2]&=4294967295<<32-8*(Vd%4),jd.length=ud.ceil(Vd/4)},clone:function(){var jd=Ad.clone.call(this);return jd.words=this.words.slice(0),jd},random:function(jd){for(var Vd=[],Qd=0;Qd>>2]>>>24-8*(qd%4)&255;Qd.push((Kd>>>4).toString(16)),Qd.push((Kd&15).toString(16))}return Qd.join("")},parse:function(jd){for(var Vd=jd.length,Qd=[],qd=0;qd>>3]|=parseInt(jd.substr(qd,2),16)<<24-4*(qd%8);return new Td.init(Qd,Vd/2)}},Rd=Id.Latin1={stringify:function(jd){var Vd=jd.words;jd=jd.sigBytes;for(var Qd=[],qd=0;qd>>2]>>>24-8*(qd%4)&255));return Qd.join("")},parse:function(jd){for(var Vd=jd.length,Qd=[],qd=0;qd>>2]|=(jd.charCodeAt(qd)&255)<<24-8*(qd%4);return new Td.init(Qd,Vd)}},Od=Id.Utf8={stringify:function(jd){try{return decodeURIComponent(escape(Rd.stringify(jd)))}catch{throw Error("Malformed UTF-8 data")}},parse:function(jd){return Rd.parse(unescape(encodeURIComponent(jd)))}},Md=_d.BufferedBlockAlgorithm=Ad.extend({reset:function(){this._data=new Td.init,this._nDataBytes=0},_append:function(jd){typeof jd=="string"&&(jd=Od.parse(jd)),this._data.concat(jd),this._nDataBytes+=jd.sigBytes},_process:function(jd){var Vd=this._data,Qd=Vd.words,qd=Vd.sigBytes,Kd=this.blockSize,Xd=qd/(4*Kd),Xd=jd?ud.ceil(Xd):ud.max((Xd|0)-this._minBufferSize,0);if(jd=Xd*Kd,qd=ud.min(4*jd,qd),jd){for(var df=0;dfjd;jd++){if(16>jd)_d[jd]=Td[Id+jd]|0;else{var Vd=_d[jd-3]^_d[jd-8]^_d[jd-14]^_d[jd-16];_d[jd]=Vd<<1|Vd>>>31}Vd=(Rd<<5|Rd>>>27)+Fd+_d[jd],Vd=20>jd?Vd+((Od&Md|~Od&Ld)+1518500249):40>jd?Vd+((Od^Md^Ld)+1859775393):60>jd?Vd+((Od&Md|Od&Ld|Md&Ld)-1894007588):Vd+((Od^Md^Ld)-899497514),Fd=Ld,Ld=Md,Md=Od<<30|Od>>>2,Od=Rd,Rd=Vd}Bd[0]=Bd[0]+Rd|0,Bd[1]=Bd[1]+Od|0,Bd[2]=Bd[2]+Md|0,Bd[3]=Bd[3]+Ld|0,Bd[4]=Bd[4]+Fd|0},_doFinalize:function(){var Td=this._data,Id=Td.words,Bd=8*this._nDataBytes,Rd=8*Td.sigBytes;return Id[Rd>>>5]|=128<<24-Rd%32,Id[(Rd+64>>>9<<4)+14]=Math.floor(Bd/4294967296),Id[(Rd+64>>>9<<4)+15]=Bd,Td.sigBytes=4*Id.length,this._process(),this._hash},clone:function(){var Td=dd.clone.call(this);return Td._hash=this._hash.clone(),Td}});ud.SHA1=dd._createHelper(Ed),ud.HmacSHA1=dd._createHmacHelper(Ed)})(),function(){var ud=ld,cd=ud.enc.Utf8;ud.algo.HMAC=ud.lib.Base.extend({init:function(_d,Ed){_d=this._hasher=new _d.init,typeof Ed=="string"&&(Ed=cd.parse(Ed));var Ad=_d.blockSize,Td=4*Ad;Ed.sigBytes>Td&&(Ed=_d.finalize(Ed)),Ed.clamp();for(var Id=this._oKey=Ed.clone(),Bd=this._iKey=Ed.clone(),Rd=Id.words,Od=Bd.words,Md=0;Md>>2]>>>24-Od%4*8&255,Ld=Td[Od+1>>>2]>>>24-(Od+1)%4*8&255,Fd=Td[Od+2>>>2]>>>24-(Od+2)%4*8&255,jd=Md<<16|Ld<<8|Fd,Vd=0;Vd<4&&Od+Vd*.75>>6*(3-Vd)&63));var Qd=Bd.charAt(64);if(Qd)for(;Rd.length%4;)Rd.push(Qd);return Rd.join("")},parse:function(Ad){var Td=Ad.length,Id=this._map,Bd=Id.charAt(64);if(Bd){var Rd=Ad.indexOf(Bd);Rd!=-1&&(Td=Rd)}for(var Od=[],Md=0,Ld=0;Ld>>6-Ld%4*2;Od[Md>>>2]|=(Fd|jd)<<24-Md%4*8,Md++}return dd.create(Od,Md)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),od(sd)==="object"?sd.exports=ld:window.CryptoJS=ld}).call(this,rd("./node_modules/webpack/buildin/module.js")(ed))},"./lib/md5.js":function(ed,td,rd){(function(sd){var od,ld=rd("./node_modules/@babel/runtime/helpers/typeof.js");(function(){var ud=(typeof window>"u"?"undefined":ld(window))==="object",cd=ud?window:{};cd.JS_MD5_NO_WINDOW&&(ud=!1);var dd=!ud&&(typeof self>"u"?"undefined":ld(self))==="object";dd&&(cd=self);var _d=!cd.JS_MD5_NO_COMMON_JS&&ld(sd)==="object"&&sd.exports,Ed=rd("./node_modules/webpack/buildin/amd-options.js"),Ad=!cd.JS_MD5_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",Td="0123456789abcdef".split(""),Id=[128,32768,8388608,-2147483648],Bd=[0,8,16,24],Rd=["hex","array","digest","buffer","arrayBuffer","base64"],Od="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),Md=[],Ld;if(Ad){var Fd=new ArrayBuffer(68);Ld=new Uint8Array(Fd),Md=new Uint32Array(Fd)}(cd.JS_MD5_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(Kd){return Object.prototype.toString.call(Kd)==="[object Array]"}),Ad&&(cd.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(Kd){return ld(Kd)==="object"&&Kd.buffer&&Kd.buffer.constructor===ArrayBuffer});var jd=function(Xd){return function(df,mf){return new Qd(!0).update(df,mf)[Xd]()}},Vd=function(){var Xd=jd("hex");Xd.getCtx=Xd.create=function(){return new Qd},Xd.update=function(bf){return Xd.create().update(bf)};for(var df=0;df>6,Tf[bf++]=128|df&63):df<55296||df>=57344?(Tf[bf++]=224|df>>12,Tf[bf++]=128|df>>6&63,Tf[bf++]=128|df&63):(df=65536+((df&1023)<<10|Kd.charCodeAt(++mf)&1023),Tf[bf++]=240|df>>18,Tf[bf++]=128|df>>12&63,Tf[bf++]=128|df>>6&63,Tf[bf++]=128|df&63);else for(bf=this.start;mf>2]|=df<>2]|=(192|df>>6)<>2]|=(128|df&63)<=57344?(_f[bf>>2]|=(224|df>>12)<>2]|=(128|df>>6&63)<>2]|=(128|df&63)<>2]|=(240|df>>18)<>2]|=(128|df>>12&63)<>2]|=(128|df>>6&63)<>2]|=(128|df&63)<=64?(this.start=bf-64,this.hash(),this.hashed=!0):this.start=bf}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Qd.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var Kd=this.blocks,Xd=this.lastByteIndex;Kd[Xd>>2]|=Id[Xd&3],Xd>=56&&(this.hashed||this.hash(),Kd[0]=Kd[16],Kd[16]=Kd[1]=Kd[2]=Kd[3]=Kd[4]=Kd[5]=Kd[6]=Kd[7]=Kd[8]=Kd[9]=Kd[10]=Kd[11]=Kd[12]=Kd[13]=Kd[14]=Kd[15]=0),Kd[14]=this.bytes<<3,Kd[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},Qd.prototype.hash=function(){var Kd,Xd,df,mf,bf,pf,_f=this.blocks;this.first?(Kd=_f[0]-680876937,Kd=(Kd<<7|Kd>>>25)-271733879<<0,mf=(-1732584194^Kd&2004318071)+_f[1]-117830708,mf=(mf<<12|mf>>>20)+Kd<<0,df=(-271733879^mf&(Kd^-271733879))+_f[2]-1126478375,df=(df<<17|df>>>15)+mf<<0,Xd=(Kd^df&(mf^Kd))+_f[3]-1316259209,Xd=(Xd<<22|Xd>>>10)+df<<0):(Kd=this.h0,Xd=this.h1,df=this.h2,mf=this.h3,Kd+=(mf^Xd&(df^mf))+_f[0]-680876936,Kd=(Kd<<7|Kd>>>25)+Xd<<0,mf+=(df^Kd&(Xd^df))+_f[1]-389564586,mf=(mf<<12|mf>>>20)+Kd<<0,df+=(Xd^mf&(Kd^Xd))+_f[2]+606105819,df=(df<<17|df>>>15)+mf<<0,Xd+=(Kd^df&(mf^Kd))+_f[3]-1044525330,Xd=(Xd<<22|Xd>>>10)+df<<0),Kd+=(mf^Xd&(df^mf))+_f[4]-176418897,Kd=(Kd<<7|Kd>>>25)+Xd<<0,mf+=(df^Kd&(Xd^df))+_f[5]+1200080426,mf=(mf<<12|mf>>>20)+Kd<<0,df+=(Xd^mf&(Kd^Xd))+_f[6]-1473231341,df=(df<<17|df>>>15)+mf<<0,Xd+=(Kd^df&(mf^Kd))+_f[7]-45705983,Xd=(Xd<<22|Xd>>>10)+df<<0,Kd+=(mf^Xd&(df^mf))+_f[8]+1770035416,Kd=(Kd<<7|Kd>>>25)+Xd<<0,mf+=(df^Kd&(Xd^df))+_f[9]-1958414417,mf=(mf<<12|mf>>>20)+Kd<<0,df+=(Xd^mf&(Kd^Xd))+_f[10]-42063,df=(df<<17|df>>>15)+mf<<0,Xd+=(Kd^df&(mf^Kd))+_f[11]-1990404162,Xd=(Xd<<22|Xd>>>10)+df<<0,Kd+=(mf^Xd&(df^mf))+_f[12]+1804603682,Kd=(Kd<<7|Kd>>>25)+Xd<<0,mf+=(df^Kd&(Xd^df))+_f[13]-40341101,mf=(mf<<12|mf>>>20)+Kd<<0,df+=(Xd^mf&(Kd^Xd))+_f[14]-1502002290,df=(df<<17|df>>>15)+mf<<0,Xd+=(Kd^df&(mf^Kd))+_f[15]+1236535329,Xd=(Xd<<22|Xd>>>10)+df<<0,Kd+=(df^mf&(Xd^df))+_f[1]-165796510,Kd=(Kd<<5|Kd>>>27)+Xd<<0,mf+=(Xd^df&(Kd^Xd))+_f[6]-1069501632,mf=(mf<<9|mf>>>23)+Kd<<0,df+=(Kd^Xd&(mf^Kd))+_f[11]+643717713,df=(df<<14|df>>>18)+mf<<0,Xd+=(mf^Kd&(df^mf))+_f[0]-373897302,Xd=(Xd<<20|Xd>>>12)+df<<0,Kd+=(df^mf&(Xd^df))+_f[5]-701558691,Kd=(Kd<<5|Kd>>>27)+Xd<<0,mf+=(Xd^df&(Kd^Xd))+_f[10]+38016083,mf=(mf<<9|mf>>>23)+Kd<<0,df+=(Kd^Xd&(mf^Kd))+_f[15]-660478335,df=(df<<14|df>>>18)+mf<<0,Xd+=(mf^Kd&(df^mf))+_f[4]-405537848,Xd=(Xd<<20|Xd>>>12)+df<<0,Kd+=(df^mf&(Xd^df))+_f[9]+568446438,Kd=(Kd<<5|Kd>>>27)+Xd<<0,mf+=(Xd^df&(Kd^Xd))+_f[14]-1019803690,mf=(mf<<9|mf>>>23)+Kd<<0,df+=(Kd^Xd&(mf^Kd))+_f[3]-187363961,df=(df<<14|df>>>18)+mf<<0,Xd+=(mf^Kd&(df^mf))+_f[8]+1163531501,Xd=(Xd<<20|Xd>>>12)+df<<0,Kd+=(df^mf&(Xd^df))+_f[13]-1444681467,Kd=(Kd<<5|Kd>>>27)+Xd<<0,mf+=(Xd^df&(Kd^Xd))+_f[2]-51403784,mf=(mf<<9|mf>>>23)+Kd<<0,df+=(Kd^Xd&(mf^Kd))+_f[7]+1735328473,df=(df<<14|df>>>18)+mf<<0,Xd+=(mf^Kd&(df^mf))+_f[12]-1926607734,Xd=(Xd<<20|Xd>>>12)+df<<0,bf=Xd^df,Kd+=(bf^mf)+_f[5]-378558,Kd=(Kd<<4|Kd>>>28)+Xd<<0,mf+=(bf^Kd)+_f[8]-2022574463,mf=(mf<<11|mf>>>21)+Kd<<0,pf=mf^Kd,df+=(pf^Xd)+_f[11]+1839030562,df=(df<<16|df>>>16)+mf<<0,Xd+=(pf^df)+_f[14]-35309556,Xd=(Xd<<23|Xd>>>9)+df<<0,bf=Xd^df,Kd+=(bf^mf)+_f[1]-1530992060,Kd=(Kd<<4|Kd>>>28)+Xd<<0,mf+=(bf^Kd)+_f[4]+1272893353,mf=(mf<<11|mf>>>21)+Kd<<0,pf=mf^Kd,df+=(pf^Xd)+_f[7]-155497632,df=(df<<16|df>>>16)+mf<<0,Xd+=(pf^df)+_f[10]-1094730640,Xd=(Xd<<23|Xd>>>9)+df<<0,bf=Xd^df,Kd+=(bf^mf)+_f[13]+681279174,Kd=(Kd<<4|Kd>>>28)+Xd<<0,mf+=(bf^Kd)+_f[0]-358537222,mf=(mf<<11|mf>>>21)+Kd<<0,pf=mf^Kd,df+=(pf^Xd)+_f[3]-722521979,df=(df<<16|df>>>16)+mf<<0,Xd+=(pf^df)+_f[6]+76029189,Xd=(Xd<<23|Xd>>>9)+df<<0,bf=Xd^df,Kd+=(bf^mf)+_f[9]-640364487,Kd=(Kd<<4|Kd>>>28)+Xd<<0,mf+=(bf^Kd)+_f[12]-421815835,mf=(mf<<11|mf>>>21)+Kd<<0,pf=mf^Kd,df+=(pf^Xd)+_f[15]+530742520,df=(df<<16|df>>>16)+mf<<0,Xd+=(pf^df)+_f[2]-995338651,Xd=(Xd<<23|Xd>>>9)+df<<0,Kd+=(df^(Xd|~mf))+_f[0]-198630844,Kd=(Kd<<6|Kd>>>26)+Xd<<0,mf+=(Xd^(Kd|~df))+_f[7]+1126891415,mf=(mf<<10|mf>>>22)+Kd<<0,df+=(Kd^(mf|~Xd))+_f[14]-1416354905,df=(df<<15|df>>>17)+mf<<0,Xd+=(mf^(df|~Kd))+_f[5]-57434055,Xd=(Xd<<21|Xd>>>11)+df<<0,Kd+=(df^(Xd|~mf))+_f[12]+1700485571,Kd=(Kd<<6|Kd>>>26)+Xd<<0,mf+=(Xd^(Kd|~df))+_f[3]-1894986606,mf=(mf<<10|mf>>>22)+Kd<<0,df+=(Kd^(mf|~Xd))+_f[10]-1051523,df=(df<<15|df>>>17)+mf<<0,Xd+=(mf^(df|~Kd))+_f[1]-2054922799,Xd=(Xd<<21|Xd>>>11)+df<<0,Kd+=(df^(Xd|~mf))+_f[8]+1873313359,Kd=(Kd<<6|Kd>>>26)+Xd<<0,mf+=(Xd^(Kd|~df))+_f[15]-30611744,mf=(mf<<10|mf>>>22)+Kd<<0,df+=(Kd^(mf|~Xd))+_f[6]-1560198380,df=(df<<15|df>>>17)+mf<<0,Xd+=(mf^(df|~Kd))+_f[13]+1309151649,Xd=(Xd<<21|Xd>>>11)+df<<0,Kd+=(df^(Xd|~mf))+_f[4]-145523070,Kd=(Kd<<6|Kd>>>26)+Xd<<0,mf+=(Xd^(Kd|~df))+_f[11]-1120210379,mf=(mf<<10|mf>>>22)+Kd<<0,df+=(Kd^(mf|~Xd))+_f[2]+718787259,df=(df<<15|df>>>17)+mf<<0,Xd+=(mf^(df|~Kd))+_f[9]-343485551,Xd=(Xd<<21|Xd>>>11)+df<<0,this.first?(this.h0=Kd+1732584193<<0,this.h1=Xd-271733879<<0,this.h2=df-1732584194<<0,this.h3=mf+271733878<<0,this.first=!1):(this.h0=this.h0+Kd<<0,this.h1=this.h1+Xd<<0,this.h2=this.h2+df<<0,this.h3=this.h3+mf<<0)},Qd.prototype.hex=function(){this.finalize();var Kd=this.h0,Xd=this.h1,df=this.h2,mf=this.h3;return Td[Kd>>4&15]+Td[Kd&15]+Td[Kd>>12&15]+Td[Kd>>8&15]+Td[Kd>>20&15]+Td[Kd>>16&15]+Td[Kd>>28&15]+Td[Kd>>24&15]+Td[Xd>>4&15]+Td[Xd&15]+Td[Xd>>12&15]+Td[Xd>>8&15]+Td[Xd>>20&15]+Td[Xd>>16&15]+Td[Xd>>28&15]+Td[Xd>>24&15]+Td[df>>4&15]+Td[df&15]+Td[df>>12&15]+Td[df>>8&15]+Td[df>>20&15]+Td[df>>16&15]+Td[df>>28&15]+Td[df>>24&15]+Td[mf>>4&15]+Td[mf&15]+Td[mf>>12&15]+Td[mf>>8&15]+Td[mf>>20&15]+Td[mf>>16&15]+Td[mf>>28&15]+Td[mf>>24&15]},Qd.prototype.toString=Qd.prototype.hex,Qd.prototype.digest=function(Kd){if(Kd==="hex")return this.hex();this.finalize();var Xd=this.h0,df=this.h1,mf=this.h2,bf=this.h3,pf=[Xd&255,Xd>>8&255,Xd>>16&255,Xd>>24&255,df&255,df>>8&255,df>>16&255,df>>24&255,mf&255,mf>>8&255,mf>>16&255,mf>>24&255,bf&255,bf>>8&255,bf>>16&255,bf>>24&255];return pf},Qd.prototype.array=Qd.prototype.digest,Qd.prototype.arrayBuffer=function(){this.finalize();var Kd=new ArrayBuffer(16),Xd=new Uint32Array(Kd);return Xd[0]=this.h0,Xd[1]=this.h1,Xd[2]=this.h2,Xd[3]=this.h3,Kd},Qd.prototype.buffer=Qd.prototype.arrayBuffer,Qd.prototype.base64=function(){for(var Kd,Xd,df,mf="",bf=this.array(),pf=0;pf<15;)Kd=bf[pf++],Xd=bf[pf++],df=bf[pf++],mf+=Od[Kd>>>2]+Od[(Kd<<4|Xd>>>4)&63]+Od[(Xd<<2|df>>>6)&63]+Od[df&63];return Kd=bf[pf],mf+=Od[Kd>>>2]+Od[Kd<<4&63]+"==",mf};var qd=Vd();_d?sd.exports=qd:(cd.md5=qd,Ed&&(od=(function(){return qd}).call(qd,rd,qd,sd),od!==void 0&&(sd.exports=od)))})()}).call(this,rd("./node_modules/webpack/buildin/module.js")(ed))},"./lib/request.js":function(ed,td,rd){var sd=rd("./node_modules/@babel/runtime/helpers/typeof.js"),od=function(Ed){switch(sd(Ed)){case"string":return Ed;case"boolean":return Ed?"true":"false";case"number":return isFinite(Ed)?Ed:"";default:return""}},ld=function(Ed,Ad,Td,Id){return Ad=Ad||"&",Td=Td||"=",Ed===null&&(Ed=void 0),sd(Ed)==="object"?Object.keys(Ed).map(function(Bd){var Rd=encodeURIComponent(od(Bd))+Td;return Array.isArray(Ed[Bd])?Ed[Bd].map(function(Od){return Rd+encodeURIComponent(od(Od))}).join(Ad):Rd+encodeURIComponent(od(Ed[Bd]))}).filter(Boolean).join(Ad):""},ud=function(Ed,Ad,Td){var Id={},Bd=Ad.getAllResponseHeaders();return Bd&&Bd.length>0&&Bd.trim().split(` -`).forEach(function(Rd){if(Rd){var Od=Rd.indexOf(":"),Md=Rd.substr(0,Od).trim().toLowerCase(),Ld=Rd.substr(Od+1).trim();Id[Md]=Ld}}),{error:Ed,statusCode:Ad.status,statusMessage:Ad.statusText,headers:Id,body:Td}},cd=function(Ed,Ad){return!Ad&&Ad==="text"?Ed.responseText:Ed.response},dd=function(Ed,Ad){var Td=(Ed.method||"GET").toUpperCase(),Id=Ed.url;if(Ed.qs){var Bd=ld(Ed.qs);Bd&&(Id+=(Id.indexOf("?")===-1?"?":"&")+Bd)}var Rd=new XMLHttpRequest;if(Rd.open(Td,Id,!0),Rd.responseType=Ed.dataType||"text",Ed.xhrFields)for(var Od in Ed.xhrFields)Rd[Od]=Ed.xhrFields[Od];var Md=Ed.headers;if(Md)for(var Ld in Md)Md.hasOwnProperty(Ld)&&Ld.toLowerCase()!=="content-length"&&Ld.toLowerCase()!=="user-agent"&&Ld.toLowerCase()!=="origin"&&Ld.toLowerCase()!=="host"&&Rd.setRequestHeader(Ld,Md[Ld]);return Ed.onProgress&&Rd.upload&&(Rd.upload.onprogress=Ed.onProgress),Ed.onDownloadProgress&&(Rd.onprogress=Ed.onDownloadProgress),Ed.timeout&&(Rd.timeout=Ed.timeout),Rd.ontimeout=function(Fd){var jd=new Error("timeout");Ad(ud(jd,Rd))},Rd.onload=function(){Ad(ud(null,Rd,cd(Rd,Ed.dataType)))},Rd.onerror=function(Fd){var jd=cd(Rd,Ed.dataType);if(jd)Ad(ud(null,Rd,jd));else{var Vd=Rd.statusText;!Vd&&Rd.status===0&&(Vd=new Error("CORS blocked or network error")),Ad(ud(Vd,Rd,jd))}},Rd.send(Ed.body||""),Rd};ed.exports=dd},"./node_modules/@babel/runtime/helpers/classCallCheck.js":function(ed,td){function rd(sd,od){if(!(sd instanceof od))throw new TypeError("Cannot call a class as a function")}ed.exports=rd,ed.exports.__esModule=!0,ed.exports.default=ed.exports},"./node_modules/@babel/runtime/helpers/createClass.js":function(ed,td,rd){var sd=rd("./node_modules/@babel/runtime/helpers/toPropertyKey.js");function od(ud,cd){for(var dd=0;dd"u")};td.isExist=function(_d){return typeof _d<"u"},td.isEmptyObject=function(_d){return Object.keys(_d).length===0},td.merge=function(_d,Ed,Ad){if(Ed){const Td=Object.keys(Ed),Id=Td.length;for(let Bd=0;Bd"&&jd[Xd]!==" "&&jd[Xd]!==" "&&jd[Xd]!==` -`&&jd[Xd]!=="\r";Xd++)bf+=jd[Xd];if(bf=bf.trim(),bf[bf.length-1]==="/"&&(bf=bf.substring(0,bf.length-1),Xd--),!Md(bf)){let Tf;return bf.trim().length===0?Tf="Invalid space after '<'.":Tf="Tag '"+bf+"' is an invalid name.",Rd("InvalidTag",Tf,Ld(jd,Xd))}const pf=Ed(jd,Xd);if(pf===!1)return Rd("InvalidAttr","Attributes for '"+bf+"' have open quote.",Ld(jd,Xd));let _f=pf.value;if(Xd=pf.index,_f[_f.length-1]==="/"){const Tf=Xd-_f.length;_f=_f.substring(0,_f.length-1);const kf=Td(_f,Vd);if(kf===!0)qd=!0;else return Rd(kf.err.code,kf.err.msg,Ld(jd,Tf+kf.err.line))}else if(mf)if(pf.tagClosed){if(_f.trim().length>0)return Rd("InvalidTag","Closing tag '"+bf+"' can't have attributes or invalid starting.",Ld(jd,df));if(Qd.length===0)return Rd("InvalidTag","Closing tag '"+bf+"' has not been opened.",Ld(jd,df));{const Tf=Qd.pop();if(bf!==Tf.tagName){let kf=Ld(jd,Tf.tagStartPos);return Rd("InvalidTag","Expected closing tag '"+Tf.tagName+"' (opened in line "+kf.line+", col "+kf.col+") instead of closing tag '"+bf+"'.",Ld(jd,df))}Qd.length==0&&(Kd=!0)}}else return Rd("InvalidTag","Closing tag '"+bf+"' doesn't have proper closing.",Ld(jd,Xd));else{const Tf=Td(_f,Vd);if(Tf!==!0)return Rd(Tf.err.code,Tf.err.msg,Ld(jd,Xd-_f.length+Tf.err.line));if(Kd===!0)return Rd("InvalidXml","Multiple possible root nodes found.",Ld(jd,Xd));Vd.unpairedTags.indexOf(bf)!==-1||Qd.push({tagName:bf,tagStartPos:df}),qd=!0}for(Xd++;Xd0)return Rd("InvalidXml","Invalid '"+JSON.stringify(Qd.map(Xd=>Xd.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return Rd("InvalidXml","Start tag expected.",1);return!0};function ld(jd){return jd===" "||jd===" "||jd===` -`||jd==="\r"}function ud(jd,Vd){const Qd=Vd;for(;Vd5&&qd==="xml")return Rd("InvalidXml","XML declaration allowed only at the start of the document.",Ld(jd,Vd));if(jd[Vd]=="?"&&jd[Vd+1]==">"){Vd++;break}else continue}return Vd}function cd(jd,Vd){if(jd.length>Vd+5&&jd[Vd+1]==="-"&&jd[Vd+2]==="-"){for(Vd+=3;Vd"){Vd+=2;break}}else if(jd.length>Vd+8&&jd[Vd+1]==="D"&&jd[Vd+2]==="O"&&jd[Vd+3]==="C"&&jd[Vd+4]==="T"&&jd[Vd+5]==="Y"&&jd[Vd+6]==="P"&&jd[Vd+7]==="E"){let Qd=1;for(Vd+=8;Vd"&&(Qd--,Qd===0))break}else if(jd.length>Vd+9&&jd[Vd+1]==="["&&jd[Vd+2]==="C"&&jd[Vd+3]==="D"&&jd[Vd+4]==="A"&&jd[Vd+5]==="T"&&jd[Vd+6]==="A"&&jd[Vd+7]==="["){for(Vd+=8;Vd"){Vd+=2;break}}return Vd}const dd='"',_d="'";function Ed(jd,Vd){let Qd="",qd="",Kd=!1;for(;Vd"&&qd===""){Kd=!0;break}Qd+=jd[Vd]}return qd!==""?!1:{value:Qd,index:Vd,tagClosed:Kd}}const Ad=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function Td(jd,Vd){const Qd=sd.getAllMatches(jd,Ad),qd={};for(let Kd=0;Kd","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function ld(_d){this.options=Object.assign({},od,_d),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=dd),this.processTextOrObjNode=ud,this.options.format?(this.indentate=cd,this.tagEndChar=`> +`).trim(),editor:null}),pd=[{value:"default",label:"默认"},{value:"github",label:"GitHub"},{value:"aliOSS",label:"阿里云"},{value:"txCOS",label:"腾讯云"},{value:"qiniu",label:"七牛云"},{value:"minio",label:"MinIO"},{value:"formCustom",label:"自定义代码"}],fd=ref$1("default"),Td=ref$1(null),Ad=ref$1("upload");watch(Ad,async zd=>{zd==="formCustom"&&nextTick$1(()=>{var Wd;const Zd=Td.value.$el.querySelector("textarea");(Wd=dd.value).editor||(Wd.editor=CodeMirror.fromTextArea(Zd,{mode:"javascript"}))})},{immediate:!0}),onBeforeMount(()=>{localStorage.getItem("githubConfig")&&(nd.value=JSON.parse(localStorage.getItem("githubConfig"))),localStorage.getItem("aliOSSConfig")&&(ad.value=JSON.parse(localStorage.getItem("aliOSSConfig"))),localStorage.getItem("txCOSConfig")&&(sd.value=JSON.parse(localStorage.getItem("txCOSConfig"))),localStorage.getItem("qiniuConfig")&&(ud.value=JSON.parse(localStorage.getItem("qiniuConfig"))),localStorage.getItem("minioConfig")&&(cd.value=JSON.parse(localStorage.getItem("minioConfig"))),localStorage.getItem("imgHost")&&(fd.value=localStorage.getItem("imgHost"))});function Sd(){localStorage.setItem("imgHost",fd.value),ElMessage.success("已成功切换图床")}function Dd(){if(!(nd.value.repo&&nd.value.accessToken)){const zd=nd.value.repo?"token":"GitHub 仓库";ElMessage.error(`参数「${zd}」不能为空`);return}localStorage.setItem("githubConfig",JSON.stringify(nd.value)),ElMessage.success("保存成功")}function Ld(){if(!(ad.value.accessKeyId&&ad.value.accessKeySecret&&ad.value.bucket&&ad.value.region)){ElMessage.error("阿里云 OSS 参数配置不全");return}localStorage.setItem("aliOSSConfig",JSON.stringify(ad.value)),ElMessage.success("保存成功")}function Rd(){if(!(cd.value.endpoint&&cd.value.bucket&&cd.value.accessKey&&cd.value.secretKey)){ElMessage.error("MinIO 参数配置不全");return}localStorage.setItem("minioConfig",JSON.stringify(cd.value)),ElMessage.success("保存成功")}function Od(){if(!(sd.value.secretId&&sd.value.secretKey&&sd.value.bucket&&sd.value.region)){ElMessage.error("腾讯云 COS 参数配置不全");return}localStorage.setItem("txCOSConfig",JSON.stringify(sd.value)),ElMessage.success("保存成功")}function Md(){if(!(ud.value.accessKey&&ud.value.secretKey&&ud.value.bucket&&ud.value.domain)){ElMessage.error("七牛云 Kodo 参数配置不全");return}localStorage.setItem("qiniuConfig",JSON.stringify(ud.value)),ElMessage.success("保存成功")}function jd(){const zd=dd.value.editor.getValue();localStorage.setItem("formCustomConfig",zd),ElMessage.success("保存成功")}function Ud(zd){const Zd=checkImage(zd);if(!Zd.ok)return ElMessage.error(Zd.msg),!1;let Wd=localStorage.getItem("imgHost");Wd=Wd||"default",localStorage.setItem("imgHost",Wd);const Qd=localStorage.getItem(`${Wd}Config`);return Wd==="default"||Qd?!0:(ElMessage.error(`请先配置 ${Wd} 图床参数`),!1)}function Hd(zd){td("uploadImage",zd.file)}return(zd,Zd)=>{const Wd=ElOption,Qd=ElSelect,Jd=ElIcon,hf=ElUpload,bf=ElTabPane,Ef=ElInput,_f=ElFormItem,vf=ElLink,xf=ElButton,Bf=ElForm,Yf=ElSwitch,eh=ElTabs;return openBlock(),createBlock(unref(_sfc_main$p),{open:unref(rd).isShowUploadImgDialog,"onUpdate:open":Zd[31]||(Zd[31]=Vf=>unref(rd).isShowUploadImgDialog=Vf)},{default:withCtx(()=>[createVNode(unref(_sfc_main$o),{class:"max-w-max"},{default:withCtx(()=>[createVNode(unref(_sfc_main$m),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$l),null,{default:withCtx(()=>Zd[32]||(Zd[32]=[createTextVNode("本地上传")])),_:1})]),_:1}),createVNode(eh,{modelValue:Ad.value,"onUpdate:modelValue":Zd[30]||(Zd[30]=Vf=>Ad.value=Vf)},{default:withCtx(()=>[createVNode(bf,{class:"upload-panel",label:"选择上传",name:"upload"},{default:withCtx(()=>[createVNode(Qd,{modelValue:fd.value,"onUpdate:modelValue":Zd[0]||(Zd[0]=Vf=>fd.value=Vf),placeholder:"请选择",size:"small",onChange:Sd},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(pd,Vf=>createVNode(Wd,{key:Vf.value,label:Vf.label,value:Vf.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"]),createVNode(hf,{drag:"",multiple:"",action:"",headers:{"Content-Type":"multipart/form-data"},"show-file-list":!1,accept:".jpg, .jpeg, .png, .gif",name:"file","before-upload":Ud,"http-request":Hd},{default:withCtx(()=>[createVNode(Jd,{class:"el-icon--upload"},{default:withCtx(()=>[createVNode(unref(upload_filled_default))]),_:1}),Zd[33]||(Zd[33]=createBaseVNode("div",{class:"el-upload__text"},[createTextVNode(" 将图片拖到此处,或 "),createBaseVNode("em",null,"点击上传")],-1))]),_:1})]),_:1}),createVNode(bf,{class:"github-panel",label:"GitHub 图床",name:"github"},{default:withCtx(()=>[createVNode(Bf,{class:"setting-form",model:nd.value,"label-position":"right","label-width":"150px"},{default:withCtx(()=>[createVNode(_f,{label:"GitHub 仓库",required:!0},{default:withCtx(()=>[createVNode(Ef,{modelValue:nd.value.repo,"onUpdate:modelValue":Zd[1]||(Zd[1]=Vf=>nd.value.repo=Vf),modelModifiers:{trim:!0},placeholder:"如:github.com/yanglbme/resource"},null,8,["modelValue"])]),_:1}),createVNode(_f,{label:"分支"},{default:withCtx(()=>[createVNode(Ef,{modelValue:nd.value.branch,"onUpdate:modelValue":Zd[2]||(Zd[2]=Vf=>nd.value.branch=Vf),modelModifiers:{trim:!0},placeholder:"如:release,可不填,默认 master"},null,8,["modelValue"])]),_:1}),createVNode(_f,{label:"Token",required:!0},{default:withCtx(()=>[createVNode(Ef,{modelValue:nd.value.accessToken,"onUpdate:modelValue":Zd[3]||(Zd[3]=Vf=>nd.value.accessToken=Vf),modelModifiers:{trim:!0},"show-password":"",placeholder:"如:cc1d0c1426d0fd0902bd2d7184b14da61b8abc46"},null,8,["modelValue"]),createVNode(vf,{type:"primary",href:"https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token",target:"_blank"},{default:withCtx(()=>Zd[34]||(Zd[34]=[createTextVNode(" 如何获取 GitHub Token? ")])),_:1})]),_:1}),createVNode(_f,null,{default:withCtx(()=>[createVNode(xf,{type:"primary",onClick:Dd},{default:withCtx(()=>Zd[35]||(Zd[35]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),createVNode(bf,{class:"github-panel",label:"阿里云 OSS",name:"aliOSS"},{default:withCtx(()=>[createVNode(Bf,{class:"setting-form",model:ad.value,"label-position":"right","label-width":"150px"},{default:withCtx(()=>[createVNode(_f,{label:"AccessKey ID",required:!0},{default:withCtx(()=>[createVNode(Ef,{modelValue:ad.value.accessKeyId,"onUpdate:modelValue":Zd[4]||(Zd[4]=Vf=>ad.value.accessKeyId=Vf),modelModifiers:{trim:!0},placeholder:"如:LTAI4GdoocsmdoxUf13ylbaNHk"},null,8,["modelValue"])]),_:1}),createVNode(_f,{label:"AccessKey Secret",required:!0},{default:withCtx(()=>[createVNode(Ef,{modelValue:ad.value.accessKeySecret,"onUpdate:modelValue":Zd[5]||(Zd[5]=Vf=>ad.value.accessKeySecret=Vf),modelModifiers:{trim:!0},"show-password":"",placeholder:"如:cc1d0c142doocs0902bd2d7md4b14da6ylbabc46"},null,8,["modelValue"])]),_:1}),createVNode(_f,{label:"Bucket",required:!0},{default:withCtx(()=>[createVNode(Ef,{modelValue:ad.value.bucket,"onUpdate:modelValue":Zd[6]||(Zd[6]=Vf=>ad.value.bucket=Vf),modelModifiers:{trim:!0},placeholder:"如:doocs"},null,8,["modelValue"])]),_:1}),createVNode(_f,{label:"Bucket 所在区域",required:!0},{default:withCtx(()=>[createVNode(Ef,{modelValue:ad.value.region,"onUpdate:modelValue":Zd[7]||(Zd[7]=Vf=>ad.value.region=Vf),modelModifiers:{trim:!0},placeholder:"如:oss-cn-shenzhen"},null,8,["modelValue"])]),_:1}),createVNode(_f,{label:"UseSSL",required:!0},{default:withCtx(()=>[createVNode(Yf,{modelValue:ad.value.useSSL,"onUpdate:modelValue":Zd[8]||(Zd[8]=Vf=>ad.value.useSSL=Vf),"active-text":"是","inactive-text":"否"},null,8,["modelValue"])]),_:1}),createVNode(_f,{label:"自定义 CDN 域名",required:!1},{default:withCtx(()=>[createVNode(Ef,{modelValue:ad.value.cdnHost,"onUpdate:modelValue":Zd[9]||(Zd[9]=Vf=>ad.value.cdnHost=Vf),modelModifiers:{trim:!0},placeholder:"如:https://imagecdn.alidaodao.com,可不填"},null,8,["modelValue"])]),_:1}),createVNode(_f,{label:"存储路径"},{default:withCtx(()=>[createVNode(Ef,{modelValue:ad.value.path,"onUpdate:modelValue":Zd[10]||(Zd[10]=Vf=>ad.value.path=Vf),modelModifiers:{trim:!0},placeholder:"如:img,可不填,默认为根目录"},null,8,["modelValue"]),createVNode(vf,{type:"primary",href:"https://help.aliyun.com/document_detail/31883.html",target:"_blank"},{default:withCtx(()=>Zd[36]||(Zd[36]=[createTextVNode(" 如何使用阿里云 OSS? ")])),_:1})]),_:1}),createVNode(_f,null,{default:withCtx(()=>[createVNode(xf,{type:"primary",onClick:Ld},{default:withCtx(()=>Zd[37]||(Zd[37]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),createVNode(bf,{class:"github-panel",label:"腾讯云 COS",name:"txCOS"},{default:withCtx(()=>[createVNode(Bf,{class:"setting-form",model:sd.value,"label-position":"right","label-width":"150px"},{default:withCtx(()=>[createVNode(_f,{label:"SecretId",required:!0},{default:withCtx(()=>[createVNode(Ef,{modelValue:sd.value.secretId,"onUpdate:modelValue":Zd[11]||(Zd[11]=Vf=>sd.value.secretId=Vf),modelModifiers:{trim:!0},placeholder:"如:AKIDnQp1w3DOOCSs8F5MDp9tdoocsmdUPonW3"},null,8,["modelValue"])]),_:1}),createVNode(_f,{label:"SecretKey",required:!0},{default:withCtx(()=>[createVNode(Ef,{modelValue:sd.value.secretKey,"onUpdate:modelValue":Zd[12]||(Zd[12]=Vf=>sd.value.secretKey=Vf),modelModifiers:{trim:!0},"show-password":"",placeholder:"如:ukLmdtEJ9271f3DOocsMDsCXdS3YlbW0"},null,8,["modelValue"])]),_:1}),createVNode(_f,{label:"Bucket",required:!0},{default:withCtx(()=>[createVNode(Ef,{modelValue:sd.value.bucket,"onUpdate:modelValue":Zd[13]||(Zd[13]=Vf=>sd.value.bucket=Vf),modelModifiers:{trim:!0},placeholder:"如:doocs-3212520134"},null,8,["modelValue"])]),_:1}),createVNode(_f,{label:"Bucket 所在区域",required:!0},{default:withCtx(()=>[createVNode(Ef,{modelValue:sd.value.region,"onUpdate:modelValue":Zd[14]||(Zd[14]=Vf=>sd.value.region=Vf),modelModifiers:{trim:!0},placeholder:"如:ap-guangzhou"},null,8,["modelValue"])]),_:1}),createVNode(_f,{label:"自定义 CDN 域名",required:!1},{default:withCtx(()=>[createVNode(Ef,{modelValue:sd.value.cdnHost,"onUpdate:modelValue":Zd[15]||(Zd[15]=Vf=>sd.value.cdnHost=Vf),modelModifiers:{trim:!0},placeholder:"如:https://imagecdn.alidaodao.com,可不填"},null,8,["modelValue"])]),_:1}),createVNode(_f,{label:"存储路径"},{default:withCtx(()=>[createVNode(Ef,{modelValue:sd.value.path,"onUpdate:modelValue":Zd[16]||(Zd[16]=Vf=>sd.value.path=Vf),modelModifiers:{trim:!0},placeholder:"如:img,可不填,默认根目录"},null,8,["modelValue"]),createVNode(vf,{type:"primary",href:"https://cloud.tencent.com/document/product/436/38484",target:"_blank"},{default:withCtx(()=>Zd[38]||(Zd[38]=[createTextVNode(" 如何使用腾讯云 COS? ")])),_:1})]),_:1}),createVNode(_f,null,{default:withCtx(()=>[createVNode(xf,{type:"primary",onClick:Od},{default:withCtx(()=>Zd[39]||(Zd[39]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),createVNode(bf,{class:"github-panel",label:"七牛云 Kodo",name:"qiniu"},{default:withCtx(()=>[createVNode(Bf,{class:"setting-form",model:ud.value,"label-position":"right","label-width":"150px"},{default:withCtx(()=>[createVNode(_f,{label:"AccessKey",required:!0},{default:withCtx(()=>[createVNode(Ef,{modelValue:ud.value.accessKey,"onUpdate:modelValue":Zd[17]||(Zd[17]=Vf=>ud.value.accessKey=Vf),modelModifiers:{trim:!0},placeholder:"如:6DD3VaLJ_SQgOdoocsyTV_YWaDmdnL2n8EGx7kG"},null,8,["modelValue"])]),_:1}),createVNode(_f,{label:"SecretKey",required:!0},{default:withCtx(()=>[createVNode(Ef,{modelValue:ud.value.secretKey,"onUpdate:modelValue":Zd[18]||(Zd[18]=Vf=>ud.value.secretKey=Vf),modelModifiers:{trim:!0},"show-password":"",placeholder:"如:qgZa5qrvDOOcsmdKStD1oCjZ9nB7MDvJUs_34SIm"},null,8,["modelValue"])]),_:1}),createVNode(_f,{label:"Bucket",required:!0},{default:withCtx(()=>[createVNode(Ef,{modelValue:ud.value.bucket,"onUpdate:modelValue":Zd[19]||(Zd[19]=Vf=>ud.value.bucket=Vf),modelModifiers:{trim:!0},placeholder:"如:md"},null,8,["modelValue"])]),_:1}),createVNode(_f,{label:"Bucket 对应域名",required:!0},{default:withCtx(()=>[createVNode(Ef,{modelValue:ud.value.domain,"onUpdate:modelValue":Zd[20]||(Zd[20]=Vf=>ud.value.domain=Vf),modelModifiers:{trim:!0},placeholder:"如:https://images.123ylb.cn"},null,8,["modelValue"])]),_:1}),createVNode(_f,{label:"存储区域",required:!1},{default:withCtx(()=>[createVNode(Ef,{modelValue:ud.value.region,"onUpdate:modelValue":Zd[21]||(Zd[21]=Vf=>ud.value.region=Vf),modelModifiers:{trim:!0},placeholder:"如:z2,可不填"},null,8,["modelValue"])]),_:1}),createVNode(_f,{label:"存储路径",required:!1},{default:withCtx(()=>[createVNode(Ef,{modelValue:ud.value.path,"onUpdate:modelValue":Zd[22]||(Zd[22]=Vf=>ud.value.path=Vf),modelModifiers:{trim:!0},placeholder:"如:img,可不填,默认为根目录"},null,8,["modelValue"]),createVNode(vf,{type:"primary",href:"https://developer.qiniu.com/kodo",target:"_blank"},{default:withCtx(()=>Zd[40]||(Zd[40]=[createTextVNode(" 如何使用七牛云 Kodo? ")])),_:1})]),_:1}),createVNode(_f,null,{default:withCtx(()=>[createVNode(xf,{type:"primary",onClick:Md},{default:withCtx(()=>Zd[41]||(Zd[41]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),createVNode(bf,{class:"github-panel",label:"MinIO",name:"minio"},{default:withCtx(()=>[createVNode(Bf,{class:"setting-form",model:cd.value,"label-position":"right","label-width":"150px"},{default:withCtx(()=>[createVNode(_f,{label:"Endpoint",required:!0},{default:withCtx(()=>[createVNode(Ef,{modelValue:cd.value.endpoint,"onUpdate:modelValue":Zd[23]||(Zd[23]=Vf=>cd.value.endpoint=Vf),modelModifiers:{trim:!0},placeholder:"如:play.min.io"},null,8,["modelValue"])]),_:1}),createVNode(_f,{label:"Port",required:!1},{default:withCtx(()=>[createVNode(Ef,{modelValue:cd.value.port,"onUpdate:modelValue":Zd[24]||(Zd[24]=Vf=>cd.value.port=Vf),modelModifiers:{trim:!0},type:"number",placeholder:"如:9000,可不填,http 默认为 80,https 默认为 443"},null,8,["modelValue"])]),_:1}),createVNode(_f,{label:"UseSSL",required:!0},{default:withCtx(()=>[createVNode(Yf,{modelValue:cd.value.useSSL,"onUpdate:modelValue":Zd[25]||(Zd[25]=Vf=>cd.value.useSSL=Vf),"active-text":"是","inactive-text":"否"},null,8,["modelValue"])]),_:1}),createVNode(_f,{label:"Bucket",required:!0},{default:withCtx(()=>[createVNode(Ef,{modelValue:cd.value.bucket,"onUpdate:modelValue":Zd[26]||(Zd[26]=Vf=>cd.value.bucket=Vf),modelModifiers:{trim:!0},placeholder:"如:doocs"},null,8,["modelValue"])]),_:1}),createVNode(_f,{label:"AccessKey",required:!0},{default:withCtx(()=>[createVNode(Ef,{modelValue:cd.value.accessKey,"onUpdate:modelValue":Zd[27]||(Zd[27]=Vf=>cd.value.accessKey=Vf),modelModifiers:{trim:!0},placeholder:"如:zhangsan"},null,8,["modelValue"])]),_:1}),createVNode(_f,{label:"SecretKey",required:!0},{default:withCtx(()=>[createVNode(Ef,{modelValue:cd.value.secretKey,"onUpdate:modelValue":Zd[28]||(Zd[28]=Vf=>cd.value.secretKey=Vf),modelModifiers:{trim:!0},placeholder:"如:asdasdasd"},null,8,["modelValue"]),createVNode(vf,{type:"primary",href:"http://docs.minio.org.cn/docs/master/minio-client-complete-guide",target:"_blank"},{default:withCtx(()=>Zd[42]||(Zd[42]=[createTextVNode(" 如何使用 MinIO? ")])),_:1})]),_:1}),createVNode(_f,null,{default:withCtx(()=>[createVNode(xf,{type:"primary",onClick:Rd},{default:withCtx(()=>Zd[43]||(Zd[43]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),createVNode(bf,{class:"github-panel formCustom",label:"自定义代码",name:"formCustom"},{default:withCtx(()=>[createVNode(Bf,{class:"setting-form",model:dd.value,"label-position":"right"},{default:withCtx(()=>[createVNode(_f,{label:"",required:!0},{default:withCtx(()=>[createVNode(Ef,{ref_key:"formCustomElInput",ref:Td,modelValue:dd.value.code,"onUpdate:modelValue":Zd[29]||(Zd[29]=Vf=>dd.value.code=Vf),class:"formCustomElInput",type:"textarea",resize:"none",placeholder:"Your custom code here."},null,8,["modelValue"]),createVNode(vf,{type:"primary",href:"https://github.com/doocs/md#自定义上传逻辑",target:"_blank"},{default:withCtx(()=>Zd[44]||(Zd[44]=[createTextVNode(" 参数详情? ")])),_:1})]),_:1}),createVNode(_f,null,{default:withCtx(()=>[createVNode(xf,{type:"primary",onClick:jd},{default:withCtx(()=>Zd[45]||(Zd[45]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})]),_:1},8,["model"])]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["open"])}}}),UploadImgDialog=_export_sfc(_sfc_main$9,[["__scopeId","data-v-417bbd0e"]]),_hoisted_1$1={key:0,class:"loading"},_sfc_main$8=defineComponent({__name:"RunLoading",setup(Ra){const qa=ref$1(!0);return onMounted(()=>{setTimeout(()=>{qa.value=!1},100)}),(td,rd)=>(openBlock(),createBlock(Transition$1,{name:"fade"},{default:withCtx(()=>[qa.value?(openBlock(),createElementBlock("div",_hoisted_1$1,rd[0]||(rd[0]=[createBaseVNode("strong",null,"致力于让 Markdown 编辑更简单",-1)]))):createCommentVNode("",!0)]),_:1}))}}),RunLoading=_export_sfc(_sfc_main$8,[["__scopeId","data-v-740616c8"]]),_sfc_main$7=defineComponent({__name:"ContextMenu",props:{dir:{},modal:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=xe(Ra,qa);return(ad,sd)=>(openBlock(),createBlock(unref(Qv),normalizeProps(guardReactiveProps(unref(nd))),{default:withCtx(()=>[renderSlot(ad.$slots,"default")]),_:3},16))}}),_sfc_main$6=defineComponent({__name:"ContextMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},sticky:{},hideWhenDetached:{type:Boolean},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(Ra,{emit:qa}){const td=Ra,rd=qa,nd=computed(()=>{const{class:sd,...ud}=td;return ud}),ad=xe(nd,rd);return(sd,ud)=>(openBlock(),createBlock(unref(tm),null,{default:withCtx(()=>[createVNode(unref(am),mergeProps(unref(ad),{class:unref(cn)("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md animate-in fade-in-80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",td.class)}),{default:withCtx(()=>[renderSlot(sd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$5=defineComponent({__name:"ContextMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},emits:["select"],setup(Ra,{emit:qa}){const td=Ra,rd=qa,nd=computed(()=>{const{class:sd,...ud}=td;return ud}),ad=xe(nd,rd);return(sd,ud)=>(openBlock(),createBlock(unref(om),mergeProps(unref(ad),{class:unref(cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",sd.inset&&"pl-8",td.class)}),{default:withCtx(()=>[renderSlot(sd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$4=defineComponent({__name:"ContextMenuSeparator",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,td=computed(()=>{const{class:rd,...nd}=qa;return nd});return(rd,nd)=>(openBlock(),createBlock(unref(sm),mergeProps(td.value,{class:unref(cn)("-mx-1 my-1 h-px bg-border",qa.class)}),null,16,["class"]))}}),_sfc_main$3=defineComponent({__name:"ContextMenuShortcut",props:{class:{}},setup(Ra){const qa=Ra;return(td,rd)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(cn)("ml-auto text-xs tracking-widest text-muted-foreground",qa.class))},[renderSlot(td.$slots,"default")],2))}}),_sfc_main$2=defineComponent({__name:"ContextMenuTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const td=It(Ra);return(rd,nd)=>(openBlock(),createBlock(unref(em),normalizeProps(guardReactiveProps(unref(td))),{default:withCtx(()=>[renderSlot(rd.$slots,"default")]),_:3},16))}});var toString$1=Object.prototype.toString,isModern=typeof Buffer$2<"u"&&typeof Buffer$2.alloc=="function"&&typeof Buffer$2.allocUnsafe=="function"&&typeof Buffer$2.from=="function";function isArrayBuffer$1(Ra){return toString$1.call(Ra).slice(8,-1)==="ArrayBuffer"}function fromArrayBuffer(Ra,qa,td){qa>>>=0;var rd=Ra.byteLength-qa;if(rd<0)throw new RangeError("'offset' is out of bounds");if(td===void 0)td=rd;else if(td>>>=0,td>rd)throw new RangeError("'length' is out of bounds");return isModern?Buffer$2.from(Ra.slice(qa,qa+td)):new Buffer$2(new Uint8Array(Ra.slice(qa,qa+td)))}function fromString(Ra,qa){if((typeof qa!="string"||qa==="")&&(qa="utf8"),!Buffer$2.isEncoding(qa))throw new TypeError('"encoding" must be a valid string encoding');return isModern?Buffer$2.from(Ra,qa):new Buffer$2(Ra,qa)}function bufferFrom(Ra,qa,td){if(typeof Ra=="number")throw new TypeError('"value" argument must not be a number');return isArrayBuffer$1(Ra)?fromArrayBuffer(Ra,qa,td):typeof Ra=="string"?fromString(Ra,qa):isModern?Buffer$2.from(Ra):new Buffer$2(Ra)}var bufferFrom_1=bufferFrom;const Buffer$1=getDefaultExportFromCjs(bufferFrom_1);var cosJsSdkV5={exports:{}};(function(Ra,qa){(function(rd,nd){Ra.exports=nd()})(commonjsGlobal,function(){return function(td){var rd={};function nd(ad){if(rd[ad])return rd[ad].exports;var sd=rd[ad]={i:ad,l:!1,exports:{}};return td[ad].call(sd.exports,sd,sd.exports,nd),sd.l=!0,sd.exports}return nd.m=td,nd.c=rd,nd.d=function(ad,sd,ud){nd.o(ad,sd)||Object.defineProperty(ad,sd,{enumerable:!0,get:ud})},nd.r=function(ad){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(ad,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(ad,"__esModule",{value:!0})},nd.t=function(ad,sd){if(sd&1&&(ad=nd(ad)),sd&8||sd&4&&typeof ad=="object"&&ad&&ad.__esModule)return ad;var ud=Object.create(null);if(nd.r(ud),Object.defineProperty(ud,"default",{enumerable:!0,value:ad}),sd&2&&typeof ad!="string")for(var cd in ad)nd.d(ud,cd,(function(dd){return ad[dd]}).bind(null,cd));return ud},nd.n=function(ad){var sd=ad&&ad.__esModule?function(){return ad.default}:function(){return ad};return nd.d(sd,"a",sd),sd},nd.o=function(ad,sd){return Object.prototype.hasOwnProperty.call(ad,sd)},nd.p="/dist/",nd(nd.s="./index.js")}({"./index.js":function(td,rd,nd){var ad=nd("./src/cos.js");td.exports=ad},"./lib/base64.js":function(td,rd){var nd=function(ad){ad=ad||{};var sd=ad.Base64,ud="2.1.9",cd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",dd=function(hf){for(var bf={},Ef=0,_f=hf.length;Ef<_f;Ef++)bf[hf.charAt(Ef)]=Ef;return bf}(cd),pd=String.fromCharCode,fd=function(bf){if(bf.length<2){var Ef=bf.charCodeAt(0);return Ef<128?bf:Ef<2048?pd(192|Ef>>>6)+pd(128|Ef&63):pd(224|Ef>>>12&15)+pd(128|Ef>>>6&63)+pd(128|Ef&63)}else{var Ef=65536+(bf.charCodeAt(0)-55296)*1024+(bf.charCodeAt(1)-56320);return pd(240|Ef>>>18&7)+pd(128|Ef>>>12&63)+pd(128|Ef>>>6&63)+pd(128|Ef&63)}},Td=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Ad=function(bf){return bf.replace(Td,fd)},Sd=function(bf){var Ef=[0,2,1][bf.length%3],_f=bf.charCodeAt(0)<<16|(bf.length>1?bf.charCodeAt(1):0)<<8|(bf.length>2?bf.charCodeAt(2):0),vf=[cd.charAt(_f>>>18),cd.charAt(_f>>>12&63),Ef>=2?"=":cd.charAt(_f>>>6&63),Ef>=1?"=":cd.charAt(_f&63)];return vf.join("")},Dd=ad.btoa?function(hf){return ad.btoa(hf)}:function(hf){return hf.replace(/[\s\S]{1,3}/g,Sd)},Ld=function(hf){return Dd(Ad(hf))},Rd=function(bf,Ef){return Ef?Ld(String(bf)).replace(/[+\/]/g,function(_f){return _f=="+"?"-":"_"}).replace(/=/g,""):Ld(String(bf))},Od=function(bf){return Rd(bf,!0)},Md=new RegExp(["[À-ß][€-¿]","[à-ï][€-¿]{2}","[ð-÷][€-¿]{3}"].join("|"),"g"),jd=function(bf){switch(bf.length){case 4:var Ef=(7&bf.charCodeAt(0))<<18|(63&bf.charCodeAt(1))<<12|(63&bf.charCodeAt(2))<<6|63&bf.charCodeAt(3),_f=Ef-65536;return pd((_f>>>10)+55296)+pd((_f&1023)+56320);case 3:return pd((15&bf.charCodeAt(0))<<12|(63&bf.charCodeAt(1))<<6|63&bf.charCodeAt(2));default:return pd((31&bf.charCodeAt(0))<<6|63&bf.charCodeAt(1))}},Ud=function(bf){return bf.replace(Md,jd)},Hd=function(bf){var Ef=bf.length,_f=Ef%4,vf=(Ef>0?dd[bf.charAt(0)]<<18:0)|(Ef>1?dd[bf.charAt(1)]<<12:0)|(Ef>2?dd[bf.charAt(2)]<<6:0)|(Ef>3?dd[bf.charAt(3)]:0),xf=[pd(vf>>>16),pd(vf>>>8&255),pd(vf&255)];return xf.length-=[0,0,2,1][_f],xf.join("")},zd=ad.atob?function(hf){return ad.atob(hf)}:function(hf){return hf.replace(/[\s\S]{1,4}/g,Hd)},Zd=function(hf){return Ud(zd(hf))},Wd=function(bf){return Zd(String(bf).replace(/[-_]/g,function(Ef){return Ef=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,""))},Qd=function(){var bf=ad.Base64;return ad.Base64=sd,bf},Jd={VERSION:ud,atob:zd,btoa:Dd,fromBase64:Wd,toBase64:Rd,utob:Ad,encode:Rd,encodeURI:Od,btou:Ud,decode:Wd,noConflict:Qd};return Jd}();td.exports=nd},"./lib/crypto.js":function(td,rd,nd){(function(ad){var sd=nd("./node_modules/@babel/runtime/helpers/typeof.js"),ud=ud||function(cd,dd){var pd={},fd=pd.lib={},Td=function(){},Ad=fd.Base={extend:function(Hd){Td.prototype=this;var zd=new Td;return Hd&&zd.mixIn(Hd),zd.hasOwnProperty("init")||(zd.init=function(){zd.$super.init.apply(this,arguments)}),zd.init.prototype=zd,zd.$super=this,zd},create:function(){var Hd=this.extend();return Hd.init.apply(Hd,arguments),Hd},init:function(){},mixIn:function(Hd){for(var zd in Hd)Hd.hasOwnProperty(zd)&&(this[zd]=Hd[zd]);Hd.hasOwnProperty("toString")&&(this.toString=Hd.toString)},clone:function(){return this.init.prototype.extend(this)}},Sd=fd.WordArray=Ad.extend({init:function(Hd,zd){Hd=this.words=Hd||[],this.sigBytes=zd!=dd?zd:4*Hd.length},toString:function(Hd){return(Hd||Ld).stringify(this)},concat:function(Hd){var zd=this.words,Zd=Hd.words,Wd=this.sigBytes;if(Hd=Hd.sigBytes,this.clamp(),Wd%4)for(var Qd=0;Qd>>2]|=(Zd[Qd>>>2]>>>24-8*(Qd%4)&255)<<24-8*((Wd+Qd)%4);else if(65535>>2]=Zd[Qd>>>2];else zd.push.apply(zd,Zd);return this.sigBytes+=Hd,this},clamp:function(){var Hd=this.words,zd=this.sigBytes;Hd[zd>>>2]&=4294967295<<32-8*(zd%4),Hd.length=cd.ceil(zd/4)},clone:function(){var Hd=Ad.clone.call(this);return Hd.words=this.words.slice(0),Hd},random:function(Hd){for(var zd=[],Zd=0;Zd>>2]>>>24-8*(Wd%4)&255;Zd.push((Qd>>>4).toString(16)),Zd.push((Qd&15).toString(16))}return Zd.join("")},parse:function(Hd){for(var zd=Hd.length,Zd=[],Wd=0;Wd>>3]|=parseInt(Hd.substr(Wd,2),16)<<24-4*(Wd%8);return new Sd.init(Zd,zd/2)}},Rd=Dd.Latin1={stringify:function(Hd){var zd=Hd.words;Hd=Hd.sigBytes;for(var Zd=[],Wd=0;Wd>>2]>>>24-8*(Wd%4)&255));return Zd.join("")},parse:function(Hd){for(var zd=Hd.length,Zd=[],Wd=0;Wd>>2]|=(Hd.charCodeAt(Wd)&255)<<24-8*(Wd%4);return new Sd.init(Zd,zd)}},Od=Dd.Utf8={stringify:function(Hd){try{return decodeURIComponent(escape(Rd.stringify(Hd)))}catch{throw Error("Malformed UTF-8 data")}},parse:function(Hd){return Rd.parse(unescape(encodeURIComponent(Hd)))}},Md=fd.BufferedBlockAlgorithm=Ad.extend({reset:function(){this._data=new Sd.init,this._nDataBytes=0},_append:function(Hd){typeof Hd=="string"&&(Hd=Od.parse(Hd)),this._data.concat(Hd),this._nDataBytes+=Hd.sigBytes},_process:function(Hd){var zd=this._data,Zd=zd.words,Wd=zd.sigBytes,Qd=this.blockSize,Jd=Wd/(4*Qd),Jd=Hd?cd.ceil(Jd):cd.max((Jd|0)-this._minBufferSize,0);if(Hd=Jd*Qd,Wd=cd.min(4*Hd,Wd),Hd){for(var hf=0;hfHd;Hd++){if(16>Hd)fd[Hd]=Sd[Dd+Hd]|0;else{var zd=fd[Hd-3]^fd[Hd-8]^fd[Hd-14]^fd[Hd-16];fd[Hd]=zd<<1|zd>>>31}zd=(Rd<<5|Rd>>>27)+Ud+fd[Hd],zd=20>Hd?zd+((Od&Md|~Od&jd)+1518500249):40>Hd?zd+((Od^Md^jd)+1859775393):60>Hd?zd+((Od&Md|Od&jd|Md&jd)-1894007588):zd+((Od^Md^jd)-899497514),Ud=jd,jd=Md,Md=Od<<30|Od>>>2,Od=Rd,Rd=zd}Ld[0]=Ld[0]+Rd|0,Ld[1]=Ld[1]+Od|0,Ld[2]=Ld[2]+Md|0,Ld[3]=Ld[3]+jd|0,Ld[4]=Ld[4]+Ud|0},_doFinalize:function(){var Sd=this._data,Dd=Sd.words,Ld=8*this._nDataBytes,Rd=8*Sd.sigBytes;return Dd[Rd>>>5]|=128<<24-Rd%32,Dd[(Rd+64>>>9<<4)+14]=Math.floor(Ld/4294967296),Dd[(Rd+64>>>9<<4)+15]=Ld,Sd.sigBytes=4*Dd.length,this._process(),this._hash},clone:function(){var Sd=pd.clone.call(this);return Sd._hash=this._hash.clone(),Sd}});cd.SHA1=pd._createHelper(Td),cd.HmacSHA1=pd._createHmacHelper(Td)})(),function(){var cd=ud,dd=cd.enc.Utf8;cd.algo.HMAC=cd.lib.Base.extend({init:function(fd,Td){fd=this._hasher=new fd.init,typeof Td=="string"&&(Td=dd.parse(Td));var Ad=fd.blockSize,Sd=4*Ad;Td.sigBytes>Sd&&(Td=fd.finalize(Td)),Td.clamp();for(var Dd=this._oKey=Td.clone(),Ld=this._iKey=Td.clone(),Rd=Dd.words,Od=Ld.words,Md=0;Md>>2]>>>24-Od%4*8&255,jd=Sd[Od+1>>>2]>>>24-(Od+1)%4*8&255,Ud=Sd[Od+2>>>2]>>>24-(Od+2)%4*8&255,Hd=Md<<16|jd<<8|Ud,zd=0;zd<4&&Od+zd*.75>>6*(3-zd)&63));var Zd=Ld.charAt(64);if(Zd)for(;Rd.length%4;)Rd.push(Zd);return Rd.join("")},parse:function(Ad){var Sd=Ad.length,Dd=this._map,Ld=Dd.charAt(64);if(Ld){var Rd=Ad.indexOf(Ld);Rd!=-1&&(Sd=Rd)}for(var Od=[],Md=0,jd=0;jd>>6-jd%4*2;Od[Md>>>2]|=(Ud|Hd)<<24-Md%4*8,Md++}return pd.create(Od,Md)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),sd(ad)==="object"?ad.exports=ud:window.CryptoJS=ud}).call(this,nd("./node_modules/webpack/buildin/module.js")(td))},"./lib/md5.js":function(td,rd,nd){(function(ad){var sd,ud=nd("./node_modules/@babel/runtime/helpers/typeof.js");(function(){var cd=(typeof window>"u"?"undefined":ud(window))==="object",dd=cd?window:{};dd.JS_MD5_NO_WINDOW&&(cd=!1);var pd=!cd&&(typeof self>"u"?"undefined":ud(self))==="object";pd&&(dd=self);var fd=!dd.JS_MD5_NO_COMMON_JS&&ud(ad)==="object"&&ad.exports,Td=nd("./node_modules/webpack/buildin/amd-options.js"),Ad=!dd.JS_MD5_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",Sd="0123456789abcdef".split(""),Dd=[128,32768,8388608,-2147483648],Ld=[0,8,16,24],Rd=["hex","array","digest","buffer","arrayBuffer","base64"],Od="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),Md=[],jd;if(Ad){var Ud=new ArrayBuffer(68);jd=new Uint8Array(Ud),Md=new Uint32Array(Ud)}(dd.JS_MD5_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(Qd){return Object.prototype.toString.call(Qd)==="[object Array]"}),Ad&&(dd.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(Qd){return ud(Qd)==="object"&&Qd.buffer&&Qd.buffer.constructor===ArrayBuffer});var Hd=function(Jd){return function(hf,bf){return new Zd(!0).update(hf,bf)[Jd]()}},zd=function(){var Jd=Hd("hex");Jd.getCtx=Jd.create=function(){return new Zd},Jd.update=function(Ef){return Jd.create().update(Ef)};for(var hf=0;hf>6,xf[Ef++]=128|hf&63):hf<55296||hf>=57344?(xf[Ef++]=224|hf>>12,xf[Ef++]=128|hf>>6&63,xf[Ef++]=128|hf&63):(hf=65536+((hf&1023)<<10|Qd.charCodeAt(++bf)&1023),xf[Ef++]=240|hf>>18,xf[Ef++]=128|hf>>12&63,xf[Ef++]=128|hf>>6&63,xf[Ef++]=128|hf&63);else for(Ef=this.start;bf<_f&&Ef<64;++bf)hf=Qd.charCodeAt(bf),Jd||hf<128?vf[Ef>>2]|=hf<>2]|=(192|hf>>6)<>2]|=(128|hf&63)<=57344?(vf[Ef>>2]|=(224|hf>>12)<>2]|=(128|hf>>6&63)<>2]|=(128|hf&63)<>2]|=(240|hf>>18)<>2]|=(128|hf>>12&63)<>2]|=(128|hf>>6&63)<>2]|=(128|hf&63)<=64?(this.start=Ef-64,this.hash(),this.hashed=!0):this.start=Ef}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Zd.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var Qd=this.blocks,Jd=this.lastByteIndex;Qd[Jd>>2]|=Dd[Jd&3],Jd>=56&&(this.hashed||this.hash(),Qd[0]=Qd[16],Qd[16]=Qd[1]=Qd[2]=Qd[3]=Qd[4]=Qd[5]=Qd[6]=Qd[7]=Qd[8]=Qd[9]=Qd[10]=Qd[11]=Qd[12]=Qd[13]=Qd[14]=Qd[15]=0),Qd[14]=this.bytes<<3,Qd[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},Zd.prototype.hash=function(){var Qd,Jd,hf,bf,Ef,_f,vf=this.blocks;this.first?(Qd=vf[0]-680876937,Qd=(Qd<<7|Qd>>>25)-271733879<<0,bf=(-1732584194^Qd&2004318071)+vf[1]-117830708,bf=(bf<<12|bf>>>20)+Qd<<0,hf=(-271733879^bf&(Qd^-271733879))+vf[2]-1126478375,hf=(hf<<17|hf>>>15)+bf<<0,Jd=(Qd^hf&(bf^Qd))+vf[3]-1316259209,Jd=(Jd<<22|Jd>>>10)+hf<<0):(Qd=this.h0,Jd=this.h1,hf=this.h2,bf=this.h3,Qd+=(bf^Jd&(hf^bf))+vf[0]-680876936,Qd=(Qd<<7|Qd>>>25)+Jd<<0,bf+=(hf^Qd&(Jd^hf))+vf[1]-389564586,bf=(bf<<12|bf>>>20)+Qd<<0,hf+=(Jd^bf&(Qd^Jd))+vf[2]+606105819,hf=(hf<<17|hf>>>15)+bf<<0,Jd+=(Qd^hf&(bf^Qd))+vf[3]-1044525330,Jd=(Jd<<22|Jd>>>10)+hf<<0),Qd+=(bf^Jd&(hf^bf))+vf[4]-176418897,Qd=(Qd<<7|Qd>>>25)+Jd<<0,bf+=(hf^Qd&(Jd^hf))+vf[5]+1200080426,bf=(bf<<12|bf>>>20)+Qd<<0,hf+=(Jd^bf&(Qd^Jd))+vf[6]-1473231341,hf=(hf<<17|hf>>>15)+bf<<0,Jd+=(Qd^hf&(bf^Qd))+vf[7]-45705983,Jd=(Jd<<22|Jd>>>10)+hf<<0,Qd+=(bf^Jd&(hf^bf))+vf[8]+1770035416,Qd=(Qd<<7|Qd>>>25)+Jd<<0,bf+=(hf^Qd&(Jd^hf))+vf[9]-1958414417,bf=(bf<<12|bf>>>20)+Qd<<0,hf+=(Jd^bf&(Qd^Jd))+vf[10]-42063,hf=(hf<<17|hf>>>15)+bf<<0,Jd+=(Qd^hf&(bf^Qd))+vf[11]-1990404162,Jd=(Jd<<22|Jd>>>10)+hf<<0,Qd+=(bf^Jd&(hf^bf))+vf[12]+1804603682,Qd=(Qd<<7|Qd>>>25)+Jd<<0,bf+=(hf^Qd&(Jd^hf))+vf[13]-40341101,bf=(bf<<12|bf>>>20)+Qd<<0,hf+=(Jd^bf&(Qd^Jd))+vf[14]-1502002290,hf=(hf<<17|hf>>>15)+bf<<0,Jd+=(Qd^hf&(bf^Qd))+vf[15]+1236535329,Jd=(Jd<<22|Jd>>>10)+hf<<0,Qd+=(hf^bf&(Jd^hf))+vf[1]-165796510,Qd=(Qd<<5|Qd>>>27)+Jd<<0,bf+=(Jd^hf&(Qd^Jd))+vf[6]-1069501632,bf=(bf<<9|bf>>>23)+Qd<<0,hf+=(Qd^Jd&(bf^Qd))+vf[11]+643717713,hf=(hf<<14|hf>>>18)+bf<<0,Jd+=(bf^Qd&(hf^bf))+vf[0]-373897302,Jd=(Jd<<20|Jd>>>12)+hf<<0,Qd+=(hf^bf&(Jd^hf))+vf[5]-701558691,Qd=(Qd<<5|Qd>>>27)+Jd<<0,bf+=(Jd^hf&(Qd^Jd))+vf[10]+38016083,bf=(bf<<9|bf>>>23)+Qd<<0,hf+=(Qd^Jd&(bf^Qd))+vf[15]-660478335,hf=(hf<<14|hf>>>18)+bf<<0,Jd+=(bf^Qd&(hf^bf))+vf[4]-405537848,Jd=(Jd<<20|Jd>>>12)+hf<<0,Qd+=(hf^bf&(Jd^hf))+vf[9]+568446438,Qd=(Qd<<5|Qd>>>27)+Jd<<0,bf+=(Jd^hf&(Qd^Jd))+vf[14]-1019803690,bf=(bf<<9|bf>>>23)+Qd<<0,hf+=(Qd^Jd&(bf^Qd))+vf[3]-187363961,hf=(hf<<14|hf>>>18)+bf<<0,Jd+=(bf^Qd&(hf^bf))+vf[8]+1163531501,Jd=(Jd<<20|Jd>>>12)+hf<<0,Qd+=(hf^bf&(Jd^hf))+vf[13]-1444681467,Qd=(Qd<<5|Qd>>>27)+Jd<<0,bf+=(Jd^hf&(Qd^Jd))+vf[2]-51403784,bf=(bf<<9|bf>>>23)+Qd<<0,hf+=(Qd^Jd&(bf^Qd))+vf[7]+1735328473,hf=(hf<<14|hf>>>18)+bf<<0,Jd+=(bf^Qd&(hf^bf))+vf[12]-1926607734,Jd=(Jd<<20|Jd>>>12)+hf<<0,Ef=Jd^hf,Qd+=(Ef^bf)+vf[5]-378558,Qd=(Qd<<4|Qd>>>28)+Jd<<0,bf+=(Ef^Qd)+vf[8]-2022574463,bf=(bf<<11|bf>>>21)+Qd<<0,_f=bf^Qd,hf+=(_f^Jd)+vf[11]+1839030562,hf=(hf<<16|hf>>>16)+bf<<0,Jd+=(_f^hf)+vf[14]-35309556,Jd=(Jd<<23|Jd>>>9)+hf<<0,Ef=Jd^hf,Qd+=(Ef^bf)+vf[1]-1530992060,Qd=(Qd<<4|Qd>>>28)+Jd<<0,bf+=(Ef^Qd)+vf[4]+1272893353,bf=(bf<<11|bf>>>21)+Qd<<0,_f=bf^Qd,hf+=(_f^Jd)+vf[7]-155497632,hf=(hf<<16|hf>>>16)+bf<<0,Jd+=(_f^hf)+vf[10]-1094730640,Jd=(Jd<<23|Jd>>>9)+hf<<0,Ef=Jd^hf,Qd+=(Ef^bf)+vf[13]+681279174,Qd=(Qd<<4|Qd>>>28)+Jd<<0,bf+=(Ef^Qd)+vf[0]-358537222,bf=(bf<<11|bf>>>21)+Qd<<0,_f=bf^Qd,hf+=(_f^Jd)+vf[3]-722521979,hf=(hf<<16|hf>>>16)+bf<<0,Jd+=(_f^hf)+vf[6]+76029189,Jd=(Jd<<23|Jd>>>9)+hf<<0,Ef=Jd^hf,Qd+=(Ef^bf)+vf[9]-640364487,Qd=(Qd<<4|Qd>>>28)+Jd<<0,bf+=(Ef^Qd)+vf[12]-421815835,bf=(bf<<11|bf>>>21)+Qd<<0,_f=bf^Qd,hf+=(_f^Jd)+vf[15]+530742520,hf=(hf<<16|hf>>>16)+bf<<0,Jd+=(_f^hf)+vf[2]-995338651,Jd=(Jd<<23|Jd>>>9)+hf<<0,Qd+=(hf^(Jd|~bf))+vf[0]-198630844,Qd=(Qd<<6|Qd>>>26)+Jd<<0,bf+=(Jd^(Qd|~hf))+vf[7]+1126891415,bf=(bf<<10|bf>>>22)+Qd<<0,hf+=(Qd^(bf|~Jd))+vf[14]-1416354905,hf=(hf<<15|hf>>>17)+bf<<0,Jd+=(bf^(hf|~Qd))+vf[5]-57434055,Jd=(Jd<<21|Jd>>>11)+hf<<0,Qd+=(hf^(Jd|~bf))+vf[12]+1700485571,Qd=(Qd<<6|Qd>>>26)+Jd<<0,bf+=(Jd^(Qd|~hf))+vf[3]-1894986606,bf=(bf<<10|bf>>>22)+Qd<<0,hf+=(Qd^(bf|~Jd))+vf[10]-1051523,hf=(hf<<15|hf>>>17)+bf<<0,Jd+=(bf^(hf|~Qd))+vf[1]-2054922799,Jd=(Jd<<21|Jd>>>11)+hf<<0,Qd+=(hf^(Jd|~bf))+vf[8]+1873313359,Qd=(Qd<<6|Qd>>>26)+Jd<<0,bf+=(Jd^(Qd|~hf))+vf[15]-30611744,bf=(bf<<10|bf>>>22)+Qd<<0,hf+=(Qd^(bf|~Jd))+vf[6]-1560198380,hf=(hf<<15|hf>>>17)+bf<<0,Jd+=(bf^(hf|~Qd))+vf[13]+1309151649,Jd=(Jd<<21|Jd>>>11)+hf<<0,Qd+=(hf^(Jd|~bf))+vf[4]-145523070,Qd=(Qd<<6|Qd>>>26)+Jd<<0,bf+=(Jd^(Qd|~hf))+vf[11]-1120210379,bf=(bf<<10|bf>>>22)+Qd<<0,hf+=(Qd^(bf|~Jd))+vf[2]+718787259,hf=(hf<<15|hf>>>17)+bf<<0,Jd+=(bf^(hf|~Qd))+vf[9]-343485551,Jd=(Jd<<21|Jd>>>11)+hf<<0,this.first?(this.h0=Qd+1732584193<<0,this.h1=Jd-271733879<<0,this.h2=hf-1732584194<<0,this.h3=bf+271733878<<0,this.first=!1):(this.h0=this.h0+Qd<<0,this.h1=this.h1+Jd<<0,this.h2=this.h2+hf<<0,this.h3=this.h3+bf<<0)},Zd.prototype.hex=function(){this.finalize();var Qd=this.h0,Jd=this.h1,hf=this.h2,bf=this.h3;return Sd[Qd>>4&15]+Sd[Qd&15]+Sd[Qd>>12&15]+Sd[Qd>>8&15]+Sd[Qd>>20&15]+Sd[Qd>>16&15]+Sd[Qd>>28&15]+Sd[Qd>>24&15]+Sd[Jd>>4&15]+Sd[Jd&15]+Sd[Jd>>12&15]+Sd[Jd>>8&15]+Sd[Jd>>20&15]+Sd[Jd>>16&15]+Sd[Jd>>28&15]+Sd[Jd>>24&15]+Sd[hf>>4&15]+Sd[hf&15]+Sd[hf>>12&15]+Sd[hf>>8&15]+Sd[hf>>20&15]+Sd[hf>>16&15]+Sd[hf>>28&15]+Sd[hf>>24&15]+Sd[bf>>4&15]+Sd[bf&15]+Sd[bf>>12&15]+Sd[bf>>8&15]+Sd[bf>>20&15]+Sd[bf>>16&15]+Sd[bf>>28&15]+Sd[bf>>24&15]},Zd.prototype.toString=Zd.prototype.hex,Zd.prototype.digest=function(Qd){if(Qd==="hex")return this.hex();this.finalize();var Jd=this.h0,hf=this.h1,bf=this.h2,Ef=this.h3,_f=[Jd&255,Jd>>8&255,Jd>>16&255,Jd>>24&255,hf&255,hf>>8&255,hf>>16&255,hf>>24&255,bf&255,bf>>8&255,bf>>16&255,bf>>24&255,Ef&255,Ef>>8&255,Ef>>16&255,Ef>>24&255];return _f},Zd.prototype.array=Zd.prototype.digest,Zd.prototype.arrayBuffer=function(){this.finalize();var Qd=new ArrayBuffer(16),Jd=new Uint32Array(Qd);return Jd[0]=this.h0,Jd[1]=this.h1,Jd[2]=this.h2,Jd[3]=this.h3,Qd},Zd.prototype.buffer=Zd.prototype.arrayBuffer,Zd.prototype.base64=function(){for(var Qd,Jd,hf,bf="",Ef=this.array(),_f=0;_f<15;)Qd=Ef[_f++],Jd=Ef[_f++],hf=Ef[_f++],bf+=Od[Qd>>>2]+Od[(Qd<<4|Jd>>>4)&63]+Od[(Jd<<2|hf>>>6)&63]+Od[hf&63];return Qd=Ef[_f],bf+=Od[Qd>>>2]+Od[Qd<<4&63]+"==",bf};var Wd=zd();fd?ad.exports=Wd:(dd.md5=Wd,Td&&(sd=(function(){return Wd}).call(Wd,nd,Wd,ad),sd!==void 0&&(ad.exports=sd)))})()}).call(this,nd("./node_modules/webpack/buildin/module.js")(td))},"./lib/request.js":function(td,rd,nd){var ad=nd("./node_modules/@babel/runtime/helpers/typeof.js"),sd=function(Td){switch(ad(Td)){case"string":return Td;case"boolean":return Td?"true":"false";case"number":return isFinite(Td)?Td:"";default:return""}},ud=function(Td,Ad,Sd,Dd){return Ad=Ad||"&",Sd=Sd||"=",Td===null&&(Td=void 0),ad(Td)==="object"?Object.keys(Td).map(function(Ld){var Rd=encodeURIComponent(sd(Ld))+Sd;return Array.isArray(Td[Ld])?Td[Ld].map(function(Od){return Rd+encodeURIComponent(sd(Od))}).join(Ad):Rd+encodeURIComponent(sd(Td[Ld]))}).filter(Boolean).join(Ad):""},cd=function(Td,Ad,Sd){var Dd={},Ld=Ad.getAllResponseHeaders();return Ld&&Ld.length>0&&Ld.trim().split(` +`).forEach(function(Rd){if(Rd){var Od=Rd.indexOf(":"),Md=Rd.substr(0,Od).trim().toLowerCase(),jd=Rd.substr(Od+1).trim();Dd[Md]=jd}}),{error:Td,statusCode:Ad.status,statusMessage:Ad.statusText,headers:Dd,body:Sd}},dd=function(Td,Ad){return!Ad&&Ad==="text"?Td.responseText:Td.response},pd=function(Td,Ad){var Sd=(Td.method||"GET").toUpperCase(),Dd=Td.url;if(Td.qs){var Ld=ud(Td.qs);Ld&&(Dd+=(Dd.indexOf("?")===-1?"?":"&")+Ld)}var Rd=new XMLHttpRequest;if(Rd.open(Sd,Dd,!0),Rd.responseType=Td.dataType||"text",Td.xhrFields)for(var Od in Td.xhrFields)Rd[Od]=Td.xhrFields[Od];var Md=Td.headers;if(Md)for(var jd in Md)Md.hasOwnProperty(jd)&&jd.toLowerCase()!=="content-length"&&jd.toLowerCase()!=="user-agent"&&jd.toLowerCase()!=="origin"&&jd.toLowerCase()!=="host"&&Rd.setRequestHeader(jd,Md[jd]);return Td.onProgress&&Rd.upload&&(Rd.upload.onprogress=Td.onProgress),Td.onDownloadProgress&&(Rd.onprogress=Td.onDownloadProgress),Td.timeout&&(Rd.timeout=Td.timeout),Rd.ontimeout=function(Ud){var Hd=new Error("timeout");Ad(cd(Hd,Rd))},Rd.onload=function(){Ad(cd(null,Rd,dd(Rd,Td.dataType)))},Rd.onerror=function(Ud){var Hd=dd(Rd,Td.dataType);if(Hd)Ad(cd(null,Rd,Hd));else{var zd=Rd.statusText;!zd&&Rd.status===0&&(zd=new Error("CORS blocked or network error")),Ad(cd(zd,Rd,Hd))}},Rd.send(Td.body||""),Rd};td.exports=pd},"./node_modules/@babel/runtime/helpers/classCallCheck.js":function(td,rd){function nd(ad,sd){if(!(ad instanceof sd))throw new TypeError("Cannot call a class as a function")}td.exports=nd,td.exports.__esModule=!0,td.exports.default=td.exports},"./node_modules/@babel/runtime/helpers/createClass.js":function(td,rd,nd){var ad=nd("./node_modules/@babel/runtime/helpers/toPropertyKey.js");function sd(cd,dd){for(var pd=0;pd"u")};rd.isExist=function(fd){return typeof fd<"u"},rd.isEmptyObject=function(fd){return Object.keys(fd).length===0},rd.merge=function(fd,Td,Ad){if(Td){const Sd=Object.keys(Td),Dd=Sd.length;for(let Ld=0;Ld"&&Hd[Jd]!==" "&&Hd[Jd]!==" "&&Hd[Jd]!==` +`&&Hd[Jd]!=="\r";Jd++)Ef+=Hd[Jd];if(Ef=Ef.trim(),Ef[Ef.length-1]==="/"&&(Ef=Ef.substring(0,Ef.length-1),Jd--),!Md(Ef)){let xf;return Ef.trim().length===0?xf="Invalid space after '<'.":xf="Tag '"+Ef+"' is an invalid name.",Rd("InvalidTag",xf,jd(Hd,Jd))}const _f=Td(Hd,Jd);if(_f===!1)return Rd("InvalidAttr","Attributes for '"+Ef+"' have open quote.",jd(Hd,Jd));let vf=_f.value;if(Jd=_f.index,vf[vf.length-1]==="/"){const xf=Jd-vf.length;vf=vf.substring(0,vf.length-1);const Bf=Sd(vf,zd);if(Bf===!0)Wd=!0;else return Rd(Bf.err.code,Bf.err.msg,jd(Hd,xf+Bf.err.line))}else if(bf)if(_f.tagClosed){if(vf.trim().length>0)return Rd("InvalidTag","Closing tag '"+Ef+"' can't have attributes or invalid starting.",jd(Hd,hf));if(Zd.length===0)return Rd("InvalidTag","Closing tag '"+Ef+"' has not been opened.",jd(Hd,hf));{const xf=Zd.pop();if(Ef!==xf.tagName){let Bf=jd(Hd,xf.tagStartPos);return Rd("InvalidTag","Expected closing tag '"+xf.tagName+"' (opened in line "+Bf.line+", col "+Bf.col+") instead of closing tag '"+Ef+"'.",jd(Hd,hf))}Zd.length==0&&(Qd=!0)}}else return Rd("InvalidTag","Closing tag '"+Ef+"' doesn't have proper closing.",jd(Hd,Jd));else{const xf=Sd(vf,zd);if(xf!==!0)return Rd(xf.err.code,xf.err.msg,jd(Hd,Jd-vf.length+xf.err.line));if(Qd===!0)return Rd("InvalidXml","Multiple possible root nodes found.",jd(Hd,Jd));zd.unpairedTags.indexOf(Ef)!==-1||Zd.push({tagName:Ef,tagStartPos:hf}),Wd=!0}for(Jd++;Jd0)return Rd("InvalidXml","Invalid '"+JSON.stringify(Zd.map(Jd=>Jd.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return Rd("InvalidXml","Start tag expected.",1);return!0};function ud(Hd){return Hd===" "||Hd===" "||Hd===` +`||Hd==="\r"}function cd(Hd,zd){const Zd=zd;for(;zd5&&Wd==="xml")return Rd("InvalidXml","XML declaration allowed only at the start of the document.",jd(Hd,zd));if(Hd[zd]=="?"&&Hd[zd+1]==">"){zd++;break}else continue}return zd}function dd(Hd,zd){if(Hd.length>zd+5&&Hd[zd+1]==="-"&&Hd[zd+2]==="-"){for(zd+=3;zd"){zd+=2;break}}else if(Hd.length>zd+8&&Hd[zd+1]==="D"&&Hd[zd+2]==="O"&&Hd[zd+3]==="C"&&Hd[zd+4]==="T"&&Hd[zd+5]==="Y"&&Hd[zd+6]==="P"&&Hd[zd+7]==="E"){let Zd=1;for(zd+=8;zd"&&(Zd--,Zd===0))break}else if(Hd.length>zd+9&&Hd[zd+1]==="["&&Hd[zd+2]==="C"&&Hd[zd+3]==="D"&&Hd[zd+4]==="A"&&Hd[zd+5]==="T"&&Hd[zd+6]==="A"&&Hd[zd+7]==="["){for(zd+=8;zd"){zd+=2;break}}return zd}const pd='"',fd="'";function Td(Hd,zd){let Zd="",Wd="",Qd=!1;for(;zd"&&Wd===""){Qd=!0;break}Zd+=Hd[zd]}return Wd!==""?!1:{value:Zd,index:zd,tagClosed:Qd}}const Ad=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function Sd(Hd,zd){const Zd=ad.getAllMatches(Hd,Ad),Wd={};for(let Qd=0;Qd","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function ud(fd){this.options=Object.assign({},sd,fd),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=pd),this.processTextOrObjNode=cd,this.options.format?(this.indentate=dd,this.tagEndChar=`> `,this.newLine=` -`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}ld.prototype.build=function(_d){return this.options.preserveOrder?sd(_d,this.options):(Array.isArray(_d)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(_d={[this.options.arrayNodeName]:_d}),this.j2x(_d,0).val)},ld.prototype.j2x=function(_d,Ed){let Ad="",Td="";for(let Id in _d)if(Object.prototype.hasOwnProperty.call(_d,Id))if(typeof _d[Id]>"u")this.isAttribute(Id)&&(Td+="");else if(_d[Id]===null)this.isAttribute(Id)?Td+="":Id[0]==="?"?Td+=this.indentate(Ed)+"<"+Id+"?"+this.tagEndChar:Td+=this.indentate(Ed)+"<"+Id+"/"+this.tagEndChar;else if(_d[Id]instanceof Date)Td+=this.buildTextValNode(_d[Id],Id,"",Ed);else if(typeof _d[Id]!="object"){const Bd=this.isAttribute(Id);if(Bd)Ad+=this.buildAttrPairStr(Bd,""+_d[Id]);else if(Id===this.options.textNodeName){let Rd=this.options.tagValueProcessor(Id,""+_d[Id]);Td+=this.replaceEntitiesValue(Rd)}else Td+=this.buildTextValNode(_d[Id],Id,"",Ed)}else if(Array.isArray(_d[Id])){const Bd=_d[Id].length;let Rd="";for(let Od=0;Od"u"||(Md===null?Id[0]==="?"?Td+=this.indentate(Ed)+"<"+Id+"?"+this.tagEndChar:Td+=this.indentate(Ed)+"<"+Id+"/"+this.tagEndChar:typeof Md=="object"?this.options.oneListGroup?Rd+=this.j2x(Md,Ed+1).val:Rd+=this.processTextOrObjNode(Md,Id,Ed):Rd+=this.buildTextValNode(Md,Id,"",Ed))}this.options.oneListGroup&&(Rd=this.buildObjectNode(Rd,Id,"",Ed)),Td+=Rd}else if(this.options.attributesGroupName&&Id===this.options.attributesGroupName){const Bd=Object.keys(_d[Id]),Rd=Bd.length;for(let Od=0;Od"+_d+Id:this.options.commentPropName!==!1&&Ed===this.options.commentPropName&&Bd.length===0?this.indentate(Td)+``+this.newLine:this.indentate(Td)+"<"+Ed+Ad+Bd+this.tagEndChar+_d+this.indentate(Td)+Id}},ld.prototype.closeTag=function(_d){let Ed="";return this.options.unpairedTags.indexOf(_d)!==-1?this.options.suppressUnpairedNode||(Ed="/"):this.options.suppressEmptyNode?Ed="/":Ed=`>`+this.newLine;if(this.options.commentPropName!==!1&&Ed===this.options.commentPropName)return this.indentate(Td)+``+this.newLine;if(Ed[0]==="?")return this.indentate(Td)+"<"+Ed+Ad+"?"+this.tagEndChar;{let Id=this.options.tagValueProcessor(Ed,_d);return Id=this.replaceEntitiesValue(Id),Id===""?this.indentate(Td)+"<"+Ed+Ad+this.closeTag(Ed)+this.tagEndChar:this.indentate(Td)+"<"+Ed+Ad+">"+Id+"0&&this.options.processEntities)for(let Ed=0;Ed0&&(Ad=rd),od(_d,Ed,"",Ad)}function od(_d,Ed,Ad,Td){let Id="",Bd=!1;for(let Rd=0;Rd<_d.length;Rd++){const Od=_d[Rd],Md=ld(Od);if(Md===void 0)continue;let Ld="";if(Ad.length===0?Ld=Md:Ld=`${Ad}.${Md}`,Md===Ed.textNodeName){let qd=Od[Md];cd(Ld,Ed)||(qd=Ed.tagValueProcessor(Md,qd),qd=dd(qd,Ed)),Bd&&(Id+=Td),Id+=qd,Bd=!1;continue}else if(Md===Ed.cdataPropName){Bd&&(Id+=Td),Id+=``,Bd=!1;continue}else if(Md===Ed.commentPropName){Id+=Td+``,Bd=!0;continue}else if(Md[0]==="?"){const qd=ud(Od[":@"],Ed),Kd=Md==="?xml"?"":Td;let Xd=Od[Md][0][Ed.textNodeName];Xd=Xd.length!==0?" "+Xd:"",Id+=Kd+`<${Md}${Xd}${qd}?>`,Bd=!0;continue}let Fd=Td;Fd!==""&&(Fd+=Ed.indentBy);const jd=ud(Od[":@"],Ed),Vd=Td+`<${Md}${jd}`,Qd=od(Od[Md],Ed,Ld,Fd);Ed.unpairedTags.indexOf(Md)!==-1?Ed.suppressUnpairedNode?Id+=Vd+">":Id+=Vd+"/>":(!Qd||Qd.length===0)&&Ed.suppressEmptyNode?Id+=Vd+"/>":Qd&&Qd.endsWith(">")?Id+=Vd+`>${Qd}${Td}`:(Id+=Vd+">",Qd&&Td!==""&&(Qd.includes("/>")||Qd.includes("`),Bd=!0}return Id}function ld(_d){const Ed=Object.keys(_d);for(let Ad=0;Ad0&&Ed.processEntities)for(let Ad=0;Ad"){if(Md?Td[Id-1]==="-"&&Td[Id-2]==="-"&&(Md=!1,Rd--):Rd--,Rd===0)break}else Td[Id]==="["?Od=!0:Ld+=Td[Id];if(Rd!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:Bd,i:Id}}function ld(Td,Id){let Bd="";for(;Id!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(od,ld,ud){return od}},sd=function(od){return Object.assign({},rd,od)};td.buildOptions=sd,td.defaultOptions=rd},"./node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js":function(ed,td,rd){const sd=rd("./node_modules/fast-xml-parser/src/util.js"),od=rd("./node_modules/fast-xml-parser/src/xmlparser/xmlNode.js"),ld=rd("./node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js"),ud=rd("./node_modules/strnum/strnum.js");class cd{constructor(Kd){this.options=Kd,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(Xd,df)=>String.fromCharCode(Number.parseInt(df,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(Xd,df)=>String.fromCharCode(Number.parseInt(df,16))}},this.addExternalEntities=dd,this.parseXml=Id,this.parseTextData=_d,this.resolveNameSpace=Ed,this.buildAttributesMap=Td,this.isItStopNode=Md,this.replaceEntitiesValue=Rd,this.readStopNodeData=Vd,this.saveTextToParentTag=Od,this.addChild=Bd}}function dd(qd){const Kd=Object.keys(qd);for(let Xd=0;Xd0)){pf||(qd=this.replaceEntitiesValue(qd));const _f=this.options.tagValueProcessor(Kd,qd,Xd,mf,bf);return _f==null?qd:typeof _f!=typeof qd||_f!==qd?_f:this.options.trimValues?Qd(qd,this.options.parseTagValue,this.options.numberParseOptions):qd.trim()===qd?Qd(qd,this.options.parseTagValue,this.options.numberParseOptions):qd}}function Ed(qd){if(this.options.removeNSPrefix){const Kd=qd.split(":"),Xd=qd.charAt(0)==="/"?"/":"";if(Kd[0]==="xmlns")return"";Kd.length===2&&(qd=Xd+Kd[1])}return qd}const Ad=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function Td(qd,Kd,Xd){if(!this.options.ignoreAttributes&&typeof qd=="string"){const df=sd.getAllMatches(qd,Ad),mf=df.length,bf={};for(let pf=0;pf",bf,"Closing Tag is not closed.");let Tf=qd.substring(bf+2,_f).trim();if(this.options.removeNSPrefix){const Jf=Tf.indexOf(":");Jf!==-1&&(Tf=Tf.substr(Jf+1))}this.options.transformTagName&&(Tf=this.options.transformTagName(Tf)),Xd&&(df=this.saveTextToParentTag(df,Xd,mf));const kf=mf.substring(mf.lastIndexOf(".")+1);if(Tf&&this.options.unpairedTags.indexOf(Tf)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: `);let zf=0;kf&&this.options.unpairedTags.indexOf(kf)!==-1?(zf=mf.lastIndexOf(".",mf.lastIndexOf(".")-1),this.tagsNodeStack.pop()):zf=mf.lastIndexOf("."),mf=mf.substring(0,zf),Xd=this.tagsNodeStack.pop(),df="",bf=_f}else if(qd[bf+1]==="?"){let _f=jd(qd,bf,!1,"?>");if(!_f)throw new Error("Pi Tag is not closed.");if(df=this.saveTextToParentTag(df,Xd,mf),!(this.options.ignoreDeclaration&&_f.tagName==="?xml"||this.options.ignorePiTags)){const Tf=new od(_f.tagName);Tf.add(this.options.textNodeName,""),_f.tagName!==_f.tagExp&&_f.attrExpPresent&&(Tf[":@"]=this.buildAttributesMap(_f.tagExp,mf,_f.tagName)),this.addChild(Xd,Tf,mf)}bf=_f.closeIndex+1}else if(qd.substr(bf+1,3)==="!--"){const _f=Fd(qd,"-->",bf+4,"Comment is not closed.");if(this.options.commentPropName){const Tf=qd.substring(bf+4,_f-2);df=this.saveTextToParentTag(df,Xd,mf),Xd.add(this.options.commentPropName,[{[this.options.textNodeName]:Tf}])}bf=_f}else if(qd.substr(bf+1,2)==="!D"){const _f=ld(qd,bf);this.docTypeEntities=_f.entities,bf=_f.i}else if(qd.substr(bf+1,2)==="!["){const _f=Fd(qd,"]]>",bf,"CDATA is not closed.")-2,Tf=qd.substring(bf+9,_f);df=this.saveTextToParentTag(df,Xd,mf);let kf=this.parseTextData(Tf,Xd.tagname,mf,!0,!1,!0,!0);kf==null&&(kf=""),this.options.cdataPropName?Xd.add(this.options.cdataPropName,[{[this.options.textNodeName]:Tf}]):Xd.add(this.options.textNodeName,kf),bf=_f+2}else{let _f=jd(qd,bf,this.options.removeNSPrefix),Tf=_f.tagName;const kf=_f.rawTagName;let zf=_f.tagExp,Jf=_f.attrExpPresent,Gf=_f.closeIndex;this.options.transformTagName&&(Tf=this.options.transformTagName(Tf)),Xd&&df&&Xd.tagname!=="!xml"&&(df=this.saveTextToParentTag(df,Xd,mf,!1));const Mf=Xd;if(Mf&&this.options.unpairedTags.indexOf(Mf.tagname)!==-1&&(Xd=this.tagsNodeStack.pop(),mf=mf.substring(0,mf.lastIndexOf("."))),Tf!==Kd.tagname&&(mf+=mf?"."+Tf:Tf),this.isItStopNode(this.options.stopNodes,mf,Tf)){let Nf="";if(zf.length>0&&zf.lastIndexOf("/")===zf.length-1)Tf[Tf.length-1]==="/"?(Tf=Tf.substr(0,Tf.length-1),mf=mf.substr(0,mf.length-1),zf=Tf):zf=zf.substr(0,zf.length-1),bf=_f.closeIndex;else if(this.options.unpairedTags.indexOf(Tf)!==-1)bf=_f.closeIndex;else{const Qf=this.readStopNodeData(qd,kf,Gf+1);if(!Qf)throw new Error(`Unexpected end of ${kf}`);bf=Qf.i,Nf=Qf.tagContent}const Bf=new od(Tf);Tf!==zf&&Jf&&(Bf[":@"]=this.buildAttributesMap(zf,mf,Tf)),Nf&&(Nf=this.parseTextData(Nf,Tf,mf,!0,Jf,!0,!0)),mf=mf.substr(0,mf.lastIndexOf(".")),Bf.add(this.options.textNodeName,Nf),this.addChild(Xd,Bf,mf)}else{if(zf.length>0&&zf.lastIndexOf("/")===zf.length-1){Tf[Tf.length-1]==="/"?(Tf=Tf.substr(0,Tf.length-1),mf=mf.substr(0,mf.length-1),zf=Tf):zf=zf.substr(0,zf.length-1),this.options.transformTagName&&(Tf=this.options.transformTagName(Tf));const Nf=new od(Tf);Tf!==zf&&Jf&&(Nf[":@"]=this.buildAttributesMap(zf,mf,Tf)),this.addChild(Xd,Nf,mf),mf=mf.substr(0,mf.lastIndexOf("."))}else{const Nf=new od(Tf);this.tagsNodeStack.push(Xd),Tf!==zf&&Jf&&(Nf[":@"]=this.buildAttributesMap(zf,mf,Tf)),this.addChild(Xd,Nf,mf),Xd=Nf}df="",bf=Gf}}else df+=qd[bf];return Kd.child};function Bd(qd,Kd,Xd){const df=this.options.updateTag(Kd.tagname,Xd,Kd[":@"]);df===!1||(typeof df=="string"&&(Kd.tagname=df),qd.addChild(Kd))}const Rd=function(qd){if(this.options.processEntities){for(let Kd in this.docTypeEntities){const Xd=this.docTypeEntities[Kd];qd=qd.replace(Xd.regx,Xd.val)}for(let Kd in this.lastEntities){const Xd=this.lastEntities[Kd];qd=qd.replace(Xd.regex,Xd.val)}if(this.options.htmlEntities)for(let Kd in this.htmlEntities){const Xd=this.htmlEntities[Kd];qd=qd.replace(Xd.regex,Xd.val)}qd=qd.replace(this.ampEntity.regex,this.ampEntity.val)}return qd};function Od(qd,Kd,Xd,df){return qd&&(df===void 0&&(df=Object.keys(Kd.child).length===0),qd=this.parseTextData(qd,Kd.tagname,Xd,!1,Kd[":@"]?Object.keys(Kd[":@"]).length!==0:!1,df),qd!==void 0&&qd!==""&&Kd.add(this.options.textNodeName,qd),qd=""),qd}function Md(qd,Kd,Xd){const df="*."+Xd;for(const mf in qd){const bf=qd[mf];if(df===bf||Kd===bf)return!0}return!1}function Ld(qd,Kd,Xd=">"){let df,mf="";for(let bf=Kd;bf",Xd,`${Kd} is not closed`);if(qd.substring(Xd+2,bf).trim()===Kd&&(mf--,mf===0))return{tagContent:qd.substring(df,Xd),i:bf};Xd=bf}else if(qd[Xd+1]==="?")Xd=Fd(qd,"?>",Xd+1,"StopNode is not closed.");else if(qd.substr(Xd+1,3)==="!--")Xd=Fd(qd,"-->",Xd+3,"StopNode is not closed.");else if(qd.substr(Xd+1,2)==="![")Xd=Fd(qd,"]]>",Xd,"StopNode is not closed.")-2;else{const bf=jd(qd,Xd,">");bf&&((bf&&bf.tagName)===Kd&&bf.tagExp[bf.tagExp.length-1]!=="/"&&mf++,Xd=bf.closeIndex)}}function Qd(qd,Kd,Xd){if(Kd&&typeof qd=="string"){const df=qd.trim();return df==="true"?!0:df==="false"?!1:ud(qd,Xd)}else return sd.isExist(qd)?qd:""}ed.exports=cd},"./node_modules/fast-xml-parser/src/xmlparser/XMLParser.js":function(ed,td,rd){const{buildOptions:sd}=rd("./node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js"),od=rd("./node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js"),{prettify:ld}=rd("./node_modules/fast-xml-parser/src/xmlparser/node2json.js"),ud=rd("./node_modules/fast-xml-parser/src/validator.js");class cd{constructor(_d){this.externalEntities={},this.options=sd(_d)}parse(_d,Ed){if(typeof _d!="string")if(_d.toString)_d=_d.toString();else throw new Error("XML data is accepted in String or Bytes[] form.");if(Ed){Ed===!0&&(Ed={});const Id=ud.validate(_d,Ed);if(Id!==!0)throw Error(`${Id.err.msg}:${Id.err.line}:${Id.err.col}`)}const Ad=new od(this.options);Ad.addExternalEntities(this.externalEntities);const Td=Ad.parseXml(_d);return this.options.preserveOrder||Td===void 0?Td:ld(Td,this.options)}addEntity(_d,Ed){if(Ed.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");if(_d.indexOf("&")!==-1||_d.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for ' '");if(Ed==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[_d]=Ed}}ed.exports=cd},"./node_modules/fast-xml-parser/src/xmlparser/node2json.js":function(ed,td,rd){function sd(dd,_d){return od(dd,_d)}function od(dd,_d,Ed){let Ad;const Td={};for(let Id=0;Id0&&(Td[_d.textNodeName]=Ad):Ad!==void 0&&(Td[_d.textNodeName]=Ad),Td}function ld(dd){const _d=Object.keys(dd);for(let Ed=0;Ed<_d.length;Ed++){const Ad=_d[Ed];if(Ad!==":@")return Ad}}function ud(dd,_d,Ed,Ad){if(_d){const Td=Object.keys(_d),Id=Td.length;for(let Bd=0;Bd0?this.child.push({[ld.tagname]:ld.child,":@":ld[":@"]}):this.child.push({[ld.tagname]:ld.child})}}ed.exports=sd},"./node_modules/process/browser.js":function(ed,td){var rd=ed.exports={},sd,od;function ld(){throw new Error("setTimeout has not been defined")}function ud(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?sd=setTimeout:sd=ld}catch{sd=ld}try{typeof clearTimeout=="function"?od=clearTimeout:od=ud}catch{od=ud}})();function cd(Md){if(sd===setTimeout)return setTimeout(Md,0);if((sd===ld||!sd)&&setTimeout)return sd=setTimeout,setTimeout(Md,0);try{return sd(Md,0)}catch{try{return sd.call(null,Md,0)}catch{return sd.call(this,Md,0)}}}function dd(Md){if(od===clearTimeout)return clearTimeout(Md);if((od===ud||!od)&&clearTimeout)return od=clearTimeout,clearTimeout(Md);try{return od(Md)}catch{try{return od.call(null,Md)}catch{return od.call(this,Md)}}}var _d=[],Ed=!1,Ad,Td=-1;function Id(){!Ed||!Ad||(Ed=!1,Ad.length?_d=Ad.concat(_d):Td=-1,_d.length&&Bd())}function Bd(){if(!Ed){var Md=cd(Id);Ed=!0;for(var Ld=_d.length;Ld;){for(Ad=_d,_d=[];++Td1)for(var Fd=1;Fd0&&Ad&&_d[2]!==".")return cd;if(!dd.leadingZeros&&Td.length>0&&!Ad&&_d[1]!==".")return cd;{const Rd=Number(_d),Od=""+Rd;return Od.search(/[eE]/)!==-1||Bd?dd.eNotation?Rd:cd:_d.indexOf(".")!==-1?Od==="0"&&Id===""||Od===Id||Ad&&Od==="-"+Id?Rd:cd:Td?Id===Od||Ad+Id===Od?Rd:cd:_d===Od||_d===Ad+Od?Rd:cd}}else return cd}}function ud(cd){return cd&&cd.indexOf(".")!==-1&&(cd=cd.replace(/0+$/,""),cd==="."?cd="0":cd[0]==="."?cd="0"+cd:cd[cd.length-1]==="."&&(cd=cd.substr(0,cd.length-1))),cd}ed.exports=ld},"./node_modules/webpack/buildin/amd-options.js":function(ed,td){(function(rd){ed.exports=rd}).call(this,{})},"./node_modules/webpack/buildin/module.js":function(ed,td){ed.exports=function(rd){return rd.webpackPolyfill||(rd.deprecate=function(){},rd.paths=[],rd.children||(rd.children=[]),Object.defineProperty(rd,"loaded",{enumerable:!0,get:function(){return rd.l}}),Object.defineProperty(rd,"id",{enumerable:!0,get:function(){return rd.i}}),rd.webpackPolyfill=1),rd}},"./package.json":function(ed){ed.exports=JSON.parse('{"name":"cos-js-sdk-v5","version":"1.8.4","description":"JavaScript SDK for [腾讯云对象存储](https://cloud.tencent.com/product/cos)","main":"dist/cos-js-sdk-v5.js","types":"index.d.ts","scripts":{"prettier":"prettier --write src demo/demo.js demo/CIDemos/*.js test/test.js server/sts.js lib/request.js index.d.ts","server":"node server/sts.js","dev":"cross-env NODE_ENV=development webpack -w --mode=development","build":"cross-env NODE_ENV=production webpack --mode=production","cos-auth.min.js":"uglifyjs ./demo/common/cos-auth.js -o ./demo/common/cos-auth.min.js -c -m","test":"jest --runInBand --coverage"},"repository":{"type":"git","url":"git+https://github.com/tencentyun/cos-js-sdk-v5.git"},"keywords":[],"author":"carsonxu","license":"ISC","bugs":{"url":"https://github.com/tencentyun/cos-js-sdk-v5/issues"},"homepage":"https://github.com/tencentyun/cos-js-sdk-v5#readme","dependencies":{"fast-xml-parser":"^4.4.0"},"devDependencies":{"@babel/core":"7.17.9","@babel/plugin-transform-runtime":"7.18.10","@babel/preset-env":"7.16.11","babel-loader":"8.2.5","body-parser":"^1.18.3","cross-env":"^5.2.0","express":"^4.16.4","jest":"^29.3.1","jest-environment-jsdom":"^29.3.1","prettier":"^3.0.1","qcloud-cos-sts":"^3.0.2","request":"^2.87.0","terser-webpack-plugin":"4.2.3","uglifyjs":"^2.4.11","webpack":"4.46.0","webpack-cli":"4.10.0"}}')},"./src/advance.js":function(ed,td,rd){var sd=rd("./node_modules/@babel/runtime/helpers/typeof.js"),od=rd("./src/session.js"),ld=rd("./src/async.js"),ud=rd("./src/event.js").EventProxy,cd=rd("./src/util.js"),dd=rd("./src/tracker.js");function _d(qd,Kd){var Xd=this,df=new ud,mf=qd.TaskId,bf=qd.Bucket,pf=qd.Region,_f=qd.Key,Tf=qd.Body,kf=qd.ChunkSize||qd.SliceSize||Xd.options.ChunkSize,zf=qd.AsyncLimit,Jf=qd.StorageClass,Gf=qd.ServerSideEncryption,Mf,Nf,Bf=qd.onHashProgress,Qf=qd.tracker;Qf&&Qf.setParams({chunkSize:kf}),df.on("error",function(Wf){if(Xd._isRunningTask(mf))return Wf.UploadId=qd.UploadData.UploadId||"",Kd(Wf)}),df.on("upload_complete",function(Wf){var yf=cd.extend({UploadId:qd.UploadData.UploadId||""},Wf);Kd(null,yf)}),df.on("upload_slice_complete",function(Wf){var yf={};cd.each(qd.Headers,function(hf,Rf){var jf=Rf.toLowerCase();(jf.indexOf("x-cos-meta-")===0||["pic-operations","x-cos-callback","x-cos-callback-var","x-cos-return-body"].includes(jf))&&(yf[Rf]=hf)}),Rd.call(Xd,{Bucket:bf,Region:pf,Key:_f,UploadId:Wf.UploadId,SliceList:Wf.SliceList,Headers:yf,tracker:Qf},function(hf,Rf){if(Xd._isRunningTask(mf)){if(od.removeUsing(Wf.UploadId),hf)return Nf(null,!0),df.emit("error",hf);od.removeUploadId.call(Xd,Wf.UploadId),Nf({loaded:Mf,total:Mf},!0),df.emit("upload_complete",Rf)}})}),df.on("get_upload_data_finish",function(Wf){var yf=od.getFileId(Tf,qd.ChunkSize,bf,_f);yf&&od.saveUploadId.call(Xd,yf,Wf.UploadId,Xd.options.UploadIdCacheLimit),od.setUsing(Wf.UploadId),Nf(null,!0),Id.call(Xd,{TaskId:mf,Bucket:bf,Region:pf,Key:_f,Body:Tf,FileSize:Mf,SliceSize:kf,AsyncLimit:zf,ServerSideEncryption:Gf,UploadData:Wf,Headers:qd.Headers,onProgress:Nf,tracker:Qf},function(hf,Rf){if(Xd._isRunningTask(mf)){if(hf)return Nf(null,!0),df.emit("error",hf);df.emit("upload_slice_complete",Rf)}})}),df.on("get_file_size_finish",function(){if(Nf=cd.throttleOnProgress.call(Xd,Mf,qd.onProgress),qd.UploadData.UploadId)df.emit("get_upload_data_finish",qd.UploadData);else{var Wf=cd.extend({TaskId:mf,Bucket:bf,Region:pf,Key:_f,Headers:qd.Headers,StorageClass:Jf,Body:Tf,FileSize:Mf,SliceSize:kf,onHashProgress:Bf,tracker:Qf},qd);Ed.call(Xd,Wf,function(yf,hf){if(Xd._isRunningTask(mf)){if(yf)return df.emit("error",yf);qd.UploadData.UploadId=hf.UploadId,qd.UploadData.PartList=hf.PartList,df.emit("get_upload_data_finish",qd.UploadData)}})}}),Mf=qd.ContentLength,delete qd.ContentLength,!qd.Headers&&(qd.Headers={}),cd.each(qd.Headers,function(Wf,yf){yf.toLowerCase()==="content-length"&&delete qd.Headers[yf]}),function(){for(var Wf=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,5120],yf=1024*1024,hf=0;hfJf)return hf(null,!1);if(Rf>1){var jf=Math.max(yf[0].Size,yf[1].Size);if(jf!==zf)return hf(null,!1)}var Kf=function Ff(wf){if(wf=hf.length){Qf.emit("has_and_check_upload_id",Wf);return}var Ff=hf[Kf];if(!cd.isInArray(Wf,Ff)){od.removeUploadId.call(_f,Ff),jf(Kf+1);return}if(od.using[Ff]){jf(Kf+1);return}Td.call(_f,{Bucket:df,Region:mf,Key:bf,UploadId:Ff,tracker:qd.tracker},function(wf,Yf){_f._isRunningTask(Xd)&&(wf?(od.removeUploadId.call(_f,Ff),jf(Kf+1)):Qf.emit("upload_id_available",{UploadId:Ff,PartList:Yf.PartList}))})};Rf(0)}),Qf.on("get_remote_upload_id_list",function(){Ad.call(_f,{Bucket:df,Region:mf,Key:bf,tracker:qd.tracker},function(Wf,yf){if(_f._isRunningTask(Xd)){if(Wf)return Qf.emit("error",Wf);var hf=cd.filter(yf.UploadList,function(Kf){return Kf.Key===bf&&(!pf||Kf.StorageClass.toUpperCase()===pf.toUpperCase())}).reverse().map(function(Kf){return Kf.UploadId||Kf.UploadID});if(hf.length)Qf.emit("seek_local_avail_upload_id",hf);else{var Rf=od.getFileId(qd.Body,qd.ChunkSize,df,bf),jf;Rf&&(jf=od.getUploadIdList.call(_f,Rf))&&cd.each(jf,function(Kf){od.removeUploadId.call(_f,Kf)}),Qf.emit("no_available_upload_id")}}})}),Qf.emit("get_remote_upload_id_list")}function Ad(qd,Kd){var Xd=this,df=[],mf={Bucket:qd.Bucket,Region:qd.Region,Prefix:qd.Key,calledBySdk:qd.calledBySdk||"sliceUploadFile",tracker:qd.tracker},bf=function pf(){Xd.multipartList(mf,function(_f,Tf){if(_f)return Kd(_f);df.push.apply(df,Tf.Upload||[]),Tf.IsTruncated==="true"?(mf.KeyMarker=Tf.NextKeyMarker,mf.UploadIdMarker=Tf.NextUploadIdMarker,pf()):Kd(null,{UploadList:df})})};bf()}function Td(qd,Kd){var Xd=this,df=[],mf={Bucket:qd.Bucket,Region:qd.Region,Key:qd.Key,UploadId:qd.UploadId,calledBySdk:"sliceUploadFile",tracker:qd.tracker},bf=function pf(){Xd.multipartListPart(mf,function(_f,Tf){if(_f)return Kd(_f);df.push.apply(df,Tf.Part||[]),Tf.IsTruncated==="true"?(mf.PartNumberMarker=Tf.NextPartNumberMarker,pf()):Kd(null,{PartList:df})})};bf()}function Id(qd,Kd){var Xd=this,df=qd.TaskId,mf=qd.Bucket,bf=qd.Region,pf=qd.Key,_f=qd.UploadData,Tf=qd.FileSize,kf=qd.SliceSize,zf=Math.min(qd.AsyncLimit||Xd.options.ChunkParallelLimit||1,256),Jf=qd.Body,Gf=Math.ceil(Tf/kf),Mf=0,Nf=qd.ServerSideEncryption,Bf=qd.Headers,Qf=cd.filter(_f.PartList,function(yf){return yf.Uploaded&&(Mf+=yf.PartNumber>=Gf&&Tf%kf||kf),!yf.Uploaded}),Wf=qd.onProgress;ld.eachLimit(Qf,zf,function(yf,hf){if(Xd._isRunningTask(df)){var Rf=yf.PartNumber,jf=Math.min(Tf,yf.PartNumber*kf)-(yf.PartNumber-1)*kf,Kf=0;Bd.call(Xd,{TaskId:df,Bucket:mf,Region:bf,Key:pf,SliceSize:kf,FileSize:Tf,PartNumber:Rf,ServerSideEncryption:Nf,Body:Jf,UploadData:_f,Headers:Bf,onProgress:function(wf){Mf+=wf.loaded-Kf,Kf=wf.loaded,Wf({loaded:Mf,total:Tf})},tracker:qd.tracker},function(Ff,wf){Xd._isRunningTask(df)&&(!Ff&&!wf.ETag&&(Ff='get ETag error, please add "ETag" to CORS ExposeHeader setting.( 获取ETag失败,请在CORS ExposeHeader设置中添加ETag,请参考文档:https://cloud.tencent.com/document/product/436/13318 )'),Ff?Mf-=Kf:(Mf+=jf-Kf,yf.ETag=wf.ETag),Wf({loaded:Mf,total:Tf}),hf(Ff||null,wf))})}},function(yf){if(Xd._isRunningTask(df)){if(yf)return Kd(yf);Kd(null,{UploadId:_f.UploadId,SliceList:_f.PartList})}})}function Bd(qd,Kd){var Xd=this,df=qd.TaskId,mf=qd.Bucket,bf=qd.Region,pf=qd.Key,_f=qd.FileSize,Tf=qd.Body,kf=qd.PartNumber*1,zf=qd.SliceSize,Jf=qd.ServerSideEncryption,Gf=qd.UploadData,Mf=qd.Headers||{},Nf=Xd.options.ChunkRetryTimes+1,Bf=zf*(kf-1),Qf=zf,Wf=Bf+zf;Wf>_f&&(Wf=_f,Qf=Wf-Bf);var yf=["x-cos-traffic-limit","x-cos-mime-limit"],hf={};cd.each(Mf,function(jf,Kf){yf.indexOf(Kf)>-1&&(hf[Kf]=jf)});var Rf=Gf.PartList[kf-1];ld.retry(Nf,function(jf){Xd._isRunningTask(df)&&cd.fileSlice(Tf,Bf,Wf,!0,function(Kf){Xd.multipartUpload({TaskId:df,Bucket:mf,Region:bf,Key:pf,ContentLength:Qf,PartNumber:kf,UploadId:Gf.UploadId,ServerSideEncryption:Jf,Body:Kf,Headers:hf,onProgress:qd.onProgress,calledBySdk:"sliceUploadFile",tracker:qd.tracker},function(Ff,wf){if(Xd._isRunningTask(df))return Ff?jf(Ff):(Rf.Uploaded=!0,jf(null,wf))})})},function(jf,Kf){if(Xd._isRunningTask(df))return Kd(jf,Kf)})}function Rd(qd,Kd){var Xd=qd.Bucket,df=qd.Region,mf=qd.Key,bf=qd.UploadId,pf=qd.SliceList,_f=this,Tf=this.options.ChunkRetryTimes+1,kf=qd.Headers,zf=pf.map(function(Jf){return{PartNumber:Jf.PartNumber,ETag:Jf.ETag}});ld.retry(Tf,function(Jf){_f.multipartComplete({Bucket:Xd,Region:df,Key:mf,UploadId:bf,Parts:zf,Headers:kf,calledBySdk:"sliceUploadFile",tracker:qd.tracker},Jf)},function(Jf,Gf){Kd(Jf,Gf)})}function Od(qd,Kd){var Xd=qd.Bucket,df=qd.Region,mf=qd.Key,bf=qd.UploadId,pf=qd.Level||"task",_f=qd.AsyncLimit,Tf=this,kf=new ud;if(kf.on("error",function(zf){return Kd(zf)}),kf.on("get_abort_array",function(zf){Md.call(Tf,{Bucket:Xd,Region:df,Key:mf,Headers:qd.Headers,AsyncLimit:_f,AbortArray:zf},Kd)}),pf==="bucket")Ad.call(Tf,{Bucket:Xd,Region:df,calledBySdk:"abortUploadTask"},function(zf,Jf){if(zf)return Kd(zf);kf.emit("get_abort_array",Jf.UploadList||[])});else if(pf==="file"){if(!mf)return Kd(cd.error(new Error("abort_upload_task_no_key")));Ad.call(Tf,{Bucket:Xd,Region:df,Key:mf,calledBySdk:"abortUploadTask"},function(zf,Jf){if(zf)return Kd(zf);kf.emit("get_abort_array",Jf.UploadList||[])})}else if(pf==="task"){if(!bf)return Kd(cd.error(new Error("abort_upload_task_no_id")));if(!mf)return Kd(cd.error(new Error("abort_upload_task_no_key")));kf.emit("get_abort_array",[{Key:mf,UploadId:bf}])}else return Kd(cd.error(new Error("abort_unknown_level")))}function Md(qd,Kd){var Xd=qd.Bucket,df=qd.Region,mf=qd.Key,bf=qd.AbortArray,pf=qd.AsyncLimit||1,_f=this,Tf=0,kf=new Array(bf.length);ld.eachLimit(bf,pf,function(zf,Jf){var Gf=Tf;if(mf&&mf!==zf.Key){kf[Gf]={error:{KeyNotMatch:!0}},Jf(null);return}var Mf=zf.UploadId||zf.UploadID;_f.multipartAbort({Bucket:Xd,Region:df,Key:zf.Key,Headers:qd.Headers,UploadId:Mf},function(Nf){var Bf={Bucket:Xd,Region:df,Key:zf.Key,UploadId:Mf};kf[Gf]={error:Nf,task:Bf},Jf(null)}),Tf++},function(zf){if(zf)return Kd(zf);for(var Jf=[],Gf=[],Mf=0,Nf=kf.length;Mfdf?"sliceUploadFile":"putObject";qd.tracker=new dd({Beacon:Xd.options.BeaconReporter,clsReporter:Xd.options.ClsReporter,bucket:qd.Bucket,region:qd.Region,apiName:"uploadFile",realApi:kf,fileKey:qd.Key,fileSize:pf,accelerate:Tf,deepTracker:Xd.options.DeepTracker,customId:Xd.options.CustomId,delay:Xd.options.TrackerDelay})}cd.each(qd,function(Bf,Qf){sd(Bf)!=="object"&&typeof Bf!="function"&&(_f[Qf]=Bf)});var zf=qd.onTaskReady,Jf=function(Qf){_f.TaskId=Qf,zf&&zf(Qf)};qd.onTaskReady=Jf;var Gf=pf>df?"sliceUploadFile":"putObject",Mf=qd.onFileFinish,Nf=function(Qf,Wf){qd.tracker&&qd.tracker.report(Qf,Wf),Mf&&Mf(Qf,Wf,_f),Kd&&Kd(Qf,Wf)};mf.push({api:Gf,params:qd,callback:Nf}),Xd._addTasks(mf)}function Fd(qd,Kd){var Xd=this,df=qd.SliceSize===void 0?Xd.options.SliceSize:qd.SliceSize,mf=0,bf=0,pf=cd.throttleOnProgress.call(Xd,bf,qd.onProgress),_f=qd.files.length,Tf=qd.onFileFinish,kf=Array(_f),zf=function(Mf,Nf,Bf){pf(null,!0),Tf&&Tf(Mf,Nf,Bf),kf[Bf.Index]={options:Bf,error:Mf,data:Nf},--_f<=0&&Kd&&Kd(null,{files:kf})},Jf=[];cd.each(qd.files,function(Gf,Mf){(function(){var Nf=Gf.Body,Bf=Nf.size||Nf.length||0,Qf={Index:Mf,TaskId:""};if(!Xd.options.UseRawKey&&Gf.Key&&Gf.Key.substr(0,1)==="/"&&(Gf.Key=Gf.Key.substr(1)),mf+=Bf,Xd.options.EnableReporter){var Wf=Xd.options.UseAccelerate||typeof Xd.options.Domain=="string"&&Xd.options.Domain.includes("accelerate."),yf=Bf>df?"sliceUploadFile":"putObject";Gf.tracker=new dd({Beacon:Xd.options.BeaconReporter,clsReporter:Xd.options.ClsReporter,bucket:Gf.Bucket,region:Gf.Region,apiName:"uploadFiles",realApi:yf,fileKey:Gf.Key,fileSize:Bf,accelerate:Wf,deepTracker:Xd.options.DeepTracker,customId:Xd.options.CustomId,delay:Xd.options.TrackerDelay})}cd.each(Gf,function(Uf,Cf){sd(Uf)!=="object"&&typeof Uf!="function"&&(Qf[Cf]=Uf)});var hf=Gf.onTaskReady,Rf=function(Cf){Qf.TaskId=Cf,hf&&hf(Cf)};Gf.onTaskReady=Rf;var jf=0,Kf=Gf.onProgress,Ff=function(Cf){bf=bf-jf+Cf.loaded,jf=Cf.loaded,Kf&&Kf(Cf),pf({loaded:bf,total:mf})};Gf.onProgress=Ff;var wf=Bf>df?"sliceUploadFile":"putObject",Yf=Gf.onFileFinish,uh=function(Cf,If){Gf.tracker&&Gf.tracker.report(Cf,If),Yf&&Yf(Cf,If),zf&&zf(Cf,If,Qf)};Jf.push({api:wf,params:Gf,callback:uh})})()}),Xd._addTasks(Jf)}function jd(qd,Kd){var Xd=new ud,df=this,mf=qd.Bucket,bf=qd.Region,pf=qd.Key,_f=qd.CopySource,Tf=cd.getSourceParams.call(this,_f);if(!Tf){Kd(cd.error(new Error("CopySource format error")));return}var kf=Tf.Bucket,zf=Tf.Region,Jf=decodeURIComponent(Tf.Key),Gf=qd.CopySliceSize===void 0?df.options.CopySliceSize:qd.CopySliceSize;Gf=Math.max(0,Gf);var Mf=qd.CopyChunkSize||this.options.CopyChunkSize,Nf=this.options.CopyChunkParallelLimit,Bf=this.options.ChunkRetryTimes+1,Qf=0,Wf=0,yf,hf,Rf={},jf={},Kf={};Xd.on("copy_slice_complete",function(Ff){cd.each(qd.Headers,function(Yf,uh){uh.toLowerCase().indexOf("x-cos-meta-")});var wf=cd.map(Ff.PartList,function(Yf){return{PartNumber:Yf.PartNumber,ETag:Yf.ETag}});ld.retry(Bf,function(Yf){df.multipartComplete({Bucket:mf,Region:bf,Key:pf,UploadId:Ff.UploadId,Parts:wf,tracker:qd.tracker,calledBySdk:"sliceCopyFile"},Yf)},function(Yf,uh){if(od.removeUsing(Ff.UploadId),Yf)return hf(null,!0),Kd(Yf);od.removeUploadId(Ff.UploadId),hf({loaded:yf,total:yf},!0),Kd(null,uh)})}),Xd.on("get_copy_data_finish",function(Ff){var wf=od.getCopyFileId(_f,Rf,Mf,mf,pf);wf&&od.saveUploadId(wf,Ff.UploadId,df.options.UploadIdCacheLimit),od.setUsing(Ff.UploadId);var Yf=cd.filter(Ff.PartList,function(uh){return uh.Uploaded&&(Wf+=uh.PartNumber>=Qf&&yf%Mf||Mf),!uh.Uploaded});ld.eachLimit(Yf,Nf,function(uh,Uf){var Cf=uh.PartNumber,If=uh.CopySourceRange,Lf=uh.end-uh.start;ld.retry(Bf,function(sh){Vd.call(df,{Bucket:mf,Region:bf,Key:pf,CopySource:_f,UploadId:Ff.UploadId,PartNumber:Cf,CopySourceRange:If,tracker:qd.tracker,calledBySdk:"sliceCopyFile"},sh)},function(sh,hh){if(sh)return Uf(sh);Wf+=Lf,hf({loaded:Wf,total:yf}),uh.ETag=hh.ETag,Uf(sh||null,hh)})},function(uh){if(uh)return od.removeUsing(Ff.UploadId),hf(null,!0),Kd(uh);Xd.emit("copy_slice_complete",Ff)})}),Xd.on("get_chunk_size_finish",function(){var Ff=function(){df.multipartInit({Bucket:mf,Region:bf,Key:pf,Headers:Kf,tracker:qd.tracker,calledBySdk:"sliceCopyFile"},function(Cf,If){if(Cf)return Kd(Cf);qd.UploadId=If.UploadId,Xd.emit("get_copy_data_finish",{UploadId:qd.UploadId,PartList:qd.PartList})})},wf=od.getCopyFileId(_f,Rf,Mf,mf,pf),Yf=od.getUploadIdList(wf);if(!wf||!Yf)return Ff();var uh=function Uf(Cf){if(Cf>=Yf.length)return Ff();var If=Yf[Cf];if(od.using[If])return Uf(Cf+1);Td.call(df,{Bucket:mf,Region:bf,Key:pf,UploadId:If,tracker:qd.tracker,calledBySdk:"sliceCopyFile"},function(Lf,sh){if(Lf)od.removeUploadId(If),Uf(Cf+1);else{if(od.using[If])return Uf(Cf+1);var hh={},rh=0;cd.each(sh.PartList,function(Ah){var ph=parseInt(Ah.Size),vh=rh+ph-1;hh[Ah.PartNumber+"|"+rh+"|"+vh]=Ah.ETag,rh+=ph}),cd.each(qd.PartList,function(Ah){var ph=hh[Ah.PartNumber+"|"+Ah.start+"|"+Ah.end];ph&&(Ah.ETag=ph,Ah.Uploaded=!0)}),Xd.emit("get_copy_data_finish",{UploadId:If,PartList:qd.PartList})}})};uh(0)}),Xd.on("get_file_size_finish",function(){if(function(){for(var wf=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,5120],Yf=1024*1024,uh=0;uhCf.length&&(jf[Uf]=uh)}),Xd.emit("get_file_size_finish")}})}function Vd(qd,Kd){var Xd=qd.TaskId,df=qd.Bucket,mf=qd.Region,bf=qd.Key,pf=qd.CopySource,_f=qd.UploadId,Tf=qd.PartNumber*1,kf=qd.CopySourceRange,zf=this.options.ChunkRetryTimes+1,Jf=this;ld.retry(zf,function(Gf){Jf.uploadPartCopy({TaskId:Xd,Bucket:df,Region:mf,Key:bf,CopySource:pf,UploadId:_f,PartNumber:Tf,CopySourceRange:kf,tracker:qd.tracker,calledBySdk:qd.calledBySdk},function(Mf,Nf){Gf(Mf||null,Nf)})},function(Gf,Mf){return Kd(Gf,Mf)})}var Qd={sliceUploadFile:_d,abortUploadTask:Od,uploadFile:Ld,uploadFiles:Fd,sliceCopyFile:jd};ed.exports.init=function(qd,Kd){Kd.transferToTaskMethod(Qd,"sliceUploadFile"),cd.each(Qd,function(Xd,df){qd.prototype[df]=cd.apiWrapper(df,Xd)})}},"./src/async.js":function(ed,td){var rd=function(ud,cd,dd,_d){if(_d=_d||function(){},!ud.length||cd<=0)return _d();var Ed=0,Ad=0,Td=0;(function Id(){if(Ed>=ud.length)return _d();for(;Td=ud.length?_d():Id())})})()},sd=function(ud,cd,dd){var _d=function Ed(Ad){cd(function(Td,Id){Td&&Ad"u"?"undefined":sd(location))==="object"&&location.protocol==="http:"?"http:":"https:"),lh=this.options.ServiceDomain,bh=Sf.AppId||this.options.appId,gh=Sf.Region;lh?(lh=lh.replace(/\{\{AppId\}\}/gi,bh||"").replace(/\{\{Region\}\}/gi,gh||"").replace(/\{\{.*?\}\}/gi,""),/^[a-zA-Z]+:\/\//.test(lh)||(lh=Zf+"//"+lh),lh.slice(-1)==="/"&&(lh=lh.slice(0,-1))):gh?lh=Zf+"//cos."+gh+".myqcloud.com":lh=Zf+"//service.cos.myqcloud.com";var Oh="",Ih=gh?"cos."+gh+".myqcloud.com":"service.cos.myqcloud.com",fh=lh.replace(/^https?:\/\/([^/]+)(\/.*)?$/,"$1");Ih===fh&&(Oh=Ih),Rm.call(this,{Action:"name/cos:GetService",url:lh,method:"GET",headers:Sf.Headers,SignHost:Oh,tracker:Sf.tracker},function(Xh,cm){if(Xh)return oh(Xh);var jm=cm&&cm.ListAllMyBucketsResult&&cm.ListAllMyBucketsResult.Buckets&&cm.ListAllMyBucketsResult.Buckets.Bucket||[];jm=ld.isArray(jm)?jm:[jm];var gm=cm&&cm.ListAllMyBucketsResult&&cm.ListAllMyBucketsResult.Owner||{};oh(null,{Buckets:jm,Owner:gm,statusCode:cm.statusCode,headers:cm.headers})})}function cd(Sf,oh){var Zf=this,lh="";if(Sf.BucketAZConfig){var bh={BucketAZConfig:Sf.BucketAZConfig};lh=ld.json2xml({CreateBucketConfiguration:bh})}Rm.call(this,{Action:"name/cos:PutBucket",method:"PUT",Bucket:Sf.Bucket,Region:Sf.Region,headers:Sf.Headers,body:lh,tracker:Sf.tracker},function(gh,Oh){if(gh)return oh(gh);var Ih=H_({protocol:Zf.options.Protocol,domain:Zf.options.Domain,bucket:Sf.Bucket,region:Sf.Region,isLocation:!0});oh(null,{Location:Ih,statusCode:Oh.statusCode,headers:Oh.headers})})}function dd(Sf,oh){Rm.call(this,{Action:"name/cos:HeadBucket",Bucket:Sf.Bucket,Region:Sf.Region,headers:Sf.Headers,method:"HEAD",tracker:Sf.tracker},oh)}function _d(Sf,oh){var Zf={};Zf.prefix=Sf.Prefix||"",Zf.delimiter=Sf.Delimiter,Zf.marker=Sf.Marker,Zf["max-keys"]=Sf.MaxKeys,Zf["encoding-type"]=Sf.EncodingType,Rm.call(this,{Action:"name/cos:GetBucket",ResourceKey:Zf.prefix,method:"GET",Bucket:Sf.Bucket,Region:Sf.Region,headers:Sf.Headers,qs:Zf,tracker:Sf.tracker},function(lh,bh){if(lh)return oh(lh);var gh=bh.ListBucketResult||{},Oh=gh.Contents||[],Ih=gh.CommonPrefixes||[];Oh=ld.isArray(Oh)?Oh:[Oh],Ih=ld.isArray(Ih)?Ih:[Ih];var fh=ld.clone(gh);ld.extend(fh,{Contents:Oh,CommonPrefixes:Ih,statusCode:bh.statusCode,headers:bh.headers}),oh(null,fh)})}function Ed(Sf,oh){Rm.call(this,{Action:"name/cos:DeleteBucket",Bucket:Sf.Bucket,Region:Sf.Region,headers:Sf.Headers,method:"DELETE",tracker:Sf.tracker},function(Zf,lh){if(Zf&&Zf.statusCode===204)return oh(null,{statusCode:Zf.statusCode});if(Zf)return oh(Zf);oh(null,{statusCode:lh.statusCode,headers:lh.headers})})}function Ad(Sf,oh){var Zf=Sf.Headers,lh="";if(Sf.AccessControlPolicy){var bh=ld.clone(Sf.AccessControlPolicy||{}),gh=bh.Grants||bh.Grant;gh=ld.isArray(gh)?gh:[gh],delete bh.Grant,delete bh.Grants,bh.AccessControlList={Grant:gh},lh=ld.json2xml({AccessControlPolicy:bh}),Zf["Content-Type"]="application/xml",Zf["Content-MD5"]=ld.b64(ld.md5(lh))}ld.each(Zf,function(Oh,Ih){Ih.indexOf("x-cos-grant-")===0&&(Zf[Ih]=B_(Zf[Ih]))}),Rm.call(this,{Action:"name/cos:PutBucketACL",method:"PUT",Bucket:Sf.Bucket,Region:Sf.Region,headers:Zf,action:"acl",body:lh,tracker:Sf.tracker},function(Oh,Ih){if(Oh)return oh(Oh);oh(null,{statusCode:Ih.statusCode,headers:Ih.headers})})}function Td(Sf,oh){Rm.call(this,{Action:"name/cos:GetBucketACL",method:"GET",Bucket:Sf.Bucket,Region:Sf.Region,headers:Sf.Headers,action:"acl",tracker:Sf.tracker},function(Zf,lh){if(Zf)return oh(Zf);var bh=lh.AccessControlPolicy||{},gh=bh.Owner||{},Oh=bh.AccessControlList.Grant||[];Oh=ld.isArray(Oh)?Oh:[Oh];var Ih=Xm(bh);lh.headers&&lh.headers["x-cos-acl"]&&(Ih.ACL=lh.headers["x-cos-acl"]),Ih=ld.extend(Ih,{Owner:gh,Grants:Oh,statusCode:lh.statusCode,headers:lh.headers}),oh(null,Ih)})}function Id(Sf,oh){var Zf=Sf.CORSConfiguration||{},lh=Zf.CORSRules||Sf.CORSRules||[];lh=ld.clone(ld.isArray(lh)?lh:[lh]),ld.each(lh,function(Ih){ld.each(["AllowedOrigin","AllowedHeader","AllowedMethod","ExposeHeader"],function(fh){var Xh=fh+"s",cm=Ih[Xh]||Ih[fh]||[];delete Ih[Xh],Ih[fh]=ld.isArray(cm)?cm:[cm]})});var bh={CORSRule:lh};Sf.ResponseVary&&(bh.ResponseVary=Sf.ResponseVary);var gh=ld.json2xml({CORSConfiguration:bh}),Oh=Sf.Headers;Oh["Content-Type"]="application/xml",Oh["Content-MD5"]=ld.b64(ld.md5(gh)),Rm.call(this,{Action:"name/cos:PutBucketCORS",method:"PUT",Bucket:Sf.Bucket,Region:Sf.Region,body:gh,action:"cors",headers:Oh,tracker:Sf.tracker},function(Ih,fh){if(Ih)return oh(Ih);oh(null,{statusCode:fh.statusCode,headers:fh.headers})})}function Bd(Sf,oh){Rm.call(this,{Action:"name/cos:GetBucketCORS",method:"GET",Bucket:Sf.Bucket,Region:Sf.Region,headers:Sf.Headers,action:"cors",tracker:Sf.tracker},function(Zf,lh){if(Zf){if(Zf.statusCode===404&&Zf.error&&Zf.error.Code==="NoSuchCORSConfiguration"){var bh={CORSRules:[],statusCode:Zf.statusCode};Zf.headers&&(bh.headers=Zf.headers),oh(null,bh)}else oh(Zf);return}var gh=lh.CORSConfiguration||{},Oh=gh.CORSRules||gh.CORSRule||[];Oh=ld.clone(ld.isArray(Oh)?Oh:[Oh]);var Ih=gh.ResponseVary;ld.each(Oh,function(fh){ld.each(["AllowedOrigin","AllowedHeader","AllowedMethod","ExposeHeader"],function(Xh){var cm=Xh+"s",jm=fh[cm]||fh[Xh]||[];delete fh[Xh],fh[cm]=ld.isArray(jm)?jm:[jm]})}),oh(null,{CORSRules:Oh,ResponseVary:Ih,statusCode:lh.statusCode,headers:lh.headers})})}function Rd(Sf,oh){Rm.call(this,{Action:"name/cos:DeleteBucketCORS",method:"DELETE",Bucket:Sf.Bucket,Region:Sf.Region,headers:Sf.Headers,action:"cors",tracker:Sf.tracker},function(Zf,lh){if(Zf&&Zf.statusCode===204)return oh(null,{statusCode:Zf.statusCode});if(Zf)return oh(Zf);oh(null,{statusCode:lh.statusCode||Zf.statusCode,headers:lh.headers})})}function Od(Sf,oh){Rm.call(this,{Action:"name/cos:GetBucketLocation",method:"GET",Bucket:Sf.Bucket,Region:Sf.Region,headers:Sf.Headers,action:"location",tracker:Sf.tracker},oh)}function Md(Sf,oh){var Zf=Sf.Policy;try{typeof Zf=="string"&&(Zf=JSON.parse(Zf))}catch{}if(!Zf||typeof Zf=="string")return oh(ld.error(new Error("Policy format error")));var lh=JSON.stringify(Zf);Zf.version||(Zf.version="2.0");var bh=Sf.Headers;bh["Content-Type"]="application/json",bh["Content-MD5"]=ld.b64(ld.md5(lh)),Rm.call(this,{Action:"name/cos:PutBucketPolicy",method:"PUT",Bucket:Sf.Bucket,Region:Sf.Region,action:"policy",body:lh,headers:bh,tracker:Sf.tracker},function(gh,Oh){if(gh&&gh.statusCode===204)return oh(null,{statusCode:gh.statusCode});if(gh)return oh(gh);oh(null,{statusCode:Oh.statusCode,headers:Oh.headers})})}function Ld(Sf,oh){Rm.call(this,{Action:"name/cos:GetBucketPolicy",method:"GET",Bucket:Sf.Bucket,Region:Sf.Region,headers:Sf.Headers,action:"policy",rawBody:!0,tracker:Sf.tracker},function(Zf,lh){if(Zf)return Zf.statusCode&&Zf.statusCode===403?oh(ld.error(Zf,{ErrorStatus:"Access Denied"})):Zf.statusCode&&Zf.statusCode===405?oh(ld.error(Zf,{ErrorStatus:"Method Not Allowed"})):Zf.statusCode&&Zf.statusCode===404?oh(ld.error(Zf,{ErrorStatus:"Policy Not Found"})):oh(Zf);var bh={};try{bh=JSON.parse(lh.body)}catch{}oh(null,{Policy:bh,statusCode:lh.statusCode,headers:lh.headers})})}function Fd(Sf,oh){Rm.call(this,{Action:"name/cos:DeleteBucketPolicy",method:"DELETE",Bucket:Sf.Bucket,Region:Sf.Region,headers:Sf.Headers,action:"policy",tracker:Sf.tracker},function(Zf,lh){if(Zf&&Zf.statusCode===204)return oh(null,{statusCode:Zf.statusCode});if(Zf)return oh(Zf);oh(null,{statusCode:lh.statusCode||Zf.statusCode,headers:lh.headers})})}function jd(Sf,oh){var Zf=Sf.Tagging||{},lh=Zf.TagSet||Zf.Tags||Sf.Tags||[];lh=ld.clone(ld.isArray(lh)?lh:[lh]);var bh=ld.json2xml({Tagging:{TagSet:{Tag:lh}}}),gh=Sf.Headers;gh["Content-Type"]="application/xml",gh["Content-MD5"]=ld.b64(ld.md5(bh)),Rm.call(this,{Action:"name/cos:PutBucketTagging",method:"PUT",Bucket:Sf.Bucket,Region:Sf.Region,body:bh,action:"tagging",headers:gh,tracker:Sf.tracker},function(Oh,Ih){if(Oh&&Oh.statusCode===204)return oh(null,{statusCode:Oh.statusCode});if(Oh)return oh(Oh);oh(null,{statusCode:Ih.statusCode,headers:Ih.headers})})}function Vd(Sf,oh){Rm.call(this,{Action:"name/cos:GetBucketTagging",method:"GET",Bucket:Sf.Bucket,Region:Sf.Region,headers:Sf.Headers,action:"tagging",tracker:Sf.tracker},function(Zf,lh){if(Zf){if(Zf.statusCode===404&&Zf.error&&(Zf.error==="Not Found"||Zf.error.Code==="NoSuchTagSet")){var bh={Tags:[],statusCode:Zf.statusCode};Zf.headers&&(bh.headers=Zf.headers),oh(null,bh)}else oh(Zf);return}var gh=[];try{gh=lh.Tagging.TagSet.Tag||[]}catch{}gh=ld.clone(ld.isArray(gh)?gh:[gh]),oh(null,{Tags:gh,statusCode:lh.statusCode,headers:lh.headers})})}function Qd(Sf,oh){Rm.call(this,{Action:"name/cos:DeleteBucketTagging",method:"DELETE",Bucket:Sf.Bucket,Region:Sf.Region,headers:Sf.Headers,action:"tagging",tracker:Sf.tracker},function(Zf,lh){if(Zf&&Zf.statusCode===204)return oh(null,{statusCode:Zf.statusCode});if(Zf)return oh(Zf);oh(null,{statusCode:lh.statusCode,headers:lh.headers})})}function qd(Sf,oh){var Zf=Sf.LifecycleConfiguration||{},lh=Zf.Rules||Sf.Rules||[];lh=ld.clone(lh);var bh=ld.json2xml({LifecycleConfiguration:{Rule:lh}}),gh=Sf.Headers;gh["Content-Type"]="application/xml",gh["Content-MD5"]=ld.b64(ld.md5(bh)),Rm.call(this,{Action:"name/cos:PutBucketLifecycle",method:"PUT",Bucket:Sf.Bucket,Region:Sf.Region,body:bh,action:"lifecycle",headers:gh,tracker:Sf.tracker},function(Oh,Ih){if(Oh&&Oh.statusCode===204)return oh(null,{statusCode:Oh.statusCode});if(Oh)return oh(Oh);oh(null,{statusCode:Ih.statusCode,headers:Ih.headers})})}function Kd(Sf,oh){Rm.call(this,{Action:"name/cos:GetBucketLifecycle",method:"GET",Bucket:Sf.Bucket,Region:Sf.Region,headers:Sf.Headers,action:"lifecycle",tracker:Sf.tracker},function(Zf,lh){if(Zf){if(Zf.statusCode===404&&Zf.error&&Zf.error.Code==="NoSuchLifecycleConfiguration"){var bh={Rules:[],statusCode:Zf.statusCode};Zf.headers&&(bh.headers=Zf.headers),oh(null,bh)}else oh(Zf);return}var gh=[];try{gh=lh.LifecycleConfiguration.Rule||[]}catch{}gh=ld.clone(ld.isArray(gh)?gh:[gh]),oh(null,{Rules:gh,statusCode:lh.statusCode,headers:lh.headers})})}function Xd(Sf,oh){Rm.call(this,{Action:"name/cos:DeleteBucketLifecycle",method:"DELETE",Bucket:Sf.Bucket,Region:Sf.Region,headers:Sf.Headers,action:"lifecycle",tracker:Sf.tracker},function(Zf,lh){if(Zf&&Zf.statusCode===204)return oh(null,{statusCode:Zf.statusCode});if(Zf)return oh(Zf);oh(null,{statusCode:lh.statusCode,headers:lh.headers})})}function df(Sf,oh){if(!Sf.VersioningConfiguration){oh(ld.error(new Error("missing param VersioningConfiguration")));return}var Zf=Sf.VersioningConfiguration||{},lh=ld.json2xml({VersioningConfiguration:Zf}),bh=Sf.Headers;bh["Content-Type"]="application/xml",bh["Content-MD5"]=ld.b64(ld.md5(lh)),Rm.call(this,{Action:"name/cos:PutBucketVersioning",method:"PUT",Bucket:Sf.Bucket,Region:Sf.Region,body:lh,action:"versioning",headers:bh,tracker:Sf.tracker},function(gh,Oh){if(gh&&gh.statusCode===204)return oh(null,{statusCode:gh.statusCode});if(gh)return oh(gh);oh(null,{statusCode:Oh.statusCode,headers:Oh.headers})})}function mf(Sf,oh){Rm.call(this,{Action:"name/cos:GetBucketVersioning",method:"GET",Bucket:Sf.Bucket,Region:Sf.Region,headers:Sf.Headers,action:"versioning",tracker:Sf.tracker},function(Zf,lh){Zf||!lh.VersioningConfiguration&&(lh.VersioningConfiguration={}),oh(Zf,lh)})}function bf(Sf,oh){var Zf=ld.clone(Sf.ReplicationConfiguration),lh=ld.json2xml({ReplicationConfiguration:Zf});lh=lh.replace(/<(\/?)Rules>/gi,"<$1Rule>"),lh=lh.replace(/<(\/?)Tags>/gi,"<$1Tag>");var bh=Sf.Headers;bh["Content-Type"]="application/xml",bh["Content-MD5"]=ld.b64(ld.md5(lh)),Rm.call(this,{Action:"name/cos:PutBucketReplication",method:"PUT",Bucket:Sf.Bucket,Region:Sf.Region,body:lh,action:"replication",headers:bh,tracker:Sf.tracker},function(gh,Oh){if(gh&&gh.statusCode===204)return oh(null,{statusCode:gh.statusCode});if(gh)return oh(gh);oh(null,{statusCode:Oh.statusCode,headers:Oh.headers})})}function pf(Sf,oh){Rm.call(this,{Action:"name/cos:GetBucketReplication",method:"GET",Bucket:Sf.Bucket,Region:Sf.Region,headers:Sf.Headers,action:"replication",tracker:Sf.tracker},function(Zf,lh){if(Zf){if(Zf.statusCode===404&&Zf.error&&(Zf.error==="Not Found"||Zf.error.Code==="ReplicationConfigurationnotFoundError")){var bh={ReplicationConfiguration:{Rules:[]},statusCode:Zf.statusCode};Zf.headers&&(bh.headers=Zf.headers),oh(null,bh)}else oh(Zf);return}!lh.ReplicationConfiguration&&(lh.ReplicationConfiguration={}),lh.ReplicationConfiguration.Rule&&(lh.ReplicationConfiguration.Rules=ld.makeArray(lh.ReplicationConfiguration.Rule),delete lh.ReplicationConfiguration.Rule),oh(Zf,lh)})}function _f(Sf,oh){Rm.call(this,{Action:"name/cos:DeleteBucketReplication",method:"DELETE",Bucket:Sf.Bucket,Region:Sf.Region,headers:Sf.Headers,action:"replication",tracker:Sf.tracker},function(Zf,lh){if(Zf&&Zf.statusCode===204)return oh(null,{statusCode:Zf.statusCode});if(Zf)return oh(Zf);oh(null,{statusCode:lh.statusCode,headers:lh.headers})})}function Tf(Sf,oh){if(!Sf.WebsiteConfiguration){oh(ld.error(new Error("missing param WebsiteConfiguration")));return}var Zf=ld.clone(Sf.WebsiteConfiguration||{}),lh=Zf.RoutingRules||Zf.RoutingRule||[];lh=ld.isArray(lh)?lh:[lh],delete Zf.RoutingRule,delete Zf.RoutingRules,lh.length&&(Zf.RoutingRules={RoutingRule:lh});var bh=ld.json2xml({WebsiteConfiguration:Zf}),gh=Sf.Headers;gh["Content-Type"]="application/xml",gh["Content-MD5"]=ld.b64(ld.md5(bh)),Rm.call(this,{Action:"name/cos:PutBucketWebsite",method:"PUT",Bucket:Sf.Bucket,Region:Sf.Region,body:bh,action:"website",headers:gh,tracker:Sf.tracker},function(Oh,Ih){if(Oh&&Oh.statusCode===204)return oh(null,{statusCode:Oh.statusCode});if(Oh)return oh(Oh);oh(null,{statusCode:Ih.statusCode,headers:Ih.headers})})}function kf(Sf,oh){Rm.call(this,{Action:"name/cos:GetBucketWebsite",method:"GET",Bucket:Sf.Bucket,Region:Sf.Region,Key:Sf.Key,headers:Sf.Headers,action:"website",tracker:Sf.tracker},function(Zf,lh){if(Zf){if(Zf.statusCode===404&&Zf.error.Code==="NoSuchWebsiteConfiguration"){var bh={WebsiteConfiguration:{},statusCode:Zf.statusCode};Zf.headers&&(bh.headers=Zf.headers),oh(null,bh)}else oh(Zf);return}var gh=lh.WebsiteConfiguration||{};if(gh.RoutingRules){var Oh=ld.clone(gh.RoutingRules.RoutingRule||[]);Oh=ld.makeArray(Oh),gh.RoutingRules=Oh}oh(null,{WebsiteConfiguration:gh,statusCode:lh.statusCode,headers:lh.headers})})}function zf(Sf,oh){Rm.call(this,{Action:"name/cos:DeleteBucketWebsite",method:"DELETE",Bucket:Sf.Bucket,Region:Sf.Region,headers:Sf.Headers,action:"website",tracker:Sf.tracker},function(Zf,lh){if(Zf&&Zf.statusCode===204)return oh(null,{statusCode:Zf.statusCode});if(Zf)return oh(Zf);oh(null,{statusCode:lh.statusCode,headers:lh.headers})})}function Jf(Sf,oh){if(!Sf.RefererConfiguration){oh(ld.error(new Error("missing param RefererConfiguration")));return}var Zf=ld.clone(Sf.RefererConfiguration||{}),lh=Zf.DomainList||{},bh=lh.Domains||lh.Domain||[];bh=ld.isArray(bh)?bh:[bh],bh.length&&(Zf.DomainList={Domain:bh});var gh=ld.json2xml({RefererConfiguration:Zf}),Oh=Sf.Headers;Oh["Content-Type"]="application/xml",Oh["Content-MD5"]=ld.b64(ld.md5(gh)),Rm.call(this,{Action:"name/cos:PutBucketReferer",method:"PUT",Bucket:Sf.Bucket,Region:Sf.Region,body:gh,action:"referer",headers:Oh,tracker:Sf.tracker},function(Ih,fh){if(Ih&&Ih.statusCode===204)return oh(null,{statusCode:Ih.statusCode});if(Ih)return oh(Ih);oh(null,{statusCode:fh.statusCode,headers:fh.headers})})}function Gf(Sf,oh){Rm.call(this,{Action:"name/cos:GetBucketReferer",method:"GET",Bucket:Sf.Bucket,Region:Sf.Region,Key:Sf.Key,headers:Sf.Headers,action:"referer",tracker:Sf.tracker},function(Zf,lh){if(Zf){if(Zf.statusCode===404&&Zf.error.Code==="NoSuchRefererConfiguration"){var bh={WebsiteConfiguration:{},statusCode:Zf.statusCode};Zf.headers&&(bh.headers=Zf.headers),oh(null,bh)}else oh(Zf);return}var gh=lh.RefererConfiguration||{};if(gh.DomainList){var Oh=ld.makeArray(gh.DomainList.Domain||[]);gh.DomainList={Domains:Oh}}oh(null,{RefererConfiguration:gh,statusCode:lh.statusCode,headers:lh.headers})})}function Mf(Sf,oh){var Zf=Sf.DomainConfiguration||{},lh=Zf.DomainRule||Sf.DomainRule||[];lh=ld.clone(lh);var bh=ld.json2xml({DomainConfiguration:{DomainRule:lh}}),gh=Sf.Headers;gh["Content-Type"]="application/xml",gh["Content-MD5"]=ld.b64(ld.md5(bh)),Rm.call(this,{Action:"name/cos:PutBucketDomain",method:"PUT",Bucket:Sf.Bucket,Region:Sf.Region,body:bh,action:"domain",headers:gh,tracker:Sf.tracker},function(Oh,Ih){if(Oh&&Oh.statusCode===204)return oh(null,{statusCode:Oh.statusCode});if(Oh)return oh(Oh);oh(null,{statusCode:Ih.statusCode,headers:Ih.headers})})}function Nf(Sf,oh){Rm.call(this,{Action:"name/cos:GetBucketDomain",method:"GET",Bucket:Sf.Bucket,Region:Sf.Region,headers:Sf.Headers,action:"domain",tracker:Sf.tracker},function(Zf,lh){if(Zf)return oh(Zf);var bh=[];try{bh=lh.DomainConfiguration.DomainRule||[]}catch{}bh=ld.clone(ld.isArray(bh)?bh:[bh]),oh(null,{DomainRule:bh,statusCode:lh.statusCode,headers:lh.headers})})}function Bf(Sf,oh){Rm.call(this,{Action:"name/cos:DeleteBucketDomain",method:"DELETE",Bucket:Sf.Bucket,Region:Sf.Region,headers:Sf.Headers,action:"domain",tracker:Sf.tracker},function(Zf,lh){if(Zf&&Zf.statusCode===204)return oh(null,{statusCode:Zf.statusCode});if(Zf)return oh(Zf);oh(null,{statusCode:lh.statusCode,headers:lh.headers})})}function Qf(Sf,oh){var Zf=Sf.OriginConfiguration||{},lh=Zf.OriginRule||Sf.OriginRule||[];lh=ld.clone(lh);var bh=ld.json2xml({OriginConfiguration:{OriginRule:lh}}),gh=Sf.Headers;gh["Content-Type"]="application/xml",gh["Content-MD5"]=ld.b64(ld.md5(bh)),Rm.call(this,{Action:"name/cos:PutBucketOrigin",method:"PUT",Bucket:Sf.Bucket,Region:Sf.Region,body:bh,action:"origin",headers:gh,tracker:Sf.tracker},function(Oh,Ih){if(Oh&&Oh.statusCode===204)return oh(null,{statusCode:Oh.statusCode});if(Oh)return oh(Oh);oh(null,{statusCode:Ih.statusCode,headers:Ih.headers})})}function Wf(Sf,oh){Rm.call(this,{Action:"name/cos:GetBucketOrigin",method:"GET",Bucket:Sf.Bucket,Region:Sf.Region,headers:Sf.Headers,action:"origin",tracker:Sf.tracker},function(Zf,lh){if(Zf)return oh(Zf);var bh=[];try{bh=lh.OriginConfiguration.OriginRule||[]}catch{}bh=ld.clone(ld.isArray(bh)?bh:[bh]),oh(null,{OriginRule:bh,statusCode:lh.statusCode,headers:lh.headers})})}function yf(Sf,oh){Rm.call(this,{Action:"name/cos:DeleteBucketOrigin",method:"DELETE",Bucket:Sf.Bucket,Region:Sf.Region,headers:Sf.Headers,action:"origin",tracker:Sf.tracker},function(Zf,lh){if(Zf&&Zf.statusCode===204)return oh(null,{statusCode:Zf.statusCode});if(Zf)return oh(Zf);oh(null,{statusCode:lh.statusCode,headers:lh.headers})})}function hf(Sf,oh){var Zf=ld.json2xml({BucketLoggingStatus:Sf.BucketLoggingStatus||""}),lh=Sf.Headers;lh["Content-Type"]="application/xml",lh["Content-MD5"]=ld.b64(ld.md5(Zf)),Rm.call(this,{Action:"name/cos:PutBucketLogging",method:"PUT",Bucket:Sf.Bucket,Region:Sf.Region,body:Zf,action:"logging",headers:lh,tracker:Sf.tracker},function(bh,gh){if(bh&&bh.statusCode===204)return oh(null,{statusCode:bh.statusCode});if(bh)return oh(bh);oh(null,{statusCode:gh.statusCode,headers:gh.headers})})}function Rf(Sf,oh){Rm.call(this,{Action:"name/cos:GetBucketLogging",method:"GET",Bucket:Sf.Bucket,Region:Sf.Region,headers:Sf.Headers,action:"logging",tracker:Sf.tracker},function(Zf,lh){if(Zf)return oh(Zf);oh(null,{BucketLoggingStatus:lh.BucketLoggingStatus,statusCode:lh.statusCode,headers:lh.headers})})}function jf(Sf,oh,Zf){var lh=ld.clone(oh.InventoryConfiguration);if(lh.OptionalFields){var bh=lh.OptionalFields||[];lh.OptionalFields={Field:bh}}if(lh.Destination&&lh.Destination.COSBucketDestination&&lh.Destination.COSBucketDestination.Encryption){var gh=lh.Destination.COSBucketDestination.Encryption;Object.keys(gh).indexOf("SSECOS")>-1&&(gh["SSE-COS"]=gh.SSECOS,delete gh.SSECOS)}var Oh=ld.json2xml({InventoryConfiguration:lh}),Ih=oh.Headers;Ih["Content-Type"]="application/xml",Ih["Content-MD5"]=ld.b64(ld.md5(Oh));var fh=Sf==="PUT"?"name/cos:PutBucketInventory":"name/cos:PostBucketInventory";Rm.call(this,{Action:fh,method:Sf,Bucket:oh.Bucket,Region:oh.Region,body:Oh,action:"inventory",qs:{id:oh.Id},headers:Ih,tracker:oh.tracker},function(Xh,cm){if(Xh&&Xh.statusCode===204)return Zf(null,{statusCode:Xh.statusCode});if(Xh)return Zf(Xh);Zf(null,{statusCode:cm.statusCode,headers:cm.headers})})}function Kf(Sf,oh){return jf.call(this,"PUT",Sf,oh)}function Ff(Sf,oh){return jf.call(this,"POST",Sf,oh)}function wf(Sf,oh){Rm.call(this,{Action:"name/cos:GetBucketInventory",method:"GET",Bucket:Sf.Bucket,Region:Sf.Region,headers:Sf.Headers,action:"inventory",qs:{id:Sf.Id},tracker:Sf.tracker},function(Zf,lh){if(Zf)return oh(Zf);var bh=lh.InventoryConfiguration;if(bh&&bh.OptionalFields&&bh.OptionalFields.Field){var gh=bh.OptionalFields.Field;ld.isArray(gh)||(gh=[gh]),bh.OptionalFields=gh}if(bh.Destination&&bh.Destination.COSBucketDestination&&bh.Destination.COSBucketDestination.Encryption){var Oh=bh.Destination.COSBucketDestination.Encryption;Object.keys(Oh).indexOf("SSE-COS")>-1&&(Oh.SSECOS=Oh["SSE-COS"],delete Oh["SSE-COS"])}oh(null,{InventoryConfiguration:bh,statusCode:lh.statusCode,headers:lh.headers})})}function Yf(Sf,oh){Rm.call(this,{Action:"name/cos:ListBucketInventory",method:"GET",Bucket:Sf.Bucket,Region:Sf.Region,headers:Sf.Headers,action:"inventory",qs:{"continuation-token":Sf.ContinuationToken},tracker:Sf.tracker},function(Zf,lh){if(Zf)return oh(Zf);var bh=lh.ListInventoryConfigurationResult,gh=bh.InventoryConfiguration||[];gh=ld.isArray(gh)?gh:[gh],delete bh.InventoryConfiguration,ld.each(gh,function(Oh){if(Oh&&Oh.OptionalFields&&Oh.OptionalFields.Field){var Ih=Oh.OptionalFields.Field;ld.isArray(Ih)||(Ih=[Ih]),Oh.OptionalFields=Ih}if(Oh.Destination&&Oh.Destination.COSBucketDestination&&Oh.Destination.COSBucketDestination.Encryption){var fh=Oh.Destination.COSBucketDestination.Encryption;Object.keys(fh).indexOf("SSE-COS")>-1&&(fh.SSECOS=fh["SSE-COS"],delete fh["SSE-COS"])}}),bh.InventoryConfigurations=gh,ld.extend(bh,{statusCode:lh.statusCode,headers:lh.headers}),oh(null,bh)})}function uh(Sf,oh){Rm.call(this,{Action:"name/cos:DeleteBucketInventory",method:"DELETE",Bucket:Sf.Bucket,Region:Sf.Region,headers:Sf.Headers,action:"inventory",qs:{id:Sf.Id},tracker:Sf.tracker},function(Zf,lh){if(Zf&&Zf.statusCode===204)return oh(null,{statusCode:Zf.statusCode});if(Zf)return oh(Zf);oh(null,{statusCode:lh.statusCode,headers:lh.headers})})}function Uf(Sf,oh){if(!Sf.AccelerateConfiguration){oh(ld.error(new Error("missing param AccelerateConfiguration")));return}var Zf={AccelerateConfiguration:Sf.AccelerateConfiguration||{}},lh=ld.json2xml(Zf),bh={};bh["Content-Type"]="application/xml",bh["Content-MD5"]=ld.b64(ld.md5(lh)),Rm.call(this,{Action:"name/cos:PutBucketAccelerate",method:"PUT",Bucket:Sf.Bucket,Region:Sf.Region,body:lh,action:"accelerate",headers:bh,tracker:Sf.tracker},function(gh,Oh){if(gh)return oh(gh);oh(null,{statusCode:Oh.statusCode,headers:Oh.headers})})}function Cf(Sf,oh){Rm.call(this,{Action:"name/cos:GetBucketAccelerate",method:"GET",Bucket:Sf.Bucket,Region:Sf.Region,action:"accelerate",tracker:Sf.tracker},function(Zf,lh){Zf||!lh.AccelerateConfiguration&&(lh.AccelerateConfiguration={}),oh(Zf,lh)})}function If(Sf,oh){var Zf=Sf.ServerSideEncryptionConfiguration||{},lh=Zf.Rule||Zf.Rules||[],bh=ld.json2xml({ServerSideEncryptionConfiguration:{Rule:lh}}),gh=Sf.Headers;gh["Content-Type"]="application/xml",gh["Content-MD5"]=ld.b64(ld.md5(bh)),Rm.call(this,{Action:"name/cos:PutBucketEncryption",method:"PUT",Bucket:Sf.Bucket,Region:Sf.Region,body:bh,action:"encryption",headers:gh,tracker:Sf.tracker},function(Oh,Ih){if(Oh&&Oh.statusCode===204)return oh(null,{statusCode:Oh.statusCode});if(Oh)return oh(Oh);oh(null,{statusCode:Ih.statusCode,headers:Ih.headers})})}function Lf(Sf,oh){Rm.call(this,{Action:"name/cos:GetBucketEncryption",method:"GET",Bucket:Sf.Bucket,Region:Sf.Region,headers:Sf.Headers,action:"encryption",tracker:Sf.tracker},function(Zf,lh){if(Zf){if(Zf.statusCode===404&&Zf.code==="NoSuchEncryptionConfiguration"){var bh={EncryptionConfiguration:{Rules:[]},statusCode:Zf.statusCode};Zf.headers&&(bh.headers=Zf.headers),oh(null,bh)}else oh(Zf);return}var gh=ld.makeArray(lh.EncryptionConfiguration&&lh.EncryptionConfiguration.Rule||[]);lh.EncryptionConfiguration={Rules:gh},oh(Zf,lh)})}function sh(Sf,oh){Rm.call(this,{Action:"name/cos:DeleteBucketReplication",method:"DELETE",Bucket:Sf.Bucket,Region:Sf.Region,headers:Sf.Headers,action:"encryption",tracker:Sf.tracker},function(Zf,lh){if(Zf&&Zf.statusCode===204)return oh(null,{statusCode:Zf.statusCode});if(Zf)return oh(Zf);oh(null,{statusCode:lh.statusCode,headers:lh.headers})})}function hh(Sf,oh){Rm.call(this,{Action:"name/cos:HeadObject",method:"HEAD",Bucket:Sf.Bucket,Region:Sf.Region,Key:Sf.Key,VersionId:Sf.VersionId,headers:Sf.Headers,tracker:Sf.tracker},function(Zf,lh){if(Zf){var bh=Zf.statusCode;return Sf.Headers["If-Modified-Since"]&&bh&&bh===304?oh(null,{NotModified:!0,statusCode:bh}):oh(Zf)}lh.ETag=ld.attr(lh.headers,"etag",""),oh(null,lh)})}function rh(Sf,oh){var Zf={};Zf.prefix=Sf.Prefix||"",Zf.delimiter=Sf.Delimiter,Zf["key-marker"]=Sf.KeyMarker,Zf["version-id-marker"]=Sf.VersionIdMarker,Zf["max-keys"]=Sf.MaxKeys,Zf["encoding-type"]=Sf.EncodingType,Rm.call(this,{Action:"name/cos:GetBucketObjectVersions",ResourceKey:Zf.prefix,method:"GET",Bucket:Sf.Bucket,Region:Sf.Region,headers:Sf.Headers,qs:Zf,action:"versions",tracker:Sf.tracker},function(lh,bh){if(lh)return oh(lh);var gh=bh.ListVersionsResult||{},Oh=gh.DeleteMarker||[];Oh=ld.isArray(Oh)?Oh:[Oh];var Ih=gh.Version||[];Ih=ld.isArray(Ih)?Ih:[Ih];var fh=ld.clone(gh);delete fh.DeleteMarker,delete fh.Version,ld.extend(fh,{DeleteMarkers:Oh,Versions:Ih,statusCode:bh.statusCode,headers:bh.headers}),oh(null,fh)})}function Ah(Sf,oh){if(this.options.ObjectKeySimplifyCheck){var Zf=ld.simplifyPath(Sf.Key);if(Zf==="/"){oh(ld.error(new Error("The Getobject Key is illegal")));return}}var lh=Sf.Query||{},bh=Sf.QueryString||"",gh=ld.throttleOnProgress.call(this,0,Sf.onProgress),Oh=Sf.tracker;Oh&&Oh.setParams({signStartTime:new Date().getTime()}),lh["response-content-type"]=Sf.ResponseContentType,lh["response-content-language"]=Sf.ResponseContentLanguage,lh["response-expires"]=Sf.ResponseExpires,lh["response-cache-control"]=Sf.ResponseCacheControl,lh["response-content-disposition"]=Sf.ResponseContentDisposition,lh["response-content-encoding"]=Sf.ResponseContentEncoding,Rm.call(this,{Action:"name/cos:GetObject",method:"GET",Bucket:Sf.Bucket,Region:Sf.Region,Key:Sf.Key,VersionId:Sf.VersionId,DataType:Sf.DataType,headers:Sf.Headers,qs:lh,qsStr:bh,rawBody:!0,onDownloadProgress:gh,tracker:Oh},function(Ih,fh){if(gh(null,!0),Ih){var Xh=Ih.statusCode;return Sf.Headers["If-Modified-Since"]&&Xh&&Xh===304?oh(null,{NotModified:!0}):oh(Ih)}oh(null,{Body:fh.body,ETag:ld.attr(fh.headers,"etag",""),statusCode:fh.statusCode,headers:fh.headers})})}function ph(Sf,oh){var Zf=this,lh=Sf.ContentLength,bh=ld.throttleOnProgress.call(Zf,lh,Sf.onProgress),gh=Sf.Headers;!gh["Cache-Control"]&&!gh["cache-control"]&&(gh["Cache-Control"]=""),!gh["Content-Type"]&&!gh["content-type"]&&(gh["Content-Type"]=Sf.Body&&Sf.Body.type||"");var Oh=Sf.UploadAddMetaMd5||Zf.options.UploadAddMetaMd5||Zf.options.UploadCheckContentMd5,Ih=Sf.tracker;Oh&&Ih&&Ih.setParams({md5StartTime:new Date().getTime()}),ld.getBodyMd5(Oh,Sf.Body,function(fh){fh&&(Ih&&Ih.setParams({md5EndTime:new Date().getTime()}),Zf.options.UploadCheckContentMd5&&(gh["Content-MD5"]=ld.b64(fh)),(Sf.UploadAddMetaMd5||Zf.options.UploadAddMetaMd5)&&(gh["x-cos-meta-md5"]=fh)),Sf.ContentLength!==void 0&&(gh["Content-Length"]=Sf.ContentLength),bh(null,!0),Rm.call(Zf,{Action:"name/cos:PutObject",TaskId:Sf.TaskId,method:"PUT",Bucket:Sf.Bucket,Region:Sf.Region,Key:Sf.Key,headers:Sf.Headers,qs:Sf.Query,body:Sf.Body,onProgress:bh,tracker:Ih},function(Xh,cm){if(Xh)return bh(null,!0),oh(Xh);bh({loaded:lh,total:lh},!0);var jm=H_({ForcePathStyle:Zf.options.ForcePathStyle,protocol:Zf.options.Protocol,domain:Zf.options.Domain,bucket:Sf.Bucket,region:Zf.options.UseAccelerate?"accelerate":Sf.Region,object:Sf.Key});jm=jm.substr(jm.indexOf("://")+3),cm.Location=jm,cm.ETag=ld.attr(cm.headers,"etag",""),oh(null,cm)})},Sf.onHashProgress)}function vh(Sf,oh){Rm.call(this,{Action:"name/cos:DeleteObject",method:"DELETE",Bucket:Sf.Bucket,Region:Sf.Region,Key:Sf.Key,headers:Sf.Headers,VersionId:Sf.VersionId,action:Sf.Recursive?"recursive":"",tracker:Sf.tracker},function(Zf,lh){if(Zf){var bh=Zf.statusCode;return bh&&bh===404?oh(null,{BucketNotFound:!0,statusCode:bh}):oh(Zf)}oh(null,{statusCode:lh.statusCode,headers:lh.headers})})}function qh(Sf,oh){var Zf={};Sf.VersionId&&(Zf.versionId=Sf.VersionId),Rm.call(this,{Action:"name/cos:GetObjectACL",method:"GET",Bucket:Sf.Bucket,Region:Sf.Region,Key:Sf.Key,headers:Sf.Headers,qs:Zf,action:"acl",tracker:Sf.tracker},function(lh,bh){if(lh)return oh(lh);var gh=bh.AccessControlPolicy||{},Oh=gh.Owner||{},Ih=gh.AccessControlList&&gh.AccessControlList.Grant||[];Ih=ld.isArray(Ih)?Ih:[Ih];var fh=Xm(gh);delete fh.GrantWrite,bh.headers&&bh.headers["x-cos-acl"]&&(fh.ACL=bh.headers["x-cos-acl"]),fh=ld.extend(fh,{Owner:Oh,Grants:Ih,statusCode:bh.statusCode,headers:bh.headers}),oh(null,fh)})}function kh(Sf,oh){var Zf=Sf.Headers,lh="";if(Sf.AccessControlPolicy){var bh=ld.clone(Sf.AccessControlPolicy||{}),gh=bh.Grants||bh.Grant;gh=ld.isArray(gh)?gh:[gh],delete bh.Grant,delete bh.Grants,bh.AccessControlList={Grant:gh},lh=ld.json2xml({AccessControlPolicy:bh}),Zf["Content-Type"]="application/xml",Zf["Content-MD5"]=ld.b64(ld.md5(lh))}ld.each(Zf,function(Oh,Ih){Ih.indexOf("x-cos-grant-")===0&&(Zf[Ih]=B_(Zf[Ih]))}),Rm.call(this,{Action:"name/cos:PutObjectACL",method:"PUT",Bucket:Sf.Bucket,Region:Sf.Region,Key:Sf.Key,action:"acl",headers:Zf,body:lh,tracker:Sf.tracker},function(Oh,Ih){if(Oh)return oh(Oh);oh(null,{statusCode:Ih.statusCode,headers:Ih.headers})})}function Wh(Sf,oh){var Zf=Sf.Headers;Zf.Origin=Sf.Origin,Zf["Access-Control-Request-Method"]=Sf.AccessControlRequestMethod,Zf["Access-Control-Request-Headers"]=Sf.AccessControlRequestHeaders,Rm.call(this,{Action:"name/cos:OptionsObject",method:"OPTIONS",Bucket:Sf.Bucket,Region:Sf.Region,Key:Sf.Key,headers:Zf,tracker:Sf.tracker},function(lh,bh){if(lh)return lh.statusCode&&lh.statusCode===403?oh(null,{OptionsForbidden:!0,statusCode:lh.statusCode}):oh(lh);var gh=bh.headers||{};oh(null,{AccessControlAllowOrigin:gh["access-control-allow-origin"],AccessControlAllowMethods:gh["access-control-allow-methods"],AccessControlAllowHeaders:gh["access-control-allow-headers"],AccessControlExposeHeaders:gh["access-control-expose-headers"],AccessControlMaxAge:gh["access-control-max-age"],statusCode:bh.statusCode,headers:bh.headers})})}function om(Sf,oh){var Zf=this,lh=Sf.Headers;!lh["Cache-Control"]&&!lh["cache-control"]&&(lh["Cache-Control"]="");var bh=Sf.CopySource||"",gh=ld.getSourceParams.call(this,bh);if(!gh){oh(ld.error(new Error("CopySource format error")));return}var Oh=gh.Bucket,Ih=gh.Region,fh=decodeURIComponent(gh.Key);Rm.call(this,{Scope:[{action:"name/cos:GetObject",bucket:Oh,region:Ih,prefix:fh},{action:"name/cos:PutObject",bucket:Sf.Bucket,region:Sf.Region,prefix:Sf.Key}],method:"PUT",Bucket:Sf.Bucket,Region:Sf.Region,Key:Sf.Key,VersionId:Sf.VersionId,headers:Sf.Headers,tracker:Sf.tracker},function(Xh,cm){if(Xh)return oh(Xh);var jm=ld.clone(cm.CopyObjectResult||{}),gm=H_({ForcePathStyle:Zf.options.ForcePathStyle,protocol:Zf.options.Protocol,domain:Zf.options.Domain,bucket:Sf.Bucket,region:Sf.Region,object:Sf.Key,isLocation:!0});ld.extend(jm,{Location:gm,statusCode:cm.statusCode,headers:cm.headers}),oh(null,jm)})}function th(Sf,oh){var Zf=Sf.CopySource||"",lh=ld.getSourceParams.call(this,Zf);if(!lh){oh(ld.error(new Error("CopySource format error")));return}var bh=lh.Bucket,gh=lh.Region,Oh=decodeURIComponent(lh.Key);Rm.call(this,{Scope:[{action:"name/cos:GetObject",bucket:bh,region:gh,prefix:Oh},{action:"name/cos:PutObject",bucket:Sf.Bucket,region:Sf.Region,prefix:Sf.Key}],method:"PUT",Bucket:Sf.Bucket,Region:Sf.Region,Key:Sf.Key,VersionId:Sf.VersionId,qs:{partNumber:Sf.PartNumber,uploadId:Sf.UploadId},headers:Sf.Headers,tracker:Sf.tracker},function(Ih,fh){if(Ih)return oh(Ih);var Xh=ld.clone(fh.CopyPartResult||{});ld.extend(Xh,{statusCode:fh.statusCode,headers:fh.headers}),oh(null,Xh)})}function Df(Sf,oh){var Zf=Sf.Objects||[],lh=Sf.Quiet;Zf=ld.isArray(Zf)?Zf:[Zf];var bh=ld.json2xml({Delete:{Object:Zf,Quiet:lh||!1}}),gh=Sf.Headers;gh["Content-Type"]="application/xml",gh["Content-MD5"]=ld.b64(ld.md5(bh));var Oh=ld.map(Zf,function(Ih){return{action:"name/cos:DeleteObject",bucket:Sf.Bucket,region:Sf.Region,prefix:Ih.Key}});Rm.call(this,{Scope:Oh,method:"POST",Bucket:Sf.Bucket,Region:Sf.Region,body:bh,action:"delete",headers:gh,tracker:Sf.tracker},function(Ih,fh){if(Ih)return oh(Ih);var Xh=fh.DeleteResult||{},cm=Xh.Deleted||[],jm=Xh.Error||[];cm=ld.isArray(cm)?cm:[cm],jm=ld.isArray(jm)?jm:[jm];var gm=ld.clone(Xh);ld.extend(gm,{Error:jm,Deleted:cm,statusCode:fh.statusCode,headers:fh.headers}),oh(null,gm)})}function Af(Sf,oh){var Zf=Sf.Headers;if(!Sf.RestoreRequest){oh(ld.error(new Error("missing param RestoreRequest")));return}var lh=Sf.RestoreRequest||{},bh=ld.json2xml({RestoreRequest:lh});Zf["Content-Type"]="application/xml",Zf["Content-MD5"]=ld.b64(ld.md5(bh)),Rm.call(this,{Action:"name/cos:RestoreObject",method:"POST",Bucket:Sf.Bucket,Region:Sf.Region,Key:Sf.Key,VersionId:Sf.VersionId,body:bh,action:"restore",headers:Zf,tracker:Sf.tracker},oh)}function Xf(Sf,oh){var Zf=Sf.Tagging||{},lh=Zf.TagSet||Zf.Tags||Sf.Tags||[];lh=ld.clone(ld.isArray(lh)?lh:[lh]);var bh=ld.json2xml({Tagging:{TagSet:{Tag:lh}}}),gh=Sf.Headers;gh["Content-Type"]="application/xml",gh["Content-MD5"]=ld.b64(ld.md5(bh)),Rm.call(this,{Action:"name/cos:PutObjectTagging",method:"PUT",Bucket:Sf.Bucket,Key:Sf.Key,Region:Sf.Region,body:bh,action:"tagging",headers:gh,VersionId:Sf.VersionId,tracker:Sf.tracker},function(Oh,Ih){if(Oh&&Oh.statusCode===204)return oh(null,{statusCode:Oh.statusCode});if(Oh)return oh(Oh);oh(null,{statusCode:Ih.statusCode,headers:Ih.headers})})}function ah(Sf,oh){Rm.call(this,{Action:"name/cos:GetObjectTagging",method:"GET",Key:Sf.Key,Bucket:Sf.Bucket,Region:Sf.Region,headers:Sf.Headers,action:"tagging",VersionId:Sf.VersionId,tracker:Sf.tracker},function(Zf,lh){if(Zf){if(Zf.statusCode===404&&Zf.error&&(Zf.error==="Not Found"||Zf.error.Code==="NoSuchTagSet")){var bh={Tags:[],statusCode:Zf.statusCode};Zf.headers&&(bh.headers=Zf.headers),oh(null,bh)}else oh(Zf);return}var gh=[];try{gh=lh.Tagging.TagSet.Tag||[]}catch{}gh=ld.clone(ld.isArray(gh)?gh:[gh]),oh(null,{Tags:gh,statusCode:lh.statusCode,headers:lh.headers})})}function yh(Sf,oh){Rm.call(this,{Action:"name/cos:DeleteObjectTagging",method:"DELETE",Bucket:Sf.Bucket,Region:Sf.Region,Key:Sf.Key,headers:Sf.Headers,action:"tagging",VersionId:Sf.VersionId,tracker:Sf.tracker},function(Zf,lh){if(Zf&&Zf.statusCode===204)return oh(null,{statusCode:Zf.statusCode});if(Zf)return oh(Zf);oh(null,{statusCode:lh.statusCode,headers:lh.headers})})}function Dh(Sf,oh){var Zf=Sf.SelectType;if(!Zf)return oh(ld.error(new Error("missing param SelectType")));var lh=Sf.SelectRequest||{},bh=ld.json2xml({SelectRequest:lh}),gh=Sf.Headers;gh["Content-Type"]="application/xml",gh["Content-MD5"]=ld.b64(ld.md5(bh)),Rm.call(this,{Action:"name/cos:GetObject",method:"POST",Bucket:Sf.Bucket,Region:Sf.Region,Key:Sf.Key,headers:Sf.Headers,action:"select",qs:{"select-type":Sf.SelectType},VersionId:Sf.VersionId,body:bh,DataType:"arraybuffer",rawBody:!0,tracker:Sf.tracker},function(Oh,Ih){if(Oh&&Oh.statusCode===204)return oh(null,{statusCode:Oh.statusCode});if(Oh)return oh(Oh);var fh=ld.parseSelectPayload(Ih.body);oh(null,{statusCode:Ih.statusCode,headers:Ih.headers,Body:fh.body,Payload:fh.payload})})}function Yh(Sf,oh){var Zf=this,lh=Sf.Headers,bh=Sf.tracker;!lh["Cache-Control"]&&!lh["cache-control"]&&(lh["Cache-Control"]=""),!lh["Content-Type"]&&!lh["content-type"]&&(lh["Content-Type"]=Sf.Body&&Sf.Body.type||"");var gh=Sf.Body&&(Sf.UploadAddMetaMd5||Zf.options.UploadAddMetaMd5);gh&&bh&&bh.setParams({md5StartTime:new Date().getTime()}),ld.getBodyMd5(gh,Sf.Body,function(Oh){Oh&&(Sf.Headers["x-cos-meta-md5"]=Oh),gh&&bh&&bh.setParams({md5EndTime:new Date().getTime()}),Rm.call(Zf,{Action:"name/cos:InitiateMultipartUpload",method:"POST",Bucket:Sf.Bucket,Region:Sf.Region,Key:Sf.Key,action:"uploads",headers:Sf.Headers,qs:Sf.Query,tracker:bh},function(Ih,fh){if(Ih)return bh&&bh.parent&&bh.parent.setParams({errorNode:"multipartInit"}),oh(Ih);if(fh=ld.clone(fh||{}),fh&&fh.InitiateMultipartUploadResult)return oh(null,ld.extend(fh.InitiateMultipartUploadResult,{statusCode:fh.statusCode,headers:fh.headers}));oh(null,fh)})},Sf.onHashProgress)}function hm(Sf,oh){var Zf=this;ld.getFileSize("multipartUpload",Sf,function(){var lh=Sf.tracker,bh=Zf.options.UploadCheckContentMd5;bh&&lh&&lh.setParams({md5StartTime:new Date().getTime()}),ld.getBodyMd5(bh,Sf.Body,function(gh){gh&&(Sf.Headers["Content-MD5"]=ld.b64(gh)),bh&&lh&&lh.setParams({md5EndTime:new Date().getTime()}),lh&&lh.setParams({partNumber:Sf.PartNumber}),Rm.call(Zf,{Action:"name/cos:UploadPart",TaskId:Sf.TaskId,method:"PUT",Bucket:Sf.Bucket,Region:Sf.Region,Key:Sf.Key,qs:{partNumber:Sf.PartNumber,uploadId:Sf.UploadId},headers:Sf.Headers,onProgress:Sf.onProgress,body:Sf.Body||null,tracker:lh},function(Oh,Ih){if(Oh)return lh&&lh.parent&&lh.parent.setParams({errorNode:"multipartUpload"}),oh(Oh);oh(null,{ETag:ld.attr(Ih.headers,"etag",""),statusCode:Ih.statusCode,headers:Ih.headers})})})})}function im(Sf,oh){for(var Zf=this,lh=Sf.UploadId,bh=Sf.Parts,gh=Sf.tracker,Oh=0,Ih=bh.length;Oh-1?jm(cm.Authorization):"sign="+encodeURIComponent(cm.Authorization)),cm.SecurityToken&&(gm+="&x-cos-security-token="+cm.SecurityToken),cm.ClientIP&&(gm+="&clientIP="+cm.ClientIP),cm.ClientUA&&(gm+="&clientUA="+cm.ClientUA),cm.Token&&(gm+="&token="+cm.Token),gh&&(gm+="&"+gh),setTimeout(function(){oh(null,{Url:gm})})}});return fh?(Oh+="?"+fh.Authorization+(fh.SecurityToken?"&x-cos-security-token="+fh.SecurityToken:""),gh&&(Oh+="&"+gh)):gh&&(Oh+="?"+gh),Oh}function Xm(Sf){var oh={GrantFullControl:[],GrantWrite:[],GrantRead:[],GrantReadAcp:[],GrantWriteAcp:[],ACL:""},Zf={FULL_CONTROL:"GrantFullControl",WRITE:"GrantWrite",READ:"GrantRead",READ_ACP:"GrantReadAcp",WRITE_ACP:"GrantWriteAcp"},lh=Sf&&Sf.AccessControlList||{},bh=lh.Grant;bh&&(bh=ld.isArray(bh)?bh:[bh]);var gh={READ:0,WRITE:0,FULL_CONTROL:0};return bh&&bh.length&&ld.each(bh,function(Oh){Oh.Grantee.ID==="qcs::cam::anyone:anyone"||Oh.Grantee.URI==="http://cam.qcloud.com/groups/global/AllUsers"?gh[Oh.Permission]=1:Oh.Grantee.ID!==Sf.Owner.ID&&oh[Zf[Oh.Permission]].push('id="'+Oh.Grantee.ID+'"')}),gh.FULL_CONTROL||gh.WRITE&&gh.READ?oh.ACL="public-read-write":gh.READ?oh.ACL="public-read":oh.ACL="private",ld.each(Zf,function(Oh){oh[Oh]=B_(oh[Oh].join(","))}),oh}function B_(Sf){var oh=Sf.split(","),Zf={},lh,bh;for(lh=0;lh"u"?"undefined":sd(location))==="object"&&location.protocol==="http:"?"http:":"https:");gh||(["cn-south","cn-south-2","cn-north","cn-east","cn-southwest","sg"].indexOf(oh)>-1?gh="{Region}.myqcloud.com":gh="cos.{Region}.myqcloud.com",Sf.ForcePathStyle||(gh="{Bucket}."+gh)),gh=gh.replace(/\{\{AppId\}\}/gi,bh).replace(/\{\{Bucket\}\}/gi,lh).replace(/\{\{Region\}\}/gi,oh).replace(/\{\{.*?\}\}/gi,""),gh=gh.replace(/\{AppId\}/gi,bh).replace(/\{BucketName\}/gi,lh).replace(/\{Bucket\}/gi,Zf).replace(/\{Region\}/gi,oh).replace(/\{.*?\}/gi,""),/^[a-zA-Z]+:\/\//.test(gh)||(gh=Ih+"//"+gh),gh.slice(-1)==="/"&&(gh=gh.slice(0,-1));var fh=gh;return Sf.ForcePathStyle&&(fh+="/"+Zf),fh+="/",Oh&&(fh+=ld.camSafeUrlEncode(Oh).replace(/%2F/g,"/")),Sf.isLocation&&(fh=fh.replace(/^https?:\/\//,"")),fh}var Y_=function(oh){if(!oh.Bucket||!oh.Region)return"";var Zf=oh.UseAccelerate===void 0?this.options.UseAccelerate:oh.UseAccelerate,lh=oh.Url||H_({ForcePathStyle:this.options.ForcePathStyle,protocol:this.options.Protocol,domain:this.options.Domain,bucket:oh.Bucket,region:Zf?"accelerate":oh.Region}),bh=lh.replace(/^https?:\/\/([^/]+)(\/.*)?$/,"$1");return bh};function X_(Sf,oh){var Zf=ld.clone(Sf.Headers),lh="";ld.each(Zf,function(p_,r_){(p_===""||["content-type","cache-control","expires"].indexOf(r_.toLowerCase())>-1)&&delete Zf[r_],r_.toLowerCase()==="host"&&(lh=p_)});var bh=Sf.ForceSignHost!==!1;!lh&&Sf.SignHost&&bh&&(Zf.Host=Sf.SignHost);var gh=!1,Oh=function(r_,Lm){gh||(gh=!0,Lm&&Lm.XCosSecurityToken&&!Lm.SecurityToken&&(Lm=ld.clone(Lm),Lm.SecurityToken=Lm.XCosSecurityToken,delete Lm.XCosSecurityToken),oh&&oh(r_,Lm))},Ih=this,fh=Sf.Bucket||"",Xh=Sf.Region||"",cm=Sf.Key||"";Ih.options.ForcePathStyle&&fh&&(cm=fh+"/"+cm);var jm="/"+cm,gm={},Vm=Sf.Scope;if(!Vm){var y_=Sf.Action||"",x_=Sf.ResourceKey||Sf.Key||"";Vm=Sf.Scope||[{action:y_,bucket:fh,region:Xh,prefix:x_}]}var u_=ld.md5(JSON.stringify(Vm));Ih._StsCache=Ih._StsCache||[],function(){var p_,r_;for(p_=Ih._StsCache.length-1;p_>=0;p_--){r_=Ih._StsCache[p_];var Lm=Math.round(ld.getSkewTime(Ih.options.SystemClockOffset)/1e3)+30;if(r_.StartTime&&Lm=r_.ExpiredTime){Ih._StsCache.splice(p_,1);continue}if(!r_.ScopeLimit||r_.ScopeLimit&&r_.ScopeKey===u_){gm=r_;break}}}();var Nm=function(){var r_="";gm.StartTime&&Sf.Expires?r_=gm.StartTime+";"+(gm.StartTime+Sf.Expires*1):gm.StartTime&&gm.ExpiredTime&&(r_=gm.StartTime+";"+gm.ExpiredTime);var Lm=ld.getAuth({SecretId:gm.TmpSecretId,SecretKey:gm.TmpSecretKey,Method:Sf.Method,Pathname:jm,Query:Sf.Query,Headers:Zf,Expires:Sf.Expires,UseRawKey:Ih.options.UseRawKey,SystemClockOffset:Ih.options.SystemClockOffset,KeyTime:r_,ForceSignHost:bh}),g_={Authorization:Lm,SecurityToken:gm.SecurityToken||gm.XCosSecurityToken||"",Token:gm.Token||"",ClientIP:gm.ClientIP||"",ClientUA:gm.ClientUA||"",SignFrom:"client"};Oh(null,g_)},G_=function(r_){if(r_.Authorization){var Lm=!1,g_=r_.Authorization;if(g_)if(g_.indexOf(" ")>-1)Lm=!1;else if(g_.indexOf("q-sign-algorithm=")>-1&&g_.indexOf("q-ak=")>-1&&g_.indexOf("q-sign-time=")>-1&&g_.indexOf("q-key-time=")>-1&&g_.indexOf("q-url-param-list=")>-1)Lm=!0;else try{g_=atob(g_),g_.indexOf("a=")>-1&&g_.indexOf("k=")>-1&&g_.indexOf("t=")>-1&&g_.indexOf("r=")>-1&&g_.indexOf("b=")>-1&&(Lm=!0)}catch{}if(!Lm)return ld.error(new Error("getAuthorization callback params format error"))}else{if(!r_.TmpSecretId)return ld.error(new Error('getAuthorization callback params missing "TmpSecretId"'));if(!r_.TmpSecretKey)return ld.error(new Error('getAuthorization callback params missing "TmpSecretKey"'));if(!r_.SecurityToken&&!r_.XCosSecurityToken)return ld.error(new Error('getAuthorization callback params missing "SecurityToken"'));if(!r_.ExpiredTime)return ld.error(new Error('getAuthorization callback params missing "ExpiredTime"'));if(r_.ExpiredTime&&r_.ExpiredTime.toString().length!==10)return ld.error(new Error('getAuthorization callback params "ExpiredTime" should be 10 digits'));if(r_.StartTime&&r_.StartTime.toString().length!==10)return ld.error(new Error('getAuthorization callback params "StartTime" should be 10 StartTime'))}return!1};if(gm.ExpiredTime&&gm.ExpiredTime-ld.getSkewTime(Ih.options.SystemClockOffset)/1e3>60)Nm();else if(Ih.options.getAuthorization)Ih.options.getAuthorization.call(Ih,{Bucket:fh,Region:Xh,Method:Sf.Method,Key:cm,Pathname:jm,Query:Sf.Query,Headers:Zf,Scope:Vm,SystemClockOffset:Ih.options.SystemClockOffset,ForceSignHost:bh},function(p_){typeof p_=="string"&&(p_={Authorization:p_});var r_=G_(p_);if(r_)return Oh(r_);p_.Authorization?Oh(null,p_):(gm=p_||{},gm.Scope=Vm,gm.ScopeKey=u_,Ih._StsCache.push(gm),Nm())});else if(Ih.options.getSTS)Ih.options.getSTS.call(Ih,{Bucket:fh,Region:Xh},function(p_){gm=p_||{},gm.Scope=Vm,gm.ScopeKey=u_,gm.TmpSecretId||(gm.TmpSecretId=gm.SecretId),gm.TmpSecretKey||(gm.TmpSecretKey=gm.SecretKey);var r_=G_(gm);if(r_)return Oh(r_);Ih._StsCache.push(gm),Nm()});else return function(){var p_="";if(Ih.options.StartTime&&Sf.Expires){if(Ih.options.StartTime.toString().length!==10)return Oh(ld.error(new Error('params "StartTime" should be 10 digits')));p_=Ih.options.StartTime+";"+(Ih.options.StartTime+Sf.Expires*1)}else if(Ih.options.StartTime&&Ih.options.ExpiredTime){if(Ih.options.StartTime.toString().length!==10)return Oh(ld.error(new Error('params "StartTime" should be 10 digits')));if(Ih.options.ExpiredTime.toString().length!==10)return Oh(ld.error(new Error('params "ExpiredTime" should be 10 digits')));p_=Ih.options.StartTime+";"+Ih.options.ExpiredTime*1}var r_=ld.getAuth({SecretId:Sf.SecretId||Ih.options.SecretId,SecretKey:Sf.SecretKey||Ih.options.SecretKey,Method:Sf.Method,Pathname:jm,Query:Sf.Query,Headers:Zf,Expires:Sf.Expires,KeyTime:p_,UseRawKey:Ih.options.UseRawKey,SystemClockOffset:Ih.options.SystemClockOffset,ForceSignHost:bh}),Lm={Authorization:r_,SecurityToken:Ih.options.SecurityToken||Ih.options.XCosSecurityToken,SignFrom:"client"};return Oh(null,Lm),Lm}();return""}function F_(Sf){var oh=this,Zf=!1,lh=!1,bh=!1,gh=Sf.headers&&(Sf.headers.date||Sf.headers.Date)||Sf.error&&Sf.error.ServerTime;try{var Oh=Sf.error.Code,Ih=Sf.error.Message;(Oh==="RequestTimeTooSkewed"||Oh==="AccessDenied"&&Ih==="Request has expired")&&(lh=!0)}catch{}if(Sf)if(lh&&gh){var fh=Date.parse(gh);this.options.CorrectClockSkew&&Math.abs(ld.getSkewTime(this.options.SystemClockOffset)-fh)>=3e4&&(console.error("error: Local time is too skewed."),this.options.SystemClockOffset=fh-Date.now(),Zf=!0)}else Math.floor(Sf.statusCode/100)===5?Zf=!0:Sf.message==="CORS blocked or network error"&&(bh=!0,Zf=oh.options.AutoSwitchHost);return{canRetry:Zf,networkError:bh}}function N_(Sf){var oh=Sf.requestUrl,Zf=Sf.clientCalcSign,lh=Sf.networkError;if(!this.options.AutoSwitchHost||!oh||!Zf||!lh)return!1;var bh=/^https?:\/\/[^\/]*\.cos\.[^\/]*\.myqcloud\.com(\/.*)?$/,gh=/^https?:\/\/[^\/]*\.cos\.accelerate\.myqcloud\.com(\/.*)?$/,Oh=bh.test(oh)&&!gh.test(oh);return Oh}function Rm(Sf,oh){var Zf=this;!Sf.headers&&(Sf.headers={}),!Sf.qs&&(Sf.qs={}),Sf.VersionId&&(Sf.qs.versionId=Sf.VersionId),Sf.qs=ld.clearKey(Sf.qs),Sf.headers&&(Sf.headers=ld.clearKey(Sf.headers)),Sf.qs&&(Sf.qs=ld.clearKey(Sf.qs));var lh=ld.clone(Sf.qs);Sf.action&&(lh[Sf.action]="");var bh=Sf.url||Sf.Url,gh=Sf.SignHost||Y_.call(this,{Bucket:Sf.Bucket,Region:Sf.Region,Url:bh}),Oh=Sf.tracker,Ih=function fh(Xh){var cm=Zf.options.SystemClockOffset;Oh&&Oh.setParams({signStartTime:new Date().getTime(),httpRetryTimes:Xh-1}),Sf.SwitchHost&&(gh=gh.replace(/myqcloud.com/,"tencentcos.cn")),X_.call(Zf,{Bucket:Sf.Bucket||"",Region:Sf.Region||"",Method:Sf.method,Key:Sf.Key,Query:lh,Headers:Sf.headers,SignHost:gh,Action:Sf.Action,ResourceKey:Sf.ResourceKey,Scope:Sf.Scope,ForceSignHost:Zf.options.ForceSignHost,SwitchHost:Sf.SwitchHost},function(jm,gm){if(jm){oh(jm);return}Oh&&Oh.setParams({signEndTime:new Date().getTime(),httpStartTime:new Date().getTime()}),Sf.AuthData=gm,Dg.call(Zf,Sf,function(Vm,y_){Oh&&Oh.setParams({httpEndTime:new Date().getTime()});var x_=!1,u_=!1;if(Vm){var Nm=F_.call(Zf,Vm);x_=Nm.canRetry||cm!==Zf.options.SystemClockOffset,u_=Nm.networkError}if(Vm&&Xh<2&&x_){Sf.headers&&(delete Sf.headers.Authorization,delete Sf.headers.token,delete Sf.headers.clientIP,delete Sf.headers.clientUA,Sf.headers["x-cos-security-token"]&&delete Sf.headers["x-cos-security-token"],Sf.headers["x-ci-security-token"]&&delete Sf.headers["x-ci-security-token"]);var G_=N_.call(Zf,{requestUrl:(Vm==null?void 0:Vm.url)||"",clientCalcSign:gm.SignFrom==="client",networkError:u_});Sf.SwitchHost=G_,Sf.retry=!0,fh(Xh+1)}else oh(Vm,y_)})})};Ih(1)}function Dg(Sf,oh){var Zf=this,lh=Sf.TaskId;if(!(lh&&!Zf._isRunningTask(lh))){var bh=Sf.Bucket,gh=Sf.Region,Oh=Sf.Key,Ih=Sf.method||"GET",fh=Sf.Url||Sf.url,Xh=Sf.body,cm=Sf.rawBody;Zf.options.UseAccelerate&&(gh="accelerate"),fh=fh||H_({ForcePathStyle:Zf.options.ForcePathStyle,protocol:Zf.options.Protocol,domain:Zf.options.Domain,bucket:bh,region:gh,object:Oh}),Sf.SwitchHost&&(fh=fh.replace(/myqcloud.com/,"tencentcos.cn"));var jm=Oh?fh:"";Sf.action&&(fh=fh+"?"+(ld.isIOS_QQ?"".concat(Sf.action,"="):Sf.action)),Sf.qsStr&&(fh.indexOf("?")>-1?fh=fh+"&"+Sf.qsStr:fh=fh+"?"+Sf.qsStr);var gm={method:Ih,url:fh,headers:Sf.headers,qs:Sf.qs,body:Xh},Vm="x-cos-security-token";if(ld.isCIHost(fh)&&(Vm="x-ci-security-token"),gm.headers.Authorization=Sf.AuthData.Authorization,Sf.AuthData.Token&&(gm.headers.token=Sf.AuthData.Token),Sf.AuthData.ClientIP&&(gm.headers.clientIP=Sf.AuthData.ClientIP),Sf.AuthData.ClientUA&&(gm.headers.clientUA=Sf.AuthData.ClientUA),Sf.AuthData.SecurityToken&&(gm.headers[Vm]=Sf.AuthData.SecurityToken),gm.headers&&(gm.headers=ld.clearKey(gm.headers)),Sf.retry&&(gm.headers["x-cos-sdk-retry"]=!0),gm=ld.clearKey(gm),Sf.onProgress&&typeof Sf.onProgress=="function"){var y_=Xh&&(Xh.size||Xh.length)||0;gm.onProgress=function(Lm){if(!(lh&&!Zf._isRunningTask(lh))){var g_=Lm?Lm.loaded:0;Sf.onProgress({loaded:g_,total:y_})}}}Sf.onDownloadProgress&&(gm.onDownloadProgress=Sf.onDownloadProgress),Sf.DataType&&(gm.dataType=Sf.DataType),this.options.Timeout&&(gm.timeout=this.options.Timeout),Zf.options.ForcePathStyle&&(gm.pathStyle=Zf.options.ForcePathStyle),Zf.emit("before-send",gm);var x_=gm.url.includes("accelerate."),u_=gm.qs?Object.keys(gm.qs).map(function(Lm){return"".concat(Lm,"=").concat(gm.qs[Lm])}).join("&"):"",Nm=u_?gm.url+"?"+u_:gm.url;if(Sf.tracker){var G_;Sf.tracker.setParams({url:Nm,httpMethod:gm.method,accelerate:x_,httpSize:((G_=gm.body)===null||G_===void 0?void 0:G_.size)||0}),Sf.tracker.parent&&!Sf.tracker.parent.params.url&&Sf.tracker.parent.setParams({url:jm,accelerate:x_})}var p_=(Zf.options.Request||od)(gm,function(Lm){if(!(Lm&&Lm.error==="abort")){var g_={options:gm,error:Lm&&Lm.error,statusCode:Lm&&Lm.statusCode||0,statusMessage:Lm&&Lm.statusMessage||"",headers:Lm&&Lm.headers||{},body:Lm&&Lm.body};Zf.emit("after-receive",g_);var Xg=g_.error,Qg=g_.body,fm={statusCode:g_.statusCode,statusMessage:g_.statusMessage,headers:g_.headers},n_,Ig=function(Og,q_){if(lh&&Zf.off("inner-kill-task",r_),!n_){n_=!0;var hg={};if(fm&&fm.statusCode&&(hg.statusCode=fm.statusCode),fm&&fm.headers&&(hg.headers=fm.headers),Og)gm.url&&(hg.url=gm.url),gm.method&&(hg.method=gm.method),Og=ld.extend(Og||{},hg),oh(Og,null);else{if(Sf.Action==="name/cos:PutObject"){var ig={};for(var Zg in Sf.headers){var I0=Zg.toLowerCase();ig[I0]=Sf.headers[Zg]}ig["x-cos-callback"]?q_.Error?(q_.CallbackError=ld.clone(q_.Error),delete q_.Error):q_.CallbackBody=ld.clone(q_):ig["x-cos-return-body"]&&(q_.Error?(q_.ReturnError=ld.clone(q_.Error),delete q_.Error):q_.ReturnBody=ld.clone(q_))}q_=ld.extend(q_||{},hg),oh(null,q_)}p_=null}};if(Xg)return Ig(ld.error(Xg));var d0=fm.statusCode,p0=Math.floor(d0/100)===2;if(cm){if(p0)return Ig(null,{body:Qg});if(Qg instanceof Blob){ld.readAsBinaryString(Qg,function(i_){var Og=ld.parseResBody(i_),q_=Og.Error||Og;return Ig(ld.error(new Error(q_.Message||"response body error"),{code:q_.Code,error:q_}))});return}}var jg=ld.parseResBody(Qg),Jg=jg.Error||jg;p0?Ig(null,jg):Jg?Ig(ld.error(new Error(Jg.Message),{code:Jg.Code,error:Jg})):d0?Ig(ld.error(new Error(fm.statusMessage),{code:""+d0})):d0&&Ig(ld.error(new Error("statusCode error")))}}),r_=function Lm(g_){g_.TaskId===lh&&(p_&&p_.abort&&p_.abort(),Zf.off("inner-kill-task",Lm))};lh&&Zf.on("inner-kill-task",r_)}}var Fg={getService:ud,putBucket:cd,headBucket:dd,getBucket:_d,deleteBucket:Ed,putBucketAcl:Ad,getBucketAcl:Td,putBucketCors:Id,getBucketCors:Bd,deleteBucketCors:Rd,getBucketLocation:Od,getBucketPolicy:Ld,putBucketPolicy:Md,deleteBucketPolicy:Fd,putBucketTagging:jd,getBucketTagging:Vd,deleteBucketTagging:Qd,putBucketLifecycle:qd,getBucketLifecycle:Kd,deleteBucketLifecycle:Xd,putBucketVersioning:df,getBucketVersioning:mf,putBucketReplication:bf,getBucketReplication:pf,deleteBucketReplication:_f,putBucketWebsite:Tf,getBucketWebsite:kf,deleteBucketWebsite:zf,putBucketReferer:Jf,getBucketReferer:Gf,putBucketDomain:Mf,getBucketDomain:Nf,deleteBucketDomain:Bf,putBucketOrigin:Qf,getBucketOrigin:Wf,deleteBucketOrigin:yf,putBucketLogging:hf,getBucketLogging:Rf,putBucketInventory:Kf,postBucketInventory:Ff,getBucketInventory:wf,listBucketInventory:Yf,deleteBucketInventory:uh,putBucketAccelerate:Uf,getBucketAccelerate:Cf,putBucketEncryption:If,getBucketEncryption:Lf,deleteBucketEncryption:sh,getObject:Ah,headObject:hh,listObjectVersions:rh,putObject:ph,deleteObject:vh,getObjectAcl:qh,putObjectAcl:kh,optionsObject:Wh,putObjectCopy:om,deleteMultipleObject:Df,restoreObject:Af,putObjectTagging:Xf,getObjectTagging:ah,deleteObjectTagging:yh,selectObjectContent:Dh,appendObject:L_,uploadPartCopy:th,multipartInit:Yh,multipartUpload:hm,multipartComplete:im,multipartList:Fm,multipartListPart:Dm,multipartAbort:Om,request:Qm,getObjectUrl:S_,getAuth:T_};function am(Sf,oh,Zf){ld.each(["Cors","Acl"],function(lh){if(Sf.slice(-lh.length)===lh){var bh=Sf.slice(0,-lh.length)+lh.toUpperCase(),gh=ld.apiWrapper(Sf,oh),Oh=!1;Zf[bh]=function(){!Oh&&console.warn("warning: cos."+bh+" has been deprecated. Please Use cos."+Sf+" instead."),Oh=!0,gh.apply(this,arguments)}}})}ed.exports.init=function(Sf,oh){oh.transferToTaskMethod(Fg,"putObject"),ld.each(Fg,function(Zf,lh){Sf.prototype[lh]=ld.apiWrapper(lh,Zf),am(lh,Zf,Sf.prototype)})}},"./src/cos.js":function(ed,td,rd){var sd=rd("./src/util.js"),od=rd("./src/event.js"),ld=rd("./src/task.js"),ud=rd("./src/base.js"),cd=rd("./src/advance.js"),dd=rd("./package.json"),_d={AppId:"",SecretId:"",SecretKey:"",SecurityToken:"",StartTime:0,ExpiredTime:0,ChunkRetryTimes:2,FileParallelLimit:3,ChunkParallelLimit:3,ChunkSize:1024*1024,SliceSize:1024*1024,CopyChunkParallelLimit:20,CopyChunkSize:1024*1024*10,CopySliceSize:1024*1024*10,MaxPartNumber:1e4,ProgressInterval:1e3,Domain:"",ServiceDomain:"",Protocol:"",CompatibilityMode:!1,ForcePathStyle:!1,UseRawKey:!1,Timeout:0,CorrectClockSkew:!0,SystemClockOffset:0,UploadCheckContentMd5:!1,UploadQueueSize:1e4,UploadAddMetaMd5:!1,UploadIdCacheLimit:50,UseAccelerate:!1,ForceSignHost:!0,AutoSwitchHost:!0,CopySourceParser:null,ObjectKeySimplifyCheck:!0,DeepTracker:!1,TrackerDelay:5e3,CustomId:"",BeaconReporter:null,ClsReporter:null},Ed=function(Td){if(this.options=sd.extend(sd.clone(_d),Td||{}),this.options.FileParallelLimit=Math.max(1,this.options.FileParallelLimit),this.options.ChunkParallelLimit=Math.max(1,this.options.ChunkParallelLimit),this.options.ChunkRetryTimes=Math.max(0,this.options.ChunkRetryTimes),this.options.ChunkSize=Math.max(1024*1024,this.options.ChunkSize),this.options.CopyChunkParallelLimit=Math.max(1,this.options.CopyChunkParallelLimit),this.options.CopyChunkSize=Math.max(1024*1024,this.options.CopyChunkSize),this.options.CopySliceSize=Math.max(0,this.options.CopySliceSize),this.options.MaxPartNumber=Math.max(1024,Math.min(1e4,this.options.MaxPartNumber)),this.options.Timeout=Math.max(0,this.options.Timeout),this.options.EnableReporter=this.options.BeaconReporter||this.options.ClsReporter,this.options.AppId&&console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g: "test-1250000000").'),this.options.SecretId&&this.options.SecretId.indexOf(" ")>-1&&(console.error("error: SecretId格式错误,请检查"),console.error("error: SecretId format is incorrect. Please check")),this.options.SecretKey&&this.options.SecretKey.indexOf(" ")>-1&&(console.error("error: SecretKey格式错误,请检查"),console.error("error: SecretKey format is incorrect. Please check")),sd.isNode()&&(console.log("Tip: Next.js、Nuxt.js 等服务端渲染技术可正常使用JavaScript SDK,请忽略下方 nodejs 环境警告"),console.warn("warning: cos-js-sdk-v5 不支持 nodejs 环境使用,请改用 cos-nodejs-sdk-v5,参考文档: https://cloud.tencent.com/document/product/436/8629"),console.warn("warning: cos-js-sdk-v5 does not support nodejs environment. Please use cos-nodejs-sdk-v5 instead. See: https://cloud.tencent.com/document/product/436/8629")),this.options.ForcePathStyle)throw console.warn("cos-js-sdk-v5不再支持使用path-style,仅支持使用virtual-hosted-style,参考文档:https://cloud.tencent.com/document/product/436/96243"),new Error("ForcePathStyle is not supported");od.init(this),ld.init(this)};ud.init(Ed,ld),cd.init(Ed,ld),Ed.util={md5:sd.md5,xml2json:sd.xml2json,json2xml:sd.json2xml,encodeBase64:sd.encodeBase64},Ed.getAuthorization=sd.getAuth,Ed.version=dd.version,ed.exports=Ed},"./src/event.js":function(ed,td){var rd=function(ld){var ud={},cd=function(_d){return!ud[_d]&&(ud[_d]=[]),ud[_d]};ld.on=function(dd,_d){dd==="task-list-update"&&console.warn('warning: Event "'+dd+'" has been deprecated. Please use "list-update" instead.'),cd(dd).push(_d)},ld.off=function(dd,_d){for(var Ed=cd(dd),Ad=Ed.length-1;Ad>=0;Ad--)_d===Ed[Ad]&&Ed.splice(Ad,1)},ld.emit=function(dd,_d){for(var Ed=cd(dd).map(function(Td){return Td}),Ad=0;Ad=0;Od--){var Md=ud[Od][2];(!Md||Md+ld=0;Md--){var Ld=ud[Md];Ld[0]===Bd&&Ld[1]===Rd&&ud.splice(Md,1)}ud.unshift([Bd,Rd,Math.round(Date.now()/1e3)]),ud.length>Od&&ud.splice(Od),Ad()}},removeUploadId:function(Bd){Ed.call(this),delete Td.using[Bd];for(var Rd=ud.length-1;Rd>=0;Rd--)ud[Rd][1]===Bd&&ud.splice(Rd,1);Ad()}};ed.exports=Td},"./src/task.js":function(ed,td,rd){var sd=rd("./src/session.js"),od=rd("./src/util.js"),ld={},ud=function(_d,Ed){ld[Ed]=_d[Ed],_d[Ed]=function(Ad,Td){Ad.SkipTask?ld[Ed].call(this,Ad,Td):this._addTask(Ed,Ad,Td)}},cd=function(_d){var Ed=[],Ad={},Td=0,Id=0,Bd=function(Vd){var Qd={id:Vd.id,Bucket:Vd.Bucket,Region:Vd.Region,Key:Vd.Key,FilePath:Vd.FilePath,state:Vd.state,loaded:Vd.loaded,size:Vd.size,speed:Vd.speed,percent:Vd.percent,hashPercent:Vd.hashPercent,error:Vd.error};return Vd.FilePath&&(Qd.FilePath=Vd.FilePath),Vd._custom&&(Qd._custom=Vd._custom),Qd},Rd=function(){var jd,Vd=function(){jd=0,_d.emit("task-list-update",{list:od.map(Ed,Bd)}),_d.emit("list-update",{list:od.map(Ed,Bd)})};return function(){jd||(jd=setTimeout(Vd))}}(),Od=function(){if(!(Ed.length<=_d.options.UploadQueueSize)){for(var Vd=0;Vd_d.options.UploadQueueSize;){var Qd=Ed[Vd].state==="waiting"||Ed[Vd].state==="checking"||Ed[Vd].state==="uploading";!Ed[Vd]||!Qd?(Ad[Ed[Vd].id]&&delete Ad[Ed[Vd].id],Ed.splice(Vd,1),Id--):Vd++}Rd()}},Md=function jd(){if(!(Td>=_d.options.FileParallelLimit)){for(;Ed[Id]&&Ed[Id].state!=="waiting";)Id++;if(!(Id>=Ed.length)){var Vd=Ed[Id];Id++,Td++,Vd.state="checking",Vd.params.onTaskStart&&Vd.params.onTaskStart(Bd(Vd)),!Vd.params.UploadData&&(Vd.params.UploadData={});var Qd=od.formatParams(Vd.api,Vd.params);ld[Vd.api].call(_d,Qd,function(qd,Kd){_d._isRunningTask(Vd.id)&&((Vd.state==="checking"||Vd.state==="uploading")&&(Vd.state=qd?"error":"success",qd&&(Vd.error=qd),Td--,Rd(),jd(),Vd.callback&&Vd.callback(qd,Kd),Vd.state==="success"&&(Vd.params&&(delete Vd.params.UploadData,delete Vd.params.Body,delete Vd.params),delete Vd.callback)),Od())}),Rd(),setTimeout(jd)}}},Ld=function(Vd,Qd){var qd=Ad[Vd];if(qd){var Kd=qd&&qd.state==="waiting",Xd=qd&&(qd.state==="checking"||qd.state==="uploading");if(Qd==="canceled"&&qd.state!=="canceled"||Qd==="paused"&&Kd||Qd==="paused"&&Xd){qd.state=Qd,_d.emit("inner-kill-task",{TaskId:Vd,toState:Qd});try{var df=qd&&qd.params&&qd.params.UploadData.UploadId}catch{}Qd==="canceled"&&df&&sd.removeUsing(df),Rd(),Xd&&(Td--,Md()),Qd==="canceled"&&(qd.params&&(delete qd.params.UploadData,delete qd.params.Body,delete qd.params),delete qd.callback)}Od()}};_d._addTasks=function(jd){od.each(jd,function(Vd){_d._addTask(Vd.api,Vd.params,Vd.callback,!0)}),Rd()};var Fd=!0;_d._addTask=function(jd,Vd,Qd,qd){Vd=od.formatParams(jd,Vd);var Kd=od.uuid();Vd.TaskId=Kd,Vd.onTaskReady&&Vd.onTaskReady(Kd),Vd.TaskReady&&(Vd.TaskReady(Kd),Fd&&console.warn('warning: Param "TaskReady" has been deprecated. Please use "onTaskReady" instead.'),Fd=!1);var Xd={params:Vd,callback:Qd,api:jd,index:Ed.length,id:Kd,Bucket:Vd.Bucket,Region:Vd.Region,Key:Vd.Key,FilePath:Vd.FilePath||"",state:"waiting",loaded:0,size:0,speed:0,percent:0,hashPercent:0,error:null,_custom:Vd._custom},df=Vd.onHashProgress;Vd.onHashProgress=function(bf){_d._isRunningTask(Xd.id)&&(Xd.hashPercent=bf.percent,df&&df(bf),Rd())};var mf=Vd.onProgress;return Vd.onProgress=function(bf){_d._isRunningTask(Xd.id)&&(Xd.state==="checking"&&(Xd.state="uploading"),Xd.loaded=bf.loaded,Xd.speed=bf.speed,Xd.percent=bf.percent,mf&&mf(bf),Rd())},od.getFileSize(jd,Vd,function(bf,pf){if(bf)return Qd(od.error(bf));Ad[Kd]=Xd,Ed.push(Xd),Xd.size=pf,!qd&&Rd(),Md(),Od()}),Kd},_d._isRunningTask=function(jd){var Vd=Ad[jd];return!!(Vd&&(Vd.state==="checking"||Vd.state==="uploading"))},_d.getTaskList=function(){return od.map(Ed,Bd)},_d.cancelTask=function(jd){Ld(jd,"canceled")},_d.pauseTask=function(jd){Ld(jd,"paused")},_d.restartTask=function(jd){var Vd=Ad[jd];Vd&&(Vd.state==="paused"||Vd.state==="error")&&(Vd.state="waiting",Rd(),Id=Math.min(Id,Vd.index),Md())},_d.isUploadRunning=function(){return Td||Id"u"?"undefined":ld(navigator))==="object"){var Qd=navigator.connection||navigator.mozConnection||navigator.webkitConnection;return(Qd==null?void 0:Qd.type)||(Qd==null?void 0:Qd.effectiveType)||"unknown"}return"unknown"},getProtocol:function(){return(typeof location>"u"?"undefined":ld(location))==="object"?location.protocol.replace(/:/,""):"unknown protocol"},getOsType:function(){if((typeof navigator>"u"?"undefined":ld(navigator))!=="object")return"unknown os";var Qd=navigator.userAgent.toLowerCase(),qd=/macintosh|mac os x/i.test(navigator.userAgent);return Qd.indexOf("win32")>=0||Qd.indexOf("wow32")>=0?"win32":Qd.indexOf("win64")>=0||Qd.indexOf("wow64")>=0?"win64":qd?"mac":"unknown os"},isMobile:function(){var Qd=/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i;return!!((typeof navigator>"u"?"undefined":ld(navigator))==="object"&&navigator.userAgent.match(Qd))},isAndroid:function(){var Qd=/(Android|Adr|Linux)/i;return!!((typeof navigator>"u"?"undefined":ld(navigator))==="object"&&navigator.userAgent.match(Qd))},isIOS:function(){var Qd=/(iPhone|iPod|iPad|iOS)/i;return!!((typeof navigator>"u"?"undefined":ld(navigator))==="object"&&navigator.userAgent.match(Qd))},isOtherMobile:function(){return Ad&&!isAndroid&&!isIOS},getUA:function(){if((typeof navigator>"u"?"undefined":ld(navigator))!=="object")return"unknown device";var Qd=navigator.userAgent;return Qd}},Ad=Ed.isMobile(),Td=Ed.isAndroid()?"android":Ed.isIOS?"ios":"other_mobile",Id=Ed.getOsType(),Bd=Ad?Td:Id,Rd=Ed.getUA(),Od=Ed.getProtocol(),Md=function(Qd){return["putObject","sliceUploadFile","uploadFile","uploadFiles"].includes(Qd)?"UploadTask":Qd==="getObject"?"DownloadTask":["putObjectCopy","sliceCopyFile"].includes(Qd)?"CopyTask":Qd};function Ld(Vd){return Vd.replace(/([A-Z])/g,"_$1").toLowerCase()}function Fd(Vd){var Qd={},qd=["sdkVersionName","sdkVersionCode","osName","networkType","requestName","requestResult","bucket","region","appid","accelerate","url","host","requestPath","userAgent","networkProtocol","httpMethod","httpSize","httpSpeed","httpTookTime","httpMd5","httpSign","httpFullTime","httpDomain","partNumber","httpRetryTimes","customId","traceId","realApi"],Kd=[].concat(qd,["errorNode","errorCode","errorName","errorMessage","errorRequestId","errorHttpCode","errorServiceName","errorType","fullError"]),Xd=Vd.requestResult==="Success"?qd:Kd;for(var df in Vd)if(Xd.includes(df)){var mf=Ld(df);Qd[mf]=Vd[df]}return Qd.request_name=Vd.realApi?Md(Vd.realApi):Vd.requestName,Qd}var jd=function(){function Vd(Qd){sd(this,Vd);var qd=Qd.parent,Kd=Qd.traceId,Xd=Qd.bucket,df=Qd.region,mf=Qd.apiName,bf=Qd.realApi,pf=Qd.httpMethod,_f=Qd.fileKey,Tf=Qd.fileSize,kf=Qd.accelerate,zf=Qd.customId,Jf=Qd.delay,Gf=Qd.deepTracker,Mf=Qd.Beacon,Nf=Qd.clsReporter,Bf=Xd&&Xd.substr(Xd.lastIndexOf("-")+1)||"";this.parent=qd,this.deepTracker=Gf,this.delay=Jf,Nf&&!this.clsReporter&&(this.clsReporter=Nf),this.params={sdkVersionName:"cos-js-sdk-v5",sdkVersionCode:ud.version,osName:Bd,networkType:"",requestName:mf||"",requestResult:"",realApi:bf,bucket:Xd,region:df,accelerate:kf,httpMethod:pf,url:"",host:"",httpDomain:"",requestPath:_f||"",userAgent:Rd,networkProtocol:Od,errorType:"",errorCode:"",errorName:"",errorMessage:"",errorRequestId:"",errorHttpCode:0,errorServiceName:"",errorNode:"",httpTookTime:0,httpSize:Tf||0,httpMd5:0,httpSign:0,httpFullTime:0,httpSpeed:0,md5StartTime:0,md5EndTime:0,signStartTime:0,signEndTime:0,httpStartTime:0,httpEndTime:0,startTime:new Date().getTime(),endTime:0,traceId:Kd||Ed.getUid(),appid:Bf,partNumber:0,httpRetryTimes:0,customId:zf||"",partTime:0},Mf&&(this.beacon=dd(Mf,Jf))}return od(Vd,[{key:"formatResult",value:function(qd,Kd){var Xd,df,mf,bf,pf,_f,Tf=new Date().getTime(),kf=Ed.getNetType(),zf=qd?(qd==null?void 0:qd.code)||(qd==null||(Xd=qd.error)===null||Xd===void 0?void 0:Xd.code)||(qd==null||(df=qd.error)===null||df===void 0?void 0:df.Code):"",Jf=qd?(qd==null?void 0:qd.message)||(qd==null||(mf=qd.error)===null||mf===void 0?void 0:mf.message)||(qd==null||(bf=qd.error)===null||bf===void 0?void 0:bf.Message):"",Gf=Jf,Mf=qd?(qd==null?void 0:qd.resource)||(qd==null||(pf=qd.error)===null||pf===void 0?void 0:pf.resource)||(qd==null||(_f=qd.error)===null||_f===void 0?void 0:_f.Resource):"",Nf=qd?qd==null?void 0:qd.statusCode:Kd.statusCode,Bf=qd?(qd==null?void 0:qd.headers)&&(qd==null?void 0:qd.headers["x-cos-request-id"]):(Kd==null?void 0:Kd.headers)&&(Kd==null?void 0:Kd.headers["x-cos-request-id"]),Qf=qd?Bf?"Server":"Client":"";this.params.requestName==="getObject"&&(this.params.httpSize=Kd?Kd.headers&&Kd.headers["content-length"]:0);var Wf=this.params.realApi==="sliceUploadFile",yf=this.params.realApi==="sliceCopyFile";if(Wf||yf){var hf=this.params.httpSize/1024/this.params.partTime;Object.assign(this.params,{httpSpeed:hf<0?0:hf.toFixed(3)})}else{var Rf=Tf-this.params.startTime,jf=this.params.httpEndTime-this.params.httpStartTime,Kf=this.params.httpSize/1024/(jf/1e3),Ff=this.params.md5EndTime-this.params.md5StartTime,wf=this.params.signEndTime-this.params.signStartTime;this.parent&&(this.parent.addParamValue("httpTookTime",_d(jf)),this.parent.addParamValue("httpFullTime",_d(Rf)),this.parent.addParamValue("httpMd5",_d(Ff)),this.parent.addParamValue("httpSign",_d(wf)),["multipartUpload","uploadPartCopy","putObjectCopy"].includes(this.params.requestName)&&this.parent.addParamValue("partTime",_d(jf))),Object.assign(this.params,{httpFullTime:_d(Rf),httpMd5:_d(Ff),httpSign:_d(wf),httpTookTime:_d(jf),httpSpeed:Kf<0?0:Kf.toFixed(3)})}if(Object.assign(this.params,{networkType:kf,requestResult:qd?"Failure":"Success",errorType:Qf,errorCode:zf,errorHttpCode:Nf,errorName:Gf,errorMessage:Jf,errorServiceName:Mf,errorRequestId:Bf}),qd&&(!zf||!Jf)&&(this.params.fullError=qd?JSON.stringify(qd):""),this.params.url){try{var Yf=/^http(s)?:\/\/(.*?)\//.exec(this.params.url);this.params.host=Yf[2]}catch{this.params.host=this.params.url}this.params.httpDomain=this.params.host}}},{key:"report",value:function(qd,Kd){if(!(!this.beacon&&!this.clsReporter)){this.formatResult(qd,Kd);var Xd=Fd(this.params);this.beacon&&this.sendEventsToBeacon(Xd),this.clsReporter&&this.sendEventsToCLS(Xd)}}},{key:"setParams",value:function(qd){Object.assign(this.params,qd)}},{key:"addParamValue",value:function(qd,Kd){this.params[qd]=(+this.params[qd]+ +Kd).toFixed(3)}},{key:"sendEventsToBeacon",value:function(qd){var Kd=this.params.requestName==="sliceUploadFile"||this.params.realApi==="sliceUploadFile";if(!(Kd&&!this.deepTracker)){var Xd="qcloud_track_cos_sdk";this.delay===0?this.beacon&&this.beacon.onDirectUserAction(Xd,qd):this.beacon&&this.beacon.onUserAction(Xd,qd)}}},{key:"sendEventsToCLS",value:function(qd){var Kd=this.delay===0;this.clsReporter.log(qd,Kd)}},{key:"generateSubTracker",value:function(qd){return Object.assign(qd,{parent:this,deepTracker:this.deepTracker,traceId:this.params.traceId,bucket:this.params.bucket,region:this.params.region,accelerate:this.params.accelerate,fileKey:this.params.requestPath,customId:this.params.customId,delay:this.delay,clsReporter:this.clsReporter}),new Vd(qd)}}]),Vd}();ed.exports=jd},"./src/util.js":function(ed,td,rd){(function(sd){var od=rd("./node_modules/@babel/runtime/helpers/typeof.js");function ld(Df,Af){var Xf=typeof Symbol<"u"&&Df[Symbol.iterator]||Df["@@iterator"];if(!Xf){if(Array.isArray(Df)||(Xf=ud(Df))||Af){Xf&&(Df=Xf);var ah=0,yh=function(){};return{s:yh,n:function(){return ah>=Df.length?{done:!0}:{done:!1,value:Df[ah++]}},e:function(Fm){throw Fm},f:yh}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Dh=!0,Yh=!1,hm;return{s:function(){Xf=Xf.call(Df)},n:function(){var Fm=Xf.next();return Dh=Fm.done,Fm},e:function(Fm){Yh=!0,hm=Fm},f:function(){try{!Dh&&Xf.return!=null&&Xf.return()}finally{if(Yh)throw hm}}}}function ud(Df,Af){if(Df){if(typeof Df=="string")return cd(Df,Af);var Xf=Object.prototype.toString.call(Df).slice(8,-1);if(Xf==="Object"&&Df.constructor&&(Xf=Df.constructor.name),Xf==="Map"||Xf==="Set")return Array.from(Df);if(Xf==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Xf))return cd(Df,Af)}}function cd(Df,Af){(Af==null||Af>Df.length)&&(Af=Df.length);for(var Xf=0,ah=new Array(Af);XfDh?1:-1})}var Vd=function(Af,Xf){var ah,yh,Dh,Yh=[],hm=jd(Af);for(ah=0;ah-1||Qd.indexOf(yh)>-1)&&(Xf[ah]=Af[ah])}return Xf},Kd=function(Af){Af=Af||{};var Xf=Af.SecretId,ah=Af.SecretKey,yh=Af.KeyTime,Dh=(Af.method||Af.Method||"get").toLowerCase(),Yh=Nf(Af.Query||Af.params||{}),hm=qd(Nf(Af.Headers||Af.headers||{})),im=Af.Key||"",Fm;Af.UseRawKey?Fm=Af.Pathname||Af.pathname||"/"+im:(Fm=Af.Pathname||Af.pathname||im,Fm.indexOf("/")!==0&&(Fm="/"+Fm));var Dm=Af.ForceSignHost!==!1;if(!hm.Host&&!hm.host&&Af.Bucket&&Af.Region&&Dm&&(hm.Host=Af.Bucket+".cos."+Af.Region+".myqcloud.com"),!Xf)throw new Error("missing param SecretId");if(!ah)throw new Error("missing param SecretKey");var Om=Math.round(Lf(Af.SystemClockOffset)/1e3)-1,Qm=Om,L_=Af.Expires||Af.expires;L_===void 0?Qm+=900:Qm+=L_*1||0;var T_="sha1",S_=Xf,Xm=yh||Om+";"+Qm,B_=yh||Om+";"+Qm,H_=jd(hm,!0).join(";").toLowerCase(),Y_=jd(Yh,!0).join(";").toLowerCase(),X_=_d.HmacSHA1(B_,ah).toString(),F_=[Dh,Fm,th.obj2str(Yh,!0),th.obj2str(hm,!0),""].join(` -`),N_=["sha1",Xm,_d.SHA1(F_).toString(),""].join(` -`),Rm=_d.HmacSHA1(N_,X_).toString(),Dg=["q-sign-algorithm="+T_,"q-ak="+S_,"q-sign-time="+Xm,"q-key-time="+B_,"q-header-list="+H_,"q-url-param-list="+Y_,"q-signature="+Rm].join("&");return Dg},Xd=function(Af,Xf,ah){var yh=Xf/8,Dh=Af.slice(ah,ah+yh);return new Uint8Array(Dh).reverse(),new{8:Uint8Array,16:Uint16Array,32:Uint32Array}[Xf](Dh)[0]},df=function(Af,Xf,ah,yh){var Dh=Af.slice(Xf,ah),Yh="";return new Uint8Array(Dh).forEach(function(hm){Yh+=String.fromCharCode(hm)}),yh&&(Yh=decodeURIComponent(escape(Yh))),Yh},mf=function(Af){for(var Xf={},ah=df(Af),yh={records:[]};Af.byteLength;){var Dh=Xd(Af,32,0),Yh=Xd(Af,32,4),hm=Dh-Yh-16,im=0,Fm;for(Af=Af.slice(12);imparseInt(yh[Dh])?1:-1;return 0},Af=function(ah){if(!ah)return!1;var yh=(ah.match(/Chrome\/([.\d]+)/)||[])[1],Dh=(ah.match(/QBCore\/([.\d]+)/)||[])[1],Yh=(ah.match(/QQBrowser\/([.\d]+)/)||[])[1],hm=yh&&Df(yh,"53.0.2785.116")<0&&Dh&&Df(Dh,"3.53.991.400")<0&&Yh&&Df(Yh,"9.0.2524.400")<=0||!1;return hm};return Af(typeof navigator<"u"&&navigator.userAgent)}(),zf=function(Af,Xf,ah,yh,Dh){var Yh;if(Af.slice?Yh=Af.slice(Xf,ah):Af.mozSlice?Yh=Af.mozSlice(Xf,ah):Af.webkitSlice&&(Yh=Af.webkitSlice(Xf,ah)),yh&&kf){var hm=new FileReader;hm.onload=function(im){Yh=null,Dh(new Blob([hm.result]))},hm.readAsArrayBuffer(Yh)}else Dh(Yh)},Jf=function(Af,Xf,ah,yh){ah=ah||pf,Af?typeof Xf=="string"?ah(th.md5(Xf,!0)):Blob&&Xf instanceof Blob?th.getFileMd5(Xf,function(Dh,Yh){ah(Yh)},yh):ah():ah()},Gf=1024*1024,Mf=function(Af,Xf,ah){var yh=Af.size,Dh=0,Yh=dd.getCtx(),hm=function im(Fm){if(Fm>=yh){var Dm=Yh.digest("hex");Xf(null,Dm);return}var Om=Math.min(yh,Fm+Gf);th.fileSlice(Af,Fm,Om,!1,function(Qm){Tf(Qm,function(L_){Qm=null,Yh=Yh.update(L_,!0),Dh+=L_.length,L_=null,ah&&ah({loaded:Dh,total:yh,percent:Math.round(Dh/yh*1e4)/1e4}),im(Fm+Gf)})})};hm(0)};function Nf(Df){return jf(Df,function(Af){return od(Af)==="object"&&Af!==null?Nf(Af):Af})}function Bf(Df,Af,Xf){return Df&&Af in Df?Df[Af]:Xf}function Qf(Df,Af){return Rf(Af,function(Xf,ah){Df[ah]=Af[ah]}),Df}function Wf(Df){return Df instanceof Array}function yf(Df,Af){for(var Xf=!1,ah=0;ah-1,im=!Yh||typeof Yh=="string"&&Yh.indexOf("{Region}")>-1;if(Af.indexOf("Bucket")>-1||Af==="deleteMultipleObject"||Af==="multipartList"||Af==="listObjectVersions"){if(hm&&!ah)return"Bucket";if(im&&!yh)return"Region"}else if(Af.indexOf("Object")>-1||Af.indexOf("multipart")>-1||Af==="sliceUploadFile"||Af==="abortUploadTask"||Af==="uploadFile"){if(hm&&!ah)return"Bucket";if(im&&!yh)return"Region";if(!Dh)return"Key"}return!1},uh=function(Af,Xf){if(Xf=Qf({},Xf),Af!=="getAuth"&&Af!=="getV4Auth"&&Af!=="getObjectUrl"){var ah=Xf.Headers||{};if(Xf&&od(Xf)==="object"){(function(){for(var Dh in Xf)Xf.hasOwnProperty(Dh)&&Dh.indexOf("x-cos-")>-1&&(ah[Dh]=Xf[Dh])})();var yh={"x-cos-mfa":"MFA","Content-MD5":"ContentMD5","Content-Length":"ContentLength","Content-Type":"ContentType",Expect:"Expect",Expires:"Expires","Cache-Control":"CacheControl","Content-Disposition":"ContentDisposition","Content-Encoding":"ContentEncoding",Range:"Range","If-Modified-Since":"IfModifiedSince","If-Unmodified-Since":"IfUnmodifiedSince","If-Match":"IfMatch","If-None-Match":"IfNoneMatch","x-cos-copy-source":"CopySource","x-cos-copy-source-Range":"CopySourceRange","x-cos-metadata-directive":"MetadataDirective","x-cos-copy-source-If-Modified-Since":"CopySourceIfModifiedSince","x-cos-copy-source-If-Unmodified-Since":"CopySourceIfUnmodifiedSince","x-cos-copy-source-If-Match":"CopySourceIfMatch","x-cos-copy-source-If-None-Match":"CopySourceIfNoneMatch","x-cos-acl":"ACL","x-cos-grant-read":"GrantRead","x-cos-grant-write":"GrantWrite","x-cos-grant-full-control":"GrantFullControl","x-cos-grant-read-acp":"GrantReadAcp","x-cos-grant-write-acp":"GrantWriteAcp","x-cos-storage-class":"StorageClass","x-cos-traffic-limit":"TrafficLimit","x-cos-mime-limit":"MimeLimit","x-cos-server-side-encryption-customer-algorithm":"SSECustomerAlgorithm","x-cos-server-side-encryption-customer-key":"SSECustomerKey","x-cos-server-side-encryption-customer-key-MD5":"SSECustomerKeyMD5","x-cos-server-side-encryption":"ServerSideEncryption","x-cos-server-side-encryption-cos-kms-key-id":"SSEKMSKeyId","x-cos-server-side-encryption-context":"SSEContext","Pic-Operations":"PicOperations","x-cos-callback":"Callback","x-cos-callback-var":"CallbackVar","x-cos-return-body":"ReturnBody"};th.each(yh,function(Dh,Yh){Xf[Dh]!==void 0&&(ah[Yh]=Xf[Dh])}),Xf.Headers=_f(ah)}}return Xf},Uf=function(Af,Xf){return function(ah,yh){var Dh=this;typeof ah=="function"&&(yh=ah,ah={}),ah=uh(Af,ah);var Yh;if(Dh.options.EnableReporter)if(ah.calledBySdk==="sliceUploadFile"||ah.calledBySdk==="sliceCopyFile")Yh=ah.tracker&&ah.tracker.generateSubTracker({apiName:Af});else if(["uploadFile","uploadFiles"].includes(Af))Yh=null;else{var hm=0;ah.Body&&(hm=typeof ah.Body=="string"?ah.Body.length:ah.Body.size||ah.Body.byteLength||0);var im=Dh.options.UseAccelerate||typeof Dh.options.Domain=="string"&&Dh.options.Domain.includes("accelerate.");Yh=new Od({Beacon:Dh.options.BeaconReporter,clsReporter:Dh.options.ClsReporter,bucket:ah.Bucket,region:ah.Region,apiName:Af,realApi:Af,accelerate:im,fileKey:ah.Key,fileSize:hm,deepTracker:Dh.options.DeepTracker,customId:Dh.options.CustomId,delay:Dh.options.TrackerDelay})}ah.tracker=Yh;var Fm=function(Xm){return Xm&&Xm.headers&&(Xm.headers["x-cos-request-id"]&&(Xm.RequestId=Xm.headers["x-cos-request-id"]),Xm.headers["x-ci-request-id"]&&(Xm.RequestId=Xm.headers["x-ci-request-id"]),Xm.headers["x-cos-version-id"]&&(Xm.VersionId=Xm.headers["x-cos-version-id"]),Xm.headers["x-cos-delete-marker"]&&(Xm.DeleteMarker=Xm.headers["x-cos-delete-marker"])),Xm},Dm=function(Xm,B_){Yh&&Yh.report(Xm,B_),yh&&yh(Fm(Xm),Fm(B_))},Om=function(){if(Af!=="getService"&&Af!=="abortUploadTask"){var Xm=Yf.call(Dh,Af,ah);if(Xm)return"missing param "+Xm;if(ah.Region){if(Dh.options.CompatibilityMode){if(!/^([a-z\d-.]+)$/.test(ah.Region))return"Region format error."}else{if(ah.Region.indexOf("cos.")>-1)return'param Region should not be start with "cos."';if(!/^([a-z\d-]+)$/.test(ah.Region))return"Region format error."}!Dh.options.CompatibilityMode&&ah.Region.indexOf("-")===-1&&ah.Region!=="yfb"&&ah.Region!=="default"&&ah.Region!=="accelerate"&&console.warn("warning: param Region format error, find help here: https://cloud.tencent.com/document/product/436/6224")}if(ah.Bucket){if(!/^([a-z\d-]+)-(\d+)$/.test(ah.Bucket))if(ah.AppId)ah.Bucket=ah.Bucket+"-"+ah.AppId;else if(Dh.options.AppId)ah.Bucket=ah.Bucket+"-"+Dh.options.AppId;else return'Bucket should format as "test-1250000000".';ah.AppId&&(console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g Bucket:"test-1250000000" ).'),delete ah.AppId)}!Dh.options.UseRawKey&&ah.Key&&ah.Key.substr(0,1)==="/"&&(ah.Key=ah.Key.substr(1))}},Qm=Om(),L_=["getAuth","getObjectUrl"].includes(Af);if(typeof Promise=="function"&&!L_&&!yh)return new Promise(function(S_,Xm){if(yh=function(H_,Y_){H_?Xm(H_):S_(Y_)},Qm)return Dm(th.error(new Error(Qm)));Xf.call(Dh,ah,Dm)});if(Qm)return Dm(th.error(new Error(Qm)));var T_=Xf.call(Dh,ah,Dm);if(L_)return T_}},Cf=function(Af,Xf){var ah=this,yh=0,Dh=0,Yh=Date.now(),hm,im;function Fm(){if(im=0,Xf&&typeof Xf=="function"){hm=Date.now();var Dm=Math.max(0,Math.round((Dh-yh)/((hm-Yh)/1e3)*100)/100)||0,Om;Dh===0&&Af===0?Om=1:Om=Math.floor(Dh/Af*100)/100||0,Yh=hm,yh=Dh;try{Xf({loaded:Dh,total:Af,speed:Dm,percent:Om})}catch{}}}return function(Dm,Om){if(Dm&&(Dh=Dm.loaded,Af=Dm.total),Om)clearTimeout(im),Fm();else{if(im)return;im=setTimeout(Fm,ah.options.ProgressInterval)}}},If=function(Af,Xf,ah){var yh;if(typeof Xf.Body=="string"?Xf.Body=new Blob([Xf.Body],{type:"text/plain"}):Xf.Body instanceof ArrayBuffer&&(Xf.Body=new Blob([Xf.Body])),Xf.Body&&(Xf.Body instanceof Blob||Xf.Body.toString()==="[object File]"||Xf.Body.toString()==="[object Blob]"))yh=Xf.Body.size;else{ah(th.error(new Error("params body format error, Only allow File|Blob|String.")));return}Xf.ContentLength=yh,ah(null,yh)},Lf=function(Af){return Date.now()+(Af||0)},sh=function(Af,Xf){var ah=Af;return Af.message=Af.message||null,typeof Xf=="string"?(Af.error=Xf,Af.message=Xf):od(Xf)==="object"&&Xf!==null&&(Qf(Af,Xf),(Xf.code||Xf.name)&&(Af.code=Xf.code||Xf.name),Xf.message&&(Af.message=Xf.message),Xf.stack&&(Af.stack=Xf.stack)),typeof Object.defineProperty=="function"&&(Object.defineProperty(Af,"name",{writable:!0,enumerable:!1}),Object.defineProperty(Af,"message",{enumerable:!0})),Af.name=Xf&&Xf.name||Af.name||Af.code||"Error",Af.code||(Af.code=Af.name),Af.error||(Af.error=Nf(ah)),Af},hh=function(){return(typeof globalThis>"u"?"undefined":od(globalThis))==="object"&&(globalThis.constructor.name==="DedicatedWorkerGlobalScope"||globalThis.FileReaderSync)},rh=function(){return(typeof window>"u"?"undefined":od(window))!=="object"&&(typeof sd>"u"?"undefined":od(sd))==="object"&&!0&&!hh()},Ah=function(Af){return/^https?:\/\/([^/]+\.)?ci\.[^/]+/.test(Af)},ph=function(){if((typeof navigator>"u"?"undefined":od(navigator))!=="object")return!1;var Df=navigator.userAgent,Af=!!Df.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);return Af}(),vh=function(){return(typeof navigator>"u"?"undefined":od(navigator))!=="object"?!1:/\sQQ/i.test(navigator.userAgent)}(),qh=function(Af,Xf){var ah=Rd.encode(Af);return Xf&&(ah=ah.replaceAll("+","-").replaceAll("/","_").replaceAll("=","")),ah},kh=function(Af){return Af?Rd.decode(Af):""},Wh=function(Af){var Xf=Af.split("/"),ah=[],yh=ld(Xf),Dh;try{for(yh.s();!(Dh=yh.n()).done;){var Yh=Dh.value;Yh===".."?ah.length&&ah.pop():Yh.length&&Yh!=="."&&ah.push(Yh)}}catch(hm){yh.e(hm)}finally{yh.f()}return"/"+ah.join("/")},om=function(Af){var Xf;if(Af&&typeof Af=="string"){var ah=Af.trim(),yh=ah.indexOf("<")===0,Dh=ah.indexOf("{")===0;if(yh)Xf=th.xml2json(Af)||{};else if(Dh)try{var Yh=Af.replace(/\n/g," "),hm=JSON.parse(Yh);Object.prototype.toString.call(hm)==="[object Object]"?Xf=hm:Xf=Af}catch{Xf=Af}else Xf=Af}else Xf=Af||{};return Xf},th={noop:pf,formatParams:uh,apiWrapper:Uf,xml2json:Md,json2xml:Ld,md5:dd,clearKey:_f,fileSlice:zf,getBodyMd5:Jf,getFileMd5:Mf,b64:Ff,extend:Qf,isArray:Wf,isInArray:yf,makeArray:hf,each:Rf,map:jf,filter:Kf,clone:Nf,attr:Bf,uuid:wf,camSafeUrlEncode:Fd,throttleOnProgress:Cf,getFileSize:If,getSkewTime:Lf,error:sh,obj2str:Vd,getAuth:Kd,parseSelectPayload:mf,getSourceParams:bf,isBrowser:!0,isNode:rh,isCIHost:Ah,isIOS_QQ:ph&&vh,encodeBase64:qh,decodeBase64:kh,simplifyPath:Wh,readAsBinaryString:Tf,parseResBody:om};ed.exports=th}).call(this,rd("./node_modules/process/browser.js"))}})})})(cosJsSdkV5);var cosJsSdkV5Exports=cosJsSdkV5.exports;const COS=getDefaultExportFromCjs(cosJsSdkV5Exports);var cryptoJs={exports:{}};function commonjsRequire(Ra){throw new Error('Could not dynamically require "'+Ra+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var core={exports:{}};const __viteBrowserExternal={},http=Object.freeze(Object.defineProperty({__proto__:null,default:__viteBrowserExternal},Symbol.toStringTag,{value:"Module"})),require$$0$1=getAugmentedNamespace(http);var hasRequiredCore;function requireCore(){return hasRequiredCore||(hasRequiredCore=1,function(Ra,qa){(function(ed,td){Ra.exports=td()})(commonjsGlobal,function(){var ed=ed||function(td,rd){var sd;if(typeof window<"u"&&window.crypto&&(sd=window.crypto),typeof self<"u"&&self.crypto&&(sd=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(sd=globalThis.crypto),!sd&&typeof window<"u"&&window.msCrypto&&(sd=window.msCrypto),!sd&&typeof commonjsGlobal<"u"&&commonjsGlobal.crypto&&(sd=commonjsGlobal.crypto),!sd&&typeof commonjsRequire=="function")try{sd=require$$0$1}catch{}var od=function(){if(sd){if(typeof sd.getRandomValues=="function")try{return sd.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof sd.randomBytes=="function")try{return sd.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},ld=Object.create||function(){function Od(){}return function(Md){var Ld;return Od.prototype=Md,Ld=new Od,Od.prototype=null,Ld}}(),ud={},cd=ud.lib={},dd=cd.Base=function(){return{extend:function(Od){var Md=ld(this);return Od&&Md.mixIn(Od),(!Md.hasOwnProperty("init")||this.init===Md.init)&&(Md.init=function(){Md.$super.init.apply(this,arguments)}),Md.init.prototype=Md,Md.$super=this,Md},create:function(){var Od=this.extend();return Od.init.apply(Od,arguments),Od},init:function(){},mixIn:function(Od){for(var Md in Od)Od.hasOwnProperty(Md)&&(this[Md]=Od[Md]);Od.hasOwnProperty("toString")&&(this.toString=Od.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),_d=cd.WordArray=dd.extend({init:function(Od,Md){Od=this.words=Od||[],Md!=rd?this.sigBytes=Md:this.sigBytes=Od.length*4},toString:function(Od){return(Od||Ad).stringify(this)},concat:function(Od){var Md=this.words,Ld=Od.words,Fd=this.sigBytes,jd=Od.sigBytes;if(this.clamp(),Fd%4)for(var Vd=0;Vd>>2]>>>24-Vd%4*8&255;Md[Fd+Vd>>>2]|=Qd<<24-(Fd+Vd)%4*8}else for(var qd=0;qd>>2]=Ld[qd>>>2];return this.sigBytes+=jd,this},clamp:function(){var Od=this.words,Md=this.sigBytes;Od[Md>>>2]&=4294967295<<32-Md%4*8,Od.length=td.ceil(Md/4)},clone:function(){var Od=dd.clone.call(this);return Od.words=this.words.slice(0),Od},random:function(Od){for(var Md=[],Ld=0;Ld>>2]>>>24-jd%4*8&255;Fd.push((Vd>>>4).toString(16)),Fd.push((Vd&15).toString(16))}return Fd.join("")},parse:function(Od){for(var Md=Od.length,Ld=[],Fd=0;Fd>>3]|=parseInt(Od.substr(Fd,2),16)<<24-Fd%8*4;return new _d.init(Ld,Md/2)}},Td=Ed.Latin1={stringify:function(Od){for(var Md=Od.words,Ld=Od.sigBytes,Fd=[],jd=0;jd>>2]>>>24-jd%4*8&255;Fd.push(String.fromCharCode(Vd))}return Fd.join("")},parse:function(Od){for(var Md=Od.length,Ld=[],Fd=0;Fd>>2]|=(Od.charCodeAt(Fd)&255)<<24-Fd%4*8;return new _d.init(Ld,Md)}},Id=Ed.Utf8={stringify:function(Od){try{return decodeURIComponent(escape(Td.stringify(Od)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(Od){return Td.parse(unescape(encodeURIComponent(Od)))}},Bd=cd.BufferedBlockAlgorithm=dd.extend({reset:function(){this._data=new _d.init,this._nDataBytes=0},_append:function(Od){typeof Od=="string"&&(Od=Id.parse(Od)),this._data.concat(Od),this._nDataBytes+=Od.sigBytes},_process:function(Od){var Md,Ld=this._data,Fd=Ld.words,jd=Ld.sigBytes,Vd=this.blockSize,Qd=Vd*4,qd=jd/Qd;Od?qd=td.ceil(qd):qd=td.max((qd|0)-this._minBufferSize,0);var Kd=qd*Vd,Xd=td.min(Kd*4,jd);if(Kd){for(var df=0;df>>2]|=ud[_d]<<24-_d%4*8;od.call(this,dd,cd)}else od.apply(this,arguments)};ld.prototype=sd}}(),ed.lib.WordArray})}(libTypedarrays)),libTypedarrays.exports}var encUtf16={exports:{}},hasRequiredEncUtf16;function requireEncUtf16(){return hasRequiredEncUtf16||(hasRequiredEncUtf16=1,function(Ra,qa){(function(ed,td){Ra.exports=td(requireCore())})(commonjsGlobal,function(ed){return function(){var td=ed,rd=td.lib,sd=rd.WordArray,od=td.enc;od.Utf16=od.Utf16BE={stringify:function(ud){for(var cd=ud.words,dd=ud.sigBytes,_d=[],Ed=0;Ed>>2]>>>16-Ed%4*8&65535;_d.push(String.fromCharCode(Ad))}return _d.join("")},parse:function(ud){for(var cd=ud.length,dd=[],_d=0;_d>>1]|=ud.charCodeAt(_d)<<16-_d%2*16;return sd.create(dd,cd*2)}},od.Utf16LE={stringify:function(ud){for(var cd=ud.words,dd=ud.sigBytes,_d=[],Ed=0;Ed>>2]>>>16-Ed%4*8&65535);_d.push(String.fromCharCode(Ad))}return _d.join("")},parse:function(ud){for(var cd=ud.length,dd=[],_d=0;_d>>1]|=ld(ud.charCodeAt(_d)<<16-_d%2*16);return sd.create(dd,cd*2)}};function ld(ud){return ud<<8&4278255360|ud>>>8&16711935}}(),ed.enc.Utf16})}(encUtf16)),encUtf16.exports}var encBase64={exports:{}},hasRequiredEncBase64;function requireEncBase64(){return hasRequiredEncBase64||(hasRequiredEncBase64=1,function(Ra,qa){(function(ed,td){Ra.exports=td(requireCore())})(commonjsGlobal,function(ed){return function(){var td=ed,rd=td.lib,sd=rd.WordArray,od=td.enc;od.Base64={stringify:function(ud){var cd=ud.words,dd=ud.sigBytes,_d=this._map;ud.clamp();for(var Ed=[],Ad=0;Ad>>2]>>>24-Ad%4*8&255,Id=cd[Ad+1>>>2]>>>24-(Ad+1)%4*8&255,Bd=cd[Ad+2>>>2]>>>24-(Ad+2)%4*8&255,Rd=Td<<16|Id<<8|Bd,Od=0;Od<4&&Ad+Od*.75>>6*(3-Od)&63));var Md=_d.charAt(64);if(Md)for(;Ed.length%4;)Ed.push(Md);return Ed.join("")},parse:function(ud){var cd=ud.length,dd=this._map,_d=this._reverseMap;if(!_d){_d=this._reverseMap=[];for(var Ed=0;Ed>>6-Ad%4*2,Bd=Td|Id;_d[Ed>>>2]|=Bd<<24-Ed%4*8,Ed++}return sd.create(_d,Ed)}}(),ed.enc.Base64})}(encBase64)),encBase64.exports}var encBase64url={exports:{}},hasRequiredEncBase64url;function requireEncBase64url(){return hasRequiredEncBase64url||(hasRequiredEncBase64url=1,function(Ra,qa){(function(ed,td){Ra.exports=td(requireCore())})(commonjsGlobal,function(ed){return function(){var td=ed,rd=td.lib,sd=rd.WordArray,od=td.enc;od.Base64url={stringify:function(ud,cd){cd===void 0&&(cd=!0);var dd=ud.words,_d=ud.sigBytes,Ed=cd?this._safe_map:this._map;ud.clamp();for(var Ad=[],Td=0;Td<_d;Td+=3)for(var Id=dd[Td>>>2]>>>24-Td%4*8&255,Bd=dd[Td+1>>>2]>>>24-(Td+1)%4*8&255,Rd=dd[Td+2>>>2]>>>24-(Td+2)%4*8&255,Od=Id<<16|Bd<<8|Rd,Md=0;Md<4&&Td+Md*.75<_d;Md++)Ad.push(Ed.charAt(Od>>>6*(3-Md)&63));var Ld=Ed.charAt(64);if(Ld)for(;Ad.length%4;)Ad.push(Ld);return Ad.join("")},parse:function(ud,cd){cd===void 0&&(cd=!0);var dd=ud.length,_d=cd?this._safe_map:this._map,Ed=this._reverseMap;if(!Ed){Ed=this._reverseMap=[];for(var Ad=0;Ad<_d.length;Ad++)Ed[_d.charCodeAt(Ad)]=Ad}var Td=_d.charAt(64);if(Td){var Id=ud.indexOf(Td);Id!==-1&&(dd=Id)}return ld(ud,dd,Ed)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function ld(ud,cd,dd){for(var _d=[],Ed=0,Ad=0;Ad>>6-Ad%4*2,Bd=Td|Id;_d[Ed>>>2]|=Bd<<24-Ed%4*8,Ed++}return sd.create(_d,Ed)}}(),ed.enc.Base64url})}(encBase64url)),encBase64url.exports}var md5$1={exports:{}},hasRequiredMd5$1;function requireMd5$1(){return hasRequiredMd5$1||(hasRequiredMd5$1=1,function(Ra,qa){(function(ed,td){Ra.exports=td(requireCore())})(commonjsGlobal,function(ed){return function(td){var rd=ed,sd=rd.lib,od=sd.WordArray,ld=sd.Hasher,ud=rd.algo,cd=[];(function(){for(var Id=0;Id<64;Id++)cd[Id]=td.abs(td.sin(Id+1))*4294967296|0})();var dd=ud.MD5=ld.extend({_doReset:function(){this._hash=new od.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(Id,Bd){for(var Rd=0;Rd<16;Rd++){var Od=Bd+Rd,Md=Id[Od];Id[Od]=(Md<<8|Md>>>24)&16711935|(Md<<24|Md>>>8)&4278255360}var Ld=this._hash.words,Fd=Id[Bd+0],jd=Id[Bd+1],Vd=Id[Bd+2],Qd=Id[Bd+3],qd=Id[Bd+4],Kd=Id[Bd+5],Xd=Id[Bd+6],df=Id[Bd+7],mf=Id[Bd+8],bf=Id[Bd+9],pf=Id[Bd+10],_f=Id[Bd+11],Tf=Id[Bd+12],kf=Id[Bd+13],zf=Id[Bd+14],Jf=Id[Bd+15],Gf=Ld[0],Mf=Ld[1],Nf=Ld[2],Bf=Ld[3];Gf=_d(Gf,Mf,Nf,Bf,Fd,7,cd[0]),Bf=_d(Bf,Gf,Mf,Nf,jd,12,cd[1]),Nf=_d(Nf,Bf,Gf,Mf,Vd,17,cd[2]),Mf=_d(Mf,Nf,Bf,Gf,Qd,22,cd[3]),Gf=_d(Gf,Mf,Nf,Bf,qd,7,cd[4]),Bf=_d(Bf,Gf,Mf,Nf,Kd,12,cd[5]),Nf=_d(Nf,Bf,Gf,Mf,Xd,17,cd[6]),Mf=_d(Mf,Nf,Bf,Gf,df,22,cd[7]),Gf=_d(Gf,Mf,Nf,Bf,mf,7,cd[8]),Bf=_d(Bf,Gf,Mf,Nf,bf,12,cd[9]),Nf=_d(Nf,Bf,Gf,Mf,pf,17,cd[10]),Mf=_d(Mf,Nf,Bf,Gf,_f,22,cd[11]),Gf=_d(Gf,Mf,Nf,Bf,Tf,7,cd[12]),Bf=_d(Bf,Gf,Mf,Nf,kf,12,cd[13]),Nf=_d(Nf,Bf,Gf,Mf,zf,17,cd[14]),Mf=_d(Mf,Nf,Bf,Gf,Jf,22,cd[15]),Gf=Ed(Gf,Mf,Nf,Bf,jd,5,cd[16]),Bf=Ed(Bf,Gf,Mf,Nf,Xd,9,cd[17]),Nf=Ed(Nf,Bf,Gf,Mf,_f,14,cd[18]),Mf=Ed(Mf,Nf,Bf,Gf,Fd,20,cd[19]),Gf=Ed(Gf,Mf,Nf,Bf,Kd,5,cd[20]),Bf=Ed(Bf,Gf,Mf,Nf,pf,9,cd[21]),Nf=Ed(Nf,Bf,Gf,Mf,Jf,14,cd[22]),Mf=Ed(Mf,Nf,Bf,Gf,qd,20,cd[23]),Gf=Ed(Gf,Mf,Nf,Bf,bf,5,cd[24]),Bf=Ed(Bf,Gf,Mf,Nf,zf,9,cd[25]),Nf=Ed(Nf,Bf,Gf,Mf,Qd,14,cd[26]),Mf=Ed(Mf,Nf,Bf,Gf,mf,20,cd[27]),Gf=Ed(Gf,Mf,Nf,Bf,kf,5,cd[28]),Bf=Ed(Bf,Gf,Mf,Nf,Vd,9,cd[29]),Nf=Ed(Nf,Bf,Gf,Mf,df,14,cd[30]),Mf=Ed(Mf,Nf,Bf,Gf,Tf,20,cd[31]),Gf=Ad(Gf,Mf,Nf,Bf,Kd,4,cd[32]),Bf=Ad(Bf,Gf,Mf,Nf,mf,11,cd[33]),Nf=Ad(Nf,Bf,Gf,Mf,_f,16,cd[34]),Mf=Ad(Mf,Nf,Bf,Gf,zf,23,cd[35]),Gf=Ad(Gf,Mf,Nf,Bf,jd,4,cd[36]),Bf=Ad(Bf,Gf,Mf,Nf,qd,11,cd[37]),Nf=Ad(Nf,Bf,Gf,Mf,df,16,cd[38]),Mf=Ad(Mf,Nf,Bf,Gf,pf,23,cd[39]),Gf=Ad(Gf,Mf,Nf,Bf,kf,4,cd[40]),Bf=Ad(Bf,Gf,Mf,Nf,Fd,11,cd[41]),Nf=Ad(Nf,Bf,Gf,Mf,Qd,16,cd[42]),Mf=Ad(Mf,Nf,Bf,Gf,Xd,23,cd[43]),Gf=Ad(Gf,Mf,Nf,Bf,bf,4,cd[44]),Bf=Ad(Bf,Gf,Mf,Nf,Tf,11,cd[45]),Nf=Ad(Nf,Bf,Gf,Mf,Jf,16,cd[46]),Mf=Ad(Mf,Nf,Bf,Gf,Vd,23,cd[47]),Gf=Td(Gf,Mf,Nf,Bf,Fd,6,cd[48]),Bf=Td(Bf,Gf,Mf,Nf,df,10,cd[49]),Nf=Td(Nf,Bf,Gf,Mf,zf,15,cd[50]),Mf=Td(Mf,Nf,Bf,Gf,Kd,21,cd[51]),Gf=Td(Gf,Mf,Nf,Bf,Tf,6,cd[52]),Bf=Td(Bf,Gf,Mf,Nf,Qd,10,cd[53]),Nf=Td(Nf,Bf,Gf,Mf,pf,15,cd[54]),Mf=Td(Mf,Nf,Bf,Gf,jd,21,cd[55]),Gf=Td(Gf,Mf,Nf,Bf,mf,6,cd[56]),Bf=Td(Bf,Gf,Mf,Nf,Jf,10,cd[57]),Nf=Td(Nf,Bf,Gf,Mf,Xd,15,cd[58]),Mf=Td(Mf,Nf,Bf,Gf,kf,21,cd[59]),Gf=Td(Gf,Mf,Nf,Bf,qd,6,cd[60]),Bf=Td(Bf,Gf,Mf,Nf,_f,10,cd[61]),Nf=Td(Nf,Bf,Gf,Mf,Vd,15,cd[62]),Mf=Td(Mf,Nf,Bf,Gf,bf,21,cd[63]),Ld[0]=Ld[0]+Gf|0,Ld[1]=Ld[1]+Mf|0,Ld[2]=Ld[2]+Nf|0,Ld[3]=Ld[3]+Bf|0},_doFinalize:function(){var Id=this._data,Bd=Id.words,Rd=this._nDataBytes*8,Od=Id.sigBytes*8;Bd[Od>>>5]|=128<<24-Od%32;var Md=td.floor(Rd/4294967296),Ld=Rd;Bd[(Od+64>>>9<<4)+15]=(Md<<8|Md>>>24)&16711935|(Md<<24|Md>>>8)&4278255360,Bd[(Od+64>>>9<<4)+14]=(Ld<<8|Ld>>>24)&16711935|(Ld<<24|Ld>>>8)&4278255360,Id.sigBytes=(Bd.length+1)*4,this._process();for(var Fd=this._hash,jd=Fd.words,Vd=0;Vd<4;Vd++){var Qd=jd[Vd];jd[Vd]=(Qd<<8|Qd>>>24)&16711935|(Qd<<24|Qd>>>8)&4278255360}return Fd},clone:function(){var Id=ld.clone.call(this);return Id._hash=this._hash.clone(),Id}});function _d(Id,Bd,Rd,Od,Md,Ld,Fd){var jd=Id+(Bd&Rd|~Bd&Od)+Md+Fd;return(jd<>>32-Ld)+Bd}function Ed(Id,Bd,Rd,Od,Md,Ld,Fd){var jd=Id+(Bd&Od|Rd&~Od)+Md+Fd;return(jd<>>32-Ld)+Bd}function Ad(Id,Bd,Rd,Od,Md,Ld,Fd){var jd=Id+(Bd^Rd^Od)+Md+Fd;return(jd<>>32-Ld)+Bd}function Td(Id,Bd,Rd,Od,Md,Ld,Fd){var jd=Id+(Rd^(Bd|~Od))+Md+Fd;return(jd<>>32-Ld)+Bd}rd.MD5=ld._createHelper(dd),rd.HmacMD5=ld._createHmacHelper(dd)}(Math),ed.MD5})}(md5$1)),md5$1.exports}var sha1={exports:{}},hasRequiredSha1;function requireSha1(){return hasRequiredSha1||(hasRequiredSha1=1,function(Ra,qa){(function(ed,td){Ra.exports=td(requireCore())})(commonjsGlobal,function(ed){return function(){var td=ed,rd=td.lib,sd=rd.WordArray,od=rd.Hasher,ld=td.algo,ud=[],cd=ld.SHA1=od.extend({_doReset:function(){this._hash=new sd.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(dd,_d){for(var Ed=this._hash.words,Ad=Ed[0],Td=Ed[1],Id=Ed[2],Bd=Ed[3],Rd=Ed[4],Od=0;Od<80;Od++){if(Od<16)ud[Od]=dd[_d+Od]|0;else{var Md=ud[Od-3]^ud[Od-8]^ud[Od-14]^ud[Od-16];ud[Od]=Md<<1|Md>>>31}var Ld=(Ad<<5|Ad>>>27)+Rd+ud[Od];Od<20?Ld+=(Td&Id|~Td&Bd)+1518500249:Od<40?Ld+=(Td^Id^Bd)+1859775393:Od<60?Ld+=(Td&Id|Td&Bd|Id&Bd)-1894007588:Ld+=(Td^Id^Bd)-899497514,Rd=Bd,Bd=Id,Id=Td<<30|Td>>>2,Td=Ad,Ad=Ld}Ed[0]=Ed[0]+Ad|0,Ed[1]=Ed[1]+Td|0,Ed[2]=Ed[2]+Id|0,Ed[3]=Ed[3]+Bd|0,Ed[4]=Ed[4]+Rd|0},_doFinalize:function(){var dd=this._data,_d=dd.words,Ed=this._nDataBytes*8,Ad=dd.sigBytes*8;return _d[Ad>>>5]|=128<<24-Ad%32,_d[(Ad+64>>>9<<4)+14]=Math.floor(Ed/4294967296),_d[(Ad+64>>>9<<4)+15]=Ed,dd.sigBytes=_d.length*4,this._process(),this._hash},clone:function(){var dd=od.clone.call(this);return dd._hash=this._hash.clone(),dd}});td.SHA1=od._createHelper(cd),td.HmacSHA1=od._createHmacHelper(cd)}(),ed.SHA1})}(sha1)),sha1.exports}var sha256={exports:{}},hasRequiredSha256;function requireSha256(){return hasRequiredSha256||(hasRequiredSha256=1,function(Ra,qa){(function(ed,td){Ra.exports=td(requireCore())})(commonjsGlobal,function(ed){return function(td){var rd=ed,sd=rd.lib,od=sd.WordArray,ld=sd.Hasher,ud=rd.algo,cd=[],dd=[];(function(){function Ad(Rd){for(var Od=td.sqrt(Rd),Md=2;Md<=Od;Md++)if(!(Rd%Md))return!1;return!0}function Td(Rd){return(Rd-(Rd|0))*4294967296|0}for(var Id=2,Bd=0;Bd<64;)Ad(Id)&&(Bd<8&&(cd[Bd]=Td(td.pow(Id,1/2))),dd[Bd]=Td(td.pow(Id,1/3)),Bd++),Id++})();var _d=[],Ed=ud.SHA256=ld.extend({_doReset:function(){this._hash=new od.init(cd.slice(0))},_doProcessBlock:function(Ad,Td){for(var Id=this._hash.words,Bd=Id[0],Rd=Id[1],Od=Id[2],Md=Id[3],Ld=Id[4],Fd=Id[5],jd=Id[6],Vd=Id[7],Qd=0;Qd<64;Qd++){if(Qd<16)_d[Qd]=Ad[Td+Qd]|0;else{var qd=_d[Qd-15],Kd=(qd<<25|qd>>>7)^(qd<<14|qd>>>18)^qd>>>3,Xd=_d[Qd-2],df=(Xd<<15|Xd>>>17)^(Xd<<13|Xd>>>19)^Xd>>>10;_d[Qd]=Kd+_d[Qd-7]+df+_d[Qd-16]}var mf=Ld&Fd^~Ld&jd,bf=Bd&Rd^Bd&Od^Rd&Od,pf=(Bd<<30|Bd>>>2)^(Bd<<19|Bd>>>13)^(Bd<<10|Bd>>>22),_f=(Ld<<26|Ld>>>6)^(Ld<<21|Ld>>>11)^(Ld<<7|Ld>>>25),Tf=Vd+_f+mf+dd[Qd]+_d[Qd],kf=pf+bf;Vd=jd,jd=Fd,Fd=Ld,Ld=Md+Tf|0,Md=Od,Od=Rd,Rd=Bd,Bd=Tf+kf|0}Id[0]=Id[0]+Bd|0,Id[1]=Id[1]+Rd|0,Id[2]=Id[2]+Od|0,Id[3]=Id[3]+Md|0,Id[4]=Id[4]+Ld|0,Id[5]=Id[5]+Fd|0,Id[6]=Id[6]+jd|0,Id[7]=Id[7]+Vd|0},_doFinalize:function(){var Ad=this._data,Td=Ad.words,Id=this._nDataBytes*8,Bd=Ad.sigBytes*8;return Td[Bd>>>5]|=128<<24-Bd%32,Td[(Bd+64>>>9<<4)+14]=td.floor(Id/4294967296),Td[(Bd+64>>>9<<4)+15]=Id,Ad.sigBytes=Td.length*4,this._process(),this._hash},clone:function(){var Ad=ld.clone.call(this);return Ad._hash=this._hash.clone(),Ad}});rd.SHA256=ld._createHelper(Ed),rd.HmacSHA256=ld._createHmacHelper(Ed)}(Math),ed.SHA256})}(sha256)),sha256.exports}var sha224={exports:{}},hasRequiredSha224;function requireSha224(){return hasRequiredSha224||(hasRequiredSha224=1,function(Ra,qa){(function(ed,td,rd){Ra.exports=td(requireCore(),requireSha256())})(commonjsGlobal,function(ed){return function(){var td=ed,rd=td.lib,sd=rd.WordArray,od=td.algo,ld=od.SHA256,ud=od.SHA224=ld.extend({_doReset:function(){this._hash=new sd.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var cd=ld._doFinalize.call(this);return cd.sigBytes-=4,cd}});td.SHA224=ld._createHelper(ud),td.HmacSHA224=ld._createHmacHelper(ud)}(),ed.SHA224})}(sha224)),sha224.exports}var sha512={exports:{}},hasRequiredSha512;function requireSha512(){return hasRequiredSha512||(hasRequiredSha512=1,function(Ra,qa){(function(ed,td,rd){Ra.exports=td(requireCore(),requireX64Core())})(commonjsGlobal,function(ed){return function(){var td=ed,rd=td.lib,sd=rd.Hasher,od=td.x64,ld=od.Word,ud=od.WordArray,cd=td.algo;function dd(){return ld.create.apply(ld,arguments)}var _d=[dd(1116352408,3609767458),dd(1899447441,602891725),dd(3049323471,3964484399),dd(3921009573,2173295548),dd(961987163,4081628472),dd(1508970993,3053834265),dd(2453635748,2937671579),dd(2870763221,3664609560),dd(3624381080,2734883394),dd(310598401,1164996542),dd(607225278,1323610764),dd(1426881987,3590304994),dd(1925078388,4068182383),dd(2162078206,991336113),dd(2614888103,633803317),dd(3248222580,3479774868),dd(3835390401,2666613458),dd(4022224774,944711139),dd(264347078,2341262773),dd(604807628,2007800933),dd(770255983,1495990901),dd(1249150122,1856431235),dd(1555081692,3175218132),dd(1996064986,2198950837),dd(2554220882,3999719339),dd(2821834349,766784016),dd(2952996808,2566594879),dd(3210313671,3203337956),dd(3336571891,1034457026),dd(3584528711,2466948901),dd(113926993,3758326383),dd(338241895,168717936),dd(666307205,1188179964),dd(773529912,1546045734),dd(1294757372,1522805485),dd(1396182291,2643833823),dd(1695183700,2343527390),dd(1986661051,1014477480),dd(2177026350,1206759142),dd(2456956037,344077627),dd(2730485921,1290863460),dd(2820302411,3158454273),dd(3259730800,3505952657),dd(3345764771,106217008),dd(3516065817,3606008344),dd(3600352804,1432725776),dd(4094571909,1467031594),dd(275423344,851169720),dd(430227734,3100823752),dd(506948616,1363258195),dd(659060556,3750685593),dd(883997877,3785050280),dd(958139571,3318307427),dd(1322822218,3812723403),dd(1537002063,2003034995),dd(1747873779,3602036899),dd(1955562222,1575990012),dd(2024104815,1125592928),dd(2227730452,2716904306),dd(2361852424,442776044),dd(2428436474,593698344),dd(2756734187,3733110249),dd(3204031479,2999351573),dd(3329325298,3815920427),dd(3391569614,3928383900),dd(3515267271,566280711),dd(3940187606,3454069534),dd(4118630271,4000239992),dd(116418474,1914138554),dd(174292421,2731055270),dd(289380356,3203993006),dd(460393269,320620315),dd(685471733,587496836),dd(852142971,1086792851),dd(1017036298,365543100),dd(1126000580,2618297676),dd(1288033470,3409855158),dd(1501505948,4234509866),dd(1607167915,987167468),dd(1816402316,1246189591)],Ed=[];(function(){for(var Td=0;Td<80;Td++)Ed[Td]=dd()})();var Ad=cd.SHA512=sd.extend({_doReset:function(){this._hash=new ud.init([new ld.init(1779033703,4089235720),new ld.init(3144134277,2227873595),new ld.init(1013904242,4271175723),new ld.init(2773480762,1595750129),new ld.init(1359893119,2917565137),new ld.init(2600822924,725511199),new ld.init(528734635,4215389547),new ld.init(1541459225,327033209)])},_doProcessBlock:function(Td,Id){for(var Bd=this._hash.words,Rd=Bd[0],Od=Bd[1],Md=Bd[2],Ld=Bd[3],Fd=Bd[4],jd=Bd[5],Vd=Bd[6],Qd=Bd[7],qd=Rd.high,Kd=Rd.low,Xd=Od.high,df=Od.low,mf=Md.high,bf=Md.low,pf=Ld.high,_f=Ld.low,Tf=Fd.high,kf=Fd.low,zf=jd.high,Jf=jd.low,Gf=Vd.high,Mf=Vd.low,Nf=Qd.high,Bf=Qd.low,Qf=qd,Wf=Kd,yf=Xd,hf=df,Rf=mf,jf=bf,Kf=pf,Ff=_f,wf=Tf,Yf=kf,uh=zf,Uf=Jf,Cf=Gf,If=Mf,Lf=Nf,sh=Bf,hh=0;hh<80;hh++){var rh,Ah,ph=Ed[hh];if(hh<16)Ah=ph.high=Td[Id+hh*2]|0,rh=ph.low=Td[Id+hh*2+1]|0;else{var vh=Ed[hh-15],qh=vh.high,kh=vh.low,Wh=(qh>>>1|kh<<31)^(qh>>>8|kh<<24)^qh>>>7,om=(kh>>>1|qh<<31)^(kh>>>8|qh<<24)^(kh>>>7|qh<<25),th=Ed[hh-2],Df=th.high,Af=th.low,Xf=(Df>>>19|Af<<13)^(Df<<3|Af>>>29)^Df>>>6,ah=(Af>>>19|Df<<13)^(Af<<3|Df>>>29)^(Af>>>6|Df<<26),yh=Ed[hh-7],Dh=yh.high,Yh=yh.low,hm=Ed[hh-16],im=hm.high,Fm=hm.low;rh=om+Yh,Ah=Wh+Dh+(rh>>>0>>0?1:0),rh=rh+ah,Ah=Ah+Xf+(rh>>>0>>0?1:0),rh=rh+Fm,Ah=Ah+im+(rh>>>0>>0?1:0),ph.high=Ah,ph.low=rh}var Dm=wf&uh^~wf&Cf,Om=Yf&Uf^~Yf&If,Qm=Qf&yf^Qf&Rf^yf&Rf,L_=Wf&hf^Wf&jf^hf&jf,T_=(Qf>>>28|Wf<<4)^(Qf<<30|Wf>>>2)^(Qf<<25|Wf>>>7),S_=(Wf>>>28|Qf<<4)^(Wf<<30|Qf>>>2)^(Wf<<25|Qf>>>7),Xm=(wf>>>14|Yf<<18)^(wf>>>18|Yf<<14)^(wf<<23|Yf>>>9),B_=(Yf>>>14|wf<<18)^(Yf>>>18|wf<<14)^(Yf<<23|wf>>>9),H_=_d[hh],Y_=H_.high,X_=H_.low,F_=sh+B_,N_=Lf+Xm+(F_>>>0>>0?1:0),F_=F_+Om,N_=N_+Dm+(F_>>>0>>0?1:0),F_=F_+X_,N_=N_+Y_+(F_>>>0>>0?1:0),F_=F_+rh,N_=N_+Ah+(F_>>>0>>0?1:0),Rm=S_+L_,Dg=T_+Qm+(Rm>>>0>>0?1:0);Lf=Cf,sh=If,Cf=uh,If=Uf,uh=wf,Uf=Yf,Yf=Ff+F_|0,wf=Kf+N_+(Yf>>>0>>0?1:0)|0,Kf=Rf,Ff=jf,Rf=yf,jf=hf,yf=Qf,hf=Wf,Wf=F_+Rm|0,Qf=N_+Dg+(Wf>>>0>>0?1:0)|0}Kd=Rd.low=Kd+Wf,Rd.high=qd+Qf+(Kd>>>0>>0?1:0),df=Od.low=df+hf,Od.high=Xd+yf+(df>>>0>>0?1:0),bf=Md.low=bf+jf,Md.high=mf+Rf+(bf>>>0>>0?1:0),_f=Ld.low=_f+Ff,Ld.high=pf+Kf+(_f>>>0>>0?1:0),kf=Fd.low=kf+Yf,Fd.high=Tf+wf+(kf>>>0>>0?1:0),Jf=jd.low=Jf+Uf,jd.high=zf+uh+(Jf>>>0>>0?1:0),Mf=Vd.low=Mf+If,Vd.high=Gf+Cf+(Mf>>>0>>0?1:0),Bf=Qd.low=Bf+sh,Qd.high=Nf+Lf+(Bf>>>0>>0?1:0)},_doFinalize:function(){var Td=this._data,Id=Td.words,Bd=this._nDataBytes*8,Rd=Td.sigBytes*8;Id[Rd>>>5]|=128<<24-Rd%32,Id[(Rd+128>>>10<<5)+30]=Math.floor(Bd/4294967296),Id[(Rd+128>>>10<<5)+31]=Bd,Td.sigBytes=Id.length*4,this._process();var Od=this._hash.toX32();return Od},clone:function(){var Td=sd.clone.call(this);return Td._hash=this._hash.clone(),Td},blockSize:1024/32});td.SHA512=sd._createHelper(Ad),td.HmacSHA512=sd._createHmacHelper(Ad)}(),ed.SHA512})}(sha512)),sha512.exports}var sha384={exports:{}},hasRequiredSha384;function requireSha384(){return hasRequiredSha384||(hasRequiredSha384=1,function(Ra,qa){(function(ed,td,rd){Ra.exports=td(requireCore(),requireX64Core(),requireSha512())})(commonjsGlobal,function(ed){return function(){var td=ed,rd=td.x64,sd=rd.Word,od=rd.WordArray,ld=td.algo,ud=ld.SHA512,cd=ld.SHA384=ud.extend({_doReset:function(){this._hash=new od.init([new sd.init(3418070365,3238371032),new sd.init(1654270250,914150663),new sd.init(2438529370,812702999),new sd.init(355462360,4144912697),new sd.init(1731405415,4290775857),new sd.init(2394180231,1750603025),new sd.init(3675008525,1694076839),new sd.init(1203062813,3204075428)])},_doFinalize:function(){var dd=ud._doFinalize.call(this);return dd.sigBytes-=16,dd}});td.SHA384=ud._createHelper(cd),td.HmacSHA384=ud._createHmacHelper(cd)}(),ed.SHA384})}(sha384)),sha384.exports}var sha3={exports:{}},hasRequiredSha3;function requireSha3(){return hasRequiredSha3||(hasRequiredSha3=1,function(Ra,qa){(function(ed,td,rd){Ra.exports=td(requireCore(),requireX64Core())})(commonjsGlobal,function(ed){return function(td){var rd=ed,sd=rd.lib,od=sd.WordArray,ld=sd.Hasher,ud=rd.x64,cd=ud.Word,dd=rd.algo,_d=[],Ed=[],Ad=[];(function(){for(var Bd=1,Rd=0,Od=0;Od<24;Od++){_d[Bd+5*Rd]=(Od+1)*(Od+2)/2%64;var Md=Rd%5,Ld=(2*Bd+3*Rd)%5;Bd=Md,Rd=Ld}for(var Bd=0;Bd<5;Bd++)for(var Rd=0;Rd<5;Rd++)Ed[Bd+5*Rd]=Rd+(2*Bd+3*Rd)%5*5;for(var Fd=1,jd=0;jd<24;jd++){for(var Vd=0,Qd=0,qd=0;qd<7;qd++){if(Fd&1){var Kd=(1<>>24)&16711935|(Fd<<24|Fd>>>8)&4278255360,jd=(jd<<8|jd>>>24)&16711935|(jd<<24|jd>>>8)&4278255360;var Vd=Od[Ld];Vd.high^=jd,Vd.low^=Fd}for(var Qd=0;Qd<24;Qd++){for(var qd=0;qd<5;qd++){for(var Kd=0,Xd=0,df=0;df<5;df++){var Vd=Od[qd+5*df];Kd^=Vd.high,Xd^=Vd.low}var mf=Td[qd];mf.high=Kd,mf.low=Xd}for(var qd=0;qd<5;qd++)for(var bf=Td[(qd+4)%5],pf=Td[(qd+1)%5],_f=pf.high,Tf=pf.low,Kd=bf.high^(_f<<1|Tf>>>31),Xd=bf.low^(Tf<<1|_f>>>31),df=0;df<5;df++){var Vd=Od[qd+5*df];Vd.high^=Kd,Vd.low^=Xd}for(var kf=1;kf<25;kf++){var Kd,Xd,Vd=Od[kf],zf=Vd.high,Jf=Vd.low,Gf=_d[kf];Gf<32?(Kd=zf<>>32-Gf,Xd=Jf<>>32-Gf):(Kd=Jf<>>64-Gf,Xd=zf<>>64-Gf);var Mf=Td[Ed[kf]];Mf.high=Kd,Mf.low=Xd}var Nf=Td[0],Bf=Od[0];Nf.high=Bf.high,Nf.low=Bf.low;for(var qd=0;qd<5;qd++)for(var df=0;df<5;df++){var kf=qd+5*df,Vd=Od[kf],Qf=Td[kf],Wf=Td[(qd+1)%5+5*df],yf=Td[(qd+2)%5+5*df];Vd.high=Qf.high^~Wf.high&yf.high,Vd.low=Qf.low^~Wf.low&yf.low}var Vd=Od[0],hf=Ad[Qd];Vd.high^=hf.high,Vd.low^=hf.low}},_doFinalize:function(){var Bd=this._data,Rd=Bd.words;this._nDataBytes*8;var Od=Bd.sigBytes*8,Md=this.blockSize*32;Rd[Od>>>5]|=1<<24-Od%32,Rd[(td.ceil((Od+1)/Md)*Md>>>5)-1]|=128,Bd.sigBytes=Rd.length*4,this._process();for(var Ld=this._state,Fd=this.cfg.outputLength/8,jd=Fd/8,Vd=[],Qd=0;Qd>>24)&16711935|(Kd<<24|Kd>>>8)&4278255360,Xd=(Xd<<8|Xd>>>24)&16711935|(Xd<<24|Xd>>>8)&4278255360,Vd.push(Xd),Vd.push(Kd)}return new od.init(Vd,Fd)},clone:function(){for(var Bd=ld.clone.call(this),Rd=Bd._state=this._state.slice(0),Od=0;Od<25;Od++)Rd[Od]=Rd[Od].clone();return Bd}});rd.SHA3=ld._createHelper(Id),rd.HmacSHA3=ld._createHmacHelper(Id)}(Math),ed.SHA3})}(sha3)),sha3.exports}var ripemd160={exports:{}},hasRequiredRipemd160;function requireRipemd160(){return hasRequiredRipemd160||(hasRequiredRipemd160=1,function(Ra,qa){(function(ed,td){Ra.exports=td(requireCore())})(commonjsGlobal,function(ed){/** @preserve +`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}ud.prototype.build=function(fd){return this.options.preserveOrder?ad(fd,this.options):(Array.isArray(fd)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(fd={[this.options.arrayNodeName]:fd}),this.j2x(fd,0).val)},ud.prototype.j2x=function(fd,Td){let Ad="",Sd="";for(let Dd in fd)if(Object.prototype.hasOwnProperty.call(fd,Dd))if(typeof fd[Dd]>"u")this.isAttribute(Dd)&&(Sd+="");else if(fd[Dd]===null)this.isAttribute(Dd)?Sd+="":Dd[0]==="?"?Sd+=this.indentate(Td)+"<"+Dd+"?"+this.tagEndChar:Sd+=this.indentate(Td)+"<"+Dd+"/"+this.tagEndChar;else if(fd[Dd]instanceof Date)Sd+=this.buildTextValNode(fd[Dd],Dd,"",Td);else if(typeof fd[Dd]!="object"){const Ld=this.isAttribute(Dd);if(Ld)Ad+=this.buildAttrPairStr(Ld,""+fd[Dd]);else if(Dd===this.options.textNodeName){let Rd=this.options.tagValueProcessor(Dd,""+fd[Dd]);Sd+=this.replaceEntitiesValue(Rd)}else Sd+=this.buildTextValNode(fd[Dd],Dd,"",Td)}else if(Array.isArray(fd[Dd])){const Ld=fd[Dd].length;let Rd="";for(let Od=0;Od"u"||(Md===null?Dd[0]==="?"?Sd+=this.indentate(Td)+"<"+Dd+"?"+this.tagEndChar:Sd+=this.indentate(Td)+"<"+Dd+"/"+this.tagEndChar:typeof Md=="object"?this.options.oneListGroup?Rd+=this.j2x(Md,Td+1).val:Rd+=this.processTextOrObjNode(Md,Dd,Td):Rd+=this.buildTextValNode(Md,Dd,"",Td))}this.options.oneListGroup&&(Rd=this.buildObjectNode(Rd,Dd,"",Td)),Sd+=Rd}else if(this.options.attributesGroupName&&Dd===this.options.attributesGroupName){const Ld=Object.keys(fd[Dd]),Rd=Ld.length;for(let Od=0;Od"+fd+Dd:this.options.commentPropName!==!1&&Td===this.options.commentPropName&&Ld.length===0?this.indentate(Sd)+``+this.newLine:this.indentate(Sd)+"<"+Td+Ad+Ld+this.tagEndChar+fd+this.indentate(Sd)+Dd}},ud.prototype.closeTag=function(fd){let Td="";return this.options.unpairedTags.indexOf(fd)!==-1?this.options.suppressUnpairedNode||(Td="/"):this.options.suppressEmptyNode?Td="/":Td=`>`+this.newLine;if(this.options.commentPropName!==!1&&Td===this.options.commentPropName)return this.indentate(Sd)+``+this.newLine;if(Td[0]==="?")return this.indentate(Sd)+"<"+Td+Ad+"?"+this.tagEndChar;{let Dd=this.options.tagValueProcessor(Td,fd);return Dd=this.replaceEntitiesValue(Dd),Dd===""?this.indentate(Sd)+"<"+Td+Ad+this.closeTag(Td)+this.tagEndChar:this.indentate(Sd)+"<"+Td+Ad+">"+Dd+"0&&this.options.processEntities)for(let Td=0;Td0&&(Ad=nd),sd(fd,Td,"",Ad)}function sd(fd,Td,Ad,Sd){let Dd="",Ld=!1;for(let Rd=0;Rd`,Ld=!1;continue}else if(Md===Td.commentPropName){Dd+=Sd+``,Ld=!0;continue}else if(Md[0]==="?"){const Wd=cd(Od[":@"],Td),Qd=Md==="?xml"?"":Sd;let Jd=Od[Md][0][Td.textNodeName];Jd=Jd.length!==0?" "+Jd:"",Dd+=Qd+`<${Md}${Jd}${Wd}?>`,Ld=!0;continue}let Ud=Sd;Ud!==""&&(Ud+=Td.indentBy);const Hd=cd(Od[":@"],Td),zd=Sd+`<${Md}${Hd}`,Zd=sd(Od[Md],Td,jd,Ud);Td.unpairedTags.indexOf(Md)!==-1?Td.suppressUnpairedNode?Dd+=zd+">":Dd+=zd+"/>":(!Zd||Zd.length===0)&&Td.suppressEmptyNode?Dd+=zd+"/>":Zd&&Zd.endsWith(">")?Dd+=zd+`>${Zd}${Sd}`:(Dd+=zd+">",Zd&&Sd!==""&&(Zd.includes("/>")||Zd.includes("`),Ld=!0}return Dd}function ud(fd){const Td=Object.keys(fd);for(let Ad=0;Ad0&&Td.processEntities)for(let Ad=0;Ad"){if(Md?Sd[Dd-1]==="-"&&Sd[Dd-2]==="-"&&(Md=!1,Rd--):Rd--,Rd===0)break}else Sd[Dd]==="["?Od=!0:jd+=Sd[Dd];if(Rd!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:Ld,i:Dd}}function ud(Sd,Dd){let Ld="";for(;Dd!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(sd,ud,cd){return sd}},ad=function(sd){return Object.assign({},nd,sd)};rd.buildOptions=ad,rd.defaultOptions=nd},"./node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js":function(td,rd,nd){const ad=nd("./node_modules/fast-xml-parser/src/util.js"),sd=nd("./node_modules/fast-xml-parser/src/xmlparser/xmlNode.js"),ud=nd("./node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js"),cd=nd("./node_modules/strnum/strnum.js");class dd{constructor(Qd){this.options=Qd,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(Jd,hf)=>String.fromCharCode(Number.parseInt(hf,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(Jd,hf)=>String.fromCharCode(Number.parseInt(hf,16))}},this.addExternalEntities=pd,this.parseXml=Dd,this.parseTextData=fd,this.resolveNameSpace=Td,this.buildAttributesMap=Sd,this.isItStopNode=Md,this.replaceEntitiesValue=Rd,this.readStopNodeData=zd,this.saveTextToParentTag=Od,this.addChild=Ld}}function pd(Wd){const Qd=Object.keys(Wd);for(let Jd=0;Jd0)){_f||(Wd=this.replaceEntitiesValue(Wd));const vf=this.options.tagValueProcessor(Qd,Wd,Jd,bf,Ef);return vf==null?Wd:typeof vf!=typeof Wd||vf!==Wd?vf:this.options.trimValues?Zd(Wd,this.options.parseTagValue,this.options.numberParseOptions):Wd.trim()===Wd?Zd(Wd,this.options.parseTagValue,this.options.numberParseOptions):Wd}}function Td(Wd){if(this.options.removeNSPrefix){const Qd=Wd.split(":"),Jd=Wd.charAt(0)==="/"?"/":"";if(Qd[0]==="xmlns")return"";Qd.length===2&&(Wd=Jd+Qd[1])}return Wd}const Ad=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function Sd(Wd,Qd,Jd){if(!this.options.ignoreAttributes&&typeof Wd=="string"){const hf=ad.getAllMatches(Wd,Ad),bf=hf.length,Ef={};for(let _f=0;_f",Ef,"Closing Tag is not closed.");let xf=Wd.substring(Ef+2,vf).trim();if(this.options.removeNSPrefix){const eh=xf.indexOf(":");eh!==-1&&(xf=xf.substr(eh+1))}this.options.transformTagName&&(xf=this.options.transformTagName(xf)),Jd&&(hf=this.saveTextToParentTag(hf,Jd,bf));const Bf=bf.substring(bf.lastIndexOf(".")+1);if(xf&&this.options.unpairedTags.indexOf(xf)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: `);let Yf=0;Bf&&this.options.unpairedTags.indexOf(Bf)!==-1?(Yf=bf.lastIndexOf(".",bf.lastIndexOf(".")-1),this.tagsNodeStack.pop()):Yf=bf.lastIndexOf("."),bf=bf.substring(0,Yf),Jd=this.tagsNodeStack.pop(),hf="",Ef=vf}else if(Wd[Ef+1]==="?"){let vf=Hd(Wd,Ef,!1,"?>");if(!vf)throw new Error("Pi Tag is not closed.");if(hf=this.saveTextToParentTag(hf,Jd,bf),!(this.options.ignoreDeclaration&&vf.tagName==="?xml"||this.options.ignorePiTags)){const xf=new sd(vf.tagName);xf.add(this.options.textNodeName,""),vf.tagName!==vf.tagExp&&vf.attrExpPresent&&(xf[":@"]=this.buildAttributesMap(vf.tagExp,bf,vf.tagName)),this.addChild(Jd,xf,bf)}Ef=vf.closeIndex+1}else if(Wd.substr(Ef+1,3)==="!--"){const vf=Ud(Wd,"-->",Ef+4,"Comment is not closed.");if(this.options.commentPropName){const xf=Wd.substring(Ef+4,vf-2);hf=this.saveTextToParentTag(hf,Jd,bf),Jd.add(this.options.commentPropName,[{[this.options.textNodeName]:xf}])}Ef=vf}else if(Wd.substr(Ef+1,2)==="!D"){const vf=ud(Wd,Ef);this.docTypeEntities=vf.entities,Ef=vf.i}else if(Wd.substr(Ef+1,2)==="!["){const vf=Ud(Wd,"]]>",Ef,"CDATA is not closed.")-2,xf=Wd.substring(Ef+9,vf);hf=this.saveTextToParentTag(hf,Jd,bf);let Bf=this.parseTextData(xf,Jd.tagname,bf,!0,!1,!0,!0);Bf==null&&(Bf=""),this.options.cdataPropName?Jd.add(this.options.cdataPropName,[{[this.options.textNodeName]:xf}]):Jd.add(this.options.textNodeName,Bf),Ef=vf+2}else{let vf=Hd(Wd,Ef,this.options.removeNSPrefix),xf=vf.tagName;const Bf=vf.rawTagName;let Yf=vf.tagExp,eh=vf.attrExpPresent,Vf=vf.closeIndex;this.options.transformTagName&&(xf=this.options.transformTagName(xf)),Jd&&hf&&Jd.tagname!=="!xml"&&(hf=this.saveTextToParentTag(hf,Jd,bf,!1));const Pf=Jd;if(Pf&&this.options.unpairedTags.indexOf(Pf.tagname)!==-1&&(Jd=this.tagsNodeStack.pop(),bf=bf.substring(0,bf.lastIndexOf("."))),xf!==Qd.tagname&&(bf+=bf?"."+xf:xf),this.isItStopNode(this.options.stopNodes,bf,xf)){let If="";if(Yf.length>0&&Yf.lastIndexOf("/")===Yf.length-1)xf[xf.length-1]==="/"?(xf=xf.substr(0,xf.length-1),bf=bf.substr(0,bf.length-1),Yf=xf):Yf=Yf.substr(0,Yf.length-1),Ef=vf.closeIndex;else if(this.options.unpairedTags.indexOf(xf)!==-1)Ef=vf.closeIndex;else{const Zf=this.readStopNodeData(Wd,Bf,Vf+1);if(!Zf)throw new Error(`Unexpected end of ${Bf}`);Ef=Zf.i,If=Zf.tagContent}const $f=new sd(xf);xf!==Yf&&eh&&($f[":@"]=this.buildAttributesMap(Yf,bf,xf)),If&&(If=this.parseTextData(If,xf,bf,!0,eh,!0,!0)),bf=bf.substr(0,bf.lastIndexOf(".")),$f.add(this.options.textNodeName,If),this.addChild(Jd,$f,bf)}else{if(Yf.length>0&&Yf.lastIndexOf("/")===Yf.length-1){xf[xf.length-1]==="/"?(xf=xf.substr(0,xf.length-1),bf=bf.substr(0,bf.length-1),Yf=xf):Yf=Yf.substr(0,Yf.length-1),this.options.transformTagName&&(xf=this.options.transformTagName(xf));const If=new sd(xf);xf!==Yf&&eh&&(If[":@"]=this.buildAttributesMap(Yf,bf,xf)),this.addChild(Jd,If,bf),bf=bf.substr(0,bf.lastIndexOf("."))}else{const If=new sd(xf);this.tagsNodeStack.push(Jd),xf!==Yf&&eh&&(If[":@"]=this.buildAttributesMap(Yf,bf,xf)),this.addChild(Jd,If,bf),Jd=If}hf="",Ef=Vf}}else hf+=Wd[Ef];return Qd.child};function Ld(Wd,Qd,Jd){const hf=this.options.updateTag(Qd.tagname,Jd,Qd[":@"]);hf===!1||(typeof hf=="string"&&(Qd.tagname=hf),Wd.addChild(Qd))}const Rd=function(Wd){if(this.options.processEntities){for(let Qd in this.docTypeEntities){const Jd=this.docTypeEntities[Qd];Wd=Wd.replace(Jd.regx,Jd.val)}for(let Qd in this.lastEntities){const Jd=this.lastEntities[Qd];Wd=Wd.replace(Jd.regex,Jd.val)}if(this.options.htmlEntities)for(let Qd in this.htmlEntities){const Jd=this.htmlEntities[Qd];Wd=Wd.replace(Jd.regex,Jd.val)}Wd=Wd.replace(this.ampEntity.regex,this.ampEntity.val)}return Wd};function Od(Wd,Qd,Jd,hf){return Wd&&(hf===void 0&&(hf=Object.keys(Qd.child).length===0),Wd=this.parseTextData(Wd,Qd.tagname,Jd,!1,Qd[":@"]?Object.keys(Qd[":@"]).length!==0:!1,hf),Wd!==void 0&&Wd!==""&&Qd.add(this.options.textNodeName,Wd),Wd=""),Wd}function Md(Wd,Qd,Jd){const hf="*."+Jd;for(const bf in Wd){const Ef=Wd[bf];if(hf===Ef||Qd===Ef)return!0}return!1}function jd(Wd,Qd,Jd=">"){let hf,bf="";for(let Ef=Qd;Ef",Jd,`${Qd} is not closed`);if(Wd.substring(Jd+2,Ef).trim()===Qd&&(bf--,bf===0))return{tagContent:Wd.substring(hf,Jd),i:Ef};Jd=Ef}else if(Wd[Jd+1]==="?")Jd=Ud(Wd,"?>",Jd+1,"StopNode is not closed.");else if(Wd.substr(Jd+1,3)==="!--")Jd=Ud(Wd,"-->",Jd+3,"StopNode is not closed.");else if(Wd.substr(Jd+1,2)==="![")Jd=Ud(Wd,"]]>",Jd,"StopNode is not closed.")-2;else{const Ef=Hd(Wd,Jd,">");Ef&&((Ef&&Ef.tagName)===Qd&&Ef.tagExp[Ef.tagExp.length-1]!=="/"&&bf++,Jd=Ef.closeIndex)}}function Zd(Wd,Qd,Jd){if(Qd&&typeof Wd=="string"){const hf=Wd.trim();return hf==="true"?!0:hf==="false"?!1:cd(Wd,Jd)}else return ad.isExist(Wd)?Wd:""}td.exports=dd},"./node_modules/fast-xml-parser/src/xmlparser/XMLParser.js":function(td,rd,nd){const{buildOptions:ad}=nd("./node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js"),sd=nd("./node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js"),{prettify:ud}=nd("./node_modules/fast-xml-parser/src/xmlparser/node2json.js"),cd=nd("./node_modules/fast-xml-parser/src/validator.js");class dd{constructor(fd){this.externalEntities={},this.options=ad(fd)}parse(fd,Td){if(typeof fd!="string")if(fd.toString)fd=fd.toString();else throw new Error("XML data is accepted in String or Bytes[] form.");if(Td){Td===!0&&(Td={});const Dd=cd.validate(fd,Td);if(Dd!==!0)throw Error(`${Dd.err.msg}:${Dd.err.line}:${Dd.err.col}`)}const Ad=new sd(this.options);Ad.addExternalEntities(this.externalEntities);const Sd=Ad.parseXml(fd);return this.options.preserveOrder||Sd===void 0?Sd:ud(Sd,this.options)}addEntity(fd,Td){if(Td.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");if(fd.indexOf("&")!==-1||fd.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for ' '");if(Td==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[fd]=Td}}td.exports=dd},"./node_modules/fast-xml-parser/src/xmlparser/node2json.js":function(td,rd,nd){function ad(pd,fd){return sd(pd,fd)}function sd(pd,fd,Td){let Ad;const Sd={};for(let Dd=0;Dd0&&(Sd[fd.textNodeName]=Ad):Ad!==void 0&&(Sd[fd.textNodeName]=Ad),Sd}function ud(pd){const fd=Object.keys(pd);for(let Td=0;Td0?this.child.push({[ud.tagname]:ud.child,":@":ud[":@"]}):this.child.push({[ud.tagname]:ud.child})}}td.exports=ad},"./node_modules/process/browser.js":function(td,rd){var nd=td.exports={},ad,sd;function ud(){throw new Error("setTimeout has not been defined")}function cd(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?ad=setTimeout:ad=ud}catch{ad=ud}try{typeof clearTimeout=="function"?sd=clearTimeout:sd=cd}catch{sd=cd}})();function dd(Md){if(ad===setTimeout)return setTimeout(Md,0);if((ad===ud||!ad)&&setTimeout)return ad=setTimeout,setTimeout(Md,0);try{return ad(Md,0)}catch{try{return ad.call(null,Md,0)}catch{return ad.call(this,Md,0)}}}function pd(Md){if(sd===clearTimeout)return clearTimeout(Md);if((sd===cd||!sd)&&clearTimeout)return sd=clearTimeout,clearTimeout(Md);try{return sd(Md)}catch{try{return sd.call(null,Md)}catch{return sd.call(this,Md)}}}var fd=[],Td=!1,Ad,Sd=-1;function Dd(){!Td||!Ad||(Td=!1,Ad.length?fd=Ad.concat(fd):Sd=-1,fd.length&&Ld())}function Ld(){if(!Td){var Md=dd(Dd);Td=!0;for(var jd=fd.length;jd;){for(Ad=fd,fd=[];++Sd1)for(var Ud=1;Ud0&&Ad&&fd[2]!==".")return dd;if(!pd.leadingZeros&&Sd.length>0&&!Ad&&fd[1]!==".")return dd;{const Rd=Number(fd),Od=""+Rd;return Od.search(/[eE]/)!==-1||Ld?pd.eNotation?Rd:dd:fd.indexOf(".")!==-1?Od==="0"&&Dd===""||Od===Dd||Ad&&Od==="-"+Dd?Rd:dd:Sd?Dd===Od||Ad+Dd===Od?Rd:dd:fd===Od||fd===Ad+Od?Rd:dd}}else return dd}}function cd(dd){return dd&&dd.indexOf(".")!==-1&&(dd=dd.replace(/0+$/,""),dd==="."?dd="0":dd[0]==="."?dd="0"+dd:dd[dd.length-1]==="."&&(dd=dd.substr(0,dd.length-1))),dd}td.exports=ud},"./node_modules/webpack/buildin/amd-options.js":function(td,rd){(function(nd){td.exports=nd}).call(this,{})},"./node_modules/webpack/buildin/module.js":function(td,rd){td.exports=function(nd){return nd.webpackPolyfill||(nd.deprecate=function(){},nd.paths=[],nd.children||(nd.children=[]),Object.defineProperty(nd,"loaded",{enumerable:!0,get:function(){return nd.l}}),Object.defineProperty(nd,"id",{enumerable:!0,get:function(){return nd.i}}),nd.webpackPolyfill=1),nd}},"./package.json":function(td){td.exports=JSON.parse('{"name":"cos-js-sdk-v5","version":"1.8.4","description":"JavaScript SDK for [腾讯云对象存储](https://cloud.tencent.com/product/cos)","main":"dist/cos-js-sdk-v5.js","types":"index.d.ts","scripts":{"prettier":"prettier --write src demo/demo.js demo/CIDemos/*.js test/test.js server/sts.js lib/request.js index.d.ts","server":"node server/sts.js","dev":"cross-env NODE_ENV=development webpack -w --mode=development","build":"cross-env NODE_ENV=production webpack --mode=production","cos-auth.min.js":"uglifyjs ./demo/common/cos-auth.js -o ./demo/common/cos-auth.min.js -c -m","test":"jest --runInBand --coverage"},"repository":{"type":"git","url":"git+https://github.com/tencentyun/cos-js-sdk-v5.git"},"keywords":[],"author":"carsonxu","license":"ISC","bugs":{"url":"https://github.com/tencentyun/cos-js-sdk-v5/issues"},"homepage":"https://github.com/tencentyun/cos-js-sdk-v5#readme","dependencies":{"fast-xml-parser":"^4.4.0"},"devDependencies":{"@babel/core":"7.17.9","@babel/plugin-transform-runtime":"7.18.10","@babel/preset-env":"7.16.11","babel-loader":"8.2.5","body-parser":"^1.18.3","cross-env":"^5.2.0","express":"^4.16.4","jest":"^29.3.1","jest-environment-jsdom":"^29.3.1","prettier":"^3.0.1","qcloud-cos-sts":"^3.0.2","request":"^2.87.0","terser-webpack-plugin":"4.2.3","uglifyjs":"^2.4.11","webpack":"4.46.0","webpack-cli":"4.10.0"}}')},"./src/advance.js":function(td,rd,nd){var ad=nd("./node_modules/@babel/runtime/helpers/typeof.js"),sd=nd("./src/session.js"),ud=nd("./src/async.js"),cd=nd("./src/event.js").EventProxy,dd=nd("./src/util.js"),pd=nd("./src/tracker.js");function fd(Wd,Qd){var Jd=this,hf=new cd,bf=Wd.TaskId,Ef=Wd.Bucket,_f=Wd.Region,vf=Wd.Key,xf=Wd.Body,Bf=Wd.ChunkSize||Wd.SliceSize||Jd.options.ChunkSize,Yf=Wd.AsyncLimit,eh=Wd.StorageClass,Vf=Wd.ServerSideEncryption,Pf,If,$f=Wd.onHashProgress,Zf=Wd.tracker;Zf&&Zf.setParams({chunkSize:Bf}),hf.on("error",function(Kf){if(Jd._isRunningTask(bf))return Kf.UploadId=Wd.UploadData.UploadId||"",Qd(Kf)}),hf.on("upload_complete",function(Kf){var Tf=dd.extend({UploadId:Wd.UploadData.UploadId||""},Kf);Qd(null,Tf)}),hf.on("upload_slice_complete",function(Kf){var Tf={};dd.each(Wd.Headers,function(gf,Mf){var Gf=Mf.toLowerCase();(Gf.indexOf("x-cos-meta-")===0||["pic-operations","x-cos-callback","x-cos-callback-var","x-cos-return-body"].includes(Gf))&&(Tf[Mf]=gf)}),Rd.call(Jd,{Bucket:Ef,Region:_f,Key:vf,UploadId:Kf.UploadId,SliceList:Kf.SliceList,Headers:Tf,tracker:Zf},function(gf,Mf){if(Jd._isRunningTask(bf)){if(sd.removeUsing(Kf.UploadId),gf)return If(null,!0),hf.emit("error",gf);sd.removeUploadId.call(Jd,Kf.UploadId),If({loaded:Pf,total:Pf},!0),hf.emit("upload_complete",Mf)}})}),hf.on("get_upload_data_finish",function(Kf){var Tf=sd.getFileId(xf,Wd.ChunkSize,Ef,vf);Tf&&sd.saveUploadId.call(Jd,Tf,Kf.UploadId,Jd.options.UploadIdCacheLimit),sd.setUsing(Kf.UploadId),If(null,!0),Dd.call(Jd,{TaskId:bf,Bucket:Ef,Region:_f,Key:vf,Body:xf,FileSize:Pf,SliceSize:Bf,AsyncLimit:Yf,ServerSideEncryption:Vf,UploadData:Kf,Headers:Wd.Headers,onProgress:If,tracker:Zf},function(gf,Mf){if(Jd._isRunningTask(bf)){if(gf)return If(null,!0),hf.emit("error",gf);hf.emit("upload_slice_complete",Mf)}})}),hf.on("get_file_size_finish",function(){if(If=dd.throttleOnProgress.call(Jd,Pf,Wd.onProgress),Wd.UploadData.UploadId)hf.emit("get_upload_data_finish",Wd.UploadData);else{var Kf=dd.extend({TaskId:bf,Bucket:Ef,Region:_f,Key:vf,Headers:Wd.Headers,StorageClass:eh,Body:xf,FileSize:Pf,SliceSize:Bf,onHashProgress:$f,tracker:Zf},Wd);Td.call(Jd,Kf,function(Tf,gf){if(Jd._isRunningTask(bf)){if(Tf)return hf.emit("error",Tf);Wd.UploadData.UploadId=gf.UploadId,Wd.UploadData.PartList=gf.PartList,hf.emit("get_upload_data_finish",Wd.UploadData)}})}}),Pf=Wd.ContentLength,delete Wd.ContentLength,!Wd.Headers&&(Wd.Headers={}),dd.each(Wd.Headers,function(Kf,Tf){Tf.toLowerCase()==="content-length"&&delete Wd.Headers[Tf]}),function(){for(var Kf=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,5120],Tf=1024*1024,gf=0;gfeh)return gf(null,!1);if(Mf>1){var Gf=Math.max(Tf[0].Size,Tf[1].Size);if(Gf!==Yf)return gf(null,!1)}var Qf=function Uf(Df){if(Df=gf.length){Zf.emit("has_and_check_upload_id",Kf);return}var Uf=gf[Qf];if(!dd.isInArray(Kf,Uf)){sd.removeUploadId.call(vf,Uf),Gf(Qf+1);return}if(sd.using[Uf]){Gf(Qf+1);return}Sd.call(vf,{Bucket:hf,Region:bf,Key:Ef,UploadId:Uf,tracker:Wd.tracker},function(Df,Xf){vf._isRunningTask(Jd)&&(Df?(sd.removeUploadId.call(vf,Uf),Gf(Qf+1)):Zf.emit("upload_id_available",{UploadId:Uf,PartList:Xf.PartList}))})};Mf(0)}),Zf.on("get_remote_upload_id_list",function(){Ad.call(vf,{Bucket:hf,Region:bf,Key:Ef,tracker:Wd.tracker},function(Kf,Tf){if(vf._isRunningTask(Jd)){if(Kf)return Zf.emit("error",Kf);var gf=dd.filter(Tf.UploadList,function(Qf){return Qf.Key===Ef&&(!_f||Qf.StorageClass.toUpperCase()===_f.toUpperCase())}).reverse().map(function(Qf){return Qf.UploadId||Qf.UploadID});if(gf.length)Zf.emit("seek_local_avail_upload_id",gf);else{var Mf=sd.getFileId(Wd.Body,Wd.ChunkSize,hf,Ef),Gf;Mf&&(Gf=sd.getUploadIdList.call(vf,Mf))&&dd.each(Gf,function(Qf){sd.removeUploadId.call(vf,Qf)}),Zf.emit("no_available_upload_id")}}})}),Zf.emit("get_remote_upload_id_list")}function Ad(Wd,Qd){var Jd=this,hf=[],bf={Bucket:Wd.Bucket,Region:Wd.Region,Prefix:Wd.Key,calledBySdk:Wd.calledBySdk||"sliceUploadFile",tracker:Wd.tracker},Ef=function _f(){Jd.multipartList(bf,function(vf,xf){if(vf)return Qd(vf);hf.push.apply(hf,xf.Upload||[]),xf.IsTruncated==="true"?(bf.KeyMarker=xf.NextKeyMarker,bf.UploadIdMarker=xf.NextUploadIdMarker,_f()):Qd(null,{UploadList:hf})})};Ef()}function Sd(Wd,Qd){var Jd=this,hf=[],bf={Bucket:Wd.Bucket,Region:Wd.Region,Key:Wd.Key,UploadId:Wd.UploadId,calledBySdk:"sliceUploadFile",tracker:Wd.tracker},Ef=function _f(){Jd.multipartListPart(bf,function(vf,xf){if(vf)return Qd(vf);hf.push.apply(hf,xf.Part||[]),xf.IsTruncated==="true"?(bf.PartNumberMarker=xf.NextPartNumberMarker,_f()):Qd(null,{PartList:hf})})};Ef()}function Dd(Wd,Qd){var Jd=this,hf=Wd.TaskId,bf=Wd.Bucket,Ef=Wd.Region,_f=Wd.Key,vf=Wd.UploadData,xf=Wd.FileSize,Bf=Wd.SliceSize,Yf=Math.min(Wd.AsyncLimit||Jd.options.ChunkParallelLimit||1,256),eh=Wd.Body,Vf=Math.ceil(xf/Bf),Pf=0,If=Wd.ServerSideEncryption,$f=Wd.Headers,Zf=dd.filter(vf.PartList,function(Tf){return Tf.Uploaded&&(Pf+=Tf.PartNumber>=Vf&&xf%Bf||Bf),!Tf.Uploaded}),Kf=Wd.onProgress;ud.eachLimit(Zf,Yf,function(Tf,gf){if(Jd._isRunningTask(hf)){var Mf=Tf.PartNumber,Gf=Math.min(xf,Tf.PartNumber*Bf)-(Tf.PartNumber-1)*Bf,Qf=0;Ld.call(Jd,{TaskId:hf,Bucket:bf,Region:Ef,Key:_f,SliceSize:Bf,FileSize:xf,PartNumber:Mf,ServerSideEncryption:If,Body:eh,UploadData:vf,Headers:$f,onProgress:function(Df){Pf+=Df.loaded-Qf,Qf=Df.loaded,Kf({loaded:Pf,total:xf})},tracker:Wd.tracker},function(Uf,Df){Jd._isRunningTask(hf)&&(!Uf&&!Df.ETag&&(Uf='get ETag error, please add "ETag" to CORS ExposeHeader setting.( 获取ETag失败,请在CORS ExposeHeader设置中添加ETag,请参考文档:https://cloud.tencent.com/document/product/436/13318 )'),Uf?Pf-=Qf:(Pf+=Gf-Qf,Tf.ETag=Df.ETag),Kf({loaded:Pf,total:xf}),gf(Uf||null,Df))})}},function(Tf){if(Jd._isRunningTask(hf)){if(Tf)return Qd(Tf);Qd(null,{UploadId:vf.UploadId,SliceList:vf.PartList})}})}function Ld(Wd,Qd){var Jd=this,hf=Wd.TaskId,bf=Wd.Bucket,Ef=Wd.Region,_f=Wd.Key,vf=Wd.FileSize,xf=Wd.Body,Bf=Wd.PartNumber*1,Yf=Wd.SliceSize,eh=Wd.ServerSideEncryption,Vf=Wd.UploadData,Pf=Wd.Headers||{},If=Jd.options.ChunkRetryTimes+1,$f=Yf*(Bf-1),Zf=Yf,Kf=$f+Yf;Kf>vf&&(Kf=vf,Zf=Kf-$f);var Tf=["x-cos-traffic-limit","x-cos-mime-limit"],gf={};dd.each(Pf,function(Gf,Qf){Tf.indexOf(Qf)>-1&&(gf[Qf]=Gf)});var Mf=Vf.PartList[Bf-1];ud.retry(If,function(Gf){Jd._isRunningTask(hf)&&dd.fileSlice(xf,$f,Kf,!0,function(Qf){Jd.multipartUpload({TaskId:hf,Bucket:bf,Region:Ef,Key:_f,ContentLength:Zf,PartNumber:Bf,UploadId:Vf.UploadId,ServerSideEncryption:eh,Body:Qf,Headers:gf,onProgress:Wd.onProgress,calledBySdk:"sliceUploadFile",tracker:Wd.tracker},function(Uf,Df){if(Jd._isRunningTask(hf))return Uf?Gf(Uf):(Mf.Uploaded=!0,Gf(null,Df))})})},function(Gf,Qf){if(Jd._isRunningTask(hf))return Qd(Gf,Qf)})}function Rd(Wd,Qd){var Jd=Wd.Bucket,hf=Wd.Region,bf=Wd.Key,Ef=Wd.UploadId,_f=Wd.SliceList,vf=this,xf=this.options.ChunkRetryTimes+1,Bf=Wd.Headers,Yf=_f.map(function(eh){return{PartNumber:eh.PartNumber,ETag:eh.ETag}});ud.retry(xf,function(eh){vf.multipartComplete({Bucket:Jd,Region:hf,Key:bf,UploadId:Ef,Parts:Yf,Headers:Bf,calledBySdk:"sliceUploadFile",tracker:Wd.tracker},eh)},function(eh,Vf){Qd(eh,Vf)})}function Od(Wd,Qd){var Jd=Wd.Bucket,hf=Wd.Region,bf=Wd.Key,Ef=Wd.UploadId,_f=Wd.Level||"task",vf=Wd.AsyncLimit,xf=this,Bf=new cd;if(Bf.on("error",function(Yf){return Qd(Yf)}),Bf.on("get_abort_array",function(Yf){Md.call(xf,{Bucket:Jd,Region:hf,Key:bf,Headers:Wd.Headers,AsyncLimit:vf,AbortArray:Yf},Qd)}),_f==="bucket")Ad.call(xf,{Bucket:Jd,Region:hf,calledBySdk:"abortUploadTask"},function(Yf,eh){if(Yf)return Qd(Yf);Bf.emit("get_abort_array",eh.UploadList||[])});else if(_f==="file"){if(!bf)return Qd(dd.error(new Error("abort_upload_task_no_key")));Ad.call(xf,{Bucket:Jd,Region:hf,Key:bf,calledBySdk:"abortUploadTask"},function(Yf,eh){if(Yf)return Qd(Yf);Bf.emit("get_abort_array",eh.UploadList||[])})}else if(_f==="task"){if(!Ef)return Qd(dd.error(new Error("abort_upload_task_no_id")));if(!bf)return Qd(dd.error(new Error("abort_upload_task_no_key")));Bf.emit("get_abort_array",[{Key:bf,UploadId:Ef}])}else return Qd(dd.error(new Error("abort_unknown_level")))}function Md(Wd,Qd){var Jd=Wd.Bucket,hf=Wd.Region,bf=Wd.Key,Ef=Wd.AbortArray,_f=Wd.AsyncLimit||1,vf=this,xf=0,Bf=new Array(Ef.length);ud.eachLimit(Ef,_f,function(Yf,eh){var Vf=xf;if(bf&&bf!==Yf.Key){Bf[Vf]={error:{KeyNotMatch:!0}},eh(null);return}var Pf=Yf.UploadId||Yf.UploadID;vf.multipartAbort({Bucket:Jd,Region:hf,Key:Yf.Key,Headers:Wd.Headers,UploadId:Pf},function(If){var $f={Bucket:Jd,Region:hf,Key:Yf.Key,UploadId:Pf};Bf[Vf]={error:If,task:$f},eh(null)}),xf++},function(Yf){if(Yf)return Qd(Yf);for(var eh=[],Vf=[],Pf=0,If=Bf.length;Pfhf?"sliceUploadFile":"putObject";Wd.tracker=new pd({Beacon:Jd.options.BeaconReporter,clsReporter:Jd.options.ClsReporter,bucket:Wd.Bucket,region:Wd.Region,apiName:"uploadFile",realApi:Bf,fileKey:Wd.Key,fileSize:_f,accelerate:xf,deepTracker:Jd.options.DeepTracker,customId:Jd.options.CustomId,delay:Jd.options.TrackerDelay})}dd.each(Wd,function($f,Zf){ad($f)!=="object"&&typeof $f!="function"&&(vf[Zf]=$f)});var Yf=Wd.onTaskReady,eh=function(Zf){vf.TaskId=Zf,Yf&&Yf(Zf)};Wd.onTaskReady=eh;var Vf=_f>hf?"sliceUploadFile":"putObject",Pf=Wd.onFileFinish,If=function(Zf,Kf){Wd.tracker&&Wd.tracker.report(Zf,Kf),Pf&&Pf(Zf,Kf,vf),Qd&&Qd(Zf,Kf)};bf.push({api:Vf,params:Wd,callback:If}),Jd._addTasks(bf)}function Ud(Wd,Qd){var Jd=this,hf=Wd.SliceSize===void 0?Jd.options.SliceSize:Wd.SliceSize,bf=0,Ef=0,_f=dd.throttleOnProgress.call(Jd,Ef,Wd.onProgress),vf=Wd.files.length,xf=Wd.onFileFinish,Bf=Array(vf),Yf=function(Pf,If,$f){_f(null,!0),xf&&xf(Pf,If,$f),Bf[$f.Index]={options:$f,error:Pf,data:If},--vf<=0&&Qd&&Qd(null,{files:Bf})},eh=[];dd.each(Wd.files,function(Vf,Pf){(function(){var If=Vf.Body,$f=If.size||If.length||0,Zf={Index:Pf,TaskId:""};if(!Jd.options.UseRawKey&&Vf.Key&&Vf.Key.substr(0,1)==="/"&&(Vf.Key=Vf.Key.substr(1)),bf+=$f,Jd.options.EnableReporter){var Kf=Jd.options.UseAccelerate||typeof Jd.options.Domain=="string"&&Jd.options.Domain.includes("accelerate."),Tf=$f>hf?"sliceUploadFile":"putObject";Vf.tracker=new pd({Beacon:Jd.options.BeaconReporter,clsReporter:Jd.options.ClsReporter,bucket:Vf.Bucket,region:Vf.Region,apiName:"uploadFiles",realApi:Tf,fileKey:Vf.Key,fileSize:$f,accelerate:Kf,deepTracker:Jd.options.DeepTracker,customId:Jd.options.CustomId,delay:Jd.options.TrackerDelay})}dd.each(Vf,function(qf,wf){ad(qf)!=="object"&&typeof qf!="function"&&(Zf[wf]=qf)});var gf=Vf.onTaskReady,Mf=function(wf){Zf.TaskId=wf,gf&&gf(wf)};Vf.onTaskReady=Mf;var Gf=0,Qf=Vf.onProgress,Uf=function(wf){Ef=Ef-Gf+wf.loaded,Gf=wf.loaded,Qf&&Qf(wf),_f({loaded:Ef,total:bf})};Vf.onProgress=Uf;var Df=$f>hf?"sliceUploadFile":"putObject",Xf=Vf.onFileFinish,dh=function(wf,Rf){Vf.tracker&&Vf.tracker.report(wf,Rf),Xf&&Xf(wf,Rf),Yf&&Yf(wf,Rf,Zf)};eh.push({api:Df,params:Vf,callback:dh})})()}),Jd._addTasks(eh)}function Hd(Wd,Qd){var Jd=new cd,hf=this,bf=Wd.Bucket,Ef=Wd.Region,_f=Wd.Key,vf=Wd.CopySource,xf=dd.getSourceParams.call(this,vf);if(!xf){Qd(dd.error(new Error("CopySource format error")));return}var Bf=xf.Bucket,Yf=xf.Region,eh=decodeURIComponent(xf.Key),Vf=Wd.CopySliceSize===void 0?hf.options.CopySliceSize:Wd.CopySliceSize;Vf=Math.max(0,Vf);var Pf=Wd.CopyChunkSize||this.options.CopyChunkSize,If=this.options.CopyChunkParallelLimit,$f=this.options.ChunkRetryTimes+1,Zf=0,Kf=0,Tf,gf,Mf={},Gf={},Qf={};Jd.on("copy_slice_complete",function(Uf){dd.each(Wd.Headers,function(Xf,dh){dh.toLowerCase().indexOf("x-cos-meta-")});var Df=dd.map(Uf.PartList,function(Xf){return{PartNumber:Xf.PartNumber,ETag:Xf.ETag}});ud.retry($f,function(Xf){hf.multipartComplete({Bucket:bf,Region:Ef,Key:_f,UploadId:Uf.UploadId,Parts:Df,tracker:Wd.tracker,calledBySdk:"sliceCopyFile"},Xf)},function(Xf,dh){if(sd.removeUsing(Uf.UploadId),Xf)return gf(null,!0),Qd(Xf);sd.removeUploadId(Uf.UploadId),gf({loaded:Tf,total:Tf},!0),Qd(null,dh)})}),Jd.on("get_copy_data_finish",function(Uf){var Df=sd.getCopyFileId(vf,Mf,Pf,bf,_f);Df&&sd.saveUploadId(Df,Uf.UploadId,hf.options.UploadIdCacheLimit),sd.setUsing(Uf.UploadId);var Xf=dd.filter(Uf.PartList,function(dh){return dh.Uploaded&&(Kf+=dh.PartNumber>=Zf&&Tf%Pf||Pf),!dh.Uploaded});ud.eachLimit(Xf,If,function(dh,qf){var wf=dh.PartNumber,Rf=dh.CopySourceRange,jf=dh.end-dh.start;ud.retry($f,function(lh){zd.call(hf,{Bucket:bf,Region:Ef,Key:_f,CopySource:vf,UploadId:Uf.UploadId,PartNumber:wf,CopySourceRange:Rf,tracker:Wd.tracker,calledBySdk:"sliceCopyFile"},lh)},function(lh,_h){if(lh)return qf(lh);Kf+=jf,gf({loaded:Kf,total:Tf}),dh.ETag=_h.ETag,qf(lh||null,_h)})},function(dh){if(dh)return sd.removeUsing(Uf.UploadId),gf(null,!0),Qd(dh);Jd.emit("copy_slice_complete",Uf)})}),Jd.on("get_chunk_size_finish",function(){var Uf=function(){hf.multipartInit({Bucket:bf,Region:Ef,Key:_f,Headers:Qf,tracker:Wd.tracker,calledBySdk:"sliceCopyFile"},function(wf,Rf){if(wf)return Qd(wf);Wd.UploadId=Rf.UploadId,Jd.emit("get_copy_data_finish",{UploadId:Wd.UploadId,PartList:Wd.PartList})})},Df=sd.getCopyFileId(vf,Mf,Pf,bf,_f),Xf=sd.getUploadIdList(Df);if(!Df||!Xf)return Uf();var dh=function qf(wf){if(wf>=Xf.length)return Uf();var Rf=Xf[wf];if(sd.using[Rf])return qf(wf+1);Sd.call(hf,{Bucket:bf,Region:Ef,Key:_f,UploadId:Rf,tracker:Wd.tracker,calledBySdk:"sliceCopyFile"},function(jf,lh){if(jf)sd.removeUploadId(Rf),qf(wf+1);else{if(sd.using[Rf])return qf(wf+1);var _h={},ih=0;dd.each(lh.PartList,function(wh){var hh=parseInt(wh.Size),Th=ih+hh-1;_h[wh.PartNumber+"|"+ih+"|"+Th]=wh.ETag,ih+=hh}),dd.each(Wd.PartList,function(wh){var hh=_h[wh.PartNumber+"|"+wh.start+"|"+wh.end];hh&&(wh.ETag=hh,wh.Uploaded=!0)}),Jd.emit("get_copy_data_finish",{UploadId:Rf,PartList:Wd.PartList})}})};dh(0)}),Jd.on("get_file_size_finish",function(){if(function(){for(var Df=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,5120],Xf=1024*1024,dh=0;dhwf.length&&(Gf[qf]=dh)}),Jd.emit("get_file_size_finish")}})}function zd(Wd,Qd){var Jd=Wd.TaskId,hf=Wd.Bucket,bf=Wd.Region,Ef=Wd.Key,_f=Wd.CopySource,vf=Wd.UploadId,xf=Wd.PartNumber*1,Bf=Wd.CopySourceRange,Yf=this.options.ChunkRetryTimes+1,eh=this;ud.retry(Yf,function(Vf){eh.uploadPartCopy({TaskId:Jd,Bucket:hf,Region:bf,Key:Ef,CopySource:_f,UploadId:vf,PartNumber:xf,CopySourceRange:Bf,tracker:Wd.tracker,calledBySdk:Wd.calledBySdk},function(Pf,If){Vf(Pf||null,If)})},function(Vf,Pf){return Qd(Vf,Pf)})}var Zd={sliceUploadFile:fd,abortUploadTask:Od,uploadFile:jd,uploadFiles:Ud,sliceCopyFile:Hd};td.exports.init=function(Wd,Qd){Qd.transferToTaskMethod(Zd,"sliceUploadFile"),dd.each(Zd,function(Jd,hf){Wd.prototype[hf]=dd.apiWrapper(hf,Jd)})}},"./src/async.js":function(td,rd){var nd=function(cd,dd,pd,fd){if(fd=fd||function(){},!cd.length||dd<=0)return fd();var Td=0,Ad=0,Sd=0;(function Dd(){if(Td>=cd.length)return fd();for(;Sd=cd.length?fd():Dd())})})()},ad=function(cd,dd,pd){var fd=function Td(Ad){dd(function(Sd,Dd){Sd&&Ad"u"?"undefined":ad(location))==="object"&&location.protocol==="http:"?"http:":"https:"),ch=this.options.ServiceDomain,yh=Cf.AppId||this.options.appId,vh=Cf.Region;ch?(ch=ch.replace(/\{\{AppId\}\}/gi,yh||"").replace(/\{\{Region\}\}/gi,vh||"").replace(/\{\{.*?\}\}/gi,""),/^[a-zA-Z]+:\/\//.test(ch)||(ch=th+"//"+ch),ch.slice(-1)==="/"&&(ch=ch.slice(0,-1))):vh?ch=th+"//cos."+vh+".myqcloud.com":ch=th+"//service.cos.myqcloud.com";var kh="",Rh=vh?"cos."+vh+".myqcloud.com":"service.cos.myqcloud.com",mh=ch.replace(/^https?:\/\/([^/]+)(\/.*)?$/,"$1");Rh===mh&&(kh=Rh),$m.call(this,{Action:"name/cos:GetService",url:ch,method:"GET",headers:Cf.Headers,SignHost:kh,tracker:Cf.tracker},function(im,fm){if(im)return uh(im);var Gm=fm&&fm.ListAllMyBucketsResult&&fm.ListAllMyBucketsResult.Buckets&&fm.ListAllMyBucketsResult.Buckets.Bucket||[];Gm=ud.isArray(Gm)?Gm:[Gm];var Nm=fm&&fm.ListAllMyBucketsResult&&fm.ListAllMyBucketsResult.Owner||{};uh(null,{Buckets:Gm,Owner:Nm,statusCode:fm.statusCode,headers:fm.headers})})}function dd(Cf,uh){var th=this,ch="";if(Cf.BucketAZConfig){var yh={BucketAZConfig:Cf.BucketAZConfig};ch=ud.json2xml({CreateBucketConfiguration:yh})}$m.call(this,{Action:"name/cos:PutBucket",method:"PUT",Bucket:Cf.Bucket,Region:Cf.Region,headers:Cf.Headers,body:ch,tracker:Cf.tracker},function(vh,kh){if(vh)return uh(vh);var Rh=V_({protocol:th.options.Protocol,domain:th.options.Domain,bucket:Cf.Bucket,region:Cf.Region,isLocation:!0});uh(null,{Location:Rh,statusCode:kh.statusCode,headers:kh.headers})})}function pd(Cf,uh){$m.call(this,{Action:"name/cos:HeadBucket",Bucket:Cf.Bucket,Region:Cf.Region,headers:Cf.Headers,method:"HEAD",tracker:Cf.tracker},uh)}function fd(Cf,uh){var th={};th.prefix=Cf.Prefix||"",th.delimiter=Cf.Delimiter,th.marker=Cf.Marker,th["max-keys"]=Cf.MaxKeys,th["encoding-type"]=Cf.EncodingType,$m.call(this,{Action:"name/cos:GetBucket",ResourceKey:th.prefix,method:"GET",Bucket:Cf.Bucket,Region:Cf.Region,headers:Cf.Headers,qs:th,tracker:Cf.tracker},function(ch,yh){if(ch)return uh(ch);var vh=yh.ListBucketResult||{},kh=vh.Contents||[],Rh=vh.CommonPrefixes||[];kh=ud.isArray(kh)?kh:[kh],Rh=ud.isArray(Rh)?Rh:[Rh];var mh=ud.clone(vh);ud.extend(mh,{Contents:kh,CommonPrefixes:Rh,statusCode:yh.statusCode,headers:yh.headers}),uh(null,mh)})}function Td(Cf,uh){$m.call(this,{Action:"name/cos:DeleteBucket",Bucket:Cf.Bucket,Region:Cf.Region,headers:Cf.Headers,method:"DELETE",tracker:Cf.tracker},function(th,ch){if(th&&th.statusCode===204)return uh(null,{statusCode:th.statusCode});if(th)return uh(th);uh(null,{statusCode:ch.statusCode,headers:ch.headers})})}function Ad(Cf,uh){var th=Cf.Headers,ch="";if(Cf.AccessControlPolicy){var yh=ud.clone(Cf.AccessControlPolicy||{}),vh=yh.Grants||yh.Grant;vh=ud.isArray(vh)?vh:[vh],delete yh.Grant,delete yh.Grants,yh.AccessControlList={Grant:vh},ch=ud.json2xml({AccessControlPolicy:yh}),th["Content-Type"]="application/xml",th["Content-MD5"]=ud.b64(ud.md5(ch))}ud.each(th,function(kh,Rh){Rh.indexOf("x-cos-grant-")===0&&(th[Rh]=L_(th[Rh]))}),$m.call(this,{Action:"name/cos:PutBucketACL",method:"PUT",Bucket:Cf.Bucket,Region:Cf.Region,headers:th,action:"acl",body:ch,tracker:Cf.tracker},function(kh,Rh){if(kh)return uh(kh);uh(null,{statusCode:Rh.statusCode,headers:Rh.headers})})}function Sd(Cf,uh){$m.call(this,{Action:"name/cos:GetBucketACL",method:"GET",Bucket:Cf.Bucket,Region:Cf.Region,headers:Cf.Headers,action:"acl",tracker:Cf.tracker},function(th,ch){if(th)return uh(th);var yh=ch.AccessControlPolicy||{},vh=yh.Owner||{},kh=yh.AccessControlList.Grant||[];kh=ud.isArray(kh)?kh:[kh];var Rh=Zm(yh);ch.headers&&ch.headers["x-cos-acl"]&&(Rh.ACL=ch.headers["x-cos-acl"]),Rh=ud.extend(Rh,{Owner:vh,Grants:kh,statusCode:ch.statusCode,headers:ch.headers}),uh(null,Rh)})}function Dd(Cf,uh){var th=Cf.CORSConfiguration||{},ch=th.CORSRules||Cf.CORSRules||[];ch=ud.clone(ud.isArray(ch)?ch:[ch]),ud.each(ch,function(Rh){ud.each(["AllowedOrigin","AllowedHeader","AllowedMethod","ExposeHeader"],function(mh){var im=mh+"s",fm=Rh[im]||Rh[mh]||[];delete Rh[im],Rh[mh]=ud.isArray(fm)?fm:[fm]})});var yh={CORSRule:ch};Cf.ResponseVary&&(yh.ResponseVary=Cf.ResponseVary);var vh=ud.json2xml({CORSConfiguration:yh}),kh=Cf.Headers;kh["Content-Type"]="application/xml",kh["Content-MD5"]=ud.b64(ud.md5(vh)),$m.call(this,{Action:"name/cos:PutBucketCORS",method:"PUT",Bucket:Cf.Bucket,Region:Cf.Region,body:vh,action:"cors",headers:kh,tracker:Cf.tracker},function(Rh,mh){if(Rh)return uh(Rh);uh(null,{statusCode:mh.statusCode,headers:mh.headers})})}function Ld(Cf,uh){$m.call(this,{Action:"name/cos:GetBucketCORS",method:"GET",Bucket:Cf.Bucket,Region:Cf.Region,headers:Cf.Headers,action:"cors",tracker:Cf.tracker},function(th,ch){if(th){if(th.statusCode===404&&th.error&&th.error.Code==="NoSuchCORSConfiguration"){var yh={CORSRules:[],statusCode:th.statusCode};th.headers&&(yh.headers=th.headers),uh(null,yh)}else uh(th);return}var vh=ch.CORSConfiguration||{},kh=vh.CORSRules||vh.CORSRule||[];kh=ud.clone(ud.isArray(kh)?kh:[kh]);var Rh=vh.ResponseVary;ud.each(kh,function(mh){ud.each(["AllowedOrigin","AllowedHeader","AllowedMethod","ExposeHeader"],function(im){var fm=im+"s",Gm=mh[fm]||mh[im]||[];delete mh[im],mh[fm]=ud.isArray(Gm)?Gm:[Gm]})}),uh(null,{CORSRules:kh,ResponseVary:Rh,statusCode:ch.statusCode,headers:ch.headers})})}function Rd(Cf,uh){$m.call(this,{Action:"name/cos:DeleteBucketCORS",method:"DELETE",Bucket:Cf.Bucket,Region:Cf.Region,headers:Cf.Headers,action:"cors",tracker:Cf.tracker},function(th,ch){if(th&&th.statusCode===204)return uh(null,{statusCode:th.statusCode});if(th)return uh(th);uh(null,{statusCode:ch.statusCode||th.statusCode,headers:ch.headers})})}function Od(Cf,uh){$m.call(this,{Action:"name/cos:GetBucketLocation",method:"GET",Bucket:Cf.Bucket,Region:Cf.Region,headers:Cf.Headers,action:"location",tracker:Cf.tracker},uh)}function Md(Cf,uh){var th=Cf.Policy;try{typeof th=="string"&&(th=JSON.parse(th))}catch{}if(!th||typeof th=="string")return uh(ud.error(new Error("Policy format error")));var ch=JSON.stringify(th);th.version||(th.version="2.0");var yh=Cf.Headers;yh["Content-Type"]="application/json",yh["Content-MD5"]=ud.b64(ud.md5(ch)),$m.call(this,{Action:"name/cos:PutBucketPolicy",method:"PUT",Bucket:Cf.Bucket,Region:Cf.Region,action:"policy",body:ch,headers:yh,tracker:Cf.tracker},function(vh,kh){if(vh&&vh.statusCode===204)return uh(null,{statusCode:vh.statusCode});if(vh)return uh(vh);uh(null,{statusCode:kh.statusCode,headers:kh.headers})})}function jd(Cf,uh){$m.call(this,{Action:"name/cos:GetBucketPolicy",method:"GET",Bucket:Cf.Bucket,Region:Cf.Region,headers:Cf.Headers,action:"policy",rawBody:!0,tracker:Cf.tracker},function(th,ch){if(th)return th.statusCode&&th.statusCode===403?uh(ud.error(th,{ErrorStatus:"Access Denied"})):th.statusCode&&th.statusCode===405?uh(ud.error(th,{ErrorStatus:"Method Not Allowed"})):th.statusCode&&th.statusCode===404?uh(ud.error(th,{ErrorStatus:"Policy Not Found"})):uh(th);var yh={};try{yh=JSON.parse(ch.body)}catch{}uh(null,{Policy:yh,statusCode:ch.statusCode,headers:ch.headers})})}function Ud(Cf,uh){$m.call(this,{Action:"name/cos:DeleteBucketPolicy",method:"DELETE",Bucket:Cf.Bucket,Region:Cf.Region,headers:Cf.Headers,action:"policy",tracker:Cf.tracker},function(th,ch){if(th&&th.statusCode===204)return uh(null,{statusCode:th.statusCode});if(th)return uh(th);uh(null,{statusCode:ch.statusCode||th.statusCode,headers:ch.headers})})}function Hd(Cf,uh){var th=Cf.Tagging||{},ch=th.TagSet||th.Tags||Cf.Tags||[];ch=ud.clone(ud.isArray(ch)?ch:[ch]);var yh=ud.json2xml({Tagging:{TagSet:{Tag:ch}}}),vh=Cf.Headers;vh["Content-Type"]="application/xml",vh["Content-MD5"]=ud.b64(ud.md5(yh)),$m.call(this,{Action:"name/cos:PutBucketTagging",method:"PUT",Bucket:Cf.Bucket,Region:Cf.Region,body:yh,action:"tagging",headers:vh,tracker:Cf.tracker},function(kh,Rh){if(kh&&kh.statusCode===204)return uh(null,{statusCode:kh.statusCode});if(kh)return uh(kh);uh(null,{statusCode:Rh.statusCode,headers:Rh.headers})})}function zd(Cf,uh){$m.call(this,{Action:"name/cos:GetBucketTagging",method:"GET",Bucket:Cf.Bucket,Region:Cf.Region,headers:Cf.Headers,action:"tagging",tracker:Cf.tracker},function(th,ch){if(th){if(th.statusCode===404&&th.error&&(th.error==="Not Found"||th.error.Code==="NoSuchTagSet")){var yh={Tags:[],statusCode:th.statusCode};th.headers&&(yh.headers=th.headers),uh(null,yh)}else uh(th);return}var vh=[];try{vh=ch.Tagging.TagSet.Tag||[]}catch{}vh=ud.clone(ud.isArray(vh)?vh:[vh]),uh(null,{Tags:vh,statusCode:ch.statusCode,headers:ch.headers})})}function Zd(Cf,uh){$m.call(this,{Action:"name/cos:DeleteBucketTagging",method:"DELETE",Bucket:Cf.Bucket,Region:Cf.Region,headers:Cf.Headers,action:"tagging",tracker:Cf.tracker},function(th,ch){if(th&&th.statusCode===204)return uh(null,{statusCode:th.statusCode});if(th)return uh(th);uh(null,{statusCode:ch.statusCode,headers:ch.headers})})}function Wd(Cf,uh){var th=Cf.LifecycleConfiguration||{},ch=th.Rules||Cf.Rules||[];ch=ud.clone(ch);var yh=ud.json2xml({LifecycleConfiguration:{Rule:ch}}),vh=Cf.Headers;vh["Content-Type"]="application/xml",vh["Content-MD5"]=ud.b64(ud.md5(yh)),$m.call(this,{Action:"name/cos:PutBucketLifecycle",method:"PUT",Bucket:Cf.Bucket,Region:Cf.Region,body:yh,action:"lifecycle",headers:vh,tracker:Cf.tracker},function(kh,Rh){if(kh&&kh.statusCode===204)return uh(null,{statusCode:kh.statusCode});if(kh)return uh(kh);uh(null,{statusCode:Rh.statusCode,headers:Rh.headers})})}function Qd(Cf,uh){$m.call(this,{Action:"name/cos:GetBucketLifecycle",method:"GET",Bucket:Cf.Bucket,Region:Cf.Region,headers:Cf.Headers,action:"lifecycle",tracker:Cf.tracker},function(th,ch){if(th){if(th.statusCode===404&&th.error&&th.error.Code==="NoSuchLifecycleConfiguration"){var yh={Rules:[],statusCode:th.statusCode};th.headers&&(yh.headers=th.headers),uh(null,yh)}else uh(th);return}var vh=[];try{vh=ch.LifecycleConfiguration.Rule||[]}catch{}vh=ud.clone(ud.isArray(vh)?vh:[vh]),uh(null,{Rules:vh,statusCode:ch.statusCode,headers:ch.headers})})}function Jd(Cf,uh){$m.call(this,{Action:"name/cos:DeleteBucketLifecycle",method:"DELETE",Bucket:Cf.Bucket,Region:Cf.Region,headers:Cf.Headers,action:"lifecycle",tracker:Cf.tracker},function(th,ch){if(th&&th.statusCode===204)return uh(null,{statusCode:th.statusCode});if(th)return uh(th);uh(null,{statusCode:ch.statusCode,headers:ch.headers})})}function hf(Cf,uh){if(!Cf.VersioningConfiguration){uh(ud.error(new Error("missing param VersioningConfiguration")));return}var th=Cf.VersioningConfiguration||{},ch=ud.json2xml({VersioningConfiguration:th}),yh=Cf.Headers;yh["Content-Type"]="application/xml",yh["Content-MD5"]=ud.b64(ud.md5(ch)),$m.call(this,{Action:"name/cos:PutBucketVersioning",method:"PUT",Bucket:Cf.Bucket,Region:Cf.Region,body:ch,action:"versioning",headers:yh,tracker:Cf.tracker},function(vh,kh){if(vh&&vh.statusCode===204)return uh(null,{statusCode:vh.statusCode});if(vh)return uh(vh);uh(null,{statusCode:kh.statusCode,headers:kh.headers})})}function bf(Cf,uh){$m.call(this,{Action:"name/cos:GetBucketVersioning",method:"GET",Bucket:Cf.Bucket,Region:Cf.Region,headers:Cf.Headers,action:"versioning",tracker:Cf.tracker},function(th,ch){th||!ch.VersioningConfiguration&&(ch.VersioningConfiguration={}),uh(th,ch)})}function Ef(Cf,uh){var th=ud.clone(Cf.ReplicationConfiguration),ch=ud.json2xml({ReplicationConfiguration:th});ch=ch.replace(/<(\/?)Rules>/gi,"<$1Rule>"),ch=ch.replace(/<(\/?)Tags>/gi,"<$1Tag>");var yh=Cf.Headers;yh["Content-Type"]="application/xml",yh["Content-MD5"]=ud.b64(ud.md5(ch)),$m.call(this,{Action:"name/cos:PutBucketReplication",method:"PUT",Bucket:Cf.Bucket,Region:Cf.Region,body:ch,action:"replication",headers:yh,tracker:Cf.tracker},function(vh,kh){if(vh&&vh.statusCode===204)return uh(null,{statusCode:vh.statusCode});if(vh)return uh(vh);uh(null,{statusCode:kh.statusCode,headers:kh.headers})})}function _f(Cf,uh){$m.call(this,{Action:"name/cos:GetBucketReplication",method:"GET",Bucket:Cf.Bucket,Region:Cf.Region,headers:Cf.Headers,action:"replication",tracker:Cf.tracker},function(th,ch){if(th){if(th.statusCode===404&&th.error&&(th.error==="Not Found"||th.error.Code==="ReplicationConfigurationnotFoundError")){var yh={ReplicationConfiguration:{Rules:[]},statusCode:th.statusCode};th.headers&&(yh.headers=th.headers),uh(null,yh)}else uh(th);return}!ch.ReplicationConfiguration&&(ch.ReplicationConfiguration={}),ch.ReplicationConfiguration.Rule&&(ch.ReplicationConfiguration.Rules=ud.makeArray(ch.ReplicationConfiguration.Rule),delete ch.ReplicationConfiguration.Rule),uh(th,ch)})}function vf(Cf,uh){$m.call(this,{Action:"name/cos:DeleteBucketReplication",method:"DELETE",Bucket:Cf.Bucket,Region:Cf.Region,headers:Cf.Headers,action:"replication",tracker:Cf.tracker},function(th,ch){if(th&&th.statusCode===204)return uh(null,{statusCode:th.statusCode});if(th)return uh(th);uh(null,{statusCode:ch.statusCode,headers:ch.headers})})}function xf(Cf,uh){if(!Cf.WebsiteConfiguration){uh(ud.error(new Error("missing param WebsiteConfiguration")));return}var th=ud.clone(Cf.WebsiteConfiguration||{}),ch=th.RoutingRules||th.RoutingRule||[];ch=ud.isArray(ch)?ch:[ch],delete th.RoutingRule,delete th.RoutingRules,ch.length&&(th.RoutingRules={RoutingRule:ch});var yh=ud.json2xml({WebsiteConfiguration:th}),vh=Cf.Headers;vh["Content-Type"]="application/xml",vh["Content-MD5"]=ud.b64(ud.md5(yh)),$m.call(this,{Action:"name/cos:PutBucketWebsite",method:"PUT",Bucket:Cf.Bucket,Region:Cf.Region,body:yh,action:"website",headers:vh,tracker:Cf.tracker},function(kh,Rh){if(kh&&kh.statusCode===204)return uh(null,{statusCode:kh.statusCode});if(kh)return uh(kh);uh(null,{statusCode:Rh.statusCode,headers:Rh.headers})})}function Bf(Cf,uh){$m.call(this,{Action:"name/cos:GetBucketWebsite",method:"GET",Bucket:Cf.Bucket,Region:Cf.Region,Key:Cf.Key,headers:Cf.Headers,action:"website",tracker:Cf.tracker},function(th,ch){if(th){if(th.statusCode===404&&th.error.Code==="NoSuchWebsiteConfiguration"){var yh={WebsiteConfiguration:{},statusCode:th.statusCode};th.headers&&(yh.headers=th.headers),uh(null,yh)}else uh(th);return}var vh=ch.WebsiteConfiguration||{};if(vh.RoutingRules){var kh=ud.clone(vh.RoutingRules.RoutingRule||[]);kh=ud.makeArray(kh),vh.RoutingRules=kh}uh(null,{WebsiteConfiguration:vh,statusCode:ch.statusCode,headers:ch.headers})})}function Yf(Cf,uh){$m.call(this,{Action:"name/cos:DeleteBucketWebsite",method:"DELETE",Bucket:Cf.Bucket,Region:Cf.Region,headers:Cf.Headers,action:"website",tracker:Cf.tracker},function(th,ch){if(th&&th.statusCode===204)return uh(null,{statusCode:th.statusCode});if(th)return uh(th);uh(null,{statusCode:ch.statusCode,headers:ch.headers})})}function eh(Cf,uh){if(!Cf.RefererConfiguration){uh(ud.error(new Error("missing param RefererConfiguration")));return}var th=ud.clone(Cf.RefererConfiguration||{}),ch=th.DomainList||{},yh=ch.Domains||ch.Domain||[];yh=ud.isArray(yh)?yh:[yh],yh.length&&(th.DomainList={Domain:yh});var vh=ud.json2xml({RefererConfiguration:th}),kh=Cf.Headers;kh["Content-Type"]="application/xml",kh["Content-MD5"]=ud.b64(ud.md5(vh)),$m.call(this,{Action:"name/cos:PutBucketReferer",method:"PUT",Bucket:Cf.Bucket,Region:Cf.Region,body:vh,action:"referer",headers:kh,tracker:Cf.tracker},function(Rh,mh){if(Rh&&Rh.statusCode===204)return uh(null,{statusCode:Rh.statusCode});if(Rh)return uh(Rh);uh(null,{statusCode:mh.statusCode,headers:mh.headers})})}function Vf(Cf,uh){$m.call(this,{Action:"name/cos:GetBucketReferer",method:"GET",Bucket:Cf.Bucket,Region:Cf.Region,Key:Cf.Key,headers:Cf.Headers,action:"referer",tracker:Cf.tracker},function(th,ch){if(th){if(th.statusCode===404&&th.error.Code==="NoSuchRefererConfiguration"){var yh={WebsiteConfiguration:{},statusCode:th.statusCode};th.headers&&(yh.headers=th.headers),uh(null,yh)}else uh(th);return}var vh=ch.RefererConfiguration||{};if(vh.DomainList){var kh=ud.makeArray(vh.DomainList.Domain||[]);vh.DomainList={Domains:kh}}uh(null,{RefererConfiguration:vh,statusCode:ch.statusCode,headers:ch.headers})})}function Pf(Cf,uh){var th=Cf.DomainConfiguration||{},ch=th.DomainRule||Cf.DomainRule||[];ch=ud.clone(ch);var yh=ud.json2xml({DomainConfiguration:{DomainRule:ch}}),vh=Cf.Headers;vh["Content-Type"]="application/xml",vh["Content-MD5"]=ud.b64(ud.md5(yh)),$m.call(this,{Action:"name/cos:PutBucketDomain",method:"PUT",Bucket:Cf.Bucket,Region:Cf.Region,body:yh,action:"domain",headers:vh,tracker:Cf.tracker},function(kh,Rh){if(kh&&kh.statusCode===204)return uh(null,{statusCode:kh.statusCode});if(kh)return uh(kh);uh(null,{statusCode:Rh.statusCode,headers:Rh.headers})})}function If(Cf,uh){$m.call(this,{Action:"name/cos:GetBucketDomain",method:"GET",Bucket:Cf.Bucket,Region:Cf.Region,headers:Cf.Headers,action:"domain",tracker:Cf.tracker},function(th,ch){if(th)return uh(th);var yh=[];try{yh=ch.DomainConfiguration.DomainRule||[]}catch{}yh=ud.clone(ud.isArray(yh)?yh:[yh]),uh(null,{DomainRule:yh,statusCode:ch.statusCode,headers:ch.headers})})}function $f(Cf,uh){$m.call(this,{Action:"name/cos:DeleteBucketDomain",method:"DELETE",Bucket:Cf.Bucket,Region:Cf.Region,headers:Cf.Headers,action:"domain",tracker:Cf.tracker},function(th,ch){if(th&&th.statusCode===204)return uh(null,{statusCode:th.statusCode});if(th)return uh(th);uh(null,{statusCode:ch.statusCode,headers:ch.headers})})}function Zf(Cf,uh){var th=Cf.OriginConfiguration||{},ch=th.OriginRule||Cf.OriginRule||[];ch=ud.clone(ch);var yh=ud.json2xml({OriginConfiguration:{OriginRule:ch}}),vh=Cf.Headers;vh["Content-Type"]="application/xml",vh["Content-MD5"]=ud.b64(ud.md5(yh)),$m.call(this,{Action:"name/cos:PutBucketOrigin",method:"PUT",Bucket:Cf.Bucket,Region:Cf.Region,body:yh,action:"origin",headers:vh,tracker:Cf.tracker},function(kh,Rh){if(kh&&kh.statusCode===204)return uh(null,{statusCode:kh.statusCode});if(kh)return uh(kh);uh(null,{statusCode:Rh.statusCode,headers:Rh.headers})})}function Kf(Cf,uh){$m.call(this,{Action:"name/cos:GetBucketOrigin",method:"GET",Bucket:Cf.Bucket,Region:Cf.Region,headers:Cf.Headers,action:"origin",tracker:Cf.tracker},function(th,ch){if(th)return uh(th);var yh=[];try{yh=ch.OriginConfiguration.OriginRule||[]}catch{}yh=ud.clone(ud.isArray(yh)?yh:[yh]),uh(null,{OriginRule:yh,statusCode:ch.statusCode,headers:ch.headers})})}function Tf(Cf,uh){$m.call(this,{Action:"name/cos:DeleteBucketOrigin",method:"DELETE",Bucket:Cf.Bucket,Region:Cf.Region,headers:Cf.Headers,action:"origin",tracker:Cf.tracker},function(th,ch){if(th&&th.statusCode===204)return uh(null,{statusCode:th.statusCode});if(th)return uh(th);uh(null,{statusCode:ch.statusCode,headers:ch.headers})})}function gf(Cf,uh){var th=ud.json2xml({BucketLoggingStatus:Cf.BucketLoggingStatus||""}),ch=Cf.Headers;ch["Content-Type"]="application/xml",ch["Content-MD5"]=ud.b64(ud.md5(th)),$m.call(this,{Action:"name/cos:PutBucketLogging",method:"PUT",Bucket:Cf.Bucket,Region:Cf.Region,body:th,action:"logging",headers:ch,tracker:Cf.tracker},function(yh,vh){if(yh&&yh.statusCode===204)return uh(null,{statusCode:yh.statusCode});if(yh)return uh(yh);uh(null,{statusCode:vh.statusCode,headers:vh.headers})})}function Mf(Cf,uh){$m.call(this,{Action:"name/cos:GetBucketLogging",method:"GET",Bucket:Cf.Bucket,Region:Cf.Region,headers:Cf.Headers,action:"logging",tracker:Cf.tracker},function(th,ch){if(th)return uh(th);uh(null,{BucketLoggingStatus:ch.BucketLoggingStatus,statusCode:ch.statusCode,headers:ch.headers})})}function Gf(Cf,uh,th){var ch=ud.clone(uh.InventoryConfiguration);if(ch.OptionalFields){var yh=ch.OptionalFields||[];ch.OptionalFields={Field:yh}}if(ch.Destination&&ch.Destination.COSBucketDestination&&ch.Destination.COSBucketDestination.Encryption){var vh=ch.Destination.COSBucketDestination.Encryption;Object.keys(vh).indexOf("SSECOS")>-1&&(vh["SSE-COS"]=vh.SSECOS,delete vh.SSECOS)}var kh=ud.json2xml({InventoryConfiguration:ch}),Rh=uh.Headers;Rh["Content-Type"]="application/xml",Rh["Content-MD5"]=ud.b64(ud.md5(kh));var mh=Cf==="PUT"?"name/cos:PutBucketInventory":"name/cos:PostBucketInventory";$m.call(this,{Action:mh,method:Cf,Bucket:uh.Bucket,Region:uh.Region,body:kh,action:"inventory",qs:{id:uh.Id},headers:Rh,tracker:uh.tracker},function(im,fm){if(im&&im.statusCode===204)return th(null,{statusCode:im.statusCode});if(im)return th(im);th(null,{statusCode:fm.statusCode,headers:fm.headers})})}function Qf(Cf,uh){return Gf.call(this,"PUT",Cf,uh)}function Uf(Cf,uh){return Gf.call(this,"POST",Cf,uh)}function Df(Cf,uh){$m.call(this,{Action:"name/cos:GetBucketInventory",method:"GET",Bucket:Cf.Bucket,Region:Cf.Region,headers:Cf.Headers,action:"inventory",qs:{id:Cf.Id},tracker:Cf.tracker},function(th,ch){if(th)return uh(th);var yh=ch.InventoryConfiguration;if(yh&&yh.OptionalFields&&yh.OptionalFields.Field){var vh=yh.OptionalFields.Field;ud.isArray(vh)||(vh=[vh]),yh.OptionalFields=vh}if(yh.Destination&&yh.Destination.COSBucketDestination&&yh.Destination.COSBucketDestination.Encryption){var kh=yh.Destination.COSBucketDestination.Encryption;Object.keys(kh).indexOf("SSE-COS")>-1&&(kh.SSECOS=kh["SSE-COS"],delete kh["SSE-COS"])}uh(null,{InventoryConfiguration:yh,statusCode:ch.statusCode,headers:ch.headers})})}function Xf(Cf,uh){$m.call(this,{Action:"name/cos:ListBucketInventory",method:"GET",Bucket:Cf.Bucket,Region:Cf.Region,headers:Cf.Headers,action:"inventory",qs:{"continuation-token":Cf.ContinuationToken},tracker:Cf.tracker},function(th,ch){if(th)return uh(th);var yh=ch.ListInventoryConfigurationResult,vh=yh.InventoryConfiguration||[];vh=ud.isArray(vh)?vh:[vh],delete yh.InventoryConfiguration,ud.each(vh,function(kh){if(kh&&kh.OptionalFields&&kh.OptionalFields.Field){var Rh=kh.OptionalFields.Field;ud.isArray(Rh)||(Rh=[Rh]),kh.OptionalFields=Rh}if(kh.Destination&&kh.Destination.COSBucketDestination&&kh.Destination.COSBucketDestination.Encryption){var mh=kh.Destination.COSBucketDestination.Encryption;Object.keys(mh).indexOf("SSE-COS")>-1&&(mh.SSECOS=mh["SSE-COS"],delete mh["SSE-COS"])}}),yh.InventoryConfigurations=vh,ud.extend(yh,{statusCode:ch.statusCode,headers:ch.headers}),uh(null,yh)})}function dh(Cf,uh){$m.call(this,{Action:"name/cos:DeleteBucketInventory",method:"DELETE",Bucket:Cf.Bucket,Region:Cf.Region,headers:Cf.Headers,action:"inventory",qs:{id:Cf.Id},tracker:Cf.tracker},function(th,ch){if(th&&th.statusCode===204)return uh(null,{statusCode:th.statusCode});if(th)return uh(th);uh(null,{statusCode:ch.statusCode,headers:ch.headers})})}function qf(Cf,uh){if(!Cf.AccelerateConfiguration){uh(ud.error(new Error("missing param AccelerateConfiguration")));return}var th={AccelerateConfiguration:Cf.AccelerateConfiguration||{}},ch=ud.json2xml(th),yh={};yh["Content-Type"]="application/xml",yh["Content-MD5"]=ud.b64(ud.md5(ch)),$m.call(this,{Action:"name/cos:PutBucketAccelerate",method:"PUT",Bucket:Cf.Bucket,Region:Cf.Region,body:ch,action:"accelerate",headers:yh,tracker:Cf.tracker},function(vh,kh){if(vh)return uh(vh);uh(null,{statusCode:kh.statusCode,headers:kh.headers})})}function wf(Cf,uh){$m.call(this,{Action:"name/cos:GetBucketAccelerate",method:"GET",Bucket:Cf.Bucket,Region:Cf.Region,action:"accelerate",tracker:Cf.tracker},function(th,ch){th||!ch.AccelerateConfiguration&&(ch.AccelerateConfiguration={}),uh(th,ch)})}function Rf(Cf,uh){var th=Cf.ServerSideEncryptionConfiguration||{},ch=th.Rule||th.Rules||[],yh=ud.json2xml({ServerSideEncryptionConfiguration:{Rule:ch}}),vh=Cf.Headers;vh["Content-Type"]="application/xml",vh["Content-MD5"]=ud.b64(ud.md5(yh)),$m.call(this,{Action:"name/cos:PutBucketEncryption",method:"PUT",Bucket:Cf.Bucket,Region:Cf.Region,body:yh,action:"encryption",headers:vh,tracker:Cf.tracker},function(kh,Rh){if(kh&&kh.statusCode===204)return uh(null,{statusCode:kh.statusCode});if(kh)return uh(kh);uh(null,{statusCode:Rh.statusCode,headers:Rh.headers})})}function jf(Cf,uh){$m.call(this,{Action:"name/cos:GetBucketEncryption",method:"GET",Bucket:Cf.Bucket,Region:Cf.Region,headers:Cf.Headers,action:"encryption",tracker:Cf.tracker},function(th,ch){if(th){if(th.statusCode===404&&th.code==="NoSuchEncryptionConfiguration"){var yh={EncryptionConfiguration:{Rules:[]},statusCode:th.statusCode};th.headers&&(yh.headers=th.headers),uh(null,yh)}else uh(th);return}var vh=ud.makeArray(ch.EncryptionConfiguration&&ch.EncryptionConfiguration.Rule||[]);ch.EncryptionConfiguration={Rules:vh},uh(th,ch)})}function lh(Cf,uh){$m.call(this,{Action:"name/cos:DeleteBucketReplication",method:"DELETE",Bucket:Cf.Bucket,Region:Cf.Region,headers:Cf.Headers,action:"encryption",tracker:Cf.tracker},function(th,ch){if(th&&th.statusCode===204)return uh(null,{statusCode:th.statusCode});if(th)return uh(th);uh(null,{statusCode:ch.statusCode,headers:ch.headers})})}function _h(Cf,uh){$m.call(this,{Action:"name/cos:HeadObject",method:"HEAD",Bucket:Cf.Bucket,Region:Cf.Region,Key:Cf.Key,VersionId:Cf.VersionId,headers:Cf.Headers,tracker:Cf.tracker},function(th,ch){if(th){var yh=th.statusCode;return Cf.Headers["If-Modified-Since"]&&yh&&yh===304?uh(null,{NotModified:!0,statusCode:yh}):uh(th)}ch.ETag=ud.attr(ch.headers,"etag",""),uh(null,ch)})}function ih(Cf,uh){var th={};th.prefix=Cf.Prefix||"",th.delimiter=Cf.Delimiter,th["key-marker"]=Cf.KeyMarker,th["version-id-marker"]=Cf.VersionIdMarker,th["max-keys"]=Cf.MaxKeys,th["encoding-type"]=Cf.EncodingType,$m.call(this,{Action:"name/cos:GetBucketObjectVersions",ResourceKey:th.prefix,method:"GET",Bucket:Cf.Bucket,Region:Cf.Region,headers:Cf.Headers,qs:th,action:"versions",tracker:Cf.tracker},function(ch,yh){if(ch)return uh(ch);var vh=yh.ListVersionsResult||{},kh=vh.DeleteMarker||[];kh=ud.isArray(kh)?kh:[kh];var Rh=vh.Version||[];Rh=ud.isArray(Rh)?Rh:[Rh];var mh=ud.clone(vh);delete mh.DeleteMarker,delete mh.Version,ud.extend(mh,{DeleteMarkers:kh,Versions:Rh,statusCode:yh.statusCode,headers:yh.headers}),uh(null,mh)})}function wh(Cf,uh){if(this.options.ObjectKeySimplifyCheck){var th=ud.simplifyPath(Cf.Key);if(th==="/"){uh(ud.error(new Error("The Getobject Key is illegal")));return}}var ch=Cf.Query||{},yh=Cf.QueryString||"",vh=ud.throttleOnProgress.call(this,0,Cf.onProgress),kh=Cf.tracker;kh&&kh.setParams({signStartTime:new Date().getTime()}),ch["response-content-type"]=Cf.ResponseContentType,ch["response-content-language"]=Cf.ResponseContentLanguage,ch["response-expires"]=Cf.ResponseExpires,ch["response-cache-control"]=Cf.ResponseCacheControl,ch["response-content-disposition"]=Cf.ResponseContentDisposition,ch["response-content-encoding"]=Cf.ResponseContentEncoding,$m.call(this,{Action:"name/cos:GetObject",method:"GET",Bucket:Cf.Bucket,Region:Cf.Region,Key:Cf.Key,VersionId:Cf.VersionId,DataType:Cf.DataType,headers:Cf.Headers,qs:ch,qsStr:yh,rawBody:!0,onDownloadProgress:vh,tracker:kh},function(Rh,mh){if(vh(null,!0),Rh){var im=Rh.statusCode;return Cf.Headers["If-Modified-Since"]&&im&&im===304?uh(null,{NotModified:!0}):uh(Rh)}uh(null,{Body:mh.body,ETag:ud.attr(mh.headers,"etag",""),statusCode:mh.statusCode,headers:mh.headers})})}function hh(Cf,uh){var th=this,ch=Cf.ContentLength,yh=ud.throttleOnProgress.call(th,ch,Cf.onProgress),vh=Cf.Headers;!vh["Cache-Control"]&&!vh["cache-control"]&&(vh["Cache-Control"]=""),!vh["Content-Type"]&&!vh["content-type"]&&(vh["Content-Type"]=Cf.Body&&Cf.Body.type||"");var kh=Cf.UploadAddMetaMd5||th.options.UploadAddMetaMd5||th.options.UploadCheckContentMd5,Rh=Cf.tracker;kh&&Rh&&Rh.setParams({md5StartTime:new Date().getTime()}),ud.getBodyMd5(kh,Cf.Body,function(mh){mh&&(Rh&&Rh.setParams({md5EndTime:new Date().getTime()}),th.options.UploadCheckContentMd5&&(vh["Content-MD5"]=ud.b64(mh)),(Cf.UploadAddMetaMd5||th.options.UploadAddMetaMd5)&&(vh["x-cos-meta-md5"]=mh)),Cf.ContentLength!==void 0&&(vh["Content-Length"]=Cf.ContentLength),yh(null,!0),$m.call(th,{Action:"name/cos:PutObject",TaskId:Cf.TaskId,method:"PUT",Bucket:Cf.Bucket,Region:Cf.Region,Key:Cf.Key,headers:Cf.Headers,qs:Cf.Query,body:Cf.Body,onProgress:yh,tracker:Rh},function(im,fm){if(im)return yh(null,!0),uh(im);yh({loaded:ch,total:ch},!0);var Gm=V_({ForcePathStyle:th.options.ForcePathStyle,protocol:th.options.Protocol,domain:th.options.Domain,bucket:Cf.Bucket,region:th.options.UseAccelerate?"accelerate":Cf.Region,object:Cf.Key});Gm=Gm.substr(Gm.indexOf("://")+3),fm.Location=Gm,fm.ETag=ud.attr(fm.headers,"etag",""),uh(null,fm)})},Cf.onHashProgress)}function Th(Cf,uh){$m.call(this,{Action:"name/cos:DeleteObject",method:"DELETE",Bucket:Cf.Bucket,Region:Cf.Region,Key:Cf.Key,headers:Cf.Headers,VersionId:Cf.VersionId,action:Cf.Recursive?"recursive":"",tracker:Cf.tracker},function(th,ch){if(th){var yh=th.statusCode;return yh&&yh===404?uh(null,{BucketNotFound:!0,statusCode:yh}):uh(th)}uh(null,{statusCode:ch.statusCode,headers:ch.headers})})}function Vh(Cf,uh){var th={};Cf.VersionId&&(th.versionId=Cf.VersionId),$m.call(this,{Action:"name/cos:GetObjectACL",method:"GET",Bucket:Cf.Bucket,Region:Cf.Region,Key:Cf.Key,headers:Cf.Headers,qs:th,action:"acl",tracker:Cf.tracker},function(ch,yh){if(ch)return uh(ch);var vh=yh.AccessControlPolicy||{},kh=vh.Owner||{},Rh=vh.AccessControlList&&vh.AccessControlList.Grant||[];Rh=ud.isArray(Rh)?Rh:[Rh];var mh=Zm(vh);delete mh.GrantWrite,yh.headers&&yh.headers["x-cos-acl"]&&(mh.ACL=yh.headers["x-cos-acl"]),mh=ud.extend(mh,{Owner:kh,Grants:Rh,statusCode:yh.statusCode,headers:yh.headers}),uh(null,mh)})}function Bh(Cf,uh){var th=Cf.Headers,ch="";if(Cf.AccessControlPolicy){var yh=ud.clone(Cf.AccessControlPolicy||{}),vh=yh.Grants||yh.Grant;vh=ud.isArray(vh)?vh:[vh],delete yh.Grant,delete yh.Grants,yh.AccessControlList={Grant:vh},ch=ud.json2xml({AccessControlPolicy:yh}),th["Content-Type"]="application/xml",th["Content-MD5"]=ud.b64(ud.md5(ch))}ud.each(th,function(kh,Rh){Rh.indexOf("x-cos-grant-")===0&&(th[Rh]=L_(th[Rh]))}),$m.call(this,{Action:"name/cos:PutObjectACL",method:"PUT",Bucket:Cf.Bucket,Region:Cf.Region,Key:Cf.Key,action:"acl",headers:th,body:ch,tracker:Cf.tracker},function(kh,Rh){if(kh)return uh(kh);uh(null,{statusCode:Rh.statusCode,headers:Rh.headers})})}function Yh(Cf,uh){var th=Cf.Headers;th.Origin=Cf.Origin,th["Access-Control-Request-Method"]=Cf.AccessControlRequestMethod,th["Access-Control-Request-Headers"]=Cf.AccessControlRequestHeaders,$m.call(this,{Action:"name/cos:OptionsObject",method:"OPTIONS",Bucket:Cf.Bucket,Region:Cf.Region,Key:Cf.Key,headers:th,tracker:Cf.tracker},function(ch,yh){if(ch)return ch.statusCode&&ch.statusCode===403?uh(null,{OptionsForbidden:!0,statusCode:ch.statusCode}):uh(ch);var vh=yh.headers||{};uh(null,{AccessControlAllowOrigin:vh["access-control-allow-origin"],AccessControlAllowMethods:vh["access-control-allow-methods"],AccessControlAllowHeaders:vh["access-control-allow-headers"],AccessControlExposeHeaders:vh["access-control-expose-headers"],AccessControlMaxAge:vh["access-control-max-age"],statusCode:yh.statusCode,headers:yh.headers})})}function dm(Cf,uh){var th=this,ch=Cf.Headers;!ch["Cache-Control"]&&!ch["cache-control"]&&(ch["Cache-Control"]="");var yh=Cf.CopySource||"",vh=ud.getSourceParams.call(this,yh);if(!vh){uh(ud.error(new Error("CopySource format error")));return}var kh=vh.Bucket,Rh=vh.Region,mh=decodeURIComponent(vh.Key);$m.call(this,{Scope:[{action:"name/cos:GetObject",bucket:kh,region:Rh,prefix:mh},{action:"name/cos:PutObject",bucket:Cf.Bucket,region:Cf.Region,prefix:Cf.Key}],method:"PUT",Bucket:Cf.Bucket,Region:Cf.Region,Key:Cf.Key,VersionId:Cf.VersionId,headers:Cf.Headers,tracker:Cf.tracker},function(im,fm){if(im)return uh(im);var Gm=ud.clone(fm.CopyObjectResult||{}),Nm=V_({ForcePathStyle:th.options.ForcePathStyle,protocol:th.options.Protocol,domain:th.options.Domain,bucket:Cf.Bucket,region:Cf.Region,object:Cf.Key,isLocation:!0});ud.extend(Gm,{Location:Nm,statusCode:fm.statusCode,headers:fm.headers}),uh(null,Gm)})}function nh(Cf,uh){var th=Cf.CopySource||"",ch=ud.getSourceParams.call(this,th);if(!ch){uh(ud.error(new Error("CopySource format error")));return}var yh=ch.Bucket,vh=ch.Region,kh=decodeURIComponent(ch.Key);$m.call(this,{Scope:[{action:"name/cos:GetObject",bucket:yh,region:vh,prefix:kh},{action:"name/cos:PutObject",bucket:Cf.Bucket,region:Cf.Region,prefix:Cf.Key}],method:"PUT",Bucket:Cf.Bucket,Region:Cf.Region,Key:Cf.Key,VersionId:Cf.VersionId,qs:{partNumber:Cf.PartNumber,uploadId:Cf.UploadId},headers:Cf.Headers,tracker:Cf.tracker},function(Rh,mh){if(Rh)return uh(Rh);var im=ud.clone(mh.CopyPartResult||{});ud.extend(im,{statusCode:mh.statusCode,headers:mh.headers}),uh(null,im)})}function Of(Cf,uh){var th=Cf.Objects||[],ch=Cf.Quiet;th=ud.isArray(th)?th:[th];var yh=ud.json2xml({Delete:{Object:th,Quiet:ch||!1}}),vh=Cf.Headers;vh["Content-Type"]="application/xml",vh["Content-MD5"]=ud.b64(ud.md5(yh));var kh=ud.map(th,function(Rh){return{action:"name/cos:DeleteObject",bucket:Cf.Bucket,region:Cf.Region,prefix:Rh.Key}});$m.call(this,{Scope:kh,method:"POST",Bucket:Cf.Bucket,Region:Cf.Region,body:yh,action:"delete",headers:vh,tracker:Cf.tracker},function(Rh,mh){if(Rh)return uh(Rh);var im=mh.DeleteResult||{},fm=im.Deleted||[],Gm=im.Error||[];fm=ud.isArray(fm)?fm:[fm],Gm=ud.isArray(Gm)?Gm:[Gm];var Nm=ud.clone(im);ud.extend(Nm,{Error:Gm,Deleted:fm,statusCode:mh.statusCode,headers:mh.headers}),uh(null,Nm)})}function Nf(Cf,uh){var th=Cf.Headers;if(!Cf.RestoreRequest){uh(ud.error(new Error("missing param RestoreRequest")));return}var ch=Cf.RestoreRequest||{},yh=ud.json2xml({RestoreRequest:ch});th["Content-Type"]="application/xml",th["Content-MD5"]=ud.b64(ud.md5(yh)),$m.call(this,{Action:"name/cos:RestoreObject",method:"POST",Bucket:Cf.Bucket,Region:Cf.Region,Key:Cf.Key,VersionId:Cf.VersionId,body:yh,action:"restore",headers:th,tracker:Cf.tracker},uh)}function Jf(Cf,uh){var th=Cf.Tagging||{},ch=th.TagSet||th.Tags||Cf.Tags||[];ch=ud.clone(ud.isArray(ch)?ch:[ch]);var yh=ud.json2xml({Tagging:{TagSet:{Tag:ch}}}),vh=Cf.Headers;vh["Content-Type"]="application/xml",vh["Content-MD5"]=ud.b64(ud.md5(yh)),$m.call(this,{Action:"name/cos:PutObjectTagging",method:"PUT",Bucket:Cf.Bucket,Key:Cf.Key,Region:Cf.Region,body:yh,action:"tagging",headers:vh,VersionId:Cf.VersionId,tracker:Cf.tracker},function(kh,Rh){if(kh&&kh.statusCode===204)return uh(null,{statusCode:kh.statusCode});if(kh)return uh(kh);uh(null,{statusCode:Rh.statusCode,headers:Rh.headers})})}function oh(Cf,uh){$m.call(this,{Action:"name/cos:GetObjectTagging",method:"GET",Key:Cf.Key,Bucket:Cf.Bucket,Region:Cf.Region,headers:Cf.Headers,action:"tagging",VersionId:Cf.VersionId,tracker:Cf.tracker},function(th,ch){if(th){if(th.statusCode===404&&th.error&&(th.error==="Not Found"||th.error.Code==="NoSuchTagSet")){var yh={Tags:[],statusCode:th.statusCode};th.headers&&(yh.headers=th.headers),uh(null,yh)}else uh(th);return}var vh=[];try{vh=ch.Tagging.TagSet.Tag||[]}catch{}vh=ud.clone(ud.isArray(vh)?vh:[vh]),uh(null,{Tags:vh,statusCode:ch.statusCode,headers:ch.headers})})}function xh(Cf,uh){$m.call(this,{Action:"name/cos:DeleteObjectTagging",method:"DELETE",Bucket:Cf.Bucket,Region:Cf.Region,Key:Cf.Key,headers:Cf.Headers,action:"tagging",VersionId:Cf.VersionId,tracker:Cf.tracker},function(th,ch){if(th&&th.statusCode===204)return uh(null,{statusCode:th.statusCode});if(th)return uh(th);uh(null,{statusCode:ch.statusCode,headers:ch.headers})})}function Oh(Cf,uh){var th=Cf.SelectType;if(!th)return uh(ud.error(new Error("missing param SelectType")));var ch=Cf.SelectRequest||{},yh=ud.json2xml({SelectRequest:ch}),vh=Cf.Headers;vh["Content-Type"]="application/xml",vh["Content-MD5"]=ud.b64(ud.md5(yh)),$m.call(this,{Action:"name/cos:GetObject",method:"POST",Bucket:Cf.Bucket,Region:Cf.Region,Key:Cf.Key,headers:Cf.Headers,action:"select",qs:{"select-type":Cf.SelectType},VersionId:Cf.VersionId,body:yh,DataType:"arraybuffer",rawBody:!0,tracker:Cf.tracker},function(kh,Rh){if(kh&&kh.statusCode===204)return uh(null,{statusCode:kh.statusCode});if(kh)return uh(kh);var mh=ud.parseSelectPayload(Rh.body);uh(null,{statusCode:Rh.statusCode,headers:Rh.headers,Body:mh.body,Payload:mh.payload})})}function Xh(Cf,uh){var th=this,ch=Cf.Headers,yh=Cf.tracker;!ch["Cache-Control"]&&!ch["cache-control"]&&(ch["Cache-Control"]=""),!ch["Content-Type"]&&!ch["content-type"]&&(ch["Content-Type"]=Cf.Body&&Cf.Body.type||"");var vh=Cf.Body&&(Cf.UploadAddMetaMd5||th.options.UploadAddMetaMd5);vh&&yh&&yh.setParams({md5StartTime:new Date().getTime()}),ud.getBodyMd5(vh,Cf.Body,function(kh){kh&&(Cf.Headers["x-cos-meta-md5"]=kh),vh&&yh&&yh.setParams({md5EndTime:new Date().getTime()}),$m.call(th,{Action:"name/cos:InitiateMultipartUpload",method:"POST",Bucket:Cf.Bucket,Region:Cf.Region,Key:Cf.Key,action:"uploads",headers:Cf.Headers,qs:Cf.Query,tracker:yh},function(Rh,mh){if(Rh)return yh&&yh.parent&&yh.parent.setParams({errorNode:"multipartInit"}),uh(Rh);if(mh=ud.clone(mh||{}),mh&&mh.InitiateMultipartUploadResult)return uh(null,ud.extend(mh.InitiateMultipartUploadResult,{statusCode:mh.statusCode,headers:mh.headers}));uh(null,mh)})},Cf.onHashProgress)}function gm(Cf,uh){var th=this;ud.getFileSize("multipartUpload",Cf,function(){var ch=Cf.tracker,yh=th.options.UploadCheckContentMd5;yh&&ch&&ch.setParams({md5StartTime:new Date().getTime()}),ud.getBodyMd5(yh,Cf.Body,function(vh){vh&&(Cf.Headers["Content-MD5"]=ud.b64(vh)),yh&&ch&&ch.setParams({md5EndTime:new Date().getTime()}),ch&&ch.setParams({partNumber:Cf.PartNumber}),$m.call(th,{Action:"name/cos:UploadPart",TaskId:Cf.TaskId,method:"PUT",Bucket:Cf.Bucket,Region:Cf.Region,Key:Cf.Key,qs:{partNumber:Cf.PartNumber,uploadId:Cf.UploadId},headers:Cf.Headers,onProgress:Cf.onProgress,body:Cf.Body||null,tracker:ch},function(kh,Rh){if(kh)return ch&&ch.parent&&ch.parent.setParams({errorNode:"multipartUpload"}),uh(kh);uh(null,{ETag:ud.attr(Rh.headers,"etag",""),statusCode:Rh.statusCode,headers:Rh.headers})})})})}function lm(Cf,uh){for(var th=this,ch=Cf.UploadId,yh=Cf.Parts,vh=Cf.tracker,kh=0,Rh=yh.length;kh-1?Gm(fm.Authorization):"sign="+encodeURIComponent(fm.Authorization)),fm.SecurityToken&&(Nm+="&x-cos-security-token="+fm.SecurityToken),fm.ClientIP&&(Nm+="&clientIP="+fm.ClientIP),fm.ClientUA&&(Nm+="&clientUA="+fm.ClientUA),fm.Token&&(Nm+="&token="+fm.Token),vh&&(Nm+="&"+vh),setTimeout(function(){uh(null,{Url:Nm})})}});return mh?(kh+="?"+mh.Authorization+(mh.SecurityToken?"&x-cos-security-token="+mh.SecurityToken:""),vh&&(kh+="&"+vh)):vh&&(kh+="?"+vh),kh}function Zm(Cf){var uh={GrantFullControl:[],GrantWrite:[],GrantRead:[],GrantReadAcp:[],GrantWriteAcp:[],ACL:""},th={FULL_CONTROL:"GrantFullControl",WRITE:"GrantWrite",READ:"GrantRead",READ_ACP:"GrantReadAcp",WRITE_ACP:"GrantWriteAcp"},ch=Cf&&Cf.AccessControlList||{},yh=ch.Grant;yh&&(yh=ud.isArray(yh)?yh:[yh]);var vh={READ:0,WRITE:0,FULL_CONTROL:0};return yh&&yh.length&&ud.each(yh,function(kh){kh.Grantee.ID==="qcs::cam::anyone:anyone"||kh.Grantee.URI==="http://cam.qcloud.com/groups/global/AllUsers"?vh[kh.Permission]=1:kh.Grantee.ID!==Cf.Owner.ID&&uh[th[kh.Permission]].push('id="'+kh.Grantee.ID+'"')}),vh.FULL_CONTROL||vh.WRITE&&vh.READ?uh.ACL="public-read-write":vh.READ?uh.ACL="public-read":uh.ACL="private",ud.each(th,function(kh){uh[kh]=L_(uh[kh].join(","))}),uh}function L_(Cf){var uh=Cf.split(","),th={},ch,yh;for(ch=0;ch"u"?"undefined":ad(location))==="object"&&location.protocol==="http:"?"http:":"https:");vh||(["cn-south","cn-south-2","cn-north","cn-east","cn-southwest","sg"].indexOf(uh)>-1?vh="{Region}.myqcloud.com":vh="cos.{Region}.myqcloud.com",Cf.ForcePathStyle||(vh="{Bucket}."+vh)),vh=vh.replace(/\{\{AppId\}\}/gi,yh).replace(/\{\{Bucket\}\}/gi,ch).replace(/\{\{Region\}\}/gi,uh).replace(/\{\{.*?\}\}/gi,""),vh=vh.replace(/\{AppId\}/gi,yh).replace(/\{BucketName\}/gi,ch).replace(/\{Bucket\}/gi,th).replace(/\{Region\}/gi,uh).replace(/\{.*?\}/gi,""),/^[a-zA-Z]+:\/\//.test(vh)||(vh=Rh+"//"+vh),vh.slice(-1)==="/"&&(vh=vh.slice(0,-1));var mh=vh;return Cf.ForcePathStyle&&(mh+="/"+th),mh+="/",kh&&(mh+=ud.camSafeUrlEncode(kh).replace(/%2F/g,"/")),Cf.isLocation&&(mh=mh.replace(/^https?:\/\//,"")),mh}var Q_=function(uh){if(!uh.Bucket||!uh.Region)return"";var th=uh.UseAccelerate===void 0?this.options.UseAccelerate:uh.UseAccelerate,ch=uh.Url||V_({ForcePathStyle:this.options.ForcePathStyle,protocol:this.options.Protocol,domain:this.options.Domain,bucket:uh.Bucket,region:th?"accelerate":uh.Region}),yh=ch.replace(/^https?:\/\/([^/]+)(\/.*)?$/,"$1");return yh};function Z_(Cf,uh){var th=ud.clone(Cf.Headers),ch="";ud.each(th,function(m_,a_){(m_===""||["content-type","cache-control","expires"].indexOf(a_.toLowerCase())>-1)&&delete th[a_],a_.toLowerCase()==="host"&&(ch=m_)});var yh=Cf.ForceSignHost!==!1;!ch&&Cf.SignHost&&yh&&(th.Host=Cf.SignHost);var vh=!1,kh=function(a_,Um){vh||(vh=!0,Um&&Um.XCosSecurityToken&&!Um.SecurityToken&&(Um=ud.clone(Um),Um.SecurityToken=Um.XCosSecurityToken,delete Um.XCosSecurityToken),uh&&uh(a_,Um))},Rh=this,mh=Cf.Bucket||"",im=Cf.Region||"",fm=Cf.Key||"";Rh.options.ForcePathStyle&&mh&&(fm=mh+"/"+fm);var Gm="/"+fm,Nm={},Ym=Cf.Scope;if(!Ym){var S_=Cf.Action||"",w_=Cf.ResourceKey||Cf.Key||"";Ym=Cf.Scope||[{action:S_,bucket:mh,region:im,prefix:w_}]}var p_=ud.md5(JSON.stringify(Ym));Rh._StsCache=Rh._StsCache||[],function(){var m_,a_;for(m_=Rh._StsCache.length-1;m_>=0;m_--){a_=Rh._StsCache[m_];var Um=Math.round(ud.getSkewTime(Rh.options.SystemClockOffset)/1e3)+30;if(a_.StartTime&&Um=a_.ExpiredTime){Rh._StsCache.splice(m_,1);continue}if(!a_.ScopeLimit||a_.ScopeLimit&&a_.ScopeKey===p_){Nm=a_;break}}}();var Om=function(){var a_="";Nm.StartTime&&Cf.Expires?a_=Nm.StartTime+";"+(Nm.StartTime+Cf.Expires*1):Nm.StartTime&&Nm.ExpiredTime&&(a_=Nm.StartTime+";"+Nm.ExpiredTime);var Um=ud.getAuth({SecretId:Nm.TmpSecretId,SecretKey:Nm.TmpSecretKey,Method:Cf.Method,Pathname:Gm,Query:Cf.Query,Headers:th,Expires:Cf.Expires,UseRawKey:Rh.options.UseRawKey,SystemClockOffset:Rh.options.SystemClockOffset,KeyTime:a_,ForceSignHost:yh}),y_={Authorization:Um,SecurityToken:Nm.SecurityToken||Nm.XCosSecurityToken||"",Token:Nm.Token||"",ClientIP:Nm.ClientIP||"",ClientUA:Nm.ClientUA||"",SignFrom:"client"};kh(null,y_)},z_=function(a_){if(a_.Authorization){var Um=!1,y_=a_.Authorization;if(y_)if(y_.indexOf(" ")>-1)Um=!1;else if(y_.indexOf("q-sign-algorithm=")>-1&&y_.indexOf("q-ak=")>-1&&y_.indexOf("q-sign-time=")>-1&&y_.indexOf("q-key-time=")>-1&&y_.indexOf("q-url-param-list=")>-1)Um=!0;else try{y_=atob(y_),y_.indexOf("a=")>-1&&y_.indexOf("k=")>-1&&y_.indexOf("t=")>-1&&y_.indexOf("r=")>-1&&y_.indexOf("b=")>-1&&(Um=!0)}catch{}if(!Um)return ud.error(new Error("getAuthorization callback params format error"))}else{if(!a_.TmpSecretId)return ud.error(new Error('getAuthorization callback params missing "TmpSecretId"'));if(!a_.TmpSecretKey)return ud.error(new Error('getAuthorization callback params missing "TmpSecretKey"'));if(!a_.SecurityToken&&!a_.XCosSecurityToken)return ud.error(new Error('getAuthorization callback params missing "SecurityToken"'));if(!a_.ExpiredTime)return ud.error(new Error('getAuthorization callback params missing "ExpiredTime"'));if(a_.ExpiredTime&&a_.ExpiredTime.toString().length!==10)return ud.error(new Error('getAuthorization callback params "ExpiredTime" should be 10 digits'));if(a_.StartTime&&a_.StartTime.toString().length!==10)return ud.error(new Error('getAuthorization callback params "StartTime" should be 10 StartTime'))}return!1};if(Nm.ExpiredTime&&Nm.ExpiredTime-ud.getSkewTime(Rh.options.SystemClockOffset)/1e3>60)Om();else if(Rh.options.getAuthorization)Rh.options.getAuthorization.call(Rh,{Bucket:mh,Region:im,Method:Cf.Method,Key:fm,Pathname:Gm,Query:Cf.Query,Headers:th,Scope:Ym,SystemClockOffset:Rh.options.SystemClockOffset,ForceSignHost:yh},function(m_){typeof m_=="string"&&(m_={Authorization:m_});var a_=z_(m_);if(a_)return kh(a_);m_.Authorization?kh(null,m_):(Nm=m_||{},Nm.Scope=Ym,Nm.ScopeKey=p_,Rh._StsCache.push(Nm),Om())});else if(Rh.options.getSTS)Rh.options.getSTS.call(Rh,{Bucket:mh,Region:im},function(m_){Nm=m_||{},Nm.Scope=Ym,Nm.ScopeKey=p_,Nm.TmpSecretId||(Nm.TmpSecretId=Nm.SecretId),Nm.TmpSecretKey||(Nm.TmpSecretKey=Nm.SecretKey);var a_=z_(Nm);if(a_)return kh(a_);Rh._StsCache.push(Nm),Om()});else return function(){var m_="";if(Rh.options.StartTime&&Cf.Expires){if(Rh.options.StartTime.toString().length!==10)return kh(ud.error(new Error('params "StartTime" should be 10 digits')));m_=Rh.options.StartTime+";"+(Rh.options.StartTime+Cf.Expires*1)}else if(Rh.options.StartTime&&Rh.options.ExpiredTime){if(Rh.options.StartTime.toString().length!==10)return kh(ud.error(new Error('params "StartTime" should be 10 digits')));if(Rh.options.ExpiredTime.toString().length!==10)return kh(ud.error(new Error('params "ExpiredTime" should be 10 digits')));m_=Rh.options.StartTime+";"+Rh.options.ExpiredTime*1}var a_=ud.getAuth({SecretId:Cf.SecretId||Rh.options.SecretId,SecretKey:Cf.SecretKey||Rh.options.SecretKey,Method:Cf.Method,Pathname:Gm,Query:Cf.Query,Headers:th,Expires:Cf.Expires,KeyTime:m_,UseRawKey:Rh.options.UseRawKey,SystemClockOffset:Rh.options.SystemClockOffset,ForceSignHost:yh}),Um={Authorization:a_,SecurityToken:Rh.options.SecurityToken||Rh.options.XCosSecurityToken,SignFrom:"client"};return kh(null,Um),Um}();return""}function H_(Cf){var uh=this,th=!1,ch=!1,yh=!1,vh=Cf.headers&&(Cf.headers.date||Cf.headers.Date)||Cf.error&&Cf.error.ServerTime;try{var kh=Cf.error.Code,Rh=Cf.error.Message;(kh==="RequestTimeTooSkewed"||kh==="AccessDenied"&&Rh==="Request has expired")&&(ch=!0)}catch{}if(Cf)if(ch&&vh){var mh=Date.parse(vh);this.options.CorrectClockSkew&&Math.abs(ud.getSkewTime(this.options.SystemClockOffset)-mh)>=3e4&&(console.error("error: Local time is too skewed."),this.options.SystemClockOffset=mh-Date.now(),th=!0)}else Math.floor(Cf.statusCode/100)===5?th=!0:Cf.message==="CORS blocked or network error"&&(yh=!0,th=uh.options.AutoSwitchHost);return{canRetry:th,networkError:yh}}function O_(Cf){var uh=Cf.requestUrl,th=Cf.clientCalcSign,ch=Cf.networkError;if(!this.options.AutoSwitchHost||!uh||!th||!ch)return!1;var yh=/^https?:\/\/[^\/]*\.cos\.[^\/]*\.myqcloud\.com(\/.*)?$/,vh=/^https?:\/\/[^\/]*\.cos\.accelerate\.myqcloud\.com(\/.*)?$/,kh=yh.test(uh)&&!vh.test(uh);return kh}function $m(Cf,uh){var th=this;!Cf.headers&&(Cf.headers={}),!Cf.qs&&(Cf.qs={}),Cf.VersionId&&(Cf.qs.versionId=Cf.VersionId),Cf.qs=ud.clearKey(Cf.qs),Cf.headers&&(Cf.headers=ud.clearKey(Cf.headers)),Cf.qs&&(Cf.qs=ud.clearKey(Cf.qs));var ch=ud.clone(Cf.qs);Cf.action&&(ch[Cf.action]="");var yh=Cf.url||Cf.Url,vh=Cf.SignHost||Q_.call(this,{Bucket:Cf.Bucket,Region:Cf.Region,Url:yh}),kh=Cf.tracker,Rh=function mh(im){var fm=th.options.SystemClockOffset;kh&&kh.setParams({signStartTime:new Date().getTime(),httpRetryTimes:im-1}),Cf.SwitchHost&&(vh=vh.replace(/myqcloud.com/,"tencentcos.cn")),Z_.call(th,{Bucket:Cf.Bucket||"",Region:Cf.Region||"",Method:Cf.method,Key:Cf.Key,Query:ch,Headers:Cf.headers,SignHost:vh,Action:Cf.Action,ResourceKey:Cf.ResourceKey,Scope:Cf.Scope,ForceSignHost:th.options.ForceSignHost,SwitchHost:Cf.SwitchHost},function(Gm,Nm){if(Gm){uh(Gm);return}kh&&kh.setParams({signEndTime:new Date().getTime(),httpStartTime:new Date().getTime()}),Cf.AuthData=Nm,Rg.call(th,Cf,function(Ym,S_){kh&&kh.setParams({httpEndTime:new Date().getTime()});var w_=!1,p_=!1;if(Ym){var Om=H_.call(th,Ym);w_=Om.canRetry||fm!==th.options.SystemClockOffset,p_=Om.networkError}if(Ym&&im<2&&w_){Cf.headers&&(delete Cf.headers.Authorization,delete Cf.headers.token,delete Cf.headers.clientIP,delete Cf.headers.clientUA,Cf.headers["x-cos-security-token"]&&delete Cf.headers["x-cos-security-token"],Cf.headers["x-ci-security-token"]&&delete Cf.headers["x-ci-security-token"]);var z_=O_.call(th,{requestUrl:(Ym==null?void 0:Ym.url)||"",clientCalcSign:Nm.SignFrom==="client",networkError:p_});Cf.SwitchHost=z_,Cf.retry=!0,mh(im+1)}else uh(Ym,S_)})})};Rh(1)}function Rg(Cf,uh){var th=this,ch=Cf.TaskId;if(!(ch&&!th._isRunningTask(ch))){var yh=Cf.Bucket,vh=Cf.Region,kh=Cf.Key,Rh=Cf.method||"GET",mh=Cf.Url||Cf.url,im=Cf.body,fm=Cf.rawBody;th.options.UseAccelerate&&(vh="accelerate"),mh=mh||V_({ForcePathStyle:th.options.ForcePathStyle,protocol:th.options.Protocol,domain:th.options.Domain,bucket:yh,region:vh,object:kh}),Cf.SwitchHost&&(mh=mh.replace(/myqcloud.com/,"tencentcos.cn"));var Gm=kh?mh:"";Cf.action&&(mh=mh+"?"+(ud.isIOS_QQ?"".concat(Cf.action,"="):Cf.action)),Cf.qsStr&&(mh.indexOf("?")>-1?mh=mh+"&"+Cf.qsStr:mh=mh+"?"+Cf.qsStr);var Nm={method:Rh,url:mh,headers:Cf.headers,qs:Cf.qs,body:im},Ym="x-cos-security-token";if(ud.isCIHost(mh)&&(Ym="x-ci-security-token"),Nm.headers.Authorization=Cf.AuthData.Authorization,Cf.AuthData.Token&&(Nm.headers.token=Cf.AuthData.Token),Cf.AuthData.ClientIP&&(Nm.headers.clientIP=Cf.AuthData.ClientIP),Cf.AuthData.ClientUA&&(Nm.headers.clientUA=Cf.AuthData.ClientUA),Cf.AuthData.SecurityToken&&(Nm.headers[Ym]=Cf.AuthData.SecurityToken),Nm.headers&&(Nm.headers=ud.clearKey(Nm.headers)),Cf.retry&&(Nm.headers["x-cos-sdk-retry"]=!0),Nm=ud.clearKey(Nm),Cf.onProgress&&typeof Cf.onProgress=="function"){var S_=im&&(im.size||im.length)||0;Nm.onProgress=function(Um){if(!(ch&&!th._isRunningTask(ch))){var y_=Um?Um.loaded:0;Cf.onProgress({loaded:y_,total:S_})}}}Cf.onDownloadProgress&&(Nm.onDownloadProgress=Cf.onDownloadProgress),Cf.DataType&&(Nm.dataType=Cf.DataType),this.options.Timeout&&(Nm.timeout=this.options.Timeout),th.options.ForcePathStyle&&(Nm.pathStyle=th.options.ForcePathStyle),th.emit("before-send",Nm);var w_=Nm.url.includes("accelerate."),p_=Nm.qs?Object.keys(Nm.qs).map(function(Um){return"".concat(Um,"=").concat(Nm.qs[Um])}).join("&"):"",Om=p_?Nm.url+"?"+p_:Nm.url;if(Cf.tracker){var z_;Cf.tracker.setParams({url:Om,httpMethod:Nm.method,accelerate:w_,httpSize:((z_=Nm.body)===null||z_===void 0?void 0:z_.size)||0}),Cf.tracker.parent&&!Cf.tracker.parent.params.url&&Cf.tracker.parent.setParams({url:Gm,accelerate:w_})}var m_=(th.options.Request||sd)(Nm,function(Um){if(!(Um&&Um.error==="abort")){var y_={options:Nm,error:Um&&Um.error,statusCode:Um&&Um.statusCode||0,statusMessage:Um&&Um.statusMessage||"",headers:Um&&Um.headers||{},body:Um&&Um.body};th.emit("after-receive",y_);var Zg=y_.error,e0=y_.body,_m={statusCode:y_.statusCode,statusMessage:y_.statusMessage,headers:y_.headers},s_,kg=function(Mg,W_){if(ch&&th.off("inner-kill-task",a_),!s_){s_=!0;var gg={};if(_m&&_m.statusCode&&(gg.statusCode=_m.statusCode),_m&&_m.headers&&(gg.headers=_m.headers),Mg)Nm.url&&(gg.url=Nm.url),Nm.method&&(gg.method=Nm.method),Mg=ud.extend(Mg||{},gg),uh(Mg,null);else{if(Cf.Action==="name/cos:PutObject"){var og={};for(var r0 in Cf.headers){var k0=r0.toLowerCase();og[k0]=Cf.headers[r0]}og["x-cos-callback"]?W_.Error?(W_.CallbackError=ud.clone(W_.Error),delete W_.Error):W_.CallbackBody=ud.clone(W_):og["x-cos-return-body"]&&(W_.Error?(W_.ReturnError=ud.clone(W_.Error),delete W_.Error):W_.ReturnBody=ud.clone(W_))}W_=ud.extend(W_||{},gg),uh(null,W_)}m_=null}};if(Zg)return kg(ud.error(Zg));var h0=_m.statusCode,m0=Math.floor(h0/100)===2;if(fm){if(m0)return kg(null,{body:e0});if(e0 instanceof Blob){ud.readAsBinaryString(e0,function(o_){var Mg=ud.parseResBody(o_),W_=Mg.Error||Mg;return kg(ud.error(new Error(W_.Message||"response body error"),{code:W_.Code,error:W_}))});return}}var Gg=ud.parseResBody(e0),t0=Gg.Error||Gg;m0?kg(null,Gg):t0?kg(ud.error(new Error(t0.Message),{code:t0.Code,error:t0})):h0?kg(ud.error(new Error(_m.statusMessage),{code:""+h0})):h0&&kg(ud.error(new Error("statusCode error")))}}),a_=function Um(y_){y_.TaskId===ch&&(m_&&m_.abort&&m_.abort(),th.off("inner-kill-task",Um))};ch&&th.on("inner-kill-task",a_)}}var Hg={getService:cd,putBucket:dd,headBucket:pd,getBucket:fd,deleteBucket:Td,putBucketAcl:Ad,getBucketAcl:Sd,putBucketCors:Dd,getBucketCors:Ld,deleteBucketCors:Rd,getBucketLocation:Od,getBucketPolicy:jd,putBucketPolicy:Md,deleteBucketPolicy:Ud,putBucketTagging:Hd,getBucketTagging:zd,deleteBucketTagging:Zd,putBucketLifecycle:Wd,getBucketLifecycle:Qd,deleteBucketLifecycle:Jd,putBucketVersioning:hf,getBucketVersioning:bf,putBucketReplication:Ef,getBucketReplication:_f,deleteBucketReplication:vf,putBucketWebsite:xf,getBucketWebsite:Bf,deleteBucketWebsite:Yf,putBucketReferer:eh,getBucketReferer:Vf,putBucketDomain:Pf,getBucketDomain:If,deleteBucketDomain:$f,putBucketOrigin:Zf,getBucketOrigin:Kf,deleteBucketOrigin:Tf,putBucketLogging:gf,getBucketLogging:Mf,putBucketInventory:Qf,postBucketInventory:Uf,getBucketInventory:Df,listBucketInventory:Xf,deleteBucketInventory:dh,putBucketAccelerate:qf,getBucketAccelerate:wf,putBucketEncryption:Rf,getBucketEncryption:jf,deleteBucketEncryption:lh,getObject:wh,headObject:_h,listObjectVersions:ih,putObject:hh,deleteObject:Th,getObjectAcl:Vh,putObjectAcl:Bh,optionsObject:Yh,putObjectCopy:dm,deleteMultipleObject:Of,restoreObject:Nf,putObjectTagging:Jf,getObjectTagging:oh,deleteObjectTagging:xh,selectObjectContent:Oh,appendObject:U_,uploadPartCopy:nh,multipartInit:Xh,multipartUpload:gm,multipartComplete:lm,multipartList:Hm,multipartListPart:Rm,multipartAbort:Pm,request:e_,getObjectUrl:A_,getAuth:C_};function um(Cf,uh,th){ud.each(["Cors","Acl"],function(ch){if(Cf.slice(-ch.length)===ch){var yh=Cf.slice(0,-ch.length)+ch.toUpperCase(),vh=ud.apiWrapper(Cf,uh),kh=!1;th[yh]=function(){!kh&&console.warn("warning: cos."+yh+" has been deprecated. Please Use cos."+Cf+" instead."),kh=!0,vh.apply(this,arguments)}}})}td.exports.init=function(Cf,uh){uh.transferToTaskMethod(Hg,"putObject"),ud.each(Hg,function(th,ch){Cf.prototype[ch]=ud.apiWrapper(ch,th),um(ch,th,Cf.prototype)})}},"./src/cos.js":function(td,rd,nd){var ad=nd("./src/util.js"),sd=nd("./src/event.js"),ud=nd("./src/task.js"),cd=nd("./src/base.js"),dd=nd("./src/advance.js"),pd=nd("./package.json"),fd={AppId:"",SecretId:"",SecretKey:"",SecurityToken:"",StartTime:0,ExpiredTime:0,ChunkRetryTimes:2,FileParallelLimit:3,ChunkParallelLimit:3,ChunkSize:1024*1024,SliceSize:1024*1024,CopyChunkParallelLimit:20,CopyChunkSize:1024*1024*10,CopySliceSize:1024*1024*10,MaxPartNumber:1e4,ProgressInterval:1e3,Domain:"",ServiceDomain:"",Protocol:"",CompatibilityMode:!1,ForcePathStyle:!1,UseRawKey:!1,Timeout:0,CorrectClockSkew:!0,SystemClockOffset:0,UploadCheckContentMd5:!1,UploadQueueSize:1e4,UploadAddMetaMd5:!1,UploadIdCacheLimit:50,UseAccelerate:!1,ForceSignHost:!0,AutoSwitchHost:!0,CopySourceParser:null,ObjectKeySimplifyCheck:!0,DeepTracker:!1,TrackerDelay:5e3,CustomId:"",BeaconReporter:null,ClsReporter:null},Td=function(Sd){if(this.options=ad.extend(ad.clone(fd),Sd||{}),this.options.FileParallelLimit=Math.max(1,this.options.FileParallelLimit),this.options.ChunkParallelLimit=Math.max(1,this.options.ChunkParallelLimit),this.options.ChunkRetryTimes=Math.max(0,this.options.ChunkRetryTimes),this.options.ChunkSize=Math.max(1024*1024,this.options.ChunkSize),this.options.CopyChunkParallelLimit=Math.max(1,this.options.CopyChunkParallelLimit),this.options.CopyChunkSize=Math.max(1024*1024,this.options.CopyChunkSize),this.options.CopySliceSize=Math.max(0,this.options.CopySliceSize),this.options.MaxPartNumber=Math.max(1024,Math.min(1e4,this.options.MaxPartNumber)),this.options.Timeout=Math.max(0,this.options.Timeout),this.options.EnableReporter=this.options.BeaconReporter||this.options.ClsReporter,this.options.AppId&&console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g: "test-1250000000").'),this.options.SecretId&&this.options.SecretId.indexOf(" ")>-1&&(console.error("error: SecretId格式错误,请检查"),console.error("error: SecretId format is incorrect. Please check")),this.options.SecretKey&&this.options.SecretKey.indexOf(" ")>-1&&(console.error("error: SecretKey格式错误,请检查"),console.error("error: SecretKey format is incorrect. Please check")),ad.isNode()&&(console.log("Tip: Next.js、Nuxt.js 等服务端渲染技术可正常使用JavaScript SDK,请忽略下方 nodejs 环境警告"),console.warn("warning: cos-js-sdk-v5 不支持 nodejs 环境使用,请改用 cos-nodejs-sdk-v5,参考文档: https://cloud.tencent.com/document/product/436/8629"),console.warn("warning: cos-js-sdk-v5 does not support nodejs environment. Please use cos-nodejs-sdk-v5 instead. See: https://cloud.tencent.com/document/product/436/8629")),this.options.ForcePathStyle)throw console.warn("cos-js-sdk-v5不再支持使用path-style,仅支持使用virtual-hosted-style,参考文档:https://cloud.tencent.com/document/product/436/96243"),new Error("ForcePathStyle is not supported");sd.init(this),ud.init(this)};cd.init(Td,ud),dd.init(Td,ud),Td.util={md5:ad.md5,xml2json:ad.xml2json,json2xml:ad.json2xml,encodeBase64:ad.encodeBase64},Td.getAuthorization=ad.getAuth,Td.version=pd.version,td.exports=Td},"./src/event.js":function(td,rd){var nd=function(ud){var cd={},dd=function(fd){return!cd[fd]&&(cd[fd]=[]),cd[fd]};ud.on=function(pd,fd){pd==="task-list-update"&&console.warn('warning: Event "'+pd+'" has been deprecated. Please use "list-update" instead.'),dd(pd).push(fd)},ud.off=function(pd,fd){for(var Td=dd(pd),Ad=Td.length-1;Ad>=0;Ad--)fd===Td[Ad]&&Td.splice(Ad,1)},ud.emit=function(pd,fd){for(var Td=dd(pd).map(function(Sd){return Sd}),Ad=0;Ad=0;Od--){var Md=cd[Od][2];(!Md||Md+ud=0;Md--){var jd=cd[Md];jd[0]===Ld&&jd[1]===Rd&&cd.splice(Md,1)}cd.unshift([Ld,Rd,Math.round(Date.now()/1e3)]),cd.length>Od&&cd.splice(Od),Ad()}},removeUploadId:function(Ld){Td.call(this),delete Sd.using[Ld];for(var Rd=cd.length-1;Rd>=0;Rd--)cd[Rd][1]===Ld&&cd.splice(Rd,1);Ad()}};td.exports=Sd},"./src/task.js":function(td,rd,nd){var ad=nd("./src/session.js"),sd=nd("./src/util.js"),ud={},cd=function(fd,Td){ud[Td]=fd[Td],fd[Td]=function(Ad,Sd){Ad.SkipTask?ud[Td].call(this,Ad,Sd):this._addTask(Td,Ad,Sd)}},dd=function(fd){var Td=[],Ad={},Sd=0,Dd=0,Ld=function(zd){var Zd={id:zd.id,Bucket:zd.Bucket,Region:zd.Region,Key:zd.Key,FilePath:zd.FilePath,state:zd.state,loaded:zd.loaded,size:zd.size,speed:zd.speed,percent:zd.percent,hashPercent:zd.hashPercent,error:zd.error};return zd.FilePath&&(Zd.FilePath=zd.FilePath),zd._custom&&(Zd._custom=zd._custom),Zd},Rd=function(){var Hd,zd=function(){Hd=0,fd.emit("task-list-update",{list:sd.map(Td,Ld)}),fd.emit("list-update",{list:sd.map(Td,Ld)})};return function(){Hd||(Hd=setTimeout(zd))}}(),Od=function(){if(!(Td.length<=fd.options.UploadQueueSize)){for(var zd=0;zdfd.options.UploadQueueSize;){var Zd=Td[zd].state==="waiting"||Td[zd].state==="checking"||Td[zd].state==="uploading";!Td[zd]||!Zd?(Ad[Td[zd].id]&&delete Ad[Td[zd].id],Td.splice(zd,1),Dd--):zd++}Rd()}},Md=function Hd(){if(!(Sd>=fd.options.FileParallelLimit)){for(;Td[Dd]&&Td[Dd].state!=="waiting";)Dd++;if(!(Dd>=Td.length)){var zd=Td[Dd];Dd++,Sd++,zd.state="checking",zd.params.onTaskStart&&zd.params.onTaskStart(Ld(zd)),!zd.params.UploadData&&(zd.params.UploadData={});var Zd=sd.formatParams(zd.api,zd.params);ud[zd.api].call(fd,Zd,function(Wd,Qd){fd._isRunningTask(zd.id)&&((zd.state==="checking"||zd.state==="uploading")&&(zd.state=Wd?"error":"success",Wd&&(zd.error=Wd),Sd--,Rd(),Hd(),zd.callback&&zd.callback(Wd,Qd),zd.state==="success"&&(zd.params&&(delete zd.params.UploadData,delete zd.params.Body,delete zd.params),delete zd.callback)),Od())}),Rd(),setTimeout(Hd)}}},jd=function(zd,Zd){var Wd=Ad[zd];if(Wd){var Qd=Wd&&Wd.state==="waiting",Jd=Wd&&(Wd.state==="checking"||Wd.state==="uploading");if(Zd==="canceled"&&Wd.state!=="canceled"||Zd==="paused"&&Qd||Zd==="paused"&&Jd){Wd.state=Zd,fd.emit("inner-kill-task",{TaskId:zd,toState:Zd});try{var hf=Wd&&Wd.params&&Wd.params.UploadData.UploadId}catch{}Zd==="canceled"&&hf&&ad.removeUsing(hf),Rd(),Jd&&(Sd--,Md()),Zd==="canceled"&&(Wd.params&&(delete Wd.params.UploadData,delete Wd.params.Body,delete Wd.params),delete Wd.callback)}Od()}};fd._addTasks=function(Hd){sd.each(Hd,function(zd){fd._addTask(zd.api,zd.params,zd.callback,!0)}),Rd()};var Ud=!0;fd._addTask=function(Hd,zd,Zd,Wd){zd=sd.formatParams(Hd,zd);var Qd=sd.uuid();zd.TaskId=Qd,zd.onTaskReady&&zd.onTaskReady(Qd),zd.TaskReady&&(zd.TaskReady(Qd),Ud&&console.warn('warning: Param "TaskReady" has been deprecated. Please use "onTaskReady" instead.'),Ud=!1);var Jd={params:zd,callback:Zd,api:Hd,index:Td.length,id:Qd,Bucket:zd.Bucket,Region:zd.Region,Key:zd.Key,FilePath:zd.FilePath||"",state:"waiting",loaded:0,size:0,speed:0,percent:0,hashPercent:0,error:null,_custom:zd._custom},hf=zd.onHashProgress;zd.onHashProgress=function(Ef){fd._isRunningTask(Jd.id)&&(Jd.hashPercent=Ef.percent,hf&&hf(Ef),Rd())};var bf=zd.onProgress;return zd.onProgress=function(Ef){fd._isRunningTask(Jd.id)&&(Jd.state==="checking"&&(Jd.state="uploading"),Jd.loaded=Ef.loaded,Jd.speed=Ef.speed,Jd.percent=Ef.percent,bf&&bf(Ef),Rd())},sd.getFileSize(Hd,zd,function(Ef,_f){if(Ef)return Zd(sd.error(Ef));Ad[Qd]=Jd,Td.push(Jd),Jd.size=_f,!Wd&&Rd(),Md(),Od()}),Qd},fd._isRunningTask=function(Hd){var zd=Ad[Hd];return!!(zd&&(zd.state==="checking"||zd.state==="uploading"))},fd.getTaskList=function(){return sd.map(Td,Ld)},fd.cancelTask=function(Hd){jd(Hd,"canceled")},fd.pauseTask=function(Hd){jd(Hd,"paused")},fd.restartTask=function(Hd){var zd=Ad[Hd];zd&&(zd.state==="paused"||zd.state==="error")&&(zd.state="waiting",Rd(),Dd=Math.min(Dd,zd.index),Md())},fd.isUploadRunning=function(){return Sd||Dd"u"?"undefined":ud(navigator))==="object"){var Zd=navigator.connection||navigator.mozConnection||navigator.webkitConnection;return(Zd==null?void 0:Zd.type)||(Zd==null?void 0:Zd.effectiveType)||"unknown"}return"unknown"},getProtocol:function(){return(typeof location>"u"?"undefined":ud(location))==="object"?location.protocol.replace(/:/,""):"unknown protocol"},getOsType:function(){if((typeof navigator>"u"?"undefined":ud(navigator))!=="object")return"unknown os";var Zd=navigator.userAgent.toLowerCase(),Wd=/macintosh|mac os x/i.test(navigator.userAgent);return Zd.indexOf("win32")>=0||Zd.indexOf("wow32")>=0?"win32":Zd.indexOf("win64")>=0||Zd.indexOf("wow64")>=0?"win64":Wd?"mac":"unknown os"},isMobile:function(){var Zd=/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i;return!!((typeof navigator>"u"?"undefined":ud(navigator))==="object"&&navigator.userAgent.match(Zd))},isAndroid:function(){var Zd=/(Android|Adr|Linux)/i;return!!((typeof navigator>"u"?"undefined":ud(navigator))==="object"&&navigator.userAgent.match(Zd))},isIOS:function(){var Zd=/(iPhone|iPod|iPad|iOS)/i;return!!((typeof navigator>"u"?"undefined":ud(navigator))==="object"&&navigator.userAgent.match(Zd))},isOtherMobile:function(){return Ad&&!isAndroid&&!isIOS},getUA:function(){if((typeof navigator>"u"?"undefined":ud(navigator))!=="object")return"unknown device";var Zd=navigator.userAgent;return Zd}},Ad=Td.isMobile(),Sd=Td.isAndroid()?"android":Td.isIOS?"ios":"other_mobile",Dd=Td.getOsType(),Ld=Ad?Sd:Dd,Rd=Td.getUA(),Od=Td.getProtocol(),Md=function(Zd){return["putObject","sliceUploadFile","uploadFile","uploadFiles"].includes(Zd)?"UploadTask":Zd==="getObject"?"DownloadTask":["putObjectCopy","sliceCopyFile"].includes(Zd)?"CopyTask":Zd};function jd(zd){return zd.replace(/([A-Z])/g,"_$1").toLowerCase()}function Ud(zd){var Zd={},Wd=["sdkVersionName","sdkVersionCode","osName","networkType","requestName","requestResult","bucket","region","appid","accelerate","url","host","requestPath","userAgent","networkProtocol","httpMethod","httpSize","httpSpeed","httpTookTime","httpMd5","httpSign","httpFullTime","httpDomain","partNumber","httpRetryTimes","customId","traceId","realApi"],Qd=[].concat(Wd,["errorNode","errorCode","errorName","errorMessage","errorRequestId","errorHttpCode","errorServiceName","errorType","fullError"]),Jd=zd.requestResult==="Success"?Wd:Qd;for(var hf in zd)if(Jd.includes(hf)){var bf=jd(hf);Zd[bf]=zd[hf]}return Zd.request_name=zd.realApi?Md(zd.realApi):zd.requestName,Zd}var Hd=function(){function zd(Zd){ad(this,zd);var Wd=Zd.parent,Qd=Zd.traceId,Jd=Zd.bucket,hf=Zd.region,bf=Zd.apiName,Ef=Zd.realApi,_f=Zd.httpMethod,vf=Zd.fileKey,xf=Zd.fileSize,Bf=Zd.accelerate,Yf=Zd.customId,eh=Zd.delay,Vf=Zd.deepTracker,Pf=Zd.Beacon,If=Zd.clsReporter,$f=Jd&&Jd.substr(Jd.lastIndexOf("-")+1)||"";this.parent=Wd,this.deepTracker=Vf,this.delay=eh,If&&!this.clsReporter&&(this.clsReporter=If),this.params={sdkVersionName:"cos-js-sdk-v5",sdkVersionCode:cd.version,osName:Ld,networkType:"",requestName:bf||"",requestResult:"",realApi:Ef,bucket:Jd,region:hf,accelerate:Bf,httpMethod:_f,url:"",host:"",httpDomain:"",requestPath:vf||"",userAgent:Rd,networkProtocol:Od,errorType:"",errorCode:"",errorName:"",errorMessage:"",errorRequestId:"",errorHttpCode:0,errorServiceName:"",errorNode:"",httpTookTime:0,httpSize:xf||0,httpMd5:0,httpSign:0,httpFullTime:0,httpSpeed:0,md5StartTime:0,md5EndTime:0,signStartTime:0,signEndTime:0,httpStartTime:0,httpEndTime:0,startTime:new Date().getTime(),endTime:0,traceId:Qd||Td.getUid(),appid:$f,partNumber:0,httpRetryTimes:0,customId:Yf||"",partTime:0},Pf&&(this.beacon=pd(Pf,eh))}return sd(zd,[{key:"formatResult",value:function(Wd,Qd){var Jd,hf,bf,Ef,_f,vf,xf=new Date().getTime(),Bf=Td.getNetType(),Yf=Wd?(Wd==null?void 0:Wd.code)||(Wd==null||(Jd=Wd.error)===null||Jd===void 0?void 0:Jd.code)||(Wd==null||(hf=Wd.error)===null||hf===void 0?void 0:hf.Code):"",eh=Wd?(Wd==null?void 0:Wd.message)||(Wd==null||(bf=Wd.error)===null||bf===void 0?void 0:bf.message)||(Wd==null||(Ef=Wd.error)===null||Ef===void 0?void 0:Ef.Message):"",Vf=eh,Pf=Wd?(Wd==null?void 0:Wd.resource)||(Wd==null||(_f=Wd.error)===null||_f===void 0?void 0:_f.resource)||(Wd==null||(vf=Wd.error)===null||vf===void 0?void 0:vf.Resource):"",If=Wd?Wd==null?void 0:Wd.statusCode:Qd.statusCode,$f=Wd?(Wd==null?void 0:Wd.headers)&&(Wd==null?void 0:Wd.headers["x-cos-request-id"]):(Qd==null?void 0:Qd.headers)&&(Qd==null?void 0:Qd.headers["x-cos-request-id"]),Zf=Wd?$f?"Server":"Client":"";this.params.requestName==="getObject"&&(this.params.httpSize=Qd?Qd.headers&&Qd.headers["content-length"]:0);var Kf=this.params.realApi==="sliceUploadFile",Tf=this.params.realApi==="sliceCopyFile";if(Kf||Tf){var gf=this.params.httpSize/1024/this.params.partTime;Object.assign(this.params,{httpSpeed:gf<0?0:gf.toFixed(3)})}else{var Mf=xf-this.params.startTime,Gf=this.params.httpEndTime-this.params.httpStartTime,Qf=this.params.httpSize/1024/(Gf/1e3),Uf=this.params.md5EndTime-this.params.md5StartTime,Df=this.params.signEndTime-this.params.signStartTime;this.parent&&(this.parent.addParamValue("httpTookTime",fd(Gf)),this.parent.addParamValue("httpFullTime",fd(Mf)),this.parent.addParamValue("httpMd5",fd(Uf)),this.parent.addParamValue("httpSign",fd(Df)),["multipartUpload","uploadPartCopy","putObjectCopy"].includes(this.params.requestName)&&this.parent.addParamValue("partTime",fd(Gf))),Object.assign(this.params,{httpFullTime:fd(Mf),httpMd5:fd(Uf),httpSign:fd(Df),httpTookTime:fd(Gf),httpSpeed:Qf<0?0:Qf.toFixed(3)})}if(Object.assign(this.params,{networkType:Bf,requestResult:Wd?"Failure":"Success",errorType:Zf,errorCode:Yf,errorHttpCode:If,errorName:Vf,errorMessage:eh,errorServiceName:Pf,errorRequestId:$f}),Wd&&(!Yf||!eh)&&(this.params.fullError=Wd?JSON.stringify(Wd):""),this.params.url){try{var Xf=/^http(s)?:\/\/(.*?)\//.exec(this.params.url);this.params.host=Xf[2]}catch{this.params.host=this.params.url}this.params.httpDomain=this.params.host}}},{key:"report",value:function(Wd,Qd){if(!(!this.beacon&&!this.clsReporter)){this.formatResult(Wd,Qd);var Jd=Ud(this.params);this.beacon&&this.sendEventsToBeacon(Jd),this.clsReporter&&this.sendEventsToCLS(Jd)}}},{key:"setParams",value:function(Wd){Object.assign(this.params,Wd)}},{key:"addParamValue",value:function(Wd,Qd){this.params[Wd]=(+this.params[Wd]+ +Qd).toFixed(3)}},{key:"sendEventsToBeacon",value:function(Wd){var Qd=this.params.requestName==="sliceUploadFile"||this.params.realApi==="sliceUploadFile";if(!(Qd&&!this.deepTracker)){var Jd="qcloud_track_cos_sdk";this.delay===0?this.beacon&&this.beacon.onDirectUserAction(Jd,Wd):this.beacon&&this.beacon.onUserAction(Jd,Wd)}}},{key:"sendEventsToCLS",value:function(Wd){var Qd=this.delay===0;this.clsReporter.log(Wd,Qd)}},{key:"generateSubTracker",value:function(Wd){return Object.assign(Wd,{parent:this,deepTracker:this.deepTracker,traceId:this.params.traceId,bucket:this.params.bucket,region:this.params.region,accelerate:this.params.accelerate,fileKey:this.params.requestPath,customId:this.params.customId,delay:this.delay,clsReporter:this.clsReporter}),new zd(Wd)}}]),zd}();td.exports=Hd},"./src/util.js":function(td,rd,nd){(function(ad){var sd=nd("./node_modules/@babel/runtime/helpers/typeof.js");function ud(Of,Nf){var Jf=typeof Symbol<"u"&&Of[Symbol.iterator]||Of["@@iterator"];if(!Jf){if(Array.isArray(Of)||(Jf=cd(Of))||Nf){Jf&&(Of=Jf);var oh=0,xh=function(){};return{s:xh,n:function(){return oh>=Of.length?{done:!0}:{done:!1,value:Of[oh++]}},e:function(Hm){throw Hm},f:xh}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Oh=!0,Xh=!1,gm;return{s:function(){Jf=Jf.call(Of)},n:function(){var Hm=Jf.next();return Oh=Hm.done,Hm},e:function(Hm){Xh=!0,gm=Hm},f:function(){try{!Oh&&Jf.return!=null&&Jf.return()}finally{if(Xh)throw gm}}}}function cd(Of,Nf){if(Of){if(typeof Of=="string")return dd(Of,Nf);var Jf=Object.prototype.toString.call(Of).slice(8,-1);if(Jf==="Object"&&Of.constructor&&(Jf=Of.constructor.name),Jf==="Map"||Jf==="Set")return Array.from(Of);if(Jf==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Jf))return dd(Of,Nf)}}function dd(Of,Nf){(Nf==null||Nf>Of.length)&&(Nf=Of.length);for(var Jf=0,oh=new Array(Nf);JfOh?1:-1})}var zd=function(Nf,Jf){var oh,xh,Oh,Xh=[],gm=Hd(Nf);for(oh=0;oh-1||Zd.indexOf(xh)>-1)&&(Jf[oh]=Nf[oh])}return Jf},Qd=function(Nf){Nf=Nf||{};var Jf=Nf.SecretId,oh=Nf.SecretKey,xh=Nf.KeyTime,Oh=(Nf.method||Nf.Method||"get").toLowerCase(),Xh=If(Nf.Query||Nf.params||{}),gm=Wd(If(Nf.Headers||Nf.headers||{})),lm=Nf.Key||"",Hm;Nf.UseRawKey?Hm=Nf.Pathname||Nf.pathname||"/"+lm:(Hm=Nf.Pathname||Nf.pathname||lm,Hm.indexOf("/")!==0&&(Hm="/"+Hm));var Rm=Nf.ForceSignHost!==!1;if(!gm.Host&&!gm.host&&Nf.Bucket&&Nf.Region&&Rm&&(gm.Host=Nf.Bucket+".cos."+Nf.Region+".myqcloud.com"),!Jf)throw new Error("missing param SecretId");if(!oh)throw new Error("missing param SecretKey");var Pm=Math.round(jf(Nf.SystemClockOffset)/1e3)-1,e_=Pm,U_=Nf.Expires||Nf.expires;U_===void 0?e_+=900:e_+=U_*1||0;var C_="sha1",A_=Jf,Zm=xh||Pm+";"+e_,L_=xh||Pm+";"+e_,V_=Hd(gm,!0).join(";").toLowerCase(),Q_=Hd(Xh,!0).join(";").toLowerCase(),Z_=fd.HmacSHA1(L_,oh).toString(),H_=[Oh,Hm,nh.obj2str(Xh,!0),nh.obj2str(gm,!0),""].join(` +`),O_=["sha1",Zm,fd.SHA1(H_).toString(),""].join(` +`),$m=fd.HmacSHA1(O_,Z_).toString(),Rg=["q-sign-algorithm="+C_,"q-ak="+A_,"q-sign-time="+Zm,"q-key-time="+L_,"q-header-list="+V_,"q-url-param-list="+Q_,"q-signature="+$m].join("&");return Rg},Jd=function(Nf,Jf,oh){var xh=Jf/8,Oh=Nf.slice(oh,oh+xh);return new Uint8Array(Oh).reverse(),new{8:Uint8Array,16:Uint16Array,32:Uint32Array}[Jf](Oh)[0]},hf=function(Nf,Jf,oh,xh){var Oh=Nf.slice(Jf,oh),Xh="";return new Uint8Array(Oh).forEach(function(gm){Xh+=String.fromCharCode(gm)}),xh&&(Xh=decodeURIComponent(escape(Xh))),Xh},bf=function(Nf){for(var Jf={},oh=hf(Nf),xh={records:[]};Nf.byteLength;){var Oh=Jd(Nf,32,0),Xh=Jd(Nf,32,4),gm=Oh-Xh-16,lm=0,Hm;for(Nf=Nf.slice(12);lmparseInt(xh[Oh])?1:-1;return 0},Nf=function(oh){if(!oh)return!1;var xh=(oh.match(/Chrome\/([.\d]+)/)||[])[1],Oh=(oh.match(/QBCore\/([.\d]+)/)||[])[1],Xh=(oh.match(/QQBrowser\/([.\d]+)/)||[])[1],gm=xh&&Of(xh,"53.0.2785.116")<0&&Oh&&Of(Oh,"3.53.991.400")<0&&Xh&&Of(Xh,"9.0.2524.400")<=0||!1;return gm};return Nf(typeof navigator<"u"&&navigator.userAgent)}(),Yf=function(Nf,Jf,oh,xh,Oh){var Xh;if(Nf.slice?Xh=Nf.slice(Jf,oh):Nf.mozSlice?Xh=Nf.mozSlice(Jf,oh):Nf.webkitSlice&&(Xh=Nf.webkitSlice(Jf,oh)),xh&&Bf){var gm=new FileReader;gm.onload=function(lm){Xh=null,Oh(new Blob([gm.result]))},gm.readAsArrayBuffer(Xh)}else Oh(Xh)},eh=function(Nf,Jf,oh,xh){oh=oh||_f,Nf?typeof Jf=="string"?oh(nh.md5(Jf,!0)):Blob&&Jf instanceof Blob?nh.getFileMd5(Jf,function(Oh,Xh){oh(Xh)},xh):oh():oh()},Vf=1024*1024,Pf=function(Nf,Jf,oh){var xh=Nf.size,Oh=0,Xh=pd.getCtx(),gm=function lm(Hm){if(Hm>=xh){var Rm=Xh.digest("hex");Jf(null,Rm);return}var Pm=Math.min(xh,Hm+Vf);nh.fileSlice(Nf,Hm,Pm,!1,function(e_){xf(e_,function(U_){e_=null,Xh=Xh.update(U_,!0),Oh+=U_.length,U_=null,oh&&oh({loaded:Oh,total:xh,percent:Math.round(Oh/xh*1e4)/1e4}),lm(Hm+Vf)})})};gm(0)};function If(Of){return Gf(Of,function(Nf){return sd(Nf)==="object"&&Nf!==null?If(Nf):Nf})}function $f(Of,Nf,Jf){return Of&&Nf in Of?Of[Nf]:Jf}function Zf(Of,Nf){return Mf(Nf,function(Jf,oh){Of[oh]=Nf[oh]}),Of}function Kf(Of){return Of instanceof Array}function Tf(Of,Nf){for(var Jf=!1,oh=0;oh-1,lm=!Xh||typeof Xh=="string"&&Xh.indexOf("{Region}")>-1;if(Nf.indexOf("Bucket")>-1||Nf==="deleteMultipleObject"||Nf==="multipartList"||Nf==="listObjectVersions"){if(gm&&!oh)return"Bucket";if(lm&&!xh)return"Region"}else if(Nf.indexOf("Object")>-1||Nf.indexOf("multipart")>-1||Nf==="sliceUploadFile"||Nf==="abortUploadTask"||Nf==="uploadFile"){if(gm&&!oh)return"Bucket";if(lm&&!xh)return"Region";if(!Oh)return"Key"}return!1},dh=function(Nf,Jf){if(Jf=Zf({},Jf),Nf!=="getAuth"&&Nf!=="getV4Auth"&&Nf!=="getObjectUrl"){var oh=Jf.Headers||{};if(Jf&&sd(Jf)==="object"){(function(){for(var Oh in Jf)Jf.hasOwnProperty(Oh)&&Oh.indexOf("x-cos-")>-1&&(oh[Oh]=Jf[Oh])})();var xh={"x-cos-mfa":"MFA","Content-MD5":"ContentMD5","Content-Length":"ContentLength","Content-Type":"ContentType",Expect:"Expect",Expires:"Expires","Cache-Control":"CacheControl","Content-Disposition":"ContentDisposition","Content-Encoding":"ContentEncoding",Range:"Range","If-Modified-Since":"IfModifiedSince","If-Unmodified-Since":"IfUnmodifiedSince","If-Match":"IfMatch","If-None-Match":"IfNoneMatch","x-cos-copy-source":"CopySource","x-cos-copy-source-Range":"CopySourceRange","x-cos-metadata-directive":"MetadataDirective","x-cos-copy-source-If-Modified-Since":"CopySourceIfModifiedSince","x-cos-copy-source-If-Unmodified-Since":"CopySourceIfUnmodifiedSince","x-cos-copy-source-If-Match":"CopySourceIfMatch","x-cos-copy-source-If-None-Match":"CopySourceIfNoneMatch","x-cos-acl":"ACL","x-cos-grant-read":"GrantRead","x-cos-grant-write":"GrantWrite","x-cos-grant-full-control":"GrantFullControl","x-cos-grant-read-acp":"GrantReadAcp","x-cos-grant-write-acp":"GrantWriteAcp","x-cos-storage-class":"StorageClass","x-cos-traffic-limit":"TrafficLimit","x-cos-mime-limit":"MimeLimit","x-cos-server-side-encryption-customer-algorithm":"SSECustomerAlgorithm","x-cos-server-side-encryption-customer-key":"SSECustomerKey","x-cos-server-side-encryption-customer-key-MD5":"SSECustomerKeyMD5","x-cos-server-side-encryption":"ServerSideEncryption","x-cos-server-side-encryption-cos-kms-key-id":"SSEKMSKeyId","x-cos-server-side-encryption-context":"SSEContext","Pic-Operations":"PicOperations","x-cos-callback":"Callback","x-cos-callback-var":"CallbackVar","x-cos-return-body":"ReturnBody"};nh.each(xh,function(Oh,Xh){Jf[Oh]!==void 0&&(oh[Xh]=Jf[Oh])}),Jf.Headers=vf(oh)}}return Jf},qf=function(Nf,Jf){return function(oh,xh){var Oh=this;typeof oh=="function"&&(xh=oh,oh={}),oh=dh(Nf,oh);var Xh;if(Oh.options.EnableReporter)if(oh.calledBySdk==="sliceUploadFile"||oh.calledBySdk==="sliceCopyFile")Xh=oh.tracker&&oh.tracker.generateSubTracker({apiName:Nf});else if(["uploadFile","uploadFiles"].includes(Nf))Xh=null;else{var gm=0;oh.Body&&(gm=typeof oh.Body=="string"?oh.Body.length:oh.Body.size||oh.Body.byteLength||0);var lm=Oh.options.UseAccelerate||typeof Oh.options.Domain=="string"&&Oh.options.Domain.includes("accelerate.");Xh=new Od({Beacon:Oh.options.BeaconReporter,clsReporter:Oh.options.ClsReporter,bucket:oh.Bucket,region:oh.Region,apiName:Nf,realApi:Nf,accelerate:lm,fileKey:oh.Key,fileSize:gm,deepTracker:Oh.options.DeepTracker,customId:Oh.options.CustomId,delay:Oh.options.TrackerDelay})}oh.tracker=Xh;var Hm=function(Zm){return Zm&&Zm.headers&&(Zm.headers["x-cos-request-id"]&&(Zm.RequestId=Zm.headers["x-cos-request-id"]),Zm.headers["x-ci-request-id"]&&(Zm.RequestId=Zm.headers["x-ci-request-id"]),Zm.headers["x-cos-version-id"]&&(Zm.VersionId=Zm.headers["x-cos-version-id"]),Zm.headers["x-cos-delete-marker"]&&(Zm.DeleteMarker=Zm.headers["x-cos-delete-marker"])),Zm},Rm=function(Zm,L_){Xh&&Xh.report(Zm,L_),xh&&xh(Hm(Zm),Hm(L_))},Pm=function(){if(Nf!=="getService"&&Nf!=="abortUploadTask"){var Zm=Xf.call(Oh,Nf,oh);if(Zm)return"missing param "+Zm;if(oh.Region){if(Oh.options.CompatibilityMode){if(!/^([a-z\d-.]+)$/.test(oh.Region))return"Region format error."}else{if(oh.Region.indexOf("cos.")>-1)return'param Region should not be start with "cos."';if(!/^([a-z\d-]+)$/.test(oh.Region))return"Region format error."}!Oh.options.CompatibilityMode&&oh.Region.indexOf("-")===-1&&oh.Region!=="yfb"&&oh.Region!=="default"&&oh.Region!=="accelerate"&&console.warn("warning: param Region format error, find help here: https://cloud.tencent.com/document/product/436/6224")}if(oh.Bucket){if(!/^([a-z\d-]+)-(\d+)$/.test(oh.Bucket))if(oh.AppId)oh.Bucket=oh.Bucket+"-"+oh.AppId;else if(Oh.options.AppId)oh.Bucket=oh.Bucket+"-"+Oh.options.AppId;else return'Bucket should format as "test-1250000000".';oh.AppId&&(console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g Bucket:"test-1250000000" ).'),delete oh.AppId)}!Oh.options.UseRawKey&&oh.Key&&oh.Key.substr(0,1)==="/"&&(oh.Key=oh.Key.substr(1))}},e_=Pm(),U_=["getAuth","getObjectUrl"].includes(Nf);if(typeof Promise=="function"&&!U_&&!xh)return new Promise(function(A_,Zm){if(xh=function(V_,Q_){V_?Zm(V_):A_(Q_)},e_)return Rm(nh.error(new Error(e_)));Jf.call(Oh,oh,Rm)});if(e_)return Rm(nh.error(new Error(e_)));var C_=Jf.call(Oh,oh,Rm);if(U_)return C_}},wf=function(Nf,Jf){var oh=this,xh=0,Oh=0,Xh=Date.now(),gm,lm;function Hm(){if(lm=0,Jf&&typeof Jf=="function"){gm=Date.now();var Rm=Math.max(0,Math.round((Oh-xh)/((gm-Xh)/1e3)*100)/100)||0,Pm;Oh===0&&Nf===0?Pm=1:Pm=Math.floor(Oh/Nf*100)/100||0,Xh=gm,xh=Oh;try{Jf({loaded:Oh,total:Nf,speed:Rm,percent:Pm})}catch{}}}return function(Rm,Pm){if(Rm&&(Oh=Rm.loaded,Nf=Rm.total),Pm)clearTimeout(lm),Hm();else{if(lm)return;lm=setTimeout(Hm,oh.options.ProgressInterval)}}},Rf=function(Nf,Jf,oh){var xh;if(typeof Jf.Body=="string"?Jf.Body=new Blob([Jf.Body],{type:"text/plain"}):Jf.Body instanceof ArrayBuffer&&(Jf.Body=new Blob([Jf.Body])),Jf.Body&&(Jf.Body instanceof Blob||Jf.Body.toString()==="[object File]"||Jf.Body.toString()==="[object Blob]"))xh=Jf.Body.size;else{oh(nh.error(new Error("params body format error, Only allow File|Blob|String.")));return}Jf.ContentLength=xh,oh(null,xh)},jf=function(Nf){return Date.now()+(Nf||0)},lh=function(Nf,Jf){var oh=Nf;return Nf.message=Nf.message||null,typeof Jf=="string"?(Nf.error=Jf,Nf.message=Jf):sd(Jf)==="object"&&Jf!==null&&(Zf(Nf,Jf),(Jf.code||Jf.name)&&(Nf.code=Jf.code||Jf.name),Jf.message&&(Nf.message=Jf.message),Jf.stack&&(Nf.stack=Jf.stack)),typeof Object.defineProperty=="function"&&(Object.defineProperty(Nf,"name",{writable:!0,enumerable:!1}),Object.defineProperty(Nf,"message",{enumerable:!0})),Nf.name=Jf&&Jf.name||Nf.name||Nf.code||"Error",Nf.code||(Nf.code=Nf.name),Nf.error||(Nf.error=If(oh)),Nf},_h=function(){return(typeof globalThis>"u"?"undefined":sd(globalThis))==="object"&&(globalThis.constructor.name==="DedicatedWorkerGlobalScope"||globalThis.FileReaderSync)},ih=function(){return(typeof window>"u"?"undefined":sd(window))!=="object"&&(typeof ad>"u"?"undefined":sd(ad))==="object"&&!0&&!_h()},wh=function(Nf){return/^https?:\/\/([^/]+\.)?ci\.[^/]+/.test(Nf)},hh=function(){if((typeof navigator>"u"?"undefined":sd(navigator))!=="object")return!1;var Of=navigator.userAgent,Nf=!!Of.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);return Nf}(),Th=function(){return(typeof navigator>"u"?"undefined":sd(navigator))!=="object"?!1:/\sQQ/i.test(navigator.userAgent)}(),Vh=function(Nf,Jf){var oh=Rd.encode(Nf);return Jf&&(oh=oh.replaceAll("+","-").replaceAll("/","_").replaceAll("=","")),oh},Bh=function(Nf){return Nf?Rd.decode(Nf):""},Yh=function(Nf){var Jf=Nf.split("/"),oh=[],xh=ud(Jf),Oh;try{for(xh.s();!(Oh=xh.n()).done;){var Xh=Oh.value;Xh===".."?oh.length&&oh.pop():Xh.length&&Xh!=="."&&oh.push(Xh)}}catch(gm){xh.e(gm)}finally{xh.f()}return"/"+oh.join("/")},dm=function(Nf){var Jf;if(Nf&&typeof Nf=="string"){var oh=Nf.trim(),xh=oh.indexOf("<")===0,Oh=oh.indexOf("{")===0;if(xh)Jf=nh.xml2json(Nf)||{};else if(Oh)try{var Xh=Nf.replace(/\n/g," "),gm=JSON.parse(Xh);Object.prototype.toString.call(gm)==="[object Object]"?Jf=gm:Jf=Nf}catch{Jf=Nf}else Jf=Nf}else Jf=Nf||{};return Jf},nh={noop:_f,formatParams:dh,apiWrapper:qf,xml2json:Md,json2xml:jd,md5:pd,clearKey:vf,fileSlice:Yf,getBodyMd5:eh,getFileMd5:Pf,b64:Uf,extend:Zf,isArray:Kf,isInArray:Tf,makeArray:gf,each:Mf,map:Gf,filter:Qf,clone:If,attr:$f,uuid:Df,camSafeUrlEncode:Ud,throttleOnProgress:wf,getFileSize:Rf,getSkewTime:jf,error:lh,obj2str:zd,getAuth:Qd,parseSelectPayload:bf,getSourceParams:Ef,isBrowser:!0,isNode:ih,isCIHost:wh,isIOS_QQ:hh&&Th,encodeBase64:Vh,decodeBase64:Bh,simplifyPath:Yh,readAsBinaryString:xf,parseResBody:dm};td.exports=nh}).call(this,nd("./node_modules/process/browser.js"))}})})})(cosJsSdkV5);var cosJsSdkV5Exports=cosJsSdkV5.exports;const COS=getDefaultExportFromCjs(cosJsSdkV5Exports);var cryptoJs={exports:{}};function commonjsRequire(Ra){throw new Error('Could not dynamically require "'+Ra+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var core={exports:{}};const __viteBrowserExternal={},http=Object.freeze(Object.defineProperty({__proto__:null,default:__viteBrowserExternal},Symbol.toStringTag,{value:"Module"})),require$$0$1=getAugmentedNamespace(http);var hasRequiredCore;function requireCore(){return hasRequiredCore||(hasRequiredCore=1,function(Ra,qa){(function(td,rd){Ra.exports=rd()})(commonjsGlobal,function(){var td=td||function(rd,nd){var ad;if(typeof window<"u"&&window.crypto&&(ad=window.crypto),typeof self<"u"&&self.crypto&&(ad=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(ad=globalThis.crypto),!ad&&typeof window<"u"&&window.msCrypto&&(ad=window.msCrypto),!ad&&typeof commonjsGlobal<"u"&&commonjsGlobal.crypto&&(ad=commonjsGlobal.crypto),!ad&&typeof commonjsRequire=="function")try{ad=require$$0$1}catch{}var sd=function(){if(ad){if(typeof ad.getRandomValues=="function")try{return ad.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof ad.randomBytes=="function")try{return ad.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},ud=Object.create||function(){function Od(){}return function(Md){var jd;return Od.prototype=Md,jd=new Od,Od.prototype=null,jd}}(),cd={},dd=cd.lib={},pd=dd.Base=function(){return{extend:function(Od){var Md=ud(this);return Od&&Md.mixIn(Od),(!Md.hasOwnProperty("init")||this.init===Md.init)&&(Md.init=function(){Md.$super.init.apply(this,arguments)}),Md.init.prototype=Md,Md.$super=this,Md},create:function(){var Od=this.extend();return Od.init.apply(Od,arguments),Od},init:function(){},mixIn:function(Od){for(var Md in Od)Od.hasOwnProperty(Md)&&(this[Md]=Od[Md]);Od.hasOwnProperty("toString")&&(this.toString=Od.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),fd=dd.WordArray=pd.extend({init:function(Od,Md){Od=this.words=Od||[],Md!=nd?this.sigBytes=Md:this.sigBytes=Od.length*4},toString:function(Od){return(Od||Ad).stringify(this)},concat:function(Od){var Md=this.words,jd=Od.words,Ud=this.sigBytes,Hd=Od.sigBytes;if(this.clamp(),Ud%4)for(var zd=0;zd>>2]>>>24-zd%4*8&255;Md[Ud+zd>>>2]|=Zd<<24-(Ud+zd)%4*8}else for(var Wd=0;Wd>>2]=jd[Wd>>>2];return this.sigBytes+=Hd,this},clamp:function(){var Od=this.words,Md=this.sigBytes;Od[Md>>>2]&=4294967295<<32-Md%4*8,Od.length=rd.ceil(Md/4)},clone:function(){var Od=pd.clone.call(this);return Od.words=this.words.slice(0),Od},random:function(Od){for(var Md=[],jd=0;jd>>2]>>>24-Hd%4*8&255;Ud.push((zd>>>4).toString(16)),Ud.push((zd&15).toString(16))}return Ud.join("")},parse:function(Od){for(var Md=Od.length,jd=[],Ud=0;Ud>>3]|=parseInt(Od.substr(Ud,2),16)<<24-Ud%8*4;return new fd.init(jd,Md/2)}},Sd=Td.Latin1={stringify:function(Od){for(var Md=Od.words,jd=Od.sigBytes,Ud=[],Hd=0;Hd>>2]>>>24-Hd%4*8&255;Ud.push(String.fromCharCode(zd))}return Ud.join("")},parse:function(Od){for(var Md=Od.length,jd=[],Ud=0;Ud>>2]|=(Od.charCodeAt(Ud)&255)<<24-Ud%4*8;return new fd.init(jd,Md)}},Dd=Td.Utf8={stringify:function(Od){try{return decodeURIComponent(escape(Sd.stringify(Od)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(Od){return Sd.parse(unescape(encodeURIComponent(Od)))}},Ld=dd.BufferedBlockAlgorithm=pd.extend({reset:function(){this._data=new fd.init,this._nDataBytes=0},_append:function(Od){typeof Od=="string"&&(Od=Dd.parse(Od)),this._data.concat(Od),this._nDataBytes+=Od.sigBytes},_process:function(Od){var Md,jd=this._data,Ud=jd.words,Hd=jd.sigBytes,zd=this.blockSize,Zd=zd*4,Wd=Hd/Zd;Od?Wd=rd.ceil(Wd):Wd=rd.max((Wd|0)-this._minBufferSize,0);var Qd=Wd*zd,Jd=rd.min(Qd*4,Hd);if(Qd){for(var hf=0;hf>>2]|=cd[fd]<<24-fd%4*8;sd.call(this,pd,dd)}else sd.apply(this,arguments)};ud.prototype=ad}}(),td.lib.WordArray})}(libTypedarrays)),libTypedarrays.exports}var encUtf16={exports:{}},hasRequiredEncUtf16;function requireEncUtf16(){return hasRequiredEncUtf16||(hasRequiredEncUtf16=1,function(Ra,qa){(function(td,rd){Ra.exports=rd(requireCore())})(commonjsGlobal,function(td){return function(){var rd=td,nd=rd.lib,ad=nd.WordArray,sd=rd.enc;sd.Utf16=sd.Utf16BE={stringify:function(cd){for(var dd=cd.words,pd=cd.sigBytes,fd=[],Td=0;Td>>2]>>>16-Td%4*8&65535;fd.push(String.fromCharCode(Ad))}return fd.join("")},parse:function(cd){for(var dd=cd.length,pd=[],fd=0;fd>>1]|=cd.charCodeAt(fd)<<16-fd%2*16;return ad.create(pd,dd*2)}},sd.Utf16LE={stringify:function(cd){for(var dd=cd.words,pd=cd.sigBytes,fd=[],Td=0;Td>>2]>>>16-Td%4*8&65535);fd.push(String.fromCharCode(Ad))}return fd.join("")},parse:function(cd){for(var dd=cd.length,pd=[],fd=0;fd>>1]|=ud(cd.charCodeAt(fd)<<16-fd%2*16);return ad.create(pd,dd*2)}};function ud(cd){return cd<<8&4278255360|cd>>>8&16711935}}(),td.enc.Utf16})}(encUtf16)),encUtf16.exports}var encBase64={exports:{}},hasRequiredEncBase64;function requireEncBase64(){return hasRequiredEncBase64||(hasRequiredEncBase64=1,function(Ra,qa){(function(td,rd){Ra.exports=rd(requireCore())})(commonjsGlobal,function(td){return function(){var rd=td,nd=rd.lib,ad=nd.WordArray,sd=rd.enc;sd.Base64={stringify:function(cd){var dd=cd.words,pd=cd.sigBytes,fd=this._map;cd.clamp();for(var Td=[],Ad=0;Ad>>2]>>>24-Ad%4*8&255,Dd=dd[Ad+1>>>2]>>>24-(Ad+1)%4*8&255,Ld=dd[Ad+2>>>2]>>>24-(Ad+2)%4*8&255,Rd=Sd<<16|Dd<<8|Ld,Od=0;Od<4&&Ad+Od*.75>>6*(3-Od)&63));var Md=fd.charAt(64);if(Md)for(;Td.length%4;)Td.push(Md);return Td.join("")},parse:function(cd){var dd=cd.length,pd=this._map,fd=this._reverseMap;if(!fd){fd=this._reverseMap=[];for(var Td=0;Td>>6-Ad%4*2,Ld=Sd|Dd;fd[Td>>>2]|=Ld<<24-Td%4*8,Td++}return ad.create(fd,Td)}}(),td.enc.Base64})}(encBase64)),encBase64.exports}var encBase64url={exports:{}},hasRequiredEncBase64url;function requireEncBase64url(){return hasRequiredEncBase64url||(hasRequiredEncBase64url=1,function(Ra,qa){(function(td,rd){Ra.exports=rd(requireCore())})(commonjsGlobal,function(td){return function(){var rd=td,nd=rd.lib,ad=nd.WordArray,sd=rd.enc;sd.Base64url={stringify:function(cd,dd){dd===void 0&&(dd=!0);var pd=cd.words,fd=cd.sigBytes,Td=dd?this._safe_map:this._map;cd.clamp();for(var Ad=[],Sd=0;Sd>>2]>>>24-Sd%4*8&255,Ld=pd[Sd+1>>>2]>>>24-(Sd+1)%4*8&255,Rd=pd[Sd+2>>>2]>>>24-(Sd+2)%4*8&255,Od=Dd<<16|Ld<<8|Rd,Md=0;Md<4&&Sd+Md*.75>>6*(3-Md)&63));var jd=Td.charAt(64);if(jd)for(;Ad.length%4;)Ad.push(jd);return Ad.join("")},parse:function(cd,dd){dd===void 0&&(dd=!0);var pd=cd.length,fd=dd?this._safe_map:this._map,Td=this._reverseMap;if(!Td){Td=this._reverseMap=[];for(var Ad=0;Ad>>6-Ad%4*2,Ld=Sd|Dd;fd[Td>>>2]|=Ld<<24-Td%4*8,Td++}return ad.create(fd,Td)}}(),td.enc.Base64url})}(encBase64url)),encBase64url.exports}var md5$1={exports:{}},hasRequiredMd5$1;function requireMd5$1(){return hasRequiredMd5$1||(hasRequiredMd5$1=1,function(Ra,qa){(function(td,rd){Ra.exports=rd(requireCore())})(commonjsGlobal,function(td){return function(rd){var nd=td,ad=nd.lib,sd=ad.WordArray,ud=ad.Hasher,cd=nd.algo,dd=[];(function(){for(var Dd=0;Dd<64;Dd++)dd[Dd]=rd.abs(rd.sin(Dd+1))*4294967296|0})();var pd=cd.MD5=ud.extend({_doReset:function(){this._hash=new sd.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(Dd,Ld){for(var Rd=0;Rd<16;Rd++){var Od=Ld+Rd,Md=Dd[Od];Dd[Od]=(Md<<8|Md>>>24)&16711935|(Md<<24|Md>>>8)&4278255360}var jd=this._hash.words,Ud=Dd[Ld+0],Hd=Dd[Ld+1],zd=Dd[Ld+2],Zd=Dd[Ld+3],Wd=Dd[Ld+4],Qd=Dd[Ld+5],Jd=Dd[Ld+6],hf=Dd[Ld+7],bf=Dd[Ld+8],Ef=Dd[Ld+9],_f=Dd[Ld+10],vf=Dd[Ld+11],xf=Dd[Ld+12],Bf=Dd[Ld+13],Yf=Dd[Ld+14],eh=Dd[Ld+15],Vf=jd[0],Pf=jd[1],If=jd[2],$f=jd[3];Vf=fd(Vf,Pf,If,$f,Ud,7,dd[0]),$f=fd($f,Vf,Pf,If,Hd,12,dd[1]),If=fd(If,$f,Vf,Pf,zd,17,dd[2]),Pf=fd(Pf,If,$f,Vf,Zd,22,dd[3]),Vf=fd(Vf,Pf,If,$f,Wd,7,dd[4]),$f=fd($f,Vf,Pf,If,Qd,12,dd[5]),If=fd(If,$f,Vf,Pf,Jd,17,dd[6]),Pf=fd(Pf,If,$f,Vf,hf,22,dd[7]),Vf=fd(Vf,Pf,If,$f,bf,7,dd[8]),$f=fd($f,Vf,Pf,If,Ef,12,dd[9]),If=fd(If,$f,Vf,Pf,_f,17,dd[10]),Pf=fd(Pf,If,$f,Vf,vf,22,dd[11]),Vf=fd(Vf,Pf,If,$f,xf,7,dd[12]),$f=fd($f,Vf,Pf,If,Bf,12,dd[13]),If=fd(If,$f,Vf,Pf,Yf,17,dd[14]),Pf=fd(Pf,If,$f,Vf,eh,22,dd[15]),Vf=Td(Vf,Pf,If,$f,Hd,5,dd[16]),$f=Td($f,Vf,Pf,If,Jd,9,dd[17]),If=Td(If,$f,Vf,Pf,vf,14,dd[18]),Pf=Td(Pf,If,$f,Vf,Ud,20,dd[19]),Vf=Td(Vf,Pf,If,$f,Qd,5,dd[20]),$f=Td($f,Vf,Pf,If,_f,9,dd[21]),If=Td(If,$f,Vf,Pf,eh,14,dd[22]),Pf=Td(Pf,If,$f,Vf,Wd,20,dd[23]),Vf=Td(Vf,Pf,If,$f,Ef,5,dd[24]),$f=Td($f,Vf,Pf,If,Yf,9,dd[25]),If=Td(If,$f,Vf,Pf,Zd,14,dd[26]),Pf=Td(Pf,If,$f,Vf,bf,20,dd[27]),Vf=Td(Vf,Pf,If,$f,Bf,5,dd[28]),$f=Td($f,Vf,Pf,If,zd,9,dd[29]),If=Td(If,$f,Vf,Pf,hf,14,dd[30]),Pf=Td(Pf,If,$f,Vf,xf,20,dd[31]),Vf=Ad(Vf,Pf,If,$f,Qd,4,dd[32]),$f=Ad($f,Vf,Pf,If,bf,11,dd[33]),If=Ad(If,$f,Vf,Pf,vf,16,dd[34]),Pf=Ad(Pf,If,$f,Vf,Yf,23,dd[35]),Vf=Ad(Vf,Pf,If,$f,Hd,4,dd[36]),$f=Ad($f,Vf,Pf,If,Wd,11,dd[37]),If=Ad(If,$f,Vf,Pf,hf,16,dd[38]),Pf=Ad(Pf,If,$f,Vf,_f,23,dd[39]),Vf=Ad(Vf,Pf,If,$f,Bf,4,dd[40]),$f=Ad($f,Vf,Pf,If,Ud,11,dd[41]),If=Ad(If,$f,Vf,Pf,Zd,16,dd[42]),Pf=Ad(Pf,If,$f,Vf,Jd,23,dd[43]),Vf=Ad(Vf,Pf,If,$f,Ef,4,dd[44]),$f=Ad($f,Vf,Pf,If,xf,11,dd[45]),If=Ad(If,$f,Vf,Pf,eh,16,dd[46]),Pf=Ad(Pf,If,$f,Vf,zd,23,dd[47]),Vf=Sd(Vf,Pf,If,$f,Ud,6,dd[48]),$f=Sd($f,Vf,Pf,If,hf,10,dd[49]),If=Sd(If,$f,Vf,Pf,Yf,15,dd[50]),Pf=Sd(Pf,If,$f,Vf,Qd,21,dd[51]),Vf=Sd(Vf,Pf,If,$f,xf,6,dd[52]),$f=Sd($f,Vf,Pf,If,Zd,10,dd[53]),If=Sd(If,$f,Vf,Pf,_f,15,dd[54]),Pf=Sd(Pf,If,$f,Vf,Hd,21,dd[55]),Vf=Sd(Vf,Pf,If,$f,bf,6,dd[56]),$f=Sd($f,Vf,Pf,If,eh,10,dd[57]),If=Sd(If,$f,Vf,Pf,Jd,15,dd[58]),Pf=Sd(Pf,If,$f,Vf,Bf,21,dd[59]),Vf=Sd(Vf,Pf,If,$f,Wd,6,dd[60]),$f=Sd($f,Vf,Pf,If,vf,10,dd[61]),If=Sd(If,$f,Vf,Pf,zd,15,dd[62]),Pf=Sd(Pf,If,$f,Vf,Ef,21,dd[63]),jd[0]=jd[0]+Vf|0,jd[1]=jd[1]+Pf|0,jd[2]=jd[2]+If|0,jd[3]=jd[3]+$f|0},_doFinalize:function(){var Dd=this._data,Ld=Dd.words,Rd=this._nDataBytes*8,Od=Dd.sigBytes*8;Ld[Od>>>5]|=128<<24-Od%32;var Md=rd.floor(Rd/4294967296),jd=Rd;Ld[(Od+64>>>9<<4)+15]=(Md<<8|Md>>>24)&16711935|(Md<<24|Md>>>8)&4278255360,Ld[(Od+64>>>9<<4)+14]=(jd<<8|jd>>>24)&16711935|(jd<<24|jd>>>8)&4278255360,Dd.sigBytes=(Ld.length+1)*4,this._process();for(var Ud=this._hash,Hd=Ud.words,zd=0;zd<4;zd++){var Zd=Hd[zd];Hd[zd]=(Zd<<8|Zd>>>24)&16711935|(Zd<<24|Zd>>>8)&4278255360}return Ud},clone:function(){var Dd=ud.clone.call(this);return Dd._hash=this._hash.clone(),Dd}});function fd(Dd,Ld,Rd,Od,Md,jd,Ud){var Hd=Dd+(Ld&Rd|~Ld&Od)+Md+Ud;return(Hd<>>32-jd)+Ld}function Td(Dd,Ld,Rd,Od,Md,jd,Ud){var Hd=Dd+(Ld&Od|Rd&~Od)+Md+Ud;return(Hd<>>32-jd)+Ld}function Ad(Dd,Ld,Rd,Od,Md,jd,Ud){var Hd=Dd+(Ld^Rd^Od)+Md+Ud;return(Hd<>>32-jd)+Ld}function Sd(Dd,Ld,Rd,Od,Md,jd,Ud){var Hd=Dd+(Rd^(Ld|~Od))+Md+Ud;return(Hd<>>32-jd)+Ld}nd.MD5=ud._createHelper(pd),nd.HmacMD5=ud._createHmacHelper(pd)}(Math),td.MD5})}(md5$1)),md5$1.exports}var sha1={exports:{}},hasRequiredSha1;function requireSha1(){return hasRequiredSha1||(hasRequiredSha1=1,function(Ra,qa){(function(td,rd){Ra.exports=rd(requireCore())})(commonjsGlobal,function(td){return function(){var rd=td,nd=rd.lib,ad=nd.WordArray,sd=nd.Hasher,ud=rd.algo,cd=[],dd=ud.SHA1=sd.extend({_doReset:function(){this._hash=new ad.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(pd,fd){for(var Td=this._hash.words,Ad=Td[0],Sd=Td[1],Dd=Td[2],Ld=Td[3],Rd=Td[4],Od=0;Od<80;Od++){if(Od<16)cd[Od]=pd[fd+Od]|0;else{var Md=cd[Od-3]^cd[Od-8]^cd[Od-14]^cd[Od-16];cd[Od]=Md<<1|Md>>>31}var jd=(Ad<<5|Ad>>>27)+Rd+cd[Od];Od<20?jd+=(Sd&Dd|~Sd&Ld)+1518500249:Od<40?jd+=(Sd^Dd^Ld)+1859775393:Od<60?jd+=(Sd&Dd|Sd&Ld|Dd&Ld)-1894007588:jd+=(Sd^Dd^Ld)-899497514,Rd=Ld,Ld=Dd,Dd=Sd<<30|Sd>>>2,Sd=Ad,Ad=jd}Td[0]=Td[0]+Ad|0,Td[1]=Td[1]+Sd|0,Td[2]=Td[2]+Dd|0,Td[3]=Td[3]+Ld|0,Td[4]=Td[4]+Rd|0},_doFinalize:function(){var pd=this._data,fd=pd.words,Td=this._nDataBytes*8,Ad=pd.sigBytes*8;return fd[Ad>>>5]|=128<<24-Ad%32,fd[(Ad+64>>>9<<4)+14]=Math.floor(Td/4294967296),fd[(Ad+64>>>9<<4)+15]=Td,pd.sigBytes=fd.length*4,this._process(),this._hash},clone:function(){var pd=sd.clone.call(this);return pd._hash=this._hash.clone(),pd}});rd.SHA1=sd._createHelper(dd),rd.HmacSHA1=sd._createHmacHelper(dd)}(),td.SHA1})}(sha1)),sha1.exports}var sha256={exports:{}},hasRequiredSha256;function requireSha256(){return hasRequiredSha256||(hasRequiredSha256=1,function(Ra,qa){(function(td,rd){Ra.exports=rd(requireCore())})(commonjsGlobal,function(td){return function(rd){var nd=td,ad=nd.lib,sd=ad.WordArray,ud=ad.Hasher,cd=nd.algo,dd=[],pd=[];(function(){function Ad(Rd){for(var Od=rd.sqrt(Rd),Md=2;Md<=Od;Md++)if(!(Rd%Md))return!1;return!0}function Sd(Rd){return(Rd-(Rd|0))*4294967296|0}for(var Dd=2,Ld=0;Ld<64;)Ad(Dd)&&(Ld<8&&(dd[Ld]=Sd(rd.pow(Dd,1/2))),pd[Ld]=Sd(rd.pow(Dd,1/3)),Ld++),Dd++})();var fd=[],Td=cd.SHA256=ud.extend({_doReset:function(){this._hash=new sd.init(dd.slice(0))},_doProcessBlock:function(Ad,Sd){for(var Dd=this._hash.words,Ld=Dd[0],Rd=Dd[1],Od=Dd[2],Md=Dd[3],jd=Dd[4],Ud=Dd[5],Hd=Dd[6],zd=Dd[7],Zd=0;Zd<64;Zd++){if(Zd<16)fd[Zd]=Ad[Sd+Zd]|0;else{var Wd=fd[Zd-15],Qd=(Wd<<25|Wd>>>7)^(Wd<<14|Wd>>>18)^Wd>>>3,Jd=fd[Zd-2],hf=(Jd<<15|Jd>>>17)^(Jd<<13|Jd>>>19)^Jd>>>10;fd[Zd]=Qd+fd[Zd-7]+hf+fd[Zd-16]}var bf=jd&Ud^~jd&Hd,Ef=Ld&Rd^Ld&Od^Rd&Od,_f=(Ld<<30|Ld>>>2)^(Ld<<19|Ld>>>13)^(Ld<<10|Ld>>>22),vf=(jd<<26|jd>>>6)^(jd<<21|jd>>>11)^(jd<<7|jd>>>25),xf=zd+vf+bf+pd[Zd]+fd[Zd],Bf=_f+Ef;zd=Hd,Hd=Ud,Ud=jd,jd=Md+xf|0,Md=Od,Od=Rd,Rd=Ld,Ld=xf+Bf|0}Dd[0]=Dd[0]+Ld|0,Dd[1]=Dd[1]+Rd|0,Dd[2]=Dd[2]+Od|0,Dd[3]=Dd[3]+Md|0,Dd[4]=Dd[4]+jd|0,Dd[5]=Dd[5]+Ud|0,Dd[6]=Dd[6]+Hd|0,Dd[7]=Dd[7]+zd|0},_doFinalize:function(){var Ad=this._data,Sd=Ad.words,Dd=this._nDataBytes*8,Ld=Ad.sigBytes*8;return Sd[Ld>>>5]|=128<<24-Ld%32,Sd[(Ld+64>>>9<<4)+14]=rd.floor(Dd/4294967296),Sd[(Ld+64>>>9<<4)+15]=Dd,Ad.sigBytes=Sd.length*4,this._process(),this._hash},clone:function(){var Ad=ud.clone.call(this);return Ad._hash=this._hash.clone(),Ad}});nd.SHA256=ud._createHelper(Td),nd.HmacSHA256=ud._createHmacHelper(Td)}(Math),td.SHA256})}(sha256)),sha256.exports}var sha224={exports:{}},hasRequiredSha224;function requireSha224(){return hasRequiredSha224||(hasRequiredSha224=1,function(Ra,qa){(function(td,rd,nd){Ra.exports=rd(requireCore(),requireSha256())})(commonjsGlobal,function(td){return function(){var rd=td,nd=rd.lib,ad=nd.WordArray,sd=rd.algo,ud=sd.SHA256,cd=sd.SHA224=ud.extend({_doReset:function(){this._hash=new ad.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var dd=ud._doFinalize.call(this);return dd.sigBytes-=4,dd}});rd.SHA224=ud._createHelper(cd),rd.HmacSHA224=ud._createHmacHelper(cd)}(),td.SHA224})}(sha224)),sha224.exports}var sha512={exports:{}},hasRequiredSha512;function requireSha512(){return hasRequiredSha512||(hasRequiredSha512=1,function(Ra,qa){(function(td,rd,nd){Ra.exports=rd(requireCore(),requireX64Core())})(commonjsGlobal,function(td){return function(){var rd=td,nd=rd.lib,ad=nd.Hasher,sd=rd.x64,ud=sd.Word,cd=sd.WordArray,dd=rd.algo;function pd(){return ud.create.apply(ud,arguments)}var fd=[pd(1116352408,3609767458),pd(1899447441,602891725),pd(3049323471,3964484399),pd(3921009573,2173295548),pd(961987163,4081628472),pd(1508970993,3053834265),pd(2453635748,2937671579),pd(2870763221,3664609560),pd(3624381080,2734883394),pd(310598401,1164996542),pd(607225278,1323610764),pd(1426881987,3590304994),pd(1925078388,4068182383),pd(2162078206,991336113),pd(2614888103,633803317),pd(3248222580,3479774868),pd(3835390401,2666613458),pd(4022224774,944711139),pd(264347078,2341262773),pd(604807628,2007800933),pd(770255983,1495990901),pd(1249150122,1856431235),pd(1555081692,3175218132),pd(1996064986,2198950837),pd(2554220882,3999719339),pd(2821834349,766784016),pd(2952996808,2566594879),pd(3210313671,3203337956),pd(3336571891,1034457026),pd(3584528711,2466948901),pd(113926993,3758326383),pd(338241895,168717936),pd(666307205,1188179964),pd(773529912,1546045734),pd(1294757372,1522805485),pd(1396182291,2643833823),pd(1695183700,2343527390),pd(1986661051,1014477480),pd(2177026350,1206759142),pd(2456956037,344077627),pd(2730485921,1290863460),pd(2820302411,3158454273),pd(3259730800,3505952657),pd(3345764771,106217008),pd(3516065817,3606008344),pd(3600352804,1432725776),pd(4094571909,1467031594),pd(275423344,851169720),pd(430227734,3100823752),pd(506948616,1363258195),pd(659060556,3750685593),pd(883997877,3785050280),pd(958139571,3318307427),pd(1322822218,3812723403),pd(1537002063,2003034995),pd(1747873779,3602036899),pd(1955562222,1575990012),pd(2024104815,1125592928),pd(2227730452,2716904306),pd(2361852424,442776044),pd(2428436474,593698344),pd(2756734187,3733110249),pd(3204031479,2999351573),pd(3329325298,3815920427),pd(3391569614,3928383900),pd(3515267271,566280711),pd(3940187606,3454069534),pd(4118630271,4000239992),pd(116418474,1914138554),pd(174292421,2731055270),pd(289380356,3203993006),pd(460393269,320620315),pd(685471733,587496836),pd(852142971,1086792851),pd(1017036298,365543100),pd(1126000580,2618297676),pd(1288033470,3409855158),pd(1501505948,4234509866),pd(1607167915,987167468),pd(1816402316,1246189591)],Td=[];(function(){for(var Sd=0;Sd<80;Sd++)Td[Sd]=pd()})();var Ad=dd.SHA512=ad.extend({_doReset:function(){this._hash=new cd.init([new ud.init(1779033703,4089235720),new ud.init(3144134277,2227873595),new ud.init(1013904242,4271175723),new ud.init(2773480762,1595750129),new ud.init(1359893119,2917565137),new ud.init(2600822924,725511199),new ud.init(528734635,4215389547),new ud.init(1541459225,327033209)])},_doProcessBlock:function(Sd,Dd){for(var Ld=this._hash.words,Rd=Ld[0],Od=Ld[1],Md=Ld[2],jd=Ld[3],Ud=Ld[4],Hd=Ld[5],zd=Ld[6],Zd=Ld[7],Wd=Rd.high,Qd=Rd.low,Jd=Od.high,hf=Od.low,bf=Md.high,Ef=Md.low,_f=jd.high,vf=jd.low,xf=Ud.high,Bf=Ud.low,Yf=Hd.high,eh=Hd.low,Vf=zd.high,Pf=zd.low,If=Zd.high,$f=Zd.low,Zf=Wd,Kf=Qd,Tf=Jd,gf=hf,Mf=bf,Gf=Ef,Qf=_f,Uf=vf,Df=xf,Xf=Bf,dh=Yf,qf=eh,wf=Vf,Rf=Pf,jf=If,lh=$f,_h=0;_h<80;_h++){var ih,wh,hh=Td[_h];if(_h<16)wh=hh.high=Sd[Dd+_h*2]|0,ih=hh.low=Sd[Dd+_h*2+1]|0;else{var Th=Td[_h-15],Vh=Th.high,Bh=Th.low,Yh=(Vh>>>1|Bh<<31)^(Vh>>>8|Bh<<24)^Vh>>>7,dm=(Bh>>>1|Vh<<31)^(Bh>>>8|Vh<<24)^(Bh>>>7|Vh<<25),nh=Td[_h-2],Of=nh.high,Nf=nh.low,Jf=(Of>>>19|Nf<<13)^(Of<<3|Nf>>>29)^Of>>>6,oh=(Nf>>>19|Of<<13)^(Nf<<3|Of>>>29)^(Nf>>>6|Of<<26),xh=Td[_h-7],Oh=xh.high,Xh=xh.low,gm=Td[_h-16],lm=gm.high,Hm=gm.low;ih=dm+Xh,wh=Yh+Oh+(ih>>>0>>0?1:0),ih=ih+oh,wh=wh+Jf+(ih>>>0>>0?1:0),ih=ih+Hm,wh=wh+lm+(ih>>>0>>0?1:0),hh.high=wh,hh.low=ih}var Rm=Df&dh^~Df&wf,Pm=Xf&qf^~Xf&Rf,e_=Zf&Tf^Zf&Mf^Tf&Mf,U_=Kf&gf^Kf&Gf^gf&Gf,C_=(Zf>>>28|Kf<<4)^(Zf<<30|Kf>>>2)^(Zf<<25|Kf>>>7),A_=(Kf>>>28|Zf<<4)^(Kf<<30|Zf>>>2)^(Kf<<25|Zf>>>7),Zm=(Df>>>14|Xf<<18)^(Df>>>18|Xf<<14)^(Df<<23|Xf>>>9),L_=(Xf>>>14|Df<<18)^(Xf>>>18|Df<<14)^(Xf<<23|Df>>>9),V_=fd[_h],Q_=V_.high,Z_=V_.low,H_=lh+L_,O_=jf+Zm+(H_>>>0>>0?1:0),H_=H_+Pm,O_=O_+Rm+(H_>>>0>>0?1:0),H_=H_+Z_,O_=O_+Q_+(H_>>>0>>0?1:0),H_=H_+ih,O_=O_+wh+(H_>>>0>>0?1:0),$m=A_+U_,Rg=C_+e_+($m>>>0>>0?1:0);jf=wf,lh=Rf,wf=dh,Rf=qf,dh=Df,qf=Xf,Xf=Uf+H_|0,Df=Qf+O_+(Xf>>>0>>0?1:0)|0,Qf=Mf,Uf=Gf,Mf=Tf,Gf=gf,Tf=Zf,gf=Kf,Kf=H_+$m|0,Zf=O_+Rg+(Kf>>>0>>0?1:0)|0}Qd=Rd.low=Qd+Kf,Rd.high=Wd+Zf+(Qd>>>0>>0?1:0),hf=Od.low=hf+gf,Od.high=Jd+Tf+(hf>>>0>>0?1:0),Ef=Md.low=Ef+Gf,Md.high=bf+Mf+(Ef>>>0>>0?1:0),vf=jd.low=vf+Uf,jd.high=_f+Qf+(vf>>>0>>0?1:0),Bf=Ud.low=Bf+Xf,Ud.high=xf+Df+(Bf>>>0>>0?1:0),eh=Hd.low=eh+qf,Hd.high=Yf+dh+(eh>>>0>>0?1:0),Pf=zd.low=Pf+Rf,zd.high=Vf+wf+(Pf>>>0>>0?1:0),$f=Zd.low=$f+lh,Zd.high=If+jf+($f>>>0>>0?1:0)},_doFinalize:function(){var Sd=this._data,Dd=Sd.words,Ld=this._nDataBytes*8,Rd=Sd.sigBytes*8;Dd[Rd>>>5]|=128<<24-Rd%32,Dd[(Rd+128>>>10<<5)+30]=Math.floor(Ld/4294967296),Dd[(Rd+128>>>10<<5)+31]=Ld,Sd.sigBytes=Dd.length*4,this._process();var Od=this._hash.toX32();return Od},clone:function(){var Sd=ad.clone.call(this);return Sd._hash=this._hash.clone(),Sd},blockSize:1024/32});rd.SHA512=ad._createHelper(Ad),rd.HmacSHA512=ad._createHmacHelper(Ad)}(),td.SHA512})}(sha512)),sha512.exports}var sha384={exports:{}},hasRequiredSha384;function requireSha384(){return hasRequiredSha384||(hasRequiredSha384=1,function(Ra,qa){(function(td,rd,nd){Ra.exports=rd(requireCore(),requireX64Core(),requireSha512())})(commonjsGlobal,function(td){return function(){var rd=td,nd=rd.x64,ad=nd.Word,sd=nd.WordArray,ud=rd.algo,cd=ud.SHA512,dd=ud.SHA384=cd.extend({_doReset:function(){this._hash=new sd.init([new ad.init(3418070365,3238371032),new ad.init(1654270250,914150663),new ad.init(2438529370,812702999),new ad.init(355462360,4144912697),new ad.init(1731405415,4290775857),new ad.init(2394180231,1750603025),new ad.init(3675008525,1694076839),new ad.init(1203062813,3204075428)])},_doFinalize:function(){var pd=cd._doFinalize.call(this);return pd.sigBytes-=16,pd}});rd.SHA384=cd._createHelper(dd),rd.HmacSHA384=cd._createHmacHelper(dd)}(),td.SHA384})}(sha384)),sha384.exports}var sha3={exports:{}},hasRequiredSha3;function requireSha3(){return hasRequiredSha3||(hasRequiredSha3=1,function(Ra,qa){(function(td,rd,nd){Ra.exports=rd(requireCore(),requireX64Core())})(commonjsGlobal,function(td){return function(rd){var nd=td,ad=nd.lib,sd=ad.WordArray,ud=ad.Hasher,cd=nd.x64,dd=cd.Word,pd=nd.algo,fd=[],Td=[],Ad=[];(function(){for(var Ld=1,Rd=0,Od=0;Od<24;Od++){fd[Ld+5*Rd]=(Od+1)*(Od+2)/2%64;var Md=Rd%5,jd=(2*Ld+3*Rd)%5;Ld=Md,Rd=jd}for(var Ld=0;Ld<5;Ld++)for(var Rd=0;Rd<5;Rd++)Td[Ld+5*Rd]=Rd+(2*Ld+3*Rd)%5*5;for(var Ud=1,Hd=0;Hd<24;Hd++){for(var zd=0,Zd=0,Wd=0;Wd<7;Wd++){if(Ud&1){var Qd=(1<>>24)&16711935|(Ud<<24|Ud>>>8)&4278255360,Hd=(Hd<<8|Hd>>>24)&16711935|(Hd<<24|Hd>>>8)&4278255360;var zd=Od[jd];zd.high^=Hd,zd.low^=Ud}for(var Zd=0;Zd<24;Zd++){for(var Wd=0;Wd<5;Wd++){for(var Qd=0,Jd=0,hf=0;hf<5;hf++){var zd=Od[Wd+5*hf];Qd^=zd.high,Jd^=zd.low}var bf=Sd[Wd];bf.high=Qd,bf.low=Jd}for(var Wd=0;Wd<5;Wd++)for(var Ef=Sd[(Wd+4)%5],_f=Sd[(Wd+1)%5],vf=_f.high,xf=_f.low,Qd=Ef.high^(vf<<1|xf>>>31),Jd=Ef.low^(xf<<1|vf>>>31),hf=0;hf<5;hf++){var zd=Od[Wd+5*hf];zd.high^=Qd,zd.low^=Jd}for(var Bf=1;Bf<25;Bf++){var Qd,Jd,zd=Od[Bf],Yf=zd.high,eh=zd.low,Vf=fd[Bf];Vf<32?(Qd=Yf<>>32-Vf,Jd=eh<>>32-Vf):(Qd=eh<>>64-Vf,Jd=Yf<>>64-Vf);var Pf=Sd[Td[Bf]];Pf.high=Qd,Pf.low=Jd}var If=Sd[0],$f=Od[0];If.high=$f.high,If.low=$f.low;for(var Wd=0;Wd<5;Wd++)for(var hf=0;hf<5;hf++){var Bf=Wd+5*hf,zd=Od[Bf],Zf=Sd[Bf],Kf=Sd[(Wd+1)%5+5*hf],Tf=Sd[(Wd+2)%5+5*hf];zd.high=Zf.high^~Kf.high&Tf.high,zd.low=Zf.low^~Kf.low&Tf.low}var zd=Od[0],gf=Ad[Zd];zd.high^=gf.high,zd.low^=gf.low}},_doFinalize:function(){var Ld=this._data,Rd=Ld.words;this._nDataBytes*8;var Od=Ld.sigBytes*8,Md=this.blockSize*32;Rd[Od>>>5]|=1<<24-Od%32,Rd[(rd.ceil((Od+1)/Md)*Md>>>5)-1]|=128,Ld.sigBytes=Rd.length*4,this._process();for(var jd=this._state,Ud=this.cfg.outputLength/8,Hd=Ud/8,zd=[],Zd=0;Zd>>24)&16711935|(Qd<<24|Qd>>>8)&4278255360,Jd=(Jd<<8|Jd>>>24)&16711935|(Jd<<24|Jd>>>8)&4278255360,zd.push(Jd),zd.push(Qd)}return new sd.init(zd,Ud)},clone:function(){for(var Ld=ud.clone.call(this),Rd=Ld._state=this._state.slice(0),Od=0;Od<25;Od++)Rd[Od]=Rd[Od].clone();return Ld}});nd.SHA3=ud._createHelper(Dd),nd.HmacSHA3=ud._createHmacHelper(Dd)}(Math),td.SHA3})}(sha3)),sha3.exports}var ripemd160={exports:{}},hasRequiredRipemd160;function requireRipemd160(){return hasRequiredRipemd160||(hasRequiredRipemd160=1,function(Ra,qa){(function(td,rd){Ra.exports=rd(requireCore())})(commonjsGlobal,function(td){/** @preserve (c) 2012 by Cédric Mesnil. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -932,73 +932,73 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */return function(td){var rd=ed,sd=rd.lib,od=sd.WordArray,ld=sd.Hasher,ud=rd.algo,cd=od.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),dd=od.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),_d=od.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),Ed=od.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),Ad=od.create([0,1518500249,1859775393,2400959708,2840853838]),Td=od.create([1352829926,1548603684,1836072691,2053994217,0]),Id=ud.RIPEMD160=ld.extend({_doReset:function(){this._hash=od.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(jd,Vd){for(var Qd=0;Qd<16;Qd++){var qd=Vd+Qd,Kd=jd[qd];jd[qd]=(Kd<<8|Kd>>>24)&16711935|(Kd<<24|Kd>>>8)&4278255360}var Xd=this._hash.words,df=Ad.words,mf=Td.words,bf=cd.words,pf=dd.words,_f=_d.words,Tf=Ed.words,kf,zf,Jf,Gf,Mf,Nf,Bf,Qf,Wf,yf;Nf=kf=Xd[0],Bf=zf=Xd[1],Qf=Jf=Xd[2],Wf=Gf=Xd[3],yf=Mf=Xd[4];for(var hf,Qd=0;Qd<80;Qd+=1)hf=kf+jd[Vd+bf[Qd]]|0,Qd<16?hf+=Bd(zf,Jf,Gf)+df[0]:Qd<32?hf+=Rd(zf,Jf,Gf)+df[1]:Qd<48?hf+=Od(zf,Jf,Gf)+df[2]:Qd<64?hf+=Md(zf,Jf,Gf)+df[3]:hf+=Ld(zf,Jf,Gf)+df[4],hf=hf|0,hf=Fd(hf,_f[Qd]),hf=hf+Mf|0,kf=Mf,Mf=Gf,Gf=Fd(Jf,10),Jf=zf,zf=hf,hf=Nf+jd[Vd+pf[Qd]]|0,Qd<16?hf+=Ld(Bf,Qf,Wf)+mf[0]:Qd<32?hf+=Md(Bf,Qf,Wf)+mf[1]:Qd<48?hf+=Od(Bf,Qf,Wf)+mf[2]:Qd<64?hf+=Rd(Bf,Qf,Wf)+mf[3]:hf+=Bd(Bf,Qf,Wf)+mf[4],hf=hf|0,hf=Fd(hf,Tf[Qd]),hf=hf+yf|0,Nf=yf,yf=Wf,Wf=Fd(Qf,10),Qf=Bf,Bf=hf;hf=Xd[1]+Jf+Wf|0,Xd[1]=Xd[2]+Gf+yf|0,Xd[2]=Xd[3]+Mf+Nf|0,Xd[3]=Xd[4]+kf+Bf|0,Xd[4]=Xd[0]+zf+Qf|0,Xd[0]=hf},_doFinalize:function(){var jd=this._data,Vd=jd.words,Qd=this._nDataBytes*8,qd=jd.sigBytes*8;Vd[qd>>>5]|=128<<24-qd%32,Vd[(qd+64>>>9<<4)+14]=(Qd<<8|Qd>>>24)&16711935|(Qd<<24|Qd>>>8)&4278255360,jd.sigBytes=(Vd.length+1)*4,this._process();for(var Kd=this._hash,Xd=Kd.words,df=0;df<5;df++){var mf=Xd[df];Xd[df]=(mf<<8|mf>>>24)&16711935|(mf<<24|mf>>>8)&4278255360}return Kd},clone:function(){var jd=ld.clone.call(this);return jd._hash=this._hash.clone(),jd}});function Bd(jd,Vd,Qd){return jd^Vd^Qd}function Rd(jd,Vd,Qd){return jd&Vd|~jd&Qd}function Od(jd,Vd,Qd){return(jd|~Vd)^Qd}function Md(jd,Vd,Qd){return jd&Qd|Vd&~Qd}function Ld(jd,Vd,Qd){return jd^(Vd|~Qd)}function Fd(jd,Vd){return jd<>>32-Vd}rd.RIPEMD160=ld._createHelper(Id),rd.HmacRIPEMD160=ld._createHmacHelper(Id)}(),ed.RIPEMD160})}(ripemd160)),ripemd160.exports}var hmac={exports:{}},hasRequiredHmac;function requireHmac(){return hasRequiredHmac||(hasRequiredHmac=1,function(Ra,qa){(function(ed,td){Ra.exports=td(requireCore())})(commonjsGlobal,function(ed){(function(){var td=ed,rd=td.lib,sd=rd.Base,od=td.enc,ld=od.Utf8,ud=td.algo;ud.HMAC=sd.extend({init:function(cd,dd){cd=this._hasher=new cd.init,typeof dd=="string"&&(dd=ld.parse(dd));var _d=cd.blockSize,Ed=_d*4;dd.sigBytes>Ed&&(dd=cd.finalize(dd)),dd.clamp();for(var Ad=this._oKey=dd.clone(),Td=this._iKey=dd.clone(),Id=Ad.words,Bd=Td.words,Rd=0;Rd<_d;Rd++)Id[Rd]^=1549556828,Bd[Rd]^=909522486;Ad.sigBytes=Td.sigBytes=Ed,this.reset()},reset:function(){var cd=this._hasher;cd.reset(),cd.update(this._iKey)},update:function(cd){return this._hasher.update(cd),this},finalize:function(cd){var dd=this._hasher,_d=dd.finalize(cd);dd.reset();var Ed=dd.finalize(this._oKey.clone().concat(_d));return Ed}})})()})}(hmac)),hmac.exports}var pbkdf2={exports:{}},hasRequiredPbkdf2;function requirePbkdf2(){return hasRequiredPbkdf2||(hasRequiredPbkdf2=1,function(Ra,qa){(function(ed,td,rd){Ra.exports=td(requireCore(),requireSha256(),requireHmac())})(commonjsGlobal,function(ed){return function(){var td=ed,rd=td.lib,sd=rd.Base,od=rd.WordArray,ld=td.algo,ud=ld.SHA256,cd=ld.HMAC,dd=ld.PBKDF2=sd.extend({cfg:sd.extend({keySize:128/32,hasher:ud,iterations:25e4}),init:function(_d){this.cfg=this.cfg.extend(_d)},compute:function(_d,Ed){for(var Ad=this.cfg,Td=cd.create(Ad.hasher,_d),Id=od.create(),Bd=od.create([1]),Rd=Id.words,Od=Bd.words,Md=Ad.keySize,Ld=Ad.iterations;Rd.length>>2]&255;Kd.sigBytes-=Xd}};sd.BlockCipher=Ad.extend({cfg:Ad.cfg.extend({mode:Bd,padding:Od}),reset:function(){var Kd;Ad.reset.call(this);var Xd=this.cfg,df=Xd.iv,mf=Xd.mode;this._xformMode==this._ENC_XFORM_MODE?Kd=mf.createEncryptor:(Kd=mf.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==Kd?this._mode.init(this,df&&df.words):(this._mode=Kd.call(mf,this,df&&df.words),this._mode.__creator=Kd)},_doProcessBlock:function(Kd,Xd){this._mode.processBlock(Kd,Xd)},_doFinalize:function(){var Kd,Xd=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(Xd.pad(this._data,this.blockSize),Kd=this._process(!0)):(Kd=this._process(!0),Xd.unpad(Kd)),Kd},blockSize:128/32});var Md=sd.CipherParams=od.extend({init:function(Kd){this.mixIn(Kd)},toString:function(Kd){return(Kd||this.formatter).stringify(this)}}),Ld=rd.format={},Fd=Ld.OpenSSL={stringify:function(Kd){var Xd,df=Kd.ciphertext,mf=Kd.salt;return mf?Xd=ld.create([1398893684,1701076831]).concat(mf).concat(df):Xd=df,Xd.toString(dd)},parse:function(Kd){var Xd,df=dd.parse(Kd),mf=df.words;return mf[0]==1398893684&&mf[1]==1701076831&&(Xd=ld.create(mf.slice(2,4)),mf.splice(0,4),df.sigBytes-=16),Md.create({ciphertext:df,salt:Xd})}},jd=sd.SerializableCipher=od.extend({cfg:od.extend({format:Fd}),encrypt:function(Kd,Xd,df,mf){mf=this.cfg.extend(mf);var bf=Kd.createEncryptor(df,mf),pf=bf.finalize(Xd),_f=bf.cfg;return Md.create({ciphertext:pf,key:df,iv:_f.iv,algorithm:Kd,mode:_f.mode,padding:_f.padding,blockSize:Kd.blockSize,formatter:mf.format})},decrypt:function(Kd,Xd,df,mf){mf=this.cfg.extend(mf),Xd=this._parse(Xd,mf.format);var bf=Kd.createDecryptor(df,mf).finalize(Xd.ciphertext);return bf},_parse:function(Kd,Xd){return typeof Kd=="string"?Xd.parse(Kd,this):Kd}}),Vd=rd.kdf={},Qd=Vd.OpenSSL={execute:function(Kd,Xd,df,mf,bf){if(mf||(mf=ld.random(64/8)),bf)var pf=Ed.create({keySize:Xd+df,hasher:bf}).compute(Kd,mf);else var pf=Ed.create({keySize:Xd+df}).compute(Kd,mf);var _f=ld.create(pf.words.slice(Xd),df*4);return pf.sigBytes=Xd*4,Md.create({key:pf,iv:_f,salt:mf})}},qd=sd.PasswordBasedCipher=jd.extend({cfg:jd.cfg.extend({kdf:Qd}),encrypt:function(Kd,Xd,df,mf){mf=this.cfg.extend(mf);var bf=mf.kdf.execute(df,Kd.keySize,Kd.ivSize,mf.salt,mf.hasher);mf.iv=bf.iv;var pf=jd.encrypt.call(this,Kd,Xd,bf.key,mf);return pf.mixIn(bf),pf},decrypt:function(Kd,Xd,df,mf){mf=this.cfg.extend(mf),Xd=this._parse(Xd,mf.format);var bf=mf.kdf.execute(df,Kd.keySize,Kd.ivSize,Xd.salt,mf.hasher);mf.iv=bf.iv;var pf=jd.decrypt.call(this,Kd,Xd,bf.key,mf);return pf}})}()})}(cipherCore)),cipherCore.exports}var modeCfb={exports:{}},hasRequiredModeCfb;function requireModeCfb(){return hasRequiredModeCfb||(hasRequiredModeCfb=1,function(Ra,qa){(function(ed,td,rd){Ra.exports=td(requireCore(),requireCipherCore())})(commonjsGlobal,function(ed){return ed.mode.CFB=function(){var td=ed.lib.BlockCipherMode.extend();td.Encryptor=td.extend({processBlock:function(sd,od){var ld=this._cipher,ud=ld.blockSize;rd.call(this,sd,od,ud,ld),this._prevBlock=sd.slice(od,od+ud)}}),td.Decryptor=td.extend({processBlock:function(sd,od){var ld=this._cipher,ud=ld.blockSize,cd=sd.slice(od,od+ud);rd.call(this,sd,od,ud,ld),this._prevBlock=cd}});function rd(sd,od,ld,ud){var cd,dd=this._iv;dd?(cd=dd.slice(0),this._iv=void 0):cd=this._prevBlock,ud.encryptBlock(cd,0);for(var _d=0;_d>>24)&16711935|(Qd<<24|Qd>>>8)&4278255360}var Jd=this._hash.words,hf=Ad.words,bf=Sd.words,Ef=dd.words,_f=pd.words,vf=fd.words,xf=Td.words,Bf,Yf,eh,Vf,Pf,If,$f,Zf,Kf,Tf;If=Bf=Jd[0],$f=Yf=Jd[1],Zf=eh=Jd[2],Kf=Vf=Jd[3],Tf=Pf=Jd[4];for(var gf,Zd=0;Zd<80;Zd+=1)gf=Bf+Hd[zd+Ef[Zd]]|0,Zd<16?gf+=Ld(Yf,eh,Vf)+hf[0]:Zd<32?gf+=Rd(Yf,eh,Vf)+hf[1]:Zd<48?gf+=Od(Yf,eh,Vf)+hf[2]:Zd<64?gf+=Md(Yf,eh,Vf)+hf[3]:gf+=jd(Yf,eh,Vf)+hf[4],gf=gf|0,gf=Ud(gf,vf[Zd]),gf=gf+Pf|0,Bf=Pf,Pf=Vf,Vf=Ud(eh,10),eh=Yf,Yf=gf,gf=If+Hd[zd+_f[Zd]]|0,Zd<16?gf+=jd($f,Zf,Kf)+bf[0]:Zd<32?gf+=Md($f,Zf,Kf)+bf[1]:Zd<48?gf+=Od($f,Zf,Kf)+bf[2]:Zd<64?gf+=Rd($f,Zf,Kf)+bf[3]:gf+=Ld($f,Zf,Kf)+bf[4],gf=gf|0,gf=Ud(gf,xf[Zd]),gf=gf+Tf|0,If=Tf,Tf=Kf,Kf=Ud(Zf,10),Zf=$f,$f=gf;gf=Jd[1]+eh+Kf|0,Jd[1]=Jd[2]+Vf+Tf|0,Jd[2]=Jd[3]+Pf+If|0,Jd[3]=Jd[4]+Bf+$f|0,Jd[4]=Jd[0]+Yf+Zf|0,Jd[0]=gf},_doFinalize:function(){var Hd=this._data,zd=Hd.words,Zd=this._nDataBytes*8,Wd=Hd.sigBytes*8;zd[Wd>>>5]|=128<<24-Wd%32,zd[(Wd+64>>>9<<4)+14]=(Zd<<8|Zd>>>24)&16711935|(Zd<<24|Zd>>>8)&4278255360,Hd.sigBytes=(zd.length+1)*4,this._process();for(var Qd=this._hash,Jd=Qd.words,hf=0;hf<5;hf++){var bf=Jd[hf];Jd[hf]=(bf<<8|bf>>>24)&16711935|(bf<<24|bf>>>8)&4278255360}return Qd},clone:function(){var Hd=ud.clone.call(this);return Hd._hash=this._hash.clone(),Hd}});function Ld(Hd,zd,Zd){return Hd^zd^Zd}function Rd(Hd,zd,Zd){return Hd&zd|~Hd&Zd}function Od(Hd,zd,Zd){return(Hd|~zd)^Zd}function Md(Hd,zd,Zd){return Hd&Zd|zd&~Zd}function jd(Hd,zd,Zd){return Hd^(zd|~Zd)}function Ud(Hd,zd){return Hd<>>32-zd}nd.RIPEMD160=ud._createHelper(Dd),nd.HmacRIPEMD160=ud._createHmacHelper(Dd)}(),td.RIPEMD160})}(ripemd160)),ripemd160.exports}var hmac={exports:{}},hasRequiredHmac;function requireHmac(){return hasRequiredHmac||(hasRequiredHmac=1,function(Ra,qa){(function(td,rd){Ra.exports=rd(requireCore())})(commonjsGlobal,function(td){(function(){var rd=td,nd=rd.lib,ad=nd.Base,sd=rd.enc,ud=sd.Utf8,cd=rd.algo;cd.HMAC=ad.extend({init:function(dd,pd){dd=this._hasher=new dd.init,typeof pd=="string"&&(pd=ud.parse(pd));var fd=dd.blockSize,Td=fd*4;pd.sigBytes>Td&&(pd=dd.finalize(pd)),pd.clamp();for(var Ad=this._oKey=pd.clone(),Sd=this._iKey=pd.clone(),Dd=Ad.words,Ld=Sd.words,Rd=0;Rd>>2]&255;Qd.sigBytes-=Jd}};ad.BlockCipher=Ad.extend({cfg:Ad.cfg.extend({mode:Ld,padding:Od}),reset:function(){var Qd;Ad.reset.call(this);var Jd=this.cfg,hf=Jd.iv,bf=Jd.mode;this._xformMode==this._ENC_XFORM_MODE?Qd=bf.createEncryptor:(Qd=bf.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==Qd?this._mode.init(this,hf&&hf.words):(this._mode=Qd.call(bf,this,hf&&hf.words),this._mode.__creator=Qd)},_doProcessBlock:function(Qd,Jd){this._mode.processBlock(Qd,Jd)},_doFinalize:function(){var Qd,Jd=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(Jd.pad(this._data,this.blockSize),Qd=this._process(!0)):(Qd=this._process(!0),Jd.unpad(Qd)),Qd},blockSize:128/32});var Md=ad.CipherParams=sd.extend({init:function(Qd){this.mixIn(Qd)},toString:function(Qd){return(Qd||this.formatter).stringify(this)}}),jd=nd.format={},Ud=jd.OpenSSL={stringify:function(Qd){var Jd,hf=Qd.ciphertext,bf=Qd.salt;return bf?Jd=ud.create([1398893684,1701076831]).concat(bf).concat(hf):Jd=hf,Jd.toString(pd)},parse:function(Qd){var Jd,hf=pd.parse(Qd),bf=hf.words;return bf[0]==1398893684&&bf[1]==1701076831&&(Jd=ud.create(bf.slice(2,4)),bf.splice(0,4),hf.sigBytes-=16),Md.create({ciphertext:hf,salt:Jd})}},Hd=ad.SerializableCipher=sd.extend({cfg:sd.extend({format:Ud}),encrypt:function(Qd,Jd,hf,bf){bf=this.cfg.extend(bf);var Ef=Qd.createEncryptor(hf,bf),_f=Ef.finalize(Jd),vf=Ef.cfg;return Md.create({ciphertext:_f,key:hf,iv:vf.iv,algorithm:Qd,mode:vf.mode,padding:vf.padding,blockSize:Qd.blockSize,formatter:bf.format})},decrypt:function(Qd,Jd,hf,bf){bf=this.cfg.extend(bf),Jd=this._parse(Jd,bf.format);var Ef=Qd.createDecryptor(hf,bf).finalize(Jd.ciphertext);return Ef},_parse:function(Qd,Jd){return typeof Qd=="string"?Jd.parse(Qd,this):Qd}}),zd=nd.kdf={},Zd=zd.OpenSSL={execute:function(Qd,Jd,hf,bf,Ef){if(bf||(bf=ud.random(64/8)),Ef)var _f=Td.create({keySize:Jd+hf,hasher:Ef}).compute(Qd,bf);else var _f=Td.create({keySize:Jd+hf}).compute(Qd,bf);var vf=ud.create(_f.words.slice(Jd),hf*4);return _f.sigBytes=Jd*4,Md.create({key:_f,iv:vf,salt:bf})}},Wd=ad.PasswordBasedCipher=Hd.extend({cfg:Hd.cfg.extend({kdf:Zd}),encrypt:function(Qd,Jd,hf,bf){bf=this.cfg.extend(bf);var Ef=bf.kdf.execute(hf,Qd.keySize,Qd.ivSize,bf.salt,bf.hasher);bf.iv=Ef.iv;var _f=Hd.encrypt.call(this,Qd,Jd,Ef.key,bf);return _f.mixIn(Ef),_f},decrypt:function(Qd,Jd,hf,bf){bf=this.cfg.extend(bf),Jd=this._parse(Jd,bf.format);var Ef=bf.kdf.execute(hf,Qd.keySize,Qd.ivSize,Jd.salt,bf.hasher);bf.iv=Ef.iv;var _f=Hd.decrypt.call(this,Qd,Jd,Ef.key,bf);return _f}})}()})}(cipherCore)),cipherCore.exports}var modeCfb={exports:{}},hasRequiredModeCfb;function requireModeCfb(){return hasRequiredModeCfb||(hasRequiredModeCfb=1,function(Ra,qa){(function(td,rd,nd){Ra.exports=rd(requireCore(),requireCipherCore())})(commonjsGlobal,function(td){return td.mode.CFB=function(){var rd=td.lib.BlockCipherMode.extend();rd.Encryptor=rd.extend({processBlock:function(ad,sd){var ud=this._cipher,cd=ud.blockSize;nd.call(this,ad,sd,cd,ud),this._prevBlock=ad.slice(sd,sd+cd)}}),rd.Decryptor=rd.extend({processBlock:function(ad,sd){var ud=this._cipher,cd=ud.blockSize,dd=ad.slice(sd,sd+cd);nd.call(this,ad,sd,cd,ud),this._prevBlock=dd}});function nd(ad,sd,ud,cd){var dd,pd=this._iv;pd?(dd=pd.slice(0),this._iv=void 0):dd=this._prevBlock,cd.encryptBlock(dd,0);for(var fd=0;fd>24&255)===255){var ud=ld>>16&255,cd=ld>>8&255,dd=ld&255;ud===255?(ud=0,cd===255?(cd=0,dd===255?dd=0:++dd):++cd):++ud,ld=0,ld+=ud<<16,ld+=cd<<8,ld+=dd}else ld+=1<<24;return ld}function sd(ld){return(ld[0]=rd(ld[0]))===0&&(ld[1]=rd(ld[1])),ld}var od=td.Encryptor=td.extend({processBlock:function(ld,ud){var cd=this._cipher,dd=cd.blockSize,_d=this._iv,Ed=this._counter;_d&&(Ed=this._counter=_d.slice(0),this._iv=void 0),sd(Ed);var Ad=Ed.slice(0);cd.encryptBlock(Ad,0);for(var Td=0;Td>>2]|=ld<<24-ud%4*8,td.sigBytes+=ld},unpad:function(td){var rd=td.words[td.sigBytes-1>>>2]&255;td.sigBytes-=rd}},ed.pad.Ansix923})}(padAnsix923)),padAnsix923.exports}var padIso10126={exports:{}},hasRequiredPadIso10126;function requirePadIso10126(){return hasRequiredPadIso10126||(hasRequiredPadIso10126=1,function(Ra,qa){(function(ed,td,rd){Ra.exports=td(requireCore(),requireCipherCore())})(commonjsGlobal,function(ed){return ed.pad.Iso10126={pad:function(td,rd){var sd=rd*4,od=sd-td.sigBytes%sd;td.concat(ed.lib.WordArray.random(od-1)).concat(ed.lib.WordArray.create([od<<24],1))},unpad:function(td){var rd=td.words[td.sigBytes-1>>>2]&255;td.sigBytes-=rd}},ed.pad.Iso10126})}(padIso10126)),padIso10126.exports}var padIso97971={exports:{}},hasRequiredPadIso97971;function requirePadIso97971(){return hasRequiredPadIso97971||(hasRequiredPadIso97971=1,function(Ra,qa){(function(ed,td,rd){Ra.exports=td(requireCore(),requireCipherCore())})(commonjsGlobal,function(ed){return ed.pad.Iso97971={pad:function(td,rd){td.concat(ed.lib.WordArray.create([2147483648],1)),ed.pad.ZeroPadding.pad(td,rd)},unpad:function(td){ed.pad.ZeroPadding.unpad(td),td.sigBytes--}},ed.pad.Iso97971})}(padIso97971)),padIso97971.exports}var padZeropadding={exports:{}},hasRequiredPadZeropadding;function requirePadZeropadding(){return hasRequiredPadZeropadding||(hasRequiredPadZeropadding=1,function(Ra,qa){(function(ed,td,rd){Ra.exports=td(requireCore(),requireCipherCore())})(commonjsGlobal,function(ed){return ed.pad.ZeroPadding={pad:function(td,rd){var sd=rd*4;td.clamp(),td.sigBytes+=sd-(td.sigBytes%sd||sd)},unpad:function(td){for(var rd=td.words,sd=td.sigBytes-1,sd=td.sigBytes-1;sd>=0;sd--)if(rd[sd>>>2]>>>24-sd%4*8&255){td.sigBytes=sd+1;break}}},ed.pad.ZeroPadding})}(padZeropadding)),padZeropadding.exports}var padNopadding={exports:{}},hasRequiredPadNopadding;function requirePadNopadding(){return hasRequiredPadNopadding||(hasRequiredPadNopadding=1,function(Ra,qa){(function(ed,td,rd){Ra.exports=td(requireCore(),requireCipherCore())})(commonjsGlobal,function(ed){return ed.pad.NoPadding={pad:function(){},unpad:function(){}},ed.pad.NoPadding})}(padNopadding)),padNopadding.exports}var formatHex={exports:{}},hasRequiredFormatHex;function requireFormatHex(){return hasRequiredFormatHex||(hasRequiredFormatHex=1,function(Ra,qa){(function(ed,td,rd){Ra.exports=td(requireCore(),requireCipherCore())})(commonjsGlobal,function(ed){return function(td){var rd=ed,sd=rd.lib,od=sd.CipherParams,ld=rd.enc,ud=ld.Hex,cd=rd.format;cd.Hex={stringify:function(dd){return dd.ciphertext.toString(ud)},parse:function(dd){var _d=ud.parse(dd);return od.create({ciphertext:_d})}}}(),ed.format.Hex})}(formatHex)),formatHex.exports}var aes={exports:{}},hasRequiredAes;function requireAes(){return hasRequiredAes||(hasRequiredAes=1,function(Ra,qa){(function(ed,td,rd){Ra.exports=td(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(ed){return function(){var td=ed,rd=td.lib,sd=rd.BlockCipher,od=td.algo,ld=[],ud=[],cd=[],dd=[],_d=[],Ed=[],Ad=[],Td=[],Id=[],Bd=[];(function(){for(var Md=[],Ld=0;Ld<256;Ld++)Ld<128?Md[Ld]=Ld<<1:Md[Ld]=Ld<<1^283;for(var Fd=0,jd=0,Ld=0;Ld<256;Ld++){var Vd=jd^jd<<1^jd<<2^jd<<3^jd<<4;Vd=Vd>>>8^Vd&255^99,ld[Fd]=Vd,ud[Vd]=Fd;var Qd=Md[Fd],qd=Md[Qd],Kd=Md[qd],Xd=Md[Vd]*257^Vd*16843008;cd[Fd]=Xd<<24|Xd>>>8,dd[Fd]=Xd<<16|Xd>>>16,_d[Fd]=Xd<<8|Xd>>>24,Ed[Fd]=Xd;var Xd=Kd*16843009^qd*65537^Qd*257^Fd*16843008;Ad[Vd]=Xd<<24|Xd>>>8,Td[Vd]=Xd<<16|Xd>>>16,Id[Vd]=Xd<<8|Xd>>>24,Bd[Vd]=Xd,Fd?(Fd=Qd^Md[Md[Md[Kd^Qd]]],jd^=Md[Md[jd]]):Fd=jd=1}})();var Rd=[0,1,2,4,8,16,32,64,128,27,54],Od=od.AES=sd.extend({_doReset:function(){var Md;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var Ld=this._keyPriorReset=this._key,Fd=Ld.words,jd=Ld.sigBytes/4,Vd=this._nRounds=jd+6,Qd=(Vd+1)*4,qd=this._keySchedule=[],Kd=0;Kd6&&Kd%jd==4&&(Md=ld[Md>>>24]<<24|ld[Md>>>16&255]<<16|ld[Md>>>8&255]<<8|ld[Md&255]):(Md=Md<<8|Md>>>24,Md=ld[Md>>>24]<<24|ld[Md>>>16&255]<<16|ld[Md>>>8&255]<<8|ld[Md&255],Md^=Rd[Kd/jd|0]<<24),qd[Kd]=qd[Kd-jd]^Md);for(var Xd=this._invKeySchedule=[],df=0;df>>24]]^Td[ld[Md>>>16&255]]^Id[ld[Md>>>8&255]]^Bd[ld[Md&255]]}}},encryptBlock:function(Md,Ld){this._doCryptBlock(Md,Ld,this._keySchedule,cd,dd,_d,Ed,ld)},decryptBlock:function(Md,Ld){var Fd=Md[Ld+1];Md[Ld+1]=Md[Ld+3],Md[Ld+3]=Fd,this._doCryptBlock(Md,Ld,this._invKeySchedule,Ad,Td,Id,Bd,ud);var Fd=Md[Ld+1];Md[Ld+1]=Md[Ld+3],Md[Ld+3]=Fd},_doCryptBlock:function(Md,Ld,Fd,jd,Vd,Qd,qd,Kd){for(var Xd=this._nRounds,df=Md[Ld]^Fd[0],mf=Md[Ld+1]^Fd[1],bf=Md[Ld+2]^Fd[2],pf=Md[Ld+3]^Fd[3],_f=4,Tf=1;Tf>>24]^Vd[mf>>>16&255]^Qd[bf>>>8&255]^qd[pf&255]^Fd[_f++],zf=jd[mf>>>24]^Vd[bf>>>16&255]^Qd[pf>>>8&255]^qd[df&255]^Fd[_f++],Jf=jd[bf>>>24]^Vd[pf>>>16&255]^Qd[df>>>8&255]^qd[mf&255]^Fd[_f++],Gf=jd[pf>>>24]^Vd[df>>>16&255]^Qd[mf>>>8&255]^qd[bf&255]^Fd[_f++];df=kf,mf=zf,bf=Jf,pf=Gf}var kf=(Kd[df>>>24]<<24|Kd[mf>>>16&255]<<16|Kd[bf>>>8&255]<<8|Kd[pf&255])^Fd[_f++],zf=(Kd[mf>>>24]<<24|Kd[bf>>>16&255]<<16|Kd[pf>>>8&255]<<8|Kd[df&255])^Fd[_f++],Jf=(Kd[bf>>>24]<<24|Kd[pf>>>16&255]<<16|Kd[df>>>8&255]<<8|Kd[mf&255])^Fd[_f++],Gf=(Kd[pf>>>24]<<24|Kd[df>>>16&255]<<16|Kd[mf>>>8&255]<<8|Kd[bf&255])^Fd[_f++];Md[Ld]=kf,Md[Ld+1]=zf,Md[Ld+2]=Jf,Md[Ld+3]=Gf},keySize:256/32});td.AES=sd._createHelper(Od)}(),ed.AES})}(aes)),aes.exports}var tripledes={exports:{}},hasRequiredTripledes;function requireTripledes(){return hasRequiredTripledes||(hasRequiredTripledes=1,function(Ra,qa){(function(ed,td,rd){Ra.exports=td(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(ed){return function(){var td=ed,rd=td.lib,sd=rd.WordArray,od=rd.BlockCipher,ld=td.algo,ud=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],cd=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],dd=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],_d=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],Ed=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],Ad=ld.DES=od.extend({_doReset:function(){for(var Rd=this._key,Od=Rd.words,Md=[],Ld=0;Ld<56;Ld++){var Fd=ud[Ld]-1;Md[Ld]=Od[Fd>>>5]>>>31-Fd%32&1}for(var jd=this._subKeys=[],Vd=0;Vd<16;Vd++){for(var Qd=jd[Vd]=[],qd=dd[Vd],Ld=0;Ld<24;Ld++)Qd[Ld/6|0]|=Md[(cd[Ld]-1+qd)%28]<<31-Ld%6,Qd[4+(Ld/6|0)]|=Md[28+(cd[Ld+24]-1+qd)%28]<<31-Ld%6;Qd[0]=Qd[0]<<1|Qd[0]>>>31;for(var Ld=1;Ld<7;Ld++)Qd[Ld]=Qd[Ld]>>>(Ld-1)*4+3;Qd[7]=Qd[7]<<5|Qd[7]>>>27}for(var Kd=this._invSubKeys=[],Ld=0;Ld<16;Ld++)Kd[Ld]=jd[15-Ld]},encryptBlock:function(Rd,Od){this._doCryptBlock(Rd,Od,this._subKeys)},decryptBlock:function(Rd,Od){this._doCryptBlock(Rd,Od,this._invSubKeys)},_doCryptBlock:function(Rd,Od,Md){this._lBlock=Rd[Od],this._rBlock=Rd[Od+1],Td.call(this,4,252645135),Td.call(this,16,65535),Id.call(this,2,858993459),Id.call(this,8,16711935),Td.call(this,1,1431655765);for(var Ld=0;Ld<16;Ld++){for(var Fd=Md[Ld],jd=this._lBlock,Vd=this._rBlock,Qd=0,qd=0;qd<8;qd++)Qd|=_d[qd][((Vd^Fd[qd])&Ed[qd])>>>0];this._lBlock=Vd,this._rBlock=jd^Qd}var Kd=this._lBlock;this._lBlock=this._rBlock,this._rBlock=Kd,Td.call(this,1,1431655765),Id.call(this,8,16711935),Id.call(this,2,858993459),Td.call(this,16,65535),Td.call(this,4,252645135),Rd[Od]=this._lBlock,Rd[Od+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function Td(Rd,Od){var Md=(this._lBlock>>>Rd^this._rBlock)&Od;this._rBlock^=Md,this._lBlock^=Md<>>Rd^this._lBlock)&Od;this._lBlock^=Md,this._rBlock^=Md<192.");var Md=Od.slice(0,2),Ld=Od.length<4?Od.slice(0,2):Od.slice(2,4),Fd=Od.length<6?Od.slice(0,2):Od.slice(4,6);this._des1=Ad.createEncryptor(sd.create(Md)),this._des2=Ad.createEncryptor(sd.create(Ld)),this._des3=Ad.createEncryptor(sd.create(Fd))},encryptBlock:function(Rd,Od){this._des1.encryptBlock(Rd,Od),this._des2.decryptBlock(Rd,Od),this._des3.encryptBlock(Rd,Od)},decryptBlock:function(Rd,Od){this._des3.decryptBlock(Rd,Od),this._des2.encryptBlock(Rd,Od),this._des1.decryptBlock(Rd,Od)},keySize:192/32,ivSize:64/32,blockSize:64/32});td.TripleDES=od._createHelper(Bd)}(),ed.TripleDES})}(tripledes)),tripledes.exports}var rc4={exports:{}},hasRequiredRc4;function requireRc4(){return hasRequiredRc4||(hasRequiredRc4=1,function(Ra,qa){(function(ed,td,rd){Ra.exports=td(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(ed){return function(){var td=ed,rd=td.lib,sd=rd.StreamCipher,od=td.algo,ld=od.RC4=sd.extend({_doReset:function(){for(var dd=this._key,_d=dd.words,Ed=dd.sigBytes,Ad=this._S=[],Td=0;Td<256;Td++)Ad[Td]=Td;for(var Td=0,Id=0;Td<256;Td++){var Bd=Td%Ed,Rd=_d[Bd>>>2]>>>24-Bd%4*8&255;Id=(Id+Ad[Td]+Rd)%256;var Od=Ad[Td];Ad[Td]=Ad[Id],Ad[Id]=Od}this._i=this._j=0},_doProcessBlock:function(dd,_d){dd[_d]^=ud.call(this)},keySize:256/32,ivSize:0});function ud(){for(var dd=this._S,_d=this._i,Ed=this._j,Ad=0,Td=0;Td<4;Td++){_d=(_d+1)%256,Ed=(Ed+dd[_d])%256;var Id=dd[_d];dd[_d]=dd[Ed],dd[Ed]=Id,Ad|=dd[(dd[_d]+dd[Ed])%256]<<24-Td*8}return this._i=_d,this._j=Ed,Ad}td.RC4=sd._createHelper(ld);var cd=od.RC4Drop=ld.extend({cfg:ld.cfg.extend({drop:192}),_doReset:function(){ld._doReset.call(this);for(var dd=this.cfg.drop;dd>0;dd--)ud.call(this)}});td.RC4Drop=sd._createHelper(cd)}(),ed.RC4})}(rc4)),rc4.exports}var rabbit={exports:{}},hasRequiredRabbit;function requireRabbit(){return hasRequiredRabbit||(hasRequiredRabbit=1,function(Ra,qa){(function(ed,td,rd){Ra.exports=td(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(ed){return function(){var td=ed,rd=td.lib,sd=rd.StreamCipher,od=td.algo,ld=[],ud=[],cd=[],dd=od.Rabbit=sd.extend({_doReset:function(){for(var Ed=this._key.words,Ad=this.cfg.iv,Td=0;Td<4;Td++)Ed[Td]=(Ed[Td]<<8|Ed[Td]>>>24)&16711935|(Ed[Td]<<24|Ed[Td]>>>8)&4278255360;var Id=this._X=[Ed[0],Ed[3]<<16|Ed[2]>>>16,Ed[1],Ed[0]<<16|Ed[3]>>>16,Ed[2],Ed[1]<<16|Ed[0]>>>16,Ed[3],Ed[2]<<16|Ed[1]>>>16],Bd=this._C=[Ed[2]<<16|Ed[2]>>>16,Ed[0]&4294901760|Ed[1]&65535,Ed[3]<<16|Ed[3]>>>16,Ed[1]&4294901760|Ed[2]&65535,Ed[0]<<16|Ed[0]>>>16,Ed[2]&4294901760|Ed[3]&65535,Ed[1]<<16|Ed[1]>>>16,Ed[3]&4294901760|Ed[0]&65535];this._b=0;for(var Td=0;Td<4;Td++)_d.call(this);for(var Td=0;Td<8;Td++)Bd[Td]^=Id[Td+4&7];if(Ad){var Rd=Ad.words,Od=Rd[0],Md=Rd[1],Ld=(Od<<8|Od>>>24)&16711935|(Od<<24|Od>>>8)&4278255360,Fd=(Md<<8|Md>>>24)&16711935|(Md<<24|Md>>>8)&4278255360,jd=Ld>>>16|Fd&4294901760,Vd=Fd<<16|Ld&65535;Bd[0]^=Ld,Bd[1]^=jd,Bd[2]^=Fd,Bd[3]^=Vd,Bd[4]^=Ld,Bd[5]^=jd,Bd[6]^=Fd,Bd[7]^=Vd;for(var Td=0;Td<4;Td++)_d.call(this)}},_doProcessBlock:function(Ed,Ad){var Td=this._X;_d.call(this),ld[0]=Td[0]^Td[5]>>>16^Td[3]<<16,ld[1]=Td[2]^Td[7]>>>16^Td[5]<<16,ld[2]=Td[4]^Td[1]>>>16^Td[7]<<16,ld[3]=Td[6]^Td[3]>>>16^Td[1]<<16;for(var Id=0;Id<4;Id++)ld[Id]=(ld[Id]<<8|ld[Id]>>>24)&16711935|(ld[Id]<<24|ld[Id]>>>8)&4278255360,Ed[Ad+Id]^=ld[Id]},blockSize:128/32,ivSize:64/32});function _d(){for(var Ed=this._X,Ad=this._C,Td=0;Td<8;Td++)ud[Td]=Ad[Td];Ad[0]=Ad[0]+1295307597+this._b|0,Ad[1]=Ad[1]+3545052371+(Ad[0]>>>0>>0?1:0)|0,Ad[2]=Ad[2]+886263092+(Ad[1]>>>0>>0?1:0)|0,Ad[3]=Ad[3]+1295307597+(Ad[2]>>>0>>0?1:0)|0,Ad[4]=Ad[4]+3545052371+(Ad[3]>>>0>>0?1:0)|0,Ad[5]=Ad[5]+886263092+(Ad[4]>>>0>>0?1:0)|0,Ad[6]=Ad[6]+1295307597+(Ad[5]>>>0>>0?1:0)|0,Ad[7]=Ad[7]+3545052371+(Ad[6]>>>0>>0?1:0)|0,this._b=Ad[7]>>>0>>0?1:0;for(var Td=0;Td<8;Td++){var Id=Ed[Td]+Ad[Td],Bd=Id&65535,Rd=Id>>>16,Od=((Bd*Bd>>>17)+Bd*Rd>>>15)+Rd*Rd,Md=((Id&4294901760)*Id|0)+((Id&65535)*Id|0);cd[Td]=Od^Md}Ed[0]=cd[0]+(cd[7]<<16|cd[7]>>>16)+(cd[6]<<16|cd[6]>>>16)|0,Ed[1]=cd[1]+(cd[0]<<8|cd[0]>>>24)+cd[7]|0,Ed[2]=cd[2]+(cd[1]<<16|cd[1]>>>16)+(cd[0]<<16|cd[0]>>>16)|0,Ed[3]=cd[3]+(cd[2]<<8|cd[2]>>>24)+cd[1]|0,Ed[4]=cd[4]+(cd[3]<<16|cd[3]>>>16)+(cd[2]<<16|cd[2]>>>16)|0,Ed[5]=cd[5]+(cd[4]<<8|cd[4]>>>24)+cd[3]|0,Ed[6]=cd[6]+(cd[5]<<16|cd[5]>>>16)+(cd[4]<<16|cd[4]>>>16)|0,Ed[7]=cd[7]+(cd[6]<<8|cd[6]>>>24)+cd[5]|0}td.Rabbit=sd._createHelper(dd)}(),ed.Rabbit})}(rabbit)),rabbit.exports}var rabbitLegacy={exports:{}},hasRequiredRabbitLegacy;function requireRabbitLegacy(){return hasRequiredRabbitLegacy||(hasRequiredRabbitLegacy=1,function(Ra,qa){(function(ed,td,rd){Ra.exports=td(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(ed){return function(){var td=ed,rd=td.lib,sd=rd.StreamCipher,od=td.algo,ld=[],ud=[],cd=[],dd=od.RabbitLegacy=sd.extend({_doReset:function(){var Ed=this._key.words,Ad=this.cfg.iv,Td=this._X=[Ed[0],Ed[3]<<16|Ed[2]>>>16,Ed[1],Ed[0]<<16|Ed[3]>>>16,Ed[2],Ed[1]<<16|Ed[0]>>>16,Ed[3],Ed[2]<<16|Ed[1]>>>16],Id=this._C=[Ed[2]<<16|Ed[2]>>>16,Ed[0]&4294901760|Ed[1]&65535,Ed[3]<<16|Ed[3]>>>16,Ed[1]&4294901760|Ed[2]&65535,Ed[0]<<16|Ed[0]>>>16,Ed[2]&4294901760|Ed[3]&65535,Ed[1]<<16|Ed[1]>>>16,Ed[3]&4294901760|Ed[0]&65535];this._b=0;for(var Bd=0;Bd<4;Bd++)_d.call(this);for(var Bd=0;Bd<8;Bd++)Id[Bd]^=Td[Bd+4&7];if(Ad){var Rd=Ad.words,Od=Rd[0],Md=Rd[1],Ld=(Od<<8|Od>>>24)&16711935|(Od<<24|Od>>>8)&4278255360,Fd=(Md<<8|Md>>>24)&16711935|(Md<<24|Md>>>8)&4278255360,jd=Ld>>>16|Fd&4294901760,Vd=Fd<<16|Ld&65535;Id[0]^=Ld,Id[1]^=jd,Id[2]^=Fd,Id[3]^=Vd,Id[4]^=Ld,Id[5]^=jd,Id[6]^=Fd,Id[7]^=Vd;for(var Bd=0;Bd<4;Bd++)_d.call(this)}},_doProcessBlock:function(Ed,Ad){var Td=this._X;_d.call(this),ld[0]=Td[0]^Td[5]>>>16^Td[3]<<16,ld[1]=Td[2]^Td[7]>>>16^Td[5]<<16,ld[2]=Td[4]^Td[1]>>>16^Td[7]<<16,ld[3]=Td[6]^Td[3]>>>16^Td[1]<<16;for(var Id=0;Id<4;Id++)ld[Id]=(ld[Id]<<8|ld[Id]>>>24)&16711935|(ld[Id]<<24|ld[Id]>>>8)&4278255360,Ed[Ad+Id]^=ld[Id]},blockSize:128/32,ivSize:64/32});function _d(){for(var Ed=this._X,Ad=this._C,Td=0;Td<8;Td++)ud[Td]=Ad[Td];Ad[0]=Ad[0]+1295307597+this._b|0,Ad[1]=Ad[1]+3545052371+(Ad[0]>>>0>>0?1:0)|0,Ad[2]=Ad[2]+886263092+(Ad[1]>>>0>>0?1:0)|0,Ad[3]=Ad[3]+1295307597+(Ad[2]>>>0>>0?1:0)|0,Ad[4]=Ad[4]+3545052371+(Ad[3]>>>0>>0?1:0)|0,Ad[5]=Ad[5]+886263092+(Ad[4]>>>0>>0?1:0)|0,Ad[6]=Ad[6]+1295307597+(Ad[5]>>>0>>0?1:0)|0,Ad[7]=Ad[7]+3545052371+(Ad[6]>>>0>>0?1:0)|0,this._b=Ad[7]>>>0>>0?1:0;for(var Td=0;Td<8;Td++){var Id=Ed[Td]+Ad[Td],Bd=Id&65535,Rd=Id>>>16,Od=((Bd*Bd>>>17)+Bd*Rd>>>15)+Rd*Rd,Md=((Id&4294901760)*Id|0)+((Id&65535)*Id|0);cd[Td]=Od^Md}Ed[0]=cd[0]+(cd[7]<<16|cd[7]>>>16)+(cd[6]<<16|cd[6]>>>16)|0,Ed[1]=cd[1]+(cd[0]<<8|cd[0]>>>24)+cd[7]|0,Ed[2]=cd[2]+(cd[1]<<16|cd[1]>>>16)+(cd[0]<<16|cd[0]>>>16)|0,Ed[3]=cd[3]+(cd[2]<<8|cd[2]>>>24)+cd[1]|0,Ed[4]=cd[4]+(cd[3]<<16|cd[3]>>>16)+(cd[2]<<16|cd[2]>>>16)|0,Ed[5]=cd[5]+(cd[4]<<8|cd[4]>>>24)+cd[3]|0,Ed[6]=cd[6]+(cd[5]<<16|cd[5]>>>16)+(cd[4]<<16|cd[4]>>>16)|0,Ed[7]=cd[7]+(cd[6]<<8|cd[6]>>>24)+cd[5]|0}td.RabbitLegacy=sd._createHelper(dd)}(),ed.RabbitLegacy})}(rabbitLegacy)),rabbitLegacy.exports}var blowfish={exports:{}},hasRequiredBlowfish;function requireBlowfish(){return hasRequiredBlowfish||(hasRequiredBlowfish=1,function(Ra,qa){(function(ed,td,rd){Ra.exports=td(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(ed){return function(){var td=ed,rd=td.lib,sd=rd.BlockCipher,od=td.algo;const ld=16,ud=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],cd=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var dd={pbox:[],sbox:[]};function _d(Bd,Rd){let Od=Rd>>24&255,Md=Rd>>16&255,Ld=Rd>>8&255,Fd=Rd&255,jd=Bd.sbox[0][Od]+Bd.sbox[1][Md];return jd=jd^Bd.sbox[2][Ld],jd=jd+Bd.sbox[3][Fd],jd}function Ed(Bd,Rd,Od){let Md=Rd,Ld=Od,Fd;for(let jd=0;jd1;--jd)Md=Md^Bd.pbox[jd],Ld=_d(Bd,Md)^Ld,Fd=Md,Md=Ld,Ld=Fd;return Fd=Md,Md=Ld,Ld=Fd,Ld=Ld^Bd.pbox[1],Md=Md^Bd.pbox[0],{left:Md,right:Ld}}function Td(Bd,Rd,Od){for(let Vd=0;Vd<4;Vd++){Bd.sbox[Vd]=[];for(let Qd=0;Qd<256;Qd++)Bd.sbox[Vd][Qd]=cd[Vd][Qd]}let Md=0;for(let Vd=0;Vd=Od&&(Md=0);let Ld=0,Fd=0,jd=0;for(let Vd=0;Vd2){var ud=ed.lastIndexOf("/");if(ud!==ed.length-1){ud===-1?(ed="",td=0):(ed=ed.slice(0,ud),td=ed.length-1-ed.lastIndexOf("/")),rd=ld,sd=0;continue}}else if(ed.length===2||ed.length===1){ed="",td=0,rd=ld,sd=0;continue}}qa&&(ed.length>0?ed+="/..":ed="..",td=2)}else ed.length>0?ed+="/"+Ra.slice(rd+1,ld):ed=Ra.slice(rd+1,ld),td=ld-rd-1;rd=ld,sd=0}else od===46&&sd!==-1?++sd:sd=-1}return ed}function _format(Ra,qa){var ed=qa.dir||qa.root,td=qa.base||(qa.name||"")+(qa.ext||"");return ed?ed===qa.root?ed+td:ed+Ra+td:td}var posix={resolve:function(){for(var qa="",ed=!1,td,rd=arguments.length-1;rd>=-1&&!ed;rd--){var sd;rd>=0?sd=arguments[rd]:(td===void 0&&(td=define_process_default$8.cwd()),sd=td),assertPath(sd),sd.length!==0&&(qa=sd+"/"+qa,ed=sd.charCodeAt(0)===47)}return qa=normalizeStringPosix(qa,!ed),ed?qa.length>0?"/"+qa:"/":qa.length>0?qa:"."},normalize:function(qa){if(assertPath(qa),qa.length===0)return".";var ed=qa.charCodeAt(0)===47,td=qa.charCodeAt(qa.length-1)===47;return qa=normalizeStringPosix(qa,!ed),qa.length===0&&!ed&&(qa="."),qa.length>0&&td&&(qa+="/"),ed?"/"+qa:qa},isAbsolute:function(qa){return assertPath(qa),qa.length>0&&qa.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var qa,ed=0;ed0&&(qa===void 0?qa=td:qa+="/"+td)}return qa===void 0?".":posix.normalize(qa)},relative:function(qa,ed){if(assertPath(qa),assertPath(ed),qa===ed||(qa=posix.resolve(qa),ed=posix.resolve(ed),qa===ed))return"";for(var td=1;tdcd){if(ed.charCodeAt(od+_d)===47)return ed.slice(od+_d+1);if(_d===0)return ed.slice(od+_d)}else sd>cd&&(qa.charCodeAt(td+_d)===47?dd=_d:_d===0&&(dd=0));break}var Ed=qa.charCodeAt(td+_d),Ad=ed.charCodeAt(od+_d);if(Ed!==Ad)break;Ed===47&&(dd=_d)}var Td="";for(_d=td+dd+1;_d<=rd;++_d)(_d===rd||qa.charCodeAt(_d)===47)&&(Td.length===0?Td+="..":Td+="/..");return Td.length>0?Td+ed.slice(od+dd):(od+=dd,ed.charCodeAt(od)===47&&++od,ed.slice(od))},_makeLong:function(qa){return qa},dirname:function(qa){if(assertPath(qa),qa.length===0)return".";for(var ed=qa.charCodeAt(0),td=ed===47,rd=-1,sd=!0,od=qa.length-1;od>=1;--od)if(ed=qa.charCodeAt(od),ed===47){if(!sd){rd=od;break}}else sd=!1;return rd===-1?td?"/":".":td&&rd===1?"//":qa.slice(0,rd)},basename:function(qa,ed){if(ed!==void 0&&typeof ed!="string")throw new TypeError('"ext" argument must be a string');assertPath(qa);var td=0,rd=-1,sd=!0,od;if(ed!==void 0&&ed.length>0&&ed.length<=qa.length){if(ed.length===qa.length&&ed===qa)return"";var ld=ed.length-1,ud=-1;for(od=qa.length-1;od>=0;--od){var cd=qa.charCodeAt(od);if(cd===47){if(!sd){td=od+1;break}}else ud===-1&&(sd=!1,ud=od+1),ld>=0&&(cd===ed.charCodeAt(ld)?--ld===-1&&(rd=od):(ld=-1,rd=ud))}return td===rd?rd=ud:rd===-1&&(rd=qa.length),qa.slice(td,rd)}else{for(od=qa.length-1;od>=0;--od)if(qa.charCodeAt(od)===47){if(!sd){td=od+1;break}}else rd===-1&&(sd=!1,rd=od+1);return rd===-1?"":qa.slice(td,rd)}},extname:function(qa){assertPath(qa);for(var ed=-1,td=0,rd=-1,sd=!0,od=0,ld=qa.length-1;ld>=0;--ld){var ud=qa.charCodeAt(ld);if(ud===47){if(!sd){td=ld+1;break}continue}rd===-1&&(sd=!1,rd=ld+1),ud===46?ed===-1?ed=ld:od!==1&&(od=1):ed!==-1&&(od=-1)}return ed===-1||rd===-1||od===0||od===1&&ed===rd-1&&ed===td+1?"":qa.slice(ed,rd)},format:function(qa){if(qa===null||typeof qa!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof qa);return _format("/",qa)},parse:function(qa){assertPath(qa);var ed={root:"",dir:"",base:"",ext:"",name:""};if(qa.length===0)return ed;var td=qa.charCodeAt(0),rd=td===47,sd;rd?(ed.root="/",sd=1):sd=0;for(var od=-1,ld=0,ud=-1,cd=!0,dd=qa.length-1,_d=0;dd>=sd;--dd){if(td=qa.charCodeAt(dd),td===47){if(!cd){ld=dd+1;break}continue}ud===-1&&(cd=!1,ud=dd+1),td===46?od===-1?od=dd:_d!==1&&(_d=1):od!==-1&&(_d=-1)}return od===-1||ud===-1||_d===0||_d===1&&od===ud-1&&od===ld+1?ud!==-1&&(ld===0&&rd?ed.base=ed.name=qa.slice(1,ud):ed.base=ed.name=qa.slice(ld,ud)):(ld===0&&rd?(ed.name=qa.slice(1,od),ed.base=qa.slice(1,ud)):(ed.name=qa.slice(ld,od),ed.base=qa.slice(ld,ud)),ed.ext=qa.slice(od,ud)),ld>0?ed.dir=qa.slice(0,ld-1):rd&&(ed.dir="/"),ed},sep:"/",delimiter:":",win32:null,posix:null};posix.posix=posix;var pathBrowserify=posix,events={exports:{}},R=typeof Reflect=="object"?Reflect:null,ReflectApply=R&&typeof R.apply=="function"?R.apply:function(qa,ed,td){return Function.prototype.apply.call(qa,ed,td)},ReflectOwnKeys;R&&typeof R.ownKeys=="function"?ReflectOwnKeys=R.ownKeys:Object.getOwnPropertySymbols?ReflectOwnKeys=function(qa){return Object.getOwnPropertyNames(qa).concat(Object.getOwnPropertySymbols(qa))}:ReflectOwnKeys=function(qa){return Object.getOwnPropertyNames(qa)};function ProcessEmitWarning(Ra){console&&console.warn&&console.warn(Ra)}var NumberIsNaN=Number.isNaN||function(qa){return qa!==qa};function EventEmitter(){EventEmitter.init.call(this)}events.exports=EventEmitter;events.exports.once=once$3;EventEmitter.EventEmitter=EventEmitter;EventEmitter.prototype._events=void 0;EventEmitter.prototype._eventsCount=0;EventEmitter.prototype._maxListeners=void 0;var defaultMaxListeners=10;function checkListener(Ra){if(typeof Ra!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof Ra)}Object.defineProperty(EventEmitter,"defaultMaxListeners",{enumerable:!0,get:function(){return defaultMaxListeners},set:function(Ra){if(typeof Ra!="number"||Ra<0||NumberIsNaN(Ra))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+Ra+".");defaultMaxListeners=Ra}});EventEmitter.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};EventEmitter.prototype.setMaxListeners=function(qa){if(typeof qa!="number"||qa<0||NumberIsNaN(qa))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+qa+".");return this._maxListeners=qa,this};function _getMaxListeners(Ra){return Ra._maxListeners===void 0?EventEmitter.defaultMaxListeners:Ra._maxListeners}EventEmitter.prototype.getMaxListeners=function(){return _getMaxListeners(this)};EventEmitter.prototype.emit=function(qa){for(var ed=[],td=1;td0&&(od=ed[0]),od instanceof Error)throw od;var ld=new Error("Unhandled error."+(od?" ("+od.message+")":""));throw ld.context=od,ld}var ud=sd[qa];if(ud===void 0)return!1;if(typeof ud=="function")ReflectApply(ud,this,ed);else for(var cd=ud.length,dd=arrayClone(ud,cd),td=0;td0&&od.length>rd&&!od.warned){od.warned=!0;var ld=new Error("Possible EventEmitter memory leak detected. "+od.length+" "+String(qa)+" listeners added. Use emitter.setMaxListeners() to increase limit");ld.name="MaxListenersExceededWarning",ld.emitter=Ra,ld.type=qa,ld.count=od.length,ProcessEmitWarning(ld)}return Ra}EventEmitter.prototype.addListener=function(qa,ed){return _addListener(this,qa,ed,!1)};EventEmitter.prototype.on=EventEmitter.prototype.addListener;EventEmitter.prototype.prependListener=function(qa,ed){return _addListener(this,qa,ed,!0)};function onceWrapper(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function _onceWrap(Ra,qa,ed){var td={fired:!1,wrapFn:void 0,target:Ra,type:qa,listener:ed},rd=onceWrapper.bind(td);return rd.listener=ed,td.wrapFn=rd,rd}EventEmitter.prototype.once=function(qa,ed){return checkListener(ed),this.on(qa,_onceWrap(this,qa,ed)),this};EventEmitter.prototype.prependOnceListener=function(qa,ed){return checkListener(ed),this.prependListener(qa,_onceWrap(this,qa,ed)),this};EventEmitter.prototype.removeListener=function(qa,ed){var td,rd,sd,od,ld;if(checkListener(ed),rd=this._events,rd===void 0)return this;if(td=rd[qa],td===void 0)return this;if(td===ed||td.listener===ed)--this._eventsCount===0?this._events=Object.create(null):(delete rd[qa],rd.removeListener&&this.emit("removeListener",qa,td.listener||ed));else if(typeof td!="function"){for(sd=-1,od=td.length-1;od>=0;od--)if(td[od]===ed||td[od].listener===ed){ld=td[od].listener,sd=od;break}if(sd<0)return this;sd===0?td.shift():spliceOne(td,sd),td.length===1&&(rd[qa]=td[0]),rd.removeListener!==void 0&&this.emit("removeListener",qa,ld||ed)}return this};EventEmitter.prototype.off=EventEmitter.prototype.removeListener;EventEmitter.prototype.removeAllListeners=function(qa){var ed,td,rd;if(td=this._events,td===void 0)return this;if(td.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):td[qa]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete td[qa]),this;if(arguments.length===0){var sd=Object.keys(td),od;for(rd=0;rd=0;rd--)this.removeListener(qa,ed[rd]);return this};function _listeners(Ra,qa,ed){var td=Ra._events;if(td===void 0)return[];var rd=td[qa];return rd===void 0?[]:typeof rd=="function"?ed?[rd.listener||rd]:[rd]:ed?unwrapListeners(rd):arrayClone(rd,rd.length)}EventEmitter.prototype.listeners=function(qa){return _listeners(this,qa,!0)};EventEmitter.prototype.rawListeners=function(qa){return _listeners(this,qa,!1)};EventEmitter.listenerCount=function(Ra,qa){return typeof Ra.listenerCount=="function"?Ra.listenerCount(qa):listenerCount.call(Ra,qa)};EventEmitter.prototype.listenerCount=listenerCount;function listenerCount(Ra){var qa=this._events;if(qa!==void 0){var ed=qa[Ra];if(typeof ed=="function")return 1;if(ed!==void 0)return ed.length}return 0}EventEmitter.prototype.eventNames=function(){return this._eventsCount>0?ReflectOwnKeys(this._events):[]};function arrayClone(Ra,qa){for(var ed=new Array(qa),td=0;td0)throw new Error("Invalid string. Length must be a multiple of 4");var Id=Ad.indexOf("=");Id===-1&&(Id=Td);var Bd=Id===Td?0:4-Id%4;return[Id,Bd]}function ld(Ad){var Td=od(Ad),Id=Td[0],Bd=Td[1];return(Id+Bd)*3/4-Bd}function ud(Ad,Td,Id){return(Td+Id)*3/4-Id}function cd(Ad){var Td,Id=od(Ad),Bd=Id[0],Rd=Id[1],Od=new ed(ud(Ad,Bd,Rd)),Md=0,Ld=Rd>0?Bd-4:Bd,Fd;for(Fd=0;Fd>16&255,Od[Md++]=Td>>8&255,Od[Md++]=Td&255;return Rd===2&&(Td=qa[Ad.charCodeAt(Fd)]<<2|qa[Ad.charCodeAt(Fd+1)]>>4,Od[Md++]=Td&255),Rd===1&&(Td=qa[Ad.charCodeAt(Fd)]<<10|qa[Ad.charCodeAt(Fd+1)]<<4|qa[Ad.charCodeAt(Fd+2)]>>2,Od[Md++]=Td>>8&255,Od[Md++]=Td&255),Od}function dd(Ad){return Ra[Ad>>18&63]+Ra[Ad>>12&63]+Ra[Ad>>6&63]+Ra[Ad&63]}function _d(Ad,Td,Id){for(var Bd,Rd=[],Od=Td;OdLd?Ld:Md+Od));return Bd===1?(Td=Ad[Id-1],Rd.push(Ra[Td>>2]+Ra[Td<<4&63]+"==")):Bd===2&&(Td=(Ad[Id-2]<<8)+Ad[Id-1],Rd.push(Ra[Td>>10]+Ra[Td>>4&63]+Ra[Td<<2&63]+"=")),Rd.join("")}return base64Js}var ieee754={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ieee754.read=function(Ra,qa,ed,td,rd){var sd,od,ld=rd*8-td-1,ud=(1<>1,dd=-7,_d=ed?rd-1:0,Ed=ed?-1:1,Ad=Ra[qa+_d];for(_d+=Ed,sd=Ad&(1<<-dd)-1,Ad>>=-dd,dd+=ld;dd>0;sd=sd*256+Ra[qa+_d],_d+=Ed,dd-=8);for(od=sd&(1<<-dd)-1,sd>>=-dd,dd+=td;dd>0;od=od*256+Ra[qa+_d],_d+=Ed,dd-=8);if(sd===0)sd=1-cd;else{if(sd===ud)return od?NaN:(Ad?-1:1)*(1/0);od=od+Math.pow(2,td),sd=sd-cd}return(Ad?-1:1)*od*Math.pow(2,sd-td)};ieee754.write=function(Ra,qa,ed,td,rd,sd){var od,ld,ud,cd=sd*8-rd-1,dd=(1<>1,Ed=rd===23?Math.pow(2,-24)-Math.pow(2,-77):0,Ad=td?0:sd-1,Td=td?1:-1,Id=qa<0||qa===0&&1/qa<0?1:0;for(qa=Math.abs(qa),isNaN(qa)||qa===1/0?(ld=isNaN(qa)?1:0,od=dd):(od=Math.floor(Math.log(qa)/Math.LN2),qa*(ud=Math.pow(2,-od))<1&&(od--,ud*=2),od+_d>=1?qa+=Ed/ud:qa+=Ed*Math.pow(2,1-_d),qa*ud>=2&&(od++,ud/=2),od+_d>=dd?(ld=0,od=dd):od+_d>=1?(ld=(qa*ud-1)*Math.pow(2,rd),od=od+_d):(ld=qa*Math.pow(2,_d-1)*Math.pow(2,rd),od=0));rd>=8;Ra[ed+Ad]=ld&255,Ad+=Td,ld/=256,rd-=8);for(od=od<0;Ra[ed+Ad]=od&255,Ad+=Td,od/=256,cd-=8);Ra[ed+Ad-Td]|=Id*128};/*! + */return td.mode.CTRGladman=function(){var rd=td.lib.BlockCipherMode.extend();function nd(ud){if((ud>>24&255)===255){var cd=ud>>16&255,dd=ud>>8&255,pd=ud&255;cd===255?(cd=0,dd===255?(dd=0,pd===255?pd=0:++pd):++dd):++cd,ud=0,ud+=cd<<16,ud+=dd<<8,ud+=pd}else ud+=1<<24;return ud}function ad(ud){return(ud[0]=nd(ud[0]))===0&&(ud[1]=nd(ud[1])),ud}var sd=rd.Encryptor=rd.extend({processBlock:function(ud,cd){var dd=this._cipher,pd=dd.blockSize,fd=this._iv,Td=this._counter;fd&&(Td=this._counter=fd.slice(0),this._iv=void 0),ad(Td);var Ad=Td.slice(0);dd.encryptBlock(Ad,0);for(var Sd=0;Sd>>2]|=ud<<24-cd%4*8,rd.sigBytes+=ud},unpad:function(rd){var nd=rd.words[rd.sigBytes-1>>>2]&255;rd.sigBytes-=nd}},td.pad.Ansix923})}(padAnsix923)),padAnsix923.exports}var padIso10126={exports:{}},hasRequiredPadIso10126;function requirePadIso10126(){return hasRequiredPadIso10126||(hasRequiredPadIso10126=1,function(Ra,qa){(function(td,rd,nd){Ra.exports=rd(requireCore(),requireCipherCore())})(commonjsGlobal,function(td){return td.pad.Iso10126={pad:function(rd,nd){var ad=nd*4,sd=ad-rd.sigBytes%ad;rd.concat(td.lib.WordArray.random(sd-1)).concat(td.lib.WordArray.create([sd<<24],1))},unpad:function(rd){var nd=rd.words[rd.sigBytes-1>>>2]&255;rd.sigBytes-=nd}},td.pad.Iso10126})}(padIso10126)),padIso10126.exports}var padIso97971={exports:{}},hasRequiredPadIso97971;function requirePadIso97971(){return hasRequiredPadIso97971||(hasRequiredPadIso97971=1,function(Ra,qa){(function(td,rd,nd){Ra.exports=rd(requireCore(),requireCipherCore())})(commonjsGlobal,function(td){return td.pad.Iso97971={pad:function(rd,nd){rd.concat(td.lib.WordArray.create([2147483648],1)),td.pad.ZeroPadding.pad(rd,nd)},unpad:function(rd){td.pad.ZeroPadding.unpad(rd),rd.sigBytes--}},td.pad.Iso97971})}(padIso97971)),padIso97971.exports}var padZeropadding={exports:{}},hasRequiredPadZeropadding;function requirePadZeropadding(){return hasRequiredPadZeropadding||(hasRequiredPadZeropadding=1,function(Ra,qa){(function(td,rd,nd){Ra.exports=rd(requireCore(),requireCipherCore())})(commonjsGlobal,function(td){return td.pad.ZeroPadding={pad:function(rd,nd){var ad=nd*4;rd.clamp(),rd.sigBytes+=ad-(rd.sigBytes%ad||ad)},unpad:function(rd){for(var nd=rd.words,ad=rd.sigBytes-1,ad=rd.sigBytes-1;ad>=0;ad--)if(nd[ad>>>2]>>>24-ad%4*8&255){rd.sigBytes=ad+1;break}}},td.pad.ZeroPadding})}(padZeropadding)),padZeropadding.exports}var padNopadding={exports:{}},hasRequiredPadNopadding;function requirePadNopadding(){return hasRequiredPadNopadding||(hasRequiredPadNopadding=1,function(Ra,qa){(function(td,rd,nd){Ra.exports=rd(requireCore(),requireCipherCore())})(commonjsGlobal,function(td){return td.pad.NoPadding={pad:function(){},unpad:function(){}},td.pad.NoPadding})}(padNopadding)),padNopadding.exports}var formatHex={exports:{}},hasRequiredFormatHex;function requireFormatHex(){return hasRequiredFormatHex||(hasRequiredFormatHex=1,function(Ra,qa){(function(td,rd,nd){Ra.exports=rd(requireCore(),requireCipherCore())})(commonjsGlobal,function(td){return function(rd){var nd=td,ad=nd.lib,sd=ad.CipherParams,ud=nd.enc,cd=ud.Hex,dd=nd.format;dd.Hex={stringify:function(pd){return pd.ciphertext.toString(cd)},parse:function(pd){var fd=cd.parse(pd);return sd.create({ciphertext:fd})}}}(),td.format.Hex})}(formatHex)),formatHex.exports}var aes={exports:{}},hasRequiredAes;function requireAes(){return hasRequiredAes||(hasRequiredAes=1,function(Ra,qa){(function(td,rd,nd){Ra.exports=rd(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(td){return function(){var rd=td,nd=rd.lib,ad=nd.BlockCipher,sd=rd.algo,ud=[],cd=[],dd=[],pd=[],fd=[],Td=[],Ad=[],Sd=[],Dd=[],Ld=[];(function(){for(var Md=[],jd=0;jd<256;jd++)jd<128?Md[jd]=jd<<1:Md[jd]=jd<<1^283;for(var Ud=0,Hd=0,jd=0;jd<256;jd++){var zd=Hd^Hd<<1^Hd<<2^Hd<<3^Hd<<4;zd=zd>>>8^zd&255^99,ud[Ud]=zd,cd[zd]=Ud;var Zd=Md[Ud],Wd=Md[Zd],Qd=Md[Wd],Jd=Md[zd]*257^zd*16843008;dd[Ud]=Jd<<24|Jd>>>8,pd[Ud]=Jd<<16|Jd>>>16,fd[Ud]=Jd<<8|Jd>>>24,Td[Ud]=Jd;var Jd=Qd*16843009^Wd*65537^Zd*257^Ud*16843008;Ad[zd]=Jd<<24|Jd>>>8,Sd[zd]=Jd<<16|Jd>>>16,Dd[zd]=Jd<<8|Jd>>>24,Ld[zd]=Jd,Ud?(Ud=Zd^Md[Md[Md[Qd^Zd]]],Hd^=Md[Md[Hd]]):Ud=Hd=1}})();var Rd=[0,1,2,4,8,16,32,64,128,27,54],Od=sd.AES=ad.extend({_doReset:function(){var Md;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var jd=this._keyPriorReset=this._key,Ud=jd.words,Hd=jd.sigBytes/4,zd=this._nRounds=Hd+6,Zd=(zd+1)*4,Wd=this._keySchedule=[],Qd=0;Qd6&&Qd%Hd==4&&(Md=ud[Md>>>24]<<24|ud[Md>>>16&255]<<16|ud[Md>>>8&255]<<8|ud[Md&255]):(Md=Md<<8|Md>>>24,Md=ud[Md>>>24]<<24|ud[Md>>>16&255]<<16|ud[Md>>>8&255]<<8|ud[Md&255],Md^=Rd[Qd/Hd|0]<<24),Wd[Qd]=Wd[Qd-Hd]^Md);for(var Jd=this._invKeySchedule=[],hf=0;hf>>24]]^Sd[ud[Md>>>16&255]]^Dd[ud[Md>>>8&255]]^Ld[ud[Md&255]]}}},encryptBlock:function(Md,jd){this._doCryptBlock(Md,jd,this._keySchedule,dd,pd,fd,Td,ud)},decryptBlock:function(Md,jd){var Ud=Md[jd+1];Md[jd+1]=Md[jd+3],Md[jd+3]=Ud,this._doCryptBlock(Md,jd,this._invKeySchedule,Ad,Sd,Dd,Ld,cd);var Ud=Md[jd+1];Md[jd+1]=Md[jd+3],Md[jd+3]=Ud},_doCryptBlock:function(Md,jd,Ud,Hd,zd,Zd,Wd,Qd){for(var Jd=this._nRounds,hf=Md[jd]^Ud[0],bf=Md[jd+1]^Ud[1],Ef=Md[jd+2]^Ud[2],_f=Md[jd+3]^Ud[3],vf=4,xf=1;xf>>24]^zd[bf>>>16&255]^Zd[Ef>>>8&255]^Wd[_f&255]^Ud[vf++],Yf=Hd[bf>>>24]^zd[Ef>>>16&255]^Zd[_f>>>8&255]^Wd[hf&255]^Ud[vf++],eh=Hd[Ef>>>24]^zd[_f>>>16&255]^Zd[hf>>>8&255]^Wd[bf&255]^Ud[vf++],Vf=Hd[_f>>>24]^zd[hf>>>16&255]^Zd[bf>>>8&255]^Wd[Ef&255]^Ud[vf++];hf=Bf,bf=Yf,Ef=eh,_f=Vf}var Bf=(Qd[hf>>>24]<<24|Qd[bf>>>16&255]<<16|Qd[Ef>>>8&255]<<8|Qd[_f&255])^Ud[vf++],Yf=(Qd[bf>>>24]<<24|Qd[Ef>>>16&255]<<16|Qd[_f>>>8&255]<<8|Qd[hf&255])^Ud[vf++],eh=(Qd[Ef>>>24]<<24|Qd[_f>>>16&255]<<16|Qd[hf>>>8&255]<<8|Qd[bf&255])^Ud[vf++],Vf=(Qd[_f>>>24]<<24|Qd[hf>>>16&255]<<16|Qd[bf>>>8&255]<<8|Qd[Ef&255])^Ud[vf++];Md[jd]=Bf,Md[jd+1]=Yf,Md[jd+2]=eh,Md[jd+3]=Vf},keySize:256/32});rd.AES=ad._createHelper(Od)}(),td.AES})}(aes)),aes.exports}var tripledes={exports:{}},hasRequiredTripledes;function requireTripledes(){return hasRequiredTripledes||(hasRequiredTripledes=1,function(Ra,qa){(function(td,rd,nd){Ra.exports=rd(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(td){return function(){var rd=td,nd=rd.lib,ad=nd.WordArray,sd=nd.BlockCipher,ud=rd.algo,cd=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],dd=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],pd=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],fd=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],Td=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],Ad=ud.DES=sd.extend({_doReset:function(){for(var Rd=this._key,Od=Rd.words,Md=[],jd=0;jd<56;jd++){var Ud=cd[jd]-1;Md[jd]=Od[Ud>>>5]>>>31-Ud%32&1}for(var Hd=this._subKeys=[],zd=0;zd<16;zd++){for(var Zd=Hd[zd]=[],Wd=pd[zd],jd=0;jd<24;jd++)Zd[jd/6|0]|=Md[(dd[jd]-1+Wd)%28]<<31-jd%6,Zd[4+(jd/6|0)]|=Md[28+(dd[jd+24]-1+Wd)%28]<<31-jd%6;Zd[0]=Zd[0]<<1|Zd[0]>>>31;for(var jd=1;jd<7;jd++)Zd[jd]=Zd[jd]>>>(jd-1)*4+3;Zd[7]=Zd[7]<<5|Zd[7]>>>27}for(var Qd=this._invSubKeys=[],jd=0;jd<16;jd++)Qd[jd]=Hd[15-jd]},encryptBlock:function(Rd,Od){this._doCryptBlock(Rd,Od,this._subKeys)},decryptBlock:function(Rd,Od){this._doCryptBlock(Rd,Od,this._invSubKeys)},_doCryptBlock:function(Rd,Od,Md){this._lBlock=Rd[Od],this._rBlock=Rd[Od+1],Sd.call(this,4,252645135),Sd.call(this,16,65535),Dd.call(this,2,858993459),Dd.call(this,8,16711935),Sd.call(this,1,1431655765);for(var jd=0;jd<16;jd++){for(var Ud=Md[jd],Hd=this._lBlock,zd=this._rBlock,Zd=0,Wd=0;Wd<8;Wd++)Zd|=fd[Wd][((zd^Ud[Wd])&Td[Wd])>>>0];this._lBlock=zd,this._rBlock=Hd^Zd}var Qd=this._lBlock;this._lBlock=this._rBlock,this._rBlock=Qd,Sd.call(this,1,1431655765),Dd.call(this,8,16711935),Dd.call(this,2,858993459),Sd.call(this,16,65535),Sd.call(this,4,252645135),Rd[Od]=this._lBlock,Rd[Od+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function Sd(Rd,Od){var Md=(this._lBlock>>>Rd^this._rBlock)&Od;this._rBlock^=Md,this._lBlock^=Md<>>Rd^this._lBlock)&Od;this._lBlock^=Md,this._rBlock^=Md<192.");var Md=Od.slice(0,2),jd=Od.length<4?Od.slice(0,2):Od.slice(2,4),Ud=Od.length<6?Od.slice(0,2):Od.slice(4,6);this._des1=Ad.createEncryptor(ad.create(Md)),this._des2=Ad.createEncryptor(ad.create(jd)),this._des3=Ad.createEncryptor(ad.create(Ud))},encryptBlock:function(Rd,Od){this._des1.encryptBlock(Rd,Od),this._des2.decryptBlock(Rd,Od),this._des3.encryptBlock(Rd,Od)},decryptBlock:function(Rd,Od){this._des3.decryptBlock(Rd,Od),this._des2.encryptBlock(Rd,Od),this._des1.decryptBlock(Rd,Od)},keySize:192/32,ivSize:64/32,blockSize:64/32});rd.TripleDES=sd._createHelper(Ld)}(),td.TripleDES})}(tripledes)),tripledes.exports}var rc4={exports:{}},hasRequiredRc4;function requireRc4(){return hasRequiredRc4||(hasRequiredRc4=1,function(Ra,qa){(function(td,rd,nd){Ra.exports=rd(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(td){return function(){var rd=td,nd=rd.lib,ad=nd.StreamCipher,sd=rd.algo,ud=sd.RC4=ad.extend({_doReset:function(){for(var pd=this._key,fd=pd.words,Td=pd.sigBytes,Ad=this._S=[],Sd=0;Sd<256;Sd++)Ad[Sd]=Sd;for(var Sd=0,Dd=0;Sd<256;Sd++){var Ld=Sd%Td,Rd=fd[Ld>>>2]>>>24-Ld%4*8&255;Dd=(Dd+Ad[Sd]+Rd)%256;var Od=Ad[Sd];Ad[Sd]=Ad[Dd],Ad[Dd]=Od}this._i=this._j=0},_doProcessBlock:function(pd,fd){pd[fd]^=cd.call(this)},keySize:256/32,ivSize:0});function cd(){for(var pd=this._S,fd=this._i,Td=this._j,Ad=0,Sd=0;Sd<4;Sd++){fd=(fd+1)%256,Td=(Td+pd[fd])%256;var Dd=pd[fd];pd[fd]=pd[Td],pd[Td]=Dd,Ad|=pd[(pd[fd]+pd[Td])%256]<<24-Sd*8}return this._i=fd,this._j=Td,Ad}rd.RC4=ad._createHelper(ud);var dd=sd.RC4Drop=ud.extend({cfg:ud.cfg.extend({drop:192}),_doReset:function(){ud._doReset.call(this);for(var pd=this.cfg.drop;pd>0;pd--)cd.call(this)}});rd.RC4Drop=ad._createHelper(dd)}(),td.RC4})}(rc4)),rc4.exports}var rabbit={exports:{}},hasRequiredRabbit;function requireRabbit(){return hasRequiredRabbit||(hasRequiredRabbit=1,function(Ra,qa){(function(td,rd,nd){Ra.exports=rd(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(td){return function(){var rd=td,nd=rd.lib,ad=nd.StreamCipher,sd=rd.algo,ud=[],cd=[],dd=[],pd=sd.Rabbit=ad.extend({_doReset:function(){for(var Td=this._key.words,Ad=this.cfg.iv,Sd=0;Sd<4;Sd++)Td[Sd]=(Td[Sd]<<8|Td[Sd]>>>24)&16711935|(Td[Sd]<<24|Td[Sd]>>>8)&4278255360;var Dd=this._X=[Td[0],Td[3]<<16|Td[2]>>>16,Td[1],Td[0]<<16|Td[3]>>>16,Td[2],Td[1]<<16|Td[0]>>>16,Td[3],Td[2]<<16|Td[1]>>>16],Ld=this._C=[Td[2]<<16|Td[2]>>>16,Td[0]&4294901760|Td[1]&65535,Td[3]<<16|Td[3]>>>16,Td[1]&4294901760|Td[2]&65535,Td[0]<<16|Td[0]>>>16,Td[2]&4294901760|Td[3]&65535,Td[1]<<16|Td[1]>>>16,Td[3]&4294901760|Td[0]&65535];this._b=0;for(var Sd=0;Sd<4;Sd++)fd.call(this);for(var Sd=0;Sd<8;Sd++)Ld[Sd]^=Dd[Sd+4&7];if(Ad){var Rd=Ad.words,Od=Rd[0],Md=Rd[1],jd=(Od<<8|Od>>>24)&16711935|(Od<<24|Od>>>8)&4278255360,Ud=(Md<<8|Md>>>24)&16711935|(Md<<24|Md>>>8)&4278255360,Hd=jd>>>16|Ud&4294901760,zd=Ud<<16|jd&65535;Ld[0]^=jd,Ld[1]^=Hd,Ld[2]^=Ud,Ld[3]^=zd,Ld[4]^=jd,Ld[5]^=Hd,Ld[6]^=Ud,Ld[7]^=zd;for(var Sd=0;Sd<4;Sd++)fd.call(this)}},_doProcessBlock:function(Td,Ad){var Sd=this._X;fd.call(this),ud[0]=Sd[0]^Sd[5]>>>16^Sd[3]<<16,ud[1]=Sd[2]^Sd[7]>>>16^Sd[5]<<16,ud[2]=Sd[4]^Sd[1]>>>16^Sd[7]<<16,ud[3]=Sd[6]^Sd[3]>>>16^Sd[1]<<16;for(var Dd=0;Dd<4;Dd++)ud[Dd]=(ud[Dd]<<8|ud[Dd]>>>24)&16711935|(ud[Dd]<<24|ud[Dd]>>>8)&4278255360,Td[Ad+Dd]^=ud[Dd]},blockSize:128/32,ivSize:64/32});function fd(){for(var Td=this._X,Ad=this._C,Sd=0;Sd<8;Sd++)cd[Sd]=Ad[Sd];Ad[0]=Ad[0]+1295307597+this._b|0,Ad[1]=Ad[1]+3545052371+(Ad[0]>>>0>>0?1:0)|0,Ad[2]=Ad[2]+886263092+(Ad[1]>>>0>>0?1:0)|0,Ad[3]=Ad[3]+1295307597+(Ad[2]>>>0>>0?1:0)|0,Ad[4]=Ad[4]+3545052371+(Ad[3]>>>0>>0?1:0)|0,Ad[5]=Ad[5]+886263092+(Ad[4]>>>0>>0?1:0)|0,Ad[6]=Ad[6]+1295307597+(Ad[5]>>>0>>0?1:0)|0,Ad[7]=Ad[7]+3545052371+(Ad[6]>>>0>>0?1:0)|0,this._b=Ad[7]>>>0>>0?1:0;for(var Sd=0;Sd<8;Sd++){var Dd=Td[Sd]+Ad[Sd],Ld=Dd&65535,Rd=Dd>>>16,Od=((Ld*Ld>>>17)+Ld*Rd>>>15)+Rd*Rd,Md=((Dd&4294901760)*Dd|0)+((Dd&65535)*Dd|0);dd[Sd]=Od^Md}Td[0]=dd[0]+(dd[7]<<16|dd[7]>>>16)+(dd[6]<<16|dd[6]>>>16)|0,Td[1]=dd[1]+(dd[0]<<8|dd[0]>>>24)+dd[7]|0,Td[2]=dd[2]+(dd[1]<<16|dd[1]>>>16)+(dd[0]<<16|dd[0]>>>16)|0,Td[3]=dd[3]+(dd[2]<<8|dd[2]>>>24)+dd[1]|0,Td[4]=dd[4]+(dd[3]<<16|dd[3]>>>16)+(dd[2]<<16|dd[2]>>>16)|0,Td[5]=dd[5]+(dd[4]<<8|dd[4]>>>24)+dd[3]|0,Td[6]=dd[6]+(dd[5]<<16|dd[5]>>>16)+(dd[4]<<16|dd[4]>>>16)|0,Td[7]=dd[7]+(dd[6]<<8|dd[6]>>>24)+dd[5]|0}rd.Rabbit=ad._createHelper(pd)}(),td.Rabbit})}(rabbit)),rabbit.exports}var rabbitLegacy={exports:{}},hasRequiredRabbitLegacy;function requireRabbitLegacy(){return hasRequiredRabbitLegacy||(hasRequiredRabbitLegacy=1,function(Ra,qa){(function(td,rd,nd){Ra.exports=rd(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(td){return function(){var rd=td,nd=rd.lib,ad=nd.StreamCipher,sd=rd.algo,ud=[],cd=[],dd=[],pd=sd.RabbitLegacy=ad.extend({_doReset:function(){var Td=this._key.words,Ad=this.cfg.iv,Sd=this._X=[Td[0],Td[3]<<16|Td[2]>>>16,Td[1],Td[0]<<16|Td[3]>>>16,Td[2],Td[1]<<16|Td[0]>>>16,Td[3],Td[2]<<16|Td[1]>>>16],Dd=this._C=[Td[2]<<16|Td[2]>>>16,Td[0]&4294901760|Td[1]&65535,Td[3]<<16|Td[3]>>>16,Td[1]&4294901760|Td[2]&65535,Td[0]<<16|Td[0]>>>16,Td[2]&4294901760|Td[3]&65535,Td[1]<<16|Td[1]>>>16,Td[3]&4294901760|Td[0]&65535];this._b=0;for(var Ld=0;Ld<4;Ld++)fd.call(this);for(var Ld=0;Ld<8;Ld++)Dd[Ld]^=Sd[Ld+4&7];if(Ad){var Rd=Ad.words,Od=Rd[0],Md=Rd[1],jd=(Od<<8|Od>>>24)&16711935|(Od<<24|Od>>>8)&4278255360,Ud=(Md<<8|Md>>>24)&16711935|(Md<<24|Md>>>8)&4278255360,Hd=jd>>>16|Ud&4294901760,zd=Ud<<16|jd&65535;Dd[0]^=jd,Dd[1]^=Hd,Dd[2]^=Ud,Dd[3]^=zd,Dd[4]^=jd,Dd[5]^=Hd,Dd[6]^=Ud,Dd[7]^=zd;for(var Ld=0;Ld<4;Ld++)fd.call(this)}},_doProcessBlock:function(Td,Ad){var Sd=this._X;fd.call(this),ud[0]=Sd[0]^Sd[5]>>>16^Sd[3]<<16,ud[1]=Sd[2]^Sd[7]>>>16^Sd[5]<<16,ud[2]=Sd[4]^Sd[1]>>>16^Sd[7]<<16,ud[3]=Sd[6]^Sd[3]>>>16^Sd[1]<<16;for(var Dd=0;Dd<4;Dd++)ud[Dd]=(ud[Dd]<<8|ud[Dd]>>>24)&16711935|(ud[Dd]<<24|ud[Dd]>>>8)&4278255360,Td[Ad+Dd]^=ud[Dd]},blockSize:128/32,ivSize:64/32});function fd(){for(var Td=this._X,Ad=this._C,Sd=0;Sd<8;Sd++)cd[Sd]=Ad[Sd];Ad[0]=Ad[0]+1295307597+this._b|0,Ad[1]=Ad[1]+3545052371+(Ad[0]>>>0>>0?1:0)|0,Ad[2]=Ad[2]+886263092+(Ad[1]>>>0>>0?1:0)|0,Ad[3]=Ad[3]+1295307597+(Ad[2]>>>0>>0?1:0)|0,Ad[4]=Ad[4]+3545052371+(Ad[3]>>>0>>0?1:0)|0,Ad[5]=Ad[5]+886263092+(Ad[4]>>>0>>0?1:0)|0,Ad[6]=Ad[6]+1295307597+(Ad[5]>>>0>>0?1:0)|0,Ad[7]=Ad[7]+3545052371+(Ad[6]>>>0>>0?1:0)|0,this._b=Ad[7]>>>0>>0?1:0;for(var Sd=0;Sd<8;Sd++){var Dd=Td[Sd]+Ad[Sd],Ld=Dd&65535,Rd=Dd>>>16,Od=((Ld*Ld>>>17)+Ld*Rd>>>15)+Rd*Rd,Md=((Dd&4294901760)*Dd|0)+((Dd&65535)*Dd|0);dd[Sd]=Od^Md}Td[0]=dd[0]+(dd[7]<<16|dd[7]>>>16)+(dd[6]<<16|dd[6]>>>16)|0,Td[1]=dd[1]+(dd[0]<<8|dd[0]>>>24)+dd[7]|0,Td[2]=dd[2]+(dd[1]<<16|dd[1]>>>16)+(dd[0]<<16|dd[0]>>>16)|0,Td[3]=dd[3]+(dd[2]<<8|dd[2]>>>24)+dd[1]|0,Td[4]=dd[4]+(dd[3]<<16|dd[3]>>>16)+(dd[2]<<16|dd[2]>>>16)|0,Td[5]=dd[5]+(dd[4]<<8|dd[4]>>>24)+dd[3]|0,Td[6]=dd[6]+(dd[5]<<16|dd[5]>>>16)+(dd[4]<<16|dd[4]>>>16)|0,Td[7]=dd[7]+(dd[6]<<8|dd[6]>>>24)+dd[5]|0}rd.RabbitLegacy=ad._createHelper(pd)}(),td.RabbitLegacy})}(rabbitLegacy)),rabbitLegacy.exports}var blowfish={exports:{}},hasRequiredBlowfish;function requireBlowfish(){return hasRequiredBlowfish||(hasRequiredBlowfish=1,function(Ra,qa){(function(td,rd,nd){Ra.exports=rd(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(td){return function(){var rd=td,nd=rd.lib,ad=nd.BlockCipher,sd=rd.algo;const ud=16,cd=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],dd=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var pd={pbox:[],sbox:[]};function fd(Ld,Rd){let Od=Rd>>24&255,Md=Rd>>16&255,jd=Rd>>8&255,Ud=Rd&255,Hd=Ld.sbox[0][Od]+Ld.sbox[1][Md];return Hd=Hd^Ld.sbox[2][jd],Hd=Hd+Ld.sbox[3][Ud],Hd}function Td(Ld,Rd,Od){let Md=Rd,jd=Od,Ud;for(let Hd=0;Hd1;--Hd)Md=Md^Ld.pbox[Hd],jd=fd(Ld,Md)^jd,Ud=Md,Md=jd,jd=Ud;return Ud=Md,Md=jd,jd=Ud,jd=jd^Ld.pbox[1],Md=Md^Ld.pbox[0],{left:Md,right:jd}}function Sd(Ld,Rd,Od){for(let zd=0;zd<4;zd++){Ld.sbox[zd]=[];for(let Zd=0;Zd<256;Zd++)Ld.sbox[zd][Zd]=dd[zd][Zd]}let Md=0;for(let zd=0;zd=Od&&(Md=0);let jd=0,Ud=0,Hd=0;for(let zd=0;zd2){var cd=td.lastIndexOf("/");if(cd!==td.length-1){cd===-1?(td="",rd=0):(td=td.slice(0,cd),rd=td.length-1-td.lastIndexOf("/")),nd=ud,ad=0;continue}}else if(td.length===2||td.length===1){td="",rd=0,nd=ud,ad=0;continue}}qa&&(td.length>0?td+="/..":td="..",rd=2)}else td.length>0?td+="/"+Ra.slice(nd+1,ud):td=Ra.slice(nd+1,ud),rd=ud-nd-1;nd=ud,ad=0}else sd===46&&ad!==-1?++ad:ad=-1}return td}function _format(Ra,qa){var td=qa.dir||qa.root,rd=qa.base||(qa.name||"")+(qa.ext||"");return td?td===qa.root?td+rd:td+Ra+rd:rd}var posix={resolve:function(){for(var qa="",td=!1,rd,nd=arguments.length-1;nd>=-1&&!td;nd--){var ad;nd>=0?ad=arguments[nd]:(rd===void 0&&(rd=define_process_default$8.cwd()),ad=rd),assertPath(ad),ad.length!==0&&(qa=ad+"/"+qa,td=ad.charCodeAt(0)===47)}return qa=normalizeStringPosix(qa,!td),td?qa.length>0?"/"+qa:"/":qa.length>0?qa:"."},normalize:function(qa){if(assertPath(qa),qa.length===0)return".";var td=qa.charCodeAt(0)===47,rd=qa.charCodeAt(qa.length-1)===47;return qa=normalizeStringPosix(qa,!td),qa.length===0&&!td&&(qa="."),qa.length>0&&rd&&(qa+="/"),td?"/"+qa:qa},isAbsolute:function(qa){return assertPath(qa),qa.length>0&&qa.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var qa,td=0;td0&&(qa===void 0?qa=rd:qa+="/"+rd)}return qa===void 0?".":posix.normalize(qa)},relative:function(qa,td){if(assertPath(qa),assertPath(td),qa===td||(qa=posix.resolve(qa),td=posix.resolve(td),qa===td))return"";for(var rd=1;rddd){if(td.charCodeAt(sd+fd)===47)return td.slice(sd+fd+1);if(fd===0)return td.slice(sd+fd)}else ad>dd&&(qa.charCodeAt(rd+fd)===47?pd=fd:fd===0&&(pd=0));break}var Td=qa.charCodeAt(rd+fd),Ad=td.charCodeAt(sd+fd);if(Td!==Ad)break;Td===47&&(pd=fd)}var Sd="";for(fd=rd+pd+1;fd<=nd;++fd)(fd===nd||qa.charCodeAt(fd)===47)&&(Sd.length===0?Sd+="..":Sd+="/..");return Sd.length>0?Sd+td.slice(sd+pd):(sd+=pd,td.charCodeAt(sd)===47&&++sd,td.slice(sd))},_makeLong:function(qa){return qa},dirname:function(qa){if(assertPath(qa),qa.length===0)return".";for(var td=qa.charCodeAt(0),rd=td===47,nd=-1,ad=!0,sd=qa.length-1;sd>=1;--sd)if(td=qa.charCodeAt(sd),td===47){if(!ad){nd=sd;break}}else ad=!1;return nd===-1?rd?"/":".":rd&&nd===1?"//":qa.slice(0,nd)},basename:function(qa,td){if(td!==void 0&&typeof td!="string")throw new TypeError('"ext" argument must be a string');assertPath(qa);var rd=0,nd=-1,ad=!0,sd;if(td!==void 0&&td.length>0&&td.length<=qa.length){if(td.length===qa.length&&td===qa)return"";var ud=td.length-1,cd=-1;for(sd=qa.length-1;sd>=0;--sd){var dd=qa.charCodeAt(sd);if(dd===47){if(!ad){rd=sd+1;break}}else cd===-1&&(ad=!1,cd=sd+1),ud>=0&&(dd===td.charCodeAt(ud)?--ud===-1&&(nd=sd):(ud=-1,nd=cd))}return rd===nd?nd=cd:nd===-1&&(nd=qa.length),qa.slice(rd,nd)}else{for(sd=qa.length-1;sd>=0;--sd)if(qa.charCodeAt(sd)===47){if(!ad){rd=sd+1;break}}else nd===-1&&(ad=!1,nd=sd+1);return nd===-1?"":qa.slice(rd,nd)}},extname:function(qa){assertPath(qa);for(var td=-1,rd=0,nd=-1,ad=!0,sd=0,ud=qa.length-1;ud>=0;--ud){var cd=qa.charCodeAt(ud);if(cd===47){if(!ad){rd=ud+1;break}continue}nd===-1&&(ad=!1,nd=ud+1),cd===46?td===-1?td=ud:sd!==1&&(sd=1):td!==-1&&(sd=-1)}return td===-1||nd===-1||sd===0||sd===1&&td===nd-1&&td===rd+1?"":qa.slice(td,nd)},format:function(qa){if(qa===null||typeof qa!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof qa);return _format("/",qa)},parse:function(qa){assertPath(qa);var td={root:"",dir:"",base:"",ext:"",name:""};if(qa.length===0)return td;var rd=qa.charCodeAt(0),nd=rd===47,ad;nd?(td.root="/",ad=1):ad=0;for(var sd=-1,ud=0,cd=-1,dd=!0,pd=qa.length-1,fd=0;pd>=ad;--pd){if(rd=qa.charCodeAt(pd),rd===47){if(!dd){ud=pd+1;break}continue}cd===-1&&(dd=!1,cd=pd+1),rd===46?sd===-1?sd=pd:fd!==1&&(fd=1):sd!==-1&&(fd=-1)}return sd===-1||cd===-1||fd===0||fd===1&&sd===cd-1&&sd===ud+1?cd!==-1&&(ud===0&&nd?td.base=td.name=qa.slice(1,cd):td.base=td.name=qa.slice(ud,cd)):(ud===0&&nd?(td.name=qa.slice(1,sd),td.base=qa.slice(1,cd)):(td.name=qa.slice(ud,sd),td.base=qa.slice(ud,cd)),td.ext=qa.slice(sd,cd)),ud>0?td.dir=qa.slice(0,ud-1):nd&&(td.dir="/"),td},sep:"/",delimiter:":",win32:null,posix:null};posix.posix=posix;var pathBrowserify=posix,events={exports:{}},R=typeof Reflect=="object"?Reflect:null,ReflectApply=R&&typeof R.apply=="function"?R.apply:function(qa,td,rd){return Function.prototype.apply.call(qa,td,rd)},ReflectOwnKeys;R&&typeof R.ownKeys=="function"?ReflectOwnKeys=R.ownKeys:Object.getOwnPropertySymbols?ReflectOwnKeys=function(qa){return Object.getOwnPropertyNames(qa).concat(Object.getOwnPropertySymbols(qa))}:ReflectOwnKeys=function(qa){return Object.getOwnPropertyNames(qa)};function ProcessEmitWarning(Ra){console&&console.warn&&console.warn(Ra)}var NumberIsNaN=Number.isNaN||function(qa){return qa!==qa};function EventEmitter(){EventEmitter.init.call(this)}events.exports=EventEmitter;events.exports.once=once$3;EventEmitter.EventEmitter=EventEmitter;EventEmitter.prototype._events=void 0;EventEmitter.prototype._eventsCount=0;EventEmitter.prototype._maxListeners=void 0;var defaultMaxListeners=10;function checkListener(Ra){if(typeof Ra!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof Ra)}Object.defineProperty(EventEmitter,"defaultMaxListeners",{enumerable:!0,get:function(){return defaultMaxListeners},set:function(Ra){if(typeof Ra!="number"||Ra<0||NumberIsNaN(Ra))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+Ra+".");defaultMaxListeners=Ra}});EventEmitter.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};EventEmitter.prototype.setMaxListeners=function(qa){if(typeof qa!="number"||qa<0||NumberIsNaN(qa))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+qa+".");return this._maxListeners=qa,this};function _getMaxListeners(Ra){return Ra._maxListeners===void 0?EventEmitter.defaultMaxListeners:Ra._maxListeners}EventEmitter.prototype.getMaxListeners=function(){return _getMaxListeners(this)};EventEmitter.prototype.emit=function(qa){for(var td=[],rd=1;rd0&&(sd=td[0]),sd instanceof Error)throw sd;var ud=new Error("Unhandled error."+(sd?" ("+sd.message+")":""));throw ud.context=sd,ud}var cd=ad[qa];if(cd===void 0)return!1;if(typeof cd=="function")ReflectApply(cd,this,td);else for(var dd=cd.length,pd=arrayClone(cd,dd),rd=0;rd0&&sd.length>nd&&!sd.warned){sd.warned=!0;var ud=new Error("Possible EventEmitter memory leak detected. "+sd.length+" "+String(qa)+" listeners added. Use emitter.setMaxListeners() to increase limit");ud.name="MaxListenersExceededWarning",ud.emitter=Ra,ud.type=qa,ud.count=sd.length,ProcessEmitWarning(ud)}return Ra}EventEmitter.prototype.addListener=function(qa,td){return _addListener(this,qa,td,!1)};EventEmitter.prototype.on=EventEmitter.prototype.addListener;EventEmitter.prototype.prependListener=function(qa,td){return _addListener(this,qa,td,!0)};function onceWrapper(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function _onceWrap(Ra,qa,td){var rd={fired:!1,wrapFn:void 0,target:Ra,type:qa,listener:td},nd=onceWrapper.bind(rd);return nd.listener=td,rd.wrapFn=nd,nd}EventEmitter.prototype.once=function(qa,td){return checkListener(td),this.on(qa,_onceWrap(this,qa,td)),this};EventEmitter.prototype.prependOnceListener=function(qa,td){return checkListener(td),this.prependListener(qa,_onceWrap(this,qa,td)),this};EventEmitter.prototype.removeListener=function(qa,td){var rd,nd,ad,sd,ud;if(checkListener(td),nd=this._events,nd===void 0)return this;if(rd=nd[qa],rd===void 0)return this;if(rd===td||rd.listener===td)--this._eventsCount===0?this._events=Object.create(null):(delete nd[qa],nd.removeListener&&this.emit("removeListener",qa,rd.listener||td));else if(typeof rd!="function"){for(ad=-1,sd=rd.length-1;sd>=0;sd--)if(rd[sd]===td||rd[sd].listener===td){ud=rd[sd].listener,ad=sd;break}if(ad<0)return this;ad===0?rd.shift():spliceOne(rd,ad),rd.length===1&&(nd[qa]=rd[0]),nd.removeListener!==void 0&&this.emit("removeListener",qa,ud||td)}return this};EventEmitter.prototype.off=EventEmitter.prototype.removeListener;EventEmitter.prototype.removeAllListeners=function(qa){var td,rd,nd;if(rd=this._events,rd===void 0)return this;if(rd.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):rd[qa]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete rd[qa]),this;if(arguments.length===0){var ad=Object.keys(rd),sd;for(nd=0;nd=0;nd--)this.removeListener(qa,td[nd]);return this};function _listeners(Ra,qa,td){var rd=Ra._events;if(rd===void 0)return[];var nd=rd[qa];return nd===void 0?[]:typeof nd=="function"?td?[nd.listener||nd]:[nd]:td?unwrapListeners(nd):arrayClone(nd,nd.length)}EventEmitter.prototype.listeners=function(qa){return _listeners(this,qa,!0)};EventEmitter.prototype.rawListeners=function(qa){return _listeners(this,qa,!1)};EventEmitter.listenerCount=function(Ra,qa){return typeof Ra.listenerCount=="function"?Ra.listenerCount(qa):listenerCount.call(Ra,qa)};EventEmitter.prototype.listenerCount=listenerCount;function listenerCount(Ra){var qa=this._events;if(qa!==void 0){var td=qa[Ra];if(typeof td=="function")return 1;if(td!==void 0)return td.length}return 0}EventEmitter.prototype.eventNames=function(){return this._eventsCount>0?ReflectOwnKeys(this._events):[]};function arrayClone(Ra,qa){for(var td=new Array(qa),rd=0;rd0)throw new Error("Invalid string. Length must be a multiple of 4");var Dd=Ad.indexOf("=");Dd===-1&&(Dd=Sd);var Ld=Dd===Sd?0:4-Dd%4;return[Dd,Ld]}function ud(Ad){var Sd=sd(Ad),Dd=Sd[0],Ld=Sd[1];return(Dd+Ld)*3/4-Ld}function cd(Ad,Sd,Dd){return(Sd+Dd)*3/4-Dd}function dd(Ad){var Sd,Dd=sd(Ad),Ld=Dd[0],Rd=Dd[1],Od=new td(cd(Ad,Ld,Rd)),Md=0,jd=Rd>0?Ld-4:Ld,Ud;for(Ud=0;Ud>16&255,Od[Md++]=Sd>>8&255,Od[Md++]=Sd&255;return Rd===2&&(Sd=qa[Ad.charCodeAt(Ud)]<<2|qa[Ad.charCodeAt(Ud+1)]>>4,Od[Md++]=Sd&255),Rd===1&&(Sd=qa[Ad.charCodeAt(Ud)]<<10|qa[Ad.charCodeAt(Ud+1)]<<4|qa[Ad.charCodeAt(Ud+2)]>>2,Od[Md++]=Sd>>8&255,Od[Md++]=Sd&255),Od}function pd(Ad){return Ra[Ad>>18&63]+Ra[Ad>>12&63]+Ra[Ad>>6&63]+Ra[Ad&63]}function fd(Ad,Sd,Dd){for(var Ld,Rd=[],Od=Sd;Odjd?jd:Md+Od));return Ld===1?(Sd=Ad[Dd-1],Rd.push(Ra[Sd>>2]+Ra[Sd<<4&63]+"==")):Ld===2&&(Sd=(Ad[Dd-2]<<8)+Ad[Dd-1],Rd.push(Ra[Sd>>10]+Ra[Sd>>4&63]+Ra[Sd<<2&63]+"=")),Rd.join("")}return base64Js}var ieee754={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ieee754.read=function(Ra,qa,td,rd,nd){var ad,sd,ud=nd*8-rd-1,cd=(1<>1,pd=-7,fd=td?nd-1:0,Td=td?-1:1,Ad=Ra[qa+fd];for(fd+=Td,ad=Ad&(1<<-pd)-1,Ad>>=-pd,pd+=ud;pd>0;ad=ad*256+Ra[qa+fd],fd+=Td,pd-=8);for(sd=ad&(1<<-pd)-1,ad>>=-pd,pd+=rd;pd>0;sd=sd*256+Ra[qa+fd],fd+=Td,pd-=8);if(ad===0)ad=1-dd;else{if(ad===cd)return sd?NaN:(Ad?-1:1)*(1/0);sd=sd+Math.pow(2,rd),ad=ad-dd}return(Ad?-1:1)*sd*Math.pow(2,ad-rd)};ieee754.write=function(Ra,qa,td,rd,nd,ad){var sd,ud,cd,dd=ad*8-nd-1,pd=(1<>1,Td=nd===23?Math.pow(2,-24)-Math.pow(2,-77):0,Ad=rd?0:ad-1,Sd=rd?1:-1,Dd=qa<0||qa===0&&1/qa<0?1:0;for(qa=Math.abs(qa),isNaN(qa)||qa===1/0?(ud=isNaN(qa)?1:0,sd=pd):(sd=Math.floor(Math.log(qa)/Math.LN2),qa*(cd=Math.pow(2,-sd))<1&&(sd--,cd*=2),sd+fd>=1?qa+=Td/cd:qa+=Td*Math.pow(2,1-fd),qa*cd>=2&&(sd++,cd/=2),sd+fd>=pd?(ud=0,sd=pd):sd+fd>=1?(ud=(qa*cd-1)*Math.pow(2,nd),sd=sd+fd):(ud=qa*Math.pow(2,fd-1)*Math.pow(2,nd),sd=0));nd>=8;Ra[td+Ad]=ud&255,Ad+=Sd,ud/=256,nd-=8);for(sd=sd<0;Ra[td+Ad]=sd&255,Ad+=Sd,sd/=256,dd-=8);Ra[td+Ad-Sd]|=Dd*128};/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT - */(function(Ra){var qa=requireBase64Js(),ed=ieee754,td=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Ra.Buffer=ld,Ra.SlowBuffer=Od,Ra.INSPECT_MAX_BYTES=50;var rd=2147483647;Ra.kMaxLength=rd,ld.TYPED_ARRAY_SUPPORT=sd(),!ld.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function sd(){try{var Uf=new Uint8Array(1),Cf={foo:function(){return 42}};return Object.setPrototypeOf(Cf,Uint8Array.prototype),Object.setPrototypeOf(Uf,Cf),Uf.foo()===42}catch{return!1}}Object.defineProperty(ld.prototype,"parent",{enumerable:!0,get:function(){if(ld.isBuffer(this))return this.buffer}}),Object.defineProperty(ld.prototype,"offset",{enumerable:!0,get:function(){if(ld.isBuffer(this))return this.byteOffset}});function od(Uf){if(Uf>rd)throw new RangeError('The value "'+Uf+'" is invalid for option "size"');var Cf=new Uint8Array(Uf);return Object.setPrototypeOf(Cf,ld.prototype),Cf}function ld(Uf,Cf,If){if(typeof Uf=="number"){if(typeof Cf=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return _d(Uf)}return ud(Uf,Cf,If)}ld.poolSize=8192;function ud(Uf,Cf,If){if(typeof Uf=="string")return Ed(Uf,Cf);if(ArrayBuffer.isView(Uf))return Td(Uf);if(Uf==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Uf);if(wf(Uf,ArrayBuffer)||Uf&&wf(Uf.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(wf(Uf,SharedArrayBuffer)||Uf&&wf(Uf.buffer,SharedArrayBuffer)))return Id(Uf,Cf,If);if(typeof Uf=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Lf=Uf.valueOf&&Uf.valueOf();if(Lf!=null&&Lf!==Uf)return ld.from(Lf,Cf,If);var sh=Bd(Uf);if(sh)return sh;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Uf[Symbol.toPrimitive]=="function")return ld.from(Uf[Symbol.toPrimitive]("string"),Cf,If);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Uf)}ld.from=function(Uf,Cf,If){return ud(Uf,Cf,If)},Object.setPrototypeOf(ld.prototype,Uint8Array.prototype),Object.setPrototypeOf(ld,Uint8Array);function cd(Uf){if(typeof Uf!="number")throw new TypeError('"size" argument must be of type number');if(Uf<0)throw new RangeError('The value "'+Uf+'" is invalid for option "size"')}function dd(Uf,Cf,If){return cd(Uf),Uf<=0?od(Uf):Cf!==void 0?typeof If=="string"?od(Uf).fill(Cf,If):od(Uf).fill(Cf):od(Uf)}ld.alloc=function(Uf,Cf,If){return dd(Uf,Cf,If)};function _d(Uf){return cd(Uf),od(Uf<0?0:Rd(Uf)|0)}ld.allocUnsafe=function(Uf){return _d(Uf)},ld.allocUnsafeSlow=function(Uf){return _d(Uf)};function Ed(Uf,Cf){if((typeof Cf!="string"||Cf==="")&&(Cf="utf8"),!ld.isEncoding(Cf))throw new TypeError("Unknown encoding: "+Cf);var If=Md(Uf,Cf)|0,Lf=od(If),sh=Lf.write(Uf,Cf);return sh!==If&&(Lf=Lf.slice(0,sh)),Lf}function Ad(Uf){for(var Cf=Uf.length<0?0:Rd(Uf.length)|0,If=od(Cf),Lf=0;Lf=rd)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+rd.toString(16)+" bytes");return Uf|0}function Od(Uf){return+Uf!=Uf&&(Uf=0),ld.alloc(+Uf)}ld.isBuffer=function(Cf){return Cf!=null&&Cf._isBuffer===!0&&Cf!==ld.prototype},ld.compare=function(Cf,If){if(wf(Cf,Uint8Array)&&(Cf=ld.from(Cf,Cf.offset,Cf.byteLength)),wf(If,Uint8Array)&&(If=ld.from(If,If.offset,If.byteLength)),!ld.isBuffer(Cf)||!ld.isBuffer(If))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Cf===If)return 0;for(var Lf=Cf.length,sh=If.length,hh=0,rh=Math.min(Lf,sh);hhsh.length?ld.from(rh).copy(sh,hh):Uint8Array.prototype.set.call(sh,rh,hh);else if(ld.isBuffer(rh))rh.copy(sh,hh);else throw new TypeError('"list" argument must be an Array of Buffers');hh+=rh.length}return sh};function Md(Uf,Cf){if(ld.isBuffer(Uf))return Uf.length;if(ArrayBuffer.isView(Uf)||wf(Uf,ArrayBuffer))return Uf.byteLength;if(typeof Uf!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Uf);var If=Uf.length,Lf=arguments.length>2&&arguments[2]===!0;if(!Lf&&If===0)return 0;for(var sh=!1;;)switch(Cf){case"ascii":case"latin1":case"binary":return If;case"utf8":case"utf-8":return hf(Uf).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return If*2;case"hex":return If>>>1;case"base64":return Kf(Uf).length;default:if(sh)return Lf?-1:hf(Uf).length;Cf=(""+Cf).toLowerCase(),sh=!0}}ld.byteLength=Md;function Ld(Uf,Cf,If){var Lf=!1;if((Cf===void 0||Cf<0)&&(Cf=0),Cf>this.length||((If===void 0||If>this.length)&&(If=this.length),If<=0)||(If>>>=0,Cf>>>=0,If<=Cf))return"";for(Uf||(Uf="utf8");;)switch(Uf){case"hex":return zf(this,Cf,If);case"utf8":case"utf-8":return bf(this,Cf,If);case"ascii":return Tf(this,Cf,If);case"latin1":case"binary":return kf(this,Cf,If);case"base64":return mf(this,Cf,If);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Jf(this,Cf,If);default:if(Lf)throw new TypeError("Unknown encoding: "+Uf);Uf=(Uf+"").toLowerCase(),Lf=!0}}ld.prototype._isBuffer=!0;function Fd(Uf,Cf,If){var Lf=Uf[Cf];Uf[Cf]=Uf[If],Uf[If]=Lf}ld.prototype.swap16=function(){var Cf=this.length;if(Cf%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var If=0;IfIf&&(Cf+=" ... "),""},td&&(ld.prototype[td]=ld.prototype.inspect),ld.prototype.compare=function(Cf,If,Lf,sh,hh){if(wf(Cf,Uint8Array)&&(Cf=ld.from(Cf,Cf.offset,Cf.byteLength)),!ld.isBuffer(Cf))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Cf);if(If===void 0&&(If=0),Lf===void 0&&(Lf=Cf?Cf.length:0),sh===void 0&&(sh=0),hh===void 0&&(hh=this.length),If<0||Lf>Cf.length||sh<0||hh>this.length)throw new RangeError("out of range index");if(sh>=hh&&If>=Lf)return 0;if(sh>=hh)return-1;if(If>=Lf)return 1;if(If>>>=0,Lf>>>=0,sh>>>=0,hh>>>=0,this===Cf)return 0;for(var rh=hh-sh,Ah=Lf-If,ph=Math.min(rh,Ah),vh=this.slice(sh,hh),qh=Cf.slice(If,Lf),kh=0;kh2147483647?If=2147483647:If<-2147483648&&(If=-2147483648),If=+If,Yf(If)&&(If=sh?0:Uf.length-1),If<0&&(If=Uf.length+If),If>=Uf.length){if(sh)return-1;If=Uf.length-1}else if(If<0)if(sh)If=0;else return-1;if(typeof Cf=="string"&&(Cf=ld.from(Cf,Lf)),ld.isBuffer(Cf))return Cf.length===0?-1:Vd(Uf,Cf,If,Lf,sh);if(typeof Cf=="number")return Cf=Cf&255,typeof Uint8Array.prototype.indexOf=="function"?sh?Uint8Array.prototype.indexOf.call(Uf,Cf,If):Uint8Array.prototype.lastIndexOf.call(Uf,Cf,If):Vd(Uf,[Cf],If,Lf,sh);throw new TypeError("val must be string, number or Buffer")}function Vd(Uf,Cf,If,Lf,sh){var hh=1,rh=Uf.length,Ah=Cf.length;if(Lf!==void 0&&(Lf=String(Lf).toLowerCase(),Lf==="ucs2"||Lf==="ucs-2"||Lf==="utf16le"||Lf==="utf-16le")){if(Uf.length<2||Cf.length<2)return-1;hh=2,rh/=2,Ah/=2,If/=2}function ph(om,th){return hh===1?om[th]:om.readUInt16BE(th*hh)}var vh;if(sh){var qh=-1;for(vh=If;vhrh&&(If=rh-Ah),vh=If;vh>=0;vh--){for(var kh=!0,Wh=0;Whsh&&(Lf=sh)):Lf=sh;var hh=Cf.length;Lf>hh/2&&(Lf=hh/2);for(var rh=0;rh>>0,isFinite(Lf)?(Lf=Lf>>>0,sh===void 0&&(sh="utf8")):(sh=Lf,Lf=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var hh=this.length-If;if((Lf===void 0||Lf>hh)&&(Lf=hh),Cf.length>0&&(Lf<0||If<0)||If>this.length)throw new RangeError("Attempt to write outside buffer bounds");sh||(sh="utf8");for(var rh=!1;;)switch(sh){case"hex":return Qd(this,Cf,If,Lf);case"utf8":case"utf-8":return qd(this,Cf,If,Lf);case"ascii":case"latin1":case"binary":return Kd(this,Cf,If,Lf);case"base64":return Xd(this,Cf,If,Lf);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return df(this,Cf,If,Lf);default:if(rh)throw new TypeError("Unknown encoding: "+sh);sh=(""+sh).toLowerCase(),rh=!0}},ld.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function mf(Uf,Cf,If){return Cf===0&&If===Uf.length?qa.fromByteArray(Uf):qa.fromByteArray(Uf.slice(Cf,If))}function bf(Uf,Cf,If){If=Math.min(Uf.length,If);for(var Lf=[],sh=Cf;sh239?4:hh>223?3:hh>191?2:1;if(sh+Ah<=If){var ph,vh,qh,kh;switch(Ah){case 1:hh<128&&(rh=hh);break;case 2:ph=Uf[sh+1],(ph&192)===128&&(kh=(hh&31)<<6|ph&63,kh>127&&(rh=kh));break;case 3:ph=Uf[sh+1],vh=Uf[sh+2],(ph&192)===128&&(vh&192)===128&&(kh=(hh&15)<<12|(ph&63)<<6|vh&63,kh>2047&&(kh<55296||kh>57343)&&(rh=kh));break;case 4:ph=Uf[sh+1],vh=Uf[sh+2],qh=Uf[sh+3],(ph&192)===128&&(vh&192)===128&&(qh&192)===128&&(kh=(hh&15)<<18|(ph&63)<<12|(vh&63)<<6|qh&63,kh>65535&&kh<1114112&&(rh=kh))}}rh===null?(rh=65533,Ah=1):rh>65535&&(rh-=65536,Lf.push(rh>>>10&1023|55296),rh=56320|rh&1023),Lf.push(rh),sh+=Ah}return _f(Lf)}var pf=4096;function _f(Uf){var Cf=Uf.length;if(Cf<=pf)return String.fromCharCode.apply(String,Uf);for(var If="",Lf=0;LfLf)&&(If=Lf);for(var sh="",hh=Cf;hhLf&&(Cf=Lf),If<0?(If+=Lf,If<0&&(If=0)):If>Lf&&(If=Lf),IfIf)throw new RangeError("Trying to access beyond buffer length")}ld.prototype.readUintLE=ld.prototype.readUIntLE=function(Cf,If,Lf){Cf=Cf>>>0,If=If>>>0,Lf||Gf(Cf,If,this.length);for(var sh=this[Cf],hh=1,rh=0;++rh>>0,If=If>>>0,Lf||Gf(Cf,If,this.length);for(var sh=this[Cf+--If],hh=1;If>0&&(hh*=256);)sh+=this[Cf+--If]*hh;return sh},ld.prototype.readUint8=ld.prototype.readUInt8=function(Cf,If){return Cf=Cf>>>0,If||Gf(Cf,1,this.length),this[Cf]},ld.prototype.readUint16LE=ld.prototype.readUInt16LE=function(Cf,If){return Cf=Cf>>>0,If||Gf(Cf,2,this.length),this[Cf]|this[Cf+1]<<8},ld.prototype.readUint16BE=ld.prototype.readUInt16BE=function(Cf,If){return Cf=Cf>>>0,If||Gf(Cf,2,this.length),this[Cf]<<8|this[Cf+1]},ld.prototype.readUint32LE=ld.prototype.readUInt32LE=function(Cf,If){return Cf=Cf>>>0,If||Gf(Cf,4,this.length),(this[Cf]|this[Cf+1]<<8|this[Cf+2]<<16)+this[Cf+3]*16777216},ld.prototype.readUint32BE=ld.prototype.readUInt32BE=function(Cf,If){return Cf=Cf>>>0,If||Gf(Cf,4,this.length),this[Cf]*16777216+(this[Cf+1]<<16|this[Cf+2]<<8|this[Cf+3])},ld.prototype.readIntLE=function(Cf,If,Lf){Cf=Cf>>>0,If=If>>>0,Lf||Gf(Cf,If,this.length);for(var sh=this[Cf],hh=1,rh=0;++rh=hh&&(sh-=Math.pow(2,8*If)),sh},ld.prototype.readIntBE=function(Cf,If,Lf){Cf=Cf>>>0,If=If>>>0,Lf||Gf(Cf,If,this.length);for(var sh=If,hh=1,rh=this[Cf+--sh];sh>0&&(hh*=256);)rh+=this[Cf+--sh]*hh;return hh*=128,rh>=hh&&(rh-=Math.pow(2,8*If)),rh},ld.prototype.readInt8=function(Cf,If){return Cf=Cf>>>0,If||Gf(Cf,1,this.length),this[Cf]&128?(255-this[Cf]+1)*-1:this[Cf]},ld.prototype.readInt16LE=function(Cf,If){Cf=Cf>>>0,If||Gf(Cf,2,this.length);var Lf=this[Cf]|this[Cf+1]<<8;return Lf&32768?Lf|4294901760:Lf},ld.prototype.readInt16BE=function(Cf,If){Cf=Cf>>>0,If||Gf(Cf,2,this.length);var Lf=this[Cf+1]|this[Cf]<<8;return Lf&32768?Lf|4294901760:Lf},ld.prototype.readInt32LE=function(Cf,If){return Cf=Cf>>>0,If||Gf(Cf,4,this.length),this[Cf]|this[Cf+1]<<8|this[Cf+2]<<16|this[Cf+3]<<24},ld.prototype.readInt32BE=function(Cf,If){return Cf=Cf>>>0,If||Gf(Cf,4,this.length),this[Cf]<<24|this[Cf+1]<<16|this[Cf+2]<<8|this[Cf+3]},ld.prototype.readFloatLE=function(Cf,If){return Cf=Cf>>>0,If||Gf(Cf,4,this.length),ed.read(this,Cf,!0,23,4)},ld.prototype.readFloatBE=function(Cf,If){return Cf=Cf>>>0,If||Gf(Cf,4,this.length),ed.read(this,Cf,!1,23,4)},ld.prototype.readDoubleLE=function(Cf,If){return Cf=Cf>>>0,If||Gf(Cf,8,this.length),ed.read(this,Cf,!0,52,8)},ld.prototype.readDoubleBE=function(Cf,If){return Cf=Cf>>>0,If||Gf(Cf,8,this.length),ed.read(this,Cf,!1,52,8)};function Mf(Uf,Cf,If,Lf,sh,hh){if(!ld.isBuffer(Uf))throw new TypeError('"buffer" argument must be a Buffer instance');if(Cf>sh||CfUf.length)throw new RangeError("Index out of range")}ld.prototype.writeUintLE=ld.prototype.writeUIntLE=function(Cf,If,Lf,sh){if(Cf=+Cf,If=If>>>0,Lf=Lf>>>0,!sh){var hh=Math.pow(2,8*Lf)-1;Mf(this,Cf,If,Lf,hh,0)}var rh=1,Ah=0;for(this[If]=Cf&255;++Ah>>0,Lf=Lf>>>0,!sh){var hh=Math.pow(2,8*Lf)-1;Mf(this,Cf,If,Lf,hh,0)}var rh=Lf-1,Ah=1;for(this[If+rh]=Cf&255;--rh>=0&&(Ah*=256);)this[If+rh]=Cf/Ah&255;return If+Lf},ld.prototype.writeUint8=ld.prototype.writeUInt8=function(Cf,If,Lf){return Cf=+Cf,If=If>>>0,Lf||Mf(this,Cf,If,1,255,0),this[If]=Cf&255,If+1},ld.prototype.writeUint16LE=ld.prototype.writeUInt16LE=function(Cf,If,Lf){return Cf=+Cf,If=If>>>0,Lf||Mf(this,Cf,If,2,65535,0),this[If]=Cf&255,this[If+1]=Cf>>>8,If+2},ld.prototype.writeUint16BE=ld.prototype.writeUInt16BE=function(Cf,If,Lf){return Cf=+Cf,If=If>>>0,Lf||Mf(this,Cf,If,2,65535,0),this[If]=Cf>>>8,this[If+1]=Cf&255,If+2},ld.prototype.writeUint32LE=ld.prototype.writeUInt32LE=function(Cf,If,Lf){return Cf=+Cf,If=If>>>0,Lf||Mf(this,Cf,If,4,4294967295,0),this[If+3]=Cf>>>24,this[If+2]=Cf>>>16,this[If+1]=Cf>>>8,this[If]=Cf&255,If+4},ld.prototype.writeUint32BE=ld.prototype.writeUInt32BE=function(Cf,If,Lf){return Cf=+Cf,If=If>>>0,Lf||Mf(this,Cf,If,4,4294967295,0),this[If]=Cf>>>24,this[If+1]=Cf>>>16,this[If+2]=Cf>>>8,this[If+3]=Cf&255,If+4},ld.prototype.writeIntLE=function(Cf,If,Lf,sh){if(Cf=+Cf,If=If>>>0,!sh){var hh=Math.pow(2,8*Lf-1);Mf(this,Cf,If,Lf,hh-1,-hh)}var rh=0,Ah=1,ph=0;for(this[If]=Cf&255;++rh>0)-ph&255;return If+Lf},ld.prototype.writeIntBE=function(Cf,If,Lf,sh){if(Cf=+Cf,If=If>>>0,!sh){var hh=Math.pow(2,8*Lf-1);Mf(this,Cf,If,Lf,hh-1,-hh)}var rh=Lf-1,Ah=1,ph=0;for(this[If+rh]=Cf&255;--rh>=0&&(Ah*=256);)Cf<0&&ph===0&&this[If+rh+1]!==0&&(ph=1),this[If+rh]=(Cf/Ah>>0)-ph&255;return If+Lf},ld.prototype.writeInt8=function(Cf,If,Lf){return Cf=+Cf,If=If>>>0,Lf||Mf(this,Cf,If,1,127,-128),Cf<0&&(Cf=255+Cf+1),this[If]=Cf&255,If+1},ld.prototype.writeInt16LE=function(Cf,If,Lf){return Cf=+Cf,If=If>>>0,Lf||Mf(this,Cf,If,2,32767,-32768),this[If]=Cf&255,this[If+1]=Cf>>>8,If+2},ld.prototype.writeInt16BE=function(Cf,If,Lf){return Cf=+Cf,If=If>>>0,Lf||Mf(this,Cf,If,2,32767,-32768),this[If]=Cf>>>8,this[If+1]=Cf&255,If+2},ld.prototype.writeInt32LE=function(Cf,If,Lf){return Cf=+Cf,If=If>>>0,Lf||Mf(this,Cf,If,4,2147483647,-2147483648),this[If]=Cf&255,this[If+1]=Cf>>>8,this[If+2]=Cf>>>16,this[If+3]=Cf>>>24,If+4},ld.prototype.writeInt32BE=function(Cf,If,Lf){return Cf=+Cf,If=If>>>0,Lf||Mf(this,Cf,If,4,2147483647,-2147483648),Cf<0&&(Cf=4294967295+Cf+1),this[If]=Cf>>>24,this[If+1]=Cf>>>16,this[If+2]=Cf>>>8,this[If+3]=Cf&255,If+4};function Nf(Uf,Cf,If,Lf,sh,hh){if(If+Lf>Uf.length)throw new RangeError("Index out of range");if(If<0)throw new RangeError("Index out of range")}function Bf(Uf,Cf,If,Lf,sh){return Cf=+Cf,If=If>>>0,sh||Nf(Uf,Cf,If,4),ed.write(Uf,Cf,If,Lf,23,4),If+4}ld.prototype.writeFloatLE=function(Cf,If,Lf){return Bf(this,Cf,If,!0,Lf)},ld.prototype.writeFloatBE=function(Cf,If,Lf){return Bf(this,Cf,If,!1,Lf)};function Qf(Uf,Cf,If,Lf,sh){return Cf=+Cf,If=If>>>0,sh||Nf(Uf,Cf,If,8),ed.write(Uf,Cf,If,Lf,52,8),If+8}ld.prototype.writeDoubleLE=function(Cf,If,Lf){return Qf(this,Cf,If,!0,Lf)},ld.prototype.writeDoubleBE=function(Cf,If,Lf){return Qf(this,Cf,If,!1,Lf)},ld.prototype.copy=function(Cf,If,Lf,sh){if(!ld.isBuffer(Cf))throw new TypeError("argument should be a Buffer");if(Lf||(Lf=0),!sh&&sh!==0&&(sh=this.length),If>=Cf.length&&(If=Cf.length),If||(If=0),sh>0&&sh=this.length)throw new RangeError("Index out of range");if(sh<0)throw new RangeError("sourceEnd out of bounds");sh>this.length&&(sh=this.length),Cf.length-If>>0,Lf=Lf===void 0?this.length:Lf>>>0,Cf||(Cf=0);var rh;if(typeof Cf=="number")for(rh=If;rh55295&&If<57344){if(!sh){if(If>56319){(Cf-=3)>-1&&hh.push(239,191,189);continue}else if(rh+1===Lf){(Cf-=3)>-1&&hh.push(239,191,189);continue}sh=If;continue}if(If<56320){(Cf-=3)>-1&&hh.push(239,191,189),sh=If;continue}If=(sh-55296<<10|If-56320)+65536}else sh&&(Cf-=3)>-1&&hh.push(239,191,189);if(sh=null,If<128){if((Cf-=1)<0)break;hh.push(If)}else if(If<2048){if((Cf-=2)<0)break;hh.push(If>>6|192,If&63|128)}else if(If<65536){if((Cf-=3)<0)break;hh.push(If>>12|224,If>>6&63|128,If&63|128)}else if(If<1114112){if((Cf-=4)<0)break;hh.push(If>>18|240,If>>12&63|128,If>>6&63|128,If&63|128)}else throw new Error("Invalid code point")}return hh}function Rf(Uf){for(var Cf=[],If=0;If>8,sh=If%256,hh.push(sh),hh.push(Lf);return hh}function Kf(Uf){return qa.toByteArray(yf(Uf))}function Ff(Uf,Cf,If,Lf){for(var sh=0;sh=Cf.length||sh>=Uf.length);++sh)Cf[sh+If]=Uf[sh];return sh}function wf(Uf,Cf){return Uf instanceof Cf||Uf!=null&&Uf.constructor!=null&&Uf.constructor.name!=null&&Uf.constructor.name===Cf.name}function Yf(Uf){return Uf!==Uf}var uh=function(){for(var Uf="0123456789abcdef",Cf=new Array(256),If=0;If<16;++If)for(var Lf=If*16,sh=0;sh<16;++sh)Cf[Lf+sh]=Uf[If]+Uf[sh];return Cf}()})(buffer);var util$5={},types={},shams$1=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var qa={},ed=Symbol("test"),td=Object(ed);if(typeof ed=="string"||Object.prototype.toString.call(ed)!=="[object Symbol]"||Object.prototype.toString.call(td)!=="[object Symbol]")return!1;var rd=42;qa[ed]=rd;for(ed in qa)return!1;if(typeof Object.keys=="function"&&Object.keys(qa).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(qa).length!==0)return!1;var sd=Object.getOwnPropertySymbols(qa);if(sd.length!==1||sd[0]!==ed||!Object.prototype.propertyIsEnumerable.call(qa,ed))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var od=Object.getOwnPropertyDescriptor(qa,ed);if(od.value!==rd||od.enumerable!==!0)return!1}return!0},hasSymbols$2=shams$1,shams=function(){return hasSymbols$2()&&!!Symbol.toStringTag},esErrors=Error,_eval=EvalError,range$1=RangeError,ref=ReferenceError,syntax=SyntaxError,type=TypeError,uri=URIError,origSymbol=typeof Symbol<"u"&&Symbol,hasSymbolSham=shams$1,hasSymbols$1=function(){return typeof origSymbol!="function"||typeof Symbol!="function"||typeof origSymbol("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:hasSymbolSham()},test$1={__proto__:null,foo:{}},$Object=Object,hasProto$1=function(){return{__proto__:test$1}.foo===test$1.foo&&!(test$1 instanceof $Object)},ERROR_MESSAGE="Function.prototype.bind called on incompatible ",toStr$3=Object.prototype.toString,max=Math.max,funcType="[object Function]",concatty=function(qa,ed){for(var td=[],rd=0;rd"u"||!getProto$1?undefined$1:getProto$1(Uint8Array),INTRINSICS={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?undefined$1:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?undefined$1:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols&&getProto$1?getProto$1([][Symbol.iterator]()):undefined$1,"%AsyncFromSyncIteratorPrototype%":undefined$1,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":typeof Atomics>"u"?undefined$1:Atomics,"%BigInt%":typeof BigInt>"u"?undefined$1:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?undefined$1:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?undefined$1:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?undefined$1:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":$Error,"%eval%":eval,"%EvalError%":$EvalError,"%Float32Array%":typeof Float32Array>"u"?undefined$1:Float32Array,"%Float64Array%":typeof Float64Array>"u"?undefined$1:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?undefined$1:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":typeof Int8Array>"u"?undefined$1:Int8Array,"%Int16Array%":typeof Int16Array>"u"?undefined$1:Int16Array,"%Int32Array%":typeof Int32Array>"u"?undefined$1:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols&&getProto$1?getProto$1(getProto$1([][Symbol.iterator]())):undefined$1,"%JSON%":typeof JSON=="object"?JSON:undefined$1,"%Map%":typeof Map>"u"?undefined$1:Map,"%MapIteratorPrototype%":typeof Map>"u"||!hasSymbols||!getProto$1?undefined$1:getProto$1(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?undefined$1:Promise,"%Proxy%":typeof Proxy>"u"?undefined$1:Proxy,"%RangeError%":$RangeError,"%ReferenceError%":$ReferenceError,"%Reflect%":typeof Reflect>"u"?undefined$1:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?undefined$1:Set,"%SetIteratorPrototype%":typeof Set>"u"||!hasSymbols||!getProto$1?undefined$1:getProto$1(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?undefined$1:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols&&getProto$1?getProto$1(""[Symbol.iterator]()):undefined$1,"%Symbol%":hasSymbols?Symbol:undefined$1,"%SyntaxError%":$SyntaxError$1,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError$2,"%Uint8Array%":typeof Uint8Array>"u"?undefined$1:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?undefined$1:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?undefined$1:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?undefined$1:Uint32Array,"%URIError%":$URIError,"%WeakMap%":typeof WeakMap>"u"?undefined$1:WeakMap,"%WeakRef%":typeof WeakRef>"u"?undefined$1:WeakRef,"%WeakSet%":typeof WeakSet>"u"?undefined$1:WeakSet};if(getProto$1)try{null.error}catch(Ra){var errorProto=getProto$1(getProto$1(Ra));INTRINSICS["%Error.prototype%"]=errorProto}var doEval=function Ra(qa){var ed;if(qa==="%AsyncFunction%")ed=getEvalledConstructor("async function () {}");else if(qa==="%GeneratorFunction%")ed=getEvalledConstructor("function* () {}");else if(qa==="%AsyncGeneratorFunction%")ed=getEvalledConstructor("async function* () {}");else if(qa==="%AsyncGenerator%"){var td=Ra("%AsyncGeneratorFunction%");td&&(ed=td.prototype)}else if(qa==="%AsyncIteratorPrototype%"){var rd=Ra("%AsyncGenerator%");rd&&getProto$1&&(ed=getProto$1(rd.prototype))}return INTRINSICS[qa]=ed,ed},LEGACY_ALIASES={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},bind$1=functionBind,hasOwn=hasown,$concat=bind$1.call(Function.call,Array.prototype.concat),$spliceApply=bind$1.call(Function.apply,Array.prototype.splice),$replace=bind$1.call(Function.call,String.prototype.replace),$strSlice=bind$1.call(Function.call,String.prototype.slice),$exec=bind$1.call(Function.call,RegExp.prototype.exec),rePropName=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=function(qa){var ed=$strSlice(qa,0,1),td=$strSlice(qa,-1);if(ed==="%"&&td!=="%")throw new $SyntaxError$1("invalid intrinsic syntax, expected closing `%`");if(td==="%"&&ed!=="%")throw new $SyntaxError$1("invalid intrinsic syntax, expected opening `%`");var rd=[];return $replace(qa,rePropName,function(sd,od,ld,ud){rd[rd.length]=ld?$replace(ud,reEscapeChar,"$1"):od||sd}),rd},getBaseIntrinsic=function(qa,ed){var td=qa,rd;if(hasOwn(LEGACY_ALIASES,td)&&(rd=LEGACY_ALIASES[td],td="%"+rd[0]+"%"),hasOwn(INTRINSICS,td)){var sd=INTRINSICS[td];if(sd===needsEval&&(sd=doEval(td)),typeof sd>"u"&&!ed)throw new $TypeError$2("intrinsic "+qa+" exists, but is not available. Please file an issue!");return{alias:rd,name:td,value:sd}}throw new $SyntaxError$1("intrinsic "+qa+" does not exist!")},getIntrinsic=function(qa,ed){if(typeof qa!="string"||qa.length===0)throw new $TypeError$2("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof ed!="boolean")throw new $TypeError$2('"allowMissing" argument must be a boolean');if($exec(/^%?[^%]*%?$/,qa)===null)throw new $SyntaxError$1("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var td=stringToPath(qa),rd=td.length>0?td[0]:"",sd=getBaseIntrinsic("%"+rd+"%",ed),od=sd.name,ld=sd.value,ud=!1,cd=sd.alias;cd&&(rd=cd[0],$spliceApply(td,$concat([0,1],cd)));for(var dd=1,_d=!0;dd=td.length){var Id=$gOPD$1(ld,Ed);_d=!!Id,_d&&"get"in Id&&!("originalValue"in Id.get)?ld=Id.get:ld=ld[Ed]}else _d=hasOwn(ld,Ed),ld=ld[Ed];_d&&!ud&&(INTRINSICS[od]=ld)}}return ld},callBind$2={exports:{}},esDefineProperty,hasRequiredEsDefineProperty;function requireEsDefineProperty(){if(hasRequiredEsDefineProperty)return esDefineProperty;hasRequiredEsDefineProperty=1;var Ra=getIntrinsic,qa=Ra("%Object.defineProperty%",!0)||!1;if(qa)try{qa({},"a",{value:1})}catch{qa=!1}return esDefineProperty=qa,esDefineProperty}var GetIntrinsic$2=getIntrinsic,$gOPD=GetIntrinsic$2("%Object.getOwnPropertyDescriptor%",!0);if($gOPD)try{$gOPD([],"length")}catch{$gOPD=null}var gopd$1=$gOPD,$defineProperty$1=requireEsDefineProperty(),$SyntaxError=syntax,$TypeError$1=type,gopd=gopd$1,defineDataProperty=function(qa,ed,td){if(!qa||typeof qa!="object"&&typeof qa!="function")throw new $TypeError$1("`obj` must be an object or a function`");if(typeof ed!="string"&&typeof ed!="symbol")throw new $TypeError$1("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new $TypeError$1("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new $TypeError$1("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new $TypeError$1("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new $TypeError$1("`loose`, if provided, must be a boolean");var rd=arguments.length>3?arguments[3]:null,sd=arguments.length>4?arguments[4]:null,od=arguments.length>5?arguments[5]:null,ld=arguments.length>6?arguments[6]:!1,ud=!!gopd&&gopd(qa,ed);if($defineProperty$1)$defineProperty$1(qa,ed,{configurable:od===null&&ud?ud.configurable:!od,enumerable:rd===null&&ud?ud.enumerable:!rd,value:td,writable:sd===null&&ud?ud.writable:!sd});else if(ld||!rd&&!sd&&!od)qa[ed]=td;else throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},$defineProperty=requireEsDefineProperty(),hasPropertyDescriptors=function(){return!!$defineProperty};hasPropertyDescriptors.hasArrayLengthDefineBug=function(){if(!$defineProperty)return null;try{return $defineProperty([],"length",{value:1}).length!==1}catch{return!0}};var hasPropertyDescriptors_1=hasPropertyDescriptors,GetIntrinsic$1=getIntrinsic,define=defineDataProperty,hasDescriptors=hasPropertyDescriptors_1(),gOPD$1=gopd$1,$TypeError=type,$floor=GetIntrinsic$1("%Math.floor%"),setFunctionLength=function(qa,ed){if(typeof qa!="function")throw new $TypeError("`fn` is not a function");if(typeof ed!="number"||ed<0||ed>4294967295||$floor(ed)!==ed)throw new $TypeError("`length` must be a positive 32-bit integer");var td=arguments.length>2&&!!arguments[2],rd=!0,sd=!0;if("length"in qa&&gOPD$1){var od=gOPD$1(qa,"length");od&&!od.configurable&&(rd=!1),od&&!od.writable&&(sd=!1)}return(rd||sd||!td)&&(hasDescriptors?define(qa,"length",ed,!0,!0):define(qa,"length",ed)),qa};(function(Ra){var qa=functionBind,ed=getIntrinsic,td=setFunctionLength,rd=type,sd=ed("%Function.prototype.apply%"),od=ed("%Function.prototype.call%"),ld=ed("%Reflect.apply%",!0)||qa.call(od,sd),ud=requireEsDefineProperty(),cd=ed("%Math.max%");Ra.exports=function(Ed){if(typeof Ed!="function")throw new rd("a function is required");var Ad=ld(qa,od,arguments);return td(Ad,1+cd(0,Ed.length-(arguments.length-1)),!0)};var dd=function(){return ld(qa,sd,arguments)};ud?ud(Ra.exports,"apply",{value:dd}):Ra.exports.apply=dd})(callBind$2);var callBindExports=callBind$2.exports,GetIntrinsic=getIntrinsic,callBind$1=callBindExports,$indexOf$1=callBind$1(GetIntrinsic("String.prototype.indexOf")),callBound$2=function(qa,ed){var td=GetIntrinsic(qa,!!ed);return typeof td=="function"&&$indexOf$1(qa,".prototype.")>-1?callBind$1(td):td},hasToStringTag$3=shams(),callBound$1=callBound$2,$toString$1=callBound$1("Object.prototype.toString"),isStandardArguments=function(qa){return hasToStringTag$3&&qa&&typeof qa=="object"&&Symbol.toStringTag in qa?!1:$toString$1(qa)==="[object Arguments]"},isLegacyArguments=function(qa){return isStandardArguments(qa)?!0:qa!==null&&typeof qa=="object"&&typeof qa.length=="number"&&qa.length>=0&&$toString$1(qa)!=="[object Array]"&&$toString$1(qa.callee)==="[object Function]"},supportsStandardArguments=function(){return isStandardArguments(arguments)}();isStandardArguments.isLegacyArguments=isLegacyArguments;var isArguments=supportsStandardArguments?isStandardArguments:isLegacyArguments,toStr$2=Object.prototype.toString,fnToStr$1=Function.prototype.toString,isFnRegex=/^\s*(?:function)?\*/,hasToStringTag$2=shams(),getProto=Object.getPrototypeOf,getGeneratorFunc=function(){if(!hasToStringTag$2)return!1;try{return Function("return function*() {}")()}catch{}},GeneratorFunction,isGeneratorFunction=function(qa){if(typeof qa!="function")return!1;if(isFnRegex.test(fnToStr$1.call(qa)))return!0;if(!hasToStringTag$2){var ed=toStr$2.call(qa);return ed==="[object GeneratorFunction]"}if(!getProto)return!1;if(typeof GeneratorFunction>"u"){var td=getGeneratorFunc();GeneratorFunction=td?getProto(td):!1}return getProto(qa)===GeneratorFunction},fnToStr=Function.prototype.toString,reflectApply=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,badArrayLike,isCallableMarker;if(typeof reflectApply=="function"&&typeof Object.defineProperty=="function")try{badArrayLike=Object.defineProperty({},"length",{get:function(){throw isCallableMarker}}),isCallableMarker={},reflectApply(function(){throw 42},null,badArrayLike)}catch(Ra){Ra!==isCallableMarker&&(reflectApply=null)}else reflectApply=null;var constructorRegex=/^\s*class\b/,isES6ClassFn=function(qa){try{var ed=fnToStr.call(qa);return constructorRegex.test(ed)}catch{return!1}},tryFunctionObject=function(qa){try{return isES6ClassFn(qa)?!1:(fnToStr.call(qa),!0)}catch{return!1}},toStr$1=Object.prototype.toString,objectClass="[object Object]",fnClass="[object Function]",genClass="[object GeneratorFunction]",ddaClass="[object HTMLAllCollection]",ddaClass2="[object HTML document.all class]",ddaClass3="[object HTMLCollection]",hasToStringTag$1=typeof Symbol=="function"&&!!Symbol.toStringTag,isIE68=!(0 in[,]),isDDA=function(){return!1};if(typeof document=="object"){var all=document.all;toStr$1.call(all)===toStr$1.call(document.all)&&(isDDA=function(qa){if((isIE68||!qa)&&(typeof qa>"u"||typeof qa=="object"))try{var ed=toStr$1.call(qa);return(ed===ddaClass||ed===ddaClass2||ed===ddaClass3||ed===objectClass)&&qa("")==null}catch{}return!1})}var isCallable$1=reflectApply?function(qa){if(isDDA(qa))return!0;if(!qa||typeof qa!="function"&&typeof qa!="object")return!1;try{reflectApply(qa,null,badArrayLike)}catch(ed){if(ed!==isCallableMarker)return!1}return!isES6ClassFn(qa)&&tryFunctionObject(qa)}:function(qa){if(isDDA(qa))return!0;if(!qa||typeof qa!="function"&&typeof qa!="object")return!1;if(hasToStringTag$1)return tryFunctionObject(qa);if(isES6ClassFn(qa))return!1;var ed=toStr$1.call(qa);return ed!==fnClass&&ed!==genClass&&!/^\[object HTML/.test(ed)?!1:tryFunctionObject(qa)},isCallable=isCallable$1,toStr=Object.prototype.toString,hasOwnProperty$2=Object.prototype.hasOwnProperty,forEachArray=function(qa,ed,td){for(var rd=0,sd=qa.length;rd=3&&(rd=td),toStr.call(qa)==="[object Array]"?forEachArray(qa,ed,rd):typeof qa=="string"?forEachString(qa,ed,rd):forEachObject(qa,ed,rd)},forEach_1=forEach$2,possibleTypedArrayNames=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],possibleNames=possibleTypedArrayNames,g$1=typeof globalThis>"u"?commonjsGlobal:globalThis,availableTypedArrays$1=function(){for(var qa=[],ed=0;ed"u"?commonjsGlobal:globalThis,typedArrays=availableTypedArrays(),$slice=callBound("String.prototype.slice"),getPrototypeOf$1=Object.getPrototypeOf,$indexOf=callBound("Array.prototype.indexOf",!0)||function(qa,ed){for(var td=0;td-1?ed:ed!=="Object"?!1:trySlices(qa)}return gOPD?tryTypedArrays(qa):null},whichTypedArray=whichTypedArray$1,isTypedArray$1=function(qa){return!!whichTypedArray(qa)};(function(Ra){var qa=isArguments,ed=isGeneratorFunction,td=whichTypedArray$1,rd=isTypedArray$1;function sd(Lf){return Lf.call.bind(Lf)}var od=typeof BigInt<"u",ld=typeof Symbol<"u",ud=sd(Object.prototype.toString),cd=sd(Number.prototype.valueOf),dd=sd(String.prototype.valueOf),_d=sd(Boolean.prototype.valueOf);if(od)var Ed=sd(BigInt.prototype.valueOf);if(ld)var Ad=sd(Symbol.prototype.valueOf);function Td(Lf,sh){if(typeof Lf!="object")return!1;try{return sh(Lf),!0}catch{return!1}}Ra.isArgumentsObject=qa,Ra.isGeneratorFunction=ed,Ra.isTypedArray=rd;function Id(Lf){return typeof Promise<"u"&&Lf instanceof Promise||Lf!==null&&typeof Lf=="object"&&typeof Lf.then=="function"&&typeof Lf.catch=="function"}Ra.isPromise=Id;function Bd(Lf){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(Lf):rd(Lf)||Nf(Lf)}Ra.isArrayBufferView=Bd;function Rd(Lf){return td(Lf)==="Uint8Array"}Ra.isUint8Array=Rd;function Od(Lf){return td(Lf)==="Uint8ClampedArray"}Ra.isUint8ClampedArray=Od;function Md(Lf){return td(Lf)==="Uint16Array"}Ra.isUint16Array=Md;function Ld(Lf){return td(Lf)==="Uint32Array"}Ra.isUint32Array=Ld;function Fd(Lf){return td(Lf)==="Int8Array"}Ra.isInt8Array=Fd;function jd(Lf){return td(Lf)==="Int16Array"}Ra.isInt16Array=jd;function Vd(Lf){return td(Lf)==="Int32Array"}Ra.isInt32Array=Vd;function Qd(Lf){return td(Lf)==="Float32Array"}Ra.isFloat32Array=Qd;function qd(Lf){return td(Lf)==="Float64Array"}Ra.isFloat64Array=qd;function Kd(Lf){return td(Lf)==="BigInt64Array"}Ra.isBigInt64Array=Kd;function Xd(Lf){return td(Lf)==="BigUint64Array"}Ra.isBigUint64Array=Xd;function df(Lf){return ud(Lf)==="[object Map]"}df.working=typeof Map<"u"&&df(new Map);function mf(Lf){return typeof Map>"u"?!1:df.working?df(Lf):Lf instanceof Map}Ra.isMap=mf;function bf(Lf){return ud(Lf)==="[object Set]"}bf.working=typeof Set<"u"&&bf(new Set);function pf(Lf){return typeof Set>"u"?!1:bf.working?bf(Lf):Lf instanceof Set}Ra.isSet=pf;function _f(Lf){return ud(Lf)==="[object WeakMap]"}_f.working=typeof WeakMap<"u"&&_f(new WeakMap);function Tf(Lf){return typeof WeakMap>"u"?!1:_f.working?_f(Lf):Lf instanceof WeakMap}Ra.isWeakMap=Tf;function kf(Lf){return ud(Lf)==="[object WeakSet]"}kf.working=typeof WeakSet<"u"&&kf(new WeakSet);function zf(Lf){return kf(Lf)}Ra.isWeakSet=zf;function Jf(Lf){return ud(Lf)==="[object ArrayBuffer]"}Jf.working=typeof ArrayBuffer<"u"&&Jf(new ArrayBuffer);function Gf(Lf){return typeof ArrayBuffer>"u"?!1:Jf.working?Jf(Lf):Lf instanceof ArrayBuffer}Ra.isArrayBuffer=Gf;function Mf(Lf){return ud(Lf)==="[object DataView]"}Mf.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&Mf(new DataView(new ArrayBuffer(1),0,1));function Nf(Lf){return typeof DataView>"u"?!1:Mf.working?Mf(Lf):Lf instanceof DataView}Ra.isDataView=Nf;var Bf=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function Qf(Lf){return ud(Lf)==="[object SharedArrayBuffer]"}function Wf(Lf){return typeof Bf>"u"?!1:(typeof Qf.working>"u"&&(Qf.working=Qf(new Bf)),Qf.working?Qf(Lf):Lf instanceof Bf)}Ra.isSharedArrayBuffer=Wf;function yf(Lf){return ud(Lf)==="[object AsyncFunction]"}Ra.isAsyncFunction=yf;function hf(Lf){return ud(Lf)==="[object Map Iterator]"}Ra.isMapIterator=hf;function Rf(Lf){return ud(Lf)==="[object Set Iterator]"}Ra.isSetIterator=Rf;function jf(Lf){return ud(Lf)==="[object Generator]"}Ra.isGeneratorObject=jf;function Kf(Lf){return ud(Lf)==="[object WebAssembly.Module]"}Ra.isWebAssemblyCompiledModule=Kf;function Ff(Lf){return Td(Lf,cd)}Ra.isNumberObject=Ff;function wf(Lf){return Td(Lf,dd)}Ra.isStringObject=wf;function Yf(Lf){return Td(Lf,_d)}Ra.isBooleanObject=Yf;function uh(Lf){return od&&Td(Lf,Ed)}Ra.isBigIntObject=uh;function Uf(Lf){return ld&&Td(Lf,Ad)}Ra.isSymbolObject=Uf;function Cf(Lf){return Ff(Lf)||wf(Lf)||Yf(Lf)||uh(Lf)||Uf(Lf)}Ra.isBoxedPrimitive=Cf;function If(Lf){return typeof Uint8Array<"u"&&(Gf(Lf)||Wf(Lf))}Ra.isAnyArrayBuffer=If,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(Lf){Object.defineProperty(Ra,Lf,{enumerable:!1,value:function(){throw new Error(Lf+" is not supported in userland")}})})})(types);var isBufferBrowser=function(qa){return qa&&typeof qa=="object"&&typeof qa.copy=="function"&&typeof qa.fill=="function"&&typeof qa.readUInt8=="function"};(function(Ra){var qa={version:"v20.17.0",versions:{node:"20.17.0",acorn:"8.11.3",ada:"2.9.0",ares:"1.32.3",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.2.2",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.13+quic",simdutf:"5.3.0",tz:"2024a",undici:"6.19.2",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-209717d"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule internal/idna","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/streams/utils","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/idna.js","lib/internal/inspector_async_hook.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_f474754f-950f-4d2e-994a-c524574e8031",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.17.0 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_f474754f-950f-4d2e-994a-c524574e8031",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.10.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu22",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"604",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",GOROOT_1_20_X64:"/opt/hostedtoolcache/go/1.20.14/x64",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20240915.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.7/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",JOURNAL_STREAM:"8:5513",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.17.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",npm_config_npm_version:"10.8.2",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"10931482109",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"30f0792baaad6e1889d29d0c00ae240dfec216c4",GITHUB_BASE_REF:"",ImageOS:"ubuntu22",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.17.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_8327e18c-9985-4d8c-819f-743e4582b3aa",INVOCATION_ID:"facc399a086f481090bef1701fa117fb",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"438",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 7",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"30f0792baaad6e1889d29d0c00ae240dfec216c4",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.17.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_f474754f-950f-4d2e-994a-c524574e8031",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_f474754f-950f-4d2e-994a-c524574e8031",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.1.12297006",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",STATS_EXTP:"https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_f474754f-950f-4d2e-994a-c524574e8031",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.17.0/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2081,ppid:2080,execPath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}},ed={},td=Object.getOwnPropertyDescriptors||function(Qf){for(var Wf=Object.keys(Qf),yf={},hf=0;hf=hf)return Kf;switch(Kf){case"%s":return String(yf[Wf++]);case"%d":return Number(yf[Wf++]);case"%j":try{return JSON.stringify(yf[Wf++])}catch{return"[Circular]"}default:return Kf}}),jf=yf[Wf];Wf"u")return function(){return Ra.deprecate(Bf,Qf).apply(this,arguments)};var Wf=!1;function yf(){if(!Wf){if(qa.throwDeprecation)throw new Error(Qf);qa.traceDeprecation?console.trace(Qf):console.error(Qf),Wf=!0}return Bf.apply(this,arguments)}return yf};var sd={},od=/^$/;if(ed.NODE_DEBUG){var ld=ed.NODE_DEBUG;ld=ld.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),od=new RegExp("^"+ld+"$","i")}Ra.debuglog=function(Bf){if(Bf=Bf.toUpperCase(),!sd[Bf])if(od.test(Bf)){var Qf=qa.pid;sd[Bf]=function(){var Wf=Ra.format.apply(Ra,arguments);console.error("%s %d: %s",Bf,Qf,Wf)}}else sd[Bf]=function(){};return sd[Bf]};function ud(Bf,Qf){var Wf={seen:[],stylize:dd};return arguments.length>=3&&(Wf.depth=arguments[2]),arguments.length>=4&&(Wf.colors=arguments[3]),Md(Qf)?Wf.showHidden=Qf:Qf&&Ra._extend(Wf,Qf),qd(Wf.showHidden)&&(Wf.showHidden=!1),qd(Wf.depth)&&(Wf.depth=2),qd(Wf.colors)&&(Wf.colors=!1),qd(Wf.customInspect)&&(Wf.customInspect=!0),Wf.colors&&(Wf.stylize=cd),Ed(Wf,Bf,Wf.depth)}Ra.inspect=ud,ud.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},ud.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function cd(Bf,Qf){var Wf=ud.styles[Qf];return Wf?"\x1B["+ud.colors[Wf][0]+"m"+Bf+"\x1B["+ud.colors[Wf][1]+"m":Bf}function dd(Bf,Qf){return Bf}function _d(Bf){var Qf={};return Bf.forEach(function(Wf,yf){Qf[Wf]=!0}),Qf}function Ed(Bf,Qf,Wf){if(Bf.customInspect&&Qf&&bf(Qf.inspect)&&Qf.inspect!==Ra.inspect&&!(Qf.constructor&&Qf.constructor.prototype===Qf)){var yf=Qf.inspect(Wf,Bf);return Vd(yf)||(yf=Ed(Bf,yf,Wf)),yf}var hf=Ad(Bf,Qf);if(hf)return hf;var Rf=Object.keys(Qf),jf=_d(Rf);if(Bf.showHidden&&(Rf=Object.getOwnPropertyNames(Qf)),mf(Qf)&&(Rf.indexOf("message")>=0||Rf.indexOf("description")>=0))return Td(Qf);if(Rf.length===0){if(bf(Qf)){var Kf=Qf.name?": "+Qf.name:"";return Bf.stylize("[Function"+Kf+"]","special")}if(Kd(Qf))return Bf.stylize(RegExp.prototype.toString.call(Qf),"regexp");if(df(Qf))return Bf.stylize(Date.prototype.toString.call(Qf),"date");if(mf(Qf))return Td(Qf)}var Ff="",wf=!1,Yf=["{","}"];if(Od(Qf)&&(wf=!0,Yf=["[","]"]),bf(Qf)){var uh=Qf.name?": "+Qf.name:"";Ff=" [Function"+uh+"]"}if(Kd(Qf)&&(Ff=" "+RegExp.prototype.toString.call(Qf)),df(Qf)&&(Ff=" "+Date.prototype.toUTCString.call(Qf)),mf(Qf)&&(Ff=" "+Td(Qf)),Rf.length===0&&(!wf||Qf.length==0))return Yf[0]+Ff+Yf[1];if(Wf<0)return Kd(Qf)?Bf.stylize(RegExp.prototype.toString.call(Qf),"regexp"):Bf.stylize("[Object]","special");Bf.seen.push(Qf);var Uf;return wf?Uf=Id(Bf,Qf,Wf,jf,Rf):Uf=Rf.map(function(Cf){return Bd(Bf,Qf,Wf,jf,Cf,wf)}),Bf.seen.pop(),Rd(Uf,Ff,Yf)}function Ad(Bf,Qf){if(qd(Qf))return Bf.stylize("undefined","undefined");if(Vd(Qf)){var Wf="'"+JSON.stringify(Qf).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Bf.stylize(Wf,"string")}if(jd(Qf))return Bf.stylize(""+Qf,"number");if(Md(Qf))return Bf.stylize(""+Qf,"boolean");if(Ld(Qf))return Bf.stylize("null","null")}function Td(Bf){return"["+Error.prototype.toString.call(Bf)+"]"}function Id(Bf,Qf,Wf,yf,hf){for(var Rf=[],jf=0,Kf=Qf.length;jf-1&&(Rf?Kf=Kf.split(` -`).map(function(wf){return" "+wf}).join(` -`).slice(2):Kf=` -`+Kf.split(` -`).map(function(wf){return" "+wf}).join(` -`))):Kf=Bf.stylize("[Circular]","special")),qd(jf)){if(Rf&&hf.match(/^\d+$/))return Kf;jf=JSON.stringify(""+hf),jf.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(jf=jf.slice(1,-1),jf=Bf.stylize(jf,"name")):(jf=jf.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),jf=Bf.stylize(jf,"string"))}return jf+": "+Kf}function Rd(Bf,Qf,Wf){var yf=Bf.reduce(function(hf,Rf){return Rf.indexOf(` -`)>=0,hf+Rf.replace(/\u001b\[\d\d?m/g,"").length+1},0);return yf>60?Wf[0]+(Qf===""?"":Qf+` - `)+" "+Bf.join(`, - `)+" "+Wf[1]:Wf[0]+Qf+" "+Bf.join(", ")+" "+Wf[1]}Ra.types=types;function Od(Bf){return Array.isArray(Bf)}Ra.isArray=Od;function Md(Bf){return typeof Bf=="boolean"}Ra.isBoolean=Md;function Ld(Bf){return Bf===null}Ra.isNull=Ld;function Fd(Bf){return Bf==null}Ra.isNullOrUndefined=Fd;function jd(Bf){return typeof Bf=="number"}Ra.isNumber=jd;function Vd(Bf){return typeof Bf=="string"}Ra.isString=Vd;function Qd(Bf){return typeof Bf=="symbol"}Ra.isSymbol=Qd;function qd(Bf){return Bf===void 0}Ra.isUndefined=qd;function Kd(Bf){return Xd(Bf)&&_f(Bf)==="[object RegExp]"}Ra.isRegExp=Kd,Ra.types.isRegExp=Kd;function Xd(Bf){return typeof Bf=="object"&&Bf!==null}Ra.isObject=Xd;function df(Bf){return Xd(Bf)&&_f(Bf)==="[object Date]"}Ra.isDate=df,Ra.types.isDate=df;function mf(Bf){return Xd(Bf)&&(_f(Bf)==="[object Error]"||Bf instanceof Error)}Ra.isError=mf,Ra.types.isNativeError=mf;function bf(Bf){return typeof Bf=="function"}Ra.isFunction=bf;function pf(Bf){return Bf===null||typeof Bf=="boolean"||typeof Bf=="number"||typeof Bf=="string"||typeof Bf=="symbol"||typeof Bf>"u"}Ra.isPrimitive=pf,Ra.isBuffer=isBufferBrowser;function _f(Bf){return Object.prototype.toString.call(Bf)}function Tf(Bf){return Bf<10?"0"+Bf.toString(10):Bf.toString(10)}var kf=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function zf(){var Bf=new Date,Qf=[Tf(Bf.getHours()),Tf(Bf.getMinutes()),Tf(Bf.getSeconds())].join(":");return[Bf.getDate(),kf[Bf.getMonth()],Qf].join(" ")}Ra.log=function(){console.log("%s - %s",zf(),Ra.format.apply(Ra,arguments))},Ra.inherits=inherits_browserExports,Ra._extend=function(Bf,Qf){if(!Qf||!Xd(Qf))return Bf;for(var Wf=Object.keys(Qf),yf=Wf.length;yf--;)Bf[Wf[yf]]=Qf[Wf[yf]];return Bf};function Jf(Bf,Qf){return Object.prototype.hasOwnProperty.call(Bf,Qf)}var Gf=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;Ra.promisify=function(Qf){if(typeof Qf!="function")throw new TypeError('The "original" argument must be of type Function');if(Gf&&Qf[Gf]){var Wf=Qf[Gf];if(typeof Wf!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Wf,Gf,{value:Wf,enumerable:!1,writable:!1,configurable:!0}),Wf}function Wf(){for(var yf,hf,Rf=new Promise(function(Ff,wf){yf=Ff,hf=wf}),jf=[],Kf=0;Kf0?this.tail.next=Rd:this.head=Rd,this.tail=Rd,++this.length}},{key:"unshift",value:function(Bd){var Rd={data:Bd,next:this.head};this.length===0&&(this.tail=Rd),this.head=Rd,++this.length}},{key:"shift",value:function(){if(this.length!==0){var Bd=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,Bd}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(Bd){if(this.length===0)return"";for(var Rd=this.head,Od=""+Rd.data;Rd=Rd.next;)Od+=Bd+Rd.data;return Od}},{key:"concat",value:function(Bd){if(this.length===0)return cd.alloc(0);for(var Rd=cd.allocUnsafe(Bd>>>0),Od=this.head,Md=0;Od;)Ad(Od.data,Rd,Md),Md+=Od.data.length,Od=Od.next;return Rd}},{key:"consume",value:function(Bd,Rd){var Od;return BdLd.length?Ld.length:Bd;if(Fd===Ld.length?Md+=Ld:Md+=Ld.slice(0,Bd),Bd-=Fd,Bd===0){Fd===Ld.length?(++Od,Rd.next?this.head=Rd.next:this.head=this.tail=null):(this.head=Rd,Rd.data=Ld.slice(Fd));break}++Od}return this.length-=Od,Md}},{key:"_getBuffer",value:function(Bd){var Rd=cd.allocUnsafe(Bd),Od=this.head,Md=1;for(Od.data.copy(Rd),Bd-=Od.data.length;Od=Od.next;){var Ld=Od.data,Fd=Bd>Ld.length?Ld.length:Bd;if(Ld.copy(Rd,Rd.length-Bd,0,Fd),Bd-=Fd,Bd===0){Fd===Ld.length?(++Md,Od.next?this.head=Od.next:this.head=this.tail=null):(this.head=Od,Od.data=Ld.slice(Fd));break}++Md}return this.length-=Md,Rd}},{key:Ed,value:function(Bd,Rd){return _d(this,qa(qa({},Rd),{},{depth:0,customInspect:!1}))}}]),Td}(),buffer_list}var define_process_default$7={version:"v20.17.0",versions:{node:"20.17.0",acorn:"8.11.3",ada:"2.9.0",ares:"1.32.3",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.2.2",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.13+quic",simdutf:"5.3.0",tz:"2024a",undici:"6.19.2",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-209717d"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule internal/idna","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/streams/utils","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/idna.js","lib/internal/inspector_async_hook.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_f474754f-950f-4d2e-994a-c524574e8031",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.17.0 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_f474754f-950f-4d2e-994a-c524574e8031",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.10.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu22",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"604",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",GOROOT_1_20_X64:"/opt/hostedtoolcache/go/1.20.14/x64",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20240915.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.7/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",JOURNAL_STREAM:"8:5513",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.17.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",npm_config_npm_version:"10.8.2",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"10931482109",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"30f0792baaad6e1889d29d0c00ae240dfec216c4",GITHUB_BASE_REF:"",ImageOS:"ubuntu22",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.17.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_8327e18c-9985-4d8c-819f-743e4582b3aa",INVOCATION_ID:"facc399a086f481090bef1701fa117fb",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"438",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 7",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"30f0792baaad6e1889d29d0c00ae240dfec216c4",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.17.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_f474754f-950f-4d2e-994a-c524574e8031",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_f474754f-950f-4d2e-994a-c524574e8031",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.1.12297006",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",STATS_EXTP:"https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_f474754f-950f-4d2e-994a-c524574e8031",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.17.0/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2081,ppid:2080,execPath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};function destroy(Ra,qa){var ed=this,td=this._readableState&&this._readableState.destroyed,rd=this._writableState&&this._writableState.destroyed;return td||rd?(qa?qa(Ra):Ra&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,define_process_default$7.nextTick(emitErrorNT,this,Ra)):define_process_default$7.nextTick(emitErrorNT,this,Ra)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(Ra||null,function(sd){!qa&&sd?ed._writableState?ed._writableState.errorEmitted?define_process_default$7.nextTick(emitCloseNT,ed):(ed._writableState.errorEmitted=!0,define_process_default$7.nextTick(emitErrorAndCloseNT,ed,sd)):define_process_default$7.nextTick(emitErrorAndCloseNT,ed,sd):qa?(define_process_default$7.nextTick(emitCloseNT,ed),qa(sd)):define_process_default$7.nextTick(emitCloseNT,ed)}),this)}function emitErrorAndCloseNT(Ra,qa){emitErrorNT(Ra,qa),emitCloseNT(Ra)}function emitCloseNT(Ra){Ra._writableState&&!Ra._writableState.emitClose||Ra._readableState&&!Ra._readableState.emitClose||Ra.emit("close")}function undestroy(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function emitErrorNT(Ra,qa){Ra.emit("error",qa)}function errorOrDestroy(Ra,qa){var ed=Ra._readableState,td=Ra._writableState;ed&&ed.autoDestroy||td&&td.autoDestroy?Ra.destroy(qa):Ra.emit("error",qa)}var destroy_1={destroy,undestroy,errorOrDestroy},errorsBrowser={};function _inheritsLoose(Ra,qa){Ra.prototype=Object.create(qa.prototype),Ra.prototype.constructor=Ra,Ra.__proto__=qa}var codes={};function createErrorType(Ra,qa,ed){ed||(ed=Error);function td(sd,od,ld){return typeof qa=="string"?qa:qa(sd,od,ld)}var rd=function(sd){_inheritsLoose(od,sd);function od(ld,ud,cd){return sd.call(this,td(ld,ud,cd))||this}return od}(ed);rd.prototype.name=ed.name,rd.prototype.code=Ra,codes[Ra]=rd}function oneOf(Ra,qa){if(Array.isArray(Ra)){var ed=Ra.length;return Ra=Ra.map(function(td){return String(td)}),ed>2?"one of ".concat(qa," ").concat(Ra.slice(0,ed-1).join(", "),", or ")+Ra[ed-1]:ed===2?"one of ".concat(qa," ").concat(Ra[0]," or ").concat(Ra[1]):"of ".concat(qa," ").concat(Ra[0])}else return"of ".concat(qa," ").concat(String(Ra))}function startsWith(Ra,qa,ed){return Ra.substr(0,qa.length)===qa}function endsWith$1(Ra,qa,ed){return(ed===void 0||ed>Ra.length)&&(ed=Ra.length),Ra.substring(ed-qa.length,ed)===qa}function includes(Ra,qa,ed){return typeof ed!="number"&&(ed=0),ed+qa.length>Ra.length?!1:Ra.indexOf(qa,ed)!==-1}createErrorType("ERR_INVALID_OPT_VALUE",function(Ra,qa){return'The value "'+qa+'" is invalid for option "'+Ra+'"'},TypeError);createErrorType("ERR_INVALID_ARG_TYPE",function(Ra,qa,ed){var td;typeof qa=="string"&&startsWith(qa,"not ")?(td="must not be",qa=qa.replace(/^not /,"")):td="must be";var rd;if(endsWith$1(Ra," argument"))rd="The ".concat(Ra," ").concat(td," ").concat(oneOf(qa,"type"));else{var sd=includes(Ra,".")?"property":"argument";rd='The "'.concat(Ra,'" ').concat(sd," ").concat(td," ").concat(oneOf(qa,"type"))}return rd+=". Received type ".concat(typeof ed),rd},TypeError);createErrorType("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");createErrorType("ERR_METHOD_NOT_IMPLEMENTED",function(Ra){return"The "+Ra+" method is not implemented"});createErrorType("ERR_STREAM_PREMATURE_CLOSE","Premature close");createErrorType("ERR_STREAM_DESTROYED",function(Ra){return"Cannot call "+Ra+" after a stream was destroyed"});createErrorType("ERR_MULTIPLE_CALLBACK","Callback called multiple times");createErrorType("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");createErrorType("ERR_STREAM_WRITE_AFTER_END","write after end");createErrorType("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);createErrorType("ERR_UNKNOWN_ENCODING",function(Ra){return"Unknown encoding: "+Ra},TypeError);createErrorType("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");errorsBrowser.codes=codes;var ERR_INVALID_OPT_VALUE=errorsBrowser.codes.ERR_INVALID_OPT_VALUE;function highWaterMarkFrom(Ra,qa,ed){return Ra.highWaterMark!=null?Ra.highWaterMark:qa?Ra[ed]:null}function getHighWaterMark(Ra,qa,ed,td){var rd=highWaterMarkFrom(qa,td,ed);if(rd!=null){if(!(isFinite(rd)&&Math.floor(rd)===rd)||rd<0){var sd=td?ed:"highWaterMark";throw new ERR_INVALID_OPT_VALUE(sd,rd)}return Math.floor(rd)}return Ra.objectMode?16:16*1024}var state={getHighWaterMark},browser=deprecate;function deprecate(Ra,qa){if(config("noDeprecation"))return Ra;var ed=!1;function td(){if(!ed){if(config("throwDeprecation"))throw new Error(qa);config("traceDeprecation")?console.trace(qa):console.warn(qa),ed=!0}return Ra.apply(this,arguments)}return td}function config(Ra){try{if(!commonjsGlobal.localStorage)return!1}catch{return!1}var qa=commonjsGlobal.localStorage[Ra];return qa==null?!1:String(qa).toLowerCase()==="true"}var _stream_writable,hasRequired_stream_writable;function require_stream_writable(){if(hasRequired_stream_writable)return _stream_writable;hasRequired_stream_writable=1;var Ra={version:"v20.17.0",versions:{node:"20.17.0",acorn:"8.11.3",ada:"2.9.0",ares:"1.32.3",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.2.2",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.13+quic",simdutf:"5.3.0",tz:"2024a",undici:"6.19.2",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-209717d"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule internal/idna","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/streams/utils","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/idna.js","lib/internal/inspector_async_hook.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_f474754f-950f-4d2e-994a-c524574e8031",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.17.0 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_f474754f-950f-4d2e-994a-c524574e8031",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.10.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu22",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"604",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",GOROOT_1_20_X64:"/opt/hostedtoolcache/go/1.20.14/x64",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20240915.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.7/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",JOURNAL_STREAM:"8:5513",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.17.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",npm_config_npm_version:"10.8.2",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"10931482109",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"30f0792baaad6e1889d29d0c00ae240dfec216c4",GITHUB_BASE_REF:"",ImageOS:"ubuntu22",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.17.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_8327e18c-9985-4d8c-819f-743e4582b3aa",INVOCATION_ID:"facc399a086f481090bef1701fa117fb",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"438",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 7",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"30f0792baaad6e1889d29d0c00ae240dfec216c4",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.17.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_f474754f-950f-4d2e-994a-c524574e8031",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_f474754f-950f-4d2e-994a-c524574e8031",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.1.12297006",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",STATS_EXTP:"https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_f474754f-950f-4d2e-994a-c524574e8031",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.17.0/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2081,ppid:2080,execPath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};_stream_writable=qd;function qa(yf){var hf=this;this.next=null,this.entry=null,this.finish=function(){Wf(hf,yf)}}var ed;qd.WritableState=Vd;var td={deprecate:browser},rd=streamBrowser,sd=buffer.Buffer,od=(typeof commonjsGlobal<"u"?commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function ld(yf){return sd.from(yf)}function ud(yf){return sd.isBuffer(yf)||yf instanceof od}var cd=destroy_1,dd=state,_d=dd.getHighWaterMark,Ed=errorsBrowser.codes,Ad=Ed.ERR_INVALID_ARG_TYPE,Td=Ed.ERR_METHOD_NOT_IMPLEMENTED,Id=Ed.ERR_MULTIPLE_CALLBACK,Bd=Ed.ERR_STREAM_CANNOT_PIPE,Rd=Ed.ERR_STREAM_DESTROYED,Od=Ed.ERR_STREAM_NULL_VALUES,Md=Ed.ERR_STREAM_WRITE_AFTER_END,Ld=Ed.ERR_UNKNOWN_ENCODING,Fd=cd.errorOrDestroy;inherits_browserExports(qd,rd);function jd(){}function Vd(yf,hf,Rf){ed=ed||require_stream_duplex(),yf=yf||{},typeof Rf!="boolean"&&(Rf=hf instanceof ed),this.objectMode=!!yf.objectMode,Rf&&(this.objectMode=this.objectMode||!!yf.writableObjectMode),this.highWaterMark=_d(this,yf,"writableHighWaterMark",Rf),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var jf=yf.decodeStrings===!1;this.decodeStrings=!jf,this.defaultEncoding=yf.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Kf){Tf(hf,Kf)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=yf.emitClose!==!1,this.autoDestroy=!!yf.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new qa(this)}Vd.prototype.getBuffer=function(){for(var hf=this.bufferedRequest,Rf=[];hf;)Rf.push(hf),hf=hf.next;return Rf},function(){try{Object.defineProperty(Vd.prototype,"buffer",{get:td.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var Qd;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Qd=Function.prototype[Symbol.hasInstance],Object.defineProperty(qd,Symbol.hasInstance,{value:function(hf){return Qd.call(this,hf)?!0:this!==qd?!1:hf&&hf._writableState instanceof Vd}})):Qd=function(hf){return hf instanceof this};function qd(yf){ed=ed||require_stream_duplex();var hf=this instanceof ed;if(!hf&&!Qd.call(qd,this))return new qd(yf);this._writableState=new Vd(yf,this,hf),this.writable=!0,yf&&(typeof yf.write=="function"&&(this._write=yf.write),typeof yf.writev=="function"&&(this._writev=yf.writev),typeof yf.destroy=="function"&&(this._destroy=yf.destroy),typeof yf.final=="function"&&(this._final=yf.final)),rd.call(this)}qd.prototype.pipe=function(){Fd(this,new Bd)};function Kd(yf,hf){var Rf=new Md;Fd(yf,Rf),Ra.nextTick(hf,Rf)}function Xd(yf,hf,Rf,jf){var Kf;return Rf===null?Kf=new Od:typeof Rf!="string"&&!hf.objectMode&&(Kf=new Ad("chunk",["string","Buffer"],Rf)),Kf?(Fd(yf,Kf),Ra.nextTick(jf,Kf),!1):!0}qd.prototype.write=function(yf,hf,Rf){var jf=this._writableState,Kf=!1,Ff=!jf.objectMode&&ud(yf);return Ff&&!sd.isBuffer(yf)&&(yf=ld(yf)),typeof hf=="function"&&(Rf=hf,hf=null),Ff?hf="buffer":hf||(hf=jf.defaultEncoding),typeof Rf!="function"&&(Rf=jd),jf.ending?Kd(this,Rf):(Ff||Xd(this,jf,yf,Rf))&&(jf.pendingcb++,Kf=mf(this,jf,Ff,yf,hf,Rf)),Kf},qd.prototype.cork=function(){this._writableState.corked++},qd.prototype.uncork=function(){var yf=this._writableState;yf.corked&&(yf.corked--,!yf.writing&&!yf.corked&&!yf.bufferProcessing&&yf.bufferedRequest&&Jf(this,yf))},qd.prototype.setDefaultEncoding=function(hf){if(typeof hf=="string"&&(hf=hf.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((hf+"").toLowerCase())>-1))throw new Ld(hf);return this._writableState.defaultEncoding=hf,this},Object.defineProperty(qd.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function df(yf,hf,Rf){return!yf.objectMode&&yf.decodeStrings!==!1&&typeof hf=="string"&&(hf=sd.from(hf,Rf)),hf}Object.defineProperty(qd.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function mf(yf,hf,Rf,jf,Kf,Ff){if(!Rf){var wf=df(hf,jf,Kf);jf!==wf&&(Rf=!0,Kf="buffer",jf=wf)}var Yf=hf.objectMode?1:jf.length;hf.length+=Yf;var uh=hf.length */var hasRequiredSafeBuffer;function requireSafeBuffer(){return hasRequiredSafeBuffer||(hasRequiredSafeBuffer=1,function(Ra,qa){var ed=buffer,td=ed.Buffer;function rd(od,ld){for(var ud in od)ld[ud]=od[ud]}td.from&&td.alloc&&td.allocUnsafe&&td.allocUnsafeSlow?Ra.exports=ed:(rd(ed,qa),qa.Buffer=sd);function sd(od,ld,ud){return td(od,ld,ud)}sd.prototype=Object.create(td.prototype),rd(td,sd),sd.from=function(od,ld,ud){if(typeof od=="number")throw new TypeError("Argument must not be a number");return td(od,ld,ud)},sd.alloc=function(od,ld,ud){if(typeof od!="number")throw new TypeError("Argument must be a number");var cd=td(od);return ld!==void 0?typeof ud=="string"?cd.fill(ld,ud):cd.fill(ld):cd.fill(0),cd},sd.allocUnsafe=function(od){if(typeof od!="number")throw new TypeError("Argument must be a number");return td(od)},sd.allocUnsafeSlow=function(od){if(typeof od!="number")throw new TypeError("Argument must be a number");return ed.SlowBuffer(od)}}(safeBuffer,safeBuffer.exports)),safeBuffer.exports}var hasRequiredString_decoder;function requireString_decoder(){if(hasRequiredString_decoder)return string_decoder;hasRequiredString_decoder=1;var Ra=requireSafeBuffer().Buffer,qa=Ra.isEncoding||function(Rd){switch(Rd=""+Rd,Rd&&Rd.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function ed(Rd){if(!Rd)return"utf8";for(var Od;;)switch(Rd){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return Rd;default:if(Od)return;Rd=(""+Rd).toLowerCase(),Od=!0}}function td(Rd){var Od=ed(Rd);if(typeof Od!="string"&&(Ra.isEncoding===qa||!qa(Rd)))throw new Error("Unknown encoding: "+Rd);return Od||Rd}string_decoder.StringDecoder=rd;function rd(Rd){this.encoding=td(Rd);var Od;switch(this.encoding){case"utf16le":this.text=_d,this.end=Ed,Od=4;break;case"utf8":this.fillLast=ud,Od=4;break;case"base64":this.text=Ad,this.end=Td,Od=3;break;default:this.write=Id,this.end=Bd;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Ra.allocUnsafe(Od)}rd.prototype.write=function(Rd){if(Rd.length===0)return"";var Od,Md;if(this.lastNeed){if(Od=this.fillLast(Rd),Od===void 0)return"";Md=this.lastNeed,this.lastNeed=0}else Md=0;return Md>5===6?2:Rd>>4===14?3:Rd>>3===30?4:Rd>>6===2?-1:-2}function od(Rd,Od,Md){var Ld=Od.length-1;if(Ld=0?(Fd>0&&(Rd.lastNeed=Fd-1),Fd):--Ld=0?(Fd>0&&(Rd.lastNeed=Fd-2),Fd):--Ld=0?(Fd>0&&(Fd===2?Fd=0:Rd.lastNeed=Fd-3),Fd):0))}function ld(Rd,Od,Md){if((Od[0]&192)!==128)return Rd.lastNeed=0,"�";if(Rd.lastNeed>1&&Od.length>1){if((Od[1]&192)!==128)return Rd.lastNeed=1,"�";if(Rd.lastNeed>2&&Od.length>2&&(Od[2]&192)!==128)return Rd.lastNeed=2,"�"}}function ud(Rd){var Od=this.lastTotal-this.lastNeed,Md=ld(this,Rd);if(Md!==void 0)return Md;if(this.lastNeed<=Rd.length)return Rd.copy(this.lastChar,Od,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);Rd.copy(this.lastChar,Od,0,Rd.length),this.lastNeed-=Rd.length}function cd(Rd,Od){var Md=od(this,Rd,Od);if(!this.lastNeed)return Rd.toString("utf8",Od);this.lastTotal=Md;var Ld=Rd.length-(Md-this.lastNeed);return Rd.copy(this.lastChar,0,Ld),Rd.toString("utf8",Od,Ld)}function dd(Rd){var Od=Rd&&Rd.length?this.write(Rd):"";return this.lastNeed?Od+"�":Od}function _d(Rd,Od){if((Rd.length-Od)%2===0){var Md=Rd.toString("utf16le",Od);if(Md){var Ld=Md.charCodeAt(Md.length-1);if(Ld>=55296&&Ld<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=Rd[Rd.length-2],this.lastChar[1]=Rd[Rd.length-1],Md.slice(0,-1)}return Md}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=Rd[Rd.length-1],Rd.toString("utf16le",Od,Rd.length-1)}function Ed(Rd){var Od=Rd&&Rd.length?this.write(Rd):"";if(this.lastNeed){var Md=this.lastTotal-this.lastNeed;return Od+this.lastChar.toString("utf16le",0,Md)}return Od}function Ad(Rd,Od){var Md=(Rd.length-Od)%3;return Md===0?Rd.toString("base64",Od):(this.lastNeed=3-Md,this.lastTotal=3,Md===1?this.lastChar[0]=Rd[Rd.length-1]:(this.lastChar[0]=Rd[Rd.length-2],this.lastChar[1]=Rd[Rd.length-1]),Rd.toString("base64",Od,Rd.length-Md))}function Td(Rd){var Od=Rd&&Rd.length?this.write(Rd):"";return this.lastNeed?Od+this.lastChar.toString("base64",0,3-this.lastNeed):Od}function Id(Rd){return Rd.toString(this.encoding)}function Bd(Rd){return Rd&&Rd.length?this.write(Rd):""}return string_decoder}var ERR_STREAM_PREMATURE_CLOSE=errorsBrowser.codes.ERR_STREAM_PREMATURE_CLOSE;function once$2(Ra){var qa=!1;return function(){if(!qa){qa=!0;for(var ed=arguments.length,td=new Array(ed),rd=0;rd0)if(typeof wf!="string"&&!Cf.objectMode&&Object.getPrototypeOf(wf)!==rd.prototype&&(wf=od(wf)),uh)Cf.endEmitted?jd(Ff,new Od):df(Ff,Cf,wf,!0);else if(Cf.ended)jd(Ff,new Bd);else{if(Cf.destroyed)return!1;Cf.reading=!1,Cf.decoder&&!Yf?(wf=Cf.decoder.write(wf),Cf.objectMode||wf.length!==0?df(Ff,Cf,wf,!1):Jf(Ff,Cf)):df(Ff,Cf,wf,!1)}else uh||(Cf.reading=!1,Jf(Ff,Cf))}return!Cf.ended&&(Cf.length=bf?Ff=bf:(Ff--,Ff|=Ff>>>1,Ff|=Ff>>>2,Ff|=Ff>>>4,Ff|=Ff>>>8,Ff|=Ff>>>16,Ff++),Ff}function _f(Ff,wf){return Ff<=0||wf.length===0&&wf.ended?0:wf.objectMode?1:Ff!==Ff?wf.flowing&&wf.length?wf.buffer.head.data.length:wf.length:(Ff>wf.highWaterMark&&(wf.highWaterMark=pf(Ff)),Ff<=wf.length?Ff:wf.ended?wf.length:(wf.needReadable=!0,0))}Kd.prototype.read=function(Ff){cd("read",Ff),Ff=parseInt(Ff,10);var wf=this._readableState,Yf=Ff;if(Ff!==0&&(wf.emittedReadable=!1),Ff===0&&wf.needReadable&&((wf.highWaterMark!==0?wf.length>=wf.highWaterMark:wf.length>0)||wf.ended))return cd("read: emitReadable",wf.length,wf.ended),wf.length===0&&wf.ended?Rf(this):kf(this),null;if(Ff=_f(Ff,wf),Ff===0&&wf.ended)return wf.length===0&&Rf(this),null;var uh=wf.needReadable;cd("need readable",uh),(wf.length===0||wf.length-Ff0?Uf=hf(Ff,wf):Uf=null,Uf===null?(wf.needReadable=wf.length<=wf.highWaterMark,Ff=0):(wf.length-=Ff,wf.awaitDrain=0),wf.length===0&&(wf.ended||(wf.needReadable=!0),Yf!==Ff&&wf.ended&&Rf(this)),Uf!==null&&this.emit("data",Uf),Uf};function Tf(Ff,wf){if(cd("onEofChunk"),!wf.ended){if(wf.decoder){var Yf=wf.decoder.end();Yf&&Yf.length&&(wf.buffer.push(Yf),wf.length+=wf.objectMode?1:Yf.length)}wf.ended=!0,wf.sync?kf(Ff):(wf.needReadable=!1,wf.emittedReadable||(wf.emittedReadable=!0,zf(Ff)))}}function kf(Ff){var wf=Ff._readableState;cd("emitReadable",wf.needReadable,wf.emittedReadable),wf.needReadable=!1,wf.emittedReadable||(cd("emitReadable",wf.flowing),wf.emittedReadable=!0,Ra.nextTick(zf,Ff))}function zf(Ff){var wf=Ff._readableState;cd("emitReadable_",wf.destroyed,wf.length,wf.ended),!wf.destroyed&&(wf.length||wf.ended)&&(Ff.emit("readable"),wf.emittedReadable=!1),wf.needReadable=!wf.flowing&&!wf.ended&&wf.length<=wf.highWaterMark,yf(Ff)}function Jf(Ff,wf){wf.readingMore||(wf.readingMore=!0,Ra.nextTick(Gf,Ff,wf))}function Gf(Ff,wf){for(;!wf.reading&&!wf.ended&&(wf.length1&&Kf(uh.pipes,Ff)!==-1)&&!hh&&(cd("false write response, pause",uh.awaitDrain),uh.awaitDrain++),Yf.pause())}function ph(Wh){cd("onerror",Wh),kh(),Ff.removeListener("error",ph),ed(Ff,"error")===0&&jd(Ff,Wh)}Qd(Ff,"error",ph);function vh(){Ff.removeListener("finish",qh),kh()}Ff.once("close",vh);function qh(){cd("onfinish"),Ff.removeListener("close",vh),kh()}Ff.once("finish",qh);function kh(){cd("unpipe"),Yf.unpipe(Ff)}return Ff.emit("pipe",Yf),uh.flowing||(cd("pipe resume"),Yf.resume()),Ff};function Mf(Ff){return function(){var Yf=Ff._readableState;cd("pipeOnDrain",Yf.awaitDrain),Yf.awaitDrain&&Yf.awaitDrain--,Yf.awaitDrain===0&&ed(Ff,"data")&&(Yf.flowing=!0,yf(Ff))}}Kd.prototype.unpipe=function(Ff){var wf=this._readableState,Yf={hasUnpiped:!1};if(wf.pipesCount===0)return this;if(wf.pipesCount===1)return Ff&&Ff!==wf.pipes?this:(Ff||(Ff=wf.pipes),wf.pipes=null,wf.pipesCount=0,wf.flowing=!1,Ff&&Ff.emit("unpipe",this,Yf),this);if(!Ff){var uh=wf.pipes,Uf=wf.pipesCount;wf.pipes=null,wf.pipesCount=0,wf.flowing=!1;for(var Cf=0;Cf0,uh.flowing!==!1&&this.resume()):Ff==="readable"&&!uh.endEmitted&&!uh.readableListening&&(uh.readableListening=uh.needReadable=!0,uh.flowing=!1,uh.emittedReadable=!1,cd("on readable",uh.length,uh.reading),uh.length?kf(this):uh.reading||Ra.nextTick(Bf,this)),Yf},Kd.prototype.addListener=Kd.prototype.on,Kd.prototype.removeListener=function(Ff,wf){var Yf=td.prototype.removeListener.call(this,Ff,wf);return Ff==="readable"&&Ra.nextTick(Nf,this),Yf},Kd.prototype.removeAllListeners=function(Ff){var wf=td.prototype.removeAllListeners.apply(this,arguments);return(Ff==="readable"||Ff===void 0)&&Ra.nextTick(Nf,this),wf};function Nf(Ff){var wf=Ff._readableState;wf.readableListening=Ff.listenerCount("readable")>0,wf.resumeScheduled&&!wf.paused?wf.flowing=!0:Ff.listenerCount("data")>0&&Ff.resume()}function Bf(Ff){cd("readable nexttick read 0"),Ff.read(0)}Kd.prototype.resume=function(){var Ff=this._readableState;return Ff.flowing||(cd("resume"),Ff.flowing=!Ff.readableListening,Qf(this,Ff)),Ff.paused=!1,this};function Qf(Ff,wf){wf.resumeScheduled||(wf.resumeScheduled=!0,Ra.nextTick(Wf,Ff,wf))}function Wf(Ff,wf){cd("resume",wf.reading),wf.reading||Ff.read(0),wf.resumeScheduled=!1,Ff.emit("resume"),yf(Ff),wf.flowing&&!wf.reading&&Ff.read(0)}Kd.prototype.pause=function(){return cd("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(cd("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function yf(Ff){var wf=Ff._readableState;for(cd("flow",wf.flowing);wf.flowing&&Ff.read()!==null;);}Kd.prototype.wrap=function(Ff){var wf=this,Yf=this._readableState,uh=!1;Ff.on("end",function(){if(cd("wrapped end"),Yf.decoder&&!Yf.ended){var If=Yf.decoder.end();If&&If.length&&wf.push(If)}wf.push(null)}),Ff.on("data",function(If){if(cd("wrapped data"),Yf.decoder&&(If=Yf.decoder.write(If)),!(Yf.objectMode&&If==null)&&!(!Yf.objectMode&&(!If||!If.length))){var Lf=wf.push(If);Lf||(uh=!0,Ff.pause())}});for(var Uf in Ff)this[Uf]===void 0&&typeof Ff[Uf]=="function"&&(this[Uf]=function(Lf){return function(){return Ff[Lf].apply(Ff,arguments)}}(Uf));for(var Cf=0;Cf=wf.length?(wf.decoder?Yf=wf.buffer.join(""):wf.buffer.length===1?Yf=wf.buffer.first():Yf=wf.buffer.concat(wf.length),wf.buffer.clear()):Yf=wf.buffer.consume(Ff,wf.decoder),Yf}function Rf(Ff){var wf=Ff._readableState;cd("endReadable",wf.endEmitted),wf.endEmitted||(wf.ended=!0,Ra.nextTick(jf,wf,Ff))}function jf(Ff,wf){if(cd("endReadableNT",Ff.endEmitted,Ff.length),!Ff.endEmitted&&Ff.length===0&&(Ff.endEmitted=!0,wf.readable=!1,wf.emit("end"),Ff.autoDestroy)){var Yf=wf._writableState;(!Yf||Yf.autoDestroy&&Yf.finished)&&wf.destroy()}}typeof Symbol=="function"&&(Kd.from=function(Ff,wf){return Fd===void 0&&(Fd=requireFromBrowser()),Fd(Kd,Ff,wf)});function Kf(Ff,wf){for(var Yf=0,uh=Ff.length;Yf0;return destroyer(od,ud,cd,function(dd){rd||(rd=dd),dd&&sd.forEach(call),!ud&&(sd.forEach(call),td(rd))})});return qa.reduce(pipe)}var pipeline_1=pipeline$1,streamBrowserify=Stream$1,EE=eventsExports.EventEmitter,inherits$2=inherits_browserExports;inherits$2(Stream$1,EE);Stream$1.Readable=require_stream_readable();Stream$1.Writable=require_stream_writable();Stream$1.Duplex=require_stream_duplex();Stream$1.Transform=_stream_transform;Stream$1.PassThrough=_stream_passthrough;Stream$1.finished=endOfStream;Stream$1.pipeline=pipeline_1;Stream$1.Stream=Stream$1;function Stream$1(){EE.call(this)}Stream$1.prototype.pipe=function(Ra,qa){var ed=this;function td(dd){Ra.writable&&Ra.write(dd)===!1&&ed.pause&&ed.pause()}ed.on("data",td);function rd(){ed.readable&&ed.resume&&ed.resume()}Ra.on("drain",rd),!Ra._isStdio&&(!qa||qa.end!==!1)&&(ed.on("end",od),ed.on("close",ld));var sd=!1;function od(){sd||(sd=!0,Ra.end())}function ld(){sd||(sd=!0,typeof Ra.destroy=="function"&&Ra.destroy())}function ud(dd){if(cd(),EE.listenerCount(this,"error")===0)throw dd}ed.on("error",ud),Ra.on("error",ud);function cd(){ed.removeListener("data",td),Ra.removeListener("drain",rd),ed.removeListener("end",od),ed.removeListener("close",ld),ed.removeListener("error",ud),Ra.removeListener("error",ud),ed.removeListener("end",cd),ed.removeListener("close",cd),Ra.removeListener("close",cd)}return ed.on("end",cd),ed.on("close",cd),Ra.on("close",cd),Ra.emit("pipe",ed),Ra};var define_process_default$6={version:"v20.17.0",versions:{node:"20.17.0",acorn:"8.11.3",ada:"2.9.0",ares:"1.32.3",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.2.2",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.13+quic",simdutf:"5.3.0",tz:"2024a",undici:"6.19.2",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-209717d"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule internal/idna","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/streams/utils","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/idna.js","lib/internal/inspector_async_hook.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_f474754f-950f-4d2e-994a-c524574e8031",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.17.0 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_f474754f-950f-4d2e-994a-c524574e8031",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.10.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu22",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"604",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",GOROOT_1_20_X64:"/opt/hostedtoolcache/go/1.20.14/x64",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20240915.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.7/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",JOURNAL_STREAM:"8:5513",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.17.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",npm_config_npm_version:"10.8.2",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"10931482109",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"30f0792baaad6e1889d29d0c00ae240dfec216c4",GITHUB_BASE_REF:"",ImageOS:"ubuntu22",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.17.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_8327e18c-9985-4d8c-819f-743e4582b3aa",INVOCATION_ID:"facc399a086f481090bef1701fa117fb",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"438",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 7",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"30f0792baaad6e1889d29d0c00ae240dfec216c4",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.17.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_f474754f-950f-4d2e-994a-c524574e8031",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_f474754f-950f-4d2e-994a-c524574e8031",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.1.12297006",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",STATS_EXTP:"https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_f474754f-950f-4d2e-994a-c524574e8031",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.17.0/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2081,ppid:2080,execPath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};function apply(Ra,...qa){return(...ed)=>Ra(...qa,...ed)}function initialParams(Ra){return function(...qa){var ed=qa.pop();return Ra.call(this,qa,ed)}}var hasQueueMicrotask=typeof queueMicrotask=="function"&&queueMicrotask,hasSetImmediate=typeof setImmediate=="function"&&setImmediate,hasNextTick=typeof define_process_default$6=="object"&&typeof define_process_default$6.nextTick=="function";function fallback(Ra){setTimeout(Ra,0)}function wrap(Ra){return(qa,...ed)=>Ra(()=>qa(...ed))}var _defer$1;hasQueueMicrotask?_defer$1=queueMicrotask:hasSetImmediate?_defer$1=setImmediate:hasNextTick?_defer$1=define_process_default$6.nextTick:_defer$1=fallback;var setImmediate$1$1=wrap(_defer$1);function asyncify(Ra){return isAsync(Ra)?function(...qa){const ed=qa.pop(),td=Ra.apply(this,qa);return handlePromise(td,ed)}:initialParams(function(qa,ed){var td;try{td=Ra.apply(this,qa)}catch(rd){return ed(rd)}if(td&&typeof td.then=="function")return handlePromise(td,ed);ed(null,td)})}function handlePromise(Ra,qa){return Ra.then(ed=>{invokeCallback(qa,null,ed)},ed=>{invokeCallback(qa,ed&&(ed instanceof Error||ed.message)?ed:new Error(ed))})}function invokeCallback(Ra,qa,ed){try{Ra(qa,ed)}catch(td){setImmediate$1$1(rd=>{throw rd},td)}}function isAsync(Ra){return Ra[Symbol.toStringTag]==="AsyncFunction"}function isAsyncGenerator(Ra){return Ra[Symbol.toStringTag]==="AsyncGenerator"}function isAsyncIterable(Ra){return typeof Ra[Symbol.asyncIterator]=="function"}function wrapAsync(Ra){if(typeof Ra!="function")throw new Error("expected a function");return isAsync(Ra)?asyncify(Ra):Ra}function awaitify(Ra,qa){if(qa||(qa=Ra.length),!qa)throw new Error("arity is undefined");function ed(...td){return typeof td[qa-1]=="function"?Ra.apply(this,td):new Promise((rd,sd)=>{td[qa-1]=(od,...ld)=>{if(od)return sd(od);rd(ld.length>1?ld:ld[0])},Ra.apply(this,td)})}return ed}function applyEach$1(Ra){return function(ed,...td){return awaitify(function(sd){var od=this;return Ra(ed,(ld,ud)=>{wrapAsync(ld).apply(od,td.concat(ud))},sd)})}}function _asyncMap(Ra,qa,ed,td){qa=qa||[];var rd=[],sd=0,od=wrapAsync(ed);return Ra(qa,(ld,ud,cd)=>{var dd=sd++;od(ld,(_d,Ed)=>{rd[dd]=Ed,cd(_d)})},ld=>{td(ld,rd)})}function isArrayLike(Ra){return Ra&&typeof Ra.length=="number"&&Ra.length>=0&&Ra.length%1===0}const breakLoop={};function once(Ra){function qa(...ed){if(Ra!==null){var td=Ra;Ra=null,td.apply(this,ed)}}return Object.assign(qa,Ra),qa}function getIterator(Ra){return Ra[Symbol.iterator]&&Ra[Symbol.iterator]()}function createArrayIterator(Ra){var qa=-1,ed=Ra.length;return function(){return++qa=qa||od||rd||(od=!0,Ra.next().then(({value:Ed,done:Ad})=>{if(!(sd||rd)){if(od=!1,Ad){rd=!0,ld<=0&&td(null);return}ld++,ed(Ed,ud,dd),ud++,cd()}}).catch(_d))}function dd(Ed,Ad){if(ld-=1,!sd){if(Ed)return _d(Ed);if(Ed===!1){rd=!0,sd=!0;return}if(Ad===breakLoop||rd&&ld<=0)return rd=!0,td(null);cd()}}function _d(Ed){sd||(od=!1,rd=!0,td(Ed))}cd()}var eachOfLimit$2=Ra=>(qa,ed,td)=>{if(td=once(td),Ra<=0)throw new RangeError("concurrency limit cannot be less than 1");if(!qa)return td(null);if(isAsyncGenerator(qa))return asyncEachOfLimit(qa,Ra,ed,td);if(isAsyncIterable(qa))return asyncEachOfLimit(qa[Symbol.asyncIterator](),Ra,ed,td);var rd=createIterator(qa),sd=!1,od=!1,ld=0,ud=!1;function cd(_d,Ed){if(!od)if(ld-=1,_d)sd=!0,td(_d);else if(_d===!1)sd=!0,od=!0;else{if(Ed===breakLoop||sd&&ld<=0)return sd=!0,td(null);ud||dd()}}function dd(){for(ud=!0;ld1?rd:rd[0])}return ed[PROMISE_SYMBOL]=new Promise((td,rd)=>{Ra=td,qa=rd}),ed}function auto(Ra,qa,ed){typeof qa!="number"&&(ed=qa,qa=null),ed=once(ed||promiseCallback());var td=Object.keys(Ra).length;if(!td)return ed(null);qa||(qa=td);var rd={},sd=0,od=!1,ld=!1,ud=Object.create(null),cd=[],dd=[],_d={};Object.keys(Ra).forEach(Md=>{var Ld=Ra[Md];if(!Array.isArray(Ld)){Ed(Md,[Ld]),dd.push(Md);return}var Fd=Ld.slice(0,Ld.length-1),jd=Fd.length;if(jd===0){Ed(Md,Ld),dd.push(Md);return}_d[Md]=jd,Fd.forEach(Vd=>{if(!Ra[Vd])throw new Error("async.auto task `"+Md+"` has a non-existent dependency `"+Vd+"` in "+Fd.join(", "));Td(Vd,()=>{jd--,jd===0&&Ed(Md,Ld)})})}),Rd(),Ad();function Ed(Md,Ld){cd.push(()=>Bd(Md,Ld))}function Ad(){if(!od){if(cd.length===0&&sd===0)return ed(null,rd);for(;cd.length&&sdFd()),Ad()}function Bd(Md,Ld){if(!ld){var Fd=onlyOnce((Vd,...Qd)=>{if(sd--,Vd===!1){od=!0;return}if(Qd.length<2&&([Qd]=Qd),Vd){var qd={};if(Object.keys(rd).forEach(Kd=>{qd[Kd]=rd[Kd]}),qd[Md]=Qd,ld=!0,ud=Object.create(null),od)return;ed(Vd,qd)}else rd[Md]=Qd,Id(Md)});sd++;var jd=wrapAsync(Ld[Ld.length-1]);Ld.length>1?jd(rd,Fd):jd(Fd)}}function Rd(){for(var Md,Ld=0;dd.length;)Md=dd.pop(),Ld++,Od(Md).forEach(Fd=>{--_d[Fd]===0&&dd.push(Fd)});if(Ld!==td)throw new Error("async.auto cannot execute tasks due to a recursive dependency")}function Od(Md){var Ld=[];return Object.keys(Ra).forEach(Fd=>{const jd=Ra[Fd];Array.isArray(jd)&&jd.indexOf(Md)>=0&&Ld.push(Fd)}),Ld}return ed[PROMISE_SYMBOL]}var FN_ARGS=/^(?:async\s)?(?:function)?\s*(?:\w+\s*)?\(([^)]+)\)(?:\s*{)/,ARROW_FN_ARGS=/^(?:async\s)?\s*(?:\(\s*)?((?:[^)=\s]\s*)*)(?:\)\s*)?=>/,FN_ARG_SPLIT=/,/,FN_ARG=/(=.+)?(\s*)$/;function stripComments(Ra){let qa="",ed=0,td=Ra.indexOf("*/");for(;ednd)throw new RangeError('The value "'+qf+'" is invalid for option "size"');var wf=new Uint8Array(qf);return Object.setPrototypeOf(wf,ud.prototype),wf}function ud(qf,wf,Rf){if(typeof qf=="number"){if(typeof wf=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return fd(qf)}return cd(qf,wf,Rf)}ud.poolSize=8192;function cd(qf,wf,Rf){if(typeof qf=="string")return Td(qf,wf);if(ArrayBuffer.isView(qf))return Sd(qf);if(qf==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof qf);if(Df(qf,ArrayBuffer)||qf&&Df(qf.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Df(qf,SharedArrayBuffer)||qf&&Df(qf.buffer,SharedArrayBuffer)))return Dd(qf,wf,Rf);if(typeof qf=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var jf=qf.valueOf&&qf.valueOf();if(jf!=null&&jf!==qf)return ud.from(jf,wf,Rf);var lh=Ld(qf);if(lh)return lh;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof qf[Symbol.toPrimitive]=="function")return ud.from(qf[Symbol.toPrimitive]("string"),wf,Rf);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof qf)}ud.from=function(qf,wf,Rf){return cd(qf,wf,Rf)},Object.setPrototypeOf(ud.prototype,Uint8Array.prototype),Object.setPrototypeOf(ud,Uint8Array);function dd(qf){if(typeof qf!="number")throw new TypeError('"size" argument must be of type number');if(qf<0)throw new RangeError('The value "'+qf+'" is invalid for option "size"')}function pd(qf,wf,Rf){return dd(qf),qf<=0?sd(qf):wf!==void 0?typeof Rf=="string"?sd(qf).fill(wf,Rf):sd(qf).fill(wf):sd(qf)}ud.alloc=function(qf,wf,Rf){return pd(qf,wf,Rf)};function fd(qf){return dd(qf),sd(qf<0?0:Rd(qf)|0)}ud.allocUnsafe=function(qf){return fd(qf)},ud.allocUnsafeSlow=function(qf){return fd(qf)};function Td(qf,wf){if((typeof wf!="string"||wf==="")&&(wf="utf8"),!ud.isEncoding(wf))throw new TypeError("Unknown encoding: "+wf);var Rf=Md(qf,wf)|0,jf=sd(Rf),lh=jf.write(qf,wf);return lh!==Rf&&(jf=jf.slice(0,lh)),jf}function Ad(qf){for(var wf=qf.length<0?0:Rd(qf.length)|0,Rf=sd(wf),jf=0;jf=nd)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+nd.toString(16)+" bytes");return qf|0}function Od(qf){return+qf!=qf&&(qf=0),ud.alloc(+qf)}ud.isBuffer=function(wf){return wf!=null&&wf._isBuffer===!0&&wf!==ud.prototype},ud.compare=function(wf,Rf){if(Df(wf,Uint8Array)&&(wf=ud.from(wf,wf.offset,wf.byteLength)),Df(Rf,Uint8Array)&&(Rf=ud.from(Rf,Rf.offset,Rf.byteLength)),!ud.isBuffer(wf)||!ud.isBuffer(Rf))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(wf===Rf)return 0;for(var jf=wf.length,lh=Rf.length,_h=0,ih=Math.min(jf,lh);_hlh.length?ud.from(ih).copy(lh,_h):Uint8Array.prototype.set.call(lh,ih,_h);else if(ud.isBuffer(ih))ih.copy(lh,_h);else throw new TypeError('"list" argument must be an Array of Buffers');_h+=ih.length}return lh};function Md(qf,wf){if(ud.isBuffer(qf))return qf.length;if(ArrayBuffer.isView(qf)||Df(qf,ArrayBuffer))return qf.byteLength;if(typeof qf!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof qf);var Rf=qf.length,jf=arguments.length>2&&arguments[2]===!0;if(!jf&&Rf===0)return 0;for(var lh=!1;;)switch(wf){case"ascii":case"latin1":case"binary":return Rf;case"utf8":case"utf-8":return gf(qf).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Rf*2;case"hex":return Rf>>>1;case"base64":return Qf(qf).length;default:if(lh)return jf?-1:gf(qf).length;wf=(""+wf).toLowerCase(),lh=!0}}ud.byteLength=Md;function jd(qf,wf,Rf){var jf=!1;if((wf===void 0||wf<0)&&(wf=0),wf>this.length||((Rf===void 0||Rf>this.length)&&(Rf=this.length),Rf<=0)||(Rf>>>=0,wf>>>=0,Rf<=wf))return"";for(qf||(qf="utf8");;)switch(qf){case"hex":return Yf(this,wf,Rf);case"utf8":case"utf-8":return Ef(this,wf,Rf);case"ascii":return xf(this,wf,Rf);case"latin1":case"binary":return Bf(this,wf,Rf);case"base64":return bf(this,wf,Rf);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return eh(this,wf,Rf);default:if(jf)throw new TypeError("Unknown encoding: "+qf);qf=(qf+"").toLowerCase(),jf=!0}}ud.prototype._isBuffer=!0;function Ud(qf,wf,Rf){var jf=qf[wf];qf[wf]=qf[Rf],qf[Rf]=jf}ud.prototype.swap16=function(){var wf=this.length;if(wf%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Rf=0;RfRf&&(wf+=" ... "),""},rd&&(ud.prototype[rd]=ud.prototype.inspect),ud.prototype.compare=function(wf,Rf,jf,lh,_h){if(Df(wf,Uint8Array)&&(wf=ud.from(wf,wf.offset,wf.byteLength)),!ud.isBuffer(wf))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof wf);if(Rf===void 0&&(Rf=0),jf===void 0&&(jf=wf?wf.length:0),lh===void 0&&(lh=0),_h===void 0&&(_h=this.length),Rf<0||jf>wf.length||lh<0||_h>this.length)throw new RangeError("out of range index");if(lh>=_h&&Rf>=jf)return 0;if(lh>=_h)return-1;if(Rf>=jf)return 1;if(Rf>>>=0,jf>>>=0,lh>>>=0,_h>>>=0,this===wf)return 0;for(var ih=_h-lh,wh=jf-Rf,hh=Math.min(ih,wh),Th=this.slice(lh,_h),Vh=wf.slice(Rf,jf),Bh=0;Bh2147483647?Rf=2147483647:Rf<-2147483648&&(Rf=-2147483648),Rf=+Rf,Xf(Rf)&&(Rf=lh?0:qf.length-1),Rf<0&&(Rf=qf.length+Rf),Rf>=qf.length){if(lh)return-1;Rf=qf.length-1}else if(Rf<0)if(lh)Rf=0;else return-1;if(typeof wf=="string"&&(wf=ud.from(wf,jf)),ud.isBuffer(wf))return wf.length===0?-1:zd(qf,wf,Rf,jf,lh);if(typeof wf=="number")return wf=wf&255,typeof Uint8Array.prototype.indexOf=="function"?lh?Uint8Array.prototype.indexOf.call(qf,wf,Rf):Uint8Array.prototype.lastIndexOf.call(qf,wf,Rf):zd(qf,[wf],Rf,jf,lh);throw new TypeError("val must be string, number or Buffer")}function zd(qf,wf,Rf,jf,lh){var _h=1,ih=qf.length,wh=wf.length;if(jf!==void 0&&(jf=String(jf).toLowerCase(),jf==="ucs2"||jf==="ucs-2"||jf==="utf16le"||jf==="utf-16le")){if(qf.length<2||wf.length<2)return-1;_h=2,ih/=2,wh/=2,Rf/=2}function hh(dm,nh){return _h===1?dm[nh]:dm.readUInt16BE(nh*_h)}var Th;if(lh){var Vh=-1;for(Th=Rf;Thih&&(Rf=ih-wh),Th=Rf;Th>=0;Th--){for(var Bh=!0,Yh=0;Yhlh&&(jf=lh)):jf=lh;var _h=wf.length;jf>_h/2&&(jf=_h/2);for(var ih=0;ih>>0,isFinite(jf)?(jf=jf>>>0,lh===void 0&&(lh="utf8")):(lh=jf,jf=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var _h=this.length-Rf;if((jf===void 0||jf>_h)&&(jf=_h),wf.length>0&&(jf<0||Rf<0)||Rf>this.length)throw new RangeError("Attempt to write outside buffer bounds");lh||(lh="utf8");for(var ih=!1;;)switch(lh){case"hex":return Zd(this,wf,Rf,jf);case"utf8":case"utf-8":return Wd(this,wf,Rf,jf);case"ascii":case"latin1":case"binary":return Qd(this,wf,Rf,jf);case"base64":return Jd(this,wf,Rf,jf);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return hf(this,wf,Rf,jf);default:if(ih)throw new TypeError("Unknown encoding: "+lh);lh=(""+lh).toLowerCase(),ih=!0}},ud.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function bf(qf,wf,Rf){return wf===0&&Rf===qf.length?qa.fromByteArray(qf):qa.fromByteArray(qf.slice(wf,Rf))}function Ef(qf,wf,Rf){Rf=Math.min(qf.length,Rf);for(var jf=[],lh=wf;lh239?4:_h>223?3:_h>191?2:1;if(lh+wh<=Rf){var hh,Th,Vh,Bh;switch(wh){case 1:_h<128&&(ih=_h);break;case 2:hh=qf[lh+1],(hh&192)===128&&(Bh=(_h&31)<<6|hh&63,Bh>127&&(ih=Bh));break;case 3:hh=qf[lh+1],Th=qf[lh+2],(hh&192)===128&&(Th&192)===128&&(Bh=(_h&15)<<12|(hh&63)<<6|Th&63,Bh>2047&&(Bh<55296||Bh>57343)&&(ih=Bh));break;case 4:hh=qf[lh+1],Th=qf[lh+2],Vh=qf[lh+3],(hh&192)===128&&(Th&192)===128&&(Vh&192)===128&&(Bh=(_h&15)<<18|(hh&63)<<12|(Th&63)<<6|Vh&63,Bh>65535&&Bh<1114112&&(ih=Bh))}}ih===null?(ih=65533,wh=1):ih>65535&&(ih-=65536,jf.push(ih>>>10&1023|55296),ih=56320|ih&1023),jf.push(ih),lh+=wh}return vf(jf)}var _f=4096;function vf(qf){var wf=qf.length;if(wf<=_f)return String.fromCharCode.apply(String,qf);for(var Rf="",jf=0;jfjf)&&(Rf=jf);for(var lh="",_h=wf;_hjf&&(wf=jf),Rf<0?(Rf+=jf,Rf<0&&(Rf=0)):Rf>jf&&(Rf=jf),RfRf)throw new RangeError("Trying to access beyond buffer length")}ud.prototype.readUintLE=ud.prototype.readUIntLE=function(wf,Rf,jf){wf=wf>>>0,Rf=Rf>>>0,jf||Vf(wf,Rf,this.length);for(var lh=this[wf],_h=1,ih=0;++ih>>0,Rf=Rf>>>0,jf||Vf(wf,Rf,this.length);for(var lh=this[wf+--Rf],_h=1;Rf>0&&(_h*=256);)lh+=this[wf+--Rf]*_h;return lh},ud.prototype.readUint8=ud.prototype.readUInt8=function(wf,Rf){return wf=wf>>>0,Rf||Vf(wf,1,this.length),this[wf]},ud.prototype.readUint16LE=ud.prototype.readUInt16LE=function(wf,Rf){return wf=wf>>>0,Rf||Vf(wf,2,this.length),this[wf]|this[wf+1]<<8},ud.prototype.readUint16BE=ud.prototype.readUInt16BE=function(wf,Rf){return wf=wf>>>0,Rf||Vf(wf,2,this.length),this[wf]<<8|this[wf+1]},ud.prototype.readUint32LE=ud.prototype.readUInt32LE=function(wf,Rf){return wf=wf>>>0,Rf||Vf(wf,4,this.length),(this[wf]|this[wf+1]<<8|this[wf+2]<<16)+this[wf+3]*16777216},ud.prototype.readUint32BE=ud.prototype.readUInt32BE=function(wf,Rf){return wf=wf>>>0,Rf||Vf(wf,4,this.length),this[wf]*16777216+(this[wf+1]<<16|this[wf+2]<<8|this[wf+3])},ud.prototype.readIntLE=function(wf,Rf,jf){wf=wf>>>0,Rf=Rf>>>0,jf||Vf(wf,Rf,this.length);for(var lh=this[wf],_h=1,ih=0;++ih=_h&&(lh-=Math.pow(2,8*Rf)),lh},ud.prototype.readIntBE=function(wf,Rf,jf){wf=wf>>>0,Rf=Rf>>>0,jf||Vf(wf,Rf,this.length);for(var lh=Rf,_h=1,ih=this[wf+--lh];lh>0&&(_h*=256);)ih+=this[wf+--lh]*_h;return _h*=128,ih>=_h&&(ih-=Math.pow(2,8*Rf)),ih},ud.prototype.readInt8=function(wf,Rf){return wf=wf>>>0,Rf||Vf(wf,1,this.length),this[wf]&128?(255-this[wf]+1)*-1:this[wf]},ud.prototype.readInt16LE=function(wf,Rf){wf=wf>>>0,Rf||Vf(wf,2,this.length);var jf=this[wf]|this[wf+1]<<8;return jf&32768?jf|4294901760:jf},ud.prototype.readInt16BE=function(wf,Rf){wf=wf>>>0,Rf||Vf(wf,2,this.length);var jf=this[wf+1]|this[wf]<<8;return jf&32768?jf|4294901760:jf},ud.prototype.readInt32LE=function(wf,Rf){return wf=wf>>>0,Rf||Vf(wf,4,this.length),this[wf]|this[wf+1]<<8|this[wf+2]<<16|this[wf+3]<<24},ud.prototype.readInt32BE=function(wf,Rf){return wf=wf>>>0,Rf||Vf(wf,4,this.length),this[wf]<<24|this[wf+1]<<16|this[wf+2]<<8|this[wf+3]},ud.prototype.readFloatLE=function(wf,Rf){return wf=wf>>>0,Rf||Vf(wf,4,this.length),td.read(this,wf,!0,23,4)},ud.prototype.readFloatBE=function(wf,Rf){return wf=wf>>>0,Rf||Vf(wf,4,this.length),td.read(this,wf,!1,23,4)},ud.prototype.readDoubleLE=function(wf,Rf){return wf=wf>>>0,Rf||Vf(wf,8,this.length),td.read(this,wf,!0,52,8)},ud.prototype.readDoubleBE=function(wf,Rf){return wf=wf>>>0,Rf||Vf(wf,8,this.length),td.read(this,wf,!1,52,8)};function Pf(qf,wf,Rf,jf,lh,_h){if(!ud.isBuffer(qf))throw new TypeError('"buffer" argument must be a Buffer instance');if(wf>lh||wf<_h)throw new RangeError('"value" argument is out of bounds');if(Rf+jf>qf.length)throw new RangeError("Index out of range")}ud.prototype.writeUintLE=ud.prototype.writeUIntLE=function(wf,Rf,jf,lh){if(wf=+wf,Rf=Rf>>>0,jf=jf>>>0,!lh){var _h=Math.pow(2,8*jf)-1;Pf(this,wf,Rf,jf,_h,0)}var ih=1,wh=0;for(this[Rf]=wf&255;++wh>>0,jf=jf>>>0,!lh){var _h=Math.pow(2,8*jf)-1;Pf(this,wf,Rf,jf,_h,0)}var ih=jf-1,wh=1;for(this[Rf+ih]=wf&255;--ih>=0&&(wh*=256);)this[Rf+ih]=wf/wh&255;return Rf+jf},ud.prototype.writeUint8=ud.prototype.writeUInt8=function(wf,Rf,jf){return wf=+wf,Rf=Rf>>>0,jf||Pf(this,wf,Rf,1,255,0),this[Rf]=wf&255,Rf+1},ud.prototype.writeUint16LE=ud.prototype.writeUInt16LE=function(wf,Rf,jf){return wf=+wf,Rf=Rf>>>0,jf||Pf(this,wf,Rf,2,65535,0),this[Rf]=wf&255,this[Rf+1]=wf>>>8,Rf+2},ud.prototype.writeUint16BE=ud.prototype.writeUInt16BE=function(wf,Rf,jf){return wf=+wf,Rf=Rf>>>0,jf||Pf(this,wf,Rf,2,65535,0),this[Rf]=wf>>>8,this[Rf+1]=wf&255,Rf+2},ud.prototype.writeUint32LE=ud.prototype.writeUInt32LE=function(wf,Rf,jf){return wf=+wf,Rf=Rf>>>0,jf||Pf(this,wf,Rf,4,4294967295,0),this[Rf+3]=wf>>>24,this[Rf+2]=wf>>>16,this[Rf+1]=wf>>>8,this[Rf]=wf&255,Rf+4},ud.prototype.writeUint32BE=ud.prototype.writeUInt32BE=function(wf,Rf,jf){return wf=+wf,Rf=Rf>>>0,jf||Pf(this,wf,Rf,4,4294967295,0),this[Rf]=wf>>>24,this[Rf+1]=wf>>>16,this[Rf+2]=wf>>>8,this[Rf+3]=wf&255,Rf+4},ud.prototype.writeIntLE=function(wf,Rf,jf,lh){if(wf=+wf,Rf=Rf>>>0,!lh){var _h=Math.pow(2,8*jf-1);Pf(this,wf,Rf,jf,_h-1,-_h)}var ih=0,wh=1,hh=0;for(this[Rf]=wf&255;++ih>0)-hh&255;return Rf+jf},ud.prototype.writeIntBE=function(wf,Rf,jf,lh){if(wf=+wf,Rf=Rf>>>0,!lh){var _h=Math.pow(2,8*jf-1);Pf(this,wf,Rf,jf,_h-1,-_h)}var ih=jf-1,wh=1,hh=0;for(this[Rf+ih]=wf&255;--ih>=0&&(wh*=256);)wf<0&&hh===0&&this[Rf+ih+1]!==0&&(hh=1),this[Rf+ih]=(wf/wh>>0)-hh&255;return Rf+jf},ud.prototype.writeInt8=function(wf,Rf,jf){return wf=+wf,Rf=Rf>>>0,jf||Pf(this,wf,Rf,1,127,-128),wf<0&&(wf=255+wf+1),this[Rf]=wf&255,Rf+1},ud.prototype.writeInt16LE=function(wf,Rf,jf){return wf=+wf,Rf=Rf>>>0,jf||Pf(this,wf,Rf,2,32767,-32768),this[Rf]=wf&255,this[Rf+1]=wf>>>8,Rf+2},ud.prototype.writeInt16BE=function(wf,Rf,jf){return wf=+wf,Rf=Rf>>>0,jf||Pf(this,wf,Rf,2,32767,-32768),this[Rf]=wf>>>8,this[Rf+1]=wf&255,Rf+2},ud.prototype.writeInt32LE=function(wf,Rf,jf){return wf=+wf,Rf=Rf>>>0,jf||Pf(this,wf,Rf,4,2147483647,-2147483648),this[Rf]=wf&255,this[Rf+1]=wf>>>8,this[Rf+2]=wf>>>16,this[Rf+3]=wf>>>24,Rf+4},ud.prototype.writeInt32BE=function(wf,Rf,jf){return wf=+wf,Rf=Rf>>>0,jf||Pf(this,wf,Rf,4,2147483647,-2147483648),wf<0&&(wf=4294967295+wf+1),this[Rf]=wf>>>24,this[Rf+1]=wf>>>16,this[Rf+2]=wf>>>8,this[Rf+3]=wf&255,Rf+4};function If(qf,wf,Rf,jf,lh,_h){if(Rf+jf>qf.length)throw new RangeError("Index out of range");if(Rf<0)throw new RangeError("Index out of range")}function $f(qf,wf,Rf,jf,lh){return wf=+wf,Rf=Rf>>>0,lh||If(qf,wf,Rf,4),td.write(qf,wf,Rf,jf,23,4),Rf+4}ud.prototype.writeFloatLE=function(wf,Rf,jf){return $f(this,wf,Rf,!0,jf)},ud.prototype.writeFloatBE=function(wf,Rf,jf){return $f(this,wf,Rf,!1,jf)};function Zf(qf,wf,Rf,jf,lh){return wf=+wf,Rf=Rf>>>0,lh||If(qf,wf,Rf,8),td.write(qf,wf,Rf,jf,52,8),Rf+8}ud.prototype.writeDoubleLE=function(wf,Rf,jf){return Zf(this,wf,Rf,!0,jf)},ud.prototype.writeDoubleBE=function(wf,Rf,jf){return Zf(this,wf,Rf,!1,jf)},ud.prototype.copy=function(wf,Rf,jf,lh){if(!ud.isBuffer(wf))throw new TypeError("argument should be a Buffer");if(jf||(jf=0),!lh&&lh!==0&&(lh=this.length),Rf>=wf.length&&(Rf=wf.length),Rf||(Rf=0),lh>0&&lh=this.length)throw new RangeError("Index out of range");if(lh<0)throw new RangeError("sourceEnd out of bounds");lh>this.length&&(lh=this.length),wf.length-Rf>>0,jf=jf===void 0?this.length:jf>>>0,wf||(wf=0);var ih;if(typeof wf=="number")for(ih=Rf;ih55295&&Rf<57344){if(!lh){if(Rf>56319){(wf-=3)>-1&&_h.push(239,191,189);continue}else if(ih+1===jf){(wf-=3)>-1&&_h.push(239,191,189);continue}lh=Rf;continue}if(Rf<56320){(wf-=3)>-1&&_h.push(239,191,189),lh=Rf;continue}Rf=(lh-55296<<10|Rf-56320)+65536}else lh&&(wf-=3)>-1&&_h.push(239,191,189);if(lh=null,Rf<128){if((wf-=1)<0)break;_h.push(Rf)}else if(Rf<2048){if((wf-=2)<0)break;_h.push(Rf>>6|192,Rf&63|128)}else if(Rf<65536){if((wf-=3)<0)break;_h.push(Rf>>12|224,Rf>>6&63|128,Rf&63|128)}else if(Rf<1114112){if((wf-=4)<0)break;_h.push(Rf>>18|240,Rf>>12&63|128,Rf>>6&63|128,Rf&63|128)}else throw new Error("Invalid code point")}return _h}function Mf(qf){for(var wf=[],Rf=0;Rf>8,lh=Rf%256,_h.push(lh),_h.push(jf);return _h}function Qf(qf){return qa.toByteArray(Tf(qf))}function Uf(qf,wf,Rf,jf){for(var lh=0;lh=wf.length||lh>=qf.length);++lh)wf[lh+Rf]=qf[lh];return lh}function Df(qf,wf){return qf instanceof wf||qf!=null&&qf.constructor!=null&&qf.constructor.name!=null&&qf.constructor.name===wf.name}function Xf(qf){return qf!==qf}var dh=function(){for(var qf="0123456789abcdef",wf=new Array(256),Rf=0;Rf<16;++Rf)for(var jf=Rf*16,lh=0;lh<16;++lh)wf[jf+lh]=qf[Rf]+qf[lh];return wf}()})(buffer);var util$5={},types={},shams$1=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var qa={},td=Symbol("test"),rd=Object(td);if(typeof td=="string"||Object.prototype.toString.call(td)!=="[object Symbol]"||Object.prototype.toString.call(rd)!=="[object Symbol]")return!1;var nd=42;qa[td]=nd;for(td in qa)return!1;if(typeof Object.keys=="function"&&Object.keys(qa).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(qa).length!==0)return!1;var ad=Object.getOwnPropertySymbols(qa);if(ad.length!==1||ad[0]!==td||!Object.prototype.propertyIsEnumerable.call(qa,td))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var sd=Object.getOwnPropertyDescriptor(qa,td);if(sd.value!==nd||sd.enumerable!==!0)return!1}return!0},hasSymbols$2=shams$1,shams=function(){return hasSymbols$2()&&!!Symbol.toStringTag},esErrors=Error,_eval=EvalError,range$1=RangeError,ref=ReferenceError,syntax=SyntaxError,type=TypeError,uri=URIError,origSymbol=typeof Symbol<"u"&&Symbol,hasSymbolSham=shams$1,hasSymbols$1=function(){return typeof origSymbol!="function"||typeof Symbol!="function"||typeof origSymbol("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:hasSymbolSham()},test$1={__proto__:null,foo:{}},$Object=Object,hasProto$1=function(){return{__proto__:test$1}.foo===test$1.foo&&!(test$1 instanceof $Object)},ERROR_MESSAGE="Function.prototype.bind called on incompatible ",toStr$3=Object.prototype.toString,max=Math.max,funcType="[object Function]",concatty=function(qa,td){for(var rd=[],nd=0;nd"u"||!getProto$1?undefined$1:getProto$1(Uint8Array),INTRINSICS={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?undefined$1:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?undefined$1:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols&&getProto$1?getProto$1([][Symbol.iterator]()):undefined$1,"%AsyncFromSyncIteratorPrototype%":undefined$1,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":typeof Atomics>"u"?undefined$1:Atomics,"%BigInt%":typeof BigInt>"u"?undefined$1:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?undefined$1:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?undefined$1:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?undefined$1:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":$Error,"%eval%":eval,"%EvalError%":$EvalError,"%Float32Array%":typeof Float32Array>"u"?undefined$1:Float32Array,"%Float64Array%":typeof Float64Array>"u"?undefined$1:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?undefined$1:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":typeof Int8Array>"u"?undefined$1:Int8Array,"%Int16Array%":typeof Int16Array>"u"?undefined$1:Int16Array,"%Int32Array%":typeof Int32Array>"u"?undefined$1:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols&&getProto$1?getProto$1(getProto$1([][Symbol.iterator]())):undefined$1,"%JSON%":typeof JSON=="object"?JSON:undefined$1,"%Map%":typeof Map>"u"?undefined$1:Map,"%MapIteratorPrototype%":typeof Map>"u"||!hasSymbols||!getProto$1?undefined$1:getProto$1(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?undefined$1:Promise,"%Proxy%":typeof Proxy>"u"?undefined$1:Proxy,"%RangeError%":$RangeError,"%ReferenceError%":$ReferenceError,"%Reflect%":typeof Reflect>"u"?undefined$1:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?undefined$1:Set,"%SetIteratorPrototype%":typeof Set>"u"||!hasSymbols||!getProto$1?undefined$1:getProto$1(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?undefined$1:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols&&getProto$1?getProto$1(""[Symbol.iterator]()):undefined$1,"%Symbol%":hasSymbols?Symbol:undefined$1,"%SyntaxError%":$SyntaxError$1,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError$2,"%Uint8Array%":typeof Uint8Array>"u"?undefined$1:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?undefined$1:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?undefined$1:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?undefined$1:Uint32Array,"%URIError%":$URIError,"%WeakMap%":typeof WeakMap>"u"?undefined$1:WeakMap,"%WeakRef%":typeof WeakRef>"u"?undefined$1:WeakRef,"%WeakSet%":typeof WeakSet>"u"?undefined$1:WeakSet};if(getProto$1)try{null.error}catch(Ra){var errorProto=getProto$1(getProto$1(Ra));INTRINSICS["%Error.prototype%"]=errorProto}var doEval=function Ra(qa){var td;if(qa==="%AsyncFunction%")td=getEvalledConstructor("async function () {}");else if(qa==="%GeneratorFunction%")td=getEvalledConstructor("function* () {}");else if(qa==="%AsyncGeneratorFunction%")td=getEvalledConstructor("async function* () {}");else if(qa==="%AsyncGenerator%"){var rd=Ra("%AsyncGeneratorFunction%");rd&&(td=rd.prototype)}else if(qa==="%AsyncIteratorPrototype%"){var nd=Ra("%AsyncGenerator%");nd&&getProto$1&&(td=getProto$1(nd.prototype))}return INTRINSICS[qa]=td,td},LEGACY_ALIASES={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},bind$1=functionBind,hasOwn=hasown,$concat=bind$1.call(Function.call,Array.prototype.concat),$spliceApply=bind$1.call(Function.apply,Array.prototype.splice),$replace=bind$1.call(Function.call,String.prototype.replace),$strSlice=bind$1.call(Function.call,String.prototype.slice),$exec=bind$1.call(Function.call,RegExp.prototype.exec),rePropName=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=function(qa){var td=$strSlice(qa,0,1),rd=$strSlice(qa,-1);if(td==="%"&&rd!=="%")throw new $SyntaxError$1("invalid intrinsic syntax, expected closing `%`");if(rd==="%"&&td!=="%")throw new $SyntaxError$1("invalid intrinsic syntax, expected opening `%`");var nd=[];return $replace(qa,rePropName,function(ad,sd,ud,cd){nd[nd.length]=ud?$replace(cd,reEscapeChar,"$1"):sd||ad}),nd},getBaseIntrinsic=function(qa,td){var rd=qa,nd;if(hasOwn(LEGACY_ALIASES,rd)&&(nd=LEGACY_ALIASES[rd],rd="%"+nd[0]+"%"),hasOwn(INTRINSICS,rd)){var ad=INTRINSICS[rd];if(ad===needsEval&&(ad=doEval(rd)),typeof ad>"u"&&!td)throw new $TypeError$2("intrinsic "+qa+" exists, but is not available. Please file an issue!");return{alias:nd,name:rd,value:ad}}throw new $SyntaxError$1("intrinsic "+qa+" does not exist!")},getIntrinsic=function(qa,td){if(typeof qa!="string"||qa.length===0)throw new $TypeError$2("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof td!="boolean")throw new $TypeError$2('"allowMissing" argument must be a boolean');if($exec(/^%?[^%]*%?$/,qa)===null)throw new $SyntaxError$1("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var rd=stringToPath(qa),nd=rd.length>0?rd[0]:"",ad=getBaseIntrinsic("%"+nd+"%",td),sd=ad.name,ud=ad.value,cd=!1,dd=ad.alias;dd&&(nd=dd[0],$spliceApply(rd,$concat([0,1],dd)));for(var pd=1,fd=!0;pd=rd.length){var Dd=$gOPD$1(ud,Td);fd=!!Dd,fd&&"get"in Dd&&!("originalValue"in Dd.get)?ud=Dd.get:ud=ud[Td]}else fd=hasOwn(ud,Td),ud=ud[Td];fd&&!cd&&(INTRINSICS[sd]=ud)}}return ud},callBind$2={exports:{}},esDefineProperty,hasRequiredEsDefineProperty;function requireEsDefineProperty(){if(hasRequiredEsDefineProperty)return esDefineProperty;hasRequiredEsDefineProperty=1;var Ra=getIntrinsic,qa=Ra("%Object.defineProperty%",!0)||!1;if(qa)try{qa({},"a",{value:1})}catch{qa=!1}return esDefineProperty=qa,esDefineProperty}var GetIntrinsic$2=getIntrinsic,$gOPD=GetIntrinsic$2("%Object.getOwnPropertyDescriptor%",!0);if($gOPD)try{$gOPD([],"length")}catch{$gOPD=null}var gopd$1=$gOPD,$defineProperty$1=requireEsDefineProperty(),$SyntaxError=syntax,$TypeError$1=type,gopd=gopd$1,defineDataProperty=function(qa,td,rd){if(!qa||typeof qa!="object"&&typeof qa!="function")throw new $TypeError$1("`obj` must be an object or a function`");if(typeof td!="string"&&typeof td!="symbol")throw new $TypeError$1("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new $TypeError$1("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new $TypeError$1("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new $TypeError$1("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new $TypeError$1("`loose`, if provided, must be a boolean");var nd=arguments.length>3?arguments[3]:null,ad=arguments.length>4?arguments[4]:null,sd=arguments.length>5?arguments[5]:null,ud=arguments.length>6?arguments[6]:!1,cd=!!gopd&&gopd(qa,td);if($defineProperty$1)$defineProperty$1(qa,td,{configurable:sd===null&&cd?cd.configurable:!sd,enumerable:nd===null&&cd?cd.enumerable:!nd,value:rd,writable:ad===null&&cd?cd.writable:!ad});else if(ud||!nd&&!ad&&!sd)qa[td]=rd;else throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},$defineProperty=requireEsDefineProperty(),hasPropertyDescriptors=function(){return!!$defineProperty};hasPropertyDescriptors.hasArrayLengthDefineBug=function(){if(!$defineProperty)return null;try{return $defineProperty([],"length",{value:1}).length!==1}catch{return!0}};var hasPropertyDescriptors_1=hasPropertyDescriptors,GetIntrinsic$1=getIntrinsic,define=defineDataProperty,hasDescriptors=hasPropertyDescriptors_1(),gOPD$1=gopd$1,$TypeError=type,$floor=GetIntrinsic$1("%Math.floor%"),setFunctionLength=function(qa,td){if(typeof qa!="function")throw new $TypeError("`fn` is not a function");if(typeof td!="number"||td<0||td>4294967295||$floor(td)!==td)throw new $TypeError("`length` must be a positive 32-bit integer");var rd=arguments.length>2&&!!arguments[2],nd=!0,ad=!0;if("length"in qa&&gOPD$1){var sd=gOPD$1(qa,"length");sd&&!sd.configurable&&(nd=!1),sd&&!sd.writable&&(ad=!1)}return(nd||ad||!rd)&&(hasDescriptors?define(qa,"length",td,!0,!0):define(qa,"length",td)),qa};(function(Ra){var qa=functionBind,td=getIntrinsic,rd=setFunctionLength,nd=type,ad=td("%Function.prototype.apply%"),sd=td("%Function.prototype.call%"),ud=td("%Reflect.apply%",!0)||qa.call(sd,ad),cd=requireEsDefineProperty(),dd=td("%Math.max%");Ra.exports=function(Td){if(typeof Td!="function")throw new nd("a function is required");var Ad=ud(qa,sd,arguments);return rd(Ad,1+dd(0,Td.length-(arguments.length-1)),!0)};var pd=function(){return ud(qa,ad,arguments)};cd?cd(Ra.exports,"apply",{value:pd}):Ra.exports.apply=pd})(callBind$2);var callBindExports=callBind$2.exports,GetIntrinsic=getIntrinsic,callBind$1=callBindExports,$indexOf$1=callBind$1(GetIntrinsic("String.prototype.indexOf")),callBound$2=function(qa,td){var rd=GetIntrinsic(qa,!!td);return typeof rd=="function"&&$indexOf$1(qa,".prototype.")>-1?callBind$1(rd):rd},hasToStringTag$3=shams(),callBound$1=callBound$2,$toString$1=callBound$1("Object.prototype.toString"),isStandardArguments=function(qa){return hasToStringTag$3&&qa&&typeof qa=="object"&&Symbol.toStringTag in qa?!1:$toString$1(qa)==="[object Arguments]"},isLegacyArguments=function(qa){return isStandardArguments(qa)?!0:qa!==null&&typeof qa=="object"&&typeof qa.length=="number"&&qa.length>=0&&$toString$1(qa)!=="[object Array]"&&$toString$1(qa.callee)==="[object Function]"},supportsStandardArguments=function(){return isStandardArguments(arguments)}();isStandardArguments.isLegacyArguments=isLegacyArguments;var isArguments=supportsStandardArguments?isStandardArguments:isLegacyArguments,toStr$2=Object.prototype.toString,fnToStr$1=Function.prototype.toString,isFnRegex=/^\s*(?:function)?\*/,hasToStringTag$2=shams(),getProto=Object.getPrototypeOf,getGeneratorFunc=function(){if(!hasToStringTag$2)return!1;try{return Function("return function*() {}")()}catch{}},GeneratorFunction,isGeneratorFunction=function(qa){if(typeof qa!="function")return!1;if(isFnRegex.test(fnToStr$1.call(qa)))return!0;if(!hasToStringTag$2){var td=toStr$2.call(qa);return td==="[object GeneratorFunction]"}if(!getProto)return!1;if(typeof GeneratorFunction>"u"){var rd=getGeneratorFunc();GeneratorFunction=rd?getProto(rd):!1}return getProto(qa)===GeneratorFunction},fnToStr=Function.prototype.toString,reflectApply=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,badArrayLike,isCallableMarker;if(typeof reflectApply=="function"&&typeof Object.defineProperty=="function")try{badArrayLike=Object.defineProperty({},"length",{get:function(){throw isCallableMarker}}),isCallableMarker={},reflectApply(function(){throw 42},null,badArrayLike)}catch(Ra){Ra!==isCallableMarker&&(reflectApply=null)}else reflectApply=null;var constructorRegex=/^\s*class\b/,isES6ClassFn=function(qa){try{var td=fnToStr.call(qa);return constructorRegex.test(td)}catch{return!1}},tryFunctionObject=function(qa){try{return isES6ClassFn(qa)?!1:(fnToStr.call(qa),!0)}catch{return!1}},toStr$1=Object.prototype.toString,objectClass="[object Object]",fnClass="[object Function]",genClass="[object GeneratorFunction]",ddaClass="[object HTMLAllCollection]",ddaClass2="[object HTML document.all class]",ddaClass3="[object HTMLCollection]",hasToStringTag$1=typeof Symbol=="function"&&!!Symbol.toStringTag,isIE68=!(0 in[,]),isDDA=function(){return!1};if(typeof document=="object"){var all=document.all;toStr$1.call(all)===toStr$1.call(document.all)&&(isDDA=function(qa){if((isIE68||!qa)&&(typeof qa>"u"||typeof qa=="object"))try{var td=toStr$1.call(qa);return(td===ddaClass||td===ddaClass2||td===ddaClass3||td===objectClass)&&qa("")==null}catch{}return!1})}var isCallable$1=reflectApply?function(qa){if(isDDA(qa))return!0;if(!qa||typeof qa!="function"&&typeof qa!="object")return!1;try{reflectApply(qa,null,badArrayLike)}catch(td){if(td!==isCallableMarker)return!1}return!isES6ClassFn(qa)&&tryFunctionObject(qa)}:function(qa){if(isDDA(qa))return!0;if(!qa||typeof qa!="function"&&typeof qa!="object")return!1;if(hasToStringTag$1)return tryFunctionObject(qa);if(isES6ClassFn(qa))return!1;var td=toStr$1.call(qa);return td!==fnClass&&td!==genClass&&!/^\[object HTML/.test(td)?!1:tryFunctionObject(qa)},isCallable=isCallable$1,toStr=Object.prototype.toString,hasOwnProperty$2=Object.prototype.hasOwnProperty,forEachArray=function(qa,td,rd){for(var nd=0,ad=qa.length;nd=3&&(nd=rd),toStr.call(qa)==="[object Array]"?forEachArray(qa,td,nd):typeof qa=="string"?forEachString(qa,td,nd):forEachObject(qa,td,nd)},forEach_1=forEach$2,possibleTypedArrayNames=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],possibleNames=possibleTypedArrayNames,g$1=typeof globalThis>"u"?commonjsGlobal:globalThis,availableTypedArrays$1=function(){for(var qa=[],td=0;td"u"?commonjsGlobal:globalThis,typedArrays=availableTypedArrays(),$slice=callBound("String.prototype.slice"),getPrototypeOf$1=Object.getPrototypeOf,$indexOf=callBound("Array.prototype.indexOf",!0)||function(qa,td){for(var rd=0;rd-1?td:td!=="Object"?!1:trySlices(qa)}return gOPD?tryTypedArrays(qa):null},whichTypedArray=whichTypedArray$1,isTypedArray$1=function(qa){return!!whichTypedArray(qa)};(function(Ra){var qa=isArguments,td=isGeneratorFunction,rd=whichTypedArray$1,nd=isTypedArray$1;function ad(jf){return jf.call.bind(jf)}var sd=typeof BigInt<"u",ud=typeof Symbol<"u",cd=ad(Object.prototype.toString),dd=ad(Number.prototype.valueOf),pd=ad(String.prototype.valueOf),fd=ad(Boolean.prototype.valueOf);if(sd)var Td=ad(BigInt.prototype.valueOf);if(ud)var Ad=ad(Symbol.prototype.valueOf);function Sd(jf,lh){if(typeof jf!="object")return!1;try{return lh(jf),!0}catch{return!1}}Ra.isArgumentsObject=qa,Ra.isGeneratorFunction=td,Ra.isTypedArray=nd;function Dd(jf){return typeof Promise<"u"&&jf instanceof Promise||jf!==null&&typeof jf=="object"&&typeof jf.then=="function"&&typeof jf.catch=="function"}Ra.isPromise=Dd;function Ld(jf){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(jf):nd(jf)||If(jf)}Ra.isArrayBufferView=Ld;function Rd(jf){return rd(jf)==="Uint8Array"}Ra.isUint8Array=Rd;function Od(jf){return rd(jf)==="Uint8ClampedArray"}Ra.isUint8ClampedArray=Od;function Md(jf){return rd(jf)==="Uint16Array"}Ra.isUint16Array=Md;function jd(jf){return rd(jf)==="Uint32Array"}Ra.isUint32Array=jd;function Ud(jf){return rd(jf)==="Int8Array"}Ra.isInt8Array=Ud;function Hd(jf){return rd(jf)==="Int16Array"}Ra.isInt16Array=Hd;function zd(jf){return rd(jf)==="Int32Array"}Ra.isInt32Array=zd;function Zd(jf){return rd(jf)==="Float32Array"}Ra.isFloat32Array=Zd;function Wd(jf){return rd(jf)==="Float64Array"}Ra.isFloat64Array=Wd;function Qd(jf){return rd(jf)==="BigInt64Array"}Ra.isBigInt64Array=Qd;function Jd(jf){return rd(jf)==="BigUint64Array"}Ra.isBigUint64Array=Jd;function hf(jf){return cd(jf)==="[object Map]"}hf.working=typeof Map<"u"&&hf(new Map);function bf(jf){return typeof Map>"u"?!1:hf.working?hf(jf):jf instanceof Map}Ra.isMap=bf;function Ef(jf){return cd(jf)==="[object Set]"}Ef.working=typeof Set<"u"&&Ef(new Set);function _f(jf){return typeof Set>"u"?!1:Ef.working?Ef(jf):jf instanceof Set}Ra.isSet=_f;function vf(jf){return cd(jf)==="[object WeakMap]"}vf.working=typeof WeakMap<"u"&&vf(new WeakMap);function xf(jf){return typeof WeakMap>"u"?!1:vf.working?vf(jf):jf instanceof WeakMap}Ra.isWeakMap=xf;function Bf(jf){return cd(jf)==="[object WeakSet]"}Bf.working=typeof WeakSet<"u"&&Bf(new WeakSet);function Yf(jf){return Bf(jf)}Ra.isWeakSet=Yf;function eh(jf){return cd(jf)==="[object ArrayBuffer]"}eh.working=typeof ArrayBuffer<"u"&&eh(new ArrayBuffer);function Vf(jf){return typeof ArrayBuffer>"u"?!1:eh.working?eh(jf):jf instanceof ArrayBuffer}Ra.isArrayBuffer=Vf;function Pf(jf){return cd(jf)==="[object DataView]"}Pf.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&Pf(new DataView(new ArrayBuffer(1),0,1));function If(jf){return typeof DataView>"u"?!1:Pf.working?Pf(jf):jf instanceof DataView}Ra.isDataView=If;var $f=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function Zf(jf){return cd(jf)==="[object SharedArrayBuffer]"}function Kf(jf){return typeof $f>"u"?!1:(typeof Zf.working>"u"&&(Zf.working=Zf(new $f)),Zf.working?Zf(jf):jf instanceof $f)}Ra.isSharedArrayBuffer=Kf;function Tf(jf){return cd(jf)==="[object AsyncFunction]"}Ra.isAsyncFunction=Tf;function gf(jf){return cd(jf)==="[object Map Iterator]"}Ra.isMapIterator=gf;function Mf(jf){return cd(jf)==="[object Set Iterator]"}Ra.isSetIterator=Mf;function Gf(jf){return cd(jf)==="[object Generator]"}Ra.isGeneratorObject=Gf;function Qf(jf){return cd(jf)==="[object WebAssembly.Module]"}Ra.isWebAssemblyCompiledModule=Qf;function Uf(jf){return Sd(jf,dd)}Ra.isNumberObject=Uf;function Df(jf){return Sd(jf,pd)}Ra.isStringObject=Df;function Xf(jf){return Sd(jf,fd)}Ra.isBooleanObject=Xf;function dh(jf){return sd&&Sd(jf,Td)}Ra.isBigIntObject=dh;function qf(jf){return ud&&Sd(jf,Ad)}Ra.isSymbolObject=qf;function wf(jf){return Uf(jf)||Df(jf)||Xf(jf)||dh(jf)||qf(jf)}Ra.isBoxedPrimitive=wf;function Rf(jf){return typeof Uint8Array<"u"&&(Vf(jf)||Kf(jf))}Ra.isAnyArrayBuffer=Rf,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(jf){Object.defineProperty(Ra,jf,{enumerable:!1,value:function(){throw new Error(jf+" is not supported in userland")}})})})(types);var isBufferBrowser=function(qa){return qa&&typeof qa=="object"&&typeof qa.copy=="function"&&typeof qa.fill=="function"&&typeof qa.readUInt8=="function"};(function(Ra){var qa={version:"v20.17.0",versions:{node:"20.17.0",acorn:"8.11.3",ada:"2.9.0",ares:"1.32.3",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.2.2",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.13+quic",simdutf:"5.3.0",tz:"2024a",undici:"6.19.2",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-209717d"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule internal/idna","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/streams/utils","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/idna.js","lib/internal/inspector_async_hook.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_fc48d429-f579-45e8-bf03-b8f40cba1391",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.17.0 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_fc48d429-f579-45e8-bf03-b8f40cba1391",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.10.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu22",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"610",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",GOROOT_1_20_X64:"/opt/hostedtoolcache/go/1.20.14/x64",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20240915.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.7/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",JOURNAL_STREAM:"8:6290",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.17.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",npm_config_npm_version:"10.8.2",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"11027463784",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"c7b0e027ac0b5d7e952b951cd0f0482584bacafc",GITHUB_BASE_REF:"",ImageOS:"ubuntu22",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.17.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_869f45d3-ff71-43f5-9b82-440d0334cd1b",INVOCATION_ID:"4184953ec64c49749c61dec1ef6bfa6c",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"439",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 9",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"c7b0e027ac0b5d7e952b951cd0f0482584bacafc",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.17.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_fc48d429-f579-45e8-bf03-b8f40cba1391",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_fc48d429-f579-45e8-bf03-b8f40cba1391",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.1.12297006",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",STATS_EXTP:"https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.189/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_fc48d429-f579-45e8-bf03-b8f40cba1391",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.17.0/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2041,ppid:2038,execPath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}},td={},rd=Object.getOwnPropertyDescriptors||function(Zf){for(var Kf=Object.keys(Zf),Tf={},gf=0;gf=gf)return Qf;switch(Qf){case"%s":return String(Tf[Kf++]);case"%d":return Number(Tf[Kf++]);case"%j":try{return JSON.stringify(Tf[Kf++])}catch{return"[Circular]"}default:return Qf}}),Gf=Tf[Kf];Kf"u")return function(){return Ra.deprecate($f,Zf).apply(this,arguments)};var Kf=!1;function Tf(){if(!Kf){if(qa.throwDeprecation)throw new Error(Zf);qa.traceDeprecation?console.trace(Zf):console.error(Zf),Kf=!0}return $f.apply(this,arguments)}return Tf};var ad={},sd=/^$/;if(td.NODE_DEBUG){var ud=td.NODE_DEBUG;ud=ud.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),sd=new RegExp("^"+ud+"$","i")}Ra.debuglog=function($f){if($f=$f.toUpperCase(),!ad[$f])if(sd.test($f)){var Zf=qa.pid;ad[$f]=function(){var Kf=Ra.format.apply(Ra,arguments);console.error("%s %d: %s",$f,Zf,Kf)}}else ad[$f]=function(){};return ad[$f]};function cd($f,Zf){var Kf={seen:[],stylize:pd};return arguments.length>=3&&(Kf.depth=arguments[2]),arguments.length>=4&&(Kf.colors=arguments[3]),Md(Zf)?Kf.showHidden=Zf:Zf&&Ra._extend(Kf,Zf),Wd(Kf.showHidden)&&(Kf.showHidden=!1),Wd(Kf.depth)&&(Kf.depth=2),Wd(Kf.colors)&&(Kf.colors=!1),Wd(Kf.customInspect)&&(Kf.customInspect=!0),Kf.colors&&(Kf.stylize=dd),Td(Kf,$f,Kf.depth)}Ra.inspect=cd,cd.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},cd.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function dd($f,Zf){var Kf=cd.styles[Zf];return Kf?"\x1B["+cd.colors[Kf][0]+"m"+$f+"\x1B["+cd.colors[Kf][1]+"m":$f}function pd($f,Zf){return $f}function fd($f){var Zf={};return $f.forEach(function(Kf,Tf){Zf[Kf]=!0}),Zf}function Td($f,Zf,Kf){if($f.customInspect&&Zf&&Ef(Zf.inspect)&&Zf.inspect!==Ra.inspect&&!(Zf.constructor&&Zf.constructor.prototype===Zf)){var Tf=Zf.inspect(Kf,$f);return zd(Tf)||(Tf=Td($f,Tf,Kf)),Tf}var gf=Ad($f,Zf);if(gf)return gf;var Mf=Object.keys(Zf),Gf=fd(Mf);if($f.showHidden&&(Mf=Object.getOwnPropertyNames(Zf)),bf(Zf)&&(Mf.indexOf("message")>=0||Mf.indexOf("description")>=0))return Sd(Zf);if(Mf.length===0){if(Ef(Zf)){var Qf=Zf.name?": "+Zf.name:"";return $f.stylize("[Function"+Qf+"]","special")}if(Qd(Zf))return $f.stylize(RegExp.prototype.toString.call(Zf),"regexp");if(hf(Zf))return $f.stylize(Date.prototype.toString.call(Zf),"date");if(bf(Zf))return Sd(Zf)}var Uf="",Df=!1,Xf=["{","}"];if(Od(Zf)&&(Df=!0,Xf=["[","]"]),Ef(Zf)){var dh=Zf.name?": "+Zf.name:"";Uf=" [Function"+dh+"]"}if(Qd(Zf)&&(Uf=" "+RegExp.prototype.toString.call(Zf)),hf(Zf)&&(Uf=" "+Date.prototype.toUTCString.call(Zf)),bf(Zf)&&(Uf=" "+Sd(Zf)),Mf.length===0&&(!Df||Zf.length==0))return Xf[0]+Uf+Xf[1];if(Kf<0)return Qd(Zf)?$f.stylize(RegExp.prototype.toString.call(Zf),"regexp"):$f.stylize("[Object]","special");$f.seen.push(Zf);var qf;return Df?qf=Dd($f,Zf,Kf,Gf,Mf):qf=Mf.map(function(wf){return Ld($f,Zf,Kf,Gf,wf,Df)}),$f.seen.pop(),Rd(qf,Uf,Xf)}function Ad($f,Zf){if(Wd(Zf))return $f.stylize("undefined","undefined");if(zd(Zf)){var Kf="'"+JSON.stringify(Zf).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return $f.stylize(Kf,"string")}if(Hd(Zf))return $f.stylize(""+Zf,"number");if(Md(Zf))return $f.stylize(""+Zf,"boolean");if(jd(Zf))return $f.stylize("null","null")}function Sd($f){return"["+Error.prototype.toString.call($f)+"]"}function Dd($f,Zf,Kf,Tf,gf){for(var Mf=[],Gf=0,Qf=Zf.length;Gf-1&&(Mf?Qf=Qf.split(` +`).map(function(Df){return" "+Df}).join(` +`).slice(2):Qf=` +`+Qf.split(` +`).map(function(Df){return" "+Df}).join(` +`))):Qf=$f.stylize("[Circular]","special")),Wd(Gf)){if(Mf&&gf.match(/^\d+$/))return Qf;Gf=JSON.stringify(""+gf),Gf.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Gf=Gf.slice(1,-1),Gf=$f.stylize(Gf,"name")):(Gf=Gf.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Gf=$f.stylize(Gf,"string"))}return Gf+": "+Qf}function Rd($f,Zf,Kf){var Tf=$f.reduce(function(gf,Mf){return Mf.indexOf(` +`)>=0,gf+Mf.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Tf>60?Kf[0]+(Zf===""?"":Zf+` + `)+" "+$f.join(`, + `)+" "+Kf[1]:Kf[0]+Zf+" "+$f.join(", ")+" "+Kf[1]}Ra.types=types;function Od($f){return Array.isArray($f)}Ra.isArray=Od;function Md($f){return typeof $f=="boolean"}Ra.isBoolean=Md;function jd($f){return $f===null}Ra.isNull=jd;function Ud($f){return $f==null}Ra.isNullOrUndefined=Ud;function Hd($f){return typeof $f=="number"}Ra.isNumber=Hd;function zd($f){return typeof $f=="string"}Ra.isString=zd;function Zd($f){return typeof $f=="symbol"}Ra.isSymbol=Zd;function Wd($f){return $f===void 0}Ra.isUndefined=Wd;function Qd($f){return Jd($f)&&vf($f)==="[object RegExp]"}Ra.isRegExp=Qd,Ra.types.isRegExp=Qd;function Jd($f){return typeof $f=="object"&&$f!==null}Ra.isObject=Jd;function hf($f){return Jd($f)&&vf($f)==="[object Date]"}Ra.isDate=hf,Ra.types.isDate=hf;function bf($f){return Jd($f)&&(vf($f)==="[object Error]"||$f instanceof Error)}Ra.isError=bf,Ra.types.isNativeError=bf;function Ef($f){return typeof $f=="function"}Ra.isFunction=Ef;function _f($f){return $f===null||typeof $f=="boolean"||typeof $f=="number"||typeof $f=="string"||typeof $f=="symbol"||typeof $f>"u"}Ra.isPrimitive=_f,Ra.isBuffer=isBufferBrowser;function vf($f){return Object.prototype.toString.call($f)}function xf($f){return $f<10?"0"+$f.toString(10):$f.toString(10)}var Bf=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Yf(){var $f=new Date,Zf=[xf($f.getHours()),xf($f.getMinutes()),xf($f.getSeconds())].join(":");return[$f.getDate(),Bf[$f.getMonth()],Zf].join(" ")}Ra.log=function(){console.log("%s - %s",Yf(),Ra.format.apply(Ra,arguments))},Ra.inherits=inherits_browserExports,Ra._extend=function($f,Zf){if(!Zf||!Jd(Zf))return $f;for(var Kf=Object.keys(Zf),Tf=Kf.length;Tf--;)$f[Kf[Tf]]=Zf[Kf[Tf]];return $f};function eh($f,Zf){return Object.prototype.hasOwnProperty.call($f,Zf)}var Vf=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;Ra.promisify=function(Zf){if(typeof Zf!="function")throw new TypeError('The "original" argument must be of type Function');if(Vf&&Zf[Vf]){var Kf=Zf[Vf];if(typeof Kf!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Kf,Vf,{value:Kf,enumerable:!1,writable:!1,configurable:!0}),Kf}function Kf(){for(var Tf,gf,Mf=new Promise(function(Uf,Df){Tf=Uf,gf=Df}),Gf=[],Qf=0;Qf0?this.tail.next=Rd:this.head=Rd,this.tail=Rd,++this.length}},{key:"unshift",value:function(Ld){var Rd={data:Ld,next:this.head};this.length===0&&(this.tail=Rd),this.head=Rd,++this.length}},{key:"shift",value:function(){if(this.length!==0){var Ld=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,Ld}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(Ld){if(this.length===0)return"";for(var Rd=this.head,Od=""+Rd.data;Rd=Rd.next;)Od+=Ld+Rd.data;return Od}},{key:"concat",value:function(Ld){if(this.length===0)return dd.alloc(0);for(var Rd=dd.allocUnsafe(Ld>>>0),Od=this.head,Md=0;Od;)Ad(Od.data,Rd,Md),Md+=Od.data.length,Od=Od.next;return Rd}},{key:"consume",value:function(Ld,Rd){var Od;return Ldjd.length?jd.length:Ld;if(Ud===jd.length?Md+=jd:Md+=jd.slice(0,Ld),Ld-=Ud,Ld===0){Ud===jd.length?(++Od,Rd.next?this.head=Rd.next:this.head=this.tail=null):(this.head=Rd,Rd.data=jd.slice(Ud));break}++Od}return this.length-=Od,Md}},{key:"_getBuffer",value:function(Ld){var Rd=dd.allocUnsafe(Ld),Od=this.head,Md=1;for(Od.data.copy(Rd),Ld-=Od.data.length;Od=Od.next;){var jd=Od.data,Ud=Ld>jd.length?jd.length:Ld;if(jd.copy(Rd,Rd.length-Ld,0,Ud),Ld-=Ud,Ld===0){Ud===jd.length?(++Md,Od.next?this.head=Od.next:this.head=this.tail=null):(this.head=Od,Od.data=jd.slice(Ud));break}++Md}return this.length-=Md,Rd}},{key:Td,value:function(Ld,Rd){return fd(this,qa(qa({},Rd),{},{depth:0,customInspect:!1}))}}]),Sd}(),buffer_list}var define_process_default$7={version:"v20.17.0",versions:{node:"20.17.0",acorn:"8.11.3",ada:"2.9.0",ares:"1.32.3",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.2.2",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.13+quic",simdutf:"5.3.0",tz:"2024a",undici:"6.19.2",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-209717d"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule internal/idna","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/streams/utils","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/idna.js","lib/internal/inspector_async_hook.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_fc48d429-f579-45e8-bf03-b8f40cba1391",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.17.0 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_fc48d429-f579-45e8-bf03-b8f40cba1391",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.10.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu22",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"610",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",GOROOT_1_20_X64:"/opt/hostedtoolcache/go/1.20.14/x64",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20240915.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.7/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",JOURNAL_STREAM:"8:6290",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.17.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",npm_config_npm_version:"10.8.2",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"11027463784",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"c7b0e027ac0b5d7e952b951cd0f0482584bacafc",GITHUB_BASE_REF:"",ImageOS:"ubuntu22",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.17.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_869f45d3-ff71-43f5-9b82-440d0334cd1b",INVOCATION_ID:"4184953ec64c49749c61dec1ef6bfa6c",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"439",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 9",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"c7b0e027ac0b5d7e952b951cd0f0482584bacafc",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.17.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_fc48d429-f579-45e8-bf03-b8f40cba1391",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_fc48d429-f579-45e8-bf03-b8f40cba1391",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.1.12297006",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",STATS_EXTP:"https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.189/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_fc48d429-f579-45e8-bf03-b8f40cba1391",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.17.0/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2041,ppid:2038,execPath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};function destroy(Ra,qa){var td=this,rd=this._readableState&&this._readableState.destroyed,nd=this._writableState&&this._writableState.destroyed;return rd||nd?(qa?qa(Ra):Ra&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,define_process_default$7.nextTick(emitErrorNT,this,Ra)):define_process_default$7.nextTick(emitErrorNT,this,Ra)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(Ra||null,function(ad){!qa&&ad?td._writableState?td._writableState.errorEmitted?define_process_default$7.nextTick(emitCloseNT,td):(td._writableState.errorEmitted=!0,define_process_default$7.nextTick(emitErrorAndCloseNT,td,ad)):define_process_default$7.nextTick(emitErrorAndCloseNT,td,ad):qa?(define_process_default$7.nextTick(emitCloseNT,td),qa(ad)):define_process_default$7.nextTick(emitCloseNT,td)}),this)}function emitErrorAndCloseNT(Ra,qa){emitErrorNT(Ra,qa),emitCloseNT(Ra)}function emitCloseNT(Ra){Ra._writableState&&!Ra._writableState.emitClose||Ra._readableState&&!Ra._readableState.emitClose||Ra.emit("close")}function undestroy(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function emitErrorNT(Ra,qa){Ra.emit("error",qa)}function errorOrDestroy(Ra,qa){var td=Ra._readableState,rd=Ra._writableState;td&&td.autoDestroy||rd&&rd.autoDestroy?Ra.destroy(qa):Ra.emit("error",qa)}var destroy_1={destroy,undestroy,errorOrDestroy},errorsBrowser={};function _inheritsLoose(Ra,qa){Ra.prototype=Object.create(qa.prototype),Ra.prototype.constructor=Ra,Ra.__proto__=qa}var codes={};function createErrorType(Ra,qa,td){td||(td=Error);function rd(ad,sd,ud){return typeof qa=="string"?qa:qa(ad,sd,ud)}var nd=function(ad){_inheritsLoose(sd,ad);function sd(ud,cd,dd){return ad.call(this,rd(ud,cd,dd))||this}return sd}(td);nd.prototype.name=td.name,nd.prototype.code=Ra,codes[Ra]=nd}function oneOf(Ra,qa){if(Array.isArray(Ra)){var td=Ra.length;return Ra=Ra.map(function(rd){return String(rd)}),td>2?"one of ".concat(qa," ").concat(Ra.slice(0,td-1).join(", "),", or ")+Ra[td-1]:td===2?"one of ".concat(qa," ").concat(Ra[0]," or ").concat(Ra[1]):"of ".concat(qa," ").concat(Ra[0])}else return"of ".concat(qa," ").concat(String(Ra))}function startsWith(Ra,qa,td){return Ra.substr(0,qa.length)===qa}function endsWith$1(Ra,qa,td){return(td===void 0||td>Ra.length)&&(td=Ra.length),Ra.substring(td-qa.length,td)===qa}function includes(Ra,qa,td){return typeof td!="number"&&(td=0),td+qa.length>Ra.length?!1:Ra.indexOf(qa,td)!==-1}createErrorType("ERR_INVALID_OPT_VALUE",function(Ra,qa){return'The value "'+qa+'" is invalid for option "'+Ra+'"'},TypeError);createErrorType("ERR_INVALID_ARG_TYPE",function(Ra,qa,td){var rd;typeof qa=="string"&&startsWith(qa,"not ")?(rd="must not be",qa=qa.replace(/^not /,"")):rd="must be";var nd;if(endsWith$1(Ra," argument"))nd="The ".concat(Ra," ").concat(rd," ").concat(oneOf(qa,"type"));else{var ad=includes(Ra,".")?"property":"argument";nd='The "'.concat(Ra,'" ').concat(ad," ").concat(rd," ").concat(oneOf(qa,"type"))}return nd+=". Received type ".concat(typeof td),nd},TypeError);createErrorType("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");createErrorType("ERR_METHOD_NOT_IMPLEMENTED",function(Ra){return"The "+Ra+" method is not implemented"});createErrorType("ERR_STREAM_PREMATURE_CLOSE","Premature close");createErrorType("ERR_STREAM_DESTROYED",function(Ra){return"Cannot call "+Ra+" after a stream was destroyed"});createErrorType("ERR_MULTIPLE_CALLBACK","Callback called multiple times");createErrorType("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");createErrorType("ERR_STREAM_WRITE_AFTER_END","write after end");createErrorType("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);createErrorType("ERR_UNKNOWN_ENCODING",function(Ra){return"Unknown encoding: "+Ra},TypeError);createErrorType("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");errorsBrowser.codes=codes;var ERR_INVALID_OPT_VALUE=errorsBrowser.codes.ERR_INVALID_OPT_VALUE;function highWaterMarkFrom(Ra,qa,td){return Ra.highWaterMark!=null?Ra.highWaterMark:qa?Ra[td]:null}function getHighWaterMark(Ra,qa,td,rd){var nd=highWaterMarkFrom(qa,rd,td);if(nd!=null){if(!(isFinite(nd)&&Math.floor(nd)===nd)||nd<0){var ad=rd?td:"highWaterMark";throw new ERR_INVALID_OPT_VALUE(ad,nd)}return Math.floor(nd)}return Ra.objectMode?16:16*1024}var state={getHighWaterMark},browser=deprecate;function deprecate(Ra,qa){if(config("noDeprecation"))return Ra;var td=!1;function rd(){if(!td){if(config("throwDeprecation"))throw new Error(qa);config("traceDeprecation")?console.trace(qa):console.warn(qa),td=!0}return Ra.apply(this,arguments)}return rd}function config(Ra){try{if(!commonjsGlobal.localStorage)return!1}catch{return!1}var qa=commonjsGlobal.localStorage[Ra];return qa==null?!1:String(qa).toLowerCase()==="true"}var _stream_writable,hasRequired_stream_writable;function require_stream_writable(){if(hasRequired_stream_writable)return _stream_writable;hasRequired_stream_writable=1;var Ra={version:"v20.17.0",versions:{node:"20.17.0",acorn:"8.11.3",ada:"2.9.0",ares:"1.32.3",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.2.2",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.13+quic",simdutf:"5.3.0",tz:"2024a",undici:"6.19.2",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-209717d"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule internal/idna","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/streams/utils","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/idna.js","lib/internal/inspector_async_hook.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_fc48d429-f579-45e8-bf03-b8f40cba1391",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.17.0 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_fc48d429-f579-45e8-bf03-b8f40cba1391",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.10.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu22",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"610",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",GOROOT_1_20_X64:"/opt/hostedtoolcache/go/1.20.14/x64",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20240915.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.7/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",JOURNAL_STREAM:"8:6290",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.17.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",npm_config_npm_version:"10.8.2",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"11027463784",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"c7b0e027ac0b5d7e952b951cd0f0482584bacafc",GITHUB_BASE_REF:"",ImageOS:"ubuntu22",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.17.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_869f45d3-ff71-43f5-9b82-440d0334cd1b",INVOCATION_ID:"4184953ec64c49749c61dec1ef6bfa6c",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"439",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 9",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"c7b0e027ac0b5d7e952b951cd0f0482584bacafc",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.17.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_fc48d429-f579-45e8-bf03-b8f40cba1391",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_fc48d429-f579-45e8-bf03-b8f40cba1391",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.1.12297006",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",STATS_EXTP:"https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.189/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_fc48d429-f579-45e8-bf03-b8f40cba1391",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.17.0/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2041,ppid:2038,execPath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};_stream_writable=Wd;function qa(Tf){var gf=this;this.next=null,this.entry=null,this.finish=function(){Kf(gf,Tf)}}var td;Wd.WritableState=zd;var rd={deprecate:browser},nd=streamBrowser,ad=buffer.Buffer,sd=(typeof commonjsGlobal<"u"?commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function ud(Tf){return ad.from(Tf)}function cd(Tf){return ad.isBuffer(Tf)||Tf instanceof sd}var dd=destroy_1,pd=state,fd=pd.getHighWaterMark,Td=errorsBrowser.codes,Ad=Td.ERR_INVALID_ARG_TYPE,Sd=Td.ERR_METHOD_NOT_IMPLEMENTED,Dd=Td.ERR_MULTIPLE_CALLBACK,Ld=Td.ERR_STREAM_CANNOT_PIPE,Rd=Td.ERR_STREAM_DESTROYED,Od=Td.ERR_STREAM_NULL_VALUES,Md=Td.ERR_STREAM_WRITE_AFTER_END,jd=Td.ERR_UNKNOWN_ENCODING,Ud=dd.errorOrDestroy;inherits_browserExports(Wd,nd);function Hd(){}function zd(Tf,gf,Mf){td=td||require_stream_duplex(),Tf=Tf||{},typeof Mf!="boolean"&&(Mf=gf instanceof td),this.objectMode=!!Tf.objectMode,Mf&&(this.objectMode=this.objectMode||!!Tf.writableObjectMode),this.highWaterMark=fd(this,Tf,"writableHighWaterMark",Mf),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var Gf=Tf.decodeStrings===!1;this.decodeStrings=!Gf,this.defaultEncoding=Tf.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Qf){xf(gf,Qf)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=Tf.emitClose!==!1,this.autoDestroy=!!Tf.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new qa(this)}zd.prototype.getBuffer=function(){for(var gf=this.bufferedRequest,Mf=[];gf;)Mf.push(gf),gf=gf.next;return Mf},function(){try{Object.defineProperty(zd.prototype,"buffer",{get:rd.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var Zd;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Zd=Function.prototype[Symbol.hasInstance],Object.defineProperty(Wd,Symbol.hasInstance,{value:function(gf){return Zd.call(this,gf)?!0:this!==Wd?!1:gf&&gf._writableState instanceof zd}})):Zd=function(gf){return gf instanceof this};function Wd(Tf){td=td||require_stream_duplex();var gf=this instanceof td;if(!gf&&!Zd.call(Wd,this))return new Wd(Tf);this._writableState=new zd(Tf,this,gf),this.writable=!0,Tf&&(typeof Tf.write=="function"&&(this._write=Tf.write),typeof Tf.writev=="function"&&(this._writev=Tf.writev),typeof Tf.destroy=="function"&&(this._destroy=Tf.destroy),typeof Tf.final=="function"&&(this._final=Tf.final)),nd.call(this)}Wd.prototype.pipe=function(){Ud(this,new Ld)};function Qd(Tf,gf){var Mf=new Md;Ud(Tf,Mf),Ra.nextTick(gf,Mf)}function Jd(Tf,gf,Mf,Gf){var Qf;return Mf===null?Qf=new Od:typeof Mf!="string"&&!gf.objectMode&&(Qf=new Ad("chunk",["string","Buffer"],Mf)),Qf?(Ud(Tf,Qf),Ra.nextTick(Gf,Qf),!1):!0}Wd.prototype.write=function(Tf,gf,Mf){var Gf=this._writableState,Qf=!1,Uf=!Gf.objectMode&&cd(Tf);return Uf&&!ad.isBuffer(Tf)&&(Tf=ud(Tf)),typeof gf=="function"&&(Mf=gf,gf=null),Uf?gf="buffer":gf||(gf=Gf.defaultEncoding),typeof Mf!="function"&&(Mf=Hd),Gf.ending?Qd(this,Mf):(Uf||Jd(this,Gf,Tf,Mf))&&(Gf.pendingcb++,Qf=bf(this,Gf,Uf,Tf,gf,Mf)),Qf},Wd.prototype.cork=function(){this._writableState.corked++},Wd.prototype.uncork=function(){var Tf=this._writableState;Tf.corked&&(Tf.corked--,!Tf.writing&&!Tf.corked&&!Tf.bufferProcessing&&Tf.bufferedRequest&&eh(this,Tf))},Wd.prototype.setDefaultEncoding=function(gf){if(typeof gf=="string"&&(gf=gf.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((gf+"").toLowerCase())>-1))throw new jd(gf);return this._writableState.defaultEncoding=gf,this},Object.defineProperty(Wd.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function hf(Tf,gf,Mf){return!Tf.objectMode&&Tf.decodeStrings!==!1&&typeof gf=="string"&&(gf=ad.from(gf,Mf)),gf}Object.defineProperty(Wd.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function bf(Tf,gf,Mf,Gf,Qf,Uf){if(!Mf){var Df=hf(gf,Gf,Qf);Gf!==Df&&(Mf=!0,Qf="buffer",Gf=Df)}var Xf=gf.objectMode?1:Gf.length;gf.length+=Xf;var dh=gf.length */var hasRequiredSafeBuffer;function requireSafeBuffer(){return hasRequiredSafeBuffer||(hasRequiredSafeBuffer=1,function(Ra,qa){var td=buffer,rd=td.Buffer;function nd(sd,ud){for(var cd in sd)ud[cd]=sd[cd]}rd.from&&rd.alloc&&rd.allocUnsafe&&rd.allocUnsafeSlow?Ra.exports=td:(nd(td,qa),qa.Buffer=ad);function ad(sd,ud,cd){return rd(sd,ud,cd)}ad.prototype=Object.create(rd.prototype),nd(rd,ad),ad.from=function(sd,ud,cd){if(typeof sd=="number")throw new TypeError("Argument must not be a number");return rd(sd,ud,cd)},ad.alloc=function(sd,ud,cd){if(typeof sd!="number")throw new TypeError("Argument must be a number");var dd=rd(sd);return ud!==void 0?typeof cd=="string"?dd.fill(ud,cd):dd.fill(ud):dd.fill(0),dd},ad.allocUnsafe=function(sd){if(typeof sd!="number")throw new TypeError("Argument must be a number");return rd(sd)},ad.allocUnsafeSlow=function(sd){if(typeof sd!="number")throw new TypeError("Argument must be a number");return td.SlowBuffer(sd)}}(safeBuffer,safeBuffer.exports)),safeBuffer.exports}var hasRequiredString_decoder;function requireString_decoder(){if(hasRequiredString_decoder)return string_decoder;hasRequiredString_decoder=1;var Ra=requireSafeBuffer().Buffer,qa=Ra.isEncoding||function(Rd){switch(Rd=""+Rd,Rd&&Rd.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function td(Rd){if(!Rd)return"utf8";for(var Od;;)switch(Rd){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return Rd;default:if(Od)return;Rd=(""+Rd).toLowerCase(),Od=!0}}function rd(Rd){var Od=td(Rd);if(typeof Od!="string"&&(Ra.isEncoding===qa||!qa(Rd)))throw new Error("Unknown encoding: "+Rd);return Od||Rd}string_decoder.StringDecoder=nd;function nd(Rd){this.encoding=rd(Rd);var Od;switch(this.encoding){case"utf16le":this.text=fd,this.end=Td,Od=4;break;case"utf8":this.fillLast=cd,Od=4;break;case"base64":this.text=Ad,this.end=Sd,Od=3;break;default:this.write=Dd,this.end=Ld;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Ra.allocUnsafe(Od)}nd.prototype.write=function(Rd){if(Rd.length===0)return"";var Od,Md;if(this.lastNeed){if(Od=this.fillLast(Rd),Od===void 0)return"";Md=this.lastNeed,this.lastNeed=0}else Md=0;return Md>5===6?2:Rd>>4===14?3:Rd>>3===30?4:Rd>>6===2?-1:-2}function sd(Rd,Od,Md){var jd=Od.length-1;if(jd=0?(Ud>0&&(Rd.lastNeed=Ud-1),Ud):--jd=0?(Ud>0&&(Rd.lastNeed=Ud-2),Ud):--jd=0?(Ud>0&&(Ud===2?Ud=0:Rd.lastNeed=Ud-3),Ud):0))}function ud(Rd,Od,Md){if((Od[0]&192)!==128)return Rd.lastNeed=0,"�";if(Rd.lastNeed>1&&Od.length>1){if((Od[1]&192)!==128)return Rd.lastNeed=1,"�";if(Rd.lastNeed>2&&Od.length>2&&(Od[2]&192)!==128)return Rd.lastNeed=2,"�"}}function cd(Rd){var Od=this.lastTotal-this.lastNeed,Md=ud(this,Rd);if(Md!==void 0)return Md;if(this.lastNeed<=Rd.length)return Rd.copy(this.lastChar,Od,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);Rd.copy(this.lastChar,Od,0,Rd.length),this.lastNeed-=Rd.length}function dd(Rd,Od){var Md=sd(this,Rd,Od);if(!this.lastNeed)return Rd.toString("utf8",Od);this.lastTotal=Md;var jd=Rd.length-(Md-this.lastNeed);return Rd.copy(this.lastChar,0,jd),Rd.toString("utf8",Od,jd)}function pd(Rd){var Od=Rd&&Rd.length?this.write(Rd):"";return this.lastNeed?Od+"�":Od}function fd(Rd,Od){if((Rd.length-Od)%2===0){var Md=Rd.toString("utf16le",Od);if(Md){var jd=Md.charCodeAt(Md.length-1);if(jd>=55296&&jd<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=Rd[Rd.length-2],this.lastChar[1]=Rd[Rd.length-1],Md.slice(0,-1)}return Md}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=Rd[Rd.length-1],Rd.toString("utf16le",Od,Rd.length-1)}function Td(Rd){var Od=Rd&&Rd.length?this.write(Rd):"";if(this.lastNeed){var Md=this.lastTotal-this.lastNeed;return Od+this.lastChar.toString("utf16le",0,Md)}return Od}function Ad(Rd,Od){var Md=(Rd.length-Od)%3;return Md===0?Rd.toString("base64",Od):(this.lastNeed=3-Md,this.lastTotal=3,Md===1?this.lastChar[0]=Rd[Rd.length-1]:(this.lastChar[0]=Rd[Rd.length-2],this.lastChar[1]=Rd[Rd.length-1]),Rd.toString("base64",Od,Rd.length-Md))}function Sd(Rd){var Od=Rd&&Rd.length?this.write(Rd):"";return this.lastNeed?Od+this.lastChar.toString("base64",0,3-this.lastNeed):Od}function Dd(Rd){return Rd.toString(this.encoding)}function Ld(Rd){return Rd&&Rd.length?this.write(Rd):""}return string_decoder}var ERR_STREAM_PREMATURE_CLOSE=errorsBrowser.codes.ERR_STREAM_PREMATURE_CLOSE;function once$2(Ra){var qa=!1;return function(){if(!qa){qa=!0;for(var td=arguments.length,rd=new Array(td),nd=0;nd0)if(typeof Df!="string"&&!wf.objectMode&&Object.getPrototypeOf(Df)!==nd.prototype&&(Df=sd(Df)),dh)wf.endEmitted?Hd(Uf,new Od):hf(Uf,wf,Df,!0);else if(wf.ended)Hd(Uf,new Ld);else{if(wf.destroyed)return!1;wf.reading=!1,wf.decoder&&!Xf?(Df=wf.decoder.write(Df),wf.objectMode||Df.length!==0?hf(Uf,wf,Df,!1):eh(Uf,wf)):hf(Uf,wf,Df,!1)}else dh||(wf.reading=!1,eh(Uf,wf))}return!wf.ended&&(wf.length=Ef?Uf=Ef:(Uf--,Uf|=Uf>>>1,Uf|=Uf>>>2,Uf|=Uf>>>4,Uf|=Uf>>>8,Uf|=Uf>>>16,Uf++),Uf}function vf(Uf,Df){return Uf<=0||Df.length===0&&Df.ended?0:Df.objectMode?1:Uf!==Uf?Df.flowing&&Df.length?Df.buffer.head.data.length:Df.length:(Uf>Df.highWaterMark&&(Df.highWaterMark=_f(Uf)),Uf<=Df.length?Uf:Df.ended?Df.length:(Df.needReadable=!0,0))}Qd.prototype.read=function(Uf){dd("read",Uf),Uf=parseInt(Uf,10);var Df=this._readableState,Xf=Uf;if(Uf!==0&&(Df.emittedReadable=!1),Uf===0&&Df.needReadable&&((Df.highWaterMark!==0?Df.length>=Df.highWaterMark:Df.length>0)||Df.ended))return dd("read: emitReadable",Df.length,Df.ended),Df.length===0&&Df.ended?Mf(this):Bf(this),null;if(Uf=vf(Uf,Df),Uf===0&&Df.ended)return Df.length===0&&Mf(this),null;var dh=Df.needReadable;dd("need readable",dh),(Df.length===0||Df.length-Uf0?qf=gf(Uf,Df):qf=null,qf===null?(Df.needReadable=Df.length<=Df.highWaterMark,Uf=0):(Df.length-=Uf,Df.awaitDrain=0),Df.length===0&&(Df.ended||(Df.needReadable=!0),Xf!==Uf&&Df.ended&&Mf(this)),qf!==null&&this.emit("data",qf),qf};function xf(Uf,Df){if(dd("onEofChunk"),!Df.ended){if(Df.decoder){var Xf=Df.decoder.end();Xf&&Xf.length&&(Df.buffer.push(Xf),Df.length+=Df.objectMode?1:Xf.length)}Df.ended=!0,Df.sync?Bf(Uf):(Df.needReadable=!1,Df.emittedReadable||(Df.emittedReadable=!0,Yf(Uf)))}}function Bf(Uf){var Df=Uf._readableState;dd("emitReadable",Df.needReadable,Df.emittedReadable),Df.needReadable=!1,Df.emittedReadable||(dd("emitReadable",Df.flowing),Df.emittedReadable=!0,Ra.nextTick(Yf,Uf))}function Yf(Uf){var Df=Uf._readableState;dd("emitReadable_",Df.destroyed,Df.length,Df.ended),!Df.destroyed&&(Df.length||Df.ended)&&(Uf.emit("readable"),Df.emittedReadable=!1),Df.needReadable=!Df.flowing&&!Df.ended&&Df.length<=Df.highWaterMark,Tf(Uf)}function eh(Uf,Df){Df.readingMore||(Df.readingMore=!0,Ra.nextTick(Vf,Uf,Df))}function Vf(Uf,Df){for(;!Df.reading&&!Df.ended&&(Df.length1&&Qf(dh.pipes,Uf)!==-1)&&!_h&&(dd("false write response, pause",dh.awaitDrain),dh.awaitDrain++),Xf.pause())}function hh(Yh){dd("onerror",Yh),Bh(),Uf.removeListener("error",hh),td(Uf,"error")===0&&Hd(Uf,Yh)}Zd(Uf,"error",hh);function Th(){Uf.removeListener("finish",Vh),Bh()}Uf.once("close",Th);function Vh(){dd("onfinish"),Uf.removeListener("close",Th),Bh()}Uf.once("finish",Vh);function Bh(){dd("unpipe"),Xf.unpipe(Uf)}return Uf.emit("pipe",Xf),dh.flowing||(dd("pipe resume"),Xf.resume()),Uf};function Pf(Uf){return function(){var Xf=Uf._readableState;dd("pipeOnDrain",Xf.awaitDrain),Xf.awaitDrain&&Xf.awaitDrain--,Xf.awaitDrain===0&&td(Uf,"data")&&(Xf.flowing=!0,Tf(Uf))}}Qd.prototype.unpipe=function(Uf){var Df=this._readableState,Xf={hasUnpiped:!1};if(Df.pipesCount===0)return this;if(Df.pipesCount===1)return Uf&&Uf!==Df.pipes?this:(Uf||(Uf=Df.pipes),Df.pipes=null,Df.pipesCount=0,Df.flowing=!1,Uf&&Uf.emit("unpipe",this,Xf),this);if(!Uf){var dh=Df.pipes,qf=Df.pipesCount;Df.pipes=null,Df.pipesCount=0,Df.flowing=!1;for(var wf=0;wf0,dh.flowing!==!1&&this.resume()):Uf==="readable"&&!dh.endEmitted&&!dh.readableListening&&(dh.readableListening=dh.needReadable=!0,dh.flowing=!1,dh.emittedReadable=!1,dd("on readable",dh.length,dh.reading),dh.length?Bf(this):dh.reading||Ra.nextTick($f,this)),Xf},Qd.prototype.addListener=Qd.prototype.on,Qd.prototype.removeListener=function(Uf,Df){var Xf=rd.prototype.removeListener.call(this,Uf,Df);return Uf==="readable"&&Ra.nextTick(If,this),Xf},Qd.prototype.removeAllListeners=function(Uf){var Df=rd.prototype.removeAllListeners.apply(this,arguments);return(Uf==="readable"||Uf===void 0)&&Ra.nextTick(If,this),Df};function If(Uf){var Df=Uf._readableState;Df.readableListening=Uf.listenerCount("readable")>0,Df.resumeScheduled&&!Df.paused?Df.flowing=!0:Uf.listenerCount("data")>0&&Uf.resume()}function $f(Uf){dd("readable nexttick read 0"),Uf.read(0)}Qd.prototype.resume=function(){var Uf=this._readableState;return Uf.flowing||(dd("resume"),Uf.flowing=!Uf.readableListening,Zf(this,Uf)),Uf.paused=!1,this};function Zf(Uf,Df){Df.resumeScheduled||(Df.resumeScheduled=!0,Ra.nextTick(Kf,Uf,Df))}function Kf(Uf,Df){dd("resume",Df.reading),Df.reading||Uf.read(0),Df.resumeScheduled=!1,Uf.emit("resume"),Tf(Uf),Df.flowing&&!Df.reading&&Uf.read(0)}Qd.prototype.pause=function(){return dd("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(dd("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function Tf(Uf){var Df=Uf._readableState;for(dd("flow",Df.flowing);Df.flowing&&Uf.read()!==null;);}Qd.prototype.wrap=function(Uf){var Df=this,Xf=this._readableState,dh=!1;Uf.on("end",function(){if(dd("wrapped end"),Xf.decoder&&!Xf.ended){var Rf=Xf.decoder.end();Rf&&Rf.length&&Df.push(Rf)}Df.push(null)}),Uf.on("data",function(Rf){if(dd("wrapped data"),Xf.decoder&&(Rf=Xf.decoder.write(Rf)),!(Xf.objectMode&&Rf==null)&&!(!Xf.objectMode&&(!Rf||!Rf.length))){var jf=Df.push(Rf);jf||(dh=!0,Uf.pause())}});for(var qf in Uf)this[qf]===void 0&&typeof Uf[qf]=="function"&&(this[qf]=function(jf){return function(){return Uf[jf].apply(Uf,arguments)}}(qf));for(var wf=0;wf=Df.length?(Df.decoder?Xf=Df.buffer.join(""):Df.buffer.length===1?Xf=Df.buffer.first():Xf=Df.buffer.concat(Df.length),Df.buffer.clear()):Xf=Df.buffer.consume(Uf,Df.decoder),Xf}function Mf(Uf){var Df=Uf._readableState;dd("endReadable",Df.endEmitted),Df.endEmitted||(Df.ended=!0,Ra.nextTick(Gf,Df,Uf))}function Gf(Uf,Df){if(dd("endReadableNT",Uf.endEmitted,Uf.length),!Uf.endEmitted&&Uf.length===0&&(Uf.endEmitted=!0,Df.readable=!1,Df.emit("end"),Uf.autoDestroy)){var Xf=Df._writableState;(!Xf||Xf.autoDestroy&&Xf.finished)&&Df.destroy()}}typeof Symbol=="function"&&(Qd.from=function(Uf,Df){return Ud===void 0&&(Ud=requireFromBrowser()),Ud(Qd,Uf,Df)});function Qf(Uf,Df){for(var Xf=0,dh=Uf.length;Xf0;return destroyer(sd,cd,dd,function(pd){nd||(nd=pd),pd&&ad.forEach(call),!cd&&(ad.forEach(call),rd(nd))})});return qa.reduce(pipe)}var pipeline_1=pipeline$1,streamBrowserify=Stream$1,EE=eventsExports.EventEmitter,inherits$2=inherits_browserExports;inherits$2(Stream$1,EE);Stream$1.Readable=require_stream_readable();Stream$1.Writable=require_stream_writable();Stream$1.Duplex=require_stream_duplex();Stream$1.Transform=_stream_transform;Stream$1.PassThrough=_stream_passthrough;Stream$1.finished=endOfStream;Stream$1.pipeline=pipeline_1;Stream$1.Stream=Stream$1;function Stream$1(){EE.call(this)}Stream$1.prototype.pipe=function(Ra,qa){var td=this;function rd(pd){Ra.writable&&Ra.write(pd)===!1&&td.pause&&td.pause()}td.on("data",rd);function nd(){td.readable&&td.resume&&td.resume()}Ra.on("drain",nd),!Ra._isStdio&&(!qa||qa.end!==!1)&&(td.on("end",sd),td.on("close",ud));var ad=!1;function sd(){ad||(ad=!0,Ra.end())}function ud(){ad||(ad=!0,typeof Ra.destroy=="function"&&Ra.destroy())}function cd(pd){if(dd(),EE.listenerCount(this,"error")===0)throw pd}td.on("error",cd),Ra.on("error",cd);function dd(){td.removeListener("data",rd),Ra.removeListener("drain",nd),td.removeListener("end",sd),td.removeListener("close",ud),td.removeListener("error",cd),Ra.removeListener("error",cd),td.removeListener("end",dd),td.removeListener("close",dd),Ra.removeListener("close",dd)}return td.on("end",dd),td.on("close",dd),Ra.on("close",dd),Ra.emit("pipe",td),Ra};var define_process_default$6={version:"v20.17.0",versions:{node:"20.17.0",acorn:"8.11.3",ada:"2.9.0",ares:"1.32.3",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.2.2",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.13+quic",simdutf:"5.3.0",tz:"2024a",undici:"6.19.2",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-209717d"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule internal/idna","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/streams/utils","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/idna.js","lib/internal/inspector_async_hook.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_fc48d429-f579-45e8-bf03-b8f40cba1391",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.17.0 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_fc48d429-f579-45e8-bf03-b8f40cba1391",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.10.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu22",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"610",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",GOROOT_1_20_X64:"/opt/hostedtoolcache/go/1.20.14/x64",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20240915.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.7/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",JOURNAL_STREAM:"8:6290",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.17.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",npm_config_npm_version:"10.8.2",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"11027463784",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"c7b0e027ac0b5d7e952b951cd0f0482584bacafc",GITHUB_BASE_REF:"",ImageOS:"ubuntu22",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.17.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_869f45d3-ff71-43f5-9b82-440d0334cd1b",INVOCATION_ID:"4184953ec64c49749c61dec1ef6bfa6c",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"439",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 9",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"c7b0e027ac0b5d7e952b951cd0f0482584bacafc",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.17.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_fc48d429-f579-45e8-bf03-b8f40cba1391",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_fc48d429-f579-45e8-bf03-b8f40cba1391",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.1.12297006",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",STATS_EXTP:"https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.189/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_fc48d429-f579-45e8-bf03-b8f40cba1391",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.17.0/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2041,ppid:2038,execPath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};function apply(Ra,...qa){return(...td)=>Ra(...qa,...td)}function initialParams(Ra){return function(...qa){var td=qa.pop();return Ra.call(this,qa,td)}}var hasQueueMicrotask=typeof queueMicrotask=="function"&&queueMicrotask,hasSetImmediate=typeof setImmediate=="function"&&setImmediate,hasNextTick=typeof define_process_default$6=="object"&&typeof define_process_default$6.nextTick=="function";function fallback(Ra){setTimeout(Ra,0)}function wrap(Ra){return(qa,...td)=>Ra(()=>qa(...td))}var _defer$1;hasQueueMicrotask?_defer$1=queueMicrotask:hasSetImmediate?_defer$1=setImmediate:hasNextTick?_defer$1=define_process_default$6.nextTick:_defer$1=fallback;var setImmediate$1$1=wrap(_defer$1);function asyncify(Ra){return isAsync(Ra)?function(...qa){const td=qa.pop(),rd=Ra.apply(this,qa);return handlePromise(rd,td)}:initialParams(function(qa,td){var rd;try{rd=Ra.apply(this,qa)}catch(nd){return td(nd)}if(rd&&typeof rd.then=="function")return handlePromise(rd,td);td(null,rd)})}function handlePromise(Ra,qa){return Ra.then(td=>{invokeCallback(qa,null,td)},td=>{invokeCallback(qa,td&&(td instanceof Error||td.message)?td:new Error(td))})}function invokeCallback(Ra,qa,td){try{Ra(qa,td)}catch(rd){setImmediate$1$1(nd=>{throw nd},rd)}}function isAsync(Ra){return Ra[Symbol.toStringTag]==="AsyncFunction"}function isAsyncGenerator(Ra){return Ra[Symbol.toStringTag]==="AsyncGenerator"}function isAsyncIterable(Ra){return typeof Ra[Symbol.asyncIterator]=="function"}function wrapAsync(Ra){if(typeof Ra!="function")throw new Error("expected a function");return isAsync(Ra)?asyncify(Ra):Ra}function awaitify(Ra,qa){if(qa||(qa=Ra.length),!qa)throw new Error("arity is undefined");function td(...rd){return typeof rd[qa-1]=="function"?Ra.apply(this,rd):new Promise((nd,ad)=>{rd[qa-1]=(sd,...ud)=>{if(sd)return ad(sd);nd(ud.length>1?ud:ud[0])},Ra.apply(this,rd)})}return td}function applyEach$1(Ra){return function(td,...rd){return awaitify(function(ad){var sd=this;return Ra(td,(ud,cd)=>{wrapAsync(ud).apply(sd,rd.concat(cd))},ad)})}}function _asyncMap(Ra,qa,td,rd){qa=qa||[];var nd=[],ad=0,sd=wrapAsync(td);return Ra(qa,(ud,cd,dd)=>{var pd=ad++;sd(ud,(fd,Td)=>{nd[pd]=Td,dd(fd)})},ud=>{rd(ud,nd)})}function isArrayLike(Ra){return Ra&&typeof Ra.length=="number"&&Ra.length>=0&&Ra.length%1===0}const breakLoop={};function once(Ra){function qa(...td){if(Ra!==null){var rd=Ra;Ra=null,rd.apply(this,td)}}return Object.assign(qa,Ra),qa}function getIterator(Ra){return Ra[Symbol.iterator]&&Ra[Symbol.iterator]()}function createArrayIterator(Ra){var qa=-1,td=Ra.length;return function(){return++qa=qa||sd||nd||(sd=!0,Ra.next().then(({value:Td,done:Ad})=>{if(!(ad||nd)){if(sd=!1,Ad){nd=!0,ud<=0&&rd(null);return}ud++,td(Td,cd,pd),cd++,dd()}}).catch(fd))}function pd(Td,Ad){if(ud-=1,!ad){if(Td)return fd(Td);if(Td===!1){nd=!0,ad=!0;return}if(Ad===breakLoop||nd&&ud<=0)return nd=!0,rd(null);dd()}}function fd(Td){ad||(sd=!1,nd=!0,rd(Td))}dd()}var eachOfLimit$2=Ra=>(qa,td,rd)=>{if(rd=once(rd),Ra<=0)throw new RangeError("concurrency limit cannot be less than 1");if(!qa)return rd(null);if(isAsyncGenerator(qa))return asyncEachOfLimit(qa,Ra,td,rd);if(isAsyncIterable(qa))return asyncEachOfLimit(qa[Symbol.asyncIterator](),Ra,td,rd);var nd=createIterator(qa),ad=!1,sd=!1,ud=0,cd=!1;function dd(fd,Td){if(!sd)if(ud-=1,fd)ad=!0,rd(fd);else if(fd===!1)ad=!0,sd=!0;else{if(Td===breakLoop||ad&&ud<=0)return ad=!0,rd(null);cd||pd()}}function pd(){for(cd=!0;ud1?nd:nd[0])}return td[PROMISE_SYMBOL]=new Promise((rd,nd)=>{Ra=rd,qa=nd}),td}function auto(Ra,qa,td){typeof qa!="number"&&(td=qa,qa=null),td=once(td||promiseCallback());var rd=Object.keys(Ra).length;if(!rd)return td(null);qa||(qa=rd);var nd={},ad=0,sd=!1,ud=!1,cd=Object.create(null),dd=[],pd=[],fd={};Object.keys(Ra).forEach(Md=>{var jd=Ra[Md];if(!Array.isArray(jd)){Td(Md,[jd]),pd.push(Md);return}var Ud=jd.slice(0,jd.length-1),Hd=Ud.length;if(Hd===0){Td(Md,jd),pd.push(Md);return}fd[Md]=Hd,Ud.forEach(zd=>{if(!Ra[zd])throw new Error("async.auto task `"+Md+"` has a non-existent dependency `"+zd+"` in "+Ud.join(", "));Sd(zd,()=>{Hd--,Hd===0&&Td(Md,jd)})})}),Rd(),Ad();function Td(Md,jd){dd.push(()=>Ld(Md,jd))}function Ad(){if(!sd){if(dd.length===0&&ad===0)return td(null,nd);for(;dd.length&&adUd()),Ad()}function Ld(Md,jd){if(!ud){var Ud=onlyOnce((zd,...Zd)=>{if(ad--,zd===!1){sd=!0;return}if(Zd.length<2&&([Zd]=Zd),zd){var Wd={};if(Object.keys(nd).forEach(Qd=>{Wd[Qd]=nd[Qd]}),Wd[Md]=Zd,ud=!0,cd=Object.create(null),sd)return;td(zd,Wd)}else nd[Md]=Zd,Dd(Md)});ad++;var Hd=wrapAsync(jd[jd.length-1]);jd.length>1?Hd(nd,Ud):Hd(Ud)}}function Rd(){for(var Md,jd=0;pd.length;)Md=pd.pop(),jd++,Od(Md).forEach(Ud=>{--fd[Ud]===0&&pd.push(Ud)});if(jd!==rd)throw new Error("async.auto cannot execute tasks due to a recursive dependency")}function Od(Md){var jd=[];return Object.keys(Ra).forEach(Ud=>{const Hd=Ra[Ud];Array.isArray(Hd)&&Hd.indexOf(Md)>=0&&jd.push(Ud)}),jd}return td[PROMISE_SYMBOL]}var FN_ARGS=/^(?:async\s)?(?:function)?\s*(?:\w+\s*)?\(([^)]+)\)(?:\s*{)/,ARROW_FN_ARGS=/^(?:async\s)?\s*(?:\(\s*)?((?:[^)=\s]\s*)*)(?:\)\s*)?=>/,FN_ARG_SPLIT=/,/,FN_ARG=/(=.+)?(\s*)$/;function stripComments(Ra){let qa="",td=0,rd=Ra.indexOf("*/");for(;tdrd.replace(FN_ARG,"").trim())}function autoInject(Ra,qa){var ed={};return Object.keys(Ra).forEach(td=>{var rd=Ra[td],sd,od=isAsync(rd),ld=!od&&rd.length===1||od&&rd.length===0;if(Array.isArray(rd))sd=[...rd],rd=sd.pop(),ed[td]=sd.concat(sd.length>0?ud:rd);else if(ld)ed[td]=rd;else{if(sd=parseParams(rd),rd.length===0&&!od&&sd.length===0)throw new Error("autoInject task functions require explicit parameters.");od||sd.pop(),ed[td]=sd.concat(ud)}function ud(cd,dd){var _d=sd.map(Ed=>cd[Ed]);_d.push(dd),wrapAsync(rd)(..._d)}}),auto(ed,qa)}class DLL{constructor(){this.head=this.tail=null,this.length=0}removeLink(qa){return qa.prev?qa.prev.next=qa.next:this.head=qa.next,qa.next?qa.next.prev=qa.prev:this.tail=qa.prev,qa.prev=qa.next=null,this.length-=1,qa}empty(){for(;this.head;)this.shift();return this}insertAfter(qa,ed){ed.prev=qa,ed.next=qa.next,qa.next?qa.next.prev=ed:this.tail=ed,qa.next=ed,this.length+=1}insertBefore(qa,ed){ed.prev=qa.prev,ed.next=qa,qa.prev?qa.prev.next=ed:this.head=ed,qa.prev=ed,this.length+=1}unshift(qa){this.head?this.insertBefore(this.head,qa):setInitial(this,qa)}push(qa){this.tail?this.insertAfter(this.tail,qa):setInitial(this,qa)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){for(var qa=this.head;qa;)yield qa.data,qa=qa.next}remove(qa){for(var ed=this.head;ed;){var{next:td}=ed;qa(ed)&&this.removeLink(ed),ed=td}return this}}function setInitial(Ra,qa){Ra.length=1,Ra.head=Ra.tail=qa}function queue$1(Ra,qa,ed){if(qa==null)qa=1;else if(qa===0)throw new RangeError("Concurrency must not be zero");var td=wrapAsync(Ra),rd=0,sd=[];const od={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function ld(Od,Md){od[Od].push(Md)}function ud(Od,Md){const Ld=(...Fd)=>{cd(Od,Ld),Md(...Fd)};od[Od].push(Ld)}function cd(Od,Md){if(!Od)return Object.keys(od).forEach(Ld=>od[Ld]=[]);if(!Md)return od[Od]=[];od[Od]=od[Od].filter(Ld=>Ld!==Md)}function dd(Od,...Md){od[Od].forEach(Ld=>Ld(...Md))}var _d=!1;function Ed(Od,Md,Ld,Fd){if(Fd!=null&&typeof Fd!="function")throw new Error("task callback must be a function");Rd.started=!0;var jd,Vd;function Qd(Kd,...Xd){if(Kd)return Ld?Vd(Kd):jd();if(Xd.length<=1)return jd(Xd[0]);jd(Xd)}var qd=Rd._createTaskItem(Od,Ld?Qd:Fd||Qd);if(Md?Rd._tasks.unshift(qd):Rd._tasks.push(qd),_d||(_d=!0,setImmediate$1$1(()=>{_d=!1,Rd.process()})),Ld||!Fd)return new Promise((Kd,Xd)=>{jd=Kd,Vd=Xd})}function Ad(Od){return function(Md,...Ld){rd-=1;for(var Fd=0,jd=Od.length;Fd0&&sd.splice(Qd,1),Vd.callback(Md,...Ld),Md!=null&&dd("error",Md,Vd.data)}rd<=Rd.concurrency-Rd.buffer&&dd("unsaturated"),Rd.idle()&&dd("drain"),Rd.process()}}function Td(Od){return Od.length===0&&Rd.idle()?(setImmediate$1$1(()=>dd("drain")),!0):!1}const Id=Od=>Md=>{if(!Md)return new Promise((Ld,Fd)=>{ud(Od,(jd,Vd)=>{if(jd)return Fd(jd);Ld(Vd)})});cd(Od),ld(Od,Md)};var Bd=!1,Rd={_tasks:new DLL,_createTaskItem(Od,Md){return{data:Od,callback:Md}},*[Symbol.iterator](){yield*Rd._tasks[Symbol.iterator]()},concurrency:qa,payload:ed,buffer:qa/4,started:!1,paused:!1,push(Od,Md){return Array.isArray(Od)?Td(Od)?void 0:Od.map(Ld=>Ed(Ld,!1,!1,Md)):Ed(Od,!1,!1,Md)},pushAsync(Od,Md){return Array.isArray(Od)?Td(Od)?void 0:Od.map(Ld=>Ed(Ld,!1,!0,Md)):Ed(Od,!1,!0,Md)},kill(){cd(),Rd._tasks.empty()},unshift(Od,Md){return Array.isArray(Od)?Td(Od)?void 0:Od.map(Ld=>Ed(Ld,!0,!1,Md)):Ed(Od,!0,!1,Md)},unshiftAsync(Od,Md){return Array.isArray(Od)?Td(Od)?void 0:Od.map(Ld=>Ed(Ld,!0,!0,Md)):Ed(Od,!0,!0,Md)},remove(Od){Rd._tasks.remove(Od)},process(){if(!Bd){for(Bd=!0;!Rd.paused&&rd{rd(qa,sd,(ud,cd)=>{qa=cd,ld(ud)})},sd=>td(sd,qa))}var reduce$1=awaitify(reduce,4);function seq(...Ra){var qa=Ra.map(wrapAsync);return function(...ed){var td=this,rd=ed[ed.length-1];return typeof rd=="function"?ed.pop():rd=promiseCallback(),reduce$1(qa,ed,(sd,od,ld)=>{od.apply(td,sd.concat((ud,...cd)=>{ld(ud,cd)}))},(sd,od)=>rd(sd,...od)),rd[PROMISE_SYMBOL]}}function compose(...Ra){return seq(...Ra.reverse())}function mapLimit(Ra,qa,ed,td){return _asyncMap(eachOfLimit$2(qa),Ra,ed,td)}var mapLimit$1=awaitify(mapLimit,4);function concatLimit(Ra,qa,ed,td){var rd=wrapAsync(ed);return mapLimit$1(Ra,qa,(sd,od)=>{rd(sd,(ld,...ud)=>ld?od(ld):od(ld,ud))},(sd,od)=>{for(var ld=[],ud=0;ud{var od=!1,ld;const ud=wrapAsync(rd);ed(td,(cd,dd,_d)=>{ud(cd,(Ed,Ad)=>{if(Ed||Ed===!1)return _d(Ed);if(Ra(Ad)&&!ld)return od=!0,ld=qa(!0,cd),_d(null,breakLoop);_d()})},cd=>{if(cd)return sd(cd);sd(null,od?ld:qa(!1))})}}function detect(Ra,qa,ed){return _createTester(td=>td,(td,rd)=>rd)(eachOf$1,Ra,qa,ed)}var detect$1=awaitify(detect,3);function detectLimit(Ra,qa,ed,td){return _createTester(rd=>rd,(rd,sd)=>sd)(eachOfLimit$2(qa),Ra,ed,td)}var detectLimit$1=awaitify(detectLimit,4);function detectSeries(Ra,qa,ed){return _createTester(td=>td,(td,rd)=>rd)(eachOfLimit$2(1),Ra,qa,ed)}var detectSeries$1=awaitify(detectSeries,3);function consoleFunc(Ra){return(qa,...ed)=>wrapAsync(qa)(...ed,(td,...rd)=>{typeof console=="object"&&(td?console.error&&console.error(td):console[Ra]&&rd.forEach(sd=>console[Ra](sd)))})}var dir=consoleFunc("dir");function doWhilst(Ra,qa,ed){ed=onlyOnce(ed);var td=wrapAsync(Ra),rd=wrapAsync(qa),sd;function od(ud,...cd){if(ud)return ed(ud);ud!==!1&&(sd=cd,rd(...cd,ld))}function ld(ud,cd){if(ud)return ed(ud);if(ud!==!1){if(!cd)return ed(null,...sd);td(od)}}return ld(null,!0)}var doWhilst$1=awaitify(doWhilst,3);function doUntil(Ra,qa,ed){const td=wrapAsync(qa);return doWhilst$1(Ra,(...rd)=>{const sd=rd.pop();td(...rd,(od,ld)=>sd(od,!ld))},ed)}function _withoutIndex(Ra){return(qa,ed,td)=>Ra(qa,td)}function eachLimit$2(Ra,qa,ed){return eachOf$1(Ra,_withoutIndex(wrapAsync(qa)),ed)}var each=awaitify(eachLimit$2,3);function eachLimit(Ra,qa,ed,td){return eachOfLimit$2(qa)(Ra,_withoutIndex(wrapAsync(ed)),td)}var eachLimit$1=awaitify(eachLimit,4);function eachSeries(Ra,qa,ed){return eachLimit$1(Ra,1,qa,ed)}var eachSeries$1=awaitify(eachSeries,3);function ensureAsync(Ra){return isAsync(Ra)?Ra:function(...qa){var ed=qa.pop(),td=!0;qa.push((...rd)=>{td?setImmediate$1$1(()=>ed(...rd)):ed(...rd)}),Ra.apply(this,qa),td=!1}}function every(Ra,qa,ed){return _createTester(td=>!td,td=>!td)(eachOf$1,Ra,qa,ed)}var every$1=awaitify(every,3);function everyLimit(Ra,qa,ed,td){return _createTester(rd=>!rd,rd=>!rd)(eachOfLimit$2(qa),Ra,ed,td)}var everyLimit$1=awaitify(everyLimit,4);function everySeries(Ra,qa,ed){return _createTester(td=>!td,td=>!td)(eachOfSeries$1,Ra,qa,ed)}var everySeries$1=awaitify(everySeries,3);function filterArray(Ra,qa,ed,td){var rd=new Array(qa.length);Ra(qa,(sd,od,ld)=>{ed(sd,(ud,cd)=>{rd[od]=!!cd,ld(ud)})},sd=>{if(sd)return td(sd);for(var od=[],ld=0;ld{ed(sd,(ud,cd)=>{if(ud)return ld(ud);cd&&rd.push({index:od,value:sd}),ld(ud)})},sd=>{if(sd)return td(sd);td(null,rd.sort((od,ld)=>od.index-ld.index).map(od=>od.value))})}function _filter(Ra,qa,ed,td){var rd=isArrayLike(qa)?filterArray:filterGeneric;return rd(Ra,qa,wrapAsync(ed),td)}function filter(Ra,qa,ed){return _filter(eachOf$1,Ra,qa,ed)}var filter$1=awaitify(filter,3);function filterLimit(Ra,qa,ed,td){return _filter(eachOfLimit$2(qa),Ra,ed,td)}var filterLimit$1=awaitify(filterLimit,4);function filterSeries(Ra,qa,ed){return _filter(eachOfSeries$1,Ra,qa,ed)}var filterSeries$1=awaitify(filterSeries,3);function forever(Ra,qa){var ed=onlyOnce(qa),td=wrapAsync(ensureAsync(Ra));function rd(sd){if(sd)return ed(sd);sd!==!1&&td(rd)}return rd()}var forever$1=awaitify(forever,2);function groupByLimit(Ra,qa,ed,td){var rd=wrapAsync(ed);return mapLimit$1(Ra,qa,(sd,od)=>{rd(sd,(ld,ud)=>ld?od(ld):od(ld,{key:ud,val:sd}))},(sd,od)=>{for(var ld={},{hasOwnProperty:ud}=Object.prototype,cd=0;cd{sd(od,ld,(cd,dd)=>{if(cd)return ud(cd);rd[ld]=dd,ud(cd)})},od=>td(od,rd))}var mapValuesLimit$1=awaitify(mapValuesLimit,4);function mapValues(Ra,qa,ed){return mapValuesLimit$1(Ra,1/0,qa,ed)}function mapValuesSeries(Ra,qa,ed){return mapValuesLimit$1(Ra,1,qa,ed)}function memoize(Ra,qa=ed=>ed){var ed=Object.create(null),td=Object.create(null),rd=wrapAsync(Ra),sd=initialParams((od,ld)=>{var ud=qa(...od);ud in ed?setImmediate$1$1(()=>ld(null,...ed[ud])):ud in td?td[ud].push(ld):(td[ud]=[ld],rd(...od,(cd,...dd)=>{cd||(ed[ud]=dd);var _d=td[ud];delete td[ud];for(var Ed=0,Ad=_d.length;Ed{var td=isArrayLike(qa)?[]:{};Ra(qa,(rd,sd,od)=>{wrapAsync(rd)((ld,...ud)=>{ud.length<2&&([ud]=ud),td[sd]=ud,od(ld)})},rd=>ed(rd,td))},3);function parallel(Ra,qa){return _parallel(eachOf$1,Ra,qa)}function parallelLimit(Ra,qa,ed){return _parallel(eachOfLimit$2(qa),Ra,ed)}function queue(Ra,qa){var ed=wrapAsync(Ra);return queue$1((td,rd)=>{ed(td[0],rd)},qa,1)}class Heap{constructor(){this.heap=[],this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){return this.heap=[],this}percUp(qa){let ed;for(;qa>0&&smaller(this.heap[qa],this.heap[ed=parent(qa)]);){let td=this.heap[qa];this.heap[qa]=this.heap[ed],this.heap[ed]=td,qa=ed}}percDown(qa){let ed;for(;(ed=leftChi(qa))=0;td--)this.percDown(td);return this}}function leftChi(Ra){return(Ra<<1)+1}function parent(Ra){return(Ra+1>>1)-1}function smaller(Ra,qa){return Ra.priority!==qa.priority?Ra.priority({data:od,priority:ld,callback:ud});function sd(od,ld){return Array.isArray(od)?od.map(ud=>({data:ud,priority:ld})):{data:od,priority:ld}}return ed.push=function(od,ld=0,ud){return td(sd(od,ld),ud)},ed.pushAsync=function(od,ld=0,ud){return rd(sd(od,ld),ud)},delete ed.unshift,delete ed.unshiftAsync,ed}function race(Ra,qa){if(qa=once(qa),!Array.isArray(Ra))return qa(new TypeError("First argument to race must be an array of functions"));if(!Ra.length)return qa();for(var ed=0,td=Ra.length;ed{let ld={};if(sd&&(ld.error=sd),od.length>0){var ud=od;od.length<=1&&([ud]=od),ld.value=ud}rd(null,ld)}),qa.apply(this,td)})}function reflectAll(Ra){var qa;return Array.isArray(Ra)?qa=Ra.map(reflect):(qa={},Object.keys(Ra).forEach(ed=>{qa[ed]=reflect.call(this,Ra[ed])})),qa}function reject$2(Ra,qa,ed,td){const rd=wrapAsync(ed);return _filter(Ra,qa,(sd,od)=>{rd(sd,(ld,ud)=>{od(ld,!ud)})},td)}function reject(Ra,qa,ed){return reject$2(eachOf$1,Ra,qa,ed)}var reject$1=awaitify(reject,3);function rejectLimit(Ra,qa,ed,td){return reject$2(eachOfLimit$2(qa),Ra,ed,td)}var rejectLimit$1=awaitify(rejectLimit,4);function rejectSeries(Ra,qa,ed){return reject$2(eachOfSeries$1,Ra,qa,ed)}var rejectSeries$1=awaitify(rejectSeries,3);function constant(Ra){return function(){return Ra}}const DEFAULT_TIMES=5,DEFAULT_INTERVAL=0;function retry(Ra,qa,ed){var td={times:DEFAULT_TIMES,intervalFunc:constant(DEFAULT_INTERVAL)};if(arguments.length<3&&typeof Ra=="function"?(ed=qa||promiseCallback(),qa=Ra):(parseTimes(td,Ra),ed=ed||promiseCallback()),typeof qa!="function")throw new Error("Invalid arguments for async.retry");var rd=wrapAsync(qa),sd=1;function od(){rd((ld,...ud)=>{ld!==!1&&(ld&&sd++{(rd.lengthtd)(eachOf$1,Ra,qa,ed)}var some$1=awaitify(some,3);function someLimit(Ra,qa,ed,td){return _createTester(Boolean,rd=>rd)(eachOfLimit$2(qa),Ra,ed,td)}var someLimit$1=awaitify(someLimit,4);function someSeries(Ra,qa,ed){return _createTester(Boolean,td=>td)(eachOfSeries$1,Ra,qa,ed)}var someSeries$1=awaitify(someSeries,3);function sortBy(Ra,qa,ed){var td=wrapAsync(qa);return map$1(Ra,(sd,od)=>{td(sd,(ld,ud)=>{if(ld)return od(ld);od(ld,{value:sd,criteria:ud})})},(sd,od)=>{if(sd)return ed(sd);ed(null,od.sort(rd).map(ld=>ld.value))});function rd(sd,od){var ld=sd.criteria,ud=od.criteria;return ldud?1:0}}var sortBy$1=awaitify(sortBy,3);function timeout(Ra,qa,ed){var td=wrapAsync(Ra);return initialParams((rd,sd)=>{var od=!1,ld;function ud(){var cd=Ra.name||"anonymous",dd=new Error('Callback function "'+cd+'" timed out.');dd.code="ETIMEDOUT",ed&&(dd.info=ed),od=!0,sd(dd)}rd.push((...cd)=>{od||(sd(...cd),clearTimeout(ld))}),ld=setTimeout(ud,qa),td(...rd)})}function range(Ra){for(var qa=Array(Ra);Ra--;)qa[Ra]=Ra;return qa}function timesLimit(Ra,qa,ed,td){var rd=wrapAsync(ed);return mapLimit$1(range(Ra),qa,rd,td)}function times(Ra,qa,ed){return timesLimit(Ra,1/0,qa,ed)}function timesSeries(Ra,qa,ed){return timesLimit(Ra,1,qa,ed)}function transform(Ra,qa,ed,td){arguments.length<=3&&typeof qa=="function"&&(td=ed,ed=qa,qa=Array.isArray(Ra)?[]:{}),td=once(td||promiseCallback());var rd=wrapAsync(ed);return eachOf$1(Ra,(sd,od,ld)=>{rd(qa,sd,od,ld)},sd=>td(sd,qa)),td[PROMISE_SYMBOL]}function tryEach(Ra,qa){var ed=null,td;return eachSeries$1(Ra,(rd,sd)=>{wrapAsync(rd)((od,...ld)=>{if(od===!1)return sd(od);ld.length<2?[td]=ld:td=ld,ed=od,sd(od?null:{})})},()=>qa(ed,td))}var tryEach$1=awaitify(tryEach);function unmemoize(Ra){return(...qa)=>(Ra.unmemoized||Ra)(...qa)}function whilst(Ra,qa,ed){ed=onlyOnce(ed);var td=wrapAsync(qa),rd=wrapAsync(Ra),sd=[];function od(ud,...cd){if(ud)return ed(ud);sd=cd,ud!==!1&&rd(ld)}function ld(ud,cd){if(ud)return ed(ud);if(ud!==!1){if(!cd)return ed(null,...sd);td(od)}}return rd(ld)}var whilst$1=awaitify(whilst,3);function until(Ra,qa,ed){const td=wrapAsync(Ra);return whilst$1(rd=>td((sd,od)=>rd(sd,!od)),qa,ed)}function waterfall(Ra,qa){if(qa=once(qa),!Array.isArray(Ra))return qa(new Error("First argument to waterfall must be an array of functions"));if(!Ra.length)return qa();var ed=0;function td(sd){var od=wrapAsync(Ra[ed++]);od(...sd,onlyOnce(rd))}function rd(sd,...od){if(sd!==!1){if(sd||ed===Ra.length)return qa(sd,...od);td(od)}}td([])}var waterfall$1=awaitify(waterfall),index={apply,applyEach,applyEachSeries,asyncify,auto,autoInject,cargo:cargo$1,cargoQueue:cargo,compose,concat:concat$1,concatLimit:concatLimit$1,concatSeries:concatSeries$1,constant:constant$1,detect:detect$1,detectLimit:detectLimit$1,detectSeries:detectSeries$1,dir,doUntil,doWhilst:doWhilst$1,each,eachLimit:eachLimit$1,eachOf:eachOf$1,eachOfLimit:eachOfLimit$1,eachOfSeries:eachOfSeries$1,eachSeries:eachSeries$1,ensureAsync,every:every$1,everyLimit:everyLimit$1,everySeries:everySeries$1,filter:filter$1,filterLimit:filterLimit$1,filterSeries:filterSeries$1,forever:forever$1,groupBy,groupByLimit:groupByLimit$1,groupBySeries,log,map:map$1,mapLimit:mapLimit$1,mapSeries:mapSeries$1,mapValues,mapValuesLimit:mapValuesLimit$1,mapValuesSeries,memoize,nextTick,parallel,parallelLimit,priorityQueue,queue,race:race$1,reduce:reduce$1,reduceRight,reflect,reflectAll,reject:reject$1,rejectLimit:rejectLimit$1,rejectSeries:rejectSeries$1,retry,retryable,seq,series,setImmediate:setImmediate$1$1,some:some$1,someLimit:someLimit$1,someSeries:someSeries$1,sortBy:sortBy$1,timeout,times,timesLimit,timesSeries,transform,tryEach:tryEach$1,unmemoize,until,waterfall:waterfall$1,whilst:whilst$1,all:every$1,allLimit:everyLimit$1,allSeries:everySeries$1,any:some$1,anyLimit:someLimit$1,anySeries:someSeries$1,find:detect$1,findLimit:detectLimit$1,findSeries:detectSeries$1,flatMap:concat$1,flatMapLimit:concatLimit$1,flatMapSeries:concatSeries$1,forEach:each,forEachSeries:eachSeries$1,forEachLimit:eachLimit$1,forEachOf:eachOf$1,forEachOfSeries:eachOfSeries$1,forEachOfLimit:eachOfLimit$1,inject:reduce$1,foldl:reduce$1,foldr:reduceRight,select:filter$1,selectLimit:filterLimit$1,selectSeries:filterSeries$1,wrapSync:asyncify,during:whilst$1,doDuring:doWhilst$1},readableBrowser={exports:{}};(function(Ra,qa){qa=Ra.exports=require_stream_readable(),qa.Stream=qa,qa.Readable=qa,qa.Writable=require_stream_writable(),qa.Duplex=require_stream_duplex(),qa.Transform=_stream_transform,qa.PassThrough=_stream_passthrough,qa.finished=endOfStream,qa.pipeline=pipeline_1})(readableBrowser,readableBrowser.exports);var readableBrowserExports=readableBrowser.exports;const{Transform:Transform$1}=readableBrowserExports;class Block extends Transform$1{constructor(qa,ed={}){super(ed),typeof qa=="object"&&(ed=qa,qa=ed.size),this.size=qa||512;const{nopad:td,zeroPadding:rd=!0}=ed;td?this._zeroPadding=!1:this._zeroPadding=!!rd,this._buffered=[],this._bufferedBytes=0}_transform(qa,ed,td){for(this._bufferedBytes+=qa.length,this._buffered.push(qa);this._bufferedBytes>=this.size;){this._bufferedBytes-=this.size;const rd=[];let sd=0;for(;sdnd.replace(FN_ARG,"").trim())}function autoInject(Ra,qa){var td={};return Object.keys(Ra).forEach(rd=>{var nd=Ra[rd],ad,sd=isAsync(nd),ud=!sd&&nd.length===1||sd&&nd.length===0;if(Array.isArray(nd))ad=[...nd],nd=ad.pop(),td[rd]=ad.concat(ad.length>0?cd:nd);else if(ud)td[rd]=nd;else{if(ad=parseParams(nd),nd.length===0&&!sd&&ad.length===0)throw new Error("autoInject task functions require explicit parameters.");sd||ad.pop(),td[rd]=ad.concat(cd)}function cd(dd,pd){var fd=ad.map(Td=>dd[Td]);fd.push(pd),wrapAsync(nd)(...fd)}}),auto(td,qa)}class DLL{constructor(){this.head=this.tail=null,this.length=0}removeLink(qa){return qa.prev?qa.prev.next=qa.next:this.head=qa.next,qa.next?qa.next.prev=qa.prev:this.tail=qa.prev,qa.prev=qa.next=null,this.length-=1,qa}empty(){for(;this.head;)this.shift();return this}insertAfter(qa,td){td.prev=qa,td.next=qa.next,qa.next?qa.next.prev=td:this.tail=td,qa.next=td,this.length+=1}insertBefore(qa,td){td.prev=qa.prev,td.next=qa,qa.prev?qa.prev.next=td:this.head=td,qa.prev=td,this.length+=1}unshift(qa){this.head?this.insertBefore(this.head,qa):setInitial(this,qa)}push(qa){this.tail?this.insertAfter(this.tail,qa):setInitial(this,qa)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){for(var qa=this.head;qa;)yield qa.data,qa=qa.next}remove(qa){for(var td=this.head;td;){var{next:rd}=td;qa(td)&&this.removeLink(td),td=rd}return this}}function setInitial(Ra,qa){Ra.length=1,Ra.head=Ra.tail=qa}function queue$1(Ra,qa,td){if(qa==null)qa=1;else if(qa===0)throw new RangeError("Concurrency must not be zero");var rd=wrapAsync(Ra),nd=0,ad=[];const sd={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function ud(Od,Md){sd[Od].push(Md)}function cd(Od,Md){const jd=(...Ud)=>{dd(Od,jd),Md(...Ud)};sd[Od].push(jd)}function dd(Od,Md){if(!Od)return Object.keys(sd).forEach(jd=>sd[jd]=[]);if(!Md)return sd[Od]=[];sd[Od]=sd[Od].filter(jd=>jd!==Md)}function pd(Od,...Md){sd[Od].forEach(jd=>jd(...Md))}var fd=!1;function Td(Od,Md,jd,Ud){if(Ud!=null&&typeof Ud!="function")throw new Error("task callback must be a function");Rd.started=!0;var Hd,zd;function Zd(Qd,...Jd){if(Qd)return jd?zd(Qd):Hd();if(Jd.length<=1)return Hd(Jd[0]);Hd(Jd)}var Wd=Rd._createTaskItem(Od,jd?Zd:Ud||Zd);if(Md?Rd._tasks.unshift(Wd):Rd._tasks.push(Wd),fd||(fd=!0,setImmediate$1$1(()=>{fd=!1,Rd.process()})),jd||!Ud)return new Promise((Qd,Jd)=>{Hd=Qd,zd=Jd})}function Ad(Od){return function(Md,...jd){nd-=1;for(var Ud=0,Hd=Od.length;Ud0&&ad.splice(Zd,1),zd.callback(Md,...jd),Md!=null&&pd("error",Md,zd.data)}nd<=Rd.concurrency-Rd.buffer&&pd("unsaturated"),Rd.idle()&&pd("drain"),Rd.process()}}function Sd(Od){return Od.length===0&&Rd.idle()?(setImmediate$1$1(()=>pd("drain")),!0):!1}const Dd=Od=>Md=>{if(!Md)return new Promise((jd,Ud)=>{cd(Od,(Hd,zd)=>{if(Hd)return Ud(Hd);jd(zd)})});dd(Od),ud(Od,Md)};var Ld=!1,Rd={_tasks:new DLL,_createTaskItem(Od,Md){return{data:Od,callback:Md}},*[Symbol.iterator](){yield*Rd._tasks[Symbol.iterator]()},concurrency:qa,payload:td,buffer:qa/4,started:!1,paused:!1,push(Od,Md){return Array.isArray(Od)?Sd(Od)?void 0:Od.map(jd=>Td(jd,!1,!1,Md)):Td(Od,!1,!1,Md)},pushAsync(Od,Md){return Array.isArray(Od)?Sd(Od)?void 0:Od.map(jd=>Td(jd,!1,!0,Md)):Td(Od,!1,!0,Md)},kill(){dd(),Rd._tasks.empty()},unshift(Od,Md){return Array.isArray(Od)?Sd(Od)?void 0:Od.map(jd=>Td(jd,!0,!1,Md)):Td(Od,!0,!1,Md)},unshiftAsync(Od,Md){return Array.isArray(Od)?Sd(Od)?void 0:Od.map(jd=>Td(jd,!0,!0,Md)):Td(Od,!0,!0,Md)},remove(Od){Rd._tasks.remove(Od)},process(){if(!Ld){for(Ld=!0;!Rd.paused&&nd{nd(qa,ad,(cd,dd)=>{qa=dd,ud(cd)})},ad=>rd(ad,qa))}var reduce$1=awaitify(reduce,4);function seq(...Ra){var qa=Ra.map(wrapAsync);return function(...td){var rd=this,nd=td[td.length-1];return typeof nd=="function"?td.pop():nd=promiseCallback(),reduce$1(qa,td,(ad,sd,ud)=>{sd.apply(rd,ad.concat((cd,...dd)=>{ud(cd,dd)}))},(ad,sd)=>nd(ad,...sd)),nd[PROMISE_SYMBOL]}}function compose(...Ra){return seq(...Ra.reverse())}function mapLimit(Ra,qa,td,rd){return _asyncMap(eachOfLimit$2(qa),Ra,td,rd)}var mapLimit$1=awaitify(mapLimit,4);function concatLimit(Ra,qa,td,rd){var nd=wrapAsync(td);return mapLimit$1(Ra,qa,(ad,sd)=>{nd(ad,(ud,...cd)=>ud?sd(ud):sd(ud,cd))},(ad,sd)=>{for(var ud=[],cd=0;cd{var sd=!1,ud;const cd=wrapAsync(nd);td(rd,(dd,pd,fd)=>{cd(dd,(Td,Ad)=>{if(Td||Td===!1)return fd(Td);if(Ra(Ad)&&!ud)return sd=!0,ud=qa(!0,dd),fd(null,breakLoop);fd()})},dd=>{if(dd)return ad(dd);ad(null,sd?ud:qa(!1))})}}function detect(Ra,qa,td){return _createTester(rd=>rd,(rd,nd)=>nd)(eachOf$1,Ra,qa,td)}var detect$1=awaitify(detect,3);function detectLimit(Ra,qa,td,rd){return _createTester(nd=>nd,(nd,ad)=>ad)(eachOfLimit$2(qa),Ra,td,rd)}var detectLimit$1=awaitify(detectLimit,4);function detectSeries(Ra,qa,td){return _createTester(rd=>rd,(rd,nd)=>nd)(eachOfLimit$2(1),Ra,qa,td)}var detectSeries$1=awaitify(detectSeries,3);function consoleFunc(Ra){return(qa,...td)=>wrapAsync(qa)(...td,(rd,...nd)=>{typeof console=="object"&&(rd?console.error&&console.error(rd):console[Ra]&&nd.forEach(ad=>console[Ra](ad)))})}var dir=consoleFunc("dir");function doWhilst(Ra,qa,td){td=onlyOnce(td);var rd=wrapAsync(Ra),nd=wrapAsync(qa),ad;function sd(cd,...dd){if(cd)return td(cd);cd!==!1&&(ad=dd,nd(...dd,ud))}function ud(cd,dd){if(cd)return td(cd);if(cd!==!1){if(!dd)return td(null,...ad);rd(sd)}}return ud(null,!0)}var doWhilst$1=awaitify(doWhilst,3);function doUntil(Ra,qa,td){const rd=wrapAsync(qa);return doWhilst$1(Ra,(...nd)=>{const ad=nd.pop();rd(...nd,(sd,ud)=>ad(sd,!ud))},td)}function _withoutIndex(Ra){return(qa,td,rd)=>Ra(qa,rd)}function eachLimit$2(Ra,qa,td){return eachOf$1(Ra,_withoutIndex(wrapAsync(qa)),td)}var each=awaitify(eachLimit$2,3);function eachLimit(Ra,qa,td,rd){return eachOfLimit$2(qa)(Ra,_withoutIndex(wrapAsync(td)),rd)}var eachLimit$1=awaitify(eachLimit,4);function eachSeries(Ra,qa,td){return eachLimit$1(Ra,1,qa,td)}var eachSeries$1=awaitify(eachSeries,3);function ensureAsync(Ra){return isAsync(Ra)?Ra:function(...qa){var td=qa.pop(),rd=!0;qa.push((...nd)=>{rd?setImmediate$1$1(()=>td(...nd)):td(...nd)}),Ra.apply(this,qa),rd=!1}}function every(Ra,qa,td){return _createTester(rd=>!rd,rd=>!rd)(eachOf$1,Ra,qa,td)}var every$1=awaitify(every,3);function everyLimit(Ra,qa,td,rd){return _createTester(nd=>!nd,nd=>!nd)(eachOfLimit$2(qa),Ra,td,rd)}var everyLimit$1=awaitify(everyLimit,4);function everySeries(Ra,qa,td){return _createTester(rd=>!rd,rd=>!rd)(eachOfSeries$1,Ra,qa,td)}var everySeries$1=awaitify(everySeries,3);function filterArray(Ra,qa,td,rd){var nd=new Array(qa.length);Ra(qa,(ad,sd,ud)=>{td(ad,(cd,dd)=>{nd[sd]=!!dd,ud(cd)})},ad=>{if(ad)return rd(ad);for(var sd=[],ud=0;ud{td(ad,(cd,dd)=>{if(cd)return ud(cd);dd&&nd.push({index:sd,value:ad}),ud(cd)})},ad=>{if(ad)return rd(ad);rd(null,nd.sort((sd,ud)=>sd.index-ud.index).map(sd=>sd.value))})}function _filter(Ra,qa,td,rd){var nd=isArrayLike(qa)?filterArray:filterGeneric;return nd(Ra,qa,wrapAsync(td),rd)}function filter(Ra,qa,td){return _filter(eachOf$1,Ra,qa,td)}var filter$1=awaitify(filter,3);function filterLimit(Ra,qa,td,rd){return _filter(eachOfLimit$2(qa),Ra,td,rd)}var filterLimit$1=awaitify(filterLimit,4);function filterSeries(Ra,qa,td){return _filter(eachOfSeries$1,Ra,qa,td)}var filterSeries$1=awaitify(filterSeries,3);function forever(Ra,qa){var td=onlyOnce(qa),rd=wrapAsync(ensureAsync(Ra));function nd(ad){if(ad)return td(ad);ad!==!1&&rd(nd)}return nd()}var forever$1=awaitify(forever,2);function groupByLimit(Ra,qa,td,rd){var nd=wrapAsync(td);return mapLimit$1(Ra,qa,(ad,sd)=>{nd(ad,(ud,cd)=>ud?sd(ud):sd(ud,{key:cd,val:ad}))},(ad,sd)=>{for(var ud={},{hasOwnProperty:cd}=Object.prototype,dd=0;dd{ad(sd,ud,(dd,pd)=>{if(dd)return cd(dd);nd[ud]=pd,cd(dd)})},sd=>rd(sd,nd))}var mapValuesLimit$1=awaitify(mapValuesLimit,4);function mapValues(Ra,qa,td){return mapValuesLimit$1(Ra,1/0,qa,td)}function mapValuesSeries(Ra,qa,td){return mapValuesLimit$1(Ra,1,qa,td)}function memoize(Ra,qa=td=>td){var td=Object.create(null),rd=Object.create(null),nd=wrapAsync(Ra),ad=initialParams((sd,ud)=>{var cd=qa(...sd);cd in td?setImmediate$1$1(()=>ud(null,...td[cd])):cd in rd?rd[cd].push(ud):(rd[cd]=[ud],nd(...sd,(dd,...pd)=>{dd||(td[cd]=pd);var fd=rd[cd];delete rd[cd];for(var Td=0,Ad=fd.length;Td{var rd=isArrayLike(qa)?[]:{};Ra(qa,(nd,ad,sd)=>{wrapAsync(nd)((ud,...cd)=>{cd.length<2&&([cd]=cd),rd[ad]=cd,sd(ud)})},nd=>td(nd,rd))},3);function parallel(Ra,qa){return _parallel(eachOf$1,Ra,qa)}function parallelLimit(Ra,qa,td){return _parallel(eachOfLimit$2(qa),Ra,td)}function queue(Ra,qa){var td=wrapAsync(Ra);return queue$1((rd,nd)=>{td(rd[0],nd)},qa,1)}class Heap{constructor(){this.heap=[],this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){return this.heap=[],this}percUp(qa){let td;for(;qa>0&&smaller(this.heap[qa],this.heap[td=parent(qa)]);){let rd=this.heap[qa];this.heap[qa]=this.heap[td],this.heap[td]=rd,qa=td}}percDown(qa){let td;for(;(td=leftChi(qa))=0;rd--)this.percDown(rd);return this}}function leftChi(Ra){return(Ra<<1)+1}function parent(Ra){return(Ra+1>>1)-1}function smaller(Ra,qa){return Ra.priority!==qa.priority?Ra.priority({data:sd,priority:ud,callback:cd});function ad(sd,ud){return Array.isArray(sd)?sd.map(cd=>({data:cd,priority:ud})):{data:sd,priority:ud}}return td.push=function(sd,ud=0,cd){return rd(ad(sd,ud),cd)},td.pushAsync=function(sd,ud=0,cd){return nd(ad(sd,ud),cd)},delete td.unshift,delete td.unshiftAsync,td}function race(Ra,qa){if(qa=once(qa),!Array.isArray(Ra))return qa(new TypeError("First argument to race must be an array of functions"));if(!Ra.length)return qa();for(var td=0,rd=Ra.length;td{let ud={};if(ad&&(ud.error=ad),sd.length>0){var cd=sd;sd.length<=1&&([cd]=sd),ud.value=cd}nd(null,ud)}),qa.apply(this,rd)})}function reflectAll(Ra){var qa;return Array.isArray(Ra)?qa=Ra.map(reflect):(qa={},Object.keys(Ra).forEach(td=>{qa[td]=reflect.call(this,Ra[td])})),qa}function reject$2(Ra,qa,td,rd){const nd=wrapAsync(td);return _filter(Ra,qa,(ad,sd)=>{nd(ad,(ud,cd)=>{sd(ud,!cd)})},rd)}function reject(Ra,qa,td){return reject$2(eachOf$1,Ra,qa,td)}var reject$1=awaitify(reject,3);function rejectLimit(Ra,qa,td,rd){return reject$2(eachOfLimit$2(qa),Ra,td,rd)}var rejectLimit$1=awaitify(rejectLimit,4);function rejectSeries(Ra,qa,td){return reject$2(eachOfSeries$1,Ra,qa,td)}var rejectSeries$1=awaitify(rejectSeries,3);function constant(Ra){return function(){return Ra}}const DEFAULT_TIMES=5,DEFAULT_INTERVAL=0;function retry(Ra,qa,td){var rd={times:DEFAULT_TIMES,intervalFunc:constant(DEFAULT_INTERVAL)};if(arguments.length<3&&typeof Ra=="function"?(td=qa||promiseCallback(),qa=Ra):(parseTimes(rd,Ra),td=td||promiseCallback()),typeof qa!="function")throw new Error("Invalid arguments for async.retry");var nd=wrapAsync(qa),ad=1;function sd(){nd((ud,...cd)=>{ud!==!1&&(ud&&ad++{(nd.lengthrd)(eachOf$1,Ra,qa,td)}var some$1=awaitify(some,3);function someLimit(Ra,qa,td,rd){return _createTester(Boolean,nd=>nd)(eachOfLimit$2(qa),Ra,td,rd)}var someLimit$1=awaitify(someLimit,4);function someSeries(Ra,qa,td){return _createTester(Boolean,rd=>rd)(eachOfSeries$1,Ra,qa,td)}var someSeries$1=awaitify(someSeries,3);function sortBy(Ra,qa,td){var rd=wrapAsync(qa);return map$1(Ra,(ad,sd)=>{rd(ad,(ud,cd)=>{if(ud)return sd(ud);sd(ud,{value:ad,criteria:cd})})},(ad,sd)=>{if(ad)return td(ad);td(null,sd.sort(nd).map(ud=>ud.value))});function nd(ad,sd){var ud=ad.criteria,cd=sd.criteria;return udcd?1:0}}var sortBy$1=awaitify(sortBy,3);function timeout(Ra,qa,td){var rd=wrapAsync(Ra);return initialParams((nd,ad)=>{var sd=!1,ud;function cd(){var dd=Ra.name||"anonymous",pd=new Error('Callback function "'+dd+'" timed out.');pd.code="ETIMEDOUT",td&&(pd.info=td),sd=!0,ad(pd)}nd.push((...dd)=>{sd||(ad(...dd),clearTimeout(ud))}),ud=setTimeout(cd,qa),rd(...nd)})}function range(Ra){for(var qa=Array(Ra);Ra--;)qa[Ra]=Ra;return qa}function timesLimit(Ra,qa,td,rd){var nd=wrapAsync(td);return mapLimit$1(range(Ra),qa,nd,rd)}function times(Ra,qa,td){return timesLimit(Ra,1/0,qa,td)}function timesSeries(Ra,qa,td){return timesLimit(Ra,1,qa,td)}function transform(Ra,qa,td,rd){arguments.length<=3&&typeof qa=="function"&&(rd=td,td=qa,qa=Array.isArray(Ra)?[]:{}),rd=once(rd||promiseCallback());var nd=wrapAsync(td);return eachOf$1(Ra,(ad,sd,ud)=>{nd(qa,ad,sd,ud)},ad=>rd(ad,qa)),rd[PROMISE_SYMBOL]}function tryEach(Ra,qa){var td=null,rd;return eachSeries$1(Ra,(nd,ad)=>{wrapAsync(nd)((sd,...ud)=>{if(sd===!1)return ad(sd);ud.length<2?[rd]=ud:rd=ud,td=sd,ad(sd?null:{})})},()=>qa(td,rd))}var tryEach$1=awaitify(tryEach);function unmemoize(Ra){return(...qa)=>(Ra.unmemoized||Ra)(...qa)}function whilst(Ra,qa,td){td=onlyOnce(td);var rd=wrapAsync(qa),nd=wrapAsync(Ra),ad=[];function sd(cd,...dd){if(cd)return td(cd);ad=dd,cd!==!1&&nd(ud)}function ud(cd,dd){if(cd)return td(cd);if(cd!==!1){if(!dd)return td(null,...ad);rd(sd)}}return nd(ud)}var whilst$1=awaitify(whilst,3);function until(Ra,qa,td){const rd=wrapAsync(Ra);return whilst$1(nd=>rd((ad,sd)=>nd(ad,!sd)),qa,td)}function waterfall(Ra,qa){if(qa=once(qa),!Array.isArray(Ra))return qa(new Error("First argument to waterfall must be an array of functions"));if(!Ra.length)return qa();var td=0;function rd(ad){var sd=wrapAsync(Ra[td++]);sd(...ad,onlyOnce(nd))}function nd(ad,...sd){if(ad!==!1){if(ad||td===Ra.length)return qa(ad,...sd);rd(sd)}}rd([])}var waterfall$1=awaitify(waterfall),index={apply,applyEach,applyEachSeries,asyncify,auto,autoInject,cargo:cargo$1,cargoQueue:cargo,compose,concat:concat$1,concatLimit:concatLimit$1,concatSeries:concatSeries$1,constant:constant$1,detect:detect$1,detectLimit:detectLimit$1,detectSeries:detectSeries$1,dir,doUntil,doWhilst:doWhilst$1,each,eachLimit:eachLimit$1,eachOf:eachOf$1,eachOfLimit:eachOfLimit$1,eachOfSeries:eachOfSeries$1,eachSeries:eachSeries$1,ensureAsync,every:every$1,everyLimit:everyLimit$1,everySeries:everySeries$1,filter:filter$1,filterLimit:filterLimit$1,filterSeries:filterSeries$1,forever:forever$1,groupBy,groupByLimit:groupByLimit$1,groupBySeries,log,map:map$1,mapLimit:mapLimit$1,mapSeries:mapSeries$1,mapValues,mapValuesLimit:mapValuesLimit$1,mapValuesSeries,memoize,nextTick,parallel,parallelLimit,priorityQueue,queue,race:race$1,reduce:reduce$1,reduceRight,reflect,reflectAll,reject:reject$1,rejectLimit:rejectLimit$1,rejectSeries:rejectSeries$1,retry,retryable,seq,series,setImmediate:setImmediate$1$1,some:some$1,someLimit:someLimit$1,someSeries:someSeries$1,sortBy:sortBy$1,timeout,times,timesLimit,timesSeries,transform,tryEach:tryEach$1,unmemoize,until,waterfall:waterfall$1,whilst:whilst$1,all:every$1,allLimit:everyLimit$1,allSeries:everySeries$1,any:some$1,anyLimit:someLimit$1,anySeries:someSeries$1,find:detect$1,findLimit:detectLimit$1,findSeries:detectSeries$1,flatMap:concat$1,flatMapLimit:concatLimit$1,flatMapSeries:concatSeries$1,forEach:each,forEachSeries:eachSeries$1,forEachLimit:eachLimit$1,forEachOf:eachOf$1,forEachOfSeries:eachOfSeries$1,forEachOfLimit:eachOfLimit$1,inject:reduce$1,foldl:reduce$1,foldr:reduceRight,select:filter$1,selectLimit:filterLimit$1,selectSeries:filterSeries$1,wrapSync:asyncify,during:whilst$1,doDuring:doWhilst$1},readableBrowser={exports:{}};(function(Ra,qa){qa=Ra.exports=require_stream_readable(),qa.Stream=qa,qa.Readable=qa,qa.Writable=require_stream_writable(),qa.Duplex=require_stream_duplex(),qa.Transform=_stream_transform,qa.PassThrough=_stream_passthrough,qa.finished=endOfStream,qa.pipeline=pipeline_1})(readableBrowser,readableBrowser.exports);var readableBrowserExports=readableBrowser.exports;const{Transform:Transform$1}=readableBrowserExports;class Block extends Transform$1{constructor(qa,td={}){super(td),typeof qa=="object"&&(td=qa,qa=td.size),this.size=qa||512;const{nopad:rd,zeroPadding:nd=!0}=td;rd?this._zeroPadding=!1:this._zeroPadding=!!nd,this._buffered=[],this._bufferedBytes=0}_transform(qa,td,rd){for(this._bufferedBytes+=qa.length,this._buffered.push(qa);this._bufferedBytes>=this.size;){this._bufferedBytes-=this.size;const nd=[];let ad=0;for(;ad * Copyright OpenJS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */lodash.exports;(function(Ra,qa){(function(){var ed,td="4.17.21",rd=200,sd="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",od="Expected a function",ld="Invalid `variable` option passed into `_.template`",ud="__lodash_hash_undefined__",cd=500,dd="__lodash_placeholder__",_d=1,Ed=2,Ad=4,Td=1,Id=2,Bd=1,Rd=2,Od=4,Md=8,Ld=16,Fd=32,jd=64,Vd=128,Qd=256,qd=512,Kd=30,Xd="...",df=800,mf=16,bf=1,pf=2,_f=3,Tf=1/0,kf=9007199254740991,zf=17976931348623157e292,Jf=NaN,Gf=4294967295,Mf=Gf-1,Nf=Gf>>>1,Bf=[["ary",Vd],["bind",Bd],["bindKey",Rd],["curry",Md],["curryRight",Ld],["flip",qd],["partial",Fd],["partialRight",jd],["rearg",Qd]],Qf="[object Arguments]",Wf="[object Array]",yf="[object AsyncFunction]",hf="[object Boolean]",Rf="[object Date]",jf="[object DOMException]",Kf="[object Error]",Ff="[object Function]",wf="[object GeneratorFunction]",Yf="[object Map]",uh="[object Number]",Uf="[object Null]",Cf="[object Object]",If="[object Promise]",Lf="[object Proxy]",sh="[object RegExp]",hh="[object Set]",rh="[object String]",Ah="[object Symbol]",ph="[object Undefined]",vh="[object WeakMap]",qh="[object WeakSet]",kh="[object ArrayBuffer]",Wh="[object DataView]",om="[object Float32Array]",th="[object Float64Array]",Df="[object Int8Array]",Af="[object Int16Array]",Xf="[object Int32Array]",ah="[object Uint8Array]",yh="[object Uint8ClampedArray]",Dh="[object Uint16Array]",Yh="[object Uint32Array]",hm=/\b__p \+= '';/g,im=/\b(__p \+=) '' \+/g,Fm=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Dm=/&(?:amp|lt|gt|quot|#39);/g,Om=/[&<>"']/g,Qm=RegExp(Dm.source),L_=RegExp(Om.source),T_=/<%-([\s\S]+?)%>/g,S_=/<%([\s\S]+?)%>/g,Xm=/<%=([\s\S]+?)%>/g,B_=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,H_=/^\w*$/,Y_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,X_=/[\\^$.*+?()[\]{}|]/g,F_=RegExp(X_.source),N_=/^\s+/,Rm=/\s/,Dg=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Fg=/\{\n\/\* \[wrapped with (.+)\] \*/,am=/,? & /,Sf=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,oh=/[()=,{}\[\]\/\s]/,Zf=/\\(\\)?/g,lh=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,bh=/\w*$/,gh=/^[-+]0x[0-9a-f]+$/i,Oh=/^0b[01]+$/i,Ih=/^\[object .+?Constructor\]$/,fh=/^0o[0-7]+$/i,Xh=/^(?:0|[1-9]\d*)$/,cm=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,jm=/($^)/,gm=/['\n\r\u2028\u2029\\]/g,Vm="\\ud800-\\udfff",y_="\\u0300-\\u036f",x_="\\ufe20-\\ufe2f",u_="\\u20d0-\\u20ff",Nm=y_+x_+u_,G_="\\u2700-\\u27bf",p_="a-z\\xdf-\\xf6\\xf8-\\xff",r_="\\xac\\xb1\\xd7\\xf7",Lm="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",g_="\\u2000-\\u206f",Xg=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Qg="A-Z\\xc0-\\xd6\\xd8-\\xde",fm="\\ufe0e\\ufe0f",n_=r_+Lm+g_+Xg,Ig="['’]",d0="["+Vm+"]",p0="["+n_+"]",jg="["+Nm+"]",Jg="\\d+",i_="["+G_+"]",Og="["+p_+"]",q_="[^"+Vm+n_+Jg+G_+p_+Qg+"]",hg="\\ud83c[\\udffb-\\udfff]",ig="(?:"+jg+"|"+hg+")",Zg="[^"+Vm+"]",I0="(?:\\ud83c[\\udde6-\\uddff]){2}",mg="[\\ud800-\\udbff][\\udc00-\\udfff]",e0="["+Qg+"]",Sb="\\u200d",rb="(?:"+Og+"|"+q_+")",Zm="(?:"+e0+"|"+q_+")",nb="(?:"+Ig+"(?:d|ll|m|re|s|t|ve))?",G0="(?:"+Ig+"(?:D|LL|M|RE|S|T|VE))?",xb=ig+"?",Zb="["+fm+"]?",ev="(?:"+Sb+"(?:"+[Zg,I0,mg].join("|")+")"+Zb+xb+")*",q0="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ag="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ug=Zb+xb+ev,f0="(?:"+[i_,I0,mg].join("|")+")"+Ug,V0="(?:"+[Zg+jg+"?",jg,I0,mg,d0].join("|")+")",ib=RegExp(Ig,"g"),_1=RegExp(jg,"g"),Mv=RegExp(hg+"(?="+hg+")|"+V0+Ug,"g"),g1=RegExp([e0+"?"+Og+"+"+nb+"(?="+[p0,e0,"$"].join("|")+")",Zm+"+"+G0+"(?="+[p0,e0+rb,"$"].join("|")+")",e0+"?"+rb+"+"+nb,e0+"+"+G0,ag,q0,Jg,f0].join("|"),"g"),Cy=RegExp("["+Sb+Vm+Nm+fm+"]"),Bv=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,b1=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],v1=-1,Im={};Im[om]=Im[th]=Im[Df]=Im[Af]=Im[Xf]=Im[ah]=Im[yh]=Im[Dh]=Im[Yh]=!0,Im[Qf]=Im[Wf]=Im[kh]=Im[hf]=Im[Wh]=Im[Rf]=Im[Kf]=Im[Ff]=Im[Yf]=Im[uh]=Im[Cf]=Im[sh]=Im[hh]=Im[rh]=Im[vh]=!1;var P_={};P_[Qf]=P_[Wf]=P_[kh]=P_[Wh]=P_[hf]=P_[Rf]=P_[om]=P_[th]=P_[Df]=P_[Af]=P_[Xf]=P_[Yf]=P_[uh]=P_[Cf]=P_[sh]=P_[hh]=P_[rh]=P_[Ah]=P_[ah]=P_[yh]=P_[Dh]=P_[Yh]=!0,P_[Kf]=P_[Ff]=P_[vh]=!1;var Cb={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},tv={"&":"&","<":"<",">":">",'"':""","'":"'"},Pv={"&":"&","<":"<",">":">",""":'"',"'":"'"},y1={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},E1=parseFloat,Ab=parseInt,T1=typeof commonjsGlobal=="object"&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,$v=typeof self=="object"&&self&&self.Object===Object&&self,k_=T1||$v||Function("return this")(),Lv=qa&&!qa.nodeType&&qa,z0=Lv&&!0&&Ra&&!Ra.nodeType&&Ra,z_=z0&&z0.exports===Lv,t0=z_&&T1.process,tg=function(){try{var Uh=z0&&z0.require&&z0.require("util").types;return Uh||t0&&t0.binding&&t0.binding("util")}catch{}}(),wb=tg&&tg.isArrayBuffer,r0=tg&&tg.isDate,ab=tg&&tg.isMap,rv=tg&&tg.isRegExp,h0=tg&&tg.isSet,S1=tg&&tg.isTypedArray;function Pg(Uh,um,Kh){switch(Kh.length){case 0:return Uh.call(um);case 1:return Uh.call(um,Kh[0]);case 2:return Uh.call(um,Kh[0],Kh[1]);case 3:return Uh.call(um,Kh[0],Kh[1],Kh[2])}return Uh.apply(um,Kh)}function Fv(Uh,um,Kh,Km){for(var d_=-1,C_=Uh==null?0:Uh.length;++d_-1}function iv(Uh,um,Kh){for(var Km=-1,d_=Uh==null?0:Uh.length;++Km-1;);return Kh}function _g(Uh,um){for(var Kh=Uh.length;Kh--&&Gd(um,Uh[Kh],0)>-1;);return Kh}function Db(Uh,um){for(var Kh=Uh.length,Km=0;Kh--;)Uh[Kh]===um&&++Km;return Km}var av=mh(Cb),R0=mh(tv);function Ib(Uh){return"\\"+y1[Uh]}function Iy(Uh,um){return Uh==null?ed:Uh[um]}function sv(Uh){return Cy.test(Uh)}function CE(Uh){return Bv.test(Uh)}function wT(Uh){for(var um,Kh=[];!(um=Uh.next()).done;)Kh.push(um.value);return Kh}function w1(Uh){var um=-1,Kh=Array(Uh.size);return Uh.forEach(function(Km,d_){Kh[++um]=[d_,Km]}),Kh}function N1(Uh,um){return function(Kh){return Uh(um(Kh))}}function qg(Uh,um){for(var Kh=-1,Km=Uh.length,d_=0,C_=[];++Kh-1}function LE(Ud,Yd){var gf=this.__data__,Pf=fv(gf,Ud);return Pf<0?(++this.size,gf.push([Ud,Yd])):gf[Pf][1]=Yd,this}E0.prototype.clear=LT,E0.prototype.delete=Qy,E0.prototype.get=Jy,E0.prototype.has=$E,E0.prototype.set=LE;function T0(Ud){var Yd=-1,gf=Ud==null?0:Ud.length;for(this.clear();++Yd=Yd?Ud:Yd)),Ud}function zg(Ud,Yd,gf,Pf,nh,dh){var Rh,Mh=Yd&_d,Gh=Yd&Ed,mm=Yd&Ad;if(gf&&(Rh=nh?gf(Ud,Pf,nh,dh):gf(Ud)),Rh!==ed)return Rh;if(!ug(Ud))return Ud;var _m=h_(Ud);if(_m){if(Rh=r2(Ud),!Mh)return Gg(Ud,Rh)}else{var Tm=yg(Ud),zm=Tm==Ff||Tm==wf;if(kv(Ud))return pE(Ud,Mh);if(Tm==Cf||Tm==Qf||zm&&!nh){if(Rh=Gh||zm?{}:bT(Ud),!Mh)return Gh?QT(Ud,HE(Rh,Ud)):lT(Ud,tE(Rh,Ud))}else{if(!P_[Tm])return nh?Ud:{};Rh=ey(Ud,Tm,Mh)}}dh||(dh=new J_);var t_=dh.get(Ud);if(t_)return t_;dh.set(Ud,Rh),L2(Ud)?Ud.forEach(function(l_){Rh.add(zg(l_,Yd,gf,l_,Ud,dh))}):P2(Ud)&&Ud.forEach(function(l_,E_){Rh.set(E_,zg(l_,Yd,gf,E_,Ud,dh))});var o_=mm?Gh?Z1:J1:Gh?u0:Bg,b_=_m?ed:o_(Ud);return Hg(b_||Ud,function(l_,E_){b_&&(E_=l_,l_=Ud[E_]),pv(Rh,E_,zg(l_,Yd,gf,E_,Ud,dh))}),Rh}function HT(Ud){var Yd=Bg(Ud);return function(gf){return rE(gf,Ud,Yd)}}function rE(Ud,Yd,gf){var Pf=gf.length;if(Ud==null)return!Pf;for(Ud=j_(Ud);Pf--;){var nh=gf[Pf],dh=Yd[nh],Rh=Ud[nh];if(Rh===ed&&!(nh in Ud)||!dh(Rh))return!1}return!0}function GE(Ud,Yd,gf){if(typeof Ud!="function")throw new i0(od);return e_(function(){Ud.apply(ed,gf)},Yd)}function Kv(Ud,Yd,gf,Pf){var nh=-1,dh=nv,Rh=!0,Mh=Ud.length,Gh=[],mm=Yd.length;if(!Mh)return Gh;gf&&(Yd=V_(Yd,c_(gf))),Pf?(dh=iv,Rh=!1):Yd.length>=rd&&(dh=v_,Rh=!1,Yd=new cb(Yd));e:for(;++nhnh?0:nh+gf),Pf=Pf===ed||Pf>nh?nh:__(Pf),Pf<0&&(Pf+=nh),Pf=gf>Pf?0:j2(Pf);gf0&&gf(Mh)?Yd>1?bg(Mh,Yd-1,gf,Pf,nh):m0(nh,Mh):Pf||(nh[nh.length]=Mh)}return nh}var mv=uT(),iE=uT(!0);function s0(Ud,Yd){return Ud&&mv(Ud,Yd,Bg)}function j1(Ud,Yd){return Ud&&iE(Ud,Yd,Bg)}function U1(Ud,Yd){return O0(Yd,function(gf){return Kb(Ud[gf])})}function hb(Ud,Yd){Yd=gb(Yd,Ud);for(var gf=0,Pf=Yd.length;Ud!=null&&gfYd}function VE(Ud,Yd){return Ud!=null&&R_.call(Ud,Yd)}function zE(Ud,Yd){return Ud!=null&&Yd in j_(Ud)}function _v(Ud,Yd,gf){return Ud>=dg(Yd,gf)&&Ud=120&&_m.length>=120)?new cb(Rh&&_m):ed}_m=Ud[0];var Tm=-1,zm=Mh[0];e:for(;++Tm-1;)Mh!==Ud&&Mb.call(Mh,Gh,1),Mb.call(Ud,Gh,1);return Ud}function Rg(Ud,Yd){for(var gf=Ud?Yd.length:0,Pf=gf-1;gf--;){var nh=Yd[gf];if(gf==Pf||nh!==dh){var dh=nh;Wd(nh)?Mb.call(Ud,nh,1):q1(Ud,nh)}}return Ud}function G1(Ud,Yd){return Ud+Pb(Ky()*(Yd-Ud+1))}function VT(Ud,Yd,gf,Pf){for(var nh=-1,dh=K_(Gv((Yd-Ud)/(gf||1)),0),Rh=Kh(dh);dh--;)Rh[Pf?dh:++nh]=Ud,Ud+=gf;return Rh}function cE(Ud,Yd){var gf="";if(!Ud||Yd<1||Yd>kf)return gf;do Yd%2&&(gf+=Ud),Yd=Pb(Yd/2),Yd&&(Ud+=Ud);while(Yd);return gf}function m_(Ud,Yd){return Jm(Sm(Ud,Yd,c0),Ud+"")}function nT(Ud){return Zy(ry(Ud))}function iT(Ud,Yd){var gf=ry(Ud);return ng(gf,J0(Yd,0,gf.length))}function Sv(Ud,Yd,gf,Pf){if(!ug(Ud))return Ud;Yd=gb(Yd,Ud);for(var nh=-1,dh=Yd.length,Rh=dh-1,Mh=Ud;Mh!=null&&++nhnh?0:nh+Yd),gf=gf>nh?nh:gf,gf<0&&(gf+=nh),nh=Yd>gf?0:gf-Yd>>>0,Yd>>>=0;for(var dh=Kh(nh);++Pf>>1,Rh=Ud[dh];Rh!==null&&!w0(Rh)&&(gf?Rh<=Yd:Rh=rd){var mm=Yd?null:ZT(Ud);if(mm)return Vg(mm);Rh=!1,nh=v_,Gh=new cb}else Gh=Yd?[]:Mh;e:for(;++Pf=Pf?Ud:vg(Ud,Yd,gf)}var oT=Fy||function(Ud){return k_.clearTimeout(Ud)};function pE(Ud,Yd){if(Yd)return Ud.slice();var gf=Ud.length,Pf=Py?Py(gf):new Ud.constructor(gf);return Ud.copy(Pf),Pf}function xv(Ud){var Yd=new Ud.constructor(Ud.byteLength);return new O1(Yd).set(new O1(Ud)),Yd}function YT(Ud,Yd){var gf=Yd?xv(Ud.buffer):Ud.buffer;return new Ud.constructor(gf,Ud.byteOffset,Ud.byteLength)}function KT(Ud){var Yd=new Ud.constructor(Ud.source,bh.exec(Ud));return Yd.lastIndex=Ud.lastIndex,Yd}function s1(Ud){return zv?j_(zv.call(Ud)):{}}function fE(Ud,Yd){var gf=Yd?xv(Ud.buffer):Ud.buffer;return new Ud.constructor(gf,Ud.byteOffset,Ud.length)}function hE(Ud,Yd){if(Ud!==Yd){var gf=Ud!==ed,Pf=Ud===null,nh=Ud===Ud,dh=w0(Ud),Rh=Yd!==ed,Mh=Yd===null,Gh=Yd===Yd,mm=w0(Yd);if(!Mh&&!mm&&!dh&&Ud>Yd||dh&&Rh&&Gh&&!Mh&&!mm||Pf&&Rh&&Gh||!gf&&Gh||!nh)return 1;if(!Pf&&!dh&&!mm&&Ud=Mh)return Gh;var mm=gf[Pf];return Gh*(mm=="desc"?-1:1)}}return Ud.index-Yd.index}function z1(Ud,Yd,gf,Pf){for(var nh=-1,dh=Ud.length,Rh=gf.length,Mh=-1,Gh=Yd.length,mm=K_(dh-Rh,0),_m=Kh(Gh+mm),Tm=!Pf;++Mh1?gf[nh-1]:ed,Rh=nh>2?gf[2]:ed;for(dh=Ud.length>3&&typeof dh=="function"?(nh--,dh):ed,Rh&&zd(gf[0],gf[1],Rh)&&(dh=nh<3?ed:dh,nh=1),Yd=j_(Yd);++Pf-1?nh[dh?Yd[Rh]:Rh]:ed}}function pT(Ud){return L0(function(Yd){var gf=Yd.length,Pf=gf,nh=M_.prototype.thru;for(Ud&&Yd.reverse();Pf--;){var dh=Yd[Pf];if(typeof dh!="function")throw new i0(od);if(nh&&!Rh&&p1(dh)=="wrapper")var Rh=new M_([],!0)}for(Pf=Rh?Pf:gf;++Pf1&&w_.reverse(),_m&&GhMh))return!1;var mm=dh.get(Ud),_m=dh.get(Yd);if(mm&&_m)return mm==Yd&&_m==Ud;var Tm=-1,zm=!0,t_=gf&Id?new cb:ed;for(dh.set(Ud,Yd),dh.set(Yd,Ud);++Tm1?"& ":"")+Yd[Pf],Yd=Yd.join(gf>2?", ":" "),Ud.replace(Dg,`{ -/* [wrapped with `+Yd+`] */ -`)}function Pd(Ud){return h_(Ud)||h1(Ud)||!!(RE&&Ud&&Ud[RE])}function Wd(Ud,Yd){var gf=typeof Ud;return Yd=Yd??kf,!!Yd&&(gf=="number"||gf!="symbol"&&Xh.test(Ud))&&Ud>-1&&Ud%1==0&&Ud0){if(++Yd>=df)return arguments[0]}else Yd=0;return Ud.apply(ed,arguments)}}function ng(Ud,Yd){var gf=-1,Pf=Ud.length,nh=Pf-1;for(Yd=Yd===ed?Pf:Yd;++gf1?Ud[Yd-1]:ed;return gf=typeof gf=="function"?(Ud.pop(),gf):ed,x2(Ud,gf)});function C2(Ud){var Yd=ch(Ud);return Yd.__chain__=!0,Yd}function KS(Ud,Yd){return Yd(Ud),Ud}function vT(Ud,Yd){return Yd(Ud)}var XS=L0(function(Ud){var Yd=Ud.length,gf=Yd?Ud[0]:0,Pf=this.__wrapped__,nh=function(dh){return hv(dh,Ud)};return Yd>1||this.__actions__.length||!(Pf instanceof s_)||!Wd(gf)?this.thru(nh):(Pf=Pf.slice(gf,+gf+(Yd?1:0)),Pf.__actions__.push({func:vT,args:[nh],thisArg:ed}),new M_(Pf,this.__chain__).thru(function(dh){return Yd&&!dh.length&&dh.push(ed),dh}))});function QS(){return C2(this)}function JS(){return new M_(this.value(),this.__chain__)}function ZS(){this.__values__===ed&&(this.__values__=F2(this.value()));var Ud=this.__index__>=this.__values__.length,Yd=Ud?ed:this.__values__[this.__index__++];return{done:Ud,value:Yd}}function ex(){return this}function tx(Ud){for(var Yd,gf=this;gf instanceof wg;){var Pf=kg(gf);Pf.__index__=0,Pf.__values__=ed,Yd?nh.__wrapped__=Pf:Yd=Pf;var nh=Pf;gf=gf.__wrapped__}return nh.__wrapped__=Ud,Yd}function rx(){var Ud=this.__wrapped__;if(Ud instanceof s_){var Yd=Ud;return this.__actions__.length&&(Yd=new s_(this)),Yd=Yd.reverse(),Yd.__actions__.push({func:vT,args:[n2],thisArg:ed}),new M_(Yd,this.__chain__)}return this.thru(n2)}function nx(){return r1(this.__wrapped__,this.__actions__)}var ix=Cv(function(Ud,Yd,gf){R_.call(Ud,gf)?++Ud[gf]:Q0(Ud,gf,1)});function ax(Ud,Yd,gf){var Pf=h_(Ud)?Nb:GT;return gf&&zd(Ud,Yd,gf)&&(Yd=ed),Pf(Ud,a_(Yd,3))}function sx(Ud,Yd){var gf=h_(Ud)?O0:Hb;return gf(Ud,a_(Yd,3))}var ox=_E(j0),lx=_E(Eb);function ux(Ud,Yd){return bg(yT(Ud,Yd),1)}function dx(Ud,Yd){return bg(yT(Ud,Yd),Tf)}function px(Ud,Yd,gf){return gf=gf===ed?1:__(gf),bg(yT(Ud,Yd),gf)}function A2(Ud,Yd){var gf=h_(Ud)?Hg:x0;return gf(Ud,a_(Yd,3))}function w2(Ud,Yd){var gf=h_(Ud)?x1:nE;return gf(Ud,a_(Yd,3))}var fx=Cv(function(Ud,Yd,gf){R_.call(Ud,gf)?Ud[gf].push(Yd):Q0(Ud,gf,[Yd])});function hx(Ud,Yd,gf,Pf){Ud=l0(Ud)?Ud:ry(Ud),gf=gf&&!Pf?__(gf):0;var nh=Ud.length;return gf<0&&(gf=K_(nh+gf,0)),CT(Ud)?gf<=nh&&Ud.indexOf(Yd,gf)>-1:!!nh&&Gd(Ud,Yd,gf)>-1}var mx=m_(function(Ud,Yd,gf){var Pf=-1,nh=typeof Yd=="function",dh=l0(Ud)?Kh(Ud.length):[];return x0(Ud,function(Rh){dh[++Pf]=nh?Pg(Yd,Rh,gf):bv(Rh,Yd,gf)}),dh}),_x=Cv(function(Ud,Yd,gf){Q0(Ud,gf,Yd)});function yT(Ud,Yd){var gf=h_(Ud)?V_:oE;return gf(Ud,a_(Yd,3))}function gx(Ud,Yd,gf,Pf){return Ud==null?[]:(h_(Yd)||(Yd=Yd==null?[]:[Yd]),gf=Pf?ed:gf,h_(gf)||(gf=gf==null?[]:[gf]),eT(Ud,Yd,gf))}var bx=Cv(function(Ud,Yd,gf){Ud[gf?0:1].push(Yd)},function(){return[[],[]]});function vx(Ud,Yd,gf){var Pf=h_(Ud)?jv:wh,nh=arguments.length<3;return Pf(Ud,a_(Yd,4),gf,nh,x0)}function yx(Ud,Yd,gf){var Pf=h_(Ud)?C1:wh,nh=arguments.length<3;return Pf(Ud,a_(Yd,4),gf,nh,nE)}function Ex(Ud,Yd){var gf=h_(Ud)?O0:Hb;return gf(Ud,ST(a_(Yd,3)))}function Tx(Ud){var Yd=h_(Ud)?Zy:nT;return Yd(Ud)}function Sx(Ud,Yd,gf){(gf?zd(Ud,Yd,gf):Yd===ed)?Yd=1:Yd=__(Yd);var Pf=h_(Ud)?UT:iT;return Pf(Ud,Yd)}function xx(Ud){var Yd=h_(Ud)?eE:WT;return Yd(Ud)}function Cx(Ud){if(Ud==null)return 0;if(l0(Ud))return CT(Ud)?ov(Ud):Ud.length;var Yd=yg(Ud);return Yd==Yf||Yd==hh?Ud.size:qb(Ud).length}function Ax(Ud,Yd,gf){var Pf=h_(Ud)?sb:e1;return gf&&zd(Ud,Yd,gf)&&(Yd=ed),Pf(Ud,a_(Yd,3))}var wx=m_(function(Ud,Yd){if(Ud==null)return[];var gf=Yd.length;return gf>1&&zd(Ud,Yd[0],Yd[1])?Yd=[]:gf>2&&zd(Yd[0],Yd[1],Yd[2])&&(Yd=[Yd[0]]),eT(Ud,bg(Yd,1),[])}),ET=cv||function(){return k_.Date.now()};function Nx(Ud,Yd){if(typeof Yd!="function")throw new i0(od);return Ud=__(Ud),function(){if(--Ud<1)return Yd.apply(this,arguments)}}function N2(Ud,Yd,gf){return Yd=gf?ed:Yd,Yd=Ud&&Yd==null?Ud.length:Yd,A_(Ud,Vd,ed,ed,ed,ed,Yd)}function D2(Ud,Yd){var gf;if(typeof Yd!="function")throw new i0(od);return Ud=__(Ud),function(){return--Ud>0&&(gf=Yd.apply(this,arguments)),Ud<=1&&(Yd=ed),gf}}var a2=m_(function(Ud,Yd,gf){var Pf=Bd;if(gf.length){var nh=qg(gf,Iv(a2));Pf|=Fd}return A_(Ud,Pf,Yd,gf,nh)}),I2=m_(function(Ud,Yd,gf){var Pf=Bd|Rd;if(gf.length){var nh=qg(gf,Iv(I2));Pf|=Fd}return A_(Yd,Pf,Ud,gf,nh)});function O2(Ud,Yd,gf){Yd=gf?ed:Yd;var Pf=A_(Ud,Md,ed,ed,ed,ed,ed,Yd);return Pf.placeholder=O2.placeholder,Pf}function R2(Ud,Yd,gf){Yd=gf?ed:Yd;var Pf=A_(Ud,Ld,ed,ed,ed,ed,ed,Yd);return Pf.placeholder=R2.placeholder,Pf}function k2(Ud,Yd,gf){var Pf,nh,dh,Rh,Mh,Gh,mm=0,_m=!1,Tm=!1,zm=!0;if(typeof Ud!="function")throw new i0(od);Yd=H0(Yd)||0,ug(gf)&&(_m=!!gf.leading,Tm="maxWait"in gf,dh=Tm?K_(H0(gf.maxWait)||0,Yd):dh,zm="trailing"in gf?!!gf.trailing:zm);function t_(Sg){var tb=Pf,Qb=nh;return Pf=nh=ed,mm=Sg,Rh=Ud.apply(Qb,tb),Rh}function o_(Sg){return mm=Sg,Mh=e_(E_,Yd),_m?t_(Sg):Rh}function b_(Sg){var tb=Sg-Gh,Qb=Sg-mm,J2=Yd-tb;return Tm?dg(J2,dh-Qb):J2}function l_(Sg){var tb=Sg-Gh,Qb=Sg-mm;return Gh===ed||tb>=Yd||tb<0||Tm&&Qb>=dh}function E_(){var Sg=ET();if(l_(Sg))return w_(Sg);Mh=e_(E_,b_(Sg))}function w_(Sg){return Mh=ed,zm&&Pf?t_(Sg):(Pf=nh=ed,Rh)}function N0(){Mh!==ed&&oT(Mh),mm=0,Pf=Gh=nh=Mh=ed}function Kg(){return Mh===ed?Rh:w_(ET())}function D0(){var Sg=ET(),tb=l_(Sg);if(Pf=arguments,nh=this,Gh=Sg,tb){if(Mh===ed)return o_(Gh);if(Tm)return oT(Mh),Mh=e_(E_,Yd),t_(Gh)}return Mh===ed&&(Mh=e_(E_,Yd)),Rh}return D0.cancel=N0,D0.flush=Kg,D0}var Dx=m_(function(Ud,Yd){return GE(Ud,1,Yd)}),Ix=m_(function(Ud,Yd,gf){return GE(Ud,H0(Yd)||0,gf)});function Ox(Ud){return A_(Ud,qd)}function TT(Ud,Yd){if(typeof Ud!="function"||Yd!=null&&typeof Yd!="function")throw new i0(od);var gf=function(){var Pf=arguments,nh=Yd?Yd.apply(this,Pf):Pf[0],dh=gf.cache;if(dh.has(nh))return dh.get(nh);var Rh=Ud.apply(this,Pf);return gf.cache=dh.set(nh,Rh)||dh,Rh};return gf.cache=new(TT.Cache||T0),gf}TT.Cache=T0;function ST(Ud){if(typeof Ud!="function")throw new i0(od);return function(){var Yd=arguments;switch(Yd.length){case 0:return!Ud.call(this);case 1:return!Ud.call(this,Yd[0]);case 2:return!Ud.call(this,Yd[0],Yd[1]);case 3:return!Ud.call(this,Yd[0],Yd[1],Yd[2])}return!Ud.apply(this,Yd)}}function Rx(Ud){return D2(2,Ud)}var kx=a1(function(Ud,Yd){Yd=Yd.length==1&&h_(Yd[0])?V_(Yd[0],c_(a_())):V_(bg(Yd,1),c_(a_()));var gf=Yd.length;return m_(function(Pf){for(var nh=-1,dh=dg(Pf.length,gf);++nh=Yd}),h1=aE(function(){return arguments}())?aE:function(Ud){return fg(Ud)&&R_.call(Ud,"callee")&&!R1.call(Ud,"callee")},h_=Kh.isArray,Yx=wb?c_(wb):vv;function l0(Ud){return Ud!=null&&xT(Ud.length)&&!Kb(Ud)}function Tg(Ud){return fg(Ud)&&l0(Ud)}function Kx(Ud){return Ud===!0||Ud===!1||fg(Ud)&&Cg(Ud)==hf}var kv=IT||g2,Xx=r0?c_(r0):YE;function Qx(Ud){return fg(Ud)&&Ud.nodeType===1&&!SE(Ud)}function Jx(Ud){if(Ud==null)return!0;if(l0(Ud)&&(h_(Ud)||typeof Ud=="string"||typeof Ud.splice=="function"||kv(Ud)||ty(Ud)||h1(Ud)))return!Ud.length;var Yd=yg(Ud);if(Yd==Yf||Yd==hh)return!Ud.size;if(eh(Ud))return!qb(Ud).length;for(var gf in Ud)if(R_.call(Ud,gf))return!1;return!0}function Zx(Ud,Yd){return mb(Ud,Yd)}function eC(Ud,Yd,gf){gf=typeof gf=="function"?gf:ed;var Pf=gf?gf(Ud,Yd):ed;return Pf===ed?mb(Ud,Yd,ed,gf):!!Pf}function o2(Ud){if(!fg(Ud))return!1;var Yd=Cg(Ud);return Yd==Kf||Yd==jf||typeof Ud.message=="string"&&typeof Ud.name=="string"&&!SE(Ud)}function tC(Ud){return typeof Ud=="number"&&kE(Ud)}function Kb(Ud){if(!ug(Ud))return!1;var Yd=Cg(Ud);return Yd==Ff||Yd==wf||Yd==yf||Yd==Lf}function B2(Ud){return typeof Ud=="number"&&Ud==__(Ud)}function xT(Ud){return typeof Ud=="number"&&Ud>-1&&Ud%1==0&&Ud<=kf}function ug(Ud){var Yd=typeof Ud;return Ud!=null&&(Yd=="object"||Yd=="function")}function fg(Ud){return Ud!=null&&typeof Ud=="object"}var P2=ab?c_(ab):Xv;function rC(Ud,Yd){return Ud===Yd||sE(Ud,Yd,O_(Yd))}function nC(Ud,Yd,gf){return gf=typeof gf=="function"?gf:ed,sE(Ud,Yd,O_(Yd),gf)}function iC(Ud){return $2(Ud)&&Ud!=+Ud}function aC(Ud){if(Vf(Ud))throw new d_(sd);return Gb(Ud)}function sC(Ud){return Ud===null}function oC(Ud){return Ud==null}function $2(Ud){return typeof Ud=="number"||fg(Ud)&&Cg(Ud)==uh}function SE(Ud){if(!fg(Ud)||Cg(Ud)!=Cf)return!1;var Yd=lb(Ud);if(Yd===null)return!0;var gf=R_.call(Yd,"constructor")&&Yd.constructor;return typeof gf=="function"&&gf instanceof gf&&lv.call(gf)==kb}var l2=rv?c_(rv):XE;function lC(Ud){return B2(Ud)&&Ud>=-kf&&Ud<=kf}var L2=h0?c_(h0):QE;function CT(Ud){return typeof Ud=="string"||!h_(Ud)&&fg(Ud)&&Cg(Ud)==rh}function w0(Ud){return typeof Ud=="symbol"||fg(Ud)&&Cg(Ud)==Ah}var ty=S1?c_(S1):JE;function uC(Ud){return Ud===ed}function cC(Ud){return fg(Ud)&&yg(Ud)==vh}function dC(Ud){return fg(Ud)&&Cg(Ud)==qh}var pC=l1(Vb),hC=l1(function(Ud,Yd){return Ud<=Yd});function F2(Ud){if(!Ud)return[];if(l0(Ud))return CT(Ud)?_0(Ud):Gg(Ud);if(Bb&&Ud[Bb])return wT(Ud[Bb]());var Yd=yg(Ud),gf=Yd==Yf?w1:Yd==hh?Vg:ry;return gf(Ud)}function Xb(Ud){if(!Ud)return Ud===0?Ud:0;if(Ud=H0(Ud),Ud===Tf||Ud===-Tf){var Yd=Ud<0?-1:1;return Yd*zf}return Ud===Ud?Ud:0}function __(Ud){var Yd=Xb(Ud),gf=Yd%1;return Yd===Yd?gf?Yd-gf:Yd:0}function j2(Ud){return Ud?J0(__(Ud),0,Gf):0}function H0(Ud){if(typeof Ud=="number")return Ud;if(w0(Ud))return Jf;if(ug(Ud)){var Yd=typeof Ud.valueOf=="function"?Ud.valueOf():Ud;Ud=ug(Yd)?Yd+"":Yd}if(typeof Ud!="string")return Ud===0?Ud:+Ud;Ud=Wm(Ud);var gf=Oh.test(Ud);return gf||fh.test(Ud)?Ab(Ud.slice(2),gf?2:8):gh.test(Ud)?Jf:+Ud}function U2(Ud){return A0(Ud,u0(Ud))}function mC(Ud){return Ud?J0(__(Ud),-kf,kf):Ud===0?Ud:0}function U_(Ud){return Ud==null?"":Wg(Ud)}var _C=$0(function(Ud,Yd){if(eh(Yd)||l0(Yd)){A0(Yd,Bg(Yd),Ud);return}for(var gf in Yd)R_.call(Yd,gf)&&pv(Ud,gf,Yd[gf])}),H2=$0(function(Ud,Yd){A0(Yd,u0(Yd),Ud)}),AT=$0(function(Ud,Yd,gf,Pf){A0(Yd,u0(Yd),Ud,Pf)}),gC=$0(function(Ud,Yd,gf,Pf){A0(Yd,Bg(Yd),Ud,Pf)}),bC=L0(hv);function vC(Ud,Yd){var gf=dv(Ud);return Yd==null?gf:tE(gf,Yd)}var yC=m_(function(Ud,Yd){Ud=j_(Ud);var gf=-1,Pf=Yd.length,nh=Pf>2?Yd[2]:ed;for(nh&&zd(Yd[0],Yd[1],nh)&&(Pf=1);++gf1),dh}),A0(Ud,Z1(Ud),gf),Pf&&(gf=zg(gf,_d|Ed|Ad,c1));for(var nh=Yd.length;nh--;)q1(gf,Yd[nh]);return gf});function LC(Ud,Yd){return q2(Ud,ST(a_(Yd)))}var FC=L0(function(Ud,Yd){return Ud==null?{}:tT(Ud,Yd)});function q2(Ud,Yd){if(Ud==null)return{};var gf=V_(Z1(Ud),function(Pf){return[Pf]});return Yd=a_(Yd),rT(Ud,gf,function(Pf,nh){return Yd(Pf,nh[0])})}function jC(Ud,Yd,gf){Yd=gb(Yd,Ud);var Pf=-1,nh=Yd.length;for(nh||(nh=1,Ud=ed);++PfYd){var Pf=Ud;Ud=Yd,Yd=Pf}if(gf||Ud%1||Yd%1){var nh=Ky();return dg(Ud+nh*(Yd-Ud+E1("1e-"+((nh+"").length-1))),Yd)}return G1(Ud,Yd)}var QC=Nv(function(Ud,Yd,gf){return Yd=Yd.toLowerCase(),Ud+(gf?W2(Yd):Yd)});function W2(Ud){return d2(U_(Ud).toLowerCase())}function Y2(Ud){return Ud=U_(Ud),Ud&&Ud.replace(cm,av).replace(_1,"")}function JC(Ud,Yd,gf){Ud=U_(Ud),Yd=Wg(Yd);var Pf=Ud.length;gf=gf===ed?Pf:J0(__(gf),0,Pf);var nh=gf;return gf-=Yd.length,gf>=0&&Ud.slice(gf,nh)==Yd}function ZC(Ud){return Ud=U_(Ud),Ud&&L_.test(Ud)?Ud.replace(Om,R0):Ud}function eA(Ud){return Ud=U_(Ud),Ud&&F_.test(Ud)?Ud.replace(X_,"\\$&"):Ud}var tA=Nv(function(Ud,Yd,gf){return Ud+(gf?"-":"")+Yd.toLowerCase()}),rA=Nv(function(Ud,Yd,gf){return Ud+(gf?" ":"")+Yd.toLowerCase()}),nA=dT("toLowerCase");function iA(Ud,Yd,gf){Ud=U_(Ud),Yd=__(Yd);var Pf=Yd?ov(Ud):0;if(!Yd||Pf>=Yd)return Ud;var nh=(Yd-Pf)/2;return K1(Pb(nh),gf)+Ud+K1(Gv(nh),gf)}function aA(Ud,Yd,gf){Ud=U_(Ud),Yd=__(Yd);var Pf=Yd?ov(Ud):0;return Yd&&Pf>>0,gf?(Ud=U_(Ud),Ud&&(typeof Yd=="string"||Yd!=null&&!l2(Yd))&&(Yd=Wg(Yd),!Yd&&sv(Ud))?Z0(_0(Ud),0,gf):Ud.split(Yd,gf)):[]}var pA=Nv(function(Ud,Yd,gf){return Ud+(gf?" ":"")+d2(Yd)});function fA(Ud,Yd,gf){return Ud=U_(Ud),gf=gf==null?0:J0(__(gf),0,Ud.length),Yd=Wg(Yd),Ud.slice(gf,gf+Yd.length)==Yd}function hA(Ud,Yd,gf){var Pf=ch.templateSettings;gf&&zd(Ud,Yd,gf)&&(Yd=ed),Ud=U_(Ud),Yd=AT({},Yd,Pf,mT);var nh=AT({},Yd.imports,Pf.imports,mT),dh=Bg(nh),Rh=Q_(nh,dh),Mh,Gh,mm=0,_m=Yd.interpolate||jm,Tm="__p += '",zm=Hv((Yd.escape||jm).source+"|"+_m.source+"|"+(_m===Xm?lh:jm).source+"|"+(Yd.evaluate||jm).source+"|$","g"),t_="//# sourceURL="+(R_.call(Yd,"sourceURL")?(Yd.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++v1+"]")+` -`;Ud.replace(zm,function(l_,E_,w_,N0,Kg,D0){return w_||(w_=N0),Tm+=Ud.slice(mm,D0).replace(gm,Ib),E_&&(Mh=!0,Tm+=`' + -__e(`+E_+`) + -'`),Kg&&(Gh=!0,Tm+=`'; -`+Kg+`; -__p += '`),w_&&(Tm+=`' + -((__t = (`+w_+`)) == null ? '' : __t) + -'`),mm=D0+l_.length,l_}),Tm+=`'; -`;var o_=R_.call(Yd,"variable")&&Yd.variable;if(!o_)Tm=`with (obj) { -`+Tm+` + */lodash.exports;(function(Ra,qa){(function(){var td,rd="4.17.21",nd=200,ad="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",sd="Expected a function",ud="Invalid `variable` option passed into `_.template`",cd="__lodash_hash_undefined__",dd=500,pd="__lodash_placeholder__",fd=1,Td=2,Ad=4,Sd=1,Dd=2,Ld=1,Rd=2,Od=4,Md=8,jd=16,Ud=32,Hd=64,zd=128,Zd=256,Wd=512,Qd=30,Jd="...",hf=800,bf=16,Ef=1,_f=2,vf=3,xf=1/0,Bf=9007199254740991,Yf=17976931348623157e292,eh=NaN,Vf=4294967295,Pf=Vf-1,If=Vf>>>1,$f=[["ary",zd],["bind",Ld],["bindKey",Rd],["curry",Md],["curryRight",jd],["flip",Wd],["partial",Ud],["partialRight",Hd],["rearg",Zd]],Zf="[object Arguments]",Kf="[object Array]",Tf="[object AsyncFunction]",gf="[object Boolean]",Mf="[object Date]",Gf="[object DOMException]",Qf="[object Error]",Uf="[object Function]",Df="[object GeneratorFunction]",Xf="[object Map]",dh="[object Number]",qf="[object Null]",wf="[object Object]",Rf="[object Promise]",jf="[object Proxy]",lh="[object RegExp]",_h="[object Set]",ih="[object String]",wh="[object Symbol]",hh="[object Undefined]",Th="[object WeakMap]",Vh="[object WeakSet]",Bh="[object ArrayBuffer]",Yh="[object DataView]",dm="[object Float32Array]",nh="[object Float64Array]",Of="[object Int8Array]",Nf="[object Int16Array]",Jf="[object Int32Array]",oh="[object Uint8Array]",xh="[object Uint8ClampedArray]",Oh="[object Uint16Array]",Xh="[object Uint32Array]",gm=/\b__p \+= '';/g,lm=/\b(__p \+=) '' \+/g,Hm=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Rm=/&(?:amp|lt|gt|quot|#39);/g,Pm=/[&<>"']/g,e_=RegExp(Rm.source),U_=RegExp(Pm.source),C_=/<%-([\s\S]+?)%>/g,A_=/<%([\s\S]+?)%>/g,Zm=/<%=([\s\S]+?)%>/g,L_=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,V_=/^\w*$/,Q_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Z_=/[\\^$.*+?()[\]{}|]/g,H_=RegExp(Z_.source),O_=/^\s+/,$m=/\s/,Rg=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Hg=/\{\n\/\* \[wrapped with (.+)\] \*/,um=/,? & /,Cf=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,uh=/[()=,{}\[\]\/\s]/,th=/\\(\\)?/g,ch=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,yh=/\w*$/,vh=/^[-+]0x[0-9a-f]+$/i,kh=/^0b[01]+$/i,Rh=/^\[object .+?Constructor\]$/,mh=/^0o[0-7]+$/i,im=/^(?:0|[1-9]\d*)$/,fm=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Gm=/($^)/,Nm=/['\n\r\u2028\u2029\\]/g,Ym="\\ud800-\\udfff",S_="\\u0300-\\u036f",w_="\\ufe20-\\ufe2f",p_="\\u20d0-\\u20ff",Om=S_+w_+p_,z_="\\u2700-\\u27bf",m_="a-z\\xdf-\\xf6\\xf8-\\xff",a_="\\xac\\xb1\\xd7\\xf7",Um="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",y_="\\u2000-\\u206f",Zg=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",e0="A-Z\\xc0-\\xd6\\xd8-\\xde",_m="\\ufe0e\\ufe0f",s_=a_+Um+y_+Zg,kg="['’]",h0="["+Ym+"]",m0="["+s_+"]",Gg="["+Om+"]",t0="\\d+",o_="["+z_+"]",Mg="["+m_+"]",W_="[^"+Ym+s_+t0+z_+m_+e0+"]",gg="\\ud83c[\\udffb-\\udfff]",og="(?:"+Gg+"|"+gg+")",r0="[^"+Ym+"]",k0="(?:\\ud83c[\\udde6-\\uddff]){2}",bg="[\\ud800-\\udbff][\\udc00-\\udfff]",n0="["+e0+"]",Ab="\\u200d",ab="(?:"+Mg+"|"+W_+")",r_="(?:"+n0+"|"+W_+")",sb="(?:"+kg+"(?:d|ll|m|re|s|t|ve))?",z0="(?:"+kg+"(?:D|LL|M|RE|S|T|VE))?",wb=og+"?",rv="["+_m+"]?",nv="(?:"+Ab+"(?:"+[r0,k0,bg].join("|")+")"+rv+wb+")*",W0="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",lg="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",qg=rv+wb+nv,_0="(?:"+[o_,k0,bg].join("|")+")"+qg,Y0="(?:"+[r0+Gg+"?",Gg,k0,bg,h0].join("|")+")",ob=RegExp(kg,"g"),b1=RegExp(Gg,"g"),$v=RegExp(gg+"(?="+gg+")|"+Y0+qg,"g"),v1=RegExp([n0+"?"+Mg+"+"+sb+"(?="+[m0,n0,"$"].join("|")+")",r_+"+"+z0+"(?="+[m0,n0+ab,"$"].join("|")+")",n0+"?"+ab+"+"+sb,n0+"+"+z0,lg,W0,t0,_0].join("|"),"g"),Dy=RegExp("["+Ab+Ym+Om+_m+"]"),Lv=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,y1=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],E1=-1,Mm={};Mm[dm]=Mm[nh]=Mm[Of]=Mm[Nf]=Mm[Jf]=Mm[oh]=Mm[xh]=Mm[Oh]=Mm[Xh]=!0,Mm[Zf]=Mm[Kf]=Mm[Bh]=Mm[gf]=Mm[Yh]=Mm[Mf]=Mm[Qf]=Mm[Uf]=Mm[Xf]=Mm[dh]=Mm[wf]=Mm[lh]=Mm[_h]=Mm[ih]=Mm[Th]=!1;var F_={};F_[Zf]=F_[Kf]=F_[Bh]=F_[Yh]=F_[gf]=F_[Mf]=F_[dm]=F_[nh]=F_[Of]=F_[Nf]=F_[Jf]=F_[Xf]=F_[dh]=F_[wf]=F_[lh]=F_[_h]=F_[ih]=F_[wh]=F_[oh]=F_[xh]=F_[Oh]=F_[Xh]=!0,F_[Qf]=F_[Uf]=F_[Th]=!1;var Nb={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},iv={"&":"&","<":"<",">":">",'"':""","'":"'"},Fv={"&":"&","<":"<",">":">",""":'"',"'":"'"},T1={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},S1=parseFloat,Db=parseInt,x1=typeof commonjsGlobal=="object"&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,jv=typeof self=="object"&&self&&self.Object===Object&&self,P_=x1||jv||Function("return this")(),Uv=qa&&!qa.nodeType&&qa,K0=Uv&&!0&&Ra&&!Ra.nodeType&&Ra,K_=K0&&K0.exports===Uv,i0=K_&&x1.process,ig=function(){try{var Gh=K0&&K0.require&&K0.require("util").types;return Gh||i0&&i0.binding&&i0.binding("util")}catch{}}(),Ib=ig&&ig.isArrayBuffer,a0=ig&&ig.isDate,lb=ig&&ig.isMap,av=ig&&ig.isRegExp,g0=ig&&ig.isSet,C1=ig&&ig.isTypedArray;function Fg(Gh,pm,Zh){switch(Zh.length){case 0:return Gh.call(pm);case 1:return Gh.call(pm,Zh[0]);case 2:return Gh.call(pm,Zh[0],Zh[1]);case 3:return Gh.call(pm,Zh[0],Zh[1],Zh[2])}return Gh.apply(pm,Zh)}function Hv(Gh,pm,Zh,Jm){for(var h_=-1,N_=Gh==null?0:Gh.length;++h_-1}function ov(Gh,pm,Zh){for(var Jm=-1,h_=Gh==null?0:Gh.length;++Jm-1;);return Zh}function vg(Gh,pm){for(var Zh=Gh.length;Zh--&&Vd(pm,Gh[Zh],0)>-1;);return Zh}function kb(Gh,pm){for(var Zh=Gh.length,Jm=0;Zh--;)Gh[Zh]===pm&&++Jm;return Jm}var lv=gh(Nb),B0=gh(iv);function Mb(Gh){return"\\"+T1[Gh]}function Ry(Gh,pm){return Gh==null?td:Gh[pm]}function uv(Gh){return Dy.test(Gh)}function NE(Gh){return Lv.test(Gh)}function IT(Gh){for(var pm,Zh=[];!(pm=Gh.next()).done;)Zh.push(pm.value);return Zh}function D1(Gh){var pm=-1,Zh=Array(Gh.size);return Gh.forEach(function(Jm,h_){Zh[++pm]=[h_,Jm]}),Zh}function I1(Gh,pm){return function(Zh){return Gh(pm(Zh))}}function Wg(Gh,pm){for(var Zh=-1,Jm=Gh.length,h_=0,N_=[];++Zh-1}function UE(Gd,Xd){var yf=this.__data__,Lf=gv(yf,Gd);return Lf<0?(++this.size,yf.push([Gd,Xd])):yf[Lf][1]=Xd,this}x0.prototype.clear=UT,x0.prototype.delete=eE,x0.prototype.get=tE,x0.prototype.has=jE,x0.prototype.set=UE;function C0(Gd){var Xd=-1,yf=Gd==null?0:Gd.length;for(this.clear();++Xd=Xd?Gd:Xd)),Gd}function Kg(Gd,Xd,yf,Lf,ah,fh){var Mh,$h=Xd&fd,qh=Xd&Td,Tm=Xd&Ad;if(yf&&(Mh=ah?yf(Gd,Lf,ah,fh):yf(Gd)),Mh!==td)return Mh;if(!pg(Gd))return Gd;var Sm=g_(Gd);if(Sm){if(Mh=a2(Gd),!$h)return zg(Gd,Mh)}else{var Dm=Sg(Gd),Km=Dm==Uf||Dm==Df;if(Pv(Gd))return mE(Gd,$h);if(Dm==wf||Dm==Zf||Km&&!ah){if(Mh=qh||Km?{}:ET(Gd),!$h)return qh?e2(Gd,VE(Mh,Gd)):dT(Gd,iE(Mh,Gd))}else{if(!F_[Dm])return ah?Gd:{};Mh=ny(Gd,Dm,$h)}}fh||(fh=new tg);var i_=fh.get(Gd);if(i_)return i_;fh.set(Gd,Mh),U2(Gd)?Gd.forEach(function(d_){Mh.add(Kg(d_,Xd,yf,d_,Gd,fh))}):F2(Gd)&&Gd.forEach(function(d_,x_){Mh.set(x_,Kg(d_,Xd,yf,x_,Gd,fh))});var c_=Tm?qh?ry:ty:qh?p0:Lg,E_=Sm?td:c_(Gd);return Vg(E_||Gd,function(d_,x_){E_&&(x_=d_,d_=Gd[x_]),mv(Mh,x_,Kg(d_,Xd,yf,x_,Gd,fh))}),Mh}function VT(Gd){var Xd=Lg(Gd);return function(yf){return aE(yf,Gd,Xd)}}function aE(Gd,Xd,yf){var Lf=yf.length;if(Gd==null)return!Lf;for(Gd=G_(Gd);Lf--;){var ah=yf[Lf],fh=Xd[ah],Mh=Gd[ah];if(Mh===td&&!(ah in Gd)||!fh(Mh))return!1}return!0}function zE(Gd,Xd,yf){if(typeof Gd!="function")throw new o0(sd);return n_(function(){Gd.apply(td,yf)},Xd)}function Zv(Gd,Xd,yf,Lf){var ah=-1,fh=sv,Mh=!0,$h=Gd.length,qh=[],Tm=Xd.length;if(!$h)return qh;yf&&(Xd=Y_(Xd,f_(yf))),Lf?(fh=ov,Mh=!1):Xd.length>=nd&&(fh=T_,Mh=!1,Xd=new fb(Xd));e:for(;++ah<$h;){var Sm=Gd[ah],Dm=yf==null?Sm:yf(Sm);if(Sm=Lf||Sm!==0?Sm:0,Mh&&Dm===Dm){for(var Km=Tm;Km--;)if(Xd[Km]===Dm)continue e;qh.push(Sm)}else fh(Xd,Dm,Lf)||qh.push(Sm)}return qh}var w0=Iv(u0),sE=Iv(H1,!0);function zT(Gd,Xd){var yf=!0;return w0(Gd,function(Lf,ah,fh){return yf=!!Xd(Lf,ah,fh),yf}),yf}function U1(Gd,Xd,yf){for(var Lf=-1,ah=Gd.length;++Lfah?0:ah+yf),Lf=Lf===td||Lf>ah?ah:v_(Lf),Lf<0&&(Lf+=ah),Lf=yf>Lf?0:G2(Lf);yf0&&yf($h)?Xd>1?Eg($h,Xd-1,yf,Lf,ah):b0(ah,$h):Lf||(ah[ah.length]=$h)}return ah}var vv=pT(),oE=pT(!0);function u0(Gd,Xd){return Gd&&vv(Gd,Xd,Lg)}function H1(Gd,Xd){return Gd&&oE(Gd,Xd,Lg)}function G1(Gd,Xd){return M0(Xd,function(yf){return Jb(Gd[yf])})}function gb(Gd,Xd){Xd=yb(Xd,Gd);for(var yf=0,Lf=Xd.length;Gd!=null&&yfXd}function YE(Gd,Xd){return Gd!=null&&B_.call(Gd,Xd)}function KE(Gd,Xd){return Gd!=null&&Xd in G_(Gd)}function yv(Gd,Xd,yf){return Gd>=hg(Xd,yf)&&Gd=120&&Sm.length>=120)?new fb(Mh&&Sm):td}Sm=Gd[0];var Dm=-1,Km=$h[0];e:for(;++Dm-1;)$h!==Gd&&$b.call($h,qh,1),$b.call(Gd,qh,1);return Gd}function Bg(Gd,Xd){for(var yf=Gd?Xd.length:0,Lf=yf-1;yf--;){var ah=Xd[yf];if(yf==Lf||ah!==fh){var fh=ah;Kd(ah)?$b.call(Gd,ah,1):z1(Gd,ah)}}return Gd}function V1(Gd,Xd){return Gd+Fb(Jy()*(Xd-Gd+1))}function YT(Gd,Xd,yf,Lf){for(var ah=-1,fh=J_(zv((Xd-Gd)/(yf||1)),0),Mh=Zh(fh);fh--;)Mh[Lf?fh:++ah]=Gd,Gd+=yf;return Mh}function fE(Gd,Xd){var yf="";if(!Gd||Xd<1||Xd>Bf)return yf;do Xd%2&&(yf+=Gd),Xd=Fb(Xd/2),Xd&&(Gd+=Gd);while(Xd);return yf}function b_(Gd,Xd){return t_(Im(Gd,Xd,f0),Gd+"")}function sT(Gd){return rE(ay(Gd))}function oT(Gd,Xd){var yf=ay(Gd);return sg(yf,tb(Xd,0,yf.length))}function wv(Gd,Xd,yf,Lf){if(!pg(Gd))return Gd;Xd=yb(Xd,Gd);for(var ah=-1,fh=Xd.length,Mh=fh-1,$h=Gd;$h!=null&&++ahah?0:ah+Xd),yf=yf>ah?ah:yf,yf<0&&(yf+=ah),ah=Xd>yf?0:yf-Xd>>>0,Xd>>>=0;for(var fh=Zh(ah);++Lf>>1,Mh=Gd[fh];Mh!==null&&!I0(Mh)&&(yf?Mh<=Xd:Mh=nd){var Tm=Xd?null:r2(Gd);if(Tm)return Yg(Tm);Mh=!1,ah=T_,qh=new fb}else qh=Xd?[]:$h;e:for(;++Lf=Lf?Gd:Tg(Gd,Xd,yf)}var cT=Hy||function(Gd){return P_.clearTimeout(Gd)};function mE(Gd,Xd){if(Xd)return Gd.slice();var yf=Gd.length,Lf=$y?$y(yf):new Gd.constructor(yf);return Gd.copy(Lf),Lf}function Nv(Gd){var Xd=new Gd.constructor(Gd.byteLength);return new k1(Xd).set(new k1(Gd)),Xd}function QT(Gd,Xd){var yf=Xd?Nv(Gd.buffer):Gd.buffer;return new Gd.constructor(yf,Gd.byteOffset,Gd.byteLength)}function JT(Gd){var Xd=new Gd.constructor(Gd.source,yh.exec(Gd));return Xd.lastIndex=Gd.lastIndex,Xd}function l1(Gd){return Kv?G_(Kv.call(Gd)):{}}function _E(Gd,Xd){var yf=Xd?Nv(Gd.buffer):Gd.buffer;return new Gd.constructor(yf,Gd.byteOffset,Gd.length)}function gE(Gd,Xd){if(Gd!==Xd){var yf=Gd!==td,Lf=Gd===null,ah=Gd===Gd,fh=I0(Gd),Mh=Xd!==td,$h=Xd===null,qh=Xd===Xd,Tm=I0(Xd);if(!$h&&!Tm&&!fh&&Gd>Xd||fh&&Mh&&qh&&!$h&&!Tm||Lf&&Mh&&qh||!yf&&qh||!ah)return 1;if(!Lf&&!fh&&!Tm&&Gd=$h)return qh;var Tm=yf[Lf];return qh*(Tm=="desc"?-1:1)}}return Gd.index-Xd.index}function Y1(Gd,Xd,yf,Lf){for(var ah=-1,fh=Gd.length,Mh=yf.length,$h=-1,qh=Xd.length,Tm=J_(fh-Mh,0),Sm=Zh(qh+Tm),Dm=!Lf;++$h1?yf[ah-1]:td,Mh=ah>2?yf[2]:td;for(fh=Gd.length>3&&typeof fh=="function"?(ah--,fh):td,Mh&&Yd(yf[0],yf[1],Mh)&&(fh=ah<3?td:fh,ah=1),Xd=G_(Xd);++Lf-1?ah[fh?Xd[Mh]:Mh]:td}}function mT(Gd){return U0(function(Xd){var yf=Xd.length,Lf=yf,ah=$_.prototype.thru;for(Gd&&Xd.reverse();Lf--;){var fh=Xd[Lf];if(typeof fh!="function")throw new o0(sd);if(ah&&!Mh&&h1(fh)=="wrapper")var Mh=new $_([],!0)}for(Lf=Mh?Lf:yf;++Lf1&&I_.reverse(),Sm&&qh$h))return!1;var Tm=fh.get(Gd),Sm=fh.get(Xd);if(Tm&&Sm)return Tm==Xd&&Sm==Gd;var Dm=-1,Km=!0,i_=yf&Dd?new fb:td;for(fh.set(Gd,Xd),fh.set(Xd,Gd);++Dm<$h;){var c_=Gd[Dm],E_=Xd[Dm];if(Lf)var d_=Mh?Lf(E_,c_,Dm,Xd,Gd,fh):Lf(c_,E_,Dm,Gd,Xd,fh);if(d_!==td){if(d_)continue;Km=!1;break}if(i_){if(!ub(Xd,function(x_,I_){if(!T_(i_,I_)&&(c_===x_||ah(c_,x_,yf,Lf,fh)))return i_.push(I_)})){Km=!1;break}}else if(!(c_===E_||ah(c_,E_,yf,Lf,fh))){Km=!1;break}}return fh.delete(Gd),fh.delete(Xd),Km}function Z1(Gd,Xd,yf,Lf,ah,fh,Mh){switch(yf){case Yh:if(Gd.byteLength!=Xd.byteLength||Gd.byteOffset!=Xd.byteOffset)return!1;Gd=Gd.buffer,Xd=Xd.buffer;case Bh:return!(Gd.byteLength!=Xd.byteLength||!fh(new k1(Gd),new k1(Xd)));case gf:case Mf:case dh:return nb(+Gd,+Xd);case Qf:return Gd.name==Xd.name&&Gd.message==Xd.message;case lh:case ih:return Gd==Xd+"";case Xf:var $h=D1;case _h:var qh=Lf&Sd;if($h||($h=Yg),Gd.size!=Xd.size&&!qh)return!1;var Tm=Mh.get(Gd);if(Tm)return Tm==Xd;Lf|=Dd,Mh.set(Gd,Xd);var Sm=c0($h(Gd),$h(Xd),Lf,ah,fh,Mh);return Mh.delete(Gd),Sm;case wh:if(Kv)return Kv.call(Gd)==Kv.call(Xd)}return!1}function SE(Gd,Xd,yf,Lf,ah,fh){var Mh=yf&Sd,$h=ty(Gd),qh=$h.length,Tm=ty(Xd),Sm=Tm.length;if(qh!=Sm&&!Mh)return!1;for(var Dm=qh;Dm--;){var Km=$h[Dm];if(!(Mh?Km in Xd:B_.call(Xd,Km)))return!1}var i_=fh.get(Gd),c_=fh.get(Xd);if(i_&&c_)return i_==Xd&&c_==Gd;var E_=!0;fh.set(Gd,Xd),fh.set(Xd,Gd);for(var d_=Mh;++Dm1?"& ":"")+Xd[Lf],Xd=Xd.join(yf>2?", ":" "),Gd.replace(Rg,`{ +/* [wrapped with `+Xd+`] */ +`)}function Fd(Gd){return g_(Gd)||_1(Gd)||!!(BE&&Gd&&Gd[BE])}function Kd(Gd,Xd){var yf=typeof Gd;return Xd=Xd??Bf,!!Xd&&(yf=="number"||yf!="symbol"&&im.test(Gd))&&Gd>-1&&Gd%1==0&&Gd0){if(++Xd>=hf)return arguments[0]}else Xd=0;return Gd.apply(td,arguments)}}function sg(Gd,Xd){var yf=-1,Lf=Gd.length,ah=Lf-1;for(Xd=Xd===td?Lf:Xd;++yf1?Gd[Xd-1]:td;return yf=typeof yf=="function"?(Gd.pop(),yf):td,w2(Gd,yf)});function N2(Gd){var Xd=ph(Gd);return Xd.__chain__=!0,Xd}function JS(Gd,Xd){return Xd(Gd),Gd}function TT(Gd,Xd){return Xd(Gd)}var ZS=U0(function(Gd){var Xd=Gd.length,yf=Xd?Gd[0]:0,Lf=this.__wrapped__,ah=function(fh){return bv(fh,Gd)};return Xd>1||this.__actions__.length||!(Lf instanceof u_)||!Kd(yf)?this.thru(ah):(Lf=Lf.slice(yf,+yf+(Xd?1:0)),Lf.__actions__.push({func:TT,args:[ah],thisArg:td}),new $_(Lf,this.__chain__).thru(function(fh){return Xd&&!fh.length&&fh.push(td),fh}))});function ex(){return N2(this)}function tx(){return new $_(this.value(),this.__chain__)}function rx(){this.__values__===td&&(this.__values__=H2(this.value()));var Gd=this.__index__>=this.__values__.length,Xd=Gd?td:this.__values__[this.__index__++];return{done:Gd,value:Xd}}function nx(){return this}function ix(Gd){for(var Xd,yf=this;yf instanceof Ig;){var Lf=Pg(yf);Lf.__index__=0,Lf.__values__=td,Xd?ah.__wrapped__=Lf:Xd=Lf;var ah=Lf;yf=yf.__wrapped__}return ah.__wrapped__=Gd,Xd}function ax(){var Gd=this.__wrapped__;if(Gd instanceof u_){var Xd=Gd;return this.__actions__.length&&(Xd=new u_(this)),Xd=Xd.reverse(),Xd.__actions__.push({func:TT,args:[s2],thisArg:td}),new $_(Xd,this.__chain__)}return this.thru(s2)}function sx(){return i1(this.__wrapped__,this.__actions__)}var ox=Dv(function(Gd,Xd,yf){B_.call(Gd,yf)?++Gd[yf]:eb(Gd,yf,1)});function lx(Gd,Xd,yf){var Lf=g_(Gd)?Rb:zT;return yf&&Yd(Gd,Xd,yf)&&(Xd=td),Lf(Gd,l_(Xd,3))}function ux(Gd,Xd){var yf=g_(Gd)?M0:Vb;return yf(Gd,l_(Xd,3))}var dx=vE(G0),px=vE(xb);function fx(Gd,Xd){return Eg(ST(Gd,Xd),1)}function hx(Gd,Xd){return Eg(ST(Gd,Xd),xf)}function mx(Gd,Xd,yf){return yf=yf===td?1:v_(yf),Eg(ST(Gd,Xd),yf)}function D2(Gd,Xd){var yf=g_(Gd)?Vg:w0;return yf(Gd,l_(Xd,3))}function I2(Gd,Xd){var yf=g_(Gd)?A1:sE;return yf(Gd,l_(Xd,3))}var _x=Dv(function(Gd,Xd,yf){B_.call(Gd,yf)?Gd[yf].push(Xd):eb(Gd,yf,[Xd])});function gx(Gd,Xd,yf,Lf){Gd=d0(Gd)?Gd:ay(Gd),yf=yf&&!Lf?v_(yf):0;var ah=Gd.length;return yf<0&&(yf=J_(ah+yf,0)),NT(Gd)?yf<=ah&&Gd.indexOf(Xd,yf)>-1:!!ah&&Vd(Gd,Xd,yf)>-1}var bx=b_(function(Gd,Xd,yf){var Lf=-1,ah=typeof Xd=="function",fh=d0(Gd)?Zh(Gd.length):[];return w0(Gd,function(Mh){fh[++Lf]=ah?Fg(Xd,Mh,yf):Tv(Mh,Xd,yf)}),fh}),vx=Dv(function(Gd,Xd,yf){eb(Gd,yf,Xd)});function ST(Gd,Xd){var yf=g_(Gd)?Y_:cE;return yf(Gd,l_(Xd,3))}function yx(Gd,Xd,yf,Lf){return Gd==null?[]:(g_(Xd)||(Xd=Xd==null?[]:[Xd]),yf=Lf?td:yf,g_(yf)||(yf=yf==null?[]:[yf]),nT(Gd,Xd,yf))}var Ex=Dv(function(Gd,Xd,yf){Gd[yf?0:1].push(Xd)},function(){return[[],[]]});function Tx(Gd,Xd,yf){var Lf=g_(Gd)?Gv:Ih,ah=arguments.length<3;return Lf(Gd,l_(Xd,4),yf,ah,w0)}function Sx(Gd,Xd,yf){var Lf=g_(Gd)?w1:Ih,ah=arguments.length<3;return Lf(Gd,l_(Xd,4),yf,ah,sE)}function xx(Gd,Xd){var yf=g_(Gd)?M0:Vb;return yf(Gd,AT(l_(Xd,3)))}function Cx(Gd){var Xd=g_(Gd)?rE:sT;return Xd(Gd)}function Ax(Gd,Xd,yf){(yf?Yd(Gd,Xd,yf):Xd===td)?Xd=1:Xd=v_(Xd);var Lf=g_(Gd)?qT:oT;return Lf(Gd,Xd)}function wx(Gd){var Xd=g_(Gd)?nE:XT;return Xd(Gd)}function Nx(Gd){if(Gd==null)return 0;if(d0(Gd))return NT(Gd)?cv(Gd):Gd.length;var Xd=Sg(Gd);return Xd==Xf||Xd==_h?Gd.size:Wb(Gd).length}function Dx(Gd,Xd,yf){var Lf=g_(Gd)?ub:r1;return yf&&Yd(Gd,Xd,yf)&&(Xd=td),Lf(Gd,l_(Xd,3))}var Ix=b_(function(Gd,Xd){if(Gd==null)return[];var yf=Xd.length;return yf>1&&Yd(Gd,Xd[0],Xd[1])?Xd=[]:yf>2&&Yd(Xd[0],Xd[1],Xd[2])&&(Xd=[Xd[0]]),nT(Gd,Eg(Xd,1),[])}),xT=fv||function(){return P_.Date.now()};function Ox(Gd,Xd){if(typeof Xd!="function")throw new o0(sd);return Gd=v_(Gd),function(){if(--Gd<1)return Xd.apply(this,arguments)}}function O2(Gd,Xd,yf){return Xd=yf?td:Xd,Xd=Gd&&Xd==null?Gd.length:Xd,D_(Gd,zd,td,td,td,td,Xd)}function R2(Gd,Xd){var yf;if(typeof Xd!="function")throw new o0(sd);return Gd=v_(Gd),function(){return--Gd>0&&(yf=Xd.apply(this,arguments)),Gd<=1&&(Xd=td),yf}}var l2=b_(function(Gd,Xd,yf){var Lf=Ld;if(yf.length){var ah=Wg(yf,kv(l2));Lf|=Ud}return D_(Gd,Lf,Xd,yf,ah)}),k2=b_(function(Gd,Xd,yf){var Lf=Ld|Rd;if(yf.length){var ah=Wg(yf,kv(k2));Lf|=Ud}return D_(Xd,Lf,Gd,yf,ah)});function M2(Gd,Xd,yf){Xd=yf?td:Xd;var Lf=D_(Gd,Md,td,td,td,td,td,Xd);return Lf.placeholder=M2.placeholder,Lf}function B2(Gd,Xd,yf){Xd=yf?td:Xd;var Lf=D_(Gd,jd,td,td,td,td,td,Xd);return Lf.placeholder=B2.placeholder,Lf}function P2(Gd,Xd,yf){var Lf,ah,fh,Mh,$h,qh,Tm=0,Sm=!1,Dm=!1,Km=!0;if(typeof Gd!="function")throw new o0(sd);Xd=V0(Xd)||0,pg(yf)&&(Sm=!!yf.leading,Dm="maxWait"in yf,fh=Dm?J_(V0(yf.maxWait)||0,Xd):fh,Km="trailing"in yf?!!yf.trailing:Km);function i_(Ag){var ib=Lf,ev=ah;return Lf=ah=td,Tm=Ag,Mh=Gd.apply(ev,ib),Mh}function c_(Ag){return Tm=Ag,$h=n_(x_,Xd),Sm?i_(Ag):Mh}function E_(Ag){var ib=Ag-qh,ev=Ag-Tm,tS=Xd-ib;return Dm?hg(tS,fh-ev):tS}function d_(Ag){var ib=Ag-qh,ev=Ag-Tm;return qh===td||ib>=Xd||ib<0||Dm&&ev>=fh}function x_(){var Ag=xT();if(d_(Ag))return I_(Ag);$h=n_(x_,E_(Ag))}function I_(Ag){return $h=td,Km&&Lf?i_(Ag):(Lf=ah=td,Mh)}function O0(){$h!==td&&cT($h),Tm=0,Lf=qh=ah=$h=td}function Jg(){return $h===td?Mh:I_(xT())}function R0(){var Ag=xT(),ib=d_(Ag);if(Lf=arguments,ah=this,qh=Ag,ib){if($h===td)return c_(qh);if(Dm)return cT($h),$h=n_(x_,Xd),i_(qh)}return $h===td&&($h=n_(x_,Xd)),Mh}return R0.cancel=O0,R0.flush=Jg,R0}var Rx=b_(function(Gd,Xd){return zE(Gd,1,Xd)}),kx=b_(function(Gd,Xd,yf){return zE(Gd,V0(Xd)||0,yf)});function Mx(Gd){return D_(Gd,Wd)}function CT(Gd,Xd){if(typeof Gd!="function"||Xd!=null&&typeof Xd!="function")throw new o0(sd);var yf=function(){var Lf=arguments,ah=Xd?Xd.apply(this,Lf):Lf[0],fh=yf.cache;if(fh.has(ah))return fh.get(ah);var Mh=Gd.apply(this,Lf);return yf.cache=fh.set(ah,Mh)||fh,Mh};return yf.cache=new(CT.Cache||C0),yf}CT.Cache=C0;function AT(Gd){if(typeof Gd!="function")throw new o0(sd);return function(){var Xd=arguments;switch(Xd.length){case 0:return!Gd.call(this);case 1:return!Gd.call(this,Xd[0]);case 2:return!Gd.call(this,Xd[0],Xd[1]);case 3:return!Gd.call(this,Xd[0],Xd[1],Xd[2])}return!Gd.apply(this,Xd)}}function Bx(Gd){return R2(2,Gd)}var Px=o1(function(Gd,Xd){Xd=Xd.length==1&&g_(Xd[0])?Y_(Xd[0],f_(l_())):Y_(Eg(Xd,1),f_(l_()));var yf=Xd.length;return b_(function(Lf){for(var ah=-1,fh=hg(Lf.length,yf);++ah=Xd}),_1=lE(function(){return arguments}())?lE:function(Gd){return _g(Gd)&&B_.call(Gd,"callee")&&!M1.call(Gd,"callee")},g_=Zh.isArray,Qx=Ib?f_(Ib):Sv;function d0(Gd){return Gd!=null&&wT(Gd.length)&&!Jb(Gd)}function Cg(Gd){return _g(Gd)&&d0(Gd)}function Jx(Gd){return Gd===!0||Gd===!1||_g(Gd)&&Ng(Gd)==gf}var Pv=kT||y2,Zx=a0?f_(a0):QE;function eC(Gd){return _g(Gd)&&Gd.nodeType===1&&!AE(Gd)}function tC(Gd){if(Gd==null)return!0;if(d0(Gd)&&(g_(Gd)||typeof Gd=="string"||typeof Gd.splice=="function"||Pv(Gd)||iy(Gd)||_1(Gd)))return!Gd.length;var Xd=Sg(Gd);if(Xd==Xf||Xd==_h)return!Gd.size;if(rh(Gd))return!Wb(Gd).length;for(var yf in Gd)if(B_.call(Gd,yf))return!1;return!0}function rC(Gd,Xd){return bb(Gd,Xd)}function nC(Gd,Xd,yf){yf=typeof yf=="function"?yf:td;var Lf=yf?yf(Gd,Xd):td;return Lf===td?bb(Gd,Xd,td,yf):!!Lf}function c2(Gd){if(!_g(Gd))return!1;var Xd=Ng(Gd);return Xd==Qf||Xd==Gf||typeof Gd.message=="string"&&typeof Gd.name=="string"&&!AE(Gd)}function iC(Gd){return typeof Gd=="number"&&PE(Gd)}function Jb(Gd){if(!pg(Gd))return!1;var Xd=Ng(Gd);return Xd==Uf||Xd==Df||Xd==Tf||Xd==jf}function L2(Gd){return typeof Gd=="number"&&Gd==v_(Gd)}function wT(Gd){return typeof Gd=="number"&&Gd>-1&&Gd%1==0&&Gd<=Bf}function pg(Gd){var Xd=typeof Gd;return Gd!=null&&(Xd=="object"||Xd=="function")}function _g(Gd){return Gd!=null&&typeof Gd=="object"}var F2=lb?f_(lb):e1;function aC(Gd,Xd){return Gd===Xd||uE(Gd,Xd,M_(Xd))}function sC(Gd,Xd,yf){return yf=typeof yf=="function"?yf:td,uE(Gd,Xd,M_(Xd),yf)}function oC(Gd){return j2(Gd)&&Gd!=+Gd}function lC(Gd){if(Wf(Gd))throw new h_(ad);return zb(Gd)}function uC(Gd){return Gd===null}function cC(Gd){return Gd==null}function j2(Gd){return typeof Gd=="number"||_g(Gd)&&Ng(Gd)==dh}function AE(Gd){if(!_g(Gd)||Ng(Gd)!=wf)return!1;var Xd=db(Gd);if(Xd===null)return!0;var yf=B_.call(Xd,"constructor")&&Xd.constructor;return typeof yf=="function"&&yf instanceof yf&&dv.call(yf)==Pb}var d2=av?f_(av):ZE;function dC(Gd){return L2(Gd)&&Gd>=-Bf&&Gd<=Bf}var U2=g0?f_(g0):eT;function NT(Gd){return typeof Gd=="string"||!g_(Gd)&&_g(Gd)&&Ng(Gd)==ih}function I0(Gd){return typeof Gd=="symbol"||_g(Gd)&&Ng(Gd)==wh}var iy=C1?f_(C1):tT;function pC(Gd){return Gd===td}function hC(Gd){return _g(Gd)&&Sg(Gd)==Th}function mC(Gd){return _g(Gd)&&Ng(Gd)==Vh}var _C=c1(Yb),gC=c1(function(Gd,Xd){return Gd<=Xd});function H2(Gd){if(!Gd)return[];if(d0(Gd))return NT(Gd)?v0(Gd):zg(Gd);if(Lb&&Gd[Lb])return IT(Gd[Lb]());var Xd=Sg(Gd),yf=Xd==Xf?D1:Xd==_h?Yg:ay;return yf(Gd)}function Zb(Gd){if(!Gd)return Gd===0?Gd:0;if(Gd=V0(Gd),Gd===xf||Gd===-xf){var Xd=Gd<0?-1:1;return Xd*Yf}return Gd===Gd?Gd:0}function v_(Gd){var Xd=Zb(Gd),yf=Xd%1;return Xd===Xd?yf?Xd-yf:Xd:0}function G2(Gd){return Gd?tb(v_(Gd),0,Vf):0}function V0(Gd){if(typeof Gd=="number")return Gd;if(I0(Gd))return eh;if(pg(Gd)){var Xd=typeof Gd.valueOf=="function"?Gd.valueOf():Gd;Gd=pg(Xd)?Xd+"":Xd}if(typeof Gd!="string")return Gd===0?Gd:+Gd;Gd=Xm(Gd);var yf=kh.test(Gd);return yf||mh.test(Gd)?Db(Gd.slice(2),yf?2:8):vh.test(Gd)?eh:+Gd}function q2(Gd){return D0(Gd,p0(Gd))}function bC(Gd){return Gd?tb(v_(Gd),-Bf,Bf):Gd===0?Gd:0}function q_(Gd){return Gd==null?"":Xg(Gd)}var vC=j0(function(Gd,Xd){if(rh(Xd)||d0(Xd)){D0(Xd,Lg(Xd),Gd);return}for(var yf in Xd)B_.call(Xd,yf)&&mv(Gd,yf,Xd[yf])}),V2=j0(function(Gd,Xd){D0(Xd,p0(Xd),Gd)}),DT=j0(function(Gd,Xd,yf,Lf){D0(Xd,p0(Xd),Gd,Lf)}),yC=j0(function(Gd,Xd,yf,Lf){D0(Xd,Lg(Xd),Gd,Lf)}),EC=U0(bv);function TC(Gd,Xd){var yf=hv(Gd);return Xd==null?yf:iE(yf,Xd)}var SC=b_(function(Gd,Xd){Gd=G_(Gd);var yf=-1,Lf=Xd.length,ah=Lf>2?Xd[2]:td;for(ah&&Yd(Xd[0],Xd[1],ah)&&(Lf=1);++yf1),fh}),D0(Gd,ry(Gd),yf),Lf&&(yf=Kg(yf,fd|Td|Ad,p1));for(var ah=Xd.length;ah--;)z1(yf,Xd[ah]);return yf});function UC(Gd,Xd){return W2(Gd,AT(l_(Xd)))}var HC=U0(function(Gd,Xd){return Gd==null?{}:iT(Gd,Xd)});function W2(Gd,Xd){if(Gd==null)return{};var yf=Y_(ry(Gd),function(Lf){return[Lf]});return Xd=l_(Xd),aT(Gd,yf,function(Lf,ah){return Xd(Lf,ah[0])})}function GC(Gd,Xd,yf){Xd=yb(Xd,Gd);var Lf=-1,ah=Xd.length;for(ah||(ah=1,Gd=td);++LfXd){var Lf=Gd;Gd=Xd,Xd=Lf}if(yf||Gd%1||Xd%1){var ah=Jy();return hg(Gd+ah*(Xd-Gd+S1("1e-"+((ah+"").length-1))),Xd)}return V1(Gd,Xd)}var eA=Ov(function(Gd,Xd,yf){return Xd=Xd.toLowerCase(),Gd+(yf?X2(Xd):Xd)});function X2(Gd){return h2(q_(Gd).toLowerCase())}function Q2(Gd){return Gd=q_(Gd),Gd&&Gd.replace(fm,lv).replace(b1,"")}function tA(Gd,Xd,yf){Gd=q_(Gd),Xd=Xg(Xd);var Lf=Gd.length;yf=yf===td?Lf:tb(v_(yf),0,Lf);var ah=yf;return yf-=Xd.length,yf>=0&&Gd.slice(yf,ah)==Xd}function rA(Gd){return Gd=q_(Gd),Gd&&U_.test(Gd)?Gd.replace(Pm,B0):Gd}function nA(Gd){return Gd=q_(Gd),Gd&&H_.test(Gd)?Gd.replace(Z_,"\\$&"):Gd}var iA=Ov(function(Gd,Xd,yf){return Gd+(yf?"-":"")+Xd.toLowerCase()}),aA=Ov(function(Gd,Xd,yf){return Gd+(yf?" ":"")+Xd.toLowerCase()}),sA=hT("toLowerCase");function oA(Gd,Xd,yf){Gd=q_(Gd),Xd=v_(Xd);var Lf=Xd?cv(Gd):0;if(!Xd||Lf>=Xd)return Gd;var ah=(Xd-Lf)/2;return Q1(Fb(ah),yf)+Gd+Q1(zv(ah),yf)}function lA(Gd,Xd,yf){Gd=q_(Gd),Xd=v_(Xd);var Lf=Xd?cv(Gd):0;return Xd&&Lf>>0,yf?(Gd=q_(Gd),Gd&&(typeof Xd=="string"||Xd!=null&&!d2(Xd))&&(Xd=Xg(Xd),!Xd&&uv(Gd))?rb(v0(Gd),0,yf):Gd.split(Xd,yf)):[]}var mA=Ov(function(Gd,Xd,yf){return Gd+(yf?" ":"")+h2(Xd)});function _A(Gd,Xd,yf){return Gd=q_(Gd),yf=yf==null?0:tb(v_(yf),0,Gd.length),Xd=Xg(Xd),Gd.slice(yf,yf+Xd.length)==Xd}function gA(Gd,Xd,yf){var Lf=ph.templateSettings;yf&&Yd(Gd,Xd,yf)&&(Xd=td),Gd=q_(Gd),Xd=DT({},Xd,Lf,bT);var ah=DT({},Xd.imports,Lf.imports,bT),fh=Lg(ah),Mh=eg(ah,fh),$h,qh,Tm=0,Sm=Xd.interpolate||Gm,Dm="__p += '",Km=Vv((Xd.escape||Gm).source+"|"+Sm.source+"|"+(Sm===Zm?ch:Gm).source+"|"+(Xd.evaluate||Gm).source+"|$","g"),i_="//# sourceURL="+(B_.call(Xd,"sourceURL")?(Xd.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++E1+"]")+` +`;Gd.replace(Km,function(d_,x_,I_,O0,Jg,R0){return I_||(I_=O0),Dm+=Gd.slice(Tm,R0).replace(Nm,Mb),x_&&($h=!0,Dm+=`' + +__e(`+x_+`) + +'`),Jg&&(qh=!0,Dm+=`'; +`+Jg+`; +__p += '`),I_&&(Dm+=`' + +((__t = (`+I_+`)) == null ? '' : __t) + +'`),Tm=R0+d_.length,d_}),Dm+=`'; +`;var c_=B_.call(Xd,"variable")&&Xd.variable;if(!c_)Dm=`with (obj) { +`+Dm+` } -`;else if(oh.test(o_))throw new d_(ld);Tm=(Gh?Tm.replace(hm,""):Tm).replace(im,"$1").replace(Fm,"$1;"),Tm="function("+(o_||"obj")+`) { -`+(o_?"":`obj || (obj = {}); -`)+"var __t, __p = ''"+(Mh?", __e = _.escape":"")+(Gh?`, __j = Array.prototype.join; +`;else if(uh.test(c_))throw new h_(ud);Dm=(qh?Dm.replace(gm,""):Dm).replace(lm,"$1").replace(Hm,"$1;"),Dm="function("+(c_||"obj")+`) { +`+(c_?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+($h?", __e = _.escape":"")+(qh?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; -`)+Tm+`return __p -}`;var b_=X2(function(){return C_(dh,t_+"return "+Tm).apply(ed,Rh)});if(b_.source=Tm,o2(b_))throw b_;return b_}function mA(Ud){return U_(Ud).toLowerCase()}function _A(Ud){return U_(Ud).toUpperCase()}function gA(Ud,Yd,gf){if(Ud=U_(Ud),Ud&&(gf||Yd===ed))return Wm(Ud);if(!Ud||!(Yd=Wg(Yd)))return Ud;var Pf=_0(Ud),nh=_0(Yd),dh=D_(Pf,nh),Rh=_g(Pf,nh)+1;return Z0(Pf,dh,Rh).join("")}function bA(Ud,Yd,gf){if(Ud=U_(Ud),Ud&&(gf||Yd===ed))return Ud.slice(0,Ry(Ud)+1);if(!Ud||!(Yd=Wg(Yd)))return Ud;var Pf=_0(Ud),nh=_g(Pf,_0(Yd))+1;return Z0(Pf,0,nh).join("")}function vA(Ud,Yd,gf){if(Ud=U_(Ud),Ud&&(gf||Yd===ed))return Ud.replace(N_,"");if(!Ud||!(Yd=Wg(Yd)))return Ud;var Pf=_0(Ud),nh=D_(Pf,_0(Yd));return Z0(Pf,nh).join("")}function yA(Ud,Yd){var gf=Kd,Pf=Xd;if(ug(Yd)){var nh="separator"in Yd?Yd.separator:nh;gf="length"in Yd?__(Yd.length):gf,Pf="omission"in Yd?Wg(Yd.omission):Pf}Ud=U_(Ud);var dh=Ud.length;if(sv(Ud)){var Rh=_0(Ud);dh=Rh.length}if(gf>=dh)return Ud;var Mh=gf-ov(Pf);if(Mh<1)return Pf;var Gh=Rh?Z0(Rh,0,Mh).join(""):Ud.slice(0,Mh);if(nh===ed)return Gh+Pf;if(Rh&&(Mh+=Gh.length-Mh),l2(nh)){if(Ud.slice(Mh).search(nh)){var mm,_m=Gh;for(nh.global||(nh=Hv(nh.source,U_(bh.exec(nh))+"g")),nh.lastIndex=0;mm=nh.exec(_m);)var Tm=mm.index;Gh=Gh.slice(0,Tm===ed?Mh:Tm)}}else if(Ud.indexOf(Wg(nh),Mh)!=Mh){var zm=Gh.lastIndexOf(nh);zm>-1&&(Gh=Gh.slice(0,zm))}return Gh+Pf}function EA(Ud){return Ud=U_(Ud),Ud&&Qm.test(Ud)?Ud.replace(Dm,NE):Ud}var TA=Nv(function(Ud,Yd,gf){return Ud+(gf?" ":"")+Yd.toUpperCase()}),d2=dT("toUpperCase");function K2(Ud,Yd,gf){return Ud=U_(Ud),Yd=gf?ed:Yd,Yd===ed?CE(Ud)?IE(Ud):Dy(Ud):Ud.match(Yd)||[]}var X2=m_(function(Ud,Yd){try{return Pg(Ud,ed,Yd)}catch(gf){return o2(gf)?gf:new d_(gf)}}),SA=L0(function(Ud,Yd){return Hg(Yd,function(gf){gf=Z_(gf),Q0(Ud,gf,a2(Ud[gf],Ud))}),Ud});function xA(Ud){var Yd=Ud==null?0:Ud.length,gf=a_();return Ud=Yd?V_(Ud,function(Pf){if(typeof Pf[1]!="function")throw new i0(od);return[gf(Pf[0]),Pf[1]]}):[],m_(function(Pf){for(var nh=-1;++nhkf)return[];var gf=Gf,Pf=dg(Ud,Gf);Yd=a_(Yd),Ud-=Gf;for(var nh=Mm(Pf,Yd);++gf0||Yd<0)?new s_(gf):(Ud<0?gf=gf.takeRight(-Ud):Ud&&(gf=gf.drop(Ud)),Yd!==ed&&(Yd=__(Yd),gf=Yd<0?gf.dropRight(-Yd):gf.take(Yd-Ud)),gf)},s_.prototype.takeRightWhile=function(Ud){return this.reverse().takeWhile(Ud).reverse()},s_.prototype.toArray=function(){return this.take(Gf)},s0(s_.prototype,function(Ud,Yd){var gf=/^(?:filter|find|map|reject)|While$/.test(Yd),Pf=/^(?:head|last)$/.test(Yd),nh=ch[Pf?"take"+(Yd=="last"?"Right":""):Yd],dh=Pf||/^find/.test(Yd);nh&&(ch.prototype[Yd]=function(){var Rh=this.__wrapped__,Mh=Pf?[1]:arguments,Gh=Rh instanceof s_,mm=Mh[0],_m=Gh||h_(Rh),Tm=function(E_){var w_=nh.apply(ch,m0([E_],Mh));return Pf&&zm?w_[0]:w_};_m&&gf&&typeof mm=="function"&&mm.length!=1&&(Gh=_m=!1);var zm=this.__chain__,t_=!!this.__actions__.length,o_=dh&&!zm,b_=Gh&&!t_;if(!dh&&_m){Rh=b_?Rh:new s_(this);var l_=Ud.apply(Rh,Mh);return l_.__actions__.push({func:vT,args:[Tm],thisArg:ed}),new M_(l_,zm)}return o_&&b_?Ud.apply(this,Mh):(l_=this.thru(Tm),o_?Pf?l_.value()[0]:l_.value():l_)})}),Hg(["pop","push","shift","sort","splice","unshift"],function(Ud){var Yd=D1[Ud],gf=/^(?:push|sort|unshift)$/.test(Ud)?"tap":"thru",Pf=/^(?:pop|shift)$/.test(Ud);ch.prototype[Ud]=function(){var nh=arguments;if(Pf&&!this.__chain__){var dh=this.value();return Yd.apply(h_(dh)?dh:[],nh)}return this[gf](function(Rh){return Yd.apply(h_(Rh)?Rh:[],nh)})}}),s0(s_.prototype,function(Ud,Yd){var gf=ch[Yd];if(gf){var Pf=gf.name+"";R_.call(Lb,Pf)||(Lb[Pf]=[]),Lb[Pf].push({name:Yd,func:gf})}}),Lb[W1(ed,Rd).name]=[{name:"wrapper",func:ed}],s_.prototype.clone=gg,s_.prototype.reverse=Wv,s_.prototype.value=MT,ch.prototype.at=XS,ch.prototype.chain=QS,ch.prototype.commit=JS,ch.prototype.next=ZS,ch.prototype.plant=tx,ch.prototype.reverse=rx,ch.prototype.toJSON=ch.prototype.valueOf=ch.prototype.value=nx,ch.prototype.first=ch.prototype.head,Bb&&(ch.prototype[Bb]=ex),ch},W0=By();z0?((z0.exports=W0)._=W0,Lv._=W0):k_._=W0}).call(commonjsGlobal)})(lodash,lodash.exports);var lodashExports=lodash.exports;const _=getDefaultExportFromCjs(lodashExports);var queryString={},strictUriEncode=Ra=>encodeURIComponent(Ra).replace(/[!'()*]/g,qa=>`%${qa.charCodeAt(0).toString(16).toUpperCase()}`),token="%[a-f0-9]{2}",singleMatcher=new RegExp("("+token+")|([^%]+?)","gi"),multiMatcher=new RegExp("("+token+")+","gi");function decodeComponents(Ra,qa){try{return[decodeURIComponent(Ra.join(""))]}catch{}if(Ra.length===1)return Ra;qa=qa||1;var ed=Ra.slice(0,qa),td=Ra.slice(qa);return Array.prototype.concat.call([],decodeComponents(ed),decodeComponents(td))}function decode(Ra){try{return decodeURIComponent(Ra)}catch{for(var qa=Ra.match(singleMatcher)||[],ed=1;ed{if(!(typeof Ra=="string"&&typeof qa=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(qa==="")return[Ra];const ed=Ra.indexOf(qa);return ed===-1?[Ra]:[Ra.slice(0,ed),Ra.slice(ed+qa.length)]},filterObj=function(Ra,qa){for(var ed={},td=Object.keys(Ra),rd=Array.isArray(qa),sd=0;sdOd==null,od=Symbol("encodeFragmentIdentifier");function ld(Od){switch(Od.arrayFormat){case"index":return Md=>(Ld,Fd)=>{const jd=Ld.length;return Fd===void 0||Od.skipNull&&Fd===null||Od.skipEmptyString&&Fd===""?Ld:Fd===null?[...Ld,[dd(Md,Od),"[",jd,"]"].join("")]:[...Ld,[dd(Md,Od),"[",dd(jd,Od),"]=",dd(Fd,Od)].join("")]};case"bracket":return Md=>(Ld,Fd)=>Fd===void 0||Od.skipNull&&Fd===null||Od.skipEmptyString&&Fd===""?Ld:Fd===null?[...Ld,[dd(Md,Od),"[]"].join("")]:[...Ld,[dd(Md,Od),"[]=",dd(Fd,Od)].join("")];case"colon-list-separator":return Md=>(Ld,Fd)=>Fd===void 0||Od.skipNull&&Fd===null||Od.skipEmptyString&&Fd===""?Ld:Fd===null?[...Ld,[dd(Md,Od),":list="].join("")]:[...Ld,[dd(Md,Od),":list=",dd(Fd,Od)].join("")];case"comma":case"separator":case"bracket-separator":{const Md=Od.arrayFormat==="bracket-separator"?"[]=":"=";return Ld=>(Fd,jd)=>jd===void 0||Od.skipNull&&jd===null||Od.skipEmptyString&&jd===""?Fd:(jd=jd===null?"":jd,Fd.length===0?[[dd(Ld,Od),Md,dd(jd,Od)].join("")]:[[Fd,dd(jd,Od)].join(Od.arrayFormatSeparator)])}default:return Md=>(Ld,Fd)=>Fd===void 0||Od.skipNull&&Fd===null||Od.skipEmptyString&&Fd===""?Ld:Fd===null?[...Ld,dd(Md,Od)]:[...Ld,[dd(Md,Od),"=",dd(Fd,Od)].join("")]}}function ud(Od){let Md;switch(Od.arrayFormat){case"index":return(Ld,Fd,jd)=>{if(Md=/\[(\d*)\]$/.exec(Ld),Ld=Ld.replace(/\[\d*\]$/,""),!Md){jd[Ld]=Fd;return}jd[Ld]===void 0&&(jd[Ld]={}),jd[Ld][Md[1]]=Fd};case"bracket":return(Ld,Fd,jd)=>{if(Md=/(\[\])$/.exec(Ld),Ld=Ld.replace(/\[\]$/,""),!Md){jd[Ld]=Fd;return}if(jd[Ld]===void 0){jd[Ld]=[Fd];return}jd[Ld]=[].concat(jd[Ld],Fd)};case"colon-list-separator":return(Ld,Fd,jd)=>{if(Md=/(:list)$/.exec(Ld),Ld=Ld.replace(/:list$/,""),!Md){jd[Ld]=Fd;return}if(jd[Ld]===void 0){jd[Ld]=[Fd];return}jd[Ld]=[].concat(jd[Ld],Fd)};case"comma":case"separator":return(Ld,Fd,jd)=>{const Vd=typeof Fd=="string"&&Fd.includes(Od.arrayFormatSeparator),Qd=typeof Fd=="string"&&!Vd&&_d(Fd,Od).includes(Od.arrayFormatSeparator);Fd=Qd?_d(Fd,Od):Fd;const qd=Vd||Qd?Fd.split(Od.arrayFormatSeparator).map(Kd=>_d(Kd,Od)):Fd===null?Fd:_d(Fd,Od);jd[Ld]=qd};case"bracket-separator":return(Ld,Fd,jd)=>{const Vd=/(\[\])$/.test(Ld);if(Ld=Ld.replace(/\[\]$/,""),!Vd){jd[Ld]=Fd&&_d(Fd,Od);return}const Qd=Fd===null?[]:Fd.split(Od.arrayFormatSeparator).map(qd=>_d(qd,Od));if(jd[Ld]===void 0){jd[Ld]=Qd;return}jd[Ld]=[].concat(jd[Ld],Qd)};default:return(Ld,Fd,jd)=>{if(jd[Ld]===void 0){jd[Ld]=Fd;return}jd[Ld]=[].concat(jd[Ld],Fd)}}}function cd(Od){if(typeof Od!="string"||Od.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function dd(Od,Md){return Md.encode?Md.strict?qa(Od):encodeURIComponent(Od):Od}function _d(Od,Md){return Md.decode?ed(Od):Od}function Ed(Od){return Array.isArray(Od)?Od.sort():typeof Od=="object"?Ed(Object.keys(Od)).sort((Md,Ld)=>Number(Md)-Number(Ld)).map(Md=>Od[Md]):Od}function Ad(Od){const Md=Od.indexOf("#");return Md!==-1&&(Od=Od.slice(0,Md)),Od}function Td(Od){let Md="";const Ld=Od.indexOf("#");return Ld!==-1&&(Md=Od.slice(Ld)),Md}function Id(Od){Od=Ad(Od);const Md=Od.indexOf("?");return Md===-1?"":Od.slice(Md+1)}function Bd(Od,Md){return Md.parseNumbers&&!Number.isNaN(Number(Od))&&typeof Od=="string"&&Od.trim()!==""?Od=Number(Od):Md.parseBooleans&&Od!==null&&(Od.toLowerCase()==="true"||Od.toLowerCase()==="false")&&(Od=Od.toLowerCase()==="true"),Od}function Rd(Od,Md){Md=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},Md),cd(Md.arrayFormatSeparator);const Ld=ud(Md),Fd=Object.create(null);if(typeof Od!="string"||(Od=Od.trim().replace(/^[?#&]/,""),!Od))return Fd;for(const jd of Od.split("&")){if(jd==="")continue;let[Vd,Qd]=td(Md.decode?jd.replace(/\+/g," "):jd,"=");Qd=Qd===void 0?null:["comma","separator","bracket-separator"].includes(Md.arrayFormat)?Qd:_d(Qd,Md),Ld(_d(Vd,Md),Qd,Fd)}for(const jd of Object.keys(Fd)){const Vd=Fd[jd];if(typeof Vd=="object"&&Vd!==null)for(const Qd of Object.keys(Vd))Vd[Qd]=Bd(Vd[Qd],Md);else Fd[jd]=Bd(Vd,Md)}return Md.sort===!1?Fd:(Md.sort===!0?Object.keys(Fd).sort():Object.keys(Fd).sort(Md.sort)).reduce((jd,Vd)=>{const Qd=Fd[Vd];return Qd&&typeof Qd=="object"&&!Array.isArray(Qd)?jd[Vd]=Ed(Qd):jd[Vd]=Qd,jd},Object.create(null))}Ra.extract=Id,Ra.parse=Rd,Ra.stringify=(Od,Md)=>{if(!Od)return"";Md=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},Md),cd(Md.arrayFormatSeparator);const Ld=Qd=>Md.skipNull&&sd(Od[Qd])||Md.skipEmptyString&&Od[Qd]==="",Fd=ld(Md),jd={};for(const Qd of Object.keys(Od))Ld(Qd)||(jd[Qd]=Od[Qd]);const Vd=Object.keys(jd);return Md.sort!==!1&&Vd.sort(Md.sort),Vd.map(Qd=>{const qd=Od[Qd];return qd===void 0?"":qd===null?dd(Qd,Md):Array.isArray(qd)?qd.length===0&&Md.arrayFormat==="bracket-separator"?dd(Qd,Md)+"[]":qd.reduce(Fd(Qd),[]).join("&"):dd(Qd,Md)+"="+dd(qd,Md)}).filter(Qd=>Qd.length>0).join("&")},Ra.parseUrl=(Od,Md)=>{Md=Object.assign({decode:!0},Md);const[Ld,Fd]=td(Od,"#");return Object.assign({url:Ld.split("?")[0]||"",query:Rd(Id(Od),Md)},Md&&Md.parseFragmentIdentifier&&Fd?{fragmentIdentifier:_d(Fd,Md)}:{})},Ra.stringifyUrl=(Od,Md)=>{Md=Object.assign({encode:!0,strict:!0,[od]:!0},Md);const Ld=Ad(Od.url).split("?")[0]||"",Fd=Ra.extract(Od.url),jd=Ra.parse(Fd,{sort:!1}),Vd=Object.assign(jd,Od.query);let Qd=Ra.stringify(Vd,Md);Qd&&(Qd=`?${Qd}`);let qd=Td(Od.url);return Od.fragmentIdentifier&&(qd=`#${Md[od]?dd(Od.fragmentIdentifier,Md):Od.fragmentIdentifier}`),`${Ld}${Qd}${qd}`},Ra.pick=(Od,Md,Ld)=>{Ld=Object.assign({parseFragmentIdentifier:!0,[od]:!1},Ld);const{url:Fd,query:jd,fragmentIdentifier:Vd}=Ra.parseUrl(Od,Ld);return Ra.stringifyUrl({url:Fd,query:rd(jd,Md),fragmentIdentifier:Vd},Ld)},Ra.exclude=(Od,Md,Ld)=>{const Fd=Array.isArray(Md)?jd=>!Md.includes(jd):(jd,Vd)=>!Md(jd,Vd);return Ra.pick(Od,Fd,Ld)}})(queryString);const Encoder=TextEncoder;var xml$2={exports:{}},XML_CHARACTER_MAP={"&":"&",'"':""","'":"'","<":"<",">":">"};function escapeForXML$1(Ra){return Ra&&Ra.replace?Ra.replace(/([&"<>'])/g,function(qa,ed){return XML_CHARACTER_MAP[ed]}):Ra}var escapeForXML_1=escapeForXML$1,define_process_default$5={version:"v20.17.0",versions:{node:"20.17.0",acorn:"8.11.3",ada:"2.9.0",ares:"1.32.3",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.2.2",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.13+quic",simdutf:"5.3.0",tz:"2024a",undici:"6.19.2",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-209717d"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule internal/idna","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/streams/utils","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/idna.js","lib/internal/inspector_async_hook.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_f474754f-950f-4d2e-994a-c524574e8031",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.17.0 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_f474754f-950f-4d2e-994a-c524574e8031",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.10.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu22",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"604",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",GOROOT_1_20_X64:"/opt/hostedtoolcache/go/1.20.14/x64",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20240915.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.7/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",JOURNAL_STREAM:"8:5513",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.17.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",npm_config_npm_version:"10.8.2",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"10931482109",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"30f0792baaad6e1889d29d0c00ae240dfec216c4",GITHUB_BASE_REF:"",ImageOS:"ubuntu22",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.17.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_8327e18c-9985-4d8c-819f-743e4582b3aa",INVOCATION_ID:"facc399a086f481090bef1701fa117fb",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"438",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 7",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"30f0792baaad6e1889d29d0c00ae240dfec216c4",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.17.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_f474754f-950f-4d2e-994a-c524574e8031",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_f474754f-950f-4d2e-994a-c524574e8031",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.1.12297006",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",STATS_EXTP:"https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_f474754f-950f-4d2e-994a-c524574e8031",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.17.0/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2081,ppid:2080,execPath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}},escapeForXML=escapeForXML_1,Stream=streamBrowserify.Stream,DEFAULT_INDENT=" ";function xml$1(Ra,qa){typeof qa!="object"&&(qa={indent:qa});var ed=qa.stream?new Stream:null,td="",rd=!1,sd=qa.indent?qa.indent===!0?DEFAULT_INDENT:qa.indent:"",od=!0;function ld(Ed){od?define_process_default$5.nextTick(Ed):Ed()}function ud(Ed,Ad){if(Ad!==void 0&&(td+=Ad),Ed&&!rd&&(ed=ed||new Stream,rd=!0),Ed&&rd){var Td=td;ld(function(){ed.emit("data",Td)}),td=""}}function cd(Ed,Ad){format(ud,resolve(Ed,sd,sd?1:0),Ad)}function dd(){if(ed){var Ed=td;ld(function(){ed.emit("data",Ed),ed.emit("end"),ed.readable=!1,ed.emit("close")})}}function _d(Ed){var Ad=Ed.encoding||"UTF-8",Td={version:"1.0",encoding:Ad};Ed.standalone&&(Td.standalone=Ed.standalone),cd({"?xml":{_attr:Td}}),td=td.replace("/>","?>")}return ld(function(){od=!1}),qa.declaration&&_d(qa.declaration),Ra&&Ra.forEach?Ra.forEach(function(Ed,Ad){var Td;Ad+1===Ra.length&&(Td=dd),cd(Ed,Td)}):cd(Ra,dd),ed?(ed.readable=!0,ed):td}function element(){var Ra=Array.prototype.slice.call(arguments),qa={_elem:resolve(Ra)};return qa.push=function(ed){if(!this.append)throw new Error("not assigned to a parent!");var td=this,rd=this._elem.indent;format(this.append,resolve(ed,rd,this._elem.icount+(rd?1:0)),function(){td.append(!0)})},qa.close=function(ed){ed!==void 0&&this.push(ed),this.end&&this.end()},qa}function create_indent(Ra,qa){return new Array(qa||0).join(Ra||"")}function resolve(Ra,qa,ed){ed=ed||0;var td=create_indent(qa,ed),rd,sd=Ra,od=!1;if(typeof Ra=="object"){var ld=Object.keys(Ra);if(rd=ld[0],sd=Ra[rd],sd&&sd._elem)return sd._elem.name=rd,sd._elem.icount=ed,sd._elem.indent=qa,sd._elem.indents=td,sd._elem.interrupt=sd,sd._elem}var ud=[],cd=[],dd;function _d(Ed){var Ad=Object.keys(Ed);Ad.forEach(function(Td){ud.push(attribute(Td,Ed[Td]))})}switch(typeof sd){case"object":if(sd===null)break;sd._attr&&_d(sd._attr),sd._cdata&&cd.push(("/g,"]]]]>")+"]]>"),sd.forEach&&(dd=!1,cd.push(""),sd.forEach(function(Ed){if(typeof Ed=="object"){var Ad=Object.keys(Ed)[0];Ad=="_attr"?_d(Ed._attr):cd.push(resolve(Ed,qa,ed+1))}else cd.pop(),dd=!0,cd.push(escapeForXML(Ed))}),dd||cd.push(""));break;default:cd.push(escapeForXML(sd))}return{name:rd,interrupt:od,attributes:ud,content:cd,icount:ed,indents:td,indent:qa}}function format(Ra,qa,ed){if(typeof qa!="object")return Ra(!1,qa);var td=qa.interrupt?1:qa.content.length;function rd(){for(;qa.content.length;){var od=qa.content.shift();if(od!==void 0){if(sd(od))return;format(Ra,od)}}Ra(!1,(td>1?qa.indents:"")+(qa.name?"":"")+(qa.indent&&!ed?` -`:"")),ed&&ed()}function sd(od){return od.interrupt?(od.interrupt.append=Ra,od.interrupt.end=rd,od.interrupt=!1,Ra(!0),!0):!1}if(Ra(!1,qa.indents+(qa.name?"<"+qa.name:"")+(qa.attributes.length?" "+qa.attributes.join(" "):"")+(td?qa.name?">":"":qa.name?"/>":"")+(qa.indent&&td>1?` -`:"")),!td)return Ra(!1,qa.indent?` -`:"");sd(qa)||rd()}function attribute(Ra,qa){return Ra+'="'+escapeForXML(qa)+'"'}xml$2.exports=xml$1;xml$2.exports.element=xml$2.exports.Element=element;var xmlExports=xml$2.exports;const Xml=getDefaultExportFromCjs(xmlExports);var xml2js={},defaults$1={},hasRequiredDefaults;function requireDefaults(){return hasRequiredDefaults||(hasRequiredDefaults=1,(function(){defaults$1.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:` -`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(commonjsGlobal)),defaults$1}var builder={},lib$2={},Utility={},hasRequiredUtility;function requireUtility(){return hasRequiredUtility||(hasRequiredUtility=1,(function(){var Ra,qa,ed,td,rd,sd,od,ld=[].slice,ud={}.hasOwnProperty;Ra=function(){var cd,dd,_d,Ed,Ad,Td;if(Td=arguments[0],Ad=2<=arguments.length?ld.call(arguments,1):[],rd(Object.assign))Object.assign.apply(null,arguments);else for(cd=0,_d=Ad.length;cd<_d;cd++)if(Ed=Ad[cd],Ed!=null)for(dd in Ed)ud.call(Ed,dd)&&(Td[dd]=Ed[dd]);return Td},rd=function(cd){return!!cd&&Object.prototype.toString.call(cd)==="[object Function]"},sd=function(cd){var dd;return!!cd&&((dd=typeof cd)=="function"||dd==="object")},ed=function(cd){return rd(Array.isArray)?Array.isArray(cd):Object.prototype.toString.call(cd)==="[object Array]"},td=function(cd){var dd;if(ed(cd))return!cd.length;for(dd in cd)if(ud.call(cd,dd))return!1;return!0},od=function(cd){var dd,_d;return sd(cd)&&(_d=Object.getPrototypeOf(cd))&&(dd=_d.constructor)&&typeof dd=="function"&&dd instanceof dd&&Function.prototype.toString.call(dd)===Function.prototype.toString.call(Object)},qa=function(cd){return rd(cd.valueOf)?cd.valueOf():cd},Utility.assign=Ra,Utility.isFunction=rd,Utility.isObject=sd,Utility.isArray=ed,Utility.isEmpty=td,Utility.isPlainObject=od,Utility.getValue=qa}).call(commonjsGlobal)),Utility}var XMLDOMImplementation={exports:{}},hasRequiredXMLDOMImplementation;function requireXMLDOMImplementation(){return hasRequiredXMLDOMImplementation||(hasRequiredXMLDOMImplementation=1,(function(){XMLDOMImplementation.exports=function(){function Ra(){}return Ra.prototype.hasFeature=function(qa,ed){return!0},Ra.prototype.createDocumentType=function(qa,ed,td){throw new Error("This DOM method is not implemented.")},Ra.prototype.createDocument=function(qa,ed,td){throw new Error("This DOM method is not implemented.")},Ra.prototype.createHTMLDocument=function(qa){throw new Error("This DOM method is not implemented.")},Ra.prototype.getFeature=function(qa,ed){throw new Error("This DOM method is not implemented.")},Ra}()}).call(commonjsGlobal)),XMLDOMImplementation.exports}var XMLDocument={exports:{}},XMLDOMConfiguration={exports:{}},XMLDOMErrorHandler={exports:{}},hasRequiredXMLDOMErrorHandler;function requireXMLDOMErrorHandler(){return hasRequiredXMLDOMErrorHandler||(hasRequiredXMLDOMErrorHandler=1,(function(){XMLDOMErrorHandler.exports=function(){function Ra(){}return Ra.prototype.handleError=function(qa){throw new Error(qa)},Ra}()}).call(commonjsGlobal)),XMLDOMErrorHandler.exports}var XMLDOMStringList={exports:{}},hasRequiredXMLDOMStringList;function requireXMLDOMStringList(){return hasRequiredXMLDOMStringList||(hasRequiredXMLDOMStringList=1,(function(){XMLDOMStringList.exports=function(){function Ra(qa){this.arr=qa||[]}return Object.defineProperty(Ra.prototype,"length",{get:function(){return this.arr.length}}),Ra.prototype.item=function(qa){return this.arr[qa]||null},Ra.prototype.contains=function(qa){return this.arr.indexOf(qa)!==-1},Ra}()}).call(commonjsGlobal)),XMLDOMStringList.exports}var hasRequiredXMLDOMConfiguration;function requireXMLDOMConfiguration(){return hasRequiredXMLDOMConfiguration||(hasRequiredXMLDOMConfiguration=1,(function(){var Ra,qa;Ra=requireXMLDOMErrorHandler(),qa=requireXMLDOMStringList(),XMLDOMConfiguration.exports=function(){function ed(){this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new Ra,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=Object.create(this.defaultParams)}return Object.defineProperty(ed.prototype,"parameterNames",{get:function(){return new qa(Object.keys(this.defaultParams))}}),ed.prototype.getParameter=function(td){return this.params.hasOwnProperty(td)?this.params[td]:null},ed.prototype.canSetParameter=function(td,rd){return!0},ed.prototype.setParameter=function(td,rd){return rd!=null?this.params[td]=rd:delete this.params[td]},ed}()}).call(commonjsGlobal)),XMLDOMConfiguration.exports}var XMLNode={exports:{}},XMLElement={exports:{}},NodeType={exports:{}},hasRequiredNodeType;function requireNodeType(){return hasRequiredNodeType||(hasRequiredNodeType=1,(function(){NodeType.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(commonjsGlobal)),NodeType.exports}var XMLAttribute={exports:{}},hasRequiredXMLAttribute;function requireXMLAttribute(){return hasRequiredXMLAttribute||(hasRequiredXMLAttribute=1,(function(){var Ra;Ra=requireNodeType(),requireXMLNode(),XMLAttribute.exports=function(){function qa(ed,td,rd){if(this.parent=ed,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),td==null)throw new Error("Missing attribute name. "+this.debugInfo(td));this.name=this.stringify.name(td),this.value=this.stringify.attValue(rd),this.type=Ra.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(qa.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(qa.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(qa.prototype,"textContent",{get:function(){return this.value},set:function(ed){return this.value=ed||""}}),Object.defineProperty(qa.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(qa.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(qa.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(qa.prototype,"specified",{get:function(){return!0}}),qa.prototype.clone=function(){return Object.create(this)},qa.prototype.toString=function(ed){return this.options.writer.attribute(this,this.options.writer.filterOptions(ed))},qa.prototype.debugInfo=function(ed){return ed=ed||this.name,ed==null?"parent: <"+this.parent.name+">":"attribute: {"+ed+"}, parent: <"+this.parent.name+">"},qa.prototype.isEqualNode=function(ed){return!(ed.namespaceURI!==this.namespaceURI||ed.prefix!==this.prefix||ed.localName!==this.localName||ed.value!==this.value)},qa}()}).call(commonjsGlobal)),XMLAttribute.exports}var XMLNamedNodeMap={exports:{}},hasRequiredXMLNamedNodeMap;function requireXMLNamedNodeMap(){return hasRequiredXMLNamedNodeMap||(hasRequiredXMLNamedNodeMap=1,(function(){XMLNamedNodeMap.exports=function(){function Ra(qa){this.nodes=qa}return Object.defineProperty(Ra.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),Ra.prototype.clone=function(){return this.nodes=null},Ra.prototype.getNamedItem=function(qa){return this.nodes[qa]},Ra.prototype.setNamedItem=function(qa){var ed;return ed=this.nodes[qa.nodeName],this.nodes[qa.nodeName]=qa,ed||null},Ra.prototype.removeNamedItem=function(qa){var ed;return ed=this.nodes[qa],delete this.nodes[qa],ed||null},Ra.prototype.item=function(qa){return this.nodes[Object.keys(this.nodes)[qa]]||null},Ra.prototype.getNamedItemNS=function(qa,ed){throw new Error("This DOM method is not implemented.")},Ra.prototype.setNamedItemNS=function(qa){throw new Error("This DOM method is not implemented.")},Ra.prototype.removeNamedItemNS=function(qa,ed){throw new Error("This DOM method is not implemented.")},Ra}()}).call(commonjsGlobal)),XMLNamedNodeMap.exports}var hasRequiredXMLElement;function requireXMLElement(){return hasRequiredXMLElement||(hasRequiredXMLElement=1,(function(){var Ra,qa,ed,td,rd,sd,od,ld,ud=function(dd,_d){for(var Ed in _d)cd.call(_d,Ed)&&(dd[Ed]=_d[Ed]);function Ad(){this.constructor=dd}return Ad.prototype=_d.prototype,dd.prototype=new Ad,dd.__super__=_d.prototype,dd},cd={}.hasOwnProperty;ld=requireUtility(),od=ld.isObject,sd=ld.isFunction,rd=ld.getValue,td=requireXMLNode(),Ra=requireNodeType(),qa=requireXMLAttribute(),ed=requireXMLNamedNodeMap(),XMLElement.exports=function(dd){ud(_d,dd);function _d(Ed,Ad,Td){var Id,Bd,Rd,Od;if(_d.__super__.constructor.call(this,Ed),Ad==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(Ad),this.type=Ra.Element,this.attribs={},this.schemaTypeInfo=null,Td!=null&&this.attribute(Td),Ed.type===Ra.Document&&(this.isRoot=!0,this.documentObject=Ed,Ed.rootObject=this,Ed.children)){for(Od=Ed.children,Bd=0,Rd=Od.length;Bd=Id;Ad=0<=Id?++Td:--Td)if(!this.attribs[Ad].isEqualNode(Ed.attribs[Ad]))return!1;return!0},_d}(td)}).call(commonjsGlobal)),XMLElement.exports}var XMLCData={exports:{}},XMLCharacterData={exports:{}},hasRequiredXMLCharacterData;function requireXMLCharacterData(){return hasRequiredXMLCharacterData||(hasRequiredXMLCharacterData=1,(function(){var Ra,qa=function(td,rd){for(var sd in rd)ed.call(rd,sd)&&(td[sd]=rd[sd]);function od(){this.constructor=td}return od.prototype=rd.prototype,td.prototype=new od,td.__super__=rd.prototype,td},ed={}.hasOwnProperty;Ra=requireXMLNode(),XMLCharacterData.exports=function(td){qa(rd,td);function rd(sd){rd.__super__.constructor.call(this,sd),this.value=""}return Object.defineProperty(rd.prototype,"data",{get:function(){return this.value},set:function(sd){return this.value=sd||""}}),Object.defineProperty(rd.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(rd.prototype,"textContent",{get:function(){return this.value},set:function(sd){return this.value=sd||""}}),rd.prototype.clone=function(){return Object.create(this)},rd.prototype.substringData=function(sd,od){throw new Error("This DOM method is not implemented."+this.debugInfo())},rd.prototype.appendData=function(sd){throw new Error("This DOM method is not implemented."+this.debugInfo())},rd.prototype.insertData=function(sd,od){throw new Error("This DOM method is not implemented."+this.debugInfo())},rd.prototype.deleteData=function(sd,od){throw new Error("This DOM method is not implemented."+this.debugInfo())},rd.prototype.replaceData=function(sd,od,ld){throw new Error("This DOM method is not implemented."+this.debugInfo())},rd.prototype.isEqualNode=function(sd){return!(!rd.__super__.isEqualNode.apply(this,arguments).isEqualNode(sd)||sd.data!==this.data)},rd}(Ra)}).call(commonjsGlobal)),XMLCharacterData.exports}var hasRequiredXMLCData;function requireXMLCData(){return hasRequiredXMLCData||(hasRequiredXMLCData=1,(function(){var Ra,qa,ed=function(rd,sd){for(var od in sd)td.call(sd,od)&&(rd[od]=sd[od]);function ld(){this.constructor=rd}return ld.prototype=sd.prototype,rd.prototype=new ld,rd.__super__=sd.prototype,rd},td={}.hasOwnProperty;Ra=requireNodeType(),qa=requireXMLCharacterData(),XMLCData.exports=function(rd){ed(sd,rd);function sd(od,ld){if(sd.__super__.constructor.call(this,od),ld==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=Ra.CData,this.value=this.stringify.cdata(ld)}return sd.prototype.clone=function(){return Object.create(this)},sd.prototype.toString=function(od){return this.options.writer.cdata(this,this.options.writer.filterOptions(od))},sd}(qa)}).call(commonjsGlobal)),XMLCData.exports}var XMLComment={exports:{}},hasRequiredXMLComment;function requireXMLComment(){return hasRequiredXMLComment||(hasRequiredXMLComment=1,(function(){var Ra,qa,ed=function(rd,sd){for(var od in sd)td.call(sd,od)&&(rd[od]=sd[od]);function ld(){this.constructor=rd}return ld.prototype=sd.prototype,rd.prototype=new ld,rd.__super__=sd.prototype,rd},td={}.hasOwnProperty;Ra=requireNodeType(),qa=requireXMLCharacterData(),XMLComment.exports=function(rd){ed(sd,rd);function sd(od,ld){if(sd.__super__.constructor.call(this,od),ld==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=Ra.Comment,this.value=this.stringify.comment(ld)}return sd.prototype.clone=function(){return Object.create(this)},sd.prototype.toString=function(od){return this.options.writer.comment(this,this.options.writer.filterOptions(od))},sd}(qa)}).call(commonjsGlobal)),XMLComment.exports}var XMLDeclaration={exports:{}},hasRequiredXMLDeclaration;function requireXMLDeclaration(){return hasRequiredXMLDeclaration||(hasRequiredXMLDeclaration=1,(function(){var Ra,qa,ed,td=function(sd,od){for(var ld in od)rd.call(od,ld)&&(sd[ld]=od[ld]);function ud(){this.constructor=sd}return ud.prototype=od.prototype,sd.prototype=new ud,sd.__super__=od.prototype,sd},rd={}.hasOwnProperty;ed=requireUtility().isObject,qa=requireXMLNode(),Ra=requireNodeType(),XMLDeclaration.exports=function(sd){td(od,sd);function od(ld,ud,cd,dd){var _d;od.__super__.constructor.call(this,ld),ed(ud)&&(_d=ud,ud=_d.version,cd=_d.encoding,dd=_d.standalone),ud||(ud="1.0"),this.type=Ra.Declaration,this.version=this.stringify.xmlVersion(ud),cd!=null&&(this.encoding=this.stringify.xmlEncoding(cd)),dd!=null&&(this.standalone=this.stringify.xmlStandalone(dd))}return od.prototype.toString=function(ld){return this.options.writer.declaration(this,this.options.writer.filterOptions(ld))},od}(qa)}).call(commonjsGlobal)),XMLDeclaration.exports}var XMLDocType={exports:{}},XMLDTDAttList={exports:{}},hasRequiredXMLDTDAttList;function requireXMLDTDAttList(){return hasRequiredXMLDTDAttList||(hasRequiredXMLDTDAttList=1,(function(){var Ra,qa,ed=function(rd,sd){for(var od in sd)td.call(sd,od)&&(rd[od]=sd[od]);function ld(){this.constructor=rd}return ld.prototype=sd.prototype,rd.prototype=new ld,rd.__super__=sd.prototype,rd},td={}.hasOwnProperty;qa=requireXMLNode(),Ra=requireNodeType(),XMLDTDAttList.exports=function(rd){ed(sd,rd);function sd(od,ld,ud,cd,dd,_d){if(sd.__super__.constructor.call(this,od),ld==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(ud==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(ld));if(!cd)throw new Error("Missing DTD attribute type. "+this.debugInfo(ld));if(!dd)throw new Error("Missing DTD attribute default. "+this.debugInfo(ld));if(dd.indexOf("#")!==0&&(dd="#"+dd),!dd.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(ld));if(_d&&!dd.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(ld));this.elementName=this.stringify.name(ld),this.type=Ra.AttributeDeclaration,this.attributeName=this.stringify.name(ud),this.attributeType=this.stringify.dtdAttType(cd),_d&&(this.defaultValue=this.stringify.dtdAttDefault(_d)),this.defaultValueType=dd}return sd.prototype.toString=function(od){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(od))},sd}(qa)}).call(commonjsGlobal)),XMLDTDAttList.exports}var XMLDTDEntity={exports:{}},hasRequiredXMLDTDEntity;function requireXMLDTDEntity(){return hasRequiredXMLDTDEntity||(hasRequiredXMLDTDEntity=1,(function(){var Ra,qa,ed,td=function(sd,od){for(var ld in od)rd.call(od,ld)&&(sd[ld]=od[ld]);function ud(){this.constructor=sd}return ud.prototype=od.prototype,sd.prototype=new ud,sd.__super__=od.prototype,sd},rd={}.hasOwnProperty;ed=requireUtility().isObject,qa=requireXMLNode(),Ra=requireNodeType(),XMLDTDEntity.exports=function(sd){td(od,sd);function od(ld,ud,cd,dd){if(od.__super__.constructor.call(this,ld),cd==null)throw new Error("Missing DTD entity name. "+this.debugInfo(cd));if(dd==null)throw new Error("Missing DTD entity value. "+this.debugInfo(cd));if(this.pe=!!ud,this.name=this.stringify.name(cd),this.type=Ra.EntityDeclaration,!ed(dd))this.value=this.stringify.dtdEntityValue(dd),this.internal=!0;else{if(!dd.pubID&&!dd.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(cd));if(dd.pubID&&!dd.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(cd));if(this.internal=!1,dd.pubID!=null&&(this.pubID=this.stringify.dtdPubID(dd.pubID)),dd.sysID!=null&&(this.sysID=this.stringify.dtdSysID(dd.sysID)),dd.nData!=null&&(this.nData=this.stringify.dtdNData(dd.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(cd))}}return Object.defineProperty(od.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(od.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(od.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(od.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(od.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(od.prototype,"xmlVersion",{get:function(){return null}}),od.prototype.toString=function(ld){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(ld))},od}(qa)}).call(commonjsGlobal)),XMLDTDEntity.exports}var XMLDTDElement={exports:{}},hasRequiredXMLDTDElement;function requireXMLDTDElement(){return hasRequiredXMLDTDElement||(hasRequiredXMLDTDElement=1,(function(){var Ra,qa,ed=function(rd,sd){for(var od in sd)td.call(sd,od)&&(rd[od]=sd[od]);function ld(){this.constructor=rd}return ld.prototype=sd.prototype,rd.prototype=new ld,rd.__super__=sd.prototype,rd},td={}.hasOwnProperty;qa=requireXMLNode(),Ra=requireNodeType(),XMLDTDElement.exports=function(rd){ed(sd,rd);function sd(od,ld,ud){if(sd.__super__.constructor.call(this,od),ld==null)throw new Error("Missing DTD element name. "+this.debugInfo());ud||(ud="(#PCDATA)"),Array.isArray(ud)&&(ud="("+ud.join(",")+")"),this.name=this.stringify.name(ld),this.type=Ra.ElementDeclaration,this.value=this.stringify.dtdElementValue(ud)}return sd.prototype.toString=function(od){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(od))},sd}(qa)}).call(commonjsGlobal)),XMLDTDElement.exports}var XMLDTDNotation={exports:{}},hasRequiredXMLDTDNotation;function requireXMLDTDNotation(){return hasRequiredXMLDTDNotation||(hasRequiredXMLDTDNotation=1,(function(){var Ra,qa,ed=function(rd,sd){for(var od in sd)td.call(sd,od)&&(rd[od]=sd[od]);function ld(){this.constructor=rd}return ld.prototype=sd.prototype,rd.prototype=new ld,rd.__super__=sd.prototype,rd},td={}.hasOwnProperty;qa=requireXMLNode(),Ra=requireNodeType(),XMLDTDNotation.exports=function(rd){ed(sd,rd);function sd(od,ld,ud){if(sd.__super__.constructor.call(this,od),ld==null)throw new Error("Missing DTD notation name. "+this.debugInfo(ld));if(!ud.pubID&&!ud.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(ld));this.name=this.stringify.name(ld),this.type=Ra.NotationDeclaration,ud.pubID!=null&&(this.pubID=this.stringify.dtdPubID(ud.pubID)),ud.sysID!=null&&(this.sysID=this.stringify.dtdSysID(ud.sysID))}return Object.defineProperty(sd.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(sd.prototype,"systemId",{get:function(){return this.sysID}}),sd.prototype.toString=function(od){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(od))},sd}(qa)}).call(commonjsGlobal)),XMLDTDNotation.exports}var hasRequiredXMLDocType;function requireXMLDocType(){return hasRequiredXMLDocType||(hasRequiredXMLDocType=1,(function(){var Ra,qa,ed,td,rd,sd,od,ld,ud=function(dd,_d){for(var Ed in _d)cd.call(_d,Ed)&&(dd[Ed]=_d[Ed]);function Ad(){this.constructor=dd}return Ad.prototype=_d.prototype,dd.prototype=new Ad,dd.__super__=_d.prototype,dd},cd={}.hasOwnProperty;ld=requireUtility().isObject,od=requireXMLNode(),Ra=requireNodeType(),qa=requireXMLDTDAttList(),td=requireXMLDTDEntity(),ed=requireXMLDTDElement(),rd=requireXMLDTDNotation(),sd=requireXMLNamedNodeMap(),XMLDocType.exports=function(dd){ud(_d,dd);function _d(Ed,Ad,Td){var Id,Bd,Rd,Od,Md,Ld;if(_d.__super__.constructor.call(this,Ed),this.type=Ra.DocType,Ed.children){for(Od=Ed.children,Bd=0,Rd=Od.length;Bd":(Fd=this.parent)!=null&&Fd.name?"node: <"+Md+">, parent: <"+this.parent.name+">":"node: <"+Md+">"},Od.prototype.ele=function(Md,Ld,Fd){return this.element(Md,Ld,Fd)},Od.prototype.nod=function(Md,Ld,Fd){return this.node(Md,Ld,Fd)},Od.prototype.txt=function(Md){return this.text(Md)},Od.prototype.dat=function(Md){return this.cdata(Md)},Od.prototype.com=function(Md){return this.comment(Md)},Od.prototype.ins=function(Md,Ld){return this.instruction(Md,Ld)},Od.prototype.doc=function(){return this.document()},Od.prototype.dec=function(Md,Ld,Fd){return this.declaration(Md,Ld,Fd)},Od.prototype.e=function(Md,Ld,Fd){return this.element(Md,Ld,Fd)},Od.prototype.n=function(Md,Ld,Fd){return this.node(Md,Ld,Fd)},Od.prototype.t=function(Md){return this.text(Md)},Od.prototype.d=function(Md){return this.cdata(Md)},Od.prototype.c=function(Md){return this.comment(Md)},Od.prototype.r=function(Md){return this.raw(Md)},Od.prototype.i=function(Md,Ld){return this.instruction(Md,Ld)},Od.prototype.u=function(){return this.up()},Od.prototype.importXMLBuilder=function(Md){return this.importDocument(Md)},Od.prototype.replaceChild=function(Md,Ld){throw new Error("This DOM method is not implemented."+this.debugInfo())},Od.prototype.removeChild=function(Md){throw new Error("This DOM method is not implemented."+this.debugInfo())},Od.prototype.appendChild=function(Md){throw new Error("This DOM method is not implemented."+this.debugInfo())},Od.prototype.hasChildNodes=function(){return this.children.length!==0},Od.prototype.cloneNode=function(Md){throw new Error("This DOM method is not implemented."+this.debugInfo())},Od.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},Od.prototype.isSupported=function(Md,Ld){return!0},Od.prototype.hasAttributes=function(){return this.attribs.length!==0},Od.prototype.compareDocumentPosition=function(Md){var Ld,Fd;return Ld=this,Ld===Md?0:this.document()!==Md.document()?(Fd=Ra.Disconnected|Ra.ImplementationSpecific,Math.random()<.5?Fd|=Ra.Preceding:Fd|=Ra.Following,Fd):Ld.isAncestor(Md)?Ra.Contains|Ra.Preceding:Ld.isDescendant(Md)?Ra.Contains|Ra.Following:Ld.isPreceding(Md)?Ra.Preceding:Ra.Following},Od.prototype.isSameNode=function(Md){throw new Error("This DOM method is not implemented."+this.debugInfo())},Od.prototype.lookupPrefix=function(Md){throw new Error("This DOM method is not implemented."+this.debugInfo())},Od.prototype.isDefaultNamespace=function(Md){throw new Error("This DOM method is not implemented."+this.debugInfo())},Od.prototype.lookupNamespaceURI=function(Md){throw new Error("This DOM method is not implemented."+this.debugInfo())},Od.prototype.isEqualNode=function(Md){var Ld,Fd,jd;if(Md.nodeType!==this.nodeType||Md.children.length!==this.children.length)return!1;for(Ld=Fd=0,jd=this.children.length-1;0<=jd?Fd<=jd:Fd>=jd;Ld=0<=jd?++Fd:--Fd)if(!this.children[Ld].isEqualNode(Md.children[Ld]))return!1;return!0},Od.prototype.getFeature=function(Md,Ld){throw new Error("This DOM method is not implemented."+this.debugInfo())},Od.prototype.setUserData=function(Md,Ld,Fd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Od.prototype.getUserData=function(Md){throw new Error("This DOM method is not implemented."+this.debugInfo())},Od.prototype.contains=function(Md){return Md?Md===this||this.isDescendant(Md):!1},Od.prototype.isDescendant=function(Md){var Ld,Fd,jd,Vd,Qd;for(Qd=this.children,jd=0,Vd=Qd.length;jdFd},Od.prototype.treePosition=function(Md){var Ld,Fd;return Fd=0,Ld=!1,this.foreachTreeNode(this.document(),function(jd){if(Fd++,!Ld&&jd===Md)return Ld=!0}),Ld?Fd:-1},Od.prototype.foreachTreeNode=function(Md,Ld){var Fd,jd,Vd,Qd,qd;for(Md||(Md=this.document()),Qd=Md.children,jd=0,Vd=Qd.length;jd","]]]]>"),this.assertLegalChar(td))},ed.prototype.comment=function(td){if(this.options.noValidation)return td;if(td=""+td||"",td.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+td);return this.assertLegalChar(td)},ed.prototype.raw=function(td){return this.options.noValidation?td:""+td||""},ed.prototype.attValue=function(td){return this.options.noValidation?td:this.assertLegalChar(this.attEscape(td=""+td||""))},ed.prototype.insTarget=function(td){return this.options.noValidation?td:this.assertLegalChar(""+td||"")},ed.prototype.insValue=function(td){if(this.options.noValidation)return td;if(td=""+td||"",td.match(/\?>/))throw new Error("Invalid processing instruction value: "+td);return this.assertLegalChar(td)},ed.prototype.xmlVersion=function(td){if(this.options.noValidation)return td;if(td=""+td||"",!td.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+td);return td},ed.prototype.xmlEncoding=function(td){if(this.options.noValidation)return td;if(td=""+td||"",!td.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+td);return this.assertLegalChar(td)},ed.prototype.xmlStandalone=function(td){return this.options.noValidation?td:td?"yes":"no"},ed.prototype.dtdPubID=function(td){return this.options.noValidation?td:this.assertLegalChar(""+td||"")},ed.prototype.dtdSysID=function(td){return this.options.noValidation?td:this.assertLegalChar(""+td||"")},ed.prototype.dtdElementValue=function(td){return this.options.noValidation?td:this.assertLegalChar(""+td||"")},ed.prototype.dtdAttType=function(td){return this.options.noValidation?td:this.assertLegalChar(""+td||"")},ed.prototype.dtdAttDefault=function(td){return this.options.noValidation?td:this.assertLegalChar(""+td||"")},ed.prototype.dtdEntityValue=function(td){return this.options.noValidation?td:this.assertLegalChar(""+td||"")},ed.prototype.dtdNData=function(td){return this.options.noValidation?td:this.assertLegalChar(""+td||"")},ed.prototype.convertAttKey="@",ed.prototype.convertPIKey="?",ed.prototype.convertTextKey="#text",ed.prototype.convertCDataKey="#cdata",ed.prototype.convertCommentKey="#comment",ed.prototype.convertRawKey="#raw",ed.prototype.assertLegalChar=function(td){var rd,sd;if(this.options.noValidation)return td;if(rd="",this.options.version==="1.0"){if(rd=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,sd=td.match(rd))throw new Error("Invalid character in string: "+td+" at index "+sd.index)}else if(this.options.version==="1.1"&&(rd=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,sd=td.match(rd)))throw new Error("Invalid character in string: "+td+" at index "+sd.index);return td},ed.prototype.assertLegalName=function(td){var rd;if(this.options.noValidation)return td;if(this.assertLegalChar(td),rd=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!td.match(rd))throw new Error("Invalid character in name");return td},ed.prototype.textEscape=function(td){var rd;return this.options.noValidation?td:(rd=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,td.replace(rd,"&").replace(//g,">").replace(/\r/g," "))},ed.prototype.attEscape=function(td){var rd;return this.options.noValidation?td:(rd=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,td.replace(rd,"&").replace(/0)?new Array(ud).join(od.indent):""},rd.prototype.endline=function(sd,od,ld){return!od.pretty||od.suppressPrettyCount?"":od.newline},rd.prototype.attribute=function(sd,od,ld){var ud;return this.openAttribute(sd,od,ld),ud=" "+sd.name+'="'+sd.value+'"',this.closeAttribute(sd,od,ld),ud},rd.prototype.cdata=function(sd,od,ld){var ud;return this.openNode(sd,od,ld),od.state=qa.OpenTag,ud=this.indent(sd,od,ld)+""+this.endline(sd,od,ld),od.state=qa.None,this.closeNode(sd,od,ld),ud},rd.prototype.comment=function(sd,od,ld){var ud;return this.openNode(sd,od,ld),od.state=qa.OpenTag,ud=this.indent(sd,od,ld)+""+this.endline(sd,od,ld),od.state=qa.None,this.closeNode(sd,od,ld),ud},rd.prototype.declaration=function(sd,od,ld){var ud;return this.openNode(sd,od,ld),od.state=qa.OpenTag,ud=this.indent(sd,od,ld)+"",ud+=this.endline(sd,od,ld),od.state=qa.None,this.closeNode(sd,od,ld),ud},rd.prototype.docType=function(sd,od,ld){var ud,cd,dd,_d,Ed;if(ld||(ld=0),this.openNode(sd,od,ld),od.state=qa.OpenTag,_d=this.indent(sd,od,ld),_d+="0){for(_d+=" [",_d+=this.endline(sd,od,ld),od.state=qa.InsideTag,Ed=sd.children,cd=0,dd=Ed.length;cd",_d+=this.endline(sd,od,ld),od.state=qa.None,this.closeNode(sd,od,ld),_d},rd.prototype.element=function(sd,od,ld){var ud,cd,dd,_d,Ed,Ad,Td,Id,Bd,Rd,Od,Md,Ld,Fd;ld||(ld=0),Rd=!1,Od="",this.openNode(sd,od,ld),od.state=qa.OpenTag,Od+=this.indent(sd,od,ld)+"<"+sd.name,Md=sd.attribs;for(Bd in Md)td.call(Md,Bd)&&(ud=Md[Bd],Od+=this.attribute(ud,od,ld));if(dd=sd.children.length,_d=dd===0?null:sd.children[0],dd===0||sd.children.every(function(jd){return(jd.type===Ra.Text||jd.type===Ra.Raw)&&jd.value===""}))od.allowEmpty?(Od+=">",od.state=qa.CloseTag,Od+=""+this.endline(sd,od,ld)):(od.state=qa.CloseTag,Od+=od.spaceBeforeSlash+"/>"+this.endline(sd,od,ld));else if(od.pretty&&dd===1&&(_d.type===Ra.Text||_d.type===Ra.Raw)&&_d.value!=null)Od+=">",od.state=qa.InsideTag,od.suppressPrettyCount++,Rd=!0,Od+=this.writeChildNode(_d,od,ld+1),od.suppressPrettyCount--,Rd=!1,od.state=qa.CloseTag,Od+=""+this.endline(sd,od,ld);else{if(od.dontPrettyTextNodes){for(Ld=sd.children,Ed=0,Td=Ld.length;Ed"+this.endline(sd,od,ld),od.state=qa.InsideTag,Fd=sd.children,Ad=0,Id=Fd.length;Ad",Rd&&od.suppressPrettyCount--,Od+=this.endline(sd,od,ld),od.state=qa.None}return this.closeNode(sd,od,ld),Od},rd.prototype.writeChildNode=function(sd,od,ld){switch(sd.type){case Ra.CData:return this.cdata(sd,od,ld);case Ra.Comment:return this.comment(sd,od,ld);case Ra.Element:return this.element(sd,od,ld);case Ra.Raw:return this.raw(sd,od,ld);case Ra.Text:return this.text(sd,od,ld);case Ra.ProcessingInstruction:return this.processingInstruction(sd,od,ld);case Ra.Dummy:return"";case Ra.Declaration:return this.declaration(sd,od,ld);case Ra.DocType:return this.docType(sd,od,ld);case Ra.AttributeDeclaration:return this.dtdAttList(sd,od,ld);case Ra.ElementDeclaration:return this.dtdElement(sd,od,ld);case Ra.EntityDeclaration:return this.dtdEntity(sd,od,ld);case Ra.NotationDeclaration:return this.dtdNotation(sd,od,ld);default:throw new Error("Unknown XML node type: "+sd.constructor.name)}},rd.prototype.processingInstruction=function(sd,od,ld){var ud;return this.openNode(sd,od,ld),od.state=qa.OpenTag,ud=this.indent(sd,od,ld)+"",ud+=this.endline(sd,od,ld),od.state=qa.None,this.closeNode(sd,od,ld),ud},rd.prototype.raw=function(sd,od,ld){var ud;return this.openNode(sd,od,ld),od.state=qa.OpenTag,ud=this.indent(sd,od,ld),od.state=qa.InsideTag,ud+=sd.value,od.state=qa.CloseTag,ud+=this.endline(sd,od,ld),od.state=qa.None,this.closeNode(sd,od,ld),ud},rd.prototype.text=function(sd,od,ld){var ud;return this.openNode(sd,od,ld),od.state=qa.OpenTag,ud=this.indent(sd,od,ld),od.state=qa.InsideTag,ud+=sd.value,od.state=qa.CloseTag,ud+=this.endline(sd,od,ld),od.state=qa.None,this.closeNode(sd,od,ld),ud},rd.prototype.dtdAttList=function(sd,od,ld){var ud;return this.openNode(sd,od,ld),od.state=qa.OpenTag,ud=this.indent(sd,od,ld)+""+this.endline(sd,od,ld),od.state=qa.None,this.closeNode(sd,od,ld),ud},rd.prototype.dtdElement=function(sd,od,ld){var ud;return this.openNode(sd,od,ld),od.state=qa.OpenTag,ud=this.indent(sd,od,ld)+""+this.endline(sd,od,ld),od.state=qa.None,this.closeNode(sd,od,ld),ud},rd.prototype.dtdEntity=function(sd,od,ld){var ud;return this.openNode(sd,od,ld),od.state=qa.OpenTag,ud=this.indent(sd,od,ld)+""+this.endline(sd,od,ld),od.state=qa.None,this.closeNode(sd,od,ld),ud},rd.prototype.dtdNotation=function(sd,od,ld){var ud;return this.openNode(sd,od,ld),od.state=qa.OpenTag,ud=this.indent(sd,od,ld)+""+this.endline(sd,od,ld),od.state=qa.None,this.closeNode(sd,od,ld),ud},rd.prototype.openNode=function(sd,od,ld){},rd.prototype.closeNode=function(sd,od,ld){},rd.prototype.openAttribute=function(sd,od,ld){},rd.prototype.closeAttribute=function(sd,od,ld){},rd}()}).call(commonjsGlobal)),XMLWriterBase.exports}var hasRequiredXMLStringWriter;function requireXMLStringWriter(){return hasRequiredXMLStringWriter||(hasRequiredXMLStringWriter=1,(function(){var Ra,qa=function(td,rd){for(var sd in rd)ed.call(rd,sd)&&(td[sd]=rd[sd]);function od(){this.constructor=td}return od.prototype=rd.prototype,td.prototype=new od,td.__super__=rd.prototype,td},ed={}.hasOwnProperty;Ra=requireXMLWriterBase(),XMLStringWriter.exports=function(td){qa(rd,td);function rd(sd){rd.__super__.constructor.call(this,sd)}return rd.prototype.document=function(sd,od){var ld,ud,cd,dd,_d;for(od=this.filterOptions(od),dd="",_d=sd.children,ud=0,cd=_d.length;ud=0;)this.up();return this.onEnd()},Qd.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},Qd.prototype.openNode=function(qd){var Kd,Xd,df,mf;if(!qd.isOpen){if(!this.root&&this.currentLevel===0&&qd.type===Ra.Element&&(this.root=qd),Xd="",qd.type===Ra.Element){this.writerOptions.state=qa.OpenTag,Xd=this.writer.indent(qd,this.writerOptions,this.currentLevel)+"<"+qd.name,mf=qd.attribs;for(df in mf)Vd.call(mf,df)&&(Kd=mf[df],Xd+=this.writer.attribute(Kd,this.writerOptions,this.currentLevel));Xd+=(qd.children?">":"/>")+this.writer.endline(qd,this.writerOptions,this.currentLevel),this.writerOptions.state=qa.InsideTag}else this.writerOptions.state=qa.OpenTag,Xd=this.writer.indent(qd,this.writerOptions,this.currentLevel)+""),Xd+=this.writer.endline(qd,this.writerOptions,this.currentLevel);return this.onData(Xd,this.currentLevel),qd.isOpen=!0}},Qd.prototype.closeNode=function(qd){var Kd;if(!qd.isClosed)return Kd="",this.writerOptions.state=qa.CloseTag,qd.type===Ra.Element?Kd=this.writer.indent(qd,this.writerOptions,this.currentLevel)+""+this.writer.endline(qd,this.writerOptions,this.currentLevel):Kd=this.writer.indent(qd,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(qd,this.writerOptions,this.currentLevel),this.writerOptions.state=qa.None,this.onData(Kd,this.currentLevel),qd.isClosed=!0},Qd.prototype.onData=function(qd,Kd){return this.documentStarted=!0,this.onDataCallback(qd,Kd+1)},Qd.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},Qd.prototype.debugInfo=function(qd){return qd==null?"":"node: <"+qd+">"},Qd.prototype.ele=function(){return this.element.apply(this,arguments)},Qd.prototype.nod=function(qd,Kd,Xd){return this.node(qd,Kd,Xd)},Qd.prototype.txt=function(qd){return this.text(qd)},Qd.prototype.dat=function(qd){return this.cdata(qd)},Qd.prototype.com=function(qd){return this.comment(qd)},Qd.prototype.ins=function(qd,Kd){return this.instruction(qd,Kd)},Qd.prototype.dec=function(qd,Kd,Xd){return this.declaration(qd,Kd,Xd)},Qd.prototype.dtd=function(qd,Kd,Xd){return this.doctype(qd,Kd,Xd)},Qd.prototype.e=function(qd,Kd,Xd){return this.element(qd,Kd,Xd)},Qd.prototype.n=function(qd,Kd,Xd){return this.node(qd,Kd,Xd)},Qd.prototype.t=function(qd){return this.text(qd)},Qd.prototype.d=function(qd){return this.cdata(qd)},Qd.prototype.c=function(qd){return this.comment(qd)},Qd.prototype.r=function(qd){return this.raw(qd)},Qd.prototype.i=function(qd,Kd){return this.instruction(qd,Kd)},Qd.prototype.att=function(){return this.currentNode&&this.currentNode.type===Ra.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},Qd.prototype.a=function(){return this.currentNode&&this.currentNode.type===Ra.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},Qd.prototype.ent=function(qd,Kd){return this.entity(qd,Kd)},Qd.prototype.pent=function(qd,Kd){return this.pEntity(qd,Kd)},Qd.prototype.not=function(qd,Kd){return this.notation(qd,Kd)},Qd}()}).call(commonjsGlobal)),XMLDocumentCB.exports}var XMLStreamWriter={exports:{}},hasRequiredXMLStreamWriter;function requireXMLStreamWriter(){return hasRequiredXMLStreamWriter||(hasRequiredXMLStreamWriter=1,(function(){var Ra,qa,ed,td=function(sd,od){for(var ld in od)rd.call(od,ld)&&(sd[ld]=od[ld]);function ud(){this.constructor=sd}return ud.prototype=od.prototype,sd.prototype=new ud,sd.__super__=od.prototype,sd},rd={}.hasOwnProperty;Ra=requireNodeType(),ed=requireXMLWriterBase(),qa=requireWriterState(),XMLStreamWriter.exports=function(sd){td(od,sd);function od(ld,ud){this.stream=ld,od.__super__.constructor.call(this,ud)}return od.prototype.endline=function(ld,ud,cd){return ld.isLastRootNode&&ud.state===qa.CloseTag?"":od.__super__.endline.call(this,ld,ud,cd)},od.prototype.document=function(ld,ud){var cd,dd,_d,Ed,Ad,Td,Id,Bd,Rd;for(Id=ld.children,dd=_d=0,Ad=Id.length;_d0){for(this.stream.write(" ["),this.stream.write(this.endline(ld,ud,cd)),ud.state=qa.InsideTag,Ad=ld.children,_d=0,Ed=Ad.length;_d"),this.stream.write(this.endline(ld,ud,cd)),ud.state=qa.None,this.closeNode(ld,ud,cd)},od.prototype.element=function(ld,ud,cd){var dd,_d,Ed,Ad,Td,Id,Bd,Rd,Od;cd||(cd=0),this.openNode(ld,ud,cd),ud.state=qa.OpenTag,this.stream.write(this.indent(ld,ud,cd)+"<"+ld.name),Rd=ld.attribs;for(Bd in Rd)rd.call(Rd,Bd)&&(dd=Rd[Bd],this.attribute(dd,ud,cd));if(Ed=ld.children.length,Ad=Ed===0?null:ld.children[0],Ed===0||ld.children.every(function(Md){return(Md.type===Ra.Text||Md.type===Ra.Raw)&&Md.value===""}))ud.allowEmpty?(this.stream.write(">"),ud.state=qa.CloseTag,this.stream.write("")):(ud.state=qa.CloseTag,this.stream.write(ud.spaceBeforeSlash+"/>"));else if(ud.pretty&&Ed===1&&(Ad.type===Ra.Text||Ad.type===Ra.Raw)&&Ad.value!=null)this.stream.write(">"),ud.state=qa.InsideTag,ud.suppressPrettyCount++,this.writeChildNode(Ad,ud,cd+1),ud.suppressPrettyCount--,ud.state=qa.CloseTag,this.stream.write("");else{for(this.stream.write(">"+this.endline(ld,ud,cd)),ud.state=qa.InsideTag,Od=ld.children,Td=0,Id=Od.length;Td")}return this.stream.write(this.endline(ld,ud,cd)),ud.state=qa.None,this.closeNode(ld,ud,cd)},od.prototype.processingInstruction=function(ld,ud,cd){return this.stream.write(od.__super__.processingInstruction.call(this,ld,ud,cd))},od.prototype.raw=function(ld,ud,cd){return this.stream.write(od.__super__.raw.call(this,ld,ud,cd))},od.prototype.text=function(ld,ud,cd){return this.stream.write(od.__super__.text.call(this,ld,ud,cd))},od.prototype.dtdAttList=function(ld,ud,cd){return this.stream.write(od.__super__.dtdAttList.call(this,ld,ud,cd))},od.prototype.dtdElement=function(ld,ud,cd){return this.stream.write(od.__super__.dtdElement.call(this,ld,ud,cd))},od.prototype.dtdEntity=function(ld,ud,cd){return this.stream.write(od.__super__.dtdEntity.call(this,ld,ud,cd))},od.prototype.dtdNotation=function(ld,ud,cd){return this.stream.write(od.__super__.dtdNotation.call(this,ld,ud,cd))},od}(ed)}).call(commonjsGlobal)),XMLStreamWriter.exports}var hasRequiredLib;function requireLib(){return hasRequiredLib||(hasRequiredLib=1,(function(){var Ra,qa,ed,td,rd,sd,od,ld,ud,cd;cd=requireUtility(),ld=cd.assign,ud=cd.isFunction,ed=requireXMLDOMImplementation(),td=requireXMLDocument(),rd=requireXMLDocumentCB(),od=requireXMLStringWriter(),sd=requireXMLStreamWriter(),Ra=requireNodeType(),qa=requireWriterState(),lib$2.create=function(dd,_d,Ed,Ad){var Td,Id;if(dd==null)throw new Error("Root element needs a name.");return Ad=ld({},_d,Ed,Ad),Td=new td(Ad),Id=Td.element(dd),Ad.headless||(Td.declaration(Ad),(Ad.pubID!=null||Ad.sysID!=null)&&Td.dtd(Ad)),Id},lib$2.begin=function(dd,_d,Ed){var Ad;return ud(dd)&&(Ad=[dd,_d],_d=Ad[0],Ed=Ad[1],dd={}),_d?new rd(dd,_d,Ed):new td(dd)},lib$2.stringWriter=function(dd){return new od(dd)},lib$2.streamWriter=function(dd,_d){return new sd(dd,_d)},lib$2.implementation=new ed,lib$2.nodeType=Ra,lib$2.writerState=qa}).call(commonjsGlobal)),lib$2}var hasRequiredBuilder;function requireBuilder(){return hasRequiredBuilder||(hasRequiredBuilder=1,(function(){var Ra,qa,ed,td,rd,sd={}.hasOwnProperty;Ra=requireLib(),qa=requireDefaults().defaults,td=function(od){return typeof od=="string"&&(od.indexOf("&")>=0||od.indexOf(">")>=0||od.indexOf("<")>=0)},rd=function(od){return""},ed=function(od){return od.replace("]]>","]]]]>")},builder.Builder=function(){function od(ld){var ud,cd,dd;this.options={},cd=qa["0.2"];for(ud in cd)sd.call(cd,ud)&&(dd=cd[ud],this.options[ud]=dd);for(ud in ld)sd.call(ld,ud)&&(dd=ld[ud],this.options[ud]=dd)}return od.prototype.buildObject=function(ld){var ud,cd,dd,_d,Ed;return ud=this.options.attrkey,cd=this.options.charkey,Object.keys(ld).length===1&&this.options.rootName===qa["0.2"].rootName?(Ed=Object.keys(ld)[0],ld=ld[Ed]):Ed=this.options.rootName,dd=function(Ad){return function(Td,Id){var Bd,Rd,Od,Md,Ld,Fd;if(typeof Id!="object")Ad.options.cdata&&td(Id)?Td.raw(rd(Id)):Td.txt(Id);else if(Array.isArray(Id)){for(Md in Id)if(sd.call(Id,Md)){Rd=Id[Md];for(Ld in Rd)Od=Rd[Ld],Td=dd(Td.ele(Ld),Od).up()}}else for(Ld in Id)if(sd.call(Id,Ld))if(Rd=Id[Ld],Ld===ud){if(typeof Rd=="object")for(Bd in Rd)Fd=Rd[Bd],Td=Td.att(Bd,Fd)}else if(Ld===cd)Ad.options.cdata&&td(Rd)?Td=Td.raw(rd(Rd)):Td=Td.txt(Rd);else if(Array.isArray(Rd))for(Md in Rd)sd.call(Rd,Md)&&(Od=Rd[Md],typeof Od=="string"?Ad.options.cdata&&td(Od)?Td=Td.ele(Ld).raw(rd(Od)).up():Td=Td.ele(Ld,Od).up():Td=dd(Td.ele(Ld),Od).up());else typeof Rd=="object"?Td=dd(Td.ele(Ld),Rd).up():typeof Rd=="string"&&Ad.options.cdata&&td(Rd)?Td=Td.ele(Ld).raw(rd(Rd)).up():(Rd==null&&(Rd=""),Td=Td.ele(Ld,Rd.toString()).up());return Td}}(this),_d=Ra.create(Ed,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),dd(_d,ld).end(this.options.renderOpts)},od}()}).call(commonjsGlobal)),builder}var parser={},sax={},hasRequiredSax;function requireSax(){return hasRequiredSax||(hasRequiredSax=1,function(Ra){(function(qa){qa.parser=function(yf,hf){return new td(yf,hf)},qa.SAXParser=td,qa.SAXStream=dd,qa.createStream=cd,qa.MAX_BUFFER_LENGTH=64*1024;var ed=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];qa.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function td(yf,hf){if(!(this instanceof td))return new td(yf,hf);var Rf=this;sd(Rf),Rf.q=Rf.c="",Rf.bufferCheckPosition=qa.MAX_BUFFER_LENGTH,Rf.opt=hf||{},Rf.opt.lowercase=Rf.opt.lowercase||Rf.opt.lowercasetags,Rf.looseCase=Rf.opt.lowercase?"toLowerCase":"toUpperCase",Rf.tags=[],Rf.closed=Rf.closedRoot=Rf.sawRoot=!1,Rf.tag=Rf.error=null,Rf.strict=!!yf,Rf.noscript=!!(yf||Rf.opt.noscript),Rf.state=qd.BEGIN,Rf.strictEntities=Rf.opt.strictEntities,Rf.ENTITIES=Rf.strictEntities?Object.create(qa.XML_ENTITIES):Object.create(qa.ENTITIES),Rf.attribList=[],Rf.opt.xmlns&&(Rf.ns=Object.create(Id)),Rf.opt.unquotedAttributeValues===void 0&&(Rf.opt.unquotedAttributeValues=!yf),Rf.trackPosition=Rf.opt.position!==!1,Rf.trackPosition&&(Rf.position=Rf.line=Rf.column=0),Xd(Rf,"onready")}Object.create||(Object.create=function(yf){function hf(){}hf.prototype=yf;var Rf=new hf;return Rf}),Object.keys||(Object.keys=function(yf){var hf=[];for(var Rf in yf)yf.hasOwnProperty(Rf)&&hf.push(Rf);return hf});function rd(yf){for(var hf=Math.max(qa.MAX_BUFFER_LENGTH,10),Rf=0,jf=0,Kf=ed.length;jfhf)switch(ed[jf]){case"textNode":mf(yf);break;case"cdata":df(yf,"oncdata",yf.cdata),yf.cdata="";break;case"script":df(yf,"onscript",yf.script),yf.script="";break;default:pf(yf,"Max buffer length exceeded: "+ed[jf])}Rf=Math.max(Rf,Ff)}var wf=qa.MAX_BUFFER_LENGTH-Rf;yf.bufferCheckPosition=wf+yf.position}function sd(yf){for(var hf=0,Rf=ed.length;hf"||Ld(yf)}function Vd(yf,hf){return yf.test(hf)}function Qd(yf,hf){return!Vd(yf,hf)}var qd=0;qa.STATE={BEGIN:qd++,BEGIN_WHITESPACE:qd++,TEXT:qd++,TEXT_ENTITY:qd++,OPEN_WAKA:qd++,SGML_DECL:qd++,SGML_DECL_QUOTED:qd++,DOCTYPE:qd++,DOCTYPE_QUOTED:qd++,DOCTYPE_DTD:qd++,DOCTYPE_DTD_QUOTED:qd++,COMMENT_STARTING:qd++,COMMENT:qd++,COMMENT_ENDING:qd++,COMMENT_ENDED:qd++,CDATA:qd++,CDATA_ENDING:qd++,CDATA_ENDING_2:qd++,PROC_INST:qd++,PROC_INST_BODY:qd++,PROC_INST_ENDING:qd++,OPEN_TAG:qd++,OPEN_TAG_SLASH:qd++,ATTRIB:qd++,ATTRIB_NAME:qd++,ATTRIB_NAME_SAW_WHITE:qd++,ATTRIB_VALUE:qd++,ATTRIB_VALUE_QUOTED:qd++,ATTRIB_VALUE_CLOSED:qd++,ATTRIB_VALUE_UNQUOTED:qd++,ATTRIB_VALUE_ENTITY_Q:qd++,ATTRIB_VALUE_ENTITY_U:qd++,CLOSE_TAG:qd++,CLOSE_TAG_SAW_WHITE:qd++,SCRIPT:qd++,SCRIPT_ENDING:qd++},qa.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},qa.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(qa.ENTITIES).forEach(function(yf){var hf=qa.ENTITIES[yf],Rf=typeof hf=="number"?String.fromCharCode(hf):hf;qa.ENTITIES[yf]=Rf});for(var Kd in qa.STATE)qa.STATE[qa.STATE[Kd]]=Kd;qd=qa.STATE;function Xd(yf,hf,Rf){yf[hf]&&yf[hf](Rf)}function df(yf,hf,Rf){yf.textNode&&mf(yf),Xd(yf,hf,Rf)}function mf(yf){yf.textNode=bf(yf.opt,yf.textNode),yf.textNode&&Xd(yf,"ontext",yf.textNode),yf.textNode=""}function bf(yf,hf){return yf.trim&&(hf=hf.trim()),yf.normalize&&(hf=hf.replace(/\s+/g," ")),hf}function pf(yf,hf){return mf(yf),yf.trackPosition&&(hf+=` -Line: `+yf.line+` -Column: `+yf.column+` -Char: `+yf.c),hf=new Error(hf),yf.error=hf,Xd(yf,"onerror",hf),yf}function _f(yf){return yf.sawRoot&&!yf.closedRoot&&Tf(yf,"Unclosed root tag"),yf.state!==qd.BEGIN&&yf.state!==qd.BEGIN_WHITESPACE&&yf.state!==qd.TEXT&&pf(yf,"Unexpected end"),mf(yf),yf.c="",yf.closed=!0,Xd(yf,"onend"),td.call(yf,yf.strict,yf.opt),yf}function Tf(yf,hf){if(typeof yf!="object"||!(yf instanceof td))throw new Error("bad call to strictFail");yf.strict&&pf(yf,hf)}function kf(yf){yf.strict||(yf.tagName=yf.tagName[yf.looseCase]());var hf=yf.tags[yf.tags.length-1]||yf,Rf=yf.tag={name:yf.tagName,attributes:{}};yf.opt.xmlns&&(Rf.ns=hf.ns),yf.attribList.length=0,df(yf,"onopentagstart",Rf)}function zf(yf,hf){var Rf=yf.indexOf(":"),jf=Rf<0?["",yf]:yf.split(":"),Kf=jf[0],Ff=jf[1];return hf&&yf==="xmlns"&&(Kf="xmlns",Ff=""),{prefix:Kf,local:Ff}}function Jf(yf){if(yf.strict||(yf.attribName=yf.attribName[yf.looseCase]()),yf.attribList.indexOf(yf.attribName)!==-1||yf.tag.attributes.hasOwnProperty(yf.attribName)){yf.attribName=yf.attribValue="";return}if(yf.opt.xmlns){var hf=zf(yf.attribName,!0),Rf=hf.prefix,jf=hf.local;if(Rf==="xmlns")if(jf==="xml"&&yf.attribValue!==Ad)Tf(yf,"xml: prefix must be bound to "+Ad+` -Actual: `+yf.attribValue);else if(jf==="xmlns"&&yf.attribValue!==Td)Tf(yf,"xmlns: prefix must be bound to "+Td+` -Actual: `+yf.attribValue);else{var Kf=yf.tag,Ff=yf.tags[yf.tags.length-1]||yf;Kf.ns===Ff.ns&&(Kf.ns=Object.create(Ff.ns)),Kf.ns[jf]=yf.attribValue}yf.attribList.push([yf.attribName,yf.attribValue])}else yf.tag.attributes[yf.attribName]=yf.attribValue,df(yf,"onattribute",{name:yf.attribName,value:yf.attribValue});yf.attribName=yf.attribValue=""}function Gf(yf,hf){if(yf.opt.xmlns){var Rf=yf.tag,jf=zf(yf.tagName);Rf.prefix=jf.prefix,Rf.local=jf.local,Rf.uri=Rf.ns[jf.prefix]||"",Rf.prefix&&!Rf.uri&&(Tf(yf,"Unbound namespace prefix: "+JSON.stringify(yf.tagName)),Rf.uri=jf.prefix);var Kf=yf.tags[yf.tags.length-1]||yf;Rf.ns&&Kf.ns!==Rf.ns&&Object.keys(Rf.ns).forEach(function(rh){df(yf,"onopennamespace",{prefix:rh,uri:Rf.ns[rh]})});for(var Ff=0,wf=yf.attribList.length;Ff",yf.tagName="",yf.state=qd.SCRIPT;return}df(yf,"onscript",yf.script),yf.script=""}var hf=yf.tags.length,Rf=yf.tagName;yf.strict||(Rf=Rf[yf.looseCase]());for(var jf=Rf;hf--;){var Kf=yf.tags[hf];if(Kf.name!==jf)Tf(yf,"Unexpected close tag");else break}if(hf<0){Tf(yf,"Unmatched closing tag: "+yf.tagName),yf.textNode+="",yf.state=qd.TEXT;return}yf.tagName=Rf;for(var Ff=yf.tags.length;Ff-- >hf;){var wf=yf.tag=yf.tags.pop();yf.tagName=yf.tag.name,df(yf,"onclosetag",yf.tagName);var Yf={};for(var uh in wf.ns)Yf[uh]=wf.ns[uh];var Uf=yf.tags[yf.tags.length-1]||yf;yf.opt.xmlns&&wf.ns!==Uf.ns&&Object.keys(wf.ns).forEach(function(Cf){var If=wf.ns[Cf];df(yf,"onclosenamespace",{prefix:Cf,uri:If})})}hf===0&&(yf.closedRoot=!0),yf.tagName=yf.attribValue=yf.attribName="",yf.attribList.length=0,yf.state=qd.TEXT}function Nf(yf){var hf=yf.entity,Rf=hf.toLowerCase(),jf,Kf="";return yf.ENTITIES[hf]?yf.ENTITIES[hf]:yf.ENTITIES[Rf]?yf.ENTITIES[Rf]:(hf=Rf,hf.charAt(0)==="#"&&(hf.charAt(1)==="x"?(hf=hf.slice(2),jf=parseInt(hf,16),Kf=jf.toString(16)):(hf=hf.slice(1),jf=parseInt(hf,10),Kf=jf.toString(10))),hf=hf.replace(/^0+/,""),isNaN(jf)||Kf.toLowerCase()!==hf?(Tf(yf,"Invalid character entity"),"&"+yf.entity+";"):String.fromCodePoint(jf))}function Bf(yf,hf){hf==="<"?(yf.state=qd.OPEN_WAKA,yf.startTagPosition=yf.position):Ld(hf)||(Tf(yf,"Non-whitespace before first tag."),yf.textNode=hf,yf.state=qd.TEXT)}function Qf(yf,hf){var Rf="";return hf"?(df(hf,"onsgmldeclaration",hf.sgmlDecl),hf.sgmlDecl="",hf.state=qd.TEXT):(Fd(jf)&&(hf.state=qd.SGML_DECL_QUOTED),hf.sgmlDecl+=jf);continue;case qd.SGML_DECL_QUOTED:jf===hf.q&&(hf.state=qd.SGML_DECL,hf.q=""),hf.sgmlDecl+=jf;continue;case qd.DOCTYPE:jf===">"?(hf.state=qd.TEXT,df(hf,"ondoctype",hf.doctype),hf.doctype=!0):(hf.doctype+=jf,jf==="["?hf.state=qd.DOCTYPE_DTD:Fd(jf)&&(hf.state=qd.DOCTYPE_QUOTED,hf.q=jf));continue;case qd.DOCTYPE_QUOTED:hf.doctype+=jf,jf===hf.q&&(hf.q="",hf.state=qd.DOCTYPE);continue;case qd.DOCTYPE_DTD:jf==="]"?(hf.doctype+=jf,hf.state=qd.DOCTYPE):jf==="<"?(hf.state=qd.OPEN_WAKA,hf.startTagPosition=hf.position):Fd(jf)?(hf.doctype+=jf,hf.state=qd.DOCTYPE_DTD_QUOTED,hf.q=jf):hf.doctype+=jf;continue;case qd.DOCTYPE_DTD_QUOTED:hf.doctype+=jf,jf===hf.q&&(hf.state=qd.DOCTYPE_DTD,hf.q="");continue;case qd.COMMENT:jf==="-"?hf.state=qd.COMMENT_ENDING:hf.comment+=jf;continue;case qd.COMMENT_ENDING:jf==="-"?(hf.state=qd.COMMENT_ENDED,hf.comment=bf(hf.opt,hf.comment),hf.comment&&df(hf,"oncomment",hf.comment),hf.comment=""):(hf.comment+="-"+jf,hf.state=qd.COMMENT);continue;case qd.COMMENT_ENDED:jf!==">"?(Tf(hf,"Malformed comment"),hf.comment+="--"+jf,hf.state=qd.COMMENT):hf.doctype&&hf.doctype!==!0?hf.state=qd.DOCTYPE_DTD:hf.state=qd.TEXT;continue;case qd.CDATA:jf==="]"?hf.state=qd.CDATA_ENDING:hf.cdata+=jf;continue;case qd.CDATA_ENDING:jf==="]"?hf.state=qd.CDATA_ENDING_2:(hf.cdata+="]"+jf,hf.state=qd.CDATA);continue;case qd.CDATA_ENDING_2:jf===">"?(hf.cdata&&df(hf,"oncdata",hf.cdata),df(hf,"onclosecdata"),hf.cdata="",hf.state=qd.TEXT):jf==="]"?hf.cdata+="]":(hf.cdata+="]]"+jf,hf.state=qd.CDATA);continue;case qd.PROC_INST:jf==="?"?hf.state=qd.PROC_INST_ENDING:Ld(jf)?hf.state=qd.PROC_INST_BODY:hf.procInstName+=jf;continue;case qd.PROC_INST_BODY:if(!hf.procInstBody&&Ld(jf))continue;jf==="?"?hf.state=qd.PROC_INST_ENDING:hf.procInstBody+=jf;continue;case qd.PROC_INST_ENDING:jf===">"?(df(hf,"onprocessinginstruction",{name:hf.procInstName,body:hf.procInstBody}),hf.procInstName=hf.procInstBody="",hf.state=qd.TEXT):(hf.procInstBody+="?"+jf,hf.state=qd.PROC_INST_BODY);continue;case qd.OPEN_TAG:Vd(Rd,jf)?hf.tagName+=jf:(kf(hf),jf===">"?Gf(hf):jf==="/"?hf.state=qd.OPEN_TAG_SLASH:(Ld(jf)||Tf(hf,"Invalid character in tag name"),hf.state=qd.ATTRIB));continue;case qd.OPEN_TAG_SLASH:jf===">"?(Gf(hf,!0),Mf(hf)):(Tf(hf,"Forward-slash in opening tag not followed by >"),hf.state=qd.ATTRIB);continue;case qd.ATTRIB:if(Ld(jf))continue;jf===">"?Gf(hf):jf==="/"?hf.state=qd.OPEN_TAG_SLASH:Vd(Bd,jf)?(hf.attribName=jf,hf.attribValue="",hf.state=qd.ATTRIB_NAME):Tf(hf,"Invalid attribute name");continue;case qd.ATTRIB_NAME:jf==="="?hf.state=qd.ATTRIB_VALUE:jf===">"?(Tf(hf,"Attribute without value"),hf.attribValue=hf.attribName,Jf(hf),Gf(hf)):Ld(jf)?hf.state=qd.ATTRIB_NAME_SAW_WHITE:Vd(Rd,jf)?hf.attribName+=jf:Tf(hf,"Invalid attribute name");continue;case qd.ATTRIB_NAME_SAW_WHITE:if(jf==="=")hf.state=qd.ATTRIB_VALUE;else{if(Ld(jf))continue;Tf(hf,"Attribute without value"),hf.tag.attributes[hf.attribName]="",hf.attribValue="",df(hf,"onattribute",{name:hf.attribName,value:""}),hf.attribName="",jf===">"?Gf(hf):Vd(Bd,jf)?(hf.attribName=jf,hf.state=qd.ATTRIB_NAME):(Tf(hf,"Invalid attribute name"),hf.state=qd.ATTRIB)}continue;case qd.ATTRIB_VALUE:if(Ld(jf))continue;Fd(jf)?(hf.q=jf,hf.state=qd.ATTRIB_VALUE_QUOTED):(hf.opt.unquotedAttributeValues||pf(hf,"Unquoted attribute value"),hf.state=qd.ATTRIB_VALUE_UNQUOTED,hf.attribValue=jf);continue;case qd.ATTRIB_VALUE_QUOTED:if(jf!==hf.q){jf==="&"?hf.state=qd.ATTRIB_VALUE_ENTITY_Q:hf.attribValue+=jf;continue}Jf(hf),hf.q="",hf.state=qd.ATTRIB_VALUE_CLOSED;continue;case qd.ATTRIB_VALUE_CLOSED:Ld(jf)?hf.state=qd.ATTRIB:jf===">"?Gf(hf):jf==="/"?hf.state=qd.OPEN_TAG_SLASH:Vd(Bd,jf)?(Tf(hf,"No whitespace between attributes"),hf.attribName=jf,hf.attribValue="",hf.state=qd.ATTRIB_NAME):Tf(hf,"Invalid attribute name");continue;case qd.ATTRIB_VALUE_UNQUOTED:if(!jd(jf)){jf==="&"?hf.state=qd.ATTRIB_VALUE_ENTITY_U:hf.attribValue+=jf;continue}Jf(hf),jf===">"?Gf(hf):hf.state=qd.ATTRIB;continue;case qd.CLOSE_TAG:if(hf.tagName)jf===">"?Mf(hf):Vd(Rd,jf)?hf.tagName+=jf:hf.script?(hf.script+=""?Mf(hf):Tf(hf,"Invalid characters in closing tag");continue;case qd.TEXT_ENTITY:case qd.ATTRIB_VALUE_ENTITY_Q:case qd.ATTRIB_VALUE_ENTITY_U:var wf,Yf;switch(hf.state){case qd.TEXT_ENTITY:wf=qd.TEXT,Yf="textNode";break;case qd.ATTRIB_VALUE_ENTITY_Q:wf=qd.ATTRIB_VALUE_QUOTED,Yf="attribValue";break;case qd.ATTRIB_VALUE_ENTITY_U:wf=qd.ATTRIB_VALUE_UNQUOTED,Yf="attribValue";break}if(jf===";"){var uh=Nf(hf);hf.opt.unparsedEntities&&!Object.values(qa.XML_ENTITIES).includes(uh)?(hf.entity="",hf.state=wf,hf.write(uh)):(hf[Yf]+=uh,hf.entity="",hf.state=wf)}else Vd(hf.entity.length?Md:Od,jf)?hf.entity+=jf:(Tf(hf,"Invalid character in entity name"),hf[Yf]+="&"+hf.entity+jf,hf.entity="",hf.state=wf);continue;default:throw new Error(hf,"Unknown state: "+hf.state)}return hf.position>=hf.bufferCheckPosition&&rd(hf),hf}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */String.fromCodePoint||function(){var yf=String.fromCharCode,hf=Math.floor,Rf=function(){var jf=16384,Kf=[],Ff,wf,Yf=-1,uh=arguments.length;if(!uh)return"";for(var Uf="";++Yf1114111||hf(Cf)!==Cf)throw RangeError("Invalid code point: "+Cf);Cf<=65535?Kf.push(Cf):(Cf-=65536,Ff=(Cf>>10)+55296,wf=Cf%1024+56320,Kf.push(Ff,wf)),(Yf+1===uh||Kf.length>jf)&&(Uf+=yf.apply(null,Kf),Kf.length=0)}return Uf};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:Rf,configurable:!0,writable:!0}):String.fromCodePoint=Rf}()})(Ra)}(sax)),sax}var bom={},hasRequiredBom;function requireBom(){return hasRequiredBom||(hasRequiredBom=1,(function(){bom.stripBOM=function(Ra){return Ra[0]==="\uFEFF"?Ra.substring(1):Ra}}).call(commonjsGlobal)),bom}var processors={},hasRequiredProcessors;function requireProcessors(){return hasRequiredProcessors||(hasRequiredProcessors=1,(function(){var Ra;Ra=new RegExp(/(?!xmlns)^.*:/),processors.normalize=function(qa){return qa.toLowerCase()},processors.firstCharLowerCase=function(qa){return qa.charAt(0).toLowerCase()+qa.slice(1)},processors.stripPrefix=function(qa){return qa.replace(Ra,"")},processors.parseNumbers=function(qa){return isNaN(qa)||(qa=qa%1===0?parseInt(qa,10):parseFloat(qa)),qa},processors.parseBooleans=function(qa){return/^(?:true|false)$/i.test(qa)&&(qa=qa.toLowerCase()==="true"),qa}}).call(commonjsGlobal)),processors}var main={},setImmediate$1={},hasRequiredSetImmediate;function requireSetImmediate(){if(hasRequiredSetImmediate)return setImmediate$1;hasRequiredSetImmediate=1;var Ra={version:"v20.17.0",versions:{node:"20.17.0",acorn:"8.11.3",ada:"2.9.0",ares:"1.32.3",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.2.2",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.13+quic",simdutf:"5.3.0",tz:"2024a",undici:"6.19.2",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-209717d"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule internal/idna","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/streams/utils","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/idna.js","lib/internal/inspector_async_hook.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_f474754f-950f-4d2e-994a-c524574e8031",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.17.0 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_f474754f-950f-4d2e-994a-c524574e8031",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.10.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu22",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"604",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",GOROOT_1_20_X64:"/opt/hostedtoolcache/go/1.20.14/x64",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20240915.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.7/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",JOURNAL_STREAM:"8:5513",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.17.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",npm_config_npm_version:"10.8.2",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"10931482109",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"30f0792baaad6e1889d29d0c00ae240dfec216c4",GITHUB_BASE_REF:"",ImageOS:"ubuntu22",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.17.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_8327e18c-9985-4d8c-819f-743e4582b3aa",INVOCATION_ID:"facc399a086f481090bef1701fa117fb",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"438",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 7",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"30f0792baaad6e1889d29d0c00ae240dfec216c4",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.17.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_f474754f-950f-4d2e-994a-c524574e8031",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_f474754f-950f-4d2e-994a-c524574e8031",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.1.12297006",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",STATS_EXTP:"https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_f474754f-950f-4d2e-994a-c524574e8031",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.17.0/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2081,ppid:2080,execPath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};return function(qa,ed){if(qa.setImmediate)return;var td=1,rd={},sd=!1,od=qa.document,ld;function ud(Md){typeof Md!="function"&&(Md=new Function(""+Md));for(var Ld=new Array(arguments.length-1),Fd=0;Fd"u"?commonjsGlobal:self),setImmediate$1}var hasRequiredMain;function requireMain(){if(hasRequiredMain)return main;hasRequiredMain=1;var Ra=typeof commonjsGlobal<"u"&&commonjsGlobal||typeof self<"u"&&self||window,qa=Function.prototype.apply;main.setTimeout=function(){return new ed(qa.call(setTimeout,Ra,arguments),clearTimeout)},main.setInterval=function(){return new ed(qa.call(setInterval,Ra,arguments),clearInterval)},main.clearTimeout=main.clearInterval=function(td){td&&td.close()};function ed(td,rd){this._id=td,this._clearFn=rd}return ed.prototype.unref=ed.prototype.ref=function(){},ed.prototype.close=function(){this._clearFn.call(Ra,this._id)},main.enroll=function(td,rd){clearTimeout(td._idleTimeoutId),td._idleTimeout=rd},main.unenroll=function(td){clearTimeout(td._idleTimeoutId),td._idleTimeout=-1},main._unrefActive=main.active=function(td){clearTimeout(td._idleTimeoutId);var rd=td._idleTimeout;rd>=0&&(td._idleTimeoutId=setTimeout(function(){td._onTimeout&&td._onTimeout()},rd))},requireSetImmediate(),main.setImmediate=typeof self<"u"&&self.setImmediate||typeof commonjsGlobal<"u"&&commonjsGlobal.setImmediate||commonjsGlobal&&commonjsGlobal.setImmediate,main.clearImmediate=typeof self<"u"&&self.clearImmediate||typeof commonjsGlobal<"u"&&commonjsGlobal.clearImmediate||commonjsGlobal&&commonjsGlobal.clearImmediate,main}var hasRequiredParser;function requireParser(){return hasRequiredParser||(hasRequiredParser=1,function(Ra){(function(){var qa,ed,td,rd,sd,od,ld,ud,cd=function(Ed,Ad){return function(){return Ed.apply(Ad,arguments)}},dd=function(Ed,Ad){for(var Td in Ad)_d.call(Ad,Td)&&(Ed[Td]=Ad[Td]);function Id(){this.constructor=Ed}return Id.prototype=Ad.prototype,Ed.prototype=new Id,Ed.__super__=Ad.prototype,Ed},_d={}.hasOwnProperty;ld=requireSax(),td=eventsExports,qa=requireBom(),od=requireProcessors(),ud=requireMain().setImmediate,ed=requireDefaults().defaults,rd=function(Ed){return typeof Ed=="object"&&Ed!=null&&Object.keys(Ed).length===0},sd=function(Ed,Ad,Td){var Id,Bd,Rd;for(Id=0,Bd=Ed.length;Id0&&(jd[Od.options.childkey]=Qd),Qd=jd;else if(Xd){Xd[Od.options.childkey]=Xd[Od.options.childkey]||[],qd=Object.create(null);for(Fd in Qd)_d.call(Qd,Fd)&&(qd[Fd]=Qd[Fd]);Xd[Od.options.childkey].push(qd),delete Qd["#name"],Object.keys(Qd).length===1&&Id in Qd&&!Od.EXPLICIT_CHARKEY&&(Qd=Qd[Id])}}return Rd.length>0?Od.assignOrPush(Xd,Vd,Qd):(Od.options.explicitRoot&&(Kd=Qd,Qd=Object.create(null),Qd[Vd]=Kd),Od.resultObject=Qd,Od.saxParser.ended=!0,Od.emit("end",Od.resultObject))}}(this),Bd=function(Od){return function(Md){var Ld,Fd;if(Fd=Rd[Rd.length-1],Fd)return Fd[Id]+=Md,Od.options.explicitChildren&&Od.options.preserveChildrenOrder&&Od.options.charsAsChildren&&(Od.options.includeWhiteChars||Md.replace(/\\n/g,"").trim()!=="")&&(Fd[Od.options.childkey]=Fd[Od.options.childkey]||[],Ld={"#name":"__text__"},Ld[Id]=Md,Od.options.normalize&&(Ld[Id]=Ld[Id].replace(/\s{2,}/g," ").trim()),Fd[Od.options.childkey].push(Ld)),Fd}}(this),this.saxParser.ontext=Bd,this.saxParser.oncdata=function(Od){return function(Md){var Ld;if(Ld=Bd(Md),Ld)return Ld.cdata=!0}}()},Ad.prototype.parseString=function(Td,Id){var Bd;Id!=null&&typeof Id=="function"&&(this.on("end",function(Rd){return this.reset(),Id(null,Rd)}),this.on("error",function(Rd){return this.reset(),Id(Rd)}));try{return Td=Td.toString(),Td.trim()===""?(this.emit("end",null),!0):(Td=qa.stripBOM(Td),this.options.async?(this.remaining=Td,ud(this.processAsync),this.saxParser):this.saxParser.write(Td).close())}catch(Rd){if(Bd=Rd,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw Bd}else return this.emit("error",Bd),this.saxParser.errThrown=!0}},Ad.prototype.parseStringPromise=function(Td){return new Promise(function(Id){return function(Bd,Rd){return Id.parseString(Td,function(Od,Md){return Od?Rd(Od):Bd(Md)})}}(this))},Ad}(td),Ra.parseString=function(Ed,Ad,Td){var Id,Bd,Rd;return Td!=null?(typeof Td=="function"&&(Id=Td),typeof Ad=="object"&&(Bd=Ad)):(typeof Ad=="function"&&(Id=Ad),Bd={}),Rd=new Ra.Parser(Bd),Rd.parseString(Ed,Id)},Ra.parseStringPromise=function(Ed,Ad){var Td,Id;return typeof Ad=="object"&&(Td=Ad),Id=new Ra.Parser(Td),Id.parseStringPromise(Ed)}}).call(commonjsGlobal)}(parser)),parser}(function(){var Ra,qa,ed,td,rd=function(od,ld){for(var ud in ld)sd.call(ld,ud)&&(od[ud]=ld[ud]);function cd(){this.constructor=od}return cd.prototype=ld.prototype,od.prototype=new cd,od.__super__=ld.prototype,od},sd={}.hasOwnProperty;qa=requireDefaults(),Ra=requireBuilder(),ed=requireParser(),td=requireProcessors(),xml2js.defaults=qa.defaults,xml2js.processors=td,xml2js.ValidationError=function(od){rd(ld,od);function ld(ud){this.message=ud}return ld}(Error),xml2js.Builder=Ra.Builder,xml2js.Parser=ed.Parser,xml2js.parseString=ed.parseString,xml2js.parseStringPromise=ed.parseStringPromise}).call(commonjsGlobal);class ExtendableError extends Error{constructor(qa,ed){super(qa,ed),this.name=this.constructor.name}}class AnonymousRequestError extends ExtendableError{}class InvalidArgumentError extends ExtendableError{}class InvalidEndpointError extends ExtendableError{}class InvalidBucketNameError extends ExtendableError{}class InvalidObjectNameError extends ExtendableError{}class AccessKeyRequiredError extends ExtendableError{}class SecretKeyRequiredError extends ExtendableError{}class ExpiresParamError extends ExtendableError{}class InvalidDateError extends ExtendableError{}class InvalidPrefixError extends ExtendableError{}class InvalidBucketPolicyError extends ExtendableError{}class InvalidXMLError extends ExtendableError{}class S3Error extends ExtendableError{}class IsValidBucketNameError extends ExtendableError{}var validator$3={},util$4={};(function(Ra){const qa=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",ed=qa+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",td="["+qa+"]["+ed+"]*",rd=new RegExp("^"+td+"$"),sd=function(ld,ud){const cd=[];let dd=ud.exec(ld);for(;dd;){const _d=[];_d.startIndex=ud.lastIndex-dd[0].length;const Ed=dd.length;for(let Ad=0;Ad"u")};Ra.isExist=function(ld){return typeof ld<"u"},Ra.isEmptyObject=function(ld){return Object.keys(ld).length===0},Ra.merge=function(ld,ud,cd){if(ud){const dd=Object.keys(ud),_d=dd.length;for(let Ed=0;Ed<_d;Ed++)cd==="strict"?ld[dd[Ed]]=[ud[dd[Ed]]]:ld[dd[Ed]]=ud[dd[Ed]]}},Ra.getValue=function(ld){return Ra.isExist(ld)?ld:""},Ra.isName=od,Ra.getAllMatches=sd,Ra.nameRegexp=td})(util$4);const util$3=util$4,defaultOptions$2={allowBooleanAttributes:!1,unpairedTags:[]};validator$3.validate=function(Ra,qa){qa=Object.assign({},defaultOptions$2,qa);const ed=[];let td=!1,rd=!1;Ra[0]==="\uFEFF"&&(Ra=Ra.substr(1));for(let sd=0;sd"&&Ra[sd]!==" "&&Ra[sd]!==" "&&Ra[sd]!==` -`&&Ra[sd]!=="\r";sd++)ud+=Ra[sd];if(ud=ud.trim(),ud[ud.length-1]==="/"&&(ud=ud.substring(0,ud.length-1),sd--),!validateTagName(ud)){let _d;return ud.trim().length===0?_d="Invalid space after '<'.":_d="Tag '"+ud+"' is an invalid name.",getErrorObject("InvalidTag",_d,getLineNumberForPosition(Ra,sd))}const cd=readAttributeStr(Ra,sd);if(cd===!1)return getErrorObject("InvalidAttr","Attributes for '"+ud+"' have open quote.",getLineNumberForPosition(Ra,sd));let dd=cd.value;if(sd=cd.index,dd[dd.length-1]==="/"){const _d=sd-dd.length;dd=dd.substring(0,dd.length-1);const Ed=validateAttributeString(dd,qa);if(Ed===!0)td=!0;else return getErrorObject(Ed.err.code,Ed.err.msg,getLineNumberForPosition(Ra,_d+Ed.err.line))}else if(ld)if(cd.tagClosed){if(dd.trim().length>0)return getErrorObject("InvalidTag","Closing tag '"+ud+"' can't have attributes or invalid starting.",getLineNumberForPosition(Ra,od));if(ed.length===0)return getErrorObject("InvalidTag","Closing tag '"+ud+"' has not been opened.",getLineNumberForPosition(Ra,od));{const _d=ed.pop();if(ud!==_d.tagName){let Ed=getLineNumberForPosition(Ra,_d.tagStartPos);return getErrorObject("InvalidTag","Expected closing tag '"+_d.tagName+"' (opened in line "+Ed.line+", col "+Ed.col+") instead of closing tag '"+ud+"'.",getLineNumberForPosition(Ra,od))}ed.length==0&&(rd=!0)}}else return getErrorObject("InvalidTag","Closing tag '"+ud+"' doesn't have proper closing.",getLineNumberForPosition(Ra,sd));else{const _d=validateAttributeString(dd,qa);if(_d!==!0)return getErrorObject(_d.err.code,_d.err.msg,getLineNumberForPosition(Ra,sd-dd.length+_d.err.line));if(rd===!0)return getErrorObject("InvalidXml","Multiple possible root nodes found.",getLineNumberForPosition(Ra,sd));qa.unpairedTags.indexOf(ud)!==-1||ed.push({tagName:ud,tagStartPos:od}),td=!0}for(sd++;sd0)return getErrorObject("InvalidXml","Invalid '"+JSON.stringify(ed.map(sd=>sd.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return getErrorObject("InvalidXml","Start tag expected.",1);return!0};function isWhiteSpace(Ra){return Ra===" "||Ra===" "||Ra===` -`||Ra==="\r"}function readPI(Ra,qa){const ed=qa;for(;qa5&&td==="xml")return getErrorObject("InvalidXml","XML declaration allowed only at the start of the document.",getLineNumberForPosition(Ra,qa));if(Ra[qa]=="?"&&Ra[qa+1]==">"){qa++;break}else continue}return qa}function readCommentAndCDATA(Ra,qa){if(Ra.length>qa+5&&Ra[qa+1]==="-"&&Ra[qa+2]==="-"){for(qa+=3;qa"){qa+=2;break}}else if(Ra.length>qa+8&&Ra[qa+1]==="D"&&Ra[qa+2]==="O"&&Ra[qa+3]==="C"&&Ra[qa+4]==="T"&&Ra[qa+5]==="Y"&&Ra[qa+6]==="P"&&Ra[qa+7]==="E"){let ed=1;for(qa+=8;qa"&&(ed--,ed===0))break}else if(Ra.length>qa+9&&Ra[qa+1]==="["&&Ra[qa+2]==="C"&&Ra[qa+3]==="D"&&Ra[qa+4]==="A"&&Ra[qa+5]==="T"&&Ra[qa+6]==="A"&&Ra[qa+7]==="["){for(qa+=8;qa"){qa+=2;break}}return qa}const doubleQuote='"',singleQuote="'";function readAttributeStr(Ra,qa){let ed="",td="",rd=!1;for(;qa"&&td===""){rd=!0;break}ed+=Ra[qa]}return td!==""?!1:{value:ed,index:qa,tagClosed:rd}}const validAttrStrRegxp=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function validateAttributeString(Ra,qa){const ed=util$3.getAllMatches(Ra,validAttrStrRegxp),td={};for(let rd=0;rd!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(Ra,qa,ed){return Ra}},buildOptions$1=function(Ra){return Object.assign({},defaultOptions$1,Ra)};OptionsBuilder.buildOptions=buildOptions$1;OptionsBuilder.defaultOptions=defaultOptions$1;class XmlNode{constructor(qa){this.tagname=qa,this.child=[],this[":@"]={}}add(qa,ed){qa==="__proto__"&&(qa="#__proto__"),this.child.push({[qa]:ed})}addChild(qa){qa.tagname==="__proto__"&&(qa.tagname="#__proto__"),qa[":@"]&&Object.keys(qa[":@"]).length>0?this.child.push({[qa.tagname]:qa.child,":@":qa[":@"]}):this.child.push({[qa.tagname]:qa.child})}}var xmlNode$1=XmlNode;const util$2=util$4;function readDocType$1(Ra,qa){const ed={};if(Ra[qa+3]==="O"&&Ra[qa+4]==="C"&&Ra[qa+5]==="T"&&Ra[qa+6]==="Y"&&Ra[qa+7]==="P"&&Ra[qa+8]==="E"){qa=qa+9;let td=1,rd=!1,sd=!1,od="";for(;qa"){if(sd?Ra[qa-1]==="-"&&Ra[qa-2]==="-"&&(sd=!1,td--):td--,td===0)break}else Ra[qa]==="["?rd=!0:od+=Ra[qa];if(td!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:ed,i:qa}}function readEntityExp(Ra,qa){let ed="";for(;qa0&&rd&&ed[2]!==".")return Ra;if(!qa.leadingZeros&&sd.length>0&&!rd&&ed[1]!==".")return Ra;{const ud=Number(ed),cd=""+ud;return cd.search(/[eE]/)!==-1||ld?qa.eNotation?ud:Ra:ed.indexOf(".")!==-1?cd==="0"&&od===""||cd===od||rd&&cd==="-"+od?ud:Ra:sd?od===cd||rd+od===cd?ud:Ra:ed===cd||ed===rd+cd?ud:Ra}}else return Ra}}function trimZeros(Ra){return Ra&&Ra.indexOf(".")!==-1&&(Ra=Ra.replace(/0+$/,""),Ra==="."?Ra="0":Ra[0]==="."?Ra="0"+Ra:Ra[Ra.length-1]==="."&&(Ra=Ra.substr(0,Ra.length-1))),Ra}var strnum=toNumber$1;function getIgnoreAttributesFn$2(Ra){return typeof Ra=="function"?Ra:Array.isArray(Ra)?qa=>{for(const ed of Ra)if(typeof ed=="string"&&qa===ed||ed instanceof RegExp&&ed.test(qa))return!0}:()=>!1}var ignoreAttributes=getIgnoreAttributesFn$2;const util$1=util$4,xmlNode=xmlNode$1,readDocType=DocTypeReader,toNumber=strnum,getIgnoreAttributesFn$1=ignoreAttributes;let OrderedObjParser$1=class{constructor(qa){this.options=qa,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(ed,td)=>String.fromCharCode(Number.parseInt(td,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(ed,td)=>String.fromCharCode(Number.parseInt(td,16))}},this.addExternalEntities=addExternalEntities,this.parseXml=parseXml$1,this.parseTextData=parseTextData,this.resolveNameSpace=resolveNameSpace,this.buildAttributesMap=buildAttributesMap,this.isItStopNode=isItStopNode,this.replaceEntitiesValue=replaceEntitiesValue$1,this.readStopNodeData=readStopNodeData,this.saveTextToParentTag=saveTextToParentTag,this.addChild=addChild,this.ignoreAttributesFn=getIgnoreAttributesFn$1(this.options.ignoreAttributes)}};function addExternalEntities(Ra){const qa=Object.keys(Ra);for(let ed=0;ed0)){od||(Ra=this.replaceEntitiesValue(Ra));const ld=this.options.tagValueProcessor(qa,Ra,ed,rd,sd);return ld==null?Ra:typeof ld!=typeof Ra||ld!==Ra?ld:this.options.trimValues?parseValue(Ra,this.options.parseTagValue,this.options.numberParseOptions):Ra.trim()===Ra?parseValue(Ra,this.options.parseTagValue,this.options.numberParseOptions):Ra}}function resolveNameSpace(Ra){if(this.options.removeNSPrefix){const qa=Ra.split(":"),ed=Ra.charAt(0)==="/"?"/":"";if(qa[0]==="xmlns")return"";qa.length===2&&(Ra=ed+qa[1])}return Ra}const attrsRegx=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function buildAttributesMap(Ra,qa,ed){if(this.options.ignoreAttributes!==!0&&typeof Ra=="string"){const td=util$1.getAllMatches(Ra,attrsRegx),rd=td.length,sd={};for(let od=0;od",sd,"Closing Tag is not closed.");let ud=Ra.substring(sd+2,ld).trim();if(this.options.removeNSPrefix){const _d=ud.indexOf(":");_d!==-1&&(ud=ud.substr(_d+1))}this.options.transformTagName&&(ud=this.options.transformTagName(ud)),ed&&(td=this.saveTextToParentTag(td,ed,rd));const cd=rd.substring(rd.lastIndexOf(".")+1);if(ud&&this.options.unpairedTags.indexOf(ud)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: `);let dd=0;cd&&this.options.unpairedTags.indexOf(cd)!==-1?(dd=rd.lastIndexOf(".",rd.lastIndexOf(".")-1),this.tagsNodeStack.pop()):dd=rd.lastIndexOf("."),rd=rd.substring(0,dd),ed=this.tagsNodeStack.pop(),td="",sd=ld}else if(Ra[sd+1]==="?"){let ld=readTagExp(Ra,sd,!1,"?>");if(!ld)throw new Error("Pi Tag is not closed.");if(td=this.saveTextToParentTag(td,ed,rd),!(this.options.ignoreDeclaration&&ld.tagName==="?xml"||this.options.ignorePiTags)){const ud=new xmlNode(ld.tagName);ud.add(this.options.textNodeName,""),ld.tagName!==ld.tagExp&&ld.attrExpPresent&&(ud[":@"]=this.buildAttributesMap(ld.tagExp,rd,ld.tagName)),this.addChild(ed,ud,rd)}sd=ld.closeIndex+1}else if(Ra.substr(sd+1,3)==="!--"){const ld=findClosingIndex(Ra,"-->",sd+4,"Comment is not closed.");if(this.options.commentPropName){const ud=Ra.substring(sd+4,ld-2);td=this.saveTextToParentTag(td,ed,rd),ed.add(this.options.commentPropName,[{[this.options.textNodeName]:ud}])}sd=ld}else if(Ra.substr(sd+1,2)==="!D"){const ld=readDocType(Ra,sd);this.docTypeEntities=ld.entities,sd=ld.i}else if(Ra.substr(sd+1,2)==="!["){const ld=findClosingIndex(Ra,"]]>",sd,"CDATA is not closed.")-2,ud=Ra.substring(sd+9,ld);td=this.saveTextToParentTag(td,ed,rd);let cd=this.parseTextData(ud,ed.tagname,rd,!0,!1,!0,!0);cd==null&&(cd=""),this.options.cdataPropName?ed.add(this.options.cdataPropName,[{[this.options.textNodeName]:ud}]):ed.add(this.options.textNodeName,cd),sd=ld+2}else{let ld=readTagExp(Ra,sd,this.options.removeNSPrefix),ud=ld.tagName;const cd=ld.rawTagName;let dd=ld.tagExp,_d=ld.attrExpPresent,Ed=ld.closeIndex;this.options.transformTagName&&(ud=this.options.transformTagName(ud)),ed&&td&&ed.tagname!=="!xml"&&(td=this.saveTextToParentTag(td,ed,rd,!1));const Ad=ed;if(Ad&&this.options.unpairedTags.indexOf(Ad.tagname)!==-1&&(ed=this.tagsNodeStack.pop(),rd=rd.substring(0,rd.lastIndexOf("."))),ud!==qa.tagname&&(rd+=rd?"."+ud:ud),this.isItStopNode(this.options.stopNodes,rd,ud)){let Td="";if(dd.length>0&&dd.lastIndexOf("/")===dd.length-1)ud[ud.length-1]==="/"?(ud=ud.substr(0,ud.length-1),rd=rd.substr(0,rd.length-1),dd=ud):dd=dd.substr(0,dd.length-1),sd=ld.closeIndex;else if(this.options.unpairedTags.indexOf(ud)!==-1)sd=ld.closeIndex;else{const Bd=this.readStopNodeData(Ra,cd,Ed+1);if(!Bd)throw new Error(`Unexpected end of ${cd}`);sd=Bd.i,Td=Bd.tagContent}const Id=new xmlNode(ud);ud!==dd&&_d&&(Id[":@"]=this.buildAttributesMap(dd,rd,ud)),Td&&(Td=this.parseTextData(Td,ud,rd,!0,_d,!0,!0)),rd=rd.substr(0,rd.lastIndexOf(".")),Id.add(this.options.textNodeName,Td),this.addChild(ed,Id,rd)}else{if(dd.length>0&&dd.lastIndexOf("/")===dd.length-1){ud[ud.length-1]==="/"?(ud=ud.substr(0,ud.length-1),rd=rd.substr(0,rd.length-1),dd=ud):dd=dd.substr(0,dd.length-1),this.options.transformTagName&&(ud=this.options.transformTagName(ud));const Td=new xmlNode(ud);ud!==dd&&_d&&(Td[":@"]=this.buildAttributesMap(dd,rd,ud)),this.addChild(ed,Td,rd),rd=rd.substr(0,rd.lastIndexOf("."))}else{const Td=new xmlNode(ud);this.tagsNodeStack.push(ed),ud!==dd&&_d&&(Td[":@"]=this.buildAttributesMap(dd,rd,ud)),this.addChild(ed,Td,rd),ed=Td}td="",sd=Ed}}else td+=Ra[sd];return qa.child};function addChild(Ra,qa,ed){const td=this.options.updateTag(qa.tagname,ed,qa[":@"]);td===!1||(typeof td=="string"&&(qa.tagname=td),Ra.addChild(qa))}const replaceEntitiesValue$1=function(Ra){if(this.options.processEntities){for(let qa in this.docTypeEntities){const ed=this.docTypeEntities[qa];Ra=Ra.replace(ed.regx,ed.val)}for(let qa in this.lastEntities){const ed=this.lastEntities[qa];Ra=Ra.replace(ed.regex,ed.val)}if(this.options.htmlEntities)for(let qa in this.htmlEntities){const ed=this.htmlEntities[qa];Ra=Ra.replace(ed.regex,ed.val)}Ra=Ra.replace(this.ampEntity.regex,this.ampEntity.val)}return Ra};function saveTextToParentTag(Ra,qa,ed,td){return Ra&&(td===void 0&&(td=Object.keys(qa.child).length===0),Ra=this.parseTextData(Ra,qa.tagname,ed,!1,qa[":@"]?Object.keys(qa[":@"]).length!==0:!1,td),Ra!==void 0&&Ra!==""&&qa.add(this.options.textNodeName,Ra),Ra=""),Ra}function isItStopNode(Ra,qa,ed){const td="*."+ed;for(const rd in Ra){const sd=Ra[rd];if(td===sd||qa===sd)return!0}return!1}function tagExpWithClosingIndex(Ra,qa,ed=">"){let td,rd="";for(let sd=qa;sd",ed,`${qa} is not closed`);if(Ra.substring(ed+2,sd).trim()===qa&&(rd--,rd===0))return{tagContent:Ra.substring(td,ed),i:sd};ed=sd}else if(Ra[ed+1]==="?")ed=findClosingIndex(Ra,"?>",ed+1,"StopNode is not closed.");else if(Ra.substr(ed+1,3)==="!--")ed=findClosingIndex(Ra,"-->",ed+3,"StopNode is not closed.");else if(Ra.substr(ed+1,2)==="![")ed=findClosingIndex(Ra,"]]>",ed,"StopNode is not closed.")-2;else{const sd=readTagExp(Ra,ed,">");sd&&((sd&&sd.tagName)===qa&&sd.tagExp[sd.tagExp.length-1]!=="/"&&rd++,ed=sd.closeIndex)}}function parseValue(Ra,qa,ed){if(qa&&typeof Ra=="string"){const td=Ra.trim();return td==="true"?!0:td==="false"?!1:toNumber(Ra,ed)}else return util$1.isExist(Ra)?Ra:""}var OrderedObjParser_1=OrderedObjParser$1,node2json={};function prettify$1(Ra,qa){return compress(Ra,qa)}function compress(Ra,qa,ed){let td;const rd={};for(let sd=0;sd0&&(rd[qa.textNodeName]=td):td!==void 0&&(rd[qa.textNodeName]=td),rd}function propName$1(Ra){const qa=Object.keys(Ra);for(let ed=0;ed0&&(ed=EOL),arrToStr(Ra,qa,"",ed)}function arrToStr(Ra,qa,ed,td){let rd="",sd=!1;for(let od=0;od`,sd=!1;continue}else if(ud===qa.commentPropName){rd+=td+``,sd=!0;continue}else if(ud[0]==="?"){const Td=attr_to_str(ld[":@"],qa),Id=ud==="?xml"?"":td;let Bd=ld[ud][0][qa.textNodeName];Bd=Bd.length!==0?" "+Bd:"",rd+=Id+`<${ud}${Bd}${Td}?>`,sd=!0;continue}let dd=td;dd!==""&&(dd+=qa.indentBy);const _d=attr_to_str(ld[":@"],qa),Ed=td+`<${ud}${_d}`,Ad=arrToStr(ld[ud],qa,cd,dd);qa.unpairedTags.indexOf(ud)!==-1?qa.suppressUnpairedNode?rd+=Ed+">":rd+=Ed+"/>":(!Ad||Ad.length===0)&&qa.suppressEmptyNode?rd+=Ed+"/>":Ad&&Ad.endsWith(">")?rd+=Ed+`>${Ad}${td}`:(rd+=Ed+">",Ad&&td!==""&&(Ad.includes("/>")||Ad.includes("`),sd=!0}return rd}function propName(Ra){const qa=Object.keys(Ra);for(let ed=0;ed0&&qa.processEntities)for(let ed=0;ed","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function Builder(Ra){this.options=Object.assign({},defaultOptions,Ra),this.options.ignoreAttributes===!0||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=getIgnoreAttributesFn(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=isAttribute),this.processTextOrObjNode=processTextOrObjNode,this.options.format?(this.indentate=indentate,this.tagEndChar=`> +`)+Dm+`return __p +}`;var E_=Z2(function(){return N_(fh,i_+"return "+Dm).apply(td,Mh)});if(E_.source=Dm,c2(E_))throw E_;return E_}function bA(Gd){return q_(Gd).toLowerCase()}function vA(Gd){return q_(Gd).toUpperCase()}function yA(Gd,Xd,yf){if(Gd=q_(Gd),Gd&&(yf||Xd===td))return Xm(Gd);if(!Gd||!(Xd=Xg(Xd)))return Gd;var Lf=v0(Gd),ah=v0(Xd),fh=R_(Lf,ah),Mh=vg(Lf,ah)+1;return rb(Lf,fh,Mh).join("")}function EA(Gd,Xd,yf){if(Gd=q_(Gd),Gd&&(yf||Xd===td))return Gd.slice(0,By(Gd)+1);if(!Gd||!(Xd=Xg(Xd)))return Gd;var Lf=v0(Gd),ah=vg(Lf,v0(Xd))+1;return rb(Lf,0,ah).join("")}function TA(Gd,Xd,yf){if(Gd=q_(Gd),Gd&&(yf||Xd===td))return Gd.replace(O_,"");if(!Gd||!(Xd=Xg(Xd)))return Gd;var Lf=v0(Gd),ah=R_(Lf,v0(Xd));return rb(Lf,ah).join("")}function SA(Gd,Xd){var yf=Qd,Lf=Jd;if(pg(Xd)){var ah="separator"in Xd?Xd.separator:ah;yf="length"in Xd?v_(Xd.length):yf,Lf="omission"in Xd?Xg(Xd.omission):Lf}Gd=q_(Gd);var fh=Gd.length;if(uv(Gd)){var Mh=v0(Gd);fh=Mh.length}if(yf>=fh)return Gd;var $h=yf-cv(Lf);if($h<1)return Lf;var qh=Mh?rb(Mh,0,$h).join(""):Gd.slice(0,$h);if(ah===td)return qh+Lf;if(Mh&&($h+=qh.length-$h),d2(ah)){if(Gd.slice($h).search(ah)){var Tm,Sm=qh;for(ah.global||(ah=Vv(ah.source,q_(yh.exec(ah))+"g")),ah.lastIndex=0;Tm=ah.exec(Sm);)var Dm=Tm.index;qh=qh.slice(0,Dm===td?$h:Dm)}}else if(Gd.indexOf(Xg(ah),$h)!=$h){var Km=qh.lastIndexOf(ah);Km>-1&&(qh=qh.slice(0,Km))}return qh+Lf}function xA(Gd){return Gd=q_(Gd),Gd&&e_.test(Gd)?Gd.replace(Rm,OE):Gd}var CA=Ov(function(Gd,Xd,yf){return Gd+(yf?" ":"")+Xd.toUpperCase()}),h2=hT("toUpperCase");function J2(Gd,Xd,yf){return Gd=q_(Gd),Xd=yf?td:Xd,Xd===td?NE(Gd)?kE(Gd):Iy(Gd):Gd.match(Xd)||[]}var Z2=b_(function(Gd,Xd){try{return Fg(Gd,td,Xd)}catch(yf){return c2(yf)?yf:new h_(yf)}}),AA=U0(function(Gd,Xd){return Vg(Xd,function(yf){yf=rg(yf),eb(Gd,yf,l2(Gd[yf],Gd))}),Gd});function wA(Gd){var Xd=Gd==null?0:Gd.length,yf=l_();return Gd=Xd?Y_(Gd,function(Lf){if(typeof Lf[1]!="function")throw new o0(sd);return[yf(Lf[0]),Lf[1]]}):[],b_(function(Lf){for(var ah=-1;++ahBf)return[];var yf=Vf,Lf=hg(Gd,Vf);Xd=l_(Xd),Gd-=Vf;for(var ah=Lm(Lf,Xd);++yf0||Xd<0)?new u_(yf):(Gd<0?yf=yf.takeRight(-Gd):Gd&&(yf=yf.drop(Gd)),Xd!==td&&(Xd=v_(Xd),yf=Xd<0?yf.dropRight(-Xd):yf.take(Xd-Gd)),yf)},u_.prototype.takeRightWhile=function(Gd){return this.reverse().takeWhile(Gd).reverse()},u_.prototype.toArray=function(){return this.take(Vf)},u0(u_.prototype,function(Gd,Xd){var yf=/^(?:filter|find|map|reject)|While$/.test(Xd),Lf=/^(?:head|last)$/.test(Xd),ah=ph[Lf?"take"+(Xd=="last"?"Right":""):Xd],fh=Lf||/^find/.test(Xd);ah&&(ph.prototype[Xd]=function(){var Mh=this.__wrapped__,$h=Lf?[1]:arguments,qh=Mh instanceof u_,Tm=$h[0],Sm=qh||g_(Mh),Dm=function(x_){var I_=ah.apply(ph,b0([x_],$h));return Lf&&Km?I_[0]:I_};Sm&&yf&&typeof Tm=="function"&&Tm.length!=1&&(qh=Sm=!1);var Km=this.__chain__,i_=!!this.__actions__.length,c_=fh&&!Km,E_=qh&&!i_;if(!fh&&Sm){Mh=E_?Mh:new u_(this);var d_=Gd.apply(Mh,$h);return d_.__actions__.push({func:TT,args:[Dm],thisArg:td}),new $_(d_,Km)}return c_&&E_?Gd.apply(this,$h):(d_=this.thru(Dm),c_?Lf?d_.value()[0]:d_.value():d_)})}),Vg(["pop","push","shift","sort","splice","unshift"],function(Gd){var Xd=O1[Gd],yf=/^(?:push|sort|unshift)$/.test(Gd)?"tap":"thru",Lf=/^(?:pop|shift)$/.test(Gd);ph.prototype[Gd]=function(){var ah=arguments;if(Lf&&!this.__chain__){var fh=this.value();return Xd.apply(g_(fh)?fh:[],ah)}return this[yf](function(Mh){return Xd.apply(g_(Mh)?Mh:[],ah)})}}),u0(u_.prototype,function(Gd,Xd){var yf=ph[Xd];if(yf){var Lf=yf.name+"";B_.call(Ub,Lf)||(Ub[Lf]=[]),Ub[Lf].push({name:Xd,func:yf})}}),Ub[K1(td,Rd).name]=[{name:"wrapper",func:td}],u_.prototype.clone=yg,u_.prototype.reverse=Xv,u_.prototype.value=$T,ph.prototype.at=ZS,ph.prototype.chain=ex,ph.prototype.commit=tx,ph.prototype.next=rx,ph.prototype.plant=ix,ph.prototype.reverse=ax,ph.prototype.toJSON=ph.prototype.valueOf=ph.prototype.value=sx,ph.prototype.first=ph.prototype.head,Lb&&(ph.prototype[Lb]=nx),ph},X0=Py();K0?((K0.exports=X0)._=X0,Uv._=X0):P_._=X0}).call(commonjsGlobal)})(lodash,lodash.exports);var lodashExports=lodash.exports;const _=getDefaultExportFromCjs(lodashExports);var queryString={},strictUriEncode=Ra=>encodeURIComponent(Ra).replace(/[!'()*]/g,qa=>`%${qa.charCodeAt(0).toString(16).toUpperCase()}`),token="%[a-f0-9]{2}",singleMatcher=new RegExp("("+token+")|([^%]+?)","gi"),multiMatcher=new RegExp("("+token+")+","gi");function decodeComponents(Ra,qa){try{return[decodeURIComponent(Ra.join(""))]}catch{}if(Ra.length===1)return Ra;qa=qa||1;var td=Ra.slice(0,qa),rd=Ra.slice(qa);return Array.prototype.concat.call([],decodeComponents(td),decodeComponents(rd))}function decode(Ra){try{return decodeURIComponent(Ra)}catch{for(var qa=Ra.match(singleMatcher)||[],td=1;td{if(!(typeof Ra=="string"&&typeof qa=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(qa==="")return[Ra];const td=Ra.indexOf(qa);return td===-1?[Ra]:[Ra.slice(0,td),Ra.slice(td+qa.length)]},filterObj=function(Ra,qa){for(var td={},rd=Object.keys(Ra),nd=Array.isArray(qa),ad=0;adOd==null,sd=Symbol("encodeFragmentIdentifier");function ud(Od){switch(Od.arrayFormat){case"index":return Md=>(jd,Ud)=>{const Hd=jd.length;return Ud===void 0||Od.skipNull&&Ud===null||Od.skipEmptyString&&Ud===""?jd:Ud===null?[...jd,[pd(Md,Od),"[",Hd,"]"].join("")]:[...jd,[pd(Md,Od),"[",pd(Hd,Od),"]=",pd(Ud,Od)].join("")]};case"bracket":return Md=>(jd,Ud)=>Ud===void 0||Od.skipNull&&Ud===null||Od.skipEmptyString&&Ud===""?jd:Ud===null?[...jd,[pd(Md,Od),"[]"].join("")]:[...jd,[pd(Md,Od),"[]=",pd(Ud,Od)].join("")];case"colon-list-separator":return Md=>(jd,Ud)=>Ud===void 0||Od.skipNull&&Ud===null||Od.skipEmptyString&&Ud===""?jd:Ud===null?[...jd,[pd(Md,Od),":list="].join("")]:[...jd,[pd(Md,Od),":list=",pd(Ud,Od)].join("")];case"comma":case"separator":case"bracket-separator":{const Md=Od.arrayFormat==="bracket-separator"?"[]=":"=";return jd=>(Ud,Hd)=>Hd===void 0||Od.skipNull&&Hd===null||Od.skipEmptyString&&Hd===""?Ud:(Hd=Hd===null?"":Hd,Ud.length===0?[[pd(jd,Od),Md,pd(Hd,Od)].join("")]:[[Ud,pd(Hd,Od)].join(Od.arrayFormatSeparator)])}default:return Md=>(jd,Ud)=>Ud===void 0||Od.skipNull&&Ud===null||Od.skipEmptyString&&Ud===""?jd:Ud===null?[...jd,pd(Md,Od)]:[...jd,[pd(Md,Od),"=",pd(Ud,Od)].join("")]}}function cd(Od){let Md;switch(Od.arrayFormat){case"index":return(jd,Ud,Hd)=>{if(Md=/\[(\d*)\]$/.exec(jd),jd=jd.replace(/\[\d*\]$/,""),!Md){Hd[jd]=Ud;return}Hd[jd]===void 0&&(Hd[jd]={}),Hd[jd][Md[1]]=Ud};case"bracket":return(jd,Ud,Hd)=>{if(Md=/(\[\])$/.exec(jd),jd=jd.replace(/\[\]$/,""),!Md){Hd[jd]=Ud;return}if(Hd[jd]===void 0){Hd[jd]=[Ud];return}Hd[jd]=[].concat(Hd[jd],Ud)};case"colon-list-separator":return(jd,Ud,Hd)=>{if(Md=/(:list)$/.exec(jd),jd=jd.replace(/:list$/,""),!Md){Hd[jd]=Ud;return}if(Hd[jd]===void 0){Hd[jd]=[Ud];return}Hd[jd]=[].concat(Hd[jd],Ud)};case"comma":case"separator":return(jd,Ud,Hd)=>{const zd=typeof Ud=="string"&&Ud.includes(Od.arrayFormatSeparator),Zd=typeof Ud=="string"&&!zd&&fd(Ud,Od).includes(Od.arrayFormatSeparator);Ud=Zd?fd(Ud,Od):Ud;const Wd=zd||Zd?Ud.split(Od.arrayFormatSeparator).map(Qd=>fd(Qd,Od)):Ud===null?Ud:fd(Ud,Od);Hd[jd]=Wd};case"bracket-separator":return(jd,Ud,Hd)=>{const zd=/(\[\])$/.test(jd);if(jd=jd.replace(/\[\]$/,""),!zd){Hd[jd]=Ud&&fd(Ud,Od);return}const Zd=Ud===null?[]:Ud.split(Od.arrayFormatSeparator).map(Wd=>fd(Wd,Od));if(Hd[jd]===void 0){Hd[jd]=Zd;return}Hd[jd]=[].concat(Hd[jd],Zd)};default:return(jd,Ud,Hd)=>{if(Hd[jd]===void 0){Hd[jd]=Ud;return}Hd[jd]=[].concat(Hd[jd],Ud)}}}function dd(Od){if(typeof Od!="string"||Od.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function pd(Od,Md){return Md.encode?Md.strict?qa(Od):encodeURIComponent(Od):Od}function fd(Od,Md){return Md.decode?td(Od):Od}function Td(Od){return Array.isArray(Od)?Od.sort():typeof Od=="object"?Td(Object.keys(Od)).sort((Md,jd)=>Number(Md)-Number(jd)).map(Md=>Od[Md]):Od}function Ad(Od){const Md=Od.indexOf("#");return Md!==-1&&(Od=Od.slice(0,Md)),Od}function Sd(Od){let Md="";const jd=Od.indexOf("#");return jd!==-1&&(Md=Od.slice(jd)),Md}function Dd(Od){Od=Ad(Od);const Md=Od.indexOf("?");return Md===-1?"":Od.slice(Md+1)}function Ld(Od,Md){return Md.parseNumbers&&!Number.isNaN(Number(Od))&&typeof Od=="string"&&Od.trim()!==""?Od=Number(Od):Md.parseBooleans&&Od!==null&&(Od.toLowerCase()==="true"||Od.toLowerCase()==="false")&&(Od=Od.toLowerCase()==="true"),Od}function Rd(Od,Md){Md=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},Md),dd(Md.arrayFormatSeparator);const jd=cd(Md),Ud=Object.create(null);if(typeof Od!="string"||(Od=Od.trim().replace(/^[?#&]/,""),!Od))return Ud;for(const Hd of Od.split("&")){if(Hd==="")continue;let[zd,Zd]=rd(Md.decode?Hd.replace(/\+/g," "):Hd,"=");Zd=Zd===void 0?null:["comma","separator","bracket-separator"].includes(Md.arrayFormat)?Zd:fd(Zd,Md),jd(fd(zd,Md),Zd,Ud)}for(const Hd of Object.keys(Ud)){const zd=Ud[Hd];if(typeof zd=="object"&&zd!==null)for(const Zd of Object.keys(zd))zd[Zd]=Ld(zd[Zd],Md);else Ud[Hd]=Ld(zd,Md)}return Md.sort===!1?Ud:(Md.sort===!0?Object.keys(Ud).sort():Object.keys(Ud).sort(Md.sort)).reduce((Hd,zd)=>{const Zd=Ud[zd];return Zd&&typeof Zd=="object"&&!Array.isArray(Zd)?Hd[zd]=Td(Zd):Hd[zd]=Zd,Hd},Object.create(null))}Ra.extract=Dd,Ra.parse=Rd,Ra.stringify=(Od,Md)=>{if(!Od)return"";Md=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},Md),dd(Md.arrayFormatSeparator);const jd=Zd=>Md.skipNull&&ad(Od[Zd])||Md.skipEmptyString&&Od[Zd]==="",Ud=ud(Md),Hd={};for(const Zd of Object.keys(Od))jd(Zd)||(Hd[Zd]=Od[Zd]);const zd=Object.keys(Hd);return Md.sort!==!1&&zd.sort(Md.sort),zd.map(Zd=>{const Wd=Od[Zd];return Wd===void 0?"":Wd===null?pd(Zd,Md):Array.isArray(Wd)?Wd.length===0&&Md.arrayFormat==="bracket-separator"?pd(Zd,Md)+"[]":Wd.reduce(Ud(Zd),[]).join("&"):pd(Zd,Md)+"="+pd(Wd,Md)}).filter(Zd=>Zd.length>0).join("&")},Ra.parseUrl=(Od,Md)=>{Md=Object.assign({decode:!0},Md);const[jd,Ud]=rd(Od,"#");return Object.assign({url:jd.split("?")[0]||"",query:Rd(Dd(Od),Md)},Md&&Md.parseFragmentIdentifier&&Ud?{fragmentIdentifier:fd(Ud,Md)}:{})},Ra.stringifyUrl=(Od,Md)=>{Md=Object.assign({encode:!0,strict:!0,[sd]:!0},Md);const jd=Ad(Od.url).split("?")[0]||"",Ud=Ra.extract(Od.url),Hd=Ra.parse(Ud,{sort:!1}),zd=Object.assign(Hd,Od.query);let Zd=Ra.stringify(zd,Md);Zd&&(Zd=`?${Zd}`);let Wd=Sd(Od.url);return Od.fragmentIdentifier&&(Wd=`#${Md[sd]?pd(Od.fragmentIdentifier,Md):Od.fragmentIdentifier}`),`${jd}${Zd}${Wd}`},Ra.pick=(Od,Md,jd)=>{jd=Object.assign({parseFragmentIdentifier:!0,[sd]:!1},jd);const{url:Ud,query:Hd,fragmentIdentifier:zd}=Ra.parseUrl(Od,jd);return Ra.stringifyUrl({url:Ud,query:nd(Hd,Md),fragmentIdentifier:zd},jd)},Ra.exclude=(Od,Md,jd)=>{const Ud=Array.isArray(Md)?Hd=>!Md.includes(Hd):(Hd,zd)=>!Md(Hd,zd);return Ra.pick(Od,Ud,jd)}})(queryString);const Encoder=TextEncoder;var xml$2={exports:{}},XML_CHARACTER_MAP={"&":"&",'"':""","'":"'","<":"<",">":">"};function escapeForXML$1(Ra){return Ra&&Ra.replace?Ra.replace(/([&"<>'])/g,function(qa,td){return XML_CHARACTER_MAP[td]}):Ra}var escapeForXML_1=escapeForXML$1,define_process_default$5={version:"v20.17.0",versions:{node:"20.17.0",acorn:"8.11.3",ada:"2.9.0",ares:"1.32.3",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.2.2",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.13+quic",simdutf:"5.3.0",tz:"2024a",undici:"6.19.2",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-209717d"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule internal/idna","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/streams/utils","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/idna.js","lib/internal/inspector_async_hook.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_fc48d429-f579-45e8-bf03-b8f40cba1391",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.17.0 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_fc48d429-f579-45e8-bf03-b8f40cba1391",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.10.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu22",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"610",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",GOROOT_1_20_X64:"/opt/hostedtoolcache/go/1.20.14/x64",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20240915.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.7/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",JOURNAL_STREAM:"8:6290",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.17.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",npm_config_npm_version:"10.8.2",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"11027463784",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"c7b0e027ac0b5d7e952b951cd0f0482584bacafc",GITHUB_BASE_REF:"",ImageOS:"ubuntu22",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.17.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_869f45d3-ff71-43f5-9b82-440d0334cd1b",INVOCATION_ID:"4184953ec64c49749c61dec1ef6bfa6c",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"439",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 9",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"c7b0e027ac0b5d7e952b951cd0f0482584bacafc",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.17.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_fc48d429-f579-45e8-bf03-b8f40cba1391",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_fc48d429-f579-45e8-bf03-b8f40cba1391",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.1.12297006",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",STATS_EXTP:"https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.189/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_fc48d429-f579-45e8-bf03-b8f40cba1391",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.17.0/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2041,ppid:2038,execPath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}},escapeForXML=escapeForXML_1,Stream=streamBrowserify.Stream,DEFAULT_INDENT=" ";function xml$1(Ra,qa){typeof qa!="object"&&(qa={indent:qa});var td=qa.stream?new Stream:null,rd="",nd=!1,ad=qa.indent?qa.indent===!0?DEFAULT_INDENT:qa.indent:"",sd=!0;function ud(Td){sd?define_process_default$5.nextTick(Td):Td()}function cd(Td,Ad){if(Ad!==void 0&&(rd+=Ad),Td&&!nd&&(td=td||new Stream,nd=!0),Td&&nd){var Sd=rd;ud(function(){td.emit("data",Sd)}),rd=""}}function dd(Td,Ad){format(cd,resolve(Td,ad,ad?1:0),Ad)}function pd(){if(td){var Td=rd;ud(function(){td.emit("data",Td),td.emit("end"),td.readable=!1,td.emit("close")})}}function fd(Td){var Ad=Td.encoding||"UTF-8",Sd={version:"1.0",encoding:Ad};Td.standalone&&(Sd.standalone=Td.standalone),dd({"?xml":{_attr:Sd}}),rd=rd.replace("/>","?>")}return ud(function(){sd=!1}),qa.declaration&&fd(qa.declaration),Ra&&Ra.forEach?Ra.forEach(function(Td,Ad){var Sd;Ad+1===Ra.length&&(Sd=pd),dd(Td,Sd)}):dd(Ra,pd),td?(td.readable=!0,td):rd}function element(){var Ra=Array.prototype.slice.call(arguments),qa={_elem:resolve(Ra)};return qa.push=function(td){if(!this.append)throw new Error("not assigned to a parent!");var rd=this,nd=this._elem.indent;format(this.append,resolve(td,nd,this._elem.icount+(nd?1:0)),function(){rd.append(!0)})},qa.close=function(td){td!==void 0&&this.push(td),this.end&&this.end()},qa}function create_indent(Ra,qa){return new Array(qa||0).join(Ra||"")}function resolve(Ra,qa,td){td=td||0;var rd=create_indent(qa,td),nd,ad=Ra,sd=!1;if(typeof Ra=="object"){var ud=Object.keys(Ra);if(nd=ud[0],ad=Ra[nd],ad&&ad._elem)return ad._elem.name=nd,ad._elem.icount=td,ad._elem.indent=qa,ad._elem.indents=rd,ad._elem.interrupt=ad,ad._elem}var cd=[],dd=[],pd;function fd(Td){var Ad=Object.keys(Td);Ad.forEach(function(Sd){cd.push(attribute(Sd,Td[Sd]))})}switch(typeof ad){case"object":if(ad===null)break;ad._attr&&fd(ad._attr),ad._cdata&&dd.push(("/g,"]]]]>")+"]]>"),ad.forEach&&(pd=!1,dd.push(""),ad.forEach(function(Td){if(typeof Td=="object"){var Ad=Object.keys(Td)[0];Ad=="_attr"?fd(Td._attr):dd.push(resolve(Td,qa,td+1))}else dd.pop(),pd=!0,dd.push(escapeForXML(Td))}),pd||dd.push(""));break;default:dd.push(escapeForXML(ad))}return{name:nd,interrupt:sd,attributes:cd,content:dd,icount:td,indents:rd,indent:qa}}function format(Ra,qa,td){if(typeof qa!="object")return Ra(!1,qa);var rd=qa.interrupt?1:qa.content.length;function nd(){for(;qa.content.length;){var sd=qa.content.shift();if(sd!==void 0){if(ad(sd))return;format(Ra,sd)}}Ra(!1,(rd>1?qa.indents:"")+(qa.name?"":"")+(qa.indent&&!td?` +`:"")),td&&td()}function ad(sd){return sd.interrupt?(sd.interrupt.append=Ra,sd.interrupt.end=nd,sd.interrupt=!1,Ra(!0),!0):!1}if(Ra(!1,qa.indents+(qa.name?"<"+qa.name:"")+(qa.attributes.length?" "+qa.attributes.join(" "):"")+(rd?qa.name?">":"":qa.name?"/>":"")+(qa.indent&&rd>1?` +`:"")),!rd)return Ra(!1,qa.indent?` +`:"");ad(qa)||nd()}function attribute(Ra,qa){return Ra+'="'+escapeForXML(qa)+'"'}xml$2.exports=xml$1;xml$2.exports.element=xml$2.exports.Element=element;var xmlExports=xml$2.exports;const Xml=getDefaultExportFromCjs(xmlExports);var xml2js={},defaults$1={},hasRequiredDefaults;function requireDefaults(){return hasRequiredDefaults||(hasRequiredDefaults=1,(function(){defaults$1.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:` +`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(commonjsGlobal)),defaults$1}var builder={},lib$2={},Utility={},hasRequiredUtility;function requireUtility(){return hasRequiredUtility||(hasRequiredUtility=1,(function(){var Ra,qa,td,rd,nd,ad,sd,ud=[].slice,cd={}.hasOwnProperty;Ra=function(){var dd,pd,fd,Td,Ad,Sd;if(Sd=arguments[0],Ad=2<=arguments.length?ud.call(arguments,1):[],nd(Object.assign))Object.assign.apply(null,arguments);else for(dd=0,fd=Ad.length;dd":"attribute: {"+td+"}, parent: <"+this.parent.name+">"},qa.prototype.isEqualNode=function(td){return!(td.namespaceURI!==this.namespaceURI||td.prefix!==this.prefix||td.localName!==this.localName||td.value!==this.value)},qa}()}).call(commonjsGlobal)),XMLAttribute.exports}var XMLNamedNodeMap={exports:{}},hasRequiredXMLNamedNodeMap;function requireXMLNamedNodeMap(){return hasRequiredXMLNamedNodeMap||(hasRequiredXMLNamedNodeMap=1,(function(){XMLNamedNodeMap.exports=function(){function Ra(qa){this.nodes=qa}return Object.defineProperty(Ra.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),Ra.prototype.clone=function(){return this.nodes=null},Ra.prototype.getNamedItem=function(qa){return this.nodes[qa]},Ra.prototype.setNamedItem=function(qa){var td;return td=this.nodes[qa.nodeName],this.nodes[qa.nodeName]=qa,td||null},Ra.prototype.removeNamedItem=function(qa){var td;return td=this.nodes[qa],delete this.nodes[qa],td||null},Ra.prototype.item=function(qa){return this.nodes[Object.keys(this.nodes)[qa]]||null},Ra.prototype.getNamedItemNS=function(qa,td){throw new Error("This DOM method is not implemented.")},Ra.prototype.setNamedItemNS=function(qa){throw new Error("This DOM method is not implemented.")},Ra.prototype.removeNamedItemNS=function(qa,td){throw new Error("This DOM method is not implemented.")},Ra}()}).call(commonjsGlobal)),XMLNamedNodeMap.exports}var hasRequiredXMLElement;function requireXMLElement(){return hasRequiredXMLElement||(hasRequiredXMLElement=1,(function(){var Ra,qa,td,rd,nd,ad,sd,ud,cd=function(pd,fd){for(var Td in fd)dd.call(fd,Td)&&(pd[Td]=fd[Td]);function Ad(){this.constructor=pd}return Ad.prototype=fd.prototype,pd.prototype=new Ad,pd.__super__=fd.prototype,pd},dd={}.hasOwnProperty;ud=requireUtility(),sd=ud.isObject,ad=ud.isFunction,nd=ud.getValue,rd=requireXMLNode(),Ra=requireNodeType(),qa=requireXMLAttribute(),td=requireXMLNamedNodeMap(),XMLElement.exports=function(pd){cd(fd,pd);function fd(Td,Ad,Sd){var Dd,Ld,Rd,Od;if(fd.__super__.constructor.call(this,Td),Ad==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(Ad),this.type=Ra.Element,this.attribs={},this.schemaTypeInfo=null,Sd!=null&&this.attribute(Sd),Td.type===Ra.Document&&(this.isRoot=!0,this.documentObject=Td,Td.rootObject=this,Td.children)){for(Od=Td.children,Ld=0,Rd=Od.length;Ld=Dd;Ad=0<=Dd?++Sd:--Sd)if(!this.attribs[Ad].isEqualNode(Td.attribs[Ad]))return!1;return!0},fd}(rd)}).call(commonjsGlobal)),XMLElement.exports}var XMLCData={exports:{}},XMLCharacterData={exports:{}},hasRequiredXMLCharacterData;function requireXMLCharacterData(){return hasRequiredXMLCharacterData||(hasRequiredXMLCharacterData=1,(function(){var Ra,qa=function(rd,nd){for(var ad in nd)td.call(nd,ad)&&(rd[ad]=nd[ad]);function sd(){this.constructor=rd}return sd.prototype=nd.prototype,rd.prototype=new sd,rd.__super__=nd.prototype,rd},td={}.hasOwnProperty;Ra=requireXMLNode(),XMLCharacterData.exports=function(rd){qa(nd,rd);function nd(ad){nd.__super__.constructor.call(this,ad),this.value=""}return Object.defineProperty(nd.prototype,"data",{get:function(){return this.value},set:function(ad){return this.value=ad||""}}),Object.defineProperty(nd.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(nd.prototype,"textContent",{get:function(){return this.value},set:function(ad){return this.value=ad||""}}),nd.prototype.clone=function(){return Object.create(this)},nd.prototype.substringData=function(ad,sd){throw new Error("This DOM method is not implemented."+this.debugInfo())},nd.prototype.appendData=function(ad){throw new Error("This DOM method is not implemented."+this.debugInfo())},nd.prototype.insertData=function(ad,sd){throw new Error("This DOM method is not implemented."+this.debugInfo())},nd.prototype.deleteData=function(ad,sd){throw new Error("This DOM method is not implemented."+this.debugInfo())},nd.prototype.replaceData=function(ad,sd,ud){throw new Error("This DOM method is not implemented."+this.debugInfo())},nd.prototype.isEqualNode=function(ad){return!(!nd.__super__.isEqualNode.apply(this,arguments).isEqualNode(ad)||ad.data!==this.data)},nd}(Ra)}).call(commonjsGlobal)),XMLCharacterData.exports}var hasRequiredXMLCData;function requireXMLCData(){return hasRequiredXMLCData||(hasRequiredXMLCData=1,(function(){var Ra,qa,td=function(nd,ad){for(var sd in ad)rd.call(ad,sd)&&(nd[sd]=ad[sd]);function ud(){this.constructor=nd}return ud.prototype=ad.prototype,nd.prototype=new ud,nd.__super__=ad.prototype,nd},rd={}.hasOwnProperty;Ra=requireNodeType(),qa=requireXMLCharacterData(),XMLCData.exports=function(nd){td(ad,nd);function ad(sd,ud){if(ad.__super__.constructor.call(this,sd),ud==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=Ra.CData,this.value=this.stringify.cdata(ud)}return ad.prototype.clone=function(){return Object.create(this)},ad.prototype.toString=function(sd){return this.options.writer.cdata(this,this.options.writer.filterOptions(sd))},ad}(qa)}).call(commonjsGlobal)),XMLCData.exports}var XMLComment={exports:{}},hasRequiredXMLComment;function requireXMLComment(){return hasRequiredXMLComment||(hasRequiredXMLComment=1,(function(){var Ra,qa,td=function(nd,ad){for(var sd in ad)rd.call(ad,sd)&&(nd[sd]=ad[sd]);function ud(){this.constructor=nd}return ud.prototype=ad.prototype,nd.prototype=new ud,nd.__super__=ad.prototype,nd},rd={}.hasOwnProperty;Ra=requireNodeType(),qa=requireXMLCharacterData(),XMLComment.exports=function(nd){td(ad,nd);function ad(sd,ud){if(ad.__super__.constructor.call(this,sd),ud==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=Ra.Comment,this.value=this.stringify.comment(ud)}return ad.prototype.clone=function(){return Object.create(this)},ad.prototype.toString=function(sd){return this.options.writer.comment(this,this.options.writer.filterOptions(sd))},ad}(qa)}).call(commonjsGlobal)),XMLComment.exports}var XMLDeclaration={exports:{}},hasRequiredXMLDeclaration;function requireXMLDeclaration(){return hasRequiredXMLDeclaration||(hasRequiredXMLDeclaration=1,(function(){var Ra,qa,td,rd=function(ad,sd){for(var ud in sd)nd.call(sd,ud)&&(ad[ud]=sd[ud]);function cd(){this.constructor=ad}return cd.prototype=sd.prototype,ad.prototype=new cd,ad.__super__=sd.prototype,ad},nd={}.hasOwnProperty;td=requireUtility().isObject,qa=requireXMLNode(),Ra=requireNodeType(),XMLDeclaration.exports=function(ad){rd(sd,ad);function sd(ud,cd,dd,pd){var fd;sd.__super__.constructor.call(this,ud),td(cd)&&(fd=cd,cd=fd.version,dd=fd.encoding,pd=fd.standalone),cd||(cd="1.0"),this.type=Ra.Declaration,this.version=this.stringify.xmlVersion(cd),dd!=null&&(this.encoding=this.stringify.xmlEncoding(dd)),pd!=null&&(this.standalone=this.stringify.xmlStandalone(pd))}return sd.prototype.toString=function(ud){return this.options.writer.declaration(this,this.options.writer.filterOptions(ud))},sd}(qa)}).call(commonjsGlobal)),XMLDeclaration.exports}var XMLDocType={exports:{}},XMLDTDAttList={exports:{}},hasRequiredXMLDTDAttList;function requireXMLDTDAttList(){return hasRequiredXMLDTDAttList||(hasRequiredXMLDTDAttList=1,(function(){var Ra,qa,td=function(nd,ad){for(var sd in ad)rd.call(ad,sd)&&(nd[sd]=ad[sd]);function ud(){this.constructor=nd}return ud.prototype=ad.prototype,nd.prototype=new ud,nd.__super__=ad.prototype,nd},rd={}.hasOwnProperty;qa=requireXMLNode(),Ra=requireNodeType(),XMLDTDAttList.exports=function(nd){td(ad,nd);function ad(sd,ud,cd,dd,pd,fd){if(ad.__super__.constructor.call(this,sd),ud==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(cd==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(ud));if(!dd)throw new Error("Missing DTD attribute type. "+this.debugInfo(ud));if(!pd)throw new Error("Missing DTD attribute default. "+this.debugInfo(ud));if(pd.indexOf("#")!==0&&(pd="#"+pd),!pd.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(ud));if(fd&&!pd.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(ud));this.elementName=this.stringify.name(ud),this.type=Ra.AttributeDeclaration,this.attributeName=this.stringify.name(cd),this.attributeType=this.stringify.dtdAttType(dd),fd&&(this.defaultValue=this.stringify.dtdAttDefault(fd)),this.defaultValueType=pd}return ad.prototype.toString=function(sd){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(sd))},ad}(qa)}).call(commonjsGlobal)),XMLDTDAttList.exports}var XMLDTDEntity={exports:{}},hasRequiredXMLDTDEntity;function requireXMLDTDEntity(){return hasRequiredXMLDTDEntity||(hasRequiredXMLDTDEntity=1,(function(){var Ra,qa,td,rd=function(ad,sd){for(var ud in sd)nd.call(sd,ud)&&(ad[ud]=sd[ud]);function cd(){this.constructor=ad}return cd.prototype=sd.prototype,ad.prototype=new cd,ad.__super__=sd.prototype,ad},nd={}.hasOwnProperty;td=requireUtility().isObject,qa=requireXMLNode(),Ra=requireNodeType(),XMLDTDEntity.exports=function(ad){rd(sd,ad);function sd(ud,cd,dd,pd){if(sd.__super__.constructor.call(this,ud),dd==null)throw new Error("Missing DTD entity name. "+this.debugInfo(dd));if(pd==null)throw new Error("Missing DTD entity value. "+this.debugInfo(dd));if(this.pe=!!cd,this.name=this.stringify.name(dd),this.type=Ra.EntityDeclaration,!td(pd))this.value=this.stringify.dtdEntityValue(pd),this.internal=!0;else{if(!pd.pubID&&!pd.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(dd));if(pd.pubID&&!pd.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(dd));if(this.internal=!1,pd.pubID!=null&&(this.pubID=this.stringify.dtdPubID(pd.pubID)),pd.sysID!=null&&(this.sysID=this.stringify.dtdSysID(pd.sysID)),pd.nData!=null&&(this.nData=this.stringify.dtdNData(pd.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(dd))}}return Object.defineProperty(sd.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(sd.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(sd.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(sd.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(sd.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(sd.prototype,"xmlVersion",{get:function(){return null}}),sd.prototype.toString=function(ud){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(ud))},sd}(qa)}).call(commonjsGlobal)),XMLDTDEntity.exports}var XMLDTDElement={exports:{}},hasRequiredXMLDTDElement;function requireXMLDTDElement(){return hasRequiredXMLDTDElement||(hasRequiredXMLDTDElement=1,(function(){var Ra,qa,td=function(nd,ad){for(var sd in ad)rd.call(ad,sd)&&(nd[sd]=ad[sd]);function ud(){this.constructor=nd}return ud.prototype=ad.prototype,nd.prototype=new ud,nd.__super__=ad.prototype,nd},rd={}.hasOwnProperty;qa=requireXMLNode(),Ra=requireNodeType(),XMLDTDElement.exports=function(nd){td(ad,nd);function ad(sd,ud,cd){if(ad.__super__.constructor.call(this,sd),ud==null)throw new Error("Missing DTD element name. "+this.debugInfo());cd||(cd="(#PCDATA)"),Array.isArray(cd)&&(cd="("+cd.join(",")+")"),this.name=this.stringify.name(ud),this.type=Ra.ElementDeclaration,this.value=this.stringify.dtdElementValue(cd)}return ad.prototype.toString=function(sd){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(sd))},ad}(qa)}).call(commonjsGlobal)),XMLDTDElement.exports}var XMLDTDNotation={exports:{}},hasRequiredXMLDTDNotation;function requireXMLDTDNotation(){return hasRequiredXMLDTDNotation||(hasRequiredXMLDTDNotation=1,(function(){var Ra,qa,td=function(nd,ad){for(var sd in ad)rd.call(ad,sd)&&(nd[sd]=ad[sd]);function ud(){this.constructor=nd}return ud.prototype=ad.prototype,nd.prototype=new ud,nd.__super__=ad.prototype,nd},rd={}.hasOwnProperty;qa=requireXMLNode(),Ra=requireNodeType(),XMLDTDNotation.exports=function(nd){td(ad,nd);function ad(sd,ud,cd){if(ad.__super__.constructor.call(this,sd),ud==null)throw new Error("Missing DTD notation name. "+this.debugInfo(ud));if(!cd.pubID&&!cd.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(ud));this.name=this.stringify.name(ud),this.type=Ra.NotationDeclaration,cd.pubID!=null&&(this.pubID=this.stringify.dtdPubID(cd.pubID)),cd.sysID!=null&&(this.sysID=this.stringify.dtdSysID(cd.sysID))}return Object.defineProperty(ad.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(ad.prototype,"systemId",{get:function(){return this.sysID}}),ad.prototype.toString=function(sd){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(sd))},ad}(qa)}).call(commonjsGlobal)),XMLDTDNotation.exports}var hasRequiredXMLDocType;function requireXMLDocType(){return hasRequiredXMLDocType||(hasRequiredXMLDocType=1,(function(){var Ra,qa,td,rd,nd,ad,sd,ud,cd=function(pd,fd){for(var Td in fd)dd.call(fd,Td)&&(pd[Td]=fd[Td]);function Ad(){this.constructor=pd}return Ad.prototype=fd.prototype,pd.prototype=new Ad,pd.__super__=fd.prototype,pd},dd={}.hasOwnProperty;ud=requireUtility().isObject,sd=requireXMLNode(),Ra=requireNodeType(),qa=requireXMLDTDAttList(),rd=requireXMLDTDEntity(),td=requireXMLDTDElement(),nd=requireXMLDTDNotation(),ad=requireXMLNamedNodeMap(),XMLDocType.exports=function(pd){cd(fd,pd);function fd(Td,Ad,Sd){var Dd,Ld,Rd,Od,Md,jd;if(fd.__super__.constructor.call(this,Td),this.type=Ra.DocType,Td.children){for(Od=Td.children,Ld=0,Rd=Od.length;Ld":(Ud=this.parent)!=null&&Ud.name?"node: <"+Md+">, parent: <"+this.parent.name+">":"node: <"+Md+">"},Od.prototype.ele=function(Md,jd,Ud){return this.element(Md,jd,Ud)},Od.prototype.nod=function(Md,jd,Ud){return this.node(Md,jd,Ud)},Od.prototype.txt=function(Md){return this.text(Md)},Od.prototype.dat=function(Md){return this.cdata(Md)},Od.prototype.com=function(Md){return this.comment(Md)},Od.prototype.ins=function(Md,jd){return this.instruction(Md,jd)},Od.prototype.doc=function(){return this.document()},Od.prototype.dec=function(Md,jd,Ud){return this.declaration(Md,jd,Ud)},Od.prototype.e=function(Md,jd,Ud){return this.element(Md,jd,Ud)},Od.prototype.n=function(Md,jd,Ud){return this.node(Md,jd,Ud)},Od.prototype.t=function(Md){return this.text(Md)},Od.prototype.d=function(Md){return this.cdata(Md)},Od.prototype.c=function(Md){return this.comment(Md)},Od.prototype.r=function(Md){return this.raw(Md)},Od.prototype.i=function(Md,jd){return this.instruction(Md,jd)},Od.prototype.u=function(){return this.up()},Od.prototype.importXMLBuilder=function(Md){return this.importDocument(Md)},Od.prototype.replaceChild=function(Md,jd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Od.prototype.removeChild=function(Md){throw new Error("This DOM method is not implemented."+this.debugInfo())},Od.prototype.appendChild=function(Md){throw new Error("This DOM method is not implemented."+this.debugInfo())},Od.prototype.hasChildNodes=function(){return this.children.length!==0},Od.prototype.cloneNode=function(Md){throw new Error("This DOM method is not implemented."+this.debugInfo())},Od.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},Od.prototype.isSupported=function(Md,jd){return!0},Od.prototype.hasAttributes=function(){return this.attribs.length!==0},Od.prototype.compareDocumentPosition=function(Md){var jd,Ud;return jd=this,jd===Md?0:this.document()!==Md.document()?(Ud=Ra.Disconnected|Ra.ImplementationSpecific,Math.random()<.5?Ud|=Ra.Preceding:Ud|=Ra.Following,Ud):jd.isAncestor(Md)?Ra.Contains|Ra.Preceding:jd.isDescendant(Md)?Ra.Contains|Ra.Following:jd.isPreceding(Md)?Ra.Preceding:Ra.Following},Od.prototype.isSameNode=function(Md){throw new Error("This DOM method is not implemented."+this.debugInfo())},Od.prototype.lookupPrefix=function(Md){throw new Error("This DOM method is not implemented."+this.debugInfo())},Od.prototype.isDefaultNamespace=function(Md){throw new Error("This DOM method is not implemented."+this.debugInfo())},Od.prototype.lookupNamespaceURI=function(Md){throw new Error("This DOM method is not implemented."+this.debugInfo())},Od.prototype.isEqualNode=function(Md){var jd,Ud,Hd;if(Md.nodeType!==this.nodeType||Md.children.length!==this.children.length)return!1;for(jd=Ud=0,Hd=this.children.length-1;0<=Hd?Ud<=Hd:Ud>=Hd;jd=0<=Hd?++Ud:--Ud)if(!this.children[jd].isEqualNode(Md.children[jd]))return!1;return!0},Od.prototype.getFeature=function(Md,jd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Od.prototype.setUserData=function(Md,jd,Ud){throw new Error("This DOM method is not implemented."+this.debugInfo())},Od.prototype.getUserData=function(Md){throw new Error("This DOM method is not implemented."+this.debugInfo())},Od.prototype.contains=function(Md){return Md?Md===this||this.isDescendant(Md):!1},Od.prototype.isDescendant=function(Md){var jd,Ud,Hd,zd,Zd;for(Zd=this.children,Hd=0,zd=Zd.length;HdUd},Od.prototype.treePosition=function(Md){var jd,Ud;return Ud=0,jd=!1,this.foreachTreeNode(this.document(),function(Hd){if(Ud++,!jd&&Hd===Md)return jd=!0}),jd?Ud:-1},Od.prototype.foreachTreeNode=function(Md,jd){var Ud,Hd,zd,Zd,Wd;for(Md||(Md=this.document()),Zd=Md.children,Hd=0,zd=Zd.length;Hd","]]]]>"),this.assertLegalChar(rd))},td.prototype.comment=function(rd){if(this.options.noValidation)return rd;if(rd=""+rd||"",rd.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+rd);return this.assertLegalChar(rd)},td.prototype.raw=function(rd){return this.options.noValidation?rd:""+rd||""},td.prototype.attValue=function(rd){return this.options.noValidation?rd:this.assertLegalChar(this.attEscape(rd=""+rd||""))},td.prototype.insTarget=function(rd){return this.options.noValidation?rd:this.assertLegalChar(""+rd||"")},td.prototype.insValue=function(rd){if(this.options.noValidation)return rd;if(rd=""+rd||"",rd.match(/\?>/))throw new Error("Invalid processing instruction value: "+rd);return this.assertLegalChar(rd)},td.prototype.xmlVersion=function(rd){if(this.options.noValidation)return rd;if(rd=""+rd||"",!rd.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+rd);return rd},td.prototype.xmlEncoding=function(rd){if(this.options.noValidation)return rd;if(rd=""+rd||"",!rd.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+rd);return this.assertLegalChar(rd)},td.prototype.xmlStandalone=function(rd){return this.options.noValidation?rd:rd?"yes":"no"},td.prototype.dtdPubID=function(rd){return this.options.noValidation?rd:this.assertLegalChar(""+rd||"")},td.prototype.dtdSysID=function(rd){return this.options.noValidation?rd:this.assertLegalChar(""+rd||"")},td.prototype.dtdElementValue=function(rd){return this.options.noValidation?rd:this.assertLegalChar(""+rd||"")},td.prototype.dtdAttType=function(rd){return this.options.noValidation?rd:this.assertLegalChar(""+rd||"")},td.prototype.dtdAttDefault=function(rd){return this.options.noValidation?rd:this.assertLegalChar(""+rd||"")},td.prototype.dtdEntityValue=function(rd){return this.options.noValidation?rd:this.assertLegalChar(""+rd||"")},td.prototype.dtdNData=function(rd){return this.options.noValidation?rd:this.assertLegalChar(""+rd||"")},td.prototype.convertAttKey="@",td.prototype.convertPIKey="?",td.prototype.convertTextKey="#text",td.prototype.convertCDataKey="#cdata",td.prototype.convertCommentKey="#comment",td.prototype.convertRawKey="#raw",td.prototype.assertLegalChar=function(rd){var nd,ad;if(this.options.noValidation)return rd;if(nd="",this.options.version==="1.0"){if(nd=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ad=rd.match(nd))throw new Error("Invalid character in string: "+rd+" at index "+ad.index)}else if(this.options.version==="1.1"&&(nd=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ad=rd.match(nd)))throw new Error("Invalid character in string: "+rd+" at index "+ad.index);return rd},td.prototype.assertLegalName=function(rd){var nd;if(this.options.noValidation)return rd;if(this.assertLegalChar(rd),nd=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!rd.match(nd))throw new Error("Invalid character in name");return rd},td.prototype.textEscape=function(rd){var nd;return this.options.noValidation?rd:(nd=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,rd.replace(nd,"&").replace(//g,">").replace(/\r/g," "))},td.prototype.attEscape=function(rd){var nd;return this.options.noValidation?rd:(nd=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,rd.replace(nd,"&").replace(/0)?new Array(cd).join(sd.indent):""},nd.prototype.endline=function(ad,sd,ud){return!sd.pretty||sd.suppressPrettyCount?"":sd.newline},nd.prototype.attribute=function(ad,sd,ud){var cd;return this.openAttribute(ad,sd,ud),cd=" "+ad.name+'="'+ad.value+'"',this.closeAttribute(ad,sd,ud),cd},nd.prototype.cdata=function(ad,sd,ud){var cd;return this.openNode(ad,sd,ud),sd.state=qa.OpenTag,cd=this.indent(ad,sd,ud)+""+this.endline(ad,sd,ud),sd.state=qa.None,this.closeNode(ad,sd,ud),cd},nd.prototype.comment=function(ad,sd,ud){var cd;return this.openNode(ad,sd,ud),sd.state=qa.OpenTag,cd=this.indent(ad,sd,ud)+""+this.endline(ad,sd,ud),sd.state=qa.None,this.closeNode(ad,sd,ud),cd},nd.prototype.declaration=function(ad,sd,ud){var cd;return this.openNode(ad,sd,ud),sd.state=qa.OpenTag,cd=this.indent(ad,sd,ud)+"",cd+=this.endline(ad,sd,ud),sd.state=qa.None,this.closeNode(ad,sd,ud),cd},nd.prototype.docType=function(ad,sd,ud){var cd,dd,pd,fd,Td;if(ud||(ud=0),this.openNode(ad,sd,ud),sd.state=qa.OpenTag,fd=this.indent(ad,sd,ud),fd+="0){for(fd+=" [",fd+=this.endline(ad,sd,ud),sd.state=qa.InsideTag,Td=ad.children,dd=0,pd=Td.length;dd",fd+=this.endline(ad,sd,ud),sd.state=qa.None,this.closeNode(ad,sd,ud),fd},nd.prototype.element=function(ad,sd,ud){var cd,dd,pd,fd,Td,Ad,Sd,Dd,Ld,Rd,Od,Md,jd,Ud;ud||(ud=0),Rd=!1,Od="",this.openNode(ad,sd,ud),sd.state=qa.OpenTag,Od+=this.indent(ad,sd,ud)+"<"+ad.name,Md=ad.attribs;for(Ld in Md)rd.call(Md,Ld)&&(cd=Md[Ld],Od+=this.attribute(cd,sd,ud));if(pd=ad.children.length,fd=pd===0?null:ad.children[0],pd===0||ad.children.every(function(Hd){return(Hd.type===Ra.Text||Hd.type===Ra.Raw)&&Hd.value===""}))sd.allowEmpty?(Od+=">",sd.state=qa.CloseTag,Od+=""+this.endline(ad,sd,ud)):(sd.state=qa.CloseTag,Od+=sd.spaceBeforeSlash+"/>"+this.endline(ad,sd,ud));else if(sd.pretty&&pd===1&&(fd.type===Ra.Text||fd.type===Ra.Raw)&&fd.value!=null)Od+=">",sd.state=qa.InsideTag,sd.suppressPrettyCount++,Rd=!0,Od+=this.writeChildNode(fd,sd,ud+1),sd.suppressPrettyCount--,Rd=!1,sd.state=qa.CloseTag,Od+=""+this.endline(ad,sd,ud);else{if(sd.dontPrettyTextNodes){for(jd=ad.children,Td=0,Sd=jd.length;Td"+this.endline(ad,sd,ud),sd.state=qa.InsideTag,Ud=ad.children,Ad=0,Dd=Ud.length;Ad",Rd&&sd.suppressPrettyCount--,Od+=this.endline(ad,sd,ud),sd.state=qa.None}return this.closeNode(ad,sd,ud),Od},nd.prototype.writeChildNode=function(ad,sd,ud){switch(ad.type){case Ra.CData:return this.cdata(ad,sd,ud);case Ra.Comment:return this.comment(ad,sd,ud);case Ra.Element:return this.element(ad,sd,ud);case Ra.Raw:return this.raw(ad,sd,ud);case Ra.Text:return this.text(ad,sd,ud);case Ra.ProcessingInstruction:return this.processingInstruction(ad,sd,ud);case Ra.Dummy:return"";case Ra.Declaration:return this.declaration(ad,sd,ud);case Ra.DocType:return this.docType(ad,sd,ud);case Ra.AttributeDeclaration:return this.dtdAttList(ad,sd,ud);case Ra.ElementDeclaration:return this.dtdElement(ad,sd,ud);case Ra.EntityDeclaration:return this.dtdEntity(ad,sd,ud);case Ra.NotationDeclaration:return this.dtdNotation(ad,sd,ud);default:throw new Error("Unknown XML node type: "+ad.constructor.name)}},nd.prototype.processingInstruction=function(ad,sd,ud){var cd;return this.openNode(ad,sd,ud),sd.state=qa.OpenTag,cd=this.indent(ad,sd,ud)+"",cd+=this.endline(ad,sd,ud),sd.state=qa.None,this.closeNode(ad,sd,ud),cd},nd.prototype.raw=function(ad,sd,ud){var cd;return this.openNode(ad,sd,ud),sd.state=qa.OpenTag,cd=this.indent(ad,sd,ud),sd.state=qa.InsideTag,cd+=ad.value,sd.state=qa.CloseTag,cd+=this.endline(ad,sd,ud),sd.state=qa.None,this.closeNode(ad,sd,ud),cd},nd.prototype.text=function(ad,sd,ud){var cd;return this.openNode(ad,sd,ud),sd.state=qa.OpenTag,cd=this.indent(ad,sd,ud),sd.state=qa.InsideTag,cd+=ad.value,sd.state=qa.CloseTag,cd+=this.endline(ad,sd,ud),sd.state=qa.None,this.closeNode(ad,sd,ud),cd},nd.prototype.dtdAttList=function(ad,sd,ud){var cd;return this.openNode(ad,sd,ud),sd.state=qa.OpenTag,cd=this.indent(ad,sd,ud)+""+this.endline(ad,sd,ud),sd.state=qa.None,this.closeNode(ad,sd,ud),cd},nd.prototype.dtdElement=function(ad,sd,ud){var cd;return this.openNode(ad,sd,ud),sd.state=qa.OpenTag,cd=this.indent(ad,sd,ud)+""+this.endline(ad,sd,ud),sd.state=qa.None,this.closeNode(ad,sd,ud),cd},nd.prototype.dtdEntity=function(ad,sd,ud){var cd;return this.openNode(ad,sd,ud),sd.state=qa.OpenTag,cd=this.indent(ad,sd,ud)+""+this.endline(ad,sd,ud),sd.state=qa.None,this.closeNode(ad,sd,ud),cd},nd.prototype.dtdNotation=function(ad,sd,ud){var cd;return this.openNode(ad,sd,ud),sd.state=qa.OpenTag,cd=this.indent(ad,sd,ud)+""+this.endline(ad,sd,ud),sd.state=qa.None,this.closeNode(ad,sd,ud),cd},nd.prototype.openNode=function(ad,sd,ud){},nd.prototype.closeNode=function(ad,sd,ud){},nd.prototype.openAttribute=function(ad,sd,ud){},nd.prototype.closeAttribute=function(ad,sd,ud){},nd}()}).call(commonjsGlobal)),XMLWriterBase.exports}var hasRequiredXMLStringWriter;function requireXMLStringWriter(){return hasRequiredXMLStringWriter||(hasRequiredXMLStringWriter=1,(function(){var Ra,qa=function(rd,nd){for(var ad in nd)td.call(nd,ad)&&(rd[ad]=nd[ad]);function sd(){this.constructor=rd}return sd.prototype=nd.prototype,rd.prototype=new sd,rd.__super__=nd.prototype,rd},td={}.hasOwnProperty;Ra=requireXMLWriterBase(),XMLStringWriter.exports=function(rd){qa(nd,rd);function nd(ad){nd.__super__.constructor.call(this,ad)}return nd.prototype.document=function(ad,sd){var ud,cd,dd,pd,fd;for(sd=this.filterOptions(sd),pd="",fd=ad.children,cd=0,dd=fd.length;cd=0;)this.up();return this.onEnd()},Zd.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},Zd.prototype.openNode=function(Wd){var Qd,Jd,hf,bf;if(!Wd.isOpen){if(!this.root&&this.currentLevel===0&&Wd.type===Ra.Element&&(this.root=Wd),Jd="",Wd.type===Ra.Element){this.writerOptions.state=qa.OpenTag,Jd=this.writer.indent(Wd,this.writerOptions,this.currentLevel)+"<"+Wd.name,bf=Wd.attribs;for(hf in bf)zd.call(bf,hf)&&(Qd=bf[hf],Jd+=this.writer.attribute(Qd,this.writerOptions,this.currentLevel));Jd+=(Wd.children?">":"/>")+this.writer.endline(Wd,this.writerOptions,this.currentLevel),this.writerOptions.state=qa.InsideTag}else this.writerOptions.state=qa.OpenTag,Jd=this.writer.indent(Wd,this.writerOptions,this.currentLevel)+""),Jd+=this.writer.endline(Wd,this.writerOptions,this.currentLevel);return this.onData(Jd,this.currentLevel),Wd.isOpen=!0}},Zd.prototype.closeNode=function(Wd){var Qd;if(!Wd.isClosed)return Qd="",this.writerOptions.state=qa.CloseTag,Wd.type===Ra.Element?Qd=this.writer.indent(Wd,this.writerOptions,this.currentLevel)+""+this.writer.endline(Wd,this.writerOptions,this.currentLevel):Qd=this.writer.indent(Wd,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(Wd,this.writerOptions,this.currentLevel),this.writerOptions.state=qa.None,this.onData(Qd,this.currentLevel),Wd.isClosed=!0},Zd.prototype.onData=function(Wd,Qd){return this.documentStarted=!0,this.onDataCallback(Wd,Qd+1)},Zd.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},Zd.prototype.debugInfo=function(Wd){return Wd==null?"":"node: <"+Wd+">"},Zd.prototype.ele=function(){return this.element.apply(this,arguments)},Zd.prototype.nod=function(Wd,Qd,Jd){return this.node(Wd,Qd,Jd)},Zd.prototype.txt=function(Wd){return this.text(Wd)},Zd.prototype.dat=function(Wd){return this.cdata(Wd)},Zd.prototype.com=function(Wd){return this.comment(Wd)},Zd.prototype.ins=function(Wd,Qd){return this.instruction(Wd,Qd)},Zd.prototype.dec=function(Wd,Qd,Jd){return this.declaration(Wd,Qd,Jd)},Zd.prototype.dtd=function(Wd,Qd,Jd){return this.doctype(Wd,Qd,Jd)},Zd.prototype.e=function(Wd,Qd,Jd){return this.element(Wd,Qd,Jd)},Zd.prototype.n=function(Wd,Qd,Jd){return this.node(Wd,Qd,Jd)},Zd.prototype.t=function(Wd){return this.text(Wd)},Zd.prototype.d=function(Wd){return this.cdata(Wd)},Zd.prototype.c=function(Wd){return this.comment(Wd)},Zd.prototype.r=function(Wd){return this.raw(Wd)},Zd.prototype.i=function(Wd,Qd){return this.instruction(Wd,Qd)},Zd.prototype.att=function(){return this.currentNode&&this.currentNode.type===Ra.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},Zd.prototype.a=function(){return this.currentNode&&this.currentNode.type===Ra.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},Zd.prototype.ent=function(Wd,Qd){return this.entity(Wd,Qd)},Zd.prototype.pent=function(Wd,Qd){return this.pEntity(Wd,Qd)},Zd.prototype.not=function(Wd,Qd){return this.notation(Wd,Qd)},Zd}()}).call(commonjsGlobal)),XMLDocumentCB.exports}var XMLStreamWriter={exports:{}},hasRequiredXMLStreamWriter;function requireXMLStreamWriter(){return hasRequiredXMLStreamWriter||(hasRequiredXMLStreamWriter=1,(function(){var Ra,qa,td,rd=function(ad,sd){for(var ud in sd)nd.call(sd,ud)&&(ad[ud]=sd[ud]);function cd(){this.constructor=ad}return cd.prototype=sd.prototype,ad.prototype=new cd,ad.__super__=sd.prototype,ad},nd={}.hasOwnProperty;Ra=requireNodeType(),td=requireXMLWriterBase(),qa=requireWriterState(),XMLStreamWriter.exports=function(ad){rd(sd,ad);function sd(ud,cd){this.stream=ud,sd.__super__.constructor.call(this,cd)}return sd.prototype.endline=function(ud,cd,dd){return ud.isLastRootNode&&cd.state===qa.CloseTag?"":sd.__super__.endline.call(this,ud,cd,dd)},sd.prototype.document=function(ud,cd){var dd,pd,fd,Td,Ad,Sd,Dd,Ld,Rd;for(Dd=ud.children,pd=fd=0,Ad=Dd.length;fd0){for(this.stream.write(" ["),this.stream.write(this.endline(ud,cd,dd)),cd.state=qa.InsideTag,Ad=ud.children,fd=0,Td=Ad.length;fd"),this.stream.write(this.endline(ud,cd,dd)),cd.state=qa.None,this.closeNode(ud,cd,dd)},sd.prototype.element=function(ud,cd,dd){var pd,fd,Td,Ad,Sd,Dd,Ld,Rd,Od;dd||(dd=0),this.openNode(ud,cd,dd),cd.state=qa.OpenTag,this.stream.write(this.indent(ud,cd,dd)+"<"+ud.name),Rd=ud.attribs;for(Ld in Rd)nd.call(Rd,Ld)&&(pd=Rd[Ld],this.attribute(pd,cd,dd));if(Td=ud.children.length,Ad=Td===0?null:ud.children[0],Td===0||ud.children.every(function(Md){return(Md.type===Ra.Text||Md.type===Ra.Raw)&&Md.value===""}))cd.allowEmpty?(this.stream.write(">"),cd.state=qa.CloseTag,this.stream.write("")):(cd.state=qa.CloseTag,this.stream.write(cd.spaceBeforeSlash+"/>"));else if(cd.pretty&&Td===1&&(Ad.type===Ra.Text||Ad.type===Ra.Raw)&&Ad.value!=null)this.stream.write(">"),cd.state=qa.InsideTag,cd.suppressPrettyCount++,this.writeChildNode(Ad,cd,dd+1),cd.suppressPrettyCount--,cd.state=qa.CloseTag,this.stream.write("");else{for(this.stream.write(">"+this.endline(ud,cd,dd)),cd.state=qa.InsideTag,Od=ud.children,Sd=0,Dd=Od.length;Sd")}return this.stream.write(this.endline(ud,cd,dd)),cd.state=qa.None,this.closeNode(ud,cd,dd)},sd.prototype.processingInstruction=function(ud,cd,dd){return this.stream.write(sd.__super__.processingInstruction.call(this,ud,cd,dd))},sd.prototype.raw=function(ud,cd,dd){return this.stream.write(sd.__super__.raw.call(this,ud,cd,dd))},sd.prototype.text=function(ud,cd,dd){return this.stream.write(sd.__super__.text.call(this,ud,cd,dd))},sd.prototype.dtdAttList=function(ud,cd,dd){return this.stream.write(sd.__super__.dtdAttList.call(this,ud,cd,dd))},sd.prototype.dtdElement=function(ud,cd,dd){return this.stream.write(sd.__super__.dtdElement.call(this,ud,cd,dd))},sd.prototype.dtdEntity=function(ud,cd,dd){return this.stream.write(sd.__super__.dtdEntity.call(this,ud,cd,dd))},sd.prototype.dtdNotation=function(ud,cd,dd){return this.stream.write(sd.__super__.dtdNotation.call(this,ud,cd,dd))},sd}(td)}).call(commonjsGlobal)),XMLStreamWriter.exports}var hasRequiredLib;function requireLib(){return hasRequiredLib||(hasRequiredLib=1,(function(){var Ra,qa,td,rd,nd,ad,sd,ud,cd,dd;dd=requireUtility(),ud=dd.assign,cd=dd.isFunction,td=requireXMLDOMImplementation(),rd=requireXMLDocument(),nd=requireXMLDocumentCB(),sd=requireXMLStringWriter(),ad=requireXMLStreamWriter(),Ra=requireNodeType(),qa=requireWriterState(),lib$2.create=function(pd,fd,Td,Ad){var Sd,Dd;if(pd==null)throw new Error("Root element needs a name.");return Ad=ud({},fd,Td,Ad),Sd=new rd(Ad),Dd=Sd.element(pd),Ad.headless||(Sd.declaration(Ad),(Ad.pubID!=null||Ad.sysID!=null)&&Sd.dtd(Ad)),Dd},lib$2.begin=function(pd,fd,Td){var Ad;return cd(pd)&&(Ad=[pd,fd],fd=Ad[0],Td=Ad[1],pd={}),fd?new nd(pd,fd,Td):new rd(pd)},lib$2.stringWriter=function(pd){return new sd(pd)},lib$2.streamWriter=function(pd,fd){return new ad(pd,fd)},lib$2.implementation=new td,lib$2.nodeType=Ra,lib$2.writerState=qa}).call(commonjsGlobal)),lib$2}var hasRequiredBuilder;function requireBuilder(){return hasRequiredBuilder||(hasRequiredBuilder=1,(function(){var Ra,qa,td,rd,nd,ad={}.hasOwnProperty;Ra=requireLib(),qa=requireDefaults().defaults,rd=function(sd){return typeof sd=="string"&&(sd.indexOf("&")>=0||sd.indexOf(">")>=0||sd.indexOf("<")>=0)},nd=function(sd){return""},td=function(sd){return sd.replace("]]>","]]]]>")},builder.Builder=function(){function sd(ud){var cd,dd,pd;this.options={},dd=qa["0.2"];for(cd in dd)ad.call(dd,cd)&&(pd=dd[cd],this.options[cd]=pd);for(cd in ud)ad.call(ud,cd)&&(pd=ud[cd],this.options[cd]=pd)}return sd.prototype.buildObject=function(ud){var cd,dd,pd,fd,Td;return cd=this.options.attrkey,dd=this.options.charkey,Object.keys(ud).length===1&&this.options.rootName===qa["0.2"].rootName?(Td=Object.keys(ud)[0],ud=ud[Td]):Td=this.options.rootName,pd=function(Ad){return function(Sd,Dd){var Ld,Rd,Od,Md,jd,Ud;if(typeof Dd!="object")Ad.options.cdata&&rd(Dd)?Sd.raw(nd(Dd)):Sd.txt(Dd);else if(Array.isArray(Dd)){for(Md in Dd)if(ad.call(Dd,Md)){Rd=Dd[Md];for(jd in Rd)Od=Rd[jd],Sd=pd(Sd.ele(jd),Od).up()}}else for(jd in Dd)if(ad.call(Dd,jd))if(Rd=Dd[jd],jd===cd){if(typeof Rd=="object")for(Ld in Rd)Ud=Rd[Ld],Sd=Sd.att(Ld,Ud)}else if(jd===dd)Ad.options.cdata&&rd(Rd)?Sd=Sd.raw(nd(Rd)):Sd=Sd.txt(Rd);else if(Array.isArray(Rd))for(Md in Rd)ad.call(Rd,Md)&&(Od=Rd[Md],typeof Od=="string"?Ad.options.cdata&&rd(Od)?Sd=Sd.ele(jd).raw(nd(Od)).up():Sd=Sd.ele(jd,Od).up():Sd=pd(Sd.ele(jd),Od).up());else typeof Rd=="object"?Sd=pd(Sd.ele(jd),Rd).up():typeof Rd=="string"&&Ad.options.cdata&&rd(Rd)?Sd=Sd.ele(jd).raw(nd(Rd)).up():(Rd==null&&(Rd=""),Sd=Sd.ele(jd,Rd.toString()).up());return Sd}}(this),fd=Ra.create(Td,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),pd(fd,ud).end(this.options.renderOpts)},sd}()}).call(commonjsGlobal)),builder}var parser={},sax={},hasRequiredSax;function requireSax(){return hasRequiredSax||(hasRequiredSax=1,function(Ra){(function(qa){qa.parser=function(Tf,gf){return new rd(Tf,gf)},qa.SAXParser=rd,qa.SAXStream=pd,qa.createStream=dd,qa.MAX_BUFFER_LENGTH=64*1024;var td=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];qa.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function rd(Tf,gf){if(!(this instanceof rd))return new rd(Tf,gf);var Mf=this;ad(Mf),Mf.q=Mf.c="",Mf.bufferCheckPosition=qa.MAX_BUFFER_LENGTH,Mf.opt=gf||{},Mf.opt.lowercase=Mf.opt.lowercase||Mf.opt.lowercasetags,Mf.looseCase=Mf.opt.lowercase?"toLowerCase":"toUpperCase",Mf.tags=[],Mf.closed=Mf.closedRoot=Mf.sawRoot=!1,Mf.tag=Mf.error=null,Mf.strict=!!Tf,Mf.noscript=!!(Tf||Mf.opt.noscript),Mf.state=Wd.BEGIN,Mf.strictEntities=Mf.opt.strictEntities,Mf.ENTITIES=Mf.strictEntities?Object.create(qa.XML_ENTITIES):Object.create(qa.ENTITIES),Mf.attribList=[],Mf.opt.xmlns&&(Mf.ns=Object.create(Dd)),Mf.opt.unquotedAttributeValues===void 0&&(Mf.opt.unquotedAttributeValues=!Tf),Mf.trackPosition=Mf.opt.position!==!1,Mf.trackPosition&&(Mf.position=Mf.line=Mf.column=0),Jd(Mf,"onready")}Object.create||(Object.create=function(Tf){function gf(){}gf.prototype=Tf;var Mf=new gf;return Mf}),Object.keys||(Object.keys=function(Tf){var gf=[];for(var Mf in Tf)Tf.hasOwnProperty(Mf)&&gf.push(Mf);return gf});function nd(Tf){for(var gf=Math.max(qa.MAX_BUFFER_LENGTH,10),Mf=0,Gf=0,Qf=td.length;Gfgf)switch(td[Gf]){case"textNode":bf(Tf);break;case"cdata":hf(Tf,"oncdata",Tf.cdata),Tf.cdata="";break;case"script":hf(Tf,"onscript",Tf.script),Tf.script="";break;default:_f(Tf,"Max buffer length exceeded: "+td[Gf])}Mf=Math.max(Mf,Uf)}var Df=qa.MAX_BUFFER_LENGTH-Mf;Tf.bufferCheckPosition=Df+Tf.position}function ad(Tf){for(var gf=0,Mf=td.length;gf"||jd(Tf)}function zd(Tf,gf){return Tf.test(gf)}function Zd(Tf,gf){return!zd(Tf,gf)}var Wd=0;qa.STATE={BEGIN:Wd++,BEGIN_WHITESPACE:Wd++,TEXT:Wd++,TEXT_ENTITY:Wd++,OPEN_WAKA:Wd++,SGML_DECL:Wd++,SGML_DECL_QUOTED:Wd++,DOCTYPE:Wd++,DOCTYPE_QUOTED:Wd++,DOCTYPE_DTD:Wd++,DOCTYPE_DTD_QUOTED:Wd++,COMMENT_STARTING:Wd++,COMMENT:Wd++,COMMENT_ENDING:Wd++,COMMENT_ENDED:Wd++,CDATA:Wd++,CDATA_ENDING:Wd++,CDATA_ENDING_2:Wd++,PROC_INST:Wd++,PROC_INST_BODY:Wd++,PROC_INST_ENDING:Wd++,OPEN_TAG:Wd++,OPEN_TAG_SLASH:Wd++,ATTRIB:Wd++,ATTRIB_NAME:Wd++,ATTRIB_NAME_SAW_WHITE:Wd++,ATTRIB_VALUE:Wd++,ATTRIB_VALUE_QUOTED:Wd++,ATTRIB_VALUE_CLOSED:Wd++,ATTRIB_VALUE_UNQUOTED:Wd++,ATTRIB_VALUE_ENTITY_Q:Wd++,ATTRIB_VALUE_ENTITY_U:Wd++,CLOSE_TAG:Wd++,CLOSE_TAG_SAW_WHITE:Wd++,SCRIPT:Wd++,SCRIPT_ENDING:Wd++},qa.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},qa.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(qa.ENTITIES).forEach(function(Tf){var gf=qa.ENTITIES[Tf],Mf=typeof gf=="number"?String.fromCharCode(gf):gf;qa.ENTITIES[Tf]=Mf});for(var Qd in qa.STATE)qa.STATE[qa.STATE[Qd]]=Qd;Wd=qa.STATE;function Jd(Tf,gf,Mf){Tf[gf]&&Tf[gf](Mf)}function hf(Tf,gf,Mf){Tf.textNode&&bf(Tf),Jd(Tf,gf,Mf)}function bf(Tf){Tf.textNode=Ef(Tf.opt,Tf.textNode),Tf.textNode&&Jd(Tf,"ontext",Tf.textNode),Tf.textNode=""}function Ef(Tf,gf){return Tf.trim&&(gf=gf.trim()),Tf.normalize&&(gf=gf.replace(/\s+/g," ")),gf}function _f(Tf,gf){return bf(Tf),Tf.trackPosition&&(gf+=` +Line: `+Tf.line+` +Column: `+Tf.column+` +Char: `+Tf.c),gf=new Error(gf),Tf.error=gf,Jd(Tf,"onerror",gf),Tf}function vf(Tf){return Tf.sawRoot&&!Tf.closedRoot&&xf(Tf,"Unclosed root tag"),Tf.state!==Wd.BEGIN&&Tf.state!==Wd.BEGIN_WHITESPACE&&Tf.state!==Wd.TEXT&&_f(Tf,"Unexpected end"),bf(Tf),Tf.c="",Tf.closed=!0,Jd(Tf,"onend"),rd.call(Tf,Tf.strict,Tf.opt),Tf}function xf(Tf,gf){if(typeof Tf!="object"||!(Tf instanceof rd))throw new Error("bad call to strictFail");Tf.strict&&_f(Tf,gf)}function Bf(Tf){Tf.strict||(Tf.tagName=Tf.tagName[Tf.looseCase]());var gf=Tf.tags[Tf.tags.length-1]||Tf,Mf=Tf.tag={name:Tf.tagName,attributes:{}};Tf.opt.xmlns&&(Mf.ns=gf.ns),Tf.attribList.length=0,hf(Tf,"onopentagstart",Mf)}function Yf(Tf,gf){var Mf=Tf.indexOf(":"),Gf=Mf<0?["",Tf]:Tf.split(":"),Qf=Gf[0],Uf=Gf[1];return gf&&Tf==="xmlns"&&(Qf="xmlns",Uf=""),{prefix:Qf,local:Uf}}function eh(Tf){if(Tf.strict||(Tf.attribName=Tf.attribName[Tf.looseCase]()),Tf.attribList.indexOf(Tf.attribName)!==-1||Tf.tag.attributes.hasOwnProperty(Tf.attribName)){Tf.attribName=Tf.attribValue="";return}if(Tf.opt.xmlns){var gf=Yf(Tf.attribName,!0),Mf=gf.prefix,Gf=gf.local;if(Mf==="xmlns")if(Gf==="xml"&&Tf.attribValue!==Ad)xf(Tf,"xml: prefix must be bound to "+Ad+` +Actual: `+Tf.attribValue);else if(Gf==="xmlns"&&Tf.attribValue!==Sd)xf(Tf,"xmlns: prefix must be bound to "+Sd+` +Actual: `+Tf.attribValue);else{var Qf=Tf.tag,Uf=Tf.tags[Tf.tags.length-1]||Tf;Qf.ns===Uf.ns&&(Qf.ns=Object.create(Uf.ns)),Qf.ns[Gf]=Tf.attribValue}Tf.attribList.push([Tf.attribName,Tf.attribValue])}else Tf.tag.attributes[Tf.attribName]=Tf.attribValue,hf(Tf,"onattribute",{name:Tf.attribName,value:Tf.attribValue});Tf.attribName=Tf.attribValue=""}function Vf(Tf,gf){if(Tf.opt.xmlns){var Mf=Tf.tag,Gf=Yf(Tf.tagName);Mf.prefix=Gf.prefix,Mf.local=Gf.local,Mf.uri=Mf.ns[Gf.prefix]||"",Mf.prefix&&!Mf.uri&&(xf(Tf,"Unbound namespace prefix: "+JSON.stringify(Tf.tagName)),Mf.uri=Gf.prefix);var Qf=Tf.tags[Tf.tags.length-1]||Tf;Mf.ns&&Qf.ns!==Mf.ns&&Object.keys(Mf.ns).forEach(function(ih){hf(Tf,"onopennamespace",{prefix:ih,uri:Mf.ns[ih]})});for(var Uf=0,Df=Tf.attribList.length;Uf",Tf.tagName="",Tf.state=Wd.SCRIPT;return}hf(Tf,"onscript",Tf.script),Tf.script=""}var gf=Tf.tags.length,Mf=Tf.tagName;Tf.strict||(Mf=Mf[Tf.looseCase]());for(var Gf=Mf;gf--;){var Qf=Tf.tags[gf];if(Qf.name!==Gf)xf(Tf,"Unexpected close tag");else break}if(gf<0){xf(Tf,"Unmatched closing tag: "+Tf.tagName),Tf.textNode+="",Tf.state=Wd.TEXT;return}Tf.tagName=Mf;for(var Uf=Tf.tags.length;Uf-- >gf;){var Df=Tf.tag=Tf.tags.pop();Tf.tagName=Tf.tag.name,hf(Tf,"onclosetag",Tf.tagName);var Xf={};for(var dh in Df.ns)Xf[dh]=Df.ns[dh];var qf=Tf.tags[Tf.tags.length-1]||Tf;Tf.opt.xmlns&&Df.ns!==qf.ns&&Object.keys(Df.ns).forEach(function(wf){var Rf=Df.ns[wf];hf(Tf,"onclosenamespace",{prefix:wf,uri:Rf})})}gf===0&&(Tf.closedRoot=!0),Tf.tagName=Tf.attribValue=Tf.attribName="",Tf.attribList.length=0,Tf.state=Wd.TEXT}function If(Tf){var gf=Tf.entity,Mf=gf.toLowerCase(),Gf,Qf="";return Tf.ENTITIES[gf]?Tf.ENTITIES[gf]:Tf.ENTITIES[Mf]?Tf.ENTITIES[Mf]:(gf=Mf,gf.charAt(0)==="#"&&(gf.charAt(1)==="x"?(gf=gf.slice(2),Gf=parseInt(gf,16),Qf=Gf.toString(16)):(gf=gf.slice(1),Gf=parseInt(gf,10),Qf=Gf.toString(10))),gf=gf.replace(/^0+/,""),isNaN(Gf)||Qf.toLowerCase()!==gf?(xf(Tf,"Invalid character entity"),"&"+Tf.entity+";"):String.fromCodePoint(Gf))}function $f(Tf,gf){gf==="<"?(Tf.state=Wd.OPEN_WAKA,Tf.startTagPosition=Tf.position):jd(gf)||(xf(Tf,"Non-whitespace before first tag."),Tf.textNode=gf,Tf.state=Wd.TEXT)}function Zf(Tf,gf){var Mf="";return gf"?(hf(gf,"onsgmldeclaration",gf.sgmlDecl),gf.sgmlDecl="",gf.state=Wd.TEXT):(Ud(Gf)&&(gf.state=Wd.SGML_DECL_QUOTED),gf.sgmlDecl+=Gf);continue;case Wd.SGML_DECL_QUOTED:Gf===gf.q&&(gf.state=Wd.SGML_DECL,gf.q=""),gf.sgmlDecl+=Gf;continue;case Wd.DOCTYPE:Gf===">"?(gf.state=Wd.TEXT,hf(gf,"ondoctype",gf.doctype),gf.doctype=!0):(gf.doctype+=Gf,Gf==="["?gf.state=Wd.DOCTYPE_DTD:Ud(Gf)&&(gf.state=Wd.DOCTYPE_QUOTED,gf.q=Gf));continue;case Wd.DOCTYPE_QUOTED:gf.doctype+=Gf,Gf===gf.q&&(gf.q="",gf.state=Wd.DOCTYPE);continue;case Wd.DOCTYPE_DTD:Gf==="]"?(gf.doctype+=Gf,gf.state=Wd.DOCTYPE):Gf==="<"?(gf.state=Wd.OPEN_WAKA,gf.startTagPosition=gf.position):Ud(Gf)?(gf.doctype+=Gf,gf.state=Wd.DOCTYPE_DTD_QUOTED,gf.q=Gf):gf.doctype+=Gf;continue;case Wd.DOCTYPE_DTD_QUOTED:gf.doctype+=Gf,Gf===gf.q&&(gf.state=Wd.DOCTYPE_DTD,gf.q="");continue;case Wd.COMMENT:Gf==="-"?gf.state=Wd.COMMENT_ENDING:gf.comment+=Gf;continue;case Wd.COMMENT_ENDING:Gf==="-"?(gf.state=Wd.COMMENT_ENDED,gf.comment=Ef(gf.opt,gf.comment),gf.comment&&hf(gf,"oncomment",gf.comment),gf.comment=""):(gf.comment+="-"+Gf,gf.state=Wd.COMMENT);continue;case Wd.COMMENT_ENDED:Gf!==">"?(xf(gf,"Malformed comment"),gf.comment+="--"+Gf,gf.state=Wd.COMMENT):gf.doctype&&gf.doctype!==!0?gf.state=Wd.DOCTYPE_DTD:gf.state=Wd.TEXT;continue;case Wd.CDATA:Gf==="]"?gf.state=Wd.CDATA_ENDING:gf.cdata+=Gf;continue;case Wd.CDATA_ENDING:Gf==="]"?gf.state=Wd.CDATA_ENDING_2:(gf.cdata+="]"+Gf,gf.state=Wd.CDATA);continue;case Wd.CDATA_ENDING_2:Gf===">"?(gf.cdata&&hf(gf,"oncdata",gf.cdata),hf(gf,"onclosecdata"),gf.cdata="",gf.state=Wd.TEXT):Gf==="]"?gf.cdata+="]":(gf.cdata+="]]"+Gf,gf.state=Wd.CDATA);continue;case Wd.PROC_INST:Gf==="?"?gf.state=Wd.PROC_INST_ENDING:jd(Gf)?gf.state=Wd.PROC_INST_BODY:gf.procInstName+=Gf;continue;case Wd.PROC_INST_BODY:if(!gf.procInstBody&&jd(Gf))continue;Gf==="?"?gf.state=Wd.PROC_INST_ENDING:gf.procInstBody+=Gf;continue;case Wd.PROC_INST_ENDING:Gf===">"?(hf(gf,"onprocessinginstruction",{name:gf.procInstName,body:gf.procInstBody}),gf.procInstName=gf.procInstBody="",gf.state=Wd.TEXT):(gf.procInstBody+="?"+Gf,gf.state=Wd.PROC_INST_BODY);continue;case Wd.OPEN_TAG:zd(Rd,Gf)?gf.tagName+=Gf:(Bf(gf),Gf===">"?Vf(gf):Gf==="/"?gf.state=Wd.OPEN_TAG_SLASH:(jd(Gf)||xf(gf,"Invalid character in tag name"),gf.state=Wd.ATTRIB));continue;case Wd.OPEN_TAG_SLASH:Gf===">"?(Vf(gf,!0),Pf(gf)):(xf(gf,"Forward-slash in opening tag not followed by >"),gf.state=Wd.ATTRIB);continue;case Wd.ATTRIB:if(jd(Gf))continue;Gf===">"?Vf(gf):Gf==="/"?gf.state=Wd.OPEN_TAG_SLASH:zd(Ld,Gf)?(gf.attribName=Gf,gf.attribValue="",gf.state=Wd.ATTRIB_NAME):xf(gf,"Invalid attribute name");continue;case Wd.ATTRIB_NAME:Gf==="="?gf.state=Wd.ATTRIB_VALUE:Gf===">"?(xf(gf,"Attribute without value"),gf.attribValue=gf.attribName,eh(gf),Vf(gf)):jd(Gf)?gf.state=Wd.ATTRIB_NAME_SAW_WHITE:zd(Rd,Gf)?gf.attribName+=Gf:xf(gf,"Invalid attribute name");continue;case Wd.ATTRIB_NAME_SAW_WHITE:if(Gf==="=")gf.state=Wd.ATTRIB_VALUE;else{if(jd(Gf))continue;xf(gf,"Attribute without value"),gf.tag.attributes[gf.attribName]="",gf.attribValue="",hf(gf,"onattribute",{name:gf.attribName,value:""}),gf.attribName="",Gf===">"?Vf(gf):zd(Ld,Gf)?(gf.attribName=Gf,gf.state=Wd.ATTRIB_NAME):(xf(gf,"Invalid attribute name"),gf.state=Wd.ATTRIB)}continue;case Wd.ATTRIB_VALUE:if(jd(Gf))continue;Ud(Gf)?(gf.q=Gf,gf.state=Wd.ATTRIB_VALUE_QUOTED):(gf.opt.unquotedAttributeValues||_f(gf,"Unquoted attribute value"),gf.state=Wd.ATTRIB_VALUE_UNQUOTED,gf.attribValue=Gf);continue;case Wd.ATTRIB_VALUE_QUOTED:if(Gf!==gf.q){Gf==="&"?gf.state=Wd.ATTRIB_VALUE_ENTITY_Q:gf.attribValue+=Gf;continue}eh(gf),gf.q="",gf.state=Wd.ATTRIB_VALUE_CLOSED;continue;case Wd.ATTRIB_VALUE_CLOSED:jd(Gf)?gf.state=Wd.ATTRIB:Gf===">"?Vf(gf):Gf==="/"?gf.state=Wd.OPEN_TAG_SLASH:zd(Ld,Gf)?(xf(gf,"No whitespace between attributes"),gf.attribName=Gf,gf.attribValue="",gf.state=Wd.ATTRIB_NAME):xf(gf,"Invalid attribute name");continue;case Wd.ATTRIB_VALUE_UNQUOTED:if(!Hd(Gf)){Gf==="&"?gf.state=Wd.ATTRIB_VALUE_ENTITY_U:gf.attribValue+=Gf;continue}eh(gf),Gf===">"?Vf(gf):gf.state=Wd.ATTRIB;continue;case Wd.CLOSE_TAG:if(gf.tagName)Gf===">"?Pf(gf):zd(Rd,Gf)?gf.tagName+=Gf:gf.script?(gf.script+=""?Pf(gf):xf(gf,"Invalid characters in closing tag");continue;case Wd.TEXT_ENTITY:case Wd.ATTRIB_VALUE_ENTITY_Q:case Wd.ATTRIB_VALUE_ENTITY_U:var Df,Xf;switch(gf.state){case Wd.TEXT_ENTITY:Df=Wd.TEXT,Xf="textNode";break;case Wd.ATTRIB_VALUE_ENTITY_Q:Df=Wd.ATTRIB_VALUE_QUOTED,Xf="attribValue";break;case Wd.ATTRIB_VALUE_ENTITY_U:Df=Wd.ATTRIB_VALUE_UNQUOTED,Xf="attribValue";break}if(Gf===";"){var dh=If(gf);gf.opt.unparsedEntities&&!Object.values(qa.XML_ENTITIES).includes(dh)?(gf.entity="",gf.state=Df,gf.write(dh)):(gf[Xf]+=dh,gf.entity="",gf.state=Df)}else zd(gf.entity.length?Md:Od,Gf)?gf.entity+=Gf:(xf(gf,"Invalid character in entity name"),gf[Xf]+="&"+gf.entity+Gf,gf.entity="",gf.state=Df);continue;default:throw new Error(gf,"Unknown state: "+gf.state)}return gf.position>=gf.bufferCheckPosition&&nd(gf),gf}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */String.fromCodePoint||function(){var Tf=String.fromCharCode,gf=Math.floor,Mf=function(){var Gf=16384,Qf=[],Uf,Df,Xf=-1,dh=arguments.length;if(!dh)return"";for(var qf="";++Xf1114111||gf(wf)!==wf)throw RangeError("Invalid code point: "+wf);wf<=65535?Qf.push(wf):(wf-=65536,Uf=(wf>>10)+55296,Df=wf%1024+56320,Qf.push(Uf,Df)),(Xf+1===dh||Qf.length>Gf)&&(qf+=Tf.apply(null,Qf),Qf.length=0)}return qf};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:Mf,configurable:!0,writable:!0}):String.fromCodePoint=Mf}()})(Ra)}(sax)),sax}var bom={},hasRequiredBom;function requireBom(){return hasRequiredBom||(hasRequiredBom=1,(function(){bom.stripBOM=function(Ra){return Ra[0]==="\uFEFF"?Ra.substring(1):Ra}}).call(commonjsGlobal)),bom}var processors={},hasRequiredProcessors;function requireProcessors(){return hasRequiredProcessors||(hasRequiredProcessors=1,(function(){var Ra;Ra=new RegExp(/(?!xmlns)^.*:/),processors.normalize=function(qa){return qa.toLowerCase()},processors.firstCharLowerCase=function(qa){return qa.charAt(0).toLowerCase()+qa.slice(1)},processors.stripPrefix=function(qa){return qa.replace(Ra,"")},processors.parseNumbers=function(qa){return isNaN(qa)||(qa=qa%1===0?parseInt(qa,10):parseFloat(qa)),qa},processors.parseBooleans=function(qa){return/^(?:true|false)$/i.test(qa)&&(qa=qa.toLowerCase()==="true"),qa}}).call(commonjsGlobal)),processors}var main={},setImmediate$1={},hasRequiredSetImmediate;function requireSetImmediate(){if(hasRequiredSetImmediate)return setImmediate$1;hasRequiredSetImmediate=1;var Ra={version:"v20.17.0",versions:{node:"20.17.0",acorn:"8.11.3",ada:"2.9.0",ares:"1.32.3",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.2.2",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.13+quic",simdutf:"5.3.0",tz:"2024a",undici:"6.19.2",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-209717d"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule internal/idna","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/streams/utils","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/idna.js","lib/internal/inspector_async_hook.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_fc48d429-f579-45e8-bf03-b8f40cba1391",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.17.0 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_fc48d429-f579-45e8-bf03-b8f40cba1391",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.10.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu22",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"610",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",GOROOT_1_20_X64:"/opt/hostedtoolcache/go/1.20.14/x64",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20240915.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.7/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",JOURNAL_STREAM:"8:6290",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.17.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",npm_config_npm_version:"10.8.2",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"11027463784",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"c7b0e027ac0b5d7e952b951cd0f0482584bacafc",GITHUB_BASE_REF:"",ImageOS:"ubuntu22",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.17.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_869f45d3-ff71-43f5-9b82-440d0334cd1b",INVOCATION_ID:"4184953ec64c49749c61dec1ef6bfa6c",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"439",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 9",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"c7b0e027ac0b5d7e952b951cd0f0482584bacafc",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.17.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_fc48d429-f579-45e8-bf03-b8f40cba1391",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_fc48d429-f579-45e8-bf03-b8f40cba1391",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.1.12297006",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",STATS_EXTP:"https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.189/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_fc48d429-f579-45e8-bf03-b8f40cba1391",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.17.0/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2041,ppid:2038,execPath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};return function(qa,td){if(qa.setImmediate)return;var rd=1,nd={},ad=!1,sd=qa.document,ud;function cd(Md){typeof Md!="function"&&(Md=new Function(""+Md));for(var jd=new Array(arguments.length-1),Ud=0;Ud"u"?commonjsGlobal:self),setImmediate$1}var hasRequiredMain;function requireMain(){if(hasRequiredMain)return main;hasRequiredMain=1;var Ra=typeof commonjsGlobal<"u"&&commonjsGlobal||typeof self<"u"&&self||window,qa=Function.prototype.apply;main.setTimeout=function(){return new td(qa.call(setTimeout,Ra,arguments),clearTimeout)},main.setInterval=function(){return new td(qa.call(setInterval,Ra,arguments),clearInterval)},main.clearTimeout=main.clearInterval=function(rd){rd&&rd.close()};function td(rd,nd){this._id=rd,this._clearFn=nd}return td.prototype.unref=td.prototype.ref=function(){},td.prototype.close=function(){this._clearFn.call(Ra,this._id)},main.enroll=function(rd,nd){clearTimeout(rd._idleTimeoutId),rd._idleTimeout=nd},main.unenroll=function(rd){clearTimeout(rd._idleTimeoutId),rd._idleTimeout=-1},main._unrefActive=main.active=function(rd){clearTimeout(rd._idleTimeoutId);var nd=rd._idleTimeout;nd>=0&&(rd._idleTimeoutId=setTimeout(function(){rd._onTimeout&&rd._onTimeout()},nd))},requireSetImmediate(),main.setImmediate=typeof self<"u"&&self.setImmediate||typeof commonjsGlobal<"u"&&commonjsGlobal.setImmediate||commonjsGlobal&&commonjsGlobal.setImmediate,main.clearImmediate=typeof self<"u"&&self.clearImmediate||typeof commonjsGlobal<"u"&&commonjsGlobal.clearImmediate||commonjsGlobal&&commonjsGlobal.clearImmediate,main}var hasRequiredParser;function requireParser(){return hasRequiredParser||(hasRequiredParser=1,function(Ra){(function(){var qa,td,rd,nd,ad,sd,ud,cd,dd=function(Td,Ad){return function(){return Td.apply(Ad,arguments)}},pd=function(Td,Ad){for(var Sd in Ad)fd.call(Ad,Sd)&&(Td[Sd]=Ad[Sd]);function Dd(){this.constructor=Td}return Dd.prototype=Ad.prototype,Td.prototype=new Dd,Td.__super__=Ad.prototype,Td},fd={}.hasOwnProperty;ud=requireSax(),rd=eventsExports,qa=requireBom(),sd=requireProcessors(),cd=requireMain().setImmediate,td=requireDefaults().defaults,nd=function(Td){return typeof Td=="object"&&Td!=null&&Object.keys(Td).length===0},ad=function(Td,Ad,Sd){var Dd,Ld,Rd;for(Dd=0,Ld=Td.length;Dd0&&(Hd[Od.options.childkey]=Zd),Zd=Hd;else if(Jd){Jd[Od.options.childkey]=Jd[Od.options.childkey]||[],Wd=Object.create(null);for(Ud in Zd)fd.call(Zd,Ud)&&(Wd[Ud]=Zd[Ud]);Jd[Od.options.childkey].push(Wd),delete Zd["#name"],Object.keys(Zd).length===1&&Dd in Zd&&!Od.EXPLICIT_CHARKEY&&(Zd=Zd[Dd])}}return Rd.length>0?Od.assignOrPush(Jd,zd,Zd):(Od.options.explicitRoot&&(Qd=Zd,Zd=Object.create(null),Zd[zd]=Qd),Od.resultObject=Zd,Od.saxParser.ended=!0,Od.emit("end",Od.resultObject))}}(this),Ld=function(Od){return function(Md){var jd,Ud;if(Ud=Rd[Rd.length-1],Ud)return Ud[Dd]+=Md,Od.options.explicitChildren&&Od.options.preserveChildrenOrder&&Od.options.charsAsChildren&&(Od.options.includeWhiteChars||Md.replace(/\\n/g,"").trim()!=="")&&(Ud[Od.options.childkey]=Ud[Od.options.childkey]||[],jd={"#name":"__text__"},jd[Dd]=Md,Od.options.normalize&&(jd[Dd]=jd[Dd].replace(/\s{2,}/g," ").trim()),Ud[Od.options.childkey].push(jd)),Ud}}(this),this.saxParser.ontext=Ld,this.saxParser.oncdata=function(Od){return function(Md){var jd;if(jd=Ld(Md),jd)return jd.cdata=!0}}()},Ad.prototype.parseString=function(Sd,Dd){var Ld;Dd!=null&&typeof Dd=="function"&&(this.on("end",function(Rd){return this.reset(),Dd(null,Rd)}),this.on("error",function(Rd){return this.reset(),Dd(Rd)}));try{return Sd=Sd.toString(),Sd.trim()===""?(this.emit("end",null),!0):(Sd=qa.stripBOM(Sd),this.options.async?(this.remaining=Sd,cd(this.processAsync),this.saxParser):this.saxParser.write(Sd).close())}catch(Rd){if(Ld=Rd,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw Ld}else return this.emit("error",Ld),this.saxParser.errThrown=!0}},Ad.prototype.parseStringPromise=function(Sd){return new Promise(function(Dd){return function(Ld,Rd){return Dd.parseString(Sd,function(Od,Md){return Od?Rd(Od):Ld(Md)})}}(this))},Ad}(rd),Ra.parseString=function(Td,Ad,Sd){var Dd,Ld,Rd;return Sd!=null?(typeof Sd=="function"&&(Dd=Sd),typeof Ad=="object"&&(Ld=Ad)):(typeof Ad=="function"&&(Dd=Ad),Ld={}),Rd=new Ra.Parser(Ld),Rd.parseString(Td,Dd)},Ra.parseStringPromise=function(Td,Ad){var Sd,Dd;return typeof Ad=="object"&&(Sd=Ad),Dd=new Ra.Parser(Sd),Dd.parseStringPromise(Td)}}).call(commonjsGlobal)}(parser)),parser}(function(){var Ra,qa,td,rd,nd=function(sd,ud){for(var cd in ud)ad.call(ud,cd)&&(sd[cd]=ud[cd]);function dd(){this.constructor=sd}return dd.prototype=ud.prototype,sd.prototype=new dd,sd.__super__=ud.prototype,sd},ad={}.hasOwnProperty;qa=requireDefaults(),Ra=requireBuilder(),td=requireParser(),rd=requireProcessors(),xml2js.defaults=qa.defaults,xml2js.processors=rd,xml2js.ValidationError=function(sd){nd(ud,sd);function ud(cd){this.message=cd}return ud}(Error),xml2js.Builder=Ra.Builder,xml2js.Parser=td.Parser,xml2js.parseString=td.parseString,xml2js.parseStringPromise=td.parseStringPromise}).call(commonjsGlobal);class ExtendableError extends Error{constructor(qa,td){super(qa,td),this.name=this.constructor.name}}class AnonymousRequestError extends ExtendableError{}class InvalidArgumentError extends ExtendableError{}class InvalidEndpointError extends ExtendableError{}class InvalidBucketNameError extends ExtendableError{}class InvalidObjectNameError extends ExtendableError{}class AccessKeyRequiredError extends ExtendableError{}class SecretKeyRequiredError extends ExtendableError{}class ExpiresParamError extends ExtendableError{}class InvalidDateError extends ExtendableError{}class InvalidPrefixError extends ExtendableError{}class InvalidBucketPolicyError extends ExtendableError{}class InvalidXMLError extends ExtendableError{}class S3Error extends ExtendableError{}class IsValidBucketNameError extends ExtendableError{}var validator$3={},util$4={};(function(Ra){const qa=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",td=qa+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",rd="["+qa+"]["+td+"]*",nd=new RegExp("^"+rd+"$"),ad=function(ud,cd){const dd=[];let pd=cd.exec(ud);for(;pd;){const fd=[];fd.startIndex=cd.lastIndex-pd[0].length;const Td=pd.length;for(let Ad=0;Ad"u")};Ra.isExist=function(ud){return typeof ud<"u"},Ra.isEmptyObject=function(ud){return Object.keys(ud).length===0},Ra.merge=function(ud,cd,dd){if(cd){const pd=Object.keys(cd),fd=pd.length;for(let Td=0;Td"&&Ra[ad]!==" "&&Ra[ad]!==" "&&Ra[ad]!==` +`&&Ra[ad]!=="\r";ad++)cd+=Ra[ad];if(cd=cd.trim(),cd[cd.length-1]==="/"&&(cd=cd.substring(0,cd.length-1),ad--),!validateTagName(cd)){let fd;return cd.trim().length===0?fd="Invalid space after '<'.":fd="Tag '"+cd+"' is an invalid name.",getErrorObject("InvalidTag",fd,getLineNumberForPosition(Ra,ad))}const dd=readAttributeStr(Ra,ad);if(dd===!1)return getErrorObject("InvalidAttr","Attributes for '"+cd+"' have open quote.",getLineNumberForPosition(Ra,ad));let pd=dd.value;if(ad=dd.index,pd[pd.length-1]==="/"){const fd=ad-pd.length;pd=pd.substring(0,pd.length-1);const Td=validateAttributeString(pd,qa);if(Td===!0)rd=!0;else return getErrorObject(Td.err.code,Td.err.msg,getLineNumberForPosition(Ra,fd+Td.err.line))}else if(ud)if(dd.tagClosed){if(pd.trim().length>0)return getErrorObject("InvalidTag","Closing tag '"+cd+"' can't have attributes or invalid starting.",getLineNumberForPosition(Ra,sd));if(td.length===0)return getErrorObject("InvalidTag","Closing tag '"+cd+"' has not been opened.",getLineNumberForPosition(Ra,sd));{const fd=td.pop();if(cd!==fd.tagName){let Td=getLineNumberForPosition(Ra,fd.tagStartPos);return getErrorObject("InvalidTag","Expected closing tag '"+fd.tagName+"' (opened in line "+Td.line+", col "+Td.col+") instead of closing tag '"+cd+"'.",getLineNumberForPosition(Ra,sd))}td.length==0&&(nd=!0)}}else return getErrorObject("InvalidTag","Closing tag '"+cd+"' doesn't have proper closing.",getLineNumberForPosition(Ra,ad));else{const fd=validateAttributeString(pd,qa);if(fd!==!0)return getErrorObject(fd.err.code,fd.err.msg,getLineNumberForPosition(Ra,ad-pd.length+fd.err.line));if(nd===!0)return getErrorObject("InvalidXml","Multiple possible root nodes found.",getLineNumberForPosition(Ra,ad));qa.unpairedTags.indexOf(cd)!==-1||td.push({tagName:cd,tagStartPos:sd}),rd=!0}for(ad++;ad0)return getErrorObject("InvalidXml","Invalid '"+JSON.stringify(td.map(ad=>ad.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return getErrorObject("InvalidXml","Start tag expected.",1);return!0};function isWhiteSpace(Ra){return Ra===" "||Ra===" "||Ra===` +`||Ra==="\r"}function readPI(Ra,qa){const td=qa;for(;qa5&&rd==="xml")return getErrorObject("InvalidXml","XML declaration allowed only at the start of the document.",getLineNumberForPosition(Ra,qa));if(Ra[qa]=="?"&&Ra[qa+1]==">"){qa++;break}else continue}return qa}function readCommentAndCDATA(Ra,qa){if(Ra.length>qa+5&&Ra[qa+1]==="-"&&Ra[qa+2]==="-"){for(qa+=3;qa"){qa+=2;break}}else if(Ra.length>qa+8&&Ra[qa+1]==="D"&&Ra[qa+2]==="O"&&Ra[qa+3]==="C"&&Ra[qa+4]==="T"&&Ra[qa+5]==="Y"&&Ra[qa+6]==="P"&&Ra[qa+7]==="E"){let td=1;for(qa+=8;qa"&&(td--,td===0))break}else if(Ra.length>qa+9&&Ra[qa+1]==="["&&Ra[qa+2]==="C"&&Ra[qa+3]==="D"&&Ra[qa+4]==="A"&&Ra[qa+5]==="T"&&Ra[qa+6]==="A"&&Ra[qa+7]==="["){for(qa+=8;qa"){qa+=2;break}}return qa}const doubleQuote='"',singleQuote="'";function readAttributeStr(Ra,qa){let td="",rd="",nd=!1;for(;qa"&&rd===""){nd=!0;break}td+=Ra[qa]}return rd!==""?!1:{value:td,index:qa,tagClosed:nd}}const validAttrStrRegxp=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function validateAttributeString(Ra,qa){const td=util$3.getAllMatches(Ra,validAttrStrRegxp),rd={};for(let nd=0;nd!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(Ra,qa,td){return Ra}},buildOptions$1=function(Ra){return Object.assign({},defaultOptions$1,Ra)};OptionsBuilder.buildOptions=buildOptions$1;OptionsBuilder.defaultOptions=defaultOptions$1;class XmlNode{constructor(qa){this.tagname=qa,this.child=[],this[":@"]={}}add(qa,td){qa==="__proto__"&&(qa="#__proto__"),this.child.push({[qa]:td})}addChild(qa){qa.tagname==="__proto__"&&(qa.tagname="#__proto__"),qa[":@"]&&Object.keys(qa[":@"]).length>0?this.child.push({[qa.tagname]:qa.child,":@":qa[":@"]}):this.child.push({[qa.tagname]:qa.child})}}var xmlNode$1=XmlNode;const util$2=util$4;function readDocType$1(Ra,qa){const td={};if(Ra[qa+3]==="O"&&Ra[qa+4]==="C"&&Ra[qa+5]==="T"&&Ra[qa+6]==="Y"&&Ra[qa+7]==="P"&&Ra[qa+8]==="E"){qa=qa+9;let rd=1,nd=!1,ad=!1,sd="";for(;qa"){if(ad?Ra[qa-1]==="-"&&Ra[qa-2]==="-"&&(ad=!1,rd--):rd--,rd===0)break}else Ra[qa]==="["?nd=!0:sd+=Ra[qa];if(rd!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:td,i:qa}}function readEntityExp(Ra,qa){let td="";for(;qa0&&nd&&td[2]!==".")return Ra;if(!qa.leadingZeros&&ad.length>0&&!nd&&td[1]!==".")return Ra;{const cd=Number(td),dd=""+cd;return dd.search(/[eE]/)!==-1||ud?qa.eNotation?cd:Ra:td.indexOf(".")!==-1?dd==="0"&&sd===""||dd===sd||nd&&dd==="-"+sd?cd:Ra:ad?sd===dd||nd+sd===dd?cd:Ra:td===dd||td===nd+dd?cd:Ra}}else return Ra}}function trimZeros(Ra){return Ra&&Ra.indexOf(".")!==-1&&(Ra=Ra.replace(/0+$/,""),Ra==="."?Ra="0":Ra[0]==="."?Ra="0"+Ra:Ra[Ra.length-1]==="."&&(Ra=Ra.substr(0,Ra.length-1))),Ra}var strnum=toNumber$1;function getIgnoreAttributesFn$2(Ra){return typeof Ra=="function"?Ra:Array.isArray(Ra)?qa=>{for(const td of Ra)if(typeof td=="string"&&qa===td||td instanceof RegExp&&td.test(qa))return!0}:()=>!1}var ignoreAttributes=getIgnoreAttributesFn$2;const util$1=util$4,xmlNode=xmlNode$1,readDocType=DocTypeReader,toNumber=strnum,getIgnoreAttributesFn$1=ignoreAttributes;let OrderedObjParser$1=class{constructor(qa){this.options=qa,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(td,rd)=>String.fromCharCode(Number.parseInt(rd,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(td,rd)=>String.fromCharCode(Number.parseInt(rd,16))}},this.addExternalEntities=addExternalEntities,this.parseXml=parseXml$1,this.parseTextData=parseTextData,this.resolveNameSpace=resolveNameSpace,this.buildAttributesMap=buildAttributesMap,this.isItStopNode=isItStopNode,this.replaceEntitiesValue=replaceEntitiesValue$1,this.readStopNodeData=readStopNodeData,this.saveTextToParentTag=saveTextToParentTag,this.addChild=addChild,this.ignoreAttributesFn=getIgnoreAttributesFn$1(this.options.ignoreAttributes)}};function addExternalEntities(Ra){const qa=Object.keys(Ra);for(let td=0;td0)){sd||(Ra=this.replaceEntitiesValue(Ra));const ud=this.options.tagValueProcessor(qa,Ra,td,nd,ad);return ud==null?Ra:typeof ud!=typeof Ra||ud!==Ra?ud:this.options.trimValues?parseValue(Ra,this.options.parseTagValue,this.options.numberParseOptions):Ra.trim()===Ra?parseValue(Ra,this.options.parseTagValue,this.options.numberParseOptions):Ra}}function resolveNameSpace(Ra){if(this.options.removeNSPrefix){const qa=Ra.split(":"),td=Ra.charAt(0)==="/"?"/":"";if(qa[0]==="xmlns")return"";qa.length===2&&(Ra=td+qa[1])}return Ra}const attrsRegx=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function buildAttributesMap(Ra,qa,td){if(this.options.ignoreAttributes!==!0&&typeof Ra=="string"){const rd=util$1.getAllMatches(Ra,attrsRegx),nd=rd.length,ad={};for(let sd=0;sd",ad,"Closing Tag is not closed.");let cd=Ra.substring(ad+2,ud).trim();if(this.options.removeNSPrefix){const fd=cd.indexOf(":");fd!==-1&&(cd=cd.substr(fd+1))}this.options.transformTagName&&(cd=this.options.transformTagName(cd)),td&&(rd=this.saveTextToParentTag(rd,td,nd));const dd=nd.substring(nd.lastIndexOf(".")+1);if(cd&&this.options.unpairedTags.indexOf(cd)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: `);let pd=0;dd&&this.options.unpairedTags.indexOf(dd)!==-1?(pd=nd.lastIndexOf(".",nd.lastIndexOf(".")-1),this.tagsNodeStack.pop()):pd=nd.lastIndexOf("."),nd=nd.substring(0,pd),td=this.tagsNodeStack.pop(),rd="",ad=ud}else if(Ra[ad+1]==="?"){let ud=readTagExp(Ra,ad,!1,"?>");if(!ud)throw new Error("Pi Tag is not closed.");if(rd=this.saveTextToParentTag(rd,td,nd),!(this.options.ignoreDeclaration&&ud.tagName==="?xml"||this.options.ignorePiTags)){const cd=new xmlNode(ud.tagName);cd.add(this.options.textNodeName,""),ud.tagName!==ud.tagExp&&ud.attrExpPresent&&(cd[":@"]=this.buildAttributesMap(ud.tagExp,nd,ud.tagName)),this.addChild(td,cd,nd)}ad=ud.closeIndex+1}else if(Ra.substr(ad+1,3)==="!--"){const ud=findClosingIndex(Ra,"-->",ad+4,"Comment is not closed.");if(this.options.commentPropName){const cd=Ra.substring(ad+4,ud-2);rd=this.saveTextToParentTag(rd,td,nd),td.add(this.options.commentPropName,[{[this.options.textNodeName]:cd}])}ad=ud}else if(Ra.substr(ad+1,2)==="!D"){const ud=readDocType(Ra,ad);this.docTypeEntities=ud.entities,ad=ud.i}else if(Ra.substr(ad+1,2)==="!["){const ud=findClosingIndex(Ra,"]]>",ad,"CDATA is not closed.")-2,cd=Ra.substring(ad+9,ud);rd=this.saveTextToParentTag(rd,td,nd);let dd=this.parseTextData(cd,td.tagname,nd,!0,!1,!0,!0);dd==null&&(dd=""),this.options.cdataPropName?td.add(this.options.cdataPropName,[{[this.options.textNodeName]:cd}]):td.add(this.options.textNodeName,dd),ad=ud+2}else{let ud=readTagExp(Ra,ad,this.options.removeNSPrefix),cd=ud.tagName;const dd=ud.rawTagName;let pd=ud.tagExp,fd=ud.attrExpPresent,Td=ud.closeIndex;this.options.transformTagName&&(cd=this.options.transformTagName(cd)),td&&rd&&td.tagname!=="!xml"&&(rd=this.saveTextToParentTag(rd,td,nd,!1));const Ad=td;if(Ad&&this.options.unpairedTags.indexOf(Ad.tagname)!==-1&&(td=this.tagsNodeStack.pop(),nd=nd.substring(0,nd.lastIndexOf("."))),cd!==qa.tagname&&(nd+=nd?"."+cd:cd),this.isItStopNode(this.options.stopNodes,nd,cd)){let Sd="";if(pd.length>0&&pd.lastIndexOf("/")===pd.length-1)cd[cd.length-1]==="/"?(cd=cd.substr(0,cd.length-1),nd=nd.substr(0,nd.length-1),pd=cd):pd=pd.substr(0,pd.length-1),ad=ud.closeIndex;else if(this.options.unpairedTags.indexOf(cd)!==-1)ad=ud.closeIndex;else{const Ld=this.readStopNodeData(Ra,dd,Td+1);if(!Ld)throw new Error(`Unexpected end of ${dd}`);ad=Ld.i,Sd=Ld.tagContent}const Dd=new xmlNode(cd);cd!==pd&&fd&&(Dd[":@"]=this.buildAttributesMap(pd,nd,cd)),Sd&&(Sd=this.parseTextData(Sd,cd,nd,!0,fd,!0,!0)),nd=nd.substr(0,nd.lastIndexOf(".")),Dd.add(this.options.textNodeName,Sd),this.addChild(td,Dd,nd)}else{if(pd.length>0&&pd.lastIndexOf("/")===pd.length-1){cd[cd.length-1]==="/"?(cd=cd.substr(0,cd.length-1),nd=nd.substr(0,nd.length-1),pd=cd):pd=pd.substr(0,pd.length-1),this.options.transformTagName&&(cd=this.options.transformTagName(cd));const Sd=new xmlNode(cd);cd!==pd&&fd&&(Sd[":@"]=this.buildAttributesMap(pd,nd,cd)),this.addChild(td,Sd,nd),nd=nd.substr(0,nd.lastIndexOf("."))}else{const Sd=new xmlNode(cd);this.tagsNodeStack.push(td),cd!==pd&&fd&&(Sd[":@"]=this.buildAttributesMap(pd,nd,cd)),this.addChild(td,Sd,nd),td=Sd}rd="",ad=Td}}else rd+=Ra[ad];return qa.child};function addChild(Ra,qa,td){const rd=this.options.updateTag(qa.tagname,td,qa[":@"]);rd===!1||(typeof rd=="string"&&(qa.tagname=rd),Ra.addChild(qa))}const replaceEntitiesValue$1=function(Ra){if(this.options.processEntities){for(let qa in this.docTypeEntities){const td=this.docTypeEntities[qa];Ra=Ra.replace(td.regx,td.val)}for(let qa in this.lastEntities){const td=this.lastEntities[qa];Ra=Ra.replace(td.regex,td.val)}if(this.options.htmlEntities)for(let qa in this.htmlEntities){const td=this.htmlEntities[qa];Ra=Ra.replace(td.regex,td.val)}Ra=Ra.replace(this.ampEntity.regex,this.ampEntity.val)}return Ra};function saveTextToParentTag(Ra,qa,td,rd){return Ra&&(rd===void 0&&(rd=Object.keys(qa.child).length===0),Ra=this.parseTextData(Ra,qa.tagname,td,!1,qa[":@"]?Object.keys(qa[":@"]).length!==0:!1,rd),Ra!==void 0&&Ra!==""&&qa.add(this.options.textNodeName,Ra),Ra=""),Ra}function isItStopNode(Ra,qa,td){const rd="*."+td;for(const nd in Ra){const ad=Ra[nd];if(rd===ad||qa===ad)return!0}return!1}function tagExpWithClosingIndex(Ra,qa,td=">"){let rd,nd="";for(let ad=qa;ad",td,`${qa} is not closed`);if(Ra.substring(td+2,ad).trim()===qa&&(nd--,nd===0))return{tagContent:Ra.substring(rd,td),i:ad};td=ad}else if(Ra[td+1]==="?")td=findClosingIndex(Ra,"?>",td+1,"StopNode is not closed.");else if(Ra.substr(td+1,3)==="!--")td=findClosingIndex(Ra,"-->",td+3,"StopNode is not closed.");else if(Ra.substr(td+1,2)==="![")td=findClosingIndex(Ra,"]]>",td,"StopNode is not closed.")-2;else{const ad=readTagExp(Ra,td,">");ad&&((ad&&ad.tagName)===qa&&ad.tagExp[ad.tagExp.length-1]!=="/"&&nd++,td=ad.closeIndex)}}function parseValue(Ra,qa,td){if(qa&&typeof Ra=="string"){const rd=Ra.trim();return rd==="true"?!0:rd==="false"?!1:toNumber(Ra,td)}else return util$1.isExist(Ra)?Ra:""}var OrderedObjParser_1=OrderedObjParser$1,node2json={};function prettify$1(Ra,qa){return compress(Ra,qa)}function compress(Ra,qa,td){let rd;const nd={};for(let ad=0;ad0&&(nd[qa.textNodeName]=rd):rd!==void 0&&(nd[qa.textNodeName]=rd),nd}function propName$1(Ra){const qa=Object.keys(Ra);for(let td=0;td0&&(td=EOL),arrToStr(Ra,qa,"",td)}function arrToStr(Ra,qa,td,rd){let nd="",ad=!1;for(let sd=0;sd`,ad=!1;continue}else if(cd===qa.commentPropName){nd+=rd+``,ad=!0;continue}else if(cd[0]==="?"){const Sd=attr_to_str(ud[":@"],qa),Dd=cd==="?xml"?"":rd;let Ld=ud[cd][0][qa.textNodeName];Ld=Ld.length!==0?" "+Ld:"",nd+=Dd+`<${cd}${Ld}${Sd}?>`,ad=!0;continue}let pd=rd;pd!==""&&(pd+=qa.indentBy);const fd=attr_to_str(ud[":@"],qa),Td=rd+`<${cd}${fd}`,Ad=arrToStr(ud[cd],qa,dd,pd);qa.unpairedTags.indexOf(cd)!==-1?qa.suppressUnpairedNode?nd+=Td+">":nd+=Td+"/>":(!Ad||Ad.length===0)&&qa.suppressEmptyNode?nd+=Td+"/>":Ad&&Ad.endsWith(">")?nd+=Td+`>${Ad}${rd}`:(nd+=Td+">",Ad&&rd!==""&&(Ad.includes("/>")||Ad.includes("`),ad=!0}return nd}function propName(Ra){const qa=Object.keys(Ra);for(let td=0;td0&&qa.processEntities)for(let td=0;td","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function Builder(Ra){this.options=Object.assign({},defaultOptions,Ra),this.options.ignoreAttributes===!0||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=getIgnoreAttributesFn(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=isAttribute),this.processTextOrObjNode=processTextOrObjNode,this.options.format?(this.indentate=indentate,this.tagEndChar=`> `,this.newLine=` -`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}Builder.prototype.build=function(Ra){return this.options.preserveOrder?buildFromOrderedJs(Ra,this.options):(Array.isArray(Ra)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(Ra={[this.options.arrayNodeName]:Ra}),this.j2x(Ra,0,[]).val)};Builder.prototype.j2x=function(Ra,qa,ed){let td="",rd="";const sd=ed.join(".");for(let od in Ra)if(Object.prototype.hasOwnProperty.call(Ra,od))if(typeof Ra[od]>"u")this.isAttribute(od)&&(rd+="");else if(Ra[od]===null)this.isAttribute(od)?rd+="":od[0]==="?"?rd+=this.indentate(qa)+"<"+od+"?"+this.tagEndChar:rd+=this.indentate(qa)+"<"+od+"/"+this.tagEndChar;else if(Ra[od]instanceof Date)rd+=this.buildTextValNode(Ra[od],od,"",qa);else if(typeof Ra[od]!="object"){const ld=this.isAttribute(od);if(ld&&!this.ignoreAttributesFn(ld,sd))td+=this.buildAttrPairStr(ld,""+Ra[od]);else if(!ld)if(od===this.options.textNodeName){let ud=this.options.tagValueProcessor(od,""+Ra[od]);rd+=this.replaceEntitiesValue(ud)}else rd+=this.buildTextValNode(Ra[od],od,"",qa)}else if(Array.isArray(Ra[od])){const ld=Ra[od].length;let ud="",cd="";for(let dd=0;dd"u"))if(_d===null)od[0]==="?"?rd+=this.indentate(qa)+"<"+od+"?"+this.tagEndChar:rd+=this.indentate(qa)+"<"+od+"/"+this.tagEndChar;else if(typeof _d=="object")if(this.options.oneListGroup){const Ed=this.j2x(_d,qa+1,ed.concat(od));ud+=Ed.val,this.options.attributesGroupName&&_d.hasOwnProperty(this.options.attributesGroupName)&&(cd+=Ed.attrStr)}else ud+=this.processTextOrObjNode(_d,od,qa,ed);else if(this.options.oneListGroup){let Ed=this.options.tagValueProcessor(od,_d);Ed=this.replaceEntitiesValue(Ed),ud+=Ed}else ud+=this.buildTextValNode(_d,od,"",qa)}this.options.oneListGroup&&(ud=this.buildObjectNode(ud,od,cd,qa)),rd+=ud}else if(this.options.attributesGroupName&&od===this.options.attributesGroupName){const ld=Object.keys(Ra[od]),ud=ld.length;for(let cd=0;cd"+Ra+rd:this.options.commentPropName!==!1&&qa===this.options.commentPropName&&sd.length===0?this.indentate(td)+``+this.newLine:this.indentate(td)+"<"+qa+ed+sd+this.tagEndChar+Ra+this.indentate(td)+rd}};Builder.prototype.closeTag=function(Ra){let qa="";return this.options.unpairedTags.indexOf(Ra)!==-1?this.options.suppressUnpairedNode||(qa="/"):this.options.suppressEmptyNode?qa="/":qa=`>`+this.newLine;if(this.options.commentPropName!==!1&&qa===this.options.commentPropName)return this.indentate(td)+``+this.newLine;if(qa[0]==="?")return this.indentate(td)+"<"+qa+ed+"?"+this.tagEndChar;{let rd=this.options.tagValueProcessor(qa,Ra);return rd=this.replaceEntitiesValue(rd),rd===""?this.indentate(td)+"<"+qa+ed+this.closeTag(qa)+this.tagEndChar:this.indentate(td)+"<"+qa+ed+">"+rd+"0&&this.options.processEntities)for(let qa=0;qa=0;)Bd++;if(Td.substr(0,2)==="::"&&Bd--,Td.substr(-2,2)==="::"&&Bd--,Bd>Id)return null;for(Ld=Id-Bd,Md=":";Ld--;)Md+="0:";return Td=Td.replace("::",Md),Td[0]===":"&&(Td=Td.slice(1)),Td[Td.length-1]===":"&&(Td=Td.slice(0,-1)),Id=function(){const Fd=Td.split(":"),jd=[];for(let Vd=0;Vd0;){if(Md=Bd-Rd,Md<0&&(Md=0),Td[Od]>>Md!==Id[Od]>>Md)return!1;Rd-=Bd,Od+=1}return!0}function _d(Td){if(sd.test(Td))return parseInt(Td,16);if(Td[0]==="0"&&!isNaN(parseInt(Td[1],10))){if(rd.test(Td))return parseInt(Td,8);throw new Error(`ipaddr: cannot parse ${Td} as octal`)}return parseInt(Td,10)}function Ed(Td,Id){for(;Td.length=0;Od-=1)if(Md=this.octets[Od],Md in Rd){if(Ld=Rd[Md],Bd&&Ld!==0)return null;Ld!==8&&(Bd=!0),Id+=Ld}else return null;return 32-Id},Td.prototype.range=function(){return Ad.subnetMatch(this,this.SpecialRanges)},Td.prototype.toByteArray=function(){return this.octets.slice(0)},Td.prototype.toIPv4MappedAddress=function(){return Ad.IPv6.parse(`::ffff:${this.toString()}`)},Td.prototype.toNormalizedString=function(){return this.toString()},Td.prototype.toString=function(){return this.octets.join(".")},Td}(),Ad.IPv4.broadcastAddressFromCIDR=function(Td){try{const Id=this.parseCIDR(Td),Bd=Id[0].toByteArray(),Rd=this.subnetMaskFromPrefixLength(Id[1]).toByteArray(),Od=[];let Md=0;for(;Md<4;)Od.push(parseInt(Bd[Md],10)|parseInt(Rd[Md],10)^255),Md++;return new this(Od)}catch{throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},Ad.IPv4.isIPv4=function(Td){return this.parser(Td)!==null},Ad.IPv4.isValid=function(Td){try{return new this(this.parser(Td)),!0}catch{return!1}},Ad.IPv4.isValidCIDR=function(Td){try{return this.parseCIDR(Td),!0}catch{return!1}},Ad.IPv4.isValidFourPartDecimal=function(Td){return!!(Ad.IPv4.isValid(Td)&&Td.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/))},Ad.IPv4.networkAddressFromCIDR=function(Td){let Id,Bd,Rd,Od,Md;try{for(Id=this.parseCIDR(Td),Rd=Id[0].toByteArray(),Md=this.subnetMaskFromPrefixLength(Id[1]).toByteArray(),Od=[],Bd=0;Bd<4;)Od.push(parseInt(Rd[Bd],10)&parseInt(Md[Bd],10)),Bd++;return new this(Od)}catch{throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},Ad.IPv4.parse=function(Td){const Id=this.parser(Td);if(Id===null)throw new Error("ipaddr: string is not formatted like an IPv4 Address");return new this(Id)},Ad.IPv4.parseCIDR=function(Td){let Id;if(Id=Td.match(/^(.+)\/(\d+)$/)){const Bd=parseInt(Id[2]);if(Bd>=0&&Bd<=32){const Rd=[this.parse(Id[1]),Bd];return Object.defineProperty(Rd,"toString",{value:function(){return this.join("/")}}),Rd}}throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range")},Ad.IPv4.parser=function(Td){let Id,Bd,Rd;if(Id=Td.match(td.fourOctet))return function(){const Od=Id.slice(1,6),Md=[];for(let Ld=0;Ld4294967295||Rd<0)throw new Error("ipaddr: address outside defined range");return function(){const Od=[];let Md;for(Md=0;Md<=24;Md+=8)Od.push(Rd>>Md&255);return Od}().reverse()}else return(Id=Td.match(td.twoOctet))?function(){const Od=Id.slice(1,4),Md=[];if(Rd=_d(Od[1]),Rd>16777215||Rd<0)throw new Error("ipaddr: address outside defined range");return Md.push(_d(Od[0])),Md.push(Rd>>16&255),Md.push(Rd>>8&255),Md.push(Rd&255),Md}():(Id=Td.match(td.threeOctet))?function(){const Od=Id.slice(1,5),Md=[];if(Rd=_d(Od[2]),Rd>65535||Rd<0)throw new Error("ipaddr: address outside defined range");return Md.push(_d(Od[0])),Md.push(_d(Od[1])),Md.push(Rd>>8&255),Md.push(Rd&255),Md}():null},Ad.IPv4.subnetMaskFromPrefixLength=function(Td){if(Td=parseInt(Td),Td<0||Td>32)throw new Error("ipaddr: invalid IPv4 prefix length");const Id=[0,0,0,0];let Bd=0;const Rd=Math.floor(Td/8);for(;Bd=0;Ld-=1)if(Od=this.parts[Ld],Od in Rd){if(Md=Rd[Od],Bd&&Md!==0)return null;Md!==16&&(Bd=!0),Id+=Md}else return null;return 128-Id},Td.prototype.range=function(){return Ad.subnetMatch(this,this.SpecialRanges)},Td.prototype.toByteArray=function(){let Id;const Bd=[],Rd=this.parts;for(let Od=0;Od>8),Bd.push(Id&255);return Bd},Td.prototype.toFixedLengthString=function(){const Id=(function(){const Rd=[];for(let Od=0;Od>8,Bd&255,Rd>>8,Rd&255])},Td.prototype.toNormalizedString=function(){const Id=(function(){const Rd=[];for(let Od=0;OdOd&&(Rd=Md.index,Od=Md[0].length);return Od<0?Bd:`${Bd.substring(0,Rd)}::${Bd.substring(Rd+Od)}`},Td.prototype.toString=function(){return this.toRFC5952String()},Td}(),Ad.IPv6.broadcastAddressFromCIDR=function(Td){try{const Id=this.parseCIDR(Td),Bd=Id[0].toByteArray(),Rd=this.subnetMaskFromPrefixLength(Id[1]).toByteArray(),Od=[];let Md=0;for(;Md<16;)Od.push(parseInt(Bd[Md],10)|parseInt(Rd[Md],10)^255),Md++;return new this(Od)}catch(Id){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${Id})`)}},Ad.IPv6.isIPv6=function(Td){return this.parser(Td)!==null},Ad.IPv6.isValid=function(Td){if(typeof Td=="string"&&Td.indexOf(":")===-1)return!1;try{const Id=this.parser(Td);return new this(Id.parts,Id.zoneId),!0}catch{return!1}},Ad.IPv6.isValidCIDR=function(Td){if(typeof Td=="string"&&Td.indexOf(":")===-1)return!1;try{return this.parseCIDR(Td),!0}catch{return!1}},Ad.IPv6.networkAddressFromCIDR=function(Td){let Id,Bd,Rd,Od,Md;try{for(Id=this.parseCIDR(Td),Rd=Id[0].toByteArray(),Md=this.subnetMaskFromPrefixLength(Id[1]).toByteArray(),Od=[],Bd=0;Bd<16;)Od.push(parseInt(Rd[Bd],10)&parseInt(Md[Bd],10)),Bd++;return new this(Od)}catch(Ld){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${Ld})`)}},Ad.IPv6.parse=function(Td){const Id=this.parser(Td);if(Id.parts===null)throw new Error("ipaddr: string is not formatted like an IPv6 Address");return new this(Id.parts,Id.zoneId)},Ad.IPv6.parseCIDR=function(Td){let Id,Bd,Rd;if((Bd=Td.match(/^(.+)\/(\d+)$/))&&(Id=parseInt(Bd[2]),Id>=0&&Id<=128))return Rd=[this.parse(Bd[1]),Id],Object.defineProperty(Rd,"toString",{value:function(){return this.join("/")}}),Rd;throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range")},Ad.IPv6.parser=function(Td){let Id,Bd,Rd,Od,Md,Ld;if(Rd=Td.match(ud.deprecatedTransitional))return this.parser(`::ffff:${Rd[1]}`);if(ud.native.test(Td))return cd(Td,8);if((Rd=Td.match(ud.transitional))&&(Ld=Rd[6]||"",Id=Rd[1],Rd[1].endsWith("::")||(Id=Id.slice(0,-1)),Id=cd(Id+Ld,6),Id.parts)){for(Md=[parseInt(Rd[2]),parseInt(Rd[3]),parseInt(Rd[4]),parseInt(Rd[5])],Bd=0;Bd128)throw new Error("ipaddr: invalid IPv6 prefix length");const Id=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];let Bd=0;const Rd=Math.floor(Td/8);for(;Bd",this.newLine="")}Builder.prototype.build=function(Ra){return this.options.preserveOrder?buildFromOrderedJs(Ra,this.options):(Array.isArray(Ra)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(Ra={[this.options.arrayNodeName]:Ra}),this.j2x(Ra,0,[]).val)};Builder.prototype.j2x=function(Ra,qa,td){let rd="",nd="";const ad=td.join(".");for(let sd in Ra)if(Object.prototype.hasOwnProperty.call(Ra,sd))if(typeof Ra[sd]>"u")this.isAttribute(sd)&&(nd+="");else if(Ra[sd]===null)this.isAttribute(sd)?nd+="":sd[0]==="?"?nd+=this.indentate(qa)+"<"+sd+"?"+this.tagEndChar:nd+=this.indentate(qa)+"<"+sd+"/"+this.tagEndChar;else if(Ra[sd]instanceof Date)nd+=this.buildTextValNode(Ra[sd],sd,"",qa);else if(typeof Ra[sd]!="object"){const ud=this.isAttribute(sd);if(ud&&!this.ignoreAttributesFn(ud,ad))rd+=this.buildAttrPairStr(ud,""+Ra[sd]);else if(!ud)if(sd===this.options.textNodeName){let cd=this.options.tagValueProcessor(sd,""+Ra[sd]);nd+=this.replaceEntitiesValue(cd)}else nd+=this.buildTextValNode(Ra[sd],sd,"",qa)}else if(Array.isArray(Ra[sd])){const ud=Ra[sd].length;let cd="",dd="";for(let pd=0;pd"u"))if(fd===null)sd[0]==="?"?nd+=this.indentate(qa)+"<"+sd+"?"+this.tagEndChar:nd+=this.indentate(qa)+"<"+sd+"/"+this.tagEndChar;else if(typeof fd=="object")if(this.options.oneListGroup){const Td=this.j2x(fd,qa+1,td.concat(sd));cd+=Td.val,this.options.attributesGroupName&&fd.hasOwnProperty(this.options.attributesGroupName)&&(dd+=Td.attrStr)}else cd+=this.processTextOrObjNode(fd,sd,qa,td);else if(this.options.oneListGroup){let Td=this.options.tagValueProcessor(sd,fd);Td=this.replaceEntitiesValue(Td),cd+=Td}else cd+=this.buildTextValNode(fd,sd,"",qa)}this.options.oneListGroup&&(cd=this.buildObjectNode(cd,sd,dd,qa)),nd+=cd}else if(this.options.attributesGroupName&&sd===this.options.attributesGroupName){const ud=Object.keys(Ra[sd]),cd=ud.length;for(let dd=0;dd"+Ra+nd:this.options.commentPropName!==!1&&qa===this.options.commentPropName&&ad.length===0?this.indentate(rd)+``+this.newLine:this.indentate(rd)+"<"+qa+td+ad+this.tagEndChar+Ra+this.indentate(rd)+nd}};Builder.prototype.closeTag=function(Ra){let qa="";return this.options.unpairedTags.indexOf(Ra)!==-1?this.options.suppressUnpairedNode||(qa="/"):this.options.suppressEmptyNode?qa="/":qa=`>`+this.newLine;if(this.options.commentPropName!==!1&&qa===this.options.commentPropName)return this.indentate(rd)+``+this.newLine;if(qa[0]==="?")return this.indentate(rd)+"<"+qa+td+"?"+this.tagEndChar;{let nd=this.options.tagValueProcessor(qa,Ra);return nd=this.replaceEntitiesValue(nd),nd===""?this.indentate(rd)+"<"+qa+td+this.closeTag(qa)+this.tagEndChar:this.indentate(rd)+"<"+qa+td+">"+nd+"0&&this.options.processEntities)for(let qa=0;qa=0;)Ld++;if(Sd.substr(0,2)==="::"&&Ld--,Sd.substr(-2,2)==="::"&&Ld--,Ld>Dd)return null;for(jd=Dd-Ld,Md=":";jd--;)Md+="0:";return Sd=Sd.replace("::",Md),Sd[0]===":"&&(Sd=Sd.slice(1)),Sd[Sd.length-1]===":"&&(Sd=Sd.slice(0,-1)),Dd=function(){const Ud=Sd.split(":"),Hd=[];for(let zd=0;zd0;){if(Md=Ld-Rd,Md<0&&(Md=0),Sd[Od]>>Md!==Dd[Od]>>Md)return!1;Rd-=Ld,Od+=1}return!0}function fd(Sd){if(ad.test(Sd))return parseInt(Sd,16);if(Sd[0]==="0"&&!isNaN(parseInt(Sd[1],10))){if(nd.test(Sd))return parseInt(Sd,8);throw new Error(`ipaddr: cannot parse ${Sd} as octal`)}return parseInt(Sd,10)}function Td(Sd,Dd){for(;Sd.length=0;Od-=1)if(Md=this.octets[Od],Md in Rd){if(jd=Rd[Md],Ld&&jd!==0)return null;jd!==8&&(Ld=!0),Dd+=jd}else return null;return 32-Dd},Sd.prototype.range=function(){return Ad.subnetMatch(this,this.SpecialRanges)},Sd.prototype.toByteArray=function(){return this.octets.slice(0)},Sd.prototype.toIPv4MappedAddress=function(){return Ad.IPv6.parse(`::ffff:${this.toString()}`)},Sd.prototype.toNormalizedString=function(){return this.toString()},Sd.prototype.toString=function(){return this.octets.join(".")},Sd}(),Ad.IPv4.broadcastAddressFromCIDR=function(Sd){try{const Dd=this.parseCIDR(Sd),Ld=Dd[0].toByteArray(),Rd=this.subnetMaskFromPrefixLength(Dd[1]).toByteArray(),Od=[];let Md=0;for(;Md<4;)Od.push(parseInt(Ld[Md],10)|parseInt(Rd[Md],10)^255),Md++;return new this(Od)}catch{throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},Ad.IPv4.isIPv4=function(Sd){return this.parser(Sd)!==null},Ad.IPv4.isValid=function(Sd){try{return new this(this.parser(Sd)),!0}catch{return!1}},Ad.IPv4.isValidCIDR=function(Sd){try{return this.parseCIDR(Sd),!0}catch{return!1}},Ad.IPv4.isValidFourPartDecimal=function(Sd){return!!(Ad.IPv4.isValid(Sd)&&Sd.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/))},Ad.IPv4.networkAddressFromCIDR=function(Sd){let Dd,Ld,Rd,Od,Md;try{for(Dd=this.parseCIDR(Sd),Rd=Dd[0].toByteArray(),Md=this.subnetMaskFromPrefixLength(Dd[1]).toByteArray(),Od=[],Ld=0;Ld<4;)Od.push(parseInt(Rd[Ld],10)&parseInt(Md[Ld],10)),Ld++;return new this(Od)}catch{throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},Ad.IPv4.parse=function(Sd){const Dd=this.parser(Sd);if(Dd===null)throw new Error("ipaddr: string is not formatted like an IPv4 Address");return new this(Dd)},Ad.IPv4.parseCIDR=function(Sd){let Dd;if(Dd=Sd.match(/^(.+)\/(\d+)$/)){const Ld=parseInt(Dd[2]);if(Ld>=0&&Ld<=32){const Rd=[this.parse(Dd[1]),Ld];return Object.defineProperty(Rd,"toString",{value:function(){return this.join("/")}}),Rd}}throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range")},Ad.IPv4.parser=function(Sd){let Dd,Ld,Rd;if(Dd=Sd.match(rd.fourOctet))return function(){const Od=Dd.slice(1,6),Md=[];for(let jd=0;jd4294967295||Rd<0)throw new Error("ipaddr: address outside defined range");return function(){const Od=[];let Md;for(Md=0;Md<=24;Md+=8)Od.push(Rd>>Md&255);return Od}().reverse()}else return(Dd=Sd.match(rd.twoOctet))?function(){const Od=Dd.slice(1,4),Md=[];if(Rd=fd(Od[1]),Rd>16777215||Rd<0)throw new Error("ipaddr: address outside defined range");return Md.push(fd(Od[0])),Md.push(Rd>>16&255),Md.push(Rd>>8&255),Md.push(Rd&255),Md}():(Dd=Sd.match(rd.threeOctet))?function(){const Od=Dd.slice(1,5),Md=[];if(Rd=fd(Od[2]),Rd>65535||Rd<0)throw new Error("ipaddr: address outside defined range");return Md.push(fd(Od[0])),Md.push(fd(Od[1])),Md.push(Rd>>8&255),Md.push(Rd&255),Md}():null},Ad.IPv4.subnetMaskFromPrefixLength=function(Sd){if(Sd=parseInt(Sd),Sd<0||Sd>32)throw new Error("ipaddr: invalid IPv4 prefix length");const Dd=[0,0,0,0];let Ld=0;const Rd=Math.floor(Sd/8);for(;Ld=0;jd-=1)if(Od=this.parts[jd],Od in Rd){if(Md=Rd[Od],Ld&&Md!==0)return null;Md!==16&&(Ld=!0),Dd+=Md}else return null;return 128-Dd},Sd.prototype.range=function(){return Ad.subnetMatch(this,this.SpecialRanges)},Sd.prototype.toByteArray=function(){let Dd;const Ld=[],Rd=this.parts;for(let Od=0;Od>8),Ld.push(Dd&255);return Ld},Sd.prototype.toFixedLengthString=function(){const Dd=(function(){const Rd=[];for(let Od=0;Od>8,Ld&255,Rd>>8,Rd&255])},Sd.prototype.toNormalizedString=function(){const Dd=(function(){const Rd=[];for(let Od=0;OdOd&&(Rd=Md.index,Od=Md[0].length);return Od<0?Ld:`${Ld.substring(0,Rd)}::${Ld.substring(Rd+Od)}`},Sd.prototype.toString=function(){return this.toRFC5952String()},Sd}(),Ad.IPv6.broadcastAddressFromCIDR=function(Sd){try{const Dd=this.parseCIDR(Sd),Ld=Dd[0].toByteArray(),Rd=this.subnetMaskFromPrefixLength(Dd[1]).toByteArray(),Od=[];let Md=0;for(;Md<16;)Od.push(parseInt(Ld[Md],10)|parseInt(Rd[Md],10)^255),Md++;return new this(Od)}catch(Dd){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${Dd})`)}},Ad.IPv6.isIPv6=function(Sd){return this.parser(Sd)!==null},Ad.IPv6.isValid=function(Sd){if(typeof Sd=="string"&&Sd.indexOf(":")===-1)return!1;try{const Dd=this.parser(Sd);return new this(Dd.parts,Dd.zoneId),!0}catch{return!1}},Ad.IPv6.isValidCIDR=function(Sd){if(typeof Sd=="string"&&Sd.indexOf(":")===-1)return!1;try{return this.parseCIDR(Sd),!0}catch{return!1}},Ad.IPv6.networkAddressFromCIDR=function(Sd){let Dd,Ld,Rd,Od,Md;try{for(Dd=this.parseCIDR(Sd),Rd=Dd[0].toByteArray(),Md=this.subnetMaskFromPrefixLength(Dd[1]).toByteArray(),Od=[],Ld=0;Ld<16;)Od.push(parseInt(Rd[Ld],10)&parseInt(Md[Ld],10)),Ld++;return new this(Od)}catch(jd){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${jd})`)}},Ad.IPv6.parse=function(Sd){const Dd=this.parser(Sd);if(Dd.parts===null)throw new Error("ipaddr: string is not formatted like an IPv6 Address");return new this(Dd.parts,Dd.zoneId)},Ad.IPv6.parseCIDR=function(Sd){let Dd,Ld,Rd;if((Ld=Sd.match(/^(.+)\/(\d+)$/))&&(Dd=parseInt(Ld[2]),Dd>=0&&Dd<=128))return Rd=[this.parse(Ld[1]),Dd],Object.defineProperty(Rd,"toString",{value:function(){return this.join("/")}}),Rd;throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range")},Ad.IPv6.parser=function(Sd){let Dd,Ld,Rd,Od,Md,jd;if(Rd=Sd.match(cd.deprecatedTransitional))return this.parser(`::ffff:${Rd[1]}`);if(cd.native.test(Sd))return dd(Sd,8);if((Rd=Sd.match(cd.transitional))&&(jd=Rd[6]||"",Dd=Rd[1],Rd[1].endsWith("::")||(Dd=Dd.slice(0,-1)),Dd=dd(Dd+jd,6),Dd.parts)){for(Md=[parseInt(Rd[2]),parseInt(Rd[3]),parseInt(Rd[4]),parseInt(Rd[5])],Ld=0;Ld128)throw new Error("ipaddr: invalid IPv6 prefix length");const Dd=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];let Ld=0;const Rd=Math.floor(Sd/8);for(;LdLd||Md===Ld&&_d[Od].substr(0,12)==="application/"))continue}_d[Od]=Td}}})}})(mimeTypes$1);let ENCRYPTION_TYPES=function(Ra){return Ra.SSEC="SSE-C",Ra.KMS="KMS",Ra}({}),RETENTION_MODES=function(Ra){return Ra.GOVERNANCE="GOVERNANCE",Ra.COMPLIANCE="COMPLIANCE",Ra}({}),RETENTION_VALIDITY_UNITS=function(Ra){return Ra.DAYS="Days",Ra.YEARS="Years",Ra}({}),LEGAL_HOLD_STATUS=function(Ra){return Ra.ENABLED="ON",Ra.DISABLED="OFF",Ra}({});const MetaDataHeaderPrefix="x-amz-meta-";function uriEscape(Ra){return Ra.split("").reduce((qa,ed)=>{const td=Buffer$2.from(ed);if(td.length===1&&("A"<=ed&&ed<="Z"||"a"<=ed&&ed<="z"||"0"<=ed&&ed<="9"||ed==="_"||ed==="."||ed==="~"||ed==="-"))return qa=qa+ed,qa;for(const rd of td)qa=qa+"%"+rd.toString(16).toUpperCase();return qa},"")}function uriResourceEscape(Ra){return uriEscape(Ra).replace(/%2F/g,"/")}function getScope(Ra,qa,ed="s3"){return`${makeDateShort(qa)}/${Ra}/${ed}/aws4_request`}function isAmazonEndpoint(Ra){return Ra==="s3.amazonaws.com"||Ra==="s3.cn-north-1.amazonaws.com.cn"}function isVirtualHostStyle(Ra,qa,ed,td){return qa==="https:"&&ed.includes(".")?!1:isAmazonEndpoint(Ra)||!td}function isValidIP(Ra){return ipaddr.isValid(Ra)}function isValidEndpoint(Ra){return isValidDomain(Ra)||isValidIP(Ra)}function isValidDomain(Ra){if(!isString$1(Ra)||Ra.length===0||Ra.length>255||Ra[0]==="-"||Ra.slice(-1)==="-"||Ra[0]==="_"||Ra.slice(-1)==="_"||Ra[0]===".")return!1;const qa="`~!@#$%^&*()+={}[]|\\\"';:>63||Ra.includes("..")||/[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/.test(Ra)?!1:!!/^[a-z0-9][a-z0-9.-]+[a-z0-9]$/.test(Ra)}function isValidObjectName(Ra){return isValidPrefix(Ra)?Ra.length!==0:!1}function isValidPrefix(Ra){return!(!isString$1(Ra)||Ra.length>1024)}function isNumber$1(Ra){return typeof Ra=="number"}function isFunction$1(Ra){return typeof Ra=="function"}function isString$1(Ra){return typeof Ra=="string"}function isObject$1(Ra){return typeof Ra=="object"&&Ra!==null}function isReadableStream$1(Ra){return isObject$1(Ra)&&isFunction$1(Ra._read)}function isBoolean$1(Ra){return typeof Ra=="boolean"}function isEmpty(Ra){return _.isEmpty(Ra)}function isEmptyObject(Ra){return Object.values(Ra).filter(qa=>qa!==void 0).length!==0}function isDefined(Ra){return Ra!=null}function isValidDate(Ra){return Ra instanceof Date&&!isNaN(Ra)}function makeDateLong(Ra){Ra=Ra||new Date;const qa=Ra.toISOString();return qa.slice(0,4)+qa.slice(5,7)+qa.slice(8,13)+qa.slice(14,16)+qa.slice(17,19)+"Z"}function makeDateShort(Ra){Ra=Ra||new Date;const qa=Ra.toISOString();return qa.slice(0,4)+qa.slice(5,7)+qa.slice(8,10)}function pipesetup(...Ra){return Ra.reduce((qa,ed)=>(qa.on("error",td=>ed.emit("error",td)),qa.pipe(ed)))}function readableStream(Ra){const qa=new streamBrowserify.Readable;return qa._read=()=>{},qa.push(Ra),qa.push(null),qa}function insertContentType(Ra,qa){for(const ed in Ra)if(ed.toLowerCase()==="content-type")return Ra;return{...Ra,"content-type":probeContentType(qa)}}function prependXAMZMeta(Ra){return Ra?_.mapKeys(Ra,(qa,ed)=>isAmzHeader(ed)||isSupportedHeader(ed)||isStorageClassHeader(ed)?ed:MetaDataHeaderPrefix+ed):{}}function isAmzHeader(Ra){const qa=Ra.toLowerCase();return qa.startsWith(MetaDataHeaderPrefix)||qa==="x-amz-acl"||qa.startsWith("x-amz-server-side-encryption-")||qa==="x-amz-server-side-encryption"}function isSupportedHeader(Ra){return["content-type","cache-control","content-encoding","content-disposition","content-language","x-amz-website-redirect-location"].includes(Ra.toLowerCase())}function isStorageClassHeader(Ra){return Ra.toLowerCase()==="x-amz-storage-class"}function extractMetadata(Ra){return _.mapKeys(_.pickBy(Ra,(qa,ed)=>isSupportedHeader(ed)||isStorageClassHeader(ed)||isAmzHeader(ed)),(qa,ed)=>{const td=ed.toLowerCase();return td.startsWith(MetaDataHeaderPrefix)?td.slice(MetaDataHeaderPrefix.length):ed})}function getVersionId(Ra={}){return Ra["x-amz-version-id"]||null}function getSourceVersionId(Ra={}){return Ra["x-amz-copy-source-version-id"]||null}function sanitizeETag(Ra=""){const qa={'"':"",""":"",""":"",""":"",""":""};return Ra.replace(/^("|"|")|("|"|")$/g,ed=>qa[ed])}function toMd5(Ra){return(void 0)("md5").update(Buffer$2.from(Ra)).digest().toString("base64")}function toSha256(Ra){return(void 0)("sha256").update(Ra).digest("hex")}function toArray$1(Ra){return Array.isArray(Ra)?Ra:[Ra]}function sanitizeObjectKey(Ra){const qa=(Ra?Ra.toString():"").replace(/\+/g," ");return decodeURIComponent(qa)}function sanitizeSize(Ra){return Ra?Number.parseInt(Ra):void 0}const PART_CONSTRAINTS={ABS_MIN_PART_SIZE:1024*1024*5,MIN_PART_SIZE:1024*1024*16,MAX_PARTS_COUNT:1e4,MAX_PART_SIZE:1024*1024*1024*5,MAX_SINGLE_PUT_OBJECT_SIZE:1024*1024*1024*5,MAX_MULTIPART_PUT_OBJECT_SIZE:1024*1024*1024*1024*5},GENERIC_SSE_HEADER="X-Amz-Server-Side-Encryption",ENCRYPTION_HEADERS={sseGenericHeader:GENERIC_SSE_HEADER,sseKmsKeyID:GENERIC_SSE_HEADER+"-Aws-Kms-Key-Id"};function getEncryptionHeaders(Ra){const qa=Ra.type;if(!isEmpty(qa)){if(qa===ENCRYPTION_TYPES.SSEC)return{[ENCRYPTION_HEADERS.sseGenericHeader]:"AES256"};if(qa===ENCRYPTION_TYPES.KMS)return{[ENCRYPTION_HEADERS.sseGenericHeader]:Ra.SSEAlgorithm,[ENCRYPTION_HEADERS.sseKmsKeyID]:Ra.KMSMasterKeyID}}return{}}function partsRequired(Ra){const qa=PART_CONSTRAINTS.MAX_MULTIPART_PUT_OBJECT_SIZE/(PART_CONSTRAINTS.MAX_PARTS_COUNT-1);let ed=Ra/qa;return Ra%qa>0&&ed++,ed=Math.trunc(ed),ed}function calculateEvenSplits(Ra,qa){if(Ra===0)return null;const ed=partsRequired(Ra),td=[],rd=[];let sd=qa.Start;(isEmpty(sd)||sd===-1)&&(sd=0);const od=Math.trunc(Ra/ed),ld=Ra%ed;let ud=sd;for(let cd=0;cdthis.End||this.Start<0)throw new InvalidObjectNameError("Source start must be non-negative, and start must be at most end.");if(this.MatchRange&&!isNumber$1(this.Start)||!isNumber$1(this.End))throw new InvalidObjectNameError("MatchRange is specified. But Invalid Start and End values are specified.");return!0}getHeaders(){const qa={};return qa["x-amz-copy-source"]=encodeURI(this.Bucket+"/"+this.Object),isEmpty(this.VersionID)||(qa["x-amz-copy-source"]=`${encodeURI(this.Bucket+"/"+this.Object)}?versionId=${this.VersionID}`),isEmpty(this.MatchETag)||(qa["x-amz-copy-source-if-match"]=this.MatchETag),isEmpty(this.NoMatchETag)||(qa["x-amz-copy-source-if-none-match"]=this.NoMatchETag),isEmpty(this.MatchModifiedSince)||(qa["x-amz-copy-source-if-modified-since"]=this.MatchModifiedSince),isEmpty(this.MatchUnmodifiedSince)||(qa["x-amz-copy-source-if-unmodified-since"]=this.MatchUnmodifiedSince),qa}}class CopyDestinationOptions{constructor({Bucket:qa,Object:ed,Encryption:td,UserMetadata:rd,UserTags:sd,LegalHold:od,RetainUntilDate:ld,Mode:ud,MetadataDirective:cd}){this.Bucket=qa,this.Object=ed,this.Encryption=td??void 0,this.UserMetadata=rd,this.UserTags=sd,this.LegalHold=od,this.Mode=ud,this.RetainUntilDate=ld,this.MetadataDirective=cd}getHeaders(){const qa="REPLACE",ed={},td=this.UserTags;if(isEmpty(td)||(ed["X-Amz-Tagging-Directive"]=qa,ed["X-Amz-Tagging"]=isObject$1(td)?queryString.stringify(td):isString$1(td)?td:""),this.Mode&&(ed["X-Amz-Object-Lock-Mode"]=this.Mode),this.RetainUntilDate&&(ed["X-Amz-Object-Lock-Retain-Until-Date"]=this.RetainUntilDate),this.LegalHold&&(ed["X-Amz-Object-Lock-Legal-Hold"]=this.LegalHold),this.UserMetadata)for(const[rd,sd]of Object.entries(this.UserMetadata))ed[`X-Amz-Meta-${rd}`]=sd.toString();if(this.MetadataDirective&&(ed["X-Amz-Metadata-Directive"]=this.MetadataDirective),this.Encryption){const rd=getEncryptionHeaders(this.Encryption);for(const[sd,od]of Object.entries(rd))ed[sd]=od}return ed}validate(){if(!isValidBucketName(this.Bucket))throw new InvalidBucketNameError("Invalid Destination bucket name: "+this.Bucket);if(!isValidObjectName(this.Object))throw new InvalidObjectNameError(`Invalid Destination object name: ${this.Object}`);if(!isEmpty(this.UserMetadata)&&!isObject$1(this.UserMetadata))throw new InvalidObjectNameError("Destination UserMetadata should be an object with key value pairs");if(!isEmpty(this.Mode)&&![RETENTION_MODES.GOVERNANCE,RETENTION_MODES.COMPLIANCE].includes(this.Mode))throw new InvalidObjectNameError("Invalid Mode specified for destination object it should be one of [GOVERNANCE,COMPLIANCE]");if(this.Encryption!==void 0&&isEmptyObject(this.Encryption))throw new InvalidObjectNameError("Invalid Encryption configuration for destination object ");return!0}}class SelectResults{constructor({records:qa,response:ed,stats:td,progress:rd}){this.records=qa,this.response=ed,this.stats=td,this.progress=rd}setStats(qa){this.stats=qa}getStats(){return this.stats}setProgress(qa){this.progress=qa}getProgress(){return this.progress}setResponse(qa){this.response=qa}getResponse(){return this.response}setRecords(qa){this.records=qa}getRecords(){return this.records}}function callbackify(Ra){return function(){const qa=[...arguments],ed=qa.pop();return typeof ed=="function"?Ra.apply(this,qa).then(td=>ed(null,td),td=>ed(td)):Ra.apply(this,arguments)}}var lib$1={},define_process_default$4={version:"v20.17.0",versions:{node:"20.17.0",acorn:"8.11.3",ada:"2.9.0",ares:"1.32.3",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.2.2",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.13+quic",simdutf:"5.3.0",tz:"2024a",undici:"6.19.2",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-209717d"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule internal/idna","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/streams/utils","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/idna.js","lib/internal/inspector_async_hook.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_f474754f-950f-4d2e-994a-c524574e8031",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.17.0 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_f474754f-950f-4d2e-994a-c524574e8031",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.10.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu22",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"604",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",GOROOT_1_20_X64:"/opt/hostedtoolcache/go/1.20.14/x64",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20240915.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.7/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",JOURNAL_STREAM:"8:5513",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.17.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",npm_config_npm_version:"10.8.2",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"10931482109",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"30f0792baaad6e1889d29d0c00ae240dfec216c4",GITHUB_BASE_REF:"",ImageOS:"ubuntu22",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.17.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_8327e18c-9985-4d8c-819f-743e4582b3aa",INVOCATION_ID:"facc399a086f481090bef1701fa117fb",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"438",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 7",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"30f0792baaad6e1889d29d0c00ae240dfec216c4",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.17.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_f474754f-950f-4d2e-994a-c524574e8031",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_f474754f-950f-4d2e-994a-c524574e8031",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.1.12297006",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",STATS_EXTP:"https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_f474754f-950f-4d2e-994a-c524574e8031",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.17.0/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2081,ppid:2080,execPath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};Object.defineProperty(lib$1,"__esModule",{value:!0});var _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ra){return typeof Ra}:function(Ra){return Ra&&typeof Symbol=="function"&&Ra.constructor===Symbol&&Ra!==Symbol.prototype?"symbol":typeof Ra},isBrowser=typeof window<"u"&&typeof window.document<"u",isNode=typeof define_process_default$4<"u"&&define_process_default$4.versions!=null&&define_process_default$4.versions.node!=null,isWebWorker=(typeof self>"u"?"undefined":_typeof(self))==="object"&&self.constructor&&self.constructor.name==="DedicatedWorkerGlobalScope",isJsDom=typeof window<"u"&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),isDeno=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",isBrowser_1=lib$1.isBrowser=isBrowser;lib$1.isWebWorker=isWebWorker;lib$1.isNode=isNode;lib$1.isJsDom=isJsDom;lib$1.isDeno=isDeno;class Credentials{constructor({accessKey:qa,secretKey:ed,sessionToken:td}){this.accessKey=qa,this.secretKey=ed,this.sessionToken=td}setAccessKey(qa){this.accessKey=qa}getAccessKey(){return this.accessKey}setSecretKey(qa){this.secretKey=qa}getSecretKey(){return this.secretKey}setSessionToken(qa){this.sessionToken=qa}getSessionToken(){return this.sessionToken}get(){return this}}class CredentialProvider{constructor({accessKey:qa,secretKey:ed,sessionToken:td}){this.credentials=new Credentials({accessKey:qa,secretKey:ed,sessionToken:td})}async getCredentials(){return this.credentials.get()}setCredentials(qa){if(qa instanceof Credentials)this.credentials=qa;else throw new Error("Unable to set Credentials. it should be an instance of Credentials class")}setAccessKey(qa){this.credentials.setAccessKey(qa)}getAccessKey(){return this.credentials.getAccessKey()}setSecretKey(qa){this.credentials.setSecretKey(qa)}getSecretKey(){return this.credentials.getSecretKey()}setSessionToken(qa){this.credentials.setSessionToken(qa)}getSessionToken(){return this.credentials.getSessionToken()}}const signV4Algorithm="AWS4-HMAC-SHA256";function getCanonicalRequest(Ra,qa,ed,td,rd){if(!isString$1(Ra))throw new TypeError('method should be of type "string"');if(!isString$1(qa))throw new TypeError('path should be of type "string"');if(!isObject$1(ed))throw new TypeError('headers should be of type "object"');if(!Array.isArray(td))throw new TypeError('signedHeaders should be of type "array"');if(!isString$1(rd))throw new TypeError('hashedPayload should be of type "string"');const sd=td.reduce((ud,cd)=>{const dd=`${ed[cd]}`.replace(/ +/g," ");return ud.push(`${cd.toLowerCase()}:${dd}`),ud},[]),od=qa.split("?")[0];let ld=qa.split("?")[1];return ld||(ld=""),ld&&(ld=ld.split("&").sort().map(ud=>ud.includes("=")?ud:ud+"=").join("&")),[Ra.toUpperCase(),od,ld,sd.join(` + */(function(Ra){var qa=mimeDb,td=pathBrowserify.extname,rd=/^\s*([^;\s]*)(?:;|\s|$)/,nd=/^text\//i;Ra.charset=ad,Ra.charsets={lookup:ad},Ra.contentType=sd,Ra.extension=ud,Ra.extensions=Object.create(null),Ra.lookup=cd,Ra.types=Object.create(null),dd(Ra.extensions,Ra.types);function ad(pd){if(!pd||typeof pd!="string")return!1;var fd=rd.exec(pd),Td=fd&&qa[fd[1].toLowerCase()];return Td&&Td.charset?Td.charset:fd&&nd.test(fd[1])?"UTF-8":!1}function sd(pd){if(!pd||typeof pd!="string")return!1;var fd=pd.indexOf("/")===-1?Ra.lookup(pd):pd;if(!fd)return!1;if(fd.indexOf("charset")===-1){var Td=Ra.charset(fd);Td&&(fd+="; charset="+Td.toLowerCase())}return fd}function ud(pd){if(!pd||typeof pd!="string")return!1;var fd=rd.exec(pd),Td=fd&&Ra.extensions[fd[1].toLowerCase()];return!Td||!Td.length?!1:Td[0]}function cd(pd){if(!pd||typeof pd!="string")return!1;var fd=td("x."+pd).toLowerCase().substr(1);return fd&&Ra.types[fd]||!1}function dd(pd,fd){var Td=["nginx","apache",void 0,"iana"];Object.keys(qa).forEach(function(Sd){var Dd=qa[Sd],Ld=Dd.extensions;if(!(!Ld||!Ld.length)){pd[Sd]=Ld;for(var Rd=0;Rdjd||Md===jd&&fd[Od].substr(0,12)==="application/"))continue}fd[Od]=Sd}}})}})(mimeTypes$1);let ENCRYPTION_TYPES=function(Ra){return Ra.SSEC="SSE-C",Ra.KMS="KMS",Ra}({}),RETENTION_MODES=function(Ra){return Ra.GOVERNANCE="GOVERNANCE",Ra.COMPLIANCE="COMPLIANCE",Ra}({}),RETENTION_VALIDITY_UNITS=function(Ra){return Ra.DAYS="Days",Ra.YEARS="Years",Ra}({}),LEGAL_HOLD_STATUS=function(Ra){return Ra.ENABLED="ON",Ra.DISABLED="OFF",Ra}({});const MetaDataHeaderPrefix="x-amz-meta-";function uriEscape(Ra){return Ra.split("").reduce((qa,td)=>{const rd=Buffer$2.from(td);if(rd.length===1&&("A"<=td&&td<="Z"||"a"<=td&&td<="z"||"0"<=td&&td<="9"||td==="_"||td==="."||td==="~"||td==="-"))return qa=qa+td,qa;for(const nd of rd)qa=qa+"%"+nd.toString(16).toUpperCase();return qa},"")}function uriResourceEscape(Ra){return uriEscape(Ra).replace(/%2F/g,"/")}function getScope(Ra,qa,td="s3"){return`${makeDateShort(qa)}/${Ra}/${td}/aws4_request`}function isAmazonEndpoint(Ra){return Ra==="s3.amazonaws.com"||Ra==="s3.cn-north-1.amazonaws.com.cn"}function isVirtualHostStyle(Ra,qa,td,rd){return qa==="https:"&&td.includes(".")?!1:isAmazonEndpoint(Ra)||!rd}function isValidIP(Ra){return ipaddr.isValid(Ra)}function isValidEndpoint(Ra){return isValidDomain(Ra)||isValidIP(Ra)}function isValidDomain(Ra){if(!isString$1(Ra)||Ra.length===0||Ra.length>255||Ra[0]==="-"||Ra.slice(-1)==="-"||Ra[0]==="_"||Ra.slice(-1)==="_"||Ra[0]===".")return!1;const qa="`~!@#$%^&*()+={}[]|\\\"';:>63||Ra.includes("..")||/[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/.test(Ra)?!1:!!/^[a-z0-9][a-z0-9.-]+[a-z0-9]$/.test(Ra)}function isValidObjectName(Ra){return isValidPrefix(Ra)?Ra.length!==0:!1}function isValidPrefix(Ra){return!(!isString$1(Ra)||Ra.length>1024)}function isNumber$1(Ra){return typeof Ra=="number"}function isFunction$1(Ra){return typeof Ra=="function"}function isString$1(Ra){return typeof Ra=="string"}function isObject$1(Ra){return typeof Ra=="object"&&Ra!==null}function isReadableStream$1(Ra){return isObject$1(Ra)&&isFunction$1(Ra._read)}function isBoolean$1(Ra){return typeof Ra=="boolean"}function isEmpty(Ra){return _.isEmpty(Ra)}function isEmptyObject(Ra){return Object.values(Ra).filter(qa=>qa!==void 0).length!==0}function isDefined(Ra){return Ra!=null}function isValidDate(Ra){return Ra instanceof Date&&!isNaN(Ra)}function makeDateLong(Ra){Ra=Ra||new Date;const qa=Ra.toISOString();return qa.slice(0,4)+qa.slice(5,7)+qa.slice(8,13)+qa.slice(14,16)+qa.slice(17,19)+"Z"}function makeDateShort(Ra){Ra=Ra||new Date;const qa=Ra.toISOString();return qa.slice(0,4)+qa.slice(5,7)+qa.slice(8,10)}function pipesetup(...Ra){return Ra.reduce((qa,td)=>(qa.on("error",rd=>td.emit("error",rd)),qa.pipe(td)))}function readableStream(Ra){const qa=new streamBrowserify.Readable;return qa._read=()=>{},qa.push(Ra),qa.push(null),qa}function insertContentType(Ra,qa){for(const td in Ra)if(td.toLowerCase()==="content-type")return Ra;return{...Ra,"content-type":probeContentType(qa)}}function prependXAMZMeta(Ra){return Ra?_.mapKeys(Ra,(qa,td)=>isAmzHeader(td)||isSupportedHeader(td)||isStorageClassHeader(td)?td:MetaDataHeaderPrefix+td):{}}function isAmzHeader(Ra){const qa=Ra.toLowerCase();return qa.startsWith(MetaDataHeaderPrefix)||qa==="x-amz-acl"||qa.startsWith("x-amz-server-side-encryption-")||qa==="x-amz-server-side-encryption"}function isSupportedHeader(Ra){return["content-type","cache-control","content-encoding","content-disposition","content-language","x-amz-website-redirect-location"].includes(Ra.toLowerCase())}function isStorageClassHeader(Ra){return Ra.toLowerCase()==="x-amz-storage-class"}function extractMetadata(Ra){return _.mapKeys(_.pickBy(Ra,(qa,td)=>isSupportedHeader(td)||isStorageClassHeader(td)||isAmzHeader(td)),(qa,td)=>{const rd=td.toLowerCase();return rd.startsWith(MetaDataHeaderPrefix)?rd.slice(MetaDataHeaderPrefix.length):td})}function getVersionId(Ra={}){return Ra["x-amz-version-id"]||null}function getSourceVersionId(Ra={}){return Ra["x-amz-copy-source-version-id"]||null}function sanitizeETag(Ra=""){const qa={'"':"",""":"",""":"",""":"",""":""};return Ra.replace(/^("|"|")|("|"|")$/g,td=>qa[td])}function toMd5(Ra){return(void 0)("md5").update(Buffer$2.from(Ra)).digest().toString("base64")}function toSha256(Ra){return(void 0)("sha256").update(Ra).digest("hex")}function toArray$1(Ra){return Array.isArray(Ra)?Ra:[Ra]}function sanitizeObjectKey(Ra){const qa=(Ra?Ra.toString():"").replace(/\+/g," ");return decodeURIComponent(qa)}function sanitizeSize(Ra){return Ra?Number.parseInt(Ra):void 0}const PART_CONSTRAINTS={ABS_MIN_PART_SIZE:1024*1024*5,MIN_PART_SIZE:1024*1024*16,MAX_PARTS_COUNT:1e4,MAX_PART_SIZE:1024*1024*1024*5,MAX_SINGLE_PUT_OBJECT_SIZE:1024*1024*1024*5,MAX_MULTIPART_PUT_OBJECT_SIZE:1024*1024*1024*1024*5},GENERIC_SSE_HEADER="X-Amz-Server-Side-Encryption",ENCRYPTION_HEADERS={sseGenericHeader:GENERIC_SSE_HEADER,sseKmsKeyID:GENERIC_SSE_HEADER+"-Aws-Kms-Key-Id"};function getEncryptionHeaders(Ra){const qa=Ra.type;if(!isEmpty(qa)){if(qa===ENCRYPTION_TYPES.SSEC)return{[ENCRYPTION_HEADERS.sseGenericHeader]:"AES256"};if(qa===ENCRYPTION_TYPES.KMS)return{[ENCRYPTION_HEADERS.sseGenericHeader]:Ra.SSEAlgorithm,[ENCRYPTION_HEADERS.sseKmsKeyID]:Ra.KMSMasterKeyID}}return{}}function partsRequired(Ra){const qa=PART_CONSTRAINTS.MAX_MULTIPART_PUT_OBJECT_SIZE/(PART_CONSTRAINTS.MAX_PARTS_COUNT-1);let td=Ra/qa;return Ra%qa>0&&td++,td=Math.trunc(td),td}function calculateEvenSplits(Ra,qa){if(Ra===0)return null;const td=partsRequired(Ra),rd=[],nd=[];let ad=qa.Start;(isEmpty(ad)||ad===-1)&&(ad=0);const sd=Math.trunc(Ra/td),ud=Ra%td;let cd=ad;for(let dd=0;ddthis.End||this.Start<0)throw new InvalidObjectNameError("Source start must be non-negative, and start must be at most end.");if(this.MatchRange&&!isNumber$1(this.Start)||!isNumber$1(this.End))throw new InvalidObjectNameError("MatchRange is specified. But Invalid Start and End values are specified.");return!0}getHeaders(){const qa={};return qa["x-amz-copy-source"]=encodeURI(this.Bucket+"/"+this.Object),isEmpty(this.VersionID)||(qa["x-amz-copy-source"]=`${encodeURI(this.Bucket+"/"+this.Object)}?versionId=${this.VersionID}`),isEmpty(this.MatchETag)||(qa["x-amz-copy-source-if-match"]=this.MatchETag),isEmpty(this.NoMatchETag)||(qa["x-amz-copy-source-if-none-match"]=this.NoMatchETag),isEmpty(this.MatchModifiedSince)||(qa["x-amz-copy-source-if-modified-since"]=this.MatchModifiedSince),isEmpty(this.MatchUnmodifiedSince)||(qa["x-amz-copy-source-if-unmodified-since"]=this.MatchUnmodifiedSince),qa}}class CopyDestinationOptions{constructor({Bucket:qa,Object:td,Encryption:rd,UserMetadata:nd,UserTags:ad,LegalHold:sd,RetainUntilDate:ud,Mode:cd,MetadataDirective:dd}){this.Bucket=qa,this.Object=td,this.Encryption=rd??void 0,this.UserMetadata=nd,this.UserTags=ad,this.LegalHold=sd,this.Mode=cd,this.RetainUntilDate=ud,this.MetadataDirective=dd}getHeaders(){const qa="REPLACE",td={},rd=this.UserTags;if(isEmpty(rd)||(td["X-Amz-Tagging-Directive"]=qa,td["X-Amz-Tagging"]=isObject$1(rd)?queryString.stringify(rd):isString$1(rd)?rd:""),this.Mode&&(td["X-Amz-Object-Lock-Mode"]=this.Mode),this.RetainUntilDate&&(td["X-Amz-Object-Lock-Retain-Until-Date"]=this.RetainUntilDate),this.LegalHold&&(td["X-Amz-Object-Lock-Legal-Hold"]=this.LegalHold),this.UserMetadata)for(const[nd,ad]of Object.entries(this.UserMetadata))td[`X-Amz-Meta-${nd}`]=ad.toString();if(this.MetadataDirective&&(td["X-Amz-Metadata-Directive"]=this.MetadataDirective),this.Encryption){const nd=getEncryptionHeaders(this.Encryption);for(const[ad,sd]of Object.entries(nd))td[ad]=sd}return td}validate(){if(!isValidBucketName(this.Bucket))throw new InvalidBucketNameError("Invalid Destination bucket name: "+this.Bucket);if(!isValidObjectName(this.Object))throw new InvalidObjectNameError(`Invalid Destination object name: ${this.Object}`);if(!isEmpty(this.UserMetadata)&&!isObject$1(this.UserMetadata))throw new InvalidObjectNameError("Destination UserMetadata should be an object with key value pairs");if(!isEmpty(this.Mode)&&![RETENTION_MODES.GOVERNANCE,RETENTION_MODES.COMPLIANCE].includes(this.Mode))throw new InvalidObjectNameError("Invalid Mode specified for destination object it should be one of [GOVERNANCE,COMPLIANCE]");if(this.Encryption!==void 0&&isEmptyObject(this.Encryption))throw new InvalidObjectNameError("Invalid Encryption configuration for destination object ");return!0}}class SelectResults{constructor({records:qa,response:td,stats:rd,progress:nd}){this.records=qa,this.response=td,this.stats=rd,this.progress=nd}setStats(qa){this.stats=qa}getStats(){return this.stats}setProgress(qa){this.progress=qa}getProgress(){return this.progress}setResponse(qa){this.response=qa}getResponse(){return this.response}setRecords(qa){this.records=qa}getRecords(){return this.records}}function callbackify(Ra){return function(){const qa=[...arguments],td=qa.pop();return typeof td=="function"?Ra.apply(this,qa).then(rd=>td(null,rd),rd=>td(rd)):Ra.apply(this,arguments)}}var lib$1={},define_process_default$4={version:"v20.17.0",versions:{node:"20.17.0",acorn:"8.11.3",ada:"2.9.0",ares:"1.32.3",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.2.2",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.13+quic",simdutf:"5.3.0",tz:"2024a",undici:"6.19.2",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-209717d"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule internal/idna","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/streams/utils","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/idna.js","lib/internal/inspector_async_hook.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_fc48d429-f579-45e8-bf03-b8f40cba1391",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.17.0 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_fc48d429-f579-45e8-bf03-b8f40cba1391",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.10.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu22",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"610",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",GOROOT_1_20_X64:"/opt/hostedtoolcache/go/1.20.14/x64",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20240915.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.7/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",JOURNAL_STREAM:"8:6290",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.17.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",npm_config_npm_version:"10.8.2",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"11027463784",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"c7b0e027ac0b5d7e952b951cd0f0482584bacafc",GITHUB_BASE_REF:"",ImageOS:"ubuntu22",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.17.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_869f45d3-ff71-43f5-9b82-440d0334cd1b",INVOCATION_ID:"4184953ec64c49749c61dec1ef6bfa6c",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"439",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 9",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"c7b0e027ac0b5d7e952b951cd0f0482584bacafc",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.17.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_fc48d429-f579-45e8-bf03-b8f40cba1391",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_fc48d429-f579-45e8-bf03-b8f40cba1391",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.1.12297006",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",STATS_EXTP:"https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.189/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_fc48d429-f579-45e8-bf03-b8f40cba1391",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.17.0/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2041,ppid:2038,execPath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};Object.defineProperty(lib$1,"__esModule",{value:!0});var _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ra){return typeof Ra}:function(Ra){return Ra&&typeof Symbol=="function"&&Ra.constructor===Symbol&&Ra!==Symbol.prototype?"symbol":typeof Ra},isBrowser=typeof window<"u"&&typeof window.document<"u",isNode=typeof define_process_default$4<"u"&&define_process_default$4.versions!=null&&define_process_default$4.versions.node!=null,isWebWorker=(typeof self>"u"?"undefined":_typeof(self))==="object"&&self.constructor&&self.constructor.name==="DedicatedWorkerGlobalScope",isJsDom=typeof window<"u"&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),isDeno=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",isBrowser_1=lib$1.isBrowser=isBrowser;lib$1.isWebWorker=isWebWorker;lib$1.isNode=isNode;lib$1.isJsDom=isJsDom;lib$1.isDeno=isDeno;class Credentials{constructor({accessKey:qa,secretKey:td,sessionToken:rd}){this.accessKey=qa,this.secretKey=td,this.sessionToken=rd}setAccessKey(qa){this.accessKey=qa}getAccessKey(){return this.accessKey}setSecretKey(qa){this.secretKey=qa}getSecretKey(){return this.secretKey}setSessionToken(qa){this.sessionToken=qa}getSessionToken(){return this.sessionToken}get(){return this}}class CredentialProvider{constructor({accessKey:qa,secretKey:td,sessionToken:rd}){this.credentials=new Credentials({accessKey:qa,secretKey:td,sessionToken:rd})}async getCredentials(){return this.credentials.get()}setCredentials(qa){if(qa instanceof Credentials)this.credentials=qa;else throw new Error("Unable to set Credentials. it should be an instance of Credentials class")}setAccessKey(qa){this.credentials.setAccessKey(qa)}getAccessKey(){return this.credentials.getAccessKey()}setSecretKey(qa){this.credentials.setSecretKey(qa)}getSecretKey(){return this.credentials.getSecretKey()}setSessionToken(qa){this.credentials.setSessionToken(qa)}getSessionToken(){return this.credentials.getSessionToken()}}const signV4Algorithm="AWS4-HMAC-SHA256";function getCanonicalRequest(Ra,qa,td,rd,nd){if(!isString$1(Ra))throw new TypeError('method should be of type "string"');if(!isString$1(qa))throw new TypeError('path should be of type "string"');if(!isObject$1(td))throw new TypeError('headers should be of type "object"');if(!Array.isArray(rd))throw new TypeError('signedHeaders should be of type "array"');if(!isString$1(nd))throw new TypeError('hashedPayload should be of type "string"');const ad=rd.reduce((cd,dd)=>{const pd=`${td[dd]}`.replace(/ +/g," ");return cd.push(`${dd.toLowerCase()}:${pd}`),cd},[]),sd=qa.split("?")[0];let ud=qa.split("?")[1];return ud||(ud=""),ud&&(ud=ud.split("&").sort().map(cd=>cd.includes("=")?cd:cd+"=").join("&")),[Ra.toUpperCase(),sd,ud,ad.join(` `)+` -`,td.join(";").toLowerCase(),rd].join(` -`)}function getCredential(Ra,qa,ed,td="s3"){if(!isString$1(Ra))throw new TypeError('accessKey should be of type "string"');if(!isString$1(qa))throw new TypeError('region should be of type "string"');if(!isObject$1(ed))throw new TypeError('requestDate should be of type "object"');return`${Ra}/${getScope(qa,ed,td)}`}function getSignedHeaders(Ra){if(!isObject$1(Ra))throw new TypeError('request should be of type "object"');const qa=["authorization","content-length","content-type","user-agent"];return Object.keys(Ra).filter(ed=>!qa.includes(ed)).sort()}function getSigningKey(Ra,qa,ed,td="s3"){if(!isObject$1(Ra))throw new TypeError('date should be of type "object"');if(!isString$1(qa))throw new TypeError('region should be of type "string"');if(!isString$1(ed))throw new TypeError('secretKey should be of type "string"');const rd=makeDateShort(Ra);return(void 0)("sha256",(void 0)("sha256",(void 0)("sha256",(void 0)("sha256","AWS4"+ed).update(rd).digest()).update(qa).digest()).update(td).digest()).update("aws4_request").digest()}function getStringToSign(Ra,qa,ed,td="s3"){if(!isString$1(Ra))throw new TypeError('canonicalRequest should be of type "string"');if(!isObject$1(qa))throw new TypeError('requestDate should be of type "object"');if(!isString$1(ed))throw new TypeError('region should be of type "string"');const rd=(void 0)("sha256").update(Ra).digest("hex"),sd=getScope(ed,qa,td);return[signV4Algorithm,makeDateLong(qa),sd,rd].join(` -`)}function postPresignSignatureV4(Ra,qa,ed,td){if(!isString$1(Ra))throw new TypeError('region should be of type "string"');if(!isObject$1(qa))throw new TypeError('date should be of type "object"');if(!isString$1(ed))throw new TypeError('secretKey should be of type "string"');if(!isString$1(td))throw new TypeError('policyBase64 should be of type "string"');return(void 0)("sha256",getSigningKey(qa,Ra,ed)).update(td).digest("hex").toLowerCase()}function signV4(Ra,qa,ed,td,rd,sd,od="s3"){if(!isObject$1(Ra))throw new TypeError('request should be of type "object"');if(!isString$1(qa))throw new TypeError('accessKey should be of type "string"');if(!isString$1(ed))throw new TypeError('secretKey should be of type "string"');if(!isString$1(td))throw new TypeError('region should be of type "string"');if(!qa)throw new AccessKeyRequiredError("accessKey is required for signing");if(!ed)throw new SecretKeyRequiredError("secretKey is required for signing");const ld=getSignedHeaders(Ra.headers),ud=getCanonicalRequest(Ra.method,Ra.path,Ra.headers,ld,sd),cd=od||"s3",dd=getStringToSign(ud,rd,td,cd),_d=getSigningKey(rd,td,ed,cd),Ed=getCredential(qa,td,rd,cd),Ad=(void 0)("sha256",_d).update(dd).digest("hex").toLowerCase();return`${signV4Algorithm} Credential=${Ed}, SignedHeaders=${ld.join(";").toLowerCase()}, Signature=${Ad}`}function presignSignatureV4(Ra,qa,ed,td,rd,sd,od){if(!isObject$1(Ra))throw new TypeError('request should be of type "object"');if(!isString$1(qa))throw new TypeError('accessKey should be of type "string"');if(!isString$1(ed))throw new TypeError('secretKey should be of type "string"');if(!isString$1(rd))throw new TypeError('region should be of type "string"');if(!qa)throw new AccessKeyRequiredError("accessKey is required for presigning");if(!ed)throw new SecretKeyRequiredError("secretKey is required for presigning");if(!isNumber$1(od))throw new TypeError('expires should be of type "number"');if(od<1)throw new ExpiresParamError("expires param cannot be less than 1 seconds");if(od>604800)throw new ExpiresParamError("expires param cannot be greater than 7 days");const ld=makeDateLong(sd),ud=getSignedHeaders(Ra.headers),cd=getCredential(qa,rd,sd),dd="UNSIGNED-PAYLOAD",_d=[];_d.push(`X-Amz-Algorithm=${signV4Algorithm}`),_d.push(`X-Amz-Credential=${uriEscape(cd)}`),_d.push(`X-Amz-Date=${ld}`),_d.push(`X-Amz-Expires=${od}`),_d.push(`X-Amz-SignedHeaders=${uriEscape(ud.join(";").toLowerCase())}`),td&&_d.push(`X-Amz-Security-Token=${uriEscape(td)}`);const Ed=Ra.path.split("?")[0];let Ad=Ra.path.split("?")[1];Ad?Ad=Ad+"&"+_d.join("&"):Ad=_d.join("&");const Td=Ed+"?"+Ad,Id=getCanonicalRequest(Ra.method,Td,Ra.headers,ud,dd),Bd=getStringToSign(Id,sd,rd),Od=(void 0)("sha256",getSigningKey(sd,rd,ed)).update(Bd).digest("hex").toLowerCase();return Ra.protocol+"//"+Ra.headers.host+Td+`&X-Amz-Signature=${Od}`}async function readAsBuffer(Ra){return new Promise((qa,ed)=>{const td=[];Ra.on("data",rd=>td.push(rd)).on("error",rd=>ed(rd)).on("end",()=>qa(Buffer$2.concat(td)))})}async function readAsString(Ra){return(await readAsBuffer(Ra)).toString()}async function drainResponse(Ra){return new Promise((qa,ed)=>{Ra.on("data",()=>{}).on("error",td=>ed(td)).on("end",()=>qa())})}function parseBucketRegion(Ra){return parseXml(Ra).LocationConstraint}const fxp=new fxp$2.XMLParser;function parseError(Ra,qa){let ed={};const td=fxp.parse(Ra);td.Error&&(ed=td.Error);const rd=new S3Error;return Object.entries(ed).forEach(([sd,od])=>{rd[sd.toLowerCase()]=od}),Object.entries(qa).forEach(([sd,od])=>{rd[sd]=od}),rd}async function parseResponseError(Ra){const qa=Ra.statusCode;let ed,td;qa===301?(ed="MovedPermanently",td="Moved Permanently"):qa===307?(ed="TemporaryRedirect",td="Are you using the correct endpoint URL?"):qa===403?(ed="AccessDenied",td="Valid and authorized credentials required"):qa===404?(ed="NotFound",td="Not Found"):qa===405||qa===501?(ed="MethodNotAllowed",td="Method Not Allowed"):(ed="UnknownError",td=`${qa}`);const rd={};rd.amzRequestid=Ra.headers["x-amz-request-id"],rd.amzId2=Ra.headers["x-amz-id-2"],rd.amzBucketRegion=Ra.headers["x-amz-bucket-region"];const sd=await readAsString(Ra);if(sd)throw parseError(sd,rd);const od=new S3Error(td,{cause:rd});throw od.code=ed,Object.entries(rd).forEach(([ld,ud])=>{od[ld]=ud}),od}function parseListObjectsV2WithMetadata(Ra){const qa={objects:[],isTruncated:!1,nextContinuationToken:""};let ed=parseXml(Ra);if(!ed.ListBucketResult)throw new InvalidXMLError('Missing tag: "ListBucketResult"');return ed=ed.ListBucketResult,ed.IsTruncated&&(qa.isTruncated=ed.IsTruncated),ed.NextContinuationToken&&(qa.nextContinuationToken=ed.NextContinuationToken),ed.Contents&&toArray$1(ed.Contents).forEach(td=>{const rd=sanitizeObjectKey(td.Key),sd=new Date(td.LastModified),od=sanitizeETag(td.ETag),ld=td.Size;let ud;td.UserMetadata!=null?ud=toArray$1(td.UserMetadata)[0]:ud=null,qa.objects.push({name:rd,lastModified:sd,etag:od,size:ld,metadata:ud})}),ed.CommonPrefixes&&toArray$1(ed.CommonPrefixes).forEach(td=>{qa.objects.push({prefix:sanitizeObjectKey(toArray$1(td.Prefix)[0]),size:0})}),qa}function parseListParts(Ra){let qa=parseXml(Ra);const ed={isTruncated:!1,parts:[],marker:0};if(!qa.ListPartsResult)throw new InvalidXMLError('Missing tag: "ListPartsResult"');return qa=qa.ListPartsResult,qa.IsTruncated&&(ed.isTruncated=qa.IsTruncated),qa.NextPartNumberMarker&&(ed.marker=toArray$1(qa.NextPartNumberMarker)[0]||""),qa.Part&&toArray$1(qa.Part).forEach(td=>{const rd=parseInt(toArray$1(td.PartNumber)[0],10),sd=new Date(td.LastModified),od=td.ETag.replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"");ed.parts.push({part:rd,lastModified:sd,etag:od,size:parseInt(td.Size,10)})}),ed}function parseListBucket(Ra){let qa=[];const ed=parseXml(Ra);if(!ed.ListAllMyBucketsResult)throw new InvalidXMLError('Missing tag: "ListAllMyBucketsResult"');const{ListAllMyBucketsResult:{Buckets:td={}}={}}=ed;return td.Bucket&&(qa=toArray$1(td.Bucket).map((rd={})=>{const{Name:sd,CreationDate:od}=rd,ld=new Date(od);return{name:sd,creationDate:ld}})),qa}function parseInitiateMultipart(Ra){let qa=parseXml(Ra);if(!qa.InitiateMultipartUploadResult)throw new InvalidXMLError('Missing tag: "InitiateMultipartUploadResult"');if(qa=qa.InitiateMultipartUploadResult,qa.UploadId)return qa.UploadId;throw new InvalidXMLError('Missing tag: "UploadId"')}function parseReplicationConfig(Ra){const qa=parseXml(Ra),{Role:ed,Rule:td}=qa.ReplicationConfiguration;return{ReplicationConfiguration:{role:ed,rules:toArray$1(td)}}}class Extensions{constructor(qa){this.client=qa}listObjectsV2WithMetadata(qa,ed,td,rd){if(ed===void 0&&(ed=""),td===void 0&&(td=!1),rd===void 0&&(rd=""),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidPrefix(ed))throw new InvalidPrefixError(`Invalid prefix : ${ed}`);if(!isString$1(ed))throw new TypeError('prefix should be of type "string"');if(!isBoolean$1(td))throw new TypeError('recursive should be of type "boolean"');if(!isString$1(rd))throw new TypeError('startAfter should be of type "string"');const sd=td?"":"/";return streamBrowserify.Readable.from(this.listObjectsV2WithMetadataGen(qa,ed,sd,rd),{objectMode:!0})}async*listObjectsV2WithMetadataGen(qa,ed,td,rd){let sd=!1,od="";do{const ld=await this.listObjectsV2WithMetadataQuery(qa,ed,od,td,rd);sd=!ld.isTruncated,od=ld.nextContinuationToken;for(const ud of ld.objects)yield ud}while(!sd)}async listObjectsV2WithMetadataQuery(qa,ed,td,rd,sd){const od=[];od.push("list-type=2"),od.push("encoding-type=url"),od.push(`prefix=${uriEscape(ed)}`),od.push(`delimiter=${uriEscape(rd)}`),od.push("metadata=true"),td&&(td=uriEscape(td),od.push(`continuation-token=${td}`)),sd&&(sd=uriEscape(sd),od.push(`start-after=${sd}`)),od.push("max-keys=1000"),od.sort();let ld="";od.length>0&&(ld=`${od.join("&")}`);const cd=await this.client.makeRequestAsync({method:"GET",bucketName:qa,query:ld});return parseListObjectsV2WithMetadata(await readAsString(cd))}}async function request$1(Ra,qa,ed=null){return new Promise((td,rd)=>{const sd=Ra.request(qa,od=>{td(od)});if(!ed||Buffer$2.isBuffer(ed)||typeof ed=="string"){sd.on("error",od=>{rd(od)}).end(ed);return}streamBrowserify.pipeline(ed,sd,od=>{od&&rd(od)})})}const awsS3Endpoint={"us-east-1":"s3.amazonaws.com","us-east-2":"s3-us-east-2.amazonaws.com","us-west-1":"s3-us-west-1.amazonaws.com","us-west-2":"s3-us-west-2.amazonaws.com","ca-central-1":"s3.ca-central-1.amazonaws.com","eu-west-1":"s3-eu-west-1.amazonaws.com","eu-west-2":"s3-eu-west-2.amazonaws.com","sa-east-1":"s3-sa-east-1.amazonaws.com","eu-central-1":"s3-eu-central-1.amazonaws.com","ap-south-1":"s3-ap-south-1.amazonaws.com","ap-southeast-1":"s3-ap-southeast-1.amazonaws.com","ap-southeast-2":"s3-ap-southeast-2.amazonaws.com","ap-northeast-1":"s3-ap-northeast-1.amazonaws.com","cn-north-1":"s3.cn-north-1.amazonaws.com.cn","ap-east-1":"s3.ap-east-1.amazonaws.com","eu-north-1":"s3.eu-north-1.amazonaws.com"};function getS3Endpoint(Ra){if(!isString$1(Ra))throw new TypeError(`Invalid region: ${Ra}`);const qa=awsS3Endpoint[Ra];return qa||"s3.amazonaws.com"}var define_process_default$3={version:"v20.17.0",versions:{node:"20.17.0",acorn:"8.11.3",ada:"2.9.0",ares:"1.32.3",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.2.2",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.13+quic",simdutf:"5.3.0",tz:"2024a",undici:"6.19.2",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-209717d"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule internal/idna","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/streams/utils","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/idna.js","lib/internal/inspector_async_hook.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_f474754f-950f-4d2e-994a-c524574e8031",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.17.0 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_f474754f-950f-4d2e-994a-c524574e8031",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.10.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu22",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"604",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",GOROOT_1_20_X64:"/opt/hostedtoolcache/go/1.20.14/x64",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20240915.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.7/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",JOURNAL_STREAM:"8:5513",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.17.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",npm_config_npm_version:"10.8.2",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"10931482109",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"30f0792baaad6e1889d29d0c00ae240dfec216c4",GITHUB_BASE_REF:"",ImageOS:"ubuntu22",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.17.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_8327e18c-9985-4d8c-819f-743e4582b3aa",INVOCATION_ID:"facc399a086f481090bef1701fa117fb",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"438",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 7",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"30f0792baaad6e1889d29d0c00ae240dfec216c4",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.17.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_f474754f-950f-4d2e-994a-c524574e8031",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_f474754f-950f-4d2e-994a-c524574e8031",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.1.12297006",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",STATS_EXTP:"https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_f474754f-950f-4d2e-994a-c524574e8031",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.17.0/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2081,ppid:2080,execPath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};const Package={version:"7.1.3"},requestOptionProperties=["agent","ca","cert","ciphers","clientCertEngine","crl","dhparam","ecdhCurve","family","honorCipherOrder","key","passphrase","pfx","rejectUnauthorized","secureOptions","secureProtocol","servername","sessionIdContext"];class TypedClient{constructor(qa){Ym(this,"partSize",64*1024*1024);Ym(this,"maximumPartSize",5*1024*1024*1024);Ym(this,"maxObjectSize",5*1024*1024*1024*1024);if(qa.secure!==void 0)throw new Error('"secure" option deprecated, "useSSL" should be used instead');if(qa.useSSL===void 0&&(qa.useSSL=!0),qa.port||(qa.port=0),!isValidEndpoint(qa.endPoint))throw new InvalidEndpointError(`Invalid endPoint : ${qa.endPoint}`);if(!isValidPort(qa.port))throw new InvalidArgumentError(`Invalid port : ${qa.port}`);if(!isBoolean$1(qa.useSSL))throw new InvalidArgumentError(`Invalid useSSL flag type : ${qa.useSSL}, expected to be of type "boolean"`);if(qa.region&&!isString$1(qa.region))throw new InvalidArgumentError(`Invalid region : ${qa.region}`);const ed=qa.endPoint.toLowerCase();let td=qa.port,rd,sd,od;if(qa.useSSL?(sd=http,rd="https:",td=td||443,od=void 0):(sd=http,rd="http:",td=td||80,od=void 0),qa.transport){if(!isObject$1(qa.transport))throw new InvalidArgumentError(`Invalid transport type : ${qa.transport}, expected to be type "object"`);sd=qa.transport}if(qa.transportAgent){if(!isObject$1(qa.transportAgent))throw new InvalidArgumentError(`Invalid transportAgent type: ${qa.transportAgent}, expected to be type "object"`);od=qa.transportAgent}const ud=`MinIO ${`(${define_process_default$3.platform}; ${define_process_default$3.arch})`} minio-js/${Package.version}`;if(this.transport=sd,this.transportAgent=od,this.host=ed,this.port=td,this.protocol=rd,this.userAgent=`${ud}`,qa.pathStyle===void 0?this.pathStyle=!0:this.pathStyle=qa.pathStyle,this.accessKey=qa.accessKey??"",this.secretKey=qa.secretKey??"",this.sessionToken=qa.sessionToken,this.anonymous=!this.accessKey||!this.secretKey,qa.credentialsProvider&&(this.credentialsProvider=qa.credentialsProvider),this.regionMap={},qa.region&&(this.region=qa.region),qa.partSize&&(this.partSize=qa.partSize,this.overRidePartSize=!0),this.partSize<5*1024*1024)throw new InvalidArgumentError("Part size should be greater than 5MB");if(this.partSize>5*1024*1024*1024)throw new InvalidArgumentError("Part size should be less than 5GB");this.enableSHA256=!this.anonymous&&!qa.useSSL,this.s3AccelerateEndpoint=qa.s3AccelerateEndpoint||void 0,this.reqOptions={},this.clientExtensions=new Extensions(this)}get extensions(){return this.clientExtensions}setS3TransferAccelerate(qa){this.s3AccelerateEndpoint=qa}setRequestOptions(qa){if(!isObject$1(qa))throw new TypeError('request options should be of type "object"');this.reqOptions=_.pick(qa,requestOptionProperties)}getAccelerateEndPointIfSet(qa,ed){if(!isEmpty(this.s3AccelerateEndpoint)&&!isEmpty(qa)&&!isEmpty(ed)){if(qa.includes("."))throw new Error(`Transfer Acceleration is not supported for non compliant bucket:${qa}`);return this.s3AccelerateEndpoint}return!1}getRequestOptions(qa){const ed=qa.method,td=qa.region,rd=qa.bucketName;let sd=qa.objectName;const od=qa.headers,ld=qa.query;let ud={method:ed,headers:{},protocol:this.protocol,agent:this.transportAgent},cd;rd&&(cd=isVirtualHostStyle(this.host,this.protocol,rd,this.pathStyle));let dd="/",_d=this.host,Ed;if(this.port&&(Ed=this.port),sd&&(sd=uriResourceEscape(sd)),isAmazonEndpoint(_d)){const Ad=this.getAccelerateEndPointIfSet(rd,sd);Ad?_d=`${Ad}`:_d=getS3Endpoint(td)}if(cd&&!qa.pathStyle?(rd&&(_d=`${rd}.${_d}`),sd&&(dd=`/${sd}`)):(rd&&(dd=`/${rd}`),sd&&(dd=`/${rd}/${sd}`)),ld&&(dd+=`?${ld}`),ud.headers.host=_d,(ud.protocol==="http:"&&Ed!==80||ud.protocol==="https:"&&Ed!==443)&&(ud.headers.host=`${_d}:${Ed}`),ud.headers["user-agent"]=this.userAgent,od)for(const[Ad,Td]of Object.entries(od))ud.headers[Ad.toLowerCase()]=Td;return ud=Object.assign({},this.reqOptions,ud),{...ud,headers:_.mapValues(_.pickBy(ud.headers,isDefined),Ad=>Ad.toString()),host:_d,port:Ed,path:dd}}async setCredentialsProvider(qa){if(!(qa instanceof CredentialProvider))throw new Error("Unable to get credentials. Expected instance of CredentialProvider");this.credentialsProvider=qa,await this.checkAndRefreshCreds()}async checkAndRefreshCreds(){if(this.credentialsProvider)try{const qa=await this.credentialsProvider.getCredentials();this.accessKey=qa.getAccessKey(),this.secretKey=qa.getSecretKey(),this.sessionToken=qa.getSessionToken()}catch(qa){throw new Error(`Unable to get credentials: ${qa}`,{cause:qa})}}logHTTP(qa,ed,td){if(!this.logStream)return;if(!isObject$1(qa))throw new TypeError('reqOptions should be of type "object"');if(ed&&!isReadableStream$1(ed))throw new TypeError('response should be of type "Stream"');if(td&&!(td instanceof Error))throw new TypeError('err should be of type "Error"');const rd=this.logStream,sd=od=>{Object.entries(od).forEach(([ld,ud])=>{if(ld=="authorization"&&isString$1(ud)){const cd=new RegExp("Signature=([0-9a-f]+)");ud=ud.replace(cd,"Signature=**REDACTED**")}rd.write(`${ld}: ${ud} -`)}),rd.write(` -`)};if(rd.write(`REQUEST: ${qa.method} ${qa.path} -`),sd(qa.headers),ed&&(this.logStream.write(`RESPONSE: ${ed.statusCode} -`),sd(ed.headers)),td){rd.write(`ERROR BODY: -`);const od=JSON.stringify(td,null," ");rd.write(`${od} -`)}}traceOn(qa){qa||(qa=define_process_default$3.stdout),this.logStream=qa}traceOff(){this.logStream=void 0}async makeRequestAsync(qa,ed="",td=[200],rd=""){if(!isObject$1(qa))throw new TypeError('options should be of type "object"');if(!isString$1(ed)&&!isObject$1(ed))throw new TypeError('payload should be of type "string" or "Buffer"');if(td.forEach(od=>{if(!isNumber$1(od))throw new TypeError('statusCode should be of type "number"')}),!isString$1(rd))throw new TypeError('region should be of type "string"');qa.headers||(qa.headers={}),(qa.method==="POST"||qa.method==="PUT"||qa.method==="DELETE")&&(qa.headers["content-length"]=ed.length.toString());const sd=this.enableSHA256?toSha256(ed):"";return this.makeRequestStreamAsync(qa,ed,sd,td,rd)}async makeRequestAsyncOmit(qa,ed="",td=[200],rd=""){const sd=await this.makeRequestAsync(qa,ed,td,rd);return await drainResponse(sd),sd}async makeRequestStreamAsync(qa,ed,td,rd,sd){if(!isObject$1(qa))throw new TypeError('options should be of type "object"');if(!(Buffer$2.isBuffer(ed)||typeof ed=="string"||isReadableStream$1(ed)))throw new InvalidArgumentError(`stream should be a Buffer, string or readable Stream, got ${typeof ed} instead`);if(!isString$1(td))throw new TypeError('sha256sum should be of type "string"');if(rd.forEach(ud=>{if(!isNumber$1(ud))throw new TypeError('statusCode should be of type "number"')}),!isString$1(sd))throw new TypeError('region should be of type "string"');if(!this.enableSHA256&&td.length!==0)throw new InvalidArgumentError("sha256sum expected to be empty for anonymous or https requests");if(this.enableSHA256&&td.length!==64)throw new InvalidArgumentError(`Invalid sha256sum : ${td}`);await this.checkAndRefreshCreds(),sd=sd||await this.getBucketRegionAsync(qa.bucketName);const od=this.getRequestOptions({...qa,region:sd});if(!this.anonymous){this.enableSHA256||(td="UNSIGNED-PAYLOAD");const ud=new Date;od.headers["x-amz-date"]=makeDateLong(ud),od.headers["x-amz-content-sha256"]=td,this.sessionToken&&(od.headers["x-amz-security-token"]=this.sessionToken),od.headers.authorization=signV4(od,this.accessKey,this.secretKey,sd,ud,td)}const ld=await request$1(this.transport,od,ed);if(!ld.statusCode)throw new Error("BUG: response doesn't have a statusCode");if(!rd.includes(ld.statusCode)){delete this.regionMap[qa.bucketName];const ud=await parseResponseError(ld);throw this.logHTTP(od,ld,ud),ud}return this.logHTTP(od,ld),ld}async getBucketRegionAsync(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name : ${qa}`);if(this.region)return this.region;const ed=this.regionMap[qa];if(ed)return ed;const td=async cd=>{const dd=await readAsString(cd),_d=parseBucketRegion(dd)||DEFAULT_REGION;return this.regionMap[qa]=_d,_d},rd="GET",sd="location",od=this.pathStyle&&!isBrowser_1;let ld;try{const cd=await this.makeRequestAsync({method:rd,bucketName:qa,query:sd,pathStyle:od},"",[200],DEFAULT_REGION);return td(cd)}catch(cd){if(cd.name!=="AuthorizationHeaderMalformed"||(ld=cd.Region,!ld))throw cd}const ud=await this.makeRequestAsync({method:rd,bucketName:qa,query:sd,pathStyle:od},"",[200],ld);return await td(ud)}makeRequest(qa,ed="",td=[200],rd="",sd,od){let ld;sd?ld=this.makeRequestAsync(qa,ed,td,rd):ld=this.makeRequestAsyncOmit(qa,ed,td,rd),ld.then(ud=>od(null,ud),ud=>{od(ud)})}makeRequestStream(qa,ed,td,rd,sd,od,ld){(async()=>{const cd=await this.makeRequestStreamAsync(qa,ed,td,rd,sd);return od||await drainResponse(cd),cd})().then(cd=>ld(null,cd),cd=>ld(cd))}getBucketRegion(qa,ed){return this.getBucketRegionAsync(qa).then(td=>ed(null,td),td=>ed(td))}async removeBucket(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);await this.makeRequestAsyncOmit({method:"DELETE",bucketName:qa},"",[204]),delete this.regionMap[qa]}async statObject(qa,ed,td={}){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(ed))throw new InvalidObjectNameError(`Invalid object name: ${ed}`);if(!isObject$1(td))throw new InvalidArgumentError('statOpts should be of type "object"');const rd=queryString.stringify(td),od=await this.makeRequestAsyncOmit({method:"HEAD",bucketName:qa,objectName:ed,query:rd});return{size:parseInt(od.headers["content-length"]),metaData:extractMetadata(od.headers),lastModified:new Date(od.headers["last-modified"]),versionId:getVersionId(od.headers),etag:sanitizeETag(od.headers.etag)}}async removeObject(qa,ed,td={}){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isValidObjectName(ed))throw new InvalidObjectNameError(`Invalid object name: ${ed}`);if(!isObject$1(td))throw new InvalidArgumentError('removeOpts should be of type "object"');const rd="DELETE",sd={};td.governanceBypass&&(sd["X-Amz-Bypass-Governance-Retention"]=!0),td.forceDelete&&(sd["x-minio-force-delete"]=!0);const od={};td.versionId&&(od.versionId=`${td.versionId}`);const ld=queryString.stringify(od);await this.makeRequestAsyncOmit({method:rd,bucketName:qa,objectName:ed,headers:sd,query:ld},"",[200,204])}async initiateNewMultipartUpload(qa,ed,td){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(ed))throw new InvalidObjectNameError(`Invalid object name: ${ed}`);if(!isObject$1(td))throw new InvalidObjectNameError('contentType should be of type "object"');const od=await this.makeRequestAsync({method:"POST",bucketName:qa,objectName:ed,query:"uploads",headers:td}),ld=await readAsBuffer(od);return parseInitiateMultipart(ld.toString())}async abortMultipartUpload(qa,ed,td){const rd="DELETE",sd=`uploadId=${td}`,od={method:rd,bucketName:qa,objectName:ed,query:sd};await this.makeRequestAsyncOmit(od,"",[204])}async listParts(qa,ed,td){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(ed))throw new InvalidObjectNameError(`Invalid object name: ${ed}`);if(!isString$1(td))throw new TypeError('uploadId should be of type "string"');if(!td)throw new InvalidArgumentError("uploadId cannot be empty");const rd=[];let sd=0,od;do od=await this.listPartsQuery(qa,ed,td,sd),sd=od.marker,rd.push(...od.parts);while(od.isTruncated);return rd}async listPartsQuery(qa,ed,td,rd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(ed))throw new InvalidObjectNameError(`Invalid object name: ${ed}`);if(!isString$1(td))throw new TypeError('uploadId should be of type "string"');if(!isNumber$1(rd))throw new TypeError('marker should be of type "number"');if(!td)throw new InvalidArgumentError("uploadId cannot be empty");let sd=`uploadId=${uriEscape(td)}`;rd&&(sd+=`&part-number-marker=${rd}`);const ld=await this.makeRequestAsync({method:"GET",bucketName:qa,objectName:ed,query:sd});return parseListParts(await readAsString(ld))}async listBuckets(){const ed=await this.makeRequestAsync({method:"GET"},"",[200],DEFAULT_REGION),td=await readAsString(ed);return parseListBucket(td)}async removeBucketReplication(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);await this.makeRequestAsyncOmit({method:"DELETE",bucketName:qa,query:"replication"},"",[200,204],"")}async setBucketReplication(qa,ed){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(isObject$1(ed)){if(_.isEmpty(ed.role))throw new InvalidArgumentError("Role cannot be empty");if(ed.role&&!isString$1(ed.role))throw new InvalidArgumentError("Invalid value for role",ed.role);if(_.isEmpty(ed.rules))throw new InvalidArgumentError("Minimum one replication rule must be specified")}else throw new InvalidArgumentError('replicationConfig should be of type "object"');const td="PUT",rd="replication",sd={},od={ReplicationConfiguration:{Role:ed.role,Rule:ed.rules}},ud=new xml2js.Builder({renderOpts:{pretty:!1},headless:!0}).buildObject(od);sd["Content-MD5"]=toMd5(ud),await this.makeRequestAsyncOmit({method:td,bucketName:qa,query:rd,headers:sd},ud)}async getBucketReplication(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);const rd=await this.makeRequestAsync({method:"GET",bucketName:qa,query:"replication"},"",[200,204]),sd=await readAsString(rd);return parseReplicationConfig(sd)}}class CopyConditions{constructor(){Ym(this,"modified","");Ym(this,"unmodified","");Ym(this,"matchETag","");Ym(this,"matchETagExcept","")}setModified(qa){if(!(qa instanceof Date))throw new TypeError("date must be of type Date");this.modified=qa.toUTCString()}setUnmodified(qa){if(!(qa instanceof Date))throw new TypeError("date must be of type Date");this.unmodified=qa.toUTCString()}setMatchETag(qa){this.matchETag=qa}setMatchETagExcept(qa){this.matchETagExcept=qa}}class PostPolicy{constructor(){Ym(this,"policy",{conditions:[]});Ym(this,"formData",{})}setExpires(qa){if(!qa)throw new InvalidDateError("Invalid date: cannot be null");this.policy.expiration=qa.toISOString()}setKey(qa){if(!isValidObjectName(qa))throw new InvalidObjectNameError(`Invalid object name : ${qa}`);this.policy.conditions.push(["eq","$key",qa]),this.formData.key=qa}setKeyStartsWith(qa){if(!isValidPrefix(qa))throw new InvalidPrefixError(`Invalid prefix : ${qa}`);this.policy.conditions.push(["starts-with","$key",qa]),this.formData.key=qa}setBucket(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name : ${qa}`);this.policy.conditions.push(["eq","$bucket",qa]),this.formData.bucket=qa}setContentType(qa){if(!qa)throw new Error("content-type cannot be null");this.policy.conditions.push(["eq","$Content-Type",qa]),this.formData["Content-Type"]=qa}setContentTypeStartsWith(qa){if(!qa)throw new Error("content-type cannot be null");this.policy.conditions.push(["starts-with","$Content-Type",qa]),this.formData["Content-Type"]=qa}setContentDisposition(qa){if(!qa)throw new Error("content-disposition cannot be null");this.policy.conditions.push(["eq","$Content-Disposition",qa]),this.formData["Content-Disposition"]=qa}setContentLengthRange(qa,ed){if(qa>ed)throw new Error("min cannot be more than max");if(qa<0)throw new Error("min should be > 0");if(ed<0)throw new Error("max should be > 0");this.policy.conditions.push(["content-length-range",qa,ed])}setUserMetaData(qa){if(!isObject$1(qa))throw new TypeError('metadata should be of type "object"');Object.entries(qa).forEach(([ed,td])=>{const rd=`x-amz-meta-${ed}`;this.policy.conditions.push(["eq",`$${rd}`,td]),this.formData[rd]=td.toString()})}}var jsonStream={exports:{}},util=util$5,TransformStream=streamBrowserify.Transform;jsonStream.exports=function(Ra){return new JSONStream(Ra)};var JSONStream=jsonStream.exports.JSONStream=function(Ra){Ra=Ra||{},TransformStream.call(this,Ra),this._writableState.objectMode=!1,this._readableState.objectMode=!0,this._async=Ra.async||!1};util.inherits(JSONStream,TransformStream);JSONStream.prototype._transform=function(Ra,qa,ed){Buffer$2.isBuffer(Ra)||(Ra=new Buffer$2(Ra)),this._buffer&&(Ra=Buffer$2.concat([this._buffer,Ra]));for(var td=0,rd=0;++td<=Ra.length;)if(Ra[td]===10||td===Ra.length){var sd;try{sd=JSON.parse(Ra.slice(rd,td))}catch{}sd&&(this.push(sd),sd=null),Ra[td]===10&&(rd=++td)}return this._buffer=Ra.slice(rd),this._async?void setImmediate(ed):void ed()};var jsonStreamExports=jsonStream.exports;const JSONParser=getDefaultExportFromCjs(jsonStreamExports);var through2$1={exports:{}};const{Transform}=readableBrowserExports;function inherits$1(Ra,qa){Ra.super_=qa,Ra.prototype=Object.create(qa.prototype,{constructor:{value:Ra,enumerable:!1,writable:!0,configurable:!0}})}function through2(Ra){return(qa,ed,td)=>(typeof qa=="function"&&(td=ed,ed=qa,qa={}),typeof ed!="function"&&(ed=(rd,sd,od)=>od(null,rd)),typeof td!="function"&&(td=null),Ra(qa,ed,td))}const make=through2((Ra,qa,ed)=>{const td=new Transform(Ra);return td._transform=qa,ed&&(td._flush=ed),td}),ctor=through2((Ra,qa,ed)=>{function td(rd){if(!(this instanceof td))return new td(rd);this.options=Object.assign({},Ra,rd),Transform.call(this,this.options),this._transform=qa,ed&&(this._flush=ed)}return inherits$1(td,Transform),td}),obj=through2(function(Ra,qa,ed){const td=new Transform(Object.assign({objectMode:!0,highWaterMark:16},Ra));return td._transform=qa,ed&&(td._flush=ed),td});through2$1.exports=make;through2$1.exports.ctor=ctor;through2$1.exports.obj=obj;var through2Exports=through2$1.exports;const Through2=getDefaultExportFromCjs(through2Exports);var Buffer=buffer.Buffer,CRC_TABLE=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];typeof Int32Array<"u"&&(CRC_TABLE=new Int32Array(CRC_TABLE));function ensureBuffer(Ra){if(Buffer.isBuffer(Ra))return Ra;var qa=typeof Buffer.alloc=="function"&&typeof Buffer.from=="function";if(typeof Ra=="number")return qa?Buffer.alloc(Ra):new Buffer(Ra);if(typeof Ra=="string")return qa?Buffer.from(Ra):new Buffer(Ra);throw new Error("input must be buffer, number, or string, received "+typeof Ra)}function bufferizeInt(Ra){var qa=ensureBuffer(4);return qa.writeInt32BE(Ra,0),qa}function _crc32(Ra,qa){Ra=ensureBuffer(Ra),Buffer.isBuffer(qa)&&(qa=qa.readUInt32BE(0));for(var ed=~~qa^-1,td=0;td>>8;return ed^-1}function crc32(){return bufferizeInt(_crc32.apply(null,arguments))}crc32.signed=function(){return _crc32.apply(null,arguments)};crc32.unsigned=function(){return _crc32.apply(null,arguments)>>>0};var bufferCrc32=crc32;const crc32$1=getDefaultExportFromCjs(bufferCrc32),fxpWithoutNumParser=new fxp$2.XMLParser({numberParseOptions:{skipLike:/./}});function parseCopyObject(Ra){var qa={etag:"",lastModified:""},ed=parseXml(Ra);if(!ed.CopyObjectResult)throw new InvalidXMLError('Missing tag: "CopyObjectResult"');return ed=ed.CopyObjectResult,ed.ETag&&(qa.etag=ed.ETag.replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"")),ed.LastModified&&(qa.lastModified=new Date(ed.LastModified)),qa}function parseListMultipart(Ra){var qa={uploads:[],prefixes:[],isTruncated:!1},ed=parseXml(Ra);if(!ed.ListMultipartUploadsResult)throw new InvalidXMLError('Missing tag: "ListMultipartUploadsResult"');return ed=ed.ListMultipartUploadsResult,ed.IsTruncated&&(qa.isTruncated=ed.IsTruncated),ed.NextKeyMarker&&(qa.nextKeyMarker=ed.NextKeyMarker),ed.NextUploadIdMarker&&(qa.nextUploadIdMarker=ed.nextUploadIdMarker||""),ed.CommonPrefixes&&toArray$1(ed.CommonPrefixes).forEach(td=>{qa.prefixes.push({prefix:sanitizeObjectKey(toArray$1(td.Prefix)[0])})}),ed.Upload&&toArray$1(ed.Upload).forEach(td=>{var rd=td.Key,sd=td.UploadId,od={id:td.Initiator.ID,displayName:td.Initiator.DisplayName},ld={id:td.Owner.ID,displayName:td.Owner.DisplayName},ud=td.StorageClass,cd=new Date(td.Initiated);qa.uploads.push({key:rd,uploadId:sd,initiator:od,owner:ld,storageClass:ud,initiated:cd})}),qa}function parseBucketNotification(Ra){var qa={TopicConfiguration:[],QueueConfiguration:[],CloudFunctionConfiguration:[]},ed=function(sd){var od=[];return sd&&toArray$1(sd).forEach(ld=>{od.push(ld)}),od},td=function(sd){var od=[];return sd&&(sd=toArray$1(sd),sd[0].S3Key&&(sd[0].S3Key=toArray$1(sd[0].S3Key),sd[0].S3Key[0].FilterRule&&toArray$1(sd[0].S3Key[0].FilterRule).forEach(ld=>{var ud=toArray$1(ld.Name)[0],cd=toArray$1(ld.Value)[0];od.push({Name:ud,Value:cd})}))),od},rd=parseXml(Ra);return rd=rd.NotificationConfiguration,rd.TopicConfiguration&&toArray$1(rd.TopicConfiguration).forEach(sd=>{var od=toArray$1(sd.Id)[0],ld=toArray$1(sd.Topic)[0],ud=ed(sd.Event),cd=td(sd.Filter);qa.TopicConfiguration.push({Id:od,Topic:ld,Event:ud,Filter:cd})}),rd.QueueConfiguration&&toArray$1(rd.QueueConfiguration).forEach(sd=>{var od=toArray$1(sd.Id)[0],ld=toArray$1(sd.Queue)[0],ud=ed(sd.Event),cd=td(sd.Filter);qa.QueueConfiguration.push({Id:od,Queue:ld,Event:ud,Filter:cd})}),rd.CloudFunctionConfiguration&&toArray$1(rd.CloudFunctionConfiguration).forEach(sd=>{var od=toArray$1(sd.Id)[0],ld=toArray$1(sd.CloudFunction)[0],ud=ed(sd.Event),cd=td(sd.Filter);qa.CloudFunctionConfiguration.push({Id:od,CloudFunction:ld,Event:ud,Filter:cd})}),qa}function parseCompleteMultipart(Ra){var qa=parseXml(Ra).CompleteMultipartUploadResult;if(qa.Location){var ed=toArray$1(qa.Location)[0],td=toArray$1(qa.Bucket)[0],rd=qa.Key,sd=qa.ETag.replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"");return{location:ed,bucket:td,key:rd,etag:sd}}if(qa.Code&&qa.Message){var od=toArray$1(qa.Code)[0],ld=toArray$1(qa.Message)[0];return{errCode:od,errMessage:ld}}}const formatObjInfo=(Ra,qa={})=>{let{Key:ed,LastModified:td,ETag:rd,Size:sd,VersionId:od,IsLatest:ld}=Ra;isObject$1(qa)||(qa={});const ud=sanitizeObjectKey(toArray$1(ed)[0]),cd=new Date(toArray$1(td)[0]),dd=sanitizeETag(toArray$1(rd)[0]),_d=sanitizeSize(sd);return{name:ud,lastModified:cd,etag:dd,size:_d,versionId:od,isLatest:ld,isDeleteMarker:qa.IsDeleteMarker?qa.IsDeleteMarker:!1}};function parseListObjects(Ra){var qa={objects:[],isTruncated:!1};let ed=!1,td,rd;const sd=fxpWithoutNumParser.parse(Ra),od=cd=>{cd&&toArray$1(cd).forEach(dd=>{qa.objects.push({prefix:sanitizeObjectKey(toArray$1(dd.Prefix)[0]),size:0})})},ld=sd.ListBucketResult,ud=sd.ListVersionsResult;return ld&&(ld.IsTruncated&&(ed=ld.IsTruncated),ld.Contents&&toArray$1(ld.Contents).forEach(cd=>{const dd=sanitizeObjectKey(toArray$1(cd.Key)[0]),_d=new Date(toArray$1(cd.LastModified)[0]),Ed=sanitizeETag(toArray$1(cd.ETag)[0]),Ad=sanitizeSize(cd.Size);qa.objects.push({name:dd,lastModified:_d,etag:Ed,size:Ad})}),ld.NextMarker&&(td=ld.NextMarker),od(ld.CommonPrefixes)),ud&&(ud.IsTruncated&&(ed=ud.IsTruncated),ud.Version&&toArray$1(ud.Version).forEach(cd=>{qa.objects.push(formatObjInfo(cd))}),ud.DeleteMarker&&toArray$1(ud.DeleteMarker).forEach(cd=>{qa.objects.push(formatObjInfo(cd,{IsDeleteMarker:!0}))}),ud.NextKeyMarker&&(rd=ud.NextKeyMarker),ud.NextVersionIdMarker&&(qa.versionIdMarker=ud.NextVersionIdMarker),od(ud.CommonPrefixes)),qa.isTruncated=ed,ed&&(qa.nextMarker=rd||td),qa}function parseListObjectsV2(Ra){var qa={objects:[],isTruncated:!1},ed=parseXml(Ra);if(!ed.ListBucketResult)throw new InvalidXMLError('Missing tag: "ListBucketResult"');return ed=ed.ListBucketResult,ed.IsTruncated&&(qa.isTruncated=ed.IsTruncated),ed.NextContinuationToken&&(qa.nextContinuationToken=ed.NextContinuationToken),ed.Contents&&toArray$1(ed.Contents).forEach(td=>{var rd=sanitizeObjectKey(toArray$1(td.Key)[0]),sd=new Date(td.LastModified),od=sanitizeETag(td.ETag),ld=td.Size;qa.objects.push({name:rd,lastModified:sd,etag:od,size:ld})}),ed.CommonPrefixes&&toArray$1(ed.CommonPrefixes).forEach(td=>{qa.objects.push({prefix:sanitizeObjectKey(toArray$1(td.Prefix)[0]),size:0})}),qa}function parseBucketVersioningConfig(Ra){var qa=parseXml(Ra);return qa.VersioningConfiguration}function parseTagging(Ra){const qa=parseXml(Ra);let ed=[];if(qa.Tagging&&qa.Tagging.TagSet&&qa.Tagging.TagSet.Tag){const td=qa.Tagging.TagSet.Tag;isObject$1(td)?ed.push(td):ed=td}return ed}function parseLifecycleConfig(Ra){return parseXml(Ra).LifecycleConfiguration}function parseObjectLockConfig(Ra){const qa=parseXml(Ra);let ed={};if(qa.ObjectLockConfiguration){ed={objectLockEnabled:qa.ObjectLockConfiguration.ObjectLockEnabled};let td;if(qa.ObjectLockConfiguration&&qa.ObjectLockConfiguration.Rule&&qa.ObjectLockConfiguration.Rule.DefaultRetention&&(td=qa.ObjectLockConfiguration.Rule.DefaultRetention||{},ed.mode=td.Mode),td){const rd=td.Years;rd?(ed.validity=rd,ed.unit=RETENTION_VALIDITY_UNITS.YEARS):(ed.validity=td.Days,ed.unit=RETENTION_VALIDITY_UNITS.DAYS)}return ed}}function parseObjectRetentionConfig(Ra){const ed=parseXml(Ra).Retention;return{mode:ed.Mode,retainUntilDate:ed.RetainUntilDate}}function parseBucketEncryptionConfig(Ra){return parseXml(Ra)}function parseObjectLegalHoldConfig(Ra){return parseXml(Ra).LegalHold}function uploadPartParser(Ra){return parseXml(Ra).CopyPartResult}function removeObjectsParser(Ra){const qa=parseXml(Ra);return qa.DeleteResult&&qa.DeleteResult.Error?toArray$1(qa.DeleteResult.Error):[]}function parseSelectObjectContentResponse(Ra){function qa(sd){const od=Buffer$2.from(sd.read(1)).readUInt8(),ud=(Buffer$2.from(sd.read(od)).toString()||"").split(":");return ud.length>=1?ud[1]:""}function ed(sd){const od=Buffer$2.from(sd.read(2)).readUInt16BE();return Buffer$2.from(sd.read(od)).toString()}const td=new SelectResults({}),rd=readableStream(Ra);for(;rd._readableState.length;){let sd;const od=Buffer$2.from(rd.read(4));sd=crc32$1(od);const ld=Buffer$2.from(rd.read(4));sd=crc32$1(ld,sd);const ud=sd.readInt32BE(),cd=Buffer$2.from(rd.read(4));sd=crc32$1(cd,sd);const dd=od.readInt32BE(),_d=ld.readInt32BE(),Ed=cd.readInt32BE();if(Ed!==ud)throw new Error(`Header Checksum Mismatch, Prelude CRC of ${Ed} does not equal expected CRC of ${ud}`);const Ad={};if(_d>0){const Rd=Buffer$2.from(rd.read(_d));sd=crc32$1(Rd,sd);const Od=readableStream(Rd);for(;Od._readableState.length;){let Md=qa(Od);Od.read(1),Ad[Md]=ed(Od)}}let Td;const Id=dd-_d-16;if(Id>0){const Rd=Buffer$2.from(rd.read(Id));sd=crc32$1(Rd,sd);const Od=Buffer$2.from(rd.read(4)).readInt32BE(),Md=sd.readInt32BE();if(Od!==Md)throw new Error(`Message Checksum Mismatch, Message CRC of ${Od} does not equal expected CRC of ${Md}`);Td=readableStream(Rd)}const Bd=Ad["message-type"];switch(Bd){case"error":{const Rd=Ad["error-code"]+':"'+Ad["error-message"]+'"';throw new Error(Rd)}case"event":{const Rd=Ad["content-type"];switch(Ad["event-type"]){case"End":return td.setResponse(Ra),td;case"Records":{const Md=Td.read(Id);td.setRecords(Md);break}case"Progress":switch(Rd){case"text/xml":{const Md=Td.read(Id);td.setProgress(Md.toString());break}default:{const Md=`Unexpected content-type ${Rd} sent for event-type Progress`;throw new Error(Md)}}break;case"Stats":switch(Rd){case"text/xml":{const Md=Td.read(Id);td.setStats(Md.toString());break}default:{const Md=`Unexpected content-type ${Rd} sent for event-type Stats`;throw new Error(Md)}}break;default:{const Md=`Un implemented event detected ${Bd}.`;console.warn(Md)}}}}}}function getConcater(Ra,qa){var ed=!1,td=[];if(Ra&&!isFunction$1(Ra))throw new TypeError('parser should be of type "function"');return Ra&&(ed=!0),Through2({objectMode:ed},function(rd,sd,od){td.push(rd),od()},function(rd){td.length&&(Ra?this.push(Ra(Buffer$2.concat(td).toString())):this.push(Buffer$2.concat(td))),rd()})}function getCopyObjectTransformer(){return getConcater(parseCopyObject)}function getListMultipartTransformer(){return getConcater(parseListMultipart)}function getListObjectsTransformer(){return getConcater(parseListObjects)}function getListObjectsV2Transformer(){return getConcater(parseListObjectsV2)}function getCompleteMultipartTransformer(){return getConcater(parseCompleteMultipart)}function getBucketNotificationTransformer(){return getConcater(parseBucketNotification)}function getNotificationTransformer(){return new JSONParser}function bucketVersioningTransformer(){return getConcater(parseBucketVersioningConfig)}function getTagsTransformer(){return getConcater(parseTagging)}function lifecycleTransformer(){return getConcater(parseLifecycleConfig)}function objectLockTransformer(){return getConcater(parseObjectLockConfig)}function objectRetentionTransformer(){return getConcater(parseObjectRetentionConfig)}function bucketEncryptionTransformer(){return getConcater(parseBucketEncryptionConfig)}function objectLegalHoldTransformer(){return getConcater(parseObjectLegalHoldConfig)}function uploadPartTransformer(){return getConcater(uploadPartParser)}function selectObjectContentTransformer(){return getConcater()}function removeObjectsTransformer(){return getConcater(removeObjectsParser)}var define_process_default$2={version:"v20.17.0",versions:{node:"20.17.0",acorn:"8.11.3",ada:"2.9.0",ares:"1.32.3",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.2.2",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.13+quic",simdutf:"5.3.0",tz:"2024a",undici:"6.19.2",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-209717d"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule internal/idna","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/streams/utils","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/idna.js","lib/internal/inspector_async_hook.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_f474754f-950f-4d2e-994a-c524574e8031",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.17.0 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_f474754f-950f-4d2e-994a-c524574e8031",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.10.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu22",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"604",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",GOROOT_1_20_X64:"/opt/hostedtoolcache/go/1.20.14/x64",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20240915.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.7/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",JOURNAL_STREAM:"8:5513",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.17.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",npm_config_npm_version:"10.8.2",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"10931482109",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"30f0792baaad6e1889d29d0c00ae240dfec216c4",GITHUB_BASE_REF:"",ImageOS:"ubuntu22",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.17.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_8327e18c-9985-4d8c-819f-743e4582b3aa",INVOCATION_ID:"facc399a086f481090bef1701fa117fb",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"438",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 7",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"30f0792baaad6e1889d29d0c00ae240dfec216c4",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.17.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_f474754f-950f-4d2e-994a-c524574e8031",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_f474754f-950f-4d2e-994a-c524574e8031",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.1.12297006",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",STATS_EXTP:"https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_f474754f-950f-4d2e-994a-c524574e8031",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.17.0/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2081,ppid:2080,execPath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};class NotificationConfig{add(qa){let ed="";qa instanceof TopicConfig&&(ed="TopicConfiguration"),qa instanceof QueueConfig&&(ed="QueueConfiguration"),qa instanceof CloudFunctionConfig&&(ed="CloudFunctionConfiguration"),this[ed]||(this[ed]=[]),this[ed].push(qa)}}class TargetConfig{setId(qa){this.Id=qa}addEvent(qa){this.Event||(this.Event=[]),this.Event.push(qa)}addFilterSuffix(qa){this.Filter||(this.Filter={S3Key:{FilterRule:[]}}),this.Filter.S3Key.FilterRule.push({Name:"suffix",Value:qa})}addFilterPrefix(qa){this.Filter||(this.Filter={S3Key:{FilterRule:[]}}),this.Filter.S3Key.FilterRule.push({Name:"prefix",Value:qa})}}class TopicConfig extends TargetConfig{constructor(qa){super(),this.Topic=qa}}class QueueConfig extends TargetConfig{constructor(qa){super(),this.Queue=qa}}class CloudFunctionConfig extends TargetConfig{constructor(qa){super(),this.CloudFunction=qa}}class NotificationPoller extends eventsExports.EventEmitter{constructor(qa,ed,td,rd,sd){super(),this.client=qa,this.bucketName=ed,this.prefix=td,this.suffix=rd,this.events=sd,this.ending=!1}start(){this.ending=!1,define_process_default$2.nextTick(()=>{this.checkForChanges()})}stop(){this.ending=!0}checkForChanges(){if(this.ending)return;let qa="GET";var ed=[];if(this.prefix){var td=uriEscape(this.prefix);ed.push(`prefix=${td}`)}if(this.suffix){var rd=uriEscape(this.suffix);ed.push(`suffix=${rd}`)}this.events&&this.events.forEach(ld=>ed.push("events="+uriEscape(ld))),ed.sort();var sd="";ed.length>0&&(sd=`${ed.join("&")}`);const od=this.client.region||DEFAULT_REGION;this.client.makeRequest({method:qa,bucketName:this.bucketName,query:sd},"",[200],od,!0,(ld,ud)=>{if(ld)return this.emit("error",ld);let cd=getNotificationTransformer();pipesetup(ud,cd).on("data",dd=>{let _d=dd.Records;_d||(_d=[]),_d.forEach(Ed=>{this.emit("notification",Ed)}),this.ending&&ud.destroy()}).on("error",dd=>this.emit("error",dd)).on("end",()=>{define_process_default$2.nextTick(()=>{this.checkForChanges()})})})}}var define_process_default$1={version:"v20.17.0",versions:{node:"20.17.0",acorn:"8.11.3",ada:"2.9.0",ares:"1.32.3",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.2.2",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.13+quic",simdutf:"5.3.0",tz:"2024a",undici:"6.19.2",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-209717d"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule internal/idna","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/streams/utils","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/idna.js","lib/internal/inspector_async_hook.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_f474754f-950f-4d2e-994a-c524574e8031",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.17.0 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_f474754f-950f-4d2e-994a-c524574e8031",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.10.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu22",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"604",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",GOROOT_1_20_X64:"/opt/hostedtoolcache/go/1.20.14/x64",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20240915.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.7/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",JOURNAL_STREAM:"8:5513",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.17.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",npm_config_npm_version:"10.8.2",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"10931482109",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"30f0792baaad6e1889d29d0c00ae240dfec216c4",GITHUB_BASE_REF:"",ImageOS:"ubuntu22",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.17.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_8327e18c-9985-4d8c-819f-743e4582b3aa",INVOCATION_ID:"facc399a086f481090bef1701fa117fb",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"438",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 7",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"30f0792baaad6e1889d29d0c00ae240dfec216c4",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.17.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_f474754f-950f-4d2e-994a-c524574e8031",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_f474754f-950f-4d2e-994a-c524574e8031",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.1.12297006",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",STATS_EXTP:"https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_f474754f-950f-4d2e-994a-c524574e8031",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.17.0/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2081,ppid:2080,execPath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};class ObjectUploader extends streamBrowserify.Transform{constructor(qa,ed,td,rd,sd,od){super(),this.emptyStream=!0,this.client=qa,this.bucketName=ed,this.objectName=td,this.partSize=rd,this.metaData=sd,this.callback=od,this.partNumber=1,this.oldParts=null,this.etags=[],this.id=null,this.on("error",ld=>{od(ld)})}_transform(qa,ed,td){this.emptyStream=!1;let rd="PUT",sd={"Content-Length":qa.length},od="";if(this.client.enableSHA256||(od=(void 0)("md5").update(qa).digest(),sd["Content-MD5"]=od.toString("base64")),this.partNumber==1&&qa.length{if(_d)return td(_d);let Ad={etag:sanitizeETag(Ed.headers.etag),versionId:getVersionId(Ed.headers)};Ed.on("data",()=>{}),define_process_default$1.nextTick(()=>{this.callback(null,Ad)}),td()});return}if(this.id===null){this.once("ready",()=>{this._transform(qa,ed,td)}),this.client.findUploadId(this.bucketName,this.objectName,(dd,_d)=>{if(dd)return this.emit("error",dd);if(!_d){this.client.initiateNewMultipartUpload(this.bucketName,this.objectName,this.metaData).then(Ed=>{this.id=Ed,this.emit("ready")},Ed=>td(Ed));return}this.id=_d,this.client.listParts(this.bucketName,this.objectName,_d).then(Ed=>{Ed||(Ed=[]),this.oldParts=Ed.reduce(function(Ad,Td){return Ad[Td.part]||(Ad[Td.part]=Td),Ad},{}),this.emit("ready")},Ed=>this.emit("error",Ed))});return}let ld=this.partNumber++;if(this.oldParts){let dd=this.oldParts[ld];if(od||(od=(void 0)("md5").update(qa).digest()),dd&&od.toString("hex")===dd.etag){this.etags.push({part:ld,etag:dd.etag}),td();return}}let ud=queryString.stringify({partNumber:ld,uploadId:this.id}),cd={method:rd,query:ud,headers:sd,bucketName:this.bucketName,objectName:this.objectName};this.client.makeRequest(cd,qa,[200],"",!0,(dd,_d)=>{if(dd)return td(dd);let Ed=_d.headers.etag;Ed&&(Ed=Ed.replace(/^"/,"").replace(/"$/,"")),this.etags.push({part:ld,etag:Ed}),_d.on("data",()=>{}),td()})}_flush(qa){if(this.emptyStream){let ed="PUT",td=Object.assign({},this.metaData,{"Content-Length":0}),rd={method:ed,headers:td,query:"",bucketName:this.bucketName,objectName:this.objectName};this.client.makeRequest(rd,"",[200],"",!0,(sd,od)=>{if(sd)return qa(sd);let ld={etag:sanitizeETag(od.headers.etag),versionId:getVersionId(od.headers)};od.on("data",()=>{}),define_process_default$1.nextTick(()=>{this.callback(null,ld)}),qa()});return}this.id!==null&&this.client.completeMultipartUpload(this.bucketName,this.objectName,this.id,this.etags,(ed,td)=>{if(ed)return qa(ed);define_process_default$1.nextTick(()=>{this.callback(null,td)}),qa()})}}function promisify(Ra){return function(){if(typeof arguments[arguments.length-1]=="function")return Ra.apply(this,arguments);let ed=[...arguments];return new Promise((td,rd)=>{ed.push((sd,od)=>{if(sd)return rd(sd);td(od)}),Ra.apply(this,ed)})}}class Client extends TypedClient{setAppInfo(qa,ed){if(!isString$1(qa))throw new TypeError(`Invalid appName: ${qa}`);if(qa.trim()==="")throw new InvalidArgumentError("Input appName cannot be empty.");if(!isString$1(ed))throw new TypeError(`Invalid appVersion: ${ed}`);if(ed.trim()==="")throw new InvalidArgumentError("Input appVersion cannot be empty.");this.userAgent=`${this.userAgent} ${qa}/${ed}`}calculatePartSize(qa){if(!isNumber$1(qa))throw new TypeError('size should be of type "number"');if(qa>this.maxObjectSize)throw new TypeError(`size should not be more than ${this.maxObjectSize}`);if(this.overRidePartSize)return this.partSize;for(var ed=this.partSize;;){if(ed*1e4>qa)return ed;ed+=16*1024*1024}}makeBucket(qa,ed,td={},rd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(isObject$1(ed)&&(rd=td,td=ed,ed=""),isFunction$1(ed)&&(rd=ed,ed="",td={}),isFunction$1(td)&&(rd=td,td={}),!isString$1(ed))throw new TypeError('region should be of type "string"');if(!isObject$1(td))throw new TypeError('makeOpts should be of type "object"');if(!isFunction$1(rd))throw new TypeError('callback should be of type "function"');var sd="";if(ed&&this.region&&ed!==this.region)throw new InvalidArgumentError(`Configured region ${this.region}, requested ${ed}`);if(ed&&ed!==DEFAULT_REGION){var od=[];od.push({_attr:{xmlns:"http://s3.amazonaws.com/doc/2006-03-01/"}}),od.push({LocationConstraint:ed});var ld={CreateBucketConfiguration:od};sd=Xml(ld)}var ud="PUT",cd={};td.ObjectLocking&&(cd["x-amz-bucket-object-lock-enabled"]=!0),ed||(ed=DEFAULT_REGION);const dd=_d=>{if(_d&&(ed===""||ed===DEFAULT_REGION))if(_d.code==="AuthorizationHeaderMalformed"&&_d.region!=="")this.makeRequest({method:ud,bucketName:qa,headers:cd},sd,[200],_d.region,!1,rd);else return rd&&rd(_d);return rd&&rd(_d)};this.makeRequest({method:ud,bucketName:qa,headers:cd},sd,[200],ed,!1,dd)}listIncompleteUploads(qa,ed,td){if(ed===void 0&&(ed=""),td===void 0&&(td=!1),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidPrefix(ed))throw new InvalidPrefixError(`Invalid prefix : ${ed}`);if(!isBoolean$1(td))throw new TypeError('recursive should be of type "boolean"');var rd=td?"":"/",sd="",od="",ld=[],ud=!1,cd=streamBrowserify.Readable({objectMode:!0});return cd._read=()=>{if(ld.length)return cd.push(ld.shift());if(ud)return cd.push(null);this.listIncompleteUploadsQuery(qa,ed,sd,od,rd).on("error",dd=>cd.emit("error",dd)).on("data",dd=>{dd.prefixes.forEach(_d=>ld.push(_d)),index.eachSeries(dd.uploads,(_d,Ed)=>{this.listParts(qa,_d.key,_d.uploadId).then(Ad=>{_d.size=Ad.reduce((Td,Id)=>Td+Id.size,0),ld.push(_d),Ed()},Ed)},_d=>{if(_d){cd.emit("error",_d);return}dd.isTruncated?(sd=dd.nextKeyMarker,od=dd.nextUploadIdMarker):ud=!0,cd._read()})})},cd}bucketExists(qa,ed){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction$1(ed))throw new TypeError('callback should be of type "function"');var td="HEAD";this.makeRequest({method:td,bucketName:qa},"",[200],"",!1,rd=>{if(rd)return rd.code=="NoSuchBucket"||rd.code=="NotFound"?ed(null,!1):ed(rd);ed(null,!0)})}removeIncompleteUpload(qa,ed,td){if(!isValidBucketName(qa))throw new IsValidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(ed))throw new InvalidObjectNameError(`Invalid object name: ${ed}`);if(!isFunction$1(td))throw new TypeError('callback should be of type "function"');var rd;index.during(sd=>{this.findUploadId(qa,ed,(od,ld)=>{if(od)return sd(od);rd=ld,sd(null,ld)})},sd=>{var od="DELETE",ld=`uploadId=${rd}`;this.makeRequest({method:od,bucketName:qa,objectName:ed,query:ld},"",[204],"",!1,ud=>sd(ud))},td)}fGetObject(qa,ed,td,rd={},sd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(ed))throw new InvalidObjectNameError(`Invalid object name: ${ed}`);if(!isString$1(td))throw new TypeError('filePath should be of type "string"');if(isFunction$1(rd)&&(sd=rd,rd={}),!isFunction$1(sd))throw new TypeError('callback should be of type "function"');var od,ld,ud,cd=dd=>{if(dd)return sd(dd);(void 0)(od,td,sd)};index.waterfall([dd=>this.statObject(qa,ed,rd,dd),(dd,_d)=>{ud=dd,(void 0)(pathBrowserify.dirname(td),{recursive:!0},Ed=>_d(Ed))},dd=>{od=`${td}.${ud.etag}.part.minio`,(void 0)(od,(_d,Ed)=>{var Ad=0;if(_d)ld=(void 0)(od,{flags:"w"});else{if(ud.size===Ed.size)return cd();Ad=Ed.size,ld=(void 0)(od,{flags:"a"})}this.getPartialObject(qa,ed,Ad,0,rd,dd)})},(dd,_d)=>{pipesetup(dd,ld).on("error",Ed=>_d(Ed)).on("finish",_d)},dd=>(void 0)(od,dd),(dd,_d)=>{if(dd.size===ud.size)return _d();_d(new Error("Size mismatch between downloaded file and the object"))}],cd)}getObject(qa,ed,td={},rd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(ed))throw new InvalidObjectNameError(`Invalid object name: ${ed}`);if(isFunction$1(td)&&(rd=td,td={}),!isFunction$1(rd))throw new TypeError('callback should be of type "function"');this.getPartialObject(qa,ed,0,0,td,rd)}getPartialObject(qa,ed,td,rd,sd={},od){if(isFunction$1(rd)&&(od=rd,rd=0),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(ed))throw new InvalidObjectNameError(`Invalid object name: ${ed}`);if(!isNumber$1(td))throw new TypeError('offset should be of type "number"');if(!isNumber$1(rd))throw new TypeError('length should be of type "number"');if(isFunction$1(sd)&&(od=sd,sd={}),!isFunction$1(od))throw new TypeError('callback should be of type "function"');var ld="";(td||rd)&&(td?ld=`bytes=${+td}-`:(ld="bytes=0-",td=0),rd&&(ld+=`${+rd+td-1}`));var ud={};ld!==""&&(ud.range=ld);var cd=[200];ld&&cd.push(206);var dd="GET",_d=queryString.stringify(sd);this.makeRequest({method:dd,bucketName:qa,objectName:ed,headers:ud,query:_d},"",cd,"",!0,od)}fPutObject(qa,ed,td,rd,sd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(ed))throw new InvalidObjectNameError(`Invalid object name: ${ed}`);if(!isString$1(td))throw new TypeError('filePath should be of type "string"');if(isFunction$1(rd)&&(sd=rd,rd={}),!isObject$1(rd))throw new TypeError('metaData should be of type "object"');rd=insertContentType(rd,td),(void 0)(td,(od,ld)=>od?sd(od):this.putObject(qa,ed,(void 0)(td),ld.size,rd,sd))}putObject(qa,ed,td,rd,sd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(ed))throw new InvalidObjectNameError(`Invalid object name: ${ed}`);if(isFunction$1(rd)?(od=rd,sd={}):isFunction$1(sd)&&(od=sd,sd={}),isObject$1(rd)&&(sd=rd),sd=prependXAMZMeta(sd),typeof td=="string"||td instanceof Buffer$2)rd=td.length,td=readableStream(td);else if(!isReadableStream$1(td))throw new TypeError('third argument should be of type "stream.Readable" or "Buffer" or "string"');if(!isFunction$1(od))throw new TypeError('callback should be of type "function"');if(isNumber$1(rd)&&rd<0)throw new InvalidArgumentError(`size cannot be negative, given size: ${rd}`);isNumber$1(rd)||(rd=this.maxObjectSize),rd=this.calculatePartSize(rd);let ld=new BlockStream2({size:rd,zeroPadding:!1}),ud=new ObjectUploader(this,qa,ed,rd,sd,od);pipesetup(td,ld,ud)}copyObjectV1(qa,ed,td,rd,sd){var od=qa,ld=ed,ud=td,cd,dd;if(typeof rd=="function"&&sd===void 0?(cd=null,dd=rd):(cd=rd,dd=sd),!isValidBucketName(od))throw new InvalidBucketNameError("Invalid bucket name: "+od);if(!isValidObjectName(ld))throw new InvalidObjectNameError(`Invalid object name: ${ld}`);if(!isString$1(ud))throw new TypeError('srcObject should be of type "string"');if(ud==="")throw new InvalidPrefixError("Empty source prefix");if(cd!==null&&!(cd instanceof CopyConditions))throw new TypeError('conditions should be of type "CopyConditions"');var _d={};_d["x-amz-copy-source"]=uriResourceEscape(ud),cd!==null&&(cd.modified!==""&&(_d["x-amz-copy-source-if-modified-since"]=cd.modified),cd.unmodified!==""&&(_d["x-amz-copy-source-if-unmodified-since"]=cd.unmodified),cd.matchETag!==""&&(_d["x-amz-copy-source-if-match"]=cd.matchETag),cd.matchEtagExcept!==""&&(_d["x-amz-copy-source-if-none-match"]=cd.matchETagExcept));var Ed="PUT";this.makeRequest({method:Ed,bucketName:od,objectName:ld,headers:_d},"",[200],"",!0,(Ad,Td)=>{if(Ad)return dd(Ad);var Id=getCopyObjectTransformer();pipesetup(Td,Id).on("error",Bd=>dd(Bd)).on("data",Bd=>dd(null,Bd))})}copyObjectV2(qa,ed,td){if(!(qa instanceof CopySourceOptions))throw new InvalidArgumentError("sourceConfig should of type CopySourceOptions ");if(!(ed instanceof CopyDestinationOptions))throw new InvalidArgumentError("destConfig should of type CopyDestinationOptions ");if(!ed.validate()||!ed.validate())return!1;if(!isFunction$1(td))throw new TypeError('callback should be of type "function"');const rd=Object.assign({},qa.getHeaders(),ed.getHeaders()),sd=ed.Bucket,od=ed.Object;this.makeRequest({method:"PUT",bucketName:sd,objectName:od,headers:rd},"",[200],"",!0,(ud,cd)=>{if(ud)return td(ud);const dd=getCopyObjectTransformer();pipesetup(cd,dd).on("error",_d=>td(_d)).on("data",_d=>{const Ed=cd.headers,Ad={Bucket:ed.Bucket,Key:ed.Object,LastModified:_d.LastModified,MetaData:extractMetadata(Ed),VersionId:getVersionId(Ed),SourceVersionId:getSourceVersionId(Ed),Etag:sanitizeETag(Ed.etag),Size:+Ed["content-length"]};return td(null,Ad)})})}copyObject(...qa){return qa[0]instanceof CopySourceOptions&&qa[1]instanceof CopyDestinationOptions?this.copyObjectV2(...arguments):this.copyObjectV1(...arguments)}listObjectsQuery(qa,ed,td,rd={}){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isString$1(ed))throw new TypeError('prefix should be of type "string"');if(!isString$1(td))throw new TypeError('marker should be of type "string"');let{Delimiter:sd,MaxKeys:od,IncludeVersion:ld}=rd;if(!isObject$1(rd))throw new TypeError('listQueryOpts should be of type "object"');if(!isString$1(sd))throw new TypeError('Delimiter should be of type "string"');if(!isNumber$1(od))throw new TypeError('MaxKeys should be of type "number"');const ud=[];ud.push(`prefix=${uriEscape(ed)}`),ud.push(`delimiter=${uriEscape(sd)}`),ud.push("encoding-type=url"),ld&&ud.push("versions"),td&&(td=uriEscape(td),ld?ud.push(`key-marker=${td}`):ud.push(`marker=${td}`)),od&&(od>=1e3&&(od=1e3),ud.push(`max-keys=${od}`)),ud.sort();var cd="";ud.length>0&&(cd=`${ud.join("&")}`);var dd="GET",_d=getListObjectsTransformer();return this.makeRequest({method:dd,bucketName:qa,query:cd},"",[200],"",!0,(Ed,Ad)=>{if(Ed)return _d.emit("error",Ed);pipesetup(Ad,_d)}),_d}listObjects(qa,ed,td,rd={}){if(ed===void 0&&(ed=""),td===void 0&&(td=!1),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidPrefix(ed))throw new InvalidPrefixError(`Invalid prefix : ${ed}`);if(!isString$1(ed))throw new TypeError('prefix should be of type "string"');if(!isBoolean$1(td))throw new TypeError('recursive should be of type "boolean"');if(!isObject$1(rd))throw new TypeError('listOpts should be of type "object"');var sd="";const od={Delimiter:td?"":"/",MaxKeys:1e3,IncludeVersion:rd.IncludeVersion};var ld=[],ud=!1,cd=streamBrowserify.Readable({objectMode:!0});return cd._read=()=>{if(ld.length){cd.push(ld.shift());return}if(ud)return cd.push(null);this.listObjectsQuery(qa,ed,sd,od).on("error",dd=>cd.emit("error",dd)).on("data",dd=>{dd.isTruncated?sd=dd.nextMarker||dd.versionIdMarker:ud=!0,ld=dd.objects,cd._read()})},cd}listObjectsV2Query(qa,ed,td,rd,sd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isString$1(ed))throw new TypeError('prefix should be of type "string"');if(!isString$1(td))throw new TypeError('continuationToken should be of type "string"');if(!isString$1(rd))throw new TypeError('delimiter should be of type "string"');if(!isNumber$1(sd))throw new TypeError('maxKeys should be of type "number"');if(!isString$1(od))throw new TypeError('startAfter should be of type "string"');var ld=[];ld.push("list-type=2"),ld.push("encoding-type=url"),ld.push(`prefix=${uriEscape(ed)}`),ld.push(`delimiter=${uriEscape(rd)}`),td&&(td=uriEscape(td),ld.push(`continuation-token=${td}`)),od&&(od=uriEscape(od),ld.push(`start-after=${od}`)),sd&&(sd>=1e3&&(sd=1e3),ld.push(`max-keys=${sd}`)),ld.sort();var ud="";ld.length>0&&(ud=`${ld.join("&")}`);var cd="GET",dd=getListObjectsV2Transformer();return this.makeRequest({method:cd,bucketName:qa,query:ud},"",[200],"",!0,(_d,Ed)=>{if(_d)return dd.emit("error",_d);pipesetup(Ed,dd)}),dd}listObjectsV2(qa,ed,td,rd){if(ed===void 0&&(ed=""),td===void 0&&(td=!1),rd===void 0&&(rd=""),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidPrefix(ed))throw new InvalidPrefixError(`Invalid prefix : ${ed}`);if(!isString$1(ed))throw new TypeError('prefix should be of type "string"');if(!isBoolean$1(td))throw new TypeError('recursive should be of type "boolean"');if(!isString$1(rd))throw new TypeError('startAfter should be of type "string"');var sd=td?"":"/",od="",ld=[],ud=!1,cd=streamBrowserify.Readable({objectMode:!0});return cd._read=()=>{if(ld.length){cd.push(ld.shift());return}if(ud)return cd.push(null);this.listObjectsV2Query(qa,ed,od,sd,1e3,rd).on("error",dd=>cd.emit("error",dd)).on("data",dd=>{dd.isTruncated?od=dd.nextContinuationToken:ud=!0,ld=dd.objects,cd._read()})},cd}removeObjects(qa,ed,td){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!Array.isArray(ed))throw new InvalidArgumentError("objectsList should be a list");if(!isFunction$1(td))throw new TypeError('callback should be of type "function"');const rd=1e3,sd="delete",od="POST";let ld=ed.reduce((dd,_d)=>(dd.list.push(_d),dd.list.length===rd&&(dd.listOfList.push(dd.list),dd.list=[]),dd),{listOfList:[],list:[]});ld.list.length>0&&ld.listOfList.push(ld.list);const ud=new Encoder,cd=[];index.eachSeries(ld.listOfList,(dd,_d)=>{var Ed=[];dd.forEach(function(Od){isObject$1(Od)?Ed.push({Key:Od.name,VersionId:Od.versionId}):Ed.push({Key:Od})});let Ad={Delete:{Quiet:!0,Object:Ed}},Id=new xml2js.Builder({headless:!0}).buildObject(Ad);Id=Buffer$2.from(ud.encode(Id));const Bd={};Bd["Content-MD5"]=toMd5(Id);let Rd;this.makeRequest({method:od,bucketName:qa,query:sd,headers:Bd},Id,[200],"",!0,(Od,Md)=>{if(Od)return _d(Od);pipesetup(Md,removeObjectsTransformer()).on("data",Ld=>{Rd=Ld}).on("error",Ld=>_d(Ld,null)).on("end",()=>(cd.push(Rd),_d(null,Rd)))})},()=>{td(null,_.flatten(cd))})}getBucketPolicy(qa,ed){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isFunction$1(ed))throw new TypeError('callback should be of type "function"');this.makeRequest({method:"GET",bucketName:qa,query:"policy"},"",[200],"",!0,(sd,od)=>{if(sd)return ed(sd);let ld=Buffer$2.from("");pipesetup(od,getConcater()).on("data",ud=>ld=ud).on("error",ed).on("end",()=>{ed(null,ld.toString())})})}setBucketPolicy(qa,ed,td){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isString$1(ed))throw new InvalidBucketPolicyError(`Invalid bucket policy: ${ed} - must be "string"`);if(!isFunction$1(td))throw new TypeError('callback should be of type "function"');let rd="DELETE",sd="policy";ed&&(rd="PUT"),this.makeRequest({method:rd,bucketName:qa,query:sd},ed,[204],"",!1,td)}presignedUrl(qa,ed,td,rd,sd,od,ld){if(this.anonymous)throw new AnonymousRequestError("Presigned "+qa+" url cannot be generated for anonymous requests");if(isFunction$1(od)&&(ld=od,od=new Date),isFunction$1(sd)&&(ld=sd,sd={},od=new Date),isFunction$1(rd)&&(ld=rd,sd={},rd=24*60*60*7,od=new Date),!isNumber$1(rd))throw new TypeError('expires should be of type "number"');if(!isObject$1(sd))throw new TypeError('reqParams should be of type "object"');if(!isValidDate(od))throw new TypeError('requestDate should be of type "Date" and valid');if(!isFunction$1(ld))throw new TypeError('callback should be of type "function"');var ud=queryString.stringify(sd);this.getBucketRegion(ed,(cd,dd)=>{if(cd)return ld(cd);var _d,Ed=this.getRequestOptions({method:qa,region:dd,bucketName:ed,objectName:td,query:ud});this.checkAndRefreshCreds();try{_d=presignSignatureV4(Ed,this.accessKey,this.secretKey,this.sessionToken,dd,od,rd)}catch(Ad){return ld(Ad)}ld(null,_d)})}presignedGetObject(qa,ed,td,rd,sd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(ed))throw new InvalidObjectNameError(`Invalid object name: ${ed}`);isFunction$1(rd)&&(od=rd,rd={},sd=new Date);var ld=["response-content-type","response-content-language","response-expires","response-cache-control","response-content-disposition","response-content-encoding"];return ld.forEach(ud=>{if(rd!==void 0&&rd[ud]!==void 0&&!isString$1(rd[ud]))throw new TypeError(`response header ${ud} should be of type "string"`)}),this.presignedUrl("GET",qa,ed,td,rd,sd,od)}presignedPutObject(qa,ed,td,rd){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isValidObjectName(ed))throw new InvalidObjectNameError(`Invalid object name: ${ed}`);return this.presignedUrl("PUT",qa,ed,td,rd)}newPostPolicy(){return new PostPolicy}presignedPostPolicy(qa,ed){if(this.anonymous)throw new AnonymousRequestError("Presigned POST policy cannot be generated for anonymous requests");if(!isObject$1(qa))throw new TypeError('postPolicy should be of type "object"');if(!isFunction$1(ed))throw new TypeError('cb should be of type "function"');this.getBucketRegion(qa.formData.bucket,(td,rd)=>{if(td)return ed(td);var sd=new Date,od=makeDateLong(sd);if(this.checkAndRefreshCreds(),!qa.policy.expiration){var ld=new Date;ld.setSeconds(24*60*60*7),qa.setExpires(ld)}qa.policy.conditions.push(["eq","$x-amz-date",od]),qa.formData["x-amz-date"]=od,qa.policy.conditions.push(["eq","$x-amz-algorithm","AWS4-HMAC-SHA256"]),qa.formData["x-amz-algorithm"]="AWS4-HMAC-SHA256",qa.policy.conditions.push(["eq","$x-amz-credential",this.accessKey+"/"+getScope(rd,sd)]),qa.formData["x-amz-credential"]=this.accessKey+"/"+getScope(rd,sd),this.sessionToken&&(qa.policy.conditions.push(["eq","$x-amz-security-token",this.sessionToken]),qa.formData["x-amz-security-token"]=this.sessionToken);var ud=Buffer$2.from(JSON.stringify(qa.policy)).toString("base64");qa.formData.policy=ud;var cd=postPresignSignatureV4(rd,sd,this.secretKey,ud);qa.formData["x-amz-signature"]=cd;var dd={};dd.region=rd,dd.bucketName=qa.formData.bucket;var _d=this.getRequestOptions(dd),Ed=this.port==80||this.port===443?"":`:${this.port.toString()}`,Ad=`${_d.protocol}//${_d.host}${Ed}${_d.path}`;ed(null,{postURL:Ad,formData:qa.formData})})}completeMultipartUpload(qa,ed,td,rd,sd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(ed))throw new InvalidObjectNameError(`Invalid object name: ${ed}`);if(!isString$1(td))throw new TypeError('uploadId should be of type "string"');if(!isObject$1(rd))throw new TypeError('etags should be of type "Array"');if(!isFunction$1(sd))throw new TypeError('cb should be of type "function"');if(!td)throw new InvalidArgumentError("uploadId cannot be empty");var od="POST",ld=`uploadId=${uriEscape(td)}`,ud=[];rd.forEach(_d=>{ud.push({Part:[{PartNumber:_d.part},{ETag:_d.etag}]})});var cd={CompleteMultipartUpload:ud},dd=Xml(cd);this.makeRequest({method:od,bucketName:qa,objectName:ed,query:ld},dd,[200],"",!0,(_d,Ed)=>{if(_d)return sd(_d);var Ad=getCompleteMultipartTransformer();pipesetup(Ed,Ad).on("error",Td=>sd(Td)).on("data",Td=>{if(Td.errCode)sd(new S3Error(Td.errMessage));else{const Id={etag:Td.etag,versionId:getVersionId(Ed.headers)};sd(null,Id)}})})}listIncompleteUploadsQuery(qa,ed,td,rd,sd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isString$1(ed))throw new TypeError('prefix should be of type "string"');if(!isString$1(td))throw new TypeError('keyMarker should be of type "string"');if(!isString$1(rd))throw new TypeError('uploadIdMarker should be of type "string"');if(!isString$1(sd))throw new TypeError('delimiter should be of type "string"');var od=[];od.push(`prefix=${uriEscape(ed)}`),od.push(`delimiter=${uriEscape(sd)}`),td&&(td=uriEscape(td),od.push(`key-marker=${td}`)),rd&&od.push(`upload-id-marker=${rd}`);var ld=1e3;od.push(`max-uploads=${ld}`),od.sort(),od.unshift("uploads");var ud="";od.length>0&&(ud=`${od.join("&")}`);var cd="GET",dd=getListMultipartTransformer();return this.makeRequest({method:cd,bucketName:qa,query:ud},"",[200],"",!0,(_d,Ed)=>{if(_d)return dd.emit("error",_d);pipesetup(Ed,dd)}),dd}findUploadId(qa,ed,td){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(ed))throw new InvalidObjectNameError(`Invalid object name: ${ed}`);if(!isFunction$1(td))throw new TypeError('cb should be of type "function"');var rd,sd=(od,ld)=>{this.listIncompleteUploadsQuery(qa,ed,od,ld,"").on("error",ud=>td(ud)).on("data",ud=>{if(ud.uploads.forEach(cd=>{if(cd.key===ed&&(!rd||cd.initiated.getTime()>rd.initiated.getTime())){rd=cd;return}}),ud.isTruncated){sd(ud.nextKeyMarker,ud.nextUploadIdMarker);return}if(rd)return td(null,rd.uploadId);td(null,void 0)})};sd("","")}setBucketNotification(qa,ed,td){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isObject$1(ed))throw new TypeError('notification config should be of type "Object"');if(!isFunction$1(td))throw new TypeError('callback should be of type "function"');var rd="PUT",sd="notification",od=new xml2js.Builder({rootName:"NotificationConfiguration",renderOpts:{pretty:!1},headless:!0}),ld=od.buildObject(ed);this.makeRequest({method:rd,bucketName:qa,query:sd},ld,[200],"",!1,td)}removeAllBucketNotification(qa,ed){this.setBucketNotification(qa,new NotificationConfig,ed)}getBucketNotification(qa,ed){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction$1(ed))throw new TypeError('callback should be of type "function"');var td="GET",rd="notification";this.makeRequest({method:td,bucketName:qa,query:rd},"",[200],"",!0,(sd,od)=>{if(sd)return ed(sd);var ld=getBucketNotificationTransformer(),ud;pipesetup(od,ld).on("data",cd=>ud=cd).on("error",cd=>ed(cd)).on("end",()=>ed(null,ud))})}listenBucketNotification(qa,ed,td,rd){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isString$1(ed))throw new TypeError("prefix must be of type string");if(!isString$1(td))throw new TypeError("suffix must be of type string");if(!Array.isArray(rd))throw new TypeError("events must be of type Array");let sd=new NotificationPoller(this,qa,ed,td,rd);return sd.start(),sd}getBucketVersioning(qa,ed){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction$1(ed))throw new InvalidArgumentError('callback should be of type "function"');var td="GET",rd="versioning";this.makeRequest({method:td,bucketName:qa,query:rd},"",[200],"",!0,(sd,od)=>{if(sd)return ed(sd);let ld=Buffer$2.from("");pipesetup(od,bucketVersioningTransformer()).on("data",ud=>{ld=ud}).on("error",ed).on("end",()=>{ed(null,ld)})})}setBucketVersioning(qa,ed,td){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!Object.keys(ed).length)throw new InvalidArgumentError('versionConfig should be of type "object"');if(!isFunction$1(td))throw new TypeError('callback should be of type "function"');var rd="PUT",sd="versioning",od=new xml2js.Builder({rootName:"VersioningConfiguration",renderOpts:{pretty:!1},headless:!0}),ld=od.buildObject(ed);this.makeRequest({method:rd,bucketName:qa,query:sd},ld,[200],"",!1,td)}setTagging(qa){const{bucketName:ed,objectName:td,tags:rd,putOpts:sd={},cb:od}=qa,ld="PUT";let ud="tagging";sd&&sd.versionId&&(ud=`${ud}&versionId=${sd.versionId}`);const cd=[];for(const[Bd,Rd]of Object.entries(rd))cd.push({Key:Bd,Value:Rd});const dd={Tagging:{TagSet:{Tag:cd}}},_d=new Encoder,Ed={};let Td=new xml2js.Builder({headless:!0,renderOpts:{pretty:!1}}).buildObject(dd);Td=Buffer$2.from(_d.encode(Td)),Ed["Content-MD5"]=toMd5(Td);const Id={method:ld,bucketName:ed,query:ud,headers:Ed};td&&(Id.objectName=td),Ed["Content-MD5"]=toMd5(Td),this.makeRequest(Id,Td,[200],"",!1,od)}setBucketTagging(qa,ed,td){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isObject$1(ed))throw new InvalidArgumentError('tags should be of type "object"');if(Object.keys(ed).length>10)throw new InvalidArgumentError('maximum tags allowed is 10"');if(!isFunction$1(td))throw new InvalidArgumentError('callback should be of type "function"');return this.setTagging({bucketName:qa,tags:ed,cb:td})}setObjectTagging(qa,ed,td,rd={},sd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(ed))throw new InvalidBucketNameError("Invalid object name: "+ed);if(isFunction$1(rd)&&(sd=rd,rd={}),!isObject$1(td))throw new InvalidArgumentError('tags should be of type "object"');if(Object.keys(td).length>10)throw new InvalidArgumentError('Maximum tags allowed is 10"');if(!isFunction$1(sd))throw new TypeError('callback should be of type "function"');return this.setTagging({bucketName:qa,objectName:ed,tags:td,putOpts:rd,cb:sd})}removeTagging({bucketName:qa,objectName:ed,removeOpts:td,cb:rd}){const sd="DELETE";let od="tagging";td&&Object.keys(td).length&&td.versionId&&(od=`${od}&versionId=${td.versionId}`);const ld={method:sd,bucketName:qa,objectName:ed,query:od};ed&&(ld.objectName=ed),this.makeRequest(ld,"",[200,204],"",!0,rd)}removeBucketTagging(qa,ed){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction$1(ed))throw new TypeError('callback should be of type "function"');return this.removeTagging({bucketName:qa,cb:ed})}removeObjectTagging(qa,ed,td,rd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(ed))throw new InvalidBucketNameError("Invalid object name: "+ed);if(isFunction$1(td)&&(rd=td,td={}),td&&Object.keys(td).length&&!isObject$1(td))throw new InvalidArgumentError('removeOpts should be of type "object"');if(!isFunction$1(rd))throw new TypeError('callback should be of type "function"');return this.removeTagging({bucketName:qa,objectName:ed,removeOpts:td,cb:rd})}getBucketTagging(qa,ed){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);const sd={method:"GET",bucketName:qa,query:"tagging"};this.makeRequest(sd,"",[200],"",!0,(od,ld)=>{var ud=getTagsTransformer();if(od)return ed(od);let cd;pipesetup(ld,ud).on("data",dd=>cd=dd).on("error",dd=>ed(dd)).on("end",()=>ed(null,cd))})}getObjectTagging(qa,ed,td={},rd=()=>!1){const sd="GET";let od="tagging";if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(ed))throw new InvalidBucketNameError("Invalid object name: "+ed);if(isFunction$1(td)&&(rd=td,td={}),!isObject$1(td))throw new InvalidArgumentError('getOpts should be of type "object"');if(!isFunction$1(rd))throw new TypeError('callback should be of type "function"');td&&td.versionId&&(od=`${od}&versionId=${td.versionId}`);const ld={method:sd,bucketName:qa,query:od};ed&&(ld.objectName=ed),this.makeRequest(ld,"",[200],"",!0,(ud,cd)=>{const dd=getTagsTransformer();if(ud)return rd(ud);let _d;pipesetup(cd,dd).on("data",Ed=>_d=Ed).on("error",Ed=>rd(Ed)).on("end",()=>rd(null,_d))})}applyBucketLifecycle(qa,ed,td){const rd="PUT",sd="lifecycle",od=new Encoder,ld={};let cd=new xml2js.Builder({rootName:"LifecycleConfiguration",headless:!0,renderOpts:{pretty:!1}}).buildObject(ed);cd=Buffer$2.from(od.encode(cd));const dd={method:rd,bucketName:qa,query:sd,headers:ld};ld["Content-MD5"]=toMd5(cd),this.makeRequest(dd,cd,[200],"",!1,td)}removeBucketLifecycle(qa,ed){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);this.makeRequest({method:"DELETE",bucketName:qa,query:"lifecycle"},"",[204],"",!1,ed)}setBucketLifecycle(qa,ed=null,td){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);_.isEmpty(ed)?this.removeBucketLifecycle(qa,td):this.applyBucketLifecycle(qa,ed,td)}getBucketLifecycle(qa,ed){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);const sd={method:"GET",bucketName:qa,query:"lifecycle"};this.makeRequest(sd,"",[200],"",!0,(od,ld)=>{const ud=lifecycleTransformer();if(od)return ed(od);let cd;pipesetup(ld,ud).on("data",dd=>cd=dd).on("error",dd=>ed(dd)).on("end",()=>ed(null,cd))})}setObjectLockConfig(qa,ed={},td){const rd=[RETENTION_MODES.COMPLIANCE,RETENTION_MODES.GOVERNANCE],sd=[RETENTION_VALIDITY_UNITS.DAYS,RETENTION_VALIDITY_UNITS.YEARS];if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(ed.mode&&!rd.includes(ed.mode))throw new TypeError(`lockConfigOpts.mode should be one of ${rd}`);if(ed.unit&&!sd.includes(ed.unit))throw new TypeError(`lockConfigOpts.unit should be one of ${sd}`);if(ed.validity&&!isNumber$1(ed.validity))throw new TypeError("lockConfigOpts.validity should be a number");const od="PUT",ld="object-lock";let ud={ObjectLockEnabled:"Enabled"};const cd=Object.keys(ed);if(cd.length>0){if(_.difference(cd,["unit","mode","validity"]).length!==0)throw new TypeError("lockConfigOpts.mode,lockConfigOpts.unit,lockConfigOpts.validity all the properties should be specified.");ud.Rule={DefaultRetention:{}},ed.mode&&(ud.Rule.DefaultRetention.Mode=ed.mode),ed.unit===RETENTION_VALIDITY_UNITS.DAYS?ud.Rule.DefaultRetention.Days=ed.validity:ed.unit===RETENTION_VALIDITY_UNITS.YEARS&&(ud.Rule.DefaultRetention.Years=ed.validity)}const _d=new xml2js.Builder({rootName:"ObjectLockConfiguration",renderOpts:{pretty:!1},headless:!0}).buildObject(ud),Ed={};Ed["Content-MD5"]=toMd5(_d),this.makeRequest({method:od,bucketName:qa,query:ld,headers:Ed},_d,[200],"",!1,td)}getObjectLockConfig(qa,ed){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction$1(ed))throw new InvalidArgumentError('callback should be of type "function"');this.makeRequest({method:"GET",bucketName:qa,query:"object-lock"},"",[200],"",!0,(sd,od)=>{if(sd)return ed(sd);let ld=Buffer$2.from("");pipesetup(od,objectLockTransformer()).on("data",ud=>{ld=ud}).on("error",ed).on("end",()=>{ed(null,ld)})})}putObjectRetention(qa,ed,td={},rd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(ed))throw new InvalidObjectNameError(`Invalid object name: ${ed}`);if(isObject$1(td)){if(td.governanceBypass&&!isBoolean$1(td.governanceBypass))throw new InvalidArgumentError("Invalid value for governanceBypass",td.governanceBypass);if(td.mode&&![RETENTION_MODES.COMPLIANCE,RETENTION_MODES.GOVERNANCE].includes(td.mode))throw new InvalidArgumentError("Invalid object retention mode ",td.mode);if(td.retainUntilDate&&!isString$1(td.retainUntilDate))throw new InvalidArgumentError("Invalid value for retainUntilDate",td.retainUntilDate);if(td.versionId&&!isString$1(td.versionId))throw new InvalidArgumentError("Invalid value for versionId",td.versionId)}else throw new InvalidArgumentError('retentionOpts should be of type "object"');if(!isFunction$1(rd))throw new TypeError('callback should be of type "function"');const sd="PUT";let od="retention";const ld={};td.governanceBypass&&(ld["X-Amz-Bypass-Governance-Retention"]=!0);const ud=new xml2js.Builder({rootName:"Retention",renderOpts:{pretty:!1},headless:!0}),cd={};td.mode&&(cd.Mode=td.mode),td.retainUntilDate&&(cd.RetainUntilDate=td.retainUntilDate),td.versionId&&(od+=`&versionId=${td.versionId}`);let dd=ud.buildObject(cd);ld["Content-MD5"]=toMd5(dd),this.makeRequest({method:sd,bucketName:qa,objectName:ed,query:od,headers:ld},dd,[200,204],"",!1,rd)}getObjectRetention(qa,ed,td,rd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(ed))throw new InvalidObjectNameError(`Invalid object name: ${ed}`);if(isObject$1(td)){if(td.versionId&&!isString$1(td.versionId))throw new InvalidArgumentError('VersionID should be of type "string"')}else throw new InvalidArgumentError('callback should be of type "object"');if(rd&&!isFunction$1(rd))throw new InvalidArgumentError('callback should be of type "function"');const sd="GET";let od="retention";td.versionId&&(od+=`&versionId=${td.versionId}`),this.makeRequest({method:sd,bucketName:qa,objectName:ed,query:od},"",[200],"",!0,(ld,ud)=>{if(ld)return rd(ld);let cd=Buffer$2.from("");pipesetup(ud,objectRetentionTransformer()).on("data",dd=>{cd=dd}).on("error",rd).on("end",()=>{rd(null,cd)})})}setBucketEncryption(qa,ed,td){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(isFunction$1(ed)&&(td=ed,ed=null),!_.isEmpty(ed)&&ed.Rule.length>1)throw new InvalidArgumentError("Invalid Rule length. Only one rule is allowed.: "+ed.Rule);if(td&&!isFunction$1(td))throw new TypeError('callback should be of type "function"');let rd=ed;_.isEmpty(ed)&&(rd={Rule:[{ApplyServerSideEncryptionByDefault:{SSEAlgorithm:"AES256"}}]});let sd="PUT",od="encryption",ud=new xml2js.Builder({rootName:"ServerSideEncryptionConfiguration",renderOpts:{pretty:!1},headless:!0}).buildObject(rd);const cd={};cd["Content-MD5"]=toMd5(ud),this.makeRequest({method:sd,bucketName:qa,query:od,headers:cd},ud,[200],"",!1,td)}getBucketEncryption(qa,ed){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction$1(ed))throw new InvalidArgumentError('callback should be of type "function"');this.makeRequest({method:"GET",bucketName:qa,query:"encryption"},"",[200],"",!0,(sd,od)=>{if(sd)return ed(sd);let ld=Buffer$2.from("");pipesetup(od,bucketEncryptionTransformer()).on("data",ud=>{ld=ud}).on("error",ed).on("end",()=>{ed(null,ld)})})}removeBucketEncryption(qa,ed){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction$1(ed))throw new InvalidArgumentError('callback should be of type "function"');this.makeRequest({method:"DELETE",bucketName:qa,query:"encryption"},"",[204],"",!1,ed)}getObjectLegalHold(qa,ed,td={},rd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(ed))throw new InvalidObjectNameError(`Invalid object name: ${ed}`);if(isFunction$1(td)&&(rd=td,td={}),isObject$1(td)){if(Object.keys(td).length>0&&td.versionId&&!isString$1(td.versionId))throw new TypeError("versionId should be of type string.:",td.versionId)}else throw new TypeError('getOpts should be of type "Object"');if(!isFunction$1(rd))throw new InvalidArgumentError('callback should be of type "function"');const sd="GET";let od="legal-hold";td.versionId&&(od+=`&versionId=${td.versionId}`),this.makeRequest({method:sd,bucketName:qa,objectName:ed,query:od},"",[200],"",!0,(ld,ud)=>{if(ld)return rd(ld);let cd=Buffer$2.from("");pipesetup(ud,objectLegalHoldTransformer()).on("data",dd=>{cd=dd}).on("error",rd).on("end",()=>{rd(null,cd)})})}setObjectLegalHold(qa,ed,td={},rd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(ed))throw new InvalidObjectNameError(`Invalid object name: ${ed}`);const sd={status:LEGAL_HOLD_STATUS.ENABLED};if(isFunction$1(td)&&(rd=td,td=sd),isObject$1(td)){if(![LEGAL_HOLD_STATUS.ENABLED,LEGAL_HOLD_STATUS.DISABLED].includes(td.status))throw new TypeError("Invalid status: "+td.status);if(td.versionId&&!td.versionId.length)throw new TypeError("versionId should be of type string.:"+td.versionId)}else throw new TypeError('setOpts should be of type "Object"');if(!isFunction$1(rd))throw new InvalidArgumentError('callback should be of type "function"');_.isEmpty(td)&&(td={defaultOpts:sd});const od="PUT";let ld="legal-hold";td.versionId&&(ld+=`&versionId=${td.versionId}`);let ud={Status:td.status};const dd=new xml2js.Builder({rootName:"LegalHold",renderOpts:{pretty:!1},headless:!0}).buildObject(ud),_d={};_d["Content-MD5"]=toMd5(dd),this.makeRequest({method:od,bucketName:qa,objectName:ed,query:ld,headers:_d},dd,[200],"",!1,rd)}uploadPartCopy(qa,ed){const{bucketName:td,objectName:rd,uploadID:sd,partNumber:od,headers:ld}=qa,ud="PUT";let cd=`uploadId=${sd}&partNumber=${od}`;const dd={method:ud,bucketName:td,objectName:rd,query:cd,headers:ld};return this.makeRequest(dd,"",[200],"",!0,(_d,Ed)=>{let Ad=Buffer$2.from("");if(_d)return ed(_d);pipesetup(Ed,uploadPartTransformer()).on("data",Td=>{Ad=Td}).on("error",ed).on("end",()=>{let Td={etag:sanitizeETag(Ad.ETag),key:rd,part:od};ed(null,Td)})})}composeObject(qa={},ed=[],td){const rd=this,sd=ed.length;if(!Array.isArray(ed))throw new InvalidArgumentError("sourceConfig should an array of CopySourceOptions ");if(!(qa instanceof CopyDestinationOptions))throw new InvalidArgumentError("destConfig should of type CopyDestinationOptions ");if(sd<1||sd>PART_CONSTRAINTS.MAX_PARTS_COUNT)throw new InvalidArgumentError(`"There must be as least one and up to ${PART_CONSTRAINTS.MAX_PARTS_COUNT} source objects.`);if(!isFunction$1(td))throw new TypeError('callback should be of type "function"');for(let _d=0;_d{let Ed={};return _.isEmpty(_d.VersionID)||(Ed={versionId:_d.VersionID}),Ed},ld=[];let ud=0,cd=0;const dd=ed.map(_d=>rd.statObject(_d.Bucket,_d.Object,od(_d)));return Promise.all(dd).then(_d=>{const Ed=_d.map((Rd,Od)=>{const Md=ed[Od];let Ld=Rd.size;if(Md.MatchRange){const Fd=Md.Start,jd=Md.End;if(jd>=Ld||Fd<0)throw new InvalidArgumentError(`CopySrcOptions ${Od} has invalid segment-to-copy [${Fd}, ${jd}] (size is ${Ld})`);Ld=jd-Fd+1}if(LdPART_CONSTRAINTS.MAX_MULTIPART_PUT_OBJECT_SIZE)throw new InvalidArgumentError(`Cannot compose an object of size ${ud} (> 5TiB)`);if(ld[Od]=Ld,cd+=partsRequired(Ld),cd>PART_CONSTRAINTS.MAX_PARTS_COUNT)throw new InvalidArgumentError(`Your proposed compose object requires more than ${PART_CONSTRAINTS.MAX_PARTS_COUNT} parts`);return Rd});if(cd===1&&ud<=PART_CONSTRAINTS.MAX_PART_SIZE||ud===0)return this.copyObject(ed[0],qa,td);for(let Rd=0;RdcalculateEvenSplits(ld[Od],ed[Od]));function Td(Rd){const Od=[];return Ad.forEach((Md,Ld)=>{const{startIndex:Fd,endIndex:jd,objInfo:Vd}=Md;let Qd=Ld+1;const qd=Array.from(Fd),Kd=ed[Ld].getHeaders();qd.forEach((Xd,df)=>{let mf=jd[df];const bf=`${Vd.Bucket}/${Vd.Object}`;Kd["x-amz-copy-source"]=`${bf}`,Kd["x-amz-copy-source-range"]=`bytes=${Xd}-${mf}`;const pf={bucketName:qa.Bucket,objectName:qa.Object,uploadID:Rd,partNumber:Qd,headers:Kd,sourceObj:bf};Od.push(pf)})}),Od}const Id=Rd=>{const Od=Td(Rd);index.map(Od,rd.uploadPartCopy.bind(rd),(Md,Ld)=>{if(Md){this.abortMultipartUpload(qa.Bucket,qa.Object,Rd).then(()=>td(),jd=>td(jd));return}const Fd=Ld.map(jd=>({etag:jd.etag,part:jd.part}));return rd.completeMultipartUpload(qa.Bucket,qa.Object,Rd,Fd,td)})},Bd=qa.getHeaders();rd.initiateNewMultipartUpload(qa.Bucket,qa.Object,Bd).then(Rd=>{Id(Rd)},Rd=>{td(Rd,null)})}).catch(_d=>{td(_d,null)})}selectObjectContent(qa,ed,td={},rd){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isValidObjectName(ed))throw new InvalidObjectNameError(`Invalid object name: ${ed}`);if(_.isEmpty(td))throw new TypeError("valid select configuration is required");if(!isString$1(td.expression))throw new TypeError('sqlExpression should be of type "string"');if(_.isEmpty(td.inputSerialization))throw new TypeError("inputSerialization is required");if(!isObject$1(td.inputSerialization))throw new TypeError('inputSerialization should be of type "object"');if(_.isEmpty(td.outputSerialization))throw new TypeError("outputSerialization is required");if(!isObject$1(td.outputSerialization))throw new TypeError('outputSerialization should be of type "object"');if(!isFunction$1(rd))throw new TypeError('callback should be of type "function"');const sd="POST";let od="select";od+="&select-type=2";const ld=[{Expression:td.expression},{ExpressionType:td.expressionType||"SQL"},{InputSerialization:[td.inputSerialization]},{OutputSerialization:[td.outputSerialization]}];td.requestProgress&&ld.push({RequestProgress:td.requestProgress}),td.scanRange&&ld.push({ScanRange:td.scanRange});const cd=new xml2js.Builder({rootName:"SelectObjectContentRequest",renderOpts:{pretty:!1},headless:!0}).buildObject(ld);this.makeRequest({method:sd,bucketName:qa,objectName:ed,query:od},cd,[200],"",!0,(dd,_d)=>{if(dd)return rd(dd);let Ed;pipesetup(_d,selectObjectContentTransformer()).on("data",Ad=>{Ed=parseSelectObjectContentResponse(Ad)}).on("error",rd).on("end",()=>{rd(null,Ed)})})}}Client.prototype.makeBucket=promisify(Client.prototype.makeBucket);Client.prototype.bucketExists=promisify(Client.prototype.bucketExists);Client.prototype.getObject=promisify(Client.prototype.getObject);Client.prototype.getPartialObject=promisify(Client.prototype.getPartialObject);Client.prototype.fGetObject=promisify(Client.prototype.fGetObject);Client.prototype.putObject=promisify(Client.prototype.putObject);Client.prototype.fPutObject=promisify(Client.prototype.fPutObject);Client.prototype.copyObject=promisify(Client.prototype.copyObject);Client.prototype.removeObjects=promisify(Client.prototype.removeObjects);Client.prototype.presignedUrl=promisify(Client.prototype.presignedUrl);Client.prototype.presignedGetObject=promisify(Client.prototype.presignedGetObject);Client.prototype.presignedPutObject=promisify(Client.prototype.presignedPutObject);Client.prototype.presignedPostPolicy=promisify(Client.prototype.presignedPostPolicy);Client.prototype.getBucketNotification=promisify(Client.prototype.getBucketNotification);Client.prototype.setBucketNotification=promisify(Client.prototype.setBucketNotification);Client.prototype.removeAllBucketNotification=promisify(Client.prototype.removeAllBucketNotification);Client.prototype.getBucketPolicy=promisify(Client.prototype.getBucketPolicy);Client.prototype.setBucketPolicy=promisify(Client.prototype.setBucketPolicy);Client.prototype.removeIncompleteUpload=promisify(Client.prototype.removeIncompleteUpload);Client.prototype.getBucketVersioning=promisify(Client.prototype.getBucketVersioning);Client.prototype.setBucketVersioning=promisify(Client.prototype.setBucketVersioning);Client.prototype.setBucketTagging=promisify(Client.prototype.setBucketTagging);Client.prototype.removeBucketTagging=promisify(Client.prototype.removeBucketTagging);Client.prototype.getBucketTagging=promisify(Client.prototype.getBucketTagging);Client.prototype.setObjectTagging=promisify(Client.prototype.setObjectTagging);Client.prototype.removeObjectTagging=promisify(Client.prototype.removeObjectTagging);Client.prototype.getObjectTagging=promisify(Client.prototype.getObjectTagging);Client.prototype.setBucketLifecycle=promisify(Client.prototype.setBucketLifecycle);Client.prototype.getBucketLifecycle=promisify(Client.prototype.getBucketLifecycle);Client.prototype.removeBucketLifecycle=promisify(Client.prototype.removeBucketLifecycle);Client.prototype.setObjectLockConfig=promisify(Client.prototype.setObjectLockConfig);Client.prototype.getObjectLockConfig=promisify(Client.prototype.getObjectLockConfig);Client.prototype.putObjectRetention=promisify(Client.prototype.putObjectRetention);Client.prototype.getObjectRetention=promisify(Client.prototype.getObjectRetention);Client.prototype.setBucketEncryption=promisify(Client.prototype.setBucketEncryption);Client.prototype.getBucketEncryption=promisify(Client.prototype.getBucketEncryption);Client.prototype.removeBucketEncryption=promisify(Client.prototype.removeBucketEncryption);Client.prototype.setObjectLegalHold=promisify(Client.prototype.setObjectLegalHold);Client.prototype.getObjectLegalHold=promisify(Client.prototype.getObjectLegalHold);Client.prototype.composeObject=promisify(Client.prototype.composeObject);Client.prototype.selectObjectContent=promisify(Client.prototype.selectObjectContent);Client.prototype.removeObject=callbackify(Client.prototype.removeObject);Client.prototype.statObject=callbackify(Client.prototype.statObject);Client.prototype.removeBucket=callbackify(Client.prototype.removeBucket);Client.prototype.listBuckets=callbackify(Client.prototype.listBuckets);Client.prototype.removeBucketReplication=callbackify(Client.prototype.removeBucketReplication);Client.prototype.setBucketReplication=callbackify(Client.prototype.setBucketReplication);Client.prototype.getBucketReplication=callbackify(Client.prototype.getBucketReplication);var __extends$3=function(){var Ra=function(qa,ed){return Ra=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(td,rd){td.__proto__=rd}||function(td,rd){for(var sd in rd)rd.hasOwnProperty(sd)&&(td[sd]=rd[sd])},Ra(qa,ed)};return function(qa,ed){Ra(qa,ed);function td(){this.constructor=qa}qa.prototype=ed===null?Object.create(ed):(td.prototype=ed.prototype,new td)}}(),QiniuErrorName;(function(Ra){Ra.InvalidFile="InvalidFile",Ra.InvalidToken="InvalidToken",Ra.InvalidMetadata="InvalidMetadata",Ra.InvalidChunkSize="InvalidChunkSize",Ra.InvalidCustomVars="InvalidCustomVars",Ra.NotAvailableUploadHost="NotAvailableUploadHost",Ra.ReadCacheFailed="ReadCacheFailed",Ra.InvalidCacheData="InvalidCacheData",Ra.WriteCacheFailed="WriteCacheFailed",Ra.RemoveCacheFailed="RemoveCacheFailed",Ra.GetCanvasContextFailed="GetCanvasContextFailed",Ra.UnsupportedFileType="UnsupportedFileType",Ra.FileReaderReadFailed="FileReaderReadFailed",Ra.NotAvailableXMLHttpRequest="NotAvailableXMLHttpRequest",Ra.InvalidProgressEventTarget="InvalidProgressEventTarget",Ra.RequestError="RequestError"})(QiniuErrorName||(QiniuErrorName={}));var QiniuError=function(){function Ra(qa,ed){this.name=qa,this.message=ed,this.stack=new Error().stack}return Ra}(),QiniuRequestError=function(Ra){__extends$3(qa,Ra);function qa(ed,td,rd,sd){var od=Ra.call(this,QiniuErrorName.RequestError,rd)||this;return od.code=ed,od.reqId=td,od.isRequestError=!0,od.data=sd,od}return qa}(QiniuError),QiniuNetworkError=function(Ra){__extends$3(qa,Ra);function qa(ed,td){return td===void 0&&(td=""),Ra.call(this,0,td,ed)||this}return qa}(QiniuRequestError),Pool=function(){function Ra(qa,ed){this.runTask=qa,this.limit=ed,this.aborted=!1,this.queue=[],this.processing=[]}return Ra.prototype.enqueue=function(qa){var ed=this;return new Promise(function(td,rd){ed.queue.push({task:qa,resolve:td,reject:rd}),ed.check()})},Ra.prototype.run=function(qa){var ed=this;this.queue=this.queue.filter(function(td){return td!==qa}),this.processing.push(qa),this.runTask(qa.task).then(function(){ed.processing=ed.processing.filter(function(td){return td!==qa}),qa.resolve(),ed.check()},function(td){return qa.reject(td)})},Ra.prototype.check=function(){var qa=this;if(!this.aborted){var ed=this.processing.length,td=this.limit-ed;this.queue.slice(0,td).forEach(function(rd){qa.run(rd)})}},Ra.prototype.abort=function(){this.queue=[],this.aborted=!0},Ra}(),__extends$2=function(){var Ra=function(qa,ed){return Ra=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(td,rd){td.__proto__=rd}||function(td,rd){for(var sd in rd)rd.hasOwnProperty(sd)&&(td[sd]=rd[sd])},Ra(qa,ed)};return function(qa,ed){Ra(qa,ed);function td(){this.constructor=qa}qa.prototype=ed===null?Object.create(ed):(td.prototype=ed.prototype,new td)}}(),__assign$6=function(){return __assign$6=Object.assign||function(Ra){for(var qa,ed=1,td=arguments.length;ed"u")return"";var qa=Ra+"",ed="",td,rd,sd=0;td=rd=0,sd=qa.length;for(var od=0;od127&&ld<2048)ud=String.fromCharCode(ld>>6|192,ld&63|128);else if((ld&63488^55296)>0)ud=String.fromCharCode(ld>>12|224,ld>>6&63|128,ld&63|128);else{if((ld&64512^55296)>0)throw new RangeError("Unmatched trail surrogate at "+od);var cd=qa.charCodeAt(++od);if((cd&64512^56320)>0)throw new RangeError("Unmatched lead surrogate at "+(od-1));ld=((ld&1023)<<10)+(cd&1023)+65536,ud=String.fromCharCode(ld>>18|240,ld>>12&63|128,ld>>6&63|128,ld&63|128)}ud!==null&&(rd>td&&(ed+=qa.slice(td,rd)),ed+=ud,td=rd=od+1)}return rd>td&&(ed+=qa.slice(td,sd)),ed}function utf8Decode(Ra){var qa=[],ed=0,td=0,rd=0;for(Ra+="";ed>10&1023)),qa.push(String.fromCharCode(56320|td&1023))):qa.push(String.fromCharCode(td)),ed+=rd}return qa.join("")}function base64Encode(Ra){var qa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",ed,td,rd,sd,od,ld,ud,cd,dd=0,_d=0,Ed="",Ad=[];if(!Ra)return Ra;Ra=utf8Encode(Ra+"");do ed=Ra.charCodeAt(dd++),td=Ra.charCodeAt(dd++),rd=Ra.charCodeAt(dd++),cd=ed<<16|td<<8|rd,sd=cd>>18&63,od=cd>>12&63,ld=cd>>6&63,ud=cd&63,Ad[_d++]=qa.charAt(sd)+qa.charAt(od)+qa.charAt(ld)+qa.charAt(ud);while(dd>16&255,td=cd>>8&255,rd=cd&255,ld===64?Ad[_d++]=String.fromCharCode(ed):ud===64?Ad[_d++]=String.fromCharCode(ed,td):Ad[_d++]=String.fromCharCode(ed,td,rd);while(dd>>25)+Ld|0,jd+=(Md&Ld|~Md&Fd)+Od[1]-389564586|0,jd=(jd<<12|jd>>>20)+Md|0,Fd+=(jd&Md|~jd&Ld)+Od[2]+606105819|0,Fd=(Fd<<17|Fd>>>15)+jd|0,Ld+=(Fd&jd|~Fd&Md)+Od[3]-1044525330|0,Ld=(Ld<<22|Ld>>>10)+Fd|0,Md+=(Ld&Fd|~Ld&jd)+Od[4]-176418897|0,Md=(Md<<7|Md>>>25)+Ld|0,jd+=(Md&Ld|~Md&Fd)+Od[5]+1200080426|0,jd=(jd<<12|jd>>>20)+Md|0,Fd+=(jd&Md|~jd&Ld)+Od[6]-1473231341|0,Fd=(Fd<<17|Fd>>>15)+jd|0,Ld+=(Fd&jd|~Fd&Md)+Od[7]-45705983|0,Ld=(Ld<<22|Ld>>>10)+Fd|0,Md+=(Ld&Fd|~Ld&jd)+Od[8]+1770035416|0,Md=(Md<<7|Md>>>25)+Ld|0,jd+=(Md&Ld|~Md&Fd)+Od[9]-1958414417|0,jd=(jd<<12|jd>>>20)+Md|0,Fd+=(jd&Md|~jd&Ld)+Od[10]-42063|0,Fd=(Fd<<17|Fd>>>15)+jd|0,Ld+=(Fd&jd|~Fd&Md)+Od[11]-1990404162|0,Ld=(Ld<<22|Ld>>>10)+Fd|0,Md+=(Ld&Fd|~Ld&jd)+Od[12]+1804603682|0,Md=(Md<<7|Md>>>25)+Ld|0,jd+=(Md&Ld|~Md&Fd)+Od[13]-40341101|0,jd=(jd<<12|jd>>>20)+Md|0,Fd+=(jd&Md|~jd&Ld)+Od[14]-1502002290|0,Fd=(Fd<<17|Fd>>>15)+jd|0,Ld+=(Fd&jd|~Fd&Md)+Od[15]+1236535329|0,Ld=(Ld<<22|Ld>>>10)+Fd|0,Md+=(Ld&jd|Fd&~jd)+Od[1]-165796510|0,Md=(Md<<5|Md>>>27)+Ld|0,jd+=(Md&Fd|Ld&~Fd)+Od[6]-1069501632|0,jd=(jd<<9|jd>>>23)+Md|0,Fd+=(jd&Ld|Md&~Ld)+Od[11]+643717713|0,Fd=(Fd<<14|Fd>>>18)+jd|0,Ld+=(Fd&Md|jd&~Md)+Od[0]-373897302|0,Ld=(Ld<<20|Ld>>>12)+Fd|0,Md+=(Ld&jd|Fd&~jd)+Od[5]-701558691|0,Md=(Md<<5|Md>>>27)+Ld|0,jd+=(Md&Fd|Ld&~Fd)+Od[10]+38016083|0,jd=(jd<<9|jd>>>23)+Md|0,Fd+=(jd&Ld|Md&~Ld)+Od[15]-660478335|0,Fd=(Fd<<14|Fd>>>18)+jd|0,Ld+=(Fd&Md|jd&~Md)+Od[4]-405537848|0,Ld=(Ld<<20|Ld>>>12)+Fd|0,Md+=(Ld&jd|Fd&~jd)+Od[9]+568446438|0,Md=(Md<<5|Md>>>27)+Ld|0,jd+=(Md&Fd|Ld&~Fd)+Od[14]-1019803690|0,jd=(jd<<9|jd>>>23)+Md|0,Fd+=(jd&Ld|Md&~Ld)+Od[3]-187363961|0,Fd=(Fd<<14|Fd>>>18)+jd|0,Ld+=(Fd&Md|jd&~Md)+Od[8]+1163531501|0,Ld=(Ld<<20|Ld>>>12)+Fd|0,Md+=(Ld&jd|Fd&~jd)+Od[13]-1444681467|0,Md=(Md<<5|Md>>>27)+Ld|0,jd+=(Md&Fd|Ld&~Fd)+Od[2]-51403784|0,jd=(jd<<9|jd>>>23)+Md|0,Fd+=(jd&Ld|Md&~Ld)+Od[7]+1735328473|0,Fd=(Fd<<14|Fd>>>18)+jd|0,Ld+=(Fd&Md|jd&~Md)+Od[12]-1926607734|0,Ld=(Ld<<20|Ld>>>12)+Fd|0,Md+=(Ld^Fd^jd)+Od[5]-378558|0,Md=(Md<<4|Md>>>28)+Ld|0,jd+=(Md^Ld^Fd)+Od[8]-2022574463|0,jd=(jd<<11|jd>>>21)+Md|0,Fd+=(jd^Md^Ld)+Od[11]+1839030562|0,Fd=(Fd<<16|Fd>>>16)+jd|0,Ld+=(Fd^jd^Md)+Od[14]-35309556|0,Ld=(Ld<<23|Ld>>>9)+Fd|0,Md+=(Ld^Fd^jd)+Od[1]-1530992060|0,Md=(Md<<4|Md>>>28)+Ld|0,jd+=(Md^Ld^Fd)+Od[4]+1272893353|0,jd=(jd<<11|jd>>>21)+Md|0,Fd+=(jd^Md^Ld)+Od[7]-155497632|0,Fd=(Fd<<16|Fd>>>16)+jd|0,Ld+=(Fd^jd^Md)+Od[10]-1094730640|0,Ld=(Ld<<23|Ld>>>9)+Fd|0,Md+=(Ld^Fd^jd)+Od[13]+681279174|0,Md=(Md<<4|Md>>>28)+Ld|0,jd+=(Md^Ld^Fd)+Od[0]-358537222|0,jd=(jd<<11|jd>>>21)+Md|0,Fd+=(jd^Md^Ld)+Od[3]-722521979|0,Fd=(Fd<<16|Fd>>>16)+jd|0,Ld+=(Fd^jd^Md)+Od[6]+76029189|0,Ld=(Ld<<23|Ld>>>9)+Fd|0,Md+=(Ld^Fd^jd)+Od[9]-640364487|0,Md=(Md<<4|Md>>>28)+Ld|0,jd+=(Md^Ld^Fd)+Od[12]-421815835|0,jd=(jd<<11|jd>>>21)+Md|0,Fd+=(jd^Md^Ld)+Od[15]+530742520|0,Fd=(Fd<<16|Fd>>>16)+jd|0,Ld+=(Fd^jd^Md)+Od[2]-995338651|0,Ld=(Ld<<23|Ld>>>9)+Fd|0,Md+=(Fd^(Ld|~jd))+Od[0]-198630844|0,Md=(Md<<6|Md>>>26)+Ld|0,jd+=(Ld^(Md|~Fd))+Od[7]+1126891415|0,jd=(jd<<10|jd>>>22)+Md|0,Fd+=(Md^(jd|~Ld))+Od[14]-1416354905|0,Fd=(Fd<<15|Fd>>>17)+jd|0,Ld+=(jd^(Fd|~Md))+Od[5]-57434055|0,Ld=(Ld<<21|Ld>>>11)+Fd|0,Md+=(Fd^(Ld|~jd))+Od[12]+1700485571|0,Md=(Md<<6|Md>>>26)+Ld|0,jd+=(Ld^(Md|~Fd))+Od[3]-1894986606|0,jd=(jd<<10|jd>>>22)+Md|0,Fd+=(Md^(jd|~Ld))+Od[10]-1051523|0,Fd=(Fd<<15|Fd>>>17)+jd|0,Ld+=(jd^(Fd|~Md))+Od[1]-2054922799|0,Ld=(Ld<<21|Ld>>>11)+Fd|0,Md+=(Fd^(Ld|~jd))+Od[8]+1873313359|0,Md=(Md<<6|Md>>>26)+Ld|0,jd+=(Ld^(Md|~Fd))+Od[15]-30611744|0,jd=(jd<<10|jd>>>22)+Md|0,Fd+=(Md^(jd|~Ld))+Od[6]-1560198380|0,Fd=(Fd<<15|Fd>>>17)+jd|0,Ld+=(jd^(Fd|~Md))+Od[13]+1309151649|0,Ld=(Ld<<21|Ld>>>11)+Fd|0,Md+=(Fd^(Ld|~jd))+Od[4]-145523070|0,Md=(Md<<6|Md>>>26)+Ld|0,jd+=(Ld^(Md|~Fd))+Od[11]-1120210379|0,jd=(jd<<10|jd>>>22)+Md|0,Fd+=(Md^(jd|~Ld))+Od[2]+718787259|0,Fd=(Fd<<15|Fd>>>17)+jd|0,Ld+=(jd^(Fd|~Md))+Od[9]-343485551|0,Ld=(Ld<<21|Ld>>>11)+Fd|0,Rd[0]=Md+Rd[0]|0,Rd[1]=Ld+Rd[1]|0,Rd[2]=Fd+Rd[2]|0,Rd[3]=jd+Rd[3]|0}function sd(Rd){var Od=[],Md;for(Md=0;Md<64;Md+=4)Od[Md>>2]=Rd.charCodeAt(Md)+(Rd.charCodeAt(Md+1)<<8)+(Rd.charCodeAt(Md+2)<<16)+(Rd.charCodeAt(Md+3)<<24);return Od}function od(Rd){var Od=[],Md;for(Md=0;Md<64;Md+=4)Od[Md>>2]=Rd[Md]+(Rd[Md+1]<<8)+(Rd[Md+2]<<16)+(Rd[Md+3]<<24);return Od}function ld(Rd){var Od=Rd.length,Md=[1732584193,-271733879,-1732584194,271733878],Ld,Fd,jd,Vd,Qd,qd;for(Ld=64;Ld<=Od;Ld+=64)rd(Md,sd(Rd.substring(Ld-64,Ld)));for(Rd=Rd.substring(Ld-64),Fd=Rd.length,jd=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],Ld=0;Ld>2]|=Rd.charCodeAt(Ld)<<(Ld%4<<3);if(jd[Ld>>2]|=128<<(Ld%4<<3),Ld>55)for(rd(Md,jd),Ld=0;Ld<16;Ld+=1)jd[Ld]=0;return Vd=Od*8,Vd=Vd.toString(16).match(/(.*?)(.{0,8})$/),Qd=parseInt(Vd[2],16),qd=parseInt(Vd[1],16)||0,jd[14]=Qd,jd[15]=qd,rd(Md,jd),Md}function ud(Rd){var Od=Rd.length,Md=[1732584193,-271733879,-1732584194,271733878],Ld,Fd,jd,Vd,Qd,qd;for(Ld=64;Ld<=Od;Ld+=64)rd(Md,od(Rd.subarray(Ld-64,Ld)));for(Rd=Ld-64>2]|=Rd[Ld]<<(Ld%4<<3);if(jd[Ld>>2]|=128<<(Ld%4<<3),Ld>55)for(rd(Md,jd),Ld=0;Ld<16;Ld+=1)jd[Ld]=0;return Vd=Od*8,Vd=Vd.toString(16).match(/(.*?)(.{0,8})$/),Qd=parseInt(Vd[2],16),qd=parseInt(Vd[1],16)||0,jd[14]=Qd,jd[15]=qd,rd(Md,jd),Md}function cd(Rd){var Od="",Md;for(Md=0;Md<4;Md+=1)Od+=td[Rd>>Md*8+4&15]+td[Rd>>Md*8&15];return Od}function dd(Rd){var Od;for(Od=0;Odjd?new ArrayBuffer(0):(Vd=jd-Fd,Qd=new ArrayBuffer(Vd),qd=new Uint8Array(Qd),Kd=new Uint8Array(this,Fd,Vd),qd.set(Kd),Qd)}}();function _d(Rd){return/[\u0080-\uFFFF]/.test(Rd)&&(Rd=unescape(encodeURIComponent(Rd))),Rd}function Ed(Rd,Od){var Md=Rd.length,Ld=new ArrayBuffer(Md),Fd=new Uint8Array(Ld),jd;for(jd=0;jd>2]|=Od.charCodeAt(Ld)<<(Ld%4<<3);return this._finish(Fd,Md),jd=dd(this._hash),Rd&&(jd=Id(jd)),this.reset(),jd},Bd.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},Bd.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},Bd.prototype.setState=function(Rd){return this._buff=Rd.buff,this._length=Rd.length,this._hash=Rd.hash,this},Bd.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},Bd.prototype._finish=function(Rd,Od){var Md=Od,Ld,Fd,jd;if(Rd[Md>>2]|=128<<(Md%4<<3),Md>55)for(rd(this._hash,Rd),Md=0;Md<16;Md+=1)Rd[Md]=0;Ld=this._length*8,Ld=Ld.toString(16).match(/(.*?)(.{0,8})$/),Fd=parseInt(Ld[2],16),jd=parseInt(Ld[1],16)||0,Rd[14]=Fd,Rd[15]=jd,rd(this._hash,Rd)},Bd.hash=function(Rd,Od){return Bd.hashBinary(_d(Rd),Od)},Bd.hashBinary=function(Rd,Od){var Md=ld(Rd),Ld=dd(Md);return Od?Id(Ld):Ld},Bd.ArrayBuffer=function(){this.reset()},Bd.ArrayBuffer.prototype.append=function(Rd){var Od=Td(this._buff.buffer,Rd),Md=Od.length,Ld;for(this._length+=Rd.byteLength,Ld=64;Ld<=Md;Ld+=64)rd(this._hash,od(Od.subarray(Ld-64,Ld)));return this._buff=Ld-64>2]|=Od[Fd]<<(Fd%4<<3);return this._finish(Ld,Md),jd=dd(this._hash),Rd&&(jd=Id(jd)),this.reset(),jd},Bd.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},Bd.ArrayBuffer.prototype.getState=function(){var Rd=Bd.prototype.getState.call(this);return Rd.buff=Ad(Rd.buff),Rd},Bd.ArrayBuffer.prototype.setState=function(Rd){return Rd.buff=Ed(Rd.buff,!0),Bd.prototype.setState.call(this,Rd)},Bd.ArrayBuffer.prototype.destroy=Bd.prototype.destroy,Bd.ArrayBuffer.prototype._finish=Bd.prototype._finish,Bd.ArrayBuffer.hash=function(Rd,Od){var Md=ud(new Uint8Array(Rd)),Ld=dd(Md);return Od?Id(Ld):Ld},Bd})})(sparkMd5);var sparkMd5Exports=sparkMd5.exports;const SparkMD5=getDefaultExportFromCjs(sparkMd5Exports);var __assign$5=function(){return __assign$5=Object.assign||function(Ra){for(var qa,ed=1,td=arguments.length;ed0&&sd[sd.length-1])&&(cd[0]===6||cd[0]===2)){ed=0;continue}if(cd[0]===3&&(!sd||cd[1]>sd[0]&&cd[1]Ra.size)ed=Ra.size;else for(;Ra.size>ed*1e4;)ed*=2;for(var td=[],rd=Math.ceil(Ra.size/ed),sd=0;sd3?qa[1]:qa[0];if(!ed)throw new QiniuError(QiniuErrorName.InvalidToken,"missing assess key field.");var td=null;try{td=JSON.parse(urlSafeBase64Decode(qa[qa.length-1]))}catch{throw new QiniuError(QiniuErrorName.InvalidToken,"token parse failed.")}if(td==null)throw new QiniuError(QiniuErrorName.InvalidToken,"putPolicy is null.");if(td.scope==null)throw new QiniuError(QiniuErrorName.InvalidToken,"scope field is null.");var rd=td.scope.split(":")[0];if(!rd)throw new QiniuError(QiniuErrorName.InvalidToken,"resolve bucketName failed.");return{assessKey:ed,bucketName:rd,scope:td.scope}}function createObjectURL(Ra){var qa=window.URL||window.webkitURL||window.mozURL;return qa.createObjectURL(Ra)}var _a,region={z0:"z0",z1:"z1",z2:"z2",na0:"na0",as0:"as0",cnEast2:"cn-east-2"},regionUphostMap=(_a={},_a[region.z0]={srcUphost:["up.qiniup.com"],cdnUphost:["upload.qiniup.com"]},_a[region.z1]={srcUphost:["up-z1.qiniup.com"],cdnUphost:["upload-z1.qiniup.com"]},_a[region.z2]={srcUphost:["up-z2.qiniup.com"],cdnUphost:["upload-z2.qiniup.com"]},_a[region.na0]={srcUphost:["up-na0.qiniup.com"],cdnUphost:["upload-na0.qiniup.com"]},_a[region.as0]={srcUphost:["up-as0.qiniup.com"],cdnUphost:["upload-as0.qiniup.com"]},_a[region.cnEast2]={srcUphost:["up-cn-east-2.qiniup.com"],cdnUphost:["upload-cn-east-2.qiniup.com"]},_a),stringifyPrimitive=function(Ra){switch(typeof Ra){case"string":return Ra;case"boolean":return Ra?"true":"false";case"number":return isFinite(Ra)?Ra:"";default:return""}},encode$2=function(Ra,qa,ed,td){return qa=qa||"&",ed=ed||"=",Ra===null&&(Ra=void 0),typeof Ra=="object"?Object.keys(Ra).map(function(rd){var sd=encodeURIComponent(stringifyPrimitive(rd))+ed;return Array.isArray(Ra[rd])?Ra[rd].map(function(od){return sd+encodeURIComponent(stringifyPrimitive(od))}).join(qa):sd+encodeURIComponent(stringifyPrimitive(Ra[rd]))}).filter(Boolean).join(qa):td?encodeURIComponent(stringifyPrimitive(td))+ed+encodeURIComponent(stringifyPrimitive(Ra)):""},stringify;stringify=encode$2;var __assign$4=function(){return __assign$4=Object.assign||function(Ra){for(var qa,ed=1,td=arguments.length;ed0&&sd[sd.length-1])&&(cd[0]===6||cd[0]===2)){ed=0;continue}if(cd[0]===3&&(!sd||cd[1]>sd[0]&&cd[1]0?[2,td+"://"+ed.uphost[0]]:(rd=getPutPolicy(qa),[4,getUpHosts(rd.assessKey,rd.bucketName,td)]);case 1:return sd=ld.sent(),od=sd.data.up.acc.main,[2,td+"://"+od[0]]}})})}var __assign$3=function(){return __assign$3=Object.assign||function(Ra){for(var qa,ed=1,td=arguments.length;ed0&&sd[sd.length-1])&&(cd[0]===6||cd[0]===2)){ed=0;continue}if(cd[0]===3&&(!sd||cd[1]>sd[0]&&cd[1]0)&&!(rd=td.next()).done;)sd.push(rd.value)}catch(ld){od={error:ld}}finally{try{rd&&!rd.done&&(ed=td.return)&&ed.call(td)}finally{if(od)throw od.error}}return sd},__spread$3=function(){for(var Ra=[],qa=0;qa1e4*GB)return this.handleError(new QiniuError(QiniuErrorName.InvalidFile,"file size exceed maximum value 10000G")),[2];if(this.putExtra.customVars&&!isCustomVarsValid(this.putExtra.customVars))return this.handleError(new QiniuError(QiniuErrorName.InvalidCustomVars,"customVars key should start width x:")),[2];if(this.putExtra.metadata&&!isMetaDataValid(this.putExtra.metadata))return this.handleError(new QiniuError(QiniuErrorName.InvalidMetadata,"metadata key should start with x-qn-meta-")),[2];sd.label=1;case 1:return sd.trys.push([1,4,,5]),this.uploadAt=new Date().getTime(),[4,this.checkAndUpdateUploadHost()];case 2:return sd.sent(),[4,this.run()];case 3:return qa=sd.sent(),this.onComplete(qa.data),this.checkAndUnfreezeHost(),this.sendLog(qa.reqId,200),[2];case 4:return ed=sd.sent(),this.aborted?(this.logger.warn("upload is aborted."),this.sendLog("",-2),[2]):(this.clear(),this.logger.error(ed),ed instanceof QiniuRequestError&&(this.sendLog(ed.reqId,ed.code),this.checkAndFreezeHost(ed),td=++this.retryCount<=this.config.retryCount,rd=RETRY_CODE_LIST.includes(ed.code),rd&&td)?(this.logger.warn("error auto retry: "+this.retryCount+"/"+this.config.retryCount+"."),this.putFile(),[2]):(this.onError(ed),[3,5]));case 5:return[2]}})})},Ra.prototype.clear=function(){this.xhrList.forEach(function(qa){qa.onreadystatechange=null,qa.abort()}),this.xhrList=[],this.logger.info("cleanup uploading xhr.")},Ra.prototype.stop=function(){this.logger.info("aborted."),this.clear(),this.aborted=!0},Ra.prototype.addXhr=function(qa){this.xhrList.push(qa)},Ra.prototype.sendLog=function(qa,ed){var td,rd;this.logger.report({code:ed,reqId:qa,remoteIp:"",upType:"jssdk-h5",size:this.file.size,time:Math.floor(this.uploadAt/1e3),port:getPortFromUrl((td=this.uploadHost)===null||td===void 0?void 0:td.getUrl()),host:getDomainFromUrl((rd=this.uploadHost)===null||rd===void 0?void 0:rd.getUrl()),bytesSent:this.progress?this.progress.total.loaded:0,duration:Math.floor((new Date().getTime()-this.uploadAt)/1e3)})},Ra.prototype.getProgressInfoItem=function(qa,ed,td){return __assign$3({size:ed,loaded:qa,percent:qa/ed*100},td==null?{}:{fromCache:td})},Ra}(),__extends$1=function(){var Ra=function(qa,ed){return Ra=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(td,rd){td.__proto__=rd}||function(td,rd){for(var sd in rd)rd.hasOwnProperty(sd)&&(td[sd]=rd[sd])},Ra(qa,ed)};return function(qa,ed){Ra(qa,ed);function td(){this.constructor=qa}qa.prototype=ed===null?Object.create(ed):(td.prototype=ed.prototype,new td)}}(),__assign$2=function(){return __assign$2=Object.assign||function(Ra){for(var qa,ed=1,td=arguments.length;ed0&&sd[sd.length-1])&&(cd[0]===6||cd[0]===2)){ed=0;continue}if(cd[0]===3&&(!sd||cd[1]>sd[0]&&cd[1]1024)throw new QiniuError(QiniuErrorName.InvalidChunkSize,"chunkSize maximum value is 1024");return[4,this.initBeforeUploadChunks()];case 1:ud.sent(),ed=new Pool(function(cd){return __awaiter$4(ld,void 0,void 0,function(){return __generator$4(this,function(dd){switch(dd.label){case 0:if(this.aborted)throw ed.abort(),new Error("pool is aborted");return[4,this.uploadChunk(cd)];case 1:return dd.sent(),[2]}})})},this.config.concurrentRequestLimit),td=null,rd=this.getLocalKey(),sd=this.chunks.map(function(cd,dd){return ed.enqueue({chunk:cd,index:dd})}),ud.label=2;case 2:return ud.trys.push([2,5,,6]),[4,Promise.all(sd)];case 3:return ud.sent(),[4,this.mkFileReq()];case 4:return td=ud.sent(),[3,6];case 5:throw od=ud.sent(),od instanceof QiniuRequestError&&(od.code===612||od.code===400)&&removeLocalFileInfo(rd,this.logger),od;case 6:return removeLocalFileInfo(rd,this.logger),[2,td]}})})},qa.prototype.uploadChunk=function(ed){return __awaiter$4(this,void 0,void 0,function(){var td,rd,sd,od,ld,ud,cd,dd,_d,Ed=this;return __generator$4(this,function(Ad){switch(Ad.label){case 0:return td=ed.index,rd=ed.chunk,sd=this.cachedUploadedList[td],this.logger.info("upload part "+td+", cache:",sd),od=this.config.checkByMD5,ld=function(){Ed.usedCacheList[td]=!0,Ed.updateChunkProgress(rd.size,td),Ed.uploadedList[td]=sd,Ed.updateLocalCache()},sd&&!od?(ld(),[2]):[4,computeMd5(rd)];case 1:return ud=Ad.sent(),this.logger.info("computed part md5.",ud),sd&&ud===sd.md5?(ld(),[2]):(this.usedCacheList[td]=!1,cd=function(Td){Ed.updateChunkProgress(Td.loaded,td)},dd={body:rd,md5:this.config.checkByServer?ud:void 0,onProgress:cd,onCreate:function(Td){return Ed.addXhr(Td)}},this.logger.info("part "+td+" start uploading."),[4,uploadChunk(this.token,this.key,ed.index+1,this.getUploadInfo(),dd)]);case 2:return _d=Ad.sent(),this.logger.info("part "+td+" upload completed."),cd({loaded:rd.size,total:rd.size}),this.uploadedList[td]={etag:_d.data.etag,md5:_d.data.md5,size:rd.size},this.updateLocalCache(),[2]}})})},qa.prototype.mkFileReq=function(){return __awaiter$4(this,void 0,void 0,function(){var ed,td,rd=this;return __generator$4(this,function(sd){switch(sd.label){case 0:return ed=__assign$2(__assign$2(__assign$2({parts:this.uploadedList.map(function(od,ld){return{etag:od.etag,partNumber:ld+1}}),fname:this.putExtra.fname},this.putExtra.mimeType&&{mimeType:this.putExtra.mimeType}),this.putExtra.customVars&&{customVars:this.putExtra.customVars}),this.putExtra.metadata&&{metadata:this.putExtra.metadata}),this.logger.info("parts upload completed, make file.",ed),[4,uploadComplete(this.token,this.key,this.getUploadInfo(),{onCreate:function(od){return rd.addXhr(od)},body:JSON.stringify(ed)})];case 1:return td=sd.sent(),this.logger.info("finish Resume Progress."),this.updateMkFileProgress(1),[2,td]}})})},qa.prototype.initBeforeUploadChunks=function(){return __awaiter$4(this,void 0,void 0,function(){var ed,td,rd;return __generator$4(this,function(sd){switch(sd.label){case 0:return this.uploadedList=[],this.usedCacheList=[],ed=getLocalFileInfo(this.getLocalKey(),this.logger),ed?[3,2]:(this.logger.info("init upload parts from api."),[4,initUploadParts(this.token,this.bucketName,this.key,this.uploadHost.getUrl())]);case 1:return td=sd.sent(),this.logger.info("initd upload parts of id: "+td.data.uploadId+"."),this.uploadId=td.data.uploadId,this.cachedUploadedList=[],[3,3];case 2:rd=["resume upload parts from local cache,","total "+ed.data.length+" part,","id is "+ed.id+"."],this.logger.info(rd.join(" ")),this.cachedUploadedList=ed.data,this.uploadId=ed.id,sd.label=3;case 3:return this.chunks=getChunks(this.file,this.config.chunkSize),this.loaded={mkFileProgress:0,chunks:this.chunks.map(function(od){return 0})},this.notifyResumeProgress(),[2]}})})},qa.prototype.getUploadInfo=function(){return{id:this.uploadId,url:this.uploadHost.getUrl()}},qa.prototype.getLocalKey=function(){return createLocalKey(this.file.name,this.key,this.file.size)},qa.prototype.updateLocalCache=function(){setLocalFileInfo(this.getLocalKey(),{id:this.uploadId,data:this.uploadedList},this.logger)},qa.prototype.updateChunkProgress=function(ed,td){this.loaded.chunks[td]=ed,this.notifyResumeProgress()},qa.prototype.updateMkFileProgress=function(ed){this.loaded.mkFileProgress=ed,this.notifyResumeProgress()},qa.prototype.notifyResumeProgress=function(){var ed=this;this.progress={total:this.getProgressInfoItem(sum(this.loaded.chunks)+this.loaded.mkFileProgress,this.file.size+1),chunks:this.chunks.map(function(td,rd){var sd=ed.usedCacheList[rd];return ed.getProgressInfoItem(ed.loaded.chunks[rd],td.size,sd)}),uploadInfo:{id:this.uploadId,url:this.uploadHost.getUrl()}},this.onData(this.progress)},qa}(Base),__awaiter$3=function(Ra,qa,ed,td){function rd(sd){return sd instanceof ed?sd:new ed(function(od){od(sd)})}return new(ed||(ed=Promise))(function(sd,od){function ld(dd){try{cd(td.next(dd))}catch(_d){od(_d)}}function ud(dd){try{cd(td.throw(dd))}catch(_d){od(_d)}}function cd(dd){dd.done?sd(dd.value):rd(dd.value).then(ld,ud)}cd((td=td.apply(Ra,qa||[])).next())})},__generator$3=function(Ra,qa){var ed={label:0,sent:function(){if(sd[0]&1)throw sd[1];return sd[1]},trys:[],ops:[]},td,rd,sd,od;return od={next:ld(0),throw:ld(1),return:ld(2)},typeof Symbol=="function"&&(od[Symbol.iterator]=function(){return this}),od;function ld(cd){return function(dd){return ud([cd,dd])}}function ud(cd){if(td)throw new TypeError("Generator is already executing.");for(;ed;)try{if(td=1,rd&&(sd=cd[0]&2?rd.return:cd[0]?rd.throw||((sd=rd.return)&&sd.call(rd),0):rd.next)&&!(sd=sd.call(rd,cd[1])).done)return sd;switch(rd=0,sd&&(cd=[cd[0]&2,sd.value]),cd[0]){case 0:case 1:sd=cd;break;case 4:return ed.label++,{value:cd[1],done:!1};case 5:ed.label++,rd=cd[1],cd=[0];continue;case 7:cd=ed.ops.pop(),ed.trys.pop();continue;default:if(sd=ed.trys,!(sd=sd.length>0&&sd[sd.length-1])&&(cd[0]===6||cd[0]===2)){ed=0;continue}if(cd[0]===3&&(!sd||cd[1]>sd[0]&&cd[1]>>1^3988292384:td>>>=1;qa[ed]=td}return qa},Ra.prototype.append=function(qa){for(var ed=this.crc,td=0;td>>8^this.table[(ed^qa[td])&255];this.crc=ed},Ra.prototype.compute=function(){return(this.crc^-1)>>>0},Ra.prototype.readAsUint8Array=function(qa){return __awaiter$3(this,void 0,void 0,function(){var ed;return __generator$3(this,function(td){switch(td.label){case 0:return typeof qa.arrayBuffer!="function"?[3,2]:(ed=Uint8Array.bind,[4,qa.arrayBuffer()]);case 1:return[2,new(ed.apply(Uint8Array,[void 0,td.sent()]))];case 2:return[2,new Promise(function(rd,sd){var od=new FileReader;od.onload=function(){if(od.result==null){sd();return}if(typeof od.result=="string"){sd();return}rd(new Uint8Array(od.result))},od.readAsArrayBuffer(qa)})]}})})},Ra.prototype.file=function(qa){return __awaiter$3(this,void 0,void 0,function(){var ed,td,rd,sd,od,ld;return __generator$3(this,function(ud){switch(ud.label){case 0:return qa.size<=MB?(ed=this.append,[4,this.readAsUint8Array(qa)]):[3,2];case 1:return ed.apply(this,[ud.sent()]),[2,this.compute()];case 2:td=Math.ceil(qa.size/MB),rd=0,ud.label=3;case 3:return rd0&&sd[sd.length-1])&&(cd[0]===6||cd[0]===2)){ed=0;continue}if(cd[0]===3&&(!sd||cd[1]>sd[0]&&cd[1]0&&reportV3(Ra,qa,ed-1)};var rd=[qa.code||"",qa.reqId||"",qa.host||"",qa.remoteIp||"",qa.port||"",qa.duration||"",qa.time||"",qa.bytesSent||"",qa.upType||"",qa.size||""].join(",");td.send(rd)}var __read$2=function(Ra,qa){var ed=typeof Symbol=="function"&&Ra[Symbol.iterator];if(!ed)return Ra;var td=ed.call(Ra),rd,sd=[],od;try{for(;(qa===void 0||qa-- >0)&&!(rd=td.next()).done;)sd.push(rd.value)}catch(ld){od={error:ld}}finally{try{rd&&!rd.done&&(ed=td.return)&&ed.call(td)}finally{if(od)throw od.error}}return sd},__spread$2=function(){for(var Ra=[],qa=0;qa0&&sd[sd.length-1])&&(cd[0]===6||cd[0]===2)){ed=0;continue}if(cd[0]===3&&(!sd||cd[1]>sd[0]&&cd[1]0)&&!(rd=td.next()).done;)sd.push(rd.value)}catch(ld){od={error:ld}}finally{try{rd&&!rd.done&&(ed=td.return)&&ed.call(td)}finally{if(od)throw od.error}}return sd},__spread$1=function(){for(var Ra=[],qa=0;qa=qa},Ra.prototype.freeze=function(qa){qa===void 0&&(qa=20);var ed=new Date().getTime()+qa*1e3;unfreezeTimeMap.set(this.host,ed)},Ra.prototype.unfreeze=function(){unfreezeTimeMap.delete(this.host)},Ra.prototype.getUrl=function(){return this.protocol+"://"+this.host},Ra.prototype.getUnfreezeTime=function(){return unfreezeTimeMap.get(this.host)},Ra}(),HostPool=function(){function Ra(qa){qa===void 0&&(qa=[]),this.initHosts=qa,this.cachedHostsMap=new Map}return Ra.prototype.register=function(qa,ed,td,rd){this.cachedHostsMap.set(qa+"@"+ed,td.map(function(sd){return new Host(sd,rd)}))},Ra.prototype.refresh=function(qa,ed,td){var rd,sd,od,ld;return __awaiter$1(this,void 0,void 0,function(){var ud,cd,dd;return __generator$1(this,function(_d){switch(_d.label){case 0:return ud=this.cachedHostsMap.get(qa+"@"+ed)||[],ud.length>0?[2]:this.initHosts.length>0?(this.register(qa,ed,this.initHosts,td),[2]):[4,getUpHosts(qa,ed,td)];case 1:return cd=_d.sent(),(cd==null?void 0:cd.data)!=null&&(dd=__spread$1(((sd=(rd=cd.data.up)===null||rd===void 0?void 0:rd.acc)===null||sd===void 0?void 0:sd.main)||[],((ld=(od=cd.data.up)===null||od===void 0?void 0:od.acc)===null||ld===void 0?void 0:ld.backup)||[]),this.register(qa,ed,dd,td)),[2]}})})},Ra.prototype.getUp=function(qa,ed,td){return __awaiter$1(this,void 0,void 0,function(){var rd,sd,od;return __generator$1(this,function(ld){switch(ld.label){case 0:return[4,this.refresh(qa,ed,td)];case 1:return ld.sent(),rd=this.cachedHostsMap.get(qa+"@"+ed)||[],rd.length===0?[2,null]:(sd=rd.filter(function(ud){return!ud.isFrozen()}),sd.length>0?[2,sd[0]]:(od=rd.slice().sort(function(ud,cd){return(ud.getUnfreezeTime()||0)-(cd.getUnfreezeTime()||0)}),[2,od[0]]))}})})},Ra}();function createUploadManager(Ra,qa,ed,td){return Ra.config&&Ra.config.forceDirect?(td.info("ues forceDirect mode."),new Direct(Ra,qa,ed,td)):Ra.file.size>4*MB?(td.info("file size over 4M, use Resume."),new Resume(Ra,qa,ed,td)):(td.info("file size less or equal than 4M, use Direct."),new Direct(Ra,qa,ed,td))}function upload(Ra,qa,ed,td,rd){var sd=new Logger(ed,rd==null?void 0:rd.disableStatisticsReport,rd==null?void 0:rd.debugLogLevel,Ra.name),od={file:Ra,key:qa,token:ed,putExtra:td,config:normalizeUploadConfig(rd,sd)},ld=new HostPool(od.config.uphost);return new Observable(function(ud){var cd=createUploadManager(od,{onData:function(dd){return ud.next(dd)},onError:function(dd){return ud.error(dd)},onComplete:function(dd){return ud.complete(dd)}},ld,sd);return cd.putFile(),cd.stop.bind(cd)})}var __assign$1=function(){return __assign$1=Object.assign||function(Ra){for(var qa,ed=1,td=arguments.length;ed0)&&!(rd=td.next()).done;)sd.push(rd.value)}catch(ld){od={error:ld}}finally{try{rd&&!rd.done&&(ed=td.return)&&ed.call(td)}finally{if(od)throw od.error}}return sd},__spread=function(){for(var Ra=[],qa=0;qa0&&sd[sd.length-1])&&(cd[0]===6||cd[0]===2)){ed=0;continue}if(cd[0]===3&&(!sd||cd[1]>sd[0]&&cd[1]this.file.size&&this.config.noCompressIfLarger?[2,{dist:this.file,width:qa.width,height:qa.height}]:[2,{dist:od,width:sd.width,height:sd.height}]}})})},Ra.prototype.clear=function(qa,ed,td){this.outputType===defaultType?(qa.fillStyle="#fff",qa.fillRect(0,0,ed,td)):qa.clearRect(0,0,ed,td)},Ra.prototype.getOriginImage=function(){var qa=this;return new Promise(function(ed,td){var rd=createObjectURL(qa.file),sd=new Image;sd.onload=function(){ed(sd)},sd.onerror=function(){td("image load error")},sd.src=rd})},Ra.prototype.getCanvas=function(qa){var ed=this;return new Promise(function(td,rd){var sd=document.createElement("canvas"),od=sd.getContext("2d");if(!od){rd(new QiniuError(QiniuErrorName.GetCanvasContextFailed,"context is null"));return}var ld=qa.width,ud=qa.height;sd.height=ud,sd.width=ld,ed.clear(od,ld,ud),od.drawImage(qa,0,0),td(sd)})},Ra.prototype.doScale=function(qa,ed){return __awaiter(this,void 0,void 0,function(){var td,rd,sd,od,ld,ud,cd,dd,_d,Ed,Ad,Td,Id,Bd,Rd,Od;return __generator(this,function(Md){if(ed===1)return[2,qa];if(td=qa.getContext("2d"),rd=Math.min(maxSteps,Math.ceil(1/ed/scaleFactor)),sd=Math.pow(ed,1/rd),od=document.createElement("canvas"),ld=od.getContext("2d"),ud=qa.width,cd=qa.height,dd=ud,_d=cd,od.width=ud,od.height=cd,!ld||!td)throw new QiniuError(QiniuErrorName.GetCanvasContextFailed,"mctx or sctx can't be null");for(Td=0;Td!qa.includes(td)).sort()}function getSigningKey(Ra,qa,td,rd="s3"){if(!isObject$1(Ra))throw new TypeError('date should be of type "object"');if(!isString$1(qa))throw new TypeError('region should be of type "string"');if(!isString$1(td))throw new TypeError('secretKey should be of type "string"');const nd=makeDateShort(Ra);return(void 0)("sha256",(void 0)("sha256",(void 0)("sha256",(void 0)("sha256","AWS4"+td).update(nd).digest()).update(qa).digest()).update(rd).digest()).update("aws4_request").digest()}function getStringToSign(Ra,qa,td,rd="s3"){if(!isString$1(Ra))throw new TypeError('canonicalRequest should be of type "string"');if(!isObject$1(qa))throw new TypeError('requestDate should be of type "object"');if(!isString$1(td))throw new TypeError('region should be of type "string"');const nd=(void 0)("sha256").update(Ra).digest("hex"),ad=getScope(td,qa,rd);return[signV4Algorithm,makeDateLong(qa),ad,nd].join(` +`)}function postPresignSignatureV4(Ra,qa,td,rd){if(!isString$1(Ra))throw new TypeError('region should be of type "string"');if(!isObject$1(qa))throw new TypeError('date should be of type "object"');if(!isString$1(td))throw new TypeError('secretKey should be of type "string"');if(!isString$1(rd))throw new TypeError('policyBase64 should be of type "string"');return(void 0)("sha256",getSigningKey(qa,Ra,td)).update(rd).digest("hex").toLowerCase()}function signV4(Ra,qa,td,rd,nd,ad,sd="s3"){if(!isObject$1(Ra))throw new TypeError('request should be of type "object"');if(!isString$1(qa))throw new TypeError('accessKey should be of type "string"');if(!isString$1(td))throw new TypeError('secretKey should be of type "string"');if(!isString$1(rd))throw new TypeError('region should be of type "string"');if(!qa)throw new AccessKeyRequiredError("accessKey is required for signing");if(!td)throw new SecretKeyRequiredError("secretKey is required for signing");const ud=getSignedHeaders(Ra.headers),cd=getCanonicalRequest(Ra.method,Ra.path,Ra.headers,ud,ad),dd=sd||"s3",pd=getStringToSign(cd,nd,rd,dd),fd=getSigningKey(nd,rd,td,dd),Td=getCredential(qa,rd,nd,dd),Ad=(void 0)("sha256",fd).update(pd).digest("hex").toLowerCase();return`${signV4Algorithm} Credential=${Td}, SignedHeaders=${ud.join(";").toLowerCase()}, Signature=${Ad}`}function presignSignatureV4(Ra,qa,td,rd,nd,ad,sd){if(!isObject$1(Ra))throw new TypeError('request should be of type "object"');if(!isString$1(qa))throw new TypeError('accessKey should be of type "string"');if(!isString$1(td))throw new TypeError('secretKey should be of type "string"');if(!isString$1(nd))throw new TypeError('region should be of type "string"');if(!qa)throw new AccessKeyRequiredError("accessKey is required for presigning");if(!td)throw new SecretKeyRequiredError("secretKey is required for presigning");if(!isNumber$1(sd))throw new TypeError('expires should be of type "number"');if(sd<1)throw new ExpiresParamError("expires param cannot be less than 1 seconds");if(sd>604800)throw new ExpiresParamError("expires param cannot be greater than 7 days");const ud=makeDateLong(ad),cd=getSignedHeaders(Ra.headers),dd=getCredential(qa,nd,ad),pd="UNSIGNED-PAYLOAD",fd=[];fd.push(`X-Amz-Algorithm=${signV4Algorithm}`),fd.push(`X-Amz-Credential=${uriEscape(dd)}`),fd.push(`X-Amz-Date=${ud}`),fd.push(`X-Amz-Expires=${sd}`),fd.push(`X-Amz-SignedHeaders=${uriEscape(cd.join(";").toLowerCase())}`),rd&&fd.push(`X-Amz-Security-Token=${uriEscape(rd)}`);const Td=Ra.path.split("?")[0];let Ad=Ra.path.split("?")[1];Ad?Ad=Ad+"&"+fd.join("&"):Ad=fd.join("&");const Sd=Td+"?"+Ad,Dd=getCanonicalRequest(Ra.method,Sd,Ra.headers,cd,pd),Ld=getStringToSign(Dd,ad,nd),Od=(void 0)("sha256",getSigningKey(ad,nd,td)).update(Ld).digest("hex").toLowerCase();return Ra.protocol+"//"+Ra.headers.host+Sd+`&X-Amz-Signature=${Od}`}async function readAsBuffer(Ra){return new Promise((qa,td)=>{const rd=[];Ra.on("data",nd=>rd.push(nd)).on("error",nd=>td(nd)).on("end",()=>qa(Buffer$2.concat(rd)))})}async function readAsString(Ra){return(await readAsBuffer(Ra)).toString()}async function drainResponse(Ra){return new Promise((qa,td)=>{Ra.on("data",()=>{}).on("error",rd=>td(rd)).on("end",()=>qa())})}function parseBucketRegion(Ra){return parseXml(Ra).LocationConstraint}const fxp=new fxp$2.XMLParser;function parseError(Ra,qa){let td={};const rd=fxp.parse(Ra);rd.Error&&(td=rd.Error);const nd=new S3Error;return Object.entries(td).forEach(([ad,sd])=>{nd[ad.toLowerCase()]=sd}),Object.entries(qa).forEach(([ad,sd])=>{nd[ad]=sd}),nd}async function parseResponseError(Ra){const qa=Ra.statusCode;let td,rd;qa===301?(td="MovedPermanently",rd="Moved Permanently"):qa===307?(td="TemporaryRedirect",rd="Are you using the correct endpoint URL?"):qa===403?(td="AccessDenied",rd="Valid and authorized credentials required"):qa===404?(td="NotFound",rd="Not Found"):qa===405||qa===501?(td="MethodNotAllowed",rd="Method Not Allowed"):(td="UnknownError",rd=`${qa}`);const nd={};nd.amzRequestid=Ra.headers["x-amz-request-id"],nd.amzId2=Ra.headers["x-amz-id-2"],nd.amzBucketRegion=Ra.headers["x-amz-bucket-region"];const ad=await readAsString(Ra);if(ad)throw parseError(ad,nd);const sd=new S3Error(rd,{cause:nd});throw sd.code=td,Object.entries(nd).forEach(([ud,cd])=>{sd[ud]=cd}),sd}function parseListObjectsV2WithMetadata(Ra){const qa={objects:[],isTruncated:!1,nextContinuationToken:""};let td=parseXml(Ra);if(!td.ListBucketResult)throw new InvalidXMLError('Missing tag: "ListBucketResult"');return td=td.ListBucketResult,td.IsTruncated&&(qa.isTruncated=td.IsTruncated),td.NextContinuationToken&&(qa.nextContinuationToken=td.NextContinuationToken),td.Contents&&toArray$1(td.Contents).forEach(rd=>{const nd=sanitizeObjectKey(rd.Key),ad=new Date(rd.LastModified),sd=sanitizeETag(rd.ETag),ud=rd.Size;let cd;rd.UserMetadata!=null?cd=toArray$1(rd.UserMetadata)[0]:cd=null,qa.objects.push({name:nd,lastModified:ad,etag:sd,size:ud,metadata:cd})}),td.CommonPrefixes&&toArray$1(td.CommonPrefixes).forEach(rd=>{qa.objects.push({prefix:sanitizeObjectKey(toArray$1(rd.Prefix)[0]),size:0})}),qa}function parseListParts(Ra){let qa=parseXml(Ra);const td={isTruncated:!1,parts:[],marker:0};if(!qa.ListPartsResult)throw new InvalidXMLError('Missing tag: "ListPartsResult"');return qa=qa.ListPartsResult,qa.IsTruncated&&(td.isTruncated=qa.IsTruncated),qa.NextPartNumberMarker&&(td.marker=toArray$1(qa.NextPartNumberMarker)[0]||""),qa.Part&&toArray$1(qa.Part).forEach(rd=>{const nd=parseInt(toArray$1(rd.PartNumber)[0],10),ad=new Date(rd.LastModified),sd=rd.ETag.replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"");td.parts.push({part:nd,lastModified:ad,etag:sd,size:parseInt(rd.Size,10)})}),td}function parseListBucket(Ra){let qa=[];const td=parseXml(Ra);if(!td.ListAllMyBucketsResult)throw new InvalidXMLError('Missing tag: "ListAllMyBucketsResult"');const{ListAllMyBucketsResult:{Buckets:rd={}}={}}=td;return rd.Bucket&&(qa=toArray$1(rd.Bucket).map((nd={})=>{const{Name:ad,CreationDate:sd}=nd,ud=new Date(sd);return{name:ad,creationDate:ud}})),qa}function parseInitiateMultipart(Ra){let qa=parseXml(Ra);if(!qa.InitiateMultipartUploadResult)throw new InvalidXMLError('Missing tag: "InitiateMultipartUploadResult"');if(qa=qa.InitiateMultipartUploadResult,qa.UploadId)return qa.UploadId;throw new InvalidXMLError('Missing tag: "UploadId"')}function parseReplicationConfig(Ra){const qa=parseXml(Ra),{Role:td,Rule:rd}=qa.ReplicationConfiguration;return{ReplicationConfiguration:{role:td,rules:toArray$1(rd)}}}class Extensions{constructor(qa){this.client=qa}listObjectsV2WithMetadata(qa,td,rd,nd){if(td===void 0&&(td=""),rd===void 0&&(rd=!1),nd===void 0&&(nd=""),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidPrefix(td))throw new InvalidPrefixError(`Invalid prefix : ${td}`);if(!isString$1(td))throw new TypeError('prefix should be of type "string"');if(!isBoolean$1(rd))throw new TypeError('recursive should be of type "boolean"');if(!isString$1(nd))throw new TypeError('startAfter should be of type "string"');const ad=rd?"":"/";return streamBrowserify.Readable.from(this.listObjectsV2WithMetadataGen(qa,td,ad,nd),{objectMode:!0})}async*listObjectsV2WithMetadataGen(qa,td,rd,nd){let ad=!1,sd="";do{const ud=await this.listObjectsV2WithMetadataQuery(qa,td,sd,rd,nd);ad=!ud.isTruncated,sd=ud.nextContinuationToken;for(const cd of ud.objects)yield cd}while(!ad)}async listObjectsV2WithMetadataQuery(qa,td,rd,nd,ad){const sd=[];sd.push("list-type=2"),sd.push("encoding-type=url"),sd.push(`prefix=${uriEscape(td)}`),sd.push(`delimiter=${uriEscape(nd)}`),sd.push("metadata=true"),rd&&(rd=uriEscape(rd),sd.push(`continuation-token=${rd}`)),ad&&(ad=uriEscape(ad),sd.push(`start-after=${ad}`)),sd.push("max-keys=1000"),sd.sort();let ud="";sd.length>0&&(ud=`${sd.join("&")}`);const dd=await this.client.makeRequestAsync({method:"GET",bucketName:qa,query:ud});return parseListObjectsV2WithMetadata(await readAsString(dd))}}async function request$1(Ra,qa,td=null){return new Promise((rd,nd)=>{const ad=Ra.request(qa,sd=>{rd(sd)});if(!td||Buffer$2.isBuffer(td)||typeof td=="string"){ad.on("error",sd=>{nd(sd)}).end(td);return}streamBrowserify.pipeline(td,ad,sd=>{sd&&nd(sd)})})}const awsS3Endpoint={"us-east-1":"s3.amazonaws.com","us-east-2":"s3-us-east-2.amazonaws.com","us-west-1":"s3-us-west-1.amazonaws.com","us-west-2":"s3-us-west-2.amazonaws.com","ca-central-1":"s3.ca-central-1.amazonaws.com","eu-west-1":"s3-eu-west-1.amazonaws.com","eu-west-2":"s3-eu-west-2.amazonaws.com","sa-east-1":"s3-sa-east-1.amazonaws.com","eu-central-1":"s3-eu-central-1.amazonaws.com","ap-south-1":"s3-ap-south-1.amazonaws.com","ap-southeast-1":"s3-ap-southeast-1.amazonaws.com","ap-southeast-2":"s3-ap-southeast-2.amazonaws.com","ap-northeast-1":"s3-ap-northeast-1.amazonaws.com","cn-north-1":"s3.cn-north-1.amazonaws.com.cn","ap-east-1":"s3.ap-east-1.amazonaws.com","eu-north-1":"s3.eu-north-1.amazonaws.com"};function getS3Endpoint(Ra){if(!isString$1(Ra))throw new TypeError(`Invalid region: ${Ra}`);const qa=awsS3Endpoint[Ra];return qa||"s3.amazonaws.com"}var define_process_default$3={version:"v20.17.0",versions:{node:"20.17.0",acorn:"8.11.3",ada:"2.9.0",ares:"1.32.3",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.2.2",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.13+quic",simdutf:"5.3.0",tz:"2024a",undici:"6.19.2",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-209717d"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule internal/idna","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/streams/utils","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/idna.js","lib/internal/inspector_async_hook.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_fc48d429-f579-45e8-bf03-b8f40cba1391",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.17.0 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_fc48d429-f579-45e8-bf03-b8f40cba1391",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.10.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu22",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"610",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",GOROOT_1_20_X64:"/opt/hostedtoolcache/go/1.20.14/x64",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20240915.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.7/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",JOURNAL_STREAM:"8:6290",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.17.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",npm_config_npm_version:"10.8.2",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"11027463784",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"c7b0e027ac0b5d7e952b951cd0f0482584bacafc",GITHUB_BASE_REF:"",ImageOS:"ubuntu22",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.17.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_869f45d3-ff71-43f5-9b82-440d0334cd1b",INVOCATION_ID:"4184953ec64c49749c61dec1ef6bfa6c",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"439",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 9",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"c7b0e027ac0b5d7e952b951cd0f0482584bacafc",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.17.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_fc48d429-f579-45e8-bf03-b8f40cba1391",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_fc48d429-f579-45e8-bf03-b8f40cba1391",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.1.12297006",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",STATS_EXTP:"https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.189/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_fc48d429-f579-45e8-bf03-b8f40cba1391",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.17.0/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2041,ppid:2038,execPath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};const Package={version:"7.1.3"},requestOptionProperties=["agent","ca","cert","ciphers","clientCertEngine","crl","dhparam","ecdhCurve","family","honorCipherOrder","key","passphrase","pfx","rejectUnauthorized","secureOptions","secureProtocol","servername","sessionIdContext"];class TypedClient{constructor(qa){Qm(this,"partSize",64*1024*1024);Qm(this,"maximumPartSize",5*1024*1024*1024);Qm(this,"maxObjectSize",5*1024*1024*1024*1024);if(qa.secure!==void 0)throw new Error('"secure" option deprecated, "useSSL" should be used instead');if(qa.useSSL===void 0&&(qa.useSSL=!0),qa.port||(qa.port=0),!isValidEndpoint(qa.endPoint))throw new InvalidEndpointError(`Invalid endPoint : ${qa.endPoint}`);if(!isValidPort(qa.port))throw new InvalidArgumentError(`Invalid port : ${qa.port}`);if(!isBoolean$1(qa.useSSL))throw new InvalidArgumentError(`Invalid useSSL flag type : ${qa.useSSL}, expected to be of type "boolean"`);if(qa.region&&!isString$1(qa.region))throw new InvalidArgumentError(`Invalid region : ${qa.region}`);const td=qa.endPoint.toLowerCase();let rd=qa.port,nd,ad,sd;if(qa.useSSL?(ad=http,nd="https:",rd=rd||443,sd=void 0):(ad=http,nd="http:",rd=rd||80,sd=void 0),qa.transport){if(!isObject$1(qa.transport))throw new InvalidArgumentError(`Invalid transport type : ${qa.transport}, expected to be type "object"`);ad=qa.transport}if(qa.transportAgent){if(!isObject$1(qa.transportAgent))throw new InvalidArgumentError(`Invalid transportAgent type: ${qa.transportAgent}, expected to be type "object"`);sd=qa.transportAgent}const cd=`MinIO ${`(${define_process_default$3.platform}; ${define_process_default$3.arch})`} minio-js/${Package.version}`;if(this.transport=ad,this.transportAgent=sd,this.host=td,this.port=rd,this.protocol=nd,this.userAgent=`${cd}`,qa.pathStyle===void 0?this.pathStyle=!0:this.pathStyle=qa.pathStyle,this.accessKey=qa.accessKey??"",this.secretKey=qa.secretKey??"",this.sessionToken=qa.sessionToken,this.anonymous=!this.accessKey||!this.secretKey,qa.credentialsProvider&&(this.credentialsProvider=qa.credentialsProvider),this.regionMap={},qa.region&&(this.region=qa.region),qa.partSize&&(this.partSize=qa.partSize,this.overRidePartSize=!0),this.partSize<5*1024*1024)throw new InvalidArgumentError("Part size should be greater than 5MB");if(this.partSize>5*1024*1024*1024)throw new InvalidArgumentError("Part size should be less than 5GB");this.enableSHA256=!this.anonymous&&!qa.useSSL,this.s3AccelerateEndpoint=qa.s3AccelerateEndpoint||void 0,this.reqOptions={},this.clientExtensions=new Extensions(this)}get extensions(){return this.clientExtensions}setS3TransferAccelerate(qa){this.s3AccelerateEndpoint=qa}setRequestOptions(qa){if(!isObject$1(qa))throw new TypeError('request options should be of type "object"');this.reqOptions=_.pick(qa,requestOptionProperties)}getAccelerateEndPointIfSet(qa,td){if(!isEmpty(this.s3AccelerateEndpoint)&&!isEmpty(qa)&&!isEmpty(td)){if(qa.includes("."))throw new Error(`Transfer Acceleration is not supported for non compliant bucket:${qa}`);return this.s3AccelerateEndpoint}return!1}getRequestOptions(qa){const td=qa.method,rd=qa.region,nd=qa.bucketName;let ad=qa.objectName;const sd=qa.headers,ud=qa.query;let cd={method:td,headers:{},protocol:this.protocol,agent:this.transportAgent},dd;nd&&(dd=isVirtualHostStyle(this.host,this.protocol,nd,this.pathStyle));let pd="/",fd=this.host,Td;if(this.port&&(Td=this.port),ad&&(ad=uriResourceEscape(ad)),isAmazonEndpoint(fd)){const Ad=this.getAccelerateEndPointIfSet(nd,ad);Ad?fd=`${Ad}`:fd=getS3Endpoint(rd)}if(dd&&!qa.pathStyle?(nd&&(fd=`${nd}.${fd}`),ad&&(pd=`/${ad}`)):(nd&&(pd=`/${nd}`),ad&&(pd=`/${nd}/${ad}`)),ud&&(pd+=`?${ud}`),cd.headers.host=fd,(cd.protocol==="http:"&&Td!==80||cd.protocol==="https:"&&Td!==443)&&(cd.headers.host=`${fd}:${Td}`),cd.headers["user-agent"]=this.userAgent,sd)for(const[Ad,Sd]of Object.entries(sd))cd.headers[Ad.toLowerCase()]=Sd;return cd=Object.assign({},this.reqOptions,cd),{...cd,headers:_.mapValues(_.pickBy(cd.headers,isDefined),Ad=>Ad.toString()),host:fd,port:Td,path:pd}}async setCredentialsProvider(qa){if(!(qa instanceof CredentialProvider))throw new Error("Unable to get credentials. Expected instance of CredentialProvider");this.credentialsProvider=qa,await this.checkAndRefreshCreds()}async checkAndRefreshCreds(){if(this.credentialsProvider)try{const qa=await this.credentialsProvider.getCredentials();this.accessKey=qa.getAccessKey(),this.secretKey=qa.getSecretKey(),this.sessionToken=qa.getSessionToken()}catch(qa){throw new Error(`Unable to get credentials: ${qa}`,{cause:qa})}}logHTTP(qa,td,rd){if(!this.logStream)return;if(!isObject$1(qa))throw new TypeError('reqOptions should be of type "object"');if(td&&!isReadableStream$1(td))throw new TypeError('response should be of type "Stream"');if(rd&&!(rd instanceof Error))throw new TypeError('err should be of type "Error"');const nd=this.logStream,ad=sd=>{Object.entries(sd).forEach(([ud,cd])=>{if(ud=="authorization"&&isString$1(cd)){const dd=new RegExp("Signature=([0-9a-f]+)");cd=cd.replace(dd,"Signature=**REDACTED**")}nd.write(`${ud}: ${cd} +`)}),nd.write(` +`)};if(nd.write(`REQUEST: ${qa.method} ${qa.path} +`),ad(qa.headers),td&&(this.logStream.write(`RESPONSE: ${td.statusCode} +`),ad(td.headers)),rd){nd.write(`ERROR BODY: +`);const sd=JSON.stringify(rd,null," ");nd.write(`${sd} +`)}}traceOn(qa){qa||(qa=define_process_default$3.stdout),this.logStream=qa}traceOff(){this.logStream=void 0}async makeRequestAsync(qa,td="",rd=[200],nd=""){if(!isObject$1(qa))throw new TypeError('options should be of type "object"');if(!isString$1(td)&&!isObject$1(td))throw new TypeError('payload should be of type "string" or "Buffer"');if(rd.forEach(sd=>{if(!isNumber$1(sd))throw new TypeError('statusCode should be of type "number"')}),!isString$1(nd))throw new TypeError('region should be of type "string"');qa.headers||(qa.headers={}),(qa.method==="POST"||qa.method==="PUT"||qa.method==="DELETE")&&(qa.headers["content-length"]=td.length.toString());const ad=this.enableSHA256?toSha256(td):"";return this.makeRequestStreamAsync(qa,td,ad,rd,nd)}async makeRequestAsyncOmit(qa,td="",rd=[200],nd=""){const ad=await this.makeRequestAsync(qa,td,rd,nd);return await drainResponse(ad),ad}async makeRequestStreamAsync(qa,td,rd,nd,ad){if(!isObject$1(qa))throw new TypeError('options should be of type "object"');if(!(Buffer$2.isBuffer(td)||typeof td=="string"||isReadableStream$1(td)))throw new InvalidArgumentError(`stream should be a Buffer, string or readable Stream, got ${typeof td} instead`);if(!isString$1(rd))throw new TypeError('sha256sum should be of type "string"');if(nd.forEach(cd=>{if(!isNumber$1(cd))throw new TypeError('statusCode should be of type "number"')}),!isString$1(ad))throw new TypeError('region should be of type "string"');if(!this.enableSHA256&&rd.length!==0)throw new InvalidArgumentError("sha256sum expected to be empty for anonymous or https requests");if(this.enableSHA256&&rd.length!==64)throw new InvalidArgumentError(`Invalid sha256sum : ${rd}`);await this.checkAndRefreshCreds(),ad=ad||await this.getBucketRegionAsync(qa.bucketName);const sd=this.getRequestOptions({...qa,region:ad});if(!this.anonymous){this.enableSHA256||(rd="UNSIGNED-PAYLOAD");const cd=new Date;sd.headers["x-amz-date"]=makeDateLong(cd),sd.headers["x-amz-content-sha256"]=rd,this.sessionToken&&(sd.headers["x-amz-security-token"]=this.sessionToken),sd.headers.authorization=signV4(sd,this.accessKey,this.secretKey,ad,cd,rd)}const ud=await request$1(this.transport,sd,td);if(!ud.statusCode)throw new Error("BUG: response doesn't have a statusCode");if(!nd.includes(ud.statusCode)){delete this.regionMap[qa.bucketName];const cd=await parseResponseError(ud);throw this.logHTTP(sd,ud,cd),cd}return this.logHTTP(sd,ud),ud}async getBucketRegionAsync(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name : ${qa}`);if(this.region)return this.region;const td=this.regionMap[qa];if(td)return td;const rd=async dd=>{const pd=await readAsString(dd),fd=parseBucketRegion(pd)||DEFAULT_REGION;return this.regionMap[qa]=fd,fd},nd="GET",ad="location",sd=this.pathStyle&&!isBrowser_1;let ud;try{const dd=await this.makeRequestAsync({method:nd,bucketName:qa,query:ad,pathStyle:sd},"",[200],DEFAULT_REGION);return rd(dd)}catch(dd){if(dd.name!=="AuthorizationHeaderMalformed"||(ud=dd.Region,!ud))throw dd}const cd=await this.makeRequestAsync({method:nd,bucketName:qa,query:ad,pathStyle:sd},"",[200],ud);return await rd(cd)}makeRequest(qa,td="",rd=[200],nd="",ad,sd){let ud;ad?ud=this.makeRequestAsync(qa,td,rd,nd):ud=this.makeRequestAsyncOmit(qa,td,rd,nd),ud.then(cd=>sd(null,cd),cd=>{sd(cd)})}makeRequestStream(qa,td,rd,nd,ad,sd,ud){(async()=>{const dd=await this.makeRequestStreamAsync(qa,td,rd,nd,ad);return sd||await drainResponse(dd),dd})().then(dd=>ud(null,dd),dd=>ud(dd))}getBucketRegion(qa,td){return this.getBucketRegionAsync(qa).then(rd=>td(null,rd),rd=>td(rd))}async removeBucket(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);await this.makeRequestAsyncOmit({method:"DELETE",bucketName:qa},"",[204]),delete this.regionMap[qa]}async statObject(qa,td,rd={}){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(td))throw new InvalidObjectNameError(`Invalid object name: ${td}`);if(!isObject$1(rd))throw new InvalidArgumentError('statOpts should be of type "object"');const nd=queryString.stringify(rd),sd=await this.makeRequestAsyncOmit({method:"HEAD",bucketName:qa,objectName:td,query:nd});return{size:parseInt(sd.headers["content-length"]),metaData:extractMetadata(sd.headers),lastModified:new Date(sd.headers["last-modified"]),versionId:getVersionId(sd.headers),etag:sanitizeETag(sd.headers.etag)}}async removeObject(qa,td,rd={}){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isValidObjectName(td))throw new InvalidObjectNameError(`Invalid object name: ${td}`);if(!isObject$1(rd))throw new InvalidArgumentError('removeOpts should be of type "object"');const nd="DELETE",ad={};rd.governanceBypass&&(ad["X-Amz-Bypass-Governance-Retention"]=!0),rd.forceDelete&&(ad["x-minio-force-delete"]=!0);const sd={};rd.versionId&&(sd.versionId=`${rd.versionId}`);const ud=queryString.stringify(sd);await this.makeRequestAsyncOmit({method:nd,bucketName:qa,objectName:td,headers:ad,query:ud},"",[200,204])}async initiateNewMultipartUpload(qa,td,rd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(td))throw new InvalidObjectNameError(`Invalid object name: ${td}`);if(!isObject$1(rd))throw new InvalidObjectNameError('contentType should be of type "object"');const sd=await this.makeRequestAsync({method:"POST",bucketName:qa,objectName:td,query:"uploads",headers:rd}),ud=await readAsBuffer(sd);return parseInitiateMultipart(ud.toString())}async abortMultipartUpload(qa,td,rd){const nd="DELETE",ad=`uploadId=${rd}`,sd={method:nd,bucketName:qa,objectName:td,query:ad};await this.makeRequestAsyncOmit(sd,"",[204])}async listParts(qa,td,rd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(td))throw new InvalidObjectNameError(`Invalid object name: ${td}`);if(!isString$1(rd))throw new TypeError('uploadId should be of type "string"');if(!rd)throw new InvalidArgumentError("uploadId cannot be empty");const nd=[];let ad=0,sd;do sd=await this.listPartsQuery(qa,td,rd,ad),ad=sd.marker,nd.push(...sd.parts);while(sd.isTruncated);return nd}async listPartsQuery(qa,td,rd,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(td))throw new InvalidObjectNameError(`Invalid object name: ${td}`);if(!isString$1(rd))throw new TypeError('uploadId should be of type "string"');if(!isNumber$1(nd))throw new TypeError('marker should be of type "number"');if(!rd)throw new InvalidArgumentError("uploadId cannot be empty");let ad=`uploadId=${uriEscape(rd)}`;nd&&(ad+=`&part-number-marker=${nd}`);const ud=await this.makeRequestAsync({method:"GET",bucketName:qa,objectName:td,query:ad});return parseListParts(await readAsString(ud))}async listBuckets(){const td=await this.makeRequestAsync({method:"GET"},"",[200],DEFAULT_REGION),rd=await readAsString(td);return parseListBucket(rd)}async removeBucketReplication(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);await this.makeRequestAsyncOmit({method:"DELETE",bucketName:qa,query:"replication"},"",[200,204],"")}async setBucketReplication(qa,td){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(isObject$1(td)){if(_.isEmpty(td.role))throw new InvalidArgumentError("Role cannot be empty");if(td.role&&!isString$1(td.role))throw new InvalidArgumentError("Invalid value for role",td.role);if(_.isEmpty(td.rules))throw new InvalidArgumentError("Minimum one replication rule must be specified")}else throw new InvalidArgumentError('replicationConfig should be of type "object"');const rd="PUT",nd="replication",ad={},sd={ReplicationConfiguration:{Role:td.role,Rule:td.rules}},cd=new xml2js.Builder({renderOpts:{pretty:!1},headless:!0}).buildObject(sd);ad["Content-MD5"]=toMd5(cd),await this.makeRequestAsyncOmit({method:rd,bucketName:qa,query:nd,headers:ad},cd)}async getBucketReplication(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);const nd=await this.makeRequestAsync({method:"GET",bucketName:qa,query:"replication"},"",[200,204]),ad=await readAsString(nd);return parseReplicationConfig(ad)}}class CopyConditions{constructor(){Qm(this,"modified","");Qm(this,"unmodified","");Qm(this,"matchETag","");Qm(this,"matchETagExcept","")}setModified(qa){if(!(qa instanceof Date))throw new TypeError("date must be of type Date");this.modified=qa.toUTCString()}setUnmodified(qa){if(!(qa instanceof Date))throw new TypeError("date must be of type Date");this.unmodified=qa.toUTCString()}setMatchETag(qa){this.matchETag=qa}setMatchETagExcept(qa){this.matchETagExcept=qa}}class PostPolicy{constructor(){Qm(this,"policy",{conditions:[]});Qm(this,"formData",{})}setExpires(qa){if(!qa)throw new InvalidDateError("Invalid date: cannot be null");this.policy.expiration=qa.toISOString()}setKey(qa){if(!isValidObjectName(qa))throw new InvalidObjectNameError(`Invalid object name : ${qa}`);this.policy.conditions.push(["eq","$key",qa]),this.formData.key=qa}setKeyStartsWith(qa){if(!isValidPrefix(qa))throw new InvalidPrefixError(`Invalid prefix : ${qa}`);this.policy.conditions.push(["starts-with","$key",qa]),this.formData.key=qa}setBucket(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name : ${qa}`);this.policy.conditions.push(["eq","$bucket",qa]),this.formData.bucket=qa}setContentType(qa){if(!qa)throw new Error("content-type cannot be null");this.policy.conditions.push(["eq","$Content-Type",qa]),this.formData["Content-Type"]=qa}setContentTypeStartsWith(qa){if(!qa)throw new Error("content-type cannot be null");this.policy.conditions.push(["starts-with","$Content-Type",qa]),this.formData["Content-Type"]=qa}setContentDisposition(qa){if(!qa)throw new Error("content-disposition cannot be null");this.policy.conditions.push(["eq","$Content-Disposition",qa]),this.formData["Content-Disposition"]=qa}setContentLengthRange(qa,td){if(qa>td)throw new Error("min cannot be more than max");if(qa<0)throw new Error("min should be > 0");if(td<0)throw new Error("max should be > 0");this.policy.conditions.push(["content-length-range",qa,td])}setUserMetaData(qa){if(!isObject$1(qa))throw new TypeError('metadata should be of type "object"');Object.entries(qa).forEach(([td,rd])=>{const nd=`x-amz-meta-${td}`;this.policy.conditions.push(["eq",`$${nd}`,rd]),this.formData[nd]=rd.toString()})}}var jsonStream={exports:{}},util=util$5,TransformStream=streamBrowserify.Transform;jsonStream.exports=function(Ra){return new JSONStream(Ra)};var JSONStream=jsonStream.exports.JSONStream=function(Ra){Ra=Ra||{},TransformStream.call(this,Ra),this._writableState.objectMode=!1,this._readableState.objectMode=!0,this._async=Ra.async||!1};util.inherits(JSONStream,TransformStream);JSONStream.prototype._transform=function(Ra,qa,td){Buffer$2.isBuffer(Ra)||(Ra=new Buffer$2(Ra)),this._buffer&&(Ra=Buffer$2.concat([this._buffer,Ra]));for(var rd=0,nd=0;++rd<=Ra.length;)if(Ra[rd]===10||rd===Ra.length){var ad;try{ad=JSON.parse(Ra.slice(nd,rd))}catch{}ad&&(this.push(ad),ad=null),Ra[rd]===10&&(nd=++rd)}return this._buffer=Ra.slice(nd),this._async?void setImmediate(td):void td()};var jsonStreamExports=jsonStream.exports;const JSONParser=getDefaultExportFromCjs(jsonStreamExports);var through2$1={exports:{}};const{Transform}=readableBrowserExports;function inherits$1(Ra,qa){Ra.super_=qa,Ra.prototype=Object.create(qa.prototype,{constructor:{value:Ra,enumerable:!1,writable:!0,configurable:!0}})}function through2(Ra){return(qa,td,rd)=>(typeof qa=="function"&&(rd=td,td=qa,qa={}),typeof td!="function"&&(td=(nd,ad,sd)=>sd(null,nd)),typeof rd!="function"&&(rd=null),Ra(qa,td,rd))}const make=through2((Ra,qa,td)=>{const rd=new Transform(Ra);return rd._transform=qa,td&&(rd._flush=td),rd}),ctor=through2((Ra,qa,td)=>{function rd(nd){if(!(this instanceof rd))return new rd(nd);this.options=Object.assign({},Ra,nd),Transform.call(this,this.options),this._transform=qa,td&&(this._flush=td)}return inherits$1(rd,Transform),rd}),obj=through2(function(Ra,qa,td){const rd=new Transform(Object.assign({objectMode:!0,highWaterMark:16},Ra));return rd._transform=qa,td&&(rd._flush=td),rd});through2$1.exports=make;through2$1.exports.ctor=ctor;through2$1.exports.obj=obj;var through2Exports=through2$1.exports;const Through2=getDefaultExportFromCjs(through2Exports);var Buffer=buffer.Buffer,CRC_TABLE=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];typeof Int32Array<"u"&&(CRC_TABLE=new Int32Array(CRC_TABLE));function ensureBuffer(Ra){if(Buffer.isBuffer(Ra))return Ra;var qa=typeof Buffer.alloc=="function"&&typeof Buffer.from=="function";if(typeof Ra=="number")return qa?Buffer.alloc(Ra):new Buffer(Ra);if(typeof Ra=="string")return qa?Buffer.from(Ra):new Buffer(Ra);throw new Error("input must be buffer, number, or string, received "+typeof Ra)}function bufferizeInt(Ra){var qa=ensureBuffer(4);return qa.writeInt32BE(Ra,0),qa}function _crc32(Ra,qa){Ra=ensureBuffer(Ra),Buffer.isBuffer(qa)&&(qa=qa.readUInt32BE(0));for(var td=~~qa^-1,rd=0;rd>>8;return td^-1}function crc32(){return bufferizeInt(_crc32.apply(null,arguments))}crc32.signed=function(){return _crc32.apply(null,arguments)};crc32.unsigned=function(){return _crc32.apply(null,arguments)>>>0};var bufferCrc32=crc32;const crc32$1=getDefaultExportFromCjs(bufferCrc32),fxpWithoutNumParser=new fxp$2.XMLParser({numberParseOptions:{skipLike:/./}});function parseCopyObject(Ra){var qa={etag:"",lastModified:""},td=parseXml(Ra);if(!td.CopyObjectResult)throw new InvalidXMLError('Missing tag: "CopyObjectResult"');return td=td.CopyObjectResult,td.ETag&&(qa.etag=td.ETag.replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"")),td.LastModified&&(qa.lastModified=new Date(td.LastModified)),qa}function parseListMultipart(Ra){var qa={uploads:[],prefixes:[],isTruncated:!1},td=parseXml(Ra);if(!td.ListMultipartUploadsResult)throw new InvalidXMLError('Missing tag: "ListMultipartUploadsResult"');return td=td.ListMultipartUploadsResult,td.IsTruncated&&(qa.isTruncated=td.IsTruncated),td.NextKeyMarker&&(qa.nextKeyMarker=td.NextKeyMarker),td.NextUploadIdMarker&&(qa.nextUploadIdMarker=td.nextUploadIdMarker||""),td.CommonPrefixes&&toArray$1(td.CommonPrefixes).forEach(rd=>{qa.prefixes.push({prefix:sanitizeObjectKey(toArray$1(rd.Prefix)[0])})}),td.Upload&&toArray$1(td.Upload).forEach(rd=>{var nd=rd.Key,ad=rd.UploadId,sd={id:rd.Initiator.ID,displayName:rd.Initiator.DisplayName},ud={id:rd.Owner.ID,displayName:rd.Owner.DisplayName},cd=rd.StorageClass,dd=new Date(rd.Initiated);qa.uploads.push({key:nd,uploadId:ad,initiator:sd,owner:ud,storageClass:cd,initiated:dd})}),qa}function parseBucketNotification(Ra){var qa={TopicConfiguration:[],QueueConfiguration:[],CloudFunctionConfiguration:[]},td=function(ad){var sd=[];return ad&&toArray$1(ad).forEach(ud=>{sd.push(ud)}),sd},rd=function(ad){var sd=[];return ad&&(ad=toArray$1(ad),ad[0].S3Key&&(ad[0].S3Key=toArray$1(ad[0].S3Key),ad[0].S3Key[0].FilterRule&&toArray$1(ad[0].S3Key[0].FilterRule).forEach(ud=>{var cd=toArray$1(ud.Name)[0],dd=toArray$1(ud.Value)[0];sd.push({Name:cd,Value:dd})}))),sd},nd=parseXml(Ra);return nd=nd.NotificationConfiguration,nd.TopicConfiguration&&toArray$1(nd.TopicConfiguration).forEach(ad=>{var sd=toArray$1(ad.Id)[0],ud=toArray$1(ad.Topic)[0],cd=td(ad.Event),dd=rd(ad.Filter);qa.TopicConfiguration.push({Id:sd,Topic:ud,Event:cd,Filter:dd})}),nd.QueueConfiguration&&toArray$1(nd.QueueConfiguration).forEach(ad=>{var sd=toArray$1(ad.Id)[0],ud=toArray$1(ad.Queue)[0],cd=td(ad.Event),dd=rd(ad.Filter);qa.QueueConfiguration.push({Id:sd,Queue:ud,Event:cd,Filter:dd})}),nd.CloudFunctionConfiguration&&toArray$1(nd.CloudFunctionConfiguration).forEach(ad=>{var sd=toArray$1(ad.Id)[0],ud=toArray$1(ad.CloudFunction)[0],cd=td(ad.Event),dd=rd(ad.Filter);qa.CloudFunctionConfiguration.push({Id:sd,CloudFunction:ud,Event:cd,Filter:dd})}),qa}function parseCompleteMultipart(Ra){var qa=parseXml(Ra).CompleteMultipartUploadResult;if(qa.Location){var td=toArray$1(qa.Location)[0],rd=toArray$1(qa.Bucket)[0],nd=qa.Key,ad=qa.ETag.replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"");return{location:td,bucket:rd,key:nd,etag:ad}}if(qa.Code&&qa.Message){var sd=toArray$1(qa.Code)[0],ud=toArray$1(qa.Message)[0];return{errCode:sd,errMessage:ud}}}const formatObjInfo=(Ra,qa={})=>{let{Key:td,LastModified:rd,ETag:nd,Size:ad,VersionId:sd,IsLatest:ud}=Ra;isObject$1(qa)||(qa={});const cd=sanitizeObjectKey(toArray$1(td)[0]),dd=new Date(toArray$1(rd)[0]),pd=sanitizeETag(toArray$1(nd)[0]),fd=sanitizeSize(ad);return{name:cd,lastModified:dd,etag:pd,size:fd,versionId:sd,isLatest:ud,isDeleteMarker:qa.IsDeleteMarker?qa.IsDeleteMarker:!1}};function parseListObjects(Ra){var qa={objects:[],isTruncated:!1};let td=!1,rd,nd;const ad=fxpWithoutNumParser.parse(Ra),sd=dd=>{dd&&toArray$1(dd).forEach(pd=>{qa.objects.push({prefix:sanitizeObjectKey(toArray$1(pd.Prefix)[0]),size:0})})},ud=ad.ListBucketResult,cd=ad.ListVersionsResult;return ud&&(ud.IsTruncated&&(td=ud.IsTruncated),ud.Contents&&toArray$1(ud.Contents).forEach(dd=>{const pd=sanitizeObjectKey(toArray$1(dd.Key)[0]),fd=new Date(toArray$1(dd.LastModified)[0]),Td=sanitizeETag(toArray$1(dd.ETag)[0]),Ad=sanitizeSize(dd.Size);qa.objects.push({name:pd,lastModified:fd,etag:Td,size:Ad})}),ud.NextMarker&&(rd=ud.NextMarker),sd(ud.CommonPrefixes)),cd&&(cd.IsTruncated&&(td=cd.IsTruncated),cd.Version&&toArray$1(cd.Version).forEach(dd=>{qa.objects.push(formatObjInfo(dd))}),cd.DeleteMarker&&toArray$1(cd.DeleteMarker).forEach(dd=>{qa.objects.push(formatObjInfo(dd,{IsDeleteMarker:!0}))}),cd.NextKeyMarker&&(nd=cd.NextKeyMarker),cd.NextVersionIdMarker&&(qa.versionIdMarker=cd.NextVersionIdMarker),sd(cd.CommonPrefixes)),qa.isTruncated=td,td&&(qa.nextMarker=nd||rd),qa}function parseListObjectsV2(Ra){var qa={objects:[],isTruncated:!1},td=parseXml(Ra);if(!td.ListBucketResult)throw new InvalidXMLError('Missing tag: "ListBucketResult"');return td=td.ListBucketResult,td.IsTruncated&&(qa.isTruncated=td.IsTruncated),td.NextContinuationToken&&(qa.nextContinuationToken=td.NextContinuationToken),td.Contents&&toArray$1(td.Contents).forEach(rd=>{var nd=sanitizeObjectKey(toArray$1(rd.Key)[0]),ad=new Date(rd.LastModified),sd=sanitizeETag(rd.ETag),ud=rd.Size;qa.objects.push({name:nd,lastModified:ad,etag:sd,size:ud})}),td.CommonPrefixes&&toArray$1(td.CommonPrefixes).forEach(rd=>{qa.objects.push({prefix:sanitizeObjectKey(toArray$1(rd.Prefix)[0]),size:0})}),qa}function parseBucketVersioningConfig(Ra){var qa=parseXml(Ra);return qa.VersioningConfiguration}function parseTagging(Ra){const qa=parseXml(Ra);let td=[];if(qa.Tagging&&qa.Tagging.TagSet&&qa.Tagging.TagSet.Tag){const rd=qa.Tagging.TagSet.Tag;isObject$1(rd)?td.push(rd):td=rd}return td}function parseLifecycleConfig(Ra){return parseXml(Ra).LifecycleConfiguration}function parseObjectLockConfig(Ra){const qa=parseXml(Ra);let td={};if(qa.ObjectLockConfiguration){td={objectLockEnabled:qa.ObjectLockConfiguration.ObjectLockEnabled};let rd;if(qa.ObjectLockConfiguration&&qa.ObjectLockConfiguration.Rule&&qa.ObjectLockConfiguration.Rule.DefaultRetention&&(rd=qa.ObjectLockConfiguration.Rule.DefaultRetention||{},td.mode=rd.Mode),rd){const nd=rd.Years;nd?(td.validity=nd,td.unit=RETENTION_VALIDITY_UNITS.YEARS):(td.validity=rd.Days,td.unit=RETENTION_VALIDITY_UNITS.DAYS)}return td}}function parseObjectRetentionConfig(Ra){const td=parseXml(Ra).Retention;return{mode:td.Mode,retainUntilDate:td.RetainUntilDate}}function parseBucketEncryptionConfig(Ra){return parseXml(Ra)}function parseObjectLegalHoldConfig(Ra){return parseXml(Ra).LegalHold}function uploadPartParser(Ra){return parseXml(Ra).CopyPartResult}function removeObjectsParser(Ra){const qa=parseXml(Ra);return qa.DeleteResult&&qa.DeleteResult.Error?toArray$1(qa.DeleteResult.Error):[]}function parseSelectObjectContentResponse(Ra){function qa(ad){const sd=Buffer$2.from(ad.read(1)).readUInt8(),cd=(Buffer$2.from(ad.read(sd)).toString()||"").split(":");return cd.length>=1?cd[1]:""}function td(ad){const sd=Buffer$2.from(ad.read(2)).readUInt16BE();return Buffer$2.from(ad.read(sd)).toString()}const rd=new SelectResults({}),nd=readableStream(Ra);for(;nd._readableState.length;){let ad;const sd=Buffer$2.from(nd.read(4));ad=crc32$1(sd);const ud=Buffer$2.from(nd.read(4));ad=crc32$1(ud,ad);const cd=ad.readInt32BE(),dd=Buffer$2.from(nd.read(4));ad=crc32$1(dd,ad);const pd=sd.readInt32BE(),fd=ud.readInt32BE(),Td=dd.readInt32BE();if(Td!==cd)throw new Error(`Header Checksum Mismatch, Prelude CRC of ${Td} does not equal expected CRC of ${cd}`);const Ad={};if(fd>0){const Rd=Buffer$2.from(nd.read(fd));ad=crc32$1(Rd,ad);const Od=readableStream(Rd);for(;Od._readableState.length;){let Md=qa(Od);Od.read(1),Ad[Md]=td(Od)}}let Sd;const Dd=pd-fd-16;if(Dd>0){const Rd=Buffer$2.from(nd.read(Dd));ad=crc32$1(Rd,ad);const Od=Buffer$2.from(nd.read(4)).readInt32BE(),Md=ad.readInt32BE();if(Od!==Md)throw new Error(`Message Checksum Mismatch, Message CRC of ${Od} does not equal expected CRC of ${Md}`);Sd=readableStream(Rd)}const Ld=Ad["message-type"];switch(Ld){case"error":{const Rd=Ad["error-code"]+':"'+Ad["error-message"]+'"';throw new Error(Rd)}case"event":{const Rd=Ad["content-type"];switch(Ad["event-type"]){case"End":return rd.setResponse(Ra),rd;case"Records":{const Md=Sd.read(Dd);rd.setRecords(Md);break}case"Progress":switch(Rd){case"text/xml":{const Md=Sd.read(Dd);rd.setProgress(Md.toString());break}default:{const Md=`Unexpected content-type ${Rd} sent for event-type Progress`;throw new Error(Md)}}break;case"Stats":switch(Rd){case"text/xml":{const Md=Sd.read(Dd);rd.setStats(Md.toString());break}default:{const Md=`Unexpected content-type ${Rd} sent for event-type Stats`;throw new Error(Md)}}break;default:{const Md=`Un implemented event detected ${Ld}.`;console.warn(Md)}}}}}}function getConcater(Ra,qa){var td=!1,rd=[];if(Ra&&!isFunction$1(Ra))throw new TypeError('parser should be of type "function"');return Ra&&(td=!0),Through2({objectMode:td},function(nd,ad,sd){rd.push(nd),sd()},function(nd){rd.length&&(Ra?this.push(Ra(Buffer$2.concat(rd).toString())):this.push(Buffer$2.concat(rd))),nd()})}function getCopyObjectTransformer(){return getConcater(parseCopyObject)}function getListMultipartTransformer(){return getConcater(parseListMultipart)}function getListObjectsTransformer(){return getConcater(parseListObjects)}function getListObjectsV2Transformer(){return getConcater(parseListObjectsV2)}function getCompleteMultipartTransformer(){return getConcater(parseCompleteMultipart)}function getBucketNotificationTransformer(){return getConcater(parseBucketNotification)}function getNotificationTransformer(){return new JSONParser}function bucketVersioningTransformer(){return getConcater(parseBucketVersioningConfig)}function getTagsTransformer(){return getConcater(parseTagging)}function lifecycleTransformer(){return getConcater(parseLifecycleConfig)}function objectLockTransformer(){return getConcater(parseObjectLockConfig)}function objectRetentionTransformer(){return getConcater(parseObjectRetentionConfig)}function bucketEncryptionTransformer(){return getConcater(parseBucketEncryptionConfig)}function objectLegalHoldTransformer(){return getConcater(parseObjectLegalHoldConfig)}function uploadPartTransformer(){return getConcater(uploadPartParser)}function selectObjectContentTransformer(){return getConcater()}function removeObjectsTransformer(){return getConcater(removeObjectsParser)}var define_process_default$2={version:"v20.17.0",versions:{node:"20.17.0",acorn:"8.11.3",ada:"2.9.0",ares:"1.32.3",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.2.2",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.13+quic",simdutf:"5.3.0",tz:"2024a",undici:"6.19.2",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-209717d"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule internal/idna","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/streams/utils","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/idna.js","lib/internal/inspector_async_hook.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_fc48d429-f579-45e8-bf03-b8f40cba1391",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.17.0 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_fc48d429-f579-45e8-bf03-b8f40cba1391",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.10.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu22",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"610",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",GOROOT_1_20_X64:"/opt/hostedtoolcache/go/1.20.14/x64",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20240915.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.7/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",JOURNAL_STREAM:"8:6290",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.17.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",npm_config_npm_version:"10.8.2",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"11027463784",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"c7b0e027ac0b5d7e952b951cd0f0482584bacafc",GITHUB_BASE_REF:"",ImageOS:"ubuntu22",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.17.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_869f45d3-ff71-43f5-9b82-440d0334cd1b",INVOCATION_ID:"4184953ec64c49749c61dec1ef6bfa6c",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"439",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 9",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"c7b0e027ac0b5d7e952b951cd0f0482584bacafc",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.17.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_fc48d429-f579-45e8-bf03-b8f40cba1391",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_fc48d429-f579-45e8-bf03-b8f40cba1391",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.1.12297006",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",STATS_EXTP:"https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.189/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_fc48d429-f579-45e8-bf03-b8f40cba1391",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.17.0/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2041,ppid:2038,execPath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};class NotificationConfig{add(qa){let td="";qa instanceof TopicConfig&&(td="TopicConfiguration"),qa instanceof QueueConfig&&(td="QueueConfiguration"),qa instanceof CloudFunctionConfig&&(td="CloudFunctionConfiguration"),this[td]||(this[td]=[]),this[td].push(qa)}}class TargetConfig{setId(qa){this.Id=qa}addEvent(qa){this.Event||(this.Event=[]),this.Event.push(qa)}addFilterSuffix(qa){this.Filter||(this.Filter={S3Key:{FilterRule:[]}}),this.Filter.S3Key.FilterRule.push({Name:"suffix",Value:qa})}addFilterPrefix(qa){this.Filter||(this.Filter={S3Key:{FilterRule:[]}}),this.Filter.S3Key.FilterRule.push({Name:"prefix",Value:qa})}}class TopicConfig extends TargetConfig{constructor(qa){super(),this.Topic=qa}}class QueueConfig extends TargetConfig{constructor(qa){super(),this.Queue=qa}}class CloudFunctionConfig extends TargetConfig{constructor(qa){super(),this.CloudFunction=qa}}class NotificationPoller extends eventsExports.EventEmitter{constructor(qa,td,rd,nd,ad){super(),this.client=qa,this.bucketName=td,this.prefix=rd,this.suffix=nd,this.events=ad,this.ending=!1}start(){this.ending=!1,define_process_default$2.nextTick(()=>{this.checkForChanges()})}stop(){this.ending=!0}checkForChanges(){if(this.ending)return;let qa="GET";var td=[];if(this.prefix){var rd=uriEscape(this.prefix);td.push(`prefix=${rd}`)}if(this.suffix){var nd=uriEscape(this.suffix);td.push(`suffix=${nd}`)}this.events&&this.events.forEach(ud=>td.push("events="+uriEscape(ud))),td.sort();var ad="";td.length>0&&(ad=`${td.join("&")}`);const sd=this.client.region||DEFAULT_REGION;this.client.makeRequest({method:qa,bucketName:this.bucketName,query:ad},"",[200],sd,!0,(ud,cd)=>{if(ud)return this.emit("error",ud);let dd=getNotificationTransformer();pipesetup(cd,dd).on("data",pd=>{let fd=pd.Records;fd||(fd=[]),fd.forEach(Td=>{this.emit("notification",Td)}),this.ending&&cd.destroy()}).on("error",pd=>this.emit("error",pd)).on("end",()=>{define_process_default$2.nextTick(()=>{this.checkForChanges()})})})}}var define_process_default$1={version:"v20.17.0",versions:{node:"20.17.0",acorn:"8.11.3",ada:"2.9.0",ares:"1.32.3",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.2.2",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.13+quic",simdutf:"5.3.0",tz:"2024a",undici:"6.19.2",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-209717d"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.17.0/node-v20.17.0-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule internal/idna","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/streams/utils","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/idna.js","lib/internal/inspector_async_hook.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_fc48d429-f579-45e8-bf03-b8f40cba1391",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.17.0 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_fc48d429-f579-45e8-bf03-b8f40cba1391",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.10.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu22",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"610",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",GOROOT_1_20_X64:"/opt/hostedtoolcache/go/1.20.14/x64",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20240915.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.7/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",JOURNAL_STREAM:"8:6290",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.17.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",npm_config_npm_version:"10.8.2",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"11027463784",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"c7b0e027ac0b5d7e952b951cd0f0482584bacafc",GITHUB_BASE_REF:"",ImageOS:"ubuntu22",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.17.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_869f45d3-ff71-43f5-9b82-440d0334cd1b",INVOCATION_ID:"4184953ec64c49749c61dec1ef6bfa6c",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"439",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 9",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"c7b0e027ac0b5d7e952b951cd0f0482584bacafc",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.17.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_fc48d429-f579-45e8-bf03-b8f40cba1391",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_fc48d429-f579-45e8-bf03-b8f40cba1391",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.17.0/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.1.12297006",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",STATS_EXTP:"https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.189/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.1.12297006",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_fc48d429-f579-45e8-bf03-b8f40cba1391",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.17.0/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2041,ppid:2038,execPath:"/opt/hostedtoolcache/node/20.17.0/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};class ObjectUploader extends streamBrowserify.Transform{constructor(qa,td,rd,nd,ad,sd){super(),this.emptyStream=!0,this.client=qa,this.bucketName=td,this.objectName=rd,this.partSize=nd,this.metaData=ad,this.callback=sd,this.partNumber=1,this.oldParts=null,this.etags=[],this.id=null,this.on("error",ud=>{sd(ud)})}_transform(qa,td,rd){this.emptyStream=!1;let nd="PUT",ad={"Content-Length":qa.length},sd="";if(this.client.enableSHA256||(sd=(void 0)("md5").update(qa).digest(),ad["Content-MD5"]=sd.toString("base64")),this.partNumber==1&&qa.length{if(fd)return rd(fd);let Ad={etag:sanitizeETag(Td.headers.etag),versionId:getVersionId(Td.headers)};Td.on("data",()=>{}),define_process_default$1.nextTick(()=>{this.callback(null,Ad)}),rd()});return}if(this.id===null){this.once("ready",()=>{this._transform(qa,td,rd)}),this.client.findUploadId(this.bucketName,this.objectName,(pd,fd)=>{if(pd)return this.emit("error",pd);if(!fd){this.client.initiateNewMultipartUpload(this.bucketName,this.objectName,this.metaData).then(Td=>{this.id=Td,this.emit("ready")},Td=>rd(Td));return}this.id=fd,this.client.listParts(this.bucketName,this.objectName,fd).then(Td=>{Td||(Td=[]),this.oldParts=Td.reduce(function(Ad,Sd){return Ad[Sd.part]||(Ad[Sd.part]=Sd),Ad},{}),this.emit("ready")},Td=>this.emit("error",Td))});return}let ud=this.partNumber++;if(this.oldParts){let pd=this.oldParts[ud];if(sd||(sd=(void 0)("md5").update(qa).digest()),pd&&sd.toString("hex")===pd.etag){this.etags.push({part:ud,etag:pd.etag}),rd();return}}let cd=queryString.stringify({partNumber:ud,uploadId:this.id}),dd={method:nd,query:cd,headers:ad,bucketName:this.bucketName,objectName:this.objectName};this.client.makeRequest(dd,qa,[200],"",!0,(pd,fd)=>{if(pd)return rd(pd);let Td=fd.headers.etag;Td&&(Td=Td.replace(/^"/,"").replace(/"$/,"")),this.etags.push({part:ud,etag:Td}),fd.on("data",()=>{}),rd()})}_flush(qa){if(this.emptyStream){let td="PUT",rd=Object.assign({},this.metaData,{"Content-Length":0}),nd={method:td,headers:rd,query:"",bucketName:this.bucketName,objectName:this.objectName};this.client.makeRequest(nd,"",[200],"",!0,(ad,sd)=>{if(ad)return qa(ad);let ud={etag:sanitizeETag(sd.headers.etag),versionId:getVersionId(sd.headers)};sd.on("data",()=>{}),define_process_default$1.nextTick(()=>{this.callback(null,ud)}),qa()});return}this.id!==null&&this.client.completeMultipartUpload(this.bucketName,this.objectName,this.id,this.etags,(td,rd)=>{if(td)return qa(td);define_process_default$1.nextTick(()=>{this.callback(null,rd)}),qa()})}}function promisify(Ra){return function(){if(typeof arguments[arguments.length-1]=="function")return Ra.apply(this,arguments);let td=[...arguments];return new Promise((rd,nd)=>{td.push((ad,sd)=>{if(ad)return nd(ad);rd(sd)}),Ra.apply(this,td)})}}class Client extends TypedClient{setAppInfo(qa,td){if(!isString$1(qa))throw new TypeError(`Invalid appName: ${qa}`);if(qa.trim()==="")throw new InvalidArgumentError("Input appName cannot be empty.");if(!isString$1(td))throw new TypeError(`Invalid appVersion: ${td}`);if(td.trim()==="")throw new InvalidArgumentError("Input appVersion cannot be empty.");this.userAgent=`${this.userAgent} ${qa}/${td}`}calculatePartSize(qa){if(!isNumber$1(qa))throw new TypeError('size should be of type "number"');if(qa>this.maxObjectSize)throw new TypeError(`size should not be more than ${this.maxObjectSize}`);if(this.overRidePartSize)return this.partSize;for(var td=this.partSize;;){if(td*1e4>qa)return td;td+=16*1024*1024}}makeBucket(qa,td,rd={},nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(isObject$1(td)&&(nd=rd,rd=td,td=""),isFunction$1(td)&&(nd=td,td="",rd={}),isFunction$1(rd)&&(nd=rd,rd={}),!isString$1(td))throw new TypeError('region should be of type "string"');if(!isObject$1(rd))throw new TypeError('makeOpts should be of type "object"');if(!isFunction$1(nd))throw new TypeError('callback should be of type "function"');var ad="";if(td&&this.region&&td!==this.region)throw new InvalidArgumentError(`Configured region ${this.region}, requested ${td}`);if(td&&td!==DEFAULT_REGION){var sd=[];sd.push({_attr:{xmlns:"http://s3.amazonaws.com/doc/2006-03-01/"}}),sd.push({LocationConstraint:td});var ud={CreateBucketConfiguration:sd};ad=Xml(ud)}var cd="PUT",dd={};rd.ObjectLocking&&(dd["x-amz-bucket-object-lock-enabled"]=!0),td||(td=DEFAULT_REGION);const pd=fd=>{if(fd&&(td===""||td===DEFAULT_REGION))if(fd.code==="AuthorizationHeaderMalformed"&&fd.region!=="")this.makeRequest({method:cd,bucketName:qa,headers:dd},ad,[200],fd.region,!1,nd);else return nd&&nd(fd);return nd&&nd(fd)};this.makeRequest({method:cd,bucketName:qa,headers:dd},ad,[200],td,!1,pd)}listIncompleteUploads(qa,td,rd){if(td===void 0&&(td=""),rd===void 0&&(rd=!1),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidPrefix(td))throw new InvalidPrefixError(`Invalid prefix : ${td}`);if(!isBoolean$1(rd))throw new TypeError('recursive should be of type "boolean"');var nd=rd?"":"/",ad="",sd="",ud=[],cd=!1,dd=streamBrowserify.Readable({objectMode:!0});return dd._read=()=>{if(ud.length)return dd.push(ud.shift());if(cd)return dd.push(null);this.listIncompleteUploadsQuery(qa,td,ad,sd,nd).on("error",pd=>dd.emit("error",pd)).on("data",pd=>{pd.prefixes.forEach(fd=>ud.push(fd)),index.eachSeries(pd.uploads,(fd,Td)=>{this.listParts(qa,fd.key,fd.uploadId).then(Ad=>{fd.size=Ad.reduce((Sd,Dd)=>Sd+Dd.size,0),ud.push(fd),Td()},Td)},fd=>{if(fd){dd.emit("error",fd);return}pd.isTruncated?(ad=pd.nextKeyMarker,sd=pd.nextUploadIdMarker):cd=!0,dd._read()})})},dd}bucketExists(qa,td){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction$1(td))throw new TypeError('callback should be of type "function"');var rd="HEAD";this.makeRequest({method:rd,bucketName:qa},"",[200],"",!1,nd=>{if(nd)return nd.code=="NoSuchBucket"||nd.code=="NotFound"?td(null,!1):td(nd);td(null,!0)})}removeIncompleteUpload(qa,td,rd){if(!isValidBucketName(qa))throw new IsValidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(td))throw new InvalidObjectNameError(`Invalid object name: ${td}`);if(!isFunction$1(rd))throw new TypeError('callback should be of type "function"');var nd;index.during(ad=>{this.findUploadId(qa,td,(sd,ud)=>{if(sd)return ad(sd);nd=ud,ad(null,ud)})},ad=>{var sd="DELETE",ud=`uploadId=${nd}`;this.makeRequest({method:sd,bucketName:qa,objectName:td,query:ud},"",[204],"",!1,cd=>ad(cd))},rd)}fGetObject(qa,td,rd,nd={},ad){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(td))throw new InvalidObjectNameError(`Invalid object name: ${td}`);if(!isString$1(rd))throw new TypeError('filePath should be of type "string"');if(isFunction$1(nd)&&(ad=nd,nd={}),!isFunction$1(ad))throw new TypeError('callback should be of type "function"');var sd,ud,cd,dd=pd=>{if(pd)return ad(pd);(void 0)(sd,rd,ad)};index.waterfall([pd=>this.statObject(qa,td,nd,pd),(pd,fd)=>{cd=pd,(void 0)(pathBrowserify.dirname(rd),{recursive:!0},Td=>fd(Td))},pd=>{sd=`${rd}.${cd.etag}.part.minio`,(void 0)(sd,(fd,Td)=>{var Ad=0;if(fd)ud=(void 0)(sd,{flags:"w"});else{if(cd.size===Td.size)return dd();Ad=Td.size,ud=(void 0)(sd,{flags:"a"})}this.getPartialObject(qa,td,Ad,0,nd,pd)})},(pd,fd)=>{pipesetup(pd,ud).on("error",Td=>fd(Td)).on("finish",fd)},pd=>(void 0)(sd,pd),(pd,fd)=>{if(pd.size===cd.size)return fd();fd(new Error("Size mismatch between downloaded file and the object"))}],dd)}getObject(qa,td,rd={},nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(td))throw new InvalidObjectNameError(`Invalid object name: ${td}`);if(isFunction$1(rd)&&(nd=rd,rd={}),!isFunction$1(nd))throw new TypeError('callback should be of type "function"');this.getPartialObject(qa,td,0,0,rd,nd)}getPartialObject(qa,td,rd,nd,ad={},sd){if(isFunction$1(nd)&&(sd=nd,nd=0),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(td))throw new InvalidObjectNameError(`Invalid object name: ${td}`);if(!isNumber$1(rd))throw new TypeError('offset should be of type "number"');if(!isNumber$1(nd))throw new TypeError('length should be of type "number"');if(isFunction$1(ad)&&(sd=ad,ad={}),!isFunction$1(sd))throw new TypeError('callback should be of type "function"');var ud="";(rd||nd)&&(rd?ud=`bytes=${+rd}-`:(ud="bytes=0-",rd=0),nd&&(ud+=`${+nd+rd-1}`));var cd={};ud!==""&&(cd.range=ud);var dd=[200];ud&&dd.push(206);var pd="GET",fd=queryString.stringify(ad);this.makeRequest({method:pd,bucketName:qa,objectName:td,headers:cd,query:fd},"",dd,"",!0,sd)}fPutObject(qa,td,rd,nd,ad){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(td))throw new InvalidObjectNameError(`Invalid object name: ${td}`);if(!isString$1(rd))throw new TypeError('filePath should be of type "string"');if(isFunction$1(nd)&&(ad=nd,nd={}),!isObject$1(nd))throw new TypeError('metaData should be of type "object"');nd=insertContentType(nd,rd),(void 0)(rd,(sd,ud)=>sd?ad(sd):this.putObject(qa,td,(void 0)(rd),ud.size,nd,ad))}putObject(qa,td,rd,nd,ad,sd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(td))throw new InvalidObjectNameError(`Invalid object name: ${td}`);if(isFunction$1(nd)?(sd=nd,ad={}):isFunction$1(ad)&&(sd=ad,ad={}),isObject$1(nd)&&(ad=nd),ad=prependXAMZMeta(ad),typeof rd=="string"||rd instanceof Buffer$2)nd=rd.length,rd=readableStream(rd);else if(!isReadableStream$1(rd))throw new TypeError('third argument should be of type "stream.Readable" or "Buffer" or "string"');if(!isFunction$1(sd))throw new TypeError('callback should be of type "function"');if(isNumber$1(nd)&&nd<0)throw new InvalidArgumentError(`size cannot be negative, given size: ${nd}`);isNumber$1(nd)||(nd=this.maxObjectSize),nd=this.calculatePartSize(nd);let ud=new BlockStream2({size:nd,zeroPadding:!1}),cd=new ObjectUploader(this,qa,td,nd,ad,sd);pipesetup(rd,ud,cd)}copyObjectV1(qa,td,rd,nd,ad){var sd=qa,ud=td,cd=rd,dd,pd;if(typeof nd=="function"&&ad===void 0?(dd=null,pd=nd):(dd=nd,pd=ad),!isValidBucketName(sd))throw new InvalidBucketNameError("Invalid bucket name: "+sd);if(!isValidObjectName(ud))throw new InvalidObjectNameError(`Invalid object name: ${ud}`);if(!isString$1(cd))throw new TypeError('srcObject should be of type "string"');if(cd==="")throw new InvalidPrefixError("Empty source prefix");if(dd!==null&&!(dd instanceof CopyConditions))throw new TypeError('conditions should be of type "CopyConditions"');var fd={};fd["x-amz-copy-source"]=uriResourceEscape(cd),dd!==null&&(dd.modified!==""&&(fd["x-amz-copy-source-if-modified-since"]=dd.modified),dd.unmodified!==""&&(fd["x-amz-copy-source-if-unmodified-since"]=dd.unmodified),dd.matchETag!==""&&(fd["x-amz-copy-source-if-match"]=dd.matchETag),dd.matchEtagExcept!==""&&(fd["x-amz-copy-source-if-none-match"]=dd.matchETagExcept));var Td="PUT";this.makeRequest({method:Td,bucketName:sd,objectName:ud,headers:fd},"",[200],"",!0,(Ad,Sd)=>{if(Ad)return pd(Ad);var Dd=getCopyObjectTransformer();pipesetup(Sd,Dd).on("error",Ld=>pd(Ld)).on("data",Ld=>pd(null,Ld))})}copyObjectV2(qa,td,rd){if(!(qa instanceof CopySourceOptions))throw new InvalidArgumentError("sourceConfig should of type CopySourceOptions ");if(!(td instanceof CopyDestinationOptions))throw new InvalidArgumentError("destConfig should of type CopyDestinationOptions ");if(!td.validate()||!td.validate())return!1;if(!isFunction$1(rd))throw new TypeError('callback should be of type "function"');const nd=Object.assign({},qa.getHeaders(),td.getHeaders()),ad=td.Bucket,sd=td.Object;this.makeRequest({method:"PUT",bucketName:ad,objectName:sd,headers:nd},"",[200],"",!0,(cd,dd)=>{if(cd)return rd(cd);const pd=getCopyObjectTransformer();pipesetup(dd,pd).on("error",fd=>rd(fd)).on("data",fd=>{const Td=dd.headers,Ad={Bucket:td.Bucket,Key:td.Object,LastModified:fd.LastModified,MetaData:extractMetadata(Td),VersionId:getVersionId(Td),SourceVersionId:getSourceVersionId(Td),Etag:sanitizeETag(Td.etag),Size:+Td["content-length"]};return rd(null,Ad)})})}copyObject(...qa){return qa[0]instanceof CopySourceOptions&&qa[1]instanceof CopyDestinationOptions?this.copyObjectV2(...arguments):this.copyObjectV1(...arguments)}listObjectsQuery(qa,td,rd,nd={}){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isString$1(td))throw new TypeError('prefix should be of type "string"');if(!isString$1(rd))throw new TypeError('marker should be of type "string"');let{Delimiter:ad,MaxKeys:sd,IncludeVersion:ud}=nd;if(!isObject$1(nd))throw new TypeError('listQueryOpts should be of type "object"');if(!isString$1(ad))throw new TypeError('Delimiter should be of type "string"');if(!isNumber$1(sd))throw new TypeError('MaxKeys should be of type "number"');const cd=[];cd.push(`prefix=${uriEscape(td)}`),cd.push(`delimiter=${uriEscape(ad)}`),cd.push("encoding-type=url"),ud&&cd.push("versions"),rd&&(rd=uriEscape(rd),ud?cd.push(`key-marker=${rd}`):cd.push(`marker=${rd}`)),sd&&(sd>=1e3&&(sd=1e3),cd.push(`max-keys=${sd}`)),cd.sort();var dd="";cd.length>0&&(dd=`${cd.join("&")}`);var pd="GET",fd=getListObjectsTransformer();return this.makeRequest({method:pd,bucketName:qa,query:dd},"",[200],"",!0,(Td,Ad)=>{if(Td)return fd.emit("error",Td);pipesetup(Ad,fd)}),fd}listObjects(qa,td,rd,nd={}){if(td===void 0&&(td=""),rd===void 0&&(rd=!1),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidPrefix(td))throw new InvalidPrefixError(`Invalid prefix : ${td}`);if(!isString$1(td))throw new TypeError('prefix should be of type "string"');if(!isBoolean$1(rd))throw new TypeError('recursive should be of type "boolean"');if(!isObject$1(nd))throw new TypeError('listOpts should be of type "object"');var ad="";const sd={Delimiter:rd?"":"/",MaxKeys:1e3,IncludeVersion:nd.IncludeVersion};var ud=[],cd=!1,dd=streamBrowserify.Readable({objectMode:!0});return dd._read=()=>{if(ud.length){dd.push(ud.shift());return}if(cd)return dd.push(null);this.listObjectsQuery(qa,td,ad,sd).on("error",pd=>dd.emit("error",pd)).on("data",pd=>{pd.isTruncated?ad=pd.nextMarker||pd.versionIdMarker:cd=!0,ud=pd.objects,dd._read()})},dd}listObjectsV2Query(qa,td,rd,nd,ad,sd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isString$1(td))throw new TypeError('prefix should be of type "string"');if(!isString$1(rd))throw new TypeError('continuationToken should be of type "string"');if(!isString$1(nd))throw new TypeError('delimiter should be of type "string"');if(!isNumber$1(ad))throw new TypeError('maxKeys should be of type "number"');if(!isString$1(sd))throw new TypeError('startAfter should be of type "string"');var ud=[];ud.push("list-type=2"),ud.push("encoding-type=url"),ud.push(`prefix=${uriEscape(td)}`),ud.push(`delimiter=${uriEscape(nd)}`),rd&&(rd=uriEscape(rd),ud.push(`continuation-token=${rd}`)),sd&&(sd=uriEscape(sd),ud.push(`start-after=${sd}`)),ad&&(ad>=1e3&&(ad=1e3),ud.push(`max-keys=${ad}`)),ud.sort();var cd="";ud.length>0&&(cd=`${ud.join("&")}`);var dd="GET",pd=getListObjectsV2Transformer();return this.makeRequest({method:dd,bucketName:qa,query:cd},"",[200],"",!0,(fd,Td)=>{if(fd)return pd.emit("error",fd);pipesetup(Td,pd)}),pd}listObjectsV2(qa,td,rd,nd){if(td===void 0&&(td=""),rd===void 0&&(rd=!1),nd===void 0&&(nd=""),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidPrefix(td))throw new InvalidPrefixError(`Invalid prefix : ${td}`);if(!isString$1(td))throw new TypeError('prefix should be of type "string"');if(!isBoolean$1(rd))throw new TypeError('recursive should be of type "boolean"');if(!isString$1(nd))throw new TypeError('startAfter should be of type "string"');var ad=rd?"":"/",sd="",ud=[],cd=!1,dd=streamBrowserify.Readable({objectMode:!0});return dd._read=()=>{if(ud.length){dd.push(ud.shift());return}if(cd)return dd.push(null);this.listObjectsV2Query(qa,td,sd,ad,1e3,nd).on("error",pd=>dd.emit("error",pd)).on("data",pd=>{pd.isTruncated?sd=pd.nextContinuationToken:cd=!0,ud=pd.objects,dd._read()})},dd}removeObjects(qa,td,rd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!Array.isArray(td))throw new InvalidArgumentError("objectsList should be a list");if(!isFunction$1(rd))throw new TypeError('callback should be of type "function"');const nd=1e3,ad="delete",sd="POST";let ud=td.reduce((pd,fd)=>(pd.list.push(fd),pd.list.length===nd&&(pd.listOfList.push(pd.list),pd.list=[]),pd),{listOfList:[],list:[]});ud.list.length>0&&ud.listOfList.push(ud.list);const cd=new Encoder,dd=[];index.eachSeries(ud.listOfList,(pd,fd)=>{var Td=[];pd.forEach(function(Od){isObject$1(Od)?Td.push({Key:Od.name,VersionId:Od.versionId}):Td.push({Key:Od})});let Ad={Delete:{Quiet:!0,Object:Td}},Dd=new xml2js.Builder({headless:!0}).buildObject(Ad);Dd=Buffer$2.from(cd.encode(Dd));const Ld={};Ld["Content-MD5"]=toMd5(Dd);let Rd;this.makeRequest({method:sd,bucketName:qa,query:ad,headers:Ld},Dd,[200],"",!0,(Od,Md)=>{if(Od)return fd(Od);pipesetup(Md,removeObjectsTransformer()).on("data",jd=>{Rd=jd}).on("error",jd=>fd(jd,null)).on("end",()=>(dd.push(Rd),fd(null,Rd)))})},()=>{rd(null,_.flatten(dd))})}getBucketPolicy(qa,td){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isFunction$1(td))throw new TypeError('callback should be of type "function"');this.makeRequest({method:"GET",bucketName:qa,query:"policy"},"",[200],"",!0,(ad,sd)=>{if(ad)return td(ad);let ud=Buffer$2.from("");pipesetup(sd,getConcater()).on("data",cd=>ud=cd).on("error",td).on("end",()=>{td(null,ud.toString())})})}setBucketPolicy(qa,td,rd){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isString$1(td))throw new InvalidBucketPolicyError(`Invalid bucket policy: ${td} - must be "string"`);if(!isFunction$1(rd))throw new TypeError('callback should be of type "function"');let nd="DELETE",ad="policy";td&&(nd="PUT"),this.makeRequest({method:nd,bucketName:qa,query:ad},td,[204],"",!1,rd)}presignedUrl(qa,td,rd,nd,ad,sd,ud){if(this.anonymous)throw new AnonymousRequestError("Presigned "+qa+" url cannot be generated for anonymous requests");if(isFunction$1(sd)&&(ud=sd,sd=new Date),isFunction$1(ad)&&(ud=ad,ad={},sd=new Date),isFunction$1(nd)&&(ud=nd,ad={},nd=24*60*60*7,sd=new Date),!isNumber$1(nd))throw new TypeError('expires should be of type "number"');if(!isObject$1(ad))throw new TypeError('reqParams should be of type "object"');if(!isValidDate(sd))throw new TypeError('requestDate should be of type "Date" and valid');if(!isFunction$1(ud))throw new TypeError('callback should be of type "function"');var cd=queryString.stringify(ad);this.getBucketRegion(td,(dd,pd)=>{if(dd)return ud(dd);var fd,Td=this.getRequestOptions({method:qa,region:pd,bucketName:td,objectName:rd,query:cd});this.checkAndRefreshCreds();try{fd=presignSignatureV4(Td,this.accessKey,this.secretKey,this.sessionToken,pd,sd,nd)}catch(Ad){return ud(Ad)}ud(null,fd)})}presignedGetObject(qa,td,rd,nd,ad,sd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(td))throw new InvalidObjectNameError(`Invalid object name: ${td}`);isFunction$1(nd)&&(sd=nd,nd={},ad=new Date);var ud=["response-content-type","response-content-language","response-expires","response-cache-control","response-content-disposition","response-content-encoding"];return ud.forEach(cd=>{if(nd!==void 0&&nd[cd]!==void 0&&!isString$1(nd[cd]))throw new TypeError(`response header ${cd} should be of type "string"`)}),this.presignedUrl("GET",qa,td,rd,nd,ad,sd)}presignedPutObject(qa,td,rd,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isValidObjectName(td))throw new InvalidObjectNameError(`Invalid object name: ${td}`);return this.presignedUrl("PUT",qa,td,rd,nd)}newPostPolicy(){return new PostPolicy}presignedPostPolicy(qa,td){if(this.anonymous)throw new AnonymousRequestError("Presigned POST policy cannot be generated for anonymous requests");if(!isObject$1(qa))throw new TypeError('postPolicy should be of type "object"');if(!isFunction$1(td))throw new TypeError('cb should be of type "function"');this.getBucketRegion(qa.formData.bucket,(rd,nd)=>{if(rd)return td(rd);var ad=new Date,sd=makeDateLong(ad);if(this.checkAndRefreshCreds(),!qa.policy.expiration){var ud=new Date;ud.setSeconds(24*60*60*7),qa.setExpires(ud)}qa.policy.conditions.push(["eq","$x-amz-date",sd]),qa.formData["x-amz-date"]=sd,qa.policy.conditions.push(["eq","$x-amz-algorithm","AWS4-HMAC-SHA256"]),qa.formData["x-amz-algorithm"]="AWS4-HMAC-SHA256",qa.policy.conditions.push(["eq","$x-amz-credential",this.accessKey+"/"+getScope(nd,ad)]),qa.formData["x-amz-credential"]=this.accessKey+"/"+getScope(nd,ad),this.sessionToken&&(qa.policy.conditions.push(["eq","$x-amz-security-token",this.sessionToken]),qa.formData["x-amz-security-token"]=this.sessionToken);var cd=Buffer$2.from(JSON.stringify(qa.policy)).toString("base64");qa.formData.policy=cd;var dd=postPresignSignatureV4(nd,ad,this.secretKey,cd);qa.formData["x-amz-signature"]=dd;var pd={};pd.region=nd,pd.bucketName=qa.formData.bucket;var fd=this.getRequestOptions(pd),Td=this.port==80||this.port===443?"":`:${this.port.toString()}`,Ad=`${fd.protocol}//${fd.host}${Td}${fd.path}`;td(null,{postURL:Ad,formData:qa.formData})})}completeMultipartUpload(qa,td,rd,nd,ad){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(td))throw new InvalidObjectNameError(`Invalid object name: ${td}`);if(!isString$1(rd))throw new TypeError('uploadId should be of type "string"');if(!isObject$1(nd))throw new TypeError('etags should be of type "Array"');if(!isFunction$1(ad))throw new TypeError('cb should be of type "function"');if(!rd)throw new InvalidArgumentError("uploadId cannot be empty");var sd="POST",ud=`uploadId=${uriEscape(rd)}`,cd=[];nd.forEach(fd=>{cd.push({Part:[{PartNumber:fd.part},{ETag:fd.etag}]})});var dd={CompleteMultipartUpload:cd},pd=Xml(dd);this.makeRequest({method:sd,bucketName:qa,objectName:td,query:ud},pd,[200],"",!0,(fd,Td)=>{if(fd)return ad(fd);var Ad=getCompleteMultipartTransformer();pipesetup(Td,Ad).on("error",Sd=>ad(Sd)).on("data",Sd=>{if(Sd.errCode)ad(new S3Error(Sd.errMessage));else{const Dd={etag:Sd.etag,versionId:getVersionId(Td.headers)};ad(null,Dd)}})})}listIncompleteUploadsQuery(qa,td,rd,nd,ad){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isString$1(td))throw new TypeError('prefix should be of type "string"');if(!isString$1(rd))throw new TypeError('keyMarker should be of type "string"');if(!isString$1(nd))throw new TypeError('uploadIdMarker should be of type "string"');if(!isString$1(ad))throw new TypeError('delimiter should be of type "string"');var sd=[];sd.push(`prefix=${uriEscape(td)}`),sd.push(`delimiter=${uriEscape(ad)}`),rd&&(rd=uriEscape(rd),sd.push(`key-marker=${rd}`)),nd&&sd.push(`upload-id-marker=${nd}`);var ud=1e3;sd.push(`max-uploads=${ud}`),sd.sort(),sd.unshift("uploads");var cd="";sd.length>0&&(cd=`${sd.join("&")}`);var dd="GET",pd=getListMultipartTransformer();return this.makeRequest({method:dd,bucketName:qa,query:cd},"",[200],"",!0,(fd,Td)=>{if(fd)return pd.emit("error",fd);pipesetup(Td,pd)}),pd}findUploadId(qa,td,rd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(td))throw new InvalidObjectNameError(`Invalid object name: ${td}`);if(!isFunction$1(rd))throw new TypeError('cb should be of type "function"');var nd,ad=(sd,ud)=>{this.listIncompleteUploadsQuery(qa,td,sd,ud,"").on("error",cd=>rd(cd)).on("data",cd=>{if(cd.uploads.forEach(dd=>{if(dd.key===td&&(!nd||dd.initiated.getTime()>nd.initiated.getTime())){nd=dd;return}}),cd.isTruncated){ad(cd.nextKeyMarker,cd.nextUploadIdMarker);return}if(nd)return rd(null,nd.uploadId);rd(null,void 0)})};ad("","")}setBucketNotification(qa,td,rd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isObject$1(td))throw new TypeError('notification config should be of type "Object"');if(!isFunction$1(rd))throw new TypeError('callback should be of type "function"');var nd="PUT",ad="notification",sd=new xml2js.Builder({rootName:"NotificationConfiguration",renderOpts:{pretty:!1},headless:!0}),ud=sd.buildObject(td);this.makeRequest({method:nd,bucketName:qa,query:ad},ud,[200],"",!1,rd)}removeAllBucketNotification(qa,td){this.setBucketNotification(qa,new NotificationConfig,td)}getBucketNotification(qa,td){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction$1(td))throw new TypeError('callback should be of type "function"');var rd="GET",nd="notification";this.makeRequest({method:rd,bucketName:qa,query:nd},"",[200],"",!0,(ad,sd)=>{if(ad)return td(ad);var ud=getBucketNotificationTransformer(),cd;pipesetup(sd,ud).on("data",dd=>cd=dd).on("error",dd=>td(dd)).on("end",()=>td(null,cd))})}listenBucketNotification(qa,td,rd,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isString$1(td))throw new TypeError("prefix must be of type string");if(!isString$1(rd))throw new TypeError("suffix must be of type string");if(!Array.isArray(nd))throw new TypeError("events must be of type Array");let ad=new NotificationPoller(this,qa,td,rd,nd);return ad.start(),ad}getBucketVersioning(qa,td){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction$1(td))throw new InvalidArgumentError('callback should be of type "function"');var rd="GET",nd="versioning";this.makeRequest({method:rd,bucketName:qa,query:nd},"",[200],"",!0,(ad,sd)=>{if(ad)return td(ad);let ud=Buffer$2.from("");pipesetup(sd,bucketVersioningTransformer()).on("data",cd=>{ud=cd}).on("error",td).on("end",()=>{td(null,ud)})})}setBucketVersioning(qa,td,rd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!Object.keys(td).length)throw new InvalidArgumentError('versionConfig should be of type "object"');if(!isFunction$1(rd))throw new TypeError('callback should be of type "function"');var nd="PUT",ad="versioning",sd=new xml2js.Builder({rootName:"VersioningConfiguration",renderOpts:{pretty:!1},headless:!0}),ud=sd.buildObject(td);this.makeRequest({method:nd,bucketName:qa,query:ad},ud,[200],"",!1,rd)}setTagging(qa){const{bucketName:td,objectName:rd,tags:nd,putOpts:ad={},cb:sd}=qa,ud="PUT";let cd="tagging";ad&&ad.versionId&&(cd=`${cd}&versionId=${ad.versionId}`);const dd=[];for(const[Ld,Rd]of Object.entries(nd))dd.push({Key:Ld,Value:Rd});const pd={Tagging:{TagSet:{Tag:dd}}},fd=new Encoder,Td={};let Sd=new xml2js.Builder({headless:!0,renderOpts:{pretty:!1}}).buildObject(pd);Sd=Buffer$2.from(fd.encode(Sd)),Td["Content-MD5"]=toMd5(Sd);const Dd={method:ud,bucketName:td,query:cd,headers:Td};rd&&(Dd.objectName=rd),Td["Content-MD5"]=toMd5(Sd),this.makeRequest(Dd,Sd,[200],"",!1,sd)}setBucketTagging(qa,td,rd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isObject$1(td))throw new InvalidArgumentError('tags should be of type "object"');if(Object.keys(td).length>10)throw new InvalidArgumentError('maximum tags allowed is 10"');if(!isFunction$1(rd))throw new InvalidArgumentError('callback should be of type "function"');return this.setTagging({bucketName:qa,tags:td,cb:rd})}setObjectTagging(qa,td,rd,nd={},ad){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(td))throw new InvalidBucketNameError("Invalid object name: "+td);if(isFunction$1(nd)&&(ad=nd,nd={}),!isObject$1(rd))throw new InvalidArgumentError('tags should be of type "object"');if(Object.keys(rd).length>10)throw new InvalidArgumentError('Maximum tags allowed is 10"');if(!isFunction$1(ad))throw new TypeError('callback should be of type "function"');return this.setTagging({bucketName:qa,objectName:td,tags:rd,putOpts:nd,cb:ad})}removeTagging({bucketName:qa,objectName:td,removeOpts:rd,cb:nd}){const ad="DELETE";let sd="tagging";rd&&Object.keys(rd).length&&rd.versionId&&(sd=`${sd}&versionId=${rd.versionId}`);const ud={method:ad,bucketName:qa,objectName:td,query:sd};td&&(ud.objectName=td),this.makeRequest(ud,"",[200,204],"",!0,nd)}removeBucketTagging(qa,td){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction$1(td))throw new TypeError('callback should be of type "function"');return this.removeTagging({bucketName:qa,cb:td})}removeObjectTagging(qa,td,rd,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(td))throw new InvalidBucketNameError("Invalid object name: "+td);if(isFunction$1(rd)&&(nd=rd,rd={}),rd&&Object.keys(rd).length&&!isObject$1(rd))throw new InvalidArgumentError('removeOpts should be of type "object"');if(!isFunction$1(nd))throw new TypeError('callback should be of type "function"');return this.removeTagging({bucketName:qa,objectName:td,removeOpts:rd,cb:nd})}getBucketTagging(qa,td){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);const ad={method:"GET",bucketName:qa,query:"tagging"};this.makeRequest(ad,"",[200],"",!0,(sd,ud)=>{var cd=getTagsTransformer();if(sd)return td(sd);let dd;pipesetup(ud,cd).on("data",pd=>dd=pd).on("error",pd=>td(pd)).on("end",()=>td(null,dd))})}getObjectTagging(qa,td,rd={},nd=()=>!1){const ad="GET";let sd="tagging";if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(td))throw new InvalidBucketNameError("Invalid object name: "+td);if(isFunction$1(rd)&&(nd=rd,rd={}),!isObject$1(rd))throw new InvalidArgumentError('getOpts should be of type "object"');if(!isFunction$1(nd))throw new TypeError('callback should be of type "function"');rd&&rd.versionId&&(sd=`${sd}&versionId=${rd.versionId}`);const ud={method:ad,bucketName:qa,query:sd};td&&(ud.objectName=td),this.makeRequest(ud,"",[200],"",!0,(cd,dd)=>{const pd=getTagsTransformer();if(cd)return nd(cd);let fd;pipesetup(dd,pd).on("data",Td=>fd=Td).on("error",Td=>nd(Td)).on("end",()=>nd(null,fd))})}applyBucketLifecycle(qa,td,rd){const nd="PUT",ad="lifecycle",sd=new Encoder,ud={};let dd=new xml2js.Builder({rootName:"LifecycleConfiguration",headless:!0,renderOpts:{pretty:!1}}).buildObject(td);dd=Buffer$2.from(sd.encode(dd));const pd={method:nd,bucketName:qa,query:ad,headers:ud};ud["Content-MD5"]=toMd5(dd),this.makeRequest(pd,dd,[200],"",!1,rd)}removeBucketLifecycle(qa,td){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);this.makeRequest({method:"DELETE",bucketName:qa,query:"lifecycle"},"",[204],"",!1,td)}setBucketLifecycle(qa,td=null,rd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);_.isEmpty(td)?this.removeBucketLifecycle(qa,rd):this.applyBucketLifecycle(qa,td,rd)}getBucketLifecycle(qa,td){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);const ad={method:"GET",bucketName:qa,query:"lifecycle"};this.makeRequest(ad,"",[200],"",!0,(sd,ud)=>{const cd=lifecycleTransformer();if(sd)return td(sd);let dd;pipesetup(ud,cd).on("data",pd=>dd=pd).on("error",pd=>td(pd)).on("end",()=>td(null,dd))})}setObjectLockConfig(qa,td={},rd){const nd=[RETENTION_MODES.COMPLIANCE,RETENTION_MODES.GOVERNANCE],ad=[RETENTION_VALIDITY_UNITS.DAYS,RETENTION_VALIDITY_UNITS.YEARS];if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(td.mode&&!nd.includes(td.mode))throw new TypeError(`lockConfigOpts.mode should be one of ${nd}`);if(td.unit&&!ad.includes(td.unit))throw new TypeError(`lockConfigOpts.unit should be one of ${ad}`);if(td.validity&&!isNumber$1(td.validity))throw new TypeError("lockConfigOpts.validity should be a number");const sd="PUT",ud="object-lock";let cd={ObjectLockEnabled:"Enabled"};const dd=Object.keys(td);if(dd.length>0){if(_.difference(dd,["unit","mode","validity"]).length!==0)throw new TypeError("lockConfigOpts.mode,lockConfigOpts.unit,lockConfigOpts.validity all the properties should be specified.");cd.Rule={DefaultRetention:{}},td.mode&&(cd.Rule.DefaultRetention.Mode=td.mode),td.unit===RETENTION_VALIDITY_UNITS.DAYS?cd.Rule.DefaultRetention.Days=td.validity:td.unit===RETENTION_VALIDITY_UNITS.YEARS&&(cd.Rule.DefaultRetention.Years=td.validity)}const fd=new xml2js.Builder({rootName:"ObjectLockConfiguration",renderOpts:{pretty:!1},headless:!0}).buildObject(cd),Td={};Td["Content-MD5"]=toMd5(fd),this.makeRequest({method:sd,bucketName:qa,query:ud,headers:Td},fd,[200],"",!1,rd)}getObjectLockConfig(qa,td){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction$1(td))throw new InvalidArgumentError('callback should be of type "function"');this.makeRequest({method:"GET",bucketName:qa,query:"object-lock"},"",[200],"",!0,(ad,sd)=>{if(ad)return td(ad);let ud=Buffer$2.from("");pipesetup(sd,objectLockTransformer()).on("data",cd=>{ud=cd}).on("error",td).on("end",()=>{td(null,ud)})})}putObjectRetention(qa,td,rd={},nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(td))throw new InvalidObjectNameError(`Invalid object name: ${td}`);if(isObject$1(rd)){if(rd.governanceBypass&&!isBoolean$1(rd.governanceBypass))throw new InvalidArgumentError("Invalid value for governanceBypass",rd.governanceBypass);if(rd.mode&&![RETENTION_MODES.COMPLIANCE,RETENTION_MODES.GOVERNANCE].includes(rd.mode))throw new InvalidArgumentError("Invalid object retention mode ",rd.mode);if(rd.retainUntilDate&&!isString$1(rd.retainUntilDate))throw new InvalidArgumentError("Invalid value for retainUntilDate",rd.retainUntilDate);if(rd.versionId&&!isString$1(rd.versionId))throw new InvalidArgumentError("Invalid value for versionId",rd.versionId)}else throw new InvalidArgumentError('retentionOpts should be of type "object"');if(!isFunction$1(nd))throw new TypeError('callback should be of type "function"');const ad="PUT";let sd="retention";const ud={};rd.governanceBypass&&(ud["X-Amz-Bypass-Governance-Retention"]=!0);const cd=new xml2js.Builder({rootName:"Retention",renderOpts:{pretty:!1},headless:!0}),dd={};rd.mode&&(dd.Mode=rd.mode),rd.retainUntilDate&&(dd.RetainUntilDate=rd.retainUntilDate),rd.versionId&&(sd+=`&versionId=${rd.versionId}`);let pd=cd.buildObject(dd);ud["Content-MD5"]=toMd5(pd),this.makeRequest({method:ad,bucketName:qa,objectName:td,query:sd,headers:ud},pd,[200,204],"",!1,nd)}getObjectRetention(qa,td,rd,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(td))throw new InvalidObjectNameError(`Invalid object name: ${td}`);if(isObject$1(rd)){if(rd.versionId&&!isString$1(rd.versionId))throw new InvalidArgumentError('VersionID should be of type "string"')}else throw new InvalidArgumentError('callback should be of type "object"');if(nd&&!isFunction$1(nd))throw new InvalidArgumentError('callback should be of type "function"');const ad="GET";let sd="retention";rd.versionId&&(sd+=`&versionId=${rd.versionId}`),this.makeRequest({method:ad,bucketName:qa,objectName:td,query:sd},"",[200],"",!0,(ud,cd)=>{if(ud)return nd(ud);let dd=Buffer$2.from("");pipesetup(cd,objectRetentionTransformer()).on("data",pd=>{dd=pd}).on("error",nd).on("end",()=>{nd(null,dd)})})}setBucketEncryption(qa,td,rd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(isFunction$1(td)&&(rd=td,td=null),!_.isEmpty(td)&&td.Rule.length>1)throw new InvalidArgumentError("Invalid Rule length. Only one rule is allowed.: "+td.Rule);if(rd&&!isFunction$1(rd))throw new TypeError('callback should be of type "function"');let nd=td;_.isEmpty(td)&&(nd={Rule:[{ApplyServerSideEncryptionByDefault:{SSEAlgorithm:"AES256"}}]});let ad="PUT",sd="encryption",cd=new xml2js.Builder({rootName:"ServerSideEncryptionConfiguration",renderOpts:{pretty:!1},headless:!0}).buildObject(nd);const dd={};dd["Content-MD5"]=toMd5(cd),this.makeRequest({method:ad,bucketName:qa,query:sd,headers:dd},cd,[200],"",!1,rd)}getBucketEncryption(qa,td){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction$1(td))throw new InvalidArgumentError('callback should be of type "function"');this.makeRequest({method:"GET",bucketName:qa,query:"encryption"},"",[200],"",!0,(ad,sd)=>{if(ad)return td(ad);let ud=Buffer$2.from("");pipesetup(sd,bucketEncryptionTransformer()).on("data",cd=>{ud=cd}).on("error",td).on("end",()=>{td(null,ud)})})}removeBucketEncryption(qa,td){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction$1(td))throw new InvalidArgumentError('callback should be of type "function"');this.makeRequest({method:"DELETE",bucketName:qa,query:"encryption"},"",[204],"",!1,td)}getObjectLegalHold(qa,td,rd={},nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(td))throw new InvalidObjectNameError(`Invalid object name: ${td}`);if(isFunction$1(rd)&&(nd=rd,rd={}),isObject$1(rd)){if(Object.keys(rd).length>0&&rd.versionId&&!isString$1(rd.versionId))throw new TypeError("versionId should be of type string.:",rd.versionId)}else throw new TypeError('getOpts should be of type "Object"');if(!isFunction$1(nd))throw new InvalidArgumentError('callback should be of type "function"');const ad="GET";let sd="legal-hold";rd.versionId&&(sd+=`&versionId=${rd.versionId}`),this.makeRequest({method:ad,bucketName:qa,objectName:td,query:sd},"",[200],"",!0,(ud,cd)=>{if(ud)return nd(ud);let dd=Buffer$2.from("");pipesetup(cd,objectLegalHoldTransformer()).on("data",pd=>{dd=pd}).on("error",nd).on("end",()=>{nd(null,dd)})})}setObjectLegalHold(qa,td,rd={},nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(td))throw new InvalidObjectNameError(`Invalid object name: ${td}`);const ad={status:LEGAL_HOLD_STATUS.ENABLED};if(isFunction$1(rd)&&(nd=rd,rd=ad),isObject$1(rd)){if(![LEGAL_HOLD_STATUS.ENABLED,LEGAL_HOLD_STATUS.DISABLED].includes(rd.status))throw new TypeError("Invalid status: "+rd.status);if(rd.versionId&&!rd.versionId.length)throw new TypeError("versionId should be of type string.:"+rd.versionId)}else throw new TypeError('setOpts should be of type "Object"');if(!isFunction$1(nd))throw new InvalidArgumentError('callback should be of type "function"');_.isEmpty(rd)&&(rd={defaultOpts:ad});const sd="PUT";let ud="legal-hold";rd.versionId&&(ud+=`&versionId=${rd.versionId}`);let cd={Status:rd.status};const pd=new xml2js.Builder({rootName:"LegalHold",renderOpts:{pretty:!1},headless:!0}).buildObject(cd),fd={};fd["Content-MD5"]=toMd5(pd),this.makeRequest({method:sd,bucketName:qa,objectName:td,query:ud,headers:fd},pd,[200],"",!1,nd)}uploadPartCopy(qa,td){const{bucketName:rd,objectName:nd,uploadID:ad,partNumber:sd,headers:ud}=qa,cd="PUT";let dd=`uploadId=${ad}&partNumber=${sd}`;const pd={method:cd,bucketName:rd,objectName:nd,query:dd,headers:ud};return this.makeRequest(pd,"",[200],"",!0,(fd,Td)=>{let Ad=Buffer$2.from("");if(fd)return td(fd);pipesetup(Td,uploadPartTransformer()).on("data",Sd=>{Ad=Sd}).on("error",td).on("end",()=>{let Sd={etag:sanitizeETag(Ad.ETag),key:nd,part:sd};td(null,Sd)})})}composeObject(qa={},td=[],rd){const nd=this,ad=td.length;if(!Array.isArray(td))throw new InvalidArgumentError("sourceConfig should an array of CopySourceOptions ");if(!(qa instanceof CopyDestinationOptions))throw new InvalidArgumentError("destConfig should of type CopyDestinationOptions ");if(ad<1||ad>PART_CONSTRAINTS.MAX_PARTS_COUNT)throw new InvalidArgumentError(`"There must be as least one and up to ${PART_CONSTRAINTS.MAX_PARTS_COUNT} source objects.`);if(!isFunction$1(rd))throw new TypeError('callback should be of type "function"');for(let fd=0;fd{let Td={};return _.isEmpty(fd.VersionID)||(Td={versionId:fd.VersionID}),Td},ud=[];let cd=0,dd=0;const pd=td.map(fd=>nd.statObject(fd.Bucket,fd.Object,sd(fd)));return Promise.all(pd).then(fd=>{const Td=fd.map((Rd,Od)=>{const Md=td[Od];let jd=Rd.size;if(Md.MatchRange){const Ud=Md.Start,Hd=Md.End;if(Hd>=jd||Ud<0)throw new InvalidArgumentError(`CopySrcOptions ${Od} has invalid segment-to-copy [${Ud}, ${Hd}] (size is ${jd})`);jd=Hd-Ud+1}if(jdPART_CONSTRAINTS.MAX_MULTIPART_PUT_OBJECT_SIZE)throw new InvalidArgumentError(`Cannot compose an object of size ${cd} (> 5TiB)`);if(ud[Od]=jd,dd+=partsRequired(jd),dd>PART_CONSTRAINTS.MAX_PARTS_COUNT)throw new InvalidArgumentError(`Your proposed compose object requires more than ${PART_CONSTRAINTS.MAX_PARTS_COUNT} parts`);return Rd});if(dd===1&&cd<=PART_CONSTRAINTS.MAX_PART_SIZE||cd===0)return this.copyObject(td[0],qa,rd);for(let Rd=0;RdcalculateEvenSplits(ud[Od],td[Od]));function Sd(Rd){const Od=[];return Ad.forEach((Md,jd)=>{const{startIndex:Ud,endIndex:Hd,objInfo:zd}=Md;let Zd=jd+1;const Wd=Array.from(Ud),Qd=td[jd].getHeaders();Wd.forEach((Jd,hf)=>{let bf=Hd[hf];const Ef=`${zd.Bucket}/${zd.Object}`;Qd["x-amz-copy-source"]=`${Ef}`,Qd["x-amz-copy-source-range"]=`bytes=${Jd}-${bf}`;const _f={bucketName:qa.Bucket,objectName:qa.Object,uploadID:Rd,partNumber:Zd,headers:Qd,sourceObj:Ef};Od.push(_f)})}),Od}const Dd=Rd=>{const Od=Sd(Rd);index.map(Od,nd.uploadPartCopy.bind(nd),(Md,jd)=>{if(Md){this.abortMultipartUpload(qa.Bucket,qa.Object,Rd).then(()=>rd(),Hd=>rd(Hd));return}const Ud=jd.map(Hd=>({etag:Hd.etag,part:Hd.part}));return nd.completeMultipartUpload(qa.Bucket,qa.Object,Rd,Ud,rd)})},Ld=qa.getHeaders();nd.initiateNewMultipartUpload(qa.Bucket,qa.Object,Ld).then(Rd=>{Dd(Rd)},Rd=>{rd(Rd,null)})}).catch(fd=>{rd(fd,null)})}selectObjectContent(qa,td,rd={},nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isValidObjectName(td))throw new InvalidObjectNameError(`Invalid object name: ${td}`);if(_.isEmpty(rd))throw new TypeError("valid select configuration is required");if(!isString$1(rd.expression))throw new TypeError('sqlExpression should be of type "string"');if(_.isEmpty(rd.inputSerialization))throw new TypeError("inputSerialization is required");if(!isObject$1(rd.inputSerialization))throw new TypeError('inputSerialization should be of type "object"');if(_.isEmpty(rd.outputSerialization))throw new TypeError("outputSerialization is required");if(!isObject$1(rd.outputSerialization))throw new TypeError('outputSerialization should be of type "object"');if(!isFunction$1(nd))throw new TypeError('callback should be of type "function"');const ad="POST";let sd="select";sd+="&select-type=2";const ud=[{Expression:rd.expression},{ExpressionType:rd.expressionType||"SQL"},{InputSerialization:[rd.inputSerialization]},{OutputSerialization:[rd.outputSerialization]}];rd.requestProgress&&ud.push({RequestProgress:rd.requestProgress}),rd.scanRange&&ud.push({ScanRange:rd.scanRange});const dd=new xml2js.Builder({rootName:"SelectObjectContentRequest",renderOpts:{pretty:!1},headless:!0}).buildObject(ud);this.makeRequest({method:ad,bucketName:qa,objectName:td,query:sd},dd,[200],"",!0,(pd,fd)=>{if(pd)return nd(pd);let Td;pipesetup(fd,selectObjectContentTransformer()).on("data",Ad=>{Td=parseSelectObjectContentResponse(Ad)}).on("error",nd).on("end",()=>{nd(null,Td)})})}}Client.prototype.makeBucket=promisify(Client.prototype.makeBucket);Client.prototype.bucketExists=promisify(Client.prototype.bucketExists);Client.prototype.getObject=promisify(Client.prototype.getObject);Client.prototype.getPartialObject=promisify(Client.prototype.getPartialObject);Client.prototype.fGetObject=promisify(Client.prototype.fGetObject);Client.prototype.putObject=promisify(Client.prototype.putObject);Client.prototype.fPutObject=promisify(Client.prototype.fPutObject);Client.prototype.copyObject=promisify(Client.prototype.copyObject);Client.prototype.removeObjects=promisify(Client.prototype.removeObjects);Client.prototype.presignedUrl=promisify(Client.prototype.presignedUrl);Client.prototype.presignedGetObject=promisify(Client.prototype.presignedGetObject);Client.prototype.presignedPutObject=promisify(Client.prototype.presignedPutObject);Client.prototype.presignedPostPolicy=promisify(Client.prototype.presignedPostPolicy);Client.prototype.getBucketNotification=promisify(Client.prototype.getBucketNotification);Client.prototype.setBucketNotification=promisify(Client.prototype.setBucketNotification);Client.prototype.removeAllBucketNotification=promisify(Client.prototype.removeAllBucketNotification);Client.prototype.getBucketPolicy=promisify(Client.prototype.getBucketPolicy);Client.prototype.setBucketPolicy=promisify(Client.prototype.setBucketPolicy);Client.prototype.removeIncompleteUpload=promisify(Client.prototype.removeIncompleteUpload);Client.prototype.getBucketVersioning=promisify(Client.prototype.getBucketVersioning);Client.prototype.setBucketVersioning=promisify(Client.prototype.setBucketVersioning);Client.prototype.setBucketTagging=promisify(Client.prototype.setBucketTagging);Client.prototype.removeBucketTagging=promisify(Client.prototype.removeBucketTagging);Client.prototype.getBucketTagging=promisify(Client.prototype.getBucketTagging);Client.prototype.setObjectTagging=promisify(Client.prototype.setObjectTagging);Client.prototype.removeObjectTagging=promisify(Client.prototype.removeObjectTagging);Client.prototype.getObjectTagging=promisify(Client.prototype.getObjectTagging);Client.prototype.setBucketLifecycle=promisify(Client.prototype.setBucketLifecycle);Client.prototype.getBucketLifecycle=promisify(Client.prototype.getBucketLifecycle);Client.prototype.removeBucketLifecycle=promisify(Client.prototype.removeBucketLifecycle);Client.prototype.setObjectLockConfig=promisify(Client.prototype.setObjectLockConfig);Client.prototype.getObjectLockConfig=promisify(Client.prototype.getObjectLockConfig);Client.prototype.putObjectRetention=promisify(Client.prototype.putObjectRetention);Client.prototype.getObjectRetention=promisify(Client.prototype.getObjectRetention);Client.prototype.setBucketEncryption=promisify(Client.prototype.setBucketEncryption);Client.prototype.getBucketEncryption=promisify(Client.prototype.getBucketEncryption);Client.prototype.removeBucketEncryption=promisify(Client.prototype.removeBucketEncryption);Client.prototype.setObjectLegalHold=promisify(Client.prototype.setObjectLegalHold);Client.prototype.getObjectLegalHold=promisify(Client.prototype.getObjectLegalHold);Client.prototype.composeObject=promisify(Client.prototype.composeObject);Client.prototype.selectObjectContent=promisify(Client.prototype.selectObjectContent);Client.prototype.removeObject=callbackify(Client.prototype.removeObject);Client.prototype.statObject=callbackify(Client.prototype.statObject);Client.prototype.removeBucket=callbackify(Client.prototype.removeBucket);Client.prototype.listBuckets=callbackify(Client.prototype.listBuckets);Client.prototype.removeBucketReplication=callbackify(Client.prototype.removeBucketReplication);Client.prototype.setBucketReplication=callbackify(Client.prototype.setBucketReplication);Client.prototype.getBucketReplication=callbackify(Client.prototype.getBucketReplication);var __extends$3=function(){var Ra=function(qa,td){return Ra=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(rd,nd){rd.__proto__=nd}||function(rd,nd){for(var ad in nd)nd.hasOwnProperty(ad)&&(rd[ad]=nd[ad])},Ra(qa,td)};return function(qa,td){Ra(qa,td);function rd(){this.constructor=qa}qa.prototype=td===null?Object.create(td):(rd.prototype=td.prototype,new rd)}}(),QiniuErrorName;(function(Ra){Ra.InvalidFile="InvalidFile",Ra.InvalidToken="InvalidToken",Ra.InvalidMetadata="InvalidMetadata",Ra.InvalidChunkSize="InvalidChunkSize",Ra.InvalidCustomVars="InvalidCustomVars",Ra.NotAvailableUploadHost="NotAvailableUploadHost",Ra.ReadCacheFailed="ReadCacheFailed",Ra.InvalidCacheData="InvalidCacheData",Ra.WriteCacheFailed="WriteCacheFailed",Ra.RemoveCacheFailed="RemoveCacheFailed",Ra.GetCanvasContextFailed="GetCanvasContextFailed",Ra.UnsupportedFileType="UnsupportedFileType",Ra.FileReaderReadFailed="FileReaderReadFailed",Ra.NotAvailableXMLHttpRequest="NotAvailableXMLHttpRequest",Ra.InvalidProgressEventTarget="InvalidProgressEventTarget",Ra.RequestError="RequestError"})(QiniuErrorName||(QiniuErrorName={}));var QiniuError=function(){function Ra(qa,td){this.name=qa,this.message=td,this.stack=new Error().stack}return Ra}(),QiniuRequestError=function(Ra){__extends$3(qa,Ra);function qa(td,rd,nd,ad){var sd=Ra.call(this,QiniuErrorName.RequestError,nd)||this;return sd.code=td,sd.reqId=rd,sd.isRequestError=!0,sd.data=ad,sd}return qa}(QiniuError),QiniuNetworkError=function(Ra){__extends$3(qa,Ra);function qa(td,rd){return rd===void 0&&(rd=""),Ra.call(this,0,rd,td)||this}return qa}(QiniuRequestError),Pool=function(){function Ra(qa,td){this.runTask=qa,this.limit=td,this.aborted=!1,this.queue=[],this.processing=[]}return Ra.prototype.enqueue=function(qa){var td=this;return new Promise(function(rd,nd){td.queue.push({task:qa,resolve:rd,reject:nd}),td.check()})},Ra.prototype.run=function(qa){var td=this;this.queue=this.queue.filter(function(rd){return rd!==qa}),this.processing.push(qa),this.runTask(qa.task).then(function(){td.processing=td.processing.filter(function(rd){return rd!==qa}),qa.resolve(),td.check()},function(rd){return qa.reject(rd)})},Ra.prototype.check=function(){var qa=this;if(!this.aborted){var td=this.processing.length,rd=this.limit-td;this.queue.slice(0,rd).forEach(function(nd){qa.run(nd)})}},Ra.prototype.abort=function(){this.queue=[],this.aborted=!0},Ra}(),__extends$2=function(){var Ra=function(qa,td){return Ra=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(rd,nd){rd.__proto__=nd}||function(rd,nd){for(var ad in nd)nd.hasOwnProperty(ad)&&(rd[ad]=nd[ad])},Ra(qa,td)};return function(qa,td){Ra(qa,td);function rd(){this.constructor=qa}qa.prototype=td===null?Object.create(td):(rd.prototype=td.prototype,new rd)}}(),__assign$6=function(){return __assign$6=Object.assign||function(Ra){for(var qa,td=1,rd=arguments.length;td"u")return"";var qa=Ra+"",td="",rd,nd,ad=0;rd=nd=0,ad=qa.length;for(var sd=0;sd127&&ud<2048)cd=String.fromCharCode(ud>>6|192,ud&63|128);else if((ud&63488^55296)>0)cd=String.fromCharCode(ud>>12|224,ud>>6&63|128,ud&63|128);else{if((ud&64512^55296)>0)throw new RangeError("Unmatched trail surrogate at "+sd);var dd=qa.charCodeAt(++sd);if((dd&64512^56320)>0)throw new RangeError("Unmatched lead surrogate at "+(sd-1));ud=((ud&1023)<<10)+(dd&1023)+65536,cd=String.fromCharCode(ud>>18|240,ud>>12&63|128,ud>>6&63|128,ud&63|128)}cd!==null&&(nd>rd&&(td+=qa.slice(rd,nd)),td+=cd,rd=nd=sd+1)}return nd>rd&&(td+=qa.slice(rd,ad)),td}function utf8Decode(Ra){var qa=[],td=0,rd=0,nd=0;for(Ra+="";td>10&1023)),qa.push(String.fromCharCode(56320|rd&1023))):qa.push(String.fromCharCode(rd)),td+=nd}return qa.join("")}function base64Encode(Ra){var qa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",td,rd,nd,ad,sd,ud,cd,dd,pd=0,fd=0,Td="",Ad=[];if(!Ra)return Ra;Ra=utf8Encode(Ra+"");do td=Ra.charCodeAt(pd++),rd=Ra.charCodeAt(pd++),nd=Ra.charCodeAt(pd++),dd=td<<16|rd<<8|nd,ad=dd>>18&63,sd=dd>>12&63,ud=dd>>6&63,cd=dd&63,Ad[fd++]=qa.charAt(ad)+qa.charAt(sd)+qa.charAt(ud)+qa.charAt(cd);while(pd>16&255,rd=dd>>8&255,nd=dd&255,ud===64?Ad[fd++]=String.fromCharCode(td):cd===64?Ad[fd++]=String.fromCharCode(td,rd):Ad[fd++]=String.fromCharCode(td,rd,nd);while(pd>>25)+jd|0,Hd+=(Md&jd|~Md&Ud)+Od[1]-389564586|0,Hd=(Hd<<12|Hd>>>20)+Md|0,Ud+=(Hd&Md|~Hd&jd)+Od[2]+606105819|0,Ud=(Ud<<17|Ud>>>15)+Hd|0,jd+=(Ud&Hd|~Ud&Md)+Od[3]-1044525330|0,jd=(jd<<22|jd>>>10)+Ud|0,Md+=(jd&Ud|~jd&Hd)+Od[4]-176418897|0,Md=(Md<<7|Md>>>25)+jd|0,Hd+=(Md&jd|~Md&Ud)+Od[5]+1200080426|0,Hd=(Hd<<12|Hd>>>20)+Md|0,Ud+=(Hd&Md|~Hd&jd)+Od[6]-1473231341|0,Ud=(Ud<<17|Ud>>>15)+Hd|0,jd+=(Ud&Hd|~Ud&Md)+Od[7]-45705983|0,jd=(jd<<22|jd>>>10)+Ud|0,Md+=(jd&Ud|~jd&Hd)+Od[8]+1770035416|0,Md=(Md<<7|Md>>>25)+jd|0,Hd+=(Md&jd|~Md&Ud)+Od[9]-1958414417|0,Hd=(Hd<<12|Hd>>>20)+Md|0,Ud+=(Hd&Md|~Hd&jd)+Od[10]-42063|0,Ud=(Ud<<17|Ud>>>15)+Hd|0,jd+=(Ud&Hd|~Ud&Md)+Od[11]-1990404162|0,jd=(jd<<22|jd>>>10)+Ud|0,Md+=(jd&Ud|~jd&Hd)+Od[12]+1804603682|0,Md=(Md<<7|Md>>>25)+jd|0,Hd+=(Md&jd|~Md&Ud)+Od[13]-40341101|0,Hd=(Hd<<12|Hd>>>20)+Md|0,Ud+=(Hd&Md|~Hd&jd)+Od[14]-1502002290|0,Ud=(Ud<<17|Ud>>>15)+Hd|0,jd+=(Ud&Hd|~Ud&Md)+Od[15]+1236535329|0,jd=(jd<<22|jd>>>10)+Ud|0,Md+=(jd&Hd|Ud&~Hd)+Od[1]-165796510|0,Md=(Md<<5|Md>>>27)+jd|0,Hd+=(Md&Ud|jd&~Ud)+Od[6]-1069501632|0,Hd=(Hd<<9|Hd>>>23)+Md|0,Ud+=(Hd&jd|Md&~jd)+Od[11]+643717713|0,Ud=(Ud<<14|Ud>>>18)+Hd|0,jd+=(Ud&Md|Hd&~Md)+Od[0]-373897302|0,jd=(jd<<20|jd>>>12)+Ud|0,Md+=(jd&Hd|Ud&~Hd)+Od[5]-701558691|0,Md=(Md<<5|Md>>>27)+jd|0,Hd+=(Md&Ud|jd&~Ud)+Od[10]+38016083|0,Hd=(Hd<<9|Hd>>>23)+Md|0,Ud+=(Hd&jd|Md&~jd)+Od[15]-660478335|0,Ud=(Ud<<14|Ud>>>18)+Hd|0,jd+=(Ud&Md|Hd&~Md)+Od[4]-405537848|0,jd=(jd<<20|jd>>>12)+Ud|0,Md+=(jd&Hd|Ud&~Hd)+Od[9]+568446438|0,Md=(Md<<5|Md>>>27)+jd|0,Hd+=(Md&Ud|jd&~Ud)+Od[14]-1019803690|0,Hd=(Hd<<9|Hd>>>23)+Md|0,Ud+=(Hd&jd|Md&~jd)+Od[3]-187363961|0,Ud=(Ud<<14|Ud>>>18)+Hd|0,jd+=(Ud&Md|Hd&~Md)+Od[8]+1163531501|0,jd=(jd<<20|jd>>>12)+Ud|0,Md+=(jd&Hd|Ud&~Hd)+Od[13]-1444681467|0,Md=(Md<<5|Md>>>27)+jd|0,Hd+=(Md&Ud|jd&~Ud)+Od[2]-51403784|0,Hd=(Hd<<9|Hd>>>23)+Md|0,Ud+=(Hd&jd|Md&~jd)+Od[7]+1735328473|0,Ud=(Ud<<14|Ud>>>18)+Hd|0,jd+=(Ud&Md|Hd&~Md)+Od[12]-1926607734|0,jd=(jd<<20|jd>>>12)+Ud|0,Md+=(jd^Ud^Hd)+Od[5]-378558|0,Md=(Md<<4|Md>>>28)+jd|0,Hd+=(Md^jd^Ud)+Od[8]-2022574463|0,Hd=(Hd<<11|Hd>>>21)+Md|0,Ud+=(Hd^Md^jd)+Od[11]+1839030562|0,Ud=(Ud<<16|Ud>>>16)+Hd|0,jd+=(Ud^Hd^Md)+Od[14]-35309556|0,jd=(jd<<23|jd>>>9)+Ud|0,Md+=(jd^Ud^Hd)+Od[1]-1530992060|0,Md=(Md<<4|Md>>>28)+jd|0,Hd+=(Md^jd^Ud)+Od[4]+1272893353|0,Hd=(Hd<<11|Hd>>>21)+Md|0,Ud+=(Hd^Md^jd)+Od[7]-155497632|0,Ud=(Ud<<16|Ud>>>16)+Hd|0,jd+=(Ud^Hd^Md)+Od[10]-1094730640|0,jd=(jd<<23|jd>>>9)+Ud|0,Md+=(jd^Ud^Hd)+Od[13]+681279174|0,Md=(Md<<4|Md>>>28)+jd|0,Hd+=(Md^jd^Ud)+Od[0]-358537222|0,Hd=(Hd<<11|Hd>>>21)+Md|0,Ud+=(Hd^Md^jd)+Od[3]-722521979|0,Ud=(Ud<<16|Ud>>>16)+Hd|0,jd+=(Ud^Hd^Md)+Od[6]+76029189|0,jd=(jd<<23|jd>>>9)+Ud|0,Md+=(jd^Ud^Hd)+Od[9]-640364487|0,Md=(Md<<4|Md>>>28)+jd|0,Hd+=(Md^jd^Ud)+Od[12]-421815835|0,Hd=(Hd<<11|Hd>>>21)+Md|0,Ud+=(Hd^Md^jd)+Od[15]+530742520|0,Ud=(Ud<<16|Ud>>>16)+Hd|0,jd+=(Ud^Hd^Md)+Od[2]-995338651|0,jd=(jd<<23|jd>>>9)+Ud|0,Md+=(Ud^(jd|~Hd))+Od[0]-198630844|0,Md=(Md<<6|Md>>>26)+jd|0,Hd+=(jd^(Md|~Ud))+Od[7]+1126891415|0,Hd=(Hd<<10|Hd>>>22)+Md|0,Ud+=(Md^(Hd|~jd))+Od[14]-1416354905|0,Ud=(Ud<<15|Ud>>>17)+Hd|0,jd+=(Hd^(Ud|~Md))+Od[5]-57434055|0,jd=(jd<<21|jd>>>11)+Ud|0,Md+=(Ud^(jd|~Hd))+Od[12]+1700485571|0,Md=(Md<<6|Md>>>26)+jd|0,Hd+=(jd^(Md|~Ud))+Od[3]-1894986606|0,Hd=(Hd<<10|Hd>>>22)+Md|0,Ud+=(Md^(Hd|~jd))+Od[10]-1051523|0,Ud=(Ud<<15|Ud>>>17)+Hd|0,jd+=(Hd^(Ud|~Md))+Od[1]-2054922799|0,jd=(jd<<21|jd>>>11)+Ud|0,Md+=(Ud^(jd|~Hd))+Od[8]+1873313359|0,Md=(Md<<6|Md>>>26)+jd|0,Hd+=(jd^(Md|~Ud))+Od[15]-30611744|0,Hd=(Hd<<10|Hd>>>22)+Md|0,Ud+=(Md^(Hd|~jd))+Od[6]-1560198380|0,Ud=(Ud<<15|Ud>>>17)+Hd|0,jd+=(Hd^(Ud|~Md))+Od[13]+1309151649|0,jd=(jd<<21|jd>>>11)+Ud|0,Md+=(Ud^(jd|~Hd))+Od[4]-145523070|0,Md=(Md<<6|Md>>>26)+jd|0,Hd+=(jd^(Md|~Ud))+Od[11]-1120210379|0,Hd=(Hd<<10|Hd>>>22)+Md|0,Ud+=(Md^(Hd|~jd))+Od[2]+718787259|0,Ud=(Ud<<15|Ud>>>17)+Hd|0,jd+=(Hd^(Ud|~Md))+Od[9]-343485551|0,jd=(jd<<21|jd>>>11)+Ud|0,Rd[0]=Md+Rd[0]|0,Rd[1]=jd+Rd[1]|0,Rd[2]=Ud+Rd[2]|0,Rd[3]=Hd+Rd[3]|0}function ad(Rd){var Od=[],Md;for(Md=0;Md<64;Md+=4)Od[Md>>2]=Rd.charCodeAt(Md)+(Rd.charCodeAt(Md+1)<<8)+(Rd.charCodeAt(Md+2)<<16)+(Rd.charCodeAt(Md+3)<<24);return Od}function sd(Rd){var Od=[],Md;for(Md=0;Md<64;Md+=4)Od[Md>>2]=Rd[Md]+(Rd[Md+1]<<8)+(Rd[Md+2]<<16)+(Rd[Md+3]<<24);return Od}function ud(Rd){var Od=Rd.length,Md=[1732584193,-271733879,-1732584194,271733878],jd,Ud,Hd,zd,Zd,Wd;for(jd=64;jd<=Od;jd+=64)nd(Md,ad(Rd.substring(jd-64,jd)));for(Rd=Rd.substring(jd-64),Ud=Rd.length,Hd=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],jd=0;jd>2]|=Rd.charCodeAt(jd)<<(jd%4<<3);if(Hd[jd>>2]|=128<<(jd%4<<3),jd>55)for(nd(Md,Hd),jd=0;jd<16;jd+=1)Hd[jd]=0;return zd=Od*8,zd=zd.toString(16).match(/(.*?)(.{0,8})$/),Zd=parseInt(zd[2],16),Wd=parseInt(zd[1],16)||0,Hd[14]=Zd,Hd[15]=Wd,nd(Md,Hd),Md}function cd(Rd){var Od=Rd.length,Md=[1732584193,-271733879,-1732584194,271733878],jd,Ud,Hd,zd,Zd,Wd;for(jd=64;jd<=Od;jd+=64)nd(Md,sd(Rd.subarray(jd-64,jd)));for(Rd=jd-64>2]|=Rd[jd]<<(jd%4<<3);if(Hd[jd>>2]|=128<<(jd%4<<3),jd>55)for(nd(Md,Hd),jd=0;jd<16;jd+=1)Hd[jd]=0;return zd=Od*8,zd=zd.toString(16).match(/(.*?)(.{0,8})$/),Zd=parseInt(zd[2],16),Wd=parseInt(zd[1],16)||0,Hd[14]=Zd,Hd[15]=Wd,nd(Md,Hd),Md}function dd(Rd){var Od="",Md;for(Md=0;Md<4;Md+=1)Od+=rd[Rd>>Md*8+4&15]+rd[Rd>>Md*8&15];return Od}function pd(Rd){var Od;for(Od=0;OdHd?new ArrayBuffer(0):(zd=Hd-Ud,Zd=new ArrayBuffer(zd),Wd=new Uint8Array(Zd),Qd=new Uint8Array(this,Ud,zd),Wd.set(Qd),Zd)}}();function fd(Rd){return/[\u0080-\uFFFF]/.test(Rd)&&(Rd=unescape(encodeURIComponent(Rd))),Rd}function Td(Rd,Od){var Md=Rd.length,jd=new ArrayBuffer(Md),Ud=new Uint8Array(jd),Hd;for(Hd=0;Hd>2]|=Od.charCodeAt(jd)<<(jd%4<<3);return this._finish(Ud,Md),Hd=pd(this._hash),Rd&&(Hd=Dd(Hd)),this.reset(),Hd},Ld.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},Ld.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},Ld.prototype.setState=function(Rd){return this._buff=Rd.buff,this._length=Rd.length,this._hash=Rd.hash,this},Ld.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},Ld.prototype._finish=function(Rd,Od){var Md=Od,jd,Ud,Hd;if(Rd[Md>>2]|=128<<(Md%4<<3),Md>55)for(nd(this._hash,Rd),Md=0;Md<16;Md+=1)Rd[Md]=0;jd=this._length*8,jd=jd.toString(16).match(/(.*?)(.{0,8})$/),Ud=parseInt(jd[2],16),Hd=parseInt(jd[1],16)||0,Rd[14]=Ud,Rd[15]=Hd,nd(this._hash,Rd)},Ld.hash=function(Rd,Od){return Ld.hashBinary(fd(Rd),Od)},Ld.hashBinary=function(Rd,Od){var Md=ud(Rd),jd=pd(Md);return Od?Dd(jd):jd},Ld.ArrayBuffer=function(){this.reset()},Ld.ArrayBuffer.prototype.append=function(Rd){var Od=Sd(this._buff.buffer,Rd),Md=Od.length,jd;for(this._length+=Rd.byteLength,jd=64;jd<=Md;jd+=64)nd(this._hash,sd(Od.subarray(jd-64,jd)));return this._buff=jd-64>2]|=Od[Ud]<<(Ud%4<<3);return this._finish(jd,Md),Hd=pd(this._hash),Rd&&(Hd=Dd(Hd)),this.reset(),Hd},Ld.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},Ld.ArrayBuffer.prototype.getState=function(){var Rd=Ld.prototype.getState.call(this);return Rd.buff=Ad(Rd.buff),Rd},Ld.ArrayBuffer.prototype.setState=function(Rd){return Rd.buff=Td(Rd.buff,!0),Ld.prototype.setState.call(this,Rd)},Ld.ArrayBuffer.prototype.destroy=Ld.prototype.destroy,Ld.ArrayBuffer.prototype._finish=Ld.prototype._finish,Ld.ArrayBuffer.hash=function(Rd,Od){var Md=cd(new Uint8Array(Rd)),jd=pd(Md);return Od?Dd(jd):jd},Ld})})(sparkMd5);var sparkMd5Exports=sparkMd5.exports;const SparkMD5=getDefaultExportFromCjs(sparkMd5Exports);var __assign$5=function(){return __assign$5=Object.assign||function(Ra){for(var qa,td=1,rd=arguments.length;td0&&ad[ad.length-1])&&(dd[0]===6||dd[0]===2)){td=0;continue}if(dd[0]===3&&(!ad||dd[1]>ad[0]&&dd[1]Ra.size)td=Ra.size;else for(;Ra.size>td*1e4;)td*=2;for(var rd=[],nd=Math.ceil(Ra.size/td),ad=0;ad3?qa[1]:qa[0];if(!td)throw new QiniuError(QiniuErrorName.InvalidToken,"missing assess key field.");var rd=null;try{rd=JSON.parse(urlSafeBase64Decode(qa[qa.length-1]))}catch{throw new QiniuError(QiniuErrorName.InvalidToken,"token parse failed.")}if(rd==null)throw new QiniuError(QiniuErrorName.InvalidToken,"putPolicy is null.");if(rd.scope==null)throw new QiniuError(QiniuErrorName.InvalidToken,"scope field is null.");var nd=rd.scope.split(":")[0];if(!nd)throw new QiniuError(QiniuErrorName.InvalidToken,"resolve bucketName failed.");return{assessKey:td,bucketName:nd,scope:rd.scope}}function createObjectURL(Ra){var qa=window.URL||window.webkitURL||window.mozURL;return qa.createObjectURL(Ra)}var _a,region={z0:"z0",z1:"z1",z2:"z2",na0:"na0",as0:"as0",cnEast2:"cn-east-2"},regionUphostMap=(_a={},_a[region.z0]={srcUphost:["up.qiniup.com"],cdnUphost:["upload.qiniup.com"]},_a[region.z1]={srcUphost:["up-z1.qiniup.com"],cdnUphost:["upload-z1.qiniup.com"]},_a[region.z2]={srcUphost:["up-z2.qiniup.com"],cdnUphost:["upload-z2.qiniup.com"]},_a[region.na0]={srcUphost:["up-na0.qiniup.com"],cdnUphost:["upload-na0.qiniup.com"]},_a[region.as0]={srcUphost:["up-as0.qiniup.com"],cdnUphost:["upload-as0.qiniup.com"]},_a[region.cnEast2]={srcUphost:["up-cn-east-2.qiniup.com"],cdnUphost:["upload-cn-east-2.qiniup.com"]},_a),stringifyPrimitive=function(Ra){switch(typeof Ra){case"string":return Ra;case"boolean":return Ra?"true":"false";case"number":return isFinite(Ra)?Ra:"";default:return""}},encode$2=function(Ra,qa,td,rd){return qa=qa||"&",td=td||"=",Ra===null&&(Ra=void 0),typeof Ra=="object"?Object.keys(Ra).map(function(nd){var ad=encodeURIComponent(stringifyPrimitive(nd))+td;return Array.isArray(Ra[nd])?Ra[nd].map(function(sd){return ad+encodeURIComponent(stringifyPrimitive(sd))}).join(qa):ad+encodeURIComponent(stringifyPrimitive(Ra[nd]))}).filter(Boolean).join(qa):rd?encodeURIComponent(stringifyPrimitive(rd))+td+encodeURIComponent(stringifyPrimitive(Ra)):""},stringify;stringify=encode$2;var __assign$4=function(){return __assign$4=Object.assign||function(Ra){for(var qa,td=1,rd=arguments.length;td0&&ad[ad.length-1])&&(dd[0]===6||dd[0]===2)){td=0;continue}if(dd[0]===3&&(!ad||dd[1]>ad[0]&&dd[1]0?[2,rd+"://"+td.uphost[0]]:(nd=getPutPolicy(qa),[4,getUpHosts(nd.assessKey,nd.bucketName,rd)]);case 1:return ad=ud.sent(),sd=ad.data.up.acc.main,[2,rd+"://"+sd[0]]}})})}var __assign$3=function(){return __assign$3=Object.assign||function(Ra){for(var qa,td=1,rd=arguments.length;td0&&ad[ad.length-1])&&(dd[0]===6||dd[0]===2)){td=0;continue}if(dd[0]===3&&(!ad||dd[1]>ad[0]&&dd[1]0)&&!(nd=rd.next()).done;)ad.push(nd.value)}catch(ud){sd={error:ud}}finally{try{nd&&!nd.done&&(td=rd.return)&&td.call(rd)}finally{if(sd)throw sd.error}}return ad},__spread$3=function(){for(var Ra=[],qa=0;qa1e4*GB)return this.handleError(new QiniuError(QiniuErrorName.InvalidFile,"file size exceed maximum value 10000G")),[2];if(this.putExtra.customVars&&!isCustomVarsValid(this.putExtra.customVars))return this.handleError(new QiniuError(QiniuErrorName.InvalidCustomVars,"customVars key should start width x:")),[2];if(this.putExtra.metadata&&!isMetaDataValid(this.putExtra.metadata))return this.handleError(new QiniuError(QiniuErrorName.InvalidMetadata,"metadata key should start with x-qn-meta-")),[2];ad.label=1;case 1:return ad.trys.push([1,4,,5]),this.uploadAt=new Date().getTime(),[4,this.checkAndUpdateUploadHost()];case 2:return ad.sent(),[4,this.run()];case 3:return qa=ad.sent(),this.onComplete(qa.data),this.checkAndUnfreezeHost(),this.sendLog(qa.reqId,200),[2];case 4:return td=ad.sent(),this.aborted?(this.logger.warn("upload is aborted."),this.sendLog("",-2),[2]):(this.clear(),this.logger.error(td),td instanceof QiniuRequestError&&(this.sendLog(td.reqId,td.code),this.checkAndFreezeHost(td),rd=++this.retryCount<=this.config.retryCount,nd=RETRY_CODE_LIST.includes(td.code),nd&&rd)?(this.logger.warn("error auto retry: "+this.retryCount+"/"+this.config.retryCount+"."),this.putFile(),[2]):(this.onError(td),[3,5]));case 5:return[2]}})})},Ra.prototype.clear=function(){this.xhrList.forEach(function(qa){qa.onreadystatechange=null,qa.abort()}),this.xhrList=[],this.logger.info("cleanup uploading xhr.")},Ra.prototype.stop=function(){this.logger.info("aborted."),this.clear(),this.aborted=!0},Ra.prototype.addXhr=function(qa){this.xhrList.push(qa)},Ra.prototype.sendLog=function(qa,td){var rd,nd;this.logger.report({code:td,reqId:qa,remoteIp:"",upType:"jssdk-h5",size:this.file.size,time:Math.floor(this.uploadAt/1e3),port:getPortFromUrl((rd=this.uploadHost)===null||rd===void 0?void 0:rd.getUrl()),host:getDomainFromUrl((nd=this.uploadHost)===null||nd===void 0?void 0:nd.getUrl()),bytesSent:this.progress?this.progress.total.loaded:0,duration:Math.floor((new Date().getTime()-this.uploadAt)/1e3)})},Ra.prototype.getProgressInfoItem=function(qa,td,rd){return __assign$3({size:td,loaded:qa,percent:qa/td*100},rd==null?{}:{fromCache:rd})},Ra}(),__extends$1=function(){var Ra=function(qa,td){return Ra=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(rd,nd){rd.__proto__=nd}||function(rd,nd){for(var ad in nd)nd.hasOwnProperty(ad)&&(rd[ad]=nd[ad])},Ra(qa,td)};return function(qa,td){Ra(qa,td);function rd(){this.constructor=qa}qa.prototype=td===null?Object.create(td):(rd.prototype=td.prototype,new rd)}}(),__assign$2=function(){return __assign$2=Object.assign||function(Ra){for(var qa,td=1,rd=arguments.length;td0&&ad[ad.length-1])&&(dd[0]===6||dd[0]===2)){td=0;continue}if(dd[0]===3&&(!ad||dd[1]>ad[0]&&dd[1]1024)throw new QiniuError(QiniuErrorName.InvalidChunkSize,"chunkSize maximum value is 1024");return[4,this.initBeforeUploadChunks()];case 1:cd.sent(),td=new Pool(function(dd){return __awaiter$4(ud,void 0,void 0,function(){return __generator$4(this,function(pd){switch(pd.label){case 0:if(this.aborted)throw td.abort(),new Error("pool is aborted");return[4,this.uploadChunk(dd)];case 1:return pd.sent(),[2]}})})},this.config.concurrentRequestLimit),rd=null,nd=this.getLocalKey(),ad=this.chunks.map(function(dd,pd){return td.enqueue({chunk:dd,index:pd})}),cd.label=2;case 2:return cd.trys.push([2,5,,6]),[4,Promise.all(ad)];case 3:return cd.sent(),[4,this.mkFileReq()];case 4:return rd=cd.sent(),[3,6];case 5:throw sd=cd.sent(),sd instanceof QiniuRequestError&&(sd.code===612||sd.code===400)&&removeLocalFileInfo(nd,this.logger),sd;case 6:return removeLocalFileInfo(nd,this.logger),[2,rd]}})})},qa.prototype.uploadChunk=function(td){return __awaiter$4(this,void 0,void 0,function(){var rd,nd,ad,sd,ud,cd,dd,pd,fd,Td=this;return __generator$4(this,function(Ad){switch(Ad.label){case 0:return rd=td.index,nd=td.chunk,ad=this.cachedUploadedList[rd],this.logger.info("upload part "+rd+", cache:",ad),sd=this.config.checkByMD5,ud=function(){Td.usedCacheList[rd]=!0,Td.updateChunkProgress(nd.size,rd),Td.uploadedList[rd]=ad,Td.updateLocalCache()},ad&&!sd?(ud(),[2]):[4,computeMd5(nd)];case 1:return cd=Ad.sent(),this.logger.info("computed part md5.",cd),ad&&cd===ad.md5?(ud(),[2]):(this.usedCacheList[rd]=!1,dd=function(Sd){Td.updateChunkProgress(Sd.loaded,rd)},pd={body:nd,md5:this.config.checkByServer?cd:void 0,onProgress:dd,onCreate:function(Sd){return Td.addXhr(Sd)}},this.logger.info("part "+rd+" start uploading."),[4,uploadChunk(this.token,this.key,td.index+1,this.getUploadInfo(),pd)]);case 2:return fd=Ad.sent(),this.logger.info("part "+rd+" upload completed."),dd({loaded:nd.size,total:nd.size}),this.uploadedList[rd]={etag:fd.data.etag,md5:fd.data.md5,size:nd.size},this.updateLocalCache(),[2]}})})},qa.prototype.mkFileReq=function(){return __awaiter$4(this,void 0,void 0,function(){var td,rd,nd=this;return __generator$4(this,function(ad){switch(ad.label){case 0:return td=__assign$2(__assign$2(__assign$2({parts:this.uploadedList.map(function(sd,ud){return{etag:sd.etag,partNumber:ud+1}}),fname:this.putExtra.fname},this.putExtra.mimeType&&{mimeType:this.putExtra.mimeType}),this.putExtra.customVars&&{customVars:this.putExtra.customVars}),this.putExtra.metadata&&{metadata:this.putExtra.metadata}),this.logger.info("parts upload completed, make file.",td),[4,uploadComplete(this.token,this.key,this.getUploadInfo(),{onCreate:function(sd){return nd.addXhr(sd)},body:JSON.stringify(td)})];case 1:return rd=ad.sent(),this.logger.info("finish Resume Progress."),this.updateMkFileProgress(1),[2,rd]}})})},qa.prototype.initBeforeUploadChunks=function(){return __awaiter$4(this,void 0,void 0,function(){var td,rd,nd;return __generator$4(this,function(ad){switch(ad.label){case 0:return this.uploadedList=[],this.usedCacheList=[],td=getLocalFileInfo(this.getLocalKey(),this.logger),td?[3,2]:(this.logger.info("init upload parts from api."),[4,initUploadParts(this.token,this.bucketName,this.key,this.uploadHost.getUrl())]);case 1:return rd=ad.sent(),this.logger.info("initd upload parts of id: "+rd.data.uploadId+"."),this.uploadId=rd.data.uploadId,this.cachedUploadedList=[],[3,3];case 2:nd=["resume upload parts from local cache,","total "+td.data.length+" part,","id is "+td.id+"."],this.logger.info(nd.join(" ")),this.cachedUploadedList=td.data,this.uploadId=td.id,ad.label=3;case 3:return this.chunks=getChunks(this.file,this.config.chunkSize),this.loaded={mkFileProgress:0,chunks:this.chunks.map(function(sd){return 0})},this.notifyResumeProgress(),[2]}})})},qa.prototype.getUploadInfo=function(){return{id:this.uploadId,url:this.uploadHost.getUrl()}},qa.prototype.getLocalKey=function(){return createLocalKey(this.file.name,this.key,this.file.size)},qa.prototype.updateLocalCache=function(){setLocalFileInfo(this.getLocalKey(),{id:this.uploadId,data:this.uploadedList},this.logger)},qa.prototype.updateChunkProgress=function(td,rd){this.loaded.chunks[rd]=td,this.notifyResumeProgress()},qa.prototype.updateMkFileProgress=function(td){this.loaded.mkFileProgress=td,this.notifyResumeProgress()},qa.prototype.notifyResumeProgress=function(){var td=this;this.progress={total:this.getProgressInfoItem(sum(this.loaded.chunks)+this.loaded.mkFileProgress,this.file.size+1),chunks:this.chunks.map(function(rd,nd){var ad=td.usedCacheList[nd];return td.getProgressInfoItem(td.loaded.chunks[nd],rd.size,ad)}),uploadInfo:{id:this.uploadId,url:this.uploadHost.getUrl()}},this.onData(this.progress)},qa}(Base),__awaiter$3=function(Ra,qa,td,rd){function nd(ad){return ad instanceof td?ad:new td(function(sd){sd(ad)})}return new(td||(td=Promise))(function(ad,sd){function ud(pd){try{dd(rd.next(pd))}catch(fd){sd(fd)}}function cd(pd){try{dd(rd.throw(pd))}catch(fd){sd(fd)}}function dd(pd){pd.done?ad(pd.value):nd(pd.value).then(ud,cd)}dd((rd=rd.apply(Ra,qa||[])).next())})},__generator$3=function(Ra,qa){var td={label:0,sent:function(){if(ad[0]&1)throw ad[1];return ad[1]},trys:[],ops:[]},rd,nd,ad,sd;return sd={next:ud(0),throw:ud(1),return:ud(2)},typeof Symbol=="function"&&(sd[Symbol.iterator]=function(){return this}),sd;function ud(dd){return function(pd){return cd([dd,pd])}}function cd(dd){if(rd)throw new TypeError("Generator is already executing.");for(;td;)try{if(rd=1,nd&&(ad=dd[0]&2?nd.return:dd[0]?nd.throw||((ad=nd.return)&&ad.call(nd),0):nd.next)&&!(ad=ad.call(nd,dd[1])).done)return ad;switch(nd=0,ad&&(dd=[dd[0]&2,ad.value]),dd[0]){case 0:case 1:ad=dd;break;case 4:return td.label++,{value:dd[1],done:!1};case 5:td.label++,nd=dd[1],dd=[0];continue;case 7:dd=td.ops.pop(),td.trys.pop();continue;default:if(ad=td.trys,!(ad=ad.length>0&&ad[ad.length-1])&&(dd[0]===6||dd[0]===2)){td=0;continue}if(dd[0]===3&&(!ad||dd[1]>ad[0]&&dd[1]>>1^3988292384:rd>>>=1;qa[td]=rd}return qa},Ra.prototype.append=function(qa){for(var td=this.crc,rd=0;rd>>8^this.table[(td^qa[rd])&255];this.crc=td},Ra.prototype.compute=function(){return(this.crc^-1)>>>0},Ra.prototype.readAsUint8Array=function(qa){return __awaiter$3(this,void 0,void 0,function(){var td;return __generator$3(this,function(rd){switch(rd.label){case 0:return typeof qa.arrayBuffer!="function"?[3,2]:(td=Uint8Array.bind,[4,qa.arrayBuffer()]);case 1:return[2,new(td.apply(Uint8Array,[void 0,rd.sent()]))];case 2:return[2,new Promise(function(nd,ad){var sd=new FileReader;sd.onload=function(){if(sd.result==null){ad();return}if(typeof sd.result=="string"){ad();return}nd(new Uint8Array(sd.result))},sd.readAsArrayBuffer(qa)})]}})})},Ra.prototype.file=function(qa){return __awaiter$3(this,void 0,void 0,function(){var td,rd,nd,ad,sd,ud;return __generator$3(this,function(cd){switch(cd.label){case 0:return qa.size<=MB?(td=this.append,[4,this.readAsUint8Array(qa)]):[3,2];case 1:return td.apply(this,[cd.sent()]),[2,this.compute()];case 2:rd=Math.ceil(qa.size/MB),nd=0,cd.label=3;case 3:return nd0&&ad[ad.length-1])&&(dd[0]===6||dd[0]===2)){td=0;continue}if(dd[0]===3&&(!ad||dd[1]>ad[0]&&dd[1]0&&reportV3(Ra,qa,td-1)};var nd=[qa.code||"",qa.reqId||"",qa.host||"",qa.remoteIp||"",qa.port||"",qa.duration||"",qa.time||"",qa.bytesSent||"",qa.upType||"",qa.size||""].join(",");rd.send(nd)}var __read$2=function(Ra,qa){var td=typeof Symbol=="function"&&Ra[Symbol.iterator];if(!td)return Ra;var rd=td.call(Ra),nd,ad=[],sd;try{for(;(qa===void 0||qa-- >0)&&!(nd=rd.next()).done;)ad.push(nd.value)}catch(ud){sd={error:ud}}finally{try{nd&&!nd.done&&(td=rd.return)&&td.call(rd)}finally{if(sd)throw sd.error}}return ad},__spread$2=function(){for(var Ra=[],qa=0;qa0&&ad[ad.length-1])&&(dd[0]===6||dd[0]===2)){td=0;continue}if(dd[0]===3&&(!ad||dd[1]>ad[0]&&dd[1]0)&&!(nd=rd.next()).done;)ad.push(nd.value)}catch(ud){sd={error:ud}}finally{try{nd&&!nd.done&&(td=rd.return)&&td.call(rd)}finally{if(sd)throw sd.error}}return ad},__spread$1=function(){for(var Ra=[],qa=0;qa=qa},Ra.prototype.freeze=function(qa){qa===void 0&&(qa=20);var td=new Date().getTime()+qa*1e3;unfreezeTimeMap.set(this.host,td)},Ra.prototype.unfreeze=function(){unfreezeTimeMap.delete(this.host)},Ra.prototype.getUrl=function(){return this.protocol+"://"+this.host},Ra.prototype.getUnfreezeTime=function(){return unfreezeTimeMap.get(this.host)},Ra}(),HostPool=function(){function Ra(qa){qa===void 0&&(qa=[]),this.initHosts=qa,this.cachedHostsMap=new Map}return Ra.prototype.register=function(qa,td,rd,nd){this.cachedHostsMap.set(qa+"@"+td,rd.map(function(ad){return new Host(ad,nd)}))},Ra.prototype.refresh=function(qa,td,rd){var nd,ad,sd,ud;return __awaiter$1(this,void 0,void 0,function(){var cd,dd,pd;return __generator$1(this,function(fd){switch(fd.label){case 0:return cd=this.cachedHostsMap.get(qa+"@"+td)||[],cd.length>0?[2]:this.initHosts.length>0?(this.register(qa,td,this.initHosts,rd),[2]):[4,getUpHosts(qa,td,rd)];case 1:return dd=fd.sent(),(dd==null?void 0:dd.data)!=null&&(pd=__spread$1(((ad=(nd=dd.data.up)===null||nd===void 0?void 0:nd.acc)===null||ad===void 0?void 0:ad.main)||[],((ud=(sd=dd.data.up)===null||sd===void 0?void 0:sd.acc)===null||ud===void 0?void 0:ud.backup)||[]),this.register(qa,td,pd,rd)),[2]}})})},Ra.prototype.getUp=function(qa,td,rd){return __awaiter$1(this,void 0,void 0,function(){var nd,ad,sd;return __generator$1(this,function(ud){switch(ud.label){case 0:return[4,this.refresh(qa,td,rd)];case 1:return ud.sent(),nd=this.cachedHostsMap.get(qa+"@"+td)||[],nd.length===0?[2,null]:(ad=nd.filter(function(cd){return!cd.isFrozen()}),ad.length>0?[2,ad[0]]:(sd=nd.slice().sort(function(cd,dd){return(cd.getUnfreezeTime()||0)-(dd.getUnfreezeTime()||0)}),[2,sd[0]]))}})})},Ra}();function createUploadManager(Ra,qa,td,rd){return Ra.config&&Ra.config.forceDirect?(rd.info("ues forceDirect mode."),new Direct(Ra,qa,td,rd)):Ra.file.size>4*MB?(rd.info("file size over 4M, use Resume."),new Resume(Ra,qa,td,rd)):(rd.info("file size less or equal than 4M, use Direct."),new Direct(Ra,qa,td,rd))}function upload(Ra,qa,td,rd,nd){var ad=new Logger(td,nd==null?void 0:nd.disableStatisticsReport,nd==null?void 0:nd.debugLogLevel,Ra.name),sd={file:Ra,key:qa,token:td,putExtra:rd,config:normalizeUploadConfig(nd,ad)},ud=new HostPool(sd.config.uphost);return new Observable(function(cd){var dd=createUploadManager(sd,{onData:function(pd){return cd.next(pd)},onError:function(pd){return cd.error(pd)},onComplete:function(pd){return cd.complete(pd)}},ud,ad);return dd.putFile(),dd.stop.bind(dd)})}var __assign$1=function(){return __assign$1=Object.assign||function(Ra){for(var qa,td=1,rd=arguments.length;td0)&&!(nd=rd.next()).done;)ad.push(nd.value)}catch(ud){sd={error:ud}}finally{try{nd&&!nd.done&&(td=rd.return)&&td.call(rd)}finally{if(sd)throw sd.error}}return ad},__spread=function(){for(var Ra=[],qa=0;qa0&&ad[ad.length-1])&&(dd[0]===6||dd[0]===2)){td=0;continue}if(dd[0]===3&&(!ad||dd[1]>ad[0]&&dd[1]this.file.size&&this.config.noCompressIfLarger?[2,{dist:this.file,width:qa.width,height:qa.height}]:[2,{dist:sd,width:ad.width,height:ad.height}]}})})},Ra.prototype.clear=function(qa,td,rd){this.outputType===defaultType?(qa.fillStyle="#fff",qa.fillRect(0,0,td,rd)):qa.clearRect(0,0,td,rd)},Ra.prototype.getOriginImage=function(){var qa=this;return new Promise(function(td,rd){var nd=createObjectURL(qa.file),ad=new Image;ad.onload=function(){td(ad)},ad.onerror=function(){rd("image load error")},ad.src=nd})},Ra.prototype.getCanvas=function(qa){var td=this;return new Promise(function(rd,nd){var ad=document.createElement("canvas"),sd=ad.getContext("2d");if(!sd){nd(new QiniuError(QiniuErrorName.GetCanvasContextFailed,"context is null"));return}var ud=qa.width,cd=qa.height;ad.height=cd,ad.width=ud,td.clear(sd,ud,cd),sd.drawImage(qa,0,0),rd(ad)})},Ra.prototype.doScale=function(qa,td){return __awaiter(this,void 0,void 0,function(){var rd,nd,ad,sd,ud,cd,dd,pd,fd,Td,Ad,Sd,Dd,Ld,Rd,Od;return __generator(this,function(Md){if(td===1)return[2,qa];if(rd=qa.getContext("2d"),nd=Math.min(maxSteps,Math.ceil(1/td/scaleFactor)),ad=Math.pow(td,1/nd),sd=document.createElement("canvas"),ud=sd.getContext("2d"),cd=qa.width,dd=qa.height,pd=cd,fd=dd,sd.width=cd,sd.height=dd,!ud||!rd)throw new QiniuError(QiniuErrorName.GetCanvasContextFailed,"mctx or sctx can't be null");for(Sd=0;Sd=200&&Od.status<300)rd(Od.response,Od);else{var Ld=new Error("the request is error");sd(Ld)}},Od.open(Td,ed,ud),Object.keys(Ed).forEach(function(Ld){Od.setRequestHeader(Ld,Ed[Ld])});try{Od.send(dd)}catch(Ld){sd(Ld)}})}}(ajax)),ajax}var utils$2={},md5={exports:{}},crypt={exports:{}},hasRequiredCrypt;function requireCrypt(){return hasRequiredCrypt||(hasRequiredCrypt=1,function(){var Ra="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",qa={rotl:function(ed,td){return ed<>>32-td},rotr:function(ed,td){return ed<<32-td|ed>>>td},endian:function(ed){if(ed.constructor==Number)return qa.rotl(ed,8)&16711935|qa.rotl(ed,24)&4278255360;for(var td=0;td0;ed--)td.push(Math.floor(Math.random()*256));return td},bytesToWords:function(ed){for(var td=[],rd=0,sd=0;rd>>5]|=ed[rd]<<24-sd%32;return td},wordsToBytes:function(ed){for(var td=[],rd=0;rd>>5]>>>24-rd%32&255);return td},bytesToHex:function(ed){for(var td=[],rd=0;rd>>4).toString(16)),td.push((ed[rd]&15).toString(16));return td.join("")},hexToBytes:function(ed){for(var td=[],rd=0;rd>>6*(3-od)&63)):td.push("=");return td.join("")},base64ToBytes:function(ed){ed=ed.replace(/[^A-Z0-9+\/]/ig,"");for(var td=[],rd=0,sd=0;rd>>6-sd*2);return td}};crypt.exports=qa}()),crypt.exports}var charenc_1,hasRequiredCharenc;function requireCharenc(){if(hasRequiredCharenc)return charenc_1;hasRequiredCharenc=1;var Ra={utf8:{stringToBytes:function(qa){return Ra.bin.stringToBytes(unescape(encodeURIComponent(qa)))},bytesToString:function(qa){return decodeURIComponent(escape(Ra.bin.bytesToString(qa)))}},bin:{stringToBytes:function(qa){for(var ed=[],td=0;td=200&&Od.status<300)nd(Od.response,Od);else{var jd=new Error("the request is error");ad(jd)}},Od.open(Sd,td,cd),Object.keys(Td).forEach(function(jd){Od.setRequestHeader(jd,Td[jd])});try{Od.send(pd)}catch(jd){ad(jd)}})}}(ajax)),ajax}var utils$2={},md5={exports:{}},crypt={exports:{}},hasRequiredCrypt;function requireCrypt(){return hasRequiredCrypt||(hasRequiredCrypt=1,function(){var Ra="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",qa={rotl:function(td,rd){return td<>>32-rd},rotr:function(td,rd){return td<<32-rd|td>>>rd},endian:function(td){if(td.constructor==Number)return qa.rotl(td,8)&16711935|qa.rotl(td,24)&4278255360;for(var rd=0;rd0;td--)rd.push(Math.floor(Math.random()*256));return rd},bytesToWords:function(td){for(var rd=[],nd=0,ad=0;nd>>5]|=td[nd]<<24-ad%32;return rd},wordsToBytes:function(td){for(var rd=[],nd=0;nd>>5]>>>24-nd%32&255);return rd},bytesToHex:function(td){for(var rd=[],nd=0;nd>>4).toString(16)),rd.push((td[nd]&15).toString(16));return rd.join("")},hexToBytes:function(td){for(var rd=[],nd=0;nd>>6*(3-sd)&63)):rd.push("=");return rd.join("")},base64ToBytes:function(td){td=td.replace(/[^A-Z0-9+\/]/ig,"");for(var rd=[],nd=0,ad=0;nd>>6-ad*2);return rd}};crypt.exports=qa}()),crypt.exports}var charenc_1,hasRequiredCharenc;function requireCharenc(){if(hasRequiredCharenc)return charenc_1;hasRequiredCharenc=1;var Ra={utf8:{stringToBytes:function(qa){return Ra.bin.stringToBytes(unescape(encodeURIComponent(qa)))},bytesToString:function(qa){return decodeURIComponent(escape(Ra.bin.bytesToString(qa)))}},bin:{stringToBytes:function(qa){for(var td=[],rd=0;rd * @license MIT - */var isBuffer_1,hasRequiredIsBuffer;function requireIsBuffer(){if(hasRequiredIsBuffer)return isBuffer_1;hasRequiredIsBuffer=1,isBuffer_1=function(ed){return ed!=null&&(Ra(ed)||qa(ed)||!!ed._isBuffer)};function Ra(ed){return!!ed.constructor&&typeof ed.constructor.isBuffer=="function"&&ed.constructor.isBuffer(ed)}function qa(ed){return typeof ed.readFloatLE=="function"&&typeof ed.slice=="function"&&Ra(ed.slice(0,0))}return isBuffer_1}var hasRequiredMd5;function requireMd5(){return hasRequiredMd5||(hasRequiredMd5=1,function(){var Ra=requireCrypt(),qa=requireCharenc().utf8,ed=requireIsBuffer(),td=requireCharenc().bin,rd=function(sd,od){sd.constructor==String?od&&od.encoding==="binary"?sd=td.stringToBytes(sd):sd=qa.stringToBytes(sd):ed(sd)?sd=Array.prototype.slice.call(sd,0):!Array.isArray(sd)&&sd.constructor!==Uint8Array&&(sd=sd.toString());for(var ld=Ra.bytesToWords(sd),ud=sd.length*8,cd=1732584193,dd=-271733879,_d=-1732584194,Ed=271733878,Ad=0;Ad>>24)&16711935|(ld[Ad]<<24|ld[Ad]>>>8)&4278255360;ld[ud>>>5]|=128<>>9<<4)+14]=ud;for(var Td=rd._ff,Id=rd._gg,Bd=rd._hh,Rd=rd._ii,Ad=0;Ad>>0,dd=dd+Md>>>0,_d=_d+Ld>>>0,Ed=Ed+Fd>>>0}return Ra.endian([cd,dd,_d,Ed])};rd._ff=function(sd,od,ld,ud,cd,dd,_d){var Ed=sd+(od&ld|~od&ud)+(cd>>>0)+_d;return(Ed<>>32-dd)+od},rd._gg=function(sd,od,ld,ud,cd,dd,_d){var Ed=sd+(od&ud|ld&~ud)+(cd>>>0)+_d;return(Ed<>>32-dd)+od},rd._hh=function(sd,od,ld,ud,cd,dd,_d){var Ed=sd+(od^ld^ud)+(cd>>>0)+_d;return(Ed<>>32-dd)+od},rd._ii=function(sd,od,ld,ud,cd,dd,_d){var Ed=sd+(ld^(od|~ud))+(cd>>>0)+_d;return(Ed<>>32-dd)+od},rd._blocksize=16,rd._digestsize=16,md5.exports=function(sd,od){if(sd==null)throw new Error("Illegal argument "+sd);var ld=Ra.wordsToBytes(rd(sd,od));return od&&od.asBytes?ld:od&&od.asString?td.bytesToString(ld):Ra.bytesToHex(ld)}}()),md5.exports}var digest={exports:{}};/*! ***** BEGIN LICENSE BLOCK ***** + */var isBuffer_1,hasRequiredIsBuffer;function requireIsBuffer(){if(hasRequiredIsBuffer)return isBuffer_1;hasRequiredIsBuffer=1,isBuffer_1=function(td){return td!=null&&(Ra(td)||qa(td)||!!td._isBuffer)};function Ra(td){return!!td.constructor&&typeof td.constructor.isBuffer=="function"&&td.constructor.isBuffer(td)}function qa(td){return typeof td.readFloatLE=="function"&&typeof td.slice=="function"&&Ra(td.slice(0,0))}return isBuffer_1}var hasRequiredMd5;function requireMd5(){return hasRequiredMd5||(hasRequiredMd5=1,function(){var Ra=requireCrypt(),qa=requireCharenc().utf8,td=requireIsBuffer(),rd=requireCharenc().bin,nd=function(ad,sd){ad.constructor==String?sd&&sd.encoding==="binary"?ad=rd.stringToBytes(ad):ad=qa.stringToBytes(ad):td(ad)?ad=Array.prototype.slice.call(ad,0):!Array.isArray(ad)&&ad.constructor!==Uint8Array&&(ad=ad.toString());for(var ud=Ra.bytesToWords(ad),cd=ad.length*8,dd=1732584193,pd=-271733879,fd=-1732584194,Td=271733878,Ad=0;Ad>>24)&16711935|(ud[Ad]<<24|ud[Ad]>>>8)&4278255360;ud[cd>>>5]|=128<>>9<<4)+14]=cd;for(var Sd=nd._ff,Dd=nd._gg,Ld=nd._hh,Rd=nd._ii,Ad=0;Ad>>0,pd=pd+Md>>>0,fd=fd+jd>>>0,Td=Td+Ud>>>0}return Ra.endian([dd,pd,fd,Td])};nd._ff=function(ad,sd,ud,cd,dd,pd,fd){var Td=ad+(sd&ud|~sd&cd)+(dd>>>0)+fd;return(Td<>>32-pd)+sd},nd._gg=function(ad,sd,ud,cd,dd,pd,fd){var Td=ad+(sd&cd|ud&~cd)+(dd>>>0)+fd;return(Td<>>32-pd)+sd},nd._hh=function(ad,sd,ud,cd,dd,pd,fd){var Td=ad+(sd^ud^cd)+(dd>>>0)+fd;return(Td<>>32-pd)+sd},nd._ii=function(ad,sd,ud,cd,dd,pd,fd){var Td=ad+(ud^(sd|~cd))+(dd>>>0)+fd;return(Td<>>32-pd)+sd},nd._blocksize=16,nd._digestsize=16,md5.exports=function(ad,sd){if(ad==null)throw new Error("Illegal argument "+ad);var ud=Ra.wordsToBytes(nd(ad,sd));return sd&&sd.asBytes?ud:sd&&sd.asString?rd.bytesToString(ud):Ra.bytesToHex(ud)}}()),md5.exports}var digest={exports:{}};/*! ***** BEGIN LICENSE BLOCK ***** *! *! Copyright 2011-2012, 2014 Jean-Christophe Sirot *! @@ -1046,18 +1046,18 @@ object-assign *! You should have received a copy of the GNU General Public License along with *! digest.js. If not, see http://www.gnu.org/licenses/. *! - *! ***** END LICENSE BLOCK ***** */var hasRequiredDigest;function requireDigest(){return hasRequiredDigest||(hasRequiredDigest=1,function(Ra,qa){(function(){ArrayBuffer.prototype.slice||(ArrayBuffer.prototype.slice=function(ed,td){var rd,sd=new Uint8Array(this);td===void 0&&(td=sd.length);var od=new ArrayBuffer(td-ed),ld=new Uint8Array(od);for(rd=0;rd>>31);for(Od=0;Od<80;Od++)Rd=(_d<<5|_d>>>27)+Id+Bd[Od],Od<20?Rd+=(Ed&Ad|~Ed&Td)+1518500249|0:Od<40?Rd+=(Ed^Ad^Td)+1859775393|0:Od<60?Rd+=(Ed&Ad|Ed&Td|Ad&Td)+2400959708|0:Rd+=(Ed^Ad^Td)+3395469782|0,Id=Td,Td=Ad,Ad=Ed<<30|Ed>>>2,Ed=_d,_d=Rd;this.current[0]+=_d,this.current[1]+=Ed,this.current[2]+=Ad,this.current[3]+=Td,this.current[4]+=Id,this.currentLen+=64},td.prototype.doPadding=function(){var dd=(this.inLen+this.currentLen)*8,_d=0,Ed=dd&4294967295,Ad=this.inLen<=55?55-this.inLen:119-this.inLen,Td=new Uint8Array(new ArrayBuffer(Ad+1+8));return Td[0]=128,Td[Td.length-1]=Ed&255,Td[Td.length-2]=Ed>>>8&255,Td[Td.length-3]=Ed>>>16&255,Td[Td.length-4]=Ed>>>24&255,Td[Td.length-5]=_d&255,Td[Td.length-6]=_d>>>8&255,Td[Td.length-7]=_d>>>16&255,Td[Td.length-8]=_d>>>24&255,Td},td.prototype.getDigest=function(){var dd=new Uint8Array(new ArrayBuffer(20));return dd[3]=this.current[0]&255,dd[2]=this.current[0]>>>8&255,dd[1]=this.current[0]>>>16&255,dd[0]=this.current[0]>>>24&255,dd[7]=this.current[1]&255,dd[6]=this.current[1]>>>8&255,dd[5]=this.current[1]>>>16&255,dd[4]=this.current[1]>>>24&255,dd[11]=this.current[2]&255,dd[10]=this.current[2]>>>8&255,dd[9]=this.current[2]>>>16&255,dd[8]=this.current[2]>>>24&255,dd[15]=this.current[3]&255,dd[14]=this.current[3]>>>8&255,dd[13]=this.current[3]>>>16&255,dd[12]=this.current[3]>>>24&255,dd[19]=this.current[4]&255,dd[18]=this.current[4]>>>8&255,dd[17]=this.current[4]>>>16&255,dd[16]=this.current[4]>>>24&255,dd.buffer},td.prototype.reset=function(){this.currentLen=0,this.inLen=0,this.current=new Uint32Array(new ArrayBuffer(20)),this.current[0]=1732584193,this.current[1]=4023233417,this.current[2]=2562383102,this.current[3]=271733878,this.current[4]=3285377520},td.prototype.blockLen=64,td.prototype.digestLen=20;var rd=function(dd){var _d=new ArrayBuffer(dd.length),Ed=new Uint8Array(_d),Ad;for(Ad=0;Ad255)throw"For more than one byte, use an array buffer";if(dd<0)throw"Input value must be positive";return sd(dd)}else throw"Unsupported type"},ld=function(dd){var _d=function(Td){for(var Id=Td.length,Bd=0;Id>0;){var Rd=this.blockLen-this.inLen;Rd>Id&&(Rd=Id);var Od=Td.subarray(Bd,Bd+Rd);this.inbuf.set(Od,this.inLen),Bd+=Rd,Id-=Rd,this.inLen+=Rd,this.inLen===this.blockLen&&(this.processBlock(this.inbuf),this.inLen=0)}},Ed=function(){var Td=this.doPadding();this.update(Td);var Id=this.getDigest();return this.reset(),Id},Ad=function(){if(!dd)throw"Unsupported algorithm: "+dd.toString();dd.prototype.update=_d,dd.prototype.finalize=Ed;var Td=new dd;return Td.inbuf=new Uint8Array(new ArrayBuffer(Td.blockLen)),Td.reset(),Td}();return{update:function(Td){Ad.update(od(Td))},finalize:function(){return Ad.finalize()},digest:function(Td){return Ad.update(od(Td)),Ad.finalize()},reset:function(){Ad.reset()},digestLength:function(){return Ad.digestLen}}},ud=function(dd){var _d=!1,Ed,Ad,Td,Id=function(){var Md,Ld;if(!_d){if(Ed===void 0)throw"MAC key is not defined";for(Ed.byteLength>64?Ld=new Uint8Array(dd.digest(Ed)):Ld=new Uint8Array(Ed),Ad=new Uint8Array(new ArrayBuffer(64)),Md=0;MdVd[0]?1:jd[0]=1&&rd<=127?qa+=Ra.charAt(td):rd>2047?(qa+=String.fromCharCode(224|rd>>12&15),qa+=String.fromCharCode(128|rd>>6&63),qa+=String.fromCharCode(128|rd&63)):(qa+=String.fromCharCode(192|rd>>6&31),qa+=String.fromCharCode(128|rd&63))}return qa}function utf8to16(Ra){let qa="",ed=0;const td=Ra.length;for(;ed>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:qa+=Ra.charAt(ed-1);break;case 12:case 13:sd=Ra.charCodeAt(ed++),qa+=String.fromCharCode((rd&31)<<6|sd&63);break;case 14:sd=Ra.charCodeAt(ed++),od=Ra.charCodeAt(ed++),qa+=String.fromCharCode((rd&15)<<12|(sd&63)<<6|od&63);break}}return qa}const base64EncodeChars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",base64DecodeChars=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1];function base64encode(Ra){let qa="",ed=0;const td=Ra.length;for(;ed>2),qa+=base64EncodeChars.charAt((rd&3)<<4),qa+="==";break}const sd=Ra.charCodeAt(ed++);if(ed===td){qa+=base64EncodeChars.charAt(rd>>2),qa+=base64EncodeChars.charAt((rd&3)<<4|(sd&240)>>4),qa+=base64EncodeChars.charAt((sd&15)<<2),qa+="=";break}const od=Ra.charCodeAt(ed++);qa+=base64EncodeChars.charAt(rd>>2),qa+=base64EncodeChars.charAt((rd&3)<<4|(sd&240)>>4),qa+=base64EncodeChars.charAt((sd&15)<<2|(od&192)>>6),qa+=base64EncodeChars.charAt(od&63)}return qa}function base64decode(Ra){let qa,ed,td,rd,sd=0;const od=Ra.length;let ld="";for(;sd>4);do{if(td=Ra.charCodeAt(sd++)&255,td===61)return ld;td=base64DecodeChars[td]}while(sd>2);do{if(rd=Ra.charCodeAt(sd++)&255,rd===61)return ld;rd=base64DecodeChars[rd]}while(sdqa=>{const ed=toString.call(qa);return Ra[ed]||(Ra[ed]=ed.slice(8,-1).toLowerCase())})(Object.create(null)),kindOfTest=Ra=>(Ra=Ra.toLowerCase(),qa=>kindOf(qa)===Ra),typeOfTest=Ra=>qa=>typeof qa===Ra,{isArray}=Array,isUndefined=typeOfTest("undefined");function isBuffer(Ra){return Ra!==null&&!isUndefined(Ra)&&Ra.constructor!==null&&!isUndefined(Ra.constructor)&&isFunction(Ra.constructor.isBuffer)&&Ra.constructor.isBuffer(Ra)}const isArrayBuffer=kindOfTest("ArrayBuffer");function isArrayBufferView(Ra){let qa;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?qa=ArrayBuffer.isView(Ra):qa=Ra&&Ra.buffer&&isArrayBuffer(Ra.buffer),qa}const isString=typeOfTest("string"),isFunction=typeOfTest("function"),isNumber=typeOfTest("number"),isObject=Ra=>Ra!==null&&typeof Ra=="object",isBoolean=Ra=>Ra===!0||Ra===!1,isPlainObject=Ra=>{if(kindOf(Ra)!=="object")return!1;const qa=getPrototypeOf(Ra);return(qa===null||qa===Object.prototype||Object.getPrototypeOf(qa)===null)&&!(Symbol.toStringTag in Ra)&&!(Symbol.iterator in Ra)},isDate=kindOfTest("Date"),isFile=kindOfTest("File"),isBlob=kindOfTest("Blob"),isFileList=kindOfTest("FileList"),isStream=Ra=>isObject(Ra)&&isFunction(Ra.pipe),isFormData=Ra=>{let qa;return Ra&&(typeof FormData=="function"&&Ra instanceof FormData||isFunction(Ra.append)&&((qa=kindOf(Ra))==="formdata"||qa==="object"&&isFunction(Ra.toString)&&Ra.toString()==="[object FormData]"))},isURLSearchParams=kindOfTest("URLSearchParams"),[isReadableStream,isRequest,isResponse,isHeaders]=["ReadableStream","Request","Response","Headers"].map(kindOfTest),trim=Ra=>Ra.trim?Ra.trim():Ra.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach(Ra,qa,{allOwnKeys:ed=!1}={}){if(Ra===null||typeof Ra>"u")return;let td,rd;if(typeof Ra!="object"&&(Ra=[Ra]),isArray(Ra))for(td=0,rd=Ra.length;td0;)if(rd=ed[td],qa===rd.toLowerCase())return rd;return null}const _global=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global$1,isContextDefined=Ra=>!isUndefined(Ra)&&Ra!==_global;function merge(){const{caseless:Ra}=isContextDefined(this)&&this||{},qa={},ed=(td,rd)=>{const sd=Ra&&findKey(qa,rd)||rd;isPlainObject(qa[sd])&&isPlainObject(td)?qa[sd]=merge(qa[sd],td):isPlainObject(td)?qa[sd]=merge({},td):isArray(td)?qa[sd]=td.slice():qa[sd]=td};for(let td=0,rd=arguments.length;td(forEach(qa,(rd,sd)=>{ed&&isFunction(rd)?Ra[sd]=bind(rd,ed):Ra[sd]=rd},{allOwnKeys:td}),Ra),stripBOM=Ra=>(Ra.charCodeAt(0)===65279&&(Ra=Ra.slice(1)),Ra),inherits=(Ra,qa,ed,td)=>{Ra.prototype=Object.create(qa.prototype,td),Ra.prototype.constructor=Ra,Object.defineProperty(Ra,"super",{value:qa.prototype}),ed&&Object.assign(Ra.prototype,ed)},toFlatObject=(Ra,qa,ed,td)=>{let rd,sd,od;const ld={};if(qa=qa||{},Ra==null)return qa;do{for(rd=Object.getOwnPropertyNames(Ra),sd=rd.length;sd-- >0;)od=rd[sd],(!td||td(od,Ra,qa))&&!ld[od]&&(qa[od]=Ra[od],ld[od]=!0);Ra=ed!==!1&&getPrototypeOf(Ra)}while(Ra&&(!ed||ed(Ra,qa))&&Ra!==Object.prototype);return qa},endsWith=(Ra,qa,ed)=>{Ra=String(Ra),(ed===void 0||ed>Ra.length)&&(ed=Ra.length),ed-=qa.length;const td=Ra.indexOf(qa,ed);return td!==-1&&td===ed},toArray=Ra=>{if(!Ra)return null;if(isArray(Ra))return Ra;let qa=Ra.length;if(!isNumber(qa))return null;const ed=new Array(qa);for(;qa-- >0;)ed[qa]=Ra[qa];return ed},isTypedArray=(Ra=>qa=>Ra&&qa instanceof Ra)(typeof Uint8Array<"u"&&getPrototypeOf(Uint8Array)),forEachEntry=(Ra,qa)=>{const td=(Ra&&Ra[Symbol.iterator]).call(Ra);let rd;for(;(rd=td.next())&&!rd.done;){const sd=rd.value;qa.call(Ra,sd[0],sd[1])}},matchAll=(Ra,qa)=>{let ed;const td=[];for(;(ed=Ra.exec(qa))!==null;)td.push(ed);return td},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase=Ra=>Ra.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(ed,td,rd){return td.toUpperCase()+rd}),hasOwnProperty$1=(({hasOwnProperty:Ra})=>(qa,ed)=>Ra.call(qa,ed))(Object.prototype),isRegExp=kindOfTest("RegExp"),reduceDescriptors=(Ra,qa)=>{const ed=Object.getOwnPropertyDescriptors(Ra),td={};forEach(ed,(rd,sd)=>{let od;(od=qa(rd,sd,Ra))!==!1&&(td[sd]=od||rd)}),Object.defineProperties(Ra,td)},freezeMethods=Ra=>{reduceDescriptors(Ra,(qa,ed)=>{if(isFunction(Ra)&&["arguments","caller","callee"].indexOf(ed)!==-1)return!1;const td=Ra[ed];if(isFunction(td)){if(qa.enumerable=!1,"writable"in qa){qa.writable=!1;return}qa.set||(qa.set=()=>{throw Error("Can not rewrite read-only method '"+ed+"'")})}})},toObjectSet=(Ra,qa)=>{const ed={},td=rd=>{rd.forEach(sd=>{ed[sd]=!0})};return isArray(Ra)?td(Ra):td(String(Ra).split(qa)),ed},noop=()=>{},toFiniteNumber=(Ra,qa)=>Ra!=null&&Number.isFinite(Ra=+Ra)?Ra:qa,ALPHA="abcdefghijklmnopqrstuvwxyz",DIGIT="0123456789",ALPHABET={DIGIT,ALPHA,ALPHA_DIGIT:ALPHA+ALPHA.toUpperCase()+DIGIT},generateString=(Ra=16,qa=ALPHABET.ALPHA_DIGIT)=>{let ed="";const{length:td}=qa;for(;Ra--;)ed+=qa[Math.random()*td|0];return ed};function isSpecCompliantForm(Ra){return!!(Ra&&isFunction(Ra.append)&&Ra[Symbol.toStringTag]==="FormData"&&Ra[Symbol.iterator])}const toJSONObject=Ra=>{const qa=new Array(10),ed=(td,rd)=>{if(isObject(td)){if(qa.indexOf(td)>=0)return;if(!("toJSON"in td)){qa[rd]=td;const sd=isArray(td)?[]:{};return forEach(td,(od,ld)=>{const ud=ed(od,rd+1);!isUndefined(ud)&&(sd[ld]=ud)}),qa[rd]=void 0,sd}}return td};return ed(Ra,0)},isAsyncFn=kindOfTest("AsyncFunction"),isThenable=Ra=>Ra&&(isObject(Ra)||isFunction(Ra))&&isFunction(Ra.then)&&isFunction(Ra.catch),_setImmediate=((Ra,qa)=>Ra?setImmediate:qa?((ed,td)=>(_global.addEventListener("message",({source:rd,data:sd})=>{rd===_global&&sd===ed&&td.length&&td.shift()()},!1),rd=>{td.push(rd),_global.postMessage(ed,"*")}))(`axios@${Math.random()}`,[]):ed=>setTimeout(ed))(typeof setImmediate=="function",isFunction(_global.postMessage)),asap=typeof queueMicrotask<"u"?queueMicrotask.bind(_global):typeof define_process_default<"u"&&define_process_default.nextTick||_setImmediate,utils$1={isArray,isArrayBuffer,isBuffer,isFormData,isArrayBufferView,isString,isNumber,isBoolean,isObject,isPlainObject,isReadableStream,isRequest,isResponse,isHeaders,isUndefined,isDate,isFile,isBlob,isRegExp,isFunction,isStream,isURLSearchParams,isTypedArray,isFileList,forEach,merge,extend,trim,stripBOM,inherits,toFlatObject,kindOf,kindOfTest,endsWith,toArray,forEachEntry,matchAll,isHTMLForm,hasOwnProperty:hasOwnProperty$1,hasOwnProp:hasOwnProperty$1,reduceDescriptors,freezeMethods,toObjectSet,toCamelCase,noop,toFiniteNumber,findKey,global:_global,isContextDefined,ALPHABET,generateString,isSpecCompliantForm,toJSONObject,isAsyncFn,isThenable,setImmediate:_setImmediate,asap};function AxiosError(Ra,qa,ed,td,rd){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=Ra,this.name="AxiosError",qa&&(this.code=qa),ed&&(this.config=ed),td&&(this.request=td),rd&&(this.response=rd,this.status=rd.status?rd.status:null)}utils$1.inherits(AxiosError,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:utils$1.toJSONObject(this.config),code:this.code,status:this.status}}});const prototype$1=AxiosError.prototype,descriptors={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(Ra=>{descriptors[Ra]={value:Ra}});Object.defineProperties(AxiosError,descriptors);Object.defineProperty(prototype$1,"isAxiosError",{value:!0});AxiosError.from=(Ra,qa,ed,td,rd,sd)=>{const od=Object.create(prototype$1);return utils$1.toFlatObject(Ra,od,function(ud){return ud!==Error.prototype},ld=>ld!=="isAxiosError"),AxiosError.call(od,Ra.message,qa,ed,td,rd),od.cause=Ra,od.name=Ra.name,sd&&Object.assign(od,sd),od};const httpAdapter=null;function isVisitable(Ra){return utils$1.isPlainObject(Ra)||utils$1.isArray(Ra)}function removeBrackets(Ra){return utils$1.endsWith(Ra,"[]")?Ra.slice(0,-2):Ra}function renderKey(Ra,qa,ed){return Ra?Ra.concat(qa).map(function(rd,sd){return rd=removeBrackets(rd),!ed&&sd?"["+rd+"]":rd}).join(ed?".":""):qa}function isFlatArray(Ra){return utils$1.isArray(Ra)&&!Ra.some(isVisitable)}const predicates=utils$1.toFlatObject(utils$1,{},null,function(qa){return/^is[A-Z]/.test(qa)});function toFormData(Ra,qa,ed){if(!utils$1.isObject(Ra))throw new TypeError("target must be an object");qa=qa||new FormData,ed=utils$1.toFlatObject(ed,{metaTokens:!0,dots:!1,indexes:!1},!1,function(Id,Bd){return!utils$1.isUndefined(Bd[Id])});const td=ed.metaTokens,rd=ed.visitor||dd,sd=ed.dots,od=ed.indexes,ud=(ed.Blob||typeof Blob<"u"&&Blob)&&utils$1.isSpecCompliantForm(qa);if(!utils$1.isFunction(rd))throw new TypeError("visitor must be a function");function cd(Td){if(Td===null)return"";if(utils$1.isDate(Td))return Td.toISOString();if(!ud&&utils$1.isBlob(Td))throw new AxiosError("Blob is not supported. Use a Buffer instead.");return utils$1.isArrayBuffer(Td)||utils$1.isTypedArray(Td)?ud&&typeof Blob=="function"?new Blob([Td]):Buffer$2.from(Td):Td}function dd(Td,Id,Bd){let Rd=Td;if(Td&&!Bd&&typeof Td=="object"){if(utils$1.endsWith(Id,"{}"))Id=td?Id:Id.slice(0,-2),Td=JSON.stringify(Td);else if(utils$1.isArray(Td)&&isFlatArray(Td)||(utils$1.isFileList(Td)||utils$1.endsWith(Id,"[]"))&&(Rd=utils$1.toArray(Td)))return Id=removeBrackets(Id),Rd.forEach(function(Md,Ld){!(utils$1.isUndefined(Md)||Md===null)&&qa.append(od===!0?renderKey([Id],Ld,sd):od===null?Id:Id+"[]",cd(Md))}),!1}return isVisitable(Td)?!0:(qa.append(renderKey(Bd,Id,sd),cd(Td)),!1)}const _d=[],Ed=Object.assign(predicates,{defaultVisitor:dd,convertValue:cd,isVisitable});function Ad(Td,Id){if(!utils$1.isUndefined(Td)){if(_d.indexOf(Td)!==-1)throw Error("Circular reference detected in "+Id.join("."));_d.push(Td),utils$1.forEach(Td,function(Rd,Od){(!(utils$1.isUndefined(Rd)||Rd===null)&&rd.call(qa,Rd,utils$1.isString(Od)?Od.trim():Od,Id,Ed))===!0&&Ad(Rd,Id?Id.concat(Od):[Od])}),_d.pop()}}if(!utils$1.isObject(Ra))throw new TypeError("data must be an object");return Ad(Ra),qa}function encode$1(Ra){const qa={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(Ra).replace(/[!'()~]|%20|%00/g,function(td){return qa[td]})}function AxiosURLSearchParams(Ra,qa){this._pairs=[],Ra&&toFormData(Ra,this,qa)}const prototype=AxiosURLSearchParams.prototype;prototype.append=function(qa,ed){this._pairs.push([qa,ed])};prototype.toString=function(qa){const ed=qa?function(td){return qa.call(this,td,encode$1)}:encode$1;return this._pairs.map(function(rd){return ed(rd[0])+"="+ed(rd[1])},"").join("&")};function encode(Ra){return encodeURIComponent(Ra).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(Ra,qa,ed){if(!qa)return Ra;const td=ed&&ed.encode||encode,rd=ed&&ed.serialize;let sd;if(rd?sd=rd(qa,ed):sd=utils$1.isURLSearchParams(qa)?qa.toString():new AxiosURLSearchParams(qa,ed).toString(td),sd){const od=Ra.indexOf("#");od!==-1&&(Ra=Ra.slice(0,od)),Ra+=(Ra.indexOf("?")===-1?"?":"&")+sd}return Ra}class InterceptorManager{constructor(){this.handlers=[]}use(qa,ed,td){return this.handlers.push({fulfilled:qa,rejected:ed,synchronous:td?td.synchronous:!1,runWhen:td?td.runWhen:null}),this.handlers.length-1}eject(qa){this.handlers[qa]&&(this.handlers[qa]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(qa){utils$1.forEach(this.handlers,function(td){td!==null&&qa(td)})}}const transitionalDefaults={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},URLSearchParams$1=typeof URLSearchParams<"u"?URLSearchParams:AxiosURLSearchParams,FormData$1=typeof FormData<"u"?FormData:null,Blob$1=typeof Blob<"u"?Blob:null,platform$1={isBrowser:!0,classes:{URLSearchParams:URLSearchParams$1,FormData:FormData$1,Blob:Blob$1},protocols:["http","https","file","blob","url","data"]},hasBrowserEnv=typeof window<"u"&&typeof document<"u",_navigator=typeof navigator=="object"&&navigator||void 0,hasStandardBrowserEnv=hasBrowserEnv&&(!_navigator||["ReactNative","NativeScript","NS"].indexOf(_navigator.product)<0),hasStandardBrowserWebWorkerEnv=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",origin=hasBrowserEnv&&window.location.href||"http://localhost",utils=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv,hasStandardBrowserEnv,hasStandardBrowserWebWorkerEnv,navigator:_navigator,origin},Symbol.toStringTag,{value:"Module"})),platform={...utils,...platform$1};function toURLEncodedForm(Ra,qa){return toFormData(Ra,new platform.classes.URLSearchParams,Object.assign({visitor:function(ed,td,rd,sd){return platform.isNode&&utils$1.isBuffer(ed)?(this.append(td,ed.toString("base64")),!1):sd.defaultVisitor.apply(this,arguments)}},qa))}function parsePropPath(Ra){return utils$1.matchAll(/\w+|\[(\w*)]/g,Ra).map(qa=>qa[0]==="[]"?"":qa[1]||qa[0])}function arrayToObject(Ra){const qa={},ed=Object.keys(Ra);let td;const rd=ed.length;let sd;for(td=0;td=ed.length;return od=!od&&utils$1.isArray(rd)?rd.length:od,ud?(utils$1.hasOwnProp(rd,od)?rd[od]=[rd[od],td]:rd[od]=td,!ld):((!rd[od]||!utils$1.isObject(rd[od]))&&(rd[od]=[]),qa(ed,td,rd[od],sd)&&utils$1.isArray(rd[od])&&(rd[od]=arrayToObject(rd[od])),!ld)}if(utils$1.isFormData(Ra)&&utils$1.isFunction(Ra.entries)){const ed={};return utils$1.forEachEntry(Ra,(td,rd)=>{qa(parsePropPath(td),rd,ed,0)}),ed}return null}function stringifySafely(Ra,qa,ed){if(utils$1.isString(Ra))try{return(qa||JSON.parse)(Ra),utils$1.trim(Ra)}catch(td){if(td.name!=="SyntaxError")throw td}return(ed||JSON.stringify)(Ra)}const defaults={transitional:transitionalDefaults,adapter:["xhr","http","fetch"],transformRequest:[function(qa,ed){const td=ed.getContentType()||"",rd=td.indexOf("application/json")>-1,sd=utils$1.isObject(qa);if(sd&&utils$1.isHTMLForm(qa)&&(qa=new FormData(qa)),utils$1.isFormData(qa))return rd?JSON.stringify(formDataToJSON(qa)):qa;if(utils$1.isArrayBuffer(qa)||utils$1.isBuffer(qa)||utils$1.isStream(qa)||utils$1.isFile(qa)||utils$1.isBlob(qa)||utils$1.isReadableStream(qa))return qa;if(utils$1.isArrayBufferView(qa))return qa.buffer;if(utils$1.isURLSearchParams(qa))return ed.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),qa.toString();let ld;if(sd){if(td.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm(qa,this.formSerializer).toString();if((ld=utils$1.isFileList(qa))||td.indexOf("multipart/form-data")>-1){const ud=this.env&&this.env.FormData;return toFormData(ld?{"files[]":qa}:qa,ud&&new ud,this.formSerializer)}}return sd||rd?(ed.setContentType("application/json",!1),stringifySafely(qa)):qa}],transformResponse:[function(qa){const ed=this.transitional||defaults.transitional,td=ed&&ed.forcedJSONParsing,rd=this.responseType==="json";if(utils$1.isResponse(qa)||utils$1.isReadableStream(qa))return qa;if(qa&&utils$1.isString(qa)&&(td&&!this.responseType||rd)){const od=!(ed&&ed.silentJSONParsing)&&rd;try{return JSON.parse(qa)}catch(ld){if(od)throw ld.name==="SyntaxError"?AxiosError.from(ld,AxiosError.ERR_BAD_RESPONSE,this,null,this.response):ld}}return qa}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:platform.classes.FormData,Blob:platform.classes.Blob},validateStatus:function(qa){return qa>=200&&qa<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};utils$1.forEach(["delete","get","head","post","put","patch"],Ra=>{defaults.headers[Ra]={}});const ignoreDuplicateOf=utils$1.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),parseHeaders=Ra=>{const qa={};let ed,td,rd;return Ra&&Ra.split(` -`).forEach(function(od){rd=od.indexOf(":"),ed=od.substring(0,rd).trim().toLowerCase(),td=od.substring(rd+1).trim(),!(!ed||qa[ed]&&ignoreDuplicateOf[ed])&&(ed==="set-cookie"?qa[ed]?qa[ed].push(td):qa[ed]=[td]:qa[ed]=qa[ed]?qa[ed]+", "+td:td)}),qa},$internals=Symbol("internals");function normalizeHeader(Ra){return Ra&&String(Ra).trim().toLowerCase()}function normalizeValue(Ra){return Ra===!1||Ra==null?Ra:utils$1.isArray(Ra)?Ra.map(normalizeValue):String(Ra)}function parseTokens(Ra){const qa=Object.create(null),ed=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let td;for(;td=ed.exec(Ra);)qa[td[1]]=td[2];return qa}const isValidHeaderName=Ra=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(Ra.trim());function matchHeaderValue(Ra,qa,ed,td,rd){if(utils$1.isFunction(td))return td.call(this,qa,ed);if(rd&&(qa=ed),!!utils$1.isString(qa)){if(utils$1.isString(td))return qa.indexOf(td)!==-1;if(utils$1.isRegExp(td))return td.test(qa)}}function formatHeader(Ra){return Ra.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(qa,ed,td)=>ed.toUpperCase()+td)}function buildAccessors(Ra,qa){const ed=utils$1.toCamelCase(" "+qa);["get","set","has"].forEach(td=>{Object.defineProperty(Ra,td+ed,{value:function(rd,sd,od){return this[td].call(this,qa,rd,sd,od)},configurable:!0})})}class AxiosHeaders{constructor(qa){qa&&this.set(qa)}set(qa,ed,td){const rd=this;function sd(ld,ud,cd){const dd=normalizeHeader(ud);if(!dd)throw new Error("header name must be a non-empty string");const _d=utils$1.findKey(rd,dd);(!_d||rd[_d]===void 0||cd===!0||cd===void 0&&rd[_d]!==!1)&&(rd[_d||ud]=normalizeValue(ld))}const od=(ld,ud)=>utils$1.forEach(ld,(cd,dd)=>sd(cd,dd,ud));if(utils$1.isPlainObject(qa)||qa instanceof this.constructor)od(qa,ed);else if(utils$1.isString(qa)&&(qa=qa.trim())&&!isValidHeaderName(qa))od(parseHeaders(qa),ed);else if(utils$1.isHeaders(qa))for(const[ld,ud]of qa.entries())sd(ud,ld,td);else qa!=null&&sd(ed,qa,td);return this}get(qa,ed){if(qa=normalizeHeader(qa),qa){const td=utils$1.findKey(this,qa);if(td){const rd=this[td];if(!ed)return rd;if(ed===!0)return parseTokens(rd);if(utils$1.isFunction(ed))return ed.call(this,rd,td);if(utils$1.isRegExp(ed))return ed.exec(rd);throw new TypeError("parser must be boolean|regexp|function")}}}has(qa,ed){if(qa=normalizeHeader(qa),qa){const td=utils$1.findKey(this,qa);return!!(td&&this[td]!==void 0&&(!ed||matchHeaderValue(this,this[td],td,ed)))}return!1}delete(qa,ed){const td=this;let rd=!1;function sd(od){if(od=normalizeHeader(od),od){const ld=utils$1.findKey(td,od);ld&&(!ed||matchHeaderValue(td,td[ld],ld,ed))&&(delete td[ld],rd=!0)}}return utils$1.isArray(qa)?qa.forEach(sd):sd(qa),rd}clear(qa){const ed=Object.keys(this);let td=ed.length,rd=!1;for(;td--;){const sd=ed[td];(!qa||matchHeaderValue(this,this[sd],sd,qa,!0))&&(delete this[sd],rd=!0)}return rd}normalize(qa){const ed=this,td={};return utils$1.forEach(this,(rd,sd)=>{const od=utils$1.findKey(td,sd);if(od){ed[od]=normalizeValue(rd),delete ed[sd];return}const ld=qa?formatHeader(sd):String(sd).trim();ld!==sd&&delete ed[sd],ed[ld]=normalizeValue(rd),td[ld]=!0}),this}concat(...qa){return this.constructor.concat(this,...qa)}toJSON(qa){const ed=Object.create(null);return utils$1.forEach(this,(td,rd)=>{td!=null&&td!==!1&&(ed[rd]=qa&&utils$1.isArray(td)?td.join(", "):td)}),ed}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([qa,ed])=>qa+": "+ed).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(qa){return qa instanceof this?qa:new this(qa)}static concat(qa,...ed){const td=new this(qa);return ed.forEach(rd=>td.set(rd)),td}static accessor(qa){const td=(this[$internals]=this[$internals]={accessors:{}}).accessors,rd=this.prototype;function sd(od){const ld=normalizeHeader(od);td[ld]||(buildAccessors(rd,od),td[ld]=!0)}return utils$1.isArray(qa)?qa.forEach(sd):sd(qa),this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);utils$1.reduceDescriptors(AxiosHeaders.prototype,({value:Ra},qa)=>{let ed=qa[0].toUpperCase()+qa.slice(1);return{get:()=>Ra,set(td){this[ed]=td}}});utils$1.freezeMethods(AxiosHeaders);function transformData(Ra,qa){const ed=this||defaults,td=qa||ed,rd=AxiosHeaders.from(td.headers);let sd=td.data;return utils$1.forEach(Ra,function(ld){sd=ld.call(ed,sd,rd.normalize(),qa?qa.status:void 0)}),rd.normalize(),sd}function isCancel(Ra){return!!(Ra&&Ra.__CANCEL__)}function CanceledError(Ra,qa,ed){AxiosError.call(this,Ra??"canceled",AxiosError.ERR_CANCELED,qa,ed),this.name="CanceledError"}utils$1.inherits(CanceledError,AxiosError,{__CANCEL__:!0});function settle(Ra,qa,ed){const td=ed.config.validateStatus;!ed.status||!td||td(ed.status)?Ra(ed):qa(new AxiosError("Request failed with status code "+ed.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(ed.status/100)-4],ed.config,ed.request,ed))}function parseProtocol(Ra){const qa=/^([-+\w]{1,25})(:?\/\/|:)/.exec(Ra);return qa&&qa[1]||""}function speedometer(Ra,qa){Ra=Ra||10;const ed=new Array(Ra),td=new Array(Ra);let rd=0,sd=0,od;return qa=qa!==void 0?qa:1e3,function(ud){const cd=Date.now(),dd=td[sd];od||(od=cd),ed[rd]=ud,td[rd]=cd;let _d=sd,Ed=0;for(;_d!==rd;)Ed+=ed[_d++],_d=_d%Ra;if(rd=(rd+1)%Ra,rd===sd&&(sd=(sd+1)%Ra),cd-od{ed=dd,rd=null,sd&&(clearTimeout(sd),sd=null),Ra.apply(null,cd)};return[(...cd)=>{const dd=Date.now(),_d=dd-ed;_d>=td?od(cd,dd):(rd=cd,sd||(sd=setTimeout(()=>{sd=null,od(rd)},td-_d)))},()=>rd&&od(rd)]}const progressEventReducer=(Ra,qa,ed=3)=>{let td=0;const rd=speedometer(50,250);return throttle(sd=>{const od=sd.loaded,ld=sd.lengthComputable?sd.total:void 0,ud=od-td,cd=rd(ud),dd=od<=ld;td=od;const _d={loaded:od,total:ld,progress:ld?od/ld:void 0,bytes:ud,rate:cd||void 0,estimated:cd&&ld&&dd?(ld-od)/cd:void 0,event:sd,lengthComputable:ld!=null,[qa?"download":"upload"]:!0};Ra(_d)},ed)},progressEventDecorator=(Ra,qa)=>{const ed=Ra!=null;return[td=>qa[0]({lengthComputable:ed,total:Ra,loaded:td}),qa[1]]},asyncDecorator=Ra=>(...qa)=>utils$1.asap(()=>Ra(...qa)),isURLSameOrigin=platform.hasStandardBrowserEnv?function(){const qa=platform.navigator&&/(msie|trident)/i.test(platform.navigator.userAgent),ed=document.createElement("a");let td;function rd(sd){let od=sd;return qa&&(ed.setAttribute("href",od),od=ed.href),ed.setAttribute("href",od),{href:ed.href,protocol:ed.protocol?ed.protocol.replace(/:$/,""):"",host:ed.host,search:ed.search?ed.search.replace(/^\?/,""):"",hash:ed.hash?ed.hash.replace(/^#/,""):"",hostname:ed.hostname,port:ed.port,pathname:ed.pathname.charAt(0)==="/"?ed.pathname:"/"+ed.pathname}}return td=rd(window.location.href),function(od){const ld=utils$1.isString(od)?rd(od):od;return ld.protocol===td.protocol&&ld.host===td.host}}():function(){return function(){return!0}}(),cookies=platform.hasStandardBrowserEnv?{write(Ra,qa,ed,td,rd,sd){const od=[Ra+"="+encodeURIComponent(qa)];utils$1.isNumber(ed)&&od.push("expires="+new Date(ed).toGMTString()),utils$1.isString(td)&&od.push("path="+td),utils$1.isString(rd)&&od.push("domain="+rd),sd===!0&&od.push("secure"),document.cookie=od.join("; ")},read(Ra){const qa=document.cookie.match(new RegExp("(^|;\\s*)("+Ra+")=([^;]*)"));return qa?decodeURIComponent(qa[3]):null},remove(Ra){this.write(Ra,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function isAbsoluteURL(Ra){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(Ra)}function combineURLs(Ra,qa){return qa?Ra.replace(/\/?\/$/,"")+"/"+qa.replace(/^\/+/,""):Ra}function buildFullPath(Ra,qa){return Ra&&!isAbsoluteURL(qa)?combineURLs(Ra,qa):qa}const headersToObject=Ra=>Ra instanceof AxiosHeaders?{...Ra}:Ra;function mergeConfig(Ra,qa){qa=qa||{};const ed={};function td(cd,dd,_d){return utils$1.isPlainObject(cd)&&utils$1.isPlainObject(dd)?utils$1.merge.call({caseless:_d},cd,dd):utils$1.isPlainObject(dd)?utils$1.merge({},dd):utils$1.isArray(dd)?dd.slice():dd}function rd(cd,dd,_d){if(utils$1.isUndefined(dd)){if(!utils$1.isUndefined(cd))return td(void 0,cd,_d)}else return td(cd,dd,_d)}function sd(cd,dd){if(!utils$1.isUndefined(dd))return td(void 0,dd)}function od(cd,dd){if(utils$1.isUndefined(dd)){if(!utils$1.isUndefined(cd))return td(void 0,cd)}else return td(void 0,dd)}function ld(cd,dd,_d){if(_d in qa)return td(cd,dd);if(_d in Ra)return td(void 0,cd)}const ud={url:sd,method:sd,data:sd,baseURL:od,transformRequest:od,transformResponse:od,paramsSerializer:od,timeout:od,timeoutMessage:od,withCredentials:od,withXSRFToken:od,adapter:od,responseType:od,xsrfCookieName:od,xsrfHeaderName:od,onUploadProgress:od,onDownloadProgress:od,decompress:od,maxContentLength:od,maxBodyLength:od,beforeRedirect:od,transport:od,httpAgent:od,httpsAgent:od,cancelToken:od,socketPath:od,responseEncoding:od,validateStatus:ld,headers:(cd,dd)=>rd(headersToObject(cd),headersToObject(dd),!0)};return utils$1.forEach(Object.keys(Object.assign({},Ra,qa)),function(dd){const _d=ud[dd]||rd,Ed=_d(Ra[dd],qa[dd],dd);utils$1.isUndefined(Ed)&&_d!==ld||(ed[dd]=Ed)}),ed}const resolveConfig=Ra=>{const qa=mergeConfig({},Ra);let{data:ed,withXSRFToken:td,xsrfHeaderName:rd,xsrfCookieName:sd,headers:od,auth:ld}=qa;qa.headers=od=AxiosHeaders.from(od),qa.url=buildURL(buildFullPath(qa.baseURL,qa.url),Ra.params,Ra.paramsSerializer),ld&&od.set("Authorization","Basic "+btoa((ld.username||"")+":"+(ld.password?unescape(encodeURIComponent(ld.password)):"")));let ud;if(utils$1.isFormData(ed)){if(platform.hasStandardBrowserEnv||platform.hasStandardBrowserWebWorkerEnv)od.setContentType(void 0);else if((ud=od.getContentType())!==!1){const[cd,...dd]=ud?ud.split(";").map(_d=>_d.trim()).filter(Boolean):[];od.setContentType([cd||"multipart/form-data",...dd].join("; "))}}if(platform.hasStandardBrowserEnv&&(td&&utils$1.isFunction(td)&&(td=td(qa)),td||td!==!1&&isURLSameOrigin(qa.url))){const cd=rd&&sd&&cookies.read(sd);cd&&od.set(rd,cd)}return qa},isXHRAdapterSupported=typeof XMLHttpRequest<"u",xhrAdapter=isXHRAdapterSupported&&function(Ra){return new Promise(function(ed,td){const rd=resolveConfig(Ra);let sd=rd.data;const od=AxiosHeaders.from(rd.headers).normalize();let{responseType:ld,onUploadProgress:ud,onDownloadProgress:cd}=rd,dd,_d,Ed,Ad,Td;function Id(){Ad&&Ad(),Td&&Td(),rd.cancelToken&&rd.cancelToken.unsubscribe(dd),rd.signal&&rd.signal.removeEventListener("abort",dd)}let Bd=new XMLHttpRequest;Bd.open(rd.method.toUpperCase(),rd.url,!0),Bd.timeout=rd.timeout;function Rd(){if(!Bd)return;const Md=AxiosHeaders.from("getAllResponseHeaders"in Bd&&Bd.getAllResponseHeaders()),Fd={data:!ld||ld==="text"||ld==="json"?Bd.responseText:Bd.response,status:Bd.status,statusText:Bd.statusText,headers:Md,config:Ra,request:Bd};settle(function(Vd){ed(Vd),Id()},function(Vd){td(Vd),Id()},Fd),Bd=null}"onloadend"in Bd?Bd.onloadend=Rd:Bd.onreadystatechange=function(){!Bd||Bd.readyState!==4||Bd.status===0&&!(Bd.responseURL&&Bd.responseURL.indexOf("file:")===0)||setTimeout(Rd)},Bd.onabort=function(){Bd&&(td(new AxiosError("Request aborted",AxiosError.ECONNABORTED,Ra,Bd)),Bd=null)},Bd.onerror=function(){td(new AxiosError("Network Error",AxiosError.ERR_NETWORK,Ra,Bd)),Bd=null},Bd.ontimeout=function(){let Ld=rd.timeout?"timeout of "+rd.timeout+"ms exceeded":"timeout exceeded";const Fd=rd.transitional||transitionalDefaults;rd.timeoutErrorMessage&&(Ld=rd.timeoutErrorMessage),td(new AxiosError(Ld,Fd.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,Ra,Bd)),Bd=null},sd===void 0&&od.setContentType(null),"setRequestHeader"in Bd&&utils$1.forEach(od.toJSON(),function(Ld,Fd){Bd.setRequestHeader(Fd,Ld)}),utils$1.isUndefined(rd.withCredentials)||(Bd.withCredentials=!!rd.withCredentials),ld&&ld!=="json"&&(Bd.responseType=rd.responseType),cd&&([Ed,Td]=progressEventReducer(cd,!0),Bd.addEventListener("progress",Ed)),ud&&Bd.upload&&([_d,Ad]=progressEventReducer(ud),Bd.upload.addEventListener("progress",_d),Bd.upload.addEventListener("loadend",Ad)),(rd.cancelToken||rd.signal)&&(dd=Md=>{Bd&&(td(!Md||Md.type?new CanceledError(null,Ra,Bd):Md),Bd.abort(),Bd=null)},rd.cancelToken&&rd.cancelToken.subscribe(dd),rd.signal&&(rd.signal.aborted?dd():rd.signal.addEventListener("abort",dd)));const Od=parseProtocol(rd.url);if(Od&&platform.protocols.indexOf(Od)===-1){td(new AxiosError("Unsupported protocol "+Od+":",AxiosError.ERR_BAD_REQUEST,Ra));return}Bd.send(sd||null)})},composeSignals=(Ra,qa)=>{const{length:ed}=Ra=Ra?Ra.filter(Boolean):[];if(qa||ed){let td=new AbortController,rd;const sd=function(cd){if(!rd){rd=!0,ld();const dd=cd instanceof Error?cd:this.reason;td.abort(dd instanceof AxiosError?dd:new CanceledError(dd instanceof Error?dd.message:dd))}};let od=qa&&setTimeout(()=>{od=null,sd(new AxiosError(`timeout ${qa} of ms exceeded`,AxiosError.ETIMEDOUT))},qa);const ld=()=>{Ra&&(od&&clearTimeout(od),od=null,Ra.forEach(cd=>{cd.unsubscribe?cd.unsubscribe(sd):cd.removeEventListener("abort",sd)}),Ra=null)};Ra.forEach(cd=>cd.addEventListener("abort",sd));const{signal:ud}=td;return ud.unsubscribe=()=>utils$1.asap(ld),ud}},streamChunk=function*(Ra,qa){let ed=Ra.byteLength;if(!qa||ed{const rd=readBytes(Ra,qa);let sd=0,od,ld=ud=>{od||(od=!0,td&&td(ud))};return new ReadableStream({async pull(ud){try{const{done:cd,value:dd}=await rd.next();if(cd){ld(),ud.close();return}let _d=dd.byteLength;if(ed){let Ed=sd+=_d;ed(Ed)}ud.enqueue(new Uint8Array(dd))}catch(cd){throw ld(cd),cd}},cancel(ud){return ld(ud),rd.return()}},{highWaterMark:2})},isFetchSupported=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",isReadableStreamSupported=isFetchSupported&&typeof ReadableStream=="function",encodeText=isFetchSupported&&(typeof TextEncoder=="function"?(Ra=>qa=>Ra.encode(qa))(new TextEncoder):async Ra=>new Uint8Array(await new Response(Ra).arrayBuffer())),test=(Ra,...qa)=>{try{return!!Ra(...qa)}catch{return!1}},supportsRequestStream=isReadableStreamSupported&&test(()=>{let Ra=!1;const qa=new Request(platform.origin,{body:new ReadableStream,method:"POST",get duplex(){return Ra=!0,"half"}}).headers.has("Content-Type");return Ra&&!qa}),DEFAULT_CHUNK_SIZE=64*1024,supportsResponseStream=isReadableStreamSupported&&test(()=>utils$1.isReadableStream(new Response("").body)),resolvers={stream:supportsResponseStream&&(Ra=>Ra.body)};isFetchSupported&&(Ra=>{["text","arrayBuffer","blob","formData","stream"].forEach(qa=>{!resolvers[qa]&&(resolvers[qa]=utils$1.isFunction(Ra[qa])?ed=>ed[qa]():(ed,td)=>{throw new AxiosError(`Response type '${qa}' is not supported`,AxiosError.ERR_NOT_SUPPORT,td)})})})(new Response);const getBodyLength=async Ra=>{if(Ra==null)return 0;if(utils$1.isBlob(Ra))return Ra.size;if(utils$1.isSpecCompliantForm(Ra))return(await new Request(platform.origin,{method:"POST",body:Ra}).arrayBuffer()).byteLength;if(utils$1.isArrayBufferView(Ra)||utils$1.isArrayBuffer(Ra))return Ra.byteLength;if(utils$1.isURLSearchParams(Ra)&&(Ra=Ra+""),utils$1.isString(Ra))return(await encodeText(Ra)).byteLength},resolveBodyLength=async(Ra,qa)=>{const ed=utils$1.toFiniteNumber(Ra.getContentLength());return ed??getBodyLength(qa)},fetchAdapter=isFetchSupported&&(async Ra=>{let{url:qa,method:ed,data:td,signal:rd,cancelToken:sd,timeout:od,onDownloadProgress:ld,onUploadProgress:ud,responseType:cd,headers:dd,withCredentials:_d="same-origin",fetchOptions:Ed}=resolveConfig(Ra);cd=cd?(cd+"").toLowerCase():"text";let Ad=composeSignals([rd,sd&&sd.toAbortSignal()],od),Td;const Id=Ad&&Ad.unsubscribe&&(()=>{Ad.unsubscribe()});let Bd;try{if(ud&&supportsRequestStream&&ed!=="get"&&ed!=="head"&&(Bd=await resolveBodyLength(dd,td))!==0){let Fd=new Request(qa,{method:"POST",body:td,duplex:"half"}),jd;if(utils$1.isFormData(td)&&(jd=Fd.headers.get("content-type"))&&dd.setContentType(jd),Fd.body){const[Vd,Qd]=progressEventDecorator(Bd,progressEventReducer(asyncDecorator(ud)));td=trackStream(Fd.body,DEFAULT_CHUNK_SIZE,Vd,Qd)}}utils$1.isString(_d)||(_d=_d?"include":"omit");const Rd="credentials"in Request.prototype;Td=new Request(qa,{...Ed,signal:Ad,method:ed.toUpperCase(),headers:dd.normalize().toJSON(),body:td,duplex:"half",credentials:Rd?_d:void 0});let Od=await fetch(Td);const Md=supportsResponseStream&&(cd==="stream"||cd==="response");if(supportsResponseStream&&(ld||Md&&Id)){const Fd={};["status","statusText","headers"].forEach(qd=>{Fd[qd]=Od[qd]});const jd=utils$1.toFiniteNumber(Od.headers.get("content-length")),[Vd,Qd]=ld&&progressEventDecorator(jd,progressEventReducer(asyncDecorator(ld),!0))||[];Od=new Response(trackStream(Od.body,DEFAULT_CHUNK_SIZE,Vd,()=>{Qd&&Qd(),Id&&Id()}),Fd)}cd=cd||"text";let Ld=await resolvers[utils$1.findKey(resolvers,cd)||"text"](Od,Ra);return!Md&&Id&&Id(),await new Promise((Fd,jd)=>{settle(Fd,jd,{data:Ld,headers:AxiosHeaders.from(Od.headers),status:Od.status,statusText:Od.statusText,config:Ra,request:Td})})}catch(Rd){throw Id&&Id(),Rd&&Rd.name==="TypeError"&&/fetch/i.test(Rd.message)?Object.assign(new AxiosError("Network Error",AxiosError.ERR_NETWORK,Ra,Td),{cause:Rd.cause||Rd}):AxiosError.from(Rd,Rd&&Rd.code,Ra,Td)}}),knownAdapters={http:httpAdapter,xhr:xhrAdapter,fetch:fetchAdapter};utils$1.forEach(knownAdapters,(Ra,qa)=>{if(Ra){try{Object.defineProperty(Ra,"name",{value:qa})}catch{}Object.defineProperty(Ra,"adapterName",{value:qa})}});const renderReason=Ra=>`- ${Ra}`,isResolvedHandle=Ra=>utils$1.isFunction(Ra)||Ra===null||Ra===!1,adapters={getAdapter:Ra=>{Ra=utils$1.isArray(Ra)?Ra:[Ra];const{length:qa}=Ra;let ed,td;const rd={};for(let sd=0;sd`adapter ${ld} `+(ud===!1?"is not supported by the environment":"is not available in the build"));let od=qa?sd.length>1?`since : -`+sd.map(renderReason).join(` -`):" "+renderReason(sd[0]):"as no adapter specified";throw new AxiosError("There is no suitable adapter to dispatch the request "+od,"ERR_NOT_SUPPORT")}return td},adapters:knownAdapters};function throwIfCancellationRequested(Ra){if(Ra.cancelToken&&Ra.cancelToken.throwIfRequested(),Ra.signal&&Ra.signal.aborted)throw new CanceledError(null,Ra)}function dispatchRequest(Ra){return throwIfCancellationRequested(Ra),Ra.headers=AxiosHeaders.from(Ra.headers),Ra.data=transformData.call(Ra,Ra.transformRequest),["post","put","patch"].indexOf(Ra.method)!==-1&&Ra.headers.setContentType("application/x-www-form-urlencoded",!1),adapters.getAdapter(Ra.adapter||defaults.adapter)(Ra).then(function(td){return throwIfCancellationRequested(Ra),td.data=transformData.call(Ra,Ra.transformResponse,td),td.headers=AxiosHeaders.from(td.headers),td},function(td){return isCancel(td)||(throwIfCancellationRequested(Ra),td&&td.response&&(td.response.data=transformData.call(Ra,Ra.transformResponse,td.response),td.response.headers=AxiosHeaders.from(td.response.headers))),Promise.reject(td)})}const VERSION="1.7.7",validators$1={};["object","boolean","number","function","string","symbol"].forEach((Ra,qa)=>{validators$1[Ra]=function(td){return typeof td===Ra||"a"+(qa<1?"n ":" ")+Ra}});const deprecatedWarnings={};validators$1.transitional=function(qa,ed,td){function rd(sd,od){return"[Axios v"+VERSION+"] Transitional option '"+sd+"'"+od+(td?". "+td:"")}return(sd,od,ld)=>{if(qa===!1)throw new AxiosError(rd(od," has been removed"+(ed?" in "+ed:"")),AxiosError.ERR_DEPRECATED);return ed&&!deprecatedWarnings[od]&&(deprecatedWarnings[od]=!0,console.warn(rd(od," has been deprecated since v"+ed+" and will be removed in the near future"))),qa?qa(sd,od,ld):!0}};function assertOptions(Ra,qa,ed){if(typeof Ra!="object")throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE);const td=Object.keys(Ra);let rd=td.length;for(;rd-- >0;){const sd=td[rd],od=qa[sd];if(od){const ld=Ra[sd],ud=ld===void 0||od(ld,sd,Ra);if(ud!==!0)throw new AxiosError("option "+sd+" must be "+ud,AxiosError.ERR_BAD_OPTION_VALUE);continue}if(ed!==!0)throw new AxiosError("Unknown option "+sd,AxiosError.ERR_BAD_OPTION)}}const validator={assertOptions,validators:validators$1},validators=validator.validators;class Axios{constructor(qa){this.defaults=qa,this.interceptors={request:new InterceptorManager,response:new InterceptorManager}}async request(qa,ed){try{return await this._request(qa,ed)}catch(td){if(td instanceof Error){let rd;Error.captureStackTrace?Error.captureStackTrace(rd={}):rd=new Error;const sd=rd.stack?rd.stack.replace(/^.+\n/,""):"";try{td.stack?sd&&!String(td.stack).endsWith(sd.replace(/^.+\n.+\n/,""))&&(td.stack+=` -`+sd):td.stack=sd}catch{}}throw td}}_request(qa,ed){typeof qa=="string"?(ed=ed||{},ed.url=qa):ed=qa||{},ed=mergeConfig(this.defaults,ed);const{transitional:td,paramsSerializer:rd,headers:sd}=ed;td!==void 0&&validator.assertOptions(td,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1),rd!=null&&(utils$1.isFunction(rd)?ed.paramsSerializer={serialize:rd}:validator.assertOptions(rd,{encode:validators.function,serialize:validators.function},!0)),ed.method=(ed.method||this.defaults.method||"get").toLowerCase();let od=sd&&utils$1.merge(sd.common,sd[ed.method]);sd&&utils$1.forEach(["delete","get","head","post","put","patch","common"],Td=>{delete sd[Td]}),ed.headers=AxiosHeaders.concat(od,sd);const ld=[];let ud=!0;this.interceptors.request.forEach(function(Id){typeof Id.runWhen=="function"&&Id.runWhen(ed)===!1||(ud=ud&&Id.synchronous,ld.unshift(Id.fulfilled,Id.rejected))});const cd=[];this.interceptors.response.forEach(function(Id){cd.push(Id.fulfilled,Id.rejected)});let dd,_d=0,Ed;if(!ud){const Td=[dispatchRequest.bind(this),void 0];for(Td.unshift.apply(Td,ld),Td.push.apply(Td,cd),Ed=Td.length,dd=Promise.resolve(ed);_d{if(!td._listeners)return;let sd=td._listeners.length;for(;sd-- >0;)td._listeners[sd](rd);td._listeners=null}),this.promise.then=rd=>{let sd;const od=new Promise(ld=>{td.subscribe(ld),sd=ld}).then(rd);return od.cancel=function(){td.unsubscribe(sd)},od},qa(function(sd,od,ld){td.reason||(td.reason=new CanceledError(sd,od,ld),ed(td.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(qa){if(this.reason){qa(this.reason);return}this._listeners?this._listeners.push(qa):this._listeners=[qa]}unsubscribe(qa){if(!this._listeners)return;const ed=this._listeners.indexOf(qa);ed!==-1&&this._listeners.splice(ed,1)}toAbortSignal(){const qa=new AbortController,ed=td=>{qa.abort(td)};return this.subscribe(ed),qa.signal.unsubscribe=()=>this.unsubscribe(ed),qa.signal}static source(){let qa;return{token:new CancelToken(function(rd){qa=rd}),cancel:qa}}}function spread(Ra){return function(ed){return Ra.apply(null,ed)}}function isAxiosError(Ra){return utils$1.isObject(Ra)&&Ra.isAxiosError===!0}const HttpStatusCode={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(HttpStatusCode).forEach(([Ra,qa])=>{HttpStatusCode[qa]=Ra});function createInstance(Ra){const qa=new Axios(Ra),ed=bind(Axios.prototype.request,qa);return utils$1.extend(ed,Axios.prototype,qa,{allOwnKeys:!0}),utils$1.extend(ed,qa,null,{allOwnKeys:!0}),ed.create=function(rd){return createInstance(mergeConfig(Ra,rd))},ed}const axios=createInstance(defaults);axios.Axios=Axios;axios.CanceledError=CanceledError;axios.CancelToken=CancelToken;axios.isCancel=isCancel;axios.VERSION=VERSION;axios.toFormData=toFormData;axios.AxiosError=AxiosError;axios.Cancel=axios.CanceledError;axios.all=function(qa){return Promise.all(qa)};axios.spread=spread;axios.isAxiosError=isAxiosError;axios.mergeConfig=mergeConfig;axios.AxiosHeaders=AxiosHeaders;axios.formToJSON=Ra=>formDataToJSON(utils$1.isHTMLForm(Ra)?new FormData(Ra):Ra);axios.getAdapter=adapters.getAdapter;axios.HttpStatusCode=HttpStatusCode;axios.default=axios;const service=axios.create({baseURL:"",timeout:30*1e3});service.interceptors.request.use(Ra=>(/^(?:post|put|delete)$/i.test(`${Ra.method}`)&&Ra.data&&Ra.data.upload&&(Ra.headers["Content-Type"]="multipart/form-data"),Ra),Ra=>{Promise.reject(Ra)});service.interceptors.response.use(Ra=>Ra.data?Ra.data:Promise.reject(Ra),Ra=>Promise.reject(Ra));function getConfig(Ra,qa){if(Ra){const rd=qa==="github"?githubConfig:giteeConfig,{username:sd,repoList:od,branch:ld,accessTokenList:ud}=rd,cd=Math.floor(Math.random()*ud.length),dd=ud[cd].replace("doocsmd",""),_d=Math.floor(Math.random()*od.length),Ed=od[_d];return{username:sd,repo:Ed,branch:ld,accessToken:dd}}const ed=JSON.parse(localStorage.getItem(`${qa}Config`)),td=ed.repo.replace(`https://${qa}.com/`,"").replace(`http://${qa}.com/`,"").replace(`${qa}.com/`,"").split("/");return{username:td[0],repo:td[1],branch:ed.branch||"master",accessToken:ed.accessToken}}function getDir(){const Ra=new Date,qa=Ra.getFullYear(),ed=(Ra.getMonth()+1).toString().padStart(2,"0"),td=Ra.getDate().toString().padStart(2,"0");return`${qa}/${ed}/${td}`}function getDateFilename(Ra){const qa=new Date().getTime(),ed=Ra.split(".")[1];return`${qa}-${v4()}.${ed}`}async function ghFileUpload(Ra,qa){var Ad;const ed=localStorage.getItem("imgHost")==="default",{username:td,repo:rd,branch:sd,accessToken:od}=getConfig(ed,"github"),ld=getDir(),ud=`https://api.github.com/repos/${td}/${rd}/contents/${ld}/`,cd=getDateFilename(qa),dd=await service({url:ud+cd,method:"put",headers:{Authorization:`token ${od}`},data:{content:Ra,branch:sd,message:`Upload by ${window.location.href}`}}),_d=`raw.githubusercontent.com/${td}/${rd}/${sd}/`,Ed=`fastly.jsdelivr.net/gh/${td}/${rd}@${sd}/`;return dd.content=((Ad=dd.data)==null?void 0:Ad.content)||dd.content,ed?dd.content.download_url.replace(_d,Ed):dd.content.download_url}async function giteeUpload(Ra,qa){var _d;const ed=localStorage.getItem("imgHost")==="default",{username:td,repo:rd,branch:sd,accessToken:od}=getConfig(ed,"gitee"),ld=getDir(),ud=getDateFilename(qa),cd=`https://gitee.com/api/v5/repos/${td}/${rd}/contents/${ld}/${ud}`,dd=await service({url:cd,method:"POST",data:{content:Ra,branch:sd,access_token:od,message:`Upload by ${window.location.href}`}});return dd.content=((_d=dd.data)==null?void 0:_d.content)||dd.content,encodeURI(dd.content.download_url)}function getQiniuToken(Ra,qa,ed){const td=JSON.stringify(ed),rd=base64encode(utf16to8(td)),od=CryptoJS.HmacSHA1(rd,qa).toString(CryptoJS.enc.Base64);return`${Ra}:${safe64(od)}:${rd}`}async function qiniuUpload(Ra){const{accessKey:qa,secretKey:ed,bucket:td,region:rd,path:sd,domain:od}=JSON.parse(localStorage.getItem("qiniuConfig")),ld=getQiniuToken(qa,ed,{scope:td,deadline:Math.trunc(new Date().getTime()/1e3)+3600}),cd=(sd?`${sd}/`:"")+getDateFilename(Ra.name),dd=upload(Ra,cd,ld,{},{region:rd});return new Promise((_d,Ed)=>{dd.subscribe({next:Ad=>{console.log(Ad)},error:Ad=>{Ed(Ad.message)},complete:Ad=>{_d(`${od}/${Ad.key}`)}})})}async function aliOSSFileUpload(Ra){const qa=getDateFilename(Ra.name),{region:ed,bucket:td,accessKeyId:rd,accessKeySecret:sd,useSSL:od,cdnHost:ld,path:ud}=JSON.parse(localStorage.getItem("aliOSSConfig")),cd=ud?`${ud}/${qa}`:qa,dd=od===void 0||od,_d=dd?"https":"http",Ed=new OSS({region:ed,bucket:td,accessKeyId:rd,accessKeySecret:sd,secure:dd});try{return await Ed.put(cd,Ra),ld?`${ld}/${cd}`:`${_d}://${td}.${ed}.aliyuncs.com/${cd}`}catch(Ad){return Promise.reject(Ad)}}async function txCOSFileUpload(Ra){const qa=getDateFilename(Ra.name),{secretId:ed,secretKey:td,bucket:rd,region:sd,path:od,cdnHost:ld}=JSON.parse(localStorage.getItem("txCOSConfig")),ud=new COS({SecretId:ed,SecretKey:td});return new Promise((cd,dd)=>{ud.putObject({Bucket:rd,Region:sd,Key:`${od}/${qa}`,Body:Ra},(_d,Ed)=>{_d?dd(_d):cd(ld?od===""?`${ld}/${qa}`:`${ld}/${od}/${qa}`:`https://${Ed.Location}`)})})}async function minioFileUpload(Ra,qa){const ed=getDateFilename(qa),{endpoint:td,port:rd,useSSL:sd,bucket:od,accessKey:ld,secretKey:ud}=JSON.parse(localStorage.getItem("minioConfig")),cd=Buffer$1(Ra,"base64"),dd={endPoint:td,useSSL:sd,accessKey:ld,secretKey:ud},_d=Number(rd||0),Ed=_d>0&&_d!==80&&_d!==443;return Ed&&(dd.port=_d),new Promise((Ad,Td)=>{const Id=new Client(dd);try{Id.putObject(od,ed,cd,Bd=>{Bd&&Td(Bd);const Od=`${`${sd?"https://":"http://"}${td}${Ed?`:${rd}`:""}`}/${od}/${ed}`;Ad(Od)})}catch(Bd){Td(Bd)}})}async function formCustomUpload(content,file){const str=` + *! ***** END LICENSE BLOCK ***** */var hasRequiredDigest;function requireDigest(){return hasRequiredDigest||(hasRequiredDigest=1,function(Ra,qa){(function(){ArrayBuffer.prototype.slice||(ArrayBuffer.prototype.slice=function(td,rd){var nd,ad=new Uint8Array(this);rd===void 0&&(rd=ad.length);var sd=new ArrayBuffer(rd-td),ud=new Uint8Array(sd);for(nd=0;nd>>31);for(Od=0;Od<80;Od++)Rd=(fd<<5|fd>>>27)+Dd+Ld[Od],Od<20?Rd+=(Td&Ad|~Td&Sd)+1518500249|0:Od<40?Rd+=(Td^Ad^Sd)+1859775393|0:Od<60?Rd+=(Td&Ad|Td&Sd|Ad&Sd)+2400959708|0:Rd+=(Td^Ad^Sd)+3395469782|0,Dd=Sd,Sd=Ad,Ad=Td<<30|Td>>>2,Td=fd,fd=Rd;this.current[0]+=fd,this.current[1]+=Td,this.current[2]+=Ad,this.current[3]+=Sd,this.current[4]+=Dd,this.currentLen+=64},rd.prototype.doPadding=function(){var pd=(this.inLen+this.currentLen)*8,fd=0,Td=pd&4294967295,Ad=this.inLen<=55?55-this.inLen:119-this.inLen,Sd=new Uint8Array(new ArrayBuffer(Ad+1+8));return Sd[0]=128,Sd[Sd.length-1]=Td&255,Sd[Sd.length-2]=Td>>>8&255,Sd[Sd.length-3]=Td>>>16&255,Sd[Sd.length-4]=Td>>>24&255,Sd[Sd.length-5]=fd&255,Sd[Sd.length-6]=fd>>>8&255,Sd[Sd.length-7]=fd>>>16&255,Sd[Sd.length-8]=fd>>>24&255,Sd},rd.prototype.getDigest=function(){var pd=new Uint8Array(new ArrayBuffer(20));return pd[3]=this.current[0]&255,pd[2]=this.current[0]>>>8&255,pd[1]=this.current[0]>>>16&255,pd[0]=this.current[0]>>>24&255,pd[7]=this.current[1]&255,pd[6]=this.current[1]>>>8&255,pd[5]=this.current[1]>>>16&255,pd[4]=this.current[1]>>>24&255,pd[11]=this.current[2]&255,pd[10]=this.current[2]>>>8&255,pd[9]=this.current[2]>>>16&255,pd[8]=this.current[2]>>>24&255,pd[15]=this.current[3]&255,pd[14]=this.current[3]>>>8&255,pd[13]=this.current[3]>>>16&255,pd[12]=this.current[3]>>>24&255,pd[19]=this.current[4]&255,pd[18]=this.current[4]>>>8&255,pd[17]=this.current[4]>>>16&255,pd[16]=this.current[4]>>>24&255,pd.buffer},rd.prototype.reset=function(){this.currentLen=0,this.inLen=0,this.current=new Uint32Array(new ArrayBuffer(20)),this.current[0]=1732584193,this.current[1]=4023233417,this.current[2]=2562383102,this.current[3]=271733878,this.current[4]=3285377520},rd.prototype.blockLen=64,rd.prototype.digestLen=20;var nd=function(pd){var fd=new ArrayBuffer(pd.length),Td=new Uint8Array(fd),Ad;for(Ad=0;Ad255)throw"For more than one byte, use an array buffer";if(pd<0)throw"Input value must be positive";return ad(pd)}else throw"Unsupported type"},ud=function(pd){var fd=function(Sd){for(var Dd=Sd.length,Ld=0;Dd>0;){var Rd=this.blockLen-this.inLen;Rd>Dd&&(Rd=Dd);var Od=Sd.subarray(Ld,Ld+Rd);this.inbuf.set(Od,this.inLen),Ld+=Rd,Dd-=Rd,this.inLen+=Rd,this.inLen===this.blockLen&&(this.processBlock(this.inbuf),this.inLen=0)}},Td=function(){var Sd=this.doPadding();this.update(Sd);var Dd=this.getDigest();return this.reset(),Dd},Ad=function(){if(!pd)throw"Unsupported algorithm: "+pd.toString();pd.prototype.update=fd,pd.prototype.finalize=Td;var Sd=new pd;return Sd.inbuf=new Uint8Array(new ArrayBuffer(Sd.blockLen)),Sd.reset(),Sd}();return{update:function(Sd){Ad.update(sd(Sd))},finalize:function(){return Ad.finalize()},digest:function(Sd){return Ad.update(sd(Sd)),Ad.finalize()},reset:function(){Ad.reset()},digestLength:function(){return Ad.digestLen}}},cd=function(pd){var fd=!1,Td,Ad,Sd,Dd=function(){var Md,jd;if(!fd){if(Td===void 0)throw"MAC key is not defined";for(Td.byteLength>64?jd=new Uint8Array(pd.digest(Td)):jd=new Uint8Array(Td),Ad=new Uint8Array(new ArrayBuffer(64)),Md=0;Mdzd[0]?1:Hd[0]=1&&nd<=127?qa+=Ra.charAt(rd):nd>2047?(qa+=String.fromCharCode(224|nd>>12&15),qa+=String.fromCharCode(128|nd>>6&63),qa+=String.fromCharCode(128|nd&63)):(qa+=String.fromCharCode(192|nd>>6&31),qa+=String.fromCharCode(128|nd&63))}return qa}function utf8to16(Ra){let qa="",td=0;const rd=Ra.length;for(;td>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:qa+=Ra.charAt(td-1);break;case 12:case 13:ad=Ra.charCodeAt(td++),qa+=String.fromCharCode((nd&31)<<6|ad&63);break;case 14:ad=Ra.charCodeAt(td++),sd=Ra.charCodeAt(td++),qa+=String.fromCharCode((nd&15)<<12|(ad&63)<<6|sd&63);break}}return qa}const base64EncodeChars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",base64DecodeChars=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1];function base64encode(Ra){let qa="",td=0;const rd=Ra.length;for(;td>2),qa+=base64EncodeChars.charAt((nd&3)<<4),qa+="==";break}const ad=Ra.charCodeAt(td++);if(td===rd){qa+=base64EncodeChars.charAt(nd>>2),qa+=base64EncodeChars.charAt((nd&3)<<4|(ad&240)>>4),qa+=base64EncodeChars.charAt((ad&15)<<2),qa+="=";break}const sd=Ra.charCodeAt(td++);qa+=base64EncodeChars.charAt(nd>>2),qa+=base64EncodeChars.charAt((nd&3)<<4|(ad&240)>>4),qa+=base64EncodeChars.charAt((ad&15)<<2|(sd&192)>>6),qa+=base64EncodeChars.charAt(sd&63)}return qa}function base64decode(Ra){let qa,td,rd,nd,ad=0;const sd=Ra.length;let ud="";for(;ad>4);do{if(rd=Ra.charCodeAt(ad++)&255,rd===61)return ud;rd=base64DecodeChars[rd]}while(ad>2);do{if(nd=Ra.charCodeAt(ad++)&255,nd===61)return ud;nd=base64DecodeChars[nd]}while(adqa=>{const td=toString.call(qa);return Ra[td]||(Ra[td]=td.slice(8,-1).toLowerCase())})(Object.create(null)),kindOfTest=Ra=>(Ra=Ra.toLowerCase(),qa=>kindOf(qa)===Ra),typeOfTest=Ra=>qa=>typeof qa===Ra,{isArray}=Array,isUndefined=typeOfTest("undefined");function isBuffer(Ra){return Ra!==null&&!isUndefined(Ra)&&Ra.constructor!==null&&!isUndefined(Ra.constructor)&&isFunction(Ra.constructor.isBuffer)&&Ra.constructor.isBuffer(Ra)}const isArrayBuffer=kindOfTest("ArrayBuffer");function isArrayBufferView(Ra){let qa;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?qa=ArrayBuffer.isView(Ra):qa=Ra&&Ra.buffer&&isArrayBuffer(Ra.buffer),qa}const isString=typeOfTest("string"),isFunction=typeOfTest("function"),isNumber=typeOfTest("number"),isObject=Ra=>Ra!==null&&typeof Ra=="object",isBoolean=Ra=>Ra===!0||Ra===!1,isPlainObject=Ra=>{if(kindOf(Ra)!=="object")return!1;const qa=getPrototypeOf(Ra);return(qa===null||qa===Object.prototype||Object.getPrototypeOf(qa)===null)&&!(Symbol.toStringTag in Ra)&&!(Symbol.iterator in Ra)},isDate=kindOfTest("Date"),isFile=kindOfTest("File"),isBlob=kindOfTest("Blob"),isFileList=kindOfTest("FileList"),isStream=Ra=>isObject(Ra)&&isFunction(Ra.pipe),isFormData=Ra=>{let qa;return Ra&&(typeof FormData=="function"&&Ra instanceof FormData||isFunction(Ra.append)&&((qa=kindOf(Ra))==="formdata"||qa==="object"&&isFunction(Ra.toString)&&Ra.toString()==="[object FormData]"))},isURLSearchParams=kindOfTest("URLSearchParams"),[isReadableStream,isRequest,isResponse,isHeaders]=["ReadableStream","Request","Response","Headers"].map(kindOfTest),trim=Ra=>Ra.trim?Ra.trim():Ra.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach(Ra,qa,{allOwnKeys:td=!1}={}){if(Ra===null||typeof Ra>"u")return;let rd,nd;if(typeof Ra!="object"&&(Ra=[Ra]),isArray(Ra))for(rd=0,nd=Ra.length;rd0;)if(nd=td[rd],qa===nd.toLowerCase())return nd;return null}const _global=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global$1,isContextDefined=Ra=>!isUndefined(Ra)&&Ra!==_global;function merge(){const{caseless:Ra}=isContextDefined(this)&&this||{},qa={},td=(rd,nd)=>{const ad=Ra&&findKey(qa,nd)||nd;isPlainObject(qa[ad])&&isPlainObject(rd)?qa[ad]=merge(qa[ad],rd):isPlainObject(rd)?qa[ad]=merge({},rd):isArray(rd)?qa[ad]=rd.slice():qa[ad]=rd};for(let rd=0,nd=arguments.length;rd(forEach(qa,(nd,ad)=>{td&&isFunction(nd)?Ra[ad]=bind(nd,td):Ra[ad]=nd},{allOwnKeys:rd}),Ra),stripBOM=Ra=>(Ra.charCodeAt(0)===65279&&(Ra=Ra.slice(1)),Ra),inherits=(Ra,qa,td,rd)=>{Ra.prototype=Object.create(qa.prototype,rd),Ra.prototype.constructor=Ra,Object.defineProperty(Ra,"super",{value:qa.prototype}),td&&Object.assign(Ra.prototype,td)},toFlatObject=(Ra,qa,td,rd)=>{let nd,ad,sd;const ud={};if(qa=qa||{},Ra==null)return qa;do{for(nd=Object.getOwnPropertyNames(Ra),ad=nd.length;ad-- >0;)sd=nd[ad],(!rd||rd(sd,Ra,qa))&&!ud[sd]&&(qa[sd]=Ra[sd],ud[sd]=!0);Ra=td!==!1&&getPrototypeOf(Ra)}while(Ra&&(!td||td(Ra,qa))&&Ra!==Object.prototype);return qa},endsWith=(Ra,qa,td)=>{Ra=String(Ra),(td===void 0||td>Ra.length)&&(td=Ra.length),td-=qa.length;const rd=Ra.indexOf(qa,td);return rd!==-1&&rd===td},toArray=Ra=>{if(!Ra)return null;if(isArray(Ra))return Ra;let qa=Ra.length;if(!isNumber(qa))return null;const td=new Array(qa);for(;qa-- >0;)td[qa]=Ra[qa];return td},isTypedArray=(Ra=>qa=>Ra&&qa instanceof Ra)(typeof Uint8Array<"u"&&getPrototypeOf(Uint8Array)),forEachEntry=(Ra,qa)=>{const rd=(Ra&&Ra[Symbol.iterator]).call(Ra);let nd;for(;(nd=rd.next())&&!nd.done;){const ad=nd.value;qa.call(Ra,ad[0],ad[1])}},matchAll=(Ra,qa)=>{let td;const rd=[];for(;(td=Ra.exec(qa))!==null;)rd.push(td);return rd},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase=Ra=>Ra.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(td,rd,nd){return rd.toUpperCase()+nd}),hasOwnProperty$1=(({hasOwnProperty:Ra})=>(qa,td)=>Ra.call(qa,td))(Object.prototype),isRegExp=kindOfTest("RegExp"),reduceDescriptors=(Ra,qa)=>{const td=Object.getOwnPropertyDescriptors(Ra),rd={};forEach(td,(nd,ad)=>{let sd;(sd=qa(nd,ad,Ra))!==!1&&(rd[ad]=sd||nd)}),Object.defineProperties(Ra,rd)},freezeMethods=Ra=>{reduceDescriptors(Ra,(qa,td)=>{if(isFunction(Ra)&&["arguments","caller","callee"].indexOf(td)!==-1)return!1;const rd=Ra[td];if(isFunction(rd)){if(qa.enumerable=!1,"writable"in qa){qa.writable=!1;return}qa.set||(qa.set=()=>{throw Error("Can not rewrite read-only method '"+td+"'")})}})},toObjectSet=(Ra,qa)=>{const td={},rd=nd=>{nd.forEach(ad=>{td[ad]=!0})};return isArray(Ra)?rd(Ra):rd(String(Ra).split(qa)),td},noop=()=>{},toFiniteNumber=(Ra,qa)=>Ra!=null&&Number.isFinite(Ra=+Ra)?Ra:qa,ALPHA="abcdefghijklmnopqrstuvwxyz",DIGIT="0123456789",ALPHABET={DIGIT,ALPHA,ALPHA_DIGIT:ALPHA+ALPHA.toUpperCase()+DIGIT},generateString=(Ra=16,qa=ALPHABET.ALPHA_DIGIT)=>{let td="";const{length:rd}=qa;for(;Ra--;)td+=qa[Math.random()*rd|0];return td};function isSpecCompliantForm(Ra){return!!(Ra&&isFunction(Ra.append)&&Ra[Symbol.toStringTag]==="FormData"&&Ra[Symbol.iterator])}const toJSONObject=Ra=>{const qa=new Array(10),td=(rd,nd)=>{if(isObject(rd)){if(qa.indexOf(rd)>=0)return;if(!("toJSON"in rd)){qa[nd]=rd;const ad=isArray(rd)?[]:{};return forEach(rd,(sd,ud)=>{const cd=td(sd,nd+1);!isUndefined(cd)&&(ad[ud]=cd)}),qa[nd]=void 0,ad}}return rd};return td(Ra,0)},isAsyncFn=kindOfTest("AsyncFunction"),isThenable=Ra=>Ra&&(isObject(Ra)||isFunction(Ra))&&isFunction(Ra.then)&&isFunction(Ra.catch),_setImmediate=((Ra,qa)=>Ra?setImmediate:qa?((td,rd)=>(_global.addEventListener("message",({source:nd,data:ad})=>{nd===_global&&ad===td&&rd.length&&rd.shift()()},!1),nd=>{rd.push(nd),_global.postMessage(td,"*")}))(`axios@${Math.random()}`,[]):td=>setTimeout(td))(typeof setImmediate=="function",isFunction(_global.postMessage)),asap=typeof queueMicrotask<"u"?queueMicrotask.bind(_global):typeof define_process_default<"u"&&define_process_default.nextTick||_setImmediate,utils$1={isArray,isArrayBuffer,isBuffer,isFormData,isArrayBufferView,isString,isNumber,isBoolean,isObject,isPlainObject,isReadableStream,isRequest,isResponse,isHeaders,isUndefined,isDate,isFile,isBlob,isRegExp,isFunction,isStream,isURLSearchParams,isTypedArray,isFileList,forEach,merge,extend,trim,stripBOM,inherits,toFlatObject,kindOf,kindOfTest,endsWith,toArray,forEachEntry,matchAll,isHTMLForm,hasOwnProperty:hasOwnProperty$1,hasOwnProp:hasOwnProperty$1,reduceDescriptors,freezeMethods,toObjectSet,toCamelCase,noop,toFiniteNumber,findKey,global:_global,isContextDefined,ALPHABET,generateString,isSpecCompliantForm,toJSONObject,isAsyncFn,isThenable,setImmediate:_setImmediate,asap};function AxiosError(Ra,qa,td,rd,nd){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=Ra,this.name="AxiosError",qa&&(this.code=qa),td&&(this.config=td),rd&&(this.request=rd),nd&&(this.response=nd,this.status=nd.status?nd.status:null)}utils$1.inherits(AxiosError,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:utils$1.toJSONObject(this.config),code:this.code,status:this.status}}});const prototype$1=AxiosError.prototype,descriptors={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(Ra=>{descriptors[Ra]={value:Ra}});Object.defineProperties(AxiosError,descriptors);Object.defineProperty(prototype$1,"isAxiosError",{value:!0});AxiosError.from=(Ra,qa,td,rd,nd,ad)=>{const sd=Object.create(prototype$1);return utils$1.toFlatObject(Ra,sd,function(cd){return cd!==Error.prototype},ud=>ud!=="isAxiosError"),AxiosError.call(sd,Ra.message,qa,td,rd,nd),sd.cause=Ra,sd.name=Ra.name,ad&&Object.assign(sd,ad),sd};const httpAdapter=null;function isVisitable(Ra){return utils$1.isPlainObject(Ra)||utils$1.isArray(Ra)}function removeBrackets(Ra){return utils$1.endsWith(Ra,"[]")?Ra.slice(0,-2):Ra}function renderKey(Ra,qa,td){return Ra?Ra.concat(qa).map(function(nd,ad){return nd=removeBrackets(nd),!td&&ad?"["+nd+"]":nd}).join(td?".":""):qa}function isFlatArray(Ra){return utils$1.isArray(Ra)&&!Ra.some(isVisitable)}const predicates=utils$1.toFlatObject(utils$1,{},null,function(qa){return/^is[A-Z]/.test(qa)});function toFormData(Ra,qa,td){if(!utils$1.isObject(Ra))throw new TypeError("target must be an object");qa=qa||new FormData,td=utils$1.toFlatObject(td,{metaTokens:!0,dots:!1,indexes:!1},!1,function(Dd,Ld){return!utils$1.isUndefined(Ld[Dd])});const rd=td.metaTokens,nd=td.visitor||pd,ad=td.dots,sd=td.indexes,cd=(td.Blob||typeof Blob<"u"&&Blob)&&utils$1.isSpecCompliantForm(qa);if(!utils$1.isFunction(nd))throw new TypeError("visitor must be a function");function dd(Sd){if(Sd===null)return"";if(utils$1.isDate(Sd))return Sd.toISOString();if(!cd&&utils$1.isBlob(Sd))throw new AxiosError("Blob is not supported. Use a Buffer instead.");return utils$1.isArrayBuffer(Sd)||utils$1.isTypedArray(Sd)?cd&&typeof Blob=="function"?new Blob([Sd]):Buffer$2.from(Sd):Sd}function pd(Sd,Dd,Ld){let Rd=Sd;if(Sd&&!Ld&&typeof Sd=="object"){if(utils$1.endsWith(Dd,"{}"))Dd=rd?Dd:Dd.slice(0,-2),Sd=JSON.stringify(Sd);else if(utils$1.isArray(Sd)&&isFlatArray(Sd)||(utils$1.isFileList(Sd)||utils$1.endsWith(Dd,"[]"))&&(Rd=utils$1.toArray(Sd)))return Dd=removeBrackets(Dd),Rd.forEach(function(Md,jd){!(utils$1.isUndefined(Md)||Md===null)&&qa.append(sd===!0?renderKey([Dd],jd,ad):sd===null?Dd:Dd+"[]",dd(Md))}),!1}return isVisitable(Sd)?!0:(qa.append(renderKey(Ld,Dd,ad),dd(Sd)),!1)}const fd=[],Td=Object.assign(predicates,{defaultVisitor:pd,convertValue:dd,isVisitable});function Ad(Sd,Dd){if(!utils$1.isUndefined(Sd)){if(fd.indexOf(Sd)!==-1)throw Error("Circular reference detected in "+Dd.join("."));fd.push(Sd),utils$1.forEach(Sd,function(Rd,Od){(!(utils$1.isUndefined(Rd)||Rd===null)&&nd.call(qa,Rd,utils$1.isString(Od)?Od.trim():Od,Dd,Td))===!0&&Ad(Rd,Dd?Dd.concat(Od):[Od])}),fd.pop()}}if(!utils$1.isObject(Ra))throw new TypeError("data must be an object");return Ad(Ra),qa}function encode$1(Ra){const qa={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(Ra).replace(/[!'()~]|%20|%00/g,function(rd){return qa[rd]})}function AxiosURLSearchParams(Ra,qa){this._pairs=[],Ra&&toFormData(Ra,this,qa)}const prototype=AxiosURLSearchParams.prototype;prototype.append=function(qa,td){this._pairs.push([qa,td])};prototype.toString=function(qa){const td=qa?function(rd){return qa.call(this,rd,encode$1)}:encode$1;return this._pairs.map(function(nd){return td(nd[0])+"="+td(nd[1])},"").join("&")};function encode(Ra){return encodeURIComponent(Ra).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(Ra,qa,td){if(!qa)return Ra;const rd=td&&td.encode||encode,nd=td&&td.serialize;let ad;if(nd?ad=nd(qa,td):ad=utils$1.isURLSearchParams(qa)?qa.toString():new AxiosURLSearchParams(qa,td).toString(rd),ad){const sd=Ra.indexOf("#");sd!==-1&&(Ra=Ra.slice(0,sd)),Ra+=(Ra.indexOf("?")===-1?"?":"&")+ad}return Ra}class InterceptorManager{constructor(){this.handlers=[]}use(qa,td,rd){return this.handlers.push({fulfilled:qa,rejected:td,synchronous:rd?rd.synchronous:!1,runWhen:rd?rd.runWhen:null}),this.handlers.length-1}eject(qa){this.handlers[qa]&&(this.handlers[qa]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(qa){utils$1.forEach(this.handlers,function(rd){rd!==null&&qa(rd)})}}const transitionalDefaults={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},URLSearchParams$1=typeof URLSearchParams<"u"?URLSearchParams:AxiosURLSearchParams,FormData$1=typeof FormData<"u"?FormData:null,Blob$1=typeof Blob<"u"?Blob:null,platform$1={isBrowser:!0,classes:{URLSearchParams:URLSearchParams$1,FormData:FormData$1,Blob:Blob$1},protocols:["http","https","file","blob","url","data"]},hasBrowserEnv=typeof window<"u"&&typeof document<"u",_navigator=typeof navigator=="object"&&navigator||void 0,hasStandardBrowserEnv=hasBrowserEnv&&(!_navigator||["ReactNative","NativeScript","NS"].indexOf(_navigator.product)<0),hasStandardBrowserWebWorkerEnv=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",origin=hasBrowserEnv&&window.location.href||"http://localhost",utils=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv,hasStandardBrowserEnv,hasStandardBrowserWebWorkerEnv,navigator:_navigator,origin},Symbol.toStringTag,{value:"Module"})),platform={...utils,...platform$1};function toURLEncodedForm(Ra,qa){return toFormData(Ra,new platform.classes.URLSearchParams,Object.assign({visitor:function(td,rd,nd,ad){return platform.isNode&&utils$1.isBuffer(td)?(this.append(rd,td.toString("base64")),!1):ad.defaultVisitor.apply(this,arguments)}},qa))}function parsePropPath(Ra){return utils$1.matchAll(/\w+|\[(\w*)]/g,Ra).map(qa=>qa[0]==="[]"?"":qa[1]||qa[0])}function arrayToObject(Ra){const qa={},td=Object.keys(Ra);let rd;const nd=td.length;let ad;for(rd=0;rd=td.length;return sd=!sd&&utils$1.isArray(nd)?nd.length:sd,cd?(utils$1.hasOwnProp(nd,sd)?nd[sd]=[nd[sd],rd]:nd[sd]=rd,!ud):((!nd[sd]||!utils$1.isObject(nd[sd]))&&(nd[sd]=[]),qa(td,rd,nd[sd],ad)&&utils$1.isArray(nd[sd])&&(nd[sd]=arrayToObject(nd[sd])),!ud)}if(utils$1.isFormData(Ra)&&utils$1.isFunction(Ra.entries)){const td={};return utils$1.forEachEntry(Ra,(rd,nd)=>{qa(parsePropPath(rd),nd,td,0)}),td}return null}function stringifySafely(Ra,qa,td){if(utils$1.isString(Ra))try{return(qa||JSON.parse)(Ra),utils$1.trim(Ra)}catch(rd){if(rd.name!=="SyntaxError")throw rd}return(td||JSON.stringify)(Ra)}const defaults={transitional:transitionalDefaults,adapter:["xhr","http","fetch"],transformRequest:[function(qa,td){const rd=td.getContentType()||"",nd=rd.indexOf("application/json")>-1,ad=utils$1.isObject(qa);if(ad&&utils$1.isHTMLForm(qa)&&(qa=new FormData(qa)),utils$1.isFormData(qa))return nd?JSON.stringify(formDataToJSON(qa)):qa;if(utils$1.isArrayBuffer(qa)||utils$1.isBuffer(qa)||utils$1.isStream(qa)||utils$1.isFile(qa)||utils$1.isBlob(qa)||utils$1.isReadableStream(qa))return qa;if(utils$1.isArrayBufferView(qa))return qa.buffer;if(utils$1.isURLSearchParams(qa))return td.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),qa.toString();let ud;if(ad){if(rd.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm(qa,this.formSerializer).toString();if((ud=utils$1.isFileList(qa))||rd.indexOf("multipart/form-data")>-1){const cd=this.env&&this.env.FormData;return toFormData(ud?{"files[]":qa}:qa,cd&&new cd,this.formSerializer)}}return ad||nd?(td.setContentType("application/json",!1),stringifySafely(qa)):qa}],transformResponse:[function(qa){const td=this.transitional||defaults.transitional,rd=td&&td.forcedJSONParsing,nd=this.responseType==="json";if(utils$1.isResponse(qa)||utils$1.isReadableStream(qa))return qa;if(qa&&utils$1.isString(qa)&&(rd&&!this.responseType||nd)){const sd=!(td&&td.silentJSONParsing)&&nd;try{return JSON.parse(qa)}catch(ud){if(sd)throw ud.name==="SyntaxError"?AxiosError.from(ud,AxiosError.ERR_BAD_RESPONSE,this,null,this.response):ud}}return qa}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:platform.classes.FormData,Blob:platform.classes.Blob},validateStatus:function(qa){return qa>=200&&qa<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};utils$1.forEach(["delete","get","head","post","put","patch"],Ra=>{defaults.headers[Ra]={}});const ignoreDuplicateOf=utils$1.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),parseHeaders=Ra=>{const qa={};let td,rd,nd;return Ra&&Ra.split(` +`).forEach(function(sd){nd=sd.indexOf(":"),td=sd.substring(0,nd).trim().toLowerCase(),rd=sd.substring(nd+1).trim(),!(!td||qa[td]&&ignoreDuplicateOf[td])&&(td==="set-cookie"?qa[td]?qa[td].push(rd):qa[td]=[rd]:qa[td]=qa[td]?qa[td]+", "+rd:rd)}),qa},$internals=Symbol("internals");function normalizeHeader(Ra){return Ra&&String(Ra).trim().toLowerCase()}function normalizeValue(Ra){return Ra===!1||Ra==null?Ra:utils$1.isArray(Ra)?Ra.map(normalizeValue):String(Ra)}function parseTokens(Ra){const qa=Object.create(null),td=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let rd;for(;rd=td.exec(Ra);)qa[rd[1]]=rd[2];return qa}const isValidHeaderName=Ra=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(Ra.trim());function matchHeaderValue(Ra,qa,td,rd,nd){if(utils$1.isFunction(rd))return rd.call(this,qa,td);if(nd&&(qa=td),!!utils$1.isString(qa)){if(utils$1.isString(rd))return qa.indexOf(rd)!==-1;if(utils$1.isRegExp(rd))return rd.test(qa)}}function formatHeader(Ra){return Ra.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(qa,td,rd)=>td.toUpperCase()+rd)}function buildAccessors(Ra,qa){const td=utils$1.toCamelCase(" "+qa);["get","set","has"].forEach(rd=>{Object.defineProperty(Ra,rd+td,{value:function(nd,ad,sd){return this[rd].call(this,qa,nd,ad,sd)},configurable:!0})})}class AxiosHeaders{constructor(qa){qa&&this.set(qa)}set(qa,td,rd){const nd=this;function ad(ud,cd,dd){const pd=normalizeHeader(cd);if(!pd)throw new Error("header name must be a non-empty string");const fd=utils$1.findKey(nd,pd);(!fd||nd[fd]===void 0||dd===!0||dd===void 0&&nd[fd]!==!1)&&(nd[fd||cd]=normalizeValue(ud))}const sd=(ud,cd)=>utils$1.forEach(ud,(dd,pd)=>ad(dd,pd,cd));if(utils$1.isPlainObject(qa)||qa instanceof this.constructor)sd(qa,td);else if(utils$1.isString(qa)&&(qa=qa.trim())&&!isValidHeaderName(qa))sd(parseHeaders(qa),td);else if(utils$1.isHeaders(qa))for(const[ud,cd]of qa.entries())ad(cd,ud,rd);else qa!=null&&ad(td,qa,rd);return this}get(qa,td){if(qa=normalizeHeader(qa),qa){const rd=utils$1.findKey(this,qa);if(rd){const nd=this[rd];if(!td)return nd;if(td===!0)return parseTokens(nd);if(utils$1.isFunction(td))return td.call(this,nd,rd);if(utils$1.isRegExp(td))return td.exec(nd);throw new TypeError("parser must be boolean|regexp|function")}}}has(qa,td){if(qa=normalizeHeader(qa),qa){const rd=utils$1.findKey(this,qa);return!!(rd&&this[rd]!==void 0&&(!td||matchHeaderValue(this,this[rd],rd,td)))}return!1}delete(qa,td){const rd=this;let nd=!1;function ad(sd){if(sd=normalizeHeader(sd),sd){const ud=utils$1.findKey(rd,sd);ud&&(!td||matchHeaderValue(rd,rd[ud],ud,td))&&(delete rd[ud],nd=!0)}}return utils$1.isArray(qa)?qa.forEach(ad):ad(qa),nd}clear(qa){const td=Object.keys(this);let rd=td.length,nd=!1;for(;rd--;){const ad=td[rd];(!qa||matchHeaderValue(this,this[ad],ad,qa,!0))&&(delete this[ad],nd=!0)}return nd}normalize(qa){const td=this,rd={};return utils$1.forEach(this,(nd,ad)=>{const sd=utils$1.findKey(rd,ad);if(sd){td[sd]=normalizeValue(nd),delete td[ad];return}const ud=qa?formatHeader(ad):String(ad).trim();ud!==ad&&delete td[ad],td[ud]=normalizeValue(nd),rd[ud]=!0}),this}concat(...qa){return this.constructor.concat(this,...qa)}toJSON(qa){const td=Object.create(null);return utils$1.forEach(this,(rd,nd)=>{rd!=null&&rd!==!1&&(td[nd]=qa&&utils$1.isArray(rd)?rd.join(", "):rd)}),td}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([qa,td])=>qa+": "+td).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(qa){return qa instanceof this?qa:new this(qa)}static concat(qa,...td){const rd=new this(qa);return td.forEach(nd=>rd.set(nd)),rd}static accessor(qa){const rd=(this[$internals]=this[$internals]={accessors:{}}).accessors,nd=this.prototype;function ad(sd){const ud=normalizeHeader(sd);rd[ud]||(buildAccessors(nd,sd),rd[ud]=!0)}return utils$1.isArray(qa)?qa.forEach(ad):ad(qa),this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);utils$1.reduceDescriptors(AxiosHeaders.prototype,({value:Ra},qa)=>{let td=qa[0].toUpperCase()+qa.slice(1);return{get:()=>Ra,set(rd){this[td]=rd}}});utils$1.freezeMethods(AxiosHeaders);function transformData(Ra,qa){const td=this||defaults,rd=qa||td,nd=AxiosHeaders.from(rd.headers);let ad=rd.data;return utils$1.forEach(Ra,function(ud){ad=ud.call(td,ad,nd.normalize(),qa?qa.status:void 0)}),nd.normalize(),ad}function isCancel(Ra){return!!(Ra&&Ra.__CANCEL__)}function CanceledError(Ra,qa,td){AxiosError.call(this,Ra??"canceled",AxiosError.ERR_CANCELED,qa,td),this.name="CanceledError"}utils$1.inherits(CanceledError,AxiosError,{__CANCEL__:!0});function settle(Ra,qa,td){const rd=td.config.validateStatus;!td.status||!rd||rd(td.status)?Ra(td):qa(new AxiosError("Request failed with status code "+td.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(td.status/100)-4],td.config,td.request,td))}function parseProtocol(Ra){const qa=/^([-+\w]{1,25})(:?\/\/|:)/.exec(Ra);return qa&&qa[1]||""}function speedometer(Ra,qa){Ra=Ra||10;const td=new Array(Ra),rd=new Array(Ra);let nd=0,ad=0,sd;return qa=qa!==void 0?qa:1e3,function(cd){const dd=Date.now(),pd=rd[ad];sd||(sd=dd),td[nd]=cd,rd[nd]=dd;let fd=ad,Td=0;for(;fd!==nd;)Td+=td[fd++],fd=fd%Ra;if(nd=(nd+1)%Ra,nd===ad&&(ad=(ad+1)%Ra),dd-sd{td=pd,nd=null,ad&&(clearTimeout(ad),ad=null),Ra.apply(null,dd)};return[(...dd)=>{const pd=Date.now(),fd=pd-td;fd>=rd?sd(dd,pd):(nd=dd,ad||(ad=setTimeout(()=>{ad=null,sd(nd)},rd-fd)))},()=>nd&&sd(nd)]}const progressEventReducer=(Ra,qa,td=3)=>{let rd=0;const nd=speedometer(50,250);return throttle(ad=>{const sd=ad.loaded,ud=ad.lengthComputable?ad.total:void 0,cd=sd-rd,dd=nd(cd),pd=sd<=ud;rd=sd;const fd={loaded:sd,total:ud,progress:ud?sd/ud:void 0,bytes:cd,rate:dd||void 0,estimated:dd&&ud&&pd?(ud-sd)/dd:void 0,event:ad,lengthComputable:ud!=null,[qa?"download":"upload"]:!0};Ra(fd)},td)},progressEventDecorator=(Ra,qa)=>{const td=Ra!=null;return[rd=>qa[0]({lengthComputable:td,total:Ra,loaded:rd}),qa[1]]},asyncDecorator=Ra=>(...qa)=>utils$1.asap(()=>Ra(...qa)),isURLSameOrigin=platform.hasStandardBrowserEnv?function(){const qa=platform.navigator&&/(msie|trident)/i.test(platform.navigator.userAgent),td=document.createElement("a");let rd;function nd(ad){let sd=ad;return qa&&(td.setAttribute("href",sd),sd=td.href),td.setAttribute("href",sd),{href:td.href,protocol:td.protocol?td.protocol.replace(/:$/,""):"",host:td.host,search:td.search?td.search.replace(/^\?/,""):"",hash:td.hash?td.hash.replace(/^#/,""):"",hostname:td.hostname,port:td.port,pathname:td.pathname.charAt(0)==="/"?td.pathname:"/"+td.pathname}}return rd=nd(window.location.href),function(sd){const ud=utils$1.isString(sd)?nd(sd):sd;return ud.protocol===rd.protocol&&ud.host===rd.host}}():function(){return function(){return!0}}(),cookies=platform.hasStandardBrowserEnv?{write(Ra,qa,td,rd,nd,ad){const sd=[Ra+"="+encodeURIComponent(qa)];utils$1.isNumber(td)&&sd.push("expires="+new Date(td).toGMTString()),utils$1.isString(rd)&&sd.push("path="+rd),utils$1.isString(nd)&&sd.push("domain="+nd),ad===!0&&sd.push("secure"),document.cookie=sd.join("; ")},read(Ra){const qa=document.cookie.match(new RegExp("(^|;\\s*)("+Ra+")=([^;]*)"));return qa?decodeURIComponent(qa[3]):null},remove(Ra){this.write(Ra,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function isAbsoluteURL(Ra){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(Ra)}function combineURLs(Ra,qa){return qa?Ra.replace(/\/?\/$/,"")+"/"+qa.replace(/^\/+/,""):Ra}function buildFullPath(Ra,qa){return Ra&&!isAbsoluteURL(qa)?combineURLs(Ra,qa):qa}const headersToObject=Ra=>Ra instanceof AxiosHeaders?{...Ra}:Ra;function mergeConfig(Ra,qa){qa=qa||{};const td={};function rd(dd,pd,fd){return utils$1.isPlainObject(dd)&&utils$1.isPlainObject(pd)?utils$1.merge.call({caseless:fd},dd,pd):utils$1.isPlainObject(pd)?utils$1.merge({},pd):utils$1.isArray(pd)?pd.slice():pd}function nd(dd,pd,fd){if(utils$1.isUndefined(pd)){if(!utils$1.isUndefined(dd))return rd(void 0,dd,fd)}else return rd(dd,pd,fd)}function ad(dd,pd){if(!utils$1.isUndefined(pd))return rd(void 0,pd)}function sd(dd,pd){if(utils$1.isUndefined(pd)){if(!utils$1.isUndefined(dd))return rd(void 0,dd)}else return rd(void 0,pd)}function ud(dd,pd,fd){if(fd in qa)return rd(dd,pd);if(fd in Ra)return rd(void 0,dd)}const cd={url:ad,method:ad,data:ad,baseURL:sd,transformRequest:sd,transformResponse:sd,paramsSerializer:sd,timeout:sd,timeoutMessage:sd,withCredentials:sd,withXSRFToken:sd,adapter:sd,responseType:sd,xsrfCookieName:sd,xsrfHeaderName:sd,onUploadProgress:sd,onDownloadProgress:sd,decompress:sd,maxContentLength:sd,maxBodyLength:sd,beforeRedirect:sd,transport:sd,httpAgent:sd,httpsAgent:sd,cancelToken:sd,socketPath:sd,responseEncoding:sd,validateStatus:ud,headers:(dd,pd)=>nd(headersToObject(dd),headersToObject(pd),!0)};return utils$1.forEach(Object.keys(Object.assign({},Ra,qa)),function(pd){const fd=cd[pd]||nd,Td=fd(Ra[pd],qa[pd],pd);utils$1.isUndefined(Td)&&fd!==ud||(td[pd]=Td)}),td}const resolveConfig=Ra=>{const qa=mergeConfig({},Ra);let{data:td,withXSRFToken:rd,xsrfHeaderName:nd,xsrfCookieName:ad,headers:sd,auth:ud}=qa;qa.headers=sd=AxiosHeaders.from(sd),qa.url=buildURL(buildFullPath(qa.baseURL,qa.url),Ra.params,Ra.paramsSerializer),ud&&sd.set("Authorization","Basic "+btoa((ud.username||"")+":"+(ud.password?unescape(encodeURIComponent(ud.password)):"")));let cd;if(utils$1.isFormData(td)){if(platform.hasStandardBrowserEnv||platform.hasStandardBrowserWebWorkerEnv)sd.setContentType(void 0);else if((cd=sd.getContentType())!==!1){const[dd,...pd]=cd?cd.split(";").map(fd=>fd.trim()).filter(Boolean):[];sd.setContentType([dd||"multipart/form-data",...pd].join("; "))}}if(platform.hasStandardBrowserEnv&&(rd&&utils$1.isFunction(rd)&&(rd=rd(qa)),rd||rd!==!1&&isURLSameOrigin(qa.url))){const dd=nd&&ad&&cookies.read(ad);dd&&sd.set(nd,dd)}return qa},isXHRAdapterSupported=typeof XMLHttpRequest<"u",xhrAdapter=isXHRAdapterSupported&&function(Ra){return new Promise(function(td,rd){const nd=resolveConfig(Ra);let ad=nd.data;const sd=AxiosHeaders.from(nd.headers).normalize();let{responseType:ud,onUploadProgress:cd,onDownloadProgress:dd}=nd,pd,fd,Td,Ad,Sd;function Dd(){Ad&&Ad(),Sd&&Sd(),nd.cancelToken&&nd.cancelToken.unsubscribe(pd),nd.signal&&nd.signal.removeEventListener("abort",pd)}let Ld=new XMLHttpRequest;Ld.open(nd.method.toUpperCase(),nd.url,!0),Ld.timeout=nd.timeout;function Rd(){if(!Ld)return;const Md=AxiosHeaders.from("getAllResponseHeaders"in Ld&&Ld.getAllResponseHeaders()),Ud={data:!ud||ud==="text"||ud==="json"?Ld.responseText:Ld.response,status:Ld.status,statusText:Ld.statusText,headers:Md,config:Ra,request:Ld};settle(function(zd){td(zd),Dd()},function(zd){rd(zd),Dd()},Ud),Ld=null}"onloadend"in Ld?Ld.onloadend=Rd:Ld.onreadystatechange=function(){!Ld||Ld.readyState!==4||Ld.status===0&&!(Ld.responseURL&&Ld.responseURL.indexOf("file:")===0)||setTimeout(Rd)},Ld.onabort=function(){Ld&&(rd(new AxiosError("Request aborted",AxiosError.ECONNABORTED,Ra,Ld)),Ld=null)},Ld.onerror=function(){rd(new AxiosError("Network Error",AxiosError.ERR_NETWORK,Ra,Ld)),Ld=null},Ld.ontimeout=function(){let jd=nd.timeout?"timeout of "+nd.timeout+"ms exceeded":"timeout exceeded";const Ud=nd.transitional||transitionalDefaults;nd.timeoutErrorMessage&&(jd=nd.timeoutErrorMessage),rd(new AxiosError(jd,Ud.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,Ra,Ld)),Ld=null},ad===void 0&&sd.setContentType(null),"setRequestHeader"in Ld&&utils$1.forEach(sd.toJSON(),function(jd,Ud){Ld.setRequestHeader(Ud,jd)}),utils$1.isUndefined(nd.withCredentials)||(Ld.withCredentials=!!nd.withCredentials),ud&&ud!=="json"&&(Ld.responseType=nd.responseType),dd&&([Td,Sd]=progressEventReducer(dd,!0),Ld.addEventListener("progress",Td)),cd&&Ld.upload&&([fd,Ad]=progressEventReducer(cd),Ld.upload.addEventListener("progress",fd),Ld.upload.addEventListener("loadend",Ad)),(nd.cancelToken||nd.signal)&&(pd=Md=>{Ld&&(rd(!Md||Md.type?new CanceledError(null,Ra,Ld):Md),Ld.abort(),Ld=null)},nd.cancelToken&&nd.cancelToken.subscribe(pd),nd.signal&&(nd.signal.aborted?pd():nd.signal.addEventListener("abort",pd)));const Od=parseProtocol(nd.url);if(Od&&platform.protocols.indexOf(Od)===-1){rd(new AxiosError("Unsupported protocol "+Od+":",AxiosError.ERR_BAD_REQUEST,Ra));return}Ld.send(ad||null)})},composeSignals=(Ra,qa)=>{const{length:td}=Ra=Ra?Ra.filter(Boolean):[];if(qa||td){let rd=new AbortController,nd;const ad=function(dd){if(!nd){nd=!0,ud();const pd=dd instanceof Error?dd:this.reason;rd.abort(pd instanceof AxiosError?pd:new CanceledError(pd instanceof Error?pd.message:pd))}};let sd=qa&&setTimeout(()=>{sd=null,ad(new AxiosError(`timeout ${qa} of ms exceeded`,AxiosError.ETIMEDOUT))},qa);const ud=()=>{Ra&&(sd&&clearTimeout(sd),sd=null,Ra.forEach(dd=>{dd.unsubscribe?dd.unsubscribe(ad):dd.removeEventListener("abort",ad)}),Ra=null)};Ra.forEach(dd=>dd.addEventListener("abort",ad));const{signal:cd}=rd;return cd.unsubscribe=()=>utils$1.asap(ud),cd}},streamChunk=function*(Ra,qa){let td=Ra.byteLength;if(!qa||td{const nd=readBytes(Ra,qa);let ad=0,sd,ud=cd=>{sd||(sd=!0,rd&&rd(cd))};return new ReadableStream({async pull(cd){try{const{done:dd,value:pd}=await nd.next();if(dd){ud(),cd.close();return}let fd=pd.byteLength;if(td){let Td=ad+=fd;td(Td)}cd.enqueue(new Uint8Array(pd))}catch(dd){throw ud(dd),dd}},cancel(cd){return ud(cd),nd.return()}},{highWaterMark:2})},isFetchSupported=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",isReadableStreamSupported=isFetchSupported&&typeof ReadableStream=="function",encodeText=isFetchSupported&&(typeof TextEncoder=="function"?(Ra=>qa=>Ra.encode(qa))(new TextEncoder):async Ra=>new Uint8Array(await new Response(Ra).arrayBuffer())),test=(Ra,...qa)=>{try{return!!Ra(...qa)}catch{return!1}},supportsRequestStream=isReadableStreamSupported&&test(()=>{let Ra=!1;const qa=new Request(platform.origin,{body:new ReadableStream,method:"POST",get duplex(){return Ra=!0,"half"}}).headers.has("Content-Type");return Ra&&!qa}),DEFAULT_CHUNK_SIZE=64*1024,supportsResponseStream=isReadableStreamSupported&&test(()=>utils$1.isReadableStream(new Response("").body)),resolvers={stream:supportsResponseStream&&(Ra=>Ra.body)};isFetchSupported&&(Ra=>{["text","arrayBuffer","blob","formData","stream"].forEach(qa=>{!resolvers[qa]&&(resolvers[qa]=utils$1.isFunction(Ra[qa])?td=>td[qa]():(td,rd)=>{throw new AxiosError(`Response type '${qa}' is not supported`,AxiosError.ERR_NOT_SUPPORT,rd)})})})(new Response);const getBodyLength=async Ra=>{if(Ra==null)return 0;if(utils$1.isBlob(Ra))return Ra.size;if(utils$1.isSpecCompliantForm(Ra))return(await new Request(platform.origin,{method:"POST",body:Ra}).arrayBuffer()).byteLength;if(utils$1.isArrayBufferView(Ra)||utils$1.isArrayBuffer(Ra))return Ra.byteLength;if(utils$1.isURLSearchParams(Ra)&&(Ra=Ra+""),utils$1.isString(Ra))return(await encodeText(Ra)).byteLength},resolveBodyLength=async(Ra,qa)=>{const td=utils$1.toFiniteNumber(Ra.getContentLength());return td??getBodyLength(qa)},fetchAdapter=isFetchSupported&&(async Ra=>{let{url:qa,method:td,data:rd,signal:nd,cancelToken:ad,timeout:sd,onDownloadProgress:ud,onUploadProgress:cd,responseType:dd,headers:pd,withCredentials:fd="same-origin",fetchOptions:Td}=resolveConfig(Ra);dd=dd?(dd+"").toLowerCase():"text";let Ad=composeSignals([nd,ad&&ad.toAbortSignal()],sd),Sd;const Dd=Ad&&Ad.unsubscribe&&(()=>{Ad.unsubscribe()});let Ld;try{if(cd&&supportsRequestStream&&td!=="get"&&td!=="head"&&(Ld=await resolveBodyLength(pd,rd))!==0){let Ud=new Request(qa,{method:"POST",body:rd,duplex:"half"}),Hd;if(utils$1.isFormData(rd)&&(Hd=Ud.headers.get("content-type"))&&pd.setContentType(Hd),Ud.body){const[zd,Zd]=progressEventDecorator(Ld,progressEventReducer(asyncDecorator(cd)));rd=trackStream(Ud.body,DEFAULT_CHUNK_SIZE,zd,Zd)}}utils$1.isString(fd)||(fd=fd?"include":"omit");const Rd="credentials"in Request.prototype;Sd=new Request(qa,{...Td,signal:Ad,method:td.toUpperCase(),headers:pd.normalize().toJSON(),body:rd,duplex:"half",credentials:Rd?fd:void 0});let Od=await fetch(Sd);const Md=supportsResponseStream&&(dd==="stream"||dd==="response");if(supportsResponseStream&&(ud||Md&&Dd)){const Ud={};["status","statusText","headers"].forEach(Wd=>{Ud[Wd]=Od[Wd]});const Hd=utils$1.toFiniteNumber(Od.headers.get("content-length")),[zd,Zd]=ud&&progressEventDecorator(Hd,progressEventReducer(asyncDecorator(ud),!0))||[];Od=new Response(trackStream(Od.body,DEFAULT_CHUNK_SIZE,zd,()=>{Zd&&Zd(),Dd&&Dd()}),Ud)}dd=dd||"text";let jd=await resolvers[utils$1.findKey(resolvers,dd)||"text"](Od,Ra);return!Md&&Dd&&Dd(),await new Promise((Ud,Hd)=>{settle(Ud,Hd,{data:jd,headers:AxiosHeaders.from(Od.headers),status:Od.status,statusText:Od.statusText,config:Ra,request:Sd})})}catch(Rd){throw Dd&&Dd(),Rd&&Rd.name==="TypeError"&&/fetch/i.test(Rd.message)?Object.assign(new AxiosError("Network Error",AxiosError.ERR_NETWORK,Ra,Sd),{cause:Rd.cause||Rd}):AxiosError.from(Rd,Rd&&Rd.code,Ra,Sd)}}),knownAdapters={http:httpAdapter,xhr:xhrAdapter,fetch:fetchAdapter};utils$1.forEach(knownAdapters,(Ra,qa)=>{if(Ra){try{Object.defineProperty(Ra,"name",{value:qa})}catch{}Object.defineProperty(Ra,"adapterName",{value:qa})}});const renderReason=Ra=>`- ${Ra}`,isResolvedHandle=Ra=>utils$1.isFunction(Ra)||Ra===null||Ra===!1,adapters={getAdapter:Ra=>{Ra=utils$1.isArray(Ra)?Ra:[Ra];const{length:qa}=Ra;let td,rd;const nd={};for(let ad=0;ad`adapter ${ud} `+(cd===!1?"is not supported by the environment":"is not available in the build"));let sd=qa?ad.length>1?`since : +`+ad.map(renderReason).join(` +`):" "+renderReason(ad[0]):"as no adapter specified";throw new AxiosError("There is no suitable adapter to dispatch the request "+sd,"ERR_NOT_SUPPORT")}return rd},adapters:knownAdapters};function throwIfCancellationRequested(Ra){if(Ra.cancelToken&&Ra.cancelToken.throwIfRequested(),Ra.signal&&Ra.signal.aborted)throw new CanceledError(null,Ra)}function dispatchRequest(Ra){return throwIfCancellationRequested(Ra),Ra.headers=AxiosHeaders.from(Ra.headers),Ra.data=transformData.call(Ra,Ra.transformRequest),["post","put","patch"].indexOf(Ra.method)!==-1&&Ra.headers.setContentType("application/x-www-form-urlencoded",!1),adapters.getAdapter(Ra.adapter||defaults.adapter)(Ra).then(function(rd){return throwIfCancellationRequested(Ra),rd.data=transformData.call(Ra,Ra.transformResponse,rd),rd.headers=AxiosHeaders.from(rd.headers),rd},function(rd){return isCancel(rd)||(throwIfCancellationRequested(Ra),rd&&rd.response&&(rd.response.data=transformData.call(Ra,Ra.transformResponse,rd.response),rd.response.headers=AxiosHeaders.from(rd.response.headers))),Promise.reject(rd)})}const VERSION="1.7.7",validators$1={};["object","boolean","number","function","string","symbol"].forEach((Ra,qa)=>{validators$1[Ra]=function(rd){return typeof rd===Ra||"a"+(qa<1?"n ":" ")+Ra}});const deprecatedWarnings={};validators$1.transitional=function(qa,td,rd){function nd(ad,sd){return"[Axios v"+VERSION+"] Transitional option '"+ad+"'"+sd+(rd?". "+rd:"")}return(ad,sd,ud)=>{if(qa===!1)throw new AxiosError(nd(sd," has been removed"+(td?" in "+td:"")),AxiosError.ERR_DEPRECATED);return td&&!deprecatedWarnings[sd]&&(deprecatedWarnings[sd]=!0,console.warn(nd(sd," has been deprecated since v"+td+" and will be removed in the near future"))),qa?qa(ad,sd,ud):!0}};function assertOptions(Ra,qa,td){if(typeof Ra!="object")throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE);const rd=Object.keys(Ra);let nd=rd.length;for(;nd-- >0;){const ad=rd[nd],sd=qa[ad];if(sd){const ud=Ra[ad],cd=ud===void 0||sd(ud,ad,Ra);if(cd!==!0)throw new AxiosError("option "+ad+" must be "+cd,AxiosError.ERR_BAD_OPTION_VALUE);continue}if(td!==!0)throw new AxiosError("Unknown option "+ad,AxiosError.ERR_BAD_OPTION)}}const validator={assertOptions,validators:validators$1},validators=validator.validators;class Axios{constructor(qa){this.defaults=qa,this.interceptors={request:new InterceptorManager,response:new InterceptorManager}}async request(qa,td){try{return await this._request(qa,td)}catch(rd){if(rd instanceof Error){let nd;Error.captureStackTrace?Error.captureStackTrace(nd={}):nd=new Error;const ad=nd.stack?nd.stack.replace(/^.+\n/,""):"";try{rd.stack?ad&&!String(rd.stack).endsWith(ad.replace(/^.+\n.+\n/,""))&&(rd.stack+=` +`+ad):rd.stack=ad}catch{}}throw rd}}_request(qa,td){typeof qa=="string"?(td=td||{},td.url=qa):td=qa||{},td=mergeConfig(this.defaults,td);const{transitional:rd,paramsSerializer:nd,headers:ad}=td;rd!==void 0&&validator.assertOptions(rd,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1),nd!=null&&(utils$1.isFunction(nd)?td.paramsSerializer={serialize:nd}:validator.assertOptions(nd,{encode:validators.function,serialize:validators.function},!0)),td.method=(td.method||this.defaults.method||"get").toLowerCase();let sd=ad&&utils$1.merge(ad.common,ad[td.method]);ad&&utils$1.forEach(["delete","get","head","post","put","patch","common"],Sd=>{delete ad[Sd]}),td.headers=AxiosHeaders.concat(sd,ad);const ud=[];let cd=!0;this.interceptors.request.forEach(function(Dd){typeof Dd.runWhen=="function"&&Dd.runWhen(td)===!1||(cd=cd&&Dd.synchronous,ud.unshift(Dd.fulfilled,Dd.rejected))});const dd=[];this.interceptors.response.forEach(function(Dd){dd.push(Dd.fulfilled,Dd.rejected)});let pd,fd=0,Td;if(!cd){const Sd=[dispatchRequest.bind(this),void 0];for(Sd.unshift.apply(Sd,ud),Sd.push.apply(Sd,dd),Td=Sd.length,pd=Promise.resolve(td);fd{if(!rd._listeners)return;let ad=rd._listeners.length;for(;ad-- >0;)rd._listeners[ad](nd);rd._listeners=null}),this.promise.then=nd=>{let ad;const sd=new Promise(ud=>{rd.subscribe(ud),ad=ud}).then(nd);return sd.cancel=function(){rd.unsubscribe(ad)},sd},qa(function(ad,sd,ud){rd.reason||(rd.reason=new CanceledError(ad,sd,ud),td(rd.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(qa){if(this.reason){qa(this.reason);return}this._listeners?this._listeners.push(qa):this._listeners=[qa]}unsubscribe(qa){if(!this._listeners)return;const td=this._listeners.indexOf(qa);td!==-1&&this._listeners.splice(td,1)}toAbortSignal(){const qa=new AbortController,td=rd=>{qa.abort(rd)};return this.subscribe(td),qa.signal.unsubscribe=()=>this.unsubscribe(td),qa.signal}static source(){let qa;return{token:new CancelToken(function(nd){qa=nd}),cancel:qa}}}function spread(Ra){return function(td){return Ra.apply(null,td)}}function isAxiosError(Ra){return utils$1.isObject(Ra)&&Ra.isAxiosError===!0}const HttpStatusCode={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(HttpStatusCode).forEach(([Ra,qa])=>{HttpStatusCode[qa]=Ra});function createInstance(Ra){const qa=new Axios(Ra),td=bind(Axios.prototype.request,qa);return utils$1.extend(td,Axios.prototype,qa,{allOwnKeys:!0}),utils$1.extend(td,qa,null,{allOwnKeys:!0}),td.create=function(nd){return createInstance(mergeConfig(Ra,nd))},td}const axios=createInstance(defaults);axios.Axios=Axios;axios.CanceledError=CanceledError;axios.CancelToken=CancelToken;axios.isCancel=isCancel;axios.VERSION=VERSION;axios.toFormData=toFormData;axios.AxiosError=AxiosError;axios.Cancel=axios.CanceledError;axios.all=function(qa){return Promise.all(qa)};axios.spread=spread;axios.isAxiosError=isAxiosError;axios.mergeConfig=mergeConfig;axios.AxiosHeaders=AxiosHeaders;axios.formToJSON=Ra=>formDataToJSON(utils$1.isHTMLForm(Ra)?new FormData(Ra):Ra);axios.getAdapter=adapters.getAdapter;axios.HttpStatusCode=HttpStatusCode;axios.default=axios;const service=axios.create({baseURL:"",timeout:30*1e3});service.interceptors.request.use(Ra=>(/^(?:post|put|delete)$/i.test(`${Ra.method}`)&&Ra.data&&Ra.data.upload&&(Ra.headers["Content-Type"]="multipart/form-data"),Ra),Ra=>{Promise.reject(Ra)});service.interceptors.response.use(Ra=>Ra.data?Ra.data:Promise.reject(Ra),Ra=>Promise.reject(Ra));function getConfig(Ra,qa){if(Ra){const nd=qa==="github"?githubConfig:giteeConfig,{username:ad,repoList:sd,branch:ud,accessTokenList:cd}=nd,dd=Math.floor(Math.random()*cd.length),pd=cd[dd].replace("doocsmd",""),fd=Math.floor(Math.random()*sd.length),Td=sd[fd];return{username:ad,repo:Td,branch:ud,accessToken:pd}}const td=JSON.parse(localStorage.getItem(`${qa}Config`)),rd=td.repo.replace(`https://${qa}.com/`,"").replace(`http://${qa}.com/`,"").replace(`${qa}.com/`,"").split("/");return{username:rd[0],repo:rd[1],branch:td.branch||"master",accessToken:td.accessToken}}function getDir(){const Ra=new Date,qa=Ra.getFullYear(),td=(Ra.getMonth()+1).toString().padStart(2,"0"),rd=Ra.getDate().toString().padStart(2,"0");return`${qa}/${td}/${rd}`}function getDateFilename(Ra){const qa=new Date().getTime(),td=Ra.split(".")[1];return`${qa}-${v4()}.${td}`}async function ghFileUpload(Ra,qa){var Ad;const td=localStorage.getItem("imgHost")==="default",{username:rd,repo:nd,branch:ad,accessToken:sd}=getConfig(td,"github"),ud=getDir(),cd=`https://api.github.com/repos/${rd}/${nd}/contents/${ud}/`,dd=getDateFilename(qa),pd=await service({url:cd+dd,method:"put",headers:{Authorization:`token ${sd}`},data:{content:Ra,branch:ad,message:`Upload by ${window.location.href}`}}),fd=`raw.githubusercontent.com/${rd}/${nd}/${ad}/`,Td=`fastly.jsdelivr.net/gh/${rd}/${nd}@${ad}/`;return pd.content=((Ad=pd.data)==null?void 0:Ad.content)||pd.content,td?pd.content.download_url.replace(fd,Td):pd.content.download_url}async function giteeUpload(Ra,qa){var fd;const td=localStorage.getItem("imgHost")==="default",{username:rd,repo:nd,branch:ad,accessToken:sd}=getConfig(td,"gitee"),ud=getDir(),cd=getDateFilename(qa),dd=`https://gitee.com/api/v5/repos/${rd}/${nd}/contents/${ud}/${cd}`,pd=await service({url:dd,method:"POST",data:{content:Ra,branch:ad,access_token:sd,message:`Upload by ${window.location.href}`}});return pd.content=((fd=pd.data)==null?void 0:fd.content)||pd.content,encodeURI(pd.content.download_url)}function getQiniuToken(Ra,qa,td){const rd=JSON.stringify(td),nd=base64encode(utf16to8(rd)),sd=CryptoJS.HmacSHA1(nd,qa).toString(CryptoJS.enc.Base64);return`${Ra}:${safe64(sd)}:${nd}`}async function qiniuUpload(Ra){const{accessKey:qa,secretKey:td,bucket:rd,region:nd,path:ad,domain:sd}=JSON.parse(localStorage.getItem("qiniuConfig")),ud=getQiniuToken(qa,td,{scope:rd,deadline:Math.trunc(new Date().getTime()/1e3)+3600}),dd=(ad?`${ad}/`:"")+getDateFilename(Ra.name),pd=upload(Ra,dd,ud,{},{region:nd});return new Promise((fd,Td)=>{pd.subscribe({next:Ad=>{console.log(Ad)},error:Ad=>{Td(Ad.message)},complete:Ad=>{fd(`${sd}/${Ad.key}`)}})})}async function aliOSSFileUpload(Ra){const qa=getDateFilename(Ra.name),{region:td,bucket:rd,accessKeyId:nd,accessKeySecret:ad,useSSL:sd,cdnHost:ud,path:cd}=JSON.parse(localStorage.getItem("aliOSSConfig")),dd=cd?`${cd}/${qa}`:qa,pd=sd===void 0||sd,fd=pd?"https":"http",Td=new OSS({region:td,bucket:rd,accessKeyId:nd,accessKeySecret:ad,secure:pd});try{return await Td.put(dd,Ra),ud?`${ud}/${dd}`:`${fd}://${rd}.${td}.aliyuncs.com/${dd}`}catch(Ad){return Promise.reject(Ad)}}async function txCOSFileUpload(Ra){const qa=getDateFilename(Ra.name),{secretId:td,secretKey:rd,bucket:nd,region:ad,path:sd,cdnHost:ud}=JSON.parse(localStorage.getItem("txCOSConfig")),cd=new COS({SecretId:td,SecretKey:rd});return new Promise((dd,pd)=>{cd.putObject({Bucket:nd,Region:ad,Key:`${sd}/${qa}`,Body:Ra},(fd,Td)=>{fd?pd(fd):dd(ud?sd===""?`${ud}/${qa}`:`${ud}/${sd}/${qa}`:`https://${Td.Location}`)})})}async function minioFileUpload(Ra,qa){const td=getDateFilename(qa),{endpoint:rd,port:nd,useSSL:ad,bucket:sd,accessKey:ud,secretKey:cd}=JSON.parse(localStorage.getItem("minioConfig")),dd=Buffer$1(Ra,"base64"),pd={endPoint:rd,useSSL:ad,accessKey:ud,secretKey:cd},fd=Number(nd||0),Td=fd>0&&fd!==80&&fd!==443;return Td&&(pd.port=fd),new Promise((Ad,Sd)=>{const Dd=new Client(pd);try{Dd.putObject(sd,td,dd,Ld=>{Ld&&Sd(Ld);const Od=`${`${ad?"https://":"http://"}${rd}${Td?`:${nd}`:""}`}/${sd}/${td}`;Ad(Od)})}catch(Ld){Sd(Ld)}})}async function formCustomUpload(content,file){const str=` async (CUSTOM_ARG) => { ${localStorage.getItem("formCustomConfig")} } - `;return new Promise((resolve,reject)=>{const exportObj={content,file,util:{axios:service,CryptoJS,OSS,COS,Buffer:Buffer$1,uuidv4:v4,qiniu,tokenTools,getDir,getDateFilename},okCb:resolve,errCb:reject};eval(str)(exportObj).catch(Ra=>{console.error(Ra),reject(Ra)})})}function fileUpload(Ra,qa){const ed=localStorage.getItem("imgHost");switch(ed||localStorage.setItem("imgHost","default"),ed){case"aliOSS":return aliOSSFileUpload(qa);case"minio":return minioFileUpload(Ra,qa.name);case"txCOS":return txCOSFileUpload(qa);case"qiniu":return qiniuUpload(qa);case"gitee":return giteeUpload(Ra,qa.name);case"github":return ghFileUpload(Ra,qa.name);case"formCustom":return formCustomUpload(Ra,qa);default:return ghFileUpload(Ra,qa.name)}}const fileApi={fileUpload},_hoisted_1={class:"container-main flex-1"},_hoisted_2={class:"preview border shadow-xl"},_hoisted_3=["innerHTML"],_hoisted_4={key:0,class:"loading-mask"},_sfc_main$1=defineComponent({__name:"CodemirrorEditor",setup(Ra){const qa=useStore(),ed=useDisplayStore(),{isDark:td,output:rd,editor:sd,editorContent:od}=storeToRefs(qa),{isShowCssEditor:ld}=storeToRefs(ed),{editorRefresh:ud,exportEditorContent2HTML:cd,exportEditorContent2MD:dd,formatContent:_d,importMarkdownContent:Ed,resetStyleConfirm:Ad}=qa,{toggleShowInsertFormDialog:Td,toggleShowUploadImgDialog:Id}=ed,Bd=ref$1(!1),Rd=ref$1(),Od=ref$1(null);function Md(){const kf=Gf=>{let Mf,Nf;clearTimeout(Rd.value),Gf==="preview"?(Mf=Od.value.$el,Nf=document.querySelector(".CodeMirror-scroll"),sd.value.off("scroll",zf),Rd.value=setTimeout(()=>{sd.value.on("scroll",zf)},300)):(Mf=document.querySelector(".CodeMirror-scroll"),Nf=Od.value.$el,Nf.removeEventListener("scroll",Jf,!1),Rd.value=setTimeout(()=>{Nf.addEventListener("scroll",Jf,!1)},300));const Qf=Mf.scrollTop/(Mf.scrollHeight-Mf.offsetHeight)*(Nf.scrollHeight-Nf.offsetHeight);Nf.scrollTo(0,Qf)};function zf(){kf("editor")}function Jf(){kf("preview")}Od.value.$el.addEventListener("scroll",Jf,!1),sd.value.on("scroll",zf)}onMounted(()=>{setTimeout(()=>{Md()},300)});function Ld(){ud()}const Fd=ref$1(!1),jd=ref$1(!1);function Vd(){jd.value=!0,Fd.value=!0}function Qd(){Fd.value=!1,setTimeout(()=>{jd.value=!1},800)}function qd(kf){const zf=checkImage(kf);if(!zf.ok)return ElMessage.error(zf.msg),!1;const Jf=localStorage.getItem("imgHost")||"default";localStorage.setItem("imgHost",Jf);const Gf=localStorage.getItem(`${Jf}Config`);return Jf==="default"||Gf?!0:(ElMessage.error(`请先配置 ${Jf} 图床参数`),!1)}function Kd(kf){if(!kf){ElMessage.error("上传图片未知异常");return}Id(!1);const zf=sd.value.getCursor(),Jf=`![](${kf})`;toRaw(qa.editor).replaceSelection(` -${Jf} -`,zf),ElMessage.success("图片上传成功")}function Xd(kf,zf){Bd.value=!0,toBase64$1(kf).then(Jf=>fileApi.fileUpload(Jf,kf)).then(Jf=>{zf?zf(Jf):Kd(Jf)}).catch(Jf=>{ElMessage.error(Jf.message)}).finally(()=>{Bd.value=!1})}const df=ref$1();watch(td,()=>{var zf,Jf;const kf=td.value?"darcula":"xq-light";(Jf=(zf=toRaw(sd.value))==null?void 0:zf.setOption)==null||Jf.call(zf,"theme",kf)});function mf(){const kf=document.querySelector("#editor");kf.value||(kf.value=od.value),sd.value=CodeMirror.fromTextArea(kf,{mode:"text/x-markdown",theme:td.value?"darcula":"xq-light",lineNumbers:!1,lineWrapping:!0,styleActiveLine:!0,autoCloseBrackets:!0,extraKeys:{[`${shiftKey}-${altKey}-F`]:function(Jf){formatDoc(Jf.getValue()).then(Gf=>{Jf.setValue(Gf)})},[`${ctrlKey}-B`]:function(Jf){const Gf=Jf.getSelection();Jf.replaceSelection(`**${Gf}**`)},[`${ctrlKey}-I`]:function(Jf){const Gf=Jf.getSelection();Jf.replaceSelection(`*${Gf}*`)},[`${ctrlKey}-D`]:function(Jf){const Gf=Jf.getSelection();Jf.replaceSelection(`~~${Gf}~~`)},[`${ctrlKey}-K`]:function(Jf){const Gf=Jf.getSelection();Jf.replaceSelection(`[${Gf}]()`)},[`${ctrlKey}-E`]:function(Jf){const Gf=Jf.getSelection();Jf.replaceSelection(`\`${Gf}\``)},[`${ctrlKey}-L`]:function(Jf){const Gf=Jf.getSelection();Jf.replaceSelection(`\`${Gf}\``)}}}),sd.value.on("change",zf=>{clearTimeout(df.value),df.value=setTimeout(()=>{Ld(),od.value=zf.getValue()},300)}),sd.value.on("paste",(zf,Jf)=>{if(!(!(Jf.clipboardData&&Jf.clipboardData.items)||Bd.value))for(let Gf=0,Mf=Jf.clipboardData.items.length;Gf{const Bf=[...Mf.str.matchAll(/!\[(.*?)\]\((.*?)\)/g)||[]].filter(yf=>yf),Qf=Mf.path.match(/.+?\//)[0];(await Promise.all(Bf.map(yf=>new Promise(hf=>{let[,,Rf]=yf;Rf=Rf.replace(/^.\//,"");const{file:jf}=Nf.find(Kf=>Kf.path===`${Qf}${Rf}`)||{};Xd(jf,Kf=>{hf({matchStr:Rf,url:Kf})})})))).forEach(yf=>{Mf.str=Mf.str.replace(`](./${yf.matchStr})`,`](${yf.url})`).replace(`](${yf.matchStr})`,`](${yf.url})`)}),sd.value.setValue(Mf.str)};kf.ondragover=Mf=>Mf.preventDefault(),kf.ondrop=async Mf=>{Mf.preventDefault();for(const Nf of Mf.dataTransfer.items)Nf.getAsFileSystemHandle().then(async Bf=>{if(Bf.kind==="directory"){const Qf=await Gf(Bf),Wf=await Jf({list:Qf});zf({md:Wf,list:Qf})}else{const Qf=await Bf.getFile();console.log("file",Qf)}})};async function Jf({list:Mf}){return new Promise(Nf=>{const{path:Bf,file:Qf}=Mf.find(yf=>yf.path.match(/\.md$/)),Wf=new FileReader;Wf.readAsText(Qf,"UTF-8"),Wf.onload=yf=>{Nf({str:yf.target.result,file:Qf,path:Bf})}})}async function Gf(Mf){const Nf=[];let Bf="";try{const Qf=[Mf];for(const Wf of Qf){Bf+=`${Wf.name}/`;for await(const[,yf]of Wf)yf.kind==="file"?Nf.push({path:Bf+yf.name,file:await yf.getFile()}):(Nf.push({path:`${Bf+yf.name}/`}),Qf.push(yf))}}catch(Qf){console.error(Qf)}return Nf}}return onMounted(()=>{mf(),Ld(),Tf()}),(kf,zf)=>{const Jf=ElRow;return openBlock(),createElementBlock("div",{ref_key:"container",ref:bf,class:"container flex flex-col"},[createVNode(EditorHeader,{onAddFormat:pf,onFormatContent:unref(_d),onStartCopy:Vd,onEndCopy:Qd},null,8,["onFormatContent"]),createBaseVNode("main",_hoisted_1,[createVNode(Jf,{class:"container-main-section h-full border-1"},{default:withCtx(()=>[createVNode(unref(ElCol),{ref_key:"codeMirrorWrapper",ref:_f,span:unref(ld)?8:12,class:normalizeClass(["codeMirror-wrapper border-r-1",{"order-1":!unref(qa).isEditOnLeft}])},{default:withCtx(()=>[createVNode(unref(_sfc_main$7),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$2),null,{default:withCtx(()=>zf[7]||(zf[7]=[createBaseVNode("textarea",{id:"editor",type:"textarea",placeholder:"Your markdown text here."},null,-1)])),_:1}),createVNode(unref(_sfc_main$6),{class:"w-64"},{default:withCtx(()=>[createVNode(unref(_sfc_main$5),{inset:"",onClick:zf[0]||(zf[0]=Gf=>unref(Id)())},{default:withCtx(()=>zf[8]||(zf[8]=[createTextVNode(" 上传图片 ")])),_:1}),createVNode(unref(_sfc_main$5),{inset:"",onClick:zf[1]||(zf[1]=Gf=>unref(Td)())},{default:withCtx(()=>zf[9]||(zf[9]=[createTextVNode(" 插入表格 ")])),_:1}),createVNode(unref(_sfc_main$5),{inset:"",onClick:zf[2]||(zf[2]=Gf=>unref(Ad)())},{default:withCtx(()=>zf[10]||(zf[10]=[createTextVNode(" 恢复默认样式 ")])),_:1}),createVNode(unref(_sfc_main$4)),createVNode(unref(_sfc_main$5),{inset:"",onClick:zf[3]||(zf[3]=Gf=>unref(Ed)())},{default:withCtx(()=>zf[11]||(zf[11]=[createTextVNode(" 导入 .md 文档 ")])),_:1}),createVNode(unref(_sfc_main$5),{inset:"",onClick:zf[4]||(zf[4]=Gf=>unref(dd)())},{default:withCtx(()=>zf[12]||(zf[12]=[createTextVNode(" 导出 .md 文档 ")])),_:1}),createVNode(unref(_sfc_main$5),{inset:"",onClick:zf[5]||(zf[5]=Gf=>unref(cd)())},{default:withCtx(()=>zf[13]||(zf[13]=[createTextVNode(" 导出 .html ")])),_:1}),createVNode(unref(_sfc_main$5),{inset:"",onClick:zf[6]||(zf[6]=Gf=>unref(_d)())},{default:withCtx(()=>[zf[14]||(zf[14]=createTextVNode(" 格式化 ")),createVNode(unref(_sfc_main$3),null,{default:withCtx(()=>[createTextVNode(toDisplayString(unref(altSign))+" + "+toDisplayString(unref(shiftSign))+" + F",1)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["span","class"]),createVNode(unref(ElCol),{id:"preview",ref_key:"preview",ref:Od,span:unref(ld)?8:12,class:"preview-wrapper p-5"},{default:withCtx(()=>[createBaseVNode("div",{id:"output-wrapper",class:normalizeClass({output_night:!Fd.value})},[createBaseVNode("div",_hoisted_2,[createBaseVNode("section",{id:"output",innerHTML:unref(rd)},null,8,_hoisted_3),jd.value?(openBlock(),createElementBlock("div",_hoisted_4,zf[15]||(zf[15]=[createBaseVNode("div",{class:"loading-mask-box"},[createBaseVNode("div",{class:"loading__img"}),createBaseVNode("span",null,"正在生成")],-1)]))):createCommentVNode("",!0)])],2)]),_:1},8,["span"]),createVNode(CssEditor)]),_:1})]),createVNode(UploadImgDialog,{onUploadImage:Xd}),createVNode(InsertFormDialog),createVNode(RunLoading)],512)}}}),CodemirrorEditor=_export_sfc(_sfc_main$1,[["__scopeId","data-v-9030b4b2"]]),_sfc_main=defineComponent({__name:"App",setup(Ra){return(qa,ed)=>(openBlock(),createBlock(CodemirrorEditor))}}),ElementPlus={install(Ra){Ra.config.globalProperties.$loading=ElLoading.service,Ra.config.globalProperties.$message=ElMessage;for(const[qa,ed]of Object.entries(ElementPlusIconsVue))Ra.component(`ElIcon${qa}`,ed)}};var css={exports:{}};(function(Ra,qa){(function(ed){ed(requireCodemirror())})(function(ed){ed.defineMode("css",function(Kd,Xd){var df=Xd.inline;Xd.propertyKeywords||(Xd=ed.resolveMode("text/css"));var mf=Kd.indentUnit,bf=Xd.tokenHooks,pf=Xd.documentTypes||{},_f=Xd.mediaTypes||{},Tf=Xd.mediaFeatures||{},kf=Xd.mediaValueKeywords||{},zf=Xd.propertyKeywords||{},Jf=Xd.nonStandardPropertyKeywords||{},Gf=Xd.fontProperties||{},Mf=Xd.counterDescriptors||{},Nf=Xd.colorKeywords||{},Bf=Xd.valueKeywords||{},Qf=Xd.allowNested,Wf=Xd.lineComment,yf=Xd.supportsAtComponent===!0,hf=Kd.highlightNonStandardPropertyKeywords!==!1,Rf,jf;function Kf(rh,Ah){return Rf=Ah,rh}function Ff(rh,Ah){var ph=rh.next();if(bf[ph]){var vh=bf[ph](rh,Ah);if(vh!==!1)return vh}if(ph=="@")return rh.eatWhile(/[\w\\\-]/),Kf("def",rh.current());if(ph=="="||(ph=="~"||ph=="|")&&rh.eat("="))return Kf(null,"compare");if(ph=='"'||ph=="'")return Ah.tokenize=wf(ph),Ah.tokenize(rh,Ah);if(ph=="#")return rh.eatWhile(/[\w\\\-]/),Kf("atom","hash");if(ph=="!")return rh.match(/^\s*\w*/),Kf("keyword","important");if(/\d/.test(ph)||ph=="."&&rh.eat(/\d/))return rh.eatWhile(/[\w.%]/),Kf("number","unit");if(ph==="-"){if(/[\d.]/.test(rh.peek()))return rh.eatWhile(/[\w.%]/),Kf("number","unit");if(rh.match(/^-[\w\\\-]*/))return rh.eatWhile(/[\w\\\-]/),rh.match(/^\s*:/,!1)?Kf("variable-2","variable-definition"):Kf("variable-2","variable");if(rh.match(/^\w+-/))return Kf("meta","meta")}else return/[,+>*\/]/.test(ph)?Kf(null,"select-op"):ph=="."&&rh.match(/^-?[_a-z][_a-z0-9-]*/i)?Kf("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(ph)?Kf(null,ph):rh.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(rh.current())&&(Ah.tokenize=Yf),Kf("variable callee","variable")):/[\w\\\-]/.test(ph)?(rh.eatWhile(/[\w\\\-]/),Kf("property","word")):Kf(null,null)}function wf(rh){return function(Ah,ph){for(var vh=!1,qh;(qh=Ah.next())!=null;){if(qh==rh&&!vh){rh==")"&&Ah.backUp(1);break}vh=!vh&&qh=="\\"}return(qh==rh||!vh&&rh!=")")&&(ph.tokenize=null),Kf("string","string")}}function Yf(rh,Ah){return rh.next(),rh.match(/^\s*[\"\')]/,!1)?Ah.tokenize=null:Ah.tokenize=wf(")"),Kf(null,"(")}function uh(rh,Ah,ph){this.type=rh,this.indent=Ah,this.prev=ph}function Uf(rh,Ah,ph,vh){return rh.context=new uh(ph,Ah.indentation()+(vh===!1?0:mf),rh.context),ph}function Cf(rh){return rh.context.prev&&(rh.context=rh.context.prev),rh.context.type}function If(rh,Ah,ph){return hh[ph.context.type](rh,Ah,ph)}function Lf(rh,Ah,ph,vh){for(var qh=vh||1;qh>0;qh--)ph.context=ph.context.prev;return If(rh,Ah,ph)}function sh(rh){var Ah=rh.current().toLowerCase();Bf.hasOwnProperty(Ah)?jf="atom":Nf.hasOwnProperty(Ah)?jf="keyword":jf="variable"}var hh={};return hh.top=function(rh,Ah,ph){if(rh=="{")return Uf(ph,Ah,"block");if(rh=="}"&&ph.context.prev)return Cf(ph);if(yf&&/@component/i.test(rh))return Uf(ph,Ah,"atComponentBlock");if(/^@(-moz-)?document$/i.test(rh))return Uf(ph,Ah,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(rh))return Uf(ph,Ah,"atBlock");if(/^@(font-face|counter-style)/i.test(rh))return ph.stateArg=rh,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(rh))return"keyframes";if(rh&&rh.charAt(0)=="@")return Uf(ph,Ah,"at");if(rh=="hash")jf="builtin";else if(rh=="word")jf="tag";else{if(rh=="variable-definition")return"maybeprop";if(rh=="interpolation")return Uf(ph,Ah,"interpolation");if(rh==":")return"pseudo";if(Qf&&rh=="(")return Uf(ph,Ah,"parens")}return ph.context.type},hh.block=function(rh,Ah,ph){if(rh=="word"){var vh=Ah.current().toLowerCase();return zf.hasOwnProperty(vh)?(jf="property","maybeprop"):Jf.hasOwnProperty(vh)?(jf=hf?"string-2":"property","maybeprop"):Qf?(jf=Ah.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(jf+=" error","maybeprop")}else return rh=="meta"?"block":!Qf&&(rh=="hash"||rh=="qualifier")?(jf="error","block"):hh.top(rh,Ah,ph)},hh.maybeprop=function(rh,Ah,ph){return rh==":"?Uf(ph,Ah,"prop"):If(rh,Ah,ph)},hh.prop=function(rh,Ah,ph){if(rh==";")return Cf(ph);if(rh=="{"&&Qf)return Uf(ph,Ah,"propBlock");if(rh=="}"||rh=="{")return Lf(rh,Ah,ph);if(rh=="(")return Uf(ph,Ah,"parens");if(rh=="hash"&&!/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(Ah.current()))jf+=" error";else if(rh=="word")sh(Ah);else if(rh=="interpolation")return Uf(ph,Ah,"interpolation");return"prop"},hh.propBlock=function(rh,Ah,ph){return rh=="}"?Cf(ph):rh=="word"?(jf="property","maybeprop"):ph.context.type},hh.parens=function(rh,Ah,ph){return rh=="{"||rh=="}"?Lf(rh,Ah,ph):rh==")"?Cf(ph):rh=="("?Uf(ph,Ah,"parens"):rh=="interpolation"?Uf(ph,Ah,"interpolation"):(rh=="word"&&sh(Ah),"parens")},hh.pseudo=function(rh,Ah,ph){return rh=="meta"?"pseudo":rh=="word"?(jf="variable-3",ph.context.type):If(rh,Ah,ph)},hh.documentTypes=function(rh,Ah,ph){return rh=="word"&&pf.hasOwnProperty(Ah.current())?(jf="tag",ph.context.type):hh.atBlock(rh,Ah,ph)},hh.atBlock=function(rh,Ah,ph){if(rh=="(")return Uf(ph,Ah,"atBlock_parens");if(rh=="}"||rh==";")return Lf(rh,Ah,ph);if(rh=="{")return Cf(ph)&&Uf(ph,Ah,Qf?"block":"top");if(rh=="interpolation")return Uf(ph,Ah,"interpolation");if(rh=="word"){var vh=Ah.current().toLowerCase();vh=="only"||vh=="not"||vh=="and"||vh=="or"?jf="keyword":_f.hasOwnProperty(vh)?jf="attribute":Tf.hasOwnProperty(vh)?jf="property":kf.hasOwnProperty(vh)?jf="keyword":zf.hasOwnProperty(vh)?jf="property":Jf.hasOwnProperty(vh)?jf=hf?"string-2":"property":Bf.hasOwnProperty(vh)?jf="atom":Nf.hasOwnProperty(vh)?jf="keyword":jf="error"}return ph.context.type},hh.atComponentBlock=function(rh,Ah,ph){return rh=="}"?Lf(rh,Ah,ph):rh=="{"?Cf(ph)&&Uf(ph,Ah,Qf?"block":"top",!1):(rh=="word"&&(jf="error"),ph.context.type)},hh.atBlock_parens=function(rh,Ah,ph){return rh==")"?Cf(ph):rh=="{"||rh=="}"?Lf(rh,Ah,ph,2):hh.atBlock(rh,Ah,ph)},hh.restricted_atBlock_before=function(rh,Ah,ph){return rh=="{"?Uf(ph,Ah,"restricted_atBlock"):rh=="word"&&ph.stateArg=="@counter-style"?(jf="variable","restricted_atBlock_before"):If(rh,Ah,ph)},hh.restricted_atBlock=function(rh,Ah,ph){return rh=="}"?(ph.stateArg=null,Cf(ph)):rh=="word"?(ph.stateArg=="@font-face"&&!Gf.hasOwnProperty(Ah.current().toLowerCase())||ph.stateArg=="@counter-style"&&!Mf.hasOwnProperty(Ah.current().toLowerCase())?jf="error":jf="property","maybeprop"):"restricted_atBlock"},hh.keyframes=function(rh,Ah,ph){return rh=="word"?(jf="variable","keyframes"):rh=="{"?Uf(ph,Ah,"top"):If(rh,Ah,ph)},hh.at=function(rh,Ah,ph){return rh==";"?Cf(ph):rh=="{"||rh=="}"?Lf(rh,Ah,ph):(rh=="word"?jf="tag":rh=="hash"&&(jf="builtin"),"at")},hh.interpolation=function(rh,Ah,ph){return rh=="}"?Cf(ph):rh=="{"||rh==";"?Lf(rh,Ah,ph):(rh=="word"?jf="variable":rh!="variable"&&rh!="("&&rh!=")"&&(jf="error"),"interpolation")},{startState:function(rh){return{tokenize:null,state:df?"block":"top",stateArg:null,context:new uh(df?"block":"top",rh||0,null)}},token:function(rh,Ah){if(!Ah.tokenize&&rh.eatSpace())return null;var ph=(Ah.tokenize||Ff)(rh,Ah);return ph&&typeof ph=="object"&&(Rf=ph[1],ph=ph[0]),jf=ph,Rf!="comment"&&(Ah.state=hh[Ah.state](Rf,rh,Ah)),jf},indent:function(rh,Ah){var ph=rh.context,vh=Ah&&Ah.charAt(0),qh=ph.indent;return ph.type=="prop"&&(vh=="}"||vh==")")&&(ph=ph.prev),ph.prev&&(vh=="}"&&(ph.type=="block"||ph.type=="top"||ph.type=="interpolation"||ph.type=="restricted_atBlock")?(ph=ph.prev,qh=ph.indent):(vh==")"&&(ph.type=="parens"||ph.type=="atBlock_parens")||vh=="{"&&(ph.type=="at"||ph.type=="atBlock"))&&(qh=Math.max(0,ph.indent-mf))),qh},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:Wf,fold:"brace"}});function td(Kd){for(var Xd={},df=0;df")):null:pf.match("--")?Tf(Bd("comment","-->")):pf.match("DOCTYPE",!0,!0)?(pf.eatWhile(/[\w\._\-]/),Tf(Rd(1))):null:pf.eat("?")?(pf.eatWhile(/[\w\._\-]/),_f.tokenize=Bd("meta","?>"),"meta"):(_d=pf.eat("/")?"closeTag":"openTag",_f.tokenize=Td,"tag bracket");if(kf=="&"){var zf;return pf.eat("#")?pf.eat("x")?zf=pf.eatWhile(/[a-fA-F\d]/)&&pf.eat(";"):zf=pf.eatWhile(/[\d]/)&&pf.eat(";"):zf=pf.eatWhile(/[\w\.\-:]/)&&pf.eat(";"),zf?"atom":"error"}else return pf.eatWhile(/[^&<]/),null}Ad.isInText=!0;function Td(pf,_f){var Tf=pf.next();if(Tf==">"||Tf=="/"&&pf.eat(">"))return _f.tokenize=Ad,_d=Tf==">"?"endTag":"selfcloseTag","tag bracket";if(Tf=="=")return _d="equals",null;if(Tf=="<"){_f.tokenize=Ad,_f.state=jd,_f.tagName=_f.tagStart=null;var kf=_f.tokenize(pf,_f);return kf?kf+" tag error":"tag error"}else return/[\'\"]/.test(Tf)?(_f.tokenize=Id(Tf),_f.stringStartCol=pf.column(),_f.tokenize(pf,_f)):(pf.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Id(pf){var _f=function(Tf,kf){for(;!Tf.eol();)if(Tf.next()==pf){kf.tokenize=Td;break}return"string"};return _f.isInAttribute=!0,_f}function Bd(pf,_f){return function(Tf,kf){for(;!Tf.eol();){if(Tf.match(_f)){kf.tokenize=Ad;break}Tf.next()}return pf}}function Rd(pf){return function(_f,Tf){for(var kf;(kf=_f.next())!=null;){if(kf=="<")return Tf.tokenize=Rd(pf+1),Tf.tokenize(_f,Tf);if(kf==">")if(pf==1){Tf.tokenize=Ad;break}else return Tf.tokenize=Rd(pf-1),Tf.tokenize(_f,Tf)}return"meta"}}function Od(pf){return pf&&pf.toLowerCase()}function Md(pf,_f,Tf){this.prev=pf.context,this.tagName=_f||"",this.indent=pf.indented,this.startOfLine=Tf,(ud.doNotIndent.hasOwnProperty(_f)||pf.context&&pf.context.noIndent)&&(this.noIndent=!0)}function Ld(pf){pf.context&&(pf.context=pf.context.prev)}function Fd(pf,_f){for(var Tf;;){if(!pf.context||(Tf=pf.context.tagName,!ud.contextGrabbers.hasOwnProperty(Od(Tf))||!ud.contextGrabbers[Od(Tf)].hasOwnProperty(Od(_f))))return;Ld(pf)}}function jd(pf,_f,Tf){return pf=="openTag"?(Tf.tagStart=_f.column(),Vd):pf=="closeTag"?Qd:jd}function Vd(pf,_f,Tf){return pf=="word"?(Tf.tagName=_f.current(),Ed="tag",Xd):ud.allowMissingTagName&&pf=="endTag"?(Ed="tag bracket",Xd(pf,_f,Tf)):(Ed="error",Vd)}function Qd(pf,_f,Tf){if(pf=="word"){var kf=_f.current();return Tf.context&&Tf.context.tagName!=kf&&ud.implicitlyClosed.hasOwnProperty(Od(Tf.context.tagName))&&Ld(Tf),Tf.context&&Tf.context.tagName==kf||ud.matchClosing===!1?(Ed="tag",qd):(Ed="tag error",Kd)}else return ud.allowMissingTagName&&pf=="endTag"?(Ed="tag bracket",qd(pf,_f,Tf)):(Ed="error",Kd)}function qd(pf,_f,Tf){return pf!="endTag"?(Ed="error",qd):(Ld(Tf),jd)}function Kd(pf,_f,Tf){return Ed="error",qd(pf,_f,Tf)}function Xd(pf,_f,Tf){if(pf=="word")return Ed="attribute",df;if(pf=="endTag"||pf=="selfcloseTag"){var kf=Tf.tagName,zf=Tf.tagStart;return Tf.tagName=Tf.tagStart=null,pf=="selfcloseTag"||ud.autoSelfClosers.hasOwnProperty(Od(kf))?Fd(Tf,kf):(Fd(Tf,kf),Tf.context=new Md(Tf,kf,zf==Tf.indented)),jd}return Ed="error",Xd}function df(pf,_f,Tf){return pf=="equals"?mf:(ud.allowMissing||(Ed="error"),Xd(pf,_f,Tf))}function mf(pf,_f,Tf){return pf=="string"?bf:pf=="word"&&ud.allowUnquoted?(Ed="string",Xd):(Ed="error",Xd(pf,_f,Tf))}function bf(pf,_f,Tf){return pf=="string"?bf:Xd(pf,_f,Tf)}return{startState:function(pf){var _f={tokenize:Ad,state:jd,indented:pf||0,tagName:null,tagStart:null,context:null};return pf!=null&&(_f.baseIndent=pf),_f},token:function(pf,_f){if(!_f.tagName&&pf.sol()&&(_f.indented=pf.indentation()),pf.eatSpace())return null;_d=null;var Tf=_f.tokenize(pf,_f);return(Tf||_d)&&Tf!="comment"&&(Ed=null,_f.state=_f.state(_d||Tf,pf,_f),Ed&&(Tf=Ed=="error"?Tf+" error":Ed)),Tf},indent:function(pf,_f,Tf){var kf=pf.context;if(pf.tokenize.isInAttribute)return pf.tagStart==pf.indented?pf.stringStartCol+1:pf.indented+ld;if(kf&&kf.noIndent)return ed.Pass;if(pf.tokenize!=Td&&pf.tokenize!=Ad)return Tf?Tf.match(/^(\s*)/)[0].length:0;if(pf.tagName)return ud.multilineTagIndentPastTag!==!1?pf.tagStart+pf.tagName.length+2:pf.tagStart+ld*(ud.multilineTagIndentFactor||1);if(ud.alignCDATA&&/$/,blockCommentStart:"",configuration:ud.htmlMode?"html":"xml",helperType:ud.htmlMode?"html":"xml",skipAttribute:function(pf){pf.state==mf&&(pf.state=Xd)},xmlCurrentTag:function(pf){return pf.tagName?{name:pf.tagName,close:pf.type=="closeTag"}:null},xmlCurrentContext:function(pf){for(var _f=[],Tf=pf.context;Tf;Tf=Tf.prev)_f.push(Tf.tagName);return _f.reverse()}}}),ed.defineMIME("text/xml","xml"),ed.defineMIME("application/xml","xml"),ed.mimeModes.hasOwnProperty("text/html")||ed.defineMIME("text/html",{name:"xml",htmlMode:!0})})}()),xml.exports}var meta={exports:{}},hasRequiredMeta;function requireMeta(){return hasRequiredMeta||(hasRequiredMeta=1,function(Ra,qa){(function(ed){ed(requireCodemirror())})(function(ed){ed.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy","cbl"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded JavaScript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"],alias:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var td=0;td-1&&sd.substring(ud+1,sd.length);if(cd)return ed.findModeByExtension(cd)},ed.findModeByName=function(sd){sd=sd.toLowerCase();for(var od=0;od` "'(~:]+/,Bd=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,Rd=/^\s*\[[^\]]+?\]:.*$/,Od=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,Md=" ";function Ld(Mf,Nf,Bf){return Nf.f=Nf.inline=Bf,Bf(Mf,Nf)}function Fd(Mf,Nf,Bf){return Nf.f=Nf.block=Bf,Bf(Mf,Nf)}function jd(Mf){return!Mf||!/\S/.test(Mf.string)}function Vd(Mf){if(Mf.linkTitle=!1,Mf.linkHref=!1,Mf.linkText=!1,Mf.em=!1,Mf.strong=!1,Mf.strikethrough=!1,Mf.quote=0,Mf.indentedCode=!1,Mf.f==qd){var Nf=od;if(!Nf){var Bf=ed.innerMode(sd,Mf.htmlState);Nf=Bf.mode.name=="xml"&&Bf.state.tagStart===null&&!Bf.state.context&&Bf.state.tokenize.isInText}Nf&&(Mf.f=mf,Mf.block=Qd,Mf.htmlState=null)}return Mf.trailingSpace=0,Mf.trailingSpaceNewLine=!1,Mf.prevLine=Mf.thisLine,Mf.thisLine={stream:null},null}function Qd(Mf,Nf){var Bf=Mf.column()===Nf.indentation,Qf=jd(Nf.prevLine.stream),Wf=Nf.indentedCode,yf=Nf.prevLine.hr,hf=Nf.list!==!1,Rf=(Nf.listStack[Nf.listStack.length-1]||0)+3;Nf.indentedCode=!1;var jf=Nf.indentation;if(Nf.indentationDiff===null&&(Nf.indentationDiff=Nf.indentation,hf)){for(Nf.list=null;jf=4&&(Wf||Nf.prevLine.fencedCodeEnd||Nf.prevLine.header||Qf))return Mf.skipToEnd(),Nf.indentedCode=!0,ud.code;if(Mf.eatSpace())return null;if(Bf&&Nf.indentation<=Rf&&(wf=Mf.match(Ad))&&wf[1].length<=6)return Nf.quote=0,Nf.header=wf[1].length,Nf.thisLine.header=!0,rd.highlightFormatting&&(Nf.formatting="header"),Nf.f=Nf.inline,Xd(Nf);if(Nf.indentation<=Rf&&Mf.eat(">"))return Nf.quote=Bf?1:Nf.quote+1,rd.highlightFormatting&&(Nf.formatting="quote"),Mf.eatSpace(),Xd(Nf);if(!Ff&&!Nf.setext&&Bf&&Nf.indentation<=Rf&&(wf=Mf.match(_d))){var Yf=wf[1]?"ol":"ul";return Nf.indentation=jf+Mf.current().length,Nf.list=!0,Nf.quote=0,Nf.listStack.push(Nf.indentation),Nf.em=!1,Nf.strong=!1,Nf.code=!1,Nf.strikethrough=!1,rd.taskLists&&Mf.match(Ed,!1)&&(Nf.taskList=!0),Nf.f=Nf.inline,rd.highlightFormatting&&(Nf.formatting=["list","list-"+Yf]),Xd(Nf)}else{if(Bf&&Nf.indentation<=Rf&&(wf=Mf.match(Bd,!0)))return Nf.quote=0,Nf.fencedEndRE=new RegExp(wf[1]+"+ *$"),Nf.localMode=rd.fencedCodeBlockHighlighting&&ld(wf[2]||rd.fencedCodeBlockDefaultMode),Nf.localMode&&(Nf.localState=ed.startState(Nf.localMode)),Nf.f=Nf.block=Kd,rd.highlightFormatting&&(Nf.formatting="code-block"),Nf.code=-1,Xd(Nf);if(Nf.setext||(!Kf||!hf)&&!Nf.quote&&Nf.list===!1&&!Nf.code&&!Ff&&!Rd.test(Mf.string)&&(wf=Mf.lookAhead(1))&&(wf=wf.match(Td)))return Nf.setext?(Nf.header=Nf.setext,Nf.setext=0,Mf.skipToEnd(),rd.highlightFormatting&&(Nf.formatting="header")):(Nf.header=wf[0].charAt(0)=="="?1:2,Nf.setext=Nf.header),Nf.thisLine.header=!0,Nf.f=Nf.inline,Xd(Nf);if(Ff)return Mf.skipToEnd(),Nf.hr=!0,Nf.thisLine.hr=!0,ud.hr;if(Mf.peek()==="[")return Ld(Mf,Nf,kf)}return Ld(Mf,Nf,Nf.inline)}function qd(Mf,Nf){var Bf=sd.token(Mf,Nf.htmlState);if(!od){var Qf=ed.innerMode(sd,Nf.htmlState);(Qf.mode.name=="xml"&&Qf.state.tagStart===null&&!Qf.state.context&&Qf.state.tokenize.isInText||Nf.md_inside&&Mf.current().indexOf(">")>-1)&&(Nf.f=mf,Nf.block=Qd,Nf.htmlState=null)}return Bf}function Kd(Mf,Nf){var Bf=Nf.listStack[Nf.listStack.length-1]||0,Qf=Nf.indentation=Mf.quote?Nf.push(ud.formatting+"-"+Mf.formatting[Bf]+"-"+Mf.quote):Nf.push("error"))}if(Mf.taskOpen)return Nf.push("meta"),Nf.length?Nf.join(" "):null;if(Mf.taskClosed)return Nf.push("property"),Nf.length?Nf.join(" "):null;if(Mf.linkHref?Nf.push(ud.linkHref,"url"):(Mf.strong&&Nf.push(ud.strong),Mf.em&&Nf.push(ud.em),Mf.strikethrough&&Nf.push(ud.strikethrough),Mf.emoji&&Nf.push(ud.emoji),Mf.linkText&&Nf.push(ud.linkText),Mf.code&&Nf.push(ud.code),Mf.image&&Nf.push(ud.image),Mf.imageAltText&&Nf.push(ud.imageAltText,"link"),Mf.imageMarker&&Nf.push(ud.imageMarker)),Mf.header&&Nf.push(ud.header,ud.header+"-"+Mf.header),Mf.quote&&(Nf.push(ud.quote),!rd.maxBlockquoteDepth||rd.maxBlockquoteDepth>=Mf.quote?Nf.push(ud.quote+"-"+Mf.quote):Nf.push(ud.quote+"-"+rd.maxBlockquoteDepth)),Mf.list!==!1){var Qf=(Mf.listStack.length-1)%3;Qf?Qf===1?Nf.push(ud.list2):Nf.push(ud.list3):Nf.push(ud.list1)}return Mf.trailingSpaceNewLine?Nf.push("trailing-space-new-line"):Mf.trailingSpace&&Nf.push("trailing-space-"+(Mf.trailingSpace%2?"a":"b")),Nf.length?Nf.join(" "):null}function df(Mf,Nf){if(Mf.match(Id,!0))return Xd(Nf)}function mf(Mf,Nf){var Bf=Nf.text(Mf,Nf);if(typeof Bf<"u")return Bf;if(Nf.list)return Nf.list=null,Xd(Nf);if(Nf.taskList){var Qf=Mf.match(Ed,!0)[1]===" ";return Qf?Nf.taskOpen=!0:Nf.taskClosed=!0,rd.highlightFormatting&&(Nf.formatting="task"),Nf.taskList=!1,Xd(Nf)}if(Nf.taskOpen=!1,Nf.taskClosed=!1,Nf.header&&Mf.match(/^#+$/,!0))return rd.highlightFormatting&&(Nf.formatting="header"),Xd(Nf);var Wf=Mf.next();if(Nf.linkTitle){Nf.linkTitle=!1;var yf=Wf;Wf==="("&&(yf=")"),yf=(yf+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var hf="^\\s*(?:[^"+yf+"\\\\]+|\\\\\\\\|\\\\.)"+yf;if(Mf.match(new RegExp(hf),!0))return ud.linkHref}if(Wf==="`"){var Rf=Nf.formatting;rd.highlightFormatting&&(Nf.formatting="code"),Mf.eatWhile("`");var jf=Mf.current().length;if(Nf.code==0&&(!Nf.quote||jf==1))return Nf.code=jf,Xd(Nf);if(jf==Nf.code){var Kf=Xd(Nf);return Nf.code=0,Kf}else return Nf.formatting=Rf,Xd(Nf)}else if(Nf.code)return Xd(Nf);if(Wf==="\\"&&(Mf.next(),rd.highlightFormatting)){var Ff=Xd(Nf),wf=ud.formatting+"-escape";return Ff?Ff+" "+wf:wf}if(Wf==="!"&&Mf.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Nf.imageMarker=!0,Nf.image=!0,rd.highlightFormatting&&(Nf.formatting="image"),Xd(Nf);if(Wf==="["&&Nf.imageMarker&&Mf.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Nf.imageMarker=!1,Nf.imageAltText=!0,rd.highlightFormatting&&(Nf.formatting="image"),Xd(Nf);if(Wf==="]"&&Nf.imageAltText){rd.highlightFormatting&&(Nf.formatting="image");var Ff=Xd(Nf);return Nf.imageAltText=!1,Nf.image=!1,Nf.inline=Nf.f=pf,Ff}if(Wf==="["&&!Nf.image)return Nf.linkText&&Mf.match(/^.*?\]/)||(Nf.linkText=!0,rd.highlightFormatting&&(Nf.formatting="link")),Xd(Nf);if(Wf==="]"&&Nf.linkText){rd.highlightFormatting&&(Nf.formatting="link");var Ff=Xd(Nf);return Nf.linkText=!1,Nf.inline=Nf.f=Mf.match(/\(.*?\)| ?\[.*?\]/,!1)?pf:mf,Ff}if(Wf==="<"&&Mf.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){Nf.f=Nf.inline=bf,rd.highlightFormatting&&(Nf.formatting="link");var Ff=Xd(Nf);return Ff?Ff+=" ":Ff="",Ff+ud.linkInline}if(Wf==="<"&&Mf.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){Nf.f=Nf.inline=bf,rd.highlightFormatting&&(Nf.formatting="link");var Ff=Xd(Nf);return Ff?Ff+=" ":Ff="",Ff+ud.linkEmail}if(rd.xml&&Wf==="<"&&Mf.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Yf=Mf.string.indexOf(">",Mf.pos);if(Yf!=-1){var uh=Mf.string.substring(Mf.start,Yf);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(uh)&&(Nf.md_inside=!0)}return Mf.backUp(1),Nf.htmlState=ed.startState(sd),Fd(Mf,Nf,qd)}if(rd.xml&&Wf==="<"&&Mf.match(/^\/\w*?>/))return Nf.md_inside=!1,"tag";if(Wf==="*"||Wf==="_"){for(var Uf=1,Cf=Mf.pos==1?" ":Mf.string.charAt(Mf.pos-2);Uf<3&&Mf.eat(Wf);)Uf++;var If=Mf.peek()||" ",Lf=!/\s/.test(If)&&(!Od.test(If)||/\s/.test(Cf)||Od.test(Cf)),sh=!/\s/.test(Cf)&&(!Od.test(Cf)||/\s/.test(If)||Od.test(If)),hh=null,rh=null;if(Uf%2&&(!Nf.em&&Lf&&(Wf==="*"||!sh||Od.test(Cf))?hh=!0:Nf.em==Wf&&sh&&(Wf==="*"||!Lf||Od.test(If))&&(hh=!1)),Uf>1&&(!Nf.strong&&Lf&&(Wf==="*"||!sh||Od.test(Cf))?rh=!0:Nf.strong==Wf&&sh&&(Wf==="*"||!Lf||Od.test(If))&&(rh=!1)),rh!=null||hh!=null){rd.highlightFormatting&&(Nf.formatting=hh==null?"strong":rh==null?"em":"strong em"),hh===!0&&(Nf.em=Wf),rh===!0&&(Nf.strong=Wf);var Kf=Xd(Nf);return hh===!1&&(Nf.em=!1),rh===!1&&(Nf.strong=!1),Kf}}else if(Wf===" "&&(Mf.eat("*")||Mf.eat("_"))){if(Mf.peek()===" ")return Xd(Nf);Mf.backUp(1)}if(rd.strikethrough){if(Wf==="~"&&Mf.eatWhile(Wf)){if(Nf.strikethrough){rd.highlightFormatting&&(Nf.formatting="strikethrough");var Kf=Xd(Nf);return Nf.strikethrough=!1,Kf}else if(Mf.match(/^[^\s]/,!1))return Nf.strikethrough=!0,rd.highlightFormatting&&(Nf.formatting="strikethrough"),Xd(Nf)}else if(Wf===" "&&Mf.match("~~",!0)){if(Mf.peek()===" ")return Xd(Nf);Mf.backUp(2)}}if(rd.emoji&&Wf===":"&&Mf.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Nf.emoji=!0,rd.highlightFormatting&&(Nf.formatting="emoji");var Ah=Xd(Nf);return Nf.emoji=!1,Ah}return Wf===" "&&(Mf.match(/^ +$/,!1)?Nf.trailingSpace++:Nf.trailingSpace&&(Nf.trailingSpaceNewLine=!0)),Xd(Nf)}function bf(Mf,Nf){var Bf=Mf.next();if(Bf===">"){Nf.f=Nf.inline=mf,rd.highlightFormatting&&(Nf.formatting="link");var Qf=Xd(Nf);return Qf?Qf+=" ":Qf="",Qf+ud.linkInline}return Mf.match(/^[^>]+/,!0),ud.linkInline}function pf(Mf,Nf){if(Mf.eatSpace())return null;var Bf=Mf.next();return Bf==="("||Bf==="["?(Nf.f=Nf.inline=Tf(Bf==="("?")":"]"),rd.highlightFormatting&&(Nf.formatting="link-string"),Nf.linkHref=!0,Xd(Nf)):"error"}var _f={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function Tf(Mf){return function(Nf,Bf){var Qf=Nf.next();if(Qf===Mf){Bf.f=Bf.inline=mf,rd.highlightFormatting&&(Bf.formatting="link-string");var Wf=Xd(Bf);return Bf.linkHref=!1,Wf}return Nf.match(_f[Mf]),Bf.linkHref=!0,Xd(Bf)}}function kf(Mf,Nf){return Mf.match(/^([^\]\\]|\\.)*\]:/,!1)?(Nf.f=zf,Mf.next(),rd.highlightFormatting&&(Nf.formatting="link"),Nf.linkText=!0,Xd(Nf)):Ld(Mf,Nf,mf)}function zf(Mf,Nf){if(Mf.match("]:",!0)){Nf.f=Nf.inline=Jf,rd.highlightFormatting&&(Nf.formatting="link");var Bf=Xd(Nf);return Nf.linkText=!1,Bf}return Mf.match(/^([^\]\\]|\\.)+/,!0),ud.linkText}function Jf(Mf,Nf){return Mf.eatSpace()?null:(Mf.match(/^[^\s]+/,!0),Mf.peek()===void 0?Nf.linkTitle=!0:Mf.match(/^(?:\s+(?:"(?:[^"\\]|\\.)+"|'(?:[^'\\]|\\.)+'|\((?:[^)\\]|\\.)+\)))?/,!0),Nf.f=Nf.inline=mf,ud.linkHref+" url")}var Gf={startState:function(){return{f:Qd,prevLine:{stream:null},thisLine:{stream:null},block:Qd,htmlState:null,indentation:0,inline:mf,text:df,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(Mf){return{f:Mf.f,prevLine:Mf.prevLine,thisLine:Mf.thisLine,block:Mf.block,htmlState:Mf.htmlState&&ed.copyState(sd,Mf.htmlState),indentation:Mf.indentation,localMode:Mf.localMode,localState:Mf.localMode?ed.copyState(Mf.localMode,Mf.localState):null,inline:Mf.inline,text:Mf.text,formatting:!1,linkText:Mf.linkText,linkTitle:Mf.linkTitle,linkHref:Mf.linkHref,code:Mf.code,em:Mf.em,strong:Mf.strong,strikethrough:Mf.strikethrough,emoji:Mf.emoji,header:Mf.header,setext:Mf.setext,hr:Mf.hr,taskList:Mf.taskList,list:Mf.list,listStack:Mf.listStack.slice(0),quote:Mf.quote,indentedCode:Mf.indentedCode,trailingSpace:Mf.trailingSpace,trailingSpaceNewLine:Mf.trailingSpaceNewLine,md_inside:Mf.md_inside,fencedEndRE:Mf.fencedEndRE}},token:function(Mf,Nf){if(Nf.formatting=!1,Mf!=Nf.thisLine.stream){if(Nf.header=0,Nf.hr=!1,Mf.match(/^\s*$/,!0))return Vd(Nf),null;if(Nf.prevLine=Nf.thisLine,Nf.thisLine={stream:Mf},Nf.taskList=!1,Nf.trailingSpace=0,Nf.trailingSpaceNewLine=!1,!Nf.localState&&(Nf.f=Nf.block,Nf.f!=qd)){var Bf=Mf.match(/^\s*/,!0)[0].replace(/\t/g,Md).length;if(Nf.indentation=Bf,Nf.indentationDiff=null,Bf>0)return null}}return Nf.f(Mf,Nf)},innerMode:function(Mf){return Mf.block==qd?{state:Mf.htmlState,mode:sd}:Mf.localState?{state:Mf.localState,mode:Mf.localMode}:{state:Mf,mode:Gf}},indent:function(Mf,Nf,Bf){return Mf.block==qd&&sd.indent?sd.indent(Mf.htmlState,Nf,Bf):Mf.localState&&Mf.localMode.indent?Mf.localMode.indent(Mf.localState,Nf,Bf):ed.Pass},blankLine:Vd,getType:Xd,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Gf},"xml"),ed.defineMIME("text/markdown","markdown"),ed.defineMIME("text/x-markdown","markdown")})})();(function(Ra,qa){(function(ed){ed(requireCodemirror())})(function(ed){var td={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},rd=ed.Pos;ed.defineOption("autoCloseBrackets",!1,function(Rd,Od,Md){Md&&Md!=ed.Init&&(Rd.removeKeyMap(od),Rd.state.closeBrackets=null),Od&&(ld(sd(Od,"pairs")),Rd.state.closeBrackets=Od,Rd.addKeyMap(od))});function sd(Rd,Od){return Od=="pairs"&&typeof Rd=="string"?Rd:typeof Rd=="object"&&Rd[Od]!=null?Rd[Od]:td[Od]}var od={Backspace:dd,Enter:_d};function ld(Rd){for(var Od=0;Od=0;Fd--){var Vd=Ld[Fd].head;Rd.replaceRange("",rd(Vd.line,Vd.ch-1),rd(Vd.line,Vd.ch+1),"+delete")}}function _d(Rd){var Od=cd(Rd),Md=Od&&sd(Od,"explode");if(!Md||Rd.getOption("disableInput"))return ed.Pass;for(var Ld=Rd.listSelections(),Fd=0;Fd0?{line:Vd.head.line,ch:Vd.head.ch+Od}:{line:Vd.head.line-1};Md.push({anchor:Qd,head:Qd})}Rd.setSelections(Md,Fd)}function Ad(Rd){var Od=ed.cmpPos(Rd.anchor,Rd.head)>0;return{anchor:new rd(Rd.anchor.line,Rd.anchor.ch+(Od?-1:1)),head:new rd(Rd.head.line,Rd.head.ch+(Od?1:-1))}}function Td(Rd,Od){var Md=cd(Rd);if(!Md||Rd.getOption("disableInput"))return ed.Pass;var Ld=sd(Md,"pairs"),Fd=Ld.indexOf(Od);if(Fd==-1)return ed.Pass;for(var jd=sd(Md,"closeBefore"),Vd=sd(Md,"triples"),Qd=Ld.charAt(Fd+1)==Od,qd=Rd.listSelections(),Kd=Fd%2==0,Xd,df=0;df=0&&Rd.getRange(bf,rd(bf.line,bf.ch+3))==Od+Od+Od?pf="skipThree":pf="skip";else if(Qd&&bf.ch>1&&Vd.indexOf(Od)>=0&&Rd.getRange(rd(bf.line,bf.ch-2),bf)==Od+Od){if(bf.ch>2&&/\bstring/.test(Rd.getTokenTypeAt(rd(bf.line,bf.ch-2))))return ed.Pass;pf="addFour"}else if(Qd){var Tf=bf.ch==0?" ":Rd.getRange(rd(bf.line,bf.ch-1),bf);if(!ed.isWordChar(_f)&&Tf!=Od&&!ed.isWordChar(Tf))pf="both";else return ed.Pass}else if(Kd&&(_f.length===0||/\s/.test(_f)||jd.indexOf(_f)>-1))pf="both";else return ed.Pass;if(!Xd)Xd=pf;else if(Xd!=pf)return ed.Pass}var kf=Fd%2?Ld.charAt(Fd-1):Od,zf=Fd%2?Od:Ld.charAt(Fd+1);Rd.operation(function(){if(Xd=="skip")Ed(Rd,1);else if(Xd=="skipThree")Ed(Rd,3);else if(Xd=="surround"){for(var Jf=Rd.getSelections(),Gf=0;Gf",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function od(Ed){return Ed&&Ed.bracketRegex||/[(){}[\]]/}function ld(Ed,Ad,Td){var Id=Ed.getLineHandle(Ad.line),Bd=Ad.ch-1,Rd=Td&&Td.afterCursor;Rd==null&&(Rd=/(^| )cm-fat-cursor($| )/.test(Ed.getWrapperElement().className));var Od=od(Td),Md=!Rd&&Bd>=0&&Od.test(Id.text.charAt(Bd))&&sd[Id.text.charAt(Bd)]||Od.test(Id.text.charAt(Bd+1))&&sd[Id.text.charAt(++Bd)];if(!Md)return null;var Ld=Md.charAt(1)==">"?1:-1;if(Td&&Td.strict&&Ld>0!=(Bd==Ad.ch))return null;var Fd=Ed.getTokenTypeAt(rd(Ad.line,Bd+1)),jd=ud(Ed,rd(Ad.line,Bd+(Ld>0?1:0)),Ld,Fd,Td);return jd==null?null:{from:rd(Ad.line,Bd),to:jd&&jd.pos,match:jd&&jd.ch==Md.charAt(0),forward:Ld>0}}function ud(Ed,Ad,Td,Id,Bd){for(var Rd=Bd&&Bd.maxScanLineLength||1e4,Od=Bd&&Bd.maxScanLines||1e3,Md=[],Ld=od(Bd),Fd=Td>0?Math.min(Ad.line+Od,Ed.lastLine()+1):Math.max(Ed.firstLine()-1,Ad.line-Od),jd=Ad.line;jd!=Fd;jd+=Td){var Vd=Ed.getLine(jd);if(Vd){var Qd=Td>0?0:Vd.length-1,qd=Td>0?Vd.length:-1;if(!(Vd.length>Rd))for(jd==Ad.line&&(Qd=Ad.ch-(Td<0?1:0));Qd!=qd;Qd+=Td){var Kd=Vd.charAt(Qd);if(Ld.test(Kd)&&(Id===void 0||(Ed.getTokenTypeAt(rd(jd,Qd+1))||"")==(Id||""))){var Xd=sd[Kd];if(Xd&&Xd.charAt(1)==">"==Td>0)Md.push(Kd);else if(Md.length)Md.pop();else return{pos:rd(jd,Qd),ch:Kd}}}}}return jd-Td==(Td>0?Ed.lastLine():Ed.firstLine())?!1:null}function cd(Ed,Ad,Td){for(var Id=Ed.state.matchBrackets.maxHighlightLineLength||1e3,Bd=Td&&Td.highlightNonMatching,Rd=[],Od=Ed.listSelections(),Md=0;Md1)){if(this.somethingSelected()){if(!Rd.hint.supportsSelection)return;for(var Md=0;MdVd.clientHeight+1:!1,Rf;setTimeout(function(){Rf=Ld.getScrollInfo()});var jf=yf.bottom-Wf;if(jf>0){var Kf=yf.bottom-yf.top,Ff=yf.top-(pf.bottom-pf.top)-2;Wf-yf.topFf&&(Vd.style.height=(Kf=Ff)+"px"),Vd.style.top=(Tf=pf.top-Kf)+Jf+"px",kf=!1):Vd.style.height=Wf-yf.top-2+"px"}var wf=yf.right-Qf;if(hf&&(wf+=Ld.display.nativeBarWidth),wf>0&&(yf.right-yf.left>Qf&&(Vd.style.width=Qf-5+"px",wf-=yf.right-yf.left-Qf),Vd.style.left=(_f=Math.max(pf.left-wf-zf,0))+"px"),hf)for(var Yf=Vd.firstChild;Yf;Yf=Yf.nextSibling)Yf.style.paddingRight=Ld.display.nativeBarWidth+"px";if(Ld.addKeyMap(this.keyMap=dd(Rd,{moveFocus:function(Cf,If){Md.changeActive(Md.selectedHint+Cf,If)},setFocus:function(Cf){Md.changeActive(Cf)},menuSize:function(){return Md.screenAmount()},length:qd.length,close:function(){Rd.close()},pick:function(){Md.pick()},data:Od})),Rd.options.closeOnUnfocus){var uh;Ld.on("blur",this.onBlur=function(){uh=setTimeout(function(){Rd.close()},100)}),Ld.on("focus",this.onFocus=function(){clearTimeout(uh)})}Ld.on("scroll",this.onScroll=function(){var Cf=Ld.getScrollInfo(),If=Ld.getWrapperElement().getBoundingClientRect();Rf||(Rf=Ld.getScrollInfo());var Lf=Tf+Rf.top-Cf.top,sh=Lf-(jd.pageYOffset||(Fd.documentElement||Fd.body).scrollTop);if(kf||(sh+=Vd.offsetHeight),sh<=If.top||sh>=If.bottom)return Rd.close();Vd.style.top=Lf+"px",Vd.style.left=_f+Rf.left-Cf.left+"px"}),ed.on(Vd,"dblclick",function(Cf){var If=_d(Vd,Cf.target||Cf.srcElement);If&&If.hintId!=null&&(Md.changeActive(If.hintId),Md.pick())}),ed.on(Vd,"click",function(Cf){var If=_d(Vd,Cf.target||Cf.srcElement);If&&If.hintId!=null&&(Md.changeActive(If.hintId),Rd.options.completeOnSingleClick&&Md.pick())}),ed.on(Vd,"mousedown",function(){setTimeout(function(){Ld.focus()},20)});var Uf=this.getSelectedHintRange();return(Uf.from!==0||Uf.to!==0)&&this.scrollToActive(),ed.signal(Od,"select",qd[this.selectedHint],Vd.childNodes[this.selectedHint]),!0}Ed.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode&&this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var Rd=this.completion.cm.getInputField();Rd.removeAttribute("aria-activedescendant"),Rd.removeAttribute("aria-owns");var Od=this.completion.cm;this.completion.options.closeOnUnfocus&&(Od.off("blur",this.onBlur),Od.off("focus",this.onFocus)),Od.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var Rd=this;this.keyMap={Enter:function(){Rd.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(Rd,Od){if(Rd>=this.data.list.length?Rd=Od?this.data.list.length-1:0:Rd<0&&(Rd=Od?0:this.data.list.length-1),this.selectedHint!=Rd){var Md=this.hints.childNodes[this.selectedHint];Md&&(Md.className=Md.className.replace(" "+rd,""),Md.removeAttribute("aria-selected")),Md=this.hints.childNodes[this.selectedHint=Rd],Md.className+=" "+rd,Md.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",Md.id),this.scrollToActive(),ed.signal(this.data,"select",this.data.list[this.selectedHint],Md)}},scrollToActive:function(){var Rd=this.getSelectedHintRange(),Od=this.hints.childNodes[Rd.from],Md=this.hints.childNodes[Rd.to],Ld=this.hints.firstChild;Od.offsetTopthis.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=Md.offsetTop+Md.offsetHeight-this.hints.clientHeight+Ld.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var Rd=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-Rd),to:Math.min(this.data.list.length-1,this.selectedHint+Rd)}}};function Ad(Rd,Od){if(!Rd.somethingSelected())return Od;for(var Md=[],Ld=0;Ld0?Vd(df):Kd(Xd+1)})}Kd(0)};return Fd.async=!0,Fd.supportsSelection=!0,Fd}else return(Ld=Rd.getHelper(Rd.getCursor(),"hintWords"))?function(jd){return ed.hint.fromList(jd,{words:Ld})}:ed.hint.anyword?function(jd,Vd){return ed.hint.anyword(jd,Vd)}:function(){}}ed.registerHelper("hint","auto",{resolve:Id}),ed.registerHelper("hint","fromList",function(Rd,Od){var Md=Rd.getCursor(),Ld=Rd.getTokenAt(Md),Fd,jd=ed.Pos(Md.line,Ld.start),Vd=Md;Ld.start,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};ed.defineOption("hintOptions",null)})})();(function(Ra,qa){(function(ed){ed(requireCodemirror(),cssExports)})(function(ed){var td={active:1,after:1,before:1,checked:1,default:1,disabled:1,empty:1,enabled:1,"first-child":1,"first-letter":1,"first-line":1,"first-of-type":1,focus:1,hover:1,"in-range":1,indeterminate:1,invalid:1,lang:1,"last-child":1,"last-of-type":1,link:1,not:1,"nth-child":1,"nth-last-child":1,"nth-last-of-type":1,"nth-of-type":1,"only-of-type":1,"only-child":1,optional:1,"out-of-range":1,placeholder:1,"read-only":1,"read-write":1,required:1,root:1,selection:1,target:1,valid:1,visited:1};ed.registerHelper("hint","css",function(rd){var sd=rd.getCursor(),od=rd.getTokenAt(sd),ld=ed.innerMode(rd.getMode(),od.state);if(ld.mode.name!="css")return;if(od.type=="keyword"&&"!important".indexOf(od.string)==0)return{list:["!important"],from:ed.Pos(sd.line,od.start),to:ed.Pos(sd.line,od.end)};var ud=od.start,cd=sd.ch,dd=od.string.slice(0,cd-ud);/[^\w$_-]/.test(dd)&&(dd="",ud=cd=sd.ch);var _d=ed.resolveMode("text/css"),Ed=[];function Ad(Id){for(var Bd in Id)(!dd||Bd.lastIndexOf(dd,0)==0)&&Ed.push(Bd)}var Td=ld.state.state;if(Td=="pseudo"||od.type=="variable-3"?Ad(td):Td=="block"||Td=="maybeprop"?Ad(_d.propertyKeywords):Td=="prop"||Td=="parens"||Td=="at"||Td=="params"?(Ad(_d.valueKeywords),Ad(_d.colorKeywords)):(Td=="media"||Td=="media_parens")&&(Ad(_d.mediaTypes),Ad(_d.mediaFeatures)),Ed.length)return{list:Ed,from:ed.Pos(sd.line,ud),to:ed.Pos(sd.line,cd)}})})})();const app=createApp(_sfc_main);app.use(createPinia());app.use(ElementPlus);app.mount("#app");export{isDark as $,cleanAndMerge as A,getConfig$1 as B,random as C,setupGraphViewbox2 as D,selectSvgElement as E,version as F,getThemeVariables3 as G,line$1 as H,hasKatex as I,calculateMathMLDimensions as J,renderKatex as K,parseFontSize as L,curveBasis as M,parseGenericTypes as N,setupGraphViewbox as O,getStylesFromArray as P,interpolateToCurve as Q,curveLinear as R,getSubGraphTitleMargins as S,evaluate as T,createText as U,generateId as V,lineBreakRegex as W,__export as X,commonDb_exports as Y,ZERO_WIDTH_SPACE as Z,__name as _,assignWithDepth_default as a,arrayEach as a$,lighten as a0,darken as a1,withPath as a2,halfPi as a3,epsilon as a4,tau as a5,cos as a6,sin as a7,min as a8,abs$1 as a9,isUndefined$2 as aA,baseRest as aB,baseFlatten as aC,isArrayLikeObject as aD,constant$5 as aE,isFunction$2 as aF,keys as aG,isEmpty$1 as aH,computeDimensionOfText as aI,array as aJ,commonjsGlobal as aK,getDefaultExportFromCjs as aL,unknownIcon as aM,registerIconPacks as aN,getIconSVG as aO,toNumber$2 as aP,isIterateeCall as aQ,keysIn as aR,eq$1 as aS,isArrayLike$2 as aT,baseIteratee as aU,baseFindIndex as aV,isArray$1 as aW,arrayMap as aX,isSymbol as aY,identity$1 as aZ,baseFor as a_,pi$1 as aa,sqrt as ab,atan2 as ac,constant$2 as ad,asin as ae,acos as af,max$1 as ag,clone$2 as ah,Utils as ai,Color$1 as aj,getLineFunctionsWithOffset as ak,replaceIconSubstring as al,decodeEntities as am,global$1 as an,markers_default as ao,clear3 as ap,clear2 as aq,clear as ar,updateNodeBounds as as,setNodeElem as at,insertNode as au,positionNode as av,insertCluster as aw,insertEdge as ax,positionEdgeLabel as ay,insertEdgeLabel as az,getAccDescription as b,arrayFilter as b0,hasPath as b1,Set$1 as b2,setToArray as b3,SetCache as b4,cacheHas as b5,define$1 as b6,extend$2 as b7,Rgb as b8,Color as b9,arraySome as bA,isObject$4 as bB,__vitePreload as bC,rgbConvert as ba,nogamma as bb,hue as bc,dayjs2 as bd,constant$3 as be,interpolateNumber as bf,color as bg,interpolateRgb as bh,interpolateString as bi,baseAssignValue as bj,baseGet as bk,baseUnary as bl,toString$4 as bm,assignValue as bn,flatten as bo,pick as bp,cloneDeep$1 as bq,merge$4 as br,createAssigner as bs,isPrototype as bt,copyObject as bu,isObjectLike$1 as bv,baseGetTag as bw,nodeUtil as bx,getAllKeysIn as by,basePickBy as bz,setAccDescription as c,getConfig2 as d,common_default as e,calculateTextHeight as f,getAccTitle as g,calculateTextWidth as h,sanitizeText as i,select as j,configureSvgSize as k,log$1 as l,sanitizeUrl_1 as m,setConfig2 as n,defaultConfig2 as o,setDiagramTitle as p,getDiagramTitle as q,clear$1 as r,setAccTitle as s,getEdgeId as t,utils_default as u,getRegisteredLayoutAlgorithm as v,wrapLabel as w,render$1 as x,rgba$1 as y,defaultConfig_default as z}; + `;return new Promise((resolve,reject)=>{const exportObj={content,file,util:{axios:service,CryptoJS,OSS,COS,Buffer:Buffer$1,uuidv4:v4,qiniu,tokenTools,getDir,getDateFilename},okCb:resolve,errCb:reject};eval(str)(exportObj).catch(Ra=>{console.error(Ra),reject(Ra)})})}function fileUpload(Ra,qa){const td=localStorage.getItem("imgHost");switch(td||localStorage.setItem("imgHost","default"),td){case"aliOSS":return aliOSSFileUpload(qa);case"minio":return minioFileUpload(Ra,qa.name);case"txCOS":return txCOSFileUpload(qa);case"qiniu":return qiniuUpload(qa);case"gitee":return giteeUpload(Ra,qa.name);case"github":return ghFileUpload(Ra,qa.name);case"formCustom":return formCustomUpload(Ra,qa);default:return ghFileUpload(Ra,qa.name)}}const fileApi={fileUpload},_hoisted_1={class:"container-main flex-1"},_hoisted_2={class:"preview border shadow-xl"},_hoisted_3=["innerHTML"],_hoisted_4={key:0,class:"loading-mask"},_sfc_main$1=defineComponent({__name:"CodemirrorEditor",setup(Ra){const qa=useStore(),td=useDisplayStore(),{isDark:rd,output:nd,editor:ad,editorContent:sd}=storeToRefs(qa),{isShowCssEditor:ud}=storeToRefs(td),{editorRefresh:cd,exportEditorContent2HTML:dd,exportEditorContent2MD:pd,formatContent:fd,importMarkdownContent:Td,resetStyleConfirm:Ad}=qa,{toggleShowInsertFormDialog:Sd,toggleShowUploadImgDialog:Dd}=td,Ld=ref$1(!1),Rd=ref$1(),Od=ref$1(null);function Md(){const Bf=Vf=>{let Pf,If;clearTimeout(Rd.value),Vf==="preview"?(Pf=Od.value.$el,If=document.querySelector(".CodeMirror-scroll"),ad.value.off("scroll",Yf),Rd.value=setTimeout(()=>{ad.value.on("scroll",Yf)},300)):(Pf=document.querySelector(".CodeMirror-scroll"),If=Od.value.$el,If.removeEventListener("scroll",eh,!1),Rd.value=setTimeout(()=>{If.addEventListener("scroll",eh,!1)},300));const Zf=Pf.scrollTop/(Pf.scrollHeight-Pf.offsetHeight)*(If.scrollHeight-If.offsetHeight);If.scrollTo(0,Zf)};function Yf(){Bf("editor")}function eh(){Bf("preview")}Od.value.$el.addEventListener("scroll",eh,!1),ad.value.on("scroll",Yf)}onMounted(()=>{setTimeout(()=>{Md()},300)});function jd(){cd()}const Ud=ref$1(!1),Hd=ref$1(!1);function zd(){Hd.value=!0,Ud.value=!0}function Zd(){Ud.value=!1,setTimeout(()=>{Hd.value=!1},800)}function Wd(Bf){const Yf=checkImage(Bf);if(!Yf.ok)return ElMessage.error(Yf.msg),!1;const eh=localStorage.getItem("imgHost")||"default";localStorage.setItem("imgHost",eh);const Vf=localStorage.getItem(`${eh}Config`);return eh==="default"||Vf?!0:(ElMessage.error(`请先配置 ${eh} 图床参数`),!1)}function Qd(Bf){if(!Bf){ElMessage.error("上传图片未知异常");return}Dd(!1);const Yf=ad.value.getCursor(),eh=`![](${Bf})`;toRaw(qa.editor).replaceSelection(` +${eh} +`,Yf),ElMessage.success("图片上传成功")}function Jd(Bf,Yf){Ld.value=!0,toBase64$1(Bf).then(eh=>fileApi.fileUpload(eh,Bf)).then(eh=>{Yf?Yf(eh):Qd(eh)}).catch(eh=>{ElMessage.error(eh.message)}).finally(()=>{Ld.value=!1})}const hf=ref$1();watch(rd,()=>{var Yf,eh;const Bf=rd.value?"darcula":"xq-light";(eh=(Yf=toRaw(ad.value))==null?void 0:Yf.setOption)==null||eh.call(Yf,"theme",Bf)});function bf(){const Bf=document.querySelector("#editor");Bf.value||(Bf.value=sd.value),ad.value=CodeMirror.fromTextArea(Bf,{mode:"text/x-markdown",theme:rd.value?"darcula":"xq-light",lineNumbers:!1,lineWrapping:!0,styleActiveLine:!0,autoCloseBrackets:!0,extraKeys:{[`${shiftKey}-${altKey}-F`]:function(eh){formatDoc(eh.getValue()).then(Vf=>{eh.setValue(Vf)})},[`${ctrlKey}-B`]:function(eh){const Vf=eh.getSelection();eh.replaceSelection(`**${Vf}**`)},[`${ctrlKey}-I`]:function(eh){const Vf=eh.getSelection();eh.replaceSelection(`*${Vf}*`)},[`${ctrlKey}-D`]:function(eh){const Vf=eh.getSelection();eh.replaceSelection(`~~${Vf}~~`)},[`${ctrlKey}-K`]:function(eh){const Vf=eh.getSelection();eh.replaceSelection(`[${Vf}]()`)},[`${ctrlKey}-E`]:function(eh){const Vf=eh.getSelection();eh.replaceSelection(`\`${Vf}\``)},[`${ctrlKey}-L`]:function(eh){const Vf=eh.getSelection();eh.replaceSelection(`\`${Vf}\``)}}}),ad.value.on("change",Yf=>{clearTimeout(hf.value),hf.value=setTimeout(()=>{jd(),sd.value=Yf.getValue()},300)}),ad.value.on("paste",(Yf,eh)=>{if(!(!(eh.clipboardData&&eh.clipboardData.items)||Ld.value))for(let Vf=0,Pf=eh.clipboardData.items.length;Vf{const $f=[...Pf.str.matchAll(/!\[(.*?)\]\((.*?)\)/g)||[]].filter(Tf=>Tf),Zf=Pf.path.match(/.+?\//)[0];(await Promise.all($f.map(Tf=>new Promise(gf=>{let[,,Mf]=Tf;Mf=Mf.replace(/^.\//,"");const{file:Gf}=If.find(Qf=>Qf.path===`${Zf}${Mf}`)||{};Jd(Gf,Qf=>{gf({matchStr:Mf,url:Qf})})})))).forEach(Tf=>{Pf.str=Pf.str.replace(`](./${Tf.matchStr})`,`](${Tf.url})`).replace(`](${Tf.matchStr})`,`](${Tf.url})`)}),ad.value.setValue(Pf.str)};Bf.ondragover=Pf=>Pf.preventDefault(),Bf.ondrop=async Pf=>{Pf.preventDefault();for(const If of Pf.dataTransfer.items)If.getAsFileSystemHandle().then(async $f=>{if($f.kind==="directory"){const Zf=await Vf($f),Kf=await eh({list:Zf});Yf({md:Kf,list:Zf})}else{const Zf=await $f.getFile();console.log("file",Zf)}})};async function eh({list:Pf}){return new Promise(If=>{const{path:$f,file:Zf}=Pf.find(Tf=>Tf.path.match(/\.md$/)),Kf=new FileReader;Kf.readAsText(Zf,"UTF-8"),Kf.onload=Tf=>{If({str:Tf.target.result,file:Zf,path:$f})}})}async function Vf(Pf){const If=[];let $f="";try{const Zf=[Pf];for(const Kf of Zf){$f+=`${Kf.name}/`;for await(const[,Tf]of Kf)Tf.kind==="file"?If.push({path:$f+Tf.name,file:await Tf.getFile()}):(If.push({path:`${$f+Tf.name}/`}),Zf.push(Tf))}}catch(Zf){console.error(Zf)}return If}}return onMounted(()=>{bf(),jd(),xf()}),(Bf,Yf)=>{const eh=ElRow;return openBlock(),createElementBlock("div",{ref_key:"container",ref:Ef,class:"container flex flex-col"},[createVNode(EditorHeader,{onAddFormat:_f,onFormatContent:unref(fd),onStartCopy:zd,onEndCopy:Zd},null,8,["onFormatContent"]),createBaseVNode("main",_hoisted_1,[createVNode(eh,{class:"container-main-section h-full border-1"},{default:withCtx(()=>[createVNode(unref(ElCol),{ref_key:"codeMirrorWrapper",ref:vf,span:unref(ud)?8:12,class:normalizeClass(["codeMirror-wrapper border-r-1",{"order-1":!unref(qa).isEditOnLeft}])},{default:withCtx(()=>[createVNode(unref(_sfc_main$7),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$2),null,{default:withCtx(()=>Yf[7]||(Yf[7]=[createBaseVNode("textarea",{id:"editor",type:"textarea",placeholder:"Your markdown text here."},null,-1)])),_:1}),createVNode(unref(_sfc_main$6),{class:"w-64"},{default:withCtx(()=>[createVNode(unref(_sfc_main$5),{inset:"",onClick:Yf[0]||(Yf[0]=Vf=>unref(Dd)())},{default:withCtx(()=>Yf[8]||(Yf[8]=[createTextVNode(" 上传图片 ")])),_:1}),createVNode(unref(_sfc_main$5),{inset:"",onClick:Yf[1]||(Yf[1]=Vf=>unref(Sd)())},{default:withCtx(()=>Yf[9]||(Yf[9]=[createTextVNode(" 插入表格 ")])),_:1}),createVNode(unref(_sfc_main$5),{inset:"",onClick:Yf[2]||(Yf[2]=Vf=>unref(Ad)())},{default:withCtx(()=>Yf[10]||(Yf[10]=[createTextVNode(" 恢复默认样式 ")])),_:1}),createVNode(unref(_sfc_main$4)),createVNode(unref(_sfc_main$5),{inset:"",onClick:Yf[3]||(Yf[3]=Vf=>unref(Td)())},{default:withCtx(()=>Yf[11]||(Yf[11]=[createTextVNode(" 导入 .md 文档 ")])),_:1}),createVNode(unref(_sfc_main$5),{inset:"",onClick:Yf[4]||(Yf[4]=Vf=>unref(pd)())},{default:withCtx(()=>Yf[12]||(Yf[12]=[createTextVNode(" 导出 .md 文档 ")])),_:1}),createVNode(unref(_sfc_main$5),{inset:"",onClick:Yf[5]||(Yf[5]=Vf=>unref(dd)())},{default:withCtx(()=>Yf[13]||(Yf[13]=[createTextVNode(" 导出 .html ")])),_:1}),createVNode(unref(_sfc_main$5),{inset:"",onClick:Yf[6]||(Yf[6]=Vf=>unref(fd)())},{default:withCtx(()=>[Yf[14]||(Yf[14]=createTextVNode(" 格式化 ")),createVNode(unref(_sfc_main$3),null,{default:withCtx(()=>[createTextVNode(toDisplayString(unref(altSign))+" + "+toDisplayString(unref(shiftSign))+" + F",1)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["span","class"]),createVNode(unref(ElCol),{id:"preview",ref_key:"preview",ref:Od,span:unref(ud)?8:12,class:"preview-wrapper p-5"},{default:withCtx(()=>[createBaseVNode("div",{id:"output-wrapper",class:normalizeClass({output_night:!Ud.value})},[createBaseVNode("div",_hoisted_2,[createBaseVNode("section",{id:"output",innerHTML:unref(nd)},null,8,_hoisted_3),Hd.value?(openBlock(),createElementBlock("div",_hoisted_4,Yf[15]||(Yf[15]=[createBaseVNode("div",{class:"loading-mask-box"},[createBaseVNode("div",{class:"loading__img"}),createBaseVNode("span",null,"正在生成")],-1)]))):createCommentVNode("",!0)])],2)]),_:1},8,["span"]),createVNode(CssEditor)]),_:1})]),createVNode(UploadImgDialog,{onUploadImage:Jd}),createVNode(InsertFormDialog),createVNode(RunLoading)],512)}}}),CodemirrorEditor=_export_sfc(_sfc_main$1,[["__scopeId","data-v-9030b4b2"]]),_sfc_main=defineComponent({__name:"App",setup(Ra){return(qa,td)=>(openBlock(),createBlock(CodemirrorEditor))}}),ElementPlus={install(Ra){Ra.config.globalProperties.$loading=ElLoading.service,Ra.config.globalProperties.$message=ElMessage;for(const[qa,td]of Object.entries(ElementPlusIconsVue))Ra.component(`ElIcon${qa}`,td)}};var css={exports:{}},hasRequiredCss;function requireCss(){return hasRequiredCss||(hasRequiredCss=1,function(Ra,qa){(function(td){td(requireCodemirror())})(function(td){td.defineMode("css",function(Qd,Jd){var hf=Jd.inline;Jd.propertyKeywords||(Jd=td.resolveMode("text/css"));var bf=Qd.indentUnit,Ef=Jd.tokenHooks,_f=Jd.documentTypes||{},vf=Jd.mediaTypes||{},xf=Jd.mediaFeatures||{},Bf=Jd.mediaValueKeywords||{},Yf=Jd.propertyKeywords||{},eh=Jd.nonStandardPropertyKeywords||{},Vf=Jd.fontProperties||{},Pf=Jd.counterDescriptors||{},If=Jd.colorKeywords||{},$f=Jd.valueKeywords||{},Zf=Jd.allowNested,Kf=Jd.lineComment,Tf=Jd.supportsAtComponent===!0,gf=Qd.highlightNonStandardPropertyKeywords!==!1,Mf,Gf;function Qf(ih,wh){return Mf=wh,ih}function Uf(ih,wh){var hh=ih.next();if(Ef[hh]){var Th=Ef[hh](ih,wh);if(Th!==!1)return Th}if(hh=="@")return ih.eatWhile(/[\w\\\-]/),Qf("def",ih.current());if(hh=="="||(hh=="~"||hh=="|")&&ih.eat("="))return Qf(null,"compare");if(hh=='"'||hh=="'")return wh.tokenize=Df(hh),wh.tokenize(ih,wh);if(hh=="#")return ih.eatWhile(/[\w\\\-]/),Qf("atom","hash");if(hh=="!")return ih.match(/^\s*\w*/),Qf("keyword","important");if(/\d/.test(hh)||hh=="."&&ih.eat(/\d/))return ih.eatWhile(/[\w.%]/),Qf("number","unit");if(hh==="-"){if(/[\d.]/.test(ih.peek()))return ih.eatWhile(/[\w.%]/),Qf("number","unit");if(ih.match(/^-[\w\\\-]*/))return ih.eatWhile(/[\w\\\-]/),ih.match(/^\s*:/,!1)?Qf("variable-2","variable-definition"):Qf("variable-2","variable");if(ih.match(/^\w+-/))return Qf("meta","meta")}else return/[,+>*\/]/.test(hh)?Qf(null,"select-op"):hh=="."&&ih.match(/^-?[_a-z][_a-z0-9-]*/i)?Qf("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(hh)?Qf(null,hh):ih.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(ih.current())&&(wh.tokenize=Xf),Qf("variable callee","variable")):/[\w\\\-]/.test(hh)?(ih.eatWhile(/[\w\\\-]/),Qf("property","word")):Qf(null,null)}function Df(ih){return function(wh,hh){for(var Th=!1,Vh;(Vh=wh.next())!=null;){if(Vh==ih&&!Th){ih==")"&&wh.backUp(1);break}Th=!Th&&Vh=="\\"}return(Vh==ih||!Th&&ih!=")")&&(hh.tokenize=null),Qf("string","string")}}function Xf(ih,wh){return ih.next(),ih.match(/^\s*[\"\')]/,!1)?wh.tokenize=null:wh.tokenize=Df(")"),Qf(null,"(")}function dh(ih,wh,hh){this.type=ih,this.indent=wh,this.prev=hh}function qf(ih,wh,hh,Th){return ih.context=new dh(hh,wh.indentation()+(Th===!1?0:bf),ih.context),hh}function wf(ih){return ih.context.prev&&(ih.context=ih.context.prev),ih.context.type}function Rf(ih,wh,hh){return _h[hh.context.type](ih,wh,hh)}function jf(ih,wh,hh,Th){for(var Vh=Th||1;Vh>0;Vh--)hh.context=hh.context.prev;return Rf(ih,wh,hh)}function lh(ih){var wh=ih.current().toLowerCase();$f.hasOwnProperty(wh)?Gf="atom":If.hasOwnProperty(wh)?Gf="keyword":Gf="variable"}var _h={};return _h.top=function(ih,wh,hh){if(ih=="{")return qf(hh,wh,"block");if(ih=="}"&&hh.context.prev)return wf(hh);if(Tf&&/@component/i.test(ih))return qf(hh,wh,"atComponentBlock");if(/^@(-moz-)?document$/i.test(ih))return qf(hh,wh,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(ih))return qf(hh,wh,"atBlock");if(/^@(font-face|counter-style)/i.test(ih))return hh.stateArg=ih,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(ih))return"keyframes";if(ih&&ih.charAt(0)=="@")return qf(hh,wh,"at");if(ih=="hash")Gf="builtin";else if(ih=="word")Gf="tag";else{if(ih=="variable-definition")return"maybeprop";if(ih=="interpolation")return qf(hh,wh,"interpolation");if(ih==":")return"pseudo";if(Zf&&ih=="(")return qf(hh,wh,"parens")}return hh.context.type},_h.block=function(ih,wh,hh){if(ih=="word"){var Th=wh.current().toLowerCase();return Yf.hasOwnProperty(Th)?(Gf="property","maybeprop"):eh.hasOwnProperty(Th)?(Gf=gf?"string-2":"property","maybeprop"):Zf?(Gf=wh.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(Gf+=" error","maybeprop")}else return ih=="meta"?"block":!Zf&&(ih=="hash"||ih=="qualifier")?(Gf="error","block"):_h.top(ih,wh,hh)},_h.maybeprop=function(ih,wh,hh){return ih==":"?qf(hh,wh,"prop"):Rf(ih,wh,hh)},_h.prop=function(ih,wh,hh){if(ih==";")return wf(hh);if(ih=="{"&&Zf)return qf(hh,wh,"propBlock");if(ih=="}"||ih=="{")return jf(ih,wh,hh);if(ih=="(")return qf(hh,wh,"parens");if(ih=="hash"&&!/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(wh.current()))Gf+=" error";else if(ih=="word")lh(wh);else if(ih=="interpolation")return qf(hh,wh,"interpolation");return"prop"},_h.propBlock=function(ih,wh,hh){return ih=="}"?wf(hh):ih=="word"?(Gf="property","maybeprop"):hh.context.type},_h.parens=function(ih,wh,hh){return ih=="{"||ih=="}"?jf(ih,wh,hh):ih==")"?wf(hh):ih=="("?qf(hh,wh,"parens"):ih=="interpolation"?qf(hh,wh,"interpolation"):(ih=="word"&&lh(wh),"parens")},_h.pseudo=function(ih,wh,hh){return ih=="meta"?"pseudo":ih=="word"?(Gf="variable-3",hh.context.type):Rf(ih,wh,hh)},_h.documentTypes=function(ih,wh,hh){return ih=="word"&&_f.hasOwnProperty(wh.current())?(Gf="tag",hh.context.type):_h.atBlock(ih,wh,hh)},_h.atBlock=function(ih,wh,hh){if(ih=="(")return qf(hh,wh,"atBlock_parens");if(ih=="}"||ih==";")return jf(ih,wh,hh);if(ih=="{")return wf(hh)&&qf(hh,wh,Zf?"block":"top");if(ih=="interpolation")return qf(hh,wh,"interpolation");if(ih=="word"){var Th=wh.current().toLowerCase();Th=="only"||Th=="not"||Th=="and"||Th=="or"?Gf="keyword":vf.hasOwnProperty(Th)?Gf="attribute":xf.hasOwnProperty(Th)?Gf="property":Bf.hasOwnProperty(Th)?Gf="keyword":Yf.hasOwnProperty(Th)?Gf="property":eh.hasOwnProperty(Th)?Gf=gf?"string-2":"property":$f.hasOwnProperty(Th)?Gf="atom":If.hasOwnProperty(Th)?Gf="keyword":Gf="error"}return hh.context.type},_h.atComponentBlock=function(ih,wh,hh){return ih=="}"?jf(ih,wh,hh):ih=="{"?wf(hh)&&qf(hh,wh,Zf?"block":"top",!1):(ih=="word"&&(Gf="error"),hh.context.type)},_h.atBlock_parens=function(ih,wh,hh){return ih==")"?wf(hh):ih=="{"||ih=="}"?jf(ih,wh,hh,2):_h.atBlock(ih,wh,hh)},_h.restricted_atBlock_before=function(ih,wh,hh){return ih=="{"?qf(hh,wh,"restricted_atBlock"):ih=="word"&&hh.stateArg=="@counter-style"?(Gf="variable","restricted_atBlock_before"):Rf(ih,wh,hh)},_h.restricted_atBlock=function(ih,wh,hh){return ih=="}"?(hh.stateArg=null,wf(hh)):ih=="word"?(hh.stateArg=="@font-face"&&!Vf.hasOwnProperty(wh.current().toLowerCase())||hh.stateArg=="@counter-style"&&!Pf.hasOwnProperty(wh.current().toLowerCase())?Gf="error":Gf="property","maybeprop"):"restricted_atBlock"},_h.keyframes=function(ih,wh,hh){return ih=="word"?(Gf="variable","keyframes"):ih=="{"?qf(hh,wh,"top"):Rf(ih,wh,hh)},_h.at=function(ih,wh,hh){return ih==";"?wf(hh):ih=="{"||ih=="}"?jf(ih,wh,hh):(ih=="word"?Gf="tag":ih=="hash"&&(Gf="builtin"),"at")},_h.interpolation=function(ih,wh,hh){return ih=="}"?wf(hh):ih=="{"||ih==";"?jf(ih,wh,hh):(ih=="word"?Gf="variable":ih!="variable"&&ih!="("&&ih!=")"&&(Gf="error"),"interpolation")},{startState:function(ih){return{tokenize:null,state:hf?"block":"top",stateArg:null,context:new dh(hf?"block":"top",ih||0,null)}},token:function(ih,wh){if(!wh.tokenize&&ih.eatSpace())return null;var hh=(wh.tokenize||Uf)(ih,wh);return hh&&typeof hh=="object"&&(Mf=hh[1],hh=hh[0]),Gf=hh,Mf!="comment"&&(wh.state=_h[wh.state](Mf,ih,wh)),Gf},indent:function(ih,wh){var hh=ih.context,Th=wh&&wh.charAt(0),Vh=hh.indent;return hh.type=="prop"&&(Th=="}"||Th==")")&&(hh=hh.prev),hh.prev&&(Th=="}"&&(hh.type=="block"||hh.type=="top"||hh.type=="interpolation"||hh.type=="restricted_atBlock")?(hh=hh.prev,Vh=hh.indent):(Th==")"&&(hh.type=="parens"||hh.type=="atBlock_parens")||Th=="{"&&(hh.type=="at"||hh.type=="atBlock"))&&(Vh=Math.max(0,hh.indent-bf))),Vh},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:Kf,fold:"brace"}});function rd(Qd){for(var Jd={},hf=0;hf")):null:_f.match("--")?xf(Ld("comment","-->")):_f.match("DOCTYPE",!0,!0)?(_f.eatWhile(/[\w\._\-]/),xf(Rd(1))):null:_f.eat("?")?(_f.eatWhile(/[\w\._\-]/),vf.tokenize=Ld("meta","?>"),"meta"):(fd=_f.eat("/")?"closeTag":"openTag",vf.tokenize=Sd,"tag bracket");if(Bf=="&"){var Yf;return _f.eat("#")?_f.eat("x")?Yf=_f.eatWhile(/[a-fA-F\d]/)&&_f.eat(";"):Yf=_f.eatWhile(/[\d]/)&&_f.eat(";"):Yf=_f.eatWhile(/[\w\.\-:]/)&&_f.eat(";"),Yf?"atom":"error"}else return _f.eatWhile(/[^&<]/),null}Ad.isInText=!0;function Sd(_f,vf){var xf=_f.next();if(xf==">"||xf=="/"&&_f.eat(">"))return vf.tokenize=Ad,fd=xf==">"?"endTag":"selfcloseTag","tag bracket";if(xf=="=")return fd="equals",null;if(xf=="<"){vf.tokenize=Ad,vf.state=Hd,vf.tagName=vf.tagStart=null;var Bf=vf.tokenize(_f,vf);return Bf?Bf+" tag error":"tag error"}else return/[\'\"]/.test(xf)?(vf.tokenize=Dd(xf),vf.stringStartCol=_f.column(),vf.tokenize(_f,vf)):(_f.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Dd(_f){var vf=function(xf,Bf){for(;!xf.eol();)if(xf.next()==_f){Bf.tokenize=Sd;break}return"string"};return vf.isInAttribute=!0,vf}function Ld(_f,vf){return function(xf,Bf){for(;!xf.eol();){if(xf.match(vf)){Bf.tokenize=Ad;break}xf.next()}return _f}}function Rd(_f){return function(vf,xf){for(var Bf;(Bf=vf.next())!=null;){if(Bf=="<")return xf.tokenize=Rd(_f+1),xf.tokenize(vf,xf);if(Bf==">")if(_f==1){xf.tokenize=Ad;break}else return xf.tokenize=Rd(_f-1),xf.tokenize(vf,xf)}return"meta"}}function Od(_f){return _f&&_f.toLowerCase()}function Md(_f,vf,xf){this.prev=_f.context,this.tagName=vf||"",this.indent=_f.indented,this.startOfLine=xf,(cd.doNotIndent.hasOwnProperty(vf)||_f.context&&_f.context.noIndent)&&(this.noIndent=!0)}function jd(_f){_f.context&&(_f.context=_f.context.prev)}function Ud(_f,vf){for(var xf;;){if(!_f.context||(xf=_f.context.tagName,!cd.contextGrabbers.hasOwnProperty(Od(xf))||!cd.contextGrabbers[Od(xf)].hasOwnProperty(Od(vf))))return;jd(_f)}}function Hd(_f,vf,xf){return _f=="openTag"?(xf.tagStart=vf.column(),zd):_f=="closeTag"?Zd:Hd}function zd(_f,vf,xf){return _f=="word"?(xf.tagName=vf.current(),Td="tag",Jd):cd.allowMissingTagName&&_f=="endTag"?(Td="tag bracket",Jd(_f,vf,xf)):(Td="error",zd)}function Zd(_f,vf,xf){if(_f=="word"){var Bf=vf.current();return xf.context&&xf.context.tagName!=Bf&&cd.implicitlyClosed.hasOwnProperty(Od(xf.context.tagName))&&jd(xf),xf.context&&xf.context.tagName==Bf||cd.matchClosing===!1?(Td="tag",Wd):(Td="tag error",Qd)}else return cd.allowMissingTagName&&_f=="endTag"?(Td="tag bracket",Wd(_f,vf,xf)):(Td="error",Qd)}function Wd(_f,vf,xf){return _f!="endTag"?(Td="error",Wd):(jd(xf),Hd)}function Qd(_f,vf,xf){return Td="error",Wd(_f,vf,xf)}function Jd(_f,vf,xf){if(_f=="word")return Td="attribute",hf;if(_f=="endTag"||_f=="selfcloseTag"){var Bf=xf.tagName,Yf=xf.tagStart;return xf.tagName=xf.tagStart=null,_f=="selfcloseTag"||cd.autoSelfClosers.hasOwnProperty(Od(Bf))?Ud(xf,Bf):(Ud(xf,Bf),xf.context=new Md(xf,Bf,Yf==xf.indented)),Hd}return Td="error",Jd}function hf(_f,vf,xf){return _f=="equals"?bf:(cd.allowMissing||(Td="error"),Jd(_f,vf,xf))}function bf(_f,vf,xf){return _f=="string"?Ef:_f=="word"&&cd.allowUnquoted?(Td="string",Jd):(Td="error",Jd(_f,vf,xf))}function Ef(_f,vf,xf){return _f=="string"?Ef:Jd(_f,vf,xf)}return{startState:function(_f){var vf={tokenize:Ad,state:Hd,indented:_f||0,tagName:null,tagStart:null,context:null};return _f!=null&&(vf.baseIndent=_f),vf},token:function(_f,vf){if(!vf.tagName&&_f.sol()&&(vf.indented=_f.indentation()),_f.eatSpace())return null;fd=null;var xf=vf.tokenize(_f,vf);return(xf||fd)&&xf!="comment"&&(Td=null,vf.state=vf.state(fd||xf,_f,vf),Td&&(xf=Td=="error"?xf+" error":Td)),xf},indent:function(_f,vf,xf){var Bf=_f.context;if(_f.tokenize.isInAttribute)return _f.tagStart==_f.indented?_f.stringStartCol+1:_f.indented+ud;if(Bf&&Bf.noIndent)return td.Pass;if(_f.tokenize!=Sd&&_f.tokenize!=Ad)return xf?xf.match(/^(\s*)/)[0].length:0;if(_f.tagName)return cd.multilineTagIndentPastTag!==!1?_f.tagStart+_f.tagName.length+2:_f.tagStart+ud*(cd.multilineTagIndentFactor||1);if(cd.alignCDATA&&/$/,blockCommentStart:"",configuration:cd.htmlMode?"html":"xml",helperType:cd.htmlMode?"html":"xml",skipAttribute:function(_f){_f.state==bf&&(_f.state=Jd)},xmlCurrentTag:function(_f){return _f.tagName?{name:_f.tagName,close:_f.type=="closeTag"}:null},xmlCurrentContext:function(_f){for(var vf=[],xf=_f.context;xf;xf=xf.prev)vf.push(xf.tagName);return vf.reverse()}}}),td.defineMIME("text/xml","xml"),td.defineMIME("application/xml","xml"),td.mimeModes.hasOwnProperty("text/html")||td.defineMIME("text/html",{name:"xml",htmlMode:!0})})}()),xml.exports}var meta={exports:{}},hasRequiredMeta;function requireMeta(){return hasRequiredMeta||(hasRequiredMeta=1,function(Ra,qa){(function(td){td(requireCodemirror())})(function(td){td.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy","cbl"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded JavaScript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"],alias:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var rd=0;rd-1&&ad.substring(cd+1,ad.length);if(dd)return td.findModeByExtension(dd)},td.findModeByName=function(ad){ad=ad.toLowerCase();for(var sd=0;sd` "'(~:]+/,Ld=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,Rd=/^\s*\[[^\]]+?\]:.*$/,Od=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,Md=" ";function jd(Pf,If,$f){return If.f=If.inline=$f,$f(Pf,If)}function Ud(Pf,If,$f){return If.f=If.block=$f,$f(Pf,If)}function Hd(Pf){return!Pf||!/\S/.test(Pf.string)}function zd(Pf){if(Pf.linkTitle=!1,Pf.linkHref=!1,Pf.linkText=!1,Pf.em=!1,Pf.strong=!1,Pf.strikethrough=!1,Pf.quote=0,Pf.indentedCode=!1,Pf.f==Wd){var If=sd;if(!If){var $f=td.innerMode(ad,Pf.htmlState);If=$f.mode.name=="xml"&&$f.state.tagStart===null&&!$f.state.context&&$f.state.tokenize.isInText}If&&(Pf.f=bf,Pf.block=Zd,Pf.htmlState=null)}return Pf.trailingSpace=0,Pf.trailingSpaceNewLine=!1,Pf.prevLine=Pf.thisLine,Pf.thisLine={stream:null},null}function Zd(Pf,If){var $f=Pf.column()===If.indentation,Zf=Hd(If.prevLine.stream),Kf=If.indentedCode,Tf=If.prevLine.hr,gf=If.list!==!1,Mf=(If.listStack[If.listStack.length-1]||0)+3;If.indentedCode=!1;var Gf=If.indentation;if(If.indentationDiff===null&&(If.indentationDiff=If.indentation,gf)){for(If.list=null;Gf=4&&(Kf||If.prevLine.fencedCodeEnd||If.prevLine.header||Zf))return Pf.skipToEnd(),If.indentedCode=!0,cd.code;if(Pf.eatSpace())return null;if($f&&If.indentation<=Mf&&(Df=Pf.match(Ad))&&Df[1].length<=6)return If.quote=0,If.header=Df[1].length,If.thisLine.header=!0,nd.highlightFormatting&&(If.formatting="header"),If.f=If.inline,Jd(If);if(If.indentation<=Mf&&Pf.eat(">"))return If.quote=$f?1:If.quote+1,nd.highlightFormatting&&(If.formatting="quote"),Pf.eatSpace(),Jd(If);if(!Uf&&!If.setext&&$f&&If.indentation<=Mf&&(Df=Pf.match(fd))){var Xf=Df[1]?"ol":"ul";return If.indentation=Gf+Pf.current().length,If.list=!0,If.quote=0,If.listStack.push(If.indentation),If.em=!1,If.strong=!1,If.code=!1,If.strikethrough=!1,nd.taskLists&&Pf.match(Td,!1)&&(If.taskList=!0),If.f=If.inline,nd.highlightFormatting&&(If.formatting=["list","list-"+Xf]),Jd(If)}else{if($f&&If.indentation<=Mf&&(Df=Pf.match(Ld,!0)))return If.quote=0,If.fencedEndRE=new RegExp(Df[1]+"+ *$"),If.localMode=nd.fencedCodeBlockHighlighting&&ud(Df[2]||nd.fencedCodeBlockDefaultMode),If.localMode&&(If.localState=td.startState(If.localMode)),If.f=If.block=Qd,nd.highlightFormatting&&(If.formatting="code-block"),If.code=-1,Jd(If);if(If.setext||(!Qf||!gf)&&!If.quote&&If.list===!1&&!If.code&&!Uf&&!Rd.test(Pf.string)&&(Df=Pf.lookAhead(1))&&(Df=Df.match(Sd)))return If.setext?(If.header=If.setext,If.setext=0,Pf.skipToEnd(),nd.highlightFormatting&&(If.formatting="header")):(If.header=Df[0].charAt(0)=="="?1:2,If.setext=If.header),If.thisLine.header=!0,If.f=If.inline,Jd(If);if(Uf)return Pf.skipToEnd(),If.hr=!0,If.thisLine.hr=!0,cd.hr;if(Pf.peek()==="[")return jd(Pf,If,Bf)}return jd(Pf,If,If.inline)}function Wd(Pf,If){var $f=ad.token(Pf,If.htmlState);if(!sd){var Zf=td.innerMode(ad,If.htmlState);(Zf.mode.name=="xml"&&Zf.state.tagStart===null&&!Zf.state.context&&Zf.state.tokenize.isInText||If.md_inside&&Pf.current().indexOf(">")>-1)&&(If.f=bf,If.block=Zd,If.htmlState=null)}return $f}function Qd(Pf,If){var $f=If.listStack[If.listStack.length-1]||0,Zf=If.indentation<$f,Kf=$f+3;if(If.fencedEndRE&&If.indentation<=Kf&&(Zf||Pf.match(If.fencedEndRE))){nd.highlightFormatting&&(If.formatting="code-block");var Tf;return Zf||(Tf=Jd(If)),If.localMode=If.localState=null,If.block=Zd,If.f=bf,If.fencedEndRE=null,If.code=0,If.thisLine.fencedCodeEnd=!0,Zf?Ud(Pf,If,If.block):Tf}else return If.localMode?If.localMode.token(Pf,If.localState):(Pf.skipToEnd(),cd.code)}function Jd(Pf){var If=[];if(Pf.formatting){If.push(cd.formatting),typeof Pf.formatting=="string"&&(Pf.formatting=[Pf.formatting]);for(var $f=0;$f=Pf.quote?If.push(cd.formatting+"-"+Pf.formatting[$f]+"-"+Pf.quote):If.push("error"))}if(Pf.taskOpen)return If.push("meta"),If.length?If.join(" "):null;if(Pf.taskClosed)return If.push("property"),If.length?If.join(" "):null;if(Pf.linkHref?If.push(cd.linkHref,"url"):(Pf.strong&&If.push(cd.strong),Pf.em&&If.push(cd.em),Pf.strikethrough&&If.push(cd.strikethrough),Pf.emoji&&If.push(cd.emoji),Pf.linkText&&If.push(cd.linkText),Pf.code&&If.push(cd.code),Pf.image&&If.push(cd.image),Pf.imageAltText&&If.push(cd.imageAltText,"link"),Pf.imageMarker&&If.push(cd.imageMarker)),Pf.header&&If.push(cd.header,cd.header+"-"+Pf.header),Pf.quote&&(If.push(cd.quote),!nd.maxBlockquoteDepth||nd.maxBlockquoteDepth>=Pf.quote?If.push(cd.quote+"-"+Pf.quote):If.push(cd.quote+"-"+nd.maxBlockquoteDepth)),Pf.list!==!1){var Zf=(Pf.listStack.length-1)%3;Zf?Zf===1?If.push(cd.list2):If.push(cd.list3):If.push(cd.list1)}return Pf.trailingSpaceNewLine?If.push("trailing-space-new-line"):Pf.trailingSpace&&If.push("trailing-space-"+(Pf.trailingSpace%2?"a":"b")),If.length?If.join(" "):null}function hf(Pf,If){if(Pf.match(Dd,!0))return Jd(If)}function bf(Pf,If){var $f=If.text(Pf,If);if(typeof $f<"u")return $f;if(If.list)return If.list=null,Jd(If);if(If.taskList){var Zf=Pf.match(Td,!0)[1]===" ";return Zf?If.taskOpen=!0:If.taskClosed=!0,nd.highlightFormatting&&(If.formatting="task"),If.taskList=!1,Jd(If)}if(If.taskOpen=!1,If.taskClosed=!1,If.header&&Pf.match(/^#+$/,!0))return nd.highlightFormatting&&(If.formatting="header"),Jd(If);var Kf=Pf.next();if(If.linkTitle){If.linkTitle=!1;var Tf=Kf;Kf==="("&&(Tf=")"),Tf=(Tf+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var gf="^\\s*(?:[^"+Tf+"\\\\]+|\\\\\\\\|\\\\.)"+Tf;if(Pf.match(new RegExp(gf),!0))return cd.linkHref}if(Kf==="`"){var Mf=If.formatting;nd.highlightFormatting&&(If.formatting="code"),Pf.eatWhile("`");var Gf=Pf.current().length;if(If.code==0&&(!If.quote||Gf==1))return If.code=Gf,Jd(If);if(Gf==If.code){var Qf=Jd(If);return If.code=0,Qf}else return If.formatting=Mf,Jd(If)}else if(If.code)return Jd(If);if(Kf==="\\"&&(Pf.next(),nd.highlightFormatting)){var Uf=Jd(If),Df=cd.formatting+"-escape";return Uf?Uf+" "+Df:Df}if(Kf==="!"&&Pf.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return If.imageMarker=!0,If.image=!0,nd.highlightFormatting&&(If.formatting="image"),Jd(If);if(Kf==="["&&If.imageMarker&&Pf.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return If.imageMarker=!1,If.imageAltText=!0,nd.highlightFormatting&&(If.formatting="image"),Jd(If);if(Kf==="]"&&If.imageAltText){nd.highlightFormatting&&(If.formatting="image");var Uf=Jd(If);return If.imageAltText=!1,If.image=!1,If.inline=If.f=_f,Uf}if(Kf==="["&&!If.image)return If.linkText&&Pf.match(/^.*?\]/)||(If.linkText=!0,nd.highlightFormatting&&(If.formatting="link")),Jd(If);if(Kf==="]"&&If.linkText){nd.highlightFormatting&&(If.formatting="link");var Uf=Jd(If);return If.linkText=!1,If.inline=If.f=Pf.match(/\(.*?\)| ?\[.*?\]/,!1)?_f:bf,Uf}if(Kf==="<"&&Pf.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){If.f=If.inline=Ef,nd.highlightFormatting&&(If.formatting="link");var Uf=Jd(If);return Uf?Uf+=" ":Uf="",Uf+cd.linkInline}if(Kf==="<"&&Pf.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){If.f=If.inline=Ef,nd.highlightFormatting&&(If.formatting="link");var Uf=Jd(If);return Uf?Uf+=" ":Uf="",Uf+cd.linkEmail}if(nd.xml&&Kf==="<"&&Pf.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Xf=Pf.string.indexOf(">",Pf.pos);if(Xf!=-1){var dh=Pf.string.substring(Pf.start,Xf);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(dh)&&(If.md_inside=!0)}return Pf.backUp(1),If.htmlState=td.startState(ad),Ud(Pf,If,Wd)}if(nd.xml&&Kf==="<"&&Pf.match(/^\/\w*?>/))return If.md_inside=!1,"tag";if(Kf==="*"||Kf==="_"){for(var qf=1,wf=Pf.pos==1?" ":Pf.string.charAt(Pf.pos-2);qf<3&&Pf.eat(Kf);)qf++;var Rf=Pf.peek()||" ",jf=!/\s/.test(Rf)&&(!Od.test(Rf)||/\s/.test(wf)||Od.test(wf)),lh=!/\s/.test(wf)&&(!Od.test(wf)||/\s/.test(Rf)||Od.test(Rf)),_h=null,ih=null;if(qf%2&&(!If.em&&jf&&(Kf==="*"||!lh||Od.test(wf))?_h=!0:If.em==Kf&&lh&&(Kf==="*"||!jf||Od.test(Rf))&&(_h=!1)),qf>1&&(!If.strong&&jf&&(Kf==="*"||!lh||Od.test(wf))?ih=!0:If.strong==Kf&&lh&&(Kf==="*"||!jf||Od.test(Rf))&&(ih=!1)),ih!=null||_h!=null){nd.highlightFormatting&&(If.formatting=_h==null?"strong":ih==null?"em":"strong em"),_h===!0&&(If.em=Kf),ih===!0&&(If.strong=Kf);var Qf=Jd(If);return _h===!1&&(If.em=!1),ih===!1&&(If.strong=!1),Qf}}else if(Kf===" "&&(Pf.eat("*")||Pf.eat("_"))){if(Pf.peek()===" ")return Jd(If);Pf.backUp(1)}if(nd.strikethrough){if(Kf==="~"&&Pf.eatWhile(Kf)){if(If.strikethrough){nd.highlightFormatting&&(If.formatting="strikethrough");var Qf=Jd(If);return If.strikethrough=!1,Qf}else if(Pf.match(/^[^\s]/,!1))return If.strikethrough=!0,nd.highlightFormatting&&(If.formatting="strikethrough"),Jd(If)}else if(Kf===" "&&Pf.match("~~",!0)){if(Pf.peek()===" ")return Jd(If);Pf.backUp(2)}}if(nd.emoji&&Kf===":"&&Pf.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){If.emoji=!0,nd.highlightFormatting&&(If.formatting="emoji");var wh=Jd(If);return If.emoji=!1,wh}return Kf===" "&&(Pf.match(/^ +$/,!1)?If.trailingSpace++:If.trailingSpace&&(If.trailingSpaceNewLine=!0)),Jd(If)}function Ef(Pf,If){var $f=Pf.next();if($f===">"){If.f=If.inline=bf,nd.highlightFormatting&&(If.formatting="link");var Zf=Jd(If);return Zf?Zf+=" ":Zf="",Zf+cd.linkInline}return Pf.match(/^[^>]+/,!0),cd.linkInline}function _f(Pf,If){if(Pf.eatSpace())return null;var $f=Pf.next();return $f==="("||$f==="["?(If.f=If.inline=xf($f==="("?")":"]"),nd.highlightFormatting&&(If.formatting="link-string"),If.linkHref=!0,Jd(If)):"error"}var vf={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function xf(Pf){return function(If,$f){var Zf=If.next();if(Zf===Pf){$f.f=$f.inline=bf,nd.highlightFormatting&&($f.formatting="link-string");var Kf=Jd($f);return $f.linkHref=!1,Kf}return If.match(vf[Pf]),$f.linkHref=!0,Jd($f)}}function Bf(Pf,If){return Pf.match(/^([^\]\\]|\\.)*\]:/,!1)?(If.f=Yf,Pf.next(),nd.highlightFormatting&&(If.formatting="link"),If.linkText=!0,Jd(If)):jd(Pf,If,bf)}function Yf(Pf,If){if(Pf.match("]:",!0)){If.f=If.inline=eh,nd.highlightFormatting&&(If.formatting="link");var $f=Jd(If);return If.linkText=!1,$f}return Pf.match(/^([^\]\\]|\\.)+/,!0),cd.linkText}function eh(Pf,If){return Pf.eatSpace()?null:(Pf.match(/^[^\s]+/,!0),Pf.peek()===void 0?If.linkTitle=!0:Pf.match(/^(?:\s+(?:"(?:[^"\\]|\\.)+"|'(?:[^'\\]|\\.)+'|\((?:[^)\\]|\\.)+\)))?/,!0),If.f=If.inline=bf,cd.linkHref+" url")}var Vf={startState:function(){return{f:Zd,prevLine:{stream:null},thisLine:{stream:null},block:Zd,htmlState:null,indentation:0,inline:bf,text:hf,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(Pf){return{f:Pf.f,prevLine:Pf.prevLine,thisLine:Pf.thisLine,block:Pf.block,htmlState:Pf.htmlState&&td.copyState(ad,Pf.htmlState),indentation:Pf.indentation,localMode:Pf.localMode,localState:Pf.localMode?td.copyState(Pf.localMode,Pf.localState):null,inline:Pf.inline,text:Pf.text,formatting:!1,linkText:Pf.linkText,linkTitle:Pf.linkTitle,linkHref:Pf.linkHref,code:Pf.code,em:Pf.em,strong:Pf.strong,strikethrough:Pf.strikethrough,emoji:Pf.emoji,header:Pf.header,setext:Pf.setext,hr:Pf.hr,taskList:Pf.taskList,list:Pf.list,listStack:Pf.listStack.slice(0),quote:Pf.quote,indentedCode:Pf.indentedCode,trailingSpace:Pf.trailingSpace,trailingSpaceNewLine:Pf.trailingSpaceNewLine,md_inside:Pf.md_inside,fencedEndRE:Pf.fencedEndRE}},token:function(Pf,If){if(If.formatting=!1,Pf!=If.thisLine.stream){if(If.header=0,If.hr=!1,Pf.match(/^\s*$/,!0))return zd(If),null;if(If.prevLine=If.thisLine,If.thisLine={stream:Pf},If.taskList=!1,If.trailingSpace=0,If.trailingSpaceNewLine=!1,!If.localState&&(If.f=If.block,If.f!=Wd)){var $f=Pf.match(/^\s*/,!0)[0].replace(/\t/g,Md).length;if(If.indentation=$f,If.indentationDiff=null,$f>0)return null}}return If.f(Pf,If)},innerMode:function(Pf){return Pf.block==Wd?{state:Pf.htmlState,mode:ad}:Pf.localState?{state:Pf.localState,mode:Pf.localMode}:{state:Pf,mode:Vf}},indent:function(Pf,If,$f){return Pf.block==Wd&&ad.indent?ad.indent(Pf.htmlState,If,$f):Pf.localState&&Pf.localMode.indent?Pf.localMode.indent(Pf.localState,If,$f):td.Pass},blankLine:zd,getType:Jd,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Vf},"xml"),td.defineMIME("text/markdown","markdown"),td.defineMIME("text/x-markdown","markdown")})})();(function(Ra,qa){(function(td){td(requireCodemirror())})(function(td){var rd={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},nd=td.Pos;td.defineOption("autoCloseBrackets",!1,function(Rd,Od,Md){Md&&Md!=td.Init&&(Rd.removeKeyMap(sd),Rd.state.closeBrackets=null),Od&&(ud(ad(Od,"pairs")),Rd.state.closeBrackets=Od,Rd.addKeyMap(sd))});function ad(Rd,Od){return Od=="pairs"&&typeof Rd=="string"?Rd:typeof Rd=="object"&&Rd[Od]!=null?Rd[Od]:rd[Od]}var sd={Backspace:pd,Enter:fd};function ud(Rd){for(var Od=0;Od=0;Ud--){var zd=jd[Ud].head;Rd.replaceRange("",nd(zd.line,zd.ch-1),nd(zd.line,zd.ch+1),"+delete")}}function fd(Rd){var Od=dd(Rd),Md=Od&&ad(Od,"explode");if(!Md||Rd.getOption("disableInput"))return td.Pass;for(var jd=Rd.listSelections(),Ud=0;Ud0?{line:zd.head.line,ch:zd.head.ch+Od}:{line:zd.head.line-1};Md.push({anchor:Zd,head:Zd})}Rd.setSelections(Md,Ud)}function Ad(Rd){var Od=td.cmpPos(Rd.anchor,Rd.head)>0;return{anchor:new nd(Rd.anchor.line,Rd.anchor.ch+(Od?-1:1)),head:new nd(Rd.head.line,Rd.head.ch+(Od?1:-1))}}function Sd(Rd,Od){var Md=dd(Rd);if(!Md||Rd.getOption("disableInput"))return td.Pass;var jd=ad(Md,"pairs"),Ud=jd.indexOf(Od);if(Ud==-1)return td.Pass;for(var Hd=ad(Md,"closeBefore"),zd=ad(Md,"triples"),Zd=jd.charAt(Ud+1)==Od,Wd=Rd.listSelections(),Qd=Ud%2==0,Jd,hf=0;hf=0&&Rd.getRange(Ef,nd(Ef.line,Ef.ch+3))==Od+Od+Od?_f="skipThree":_f="skip";else if(Zd&&Ef.ch>1&&zd.indexOf(Od)>=0&&Rd.getRange(nd(Ef.line,Ef.ch-2),Ef)==Od+Od){if(Ef.ch>2&&/\bstring/.test(Rd.getTokenTypeAt(nd(Ef.line,Ef.ch-2))))return td.Pass;_f="addFour"}else if(Zd){var xf=Ef.ch==0?" ":Rd.getRange(nd(Ef.line,Ef.ch-1),Ef);if(!td.isWordChar(vf)&&xf!=Od&&!td.isWordChar(xf))_f="both";else return td.Pass}else if(Qd&&(vf.length===0||/\s/.test(vf)||Hd.indexOf(vf)>-1))_f="both";else return td.Pass;if(!Jd)Jd=_f;else if(Jd!=_f)return td.Pass}var Bf=Ud%2?jd.charAt(Ud-1):Od,Yf=Ud%2?Od:jd.charAt(Ud+1);Rd.operation(function(){if(Jd=="skip")Td(Rd,1);else if(Jd=="skipThree")Td(Rd,3);else if(Jd=="surround"){for(var eh=Rd.getSelections(),Vf=0;Vf",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function sd(Td){return Td&&Td.bracketRegex||/[(){}[\]]/}function ud(Td,Ad,Sd){var Dd=Td.getLineHandle(Ad.line),Ld=Ad.ch-1,Rd=Sd&&Sd.afterCursor;Rd==null&&(Rd=/(^| )cm-fat-cursor($| )/.test(Td.getWrapperElement().className));var Od=sd(Sd),Md=!Rd&&Ld>=0&&Od.test(Dd.text.charAt(Ld))&&ad[Dd.text.charAt(Ld)]||Od.test(Dd.text.charAt(Ld+1))&&ad[Dd.text.charAt(++Ld)];if(!Md)return null;var jd=Md.charAt(1)==">"?1:-1;if(Sd&&Sd.strict&&jd>0!=(Ld==Ad.ch))return null;var Ud=Td.getTokenTypeAt(nd(Ad.line,Ld+1)),Hd=cd(Td,nd(Ad.line,Ld+(jd>0?1:0)),jd,Ud,Sd);return Hd==null?null:{from:nd(Ad.line,Ld),to:Hd&&Hd.pos,match:Hd&&Hd.ch==Md.charAt(0),forward:jd>0}}function cd(Td,Ad,Sd,Dd,Ld){for(var Rd=Ld&&Ld.maxScanLineLength||1e4,Od=Ld&&Ld.maxScanLines||1e3,Md=[],jd=sd(Ld),Ud=Sd>0?Math.min(Ad.line+Od,Td.lastLine()+1):Math.max(Td.firstLine()-1,Ad.line-Od),Hd=Ad.line;Hd!=Ud;Hd+=Sd){var zd=Td.getLine(Hd);if(zd){var Zd=Sd>0?0:zd.length-1,Wd=Sd>0?zd.length:-1;if(!(zd.length>Rd))for(Hd==Ad.line&&(Zd=Ad.ch-(Sd<0?1:0));Zd!=Wd;Zd+=Sd){var Qd=zd.charAt(Zd);if(jd.test(Qd)&&(Dd===void 0||(Td.getTokenTypeAt(nd(Hd,Zd+1))||"")==(Dd||""))){var Jd=ad[Qd];if(Jd&&Jd.charAt(1)==">"==Sd>0)Md.push(Qd);else if(Md.length)Md.pop();else return{pos:nd(Hd,Zd),ch:Qd}}}}}return Hd-Sd==(Sd>0?Td.lastLine():Td.firstLine())?!1:null}function dd(Td,Ad,Sd){for(var Dd=Td.state.matchBrackets.maxHighlightLineLength||1e3,Ld=Sd&&Sd.highlightNonMatching,Rd=[],Od=Td.listSelections(),Md=0;Md1)){if(this.somethingSelected()){if(!Rd.hint.supportsSelection)return;for(var Md=0;Mdzd.clientHeight+1:!1,Mf;setTimeout(function(){Mf=jd.getScrollInfo()});var Gf=Tf.bottom-Kf;if(Gf>0){var Qf=Tf.bottom-Tf.top,Uf=Tf.top-(_f.bottom-_f.top)-2;Kf-Tf.topUf&&(zd.style.height=(Qf=Uf)+"px"),zd.style.top=(xf=_f.top-Qf)+eh+"px",Bf=!1):zd.style.height=Kf-Tf.top-2+"px"}var Df=Tf.right-Zf;if(gf&&(Df+=jd.display.nativeBarWidth),Df>0&&(Tf.right-Tf.left>Zf&&(zd.style.width=Zf-5+"px",Df-=Tf.right-Tf.left-Zf),zd.style.left=(vf=Math.max(_f.left-Df-Yf,0))+"px"),gf)for(var Xf=zd.firstChild;Xf;Xf=Xf.nextSibling)Xf.style.paddingRight=jd.display.nativeBarWidth+"px";if(jd.addKeyMap(this.keyMap=pd(Rd,{moveFocus:function(wf,Rf){Md.changeActive(Md.selectedHint+wf,Rf)},setFocus:function(wf){Md.changeActive(wf)},menuSize:function(){return Md.screenAmount()},length:Wd.length,close:function(){Rd.close()},pick:function(){Md.pick()},data:Od})),Rd.options.closeOnUnfocus){var dh;jd.on("blur",this.onBlur=function(){dh=setTimeout(function(){Rd.close()},100)}),jd.on("focus",this.onFocus=function(){clearTimeout(dh)})}jd.on("scroll",this.onScroll=function(){var wf=jd.getScrollInfo(),Rf=jd.getWrapperElement().getBoundingClientRect();Mf||(Mf=jd.getScrollInfo());var jf=xf+Mf.top-wf.top,lh=jf-(Hd.pageYOffset||(Ud.documentElement||Ud.body).scrollTop);if(Bf||(lh+=zd.offsetHeight),lh<=Rf.top||lh>=Rf.bottom)return Rd.close();zd.style.top=jf+"px",zd.style.left=vf+Mf.left-wf.left+"px"}),td.on(zd,"dblclick",function(wf){var Rf=fd(zd,wf.target||wf.srcElement);Rf&&Rf.hintId!=null&&(Md.changeActive(Rf.hintId),Md.pick())}),td.on(zd,"click",function(wf){var Rf=fd(zd,wf.target||wf.srcElement);Rf&&Rf.hintId!=null&&(Md.changeActive(Rf.hintId),Rd.options.completeOnSingleClick&&Md.pick())}),td.on(zd,"mousedown",function(){setTimeout(function(){jd.focus()},20)});var qf=this.getSelectedHintRange();return(qf.from!==0||qf.to!==0)&&this.scrollToActive(),td.signal(Od,"select",Wd[this.selectedHint],zd.childNodes[this.selectedHint]),!0}Td.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode&&this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var Rd=this.completion.cm.getInputField();Rd.removeAttribute("aria-activedescendant"),Rd.removeAttribute("aria-owns");var Od=this.completion.cm;this.completion.options.closeOnUnfocus&&(Od.off("blur",this.onBlur),Od.off("focus",this.onFocus)),Od.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var Rd=this;this.keyMap={Enter:function(){Rd.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(Rd,Od){if(Rd>=this.data.list.length?Rd=Od?this.data.list.length-1:0:Rd<0&&(Rd=Od?0:this.data.list.length-1),this.selectedHint!=Rd){var Md=this.hints.childNodes[this.selectedHint];Md&&(Md.className=Md.className.replace(" "+nd,""),Md.removeAttribute("aria-selected")),Md=this.hints.childNodes[this.selectedHint=Rd],Md.className+=" "+nd,Md.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",Md.id),this.scrollToActive(),td.signal(this.data,"select",this.data.list[this.selectedHint],Md)}},scrollToActive:function(){var Rd=this.getSelectedHintRange(),Od=this.hints.childNodes[Rd.from],Md=this.hints.childNodes[Rd.to],jd=this.hints.firstChild;Od.offsetTopthis.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=Md.offsetTop+Md.offsetHeight-this.hints.clientHeight+jd.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var Rd=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-Rd),to:Math.min(this.data.list.length-1,this.selectedHint+Rd)}}};function Ad(Rd,Od){if(!Rd.somethingSelected())return Od;for(var Md=[],jd=0;jd0?zd(hf):Qd(Jd+1)})}Qd(0)};return Ud.async=!0,Ud.supportsSelection=!0,Ud}else return(jd=Rd.getHelper(Rd.getCursor(),"hintWords"))?function(Hd){return td.hint.fromList(Hd,{words:jd})}:td.hint.anyword?function(Hd,zd){return td.hint.anyword(Hd,zd)}:function(){}}td.registerHelper("hint","auto",{resolve:Dd}),td.registerHelper("hint","fromList",function(Rd,Od){var Md=Rd.getCursor(),jd=Rd.getTokenAt(Md),Ud,Hd=td.Pos(Md.line,jd.start),zd=Md;jd.start,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};td.defineOption("hintOptions",null)})})();(function(Ra,qa){(function(td){td(requireCodemirror(),requireCss())})(function(td){var rd={active:1,after:1,before:1,checked:1,default:1,disabled:1,empty:1,enabled:1,"first-child":1,"first-letter":1,"first-line":1,"first-of-type":1,focus:1,hover:1,"in-range":1,indeterminate:1,invalid:1,lang:1,"last-child":1,"last-of-type":1,link:1,not:1,"nth-child":1,"nth-last-child":1,"nth-last-of-type":1,"nth-of-type":1,"only-of-type":1,"only-child":1,optional:1,"out-of-range":1,placeholder:1,"read-only":1,"read-write":1,required:1,root:1,selection:1,target:1,valid:1,visited:1};td.registerHelper("hint","css",function(nd){var ad=nd.getCursor(),sd=nd.getTokenAt(ad),ud=td.innerMode(nd.getMode(),sd.state);if(ud.mode.name!="css")return;if(sd.type=="keyword"&&"!important".indexOf(sd.string)==0)return{list:["!important"],from:td.Pos(ad.line,sd.start),to:td.Pos(ad.line,sd.end)};var cd=sd.start,dd=ad.ch,pd=sd.string.slice(0,dd-cd);/[^\w$_-]/.test(pd)&&(pd="",cd=dd=ad.ch);var fd=td.resolveMode("text/css"),Td=[];function Ad(Dd){for(var Ld in Dd)(!pd||Ld.lastIndexOf(pd,0)==0)&&Td.push(Ld)}var Sd=ud.state.state;if(Sd=="pseudo"||sd.type=="variable-3"?Ad(rd):Sd=="block"||Sd=="maybeprop"?Ad(fd.propertyKeywords):Sd=="prop"||Sd=="parens"||Sd=="at"||Sd=="params"?(Ad(fd.valueKeywords),Ad(fd.colorKeywords)):(Sd=="media"||Sd=="media_parens")&&(Ad(fd.mediaTypes),Ad(fd.mediaFeatures)),Td.length)return{list:Td,from:td.Pos(ad.line,cd),to:td.Pos(ad.line,dd)}})})})();const app=createApp(_sfc_main);app.use(createPinia());app.use(ElementPlus);app.mount("#app");export{isDark as $,cleanAndMerge as A,getConfig$1 as B,random as C,setupGraphViewbox2 as D,selectSvgElement as E,version as F,getThemeVariables3 as G,line$1 as H,hasKatex as I,calculateMathMLDimensions as J,renderKatex as K,parseFontSize as L,curveBasis as M,parseGenericTypes as N,setupGraphViewbox as O,getStylesFromArray as P,interpolateToCurve as Q,curveLinear as R,getSubGraphTitleMargins as S,evaluate as T,createText as U,generateId as V,lineBreakRegex as W,__export as X,commonDb_exports as Y,ZERO_WIDTH_SPACE as Z,__name as _,assignWithDepth_default as a,arrayEach as a$,lighten as a0,darken as a1,withPath as a2,halfPi as a3,epsilon as a4,tau as a5,cos as a6,sin as a7,min as a8,abs$1 as a9,isUndefined$2 as aA,baseRest as aB,baseFlatten as aC,isArrayLikeObject as aD,constant$5 as aE,isFunction$2 as aF,keys as aG,isEmpty$1 as aH,computeDimensionOfText as aI,array as aJ,commonjsGlobal as aK,getDefaultExportFromCjs as aL,unknownIcon as aM,registerIconPacks as aN,getIconSVG as aO,toNumber$2 as aP,isIterateeCall as aQ,keysIn as aR,eq$1 as aS,isArrayLike$2 as aT,baseIteratee as aU,baseFindIndex as aV,isArray$1 as aW,arrayMap as aX,isSymbol as aY,identity$1 as aZ,baseFor as a_,pi as aa,sqrt as ab,atan2 as ac,constant$2 as ad,asin as ae,acos as af,max$1 as ag,clone$2 as ah,Utils as ai,Color$1 as aj,getLineFunctionsWithOffset as ak,replaceIconSubstring as al,decodeEntities as am,global$1 as an,markers_default as ao,clear3 as ap,clear2 as aq,clear as ar,updateNodeBounds as as,setNodeElem as at,insertNode as au,positionNode as av,insertCluster as aw,insertEdge as ax,positionEdgeLabel as ay,insertEdgeLabel as az,getAccDescription as b,arrayFilter as b0,hasPath as b1,Set$1 as b2,setToArray as b3,SetCache as b4,cacheHas as b5,define$1 as b6,extend$2 as b7,Rgb as b8,Color as b9,arraySome as bA,isObject$4 as bB,__vitePreload as bC,rgbConvert as ba,nogamma as bb,hue as bc,dayjs2 as bd,constant$3 as be,interpolateNumber as bf,color as bg,interpolateRgb as bh,interpolateString as bi,baseAssignValue as bj,baseGet as bk,baseUnary as bl,toString$4 as bm,assignValue as bn,flatten as bo,pick as bp,cloneDeep$1 as bq,merge$4 as br,createAssigner as bs,isPrototype as bt,copyObject as bu,isObjectLike$1 as bv,baseGetTag as bw,nodeUtil as bx,getAllKeysIn as by,basePickBy as bz,setAccDescription as c,getConfig2 as d,common_default as e,calculateTextHeight as f,getAccTitle as g,calculateTextWidth as h,sanitizeText as i,select as j,configureSvgSize as k,log$1 as l,sanitizeUrl_1 as m,setConfig2 as n,defaultConfig2 as o,setDiagramTitle as p,getDiagramTitle as q,clear$1 as r,setAccTitle as s,getEdgeId as t,utils_default as u,getRegisteredLayoutAlgorithm as v,wrapLabel as w,render$1 as x,rgba$1 as y,defaultConfig_default as z}; diff --git a/assets/infoDiagram-7APDZ6AT-C4BMMmsE.js b/assets/infoDiagram-7APDZ6AT-CeVMP40j.js similarity index 68% rename from assets/infoDiagram-7APDZ6AT-C4BMMmsE.js rename to assets/infoDiagram-7APDZ6AT-CeVMP40j.js index f9bd8eb..7363e11 100644 --- a/assets/infoDiagram-7APDZ6AT-C4BMMmsE.js +++ b/assets/infoDiagram-7APDZ6AT-CeVMP40j.js @@ -1,2 +1,2 @@ -import{_ as e,l as s,E as n,k as i,F as p}from"./index-DqL3MUN2.js";import{p as g}from"./gitGraph-YCYPL57B-DANCyTsA.js";import"./min-CjiScnR7.js";import"./_baseUniq-B1Flybha.js";var v={parse:e(async r=>{const a=await g("info",r);s.debug(a)},"parse")},d={version:p},m=e(()=>d.version,"getVersion"),c={getVersion:m},l=e((r,a,o)=>{s.debug(`rendering info diagram +import{_ as e,l as s,E as n,k as i,F as p}from"./index-BmyXM-jo.js";import{p as g}from"./gitGraph-YCYPL57B-Bmt_-sZ3.js";import"./min-CuKIA37g.js";import"./_baseUniq-BdggiAxO.js";var v={parse:e(async r=>{const a=await g("info",r);s.debug(a)},"parse")},d={version:p},m=e(()=>d.version,"getVersion"),c={getVersion:m},l=e((r,a,o)=>{s.debug(`rendering info diagram `+r);const t=n(a);i(t,100,400,!0),t.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${o}`)},"draw"),f={draw:l},y={parser:v,db:c,renderer:f};export{y as diagram}; diff --git a/assets/journeyDiagram-G5LC7W2K-Df6aXyG-.js b/assets/journeyDiagram-G5LC7W2K-CzCm-6ra.js similarity index 98% rename from assets/journeyDiagram-G5LC7W2K-Df6aXyG-.js rename to assets/journeyDiagram-G5LC7W2K-CzCm-6ra.js index 2e3abc4..2f7dbdd 100644 --- a/assets/journeyDiagram-G5LC7W2K-Df6aXyG-.js +++ b/assets/journeyDiagram-G5LC7W2K-CzCm-6ra.js @@ -1,4 +1,4 @@ -import{d as ft,f as gt,g as at,b as mt}from"./chunk-XVOYOM2C-D2CgWdoi.js";import{_ as i,d as A,p as xt,q as kt,s as _t,g as vt,c as bt,b as wt,r as Tt,j as W,k as St}from"./index-DqL3MUN2.js";import{d as tt}from"./arc-B1CpNSko.js";var H=function(){var t=i(function(g,r,a,l){for(a=a||{},l=g.length;l--;a[g[l]]=r);return a},"o"),e=[6,8,10,11,12,14,16,17,18],n=[1,9],c=[1,10],s=[1,11],u=[1,12],h=[1,13],p=[1,14],d={trace:i(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:i(function(r,a,l,y,f,o,S){var _=o.length-1;switch(f){case 1:return o[_-1];case 2:this.$=[];break;case 3:o[_-1].push(o[_]),this.$=o[_-1];break;case 4:case 5:this.$=o[_];break;case 6:case 7:this.$=[];break;case 8:y.setDiagramTitle(o[_].substr(6)),this.$=o[_].substr(6);break;case 9:this.$=o[_].trim(),y.setAccTitle(this.$);break;case 10:case 11:this.$=o[_].trim(),y.setAccDescription(this.$);break;case 12:y.addSection(o[_].substr(8)),this.$=o[_].substr(8);break;case 13:y.addTask(o[_-1],o[_]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:n,12:c,14:s,16:u,17:h,18:p},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:n,12:c,14:s,16:u,17:h,18:p},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:i(function(r,a){if(a.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=a,l}},"parseError"),parse:i(function(r){var a=this,l=[0],y=[],f=[null],o=[],S=this.table,_="",B=0,J=0,ut=2,K=1,yt=o.slice.call(arguments,1),k=Object.create(this.lexer),E={yy:{}};for(var O in this.yy)Object.prototype.hasOwnProperty.call(this.yy,O)&&(E.yy[O]=this.yy[O]);k.setInput(r,E.yy),E.yy.lexer=k,E.yy.parser=this,typeof k.yylloc>"u"&&(k.yylloc={});var Y=k.yylloc;o.push(Y);var dt=k.options&&k.options.ranges;typeof E.yy.parseError=="function"?this.parseError=E.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pt(b){l.length=l.length-2*b,f.length=f.length-b,o.length=o.length-b}i(pt,"popStack");function Q(){var b;return b=y.pop()||k.lex()||K,typeof b!="number"&&(b instanceof Array&&(y=b,b=y.pop()),b=a.symbols_[b]||b),b}i(Q,"lex");for(var v,P,w,q,C={},j,M,D,N;;){if(P=l[l.length-1],this.defaultActions[P]?w=this.defaultActions[P]:((v===null||typeof v>"u")&&(v=Q()),w=S[P]&&S[P][v]),typeof w>"u"||!w.length||!w[0]){var G="";N=[];for(j in S[P])this.terminals_[j]&&j>ut&&N.push("'"+this.terminals_[j]+"'");k.showPosition?G="Parse error on line "+(B+1)+`: +import{d as ft,f as gt,g as at,b as mt}from"./chunk-XVOYOM2C-B52IjuyV.js";import{_ as i,d as A,p as xt,q as kt,s as _t,g as vt,c as bt,b as wt,r as Tt,j as W,k as St}from"./index-BmyXM-jo.js";import{d as tt}from"./arc-BQjszOj9.js";var H=function(){var t=i(function(g,r,a,l){for(a=a||{},l=g.length;l--;a[g[l]]=r);return a},"o"),e=[6,8,10,11,12,14,16,17,18],n=[1,9],c=[1,10],s=[1,11],u=[1,12],h=[1,13],p=[1,14],d={trace:i(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:i(function(r,a,l,y,f,o,S){var _=o.length-1;switch(f){case 1:return o[_-1];case 2:this.$=[];break;case 3:o[_-1].push(o[_]),this.$=o[_-1];break;case 4:case 5:this.$=o[_];break;case 6:case 7:this.$=[];break;case 8:y.setDiagramTitle(o[_].substr(6)),this.$=o[_].substr(6);break;case 9:this.$=o[_].trim(),y.setAccTitle(this.$);break;case 10:case 11:this.$=o[_].trim(),y.setAccDescription(this.$);break;case 12:y.addSection(o[_].substr(8)),this.$=o[_].substr(8);break;case 13:y.addTask(o[_-1],o[_]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:n,12:c,14:s,16:u,17:h,18:p},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:n,12:c,14:s,16:u,17:h,18:p},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:i(function(r,a){if(a.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=a,l}},"parseError"),parse:i(function(r){var a=this,l=[0],y=[],f=[null],o=[],S=this.table,_="",B=0,J=0,ut=2,K=1,yt=o.slice.call(arguments,1),k=Object.create(this.lexer),E={yy:{}};for(var O in this.yy)Object.prototype.hasOwnProperty.call(this.yy,O)&&(E.yy[O]=this.yy[O]);k.setInput(r,E.yy),E.yy.lexer=k,E.yy.parser=this,typeof k.yylloc>"u"&&(k.yylloc={});var Y=k.yylloc;o.push(Y);var dt=k.options&&k.options.ranges;typeof E.yy.parseError=="function"?this.parseError=E.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pt(b){l.length=l.length-2*b,f.length=f.length-b,o.length=o.length-b}i(pt,"popStack");function Q(){var b;return b=y.pop()||k.lex()||K,typeof b!="number"&&(b instanceof Array&&(y=b,b=y.pop()),b=a.symbols_[b]||b),b}i(Q,"lex");for(var v,P,w,q,C={},j,M,D,N;;){if(P=l[l.length-1],this.defaultActions[P]?w=this.defaultActions[P]:((v===null||typeof v>"u")&&(v=Q()),w=S[P]&&S[P][v]),typeof w>"u"||!w.length||!w[0]){var G="";N=[];for(j in S[P])this.terminals_[j]&&j>ut&&N.push("'"+this.terminals_[j]+"'");k.showPosition?G="Parse error on line "+(B+1)+`: `+k.showPosition()+` Expecting `+N.join(", ")+", got '"+(this.terminals_[v]||v)+"'":G="Parse error on line "+(B+1)+": Unexpected "+(v==K?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(G,{text:k.match,token:this.terminals_[v]||v,line:k.yylineno,loc:Y,expected:N})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+v);switch(w[0]){case 1:l.push(v),f.push(k.yytext),o.push(k.yylloc),l.push(w[1]),v=null,J=k.yyleng,_=k.yytext,B=k.yylineno,Y=k.yylloc;break;case 2:if(M=this.productions_[w[1]][1],C.$=f[f.length-M],C._$={first_line:o[o.length-(M||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(M||1)].first_column,last_column:o[o.length-1].last_column},dt&&(C._$.range=[o[o.length-(M||1)].range[0],o[o.length-1].range[1]]),q=this.performAction.apply(C,[_,J,B,E.yy,w[1],f,o].concat(yt)),typeof q<"u")return q;M&&(l=l.slice(0,-1*M*2),f=f.slice(0,-1*M),o=o.slice(0,-1*M)),l.push(this.productions_[w[1]][0]),f.push(C.$),o.push(C._$),D=S[l[l.length-2]][l[l.length-1]],l.push(D);break;case 3:return!0}}return!0},"parse")},x=function(){var g={EOF:1,parseError:i(function(a,l){if(this.yy.parser)this.yy.parser.parseError(a,l);else throw new Error(a)},"parseError"),setInput:i(function(r,a){return this.yy=a||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:i(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var a=r.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:i(function(r){var a=r.length,l=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var y=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var f=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===y.length?this.yylloc.first_column:0)+y[y.length-l.length].length-l[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[f[0],f[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:i(function(){return this._more=!0,this},"more"),reject:i(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:i(function(r){this.unput(this.match.slice(r))},"less"),pastInput:i(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:i(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:i(function(){var r=this.pastInput(),a=new Array(r.length+1).join("-");return r+this.upcomingInput()+` diff --git a/assets/json-Dvvisu1f.js b/assets/json-BzboBZu8.js similarity index 77% rename from assets/json-Dvvisu1f.js rename to assets/json-BzboBZu8.js index b885803..842dbef 100644 --- a/assets/json-Dvvisu1f.js +++ b/assets/json-BzboBZu8.js @@ -1 +1 @@ -import"./graph-F-lRYGiw.js";import{aA as i,ah as d}from"./index-DqL3MUN2.js";import{m as t}from"./min-CjiScnR7.js";function v(e){var r={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:u(e),edges:s(e)};return i(e.graph())||(r.value=d(e.graph())),r}function u(e){return t(e.nodes(),function(r){var a=e.node(r),n=e.parent(r),o={v:r};return i(a)||(o.value=a),i(n)||(o.parent=n),o})}function s(e){return t(e.edges(),function(r){var a=e.edge(r),n={v:r.v,w:r.w};return i(r.name)||(n.name=r.name),i(a)||(n.value=a),n})}export{v as w}; +import"./graph-DNRi3G-N.js";import{aA as i,ah as d}from"./index-BmyXM-jo.js";import{m as t}from"./min-CuKIA37g.js";function v(e){var r={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:u(e),edges:s(e)};return i(e.graph())||(r.value=d(e.graph())),r}function u(e){return t(e.nodes(),function(r){var a=e.node(r),n=e.parent(r),o={v:r};return i(a)||(o.value=a),i(n)||(o.parent=n),o})}function s(e){return t(e.edges(),function(r){var a=e.edge(r),n={v:r.v,w:r.w};return i(r.name)||(n.name=r.name),i(a)||(n.value=a),n})}export{v as w}; diff --git a/assets/layout-B3T3dhdM.js b/assets/layout-CbykB6Gj.js similarity index 99% rename from assets/layout-B3T3dhdM.js rename to assets/layout-CbykB6Gj.js index d500ddd..53ca877 100644 --- a/assets/layout-B3T3dhdM.js +++ b/assets/layout-CbykB6Gj.js @@ -1 +1 @@ -import{G as k}from"./graph-F-lRYGiw.js";import{a_ as Pn,aR as Sn,aU as z,bj as Fn,aZ as ln,aY as en,aX as A,aW as vn,bk as On,bl as Vn,aQ as W,aB as An,aC as Bn,bm as Yn,bn as Gn,bo as T,aE as Dn,aA as g,bp as P,bq as jn,br as $}from"./index-DqL3MUN2.js";import{d as pn,e as mn,a as s,h as m,f as I,v as y,r as F}from"./_baseUniq-B1Flybha.js";import{b as wn,a as qn,c as Wn,t as B,m as w,d as _,f as U,l as S,e as $n}from"./min-CjiScnR7.js";function Xn(n,e){return n==null?n:Pn(n,pn(e),Sn)}function zn(n,e){return n&&mn(n,pn(e))}function Un(n,e){return n>e}function O(n,e){var r={};return e=z(e),mn(n,function(i,t,a){Fn(r,t,e(i,t,a))}),r}function x(n){return n&&n.length?wn(n,ln,Un):void 0}function H(n,e){return n&&n.length?wn(n,z(e),qn):void 0}function Hn(n,e){var r=n.length;for(n.sort(e);r--;)n[r]=n[r].value;return n}function Zn(n,e){if(n!==e){var r=n!==void 0,i=n===null,t=n===n,a=en(n),o=e!==void 0,u=e===null,d=e===e,f=en(e);if(!u&&!f&&!a&&n>e||a&&o&&d&&!u&&!f||i&&o&&d||!r&&d||!t)return 1;if(!i&&!a&&!f&&n=u)return d;var f=r[i];return d*(f=="desc"?-1:1)}}return n.index-e.index}function Qn(n,e,r){e.length?e=A(e,function(a){return vn(a)?function(o){return On(o,a.length===1?a[0]:a)}:a}):e=[ln];var i=-1;e=A(e,Vn(z));var t=Wn(n,function(a,o,u){var d=A(e,function(f){return f(a)});return{criteria:d,index:++i,value:a}});return Hn(t,function(a,o){return Jn(a,o,r)})}var Kn=Math.ceil,ne=Math.max;function ee(n,e,r,i){for(var t=-1,a=ne(Kn((e-n)/(r||1)),0),o=Array(a);a--;)o[++t]=n,n+=r;return o}function re(n){return function(e,r,i){return i&&typeof i!="number"&&W(e,r,i)&&(r=i=void 0),e=B(e),r===void 0?(r=e,e=0):r=B(r),i=i===void 0?e1&&W(n,e[0],e[1])?e=[]:r>2&&W(e[0],e[1],e[2])&&(e=[e[0]]),Qn(n,Bn(e),[])}),ie=0;function Z(n){var e=++ie;return Yn(n)+e}function te(n,e,r){for(var i=-1,t=n.length,a=e.length,o={};++i0;--u)if(o=e[u].dequeue(),o){i=i.concat(Y(n,e,r,o,!0));break}}}return i}function Y(n,e,r,i,t){var a=t?[]:void 0;return s(n.inEdges(i.v),function(o){var u=n.edge(o),d=n.node(o.v);t&&a.push({v:o.v,w:o.w}),d.out-=u,X(e,r,d)}),s(n.outEdges(i.v),function(o){var u=n.edge(o),d=o.w,f=n.node(d);f.in-=u,X(e,r,f)}),n.removeNode(i.v),a}function ce(n,e){var r=new k,i=0,t=0;s(n.nodes(),function(u){r.setNode(u,{v:u,in:0,out:0})}),s(n.edges(),function(u){var d=r.edge(u.v,u.w)||0,f=e(u),c=d+f;r.setEdge(u.v,u.w,c),t=Math.max(t,r.node(u.v).out+=f),i=Math.max(i,r.node(u.w).in+=f)});var a=N(t+i+3).map(function(){return new oe}),o=i+1;return s(r.nodes(),function(u){X(a,o,r.node(u))}),{graph:r,buckets:a,zeroIdx:o}}function X(n,e,r){r.out?r.in?n[r.out-r.in+e].enqueue(r):n[n.length-1].enqueue(r):n[0].enqueue(r)}function he(n){var e=n.graph().acyclicer==="greedy"?fe(n,r(n)):le(n);s(e,function(i){var t=n.edge(i);n.removeEdge(i),t.forwardName=i.name,t.reversed=!0,n.setEdge(i.w,i.v,t,Z("rev"))});function r(i){return function(t){return i.edge(t).weight}}}function le(n){var e=[],r={},i={};function t(a){m(i,a)||(i[a]=!0,r[a]=!0,s(n.outEdges(a),function(o){m(r,o.w)?e.push(o):t(o.w)}),delete r[a])}return s(n.nodes(),t),e}function ve(n){s(n.edges(),function(e){var r=n.edge(e);if(r.reversed){n.removeEdge(e);var i=r.forwardName;delete r.reversed,delete r.forwardName,n.setEdge(e.w,e.v,r,i)}})}function L(n,e,r,i){var t;do t=Z(i);while(n.hasNode(t));return r.dummy=e,n.setNode(t,r),t}function pe(n){var e=new k().setGraph(n.graph());return s(n.nodes(),function(r){e.setNode(r,n.node(r))}),s(n.edges(),function(r){var i=e.edge(r.v,r.w)||{weight:0,minlen:1},t=n.edge(r);e.setEdge(r.v,r.w,{weight:i.weight+t.weight,minlen:Math.max(i.minlen,t.minlen)})}),e}function bn(n){var e=new k({multigraph:n.isMultigraph()}).setGraph(n.graph());return s(n.nodes(),function(r){n.children(r).length||e.setNode(r,n.node(r))}),s(n.edges(),function(r){e.setEdge(r,n.edge(r))}),e}function tn(n,e){var r=n.x,i=n.y,t=e.x-r,a=e.y-i,o=n.width/2,u=n.height/2;if(!t&&!a)throw new Error("Not possible to find intersection inside of the rectangle");var d,f;return Math.abs(a)*o>Math.abs(t)*u?(a<0&&(u=-u),d=u*t/a,f=u):(t<0&&(o=-o),d=o,f=o*a/t),{x:r+d,y:i+f}}function V(n){var e=w(N(gn(n)+1),function(){return[]});return s(n.nodes(),function(r){var i=n.node(r),t=i.rank;g(t)||(e[t][i.order]=r)}),e}function me(n){var e=_(w(n.nodes(),function(r){return n.node(r).rank}));s(n.nodes(),function(r){var i=n.node(r);m(i,"rank")&&(i.rank-=e)})}function we(n){var e=_(w(n.nodes(),function(a){return n.node(a).rank})),r=[];s(n.nodes(),function(a){var o=n.node(a).rank-e;r[o]||(r[o]=[]),r[o].push(a)});var i=0,t=n.graph().nodeRankFactor;s(r,function(a,o){g(a)&&o%t!==0?--i:i&&s(a,function(u){n.node(u).rank+=i})})}function an(n,e,r,i){var t={width:0,height:0};return arguments.length>=4&&(t.rank=r,t.order=i),L(n,"border",t,e)}function gn(n){return x(w(n.nodes(),function(e){var r=n.node(e).rank;if(!g(r))return r}))}function be(n,e){var r={lhs:[],rhs:[]};return s(n,function(i){e(i)?r.lhs.push(i):r.rhs.push(i)}),r}function ge(n,e){return e()}function ke(n){function e(r){var i=n.children(r),t=n.node(r);if(i.length&&s(i,e),m(t,"minRank")){t.borderLeft=[],t.borderRight=[];for(var a=t.minRank,o=t.maxRank+1;ao.lim&&(u=o,d=!0);var f=I(e.edges(),function(c){return d===dn(n,n.node(c.v),u)&&d!==dn(n,n.node(c.w),u)});return H(f,function(c){return R(e,c)})}function Rn(n,e,r,i){var t=r.v,a=r.w;n.removeEdge(t,a),n.setEdge(i.v,i.w,{}),K(n),Q(n,e),Oe(n,e)}function Oe(n,e){var r=U(n.nodes(),function(t){return!e.node(t).parent}),i=Se(n,r);i=i.slice(1),s(i,function(t){var a=n.node(t).parent,o=e.edge(t,a),u=!1;o||(o=e.edge(a,t),u=!0),e.node(t).rank=e.node(a).rank+(u?o.minlen:-o.minlen)})}function Ve(n,e,r){return n.hasEdge(e,r)}function dn(n,e,r){return r.low<=e.lim&&e.lim<=r.lim}function Ae(n){switch(n.graph().ranker){case"network-simplex":fn(n);break;case"tight-tree":Ye(n);break;case"longest-path":Be(n);break;default:fn(n)}}var Be=J;function Ye(n){J(n),xn(n)}function fn(n){E(n)}function Ge(n){var e=L(n,"root",{},"_root"),r=De(n),i=x(y(r))-1,t=2*i+1;n.graph().nestingRoot=e,s(n.edges(),function(o){n.edge(o).minlen*=t});var a=je(n)+1;s(n.children(),function(o){Tn(n,e,t,a,i,r,o)}),n.graph().nodeRankFactor=t}function Tn(n,e,r,i,t,a,o){var u=n.children(o);if(!u.length){o!==e&&n.setEdge(e,o,{weight:0,minlen:r});return}var d=an(n,"_bt"),f=an(n,"_bb"),c=n.node(o);n.setParent(d,o),c.borderTop=d,n.setParent(f,o),c.borderBottom=f,s(u,function(h){Tn(n,e,r,i,t,a,h);var l=n.node(h),v=l.borderTop?l.borderTop:h,p=l.borderBottom?l.borderBottom:h,b=l.borderTop?i:2*i,C=v!==p?1:t-a[o]+1;n.setEdge(d,v,{weight:b,minlen:C,nestingEdge:!0}),n.setEdge(p,f,{weight:b,minlen:C,nestingEdge:!0})}),n.parent(o)||n.setEdge(e,d,{weight:0,minlen:t+a[o]})}function De(n){var e={};function r(i,t){var a=n.children(i);a&&a.length&&s(a,function(o){r(o,t+1)}),e[i]=t}return s(n.children(),function(i){r(i,1)}),e}function je(n){return F(n.edges(),function(e,r){return e+n.edge(r).weight},0)}function qe(n){var e=n.graph();n.removeNode(e.nestingRoot),delete e.nestingRoot,s(n.edges(),function(r){var i=n.edge(r);i.nestingEdge&&n.removeEdge(r)})}function We(n,e,r){var i={},t;s(r,function(a){for(var o=n.parent(a),u,d;o;){if(u=n.parent(o),u?(d=i[u],i[u]=o):(d=t,t=o),d&&d!==o){e.setEdge(d,o);return}o=u}})}function $e(n,e,r){var i=Xe(n),t=new k({compound:!0}).setGraph({root:i}).setDefaultNodeLabel(function(a){return n.node(a)});return s(n.nodes(),function(a){var o=n.node(a),u=n.parent(a);(o.rank===e||o.minRank<=e&&e<=o.maxRank)&&(t.setNode(a),t.setParent(a,u||i),s(n[r](a),function(d){var f=d.v===a?d.w:d.v,c=t.edge(f,a),h=g(c)?0:c.weight;t.setEdge(f,a,{weight:n.edge(d).weight+h})}),m(o,"minRank")&&t.setNode(a,{borderLeft:o.borderLeft[e],borderRight:o.borderRight[e]}))}),t}function Xe(n){for(var e;n.hasNode(e=Z("_root")););return e}function ze(n,e){for(var r=0,i=1;i0;)c%2&&(h+=u[c+1]),c=c-1>>1,u[c]+=f.weight;d+=f.weight*h})),d}function He(n){var e={},r=I(n.nodes(),function(u){return!n.children(u).length}),i=x(w(r,function(u){return n.node(u).rank})),t=w(N(i+1),function(){return[]});function a(u){if(!m(e,u)){e[u]=!0;var d=n.node(u);t[d.rank].push(u),s(n.successors(u),a)}}var o=M(r,function(u){return n.node(u).rank});return s(o,a),t}function Ze(n,e){return w(e,function(r){var i=n.inEdges(r);if(i.length){var t=F(i,function(a,o){var u=n.edge(o),d=n.node(o.v);return{sum:a.sum+u.weight*d.order,weight:a.weight+u.weight}},{sum:0,weight:0});return{v:r,barycenter:t.sum/t.weight,weight:t.weight}}else return{v:r}})}function Je(n,e){var r={};s(n,function(t,a){var o=r[t.v]={indegree:0,in:[],out:[],vs:[t.v],i:a};g(t.barycenter)||(o.barycenter=t.barycenter,o.weight=t.weight)}),s(e.edges(),function(t){var a=r[t.v],o=r[t.w];!g(a)&&!g(o)&&(o.indegree++,a.out.push(r[t.w]))});var i=I(r,function(t){return!t.indegree});return Qe(i)}function Qe(n){var e=[];function r(a){return function(o){o.merged||(g(o.barycenter)||g(a.barycenter)||o.barycenter>=a.barycenter)&&Ke(a,o)}}function i(a){return function(o){o.in.push(a),--o.indegree===0&&n.push(o)}}for(;n.length;){var t=n.pop();e.push(t),s(t.in.reverse(),r(t)),s(t.out,i(t))}return w(I(e,function(a){return!a.merged}),function(a){return P(a,["vs","i","barycenter","weight"])})}function Ke(n,e){var r=0,i=0;n.weight&&(r+=n.barycenter*n.weight,i+=n.weight),e.weight&&(r+=e.barycenter*e.weight,i+=e.weight),n.vs=e.vs.concat(n.vs),n.barycenter=r/i,n.weight=i,n.i=Math.min(e.i,n.i),e.merged=!0}function nr(n,e){var r=be(n,function(c){return m(c,"barycenter")}),i=r.lhs,t=M(r.rhs,function(c){return-c.i}),a=[],o=0,u=0,d=0;i.sort(er(!!e)),d=sn(a,t,d),s(i,function(c){d+=c.vs.length,a.push(c.vs),o+=c.barycenter*c.weight,u+=c.weight,d=sn(a,t,d)});var f={vs:T(a)};return u&&(f.barycenter=o/u,f.weight=u),f}function sn(n,e,r){for(var i;e.length&&(i=S(e)).i<=r;)e.pop(),n.push(i.vs),r++;return r}function er(n){return function(e,r){return e.barycenterr.barycenter?1:n?r.i-e.i:e.i-r.i}}function In(n,e,r,i){var t=n.children(e),a=n.node(e),o=a?a.borderLeft:void 0,u=a?a.borderRight:void 0,d={};o&&(t=I(t,function(p){return p!==o&&p!==u}));var f=Ze(n,t);s(f,function(p){if(n.children(p.v).length){var b=In(n,p.v,r,i);d[p.v]=b,m(b,"barycenter")&&ir(p,b)}});var c=Je(f,r);rr(c,d);var h=nr(c,i);if(o&&(h.vs=T([o,h.vs,u]),n.predecessors(o).length)){var l=n.node(n.predecessors(o)[0]),v=n.node(n.predecessors(u)[0]);m(h,"barycenter")||(h.barycenter=0,h.weight=0),h.barycenter=(h.barycenter*h.weight+l.order+v.order)/(h.weight+2),h.weight+=2}return h}function rr(n,e){s(n,function(r){r.vs=T(r.vs.map(function(i){return e[i]?e[i].vs:i}))})}function ir(n,e){g(n.barycenter)?(n.barycenter=e.barycenter,n.weight=e.weight):(n.barycenter=(n.barycenter*n.weight+e.barycenter*e.weight)/(n.weight+e.weight),n.weight+=e.weight)}function tr(n){var e=gn(n),r=cn(n,N(1,e+1),"inEdges"),i=cn(n,N(e-1,-1,-1),"outEdges"),t=He(n);hn(n,t);for(var a=Number.POSITIVE_INFINITY,o,u=0,d=0;d<4;++u,++d){ar(u%2?r:i,u%4>=2),t=V(n);var f=ze(n,t);fo||u>e[d].lim));for(f=d,d=i;(d=n.parent(d))!==f;)a.push(d);return{path:t.concat(a.reverse()),lca:f}}function dr(n){var e={},r=0;function i(t){var a=r;s(n.children(t),i),e[t]={low:a,lim:r++}}return s(n.children(),i),e}function fr(n,e){var r={};function i(t,a){var o=0,u=0,d=t.length,f=S(a);return s(a,function(c,h){var l=cr(n,c),v=l?n.node(l).order:d;(l||c===f)&&(s(a.slice(u,h+1),function(p){s(n.predecessors(p),function(b){var C=n.node(b),nn=C.order;(nnf)&&Mn(r,l,c)})})}function t(a,o){var u=-1,d,f=0;return s(o,function(c,h){if(n.node(c).dummy==="border"){var l=n.predecessors(c);l.length&&(d=n.node(l[0]).order,i(o,f,h,u,d),f=h,u=d)}i(o,f,o.length,d,a.length)}),o}return F(e,t),r}function cr(n,e){if(n.node(e).dummy)return U(n.predecessors(e),function(r){return n.node(r).dummy})}function Mn(n,e,r){if(e>r){var i=e;e=r,r=i}var t=n[e];t||(n[e]=t={}),t[r]=!0}function hr(n,e,r){if(e>r){var i=e;e=r,r=i}return m(n[e],r)}function lr(n,e,r,i){var t={},a={},o={};return s(e,function(u){s(u,function(d,f){t[d]=d,a[d]=d,o[d]=f})}),s(e,function(u){var d=-1;s(u,function(f){var c=i(f);if(c.length){c=M(c,function(b){return o[b]});for(var h=(c.length-1)/2,l=Math.floor(h),v=Math.ceil(h);l<=v;++l){var p=c[l];a[f]===f&&de}function O(n,e){var r={};return e=z(e),mn(n,function(i,t,a){Fn(r,t,e(i,t,a))}),r}function x(n){return n&&n.length?wn(n,ln,Un):void 0}function H(n,e){return n&&n.length?wn(n,z(e),qn):void 0}function Hn(n,e){var r=n.length;for(n.sort(e);r--;)n[r]=n[r].value;return n}function Zn(n,e){if(n!==e){var r=n!==void 0,i=n===null,t=n===n,a=en(n),o=e!==void 0,u=e===null,d=e===e,f=en(e);if(!u&&!f&&!a&&n>e||a&&o&&d&&!u&&!f||i&&o&&d||!r&&d||!t)return 1;if(!i&&!a&&!f&&n=u)return d;var f=r[i];return d*(f=="desc"?-1:1)}}return n.index-e.index}function Qn(n,e,r){e.length?e=A(e,function(a){return vn(a)?function(o){return On(o,a.length===1?a[0]:a)}:a}):e=[ln];var i=-1;e=A(e,Vn(z));var t=Wn(n,function(a,o,u){var d=A(e,function(f){return f(a)});return{criteria:d,index:++i,value:a}});return Hn(t,function(a,o){return Jn(a,o,r)})}var Kn=Math.ceil,ne=Math.max;function ee(n,e,r,i){for(var t=-1,a=ne(Kn((e-n)/(r||1)),0),o=Array(a);a--;)o[++t]=n,n+=r;return o}function re(n){return function(e,r,i){return i&&typeof i!="number"&&W(e,r,i)&&(r=i=void 0),e=B(e),r===void 0?(r=e,e=0):r=B(r),i=i===void 0?e1&&W(n,e[0],e[1])?e=[]:r>2&&W(e[0],e[1],e[2])&&(e=[e[0]]),Qn(n,Bn(e),[])}),ie=0;function Z(n){var e=++ie;return Yn(n)+e}function te(n,e,r){for(var i=-1,t=n.length,a=e.length,o={};++i0;--u)if(o=e[u].dequeue(),o){i=i.concat(Y(n,e,r,o,!0));break}}}return i}function Y(n,e,r,i,t){var a=t?[]:void 0;return s(n.inEdges(i.v),function(o){var u=n.edge(o),d=n.node(o.v);t&&a.push({v:o.v,w:o.w}),d.out-=u,X(e,r,d)}),s(n.outEdges(i.v),function(o){var u=n.edge(o),d=o.w,f=n.node(d);f.in-=u,X(e,r,f)}),n.removeNode(i.v),a}function ce(n,e){var r=new k,i=0,t=0;s(n.nodes(),function(u){r.setNode(u,{v:u,in:0,out:0})}),s(n.edges(),function(u){var d=r.edge(u.v,u.w)||0,f=e(u),c=d+f;r.setEdge(u.v,u.w,c),t=Math.max(t,r.node(u.v).out+=f),i=Math.max(i,r.node(u.w).in+=f)});var a=N(t+i+3).map(function(){return new oe}),o=i+1;return s(r.nodes(),function(u){X(a,o,r.node(u))}),{graph:r,buckets:a,zeroIdx:o}}function X(n,e,r){r.out?r.in?n[r.out-r.in+e].enqueue(r):n[n.length-1].enqueue(r):n[0].enqueue(r)}function he(n){var e=n.graph().acyclicer==="greedy"?fe(n,r(n)):le(n);s(e,function(i){var t=n.edge(i);n.removeEdge(i),t.forwardName=i.name,t.reversed=!0,n.setEdge(i.w,i.v,t,Z("rev"))});function r(i){return function(t){return i.edge(t).weight}}}function le(n){var e=[],r={},i={};function t(a){m(i,a)||(i[a]=!0,r[a]=!0,s(n.outEdges(a),function(o){m(r,o.w)?e.push(o):t(o.w)}),delete r[a])}return s(n.nodes(),t),e}function ve(n){s(n.edges(),function(e){var r=n.edge(e);if(r.reversed){n.removeEdge(e);var i=r.forwardName;delete r.reversed,delete r.forwardName,n.setEdge(e.w,e.v,r,i)}})}function L(n,e,r,i){var t;do t=Z(i);while(n.hasNode(t));return r.dummy=e,n.setNode(t,r),t}function pe(n){var e=new k().setGraph(n.graph());return s(n.nodes(),function(r){e.setNode(r,n.node(r))}),s(n.edges(),function(r){var i=e.edge(r.v,r.w)||{weight:0,minlen:1},t=n.edge(r);e.setEdge(r.v,r.w,{weight:i.weight+t.weight,minlen:Math.max(i.minlen,t.minlen)})}),e}function bn(n){var e=new k({multigraph:n.isMultigraph()}).setGraph(n.graph());return s(n.nodes(),function(r){n.children(r).length||e.setNode(r,n.node(r))}),s(n.edges(),function(r){e.setEdge(r,n.edge(r))}),e}function tn(n,e){var r=n.x,i=n.y,t=e.x-r,a=e.y-i,o=n.width/2,u=n.height/2;if(!t&&!a)throw new Error("Not possible to find intersection inside of the rectangle");var d,f;return Math.abs(a)*o>Math.abs(t)*u?(a<0&&(u=-u),d=u*t/a,f=u):(t<0&&(o=-o),d=o,f=o*a/t),{x:r+d,y:i+f}}function V(n){var e=w(N(gn(n)+1),function(){return[]});return s(n.nodes(),function(r){var i=n.node(r),t=i.rank;g(t)||(e[t][i.order]=r)}),e}function me(n){var e=_(w(n.nodes(),function(r){return n.node(r).rank}));s(n.nodes(),function(r){var i=n.node(r);m(i,"rank")&&(i.rank-=e)})}function we(n){var e=_(w(n.nodes(),function(a){return n.node(a).rank})),r=[];s(n.nodes(),function(a){var o=n.node(a).rank-e;r[o]||(r[o]=[]),r[o].push(a)});var i=0,t=n.graph().nodeRankFactor;s(r,function(a,o){g(a)&&o%t!==0?--i:i&&s(a,function(u){n.node(u).rank+=i})})}function an(n,e,r,i){var t={width:0,height:0};return arguments.length>=4&&(t.rank=r,t.order=i),L(n,"border",t,e)}function gn(n){return x(w(n.nodes(),function(e){var r=n.node(e).rank;if(!g(r))return r}))}function be(n,e){var r={lhs:[],rhs:[]};return s(n,function(i){e(i)?r.lhs.push(i):r.rhs.push(i)}),r}function ge(n,e){return e()}function ke(n){function e(r){var i=n.children(r),t=n.node(r);if(i.length&&s(i,e),m(t,"minRank")){t.borderLeft=[],t.borderRight=[];for(var a=t.minRank,o=t.maxRank+1;ao.lim&&(u=o,d=!0);var f=I(e.edges(),function(c){return d===dn(n,n.node(c.v),u)&&d!==dn(n,n.node(c.w),u)});return H(f,function(c){return R(e,c)})}function Rn(n,e,r,i){var t=r.v,a=r.w;n.removeEdge(t,a),n.setEdge(i.v,i.w,{}),K(n),Q(n,e),Oe(n,e)}function Oe(n,e){var r=U(n.nodes(),function(t){return!e.node(t).parent}),i=Se(n,r);i=i.slice(1),s(i,function(t){var a=n.node(t).parent,o=e.edge(t,a),u=!1;o||(o=e.edge(a,t),u=!0),e.node(t).rank=e.node(a).rank+(u?o.minlen:-o.minlen)})}function Ve(n,e,r){return n.hasEdge(e,r)}function dn(n,e,r){return r.low<=e.lim&&e.lim<=r.lim}function Ae(n){switch(n.graph().ranker){case"network-simplex":fn(n);break;case"tight-tree":Ye(n);break;case"longest-path":Be(n);break;default:fn(n)}}var Be=J;function Ye(n){J(n),xn(n)}function fn(n){E(n)}function Ge(n){var e=L(n,"root",{},"_root"),r=De(n),i=x(y(r))-1,t=2*i+1;n.graph().nestingRoot=e,s(n.edges(),function(o){n.edge(o).minlen*=t});var a=je(n)+1;s(n.children(),function(o){Tn(n,e,t,a,i,r,o)}),n.graph().nodeRankFactor=t}function Tn(n,e,r,i,t,a,o){var u=n.children(o);if(!u.length){o!==e&&n.setEdge(e,o,{weight:0,minlen:r});return}var d=an(n,"_bt"),f=an(n,"_bb"),c=n.node(o);n.setParent(d,o),c.borderTop=d,n.setParent(f,o),c.borderBottom=f,s(u,function(h){Tn(n,e,r,i,t,a,h);var l=n.node(h),v=l.borderTop?l.borderTop:h,p=l.borderBottom?l.borderBottom:h,b=l.borderTop?i:2*i,C=v!==p?1:t-a[o]+1;n.setEdge(d,v,{weight:b,minlen:C,nestingEdge:!0}),n.setEdge(p,f,{weight:b,minlen:C,nestingEdge:!0})}),n.parent(o)||n.setEdge(e,d,{weight:0,minlen:t+a[o]})}function De(n){var e={};function r(i,t){var a=n.children(i);a&&a.length&&s(a,function(o){r(o,t+1)}),e[i]=t}return s(n.children(),function(i){r(i,1)}),e}function je(n){return F(n.edges(),function(e,r){return e+n.edge(r).weight},0)}function qe(n){var e=n.graph();n.removeNode(e.nestingRoot),delete e.nestingRoot,s(n.edges(),function(r){var i=n.edge(r);i.nestingEdge&&n.removeEdge(r)})}function We(n,e,r){var i={},t;s(r,function(a){for(var o=n.parent(a),u,d;o;){if(u=n.parent(o),u?(d=i[u],i[u]=o):(d=t,t=o),d&&d!==o){e.setEdge(d,o);return}o=u}})}function $e(n,e,r){var i=Xe(n),t=new k({compound:!0}).setGraph({root:i}).setDefaultNodeLabel(function(a){return n.node(a)});return s(n.nodes(),function(a){var o=n.node(a),u=n.parent(a);(o.rank===e||o.minRank<=e&&e<=o.maxRank)&&(t.setNode(a),t.setParent(a,u||i),s(n[r](a),function(d){var f=d.v===a?d.w:d.v,c=t.edge(f,a),h=g(c)?0:c.weight;t.setEdge(f,a,{weight:n.edge(d).weight+h})}),m(o,"minRank")&&t.setNode(a,{borderLeft:o.borderLeft[e],borderRight:o.borderRight[e]}))}),t}function Xe(n){for(var e;n.hasNode(e=Z("_root")););return e}function ze(n,e){for(var r=0,i=1;i0;)c%2&&(h+=u[c+1]),c=c-1>>1,u[c]+=f.weight;d+=f.weight*h})),d}function He(n){var e={},r=I(n.nodes(),function(u){return!n.children(u).length}),i=x(w(r,function(u){return n.node(u).rank})),t=w(N(i+1),function(){return[]});function a(u){if(!m(e,u)){e[u]=!0;var d=n.node(u);t[d.rank].push(u),s(n.successors(u),a)}}var o=M(r,function(u){return n.node(u).rank});return s(o,a),t}function Ze(n,e){return w(e,function(r){var i=n.inEdges(r);if(i.length){var t=F(i,function(a,o){var u=n.edge(o),d=n.node(o.v);return{sum:a.sum+u.weight*d.order,weight:a.weight+u.weight}},{sum:0,weight:0});return{v:r,barycenter:t.sum/t.weight,weight:t.weight}}else return{v:r}})}function Je(n,e){var r={};s(n,function(t,a){var o=r[t.v]={indegree:0,in:[],out:[],vs:[t.v],i:a};g(t.barycenter)||(o.barycenter=t.barycenter,o.weight=t.weight)}),s(e.edges(),function(t){var a=r[t.v],o=r[t.w];!g(a)&&!g(o)&&(o.indegree++,a.out.push(r[t.w]))});var i=I(r,function(t){return!t.indegree});return Qe(i)}function Qe(n){var e=[];function r(a){return function(o){o.merged||(g(o.barycenter)||g(a.barycenter)||o.barycenter>=a.barycenter)&&Ke(a,o)}}function i(a){return function(o){o.in.push(a),--o.indegree===0&&n.push(o)}}for(;n.length;){var t=n.pop();e.push(t),s(t.in.reverse(),r(t)),s(t.out,i(t))}return w(I(e,function(a){return!a.merged}),function(a){return P(a,["vs","i","barycenter","weight"])})}function Ke(n,e){var r=0,i=0;n.weight&&(r+=n.barycenter*n.weight,i+=n.weight),e.weight&&(r+=e.barycenter*e.weight,i+=e.weight),n.vs=e.vs.concat(n.vs),n.barycenter=r/i,n.weight=i,n.i=Math.min(e.i,n.i),e.merged=!0}function nr(n,e){var r=be(n,function(c){return m(c,"barycenter")}),i=r.lhs,t=M(r.rhs,function(c){return-c.i}),a=[],o=0,u=0,d=0;i.sort(er(!!e)),d=sn(a,t,d),s(i,function(c){d+=c.vs.length,a.push(c.vs),o+=c.barycenter*c.weight,u+=c.weight,d=sn(a,t,d)});var f={vs:T(a)};return u&&(f.barycenter=o/u,f.weight=u),f}function sn(n,e,r){for(var i;e.length&&(i=S(e)).i<=r;)e.pop(),n.push(i.vs),r++;return r}function er(n){return function(e,r){return e.barycenterr.barycenter?1:n?r.i-e.i:e.i-r.i}}function In(n,e,r,i){var t=n.children(e),a=n.node(e),o=a?a.borderLeft:void 0,u=a?a.borderRight:void 0,d={};o&&(t=I(t,function(p){return p!==o&&p!==u}));var f=Ze(n,t);s(f,function(p){if(n.children(p.v).length){var b=In(n,p.v,r,i);d[p.v]=b,m(b,"barycenter")&&ir(p,b)}});var c=Je(f,r);rr(c,d);var h=nr(c,i);if(o&&(h.vs=T([o,h.vs,u]),n.predecessors(o).length)){var l=n.node(n.predecessors(o)[0]),v=n.node(n.predecessors(u)[0]);m(h,"barycenter")||(h.barycenter=0,h.weight=0),h.barycenter=(h.barycenter*h.weight+l.order+v.order)/(h.weight+2),h.weight+=2}return h}function rr(n,e){s(n,function(r){r.vs=T(r.vs.map(function(i){return e[i]?e[i].vs:i}))})}function ir(n,e){g(n.barycenter)?(n.barycenter=e.barycenter,n.weight=e.weight):(n.barycenter=(n.barycenter*n.weight+e.barycenter*e.weight)/(n.weight+e.weight),n.weight+=e.weight)}function tr(n){var e=gn(n),r=cn(n,N(1,e+1),"inEdges"),i=cn(n,N(e-1,-1,-1),"outEdges"),t=He(n);hn(n,t);for(var a=Number.POSITIVE_INFINITY,o,u=0,d=0;d<4;++u,++d){ar(u%2?r:i,u%4>=2),t=V(n);var f=ze(n,t);fo||u>e[d].lim));for(f=d,d=i;(d=n.parent(d))!==f;)a.push(d);return{path:t.concat(a.reverse()),lca:f}}function dr(n){var e={},r=0;function i(t){var a=r;s(n.children(t),i),e[t]={low:a,lim:r++}}return s(n.children(),i),e}function fr(n,e){var r={};function i(t,a){var o=0,u=0,d=t.length,f=S(a);return s(a,function(c,h){var l=cr(n,c),v=l?n.node(l).order:d;(l||c===f)&&(s(a.slice(u,h+1),function(p){s(n.predecessors(p),function(b){var C=n.node(b),nn=C.order;(nnf)&&Mn(r,l,c)})})}function t(a,o){var u=-1,d,f=0;return s(o,function(c,h){if(n.node(c).dummy==="border"){var l=n.predecessors(c);l.length&&(d=n.node(l[0]).order,i(o,f,h,u,d),f=h,u=d)}i(o,f,o.length,d,a.length)}),o}return F(e,t),r}function cr(n,e){if(n.node(e).dummy)return U(n.predecessors(e),function(r){return n.node(r).dummy})}function Mn(n,e,r){if(e>r){var i=e;e=r,r=i}var t=n[e];t||(n[e]=t={}),t[r]=!0}function hr(n,e,r){if(e>r){var i=e;e=r,r=i}return m(n[e],r)}function lr(n,e,r,i){var t={},a={},o={};return s(e,function(u){s(u,function(d,f){t[d]=d,a[d]=d,o[d]=f})}),s(e,function(u){var d=-1;s(u,function(f){var c=i(f);if(c.length){c=M(c,function(b){return o[b]});for(var h=(c.length-1)/2,l=Math.floor(h),v=Math.ceil(h);l<=v;++l){var p=c[l];a[f]===f&&dt?1:n>=t?0:NaN}function hn(n,t){return n==null||t==null?NaN:tn?1:t>=n?0:NaN}function _(n){let t,e,r;n.length!==2?(t=F,e=(u,c)=>F(n(u),c),r=(u,c)=>n(u)-c):(t=n===F||n===hn?n:mn,e=n,r=n);function i(u,c,o=0,s=u.length){if(o>>1;e(u[h],c)<0?o=h+1:s=h}while(o>>1;e(u[h],c)<=0?o=h+1:s=h}while(oo&&r(u[h-1],c)>-r(u[h],c)?h-1:h}return{left:i,center:a,right:f}}function mn(){return 0}function ln(n){return n===null?NaN:+n}const sn=_(F),dn=sn.right;_(ln).center;const gn=Math.sqrt(50),yn=Math.sqrt(10),Mn=Math.sqrt(2);function R(n,t,e){const r=(t-n)/Math.max(0,e),i=Math.floor(Math.log10(r)),f=r/Math.pow(10,i),a=f>=gn?10:f>=yn?5:f>=Mn?2:1;let u,c,o;return i<0?(o=Math.pow(10,-i)/a,u=Math.round(n*o),c=Math.round(t*o),u/ot&&--c,o=-o):(o=Math.pow(10,i)*a,u=Math.round(n/o),c=Math.round(t/o),u*ot&&--c),c0))return[];if(n===t)return[n];const r=t=i))return[];const u=f-i+1,c=new Array(u);if(r)if(a<0)for(let o=0;o=1e21?n.toLocaleString("en").replace(/,/g,""):n.toString(10)}function E(n,t){if((e=(n=t?n.toExponential(t-1):n.toExponential()).indexOf("e"))<0)return null;var e,r=n.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+n.slice(e+1)]}function v(n){return n=E(Math.abs(n)),n?n[1]:NaN}function jn(n,t){return function(e,r){for(var i=e.length,f=[],a=0,u=n[0],c=0;i>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),f.push(e.substring(i-=u,i+u)),!((c+=u+1)>r));)u=n[a=(a+1)%n.length];return f.reverse().join(t)}}function Pn(n){return function(t){return t.replace(/[0-9]/g,function(e){return n[+e]})}}var zn=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function D(n){if(!(t=zn.exec(n)))throw new Error("invalid format: "+n);var t;return new B({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}D.prototype=B.prototype;function B(n){this.fill=n.fill===void 0?" ":n.fill+"",this.align=n.align===void 0?">":n.align+"",this.sign=n.sign===void 0?"-":n.sign+"",this.symbol=n.symbol===void 0?"":n.symbol+"",this.zero=!!n.zero,this.width=n.width===void 0?void 0:+n.width,this.comma=!!n.comma,this.precision=n.precision===void 0?void 0:+n.precision,this.trim=!!n.trim,this.type=n.type===void 0?"":n.type+""}B.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};function $n(n){n:for(var t=n.length,e=1,r=-1,i;e0&&(r=0);break}return r>0?n.slice(0,r)+n.slice(i+1):n}var nn;function Fn(n,t){var e=E(n,t);if(!e)return n+"";var r=e[0],i=e[1],f=i-(nn=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,a=r.length;return f===a?r:f>a?r+new Array(f-a+1).join("0"):f>0?r.slice(0,f)+"."+r.slice(f):"0."+new Array(1-f).join("0")+E(n,Math.max(0,t+f-1))[0]}function Z(n,t){var e=E(n,t);if(!e)return n+"";var r=e[0],i=e[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")}const H={"%":(n,t)=>(n*100).toFixed(t),b:n=>Math.round(n).toString(2),c:n=>n+"",d:Sn,e:(n,t)=>n.toExponential(t),f:(n,t)=>n.toFixed(t),g:(n,t)=>n.toPrecision(t),o:n=>Math.round(n).toString(8),p:(n,t)=>Z(n*100,t),r:Z,s:Fn,X:n=>Math.round(n).toString(16).toUpperCase(),x:n=>Math.round(n).toString(16)};function J(n){return n}var K=Array.prototype.map,Q=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Rn(n){var t=n.grouping===void 0||n.thousands===void 0?J:jn(K.call(n.grouping,Number),n.thousands+""),e=n.currency===void 0?"":n.currency[0]+"",r=n.currency===void 0?"":n.currency[1]+"",i=n.decimal===void 0?".":n.decimal+"",f=n.numerals===void 0?J:Pn(K.call(n.numerals,String)),a=n.percent===void 0?"%":n.percent+"",u=n.minus===void 0?"−":n.minus+"",c=n.nan===void 0?"NaN":n.nan+"";function o(h){h=D(h);var l=h.fill,p=h.align,y=h.sign,b=h.symbol,k=h.zero,S=h.width,T=h.comma,w=h.precision,G=h.trim,d=h.type;d==="n"?(T=!0,d="g"):H[d]||(w===void 0&&(w=12),G=!0,d="g"),(k||l==="0"&&p==="=")&&(k=!0,l="0",p="=");var en=b==="$"?e:b==="#"&&/[boxX]/.test(d)?"0"+d.toLowerCase():"",on=b==="$"?r:/[%p]/.test(d)?a:"",O=H[d],an=/[defgprs%]/.test(d);w=w===void 0?6:/[gprs]/.test(d)?Math.max(1,Math.min(21,w)):Math.max(0,Math.min(20,w));function V(m){var N=en,g=on,x,X,j;if(d==="c")g=O(m)+g,m="";else{m=+m;var P=m<0||1/m<0;if(m=isNaN(m)?c:O(Math.abs(m),w),G&&(m=$n(m)),P&&+m==0&&y!=="+"&&(P=!1),N=(P?y==="("?y:u:y==="-"||y==="("?"":y)+N,g=(d==="s"?Q[8+nn/3]:"")+g+(P&&y==="("?")":""),an){for(x=-1,X=m.length;++xj||j>57){g=(j===46?i+m.slice(x+1):m.slice(x))+g,m=m.slice(0,x);break}}}T&&!k&&(m=t(m,1/0));var z=N.length+m.length+g.length,M=z>1)+N+m+g+M.slice(z);break;default:m=M+N+m+g;break}return f(m)}return V.toString=function(){return h+""},V}function s(h,l){var p=o((h=D(h),h.type="f",h)),y=Math.max(-8,Math.min(8,Math.floor(v(l)/3)))*3,b=Math.pow(10,-y),k=Q[8+y/3];return function(S){return p(b*S)+k}}return{format:o,formatPrefix:s}}var $,tn,rn;En({thousands:",",grouping:[3],currency:["$",""]});function En(n){return $=Rn(n),tn=$.format,rn=$.formatPrefix,$}function Dn(n){return Math.max(0,-v(Math.abs(n)))}function Tn(n,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(v(t)/3)))*3-v(Math.abs(n)))}function In(n,t){return n=Math.abs(n),t=Math.abs(t)-n,Math.max(0,v(t)-v(n))+1}function Ln(n){return function(){return n}}function qn(n){return+n}var W=[0,1];function A(n){return n}function q(n,t){return(t-=n=+n)?function(e){return(e-n)/t}:Ln(isNaN(t)?NaN:.5)}function Cn(n,t){var e;return n>t&&(e=n,n=t,t=e),function(r){return Math.max(n,Math.min(t,r))}}function Bn(n,t,e){var r=n[0],i=n[1],f=t[0],a=t[1];return i2?Gn:Bn,c=o=null,h}function h(l){return l==null||isNaN(l=+l)?f:(c||(c=u(n.map(r),t,e)))(r(a(l)))}return h.invert=function(l){return a(i((o||(o=u(t,n.map(r),I)))(l)))},h.domain=function(l){return arguments.length?(n=Array.from(l,qn),s()):n.slice()},h.range=function(l){return arguments.length?(t=Array.from(l),s()):t.slice()},h.rangeRound=function(l){return t=Array.from(l),e=bn,s()},h.clamp=function(l){return arguments.length?(a=l?!0:A,s()):a!==A},h.interpolate=function(l){return arguments.length?(e=l,s()):e},h.unknown=function(l){return arguments.length?(f=l,h):f},function(l,p){return r=l,i=p,s()}}function Xn(){return Vn()(A,A)}function Un(n,t,e,r){var i=wn(n,t,e),f;switch(r=D(r??",f"),r.type){case"s":{var a=Math.max(Math.abs(n),Math.abs(t));return r.precision==null&&!isNaN(f=Tn(i,a))&&(r.precision=f),rn(r,a)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(f=In(i,Math.max(Math.abs(n),Math.abs(t))))&&(r.precision=f-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(f=Dn(i))&&(r.precision=f-(r.type==="%")*2);break}}return tn(r)}function Yn(n){var t=n.domain;return n.ticks=function(e){var r=t();return pn(r[0],r[r.length-1],e??10)},n.tickFormat=function(e,r){var i=t();return Un(i[0],i[i.length-1],e??10,r)},n.nice=function(e){e==null&&(e=10);var r=t(),i=0,f=r.length-1,a=r[i],u=r[f],c,o,s=10;for(u0;){if(o=L(a,u,e),o===c)return r[i]=a,r[f]=u,t(r);if(o>0)a=Math.floor(a/o)*o,u=Math.ceil(u/o)*o;else if(o<0)a=Math.ceil(a*o)/o,u=Math.floor(u*o)/o;else break;c=o}return n},n}function Zn(){var n=Xn();return n.copy=function(){return On(n,Zn())},cn.apply(n,arguments),Yn(n)}export{On as a,_ as b,Xn as c,Zn as l,wn as t}; +import{be as un,bf as I,bg as U,bh as Y,bi as fn}from"./index-BmyXM-jo.js";import{i as cn}from"./init-Gi6I4Gst.js";function F(n,t){return n==null||t==null?NaN:nt?1:n>=t?0:NaN}function hn(n,t){return n==null||t==null?NaN:tn?1:t>=n?0:NaN}function _(n){let t,e,r;n.length!==2?(t=F,e=(u,c)=>F(n(u),c),r=(u,c)=>n(u)-c):(t=n===F||n===hn?n:mn,e=n,r=n);function i(u,c,o=0,s=u.length){if(o>>1;e(u[h],c)<0?o=h+1:s=h}while(o>>1;e(u[h],c)<=0?o=h+1:s=h}while(oo&&r(u[h-1],c)>-r(u[h],c)?h-1:h}return{left:i,center:a,right:f}}function mn(){return 0}function ln(n){return n===null?NaN:+n}const sn=_(F),dn=sn.right;_(ln).center;const gn=Math.sqrt(50),yn=Math.sqrt(10),Mn=Math.sqrt(2);function R(n,t,e){const r=(t-n)/Math.max(0,e),i=Math.floor(Math.log10(r)),f=r/Math.pow(10,i),a=f>=gn?10:f>=yn?5:f>=Mn?2:1;let u,c,o;return i<0?(o=Math.pow(10,-i)/a,u=Math.round(n*o),c=Math.round(t*o),u/ot&&--c,o=-o):(o=Math.pow(10,i)*a,u=Math.round(n/o),c=Math.round(t/o),u*ot&&--c),c0))return[];if(n===t)return[n];const r=t=i))return[];const u=f-i+1,c=new Array(u);if(r)if(a<0)for(let o=0;o=1e21?n.toLocaleString("en").replace(/,/g,""):n.toString(10)}function E(n,t){if((e=(n=t?n.toExponential(t-1):n.toExponential()).indexOf("e"))<0)return null;var e,r=n.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+n.slice(e+1)]}function v(n){return n=E(Math.abs(n)),n?n[1]:NaN}function jn(n,t){return function(e,r){for(var i=e.length,f=[],a=0,u=n[0],c=0;i>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),f.push(e.substring(i-=u,i+u)),!((c+=u+1)>r));)u=n[a=(a+1)%n.length];return f.reverse().join(t)}}function Pn(n){return function(t){return t.replace(/[0-9]/g,function(e){return n[+e]})}}var zn=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function D(n){if(!(t=zn.exec(n)))throw new Error("invalid format: "+n);var t;return new B({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}D.prototype=B.prototype;function B(n){this.fill=n.fill===void 0?" ":n.fill+"",this.align=n.align===void 0?">":n.align+"",this.sign=n.sign===void 0?"-":n.sign+"",this.symbol=n.symbol===void 0?"":n.symbol+"",this.zero=!!n.zero,this.width=n.width===void 0?void 0:+n.width,this.comma=!!n.comma,this.precision=n.precision===void 0?void 0:+n.precision,this.trim=!!n.trim,this.type=n.type===void 0?"":n.type+""}B.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};function $n(n){n:for(var t=n.length,e=1,r=-1,i;e0&&(r=0);break}return r>0?n.slice(0,r)+n.slice(i+1):n}var nn;function Fn(n,t){var e=E(n,t);if(!e)return n+"";var r=e[0],i=e[1],f=i-(nn=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,a=r.length;return f===a?r:f>a?r+new Array(f-a+1).join("0"):f>0?r.slice(0,f)+"."+r.slice(f):"0."+new Array(1-f).join("0")+E(n,Math.max(0,t+f-1))[0]}function Z(n,t){var e=E(n,t);if(!e)return n+"";var r=e[0],i=e[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")}const H={"%":(n,t)=>(n*100).toFixed(t),b:n=>Math.round(n).toString(2),c:n=>n+"",d:Sn,e:(n,t)=>n.toExponential(t),f:(n,t)=>n.toFixed(t),g:(n,t)=>n.toPrecision(t),o:n=>Math.round(n).toString(8),p:(n,t)=>Z(n*100,t),r:Z,s:Fn,X:n=>Math.round(n).toString(16).toUpperCase(),x:n=>Math.round(n).toString(16)};function J(n){return n}var K=Array.prototype.map,Q=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Rn(n){var t=n.grouping===void 0||n.thousands===void 0?J:jn(K.call(n.grouping,Number),n.thousands+""),e=n.currency===void 0?"":n.currency[0]+"",r=n.currency===void 0?"":n.currency[1]+"",i=n.decimal===void 0?".":n.decimal+"",f=n.numerals===void 0?J:Pn(K.call(n.numerals,String)),a=n.percent===void 0?"%":n.percent+"",u=n.minus===void 0?"−":n.minus+"",c=n.nan===void 0?"NaN":n.nan+"";function o(h){h=D(h);var l=h.fill,p=h.align,y=h.sign,b=h.symbol,k=h.zero,S=h.width,T=h.comma,w=h.precision,G=h.trim,d=h.type;d==="n"?(T=!0,d="g"):H[d]||(w===void 0&&(w=12),G=!0,d="g"),(k||l==="0"&&p==="=")&&(k=!0,l="0",p="=");var en=b==="$"?e:b==="#"&&/[boxX]/.test(d)?"0"+d.toLowerCase():"",on=b==="$"?r:/[%p]/.test(d)?a:"",O=H[d],an=/[defgprs%]/.test(d);w=w===void 0?6:/[gprs]/.test(d)?Math.max(1,Math.min(21,w)):Math.max(0,Math.min(20,w));function V(m){var N=en,g=on,x,X,j;if(d==="c")g=O(m)+g,m="";else{m=+m;var P=m<0||1/m<0;if(m=isNaN(m)?c:O(Math.abs(m),w),G&&(m=$n(m)),P&&+m==0&&y!=="+"&&(P=!1),N=(P?y==="("?y:u:y==="-"||y==="("?"":y)+N,g=(d==="s"?Q[8+nn/3]:"")+g+(P&&y==="("?")":""),an){for(x=-1,X=m.length;++xj||j>57){g=(j===46?i+m.slice(x+1):m.slice(x))+g,m=m.slice(0,x);break}}}T&&!k&&(m=t(m,1/0));var z=N.length+m.length+g.length,M=z>1)+N+m+g+M.slice(z);break;default:m=M+N+m+g;break}return f(m)}return V.toString=function(){return h+""},V}function s(h,l){var p=o((h=D(h),h.type="f",h)),y=Math.max(-8,Math.min(8,Math.floor(v(l)/3)))*3,b=Math.pow(10,-y),k=Q[8+y/3];return function(S){return p(b*S)+k}}return{format:o,formatPrefix:s}}var $,tn,rn;En({thousands:",",grouping:[3],currency:["$",""]});function En(n){return $=Rn(n),tn=$.format,rn=$.formatPrefix,$}function Dn(n){return Math.max(0,-v(Math.abs(n)))}function Tn(n,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(v(t)/3)))*3-v(Math.abs(n)))}function In(n,t){return n=Math.abs(n),t=Math.abs(t)-n,Math.max(0,v(t)-v(n))+1}function Ln(n){return function(){return n}}function qn(n){return+n}var W=[0,1];function A(n){return n}function q(n,t){return(t-=n=+n)?function(e){return(e-n)/t}:Ln(isNaN(t)?NaN:.5)}function Cn(n,t){var e;return n>t&&(e=n,n=t,t=e),function(r){return Math.max(n,Math.min(t,r))}}function Bn(n,t,e){var r=n[0],i=n[1],f=t[0],a=t[1];return i2?Gn:Bn,c=o=null,h}function h(l){return l==null||isNaN(l=+l)?f:(c||(c=u(n.map(r),t,e)))(r(a(l)))}return h.invert=function(l){return a(i((o||(o=u(t,n.map(r),I)))(l)))},h.domain=function(l){return arguments.length?(n=Array.from(l,qn),s()):n.slice()},h.range=function(l){return arguments.length?(t=Array.from(l),s()):t.slice()},h.rangeRound=function(l){return t=Array.from(l),e=bn,s()},h.clamp=function(l){return arguments.length?(a=l?!0:A,s()):a!==A},h.interpolate=function(l){return arguments.length?(e=l,s()):e},h.unknown=function(l){return arguments.length?(f=l,h):f},function(l,p){return r=l,i=p,s()}}function Xn(){return Vn()(A,A)}function Un(n,t,e,r){var i=wn(n,t,e),f;switch(r=D(r??",f"),r.type){case"s":{var a=Math.max(Math.abs(n),Math.abs(t));return r.precision==null&&!isNaN(f=Tn(i,a))&&(r.precision=f),rn(r,a)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(f=In(i,Math.max(Math.abs(n),Math.abs(t))))&&(r.precision=f-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(f=Dn(i))&&(r.precision=f-(r.type==="%")*2);break}}return tn(r)}function Yn(n){var t=n.domain;return n.ticks=function(e){var r=t();return pn(r[0],r[r.length-1],e??10)},n.tickFormat=function(e,r){var i=t();return Un(i[0],i[i.length-1],e??10,r)},n.nice=function(e){e==null&&(e=10);var r=t(),i=0,f=r.length-1,a=r[i],u=r[f],c,o,s=10;for(u0;){if(o=L(a,u,e),o===c)return r[i]=a,r[f]=u,t(r);if(o>0)a=Math.floor(a/o)*o,u=Math.ceil(u/o)*o;else if(o<0)a=Math.ceil(a*o)/o,u=Math.floor(u*o)/o;else break;c=o}return n},n}function Zn(){var n=Xn();return n.copy=function(){return On(n,Zn())},cn.apply(n,arguments),Yn(n)}export{On as a,_ as b,Xn as c,Zn as l,wn as t}; diff --git a/assets/min-CjiScnR7.js b/assets/min-CuKIA37g.js similarity index 91% rename from assets/min-CjiScnR7.js rename to assets/min-CuKIA37g.js index 466bb4c..20d489f 100644 --- a/assets/min-CjiScnR7.js +++ b/assets/min-CuKIA37g.js @@ -1 +1 @@ -import{aP as x,aB as I,aQ as l,aR as w,aS as M,aT as m,aU as h,aG as O,aV as A,aW as E,aX as F,aY as N,aZ as P}from"./index-DqL3MUN2.js";import{c as p}from"./_baseUniq-B1Flybha.js";var g=1/0,R=17976931348623157e292;function T(n){if(!n)return n===0?n:0;if(n=x(n),n===g||n===-g){var a=n<0?-1:1;return a*R}return n===n?n:0}function G(n){var a=T(n),r=a%1;return a===a?r?a-r:a:0}var b=Object.prototype,L=b.hasOwnProperty,V=I(function(n,a){n=Object(n);var r=-1,e=a.length,t=e>2?a[2]:void 0;for(t&&l(a[0],a[1],t)&&(e=1);++r-1?t[f?a[i]:i]:void 0}}var X=Math.max;function Y(n,a,r){var e=n==null?0:n.length;if(!e)return-1;var t=r==null?0:G(r);return t<0&&(t=X(e+t,0)),A(n,h(a),t)}var Z=S(Y);function q(n,a){var r=-1,e=m(n)?Array(n.length):[];return p(n,function(t,f,i){e[++r]=a(t,f,i)}),e}function _(n,a){var r=E(n)?F:q;return r(n,h(a))}function B(n,a){return n2?a[2]:void 0;for(t&&l(a[0],a[1],t)&&(e=1);++r-1?t[f?a[i]:i]:void 0}}var X=Math.max;function Y(n,a,r){var e=n==null?0:n.length;if(!e)return-1;var t=r==null?0:G(r);return t<0&&(t=X(e+t,0)),A(n,h(a),t)}var Z=S(Y);function q(n,a){var r=-1,e=m(n)?Array(n.length):[];return p(n,function(t,f,i){e[++r]=a(t,f,i)}),e}function _(n,a){var r=E(n)?F:q;return r(n,h(a))}function B(n,a){return nc&&(this.rect.x-=(this.labelWidth-c)/2,this.setWidth(this.labelWidth)),this.labelHeight>l&&(this.labelPos=="center"?this.rect.y-=(this.labelHeight-l)/2:this.labelPos=="top"&&(this.rect.y-=this.labelHeight-l),this.setHeight(this.labelHeight))}}},a.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==t.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},a.prototype.transform=function(n){var c=this.rect.x;c>i.WORLD_BOUNDARY?c=i.WORLD_BOUNDARY:c<-i.WORLD_BOUNDARY&&(c=-i.WORLD_BOUNDARY);var l=this.rect.y;l>i.WORLD_BOUNDARY?l=i.WORLD_BOUNDARY:l<-i.WORLD_BOUNDARY&&(l=-i.WORLD_BOUNDARY);var E=new g(c,l),T=n.inverseTransformPoint(E);this.setLocation(T.x,T.y)},a.prototype.getLeft=function(){return this.rect.x},a.prototype.getRight=function(){return this.rect.x+this.rect.width},a.prototype.getTop=function(){return this.rect.y},a.prototype.getBottom=function(){return this.rect.y+this.rect.height},a.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},f.exports=a},function(f,m,y){function r(t,e){t==null&&e==null?(this.x=0,this.y=0):(this.x=t,this.y=e)}r.prototype.getX=function(){return this.x},r.prototype.getY=function(){return this.y},r.prototype.setX=function(t){this.x=t},r.prototype.setY=function(t){this.y=t},r.prototype.getDifference=function(t){return new DimensionD(this.x-t.x,this.y-t.y)},r.prototype.getCopy=function(){return new r(this.x,this.y)},r.prototype.translate=function(t){return this.x+=t.width,this.y+=t.height,this},f.exports=r},function(f,m,y){var r=y(2),t=y(10),e=y(0),i=y(6),o=y(3),g=y(1),a=y(13),v=y(12),n=y(11);function c(E,T,D){r.call(this,D),this.estimatedSize=t.MIN_VALUE,this.margin=e.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=E,T!=null&&T instanceof i?this.graphManager=T:T!=null&&T instanceof Layout&&(this.graphManager=T.graphManager)}c.prototype=Object.create(r.prototype);for(var l in r)c[l]=r[l];c.prototype.getNodes=function(){return this.nodes},c.prototype.getEdges=function(){return this.edges},c.prototype.getGraphManager=function(){return this.graphManager},c.prototype.getParent=function(){return this.parent},c.prototype.getLeft=function(){return this.left},c.prototype.getRight=function(){return this.right},c.prototype.getTop=function(){return this.top},c.prototype.getBottom=function(){return this.bottom},c.prototype.isConnected=function(){return this.isConnected},c.prototype.add=function(E,T,D){if(T==null&&D==null){var L=E;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(L)>-1)throw"Node already in graph!";return L.owner=this,this.getNodes().push(L),L}else{var O=E;if(!(this.getNodes().indexOf(T)>-1&&this.getNodes().indexOf(D)>-1))throw"Source or target not in graph!";if(!(T.owner==D.owner&&T.owner==this))throw"Both owners must be this graph!";return T.owner!=D.owner?null:(O.source=T,O.target=D,O.isInterGraph=!1,this.getEdges().push(O),T.edges.push(O),D!=T&&D.edges.push(O),O)}},c.prototype.remove=function(E){var T=E;if(E instanceof o){if(T==null)throw"Node is null!";if(!(T.owner!=null&&T.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var D=T.edges.slice(),L,O=D.length,d=0;d-1&&h>-1))throw"Source and/or target doesn't know this edge!";L.source.edges.splice(s,1),L.target!=L.source&&L.target.edges.splice(h,1);var N=L.source.owner.getEdges().indexOf(L);if(N==-1)throw"Not in owner's edge list!";L.source.owner.getEdges().splice(N,1)}},c.prototype.updateLeftTop=function(){for(var E=t.MAX_VALUE,T=t.MAX_VALUE,D,L,O,d=this.getNodes(),N=d.length,s=0;sD&&(E=D),T>L&&(T=L)}return E==t.MAX_VALUE?null:(d[0].getParent().paddingLeft!=null?O=d[0].getParent().paddingLeft:O=this.margin,this.left=T-O,this.top=E-O,new v(this.left,this.top))},c.prototype.updateBounds=function(E){for(var T=t.MAX_VALUE,D=-t.MAX_VALUE,L=t.MAX_VALUE,O=-t.MAX_VALUE,d,N,s,h,u,p=this.nodes,A=p.length,C=0;Cd&&(T=d),Ds&&(L=s),Od&&(T=d),Ds&&(L=s),O=this.nodes.length){var A=0;D.forEach(function(C){C.owner==E&&A++}),A==this.nodes.length&&(this.isConnected=!0)}},f.exports=c},function(f,m,y){var r,t=y(1);function e(i){r=y(5),this.layout=i,this.graphs=[],this.edges=[]}e.prototype.addRoot=function(){var i=this.layout.newGraph(),o=this.layout.newNode(null),g=this.add(i,o);return this.setRootGraph(g),this.rootGraph},e.prototype.add=function(i,o,g,a,v){if(g==null&&a==null&&v==null){if(i==null)throw"Graph is null!";if(o==null)throw"Parent node is null!";if(this.graphs.indexOf(i)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(i),i.parent!=null)throw"Already has a parent!";if(o.child!=null)throw"Already has a child!";return i.parent=o,o.child=i,i}else{v=g,a=o,g=i;var n=a.getOwner(),c=v.getOwner();if(!(n!=null&&n.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(c!=null&&c.getGraphManager()==this))throw"Target not in this graph mgr!";if(n==c)return g.isInterGraph=!1,n.add(g,a,v);if(g.isInterGraph=!0,g.source=a,g.target=v,this.edges.indexOf(g)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(g),!(g.source!=null&&g.target!=null))throw"Edge source and/or target is null!";if(!(g.source.edges.indexOf(g)==-1&&g.target.edges.indexOf(g)==-1))throw"Edge already in source and/or target incidency list!";return g.source.edges.push(g),g.target.edges.push(g),g}},e.prototype.remove=function(i){if(i instanceof r){var o=i;if(o.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(o==this.rootGraph||o.parent!=null&&o.parent.graphManager==this))throw"Invalid parent node!";var g=[];g=g.concat(o.getEdges());for(var a,v=g.length,n=0;n=i.getRight()?o[0]+=Math.min(i.getX()-e.getX(),e.getRight()-i.getRight()):i.getX()<=e.getX()&&i.getRight()>=e.getRight()&&(o[0]+=Math.min(e.getX()-i.getX(),i.getRight()-e.getRight())),e.getY()<=i.getY()&&e.getBottom()>=i.getBottom()?o[1]+=Math.min(i.getY()-e.getY(),e.getBottom()-i.getBottom()):i.getY()<=e.getY()&&i.getBottom()>=e.getBottom()&&(o[1]+=Math.min(e.getY()-i.getY(),i.getBottom()-e.getBottom()));var v=Math.abs((i.getCenterY()-e.getCenterY())/(i.getCenterX()-e.getCenterX()));i.getCenterY()===e.getCenterY()&&i.getCenterX()===e.getCenterX()&&(v=1);var n=v*o[0],c=o[1]/v;o[0]n)return o[0]=g,o[1]=l,o[2]=v,o[3]=p,!1;if(av)return o[0]=c,o[1]=a,o[2]=h,o[3]=n,!1;if(gv?(o[0]=T,o[1]=D,x=!0):(o[0]=E,o[1]=l,x=!0):U===M&&(g>v?(o[0]=c,o[1]=l,x=!0):(o[0]=L,o[1]=D,x=!0)),-X===M?v>g?(o[2]=u,o[3]=p,_=!0):(o[2]=h,o[3]=s,_=!0):X===M&&(v>g?(o[2]=N,o[3]=s,_=!0):(o[2]=A,o[3]=p,_=!0)),x&&_)return!1;if(g>v?a>n?(G=this.getCardinalDirection(U,M,4),F=this.getCardinalDirection(X,M,2)):(G=this.getCardinalDirection(-U,M,3),F=this.getCardinalDirection(-X,M,1)):a>n?(G=this.getCardinalDirection(-U,M,1),F=this.getCardinalDirection(-X,M,3)):(G=this.getCardinalDirection(U,M,2),F=this.getCardinalDirection(X,M,4)),!x)switch(G){case 1:Y=l,b=g+-d/M,o[0]=b,o[1]=Y;break;case 2:b=L,Y=a+O*M,o[0]=b,o[1]=Y;break;case 3:Y=D,b=g+d/M,o[0]=b,o[1]=Y;break;case 4:b=T,Y=a+-O*M,o[0]=b,o[1]=Y;break}if(!_)switch(F){case 1:H=s,k=v+-R/M,o[2]=k,o[3]=H;break;case 2:k=A,H=n+C*M,o[2]=k,o[3]=H;break;case 3:H=p,k=v+R/M,o[2]=k,o[3]=H;break;case 4:k=u,H=n+-C*M,o[2]=k,o[3]=H;break}}return!1},t.getCardinalDirection=function(e,i,o){return e>i?o:1+o%4},t.getIntersection=function(e,i,o,g){if(g==null)return this.getIntersection2(e,i,o);var a=e.x,v=e.y,n=i.x,c=i.y,l=o.x,E=o.y,T=g.x,D=g.y,L=void 0,O=void 0,d=void 0,N=void 0,s=void 0,h=void 0,u=void 0,p=void 0,A=void 0;return d=c-v,s=a-n,u=n*v-a*c,N=D-E,h=l-T,p=T*E-l*D,A=d*h-N*s,A===0?null:(L=(s*p-h*u)/A,O=(N*u-d*p)/A,new r(L,O))},t.angleOfVector=function(e,i,o,g){var a=void 0;return e!==o?(a=Math.atan((g-i)/(o-e)),o0?1:t<0?-1:0},r.floor=function(t){return t<0?Math.ceil(t):Math.floor(t)},r.ceil=function(t){return t<0?Math.floor(t):Math.ceil(t)},f.exports=r},function(f,m,y){function r(){}r.MAX_VALUE=2147483647,r.MIN_VALUE=-2147483648,f.exports=r},function(f,m,y){var r=function(){function a(v,n){for(var c=0;c"u"?"undefined":r(e);return e==null||i!="object"&&i!="function"},f.exports=t},function(f,m,y){function r(l){if(Array.isArray(l)){for(var E=0,T=Array(l.length);E0&&E;){for(d.push(s[0]);d.length>0&&E;){var h=d[0];d.splice(0,1),O.add(h);for(var u=h.getEdges(),L=0;L-1&&s.splice(R,1)}O=new Set,N=new Map}}return l},c.prototype.createDummyNodesForBendpoints=function(l){for(var E=[],T=l.source,D=this.graphManager.calcLowestCommonAncestor(l.source,l.target),L=0;L0){for(var D=this.edgeToDummyNodes.get(T),L=0;L=0&&E.splice(p,1);var A=N.getNeighborsList();A.forEach(function(x){if(T.indexOf(x)<0){var _=D.get(x),U=_-1;U==1&&h.push(x),D.set(x,U)}})}T=T.concat(h),(E.length==1||E.length==2)&&(L=!0,O=E[0])}return O},c.prototype.setGraphManager=function(l){this.graphManager=l},f.exports=c},function(f,m,y){function r(){}r.seed=1,r.x=0,r.nextDouble=function(){return r.x=Math.sin(r.seed++)*1e4,r.x-Math.floor(r.x)},f.exports=r},function(f,m,y){var r=y(4);function t(e,i){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}t.prototype.getWorldOrgX=function(){return this.lworldOrgX},t.prototype.setWorldOrgX=function(e){this.lworldOrgX=e},t.prototype.getWorldOrgY=function(){return this.lworldOrgY},t.prototype.setWorldOrgY=function(e){this.lworldOrgY=e},t.prototype.getWorldExtX=function(){return this.lworldExtX},t.prototype.setWorldExtX=function(e){this.lworldExtX=e},t.prototype.getWorldExtY=function(){return this.lworldExtY},t.prototype.setWorldExtY=function(e){this.lworldExtY=e},t.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},t.prototype.setDeviceOrgX=function(e){this.ldeviceOrgX=e},t.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},t.prototype.setDeviceOrgY=function(e){this.ldeviceOrgY=e},t.prototype.getDeviceExtX=function(){return this.ldeviceExtX},t.prototype.setDeviceExtX=function(e){this.ldeviceExtX=e},t.prototype.getDeviceExtY=function(){return this.ldeviceExtY},t.prototype.setDeviceExtY=function(e){this.ldeviceExtY=e},t.prototype.transformX=function(e){var i=0,o=this.lworldExtX;return o!=0&&(i=this.ldeviceOrgX+(e-this.lworldOrgX)*this.ldeviceExtX/o),i},t.prototype.transformY=function(e){var i=0,o=this.lworldExtY;return o!=0&&(i=this.ldeviceOrgY+(e-this.lworldOrgY)*this.ldeviceExtY/o),i},t.prototype.inverseTransformX=function(e){var i=0,o=this.ldeviceExtX;return o!=0&&(i=this.lworldOrgX+(e-this.ldeviceOrgX)*this.lworldExtX/o),i},t.prototype.inverseTransformY=function(e){var i=0,o=this.ldeviceExtY;return o!=0&&(i=this.lworldOrgY+(e-this.ldeviceOrgY)*this.lworldExtY/o),i},t.prototype.inverseTransformPoint=function(e){var i=new r(this.inverseTransformX(e.x),this.inverseTransformY(e.y));return i},f.exports=t},function(f,m,y){function r(n){if(Array.isArray(n)){for(var c=0,l=Array(n.length);ce.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*e.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(n-e.ADAPTATION_LOWER_NODE_LIMIT)/(e.ADAPTATION_UPPER_NODE_LIMIT-e.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-e.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=e.MAX_NODE_DISPLACEMENT_INCREMENTAL):(n>e.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(e.COOLING_ADAPTATION_FACTOR,1-(n-e.ADAPTATION_LOWER_NODE_LIMIT)/(e.ADAPTATION_UPPER_NODE_LIMIT-e.ADAPTATION_LOWER_NODE_LIMIT)*(1-e.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=e.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},a.prototype.calcSpringForces=function(){for(var n=this.getAllEdges(),c,l=0;l0&&arguments[0]!==void 0?arguments[0]:!0,c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,l,E,T,D,L=this.getAllNodes(),O;if(this.useFRGridVariant)for(this.totalIterations%e.GRID_CALCULATION_CHECK_PERIOD==1&&n&&this.updateGrid(),O=new Set,l=0;ld||O>d)&&(n.gravitationForceX=-this.gravityConstant*T,n.gravitationForceY=-this.gravityConstant*D)):(d=c.getEstimatedSize()*this.compoundGravityRangeFactor,(L>d||O>d)&&(n.gravitationForceX=-this.gravityConstant*T*this.compoundGravityConstant,n.gravitationForceY=-this.gravityConstant*D*this.compoundGravityConstant))},a.prototype.isConverged=function(){var n,c=!1;return this.totalIterations>this.maxIterations/3&&(c=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),n=this.totalDisplacement=L.length||d>=L[0].length)){for(var N=0;Na}}]),o}();f.exports=i},function(f,m,y){var r=function(){function i(o,g){for(var a=0;a2&&arguments[2]!==void 0?arguments[2]:1,v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;t(this,i),this.sequence1=o,this.sequence2=g,this.match_score=a,this.mismatch_penalty=v,this.gap_penalty=n,this.iMax=o.length+1,this.jMax=g.length+1,this.grid=new Array(this.iMax);for(var c=0;c=0;o--){var g=this.listeners[o];g.event===e&&g.callback===i&&this.listeners.splice(o,1)}},t.emit=function(e,i){for(var o=0;og.coolingFactor*g.maxNodeDisplacement&&(this.displacementX=g.coolingFactor*g.maxNodeDisplacement*e.sign(this.displacementX)),Math.abs(this.displacementY)>g.coolingFactor*g.maxNodeDisplacement&&(this.displacementY=g.coolingFactor*g.maxNodeDisplacement*e.sign(this.displacementY)),this.child==null?this.moveBy(this.displacementX,this.displacementY):this.child.getNodes().length==0?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),g.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},i.prototype.propogateDisplacementToChildren=function(g,a){for(var v=this.getChild().getNodes(),n,c=0;c0)this.positionNodesRadially(s);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var h=new Set(this.getAllNodes()),u=this.nodesWithGravity.filter(function(p){return h.has(p)});this.graphManager.setAllNodesToApplyGravitation(u),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},d.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%v.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var s=new Set(this.getAllNodes()),h=this.nodesWithGravity.filter(function(A){return s.has(A)});this.graphManager.setAllNodesToApplyGravitation(h),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=v.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=v.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var u=!this.isTreeGrowing&&!this.isGrowthFinished,p=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(u,p),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},d.prototype.getPositionsData=function(){for(var s=this.graphManager.getAllNodes(),h={},u=0;u1){var x;for(x=0;xp&&(p=Math.floor(R.y)),C=Math.floor(R.x+a.DEFAULT_COMPONENT_SEPERATION)}this.transform(new l(n.WORLD_CENTER_X-R.x/2,n.WORLD_CENTER_Y-R.y/2))},d.radialLayout=function(s,h,u){var p=Math.max(this.maxDiagonalInTree(s),a.DEFAULT_RADIAL_SEPARATION);d.branchRadialLayout(h,null,0,359,0,p);var A=L.calculateBounds(s),C=new O;C.setDeviceOrgX(A.getMinX()),C.setDeviceOrgY(A.getMinY()),C.setWorldOrgX(u.x),C.setWorldOrgY(u.y);for(var R=0;R1;){var H=k[0];k.splice(0,1);var P=M.indexOf(H);P>=0&&M.splice(P,1),b--,G--}h!=null?Y=(M.indexOf(k[0])+1)%b:Y=0;for(var B=Math.abs(p-u)/G,$=Y;F!=G;$=++$%b){var K=M[$].getOtherEnd(s);if(K!=h){var Q=(u+F*B)%360,J=(Q+B)%360;d.branchRadialLayout(K,s,Q,J,A+C,C),F++}}},d.maxDiagonalInTree=function(s){for(var h=T.MIN_VALUE,u=0;uh&&(h=A)}return h},d.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},d.prototype.groupZeroDegreeMembers=function(){var s=this,h={};this.memberGroups={},this.idToDummyNode={};for(var u=[],p=this.graphManager.getAllNodes(),A=0;A"u"&&(h[x]=[]),h[x]=h[x].concat(C)}Object.keys(h).forEach(function(_){if(h[_].length>1){var U="DummyCompound_"+_;s.memberGroups[U]=h[_];var X=h[_][0].getParent(),M=new o(s.graphManager);M.id=U,M.paddingLeft=X.paddingLeft||0,M.paddingRight=X.paddingRight||0,M.paddingBottom=X.paddingBottom||0,M.paddingTop=X.paddingTop||0,s.idToDummyNode[U]=M;var G=s.getGraphManager().add(s.newGraph(),M),F=X.getChild();F.add(M);for(var b=0;b=0;s--){var h=this.compoundOrder[s],u=h.id,p=h.paddingLeft,A=h.paddingTop;this.adjustLocations(this.tiledMemberPack[u],h.rect.x,h.rect.y,p,A)}},d.prototype.repopulateZeroDegreeMembers=function(){var s=this,h=this.tiledZeroDegreePack;Object.keys(h).forEach(function(u){var p=s.idToDummyNode[u],A=p.paddingLeft,C=p.paddingTop;s.adjustLocations(h[u],p.rect.x,p.rect.y,A,C)})},d.prototype.getToBeTiled=function(s){var h=s.id;if(this.toBeTiled[h]!=null)return this.toBeTiled[h];var u=s.getChild();if(u==null)return this.toBeTiled[h]=!1,!1;for(var p=u.getNodes(),A=0;A0)return this.toBeTiled[h]=!1,!1;if(C.getChild()==null){this.toBeTiled[C.id]=!1;continue}if(!this.getToBeTiled(C))return this.toBeTiled[h]=!1,!1}return this.toBeTiled[h]=!0,!0},d.prototype.getNodeDegree=function(s){s.id;for(var h=s.getEdges(),u=0,p=0;p_&&(_=X.rect.height)}u+=_+s.verticalPadding}},d.prototype.tileCompoundMembers=function(s,h){var u=this;this.tiledMemberPack=[],Object.keys(s).forEach(function(p){var A=h[p];u.tiledMemberPack[p]=u.tileNodes(s[p],A.paddingLeft+A.paddingRight),A.rect.width=u.tiledMemberPack[p].width,A.rect.height=u.tiledMemberPack[p].height})},d.prototype.tileNodes=function(s,h){var u=a.TILING_PADDING_VERTICAL,p=a.TILING_PADDING_HORIZONTAL,A={rows:[],rowWidth:[],rowHeight:[],width:0,height:h,verticalPadding:u,horizontalPadding:p};s.sort(function(x,_){return x.rect.width*x.rect.height>_.rect.width*_.rect.height?-1:x.rect.width*x.rect.height<_.rect.width*_.rect.height?1:0});for(var C=0;C0&&(R+=s.horizontalPadding),s.rowWidth[u]=R,s.width0&&(x+=s.verticalPadding);var _=0;x>s.rowHeight[u]&&(_=s.rowHeight[u],s.rowHeight[u]=x,_=s.rowHeight[u]-_),s.height+=_,s.rows[u].push(h)},d.prototype.getShortestRowIndex=function(s){for(var h=-1,u=Number.MAX_VALUE,p=0;pu&&(h=p,u=s.rowWidth[p]);return h},d.prototype.canAddHorizontal=function(s,h,u){var p=this.getShortestRowIndex(s);if(p<0)return!0;var A=s.rowWidth[p];if(A+s.horizontalPadding+h<=s.width)return!0;var C=0;s.rowHeight[p]0&&(C=u+s.verticalPadding-s.rowHeight[p]);var R;s.width-A>=h+s.horizontalPadding?R=(s.height+C)/(A+h+s.horizontalPadding):R=(s.height+C)/s.width,C=u+s.verticalPadding;var x;return s.widthC&&h!=u){p.splice(-1,1),s.rows[u].push(A),s.rowWidth[h]=s.rowWidth[h]-C,s.rowWidth[u]=s.rowWidth[u]+C,s.width=s.rowWidth[instance.getLongestRowIndex(s)];for(var R=Number.MIN_VALUE,x=0;xR&&(R=p[x].height);h>0&&(R+=s.verticalPadding);var _=s.rowHeight[h]+s.rowHeight[u];s.rowHeight[h]=R,s.rowHeight[u]0)for(var F=A;F<=C;F++)G[0]+=this.grid[F][R-1].length+this.grid[F][R].length-1;if(C0)for(var F=R;F<=x;F++)G[3]+=this.grid[A-1][F].length+this.grid[A][F].length-1;for(var b=T.MAX_VALUE,Y,k,H=0;H0){var x;x=O.getGraphManager().add(O.newGraph(),u),this.processChildrenList(x,h,O)}}},l.prototype.stop=function(){return this.stopped=!0,this};var T=function(L){L("layout","cose-bilkent",l)};typeof cytoscape<"u"&&T(cytoscape),m.exports=T}])})})(dt);var St=dt.exports;const Gt=Nt(St);var st=function(){var I=S(function(O,d,N,s){for(N=N||{},s=O.length;s--;N[O[s]]=d);return N},"o"),w=[1,4],f=[1,13],m=[1,12],y=[1,15],r=[1,16],t=[1,20],e=[1,19],i=[6,7,8],o=[1,26],g=[1,24],a=[1,25],v=[6,7,11],n=[1,6,13,15,16,19,22],c=[1,33],l=[1,34],E=[1,6,7,11,13,15,16,19,22],T={trace:S(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:S(function(d,N,s,h,u,p,A){var C=p.length-1;switch(u){case 6:case 7:return h;case 8:h.getLogger().trace("Stop NL ");break;case 9:h.getLogger().trace("Stop EOF ");break;case 11:h.getLogger().trace("Stop NL2 ");break;case 12:h.getLogger().trace("Stop EOF2 ");break;case 15:h.getLogger().info("Node: ",p[C].id),h.addNode(p[C-1].length,p[C].id,p[C].descr,p[C].type);break;case 16:h.getLogger().trace("Icon: ",p[C]),h.decorateNode({icon:p[C]});break;case 17:case 21:h.decorateNode({class:p[C]});break;case 18:h.getLogger().trace("SPACELIST");break;case 19:h.getLogger().trace("Node: ",p[C].id),h.addNode(0,p[C].id,p[C].descr,p[C].type);break;case 20:h.decorateNode({icon:p[C]});break;case 25:h.getLogger().trace("node found ..",p[C-2]),this.$={id:p[C-1],descr:p[C-1],type:h.getType(p[C-2],p[C])};break;case 26:this.$={id:p[C],descr:p[C],type:h.nodeType.DEFAULT};break;case 27:h.getLogger().trace("node found ..",p[C-3]),this.$={id:p[C-3],descr:p[C-1],type:h.getType(p[C-2],p[C])};break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:w},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:w},{6:f,7:[1,10],9:9,12:11,13:m,14:14,15:y,16:r,17:17,18:18,19:t,22:e},I(i,[2,3]),{1:[2,2]},I(i,[2,4]),I(i,[2,5]),{1:[2,6],6:f,12:21,13:m,14:14,15:y,16:r,17:17,18:18,19:t,22:e},{6:f,9:22,12:11,13:m,14:14,15:y,16:r,17:17,18:18,19:t,22:e},{6:o,7:g,10:23,11:a},I(v,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:t,22:e}),I(v,[2,18]),I(v,[2,19]),I(v,[2,20]),I(v,[2,21]),I(v,[2,23]),I(v,[2,24]),I(v,[2,26],{19:[1,30]}),{20:[1,31]},{6:o,7:g,10:32,11:a},{1:[2,7],6:f,12:21,13:m,14:14,15:y,16:r,17:17,18:18,19:t,22:e},I(n,[2,14],{7:c,11:l}),I(E,[2,8]),I(E,[2,9]),I(E,[2,10]),I(v,[2,15]),I(v,[2,16]),I(v,[2,17]),{20:[1,35]},{21:[1,36]},I(n,[2,13],{7:c,11:l}),I(E,[2,11]),I(E,[2,12]),{21:[1,37]},I(v,[2,25]),I(v,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:S(function(d,N){if(N.recoverable)this.trace(d);else{var s=new Error(d);throw s.hash=N,s}},"parseError"),parse:S(function(d){var N=this,s=[0],h=[],u=[null],p=[],A=this.table,C="",R=0,x=0,_=2,U=1,X=p.slice.call(arguments,1),M=Object.create(this.lexer),G={yy:{}};for(var F in this.yy)Object.prototype.hasOwnProperty.call(this.yy,F)&&(G.yy[F]=this.yy[F]);M.setInput(d,G.yy),G.yy.lexer=M,G.yy.parser=this,typeof M.yylloc>"u"&&(M.yylloc={});var b=M.yylloc;p.push(b);var Y=M.options&&M.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function k(V){s.length=s.length-2*V,u.length=u.length-V,p.length=p.length-V}S(k,"popStack");function H(){var V;return V=h.pop()||M.lex()||U,typeof V!="number"&&(V instanceof Array&&(h=V,V=h.pop()),V=N.symbols_[V]||V),V}S(H,"lex");for(var P,B,$,K,Q={},J,j,gt,q;;){if(B=s[s.length-1],this.defaultActions[B]?$=this.defaultActions[B]:((P===null||typeof P>"u")&&(P=H()),$=A[B]&&A[B][P]),typeof $>"u"||!$.length||!$[0]){var rt="";q=[];for(J in A[B])this.terminals_[J]&&J>_&&q.push("'"+this.terminals_[J]+"'");M.showPosition?rt="Parse error on line "+(R+1)+`: +import{aK as at,aL as Nt,_ as S,l as z,j as Dt,U as mt,L as Ot,d as ot,E as At,O as It,z as tt,i as et,$ as Ct,a0 as Rt,a1 as xt}from"./index-BmyXM-jo.js";import{c as pt}from"./cytoscape.esm-BUox6XmP.js";var dt={exports:{}},it={exports:{}},nt={exports:{}},ut;function Mt(){return ut||(ut=1,function(I,w){(function(m,y){I.exports=y()})(at,function(){return function(f){var m={};function y(r){if(m[r])return m[r].exports;var t=m[r]={i:r,l:!1,exports:{}};return f[r].call(t.exports,t,t.exports,y),t.l=!0,t.exports}return y.m=f,y.c=m,y.i=function(r){return r},y.d=function(r,t,e){y.o(r,t)||Object.defineProperty(r,t,{configurable:!1,enumerable:!0,get:e})},y.n=function(r){var t=r&&r.__esModule?function(){return r.default}:function(){return r};return y.d(t,"a",t),t},y.o=function(r,t){return Object.prototype.hasOwnProperty.call(r,t)},y.p="",y(y.s=26)}([function(f,m,y){function r(){}r.QUALITY=1,r.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,r.DEFAULT_INCREMENTAL=!1,r.DEFAULT_ANIMATION_ON_LAYOUT=!0,r.DEFAULT_ANIMATION_DURING_LAYOUT=!1,r.DEFAULT_ANIMATION_PERIOD=50,r.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,r.DEFAULT_GRAPH_MARGIN=15,r.NODE_DIMENSIONS_INCLUDE_LABELS=!1,r.SIMPLE_NODE_SIZE=40,r.SIMPLE_NODE_HALF_SIZE=r.SIMPLE_NODE_SIZE/2,r.EMPTY_COMPOUND_NODE_SIZE=40,r.MIN_EDGE_LENGTH=1,r.WORLD_BOUNDARY=1e6,r.INITIAL_WORLD_BOUNDARY=r.WORLD_BOUNDARY/1e3,r.WORLD_CENTER_X=1200,r.WORLD_CENTER_Y=900,f.exports=r},function(f,m,y){var r=y(2),t=y(8),e=y(9);function i(g,a,v){r.call(this,v),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=v,this.bendpoints=[],this.source=g,this.target=a}i.prototype=Object.create(r.prototype);for(var o in r)i[o]=r[o];i.prototype.getSource=function(){return this.source},i.prototype.getTarget=function(){return this.target},i.prototype.isInterGraph=function(){return this.isInterGraph},i.prototype.getLength=function(){return this.length},i.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},i.prototype.getBendpoints=function(){return this.bendpoints},i.prototype.getLca=function(){return this.lca},i.prototype.getSourceInLca=function(){return this.sourceInLca},i.prototype.getTargetInLca=function(){return this.targetInLca},i.prototype.getOtherEnd=function(g){if(this.source===g)return this.target;if(this.target===g)return this.source;throw"Node is not incident with this edge"},i.prototype.getOtherEndInGraph=function(g,a){for(var v=this.getOtherEnd(g),n=a.getGraphManager().getRoot();;){if(v.getOwner()==a)return v;if(v.getOwner()==n)break;v=v.getOwner().getParent()}return null},i.prototype.updateLength=function(){var g=new Array(4);this.isOverlapingSourceAndTarget=t.getIntersection(this.target.getRect(),this.source.getRect(),g),this.isOverlapingSourceAndTarget||(this.lengthX=g[0]-g[2],this.lengthY=g[1]-g[3],Math.abs(this.lengthX)<1&&(this.lengthX=e.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=e.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},i.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=e.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=e.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},f.exports=i},function(f,m,y){function r(t){this.vGraphObject=t}f.exports=r},function(f,m,y){var r=y(2),t=y(10),e=y(13),i=y(0),o=y(16),g=y(4);function a(n,c,l,E){l==null&&E==null&&(E=c),r.call(this,E),n.graphManager!=null&&(n=n.graphManager),this.estimatedSize=t.MIN_VALUE,this.inclusionTreeDepth=t.MAX_VALUE,this.vGraphObject=E,this.edges=[],this.graphManager=n,l!=null&&c!=null?this.rect=new e(c.x,c.y,l.width,l.height):this.rect=new e}a.prototype=Object.create(r.prototype);for(var v in r)a[v]=r[v];a.prototype.getEdges=function(){return this.edges},a.prototype.getChild=function(){return this.child},a.prototype.getOwner=function(){return this.owner},a.prototype.getWidth=function(){return this.rect.width},a.prototype.setWidth=function(n){this.rect.width=n},a.prototype.getHeight=function(){return this.rect.height},a.prototype.setHeight=function(n){this.rect.height=n},a.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},a.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},a.prototype.getCenter=function(){return new g(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},a.prototype.getLocation=function(){return new g(this.rect.x,this.rect.y)},a.prototype.getRect=function(){return this.rect},a.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},a.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},a.prototype.setRect=function(n,c){this.rect.x=n.x,this.rect.y=n.y,this.rect.width=c.width,this.rect.height=c.height},a.prototype.setCenter=function(n,c){this.rect.x=n-this.rect.width/2,this.rect.y=c-this.rect.height/2},a.prototype.setLocation=function(n,c){this.rect.x=n,this.rect.y=c},a.prototype.moveBy=function(n,c){this.rect.x+=n,this.rect.y+=c},a.prototype.getEdgeListToNode=function(n){var c=[],l=this;return l.edges.forEach(function(E){if(E.target==n){if(E.source!=l)throw"Incorrect edge source!";c.push(E)}}),c},a.prototype.getEdgesBetween=function(n){var c=[],l=this;return l.edges.forEach(function(E){if(!(E.source==l||E.target==l))throw"Incorrect edge source and/or target";(E.target==n||E.source==n)&&c.push(E)}),c},a.prototype.getNeighborsList=function(){var n=new Set,c=this;return c.edges.forEach(function(l){if(l.source==c)n.add(l.target);else{if(l.target!=c)throw"Incorrect incidency!";n.add(l.source)}}),n},a.prototype.withChildren=function(){var n=new Set,c,l;if(n.add(this),this.child!=null)for(var E=this.child.getNodes(),T=0;Tc&&(this.rect.x-=(this.labelWidth-c)/2,this.setWidth(this.labelWidth)),this.labelHeight>l&&(this.labelPos=="center"?this.rect.y-=(this.labelHeight-l)/2:this.labelPos=="top"&&(this.rect.y-=this.labelHeight-l),this.setHeight(this.labelHeight))}}},a.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==t.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},a.prototype.transform=function(n){var c=this.rect.x;c>i.WORLD_BOUNDARY?c=i.WORLD_BOUNDARY:c<-i.WORLD_BOUNDARY&&(c=-i.WORLD_BOUNDARY);var l=this.rect.y;l>i.WORLD_BOUNDARY?l=i.WORLD_BOUNDARY:l<-i.WORLD_BOUNDARY&&(l=-i.WORLD_BOUNDARY);var E=new g(c,l),T=n.inverseTransformPoint(E);this.setLocation(T.x,T.y)},a.prototype.getLeft=function(){return this.rect.x},a.prototype.getRight=function(){return this.rect.x+this.rect.width},a.prototype.getTop=function(){return this.rect.y},a.prototype.getBottom=function(){return this.rect.y+this.rect.height},a.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},f.exports=a},function(f,m,y){function r(t,e){t==null&&e==null?(this.x=0,this.y=0):(this.x=t,this.y=e)}r.prototype.getX=function(){return this.x},r.prototype.getY=function(){return this.y},r.prototype.setX=function(t){this.x=t},r.prototype.setY=function(t){this.y=t},r.prototype.getDifference=function(t){return new DimensionD(this.x-t.x,this.y-t.y)},r.prototype.getCopy=function(){return new r(this.x,this.y)},r.prototype.translate=function(t){return this.x+=t.width,this.y+=t.height,this},f.exports=r},function(f,m,y){var r=y(2),t=y(10),e=y(0),i=y(6),o=y(3),g=y(1),a=y(13),v=y(12),n=y(11);function c(E,T,D){r.call(this,D),this.estimatedSize=t.MIN_VALUE,this.margin=e.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=E,T!=null&&T instanceof i?this.graphManager=T:T!=null&&T instanceof Layout&&(this.graphManager=T.graphManager)}c.prototype=Object.create(r.prototype);for(var l in r)c[l]=r[l];c.prototype.getNodes=function(){return this.nodes},c.prototype.getEdges=function(){return this.edges},c.prototype.getGraphManager=function(){return this.graphManager},c.prototype.getParent=function(){return this.parent},c.prototype.getLeft=function(){return this.left},c.prototype.getRight=function(){return this.right},c.prototype.getTop=function(){return this.top},c.prototype.getBottom=function(){return this.bottom},c.prototype.isConnected=function(){return this.isConnected},c.prototype.add=function(E,T,D){if(T==null&&D==null){var L=E;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(L)>-1)throw"Node already in graph!";return L.owner=this,this.getNodes().push(L),L}else{var O=E;if(!(this.getNodes().indexOf(T)>-1&&this.getNodes().indexOf(D)>-1))throw"Source or target not in graph!";if(!(T.owner==D.owner&&T.owner==this))throw"Both owners must be this graph!";return T.owner!=D.owner?null:(O.source=T,O.target=D,O.isInterGraph=!1,this.getEdges().push(O),T.edges.push(O),D!=T&&D.edges.push(O),O)}},c.prototype.remove=function(E){var T=E;if(E instanceof o){if(T==null)throw"Node is null!";if(!(T.owner!=null&&T.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var D=T.edges.slice(),L,O=D.length,d=0;d-1&&h>-1))throw"Source and/or target doesn't know this edge!";L.source.edges.splice(s,1),L.target!=L.source&&L.target.edges.splice(h,1);var N=L.source.owner.getEdges().indexOf(L);if(N==-1)throw"Not in owner's edge list!";L.source.owner.getEdges().splice(N,1)}},c.prototype.updateLeftTop=function(){for(var E=t.MAX_VALUE,T=t.MAX_VALUE,D,L,O,d=this.getNodes(),N=d.length,s=0;sD&&(E=D),T>L&&(T=L)}return E==t.MAX_VALUE?null:(d[0].getParent().paddingLeft!=null?O=d[0].getParent().paddingLeft:O=this.margin,this.left=T-O,this.top=E-O,new v(this.left,this.top))},c.prototype.updateBounds=function(E){for(var T=t.MAX_VALUE,D=-t.MAX_VALUE,L=t.MAX_VALUE,O=-t.MAX_VALUE,d,N,s,h,u,p=this.nodes,A=p.length,C=0;Cd&&(T=d),Ds&&(L=s),Od&&(T=d),Ds&&(L=s),O=this.nodes.length){var A=0;D.forEach(function(C){C.owner==E&&A++}),A==this.nodes.length&&(this.isConnected=!0)}},f.exports=c},function(f,m,y){var r,t=y(1);function e(i){r=y(5),this.layout=i,this.graphs=[],this.edges=[]}e.prototype.addRoot=function(){var i=this.layout.newGraph(),o=this.layout.newNode(null),g=this.add(i,o);return this.setRootGraph(g),this.rootGraph},e.prototype.add=function(i,o,g,a,v){if(g==null&&a==null&&v==null){if(i==null)throw"Graph is null!";if(o==null)throw"Parent node is null!";if(this.graphs.indexOf(i)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(i),i.parent!=null)throw"Already has a parent!";if(o.child!=null)throw"Already has a child!";return i.parent=o,o.child=i,i}else{v=g,a=o,g=i;var n=a.getOwner(),c=v.getOwner();if(!(n!=null&&n.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(c!=null&&c.getGraphManager()==this))throw"Target not in this graph mgr!";if(n==c)return g.isInterGraph=!1,n.add(g,a,v);if(g.isInterGraph=!0,g.source=a,g.target=v,this.edges.indexOf(g)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(g),!(g.source!=null&&g.target!=null))throw"Edge source and/or target is null!";if(!(g.source.edges.indexOf(g)==-1&&g.target.edges.indexOf(g)==-1))throw"Edge already in source and/or target incidency list!";return g.source.edges.push(g),g.target.edges.push(g),g}},e.prototype.remove=function(i){if(i instanceof r){var o=i;if(o.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(o==this.rootGraph||o.parent!=null&&o.parent.graphManager==this))throw"Invalid parent node!";var g=[];g=g.concat(o.getEdges());for(var a,v=g.length,n=0;n=i.getRight()?o[0]+=Math.min(i.getX()-e.getX(),e.getRight()-i.getRight()):i.getX()<=e.getX()&&i.getRight()>=e.getRight()&&(o[0]+=Math.min(e.getX()-i.getX(),i.getRight()-e.getRight())),e.getY()<=i.getY()&&e.getBottom()>=i.getBottom()?o[1]+=Math.min(i.getY()-e.getY(),e.getBottom()-i.getBottom()):i.getY()<=e.getY()&&i.getBottom()>=e.getBottom()&&(o[1]+=Math.min(e.getY()-i.getY(),i.getBottom()-e.getBottom()));var v=Math.abs((i.getCenterY()-e.getCenterY())/(i.getCenterX()-e.getCenterX()));i.getCenterY()===e.getCenterY()&&i.getCenterX()===e.getCenterX()&&(v=1);var n=v*o[0],c=o[1]/v;o[0]n)return o[0]=g,o[1]=l,o[2]=v,o[3]=p,!1;if(av)return o[0]=c,o[1]=a,o[2]=h,o[3]=n,!1;if(gv?(o[0]=T,o[1]=D,x=!0):(o[0]=E,o[1]=l,x=!0):U===M&&(g>v?(o[0]=c,o[1]=l,x=!0):(o[0]=L,o[1]=D,x=!0)),-X===M?v>g?(o[2]=u,o[3]=p,_=!0):(o[2]=h,o[3]=s,_=!0):X===M&&(v>g?(o[2]=N,o[3]=s,_=!0):(o[2]=A,o[3]=p,_=!0)),x&&_)return!1;if(g>v?a>n?(G=this.getCardinalDirection(U,M,4),F=this.getCardinalDirection(X,M,2)):(G=this.getCardinalDirection(-U,M,3),F=this.getCardinalDirection(-X,M,1)):a>n?(G=this.getCardinalDirection(-U,M,1),F=this.getCardinalDirection(-X,M,3)):(G=this.getCardinalDirection(U,M,2),F=this.getCardinalDirection(X,M,4)),!x)switch(G){case 1:Y=l,b=g+-d/M,o[0]=b,o[1]=Y;break;case 2:b=L,Y=a+O*M,o[0]=b,o[1]=Y;break;case 3:Y=D,b=g+d/M,o[0]=b,o[1]=Y;break;case 4:b=T,Y=a+-O*M,o[0]=b,o[1]=Y;break}if(!_)switch(F){case 1:H=s,k=v+-R/M,o[2]=k,o[3]=H;break;case 2:k=A,H=n+C*M,o[2]=k,o[3]=H;break;case 3:H=p,k=v+R/M,o[2]=k,o[3]=H;break;case 4:k=u,H=n+-C*M,o[2]=k,o[3]=H;break}}return!1},t.getCardinalDirection=function(e,i,o){return e>i?o:1+o%4},t.getIntersection=function(e,i,o,g){if(g==null)return this.getIntersection2(e,i,o);var a=e.x,v=e.y,n=i.x,c=i.y,l=o.x,E=o.y,T=g.x,D=g.y,L=void 0,O=void 0,d=void 0,N=void 0,s=void 0,h=void 0,u=void 0,p=void 0,A=void 0;return d=c-v,s=a-n,u=n*v-a*c,N=D-E,h=l-T,p=T*E-l*D,A=d*h-N*s,A===0?null:(L=(s*p-h*u)/A,O=(N*u-d*p)/A,new r(L,O))},t.angleOfVector=function(e,i,o,g){var a=void 0;return e!==o?(a=Math.atan((g-i)/(o-e)),o0?1:t<0?-1:0},r.floor=function(t){return t<0?Math.ceil(t):Math.floor(t)},r.ceil=function(t){return t<0?Math.floor(t):Math.ceil(t)},f.exports=r},function(f,m,y){function r(){}r.MAX_VALUE=2147483647,r.MIN_VALUE=-2147483648,f.exports=r},function(f,m,y){var r=function(){function a(v,n){for(var c=0;c"u"?"undefined":r(e);return e==null||i!="object"&&i!="function"},f.exports=t},function(f,m,y){function r(l){if(Array.isArray(l)){for(var E=0,T=Array(l.length);E0&&E;){for(d.push(s[0]);d.length>0&&E;){var h=d[0];d.splice(0,1),O.add(h);for(var u=h.getEdges(),L=0;L-1&&s.splice(R,1)}O=new Set,N=new Map}}return l},c.prototype.createDummyNodesForBendpoints=function(l){for(var E=[],T=l.source,D=this.graphManager.calcLowestCommonAncestor(l.source,l.target),L=0;L0){for(var D=this.edgeToDummyNodes.get(T),L=0;L=0&&E.splice(p,1);var A=N.getNeighborsList();A.forEach(function(x){if(T.indexOf(x)<0){var _=D.get(x),U=_-1;U==1&&h.push(x),D.set(x,U)}})}T=T.concat(h),(E.length==1||E.length==2)&&(L=!0,O=E[0])}return O},c.prototype.setGraphManager=function(l){this.graphManager=l},f.exports=c},function(f,m,y){function r(){}r.seed=1,r.x=0,r.nextDouble=function(){return r.x=Math.sin(r.seed++)*1e4,r.x-Math.floor(r.x)},f.exports=r},function(f,m,y){var r=y(4);function t(e,i){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}t.prototype.getWorldOrgX=function(){return this.lworldOrgX},t.prototype.setWorldOrgX=function(e){this.lworldOrgX=e},t.prototype.getWorldOrgY=function(){return this.lworldOrgY},t.prototype.setWorldOrgY=function(e){this.lworldOrgY=e},t.prototype.getWorldExtX=function(){return this.lworldExtX},t.prototype.setWorldExtX=function(e){this.lworldExtX=e},t.prototype.getWorldExtY=function(){return this.lworldExtY},t.prototype.setWorldExtY=function(e){this.lworldExtY=e},t.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},t.prototype.setDeviceOrgX=function(e){this.ldeviceOrgX=e},t.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},t.prototype.setDeviceOrgY=function(e){this.ldeviceOrgY=e},t.prototype.getDeviceExtX=function(){return this.ldeviceExtX},t.prototype.setDeviceExtX=function(e){this.ldeviceExtX=e},t.prototype.getDeviceExtY=function(){return this.ldeviceExtY},t.prototype.setDeviceExtY=function(e){this.ldeviceExtY=e},t.prototype.transformX=function(e){var i=0,o=this.lworldExtX;return o!=0&&(i=this.ldeviceOrgX+(e-this.lworldOrgX)*this.ldeviceExtX/o),i},t.prototype.transformY=function(e){var i=0,o=this.lworldExtY;return o!=0&&(i=this.ldeviceOrgY+(e-this.lworldOrgY)*this.ldeviceExtY/o),i},t.prototype.inverseTransformX=function(e){var i=0,o=this.ldeviceExtX;return o!=0&&(i=this.lworldOrgX+(e-this.ldeviceOrgX)*this.lworldExtX/o),i},t.prototype.inverseTransformY=function(e){var i=0,o=this.ldeviceExtY;return o!=0&&(i=this.lworldOrgY+(e-this.ldeviceOrgY)*this.lworldExtY/o),i},t.prototype.inverseTransformPoint=function(e){var i=new r(this.inverseTransformX(e.x),this.inverseTransformY(e.y));return i},f.exports=t},function(f,m,y){function r(n){if(Array.isArray(n)){for(var c=0,l=Array(n.length);ce.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*e.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(n-e.ADAPTATION_LOWER_NODE_LIMIT)/(e.ADAPTATION_UPPER_NODE_LIMIT-e.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-e.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=e.MAX_NODE_DISPLACEMENT_INCREMENTAL):(n>e.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(e.COOLING_ADAPTATION_FACTOR,1-(n-e.ADAPTATION_LOWER_NODE_LIMIT)/(e.ADAPTATION_UPPER_NODE_LIMIT-e.ADAPTATION_LOWER_NODE_LIMIT)*(1-e.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=e.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},a.prototype.calcSpringForces=function(){for(var n=this.getAllEdges(),c,l=0;l0&&arguments[0]!==void 0?arguments[0]:!0,c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,l,E,T,D,L=this.getAllNodes(),O;if(this.useFRGridVariant)for(this.totalIterations%e.GRID_CALCULATION_CHECK_PERIOD==1&&n&&this.updateGrid(),O=new Set,l=0;ld||O>d)&&(n.gravitationForceX=-this.gravityConstant*T,n.gravitationForceY=-this.gravityConstant*D)):(d=c.getEstimatedSize()*this.compoundGravityRangeFactor,(L>d||O>d)&&(n.gravitationForceX=-this.gravityConstant*T*this.compoundGravityConstant,n.gravitationForceY=-this.gravityConstant*D*this.compoundGravityConstant))},a.prototype.isConverged=function(){var n,c=!1;return this.totalIterations>this.maxIterations/3&&(c=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),n=this.totalDisplacement=L.length||d>=L[0].length)){for(var N=0;Na}}]),o}();f.exports=i},function(f,m,y){var r=function(){function i(o,g){for(var a=0;a2&&arguments[2]!==void 0?arguments[2]:1,v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;t(this,i),this.sequence1=o,this.sequence2=g,this.match_score=a,this.mismatch_penalty=v,this.gap_penalty=n,this.iMax=o.length+1,this.jMax=g.length+1,this.grid=new Array(this.iMax);for(var c=0;c=0;o--){var g=this.listeners[o];g.event===e&&g.callback===i&&this.listeners.splice(o,1)}},t.emit=function(e,i){for(var o=0;og.coolingFactor*g.maxNodeDisplacement&&(this.displacementX=g.coolingFactor*g.maxNodeDisplacement*e.sign(this.displacementX)),Math.abs(this.displacementY)>g.coolingFactor*g.maxNodeDisplacement&&(this.displacementY=g.coolingFactor*g.maxNodeDisplacement*e.sign(this.displacementY)),this.child==null?this.moveBy(this.displacementX,this.displacementY):this.child.getNodes().length==0?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),g.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},i.prototype.propogateDisplacementToChildren=function(g,a){for(var v=this.getChild().getNodes(),n,c=0;c0)this.positionNodesRadially(s);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var h=new Set(this.getAllNodes()),u=this.nodesWithGravity.filter(function(p){return h.has(p)});this.graphManager.setAllNodesToApplyGravitation(u),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},d.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%v.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var s=new Set(this.getAllNodes()),h=this.nodesWithGravity.filter(function(A){return s.has(A)});this.graphManager.setAllNodesToApplyGravitation(h),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=v.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=v.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var u=!this.isTreeGrowing&&!this.isGrowthFinished,p=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(u,p),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},d.prototype.getPositionsData=function(){for(var s=this.graphManager.getAllNodes(),h={},u=0;u1){var x;for(x=0;xp&&(p=Math.floor(R.y)),C=Math.floor(R.x+a.DEFAULT_COMPONENT_SEPERATION)}this.transform(new l(n.WORLD_CENTER_X-R.x/2,n.WORLD_CENTER_Y-R.y/2))},d.radialLayout=function(s,h,u){var p=Math.max(this.maxDiagonalInTree(s),a.DEFAULT_RADIAL_SEPARATION);d.branchRadialLayout(h,null,0,359,0,p);var A=L.calculateBounds(s),C=new O;C.setDeviceOrgX(A.getMinX()),C.setDeviceOrgY(A.getMinY()),C.setWorldOrgX(u.x),C.setWorldOrgY(u.y);for(var R=0;R1;){var H=k[0];k.splice(0,1);var P=M.indexOf(H);P>=0&&M.splice(P,1),b--,G--}h!=null?Y=(M.indexOf(k[0])+1)%b:Y=0;for(var B=Math.abs(p-u)/G,$=Y;F!=G;$=++$%b){var K=M[$].getOtherEnd(s);if(K!=h){var Q=(u+F*B)%360,J=(Q+B)%360;d.branchRadialLayout(K,s,Q,J,A+C,C),F++}}},d.maxDiagonalInTree=function(s){for(var h=T.MIN_VALUE,u=0;uh&&(h=A)}return h},d.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},d.prototype.groupZeroDegreeMembers=function(){var s=this,h={};this.memberGroups={},this.idToDummyNode={};for(var u=[],p=this.graphManager.getAllNodes(),A=0;A"u"&&(h[x]=[]),h[x]=h[x].concat(C)}Object.keys(h).forEach(function(_){if(h[_].length>1){var U="DummyCompound_"+_;s.memberGroups[U]=h[_];var X=h[_][0].getParent(),M=new o(s.graphManager);M.id=U,M.paddingLeft=X.paddingLeft||0,M.paddingRight=X.paddingRight||0,M.paddingBottom=X.paddingBottom||0,M.paddingTop=X.paddingTop||0,s.idToDummyNode[U]=M;var G=s.getGraphManager().add(s.newGraph(),M),F=X.getChild();F.add(M);for(var b=0;b=0;s--){var h=this.compoundOrder[s],u=h.id,p=h.paddingLeft,A=h.paddingTop;this.adjustLocations(this.tiledMemberPack[u],h.rect.x,h.rect.y,p,A)}},d.prototype.repopulateZeroDegreeMembers=function(){var s=this,h=this.tiledZeroDegreePack;Object.keys(h).forEach(function(u){var p=s.idToDummyNode[u],A=p.paddingLeft,C=p.paddingTop;s.adjustLocations(h[u],p.rect.x,p.rect.y,A,C)})},d.prototype.getToBeTiled=function(s){var h=s.id;if(this.toBeTiled[h]!=null)return this.toBeTiled[h];var u=s.getChild();if(u==null)return this.toBeTiled[h]=!1,!1;for(var p=u.getNodes(),A=0;A0)return this.toBeTiled[h]=!1,!1;if(C.getChild()==null){this.toBeTiled[C.id]=!1;continue}if(!this.getToBeTiled(C))return this.toBeTiled[h]=!1,!1}return this.toBeTiled[h]=!0,!0},d.prototype.getNodeDegree=function(s){s.id;for(var h=s.getEdges(),u=0,p=0;p_&&(_=X.rect.height)}u+=_+s.verticalPadding}},d.prototype.tileCompoundMembers=function(s,h){var u=this;this.tiledMemberPack=[],Object.keys(s).forEach(function(p){var A=h[p];u.tiledMemberPack[p]=u.tileNodes(s[p],A.paddingLeft+A.paddingRight),A.rect.width=u.tiledMemberPack[p].width,A.rect.height=u.tiledMemberPack[p].height})},d.prototype.tileNodes=function(s,h){var u=a.TILING_PADDING_VERTICAL,p=a.TILING_PADDING_HORIZONTAL,A={rows:[],rowWidth:[],rowHeight:[],width:0,height:h,verticalPadding:u,horizontalPadding:p};s.sort(function(x,_){return x.rect.width*x.rect.height>_.rect.width*_.rect.height?-1:x.rect.width*x.rect.height<_.rect.width*_.rect.height?1:0});for(var C=0;C0&&(R+=s.horizontalPadding),s.rowWidth[u]=R,s.width0&&(x+=s.verticalPadding);var _=0;x>s.rowHeight[u]&&(_=s.rowHeight[u],s.rowHeight[u]=x,_=s.rowHeight[u]-_),s.height+=_,s.rows[u].push(h)},d.prototype.getShortestRowIndex=function(s){for(var h=-1,u=Number.MAX_VALUE,p=0;pu&&(h=p,u=s.rowWidth[p]);return h},d.prototype.canAddHorizontal=function(s,h,u){var p=this.getShortestRowIndex(s);if(p<0)return!0;var A=s.rowWidth[p];if(A+s.horizontalPadding+h<=s.width)return!0;var C=0;s.rowHeight[p]0&&(C=u+s.verticalPadding-s.rowHeight[p]);var R;s.width-A>=h+s.horizontalPadding?R=(s.height+C)/(A+h+s.horizontalPadding):R=(s.height+C)/s.width,C=u+s.verticalPadding;var x;return s.widthC&&h!=u){p.splice(-1,1),s.rows[u].push(A),s.rowWidth[h]=s.rowWidth[h]-C,s.rowWidth[u]=s.rowWidth[u]+C,s.width=s.rowWidth[instance.getLongestRowIndex(s)];for(var R=Number.MIN_VALUE,x=0;xR&&(R=p[x].height);h>0&&(R+=s.verticalPadding);var _=s.rowHeight[h]+s.rowHeight[u];s.rowHeight[h]=R,s.rowHeight[u]0)for(var F=A;F<=C;F++)G[0]+=this.grid[F][R-1].length+this.grid[F][R].length-1;if(C0)for(var F=R;F<=x;F++)G[3]+=this.grid[A-1][F].length+this.grid[A][F].length-1;for(var b=T.MAX_VALUE,Y,k,H=0;H0){var x;x=O.getGraphManager().add(O.newGraph(),u),this.processChildrenList(x,h,O)}}},l.prototype.stop=function(){return this.stopped=!0,this};var T=function(L){L("layout","cose-bilkent",l)};typeof cytoscape<"u"&&T(cytoscape),m.exports=T}])})})(dt);var St=dt.exports;const Gt=Nt(St);var st=function(){var I=S(function(O,d,N,s){for(N=N||{},s=O.length;s--;N[O[s]]=d);return N},"o"),w=[1,4],f=[1,13],m=[1,12],y=[1,15],r=[1,16],t=[1,20],e=[1,19],i=[6,7,8],o=[1,26],g=[1,24],a=[1,25],v=[6,7,11],n=[1,6,13,15,16,19,22],c=[1,33],l=[1,34],E=[1,6,7,11,13,15,16,19,22],T={trace:S(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:S(function(d,N,s,h,u,p,A){var C=p.length-1;switch(u){case 6:case 7:return h;case 8:h.getLogger().trace("Stop NL ");break;case 9:h.getLogger().trace("Stop EOF ");break;case 11:h.getLogger().trace("Stop NL2 ");break;case 12:h.getLogger().trace("Stop EOF2 ");break;case 15:h.getLogger().info("Node: ",p[C].id),h.addNode(p[C-1].length,p[C].id,p[C].descr,p[C].type);break;case 16:h.getLogger().trace("Icon: ",p[C]),h.decorateNode({icon:p[C]});break;case 17:case 21:h.decorateNode({class:p[C]});break;case 18:h.getLogger().trace("SPACELIST");break;case 19:h.getLogger().trace("Node: ",p[C].id),h.addNode(0,p[C].id,p[C].descr,p[C].type);break;case 20:h.decorateNode({icon:p[C]});break;case 25:h.getLogger().trace("node found ..",p[C-2]),this.$={id:p[C-1],descr:p[C-1],type:h.getType(p[C-2],p[C])};break;case 26:this.$={id:p[C],descr:p[C],type:h.nodeType.DEFAULT};break;case 27:h.getLogger().trace("node found ..",p[C-3]),this.$={id:p[C-3],descr:p[C-1],type:h.getType(p[C-2],p[C])};break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:w},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:w},{6:f,7:[1,10],9:9,12:11,13:m,14:14,15:y,16:r,17:17,18:18,19:t,22:e},I(i,[2,3]),{1:[2,2]},I(i,[2,4]),I(i,[2,5]),{1:[2,6],6:f,12:21,13:m,14:14,15:y,16:r,17:17,18:18,19:t,22:e},{6:f,9:22,12:11,13:m,14:14,15:y,16:r,17:17,18:18,19:t,22:e},{6:o,7:g,10:23,11:a},I(v,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:t,22:e}),I(v,[2,18]),I(v,[2,19]),I(v,[2,20]),I(v,[2,21]),I(v,[2,23]),I(v,[2,24]),I(v,[2,26],{19:[1,30]}),{20:[1,31]},{6:o,7:g,10:32,11:a},{1:[2,7],6:f,12:21,13:m,14:14,15:y,16:r,17:17,18:18,19:t,22:e},I(n,[2,14],{7:c,11:l}),I(E,[2,8]),I(E,[2,9]),I(E,[2,10]),I(v,[2,15]),I(v,[2,16]),I(v,[2,17]),{20:[1,35]},{21:[1,36]},I(n,[2,13],{7:c,11:l}),I(E,[2,11]),I(E,[2,12]),{21:[1,37]},I(v,[2,25]),I(v,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:S(function(d,N){if(N.recoverable)this.trace(d);else{var s=new Error(d);throw s.hash=N,s}},"parseError"),parse:S(function(d){var N=this,s=[0],h=[],u=[null],p=[],A=this.table,C="",R=0,x=0,_=2,U=1,X=p.slice.call(arguments,1),M=Object.create(this.lexer),G={yy:{}};for(var F in this.yy)Object.prototype.hasOwnProperty.call(this.yy,F)&&(G.yy[F]=this.yy[F]);M.setInput(d,G.yy),G.yy.lexer=M,G.yy.parser=this,typeof M.yylloc>"u"&&(M.yylloc={});var b=M.yylloc;p.push(b);var Y=M.options&&M.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function k(V){s.length=s.length-2*V,u.length=u.length-V,p.length=p.length-V}S(k,"popStack");function H(){var V;return V=h.pop()||M.lex()||U,typeof V!="number"&&(V instanceof Array&&(h=V,V=h.pop()),V=N.symbols_[V]||V),V}S(H,"lex");for(var P,B,$,K,Q={},J,j,gt,q;;){if(B=s[s.length-1],this.defaultActions[B]?$=this.defaultActions[B]:((P===null||typeof P>"u")&&(P=H()),$=A[B]&&A[B][P]),typeof $>"u"||!$.length||!$[0]){var rt="";q=[];for(J in A[B])this.terminals_[J]&&J>_&&q.push("'"+this.terminals_[J]+"'");M.showPosition?rt="Parse error on line "+(R+1)+`: `+M.showPosition()+` Expecting `+q.join(", ")+", got '"+(this.terminals_[P]||P)+"'":rt="Parse error on line "+(R+1)+": Unexpected "+(P==U?"end of input":"'"+(this.terminals_[P]||P)+"'"),this.parseError(rt,{text:M.match,token:this.terminals_[P]||P,line:M.yylineno,loc:b,expected:q})}if($[0]instanceof Array&&$.length>1)throw new Error("Parse Error: multiple actions possible at state: "+B+", token: "+P);switch($[0]){case 1:s.push(P),u.push(M.yytext),p.push(M.yylloc),s.push($[1]),P=null,x=M.yyleng,C=M.yytext,R=M.yylineno,b=M.yylloc;break;case 2:if(j=this.productions_[$[1]][1],Q.$=u[u.length-j],Q._$={first_line:p[p.length-(j||1)].first_line,last_line:p[p.length-1].last_line,first_column:p[p.length-(j||1)].first_column,last_column:p[p.length-1].last_column},Y&&(Q._$.range=[p[p.length-(j||1)].range[0],p[p.length-1].range[1]]),K=this.performAction.apply(Q,[C,x,R,G.yy,$[1],u,p].concat(X)),typeof K<"u")return K;j&&(s=s.slice(0,-1*j*2),u=u.slice(0,-1*j),p=p.slice(0,-1*j)),s.push(this.productions_[$[1]][0]),u.push(Q.$),p.push(Q._$),gt=A[s[s.length-2]][s[s.length-1]],s.push(gt);break;case 3:return!0}}return!0},"parse")},D=function(){var O={EOF:1,parseError:S(function(N,s){if(this.yy.parser)this.yy.parser.parseError(N,s);else throw new Error(N)},"parseError"),setInput:S(function(d,N){return this.yy=N||this.yy||{},this._input=d,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:S(function(){var d=this._input[0];this.yytext+=d,this.yyleng++,this.offset++,this.match+=d,this.matched+=d;var N=d.match(/(?:\r\n?|\n).*/g);return N?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),d},"input"),unput:S(function(d){var N=d.length,s=d.split(/(?:\r\n?|\n)/g);this._input=d+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-N),this.offset-=N;var h=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),s.length-1&&(this.yylineno-=s.length-1);var u=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:s?(s.length===h.length?this.yylloc.first_column:0)+h[h.length-s.length].length-s[0].length:this.yylloc.first_column-N},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-N]),this.yyleng=this.yytext.length,this},"unput"),more:S(function(){return this._more=!0,this},"more"),reject:S(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:S(function(d){this.unput(this.match.slice(d))},"less"),pastInput:S(function(){var d=this.matched.substr(0,this.matched.length-this.match.length);return(d.length>20?"...":"")+d.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:S(function(){var d=this.match;return d.length<20&&(d+=this._input.substr(0,20-d.length)),(d.substr(0,20)+(d.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:S(function(){var d=this.pastInput(),N=new Array(d.length+1).join("-");return d+this.upcomingInput()+` diff --git a/assets/pieDiagram-OZX6XH5M-DcX0GyZf.js b/assets/pieDiagram-OZX6XH5M-DM2JSR2T.js similarity index 93% rename from assets/pieDiagram-OZX6XH5M-DcX0GyZf.js rename to assets/pieDiagram-OZX6XH5M-DM2JSR2T.js index 9c55bd0..06a854f 100644 --- a/assets/pieDiagram-OZX6XH5M-DcX0GyZf.js +++ b/assets/pieDiagram-OZX6XH5M-DM2JSR2T.js @@ -1,4 +1,4 @@ -import{p as U}from"./chunk-OQCM5LHU-hYeIc3H-.js";import{ad as y,a5 as z,aJ as j,z as q,p as J,q as Z,s as H,g as K,c as Q,b as X,_ as p,l as F,r as Y,d as tt,A as et,E as at,L as rt,k as nt}from"./index-DqL3MUN2.js";import{p as it}from"./gitGraph-YCYPL57B-DANCyTsA.js";import{d as O}from"./arc-B1CpNSko.js";import{o as st}from"./ordinal-Cboi1Yqb.js";import"./min-CjiScnR7.js";import"./_baseUniq-B1Flybha.js";import"./init-Gi6I4Gst.js";function ot(t,a){return at?1:a>=t?0:NaN}function lt(t){return t}function ct(){var t=lt,a=ot,m=null,o=y(0),g=y(z),x=y(0);function i(e){var r,l=(e=j(e)).length,c,A,h=0,u=new Array(l),n=new Array(l),v=+o.apply(this,arguments),w=Math.min(z,Math.max(-z,g.apply(this,arguments)-v)),f,T=Math.min(Math.abs(w)/l,x.apply(this,arguments)),$=T*(w<0?-1:1),d;for(r=0;r0&&(h+=d);for(a!=null?u.sort(function(S,C){return a(n[S],n[C])}):m!=null&&u.sort(function(S,C){return m(e[S],e[C])}),r=0,A=h?(w-l*$)/h:0;r0?d*A:0)+$,n[c]={data:e[c],index:r,value:d,startAngle:v,endAngle:f,padAngle:T};return n}return i.value=function(e){return arguments.length?(t=typeof e=="function"?e:y(+e),i):t},i.sortValues=function(e){return arguments.length?(a=e,m=null,i):a},i.sort=function(e){return arguments.length?(m=e,a=null,i):m},i.startAngle=function(e){return arguments.length?(o=typeof e=="function"?e:y(+e),i):o},i.endAngle=function(e){return arguments.length?(g=typeof e=="function"?e:y(+e),i):g},i.padAngle=function(e){return arguments.length?(x=typeof e=="function"?e:y(+e),i):x},i}var P=q.pie,G={sections:new Map,showData:!1,config:P},b=G.sections,W=G.showData,ut=structuredClone(P),pt=p(()=>structuredClone(ut),"getConfig"),gt=p(()=>{b=new Map,W=G.showData,Y()},"clear"),dt=p(({label:t,value:a})=>{b.has(t)||(b.set(t,a),F.debug(`added new section: ${t}, with value: ${a}`))},"addSection"),ft=p(()=>b,"getSections"),mt=p(t=>{W=t},"setShowData"),ht=p(()=>W,"getShowData"),R={getConfig:pt,clear:gt,setDiagramTitle:J,getDiagramTitle:Z,setAccTitle:H,getAccTitle:K,setAccDescription:Q,getAccDescription:X,addSection:dt,getSections:ft,setShowData:mt,getShowData:ht},vt=p((t,a)=>{U(t,a),a.setShowData(t.showData),t.sections.map(a.addSection)},"populateDb"),St={parse:p(async t=>{const a=await it("pie",t);F.debug(a),vt(a,R)},"parse")},yt=p(t=>` +import{p as U}from"./chunk-OQCM5LHU-CSoVW7EB.js";import{ad as y,a5 as z,aJ as j,z as q,p as J,q as Z,s as H,g as K,c as Q,b as X,_ as p,l as F,r as Y,d as tt,A as et,E as at,L as rt,k as nt}from"./index-BmyXM-jo.js";import{p as it}from"./gitGraph-YCYPL57B-Bmt_-sZ3.js";import{d as O}from"./arc-BQjszOj9.js";import{o as st}from"./ordinal-Cboi1Yqb.js";import"./min-CuKIA37g.js";import"./_baseUniq-BdggiAxO.js";import"./init-Gi6I4Gst.js";function ot(t,a){return at?1:a>=t?0:NaN}function lt(t){return t}function ct(){var t=lt,a=ot,m=null,o=y(0),g=y(z),x=y(0);function i(e){var r,l=(e=j(e)).length,c,A,h=0,u=new Array(l),n=new Array(l),v=+o.apply(this,arguments),w=Math.min(z,Math.max(-z,g.apply(this,arguments)-v)),f,T=Math.min(Math.abs(w)/l,x.apply(this,arguments)),$=T*(w<0?-1:1),d;for(r=0;r0&&(h+=d);for(a!=null?u.sort(function(S,C){return a(n[S],n[C])}):m!=null&&u.sort(function(S,C){return m(e[S],e[C])}),r=0,A=h?(w-l*$)/h:0;r0?d*A:0)+$,n[c]={data:e[c],index:r,value:d,startAngle:v,endAngle:f,padAngle:T};return n}return i.value=function(e){return arguments.length?(t=typeof e=="function"?e:y(+e),i):t},i.sortValues=function(e){return arguments.length?(a=e,m=null,i):a},i.sort=function(e){return arguments.length?(m=e,a=null,i):m},i.startAngle=function(e){return arguments.length?(o=typeof e=="function"?e:y(+e),i):o},i.endAngle=function(e){return arguments.length?(g=typeof e=="function"?e:y(+e),i):g},i.padAngle=function(e){return arguments.length?(x=typeof e=="function"?e:y(+e),i):x},i}var P=q.pie,G={sections:new Map,showData:!1,config:P},b=G.sections,W=G.showData,ut=structuredClone(P),pt=p(()=>structuredClone(ut),"getConfig"),gt=p(()=>{b=new Map,W=G.showData,Y()},"clear"),dt=p(({label:t,value:a})=>{b.has(t)||(b.set(t,a),F.debug(`added new section: ${t}, with value: ${a}`))},"addSection"),ft=p(()=>b,"getSections"),mt=p(t=>{W=t},"setShowData"),ht=p(()=>W,"getShowData"),R={getConfig:pt,clear:gt,setDiagramTitle:J,getDiagramTitle:Z,setAccTitle:H,getAccTitle:K,setAccDescription:Q,getAccDescription:X,addSection:dt,getSections:ft,setShowData:mt,getShowData:ht},vt=p((t,a)=>{U(t,a),a.setShowData(t.showData),t.sections.map(a.addSection)},"populateDb"),St={parse:p(async t=>{const a=await it("pie",t);F.debug(a),vt(a,R)},"parse")},yt=p(t=>` .pieCircle{ stroke: ${t.pieStrokeColor}; stroke-width : ${t.pieStrokeWidth}; diff --git a/assets/quadrantDiagram-VG34DGKC-CjDMvYwc.js b/assets/quadrantDiagram-VG34DGKC-C5FwPLoa.js similarity index 99% rename from assets/quadrantDiagram-VG34DGKC-CjDMvYwc.js rename to assets/quadrantDiagram-VG34DGKC-C5FwPLoa.js index 9695f83..125833c 100644 --- a/assets/quadrantDiagram-VG34DGKC-CjDMvYwc.js +++ b/assets/quadrantDiagram-VG34DGKC-C5FwPLoa.js @@ -1,4 +1,4 @@ -import{_ as o,G as _e,z as D,l as At,d as wt,i as Ae,q as ie,s as ke,g as Fe,p as Pe,b as ve,c as Ce,r as Le,j as zt,k as Ee}from"./index-DqL3MUN2.js";import{l as ee}from"./linear-CK0OKaTM.js";import"./init-Gi6I4Gst.js";var Vt=function(){var t=o(function(j,r,l,g){for(l=l||{},g=j.length;g--;l[j[g]]=r);return l},"o"),n=[1,3],u=[1,4],c=[1,5],h=[1,6],p=[1,7],y=[1,4,5,10,12,13,14,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],S=[1,4,5,10,12,13,14,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],a=[55,56,57],A=[2,36],d=[1,37],T=[1,36],q=[1,38],m=[1,35],b=[1,43],x=[1,41],O=[1,14],Y=[1,23],G=[1,18],yt=[1,19],Tt=[1,20],dt=[1,21],Ft=[1,22],ut=[1,24],xt=[1,25],ft=[1,26],gt=[1,27],i=[1,28],Bt=[1,29],W=[1,32],U=[1,33],k=[1,34],F=[1,39],P=[1,40],v=[1,42],C=[1,44],H=[1,62],X=[1,61],L=[4,5,8,10,12,13,14,18,44,47,49,55,56,57,63,64,65,66,67],Rt=[1,65],Nt=[1,66],Wt=[1,67],Ut=[1,68],Qt=[1,69],Ot=[1,70],Ht=[1,71],Xt=[1,72],Mt=[1,73],Yt=[1,74],jt=[1,75],Gt=[1,76],I=[4,5,6,7,8,9,10,11,12,13,14,15,18],J=[1,90],$=[1,91],tt=[1,92],et=[1,99],it=[1,93],at=[1,96],nt=[1,94],st=[1,95],rt=[1,97],ot=[1,98],Pt=[1,102],Kt=[10,55,56,57],R=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],vt={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:"error",4:"ALPHA",5:"NUM",6:"NODE_STRING",7:"DOWN",8:"MINUS",9:"DEFAULT",10:"COMMA",11:"COLON",12:"AMP",13:"BRKT",14:"MULT",15:"UNICODE_TEXT",17:"UNIT",18:"SPACE",19:"STYLE",20:"PCT",25:"CLASSDEF",28:"QUADRANT",35:"title",36:"title_value",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"section",44:"point_start",45:"point_x",46:"point_y",47:"class_name",48:"X-AXIS",49:"AXIS-TEXT-DELIMITER",50:"Y-AXIS",51:"QUADRANT_1",52:"QUADRANT_2",53:"QUADRANT_3",54:"QUADRANT_4",55:"NEWLINE",56:"SEMI",57:"EOF",60:"STR",61:"MD_STR",63:"PUNCTUATION",64:"PLUS",65:"EQUALS",66:"DOT",67:"UNDERSCORE"},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:o(function(r,l,g,f,_,e,pt){var s=e.length-1;switch(_){case 23:this.$=e[s];break;case 24:this.$=e[s-1]+""+e[s];break;case 26:this.$=e[s-1]+e[s];break;case 27:this.$=[e[s].trim()];break;case 28:e[s-2].push(e[s].trim()),this.$=e[s-2];break;case 29:this.$=e[s-4],f.addClass(e[s-2],e[s]);break;case 37:this.$=[];break;case 42:this.$=e[s].trim(),f.setDiagramTitle(this.$);break;case 43:this.$=e[s].trim(),f.setAccTitle(this.$);break;case 44:case 45:this.$=e[s].trim(),f.setAccDescription(this.$);break;case 46:f.addSection(e[s].substr(8)),this.$=e[s].substr(8);break;case 47:f.addPoint(e[s-3],"",e[s-1],e[s],[]);break;case 48:f.addPoint(e[s-4],e[s-3],e[s-1],e[s],[]);break;case 49:f.addPoint(e[s-4],"",e[s-2],e[s-1],e[s]);break;case 50:f.addPoint(e[s-5],e[s-4],e[s-2],e[s-1],e[s]);break;case 51:f.setXAxisLeftText(e[s-2]),f.setXAxisRightText(e[s]);break;case 52:e[s-1].text+=" ⟶ ",f.setXAxisLeftText(e[s-1]);break;case 53:f.setXAxisLeftText(e[s]);break;case 54:f.setYAxisBottomText(e[s-2]),f.setYAxisTopText(e[s]);break;case 55:e[s-1].text+=" ⟶ ",f.setYAxisBottomText(e[s-1]);break;case 56:f.setYAxisBottomText(e[s]);break;case 57:f.setQuadrant1Text(e[s]);break;case 58:f.setQuadrant2Text(e[s]);break;case 59:f.setQuadrant3Text(e[s]);break;case 60:f.setQuadrant4Text(e[s]);break;case 64:this.$={text:e[s],type:"text"};break;case 65:this.$={text:e[s-1].text+""+e[s],type:e[s-1].type};break;case 66:this.$={text:e[s],type:"text"};break;case 67:this.$={text:e[s],type:"markdown"};break;case 68:this.$=e[s];break;case 69:this.$=e[s-1]+""+e[s];break}},"anonymous"),table:[{18:n,26:1,27:2,28:u,55:c,56:h,57:p},{1:[3]},{18:n,26:8,27:2,28:u,55:c,56:h,57:p},{18:n,26:9,27:2,28:u,55:c,56:h,57:p},t(y,[2,33],{29:10}),t(S,[2,61]),t(S,[2,62]),t(S,[2,63]),{1:[2,30]},{1:[2,31]},t(a,A,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:d,5:T,10:q,12:m,13:b,14:x,18:O,25:Y,35:G,37:yt,39:Tt,41:dt,42:Ft,48:ut,50:xt,51:ft,52:gt,53:i,54:Bt,60:W,61:U,63:k,64:F,65:P,66:v,67:C}),t(y,[2,34]),{27:45,55:c,56:h,57:p},t(a,[2,37]),t(a,A,{24:13,32:15,33:16,34:17,43:30,58:31,31:46,4:d,5:T,10:q,12:m,13:b,14:x,18:O,25:Y,35:G,37:yt,39:Tt,41:dt,42:Ft,48:ut,50:xt,51:ft,52:gt,53:i,54:Bt,60:W,61:U,63:k,64:F,65:P,66:v,67:C}),t(a,[2,39]),t(a,[2,40]),t(a,[2,41]),{36:[1,47]},{38:[1,48]},{40:[1,49]},t(a,[2,45]),t(a,[2,46]),{18:[1,50]},{4:d,5:T,10:q,12:m,13:b,14:x,43:51,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,10:q,12:m,13:b,14:x,43:52,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,10:q,12:m,13:b,14:x,43:53,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,10:q,12:m,13:b,14:x,43:54,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,10:q,12:m,13:b,14:x,43:55,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,10:q,12:m,13:b,14:x,43:56,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,44:[1,57],47:[1,58],58:60,59:59,63:k,64:F,65:P,66:v,67:C},t(L,[2,64]),t(L,[2,66]),t(L,[2,67]),t(L,[2,70]),t(L,[2,71]),t(L,[2,72]),t(L,[2,73]),t(L,[2,74]),t(L,[2,75]),t(L,[2,76]),t(L,[2,77]),t(L,[2,78]),t(L,[2,79]),t(L,[2,80]),t(y,[2,35]),t(a,[2,38]),t(a,[2,42]),t(a,[2,43]),t(a,[2,44]),{3:64,4:Rt,5:Nt,6:Wt,7:Ut,8:Qt,9:Ot,10:Ht,11:Xt,12:Mt,13:Yt,14:jt,15:Gt,21:63},t(a,[2,53],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,49:[1,77],63:k,64:F,65:P,66:v,67:C}),t(a,[2,56],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,49:[1,78],63:k,64:F,65:P,66:v,67:C}),t(a,[2,57],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),t(a,[2,58],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),t(a,[2,59],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),t(a,[2,60],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),{45:[1,79]},{44:[1,80]},t(L,[2,65]),t(L,[2,81]),t(L,[2,82]),t(L,[2,83]),{3:82,4:Rt,5:Nt,6:Wt,7:Ut,8:Qt,9:Ot,10:Ht,11:Xt,12:Mt,13:Yt,14:jt,15:Gt,18:[1,81]},t(I,[2,23]),t(I,[2,1]),t(I,[2,2]),t(I,[2,3]),t(I,[2,4]),t(I,[2,5]),t(I,[2,6]),t(I,[2,7]),t(I,[2,8]),t(I,[2,9]),t(I,[2,10]),t(I,[2,11]),t(I,[2,12]),t(a,[2,52],{58:31,43:83,4:d,5:T,10:q,12:m,13:b,14:x,60:W,61:U,63:k,64:F,65:P,66:v,67:C}),t(a,[2,55],{58:31,43:84,4:d,5:T,10:q,12:m,13:b,14:x,60:W,61:U,63:k,64:F,65:P,66:v,67:C}),{46:[1,85]},{45:[1,86]},{4:J,5:$,6:tt,8:et,11:it,13:at,16:89,17:nt,18:st,19:rt,20:ot,22:88,23:87},t(I,[2,24]),t(a,[2,51],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),t(a,[2,54],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),t(a,[2,47],{22:88,16:89,23:100,4:J,5:$,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:ot}),{46:[1,101]},t(a,[2,29],{10:Pt}),t(Kt,[2,27],{16:103,4:J,5:$,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:ot}),t(R,[2,25]),t(R,[2,13]),t(R,[2,14]),t(R,[2,15]),t(R,[2,16]),t(R,[2,17]),t(R,[2,18]),t(R,[2,19]),t(R,[2,20]),t(R,[2,21]),t(R,[2,22]),t(a,[2,49],{10:Pt}),t(a,[2,48],{22:88,16:89,23:104,4:J,5:$,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:ot}),{4:J,5:$,6:tt,8:et,11:it,13:at,16:89,17:nt,18:st,19:rt,20:ot,22:105},t(R,[2,26]),t(a,[2,50],{10:Pt}),t(Kt,[2,28],{16:103,4:J,5:$,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:ot})],defaultActions:{8:[2,30],9:[2,31]},parseError:o(function(r,l){if(l.recoverable)this.trace(r);else{var g=new Error(r);throw g.hash=l,g}},"parseError"),parse:o(function(r){var l=this,g=[0],f=[],_=[null],e=[],pt=this.table,s="",mt=0,Zt=0,qe=2,Jt=1,me=e.slice.call(arguments,1),E=Object.create(this.lexer),K={yy:{}};for(var Ct in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ct)&&(K.yy[Ct]=this.yy[Ct]);E.setInput(r,K.yy),K.yy.lexer=E,K.yy.parser=this,typeof E.yylloc>"u"&&(E.yylloc={});var Lt=E.yylloc;e.push(Lt);var be=E.options&&E.options.ranges;typeof K.yy.parseError=="function"?this.parseError=K.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Se(B){g.length=g.length-2*B,_.length=_.length-B,e.length=e.length-B}o(Se,"popStack");function $t(){var B;return B=f.pop()||E.lex()||Jt,typeof B!="number"&&(B instanceof Array&&(f=B,B=f.pop()),B=l.symbols_[B]||B),B}o($t,"lex");for(var w,Z,N,Et,lt={},bt,M,te,St;;){if(Z=g[g.length-1],this.defaultActions[Z]?N=this.defaultActions[Z]:((w===null||typeof w>"u")&&(w=$t()),N=pt[Z]&&pt[Z][w]),typeof N>"u"||!N.length||!N[0]){var Dt="";St=[];for(bt in pt[Z])this.terminals_[bt]&&bt>qe&&St.push("'"+this.terminals_[bt]+"'");E.showPosition?Dt="Parse error on line "+(mt+1)+`: +import{_ as o,G as _e,z as D,l as At,d as wt,i as Ae,q as ie,s as ke,g as Fe,p as Pe,b as ve,c as Ce,r as Le,j as zt,k as Ee}from"./index-BmyXM-jo.js";import{l as ee}from"./linear-_gXvi5T4.js";import"./init-Gi6I4Gst.js";var Vt=function(){var t=o(function(j,r,l,g){for(l=l||{},g=j.length;g--;l[j[g]]=r);return l},"o"),n=[1,3],u=[1,4],c=[1,5],h=[1,6],p=[1,7],y=[1,4,5,10,12,13,14,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],S=[1,4,5,10,12,13,14,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],a=[55,56,57],A=[2,36],d=[1,37],T=[1,36],q=[1,38],m=[1,35],b=[1,43],x=[1,41],O=[1,14],Y=[1,23],G=[1,18],yt=[1,19],Tt=[1,20],dt=[1,21],Ft=[1,22],ut=[1,24],xt=[1,25],ft=[1,26],gt=[1,27],i=[1,28],Bt=[1,29],W=[1,32],U=[1,33],k=[1,34],F=[1,39],P=[1,40],v=[1,42],C=[1,44],H=[1,62],X=[1,61],L=[4,5,8,10,12,13,14,18,44,47,49,55,56,57,63,64,65,66,67],Rt=[1,65],Nt=[1,66],Wt=[1,67],Ut=[1,68],Qt=[1,69],Ot=[1,70],Ht=[1,71],Xt=[1,72],Mt=[1,73],Yt=[1,74],jt=[1,75],Gt=[1,76],I=[4,5,6,7,8,9,10,11,12,13,14,15,18],J=[1,90],$=[1,91],tt=[1,92],et=[1,99],it=[1,93],at=[1,96],nt=[1,94],st=[1,95],rt=[1,97],ot=[1,98],Pt=[1,102],Kt=[10,55,56,57],R=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],vt={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:"error",4:"ALPHA",5:"NUM",6:"NODE_STRING",7:"DOWN",8:"MINUS",9:"DEFAULT",10:"COMMA",11:"COLON",12:"AMP",13:"BRKT",14:"MULT",15:"UNICODE_TEXT",17:"UNIT",18:"SPACE",19:"STYLE",20:"PCT",25:"CLASSDEF",28:"QUADRANT",35:"title",36:"title_value",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"section",44:"point_start",45:"point_x",46:"point_y",47:"class_name",48:"X-AXIS",49:"AXIS-TEXT-DELIMITER",50:"Y-AXIS",51:"QUADRANT_1",52:"QUADRANT_2",53:"QUADRANT_3",54:"QUADRANT_4",55:"NEWLINE",56:"SEMI",57:"EOF",60:"STR",61:"MD_STR",63:"PUNCTUATION",64:"PLUS",65:"EQUALS",66:"DOT",67:"UNDERSCORE"},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:o(function(r,l,g,f,_,e,pt){var s=e.length-1;switch(_){case 23:this.$=e[s];break;case 24:this.$=e[s-1]+""+e[s];break;case 26:this.$=e[s-1]+e[s];break;case 27:this.$=[e[s].trim()];break;case 28:e[s-2].push(e[s].trim()),this.$=e[s-2];break;case 29:this.$=e[s-4],f.addClass(e[s-2],e[s]);break;case 37:this.$=[];break;case 42:this.$=e[s].trim(),f.setDiagramTitle(this.$);break;case 43:this.$=e[s].trim(),f.setAccTitle(this.$);break;case 44:case 45:this.$=e[s].trim(),f.setAccDescription(this.$);break;case 46:f.addSection(e[s].substr(8)),this.$=e[s].substr(8);break;case 47:f.addPoint(e[s-3],"",e[s-1],e[s],[]);break;case 48:f.addPoint(e[s-4],e[s-3],e[s-1],e[s],[]);break;case 49:f.addPoint(e[s-4],"",e[s-2],e[s-1],e[s]);break;case 50:f.addPoint(e[s-5],e[s-4],e[s-2],e[s-1],e[s]);break;case 51:f.setXAxisLeftText(e[s-2]),f.setXAxisRightText(e[s]);break;case 52:e[s-1].text+=" ⟶ ",f.setXAxisLeftText(e[s-1]);break;case 53:f.setXAxisLeftText(e[s]);break;case 54:f.setYAxisBottomText(e[s-2]),f.setYAxisTopText(e[s]);break;case 55:e[s-1].text+=" ⟶ ",f.setYAxisBottomText(e[s-1]);break;case 56:f.setYAxisBottomText(e[s]);break;case 57:f.setQuadrant1Text(e[s]);break;case 58:f.setQuadrant2Text(e[s]);break;case 59:f.setQuadrant3Text(e[s]);break;case 60:f.setQuadrant4Text(e[s]);break;case 64:this.$={text:e[s],type:"text"};break;case 65:this.$={text:e[s-1].text+""+e[s],type:e[s-1].type};break;case 66:this.$={text:e[s],type:"text"};break;case 67:this.$={text:e[s],type:"markdown"};break;case 68:this.$=e[s];break;case 69:this.$=e[s-1]+""+e[s];break}},"anonymous"),table:[{18:n,26:1,27:2,28:u,55:c,56:h,57:p},{1:[3]},{18:n,26:8,27:2,28:u,55:c,56:h,57:p},{18:n,26:9,27:2,28:u,55:c,56:h,57:p},t(y,[2,33],{29:10}),t(S,[2,61]),t(S,[2,62]),t(S,[2,63]),{1:[2,30]},{1:[2,31]},t(a,A,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:d,5:T,10:q,12:m,13:b,14:x,18:O,25:Y,35:G,37:yt,39:Tt,41:dt,42:Ft,48:ut,50:xt,51:ft,52:gt,53:i,54:Bt,60:W,61:U,63:k,64:F,65:P,66:v,67:C}),t(y,[2,34]),{27:45,55:c,56:h,57:p},t(a,[2,37]),t(a,A,{24:13,32:15,33:16,34:17,43:30,58:31,31:46,4:d,5:T,10:q,12:m,13:b,14:x,18:O,25:Y,35:G,37:yt,39:Tt,41:dt,42:Ft,48:ut,50:xt,51:ft,52:gt,53:i,54:Bt,60:W,61:U,63:k,64:F,65:P,66:v,67:C}),t(a,[2,39]),t(a,[2,40]),t(a,[2,41]),{36:[1,47]},{38:[1,48]},{40:[1,49]},t(a,[2,45]),t(a,[2,46]),{18:[1,50]},{4:d,5:T,10:q,12:m,13:b,14:x,43:51,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,10:q,12:m,13:b,14:x,43:52,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,10:q,12:m,13:b,14:x,43:53,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,10:q,12:m,13:b,14:x,43:54,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,10:q,12:m,13:b,14:x,43:55,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,10:q,12:m,13:b,14:x,43:56,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,44:[1,57],47:[1,58],58:60,59:59,63:k,64:F,65:P,66:v,67:C},t(L,[2,64]),t(L,[2,66]),t(L,[2,67]),t(L,[2,70]),t(L,[2,71]),t(L,[2,72]),t(L,[2,73]),t(L,[2,74]),t(L,[2,75]),t(L,[2,76]),t(L,[2,77]),t(L,[2,78]),t(L,[2,79]),t(L,[2,80]),t(y,[2,35]),t(a,[2,38]),t(a,[2,42]),t(a,[2,43]),t(a,[2,44]),{3:64,4:Rt,5:Nt,6:Wt,7:Ut,8:Qt,9:Ot,10:Ht,11:Xt,12:Mt,13:Yt,14:jt,15:Gt,21:63},t(a,[2,53],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,49:[1,77],63:k,64:F,65:P,66:v,67:C}),t(a,[2,56],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,49:[1,78],63:k,64:F,65:P,66:v,67:C}),t(a,[2,57],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),t(a,[2,58],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),t(a,[2,59],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),t(a,[2,60],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),{45:[1,79]},{44:[1,80]},t(L,[2,65]),t(L,[2,81]),t(L,[2,82]),t(L,[2,83]),{3:82,4:Rt,5:Nt,6:Wt,7:Ut,8:Qt,9:Ot,10:Ht,11:Xt,12:Mt,13:Yt,14:jt,15:Gt,18:[1,81]},t(I,[2,23]),t(I,[2,1]),t(I,[2,2]),t(I,[2,3]),t(I,[2,4]),t(I,[2,5]),t(I,[2,6]),t(I,[2,7]),t(I,[2,8]),t(I,[2,9]),t(I,[2,10]),t(I,[2,11]),t(I,[2,12]),t(a,[2,52],{58:31,43:83,4:d,5:T,10:q,12:m,13:b,14:x,60:W,61:U,63:k,64:F,65:P,66:v,67:C}),t(a,[2,55],{58:31,43:84,4:d,5:T,10:q,12:m,13:b,14:x,60:W,61:U,63:k,64:F,65:P,66:v,67:C}),{46:[1,85]},{45:[1,86]},{4:J,5:$,6:tt,8:et,11:it,13:at,16:89,17:nt,18:st,19:rt,20:ot,22:88,23:87},t(I,[2,24]),t(a,[2,51],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),t(a,[2,54],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),t(a,[2,47],{22:88,16:89,23:100,4:J,5:$,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:ot}),{46:[1,101]},t(a,[2,29],{10:Pt}),t(Kt,[2,27],{16:103,4:J,5:$,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:ot}),t(R,[2,25]),t(R,[2,13]),t(R,[2,14]),t(R,[2,15]),t(R,[2,16]),t(R,[2,17]),t(R,[2,18]),t(R,[2,19]),t(R,[2,20]),t(R,[2,21]),t(R,[2,22]),t(a,[2,49],{10:Pt}),t(a,[2,48],{22:88,16:89,23:104,4:J,5:$,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:ot}),{4:J,5:$,6:tt,8:et,11:it,13:at,16:89,17:nt,18:st,19:rt,20:ot,22:105},t(R,[2,26]),t(a,[2,50],{10:Pt}),t(Kt,[2,28],{16:103,4:J,5:$,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:ot})],defaultActions:{8:[2,30],9:[2,31]},parseError:o(function(r,l){if(l.recoverable)this.trace(r);else{var g=new Error(r);throw g.hash=l,g}},"parseError"),parse:o(function(r){var l=this,g=[0],f=[],_=[null],e=[],pt=this.table,s="",mt=0,Zt=0,qe=2,Jt=1,me=e.slice.call(arguments,1),E=Object.create(this.lexer),K={yy:{}};for(var Ct in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ct)&&(K.yy[Ct]=this.yy[Ct]);E.setInput(r,K.yy),K.yy.lexer=E,K.yy.parser=this,typeof E.yylloc>"u"&&(E.yylloc={});var Lt=E.yylloc;e.push(Lt);var be=E.options&&E.options.ranges;typeof K.yy.parseError=="function"?this.parseError=K.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Se(B){g.length=g.length-2*B,_.length=_.length-B,e.length=e.length-B}o(Se,"popStack");function $t(){var B;return B=f.pop()||E.lex()||Jt,typeof B!="number"&&(B instanceof Array&&(f=B,B=f.pop()),B=l.symbols_[B]||B),B}o($t,"lex");for(var w,Z,N,Et,lt={},bt,M,te,St;;){if(Z=g[g.length-1],this.defaultActions[Z]?N=this.defaultActions[Z]:((w===null||typeof w>"u")&&(w=$t()),N=pt[Z]&&pt[Z][w]),typeof N>"u"||!N.length||!N[0]){var Dt="";St=[];for(bt in pt[Z])this.terminals_[bt]&&bt>qe&&St.push("'"+this.terminals_[bt]+"'");E.showPosition?Dt="Parse error on line "+(mt+1)+`: `+E.showPosition()+` Expecting `+St.join(", ")+", got '"+(this.terminals_[w]||w)+"'":Dt="Parse error on line "+(mt+1)+": Unexpected "+(w==Jt?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(Dt,{text:E.match,token:this.terminals_[w]||w,line:E.yylineno,loc:Lt,expected:St})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Z+", token: "+w);switch(N[0]){case 1:g.push(w),_.push(E.yytext),e.push(E.yylloc),g.push(N[1]),w=null,Zt=E.yyleng,s=E.yytext,mt=E.yylineno,Lt=E.yylloc;break;case 2:if(M=this.productions_[N[1]][1],lt.$=_[_.length-M],lt._$={first_line:e[e.length-(M||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(M||1)].first_column,last_column:e[e.length-1].last_column},be&&(lt._$.range=[e[e.length-(M||1)].range[0],e[e.length-1].range[1]]),Et=this.performAction.apply(lt,[s,Zt,mt,K.yy,N[1],_,e].concat(me)),typeof Et<"u")return Et;M&&(g=g.slice(0,-1*M*2),_=_.slice(0,-1*M),e=e.slice(0,-1*M)),g.push(this.productions_[N[1]][0]),_.push(lt.$),e.push(lt._$),te=pt[g[g.length-2]][g[g.length-1]],g.push(te);break;case 3:return!0}}return!0},"parse")},Te=function(){var j={EOF:1,parseError:o(function(l,g){if(this.yy.parser)this.yy.parser.parseError(l,g);else throw new Error(l)},"parseError"),setInput:o(function(r,l){return this.yy=l||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var l=r.match(/(?:\r\n?|\n).*/g);return l?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:o(function(r){var l=r.length,g=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var f=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),g.length-1&&(this.yylineno-=g.length-1);var _=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:g?(g.length===f.length?this.yylloc.first_column:0)+f[f.length-g.length].length-g[0].length:this.yylloc.first_column-l},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-l]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(r){this.unput(this.match.slice(r))},"less"),pastInput:o(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var r=this.pastInput(),l=new Array(r.length+1).join("-");return r+this.upcomingInput()+` diff --git a/assets/requirementDiagram-FPZB6IJI-Ca-LbwOn.js b/assets/requirementDiagram-FPZB6IJI-pFEUG6Ac.js similarity index 99% rename from assets/requirementDiagram-FPZB6IJI-Ca-LbwOn.js rename to assets/requirementDiagram-FPZB6IJI-pFEUG6Ac.js index 61eb8c7..aff5bf3 100644 --- a/assets/requirementDiagram-FPZB6IJI-Ca-LbwOn.js +++ b/assets/requirementDiagram-FPZB6IJI-pFEUG6Ac.js @@ -1,4 +1,4 @@ -import{_ as r,d as ve,s as Fe,g as De,c as Pe,b as Ye,l as xe,r as Ue,j as ce,k as Be,H as Qe,e as Te}from"./index-DqL3MUN2.js";import{G as He}from"./graph-F-lRYGiw.js";import{l as We}from"./layout-B3T3dhdM.js";import"./_baseUniq-B1Flybha.js";import"./min-CjiScnR7.js";var he=function(){var e=r(function($,i,a,l){for(a=a||{},l=$.length;l--;a[$[l]]=i);return a},"o"),t=[1,3],c=[1,4],d=[1,5],u=[1,6],p=[5,6,8,9,11,13,31,32,33,34,35,36,44,62,63],y=[1,18],h=[2,7],o=[1,22],g=[1,23],R=[1,24],I=[1,25],b=[1,26],w=[1,27],q=[1,20],v=[1,28],A=[1,29],F=[62,63],pe=[5,8,9,11,13,31,32,33,34,35,36,44,51,53,62,63],fe=[1,47],ye=[1,48],_e=[1,49],ge=[1,50],Ee=[1,51],Re=[1,52],me=[1,53],O=[53,54],D=[1,64],P=[1,60],Y=[1,61],U=[1,62],B=[1,63],Q=[1,65],j=[1,69],X=[1,70],J=[1,67],Z=[1,68],S=[5,8,9,11,13,31,32,33,34,35,36,44,62,63],ne={trace:r(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,requirementType:17,requirementName:18,STRUCT_START:19,requirementBody:20,ID:21,COLONSEP:22,id:23,TEXT:24,text:25,RISK:26,riskLevel:27,VERIFYMTHD:28,verifyType:29,STRUCT_STOP:30,REQUIREMENT:31,FUNCTIONAL_REQUIREMENT:32,INTERFACE_REQUIREMENT:33,PERFORMANCE_REQUIREMENT:34,PHYSICAL_REQUIREMENT:35,DESIGN_CONSTRAINT:36,LOW_RISK:37,MED_RISK:38,HIGH_RISK:39,VERIFY_ANALYSIS:40,VERIFY_DEMONSTRATION:41,VERIFY_INSPECTION:42,VERIFY_TEST:43,ELEMENT:44,elementName:45,elementBody:46,TYPE:47,type:48,DOCREF:49,ref:50,END_ARROW_L:51,relationship:52,LINE:53,END_ARROW_R:54,CONTAINS:55,COPIES:56,DERIVES:57,SATISFIES:58,VERIFIES:59,REFINES:60,TRACES:61,unqString:62,qString:63,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",19:"STRUCT_START",21:"ID",22:"COLONSEP",24:"TEXT",26:"RISK",28:"VERIFYMTHD",30:"STRUCT_STOP",31:"REQUIREMENT",32:"FUNCTIONAL_REQUIREMENT",33:"INTERFACE_REQUIREMENT",34:"PERFORMANCE_REQUIREMENT",35:"PHYSICAL_REQUIREMENT",36:"DESIGN_CONSTRAINT",37:"LOW_RISK",38:"MED_RISK",39:"HIGH_RISK",40:"VERIFY_ANALYSIS",41:"VERIFY_DEMONSTRATION",42:"VERIFY_INSPECTION",43:"VERIFY_TEST",44:"ELEMENT",47:"TYPE",49:"DOCREF",51:"END_ARROW_L",53:"LINE",54:"END_ARROW_R",55:"CONTAINS",56:"COPIES",57:"DERIVES",58:"SATISFIES",59:"VERIFIES",60:"REFINES",61:"TRACES",62:"unqString",63:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[14,5],[20,5],[20,5],[20,5],[20,5],[20,2],[20,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[27,1],[27,1],[27,1],[29,1],[29,1],[29,1],[29,1],[15,5],[46,5],[46,5],[46,2],[46,1],[16,5],[16,5],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[18,1],[18,1],[23,1],[23,1],[25,1],[25,1],[45,1],[45,1],[48,1],[48,1],[50,1],[50,1]],performAction:r(function(i,a,l,n,f,s,K){var E=s.length-1;switch(f){case 4:this.$=s[E].trim(),n.setAccTitle(this.$);break;case 5:case 6:this.$=s[E].trim(),n.setAccDescription(this.$);break;case 7:this.$=[];break;case 13:n.addRequirement(s[E-3],s[E-4]);break;case 14:n.setNewReqId(s[E-2]);break;case 15:n.setNewReqText(s[E-2]);break;case 16:n.setNewReqRisk(s[E-2]);break;case 17:n.setNewReqVerifyMethod(s[E-2]);break;case 20:this.$=n.RequirementType.REQUIREMENT;break;case 21:this.$=n.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 22:this.$=n.RequirementType.INTERFACE_REQUIREMENT;break;case 23:this.$=n.RequirementType.PERFORMANCE_REQUIREMENT;break;case 24:this.$=n.RequirementType.PHYSICAL_REQUIREMENT;break;case 25:this.$=n.RequirementType.DESIGN_CONSTRAINT;break;case 26:this.$=n.RiskLevel.LOW_RISK;break;case 27:this.$=n.RiskLevel.MED_RISK;break;case 28:this.$=n.RiskLevel.HIGH_RISK;break;case 29:this.$=n.VerifyType.VERIFY_ANALYSIS;break;case 30:this.$=n.VerifyType.VERIFY_DEMONSTRATION;break;case 31:this.$=n.VerifyType.VERIFY_INSPECTION;break;case 32:this.$=n.VerifyType.VERIFY_TEST;break;case 33:n.addElement(s[E-3]);break;case 34:n.setNewElementType(s[E-2]);break;case 35:n.setNewElementDocRef(s[E-2]);break;case 38:n.addRelationship(s[E-2],s[E],s[E-4]);break;case 39:n.addRelationship(s[E-2],s[E-4],s[E]);break;case 40:this.$=n.Relationships.CONTAINS;break;case 41:this.$=n.Relationships.COPIES;break;case 42:this.$=n.Relationships.DERIVES;break;case 43:this.$=n.Relationships.SATISFIES;break;case 44:this.$=n.Relationships.VERIFIES;break;case 45:this.$=n.Relationships.REFINES;break;case 46:this.$=n.Relationships.TRACES;break}},"anonymous"),table:[{3:1,4:2,6:t,9:c,11:d,13:u},{1:[3]},{3:8,4:2,5:[1,7],6:t,9:c,11:d,13:u},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(p,[2,6]),{3:12,4:2,6:t,9:c,11:d,13:u},{1:[2,2]},{4:17,5:y,7:13,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},e(p,[2,4]),e(p,[2,5]),{1:[2,1]},{8:[1,30]},{4:17,5:y,7:31,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{4:17,5:y,7:32,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{4:17,5:y,7:33,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{4:17,5:y,7:34,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{4:17,5:y,7:35,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{18:36,62:[1,37],63:[1,38]},{45:39,62:[1,40],63:[1,41]},{51:[1,42],53:[1,43]},e(F,[2,20]),e(F,[2,21]),e(F,[2,22]),e(F,[2,23]),e(F,[2,24]),e(F,[2,25]),e(pe,[2,49]),e(pe,[2,50]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{19:[1,44]},{19:[2,47]},{19:[2,48]},{19:[1,45]},{19:[2,53]},{19:[2,54]},{52:46,55:fe,56:ye,57:_e,58:ge,59:Ee,60:Re,61:me},{52:54,55:fe,56:ye,57:_e,58:ge,59:Ee,60:Re,61:me},{5:[1,55]},{5:[1,56]},{53:[1,57]},e(O,[2,40]),e(O,[2,41]),e(O,[2,42]),e(O,[2,43]),e(O,[2,44]),e(O,[2,45]),e(O,[2,46]),{54:[1,58]},{5:D,20:59,21:P,24:Y,26:U,28:B,30:Q},{5:j,30:X,46:66,47:J,49:Z},{23:71,62:v,63:A},{23:72,62:v,63:A},e(S,[2,13]),{22:[1,73]},{22:[1,74]},{22:[1,75]},{22:[1,76]},{5:D,20:77,21:P,24:Y,26:U,28:B,30:Q},e(S,[2,19]),e(S,[2,33]),{22:[1,78]},{22:[1,79]},{5:j,30:X,46:80,47:J,49:Z},e(S,[2,37]),e(S,[2,38]),e(S,[2,39]),{23:81,62:v,63:A},{25:82,62:[1,83],63:[1,84]},{27:85,37:[1,86],38:[1,87],39:[1,88]},{29:89,40:[1,90],41:[1,91],42:[1,92],43:[1,93]},e(S,[2,18]),{48:94,62:[1,95],63:[1,96]},{50:97,62:[1,98],63:[1,99]},e(S,[2,36]),{5:[1,100]},{5:[1,101]},{5:[2,51]},{5:[2,52]},{5:[1,102]},{5:[2,26]},{5:[2,27]},{5:[2,28]},{5:[1,103]},{5:[2,29]},{5:[2,30]},{5:[2,31]},{5:[2,32]},{5:[1,104]},{5:[2,55]},{5:[2,56]},{5:[1,105]},{5:[2,57]},{5:[2,58]},{5:D,20:106,21:P,24:Y,26:U,28:B,30:Q},{5:D,20:107,21:P,24:Y,26:U,28:B,30:Q},{5:D,20:108,21:P,24:Y,26:U,28:B,30:Q},{5:D,20:109,21:P,24:Y,26:U,28:B,30:Q},{5:j,30:X,46:110,47:J,49:Z},{5:j,30:X,46:111,47:J,49:Z},e(S,[2,14]),e(S,[2,15]),e(S,[2,16]),e(S,[2,17]),e(S,[2,34]),e(S,[2,35])],defaultActions:{8:[2,2],12:[2,1],30:[2,3],31:[2,8],32:[2,9],33:[2,10],34:[2,11],35:[2,12],37:[2,47],38:[2,48],40:[2,53],41:[2,54],83:[2,51],84:[2,52],86:[2,26],87:[2,27],88:[2,28],90:[2,29],91:[2,30],92:[2,31],93:[2,32],95:[2,55],96:[2,56],98:[2,57],99:[2,58]},parseError:r(function(i,a){if(a.recoverable)this.trace(i);else{var l=new Error(i);throw l.hash=a,l}},"parseError"),parse:r(function(i){var a=this,l=[0],n=[],f=[null],s=[],K=this.table,E="",te=0,Ie=0,Le=2,be=1,Oe=s.slice.call(arguments,1),m=Object.create(this.lexer),C={yy:{}};for(var se in this.yy)Object.prototype.hasOwnProperty.call(this.yy,se)&&(C.yy[se]=this.yy[se]);m.setInput(i,C.yy),C.yy.lexer=m,C.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var ae=m.yylloc;s.push(ae);var Ce=m.options&&m.options.ranges;typeof C.yy.parseError=="function"?this.parseError=C.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Me(N){l.length=l.length-2*N,f.length=f.length-N,s.length=s.length-N}r(Me,"popStack");function Se(){var N;return N=n.pop()||m.lex()||be,typeof N!="number"&&(N instanceof Array&&(n=N,N=n.pop()),N=a.symbols_[N]||N),N}r(Se,"lex");for(var k,M,x,le,H={},ie,V,ke,re;;){if(M=l[l.length-1],this.defaultActions[M]?x=this.defaultActions[M]:((k===null||typeof k>"u")&&(k=Se()),x=K[M]&&K[M][k]),typeof x>"u"||!x.length||!x[0]){var oe="";re=[];for(ie in K[M])this.terminals_[ie]&&ie>Le&&re.push("'"+this.terminals_[ie]+"'");m.showPosition?oe="Parse error on line "+(te+1)+`: +import{_ as r,d as ve,s as Fe,g as De,c as Pe,b as Ye,l as xe,r as Ue,j as ce,k as Be,H as Qe,e as Te}from"./index-BmyXM-jo.js";import{G as He}from"./graph-DNRi3G-N.js";import{l as We}from"./layout-CbykB6Gj.js";import"./_baseUniq-BdggiAxO.js";import"./min-CuKIA37g.js";var he=function(){var e=r(function($,i,a,l){for(a=a||{},l=$.length;l--;a[$[l]]=i);return a},"o"),t=[1,3],c=[1,4],d=[1,5],u=[1,6],p=[5,6,8,9,11,13,31,32,33,34,35,36,44,62,63],y=[1,18],h=[2,7],o=[1,22],g=[1,23],R=[1,24],I=[1,25],b=[1,26],w=[1,27],q=[1,20],v=[1,28],A=[1,29],F=[62,63],pe=[5,8,9,11,13,31,32,33,34,35,36,44,51,53,62,63],fe=[1,47],ye=[1,48],_e=[1,49],ge=[1,50],Ee=[1,51],Re=[1,52],me=[1,53],O=[53,54],D=[1,64],P=[1,60],Y=[1,61],U=[1,62],B=[1,63],Q=[1,65],j=[1,69],X=[1,70],J=[1,67],Z=[1,68],S=[5,8,9,11,13,31,32,33,34,35,36,44,62,63],ne={trace:r(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,requirementType:17,requirementName:18,STRUCT_START:19,requirementBody:20,ID:21,COLONSEP:22,id:23,TEXT:24,text:25,RISK:26,riskLevel:27,VERIFYMTHD:28,verifyType:29,STRUCT_STOP:30,REQUIREMENT:31,FUNCTIONAL_REQUIREMENT:32,INTERFACE_REQUIREMENT:33,PERFORMANCE_REQUIREMENT:34,PHYSICAL_REQUIREMENT:35,DESIGN_CONSTRAINT:36,LOW_RISK:37,MED_RISK:38,HIGH_RISK:39,VERIFY_ANALYSIS:40,VERIFY_DEMONSTRATION:41,VERIFY_INSPECTION:42,VERIFY_TEST:43,ELEMENT:44,elementName:45,elementBody:46,TYPE:47,type:48,DOCREF:49,ref:50,END_ARROW_L:51,relationship:52,LINE:53,END_ARROW_R:54,CONTAINS:55,COPIES:56,DERIVES:57,SATISFIES:58,VERIFIES:59,REFINES:60,TRACES:61,unqString:62,qString:63,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",19:"STRUCT_START",21:"ID",22:"COLONSEP",24:"TEXT",26:"RISK",28:"VERIFYMTHD",30:"STRUCT_STOP",31:"REQUIREMENT",32:"FUNCTIONAL_REQUIREMENT",33:"INTERFACE_REQUIREMENT",34:"PERFORMANCE_REQUIREMENT",35:"PHYSICAL_REQUIREMENT",36:"DESIGN_CONSTRAINT",37:"LOW_RISK",38:"MED_RISK",39:"HIGH_RISK",40:"VERIFY_ANALYSIS",41:"VERIFY_DEMONSTRATION",42:"VERIFY_INSPECTION",43:"VERIFY_TEST",44:"ELEMENT",47:"TYPE",49:"DOCREF",51:"END_ARROW_L",53:"LINE",54:"END_ARROW_R",55:"CONTAINS",56:"COPIES",57:"DERIVES",58:"SATISFIES",59:"VERIFIES",60:"REFINES",61:"TRACES",62:"unqString",63:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[14,5],[20,5],[20,5],[20,5],[20,5],[20,2],[20,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[27,1],[27,1],[27,1],[29,1],[29,1],[29,1],[29,1],[15,5],[46,5],[46,5],[46,2],[46,1],[16,5],[16,5],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[18,1],[18,1],[23,1],[23,1],[25,1],[25,1],[45,1],[45,1],[48,1],[48,1],[50,1],[50,1]],performAction:r(function(i,a,l,n,f,s,K){var E=s.length-1;switch(f){case 4:this.$=s[E].trim(),n.setAccTitle(this.$);break;case 5:case 6:this.$=s[E].trim(),n.setAccDescription(this.$);break;case 7:this.$=[];break;case 13:n.addRequirement(s[E-3],s[E-4]);break;case 14:n.setNewReqId(s[E-2]);break;case 15:n.setNewReqText(s[E-2]);break;case 16:n.setNewReqRisk(s[E-2]);break;case 17:n.setNewReqVerifyMethod(s[E-2]);break;case 20:this.$=n.RequirementType.REQUIREMENT;break;case 21:this.$=n.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 22:this.$=n.RequirementType.INTERFACE_REQUIREMENT;break;case 23:this.$=n.RequirementType.PERFORMANCE_REQUIREMENT;break;case 24:this.$=n.RequirementType.PHYSICAL_REQUIREMENT;break;case 25:this.$=n.RequirementType.DESIGN_CONSTRAINT;break;case 26:this.$=n.RiskLevel.LOW_RISK;break;case 27:this.$=n.RiskLevel.MED_RISK;break;case 28:this.$=n.RiskLevel.HIGH_RISK;break;case 29:this.$=n.VerifyType.VERIFY_ANALYSIS;break;case 30:this.$=n.VerifyType.VERIFY_DEMONSTRATION;break;case 31:this.$=n.VerifyType.VERIFY_INSPECTION;break;case 32:this.$=n.VerifyType.VERIFY_TEST;break;case 33:n.addElement(s[E-3]);break;case 34:n.setNewElementType(s[E-2]);break;case 35:n.setNewElementDocRef(s[E-2]);break;case 38:n.addRelationship(s[E-2],s[E],s[E-4]);break;case 39:n.addRelationship(s[E-2],s[E-4],s[E]);break;case 40:this.$=n.Relationships.CONTAINS;break;case 41:this.$=n.Relationships.COPIES;break;case 42:this.$=n.Relationships.DERIVES;break;case 43:this.$=n.Relationships.SATISFIES;break;case 44:this.$=n.Relationships.VERIFIES;break;case 45:this.$=n.Relationships.REFINES;break;case 46:this.$=n.Relationships.TRACES;break}},"anonymous"),table:[{3:1,4:2,6:t,9:c,11:d,13:u},{1:[3]},{3:8,4:2,5:[1,7],6:t,9:c,11:d,13:u},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(p,[2,6]),{3:12,4:2,6:t,9:c,11:d,13:u},{1:[2,2]},{4:17,5:y,7:13,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},e(p,[2,4]),e(p,[2,5]),{1:[2,1]},{8:[1,30]},{4:17,5:y,7:31,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{4:17,5:y,7:32,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{4:17,5:y,7:33,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{4:17,5:y,7:34,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{4:17,5:y,7:35,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{18:36,62:[1,37],63:[1,38]},{45:39,62:[1,40],63:[1,41]},{51:[1,42],53:[1,43]},e(F,[2,20]),e(F,[2,21]),e(F,[2,22]),e(F,[2,23]),e(F,[2,24]),e(F,[2,25]),e(pe,[2,49]),e(pe,[2,50]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{19:[1,44]},{19:[2,47]},{19:[2,48]},{19:[1,45]},{19:[2,53]},{19:[2,54]},{52:46,55:fe,56:ye,57:_e,58:ge,59:Ee,60:Re,61:me},{52:54,55:fe,56:ye,57:_e,58:ge,59:Ee,60:Re,61:me},{5:[1,55]},{5:[1,56]},{53:[1,57]},e(O,[2,40]),e(O,[2,41]),e(O,[2,42]),e(O,[2,43]),e(O,[2,44]),e(O,[2,45]),e(O,[2,46]),{54:[1,58]},{5:D,20:59,21:P,24:Y,26:U,28:B,30:Q},{5:j,30:X,46:66,47:J,49:Z},{23:71,62:v,63:A},{23:72,62:v,63:A},e(S,[2,13]),{22:[1,73]},{22:[1,74]},{22:[1,75]},{22:[1,76]},{5:D,20:77,21:P,24:Y,26:U,28:B,30:Q},e(S,[2,19]),e(S,[2,33]),{22:[1,78]},{22:[1,79]},{5:j,30:X,46:80,47:J,49:Z},e(S,[2,37]),e(S,[2,38]),e(S,[2,39]),{23:81,62:v,63:A},{25:82,62:[1,83],63:[1,84]},{27:85,37:[1,86],38:[1,87],39:[1,88]},{29:89,40:[1,90],41:[1,91],42:[1,92],43:[1,93]},e(S,[2,18]),{48:94,62:[1,95],63:[1,96]},{50:97,62:[1,98],63:[1,99]},e(S,[2,36]),{5:[1,100]},{5:[1,101]},{5:[2,51]},{5:[2,52]},{5:[1,102]},{5:[2,26]},{5:[2,27]},{5:[2,28]},{5:[1,103]},{5:[2,29]},{5:[2,30]},{5:[2,31]},{5:[2,32]},{5:[1,104]},{5:[2,55]},{5:[2,56]},{5:[1,105]},{5:[2,57]},{5:[2,58]},{5:D,20:106,21:P,24:Y,26:U,28:B,30:Q},{5:D,20:107,21:P,24:Y,26:U,28:B,30:Q},{5:D,20:108,21:P,24:Y,26:U,28:B,30:Q},{5:D,20:109,21:P,24:Y,26:U,28:B,30:Q},{5:j,30:X,46:110,47:J,49:Z},{5:j,30:X,46:111,47:J,49:Z},e(S,[2,14]),e(S,[2,15]),e(S,[2,16]),e(S,[2,17]),e(S,[2,34]),e(S,[2,35])],defaultActions:{8:[2,2],12:[2,1],30:[2,3],31:[2,8],32:[2,9],33:[2,10],34:[2,11],35:[2,12],37:[2,47],38:[2,48],40:[2,53],41:[2,54],83:[2,51],84:[2,52],86:[2,26],87:[2,27],88:[2,28],90:[2,29],91:[2,30],92:[2,31],93:[2,32],95:[2,55],96:[2,56],98:[2,57],99:[2,58]},parseError:r(function(i,a){if(a.recoverable)this.trace(i);else{var l=new Error(i);throw l.hash=a,l}},"parseError"),parse:r(function(i){var a=this,l=[0],n=[],f=[null],s=[],K=this.table,E="",te=0,Ie=0,Le=2,be=1,Oe=s.slice.call(arguments,1),m=Object.create(this.lexer),C={yy:{}};for(var se in this.yy)Object.prototype.hasOwnProperty.call(this.yy,se)&&(C.yy[se]=this.yy[se]);m.setInput(i,C.yy),C.yy.lexer=m,C.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var ae=m.yylloc;s.push(ae);var Ce=m.options&&m.options.ranges;typeof C.yy.parseError=="function"?this.parseError=C.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Me(N){l.length=l.length-2*N,f.length=f.length-N,s.length=s.length-N}r(Me,"popStack");function Se(){var N;return N=n.pop()||m.lex()||be,typeof N!="number"&&(N instanceof Array&&(n=N,N=n.pop()),N=a.symbols_[N]||N),N}r(Se,"lex");for(var k,M,x,le,H={},ie,V,ke,re;;){if(M=l[l.length-1],this.defaultActions[M]?x=this.defaultActions[M]:((k===null||typeof k>"u")&&(k=Se()),x=K[M]&&K[M][k]),typeof x>"u"||!x.length||!x[0]){var oe="";re=[];for(ie in K[M])this.terminals_[ie]&&ie>Le&&re.push("'"+this.terminals_[ie]+"'");m.showPosition?oe="Parse error on line "+(te+1)+`: `+m.showPosition()+` Expecting `+re.join(", ")+", got '"+(this.terminals_[k]||k)+"'":oe="Parse error on line "+(te+1)+": Unexpected "+(k==be?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(oe,{text:m.match,token:this.terminals_[k]||k,line:m.yylineno,loc:ae,expected:re})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+M+", token: "+k);switch(x[0]){case 1:l.push(k),f.push(m.yytext),s.push(m.yylloc),l.push(x[1]),k=null,Ie=m.yyleng,E=m.yytext,te=m.yylineno,ae=m.yylloc;break;case 2:if(V=this.productions_[x[1]][1],H.$=f[f.length-V],H._$={first_line:s[s.length-(V||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(V||1)].first_column,last_column:s[s.length-1].last_column},Ce&&(H._$.range=[s[s.length-(V||1)].range[0],s[s.length-1].range[1]]),le=this.performAction.apply(H,[E,Ie,te,C.yy,x[1],f,s].concat(Oe)),typeof le<"u")return le;V&&(l=l.slice(0,-1*V*2),f=f.slice(0,-1*V),s=s.slice(0,-1*V)),l.push(this.productions_[x[1]][0]),f.push(H.$),s.push(H._$),ke=K[l[l.length-2]][l[l.length-1]],l.push(ke);break;case 3:return!0}}return!0},"parse")},$e=function(){var $={EOF:1,parseError:r(function(a,l){if(this.yy.parser)this.yy.parser.parseError(a,l);else throw new Error(a)},"parseError"),setInput:r(function(i,a){return this.yy=a||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:r(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var a=i.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:r(function(i){var a=i.length,l=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var f=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===n.length?this.yylloc.first_column:0)+n[n.length-l.length].length-l[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[f[0],f[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:r(function(){return this._more=!0,this},"more"),reject:r(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:r(function(i){this.unput(this.match.slice(i))},"less"),pastInput:r(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:r(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:r(function(){var i=this.pastInput(),a=new Array(i.length+1).join("-");return i+this.upcomingInput()+` diff --git a/assets/sankeyDiagram-KMMQDL5K-ChG3AGTx.js b/assets/sankeyDiagram-KMMQDL5K-D5UCg7by.js similarity index 99% rename from assets/sankeyDiagram-KMMQDL5K-ChG3AGTx.js rename to assets/sankeyDiagram-KMMQDL5K-D5UCg7by.js index 1a876d8..d8b20c4 100644 --- a/assets/sankeyDiagram-KMMQDL5K-ChG3AGTx.js +++ b/assets/sankeyDiagram-KMMQDL5K-D5UCg7by.js @@ -1,4 +1,4 @@ -import{_ as m,d as lt,g as _t,s as xt,b as vt,c as bt,q as wt,p as St,r as Lt,e as Et,o as At,j as H,O as Tt}from"./index-DqL3MUN2.js";import{o as Mt}from"./ordinal-Cboi1Yqb.js";import"./init-Gi6I4Gst.js";function Nt(t){for(var e=t.length/6|0,i=new Array(e),a=0;a=a)&&(i=a);else{let a=-1;for(let h of t)(h=e(h,++a,t))!=null&&(i=h)&&(i=h)}return i}function pt(t,e){let i;if(e===void 0)for(const a of t)a!=null&&(i>a||i===void 0&&a>=a)&&(i=a);else{let a=-1;for(let h of t)(h=e(h,++a,t))!=null&&(i>h||i===void 0&&h>=h)&&(i=h)}return i}function nt(t,e){let i=0;if(e===void 0)for(let a of t)(a=+a)&&(i+=a);else{let a=-1;for(let h of t)(h=+e(h,++a,t))&&(i+=h)}return i}function Pt(t){return t.target.depth}function Ct(t){return t.depth}function Ot(t,e){return e-1-t.height}function mt(t,e){return t.sourceLinks.length?t.depth:e-1}function Dt(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?pt(t.sourceLinks,Pt)-1:0}function X(t){return function(){return t}}function ut(t,e){return Q(t.source,e.source)||t.index-e.index}function ht(t,e){return Q(t.target,e.target)||t.index-e.index}function Q(t,e){return t.y0-e.y0}function it(t){return t.value}function jt(t){return t.index}function zt(t){return t.nodes}function $t(t){return t.links}function ft(t,e){const i=t.get(e);if(!i)throw new Error("missing: "+e);return i}function yt({nodes:t}){for(const e of t){let i=e.y0,a=i;for(const h of e.sourceLinks)h.y0=i+h.width/2,i+=h.width;for(const h of e.targetLinks)h.y1=a+h.width/2,a+=h.width}}function Bt(){let t=0,e=0,i=1,a=1,h=24,d=8,p,_=jt,s=mt,o,l,x=zt,v=$t,y=6;function b(){const n={nodes:x.apply(null,arguments),links:v.apply(null,arguments)};return M(n),T(n),N(n),C(n),S(n),yt(n),n}b.update=function(n){return yt(n),n},b.nodeId=function(n){return arguments.length?(_=typeof n=="function"?n:X(n),b):_},b.nodeAlign=function(n){return arguments.length?(s=typeof n=="function"?n:X(n),b):s},b.nodeSort=function(n){return arguments.length?(o=n,b):o},b.nodeWidth=function(n){return arguments.length?(h=+n,b):h},b.nodePadding=function(n){return arguments.length?(d=p=+n,b):d},b.nodes=function(n){return arguments.length?(x=typeof n=="function"?n:X(n),b):x},b.links=function(n){return arguments.length?(v=typeof n=="function"?n:X(n),b):v},b.linkSort=function(n){return arguments.length?(l=n,b):l},b.size=function(n){return arguments.length?(t=e=0,i=+n[0],a=+n[1],b):[i-t,a-e]},b.extent=function(n){return arguments.length?(t=+n[0][0],i=+n[1][0],e=+n[0][1],a=+n[1][1],b):[[t,e],[i,a]]},b.iterations=function(n){return arguments.length?(y=+n,b):y};function M({nodes:n,links:f}){for(const[c,r]of n.entries())r.index=c,r.sourceLinks=[],r.targetLinks=[];const u=new Map(n.map((c,r)=>[_(c,r,n),c]));for(const[c,r]of f.entries()){r.index=c;let{source:k,target:w}=r;typeof k!="object"&&(k=r.source=ft(u,k)),typeof w!="object"&&(w=r.target=ft(u,w)),k.sourceLinks.push(r),w.targetLinks.push(r)}if(l!=null)for(const{sourceLinks:c,targetLinks:r}of n)c.sort(l),r.sort(l)}function T({nodes:n}){for(const f of n)f.value=f.fixedValue===void 0?Math.max(nt(f.sourceLinks,it),nt(f.targetLinks,it)):f.fixedValue}function N({nodes:n}){const f=n.length;let u=new Set(n),c=new Set,r=0;for(;u.size;){for(const k of u){k.depth=r;for(const{target:w}of k.sourceLinks)c.add(w)}if(++r>f)throw new Error("circular link");u=c,c=new Set}}function C({nodes:n}){const f=n.length;let u=new Set(n),c=new Set,r=0;for(;u.size;){for(const k of u){k.height=r;for(const{source:w}of k.targetLinks)c.add(w)}if(++r>f)throw new Error("circular link");u=c,c=new Set}}function j({nodes:n}){const f=ct(n,r=>r.depth)+1,u=(i-t-h)/(f-1),c=new Array(f);for(const r of n){const k=Math.max(0,Math.min(f-1,Math.floor(s.call(null,r,f))));r.layer=k,r.x0=t+k*u,r.x1=r.x0+h,c[k]?c[k].push(r):c[k]=[r]}if(o)for(const r of c)r.sort(o);return c}function R(n){const f=pt(n,u=>(a-e-(u.length-1)*p)/nt(u,it));for(const u of n){let c=e;for(const r of u){r.y0=c,r.y1=c+r.value*f,c=r.y1+p;for(const k of r.sourceLinks)k.width=k.value*f}c=(a-c+p)/(u.length+1);for(let r=0;ru.length)-1)),R(f);for(let u=0;u0))continue;let G=(L/V-w.y0)*f;w.y0+=G,w.y1+=G,E(w)}o===void 0&&k.sort(Q),O(k,u)}}function B(n,f,u){for(let c=n.length,r=c-2;r>=0;--r){const k=n[r];for(const w of k){let L=0,V=0;for(const{target:Y,value:et}of w.sourceLinks){let q=et*(Y.layer-w.layer);L+=I(w,Y)*q,V+=q}if(!(V>0))continue;let G=(L/V-w.y0)*f;w.y0+=G,w.y1+=G,E(w)}o===void 0&&k.sort(Q),O(k,u)}}function O(n,f){const u=n.length>>1,c=n[u];g(n,c.y0-p,u-1,f),D(n,c.y1+p,u+1,f),g(n,a,n.length-1,f),D(n,e,0,f)}function D(n,f,u,c){for(;u1e-6&&(r.y0+=k,r.y1+=k),f=r.y1+p}}function g(n,f,u,c){for(;u>=0;--u){const r=n[u],k=(r.y1-f)*c;k>1e-6&&(r.y0-=k,r.y1-=k),f=r.y0-p}}function E({sourceLinks:n,targetLinks:f}){if(l===void 0){for(const{source:{sourceLinks:u}}of f)u.sort(ht);for(const{target:{targetLinks:u}}of n)u.sort(ut)}}function A(n){if(l===void 0)for(const{sourceLinks:f,targetLinks:u}of n)f.sort(ht),u.sort(ut)}function z(n,f){let u=n.y0-(n.sourceLinks.length-1)*p/2;for(const{target:c,width:r}of n.sourceLinks){if(c===f)break;u+=r+p}for(const{source:c,width:r}of f.targetLinks){if(c===n)break;u-=r}return u}function I(n,f){let u=f.y0-(f.targetLinks.length-1)*p/2;for(const{source:c,width:r}of f.targetLinks){if(c===n)break;u+=r+p}for(const{target:c,width:r}of n.sourceLinks){if(c===f)break;u-=r}return u}return b}var st=Math.PI,rt=2*st,F=1e-6,Rt=rt-F;function ot(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function kt(){return new ot}ot.prototype=kt.prototype={constructor:ot,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,i,a){this._+="Q"+ +t+","+ +e+","+(this._x1=+i)+","+(this._y1=+a)},bezierCurveTo:function(t,e,i,a,h,d){this._+="C"+ +t+","+ +e+","+ +i+","+ +a+","+(this._x1=+h)+","+(this._y1=+d)},arcTo:function(t,e,i,a,h){t=+t,e=+e,i=+i,a=+a,h=+h;var d=this._x1,p=this._y1,_=i-t,s=a-e,o=d-t,l=p-e,x=o*o+l*l;if(h<0)throw new Error("negative radius: "+h);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(x>F)if(!(Math.abs(l*_-s*o)>F)||!h)this._+="L"+(this._x1=t)+","+(this._y1=e);else{var v=i-d,y=a-p,b=_*_+s*s,M=v*v+y*y,T=Math.sqrt(b),N=Math.sqrt(x),C=h*Math.tan((st-Math.acos((b+x-M)/(2*T*N)))/2),j=C/N,R=C/T;Math.abs(j-1)>F&&(this._+="L"+(t+j*o)+","+(e+j*l)),this._+="A"+h+","+h+",0,0,"+ +(l*v>o*y)+","+(this._x1=t+R*_)+","+(this._y1=e+R*s)}},arc:function(t,e,i,a,h,d){t=+t,e=+e,i=+i,d=!!d;var p=i*Math.cos(a),_=i*Math.sin(a),s=t+p,o=e+_,l=1^d,x=d?a-h:h-a;if(i<0)throw new Error("negative radius: "+i);this._x1===null?this._+="M"+s+","+o:(Math.abs(this._x1-s)>F||Math.abs(this._y1-o)>F)&&(this._+="L"+s+","+o),i&&(x<0&&(x=x%rt+rt),x>Rt?this._+="A"+i+","+i+",0,1,"+l+","+(t-p)+","+(e-_)+"A"+i+","+i+",0,1,"+l+","+(this._x1=s)+","+(this._y1=o):x>F&&(this._+="A"+i+","+i+",0,"+ +(x>=st)+","+l+","+(this._x1=t+i*Math.cos(h))+","+(this._y1=e+i*Math.sin(h))))},rect:function(t,e,i,a){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +i+"v"+ +a+"h"+-i+"Z"},toString:function(){return this._}};function dt(t){return function(){return t}}function Vt(t){return t[0]}function Ft(t){return t[1]}var Wt=Array.prototype.slice;function Ut(t){return t.source}function Gt(t){return t.target}function Yt(t){var e=Ut,i=Gt,a=Vt,h=Ft,d=null;function p(){var _,s=Wt.call(arguments),o=e.apply(this,s),l=i.apply(this,s);if(d||(d=_=kt()),t(d,+a.apply(this,(s[0]=o,s)),+h.apply(this,s),+a.apply(this,(s[0]=l,s)),+h.apply(this,s)),_)return d=null,_+""||null}return p.source=function(_){return arguments.length?(e=_,p):e},p.target=function(_){return arguments.length?(i=_,p):i},p.x=function(_){return arguments.length?(a=typeof _=="function"?_:dt(+_),p):a},p.y=function(_){return arguments.length?(h=typeof _=="function"?_:dt(+_),p):h},p.context=function(_){return arguments.length?(d=_??null,p):d},p}function qt(t,e,i,a,h){t.moveTo(e,i),t.bezierCurveTo(e=(e+a)/2,i,e,h,a,h)}function Ht(){return Yt(qt)}function Xt(t){return[t.source.x1,t.y0]}function Qt(t){return[t.target.x0,t.y1]}function Kt(){return Ht().source(Xt).target(Qt)}var at=function(){var t=m(function(_,s,o,l){for(o=o||{},l=_.length;l--;o[_[l]]=s);return o},"o"),e=[1,9],i=[1,10],a=[1,5,10,12],h={trace:m(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:m(function(s,o,l,x,v,y,b){var M=y.length-1;switch(v){case 7:const T=x.findOrCreateNode(y[M-4].trim().replaceAll('""','"')),N=x.findOrCreateNode(y[M-2].trim().replaceAll('""','"')),C=parseFloat(y[M].trim());x.addLink(T,N,C);break;case 8:case 9:case 11:this.$=y[M];break;case 10:this.$=y[M-1];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:e,20:i},{1:[2,6],7:11,10:[1,12]},t(i,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(a,[2,8]),t(a,[2,9]),{19:[1,16]},t(a,[2,11]),{1:[2,1]},{1:[2,5]},t(i,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:e,20:i},{15:18,16:7,17:8,18:e,20:i},{18:[1,19]},t(i,[2,3]),{12:[1,20]},t(a,[2,10]),{15:21,16:7,17:8,18:e,20:i},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:m(function(s,o){if(o.recoverable)this.trace(s);else{var l=new Error(s);throw l.hash=o,l}},"parseError"),parse:m(function(s){var o=this,l=[0],x=[],v=[null],y=[],b=this.table,M="",T=0,N=0,C=2,j=1,R=y.slice.call(arguments,1),S=Object.create(this.lexer),P={yy:{}};for(var B in this.yy)Object.prototype.hasOwnProperty.call(this.yy,B)&&(P.yy[B]=this.yy[B]);S.setInput(s,P.yy),P.yy.lexer=S,P.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var O=S.yylloc;y.push(O);var D=S.options&&S.options.ranges;typeof P.yy.parseError=="function"?this.parseError=P.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function g(L){l.length=l.length-2*L,v.length=v.length-L,y.length=y.length-L}m(g,"popStack");function E(){var L;return L=x.pop()||S.lex()||j,typeof L!="number"&&(L instanceof Array&&(x=L,L=x.pop()),L=o.symbols_[L]||L),L}m(E,"lex");for(var A,z,I,n,f={},u,c,r,k;;){if(z=l[l.length-1],this.defaultActions[z]?I=this.defaultActions[z]:((A===null||typeof A>"u")&&(A=E()),I=b[z]&&b[z][A]),typeof I>"u"||!I.length||!I[0]){var w="";k=[];for(u in b[z])this.terminals_[u]&&u>C&&k.push("'"+this.terminals_[u]+"'");S.showPosition?w="Parse error on line "+(T+1)+`: +import{_ as m,d as lt,g as _t,s as xt,b as vt,c as bt,q as wt,p as St,r as Lt,e as Et,o as At,j as H,O as Tt}from"./index-BmyXM-jo.js";import{o as Mt}from"./ordinal-Cboi1Yqb.js";import"./init-Gi6I4Gst.js";function Nt(t){for(var e=t.length/6|0,i=new Array(e),a=0;a=a)&&(i=a);else{let a=-1;for(let h of t)(h=e(h,++a,t))!=null&&(i=h)&&(i=h)}return i}function pt(t,e){let i;if(e===void 0)for(const a of t)a!=null&&(i>a||i===void 0&&a>=a)&&(i=a);else{let a=-1;for(let h of t)(h=e(h,++a,t))!=null&&(i>h||i===void 0&&h>=h)&&(i=h)}return i}function nt(t,e){let i=0;if(e===void 0)for(let a of t)(a=+a)&&(i+=a);else{let a=-1;for(let h of t)(h=+e(h,++a,t))&&(i+=h)}return i}function Pt(t){return t.target.depth}function Ct(t){return t.depth}function Ot(t,e){return e-1-t.height}function mt(t,e){return t.sourceLinks.length?t.depth:e-1}function Dt(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?pt(t.sourceLinks,Pt)-1:0}function X(t){return function(){return t}}function ut(t,e){return Q(t.source,e.source)||t.index-e.index}function ht(t,e){return Q(t.target,e.target)||t.index-e.index}function Q(t,e){return t.y0-e.y0}function it(t){return t.value}function jt(t){return t.index}function zt(t){return t.nodes}function $t(t){return t.links}function ft(t,e){const i=t.get(e);if(!i)throw new Error("missing: "+e);return i}function yt({nodes:t}){for(const e of t){let i=e.y0,a=i;for(const h of e.sourceLinks)h.y0=i+h.width/2,i+=h.width;for(const h of e.targetLinks)h.y1=a+h.width/2,a+=h.width}}function Bt(){let t=0,e=0,i=1,a=1,h=24,d=8,p,_=jt,s=mt,o,l,x=zt,v=$t,y=6;function b(){const n={nodes:x.apply(null,arguments),links:v.apply(null,arguments)};return M(n),T(n),N(n),C(n),S(n),yt(n),n}b.update=function(n){return yt(n),n},b.nodeId=function(n){return arguments.length?(_=typeof n=="function"?n:X(n),b):_},b.nodeAlign=function(n){return arguments.length?(s=typeof n=="function"?n:X(n),b):s},b.nodeSort=function(n){return arguments.length?(o=n,b):o},b.nodeWidth=function(n){return arguments.length?(h=+n,b):h},b.nodePadding=function(n){return arguments.length?(d=p=+n,b):d},b.nodes=function(n){return arguments.length?(x=typeof n=="function"?n:X(n),b):x},b.links=function(n){return arguments.length?(v=typeof n=="function"?n:X(n),b):v},b.linkSort=function(n){return arguments.length?(l=n,b):l},b.size=function(n){return arguments.length?(t=e=0,i=+n[0],a=+n[1],b):[i-t,a-e]},b.extent=function(n){return arguments.length?(t=+n[0][0],i=+n[1][0],e=+n[0][1],a=+n[1][1],b):[[t,e],[i,a]]},b.iterations=function(n){return arguments.length?(y=+n,b):y};function M({nodes:n,links:f}){for(const[c,r]of n.entries())r.index=c,r.sourceLinks=[],r.targetLinks=[];const u=new Map(n.map((c,r)=>[_(c,r,n),c]));for(const[c,r]of f.entries()){r.index=c;let{source:k,target:w}=r;typeof k!="object"&&(k=r.source=ft(u,k)),typeof w!="object"&&(w=r.target=ft(u,w)),k.sourceLinks.push(r),w.targetLinks.push(r)}if(l!=null)for(const{sourceLinks:c,targetLinks:r}of n)c.sort(l),r.sort(l)}function T({nodes:n}){for(const f of n)f.value=f.fixedValue===void 0?Math.max(nt(f.sourceLinks,it),nt(f.targetLinks,it)):f.fixedValue}function N({nodes:n}){const f=n.length;let u=new Set(n),c=new Set,r=0;for(;u.size;){for(const k of u){k.depth=r;for(const{target:w}of k.sourceLinks)c.add(w)}if(++r>f)throw new Error("circular link");u=c,c=new Set}}function C({nodes:n}){const f=n.length;let u=new Set(n),c=new Set,r=0;for(;u.size;){for(const k of u){k.height=r;for(const{source:w}of k.targetLinks)c.add(w)}if(++r>f)throw new Error("circular link");u=c,c=new Set}}function j({nodes:n}){const f=ct(n,r=>r.depth)+1,u=(i-t-h)/(f-1),c=new Array(f);for(const r of n){const k=Math.max(0,Math.min(f-1,Math.floor(s.call(null,r,f))));r.layer=k,r.x0=t+k*u,r.x1=r.x0+h,c[k]?c[k].push(r):c[k]=[r]}if(o)for(const r of c)r.sort(o);return c}function R(n){const f=pt(n,u=>(a-e-(u.length-1)*p)/nt(u,it));for(const u of n){let c=e;for(const r of u){r.y0=c,r.y1=c+r.value*f,c=r.y1+p;for(const k of r.sourceLinks)k.width=k.value*f}c=(a-c+p)/(u.length+1);for(let r=0;ru.length)-1)),R(f);for(let u=0;u0))continue;let G=(L/V-w.y0)*f;w.y0+=G,w.y1+=G,E(w)}o===void 0&&k.sort(Q),O(k,u)}}function B(n,f,u){for(let c=n.length,r=c-2;r>=0;--r){const k=n[r];for(const w of k){let L=0,V=0;for(const{target:Y,value:et}of w.sourceLinks){let q=et*(Y.layer-w.layer);L+=I(w,Y)*q,V+=q}if(!(V>0))continue;let G=(L/V-w.y0)*f;w.y0+=G,w.y1+=G,E(w)}o===void 0&&k.sort(Q),O(k,u)}}function O(n,f){const u=n.length>>1,c=n[u];g(n,c.y0-p,u-1,f),D(n,c.y1+p,u+1,f),g(n,a,n.length-1,f),D(n,e,0,f)}function D(n,f,u,c){for(;u1e-6&&(r.y0+=k,r.y1+=k),f=r.y1+p}}function g(n,f,u,c){for(;u>=0;--u){const r=n[u],k=(r.y1-f)*c;k>1e-6&&(r.y0-=k,r.y1-=k),f=r.y0-p}}function E({sourceLinks:n,targetLinks:f}){if(l===void 0){for(const{source:{sourceLinks:u}}of f)u.sort(ht);for(const{target:{targetLinks:u}}of n)u.sort(ut)}}function A(n){if(l===void 0)for(const{sourceLinks:f,targetLinks:u}of n)f.sort(ht),u.sort(ut)}function z(n,f){let u=n.y0-(n.sourceLinks.length-1)*p/2;for(const{target:c,width:r}of n.sourceLinks){if(c===f)break;u+=r+p}for(const{source:c,width:r}of f.targetLinks){if(c===n)break;u-=r}return u}function I(n,f){let u=f.y0-(f.targetLinks.length-1)*p/2;for(const{source:c,width:r}of f.targetLinks){if(c===n)break;u+=r+p}for(const{target:c,width:r}of n.sourceLinks){if(c===f)break;u-=r}return u}return b}var st=Math.PI,rt=2*st,F=1e-6,Rt=rt-F;function ot(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function kt(){return new ot}ot.prototype=kt.prototype={constructor:ot,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,i,a){this._+="Q"+ +t+","+ +e+","+(this._x1=+i)+","+(this._y1=+a)},bezierCurveTo:function(t,e,i,a,h,d){this._+="C"+ +t+","+ +e+","+ +i+","+ +a+","+(this._x1=+h)+","+(this._y1=+d)},arcTo:function(t,e,i,a,h){t=+t,e=+e,i=+i,a=+a,h=+h;var d=this._x1,p=this._y1,_=i-t,s=a-e,o=d-t,l=p-e,x=o*o+l*l;if(h<0)throw new Error("negative radius: "+h);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(x>F)if(!(Math.abs(l*_-s*o)>F)||!h)this._+="L"+(this._x1=t)+","+(this._y1=e);else{var v=i-d,y=a-p,b=_*_+s*s,M=v*v+y*y,T=Math.sqrt(b),N=Math.sqrt(x),C=h*Math.tan((st-Math.acos((b+x-M)/(2*T*N)))/2),j=C/N,R=C/T;Math.abs(j-1)>F&&(this._+="L"+(t+j*o)+","+(e+j*l)),this._+="A"+h+","+h+",0,0,"+ +(l*v>o*y)+","+(this._x1=t+R*_)+","+(this._y1=e+R*s)}},arc:function(t,e,i,a,h,d){t=+t,e=+e,i=+i,d=!!d;var p=i*Math.cos(a),_=i*Math.sin(a),s=t+p,o=e+_,l=1^d,x=d?a-h:h-a;if(i<0)throw new Error("negative radius: "+i);this._x1===null?this._+="M"+s+","+o:(Math.abs(this._x1-s)>F||Math.abs(this._y1-o)>F)&&(this._+="L"+s+","+o),i&&(x<0&&(x=x%rt+rt),x>Rt?this._+="A"+i+","+i+",0,1,"+l+","+(t-p)+","+(e-_)+"A"+i+","+i+",0,1,"+l+","+(this._x1=s)+","+(this._y1=o):x>F&&(this._+="A"+i+","+i+",0,"+ +(x>=st)+","+l+","+(this._x1=t+i*Math.cos(h))+","+(this._y1=e+i*Math.sin(h))))},rect:function(t,e,i,a){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +i+"v"+ +a+"h"+-i+"Z"},toString:function(){return this._}};function dt(t){return function(){return t}}function Vt(t){return t[0]}function Ft(t){return t[1]}var Wt=Array.prototype.slice;function Ut(t){return t.source}function Gt(t){return t.target}function Yt(t){var e=Ut,i=Gt,a=Vt,h=Ft,d=null;function p(){var _,s=Wt.call(arguments),o=e.apply(this,s),l=i.apply(this,s);if(d||(d=_=kt()),t(d,+a.apply(this,(s[0]=o,s)),+h.apply(this,s),+a.apply(this,(s[0]=l,s)),+h.apply(this,s)),_)return d=null,_+""||null}return p.source=function(_){return arguments.length?(e=_,p):e},p.target=function(_){return arguments.length?(i=_,p):i},p.x=function(_){return arguments.length?(a=typeof _=="function"?_:dt(+_),p):a},p.y=function(_){return arguments.length?(h=typeof _=="function"?_:dt(+_),p):h},p.context=function(_){return arguments.length?(d=_??null,p):d},p}function qt(t,e,i,a,h){t.moveTo(e,i),t.bezierCurveTo(e=(e+a)/2,i,e,h,a,h)}function Ht(){return Yt(qt)}function Xt(t){return[t.source.x1,t.y0]}function Qt(t){return[t.target.x0,t.y1]}function Kt(){return Ht().source(Xt).target(Qt)}var at=function(){var t=m(function(_,s,o,l){for(o=o||{},l=_.length;l--;o[_[l]]=s);return o},"o"),e=[1,9],i=[1,10],a=[1,5,10,12],h={trace:m(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:m(function(s,o,l,x,v,y,b){var M=y.length-1;switch(v){case 7:const T=x.findOrCreateNode(y[M-4].trim().replaceAll('""','"')),N=x.findOrCreateNode(y[M-2].trim().replaceAll('""','"')),C=parseFloat(y[M].trim());x.addLink(T,N,C);break;case 8:case 9:case 11:this.$=y[M];break;case 10:this.$=y[M-1];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:e,20:i},{1:[2,6],7:11,10:[1,12]},t(i,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(a,[2,8]),t(a,[2,9]),{19:[1,16]},t(a,[2,11]),{1:[2,1]},{1:[2,5]},t(i,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:e,20:i},{15:18,16:7,17:8,18:e,20:i},{18:[1,19]},t(i,[2,3]),{12:[1,20]},t(a,[2,10]),{15:21,16:7,17:8,18:e,20:i},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:m(function(s,o){if(o.recoverable)this.trace(s);else{var l=new Error(s);throw l.hash=o,l}},"parseError"),parse:m(function(s){var o=this,l=[0],x=[],v=[null],y=[],b=this.table,M="",T=0,N=0,C=2,j=1,R=y.slice.call(arguments,1),S=Object.create(this.lexer),P={yy:{}};for(var B in this.yy)Object.prototype.hasOwnProperty.call(this.yy,B)&&(P.yy[B]=this.yy[B]);S.setInput(s,P.yy),P.yy.lexer=S,P.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var O=S.yylloc;y.push(O);var D=S.options&&S.options.ranges;typeof P.yy.parseError=="function"?this.parseError=P.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function g(L){l.length=l.length-2*L,v.length=v.length-L,y.length=y.length-L}m(g,"popStack");function E(){var L;return L=x.pop()||S.lex()||j,typeof L!="number"&&(L instanceof Array&&(x=L,L=x.pop()),L=o.symbols_[L]||L),L}m(E,"lex");for(var A,z,I,n,f={},u,c,r,k;;){if(z=l[l.length-1],this.defaultActions[z]?I=this.defaultActions[z]:((A===null||typeof A>"u")&&(A=E()),I=b[z]&&b[z][A]),typeof I>"u"||!I.length||!I[0]){var w="";k=[];for(u in b[z])this.terminals_[u]&&u>C&&k.push("'"+this.terminals_[u]+"'");S.showPosition?w="Parse error on line "+(T+1)+`: `+S.showPosition()+` Expecting `+k.join(", ")+", got '"+(this.terminals_[A]||A)+"'":w="Parse error on line "+(T+1)+": Unexpected "+(A==j?"end of input":"'"+(this.terminals_[A]||A)+"'"),this.parseError(w,{text:S.match,token:this.terminals_[A]||A,line:S.yylineno,loc:O,expected:k})}if(I[0]instanceof Array&&I.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+A);switch(I[0]){case 1:l.push(A),v.push(S.yytext),y.push(S.yylloc),l.push(I[1]),A=null,N=S.yyleng,M=S.yytext,T=S.yylineno,O=S.yylloc;break;case 2:if(c=this.productions_[I[1]][1],f.$=v[v.length-c],f._$={first_line:y[y.length-(c||1)].first_line,last_line:y[y.length-1].last_line,first_column:y[y.length-(c||1)].first_column,last_column:y[y.length-1].last_column},D&&(f._$.range=[y[y.length-(c||1)].range[0],y[y.length-1].range[1]]),n=this.performAction.apply(f,[M,N,T,P.yy,I[1],v,y].concat(R)),typeof n<"u")return n;c&&(l=l.slice(0,-1*c*2),v=v.slice(0,-1*c),y=y.slice(0,-1*c)),l.push(this.productions_[I[1]][0]),v.push(f.$),y.push(f._$),r=b[l[l.length-2]][l[l.length-1]],l.push(r);break;case 3:return!0}}return!0},"parse")},d=function(){var _={EOF:1,parseError:m(function(o,l){if(this.yy.parser)this.yy.parser.parseError(o,l);else throw new Error(o)},"parseError"),setInput:m(function(s,o){return this.yy=o||this.yy||{},this._input=s,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:m(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var o=s.match(/(?:\r\n?|\n).*/g);return o?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},"input"),unput:m(function(s){var o=s.length,l=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o),this.offset-=o;var x=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var v=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===x.length?this.yylloc.first_column:0)+x[x.length-l.length].length-l[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[v[0],v[0]+this.yyleng-o]),this.yyleng=this.yytext.length,this},"unput"),more:m(function(){return this._more=!0,this},"more"),reject:m(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:m(function(s){this.unput(this.match.slice(s))},"less"),pastInput:m(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:m(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:m(function(){var s=this.pastInput(),o=new Array(s.length+1).join("-");return s+this.upcomingInput()+` diff --git a/assets/sequenceDiagram-PQT5PN7B-DcJjkkJr.js b/assets/sequenceDiagram-PQT5PN7B-DN-F_B2T.js similarity index 99% rename from assets/sequenceDiagram-PQT5PN7B-DcJjkkJr.js rename to assets/sequenceDiagram-PQT5PN7B-DN-F_B2T.js index d1f0bf7..9452b96 100644 --- a/assets/sequenceDiagram-PQT5PN7B-DcJjkkJr.js +++ b/assets/sequenceDiagram-PQT5PN7B-DN-F_B2T.js @@ -1,4 +1,4 @@ -import{g as St,a as Kt,d as Se,b as Me,c as Re,e as De}from"./chunk-XVOYOM2C-D2CgWdoi.js";import{I as Ce}from"./chunk-2RYQ3QTB-DZRNnxEy.js";import{_ as d,g as Oe,q as Be,p as Ve,d as at,s as se,c as Ye,b as Fe,e as _,I as lt,J as wt,u as F,l as J,r as We,i as Mt,a as qe,j as kt,k as ze,m as ae,K as ie,B as Ft,L as ne,Z as He}from"./index-DqL3MUN2.js";var Wt=function(){var t=d(function(pt,I,L,A){for(L=L||{},A=pt.length;A--;L[pt[A]]=I);return L},"o"),e=[1,2],o=[1,3],r=[1,4],a=[2,4],i=[1,9],c=[1,11],h=[1,13],p=[1,14],s=[1,16],f=[1,17],E=[1,18],g=[1,24],T=[1,25],m=[1,26],w=[1,27],k=[1,28],V=[1,29],M=[1,30],Y=[1,31],C=[1,32],z=[1,33],H=[1,34],Z=[1,35],et=[1,36],K=[1,37],U=[1,38],q=[1,39],R=[1,41],Q=[1,42],G=[1,43],j=[1,44],rt=[1,45],S=[1,46],y=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,54,59,60,61,62,70],P=[4,5,16,50,52,53],$=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],it=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,54,59,60,61,62,70],N=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,54,59,60,61,62,70],Jt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,54,59,60,61,62,70],ot=[68,69,70],dt=[1,122],Ct={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,note:54,placement:55,text2:56,over:57,actor_pair:58,links:59,link:60,properties:61,details:62,spaceList:63,",":64,left_of:65,right_of:66,signaltype:67,"+":68,"-":69,ACTOR:70,SOLID_OPEN_ARROW:71,DOTTED_OPEN_ARROW:72,SOLID_ARROW:73,BIDIRECTIONAL_SOLID_ARROW:74,DOTTED_ARROW:75,BIDIRECTIONAL_DOTTED_ARROW:76,SOLID_CROSS:77,DOTTED_CROSS:78,SOLID_POINT:79,DOTTED_POINT:80,TXT:81,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",13:"create",14:"box",15:"restOfLine",16:"end",18:"autonumber",19:"NUM",20:"off",21:"activate",23:"deactivate",29:"title",30:"legacy_title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"loop",37:"rect",38:"opt",39:"alt",41:"par",43:"par_over",44:"critical",46:"break",47:"option",48:"and",49:"else",50:"participant",51:"AS",52:"participant_actor",53:"destroy",54:"note",57:"over",59:"links",60:"link",61:"properties",62:"details",64:",",65:"left_of",66:"right_of",68:"+",69:"-",70:"ACTOR",71:"SOLID_OPEN_ARROW",72:"DOTTED_OPEN_ARROW",73:"SOLID_ARROW",74:"BIDIRECTIONAL_SOLID_ARROW",75:"DOTTED_ARROW",76:"BIDIRECTIONAL_DOTTED_ARROW",77:"SOLID_CROSS",78:"DOTTED_CROSS",79:"SOLID_POINT",80:"DOTTED_POINT",81:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[63,2],[63,1],[58,3],[58,1],[55,1],[55,1],[17,5],[17,5],[17,4],[22,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[56,1]],performAction:d(function(I,L,A,b,D,l,mt){var u=l.length-1;switch(D){case 3:return b.apply(l[u]),l[u];case 4:case 9:this.$=[];break;case 5:case 10:l[u-1].push(l[u]),this.$=l[u-1];break;case 6:case 7:case 11:case 12:this.$=l[u];break;case 8:case 13:this.$=[];break;case 15:l[u].type="createParticipant",this.$=l[u];break;case 16:l[u-1].unshift({type:"boxStart",boxData:b.parseBoxData(l[u-2])}),l[u-1].push({type:"boxEnd",boxText:l[u-2]}),this.$=l[u-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(l[u-2]),sequenceIndexStep:Number(l[u-1]),sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(l[u-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:b.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"activeStart",signalType:b.LINETYPE.ACTIVE_START,actor:l[u-1].actor};break;case 23:this.$={type:"activeEnd",signalType:b.LINETYPE.ACTIVE_END,actor:l[u-1].actor};break;case 29:b.setDiagramTitle(l[u].substring(6)),this.$=l[u].substring(6);break;case 30:b.setDiagramTitle(l[u].substring(7)),this.$=l[u].substring(7);break;case 31:this.$=l[u].trim(),b.setAccTitle(this.$);break;case 32:case 33:this.$=l[u].trim(),b.setAccDescription(this.$);break;case 34:l[u-1].unshift({type:"loopStart",loopText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.LOOP_START}),l[u-1].push({type:"loopEnd",loopText:l[u-2],signalType:b.LINETYPE.LOOP_END}),this.$=l[u-1];break;case 35:l[u-1].unshift({type:"rectStart",color:b.parseMessage(l[u-2]),signalType:b.LINETYPE.RECT_START}),l[u-1].push({type:"rectEnd",color:b.parseMessage(l[u-2]),signalType:b.LINETYPE.RECT_END}),this.$=l[u-1];break;case 36:l[u-1].unshift({type:"optStart",optText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.OPT_START}),l[u-1].push({type:"optEnd",optText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.OPT_END}),this.$=l[u-1];break;case 37:l[u-1].unshift({type:"altStart",altText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.ALT_START}),l[u-1].push({type:"altEnd",signalType:b.LINETYPE.ALT_END}),this.$=l[u-1];break;case 38:l[u-1].unshift({type:"parStart",parText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.PAR_START}),l[u-1].push({type:"parEnd",signalType:b.LINETYPE.PAR_END}),this.$=l[u-1];break;case 39:l[u-1].unshift({type:"parStart",parText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.PAR_OVER_START}),l[u-1].push({type:"parEnd",signalType:b.LINETYPE.PAR_END}),this.$=l[u-1];break;case 40:l[u-1].unshift({type:"criticalStart",criticalText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.CRITICAL_START}),l[u-1].push({type:"criticalEnd",signalType:b.LINETYPE.CRITICAL_END}),this.$=l[u-1];break;case 41:l[u-1].unshift({type:"breakStart",breakText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.BREAK_START}),l[u-1].push({type:"breakEnd",optText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.BREAK_END}),this.$=l[u-1];break;case 43:this.$=l[u-3].concat([{type:"option",optionText:b.parseMessage(l[u-1]),signalType:b.LINETYPE.CRITICAL_OPTION},l[u]]);break;case 45:this.$=l[u-3].concat([{type:"and",parText:b.parseMessage(l[u-1]),signalType:b.LINETYPE.PAR_AND},l[u]]);break;case 47:this.$=l[u-3].concat([{type:"else",altText:b.parseMessage(l[u-1]),signalType:b.LINETYPE.ALT_ELSE},l[u]]);break;case 48:l[u-3].draw="participant",l[u-3].type="addParticipant",l[u-3].description=b.parseMessage(l[u-1]),this.$=l[u-3];break;case 49:l[u-1].draw="participant",l[u-1].type="addParticipant",this.$=l[u-1];break;case 50:l[u-3].draw="actor",l[u-3].type="addParticipant",l[u-3].description=b.parseMessage(l[u-1]),this.$=l[u-3];break;case 51:l[u-1].draw="actor",l[u-1].type="addParticipant",this.$=l[u-1];break;case 52:l[u-1].type="destroyParticipant",this.$=l[u-1];break;case 53:this.$=[l[u-1],{type:"addNote",placement:l[u-2],actor:l[u-1].actor,text:l[u]}];break;case 54:l[u-2]=[].concat(l[u-1],l[u-1]).slice(0,2),l[u-2][0]=l[u-2][0].actor,l[u-2][1]=l[u-2][1].actor,this.$=[l[u-1],{type:"addNote",placement:b.PLACEMENT.OVER,actor:l[u-2].slice(0,2),text:l[u]}];break;case 55:this.$=[l[u-1],{type:"addLinks",actor:l[u-1].actor,text:l[u]}];break;case 56:this.$=[l[u-1],{type:"addALink",actor:l[u-1].actor,text:l[u]}];break;case 57:this.$=[l[u-1],{type:"addProperties",actor:l[u-1].actor,text:l[u]}];break;case 58:this.$=[l[u-1],{type:"addDetails",actor:l[u-1].actor,text:l[u]}];break;case 61:this.$=[l[u-2],l[u]];break;case 62:this.$=l[u];break;case 63:this.$=b.PLACEMENT.LEFTOF;break;case 64:this.$=b.PLACEMENT.RIGHTOF;break;case 65:this.$=[l[u-4],l[u-1],{type:"addMessage",from:l[u-4].actor,to:l[u-1].actor,signalType:l[u-3],msg:l[u],activate:!0},{type:"activeStart",signalType:b.LINETYPE.ACTIVE_START,actor:l[u-1].actor}];break;case 66:this.$=[l[u-4],l[u-1],{type:"addMessage",from:l[u-4].actor,to:l[u-1].actor,signalType:l[u-3],msg:l[u]},{type:"activeEnd",signalType:b.LINETYPE.ACTIVE_END,actor:l[u-4].actor}];break;case 67:this.$=[l[u-3],l[u-1],{type:"addMessage",from:l[u-3].actor,to:l[u-1].actor,signalType:l[u-2],msg:l[u]}];break;case 68:this.$={type:"addParticipant",actor:l[u]};break;case 69:this.$=b.LINETYPE.SOLID_OPEN;break;case 70:this.$=b.LINETYPE.DOTTED_OPEN;break;case 71:this.$=b.LINETYPE.SOLID;break;case 72:this.$=b.LINETYPE.BIDIRECTIONAL_SOLID;break;case 73:this.$=b.LINETYPE.DOTTED;break;case 74:this.$=b.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 75:this.$=b.LINETYPE.SOLID_CROSS;break;case 76:this.$=b.LINETYPE.DOTTED_CROSS;break;case 77:this.$=b.LINETYPE.SOLID_POINT;break;case 78:this.$=b.LINETYPE.DOTTED_POINT;break;case 79:this.$=b.parseMessage(l[u].trim().substring(1));break}},"anonymous"),table:[{3:1,4:e,5:o,6:r},{1:[3]},{3:5,4:e,5:o,6:r},{3:6,4:e,5:o,6:r},t([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],a,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:i,5:c,8:8,9:10,12:12,13:h,14:p,17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},t(y,[2,5]),{9:47,12:12,13:h,14:p,17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},t(y,[2,7]),t(y,[2,8]),t(y,[2,14]),{12:48,50:K,52:U,53:q},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,70:S},{22:55,70:S},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},t(y,[2,29]),t(y,[2,30]),{32:[1,61]},{34:[1,62]},t(y,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,70:S},{22:72,70:S},{22:73,70:S},{67:74,71:[1,75],72:[1,76],73:[1,77],74:[1,78],75:[1,79],76:[1,80],77:[1,81],78:[1,82],79:[1,83],80:[1,84]},{55:85,57:[1,86],65:[1,87],66:[1,88]},{22:89,70:S},{22:90,70:S},{22:91,70:S},{22:92,70:S},t([5,51,64,71,72,73,74,75,76,77,78,79,80,81],[2,68]),t(y,[2,6]),t(y,[2,15]),t(P,[2,9],{10:93}),t(y,[2,17]),{5:[1,95],19:[1,94]},{5:[1,96]},t(y,[2,21]),{5:[1,97]},{5:[1,98]},t(y,[2,24]),t(y,[2,25]),t(y,[2,26]),t(y,[2,27]),t(y,[2,28]),t(y,[2,31]),t(y,[2,32]),t($,a,{7:99}),t($,a,{7:100}),t($,a,{7:101}),t(it,a,{40:102,7:103}),t(N,a,{42:104,7:105}),t(N,a,{7:105,42:106}),t(Jt,a,{45:107,7:108}),t($,a,{7:109}),{5:[1,111],51:[1,110]},{5:[1,113],51:[1,112]},{5:[1,114]},{22:117,68:[1,115],69:[1,116],70:S},t(ot,[2,69]),t(ot,[2,70]),t(ot,[2,71]),t(ot,[2,72]),t(ot,[2,73]),t(ot,[2,74]),t(ot,[2,75]),t(ot,[2,76]),t(ot,[2,77]),t(ot,[2,78]),{22:118,70:S},{22:120,58:119,70:S},{70:[2,63]},{70:[2,64]},{56:121,81:dt},{56:123,81:dt},{56:124,81:dt},{56:125,81:dt},{4:[1,128],5:[1,130],11:127,12:129,16:[1,126],50:K,52:U,53:q},{5:[1,131]},t(y,[2,19]),t(y,[2,20]),t(y,[2,22]),t(y,[2,23]),{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,132],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,133],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,134],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{16:[1,135]},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[2,46],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,49:[1,136],50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{16:[1,137]},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[2,44],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,48:[1,138],50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{16:[1,139]},{16:[1,140]},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[2,42],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,47:[1,141],50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,142],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{15:[1,143]},t(y,[2,49]),{15:[1,144]},t(y,[2,51]),t(y,[2,52]),{22:145,70:S},{22:146,70:S},{56:147,81:dt},{56:148,81:dt},{56:149,81:dt},{64:[1,150],81:[2,62]},{5:[2,55]},{5:[2,79]},{5:[2,56]},{5:[2,57]},{5:[2,58]},t(y,[2,16]),t(P,[2,10]),{12:151,50:K,52:U,53:q},t(P,[2,12]),t(P,[2,13]),t(y,[2,18]),t(y,[2,34]),t(y,[2,35]),t(y,[2,36]),t(y,[2,37]),{15:[1,152]},t(y,[2,38]),{15:[1,153]},t(y,[2,39]),t(y,[2,40]),{15:[1,154]},t(y,[2,41]),{5:[1,155]},{5:[1,156]},{56:157,81:dt},{56:158,81:dt},{5:[2,67]},{5:[2,53]},{5:[2,54]},{22:159,70:S},t(P,[2,11]),t(it,a,{7:103,40:160}),t(N,a,{7:105,42:161}),t(Jt,a,{7:108,45:162}),t(y,[2,48]),t(y,[2,50]),{5:[2,65]},{5:[2,66]},{81:[2,61]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],87:[2,63],88:[2,64],121:[2,55],122:[2,79],123:[2,56],124:[2,57],125:[2,58],147:[2,67],148:[2,53],149:[2,54],157:[2,65],158:[2,66],159:[2,61],160:[2,47],161:[2,45],162:[2,43]},parseError:d(function(I,L){if(L.recoverable)this.trace(I);else{var A=new Error(I);throw A.hash=L,A}},"parseError"),parse:d(function(I){var L=this,A=[0],b=[],D=[null],l=[],mt=this.table,u="",Lt=0,Zt=0,Pe=2,Qt=1,Ae=l.slice.call(arguments,1),W=Object.create(this.lexer),ut={yy:{}};for(var Ot in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ot)&&(ut.yy[Ot]=this.yy[Ot]);W.setInput(I,ut.yy),ut.yy.lexer=W,ut.yy.parser=this,typeof W.yylloc>"u"&&(W.yylloc={});var Bt=W.yylloc;l.push(Bt);var ke=W.options&&W.options.ranges;typeof ut.yy.parseError=="function"?this.parseError=ut.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ne(tt){A.length=A.length-2*tt,D.length=D.length-tt,l.length=l.length-tt}d(Ne,"popStack");function jt(){var tt;return tt=b.pop()||W.lex()||Qt,typeof tt!="number"&&(tt instanceof Array&&(b=tt,tt=b.pop()),tt=L.symbols_[tt]||tt),tt}d(jt,"lex");for(var X,gt,st,Vt,yt={},Pt,ht,$t,At;;){if(gt=A[A.length-1],this.defaultActions[gt]?st=this.defaultActions[gt]:((X===null||typeof X>"u")&&(X=jt()),st=mt[gt]&&mt[gt][X]),typeof st>"u"||!st.length||!st[0]){var Yt="";At=[];for(Pt in mt[gt])this.terminals_[Pt]&&Pt>Pe&&At.push("'"+this.terminals_[Pt]+"'");W.showPosition?Yt="Parse error on line "+(Lt+1)+`: +import{g as St,a as Kt,d as Se,b as Me,c as Re,e as De}from"./chunk-XVOYOM2C-B52IjuyV.js";import{I as Ce}from"./chunk-2RYQ3QTB-BNTIwrOE.js";import{_ as d,g as Oe,q as Be,p as Ve,d as at,s as se,c as Ye,b as Fe,e as _,I as lt,J as wt,u as F,l as J,r as We,i as Mt,a as qe,j as kt,k as ze,m as ae,K as ie,B as Ft,L as ne,Z as He}from"./index-BmyXM-jo.js";var Wt=function(){var t=d(function(pt,I,L,A){for(L=L||{},A=pt.length;A--;L[pt[A]]=I);return L},"o"),e=[1,2],o=[1,3],r=[1,4],a=[2,4],i=[1,9],c=[1,11],h=[1,13],p=[1,14],s=[1,16],f=[1,17],E=[1,18],g=[1,24],T=[1,25],m=[1,26],w=[1,27],k=[1,28],V=[1,29],M=[1,30],Y=[1,31],C=[1,32],z=[1,33],H=[1,34],Z=[1,35],et=[1,36],K=[1,37],U=[1,38],q=[1,39],R=[1,41],Q=[1,42],G=[1,43],j=[1,44],rt=[1,45],S=[1,46],y=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,54,59,60,61,62,70],P=[4,5,16,50,52,53],$=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],it=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,54,59,60,61,62,70],N=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,54,59,60,61,62,70],Jt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,54,59,60,61,62,70],ot=[68,69,70],dt=[1,122],Ct={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,note:54,placement:55,text2:56,over:57,actor_pair:58,links:59,link:60,properties:61,details:62,spaceList:63,",":64,left_of:65,right_of:66,signaltype:67,"+":68,"-":69,ACTOR:70,SOLID_OPEN_ARROW:71,DOTTED_OPEN_ARROW:72,SOLID_ARROW:73,BIDIRECTIONAL_SOLID_ARROW:74,DOTTED_ARROW:75,BIDIRECTIONAL_DOTTED_ARROW:76,SOLID_CROSS:77,DOTTED_CROSS:78,SOLID_POINT:79,DOTTED_POINT:80,TXT:81,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",13:"create",14:"box",15:"restOfLine",16:"end",18:"autonumber",19:"NUM",20:"off",21:"activate",23:"deactivate",29:"title",30:"legacy_title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"loop",37:"rect",38:"opt",39:"alt",41:"par",43:"par_over",44:"critical",46:"break",47:"option",48:"and",49:"else",50:"participant",51:"AS",52:"participant_actor",53:"destroy",54:"note",57:"over",59:"links",60:"link",61:"properties",62:"details",64:",",65:"left_of",66:"right_of",68:"+",69:"-",70:"ACTOR",71:"SOLID_OPEN_ARROW",72:"DOTTED_OPEN_ARROW",73:"SOLID_ARROW",74:"BIDIRECTIONAL_SOLID_ARROW",75:"DOTTED_ARROW",76:"BIDIRECTIONAL_DOTTED_ARROW",77:"SOLID_CROSS",78:"DOTTED_CROSS",79:"SOLID_POINT",80:"DOTTED_POINT",81:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[63,2],[63,1],[58,3],[58,1],[55,1],[55,1],[17,5],[17,5],[17,4],[22,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[56,1]],performAction:d(function(I,L,A,b,D,l,mt){var u=l.length-1;switch(D){case 3:return b.apply(l[u]),l[u];case 4:case 9:this.$=[];break;case 5:case 10:l[u-1].push(l[u]),this.$=l[u-1];break;case 6:case 7:case 11:case 12:this.$=l[u];break;case 8:case 13:this.$=[];break;case 15:l[u].type="createParticipant",this.$=l[u];break;case 16:l[u-1].unshift({type:"boxStart",boxData:b.parseBoxData(l[u-2])}),l[u-1].push({type:"boxEnd",boxText:l[u-2]}),this.$=l[u-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(l[u-2]),sequenceIndexStep:Number(l[u-1]),sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(l[u-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:b.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"activeStart",signalType:b.LINETYPE.ACTIVE_START,actor:l[u-1].actor};break;case 23:this.$={type:"activeEnd",signalType:b.LINETYPE.ACTIVE_END,actor:l[u-1].actor};break;case 29:b.setDiagramTitle(l[u].substring(6)),this.$=l[u].substring(6);break;case 30:b.setDiagramTitle(l[u].substring(7)),this.$=l[u].substring(7);break;case 31:this.$=l[u].trim(),b.setAccTitle(this.$);break;case 32:case 33:this.$=l[u].trim(),b.setAccDescription(this.$);break;case 34:l[u-1].unshift({type:"loopStart",loopText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.LOOP_START}),l[u-1].push({type:"loopEnd",loopText:l[u-2],signalType:b.LINETYPE.LOOP_END}),this.$=l[u-1];break;case 35:l[u-1].unshift({type:"rectStart",color:b.parseMessage(l[u-2]),signalType:b.LINETYPE.RECT_START}),l[u-1].push({type:"rectEnd",color:b.parseMessage(l[u-2]),signalType:b.LINETYPE.RECT_END}),this.$=l[u-1];break;case 36:l[u-1].unshift({type:"optStart",optText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.OPT_START}),l[u-1].push({type:"optEnd",optText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.OPT_END}),this.$=l[u-1];break;case 37:l[u-1].unshift({type:"altStart",altText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.ALT_START}),l[u-1].push({type:"altEnd",signalType:b.LINETYPE.ALT_END}),this.$=l[u-1];break;case 38:l[u-1].unshift({type:"parStart",parText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.PAR_START}),l[u-1].push({type:"parEnd",signalType:b.LINETYPE.PAR_END}),this.$=l[u-1];break;case 39:l[u-1].unshift({type:"parStart",parText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.PAR_OVER_START}),l[u-1].push({type:"parEnd",signalType:b.LINETYPE.PAR_END}),this.$=l[u-1];break;case 40:l[u-1].unshift({type:"criticalStart",criticalText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.CRITICAL_START}),l[u-1].push({type:"criticalEnd",signalType:b.LINETYPE.CRITICAL_END}),this.$=l[u-1];break;case 41:l[u-1].unshift({type:"breakStart",breakText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.BREAK_START}),l[u-1].push({type:"breakEnd",optText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.BREAK_END}),this.$=l[u-1];break;case 43:this.$=l[u-3].concat([{type:"option",optionText:b.parseMessage(l[u-1]),signalType:b.LINETYPE.CRITICAL_OPTION},l[u]]);break;case 45:this.$=l[u-3].concat([{type:"and",parText:b.parseMessage(l[u-1]),signalType:b.LINETYPE.PAR_AND},l[u]]);break;case 47:this.$=l[u-3].concat([{type:"else",altText:b.parseMessage(l[u-1]),signalType:b.LINETYPE.ALT_ELSE},l[u]]);break;case 48:l[u-3].draw="participant",l[u-3].type="addParticipant",l[u-3].description=b.parseMessage(l[u-1]),this.$=l[u-3];break;case 49:l[u-1].draw="participant",l[u-1].type="addParticipant",this.$=l[u-1];break;case 50:l[u-3].draw="actor",l[u-3].type="addParticipant",l[u-3].description=b.parseMessage(l[u-1]),this.$=l[u-3];break;case 51:l[u-1].draw="actor",l[u-1].type="addParticipant",this.$=l[u-1];break;case 52:l[u-1].type="destroyParticipant",this.$=l[u-1];break;case 53:this.$=[l[u-1],{type:"addNote",placement:l[u-2],actor:l[u-1].actor,text:l[u]}];break;case 54:l[u-2]=[].concat(l[u-1],l[u-1]).slice(0,2),l[u-2][0]=l[u-2][0].actor,l[u-2][1]=l[u-2][1].actor,this.$=[l[u-1],{type:"addNote",placement:b.PLACEMENT.OVER,actor:l[u-2].slice(0,2),text:l[u]}];break;case 55:this.$=[l[u-1],{type:"addLinks",actor:l[u-1].actor,text:l[u]}];break;case 56:this.$=[l[u-1],{type:"addALink",actor:l[u-1].actor,text:l[u]}];break;case 57:this.$=[l[u-1],{type:"addProperties",actor:l[u-1].actor,text:l[u]}];break;case 58:this.$=[l[u-1],{type:"addDetails",actor:l[u-1].actor,text:l[u]}];break;case 61:this.$=[l[u-2],l[u]];break;case 62:this.$=l[u];break;case 63:this.$=b.PLACEMENT.LEFTOF;break;case 64:this.$=b.PLACEMENT.RIGHTOF;break;case 65:this.$=[l[u-4],l[u-1],{type:"addMessage",from:l[u-4].actor,to:l[u-1].actor,signalType:l[u-3],msg:l[u],activate:!0},{type:"activeStart",signalType:b.LINETYPE.ACTIVE_START,actor:l[u-1].actor}];break;case 66:this.$=[l[u-4],l[u-1],{type:"addMessage",from:l[u-4].actor,to:l[u-1].actor,signalType:l[u-3],msg:l[u]},{type:"activeEnd",signalType:b.LINETYPE.ACTIVE_END,actor:l[u-4].actor}];break;case 67:this.$=[l[u-3],l[u-1],{type:"addMessage",from:l[u-3].actor,to:l[u-1].actor,signalType:l[u-2],msg:l[u]}];break;case 68:this.$={type:"addParticipant",actor:l[u]};break;case 69:this.$=b.LINETYPE.SOLID_OPEN;break;case 70:this.$=b.LINETYPE.DOTTED_OPEN;break;case 71:this.$=b.LINETYPE.SOLID;break;case 72:this.$=b.LINETYPE.BIDIRECTIONAL_SOLID;break;case 73:this.$=b.LINETYPE.DOTTED;break;case 74:this.$=b.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 75:this.$=b.LINETYPE.SOLID_CROSS;break;case 76:this.$=b.LINETYPE.DOTTED_CROSS;break;case 77:this.$=b.LINETYPE.SOLID_POINT;break;case 78:this.$=b.LINETYPE.DOTTED_POINT;break;case 79:this.$=b.parseMessage(l[u].trim().substring(1));break}},"anonymous"),table:[{3:1,4:e,5:o,6:r},{1:[3]},{3:5,4:e,5:o,6:r},{3:6,4:e,5:o,6:r},t([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],a,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:i,5:c,8:8,9:10,12:12,13:h,14:p,17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},t(y,[2,5]),{9:47,12:12,13:h,14:p,17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},t(y,[2,7]),t(y,[2,8]),t(y,[2,14]),{12:48,50:K,52:U,53:q},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,70:S},{22:55,70:S},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},t(y,[2,29]),t(y,[2,30]),{32:[1,61]},{34:[1,62]},t(y,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,70:S},{22:72,70:S},{22:73,70:S},{67:74,71:[1,75],72:[1,76],73:[1,77],74:[1,78],75:[1,79],76:[1,80],77:[1,81],78:[1,82],79:[1,83],80:[1,84]},{55:85,57:[1,86],65:[1,87],66:[1,88]},{22:89,70:S},{22:90,70:S},{22:91,70:S},{22:92,70:S},t([5,51,64,71,72,73,74,75,76,77,78,79,80,81],[2,68]),t(y,[2,6]),t(y,[2,15]),t(P,[2,9],{10:93}),t(y,[2,17]),{5:[1,95],19:[1,94]},{5:[1,96]},t(y,[2,21]),{5:[1,97]},{5:[1,98]},t(y,[2,24]),t(y,[2,25]),t(y,[2,26]),t(y,[2,27]),t(y,[2,28]),t(y,[2,31]),t(y,[2,32]),t($,a,{7:99}),t($,a,{7:100}),t($,a,{7:101}),t(it,a,{40:102,7:103}),t(N,a,{42:104,7:105}),t(N,a,{7:105,42:106}),t(Jt,a,{45:107,7:108}),t($,a,{7:109}),{5:[1,111],51:[1,110]},{5:[1,113],51:[1,112]},{5:[1,114]},{22:117,68:[1,115],69:[1,116],70:S},t(ot,[2,69]),t(ot,[2,70]),t(ot,[2,71]),t(ot,[2,72]),t(ot,[2,73]),t(ot,[2,74]),t(ot,[2,75]),t(ot,[2,76]),t(ot,[2,77]),t(ot,[2,78]),{22:118,70:S},{22:120,58:119,70:S},{70:[2,63]},{70:[2,64]},{56:121,81:dt},{56:123,81:dt},{56:124,81:dt},{56:125,81:dt},{4:[1,128],5:[1,130],11:127,12:129,16:[1,126],50:K,52:U,53:q},{5:[1,131]},t(y,[2,19]),t(y,[2,20]),t(y,[2,22]),t(y,[2,23]),{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,132],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,133],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,134],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{16:[1,135]},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[2,46],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,49:[1,136],50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{16:[1,137]},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[2,44],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,48:[1,138],50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{16:[1,139]},{16:[1,140]},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[2,42],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,47:[1,141],50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,142],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{15:[1,143]},t(y,[2,49]),{15:[1,144]},t(y,[2,51]),t(y,[2,52]),{22:145,70:S},{22:146,70:S},{56:147,81:dt},{56:148,81:dt},{56:149,81:dt},{64:[1,150],81:[2,62]},{5:[2,55]},{5:[2,79]},{5:[2,56]},{5:[2,57]},{5:[2,58]},t(y,[2,16]),t(P,[2,10]),{12:151,50:K,52:U,53:q},t(P,[2,12]),t(P,[2,13]),t(y,[2,18]),t(y,[2,34]),t(y,[2,35]),t(y,[2,36]),t(y,[2,37]),{15:[1,152]},t(y,[2,38]),{15:[1,153]},t(y,[2,39]),t(y,[2,40]),{15:[1,154]},t(y,[2,41]),{5:[1,155]},{5:[1,156]},{56:157,81:dt},{56:158,81:dt},{5:[2,67]},{5:[2,53]},{5:[2,54]},{22:159,70:S},t(P,[2,11]),t(it,a,{7:103,40:160}),t(N,a,{7:105,42:161}),t(Jt,a,{7:108,45:162}),t(y,[2,48]),t(y,[2,50]),{5:[2,65]},{5:[2,66]},{81:[2,61]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],87:[2,63],88:[2,64],121:[2,55],122:[2,79],123:[2,56],124:[2,57],125:[2,58],147:[2,67],148:[2,53],149:[2,54],157:[2,65],158:[2,66],159:[2,61],160:[2,47],161:[2,45],162:[2,43]},parseError:d(function(I,L){if(L.recoverable)this.trace(I);else{var A=new Error(I);throw A.hash=L,A}},"parseError"),parse:d(function(I){var L=this,A=[0],b=[],D=[null],l=[],mt=this.table,u="",Lt=0,Zt=0,Pe=2,Qt=1,Ae=l.slice.call(arguments,1),W=Object.create(this.lexer),ut={yy:{}};for(var Ot in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ot)&&(ut.yy[Ot]=this.yy[Ot]);W.setInput(I,ut.yy),ut.yy.lexer=W,ut.yy.parser=this,typeof W.yylloc>"u"&&(W.yylloc={});var Bt=W.yylloc;l.push(Bt);var ke=W.options&&W.options.ranges;typeof ut.yy.parseError=="function"?this.parseError=ut.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ne(tt){A.length=A.length-2*tt,D.length=D.length-tt,l.length=l.length-tt}d(Ne,"popStack");function jt(){var tt;return tt=b.pop()||W.lex()||Qt,typeof tt!="number"&&(tt instanceof Array&&(b=tt,tt=b.pop()),tt=L.symbols_[tt]||tt),tt}d(jt,"lex");for(var X,gt,st,Vt,yt={},Pt,ht,$t,At;;){if(gt=A[A.length-1],this.defaultActions[gt]?st=this.defaultActions[gt]:((X===null||typeof X>"u")&&(X=jt()),st=mt[gt]&&mt[gt][X]),typeof st>"u"||!st.length||!st[0]){var Yt="";At=[];for(Pt in mt[gt])this.terminals_[Pt]&&Pt>Pe&&At.push("'"+this.terminals_[Pt]+"'");W.showPosition?Yt="Parse error on line "+(Lt+1)+`: `+W.showPosition()+` Expecting `+At.join(", ")+", got '"+(this.terminals_[X]||X)+"'":Yt="Parse error on line "+(Lt+1)+": Unexpected "+(X==Qt?"end of input":"'"+(this.terminals_[X]||X)+"'"),this.parseError(Yt,{text:W.match,token:this.terminals_[X]||X,line:W.yylineno,loc:Bt,expected:At})}if(st[0]instanceof Array&&st.length>1)throw new Error("Parse Error: multiple actions possible at state: "+gt+", token: "+X);switch(st[0]){case 1:A.push(X),D.push(W.yytext),l.push(W.yylloc),A.push(st[1]),X=null,Zt=W.yyleng,u=W.yytext,Lt=W.yylineno,Bt=W.yylloc;break;case 2:if(ht=this.productions_[st[1]][1],yt.$=D[D.length-ht],yt._$={first_line:l[l.length-(ht||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(ht||1)].first_column,last_column:l[l.length-1].last_column},ke&&(yt._$.range=[l[l.length-(ht||1)].range[0],l[l.length-1].range[1]]),Vt=this.performAction.apply(yt,[u,Zt,Lt,ut.yy,st[1],D,l].concat(Ae)),typeof Vt<"u")return Vt;ht&&(A=A.slice(0,-1*ht*2),D=D.slice(0,-1*ht),l=l.slice(0,-1*ht)),A.push(this.productions_[st[1]][0]),D.push(yt.$),l.push(yt._$),$t=mt[A[A.length-2]][A[A.length-1]],A.push($t);break;case 3:return!0}}return!0},"parse")},Le=function(){var pt={EOF:1,parseError:d(function(L,A){if(this.yy.parser)this.yy.parser.parseError(L,A);else throw new Error(L)},"parseError"),setInput:d(function(I,L){return this.yy=L||this.yy||{},this._input=I,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:d(function(){var I=this._input[0];this.yytext+=I,this.yyleng++,this.offset++,this.match+=I,this.matched+=I;var L=I.match(/(?:\r\n?|\n).*/g);return L?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),I},"input"),unput:d(function(I){var L=I.length,A=I.split(/(?:\r\n?|\n)/g);this._input=I+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-L),this.offset-=L;var b=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),A.length-1&&(this.yylineno-=A.length-1);var D=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:A?(A.length===b.length?this.yylloc.first_column:0)+b[b.length-A.length].length-A[0].length:this.yylloc.first_column-L},this.options.ranges&&(this.yylloc.range=[D[0],D[0]+this.yyleng-L]),this.yyleng=this.yytext.length,this},"unput"),more:d(function(){return this._more=!0,this},"more"),reject:d(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:d(function(I){this.unput(this.match.slice(I))},"less"),pastInput:d(function(){var I=this.matched.substr(0,this.matched.length-this.match.length);return(I.length>20?"...":"")+I.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:d(function(){var I=this.match;return I.length<20&&(I+=this._input.substr(0,20-I.length)),(I.substr(0,20)+(I.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:d(function(){var I=this.pastInput(),L=new Array(I.length+1).join("-");return I+this.upcomingInput()+` diff --git a/assets/stateDiagram-TQSDS2D4-D-_rRabQ.js b/assets/stateDiagram-TQSDS2D4-CleU-zJR.js similarity index 96% rename from assets/stateDiagram-TQSDS2D4-D-_rRabQ.js rename to assets/stateDiagram-TQSDS2D4-CleU-zJR.js index 23af0bd..528d9dc 100644 --- a/assets/stateDiagram-TQSDS2D4-D-_rRabQ.js +++ b/assets/stateDiagram-TQSDS2D4-CleU-zJR.js @@ -1 +1 @@ -import{s as W,a as N,b as P}from"./chunk-2JBRQKJ5-ClymeFnE.js";import{_ as u,d as t,j as H,l as S,k as C,e as z,H as U,M as F,u as O}from"./index-DqL3MUN2.js";import"./chunk-YWFND7JV-CHuoUZPA.js";import{G as J}from"./graph-F-lRYGiw.js";import{l as X}from"./layout-B3T3dhdM.js";import"./chunk-DUMQOTYW-BNJNkKaQ.js";import"./_baseUniq-B1Flybha.js";import"./min-CjiScnR7.js";var L={},D=u((e,i)=>{L[e]=i},"set"),Y=u(e=>L[e],"get"),G=u(()=>Object.keys(L),"keys"),I=u(()=>G().length,"size"),$={get:Y,set:D,keys:G,size:I},j=u(e=>e.append("circle").attr("class","start-state").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit).attr("cy",t().state.padding+t().state.sizeUnit),"drawStartState"),q=u(e=>e.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",t().state.textHeight).attr("class","divider").attr("x2",t().state.textHeight*2).attr("y1",0).attr("y2",0),"drawDivider"),Z=u((e,i)=>{const d=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+2*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),o=d.node().getBBox();return e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",o.width+2*t().state.padding).attr("height",o.height+2*t().state.padding).attr("rx",t().state.radius),d},"drawSimpleState"),K=u((e,i)=>{const d=u(function(l,B,m){const k=l.append("tspan").attr("x",2*t().state.padding).text(B);m||k.attr("dy",t().state.textHeight)},"addTspan"),n=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+1.3*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.descriptions[0]).node().getBBox(),g=n.height,p=e.append("text").attr("x",t().state.padding).attr("y",g+t().state.padding*.4+t().state.dividerMargin+t().state.textHeight).attr("class","state-description");let a=!0,s=!0;i.descriptions.forEach(function(l){a||(d(p,l,s),s=!1),a=!1});const y=e.append("line").attr("x1",t().state.padding).attr("y1",t().state.padding+g+t().state.dividerMargin/2).attr("y2",t().state.padding+g+t().state.dividerMargin/2).attr("class","descr-divider"),x=p.node().getBBox(),c=Math.max(x.width,n.width);return y.attr("x2",c+3*t().state.padding),e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",c+2*t().state.padding).attr("height",x.height+g+2*t().state.padding).attr("rx",t().state.radius),e},"drawDescrState"),Q=u((e,i,d)=>{const o=t().state.padding,n=2*t().state.padding,g=e.node().getBBox(),p=g.width,a=g.x,s=e.append("text").attr("x",0).attr("y",t().state.titleShift).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),x=s.node().getBBox().width+n;let c=Math.max(x,p);c===p&&(c=c+n);let l;const B=e.node().getBBox();i.doc,l=a-o,x>p&&(l=(p-c)/2+o),Math.abs(a-B.x)p&&(l=a-(x-p)/2);const m=1-t().state.textHeight;return e.insert("rect",":first-child").attr("x",l).attr("y",m).attr("class",d?"alt-composit":"composit").attr("width",c).attr("height",B.height+t().state.textHeight+t().state.titleShift+1).attr("rx","0"),s.attr("x",l+o),x<=p&&s.attr("x",a+(c-n)/2-x/2+o),e.insert("rect",":first-child").attr("x",l).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",c).attr("height",t().state.textHeight*3).attr("rx",t().state.radius),e.insert("rect",":first-child").attr("x",l).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",c).attr("height",B.height+3+2*t().state.textHeight).attr("rx",t().state.radius),e},"addTitleAndBox"),V=u(e=>(e.append("circle").attr("class","end-state-outer").attr("r",t().state.sizeUnit+t().state.miniPadding).attr("cx",t().state.padding+t().state.sizeUnit+t().state.miniPadding).attr("cy",t().state.padding+t().state.sizeUnit+t().state.miniPadding),e.append("circle").attr("class","end-state-inner").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit+2).attr("cy",t().state.padding+t().state.sizeUnit+2)),"drawEndState"),tt=u((e,i)=>{let d=t().state.forkWidth,o=t().state.forkHeight;if(i.parentId){let n=d;d=o,o=n}return e.append("rect").style("stroke","black").style("fill","black").attr("width",d).attr("height",o).attr("x",t().state.padding).attr("y",t().state.padding)},"drawForkJoinState"),et=u((e,i,d,o)=>{let n=0;const g=o.append("text");g.style("text-anchor","start"),g.attr("class","noteText");let p=e.replace(/\r\n/g,"
");p=p.replace(/\n/g,"
");const a=p.split(z.lineBreakRegex);let s=1.25*t().state.noteMargin;for(const y of a){const x=y.trim();if(x.length>0){const c=g.append("tspan");if(c.text(x),s===0){const l=c.node().getBBox();s+=l.height}n+=s,c.attr("x",i+t().state.noteMargin),c.attr("y",d+n+1.25*t().state.noteMargin)}}return{textWidth:g.node().getBBox().width,textHeight:n}},"_drawLongText"),at=u((e,i)=>{i.attr("class","state-note");const d=i.append("rect").attr("x",0).attr("y",t().state.padding),o=i.append("g"),{textWidth:n,textHeight:g}=et(e,0,0,o);return d.attr("height",g+2*t().state.noteMargin),d.attr("width",n+t().state.noteMargin*2),d},"drawNote"),_=u(function(e,i){const d=i.id,o={id:d,label:i.id,width:0,height:0},n=e.append("g").attr("id",d).attr("class","stateGroup");i.type==="start"&&j(n),i.type==="end"&&V(n),(i.type==="fork"||i.type==="join")&&tt(n,i),i.type==="note"&&at(i.note.text,n),i.type==="divider"&&q(n),i.type==="default"&&i.descriptions.length===0&&Z(n,i),i.type==="default"&&i.descriptions.length>0&&K(n,i);const g=n.node().getBBox();return o.width=g.width+2*t().state.padding,o.height=g.height+2*t().state.padding,$.set(d,o),o},"drawState"),A=0,it=u(function(e,i,d){const o=u(function(s){switch(s){case N.relationType.AGGREGATION:return"aggregation";case N.relationType.EXTENSION:return"extension";case N.relationType.COMPOSITION:return"composition";case N.relationType.DEPENDENCY:return"dependency"}},"getRelationType");i.points=i.points.filter(s=>!Number.isNaN(s.y));const n=i.points,g=U().x(function(s){return s.x}).y(function(s){return s.y}).curve(F),p=e.append("path").attr("d",g(n)).attr("id","edge"+A).attr("class","transition");let a="";if(t().state.arrowMarkerAbsolute&&(a=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,a=a.replace(/\(/g,"\\("),a=a.replace(/\)/g,"\\)")),p.attr("marker-end","url("+a+"#"+o(N.relationType.DEPENDENCY)+"End)"),d.title!==void 0){const s=e.append("g").attr("class","stateLabel"),{x:y,y:x}=O.calcLabelPosition(i.points),c=z.getRows(d.title);let l=0;const B=[];let m=0,k=0;for(let f=0;f<=c.length;f++){const h=s.append("text").attr("text-anchor","middle").text(c[f]).attr("x",y).attr("y",x+l),w=h.node().getBBox();m=Math.max(m,w.width),k=Math.min(k,w.x),S.info(w.x,y,x+l),l===0&&(l=h.node().getBBox().height,S.info("Title height",l,x)),B.push(h)}let E=l*c.length;if(c.length>1){const f=(c.length-1)*l*.5;B.forEach((h,w)=>h.attr("y",x+w*l-f)),E=l*c.length}const r=s.node().getBBox();s.insert("rect",":first-child").attr("class","box").attr("x",y-m/2-t().state.padding/2).attr("y",x-E/2-t().state.padding/2-3.5).attr("width",m+t().state.padding).attr("height",E+t().state.padding),S.info(r)}A++},"drawEdge"),b,T={},rt=u(function(){},"setConf"),nt=u(function(e){e.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"insertMarkers"),st=u(function(e,i,d,o){b=t().state;const n=t().securityLevel;let g;n==="sandbox"&&(g=H("#i"+i));const p=n==="sandbox"?H(g.nodes()[0].contentDocument.body):H("body"),a=n==="sandbox"?g.nodes()[0].contentDocument:document;S.debug("Rendering diagram "+e);const s=p.select(`[id='${i}']`);nt(s);const y=o.db.getRootDoc();R(y,s,void 0,!1,p,a,o);const x=b.padding,c=s.node().getBBox(),l=c.width+x*2,B=c.height+x*2,m=l*1.75;C(s,B,m,b.useMaxWidth),s.attr("viewBox",`${c.x-b.padding} ${c.y-b.padding} `+l+" "+B)},"draw"),dt=u(e=>e?e.length*b.fontSizeFactor:1,"getLabelWidth"),R=u((e,i,d,o,n,g,p)=>{const a=new J({compound:!0,multigraph:!0});let s,y=!0;for(s=0;s{const w=h.parentElement;let v=0,M=0;w&&(w.parentElement&&(v=w.parentElement.getBBox().width),M=parseInt(w.getAttribute("data-x-shift"),10),Number.isNaN(M)&&(M=0)),h.setAttribute("x1",0-M+8),h.setAttribute("x2",v-M-8)})):S.debug("No Node "+r+": "+JSON.stringify(a.node(r)))});let k=m.getBBox();a.edges().forEach(function(r){r!==void 0&&a.edge(r)!==void 0&&(S.debug("Edge "+r.v+" -> "+r.w+": "+JSON.stringify(a.edge(r))),it(i,a.edge(r),a.edge(r).relation))}),k=m.getBBox();const E={id:d||"root",label:d||"root",width:0,height:0};return E.width=k.width+2*b.padding,E.height=k.height+2*b.padding,S.debug("Doc rendered",E,a),E},"renderDoc"),ot={setConf:rt,draw:st},wt={parser:W,db:N,renderer:ot,styles:P,init:u(e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute,N.clear()},"init")};export{wt as diagram}; +import{s as W,a as N,b as P}from"./chunk-2JBRQKJ5-DY0slxRe.js";import{_ as u,d as t,j as H,l as S,k as C,e as z,H as U,M as F,u as O}from"./index-BmyXM-jo.js";import"./chunk-YWFND7JV-Cxhz5tcw.js";import{G as J}from"./graph-DNRi3G-N.js";import{l as X}from"./layout-CbykB6Gj.js";import"./chunk-DUMQOTYW-DrDMarzi.js";import"./_baseUniq-BdggiAxO.js";import"./min-CuKIA37g.js";var L={},D=u((e,i)=>{L[e]=i},"set"),Y=u(e=>L[e],"get"),G=u(()=>Object.keys(L),"keys"),I=u(()=>G().length,"size"),$={get:Y,set:D,keys:G,size:I},j=u(e=>e.append("circle").attr("class","start-state").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit).attr("cy",t().state.padding+t().state.sizeUnit),"drawStartState"),q=u(e=>e.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",t().state.textHeight).attr("class","divider").attr("x2",t().state.textHeight*2).attr("y1",0).attr("y2",0),"drawDivider"),Z=u((e,i)=>{const d=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+2*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),o=d.node().getBBox();return e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",o.width+2*t().state.padding).attr("height",o.height+2*t().state.padding).attr("rx",t().state.radius),d},"drawSimpleState"),K=u((e,i)=>{const d=u(function(l,B,m){const k=l.append("tspan").attr("x",2*t().state.padding).text(B);m||k.attr("dy",t().state.textHeight)},"addTspan"),n=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+1.3*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.descriptions[0]).node().getBBox(),g=n.height,p=e.append("text").attr("x",t().state.padding).attr("y",g+t().state.padding*.4+t().state.dividerMargin+t().state.textHeight).attr("class","state-description");let a=!0,s=!0;i.descriptions.forEach(function(l){a||(d(p,l,s),s=!1),a=!1});const y=e.append("line").attr("x1",t().state.padding).attr("y1",t().state.padding+g+t().state.dividerMargin/2).attr("y2",t().state.padding+g+t().state.dividerMargin/2).attr("class","descr-divider"),x=p.node().getBBox(),c=Math.max(x.width,n.width);return y.attr("x2",c+3*t().state.padding),e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",c+2*t().state.padding).attr("height",x.height+g+2*t().state.padding).attr("rx",t().state.radius),e},"drawDescrState"),Q=u((e,i,d)=>{const o=t().state.padding,n=2*t().state.padding,g=e.node().getBBox(),p=g.width,a=g.x,s=e.append("text").attr("x",0).attr("y",t().state.titleShift).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),x=s.node().getBBox().width+n;let c=Math.max(x,p);c===p&&(c=c+n);let l;const B=e.node().getBBox();i.doc,l=a-o,x>p&&(l=(p-c)/2+o),Math.abs(a-B.x)p&&(l=a-(x-p)/2);const m=1-t().state.textHeight;return e.insert("rect",":first-child").attr("x",l).attr("y",m).attr("class",d?"alt-composit":"composit").attr("width",c).attr("height",B.height+t().state.textHeight+t().state.titleShift+1).attr("rx","0"),s.attr("x",l+o),x<=p&&s.attr("x",a+(c-n)/2-x/2+o),e.insert("rect",":first-child").attr("x",l).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",c).attr("height",t().state.textHeight*3).attr("rx",t().state.radius),e.insert("rect",":first-child").attr("x",l).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",c).attr("height",B.height+3+2*t().state.textHeight).attr("rx",t().state.radius),e},"addTitleAndBox"),V=u(e=>(e.append("circle").attr("class","end-state-outer").attr("r",t().state.sizeUnit+t().state.miniPadding).attr("cx",t().state.padding+t().state.sizeUnit+t().state.miniPadding).attr("cy",t().state.padding+t().state.sizeUnit+t().state.miniPadding),e.append("circle").attr("class","end-state-inner").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit+2).attr("cy",t().state.padding+t().state.sizeUnit+2)),"drawEndState"),tt=u((e,i)=>{let d=t().state.forkWidth,o=t().state.forkHeight;if(i.parentId){let n=d;d=o,o=n}return e.append("rect").style("stroke","black").style("fill","black").attr("width",d).attr("height",o).attr("x",t().state.padding).attr("y",t().state.padding)},"drawForkJoinState"),et=u((e,i,d,o)=>{let n=0;const g=o.append("text");g.style("text-anchor","start"),g.attr("class","noteText");let p=e.replace(/\r\n/g,"
");p=p.replace(/\n/g,"
");const a=p.split(z.lineBreakRegex);let s=1.25*t().state.noteMargin;for(const y of a){const x=y.trim();if(x.length>0){const c=g.append("tspan");if(c.text(x),s===0){const l=c.node().getBBox();s+=l.height}n+=s,c.attr("x",i+t().state.noteMargin),c.attr("y",d+n+1.25*t().state.noteMargin)}}return{textWidth:g.node().getBBox().width,textHeight:n}},"_drawLongText"),at=u((e,i)=>{i.attr("class","state-note");const d=i.append("rect").attr("x",0).attr("y",t().state.padding),o=i.append("g"),{textWidth:n,textHeight:g}=et(e,0,0,o);return d.attr("height",g+2*t().state.noteMargin),d.attr("width",n+t().state.noteMargin*2),d},"drawNote"),_=u(function(e,i){const d=i.id,o={id:d,label:i.id,width:0,height:0},n=e.append("g").attr("id",d).attr("class","stateGroup");i.type==="start"&&j(n),i.type==="end"&&V(n),(i.type==="fork"||i.type==="join")&&tt(n,i),i.type==="note"&&at(i.note.text,n),i.type==="divider"&&q(n),i.type==="default"&&i.descriptions.length===0&&Z(n,i),i.type==="default"&&i.descriptions.length>0&&K(n,i);const g=n.node().getBBox();return o.width=g.width+2*t().state.padding,o.height=g.height+2*t().state.padding,$.set(d,o),o},"drawState"),A=0,it=u(function(e,i,d){const o=u(function(s){switch(s){case N.relationType.AGGREGATION:return"aggregation";case N.relationType.EXTENSION:return"extension";case N.relationType.COMPOSITION:return"composition";case N.relationType.DEPENDENCY:return"dependency"}},"getRelationType");i.points=i.points.filter(s=>!Number.isNaN(s.y));const n=i.points,g=U().x(function(s){return s.x}).y(function(s){return s.y}).curve(F),p=e.append("path").attr("d",g(n)).attr("id","edge"+A).attr("class","transition");let a="";if(t().state.arrowMarkerAbsolute&&(a=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,a=a.replace(/\(/g,"\\("),a=a.replace(/\)/g,"\\)")),p.attr("marker-end","url("+a+"#"+o(N.relationType.DEPENDENCY)+"End)"),d.title!==void 0){const s=e.append("g").attr("class","stateLabel"),{x:y,y:x}=O.calcLabelPosition(i.points),c=z.getRows(d.title);let l=0;const B=[];let m=0,k=0;for(let f=0;f<=c.length;f++){const h=s.append("text").attr("text-anchor","middle").text(c[f]).attr("x",y).attr("y",x+l),w=h.node().getBBox();m=Math.max(m,w.width),k=Math.min(k,w.x),S.info(w.x,y,x+l),l===0&&(l=h.node().getBBox().height,S.info("Title height",l,x)),B.push(h)}let E=l*c.length;if(c.length>1){const f=(c.length-1)*l*.5;B.forEach((h,w)=>h.attr("y",x+w*l-f)),E=l*c.length}const r=s.node().getBBox();s.insert("rect",":first-child").attr("class","box").attr("x",y-m/2-t().state.padding/2).attr("y",x-E/2-t().state.padding/2-3.5).attr("width",m+t().state.padding).attr("height",E+t().state.padding),S.info(r)}A++},"drawEdge"),b,T={},rt=u(function(){},"setConf"),nt=u(function(e){e.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"insertMarkers"),st=u(function(e,i,d,o){b=t().state;const n=t().securityLevel;let g;n==="sandbox"&&(g=H("#i"+i));const p=n==="sandbox"?H(g.nodes()[0].contentDocument.body):H("body"),a=n==="sandbox"?g.nodes()[0].contentDocument:document;S.debug("Rendering diagram "+e);const s=p.select(`[id='${i}']`);nt(s);const y=o.db.getRootDoc();R(y,s,void 0,!1,p,a,o);const x=b.padding,c=s.node().getBBox(),l=c.width+x*2,B=c.height+x*2,m=l*1.75;C(s,B,m,b.useMaxWidth),s.attr("viewBox",`${c.x-b.padding} ${c.y-b.padding} `+l+" "+B)},"draw"),dt=u(e=>e?e.length*b.fontSizeFactor:1,"getLabelWidth"),R=u((e,i,d,o,n,g,p)=>{const a=new J({compound:!0,multigraph:!0});let s,y=!0;for(s=0;s{const w=h.parentElement;let v=0,M=0;w&&(w.parentElement&&(v=w.parentElement.getBBox().width),M=parseInt(w.getAttribute("data-x-shift"),10),Number.isNaN(M)&&(M=0)),h.setAttribute("x1",0-M+8),h.setAttribute("x2",v-M-8)})):S.debug("No Node "+r+": "+JSON.stringify(a.node(r)))});let k=m.getBBox();a.edges().forEach(function(r){r!==void 0&&a.edge(r)!==void 0&&(S.debug("Edge "+r.v+" -> "+r.w+": "+JSON.stringify(a.edge(r))),it(i,a.edge(r),a.edge(r).relation))}),k=m.getBBox();const E={id:d||"root",label:d||"root",width:0,height:0};return E.width=k.width+2*b.padding,E.height=k.height+2*b.padding,S.debug("Doc rendered",E,a),E},"renderDoc"),ot={setConf:rt,draw:st},wt={parser:W,db:N,renderer:ot,styles:P,init:u(e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute,N.clear()},"init")};export{wt as diagram}; diff --git a/assets/stateDiagram-v2-J5TZWJW5-DIUSmo9x.js b/assets/stateDiagram-v2-J5TZWJW5-DIUSmo9x.js deleted file mode 100644 index 040ccea..0000000 --- a/assets/stateDiagram-v2-J5TZWJW5-DIUSmo9x.js +++ /dev/null @@ -1 +0,0 @@ -import{s as t,a as e,c as r,b as s}from"./chunk-2JBRQKJ5-ClymeFnE.js";import{_ as i}from"./index-DqL3MUN2.js";import"./chunk-YWFND7JV-CHuoUZPA.js";import"./chunk-DUMQOTYW-BNJNkKaQ.js";var _={parser:t,db:e,renderer:r,styles:s,init:i(a=>{a.state||(a.state={}),a.state.arrowMarkerAbsolute=a.arrowMarkerAbsolute,e.clear()},"init")};export{_ as diagram}; diff --git a/assets/stateDiagram-v2-J5TZWJW5-uMj8NiYN.js b/assets/stateDiagram-v2-J5TZWJW5-uMj8NiYN.js new file mode 100644 index 0000000..f621996 --- /dev/null +++ b/assets/stateDiagram-v2-J5TZWJW5-uMj8NiYN.js @@ -0,0 +1 @@ +import{s as t,a as e,c as r,b as s}from"./chunk-2JBRQKJ5-DY0slxRe.js";import{_ as i}from"./index-BmyXM-jo.js";import"./chunk-YWFND7JV-Cxhz5tcw.js";import"./chunk-DUMQOTYW-DrDMarzi.js";var _={parser:t,db:e,renderer:r,styles:s,init:i(a=>{a.state||(a.state={}),a.state.arrowMarkerAbsolute=a.arrowMarkerAbsolute,e.clear()},"init")};export{_ as diagram}; diff --git a/assets/timeline-definition-KYQAIZUX-BHsMXyod.js b/assets/timeline-definition-KYQAIZUX-C-TYbTLN.js similarity index 99% rename from assets/timeline-definition-KYQAIZUX-BHsMXyod.js rename to assets/timeline-definition-KYQAIZUX-C-TYbTLN.js index 743b3a8..fefb383 100644 --- a/assets/timeline-definition-KYQAIZUX-BHsMXyod.js +++ b/assets/timeline-definition-KYQAIZUX-C-TYbTLN.js @@ -1,4 +1,4 @@ -import{_ as s,X as xt,Y as kt,r as vt,j as q,d as _t,l as T,O as bt,$ as wt,a0 as St,a1 as Et}from"./index-DqL3MUN2.js";import{d as nt}from"./arc-B1CpNSko.js";var X=function(){var n=s(function(f,i,a,d){for(a=a||{},d=f.length;d--;a[f[d]]=i);return a},"o"),t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],l=[1,10],r=[1,11],h=[1,12],c=[1,13],g=[1,16],m=[1,17],p={trace:s(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:s(function(i,a,d,u,y,o,S){var k=o.length-1;switch(y){case 1:return o[k-1];case 2:this.$=[];break;case 3:o[k-1].push(o[k]),this.$=o[k-1];break;case 4:case 5:this.$=o[k];break;case 6:case 7:this.$=[];break;case 8:u.getCommonDb().setDiagramTitle(o[k].substr(6)),this.$=o[k].substr(6);break;case 9:this.$=o[k].trim(),u.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=o[k].trim(),u.getCommonDb().setAccDescription(this.$);break;case 12:u.addSection(o[k].substr(8)),this.$=o[k].substr(8);break;case 15:u.addTask(o[k],0,""),this.$=o[k];break;case 16:u.addEvent(o[k].substr(2)),this.$=o[k];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},n(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:e,12:l,14:r,16:h,17:c,18:14,19:15,20:g,21:m},n(t,[2,7],{1:[2,1]}),n(t,[2,3]),{9:18,11:e,12:l,14:r,16:h,17:c,18:14,19:15,20:g,21:m},n(t,[2,5]),n(t,[2,6]),n(t,[2,8]),{13:[1,19]},{15:[1,20]},n(t,[2,11]),n(t,[2,12]),n(t,[2,13]),n(t,[2,14]),n(t,[2,15]),n(t,[2,16]),n(t,[2,4]),n(t,[2,9]),n(t,[2,10])],defaultActions:{},parseError:s(function(i,a){if(a.recoverable)this.trace(i);else{var d=new Error(i);throw d.hash=a,d}},"parseError"),parse:s(function(i){var a=this,d=[0],u=[],y=[null],o=[],S=this.table,k="",$=0,P=0,B=2,J=1,O=o.slice.call(arguments,1),v=Object.create(this.lexer),E={yy:{}};for(var b in this.yy)Object.prototype.hasOwnProperty.call(this.yy,b)&&(E.yy[b]=this.yy[b]);v.setInput(i,E.yy),E.yy.lexer=v,E.yy.parser=this,typeof v.yylloc>"u"&&(v.yylloc={});var L=v.yylloc;o.push(L);var A=v.options&&v.options.ranges;typeof E.yy.parseError=="function"?this.parseError=E.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function R(I){d.length=d.length-2*I,y.length=y.length-I,o.length=o.length-I}s(R,"popStack");function F(){var I;return I=u.pop()||v.lex()||J,typeof I!="number"&&(I instanceof Array&&(u=I,I=u.pop()),I=a.symbols_[I]||I),I}s(F,"lex");for(var w,C,N,K,z={},j,M,et,G;;){if(C=d[d.length-1],this.defaultActions[C]?N=this.defaultActions[C]:((w===null||typeof w>"u")&&(w=F()),N=S[C]&&S[C][w]),typeof N>"u"||!N.length||!N[0]){var Q="";G=[];for(j in S[C])this.terminals_[j]&&j>B&&G.push("'"+this.terminals_[j]+"'");v.showPosition?Q="Parse error on line "+($+1)+`: +import{_ as s,X as xt,Y as kt,r as vt,j as q,d as _t,l as T,O as bt,$ as wt,a0 as St,a1 as Et}from"./index-BmyXM-jo.js";import{d as nt}from"./arc-BQjszOj9.js";var X=function(){var n=s(function(f,i,a,d){for(a=a||{},d=f.length;d--;a[f[d]]=i);return a},"o"),t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],l=[1,10],r=[1,11],h=[1,12],c=[1,13],g=[1,16],m=[1,17],p={trace:s(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:s(function(i,a,d,u,y,o,S){var k=o.length-1;switch(y){case 1:return o[k-1];case 2:this.$=[];break;case 3:o[k-1].push(o[k]),this.$=o[k-1];break;case 4:case 5:this.$=o[k];break;case 6:case 7:this.$=[];break;case 8:u.getCommonDb().setDiagramTitle(o[k].substr(6)),this.$=o[k].substr(6);break;case 9:this.$=o[k].trim(),u.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=o[k].trim(),u.getCommonDb().setAccDescription(this.$);break;case 12:u.addSection(o[k].substr(8)),this.$=o[k].substr(8);break;case 15:u.addTask(o[k],0,""),this.$=o[k];break;case 16:u.addEvent(o[k].substr(2)),this.$=o[k];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},n(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:e,12:l,14:r,16:h,17:c,18:14,19:15,20:g,21:m},n(t,[2,7],{1:[2,1]}),n(t,[2,3]),{9:18,11:e,12:l,14:r,16:h,17:c,18:14,19:15,20:g,21:m},n(t,[2,5]),n(t,[2,6]),n(t,[2,8]),{13:[1,19]},{15:[1,20]},n(t,[2,11]),n(t,[2,12]),n(t,[2,13]),n(t,[2,14]),n(t,[2,15]),n(t,[2,16]),n(t,[2,4]),n(t,[2,9]),n(t,[2,10])],defaultActions:{},parseError:s(function(i,a){if(a.recoverable)this.trace(i);else{var d=new Error(i);throw d.hash=a,d}},"parseError"),parse:s(function(i){var a=this,d=[0],u=[],y=[null],o=[],S=this.table,k="",$=0,P=0,B=2,J=1,O=o.slice.call(arguments,1),v=Object.create(this.lexer),E={yy:{}};for(var b in this.yy)Object.prototype.hasOwnProperty.call(this.yy,b)&&(E.yy[b]=this.yy[b]);v.setInput(i,E.yy),E.yy.lexer=v,E.yy.parser=this,typeof v.yylloc>"u"&&(v.yylloc={});var L=v.yylloc;o.push(L);var A=v.options&&v.options.ranges;typeof E.yy.parseError=="function"?this.parseError=E.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function R(I){d.length=d.length-2*I,y.length=y.length-I,o.length=o.length-I}s(R,"popStack");function F(){var I;return I=u.pop()||v.lex()||J,typeof I!="number"&&(I instanceof Array&&(u=I,I=u.pop()),I=a.symbols_[I]||I),I}s(F,"lex");for(var w,C,N,K,z={},j,M,et,G;;){if(C=d[d.length-1],this.defaultActions[C]?N=this.defaultActions[C]:((w===null||typeof w>"u")&&(w=F()),N=S[C]&&S[C][w]),typeof N>"u"||!N.length||!N[0]){var Q="";G=[];for(j in S[C])this.terminals_[j]&&j>B&&G.push("'"+this.terminals_[j]+"'");v.showPosition?Q="Parse error on line "+($+1)+`: `+v.showPosition()+` Expecting `+G.join(", ")+", got '"+(this.terminals_[w]||w)+"'":Q="Parse error on line "+($+1)+": Unexpected "+(w==J?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(Q,{text:v.match,token:this.terminals_[w]||w,line:v.yylineno,loc:L,expected:G})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+C+", token: "+w);switch(N[0]){case 1:d.push(w),y.push(v.yytext),o.push(v.yylloc),d.push(N[1]),w=null,P=v.yyleng,k=v.yytext,$=v.yylineno,L=v.yylloc;break;case 2:if(M=this.productions_[N[1]][1],z.$=y[y.length-M],z._$={first_line:o[o.length-(M||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(M||1)].first_column,last_column:o[o.length-1].last_column},A&&(z._$.range=[o[o.length-(M||1)].range[0],o[o.length-1].range[1]]),K=this.performAction.apply(z,[k,P,$,E.yy,N[1],y,o].concat(O)),typeof K<"u")return K;M&&(d=d.slice(0,-1*M*2),y=y.slice(0,-1*M),o=o.slice(0,-1*M)),d.push(this.productions_[N[1]][0]),y.push(z.$),o.push(z._$),et=S[d[d.length-2]][d[d.length-1]],d.push(et);break;case 3:return!0}}return!0},"parse")},x=function(){var f={EOF:1,parseError:s(function(a,d){if(this.yy.parser)this.yy.parser.parseError(a,d);else throw new Error(a)},"parseError"),setInput:s(function(i,a){return this.yy=a||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:s(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var a=i.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:s(function(i){var a=i.length,d=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),d.length-1&&(this.yylineno-=d.length-1);var y=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:d?(d.length===u.length?this.yylloc.first_column:0)+u[u.length-d.length].length-d[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[y[0],y[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:s(function(){return this._more=!0,this},"more"),reject:s(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:s(function(i){this.unput(this.match.slice(i))},"less"),pastInput:s(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:s(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:s(function(){var i=this.pastInput(),a=new Array(i.length+1).join("-");return i+this.upcomingInput()+` diff --git a/assets/xychartDiagram-LESROZAQ-wW-Rjpwg.js b/assets/xychartDiagram-LESROZAQ-pn7-8-Md.js similarity index 99% rename from assets/xychartDiagram-LESROZAQ-wW-Rjpwg.js rename to assets/xychartDiagram-LESROZAQ-pn7-8-Md.js index 8c25fa4..72e90e7 100644 --- a/assets/xychartDiagram-LESROZAQ-wW-Rjpwg.js +++ b/assets/xychartDiagram-LESROZAQ-pn7-8-Md.js @@ -1,4 +1,4 @@ -import{_ as a,aI as ui,l as Ft,H as Bt,G as gi,B as At,A as Xt,z as xi,i as di,q as Nt,s as pi,g as fi,p as mi,b as yi,c as bi,r as Ai,E as wi,k as Ci}from"./index-DqL3MUN2.js";import{i as Si}from"./init-Gi6I4Gst.js";import{o as _i}from"./ordinal-Cboi1Yqb.js";import{l as Wt}from"./linear-CK0OKaTM.js";function ki(e,t,i){e=+e,t=+t,i=(n=arguments.length)<2?(t=e,e=0,1):n<3?1:+i;for(var s=-1,n=Math.max(0,Math.ceil((t-e)/i))|0,o=new Array(n);++s"u"&&(T.yylloc={});var gt=T.yylloc;r.push(gt);var li=T.options&&T.options.ranges;typeof W.yy.parseError=="function"?this.parseError=W.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ci(L){g.length=g.length-2*L,A.length=A.length-L,r.length=r.length-L}a(ci,"popStack");function Mt(){var L;return L=x.pop()||T.lex()||It,typeof L!="number"&&(L instanceof Array&&(x=L,L=x.pop()),L=c.symbols_[L]||L),L}a(Mt,"lex");for(var P,O,M,xt,z={},at,V,Vt,rt;;){if(O=g[g.length-1],this.defaultActions[O]?M=this.defaultActions[O]:((P===null||typeof P>"u")&&(P=Mt()),M=Z[O]&&Z[O][P]),typeof M>"u"||!M.length||!M[0]){var dt="";rt=[];for(at in Z[O])this.terminals_[at]&&at>oi&&rt.push("'"+this.terminals_[at]+"'");T.showPosition?dt="Parse error on line "+(nt+1)+`: +import{_ as a,aI as ui,l as Ft,H as Bt,G as gi,B as At,A as Xt,z as xi,i as di,q as Nt,s as pi,g as fi,p as mi,b as yi,c as bi,r as Ai,E as wi,k as Ci}from"./index-BmyXM-jo.js";import{i as Si}from"./init-Gi6I4Gst.js";import{o as _i}from"./ordinal-Cboi1Yqb.js";import{l as Wt}from"./linear-_gXvi5T4.js";function ki(e,t,i){e=+e,t=+t,i=(n=arguments.length)<2?(t=e,e=0,1):n<3?1:+i;for(var s=-1,n=Math.max(0,Math.ceil((t-e)/i))|0,o=new Array(n);++s"u"&&(T.yylloc={});var gt=T.yylloc;r.push(gt);var li=T.options&&T.options.ranges;typeof W.yy.parseError=="function"?this.parseError=W.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ci(L){g.length=g.length-2*L,A.length=A.length-L,r.length=r.length-L}a(ci,"popStack");function Mt(){var L;return L=x.pop()||T.lex()||It,typeof L!="number"&&(L instanceof Array&&(x=L,L=x.pop()),L=c.symbols_[L]||L),L}a(Mt,"lex");for(var P,O,M,xt,z={},at,V,Vt,rt;;){if(O=g[g.length-1],this.defaultActions[O]?M=this.defaultActions[O]:((P===null||typeof P>"u")&&(P=Mt()),M=Z[O]&&Z[O][P]),typeof M>"u"||!M.length||!M[0]){var dt="";rt=[];for(at in Z[O])this.terminals_[at]&&at>oi&&rt.push("'"+this.terminals_[at]+"'");T.showPosition?dt="Parse error on line "+(nt+1)+`: `+T.showPosition()+` Expecting `+rt.join(", ")+", got '"+(this.terminals_[P]||P)+"'":dt="Parse error on line "+(nt+1)+": Unexpected "+(P==It?"end of input":"'"+(this.terminals_[P]||P)+"'"),this.parseError(dt,{text:T.match,token:this.terminals_[P]||P,line:T.yylineno,loc:gt,expected:rt})}if(M[0]instanceof Array&&M.length>1)throw new Error("Parse Error: multiple actions possible at state: "+O+", token: "+P);switch(M[0]){case 1:g.push(P),A.push(T.yytext),r.push(T.yylloc),g.push(M[1]),P=null,Et=T.yyleng,d=T.yytext,nt=T.yylineno,gt=T.yylloc;break;case 2:if(V=this.productions_[M[1]][1],z.$=A[A.length-V],z._$={first_line:r[r.length-(V||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(V||1)].first_column,last_column:r[r.length-1].last_column},li&&(z._$.range=[r[r.length-(V||1)].range[0],r[r.length-1].range[1]]),xt=this.performAction.apply(z,[d,Et,nt,W.yy,M[1],A,r].concat(hi)),typeof xt<"u")return xt;V&&(g=g.slice(0,-1*V*2),A=A.slice(0,-1*V),r=r.slice(0,-1*V)),g.push(this.productions_[M[1]][0]),A.push(z.$),r.push(z._$),Vt=Z[g[g.length-2]][g[g.length-1]],g.push(Vt);break;case 3:return!0}}return!0},"parse")},ri=function(){var B={EOF:1,parseError:a(function(c,g){if(this.yy.parser)this.yy.parser.parseError(c,g);else throw new Error(c)},"parseError"),setInput:a(function(h,c){return this.yy=c||this.yy||{},this._input=h,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:a(function(){var h=this._input[0];this.yytext+=h,this.yyleng++,this.offset++,this.match+=h,this.matched+=h;var c=h.match(/(?:\r\n?|\n).*/g);return c?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),h},"input"),unput:a(function(h){var c=h.length,g=h.split(/(?:\r\n?|\n)/g);this._input=h+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-c),this.offset-=c;var x=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),g.length-1&&(this.yylineno-=g.length-1);var A=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:g?(g.length===x.length?this.yylloc.first_column:0)+x[x.length-g.length].length-g[0].length:this.yylloc.first_column-c},this.options.ranges&&(this.yylloc.range=[A[0],A[0]+this.yyleng-c]),this.yyleng=this.yytext.length,this},"unput"),more:a(function(){return this._more=!0,this},"more"),reject:a(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:a(function(h){this.unput(this.match.slice(h))},"less"),pastInput:a(function(){var h=this.matched.substr(0,this.matched.length-this.match.length);return(h.length>20?"...":"")+h.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:a(function(){var h=this.match;return h.length<20&&(h+=this._input.substr(0,20-h.length)),(h.substr(0,20)+(h.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:a(function(){var h=this.pastInput(),c=new Array(h.length+1).join("-");return h+this.upcomingInput()+` diff --git a/index.html b/index.html index 4adc3be..fd351e9 100644 --- a/index.html +++ b/index.html @@ -67,7 +67,7 @@ } } - +