@pi-chamber/web 0.8.2 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/bin/cli.js +5 -2
  2. package/bin/cli.test.js +44 -0
  3. package/bin/lib/DOCUMENTATION.md +5 -5
  4. package/bin/lib/cli-args.js +19 -4
  5. package/bin/lib/commands-lifecycle.js +14 -0
  6. package/bin/lib/commands-logs.js +2 -1
  7. package/bin/lib/commands-serve.js +166 -2
  8. package/bin/lib/commands-tunnel.js +21 -0
  9. package/bin/lib/commands-update.js +97 -33
  10. package/bin/lib/commands-update.test.js +96 -1
  11. package/dist/assets/{DiagramEditor-DerMrS6m.js → DiagramEditor-CcbnMl1H.js} +1 -1
  12. package/dist/assets/{DiagramView-DdipXAq8.js → DiagramView-DTW5jwK3.js} +1 -1
  13. package/dist/assets/DiffView-CZyHHAOB.js +18 -0
  14. package/dist/assets/{FilesView-BXp0yc0j.js → FilesView-BJYLFR3H.js} +3 -3
  15. package/dist/assets/GitView-Cg_5UU7E.js +8 -0
  16. package/dist/assets/{JsonTreeView-CxXRXXzk.js → JsonTreeView-GTdKGEdy.js} +1 -1
  17. package/dist/assets/{MarkdownRendererImpl-DNZQgQua.js → MarkdownRendererImpl-WqBwxlso.js} +1 -1
  18. package/dist/assets/{PatchDiff-B_NFEIX7.js → PatchDiff-BRi23N1l.js} +1 -1
  19. package/dist/assets/{SessionSwitcherContent-Q4P2TGBr.js → SessionSwitcherContent-7VAU5pwZ.js} +1 -1
  20. package/dist/assets/{SessionSwitcherDropdown-Cgw2mQIO.js → SessionSwitcherDropdown-BslRtccE.js} +2 -2
  21. package/dist/assets/{SessionUnreadDot-BxtTkvHB.js → SessionUnreadDot-1nV0Z2ZA.js} +1 -1
  22. package/dist/assets/SettingsView-UIaAyjTo.js +2 -0
  23. package/dist/assets/{SettingsWindow-BEjHL1ET.js → SettingsWindow-D4jZHl8X.js} +1 -1
  24. package/dist/assets/{ToolOutputDialog-C_7vJLEq.js → ToolOutputDialog-BoeJONiR.js} +1 -1
  25. package/dist/assets/{ToolPartDiffPreview-ClV785zX.js → ToolPartDiffPreview-9FLv2fWD.js} +1 -1
  26. package/dist/assets/{VirtualizedFileDiff-DrxkW2WQ.js → VirtualizedFileDiff-ywmPBXAG.js} +4 -4
  27. package/dist/assets/{collapsible-CR3-hRMy.js → collapsible-6mCYf7Ky.js} +1 -1
  28. package/dist/assets/{computeVirtualFileMetrics-D0mQcleY.js → computeVirtualFileMetrics-3H6mg13G.js} +1 -1
  29. package/dist/assets/{contextFileOpenGuard-BRc5Z0g-.js → contextFileOpenGuard-CKyf-TZ7.js} +1 -1
  30. package/dist/assets/gitStatusPredicates-UsytDMy_.js +134 -0
  31. package/dist/assets/index-C8NYcA8-.css +1 -0
  32. package/dist/assets/{index-CMfiVUIr.js → index-D1IaU-Q7.js} +1 -1
  33. package/dist/assets/index-yWgKW2Fx.js +8 -0
  34. package/dist/assets/{isDiffPlainText-MmBA1REG.js → isDiffPlainText-DPCilEx_.js} +1 -1
  35. package/dist/assets/{isFilePlainText-bQAPxqO9.js → isFilePlainText-XdCAgm8R.js} +1 -1
  36. package/dist/assets/main-DcAMXRSi.js +135 -0
  37. package/dist/assets/{main-zZrKd3hZ.js → main-DhvLreEl.js} +2 -2
  38. package/dist/assets/{markdownCore-B9jXCPry.js → markdownCore-BF0Dqwm4.js} +1 -1
  39. package/dist/assets/{miniChat-Di2oVS5o.js → miniChat-DsCx0dsW.js} +2 -2
  40. package/dist/assets/{mobile-VU_G_SgX.js → mobile-C-IN49xX.js} +2 -2
  41. package/dist/assets/{renderElectronMiniChatApp-Bi1927c8.js → renderElectronMiniChatApp-C13HXGZL.js} +2 -2
  42. package/dist/assets/renderMobileApp-xCdVzvyf.js +11 -0
  43. package/dist/assets/runtimeEndpointReset-CT3WShpj.js +54 -0
  44. package/dist/assets/{runtimeSurface-CBaS2Ank.js → runtimeSurface-C_3mcJ01.js} +1 -1
  45. package/dist/assets/{useAppFontEffects-8ZU-TTIW.js → useAppFontEffects-BgK55NDM.js} +80 -80
  46. package/dist/assets/{useFilesViewSearch-COow9O9x.js → useFilesViewSearch-CWx24PZg.js} +1 -1
  47. package/dist/assets/{usePushVisibilityBeacon-zYd3ppNh.js → usePushVisibilityBeacon-swMQLm-i.js} +1 -1
  48. package/dist/assets/{useSwitcherItems-DOQqhi-e.js → useSwitcherItems-CrS-F6DY.js} +1 -1
  49. package/dist/assets/{vendor-codemirror-language-data-B_0wrsbo.js → vendor-codemirror-language-data-BzeePAPn.js} +2 -2
  50. package/dist/assets/{vendor-dnd-kit-core-CP8ck10N.js → vendor-dnd-kit-core-C9qcAm_1.js} +1 -1
  51. package/dist/assets/{vendor-dnd-kit-sortable-B-Icjoj4.js → vendor-dnd-kit-sortable-D8ozj8M-.js} +1 -1
  52. package/dist/assets/vendor-xterm-addon-fit-DX4qG4td.js +1 -0
  53. package/dist/assets/vendor-xterm-xterm-CrXqRur4.js +16 -0
  54. package/dist/assets/vendor-xterm-xterm-DDGTF8rc.css +1 -0
  55. package/dist/assets/{web-components-C9ENH49P.js → web-components-DAkBDXRk.js} +3 -3
  56. package/dist/index.html +4 -4
  57. package/dist/mini-chat.html +3 -3
  58. package/dist/mobile.html +3 -3
  59. package/package.json +1 -2
  60. package/server/lib/stt/DOCUMENTATION.md +1 -1
  61. package/server/lib/terminal/DOCUMENTATION.md +2 -2
  62. package/dist/assets/DiffView-Gh9wjthp.js +0 -18
  63. package/dist/assets/GitView-BmNCkkoC.js +0 -8
  64. package/dist/assets/SettingsView-CFzxRzUq.js +0 -2
  65. package/dist/assets/gitStatusPredicates-DBGDfr1K.js +0 -134
  66. package/dist/assets/index-CzO3ooje.css +0 -1
  67. package/dist/assets/index-ivrh3jfy.js +0 -8
  68. package/dist/assets/main-BoVfUG73.js +0 -135
  69. package/dist/assets/renderMobileApp-D9mxhuaM.js +0 -11
  70. package/dist/assets/runtimeEndpointReset-DImT35Ug.js +0 -54
  71. package/dist/assets/vendor-ghostty-web-CrxinGGH.js +0 -13
@@ -1,4 +1,4 @@
1
- import{R as c}from"./vendor-react-B5Z1Mdn3.js";import{t as m,s as P}from"./useAppFontEffects-8ZU-TTIW.js";import{d as W}from"./index-ivrh3jfy.js";const M=e=>{const t=u(e);if(!t)return"";if(t==="/"||/^[A-Za-z]:\/$/.test(t))return t;const s=t.lastIndexOf("/");if(s<0)return t;if(s===0)return"/";const n=t.slice(0,s);return/^[A-Za-z]:$/.test(n)?`${n}/`:n},N=e=>e.slice().sort((t,s)=>t.type!==s.type?t.type==="directory"?-1:1:t.name.localeCompare(s.name)),u=e=>{if(!e)return"";const t=e.replace(/\\/g,"/"),s=t.startsWith("//");let n=t.replace(/\/+/g,"/");s&&!n.startsWith("//")&&(n=`/${n}`);const i=n==="/",a=/^[A-Za-z]:\/$/.test(n);return!i&&!a&&(n=n.replace(/\/+$/,"")),n},V=e=>e.startsWith("/")||e.startsWith("//")||/^[A-Za-z]:\//.test(e),S=e=>/^[A-Za-z]:\//.test(e)?e.toLowerCase():e,b=(e,t)=>{const s=u(t),n=u(e);if(!s||!n)return!1;const i=S(s),a=S(n);return a===i||a.startsWith(`${i}/`)},Z=(e,t)=>{const s=u(t),n=u(e);if(!b(n,s))return[];const a=n.slice(s.length).replace(/^\//,"").split("/"),g=[];let r=s;for(let l=0;l<a.length-1;l++)r=r?`${r}/${a[l]}`:a[l],g.push(r);return g},q=(e,t)=>{if(!t)return"";const s=u(t);if(!e||!b(s,e))return s;const n=s.slice(e.length);return n.startsWith("/")?n.slice(1):n},D=new Set(["node_modules"]),B=e=>D.has(e),L=e=>{const t=u(e);return t==="node_modules"||t.endsWith("/node_modules")||t.includes("/node_modules/")},O=e=>{const s=(e instanceof Error?e.message:String(e??"")).toLowerCase();return s.includes("is a directory")||s.includes("eisdir")},U=e=>{const s=(e instanceof Error?e.message:String(e??"")).toLowerCase();return s.includes("file not found")||s.includes("enoent")||s.includes("no such file")||s.includes("does not exist")},v=2e5,H=e=>{let t=0,s=0;for(let n=0;n<e.length;n+=1)e.charCodeAt(n)===10&&(n>0&&e.charCodeAt(n-1)===13?t+=1:s+=1);return t>s?`\r
1
+ import{R as c}from"./vendor-react-B5Z1Mdn3.js";import{t as m,s as P}from"./useAppFontEffects-BgK55NDM.js";import{d as W}from"./index-yWgKW2Fx.js";const M=e=>{const t=u(e);if(!t)return"";if(t==="/"||/^[A-Za-z]:\/$/.test(t))return t;const s=t.lastIndexOf("/");if(s<0)return t;if(s===0)return"/";const n=t.slice(0,s);return/^[A-Za-z]:$/.test(n)?`${n}/`:n},N=e=>e.slice().sort((t,s)=>t.type!==s.type?t.type==="directory"?-1:1:t.name.localeCompare(s.name)),u=e=>{if(!e)return"";const t=e.replace(/\\/g,"/"),s=t.startsWith("//");let n=t.replace(/\/+/g,"/");s&&!n.startsWith("//")&&(n=`/${n}`);const i=n==="/",a=/^[A-Za-z]:\/$/.test(n);return!i&&!a&&(n=n.replace(/\/+$/,"")),n},V=e=>e.startsWith("/")||e.startsWith("//")||/^[A-Za-z]:\//.test(e),S=e=>/^[A-Za-z]:\//.test(e)?e.toLowerCase():e,b=(e,t)=>{const s=u(t),n=u(e);if(!s||!n)return!1;const i=S(s),a=S(n);return a===i||a.startsWith(`${i}/`)},Z=(e,t)=>{const s=u(t),n=u(e);if(!b(n,s))return[];const a=n.slice(s.length).replace(/^\//,"").split("/"),g=[];let r=s;for(let l=0;l<a.length-1;l++)r=r?`${r}/${a[l]}`:a[l],g.push(r);return g},q=(e,t)=>{if(!t)return"";const s=u(t);if(!e||!b(s,e))return s;const n=s.slice(e.length);return n.startsWith("/")?n.slice(1):n},D=new Set(["node_modules"]),B=e=>D.has(e),L=e=>{const t=u(e);return t==="node_modules"||t.endsWith("/node_modules")||t.includes("/node_modules/")},O=e=>{const s=(e instanceof Error?e.message:String(e??"")).toLowerCase();return s.includes("is a directory")||s.includes("eisdir")},U=e=>{const s=(e instanceof Error?e.message:String(e??"")).toLowerCase();return s.includes("file not found")||s.includes("enoent")||s.includes("no such file")||s.includes("does not exist")},v=2e5,H=e=>{let t=0,s=0;for(let n=0;n<e.length;n+=1)e.charCodeAt(n)===10&&(n>0&&e.charCodeAt(n-1)===13?t+=1:s+=1);return t>s?`\r
2
2
  `:`
3
3
  `},_=e=>e.replace(/\r\n/g,`
4
4
  `).replace(/\r/g,`
