Deploying to gh-pages from @ DGP-Studio/Snap.Hutao.Docs@d3b62b7a4a 🚀

This commit is contained in:
Masterain98
2023-04-03 03:09:55 +00:00
parent 1af76b434a
commit eb90faa70d
133 changed files with 270 additions and 224 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
import{I as p,f as d,_ as v}from"./app-e6a7bfc3.js";import{c,r as n,y as f,h as m,o as y,j as a}from"./framework-caa722f8.js";const g=e=>d({},{showCompileOutput:!1,clearConsole:!1,ssr:!1},JSON.parse(decodeURIComponent(e)));var R=c({name:"VuePlayground",props:{title:{type:String,default:""},files:{type:String,required:!0},settings:{type:String,default:"{}"}},setup(e){const o=n(!0),t=f(),l=n(),s=m(()=>g(e.settings)),r=async()=>{const{ReplStore:u,Repl:i}=await v(()=>import("./vue-repl-b13163cb.js"),["assets/vue-repl-b13163cb.js","assets/app-e6a7bfc3.js","assets/framework-caa722f8.js"]);t.value=i,l.value=new u({serializedState:decodeURIComponent(e.files)}),s.value.vueVersion&&await l.value.setVueVersion(s.value.vueVersion)};return y(async()=>{await r(),o.value=!1}),()=>[a("div",{class:"vue-playground-wrapper"},[e.title?a("div",{class:"header"},decodeURIComponent(e.title)):null,a("div",{class:"repl-container"},[o.value?a(p,{class:"preview-loading",height:192}):null,t.value?a(t.value,{store:l.value,autoResize:!0,...s.value,layout:"horizontal"}):null])])]}});export{R as default};
import{I as p,f as d,_ as v}from"./app-a76f25ac.js";import{c,r as n,y as f,h as m,o as y,j as a}from"./framework-caa722f8.js";const g=e=>d({},{showCompileOutput:!1,clearConsole:!1,ssr:!1},JSON.parse(decodeURIComponent(e)));var R=c({name:"VuePlayground",props:{title:{type:String,default:""},files:{type:String,required:!0},settings:{type:String,default:"{}"}},setup(e){const o=n(!0),t=f(),l=n(),s=m(()=>g(e.settings)),r=async()=>{const{ReplStore:u,Repl:i}=await v(()=>import("./vue-repl-40c8b1bb.js"),["assets/vue-repl-40c8b1bb.js","assets/app-a76f25ac.js","assets/framework-caa722f8.js"]);t.value=i,l.value=new u({serializedState:decodeURIComponent(e.files)}),s.value.vueVersion&&await l.value.setVueVersion(s.value.vueVersion)};return y(async()=>{await r(),o.value=!1}),()=>[a("div",{class:"vue-playground-wrapper"},[e.title?a("div",{class:"header"},decodeURIComponent(e.title)):null,a("div",{class:"repl-container"},[o.value?a(p,{class:"preview-loading",height:192}):null,t.value?a(t.value,{store:l.value,autoResize:!0,...s.value,layout:"horizontal"}):null])])]}});export{R as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
import{w as ln,c as B}from"./path-53f90ab3.js";import{an,ao as H,ap as q,aq as rn,ar as y,am as on,as as L,at as _,au as un,av as t,aw as sn,ax as tn,ay as fn}from"./mermaid.core-e60c99fd.js";function cn(l){return l.innerRadius}function yn(l){return l.outerRadius}function gn(l){return l.startAngle}function mn(l){return l.endAngle}function pn(l){return l&&l.padAngle}function xn(l,h,I,D,v,A,C,a){var O=I-l,i=D-h,n=C-v,m=a-A,r=m*O-n*i;if(!(r*r<y))return r=(n*(h-A)-m*(l-v))/r,[l+r*O,h+r*i]}function W(l,h,I,D,v,A,C){var a=l-I,O=h-D,i=(C?A:-A)/L(a*a+O*O),n=i*O,m=-i*a,r=l+n,s=h+m,f=I+n,c=D+m,F=(r+f)/2,o=(s+c)/2,p=f-r,g=c-s,R=p*p+g*g,T=v-A,w=r*c-f*s,S=(g<0?-1:1)*L(fn(0,T*T*R-w*w)),j=(w*g-p*S)/R,z=(-w*p-g*S)/R,P=(w*g+p*S)/R,x=(-w*p+g*S)/R,d=j-F,e=z-o,u=P-F,G=x-o;return d*d+e*e>u*u+G*G&&(j=P,z=x),{cx:j,cy:z,x01:-n,y01:-m,x11:j*(v/T-1),y11:z*(v/T-1)}}function vn(){var l=cn,h=yn,I=B(0),D=null,v=gn,A=mn,C=pn,a=null,O=ln(i);function i(){var n,m,r=+l.apply(this,arguments),s=+h.apply(this,arguments),f=v.apply(this,arguments)-rn,c=A.apply(this,arguments)-rn,F=un(c-f),o=c>f;if(a||(a=n=O()),s<r&&(m=s,s=r,r=m),!(s>y))a.moveTo(0,0);else if(F>on-y)a.moveTo(s*H(f),s*q(f)),a.arc(0,0,s,f,c,!o),r>y&&(a.moveTo(r*H(c),r*q(c)),a.arc(0,0,r,c,f,o));else{var p=f,g=c,R=f,T=c,w=F,S=F,j=C.apply(this,arguments)/2,z=j>y&&(D?+D.apply(this,arguments):L(r*r+s*s)),P=_(un(s-r)/2,+I.apply(this,arguments)),x=P,d=P,e,u;if(z>y){var G=sn(z/r*q(j)),M=sn(z/s*q(j));(w-=G*2)>y?(G*=o?1:-1,R+=G,T-=G):(w=0,R=T=(f+c)/2),(S-=M*2)>y?(M*=o?1:-1,p+=M,g-=M):(S=0,p=g=(f+c)/2)}var J=s*H(p),K=s*q(p),N=r*H(T),Q=r*q(T);if(P>y){var U=s*H(g),V=s*q(g),X=r*H(R),Y=r*q(R),E;if(F<an)if(E=xn(J,K,X,Y,U,V,N,Q)){var Z=J-E[0],$=K-E[1],k=U-E[0],b=V-E[1],nn=1/q(tn((Z*k+$*b)/(L(Z*Z+$*$)*L(k*k+b*b)))/2),en=L(E[0]*E[0]+E[1]*E[1]);x=_(P,(r-en)/(nn-1)),d=_(P,(s-en)/(nn+1))}else x=d=0}S>y?d>y?(e=W(X,Y,J,K,s,d,o),u=W(U,V,N,Q,s,d,o),a.moveTo(e.cx+e.x01,e.cy+e.y01),d<P?a.arc(e.cx,e.cy,d,t(e.y01,e.x01),t(u.y01,u.x01),!o):(a.arc(e.cx,e.cy,d,t(e.y01,e.x01),t(e.y11,e.x11),!o),a.arc(0,0,s,t(e.cy+e.y11,e.cx+e.x11),t(u.cy+u.y11,u.cx+u.x11),!o),a.arc(u.cx,u.cy,d,t(u.y11,u.x11),t(u.y01,u.x01),!o))):(a.moveTo(J,K),a.arc(0,0,s,p,g,!o)):a.moveTo(J,K),!(r>y)||!(w>y)?a.lineTo(N,Q):x>y?(e=W(N,Q,U,V,r,-x,o),u=W(J,K,X,Y,r,-x,o),a.lineTo(e.cx+e.x01,e.cy+e.y01),x<P?a.arc(e.cx,e.cy,x,t(e.y01,e.x01),t(u.y01,u.x01),!o):(a.arc(e.cx,e.cy,x,t(e.y01,e.x01),t(e.y11,e.x11),!o),a.arc(0,0,r,t(e.cy+e.y11,e.cx+e.x11),t(u.cy+u.y11,u.cx+u.x11),o),a.arc(u.cx,u.cy,x,t(u.y11,u.x11),t(u.y01,u.x01),!o))):a.arc(0,0,r,T,R,o)}if(a.closePath(),n)return a=null,n+""||null}return i.centroid=function(){var n=(+l.apply(this,arguments)+ +h.apply(this,arguments))/2,m=(+v.apply(this,arguments)+ +A.apply(this,arguments))/2-an/2;return[H(m)*n,q(m)*n]},i.innerRadius=function(n){return arguments.length?(l=typeof n=="function"?n:B(+n),i):l},i.outerRadius=function(n){return arguments.length?(h=typeof n=="function"?n:B(+n),i):h},i.cornerRadius=function(n){return arguments.length?(I=typeof n=="function"?n:B(+n),i):I},i.padRadius=function(n){return arguments.length?(D=n==null?null:typeof n=="function"?n:B(+n),i):D},i.startAngle=function(n){return arguments.length?(v=typeof n=="function"?n:B(+n),i):v},i.endAngle=function(n){return arguments.length?(A=typeof n=="function"?n:B(+n),i):A},i.padAngle=function(n){return arguments.length?(C=typeof n=="function"?n:B(+n),i):C},i.context=function(n){return arguments.length?(a=n??null,i):a},i}export{vn as a};
import{w as ln,c as B}from"./path-53f90ab3.js";import{an,ao as H,ap as q,aq as rn,ar as y,am as on,as as L,at as _,au as un,av as t,aw as sn,ax as tn,ay as fn}from"./mermaid.core-6fe6d9fd.js";function cn(l){return l.innerRadius}function yn(l){return l.outerRadius}function gn(l){return l.startAngle}function mn(l){return l.endAngle}function pn(l){return l&&l.padAngle}function xn(l,h,I,D,v,A,C,a){var O=I-l,i=D-h,n=C-v,m=a-A,r=m*O-n*i;if(!(r*r<y))return r=(n*(h-A)-m*(l-v))/r,[l+r*O,h+r*i]}function W(l,h,I,D,v,A,C){var a=l-I,O=h-D,i=(C?A:-A)/L(a*a+O*O),n=i*O,m=-i*a,r=l+n,s=h+m,f=I+n,c=D+m,F=(r+f)/2,o=(s+c)/2,p=f-r,g=c-s,R=p*p+g*g,T=v-A,w=r*c-f*s,S=(g<0?-1:1)*L(fn(0,T*T*R-w*w)),j=(w*g-p*S)/R,z=(-w*p-g*S)/R,P=(w*g+p*S)/R,x=(-w*p+g*S)/R,d=j-F,e=z-o,u=P-F,G=x-o;return d*d+e*e>u*u+G*G&&(j=P,z=x),{cx:j,cy:z,x01:-n,y01:-m,x11:j*(v/T-1),y11:z*(v/T-1)}}function vn(){var l=cn,h=yn,I=B(0),D=null,v=gn,A=mn,C=pn,a=null,O=ln(i);function i(){var n,m,r=+l.apply(this,arguments),s=+h.apply(this,arguments),f=v.apply(this,arguments)-rn,c=A.apply(this,arguments)-rn,F=un(c-f),o=c>f;if(a||(a=n=O()),s<r&&(m=s,s=r,r=m),!(s>y))a.moveTo(0,0);else if(F>on-y)a.moveTo(s*H(f),s*q(f)),a.arc(0,0,s,f,c,!o),r>y&&(a.moveTo(r*H(c),r*q(c)),a.arc(0,0,r,c,f,o));else{var p=f,g=c,R=f,T=c,w=F,S=F,j=C.apply(this,arguments)/2,z=j>y&&(D?+D.apply(this,arguments):L(r*r+s*s)),P=_(un(s-r)/2,+I.apply(this,arguments)),x=P,d=P,e,u;if(z>y){var G=sn(z/r*q(j)),M=sn(z/s*q(j));(w-=G*2)>y?(G*=o?1:-1,R+=G,T-=G):(w=0,R=T=(f+c)/2),(S-=M*2)>y?(M*=o?1:-1,p+=M,g-=M):(S=0,p=g=(f+c)/2)}var J=s*H(p),K=s*q(p),N=r*H(T),Q=r*q(T);if(P>y){var U=s*H(g),V=s*q(g),X=r*H(R),Y=r*q(R),E;if(F<an)if(E=xn(J,K,X,Y,U,V,N,Q)){var Z=J-E[0],$=K-E[1],k=U-E[0],b=V-E[1],nn=1/q(tn((Z*k+$*b)/(L(Z*Z+$*$)*L(k*k+b*b)))/2),en=L(E[0]*E[0]+E[1]*E[1]);x=_(P,(r-en)/(nn-1)),d=_(P,(s-en)/(nn+1))}else x=d=0}S>y?d>y?(e=W(X,Y,J,K,s,d,o),u=W(U,V,N,Q,s,d,o),a.moveTo(e.cx+e.x01,e.cy+e.y01),d<P?a.arc(e.cx,e.cy,d,t(e.y01,e.x01),t(u.y01,u.x01),!o):(a.arc(e.cx,e.cy,d,t(e.y01,e.x01),t(e.y11,e.x11),!o),a.arc(0,0,s,t(e.cy+e.y11,e.cx+e.x11),t(u.cy+u.y11,u.cx+u.x11),!o),a.arc(u.cx,u.cy,d,t(u.y11,u.x11),t(u.y01,u.x01),!o))):(a.moveTo(J,K),a.arc(0,0,s,p,g,!o)):a.moveTo(J,K),!(r>y)||!(w>y)?a.lineTo(N,Q):x>y?(e=W(N,Q,U,V,r,-x,o),u=W(J,K,X,Y,r,-x,o),a.lineTo(e.cx+e.x01,e.cy+e.y01),x<P?a.arc(e.cx,e.cy,x,t(e.y01,e.x01),t(u.y01,u.x01),!o):(a.arc(e.cx,e.cy,x,t(e.y01,e.x01),t(e.y11,e.x11),!o),a.arc(0,0,r,t(e.cy+e.y11,e.cx+e.x11),t(u.cy+u.y11,u.cx+u.x11),o),a.arc(u.cx,u.cy,x,t(u.y11,u.x11),t(u.y01,u.x01),!o))):a.arc(0,0,r,T,R,o)}if(a.closePath(),n)return a=null,n+""||null}return i.centroid=function(){var n=(+l.apply(this,arguments)+ +h.apply(this,arguments))/2,m=(+v.apply(this,arguments)+ +A.apply(this,arguments))/2-an/2;return[H(m)*n,q(m)*n]},i.innerRadius=function(n){return arguments.length?(l=typeof n=="function"?n:B(+n),i):l},i.outerRadius=function(n){return arguments.length?(h=typeof n=="function"?n:B(+n),i):h},i.cornerRadius=function(n){return arguments.length?(I=typeof n=="function"?n:B(+n),i):I},i.padRadius=function(n){return arguments.length?(D=n==null?null:typeof n=="function"?n:B(+n),i):D},i.startAngle=function(n){return arguments.length?(v=typeof n=="function"?n:B(+n),i):v},i.endAngle=function(n){return arguments.length?(A=typeof n=="function"?n:B(+n),i):A},i.padAngle=function(n){return arguments.length?(C=typeof n=="function"?n:B(+n),i):C},i.context=function(n){return arguments.length?(a=n??null,i):a},i}export{vn as a};

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
import{p as W,d as M,s as H}from"./styles-0dd3ba1e-04ecdd34.js";import{c as S,l as d,h as u,i as X}from"./mermaid.core-e60c99fd.js";import{G as Y,l as Z}from"./layout-1db6739b.js";import{s as l}from"./svgDraw-6a237a99-ebe437d7.js";import"./app-e6a7bfc3.js";import"./framework-caa722f8.js";import"./isPlainObject-e3a1bbd6.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";let h={};const g=20,p=function(e){const s=Object.entries(h).find(k=>k[1].label===e);if(s)return s[0]},$=function(e){e.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"),e.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"),e.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"),e.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"),e.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"),e.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"),e.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"),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 18,7 L9,13 L14,7 L9,1 Z")},D=function(e,s,k,a){const c=S().class;h={},d.info("Rendering diagram "+e);const L=S().securityLevel;let y;L==="sandbox"&&(y=u("#i"+s));const x=L==="sandbox"?u(y.nodes()[0].contentDocument.body):u("body"),n=x.select(`[id='${s}']`);$(n);const r=new Y({multigraph:!0});r.setGraph({isMultiGraph:!0}),r.setDefaultEdgeLabel(function(){return{}});const m=a.db.getClasses(),N=Object.keys(m);for(const t of N){const o=m[t],i=l.drawClass(n,o,c,a);h[i.id]=i,r.setNode(i.id,i),d.info("Org height: "+i.height)}a.db.getRelations().forEach(function(t){d.info("tjoho"+p(t.id1)+p(t.id2)+JSON.stringify(t)),r.setEdge(p(t.id1),p(t.id2),{relation:t},t.title||"DEFAULT")}),a.db.getNotes().forEach(function(t){d.debug(`Adding note: ${JSON.stringify(t)}`);const o=l.drawNote(n,t,c,a);h[o.id]=o,r.setNode(o.id,o),t.class&&t.class in m&&r.setEdge(t.id,p(t.class),{relation:{id1:t.id,id2:t.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")}),Z(r),r.nodes().forEach(function(t){t!==void 0&&r.node(t)!==void 0&&(d.debug("Node "+t+": "+JSON.stringify(r.node(t))),x.select("#"+(a.db.lookUpDomId(t)||t)).attr("transform","translate("+(r.node(t).x-r.node(t).width/2)+","+(r.node(t).y-r.node(t).height/2)+" )"))}),r.edges().forEach(function(t){t!==void 0&&r.edge(t)!==void 0&&(d.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(r.edge(t))),l.drawEdge(n,r.edge(t),r.edge(t).relation,c,a))});const f=n.node().getBBox(),E=f.width+g*2,b=f.height+g*2;X(n,b,E,c.useMaxWidth);const w=`${f.x-g} ${f.y-g} ${E} ${b}`;d.debug(`viewBox ${w}`),n.attr("viewBox",w)},B={draw:D},z={parser:W,db:M,renderer:B,styles:H,init:e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute,M.clear()}};export{z as diagram};
import{p as W,d as M,s as H}from"./styles-0dd3ba1e-bf54a885.js";import{c as S,l as d,h as u,i as X}from"./mermaid.core-6fe6d9fd.js";import{G as Y,l as Z}from"./layout-255ec1ae.js";import{s as l}from"./svgDraw-6a237a99-9c081523.js";import"./app-a76f25ac.js";import"./framework-caa722f8.js";import"./isPlainObject-95205794.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";let h={};const g=20,p=function(e){const s=Object.entries(h).find(k=>k[1].label===e);if(s)return s[0]},$=function(e){e.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"),e.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"),e.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"),e.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"),e.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"),e.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"),e.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"),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 18,7 L9,13 L14,7 L9,1 Z")},D=function(e,s,k,a){const c=S().class;h={},d.info("Rendering diagram "+e);const L=S().securityLevel;let y;L==="sandbox"&&(y=u("#i"+s));const x=L==="sandbox"?u(y.nodes()[0].contentDocument.body):u("body"),n=x.select(`[id='${s}']`);$(n);const r=new Y({multigraph:!0});r.setGraph({isMultiGraph:!0}),r.setDefaultEdgeLabel(function(){return{}});const m=a.db.getClasses(),N=Object.keys(m);for(const t of N){const o=m[t],i=l.drawClass(n,o,c,a);h[i.id]=i,r.setNode(i.id,i),d.info("Org height: "+i.height)}a.db.getRelations().forEach(function(t){d.info("tjoho"+p(t.id1)+p(t.id2)+JSON.stringify(t)),r.setEdge(p(t.id1),p(t.id2),{relation:t},t.title||"DEFAULT")}),a.db.getNotes().forEach(function(t){d.debug(`Adding note: ${JSON.stringify(t)}`);const o=l.drawNote(n,t,c,a);h[o.id]=o,r.setNode(o.id,o),t.class&&t.class in m&&r.setEdge(t.id,p(t.class),{relation:{id1:t.id,id2:t.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")}),Z(r),r.nodes().forEach(function(t){t!==void 0&&r.node(t)!==void 0&&(d.debug("Node "+t+": "+JSON.stringify(r.node(t))),x.select("#"+(a.db.lookUpDomId(t)||t)).attr("transform","translate("+(r.node(t).x-r.node(t).width/2)+","+(r.node(t).y-r.node(t).height/2)+" )"))}),r.edges().forEach(function(t){t!==void 0&&r.edge(t)!==void 0&&(d.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(r.edge(t))),l.drawEdge(n,r.edge(t),r.edge(t).relation,c,a))});const f=n.node().getBBox(),E=f.width+g*2,b=f.height+g*2;X(n,b,E,c.useMaxWidth);const w=`${f.x-g} ${f.y-g} ${E} ${b}`;d.debug(`viewBox ${w}`),n.attr("viewBox",w)},B={draw:D},z={parser:W,db:M,renderer:B,styles:H,init:e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute,M.clear()}};export{z as diagram};

View File

@@ -1,2 +1,2 @@
import{p as _,d as T,s as M}from"./styles-0dd3ba1e-04ecdd34.js";import{l as p,c as a,h as w,y as R,t as B,r as C,o as D,p as G,k as E}from"./mermaid.core-e60c99fd.js";import{G as I}from"./layout-1db6739b.js";import{r as $}from"./index-f9d09cc9-98b655cd.js";import"./app-e6a7bfc3.js";import"./framework-caa722f8.js";import"./isPlainObject-e3a1bbd6.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";import"./edges-65da65dc-8fbf28b1.js";import"./svgDraw-6a237a99-ebe437d7.js";const A=s=>E.sanitizeText(s,a());let S={dividerMargin:10,padding:5,textHeight:10,curve:void 0};const z=function(s,o,f,n){const e=Object.keys(s);p.info("keys:",e),p.info(s),e.forEach(function(i){var l,r;const t=s[i];let y="";t.cssClasses.length>0&&(y=y+" "+t.cssClasses.join(" "));const c={labelStyle:"",style:""},m=t.label??t.id,d=0,u="class_box",b={labelStyle:c.labelStyle,shape:u,labelText:A(m),classData:t,rx:d,ry:d,class:y,style:c.style,id:t.id,domId:t.domId,tooltip:n.db.getTooltip(t.id)||"",haveCallback:t.haveCallback,link:t.link,width:t.type==="group"?500:void 0,type:t.type,padding:((l=a().flowchart)==null?void 0:l.padding)??((r=a().class)==null?void 0:r.padding)};o.setNode(t.id,b),p.info("setNode",b)})},q=function(s,o,f,n){p.info(s),s.forEach(function(e,i){var l,r;const t=e,y="",c={labelStyle:"",style:""},m=t.text,d=0,u="note",b={labelStyle:c.labelStyle,shape:u,labelText:A(m),noteData:t,rx:d,ry:d,class:y,style:c.style,id:t.id,domId:t.id,tooltip:"",type:"note",padding:((l=a().flowchart)==null?void 0:l.padding)??((r=a().class)==null?void 0:r.padding)};if(o.setNode(t.id,b),p.info("setNode",b),!t.class||!(t.class in n))return;const v=f+i,g={id:`edgeNote${v}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:C(S.curve,D)};o.setEdge(t.id,t.class,g,v)})},F=function(s,o){const f=a().flowchart;let n=0;s.forEach(function(e){var i;n++;const l={classes:"relation",pattern:e.relation.lineType==1?"dashed":"solid",id:"id"+n,arrowhead:e.type==="arrow_open"?"none":"normal",startLabelRight:e.relationTitle1==="none"?"":e.relationTitle1,endLabelLeft:e.relationTitle2==="none"?"":e.relationTitle2,arrowTypeStart:L(e.relation.type1),arrowTypeEnd:L(e.relation.type2),style:"fill:none",labelStyle:"",curve:C(f==null?void 0:f.curve,D)};if(p.info(l,e),e.style!==void 0){const r=G(e.style);l.style=r.style,l.labelStyle=r.labelStyle}e.text=e.title,e.text===void 0?e.style!==void 0&&(l.arrowheadStyle="fill: #333"):(l.arrowheadStyle="fill: #333",l.labelpos="c",((i=a().flowchart)==null?void 0:i.htmlLabels)??a().htmlLabels?(l.labelType="html",l.label='<span class="edgeLabel">'+e.text+"</span>"):(l.labelType="text",l.label=e.text.replace(E.lineBreakRegex,`
import{p as _,d as T,s as M}from"./styles-0dd3ba1e-bf54a885.js";import{l as p,c as a,h as w,y as R,t as B,r as C,o as D,p as G,k as E}from"./mermaid.core-6fe6d9fd.js";import{G as I}from"./layout-255ec1ae.js";import{r as $}from"./index-f9d09cc9-242e2018.js";import"./app-a76f25ac.js";import"./framework-caa722f8.js";import"./isPlainObject-95205794.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";import"./edges-65da65dc-13832319.js";import"./svgDraw-6a237a99-9c081523.js";const A=s=>E.sanitizeText(s,a());let S={dividerMargin:10,padding:5,textHeight:10,curve:void 0};const z=function(s,o,f,n){const e=Object.keys(s);p.info("keys:",e),p.info(s),e.forEach(function(i){var l,r;const t=s[i];let y="";t.cssClasses.length>0&&(y=y+" "+t.cssClasses.join(" "));const c={labelStyle:"",style:""},m=t.label??t.id,d=0,u="class_box",b={labelStyle:c.labelStyle,shape:u,labelText:A(m),classData:t,rx:d,ry:d,class:y,style:c.style,id:t.id,domId:t.domId,tooltip:n.db.getTooltip(t.id)||"",haveCallback:t.haveCallback,link:t.link,width:t.type==="group"?500:void 0,type:t.type,padding:((l=a().flowchart)==null?void 0:l.padding)??((r=a().class)==null?void 0:r.padding)};o.setNode(t.id,b),p.info("setNode",b)})},q=function(s,o,f,n){p.info(s),s.forEach(function(e,i){var l,r;const t=e,y="",c={labelStyle:"",style:""},m=t.text,d=0,u="note",b={labelStyle:c.labelStyle,shape:u,labelText:A(m),noteData:t,rx:d,ry:d,class:y,style:c.style,id:t.id,domId:t.id,tooltip:"",type:"note",padding:((l=a().flowchart)==null?void 0:l.padding)??((r=a().class)==null?void 0:r.padding)};if(o.setNode(t.id,b),p.info("setNode",b),!t.class||!(t.class in n))return;const v=f+i,g={id:`edgeNote${v}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:C(S.curve,D)};o.setEdge(t.id,t.class,g,v)})},F=function(s,o){const f=a().flowchart;let n=0;s.forEach(function(e){var i;n++;const l={classes:"relation",pattern:e.relation.lineType==1?"dashed":"solid",id:"id"+n,arrowhead:e.type==="arrow_open"?"none":"normal",startLabelRight:e.relationTitle1==="none"?"":e.relationTitle1,endLabelLeft:e.relationTitle2==="none"?"":e.relationTitle2,arrowTypeStart:L(e.relation.type1),arrowTypeEnd:L(e.relation.type2),style:"fill:none",labelStyle:"",curve:C(f==null?void 0:f.curve,D)};if(p.info(l,e),e.style!==void 0){const r=G(e.style);l.style=r.style,l.labelStyle=r.labelStyle}e.text=e.title,e.text===void 0?e.style!==void 0&&(l.arrowheadStyle="fill: #333"):(l.arrowheadStyle="fill: #333",l.labelpos="c",((i=a().flowchart)==null?void 0:i.htmlLabels)??a().htmlLabels?(l.labelType="html",l.label='<span class="edgeLabel">'+e.text+"</span>"):(l.labelType="text",l.label=e.text.replace(E.lineBreakRegex,`
`),e.style===void 0&&(l.style=l.style||"stroke: #333; stroke-width: 1.5px;fill:none"),l.labelStyle=l.labelStyle.replace("color:","fill:"))),o.setEdge(e.id1,e.id2,l,n)})},H=function(s){S={...S,...s}},P=function(s,o,f,n){p.info("Drawing class - ",o);const e=a().flowchart??a().class,i=a().securityLevel;p.info("config:",e);const l=(e==null?void 0:e.nodeSpacing)??50,r=(e==null?void 0:e.rankSpacing)??50,t=new I({multigraph:!0,compound:!0}).setGraph({rankdir:n.db.getDirection(),nodesep:l,ranksep:r,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),y=n.db.getClasses(),c=n.db.getRelations(),m=n.db.getNotes();p.info(c),z(y,t,o,n),F(c,t),q(m,t,c.length+1,y);let d;i==="sandbox"&&(d=w("#i"+o));const u=i==="sandbox"?w(d.nodes()[0].contentDocument.body):w("body"),b=u.select(`[id="${o}"]`),v=u.select("#"+o+" g");if($(v,t,["aggregation","extension","composition","dependency","lollipop"],"classDiagram",o),R.insertTitle(b,"classTitleText",(e==null?void 0:e.titleTopMargin)??5,n.db.getDiagramTitle()),B(t,b,e==null?void 0:e.diagramPadding,e==null?void 0:e.useMaxWidth),!(e!=null&&e.htmlLabels)){const g=i==="sandbox"?d.nodes()[0].contentDocument:document,N=g.querySelectorAll('[id="'+o+'"] .edgeLabel .label');for(const x of N){const k=x.getBBox(),h=g.createElementNS("http://www.w3.org/2000/svg","rect");h.setAttribute("rx",0),h.setAttribute("ry",0),h.setAttribute("width",k.width),h.setAttribute("height",k.height),x.insertBefore(h,x.firstChild)}}};function L(s){let o;switch(s){case 0:o="aggregation";break;case 1:o="extension";break;case 2:o="composition";break;case 3:o="dependency";break;case 4:o="lollipop";break;default:o="none"}return o}const V={setConf:H,draw:P},te={parser:_,db:T,renderer:V,styles:M,init:s=>{s.class||(s.class={}),s.class.arrowMarkerAbsolute=s.arrowMarkerAbsolute,T.clear()}};export{te as diagram};

View File

@@ -1 +0,0 @@
import{_ as r,X as a,Y as s,Z as e,$ as o,a0 as t,C as i}from"./framework-caa722f8.js";const l={},u=e("h1",{id:"join-community",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#join-community","aria-hidden":"true"},"#"),o(" Join Community")],-1),c=e("p",null,"As open-source software, community power is an important part of the ecology of Snap Hutao, and you can join our user community by following ways.",-1),h={href:"http://star-request.md",target:"_blank",rel:"noopener noreferrer"},d=e("h2",{id:"github-discussion",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#github-discussion","aria-hidden":"true"},"#"),o(" GitHub Discussion")],-1),p={href:"https://github.com/DGP-Studio/Snap.Hutao/discussions",target:"_blank",rel:"noopener noreferrer"},_=e("h2",{id:"qq-group-cn",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#qq-group-cn","aria-hidden":"true"},"#"),o(" QQ Group (CN)")],-1),f={href:"https://go.hut.ao/qun1",target:"_blank",rel:"noopener noreferrer"},m={href:"https://go.hut.ao/qun2",target:"_blank",rel:"noopener noreferrer"},g={href:"https://go.hut.ao/qun3",target:"_blank",rel:"noopener noreferrer"},b={href:"https://go.hut.ao/qun4",target:"_blank",rel:"noopener noreferrer"},k=e("em",null,"Snap Developer Open Discussion Group",-1),y=e("li",null,"General tech talk, not Snap Hutao Project development group",-1),q=e("li",null,"The Dev group requires some basic tech knowledge",-1),v={href:"https://dev-group.hut.ao",target:"_blank",rel:"noopener noreferrer"},x=e("h2",{id:"discord",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#discord","aria-hidden":"true"},"#"),o(" Discord")],-1),S={href:"https://discord.gg/Yb8bykaUKp",target:"_blank",rel:"noopener noreferrer"};function G(D,j){const n=i("ExternalLinkIcon");return a(),s("div",null,[u,c,e("p",null,[o("@include("),e("a",h,[o("star-request.md"),t(n)]),o(")")]),d,e("p",null,[e("a",p,[o("Snap.Hutao Discussion"),t(n)])]),_,e("ul",null,[e("li",null,[e("a",f,[o("Snap Group #1"),t(n)])]),e("li",null,[e("a",m,[o("Snap Group #2"),t(n)])]),e("li",null,[e("a",g,[o("Snap Group #3"),t(n)])]),e("li",null,[e("a",b,[o("Snap Group #4"),t(n)])]),e("li",null,[k,e("ul",null,[y,q,e("li",null,[o("You can join via "),e("a",v,[o("https://dev-group.hut.ao"),t(n)]),o(" if you are interested to join")])])])]),x,e("p",null,[o("Invite link"),e("a",S,[o("https://discord.gg/Yb8bykUKp"),t(n)])])])}const H=r(l,[["render",G],["__file","community.html.vue"]]);export{H as default};

View File

@@ -0,0 +1 @@
import{_ as r,X as a,Y as s,Z as o,$ as t,a0 as n,C as i}from"./framework-caa722f8.js";const l={},u=o("h1",{id:"join-community",tabindex:"-1"},[o("a",{class:"header-anchor",href:"#join-community","aria-hidden":"true"},"#"),t(" Join Community")],-1),c=o("p",null,"As open-source software, community power is an important part of the ecology of Snap Hutao, and you can join our user community by following ways.",-1),h=o("p",null,[o("strong",null,"If you believe Snap Hutao is a good project and helps you, you can support us by the following ways")],-1),d={href:"https://github.com/DGP-Studio/Snap.Hutao",target:"_blank",rel:"noopener noreferrer"},p=o("img",{src:"https://img.shields.io/github/stars/DGP-Studio/Snap.Hutao?style=plastic&color=red",alt:"hutao.stars",loading:"lazy"},null,-1),_={href:"https://github.com/DGP-Studio/Snap.Hutao.Docs",target:"_blank",rel:"noopener noreferrer"},g=o("img",{src:"https://img.shields.io/github/stars/DGP-Studio/Snap.Hutao.Docs?style=plastic&color=red",alt:"hutao.docs.stars",loading:"lazy"},null,-1),m=o("li",null,[t("Rate our App on "),o("a",{href:"ms-windows-store://review/?ProductId=9PH4NXJ2JN52"},"Microsoft Store")],-1),f=o("li",null,"Promote our project in your network",-1),b=o("p",null,[o("img",{src:"https://img.shields.io/github/commit-activity/y/DGP-Studio/Snap.Hutao?style=for-the-badge",alt:"commit_activity",loading:"lazy"}),t(),o("img",{src:"https://img.shields.io/github/last-commit/DGP-Studio/Snap.Hutao?label=Hutao Last Commit&style=for-the-badge",alt:"hutao-last-commit",loading:"lazy"})],-1),y=o("h2",{id:"github-discussion",tabindex:"-1"},[o("a",{class:"header-anchor",href:"#github-discussion","aria-hidden":"true"},"#"),t(" GitHub Discussion")],-1),S={href:"https://github.com/DGP-Studio/Snap.Hutao/discussions",target:"_blank",rel:"noopener noreferrer"},k=o("h2",{id:"qq-group-cn",tabindex:"-1"},[o("a",{class:"header-anchor",href:"#qq-group-cn","aria-hidden":"true"},"#"),t(" QQ Group (CN)")],-1),H={href:"https://go.hut.ao/qun1",target:"_blank",rel:"noopener noreferrer"},D={href:"https://go.hut.ao/qun2",target:"_blank",rel:"noopener noreferrer"},G={href:"https://go.hut.ao/qun3",target:"_blank",rel:"noopener noreferrer"},v={href:"https://go.hut.ao/qun4",target:"_blank",rel:"noopener noreferrer"},w=o("em",null,"Snap Developer Open Discussion Group",-1),P=o("li",null,"General tech talk, not Snap Hutao Project development group",-1),x=o("li",null,"The Dev group requires some basic tech knowledge",-1),j={href:"https://dev-group.hut.ao",target:"_blank",rel:"noopener noreferrer"},q=o("h2",{id:"discord",tabindex:"-1"},[o("a",{class:"header-anchor",href:"#discord","aria-hidden":"true"},"#"),t(" Discord")],-1),N={href:"https://discord.gg/Yb8bykaUKp",target:"_blank",rel:"noopener noreferrer"};function C(I,z){const e=i("ExternalLinkIcon");return a(),s("div",null,[u,c,h,o("ul",null,[o("li",null,[t("Star our project on GitHub ⭐ "),o("ul",null,[o("li",null,[o("a",d,[t("Snap.Hutao"),n(e)]),t(),p]),o("li",null,[o("a",_,[t("Snap.Hutao.Docs"),n(e)]),t(),g])])]),m,f]),b,y,o("p",null,[o("a",S,[t("Snap.Hutao Discussion"),n(e)])]),k,o("ul",null,[o("li",null,[o("a",H,[t("Snap Group #1"),n(e)])]),o("li",null,[o("a",D,[t("Snap Group #2"),n(e)])]),o("li",null,[o("a",G,[t("Snap Group #3"),n(e)])]),o("li",null,[o("a",v,[t("Snap Group #4"),n(e)])]),o("li",null,[w,o("ul",null,[P,x,o("li",null,[t("You can join via "),o("a",j,[t("https://dev-group.hut.ao"),n(e)]),t(" if you are interested to join")])])])]),q,o("p",null,[t("Invite link"),o("a",N,[t("https://discord.gg/Yb8bykUKp"),n(e)])])])}const B=r(l,[["render",C],["__file","community.html.vue"]]);export{B as default};

View File

@@ -0,0 +1 @@
import{_ as a,X as r,Y as s,Z as t,$ as e,a0 as n,C as l}from"./framework-caa722f8.js";const i={},h=t("h1",{id:"加入用户社区",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#加入用户社区","aria-hidden":"true"},"#"),e(" 加入用户社区")],-1),u=t("p",null,"作为开源软件,社区动力是胡桃工具箱生态的重要组成部分,你可以在通过下面的方式加入到胡桃的用户社区中。",-1),d=t("p",null,[t("strong",null,"如果你认为胡桃工具箱是一个好的项目或者有帮助到你,你可以通过以下方式支持我们")],-1),c={href:"https://github.com/DGP-Studio/Snap.Hutao",target:"_blank",rel:"noopener noreferrer"},_=t("img",{src:"https://img.shields.io/github/stars/DGP-Studio/Snap.Hutao?style=plastic&color=red",alt:"hutao.stars",loading:"lazy"},null,-1),p={href:"https://github.com/DGP-Studio/Snap.Hutao.Docs",target:"_blank",rel:"noopener noreferrer"},g=t("img",{src:"https://img.shields.io/github/stars/DGP-Studio/Snap.Hutao.Docs?style=plastic&color=red",alt:"hutao.docs.stars",loading:"lazy"},null,-1),m=t("li",null,[e("在"),t("a",{href:"ms-windows-store://review/?ProductId=9PH4NXJ2JN52"},"微软商店"),e("上给出好评")],-1),f=t("li",null,"在更多的地方帮助我们宣传",-1),b=t("p",null,[t("img",{src:"https://img.shields.io/github/commit-activity/y/DGP-Studio/Snap.Hutao?style=for-the-badge",alt:"commit_activity",loading:"lazy"}),t("img",{src:"https://img.shields.io/github/last-commit/DGP-Studio/Snap.Hutao?label=Hutao Last Commit&style=for-the-badge",alt:"hutao-last-commit",loading:"lazy"})],-1),S=t("h2",{id:"github-讨论",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#github-讨论","aria-hidden":"true"},"#"),e(" GitHub 讨论")],-1),k={href:"https://github.com/DGP-Studio/Snap.Hutao/discussions",target:"_blank",rel:"noopener noreferrer"},y=t("h2",{id:"qq-群",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#qq-群","aria-hidden":"true"},"#"),e(" QQ 群")],-1),H={href:"https://go.hut.ao/qun1",target:"_blank",rel:"noopener noreferrer"},D={href:"https://go.hut.ao/qun2",target:"_blank",rel:"noopener noreferrer"},x={href:"https://go.hut.ao/qun3",target:"_blank",rel:"noopener noreferrer"},G={href:"https://go.hut.ao/qun4",target:"_blank",rel:"noopener noreferrer"},P=t("em",null,"Snap 开发交流群",-1),q=t("li",null,"广泛的技术交流群,并非胡桃工具箱开发群",-1),v=t("li",null,"开发群对申请者的技术水平有一定要求",-1),N={href:"https://dev-group.hut.ao",target:"_blank",rel:"noopener noreferrer"},z=t("h2",{id:"discord",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#discord","aria-hidden":"true"},"#"),e(" Discord")],-1),w={href:"https://discord.gg/Yb8bykaUKp",target:"_blank",rel:"noopener noreferrer"};function B(C,E){const o=l("ExternalLinkIcon");return r(),s("div",null,[h,u,d,t("ul",null,[t("li",null,[e("为我们在 GitHub 上的项目加星点赞 ⭐ "),t("ul",null,[t("li",null,[t("a",c,[e("Snap.Hutao"),n(o)]),e(),_]),t("li",null,[t("a",p,[e("Snap.Hutao.Docs"),n(o)]),e(),g])])]),m,f]),b,S,t("p",null,[t("a",k,[e("Snap.Hutao Discussion"),n(o)])]),y,t("ul",null,[t("li",null,[t("a",H,[e("Snap 一群"),n(o)])]),t("li",null,[t("a",D,[e("Snap 二群"),n(o)])]),t("li",null,[t("a",x,[e("Snap 三群"),n(o)])]),t("li",null,[t("a",G,[e("Snap 四群"),n(o)])]),t("li",null,[P,t("ul",null,[q,v,t("li",null,[e("如果你有兴趣可以从"),t("a",N,[e("dev-group.hut.ao"),n(o)]),e("加入开发者交流群")])])])]),z,t("p",null,[e("邀请链接:"),t("a",w,[e("https://discord.gg/Yb8bykaUKp"),n(o)])])])}const L=a(i,[["render",B],["__file","community.html.vue"]]);export{L as default};

View File

@@ -1 +1 @@
const t=JSON.parse('{"key":"v-082946dd","path":"/en/community.html","title":"Join Community","lang":"en-US","frontmatter":{"headerDepth":0,"category":["Announcement"],"description":"As open-source software, community power is an important part of the ecology of Snap Hutao, and you can join our user community by following ways. include(star-request.md) GitHu...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://hut.ao/zh/community.html"}],["meta",{"property":"og:url","content":"https://hut.ao/en/community.html"}],["meta",{"property":"og:site_name","content":"Snap Hutao"}],["meta",{"property":"og:title","content":"Join Community"}],["meta",{"property":"og:description","content":"As open-source software, community power is an important part of the ecology of Snap Hutao, and you can join our user community by following ways. include(star-request.md) GitHu..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-03-18T03:05:17.000Z"}],["meta",{"property":"article:author","content":"DGP-Studio"}],["meta",{"property":"article:modified_time","content":"2023-03-18T03:05:17.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Join Community\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-03-18T03:05:17.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DGP-Studio\\",\\"url\\":\\"https://github.com/DGP-Studio\\"}]}"]]},"headers":[{"level":2,"title":"GitHub Discussion","slug":"github-discussion","link":"#github-discussion","children":[]},{"level":2,"title":"QQ Group (CN)","slug":"qq-group-cn","link":"#qq-group-cn","children":[]},{"level":2,"title":"Discord","slug":"discord","link":"#discord","children":[]}],"git":{"createdTime":1679108717000,"updatedTime":1679108717000,"contributors":[{"name":"Masterain","email":"i@irain.in","commits":1}]},"readingTime":{"minutes":0.37,"words":110},"filePathRelative":"en/community.md","localizedDate":"March 18, 2023","autoDesc":true}');export{t as data};
const t=JSON.parse('{"key":"v-082946dd","path":"/en/community.html","title":"Join Community","lang":"en-US","frontmatter":{"headerDepth":0,"category":["Announcement"],"description":"As open-source software, community power is an important part of the ecology of Snap Hutao, and you can join our user community by following ways. GitHub Discussion Snap.Hutao D...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://hut.ao/zh/community.html"}],["meta",{"property":"og:url","content":"https://hut.ao/en/community.html"}],["meta",{"property":"og:site_name","content":"Snap Hutao"}],["meta",{"property":"og:title","content":"Join Community"}],["meta",{"property":"og:description","content":"As open-source software, community power is an important part of the ecology of Snap Hutao, and you can join our user community by following ways. GitHub Discussion Snap.Hutao D..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-04-03T03:07:54.000Z"}],["meta",{"property":"article:author","content":"DGP-Studio"}],["meta",{"property":"article:modified_time","content":"2023-04-03T03:07:54.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Join Community\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-04-03T03:07:54.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DGP-Studio\\",\\"url\\":\\"https://github.com/DGP-Studio\\"}]}"]]},"headers":[{"level":2,"title":"GitHub Discussion","slug":"github-discussion","link":"#github-discussion","children":[]},{"level":2,"title":"QQ Group (CN)","slug":"qq-group-cn","link":"#qq-group-cn","children":[]},{"level":2,"title":"Discord","slug":"discord","link":"#discord","children":[]}],"git":{"createdTime":1679108717000,"updatedTime":1680491274000,"contributors":[{"name":"Masterain","email":"i@irain.in","commits":2}]},"readingTime":{"minutes":0.37,"words":110},"filePathRelative":"en/community.md","localizedDate":"March 18, 2023","autoDesc":true}');export{t as data};

View File

@@ -1 +0,0 @@
import{_ as o,X as a,Y as s,Z as e,$ as t,a0 as r,C as l}from"./framework-caa722f8.js";const h={},i=e("h1",{id:"加入用户社区",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#加入用户社区","aria-hidden":"true"},"#"),t(" 加入用户社区")],-1),d=e("p",null,"作为开源软件,社区动力是胡桃工具箱生态的重要组成部分,你可以在通过下面的方式加入到胡桃的用户社区中。",-1),c={href:"http://star-request.md",target:"_blank",rel:"noopener noreferrer"},_=e("h2",{id:"github-讨论",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#github-讨论","aria-hidden":"true"},"#"),t(" GitHub 讨论")],-1),u={href:"https://github.com/DGP-Studio/Snap.Hutao/discussions",target:"_blank",rel:"noopener noreferrer"},p=e("h2",{id:"qq-群",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#qq-群","aria-hidden":"true"},"#"),t(" QQ 群")],-1),f={href:"https://go.hut.ao/qun1",target:"_blank",rel:"noopener noreferrer"},g={href:"https://go.hut.ao/qun2",target:"_blank",rel:"noopener noreferrer"},b={href:"https://go.hut.ao/qun3",target:"_blank",rel:"noopener noreferrer"},m={href:"https://go.hut.ao/qun4",target:"_blank",rel:"noopener noreferrer"},k=e("em",null,"Snap 开发交流群",-1),q=e("li",null,"广泛的技术交流群,并非胡桃工具箱开发群",-1),x=e("li",null,"开发群对申请者的技术水平有一定要求",-1),S={href:"https://dev-group.hut.ao",target:"_blank",rel:"noopener noreferrer"},v=e("h2",{id:"discord",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#discord","aria-hidden":"true"},"#"),t(" Discord")],-1),y={href:"https://discord.gg/Yb8bykaUKp",target:"_blank",rel:"noopener noreferrer"};function B(D,E){const n=l("ExternalLinkIcon");return a(),s("div",null,[i,d,e("p",null,[t("@include("),e("a",c,[t("star-request.md"),r(n)]),t(")")]),_,e("p",null,[e("a",u,[t("Snap.Hutao Discussion"),r(n)])]),p,e("ul",null,[e("li",null,[e("a",f,[t("Snap 一群"),r(n)])]),e("li",null,[e("a",g,[t("Snap 二群"),r(n)])]),e("li",null,[e("a",b,[t("Snap 三群"),r(n)])]),e("li",null,[e("a",m,[t("Snap 四群"),r(n)])]),e("li",null,[k,e("ul",null,[q,x,e("li",null,[t("如果你有兴趣可以从"),e("a",S,[t("dev-group.hut.ao"),r(n)]),t("加入开发者交流群")])])])]),v,e("p",null,[t("邀请链接:"),e("a",y,[t("https://discord.gg/Yb8bykaUKp"),r(n)])])])}const N=o(h,[["render",B],["__file","community.html.vue"]]);export{N as default};

View File

@@ -1 +1 @@
const t=JSON.parse('{"key":"v-5cad49b8","path":"/zh/community.html","title":"加入用户社区","lang":"zh-CN","frontmatter":{"headerDepth":0,"category":["公告"],"redirectFrom":"/community.html","description":"作为开源软件,社区动力是胡桃工具箱生态的重要组成部分,你可以在通过下面的方式加入到胡桃的用户社区中。 include(star-request.md) GitHub 讨论 Snap.Hutao Discussion (https://github.com/DGP-Studio/Snap.Hutao/discussions) QQ 群 Snap 一群 (...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://hut.ao/en/community.html"}],["meta",{"property":"og:url","content":"https://hut.ao/zh/community.html"}],["meta",{"property":"og:site_name","content":"胡桃工具箱"}],["meta",{"property":"og:title","content":"加入用户社区"}],["meta",{"property":"og:description","content":"作为开源软件,社区动力是胡桃工具箱生态的重要组成部分,你可以在通过下面的方式加入到胡桃的用户社区中。 include(star-request.md) GitHub 讨论 Snap.Hutao Discussion (https://github.com/DGP-Studio/Snap.Hutao/discussions) QQ 群 Snap 一群 (..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2023-03-26T04:27:39.000Z"}],["meta",{"property":"article:author","content":"DGP-Studio"}],["meta",{"property":"article:modified_time","content":"2023-03-26T04:27:39.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"加入用户社区\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-03-26T04:27:39.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DGP-Studio\\",\\"url\\":\\"https://github.com/DGP-Studio\\"}]}"]]},"headers":[{"level":2,"title":"GitHub 讨论","slug":"github-讨论","link":"#github-讨论","children":[]},{"level":2,"title":"QQ 群","slug":"qq-群","link":"#qq-群","children":[]},{"level":2,"title":"Discord","slug":"discord","link":"#discord","children":[]}],"git":{"createdTime":1679366029000,"updatedTime":1679804859000,"contributors":[{"name":"Masterain","email":"i@irain.in","commits":2}]},"readingTime":{"minutes":0.55,"words":165},"filePathRelative":"zh/community.md","localizedDate":"2023年3月21日","autoDesc":true}');export{t as data};
const t=JSON.parse('{"key":"v-5cad49b8","path":"/zh/community.html","title":"加入用户社区","lang":"zh-CN","frontmatter":{"headerDepth":0,"category":["公告"],"redirectFrom":"/community.html","description":"作为开源软件,社区动力是胡桃工具箱生态的重要组成部分,你可以在通过下面的方式加入到胡桃的用户社区中。 GitHub 讨论 Snap.Hutao Discussion (https://github.com/DGP-Studio/Snap.Hutao/discussions) QQ 群 Snap 一群 (https://go.hut.ao/qun1); ...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://hut.ao/en/community.html"}],["meta",{"property":"og:url","content":"https://hut.ao/zh/community.html"}],["meta",{"property":"og:site_name","content":"胡桃工具箱"}],["meta",{"property":"og:title","content":"加入用户社区"}],["meta",{"property":"og:description","content":"作为开源软件,社区动力是胡桃工具箱生态的重要组成部分,你可以在通过下面的方式加入到胡桃的用户社区中。 GitHub 讨论 Snap.Hutao Discussion (https://github.com/DGP-Studio/Snap.Hutao/discussions) QQ 群 Snap 一群 (https://go.hut.ao/qun1); ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2023-04-03T03:07:54.000Z"}],["meta",{"property":"article:author","content":"DGP-Studio"}],["meta",{"property":"article:modified_time","content":"2023-04-03T03:07:54.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"加入用户社区\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-04-03T03:07:54.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DGP-Studio\\",\\"url\\":\\"https://github.com/DGP-Studio\\"}]}"]]},"headers":[{"level":2,"title":"GitHub 讨论","slug":"github-讨论","link":"#github-讨论","children":[]},{"level":2,"title":"QQ 群","slug":"qq-群","link":"#qq-群","children":[]},{"level":2,"title":"Discord","slug":"discord","link":"#discord","children":[]}],"git":{"createdTime":1679366029000,"updatedTime":1680491274000,"contributors":[{"name":"Masterain","email":"i@irain.in","commits":3}]},"readingTime":{"minutes":0.55,"words":165},"filePathRelative":"zh/community.md","localizedDate":"2023年3月21日","autoDesc":true}');export{t as data};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
import{aC as r}from"./mermaid.core-6fe6d9fd.js";import"./app-a76f25ac.js";import"./framework-caa722f8.js";const e=()=>"",t=e,p={db:{clear:()=>{}},styles:t,renderer:r,parser:{parser:{yy:{}},parse:()=>{}},init:()=>{}};export{p as diagram};

View File

@@ -1 +0,0 @@
import{aC as r}from"./mermaid.core-e60c99fd.js";import"./app-e6a7bfc3.js";import"./framework-caa722f8.js";const e=()=>"",t=e,p={db:{clear:()=>{}},styles:t,renderer:r,parser:{parser:{yy:{}},parse:()=>{}},init:()=>{}};export{p as diagram};

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
import{p as a,f as o}from"./add-html-label-c976f319.js";import{f as t,a as e}from"./styles-4fe3d1fc-8523fa28.js";import{a4 as i}from"./mermaid.core-6fe6d9fd.js";import"./layout-255ec1ae.js";import"./isPlainObject-95205794.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";import"./index-f9d09cc9-242e2018.js";import"./edges-65da65dc-13832319.js";import"./svgDraw-6a237a99-9c081523.js";import"./selectAll-f704d0a7.js";import"./app-a76f25ac.js";import"./framework-caa722f8.js";const g={parser:a,db:o,renderer:t,styles:e,init:r=>{r.flowchart||(r.flowchart={}),r.flowchart.arrowMarkerAbsolute=r.arrowMarkerAbsolute,i({flowchart:{arrowMarkerAbsolute:r.arrowMarkerAbsolute}}),t.setConf(r.flowchart),o.clear(),o.setGen("gen-2")}};export{g as diagram};

View File

@@ -1 +0,0 @@
import{p as a,f as o}from"./add-html-label-dfdc9428.js";import{f as t,a as e}from"./styles-4fe3d1fc-7c396f44.js";import{a4 as i}from"./mermaid.core-e60c99fd.js";import"./layout-1db6739b.js";import"./isPlainObject-e3a1bbd6.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";import"./index-f9d09cc9-98b655cd.js";import"./edges-65da65dc-8fbf28b1.js";import"./svgDraw-6a237a99-ebe437d7.js";import"./selectAll-46d0c518.js";import"./app-e6a7bfc3.js";import"./framework-caa722f8.js";const g={parser:a,db:o,renderer:t,styles:e,init:r=>{r.flowchart||(r.flowchart={}),r.flowchart.arrowMarkerAbsolute=r.arrowMarkerAbsolute,i({flowchart:{arrowMarkerAbsolute:r.arrowMarkerAbsolute}}),t.setConf(r.flowchart),o.clear(),o.setGen("gen-2")}};export{g as diagram};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
import{_ as n,X as r,Y as i,Z as t,$ as e,a0 as a,a1 as s,C as l}from"./framework-caa722f8.js";const c={},u=t("h2",{id:"contribute",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#contribute","aria-hidden":"true"},"#"),e(" Contribute")],-1),d=t("p",null,"Snap Hutao is a free software maintained by open-source community, and we hope more players with same ambitions can join together to provide more features to the community.",-1),h=t("p",null,"You can make contribution by the following ways:",-1),p={href:"https://github.com/DGP-Studio/Snap.Hutao/pulls",target:"_blank",rel:"noopener noreferrer"},m={href:"https://translate.hut.ao/",target:"_blank",rel:"noopener noreferrer"},g={href:"https://translate-docs.hut.ao/",target:"_blank",rel:"noopener noreferrer"},_={href:"https://github.com/DGP-Studio/Snap.Hutao.Docs",target:"_blank",rel:"noopener noreferrer"},f=t("p",null,[t("strong",null,"If you believe Snap Hutao is a good project and helps you, you can support us by the following ways")],-1),b={href:"https://github.com/DGP-Studio/Snap.Hutao",target:"_blank",rel:"noopener noreferrer"},y=t("img",{src:"https://img.shields.io/github/stars/DGP-Studio/Snap.Hutao?style=plastic&color=red",alt:"hutao.stars",loading:"lazy"},null,-1),w={href:"https://github.com/DGP-Studio/Snap.Hutao.Docs",target:"_blank",rel:"noopener noreferrer"},S=t("img",{src:"https://img.shields.io/github/stars/DGP-Studio/Snap.Hutao.Docs?style=plastic&color=red",alt:"hutao.docs.stars",loading:"lazy"},null,-1),H=t("li",null,[e("Rate our App on "),t("a",{href:"ms-windows-store://review/?ProductId=9PH4NXJ2JN52"},"Microsoft Store")],-1),k=t("li",null,"Promote our project in your network",-1),v=s('<p><img src="https://img.shields.io/github/commit-activity/y/DGP-Studio/Snap.Hutao?style=for-the-badge" alt="commit_activity" loading="lazy"> <img src="https://img.shields.io/github/last-commit/DGP-Studio/Snap.Hutao?label=Hutao Last Commit&amp;style=for-the-badge" alt="hutao-last-commit" loading="lazy"></p><h2 id="service-used" tabindex="-1"><a class="header-anchor" href="#service-used" aria-hidden="true">#</a> Service Used</h2><p>Snap Hutao is currently using software from the following service providers.</p><p><a href="https://www.netlify.com"><img src="https://www.netlify.com/v3/img/components/netlify-light.svg" alt="Deploys by Netlify"></a><a href="https://crowdin.com/?utm_source=badge&amp;utm_medium=referral&amp;utm_campaign=badge-add-on" rel="nofollow"><img style="width:140;height:40px;" src="https://badges.crowdin.net/badge/light/crowdin-on-dark.png" srcset="https://badges.crowdin.net/badge/light/crowdin-on-dark.png 1x, https://badges.crowdin.net/badge/light/crowdin-on-dark@2x.png 2x" alt="Crowdin | Agile localization for tech companies"></a></p>',4);function x(D,P){const o=l("ExternalLinkIcon");return r(),i("div",null,[u,d,h,t("ol",null,[t("li",null,[t("a",p,[e("Make Pull Requests to our code"),a(o)])]),t("li",null,[e("Improve localization by translating the project on Crowdin "),t("ol",null,[t("li",null,[t("a",m,[e("Snap Hutao"),a(o)])]),t("li",null,[t("a",g,[e("Snap Hutao Document"),a(o)])])])]),t("li",null,[t("a",_,[e("Update document"),a(o)])])]),f,t("ul",null,[t("li",null,[e("Star our project on GitHub ⭐ "),t("ul",null,[t("li",null,[t("a",b,[e("Snap.Hutao"),a(o)]),e(),y]),t("li",null,[t("a",w,[e("Snap.Hutao.Docs"),a(o)]),e(),S])])]),H,k]),v])}const N=n(c,[["render",x],["__file","index.html.vue"]]);export{N as default};

View File

@@ -1 +0,0 @@
import{_ as a,X as r,Y as l,Z as e,$ as t,a0 as o,a1 as s,C as i}from"./framework-caa722f8.js";const d={},c=e("h2",{id:"贡献",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#贡献","aria-hidden":"true"},"#"),t(" 贡献")],-1),h=e("p",null,"Snap Hutao 是一个由开源社区维护的免费项目,我们希望有更多志同道合的开发者能参与到项目中,为 Snap Hutao 带来更多的功能。",-1),p=e("p",null,"你可以通过以下方法为项目作出贡献:",-1),_={href:"https://github.com/DGP-Studio/Snap.Hutao/pulls",target:"_blank",rel:"noopener noreferrer"},u={href:"https://translate.hut.ao/",target:"_blank",rel:"noopener noreferrer"},g={href:"https://translate-docs.hut.ao/",target:"_blank",rel:"noopener noreferrer"},f={href:"https://github.com/DGP-Studio/Snap.Hutao.Docs",target:"_blank",rel:"noopener noreferrer"},m={href:"http://star-request.md",target:"_blank",rel:"noopener noreferrer"},b=s('<h2 id="平台" tabindex="-1"><a class="header-anchor" href="#平台" aria-hidden="true">#</a> 平台</h2><p>Snap Hutao 目前使用了以下软件厂商提供的服务</p><p><a href="https://www.netlify.com"><img src="https://www.netlify.com/v3/img/components/netlify-light.svg" alt="Deploys by Netlify"></a><a href="https://crowdin.com/?utm_source=badge&amp;utm_medium=referral&amp;utm_campaign=badge-add-on" rel="nofollow"><img style="width:140;height:40px;" src="https://badges.crowdin.net/badge/light/crowdin-on-dark.png" srcset="https://badges.crowdin.net/badge/light/crowdin-on-dark.png 1x, https://badges.crowdin.net/badge/light/crowdin-on-dark@2x.png 2x" alt="Crowdin | Agile localization for tech companies"></a></p>',3);function w(x,k){const n=i("ExternalLinkIcon");return r(),l("div",null,[c,h,p,e("ol",null,[e("li",null,[e("a",_,[t("向我们提交 PR"),o(n)])]),e("li",null,[t("在 Crowdin 上进行本地化翻译 "),e("ol",null,[e("li",null,[e("a",u,[t("主项目"),o(n)])]),e("li",null,[e("a",g,[t("文档"),o(n)])])])]),e("li",null,[e("a",f,[t("为我们更新文档"),o(n)])])]),e("p",null,[t("@include("),e("a",m,[t("star-request.md"),o(n)]),t(")")]),b])}const y=a(d,[["render",w],["__file","index.html.vue"]]);export{y as default};

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
import{_ as n,X as l,Y as s,Z as t,$ as e,a0 as a,a1 as i,C as r}from"./framework-caa722f8.js";const c={},d=t("h2",{id:"贡献",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#贡献","aria-hidden":"true"},"#"),e(" 贡献")],-1),h=t("p",null,"Snap Hutao 是一个由开源社区维护的免费项目,我们希望有更多志同道合的开发者能参与到项目中,为 Snap Hutao 带来更多的功能。",-1),u=t("p",null,"你可以通过以下方法为项目作出贡献:",-1),p={href:"https://github.com/DGP-Studio/Snap.Hutao/pulls",target:"_blank",rel:"noopener noreferrer"},_={href:"https://translate.hut.ao/",target:"_blank",rel:"noopener noreferrer"},g={href:"https://translate-docs.hut.ao/",target:"_blank",rel:"noopener noreferrer"},m={href:"https://github.com/DGP-Studio/Snap.Hutao.Docs",target:"_blank",rel:"noopener noreferrer"},f=t("p",null,[t("strong",null,"如果你认为胡桃工具箱是一个好的项目或者有帮助到你,你可以通过以下方式支持我们")],-1),b={href:"https://github.com/DGP-Studio/Snap.Hutao",target:"_blank",rel:"noopener noreferrer"},S=t("img",{src:"https://img.shields.io/github/stars/DGP-Studio/Snap.Hutao?style=plastic&color=red",alt:"hutao.stars",loading:"lazy"},null,-1),w={href:"https://github.com/DGP-Studio/Snap.Hutao.Docs",target:"_blank",rel:"noopener noreferrer"},y=t("img",{src:"https://img.shields.io/github/stars/DGP-Studio/Snap.Hutao.Docs?style=plastic&color=red",alt:"hutao.docs.stars",loading:"lazy"},null,-1),H=t("li",null,[e("在"),t("a",{href:"ms-windows-store://review/?ProductId=9PH4NXJ2JN52"},"微软商店"),e("上给出好评")],-1),x=t("li",null,"在更多的地方帮助我们宣传",-1),k=i('<p><img src="https://img.shields.io/github/commit-activity/y/DGP-Studio/Snap.Hutao?style=for-the-badge" alt="commit_activity" loading="lazy"><img src="https://img.shields.io/github/last-commit/DGP-Studio/Snap.Hutao?label=Hutao Last Commit&amp;style=for-the-badge" alt="hutao-last-commit" loading="lazy"></p><h2 id="平台" tabindex="-1"><a class="header-anchor" href="#平台" aria-hidden="true">#</a> 平台</h2><p>Snap Hutao 目前使用了以下软件厂商提供的服务</p><p><a href="https://www.netlify.com"><img src="https://www.netlify.com/v3/img/components/netlify-light.svg" alt="Deploys by Netlify"></a><a href="https://crowdin.com/?utm_source=badge&amp;utm_medium=referral&amp;utm_campaign=badge-add-on" rel="nofollow"><img style="width:140;height:40px;" src="https://badges.crowdin.net/badge/light/crowdin-on-dark.png" srcset="https://badges.crowdin.net/badge/light/crowdin-on-dark.png 1x, https://badges.crowdin.net/badge/light/crowdin-on-dark@2x.png 2x" alt="Crowdin | Agile localization for tech companies"></a></p>',4);function D(P,G){const o=r("ExternalLinkIcon");return l(),s("div",null,[d,h,u,t("ol",null,[t("li",null,[t("a",p,[e("向我们提交 PR"),a(o)])]),t("li",null,[e("在 Crowdin 上进行本地化翻译 "),t("ol",null,[t("li",null,[t("a",_,[e("主项目"),a(o)])]),t("li",null,[t("a",g,[e("文档"),a(o)])])])]),t("li",null,[t("a",m,[e("为我们更新文档"),a(o)])])]),f,t("ul",null,[t("li",null,[e("为我们在 GitHub 上的项目加星点赞 ⭐ "),t("ul",null,[t("li",null,[t("a",b,[e("Snap.Hutao"),a(o)]),e(),S]),t("li",null,[t("a",w,[e("Snap.Hutao.Docs"),a(o)]),e(),y])])]),H,x]),k])}const N=n(c,[["render",D],["__file","index.html.vue"]]);export{N as default};

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
import{_ as r,X as a,Y as i,Z as e,$ as t,a0 as n,a1 as s,C as l}from"./framework-caa722f8.js";const c={},d=e("h2",{id:"contribute",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#contribute","aria-hidden":"true"},"#"),t(" Contribute")],-1),h=e("p",null,"Snap Hutao is a free software maintained by open-source community, and we hope more players with same ambitions can join together to provide more features to the community.",-1),u=e("p",null,"You can make contribution by the following ways:",-1),p={href:"https://github.com/DGP-Studio/Snap.Hutao/pulls",target:"_blank",rel:"noopener noreferrer"},m={href:"https://translate.hut.ao/",target:"_blank",rel:"noopener noreferrer"},_={href:"https://translate-docs.hut.ao/",target:"_blank",rel:"noopener noreferrer"},f={href:"https://github.com/DGP-Studio/Snap.Hutao.Docs",target:"_blank",rel:"noopener noreferrer"},g={href:"http://star-request.md",target:"_blank",rel:"noopener noreferrer"},b=s('<h2 id="service-used" tabindex="-1"><a class="header-anchor" href="#service-used" aria-hidden="true">#</a> Service Used</h2><p>Snap Hutao is currently using software from the following service providers.</p><p><a href="https://www.netlify.com"><img src="https://www.netlify.com/v3/img/components/netlify-light.svg" alt="Deploys by Netlify"></a><a href="https://crowdin.com/?utm_source=badge&amp;utm_medium=referral&amp;utm_campaign=badge-add-on" rel="nofollow"><img style="width:140;height:40px;" src="https://badges.crowdin.net/badge/light/crowdin-on-dark.png" srcset="https://badges.crowdin.net/badge/light/crowdin-on-dark.png 1x, https://badges.crowdin.net/badge/light/crowdin-on-dark@2x.png 2x" alt="Crowdin | Agile localization for tech companies"></a></p>',3);function w(y,k){const o=l("ExternalLinkIcon");return a(),i("div",null,[d,h,u,e("ol",null,[e("li",null,[e("a",p,[t("Make Pull Requests to our code"),n(o)])]),e("li",null,[t("Improve localization by translating the project on Crowdin "),e("ol",null,[e("li",null,[e("a",m,[t("Snap Hutao"),n(o)])]),e("li",null,[e("a",_,[t("Snap Hutao Document"),n(o)])])])]),e("li",null,[e("a",f,[t("Update document"),n(o)])])]),e("p",null,[t("@include("),e("a",g,[t("star-request.md"),n(o)]),t(")")]),b])}const v=r(c,[["render",w],["__file","index.html.vue"]]);export{v as default};

View File

@@ -1,4 +1,4 @@
import{z as C,l as E,c as D,h as P}from"./mermaid.core-e60c99fd.js";import"./app-e6a7bfc3.js";import"./framework-caa722f8.js";var L=function(){var h=function(c,t,e,n){for(e=e||{},n=c.length;n--;e[c[n]]=t);return e},f=[6,9,10],x={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(t,e,n,s,r,i,k){switch(i.length-1,r){case 1:return s;case 4:break;case 6:s.setInfo(!0);break}},table:[{3:1,4:[1,2]},{1:[3]},h(f,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},h(f,[2,3]),h(f,[2,4]),h(f,[2,5]),h(f,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,e){if(e.recoverable)this.trace(t);else{var n=new Error(t);throw n.hash=e,n}},parse:function(t){var e=this,n=[0],s=[],r=[null],i=[],k=this.table,$="",b=0,T=0,z=2,R=1,M=i.slice.call(arguments,1),o=Object.create(this.lexer),p={yy:{}};for(var w in this.yy)Object.prototype.hasOwnProperty.call(this.yy,w)&&(p.yy[w]=this.yy[w]);o.setInput(t,p.yy),p.yy.lexer=o,p.yy.parser=this,typeof o.yylloc>"u"&&(o.yylloc={});var I=o.yylloc;i.push(I);var Y=o.options&&o.options.ranges;typeof p.yy.parseError=="function"?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function U(){var u;return u=s.pop()||o.lex()||R,typeof u!="number"&&(u instanceof Array&&(s=u,u=s.pop()),u=e.symbols_[u]||u),u}for(var l,g,a,A,d={},v,y,j,S;;){if(g=n[n.length-1],this.defaultActions[g]?a=this.defaultActions[g]:((l===null||typeof l>"u")&&(l=U()),a=k[g]&&k[g][l]),typeof a>"u"||!a.length||!a[0]){var O="";S=[];for(v in k[g])this.terminals_[v]&&v>z&&S.push("'"+this.terminals_[v]+"'");o.showPosition?O="Parse error on line "+(b+1)+`:
import{z as C,l as E,c as D,h as P}from"./mermaid.core-6fe6d9fd.js";import"./app-a76f25ac.js";import"./framework-caa722f8.js";var L=function(){var h=function(c,t,e,n){for(e=e||{},n=c.length;n--;e[c[n]]=t);return e},f=[6,9,10],x={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(t,e,n,s,r,i,k){switch(i.length-1,r){case 1:return s;case 4:break;case 6:s.setInfo(!0);break}},table:[{3:1,4:[1,2]},{1:[3]},h(f,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},h(f,[2,3]),h(f,[2,4]),h(f,[2,5]),h(f,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,e){if(e.recoverable)this.trace(t);else{var n=new Error(t);throw n.hash=e,n}},parse:function(t){var e=this,n=[0],s=[],r=[null],i=[],k=this.table,$="",b=0,T=0,z=2,R=1,M=i.slice.call(arguments,1),o=Object.create(this.lexer),p={yy:{}};for(var w in this.yy)Object.prototype.hasOwnProperty.call(this.yy,w)&&(p.yy[w]=this.yy[w]);o.setInput(t,p.yy),p.yy.lexer=o,p.yy.parser=this,typeof o.yylloc>"u"&&(o.yylloc={});var I=o.yylloc;i.push(I);var Y=o.options&&o.options.ranges;typeof p.yy.parseError=="function"?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function U(){var u;return u=s.pop()||o.lex()||R,typeof u!="number"&&(u instanceof Array&&(s=u,u=s.pop()),u=e.symbols_[u]||u),u}for(var l,g,a,A,d={},v,y,j,S;;){if(g=n[n.length-1],this.defaultActions[g]?a=this.defaultActions[g]:((l===null||typeof l>"u")&&(l=U()),a=k[g]&&k[g][l]),typeof a>"u"||!a.length||!a[0]){var O="";S=[];for(v in k[g])this.terminals_[v]&&v>z&&S.push("'"+this.terminals_[v]+"'");o.showPosition?O="Parse error on line "+(b+1)+`:
`+o.showPosition()+`
Expecting `+S.join(", ")+", got '"+(this.terminals_[l]||l)+"'":O="Parse error on line "+(b+1)+": Unexpected "+(l==R?"end of input":"'"+(this.terminals_[l]||l)+"'"),this.parseError(O,{text:o.match,token:this.terminals_[l]||l,line:o.yylineno,loc:I,expected:S})}if(a[0]instanceof Array&&a.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+l);switch(a[0]){case 1:n.push(l),r.push(o.yytext),i.push(o.yylloc),n.push(a[1]),l=null,T=o.yyleng,$=o.yytext,b=o.yylineno,I=o.yylloc;break;case 2:if(y=this.productions_[a[1]][1],d.$=r[r.length-y],d._$={first_line:i[i.length-(y||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(y||1)].first_column,last_column:i[i.length-1].last_column},Y&&(d._$.range=[i[i.length-(y||1)].range[0],i[i.length-1].range[1]]),A=this.performAction.apply(d,[$,T,b,p.yy,a[1],r,i].concat(M)),typeof A<"u")return A;y&&(n=n.slice(0,-1*y*2),r=r.slice(0,-1*y),i=i.slice(0,-1*y)),n.push(this.productions_[a[1]][0]),r.push(d.$),i.push(d._$),j=k[n[n.length-2]][n[n.length-1]],n.push(j);break;case 3:return!0}}return!0}},m=function(){var c={EOF:1,parseError:function(e,n){if(this.yy.parser)this.yy.parser.parseError(e,n);else throw new Error(e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,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},input:function(){var t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var e=t.match(/(?:\r\n?|\n).*/g);return e?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var s=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 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:n?(n.length===s.length?this.yylloc.first_column:0)+s[s.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+`

View File

@@ -1 +1 @@
import{a as h}from"./array-9f3ba611.js";import{w as j,c as f}from"./path-53f90ab3.js";import{o as m,a0 as O,B as y,C as P}from"./mermaid.core-e60c99fd.js";function d(n){return n[0]}function w(n){return n[1]}function q(n,e){var o=f(!0),c=null,l=m,u=null,v=j(r);n=typeof n=="function"?n:n===void 0?d:f(n),e=typeof e=="function"?e:e===void 0?w:f(e);function r(t){var i,g=(t=h(t)).length,s,a=!1,p;for(c==null&&(u=l(p=v())),i=0;i<=g;++i)!(i<g&&o(s=t[i],i,t))===a&&((a=!a)?u.lineStart():u.lineEnd()),a&&u.point(+n(s,i,t),+e(s,i,t));if(p)return u=null,p+""||null}return r.x=function(t){return arguments.length?(n=typeof t=="function"?t:f(+t),r):n},r.y=function(t){return arguments.length?(e=typeof t=="function"?t:f(+t),r):e},r.defined=function(t){return arguments.length?(o=typeof t=="function"?t:f(!!t),r):o},r.curve=function(t){return arguments.length?(l=t,c!=null&&(u=l(c)),r):l},r.context=function(t){return arguments.length?(t==null?c=u=null:u=l(c=t),r):c},r}var S=O(Object.getPrototypeOf,Object);const C=S;var T="[object Object]",L=Function.prototype,k=Object.prototype,b=L.toString,A=k.hasOwnProperty,B=b.call(Object);function z(n){if(!y(n)||P(n)!=T)return!1;var e=C(n);if(e===null)return!0;var o=A.call(e,"constructor")&&e.constructor;return typeof o=="function"&&o instanceof o&&b.call(o)==B}export{C as g,z as i,q as l};
import{a as h}from"./array-9f3ba611.js";import{w as j,c as f}from"./path-53f90ab3.js";import{o as m,a0 as O,B as y,C as P}from"./mermaid.core-6fe6d9fd.js";function d(n){return n[0]}function w(n){return n[1]}function q(n,e){var o=f(!0),c=null,l=m,u=null,v=j(r);n=typeof n=="function"?n:n===void 0?d:f(n),e=typeof e=="function"?e:e===void 0?w:f(e);function r(t){var i,g=(t=h(t)).length,s,a=!1,p;for(c==null&&(u=l(p=v())),i=0;i<=g;++i)!(i<g&&o(s=t[i],i,t))===a&&((a=!a)?u.lineStart():u.lineEnd()),a&&u.point(+n(s,i,t),+e(s,i,t));if(p)return u=null,p+""||null}return r.x=function(t){return arguments.length?(n=typeof t=="function"?t:f(+t),r):n},r.y=function(t){return arguments.length?(e=typeof t=="function"?t:f(+t),r):e},r.defined=function(t){return arguments.length?(o=typeof t=="function"?t:f(!!t),r):o},r.curve=function(t){return arguments.length?(l=t,c!=null&&(u=l(c)),r):l},r.context=function(t){return arguments.length?(t==null?c=u=null:u=l(c=t),r):c},r}var S=O(Object.getPrototypeOf,Object);const C=S;var T="[object Object]",L=Function.prototype,k=Object.prototype,b=L.toString,A=k.hasOwnProperty,B=b.call(Object);function z(n){if(!y(n)||P(n)!=T)return!1;var e=C(n);if(e===null)return!0;var o=A.call(e,"constructor")&&e.constructor;return typeof o=="function"&&o instanceof o&&b.call(o)==B}export{C as g,z as i,q as l};

View File

@@ -1 +1 @@
import{aI as c,aJ as a}from"./mermaid.core-e60c99fd.js";const e=n=>{const{r,g:t,b:o}=c.parse(n),s=.2126*a.channel.toLinear(r)+.7152*a.channel.toLinear(t)+.0722*a.channel.toLinear(o);return a.lang.round(s)},i=e,l=n=>i(n)>=.5,u=l,h=n=>!u(n),L=h;export{L as i};
import{aI as c,aJ as a}from"./mermaid.core-6fe6d9fd.js";const e=n=>{const{r,g:t,b:o}=c.parse(n),s=.2126*a.channel.toLinear(r)+.7152*a.channel.toLinear(t)+.0722*a.channel.toLinear(o);return a.lang.round(s)},i=e,l=n=>i(n)>=.5,u=l,h=n=>!u(n),L=h;export{L as i};

View File

@@ -1,4 +1,4 @@
import{c as V,v as gt,x as mt,s as xt,g as _t,b as kt,a as vt,m as bt,z as wt,h as Z,i as Tt}from"./mermaid.core-e60c99fd.js";import{a as st}from"./arc-0e14e3c0.js";import"./app-e6a7bfc3.js";import"./framework-caa722f8.js";import"./path-53f90ab3.js";var K=function(){var e=function(_,n,a,h){for(a=a||{},h=_.length;h--;a[_[h]]=n);return a},t=[1,2],i=[1,5],r=[6,9,11,17,18,20,22,23,24,26],s=[1,15],o=[1,16],l=[1,17],y=[1,18],u=[1,19],x=[1,20],g=[1,24],f=[4,6,9,11,17,18,20,22,23,24,26],p={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,taskName:24,taskData:25,open_directive:26,type_directive:27,arg_directive:28,close_directive:29,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",24:"taskName",25:"taskData",26:"open_directive",27:"type_directive",28:"arg_directive",29:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,2],[10,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(n,a,h,d,m,c,R){var k=c.length-1;switch(m){case 1:return c[k-1];case 3:this.$=[];break;case 4:c[k-1].push(c[k]),this.$=c[k-1];break;case 5:case 6:this.$=c[k];break;case 7:case 8:this.$=[];break;case 11:d.setDiagramTitle(c[k].substr(6)),this.$=c[k].substr(6);break;case 12:this.$=c[k].trim(),d.setAccTitle(this.$);break;case 13:case 14:this.$=c[k].trim(),d.setAccDescription(this.$);break;case 15:d.addSection(c[k].substr(8)),this.$=c[k].substr(8);break;case 16:d.addTask(c[k-1],c[k]),this.$="task";break;case 18:d.parseDirective("%%{","open_directive");break;case 19:d.parseDirective(c[k],"type_directive");break;case 20:c[k]=c[k].trim().replace(/'/g,'"'),d.parseDirective(c[k],"arg_directive");break;case 21:d.parseDirective("}%%","close_directive","journey");break}},table:[{3:1,4:t,7:3,12:4,26:i},{1:[3]},e(r,[2,3],{5:6}),{3:7,4:t,7:3,12:4,26:i},{13:8,27:[1,9]},{27:[2,18]},{6:[1,10],7:21,8:11,9:[1,12],10:13,11:[1,14],12:4,17:s,18:o,20:l,22:y,23:u,24:x,26:i},{1:[2,2]},{14:22,15:[1,23],29:g},e([15,29],[2,19]),e(r,[2,8],{1:[2,1]}),e(r,[2,4]),{7:21,10:25,12:4,17:s,18:o,20:l,22:y,23:u,24:x,26:i},e(r,[2,6]),e(r,[2,7]),e(r,[2,11]),{19:[1,26]},{21:[1,27]},e(r,[2,14]),e(r,[2,15]),{25:[1,28]},e(r,[2,17]),{11:[1,29]},{16:30,28:[1,31]},{11:[2,21]},e(r,[2,5]),e(r,[2,12]),e(r,[2,13]),e(r,[2,16]),e(f,[2,9]),{14:32,29:g},{29:[2,20]},{11:[1,33]},e(f,[2,10])],defaultActions:{5:[2,18],7:[2,2],24:[2,21],31:[2,20]},parseError:function(n,a){if(a.recoverable)this.trace(n);else{var h=new Error(n);throw h.hash=a,h}},parse:function(n){var a=this,h=[0],d=[],m=[null],c=[],R=this.table,k="",z=0,tt=0,yt=2,et=1,pt=c.slice.call(arguments,1),b=Object.create(this.lexer),I={yy:{}};for(var X in this.yy)Object.prototype.hasOwnProperty.call(this.yy,X)&&(I.yy[X]=this.yy[X]);b.setInput(n,I.yy),I.yy.lexer=b,I.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var G=b.yylloc;c.push(G);var dt=b.options&&b.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ft(){var E;return E=d.pop()||b.lex()||et,typeof E!="number"&&(E instanceof Array&&(d=E,E=d.pop()),E=a.symbols_[E]||E),E}for(var w,A,M,H,F={},Y,$,it,q;;){if(A=h[h.length-1],this.defaultActions[A]?M=this.defaultActions[A]:((w===null||typeof w>"u")&&(w=ft()),M=R[A]&&R[A][w]),typeof M>"u"||!M.length||!M[0]){var U="";q=[];for(Y in R[A])this.terminals_[Y]&&Y>yt&&q.push("'"+this.terminals_[Y]+"'");b.showPosition?U="Parse error on line "+(z+1)+`:
import{c as V,v as gt,x as mt,s as xt,g as _t,b as kt,a as vt,m as bt,z as wt,h as Z,i as Tt}from"./mermaid.core-6fe6d9fd.js";import{a as st}from"./arc-6b94bf6b.js";import"./app-a76f25ac.js";import"./framework-caa722f8.js";import"./path-53f90ab3.js";var K=function(){var e=function(_,n,a,h){for(a=a||{},h=_.length;h--;a[_[h]]=n);return a},t=[1,2],i=[1,5],r=[6,9,11,17,18,20,22,23,24,26],s=[1,15],o=[1,16],l=[1,17],y=[1,18],u=[1,19],x=[1,20],g=[1,24],f=[4,6,9,11,17,18,20,22,23,24,26],p={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,taskName:24,taskData:25,open_directive:26,type_directive:27,arg_directive:28,close_directive:29,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",24:"taskName",25:"taskData",26:"open_directive",27:"type_directive",28:"arg_directive",29:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,2],[10,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(n,a,h,d,m,c,R){var k=c.length-1;switch(m){case 1:return c[k-1];case 3:this.$=[];break;case 4:c[k-1].push(c[k]),this.$=c[k-1];break;case 5:case 6:this.$=c[k];break;case 7:case 8:this.$=[];break;case 11:d.setDiagramTitle(c[k].substr(6)),this.$=c[k].substr(6);break;case 12:this.$=c[k].trim(),d.setAccTitle(this.$);break;case 13:case 14:this.$=c[k].trim(),d.setAccDescription(this.$);break;case 15:d.addSection(c[k].substr(8)),this.$=c[k].substr(8);break;case 16:d.addTask(c[k-1],c[k]),this.$="task";break;case 18:d.parseDirective("%%{","open_directive");break;case 19:d.parseDirective(c[k],"type_directive");break;case 20:c[k]=c[k].trim().replace(/'/g,'"'),d.parseDirective(c[k],"arg_directive");break;case 21:d.parseDirective("}%%","close_directive","journey");break}},table:[{3:1,4:t,7:3,12:4,26:i},{1:[3]},e(r,[2,3],{5:6}),{3:7,4:t,7:3,12:4,26:i},{13:8,27:[1,9]},{27:[2,18]},{6:[1,10],7:21,8:11,9:[1,12],10:13,11:[1,14],12:4,17:s,18:o,20:l,22:y,23:u,24:x,26:i},{1:[2,2]},{14:22,15:[1,23],29:g},e([15,29],[2,19]),e(r,[2,8],{1:[2,1]}),e(r,[2,4]),{7:21,10:25,12:4,17:s,18:o,20:l,22:y,23:u,24:x,26:i},e(r,[2,6]),e(r,[2,7]),e(r,[2,11]),{19:[1,26]},{21:[1,27]},e(r,[2,14]),e(r,[2,15]),{25:[1,28]},e(r,[2,17]),{11:[1,29]},{16:30,28:[1,31]},{11:[2,21]},e(r,[2,5]),e(r,[2,12]),e(r,[2,13]),e(r,[2,16]),e(f,[2,9]),{14:32,29:g},{29:[2,20]},{11:[1,33]},e(f,[2,10])],defaultActions:{5:[2,18],7:[2,2],24:[2,21],31:[2,20]},parseError:function(n,a){if(a.recoverable)this.trace(n);else{var h=new Error(n);throw h.hash=a,h}},parse:function(n){var a=this,h=[0],d=[],m=[null],c=[],R=this.table,k="",z=0,tt=0,yt=2,et=1,pt=c.slice.call(arguments,1),b=Object.create(this.lexer),I={yy:{}};for(var X in this.yy)Object.prototype.hasOwnProperty.call(this.yy,X)&&(I.yy[X]=this.yy[X]);b.setInput(n,I.yy),I.yy.lexer=b,I.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var G=b.yylloc;c.push(G);var dt=b.options&&b.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ft(){var E;return E=d.pop()||b.lex()||et,typeof E!="number"&&(E instanceof Array&&(d=E,E=d.pop()),E=a.symbols_[E]||E),E}for(var w,A,M,H,F={},Y,$,it,q;;){if(A=h[h.length-1],this.defaultActions[A]?M=this.defaultActions[A]:((w===null||typeof w>"u")&&(w=ft()),M=R[A]&&R[A][w]),typeof M>"u"||!M.length||!M[0]){var U="";q=[];for(Y in R[A])this.terminals_[Y]&&Y>yt&&q.push("'"+this.terminals_[Y]+"'");b.showPosition?U="Parse error on line "+(z+1)+`:
`+b.showPosition()+`
Expecting `+q.join(", ")+", got '"+(this.terminals_[w]||w)+"'":U="Parse error on line "+(z+1)+": Unexpected "+(w==et?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(U,{text:b.match,token:this.terminals_[w]||w,line:b.yylineno,loc:G,expected:q})}if(M[0]instanceof Array&&M.length>1)throw new Error("Parse Error: multiple actions possible at state: "+A+", token: "+w);switch(M[0]){case 1:h.push(w),m.push(b.yytext),c.push(b.yylloc),h.push(M[1]),w=null,tt=b.yyleng,k=b.yytext,z=b.yylineno,G=b.yylloc;break;case 2:if($=this.productions_[M[1]][1],F.$=m[m.length-$],F._$={first_line:c[c.length-($||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-($||1)].first_column,last_column:c[c.length-1].last_column},dt&&(F._$.range=[c[c.length-($||1)].range[0],c[c.length-1].range[1]]),H=this.performAction.apply(F,[k,tt,z,I.yy,M[1],m,c].concat(pt)),typeof H<"u")return H;$&&(h=h.slice(0,-1*$*2),m=m.slice(0,-1*$),c=c.slice(0,-1*$)),h.push(this.productions_[M[1]][0]),m.push(F.$),c.push(F._$),it=R[h[h.length-2]][h[h.length-1]],h.push(it);break;case 3:return!0}}return!0}},T=function(){var _={EOF:1,parseError:function(a,h){if(this.yy.parser)this.yy.parser.parseError(a,h);else throw new Error(a)},setInput:function(n,a){return this.yy=a||this.yy||{},this._input=n,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},input:function(){var n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var a=n.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),n},unput:function(n){var a=n.length,h=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;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),h.length-1&&(this.yylineno-=h.length-1);var m=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:h?(h.length===d.length?this.yylloc.first_column:0)+d[d.length-h.length].length-h[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[m[0],m[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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},less:function(n){this.unput(this.match.slice(n))},pastInput:function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var n=this.pastInput(),a=new Array(n.length+1).join("-");return n+this.upcomingInput()+`

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
const t=JSON.parse('{"key":"v-4f90aebf","path":"/zh/quick-start.html","title":"快速开始","lang":"zh-CN","frontmatter":{"pageClass":"link-box","externalLinkIcon":false,"category":["功能","教程"],"redirectFrom":"/quick-start.html","description":"若您已下载或使用胡桃工具箱,即表示你已阅读并完全同意用户使用协议与法律声明 (statements/tos.md) include(star-request.md) 视频指南 对于大多数人而言,遵循本页文档会有更高的效率。 但如果你对其中包含的操作不熟悉,也可以回到这里来跟着视频指南操作。胡桃工具箱视频指南 - 下载/安装/卸载篇 最低系统要求 要求规...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://hut.ao/en/quick-start.html"}],["meta",{"property":"og:url","content":"https://hut.ao/zh/quick-start.html"}],["meta",{"property":"og:site_name","content":"胡桃工具箱"}],["meta",{"property":"og:title","content":"快速开始"}],["meta",{"property":"og:description","content":"若您已下载或使用胡桃工具箱,即表示你已阅读并完全同意用户使用协议与法律声明 (statements/tos.md) include(star-request.md) 视频指南 对于大多数人而言,遵循本页文档会有更高的效率。 但如果你对其中包含的操作不熟悉,也可以回到这里来跟着视频指南操作。胡桃工具箱视频指南 - 下载/安装/卸载篇 最低系统要求 要求规..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2023-03-26T04:27:39.000Z"}],["meta",{"property":"article:author","content":"DGP-Studio"}],["meta",{"property":"article:modified_time","content":"2023-03-26T04:27:39.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"快速开始\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-03-26T04:27:39.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DGP-Studio\\",\\"url\\":\\"https://github.com/DGP-Studio\\"}]}"]]},"headers":[{"level":2,"title":"视频指南","slug":"视频指南","link":"#视频指南","children":[]},{"level":2,"title":"最低系统要求","slug":"最低系统要求","link":"#最低系统要求","children":[]},{"level":2,"title":"下载胡桃工具箱","slug":"下载胡桃工具箱","link":"#下载胡桃工具箱","children":[{"level":3,"title":"从侧载版升级至商店版","slug":"从侧载版升级至商店版","link":"#从侧载版升级至商店版","children":[]}]},{"level":2,"title":"更新胡桃工具箱","slug":"更新胡桃工具箱","link":"#更新胡桃工具箱","children":[]},{"level":2,"title":"安装 WebView2 运行时","slug":"安装-webview2-运行时","link":"#安装-webview2-运行时","children":[]}],"git":{"createdTime":1679366029000,"updatedTime":1679804859000,"contributors":[{"name":"Masterain","email":"i@irain.in","commits":2}]},"readingTime":{"minutes":2.71,"words":813},"filePathRelative":"zh/quick-start.md","localizedDate":"2023年3月21日","autoDesc":true}');export{t as data};

View File

@@ -1 +1 @@
const e=JSON.parse('{"key":"v-0c01f6a4","path":"/en/quick-start.html","title":"Quick Start","lang":"en-US","frontmatter":{"pageClass":"link-box","externalLinkIcon":false,"category":["Feature","Tutorial"],"description":"If you download and use Snap Hutaoyou are agree to our terms of service (statements/tos.md) ::: include(star-request.md) Video Tutorial For most people, follow the instruction ...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://hut.ao/zh/quick-start.html"}],["meta",{"property":"og:url","content":"https://hut.ao/en/quick-start.html"}],["meta",{"property":"og:site_name","content":"Snap Hutao"}],["meta",{"property":"og:title","content":"Quick Start"}],["meta",{"property":"og:description","content":"If you download and use Snap Hutaoyou are agree to our terms of service (statements/tos.md) ::: include(star-request.md) Video Tutorial For most people, follow the instruction ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-03-21T02:33:49.000Z"}],["meta",{"property":"article:author","content":"DGP-Studio"}],["meta",{"property":"article:modified_time","content":"2023-03-21T02:33:49.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Quick Start\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-03-21T02:33:49.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DGP-Studio\\",\\"url\\":\\"https://github.com/DGP-Studio\\"}]}"]]},"headers":[{"level":2,"title":"Video Tutorial","slug":"video-tutorial","link":"#video-tutorial","children":[]},{"level":2,"title":"Minimum System Requirements","slug":"minimum-system-requirements","link":"#minimum-system-requirements","children":[]},{"level":2,"title":"Download Snap Hutao","slug":"download-snap-hutao","link":"#download-snap-hutao","children":[{"level":3,"title":"Upgrade to MS Store Version from Sideload Versions","slug":"upgrade-to-ms-store-version-from-sideload-versions","link":"#upgrade-to-ms-store-version-from-sideload-versions","children":[]}]},{"level":2,"title":"Update Snap Hutao","slug":"update-snap-hutao","link":"#update-snap-hutao","children":[]},{"level":2,"title":"Installing WebView2 Runtime","slug":"installing-webview2-runtime","link":"#installing-webview2-runtime","children":[]}],"git":{"createdTime":1664329604000,"updatedTime":1679366029000,"contributors":[{"name":"Masterain","email":"i@irain.in","commits":7}]},"readingTime":{"minutes":1.66,"words":498},"filePathRelative":"en/quick-start.md","localizedDate":"September 28, 2022","autoDesc":true}');export{e as data};
const e=JSON.parse('{"key":"v-0c01f6a4","path":"/en/quick-start.html","title":"Quick Start","lang":"en-US","frontmatter":{"pageClass":"link-box","externalLinkIcon":false,"category":["Feature","Tutorial"],"description":"If you download and use Snap Hutaoyou are agree to our terms of service (statements/tos.md) ::: Video Tutorial For most people, follow the instruction on this page is more effi...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://hut.ao/zh/quick-start.html"}],["meta",{"property":"og:url","content":"https://hut.ao/en/quick-start.html"}],["meta",{"property":"og:site_name","content":"Snap Hutao"}],["meta",{"property":"og:title","content":"Quick Start"}],["meta",{"property":"og:description","content":"If you download and use Snap Hutaoyou are agree to our terms of service (statements/tos.md) ::: Video Tutorial For most people, follow the instruction on this page is more effi..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-04-03T03:07:54.000Z"}],["meta",{"property":"article:author","content":"DGP-Studio"}],["meta",{"property":"article:modified_time","content":"2023-04-03T03:07:54.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Quick Start\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-04-03T03:07:54.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DGP-Studio\\",\\"url\\":\\"https://github.com/DGP-Studio\\"}]}"]]},"headers":[{"level":2,"title":"Video Tutorial","slug":"video-tutorial","link":"#video-tutorial","children":[]},{"level":2,"title":"Minimum System Requirements","slug":"minimum-system-requirements","link":"#minimum-system-requirements","children":[]},{"level":2,"title":"Download Snap Hutao","slug":"download-snap-hutao","link":"#download-snap-hutao","children":[{"level":3,"title":"Upgrade to MS Store Version from Sideload Versions","slug":"upgrade-to-ms-store-version-from-sideload-versions","link":"#upgrade-to-ms-store-version-from-sideload-versions","children":[]}]},{"level":2,"title":"Update Snap Hutao","slug":"update-snap-hutao","link":"#update-snap-hutao","children":[]},{"level":2,"title":"Installing WebView2 Runtime","slug":"installing-webview2-runtime","link":"#installing-webview2-runtime","children":[]}],"git":{"createdTime":1664329604000,"updatedTime":1680491274000,"contributors":[{"name":"Masterain","email":"i@irain.in","commits":8}]},"readingTime":{"minutes":1.66,"words":498},"filePathRelative":"en/quick-start.md","localizedDate":"September 28, 2022","autoDesc":true}');export{e as data};

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
const t=JSON.parse('{"key":"v-4f90aebf","path":"/zh/quick-start.html","title":"快速开始","lang":"zh-CN","frontmatter":{"pageClass":"link-box","externalLinkIcon":false,"category":["功能","教程"],"redirectFrom":"/quick-start.html","description":"若您已下载或使用胡桃工具箱,即表示你已阅读并完全同意用户使用协议与法律声明 (statements/tos.md) 视频指南 对于大多数人而言,遵循本页文档会有更高的效率。 但如果你对其中包含的操作不熟悉,也可以回到这里来跟着视频指南操作。胡桃工具箱视频指南 - 下载/安装/卸载篇 最低系统要求 要求规格 -- *最低可运行系统版本**|Windows...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://hut.ao/en/quick-start.html"}],["meta",{"property":"og:url","content":"https://hut.ao/zh/quick-start.html"}],["meta",{"property":"og:site_name","content":"胡桃工具箱"}],["meta",{"property":"og:title","content":"快速开始"}],["meta",{"property":"og:description","content":"若您已下载或使用胡桃工具箱,即表示你已阅读并完全同意用户使用协议与法律声明 (statements/tos.md) 视频指南 对于大多数人而言,遵循本页文档会有更高的效率。 但如果你对其中包含的操作不熟悉,也可以回到这里来跟着视频指南操作。胡桃工具箱视频指南 - 下载/安装/卸载篇 最低系统要求 要求规格 -- *最低可运行系统版本**|Windows..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2023-04-03T03:07:54.000Z"}],["meta",{"property":"article:author","content":"DGP-Studio"}],["meta",{"property":"article:modified_time","content":"2023-04-03T03:07:54.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"快速开始\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-04-03T03:07:54.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DGP-Studio\\",\\"url\\":\\"https://github.com/DGP-Studio\\"}]}"]]},"headers":[{"level":2,"title":"视频指南","slug":"视频指南","link":"#视频指南","children":[]},{"level":2,"title":"最低系统要求","slug":"最低系统要求","link":"#最低系统要求","children":[]},{"level":2,"title":"下载胡桃工具箱","slug":"下载胡桃工具箱","link":"#下载胡桃工具箱","children":[{"level":3,"title":"从侧载版升级至商店版","slug":"从侧载版升级至商店版","link":"#从侧载版升级至商店版","children":[]}]},{"level":2,"title":"更新胡桃工具箱","slug":"更新胡桃工具箱","link":"#更新胡桃工具箱","children":[]},{"level":2,"title":"安装 WebView2 运行时","slug":"安装-webview2-运行时","link":"#安装-webview2-运行时","children":[]}],"git":{"createdTime":1679366029000,"updatedTime":1680491274000,"contributors":[{"name":"Masterain","email":"i@irain.in","commits":3}]},"readingTime":{"minutes":2.71,"words":813},"filePathRelative":"zh/quick-start.md","localizedDate":"2023年3月21日","autoDesc":true}');export{t as data};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
import{Z as t,_ as n,$ as o}from"./mermaid.core-e60c99fd.js";function a(e){return typeof e=="string"?new t([document.querySelectorAll(e)],[document.documentElement]):new t([o(e)],n)}export{a as s};
import{Z as t,_ as n,$ as o}from"./mermaid.core-6fe6d9fd.js";function a(e){return typeof e=="string"?new t([document.querySelectorAll(e)],[document.documentElement]):new t([o(e)],n)}export{a as s};

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
import{p as Q,d as B,s as X,D as H,a as Z,S as F,b as j,c as I}from"./styles-d6bd7a5e-e1888f63.js";import{G as tt}from"./layout-1db6739b.js";import{l,c as g,h as x,y as et,i as ot,k as G}from"./mermaid.core-e60c99fd.js";import{r as st}from"./index-f9d09cc9-98b655cd.js";import"./isPlainObject-e3a1bbd6.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";import"./app-e6a7bfc3.js";import"./framework-caa722f8.js";import"./edges-65da65dc-8fbf28b1.js";import"./svgDraw-6a237a99-ebe437d7.js";const b="rect",C="rectWithTitle",nt="start",ct="end",it="divider",rt="roundedWithTitle",lt="note",at="noteGroup",p="statediagram",dt="state",Et=`${p}-${dt}`,U="transition",St="note",Tt="note-edge",pt=`${U} ${Tt}`,_t=`${p}-${St}`,ut="cluster",Dt=`${p}-${ut}`,ft="cluster-alt",ht=`${p}-${ft}`,V="parent",Y="note",At="state",N="----",bt=`${N}${Y}`,M=`${N}${V}`,W="fill:none",z="fill: #333",m="c",q="text",K="normal";let y={},E=0;const yt=function(t){const n=Object.keys(t);for(const e of n)t[e]},gt=function(t,n){l.trace("Extracting classes"),n.db.clear();try{return n.parser.parse(t),n.db.extract(n.db.getRootDocV2()),n.db.getClasses()}catch(e){return e}};function $t(t){return t==null?"":t.classes?t.classes.join(" "):""}function R(t="",n=0,e="",c=N){const i=e!==null&&e.length>0?`${c}${e}`:"";return`${At}-${t}${i}-${n}`}const A=(t,n,e,c,i,r)=>{const o=e.id,_=$t(c[o]);if(o!=="root"){let T=b;e.start===!0&&(T=nt),e.start===!1&&(T=ct),e.type!==H&&(T=e.type),y[o]||(y[o]={id:o,shape:T,description:G.sanitizeText(o,g()),classes:`${_} ${Et}`});const s=y[o];e.description&&(Array.isArray(s.description)?(s.shape=C,s.description.push(e.description)):s.description.length>0?(s.shape=C,s.description===o?s.description=[e.description]:s.description=[s.description,e.description]):(s.shape=b,s.description=e.description),s.description=G.sanitizeTextOrArray(s.description,g())),s.description.length===1&&s.shape===C&&(s.shape=b),!s.type&&e.doc&&(l.info("Setting cluster for ",o,w(e)),s.type="group",s.dir=w(e),s.shape=e.type===Z?it:rt,s.classes=s.classes+" "+Dt+" "+(r?ht:""));const u={labelStyle:"",shape:s.shape,labelText:s.description,classes:s.classes,style:"",id:o,dir:s.dir,domId:R(o,E),type:s.type,padding:15};if(e.note){const a={labelStyle:"",shape:lt,labelText:e.note.text,classes:_t,style:"",id:o+bt+"-"+E,domId:R(o,E,Y),type:s.type,padding:15},d={labelStyle:"",shape:at,labelText:e.note.text,classes:s.classes,style:"",id:o+M,domId:R(o,E,V),type:"group",padding:0};E++;const D=o+M;t.setNode(D,d),t.setNode(a.id,a),t.setNode(o,u),t.setParent(o,D),t.setParent(a.id,D);let S=o,f=a.id;e.note.position==="left of"&&(S=a.id,f=o),t.setEdge(S,f,{arrowhead:"none",arrowType:"",style:W,labelStyle:"",classes:pt,arrowheadStyle:z,labelpos:m,labelType:q,thickness:K})}else t.setNode(o,u)}n&&n.id!=="root"&&(l.trace("Setting node ",o," to be child of its parent ",n.id),t.setParent(o,n.id)),e.doc&&(l.trace("Adding nodes children "),xt(t,e,e.doc,c,i,!r))},xt=(t,n,e,c,i,r)=>{l.trace("items",e),e.forEach(o=>{switch(o.stmt){case j:A(t,n,o,c,i,r);break;case H:A(t,n,o,c,i,r);break;case F:{A(t,n,o.state1,c,i,r),A(t,n,o.state2,c,i,r);const _={id:"edge"+E,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:W,labelStyle:"",label:G.sanitizeText(o.description,g()),arrowheadStyle:z,labelpos:m,labelType:q,thickness:K,classes:U};t.setEdge(o.state1.id,o.state2.id,_,E),E++}break}})},w=(t,n=I)=>{let e=n;if(t.doc)for(let c=0;c<t.doc.length;c++){const i=t.doc[c];i.stmt==="dir"&&(e=i.value)}return e},Ct=function(t,n,e,c){l.info("Drawing state diagram (v2)",n),y={},c.db.getDirection();const{securityLevel:i,state:r}=g(),o=r.nodeSpacing||50,_=r.rankSpacing||50;l.info(c.db.getRootDocV2()),c.db.extract(c.db.getRootDocV2()),l.info(c.db.getRootDocV2());const T=c.db.getStates(),s=new tt({multigraph:!0,compound:!0}).setGraph({rankdir:w(c.db.getRootDocV2()),nodesep:o,ranksep:_,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});A(s,void 0,c.db.getRootDocV2(),T,c.db,!0);let u;i==="sandbox"&&(u=x("#i"+n));const a=i==="sandbox"?x(u.nodes()[0].contentDocument.body):x("body"),d=a.select(`[id="${n}"]`),D=a.select("#"+n+" g");st(D,s,["barb"],p,n);const S=8;et.insertTitle(d,"statediagramTitleText",r.titleTopMargin,c.db.getDiagramTitle());const f=d.node().getBBox(),L=f.width+S*2,P=f.height+S*2;d.attr("class",p);const k=d.node().getBBox();ot(d,P,L,r.useMaxWidth);const v=`${k.x-S} ${k.y-S} ${L} ${P}`;l.debug(`viewBox ${v}`),d.attr("viewBox",v);const J=document.querySelectorAll('[id="'+n+'"] .edgeLabel .label');for(const $ of J){const O=$.getBBox(),h=document.createElementNS("http://www.w3.org/2000/svg",b);h.setAttribute("rx",0),h.setAttribute("ry",0),h.setAttribute("width",O.width),h.setAttribute("height",O.height),$.insertBefore(h,$.firstChild)}},Rt={setConf:yt,getClasses:gt,draw:Ct},Ut={parser:Q,db:B,renderer:Rt,styles:X,init:t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,B.clear()}};export{Ut as diagram};
import{p as Q,d as B,s as X,D as H,a as Z,S as F,b as j,c as I}from"./styles-d6bd7a5e-76a5d7f8.js";import{G as tt}from"./layout-255ec1ae.js";import{l,c as g,h as x,y as et,i as ot,k as G}from"./mermaid.core-6fe6d9fd.js";import{r as st}from"./index-f9d09cc9-242e2018.js";import"./isPlainObject-95205794.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";import"./app-a76f25ac.js";import"./framework-caa722f8.js";import"./edges-65da65dc-13832319.js";import"./svgDraw-6a237a99-9c081523.js";const b="rect",C="rectWithTitle",nt="start",ct="end",it="divider",rt="roundedWithTitle",lt="note",at="noteGroup",p="statediagram",dt="state",Et=`${p}-${dt}`,U="transition",St="note",Tt="note-edge",pt=`${U} ${Tt}`,_t=`${p}-${St}`,ut="cluster",Dt=`${p}-${ut}`,ft="cluster-alt",ht=`${p}-${ft}`,V="parent",Y="note",At="state",N="----",bt=`${N}${Y}`,M=`${N}${V}`,W="fill:none",z="fill: #333",m="c",q="text",K="normal";let y={},E=0;const yt=function(t){const n=Object.keys(t);for(const e of n)t[e]},gt=function(t,n){l.trace("Extracting classes"),n.db.clear();try{return n.parser.parse(t),n.db.extract(n.db.getRootDocV2()),n.db.getClasses()}catch(e){return e}};function $t(t){return t==null?"":t.classes?t.classes.join(" "):""}function R(t="",n=0,e="",c=N){const i=e!==null&&e.length>0?`${c}${e}`:"";return`${At}-${t}${i}-${n}`}const A=(t,n,e,c,i,r)=>{const o=e.id,_=$t(c[o]);if(o!=="root"){let T=b;e.start===!0&&(T=nt),e.start===!1&&(T=ct),e.type!==H&&(T=e.type),y[o]||(y[o]={id:o,shape:T,description:G.sanitizeText(o,g()),classes:`${_} ${Et}`});const s=y[o];e.description&&(Array.isArray(s.description)?(s.shape=C,s.description.push(e.description)):s.description.length>0?(s.shape=C,s.description===o?s.description=[e.description]:s.description=[s.description,e.description]):(s.shape=b,s.description=e.description),s.description=G.sanitizeTextOrArray(s.description,g())),s.description.length===1&&s.shape===C&&(s.shape=b),!s.type&&e.doc&&(l.info("Setting cluster for ",o,w(e)),s.type="group",s.dir=w(e),s.shape=e.type===Z?it:rt,s.classes=s.classes+" "+Dt+" "+(r?ht:""));const u={labelStyle:"",shape:s.shape,labelText:s.description,classes:s.classes,style:"",id:o,dir:s.dir,domId:R(o,E),type:s.type,padding:15};if(e.note){const a={labelStyle:"",shape:lt,labelText:e.note.text,classes:_t,style:"",id:o+bt+"-"+E,domId:R(o,E,Y),type:s.type,padding:15},d={labelStyle:"",shape:at,labelText:e.note.text,classes:s.classes,style:"",id:o+M,domId:R(o,E,V),type:"group",padding:0};E++;const D=o+M;t.setNode(D,d),t.setNode(a.id,a),t.setNode(o,u),t.setParent(o,D),t.setParent(a.id,D);let S=o,f=a.id;e.note.position==="left of"&&(S=a.id,f=o),t.setEdge(S,f,{arrowhead:"none",arrowType:"",style:W,labelStyle:"",classes:pt,arrowheadStyle:z,labelpos:m,labelType:q,thickness:K})}else t.setNode(o,u)}n&&n.id!=="root"&&(l.trace("Setting node ",o," to be child of its parent ",n.id),t.setParent(o,n.id)),e.doc&&(l.trace("Adding nodes children "),xt(t,e,e.doc,c,i,!r))},xt=(t,n,e,c,i,r)=>{l.trace("items",e),e.forEach(o=>{switch(o.stmt){case j:A(t,n,o,c,i,r);break;case H:A(t,n,o,c,i,r);break;case F:{A(t,n,o.state1,c,i,r),A(t,n,o.state2,c,i,r);const _={id:"edge"+E,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:W,labelStyle:"",label:G.sanitizeText(o.description,g()),arrowheadStyle:z,labelpos:m,labelType:q,thickness:K,classes:U};t.setEdge(o.state1.id,o.state2.id,_,E),E++}break}})},w=(t,n=I)=>{let e=n;if(t.doc)for(let c=0;c<t.doc.length;c++){const i=t.doc[c];i.stmt==="dir"&&(e=i.value)}return e},Ct=function(t,n,e,c){l.info("Drawing state diagram (v2)",n),y={},c.db.getDirection();const{securityLevel:i,state:r}=g(),o=r.nodeSpacing||50,_=r.rankSpacing||50;l.info(c.db.getRootDocV2()),c.db.extract(c.db.getRootDocV2()),l.info(c.db.getRootDocV2());const T=c.db.getStates(),s=new tt({multigraph:!0,compound:!0}).setGraph({rankdir:w(c.db.getRootDocV2()),nodesep:o,ranksep:_,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});A(s,void 0,c.db.getRootDocV2(),T,c.db,!0);let u;i==="sandbox"&&(u=x("#i"+n));const a=i==="sandbox"?x(u.nodes()[0].contentDocument.body):x("body"),d=a.select(`[id="${n}"]`),D=a.select("#"+n+" g");st(D,s,["barb"],p,n);const S=8;et.insertTitle(d,"statediagramTitleText",r.titleTopMargin,c.db.getDiagramTitle());const f=d.node().getBBox(),L=f.width+S*2,P=f.height+S*2;d.attr("class",p);const k=d.node().getBBox();ot(d,P,L,r.useMaxWidth);const v=`${k.x-S} ${k.y-S} ${L} ${P}`;l.debug(`viewBox ${v}`),d.attr("viewBox",v);const J=document.querySelectorAll('[id="'+n+'"] .edgeLabel .label');for(const $ of J){const O=$.getBBox(),h=document.createElementNS("http://www.w3.org/2000/svg",b);h.setAttribute("rx",0),h.setAttribute("ry",0),h.setAttribute("width",O.width),h.setAttribute("height",O.height),$.insertBefore(h,$.firstChild)}},Rt={setConf:yt,getClasses:gt,draw:Ct},Ut={parser:Q,db:B,renderer:Rt,styles:X,init:t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,B.clear()}};export{Ut as diagram};

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,4 @@
import{G as V}from"./layout-1db6739b.js";import{p as N,q,c as C,k as D,l as h,r as $,o as E,h as T,y as P,t as F}from"./mermaid.core-e60c99fd.js";import{b as M,f as R}from"./add-html-label-dfdc9428.js";import{r as U}from"./index-f9d09cc9-98b655cd.js";import{s as H}from"./selectAll-46d0c518.js";const G={},W=function(t){const s=Object.keys(t);for(const m of s)G[m]=t[m]},I=function(t,s,m,n,d,f){const b=n.select(`[id="${m}"]`);Object.keys(t).forEach(function(i){const r=t[i];let y="default";r.classes.length>0&&(y=r.classes.join(" "));const w=N(r.styles);let e=r.text!==void 0?r.text:r.id,a;if(q(C().flowchart.htmlLabels)){const x={label:e.replace(/fa[blrs]?:fa-[\w-]+/g,k=>`<i class='${k.replace(":"," ")}'></i>`)};a=M(b,x).node(),a.parentNode.removeChild(a)}else{const x=d.createElementNS("http://www.w3.org/2000/svg","text");x.setAttribute("style",w.labelStyle.replace("color:","fill:"));const k=e.split(D.lineBreakRegex);for(const _ of k){const v=d.createElementNS("http://www.w3.org/2000/svg","tspan");v.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),v.setAttribute("dy","1em"),v.setAttribute("x","1"),v.textContent=_,x.appendChild(v)}a=x}let c=0,l="";switch(r.type){case"round":c=5,l="rect";break;case"square":l="rect";break;case"diamond":l="question";break;case"hexagon":l="hexagon";break;case"odd":l="rect_left_inv_arrow";break;case"lean_right":l="lean_right";break;case"lean_left":l="lean_left";break;case"trapezoid":l="trapezoid";break;case"inv_trapezoid":l="inv_trapezoid";break;case"odd_right":l="rect_left_inv_arrow";break;case"circle":l="circle";break;case"ellipse":l="ellipse";break;case"stadium":l="stadium";break;case"subroutine":l="subroutine";break;case"cylinder":l="cylinder";break;case"group":l="rect";break;case"doublecircle":l="doublecircle";break;default:l="rect"}s.setNode(r.id,{labelStyle:w.labelStyle,shape:l,labelText:e,rx:c,ry:c,class:y,style:w.style,id:r.id,link:r.link,linkTarget:r.linkTarget,tooltip:f.db.getTooltip(r.id)||"",domId:f.db.lookUpDomId(r.id),haveCallback:r.haveCallback,width:r.type==="group"?500:void 0,dir:r.dir,type:r.type,props:r.props,padding:C().flowchart.padding}),h.info("setNode",{labelStyle:w.labelStyle,shape:l,labelText:e,rx:c,ry:c,class:y,style:w.style,id:r.id,domId:f.db.lookUpDomId(r.id),width:r.type==="group"?500:void 0,type:r.type,dir:r.dir,props:r.props,padding:C().flowchart.padding})})},z=function(t,s,m){h.info("abc78 edges = ",t);let n=0,d={},f,b;if(t.defaultStyle!==void 0){const o=N(t.defaultStyle);f=o.style,b=o.labelStyle}t.forEach(function(o){n++;var i="L-"+o.start+"-"+o.end;d[i]===void 0?(d[i]=0,h.info("abc78 new entry",i,d[i])):(d[i]++,h.info("abc78 new entry",i,d[i]));let r=i+"-"+d[i];h.info("abc78 new link id to be used is",i,r,d[i]);var y="LS-"+o.start,w="LE-"+o.end;const e={style:"",labelStyle:""};switch(e.minlen=o.length||1,o.type==="arrow_open"?e.arrowhead="none":e.arrowhead="normal",e.arrowTypeStart="arrow_open",e.arrowTypeEnd="arrow_open",o.type){case"double_arrow_cross":e.arrowTypeStart="arrow_cross";case"arrow_cross":e.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":e.arrowTypeStart="arrow_point";case"arrow_point":e.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":e.arrowTypeStart="arrow_circle";case"arrow_circle":e.arrowTypeEnd="arrow_circle";break}let a="",c="";switch(o.stroke){case"normal":a="fill:none;",f!==void 0&&(a=f),b!==void 0&&(c=b),e.thickness="normal",e.pattern="solid";break;case"dotted":e.thickness="normal",e.pattern="dotted",e.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":e.thickness="thick",e.pattern="solid",e.style="stroke-width: 3.5px;fill:none;";break;case"invisible":e.thickness="invisible",e.pattern="solid",e.style="stroke-width: 0;fill:none;";break}if(o.style!==void 0){const l=N(o.style);a=l.style,c=l.labelStyle}e.style=e.style+=a,e.labelStyle=e.labelStyle+=c,o.interpolate!==void 0?e.curve=$(o.interpolate,E):t.defaultInterpolate!==void 0?e.curve=$(t.defaultInterpolate,E):e.curve=$(G.curve,E),o.text===void 0?o.style!==void 0&&(e.arrowheadStyle="fill: #333"):(e.arrowheadStyle="fill: #333",e.labelpos="c"),e.labelType="text",e.label=o.text.replace(D.lineBreakRegex,`
import{G as V}from"./layout-255ec1ae.js";import{p as N,q,c as C,k as D,l as h,r as $,o as E,h as T,y as P,t as F}from"./mermaid.core-6fe6d9fd.js";import{b as M,f as R}from"./add-html-label-c976f319.js";import{r as U}from"./index-f9d09cc9-242e2018.js";import{s as H}from"./selectAll-f704d0a7.js";const G={},W=function(t){const s=Object.keys(t);for(const m of s)G[m]=t[m]},I=function(t,s,m,n,d,f){const b=n.select(`[id="${m}"]`);Object.keys(t).forEach(function(i){const r=t[i];let y="default";r.classes.length>0&&(y=r.classes.join(" "));const w=N(r.styles);let e=r.text!==void 0?r.text:r.id,a;if(q(C().flowchart.htmlLabels)){const x={label:e.replace(/fa[blrs]?:fa-[\w-]+/g,k=>`<i class='${k.replace(":"," ")}'></i>`)};a=M(b,x).node(),a.parentNode.removeChild(a)}else{const x=d.createElementNS("http://www.w3.org/2000/svg","text");x.setAttribute("style",w.labelStyle.replace("color:","fill:"));const k=e.split(D.lineBreakRegex);for(const _ of k){const v=d.createElementNS("http://www.w3.org/2000/svg","tspan");v.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),v.setAttribute("dy","1em"),v.setAttribute("x","1"),v.textContent=_,x.appendChild(v)}a=x}let c=0,l="";switch(r.type){case"round":c=5,l="rect";break;case"square":l="rect";break;case"diamond":l="question";break;case"hexagon":l="hexagon";break;case"odd":l="rect_left_inv_arrow";break;case"lean_right":l="lean_right";break;case"lean_left":l="lean_left";break;case"trapezoid":l="trapezoid";break;case"inv_trapezoid":l="inv_trapezoid";break;case"odd_right":l="rect_left_inv_arrow";break;case"circle":l="circle";break;case"ellipse":l="ellipse";break;case"stadium":l="stadium";break;case"subroutine":l="subroutine";break;case"cylinder":l="cylinder";break;case"group":l="rect";break;case"doublecircle":l="doublecircle";break;default:l="rect"}s.setNode(r.id,{labelStyle:w.labelStyle,shape:l,labelText:e,rx:c,ry:c,class:y,style:w.style,id:r.id,link:r.link,linkTarget:r.linkTarget,tooltip:f.db.getTooltip(r.id)||"",domId:f.db.lookUpDomId(r.id),haveCallback:r.haveCallback,width:r.type==="group"?500:void 0,dir:r.dir,type:r.type,props:r.props,padding:C().flowchart.padding}),h.info("setNode",{labelStyle:w.labelStyle,shape:l,labelText:e,rx:c,ry:c,class:y,style:w.style,id:r.id,domId:f.db.lookUpDomId(r.id),width:r.type==="group"?500:void 0,type:r.type,dir:r.dir,props:r.props,padding:C().flowchart.padding})})},z=function(t,s,m){h.info("abc78 edges = ",t);let n=0,d={},f,b;if(t.defaultStyle!==void 0){const o=N(t.defaultStyle);f=o.style,b=o.labelStyle}t.forEach(function(o){n++;var i="L-"+o.start+"-"+o.end;d[i]===void 0?(d[i]=0,h.info("abc78 new entry",i,d[i])):(d[i]++,h.info("abc78 new entry",i,d[i]));let r=i+"-"+d[i];h.info("abc78 new link id to be used is",i,r,d[i]);var y="LS-"+o.start,w="LE-"+o.end;const e={style:"",labelStyle:""};switch(e.minlen=o.length||1,o.type==="arrow_open"?e.arrowhead="none":e.arrowhead="normal",e.arrowTypeStart="arrow_open",e.arrowTypeEnd="arrow_open",o.type){case"double_arrow_cross":e.arrowTypeStart="arrow_cross";case"arrow_cross":e.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":e.arrowTypeStart="arrow_point";case"arrow_point":e.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":e.arrowTypeStart="arrow_circle";case"arrow_circle":e.arrowTypeEnd="arrow_circle";break}let a="",c="";switch(o.stroke){case"normal":a="fill:none;",f!==void 0&&(a=f),b!==void 0&&(c=b),e.thickness="normal",e.pattern="solid";break;case"dotted":e.thickness="normal",e.pattern="dotted",e.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":e.thickness="thick",e.pattern="solid",e.style="stroke-width: 3.5px;fill:none;";break;case"invisible":e.thickness="invisible",e.pattern="solid",e.style="stroke-width: 0;fill:none;";break}if(o.style!==void 0){const l=N(o.style);a=l.style,c=l.labelStyle}e.style=e.style+=a,e.labelStyle=e.labelStyle+=c,o.interpolate!==void 0?e.curve=$(o.interpolate,E):t.defaultInterpolate!==void 0?e.curve=$(t.defaultInterpolate,E):e.curve=$(G.curve,E),o.text===void 0?o.style!==void 0&&(e.arrowheadStyle="fill: #333"):(e.arrowheadStyle="fill: #333",e.labelpos="c"),e.labelType="text",e.label=o.text.replace(D.lineBreakRegex,`
`),o.style===void 0&&(e.style=e.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),e.labelStyle=e.labelStyle.replace("color:","fill:"),e.id=r,e.classes="flowchart-link "+y+" "+w,s.setEdge(o.start,o.end,e,n)})},X=function(t,s){h.info("Extracting classes"),s.db.clear();try{return s.parse(t),s.db.getClasses()}catch{return}},J=function(t,s,m,n){h.info("Drawing flowchart"),n.db.clear(),R.setGen("gen-2"),n.parser.parse(t);let d=n.db.getDirection();d===void 0&&(d="TD");const{securityLevel:f,flowchart:b}=C(),o=b.nodeSpacing||50,i=b.rankSpacing||50;let r;f==="sandbox"&&(r=T("#i"+s));const y=f==="sandbox"?T(r.nodes()[0].contentDocument.body):T("body"),w=f==="sandbox"?r.nodes()[0].contentDocument:document,e=new V({multigraph:!0,compound:!0}).setGraph({rankdir:d,nodesep:o,ranksep:i,marginx:0,marginy:0}).setDefaultEdgeLabel(function(){return{}});let a;const c=n.db.getSubGraphs();h.info("Subgraphs - ",c);for(let p=c.length-1;p>=0;p--)a=c[p],h.info("Subgraph - ",a),n.db.addVertex(a.id,a.title,"group",void 0,a.classes,a.dir);const l=n.db.getVertices(),x=n.db.getEdges();h.info("Edges",x);let k=0;for(k=c.length-1;k>=0;k--){a=c[k],H("cluster").append("text");for(let p=0;p<a.nodes.length;p++)h.info("Setting up subgraphs",a.nodes[p],a.id),e.setParent(a.nodes[p],a.id)}I(l,e,s,y,w,n),z(x,e);const _=y.select(`[id="${s}"]`),v=y.select("#"+s+" g");if(U(v,e,["point","circle","cross"],"flowchart",s),P.insertTitle(_,"flowchartTitleText",b.titleTopMargin,n.db.getDiagramTitle()),F(e,_,b.diagramPadding,b.useMaxWidth),n.db.indexNodes("subGraph"+k),!b.htmlLabels){const p=w.querySelectorAll('[id="'+s+'"] .edgeLabel .label');for(const g of p){const S=g.getBBox(),u=w.createElementNS("http://www.w3.org/2000/svg","rect");u.setAttribute("rx",0),u.setAttribute("ry",0),u.setAttribute("width",S.width),u.setAttribute("height",S.height),g.insertBefore(u,g.firstChild)}}Object.keys(l).forEach(function(p){const g=l[p];if(g.link){const S=T("#"+s+' [id="'+p+'"]');if(S){const u=w.createElementNS("http://www.w3.org/2000/svg","a");u.setAttributeNS("http://www.w3.org/2000/svg","class",g.classes.join(" ")),u.setAttributeNS("http://www.w3.org/2000/svg","href",g.link),u.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),f==="sandbox"?u.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):g.linkTarget&&u.setAttributeNS("http://www.w3.org/2000/svg","target",g.linkTarget);const L=S.insert(function(){return u},":first-child"),A=S.select(".label-container");A&&L.append(function(){return A.node()});const B=S.select(".label");B&&L.append(function(){return B.node()})}}})},te={setConf:W,addVertices:I,addEdges:z,getClasses:X,draw:J},K=t=>`.label {
font-family: ${t.fontFamily};
color: ${t.nodeTextColor||t.textColor};

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +1,2 @@
import{a1 as C,y as E,l as b,a3 as w}from"./mermaid.core-e60c99fd.js";import{l as k}from"./isPlainObject-e3a1bbd6.js";let S=0;const O=function(i,e,t,n,r){const a=function(o){switch(o){case r.db.relationType.AGGREGATION:return"aggregation";case r.db.relationType.EXTENSION:return"extension";case r.db.relationType.COMPOSITION:return"composition";case r.db.relationType.DEPENDENCY:return"dependency";case r.db.relationType.LOLLIPOP:return"lollipop"}};e.points=e.points.filter(o=>!Number.isNaN(o.y));const l=e.points,d=k().x(function(o){return o.x}).y(function(o){return o.y}).curve(C),s=i.append("path").attr("d",d(l)).attr("id","edge"+S).attr("class","relation");let g="";n.arrowMarkerAbsolute&&(g=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,g=g.replace(/\(/g,"\\("),g=g.replace(/\)/g,"\\)")),t.relation.lineType==1&&s.attr("class","relation dashed-line"),t.relation.lineType==10&&s.attr("class","relation dotted-line"),t.relation.type1!=="none"&&s.attr("marker-start","url("+g+"#"+a(t.relation.type1)+"Start)"),t.relation.type2!=="none"&&s.attr("marker-end","url("+g+"#"+a(t.relation.type2)+"End)");let f,c;const p=e.points.length;let v=E.calcLabelPosition(e.points);f=v.x,c=v.y;let x,B,N,m;if(p%2!==0&&p>1){let o=E.calcCardinalityPosition(t.relation.type1!=="none",e.points,e.points[0]),u=E.calcCardinalityPosition(t.relation.type2!=="none",e.points,e.points[p-1]);b.debug("cardinality_1_point "+JSON.stringify(o)),b.debug("cardinality_2_point "+JSON.stringify(u)),x=o.x,B=o.y,N=u.x,m=u.y}if(t.title!==void 0){const o=i.append("g").attr("class","classLabel"),u=o.append("text").attr("class","label").attr("x",f).attr("y",c).attr("fill","red").attr("text-anchor","middle").text(t.title);window.label=u;const h=u.node().getBBox();o.insert("rect",":first-child").attr("class","box").attr("x",h.x-n.padding/2).attr("y",h.y-n.padding/2).attr("width",h.width+n.padding).attr("height",h.height+n.padding)}b.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",x).attr("y",B).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",N).attr("y",m).attr("fill","black").attr("font-size","6").text(t.relationTitle2),S++},P=function(i,e,t,n){b.debug("Rendering class ",e,t);const r=e.id,a={id:r,label:e.id,width:0,height:0},l=i.append("g").attr("id",n.db.lookUpDomId(r)).attr("class","classGroup");let d;e.link?d=l.append("svg:a").attr("xlink:href",e.link).attr("target",e.linkTarget).append("text").attr("y",t.textHeight+t.padding).attr("x",0):d=l.append("text").attr("y",t.textHeight+t.padding).attr("x",0);let s=!0;e.annotations.forEach(function(y){const H=d.append("tspan").text("«"+y+"»");s||H.attr("dy",t.textHeight),s=!1});let g=e.id;e.type!==void 0&&e.type!==""&&(g+="<"+e.type+">");const f=d.append("tspan").text(g).attr("class","title");s||f.attr("dy",t.textHeight);const c=d.node().getBBox().height,p=l.append("line").attr("x1",0).attr("y1",t.padding+c+t.dividerMargin/2).attr("y2",t.padding+c+t.dividerMargin/2),v=l.append("text").attr("x",t.padding).attr("y",c+t.dividerMargin+t.textHeight).attr("fill","white").attr("class","classText");s=!0,e.members.forEach(function(y){_(v,y,s,t),s=!1});const x=v.node().getBBox(),B=l.append("line").attr("x1",0).attr("y1",t.padding+c+t.dividerMargin+x.height).attr("y2",t.padding+c+t.dividerMargin+x.height),N=l.append("text").attr("x",t.padding).attr("y",c+2*t.dividerMargin+x.height+t.textHeight).attr("fill","white").attr("class","classText");s=!0,e.methods.forEach(function(y){_(N,y,s,t),s=!1});const m=l.node().getBBox();var o=" ";e.cssClasses.length>0&&(o=o+e.cssClasses.join(" "));const h=l.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",m.width+2*t.padding).attr("height",m.height+t.padding+.5*t.dividerMargin).attr("class",o).node().getBBox().width;return d.node().childNodes.forEach(function(y){y.setAttribute("x",(h-y.getBBox().width)/2)}),e.tooltip&&d.insert("title").text(e.tooltip),p.attr("x2",h),B.attr("x2",h),a.width=h,a.height=m.height+t.padding+.5*t.dividerMargin,a},I=function(i,e,t,n){b.debug("Rendering note ",e,t);const r=e.id,a={id:r,text:e.text,width:0,height:0},l=i.append("g").attr("id",r).attr("class","classGroup");let d=l.append("text").attr("y",t.textHeight+t.padding).attr("x",0);const s=JSON.parse(`"${e.text}"`).split(`
import{a1 as C,y as E,l as b,a3 as w}from"./mermaid.core-6fe6d9fd.js";import{l as k}from"./isPlainObject-95205794.js";let S=0;const O=function(i,e,t,n,r){const a=function(o){switch(o){case r.db.relationType.AGGREGATION:return"aggregation";case r.db.relationType.EXTENSION:return"extension";case r.db.relationType.COMPOSITION:return"composition";case r.db.relationType.DEPENDENCY:return"dependency";case r.db.relationType.LOLLIPOP:return"lollipop"}};e.points=e.points.filter(o=>!Number.isNaN(o.y));const l=e.points,d=k().x(function(o){return o.x}).y(function(o){return o.y}).curve(C),s=i.append("path").attr("d",d(l)).attr("id","edge"+S).attr("class","relation");let g="";n.arrowMarkerAbsolute&&(g=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,g=g.replace(/\(/g,"\\("),g=g.replace(/\)/g,"\\)")),t.relation.lineType==1&&s.attr("class","relation dashed-line"),t.relation.lineType==10&&s.attr("class","relation dotted-line"),t.relation.type1!=="none"&&s.attr("marker-start","url("+g+"#"+a(t.relation.type1)+"Start)"),t.relation.type2!=="none"&&s.attr("marker-end","url("+g+"#"+a(t.relation.type2)+"End)");let f,c;const p=e.points.length;let v=E.calcLabelPosition(e.points);f=v.x,c=v.y;let x,B,N,m;if(p%2!==0&&p>1){let o=E.calcCardinalityPosition(t.relation.type1!=="none",e.points,e.points[0]),u=E.calcCardinalityPosition(t.relation.type2!=="none",e.points,e.points[p-1]);b.debug("cardinality_1_point "+JSON.stringify(o)),b.debug("cardinality_2_point "+JSON.stringify(u)),x=o.x,B=o.y,N=u.x,m=u.y}if(t.title!==void 0){const o=i.append("g").attr("class","classLabel"),u=o.append("text").attr("class","label").attr("x",f).attr("y",c).attr("fill","red").attr("text-anchor","middle").text(t.title);window.label=u;const h=u.node().getBBox();o.insert("rect",":first-child").attr("class","box").attr("x",h.x-n.padding/2).attr("y",h.y-n.padding/2).attr("width",h.width+n.padding).attr("height",h.height+n.padding)}b.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",x).attr("y",B).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",N).attr("y",m).attr("fill","black").attr("font-size","6").text(t.relationTitle2),S++},P=function(i,e,t,n){b.debug("Rendering class ",e,t);const r=e.id,a={id:r,label:e.id,width:0,height:0},l=i.append("g").attr("id",n.db.lookUpDomId(r)).attr("class","classGroup");let d;e.link?d=l.append("svg:a").attr("xlink:href",e.link).attr("target",e.linkTarget).append("text").attr("y",t.textHeight+t.padding).attr("x",0):d=l.append("text").attr("y",t.textHeight+t.padding).attr("x",0);let s=!0;e.annotations.forEach(function(y){const H=d.append("tspan").text("«"+y+"»");s||H.attr("dy",t.textHeight),s=!1});let g=e.id;e.type!==void 0&&e.type!==""&&(g+="<"+e.type+">");const f=d.append("tspan").text(g).attr("class","title");s||f.attr("dy",t.textHeight);const c=d.node().getBBox().height,p=l.append("line").attr("x1",0).attr("y1",t.padding+c+t.dividerMargin/2).attr("y2",t.padding+c+t.dividerMargin/2),v=l.append("text").attr("x",t.padding).attr("y",c+t.dividerMargin+t.textHeight).attr("fill","white").attr("class","classText");s=!0,e.members.forEach(function(y){_(v,y,s,t),s=!1});const x=v.node().getBBox(),B=l.append("line").attr("x1",0).attr("y1",t.padding+c+t.dividerMargin+x.height).attr("y2",t.padding+c+t.dividerMargin+x.height),N=l.append("text").attr("x",t.padding).attr("y",c+2*t.dividerMargin+x.height+t.textHeight).attr("fill","white").attr("class","classText");s=!0,e.methods.forEach(function(y){_(N,y,s,t),s=!1});const m=l.node().getBBox();var o=" ";e.cssClasses.length>0&&(o=o+e.cssClasses.join(" "));const h=l.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",m.width+2*t.padding).attr("height",m.height+t.padding+.5*t.dividerMargin).attr("class",o).node().getBBox().width;return d.node().childNodes.forEach(function(y){y.setAttribute("x",(h-y.getBBox().width)/2)}),e.tooltip&&d.insert("title").text(e.tooltip),p.attr("x2",h),B.attr("x2",h),a.width=h,a.height=m.height+t.padding+.5*t.dividerMargin,a},I=function(i,e,t,n){b.debug("Rendering note ",e,t);const r=e.id,a={id:r,text:e.text,width:0,height:0},l=i.append("g").attr("id",r).attr("class","classGroup");let d=l.append("text").attr("y",t.textHeight+t.padding).attr("x",0);const s=JSON.parse(`"${e.text}"`).split(`
`);s.forEach(function(p){b.debug(`Adding line: ${p}`),d.append("tspan").text(p).attr("class","title").attr("dy",t.textHeight)});const g=l.node().getBBox(),c=l.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",g.width+2*t.padding).attr("height",g.height+s.length*t.textHeight+t.padding+.5*t.dividerMargin).node().getBBox().width;return d.node().childNodes.forEach(function(p){p.setAttribute("x",(c-p.getBBox().width)/2)}),a.width=c,a.height=g.height+s.length*t.textHeight+t.padding+.5*t.dividerMargin,a},T=function(i){const e=/^([#+~-])?(\w+)(~\w+~|\[])?\s+(\w+) *([$*])?$/,t=/^([#+|~-])?(\w+) *\( *(.*)\) *([$*])? *(\w*[[\]|~]*\s*\w*~?)$/;let n=i.match(e),r=i.match(t);return n&&!r?L(n):r?R(r):$(i)},L=function(i){let e="",t="";try{let n=i[1]?i[1].trim():"",r=i[2]?i[2].trim():"",a=i[3]?w(i[3].trim()):"",l=i[4]?i[4].trim():"",d=i[5]?i[5].trim():"";t=n+r+a+" "+l,e=M(d)}catch{t=i}return{displayText:t,cssStyle:e}},R=function(i){let e="",t="";try{let n=i[1]?i[1].trim():"",r=i[2]?i[2].trim():"",a=i[3]?w(i[3].trim()):"",l=i[4]?i[4].trim():"",d=i[5]?" : "+w(i[5]).trim():"";t=n+r+"("+a+")"+d,e=M(l)}catch{t=i}return{displayText:t,cssStyle:e}},$=function(i){let e="",t="",n="",r=i.indexOf("("),a=i.indexOf(")");if(r>1&&a>r&&a<=i.length){let l="",d="",s=i.substring(0,1);s.match(/\w/)?d=i.substring(0,r).trim():(s.match(/[#+~-]/)&&(l=s),d=i.substring(1,r).trim());const g=i.substring(r+1,a);i.substring(a+1,1),t=M(i.substring(a+1,a+2)),e=l+d+"("+w(g.trim())+")",a<i.length&&(n=i.substring(a+2).trim(),n!==""&&(n=" : "+w(n),e+=n))}else e=w(i);return{displayText:e,cssStyle:t}},_=function(i,e,t,n){let r=T(e);const a=i.append("tspan").attr("x",n.padding).text(r.displayText);r.cssStyle!==""&&a.attr("style",r.cssStyle),t||a.attr("dy",n.textHeight)},M=function(i){switch(i){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}},J={drawClass:P,drawEdge:O,drawNote:I,parseMember:T};export{T as p,J as s};

View File

@@ -1,4 +1,4 @@
import{aE as bt,aF as vt,z as kt,c as wt,l as I,h as U,t as St,aG as Et,aH as Tt}from"./mermaid.core-e60c99fd.js";import{i as It}from"./is_dark-568fd3fd.js";import{a as it}from"./arc-0e14e3c0.js";import"./app-e6a7bfc3.js";import"./framework-caa722f8.js";import"./path-53f90ab3.js";var Y=function(){var n=function(b,r,a,h){for(a=a||{},h=b.length;h--;a[b[h]]=r);return a},t=[1,2],e=[1,5],s=[6,9,11,17,18,20,22,23,26,27,28],i=[1,15],o=[1,16],l=[1,17],g=[1,18],d=[1,19],y=[1,23],x=[1,24],w=[1,27],v=[4,6,9,11,17,18,20,22,23,26,27,28],_={trace:function(){},yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,period_statement:24,event_statement:25,period:26,event:27,open_directive:28,type_directive:29,arg_directive:30,close_directive:31,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",26:"period",27:"event",28:"open_directive",29:"type_directive",30:"arg_directive",31:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[24,1],[25,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(r,a,h,u,f,c,T){var m=c.length-1;switch(f){case 1:return c[m-1];case 3:this.$=[];break;case 4:c[m-1].push(c[m]),this.$=c[m-1];break;case 5:case 6:this.$=c[m];break;case 7:case 8:this.$=[];break;case 11:u.getCommonDb().setDiagramTitle(c[m].substr(6)),this.$=c[m].substr(6);break;case 12:this.$=c[m].trim(),u.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=c[m].trim(),u.getCommonDb().setAccDescription(this.$);break;case 15:u.addSection(c[m].substr(8)),this.$=c[m].substr(8);break;case 19:u.addTask(c[m],0,""),this.$=c[m];break;case 20:u.addEvent(c[m].substr(2)),this.$=c[m];break;case 21:u.parseDirective("%%{","open_directive");break;case 22:u.parseDirective(c[m],"type_directive");break;case 23:c[m]=c[m].trim().replace(/'/g,'"'),u.parseDirective(c[m],"arg_directive");break;case 24:u.parseDirective("}%%","close_directive","timeline");break}},table:[{3:1,4:t,7:3,12:4,28:e},{1:[3]},n(s,[2,3],{5:6}),{3:7,4:t,7:3,12:4,28:e},{13:8,29:[1,9]},{29:[2,21]},{6:[1,10],7:22,8:11,9:[1,12],10:13,11:[1,14],12:4,17:i,18:o,20:l,22:g,23:d,24:20,25:21,26:y,27:x,28:e},{1:[2,2]},{14:25,15:[1,26],31:w},n([15,31],[2,22]),n(s,[2,8],{1:[2,1]}),n(s,[2,4]),{7:22,10:28,12:4,17:i,18:o,20:l,22:g,23:d,24:20,25:21,26:y,27:x,28:e},n(s,[2,6]),n(s,[2,7]),n(s,[2,11]),{19:[1,29]},{21:[1,30]},n(s,[2,14]),n(s,[2,15]),n(s,[2,16]),n(s,[2,17]),n(s,[2,18]),n(s,[2,19]),n(s,[2,20]),{11:[1,31]},{16:32,30:[1,33]},{11:[2,24]},n(s,[2,5]),n(s,[2,12]),n(s,[2,13]),n(v,[2,9]),{14:34,31:w},{31:[2,23]},{11:[1,35]},n(v,[2,10])],defaultActions:{5:[2,21],7:[2,2],27:[2,24],33:[2,23]},parseError:function(r,a){if(a.recoverable)this.trace(r);else{var h=new Error(r);throw h.hash=a,h}},parse:function(r){var a=this,h=[0],u=[],f=[null],c=[],T=this.table,m="",M=0,z=0,j=2,K=1,P=c.slice.call(arguments,1),p=Object.create(this.lexer),E={yy:{}};for(var L in this.yy)Object.prototype.hasOwnProperty.call(this.yy,L)&&(E.yy[L]=this.yy[L]);p.setInput(r,E.yy),E.yy.lexer=p,E.yy.parser=this,typeof p.yylloc>"u"&&(p.yylloc={});var C=p.yylloc;c.push(C);var V=p.options&&p.options.ranges;typeof E.yy.parseError=="function"?this.parseError=E.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function et(){var H;return H=u.pop()||p.lex()||K,typeof H!="number"&&(H instanceof Array&&(u=H,H=u.pop()),H=a.symbols_[H]||H),H}for(var k,R,N,Q,W={},G,A,nt,q;;){if(R=h[h.length-1],this.defaultActions[R]?N=this.defaultActions[R]:((k===null||typeof k>"u")&&(k=et()),N=T[R]&&T[R][k]),typeof N>"u"||!N.length||!N[0]){var X="";q=[];for(G in T[R])this.terminals_[G]&&G>j&&q.push("'"+this.terminals_[G]+"'");p.showPosition?X="Parse error on line "+(M+1)+`:
import{aE as bt,aF as vt,z as kt,c as wt,l as I,h as U,t as St,aG as Et,aH as Tt}from"./mermaid.core-6fe6d9fd.js";import{i as It}from"./is_dark-7f302423.js";import{a as it}from"./arc-6b94bf6b.js";import"./app-a76f25ac.js";import"./framework-caa722f8.js";import"./path-53f90ab3.js";var Y=function(){var n=function(b,r,a,h){for(a=a||{},h=b.length;h--;a[b[h]]=r);return a},t=[1,2],e=[1,5],s=[6,9,11,17,18,20,22,23,26,27,28],i=[1,15],o=[1,16],l=[1,17],g=[1,18],d=[1,19],y=[1,23],x=[1,24],w=[1,27],v=[4,6,9,11,17,18,20,22,23,26,27,28],_={trace:function(){},yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,period_statement:24,event_statement:25,period:26,event:27,open_directive:28,type_directive:29,arg_directive:30,close_directive:31,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",26:"period",27:"event",28:"open_directive",29:"type_directive",30:"arg_directive",31:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[24,1],[25,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(r,a,h,u,f,c,T){var m=c.length-1;switch(f){case 1:return c[m-1];case 3:this.$=[];break;case 4:c[m-1].push(c[m]),this.$=c[m-1];break;case 5:case 6:this.$=c[m];break;case 7:case 8:this.$=[];break;case 11:u.getCommonDb().setDiagramTitle(c[m].substr(6)),this.$=c[m].substr(6);break;case 12:this.$=c[m].trim(),u.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=c[m].trim(),u.getCommonDb().setAccDescription(this.$);break;case 15:u.addSection(c[m].substr(8)),this.$=c[m].substr(8);break;case 19:u.addTask(c[m],0,""),this.$=c[m];break;case 20:u.addEvent(c[m].substr(2)),this.$=c[m];break;case 21:u.parseDirective("%%{","open_directive");break;case 22:u.parseDirective(c[m],"type_directive");break;case 23:c[m]=c[m].trim().replace(/'/g,'"'),u.parseDirective(c[m],"arg_directive");break;case 24:u.parseDirective("}%%","close_directive","timeline");break}},table:[{3:1,4:t,7:3,12:4,28:e},{1:[3]},n(s,[2,3],{5:6}),{3:7,4:t,7:3,12:4,28:e},{13:8,29:[1,9]},{29:[2,21]},{6:[1,10],7:22,8:11,9:[1,12],10:13,11:[1,14],12:4,17:i,18:o,20:l,22:g,23:d,24:20,25:21,26:y,27:x,28:e},{1:[2,2]},{14:25,15:[1,26],31:w},n([15,31],[2,22]),n(s,[2,8],{1:[2,1]}),n(s,[2,4]),{7:22,10:28,12:4,17:i,18:o,20:l,22:g,23:d,24:20,25:21,26:y,27:x,28:e},n(s,[2,6]),n(s,[2,7]),n(s,[2,11]),{19:[1,29]},{21:[1,30]},n(s,[2,14]),n(s,[2,15]),n(s,[2,16]),n(s,[2,17]),n(s,[2,18]),n(s,[2,19]),n(s,[2,20]),{11:[1,31]},{16:32,30:[1,33]},{11:[2,24]},n(s,[2,5]),n(s,[2,12]),n(s,[2,13]),n(v,[2,9]),{14:34,31:w},{31:[2,23]},{11:[1,35]},n(v,[2,10])],defaultActions:{5:[2,21],7:[2,2],27:[2,24],33:[2,23]},parseError:function(r,a){if(a.recoverable)this.trace(r);else{var h=new Error(r);throw h.hash=a,h}},parse:function(r){var a=this,h=[0],u=[],f=[null],c=[],T=this.table,m="",M=0,z=0,j=2,K=1,P=c.slice.call(arguments,1),p=Object.create(this.lexer),E={yy:{}};for(var L in this.yy)Object.prototype.hasOwnProperty.call(this.yy,L)&&(E.yy[L]=this.yy[L]);p.setInput(r,E.yy),E.yy.lexer=p,E.yy.parser=this,typeof p.yylloc>"u"&&(p.yylloc={});var C=p.yylloc;c.push(C);var V=p.options&&p.options.ranges;typeof E.yy.parseError=="function"?this.parseError=E.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function et(){var H;return H=u.pop()||p.lex()||K,typeof H!="number"&&(H instanceof Array&&(u=H,H=u.pop()),H=a.symbols_[H]||H),H}for(var k,R,N,Q,W={},G,A,nt,q;;){if(R=h[h.length-1],this.defaultActions[R]?N=this.defaultActions[R]:((k===null||typeof k>"u")&&(k=et()),N=T[R]&&T[R][k]),typeof N>"u"||!N.length||!N[0]){var X="";q=[];for(G in T[R])this.terminals_[G]&&G>j&&q.push("'"+this.terminals_[G]+"'");p.showPosition?X="Parse error on line "+(M+1)+`:
`+p.showPosition()+`
Expecting `+q.join(", ")+", got '"+(this.terminals_[k]||k)+"'":X="Parse error on line "+(M+1)+": Unexpected "+(k==K?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(X,{text:p.match,token:this.terminals_[k]||k,line:p.yylineno,loc:C,expected:q})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+R+", token: "+k);switch(N[0]){case 1:h.push(k),f.push(p.yytext),c.push(p.yylloc),h.push(N[1]),k=null,z=p.yyleng,m=p.yytext,M=p.yylineno,C=p.yylloc;break;case 2:if(A=this.productions_[N[1]][1],W.$=f[f.length-A],W._$={first_line:c[c.length-(A||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(A||1)].first_column,last_column:c[c.length-1].last_column},V&&(W._$.range=[c[c.length-(A||1)].range[0],c[c.length-1].range[1]]),Q=this.performAction.apply(W,[m,z,M,E.yy,N[1],f,c].concat(P)),typeof Q<"u")return Q;A&&(h=h.slice(0,-1*A*2),f=f.slice(0,-1*A),c=c.slice(0,-1*A)),h.push(this.productions_[N[1]][0]),f.push(W.$),c.push(W._$),nt=T[h[h.length-2]][h[h.length-1]],h.push(nt);break;case 3:return!0}}return!0}},S=function(){var b={EOF:1,parseError:function(a,h){if(this.yy.parser)this.yy.parser.parseError(a,h);else throw new Error(a)},setInput: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},input: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},unput:function(r){var a=r.length,h=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 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),h.length-1&&(this.yylineno-=h.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:h?(h.length===u.length?this.yylloc.first_column:0)+u[u.length-h.length].length-h[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},more:function(){return this._more=!0,this},reject: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},less:function(r){this.unput(this.match.slice(r))},pastInput:function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},upcomingInput: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,"")},showPosition:function(){var r=this.pastInput(),a=new Array(r.length+1).join("-");return r+this.upcomingInput()+`

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -6,8 +6,8 @@
<link>https://hut.ao/en/</link>
<description>Super utilitarian Genshin Impact Tool</description>
<language>en-US</language>
<pubDate>Mon, 03 Apr 2023 02:55:34 GMT</pubDate>
<lastBuildDate>Mon, 03 Apr 2023 02:55:34 GMT</lastBuildDate>
<pubDate>Mon, 03 Apr 2023 03:09:50 GMT</pubDate>
<lastBuildDate>Mon, 03 Apr 2023 03:09:50 GMT</lastBuildDate>
<generator>vuepress-plugin-feed2</generator>
<docs>https://validator.w3.org/feed/docs/rss2.html</docs>
<category>功能</category>
@@ -807,12 +807,23 @@
<link>https://hut.ao/en/community.html</link>
<guid>https://hut.ao/en/community.html</guid>
<source url="https://hut.ao/en/rss.xml">Join Community</source>
<description>As open-source software, community power is an important part of the ecology of Snap Hutao, and you can join our user community by following ways. include(star-request.md) GitHu...</description>
<description>As open-source software, community power is an important part of the ecology of Snap Hutao, and you can join our user community by following ways. GitHub Discussion Snap.Hutao D...</description>
<category>Announcement</category>
<pubDate>Sat, 18 Mar 2023 03:05:17 GMT</pubDate>
<content:encoded><![CDATA[<h1> Join Community</h1>
<p>As open-source software, community power is an important part of the ecology of Snap Hutao, and you can join our user community by following ways.</p>
<p>@include(<a href="http://star-request.md" target="_blank" rel="noopener noreferrer">star-request.md</a>)</p>
<p><strong>If you believe Snap Hutao is a good project and helps you, you can support us by the following ways</strong></p>
<ul>
<li>Star our project on GitHub ⭐
<ul>
<li><a href="https://github.com/DGP-Studio/Snap.Hutao" target="_blank" rel="noopener noreferrer">Snap.Hutao</a> <img src="https://img.shields.io/github/stars/DGP-Studio/Snap.Hutao?style=plastic&amp;color=red" alt="hutao.stars" loading="lazy"></li>
<li><a href="https://github.com/DGP-Studio/Snap.Hutao.Docs" target="_blank" rel="noopener noreferrer">Snap.Hutao.Docs</a> <img src="https://img.shields.io/github/stars/DGP-Studio/Snap.Hutao.Docs?style=plastic&amp;color=red" alt="hutao.docs.stars" loading="lazy"></li>
</ul>
</li>
<li>Rate our App on <a href="ms-windows-store://review/?ProductId=9PH4NXJ2JN52">Microsoft Store</a></li>
<li>Promote our project in your network</li>
</ul>
<p><img src="https://img.shields.io/github/commit-activity/y/DGP-Studio/Snap.Hutao?style=for-the-badge" alt="commit_activity" loading="lazy"> <img src="https://img.shields.io/github/last-commit/DGP-Studio/Snap.Hutao?label=Hutao Last Commit&amp;style=for-the-badge" alt="hutao-last-commit" loading="lazy"></p>
<h2> GitHub Discussion</h2>
<p><a href="https://github.com/DGP-Studio/Snap.Hutao/discussions" target="_blank" rel="noopener noreferrer">Snap.Hutao Discussion</a></p>
<h2> QQ Group (CN)</h2>
@@ -1852,7 +1863,7 @@ If there is any conflict between the content of the document on this page and th
<link>https://hut.ao/en/quick-start.html</link>
<guid>https://hut.ao/en/quick-start.html</guid>
<source url="https://hut.ao/en/rss.xml">Quick Start</source>
<description>If you download and use Snap Hutaoyou are agree to our terms of service (statements/tos.md) ::: include(star-request.md) Video Tutorial For most people, follow the instruction ...</description>
<description>If you download and use Snap Hutaoyou are agree to our terms of service (statements/tos.md) ::: Video Tutorial For most people, follow the instruction on this page is more effi...</description>
<category>Feature</category>
<category>Tutorial</category>
<pubDate>Wed, 28 Sep 2022 01:46:44 GMT</pubDate>
@@ -1861,7 +1872,18 @@ If there is any conflict between the content of the document on this page and th
<p class="hint-container-title">Tips</p>
<p>If you download and use <strong>Snap Hutao</strong>you are agree to our<a href="/en/statements/tos.html" target="blank"> terms of service</a></p>
</div>
<p>@include(<a href="http://star-request.md" target="_blank" rel="noopener noreferrer">star-request.md</a>)</p>
<p><strong>If you believe Snap Hutao is a good project and helps you, you can support us by the following ways</strong></p>
<ul>
<li>Star our project on GitHub ⭐
<ul>
<li><a href="https://github.com/DGP-Studio/Snap.Hutao" target="_blank" rel="noopener noreferrer">Snap.Hutao</a> <img src="https://img.shields.io/github/stars/DGP-Studio/Snap.Hutao?style=plastic&amp;color=red" alt="hutao.stars" loading="lazy"></li>
<li><a href="https://github.com/DGP-Studio/Snap.Hutao.Docs" target="_blank" rel="noopener noreferrer">Snap.Hutao.Docs</a> <img src="https://img.shields.io/github/stars/DGP-Studio/Snap.Hutao.Docs?style=plastic&amp;color=red" alt="hutao.docs.stars" loading="lazy"></li>
</ul>
</li>
<li>Rate our App on <a href="ms-windows-store://review/?ProductId=9PH4NXJ2JN52">Microsoft Store</a></li>
<li>Promote our project in your network</li>
</ul>
<p><img src="https://img.shields.io/github/commit-activity/y/DGP-Studio/Snap.Hutao?style=for-the-badge" alt="commit_activity" loading="lazy"> <img src="https://img.shields.io/github/last-commit/DGP-Studio/Snap.Hutao?label=Hutao Last Commit&amp;style=for-the-badge" alt="hutao-last-commit" loading="lazy"></p>
<h2> Video Tutorial</h2>
<p>For most people, follow the instruction on this page is more effiency.</p>
<p>However, if you are not familiar with the operation mentioned below, you can come back the follow the video tutorial.</p>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -6,8 +6,8 @@
<link>https://hut.ao/</link>
<description></description>
<language>en-US</language>
<pubDate>Mon, 03 Apr 2023 02:55:34 GMT</pubDate>
<lastBuildDate>Mon, 03 Apr 2023 02:55:34 GMT</lastBuildDate>
<pubDate>Mon, 03 Apr 2023 03:09:50 GMT</pubDate>
<lastBuildDate>Mon, 03 Apr 2023 03:09:50 GMT</lastBuildDate>
<generator>vuepress-plugin-feed2</generator>
<docs>https://validator.w3.org/feed/docs/rss2.html</docs>
</channel>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More