1!function(){try{var t="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="ab02315c-75fe-43a0-b429-fc965500e203",t._sentryDebugIdIdentifier="sentry-dbid-ab02315c-75fe-43a0-b429-fc965500e203")}catch(t){}}();"use strict";(self.webpackChunkaudioboom_web=self.webpackChunkaudioboom_web||[]).push([[6890],{96890:function(t,e,i){var a=i(34435),n=i(50799),o=i(96584),r=i(70135),h=i(73825),s=i(30268),d=i(68951),l=i(86349),c=i(16184),g=i(62418),p=i(71526),f=i(6298);let u=[...h.EY.prototype._attrsAffectingSize,"width","height","pointerDirection","pointerWidth","pointerHeight"].map(t=>t+"Change.konva").join(" "),b="right",w="down",m="left";class y extends g.Y{constructor(t){super(t),this._sync=this._sync.bind(this),this.on("add.konva",function(t){t.child.off(u,this._sync).on(u,this._sync),this._sync()})}getText(){return this.find("Text")[0]}getTag(){return this.find("Tag")[0]}getWidth(){return this.getText().width()}getHeight(){return this.getText().height()}_sync(){let t=this.getText(),e=this.getTag(),i,a,n,o,r,h,s;if(t&&e){switch(i=t.width(),a=t.height(),n=e.pointerDirection(),o=e.pointerWidth(),s=e.pointerHeight(),r=0,h=0,n){case"up":r=i/2,h=-1*s;break;case b:r=i+o,h=a/2;break;case w:r=i/2,h=a+s;break;case m:r=-1*o,h=a/2}e.setAttrs({x:-1*r,y:-1*h,width:i,height:a}),t.setAttrs({x:-1*r,y:-1*h})}}}y.prototype.className="Label",(0,f.bo)(y);class x extends c.y{_sceneFunc(t){let e=this.width(),i=this.height(),a=this.pointerDirection(),n=this.pointerWidth(),o=this.pointerHeight(),r=this.cornerRadius(),[h,s,d,c]=l.J0._cornerRadii(r,e,i);t.beginPath(),t.moveTo(h,0),"up"===a&&(t.lineTo((e-n)/2,0),t.lineTo(e/2,-1*o),t.lineTo((e+n)/2,0)),t.lineTo(e-s,0),t.arc(e-s,s,s,3*Math.PI/2,0,!1),a===b&&(t.lineTo(e,(i-o)/2),t.lineTo(e+n,i/2),t.lineTo(e,(i+o)/2)),t.lineTo(e,i-d),t.arc(e-d,i-d,d,0,Math.PI/2,!1),a===w&&(t.lineTo((e+n)/2,i),t.lineTo(e/2,i+o),t.lineTo((e-n)/2,i)),t.lineTo(c,i),t.arc(c,i-c,c,Math.PI/2,Math.PI,!1),a===m&&(t.lineTo(0,(i+o)/2),t.lineTo(-1*n,i/2),t.lineTo(0,(i-o)/2)),t.lineTo(0,h),t.arc(h,h,h,Math.PI,3*Math.PI/2,!1),t.closePath(),t.fillStrokeShape(this)}getSelfRect(){let t=this.pointerWidth(),e=this.pointerHeight(),i=this.pointerDirection(),a=this.width(),n=this.height();return"up"===i||i===w?{x:Math.min(0,(a-t)/2),y:"up"===i?-e:0,width:Math.max(a,t),height:n+e}:i===m||i===b?{x:i===m?-t:0,y:Math.min(0,(n-e)/2),width:a+t,height:Math.max(n,e)}:{x:0,y:0,width:a,height:n}}}function T(t){var e=0;if(0===t.length)return e;for(var i=0;i<t.length;i++)e=(e<<5)-e+t.charCodeAt(i),e&=e;return Math.abs(e)}x.prototype.className="Tag",(0,f.bo)(x,!0),d.$.addGetterSetter(x,"pointerDirection","none"),d.$.addGetterSetter(x,"pointerWidth",0,(0,p.oz)()),d.$.addGetterSetter(x,"pointerHeight",0,(0,p.oz)()),d.$.addGetterSetter(x,"cornerRadius",0,(0,p.VQ)(4)),(0,a.Hg)(".js-jobs-timeline",function(t){let e,i,a,d=((e=JSON.parse(t.dataset.queue||"[]")).sort((t,e)=>t.time-e.time),t.dataset.queue="",e),l=((i=JSON.parse(t.dataset.jobs||"[]")).sort((t,e)=>t.time-e.time),a=[],i.forEach(t=>{let e,i,n,o,r=0;for(;;){let e=a[r];if(!e||e.time+e.duration<t.time){a[r]=t;break}r++}t.track=r,t.endTime=t.time+t.duration,i=.5*T(e=t.job.split("(")[0])%360,n=T(e+"a")%40*2+20,o=T(e+"b")%3*25+25,t.color=`hsl(${i},${n}%,${o}%)`}),t.dataset.jobs="",i),c=t.offsetWidth,g=60+30*Math.max(...l.map(t=>t.track+1))+60,p=document.createElement("div");t.appendChild(p);let f=new n.B({container:p,width:c,height:g}),u=l[0].time,b=Math.max(...l.map(t=>t.time+t.duration)),w=c/(b-u),m=new o.W({listening:!1}),k=new o.W({listening:!1});l.forEach(t=>{let e=new r.r({x:(t.time-u)*w,y:30*t.track,width:t.duration*w,height:30,fill:t.color});e.listening(!1),m.add(e)});var v=new y({alpha:.75,visible:!1});v.add(new x({fill:"white"})),v.add(new h.EY({fontFamily:"Calibri",text:"",fontSize:12,padding:5,fill:"black"})),k.add(v),f.on("wheel",t=>{let e,i;t.evt.preventDefault();var a=m.scaleX(),n=f.getPointerPosition();if(Math.abs(t.evt.deltaX)>Math.abs(t.evt.deltaY))e=a,i=m.x()+t.evt.deltaX;else{let o=(n.x-m.x())/a;(e=t.evt.deltaY>0?1.1*a:a/1.1)<1&&(e=1),i=n.x-o*e}
1[m,M].forEach(t=>{t.scale({x:e,y:1});var a={x:i,y:t.position().y};t.position(a),t.batchDraw()})}),m.y(60),f.add(m);let M=new o.W,D=Math.max(...d.map(t=>t.length))||1;M.add(new s.N({points:d.flatMap(t=>[(t.time-u)*w,60*(1-t.length/D)]),stroke:"rgba(100,0,200,0.5)"})),M.add(new h.EY({text:new Date(1e3*u).toLocaleString(),padding:5,fill:"black",x:0,y:40,width:c,height:20})),M.add(new h.EY({text:new Date(1e3*b).toLocaleString(),padding:5,fill:"black",x:0,y:40,width:c,height:20,align:"right"})),f.on("mousemove",function(){let t,e=f.getPointerPosition(),i=u+(b-u)*((e.x-m.position().x)/m.scaleX()/c);if(e.y<60){let e=d.find(t=>t.time>i)?.length;void 0!==e&&(t=new Date(1e3*i).toLocaleString()+` / ${e} jobs overdue`)}else{let a=Math.floor((e.y-60)/30),n=l.find(t=>t.track===a&&t.time<=i&&i<t.endTime);n&&(t=` 2${n.job} 3${new Date(1e3*n.time).toLocaleString()} 4Duration: ${n.duration}s 5Track: ${n.track} 6`)}t?(v.getText().text(t),v.position({x:Math.min(c-v.getText().width()-30,e.x+5),y:e.y+5}),v.show()):v.hide(),k.batchDraw()}),f.on("mouseout",function(){v.hide(),k.draw()}),f.add(M),f.add(k)})}}]);
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.