@@ -1,5 +1,5 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/vendor-capacitor-app-BrDJj9I_.js","assets/vendor-vite-runtime-DD1OZmLC.js","assets/vendor-capacitor-core-B4EWRrHz.js"])))=>i.map(i=>d[i]);
2
- import{k as D,ad as R,ae as N,af as q,ag as Z,ah as X,ai as ee,aj as te,Z as G,c as se,ak as oe,al as v,am as ne}from"./useAppFontEffects-8ZU-TTIW.js";import{t as ie,f as C,v as re,w as O,p as P,x as ae,r as le,u as a,y as Y,z as ce,S as de,A as Q,i as _,B as ge}from"./index-ivrh3jfy.js";import{_ as ue}from"./vendor-vite-runtime-DD1OZmLC.js";import{R as me}from"./vendor-react-B5Z1Mdn3.js";const fe=[];function j(){return[...fe].reverse()}const pe={getLastAssistantMessage(){if(!D.getState().currentSessionId)return console.log("[ERROR] No active session"),null;const e=v();if(!e||e.length===0)return console.log("[ERROR] No messages in current session"),null;for(let o=e.length-1;o>=0;o--){const n=e[o];if(n.role==="assistant"){const d=(R(n.id)||[]).map(c=>{const m={id:c.id,type:c.type};return c.type==="text"?(m.text=c.text,m.textLength=c.text?.length||0):c.type==="tool"?(m.tool=c.tool,m.state=c.state?.status):(c.type==="step-start"||c.type==="step-finish")&&(m.isStepMarker=!0),m}),u=d.some(c=>c.type==="text"&&c.text&&c.text.trim().length>0),i=d.some(c=>c.type==="tool"),r=d.some(c=>c.type==="step-start"||c.type==="step-finish"),f=d.length===0,y=!u&&!i&&(!f||r),l={messageId:n.id,role:n.role,timestamp:n.time?.created||0,partsCount:d.length,parts:d,isEmpty:f,isEmptyResponse:y,raw:n};return console.log("[INSPECT] Last Assistant Message:",l),console.log("[SUMMARY] Summary:",{messageId:l.messageId,partsCount:l.partsCount,isEmpty:l.isEmpty,isEmptyResponse:l.isEmptyResponse,hasText:u,hasTools:i,hasStepMarkers:r,onlyStepMarkers:r&&!u&&!i}),l.isEmpty&&console.warn("[WARNING] Message has NO parts!"),l.isEmptyResponse&&(console.warn("[WARNING] Message has parts but NO meaningful content (empty text, no tools)!"),r&&!u&&!i&&(console.warn("[CRITICAL] CLAUDE EMPTY RESPONSE BUG: Only step-start/step-finish markers, no actual content!"),console.log("This is a known issue with Claude models (anthropic provider)"),console.log("Recommendation: Send a follow-up message or try a different model"))),l}}return console.log("[ERROR] No assistant messages found in current session"),null},truncateString(t,s=80){return!t||typeof t!="string"||t.length<=s?t:t.substring(0,s)+"…"},truncateMessages(t){return t.map(s=>({...s,parts:(R(s.id)||[]).map(e=>{const o={...e};return"text"in e&&(o.text=this.truncateString(e.text)),"textPreview"in e&&(o.textPreview=this.truncateString(e.textPreview)),e.state&&(o.state={...e.state},"output"in e.state&&(o.state.output=this.truncateString(e.state.output)),"error"in e.state&&(o.state.error=this.truncateString(e.state.error)),e.state.metadata&&"preview"in e.state.metadata&&(o.state.metadata={...e.state.metadata,preview:this.truncateString(e.state.metadata.preview)})),o})}))},getAllMessages(t=!1){if(!D.getState().currentSessionId)return console.log("[ERROR] No active session"),[];const o=v();return console.log(`[MESSAGES] Total messages in session: ${o.length}`),o.forEach((n,p)=>{const d=R(n.id)||[];console.log(`[${p}] ${n.role} - ${n.id} - ${d.length} parts`)}),t?this.truncateMessages(o):o},async getAppStatus(){const t=C.getState(),s=D.getState(),e=se.getState(),o=t.currentDirectory||null,n=G().getState(),p=n.directory??null,d=oe(),u=new Set,i={};d.forEach(g=>{const h=g.directory;typeof h=="string"&&h.trim().length>0?(u.add(h),i[h]=(i[h]??0)+1):i["(none)"]=(i["(none)"]??0)+1});const r=(()=>{if(typeof window>"u")return{available:!1};try{return{available:!0,lastDirectory:window.localStorage.getItem("lastDirectory"),homeDirectory:window.localStorage.getItem("homeDirectory")}}catch(g){return{available:!1,error:g instanceof Error?g.message:String(g)}}})(),f=P(),y=typeof window<"u"&&!!window.__PICHAMBER_ELECTRON__,l=async g=>{try{return await g.json()}catch{return null}},m=await(async g=>{try{const h=await le(g);return h.ok?await l(h):{status:h.status}}catch(h){return{error:h instanceof Error?h.message:String(h)}}})("/api/pi/ui-settings");let b=null;try{b=await re.health({runtimeKey:O()})}catch(g){b={error:g instanceof Error?g.message:String(g)}}let E={isGitRepo:null};if(o)try{const g=P()?.git.checkIsGitRepository??ae;E.isGitRepo=await g(o)}catch(g){E={isGitRepo:null,error:g instanceof Error?g.message:String(g)}}const M=e.projects.map(g=>({id:g.id,path:g.path,label:g.label})),w={runtime:{platform:f?.runtime?.platform??null,isDesktop:y,hasRuntimeApis:!!f,desktopServerOrigin:null},location:typeof window<"u"?{href:window.location?.href??null,origin:window.location?.origin??null}:null,directories:{currentDirectory:o,piDirectory:p,homeDirectory:t.homeDirectory||null,isHomeReady:t.isHomeReady,hasPersistedDirectory:t.hasPersistedDirectory,isSwitchingDirectory:t.isSwitchingDirectory},projects:{total:e.projects.length,activeProjectId:e.activeProjectId,samples:M},sessions:{total:d.length,currentSessionId:s.currentSessionId,lastLoadedDirectory:s.lastLoadedDirectory,uniqueDirectories:u.size,directorySamples:Array.from(u).slice(0,5),directoryCounts:i},git:E,localStorage:r,pi:{health:b,connection:n.connection},pichamber:{settingsInfo:m},recentSendFailures:j(),currentSessionDirectoryResolution:s.currentSessionId?this.diagnoseSessionDirectory(s.currentSessionId):null};return console.log("[DEBUG] App status snapshot:",w),w},getRecentSendFailures(){const t=j();return t.length===0?console.log("[OK] No prompt sends were rejected in this session."):(console.warn(`[ALERT] ${t.length} rejected prompt send(s):`),console.table(t)),t},diagnoseSessionDirectory(t){const s=D.getState(),e=t??s.currentSessionId;if(!e)return console.log("[ERROR] No session selected and no session id passed"),null;const o=Z(e),n=X().find(m=>m.id===e),p=n?.directory??null,d=e===s.currentSessionId?s.currentSessionDirectory:null,i=ee({session:n??null,currentDirectory:d}),r=s.getDirectoryForSession(e),f=te(e),y=[["owning child store",o],["session record",p],["current selection",d],["runtime memory",f.runtime],["persisted memory",f.persisted]],l=r?y.find(([,m])=>m&&m!==r):void 0,c={sessionId:e,isCurrentSession:e===s.currentSessionId,routedDirectory:r,resolvedFrom:i.source,conflict:l?{source:l[0],directory:l[1]}:null,sources:ne(),details:{owningChildStore:o,sessionRecordDirectory:p,sessionIndexed:!!n,currentSessionDirectory:s.currentSessionDirectory,rememberedForRuntime:f.runtime,persistedAcrossRestarts:f.persisted,activeDirectory:C.getState().currentDirectory??null,piSessionDirectory:G().getState().directory??null}};return console.log("[DEBUG] Session directory resolution:",c),l?console.warn(`[ALERT] Directory sources disagree: routing to "${r}" while "${l[1]}" came from ${l[0]}.`):r?console.log("[OK] All known sources agree on the session directory."):console.warn("[ALERT] No directory resolved for this session — sends fall back to the active directory."),c},async buildDiagnosticsReport(){const t=await this.getAppStatus();return JSON.stringify(t,null,2)},async copyTextToClipboard(t){return q(t)},async copyDiagnosticsReport(){const t=await this.buildDiagnosticsReport();return{...await this.copyTextToClipboard(t),report:t}},checkLastMessage(){const t=this.getLastAssistantMessage();if(!t)return!1;const s=t.isEmpty||t.isEmptyResponse;return s?(console.error("[ALERT] PROBLEMATIC MESSAGE DETECTED!"),console.log("Details:",{messageId:t.messageId,isEmpty:t.isEmpty,isEmptyResponse:t.isEmptyResponse,partsCount:t.partsCount}),t.parts.length>0&&console.log("Parts:",t.parts)):console.log("[OK] Last message looks good!"),s},getStreamingState(){const t=D.getState(),s=N.getState(),e=t.currentSessionId?s.streamingMessageIds.get(t.currentSessionId)??null:null;return console.log("[STREAM] Streaming State:",{streamingMessageId:e,streamingMessageIds:Array.from(s.streamingMessageIds.entries()),messageStreamStates:Array.from(s.messageStreamStates.entries())}),{streamingMessageId:e,streamingMessageIds:s.streamingMessageIds,streamStates:s.messageStreamStates}},findEmptyMessages(){if(!D.getState().currentSessionId)return console.log("[ERROR] No active session"),[];const o=v().filter(n=>n.role==="assistant").filter(n=>{const p=R(n.id)||[],d=p.some(i=>i.type==="text"&&i.text&&i.text.trim().length>0),u=p.some(i=>i.type==="tool");return p.length===0||!d&&!u});return console.log(`[INSPECT] Found ${o.length} empty assistant messages`),o.forEach((n,p)=>{const d=R(n.id)||[];console.log(`[${p}] Empty message:`,{messageId:n.id,partsCount:d.length,provider:n.providerID,model:n.modelID,timestamp:n.time?.created})}),o},showRetryHelp(){console.log(`[DEBUG] How to handle empty Claude responses:
2
+ import{k as D,ad as R,ae as N,af as q,ag as Z,ah as X,ai as ee,aj as te,Z as G,c as se,ak as oe,al as v,am as ne}from"./useAppFontEffects-BgK55NDM.js";import{t as ie,f as C,v as re,w as O,p as P,x as ae,r as le,u as a,y as Y,z as ce,S as de,A as Q,i as _,B as ge}from"./index-yWgKW2Fx.js";import{_ as ue}from"./vendor-vite-runtime-DD1OZmLC.js";import{R as me}from"./vendor-react-B5Z1Mdn3.js";const fe=[];function j(){return[...fe].reverse()}const pe={getLastAssistantMessage(){if(!D.getState().currentSessionId)return console.log("[ERROR] No active session"),null;const e=v();if(!e||e.length===0)return console.log("[ERROR] No messages in current session"),null;for(let o=e.length-1;o>=0;o--){const n=e[o];if(n.role==="assistant"){const d=(R(n.id)||[]).map(c=>{const m={id:c.id,type:c.type};return c.type==="text"?(m.text=c.text,m.textLength=c.text?.length||0):c.type==="tool"?(m.tool=c.tool,m.state=c.state?.status):(c.type==="step-start"||c.type==="step-finish")&&(m.isStepMarker=!0),m}),u=d.some(c=>c.type==="text"&&c.text&&c.text.trim().length>0),i=d.some(c=>c.type==="tool"),r=d.some(c=>c.type==="step-start"||c.type==="step-finish"),f=d.length===0,y=!u&&!i&&(!f||r),l={messageId:n.id,role:n.role,timestamp:n.time?.created||0,partsCount:d.length,parts:d,isEmpty:f,isEmptyResponse:y,raw:n};return console.log("[INSPECT] Last Assistant Message:",l),console.log("[SUMMARY] Summary:",{messageId:l.messageId,partsCount:l.partsCount,isEmpty:l.isEmpty,isEmptyResponse:l.isEmptyResponse,hasText:u,hasTools:i,hasStepMarkers:r,onlyStepMarkers:r&&!u&&!i}),l.isEmpty&&console.warn("[WARNING] Message has NO parts!"),l.isEmptyResponse&&(console.warn("[WARNING] Message has parts but NO meaningful content (empty text, no tools)!"),r&&!u&&!i&&(console.warn("[CRITICAL] CLAUDE EMPTY RESPONSE BUG: Only step-start/step-finish markers, no actual content!"),console.log("This is a known issue with Claude models (anthropic provider)"),console.log("Recommendation: Send a follow-up message or try a different model"))),l}}return console.log("[ERROR] No assistant messages found in current session"),null},truncateString(t,s=80){return!t||typeof t!="string"||t.length<=s?t:t.substring(0,s)+"…"},truncateMessages(t){return t.map(s=>({...s,parts:(R(s.id)||[]).map(e=>{const o={...e};return"text"in e&&(o.text=this.truncateString(e.text)),"textPreview"in e&&(o.textPreview=this.truncateString(e.textPreview)),e.state&&(o.state={...e.state},"output"in e.state&&(o.state.output=this.truncateString(e.state.output)),"error"in e.state&&(o.state.error=this.truncateString(e.state.error)),e.state.metadata&&"preview"in e.state.metadata&&(o.state.metadata={...e.state.metadata,preview:this.truncateString(e.state.metadata.preview)})),o})}))},getAllMessages(t=!1){if(!D.getState().currentSessionId)return console.log("[ERROR] No active session"),[];const o=v();return console.log(`[MESSAGES] Total messages in session: ${o.length}`),o.forEach((n,p)=>{const d=R(n.id)||[];console.log(`[${p}] ${n.role} - ${n.id} - ${d.length} parts`)}),t?this.truncateMessages(o):o},async getAppStatus(){const t=C.getState(),s=D.getState(),e=se.getState(),o=t.currentDirectory||null,n=G().getState(),p=n.directory??null,d=oe(),u=new Set,i={};d.forEach(g=>{const h=g.directory;typeof h=="string"&&h.trim().length>0?(u.add(h),i[h]=(i[h]??0)+1):i["(none)"]=(i["(none)"]??0)+1});const r=(()=>{if(typeof window>"u")return{available:!1};try{return{available:!0,lastDirectory:window.localStorage.getItem("lastDirectory"),homeDirectory:window.localStorage.getItem("homeDirectory")}}catch(g){return{available:!1,error:g instanceof Error?g.message:String(g)}}})(),f=P(),y=typeof window<"u"&&!!window.__PICHAMBER_ELECTRON__,l=async g=>{try{return await g.json()}catch{return null}},m=await(async g=>{try{const h=await le(g);return h.ok?await l(h):{status:h.status}}catch(h){return{error:h instanceof Error?h.message:String(h)}}})("/api/pi/ui-settings");let b=null;try{b=await re.health({runtimeKey:O()})}catch(g){b={error:g instanceof Error?g.message:String(g)}}let E={isGitRepo:null};if(o)try{const g=P()?.git.checkIsGitRepository??ae;E.isGitRepo=await g(o)}catch(g){E={isGitRepo:null,error:g instanceof Error?g.message:String(g)}}const M=e.projects.map(g=>({id:g.id,path:g.path,label:g.label})),w={runtime:{platform:f?.runtime?.platform??null,isDesktop:y,hasRuntimeApis:!!f,desktopServerOrigin:null},location:typeof window<"u"?{href:window.location?.href??null,origin:window.location?.origin??null}:null,directories:{currentDirectory:o,piDirectory:p,homeDirectory:t.homeDirectory||null,isHomeReady:t.isHomeReady,hasPersistedDirectory:t.hasPersistedDirectory,isSwitchingDirectory:t.isSwitchingDirectory},projects:{total:e.projects.length,activeProjectId:e.activeProjectId,samples:M},sessions:{total:d.length,currentSessionId:s.currentSessionId,lastLoadedDirectory:s.lastLoadedDirectory,uniqueDirectories:u.size,directorySamples:Array.from(u).slice(0,5),directoryCounts:i},git:E,localStorage:r,pi:{health:b,connection:n.connection},pichamber:{settingsInfo:m},recentSendFailures:j(),currentSessionDirectoryResolution:s.currentSessionId?this.diagnoseSessionDirectory(s.currentSessionId):null};return console.log("[DEBUG] App status snapshot:",w),w},getRecentSendFailures(){const t=j();return t.length===0?console.log("[OK] No prompt sends were rejected in this session."):(console.warn(`[ALERT] ${t.length} rejected prompt send(s):`),console.table(t)),t},diagnoseSessionDirectory(t){const s=D.getState(),e=t??s.currentSessionId;if(!e)return console.log("[ERROR] No session selected and no session id passed"),null;const o=Z(e),n=X().find(m=>m.id===e),p=n?.directory??null,d=e===s.currentSessionId?s.currentSessionDirectory:null,i=ee({session:n??null,currentDirectory:d}),r=s.getDirectoryForSession(e),f=te(e),y=[["owning child store",o],["session record",p],["current selection",d],["runtime memory",f.runtime],["persisted memory",f.persisted]],l=r?y.find(([,m])=>m&&m!==r):void 0,c={sessionId:e,isCurrentSession:e===s.currentSessionId,routedDirectory:r,resolvedFrom:i.source,conflict:l?{source:l[0],directory:l[1]}:null,sources:ne(),details:{owningChildStore:o,sessionRecordDirectory:p,sessionIndexed:!!n,currentSessionDirectory:s.currentSessionDirectory,rememberedForRuntime:f.runtime,persistedAcrossRestarts:f.persisted,activeDirectory:C.getState().currentDirectory??null,piSessionDirectory:G().getState().directory??null}};return console.log("[DEBUG] Session directory resolution:",c),l?console.warn(`[ALERT] Directory sources disagree: routing to "${r}" while "${l[1]}" came from ${l[0]}.`):r?console.log("[OK] All known sources agree on the session directory."):console.warn("[ALERT] No directory resolved for this session — sends fall back to the active directory."),c},async buildDiagnosticsReport(){const t=await this.getAppStatus();return JSON.stringify(t,null,2)},async copyTextToClipboard(t){return q(t)},async copyDiagnosticsReport(){const t=await this.buildDiagnosticsReport();return{...await this.copyTextToClipboard(t),report:t}},checkLastMessage(){const t=this.getLastAssistantMessage();if(!t)return!1;const s=t.isEmpty||t.isEmptyResponse;return s?(console.error("[ALERT] PROBLEMATIC MESSAGE DETECTED!"),console.log("Details:",{messageId:t.messageId,isEmpty:t.isEmpty,isEmptyResponse:t.isEmptyResponse,partsCount:t.partsCount}),t.parts.length>0&&console.log("Parts:",t.parts)):console.log("[OK] Last message looks good!"),s},getStreamingState(){const t=D.getState(),s=N.getState(),e=t.currentSessionId?s.streamingMessageIds.get(t.currentSessionId)??null:null;return console.log("[STREAM] Streaming State:",{streamingMessageId:e,streamingMessageIds:Array.from(s.streamingMessageIds.entries()),messageStreamStates:Array.from(s.messageStreamStates.entries())}),{streamingMessageId:e,streamingMessageIds:s.streamingMessageIds,streamStates:s.messageStreamStates}},findEmptyMessages(){if(!D.getState().currentSessionId)return console.log("[ERROR] No active session"),[];const o=v().filter(n=>n.role==="assistant").filter(n=>{const p=R(n.id)||[],d=p.some(i=>i.type==="text"&&i.text&&i.text.trim().length>0),u=p.some(i=>i.type==="tool");return p.length===0||!d&&!u});return console.log(`[INSPECT] Found ${o.length} empty assistant messages`),o.forEach((n,p)=>{const d=R(n.id)||[];console.log(`[${p}] Empty message:`,{messageId:n.id,partsCount:d.length,provider:n.providerID,model:n.modelID,timestamp:n.time?.created})}),o},showRetryHelp(){console.log(`[DEBUG] How to handle empty Claude responses:
3
3
  `),console.log("1. Check the last message:"),console.log(` __piDebug.getLastAssistantMessage()
4
4
  `),console.log("2. Find all empty messages in session:"),console.log(` __piDebug.findEmptyMessages()
5
5
  `),console.log("3. To retry, you can:"),console.log(" - Edit your last user message and resend"),console.log(' - Send a follow-up message like "Please provide the response"'),console.log(` - Try a different model (OpenAI models tend to be more reliable)
@@ -1 +1 @@
1
- import{R as f}from"./vendor-react-B5Z1Mdn3.js";import{u as B,c as v,d as z,e as D,f as L,g as I,r as j}from"./useAppFontEffects-8ZU-TTIW.js";const M=50,p=n=>{if(!n)return null;const s=n.replace(/\\/g,"/");return s==="/"?"/":s.replace(/\/+$/,"")},k=(n,s)=>{const c=p(n),a=p(s);return!c||!a?!1:c===a||c.startsWith(`${a}/`)},O=n=>{if(!n)return null;const s=n.label?.trim();return s||(n.path.split(/[\\/]/).filter(Boolean).at(-1)??n.path)},w=(n,s={})=>{const{scopeProjectId:c=null,maxParents:a=M}=s,l=B({archived:!1}),P=v(t=>t.projects),u=z(t=>t.ids),d=D(t=>t.rankById),S=L(),b=f.useMemo(()=>P.map(t=>({...t,normalizedPath:p(t.path)})).filter(t=>t.normalizedPath),[P]),h=f.useCallback(t=>t?b.filter(i=>k(t,i.normalizedPath)).sort((i,e)=>(e.normalizedPath?.length??0)-(i.normalizedPath?.length??0))[0]??null:null,[b]);return f.useMemo(()=>{if(!n)return[];const t=new Map;for(const e of l){const r=e.parentID;if(!r||e.time?.archived)continue;const o=t.get(r);o?o.push(e):t.set(r,[e])}t.forEach(e=>{e.sort((r,o)=>I(r,o,u,d))});const y=l.filter(e=>!e.time?.archived).filter(e=>!e.parentID).filter(e=>{if(!c)return!0;const r=j(e);return h(r)?.id===c}).sort((e,r)=>I(e,r,u,d)).slice(0,a),i=e=>{const r=t.get(e.id)??[];return{session:e,children:r.map(o=>i(o))}};return y.map(e=>{const r=j(e),o=h(r),g=O(o),m=(r?S.get(r):void 0)??null;return{node:i(e),projectId:o?.id??null,groupDirectory:r,secondaryMeta:{projectLabel:g,branchLabel:m&&m!==g?m:null}}})},[l,S,n,h,a,u,c,d])};export{w as u};
1
+ import{R as f}from"./vendor-react-B5Z1Mdn3.js";import{u as B,c as v,d as z,e as D,f as L,g as I,r as j}from"./useAppFontEffects-BgK55NDM.js";const M=50,p=n=>{if(!n)return null;const s=n.replace(/\\/g,"/");return s==="/"?"/":s.replace(/\/+$/,"")},k=(n,s)=>{const c=p(n),a=p(s);return!c||!a?!1:c===a||c.startsWith(`${a}/`)},O=n=>{if(!n)return null;const s=n.label?.trim();return s||(n.path.split(/[\\/]/).filter(Boolean).at(-1)??n.path)},w=(n,s={})=>{const{scopeProjectId:c=null,maxParents:a=M}=s,l=B({archived:!1}),P=v(t=>t.projects),u=z(t=>t.ids),d=D(t=>t.rankById),S=L(),b=f.useMemo(()=>P.map(t=>({...t,normalizedPath:p(t.path)})).filter(t=>t.normalizedPath),[P]),h=f.useCallback(t=>t?b.filter(i=>k(t,i.normalizedPath)).sort((i,e)=>(e.normalizedPath?.length??0)-(i.normalizedPath?.length??0))[0]??null:null,[b]);return f.useMemo(()=>{if(!n)return[];const t=new Map;for(const e of l){const r=e.parentID;if(!r||e.time?.archived)continue;const o=t.get(r);o?o.push(e):t.set(r,[e])}t.forEach(e=>{e.sort((r,o)=>I(r,o,u,d))});const y=l.filter(e=>!e.time?.archived).filter(e=>!e.parentID).filter(e=>{if(!c)return!0;const r=j(e);return h(r)?.id===c}).sort((e,r)=>I(e,r,u,d)).slice(0,a),i=e=>{const r=t.get(e.id)??[];return{session:e,children:r.map(o=>i(o))}};return y.map(e=>{const r=j(e),o=h(r),g=O(o),m=(r?S.get(r):void 0)??null;return{node:i(e),projectId:o?.id??null,groupDirectory:r,secondaryMeta:{projectLabel:g,branchLabel:m&&m!==g?m:null}}})},[l,S,n,h,a,u,c,d])};export{w as u};
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/vendor-codemirror-lang-sql-HpQWHJjv.js","assets/vendor-codemirror-language-BByA_dGF.js","assets/vendor-lezer-common-B3-cUCR_.js","assets/vendor-codemirror-state-CNWM3Q8V.js","assets/vendor-marijn-find-cluster-break-DXwl3gUT.js","assets/vendor-codemirror-view-Ct4T37Ue.js","assets/vendor-style-mod-NZ5MEPvj.js","assets/vendor-w3c-keyname-Vcq4gwWv.js","assets/vendor-crelt-C8TCjufn.js","assets/vendor-lezer-highlight-CDMHUZ74.js","assets/vendor-lezer-lr-bhwg1HMg.js","assets/vendor-codemirror-autocomplete-wd6iRebq.js","assets/vendor-codemirror-lang-cpp-CmIT9Z5_.js","assets/vendor-lezer-cpp-BleAU9o-.js","assets/vendor-codemirror-lang-css-djiuoTi8.js","assets/vendor-lezer-css-C5xB6jxd.js","assets/vendor-codemirror-lang-go-COZSwZYW.js","assets/vendor-lezer-go-CXK1UKk8.js","assets/vendor-codemirror-lang-html-CKHqhW5R.js","assets/vendor-lezer-html-C0I1p52t.js","assets/vendor-codemirror-lang-javascript-DuOEwJ3f.js","assets/vendor-lezer-javascript-D7Tj24ot.js","assets/vendor-codemirror-lang-java-CNMP5hyC.js","assets/vendor-lezer-java-D_zzj-NV.js","assets/vendor-codemirror-lang-jinja-DaKn_b1k.js","assets/vendor-codemirror-lang-json-CZ07HmNC.js","assets/vendor-lezer-json-Iaex0UN-.js","assets/vendor-codemirror-lang-less-wJdQiDBf.js","assets/vendor-codemirror-lang-liquid-0z48Roi8.js","assets/vendor-codemirror-lang-markdown-DtcZDGqe.js","assets/vendor-lezer-markdown-C6g-d6P3.js","assets/vendor-codemirror-lang-php-W8plS-JQ.js","assets/vendor-lezer-php-_DHrbsZG.js","assets/vendor-codemirror-lang-python-DzzokVau.js","assets/vendor-lezer-python-CvuFxeZl.js","assets/vendor-codemirror-lang-rust-C4ulBVpf.js","assets/vendor-lezer-rust-Lqgd5SAo.js","assets/vendor-codemirror-lang-sass-BkZJYEwS.js","assets/vendor-lezer-sass-Dnm2lY4t.js","assets/vendor-codemirror-lang-wast-DoABsogh.js","assets/vendor-codemirror-lang-xml-BhLJhOCH.js","assets/vendor-lezer-xml-hUDuAyS5.js","assets/vendor-codemirror-lang-yaml-D95i1Y5R.js","assets/vendor-lezer-yaml-BNIl6S_O.js","assets/dockerfile-BKs6k2Af.js","assets/simple-mode-GW_nhZxv.js","assets/factor-kuTfRLto.js","assets/nsis-LdVXkNf5.js","assets/pug-CIGw5rlb.js","assets/javascript-BO_2ioGC.js","assets/useAppFontEffects-8ZU-TTIW.js","assets/vendor-zustand-GVb4H8HE.js","assets/vendor-react-B5Z1Mdn3.js","assets/vendor-scheduler-7OC5HNn7.js","assets/index-ivrh3jfy.js","assets/vendor-clsx-B-dksMZM.js","assets/vendor-tailwind-merge-CPcsbTWB.js","assets/vendor-fuse.js-Dw8P0qyA.js","assets/index-CzO3ooje.css","assets/vendor-base-ui-vkqQ2P9o.js","assets/vendor-floating-ui-utils-BzXdqYpP.js","assets/vendor-floating-ui-react-dom-BZOGXAGe.js","assets/vendor-floating-ui-dom-WyXykhNi.js","assets/vendor-floating-ui-core-CXmKXOXc.js","assets/vendor-use-sync-external-store-D0AXkdQC.js","assets/vendor-simplewebauthn-browser-VDA66rT_.js","assets/vendor-sonner-BDtm25td.js","assets/vendor-vite-runtime-DD1OZmLC.js","assets/vendor-class-variance-authority-5VPnzWs2.js","assets/runtimeSurface-CBaS2Ank.js","assets/vendor-dnd-kit-core-CP8ck10N.js","assets/vendor-dnd-kit-utilities-DTY1C6ST.js","assets/vendor-dnd-kit-accessibility-DZKKhs9S.js","assets/vendor-dnd-kit-sortable-B-Icjoj4.js","assets/vendor-cmdk-zXx6sGnS.js","assets/vendor-radix-ui-react-dialog-D2yhEu2p.js","assets/vendor-radix-ui-primitive-Dc_FVRD7.js","assets/vendor-radix-ui-react-compose-refs-8xy6TJML.js","assets/vendor-radix-ui-react-context-CFsX-AUC.js","assets/vendor-radix-ui-react-id-D2kS9K1j.js","assets/vendor-radix-ui-react-use-layout-effect-C8Yrsaph.js","assets/vendor-radix-ui-react-use-controllable-state-LiqmKSXO.js","assets/vendor-radix-ui-react-dismissable-layer-DrorBNg9.js","assets/vendor-radix-ui-react-primitive-DkH8dMOR.js","assets/vendor-radix-ui-react-slot-BIDFZX0-.js","assets/vendor-radix-ui-react-use-callback-ref-BwDcSoGV.js","assets/vendor-radix-ui-react-use-escape-keydown-DTkqjenV.js","assets/vendor-radix-ui-react-focus-scope-D2BkImwt.js","assets/vendor-radix-ui-react-portal-YgCRIyi7.js","assets/vendor-radix-ui-react-presence-D432pCMB.js","assets/vendor-radix-ui-react-focus-guards-BfdFmL7c.js","assets/vendor-react-remove-scroll-vR1dy1aP.js","assets/vendor-tslib-De9GV7Vy.js","assets/vendor-react-remove-scroll-bar-CSAHp1YF.js","assets/vendor-react-style-singleton-Ctw6HnYx.js","assets/vendor-get-nonce-C-Z93AgS.js","assets/vendor-use-sidecar-Vv4V8Nd1.js","assets/vendor-use-callback-ref-CVVuCyLj.js","assets/vendor-aria-hidden-DvXkyWUv.js","assets/vendor-codemirror-commands-DYppkHEk.js","assets/vendor-tanstack-react-virtual-2skouoFw.js","assets/vendor-tanstack-virtual-core-Dubg10g5.js","assets/vendor-framer-motion-CfplGuM0.js","assets/vendor-motion-dom-DhJ-sYS5.js","assets/vendor-motion-utils-CKEGc_YG.js","assets/vendor-codemirror-lang-vue-DiBPljCc.js","assets/vendor-codemirror-lang-angular-DU_4KiiW.js"])))=>i.map(i=>d[i]);
2
- import{_ as o}from"./vendor-vite-runtime-DD1OZmLC.js";import{o as t,L as i,S as a}from"./vendor-codemirror-language-BByA_dGF.js";function n(e){return new i(a.define(e))}function r(e){return o(()=>import("./vendor-codemirror-lang-sql-HpQWHJjv.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11])).then(_=>_.sql({dialect:_[e]}))}const l=[t.of({name:"C",extensions:["c","h","ino"],load(){return o(()=>import("./vendor-codemirror-lang-cpp-CmIT9Z5_.js"),__vite__mapDeps([12,13,10,2,9,1,3,4,5,6,7,8])).then(e=>e.cpp())}}),t.of({name:"C++",alias:["cpp"],extensions:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],load(){return o(()=>import("./vendor-codemirror-lang-cpp-CmIT9Z5_.js"),__vite__mapDeps([12,13,10,2,9,1,3,4,5,6,7,8])).then(e=>e.cpp())}}),t.of({name:"CQL",alias:["cassandra"],extensions:["cql"],load(){return r("Cassandra")}}),t.of({name:"CSS",extensions:["css"],load(){return o(()=>import("./vendor-codemirror-lang-css-djiuoTi8.js"),__vite__mapDeps([14,15,10,2,9,1,3,4,5,6,7,8])).then(e=>e.css())}}),t.of({name:"Go",extensions:["go"],load(){return o(()=>import("./vendor-codemirror-lang-go-COZSwZYW.js"),__vite__mapDeps([16,17,10,2,9,1,3,4,5,6,7,8,11])).then(e=>e.go())}}),t.of({name:"HTML",alias:["xhtml"],extensions:["html","htm","handlebars","hbs"],load(){return o(()=>import("./vendor-codemirror-lang-html-CKHqhW5R.js"),__vite__mapDeps([18,19,10,2,9,14,15,1,3,4,5,6,7,8,20,21,11])).then(e=>e.html())}}),t.of({name:"Java",extensions:["java"],load(){return o(()=>import("./vendor-codemirror-lang-java-CNMP5hyC.js"),__vite__mapDeps([22,23,10,2,9,1,3,4,5,6,7,8])).then(e=>e.java())}}),t.of({name:"JavaScript",alias:["ecmascript","js","node"],extensions:["js","mjs","cjs"],load(){return o(()=>import("./vendor-codemirror-lang-javascript-DuOEwJ3f.js"),__vite__mapDeps([20,21,10,2,9,1,3,4,5,6,7,8,11])).then(e=>e.javascript())}}),t.of({name:"Jinja",extensions:["j2","jinja","jinja2"],load(){return o(()=>import("./vendor-codemirror-lang-jinja-DaKn_b1k.js"),__vite__mapDeps([24,1,2,3,4,5,6,7,8,9,18,19,10,14,15,20,21,11])).then(e=>e.jinja())}}),t.of({name:"JSON",alias:["json5"],extensions:["json","map"],load(){return o(()=>import("./vendor-codemirror-lang-json-CZ07HmNC.js"),__vite__mapDeps([25,26,10,2,9,1,3,4,5,6,7,8])).then(e=>e.json())}}),t.of({name:"JSX",extensions:["jsx"],load(){return o(()=>import("./vendor-codemirror-lang-javascript-DuOEwJ3f.js"),__vite__mapDeps([20,21,10,2,9,1,3,4,5,6,7,8,11])).then(e=>e.javascript({jsx:!0}))}}),t.of({name:"LESS",extensions:["less"],load(){return o(()=>import("./vendor-codemirror-lang-less-wJdQiDBf.js"),__vite__mapDeps([27,1,2,3,4,5,6,7,8,9,14,15,10])).then(e=>e.less())}}),t.of({name:"Liquid",extensions:["liquid"],load(){return o(()=>import("./vendor-codemirror-lang-liquid-0z48Roi8.js"),__vite__mapDeps([28,1,2,3,4,5,6,7,8,9,18,19,10,14,15,20,21,11])).then(e=>e.liquid())}}),t.of({name:"MariaDB SQL",load(){return r("MariaSQL")}}),t.of({name:"Markdown",extensions:["md","markdown","mkd"],load(){return o(()=>import("./vendor-codemirror-lang-markdown-DtcZDGqe.js"),__vite__mapDeps([29,3,4,5,6,7,8,1,2,9,11,30,18,19,10,14,15,20,21])).then(e=>e.markdown())}}),t.of({name:"MS SQL",load(){return r("MSSQL")}}),t.of({name:"MySQL",load(){return r("MySQL")}}),t.of({name:"PHP",extensions:["php","php3","php4","php5","php7","phtml"],load(){return o(()=>import("./vendor-codemirror-lang-php-W8plS-JQ.js"),__vite__mapDeps([31,32,10,2,9,18,19,14,15,1,3,4,5,6,7,8,20,21,11])).then(e=>e.php())}}),t.of({name:"PLSQL",extensions:["pls"],load(){return r("PLSQL")}}),t.of({name:"PostgreSQL",load(){return r("PostgreSQL")}}),t.of({name:"Python",extensions:["BUILD","bzl","py","pyw"],filename:/^(BUCK|BUILD)$/,load(){return o(()=>import("./vendor-codemirror-lang-python-DzzokVau.js"),__vite__mapDeps([33,34,10,2,9,1,3,4,5,6,7,8,11])).then(e=>e.python())}}),t.of({name:"Rust",extensions:["rs"],load(){return o(()=>import("./vendor-codemirror-lang-rust-C4ulBVpf.js"),__vite__mapDeps([35,36,10,2,9,1,3,4,5,6,7,8])).then(e=>e.rust())}}),t.of({name:"Sass",extensions:["sass"],load(){return o(()=>import("./vendor-codemirror-lang-sass-BkZJYEwS.js"),__vite__mapDeps([37,38,10,2,9,1,3,4,5,6,7,8,14,15])).then(e=>e.sass({indented:!0}))}}),t.of({name:"SCSS",extensions:["scss"],load(){return o(()=>import("./vendor-codemirror-lang-sass-BkZJYEwS.js"),__vite__mapDeps([37,38,10,2,9,1,3,4,5,6,7,8,14,15])).then(e=>e.sass())}}),t.of({name:"SQL",extensions:["sql"],load(){return r("StandardSQL")}}),t.of({name:"SQLite",load(){return r("SQLite")}}),t.of({name:"TSX",extensions:["tsx"],load(){return o(()=>import("./vendor-codemirror-lang-javascript-DuOEwJ3f.js"),__vite__mapDeps([20,21,10,2,9,1,3,4,5,6,7,8,11])).then(e=>e.javascript({jsx:!0,typescript:!0}))}}),t.of({name:"TypeScript",alias:["ts"],extensions:["ts","mts","cts"],load(){return o(()=>import("./vendor-codemirror-lang-javascript-DuOEwJ3f.js"),__vite__mapDeps([20,21,10,2,9,1,3,4,5,6,7,8,11])).then(e=>e.javascript({typescript:!0}))}}),t.of({name:"WebAssembly",extensions:["wat","wast"],load(){return o(()=>import("./vendor-codemirror-lang-wast-DoABsogh.js"),__vite__mapDeps([39,1,2,3,4,5,6,7,8,9,10])).then(e=>e.wast())}}),t.of({name:"XML",alias:["rss","wsdl","xsd"],extensions:["xml","xsl","xsd","svg"],load(){return o(()=>import("./vendor-codemirror-lang-xml-BhLJhOCH.js"),__vite__mapDeps([40,41,10,2,9,1,3,4,5,6,7,8])).then(e=>e.xml())}}),t.of({name:"YAML",alias:["yml"],extensions:["yaml","yml"],load(){return o(()=>import("./vendor-codemirror-lang-yaml-D95i1Y5R.js"),__vite__mapDeps([42,43,10,2,9,1,3,4,5,6,7,8])).then(e=>e.yaml())}}),t.of({name:"APL",extensions:["dyalog","apl"],load(){return o(()=>import("./apl-B4CMkyY2.js"),[]).then(e=>n(e.apl))}}),t.of({name:"PGP",alias:["asciiarmor"],extensions:["asc","pgp","sig"],load(){return o(()=>import("./asciiarmor-Df11BRmG.js"),[]).then(e=>n(e.asciiArmor))}}),t.of({name:"ASN.1",extensions:["asn","asn1"],load(){return o(()=>import("./asn1-EdZsLKOL.js"),[]).then(e=>n(e.asn1({})))}}),t.of({name:"Asterisk",filename:/^extensions\.conf$/i,load(){return o(()=>import("./asterisk-B-8jnY81.js"),[]).then(e=>n(e.asterisk))}}),t.of({name:"Brainfuck",extensions:["b","bf"],load(){return o(()=>import("./brainfuck-C4LP7Hcl.js"),[]).then(e=>n(e.brainfuck))}}),t.of({name:"Cobol",extensions:["cob","cpy"],load(){return o(()=>import("./cobol-CWcv1MsR.js"),[]).then(e=>n(e.cobol))}}),t.of({name:"C#",alias:["csharp","cs"],extensions:["cs"],load(){return o(()=>import("./clike-B9uivgTg.js"),[]).then(e=>n(e.csharp))}}),t.of({name:"Clojure",extensions:["clj","cljc","cljx"],load(){return o(()=>import("./clojure-BMjYHr_A.js"),[]).then(e=>n(e.clojure))}}),t.of({name:"ClojureScript",extensions:["cljs"],load(){return o(()=>import("./clojure-BMjYHr_A.js"),[]).then(e=>n(e.clojure))}}),t.of({name:"Closure Stylesheets (GSS)",extensions:["gss"],load(){return o(()=>import("./css-BnMrqG3P.js"),[]).then(e=>n(e.gss))}}),t.of({name:"CMake",extensions:["cmake","cmake.in"],filename:/^CMakeLists\.txt$/,load(){return o(()=>import("./cmake-BQqOBYOt.js"),[]).then(e=>n(e.cmake))}}),t.of({name:"CoffeeScript",alias:["coffee","coffee-script"],extensions:["coffee"],load(){return o(()=>import("./coffeescript-S37ZYGWr.js"),[]).then(e=>n(e.coffeeScript))}}),t.of({name:"Common Lisp",alias:["lisp"],extensions:["cl","lisp","el"],load(){return o(()=>import("./commonlisp-DBKNyK5s.js"),[]).then(e=>n(e.commonLisp))}}),t.of({name:"Cypher",extensions:["cyp","cypher"],load(){return o(()=>import("./cypher-C_CwsFkJ.js"),[]).then(e=>n(e.cypher))}}),t.of({name:"Cython",extensions:["pyx","pxd","pxi"],load(){return o(()=>import("./python-Cso5vRIg.js"),[]).then(e=>n(e.cython))}}),t.of({name:"Crystal",extensions:["cr"],load(){return o(()=>import("./crystal-SjHAIU92.js"),[]).then(e=>n(e.crystal))}}),t.of({name:"D",extensions:["d"],load(){return o(()=>import("./d-pRatUO7H.js"),[]).then(e=>n(e.d))}}),t.of({name:"Dart",extensions:["dart"],load(){return o(()=>import("./clike-B9uivgTg.js"),[]).then(e=>n(e.dart))}}),t.of({name:"diff",extensions:["diff","patch"],load(){return o(()=>import("./diff-DbItnlRl.js"),[]).then(e=>n(e.diff))}}),t.of({name:"Dockerfile",filename:/^Dockerfile$/,load(){return o(()=>import("./dockerfile-BKs6k2Af.js"),__vite__mapDeps([44,45])).then(e=>n(e.dockerFile))}}),t.of({name:"DTD",extensions:["dtd"],load(){return o(()=>import("./dtd-DF_7sFjM.js"),[]).then(e=>n(e.dtd))}}),t.of({name:"Dylan",extensions:["dylan","dyl","intr"],load(){return o(()=>import("./dylan-DwRh75JA.js"),[]).then(e=>n(e.dylan))}}),t.of({name:"EBNF",load(){return o(()=>import("./ebnf-CDyGwa7X.js"),[]).then(e=>n(e.ebnf))}}),t.of({name:"ECL",extensions:["ecl"],load(){return o(()=>import("./ecl-Cabwm37j.js"),[]).then(e=>n(e.ecl))}}),t.of({name:"edn",extensions:["edn"],load(){return o(()=>import("./clojure-BMjYHr_A.js"),[]).then(e=>n(e.clojure))}}),t.of({name:"Eiffel",extensions:["e"],load(){return o(()=>import("./eiffel-CnydiIhH.js"),[]).then(e=>n(e.eiffel))}}),t.of({name:"Elm",extensions:["elm"],load(){return o(()=>import("./elm-vLlmbW-K.js"),[]).then(e=>n(e.elm))}}),t.of({name:"Erlang",extensions:["erl"],load(){return o(()=>import("./erlang-BNw1qcRV.js"),[]).then(e=>n(e.erlang))}}),t.of({name:"Esper",load(){return o(()=>import("./sql-D0XecflT.js"),[]).then(e=>n(e.esper))}}),t.of({name:"Factor",extensions:["factor"],load(){return o(()=>import("./factor-kuTfRLto.js"),__vite__mapDeps([46,45])).then(e=>n(e.factor))}}),t.of({name:"FCL",load(){return o(()=>import("./fcl-Kvtd6kyn.js"),[]).then(e=>n(e.fcl))}}),t.of({name:"Forth",extensions:["forth","fth","4th"],load(){return o(()=>import("./forth-Ffai-XNe.js"),[]).then(e=>n(e.forth))}}),t.of({name:"Fortran",extensions:["f","for","f77","f90","f95"],load(){return o(()=>import("./fortran-DYz_wnZ1.js"),[]).then(e=>n(e.fortran))}}),t.of({name:"F#",alias:["fsharp"],extensions:["fs"],load(){return o(()=>import("./mllike-BO34x3tv.js"),[]).then(e=>n(e.fSharp))}}),t.of({name:"Gas",extensions:["s"],load(){return o(()=>import("./gas-Bneqetm1.js"),[]).then(e=>n(e.gas))}}),t.of({name:"Gherkin",extensions:["feature"],load(){return o(()=>import("./gherkin-heZmZLOM.js"),[]).then(e=>n(e.gherkin))}}),t.of({name:"Groovy",extensions:["groovy","gradle"],filename:/^Jenkinsfile$/,load(){return o(()=>import("./groovy-D9Dt4D0W.js"),[]).then(e=>n(e.groovy))}}),t.of({name:"Haskell",extensions:["hs"],load(){return o(()=>import("./haskell-Cw1EW3IL.js"),[]).then(e=>n(e.haskell))}}),t.of({name:"Haxe",extensions:["hx"],load(){return o(()=>import("./haxe-H-WmDvRZ.js"),[]).then(e=>n(e.haxe))}}),t.of({name:"HXML",extensions:["hxml"],load(){return o(()=>import("./haxe-H-WmDvRZ.js"),[]).then(e=>n(e.hxml))}}),t.of({name:"HTTP",load(){return o(()=>import("./http-DBlCnlav.js"),[]).then(e=>n(e.http))}}),t.of({name:"IDL",extensions:["pro"],load(){return o(()=>import("./idl-BEugSyMb.js"),[]).then(e=>n(e.idl))}}),t.of({name:"JSON-LD",alias:["jsonld"],extensions:["jsonld"],load(){return o(()=>import("./javascript-BO_2ioGC.js"),[]).then(e=>n(e.jsonld))}}),t.of({name:"Julia",extensions:["jl"],load(){return o(()=>import("./julia-DuME0IfC.js"),[]).then(e=>n(e.julia))}}),t.of({name:"Kotlin",extensions:["kt","kts"],load(){return o(()=>import("./clike-B9uivgTg.js"),[]).then(e=>n(e.kotlin))}}),t.of({name:"LiveScript",alias:["ls"],extensions:["ls"],load(){return o(()=>import("./livescript-BwQOo05w.js"),[]).then(e=>n(e.liveScript))}}),t.of({name:"Lua",extensions:["lua"],load(){return o(()=>import("./lua-BgMRiT3U.js"),[]).then(e=>n(e.lua))}}),t.of({name:"mIRC",extensions:["mrc"],load(){return o(()=>import("./mirc-CjQqDB4T.js"),[]).then(e=>n(e.mirc))}}),t.of({name:"Mathematica",extensions:["m","nb","wl","wls"],load(){return o(()=>import("./mathematica-DTrFuWx2.js"),[]).then(e=>n(e.mathematica))}}),t.of({name:"Modelica",extensions:["mo"],load(){return o(()=>import("./modelica-Dc1JOy9r.js"),[]).then(e=>n(e.modelica))}}),t.of({name:"MUMPS",extensions:["mps"],load(){return o(()=>import("./mumps-BT43cFF4.js"),[]).then(e=>n(e.mumps))}}),t.of({name:"Mbox",extensions:["mbox"],load(){return o(()=>import("./mbox-CNhZ1qSd.js"),[]).then(e=>n(e.mbox))}}),t.of({name:"Nginx",filename:/nginx.*\.conf$/i,load(){return o(()=>import("./nginx-DdIZxoE0.js"),[]).then(e=>n(e.nginx))}}),t.of({name:"NSIS",extensions:["nsh","nsi"],load(){return o(()=>import("./nsis-LdVXkNf5.js"),__vite__mapDeps([47,45])).then(e=>n(e.nsis))}}),t.of({name:"NTriples",extensions:["nt","nq"],load(){return o(()=>import("./ntriples-BfvgReVJ.js"),[]).then(e=>n(e.ntriples))}}),t.of({name:"Objective-C",alias:["objective-c","objc"],extensions:["m"],load(){return o(()=>import("./clike-B9uivgTg.js"),[]).then(e=>n(e.objectiveC))}}),t.of({name:"Objective-C++",alias:["objective-c++","objc++"],extensions:["mm"],load(){return o(()=>import("./clike-B9uivgTg.js"),[]).then(e=>n(e.objectiveCpp))}}),t.of({name:"OCaml",extensions:["ml","mli","mll","mly"],load(){return o(()=>import("./mllike-BO34x3tv.js"),[]).then(e=>n(e.oCaml))}}),t.of({name:"Octave",extensions:["m"],load(){return o(()=>import("./octave-CWZ4xMHY.js"),[]).then(e=>n(e.octave))}}),t.of({name:"Oz",extensions:["oz"],load(){return o(()=>import("./oz-BzwKVEFT.js"),[]).then(e=>n(e.oz))}}),t.of({name:"Pascal",extensions:["p","pas"],load(){return o(()=>import("./pascal--L3eBynH.js"),[]).then(e=>n(e.pascal))}}),t.of({name:"Perl",extensions:["pl","pm"],load(){return o(()=>import("./perl-CdXCOZ3F.js"),[]).then(e=>n(e.perl))}}),t.of({name:"Pig",extensions:["pig"],load(){return o(()=>import("./pig-CevX1Tat.js"),[]).then(e=>n(e.pig))}}),t.of({name:"PowerShell",extensions:["ps1","psd1","psm1"],load(){return o(()=>import("./powershell-CFHJl5sT.js"),[]).then(e=>n(e.powerShell))}}),t.of({name:"Properties files",alias:["ini","properties"],extensions:["properties","ini","in"],load(){return o(()=>import("./properties-C78fOPTZ.js"),[]).then(e=>n(e.properties))}}),t.of({name:"ProtoBuf",extensions:["proto"],load(){return o(()=>import("./protobuf-ChK-085T.js"),[]).then(e=>n(e.protobuf))}}),t.of({name:"Pug",alias:["jade"],extensions:["pug","jade"],load(){return o(()=>import("./pug-CIGw5rlb.js"),__vite__mapDeps([48,49])).then(e=>n(e.pug))}}),t.of({name:"Puppet",extensions:["pp"],load(){return o(()=>import("./puppet-DMA9R1ak.js"),[]).then(e=>n(e.puppet))}}),t.of({name:"Q",extensions:["q"],load(){return o(()=>import("./q-pXgVlZs6.js"),[]).then(e=>n(e.q))}}),t.of({name:"R",alias:["rscript"],extensions:["r","R"],load(){return o(()=>import("./r-B6wPVr8A.js"),[]).then(e=>n(e.r))}}),t.of({name:"RPM Changes",load(){return o(()=>import("./rpm-CTu-6PCP.js"),[]).then(e=>n(e.rpmChanges))}}),t.of({name:"RPM Spec",extensions:["spec"],load(){return o(()=>import("./rpm-CTu-6PCP.js"),[]).then(e=>n(e.rpmSpec))}}),t.of({name:"Ruby",alias:["jruby","macruby","rake","rb","rbx"],extensions:["rb"],filename:/^(Gemfile|Rakefile)$/,load(){return o(()=>import("./ruby-B2Rjki9n.js"),[]).then(e=>n(e.ruby))}}),t.of({name:"SAS",extensions:["sas"],load(){return o(()=>import("./sas-B4kiWyti.js"),[]).then(e=>n(e.sas))}}),t.of({name:"Scala",extensions:["scala"],load(){return o(()=>import("./clike-B9uivgTg.js"),[]).then(e=>n(e.scala))}}),t.of({name:"Scheme",extensions:["scm","ss"],load(){return o(()=>import("./scheme-C41bIUwD.js"),[]).then(e=>n(e.scheme))}}),t.of({name:"Shell",alias:["bash","sh","zsh"],extensions:["sh","ksh","bash"],filename:/^PKGBUILD$/,load(){return o(()=>import("./useAppFontEffects-8ZU-TTIW.js").then(e=>e.dE),__vite__mapDeps([50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,5,3,4,6,7,8,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,1,2,9,20,21,10,11,25,26,14,15,18,19,29,30,33,34,99,100,101,102,103,104])).then(e=>n(e.shell))}}),t.of({name:"Sieve",extensions:["siv","sieve"],load(){return o(()=>import("./sieve-C3Gn_uJK.js"),[]).then(e=>n(e.sieve))}}),t.of({name:"Smalltalk",extensions:["st"],load(){return o(()=>import("./smalltalk-CnHTOXQT.js"),[]).then(e=>n(e.smalltalk))}}),t.of({name:"Solr",load(){return o(()=>import("./solr-DehyRSwq.js"),[]).then(e=>n(e.solr))}}),t.of({name:"SML",extensions:["sml","sig","fun","smackspec"],load(){return o(()=>import("./mllike-BO34x3tv.js"),[]).then(e=>n(e.sml))}}),t.of({name:"SPARQL",alias:["sparul"],extensions:["rq","sparql"],load(){return o(()=>import("./sparql-DkYu6x3z.js"),[]).then(e=>n(e.sparql))}}),t.of({name:"Spreadsheet",alias:["excel","formula"],load(){return o(()=>import("./spreadsheet-BCZA_wO0.js"),[]).then(e=>n(e.spreadsheet))}}),t.of({name:"Squirrel",extensions:["nut"],load(){return o(()=>import("./clike-B9uivgTg.js"),[]).then(e=>n(e.squirrel))}}),t.of({name:"Stylus",extensions:["styl"],load(){return o(()=>import("./stylus-B533Al4x.js"),[]).then(e=>n(e.stylus))}}),t.of({name:"Swift",extensions:["swift"],load(){return o(()=>import("./swift-BzpIVaGY.js"),[]).then(e=>n(e.swift))}}),t.of({name:"sTeX",load(){return o(()=>import("./stex-C3f8Ysf7.js"),[]).then(e=>n(e.stex))}}),t.of({name:"LaTeX",alias:["tex"],extensions:["text","ltx","tex"],load(){return o(()=>import("./stex-C3f8Ysf7.js"),[]).then(e=>n(e.stex))}}),t.of({name:"SystemVerilog",extensions:["v","sv","svh"],load(){return o(()=>import("./verilog-C6RDOZhf.js"),[]).then(e=>n(e.verilog))}}),t.of({name:"Tcl",extensions:["tcl"],load(){return o(()=>import("./tcl-DVfN8rqt.js"),[]).then(e=>n(e.tcl))}}),t.of({name:"Textile",extensions:["textile"],load(){return o(()=>import("./textile-CnDTJFAw.js"),[]).then(e=>n(e.textile))}}),t.of({name:"TiddlyWiki",load(){return o(()=>import("./tiddlywiki-DO-Gjzrf.js"),[]).then(e=>n(e.tiddlyWiki))}}),t.of({name:"Tiki wiki",load(){return o(()=>import("./tiki-DGYXhP31.js"),[]).then(e=>n(e.tiki))}}),t.of({name:"TOML",extensions:["toml"],load(){return o(()=>import("./toml-Bm5Em-hy.js"),[]).then(e=>n(e.toml))}}),t.of({name:"Troff",extensions:["1","2","3","4","5","6","7","8","9"],load(){return o(()=>import("./troff-wAsdV37c.js"),[]).then(e=>n(e.troff))}}),t.of({name:"TTCN",extensions:["ttcn","ttcn3","ttcnpp"],load(){return o(()=>import("./ttcn-CfJYG6tj.js"),[]).then(e=>n(e.ttcn))}}),t.of({name:"TTCN_CFG",extensions:["cfg"],load(){return o(()=>import("./ttcn-cfg-B9xdYoR4.js"),[]).then(e=>n(e.ttcnCfg))}}),t.of({name:"Turtle",extensions:["ttl"],load(){return o(()=>import("./turtle-B1tBg_DP.js"),[]).then(e=>n(e.turtle))}}),t.of({name:"Web IDL",extensions:["webidl"],load(){return o(()=>import("./webidl-ZXfAyPTL.js"),[]).then(e=>n(e.webIDL))}}),t.of({name:"VB.NET",extensions:["vb"],load(){return o(()=>import("./vb-CmGdzxic.js"),[]).then(e=>n(e.vb))}}),t.of({name:"VBScript",extensions:["vbs"],load(){return o(()=>import("./vbscript-BuJXcnF6.js"),[]).then(e=>n(e.vbScript))}}),t.of({name:"Velocity",extensions:["vtl"],load(){return o(()=>import("./velocity-D8B20fx6.js"),[]).then(e=>n(e.velocity))}}),t.of({name:"Verilog",extensions:["v"],load(){return o(()=>import("./verilog-C6RDOZhf.js"),[]).then(e=>n(e.verilog))}}),t.of({name:"VHDL",extensions:["vhd","vhdl"],load(){return o(()=>import("./vhdl-lSbBsy5d.js"),[]).then(e=>n(e.vhdl))}}),t.of({name:"XQuery",extensions:["xy","xquery","xq","xqm","xqy"],load(){return o(()=>import("./xquery-DzFWVndE.js"),[]).then(e=>n(e.xQuery))}}),t.of({name:"Yacas",extensions:["ys"],load(){return o(()=>import("./yacas-BJ4BC0dw.js"),[]).then(e=>n(e.yacas))}}),t.of({name:"Z80",extensions:["z80"],load(){return o(()=>import("./z80-Hz9HOZM7.js"),[]).then(e=>n(e.z80))}}),t.of({name:"MscGen",extensions:["mscgen","mscin","msc"],load(){return o(()=>import("./mscgen-BA5vi2Kp.js"),[]).then(e=>n(e.mscgen))}}),t.of({name:"Xù",extensions:["xu"],load(){return o(()=>import("./mscgen-BA5vi2Kp.js"),[]).then(e=>n(e.xu))}}),t.of({name:"MsGenny",extensions:["msgenny"],load(){return o(()=>import("./mscgen-BA5vi2Kp.js"),[]).then(e=>n(e.msgenny))}}),t.of({name:"Vue",extensions:["vue"],load(){return o(()=>import("./vendor-codemirror-lang-vue-DiBPljCc.js"),__vite__mapDeps([105,1,2,3,4,5,6,7,8,9,18,19,10,14,15,20,21,11])).then(e=>e.vue())}}),t.of({name:"Angular Template",load(){return o(()=>import("./vendor-codemirror-lang-angular-DU_4KiiW.js"),__vite__mapDeps([106,1,2,3,4,5,6,7,8,9,18,19,10,14,15,20,21,11])).then(e=>e.angular())}})];export{l};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/vendor-codemirror-lang-sql-HpQWHJjv.js","assets/vendor-codemirror-language-BByA_dGF.js","assets/vendor-lezer-common-B3-cUCR_.js","assets/vendor-codemirror-state-CNWM3Q8V.js","assets/vendor-marijn-find-cluster-break-DXwl3gUT.js","assets/vendor-codemirror-view-Ct4T37Ue.js","assets/vendor-style-mod-NZ5MEPvj.js","assets/vendor-w3c-keyname-Vcq4gwWv.js","assets/vendor-crelt-C8TCjufn.js","assets/vendor-lezer-highlight-CDMHUZ74.js","assets/vendor-lezer-lr-bhwg1HMg.js","assets/vendor-codemirror-autocomplete-wd6iRebq.js","assets/vendor-codemirror-lang-cpp-CmIT9Z5_.js","assets/vendor-lezer-cpp-BleAU9o-.js","assets/vendor-codemirror-lang-css-djiuoTi8.js","assets/vendor-lezer-css-C5xB6jxd.js","assets/vendor-codemirror-lang-go-COZSwZYW.js","assets/vendor-lezer-go-CXK1UKk8.js","assets/vendor-codemirror-lang-html-CKHqhW5R.js","assets/vendor-lezer-html-C0I1p52t.js","assets/vendor-codemirror-lang-javascript-DuOEwJ3f.js","assets/vendor-lezer-javascript-D7Tj24ot.js","assets/vendor-codemirror-lang-java-CNMP5hyC.js","assets/vendor-lezer-java-D_zzj-NV.js","assets/vendor-codemirror-lang-jinja-DaKn_b1k.js","assets/vendor-codemirror-lang-json-CZ07HmNC.js","assets/vendor-lezer-json-Iaex0UN-.js","assets/vendor-codemirror-lang-less-wJdQiDBf.js","assets/vendor-codemirror-lang-liquid-0z48Roi8.js","assets/vendor-codemirror-lang-markdown-DtcZDGqe.js","assets/vendor-lezer-markdown-C6g-d6P3.js","assets/vendor-codemirror-lang-php-W8plS-JQ.js","assets/vendor-lezer-php-_DHrbsZG.js","assets/vendor-codemirror-lang-python-DzzokVau.js","assets/vendor-lezer-python-CvuFxeZl.js","assets/vendor-codemirror-lang-rust-C4ulBVpf.js","assets/vendor-lezer-rust-Lqgd5SAo.js","assets/vendor-codemirror-lang-sass-BkZJYEwS.js","assets/vendor-lezer-sass-Dnm2lY4t.js","assets/vendor-codemirror-lang-wast-DoABsogh.js","assets/vendor-codemirror-lang-xml-BhLJhOCH.js","assets/vendor-lezer-xml-hUDuAyS5.js","assets/vendor-codemirror-lang-yaml-D95i1Y5R.js","assets/vendor-lezer-yaml-BNIl6S_O.js","assets/dockerfile-BKs6k2Af.js","assets/simple-mode-GW_nhZxv.js","assets/factor-kuTfRLto.js","assets/nsis-LdVXkNf5.js","assets/pug-CIGw5rlb.js","assets/javascript-BO_2ioGC.js","assets/useAppFontEffects-BgK55NDM.js","assets/vendor-zustand-GVb4H8HE.js","assets/vendor-react-B5Z1Mdn3.js","assets/vendor-scheduler-7OC5HNn7.js","assets/index-yWgKW2Fx.js","assets/vendor-clsx-B-dksMZM.js","assets/vendor-tailwind-merge-CPcsbTWB.js","assets/vendor-fuse.js-Dw8P0qyA.js","assets/index-C8NYcA8-.css","assets/vendor-base-ui-vkqQ2P9o.js","assets/vendor-floating-ui-utils-BzXdqYpP.js","assets/vendor-floating-ui-react-dom-BZOGXAGe.js","assets/vendor-floating-ui-dom-WyXykhNi.js","assets/vendor-floating-ui-core-CXmKXOXc.js","assets/vendor-use-sync-external-store-D0AXkdQC.js","assets/vendor-simplewebauthn-browser-VDA66rT_.js","assets/vendor-sonner-BDtm25td.js","assets/vendor-vite-runtime-DD1OZmLC.js","assets/vendor-class-variance-authority-5VPnzWs2.js","assets/runtimeSurface-C_3mcJ01.js","assets/vendor-dnd-kit-core-C9qcAm_1.js","assets/vendor-dnd-kit-utilities-DTY1C6ST.js","assets/vendor-dnd-kit-accessibility-DZKKhs9S.js","assets/vendor-dnd-kit-sortable-D8ozj8M-.js","assets/vendor-cmdk-zXx6sGnS.js","assets/vendor-radix-ui-react-dialog-D2yhEu2p.js","assets/vendor-radix-ui-primitive-Dc_FVRD7.js","assets/vendor-radix-ui-react-compose-refs-8xy6TJML.js","assets/vendor-radix-ui-react-context-CFsX-AUC.js","assets/vendor-radix-ui-react-id-D2kS9K1j.js","assets/vendor-radix-ui-react-use-layout-effect-C8Yrsaph.js","assets/vendor-radix-ui-react-use-controllable-state-LiqmKSXO.js","assets/vendor-radix-ui-react-dismissable-layer-DrorBNg9.js","assets/vendor-radix-ui-react-primitive-DkH8dMOR.js","assets/vendor-radix-ui-react-slot-BIDFZX0-.js","assets/vendor-radix-ui-react-use-callback-ref-BwDcSoGV.js","assets/vendor-radix-ui-react-use-escape-keydown-DTkqjenV.js","assets/vendor-radix-ui-react-focus-scope-D2BkImwt.js","assets/vendor-radix-ui-react-portal-YgCRIyi7.js","assets/vendor-radix-ui-react-presence-D432pCMB.js","assets/vendor-radix-ui-react-focus-guards-BfdFmL7c.js","assets/vendor-react-remove-scroll-vR1dy1aP.js","assets/vendor-tslib-De9GV7Vy.js","assets/vendor-react-remove-scroll-bar-CSAHp1YF.js","assets/vendor-react-style-singleton-Ctw6HnYx.js","assets/vendor-get-nonce-C-Z93AgS.js","assets/vendor-use-sidecar-Vv4V8Nd1.js","assets/vendor-use-callback-ref-CVVuCyLj.js","assets/vendor-aria-hidden-DvXkyWUv.js","assets/vendor-codemirror-commands-DYppkHEk.js","assets/vendor-tanstack-react-virtual-2skouoFw.js","assets/vendor-tanstack-virtual-core-Dubg10g5.js","assets/vendor-framer-motion-CfplGuM0.js","assets/vendor-motion-dom-DhJ-sYS5.js","assets/vendor-motion-utils-CKEGc_YG.js","assets/vendor-codemirror-lang-vue-DiBPljCc.js","assets/vendor-codemirror-lang-angular-DU_4KiiW.js"])))=>i.map(i=>d[i]);
2
+ import{_ as o}from"./vendor-vite-runtime-DD1OZmLC.js";import{o as t,L as i,S as a}from"./vendor-codemirror-language-BByA_dGF.js";function n(e){return new i(a.define(e))}function r(e){return o(()=>import("./vendor-codemirror-lang-sql-HpQWHJjv.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11])).then(_=>_.sql({dialect:_[e]}))}const l=[t.of({name:"C",extensions:["c","h","ino"],load(){return o(()=>import("./vendor-codemirror-lang-cpp-CmIT9Z5_.js"),__vite__mapDeps([12,13,10,2,9,1,3,4,5,6,7,8])).then(e=>e.cpp())}}),t.of({name:"C++",alias:["cpp"],extensions:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],load(){return o(()=>import("./vendor-codemirror-lang-cpp-CmIT9Z5_.js"),__vite__mapDeps([12,13,10,2,9,1,3,4,5,6,7,8])).then(e=>e.cpp())}}),t.of({name:"CQL",alias:["cassandra"],extensions:["cql"],load(){return r("Cassandra")}}),t.of({name:"CSS",extensions:["css"],load(){return o(()=>import("./vendor-codemirror-lang-css-djiuoTi8.js"),__vite__mapDeps([14,15,10,2,9,1,3,4,5,6,7,8])).then(e=>e.css())}}),t.of({name:"Go",extensions:["go"],load(){return o(()=>import("./vendor-codemirror-lang-go-COZSwZYW.js"),__vite__mapDeps([16,17,10,2,9,1,3,4,5,6,7,8,11])).then(e=>e.go())}}),t.of({name:"HTML",alias:["xhtml"],extensions:["html","htm","handlebars","hbs"],load(){return o(()=>import("./vendor-codemirror-lang-html-CKHqhW5R.js"),__vite__mapDeps([18,19,10,2,9,14,15,1,3,4,5,6,7,8,20,21,11])).then(e=>e.html())}}),t.of({name:"Java",extensions:["java"],load(){return o(()=>import("./vendor-codemirror-lang-java-CNMP5hyC.js"),__vite__mapDeps([22,23,10,2,9,1,3,4,5,6,7,8])).then(e=>e.java())}}),t.of({name:"JavaScript",alias:["ecmascript","js","node"],extensions:["js","mjs","cjs"],load(){return o(()=>import("./vendor-codemirror-lang-javascript-DuOEwJ3f.js"),__vite__mapDeps([20,21,10,2,9,1,3,4,5,6,7,8,11])).then(e=>e.javascript())}}),t.of({name:"Jinja",extensions:["j2","jinja","jinja2"],load(){return o(()=>import("./vendor-codemirror-lang-jinja-DaKn_b1k.js"),__vite__mapDeps([24,1,2,3,4,5,6,7,8,9,18,19,10,14,15,20,21,11])).then(e=>e.jinja())}}),t.of({name:"JSON",alias:["json5"],extensions:["json","map"],load(){return o(()=>import("./vendor-codemirror-lang-json-CZ07HmNC.js"),__vite__mapDeps([25,26,10,2,9,1,3,4,5,6,7,8])).then(e=>e.json())}}),t.of({name:"JSX",extensions:["jsx"],load(){return o(()=>import("./vendor-codemirror-lang-javascript-DuOEwJ3f.js"),__vite__mapDeps([20,21,10,2,9,1,3,4,5,6,7,8,11])).then(e=>e.javascript({jsx:!0}))}}),t.of({name:"LESS",extensions:["less"],load(){return o(()=>import("./vendor-codemirror-lang-less-wJdQiDBf.js"),__vite__mapDeps([27,1,2,3,4,5,6,7,8,9,14,15,10])).then(e=>e.less())}}),t.of({name:"Liquid",extensions:["liquid"],load(){return o(()=>import("./vendor-codemirror-lang-liquid-0z48Roi8.js"),__vite__mapDeps([28,1,2,3,4,5,6,7,8,9,18,19,10,14,15,20,21,11])).then(e=>e.liquid())}}),t.of({name:"MariaDB SQL",load(){return r("MariaSQL")}}),t.of({name:"Markdown",extensions:["md","markdown","mkd"],load(){return o(()=>import("./vendor-codemirror-lang-markdown-DtcZDGqe.js"),__vite__mapDeps([29,3,4,5,6,7,8,1,2,9,11,30,18,19,10,14,15,20,21])).then(e=>e.markdown())}}),t.of({name:"MS SQL",load(){return r("MSSQL")}}),t.of({name:"MySQL",load(){return r("MySQL")}}),t.of({name:"PHP",extensions:["php","php3","php4","php5","php7","phtml"],load(){return o(()=>import("./vendor-codemirror-lang-php-W8plS-JQ.js"),__vite__mapDeps([31,32,10,2,9,18,19,14,15,1,3,4,5,6,7,8,20,21,11])).then(e=>e.php())}}),t.of({name:"PLSQL",extensions:["pls"],load(){return r("PLSQL")}}),t.of({name:"PostgreSQL",load(){return r("PostgreSQL")}}),t.of({name:"Python",extensions:["BUILD","bzl","py","pyw"],filename:/^(BUCK|BUILD)$/,load(){return o(()=>import("./vendor-codemirror-lang-python-DzzokVau.js"),__vite__mapDeps([33,34,10,2,9,1,3,4,5,6,7,8,11])).then(e=>e.python())}}),t.of({name:"Rust",extensions:["rs"],load(){return o(()=>import("./vendor-codemirror-lang-rust-C4ulBVpf.js"),__vite__mapDeps([35,36,10,2,9,1,3,4,5,6,7,8])).then(e=>e.rust())}}),t.of({name:"Sass",extensions:["sass"],load(){return o(()=>import("./vendor-codemirror-lang-sass-BkZJYEwS.js"),__vite__mapDeps([37,38,10,2,9,1,3,4,5,6,7,8,14,15])).then(e=>e.sass({indented:!0}))}}),t.of({name:"SCSS",extensions:["scss"],load(){return o(()=>import("./vendor-codemirror-lang-sass-BkZJYEwS.js"),__vite__mapDeps([37,38,10,2,9,1,3,4,5,6,7,8,14,15])).then(e=>e.sass())}}),t.of({name:"SQL",extensions:["sql"],load(){return r("StandardSQL")}}),t.of({name:"SQLite",load(){return r("SQLite")}}),t.of({name:"TSX",extensions:["tsx"],load(){return o(()=>import("./vendor-codemirror-lang-javascript-DuOEwJ3f.js"),__vite__mapDeps([20,21,10,2,9,1,3,4,5,6,7,8,11])).then(e=>e.javascript({jsx:!0,typescript:!0}))}}),t.of({name:"TypeScript",alias:["ts"],extensions:["ts","mts","cts"],load(){return o(()=>import("./vendor-codemirror-lang-javascript-DuOEwJ3f.js"),__vite__mapDeps([20,21,10,2,9,1,3,4,5,6,7,8,11])).then(e=>e.javascript({typescript:!0}))}}),t.of({name:"WebAssembly",extensions:["wat","wast"],load(){return o(()=>import("./vendor-codemirror-lang-wast-DoABsogh.js"),__vite__mapDeps([39,1,2,3,4,5,6,7,8,9,10])).then(e=>e.wast())}}),t.of({name:"XML",alias:["rss","wsdl","xsd"],extensions:["xml","xsl","xsd","svg"],load(){return o(()=>import("./vendor-codemirror-lang-xml-BhLJhOCH.js"),__vite__mapDeps([40,41,10,2,9,1,3,4,5,6,7,8])).then(e=>e.xml())}}),t.of({name:"YAML",alias:["yml"],extensions:["yaml","yml"],load(){return o(()=>import("./vendor-codemirror-lang-yaml-D95i1Y5R.js"),__vite__mapDeps([42,43,10,2,9,1,3,4,5,6,7,8])).then(e=>e.yaml())}}),t.of({name:"APL",extensions:["dyalog","apl"],load(){return o(()=>import("./apl-B4CMkyY2.js"),[]).then(e=>n(e.apl))}}),t.of({name:"PGP",alias:["asciiarmor"],extensions:["asc","pgp","sig"],load(){return o(()=>import("./asciiarmor-Df11BRmG.js"),[]).then(e=>n(e.asciiArmor))}}),t.of({name:"ASN.1",extensions:["asn","asn1"],load(){return o(()=>import("./asn1-EdZsLKOL.js"),[]).then(e=>n(e.asn1({})))}}),t.of({name:"Asterisk",filename:/^extensions\.conf$/i,load(){return o(()=>import("./asterisk-B-8jnY81.js"),[]).then(e=>n(e.asterisk))}}),t.of({name:"Brainfuck",extensions:["b","bf"],load(){return o(()=>import("./brainfuck-C4LP7Hcl.js"),[]).then(e=>n(e.brainfuck))}}),t.of({name:"Cobol",extensions:["cob","cpy"],load(){return o(()=>import("./cobol-CWcv1MsR.js"),[]).then(e=>n(e.cobol))}}),t.of({name:"C#",alias:["csharp","cs"],extensions:["cs"],load(){return o(()=>import("./clike-B9uivgTg.js"),[]).then(e=>n(e.csharp))}}),t.of({name:"Clojure",extensions:["clj","cljc","cljx"],load(){return o(()=>import("./clojure-BMjYHr_A.js"),[]).then(e=>n(e.clojure))}}),t.of({name:"ClojureScript",extensions:["cljs"],load(){return o(()=>import("./clojure-BMjYHr_A.js"),[]).then(e=>n(e.clojure))}}),t.of({name:"Closure Stylesheets (GSS)",extensions:["gss"],load(){return o(()=>import("./css-BnMrqG3P.js"),[]).then(e=>n(e.gss))}}),t.of({name:"CMake",extensions:["cmake","cmake.in"],filename:/^CMakeLists\.txt$/,load(){return o(()=>import("./cmake-BQqOBYOt.js"),[]).then(e=>n(e.cmake))}}),t.of({name:"CoffeeScript",alias:["coffee","coffee-script"],extensions:["coffee"],load(){return o(()=>import("./coffeescript-S37ZYGWr.js"),[]).then(e=>n(e.coffeeScript))}}),t.of({name:"Common Lisp",alias:["lisp"],extensions:["cl","lisp","el"],load(){return o(()=>import("./commonlisp-DBKNyK5s.js"),[]).then(e=>n(e.commonLisp))}}),t.of({name:"Cypher",extensions:["cyp","cypher"],load(){return o(()=>import("./cypher-C_CwsFkJ.js"),[]).then(e=>n(e.cypher))}}),t.of({name:"Cython",extensions:["pyx","pxd","pxi"],load(){return o(()=>import("./python-Cso5vRIg.js"),[]).then(e=>n(e.cython))}}),t.of({name:"Crystal",extensions:["cr"],load(){return o(()=>import("./crystal-SjHAIU92.js"),[]).then(e=>n(e.crystal))}}),t.of({name:"D",extensions:["d"],load(){return o(()=>import("./d-pRatUO7H.js"),[]).then(e=>n(e.d))}}),t.of({name:"Dart",extensions:["dart"],load(){return o(()=>import("./clike-B9uivgTg.js"),[]).then(e=>n(e.dart))}}),t.of({name:"diff",extensions:["diff","patch"],load(){return o(()=>import("./diff-DbItnlRl.js"),[]).then(e=>n(e.diff))}}),t.of({name:"Dockerfile",filename:/^Dockerfile$/,load(){return o(()=>import("./dockerfile-BKs6k2Af.js"),__vite__mapDeps([44,45])).then(e=>n(e.dockerFile))}}),t.of({name:"DTD",extensions:["dtd"],load(){return o(()=>import("./dtd-DF_7sFjM.js"),[]).then(e=>n(e.dtd))}}),t.of({name:"Dylan",extensions:["dylan","dyl","intr"],load(){return o(()=>import("./dylan-DwRh75JA.js"),[]).then(e=>n(e.dylan))}}),t.of({name:"EBNF",load(){return o(()=>import("./ebnf-CDyGwa7X.js"),[]).then(e=>n(e.ebnf))}}),t.of({name:"ECL",extensions:["ecl"],load(){return o(()=>import("./ecl-Cabwm37j.js"),[]).then(e=>n(e.ecl))}}),t.of({name:"edn",extensions:["edn"],load(){return o(()=>import("./clojure-BMjYHr_A.js"),[]).then(e=>n(e.clojure))}}),t.of({name:"Eiffel",extensions:["e"],load(){return o(()=>import("./eiffel-CnydiIhH.js"),[]).then(e=>n(e.eiffel))}}),t.of({name:"Elm",extensions:["elm"],load(){return o(()=>import("./elm-vLlmbW-K.js"),[]).then(e=>n(e.elm))}}),t.of({name:"Erlang",extensions:["erl"],load(){return o(()=>import("./erlang-BNw1qcRV.js"),[]).then(e=>n(e.erlang))}}),t.of({name:"Esper",load(){return o(()=>import("./sql-D0XecflT.js"),[]).then(e=>n(e.esper))}}),t.of({name:"Factor",extensions:["factor"],load(){return o(()=>import("./factor-kuTfRLto.js"),__vite__mapDeps([46,45])).then(e=>n(e.factor))}}),t.of({name:"FCL",load(){return o(()=>import("./fcl-Kvtd6kyn.js"),[]).then(e=>n(e.fcl))}}),t.of({name:"Forth",extensions:["forth","fth","4th"],load(){return o(()=>import("./forth-Ffai-XNe.js"),[]).then(e=>n(e.forth))}}),t.of({name:"Fortran",extensions:["f","for","f77","f90","f95"],load(){return o(()=>import("./fortran-DYz_wnZ1.js"),[]).then(e=>n(e.fortran))}}),t.of({name:"F#",alias:["fsharp"],extensions:["fs"],load(){return o(()=>import("./mllike-BO34x3tv.js"),[]).then(e=>n(e.fSharp))}}),t.of({name:"Gas",extensions:["s"],load(){return o(()=>import("./gas-Bneqetm1.js"),[]).then(e=>n(e.gas))}}),t.of({name:"Gherkin",extensions:["feature"],load(){return o(()=>import("./gherkin-heZmZLOM.js"),[]).then(e=>n(e.gherkin))}}),t.of({name:"Groovy",extensions:["groovy","gradle"],filename:/^Jenkinsfile$/,load(){return o(()=>import("./groovy-D9Dt4D0W.js"),[]).then(e=>n(e.groovy))}}),t.of({name:"Haskell",extensions:["hs"],load(){return o(()=>import("./haskell-Cw1EW3IL.js"),[]).then(e=>n(e.haskell))}}),t.of({name:"Haxe",extensions:["hx"],load(){return o(()=>import("./haxe-H-WmDvRZ.js"),[]).then(e=>n(e.haxe))}}),t.of({name:"HXML",extensions:["hxml"],load(){return o(()=>import("./haxe-H-WmDvRZ.js"),[]).then(e=>n(e.hxml))}}),t.of({name:"HTTP",load(){return o(()=>import("./http-DBlCnlav.js"),[]).then(e=>n(e.http))}}),t.of({name:"IDL",extensions:["pro"],load(){return o(()=>import("./idl-BEugSyMb.js"),[]).then(e=>n(e.idl))}}),t.of({name:"JSON-LD",alias:["jsonld"],extensions:["jsonld"],load(){return o(()=>import("./javascript-BO_2ioGC.js"),[]).then(e=>n(e.jsonld))}}),t.of({name:"Julia",extensions:["jl"],load(){return o(()=>import("./julia-DuME0IfC.js"),[]).then(e=>n(e.julia))}}),t.of({name:"Kotlin",extensions:["kt","kts"],load(){return o(()=>import("./clike-B9uivgTg.js"),[]).then(e=>n(e.kotlin))}}),t.of({name:"LiveScript",alias:["ls"],extensions:["ls"],load(){return o(()=>import("./livescript-BwQOo05w.js"),[]).then(e=>n(e.liveScript))}}),t.of({name:"Lua",extensions:["lua"],load(){return o(()=>import("./lua-BgMRiT3U.js"),[]).then(e=>n(e.lua))}}),t.of({name:"mIRC",extensions:["mrc"],load(){return o(()=>import("./mirc-CjQqDB4T.js"),[]).then(e=>n(e.mirc))}}),t.of({name:"Mathematica",extensions:["m","nb","wl","wls"],load(){return o(()=>import("./mathematica-DTrFuWx2.js"),[]).then(e=>n(e.mathematica))}}),t.of({name:"Modelica",extensions:["mo"],load(){return o(()=>import("./modelica-Dc1JOy9r.js"),[]).then(e=>n(e.modelica))}}),t.of({name:"MUMPS",extensions:["mps"],load(){return o(()=>import("./mumps-BT43cFF4.js"),[]).then(e=>n(e.mumps))}}),t.of({name:"Mbox",extensions:["mbox"],load(){return o(()=>import("./mbox-CNhZ1qSd.js"),[]).then(e=>n(e.mbox))}}),t.of({name:"Nginx",filename:/nginx.*\.conf$/i,load(){return o(()=>import("./nginx-DdIZxoE0.js"),[]).then(e=>n(e.nginx))}}),t.of({name:"NSIS",extensions:["nsh","nsi"],load(){return o(()=>import("./nsis-LdVXkNf5.js"),__vite__mapDeps([47,45])).then(e=>n(e.nsis))}}),t.of({name:"NTriples",extensions:["nt","nq"],load(){return o(()=>import("./ntriples-BfvgReVJ.js"),[]).then(e=>n(e.ntriples))}}),t.of({name:"Objective-C",alias:["objective-c","objc"],extensions:["m"],load(){return o(()=>import("./clike-B9uivgTg.js"),[]).then(e=>n(e.objectiveC))}}),t.of({name:"Objective-C++",alias:["objective-c++","objc++"],extensions:["mm"],load(){return o(()=>import("./clike-B9uivgTg.js"),[]).then(e=>n(e.objectiveCpp))}}),t.of({name:"OCaml",extensions:["ml","mli","mll","mly"],load(){return o(()=>import("./mllike-BO34x3tv.js"),[]).then(e=>n(e.oCaml))}}),t.of({name:"Octave",extensions:["m"],load(){return o(()=>import("./octave-CWZ4xMHY.js"),[]).then(e=>n(e.octave))}}),t.of({name:"Oz",extensions:["oz"],load(){return o(()=>import("./oz-BzwKVEFT.js"),[]).then(e=>n(e.oz))}}),t.of({name:"Pascal",extensions:["p","pas"],load(){return o(()=>import("./pascal--L3eBynH.js"),[]).then(e=>n(e.pascal))}}),t.of({name:"Perl",extensions:["pl","pm"],load(){return o(()=>import("./perl-CdXCOZ3F.js"),[]).then(e=>n(e.perl))}}),t.of({name:"Pig",extensions:["pig"],load(){return o(()=>import("./pig-CevX1Tat.js"),[]).then(e=>n(e.pig))}}),t.of({name:"PowerShell",extensions:["ps1","psd1","psm1"],load(){return o(()=>import("./powershell-CFHJl5sT.js"),[]).then(e=>n(e.powerShell))}}),t.of({name:"Properties files",alias:["ini","properties"],extensions:["properties","ini","in"],load(){return o(()=>import("./properties-C78fOPTZ.js"),[]).then(e=>n(e.properties))}}),t.of({name:"ProtoBuf",extensions:["proto"],load(){return o(()=>import("./protobuf-ChK-085T.js"),[]).then(e=>n(e.protobuf))}}),t.of({name:"Pug",alias:["jade"],extensions:["pug","jade"],load(){return o(()=>import("./pug-CIGw5rlb.js"),__vite__mapDeps([48,49])).then(e=>n(e.pug))}}),t.of({name:"Puppet",extensions:["pp"],load(){return o(()=>import("./puppet-DMA9R1ak.js"),[]).then(e=>n(e.puppet))}}),t.of({name:"Q",extensions:["q"],load(){return o(()=>import("./q-pXgVlZs6.js"),[]).then(e=>n(e.q))}}),t.of({name:"R",alias:["rscript"],extensions:["r","R"],load(){return o(()=>import("./r-B6wPVr8A.js"),[]).then(e=>n(e.r))}}),t.of({name:"RPM Changes",load(){return o(()=>import("./rpm-CTu-6PCP.js"),[]).then(e=>n(e.rpmChanges))}}),t.of({name:"RPM Spec",extensions:["spec"],load(){return o(()=>import("./rpm-CTu-6PCP.js"),[]).then(e=>n(e.rpmSpec))}}),t.of({name:"Ruby",alias:["jruby","macruby","rake","rb","rbx"],extensions:["rb"],filename:/^(Gemfile|Rakefile)$/,load(){return o(()=>import("./ruby-B2Rjki9n.js"),[]).then(e=>n(e.ruby))}}),t.of({name:"SAS",extensions:["sas"],load(){return o(()=>import("./sas-B4kiWyti.js"),[]).then(e=>n(e.sas))}}),t.of({name:"Scala",extensions:["scala"],load(){return o(()=>import("./clike-B9uivgTg.js"),[]).then(e=>n(e.scala))}}),t.of({name:"Scheme",extensions:["scm","ss"],load(){return o(()=>import("./scheme-C41bIUwD.js"),[]).then(e=>n(e.scheme))}}),t.of({name:"Shell",alias:["bash","sh","zsh"],extensions:["sh","ksh","bash"],filename:/^PKGBUILD$/,load(){return o(()=>import("./useAppFontEffects-BgK55NDM.js").then(e=>e.dF),__vite__mapDeps([50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,5,3,4,6,7,8,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,1,2,9,20,21,10,11,25,26,14,15,18,19,29,30,33,34,99,100,101,102,103,104])).then(e=>n(e.shell))}}),t.of({name:"Sieve",extensions:["siv","sieve"],load(){return o(()=>import("./sieve-C3Gn_uJK.js"),[]).then(e=>n(e.sieve))}}),t.of({name:"Smalltalk",extensions:["st"],load(){return o(()=>import("./smalltalk-CnHTOXQT.js"),[]).then(e=>n(e.smalltalk))}}),t.of({name:"Solr",load(){return o(()=>import("./solr-DehyRSwq.js"),[]).then(e=>n(e.solr))}}),t.of({name:"SML",extensions:["sml","sig","fun","smackspec"],load(){return o(()=>import("./mllike-BO34x3tv.js"),[]).then(e=>n(e.sml))}}),t.of({name:"SPARQL",alias:["sparul"],extensions:["rq","sparql"],load(){return o(()=>import("./sparql-DkYu6x3z.js"),[]).then(e=>n(e.sparql))}}),t.of({name:"Spreadsheet",alias:["excel","formula"],load(){return o(()=>import("./spreadsheet-BCZA_wO0.js"),[]).then(e=>n(e.spreadsheet))}}),t.of({name:"Squirrel",extensions:["nut"],load(){return o(()=>import("./clike-B9uivgTg.js"),[]).then(e=>n(e.squirrel))}}),t.of({name:"Stylus",extensions:["styl"],load(){return o(()=>import("./stylus-B533Al4x.js"),[]).then(e=>n(e.stylus))}}),t.of({name:"Swift",extensions:["swift"],load(){return o(()=>import("./swift-BzpIVaGY.js"),[]).then(e=>n(e.swift))}}),t.of({name:"sTeX",load(){return o(()=>import("./stex-C3f8Ysf7.js"),[]).then(e=>n(e.stex))}}),t.of({name:"LaTeX",alias:["tex"],extensions:["text","ltx","tex"],load(){return o(()=>import("./stex-C3f8Ysf7.js"),[]).then(e=>n(e.stex))}}),t.of({name:"SystemVerilog",extensions:["v","sv","svh"],load(){return o(()=>import("./verilog-C6RDOZhf.js"),[]).then(e=>n(e.verilog))}}),t.of({name:"Tcl",extensions:["tcl"],load(){return o(()=>import("./tcl-DVfN8rqt.js"),[]).then(e=>n(e.tcl))}}),t.of({name:"Textile",extensions:["textile"],load(){return o(()=>import("./textile-CnDTJFAw.js"),[]).then(e=>n(e.textile))}}),t.of({name:"TiddlyWiki",load(){return o(()=>import("./tiddlywiki-DO-Gjzrf.js"),[]).then(e=>n(e.tiddlyWiki))}}),t.of({name:"Tiki wiki",load(){return o(()=>import("./tiki-DGYXhP31.js"),[]).then(e=>n(e.tiki))}}),t.of({name:"TOML",extensions:["toml"],load(){return o(()=>import("./toml-Bm5Em-hy.js"),[]).then(e=>n(e.toml))}}),t.of({name:"Troff",extensions:["1","2","3","4","5","6","7","8","9"],load(){return o(()=>import("./troff-wAsdV37c.js"),[]).then(e=>n(e.troff))}}),t.of({name:"TTCN",extensions:["ttcn","ttcn3","ttcnpp"],load(){return o(()=>import("./ttcn-CfJYG6tj.js"),[]).then(e=>n(e.ttcn))}}),t.of({name:"TTCN_CFG",extensions:["cfg"],load(){return o(()=>import("./ttcn-cfg-B9xdYoR4.js"),[]).then(e=>n(e.ttcnCfg))}}),t.of({name:"Turtle",extensions:["ttl"],load(){return o(()=>import("./turtle-B1tBg_DP.js"),[]).then(e=>n(e.turtle))}}),t.of({name:"Web IDL",extensions:["webidl"],load(){return o(()=>import("./webidl-ZXfAyPTL.js"),[]).then(e=>n(e.webIDL))}}),t.of({name:"VB.NET",extensions:["vb"],load(){return o(()=>import("./vb-CmGdzxic.js"),[]).then(e=>n(e.vb))}}),t.of({name:"VBScript",extensions:["vbs"],load(){return o(()=>import("./vbscript-BuJXcnF6.js"),[]).then(e=>n(e.vbScript))}}),t.of({name:"Velocity",extensions:["vtl"],load(){return o(()=>import("./velocity-D8B20fx6.js"),[]).then(e=>n(e.velocity))}}),t.of({name:"Verilog",extensions:["v"],load(){return o(()=>import("./verilog-C6RDOZhf.js"),[]).then(e=>n(e.verilog))}}),t.of({name:"VHDL",extensions:["vhd","vhdl"],load(){return o(()=>import("./vhdl-lSbBsy5d.js"),[]).then(e=>n(e.vhdl))}}),t.of({name:"XQuery",extensions:["xy","xquery","xq","xqm","xqy"],load(){return o(()=>import("./xquery-DzFWVndE.js"),[]).then(e=>n(e.xQuery))}}),t.of({name:"Yacas",extensions:["ys"],load(){return o(()=>import("./yacas-BJ4BC0dw.js"),[]).then(e=>n(e.yacas))}}),t.of({name:"Z80",extensions:["z80"],load(){return o(()=>import("./z80-Hz9HOZM7.js"),[]).then(e=>n(e.z80))}}),t.of({name:"MscGen",extensions:["mscgen","mscin","msc"],load(){return o(()=>import("./mscgen-BA5vi2Kp.js"),[]).then(e=>n(e.mscgen))}}),t.of({name:"Xù",extensions:["xu"],load(){return o(()=>import("./mscgen-BA5vi2Kp.js"),[]).then(e=>n(e.xu))}}),t.of({name:"MsGenny",extensions:["msgenny"],load(){return o(()=>import("./mscgen-BA5vi2Kp.js"),[]).then(e=>n(e.msgenny))}}),t.of({name:"Vue",extensions:["vue"],load(){return o(()=>import("./vendor-codemirror-lang-vue-DiBPljCc.js"),__vite__mapDeps([105,1,2,3,4,5,6,7,8,9,18,19,10,14,15,20,21,11])).then(e=>e.vue())}}),t.of({name:"Angular Template",load(){return o(()=>import("./vendor-codemirror-lang-angular-DU_4KiiW.js"),__vite__mapDeps([106,1,2,3,4,5,6,7,8,9,18,19,10,14,15,20,21,11])).then(e=>e.angular())}})];export{l};
@@ -1,4 +1,4 @@
1
- import{r as c,b as ye,R as O}from"./vendor-react-B5Z1Mdn3.js";import{u as Ce,a as $e,g as Le,b as Y,c as he,d as ae,e as ge,i as tt,s as Ie,f as Re,h as Ke,j as Pe,k as nt,l as fn,m as ze,n as hn,o as rt,C as Ge,p as ot,q as gn,r as Ft,t as vn}from"./vendor-dnd-kit-utilities-DTY1C6ST.js";import{u as pn,H as bn,L as mn}from"./vendor-dnd-kit-accessibility-DZKKhs9S.js";const $t=c.createContext(null);function yn(e){const t=c.useContext($t);c.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}function wn(){const[e]=c.useState(()=>new Set),t=c.useCallback(r=>(e.add(r),()=>e.delete(r)),[e]);return[c.useCallback(r=>{let{type:s,event:o}=r;e.forEach(a=>{var i;return(i=a[s])==null?void 0:i.call(a,o)})},[e]),t]}const xn={draggable:`
1
+ import{r as c,b as ye,R as O}from"./vendor-react-B5Z1Mdn3.js";import{u as Ce,a as $e,g as Le,b as Y,c as he,d as ae,e as ge,i as tt,s as Ie,f as Re,h as Ke,j as Pe,k as nt,l as fn,m as ze,n as hn,o as rt,p as ot,q as gn,r as Ft,C as Ge,t as vn}from"./vendor-dnd-kit-utilities-DTY1C6ST.js";import{u as pn,H as bn,L as mn}from"./vendor-dnd-kit-accessibility-DZKKhs9S.js";const $t=c.createContext(null);function yn(e){const t=c.useContext($t);c.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}function wn(){const[e]=c.useState(()=>new Set),t=c.useCallback(r=>(e.add(r),()=>e.delete(r)),[e]);return[c.useCallback(r=>{let{type:s,event:o}=r;e.forEach(a=>{var i;return(i=a[s])==null?void 0:i.call(a,o)})},[e]),t]}const xn={draggable:`
2
2
  To pick up a draggable item, press the space bar.
3
3
  While dragging, use the arrow keys to move the item.
4
4
  Press space again to drop the item in its new position, or press escape to cancel.
@@ -1 +1 @@
1
- import{r as g,R as q}from"./vendor-react-B5Z1Mdn3.js";import{u as ue,a as de,b as fe,g as ge,K as O}from"./vendor-dnd-kit-core-CP8ck10N.js";import{a as pe,d as B,v as ve,i as me,C as F}from"./vendor-dnd-kit-utilities-DTY1C6ST.js";function H(e,s,r){const n=e.slice();return n.splice(r<0?n.length+r:r,0,n.splice(s,1)[0]),n}function Ie(e,s){return e.reduce((r,n,t)=>{const i=s.get(n);return i&&(r[t]=i),r},Array(e.length))}function E(e){return e!==null&&e>=0}function be(e,s){if(e===s)return!0;if(e.length!==s.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==s[r])return!1;return!0}function xe(e){return typeof e=="boolean"?{draggable:e,droppable:e}:e}const A={scaleX:1,scaleY:1},Me=e=>{var s;let{rects:r,activeNodeRect:n,activeIndex:t,overIndex:i,index:o}=e;const a=(s=r[t])!=null?s:n;if(!a)return null;const u=he(r,o,t);if(o===t){const c=r[i];return c?{x:t<i?c.left+c.width-(a.left+a.width):c.left-a.left,y:0,...A}:null}return o>t&&o<=i?{x:-a.width-u,y:0,...A}:o<t&&o>=i?{x:a.width+u,y:0,...A}:{x:0,y:0,...A}};function he(e,s,r){const n=e[s],t=e[s-1],i=e[s+1];return!n||!t&&!i?0:r<s?t?n.left-(t.left+t.width):i.left-(n.left+n.width):i?i.left-(n.left+n.width):n.left-(t.left+t.width)}const U=e=>{let{rects:s,activeIndex:r,overIndex:n,index:t}=e;const i=H(s,n,r),o=s[t],a=i[t];return!a||!o?null:{x:a.left-o.left,y:a.top-o.top,scaleX:a.width/o.width,scaleY:a.height/o.height}},L={scaleX:1,scaleY:1},$e=e=>{var s;let{activeIndex:r,activeNodeRect:n,index:t,rects:i,overIndex:o}=e;const a=(s=i[r])!=null?s:n;if(!a)return null;if(t===r){const c=i[o];return c?{x:0,y:r<o?c.top+c.height-(a.top+a.height):c.top-a.top,...L}:null}const u=ye(i,t,r);return t>r&&t<=o?{x:0,y:-a.height-u,...L}:t<r&&t>=o?{x:0,y:a.height+u,...L}:{x:0,y:0,...L}};function ye(e,s,r){const n=e[s],t=e[s-1],i=e[s+1];return n?r<s?t?n.top-(t.top+t.height):i?i.top-(n.top+n.height):0:i?i.top-(n.top+n.height):t?n.top-(t.top+t.height):0:0}const V="Sortable",j=q.createContext({activeIndex:-1,containerId:V,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:U,disabled:{draggable:!1,droppable:!1}});function ze(e){let{children:s,id:r,items:n,strategy:t=U,disabled:i=!1}=e;const{active:o,dragOverlay:a,droppableRects:u,over:c,measureDroppableContainers:l}=ue(),v=pe(V,r),I=a.rect!==null,f=g.useMemo(()=>n.map(b=>typeof b=="object"&&"id"in b?b.id:b),[n]),T=o!=null,y=o?f.indexOf(o.id):-1,m=c?f.indexOf(c.id):-1,N=g.useRef(f),R=!be(f,N.current),w=m!==-1&&y===-1||R,p=xe(i);B(()=>{R&&T&&l(f)},[R,f,T,l]),g.useEffect(()=>{N.current=f},[f]);const S=g.useMemo(()=>({activeIndex:y,containerId:v,disabled:p,disableTransforms:w,items:f,overIndex:m,useDragOverlay:I,sortedRects:Ie(f,u),strategy:t}),[y,v,p.draggable,p.droppable,w,f,m,u,I,t]);return q.createElement(j.Provider,{value:S},s)}const Re=e=>{let{id:s,items:r,activeIndex:n,overIndex:t}=e;return H(r,n,t).indexOf(s)},we=e=>{let{containerId:s,isSorting:r,wasDragging:n,index:t,items:i,newIndex:o,previousItems:a,previousContainerId:u,transition:c}=e;return!c||!n||a!==i&&t===o?!1:r?!0:o!==t&&s===u},Se={duration:200,easing:"ease"},J="transform",De=F.Transition.toString({property:J,duration:0,easing:"linear"}),Ce={roleDescription:"sortable"};function Te(e){let{disabled:s,index:r,node:n,rect:t}=e;const[i,o]=g.useState(null),a=g.useRef(r);return B(()=>{if(!s&&r!==a.current&&n.current){const u=t.current;if(u){const c=ge(n.current,{ignoreTransform:!0}),l={x:u.left-c.left,y:u.top-c.top,scaleX:u.width/c.width,scaleY:u.height/c.height};(l.x||l.y)&&o(l)}}r!==a.current&&(a.current=r)},[s,r,n,t]),g.useEffect(()=>{i&&o(null)},[i]),i}function Ge(e){let{animateLayoutChanges:s=we,attributes:r,disabled:n,data:t,getNewIndex:i=Re,id:o,strategy:a,resizeObserverConfig:u,transition:c=Se}=e;const{items:l,containerId:v,activeIndex:I,disabled:f,disableTransforms:T,sortedRects:y,overIndex:m,useDragOverlay:N,strategy:R}=g.useContext(j),w=Ne(n,f),p=l.indexOf(o),S=g.useMemo(()=>({sortable:{containerId:v,index:p,items:l},...t}),[v,t,p,l]),b=g.useMemo(()=>l.slice(l.indexOf(o)),[l,o]),{rect:z,node:G,isOver:Q,setNodeRef:X}=de({id:o,data:S,disabled:w.droppable,resizeObserverConfig:{updateMeasurementsFor:b,...u}}),{active:D,activatorEvent:W,activeNodeRect:Z,attributes:ee,setNodeRef:_,listeners:te,isDragging:M,over:re,setActivatorNodeRef:ne,transform:se}=fe({id:o,data:S,attributes:{...Ce,...r},disabled:w.draggable}),oe=ve(X,_),x=!!D,P=x&&!T&&E(I)&&E(m),Y=!N&&M,K=Y&&P?se:null,ie=P?K??(a??R)({rects:y,activeNodeRect:Z,activeIndex:I,overIndex:m,index:p}):null,C=E(I)&&E(m)?i({id:o,items:l,activeIndex:I,overIndex:m}):p,h=D?.id,d=g.useRef({activeId:h,items:l,newIndex:C,containerId:v}),ae=l!==d.current.items,k=s({active:D,containerId:v,isDragging:M,isSorting:x,id:o,index:p,items:l,newIndex:d.current.newIndex,previousItems:d.current.items,previousContainerId:d.current.containerId,transition:c,wasDragging:d.current.activeId!=null}),$=Te({disabled:!k,index:p,node:G,rect:z});return g.useEffect(()=>{x&&d.current.newIndex!==C&&(d.current.newIndex=C),v!==d.current.containerId&&(d.current.containerId=v),l!==d.current.items&&(d.current.items=l)},[x,C,v,l]),g.useEffect(()=>{if(h===d.current.activeId)return;if(h!=null&&d.current.activeId==null){d.current.activeId=h;return}const le=setTimeout(()=>{d.current.activeId=h},50);return()=>clearTimeout(le)},[h]),{active:D,activeIndex:I,attributes:ee,data:S,rect:z,index:p,newIndex:C,items:l,isOver:Q,isSorting:x,isDragging:M,listeners:te,node:G,overIndex:m,over:re,setNodeRef:oe,setActivatorNodeRef:ne,setDroppableNodeRef:X,setDraggableNodeRef:_,transform:$??ie,transition:ce()};function ce(){if($||ae&&d.current.newIndex===p)return De;if(!(Y&&!me(W)||!c)&&(x||k))return F.Transition.toString({...c,property:J})}}function Ne(e,s){var r,n;return typeof e=="boolean"?{draggable:e,droppable:!1}:{draggable:(r=e?.draggable)!=null?r:s.draggable,droppable:(n=e?.droppable)!=null?n:s.droppable}}O.Down,O.Right,O.Up,O.Left;export{ze as S,H as a,Me as h,U as r,Ge as u,$e as v};
1
+ import{r as g,R as q}from"./vendor-react-B5Z1Mdn3.js";import{u as ue,a as de,b as fe,g as ge,K as O}from"./vendor-dnd-kit-core-C9qcAm_1.js";import{a as pe,d as B,v as ve,i as me,C as F}from"./vendor-dnd-kit-utilities-DTY1C6ST.js";function H(e,s,r){const n=e.slice();return n.splice(r<0?n.length+r:r,0,n.splice(s,1)[0]),n}function Ie(e,s){return e.reduce((r,n,t)=>{const i=s.get(n);return i&&(r[t]=i),r},Array(e.length))}function E(e){return e!==null&&e>=0}function be(e,s){if(e===s)return!0;if(e.length!==s.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==s[r])return!1;return!0}function xe(e){return typeof e=="boolean"?{draggable:e,droppable:e}:e}const A={scaleX:1,scaleY:1},Me=e=>{var s;let{rects:r,activeNodeRect:n,activeIndex:t,overIndex:i,index:o}=e;const a=(s=r[t])!=null?s:n;if(!a)return null;const u=he(r,o,t);if(o===t){const c=r[i];return c?{x:t<i?c.left+c.width-(a.left+a.width):c.left-a.left,y:0,...A}:null}return o>t&&o<=i?{x:-a.width-u,y:0,...A}:o<t&&o>=i?{x:a.width+u,y:0,...A}:{x:0,y:0,...A}};function he(e,s,r){const n=e[s],t=e[s-1],i=e[s+1];return!n||!t&&!i?0:r<s?t?n.left-(t.left+t.width):i.left-(n.left+n.width):i?i.left-(n.left+n.width):n.left-(t.left+t.width)}const U=e=>{let{rects:s,activeIndex:r,overIndex:n,index:t}=e;const i=H(s,n,r),o=s[t],a=i[t];return!a||!o?null:{x:a.left-o.left,y:a.top-o.top,scaleX:a.width/o.width,scaleY:a.height/o.height}},L={scaleX:1,scaleY:1},$e=e=>{var s;let{activeIndex:r,activeNodeRect:n,index:t,rects:i,overIndex:o}=e;const a=(s=i[r])!=null?s:n;if(!a)return null;if(t===r){const c=i[o];return c?{x:0,y:r<o?c.top+c.height-(a.top+a.height):c.top-a.top,...L}:null}const u=ye(i,t,r);return t>r&&t<=o?{x:0,y:-a.height-u,...L}:t<r&&t>=o?{x:0,y:a.height+u,...L}:{x:0,y:0,...L}};function ye(e,s,r){const n=e[s],t=e[s-1],i=e[s+1];return n?r<s?t?n.top-(t.top+t.height):i?i.top-(n.top+n.height):0:i?i.top-(n.top+n.height):t?n.top-(t.top+t.height):0:0}const V="Sortable",j=q.createContext({activeIndex:-1,containerId:V,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:U,disabled:{draggable:!1,droppable:!1}});function ze(e){let{children:s,id:r,items:n,strategy:t=U,disabled:i=!1}=e;const{active:o,dragOverlay:a,droppableRects:u,over:c,measureDroppableContainers:l}=ue(),v=pe(V,r),I=a.rect!==null,f=g.useMemo(()=>n.map(b=>typeof b=="object"&&"id"in b?b.id:b),[n]),T=o!=null,y=o?f.indexOf(o.id):-1,m=c?f.indexOf(c.id):-1,N=g.useRef(f),R=!be(f,N.current),w=m!==-1&&y===-1||R,p=xe(i);B(()=>{R&&T&&l(f)},[R,f,T,l]),g.useEffect(()=>{N.current=f},[f]);const S=g.useMemo(()=>({activeIndex:y,containerId:v,disabled:p,disableTransforms:w,items:f,overIndex:m,useDragOverlay:I,sortedRects:Ie(f,u),strategy:t}),[y,v,p.draggable,p.droppable,w,f,m,u,I,t]);return q.createElement(j.Provider,{value:S},s)}const Re=e=>{let{id:s,items:r,activeIndex:n,overIndex:t}=e;return H(r,n,t).indexOf(s)},we=e=>{let{containerId:s,isSorting:r,wasDragging:n,index:t,items:i,newIndex:o,previousItems:a,previousContainerId:u,transition:c}=e;return!c||!n||a!==i&&t===o?!1:r?!0:o!==t&&s===u},Se={duration:200,easing:"ease"},J="transform",De=F.Transition.toString({property:J,duration:0,easing:"linear"}),Ce={roleDescription:"sortable"};function Te(e){let{disabled:s,index:r,node:n,rect:t}=e;const[i,o]=g.useState(null),a=g.useRef(r);return B(()=>{if(!s&&r!==a.current&&n.current){const u=t.current;if(u){const c=ge(n.current,{ignoreTransform:!0}),l={x:u.left-c.left,y:u.top-c.top,scaleX:u.width/c.width,scaleY:u.height/c.height};(l.x||l.y)&&o(l)}}r!==a.current&&(a.current=r)},[s,r,n,t]),g.useEffect(()=>{i&&o(null)},[i]),i}function Ge(e){let{animateLayoutChanges:s=we,attributes:r,disabled:n,data:t,getNewIndex:i=Re,id:o,strategy:a,resizeObserverConfig:u,transition:c=Se}=e;const{items:l,containerId:v,activeIndex:I,disabled:f,disableTransforms:T,sortedRects:y,overIndex:m,useDragOverlay:N,strategy:R}=g.useContext(j),w=Ne(n,f),p=l.indexOf(o),S=g.useMemo(()=>({sortable:{containerId:v,index:p,items:l},...t}),[v,t,p,l]),b=g.useMemo(()=>l.slice(l.indexOf(o)),[l,o]),{rect:z,node:G,isOver:Q,setNodeRef:X}=de({id:o,data:S,disabled:w.droppable,resizeObserverConfig:{updateMeasurementsFor:b,...u}}),{active:D,activatorEvent:W,activeNodeRect:Z,attributes:ee,setNodeRef:_,listeners:te,isDragging:M,over:re,setActivatorNodeRef:ne,transform:se}=fe({id:o,data:S,attributes:{...Ce,...r},disabled:w.draggable}),oe=ve(X,_),x=!!D,P=x&&!T&&E(I)&&E(m),Y=!N&&M,K=Y&&P?se:null,ie=P?K??(a??R)({rects:y,activeNodeRect:Z,activeIndex:I,overIndex:m,index:p}):null,C=E(I)&&E(m)?i({id:o,items:l,activeIndex:I,overIndex:m}):p,h=D?.id,d=g.useRef({activeId:h,items:l,newIndex:C,containerId:v}),ae=l!==d.current.items,k=s({active:D,containerId:v,isDragging:M,isSorting:x,id:o,index:p,items:l,newIndex:d.current.newIndex,previousItems:d.current.items,previousContainerId:d.current.containerId,transition:c,wasDragging:d.current.activeId!=null}),$=Te({disabled:!k,index:p,node:G,rect:z});return g.useEffect(()=>{x&&d.current.newIndex!==C&&(d.current.newIndex=C),v!==d.current.containerId&&(d.current.containerId=v),l!==d.current.items&&(d.current.items=l)},[x,C,v,l]),g.useEffect(()=>{if(h===d.current.activeId)return;if(h!=null&&d.current.activeId==null){d.current.activeId=h;return}const le=setTimeout(()=>{d.current.activeId=h},50);return()=>clearTimeout(le)},[h]),{active:D,activeIndex:I,attributes:ee,data:S,rect:z,index:p,newIndex:C,items:l,isOver:Q,isSorting:x,isDragging:M,listeners:te,node:G,overIndex:m,over:re,setNodeRef:oe,setActivatorNodeRef:ne,setDroppableNodeRef:X,setDraggableNodeRef:_,transform:$??ie,transition:ce()};function ce(){if($||ae&&d.current.newIndex===p)return De;if(!(Y&&!me(W)||!c)&&(x||k))return F.Transition.toString({...c,property:J})}}function Ne(e,s){var r,n;return typeof e=="boolean"?{draggable:e,droppable:!1}:{draggable:(r=e?.draggable)!=null?r:s.draggable,droppable:(n=e?.droppable)!=null?n:s.droppable}}O.Down,O.Right,O.Up,O.Left;export{ze as S,H as a,Me as h,U as r,Ge as u,$e as v};
@@ -0,0 +1 @@
1
+ var p=2,c=1,d=class{activate(e){this._terminal=e}dispose(){}fit(){let e=this.proposeDimensions();if(!e||!this._terminal||isNaN(e.cols)||isNaN(e.rows))return;let i=this._terminal._core;(this._terminal.rows!==e.rows||this._terminal.cols!==e.cols)&&(i._renderService.clear(),this._terminal.resize(e.cols,e.rows))}proposeDimensions(){if(!this._terminal||!this._terminal.element||!this._terminal.element.parentElement)return;let e=this._terminal._core._renderService.dimensions;if(e.css.cell.width===0||e.css.cell.height===0)return;let i=this._terminal.options.scrollback===0?0:this._terminal.options.overviewRuler?.width||14,s=window.getComputedStyle(this._terminal.element.parentElement),l=parseInt(s.getPropertyValue("height")),o=Math.max(0,parseInt(s.getPropertyValue("width"))),t=window.getComputedStyle(this._terminal.element),r={top:parseInt(t.getPropertyValue("padding-top")),bottom:parseInt(t.getPropertyValue("padding-bottom")),right:parseInt(t.getPropertyValue("padding-right")),left:parseInt(t.getPropertyValue("padding-left"))},a=r.top+r.bottom,n=r.right+r.left,h=l-a,m=o-n-i;return{cols:Math.max(p,Math.floor(m/e.css.cell.width)),rows:Math.max(c,Math.floor(h/e.css.cell.height))}}};export{d as FitAddon};