@seele00/seele 0.1.72 → 0.1.74

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/libexec/seele-server +0 -0
  2. package/libexec/seele-worker +0 -0
  3. package/package.json +1 -1
  4. package/web/dist/assets/{abnfDiagram-VRR7QNED-DIikaSFi.js → abnfDiagram-VRR7QNED-By64HgKR.js} +1 -1
  5. package/web/dist/assets/{arc-C1ee043_.js → arc-C-5nxPcO.js} +1 -1
  6. package/web/dist/assets/{architectureDiagram-ZJ3FMSHR-DfJ3Oo74.js → architectureDiagram-ZJ3FMSHR-CnofuE_0.js} +1 -1
  7. package/web/dist/assets/{blockDiagram-677ZJIJ3-BGfg5CvQ.js → blockDiagram-677ZJIJ3-2i3q3ITE.js} +1 -1
  8. package/web/dist/assets/{c4Diagram-LMCZKHZV-CKt6qNj7.js → c4Diagram-LMCZKHZV-HmjQt_4x.js} +1 -1
  9. package/web/dist/assets/channel-BgeoP7aI.js +1 -0
  10. package/web/dist/assets/{chunk-2Q5K7J3B-TVc4OHAS.js → chunk-2Q5K7J3B-BqT8Ndzv.js} +1 -1
  11. package/web/dist/assets/{chunk-32BRIVSS-DEUqS-oo.js → chunk-32BRIVSS-B8nA1Q9J.js} +1 -1
  12. package/web/dist/assets/{chunk-5VM5RSS4-d92ISjY7.js → chunk-5VM5RSS4-D8BpTyGC.js} +1 -1
  13. package/web/dist/assets/{chunk-EX3LRPZG-DerTz9Al.js → chunk-EX3LRPZG-C6I3Aaa3.js} +1 -1
  14. package/web/dist/assets/{chunk-JWPE2WC7-Du5mZSsE.js → chunk-JWPE2WC7-BKicScuC.js} +1 -1
  15. package/web/dist/assets/{chunk-MOJQB5TN-BUQojMPT.js → chunk-MOJQB5TN-DS8QfSx0.js} +1 -1
  16. package/web/dist/assets/{chunk-RYQCIY6F-BhSzBeru.js → chunk-RYQCIY6F-DVE5ptfg.js} +1 -1
  17. package/web/dist/assets/{chunk-V7JOEXUC-BRXJK_DZ.js → chunk-V7JOEXUC-CMvSXOtu.js} +1 -1
  18. package/web/dist/assets/{chunk-VR4S4FIN-DBgw0uj8.js → chunk-VR4S4FIN-DGjZVa5b.js} +1 -1
  19. package/web/dist/assets/{chunk-XXDRQBXY-DoZRNYks.js → chunk-XXDRQBXY-DPK7TLda.js} +1 -1
  20. package/web/dist/assets/classDiagram-OUVF2IWQ-CYnidtfh.js +1 -0
  21. package/web/dist/assets/classDiagram-v2-EOCWNBFH-CYnidtfh.js +1 -0
  22. package/web/dist/assets/{core-BKJSmTL6.js → core-Cq8V64v6.js} +1 -1
  23. package/web/dist/assets/{cose-bilkent-JH36ORCC-C9HkVv3l.js → cose-bilkent-JH36ORCC-CQSTWUYB.js} +1 -1
  24. package/web/dist/assets/{cynefin-VYW2F7L2-D6RD8QH1.js → cynefin-VYW2F7L2-l1wk0N9v.js} +1 -1
  25. package/web/dist/assets/{cynefinDiagram-TSTJHNR4-DrAQLjYQ.js → cynefinDiagram-TSTJHNR4-BLXuJucI.js} +1 -1
  26. package/web/dist/assets/{dagre-VKFMJZFB-DEpX395m.js → dagre-VKFMJZFB-CDUtPiuX.js} +1 -1
  27. package/web/dist/assets/{diagram-FQU43EPY-1eEfLk0N.js → diagram-FQU43EPY-C5IUbwZS.js} +1 -1
  28. package/web/dist/assets/{diagram-G47NLZAW-CN5LMdos.js → diagram-G47NLZAW-Di2U2sft.js} +1 -1
  29. package/web/dist/assets/{diagram-NH7WQ7WH-C_Njwf_5.js → diagram-NH7WQ7WH-B59OEXJN.js} +1 -1
  30. package/web/dist/assets/{diagram-OA4YK3LP-CeBOmno0.js → diagram-OA4YK3LP-uifmcay7.js} +1 -1
  31. package/web/dist/assets/{diagram-WEI45ONY-Cz4CIT4T.js → diagram-WEI45ONY-DRJqmbxi.js} +1 -1
  32. package/web/dist/assets/{ebnfDiagram-CCIWWBDH-CuJ0kXiO.js → ebnfDiagram-CCIWWBDH-BR2wytNO.js} +1 -1
  33. package/web/dist/assets/{erDiagram-Q63AITRT-t1XL1Eof.js → erDiagram-Q63AITRT-DrVjziFg.js} +1 -1
  34. package/web/dist/assets/{flowDiagram-23GEKE2U-BuLB9Cla.js → flowDiagram-23GEKE2U-CrtZi-Ei.js} +1 -1
  35. package/web/dist/assets/{ganttDiagram-NO4QXBWP-CpG3cdLe.js → ganttDiagram-NO4QXBWP-KkL9AdGC.js} +1 -1
  36. package/web/dist/assets/{gitGraphDiagram-IHSO6WYX-V8NfBhEO.js → gitGraphDiagram-IHSO6WYX-De7MMWEG.js} +1 -1
  37. package/web/dist/assets/index-6vz2Jn4s.css +1 -0
  38. package/web/dist/assets/{index-C0SYTtZs.js → index-BQ81G031.js} +43 -43
  39. package/web/dist/assets/{infoDiagram-FWYZ7A6U-0xKrZVaX.js → infoDiagram-FWYZ7A6U-CC5NGrkf.js} +1 -1
  40. package/web/dist/assets/{ishikawaDiagram-FXEZZL3T-CVqHK1aF.js → ishikawaDiagram-FXEZZL3T-BSZEvdr4.js} +1 -1
  41. package/web/dist/assets/{journeyDiagram-5HDEW3XC--Z9yzyxL.js → journeyDiagram-5HDEW3XC-rMDFtMX1.js} +1 -1
  42. package/web/dist/assets/{kanban-definition-HUTT4EX6-Cyv9KhHP.js → kanban-definition-HUTT4EX6-wJe2_gVj.js} +1 -1
  43. package/web/dist/assets/{linear-Cbi7m1t0.js → linear-Bd7cG6sp.js} +1 -1
  44. package/web/dist/assets/{mermaid.core-DsHa5ME6.js → mermaid.core-ykaexfdc.js} +4 -4
  45. package/web/dist/assets/{mindmap-definition-LN4V7U3C-Bct1zIMe.js → mindmap-definition-LN4V7U3C-B_gmbMaS.js} +1 -1
  46. package/web/dist/assets/{pegDiagram-2B236MQR-FE58c-NH.js → pegDiagram-2B236MQR-BHOeL7OJ.js} +1 -1
  47. package/web/dist/assets/{pieDiagram-ENE6RG2P-CyZHo_rp.js → pieDiagram-ENE6RG2P-DxervbtV.js} +1 -1
  48. package/web/dist/assets/{quadrantDiagram-ABIIQ3AL-Cg1eihD_.js → quadrantDiagram-ABIIQ3AL-izKr2K7j.js} +1 -1
  49. package/web/dist/assets/{railroadDiagram-RFXS5EU6-DPdsGXGJ.js → railroadDiagram-RFXS5EU6-B9g-rrGa.js} +1 -1
  50. package/web/dist/assets/{requirementDiagram-TGXJPOKE-CBWZpL0B.js → requirementDiagram-TGXJPOKE-DC9HZTPd.js} +1 -1
  51. package/web/dist/assets/{sankeyDiagram-HTMAVEWB-Doa_Yeyp.js → sankeyDiagram-HTMAVEWB-Bdv-Fq9I.js} +1 -1
  52. package/web/dist/assets/{sequenceDiagram-DBY2YBRQ-BAIn5Abk.js → sequenceDiagram-DBY2YBRQ-DixbH_s4.js} +1 -1
  53. package/web/dist/assets/{sizeCapture-X5ZJPWSS-BCDNecnD.js → sizeCapture-X5ZJPWSS-BomG8MlR.js} +1 -1
  54. package/web/dist/assets/{stateDiagram-2N3HPSRC-B3zFoibX.js → stateDiagram-2N3HPSRC-BHj5A6qK.js} +1 -1
  55. package/web/dist/assets/stateDiagram-v2-6OUMAXLB-BySCLA0n.js +1 -0
  56. package/web/dist/assets/{swimlanes-5IMT3BWC-BgtZ71ZQ.js → swimlanes-5IMT3BWC-CoB4nSU5.js} +2 -2
  57. package/web/dist/assets/swimlanesDiagram-G3AALYLV-CSiveZVg.js +8 -0
  58. package/web/dist/assets/{timeline-definition-FHXFAJF6-CtiOEhLU.js → timeline-definition-FHXFAJF6-CekdGCM7.js} +1 -1
  59. package/web/dist/assets/{vennDiagram-L72KCM5P-BMPHL1Ho.js → vennDiagram-L72KCM5P-DN8jOxEw.js} +1 -1
  60. package/web/dist/assets/{wardleyDiagram-EHGQE667-jmtWREcg.js → wardleyDiagram-EHGQE667-NF-cRW34.js} +1 -1
  61. package/web/dist/assets/{xychartDiagram-FW5EYKEG-D8SWSCHI.js → xychartDiagram-FW5EYKEG-CWAziEwy.js} +1 -1
  62. package/web/dist/index.html +2 -2
  63. package/web/dist/assets/channel-eWQTIMeX.js +0 -1
  64. package/web/dist/assets/classDiagram-OUVF2IWQ-Dkhjku8p.js +0 -1
  65. package/web/dist/assets/classDiagram-v2-EOCWNBFH-Dkhjku8p.js +0 -1
  66. package/web/dist/assets/index-pEBIWeJS.css +0 -1
  67. package/web/dist/assets/stateDiagram-v2-6OUMAXLB-Dhmt4y_Z.js +0 -1
  68. package/web/dist/assets/swimlanesDiagram-G3AALYLV-C0NWOZ0W.js +0 -8
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seele00/seele",
3
- "version": "0.1.72",
3
+ "version": "0.1.74",
4
4
  "description": "Browser UI and server runtime for Seele Codex",
