PageSourceSearch

https://my.sera.ag/static/js/9460.082df679.chunk.js

js sera.ag collected 2026-10-09 02:47:02 UTC 33,596 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunksera_manager=self.webpackChunksera_manager||[]).push([[9460],{39460:(t,e,n)=>{n.d(e,{diagram:()=>lt});var i=n(66136),a=n(90024),r=n(68668),s=n(64600),o=n(71092),c=n(69360),l=n(58544),d=n(54593),h=function(){var t=(0,s.sp)((function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n}),"o"),e=[6,11,13,14,15,17,19,20,23,24],n=[1,12],i=[1,13],a=[1,14],r=[1,15],o=[1,16],c=[1,19],l=[1,20],d={trace:(0,s.sp)((function(){}),"trace"),yy:{},symbols_:{error:2,start:3,timeline_header:4,document:5,EOF:6,timeline:7,timeline_lr:8,timeline_td:9,line:10,SPACE:11,statement:12,NEWLINE:13,title:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,period_statement:21,event_statement:22,period:23,event:24,$accept:0,$end:1},terminals_:{2:"error",6:"EOF",7:"timeline",8:"timeline_lr",9:"timeline_td",11:"SPACE",13:"NEWLINE",14:"title",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",23:"period",24:"event"},productions_:[0,[3,3],[4,1],[4,1],[4,1],[5,0],[5,2],[10,2],[10,1],[10,1],[10,1],[12,1],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[21,1],[22,1]],performAction:(0,s.sp)((function(t,e,n,i,a,r,s){var o=r.length-1;switch(a){case 1:return r[o-1];case 3:i.setDirection("LR");break;case 4:i.setDirection("TD");break;case 5:case 9:case 10:this.$=[];break;case 6:r[o-1].push(r[o]),this.$=r[o-1];break;case 7:case 8:this.$=r[o];break;case 11:i.getCommonDb().setDiagramTitle(r[o].substr(6)),this.$=r[o].substr(6);break;case 12:this.$=r[o].trim(),i.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=r[o].trim(),i.getCommonDb().setAccDescription(this.$);break;case 15:i.addSection(r[o].substr(8)),this.$=r[o].substr(8);break;case 18:i.addTask(r[o],0,""),this.$=r[o];break;case 19:i.addEvent(r[o].substr(2)),this.$=r[o]}}),"anonymous"),table:[{3:1,4:2,7:[1,3],8:[1,4],9:[1,5]},{1:[3]},t(e,[2,5],{5:6}),t(e,[2,2]),t(e,[2,3]),t(e,[2,4]),{6:[1,7],10:8,11:[1,9],12:10,13:[1,11],14:n,15:i,17:a,19:r,20:o,21:17,22:18,23:c,24:l},t(e,[2,10],{1:[2,1]}),t(e,[2,6]),{12:21,14:n,15:i,17:a,19:r,20:o,21:17,22:18,23:c,24:l},t(e,[2,8]),t(e,[2,9]),t(e,[2,11]),{16:[1,22]},{18:[1,23]},t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,7]),t(e,[2,12]),t(e,[2,13])],defaultActions:{},parseError:(0,s.sp)((function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)}),"parseError"),parse:(0,s.sp)((function(t){var e=this,n=[0],i=[],a=[null],r=[],o=this.table,c="",l=0,d=0,h=0,p=r.slice.call(arguments,1),u=Object.create(this.lexer),g={yy:{}};for(var y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,y)&&(g.yy[y]=this.yy[y]);u.setInput(t,g.yy),g.yy.lexer=u,g.yy.parser=this,"undefined"==typeof u.yylloc&&(u.yylloc={});var f=u.yylloc;r.push(f);var m=u.options&&u.options.ranges;function x(){var t;return"number"!==typeof(t=i.pop()||u.lex()||1)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"===typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,s.sp)((function(t){n.length=n.length-2*t,a.length=a.length-t,r.length=r.length-t}),"popStack"),(0,s.sp)(x,"lex");for(var b,k,v,w,_,S,E,T,M,I={};;){if(v=n[n.length-1],this.defaultActions[v]?w=this.defaultActions[v]:(null!==b&&"undefined"!=typeof b||(b=x()),w=o[v]&&o[v][b]),"undefined"===typeof w||!w.length||!w[0]){var z="";for(S in M=[],o[v])this.terminals_[S]&&S>2&&M.push("'"+this.terminals_[S]+"'");z=u.showPosition?"Parse error on line "+(l+1)+":\n"+u.showPosition()+"\nExpecting "+M.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(z,{text:u.match,token:this.terminals_[b]||b,line:u.yylineno,loc:f,expected:M})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+b);switch(w[0]){case 1:n.push(b),a.push(u.yytext),r.push(u.yylloc),n.push(w[1]),b=null,k?(b=k,k=null):(d=u.yyleng,c=u.yytext,l=u.yylineno,f=u.yylloc,h>0&&h--);break;case 2:if(E=this.productions_[w[1]][1],I.$=a[a.length-E],I._$={first_line:r[r.length-(E||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(E||1)].first_column,last_column:r[r.length-1].last_column},m&&(I._$.range=[r[r.length-(E||1)].range[0],r[r.length-1].range[1]]),"undefined"!==typeof(_=this.performAction.apply(I,[c,d,l,g.yy,w[1],a,r].concat(p))))return _;E&&(n=n.slice(0,-1*E*2),a=a.slice(0,-1*E),r=r.slice(0,-1*E)),n.push(this.productions_[w[1]][0]),a.push(I.$),r.push(I._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return!0}}return!0}),"parse")},h=function(){return{EOF:1,parseError:(0,s.sp)((function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)}),"parseError"),setInput:(0,s.sp)((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}),"setInput"),input:(0,s.sp)((function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t}),"input"),unput:(0,s.sp)((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 i=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 a=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[a[0],a[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this}),"unput"),more:(0,s.sp)((function(){return this._more=!0,this}),"more"),reject:(0,s.sp)((function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}),"reject"),less:(0,s.sp)((function(t){this.unput(this.match.slice(t))}),"less"),pastInput:(0,s.sp)((function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")}),"pastInput"),upcomingInput:(0,s.sp)((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,"")}),"upcomingInput"),showPosition:(0,s.sp)((function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"}),"showPosition"),test_match:(0,s.sp)((function(t,e){var n,i,a;if(this.options.backtrack_lexer&&(a={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(a.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var r in a)this[r]=a[r];return!1}return!1}),"test_match"),next:(0,s.sp)((function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),r=0;r<a.length;r++)if((n=this._input.match(this.rules[a[r]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,a[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,a[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}),"next"),lex:(0,s.sp)((function(){var t=this.next();return t||this.lex()}),"lex"),begin:(0,s.sp)((function(t){this.conditionStack.push(t)}),"begin"),popState:(0,s.sp)((function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]}),"popState"),_currentRules:(0,s.sp)((function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules}),"_currentRules"),topState:(0,s.sp)((function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"}),"topState"),pushState:(0,s.sp)((function(t){this.begin(t)}),"pushState"),stateStackSize:(0,s.sp)((function(){return this.conditionStack.length}),"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,s.sp)((function(t,e,n,i){switch(n){case 0:case 1:case 3:case 4:break;case 2:return 13;case 5:return 8;case 6:return 9;
1case 7:return 7;case 8:return 14;case 9:return this.begin("acc_title"),15;case 10:return this.popState(),"acc_title_value";case 11:return this.begin("acc_descr"),17;case 12:return this.popState(),"acc_descr_value";case 13:this.begin("acc_descr_multiline");break;case 14:this.popState();break;case 15:return"acc_descr_multiline_value";case 16:return 20;case 17:return 24;case 18:return 23;case 19:return 6;case 20:return"INVALID"}}),"anonymous"),rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline[ \t]+LR\b)/i,/^(?:timeline[ \t]+TD\b)/i,/^(?:timeline\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^:\n]+)/i,/^(?::\s(?:[^:\n]|:(?!\s))+)/i,/^(?:[^#:\n]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[14,15],inclusive:!1},acc_descr:{rules:[12],inclusive:!1},acc_title:{rules:[10],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,11,13,16,17,18,19,20],inclusive:!0}}}}();function p(){this.yy={}}return d.lexer=h,(0,s.sp)(p,"Parser"),p.prototype=d,d.Parser=p,new p}();h.parser=h;var p=h,u={};(0,s.Ep)(u,{addEvent:()=>I,addSection:()=>S,addTask:()=>M,addTaskOrg:()=>z,clear:()=>v,default:()=>C,getCommonDb:()=>k,getDirection:()=>_,getSections:()=>E,getTasks:()=>T,setDirection:()=>w});var g="",y=0,f="LR",m=[],x=[],b=[],k=(0,s.sp)((()=>r.qg),"getCommonDb"),v=(0,s.sp)((function(){m.length=0,x.length=0,g="",b.length=0,f="LR",(0,r.WC)()}),"clear"),w=(0,s.sp)((function(t){f=t}),"setDirection"),_=(0,s.sp)((function(){return f}),"getDirection"),S=(0,s.sp)((function(t){g=t,m.push(t)}),"addSection"),E=(0,s.sp)((function(){return m}),"getSections"),T=(0,s.sp)((function(){let t=H();let e=0;for(;!t&&e<100;)t=H(),e++;return x.push(...b),x}),"getTasks"),M=(0,s.sp)((function(t,e,n){const i={id:y++,section:g,type:g,task:t,score:e||0,events:n?[n]:[]};b.push(i)}),"addTask"),I=(0,s.sp)((function(t){b.find((t=>t.id===y-1)).events.push(t)}),"addEvent"),z=(0,s.sp)((function(t){const e={section:g,type:g,description:t,task:t,classes:[]};x.push(e)}),"addTaskOrg"),H=(0,s.sp)((function(){const t=(0,s.sp)((function(t){return b[t].processed}),"compileTask");let e=!0;for(const[n,i]of b.entries())t(n),e=e&&i.processed;return e}),"compileTasks"),C={clear:v,getCommonDb:k,getDirection:_,setDirection:w,addSection:S,getSections:E,getTasks:T,addTask:M,addTaskOrg:z,addEvent:I},N=0,L=(0,s.sp)((function(t,e){const n=t.append("rect");return n.attr("x",e.x),n.attr("y",e.y),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("width",e.width),n.attr("height",e.height),n.attr("rx",e.rx),n.attr("ry",e.ry),void 0!==e.class&&n.attr("class",e.class),n}),"drawRect"),D=(0,s.sp)((function(t,e){const n=15,i=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",n).attr("stroke-width",2).attr("overflow","visible"),a=t.append("g");function r(t){const i=(0,o.qoN)().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(n/2.2);t.append("path").attr("class","mouth").attr("d",i).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}function c(t){const i=(0,o.qoN)().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(n/2.2);t.append("path").attr("class","mouth").attr("d",i).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}function l(t){t.append("line").attr("class","mouth").attr("stroke",2).attr("x1",e.cx-5).attr("y1",e.cy+7).attr("x2",e.cx+5).attr("y2",e.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return a.append("circle").attr("cx",e.cx-5).attr("cy",e.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),a.append("circle").attr("cx",e.cx+5).attr("cy",e.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),(0,s.sp)(r,"smile"),(0,s.sp)(c,"s
1ad"),(0,s.sp)(l,"ambivalent"),e.score>3?r(a):e.score<3?c(a):l(a),i}),"drawFace"),Y=(0,s.sp)((function(t,e){const n=t.append("circle");return n.attr("cx",e.cx),n.attr("cy",e.cy),n.attr("class","actor-"+e.pos),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("r",e.r),void 0!==n.class&&n.attr("class",n.class),void 0!==e.title&&n.append("title").text(e.title),n}),"drawCircle"),O=(0,s.sp)((function(t,e){const n=e.text.replace(/<br\s*\/?>/gi," "),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.attr("class","legend"),i.style("text-anchor",e.anchor),void 0!==e.class&&i.attr("class",e.class);const a=i.append("tspan");return a.attr("x",e.x+2*e.textMargin),a.text(n),i}),"drawText"),A=(0,s.sp)((function(t,e){function n(t,e,n,i,a){return t+","+e+" "+(t+n)+","+e+" "+(t+n)+","+(e+i-a)+" "+(t+n-1.2*a)+","+(e+i)+" "+t+","+(e+i)}(0,s.sp)(n,"genPoints");const i=t.append("polygon");i.attr("points",n(e.x,e.y,50,20,7)),i.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,O(t,e)}),"drawLabel"),B=(0,s.sp)((function(t,e,n){const i=t.append("g"),a=j();a.x=e.x,a.y=e.y,a.fill=e.fill,a.width=n.width,a.height=n.height,a.class="journey-section section-type-"+e.num,a.rx=3,a.ry=3,L(i,a),F(n)(e.text,i,a.x,a.y,a.width,a.height,{class:"journey-section section-type-"+e.num},n,e.colour)}),"drawSection"),R=-1,P=(0,s.sp)((function(t,e,n,i){const a=e.x+n.width/2,r=t.append("g");R++;r.append("line").attr("id",i+"-task"+R).attr("x1",a).attr("y1",e.y).attr("x2",a).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),D(r,{cx:a,cy:300+30*(5-e.score),score:e.score});const s=j();s.x=e.x,s.y=e.y,s.fill=e.fill,s.width=n.width,s.height=n.height,s.class="task task-type-"+e.num,s.rx=3,s.ry=3,L(r,s),F(n)(e.task,r,s.x,s.y,s.width,s.height,{class:"task"},n,e.colour)}),"drawTask"),W=(0,s.sp)((function(t,e){L(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,class:"rect"}).lower()}),"drawBackgroundRect"),$=(0,s.sp)((function(){return{x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}}),"getTextObj"),j=(0,s.sp)((function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}}),"getNoteRect"),F=function(){function t(t,e,n,a,r,s,o,c){i(e.append("text").attr("x",n+r/2).attr("y",a+s/2+5).style("font-color",c).style("text-anchor","middle").text(t),o)}function e(t,e,n,a,r,s,o,c,l){const{taskFontSize:d,taskFontFamily:h}=c,p=t.split(/<br\s*\/?>/gi);for(let u=0;u<p.length;u++){const t=u*d-d*(p.length-1)/2,c=e.append("text").attr("x",n+r/2).attr("y",a).attr("fill",l).style("text-anchor","middle").style("font-size",d).style("font-family",h);c.append("tspan").attr("x",n+r/2).attr("dy",t).text(p[u]),c.attr("y",a+s/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),i(c,o)}}function n(t,n,a,r,s,o,c,l){const d=n.append("switch"),h=d.append("foreignObject").attr("x",a).attr("y",r).attr("width",s).attr("height",o).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");h.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,d,a,r,s,o,c,l),i(h,c)}function i(t,e){for(const n in e)n in e&&t.attr(n,e[n])}return(0,s.sp)(t,"byText"),(0,s.sp)(e,"byTspan"),(0,s.sp)(n,"byFo"),(0,s.sp)(i,"_setTextAttrs"),function(i){return"fo"===i.textPlacement?n:"old"===i.textPlacement?t:e}}(),V=(0,s.sp)((function(t,e){N=0,R=-1,t.append("defs").append("marker").attr("id",e+"-arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")}),"initGraphics");function G(t,e){t.each((function(){var t,n=(0,o.MlD)(this),i=n.text().split(/(\s+|<br>)/).reverse(),a=[],r=n.attr("y"),s=parseFloat(n.attr("dy")),c=n.text(null).append("tspan").attr("x",0).attr("y",r).attr("dy",s+"em");for(let o=0;o<i.length;o++)t=i[i.length-1-o],a.push(t),c.text(a.join(" ").trim()),(c.node().getComputedTextLength()>e||"<br>"===t)&&(a.pop(),c.text(a.join(" ").trim()),a="<br>"===t?[""]:[t],c=n.append("tspan").attr("x",0).attr("y",r).attr("dy","1.1em").text(t))}))}(0,s.sp)(G,"wrap");var q=(0,s.sp)((function(t,e,n,i,a){var r,s,c;let l=arguments.length>5&&void 0!==arguments[5]&&arguments[5];
1const{theme:d,look:h}=i,p=null===d||void 0===d?void 0:d.includes("redux"),u=n%(null!==(r=null===i||void 0===i||null===(s=i.themeVariables)||void 0===s?void 0:s.THEME_COLOR_LIMIT)&&void 0!==r?r:12)-1,g=t.append("g");e.section=u,g.attr("class",(e.class?e.class+" ":"")+"timeline-node section-"+u);const y=g.append("g"),f=g.append("g"),m=f.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(G,e.width).node().getBBox(),x=null!==(c=i.fontSize)&&void 0!==c&&c.replace?i.fontSize.replace("px",""):i.fontSize;if(e.height=m.height+1.1*x*.5+e.padding,e.height=Math.max(e.height,e.maxHeight),e.width=e.width+2*e.padding,f.attr("transform","translate("+e.width/2+", "+e.padding/2+")"),p&&f.attr("transform","translate(".concat(e.width/2,", ").concat(l?e.padding/2+3:e.padding,")")),Z(y,e,u,a,i),"neo"===h&&(g.attr("data-look","neo"),p)){var b,k,v;const e=d.includes("dark"),n=null!==(b=null===(k=t.node())||void 0===k?void 0:k.ownerSVGElement)&&void 0!==b?b:t.node(),i=(0,o.MlD)(n),a=null!==(v=i.attr("id"))&&void 0!==v?v:"",r=a?"".concat(a,"-drop-shadow"):"drop-shadow";if(i.select("#".concat(r)).empty()){const t=i.select("defs");(t.empty()?i.append("defs"):t).append("filter").attr("id",r).attr("height","130%").attr("width","130%").append("feDropShadow").attr("dx","4").attr("dy","4").attr("stdDeviation",0).attr("flood-opacity",e?"0.2":"0.06").attr("flood-color",e?"#FFFFFF":"#000000")}}return e}),"drawNode"),U=(0,s.sp)((function(t,e,n){var i;const a=t.append("g"),r=a.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(G,e.width).node().getBBox(),s=null!==(i=n.fontSize)&&void 0!==i&&i.replace?n.fontSize.replace("px",""):n.fontSize;return a.remove(),r.height+1.1*s*.5+e.padding}),"getVirtualNodeHeight"),Z=(0,s.sp)((function(t,e,n,i,a){const{theme:r}=a,s=null!==r&&void 0!==r&&r.includes("redux")?0:5,o=s>0?"M0 ".concat(e.height-5," v").concat(10-e.height," q0,-").concat(s,",").concat(s,",-").concat(s," h").concat(e.width-10," q").concat(s,",0,").concat(s,",").concat(s," v").concat(e.height-5," H0 Z"):"M0 ".concat(e.height-5," v").concat(-(e.height-5)," h").concat(e.width," v").concat(e.height," H0 Z");t.append("path").attr("id",i+"-node-"+N++).attr("class","node-bkg node-"+e.type).attr("d",o),null!==r&&void 0!==r&&r.includes("redux")||t.append("line").attr("class","node-line-"+n).attr("x1",0).attr("y1",e.height).attr("x2",e.width).attr("y2",e.height)}),"defaultBkg"),X={drawRect:L,drawCircle:Y,drawSection:B,drawText:O,drawLabel:A,drawTask:P,drawBackgroundRect:W,getTextObj:$,getNoteRect:j,initGraphics:V,drawNode:q,getVirtualNodeHeight:U},J=(0,s.sp)((function(t,e,n,i){var a,c,l,d,h,p;const u=(0,r.ub)(),{look:g,theme:y,themeVariables:f}=u,{useGradient:m,gradientStart:x,gradientStop:b}=f,k=null!==(a=null===(c=u.timeline)||void 0===c?void 0:c.leftMargin)&&void 0!==a?a:50;s.Yz.debug("timeline",i.db);const v=u.securityLevel;let w;"sandbox"===v&&(w=(0,o.MlD)("#i"+e));const _=("sandbox"===v?(0,o.MlD)(w.nodes()[0].contentDocument.body):(0,o.MlD)("body")).select("#"+e);_.append("g");const S=i.db.getTasks(),E=i.db.getCommonDb().getDiagramTitle();s.Yz.debug("task",S),X.initGraphics(_,e);const T=i.db.getSections();s.Yz.debug("sections",T);let M=0,I=0,z=0,H=0,C=50+k,N=50;H=50;let L=0,D=!0;T.forEach((function(t){const e={number:L,descr:t,section:L,width:150,padding:20,maxHeight:M},n=X.getVirtualNodeHeight(_,e,u);s.Yz.debug("sectionHeight before draw",n),M=Math.max(M,n+20)}));let Y=0,O=0;s.Yz.debug("tasks.length",S.length);for(const[r,o]of S.entries()){const t={number:r,descr:o,section:o.section,width:150,padding:20,maxHeight:I},e=X.getVirtualNodeHeight(_,t,u);s.Yz.debug("taskHeight before draw",e),I=Math.max(I,e+20),Y=Math.max(Y,o.events.length);let n=0;for(const i of o.events){const t={descr:i,section:o.section,number:o.section,width:150,padding:20,maxHeight:50};n+=X.getVirtualNodeHeight(_,t,u)}o.events.length>0&&(n+=10*(o.events.length-1)),O=Math.max(O,n)}s.Yz.debug("maxSectionHeight before draw",M),s.Yz.debug("maxTaskHeight before draw",I),T&&T.length>0?T.forEach((t=>{const n=S.filter((e=>e.section===t)),i={number:L,descr:t,section:L,width:200*Math.max(n.length,1)-50,padding:20,maxHeight:M};s.Yz.debug("sectionNode",i);const a=_.append("g"),r=X.drawNode(a,i,L,u,e);s.Yz.debug("sectionNode output",r),a.attr("transform","translate(".concat(C,", ").concat(50,")")),N+=M+50,n.length>0&&K(_,n,L,C,N,I,u,Y,O,M,!1,e),C+=200*Math.max(n.length,1),N=50,L++})):(D=!1,K(_,S,L,C,N,I,u,Y,O,M,!0,e));const A=_.node().getBBox();s.Yz.debug("bounds",A),E&&_.append("text").text(E).attr("x","neo"===g?2*A.x+k:A.width/2-k).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),z=D?M+I+150:I+100;if(_.append("g").attr("class","lineWrapper").append("line").attr("x1",k).attr("y1",z).attr("x2",A.width+3*k).attr("y2",z).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#".concat(e,"-arrowhead)")),"neo"===g&&m&&"neutral"!==y){const t=_.select("defs"),e=(t.empty()?_.append("defs"):t).append("linearGradient").attr("id",_.attr("id")+"-gradient").attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");e.append("stop").attr("offset","0%").attr("stop-color",x).attr("stop-opacity",1),e.append("stop").attr("offset","100%").attr("stop-color",b).attr("stop-opacity",1)}(0,r.SE)(void 0,_,null!==(l=null===(d=u.timeline)||void 0===d?void 0:d.padding)&&void 0!==l?l:50,null!==(h=null===(p=u.timeline)||void 0===p?void 0:p.useMaxWidth)&&void 0!==h&&h)}),"draw"),K=(0,s.sp)((function(t,e,n,i,a,r,o,c,l,d,h,p){for(const g of e){var u;const e={descr:g.task,section:n,number:n,width:150,padding:20,maxHeight:r};s.Yz.debug("taskNode",e);const c=t.append("g").attr("class","taskWrapper"),d=X.drawNode(c,e,n,o,p).height;if(s.Yz.debug("taskHeight after draw",d),c.attr("transform","translate(".concat(i,", ").concat(a,")")),r=M
1ath.max(r,d),g.events){const e=t.append("g").attr("class","lineWrapper");let s=r;a+=100,s+=Q(t,g.events,n,i,a,o,p),a-=100,e.append("line").attr("x1",i+95).attr("y1",a+r).attr("x2",i+95).attr("y2",a+r+100+l+100).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#".concat(p,"-arrowhead)")).attr("stroke-dasharray","5,5")}i+=200,!h||null!==(u=o.timeline)&&void 0!==u&&u.disableMulticolor||n++}a-=10}),"drawTasks"),Q=(0,s.sp)((function(t,e,n,i,a,r,o){let c=0;const l=a;a+=100;for(const d of e){const e={descr:d,section:n,number:n,width:150,padding:20,maxHeight:50};s.Yz.debug("eventNode",e);const l=t.append("g").attr("class","eventWrapper"),h=X.drawNode(l,e,n,r,o,!0).height;c+=h,l.attr("transform","translate(".concat(i,", ").concat(a,")")),a=a+10+h}return a=l,c}),"drawEvents"),tt={setConf:(0,s.sp)((()=>{}),"setConf"),draw:J},et=200,nt=(0,s.sp)((function(t,e,n,o){var c,l,d,h,p,u,g;const y=(0,r.ub)(),f=null!==(c=null===(l=y.timeline)||void 0===l?void 0:l.leftMargin)&&void 0!==c?c:50;s.Yz.debug("timeline",o.db);const m=(0,i.M)(e);m.append("g");const x=o.db.getTasks(),b=o.db.getCommonDb().getDiagramTitle();s.Yz.debug("task",x),X.initGraphics(m);const k=o.db.getSections();s.Yz.debug("sections",k);let v=0,w=0;const _=50+f;let S=50;const E=S,T=230,M=_+T;let I=0;const z=k&&k.length>0,H=z?M:_+T,C=Math.max(50,580);k.forEach((function(t){const e={number:I,descr:t,section:I,width:C,padding:5,maxHeight:v},n=X.getVirtualNodeHeight(m,e,y);s.Yz.debug("sectionHeight before draw",n),v=Math.max(v,n)}));let N=0;s.Yz.debug("tasks.length",x.length);for(const[i,a]of x.entries()){const t={number:i,descr:a,section:a.section,width:et,padding:5,maxHeight:w},e=X.getVirtualNodeHeight(m,t,y);s.Yz.debug("taskHeight before draw",e),w=Math.max(w,e);let n=0;for(const i of a.events){const t={descr:i,section:a.section,number:a.section,width:300,padding:5,maxHeight:50};n+=X.getVirtualNodeHeight(m,t,y)}a.events.length>0&&(n+=10*(a.events.length-1)),N=Math.max(N,n)+0}s.Yz.debug("maxSectionHeight before draw",v),s.Yz.debug("maxTaskHeight before draw",w);const L=Math.max(w,N)+30;z?k.forEach((t=>{const e=x.filter((e=>e.section===t)),n={number:I,descr:t,section:I,width:C,padding:5,maxHeight:v};s.Yz.debug("sectionNode",n);const i=m.append("g"),a=X.drawNode(i,n,I,y);s.Yz.debug("sectionNode output",a);const r=H-T;i.attr("transform","translate(".concat(r,", ").concat(S,")"));const o=S+a.height+20;e.length>0&&it(m,e,I,H,o,w,y,L,!1);const c=e.length,l=a.height+20+L*Math.max(c,1)-(c>0?60:0);S+=l,I++})):it(m,x,I,H,S,w,y,L,!0);
1let D=null===(d=m.node())||void 0===d?void 0:d.getBBox();if(!D)throw new Error("bbox not found");if(s.Yz.debug("bounds",D),b){var Y;if(m.append("text").text(b).attr("x",D.width/2-f).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),D=null===(Y=m.node())||void 0===Y?void 0:Y.getBBox(),!D)throw new Error("bbox not found");s.Yz.debug("bounds after title",D)}const[O]=(0,a.PI)(y.fontSize),A=2*(null!==O&&void 0!==O?O:16),B=.5*(null!==O&&void 0!==O?O:16)+20,R=m.append("g").attr("class","lineWrapper");R.append("line").attr("x1",H).attr("y1",E-A).attr("x2",H).attr("y2",D.y+D.height+B).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),R.lower(),(0,r.SE)(void 0,m,null!==(h=null===(p=y.timeline)||void 0===p?void 0:p.padding)&&void 0!==h?h:50,null!==(u=null===(g=y.timeline)||void 0===g?void 0:g.useMaxWidth)&&void 0!==u&&u)}),"draw"),it=(0,s.sp)((function(t,e,n,i,a,r,o,c,l){for(const h of e){var d;const e={descr:h.task,section:n,number:n,width:et,padding:5,maxHeight:r};s.Yz.debug("taskNode",e);const p=t.append("g").attr("class","taskWrapper"),u=X.drawNode(p,e,n,o),g=u.height;s.Yz.debug("taskHeight after draw",g);const y=i-20-u.width;if(p.attr("transform","translate(".concat(y,", ").concat(a,")")),r=Math.max(r,g),h.events&&h.events.length>0){const e=a,r=i+50;at(t,h.events,n,i,r,e,o)}a+=c,!l||null!==(d=o.timeline)&&void 0!==d&&d.disableMulticolor||n++}}),"drawTasks"),at=(0,s.sp)((function(t,e,n,i,a,r,o){let c=r;for(const l of e){const e={descr:l,section:n,number:n,width:300,padding:5,maxHeight:0};s.Yz.debug("eventNode",e);const r=t.append("g").attr("class","eventWrapper"),d=X.drawNode(r,e,n,o).height;r.attr("transform","translate(".concat(a,", ").concat(c,")"));const h=c+d/2;t.append("g").attr("class","lineWrapper").append("line").attr("x1",i).attr("y1",h).attr("x2",a).attr("y2",h).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5"),c=c+d+10}return c-r}),"drawEvents"),rt={setConf:(0,s.sp)((()=>{}),"setConf"),draw:nt},st=(0,s.sp)((t=>{var e,n,i;const{theme:a}=(0,r.eE)(),s=null===a||void 0===a?void 0:a.includes("dark"),o=null===a||void 0===a?void 0:a.includes("color"),c=null!==(e=null===(n=t.svgId)||void 0===n?void 0:n.replace(/^#/,""))&&void 0!==e?e:"",l=c?"url(#".concat(c,"-drop-shadow)"):null!==(i=t.dropShadow)&&void 0!==i?i:"none";let d="";for(let r=0;r<t.THEME_COLOR_LIMIT;r++){var h,p;const e="".concat(17-3*r),n=o?t.borderColorArray[r]:t.mainBkg,i=o?t.borderColorArray[r]:t.nodeBorder;d+="\n    .section-".concat(r-1," rect,\n    .section-").concat(r-1," path,\n    .section-").concat(r-1," circle {\n      fill: ").concat(s&&o?t.mainBkg:n,";\n      stroke: ").concat(i,";\n      stroke-width: ").concat(t.strokeWidth,";\n      filter: ").concat(l,";\n    }\n\n    .section-").concat(r-1," text {\n      fill: ").concat(t.nodeBorder,";\n      font-weight: ").concat(t.fontWeight,"\n    }\n\n    .node-icon-").concat(r-1," {\n      font-size: 40px;\n      color: ").concat(t["cScaleLabel"+r],";\n    }\n\n    .section-edge-").concat(r-1," {\n      stroke: ").concat(t["cScale"+r],";\n    }\n\n    .edge-depth-").concat(r-1," {\n      stroke-width: ").concat(e,";\n    }\n\n    .section-").concat(r-1," line {\n      stroke: ").concat(t["cScaleInv"+r],";\n      stroke-width: 3;\n    }\n\n    .lineWrapper line {\n      stroke: ").concat(t.nodeBorder,";\n      stroke-width:").concat(t.strokeWidth,"\n    }\n\n    .disabled,\n    .disabled circle,\n    .disabled text {\n      fill: ").concat(null!==(h=t.tertiaryColor)&&void 0!==h?h:"lightgray",";\n    }\n\n    .disabled text {\n      fill: ").concat(null!==(p=t.clusterBorder)&&void 0!==p?p:"#efefef",";\n    }\n    ")}return d}),"genReduxSections"),ot=(0,s.sp)((t=>{let e="";for(let a=0;a<t.THEME_COLOR_LIMIT;a++)t["lineColor"+a]=t["lineColor"+a]||t["cScaleInv"+a],(0,c.c)(t["lineColor"+a])?t["lineColor"+a]=(0,l.c)(t["lineColor"+a],20):t["lineColor"+a]=(0,d.c)(t["lineColor"+a],20);for(let a=0;a<t.THEME_COLOR_LIMIT;a++){var n,i;const r=""+(17-3*a);e+="\n    .section-".concat(a-1," rect, .section-").concat(a-1," path, .section-").concat(a-1," circle, .
1section-").concat(a-1," path  {\n      fill: ").concat(t["cScale"+a],";\n    }\n    .section-").concat(a-1," text {\n     fill: ").concat(t["cScaleLabel"+a],";\n    }\n    .node-icon-").concat(a-1," {\n      font-size: 40px;\n      color: ").concat(t["cScaleLabel"+a],";\n    }\n    .section-edge-").concat(a-1,"{\n      stroke: ").concat(t["cScale"+a],";\n    }\n    .edge-depth-").concat(a-1,"{\n      stroke-width: ").concat(r,";\n    }\n    .section-").concat(a-1," line {\n      stroke: ").concat(t["cScaleInv"+a]," ;\n      stroke-width: 3;\n    }\n\n    .lineWrapper line{\n      stroke: ").concat(t["cScaleLabel"+a]," ;\n    }\n\n    .disabled, .disabled circle, .disabled text {\n      fill: ").concat(null!==(n=t.tertiaryColor)&&void 0!==n?n:"lightgray",";\n    }\n    .disabled text {\n      fill: ").concat(null!==(i=t.clusterBorder)&&void 0!==i?i:"#efefef",";\n    }\n    ")}return e}),"genSections"),ct=(0,s.sp)((t=>{var e,n;const{theme:i}=(0,r.eE)(),a=null===i||void 0===i?void 0:i.includes("redux"),s="neutral"===i,o=null!==(e=null===(n=t.svgId)||void 0===n?void 0:n.replace(/^#/,""))&&void 0!==e?e:"";let c="";if(t.useGradient&&o&&t.THEME_COLOR_LIMIT&&!s)for(let r=0;r<t.THEME_COLOR_LIMIT;r++)c+="\n      .section-".concat(r-1,'[data-look="neo"] rect,\n      .section-').concat(r-1,'[data-look="neo"] path,\n      .section-').concat(r-1,'[data-look="neo"] circle {\n        fill: ').concat(t.mainBkg,";\n        stroke: url(#").concat(o,"-gradient);\n        stroke-width: 2;\n      }\n      .section-").concat(r-1,'[data-look="neo"] line {\n        stroke: url(#').concat(o,"-gradient);\n        stroke-width: 2;\n      }");return"\n  .edge {\n    stroke-width: 3;\n  }\n  ".concat(a?st(t):ot(t),"\n  ").concat(c,"\n  .section-root rect, .section-root path, .section-root circle  {\n    fill: ").concat(t.git0,";\n  }\n  .section-root text {\n    fill: ").concat(t.gitBranchLabel0,";\n  }\n  .icon-container {\n    height:100%;\n    display: flex;\n    justify-content: center;
1\n    align-items: center;\n  }\n  .edge {\n    fill: none;\n  }\n  .eventWrapper  {\n   filter: brightness(120%);\n  }\n")}),"getStyles"),lt={db:u,renderer:{setConf:(0,s.sp)((()=>{}),"setConf"),draw:(0,s.sp)(((t,e,n,i)=>{var a,r,s;return"TD"===(null!==(a=null===i||void 0===i||null===(r=i.db)||void 0===r||null===(s=r.getDirection)||void 0===s?void 0:s.call(r))&&void 0!==a?a:"LR")?rt.draw(t,e,n,i):tt.draw(t,e,n,i)}),"draw")},parser:p,styles:ct}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.