gitifact 0.8.1 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/assets/{Banner-c1hFCLs8.js → Banner-DQ1G6Jkv.js} +1 -1
- package/dist/browser/assets/{BottomSheet-7C5eiOji.js → BottomSheet-BFoM6syr.js} +1 -1
- package/dist/browser/assets/Grid-DCCm_m5g.js +1 -0
- package/dist/browser/assets/{HoverCard-D6keobP0.js → HoverCard-Bpt8LVFT.js} +1 -1
- package/dist/browser/assets/{Icon-EsJf4C7A.js → Icon-DPaLmsmh.js} +3 -3
- package/dist/browser/assets/{IconButton-CgOx1Jog.js → IconButton-Br-4XhQr.js} +1 -1
- package/dist/browser/assets/{Markdown-Droxhk-G.js → Markdown-B9QJ2Ao-.js} +4 -4
- package/dist/browser/assets/{MenuBottomSheet-BOGxMa05.js → MenuBottomSheet-Dgz4h1S7.js} +1 -1
- package/dist/browser/assets/{MetadataListItem-C3SqHyk0.js → MetadataListItem-BEwPg27H.js} +1 -1
- package/dist/browser/assets/ProgressBarMarkTooltip-BxGSd9KS.js +1 -0
- package/dist/browser/assets/{Section-BEbhTpxd.js → Section-Z2PuhE6c.js} +1 -1
- package/dist/browser/assets/Selector-BlDYK5Fb.js +2 -0
- package/dist/browser/assets/{Tab-VVHagF2Z.js → Tab-BoCyIuQw.js} +1 -1
- package/dist/browser/assets/{Table-D4v8xCrw.js → Table-LdzcI4YS.js} +3 -3
- package/dist/browser/assets/{TimestampHoverCard-qfGbCkoP.js → TimestampHoverCard-B5JBaQDZ.js} +1 -1
- package/dist/browser/assets/{Token-BLd8-jfF.js → Token-CYBSUyAu.js} +1 -1
- package/dist/browser/assets/{Tooltip-QZg2pB5o.js → Tooltip-MoU3alsv.js} +1 -1
- package/dist/browser/assets/{about-DeUi-_2z.js → about-ClxCgIMf.js} +2 -2
- package/dist/browser/assets/{activity-timeline-bFoqFwVu.js → activity-timeline-i0lmNZ1o.js} +2 -2
- package/dist/browser/assets/{appearance-CDQ4fLdE.js → appearance-DgDbwXAm.js} +1 -1
- package/dist/browser/assets/changelog-bGtJx397.js +2 -0
- package/dist/browser/assets/commit-5TIiQrYh.js +4 -0
- package/dist/browser/assets/{container.stylex-6OsSOpKw.js → container.stylex-rwI38dw9.js} +1 -1
- package/dist/browser/assets/contributor-C1R6Q471.js +1 -0
- package/dist/browser/assets/contributors-DjNETDIr.js +1 -0
- package/dist/browser/assets/{contributors._email-BRfre3dw.js → contributors._email-DXxCGNZx.js} +1 -1
- package/dist/browser/assets/contributors.index-ByVvGuYC.js +1 -0
- package/dist/browser/assets/dashboard.index-RoAwRn4H.js +1 -0
- package/dist/browser/assets/document-BwoITy_-.js +2 -0
- package/dist/browser/assets/{document-JLY2-z8S.js → document-CwA2dxtP.js} +5 -5
- package/dist/browser/assets/features-CttwIYBf.js +2 -0
- package/dist/browser/assets/features-ZYCEDoiE.css +1 -0
- package/dist/browser/assets/{features._featureId-BgFHsRcy.js → features._featureId-DPctVYNz.js} +1 -1
- package/dist/browser/assets/features.index-lcNtlMn8.js +1 -0
- package/dist/browser/assets/getting-started-Chwezama.js +1 -0
- package/dist/browser/assets/git-CtsTwkaq.js +1 -0
- package/dist/browser/assets/index-iSt1IRzY.js +48 -0
- package/dist/browser/assets/instructions-DULmclHB.js +1 -0
- package/dist/browser/assets/instructions._instructionId-CBz40hpF.js +1 -0
- package/dist/browser/assets/instructions.agents-CDpXylSu.js +1 -0
- package/dist/browser/assets/instructions.index-BZ5tCMZJ.js +1 -0
- package/dist/browser/assets/{lazyRouteComponent-JkRa2CHo.js → lazyRouteComponent-DhTs_UEV.js} +1 -1
- package/dist/browser/assets/load-more-DxscRoh6.js +1 -0
- package/dist/browser/assets/{page-header-CPL7myjo.js → page-header-B9LQWl7J.js} +1 -1
- package/dist/browser/assets/records-page-B4tDip2H.css +1 -0
- package/dist/browser/assets/records-page-BjyFUmMr.js +1 -0
- package/dist/browser/assets/records._recordId-vwjWdPRX.js +1 -0
- package/dist/browser/assets/records.commits._commit-CYYgrOxv.js +1 -0
- package/dist/browser/assets/records.index-N49ep6ay.js +1 -0
- package/dist/browser/assets/records.working-CcYY8eyI.js +1 -0
- package/dist/browser/assets/request-state-BeiYxf95.js +1 -0
- package/dist/browser/assets/search-CSSuO-jR.js +1 -0
- package/dist/browser/assets/search-palette-BCEUlRVv.js +561 -0
- package/dist/browser/assets/search-palette-CDmYAo36.css +1 -0
- package/dist/browser/assets/{settings-BDVKHrS8.js → settings-I5Mn86wq.js} +1 -1
- package/dist/browser/assets/{themeProps-CfjLB1h4.js → themeProps-CkLe5zXY.js} +1 -1
- package/dist/browser/assets/{useClipboard-CTfBnLlg.js → useClipboard-Cqx6Upy7.js} +1 -1
- package/dist/browser/assets/useDevWarning-Dudfg3qF.js +1 -0
- package/dist/browser/assets/{useInfiniteQuery-Bn_R13Ih.js → useInfiniteQuery-tqfloUvn.js} +1 -1
- package/dist/browser/assets/{useIsomorphicLayoutEffect-DByj3svz.js → useIsomorphicLayoutEffect-BiEJxDg_.js} +1 -1
- package/dist/browser/assets/{useKeyboardHint-lSxUw5Qj.js → useKeyboardHint-HHpn4XUs.js} +1 -1
- package/dist/browser/assets/{useMediaQuery-CqJr5z44.js → useMediaQuery-twbHF0pO.js} +1 -1
- package/dist/browser/assets/{useScrollLock-CmZKJxOo.js → useScrollLock-D-Y-zHSV.js} +1 -1
- package/dist/browser/index.html +24 -24
- package/dist/i18n/en/changelog.md +10 -0
- package/dist/i18n/ko/changelog.md +10 -0
- package/dist/main.js +906 -447
- package/package.json +1 -1
- package/dist/browser/assets/Grid-BrUBBmhu.js +0 -1
- package/dist/browser/assets/ProgressBarMarkTooltip-C5Moep_o.js +0 -1
- package/dist/browser/assets/Selector-D_xYW7R_.js +0 -2
- package/dist/browser/assets/changelog-Brd1Ninm.js +0 -2
- package/dist/browser/assets/commit-CiMtFlZl.js +0 -4
- package/dist/browser/assets/contributor-C_IskSHq.js +0 -1
- package/dist/browser/assets/contributors-CbwXLc7M.js +0 -1
- package/dist/browser/assets/contributors.index-CV84owW7.js +0 -1
- package/dist/browser/assets/dashboard.index-CQdr7hsf.js +0 -1
- package/dist/browser/assets/document-BZmiLx-e.js +0 -2
- package/dist/browser/assets/features-Cj41kcXf.js +0 -4
- package/dist/browser/assets/features-g3j2elTj.css +0 -1
- package/dist/browser/assets/features.index-Ca0rzFW6.js +0 -1
- package/dist/browser/assets/getting-started-CgL3Vi9o.js +0 -1
- package/dist/browser/assets/git-B7oxggGB.js +0 -1
- package/dist/browser/assets/index-DWRGm9YO.js +0 -48
- package/dist/browser/assets/instructions-D3cdAPD3.js +0 -1
- package/dist/browser/assets/instructions._instructionId-BkT14646.js +0 -1
- package/dist/browser/assets/instructions.agents-B3jLRl1u.js +0 -1
- package/dist/browser/assets/instructions.index-8qlhSXoy.js +0 -1
- package/dist/browser/assets/records-page-B4Al3fIQ.js +0 -1
- package/dist/browser/assets/records-page-D2F1WJrh.css +0 -1
- package/dist/browser/assets/records._recordId-Chn1SO5R.js +0 -1
- package/dist/browser/assets/records.commits._commit-D4Wk4i_m.js +0 -1
- package/dist/browser/assets/records.index-CViTeD08.js +0 -1
- package/dist/browser/assets/records.working-BsHKMIz-.js +0 -1
- package/dist/browser/assets/request-state-oiWyP9c-.js +0 -1
- package/dist/browser/assets/search-BCYi0CBz.js +0 -1
- package/dist/browser/assets/search-palette-D0ctICJy.js +0 -561
- package/dist/browser/assets/search-palette-DpmGOAIg.css +0 -1
- package/dist/browser/assets/useDevWarning-gW8_bNZ_.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{K as t,l as n,n as r,q as i}from"./themeProps-CkLe5zXY.js";import{c as a,r as o}from"./document-CwA2dxtP.js";import{S as s,a as c,dt as l,et as u,ft as d,i as f,on as p,pt as m,tn as h,un as g,ut as _,vt as v,x as y,z as b}from"./search-palette-BCEUlRVv.js";import{s as x,t as S}from"./document-BwoITy_-.js";import{g as C,p as w}from"./Table-LdzcI4YS.js";import{a as T}from"./useMediaQuery-twbHF0pO.js";import{W as E,t as D,w as O}from"./Icon-DPaLmsmh.js";import{c as ee,l as k,t as A}from"./records-page-BjyFUmMr.js";import{s as j}from"./Markdown-B9QJ2Ao-.js";import{n as M,r as N}from"./Banner-DQ1G6Jkv.js";import{t as P}from"./request-state-BeiYxf95.js";import{n as F,t as I}from"./page-header-B9LQWl7J.js";import{n as L,t as R}from"./MetadataListItem-BEwPg27H.js";var z=e(i(),1),B=n(),V={mark:`_mark_3sf3o_2`,markLarge:`_markLarge_3sf3o_4`,rows:`_rows_3sf3o_15`,row:`_row_3sf3o_15`,rowText:`_rowText_3sf3o_20`,rowHead:`_rowHead_3sf3o_21`,rowTitle:`_rowTitle_3sf3o_22`,rowEnd:`_rowEnd_3sf3o_23`,clip:`_clip_3sf3o_24`,heading:`_heading_3sf3o_27`,back:`_back_3sf3o_29`,summary:`_summary_3sf3o_32`,activity:`_activity_3sf3o_33`,reader:`_reader_3sf3o_34`,files:`_files_3sf3o_35`,filesHeading:`_filesHeading_3sf3o_36`,content:`_content_3sf3o_37`,fileGroup:`_fileGroup_3sf3o_38`,folder:`_folder_3sf3o_40`,folderName:`_folderName_3sf3o_41`,folderFiles:`_folderFiles_3sf3o_43`,filePath:`_filePath_3sf3o_49`,fileTitle:`_fileTitle_3sf3o_51`,groupLabel:`_groupLabel_3sf3o_60`,agentsBody:`_agentsBody_3sf3o_62`};function H({color:e,title:t,size:n=`md`}){return(0,B.jsx)(`span`,{"aria-hidden":`true`,"data-instruction-color":e,className:n===`lg`?`${V.mark} ${V.markLarge}`:V.mark,children:[...t.trim()][0]?.toUpperCase()??`?`})}var U=[`blue`,`green`,`purple`,`orange`,`teal`,`pink`,`cyan`,`yellow`];function W(e){let t=2166136261;for(let n=0;n<e.length;n++)t^=e.charCodeAt(n),t=Math.imul(t,16777619);return t>>>0}function G(e){let t=new Map,n=new Set;for(let r of[...e].sort((e,t)=>e.name.localeCompare(t.name))){let e=W(r.id)%U.length;n.size===U.length&&n.clear();let i=e;for(;n.has(U[i]);)i=(i+1)%U.length;t.set(r.id,U[i]),n.add(U[i])}return t}function K({instructions:e,agents:t}){if(g(),!e.length&&!t)return(0,B.jsx)(f,{kind:`empty`,title:p(`instructions.emptyTitle`),description:p(`instructions.emptyDescription`)});let n=G(e);return(0,B.jsxs)(m,{gap:0,children:[t&&(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(O,{type:`supporting`,color:`secondary`,className:V.groupLabel,children:p(`instructions.always`)}),(0,B.jsx)(m,{as:`ul`,gap:0,"aria-label":p(`instructions.always`),className:V.rows,children:(0,B.jsx)(q,{href:`/instructions/agents`,color:`agents`,title:`AGENTS.md`,description:p(`instructions.agentsDescription`)})})]}),(0,B.jsx)(O,{type:`supporting`,color:`secondary`,className:V.groupLabel,children:p(`instructions.byWork`,{count:e.length})}),e.length?(0,B.jsx)(m,{as:`ul`,gap:0,"aria-label":p(`instructions.byWorkLabel`),className:V.rows,children:e.map(e=>(0,B.jsx)(q,{href:`/instructions/${encodeURIComponent(e.id)}`,color:n.get(e.id),title:e.title,name:e.name,description:e.description,state:e.state},e.id))}):(0,B.jsx)(O,{type:`supporting`,color:`secondary`,children:p(`instructions.noneYet`)})]})}function q({href:e,color:t,title:n,name:r,description:i,state:o=`committed`}){return(0,B.jsx)(`li`,{"data-state":o===`committed`?void 0:o,children:(0,B.jsxs)(a,{href:e,className:V.row,children:[(0,B.jsx)(H,{color:t,title:n,size:`lg`}),(0,B.jsxs)(m,{gap:.5,className:V.rowText,children:[(0,B.jsxs)(d,{gap:2,className:V.rowHead,children:[(0,B.jsx)(O,{weight:`semibold`,className:V.rowTitle,"data-state-title":!0,children:n}),(0,B.jsx)(S,{state:o}),r&&r!==n&&(0,B.jsx)(O,{type:`supporting`,color:`secondary`,className:V.clip,children:r})]}),(0,B.jsx)(O,{type:`supporting`,color:`secondary`,className:V.clip,children:i})]})]})})}var J={root:{kzqmXN:`xh8yej3`,$$css:!0},trigger:{kB7OPa:`x9f619`,k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kjj79g:`x1qughib`,kzqmXN:`xh8yej3`,kkrTdU:`x1ypdohk x16khyan`,kMv6JI:`x9ynric`,kGuDYH:`x18juvz8`,k63SB2:`x2mo6ok`,kMwMTN:`x1tgivj0`,k9WMMc:`x1yc453h`,k8WAf4:`xt970qd`,$$css:!0},triggerDisabled:{kkrTdU:`xt0e3qv`,kSiTet:`xbyyjgo`,$$css:!0},chevron:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kmuXW:`x2lah0s`,kzqmXN:`xta46cu`,kZKoxP:`x1seg80s`,kGuDYH:`x18juvz8`,k1ekBW:`x11xpdln`,kIyJzY:`xuedmi6`,kAMwcw:`xlr8y92`,$$css:!0},chevronOpen:{k3aq6I:`x19jd1h0`,$$css:!0},chevronClosed:{k3aq6I:`x7p49u4`,$$css:!0},chevronStart:{k71WvV:`x1pezmd8`,$$css:!0},chevronStartOpen:{k3aq6I:`x1iffjtl x1nxqau`,$$css:!0},chevronStartClosed:{k3aq6I:`x7p49u4 xaafvuh`,$$css:!0},contentHidden:{k1xSpc:`x1s85apg`,$$css:!0},content:{kLKAdn:`xfsso4q`,kMv6JI:`x9ynric`,kGuDYH:`xjm74w1`,k63SB2:`xxovm9e`,kLWn49:`xw6l6zx`,kMwMTN:`x1tgivj0`,$$css:!0},divided:{kEafiO:`x11xkdxz x1g31smg`,kPef9Z:`x13fuv20`,kLZC3w:`x1pc3f07`,$$css:!0}},Y={triggerCompact:{k8WAf4:`xu0wf1k`,$$css:!0},triggerBalanced:{k8WAf4:`xce4md1`,$$css:!0},triggerSpacious:{k8WAf4:`x8o8v82`,$$css:!0},contentCompact:{kGO01o:`xy143xn`,$$css:!0},contentBalanced:{kGO01o:`x1wesfrj`,$$css:!0},contentSpacious:{kGO01o:`xvmdzux`,$$css:!0}},X={compact:Y.triggerCompact,balanced:Y.triggerBalanced,spacious:Y.triggerSpacious},Z={compact:Y.contentCompact,balanced:Y.contentBalanced,spacious:Y.contentSpacious};function Q({trigger:e,children:n,defaultIsOpen:i,isOpen:a,isDisabled:o=!1,onOpenChange:s,chevronPosition:c,value:l,ref:u,xstyle:d,className:f,style:p,...m}){let{isOpen:h,toggle:g}=M({isCollapsible:a===void 0?{defaultIsOpen:i??!0,onOpenChange:s}:{isOpen:a,onOpenChange:s},value:l}),_=()=>{o||g()},v=(0,z.use)(N),y=v?.hasDividers??!1,b=v?.density??null,x=(c??v?.chevronPosition??`end`)===`start`,S=(0,z.useId)(),C=(0,B.jsx)(D,{icon:x?`chevronRight`:`chevronDown`,size:`sm`,color:`secondary`,xstyle:[J.chevron,x&&J.chevronStart,x?h?J.chevronStartOpen:J.chevronStartClosed:h?J.chevronOpen:J.chevronClosed]});return(0,B.jsxs)(`div`,{ref:u,...T(r(`collapsible`,{density:b??void 0}),t(J.root,y&&J.divided,d),f,p),...m,children:[(0,B.jsxs)(`button`,{type:`button`,onClick:_,"aria-disabled":o||void 0,"aria-expanded":h,"aria-controls":S,tabIndex:o?-1:void 0,...T(r(`collapsible-trigger`,{density:b??void 0}),E.focusVisible(J.trigger,b!=null&&X[b],o&&J.triggerDisabled)),children:[x&&C,(0,B.jsx)(`span`,{className:`x1b2iylo xwgcxoh x1iyjqo2`,children:e}),!x&&C]}),(0,B.jsx)(`div`,{id:S,...T(r(`collapsible-content`,{density:b??void 0}),t(J.content,b!=null&&Z[b],!h&&J.contentHidden)),children:v==null?n:(0,B.jsx)(N,{value:null,children:n})})]})}Q.displayName=`Collapsible`;var te=[[`path`,{d:`M7.99978 3.5H6.60021C4.43183 3.5 3.34764 3.5 2.67399 4.17362C2.00034 4.84724 2.00029 5.93144 2.00021 8.09982L2 13.3998C1.99992 15.5684 1.99987 16.6526 2.67353 17.3263C3.34719 18 4.43146 18 6.6 18H8.95042C10.4329 18 11.7092 19.0464 11.9999 20.5V5.5C11.0556 4.24097 9.99989 3.5 7.99978 3.5Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M16.0001 3.5H17.3997C19.5681 3.5 20.6523 3.5 21.3259 4.17362C21.9996 4.84724 21.9996 5.93144 21.9997 8.09982L21.9999 13.3998C22 15.5684 22 16.6526 21.3264 17.3263C20.6527 18 19.5684 18 17.3999 18H15.0495C13.567 18 12.2907 19.0464 12 20.5V5.5C12.9443 4.24097 14 3.5 16.0001 3.5Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]];function ne({size:e=16}){return(0,B.jsx)(l,{data:te,size:e})}function re({size:e=20}){return(0,B.jsx)(l,{data:ee,size:e})}var ie=[[`path`,{d:`M10 18C10 18 7.50004 16.1588 7.50003 15.5C7.50003 14.8412 10 13 10 13`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M14 18C14 18 16.5 16.1588 16.5 15.5C16.5 14.8412 14 13 14 13`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M13 2.5V3C13 5.82843 13 7.24264 13.8787 8.12132C14.7574 9 16.1716 9 19 9H19.5M20 10.6569V14C20 17.7712 20 19.6569 18.8284 20.8284C17.6569 22 15.7712 22 12 22C8.22876 22 6.34315 22 5.17157 20.8284C4 19.6569 4 17.7712 4 14V9.45584C4 6.21082 4 4.58831 4.88607 3.48933C5.06508 3.26731 5.26731 3.06508 5.48933 2.88607C6.58831 2 8.21082 2 11.4558 2C12.1614 2 12.5141 2 12.8372 2.11401C12.9044 2.13772 12.9702 2.165 13.0345 2.19575C13.3436 2.34355 13.593 2.593 14.0919 3.09188L18.8284 7.82843C19.4065 8.40649 19.6955 8.69552 19.8478 9.06306C20 9.4306 20 9.83935 20 10.6569Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}]];function ae({size:e=16}){return(0,B.jsx)(l,{data:ie,size:e})}var oe=[[`circle`,{cx:`7.5`,cy:`7.5`,r:`1.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M2.5 12C2.5 7.52166 2.5 5.28249 3.89124 3.89124C5.28249 2.5 7.52166 2.5 12 2.5C16.4783 2.5 18.7175 2.5 20.1088 3.89124C21.5 5.28249 21.5 7.52166 21.5 12C21.5 16.4783 21.5 18.7175 20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28249 21.5 3.89124 20.1088C2.5 18.7175 2.5 16.4783 2.5 12Z`,stroke:`currentColor`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M5 21C9.37246 15.775 14.2741 8.88406 21.4975 13.5424`,stroke:`currentColor`,strokeWidth:`1.5`,key:`2`}]];function se({size:e=16}){return(0,B.jsx)(l,{data:oe,size:e})}var ce=/\.(png|jpe?g|gif|webp|svg|avif|ico)$/i;function le({path:e}){return e.toLowerCase().endsWith(`.md`)?(0,B.jsx)(re,{size:16}):ce.test(e)?(0,B.jsx)(se,{}):(0,B.jsx)(ae,{})}var ue={sh:`bash`,bash:`bash`,js:`javascript`,mjs:`javascript`,cjs:`javascript`,ts:`typescript`,tsx:`tsx`,jsx:`jsx`,py:`python`,json:`json`,yaml:`yaml`,yml:`yaml`,toml:`toml`,css:`css`,html:`html`,sql:`sql`,ps1:`powershell`},de=e=>e.replace(/^---\r?\n(?:.*\r?\n)*?---(?:\r?\n|$)/,``);function fe({session:e,instruction:t,file:n}){g();let r=b({...y(e,t.id,n.path,n.size),placeholderData:u});if(r.error)return(0,B.jsx)(P,{error:r.error,retry:()=>{r.refetch()}});if(!r.data)return(0,B.jsxs)(m,{gap:2,role:`status`,"aria-label":p(`request.loadingProject`),"aria-busy":`true`,children:[(0,B.jsx)(c,{width:`60%`,height:`var(--spacing-4)`}),(0,B.jsx)(c,{width:`80%`,height:`var(--spacing-4)`}),(0,B.jsx)(c,{width:`40%`,height:`var(--spacing-4)`})]});let{text:i,binary:a,path:s}=r.data;if(i===null)return(0,B.jsx)(O,{color:`secondary`,children:p(a?`instructions.binary`:`instructions.tooLarge`)});let l=s.includes(`.`)?s.slice(s.lastIndexOf(`.`)+1).toLowerCase():``;return l===`md`?(0,B.jsx)(o,{path:t.path.slice(0,-8)+s,children:de(i)}):(0,B.jsx)(j,{code:i,language:ue[l]??`plaintext`,width:`100%`})}var $=`index.md`;function pe(e){let t=new Map;for(let n of e){let e=n.path.includes(`/`)?n.path.slice(0,n.path.lastIndexOf(`/`)):``;t.set(e,[...t.get(e)??[],n])}return[...t].sort(([e],[t])=>e===``?-1:t===``?1:e.localeCompare(t))}var me=e=>e<1024?`${e} B`:`${(e/1024).toFixed(+(e<10240))} KB`;function he({instruction:e,color:t,file:n,session:r}){g();let i=n&&e.files.find(e=>e.path===n),a=e.path.slice(0,-8),s=_(),c=t=>{s.prefetchQuery(y(r,e.id,t.path,t.size))},l=t=>`/instructions/${encodeURIComponent(e.id)}${t?`?file=`+encodeURIComponent(t):``}`;return(0,B.jsxs)(m,{as:`article`,gap:0,"aria-label":e.title,children:[(0,B.jsxs)(m,{gap:3,className:V.heading,children:[(0,B.jsx)(v,{to:`/instructions`,className:V.back,children:p(`instructions.back`)}),(0,B.jsxs)(d,{gap:3,vAlign:`center`,children:[(0,B.jsx)(H,{color:t,title:e.title,size:`lg`}),(0,B.jsx)(h,{level:1,children:e.title})]}),(0,B.jsx)(O,{color:`secondary`,className:V.summary,children:e.description}),(0,B.jsxs)(L,{orientation:`horizontal`,children:[(0,B.jsx)(R,{label:p(`instructions.folder`),children:(0,B.jsx)(O,{type:`code`,children:e.name})}),(0,B.jsx)(R,{label:`ID`,children:e.id}),(0,B.jsx)(R,{label:p(`common.recentChange`),children:e.updatedAt?(0,B.jsx)(x,{value:e.updatedAt,format:`relative`}):p(`common.inProgress`)})]}),(0,B.jsx)(v,{to:`/records`,search:{document:`instruction`,q:e.id},className:V.activity,children:p(`instructions.activity`)})]}),(0,B.jsxs)(d,{gap:0,className:V.reader,children:[(0,B.jsxs)(m,{as:`nav`,gap:1,"aria-label":p(`instructions.files`),className:V.files,children:[(0,B.jsx)(O,{type:`supporting`,color:`secondary`,className:V.filesHeading,children:p(`instructions.files`)}),(0,B.jsx)(C,{density:`compact`,children:(0,B.jsx)(w,{label:e.title,href:l(),isSelected:!i,startContent:(0,B.jsx)(ne,{})})}),pe(e.files).map(([e,t])=>{let n=(0,B.jsx)(C,{density:`compact`,"aria-label":e||$,children:t.map(t=>(0,B.jsx)(w,{label:t.title??t.path.slice(e?e.length+1:0),href:l(t.path),isSelected:i===t,onMouseEnter:()=>c(t),onFocus:()=>c(t),startContent:(0,B.jsx)(le,{path:t.path}),endContent:(0,B.jsx)(O,{type:`supporting`,color:`secondary`,children:me(t.size)})},t.path))});return e?(0,B.jsx)(m,{gap:0,className:V.fileGroup,children:(0,B.jsx)(Q,{chevronPosition:`start`,trigger:(0,B.jsxs)(d,{gap:2,vAlign:`center`,className:V.folder,children:[(0,B.jsx)(F,{}),(0,B.jsxs)(O,{type:`supporting`,color:`secondary`,className:V.folderName,children:[e,`/`]})]}),children:(0,B.jsx)(m,{gap:0,className:V.folderFiles,children:n})})},e):(0,B.jsx)(m,{gap:0,children:n},e)}),e.filesLimited&&(0,B.jsx)(O,{type:`supporting`,color:`secondary`,children:p(`instructions.filesLimited`)})]}),(0,B.jsxs)(m,{gap:0,className:V.content,children:[(0,B.jsx)(O,{type:`supporting`,color:`secondary`,className:V.filePath,children:a+(i?i.path:$)}),i&&i.title&&(0,B.jsxs)(m,{gap:1,className:V.fileTitle,children:[(0,B.jsx)(h,{level:2,children:i.title}),i.description&&(0,B.jsx)(O,{color:`secondary`,children:i.description})]}),n&&!i?(0,B.jsx)(O,{color:`secondary`,children:p(`instructions.fileMissing`,{path:n})}):i?(0,B.jsx)(fe,{session:r,instruction:e,file:i}):(0,B.jsx)(o,{path:e.path,children:e.body})]})]})]})}var ge=e=>e.replace(/<!--[\s\S]*?-->\n?/g,``);function _e({agents:e}){return g(),(0,B.jsxs)(m,{as:`article`,gap:0,"aria-label":`AGENTS.md`,children:[(0,B.jsxs)(m,{gap:3,className:V.heading,children:[(0,B.jsx)(v,{to:`/instructions`,className:V.back,children:p(`instructions.back`)}),(0,B.jsxs)(d,{gap:3,vAlign:`center`,children:[(0,B.jsx)(H,{color:`agents`,title:`AGENTS.md`,size:`lg`}),(0,B.jsx)(h,{level:1,children:`AGENTS.md`})]}),(0,B.jsx)(O,{color:`secondary`,children:p(`instructions.agentsDescription`)}),(0,B.jsxs)(L,{orientation:`horizontal`,children:[(0,B.jsx)(R,{label:p(`common.path`),children:(0,B.jsx)(O,{type:`code`,children:e.path})}),(0,B.jsx)(R,{label:p(`common.recentChange`),children:e.updatedAt?(0,B.jsx)(x,{value:e.updatedAt,format:`relative`}):p(`common.inProgress`)})]})]}),(0,B.jsx)(m,{gap:0,className:V.agentsBody,children:(0,B.jsx)(o,{path:e.path,children:ge(e.body)})})]})}function ve({instructionId:e,agents:t,file:n}){g();let r=t||!!e;return(0,B.jsx)(k,{header:I,title:p(`nav.instructions`),description:p(`pageDescription.instructions`),root:`/instructions`,hasTitle:!r,skeleton:(0,B.jsx)(A,{}),trail:n=>{if(t)return[{label:`AGENTS.md`}];let r=e?n.index.instructions.find(t=>t.id===e):void 0;return r?[{label:r.title}]:[]},children:({session:r})=>(0,B.jsx)(ye,{session:r,instructionId:e,agents:t,file:n})})}function ye({session:e,instructionId:t,agents:n,file:r}){g();let i=b(s(e));if(i.error)return(0,B.jsx)(P,{error:i.error,retry:()=>{i.refetch()}});if(!i.data)return(0,B.jsx)(A,{});let{instructions:a,agents:o}=i.data,c=(e,t)=>(0,B.jsx)(f,{kind:`not-found`,title:e,description:t,actions:(0,B.jsx)(v,{to:`/instructions`,children:p(`instructions.backToList`)})});if(n)return o?(0,B.jsx)(_e,{agents:o}):c(p(`instructions.agentsMissingTitle`),p(`instructions.agentsMissingDescription`));if(!t)return(0,B.jsx)(K,{instructions:a,agents:o});let l=a.find(e=>e.id===t);return l?(0,B.jsx)(he,{instruction:l,color:G(a).get(l.id),file:r,session:e}):c(p(`instructions.notFoundTitle`),p(`instructions.notFoundDescription`,{id:t}))}export{ve as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{l as e}from"./themeProps-CkLe5zXY.js";import{a as t}from"./index-iSt1IRzY.js";import{t as n}from"./instructions-DULmclHB.js";var r=e();function i(){let{instructionId:e}=t.useParams(),{file:i}=t.useSearch();return(0,r.jsx)(n,{instructionId:e,file:i})}export{i as component};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{l as e}from"./themeProps-CkLe5zXY.js";import{t}from"./instructions-DULmclHB.js";var n=e(),r=()=>(0,n.jsx)(t,{agents:!0});export{r as component};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{l as e}from"./themeProps-CkLe5zXY.js";import{t}from"./instructions-DULmclHB.js";var n=e(),r=()=>(0,n.jsx)(t,{});export{r as component};
|
package/dist/browser/assets/{lazyRouteComponent-JkRa2CHo.js → lazyRouteComponent-DhTs_UEV.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{
|
|
1
|
+
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{l as t,q as n}from"./themeProps-CkLe5zXY.js";import{$t as r,At as i,Et as a,Jt as o,Qt as s,Rt as c,bt as l,kt as u,vt as d,xt as f,yt as p}from"./search-palette-BCEUlRVv.js";var m=`__root__`;function h(e){e.statusCode=e.statusCode||e.code||307;let t=new Headers(e.headers);e.href&&t.get(`Location`)===null&&t.set(`Location`,e.href);let n=new Response(null,{status:e.statusCode,headers:t});if(n.options=e,e.throw)throw n;return n}function g(e){return e instanceof Response&&!!e.options}var _=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(e){if(this.init=e=>{this.originalIndex=e.originalIndex;let t=this.options,n=!t?.path&&!t?.id;this.parentRoute=this.options.getParentRoute?.(),n?this._path=m:this.parentRoute||c();let r=n?m:t?.path;r&&r!==`/`&&(r=u(r));let o=t?.id||r,s=n?m:a([this.parentRoute.id===`__root__`?``:this.parentRoute.id,o]);r===`__root__`&&(r=`/`),s!==`__root__`&&(s=a([`/`,s]));let l=s===`__root__`?`/`:a([this.parentRoute.fullPath,r]);this._path=r,this._id=s,this._fullPath=l,this._to=i(l)},this.addChildren=e=>this._addFileChildren(e),this._addFileChildren=e=>(Array.isArray(e)&&(this.children=e),typeof e==`object`&&e&&(this.children=Object.values(e)),this),this._addFileTypes=()=>this,this.updateLoader=e=>(Object.assign(this.options,e),this),this.update=e=>(Object.assign(this.options,e),this),this.lazy=e=>(this.lazyFn=e,this),this.redirect=e=>h({from:this.fullPath,...e}),this.options=e||{},this.isRoot=!e?.getParentRoute,e?.id&&e?.path)throw Error(`Route cannot have both an 'id' and a 'path' option.`)}},v=class extends _{constructor(e){super(e)}},y=e(n(),1),b=y.createContext(void 0),x=y.createContext(void 0),S={};function C(e,t){let n=y.useRef();return r=>{let i=e?.select?e.select(r):r;return e?.structuralSharing??t.options.defaultStructuralSharing?n.current=s(n.current,i):i}}function w(e){let t=f(),n=y.useContext(e.from?x:b),r=e.from??n,i=t.stores.getMatchStore(r),a=C(e,t),o=l(i,e=>e?a(e):S);if(o!==S)return o;(e.shouldThrow??!0)&&c()}function T(e){return w({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.loaderData):t.loaderData})}function E(e){let{select:t,...n}=e;return w({...n,select:e=>t?t(e.loaderDeps):e.loaderDeps})}function D(e){return w({from:e.from,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,strict:e.strict,select:t=>{let n=e.strict===!1?t.params:t._strictParams;return e.select?e.select(n):n}})}function O(e){return w({from:e.from,strict:e.strict,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.search):t.search})}function k(e){return w({...e,select:t=>e.select?e.select(t.context):t.context})}var A=t(),j=class extends _{constructor(e){super(e),this.useMatch=e=>w({...e,from:this.id}),this.useRouteContext=e=>k({...e,from:this.id}),this.useSearch=e=>O({...e,from:this.id}),this.useParams=e=>D({...e,from:this.id}),this.useLoaderDeps=e=>E({...e,from:this.id}),this.useLoaderData=e=>T({...e,from:this.id}),this.useNavigate=()=>p({from:this.fullPath}),this.Link=y.forwardRef((e,t)=>(0,A.jsx)(d,{ref:t,from:this.fullPath,...e}))}};function M(e){return new j(e)}function N(){return e=>F(e)}var P=class extends v{constructor(e){super(e),this.useMatch=e=>w({...e,from:this.id}),this.useRouteContext=e=>k({...e,from:this.id}),this.useSearch=e=>O({...e,from:this.id}),this.useParams=e=>D({...e,from:this.id}),this.useLoaderDeps=e=>E({...e,from:this.id}),this.useLoaderData=e=>T({...e,from:this.id}),this.useNavigate=()=>p({from:this.fullPath}),this.Link=y.forwardRef((e,t)=>(0,A.jsx)(d,{ref:t,from:this.fullPath,...e}))}};function F(e){return new P(e)}function I(e){return e=>{let t=M(e);return t.isRoot=!1,t}}function L(e,t){let n,i,a,s=()=>(n||=(a=void 0,e().then(e=>{n=void 0,c.preload=void 0,i=e[t??`default`]}).catch(e=>{n=void 0,a=e})),n),c=function(e){if(a){if(o(a)&&typeof sessionStorage<`u`){let e=`tanstack_router_reload:${a.message}`;if(!sessionStorage.getItem(e))throw sessionStorage.setItem(e,`1`),window.location.reload(),new Promise(()=>{})}throw a}if(!i){if(r)r(s());else throw s()}return y.createElement(i,e)};return c.preload=s,c}export{b as a,m as c,C as i,I as n,g as o,N as r,h as s,L as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{l as e}from"./themeProps-CkLe5zXY.js";import{on as t,un as n}from"./search-palette-BCEUlRVv.js";import{n as r}from"./IconButton-Br-4XhQr.js";var i=e();function a({label:e,query:a}){return n(),a.hasNextPage?(0,i.jsx)(r,{isDisabled:a.isFetching,onClick:()=>{a.fetchNextPage()},label:a.isFetchingNextPage?t(`history.loadingMore`):a.isFetchNextPageError?t(`history.retryMore`):e}):null}export{a as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{
|
|
1
|
+
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{l as t,q as n}from"./themeProps-CkLe5zXY.js";import{O as r,dt as i,ft as a,on as o,t as s,un as c,vt as l}from"./search-palette-BCEUlRVv.js";import{w as u}from"./Icon-DPaLmsmh.js";var d=e(n(),1),f=[[`path`,{d:`M8 7H16.75C18.8567 7 19.91 7 20.6667 7.50559C20.9943 7.72447 21.2755 8.00572 21.4944 8.33329C22 9.08996 22 10.1433 22 12.25C22 15.7612 22 17.5167 21.1573 18.7779C20.7926 19.3238 20.3238 19.7926 19.7779 20.1573C18.5167 21 16.7612 21 13.25 21H12C7.28595 21 4.92893 21 3.46447 19.5355C2 18.0711 2 15.714 2 11V7.94427C2 6.1278 2 5.21956 2.38032 4.53806C2.65142 4.05227 3.05227 3.65142 3.53806 3.38032C4.21956 3 5.1278 3 6.94427 3C8.10802 3 8.6899 3 9.19926 3.19101C10.3622 3.62712 10.8418 4.68358 11.3666 5.73313L12 7`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.5`,key:`0`}]],p=t();function m({size:e=16}){return(0,p.jsx)(i,{data:f,size:e})}var h={bar:`_bar_r3105_2`,trail:`_trail_r3105_3`,crumb:`_crumb_r3105_4`,tools:`_tools_r3105_7`};function g({trail:e,actions:t}){return c(),(0,p.jsxs)(a,{as:`header`,"aria-label":o(`header.location`),gap:3,className:h.bar,children:[(0,p.jsxs)(a,{as:`nav`,"aria-label":o(`header.trail`),gap:2,className:h.trail,children:[(0,p.jsx)(m,{}),(0,p.jsx)(r,{}),e.map((t,n)=>(0,p.jsxs)(d.Fragment,{children:[(0,p.jsx)(u,{type:`supporting`,color:`secondary`,children:`/`}),t.to&&n<e.length-1?(0,p.jsx)(l,{to:t.to,search:t.search??{},className:h.crumb,children:t.label}):(0,p.jsx)(u,{type:`supporting`,maxLines:1,children:t.label})]},n))]}),(0,p.jsxs)(a,{gap:3,className:h.tools,children:[(0,p.jsx)(s,{}),t]})]})}export{m as n,g as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@keyframes _reveal_17pf5_1{0%{opacity:0;transform:translateY(4px)}}._page_17pf5_2{min-width:0}._content_17pf5_4{padding:var(--spacing-4) var(--spacing-5);min-width:0;animation:.22s ease-out both _reveal_17pf5_1}._skeleton_17pf5_5{min-height:24rem;animation:.2s ease-out both _reveal_17pf5_1}._skeletonRow_17pf5_6{padding-block:var(--spacing-3);border-bottom:1px solid var(--color-border);align-items:center}@media (prefers-reduced-motion:reduce){._content_17pf5_4{animation:none}}._column_17pf5_11{width:100%;min-width:0;max-width:64rem;margin-inline:auto}._pageTitle_17pf5_12{padding-inline:var(--spacing-5);padding-block:var(--spacing-6) var(--spacing-2)}._filters_17pf5_13{padding:var(--spacing-3) var(--spacing-5)}._filtersSticky_17pf5_14{top:var(--gitifact-topbar-height);z-index:2;background:var(--color-background-surface);border-bottom:1px solid var(--color-border);position:sticky}._entryBody_17pf5_16{flex:1;min-width:0}._headerActions_17pf5_18{white-space:nowrap;flex-shrink:0;align-items:center}@media (width<48rem){._headerTime_17pf5_23{display:none}._filters_17pf5_13{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}._filters_17pf5_13>*{min-width:0}._filters_17pf5_13>:first-child{grid-column:1/-1}._filters_17pf5_13>*>:last-child,._filters_17pf5_13>*>:last-child>button{width:100%}}._wide_17pf5_31{max-width:96rem}._staleNotice_17pf5_34{padding-top:var(--spacing-4)}._helpCard_wqyxv_1{background:var(--color-background-popover);border:var(--border-width) solid var(--color-border-emphasized);box-shadow:var(--shadow-med)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{K as t,l as n,n as r,q as i}from"./themeProps-CkLe5zXY.js";import{n as a}from"./document-CwA2dxtP.js";import{n as o}from"./useIsomorphicLayoutEffect-BiEJxDg_.js";import{A as s,N as c,a as l,cn as u,d,dt as f,ft as p,n as m,on as h,pt as g,sn as _,tn as v,u as y,un as b,ut as x,w as S,z as C}from"./search-palette-BCEUlRVv.js";import{a as w}from"./useMediaQuery-twbHF0pO.js";import{C as ee,E as te,G as T,S as ne,_ as E,n as D,t as O,w as k}from"./Icon-DPaLmsmh.js";import{n as A,s as re,t as j}from"./IconButton-Br-4XhQr.js";import{a as ie,i as ae,o as oe}from"./Markdown-B9QJ2Ao-.js";import{t as se}from"./HoverCard-Bpt8LVFT.js";import{i as M,t as ce}from"./Banner-DQ1G6Jkv.js";import{t as N}from"./request-state-BeiYxf95.js";function P(...e){let t=e.flatMap(e=>typeof e==`string`?e.trim().split(/\s+/):[]).filter(Boolean);if(t.length!==0)return Array.from(new Set(t)).join(` `)}function le(e,t=[],n){return{ariaLabelledBy:n?P(n.labelID,e):void 0,ariaDescribedBy:P(n?.describedByIDs,...t)}}var F=e(i(),1),I=n(),ue={warning:`warning`,error:`error`,success:`success`},L={warning:`@astryx.input.statusButton.warning`,error:`@astryx.input.statusButton.error`,success:`@astryx.input.statusButton.success`},R={statusButton:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kmVPX3:`x1717udv`,kogj98:`x1ghz6dp`,kMwMTN:`x1heor9g`,kkrTdU:`x1ypdohk x16khyan`,kfzvcC:`x67bb7w`,kaIpWk:`xjspbzw`,kInvED:`x7s97pk`,$$css:!0}};function de({status:e,statusVariant:n=`attached`,isInGroup:i=!1,size:a=`md`}){let s=E(),c=n===`tooltip`&&!!e?.message,[l,u]=(0,F.useState)(void 0),d=o({placement:`above`,isEnabled:c,isOpen:l}),f=(0,F.useCallback)(()=>{u(void 0)},[]),p=(0,F.useCallback)(()=>{typeof window>`u`||typeof window.matchMedia!=`function`||!window.matchMedia(`(hover: none)`).matches||u(e=>e!==!0)},[]);if((0,F.useEffect)(()=>{if(l!==!0)return;let e=e=>{e.key===`Escape`&&u(void 0)};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[l]),!e||i||n===`detached`)return{statusIcon:null,describedBy:void 0};let m=(0,I.jsx)(O,{icon:ue[e.type],size:a,color:e.type,...r(`input-status-icon`,{size:a,status:e.type})});return c?{statusIcon:(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(`button`,{type:`button`,ref:d.ref,"aria-label":s(L[e.type]),"aria-describedby":d.describedBy,onClick:p,onBlur:f,...t(T.focusVisible,R.statusButton),children:m}),d.renderTooltip(e.message)]}),describedBy:d.describedBy}:{statusIcon:m,describedBy:void 0}}var z=[[`path`,{d:`M9 14L11 16L15 12`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M8.00002 4L8 4.99997C7.99998 5.94279 7.99998 6.4142 8.29287 6.7071C8.58577 7 9.05718 7 10 7L14 7C14.9428 7 15.4142 7 15.7071 6.70711C16 6.41421 16 5.94281 16 5V4`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M14.45 4L13.7149 4.1492C13.7853 4.49569 14.088 4.746 14.4416 4.74995L14.45 4ZM9.54997 4L9.55835 4.74995C9.91188 4.746 10.2146 4.49569 10.285 4.1492L9.54997 4ZM19.1213 4.87868L19.6517 4.34835L19.6517 4.34835L19.1213 4.87868ZM19.1213 21.1213L19.6517 21.6517V21.6517L19.1213 21.1213ZM16 4.01732L16.0226 3.26766C16.0179 3.26752 16.0131 3.26742 16.0084 3.26737L16 4.01732ZM4.87868 4.87868L5.40901 5.40901V5.40901L4.87868 4.87868ZM8 4.01732L7.99162 3.26737C7.98688 3.26742 7.98215 3.26752 7.97741 3.26766L8 4.01732ZM14.45 4L15.185 3.8508C14.8838 2.36703 13.5732 1.25 12 1.25V2V2.75C12.8457 2.75 13.5529 3.35073 13.7149 4.1492L14.45 4ZM12 2V1.25C10.4268 1.25 9.11615 2.36703 8.81496 3.8508L9.54997 4L10.285 4.1492C10.4471 3.35073 11.1542 2.75 12 2.75V2ZM20 10H20.75C20.75 8.60699 20.7516 7.48678 20.6335 6.60825C20.5125 5.70814 20.2536 4.95027 19.6517 4.34835L19.1213 4.87868L18.591 5.40901C18.8678 5.68577 19.0482 6.07435 19.1469 6.80812C19.2484 7.56347 19.25 8.56458 19.25 10H20ZM20 16H20.75V10H20H19.25V16H20ZM20 16H19.25C19.25 17.4354 19.2484 18.4365 19.1469 19.1919C19.0482 19.9257 18.8678 20.3142 18.591 20.591L19.1213 21.1213L19.6517 21.6517C20.2536 21.0497 20.5125 20.2919 20.6335 19.3918C20.7516 18.5132 20.75 17.393 20.75 16H20ZM14 22V22.75C15.393 22.75 16.5132 22.7516 17.3918 22.6335C18.2919 22.5125 19.0497 22.2536 19.6517 21.6517L19.1213 21.1213L18.591 20.591C18.3142 20.8678 17.9257 21.0482 17.1919 21.1469C16.4365 21.2484 15.4354 21.25 14 21.25V22ZM16 4.01732L15.9774 4.76698C17.5421 4.81413 18.1804 4.99842 18.591 5.40901L19.1213 4.87868L19.6517 4.34835C18.7796 3.47633 17.5648 3.31413 16.0226 3.26766L16 4.01732ZM10 22V22.75H14V22V21.25H10V22ZM10 22V21.25C8.56458 21.25 7.56347 21.2484 6.80812 21.1469C6.07434 21.0482 5.68577 20.8678 5.40901 20.591L4.87868 21.1213L4.34835 21.6517C4.95027 22.2536 5.70814 22.5125 6.60825 22.6335C7.48678 22.7516 8.60699 22.75 10 22.75V22ZM4 16H3.25C3.25 17.393 3.24841 18.5132 3.36652 19.3918C3.48754 20.2919 3.74643 21.0497 4.34835 21.6517L4.87868 21.1213L5.40901 20.591C5.13225 20.3142 4.9518 19.9257 4.85315 19.1919C4.75159 18.4365 4.75 17.4354 4.75 16H4ZM4 10H4.75C4.75 8.56458 4.75159 7.56347 4.85315 6.80812C4.9518 6.07435 5.13225 5.68577 5.40901 5.40901L4.87868 4.87868L4.34835 4.34835C3.74643 4.95027 3.48754 5.70814 3.36652 6.60825C3.24841 7.48678 3.25 8.60699 3.25 10H4ZM8 4.01732L7.97741 3.26766C6.43521 3.31413 5.22037 3.47633 4.34835 4.34835L4.87868 4.87868L5.40901 5.40901C5.8196 4.99842 6.4579 4.81413 8.02259 4.76698L8 4.01732ZM4 10H3.25V16H4H4.75V10H4ZM8 4.01732L8.00838 4.76728L9.55835 4.74995L9.54997 4L9.54159 3.25005L7.99162 3.26737L8 4.01732ZM16 4.01732L16.0084 3.26737L14.4583 3.25005L14.45 4L14.4416 4.74995L15.9916 4.76728L16 4.01732Z`,fill:`currentColor`,key:`2`}]],B={base:{kB7OPa:`x9f619`,kVAEAm:`x1n2onr6`,kY2c9j:`x1vjfegm`,k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kOIVth:`x1txdalj`,k8WAf4:`xu0wf1k`,kg3NbH:`xf314gf`,kMzoRj:`x1litavf`,ksu8eU:`x1y0btm7`,kVAM5u:`xvy26l8 x6q1khz`,"--_field-radius":`x1832zxr`,kaIpWk:`xvdfih8`,kWkggS:`x10xzikg`,k1ekBW:`x12zzom9`,kIyJzY:`xuedmi6 x12w9bfk`,kAMwcw:`xlr8y92`,kGVxlE:`x1gnnqk1 x1xqjsvb xuihb5h`,kI3sdo:`x1a2a7pz`,$$css:!0},disabled:{kkrTdU:`xt0e3qv`,kSiTet:`xbyyjgo`,kVAM5u:`xvy26l8`,kGVxlE:`x1gnnqk1`,$$css:!0}},fe={warning:{kVAM5u:`x8wg1ba`,$$css:!0},error:{kVAM5u:`x1ofxpqo`,$$css:!0},success:{kVAM5u:`x16m2moy`,$$css:!0}},pe={warning:{kGVxlE:`x1gnnqk1 x9156jc`,$$css:!0},error:{kGVxlE:`x1gnnqk1 x1bgmis8`,$$css:!0},success:{kGVxlE:`x1gnnqk1 x8wp45d`,$$css:!0}},me={warning:{kVAM5u:`x8wg1ba xa1yw2k`,$$css:!0},error:{kVAM5u:`x1ofxpqo xk2sxw7`,$$css:!0},success:{kVAM5u:`x16m2moy xyq33ac`,$$css:!0}},V={button:{kZKoxP:`x1qx5ct2`,kmuXW:`x2lah0s`,kVAEAm:`x1n2onr6`,"--_input-clear-hit-inset":`xtoycft x181bpwf`,"--_input-clear-hit-content":`xqxtgf4 xp8r40j`,k5JduY:`xh3pasq`,kwXMNM:`x1j6awrg`,kv0HGH:`xht581f`,$$css:!0}};function H({label:e,onClick:t,onPointerDown:n,onClickCapture:i,xstyle:a,iconClassName:o}){let{className:s}=r(`input-clear-icon`),{className:c}=r(`input-clear-button`);return(0,I.jsx)(A,{variant:`ghost`,size:`sm`,label:e,className:c,icon:(0,I.jsx)(O,{icon:`close`,size:`sm`,color:`secondary`,className:o==null?s:`${s} ${o}`}),onClick:t,onPointerDown:n,onClickCapture:i,isIconOnly:!0,xstyle:[V.button,a]})}function U(e){return H(e)}function W(e){return H(e)}U.displayName=`InputClearButton`;var he={inGroup:{kUk6DE:`x98rzlu`,k7Eaqz:`xeuugli`,kZKoxP:`x5yr21d`,keTefX:`xd10s4z x1pwwqoy`,krdFHd:`x15mokao x8eehn2`,kVL7Gh:`xbiv7yw x1xrp5p4`,kfmiAY:`x1ga7v0g x1tzxhge`,kT0f0o:`x16uus16 x1rmb4wm`,kXnDq0:`x1rm9qnc`,$$css:!0}},G=(0,F.createContext)(null);G.displayName=`InputGroupContext`;function ge(){return(0,F.use)(G)}var K={page:`_page_17pf5_2`,content:`_content_17pf5_4`,reveal:`_reveal_17pf5_1`,skeleton:`_skeleton_17pf5_5`,skeletonRow:`_skeletonRow_17pf5_6`,column:`_column_17pf5_11`,pageTitle:`_pageTitle_17pf5_12`,filters:`_filters_17pf5_13`,filtersSticky:`_filtersSticky_17pf5_14`,entryBody:`_entryBody_17pf5_16`,headerActions:`_headerActions_17pf5_18`,headerTime:`_headerTime_17pf5_23`,wide:`_wide_17pf5_31`,staleNotice:`_staleNotice_17pf5_34`};function _e(e,{delay:t=200,minimum:n=300}={}){let[r,i]=(0,F.useState)(!1),a=(0,F.useRef)(null);return(0,F.useEffect)(()=>{if(e){if(r)return;let e=window.setTimeout(()=>{a.current=Date.now(),i(!0)},t);return()=>window.clearTimeout(e)}if(!r)return;let o=Math.max(0,n-(Date.now()-(a.current??0))),s=window.setTimeout(()=>{a.current=null,i(!1)},o);return()=>window.clearTimeout(s)},[e,r,t,n]),r}var q=[[`circle`,{cx:`12`,cy:`12`,r:`10`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M9.5 9.5C9.5 8.11929 10.6193 7 12 7C13.3807 7 14.5 8.11929 14.5 9.5C14.5 10.3569 14.0689 11.1131 13.4117 11.5636C12.7283 12.0319 12 12.6716 12 13.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M12.125 16.75H12M12.25 16.75C12.25 16.8881 12.1381 17 12 17C11.8619 17 11.75 16.8881 11.75 16.75C11.75 16.6119 11.8619 16.5 12 16.5C12.1381 16.5 12.25 16.6119 12.25 16.75Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}]];function ve({size:e=16}){return(0,I.jsx)(f,{data:q,size:e})}var J={helpCard:`_helpCard_wqyxv_1`};function Y({title:e,description:t}){b();let[n,r]=(0,F.useState)(!1),[i,a]=(0,F.useState)(!1),[o,s]=(0,F.useState)(!1),c=!o&&(i||n),l=(0,F.useRef)(null);(0,F.useEffect)(()=>{if(!c)return;let e=()=>{a(!1),r(!1)},t=t=>{let n=t.target;if(!(n instanceof Node)||l.current?.contains(n))return;let r=l.current?.getAttribute(`aria-controls`);r&&document.getElementById(r)?.contains(n)||e()},n=t=>{t.key===`Escape`&&(e(),s(!0))};return document.addEventListener(`pointerdown`,t,!0),document.addEventListener(`keydown`,n),()=>{document.removeEventListener(`pointerdown`,t,!0),document.removeEventListener(`keydown`,n)}},[c]);let u=(0,F.useRef)(void 0),d=(e,t)=>{clearTimeout(u.current),u.current=setTimeout(()=>r(e),t)};return(0,F.useEffect)(()=>()=>clearTimeout(u.current),[]),(0,I.jsx)(se,{label:e,content:(0,I.jsx)(k,{children:t}),className:J.helpCard,placement:`below`,alignment:`start`,touchTrigger:`none`,focusTrigger:`never`,hasHoverIndication:!1,isOpen:c,children:(0,I.jsx)(j,{ref:l,label:h(`common.description`,{title:e}),icon:(0,I.jsx)(ve,{}),variant:`ghost`,size:`sm`,onClick:()=>{i?(a(!1),s(!0)):(a(!0),s(!1))},onMouseEnter:()=>d(!0,150),onMouseLeave:()=>{s(!1),d(!1,150)},onFocus:()=>d(!0,0),onBlur:()=>d(!1,0)})})}function X(e,t,n){let r=x(),[i,a]=(0,F.useState)(void 0);return(0,F.useEffect)(()=>{a(void 0)},[n]),(0,F.useEffect)(()=>{if(t===void 0)return;let n=!1,i=()=>{document.visibilityState===`visible`&&r.fetchQuery(S(e)).then(e=>{n||a(e.stamp)},()=>void 0)};return document.addEventListener(`visibilitychange`,i),window.addEventListener(`focus`,i),()=>{n=!0,document.removeEventListener(`visibilitychange`,i),window.removeEventListener(`focus`,i)}},[r,e,t]),t!==void 0&&i!==void 0&&i!==t}function ye({isRefreshing:e,onRefresh:t}){return b(),(0,I.jsx)(ce,{status:`info`,title:h(`stale.title`),description:h(`stale.description`),endContent:(0,I.jsx)(A,{label:h(`common.refresh`),isDisabled:e,onClick:t})})}function be(e){let t=C(s());return!t.data||t.error?(0,I.jsx)(N,{error:t.error,retry:()=>{t.refetch()}}):(0,I.jsx)(xe,{session:t.data,...e},t.data.sessionId)}function xe({session:e,header:t,title:n,description:r,root:i,trail:o,hasTitle:s,isWide:l=!1,filters:f,skeleton:m,children:S}){b();let w=C(y(e)),ee=x(),te=new Set([...d,`browser-working`,`browser-working-change`]),T=()=>{w.refetch(),ee.invalidateQueries({predicate:e=>te.has(String(e.queryKey[0]))})},ne=X(e,w.data?.stamp,w.dataUpdatedAt),E=w.error instanceof c&&w.error.code===`SESSION_CHANGED`,D=E?void 0:w.data,O=_e(!D&&!w.error),A=!!D&&!O,re=[{label:n,to:i},...D&&o?o(D):[]],ie=(0,I.jsxs)(p,{gap:3,className:K.headerActions,children:[D&&(0,I.jsx)(k,{type:`supporting`,color:`secondary`,className:K.headerTime,children:_(`header.observedAt`,{time:(0,I.jsx)(`time`,{dateTime:D.observedAt,children:new Date(D.observedAt).toLocaleString(u())})})}),(0,I.jsx)(j,{label:h(`common.refresh`),icon:(0,I.jsx)(M,{}),variant:`ghost`,size:`sm`,isLoading:w.isFetching,isDisabled:w.isFetching,onClick:T})]});return(0,I.jsxs)(g,{gap:0,className:K.page,children:[(0,I.jsx)(t,{trail:re,actions:ie}),(0,I.jsxs)(g,{gap:0,className:l?`${K.column} ${K.wide}`:K.column,children:[s&&(0,I.jsxs)(p,{gap:2,vAlign:`center`,className:K.pageTitle,children:[(0,I.jsx)(v,{level:1,children:n}),r&&(0,I.jsx)(Y,{title:n,description:r})]}),ne&&D&&(0,I.jsx)(g,{gap:0,className:K.staleNotice,children:(0,I.jsx)(ye,{isRefreshing:w.isFetching,onRefresh:T})}),w.error&&D&&(0,I.jsxs)(g,{padding:4,role:`alert`,children:[(0,I.jsx)(k,{children:w.error.message}),(0,I.jsx)(k,{children:h(`history.staleData`)})]}),!D&&w.error&&(0,I.jsx)(N,{error:w.error,retry:()=>{E?window.location.reload():w.refetch()}}),O&&m,A&&f&&(0,I.jsx)(p,{gap:3,wrap:`wrap`,className:`${K.filters} ${K.filtersSticky}`,children:f(D)}),A&&(0,I.jsx)(g,{gap:3,className:K.content,children:(0,I.jsx)(a,{index:D.index,children:S({checkout:D,session:e})})})]})]})}var Se={sm:{kZKoxP:`x6k0iem`,$$css:!0},md:{kZKoxP:`x1ueg155`,$$css:!0},lg:{kZKoxP:`xssyfek`,$$css:!0}};function Z({type:e=`text`,label:n,isLabelHidden:i=!1,description:a,isOptional:s=!1,isRequired:c=!1,isDisabled:l=!1,isReadOnly:u=!1,disabledMessage:d,startIcon:f,status:p,statusVariant:m=`attached`,size:h,onChange:g,changeAction:_,isLoading:v=!1,value:y,placeholder:b,labelTooltip:x,hasClear:S=!1,hasAutoFocus:C=!1,htmlName:T,onEnter:O,onKeyDown:k,width:A,xstyle:j,className:se,style:M,ref:ce,...N}){let P=E(),ue=ae({isRequired:c,isOptional:s}),L=ne(h,`md`),R=(0,F.useId)(),z=(0,F.useId)(),V=(0,F.useId)(),H=(0,F.useId)(),W=(0,F.useRef)(null),G=(0,F.useRef)(null),K=ge(),[,_e]=(0,F.useTransition)(),[q,ve]=(0,F.useOptimistic)(y),J=v||q!==y,Y=l&&!!d,X=o({placement:`above`,focusTrigger:`always`,isEnabled:Y}),{statusIcon:ye,describedBy:be}=de({status:p,statusVariant:m,isInGroup:!!K}),{ariaLabelledBy:xe,ariaDescribedBy:Z}=le(z,[a?V:null,!K&&m!==`tooltip`&&p?.message?H:null,be,Y?X.describedBy:null],K),Q=e=>{if(l||u)return;let t=e.target.value;g?.(t,e),_&&!e.defaultPrevented&&_e(async()=>{ve(t),await _(t,e)})},Ce=(0,F.useCallback)(()=>{g?.(``,null),W.current?.focus()},[g]),{onClick:we,onMouseUp:Te}=oe({containerRef:G,inputRef:W,disabled:l}),$=(0,I.jsxs)(`div`,{ref:e=>{G.current=e,X.ref(e)},onClick:we,onMouseUp:Te,...w(r(`text-input`,{size:L,status:p?.type??null,disabled:l?`disabled`:null,readonly:u?`readonly`:null}),t(B.base,Se[L],l&&B.disabled,p&&fe[p.type],p&&!l&&pe[p.type],p&&me[p.type],K&&he.inGroup,j),se,M),children:[f&&D(f,{size:`sm`,color:`secondary`}),K&&(0,I.jsx)(re,{id:z,children:n}),(0,I.jsx)(`input`,{...N,ref:te(ce,W),id:R,name:l?void 0:T,type:e,value:q,onChange:Q,onKeyDown:O||k?e=>{e.key===`Enter`&&O?.(),k?.(e)}:void 0,placeholder:b,disabled:l&&!Y,"aria-disabled":Y?`true`:void 0,readOnly:u||Y||void 0,autoFocus:C,"data-autofocus":C||void 0,"aria-describedby":Z,"aria-required":ue?`true`:void 0,"aria-invalid":p?.type===`error`?`true`:void 0,"aria-busy":J||void 0,"aria-labelledby":xe,...{0:{className:`x1lliihq x98rzlu xeuugli xc342km xng3xce x1717udv x9ynric xjm74w1 x6pjikd xw6l6zx x1tgivj0 xjbqb8w x1a2a7pz xeyghm5`},1:{className:`x1lliihq x98rzlu xeuugli xc342km xng3xce x1717udv x9ynric xjm74w1 x6pjikd xw6l6zx x1tgivj0 xjbqb8w x1a2a7pz xeyghm5 xt0e3qv`}}[!!l<<0]}),S&&y!==``&&!l&&!u&&(0,I.jsx)(U,{label:P(`@astryx.textInput.clearLabel`,{label:n}),onClick:Ce}),J&&(0,I.jsx)(ee,{size:`sm`}),ye]});return K?(0,I.jsxs)(I.Fragment,{children:[$,Y&&X.renderTooltip(d)]}):(0,I.jsxs)(ie,{label:n,isLabelHidden:i,description:a,inputID:R,descriptionID:a?V:void 0,isOptional:s,isRequired:c,isDisabled:l,status:p?{type:p.type,message:p.message,messageID:p.message?H:void 0}:void 0,statusVariant:m,labelTooltip:x,width:A,children:[$,Y&&X.renderTooltip(d)]})}Z.displayName=`TextInput`;var Q=[[`path`,{d:`M8 7L16 7`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M8 11L12 11`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`path`,{d:`M13 21.5V21C13 18.1716 13 16.7574 13.8787 15.8787C14.7574 15 16.1716 15 19 15H19.5M20 13.3431V10C20 6.22876 20 4.34315 18.8284 3.17157C17.6569 2 15.7712 2 12 2C8.22877 2 6.34315 2 5.17157 3.17157C4 4.34314 4 6.22876 4 10L4 14.5442C4 17.7892 4 19.4117 4.88607 20.5107C5.06508 20.7327 5.26731 20.9349 5.48933 21.1139C6.58831 22 8.21082 22 11.4558 22C12.1614 22 12.5141 22 12.8372 21.886C12.9044 21.8623 12.9702 21.835 13.0345 21.8043C13.3436 21.6564 13.593 21.407 14.0919 20.9081L18.8284 16.1716C19.4065 15.5935 19.6955 15.3045 19.8478 14.9369C20 14.5694 20 14.1606 20 13.3431Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`2`}]],Ce=[[`path`,{d:`M19 17L19 11C19 8.17157 19 6.75736 18.1213 5.87868C17.2426 5 15.8284 5 13 5H10M10 5C10 4.29977 11.9943 2.99153 12.5 2.5M10 5C10 5.70023 11.9943 7.00847 12.5 7.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M5 7.5L5 13.5C5 16.3284 5 17.7426 5.87868 18.6213C6.75736 19.5 8.17157 19.5 11 19.5H14M14 19.5C14 20.2002 12.0057 21.5085 11.5 22M14 19.5C14 18.7998 12.0057 17.4915 11.5 17`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}],[`circle`,{cx:`19`,cy:`19`,r:`2`,stroke:`currentColor`,strokeWidth:`1.5`,key:`2`}],[`circle`,{cx:`5`,cy:`5`,r:`2`,stroke:`currentColor`,strokeWidth:`1.5`,key:`3`}]],we=[[`path`,{d:`M20 21.0001C19.713 17.269 16.7289 14.3151 12.995 14.0662L12 13.9999C11.6446 14.0096 11.3134 14.0225 11.0008 14.0378C7.3 14.2192 4.28417 17.3057 4 21.0001`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`circle`,{cx:`12`,cy:`6.99988`,r:`4`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],Te=[[`path`,{d:`M15.2141 5.98239L16.6158 4.58063C17.39 3.80646 18.6452 3.80646 19.4194 4.58063C20.1935 5.3548 20.1935 6.60998 19.4194 7.38415L18.0176 8.78591M15.2141 5.98239L6.98023 14.2163C5.93493 15.2616 5.41226 15.7842 5.05637 16.4211C4.70047 17.058 4.3424 18.5619 4 20C5.43809 19.6576 6.94199 19.2995 7.57889 18.9436C8.21579 18.5877 8.73844 18.0651 9.78375 17.0198L18.0176 8.78591M15.2141 5.98239L18.0176 8.78591`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M11 20H17`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.5`,key:`1`}]];function $(e){return function(t){return(0,I.jsx)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,"aria-hidden":`true`,focusable:`false`,...t,children:e.map(([e,t],n)=>(0,F.createElement)(e,{...t,key:n}))})}}var Ee=$(m),De=$(z),Oe=$(Q),ke=$(Ce),Ae=$(we),je=$(Te);function Me({label:e,placeholder:t,value:n,onChange:r}){let[i,a]=(0,F.useState)(n),o=(0,F.useRef)(n),s=(0,F.useRef)([]),c=(0,F.useRef)(void 0);return(0,F.useEffect)(()=>()=>{clearTimeout(c.current)},[]),(0,F.useEffect)(()=>{if(n===o.current){s.current=[];return}let e=s.current.indexOf(n);if(e>=0){s.current.splice(0,e+1);return}s.current=[],o.current=n,a(n)},[n]),(0,I.jsx)(Z,{label:e,isLabelHidden:!0,placeholder:t,value:i,startIcon:Ee,hasClear:!0,onChange:e=>{o.current=e,a(e),clearTimeout(c.current),c.current=setTimeout(()=>{s.current.push(e),r(e)},500)}})}var Ne=[0,1,2,3,4];function Pe({selectors:e=0,children:t}){return b(),(0,I.jsxs)(g,{gap:0,role:`status`,"aria-label":h(`request.loadingProject`),"aria-busy":`true`,className:K.skeleton,children:[(0,I.jsxs)(p,{gap:3,wrap:`wrap`,className:K.filters,"aria-hidden":`true`,children:[(0,I.jsx)(l,{width:`11rem`,height:`var(--spacing-8)`,radius:2}),Array.from({length:e},(e,t)=>(0,I.jsx)(l,{index:t,width:`7rem`,height:`var(--spacing-8)`,radius:2},t))]}),(0,I.jsx)(g,{gap:0,padding:4,"aria-hidden":`true`,children:t??(0,I.jsxs)(g,{gap:0,children:[(0,I.jsxs)(p,{gap:4,className:K.skeletonRow,children:[(0,I.jsx)(l,{width:`5rem`,height:`var(--spacing-3)`}),(0,I.jsx)(l,{width:`4rem`,height:`var(--spacing-3)`}),(0,I.jsx)(l,{width:`4rem`,height:`var(--spacing-3)`})]}),Ne.map(e=>(0,I.jsxs)(p,{gap:4,className:K.skeletonRow,children:[(0,I.jsxs)(g,{gap:2,className:K.entryBody,children:[(0,I.jsx)(l,{index:e,width:`${28+e%3*10}%`,height:`var(--spacing-4)`}),(0,I.jsx)(l,{index:e,width:`40%`,height:`var(--spacing-3)`})]}),(0,I.jsx)(l,{index:e,width:`2rem`,height:`var(--spacing-4)`}),(0,I.jsx)(l,{index:e,width:`3rem`,height:`var(--spacing-5)`,radius:2}),(0,I.jsxs)(p,{gap:0,children:[(0,I.jsx)(l,{index:e,width:`var(--spacing-6)`,height:`var(--spacing-6)`,radius:`rounded`}),(0,I.jsx)(l,{index:e,width:`var(--spacing-6)`,height:`var(--spacing-6)`,radius:`rounded`})]}),(0,I.jsx)(l,{index:e,width:`3.5rem`,height:`var(--spacing-3)`})]},e))]})})]})}export{z as _,Oe as a,Q as c,he as d,U as f,B as g,pe as h,je as i,be as l,fe as m,Me as n,De as o,W as p,ke as r,Ae as s,Pe as t,ge as u,le as v};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{l as e}from"./themeProps-CkLe5zXY.js";import{n as t}from"./commit-5TIiQrYh.js";import{r as n}from"./index-iSt1IRzY.js";var r=e();function i(){let{recordId:e}=n.useParams();return(0,r.jsx)(t,{recordId:e})}export{i as component};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{l as e}from"./themeProps-CkLe5zXY.js";import{r as t}from"./commit-5TIiQrYh.js";import{t as n}from"./index-iSt1IRzY.js";var r=e();function i(){let{commit:e}=n.useParams(),i=n.useSearch();return(0,r.jsx)(t,{commit:e,search:i})}export{i as component};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{l as e}from"./themeProps-CkLe5zXY.js";import{D as t,b as n,et as r,ft as i,i as a,on as o,pt as s,un as c,vt as l,z as u}from"./search-palette-BCEUlRVv.js";import{w as d}from"./Icon-DPaLmsmh.js";import{a as f,l as p,n as m,o as h,r as g,s as _,t as v}from"./records-page-BjyFUmMr.js";import{n as y}from"./IconButton-Br-4XhQr.js";import{t as b}from"./useInfiniteQuery-tqfloUvn.js";import{t as x}from"./Selector-BlDYK5Fb.js";import{t as S}from"./request-state-BeiYxf95.js";import{i as C}from"./index-iSt1IRzY.js";import{t as w}from"./page-header-B9LQWl7J.js";import{t as T}from"./Token-CYBSUyAu.js";import{n as E,r as D}from"./activity-timeline-i0lmNZ1o.js";var O={historyPagination:`_historyPagination_17r3o_1`,workingEntry:`_workingEntry_17r3o_3`,workingTitle:`_workingTitle_17r3o_4`,workingRecords:`_workingRecords_17r3o_5`},k=e(),A=3;function j({session:e}){c();let n=u(t(e)).data;return!n||!n.records.length&&!n.changes.length?null:(0,k.jsxs)(s,{as:`section`,"aria-label":o(`working.title`),gap:2,className:O.workingEntry,children:[(0,k.jsxs)(i,{gap:3,vAlign:`center`,wrap:`wrap`,children:[(0,k.jsx)(l,{to:`/records/working`,className:O.workingTitle,children:o(`working.title`)}),(0,k.jsx)(d,{type:`supporting`,color:`secondary`,children:o(`working.summary`,{records:n.records.length,documents:n.changes.length})}),!!n.withoutRecord.length&&(0,k.jsx)(T,{label:o(`working.withoutRecord`,{count:n.withoutRecord.length}),color:`yellow`,size:`sm`})]}),!!n.records.length&&(0,k.jsxs)(s,{as:`ul`,gap:1,className:O.workingRecords,children:[n.records.slice(0,A).map(e=>(0,k.jsx)(`li`,{children:(0,k.jsx)(l,{to:`/records/$recordId`,params:{recordId:e.id},children:e.title})},e.id)),n.records.length>A&&(0,k.jsx)(`li`,{children:(0,k.jsx)(l,{to:`/records/working`,search:{tab:`records`},children:o(`working.moreRecords`,{count:n.records.length-A})})})]})]})}function M({features:e,search:t,session:i,head:l}){c();let u={kind:t.kind,document:t.document,feature:t.feature,author:t.author,q:t.q},f=Object.values(u).some(Boolean),p=b({...n(i,l??``,u),enabled:!!l,placeholderData:r}),m=p.data?.pages.flatMap(e=>e.events)??[],h=p.data?.pages[0];return l?p.isPending?(0,k.jsx)(s,{gap:0,children:(0,k.jsx)(E,{})}):p.error&&!h?(0,k.jsx)(S,{error:p.error,retry:()=>{p.refetch()}}):(0,k.jsxs)(s,{gap:0,children:[!f&&(0,k.jsx)(j,{session:i}),!!m.length&&(0,k.jsx)(D,{events:m,features:e}),!m.length&&(0,k.jsx)(a,{kind:f?`search`:`empty`,title:o(`history.emptyTitle`),description:o(f?`history.changeFilters`:`history.emptyDescription`)}),h&&!!h.total&&(0,k.jsxs)(s,{gap:3,padding:5,className:O.historyPagination,children:[(0,k.jsxs)(d,{type:`supporting`,color:`secondary`,children:[o(`history.shown`,{shown:m.length,total:h.total}),` `,p.hasNextPage?``:o(`history.reachedEnd`)]}),p.hasNextPage&&(0,k.jsx)(y,{label:p.isFetchingNextPage?o(`history.loadingMore`):p.isFetchNextPageError?o(`history.retryMore`):o(`history.loadMore`),isDisabled:p.isFetching,onClick:()=>{p.fetchNextPage()}})]})]}):(0,k.jsx)(a,{kind:`empty`,title:o(`history.emptyTitle`),description:o(`history.emptyDescription`)})}function N({search:e,change:t}){return c(),(0,k.jsx)(p,{header:w,title:o(`nav.history`),description:o(`pageDescription.history`),root:`/records`,hasTitle:!0,skeleton:(0,k.jsx)(v,{selectors:4,children:(0,k.jsx)(E,{})}),filters:n=>(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(m,{label:o(`filters.search`),placeholder:o(`filters.searchEvents`),value:e.q??``,onChange:n=>t({...e,q:n||void 0},!0)}),(0,k.jsx)(x,{label:o(`filters.feature`),isLabelHidden:!0,startIcon:h,value:e.feature??``,options:[{value:``,label:o(`filters.allFeatures`)},...n.index.features.map(e=>({value:e.id,label:e.title}))],onChange:n=>t({...e,feature:n||void 0})}),(0,k.jsx)(x,{label:o(`filters.document`),isLabelHidden:!0,startIcon:f,value:e.document??``,options:[{value:``,label:o(`filters.allDocuments`)},{value:`feature`,label:o(`kind.feature`)},{value:`requirement`,label:o(`kind.requirement`)},{value:`design`,label:o(`kind.design`)},{value:`wiki`,label:o(`kind.wiki`)},{value:`instruction`,label:o(`kind.instruction`)}],onChange:n=>t({...e,document:n||void 0})}),(0,k.jsx)(x,{label:o(`filters.change`),isLabelHidden:!0,startIcon:g,value:e.kind??``,options:[{value:``,label:o(`filters.allChanges`)},{value:`created`,label:o(`change.created`)},{value:`modified`,label:o(`change.modified`)},{value:`moved`,label:o(`change.moved`)},{value:`deleted`,label:o(`change.deleted`)}],onChange:n=>t({...e,kind:n||void 0})}),(0,k.jsx)(x,{label:o(`filters.author`),isLabelHidden:!0,startIcon:_,value:e.author??``,options:[{value:``,label:o(`filters.allAuthors`)},...n.index.people.map(e=>({value:e.email,label:e.name}))],onChange:n=>t({...e,author:n||void 0})})]}),children:({checkout:t,session:n})=>(0,k.jsx)(M,{features:t.index.features,search:e,session:n,head:t.head})})}function P(){let e=C.useSearch(),t=C.useNavigate();return(0,k.jsx)(N,{search:e,change:(e,n)=>{t({search:e,replace:n??!1})}})}export{P as component};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{l as e}from"./themeProps-CkLe5zXY.js";import{t}from"./commit-5TIiQrYh.js";import{n}from"./index-iSt1IRzY.js";var r=e();function i(){let e=n.useSearch();return(0,r.jsx)(t,{search:e})}export{i as component};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{l as t,q as n}from"./themeProps-CkLe5zXY.js";import{a as r,ft as i,i as a,on as o,pt as s,un as c}from"./search-palette-BCEUlRVv.js";import{w as l}from"./Icon-DPaLmsmh.js";import{n as u}from"./IconButton-Br-4XhQr.js";var d=e(n(),1),f=t();function p({error:e,retry:t}){c();let[n,p]=(0,d.useState)(!1);return(0,d.useEffect)(()=>{let e=window.setTimeout(()=>p(!0),200);return()=>window.clearTimeout(e)},[]),e?(0,f.jsx)(s,{role:`alert`,children:(0,f.jsx)(a,{kind:`error`,title:o(`request.failed`),description:e.message,actions:t?(0,f.jsx)(u,{label:o(`common.reconnect`),onClick:t}):void 0})}):(0,f.jsxs)(s,{padding:6,gap:6,role:`status`,"aria-label":o(`request.loading`),"aria-busy":`true`,style:{minHeight:`24rem`,opacity:+!!n,transition:`opacity .2s ease-out`},children:[(0,f.jsx)(l,{type:`supporting`,color:`secondary`,children:o(`request.loadingRecords`)}),[0,1,2,3].map(e=>(0,f.jsxs)(i,{gap:5,"aria-hidden":`true`,children:[(0,f.jsxs)(s,{gap:3,style:{flex:1},children:[(0,f.jsx)(r,{index:e,width:`${52-e*7}%`,height:`var(--spacing-4)`,radius:`none`}),(0,f.jsx)(r,{index:e,width:`35%`,height:`var(--spacing-3)`,radius:`none`})]}),(0,f.jsx)(r,{index:e,width:`var(--spacing-8)`,height:`var(--spacing-8)`,radius:`rounded`})]},e))]})}export{p as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e){let t={};for(let n of[`tab`,`document`,`q`,`feature`,`selected`,`author`,`kind`,`view`,`sort`,`design`,`dir`])typeof e[n]==`string`&&e[n].length<=240&&(t[n]=e[n]);return t}export{e as t};
|