PageSourceSearch

https://untwttr.ai/_next/static/chunks/5102.189a6ff7e1a47fa8.js

js untwttr.ai collected 2026-10-05 15:57:26 UTC 27,823 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5102],{11501:function(t,e,n){n.d(e,{Z:function(){return u}});var i=n(57884),r=n(63621),a=n(51332);function s(t){return t.innerRadius}function c(t){return t.outerRadius}function o(t){return t.startAngle}function l(t){return t.endAngle}function h(t){return t&&t.padAngle}function d(t,e,n,i,a,s,c){var o=t-n,l=e-i,h=(c?s:-s)/(0,r._b)(o*o+l*l),d=h*l,u=-h*o,p=t+d,y=e+u,g=n+d,f=i+u,m=(p+g)/2,x=(y+f)/2,b=g-p,_=f-y,k=b*b+_*_,v=a-s,w=p*f-g*y,W=(_<0?-1:1)*(0,r._b)((0,r.Fp)(0,v*v*k-w*w)),S=(w*_-b*W)/k,E=(-w*b-_*W)/k,T=(w*_+b*W)/k,M=(-w*b+_*W)/k,H=S-m,I=E-x,C=T-m,A=M-x;return H*H+I*I>C*C+A*A&&(S=T,E=M),{cx:S,cy:E,x01:-d,y01:-u,x11:S*(a/v-1),y11:E*(a/v-1)}}function u(){var t=s,e=c,n=(0,i.Z)(0),u=null,p=o,y=l,g=h,f=null,m=(0,a.d)(x);function x(){var i,a,s=+t.apply(this,arguments),c=+e.apply(this,arguments),o=p.apply(this,arguments)-r.ou,l=y.apply(this,arguments)-r.ou,h=(0,r.Wn)(l-o),x=l>o;if(f||(f=i=m()),c<s&&(a=c,c=s,s=a),c>r.Ho){if(h>r.BZ-r.Ho)f.moveTo(c*(0,r.mC)(o),c*(0,r.O$)(o)),f.arc(0,0,c,o,l,!x),s>r.Ho&&(f.moveTo(s*(0,r.mC)(l),s*(0,r.O$)(l)),f.arc(0,0,s,l,o,x));else{var b,_,k=o,v=l,w=o,W=l,S=h,E=h,T=g.apply(this,arguments)/2,M=T>r.Ho&&(u?+u.apply(this,arguments):(0,r._b)(s*s+c*c)),H=(0,r.VV)((0,r.Wn)(c-s)/2,+n.apply(this,arguments)),I=H,C=H;if(M>r.Ho){var A=(0,r.ZR)(M/s*(0,r.O$)(T)),O=(0,r.ZR)(M/c*(0,r.O$)(T));(S-=2*A)>r.Ho?(w+=A*=x?1:-1,W-=A):(S=0,w=W=(o+l)/2),(E-=2*O)>r.Ho?(k+=O*=x?1:-1,v-=O):(E=0,k=v=(o+l)/2)}var $=c*(0,r.mC)(k),N=c*(0,r.O$)(k),P=s*(0,r.mC)(W),Z=s*(0,r.O$)(W);if(H>r.Ho){var L,R=c*(0,r.mC)(v),j=c*(0,r.O$)(v),D=s*(0,r.mC)(w),V=s*(0,r.O$)(w);if(h<r.pi){if(L=function(t,e,n,i,a,s,c,o){var l=n-t,h=i-e,d=c-a,u=o-s,p=u*l-d*h;if(!(p*p<r.Ho))return[t+(p=(d*(e-s)-u*(t-a))/p)*l,e+p*h]}($,N,D,V,R,j,P,Z)){var z=$-L[0],F=N-L[1],B=R-L[0],G=j-L[1],q=1/(0,r.O$)((0,r.Kh)((z*B+F*G)/((0,r._b)(z*z+F*F)*(0,r._b)(B*B+G*G)))/2),U=(0,r._b)(L[0]*L[0]+L[1]*L[1]);I=(0,r.VV)(H,(s-U)/(q-1)),C=(0,r.VV)(H,(c-U)/(q+1))}else I=C=0}}E>r.Ho?C>r.Ho?(b=d(D,V,$,N,c,C,x),_=d(R,j,P,Z,c,C,x),f.moveTo(b.cx+b.x01,b.cy+b.y01),C<H?f.arc(b.cx,b.cy,C,(0,r.fv)(b.y01,b.x01),(0,r.fv)(_.y01,_.x01),!x):(f.arc(b.cx,b.cy,C,(0,r.fv)(b.y01,b.x01),(0,r.fv)(b.y11,b.x11),!x),f.arc(0,0,c,(0,r.fv)(b.cy+b.y11,b.cx+b.x11),(0,r.fv)(_.cy+_.y11,_.cx+_.x11),!x),f.arc(_.cx,_.cy,C,(0,r.fv)(_.y11,_.x11),(0,r.fv)(_.y01,_.x01),!x))):(f.moveTo($,N),f.arc(0,0,c,k,v,!x)):f.moveTo($,N),s>r.Ho&&S>r.Ho?I>r.Ho?(b=d(P,Z,R,j,s,-I,x),_=d($,N,D,V,s,-I,x),f.lineTo(b.cx+b.x01,b.cy+b.y01),I<H?f.arc(b.cx,b.cy,I,(0,r.fv)(b.y01,b.x01),(0,r.fv)(_.y01,_.x01),!x):(f.arc(b.cx,b.cy,I,(0,r.fv)(b.y01,b.x01),(0,r.fv)(b.y11,b.x11),!x),f.arc(0,0,s,(0,r.fv)(b.cy+b.y11,b.cx+b.x11),(0,r.fv)(_.cy+_.y11,_.cx+_.x11),x),f.arc(_.cx,_.cy,I,(0,r.fv)(_.y11,_.x11),(0,r.fv)(_.y01,_.x01),!x))):f.arc(0,0,s,W,w,x):f.lineTo(P,Z)}}else f.moveTo(0,0);if(f.closePath(),i)return f=null,i+""||null}return x.centroid=function(){var n=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,i=(+p.apply(this,arguments)+ +y.apply(this,arguments))/2-r.pi/2;return[(0,r.mC)(i)*n,(0,r.O$)(i)*n]},x.innerRadius=function(e){return arguments.length?(t="function"==typeof e?e:(0,i.Z)(+e),x):t},x.outerRadius=function(t){return arguments.length?(e="function"==typeof t?t:(0,i.Z)(+t),x):e},x.cornerRadius=function(t){return arguments.length?(n="function"==typeof t?t:(0,i.Z)(+t),x):n},x.padRadius=function(t){return arguments.length?(u=null==t?null:"function"==typeof t?t:(0,i.Z)(+t),x):u},x.startAngle=function(t){return arguments.length?(p="function"==typeof t?t:(0,i.Z)(+t),x):p},x.endAngle=function(t){return arguments.length?(y="function"==typeof t?t:(0,i.Z)(+t),x):y},x.padAngle=function(t){return arguments.length?(g="function"==typeof t?t:(0,i.Z)(+t),x):g},x.context=function(t){return arguments.length?(f=null==t?null:t,x):f},x}},85102:function(t,e,n){n.d(e,{diagram:function(){return z}});var i=n(52016),r=n(5402),a=n(47260),s=n(91420),c=n(88642),o=n(11501),l=function(){var t=(0,i.eW)(function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},"o"),e=[6,8,10,11,12,14,16,17,20,21],n=[1,9],r=[1,10],a=[1,11],s=[1,12],c=[1,13],o=[1,16],l=[1,17],h={trace:(0,i.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,
1NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:(0,i.eW)(function(t,e,n,i,r,a,s){var c=a.length-1;switch(r){case 1:return a[c-1];case 2:case 6:case 7:this.$=[];break;case 3:a[c-1].push(a[c]),this.$=a[c-1];break;case 4:case 5:this.$=a[c];break;case 8:i.getCommonDb().setDiagramTitle(a[c].substr(6)),this.$=a[c].substr(6);break;case 9:this.$=a[c].trim(),i.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=a[c].trim(),i.getCommonDb().setAccDescription(this.$);break;case 12:i.addSection(a[c].substr(8)),this.$=a[c].substr(8);break;case 15:i.addTask(a[c],0,""),this.$=a[c];break;case 16:i.addEvent(a[c].substr(2)),this.$=a[c]}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:n,12:r,14:a,16:s,17:c,18:14,19:15,20:o,21:l},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:18,11:n,12:r,14:a,16:s,17:c,18:14,19:15,20:o,21:l},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,19]},{15:[1,20]},t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),t(e,[2,4]),t(e,[2,9]),t(e,[2,10])],defaultActions:{},parseError:(0,i.eW)(function(t,e){if(!e.recoverable){var n=Error(t);throw n.hash=e,n}this.trace(t)},"parseError"),parse:(0,i.eW)(function(t){var e=this,n=[0],r=[],a=[null],s=[],c=this.table,o="",l=0,h=0,d=s.slice.call(arguments,1),u=Object.create(this.lexer),p={yy:{}};for(var y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,y)&&(p.yy[y]=this.yy[y]);u.setInput(t,p.yy),p.yy.lexer=u,p.yy.parser=this,void 0===u.yylloc&&(u.yylloc={});var g=u.yylloc;s.push(g);var f=u.options&&u.options.ranges;function m(){var t;return"number"!=typeof(t=r.pop()||u.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,i.eW)(function(t){n.length=n.length-2*t,a.length=a.length-t,s.length=s.length-t},"popStack"),(0,i.eW)(m,"lex");for(var x,b,_,k,v,w,W,S,E={};;){if(b=n[n.length-1],this.defaultActions[b]?_=this.defaultActions[b]:(null==x&&(x=m()),_=c[b]&&c[b][x]),void 0===_||!_.length||!_[0]){var T="";for(v in S=[],c[b])this.terminals_[v]&&v>2&&S.push("'"+this.terminals_[v]+"'");T=u.showPosition?"Parse error on line "+(l+1)+":\n"+u.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[x]||x)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==x?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(T,{text:u.match,token:this.terminals_[x]||x,line:u.yylineno,loc:g,expected:S})}if(_[0]instanceof Array&&_.length>1)throw Error("Parse Error: multiple actions possible at state: "+b+", token: "+x);switch(_[0]){case 1:n.push(x),a.push(u.yytext),s.push(u.yylloc),n.push(_[1]),x=null,h=u.yyleng,o=u.yytext,l=u.yylineno,g=u.yylloc;break;case 2:if(w=this.productions_[_[1]][1],E.$=a[a.length-w],E._$={first_line:s[s.length-(w||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(w||1)].first_column,last_column:s[s.length-1].last_column},f&&(E._$.range=[s[s.length-(w||1)].range[0],s[s.length-1].range[1]]),void 0!==(k=this.performAction.apply(E,[o,h,l,p.yy,_[1],a,s].concat(d))))return k;w&&(n=n.slice(0,-1*w*2),a=a.slice(0,-1*w),s=s.slice(0,-1*w)),n.push(this.productions_[_[1]][0]),a.push(E.$),s.push(E._$),W=c[n[n.length-2]][n[n.length-1]],n.push(W);break;case 3:return!0}}return!0},"parse")},d={EOF:1,parseError:(0,i.eW)(function(t,e){if(!this.yy.parser)throw Error(t);this.yy.parser.parseError(t,e)},"parseError"),setInput:(0,i.eW)(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,i.eW)(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,i.eW)(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 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===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=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,i.eW)(function(){return this._more=!0,this},"more"),reject:(0,i.eW)(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,i.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,i.eW)(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,i.eW)(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,i.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,i.eW)(function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={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&&(r.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 a in r)this[a]=r[a];return!1},"test_match"),next:(0,i.eW)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,n,i,r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[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,i.eW)(function(){return this.next()||this.lex()},"lex"),begin:(0,i.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,i.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,i.eW)(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,i.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,i.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,i.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,i.eW)(function(t,e,n,i){switch(n){case 0:case 1:case 3:case 4:break;case 2:return 10;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 21;case 16:return 20;case 17:return 6;case 18:return"INVALID"}},"anonymous"),rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/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:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18],inclusive:!0}}};function u(){this.yy={}}return h.lexer=d,(0,i.eW)(u,"Parser"),u.prototype=h,h.Parser=u,new u}();l.parser=l;var h={};(0,i.r2)(h,{addEvent:()=>v,addSection:()=>x,addTask:()=>k,addTaskOrg:()=>w,clear:()=>m,default:()=>S,getCommonDb:()=>f,getSections:()=>b,getTasks:()=>_});var d="",u=0,p=[],y=[],g=[],f=(0,i.eW)(()=>i.LJ,"getCommonDb"),m=(0,i.eW)(function(){p.length=0,y.length=0,d="",g.length=0,(0,i.ZH)()},"clear"),x=(0,i.eW)(function(t){d=t,p.push(t)},"addSection"),b=(0,i.eW)(function(){return p},"getSections"),_=(0,i.eW)(function(){let t=W(),e=0;for(;!t&&e<100;)t=W(),e++;return y.push(...g),y},"getTasks"),k=(0,i.eW)(function(t,e,n){let i={id:u++,section:d,type:d,task:t,score:e||0,events:n?[n]:[]};g.push(i)}
1,"addTask"),v=(0,i.eW)(function(t){g.find(t=>t.id===u-1).events.push(t)},"addEvent"),w=(0,i.eW)(function(t){let e={section:d,type:d,description:t,task:t,classes:[]};y.push(e)},"addTaskOrg"),W=(0,i.eW)(function(){let t=(0,i.eW)(function(t){return g[t].processed},"compileTask"),e=!0;for(let[n,i]of g.entries())t(n),e=e&&i.processed;return e},"compileTasks"),S={clear:m,getCommonDb:f,addSection:x,getSections:b,getTasks:_,addTask:k,addTaskOrg:w,addEvent:v},E=(0,i.eW)(function(t,e){let 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"),T=(0,i.eW)(function(t,e){let n=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),r=t.append("g");function a(t){let n=(0,o.Z)().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",n).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}function s(t){let n=(0,o.Z)().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",n).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}function c(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 r.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"),r.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,i.eW)(a,"smile"),(0,i.eW)(s,"sad"),(0,i.eW)(c,"ambivalent"),e.score>3?a(r):e.score<3?s(r):c(r),n},"drawFace"),M=((0,i.eW)(function(t,e){let 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"),(0,i.eW)(function(t,e){let 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);let r=i.append("tspan");return r.attr("x",e.x+2*e.textMargin),r.text(n),i},"drawText")),H=((0,i.eW)(function(t,e){function n(t,e,n,i,r){return t+","+e+" "+(t+n)+","+e+" "+(t+n)+","+(e+i-r)+" "+(t+n-1.2*r)+","+(e+i)+" "+t+","+(e+i)}(0,i.eW)(n,"genPoints");let r=t.append("polygon");r.attr("points",n(e.x,e.y,50,20,7)),r.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,M(t,e)},"drawLabel"),(0,i.eW)(function(t,e,n){let i=t.append("g"),r=I();r.x=e.x,r.y=e.y,r.fill=e.fill,r.width=n.width,r.height=n.height,r.class="journey-section section-type-"+e.num,r.rx=3,r.ry=3,E(i,r),C(n)(e.text,i,r.x,r.y,r.width,r.height,{class:"journey-section section-type-"+e.num},n,e.colour)},"drawSection"),-1),I=((0,i.eW)(function(t,e,n){let i=e.x+n.width/2,r=t.append("g");H++,r.append("line").attr("id","task"+H).attr("x1",i).attr("y1",e.y).attr("x2",i).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),T(r,{cx:i,cy:300+30*(5-e.score),score:e.score});let a=I();a.x=e.x,a.y=e.y,a.fill=e.fill,a.width=n.width,a.height=n.height,a.class="task task-type-"+e.num,a.rx=3,a.ry=3,E(r,a),C(n)(e.task,r,a.x,a.y,a.width,a.height,{class:"task"},n,e.colour)},"drawTask"),(0,i.eW)(function(t,e){E(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,i.eW)(function(){return{x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}},"getTextObj"),(0,i.eW)(function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},"getNoteRect")),C=function(){function t(t,e,n,i,a,s,c,o){r(e.append("text").attr("x",
1n+a/2).attr("y",i+s/2+5).style("font-color",o).style("text-anchor","middle").text(t),c)}function e(t,e,n,i,a,s,c,o,l){let{taskFontSize:h,taskFontFamily:d}=o,u=t.split(/<br\s*\/?>/gi);for(let t=0;t<u.length;t++){let o=t*h-h*(u.length-1)/2,p=e.append("text").attr("x",n+a/2).attr("y",i).attr("fill",l).style("text-anchor","middle").style("font-size",h).style("font-family",d);p.append("tspan").attr("x",n+a/2).attr("dy",o).text(u[t]),p.attr("y",i+s/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),r(p,c)}}function n(t,n,i,a,s,c,o,l){let h=n.append("switch"),d=h.append("foreignObject").attr("x",i).attr("y",a).attr("width",s).attr("height",c).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");d.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,h,i,a,s,c,o,l),r(d,o)}function r(t,e){for(let n in e)n in e&&t.attr(n,e[n])}return(0,i.eW)(t,"byText"),(0,i.eW)(e,"byTspan"),(0,i.eW)(n,"byFo"),(0,i.eW)(r,"_setTextAttrs"),function(i){return"fo"===i.textPlacement?n:"old"===i.textPlacement?t:e}}(),A=(0,i.eW)(function(t){t.append("defs").append("marker").attr("id","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 O(t,e){t.each(function(){var t,n=(0,r.Z)(this),i=n.text().split(/(\s+|<br>)/).reverse(),a=[],s=n.attr("y"),c=parseFloat(n.attr("dy")),o=n.text(null).append("tspan").attr("x",0).attr("y",s).attr("dy",c+"em");for(let r=0;r<i.length;r++)t=i[i.length-1-r],a.push(t),o.text(a.join(" ").trim()),(o.node().getComputedTextLength()>e||"<br>"===t)&&(a.pop(),o.text(a.join(" ").trim()),a="<br>"===t?[""]:[t],o=n.append("tspan").attr("x",0).attr("y",s).attr("dy","1.1em").text(t))})}(0,i.eW)(O,"wrap");var $=(0,i.eW)(function(t,e,n,i){var r;let a=n%12-1,s=t.append("g");e.section=a,s.attr("class",(e.class?e.class+" ":"")+"timeline-node section-"+a);let c=s.append("g"),o=s.append("g"),l=o.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(O,e.width).node().getBBox(),h=(null===(r=i.fontSize)||void 0===r?void 0:r.replace)?i.fontSize.replace("px",""):i.fontSize;return e.height=l.height+1.1*h*.5+e.padding,e.height=Math.max(e.height,e.maxHeight),e.width=e.width+2*e.padding,o.attr("transform","translate("+e.width/2+", "+e.padding/2+")"),P(c,e,a,i),e},"drawNode"),N=(0,i.eW)(function(t,e,n){var i;let r=t.append("g"),a=r.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(O,e.width).node().getBBox(),s=(null===(i=n.fontSize)||void 0===i?void 0:i.replace)?n.fontSize.replace("px",""):n.fontSize;return r.remove(),a.height+1.1*s*.5+e.padding},"getVirtualNodeHeight"),P=(0,i.eW)(function(t,e,n){t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+e.type).attr("d","M0 ".concat(e.height-5," v").concat(10-e.height," q0,-5 5,-5 h").concat(e.width-10," q5,0 5,5 v").concat(e.height-5," H0 Z")),t.append("line").attr("class","node-line-"+n).attr("x1",0).attr("y1",e.height).attr("x2",e.width).attr("y2",e.height)},"defaultBkg"),Z={initGraphics:A,drawNode:$,getVirtualNodeHeight:N},L=(0,i.eW)(function(t,e,n,a){var s,c,o,l,h;let d;let u=(0,i.nV)(),p=null!==(o=u.leftMargin)&&void 0!==o?o:50;i.cM.debug("timeline",a.db);let y=u.securityLevel;"sandbox"===y&&(d=(0,r.Z)("#i"+e));let g=(0,r.Z)("sandbox"===y?d.nodes()[0].contentDocument.body:"body").select("#"+e);g.append("g");let f=a.db.getTasks(),m=a.db.getCommonDb().getDiagramTitle();i.cM.debug("task",f),Z.initGraphics(g);let x=a.db.getSections();i.cM.debug("sections",x);let b=0,_=0,k=0,v=50+p,w=50,W=0,S=!0;x.forEach(function(t){let e={number:W,descr:t,section:W,width:150,padding:20,maxHeight:b},n=Z.getVirtualNodeHeight(g,e,u);i.cM.debug("sectionHeight before draw",n),b=Math.max(b,n+20)});let E=0,T=0;for(let[t,e]of(i.cM.debug("tasks.length",f.length),f.entries())){let n={number:t,descr:e,section:e.section,width:150,padding:20,maxHeight:_},r=Z.getVirtualNodeHeight(g,n,u);i.cM.debug("taskHeight before draw",r),_=Math.max(_,r+20),E=Math.max(E,e.events.length);let a=0;for(let t of e.events){let n={descr:t,section:e.section,number:e.section,width:150,padding:20,maxHeight:50};a+=Z.getVirtualNodeHeight(g,n,u)}e.events.length>0&&(a+=10*(e.events.length-1)),T=Math.max(T,a)}i.cM.debug("maxSectionHeight before draw",b),i.cM.debug("maxTaskHeight before draw",_),x&&x.length>0?x.forEach(t=>{let e=f.filter(e=>e.section===t),n={number:W,descr:t,section:W,width:200*Math.max(e.length,1)-50,padding:20,maxHeight:b};i.cM.debug("sectionNode",n);let r=g.append("g"),a=Z.drawNode(r,n,W,u);i.cM.debug("sectionNode output",a),r.attr("transform","translate(".concat(v,", 50)")),w+=b+50,e.length>0&&R(g,e,W,v,w,_,u,E,T,b,!1),v+=200*Math.max(e.length,1),w=50,W++}):(S=!1,R(g,f,W,v,w,_,u,E,T,b,!0));let M=g.node().getBBox();i.cM.debug("bounds",M),m&&g.append("text").text(m).attr("x",M.width/2-p).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),k=S?b+_+150:_+100,g.append("g").attr("class","lineWrapper").append("line").attr("x1",p).attr("y1",k).attr("x2",M.width+3*p).attr("y2",k).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),(0,i.j7)(void 0,g,null!==(l=null===(s=u.timeline)||void 0===s?void 0:s.padding)&&void 0!==l?l:50,null!==(h=null===(c=u.timeline)||void 0===c?void 0:c.useMaxWidth)&&void 0!==h&&h)},"draw"),R=(0,i.eW)(function(t,e,n,r,a,s,c,o,l,h,d){for(let o of e){var u;let e={descr:o.task,section:n,number:n,width:150,padding:20,maxHeight:s};i.cM.debug("taskNode",e);let h=t.append("g").attr("class","taskWrapper"),p=Z.drawNode(h,e,n,c).height;if(i.cM.debug("taskHeight after draw",p),h.attr("transform","translate(".concat(r,", ").concat(a,")")),s=Math.max(s,p),o.events){let e=t.append("g").attr("class","lineWrapper");a+=100,j(t,o.events,n,r,a,c),a-=100,e.append("line").attr("x1",r+95).attr("y1",a+s).attr("x2",r+95).attr("y2",a+s+100+l+100).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}r+=200,d&&!(null===(u=c.timeline)||void 0===u?void 0:u.disableMulticolor)&&n++}},"drawTasks"),j=(0,i.eW)(function(t,e,n,r,a,s){let c=0,o=a;for(let o of(a+=100,e)){let e={descr:o,section:n,number:n,width:150,padding:20,maxHeight:50};i.cM.debug("eventNode",e);let l=t.append("g").attr("class","eventWrapper"),h=Z.drawNode(l,e,n,s).height;c+=h,l.attr("transform","translate(".concat(r,", ").concat(a,")")),a=a+10+h}return a=o,c},"drawEvents"),D={setConf:(0,i.eW)(()=>{},"setConf"),draw:L},V=(0,i.eW)(t=>{let e="";for(let e=0;e<t.THEME_COLOR_LIMIT;e++)t["lineColor"+e]=t["lineColor"+e]||t["cScaleInv"+e],(0,a.Z)(t["lineColor"+e])?t["lineColor"+e]=(0,s.Z)(t["lineColor"+e],20):t["lineColor"+e]=(0,c.Z)(t["lineColor"+e],20);for(let n=0;n<t.THEME_COLOR_LIMIT;n++){let i=""+(17-3*n);e+="\n    .section-".concat(n-1," rect, .section-").concat(n-1," path, .section-").concat(n-1," circle, .
1section-").concat(n-1," path  {\n      fill: ").concat(t["cScale"+n],";\n    }\n    .section-").concat(n-1," text {\n     fill: ").concat(t["cScaleLabel"+n],";\n    }\n    .node-icon-").concat(n-1," {\n      font-size: 40px;\n      color: ").concat(t["cScaleLabel"+n],";\n    }\n    .section-edge-").concat(n-1,"{\n      stroke: ").concat(t["cScale"+n],";\n    }\n    .edge-depth-").concat(n-1,"{\n      stroke-width: ").concat(i,";\n    }\n    .section-").concat(n-1," line {\n      stroke: ").concat(t["cScaleInv"+n]," ;\n      stroke-width: 3;\n    }\n\n    .lineWrapper line{\n      stroke: ").concat(t["cScaleLabel"+n]," ;\n    }\n\n    .disabled, .disabled circle, .disabled text {\n      fill: lightgray;\n    }\n    .disabled text {\n      fill: #efefef;\n    }\n    ")}return e},"genSections"),z={db:h,renderer:D,parser:l,styles:(0,i.eW)(t=>"\n  .edge {\n    stroke-width: 3;\n  }\n  ".concat(V(t),"\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")}}}]);

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.