quadwork 1.0.2 → 1.0.3

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 (79) hide show
  1. package/bin/quadwork.js +137 -90
  2. package/out/404.html +1 -1
  3. package/out/__next.__PAGE__.txt +1 -1
  4. package/out/__next._full.txt +1 -1
  5. package/out/__next._head.txt +1 -1
  6. package/out/__next._index.txt +1 -1
  7. package/out/__next._tree.txt +1 -1
  8. package/out/_next/static/chunks/{0jt42fqe6jaw6.js → 00cs~pv62864f.js} +1 -1
  9. package/out/_next/static/chunks/{0q5hwcek8vu2q.js → 0g7f4hvbz_1u~.js} +1 -1
  10. package/out/_not-found/__next._full.txt +1 -1
  11. package/out/_not-found/__next._head.txt +1 -1
  12. package/out/_not-found/__next._index.txt +1 -1
  13. package/out/_not-found/__next._not-found.__PAGE__.txt +1 -1
  14. package/out/_not-found/__next._not-found.txt +1 -1
  15. package/out/_not-found/__next._tree.txt +1 -1
  16. package/out/_not-found.html +1 -1
  17. package/out/_not-found.txt +1 -1
  18. package/out/app-shell/__next._full.txt +1 -1
  19. package/out/app-shell/__next._head.txt +1 -1
  20. package/out/app-shell/__next._index.txt +1 -1
  21. package/out/app-shell/__next._tree.txt +1 -1
  22. package/out/app-shell/__next.app-shell.__PAGE__.txt +1 -1
  23. package/out/app-shell/__next.app-shell.txt +1 -1
  24. package/out/app-shell.html +1 -1
  25. package/out/app-shell.txt +1 -1
  26. package/out/index.html +1 -1
  27. package/out/index.txt +1 -1
  28. package/out/project/_/__next._full.txt +2 -2
  29. package/out/project/_/__next._head.txt +1 -1
  30. package/out/project/_/__next._index.txt +1 -1
  31. package/out/project/_/__next._tree.txt +1 -1
  32. package/out/project/_/__next.project.$d$id.__PAGE__.txt +2 -2
  33. package/out/project/_/__next.project.$d$id.txt +1 -1
  34. package/out/project/_/__next.project.txt +1 -1
  35. package/out/project/_/memory/__next._full.txt +1 -1
  36. package/out/project/_/memory/__next._head.txt +1 -1
  37. package/out/project/_/memory/__next._index.txt +1 -1
  38. package/out/project/_/memory/__next._tree.txt +1 -1
  39. package/out/project/_/memory/__next.project.$d$id.memory.__PAGE__.txt +1 -1
  40. package/out/project/_/memory/__next.project.$d$id.memory.txt +1 -1
  41. package/out/project/_/memory/__next.project.$d$id.txt +1 -1
  42. package/out/project/_/memory/__next.project.txt +1 -1
  43. package/out/project/_/memory.html +1 -1
  44. package/out/project/_/memory.txt +1 -1
  45. package/out/project/_/queue/__next._full.txt +1 -1
  46. package/out/project/_/queue/__next._head.txt +1 -1
  47. package/out/project/_/queue/__next._index.txt +1 -1
  48. package/out/project/_/queue/__next._tree.txt +1 -1
  49. package/out/project/_/queue/__next.project.$d$id.queue.__PAGE__.txt +1 -1
  50. package/out/project/_/queue/__next.project.$d$id.queue.txt +1 -1
  51. package/out/project/_/queue/__next.project.$d$id.txt +1 -1
  52. package/out/project/_/queue/__next.project.txt +1 -1
  53. package/out/project/_/queue.html +1 -1
  54. package/out/project/_/queue.txt +1 -1
  55. package/out/project/_.html +1 -1
  56. package/out/project/_.txt +2 -2
  57. package/out/settings/__next._full.txt +1 -1
  58. package/out/settings/__next._head.txt +1 -1
  59. package/out/settings/__next._index.txt +1 -1
  60. package/out/settings/__next._tree.txt +1 -1
  61. package/out/settings/__next.settings.__PAGE__.txt +1 -1
  62. package/out/settings/__next.settings.txt +1 -1
  63. package/out/settings.html +1 -1
  64. package/out/settings.txt +1 -1
  65. package/out/setup/__next._full.txt +1 -1
  66. package/out/setup/__next._head.txt +1 -1
  67. package/out/setup/__next._index.txt +1 -1
  68. package/out/setup/__next._tree.txt +1 -1
  69. package/out/setup/__next.setup.__PAGE__.txt +1 -1
  70. package/out/setup/__next.setup.txt +1 -1
  71. package/out/setup.html +1 -1
  72. package/out/setup.txt +1 -1
  73. package/package.json +1 -1
  74. package/server/config.js +16 -1
  75. package/server/index.js +57 -7
  76. package/server/routes.js +1 -0
  77. /package/out/_next/static/{SwKH2uVylbTKqdEOmtulv → dHGCNcsZ-ELS8oJiLw51p}/_buildManifest.js +0 -0
  78. /package/out/_next/static/{SwKH2uVylbTKqdEOmtulv → dHGCNcsZ-ELS8oJiLw51p}/_clientMiddlewareManifest.js +0 -0
  79. /package/out/_next/static/{SwKH2uVylbTKqdEOmtulv → dHGCNcsZ-ELS8oJiLw51p}/_ssgManifest.js +0 -0
