pilotswarm 0.5.71 → 0.5.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/ui/react/src/web-app.js +211 -58
- package/web/dist/assets/{abnfDiagram-VRR7QNED-C1caNr4U.js → abnfDiagram-VRR7QNED-BnkQIEhH.js} +1 -1
- package/web/dist/assets/{arc-BufdFJYK.js → arc-CGyB8bDx.js} +1 -1
- package/web/dist/assets/{architectureDiagram-ZJ3FMSHR-C0vQblUK.js → architectureDiagram-ZJ3FMSHR-DWKmcDN1.js} +1 -1
- package/web/dist/assets/{blockDiagram-677ZJIJ3-B6PYWI9u.js → blockDiagram-677ZJIJ3-rn5c_Stz.js} +1 -1
- package/web/dist/assets/{c4Diagram-LMCZKHZV-DFoaVeMm.js → c4Diagram-LMCZKHZV-DyDQ7Ifb.js} +1 -1
- package/web/dist/assets/channel-BTptNqYp.js +1 -0
- package/web/dist/assets/{chunk-2Q5K7J3B-CxFBb-8y.js → chunk-2Q5K7J3B-C5VqT-KF.js} +1 -1
- package/web/dist/assets/{chunk-32BRIVSS-DO1G8AVc.js → chunk-32BRIVSS-DT-sPck4.js} +1 -1
- package/web/dist/assets/{chunk-5VM5RSS4-spE4bKSd.js → chunk-5VM5RSS4-yOTPomtB.js} +1 -1
- package/web/dist/assets/{chunk-EX3LRPZG-Bc_eUP5F.js → chunk-EX3LRPZG-DmFxJ0dk.js} +1 -1
- package/web/dist/assets/{chunk-JWPE2WC7-CGM2GAMX.js → chunk-JWPE2WC7-pjfQBm7p.js} +1 -1
- package/web/dist/assets/{chunk-MOJQB5TN-CHdrVT1z.js → chunk-MOJQB5TN-CHa4SOoq.js} +1 -1
- package/web/dist/assets/{chunk-RYQCIY6F-BWJK7-AW.js → chunk-RYQCIY6F-DgRDTwUy.js} +1 -1
- package/web/dist/assets/{chunk-V7JOEXUC-D8tgpQwK.js → chunk-V7JOEXUC-BdxruVNZ.js} +1 -1
- package/web/dist/assets/{chunk-VR4S4FIN-BP86JfVu.js → chunk-VR4S4FIN-DVyRDA0m.js} +1 -1
- package/web/dist/assets/{chunk-XXDRQBXY-Ctq_LUrs.js → chunk-XXDRQBXY-C_SZSWHx.js} +1 -1
- package/web/dist/assets/classDiagram-OUVF2IWQ-D_z8OghZ.js +1 -0
- package/web/dist/assets/classDiagram-v2-EOCWNBFH-D_z8OghZ.js +1 -0
- package/web/dist/assets/{cose-bilkent-JH36ORCC-DNvC4thT.js → cose-bilkent-JH36ORCC-B4ttgAJ8.js} +1 -1
- package/web/dist/assets/{cynefin-VYW2F7L2-3zVj2GvI.js → cynefin-VYW2F7L2-B8cRqvMz.js} +1 -1
- package/web/dist/assets/{cynefinDiagram-TSTJHNR4-DQbITfsJ.js → cynefinDiagram-TSTJHNR4-CEubmFl-.js} +1 -1
- package/web/dist/assets/{dagre-VKFMJZFB-BkGAcDyj.js → dagre-VKFMJZFB-CgRi7BXz.js} +1 -1
- package/web/dist/assets/{diagram-FQU43EPY-D3lsgelm.js → diagram-FQU43EPY-DfLMLNvB.js} +1 -1
- package/web/dist/assets/{diagram-G47NLZAW-C2rO9e3d.js → diagram-G47NLZAW-DMBnhSjJ.js} +1 -1
- package/web/dist/assets/{diagram-NH7WQ7WH-DJBwtT8q.js → diagram-NH7WQ7WH-CsVx_EMq.js} +1 -1
- package/web/dist/assets/{diagram-OA4YK3LP-C-SAwEHZ.js → diagram-OA4YK3LP-Cd8z9ubn.js} +1 -1
- package/web/dist/assets/{diagram-WEI45ONY-BpXMlmKz.js → diagram-WEI45ONY-BIjozLvB.js} +1 -1
- package/web/dist/assets/{ebnfDiagram-CCIWWBDH-DwxUgEmE.js → ebnfDiagram-CCIWWBDH-BvEyKaUx.js} +1 -1
- package/web/dist/assets/{erDiagram-Q63AITRT-DNZMCmYz.js → erDiagram-Q63AITRT-C1KyyEXS.js} +1 -1
- package/web/dist/assets/{flowDiagram-23GEKE2U-CUlGtnWV.js → flowDiagram-23GEKE2U-8vv4Bw3F.js} +1 -1
- package/web/dist/assets/{ganttDiagram-NO4QXBWP-DCj6zkyt.js → ganttDiagram-NO4QXBWP-BQXnAu0k.js} +1 -1
- package/web/dist/assets/{gitGraphDiagram-IHSO6WYX-Q6UP_dgi.js → gitGraphDiagram-IHSO6WYX-BGtXqY1X.js} +1 -1
- package/web/dist/assets/{index-23y0f1it.js → index-BixB0dRp.js} +2 -2
- package/web/dist/assets/index-CSMHeAhZ.css +1 -0
- package/web/dist/assets/{infoDiagram-FWYZ7A6U-Cwn8XNQT.js → infoDiagram-FWYZ7A6U-CVJezXGw.js} +1 -1
- package/web/dist/assets/{ishikawaDiagram-FXEZZL3T-BaMvGBAo.js → ishikawaDiagram-FXEZZL3T-D_Fi5Rxo.js} +1 -1
- package/web/dist/assets/{journeyDiagram-5HDEW3XC-DK95FJ0t.js → journeyDiagram-5HDEW3XC-Di1In_FH.js} +1 -1
- package/web/dist/assets/{kanban-definition-HUTT4EX6-C6W6RJLm.js → kanban-definition-HUTT4EX6-ozcJ7MQ3.js} +1 -1
- package/web/dist/assets/{linear-Un37Oyxr.js → linear-BCHWKN_x.js} +1 -1
- package/web/dist/assets/{mermaid.core-i8uqvLPa.js → mermaid.core-DPy_PtTG.js} +4 -4
- package/web/dist/assets/{mindmap-definition-LN4V7U3C-d_cgq1KW.js → mindmap-definition-LN4V7U3C-BUPXSGdc.js} +1 -1
- package/web/dist/assets/{papaparse.min-BiJEkQ8f.js → papaparse.min-DLMQN21E.js} +1 -1
- package/web/dist/assets/{pegDiagram-2B236MQR-5QRWM5AP.js → pegDiagram-2B236MQR-B0VRzHj8.js} +1 -1
- package/web/dist/assets/{pieDiagram-ENE6RG2P-VIZXsjFV.js → pieDiagram-ENE6RG2P-DJDr0spg.js} +1 -1
- package/web/dist/assets/pilotswarm-BchtZfEr.js +109 -0
- package/web/dist/assets/{quadrantDiagram-ABIIQ3AL-DMOx841b.js → quadrantDiagram-ABIIQ3AL-D80hp41u.js} +1 -1
- package/web/dist/assets/{railroadDiagram-RFXS5EU6-lTWzjdcd.js → railroadDiagram-RFXS5EU6-BVZxxDDn.js} +1 -1
- package/web/dist/assets/{requirementDiagram-TGXJPOKE-BE5SpiNy.js → requirementDiagram-TGXJPOKE-BYBz1YgE.js} +1 -1
- package/web/dist/assets/{sankeyDiagram-HTMAVEWB-C3LYWQTA.js → sankeyDiagram-HTMAVEWB-Cm0EjuqP.js} +1 -1
- package/web/dist/assets/{sequenceDiagram-DBY2YBRQ-BTCp88tQ.js → sequenceDiagram-DBY2YBRQ-C08lIz44.js} +1 -1
- package/web/dist/assets/{sizeCapture-X5ZJPWSS-Ppzj8n5l.js → sizeCapture-X5ZJPWSS-xEVPLUiU.js} +1 -1
- package/web/dist/assets/{stateDiagram-2N3HPSRC-Ch_iZ_cQ.js → stateDiagram-2N3HPSRC-C54U2MIf.js} +1 -1
- package/web/dist/assets/stateDiagram-v2-6OUMAXLB-CQXFWqsn.js +1 -0
- package/web/dist/assets/{swimlanes-5IMT3BWC-BX4-Oeby.js → swimlanes-5IMT3BWC-DRPOWaFR.js} +2 -2
- package/web/dist/assets/swimlanesDiagram-G3AALYLV-BuWCDUQa.js +8 -0
- package/web/dist/assets/{timeline-definition-FHXFAJF6-B1l-6l6u.js → timeline-definition-FHXFAJF6-BUhUcJ_i.js} +1 -1
- package/web/dist/assets/{vennDiagram-L72KCM5P-Grpa6wFZ.js → vennDiagram-L72KCM5P-DFFa7JWQ.js} +1 -1
- package/web/dist/assets/{wardleyDiagram-EHGQE667-B5bXnFlL.js → wardleyDiagram-EHGQE667-Bjv--ELM.js} +1 -1
- package/web/dist/assets/{xychartDiagram-FW5EYKEG-BkELQtgc.js → xychartDiagram-FW5EYKEG-BnGbWQJK.js} +1 -1
- package/web/dist/index.html +3 -3
- package/web/dist/assets/channel-CDzPwSI9.js +0 -1
- package/web/dist/assets/classDiagram-OUVF2IWQ-DdcABn-U.js +0 -1
- package/web/dist/assets/classDiagram-v2-EOCWNBFH-DdcABn-U.js +0 -1
- package/web/dist/assets/index-BXR-II2L.css +0 -1
- package/web/dist/assets/pilotswarm-D7Q48waO.js +0 -109
- package/web/dist/assets/stateDiagram-v2-6OUMAXLB-BbJN7t8_.js +0 -1
- package/web/dist/assets/swimlanesDiagram-G3AALYLV-0UA1VebA.js +0 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as o,l as te,c as H,D as fe,ad as ye,ae as be,af as me,W as _e,B as K,i as j,G as ke,J as Ee,T as Se,U as ce,V as le}from"./mermaid.core-
|
|
1
|
+
import{_ as o,l as te,c as H,D as fe,ad as ye,ae as be,af as me,W as _e,B as K,i as j,G as ke,J as Ee,T as Se,U as ce,V as le}from"./mermaid.core-DPy_PtTG.js";import{g as Ne}from"./chunk-5VM5RSS4-yOTPomtB.js";import"./pilotswarm-BchtZfEr.js";var $=(function(){var e=o(function(O,i,n,r){for(n=n||{},r=O.length;r--;n[O[r]]=i);return n},"o"),h=[1,4],p=[1,13],s=[1,12],d=[1,15],_=[1,16],m=[1,20],l=[1,19],D=[6,7,8],I=[1,26],g=[1,24],w=[1,25],k=[6,7,11],F=[1,31],N=[6,7,11,24],V=[1,6,13,16,17,20,23],f=[1,35],A=[1,36],L=[1,6,7,11,13,16,17,20,23],U=[1,38],T={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:o(function(i,n,r,a,u,t,M){var c=t.length-1;switch(u){case 6:case 7:return a;case 8:a.getLogger().trace("Stop NL ");break;case 9:a.getLogger().trace("Stop EOF ");break;case 11:a.getLogger().trace("Stop NL2 ");break;case 12:a.getLogger().trace("Stop EOF2 ");break;case 15:a.getLogger().info("Node: ",t[c-1].id),a.addNode(t[c-2].length,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 16:a.getLogger().info("Node: ",t[c].id),a.addNode(t[c-1].length,t[c].id,t[c].descr,t[c].type);break;case 17:a.getLogger().trace("Icon: ",t[c]),a.decorateNode({icon:t[c]});break;case 18:case 23:a.decorateNode({class:t[c]});break;case 19:a.getLogger().trace("SPACELIST");break;case 20:a.getLogger().trace("Node: ",t[c-1].id),a.addNode(0,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 21:a.getLogger().trace("Node: ",t[c].id),a.addNode(0,t[c].id,t[c].descr,t[c].type);break;case 22:a.decorateNode({icon:t[c]});break;case 27:a.getLogger().trace("node found ..",t[c-2]),this.$={id:t[c-1],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 28:this.$={id:t[c],descr:t[c],type:0};break;case 29:a.getLogger().trace("node found ..",t[c-3]),this.$={id:t[c-3],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 30:this.$=t[c-1]+t[c];break;case 31:this.$=t[c];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:p,7:[1,10],9:9,12:11,13:s,14:14,16:d,17:_,18:17,19:18,20:m,23:l},e(D,[2,3]),{1:[2,2]},e(D,[2,4]),e(D,[2,5]),{1:[2,6],6:p,12:21,13:s,14:14,16:d,17:_,18:17,19:18,20:m,23:l},{6:p,9:22,12:11,13:s,14:14,16:d,17:_,18:17,19:18,20:m,23:l},{6:I,7:g,10:23,11:w},e(k,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:m,23:l}),e(k,[2,19]),e(k,[2,21],{15:30,24:F}),e(k,[2,22]),e(k,[2,23]),e(N,[2,25]),e(N,[2,26]),e(N,[2,28],{20:[1,32]}),{21:[1,33]},{6:I,7:g,10:34,11:w},{1:[2,7],6:p,12:21,13:s,14:14,16:d,17:_,18:17,19:18,20:m,23:l},e(V,[2,14],{7:f,11:A}),e(L,[2,8]),e(L,[2,9]),e(L,[2,10]),e(k,[2,16],{15:37,24:F}),e(k,[2,17]),e(k,[2,18]),e(k,[2,20],{24:U}),e(N,[2,31]),{21:[1,39]},{22:[1,40]},e(V,[2,13],{7:f,11:A}),e(L,[2,11]),e(L,[2,12]),e(k,[2,15],{24:U}),e(N,[2,30]),{22:[1,41]},e(N,[2,27]),e(N,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(i,n){if(n.recoverable)this.trace(i);else{var r=new Error(i);throw r.hash=n,r}},"parseError"),parse:o(function(i){var n=this,r=[0],a=[],u=[null],t=[],M=this.table,c="",W=0,se=0,ue=2,re=1,ge=t.slice.call(arguments,1),b=Object.create(this.lexer),R={yy:{}};for(var J in this.yy)Object.prototype.hasOwnProperty.call(this.yy,J)&&(R.yy[J]=this.yy[J]);b.setInput(i,R.yy),R.yy.lexer=b,R.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var q=b.yylloc;t.push(q);var de=b.options&&b.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pe(S){r.length=r.length-2*S,u.length=u.length-S,t.length=t.length-S}o(pe,"popStack");function ae(){var S;return S=a.pop()||b.lex()||re,typeof S!="number"&&(S instanceof Array&&(a=S,S=a.pop()),S=n.symbols_[S]||S),S}o(ae,"lex");for(var E,P,x,Q,G={},z,C,oe,X;;){if(P=r[r.length-1],this.defaultActions[P]?x=this.defaultActions[P]:((E===null||typeof E>"u")&&(E=ae()),x=M[P]&&M[P][E]),typeof x>"u"||!x.length||!x[0]){var Z="";X=[];for(z in M[P])this.terminals_[z]&&z>ue&&X.push("'"+this.terminals_[z]+"'");b.showPosition?Z="Parse error on line "+(W+1)+`:
|
|
2
2
|
`+b.showPosition()+`
|
|
3
3
|
Expecting `+X.join(", ")+", got '"+(this.terminals_[E]||E)+"'":Z="Parse error on line "+(W+1)+": Unexpected "+(E==re?"end of input":"'"+(this.terminals_[E]||E)+"'"),this.parseError(Z,{text:b.match,token:this.terminals_[E]||E,line:b.yylineno,loc:q,expected:X})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+E);switch(x[0]){case 1:r.push(E),u.push(b.yytext),t.push(b.yylloc),r.push(x[1]),E=null,se=b.yyleng,c=b.yytext,W=b.yylineno,q=b.yylloc;break;case 2:if(C=this.productions_[x[1]][1],G.$=u[u.length-C],G._$={first_line:t[t.length-(C||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(C||1)].first_column,last_column:t[t.length-1].last_column},de&&(G._$.range=[t[t.length-(C||1)].range[0],t[t.length-1].range[1]]),Q=this.performAction.apply(G,[c,se,W,R.yy,x[1],u,t].concat(ge)),typeof Q<"u")return Q;C&&(r=r.slice(0,-1*C*2),u=u.slice(0,-1*C),t=t.slice(0,-1*C)),r.push(this.productions_[x[1]][0]),u.push(G.$),t.push(G._$),oe=M[r[r.length-2]][r[r.length-1]],r.push(oe);break;case 3:return!0}}return!0},"parse")},Y=(function(){var O={EOF:1,parseError:o(function(n,r){if(this.yy.parser)this.yy.parser.parseError(n,r);else throw new Error(n)},"parseError"),setInput:o(function(i,n){return this.yy=n||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var n=i.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:o(function(i){var n=i.length,r=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var a=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1);var u=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===a.length?this.yylloc.first_column:0)+a[a.length-r.length].length-r[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(i){this.unput(this.match.slice(i))},"less"),pastInput:o(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var i=this.pastInput(),n=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b9 as j,ba as p,bb as w,bc as k,bd as q}from"./mermaid.core-
|
|
1
|
+
import{b9 as j,ba as p,bb as w,bc as k,bd as q}from"./mermaid.core-DPy_PtTG.js";import{i as D}from"./init-Gi6I4Gst.js";import{e as g,f as F,a as z,b as B}from"./defaultLocale-DX6XiGOO.js";function M(n,r){return n==null||r==null?NaN:n<r?-1:n>r?1:n>=r?0:NaN}function I(n,r){return n==null||r==null?NaN:r<n?-1:r>n?1:r>=n?0:NaN}function R(n){let r,t,e;n.length!==2?(r=M,t=(o,c)=>M(n(o),c),e=(o,c)=>n(o)-c):(r=n===M||n===I?n:P,t=n,e=n);function u(o,c,i=0,h=o.length){if(i<h){if(r(c,c)!==0)return h;do{const l=i+h>>>1;t(o[l],c)<0?i=l+1:h=l}while(i<h)}return i}function f(o,c,i=0,h=o.length){if(i<h){if(r(c,c)!==0)return h;do{const l=i+h>>>1;t(o[l],c)<=0?i=l+1:h=l}while(i<h)}return i}function a(o,c,i=0,h=o.length){const l=u(o,c,i,h-1);return l>i&&e(o[l-1],c)>-e(o[l],c)?l-1:l}return{left:u,center:a,right:f}}function P(){return 0}function V(n){return n===null?NaN:+n}const $=R(M),x=$.right;R(V).center;const O=Math.sqrt(50),T=Math.sqrt(10),C=Math.sqrt(2);function v(n,r,t){const e=(r-n)/Math.max(0,t),u=Math.floor(Math.log10(e)),f=e/Math.pow(10,u),a=f>=O?10:f>=T?5:f>=C?2:1;let o,c,i;return u<0?(i=Math.pow(10,-u)/a,o=Math.round(n*i),c=Math.round(r*i),o/i<n&&++o,c/i>r&&--c,i=-i):(i=Math.pow(10,u)*a,o=Math.round(n/i),c=Math.round(r/i),o*i<n&&++o,c*i>r&&--c),c<o&&.5<=t&&t<2?v(n,r,t*2):[o,c,i]}function E(n,r,t){if(r=+r,n=+n,t=+t,!(t>0))return[];if(n===r)return[n];const e=r<n,[u,f,a]=e?v(r,n,t):v(n,r,t);if(!(f>=u))return[];const o=f-u+1,c=new Array(o);if(e)if(a<0)for(let i=0;i<o;++i)c[i]=(f-i)/-a;else for(let i=0;i<o;++i)c[i]=(f-i)*a;else if(a<0)for(let i=0;i<o;++i)c[i]=(u+i)/-a;else for(let i=0;i<o;++i)c[i]=(u+i)*a;return c}function y(n,r,t){return r=+r,n=+n,t=+t,v(n,r,t)[2]}function G(n,r,t){r=+r,n=+n,t=+t;const e=r<n,u=e?y(r,n,t):y(n,r,t);return(e?-1:1)*(u<0?1/-u:u)}function H(n,r){r||(r=[]);var t=n?Math.min(r.length,n.length):0,e=r.slice(),u;return function(f){for(u=0;u<t;++u)e[u]=n[u]*(1-f)+r[u]*f;return e}}function J(n){return ArrayBuffer.isView(n)&&!(n instanceof DataView)}function K(n,r){var t=r?r.length:0,e=n?Math.min(t,n.length):0,u=new Array(e),f=new Array(t),a;for(a=0;a<e;++a)u[a]=N(n[a],r[a]);for(;a<t;++a)f[a]=r[a];return function(o){for(a=0;a<e;++a)f[a]=u[a](o);return f}}function L(n,r){var t=new Date;return n=+n,r=+r,function(e){return t.setTime(n*(1-e)+r*e),t}}function Q(n,r){var t={},e={},u;(n===null||typeof n!="object")&&(n={}),(r===null||typeof r!="object")&&(r={});for(u in r)u in n?t[u]=N(n[u],r[u]):e[u]=r[u];return function(f){for(u in t)e[u]=t[u](f);return e}}function N(n,r){var t=typeof r,e;return r==null||t==="boolean"?j(r):(t==="number"?p:t==="string"?(e=w(r))?(r=e,k):q:r instanceof w?k:r instanceof Date?L:J(r)?H:Array.isArray(r)?K:typeof r.valueOf!="function"&&typeof r.toString!="function"||isNaN(r)?Q:p)(n,r)}function U(n,r){return n=+n,r=+r,function(t){return Math.round(n*(1-t)+r*t)}}function W(n){return Math.max(0,-g(Math.abs(n)))}function X(n,r){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(g(r)/3)))*3-g(Math.abs(n)))}function Y(n,r){return n=Math.abs(n),r=Math.abs(r)-n,Math.max(0,g(r)-g(n))+1}function Z(n){return function(){return n}}function _(n){return+n}var A=[0,1];function m(n){return n}function d(n,r){return(r-=n=+n)?function(t){return(t-n)/r}:Z(isNaN(r)?NaN:.5)}function b(n,r){var t;return n>r&&(t=n,n=r,r=t),function(e){return Math.max(n,Math.min(r,e))}}function nn(n,r,t){var e=n[0],u=n[1],f=r[0],a=r[1];return u<e?(e=d(u,e),f=t(a,f)):(e=d(e,u),f=t(f,a)),function(o){return f(e(o))}}function rn(n,r,t){var e=Math.min(n.length,r.length)-1,u=new Array(e),f=new Array(e),a=-1;for(n[e]<n[0]&&(n=n.slice().reverse(),r=r.slice().reverse());++a<e;)u[a]=d(n[a],n[a+1]),f[a]=t(r[a],r[a+1]);return function(o){var c=x(n,o,1,e)-1;return f[c](u[c](o))}}function en(n,r){return r.domain(n.domain()).range(n.range()).interpolate(n.interpolate()).clamp(n.clamp()).unknown(n.unknown())}function tn(){var n=A,r=A,t=N,e,u,f,a=m,o,c,i;function h(){var s=Math.min(n.length,r.length);return a!==m&&(a=b(n[0],n[s-1])),o=s>2?rn:nn,c=i=null,l}function l(s){return s==null||isNaN(s=+s)?f:(c||(c=o(n.map(e),r,t)))(e(a(s)))}return l.invert=function(s){return a(u((i||(i=o(r,n.map(e),p)))(s)))},l.domain=function(s){return arguments.length?(n=Array.from(s,_),h()):n.slice()},l.range=function(s){return arguments.length?(r=Array.from(s),h()):r.slice()},l.rangeRound=function(s){return r=Array.from(s),t=U,h()},l.clamp=function(s){return arguments.length?(a=s?!0:m,h()):a!==m},l.interpolate=function(s){return arguments.length?(t=s,h()):t},l.unknown=function(s){return arguments.length?(f=s,l):f},function(s,S){return e=s,u=S,h()}}function un(){return tn()(m,m)}function an(n,r,t,e){var u=G(n,r,t),f;switch(e=F(e??",f"),e.type){case"s":{var a=Math.max(Math.abs(n),Math.abs(r));return e.precision==null&&!isNaN(f=X(u,a))&&(e.precision=f),z(e,a)}case"":case"e":case"g":case"p":case"r":{e.precision==null&&!isNaN(f=Y(u,Math.max(Math.abs(n),Math.abs(r))))&&(e.precision=f-(e.type==="e"));break}case"f":case"%":{e.precision==null&&!isNaN(f=W(u))&&(e.precision=f-(e.type==="%")*2);break}}return B(e)}function on(n){var r=n.domain;return n.ticks=function(t){var e=r();return E(e[0],e[e.length-1],t??10)},n.tickFormat=function(t,e){var u=r();return an(u[0],u[u.length-1],t??10,e)},n.nice=function(t){t==null&&(t=10);var e=r(),u=0,f=e.length-1,a=e[u],o=e[f],c,i,h=10;for(o<a&&(i=a,a=o,o=i,i=u,u=f,f=i);h-- >0;){if(i=y(a,o,t),i===c)return e[u]=a,e[f]=o,r(e);if(i>0)a=Math.floor(a/i)*i,o=Math.ceil(o/i)*i;else if(i<0)a=Math.ceil(a*i)/i,o=Math.floor(o*i)/i;else break;c=i}return n},n}function fn(){var n=un();return n.copy=function(){return en(n,fn())},D.apply(n,arguments),on(n)}export{en as a,R as b,un as c,fn as l,G as t};
|