@oscharko-dev/keiko 1.2.6 → 1.2.7
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/ui/csp-hashes.json +8 -8
- package/dist/ui/static/404.html +1 -1
- package/dist/ui/static/__next.__PAGE__.txt +5 -5
- package/dist/ui/static/__next._full.txt +5 -5
- package/dist/ui/static/__next._tree.txt +1 -1
- package/dist/ui/static/_next/static/chunks/06hwq8_gunvuo.js +29 -0
- package/dist/ui/static/_next/static/chunks/0891-mvb901op.js +1 -1
- package/dist/ui/static/_next/static/chunks/{30-f39wg2ukb0.js → 09v8w4wuj4m1_.js} +2 -2
- package/dist/ui/static/_next/static/chunks/0alcm0tnx-n8-.js +1 -1
- package/dist/ui/static/_next/static/chunks/0c_k9ehs17w4l.js +1 -1
- package/dist/ui/static/_next/static/chunks/0kjv5jpoy_3wx.js +1 -1
- package/dist/ui/static/_next/static/chunks/0ob6quzp23sqe.js +1 -1
- package/dist/ui/static/_next/static/chunks/0squn2lq5smnf.js +1 -1
- package/dist/ui/static/_next/static/chunks/{3ks40owmq5dke.css → 0vqzhbpt7iewb.css} +10 -9
- package/dist/ui/static/_next/static/chunks/0xbqv2_0xajgv.js +1 -1
- package/dist/ui/static/_next/static/chunks/11186fkh5coce.js +2 -0
- package/dist/ui/static/_next/static/chunks/12ncxpwq54-k2.js +1 -1
- package/dist/ui/static/_next/static/chunks/14tr5ujuc_u34.js +1 -1
- package/dist/ui/static/_next/static/chunks/1daa_1zod-ndb.js +1 -1
- package/dist/ui/static/_next/static/chunks/{10-ixote6buhh.js → 1layk925byvud.js} +1 -1
- package/dist/ui/static/_next/static/chunks/1mxu3l7fz5yz1.js +1 -1
- package/dist/ui/static/_next/static/chunks/1nqe0rzxqwjkw.js +732 -0
- package/dist/ui/static/_next/static/chunks/1p6h98yn2nqtv.js +1 -1
- package/dist/ui/static/_next/static/chunks/{2bc_13-_upoqj.js → 1wsoxouji7eb9.js} +1 -1
- package/dist/ui/static/_next/static/chunks/20ij-phmydgc3.js +1 -1
- package/dist/ui/static/_next/static/chunks/{1xivtevfo8yzl.js → 2206mw-z43vyo.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{3j_pd5g21st5o.js → 22pvivewswjat.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{1293esxg_t46n.css → 272m__6w4ehe1.css} +6 -4
- package/dist/ui/static/_next/static/chunks/2az51zfcfe4w7.js +1 -1
- package/dist/ui/static/_next/static/chunks/2fr8bahvq9eg9.js +1 -1
- package/dist/ui/static/_next/static/chunks/{209aaqjv6z8gh.js → 2gvu8dyrhibpa.js} +1 -1
- package/dist/ui/static/_next/static/chunks/2na7t_nmk3z_c.js +1 -1
- package/dist/ui/static/_next/static/chunks/2nxhnrgae6nij.js +1 -1
- package/dist/ui/static/_next/static/chunks/{1t276xv4ec2k7.js → 2ql8dczlqzd4u.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{33po7i9f3y-hi.js → 2ty81249w2gdw.js} +1 -1
- package/dist/ui/static/_next/static/chunks/2vmw7uw9qfxtm.js +2 -0
- package/dist/ui/static/_next/static/chunks/37kujq-6rc3ey.js +1 -1
- package/dist/ui/static/_next/static/chunks/3i3kblvx52ywv.js +1 -1
- package/dist/ui/static/_next/static/chunks/3j8fuk7gt_nsd.js +1 -1
- package/dist/ui/static/_next/static/chunks/3n0xbx7qq5429.js +1 -1
- package/dist/ui/static/_next/static/chunks/3n16srxs2afdp.js +1 -1
- package/dist/ui/static/_next/static/chunks/3rg7mh8olm1dj.js +1 -0
- package/dist/ui/static/_next/static/chunks/3s1wb0rz0bdep.js +1 -1
- package/dist/ui/static/_next/static/chunks/{turbopack-17n7tuo0-0vcg.js → turbopack-3-2dc0s_e9msx.js} +1 -1
- package/dist/ui/static/_next/static/media/{codicon.2b_iqd4rvjgu4.ttf → codicon.42hqluqtoi4oe.ttf} +0 -0
- package/dist/ui/static/_not-found/__next._full.txt +1 -1
- package/dist/ui/static/_not-found/__next._not-found.__PAGE__.txt +1 -1
- package/dist/ui/static/_not-found/__next._tree.txt +1 -1
- package/dist/ui/static/_not-found.html +1 -1
- package/dist/ui/static/_not-found.txt +1 -1
- package/dist/ui/static/atlassian-connectors/__next._full.txt +1 -1
- package/dist/ui/static/atlassian-connectors/__next._tree.txt +1 -1
- package/dist/ui/static/atlassian-connectors/__next.atlassian-connectors.__PAGE__.txt +1 -1
- package/dist/ui/static/atlassian-connectors.html +1 -1
- package/dist/ui/static/atlassian-connectors.txt +1 -1
- package/dist/ui/static/index.html +1 -1
- package/dist/ui/static/index.txt +5 -5
- package/dist/ui/static/launch/__next._full.txt +5 -5
- package/dist/ui/static/launch/__next._tree.txt +1 -1
- package/dist/ui/static/launch/__next.launch.__PAGE__.txt +5 -5
- package/dist/ui/static/launch.html +1 -1
- package/dist/ui/static/launch.txt +5 -5
- package/dist/ui/static/local-knowledge/__next._full.txt +5 -5
- package/dist/ui/static/local-knowledge/__next._tree.txt +1 -1
- package/dist/ui/static/local-knowledge/__next.local-knowledge.__PAGE__.txt +5 -5
- package/dist/ui/static/local-knowledge/capsule/__next._full.txt +1 -1
- package/dist/ui/static/local-knowledge/capsule/__next._tree.txt +1 -1
- package/dist/ui/static/local-knowledge/capsule/__next.local-knowledge.capsule.__PAGE__.txt +1 -1
- package/dist/ui/static/local-knowledge/capsule.html +1 -1
- package/dist/ui/static/local-knowledge/capsule.txt +1 -1
- package/dist/ui/static/local-knowledge.html +1 -1
- package/dist/ui/static/local-knowledge.txt +5 -5
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.js +6 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.js +9 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-cli/package.json +15 -15
- package/node_modules/@oscharko-dev/keiko-connectors/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-contracts/dist/version.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/version.js +2 -2
- package/node_modules/@oscharko-dev/keiko-contracts/package.json +1 -1
- package/node_modules/@oscharko-dev/keiko-evaluations/package.json +9 -9
- package/node_modules/@oscharko-dev/keiko-evidence/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/package.json +4 -4
- package/node_modules/@oscharko-dev/keiko-git/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-git/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-git/package.json +1 -1
- package/node_modules/@oscharko-dev/keiko-harness/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-harness/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-harness/package.json +7 -7
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/package.json +6 -6
- package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-capture/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-governance/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-retrieval/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/package.json +4 -4
- package/node_modules/@oscharko-dev/keiko-quality-intelligence/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-sandbox/package.json +2 -2
- package/node_modules/@oscharko-dev/keiko-sdk/package.json +9 -9
- package/node_modules/@oscharko-dev/keiko-security/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-security/package.json +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/deps.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/deps.js +6 -5
- package/node_modules/@oscharko-dev/keiko-server/package.json +24 -24
- package/node_modules/@oscharko-dev/keiko-tool-catalog/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-tools/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/package.json +7 -7
- package/node_modules/@oscharko-dev/keiko-verification/package.json +5 -5
- package/node_modules/@oscharko-dev/keiko-workflows/package.json +10 -10
- package/node_modules/@oscharko-dev/keiko-workspace/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/package.json +4 -4
- package/package.json +38 -38
- package/release-impact.catalog.json +73 -0
- package/vendor/oscharko-dev-keiko-activity-log-1.2.7.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-cli-1.2.6.tgz → oscharko-dev-keiko-cli-1.2.7.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-connectors-1.2.6.tgz → oscharko-dev-keiko-connectors-1.2.7.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-contracts-1.2.6.tgz → oscharko-dev-keiko-contracts-1.2.7.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-evaluations-1.2.6.tgz → oscharko-dev-keiko-evaluations-1.2.7.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-evidence-1.2.6.tgz → oscharko-dev-keiko-evidence-1.2.7.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-git-1.2.6.tgz → oscharko-dev-keiko-git-1.2.7.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-harness-1.2.6.tgz → oscharko-dev-keiko-harness-1.2.7.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-local-knowledge-1.2.6.tgz → oscharko-dev-keiko-local-knowledge-1.2.7.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-capture-1.2.6.tgz → oscharko-dev-keiko-memory-capture-1.2.7.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-consolidation-1.2.6.tgz → oscharko-dev-keiko-memory-consolidation-1.2.7.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-governance-1.2.6.tgz → oscharko-dev-keiko-memory-governance-1.2.7.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-retrieval-1.2.6.tgz → oscharko-dev-keiko-memory-retrieval-1.2.7.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-vault-1.2.6.tgz → oscharko-dev-keiko-memory-vault-1.2.7.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-model-gateway-1.2.6.tgz → oscharko-dev-keiko-model-gateway-1.2.7.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-quality-intelligence-1.2.6.tgz → oscharko-dev-keiko-quality-intelligence-1.2.7.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-sandbox-1.2.6.tgz → oscharko-dev-keiko-sandbox-1.2.7.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-sdk-1.2.6.tgz → oscharko-dev-keiko-sdk-1.2.7.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-security-1.2.6.tgz → oscharko-dev-keiko-security-1.2.7.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-server-1.2.7.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-tool-catalog-1.2.6.tgz → oscharko-dev-keiko-tool-catalog-1.2.7.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-tools-1.2.6.tgz → oscharko-dev-keiko-tools-1.2.7.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-verification-1.2.6.tgz → oscharko-dev-keiko-verification-1.2.7.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-workflows-1.2.6.tgz → oscharko-dev-keiko-workflows-1.2.7.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-workspace-1.2.6.tgz → oscharko-dev-keiko-workspace-1.2.7.tgz} +0 -0
- package/dist/ui/static/_next/static/chunks/0f-ub6bs0i1sj.js +0 -2
- package/dist/ui/static/_next/static/chunks/18voy19pok4ko.js +0 -671
- package/dist/ui/static/_next/static/chunks/2eif0mrb2ok4e.js +0 -1
- package/dist/ui/static/_next/static/chunks/3ggg2nmiwuz90.js +0 -27
- package/dist/ui/static/_next/static/chunks/3qhgsd4mwnt9v.js +0 -2
- package/vendor/oscharko-dev-keiko-activity-log-1.2.6.tgz +0 -0
- package/vendor/oscharko-dev-keiko-server-1.2.6.tgz +0 -0
- /package/dist/ui/static/_next/static/{dHwBvAPZHCBS19_AHKzGd → H3xxDPi4xvbxoz-xJSbax}/_buildManifest.js +0 -0
- /package/dist/ui/static/_next/static/{dHwBvAPZHCBS19_AHKzGd → H3xxDPi4xvbxoz-xJSbax}/_clientMiddlewareManifest.js +0 -0
- /package/dist/ui/static/_next/static/{dHwBvAPZHCBS19_AHKzGd → H3xxDPi4xvbxoz-xJSbax}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[26962,75410,e=>{let t=e.i(43545).K,n=new Set(Object.freeze(["TM_FILENAME","TM_FILENAME_BASE","CURRENT_YEAR","CURRENT_MONTH","CURRENT_DATE"])),r=new Set(["audio","base","button","embed","form","iframe","img","input","link","math","meta","object","script","select","source","style","svg","textarea","track","video"]),i=Object.freeze(["javascript:","vbscript:","data:text/html","data:image/svg+xml","`"]);function s(e,t,r){for(;e.index<e.text.length;){let i=e.text[e.index];if("}"===i&&r)return!0;if("\\"===i){e.index+=e.index+1<e.text.length?2:1;continue;}if("$"===i&&!function e(t,r){let i=t.text[t.index+1];return"("!==i&&("{"===i?!(r>=4)&&(t.index+=2,function(t,r){if(u(t.text[t.index])){l(t,u);let n=t.text[t.index];return"}"===n?a(t):":"===n?(t.index+=1,!!s(t,r,!0)&&a(t)):"|"===n&&function(t,n){for(t.index+=1;t.index<t.text.length;){let r=function(t,n){let r=t.text[t.index];return"\\"===r?t.index+1>=t.text.length?"invalid":(t.index+=2,"continue"):"|"===r?"}"!==t.text[t.index+1]?"invalid":(t.index+=2,"complete"):"}"!==r&&("$"!==r||e(t,n))?("$"!==r&&(t.index+=1),"continue"):"invalid";}(t,n);if("complete"===r)return!0;if("invalid"===r)break;}return!1;}(t,r);}if(!d(t.text[t.index]))return!1;let i=o(t);return n.has(i)&&a(t);}(t,r+1)):u(i)?(t.index+=2,l(t,u),!0):d(i)?(t.index+=1,n.has(o(t))):(t.index+=1,!0));}(e,t))return!1;"$"!==i&&(e.index+=1);}return!r;}function a(e){return"}"===e.text[e.index]&&(e.index+=1,!0);}function o(e){let t=e.index;return l(e,c),e.text.slice(t,e.index);}function l(e,t){for(;t(e.text[e.index]);)e.index+=1;}function u(e){return void 0!==e&&e>="0"&&e<="9";}function d(e){return void 0!==e&&(e>="A"&&e<="Z"||e>="a"&&e<="z"||"_"===e);}function c(e){return d(e)||u(e);}function f(e){let t=e.toLowerCase();return!!(i.some(e=>t.includes(e))||function(e){let t=e.indexOf("<");for(;t>=0;){let n=e.indexOf(">",t+1),i=e.indexOf("<",t+1);if(i>=0&&(n<0||i<n)){t=i;continue;}let s=e.slice(t+1,n<0?e.length:n),a=function(e){let t=+!!e.startsWith("/");for(;h(e[t]);)t+=1;let n=t;for(;c(e[t])||"-"===e[t];)t+=1;return e.slice(n,t);}(s);if(r.has(a)||function(e){for(let t=0;t<e.length-2;t+=1)if(function(e,t){if(!(0===t||h(e[t-1])||"/"===e[t-1]))return!1;let n=t;for(;c(e[n])||"-"===e[n];)n+=1;let r=e.slice(t,n);if("srcdoc"!==r&&!(r.startsWith("on")&&r.length>2))return!1;for(;h(e[n]);)n+=1;return"="===e[n];}(e,t))return!0;return!1;}(s))return!0;if(n<0)break;t=e.indexOf("<",n+1);}return!1;}(t))||function(e){for(let t=0;t<e.length-1;t+=1){if("!"!==e[t]||"["!==e[t+1])continue;let n=0;for(let r=t-1;r>=0&&"\\"===e[r];r-=1)n+=1;if(n%2==0)return!0;}return!1;}(e);}function h(e){return" "===e||" "===e||"\n"===e||"\r"===e||"\f"===e;}function m(e){if(!function(e){if(!Array.isArray(e)||0===e.length||e.length>64)return!1;let t=0;for(let r of e){var n;if("string"!=typeof r||(t+=function(e){let t=0;for(let n=0;n<e.length;n+=1){var _e$codePointAt;let r=(_e$codePointAt=e.codePointAt(n))!==null&&_e$codePointAt!==void 0?_e$codePointAt:0;r<=127?t+=1:r<=2047?t+=2:r>65535?(t+=4,n+=1):t+=3;}return t;}(r))>8192||!("string"==typeof(n=r)&&function(e){if(f(e))return!1;let t={text:e,index:0};return s(t,0,!1)&&t.index===e.length;}(n)))return!1;}return!f(e.join("\n"));}(e))return{ok:!1,reasonCode:"UNSAFE_SNIPPET"};let t=e.join("\n");return{ok:!0,value:t.includes("$0")?t:`${t}$0`};}function p(e,t){let n=function(e){let t=Array.from(e),n=[];for(let e=0;e<t.length;e+=1){if("*"!==t[e]){n.push({kind:"literal",value:t[e]});continue;}if("*"!==t[e+1]){n.push({kind:"segment-star"});continue;}if("/"===t[e+2]){n.push({kind:"globstar-directory"},{kind:"globstar-directory-tail"}),e+=2;continue;}n.push({kind:"globstar"}),e+=1;}return n;}(e),r=v(new Set([0]),n);for(let e of Array.from(t)){let t=new Set();for(let i of r)!function(e,t,n,r){let i=e[t];switch(i===null||i===void 0?void 0:i.kind){case"literal":i.value===n&&r.add(t+1);return;case"segment-star":"/"!==n&&r.add(t);return;case"globstar":r.add(t);return;case"globstar-directory":r.add(t+1),"/"===n&&r.add(t+2);return;case"globstar-directory-tail":r.add(t),"/"===n&&r.add(t+1);return;default:return;}}(n,i,e,t);if(0===(r=v(t,n)).size)return!1;}return v(r,n).has(n.length);}function v(e,t){let n=new Set(e),r=[...e];for(let e of r){let i=t[e],s=(i===null||i===void 0?void 0:i.kind)==="globstar-directory"?e+2:e+1;void 0===i||"literal"===i.kind||"globstar-directory-tail"===i.kind||n.has(s)||(n.add(s),r.push(s));}return n;}e.s(["k",0,8192,"z",0,t,"D",0,m,"T",0,function(e){var _e$signal;var t;let n;if(!e.insertionSafe||((_e$signal=e.signal)===null||_e$signal===void 0?void 0:_e$signal.aborted)===!0)return[];let r=e.prefix.toLowerCase();return[...(t=e.collection.snippets.flatMap(t=>{var _e$signal2,_n$exclude,_o$prefixes$;var n,i,s,a,o;let l,u;return((_e$signal2=e.signal)===null||_e$signal2===void 0?void 0:_e$signal2.aborted)===!0?[]:(n=t,i=e.languageId,s=e.relativePath,a=r,n.languages.includes(i)&&n.prefixes.some(e=>e.toLowerCase().startsWith(a))&&((_n$exclude=n.exclude)===null||_n$exclude===void 0?void 0:_n$exclude.some(e=>p(e,s)))!==!0&&(void 0===n.include||0===n.include.length||n.include.some(e=>p(e,s))))?[(u=(l=m((o=t).body)).ok?l.value:"",{id:o.id,label:(_o$prefixes$=o.prefixes[0])!==null&&_o$prefixes$!==void 0?_o$prefixes$:o.name,insertText:u,detail:`Workspace snippet: ${o.name}`,sortText:`1-snippet-${o.name.toLowerCase()}-${o.id}`})]:[];}),n=new Set(),t.filter(e=>{let t=e.label.toLowerCase();return!n.has(t)&&(n.add(t),!0);}))].sort((e,t)=>e.sortText.localeCompare(t.sortText));}],26962);var y=e.i(71645),g=e.i(95508),b=e.i(72859);let x=0;function k(e){return e instanceof DOMException&&"AbortError"===e.name;}function _(e){var _e$current;(_e$current=e.current)===null||_e$current===void 0||_e$current.abort();}async function E(e){var _e$signalRef$current;if(void 0===e.root||void 0===e.snapshot)return!1;(_e$signalRef$current=e.signalRef.current)===null||_e$signalRef$current===void 0||_e$signalRef$current.abort();let n=new AbortController();e.signalRef.current=n,e.setMutating(!0),e.setIssue(void 0);try{let r=await(0,g.EV)({schemaVersion:t,root:e.root,expectedRevision:e.snapshot.revision,action:e.action,...(void 0===e.snippets?{}:{snippets:e.snippets})},e.snapshot.etag,"function"==typeof crypto.randomUUID?crypto.randomUUID():(x+=1,`workspace-snippets-ui-${Date.now().toString(36)}-${x.toString(36)}`),n.signal);if(n.signal.aborted)return!1;if("ok"===r.kind)return e.setSnapshot(r.snapshot),!0;return"conflict"===r.kind||"idempotencyConflict"===r.kind?(await e.refresh(),e.setIssue("conflict")):e.setIssue(r.kind),!1;}catch(t){return k(t)||e.setIssue("mutation"),!1;}finally{n.signal.aborted||e.setMutating(!1);}}e.s(["f",0,function(e){let t=(0,y.useRef)(e),n=(0,y.useRef)(void 0),r=(0,y.useRef)(void 0),[i,s]=(0,y.useState)(),[a,o]=(0,y.useState)(!1),[l,u]=(0,y.useState)(!1),[d,c]=(0,y.useState)();t.current=e;let f=(0,y.useCallback)(async()=>{var _n$current;if(void 0===e||0===e.length)return;(_n$current=n.current)===null||_n$current===void 0||_n$current.abort();let r=new AbortController();n.current=r,o(!0);try{let n=await(0,g.m9)(e,r.signal);t.current!==e||r.signal.aborted||(s(n),c(void 0));}catch(n){k(n)||t.current!==e||c("load");}finally{t.current!==e||r.signal.aborted||o(!1);}},[e]);(0,y.useEffect)(()=>(s(void 0),c(void 0),f(),()=>{_(n),_(r);}),[f]),(0,y.useEffect)(()=>{if(void 0!==e&&0!==e.length)return(0,b.subscribeSharedEventSource)(`/api/editor/snippets/events?root=${encodeURIComponent(e)}`,["ready","editor-snippets:changed"],()=>{f();},{priority:"background"});},[f,e]);let h=(0,y.useCallback)(t=>E({action:"replace",root:e,snapshot:i,signalRef:r,setIssue:c,setMutating:u,setSnapshot:s,refresh:f,snippets:t}),[e,i,f]),m=(0,y.useCallback)(()=>E({action:"reset",root:e,snapshot:i,signalRef:r,setIssue:c,setMutating:u,setSnapshot:s,refresh:f}),[e,i,f]);return{snapshot:i,loading:a,mutating:l,issue:d,refresh:f,replace:h,reset:m};}],75410);},97633,e=>{let t=Object.freeze(["staged","unstaged"]),n=Object.freeze(["staged","worktree"]),r=Object.freeze(["ctx","add","del","meta"]),i=Object.freeze(["added","modified","deleted","renamed"]);function s(e){return"object"==typeof e&&null!==e&&!Array.isArray(e);}function a(e,t){return Object.keys(e).every(e=>t.includes(e));}function o(e,t){return"number"==typeof e&&Number.isInteger(e)&&e>=t;}function l(e,t,n=!1){return"string"==typeof e&&(n||e.length>0)&&e.length<=t&&!e.includes("\0");}function u(e){return!(!l(e,4096)||new TextEncoder().encode(e).length>4096||e.startsWith("/")||e.startsWith("\\")||e.includes("\\"))&&e.split("/").every(e=>e.length>0&&"."!==e&&".."!==e);}function d(e){return"string"==typeof e&&t.includes(e);}function c(e){return"string"==typeof e&&n.includes(e);}function f(e){return"string"==typeof e&&r.includes(e);}function h(e){return"string"==typeof e&&i.includes(e);}function m(e){let t,n;return s(e)&&a(e,["kind","oldLine","newLine","text"])&&f(e.kind)&&(t=e.oldLine,n=e.newLine,"ctx"===e.kind?o(t,1)&&o(n,1):"add"===e.kind?null===t&&o(n,1):"del"===e.kind?o(t,1)&&null===n:"meta"===e.kind&&null===t&&null===n)&&l(e.text,16384,!0);}function p(e){var t;return s(e)&&a(e,["header","oldStart","oldCount","newStart","newCount","lines","truncated"])&&l(e.header,512)&&o((t=e).oldStart,0)&&o(t.oldCount,0)&&o(t.newStart,0)&&o(t.newCount,0)&&Array.isArray(e.lines)&&e.lines.length<=2048&&e.lines.every(m)&&"boolean"==typeof e.truncated;}function v(e){var t;return!!s(e)&&!!a(e,["path","oldPath","layer","status","binary","hunks","addedLines","removedLines","truncated"])&&h(e.status)&&c(e.layer)&&!!u(e.path)&&(void 0===e.oldPath||!!u(e.oldPath))&&("renamed"===e.status?"string"==typeof e.oldPath:void 0===e.oldPath)&&"boolean"==typeof e.binary&&Array.isArray((t=e).hunks)&&t.hunks.length<=256&&t.hunks.every(p)&&(!0!==e.binary||Array.isArray(e.hunks)&&0===e.hunks.length&&0===e.addedLines&&0===e.removedLines)&&o(e.addedLines,0)&&o(e.removedLines,0)&&"boolean"==typeof e.truncated;}let y=/^(?:[0-9a-f]{40}|[0-9a-f]{64})$/u,g=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d{3})?Z$/u;function b(e){return s(e)&&a(e,["line","commitHash","author","authorTime","summary"])&&o(e.line,1)&&"string"==typeof e.commitHash&&y.test(e.commitHash)&&l(e.author,256)&&"string"==typeof e.authorTime&&g.test(e.authorTime)&&Number.isFinite(Date.parse(e.authorTime))&&l(e.summary,512,!0);}function x(e){try{return e();}catch(e){return{ok:!1,errors:[`payload could not be inspected: ${e instanceof Error?e.name:"unknown error"}`]};}}e.s(["GIT_AGENT_CONTEXT_MAX_BLAME_LINES",0,32,"GIT_AGENT_CONTEXT_MAX_FILES",0,8,"GIT_AGENT_CONTEXT_MAX_HUNKS",0,16,"GIT_AGENT_CONTEXT_MAX_RESULT_BYTES",0,196608,"GIT_EDITOR_BLAME_AUTHOR_MAX_CHARS",0,256,"GIT_EDITOR_BLAME_MAX_BYTES",0,262144,"GIT_EDITOR_BLAME_MAX_LINES",0,2e3,"GIT_EDITOR_BLAME_SUMMARY_MAX_CHARS",0,512,"GIT_EDITOR_DIFF_FILE_STATUSES",0,i,"GIT_EDITOR_DIFF_LAYERS",0,n,"GIT_EDITOR_DIFF_LINE_KINDS",0,r,"GIT_EDITOR_DIFF_MAX_BYTES",0,524288,"GIT_EDITOR_DIFF_MAX_FILES",0,400,"GIT_EDITOR_DIFF_MAX_HEADER_CHARS",0,512,"GIT_EDITOR_DIFF_MAX_HUNKS_PER_FILE",0,256,"GIT_EDITOR_DIFF_MAX_LINES_PER_HUNK",0,2048,"GIT_EDITOR_DIFF_MAX_LINE_CHARS",0,16384,"GIT_EDITOR_DIFF_SCOPES",0,t,"GIT_EDITOR_PATH_MAX_BYTES",0,4096,"GIT_EDITOR_SCHEMA_VERSION",0,"1","isGitEditorBlameLine",0,b,"isGitEditorDiffFile",0,v,"isGitEditorDiffFileStatus",0,h,"isGitEditorDiffHunk",0,p,"isGitEditorDiffLayer",0,c,"isGitEditorDiffLine",0,m,"isGitEditorDiffLineKind",0,f,"isGitEditorDiffScope",0,d,"parseGitEditorBlameRequest",0,function(e){return x(()=>function(e){if(!s(e))return{ok:!1,errors:["request must be an object"]};let t=[];return a(e,["schemaVersion","path","startLine","maxLines"])||t.push("request has unknown fields"),"1"!==e.schemaVersion&&t.push("schemaVersion invalid"),u(e.path)||t.push("path must be a bounded workspace-relative path"),o(e.startLine,1)||t.push("startLine must be a positive integer"),(!o(e.maxLines,1)||"number"==typeof e.maxLines&&e.maxLines>2e3)&&t.push(`maxLines must be between 1 and ${String(2e3)}`),0===t.length?{ok:!0,value:e}:{ok:!1,errors:t};}(e));},"parseGitEditorBlameResponse",0,function(e){return x(()=>function(e){var t,n;if(!s(e))return{ok:!1,errors:["response must be an object"]};let r=[];return a(e,["schemaVersion","path","startLine","lines","truncated","totalLines","totalBytes","maxBytes","maxLines"])||r.push("response has unknown fields"),"1"!==e.schemaVersion&&r.push("schemaVersion invalid"),u(e.path)||r.push("path must be a bounded workspace-relative path"),o(e.startLine,1)||r.push("startLine must be a positive integer"),!Array.isArray(e.lines)||e.lines.length>2e3?r.push(`lines must be an array of at most ${String(2e3)} entries`):e.lines.every(b)||r.push("lines contain an invalid entry"),"boolean"!=typeof e.truncated&&r.push("truncated must be a boolean"),o(e.totalLines,0)||r.push("totalLines must be a non-negative integer"),o(e.totalBytes,0)||r.push("totalBytes must be a non-negative integer"),262144!==e.maxBytes&&r.push("maxBytes invalid"),2e3!==e.maxLines&&r.push("maxLines invalid"),t=e,n=r,Array.isArray(t.lines)&&o(t.totalLines,0)&&t.totalLines<t.lines.length&&n.push("totalLines must not be smaller than lines.length"),o(t.totalBytes,0)&&t.totalBytes>262144&&!0!==t.truncated&&n.push("truncated must be true when totalBytes exceeds maxBytes"),0===r.length?{ok:!0,value:e}:{ok:!1,errors:r};}(e));},"parseGitEditorDiffRequest",0,function(e){return x(()=>function(e){if(!s(e))return{ok:!1,errors:["request must be an object"]};let t=[];return a(e,["schemaVersion","scope","path"])||t.push("request has unknown fields"),"1"!==e.schemaVersion&&t.push("schemaVersion invalid"),d(e.scope)||t.push("scope must be staged or unstaged"),void 0===e.path||u(e.path)||t.push("path must be a bounded workspace-relative path when present"),0===t.length?{ok:!0,value:e}:{ok:!1,errors:t};}(e));},"parseGitEditorDiffResponse",0,function(e){return x(()=>function(e){var t,n;if(!s(e))return{ok:!1,errors:["response must be an object"]};let r=[];return a(e,["schemaVersion","scope","files","truncated","totalFiles","totalBytes","maxBytes","maxFiles"])||r.push("response has unknown fields"),"1"!==e.schemaVersion&&r.push("schemaVersion invalid"),d(e.scope)||r.push("scope must be staged or unstaged"),!Array.isArray(e.files)||e.files.length>400?r.push(`files must be an array of at most ${String(400)} entries`):e.files.every(v)?d(e.scope)&&!e.files.every(t=>t.layer===("staged"===e.scope?"staged":"worktree"))&&r.push("file layers must match the response scope"):r.push("files contain an invalid entry"),"boolean"!=typeof e.truncated&&r.push("truncated must be a boolean"),o(e.totalFiles,0)||r.push("totalFiles must be a non-negative integer"),o(e.totalBytes,0)||r.push("totalBytes must be a non-negative integer"),524288!==e.maxBytes&&r.push("maxBytes invalid"),400!==e.maxFiles&&r.push("maxFiles invalid"),t=e,n=r,Array.isArray(t.files)&&o(t.totalFiles,0)&&t.totalFiles<t.files.length&&n.push("totalFiles must not be smaller than files.length"),o(t.totalBytes,0)&&t.totalBytes>524288&&!0!==t.truncated&&n.push("truncated must be true when totalBytes exceeds maxBytes"),0===r.length?{ok:!0,value:e}:{ok:!1,errors:r};}(e));}]);},45312,e=>{e.s(["f",0,function(e){try{return e();}catch(e){return{ok:!1,errors:[`payload could not be inspected: ${e instanceof Error?e.name:"unknown"}`]};}}]);},59679,22060,e=>{e.s(["f",0,function(e){return e.sizeBytes>5e5?"degraded":!function(e){let t=0;for(let n=0;n<e.length;n+=1)if(10===e.codePointAt(n)&&(t+=1)>=1e4)return!0;return!1;}(e.text)?"normal":"degraded";}],59679);let t={request:()=>"saving",succeeded:e=>"saving"===e?"saved":e,failed:e=>"saving"===e?"error":e,conflicted:e=>"saving"===e?"conflict":e,retry:e=>"error"===e||"conflict"===e?"saving":e,reloaded:e=>"conflict"===e?"idle":e,edited:e=>"saved"===e?"idle":e};e.s(["O",0,function(e,t,n,r){let i={relativePath:n,sizeBytes:new TextEncoder().encode(t).length,text:t,truncated:!1};return void 0===r?{identity:e,content:i}:{identity:e,expectedSavedVersion:r,content:i};},"S",0,function(e){return e.modelReadOnly||e.bufferReadOnly||!0===e.override||e.truncated||e.overLimit||e.notReady;},"d",0,function(e,t){return e.truncated||e.sizeBytes>t;},"T",0,function(e,n){return t[n.type](e);}],22060);},86405,e=>{function t(e,t){var _t$readOnly;return{identity:e,savedVersion:e.version,dirty:!1,readOnly:(_t$readOnly=t===null||t===void 0?void 0:t.readOnly)!==null&&_t$readOnly!==void 0?_t$readOnly:!1,lastChangeOrigin:null};}e.s(["V",0,t,"H",0,function(e,n){switch(n.type){case"edited":return{identity:{...e.identity,version:e.identity.version+1},savedVersion:e.savedVersion,dirty:!0,readOnly:e.readOnly,lastChangeOrigin:n.origin};case"saved":return{identity:e.identity,savedVersion:e.identity.version,dirty:!1,readOnly:e.readOnly,lastChangeOrigin:e.lastChangeOrigin};case"reloaded":return t(n.identity,{readOnly:e.readOnly});case"set-read-only":return{identity:e.identity,savedVersion:e.savedVersion,dirty:e.dirty,readOnly:n.readOnly,lastChangeOrigin:e.lastChangeOrigin};}},"J",0,function(e){return e.identity.version!==e.savedVersion;}]);},87240,e=>{var t=e.i(71645);function n(){if("u"<typeof document)return"dark";let e="light"===document.documentElement.dataset.theme?"light":"dark";return"function"==typeof window.matchMedia&&(window.matchMedia("(prefers-contrast: more)").matches||window.matchMedia("(forced-colors: active)").matches)&&"dark"===e?"high-contrast":e;}e.s(["I",0,n,"_",0,function(){let[e,r]=(0,t.useState)("dark");return(0,t.useEffect)(()=>{let e=()=>{r(n());};e();let t=new MutationObserver(e);t.observe(document.documentElement,{attributes:!0,attributeFilter:["data-theme"]});let i=window.matchMedia("(prefers-contrast: more)"),s=window.matchMedia("(forced-colors: active)");return i.addEventListener("change",e),s.addEventListener("change",e),()=>{t.disconnect(),i.removeEventListener("change",e),s.removeEventListener("change",e);};},[]),e;}]);},3415,e=>{let t="keiko:editor-buffer-reconciliation-request";async function n(e){let n=[];window.dispatchEvent(new CustomEvent(t,{detail:{root:e,register:e=>{n.push(e);}}})),await Promise.all(n);}e.s(["m",0,t,"n",0,function(e){if(!(e instanceof CustomEvent)||"object"!=typeof e.detail||null===e.detail)return null;let t=e.detail;return"string"==typeof t.root&&t.root.length>0&&"function"==typeof t.register?{root:t.root,register:t.register}:null;},"r",0,n]);},11257,e=>{var _s$default$cmpSelect;var t=e.i(43476),n=e.i(24541),r=e.i(60865),i=e.i(26222),s=e.i(98391);let a=(_s$default$cmpSelect=s.default["cmp-selectable-text-chrome"])!==null&&_s$default$cmpSelect!==void 0?_s$default$cmpSelect:"";function o({tokens:e}){let n=new Map();return(0,t.jsx)(t.Fragment,{children:e.map(e=>{var _n$get;let r=`${e[0]}:${e[1]}`,i=(_n$get=n.get(r))!==null&&_n$get!==void 0?_n$get:0;return n.set(r,i+1),(0,t.jsx)("span",{className:`hl-${e[0]}`,children:e[1]},`${r}:${String(i)}`);})});}function l({line:e,lang:n,kindLabel:r,labels:s}){var _s$addedLine,_s$deletedLine,_s$contextLine,_s$metadataLine,_e$oldLine,_e$newLine;var u,d;let c,f="add"===(u=e.kind)?"+":"del"===u?"−":"ctx"===u?"·":"",h="ctx"===e.kind?"":` rv-${e.kind}`;if("meta"!==e.kind&&"code"!==n){var _2;let r=(_2=(0,i.v)(e.text,(0,i.H)(n))[0])!==null&&_2!==void 0?_2:[];c=(0,t.jsx)(o,{tokens:r});}else c=e.text;return(0,t.jsxs)("div",{className:`rv-line${h}`,children:[(0,t.jsx)("span",{className:`rv-sr-only ${a}`,children:r!==null&&r!==void 0?r:(d=e.kind,"add"===d?(_s$addedLine=s===null||s===void 0?void 0:s.addedLine)!==null&&_s$addedLine!==void 0?_s$addedLine:"Added line":"del"===d?(_s$deletedLine=s===null||s===void 0?void 0:s.deletedLine)!==null&&_s$deletedLine!==void 0?_s$deletedLine:"Deleted line":"ctx"===d?(_s$contextLine=s===null||s===void 0?void 0:s.contextLine)!==null&&_s$contextLine!==void 0?_s$contextLine:"Context line":(_s$metadataLine=s===null||s===void 0?void 0:s.metadataLine)!==null&&_s$metadataLine!==void 0?_s$metadataLine:"Diff metadata")}),(0,t.jsx)("span",{className:`rv-num-old rv-num ${a}`,children:(_e$oldLine=e.oldLine)!==null&&_e$oldLine!==void 0?_e$oldLine:""}),(0,t.jsx)("span",{className:`rv-num-new rv-num ${a}`,children:(_e$newLine=e.newLine)!==null&&_e$newLine!==void 0?_e$newLine:""}),(0,t.jsx)("span",{className:`rv-gutter ${a}`,"aria-hidden":"true",children:f}),(0,t.jsx)("code",{className:"rv-src",children:c})]});}function u({hunk:e,lang:n,labels:i,viewLabels:s}){var _s$hunkHeader,_ref,_i$header,_s$hunkTruncated;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"rv-hunk mono","aria-label":`${(_s$hunkHeader=s===null||s===void 0?void 0:s.hunkHeader)!==null&&_s$hunkHeader!==void 0?_s$hunkHeader:"Hunk header"} ${e.header}`,children:[(0,t.jsx)("span",{className:`rv-sr-only ${a}`,children:(_ref=(_i$header=i===null||i===void 0?void 0:i.header)!==null&&_i$header!==void 0?_i$header:s===null||s===void 0?void 0:s.hunkHeader)!==null&&_ref!==void 0?_ref:"Hunk header"}),e.header]}),e.lines.map((e,r)=>{var _e$oldLine2,_e$newLine2;return(0,t.jsx)(l,{line:e,lang:n,kindLabel:i===null||i===void 0?void 0:i[e.kind],labels:s},`${String((_e$oldLine2=e.oldLine)!==null&&_e$oldLine2!==void 0?_e$oldLine2:"-")}:${String((_e$newLine2=e.newLine)!==null&&_e$newLine2!==void 0?_e$newLine2:"-")}:${e.kind}:${String(r)}`);}),e.truncated?(0,t.jsx)("output",{className:"rv-truncated",style:r.u,children:(_s$hunkTruncated=s===null||s===void 0?void 0:s.hunkTruncated)!==null&&_s$hunkTruncated!==void 0?_s$hunkTruncated:"This hunk is incomplete because the bounded diff was truncated."}):null]});}e.s(["b",0,function({file:e,index:i,changedFiles:a=[],sectionRef:o,translate:l,labels:d,idPrefix:c="rv-file"}){var _l,_e$path$split$pop,_d$previousPath,_d$elevatedReview,_d$binaryFile,_d$fileTruncated;let f=(_l=l===null||l===void 0?void 0:l("chat.repository.role.file"))!==null&&_l!==void 0?_l:"file",h=a.find(t=>t.path===e.path),m=e.path.includes(".")?(_e$path$split$pop=e.path.split(".").pop())!==null&&_e$path$split$pop!==void 0?_e$path$split$pop:"code":"code";return(0,t.jsxs)("section",{id:`${c}-${i}`,"aria-labelledby":`${c}-${i}-h`,ref:o,children:[(0,t.jsxs)("h3",{id:`${c}-${i}-h`,className:"rv-file mono",children:[(0,t.jsx)("span",{className:"rv-path",children:e.path}),void 0!==e.oldPath&&(0,t.jsx)("span",{className:"rv-oldpath",children:(_d$previousPath=d===null||d===void 0?void 0:d.previousPath(e.oldPath))!==null&&_d$previousPath!==void 0?_d$previousPath:` (was ${e.oldPath})`}),(0,t.jsxs)("span",{className:"rv-sr-only",children:[e.status," ",f]}),(0,t.jsx)("span",{className:"spacer"}),(0,t.jsxs)("span",{className:"rv-stat add",children:["+",e.addedLines]}),(0,t.jsxs)("span",{className:"rv-stat del",children:["−",e.removedLines]}),(h===null||h===void 0?void 0:h.elevatedReview)===!0&&(0,t.jsx)("span",{className:"rv-elevated","aria-label":(_d$elevatedReview=d===null||d===void 0?void 0:d.elevatedReview)!==null&&_d$elevatedReview!==void 0?_d$elevatedReview:"Elevated review",children:"!"})]}),(0,t.jsxs)("div",{className:`rv-code mono ${s.default["cmp-selectable-text"]}`,"data-text-selectable":"true",tabIndex:0,onFocusCapture:()=>(0,n.v)("[keiko] shared diff viewport focused"),children:[e.binary?(0,t.jsx)("p",{className:"rv-empty-p",children:(_d$binaryFile=d===null||d===void 0?void 0:d.binaryFile)!==null&&_d$binaryFile!==void 0?_d$binaryFile:"Binary file — no text diff to display."}):e.hunks.map(e=>(0,t.jsx)(u,{hunk:e,lang:m,viewLabels:d},e.header)),e.truncated&&!e.hunks.some(e=>e.truncated)?(0,t.jsx)("output",{className:"rv-truncated",style:r.u,children:(_d$fileTruncated=d===null||d===void 0?void 0:d.fileTruncated)!==null&&_d$fileTruncated!==void 0?_d$fileTruncated:"This file diff is incomplete because the bounded diff was truncated."}):null]})]});},"I",0,u]);},29673,e=>{e.s(["p",0,function(e){let t=atob(e),n=new ArrayBuffer(t.length),r=new Uint8Array(n);for(let e=0;e<t.length;e+=1)r[e]=t.codePointAt(e);return n;},"h",0,function(e){let t=new ArrayBuffer(e.byteLength);return new Uint8Array(t).set(e),t;}]);}],8913,e=>{e.v(t=>Promise.all(["static/chunks/2m6mk3n8m89m1.js"].map(t=>e.l(t))).then(()=>t(28167)));},77840,e=>{e.v(t=>Promise.all(["static/chunks/0s44xe0d3p8aq.js"].map(t=>e.l(t))).then(()=>t(34075)));},13722,e=>{e.v(t=>Promise.all(["static/chunks/0_5ojk3x0nmvf.js"].map(t=>e.l(t))).then(()=>t(66516)));},70403,e=>{e.v(t=>Promise.all(["static/chunks/3po45w-jh15zl.js"].map(t=>e.l(t))).then(()=>t(86874)));},67661,e=>{e.v(t=>Promise.all(["static/chunks/3v707fwyehnaz.js"].map(t=>e.l(t))).then(()=>t(35351)));},37002,e=>{e.v(t=>Promise.all(["static/chunks/1e9go819dwl2g.js"].map(t=>e.l(t))).then(()=>t(73273)));},66090,e=>{e.v(t=>Promise.all(["static/chunks/1lbyv-xdlpc1s.js"].map(t=>e.l(t))).then(()=>t(61443)));},46991,e=>{e.v(t=>Promise.all(["static/chunks/3yr-z6gpzz6nk.js"].map(t=>e.l(t))).then(()=>t(43773)));},4473,e=>{e.v(t=>Promise.all(["static/chunks/1zak9rzannwqm.js"].map(t=>e.l(t))).then(()=>t(81398)));},11472,e=>{e.v(t=>Promise.all(["static/chunks/3eh49k6u0wd-3.js"].map(t=>e.l(t))).then(()=>t(98264)));},75660,e=>{e.v(t=>Promise.all(["static/chunks/1s-f1o_ts7o4c.js"].map(t=>e.l(t))).then(()=>t(85988)));},75552,e=>{e.v(t=>Promise.all(["static/chunks/119nz-036coy-.js"].map(t=>e.l(t))).then(()=>t(68965)));},48645,e=>{e.v(t=>Promise.all(["static/chunks/0t9_8sma6j36t.js"].map(t=>e.l(t))).then(()=>t(35080)));},77821,e=>{e.v(t=>Promise.all(["static/chunks/185eyrqw4q4-b.js"].map(t=>e.l(t))).then(()=>t(42819)));},73546,e=>{e.v({badge:"aueRda_badge",editorSurface:"aueRda_editorSurface"});},81230,e=>{e.v(t=>Promise.all(["static/chunks/430ijjrt-9ura.js","static/chunks/3n16srxs2afdp.js"].map(t=>e.l(t))).then(()=>t(11139)));},56236,e=>{e.v(t=>Promise.all(["static/chunks/0nho0lkem__kd.css","static/chunks/32trz4urzn99o.js"].map(t=>e.l(t))).then(()=>t(23678)));},20383,e=>{e.v({close:"GDmB9W_close",editorSurface:"GDmB9W_editorSurface",header:"GDmB9W_header",notice:"GDmB9W_notice",peek:"GDmB9W_peek",title:"GDmB9W_title"});},87513,e=>{e.v({cmpDocumentActionPanel:"pUQf3G_cmpDocumentActionPanel",cmpDocumentActions:"pUQf3G_cmpDocumentActions",cmpPrimaryAction:"pUQf3G_cmpPrimaryAction",cmpTabClose:"pUQf3G_cmpTabClose",cmpToolbar:"pUQf3G_cmpToolbar",tabHitClosable:"pUQf3G_tabHitClosable",tabRow:"pUQf3G_tabRow",themeTokens:"pUQf3G_themeTokens"});},82464,e=>{e.v(t=>Promise.all(["static/chunks/2eif0mrb2ok4e.js"].map(t=>e.l(t))).then(()=>t(80862)));}]);
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[26962,75410,e=>{let t=e.i(43545).K,n=new Set(Object.freeze(["TM_FILENAME","TM_FILENAME_BASE","CURRENT_YEAR","CURRENT_MONTH","CURRENT_DATE"])),r=new Set(["audio","base","button","embed","form","iframe","img","input","link","math","meta","object","script","select","source","style","svg","textarea","track","video"]),i=Object.freeze(["javascript:","vbscript:","data:text/html","data:image/svg+xml","`"]);function s(e,t,r){for(;e.index<e.text.length;){let i=e.text[e.index];if("}"===i&&r)return!0;if("\\"===i){e.index+=e.index+1<e.text.length?2:1;continue;}if("$"===i&&!function e(t,r){let i=t.text[t.index+1];return"("!==i&&("{"===i?!(r>=4)&&(t.index+=2,function(t,r){if(u(t.text[t.index])){l(t,u);let n=t.text[t.index];return"}"===n?a(t):":"===n?(t.index+=1,!!s(t,r,!0)&&a(t)):"|"===n&&function(t,n){for(t.index+=1;t.index<t.text.length;){let r=function(t,n){let r=t.text[t.index];return"\\"===r?t.index+1>=t.text.length?"invalid":(t.index+=2,"continue"):"|"===r?"}"!==t.text[t.index+1]?"invalid":(t.index+=2,"complete"):"}"!==r&&("$"!==r||e(t,n))?("$"!==r&&(t.index+=1),"continue"):"invalid";}(t,n);if("complete"===r)return!0;if("invalid"===r)break;}return!1;}(t,r);}if(!d(t.text[t.index]))return!1;let i=o(t);return n.has(i)&&a(t);}(t,r+1)):u(i)?(t.index+=2,l(t,u),!0):d(i)?(t.index+=1,n.has(o(t))):(t.index+=1,!0));}(e,t))return!1;"$"!==i&&(e.index+=1);}return!r;}function a(e){return"}"===e.text[e.index]&&(e.index+=1,!0);}function o(e){let t=e.index;return l(e,c),e.text.slice(t,e.index);}function l(e,t){for(;t(e.text[e.index]);)e.index+=1;}function u(e){return void 0!==e&&e>="0"&&e<="9";}function d(e){return void 0!==e&&(e>="A"&&e<="Z"||e>="a"&&e<="z"||"_"===e);}function c(e){return d(e)||u(e);}function f(e){let t=e.toLowerCase();return!!(i.some(e=>t.includes(e))||function(e){let t=e.indexOf("<");for(;t>=0;){let n=e.indexOf(">",t+1),i=e.indexOf("<",t+1);if(i>=0&&(n<0||i<n)){t=i;continue;}let s=e.slice(t+1,n<0?e.length:n),a=function(e){let t=+!!e.startsWith("/");for(;h(e[t]);)t+=1;let n=t;for(;c(e[t])||"-"===e[t];)t+=1;return e.slice(n,t);}(s);if(r.has(a)||function(e){for(let t=0;t<e.length-2;t+=1)if(function(e,t){if(!(0===t||h(e[t-1])||"/"===e[t-1]))return!1;let n=t;for(;c(e[n])||"-"===e[n];)n+=1;let r=e.slice(t,n);if("srcdoc"!==r&&!(r.startsWith("on")&&r.length>2))return!1;for(;h(e[n]);)n+=1;return"="===e[n];}(e,t))return!0;return!1;}(s))return!0;if(n<0)break;t=e.indexOf("<",n+1);}return!1;}(t))||function(e){for(let t=0;t<e.length-1;t+=1){if("!"!==e[t]||"["!==e[t+1])continue;let n=0;for(let r=t-1;r>=0&&"\\"===e[r];r-=1)n+=1;if(n%2==0)return!0;}return!1;}(e);}function h(e){return" "===e||" "===e||"\n"===e||"\r"===e||"\f"===e;}function m(e){if(!function(e){if(!Array.isArray(e)||0===e.length||e.length>64)return!1;let t=0;for(let r of e){var n;if("string"!=typeof r||(t+=function(e){let t=0;for(let n=0;n<e.length;n+=1){var _e$codePointAt;let r=(_e$codePointAt=e.codePointAt(n))!==null&&_e$codePointAt!==void 0?_e$codePointAt:0;r<=127?t+=1:r<=2047?t+=2:r>65535?(t+=4,n+=1):t+=3;}return t;}(r))>8192||!("string"==typeof(n=r)&&function(e){if(f(e))return!1;let t={text:e,index:0};return s(t,0,!1)&&t.index===e.length;}(n)))return!1;}return!f(e.join("\n"));}(e))return{ok:!1,reasonCode:"UNSAFE_SNIPPET"};let t=e.join("\n");return{ok:!0,value:t.includes("$0")?t:`${t}$0`};}function p(e,t){let n=function(e){let t=Array.from(e),n=[];for(let e=0;e<t.length;e+=1){if("*"!==t[e]){n.push({kind:"literal",value:t[e]});continue;}if("*"!==t[e+1]){n.push({kind:"segment-star"});continue;}if("/"===t[e+2]){n.push({kind:"globstar-directory"},{kind:"globstar-directory-tail"}),e+=2;continue;}n.push({kind:"globstar"}),e+=1;}return n;}(e),r=v(new Set([0]),n);for(let e of Array.from(t)){let t=new Set();for(let i of r)!function(e,t,n,r){let i=e[t];switch(i===null||i===void 0?void 0:i.kind){case"literal":i.value===n&&r.add(t+1);return;case"segment-star":"/"!==n&&r.add(t);return;case"globstar":r.add(t);return;case"globstar-directory":r.add(t+1),"/"===n&&r.add(t+2);return;case"globstar-directory-tail":r.add(t),"/"===n&&r.add(t+1);return;default:return;}}(n,i,e,t);if(0===(r=v(t,n)).size)return!1;}return v(r,n).has(n.length);}function v(e,t){let n=new Set(e),r=[...e];for(let e of r){let i=t[e],s=(i===null||i===void 0?void 0:i.kind)==="globstar-directory"?e+2:e+1;void 0===i||"literal"===i.kind||"globstar-directory-tail"===i.kind||n.has(s)||(n.add(s),r.push(s));}return n;}e.s(["k",0,8192,"z",0,t,"D",0,m,"T",0,function(e){var _e$signal;var t;let n;if(!e.insertionSafe||((_e$signal=e.signal)===null||_e$signal===void 0?void 0:_e$signal.aborted)===!0)return[];let r=e.prefix.toLowerCase();return[...(t=e.collection.snippets.flatMap(t=>{var _e$signal2,_n$exclude,_o$prefixes$;var n,i,s,a,o;let l,u;return((_e$signal2=e.signal)===null||_e$signal2===void 0?void 0:_e$signal2.aborted)===!0?[]:(n=t,i=e.languageId,s=e.relativePath,a=r,n.languages.includes(i)&&n.prefixes.some(e=>e.toLowerCase().startsWith(a))&&((_n$exclude=n.exclude)===null||_n$exclude===void 0?void 0:_n$exclude.some(e=>p(e,s)))!==!0&&(void 0===n.include||0===n.include.length||n.include.some(e=>p(e,s))))?[(u=(l=m((o=t).body)).ok?l.value:"",{id:o.id,label:(_o$prefixes$=o.prefixes[0])!==null&&_o$prefixes$!==void 0?_o$prefixes$:o.name,insertText:u,detail:`Workspace snippet: ${o.name}`,sortText:`1-snippet-${o.name.toLowerCase()}-${o.id}`})]:[];}),n=new Set(),t.filter(e=>{let t=e.label.toLowerCase();return!n.has(t)&&(n.add(t),!0);}))].sort((e,t)=>e.sortText.localeCompare(t.sortText));}],26962);var y=e.i(71645),g=e.i(95508),b=e.i(72859);let x=0;function k(e){return e instanceof DOMException&&"AbortError"===e.name;}function _(e){var _e$current;(_e$current=e.current)===null||_e$current===void 0||_e$current.abort();}async function E(e){var _e$signalRef$current;if(void 0===e.root||void 0===e.snapshot)return!1;(_e$signalRef$current=e.signalRef.current)===null||_e$signalRef$current===void 0||_e$signalRef$current.abort();let n=new AbortController();e.signalRef.current=n,e.setMutating(!0),e.setIssue(void 0);try{let r=await(0,g.EV)({schemaVersion:t,root:e.root,expectedRevision:e.snapshot.revision,action:e.action,...(void 0===e.snippets?{}:{snippets:e.snippets})},e.snapshot.etag,"function"==typeof crypto.randomUUID?crypto.randomUUID():(x+=1,`workspace-snippets-ui-${Date.now().toString(36)}-${x.toString(36)}`),n.signal);if(n.signal.aborted)return!1;if("ok"===r.kind)return e.setSnapshot(r.snapshot),!0;return"conflict"===r.kind||"idempotencyConflict"===r.kind?(await e.refresh(),e.setIssue("conflict")):e.setIssue(r.kind),!1;}catch(t){return k(t)||e.setIssue("mutation"),!1;}finally{n.signal.aborted||e.setMutating(!1);}}e.s(["f",0,function(e){let t=(0,y.useRef)(e),n=(0,y.useRef)(void 0),r=(0,y.useRef)(void 0),[i,s]=(0,y.useState)(),[a,o]=(0,y.useState)(!1),[l,u]=(0,y.useState)(!1),[d,c]=(0,y.useState)();t.current=e;let f=(0,y.useCallback)(async()=>{var _n$current;if(void 0===e||0===e.length)return;(_n$current=n.current)===null||_n$current===void 0||_n$current.abort();let r=new AbortController();n.current=r,o(!0);try{let n=await(0,g.m9)(e,r.signal);t.current!==e||r.signal.aborted||(s(n),c(void 0));}catch(n){k(n)||t.current!==e||c("load");}finally{t.current!==e||r.signal.aborted||o(!1);}},[e]);(0,y.useEffect)(()=>(s(void 0),c(void 0),f(),()=>{_(n),_(r);}),[f]),(0,y.useEffect)(()=>{if(void 0!==e&&0!==e.length)return(0,b.subscribeSharedEventSource)(`/api/editor/snippets/events?root=${encodeURIComponent(e)}`,["ready","editor-snippets:changed"],()=>{f();},{priority:"background"});},[f,e]);let h=(0,y.useCallback)(t=>E({action:"replace",root:e,snapshot:i,signalRef:r,setIssue:c,setMutating:u,setSnapshot:s,refresh:f,snippets:t}),[e,i,f]),m=(0,y.useCallback)(()=>E({action:"reset",root:e,snapshot:i,signalRef:r,setIssue:c,setMutating:u,setSnapshot:s,refresh:f}),[e,i,f]);return{snapshot:i,loading:a,mutating:l,issue:d,refresh:f,replace:h,reset:m};}],75410);},97633,e=>{let t=Object.freeze(["staged","unstaged"]),n=Object.freeze(["staged","worktree"]),r=Object.freeze(["ctx","add","del","meta"]),i=Object.freeze(["added","modified","deleted","renamed"]);function s(e){return"object"==typeof e&&null!==e&&!Array.isArray(e);}function a(e,t){return Object.keys(e).every(e=>t.includes(e));}function o(e,t){return"number"==typeof e&&Number.isInteger(e)&&e>=t;}function l(e,t,n=!1){return"string"==typeof e&&(n||e.length>0)&&e.length<=t&&!e.includes("\0");}function u(e){return!(!l(e,4096)||new TextEncoder().encode(e).length>4096||e.startsWith("/")||e.startsWith("\\")||e.includes("\\"))&&e.split("/").every(e=>e.length>0&&"."!==e&&".."!==e);}function d(e){return"string"==typeof e&&t.includes(e);}function c(e){return"string"==typeof e&&n.includes(e);}function f(e){return"string"==typeof e&&r.includes(e);}function h(e){return"string"==typeof e&&i.includes(e);}function m(e){let t,n;return s(e)&&a(e,["kind","oldLine","newLine","text"])&&f(e.kind)&&(t=e.oldLine,n=e.newLine,"ctx"===e.kind?o(t,1)&&o(n,1):"add"===e.kind?null===t&&o(n,1):"del"===e.kind?o(t,1)&&null===n:"meta"===e.kind&&null===t&&null===n)&&l(e.text,16384,!0);}function p(e){var t;return s(e)&&a(e,["header","oldStart","oldCount","newStart","newCount","lines","truncated"])&&l(e.header,512)&&o((t=e).oldStart,0)&&o(t.oldCount,0)&&o(t.newStart,0)&&o(t.newCount,0)&&Array.isArray(e.lines)&&e.lines.length<=2048&&e.lines.every(m)&&"boolean"==typeof e.truncated;}function v(e){var t;return!!s(e)&&!!a(e,["path","oldPath","layer","status","binary","hunks","addedLines","removedLines","truncated"])&&h(e.status)&&c(e.layer)&&!!u(e.path)&&(void 0===e.oldPath||!!u(e.oldPath))&&("renamed"===e.status?"string"==typeof e.oldPath:void 0===e.oldPath)&&"boolean"==typeof e.binary&&Array.isArray((t=e).hunks)&&t.hunks.length<=256&&t.hunks.every(p)&&(!0!==e.binary||Array.isArray(e.hunks)&&0===e.hunks.length&&0===e.addedLines&&0===e.removedLines)&&o(e.addedLines,0)&&o(e.removedLines,0)&&"boolean"==typeof e.truncated;}let y=/^(?:[0-9a-f]{40}|[0-9a-f]{64})$/u,g=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d{3})?Z$/u;function b(e){return s(e)&&a(e,["line","commitHash","author","authorTime","summary"])&&o(e.line,1)&&"string"==typeof e.commitHash&&y.test(e.commitHash)&&l(e.author,256)&&"string"==typeof e.authorTime&&g.test(e.authorTime)&&Number.isFinite(Date.parse(e.authorTime))&&l(e.summary,512,!0);}function x(e){try{return e();}catch(e){return{ok:!1,errors:[`payload could not be inspected: ${e instanceof Error?e.name:"unknown error"}`]};}}e.s(["GIT_AGENT_CONTEXT_MAX_BLAME_LINES",0,32,"GIT_AGENT_CONTEXT_MAX_FILES",0,8,"GIT_AGENT_CONTEXT_MAX_HUNKS",0,16,"GIT_AGENT_CONTEXT_MAX_RESULT_BYTES",0,196608,"GIT_EDITOR_BLAME_AUTHOR_MAX_CHARS",0,256,"GIT_EDITOR_BLAME_MAX_BYTES",0,262144,"GIT_EDITOR_BLAME_MAX_LINES",0,2e3,"GIT_EDITOR_BLAME_SUMMARY_MAX_CHARS",0,512,"GIT_EDITOR_DIFF_FILE_STATUSES",0,i,"GIT_EDITOR_DIFF_LAYERS",0,n,"GIT_EDITOR_DIFF_LINE_KINDS",0,r,"GIT_EDITOR_DIFF_MAX_BYTES",0,524288,"GIT_EDITOR_DIFF_MAX_FILES",0,400,"GIT_EDITOR_DIFF_MAX_HEADER_CHARS",0,512,"GIT_EDITOR_DIFF_MAX_HUNKS_PER_FILE",0,256,"GIT_EDITOR_DIFF_MAX_LINES_PER_HUNK",0,2048,"GIT_EDITOR_DIFF_MAX_LINE_CHARS",0,16384,"GIT_EDITOR_DIFF_SCOPES",0,t,"GIT_EDITOR_PATH_MAX_BYTES",0,4096,"GIT_EDITOR_SCHEMA_VERSION",0,"1","isGitEditorBlameLine",0,b,"isGitEditorDiffFile",0,v,"isGitEditorDiffFileStatus",0,h,"isGitEditorDiffHunk",0,p,"isGitEditorDiffLayer",0,c,"isGitEditorDiffLine",0,m,"isGitEditorDiffLineKind",0,f,"isGitEditorDiffScope",0,d,"parseGitEditorBlameRequest",0,function(e){return x(()=>function(e){if(!s(e))return{ok:!1,errors:["request must be an object"]};let t=[];return a(e,["schemaVersion","path","startLine","maxLines"])||t.push("request has unknown fields"),"1"!==e.schemaVersion&&t.push("schemaVersion invalid"),u(e.path)||t.push("path must be a bounded workspace-relative path"),o(e.startLine,1)||t.push("startLine must be a positive integer"),(!o(e.maxLines,1)||"number"==typeof e.maxLines&&e.maxLines>2e3)&&t.push(`maxLines must be between 1 and ${String(2e3)}`),0===t.length?{ok:!0,value:e}:{ok:!1,errors:t};}(e));},"parseGitEditorBlameResponse",0,function(e){return x(()=>function(e){var t,n;if(!s(e))return{ok:!1,errors:["response must be an object"]};let r=[];return a(e,["schemaVersion","path","startLine","lines","truncated","totalLines","totalBytes","maxBytes","maxLines"])||r.push("response has unknown fields"),"1"!==e.schemaVersion&&r.push("schemaVersion invalid"),u(e.path)||r.push("path must be a bounded workspace-relative path"),o(e.startLine,1)||r.push("startLine must be a positive integer"),!Array.isArray(e.lines)||e.lines.length>2e3?r.push(`lines must be an array of at most ${String(2e3)} entries`):e.lines.every(b)||r.push("lines contain an invalid entry"),"boolean"!=typeof e.truncated&&r.push("truncated must be a boolean"),o(e.totalLines,0)||r.push("totalLines must be a non-negative integer"),o(e.totalBytes,0)||r.push("totalBytes must be a non-negative integer"),262144!==e.maxBytes&&r.push("maxBytes invalid"),2e3!==e.maxLines&&r.push("maxLines invalid"),t=e,n=r,Array.isArray(t.lines)&&o(t.totalLines,0)&&t.totalLines<t.lines.length&&n.push("totalLines must not be smaller than lines.length"),o(t.totalBytes,0)&&t.totalBytes>262144&&!0!==t.truncated&&n.push("truncated must be true when totalBytes exceeds maxBytes"),0===r.length?{ok:!0,value:e}:{ok:!1,errors:r};}(e));},"parseGitEditorDiffRequest",0,function(e){return x(()=>function(e){if(!s(e))return{ok:!1,errors:["request must be an object"]};let t=[];return a(e,["schemaVersion","scope","path"])||t.push("request has unknown fields"),"1"!==e.schemaVersion&&t.push("schemaVersion invalid"),d(e.scope)||t.push("scope must be staged or unstaged"),void 0===e.path||u(e.path)||t.push("path must be a bounded workspace-relative path when present"),0===t.length?{ok:!0,value:e}:{ok:!1,errors:t};}(e));},"parseGitEditorDiffResponse",0,function(e){return x(()=>function(e){var t,n;if(!s(e))return{ok:!1,errors:["response must be an object"]};let r=[];return a(e,["schemaVersion","scope","files","truncated","totalFiles","totalBytes","maxBytes","maxFiles"])||r.push("response has unknown fields"),"1"!==e.schemaVersion&&r.push("schemaVersion invalid"),d(e.scope)||r.push("scope must be staged or unstaged"),!Array.isArray(e.files)||e.files.length>400?r.push(`files must be an array of at most ${String(400)} entries`):e.files.every(v)?d(e.scope)&&!e.files.every(t=>t.layer===("staged"===e.scope?"staged":"worktree"))&&r.push("file layers must match the response scope"):r.push("files contain an invalid entry"),"boolean"!=typeof e.truncated&&r.push("truncated must be a boolean"),o(e.totalFiles,0)||r.push("totalFiles must be a non-negative integer"),o(e.totalBytes,0)||r.push("totalBytes must be a non-negative integer"),524288!==e.maxBytes&&r.push("maxBytes invalid"),400!==e.maxFiles&&r.push("maxFiles invalid"),t=e,n=r,Array.isArray(t.files)&&o(t.totalFiles,0)&&t.totalFiles<t.files.length&&n.push("totalFiles must not be smaller than files.length"),o(t.totalBytes,0)&&t.totalBytes>524288&&!0!==t.truncated&&n.push("truncated must be true when totalBytes exceeds maxBytes"),0===r.length?{ok:!0,value:e}:{ok:!1,errors:r};}(e));}]);},45312,e=>{e.s(["f",0,function(e){try{return e();}catch(e){return{ok:!1,errors:[`payload could not be inspected: ${e instanceof Error?e.name:"unknown"}`]};}}]);},59679,22060,e=>{e.s(["f",0,function(e){return e.sizeBytes>5e5?"degraded":!function(e){let t=0;for(let n=0;n<e.length;n+=1)if(10===e.codePointAt(n)&&(t+=1)>=1e4)return!0;return!1;}(e.text)?"normal":"degraded";}],59679);let t={request:()=>"saving",succeeded:e=>"saving"===e?"saved":e,failed:e=>"saving"===e?"error":e,conflicted:e=>"saving"===e?"conflict":e,retry:e=>"error"===e||"conflict"===e?"saving":e,reloaded:e=>"conflict"===e?"idle":e,edited:e=>"saved"===e?"idle":e};e.s(["O",0,function(e,t,n,r){let i={relativePath:n,sizeBytes:new TextEncoder().encode(t).length,text:t,truncated:!1};return void 0===r?{identity:e,content:i}:{identity:e,expectedSavedVersion:r,content:i};},"S",0,function(e){return e.modelReadOnly||e.bufferReadOnly||!0===e.override||e.truncated||e.overLimit||e.notReady;},"d",0,function(e,t){return e.truncated||e.sizeBytes>t;},"T",0,function(e,n){return t[n.type](e);}],22060);},86405,e=>{function t(e,t){var _t$readOnly;return{identity:e,savedVersion:e.version,dirty:!1,readOnly:(_t$readOnly=t===null||t===void 0?void 0:t.readOnly)!==null&&_t$readOnly!==void 0?_t$readOnly:!1,lastChangeOrigin:null};}e.s(["V",0,t,"H",0,function(e,n){switch(n.type){case"edited":return{identity:{...e.identity,version:e.identity.version+1},savedVersion:e.savedVersion,dirty:!0,readOnly:e.readOnly,lastChangeOrigin:n.origin};case"saved":return{identity:e.identity,savedVersion:e.identity.version,dirty:!1,readOnly:e.readOnly,lastChangeOrigin:e.lastChangeOrigin};case"reloaded":return t(n.identity,{readOnly:e.readOnly});case"set-read-only":return{identity:e.identity,savedVersion:e.savedVersion,dirty:e.dirty,readOnly:n.readOnly,lastChangeOrigin:e.lastChangeOrigin};}},"J",0,function(e){return e.identity.version!==e.savedVersion;}]);},87240,e=>{var t=e.i(71645);function n(){if("u"<typeof document)return"dark";let e="light"===document.documentElement.dataset.theme?"light":"dark";return"function"==typeof window.matchMedia&&(window.matchMedia("(prefers-contrast: more)").matches||window.matchMedia("(forced-colors: active)").matches)&&"dark"===e?"high-contrast":e;}e.s(["I",0,n,"_",0,function(){let[e,r]=(0,t.useState)("dark");return(0,t.useEffect)(()=>{let e=()=>{r(n());};e();let t=new MutationObserver(e);t.observe(document.documentElement,{attributes:!0,attributeFilter:["data-theme"]});let i=window.matchMedia("(prefers-contrast: more)"),s=window.matchMedia("(forced-colors: active)");return i.addEventListener("change",e),s.addEventListener("change",e),()=>{t.disconnect(),i.removeEventListener("change",e),s.removeEventListener("change",e);};},[]),e;}]);},3415,e=>{let t="keiko:editor-buffer-reconciliation-request";async function n(e){let n=[];window.dispatchEvent(new CustomEvent(t,{detail:{root:e,register:e=>{n.push(e);}}})),await Promise.all(n);}e.s(["m",0,t,"n",0,function(e){if(!(e instanceof CustomEvent)||"object"!=typeof e.detail||null===e.detail)return null;let t=e.detail;return"string"==typeof t.root&&t.root.length>0&&"function"==typeof t.register?{root:t.root,register:t.register}:null;},"r",0,n]);},11257,e=>{var _s$default$cmpSelect;var t=e.i(43476),n=e.i(24541),r=e.i(60865),i=e.i(26222),s=e.i(98391);let a=(_s$default$cmpSelect=s.default["cmp-selectable-text-chrome"])!==null&&_s$default$cmpSelect!==void 0?_s$default$cmpSelect:"";function o({tokens:e}){let n=new Map();return(0,t.jsx)(t.Fragment,{children:e.map(e=>{var _n$get;let r=`${e[0]}:${e[1]}`,i=(_n$get=n.get(r))!==null&&_n$get!==void 0?_n$get:0;return n.set(r,i+1),(0,t.jsx)("span",{className:`hl-${e[0]}`,children:e[1]},`${r}:${String(i)}`);})});}function l({line:e,lang:n,kindLabel:r,labels:s}){var _s$addedLine,_s$deletedLine,_s$contextLine,_s$metadataLine,_e$oldLine,_e$newLine;var u,d;let c,f="add"===(u=e.kind)?"+":"del"===u?"−":"ctx"===u?"·":"",h="ctx"===e.kind?"":` rv-${e.kind}`;if("meta"!==e.kind&&"code"!==n){var _2;let r=(_2=(0,i.v)(e.text,(0,i.H)(n))[0])!==null&&_2!==void 0?_2:[];c=(0,t.jsx)(o,{tokens:r});}else c=e.text;return(0,t.jsxs)("div",{className:`rv-line${h}`,children:[(0,t.jsx)("span",{className:`rv-sr-only ${a}`,children:r!==null&&r!==void 0?r:(d=e.kind,"add"===d?(_s$addedLine=s===null||s===void 0?void 0:s.addedLine)!==null&&_s$addedLine!==void 0?_s$addedLine:"Added line":"del"===d?(_s$deletedLine=s===null||s===void 0?void 0:s.deletedLine)!==null&&_s$deletedLine!==void 0?_s$deletedLine:"Deleted line":"ctx"===d?(_s$contextLine=s===null||s===void 0?void 0:s.contextLine)!==null&&_s$contextLine!==void 0?_s$contextLine:"Context line":(_s$metadataLine=s===null||s===void 0?void 0:s.metadataLine)!==null&&_s$metadataLine!==void 0?_s$metadataLine:"Diff metadata")}),(0,t.jsx)("span",{className:`rv-num-old rv-num ${a}`,children:(_e$oldLine=e.oldLine)!==null&&_e$oldLine!==void 0?_e$oldLine:""}),(0,t.jsx)("span",{className:`rv-num-new rv-num ${a}`,children:(_e$newLine=e.newLine)!==null&&_e$newLine!==void 0?_e$newLine:""}),(0,t.jsx)("span",{className:`rv-gutter ${a}`,"aria-hidden":"true",children:f}),(0,t.jsx)("code",{className:"rv-src",children:c})]});}function u({hunk:e,lang:n,labels:i,viewLabels:s}){var _s$hunkHeader,_ref,_i$header,_s$hunkTruncated;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"rv-hunk mono","aria-label":`${(_s$hunkHeader=s===null||s===void 0?void 0:s.hunkHeader)!==null&&_s$hunkHeader!==void 0?_s$hunkHeader:"Hunk header"} ${e.header}`,children:[(0,t.jsx)("span",{className:`rv-sr-only ${a}`,children:(_ref=(_i$header=i===null||i===void 0?void 0:i.header)!==null&&_i$header!==void 0?_i$header:s===null||s===void 0?void 0:s.hunkHeader)!==null&&_ref!==void 0?_ref:"Hunk header"}),e.header]}),e.lines.map((e,r)=>{var _e$oldLine2,_e$newLine2;return(0,t.jsx)(l,{line:e,lang:n,kindLabel:i===null||i===void 0?void 0:i[e.kind],labels:s},`${String((_e$oldLine2=e.oldLine)!==null&&_e$oldLine2!==void 0?_e$oldLine2:"-")}:${String((_e$newLine2=e.newLine)!==null&&_e$newLine2!==void 0?_e$newLine2:"-")}:${e.kind}:${String(r)}`);}),e.truncated?(0,t.jsx)("output",{className:"rv-truncated",style:r.u,children:(_s$hunkTruncated=s===null||s===void 0?void 0:s.hunkTruncated)!==null&&_s$hunkTruncated!==void 0?_s$hunkTruncated:"This hunk is incomplete because the bounded diff was truncated."}):null]});}e.s(["b",0,function({file:e,index:i,changedFiles:a=[],sectionRef:o,translate:l,labels:d,idPrefix:c="rv-file"}){var _l,_e$path$split$pop,_d$previousPath,_d$elevatedReview,_d$binaryFile,_d$fileTruncated;let f=(_l=l===null||l===void 0?void 0:l("chat.repository.role.file"))!==null&&_l!==void 0?_l:"file",h=a.find(t=>t.path===e.path),m=e.path.includes(".")?(_e$path$split$pop=e.path.split(".").pop())!==null&&_e$path$split$pop!==void 0?_e$path$split$pop:"code":"code";return(0,t.jsxs)("section",{id:`${c}-${i}`,"aria-labelledby":`${c}-${i}-h`,ref:o,children:[(0,t.jsxs)("h3",{id:`${c}-${i}-h`,className:"rv-file mono",children:[(0,t.jsx)("span",{className:"rv-path",children:e.path}),void 0!==e.oldPath&&(0,t.jsx)("span",{className:"rv-oldpath",children:(_d$previousPath=d===null||d===void 0?void 0:d.previousPath(e.oldPath))!==null&&_d$previousPath!==void 0?_d$previousPath:` (was ${e.oldPath})`}),(0,t.jsxs)("span",{className:"rv-sr-only",children:[e.status," ",f]}),(0,t.jsx)("span",{className:"spacer"}),(0,t.jsxs)("span",{className:"rv-stat add",children:["+",e.addedLines]}),(0,t.jsxs)("span",{className:"rv-stat del",children:["−",e.removedLines]}),(h===null||h===void 0?void 0:h.elevatedReview)===!0&&(0,t.jsx)("span",{className:"rv-elevated","aria-label":(_d$elevatedReview=d===null||d===void 0?void 0:d.elevatedReview)!==null&&_d$elevatedReview!==void 0?_d$elevatedReview:"Elevated review",children:"!"})]}),(0,t.jsxs)("div",{className:`rv-code mono ${s.default["cmp-selectable-text"]}`,"data-text-selectable":"true",tabIndex:0,onFocusCapture:()=>(0,n.v)("[keiko] shared diff viewport focused"),children:[e.binary?(0,t.jsx)("p",{className:"rv-empty-p",children:(_d$binaryFile=d===null||d===void 0?void 0:d.binaryFile)!==null&&_d$binaryFile!==void 0?_d$binaryFile:"Binary file — no text diff to display."}):e.hunks.map(e=>(0,t.jsx)(u,{hunk:e,lang:m,viewLabels:d},e.header)),e.truncated&&!e.hunks.some(e=>e.truncated)?(0,t.jsx)("output",{className:"rv-truncated",style:r.u,children:(_d$fileTruncated=d===null||d===void 0?void 0:d.fileTruncated)!==null&&_d$fileTruncated!==void 0?_d$fileTruncated:"This file diff is incomplete because the bounded diff was truncated."}):null]})]});},"I",0,u]);},29673,e=>{e.s(["p",0,function(e){let t=atob(e),n=new ArrayBuffer(t.length),r=new Uint8Array(n);for(let e=0;e<t.length;e+=1)r[e]=t.codePointAt(e);return n;},"h",0,function(e){let t=new ArrayBuffer(e.byteLength);return new Uint8Array(t).set(e),t;}]);}],8913,e=>{e.v(t=>Promise.all(["static/chunks/2m6mk3n8m89m1.js"].map(t=>e.l(t))).then(()=>t(28167)));},77840,e=>{e.v(t=>Promise.all(["static/chunks/0s44xe0d3p8aq.js"].map(t=>e.l(t))).then(()=>t(34075)));},13722,e=>{e.v(t=>Promise.all(["static/chunks/0_5ojk3x0nmvf.js"].map(t=>e.l(t))).then(()=>t(66516)));},70403,e=>{e.v(t=>Promise.all(["static/chunks/3po45w-jh15zl.js"].map(t=>e.l(t))).then(()=>t(86874)));},67661,e=>{e.v(t=>Promise.all(["static/chunks/3v707fwyehnaz.js"].map(t=>e.l(t))).then(()=>t(35351)));},37002,e=>{e.v(t=>Promise.all(["static/chunks/1e9go819dwl2g.js"].map(t=>e.l(t))).then(()=>t(73273)));},66090,e=>{e.v(t=>Promise.all(["static/chunks/1lbyv-xdlpc1s.js"].map(t=>e.l(t))).then(()=>t(61443)));},46991,e=>{e.v(t=>Promise.all(["static/chunks/3yr-z6gpzz6nk.js"].map(t=>e.l(t))).then(()=>t(43773)));},4473,e=>{e.v(t=>Promise.all(["static/chunks/1zak9rzannwqm.js"].map(t=>e.l(t))).then(()=>t(81398)));},11472,e=>{e.v(t=>Promise.all(["static/chunks/3eh49k6u0wd-3.js"].map(t=>e.l(t))).then(()=>t(98264)));},75660,e=>{e.v(t=>Promise.all(["static/chunks/1s-f1o_ts7o4c.js"].map(t=>e.l(t))).then(()=>t(85988)));},75552,e=>{e.v(t=>Promise.all(["static/chunks/119nz-036coy-.js"].map(t=>e.l(t))).then(()=>t(68965)));},48645,e=>{e.v(t=>Promise.all(["static/chunks/0t9_8sma6j36t.js"].map(t=>e.l(t))).then(()=>t(35080)));},77821,e=>{e.v(t=>Promise.all(["static/chunks/185eyrqw4q4-b.js"].map(t=>e.l(t))).then(()=>t(42819)));},73546,e=>{e.v({badge:"aueRda_badge",editorSurface:"aueRda_editorSurface"});},81230,e=>{e.v(t=>Promise.all(["static/chunks/430ijjrt-9ura.js","static/chunks/3n16srxs2afdp.js"].map(t=>e.l(t))).then(()=>t(11139)));},56236,e=>{e.v(t=>Promise.all(["static/chunks/0nho0lkem__kd.css","static/chunks/32trz4urzn99o.js"].map(t=>e.l(t))).then(()=>t(23678)));},20383,e=>{e.v({close:"GDmB9W_close",editorSurface:"GDmB9W_editorSurface",header:"GDmB9W_header",notice:"GDmB9W_notice",peek:"GDmB9W_peek",title:"GDmB9W_title"});},87513,e=>{e.v({cmpDocumentActionPanel:"pUQf3G_cmpDocumentActionPanel",cmpDocumentActions:"pUQf3G_cmpDocumentActions",cmpPrimaryAction:"pUQf3G_cmpPrimaryAction",cmpTabClose:"pUQf3G_cmpTabClose",cmpToolbar:"pUQf3G_cmpToolbar",tabHitClosable:"pUQf3G_tabHitClosable",tabRow:"pUQf3G_tabRow",themeTokens:"pUQf3G_themeTokens"});},82464,e=>{e.v(t=>Promise.all(["static/chunks/3rg7mh8olm1dj.js"].map(t=>e.l(t))).then(()=>t(80862)));}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,88743,s=>{s.v(t=>Promise.all(["static/chunks/2dhtqq8a83t27.css","static/chunks/3q-4m6oubmqbe.js"].map(t=>s.l(t))).then(()=>t(57757)));},69453,s=>{s.v(t=>Promise.all(["static/chunks/16zc18ug4cko0.js","static/chunks/
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,88743,s=>{s.v(t=>Promise.all(["static/chunks/2dhtqq8a83t27.css","static/chunks/3q-4m6oubmqbe.js"].map(t=>s.l(t))).then(()=>t(57757)));},69453,s=>{s.v(t=>Promise.all(["static/chunks/16zc18ug4cko0.js","static/chunks/2vmw7uw9qfxtm.js","static/chunks/06hwq8_gunvuo.js","static/chunks/1nqe0rzxqwjkw.js","static/chunks/0vqzhbpt7iewb.css","static/chunks/272m__6w4ehe1.css"].map(t=>s.l(t))).then(()=>t(39848)));},73334,s=>{s.v(t=>Promise.all(["static/chunks/25mabvr2xs1ql.js"].map(t=>s.l(t))).then(()=>t(89750)));}]);
|