@@ -17,4 +17,4 @@ WARNING: This link could potentially be dangerous`)){let i=window.open();if(i){t
17
17
  `&&(this._liveRegionLineCount++,21===this._liveRegionLineCount&&(this._liveRegion.textContent+=y)))}_clearLiveRegion(){this._liveRegion.textContent="",this._liveRegionLineCount=0}_handleKey(e){this._clearLiveRegion(),/\p{Control}/u.test(e)||this._charsToConsume.push(e)}_refreshRows(e,i){this._liveRegionDebouncer.refresh(e,i,this._terminal.rows)}_renderRows(e,i){let s=this._terminal.buffer,r=s.lines.length.toString();for(let n=e;n<=i;n++){let e=s.lines.get(s.ydisp+n),i=[],o=e?.translateToString(!0,void 0,void 0,i)||"",a=(s.ydisp+n+1).toString(),h=this._rowElements[n];h&&(0===o.length?(h.textContent=" ",this._rowColumns.set(h,[0,1])):(h.textContent=o,this._rowColumns.set(h,i)),h.setAttribute("aria-posinset",a),h.setAttribute("aria-setsize",r),this._alignRowWidth(h))}this._announceCharacters()}_announceCharacters(){0!==this._charsToAnnounce.length&&(this._liveRegion.textContent+=this._charsToAnnounce,this._charsToAnnounce="")}_handleBoundaryFocus(e,i){let s,r,n=e.target,o=this._rowElements[0===i?1:this._rowElements.length-2];if(n.getAttribute("aria-posinset")!==(0===i?"1":`${this._terminal.buffer.lines.length}`)&&e.relatedTarget===o){if(0===i?(s=n,r=this._rowElements.pop(),this._rowContainer.removeChild(r)):(s=this._rowElements.shift(),r=n,this._rowContainer.removeChild(s)),s.removeEventListener("focus",this._topBoundaryFocusListener),r.removeEventListener("focus",this._bottomBoundaryFocusListener),0===i){let e=this._createAccessibilityTreeNode();this._rowElements.unshift(e),this._rowContainer.insertAdjacentElement("afterbegin",e)}else{let e=this._createAccessibilityTreeNode();this._rowElements.push(e),this._rowContainer.appendChild(e)}this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(0===i?-1:1),this._rowElements[0===i?1:this._rowElements.length-2].focus(),e.preventDefault(),e.stopImmediatePropagation()}}_handleSelectionChange(){if(0===this._rowElements.length)return;let e=this._coreBrowserService.mainDocument.getSelection();if(!e)return;if(e.isCollapsed){this._rowContainer.contains(e.anchorNode)&&this._terminal.clearSelection();return}if(!e.anchorNode||!e.focusNode)return void console.error("anchorNode and/or focusNode are null");let i={node:e.anchorNode,offset:e.anchorOffset},s={node:e.focusNode,offset:e.focusOffset};if((i.node.compareDocumentPosition(s.node)&Node.DOCUMENT_POSITION_PRECEDING||i.node===s.node&&i.offset>s.offset)&&([i,s]=[s,i]),i.node.compareDocumentPosition(this._rowElements[0])&(Node.DOCUMENT_POSITION_CONTAINED_BY|Node.DOCUMENT_POSITION_FOLLOWING)&&(i={node:this._rowElements[0].childNodes[0],offset:0}),!this._rowContainer.contains(i.node))return;let r=this._rowElements.slice(-1)[0];if(s.node.compareDocumentPosition(r)&(Node.DOCUMENT_POSITION_CONTAINED_BY|Node.DOCUMENT_POSITION_PRECEDING)&&(s={node:r,offset:r.textContent?.length??0}),!this._rowContainer.contains(s.node))return;let n=({node:e,offset:i})=>{let s=e instanceof Text?e.parentNode:e,r=parseInt(s?.getAttribute("aria-posinset"),10)-1;if(isNaN(r))return console.warn("row is invalid. Race condition?"),null;let n=this._rowColumns.get(s);if(!n)return console.warn("columns is null. Race condition?"),null;let o=i<n.length?n[i]:n.slice(-1)[0]+1;return o>=this._terminal.cols&&(++r,o=0),{row:r,column:o}},o=n(i),a=n(s);if(!(!o||!a)){if(o.row>a.row||o.row===a.row&&o.column>=a.column)throw Error("invalid range");this._terminal.select(o.column,o.row,(a.row-o.row)*this._terminal.cols-o.column+a.column)}}_handleResize(e){this._rowElements[this._rowElements.length-1].removeEventListener("focus",this._bottomBoundaryFocusListener);for(let e=this._rowContainer.children.length;e<this._terminal.rows;e++)this._rowElements[e]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[e]);for(;this._rowElements.length>e;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()}_createAccessibilityTreeNode(){let e=this._coreBrowserService.mainDocument.createElement("div");return e.setAttribute("role","listitem"),e.tabIndex=-1,this._refreshRowDimensions(e),e}_refreshRowsDimensions(){if(this._renderService.dimensions.css.cell.height){Object.assign(this._accessibilityContainer.style,{width:`${this._renderService.dimensions.css.canvas.width}px`,fontSize:`${this._terminal.options.fontSize}px`}),this._rowElements.length!==this._terminal.rows&&this._handleResize(this._terminal.rows);for(let e=0;e<this._terminal.rows;e++)this._refreshRowDimensions(this._rowElements[e]),this._alignRowWidth(this._rowElements[e])}}_refreshRowDimensions(e){e.style.height=`${this._renderService.dimensions.css.cell.height}px`}_alignRowWidth(e){e.style.transform="";let i=e.getBoundingClientRect().width,s=this._rowColumns.get(e)?.slice(-1)?.[0];if(!s)return;let r=s*this._renderService.dimensions.css.cell.width;e.style.transform=`scaleX(${r/i})`}};rU=S([b(1,F),b(2,X),b(3,J)],rU);var rq=class extends eg{constructor(e,i,s,r,n){super(),this._element=e,this._mouseService=i,this._renderService=s,this._bufferService=r,this._linkProviderService=n,this._linkCacheDisposables=[],this._isMouseOut=!0,this._wasResized=!1,this._activeLine=-1,this._onShowLinkUnderline=this._register(new eN),this.onShowLinkUnderline=this._onShowLinkUnderline.event,this._onHideLinkUnderline=this._register(new eN),this.onHideLinkUnderline=this._onHideLinkUnderline.event,this._register(e_(()=>{eu(this._linkCacheDisposables),this._linkCacheDisposables.length=0,this._lastMouseEvent=void 0,this._activeProviderReplies?.clear()})),this._register(this._bufferService.onResize(()=>{this._clearCurrentLink(),this._wasResized=!0})),this._register(tW(this._element,"mouseleave",()=>{this._isMouseOut=!0,this._clearCurrentLink()})),this._register(tW(this._element,"mousemove",this._handleMouseMove.bind(this))),this._register(tW(this._element,"mousedown",this._handleMouseDown.bind(this))),this._register(tW(this._element,"mouseup",this._handleMouseUp.bind(this)))}get currentLink(){return this._currentLink}_handleMouseMove(e){this._lastMouseEvent=e;let i=this._positionFromMouseEvent(e,this._element,this._mouseService);if(!i)return;this._isMouseOut=!1;let s=e.composedPath();for(let e=0;e<s.length;e++){let i=s[e];if(i.classList.contains("xterm"))break;if(i.classList.contains("xterm-hover"))return}this._lastBufferCell&&i.x===this._lastBufferCell.x&&i.y===this._lastBufferCell.y||(this._handleHover(i),this._lastBufferCell=i)}_handleHover(e){if(this._activeLine!==e.y||this._wasResized){this._clearCurrentLink(),this._askForLink(e,!1),this._wasResized=!1;return}this._currentLink&&this._linkAtPosition(this._currentLink.link,e)||(this._clearCurrentLink(),this._askForLink(e,!0))}_askForLink(e,i){this._activeProviderReplies&&i||(this._activeProviderReplies?.forEach(e=>{e?.forEach(e=>{e.link.dispose&&e.link.dispose()})}),this._activeProviderReplies=new Map,this._activeLine=e.y);let s=!1;for(let[r,n]of this._linkProviderService.linkProviders.entries())i?this._activeProviderReplies?.get(r)&&(s=this._checkLinkProviderResult(r,e,s)):n.provideLinks(e.y,i=>{if(this._isMouseOut)return;let n=i?.map(e=>({link:e}));this._activeProviderReplies?.set(r,n),s=this._checkLinkProviderResult(r,e,s),this._activeProviderReplies?.size===this._linkProviderService.linkProviders.length&&this._removeIntersectingLinks(e.y,this._activeProviderReplies)})}_removeIntersectingLinks(e,i){let s=new Set;for(let r=0;r<i.size;r++){let n=i.get(r);if(n)for(let i=0;i<n.length;i++){let r=n[i],o=r.link.range.start.y<e?0:r.link.range.start.x,a=r.link.range.end.y>e?this._bufferService.cols:r.link.range.end.x;for(let e=o;e<=a;e++){if(s.has(e)){n.splice(i--,1);break}s.add(e)}}}}_checkLinkProviderResult(e,i,s){if(!this._activeProviderReplies)return s;let r=this._activeProviderReplies.get(e),n=!1;for(let i=0;i<e;i++)(!this._activeProviderReplies.has(i)||this._activeProviderReplies.get(i))&&(n=!0);if(!n&&r){let e=r.find(e=>this._linkAtPosition(e.link,i));e&&(s=!0,this._handleNewLink(e))}if(this._activeProviderReplies.size===this._linkProviderService.linkProviders.length&&!s)for(let e=0;e<this._activeProviderReplies.size;e++){let r=this._activeProviderReplies.get(e)?.find(e=>this._linkAtPosition(e.link,i));if(r){s=!0,this._handleNewLink(r);break}}return s}_handleMouseDown(){this._mouseDownLink=this._currentLink}_handleMouseUp(e){var i,s;if(!this._currentLink)return;let r=this._positionFromMouseEvent(e,this._element,this._mouseService);r&&this._mouseDownLink&&(i=this._mouseDownLink.link,s=this._currentLink.link,i.text===s.text&&i.range.start.x===s.range.start.x&&i.range.start.y===s.range.start.y&&i.range.end.x===s.range.end.x&&i.range.end.y===s.range.end.y)&&this._linkAtPosition(this._currentLink.link,r)&&this._currentLink.link.activate(e,this._currentLink.link.text)}_clearCurrentLink(e,i){this._currentLink&&this._lastMouseEvent&&(!e||!i||this._currentLink.link.range.start.y>=e&&this._currentLink.link.range.end.y<=i)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,eu(this._linkCacheDisposables),this._linkCacheDisposables.length=0)}_handleNewLink(e){if(!this._lastMouseEvent)return;let i=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);i&&this._linkAtPosition(e.link,i)&&(this._currentLink=e,this._currentLink.state={decorations:{underline:void 0===e.link.decorations||e.link.decorations.underline,pointerCursor:void 0===e.link.decorations||e.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,e.link,this._lastMouseEvent),e.link.decorations={},Object.defineProperties(e.link.decorations,{pointerCursor:{get:()=>this._currentLink?.state?.decorations.pointerCursor,set:e=>{this._currentLink?.state&&this._currentLink.state.decorations.pointerCursor!==e&&(this._currentLink.state.decorations.pointerCursor=e,this._currentLink.state.isHovered&&this._element.classList.toggle("xterm-cursor-pointer",e))}},underline:{get:()=>this._currentLink?.state?.decorations.underline,set:i=>{this._currentLink?.state&&this._currentLink?.state?.decorations.underline!==i&&(this._currentLink.state.decorations.underline=i,this._currentLink.state.isHovered&&this._fireUnderlineEvent(e.link,i))}}}),this._linkCacheDisposables.push(this._renderService.onRenderedViewportChange(e=>{if(!this._currentLink)return;let i=0===e.start?0:e.start+1+this._bufferService.buffer.ydisp,s=this._bufferService.buffer.ydisp+1+e.end;if(this._currentLink.link.range.start.y>=i&&this._currentLink.link.range.end.y<=s&&(this._clearCurrentLink(i,s),this._lastMouseEvent)){let e=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);e&&this._askForLink(e,!1)}})))}_linkHover(e,i,s){this._currentLink?.state&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(i,!0),this._currentLink.state.decorations.pointerCursor&&e.classList.add("xterm-cursor-pointer")),i.hover&&i.hover(s,i.text)}_fireUnderlineEvent(e,i){let s=e.range,r=this._bufferService.buffer.ydisp,n=this._createLinkUnderlineEvent(s.start.x-1,s.start.y-r-1,s.end.x,s.end.y-r-1,void 0);(i?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(n)}_linkLeave(e,i,s){this._currentLink?.state&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(i,!1),this._currentLink.state.decorations.pointerCursor&&e.classList.remove("xterm-cursor-pointer")),i.leave&&i.leave(s,i.text)}_linkAtPosition(e,i){let s=e.range.start.y*this._bufferService.cols+e.range.start.x,r=e.range.end.y*this._bufferService.cols+e.range.end.x,n=i.y*this._bufferService.cols+i.x;return s<=n&&n<=r}_positionFromMouseEvent(e,i,s){let r=s.getCoords(e,i,this._bufferService.cols,this._bufferService.rows);if(r)return{x:r[0],y:r[1]+this._bufferService.buffer.ydisp}}_createLinkUnderlineEvent(e,i,s,r,n){return{x1:e,y1:i,x2:s,y2:r,cols:this._bufferService.cols,fg:n}}};rq=S([b(1,G),b(2,J),b(3,I),b(4,et)],rq);var rV=class extends rO{constructor(e={}){super(e),this._linkifier=this._register(new em),this.browser=i4,this._keyDownHandled=!1,this._keyDownSeen=!1,this._keyPressHandled=!1,this._unprocessedDeadKey=!1,this._accessibilityManager=this._register(new em),this._onCursorMove=this._register(new eN),this.onCursorMove=this._onCursorMove.event,this._onKey=this._register(new eN),this.onKey=this._onKey.event,this._onRender=this._register(new eN),this.onRender=this._onRender.event,this._onSelectionChange=this._register(new eN),this.onSelectionChange=this._onSelectionChange.event,this._onTitleChange=this._register(new eN),this.onTitleChange=this._onTitleChange.event,this._onBell=this._register(new eN),this.onBell=this._onBell.event,this._onFocus=this._register(new eN),this._onBlur=this._register(new eN),this._onA11yCharEmitter=this._register(new eN),this._onA11yTabEmitter=this._register(new eN),this._onWillOpen=this._register(new eN),this._setup(),this._decorationService=this._instantiationService.createInstance(r$),this._instantiationService.setService(q,this._decorationService),this._linkProviderService=this._instantiationService.createInstance(i2),this._instantiationService.setService(et,this._linkProviderService),this._linkProviderService.registerLinkProvider(this._instantiationService.createInstance(V)),this._register(this._inputHandler.onRequestBell(()=>this._onBell.fire())),this._register(this._inputHandler.onRequestRefreshRows(e=>this.refresh(e?.start??0,e?.end??this.rows-1))),this._register(this._inputHandler.onRequestSendFocus(()=>this._reportFocus())),this._register(this._inputHandler.onRequestReset(()=>this.reset())),this._register(this._inputHandler.onRequestWindowsOptionsReport(e=>this._reportWindowsOptions(e))),this._register(this._inputHandler.onColor(e=>this._handleColorEvent(e))),this._register(eB.forward(this._inputHandler.onCursorMove,this._onCursorMove)),this._register(eB.forward(this._inputHandler.onTitleChange,this._onTitleChange)),this._register(eB.forward(this._inputHandler.onA11yChar,this._onA11yCharEmitter)),this._register(eB.forward(this._inputHandler.onA11yTab,this._onA11yTabEmitter)),this._register(this._bufferService.onResize(e=>this._afterResize(e.cols,e.rows))),this._register(e_(()=>{this._customKeyEventHandler=void 0,this.element?.parentNode?.removeChild(this.element)}))}get linkifier(){return this._linkifier.value}get onFocus(){return this._onFocus.event}get onBlur(){return this._onBlur.event}get onA11yChar(){return this._onA11yCharEmitter.event}get onA11yTab(){return this._onA11yTabEmitter.event}get onWillOpen(){return this._onWillOpen.event}_handleColorEvent(e){if(this._themeService)for(let i of e){let e,s="";switch(i.index){case 256:e="foreground",s="10";break;case 257:e="background",s="11";break;case 258:e="cursor",s="12";break;default:e="ansi",s="4;"+i.index}switch(i.type){case 0:let r=rt.toColorRGB("ansi"===e?this._themeService.colors.ansi[i.index]:this._themeService.colors[e]);this.coreService.triggerDataEvent(`${im.ESC}]${s};${function(e,i=16){let[s,r,n]=e;return`rgb:${rE(s,i)}/${rE(r,i)}/${rE(n,i)}`}(r)}${iS.ST}`);break;case 1:if("ansi"===e)this._themeService.modifyColors(e=>e.ansi[i.index]=ib.toColor(...i.color));else{let s=e;this._themeService.modifyColors(e=>e[s]=ib.toColor(...i.color))}break;case 2:this._themeService.restoreColor(i.index)}}}_setup(){super._setup(),this._customKeyEventHandler=void 0}get buffer(){return this.buffers.active}focus(){this.textarea&&this.textarea.focus({preventScroll:!0})}_handleScreenReaderModeOptionChange(e){e?!this._accessibilityManager.value&&this._renderService&&(this._accessibilityManager.value=this._instantiationService.createInstance(rU,this)):this._accessibilityManager.clear()}_handleTextAreaFocus(e){this.coreService.decPrivateModes.sendFocus&&this.coreService.triggerDataEvent(im.ESC+"[I"),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()}blur(){return this.textarea?.blur()}_handleTextAreaBlur(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this.coreService.decPrivateModes.sendFocus&&this.coreService.triggerDataEvent(im.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()}_syncTextArea(){if(!this.textarea||!this.buffer.isCursorInViewport||this._compositionHelper.isComposing||!this._renderService)return;let e=this.buffer.ybase+this.buffer.y,i=this.buffer.lines.get(e);if(!i)return;let s=Math.min(this.buffer.x,this.cols-1),r=this._renderService.dimensions.css.cell.height,n=i.getWidth(s),o=this._renderService.dimensions.css.cell.width*n,a=this.buffer.y*this._renderService.dimensions.css.cell.height,h=s*this._renderService.dimensions.css.cell.width;this.textarea.style.left=h+"px",this.textarea.style.top=a+"px",this.textarea.style.width=o+"px",this.textarea.style.height=r+"px",this.textarea.style.lineHeight=r+"px",this.textarea.style.zIndex="-5"}_initGlobal(){this._bindKeys(),this._register(tW(this.element,"copy",e=>{var i;this.hasSelection()&&(i=this._selectionService,e.clipboardData&&e.clipboardData.setData("text/plain",i.selectionText),e.preventDefault())}));let e=e=>{var i,s,r;return i=this.textarea,s=this.coreService,r=this.optionsService,void(e.stopPropagation(),e.clipboardData&&C(e.clipboardData.getData("text/plain"),i,s,r))};this._register(tW(this.textarea,"paste",e)),this._register(tW(this.element,"paste",e)),si?this._register(tW(this.element,"mousedown",e=>{2===e.button&&k(e,this.textarea,this.screenElement,this._selectionService,this.options.rightClickSelectsWord)})):this._register(tW(this.element,"contextmenu",e=>{k(e,this.textarea,this.screenElement,this._selectionService,this.options.rightClickSelectsWord)})),sc&&this._register(tW(this.element,"auxclick",e=>{1===e.button&&x(e,this.textarea,this.screenElement)}))}_bindKeys(){this._register(tW(this.textarea,"keyup",e=>this._keyUp(e),!0)),this._register(tW(this.textarea,"keydown",e=>this._keyDown(e),!0)),this._register(tW(this.textarea,"keypress",e=>this._keyPress(e),!0)),this._register(tW(this.textarea,"compositionstart",()=>this._compositionHelper.compositionstart())),this._register(tW(this.textarea,"compositionupdate",e=>this._compositionHelper.compositionupdate(e))),this._register(tW(this.textarea,"compositionend",()=>this._compositionHelper.compositionend())),this._register(tW(this.textarea,"input",e=>this._inputEvent(e),!0)),this._register(this.onRender(()=>this._compositionHelper.updateCompositionElements()))}open(e){if(!e)throw Error("Terminal requires a parent element.");if(e.isConnected||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this.element?.ownerDocument.defaultView&&this._coreBrowserService){this.element.ownerDocument.defaultView!==this._coreBrowserService.window&&(this._coreBrowserService.window=this.element.ownerDocument.defaultView);return}this._document=e.ownerDocument,this.options.documentOverride&&this.options.documentOverride instanceof Document&&(this._document=this.optionsService.rawOptions.documentOverride),this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),e.appendChild(this.element);let i=this._document.createDocumentFragment();this._viewportElement=this._document.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),i.appendChild(this._viewportElement),this.screenElement=this._document.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._register(tW(this.screenElement,"mousemove",e=>this.updateCursorStyle(e))),this._helperContainer=this._document.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),i.appendChild(this.screenElement);let s=this.textarea=this._document.createElement("textarea");this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",w),sd||this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this._register(this.optionsService.onSpecificOptionChange("disableStdin",()=>s.readOnly=this.optionsService.rawOptions.disableStdin)),this.textarea.readOnly=this.optionsService.rawOptions.disableStdin,this._coreBrowserService=this._register(this._instantiationService.createInstance(i0,this.textarea,e.ownerDocument.defaultView??window,this._document??"u">typeof window?window.document:null)),this._instantiationService.setService(X,this._coreBrowserService),this._register(tW(this.textarea,"focus",e=>this._handleTextAreaFocus(e))),this._register(tW(this.textarea,"blur",()=>this._handleTextAreaBlur())),this._helperContainer.appendChild(this.textarea),this._charSizeService=this._instantiationService.createInstance(iG,this._document,this._helperContainer),this._instantiationService.setService(Y,this._charSizeService),this._themeService=this._instantiationService.createInstance(sN),this._instantiationService.setService(ee,this._themeService),this._characterJoinerService=this._instantiationService.createInstance(iO),this._instantiationService.setService(Q,this._characterJoinerService),this._renderService=this._register(this._instantiationService.createInstance(sm,this.rows,this.screenElement)),this._instantiationService.setService(J,this._renderService),this._register(this._renderService.onRenderedViewportChange(e=>this._onRender.fire(e))),this.onResize(e=>this._renderService.resize(e.cols,e.rows)),this._compositionView=this._document.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(ic,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this._mouseService=this._instantiationService.createInstance(i3),this._instantiationService.setService(G,this._mouseService);let r=this._linkifier.value=this._register(this._instantiationService.createInstance(rq,this.screenElement));this.element.appendChild(i);try{this._onWillOpen.fire(this.element)}catch{}this._renderService.hasRenderer()||this._renderService.setRenderer(this._createRenderer()),this._register(this.onCursorMove(()=>{this._renderService.handleCursorMove(),this._syncTextArea()})),this._register(this.onResize(()=>this._renderService.handleResize(this.cols,this.rows))),this._register(this.onBlur(()=>this._renderService.handleBlur())),this._register(this.onFocus(()=>this._renderService.handleFocus())),this._viewport=this._register(this._instantiationService.createInstance(ii,this.element,this.screenElement)),this._register(this._viewport.onRequestScrollLines(e=>{super.scrollLines(e,!1),this.refresh(0,this.rows-1)})),this._selectionService=this._register(this._instantiationService.createInstance(sR,this.element,this.screenElement,r)),this._instantiationService.setService(Z,this._selectionService),this._register(this._selectionService.onRequestScrollLines(e=>this.scrollLines(e.amount,e.suppressScrollEvent))),this._register(this._selectionService.onSelectionChange(()=>this._onSelectionChange.fire())),this._register(this._selectionService.onRequestRedraw(e=>this._renderService.handleSelectionChanged(e.start,e.end,e.columnSelectMode))),this._register(this._selectionService.onLinuxMouseSelection(e=>{this.textarea.value=e,this.textarea.focus(),this.textarea.select()})),this._register(eB.any(this._onScroll.event,this._inputHandler.onScroll)(()=>{this._selectionService.refresh(),this._viewport?.queueSync()})),this._register(this._instantiationService.createInstance(is,this.screenElement)),this._register(tW(this.element,"mousedown",e=>this._selectionService.handleMouseDown(e))),this.coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager.value=this._instantiationService.createInstance(rU,this)),this._register(this.optionsService.onSpecificOptionChange("screenReaderMode",e=>this._handleScreenReaderModeOptionChange(e))),this.options.overviewRuler.width&&(this._overviewRulerRenderer=this._register(this._instantiationService.createInstance(il,this._viewportElement,this.screenElement))),this.optionsService.onSpecificOptionChange("overviewRuler",e=>{!this._overviewRulerRenderer&&e&&this._viewportElement&&this.screenElement&&(this._overviewRulerRenderer=this._register(this._instantiationService.createInstance(il,this._viewportElement,this.screenElement)))}),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()}_createRenderer(){return this._instantiationService.createInstance(iX,this,this._document,this.element,this.screenElement,this._viewportElement,this._helperContainer,this.linkifier)}bindMouse(){let e=this,i=this.element;function s(i){let s,r,n=e._mouseService.getMouseReportCoords(i,e.screenElement);if(!n)return!1;switch(i.overrideType||i.type){case"mousemove":r=32,void 0===i.buttons?(s=3,void 0!==i.button&&(s=i.button<3?i.button:3)):s=1&i.buttons?0:4&i.buttons?1:2&i.buttons?2:3;break;case"mouseup":r=0,s=i.button<3?i.button:3;break;case"mousedown":r=1,s=i.button<3?i.button:3;break;case"wheel":if(e._customWheelEventHandler&&!1===e._customWheelEventHandler(i))return!1;let o=i.deltaY;if(0===o||0===e.coreMouseService.consumeWheelEvent(i,e._renderService?.dimensions?.device?.cell?.height,e._coreBrowserService?.dpr))return!1;r=o<0?0:1,s=4;break;default:return!1}return void 0!==r&&void 0!==s&&!(s>4)&&e.coreMouseService.triggerMouseEvent({col:n.col,row:n.row,x:n.x,y:n.y,button:s,action:r,ctrl:i.ctrlKey,alt:i.altKey,shift:i.shiftKey})}let r={mouseup:null,wheel:null,mousedrag:null,mousemove:null},n=e=>(s(e),e.buttons||(this._document.removeEventListener("mouseup",r.mouseup),r.mousedrag&&this._document.removeEventListener("mousemove",r.mousedrag)),this.cancel(e)),o=e=>(s(e),this.cancel(e,!0)),a=e=>{e.buttons&&s(e)},h=e=>{e.buttons||s(e)};this._register(this.coreMouseService.onProtocolChange(e=>{e?("debug"===this.optionsService.rawOptions.logLevel&&this._logService.debug("Binding to mouse events:",this.coreMouseService.explainEvents(e)),this.element.classList.add("enable-mouse-events"),this._selectionService.disable()):(this._logService.debug("Unbinding from mouse events."),this.element.classList.remove("enable-mouse-events"),this._selectionService.enable()),8&e?r.mousemove||(i.addEventListener("mousemove",h),r.mousemove=h):(i.removeEventListener("mousemove",r.mousemove),r.mousemove=null),16&e?r.wheel||(i.addEventListener("wheel",o,{passive:!1}),r.wheel=o):(i.removeEventListener("wheel",r.wheel),r.wheel=null),2&e?r.mouseup||(r.mouseup=n):(this._document.removeEventListener("mouseup",r.mouseup),r.mouseup=null),4&e?r.mousedrag||(r.mousedrag=a):(this._document.removeEventListener("mousemove",r.mousedrag),r.mousedrag=null)})),this.coreMouseService.activeProtocol=this.coreMouseService.activeProtocol,this._register(tW(i,"mousedown",e=>{if(e.preventDefault(),this.focus(),!(!this.coreMouseService.areMouseEventsActive||this._selectionService.shouldForceSelection(e)))return s(e),r.mouseup&&this._document.addEventListener("mouseup",r.mouseup),r.mousedrag&&this._document.addEventListener("mousemove",r.mousedrag),this.cancel(e)})),this._register(tW(i,"wheel",i=>{if(!r.wheel){if(this._customWheelEventHandler&&!1===this._customWheelEventHandler(i))return!1;if(!this.buffer.hasScrollback){if(0===i.deltaY)return!1;if(0===e.coreMouseService.consumeWheelEvent(i,e._renderService?.dimensions?.device?.cell?.height,e._coreBrowserService?.dpr))return this.cancel(i,!0);let s=im.ESC+(this.coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(i.deltaY<0?"A":"B");return this.coreService.triggerDataEvent(s,!0),this.cancel(i,!0)}}},{passive:!1}))}refresh(e,i){this._renderService?.refreshRows(e,i)}updateCursorStyle(e){this._selectionService?.shouldColumnSelect(e)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")}_showCursor(){this.coreService.isCursorInitialized||(this.coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))}scrollLines(e,i){this._viewport?this._viewport.scrollLines(e):super.scrollLines(e,i),this.refresh(0,this.rows-1)}scrollPages(e){this.scrollLines(e*(this.rows-1))}scrollToTop(){this.scrollLines(-this._bufferService.buffer.ydisp)}scrollToBottom(e){e&&this._viewport?this._viewport.scrollToLine(this.buffer.ybase,!0):this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)}scrollToLine(e){let i=e-this._bufferService.buffer.ydisp;0!==i&&this.scrollLines(i)}paste(e){C(e,this.textarea,this.coreService,this.optionsService)}attachCustomKeyEventHandler(e){this._customKeyEventHandler=e}attachCustomWheelEventHandler(e){this._customWheelEventHandler=e}registerLinkProvider(e){return this._linkProviderService.registerLinkProvider(e)}registerCharacterJoiner(e){if(!this._characterJoinerService)throw Error("Terminal must be opened first");let i=this._characterJoinerService.register(e);return this.refresh(0,this.rows-1),i}deregisterCharacterJoiner(e){if(!this._characterJoinerService)throw Error("Terminal must be opened first");this._characterJoinerService.deregister(e)&&this.refresh(0,this.rows-1)}get markers(){return this.buffer.markers}registerMarker(e){return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+e)}registerDecoration(e){return this._decorationService.registerDecoration(e)}hasSelection(){return!!this._selectionService&&this._selectionService.hasSelection}select(e,i,s){this._selectionService.setSelection(e,i,s)}getSelection(){return this._selectionService?this._selectionService.selectionText:""}getSelectionPosition(){if(!(!this._selectionService||!this._selectionService.hasSelection))return{start:{x:this._selectionService.selectionStart[0],y:this._selectionService.selectionStart[1]},end:{x:this._selectionService.selectionEnd[0],y:this._selectionService.selectionEnd[1]}}}clearSelection(){this._selectionService?.clearSelection()}selectAll(){this._selectionService?.selectAll()}selectLines(e,i){this._selectionService?.selectLines(e,i)}_keyDown(e){if(this._keyDownHandled=!1,this._keyDownSeen=!0,this._customKeyEventHandler&&!1===this._customKeyEventHandler(e))return!1;let i=this.browser.isMac&&this.options.macOptionIsMeta&&e.altKey;if(!i&&!this._compositionHelper.keydown(e))return this.options.scrollOnUserInput&&this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(!0),!1;i||"Dead"!==e.key&&"AltGraph"!==e.key||(this._unprocessedDeadKey=!0);let s=function(e,i,s,r){let n={type:0,cancel:!1,key:void 0},o=!!e.shiftKey|2*!!e.altKey|4*!!e.ctrlKey|8*!!e.metaKey;switch(e.keyCode){case 0:"UIKeyInputUpArrow"===e.key?i?n.key=im.ESC+"OA":n.key=im.ESC+"[A":"UIKeyInputLeftArrow"===e.key?i?n.key=im.ESC+"OD":n.key=im.ESC+"[D":"UIKeyInputRightArrow"===e.key?i?n.key=im.ESC+"OC":n.key=im.ESC+"[C":"UIKeyInputDownArrow"===e.key&&(i?n.key=im.ESC+"OB":n.key=im.ESC+"[B");break;case 8:n.key=e.ctrlKey?"\b":im.DEL,e.altKey&&(n.key=im.ESC+n.key);break;case 9:if(e.shiftKey){n.key=im.ESC+"[Z";break}n.key=im.HT,n.cancel=!0;break;case 13:n.key=e.altKey?im.ESC+im.CR:im.CR,n.cancel=!0;break;case 27:n.key=im.ESC,e.altKey&&(n.key=im.ESC+im.ESC),n.cancel=!0;break;case 37:if(e.metaKey)break;o?n.key=im.ESC+"[1;"+(o+1)+"D":i?n.key=im.ESC+"OD":n.key=im.ESC+"[D";break;case 39:if(e.metaKey)break;o?n.key=im.ESC+"[1;"+(o+1)+"C":i?n.key=im.ESC+"OC":n.key=im.ESC+"[C";break;case 38:if(e.metaKey)break;o?n.key=im.ESC+"[1;"+(o+1)+"A":i?n.key=im.ESC+"OA":n.key=im.ESC+"[A";break;case 40:if(e.metaKey)break;o?n.key=im.ESC+"[1;"+(o+1)+"B":i?n.key=im.ESC+"OB":n.key=im.ESC+"[B";break;case 45:e.shiftKey||e.ctrlKey||(n.key=im.ESC+"[2~");break;case 46:o?n.key=im.ESC+"[3;"+(o+1)+"~":n.key=im.ESC+"[3~";break;case 36:o?n.key=im.ESC+"[1;"+(o+1)+"H":i?n.key=im.ESC+"OH":n.key=im.ESC+"[H";break;case 35:o?n.key=im.ESC+"[1;"+(o+1)+"F":i?n.key=im.ESC+"OF":n.key=im.ESC+"[F";break;case 33:e.shiftKey?n.type=2:e.ctrlKey?n.key=im.ESC+"[5;"+(o+1)+"~":n.key=im.ESC+"[5~";break;case 34:e.shiftKey?n.type=3:e.ctrlKey?n.key=im.ESC+"[6;"+(o+1)+"~":n.key=im.ESC+"[6~";break;case 112:o?n.key=im.ESC+"[1;"+(o+1)+"P":n.key=im.ESC+"OP";break;case 113:o?n.key=im.ESC+"[1;"+(o+1)+"Q":n.key=im.ESC+"OQ";break;case 114:o?n.key=im.ESC+"[1;"+(o+1)+"R":n.key=im.ESC+"OR";break;case 115:o?n.key=im.ESC+"[1;"+(o+1)+"S":n.key=im.ESC+"OS";break;case 116:o?n.key=im.ESC+"[15;"+(o+1)+"~":n.key=im.ESC+"[15~";break;case 117:o?n.key=im.ESC+"[17;"+(o+1)+"~":n.key=im.ESC+"[17~";break;case 118:o?n.key=im.ESC+"[18;"+(o+1)+"~":n.key=im.ESC+"[18~";break;case 119:o?n.key=im.ESC+"[19;"+(o+1)+"~":n.key=im.ESC+"[19~";break;case 120:o?n.key=im.ESC+"[20;"+(o+1)+"~":n.key=im.ESC+"[20~";break;case 121:o?n.key=im.ESC+"[21;"+(o+1)+"~":n.key=im.ESC+"[21~";break;case 122:o?n.key=im.ESC+"[23;"+(o+1)+"~":n.key=im.ESC+"[23~";break;case 123:o?n.key=im.ESC+"[24;"+(o+1)+"~":n.key=im.ESC+"[24~";break;default:if(!e.ctrlKey||e.shiftKey||e.altKey||e.metaKey)if((!s||r)&&e.altKey&&!e.metaKey){let i=rI[e.keyCode]?.[+!!e.shiftKey];if(i)n.key=im.ESC+i;else if(e.keyCode>=65&&e.keyCode<=90){let i=String.fromCharCode(e.ctrlKey?e.keyCode-64:e.keyCode+32);e.shiftKey&&(i=i.toUpperCase()),n.key=im.ESC+i}else if(32===e.keyCode)n.key=im.ESC+(e.ctrlKey?im.NUL:" ");else if("Dead"===e.key&&e.code.startsWith("Key")){let i=e.code.slice(3,4);e.shiftKey||(i=i.toLowerCase()),n.key=im.ESC+i,n.cancel=!0}}else!s||e.altKey||e.ctrlKey||e.shiftKey||!e.metaKey?!e.key||e.ctrlKey||e.altKey||e.metaKey||!(e.keyCode>=48)||1!==e.key.length?e.key&&e.ctrlKey&&("_"===e.key&&(n.key=im.US),"@"===e.key&&(n.key=im.NUL)):n.key=e.key:65===e.keyCode&&(n.type=1);else e.keyCode>=65&&e.keyCode<=90?n.key=String.fromCharCode(e.keyCode-64):32===e.keyCode?n.key=im.NUL:e.keyCode>=51&&e.keyCode<=55?n.key=String.fromCharCode(e.keyCode-51+27):56===e.keyCode?n.key=im.DEL:219===e.keyCode?n.key=im.ESC:220===e.keyCode?n.key=im.FS:221===e.keyCode&&(n.key=im.GS)}return n}(e,this.coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(e),3===s.type||2===s.type){let i=this.rows-1;return this.scrollLines(2===s.type?-i:i),this.cancel(e,!0)}return 1===s.type&&this.selectAll(),!!(this._isThirdLevelShift(this.browser,e)||(s.cancel&&this.cancel(e,!0),!s.key)||e.key&&!e.ctrlKey&&!e.altKey&&!e.metaKey&&1===e.key.length&&e.key.charCodeAt(0)>=65&&90>=e.key.charCodeAt(0))||(this._unprocessedDeadKey?(this._unprocessedDeadKey=!1,!0):((s.key===im.ETX||s.key===im.CR)&&(this.textarea.value=""),this._onKey.fire({key:s.key,domEvent:e}),this._showCursor(),this.coreService.triggerDataEvent(s.key,!0),!this.optionsService.rawOptions.screenReaderMode||e.altKey||e.ctrlKey)?this.cancel(e,!0):void(this._keyDownHandled=!0))}_isThirdLevelShift(e,i){let s=e.isMac&&!this.options.macOptionIsMeta&&i.altKey&&!i.ctrlKey&&!i.metaKey||e.isWindows&&i.altKey&&i.ctrlKey&&!i.metaKey||e.isWindows&&i.getModifierState("AltGraph");return"keypress"===i.type?s:s&&(!i.keyCode||i.keyCode>47)}_keyUp(e){var i;this._keyDownSeen=!1,this._customKeyEventHandler&&!1===this._customKeyEventHandler(e)||(16===(i=e).keyCode||17===i.keyCode||18===i.keyCode||this.focus(),this.updateCursorStyle(e),this._keyPressHandled=!1)}_keyPress(e){let i;if(this._keyPressHandled=!1,this._keyDownHandled||this._customKeyEventHandler&&!1===this._customKeyEventHandler(e))return!1;if(this.cancel(e),e.charCode)i=e.charCode;else if(null===e.which||void 0===e.which)i=e.keyCode;else{if(0===e.which||0===e.charCode)return!1;i=e.which}return!!i&&(!e.altKey&&!e.ctrlKey&&!e.metaKey||!!this._isThirdLevelShift(this.browser,e))&&(i=String.fromCharCode(i),this._onKey.fire({key:i,domEvent:e}),this._showCursor(),this.coreService.triggerDataEvent(i,!0),this._keyPressHandled=!0,this._unprocessedDeadKey=!1,!0)}_inputEvent(e){if(e.data&&"insertText"===e.inputType&&(!e.composed||!this._keyDownSeen)&&!this.optionsService.rawOptions.screenReaderMode){if(this._keyPressHandled)return!1;this._unprocessedDeadKey=!1;let i=e.data;return this.coreService.triggerDataEvent(i,!0),this.cancel(e),!0}return!1}resize(e,i){if(e===this.cols&&i===this.rows){this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure();return}super.resize(e,i)}_afterResize(e,i){this._charSizeService?.measure()}clear(){if(0!==this.buffer.ybase||0!==this.buffer.y){this.buffer.clearAllMarkers(),this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(let e=1;e<this.rows;e++)this.buffer.lines.push(this.buffer.getBlankLine(s$));this._onScroll.fire({position:this.buffer.ydisp}),this.refresh(0,this.rows-1)}}reset(){this.options.rows=this.rows,this.options.cols=this.cols;let e=this._customKeyEventHandler;this._setup(),super.reset(),this._selectionService?.reset(),this._decorationService.reset(),this._customKeyEventHandler=e,this.refresh(0,this.rows-1)}clearTextureAtlas(){this._renderService?.clearTextureAtlas()}_reportFocus(){this.element?.classList.contains("focus")?this.coreService.triggerDataEvent(im.ESC+"[I"):this.coreService.triggerDataEvent(im.ESC+"[O")}_reportWindowsOptions(e){if(this._renderService)switch(e){case 0:let i=this._renderService.dimensions.css.canvas.width.toFixed(0),s=this._renderService.dimensions.css.canvas.height.toFixed(0);this.coreService.triggerDataEvent(`${im.ESC}[4;${s};${i}t`);break;case 1:let r=this._renderService.dimensions.css.cell.width.toFixed(0),n=this._renderService.dimensions.css.cell.height.toFixed(0);this.coreService.triggerDataEvent(`${im.ESC}[6;${n};${r}t`)}}cancel(e,i){if(!(!this.options.cancelEvents&&!i))return e.preventDefault(),e.stopPropagation(),!1}},rY=class{constructor(){this._addons=[]}dispose(){for(let e=this._addons.length-1;e>=0;e--)this._addons[e].instance.dispose()}loadAddon(e,i){let s={instance:i,dispose:i.dispose,isDisposed:!1};this._addons.push(s),i.dispose=()=>this._wrappedAddonDispose(s),i.activate(e)}_wrappedAddonDispose(e){if(e.isDisposed)return;let i=-1;for(let s=0;s<this._addons.length;s++)if(this._addons[s]===e){i=s;break}if(-1===i)throw Error("Could not dispose an addon that has not been loaded");e.isDisposed=!0,e.dispose.apply(e.instance),this._addons.splice(i,1)}},rX=class{constructor(e){this._line=e}get isWrapped(){return this._line.isWrapped}get length(){return this._line.length}getCell(e,i){if(!(e<0||e>=this._line.length))return i?(this._line.loadCell(e,i),i):this._line.loadCell(e,new P)}translateToString(e,i,s){return this._line.translateToString(e,i,s)}},rG=class{constructor(e,i){this._buffer=e,this.type=i}init(e){return this._buffer=e,this}get cursorY(){return this._buffer.y}get cursorX(){return this._buffer.x}get viewportY(){return this._buffer.ydisp}get baseY(){return this._buffer.ybase}get length(){return this._buffer.lines.length}getLine(e){let i=this._buffer.lines.get(e);if(i)return new rX(i)}getNullCell(){return new P}},rJ=class extends eg{constructor(e){super(),this._core=e,this._onBufferChange=this._register(new eN),this.onBufferChange=this._onBufferChange.event,this._normal=new rG(this._core.buffers.normal,"normal"),this._alternate=new rG(this._core.buffers.alt,"alternate"),this._core.buffers.onBufferActivate(()=>this._onBufferChange.fire(this.active))}get active(){if(this._core.buffers.active===this._core.buffers.normal)return this.normal;if(this._core.buffers.active===this._core.buffers.alt)return this.alternate;throw Error("Active buffer is neither normal nor alternate")}get normal(){return this._normal.init(this._core.buffers.normal)}get alternate(){return this._alternate.init(this._core.buffers.alt)}},rZ=class{constructor(e){this._core=e}registerCsiHandler(e,i){return this._core.registerCsiHandler(e,e=>i(e.toArray()))}addCsiHandler(e,i){return this.registerCsiHandler(e,i)}registerDcsHandler(e,i){return this._core.registerDcsHandler(e,(e,s)=>i(e,s.toArray()))}addDcsHandler(e,i){return this.registerDcsHandler(e,i)}registerEscHandler(e,i){return this._core.registerEscHandler(e,i)}addEscHandler(e,i){return this.registerEscHandler(e,i)}registerOscHandler(e,i){return this._core.registerOscHandler(e,i)}addOscHandler(e,i){return this.registerOscHandler(e,i)}},rQ=class{constructor(e){this._core=e}register(e){this._core.unicodeService.register(e)}get versions(){return this._core.unicodeService.versions}get activeVersion(){return this._core.unicodeService.activeVersion}set activeVersion(e){this._core.unicodeService.activeVersion=e}},r0=["cols","rows"],r1=0,r2=class extends eg{constructor(e){super(),this._core=this._register(new rV(e)),this._addonManager=this._register(new rY),this._publicOptions={...this._core.options};let i=e=>this._core.options[e],s=(e,i)=>{this._checkReadonlyOptions(e),this._core.options[e]=i};for(let e in this._core.options){let r={get:i.bind(this,e),set:s.bind(this,e)};Object.defineProperty(this._publicOptions,e,r)}}_checkReadonlyOptions(e){if(r0.includes(e))throw Error(`Option "${e}" can only be set in the constructor`)}_checkProposedApi(){if(!this._core.optionsService.rawOptions.allowProposedApi)throw Error("You must set the allowProposedApi option to true to use proposed API")}get onBell(){return this._core.onBell}get onBinary(){return this._core.onBinary}get onCursorMove(){return this._core.onCursorMove}get onData(){return this._core.onData}get onKey(){return this._core.onKey}get onLineFeed(){return this._core.onLineFeed}get onRender(){return this._core.onRender}get onResize(){return this._core.onResize}get onScroll(){return this._core.onScroll}get onSelectionChange(){return this._core.onSelectionChange}get onTitleChange(){return this._core.onTitleChange}get onWriteParsed(){return this._core.onWriteParsed}get element(){return this._core.element}get parser(){return this._parser||(this._parser=new rZ(this._core)),this._parser}get unicode(){return this._checkProposedApi(),new rQ(this._core)}get textarea(){return this._core.textarea}get rows(){return this._core.rows}get cols(){return this._core.cols}get buffer(){return this._buffer||(this._buffer=this._register(new rJ(this._core))),this._buffer}get markers(){return this._checkProposedApi(),this._core.markers}get modes(){let e=this._core.coreService.decPrivateModes,i="none";switch(this._core.coreMouseService.activeProtocol){case"X10":i="x10";break;case"VT200":i="vt200";break;case"DRAG":i="drag";break;case"ANY":i="any"}return{applicationCursorKeysMode:e.applicationCursorKeys,applicationKeypadMode:e.applicationKeypad,bracketedPasteMode:e.bracketedPasteMode,insertMode:this._core.coreService.modes.insertMode,mouseTrackingMode:i,originMode:e.origin,reverseWraparoundMode:e.reverseWraparound,sendFocusMode:e.sendFocus,synchronizedOutputMode:e.synchronizedOutput,wraparoundMode:e.wraparound}}get options(){return this._publicOptions}set options(e){for(let i in e)this._publicOptions[i]=e[i]}blur(){this._core.blur()}focus(){this._core.focus()}input(e,i=!0){this._core.input(e,i)}resize(e,i){this._verifyIntegers(e,i),this._core.resize(e,i)}open(e){this._core.open(e)}attachCustomKeyEventHandler(e){this._core.attachCustomKeyEventHandler(e)}attachCustomWheelEventHandler(e){this._core.attachCustomWheelEventHandler(e)}registerLinkProvider(e){return this._core.registerLinkProvider(e)}registerCharacterJoiner(e){return this._checkProposedApi(),this._core.registerCharacterJoiner(e)}deregisterCharacterJoiner(e){this._checkProposedApi(),this._core.deregisterCharacterJoiner(e)}registerMarker(e=0){return this._verifyIntegers(e),this._core.registerMarker(e)}registerDecoration(e){return this._checkProposedApi(),this._verifyPositiveIntegers(e.x??0,e.width??0,e.height??0),this._core.registerDecoration(e)}hasSelection(){return this._core.hasSelection()}select(e,i,s){this._verifyIntegers(e,i,s),this._core.select(e,i,s)}getSelection(){return this._core.getSelection()}getSelectionPosition(){return this._core.getSelectionPosition()}clearSelection(){this._core.clearSelection()}selectAll(){this._core.selectAll()}selectLines(e,i){this._verifyIntegers(e,i),this._core.selectLines(e,i)}dispose(){super.dispose()}scrollLines(e){this._verifyIntegers(e),this._core.scrollLines(e)}scrollPages(e){this._verifyIntegers(e),this._core.scrollPages(e)}scrollToTop(){this._core.scrollToTop()}scrollToBottom(){this._core.scrollToBottom()}scrollToLine(e){this._verifyIntegers(e),this._core.scrollToLine(e)}clear(){this._core.clear()}write(e,i){this._core.write(e,i)}writeln(e,i){this._core.write(e),this._core.write(`\r
18
18
  `,i)}paste(e){this._core.paste(e)}refresh(e,i){this._verifyIntegers(e,i),this._core.refresh(e,i)}reset(){this._core.reset()}clearTextureAtlas(){this._core.clearTextureAtlas()}loadAddon(e){this._addonManager.loadAddon(this,e)}static get strings(){return{get promptLabel(){return w},set promptLabel(t){w=t},get tooMuchOutput(){return y},set tooMuchOutput(t){y=t}}}_verifyIntegers(...e){for(r1 of e)if(r1===1/0||isNaN(r1)||r1%1!=0)throw Error("This API only accepts integers")}_verifyPositiveIntegers(...e){for(r1 of e)if(r1&&(r1===1/0||isNaN(r1)||r1%1!=0||r1<0))throw Error("This API only accepts positive integers")}},r5=class{activate(e){this._terminal=e}dispose(){}fit(){let e=this.proposeDimensions();if(!e||!this._terminal||isNaN(e.cols)||isNaN(e.rows))return;let i=this._terminal._core;(this._terminal.rows!==e.rows||this._terminal.cols!==e.cols)&&(i._renderService.clear(),this._terminal.resize(e.cols,e.rows))}proposeDimensions(){if(!this._terminal||!this._terminal.element||!this._terminal.element.parentElement)return;let e=this._terminal._core._renderService.dimensions;if(0===e.css.cell.width||0===e.css.cell.height)return;let i=0===this._terminal.options.scrollback?0:this._terminal.options.overviewRuler?.width||14,s=window.getComputedStyle(this._terminal.element.parentElement),r=parseInt(s.getPropertyValue("height")),n=Math.max(0,parseInt(s.getPropertyValue("width"))),o=window.getComputedStyle(this._terminal.element),a={top:parseInt(o.getPropertyValue("padding-top")),bottom:parseInt(o.getPropertyValue("padding-bottom")),right:parseInt(o.getPropertyValue("padding-right")),left:parseInt(o.getPropertyValue("padding-left"))},h=a.top+a.bottom;return{cols:Math.max(2,Math.floor((n-(a.right+a.left)-i)/e.css.cell.width)),rows:Math.max(1,Math.floor((r-h)/e.css.cell.height))}}};function r3({projectId:e,agentId:i,wsUrl:s}){let r=(0,p.useRef)(null),n=(0,p.useRef)(null),o=(0,p.useRef)(null),a=(0,p.useRef)(null),h=(0,p.useCallback)(()=>{if(o.current&&n.current&&r.current)try{o.current.fit();let e=a.current;e&&e.readyState===WebSocket.OPEN&&e.send(JSON.stringify({type:"resize",cols:n.current.cols,rows:n.current.rows}))}catch{}},[]);return(0,p.useEffect)(()=>{if(!r.current)return;let l=new r2({scrollback:1e3,fontSize:12,fontFamily:'"Geist Mono", "JetBrains Mono", "Fira Code", "Cascadia Code", monospace',lineHeight:1.4,letterSpacing:.5,cursorBlink:!1,cursorStyle:"block",theme:{background:"#0a0a0a",foreground:"#e0e0e0",cursor:"#00ff88",cursorAccent:"#0a0a0a",selectionBackground:"#00ff8844",black:"#0a0a0a",red:"#ff4444",green:"#00ff88",yellow:"#ffcc00",blue:"#4488ff",magenta:"#cc44ff",cyan:"#44ccff",white:"#e0e0e0",brightBlack:"#737373",brightRed:"#ff6666",brightGreen:"#00ff88",brightYellow:"#ffdd44",brightBlue:"#66aaff",brightMagenta:"#dd66ff",brightCyan:"#66ddff",brightWhite:"#ffffff"},allowTransparency:!1,drawBoldTextInBrightColors:!0}),c=new r5;l.loadAddon(c),l.open(r.current),n.current=l,o.current=c,requestAnimationFrame(()=>h());let d=new ResizeObserver(()=>h());d.observe(r.current);let u=!1;return(async()=>{let r=s;if(!r){let e="https:"===window.location.protocol?"wss:":"ws:";try{let i=await fetch("/api/config");if(i.ok){let s=(await i.json()).port||8400,n=parseInt(window.location.port,10);r=n&&n!==s?`${e}//${window.location.hostname}:${s}`:`${e}//${window.location.host}`}else r=`${e}//${window.location.host}`}catch{r=`${e}//${window.location.host}`}}if(u)return;let n=new WebSocket(`${r}/ws/terminal?project=${encodeURIComponent(e)}&agent=${encodeURIComponent(i)}`);a.current=n,n.onopen=()=>{n.send(JSON.stringify({type:"resize",cols:l.cols,rows:l.rows}))},n.onmessage=e=>{l.write(e.data)},n.onclose=e=>{l.write(`\r
19
19
  \x1b[38;2;115;115;115m[session closed: ${e.reason||e.code}]\x1b[0m\r
20
- `)},l.onData(e=>{n.readyState===WebSocket.OPEN&&n.send(e)})})(),()=>{u=!0,d.disconnect(),a.current?.close(),l.dispose(),n.current=null,o.current=null,a.current=null}},[e,i,s,h]),(0,f.jsx)("div",{ref:r,className:"w-full h-full"})}let r6=[{id:"reviewer1",label:"Reviewer1"},{id:"reviewer2",label:"Reviewer2"},{id:"dev",label:"Dev"}],r4=["border-r border-b border-border","border-b border-border","col-span-2"];function r8({projectId:e,agents:i=r6,agentStates:s={},onStatusChange:r}){let[n,o]=(0,p.useState)(null);return(0,f.jsx)("div",{className:"w-full h-full relative grid grid-rows-2 grid-cols-2",children:i.map((i,a)=>{let h=n===i.id,l=null!==n&&!h;return(0,f.jsxs)("div",{className:`flex flex-col ${h?"absolute inset-0 z-10 bg-bg":`${r4[a]||""}`}`,style:l?{visibility:"hidden",overflow:"hidden"}:void 0,children:[(0,f.jsxs)("div",{className:`flex items-center justify-between px-3 shrink-0 border-b border-border ${h?"h-7":"h-6"}`,children:[(0,f.jsxs)("div",{className:`flex items-center gap-1.5 ${!h?"cursor-pointer":""}`,onClick:h?void 0:()=>o(i.id),children:[(0,f.jsx)("span",{className:`w-1.5 h-1.5 rounded-full ${"running"===s[i.id]?"bg-accent":"error"===s[i.id]?"bg-error":"bg-text-muted"}`}),(0,f.jsx)("span",{className:"text-[11px] text-text-muted uppercase tracking-wider",children:i.label})]}),(0,f.jsxs)("div",{className:"flex items-center gap-1",children:["running"!==s[i.id]&&(0,f.jsx)("button",{onClick:()=>{fetch(`/api/agents?project=${encodeURIComponent(e)}&agent=${encodeURIComponent(i.id)}&action=start`,{method:"POST"}).then(e=>e.json()).then(e=>{e.state&&r&&r(i.id,e.state)}).catch(()=>{})},className:"text-[10px] text-text-muted hover:text-accent transition-colors px-0.5",title:"Start",children:"▶"}),"running"===s[i.id]&&(0,f.jsx)("button",{onClick:()=>{fetch(`/api/agents?project=${encodeURIComponent(e)}&agent=${encodeURIComponent(i.id)}&action=stop`,{method:"POST"}).then(e=>e.json()).then(e=>{e.state&&r&&r(i.id,e.state)}).catch(()=>{})},className:"text-[10px] text-text-muted hover:text-error transition-colors px-0.5",title:"Stop",children:"■"}),(0,f.jsx)("button",{onClick:()=>{fetch(`/api/agents?project=${encodeURIComponent(e)}&agent=${encodeURIComponent(i.id)}&action=restart`,{method:"POST"}).then(e=>e.json()).then(e=>{e.state&&r&&r(i.id,e.state)}).catch(()=>{})},className:"text-[10px] text-text-muted hover:text-accent transition-colors px-0.5",title:"Restart",children:"↻"}),h&&(0,f.jsx)("button",{onClick:()=>o(null),className:"text-[11px] text-text-muted hover:text-text transition-colors ml-1",children:"esc"})]})]}),(0,f.jsx)("div",{className:"flex-1 min-h-0",children:(0,f.jsx)(r3,{projectId:e,agentId:i.id})})]},i.id)})})}function r7({label:e,status:i,projectId:s,agentId:r,onStatusChange:n}){let o="running"===i?"bg-accent":"error"===i?"bg-error":"bg-text-muted",a=e=>{s&&r&&fetch(`/api/agents?project=${encodeURIComponent(s)}&agent=${encodeURIComponent(r)}&action=${e}`,{method:"POST"}).then(e=>e.json()).then(e=>{n&&e.state&&n(e.state)}).catch(()=>{})};return(0,f.jsxs)("div",{className:"flex items-center justify-between gap-2 px-3 h-7 shrink-0 border-b border-border",children:[(0,f.jsxs)("div",{className:"flex items-center gap-2",children:[i&&(0,f.jsx)("span",{className:`w-1.5 h-1.5 rounded-full ${o}`}),(0,f.jsx)("span",{className:"text-[11px] text-text-muted uppercase tracking-wider",children:e})]}),s&&r&&(0,f.jsxs)("div",{className:"flex items-center gap-1",children:["running"!==i&&(0,f.jsx)("button",{onClick:()=>a("start"),className:"text-[10px] text-text-muted hover:text-accent transition-colors px-1",title:"Start",children:"▶"}),"running"===i&&(0,f.jsx)("button",{onClick:()=>a("stop"),className:"text-[10px] text-text-muted hover:text-error transition-colors px-1",title:"Stop",children:"■"}),(0,f.jsx)("button",{onClick:()=>a("restart"),className:"text-[10px] text-text-muted hover:text-accent transition-colors px-1",title:"Restart",children:"↻"})]})]})}let r9={head:"#00ff88",reviewer1:"#4488ff",reviewer2:"#cc44ff",dev:"#ffcc00",user:"#e0e0e0",system:"#737373"},ne=["head","reviewer1","reviewer2","dev","user"];function nt(e){return r9[e.toLowerCase()]||"#e0e0e0"}function ni({projectId:e}){let[i,s]=(0,p.useState)("loading"),[r,n]=(0,p.useState)(""),[o,a]=(0,p.useState)("");return((0,p.useEffect)(()=>{fetch("/api/config").then(e=>{if(!e.ok)throw Error("config fetch failed");return e.json()}).then(i=>{let s=e?i.projects?.find(i=>i.id===e):null;n(s?.agentchattr_url||i.agentchattr_url||"http://127.0.0.1:8300"),a(s?.agentchattr_token||i.agentchattr_token||"")}).catch(()=>n("http://127.0.0.1:8300"))},[e]),(0,p.useEffect)(()=>{if("loading"!==i)return;let e=setTimeout(()=>{s(e=>"loading"===e?"api":e)},3e3);return()=>clearTimeout(e)},[i]),r)?"loading"===i||"iframe"===i?(0,f.jsxs)("div",{className:"w-full h-full",children:[(0,f.jsx)("iframe",{ref:e=>{e&&(e.onload=()=>{try{let i=e.contentDocument||e.contentWindow?.document;i&&i.body&&i.body.innerHTML.length>0?s("iframe"):s("api")}catch{s("api")}},e.onerror=()=>s("api"))},src:o?`${r}?token=${encodeURIComponent(o)}`:r,className:"w-full h-full border-0",style:{display:"loading"===i?"none":"block"},sandbox:"allow-same-origin allow-scripts allow-forms allow-popups"}),"loading"===i&&(0,f.jsx)("div",{className:"w-full h-full flex items-center justify-center",children:(0,f.jsx)("span",{className:"text-xs text-text-muted",children:"Connecting to AgentChattr..."})})]}):(0,f.jsx)(ns,{projectId:e}):null}function ns({projectId:e}){let i="general",[s,r]=(0,p.useState)([]),[n,o]=(0,p.useState)(""),[a,h]=(0,p.useState)(!1),[l,c]=(0,p.useState)(""),[d,u]=(0,p.useState)(null),_=(0,p.useRef)(0),g=(0,p.useRef)(null),m=(0,p.useRef)(null),v=(0,p.useRef)(!0),S=(0,p.useRef)(0);(0,p.useEffect)(()=>{_.current=0,r([])},[e]);let b=(0,p.useCallback)(()=>{fetch(`/api/chat?path=/api/messages&channel=${encodeURIComponent(i)}&cursor=${_.current}${e?`&project=${encodeURIComponent(e)}`:""}`).then(e=>{if(403===e.status)throw S.current<3?u(null):u("Chat authentication failed (403). Set agentchattr_token in Settings or ~/.quadwork/config.json."),Error("auth failed");if(!e.ok)throw Error(`Poll failed: ${e.status}`);return e.json()}).then(e=>{u(null);let i=Array.isArray(e)?e:e.messages||[];if(i.length>0){r(e=>{let s=new Set(e.map(e=>e.id)),r=i.filter(e=>!s.has(e.id));return r.length>0?[...e,...r]:e});let e=Math.max(...i.map(e=>e.id));e>_.current&&(_.current=e)}}).catch(()=>{})},[i,e]);(0,p.useEffect)(()=>{b();let e=setInterval(b,3e3);return()=>clearInterval(e)},[b]),(0,p.useEffect)(()=>{v.current&&g.current&&(g.current.scrollTop=g.current.scrollHeight)},[s]);let w=ne.filter(e=>e.toLowerCase().startsWith(l));return(0,f.jsxs)("div",{className:"flex flex-col h-full bg-bg",children:[d&&(0,f.jsx)("div",{className:"px-3 py-2 bg-red-900/30 border-b border-red-700/50 text-[11px] text-red-400",children:d}),(0,f.jsxs)("div",{ref:g,onScroll:()=>{if(!g.current)return;let{scrollTop:e,scrollHeight:i,clientHeight:s}=g.current;v.current=i-e-s<40},className:"flex-1 min-h-0 overflow-y-auto px-3 py-2 space-y-0.5",children:[0===s.length&&(0,f.jsx)("div",{className:"flex items-center justify-center h-full",children:(0,f.jsx)("span",{className:"text-xs text-text-muted",children:"No messages"})}),s.map(e=>(0,f.jsxs)("div",{className:"flex gap-2 text-[12px] leading-5",children:[(0,f.jsx)("span",{className:"text-text-muted shrink-0 w-12 text-right tabular-nums",children:e.time?.slice(0,5)||""}),(0,f.jsx)("span",{className:"shrink-0 font-semibold w-10 text-right",style:{color:nt(e.sender)},children:e.sender}),(0,f.jsx)("span",{className:"text-text break-words min-w-0 whitespace-pre-wrap",children:e.text})]},e.id))]}),(0,f.jsxs)("div",{className:"relative shrink-0 border-t border-border",children:[a&&w.length>0&&(0,f.jsx)("div",{className:"absolute bottom-full left-0 right-0 border border-border bg-bg-surface",children:w.map(e=>(0,f.jsxs)("button",{onClick:()=>{o(n.replace(/@\w*$/,`@${e} `)),h(!1),m.current?.focus()},className:"w-full text-left px-3 py-1 text-[12px] hover:bg-[#1a1a1a] transition-colors",style:{color:nt(e)},children:["@",e]},e))}),(0,f.jsx)("input",{ref:m,type:"text",value:n,onChange:e=>{var i;let s;return o(i=e.target.value),void((s=i.match(/@(\w*)$/))?(h(!0),c(s[1].toLowerCase())):h(!1))},onKeyDown:s=>{if("Enter"===s.key&&!s.shiftKey){let r;s.preventDefault(),(r=n.trim())&&fetch(`/api/chat${e?`?project=${encodeURIComponent(e)}`:""}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({text:r,channel:i,sender:"user"})}).then(e=>{if(!e.ok)throw Error(`Send failed: ${e.status}`);o(""),setTimeout(b,300)}).catch(e=>console.error(e.message))}"Escape"===s.key&&h(!1)},placeholder:`Message #${i}...`,className:"w-full bg-transparent px-3 py-2 text-[12px] font-mono text-text placeholder:text-text-muted outline-none focus:ring-1 focus:ring-accent"})]})]})}function nr({color:e}){return(0,f.jsx)("span",{className:`inline-block w-1.5 h-1.5 rounded-full shrink-0 ${e}`})}function nn({projectId:e}){let[i,s]=(0,p.useState)([]),[r,n]=(0,p.useState)([]),o=(0,p.useCallback)(()=>{fetch(`/api/github/issues?project=${encodeURIComponent(e)}`).then(e=>{if(!e.ok)throw Error(`${e.status}`);return e.json()}).then(e=>{Array.isArray(e)&&s(e)}).catch(()=>{}),fetch(`/api/github/prs?project=${encodeURIComponent(e)}`).then(e=>{if(!e.ok)throw Error(`${e.status}`);return e.json()}).then(e=>{Array.isArray(e)&&n(e)}).catch(()=>{})},[e]);return(0,p.useEffect)(()=>{o();let e=setInterval(o,3e4);return()=>clearInterval(e)},[o]),(0,f.jsxs)("div",{className:"flex flex-col h-full overflow-y-auto",children:[(0,f.jsx)("div",{className:"px-3 py-1.5 border-b border-border",children:(0,f.jsxs)("span",{className:"text-[10px] text-text-muted uppercase tracking-wider",children:["Issues (",i.length,")"]})}),0===i.length&&(0,f.jsx)("div",{className:"px-3 py-2 text-[11px] text-text-muted",children:"No issues"}),i.map(e=>(0,f.jsxs)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 px-3 py-1 font-mono hover:bg-[#1a1a1a] transition-colors cursor-pointer border-b border-border/50",children:[(0,f.jsx)(nr,{color:"OPEN"===e.state?"bg-accent":"bg-error"}),(0,f.jsxs)("span",{className:"text-[11px] text-text-muted w-8 shrink-0",children:["#",e.number]}),(0,f.jsx)("span",{className:"text-[11px] text-text truncate flex-1 min-w-0",children:e.title}),e.assignees?.[0]&&(0,f.jsx)("span",{className:"text-[10px] text-text-muted shrink-0",children:e.assignees[0].login})]},e.number)),(0,f.jsx)("div",{className:"px-3 py-1.5 border-b border-border mt-1",children:(0,f.jsxs)("span",{className:"text-[10px] text-text-muted uppercase tracking-wider",children:["Pull Requests (",r.length,")"]})}),0===r.length&&(0,f.jsx)("div",{className:"px-3 py-2 text-[11px] text-text-muted",children:"No PRs"}),r.map(e=>{let i=e.reviews||[],s=e.reviewDecision||"REVIEW_REQUIRED",r={};for(let e of i){let i=(e.body||"").trim();/^(?:Reviewer2|T2b)\b/i.test(i)?r.reviewer2=e.state:(/^(?:Reviewer1|T2a)\b/i.test(i)||/^##\s*Verdict/i.test(i))&&(r.reviewer1=e.state)}return(0,f.jsxs)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 px-3 py-1 font-mono hover:bg-[#1a1a1a] transition-colors cursor-pointer border-b border-border/50",children:[(0,f.jsx)(nr,{color:"APPROVED"===s?"bg-accent":"CHANGES_REQUESTED"===s?"bg-error":"bg-[#ffcc00]"}),(0,f.jsxs)("span",{className:"text-[11px] text-text-muted w-8 shrink-0",children:["#",e.number]}),(0,f.jsx)("span",{className:"text-[11px] text-text truncate flex-1 min-w-0",children:e.title}),e.assignees?.[0]&&(0,f.jsx)("span",{className:"text-[10px] text-text-muted shrink-0",children:e.assignees[0].login}),["reviewer1","reviewer2"].map(e=>{let i=r[e];return(0,f.jsxs)("span",{className:`text-[10px] shrink-0 ${i?"APPROVED"===i?"text-accent":"CHANGES_REQUESTED"===i?"text-error":"text-[#ffcc00]":"text-text-muted"}`,children:[e,":",i?"APPROVED"===i?"ok":"CHANGES_REQUESTED"===i?"chg":"rev":"—"]},e)}),(0,f.jsx)("span",{className:`text-[10px] shrink-0 ${function(e){if(!e||0===e.length)return"text-text-muted";let i=e.map(e=>e.state);return i.every(e=>"SUCCESS"===e)?"text-accent":i.some(e=>"FAILURE"===e||"ERROR"===e)?"text-error":"text-[#ffcc00]"}(e.statusCheckRollup)}`,children:function(e){if(!e||0===e.length)return"—";let i=e.map(e=>e.state);return i.every(e=>"SUCCESS"===e)?"pass":i.some(e=>"FAILURE"===e||"ERROR"===e)?"fail":"run"}(e.statusCheckRollup)})]},e.number)})]})}let no=[{label:"1 hour",minutes:60},{label:"3 hours",minutes:180},{label:"8 hours",minutes:480},{label:"Until stopped",minutes:0}];function na(e){if(e<=0)return"0m 0s";let i=Math.floor(e/36e5),s=Math.floor(e%36e5/6e4),r=Math.floor(e%6e4/1e3);return i>0?`${i}h ${s}m`:`${s}m ${r}s`}function nh({projectId:e}){let[i,s]=(0,p.useState)(null),[r,n]=(0,p.useState)(15),[o,a]=(0,p.useState)(180),[h,l]=(0,p.useState)(""),[c,d]=(0,p.useState)("");(0,p.useEffect)(()=>{let i=()=>{fetch("/api/triggers").then(e=>e.ok?e.json():{}).then(i=>{let r=i[e];r?(s(r),n(Math.round(r.interval/6e4))):s(null)}).catch(()=>{})};i();let r=window.setInterval(i,1e4);return()=>window.clearInterval(r)},[e]),(0,p.useEffect)(()=>{if(!i?.nextAt&&!i?.expiresAt){l(""),d("");return}let e=()=>{if(i.nextAt&&l(na(Math.max(0,i.nextAt-Date.now()))),i.expiresAt){let e=Math.max(0,i.expiresAt-Date.now());d(na(e)),e<=0&&s(null)}else d("")};e();let r=window.setInterval(e,1e3);return()=>window.clearInterval(r)},[i?.nextAt,i?.expiresAt]);let u=i?.enabled;return(0,f.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,f.jsx)("div",{className:"text-[10px] text-text-muted uppercase tracking-wider font-semibold",children:"Keep Alive"}),(0,f.jsx)("div",{className:"text-[10px] text-text-muted leading-tight",children:"Send a check-in to all agents every:"}),u?(0,f.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,f.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,f.jsxs)("span",{className:"flex items-center gap-1",children:[(0,f.jsx)("span",{className:"w-1.5 h-1.5 rounded-full bg-accent"}),(0,f.jsx)("span",{className:"text-[11px] text-accent",children:"Running"})]}),(0,f.jsxs)("span",{className:"text-[11px] text-text tabular-nums",children:["Next: ",h]}),c&&(0,f.jsxs)("span",{className:"text-[11px] text-text-muted tabular-nums",children:["Stops in: ",c]}),!i?.expiresAt&&(0,f.jsx)("span",{className:"text-[10px] text-text-muted",children:"(until stopped)"})]}),(0,f.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,f.jsx)("button",{onClick:()=>{fetch(`/api/triggers/${encodeURIComponent(e)}/send-now`,{method:"POST"}).catch(()=>{})},className:"px-1.5 py-0.5 text-[10px] text-accent border border-accent/40 hover:bg-accent/10 transition-colors",children:"Send Now"}),(0,f.jsx)("button",{onClick:()=>{fetch(`/api/triggers/${encodeURIComponent(e)}/stop`,{method:"POST"}).then(e=>e.json()).then(e=>{e.ok&&s(null)}).catch(()=>{})},className:"px-1.5 py-0.5 text-[10px] text-text-muted border border-border hover:text-error hover:border-error/40 transition-colors",children:"Stop"})]})]}):(0,f.jsx)("div",{className:"flex flex-col gap-1.5",children:(0,f.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,f.jsx)("input",{type:"number",value:r,onChange:e=>n(parseInt(e.target.value,10)||15),min:1,max:1440,className:"w-10 bg-transparent border border-border px-1 py-0.5 text-[11px] text-text outline-none focus:border-accent text-center"}),(0,f.jsx)("span",{className:"text-[10px] text-text-muted",children:"min"}),(0,f.jsx)("span",{className:"text-[10px] text-text-muted mx-0.5",children:"for"}),(0,f.jsx)("select",{value:o,onChange:e=>a(parseInt(e.target.value,10)),className:"bg-transparent border border-border px-1 py-0.5 text-[11px] text-text outline-none focus:border-accent cursor-pointer",children:no.map(e=>(0,f.jsx)("option",{value:e.minutes,className:"bg-bg-surface",children:e.label},e.minutes))}),(0,f.jsx)("button",{onClick:()=>{fetch(`/api/triggers/${encodeURIComponent(e)}/start`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({interval:r,duration:o})}).then(e=>e.json()).then(e=>{e.ok&&s({enabled:!0,interval:e.interval,lastSent:null,nextAt:e.nextAt,expiresAt:e.expiresAt||null})}).catch(()=>{})},className:"px-2 py-0.5 text-[10px] text-bg bg-accent hover:bg-accent-dim font-semibold transition-colors",children:"Start"})]})})]})}function nl({projectId:e}){let[i,s]=(0,p.useState)(null),[r,n]=(0,p.useState)(null),[o,a]=(0,p.useState)(!1),h=()=>{setTimeout(()=>n(null),3e3)};(0,p.useEffect)(()=>{if(!o)return;let e=setTimeout(()=>a(!1),4e3);return()=>clearTimeout(e)},[o]);let l=async()=>{if(!o)return void a(!0);a(!1),s("stop");try{let i=await fetch(`/api/agentchattr/${encodeURIComponent(e)}/stop`,{method:"POST"}),s=await i.json();n(s.ok?"Stopped":"Failed")}catch{n("Error")}s(null),h()},c=async()=>{s("restart");try{let i=await fetch(`/api/agentchattr/${encodeURIComponent(e)}/restart`,{method:"POST"}),s=await i.json();s.ok&&s.pid?n(`Restarted (PID: ${s.pid})`):n(s.error||"Failed to restart")}catch{n("Error")}s(null),h()},d=async()=>{s("reset");try{let i=await fetch(`/api/agents/${encodeURIComponent(e)}/reset`,{method:"POST"}),s=await i.json();n(s.ok?`Reset — ${s.cleared} of ${s.total} slot${1!==s.total?"s":""} deregistered`:"Failed")}catch{n("Error")}s(null),h()};return(0,f.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,f.jsx)("div",{className:"text-[10px] text-text-muted uppercase tracking-wider font-semibold",children:"Server"}),(0,f.jsxs)("div",{className:"flex items-center gap-1.5 flex-wrap",children:[(0,f.jsx)("button",{onClick:l,disabled:!!i,className:`px-1.5 py-0.5 text-[10px] border transition-colors disabled:opacity-50 ${o?"text-error border-error/60 bg-error/10 hover:bg-error/20":"text-text-muted border-border hover:text-error hover:border-error/40"}`,children:"stop"===i?"...":o?"Confirm Stop?":"Stop"}),(0,f.jsx)("button",{onClick:c,disabled:!!i,className:"px-1.5 py-0.5 text-[10px] text-text-muted border border-border hover:text-accent hover:border-accent/40 transition-colors disabled:opacity-50",children:"restart"===i?"...":"Restart"}),(0,f.jsx)("button",{onClick:d,disabled:!!i,className:"px-1.5 py-0.5 text-[10px] text-text-muted border border-border hover:text-accent hover:border-accent/40 transition-colors disabled:opacity-50",children:"reset"===i?"...":"Reset Agents"})]}),r&&(0,f.jsx)("div",{className:"text-[10px] text-accent",children:r})]})}let nc=[{label:"2 hours",seconds:7200},{label:"4 hours",seconds:14400},{label:"8 hours",seconds:28800},{label:"Until stopped",seconds:0}];function nd(){let e,i,[s,r]=(0,p.useState)(!1),[n,o]=(0,p.useState)(null),[a,h]=(0,p.useState)(""),[l,c]=(0,p.useState)(!1),d=(0,p.useCallback)(()=>{fetch("/api/caffeinate/status").then(e=>e.ok?e.json():null).then(e=>{e&&(r(e.active),o(e.remaining),h(e.platform))}).catch(()=>{})},[]);return((0,p.useEffect)(()=>{d();let e=setInterval(d,5e3);return()=>clearInterval(e)},[d]),a&&"darwin"!==a)?null:(0,f.jsxs)("div",{className:"flex flex-col gap-1 relative",children:[(0,f.jsx)("div",{className:"text-[10px] text-text-muted uppercase tracking-wider font-semibold",children:"System"}),(0,f.jsx)("div",{className:"flex items-center gap-1.5",children:(0,f.jsxs)("button",{onClick:()=>s?void fetch("/api/caffeinate/stop",{method:"POST"}).then(()=>{r(!1),o(null)}).catch(()=>{}):c(!l),className:`px-1.5 py-0.5 text-[10px] border transition-colors ${s?"border-accent/50 text-accent bg-accent/10 hover:bg-accent/20":"border-border text-text-muted hover:text-text hover:border-accent"}`,children:[s?"Awake":"Keep Awake",s&&null!==n&&n>0&&(0,f.jsx)("span",{className:"ml-1 text-accent/70",children:(e=Math.floor(n/3600),i=Math.floor(n%3600/60),e>0?`${e}h ${i}m`:`${i}m`)}),s&&null===n&&(0,f.jsx)("span",{className:"ml-1 text-accent/70",children:"on"})]})}),l&&!s&&(0,f.jsxs)("div",{className:"absolute bottom-full left-0 mb-1 border border-border bg-bg-surface z-20 min-w-[140px]",children:[(0,f.jsx)("p",{className:"px-2 py-1 text-[10px] text-[#ffcc00] border-b border-border",children:"Make sure Mac is plugged in"}),nc.map(e=>(0,f.jsx)("button",{onClick:()=>{var i;fetch("/api/caffeinate/start",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({duration:i=e.seconds})}).then(e=>e.json()).then(e=>{e.ok&&(r(!0),o(i||null))}).catch(()=>{}),c(!1)},className:"w-full text-left px-2 py-1 text-[10px] text-text hover:bg-[#1a1a1a] transition-colors",children:e.label},e.label))]})]})}function nu({projectId:e}){return(0,f.jsx)("div",{className:"border-t border-border px-3 py-2",children:(0,f.jsxs)("div",{className:"flex items-start gap-6",children:[(0,f.jsx)(nh,{projectId:e}),(0,f.jsx)("div",{className:"w-px self-stretch bg-border"}),(0,f.jsx)(nl,{projectId:e}),(0,f.jsx)("div",{className:"w-px self-stretch bg-border"}),(0,f.jsx)(nd,{})]})})}e.s(["default",0,function({projectId:e}){let i=(0,p.useRef)(null),[s,r]=(0,p.useState)(.5),[n,o]=(0,p.useState)(.5),a=(0,p.useRef)(null),[h,l]=(0,p.useState)({});(0,p.useEffect)(()=>{let i=()=>{fetch("/api/agents").then(e=>e.ok?e.json():{}).then(i=>{let s={};for(let[r,n]of Object.entries(i))r.startsWith(`${e}/`)&&(s[r.split("/")[1]]=n.state);l(s)}).catch(()=>{})};i();let s=setInterval(i,5e3);return()=>clearInterval(s)},[e]);let c=(e,i)=>{l(s=>({...s,[e]:i}))},d=(0,p.useCallback)((e,i)=>Math.min((i-4-150)/i,Math.max(150/i,e)),[]);(0,p.useEffect)(()=>{let e=e=>{if(!a.current||!i.current)return;let s=i.current.getBoundingClientRect();"col"===a.current?r(d((e.clientX-s.left)/s.width,s.width)):o(d((e.clientY-s.top)/s.height,s.height))},s=()=>{a.current=null,document.body.style.cursor="",document.body.style.userSelect=""};return window.addEventListener("mousemove",e),window.addEventListener("mouseup",s),()=>{window.removeEventListener("mousemove",e),window.removeEventListener("mouseup",s)}},[d]);let u=e=>{a.current=e,document.body.style.cursor="col"===e?"col-resize":"row-resize",document.body.style.userSelect="none"},_=`${100*s}% 4px 1fr`,g=`${100*n}% 4px 1fr`;return(0,f.jsxs)("div",{ref:i,className:"w-full h-full",style:{display:"grid",gridTemplateColumns:_,gridTemplateRows:g},children:[(0,f.jsxs)("div",{className:"flex flex-col overflow-hidden",children:[(0,f.jsx)(r7,{label:"Head",status:h.head||"stopped",projectId:e,agentId:"head",onStatusChange:e=>c("head",e)}),(0,f.jsx)("div",{className:"flex-1 min-h-0",children:(0,f.jsx)(r3,{projectId:e,agentId:"head"})})]}),(0,f.jsx)("div",{className:"bg-border cursor-col-resize hover:bg-accent-dim transition-colors",onMouseDown:()=>u("col")}),(0,f.jsxs)("div",{className:"flex flex-col overflow-hidden",children:[(0,f.jsx)(r7,{label:"GitHub"}),(0,f.jsx)("div",{className:"flex-1 min-h-0",children:(0,f.jsx)(nn,{projectId:e})})]}),(0,f.jsx)("div",{className:"bg-border cursor-row-resize hover:bg-accent-dim transition-colors",onMouseDown:()=>u("row")}),(0,f.jsx)("div",{className:"bg-border cursor-move",onMouseDown:()=>u("col")}),(0,f.jsx)("div",{className:"bg-border cursor-row-resize hover:bg-accent-dim transition-colors",onMouseDown:()=>u("row")}),(0,f.jsxs)("div",{className:"flex flex-col overflow-hidden",children:[(0,f.jsx)(r7,{label:"Chat"}),(0,f.jsx)("div",{className:"flex-1 min-h-0",children:(0,f.jsx)(ni,{projectId:e})}),(0,f.jsx)(nu,{projectId:e})]}),(0,f.jsx)("div",{className:"bg-border cursor-col-resize hover:bg-accent-dim transition-colors",onMouseDown:()=>u("col")}),(0,f.jsxs)("div",{className:"flex flex-col overflow-hidden",children:[(0,f.jsx)(r7,{label:"Panel 4"}),(0,f.jsx)("div",{className:"flex-1 min-h-0",children:(0,f.jsx)(r8,{projectId:e,agentStates:h,onStatusChange:c})})]})]})}],36330)},71714,e=>{e.n(e.i(36330))}]);
20
+ `)},l.onData(e=>{n.readyState===WebSocket.OPEN&&n.send(e)})})(),()=>{u=!0,d.disconnect(),a.current?.close(),l.dispose(),n.current=null,o.current=null,a.current=null}},[e,i,s,h]),(0,f.jsx)("div",{ref:r,className:"w-full h-full"})}let r6=[{id:"reviewer1",label:"Reviewer1"},{id:"reviewer2",label:"Reviewer2"},{id:"dev",label:"Dev"}],r4=["border-r border-b border-border","border-b border-border","col-span-2"];function r8({projectId:e,agents:i=r6,agentStates:s={},onStatusChange:r}){let[n,o]=(0,p.useState)(null);return(0,f.jsx)("div",{className:"w-full h-full relative grid grid-rows-2 grid-cols-2",children:i.map((i,a)=>{let h=n===i.id,l=null!==n&&!h;return(0,f.jsxs)("div",{className:`flex flex-col ${h?"absolute inset-0 z-10 bg-bg":`${r4[a]||""}`}`,style:l?{visibility:"hidden",overflow:"hidden"}:void 0,children:[(0,f.jsxs)("div",{className:`flex items-center justify-between px-3 shrink-0 border-b border-border ${h?"h-7":"h-6"}`,children:[(0,f.jsxs)("div",{className:`flex items-center gap-1.5 ${!h?"cursor-pointer":""}`,onClick:h?void 0:()=>o(i.id),children:[(0,f.jsx)("span",{className:`w-1.5 h-1.5 rounded-full ${"running"===s[i.id]?"bg-accent":"error"===s[i.id]?"bg-error":"bg-text-muted"}`}),(0,f.jsx)("span",{className:"text-[11px] text-text-muted uppercase tracking-wider",children:i.label})]}),(0,f.jsxs)("div",{className:"flex items-center gap-1",children:["running"!==s[i.id]&&(0,f.jsx)("button",{onClick:()=>{fetch(`/api/agents?project=${encodeURIComponent(e)}&agent=${encodeURIComponent(i.id)}&action=start`,{method:"POST"}).then(e=>e.json()).then(e=>{e.state&&r&&r(i.id,e.state)}).catch(()=>{})},className:"text-[10px] text-text-muted hover:text-accent transition-colors px-0.5",title:"Start",children:"▶"}),"running"===s[i.id]&&(0,f.jsx)("button",{onClick:()=>{fetch(`/api/agents?project=${encodeURIComponent(e)}&agent=${encodeURIComponent(i.id)}&action=stop`,{method:"POST"}).then(e=>e.json()).then(e=>{e.state&&r&&r(i.id,e.state)}).catch(()=>{})},className:"text-[10px] text-text-muted hover:text-error transition-colors px-0.5",title:"Stop",children:"■"}),(0,f.jsx)("button",{onClick:()=>{fetch(`/api/agents?project=${encodeURIComponent(e)}&agent=${encodeURIComponent(i.id)}&action=restart`,{method:"POST"}).then(e=>e.json()).then(e=>{e.state&&r&&r(i.id,e.state)}).catch(()=>{})},className:"text-[10px] text-text-muted hover:text-accent transition-colors px-0.5",title:"Restart",children:"↻"}),"running"===s[i.id]&&(0,f.jsx)("button",{onClick:()=>{fetch(`/api/agents/${encodeURIComponent(e)}/${encodeURIComponent(i.id)}/write`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({text:"/compact\n"})}).catch(()=>{})},className:"text-[10px] text-text-muted hover:text-accent transition-colors px-0.5",title:"Compact — frees context/memory when agent is stuck",children:"/c"}),h&&(0,f.jsx)("button",{onClick:()=>o(null),className:"text-[11px] text-text-muted hover:text-text transition-colors ml-1",children:"esc"})]})]}),(0,f.jsx)("div",{className:"flex-1 min-h-0",children:(0,f.jsx)(r3,{projectId:e,agentId:i.id})})]},i.id)})})}function r7({label:e,status:i,projectId:s,agentId:r,onStatusChange:n}){let o="running"===i?"bg-accent":"error"===i?"bg-error":"bg-text-muted",a=e=>{s&&r&&fetch(`/api/agents?project=${encodeURIComponent(s)}&agent=${encodeURIComponent(r)}&action=${e}`,{method:"POST"}).then(e=>e.json()).then(e=>{n&&e.state&&n(e.state)}).catch(()=>{})};return(0,f.jsxs)("div",{className:"flex items-center justify-between gap-2 px-3 h-7 shrink-0 border-b border-border",children:[(0,f.jsxs)("div",{className:"flex items-center gap-2",children:[i&&(0,f.jsx)("span",{className:`w-1.5 h-1.5 rounded-full ${o}`}),(0,f.jsx)("span",{className:"text-[11px] text-text-muted uppercase tracking-wider",children:e})]}),s&&r&&(0,f.jsxs)("div",{className:"flex items-center gap-1",children:["running"!==i&&(0,f.jsx)("button",{onClick:()=>a("start"),className:"text-[10px] text-text-muted hover:text-accent transition-colors px-1",title:"Start",children:"▶"}),"running"===i&&(0,f.jsx)("button",{onClick:()=>a("stop"),className:"text-[10px] text-text-muted hover:text-error transition-colors px-1",title:"Stop",children:"■"}),(0,f.jsx)("button",{onClick:()=>a("restart"),className:"text-[10px] text-text-muted hover:text-accent transition-colors px-1",title:"Restart",children:"↻"})]})]})}let r9={head:"#00ff88",reviewer1:"#4488ff",reviewer2:"#cc44ff",dev:"#ffcc00",user:"#e0e0e0",system:"#737373"},ne=["head","reviewer1","reviewer2","dev","user"];function nt(e){return r9[e.toLowerCase()]||"#e0e0e0"}function ni({projectId:e}){let[i,s]=(0,p.useState)("loading"),[r,n]=(0,p.useState)(""),[o,a]=(0,p.useState)("");return((0,p.useEffect)(()=>{fetch("/api/config").then(e=>{if(!e.ok)throw Error("config fetch failed");return e.json()}).then(i=>{let s=e?i.projects?.find(i=>i.id===e):null;n(s?.agentchattr_url||i.agentchattr_url||"http://127.0.0.1:8300"),a(s?.agentchattr_token||i.agentchattr_token||"")}).catch(()=>n("http://127.0.0.1:8300"))},[e]),(0,p.useEffect)(()=>{if("loading"!==i)return;let e=setTimeout(()=>{s(e=>"loading"===e?"api":e)},3e3);return()=>clearTimeout(e)},[i]),r)?"loading"===i||"iframe"===i?(0,f.jsxs)("div",{className:"w-full h-full",children:[(0,f.jsx)("iframe",{ref:e=>{e&&(e.onload=()=>{try{let i=e.contentDocument||e.contentWindow?.document;i&&i.body&&i.body.innerHTML.length>0?s("iframe"):s("api")}catch{s("api")}},e.onerror=()=>s("api"))},src:o?`${r}?token=${encodeURIComponent(o)}`:r,className:"w-full h-full border-0",style:{display:"loading"===i?"none":"block"},sandbox:"allow-same-origin allow-scripts allow-forms allow-popups"}),"loading"===i&&(0,f.jsx)("div",{className:"w-full h-full flex items-center justify-center",children:(0,f.jsx)("span",{className:"text-xs text-text-muted",children:"Connecting to AgentChattr..."})})]}):(0,f.jsx)(ns,{projectId:e}):null}function ns({projectId:e}){let i="general",[s,r]=(0,p.useState)([]),[n,o]=(0,p.useState)(""),[a,h]=(0,p.useState)(!1),[l,c]=(0,p.useState)(""),[d,u]=(0,p.useState)(null),_=(0,p.useRef)(0),g=(0,p.useRef)(null),m=(0,p.useRef)(null),v=(0,p.useRef)(!0),S=(0,p.useRef)(0);(0,p.useEffect)(()=>{_.current=0,r([])},[e]);let b=(0,p.useCallback)(()=>{fetch(`/api/chat?path=/api/messages&channel=${encodeURIComponent(i)}&cursor=${_.current}${e?`&project=${encodeURIComponent(e)}`:""}`).then(e=>{if(403===e.status)throw S.current<3?u(null):u("Chat authentication failed (403). Set agentchattr_token in Settings or ~/.quadwork/config.json."),Error("auth failed");if(!e.ok)throw Error(`Poll failed: ${e.status}`);return e.json()}).then(e=>{u(null);let i=Array.isArray(e)?e:e.messages||[];if(i.length>0){r(e=>{let s=new Set(e.map(e=>e.id)),r=i.filter(e=>!s.has(e.id));return r.length>0?[...e,...r]:e});let e=Math.max(...i.map(e=>e.id));e>_.current&&(_.current=e)}}).catch(()=>{})},[i,e]);(0,p.useEffect)(()=>{b();let e=setInterval(b,3e3);return()=>clearInterval(e)},[b]),(0,p.useEffect)(()=>{v.current&&g.current&&(g.current.scrollTop=g.current.scrollHeight)},[s]);let w=ne.filter(e=>e.toLowerCase().startsWith(l));return(0,f.jsxs)("div",{className:"flex flex-col h-full bg-bg",children:[d&&(0,f.jsx)("div",{className:"px-3 py-2 bg-red-900/30 border-b border-red-700/50 text-[11px] text-red-400",children:d}),(0,f.jsxs)("div",{ref:g,onScroll:()=>{if(!g.current)return;let{scrollTop:e,scrollHeight:i,clientHeight:s}=g.current;v.current=i-e-s<40},className:"flex-1 min-h-0 overflow-y-auto px-3 py-2 space-y-0.5",children:[0===s.length&&(0,f.jsx)("div",{className:"flex items-center justify-center h-full",children:(0,f.jsx)("span",{className:"text-xs text-text-muted",children:"No messages"})}),s.map(e=>(0,f.jsxs)("div",{className:"flex gap-2 text-[12px] leading-5",children:[(0,f.jsx)("span",{className:"text-text-muted shrink-0 w-12 text-right tabular-nums",children:e.time?.slice(0,5)||""}),(0,f.jsx)("span",{className:"shrink-0 font-semibold w-10 text-right",style:{color:nt(e.sender)},children:e.sender}),(0,f.jsx)("span",{className:"text-text break-words min-w-0 whitespace-pre-wrap",children:e.text})]},e.id))]}),(0,f.jsxs)("div",{className:"relative shrink-0 border-t border-border",children:[a&&w.length>0&&(0,f.jsx)("div",{className:"absolute bottom-full left-0 right-0 border border-border bg-bg-surface",children:w.map(e=>(0,f.jsxs)("button",{onClick:()=>{o(n.replace(/@\w*$/,`@${e} `)),h(!1),m.current?.focus()},className:"w-full text-left px-3 py-1 text-[12px] hover:bg-[#1a1a1a] transition-colors",style:{color:nt(e)},children:["@",e]},e))}),(0,f.jsx)("input",{ref:m,type:"text",value:n,onChange:e=>{var i;let s;return o(i=e.target.value),void((s=i.match(/@(\w*)$/))?(h(!0),c(s[1].toLowerCase())):h(!1))},onKeyDown:s=>{if("Enter"===s.key&&!s.shiftKey){let r;s.preventDefault(),(r=n.trim())&&fetch(`/api/chat${e?`?project=${encodeURIComponent(e)}`:""}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({text:r,channel:i,sender:"user"})}).then(e=>{if(!e.ok)throw Error(`Send failed: ${e.status}`);o(""),setTimeout(b,300)}).catch(e=>console.error(e.message))}"Escape"===s.key&&h(!1)},placeholder:`Message #${i}...`,className:"w-full bg-transparent px-3 py-2 text-[12px] font-mono text-text placeholder:text-text-muted outline-none focus:ring-1 focus:ring-accent"})]})]})}function nr({color:e}){return(0,f.jsx)("span",{className:`inline-block w-1.5 h-1.5 rounded-full shrink-0 ${e}`})}function nn({projectId:e}){let[i,s]=(0,p.useState)([]),[r,n]=(0,p.useState)([]),o=(0,p.useCallback)(()=>{fetch(`/api/github/issues?project=${encodeURIComponent(e)}`).then(e=>{if(!e.ok)throw Error(`${e.status}`);return e.json()}).then(e=>{Array.isArray(e)&&s(e)}).catch(()=>{}),fetch(`/api/github/prs?project=${encodeURIComponent(e)}`).then(e=>{if(!e.ok)throw Error(`${e.status}`);return e.json()}).then(e=>{Array.isArray(e)&&n(e)}).catch(()=>{})},[e]);return(0,p.useEffect)(()=>{o();let e=setInterval(o,3e4);return()=>clearInterval(e)},[o]),(0,f.jsxs)("div",{className:"flex flex-col h-full overflow-y-auto",children:[(0,f.jsx)("div",{className:"px-3 py-1.5 border-b border-border",children:(0,f.jsxs)("span",{className:"text-[10px] text-text-muted uppercase tracking-wider",children:["Issues (",i.length,")"]})}),0===i.length&&(0,f.jsx)("div",{className:"px-3 py-2 text-[11px] text-text-muted",children:"No issues"}),i.map(e=>(0,f.jsxs)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 px-3 py-1 font-mono hover:bg-[#1a1a1a] transition-colors cursor-pointer border-b border-border/50",children:[(0,f.jsx)(nr,{color:"OPEN"===e.state?"bg-accent":"bg-error"}),(0,f.jsxs)("span",{className:"text-[11px] text-text-muted w-8 shrink-0",children:["#",e.number]}),(0,f.jsx)("span",{className:"text-[11px] text-text truncate flex-1 min-w-0",children:e.title}),e.assignees?.[0]&&(0,f.jsx)("span",{className:"text-[10px] text-text-muted shrink-0",children:e.assignees[0].login})]},e.number)),(0,f.jsx)("div",{className:"px-3 py-1.5 border-b border-border mt-1",children:(0,f.jsxs)("span",{className:"text-[10px] text-text-muted uppercase tracking-wider",children:["Pull Requests (",r.length,")"]})}),0===r.length&&(0,f.jsx)("div",{className:"px-3 py-2 text-[11px] text-text-muted",children:"No PRs"}),r.map(e=>{let i=e.reviews||[],s=e.reviewDecision||"REVIEW_REQUIRED",r={};for(let e of i){let i=(e.body||"").trim();/^(?:Reviewer2|T2b)\b/i.test(i)?r.reviewer2=e.state:(/^(?:Reviewer1|T2a)\b/i.test(i)||/^##\s*Verdict/i.test(i))&&(r.reviewer1=e.state)}return(0,f.jsxs)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 px-3 py-1 font-mono hover:bg-[#1a1a1a] transition-colors cursor-pointer border-b border-border/50",children:[(0,f.jsx)(nr,{color:"APPROVED"===s?"bg-accent":"CHANGES_REQUESTED"===s?"bg-error":"bg-[#ffcc00]"}),(0,f.jsxs)("span",{className:"text-[11px] text-text-muted w-8 shrink-0",children:["#",e.number]}),(0,f.jsx)("span",{className:"text-[11px] text-text truncate flex-1 min-w-0",children:e.title}),e.assignees?.[0]&&(0,f.jsx)("span",{className:"text-[10px] text-text-muted shrink-0",children:e.assignees[0].login}),["reviewer1","reviewer2"].map(e=>{let i=r[e];return(0,f.jsxs)("span",{className:`text-[10px] shrink-0 ${i?"APPROVED"===i?"text-accent":"CHANGES_REQUESTED"===i?"text-error":"text-[#ffcc00]":"text-text-muted"}`,children:[e,":",i?"APPROVED"===i?"ok":"CHANGES_REQUESTED"===i?"chg":"rev":"—"]},e)}),(0,f.jsx)("span",{className:`text-[10px] shrink-0 ${function(e){if(!e||0===e.length)return"text-text-muted";let i=e.map(e=>e.state);return i.every(e=>"SUCCESS"===e)?"text-accent":i.some(e=>"FAILURE"===e||"ERROR"===e)?"text-error":"text-[#ffcc00]"}(e.statusCheckRollup)}`,children:function(e){if(!e||0===e.length)return"—";let i=e.map(e=>e.state);return i.every(e=>"SUCCESS"===e)?"pass":i.some(e=>"FAILURE"===e||"ERROR"===e)?"fail":"run"}(e.statusCheckRollup)})]},e.number)})]})}let no=[{label:"1 hour",minutes:60},{label:"3 hours",minutes:180},{label:"8 hours",minutes:480},{label:"Until stopped",minutes:0}];function na(e){if(e<=0)return"0m 0s";let i=Math.floor(e/36e5),s=Math.floor(e%36e5/6e4),r=Math.floor(e%6e4/1e3);return i>0?`${i}h ${s}m`:`${s}m ${r}s`}function nh({projectId:e}){let[i,s]=(0,p.useState)(null),[r,n]=(0,p.useState)(15),[o,a]=(0,p.useState)(180),[h,l]=(0,p.useState)(""),[c,d]=(0,p.useState)("");(0,p.useEffect)(()=>{let i=()=>{fetch("/api/triggers").then(e=>e.ok?e.json():{}).then(i=>{let r=i[e];r?(s(r),n(Math.round(r.interval/6e4))):s(null)}).catch(()=>{})};i();let r=window.setInterval(i,1e4);return()=>window.clearInterval(r)},[e]),(0,p.useEffect)(()=>{if(!i?.nextAt&&!i?.expiresAt){l(""),d("");return}let e=()=>{if(i.nextAt&&l(na(Math.max(0,i.nextAt-Date.now()))),i.expiresAt){let e=Math.max(0,i.expiresAt-Date.now());d(na(e)),e<=0&&s(null)}else d("")};e();let r=window.setInterval(e,1e3);return()=>window.clearInterval(r)},[i?.nextAt,i?.expiresAt]);let u=i?.enabled;return(0,f.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,f.jsx)("div",{className:"text-[10px] text-text-muted uppercase tracking-wider font-semibold",children:"Keep Alive"}),(0,f.jsx)("div",{className:"text-[10px] text-text-muted leading-tight",children:"Send a check-in to all agents every:"}),u?(0,f.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,f.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,f.jsxs)("span",{className:"flex items-center gap-1",children:[(0,f.jsx)("span",{className:"w-1.5 h-1.5 rounded-full bg-accent"}),(0,f.jsx)("span",{className:"text-[11px] text-accent",children:"Running"})]}),(0,f.jsxs)("span",{className:"text-[11px] text-text tabular-nums",children:["Next: ",h]}),c&&(0,f.jsxs)("span",{className:"text-[11px] text-text-muted tabular-nums",children:["Stops in: ",c]}),!i?.expiresAt&&(0,f.jsx)("span",{className:"text-[10px] text-text-muted",children:"(until stopped)"})]}),(0,f.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,f.jsx)("button",{onClick:()=>{fetch(`/api/triggers/${encodeURIComponent(e)}/send-now`,{method:"POST"}).catch(()=>{})},className:"px-1.5 py-0.5 text-[10px] text-accent border border-accent/40 hover:bg-accent/10 transition-colors",children:"Send Now"}),(0,f.jsx)("button",{onClick:()=>{fetch(`/api/triggers/${encodeURIComponent(e)}/stop`,{method:"POST"}).then(e=>e.json()).then(e=>{e.ok&&s(null)}).catch(()=>{})},className:"px-1.5 py-0.5 text-[10px] text-text-muted border border-border hover:text-error hover:border-error/40 transition-colors",children:"Stop"})]})]}):(0,f.jsx)("div",{className:"flex flex-col gap-1.5",children:(0,f.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,f.jsx)("input",{type:"number",value:r,onChange:e=>n(parseInt(e.target.value,10)||15),min:1,max:1440,className:"w-10 bg-transparent border border-border px-1 py-0.5 text-[11px] text-text outline-none focus:border-accent text-center"}),(0,f.jsx)("span",{className:"text-[10px] text-text-muted",children:"min"}),(0,f.jsx)("span",{className:"text-[10px] text-text-muted mx-0.5",children:"for"}),(0,f.jsx)("select",{value:o,onChange:e=>a(parseInt(e.target.value,10)),className:"bg-transparent border border-border px-1 py-0.5 text-[11px] text-text outline-none focus:border-accent cursor-pointer",children:no.map(e=>(0,f.jsx)("option",{value:e.minutes,className:"bg-bg-surface",children:e.label},e.minutes))}),(0,f.jsx)("button",{onClick:()=>{fetch(`/api/triggers/${encodeURIComponent(e)}/start`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({interval:r,duration:o})}).then(e=>e.json()).then(e=>{e.ok&&s({enabled:!0,interval:e.interval,lastSent:null,nextAt:e.nextAt,expiresAt:e.expiresAt||null})}).catch(()=>{})},className:"px-2 py-0.5 text-[10px] text-bg bg-accent hover:bg-accent-dim font-semibold transition-colors",children:"Start"})]})})]})}function nl({projectId:e}){let[i,s]=(0,p.useState)(null),[r,n]=(0,p.useState)(null),[o,a]=(0,p.useState)(!1),h=()=>{setTimeout(()=>n(null),3e3)};(0,p.useEffect)(()=>{if(!o)return;let e=setTimeout(()=>a(!1),4e3);return()=>clearTimeout(e)},[o]);let l=async()=>{if(!o)return void a(!0);a(!1),s("stop");try{let i=await fetch(`/api/agentchattr/${encodeURIComponent(e)}/stop`,{method:"POST"}),s=await i.json();n(s.ok?"Stopped":"Failed")}catch{n("Error")}s(null),h()},c=async()=>{s("restart");try{let i=await fetch(`/api/agentchattr/${encodeURIComponent(e)}/restart`,{method:"POST"}),s=await i.json();s.ok&&s.pid?n(`Restarted (PID: ${s.pid})`):n(s.error||"Failed to restart")}catch{n("Error")}s(null),h()},d=async()=>{s("reset");try{let i=await fetch(`/api/agents/${encodeURIComponent(e)}/reset`,{method:"POST"}),s=await i.json();n(s.ok?`Reset — ${s.cleared} of ${s.total} slot${1!==s.total?"s":""} deregistered`:"Failed")}catch{n("Error")}s(null),h()};return(0,f.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,f.jsx)("div",{className:"text-[10px] text-text-muted uppercase tracking-wider font-semibold",children:"Server"}),(0,f.jsxs)("div",{className:"flex items-center gap-1.5 flex-wrap",children:[(0,f.jsx)("button",{onClick:l,disabled:!!i,className:`px-1.5 py-0.5 text-[10px] border transition-colors disabled:opacity-50 ${o?"text-error border-error/60 bg-error/10 hover:bg-error/20":"text-text-muted border-border hover:text-error hover:border-error/40"}`,children:"stop"===i?"...":o?"Confirm Stop?":"Stop"}),(0,f.jsx)("button",{onClick:c,disabled:!!i,className:"px-1.5 py-0.5 text-[10px] text-text-muted border border-border hover:text-accent hover:border-accent/40 transition-colors disabled:opacity-50",children:"restart"===i?"...":"Restart"}),(0,f.jsx)("button",{onClick:d,disabled:!!i,className:"px-1.5 py-0.5 text-[10px] text-text-muted border border-border hover:text-accent hover:border-accent/40 transition-colors disabled:opacity-50",children:"reset"===i?"...":"Reset Agents"})]}),r&&(0,f.jsx)("div",{className:"text-[10px] text-accent",children:r})]})}let nc=[{label:"2 hours",seconds:7200},{label:"4 hours",seconds:14400},{label:"8 hours",seconds:28800},{label:"Until stopped",seconds:0}];function nd(){let e,i,[s,r]=(0,p.useState)(!1),[n,o]=(0,p.useState)(null),[a,h]=(0,p.useState)(""),[l,c]=(0,p.useState)(!1),d=(0,p.useCallback)(()=>{fetch("/api/caffeinate/status").then(e=>e.ok?e.json():null).then(e=>{e&&(r(e.active),o(e.remaining),h(e.platform))}).catch(()=>{})},[]);return((0,p.useEffect)(()=>{d();let e=setInterval(d,5e3);return()=>clearInterval(e)},[d]),a&&"darwin"!==a)?null:(0,f.jsxs)("div",{className:"flex flex-col gap-1 relative",children:[(0,f.jsx)("div",{className:"text-[10px] text-text-muted uppercase tracking-wider font-semibold",children:"System"}),(0,f.jsx)("div",{className:"flex items-center gap-1.5",children:(0,f.jsxs)("button",{onClick:()=>s?void fetch("/api/caffeinate/stop",{method:"POST"}).then(()=>{r(!1),o(null)}).catch(()=>{}):c(!l),className:`px-1.5 py-0.5 text-[10px] border transition-colors ${s?"border-accent/50 text-accent bg-accent/10 hover:bg-accent/20":"border-border text-text-muted hover:text-text hover:border-accent"}`,children:[s?"Awake":"Keep Awake",s&&null!==n&&n>0&&(0,f.jsx)("span",{className:"ml-1 text-accent/70",children:(e=Math.floor(n/3600),i=Math.floor(n%3600/60),e>0?`${e}h ${i}m`:`${i}m`)}),s&&null===n&&(0,f.jsx)("span",{className:"ml-1 text-accent/70",children:"on"})]})}),l&&!s&&(0,f.jsxs)("div",{className:"absolute bottom-full left-0 mb-1 border border-border bg-bg-surface z-20 min-w-[140px]",children:[(0,f.jsx)("p",{className:"px-2 py-1 text-[10px] text-[#ffcc00] border-b border-border",children:"Make sure Mac is plugged in"}),nc.map(e=>(0,f.jsx)("button",{onClick:()=>{var i;fetch("/api/caffeinate/start",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({duration:i=e.seconds})}).then(e=>e.json()).then(e=>{e.ok&&(r(!0),o(i||null))}).catch(()=>{}),c(!1)},className:"w-full text-left px-2 py-1 text-[10px] text-text hover:bg-[#1a1a1a] transition-colors",children:e.label},e.label))]})]})}function nu({projectId:e}){return(0,f.jsx)("div",{className:"border-t border-border px-3 py-2",children:(0,f.jsxs)("div",{className:"flex items-start gap-6",children:[(0,f.jsx)(nh,{projectId:e}),(0,f.jsx)("div",{className:"w-px self-stretch bg-border"}),(0,f.jsx)(nl,{projectId:e}),(0,f.jsx)("div",{className:"w-px self-stretch bg-border"}),(0,f.jsx)(nd,{})]})})}e.s(["default",0,function({projectId:e}){let i=(0,p.useRef)(null),[s,r]=(0,p.useState)(.5),[n,o]=(0,p.useState)(.5),a=(0,p.useRef)(null),[h,l]=(0,p.useState)({});(0,p.useEffect)(()=>{let i=()=>{fetch("/api/agents").then(e=>e.ok?e.json():{}).then(i=>{let s={};for(let[r,n]of Object.entries(i))r.startsWith(`${e}/`)&&(s[r.split("/")[1]]=n.state);l(s)}).catch(()=>{})};i();let s=setInterval(i,5e3);return()=>clearInterval(s)},[e]);let c=(e,i)=>{l(s=>({...s,[e]:i}))},d=(0,p.useCallback)((e,i)=>Math.min((i-4-150)/i,Math.max(150/i,e)),[]);(0,p.useEffect)(()=>{let e=e=>{if(!a.current||!i.current)return;let s=i.current.getBoundingClientRect();"col"===a.current?r(d((e.clientX-s.left)/s.width,s.width)):o(d((e.clientY-s.top)/s.height,s.height))},s=()=>{a.current=null,document.body.style.cursor="",document.body.style.userSelect=""};return window.addEventListener("mousemove",e),window.addEventListener("mouseup",s),()=>{window.removeEventListener("mousemove",e),window.removeEventListener("mouseup",s)}},[d]);let u=e=>{a.current=e,document.body.style.cursor="col"===e?"col-resize":"row-resize",document.body.style.userSelect="none"},_=`${100*s}% 4px 1fr`,g=`${100*n}% 4px 1fr`;return(0,f.jsxs)("div",{ref:i,className:"w-full h-full",style:{display:"grid",gridTemplateColumns:_,gridTemplateRows:g},children:[(0,f.jsxs)("div",{className:"flex flex-col overflow-hidden",children:[(0,f.jsx)(r7,{label:"Head",status:h.head||"stopped",projectId:e,agentId:"head",onStatusChange:e=>c("head",e)}),(0,f.jsx)("div",{className:"flex-1 min-h-0",children:(0,f.jsx)(r3,{projectId:e,agentId:"head"})})]}),(0,f.jsx)("div",{className:"bg-border cursor-col-resize hover:bg-accent-dim transition-colors",onMouseDown:()=>u("col")}),(0,f.jsxs)("div",{className:"flex flex-col overflow-hidden",children:[(0,f.jsx)(r7,{label:"GitHub"}),(0,f.jsx)("div",{className:"flex-1 min-h-0",children:(0,f.jsx)(nn,{projectId:e})})]}),(0,f.jsx)("div",{className:"bg-border cursor-row-resize hover:bg-accent-dim transition-colors",onMouseDown:()=>u("row")}),(0,f.jsx)("div",{className:"bg-border cursor-move",onMouseDown:()=>u("col")}),(0,f.jsx)("div",{className:"bg-border cursor-row-resize hover:bg-accent-dim transition-colors",onMouseDown:()=>u("row")}),(0,f.jsxs)("div",{className:"flex flex-col overflow-hidden",children:[(0,f.jsx)(r7,{label:"Chat"}),(0,f.jsx)("div",{className:"flex-1 min-h-0",children:(0,f.jsx)(ni,{projectId:e})}),(0,f.jsx)(nu,{projectId:e})]}),(0,f.jsx)("div",{className:"bg-border cursor-col-resize hover:bg-accent-dim transition-colors",onMouseDown:()=>u("col")}),(0,f.jsxs)("div",{className:"flex flex-col overflow-hidden",children:[(0,f.jsx)(r7,{label:"Panel 4"}),(0,f.jsx)("div",{className:"flex-1 min-h-0",children:(0,f.jsx)(r8,{projectId:e,agentStates:h,onStatusChange:c})})]})]})}],36330)},71714,e=>{e.n(e.i(36330))}]);
@@ -8,7 +8,7 @@
8
8
  b:I[11717,["/_next/static/chunks/08fgie1bcjynm.js","/_next/static/chunks/0ox7p_szjhn69.js"],"MetadataBoundary"]
9
9
  d:I[92243,["/_next/static/chunks/08fgie1bcjynm.js","/_next/static/chunks/0ox7p_szjhn69.js"],"default",1]
10
10
  :HL["/_next/static/chunks/0s8jbc4nxw6y6.css","style"]
11
- 0:{"P":null,"c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0s8jbc4nxw6y6.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/08fgie1bcjynm.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0ox7p_szjhn69.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"geist_mono_8d43a2aa-module__8Li5zG__variable h-full","children":["$","body",null,{"className":"h-full flex","children":[["$","$L2",null,{}],["$","main",null,{"className":"flex-1 min-w-0 overflow-auto","children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:1:props:children:props:notFound:0:1:props:style","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$0:f:0:1:0:props:children:1:props:children:props:children:1:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:1:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:1:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],null,["$","$L5",null,{"children":["$","$6",null,{"name":"Next.MetadataOutlet","children":"$@7"}]}]]}],{},null,false,null]},null,false,"$@8"]},null,false,null],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L9",null,{"children":"$La"}],["$","div",null,{"hidden":true,"children":["$","$Lb",null,{"children":["$","$6",null,{"name":"Next.Metadata","children":"$Lc"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$d",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0s8jbc4nxw6y6.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"SwKH2uVylbTKqdEOmtulv"}
11
+ 0:{"P":null,"c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0s8jbc4nxw6y6.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/08fgie1bcjynm.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0ox7p_szjhn69.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"geist_mono_8d43a2aa-module__8Li5zG__variable h-full","children":["$","body",null,{"className":"h-full flex","children":[["$","$L2",null,{}],["$","main",null,{"className":"flex-1 min-w-0 overflow-auto","children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:1:props:children:props:notFound:0:1:props:style","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$0:f:0:1:0:props:children:1:props:children:props:children:1:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:1:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:1:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],null,["$","$L5",null,{"children":["$","$6",null,{"name":"Next.MetadataOutlet","children":"$@7"}]}]]}],{},null,false,null]},null,false,"$@8"]},null,false,null],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L9",null,{"children":"$La"}],["$","div",null,{"hidden":true,"children":["$","$Lb",null,{"children":["$","$6",null,{"name":"Next.Metadata","children":"$Lc"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$d",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0s8jbc4nxw6y6.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"dHGCNcsZ-ELS8oJiLw51p"}
12
12
  e:[]