5
5
  "private": false,
6
6
  "type": "module",
@@ -1 +1 @@
1
- import{g as p,r as u,d as a}from"./chunk-MOJQB5TN-BUQojMPT.js";import{p as f}from"./chunk-JWPE2WC7-Du5mZSsE.js";import{_ as n,l as o}from"./mermaid.core-DsHa5ME6.js";import{M as c,b as d}from"./cynefin-VYW2F7L2-D6RD8QH1.js";import"./index-C0SYTtZs.js";var v=d().RailroadAbnf.parser.LangiumParser,i=n(e=>{const r=e.alternatives.map(g);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformAlternation"),g=n(e=>{const r=e.elements.map(y);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformConcatenation"),b=n(e=>{if(e.includes("*")){const[t,s]=e.split("*"),l=t?parseInt(t,10):0,m=s?parseInt(s,10):1/0;return{min:l,max:m}}const r=parseInt(e,10);return{min:r,max:r}},"parseRepeat"),y=n(e=>{const r=A(e.primary);if(!e.repeat)return r;const{min:t,max:s}=b(e.repeat);return t===0&&s===1?{type:"optional",element:r}:{type:"repetition",element:r,min:t,max:s}},"transformElement"),A=n(e=>{switch(e.$type){case"AbnfStringLiteral":return{type:"terminal",value:e.value};case"AbnfNumVal":return{type:"terminal",value:e.value};case"AbnfRuleName":return{type:"nonterminal",name:e.name};case"AbnfGroup":return i(e.element);case"AbnfOptionalGroup":return{type:"optional",element:i(e.element)};default:throw new Error(`Unsupported ABNF primary node: ${e.$type}`)}},"transformPrimary"),P=n(e=>({name:e.name,definition:i(e.definition)}),"transformRule"),h=n(e=>{f(e,a),e.title&&a.setTitle(e.title),e.rules.map(r=>a.addRule(P(r)))},"populateDb"),R={parse:n(e=>{a.clear(),o.debug("[ABNF Parser] Starting Langium parse");const r=v.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new c(r);const t=r.value;o.debug("[ABNF Parser] Parsed rules:",t.rules.length),h(t),o.debug("[ABNF Parser] Parse complete")},"parse"),parser:{yy:a}},B={parser:R,db:a,renderer:u,styles:p};export{B as diagram};
1
+ import{g as p,r as u,d as a}from"./chunk-MOJQB5TN-DS8QfSx0.js";import{p as f}from"./chunk-JWPE2WC7-BKicScuC.js";import{_ as n,l as o}from"./mermaid.core-ykaexfdc.js";import{M as c,b as d}from"./cynefin-VYW2F7L2-l1wk0N9v.js";import"./index-BQ81G031.js";var v=d().RailroadAbnf.parser.LangiumParser,i=n(e=>{const r=e.alternatives.map(g);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformAlternation"),g=n(e=>{const r=e.elements.map(y);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformConcatenation"),b=n(e=>{if(e.includes("*")){const[t,s]=e.split("*"),l=t?parseInt(t,10):0,m=s?parseInt(s,10):1/0;return{min:l,max:m}}const r=parseInt(e,10);return{min:r,max:r}},"parseRepeat"),y=n(e=>{const r=A(e.primary);if(!e.repeat)return r;const{min:t,max:s}=b(e.repeat);return t===0&&s===1?{type:"optional",element:r}:{type:"repetition",element:r,min:t,max:s}},"transformElement"),A=n(e=>{switch(e.$type){case"AbnfStringLiteral":return{type:"terminal",value:e.value};case"AbnfNumVal":return{type:"terminal",value:e.value};case"AbnfRuleName":return{type:"nonterminal",name:e.name};case"AbnfGroup":return i(e.element);case"AbnfOptionalGroup":return{type:"optional",element:i(e.element)};default:throw new Error(`Unsupported ABNF primary node: ${e.$type}`)}},"transformPrimary"),P=n(e=>({name:e.name,definition:i(e.definition)}),"transformRule"),h=n(e=>{f(e,a),e.title&&a.setTitle(e.title),e.rules.map(r=>a.addRule(P(r)))},"populateDb"),R={parse:n(e=>{a.clear(),o.debug("[ABNF Parser] Starting Langium parse");const r=v.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new c(r);const t=r.value;o.debug("[ABNF Parser] Parsed rules:",t.rules.length),h(t),o.debug("[ABNF Parser] Parse complete")},"parse"),parser:{yy:a}},B={parser:R,db:a,renderer:u,styles:p};export{B as diagram};
@@ -1 +1 @@
1
- import{G as ln,H as un,I as N,J as I,K as J,L as an,M as y,N as tn,O as j,P as _,Q as rn,R as o,S as on,T as sn,V as fn}from"./mermaid.core-DsHa5ME6.js";function cn(l){return l.innerRadius}function yn(l){return l.outerRadius}function gn(l){return l.startAngle}function dn(l){return l.endAngle}function mn(l){return l&&l.padAngle}function pn(l,h,q,O,v,R,K,u){var D=q-l,i=O-h,n=K-v,d=u-R,a=d*D-n*i;if(!(a*a<y))return a=(n*(h-R)-d*(l-v))/a,[l+a*D,h+a*i]}function W(l,h,q,O,v,R,K){var u=l-q,D=h-O,i=(K?R:-R)/j(u*u+D*D),n=i*D,d=-i*u,a=l+n,s=h+d,f=q+n,c=O+d,L=(a+f)/2,t=(s+c)/2,m=f-a,g=c-s,A=m*m+g*g,T=v-R,P=a*c-f*s,E=(g<0?-1:1)*j(on(0,T*T*A-P*P)),G=(P*g-m*E)/A,H=(-P*m-g*E)/A,w=(P*g+m*E)/A,p=(-P*m+g*E)/A,x=G-L,e=H-t,r=w-L,M=p-t;return x*x+e*e>r*r+M*M&&(G=w,H=p),{cx:G,cy:H,x01:-n,y01:-d,x11:G*(v/T-1),y11:H*(v/T-1)}}function hn(){var l=cn,h=yn,q=J(0),O=null,v=gn,R=dn,K=mn,u=null,D=ln(i);function i(){var n,d,a=+l.apply(this,arguments),s=+h.apply(this,arguments),f=v.apply(this,arguments)-an,c=R.apply(this,arguments)-an,L=rn(c-f),t=c>f;if(u||(u=n=D()),s<a&&(d=s,s=a,a=d),!(s>y))u.moveTo(0,0);else if(L>tn-y)u.moveTo(s*N(f),s*I(f)),u.arc(0,0,s,f,c,!t),a>y&&(u.moveTo(a*N(c),a*I(c)),u.arc(0,0,a,c,f,t));else{var m=f,g=c,A=f,T=c,P=L,E=L,G=K.apply(this,arguments)/2,H=G>y&&(O?+O.apply(this,arguments):j(a*a+s*s)),w=_(rn(s-a)/2,+q.apply(this,arguments)),p=w,x=w,e,r;if(H>y){var M=sn(H/a*I(G)),z=sn(H/s*I(G));(P-=M*2)>y?(M*=t?1:-1,A+=M,T-=M):(P=0,A=T=(f+c)/2),(E-=z*2)>y?(z*=t?1:-1,m+=z,g-=z):(E=0,m=g=(f+c)/2)}var Q=s*N(m),V=s*I(m),B=a*N(T),C=a*I(T);if(w>y){var F=s*N(g),U=s*I(g),X=a*N(A),Y=a*I(A),S;if(L<un)if(S=pn(Q,V,X,Y,F,U,B,C)){var Z=Q-S[0],$=V-S[1],k=F-S[0],b=U-S[1],nn=1/I(fn((Z*k+$*b)/(j(Z*Z+$*$)*j(k*k+b*b)))/2),en=j(S[0]*S[0]+S[1]*S[1]);p=_(w,(a-en)/(nn-1)),x=_(w,(s-en)/(nn+1))}else p=x=0}E>y?x>y?(e=W(X,Y,Q,V,s,x,t),r=W(F,U,B,C,s,x,t),u.moveTo(e.cx+e.x01,e.cy+e.y01),x<w?u.arc(e.cx,e.cy,x,o(e.y01,e.x01),o(r.y01,r.x01),!t):(u.arc(e.cx,e.cy,x,o(e.y01,e.x01),o(e.y11,e.x11),!t),u.arc(0,0,s,o(e.cy+e.y11,e.cx+e.x11),o(r.cy+r.y11,r.cx+r.x11),!t),u.arc(r.cx,r.cy,x,o(r.y11,r.x11),o(r.y01,r.x01),!t))):(u.moveTo(Q,V),u.arc(0,0,s,m,g,!t)):u.moveTo(Q,V),!(a>y)||!(P>y)?u.lineTo(B,C):p>y?(e=W(B,C,F,U,a,-p,t),r=W(Q,V,X,Y,a,-p,t),u.lineTo(e.cx+e.x01,e.cy+e.y01),p<w?u.arc(e.cx,e.cy,p,o(e.y01,e.x01),o(r.y01,r.x01),!t):(u.arc(e.cx,e.cy,p,o(e.y01,e.x01),o(e.y11,e.x11),!t),u.arc(0,0,a,o(e.cy+e.y11,e.cx+e.x11),o(r.cy+r.y11,r.cx+r.x11),t),u.arc(r.cx,r.cy,p,o(r.y11,r.x11),o(r.y01,r.x01),!t))):u.arc(0,0,a,T,A,t)}if(u.closePath(),n)return u=null,n+""||null}return i.centroid=function(){var n=(+l.apply(this,arguments)+ +h.apply(this,arguments))/2,d=(+v.apply(this,arguments)+ +R.apply(this,arguments))/2-un/2;return[N(d)*n,I(d)*n]},i.innerRadius=function(n){return arguments.length?(l=typeof n=="function"?n:J(+n),i):l},i.outerRadius=function(n){return arguments.length?(h=typeof n=="function"?n:J(+n),i):h},i.cornerRadius=function(n){return arguments.length?(q=typeof n=="function"?n:J(+n),i):q},i.padRadius=function(n){return arguments.length?(O=n==null?null:typeof n=="function"?n:J(+n),i):O},i.startAngle=function(n){return arguments.length?(v=typeof n=="function"?n:J(+n),i):v},i.endAngle=function(n){return arguments.length?(R=typeof n=="function"?n:J(+n),i):R},i.padAngle=function(n){return arguments.length?(K=typeof n=="function"?n:J(+n),i):K},i.context=function(n){return arguments.length?(u=n??null,i):u},i}export{hn as d};
1
+ import{G as ln,H as un,I as N,J as I,K as J,L as an,M as y,N as tn,O as j,P as _,Q as rn,R as o,S as on,T as sn,V as fn}from"./mermaid.core-ykaexfdc.js";function cn(l){return l.innerRadius}function yn(l){return l.outerRadius}function gn(l){return l.startAngle}function dn(l){return l.endAngle}function mn(l){return l&&l.padAngle}function pn(l,h,q,O,v,R,K,u){var D=q-l,i=O-h,n=K-v,d=u-R,a=d*D-n*i;if(!(a*a<y))return a=(n*(h-R)-d*(l-v))/a,[l+a*D,h+a*i]}function W(l,h,q,O,v,R,K){var u=l-q,D=h-O,i=(K?R:-R)/j(u*u+D*D),n=i*D,d=-i*u,a=l+n,s=h+d,f=q+n,c=O+d,L=(a+f)/2,t=(s+c)/2,m=f-a,g=c-s,A=m*m+g*g,T=v-R,P=a*c-f*s,E=(g<0?-1:1)*j(on(0,T*T*A-P*P)),G=(P*g-m*E)/A,H=(-P*m-g*E)/A,w=(P*g+m*E)/A,p=(-P*m+g*E)/A,x=G-L,e=H-t,r=w-L,M=p-t;return x*x+e*e>r*r+M*M&&(G=w,H=p),{cx:G,cy:H,x01:-n,y01:-d,x11:G*(v/T-1),y11:H*(v/T-1)}}function hn(){var l=cn,h=yn,q=J(0),O=null,v=gn,R=dn,K=mn,u=null,D=ln(i);function i(){var n,d,a=+l.apply(this,arguments),s=+h.apply(this,arguments),f=v.apply(this,arguments)-an,c=R.apply(this,arguments)-an,L=rn(c-f),t=c>f;if(u||(u=n=D()),s<a&&(d=s,s=a,a=d),!(s>y))u.moveTo(0,0);else if(L>tn-y)u.moveTo(s*N(f),s*I(f)),u.arc(0,0,s,f,c,!t),a>y&&(u.moveTo(a*N(c),a*I(c)),u.arc(0,0,a,c,f,t));else{var m=f,g=c,A=f,T=c,P=L,E=L,G=K.apply(this,arguments)/2,H=G>y&&(O?+O.apply(this,arguments):j(a*a+s*s)),w=_(rn(s-a)/2,+q.apply(this,arguments)),p=w,x=w,e,r;if(H>y){var M=sn(H/a*I(G)),z=sn(H/s*I(G));(P-=M*2)>y?(M*=t?1:-1,A+=M,T-=M):(P=0,A=T=(f+c)/2),(E-=z*2)>y?(z*=t?1:-1,m+=z,g-=z):(E=0,m=g=(f+c)/2)}var Q=s*N(m),V=s*I(m),B=a*N(T),C=a*I(T);if(w>y){var F=s*N(g),U=s*I(g),X=a*N(A),Y=a*I(A),S;if(L<un)if(S=pn(Q,V,X,Y,F,U,B,C)){var Z=Q-S[0],$=V-S[1],k=F-S[0],b=U-S[1],nn=1/I(fn((Z*k+$*b)/(j(Z*Z+$*$)*j(k*k+b*b)))/2),en=j(S[0]*S[0]+S[1]*S[1]);p=_(w,(a-en)/(nn-1)),x=_(w,(s-en)/(nn+1))}else p=x=0}E>y?x>y?(e=W(X,Y,Q,V,s,x,t),r=W(F,U,B,C,s,x,t),u.moveTo(e.cx+e.x01,e.cy+e.y01),x<w?u.arc(e.cx,e.cy,x,o(e.y01,e.x01),o(r.y01,r.x01),!t):(u.arc(e.cx,e.cy,x,o(e.y01,e.x01),o(e.y11,e.x11),!t),u.arc(0,0,s,o(e.cy+e.y11,e.cx+e.x11),o(r.cy+r.y11,r.cx+r.x11),!t),u.arc(r.cx,r.cy,x,o(r.y11,r.x11),o(r.y01,r.x01),!t))):(u.moveTo(Q,V),u.arc(0,0,s,m,g,!t)):u.moveTo(Q,V),!(a>y)||!(P>y)?u.lineTo(B,C):p>y?(e=W(B,C,F,U,a,-p,t),r=W(Q,V,X,Y,a,-p,t),u.lineTo(e.cx+e.x01,e.cy+e.y01),p<w?u.arc(e.cx,e.cy,p,o(e.y01,e.x01),o(r.y01,r.x01),!t):(u.arc(e.cx,e.cy,p,o(e.y01,e.x01),o(e.y11,e.x11),!t),u.arc(0,0,a,o(e.cy+e.y11,e.cx+e.x11),o(r.cy+r.y11,r.cx+r.x11),t),u.arc(r.cx,r.cy,p,o(r.y11,r.x11),o(r.y01,r.x01),!t))):u.arc(0,0,a,T,A,t)}if(u.closePath(),n)return u=null,n+""||null}return i.centroid=function(){var n=(+l.apply(this,arguments)+ +h.apply(this,arguments))/2,d=(+v.apply(this,arguments)+ +R.apply(this,arguments))/2-un/2;return[N(d)*n,I(d)*n]},i.innerRadius=function(n){return arguments.length?(l=typeof n=="function"?n:J(+n),i):l},i.outerRadius=function(n){return arguments.length?(h=typeof n=="function"?n:J(+n),i):h},i.cornerRadius=function(n){return arguments.length?(q=typeof n=="function"?n:J(+n),i):q},i.padRadius=function(n){return arguments.length?(O=n==null?null:typeof n=="function"?n:J(+n),i):O},i.startAngle=function(n){return arguments.length?(v=typeof n=="function"?n:J(+n),i):v},i.endAngle=function(n){return arguments.length?(R=typeof n=="function"?n:J(+n),i):R},i.padAngle=function(n){return arguments.length?(K=typeof n=="function"?n:J(+n),i):K},i.context=function(n){return arguments.length?(u=n??null,i):u},i}export{hn as d};