13
13
  8:"$We"
14
14
  a:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
@@ -3,4 +3,4 @@
3
3
  3:I[11717,["/_next/static/chunks/08fgie1bcjynm.js","/_next/static/chunks/0ox7p_szjhn69.js"],"MetadataBoundary"]
4
4
  4:"$Sreact.suspense"
5
5
  5:I[80070,["/_next/static/chunks/08fgie1bcjynm.js","/_next/static/chunks/0ox7p_szjhn69.js"],"IconMark"]
6
- 0:{"rsc":["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"QuadWork"}],["$","meta","1",{"name":"description","content":"Unified dashboard for multi-agent coding teams"}],["$","link","2",{"rel":"icon","href":"/favicon.ico?favicon.0x3dzn~oxb6tn.ico","sizes":"256x256","type":"image/x-icon"}],["$","$L5","3",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"SwKH2uVylbTKqdEOmtulv"}
6
+ 0:{"rsc":["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"QuadWork"}],["$","meta","1",{"name":"description","content":"Unified dashboard for multi-agent coding teams"}],["$","link","2",{"rel":"icon","href":"/favicon.ico?favicon.0x3dzn~oxb6tn.ico","sizes":"256x256","type":"image/x-icon"}],["$","$L5","3",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"dHGCNcsZ-ELS8oJiLw51p"}
@@ -3,4 +3,4 @@
3
3
  3:I[12527,["/_next/static/chunks/08fgie1bcjynm.js","/_next/static/chunks/0ox7p_szjhn69.js"],"default"]
4
4
  4:I[59763,["/_next/static/chunks/08fgie1bcjynm.js","/_next/static/chunks/0ox7p_szjhn69.js"],"default"]
5
5
  :HL["/_next/static/chunks/0s8jbc4nxw6y6.css","style"]
6
- 0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0s8jbc4nxw6y6.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/08fgie1bcjynm.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0ox7p_szjhn69.js","async":true}]],["$","html",null,{"lang":"en","className":"geist_mono_8d43a2aa-module__8Li5zG__variable h-full","children":["$","body",null,{"className":"h-full flex","children":[["$","$L2",null,{}],["$","main",null,{"className":"flex-1 min-w-0 overflow-auto","children":["$","$L3",null,{"parallelRouterKey":"children","template":["$","$L4",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]]}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"SwKH2uVylbTKqdEOmtulv"}
6
+ 0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0s8jbc4nxw6y6.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/08fgie1bcjynm.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0ox7p_szjhn69.js","async":true}]],["$","html",null,{"lang":"en","className":"geist_mono_8d43a2aa-module__8Li5zG__variable h-full","children":["$","body",null,{"className":"h-full flex","children":[["$","$L2",null,{}],["$","main",null,{"className":"flex-1 min-w-0 overflow-auto","children":["$","$L3",null,{"parallelRouterKey":"children","template":["$","$L4",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]]}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"dHGCNcsZ-ELS8oJiLw51p"}
@@ -1,5 +1,5 @@
1
1
  1:"$Sreact.fragment"
2
2
  2:I[11717,["/_next/static/chunks/08fgie1bcjynm.js","/_next/static/chunks/0ox7p_szjhn69.js"],"OutletBoundary"]
3
3
  3:"$Sreact.suspense"
4
- 0:{"rsc":["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],null,["$","$L2",null,{"children":["$","$3",null,{"name":"Next.MetadataOutlet","children":"$@4"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"SwKH2uVylbTKqdEOmtulv"}
4
+ 0:{"rsc":["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],null,["$","$L2",null,{"children":["$","$3",null,{"name":"Next.MetadataOutlet","children":"$@4"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"dHGCNcsZ-ELS8oJiLw51p"}
5
5
  4:null
@@ -2,4 +2,4 @@
2
2
  2:I[12527,["/_next/static/chunks/08fgie1bcjynm.js","/_next/static/chunks/0ox7p_szjhn69.js"],"default"]
3
3
  3:I[59763,["/_next/static/chunks/08fgie1bcjynm.js","/_next/static/chunks/0ox7p_szjhn69.js"],"default"]
4
4
  4:[]
5
- 0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"SwKH2uVylbTKqdEOmtulv"}
5
+ 0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"dHGCNcsZ-ELS8oJiLw51p"}
@@ -1,2 +1,2 @@
1
1
  :HL["/_next/static/chunks/0s8jbc4nxw6y6.css","style"]
2
- 0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"/_not-found","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":300,"buildId":"SwKH2uVylbTKqdEOmtulv"}
2
+ 0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"/_not-found","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":300,"buildId":"dHGCNcsZ-ELS8oJiLw51p"}
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en" class="geist_mono_8d43a2aa-module__8Li5zG__variable h-full"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/0s8jbc4nxw6y6.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/0z~0.4hivi.f2.js"/><script src="/_next/static/chunks/0ezniz80psxr6.js" async=""></script><script src="/_next/static/chunks/0r7t_sj_sejq9.js" async=""></script><script src="/_next/static/chunks/0io_y3d0p5v~b.js" async=""></script><script src="/_next/static/chunks/0excsn2a_5qsb.js" async=""></script><script src="/_next/static/chunks/turbopack-0sammtvunroor.js" async=""></script><script src="/_next/static/chunks/08fgie1bcjynm.js" async=""></script><script src="/_next/static/chunks/0ox7p_szjhn69.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><title>QuadWork</title><meta name="description" content="Unified dashboard for multi-agent coding teams"/><link rel="icon" href="/favicon.ico?favicon.0x3dzn~oxb6tn.ico" sizes="256x256" type="image/x-icon"/><script src="/_next/static/chunks/03~yq9q893hmn.js" noModule=""></script></head><body class="h-full flex"><div hidden=""><!--$--><!--/$--></div><aside class="w-16 shrink-0 h-full border-r border-border bg-bg-surface flex flex-col items-center py-3"><a class="w-10 h-10 flex items-center justify-center rounded-sm transition-colors text-text-muted hover:text-text hover:bg-[#1a1a1a]" title="Home" href="/"><svg width="20" height="20" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M3 10L10 3l7 7"></path><path d="M5 8.5V16h3.5v-4h3v4H15V8.5"></path></svg></a><div class="w-6 h-px bg-border my-2"></div><div class="flex-1 flex flex-col items-center gap-2 overflow-y-auto min-h-0"><a class="w-10 h-10 flex items-center justify-center rounded-full border border-dashed border-border text-text-muted hover:text-text hover:bg-[#1a1a1a] transition-colors" title="Add project" href="/setup"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"><path d="M8 3v10M3 8h10"></path></svg></a></div><div class="w-6 h-px bg-border my-2"></div><a class="w-10 h-10 flex items-center justify-center rounded-sm transition-colors text-text-muted hover:text-text hover:bg-[#1a1a1a]" title="Settings" href="/settings"><svg width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="9" cy="9" r="2.5"></circle><path d="M7.5 1.5h3l.4 2.1a5.5 5.5 0 011.3.7l2-.8 1.5 2.6-1.6 1.3a5.5 5.5 0 010 1.5l1.6 1.3-1.5 2.6-2-.8a5.5 5.5 0 01-1.3.7l-.4 2.1h-3l-.4-2.1a5.5 5.5 0 01-1.3-.7l-2 .8-1.5-2.6 1.6-1.3a5.5 5.5 0 010-1.5L2.3 6.1l1.5-2.6 2 .8a5.5 5.5 0 011.3-.7z"></path></svg></a></aside><main class="flex-1 min-w-0 overflow-auto"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--></main><script src="/_next/static/chunks/0z~0.4hivi.f2.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[86081,[\"/_next/static/chunks/08fgie1bcjynm.js\",\"/_next/static/chunks/0ox7p_szjhn69.js\"],\"default\"]\n3:I[12527,[\"/_next/static/chunks/08fgie1bcjynm.js\",\"/_next/static/chunks/0ox7p_szjhn69.js\"],\"default\"]\n4:I[59763,[\"/_next/static/chunks/08fgie1bcjynm.js\",\"/_next/static/chunks/0ox7p_szjhn69.js\"],\"default\"]\n5:I[11717,[\"/_next/static/chunks/08fgie1bcjynm.js\",\"/_next/static/chunks/0ox7p_szjhn69.js\"],\"OutletBoundary\"]\n6:\"$Sreact.suspense\"\n9:I[11717,[\"/_next/static/chunks/08fgie1bcjynm.js\",\"/_next/static/chunks/0ox7p_szjhn69.js\"],\"ViewportBoundary\"]\nb:I[11717,[\"/_next/static/chunks/08fgie1bcjynm.js\",\"/_next/static/chunks/0ox7p_szjhn69.js\"],\"MetadataBoundary\"]\nd:I[92243,[\"/_next/static/chunks/08fgie1bcjynm.js\",\"/_next/static/chunks/0ox7p_szjhn69.js\"],\"default\",1]\n:HL[\"/_next/static/chunks/0s8jbc4nxw6y6.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0s8jbc4nxw6y6.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/08fgie1bcjynm.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/0ox7p_szjhn69.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"geist_mono_8d43a2aa-module__8Li5zG__variable h-full\",\"children\":[\"$\",\"body\",null,{\"className\":\"h-full flex\",\"children\":[[\"$\",\"$L2\",null,{}],[\"$\",\"main\",null,{\"className\":\"flex-1 min-w-0 overflow-auto\",\"children\":[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:1:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:1:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:1:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:1:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L5\",null,{\"children\":[\"$\",\"$6\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@7\"}]}]]}],{},null,false,null]},null,false,\"$@8\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L9\",null,{\"children\":\"$La\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Lb\",null,{\"children\":[\"$\",\"$6\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lc\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$d\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0s8jbc4nxw6y6.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"SwKH2uVylbTKqdEOmtulv\"}\n"])</script><script>self.__next_f.push([1,"e:[]\n8:\"$We\"\n"])</script><script>self.__next_f.push([1,"a:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"f:I[80070,[\"/_next/static/chunks/08fgie1bcjynm.js\",\"/_next/static/chunks/0ox7p_szjhn69.js\"],\"IconMark\"]\n7:null\nc:[[\"$\",\"title\",\"0\",{\"children\":\"QuadWork\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Unified dashboard for multi-agent coding teams\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.0x3dzn~oxb6tn.ico\",\"sizes\":\"256x256\",\"type\":\"image/x-icon\"}],[\"$\",\"$Lf\",\"3\",{}]]\n"])</script></body></html>
1
+ <!DOCTYPE html><html lang="en" class="geist_mono_8d43a2aa-module__8Li5zG__variable h-full"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/0s8jbc4nxw6y6.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/0z~0.4hivi.f2.js"/><script src="/_next/static/chunks/0ezniz80psxr6.js" async=""></script><script src="/_next/static/chunks/0r7t_sj_sejq9.js" async=""></script><script src="/_next/static/chunks/0io_y3d0p5v~b.js" async=""></script><script src="/_next/static/chunks/0excsn2a_5qsb.js" async=""></script><script src="/_next/static/chunks/turbopack-0sammtvunroor.js" async=""></script><script src="/_next/static/chunks/08fgie1bcjynm.js" async=""></script><script src="/_next/static/chunks/0ox7p_szjhn69.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><title>QuadWork</title><meta name="description" content="Unified dashboard for multi-agent coding teams"/><link rel="icon" href="/favicon.ico?favicon.0x3dzn~oxb6tn.ico" sizes="256x256" type="image/x-icon"/><script src="/_next/static/chunks/03~yq9q893hmn.js" noModule=""></script></head><body class="h-full flex"><div hidden=""><!--$--><!--/$--></div><aside class="w-16 shrink-0 h-full border-r border-border bg-bg-surface flex flex-col items-center py-3"><a class="w-10 h-10 flex items-center justify-center rounded-sm transition-colors text-text-muted hover:text-text hover:bg-[#1a1a1a]" title="Home" href="/"><svg width="20" height="20" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M3 10L10 3l7 7"></path><path d="M5 8.5V16h3.5v-4h3v4H15V8.5"></path></svg></a><div class="w-6 h-px bg-border my-2"></div><div class="flex-1 flex flex-col items-center gap-2 overflow-y-auto min-h-0"><a class="w-10 h-10 flex items-center justify-center rounded-full border border-dashed border-border text-text-muted hover:text-text hover:bg-[#1a1a1a] transition-colors" title="Add project" href="/setup"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"><path d="M8 3v10M3 8h10"></path></svg></a></div><div class="w-6 h-px bg-border my-2"></div><a class="w-10 h-10 flex items-center justify-center rounded-sm transition-colors text-text-muted hover:text-text hover:bg-[#1a1a1a]" title="Settings" href="/settings"><svg width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="9" cy="9" r="2.5"></circle><path d="M7.5 1.5h3l.4 2.1a5.5 5.5 0 011.3.7l2-.8 1.5 2.6-1.6 1.3a5.5 5.5 0 010 1.5l1.6 1.3-1.5 2.6-2-.8a5.5 5.5 0 01-1.3.7l-.4 2.1h-3l-.4-2.1a5.5 5.5 0 01-1.3-.7l-2 .8-1.5-2.6 1.6-1.3a5.5 5.5 0 010-1.5L2.3 6.1l1.5-2.6 2 .8a5.5 5.5 0 011.3-.7z"></path></svg></a></aside><main class="flex-1 min-w-0 overflow-auto"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--></main><script src="/_next/static/chunks/0z~0.4hivi.f2.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[86081,[\"/_next/static/chunks/08fgie1bcjynm.js\",\"/_next/static/chunks/0ox7p_szjhn69.js\"],\"default\"]\n3:I[12527,[\"/_next/static/chunks/08fgie1bcjynm.js\",\"/_next/static/chunks/0ox7p_szjhn69.js\"],\"default\"]\n4:I[59763,[\"/_next/static/chunks/08fgie1bcjynm.js\",\"/_next/static/chunks/0ox7p_szjhn69.js\"],\"default\"]\n5:I[11717,[\"/_next/static/chunks/08fgie1bcjynm.js\",\"/_next/static/chunks/0ox7p_szjhn69.js\"],\"OutletBoundary\"]\n6:\"$Sreact.suspense\"\n9:I[11717,[\"/_next/static/chunks/08fgie1bcjynm.js\",\"/_next/static/chunks/0ox7p_szjhn69.js\"],\"ViewportBoundary\"]\nb:I[11717,[\"/_next/static/chunks/08fgie1bcjynm.js\",\"/_next/static/chunks/0ox7p_szjhn69.js\"],\"MetadataBoundary\"]\nd:I[92243,[\"/_next/static/chunks/08fgie1bcjynm.js\",\"/_next/static/chunks/0ox7p_szjhn69.js\"],\"default\",1]\n:HL[\"/_next/static/chunks/0s8jbc4nxw6y6.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0s8jbc4nxw6y6.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/08fgie1bcjynm.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/0ox7p_szjhn69.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"geist_mono_8d43a2aa-module__8Li5zG__variable h-full\",\"children\":[\"$\",\"body\",null,{\"className\":\"h-full flex\",\"children\":[[\"$\",\"$L2\",null,{}],[\"$\",\"main\",null,{\"className\":\"flex-1 min-w-0 overflow-auto\",\"children\":[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:1:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:1:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:1:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:1:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L5\",null,{\"children\":[\"$\",\"$6\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@7\"}]}]]}],{},null,false,null]},null,false,\"$@8\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L9\",null,{\"children\":\"$La\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Lb\",null,{\"children\":[\"$\",\"$6\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lc\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$d\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0s8jbc4nxw6y6.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"dHGCNcsZ-ELS8oJiLw51p\"}\n"])</script><script>self.__next_f.push([1,"e:[]\n8:\"$We\"\n"])</script><script>self.__next_f.push([1,"a:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"f:I[80070,[\"/_next/static/chunks/08fgie1bcjynm.js\",\"/_next/static/chunks/0ox7p_szjhn69.js\"],\"IconMark\"]\n7:null\nc:[[\"$\",\"title\",\"0\",{\"children\":\"QuadWork\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Unified dashboard for multi-agent coding teams\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.0x3dzn~oxb6tn.ico\",\"sizes\":\"256x256\",\"type\":\"image/x-icon\"}],[\"$\",\"$Lf\",\"3\",{}]]\n"])</script></body></html>
@@ -8,7 +8,7 @@
8
8
  b:I[11717,["/_next/static/chunks/08fgie1bcjynm.js","/_next/static/chunks/0ox7p_szjhn69.js"],"MetadataBoundary"]
9
9
  d:I[92243,["/_next/static/chunks/08fgie1bcjynm.js","/_next/static/chunks/0ox7p_szjhn69.js"],"default",1]
10
10
  :HL["/_next/static/chunks/0s8jbc4nxw6y6.css","style"]
11
- 0:{"P":null,"c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0s8jbc4nxw6y6.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/08fgie1bcjynm.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0ox7p_szjhn69.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"geist_mono_8d43a2aa-module__8Li5zG__variable h-full","children":["$","body",null,{"className":"h-full flex","children":[["$","$L2",null,{}],["$","main",null,{"className":"flex-1 min-w-0 overflow-auto","children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:1:props:children:props:notFound:0:1:props:style","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$0:f:0:1:0:props:children:1:props:children:props:children:1:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:1:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:1:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],null,["$","$L5",null,{"children":["$","$6",null,{"name":"Next.MetadataOutlet","children":"$@7"}]}]]}],{},null,false,null]},null,false,"$@8"]},null,false,null],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L9",null,{"children":"$La"}],["$","div",null,{"hidden":true,"children":["$","$Lb",null,{"children":["$","$6",null,{"name":"Next.Metadata","children":"$Lc"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$d",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0s8jbc4nxw6y6.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"SwKH2uVylbTKqdEOmtulv"}
11
+ 0:{"P":null,"c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0s8jbc4nxw6y6.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/08fgie1bcjynm.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0ox7p_szjhn69.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"geist_mono_8d43a2aa-module__8Li5zG__variable h-full","children":["$","body",null,{"className":"h-full flex","children":[["$","$L2",null,{}],["$","main",null,{"className":"flex-1 min-w-0 overflow-auto","children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:1:props:children:props:notFound:0:1:props:style","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$0:f:0:1:0:props:children:1:props:children:props:children:1:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:1:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:1:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],null,["$","$L5",null,{"children":["$","$6",null,{"name":"Next.MetadataOutlet","children":"$@7"}]}]]}],{},null,false,null]},null,false,"$@8"]},null,false,null],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L9",null,{"children":"$La"}],["$","div",null,{"hidden":true,"children":["$","$Lb",null,{"children":["$","$6",null,{"name":"Next.Metadata","children":"$Lc"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$d",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0s8jbc4nxw6y6.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"dHGCNcsZ-ELS8oJiLw51p"}
12
12
  e:[]
13
13
  8:"$We"
14
14
  a:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
@@ -9,7 +9,7 @@ b:I[11717,["/_next/static/chunks/08fgie1bcjynm.js","/_next/static/chunks/0ox7p_s
9
9
  d:I[92243,["/_next/static/chunks/08fgie1bcjynm.js","/_next/static/chunks/0ox7p_szjhn69.js"],"default",1]
10
10
  :HL["/_next/static/chunks/0s8jbc4nxw6y6.css","style"]
11
11
  :HL["/_next/static/media/797e433ab948586e-s.p.0.q-h669a_dqa.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
12
- 0:{"P":null,"c":["","app-shell"],"q":"","i":false,"f":[[["",{"children":["app-shell",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0s8jbc4nxw6y6.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/08fgie1bcjynm.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0ox7p_szjhn69.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"geist_mono_8d43a2aa-module__8Li5zG__variable h-full","children":["$","body",null,{"className":"h-full flex","children":[["$","$L2",null,{}],["$","main",null,{"className":"flex-1 min-w-0 overflow-auto","children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[null,null,["$","$L5",null,{"children":["$","$6",null,{"name":"Next.MetadataOutlet","children":"$@7"}]}]]}],{},null,false,null]},null,false,"$@8"]},null,false,null],["$","$1","h",{"children":[null,["$","$L9",null,{"children":"$La"}],["$","div",null,{"hidden":true,"children":["$","$Lb",null,{"children":["$","$6",null,{"name":"Next.Metadata","children":"$Lc"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$d",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0s8jbc4nxw6y6.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"SwKH2uVylbTKqdEOmtulv"}
12
+ 0:{"P":null,"c":["","app-shell"],"q":"","i":false,"f":[[["",{"children":["app-shell",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0s8jbc4nxw6y6.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/08fgie1bcjynm.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0ox7p_szjhn69.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"geist_mono_8d43a2aa-module__8Li5zG__variable h-full","children":["$","body",null,{"className":"h-full flex","children":[["$","$L2",null,{}],["$","main",null,{"className":"flex-1 min-w-0 overflow-auto","children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[null,null,["$","$L5",null,{"children":["$","$6",null,{"name":"Next.MetadataOutlet","children":"$@7"}]}]]}],{},null,false,null]},null,false,"$@8"]},null,false,null],["$","$1","h",{"children":[null,["$","$L9",null,{"children":"$La"}],["$","div",null,{"hidden":true,"children":["$","$Lb",null,{"children":["$","$6",null,{"name":"Next.Metadata","children":"$Lc"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$d",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0s8jbc4nxw6y6.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"dHGCNcsZ-ELS8oJiLw51p"}
13
13
  e:[]
14
14
  8:"$We"
15
15
  a:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
@@ -3,4 +3,4 @@
3
3
  3:I[11717,["/_next/static/chunks/08fgie1bcjynm.js","/_next/static/chunks/0ox7p_szjhn69.js"],"MetadataBoundary"]
4
4
  4:"$Sreact.suspense"
5
5
  5:I[80070,["/_next/static/chunks/08fgie1bcjynm.js","/_next/static/chunks/0ox7p_szjhn69.js"],"IconMark"]
6
- 0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"QuadWork"}],["$","meta","1",{"name":"description","content":"Unified dashboard for multi-agent coding teams"}],["$","link","2",{"rel":"icon","href":"/favicon.ico?favicon.0x3dzn~oxb6tn.ico","sizes":"256x256","type":"image/x-icon"}],["$","$L5","3",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"SwKH2uVylbTKqdEOmtulv"}
6
+ 0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"QuadWork"}],["$","meta","1",{"name":"description","content":"Unified dashboard for multi-agent coding teams"}],["$","link","2",{"rel":"icon","href":"/favicon.ico?favicon.0x3dzn~oxb6tn.ico","sizes":"256x256","type":"image/x-icon"}],["$","$L5","3",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"dHGCNcsZ-ELS8oJiLw51p"}
@@ -3,4 +3,4 @@
3
3
  3:I[12527,["/_next/static/chunks/08fgie1bcjynm.js","/_next/static/chunks/0ox7p_szjhn69.js"],"default"]
4
4
  4:I[59763,["/_next/static/chunks/08fgie1bcjynm.js","/_next/static/chunks/0ox7p_szjhn69.js"],"default"]
5
5
  :HL["/_next/static/chunks/0s8jbc4nxw6y6.css","style"]
6
- 0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0s8jbc4nxw6y6.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/08fgie1bcjynm.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0ox7p_szjhn69.js","async":true}]],["$","html",null,{"lang":"en","className":"geist_mono_8d43a2aa-module__8Li5zG__variable h-full","children":["$","body",null,{"className":"h-full flex","children":[["$","$L2",null,{}],["$","main",null,{"className":"flex-1 min-w-0 overflow-auto","children":["$","$L3",null,{"parallelRouterKey":"children","template":["$","$L4",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]]}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"SwKH2uVylbTKqdEOmtulv"}
6
+ 0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0s8jbc4nxw6y6.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/08fgie1bcjynm.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0ox7p_szjhn69.js","async":true}]],["$","html",null,{"lang":"en","className":"geist_mono_8d43a2aa-module__8Li5zG__variable h-full","children":["$","body",null,{"className":"h-full flex","children":[["$","$L2",null,{}],["$","main",null,{"className":"flex-1 min-w-0 overflow-auto","children":["$","$L3",null,{"parallelRouterKey":"children","template":["$","$L4",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]]}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"dHGCNcsZ-ELS8oJiLw51p"}
@@ -1,3 +1,3 @@
1
1
  :HL["/_next/static/chunks/0s8jbc4nxw6y6.css","style"]
2
2
  :HL["/_next/static/media/797e433ab948586e-s.p.0.q-h669a_dqa.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
3
- 0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"app-shell","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":300,"buildId":"SwKH2uVylbTKqdEOmtulv"}
3
+ 0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"app-shell","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":300,"buildId":"dHGCNcsZ-ELS8oJiLw51p"}