fluxflow-cli 4.37.3 → 4.39.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 (85) hide show
  1. package/README.md +1 -0
  2. package/dist/chunks/{9router-CKETGMBB.js → 9router-LRFKCJF4.js} +1 -1
  3. package/dist/chunks/{addMemScore-76XLEW3K.js → addMemScore-PBVNSFPN.js} +1 -1
  4. package/dist/chunks/ai-Z2RCLVQR.js +1 -0
  5. package/dist/chunks/{aihubmix-YSGVPUM4.js → aihubmix-TETL5QYQ.js} +1 -1
  6. package/dist/chunks/{apinex-VI576FVJ.js → apinex-FAYOPQSL.js} +1 -1
  7. package/dist/chunks/app-IKYO4AHO.js +331 -0
  8. package/dist/chunks/auto_completion-AIWB2XM2.js +3 -0
  9. package/dist/chunks/{chat-RLEHK3MX.js → chat-C7HYXKVZ.js} +1 -1
  10. package/dist/chunks/chunk-26BQ45XP.js +2 -0
  11. package/dist/chunks/{chunk-T4ZG2WCV.js → chunk-4BLSASW6.js} +1 -1
  12. package/dist/chunks/{chunk-QOT4BYHM.js → chunk-52STSLCN.js} +1 -1
  13. package/dist/chunks/{chunk-3JI2CRXK.js → chunk-6EYQQ7GQ.js} +1 -1
  14. package/dist/chunks/{chunk-HOZQBBAO.js → chunk-6H2P5XUL.js} +1 -1
  15. package/dist/chunks/chunk-EUNKA2MP.js +1 -0
  16. package/dist/chunks/{chunk-ET66XVIM.js → chunk-FXRFFNRK.js} +1 -1
  17. package/dist/chunks/{chunk-FAEB3V5R.js → chunk-HFTI3R3Q.js} +1 -1
  18. package/dist/chunks/chunk-HIP66OBL.js +926 -0
  19. package/dist/chunks/{chunk-BTMPM5BT.js → chunk-IHDJDAG3.js} +1 -1
  20. package/dist/chunks/{chunk-MQCO3GXM.js → chunk-IUN7DBB4.js} +15 -15
  21. package/dist/chunks/{chunk-K4AZXTU6.js → chunk-IXXTQAO2.js} +1 -1
  22. package/dist/chunks/{chunk-PRTGV2R4.js → chunk-KMOTPBF5.js} +1 -1
  23. package/dist/chunks/{chunk-CBFC5KUU.js → chunk-M2LU3TCU.js} +1 -1
  24. package/dist/chunks/chunk-M46I73DX.js +42 -0
  25. package/dist/chunks/{chunk-MJL6DHQM.js → chunk-MX5Q32YU.js} +1 -1
  26. package/dist/chunks/chunk-P5HBJA23.js +1 -0
  27. package/dist/chunks/{chunk-NL4MAQSB.js → chunk-PTFCY2D5.js} +1 -1
  28. package/dist/chunks/{chunk-ODBYCQHC.js → chunk-SDPX2VPK.js} +1 -1
  29. package/dist/chunks/{click-B4ZRHV4Z.js → click-O33RKVOZ.js} +2 -2
  30. package/dist/chunks/{computer_action-2RYMIFAM.js → computer_action-BUZAZ3LJ.js} +1 -1
  31. package/dist/chunks/{custom_openai-TLPPKENJ.js → custom_openai-XMDYE7NM.js} +1 -1
  32. package/dist/chunks/{deepseek-2GJCWFSR.js → deepseek-WNWZJTNE.js} +1 -1
  33. package/dist/chunks/{drag-RNGTIO2V.js → drag-BZRZLDLG.js} +1 -1
  34. package/dist/chunks/{emergency_rollback-NXD2JKBG.js → emergency_rollback-ZHQXCIHW.js} +1 -1
  35. package/dist/chunks/{exec_command-A5JWE55Q.js → exec_command-WB2PILWK.js} +1 -1
  36. package/dist/chunks/{explabs-YICY4AMR.js → explabs-XHHXTERB.js} +1 -1
  37. package/dist/chunks/{export-C6VVIYP5.js → export-RU6LCZUB.js} +1 -1
  38. package/dist/chunks/{file_map-T5FHB3F6.js → file_map-UA4BA5OH.js} +1 -1
  39. package/dist/chunks/{find_file-LZR7NET3.js → find_file-HYHHFHUJ.js} +1 -1
  40. package/dist/chunks/{generate_image-75IV5P3L.js → generate_image-N2SIC5BA.js} +1 -1
  41. package/dist/chunks/{inferx-YMU7LMOQ.js → inferx-HP5AGET3.js} +2 -2
  42. package/dist/chunks/{infron-A4BOV2AA.js → infron-ULXG7VDA.js} +1 -1
  43. package/dist/chunks/{invoke-7JAD5QTF.js → invoke-O2YAE4FY.js} +2 -2
  44. package/dist/chunks/{invokeSync-WUKJNYGQ.js → invokeSync-URGZXNDC.js} +2 -2
  45. package/dist/chunks/{key_press-3VU6SHNQ.js → key_press-Y7F3VAKL.js} +1 -1
  46. package/dist/chunks/{keyboard_typing-PCW3ISET.js → keyboard_typing-IEVRWQJJ.js} +1 -1
  47. package/dist/chunks/{memory-4DXO4K5C.js → memory-7YOYCOXE.js} +1 -1
  48. package/dist/chunks/{mistral-2CZKHKDT.js → mistral-XDIMWAU3.js} +1 -1
  49. package/dist/chunks/{model_config-VYWFV55M.js → model_config-32SB7PTZ.js} +1 -1
  50. package/dist/chunks/{nvidia-EOLGFGFZ.js → nvidia-BN4YCFGY.js} +1 -1
  51. package/dist/chunks/{ollama-OHD5BFI7.js → ollama-4PI2BDMM.js} +1 -1
  52. package/dist/chunks/{openrouter-SK7LO52I.js → openrouter-6MRG4RT6.js} +1 -1
  53. package/dist/chunks/{paths-EQFOJDZC.js → paths-RQRI2XRY.js} +1 -1
  54. package/dist/chunks/{poolside-SAAXTNGR.js → poolside-ODFAIK4C.js} +1 -1
  55. package/dist/chunks/{saveSummary-ZSJ2UKLG.js → saveSummary-W2JMDVZJ.js} +1 -1
  56. package/dist/chunks/{screen_grid-Z2S4GMN5.js → screen_grid-7APUBF2H.js} +1 -1
  57. package/dist/chunks/{scroll-YSFTTROP.js → scroll-FIN5Z7W4.js} +1 -1
  58. package/dist/chunks/{search_keyword-SD6Q3UZE.js → search_keyword-YLKWY2XH.js} +1 -1
  59. package/dist/chunks/{secrets-GHW6AWRR.js → secrets-5TCTEPEV.js} +1 -1
  60. package/dist/chunks/{sensenova-MQKZ7TNO.js → sensenova-3K44URJQ.js} +1 -1
  61. package/dist/chunks/settings-IGHDSHFT.js +1 -0
  62. package/dist/chunks/{todo-KQCKHQBJ.js → todo-CJLWLWJB.js} +1 -1
  63. package/dist/chunks/{tokenharbor-QL33UGF4.js → tokenharbor-YV2GV2LM.js} +1 -1
  64. package/dist/chunks/{update_file-OQMKLO6R.js → update_file-CYGKZXSH.js} +1 -1
  65. package/dist/chunks/{usage-2WRVNL44.js → usage-IR23BYQX.js} +1 -1
  66. package/dist/chunks/{usageServer-6XH36WK3.js → usageServer-ZYJCDO27.js} +1 -1
  67. package/dist/chunks/view_file-I77KYUO5.js +1 -0
  68. package/dist/chunks/{web_scrape-KBKSNVBI.js → web_scrape-MW6YSZ7L.js} +1 -1
  69. package/dist/chunks/{web_search-HACFAHXR.js → web_search-NT3HXUO3.js} +1 -1
  70. package/dist/chunks/{write_docx-M5RMUI4W.js → write_docx-E3MTFXTQ.js} +1 -1
  71. package/dist/chunks/{write_file-2ZFCDYSW.js → write_file-TZ2Q6CEB.js} +1 -1
  72. package/dist/chunks/{write_pdf-E5HQYOTR.js → write_pdf-26OQPNEP.js} +1 -1
  73. package/dist/cli.js +13 -13
  74. package/dist/package.json +2 -2
  75. package/flux-flow.cjs +17 -17
  76. package/package.json +2 -2
  77. package/dist/chunks/ai-JI4UX2WD.js +0 -1
  78. package/dist/chunks/app-3NZMHG65.js +0 -331
  79. package/dist/chunks/chunk-2VV5ZE53.js +0 -41
  80. package/dist/chunks/chunk-FSE4BZZZ.js +0 -1
  81. package/dist/chunks/chunk-L3W2X74K.js +0 -1
  82. package/dist/chunks/chunk-M2ULCOL3.js +0 -2
  83. package/dist/chunks/chunk-M4GC3CRN.js +0 -919
  84. package/dist/chunks/settings-5R5ADGXX.js +0 -1
  85. package/dist/chunks/view_file-TZD6DAER.js +0 -1
@@ -1,41 +0,0 @@
1
- import{c as z}from"./chunk-M2ULCOL3.js";import G from"os";import{structuredPatch as V}from"diff";var R=t=>typeof t!="string"?t:t.length>12?(t+"").replace("",""):t,v=(t,r)=>{if(!t)return"";let d=/\x1B\[[0-?]*[ -/]*[@-~]/g,p=t.split(`
2
- `),c=[];if(r<=5)return t;let l=e=>e<32||e>=127&&e<160||e>=768&&e<=879||e>=7616&&e<=7679||e>=8400&&e<=8447||e>=65056&&e<=65071?0:e>=4352&&e<=4447||e>=9001&&e<=9002||e>=11904&&e<=12350||e>=12352&&e<=42191||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65135||e>=65280&&e<=65376||e>=65504&&e<=65510||e>=127744&&e<=128591||e>=128640&&e<=128767||e>=131072&&e<=262141?2:1,x=e=>{let i=e.replace(d,""),s=0;for(let o=0;o<i.length;o++){let u=i.codePointAt(o);u>65535&&o++,s+=l(u)}return s},C=(e,i)=>{let s=0,o=e.length,u=!1;for(let g=0;g<e.length;g++){if(e[g]==="\x1B"&&e[g+1]==="["&&(u=!0),u){(e[g]==="m"||e[g]>="@"&&e[g]<="~"&&e[g]!=="[")&&(u=!1);continue}let F=e.codePointAt(g);F>65535&&g++;let L=l(F);if(s+L>i){o=F>65535?g-1:g;break}if(s+=L,s>=i){o=g+1;break}}return{head:e.substring(0,o),tail:e.substring(o)}};return p.forEach(e=>{if(x(e)<=r){c.push(e);return}let s=e.split(/(\s+)/),o="",u=0,g=e.match(/^(\s*)/),F=g?g[1]:"";s.forEach(L=>{if(L.length===0)return;let h=L;for(;h.length>0;){let $=x(h);if(u+$<=r){o+=h,u+=$;break}o.trim().length>0&&(c.push(o.trimEnd()),o=F.substring(0,Math.min(F.length,8)),u=x(o));let n=Math.max(1,r-u);if(x(h)>n){let{head:a,tail:f}=C(h,n);c.push((o+a).trimEnd()),o=F.substring(0,Math.min(F.length,8)),u=x(o),h=f}else o+=h,u+=x(h),h=""}}),(o.trimEnd().length>0||o===F)&&c.push(o.trimEnd())}),R(c.join(`
3
- `))},ot=t=>{if(!t)return 0;let r=0,d=t.match(/[\u4e00-\u9fa5\u3040-\u309f\u30a0-\u30ff\uac00-\ud7af]/g);d&&(r+=d.length*.55);let p=t.replace(/[\u4e00-\u9fa5\u3040-\u309f\u30a0-\u30ff\uac00-\ud7af]/g," "),c=p.match(/[<>/\._@#$%^&*+=`~|\\:;!?'"()\[\]{}-]+/g);c&&(r+=c.length);let l=p.split(/[\s<>/\._@#$%^&*+=`~|\\:;!?'"()\[\]{}-]+/g).filter(Boolean);return r+=l.length,Math.max(.1,r)},lt=t=>t?t.match(/[\u4e00-\u9fa5\u3040-\u309f\u30a0-\u30ff\uac00-\ud7af]|\s+|[<>/\._@#$%^&*+=`~|\\:;!?'"()\[\]{}-]+|[^\s<>/\._@#$%^&*+=`~|\\:;!?'"()\[\]{}\-\u4e00-\u9fa5\u3040-\u309f\u30a0-\u30ff\uac00-\ud7af]+/g)||[t]:[],ct=t=>{if(!t&&t!==0)return"0.0k";let r=typeof t=="string"?parseFloat(t):t;return r>=1e6?`${(r/1e6).toFixed(1)}m`:r>=1e3?`${(r/1e3).toFixed(1)}k`:r.toString()},at=(t,r=40)=>{let d=z.replaceAll("\\\\","\\");if(t=t.replace(G.homedir(),"~").replace(d,"FluxFlow").replaceAll("\\","/"),!t||t.length<=r)return R(t);let p=Math.floor((r-3)/2);return R(t.substring(0,p)+"..."+t.substring(t.length-p).replaceAll("\\","/"))},ft=t=>{let r=[],d=new Set,p=t.allowMultiple===!0||String(t.allowMultiple).toLowerCase()==="true";Object.keys(t).forEach(e=>{let i=e.match(/^(searchContent|search_content|replaceContent|replace_content|newContent|new_content|content_to_replace|content_to_add|searchBlock|search_block|newBlock|new_block)_?(\d+)?$/i);if(i){let s=i[2]?parseInt(i[2],10):1;d.add(s)}});let c=Array.from(d).sort((e,i)=>e-i),l=["searchContent","search_content","replaceContent","replace_content","content_to_replace","searchBlock","search_block"],x=["newContent","new_content","content_to_add","newBlock","new_block"],C=(e,i,s)=>{let o,u;for(let g of i){let F=e===1?[`${g}1`,g,`${g}_1`]:[`${g}${e}`,`${g}_${e}`];for(let L of F)if(t[L]!==void 0){o=t[L];break}if(o!==void 0)break}for(let g of s){let F=e===1?[`${g}1`,g,`${g}_1`]:[`${g}${e}`,`${g}_${e}`];for(let L of F)if(t[L]!==void 0){u=t[L];break}if(u!==void 0)break}return{r:o,n:u}};for(let e of c){let{r:i,n:s}=C(e,l,x);if(i!==void 0&&s!==void 0)r.push({replace:i,new:s});else if(i!==void 0||s!==void 0)return{error:`Mismatched replacement pair for index ${e}. Both replacement and new content must be provided.`,allowMultiple:p}}return{patchPairs:r,allowMultiple:p}},K=t=>{if(!t)return null;let r="",d=0,p=t.length;for(;d<p;){let c=t[d];if(c==="\\"){for(;d<p&&t[d]==="\\";)d++;r+="\\\\*"}else if(c===`
4
- `)r+="(?:\\r?\\n|\\\\*n|\\\\*r|\\s*)",d++;else if(c==="\r")r+="(?:\\r|\\\\*r)?",d++;else if(c===" ")r+="(?:\\t|\\\\*t|\\s*)",d++;else if(c==='"'||c==="'"||c==="`")r.endsWith("\\\\*")||(r+="\\\\*"),r+=c,d++;else if(/[.*+?^${}()|[\]]/.test(c))r+="\\"+c,d++;else if(/\s/.test(c)){for(;d<p&&/\s/.test(t[d])&&t[d]!==`
5
- `&&t[d]!=="\r"&&t[d]!==" ";)d++;r+="\\s*"}else r+=c,d++}if(!r)return null;try{return new RegExp(r,"g")}catch{return null}},ut=(t,r,d={})=>{let p=typeof d=="boolean"?d:!!(d&&d.allowMultiple),c=t.replace(/\r\n/g,`
6
- `).replace(/\r/g,`
7
- `),l=n=>n.replace(/^```[\w]*\n?/,"").replace(/```\s*$/,"").replace(/\r\n/g,`
8
- `).replace(/\r/g,`
9
- `),x=n=>n.match(/^\s*/)[0],C=n=>{let a=n.split(`
10
- `).filter(S=>S.trim()!=="");if(a.length===0)return"";let f=x(a[0]);for(let S of a){let k=x(S);k.length<f.length&&(f=k)}return f},e=(n,a,f="")=>{if(!n||a===void 0)return n;let k=/^\t/m.test(a)?" ":" ",I=b=>b.split(`
11
- `).find(y=>y.trim()!=="")??"",E=I(a).match(/^\s*/)[0].length,m=I(n).match(/^\s*/)[0].length,w=E-m,M=(f.match(/^\s*/)||[""])[0].length;return n.split(`
12
- `).map((b,y)=>{if(b.trim()===""&&y!==0)return"";let A=b.match(/^\s*/)[0].length,_=Math.max(0,A+w);return y===0&&(_=Math.max(0,_-M)),k.repeat(_)+b.trimStart()}).join(`
13
- `)},i=[];for(let n=0;n<r.length;n++){let a=r[n],f=(a.replace||"").trim(),S=l(a.new||"");if(f.startsWith("^LINE:")&&f.endsWith("$")){let M=f.slice(6,-1).trim().split(".."),T=parseInt(M[0]),b=M[1]!==void 0?parseInt(M[1]):T;if(!isNaN(T)&&!isNaN(b)){let y=c.split(`
14
- `);if(T<1||T>y.length||b<T||b>y.length){i.push({index:n,success:!1,error:`Block ${n+1}: Line range ^LINE:${T}..${b}$ out of bounds (file has ${y.length} lines).`});continue}let _=y.slice(T-1,b).join(`
15
- `),N=0;for(let P=0;P<T-1;P++)N+=y[P].length+1;i.push({index:n,success:!0,startPos:N,firstMatchContent:_,content_to_add:S});continue}}let k=l(a.replace||"");if(k===""&&S===""){i.push({index:n,success:!1,error:`Block ${n+1}: Empty replace and add content.`});continue}let I=k.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),E=null;if(k!==""&&c.includes(k))E=new RegExp(I,"g");else{let w=k.split(`
16
- `).map(M=>M.trim()).filter(M=>M.length>0).map(M=>M.replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/\s+/g,"\\s*"));if(w.length>0){let M=w.join("\\s*");try{E=new RegExp(M,"g")}catch{E=new RegExp(I,"g")}}else E=new RegExp(I,"g")}let m=[...c.matchAll(E)];if(m.length===0&&k!==""){let w=K(k);w&&(m=[...c.matchAll(w)])}if(m.length===0){i.push({index:n,success:!1,error:`Block ${n+1}: Could not find match.`});continue}if(m.length>1&&!p){i.push({index:n,success:!1,error:`Block ${n+1}: Found ${m.length} matches (must be unique or use allowMultiple: true if sure).`});continue}for(let w of m)i.push({index:n,success:!0,startPos:w.index,firstMatchContent:w[0],content_to_add:S})}let s=i.filter(n=>n.success).sort((n,a)=>n.startPos-a.startPos);for(let n=0;n<s.length-1;n++){let a=s[n],f=s[n+1];a.startPos+a.firstMatchContent.length>f.startPos&&(a.success=!1,a.error=`Block ${a.index+1}: Overlaps with another block.`,f.success=!1,f.error=`Block ${f.index+1}: Overlaps with another block.`)}let o=new Map,u=c,g=0,F=0,L=i.filter(n=>n.success).sort((n,a)=>n.startPos-a.startPos);for(let n of L){let a=n.startPos,f=c.substring(0,a).split(`
17
- `).length,S=a+g,k=f+F,I=u.lastIndexOf(`
18
- `,S)+1,E=u.substring(I,S),m=e(n.content_to_add,n.firstMatchContent,E),w=u.split(`
19
- `),M=[];for(let A=Math.max(0,k-4);A<k-1;A++)M.push({num:A+1,text:w[A]});let T=n.firstMatchContent.split(`
20
- `),b=[],y=k+T.length-1;for(let A=y;A<Math.min(w.length,y+3);A++)b.push({num:A+1,text:w[A]});o.set(n,{success:!0,index:n.index,oldContent:n.firstMatchContent,newContent:m,originalStartLine:f,finalStartLine:k,contextBefore:M,contextAfter:b}),u=u.substring(0,S)+m+u.substring(S+n.firstMatchContent.length),g+=m.length-n.firstMatchContent.length,F+=m.split(`
21
- `).length-n.firstMatchContent.split(`
22
- `).length}let h=[];for(let n=0;n<r.length;n++){let a=L.filter(f=>f.index===n);if(a.length>0)for(let f of a)o.has(f)&&h.push(o.get(f));else{let f=i.find(S=>S.index===n);h.push({success:!1,error:f?f.error:`Block ${n+1}: Unknown error.`})}}let $=h.filter(n=>!n.success&&n.error&&n.error.includes("Could not find match"));if($.length===1)$[0].error+=" (Use Line Anchor or Run tool safely if search string fails)";else if($.length>1){let n=$[$.length-1];n.error+=`
23
- (Tip: Use Line Anchor or Run tool safely if search string fails)`}return{content:u,results:h}},ht=(t,r,d,p=8,c=!1)=>{if(t===r)return"";let l=(t||"").split(/\r?\n/),x=(r||"").split(/\r?\n/),C=Math.max(l.length,x.length,1),e=Math.max(4,String(C).length),i=g=>String(g).padStart(e," "),s=`[DIFF_START]
24
- `,o="\u2550".repeat(88),u=V("","",t||"",r||"","","",{context:3});if(!u||!u.hunks||u.hunks.length===0)return"";if(u.hunks.forEach((g,F)=>{F>0&&(s+=`[UI_CONTEXT] ${o}
25
- `);let L=g.oldStart,h=g.newStart;for(let $ of g.lines){let n=$[0],a=$.slice(1);n===" "?(s+=`[UI_CONTEXT] ${i(h)} |${a}
26
- `,L++,h++):n==="-"?(s+=`-${i(L)} |${a}
27
- `,L++):n==="+"&&(s+=`+${i(h)} |${a}
28
- `,h++)}}),c){let g=`[DIFF_START]
29
- `,F=s.substring(g.length),L=`[UI_CONTEXT] ${o}
30
- `,$=F.split(L).map(n=>n.split(`
31
- `).filter(f=>f.trim()!=="").length>120?`[[VERIFIED]]
32
- ${n}
33
- [[/VERIFIED]]`:n);s=g+$.join(L)}return s+="[DIFF_END]",R(s)},Y=t=>{if(!t)return null;let r=t.replace("[UI_CONTEXT]","").replace(/\r/g,""),d=r.startsWith("-"),p=r.startsWith("+"),c=d||p?r.substring(1):r,l=c.indexOf("|"),x=l!==-1?R(c.substring(0,l).trim()):"",C=R(l!==-1?c.substring(l+1):c);return{isR:d,isA:p,num:x,content:C}},q=(t,r)=>{if(!t&&!r)return 1;if(!t||!r)return 0;let d=t.length,p=r.length,c=t,l=r;d<p&&(c=r,l=t);let x=c.length,C=l.length,e=new Int32Array(C+1),i=new Int32Array(C+1);for(let u=0;u<=C;u++)e[u]=u;for(let u=1;u<=x;u++){i[0]=u;let g=c[u-1];for(let F=1;F<=C;F++)g===l[F-1]?i[F]=e[F-1]:i[F]=Math.min(e[F],i[F-1],e[F-1])+1;e.set(i)}let s=e[C],o=Math.max(d,p);return o===0?1:1-s/o},X=t=>{let r=[],d=[];t.forEach((s,o)=>{s.parsed.isR?r.push({index:o,content:s.parsed.content}):s.parsed.isA&&d.push({index:o,content:s.parsed.content})});let p=r.length,c=d.length;if(p===0||c===0)return;let l=Array.from({length:p+1},()=>Array(c+1).fill(0)),x=Array.from({length:p+1},()=>Array(c+1).fill(""));for(let s=1;s<=p;s++)x[s][0]="up";for(let s=1;s<=c;s++)x[0][s]="left";let C=Array.from({length:p},()=>Array(c).fill(0));for(let s=0;s<p;s++)for(let o=0;o<c;o++)C[s][o]=q(r[s].content.trim(),d[o].content.trim());for(let s=1;s<=p;s++)for(let o=1;o<=c;o++){let u=C[s-1][o-1],g=u>=.2?u:-10,F=l[s-1][o-1]+g,L=l[s-1][o],h=l[s][o-1];F>=L&&F>=h?(l[s][o]=F,x[s][o]="diag"):L>=h?(l[s][o]=L,x[s][o]="up"):(l[s][o]=h,x[s][o]="left")}let e=p,i=c;for(;e>0||i>0;)if(x[e][i]==="diag"){if(C[e-1][i-1]>=.2){let o=r[e-1].index,u=d[i-1].index;t[o].pairContent=t[u].parsed.content,t[u].pairContent=t[o].parsed.content}e--,i--}else x[e][i]==="up"?e--:i--},B=new Map,O=new Map,H=200,W=5,U=(t,r)=>{r.set(t.key,t),t.type==="chunk"&&t.blocks&&t.blocks.forEach(d=>U(d,r))},dt=(t,r)=>{if(!t)return{completed:[],active:[]};let d=`${t.id}-${t.text?.length||0}-${r}-${t.isStreaming}-${t.workedDuration||0}`;if(!t.isStreaming&&B.has(d))return B.get(d);let p=R(nt(t.text||"",t.role)),c=`${t.id}-${r}`,l=new Map;if(t.isStreaming){let h=O.get(c);h&&p.startsWith(h.text)&&(l=h.blocksMap)}let x=(h,$,n,a={})=>{let f=l.get(h);if(f&&f.text===n&&f.type===$&&!!f.isActiveBlock==!!a.isActiveBlock&&!!f.isStreaming==!!a.isStreaming&&f.pairContent===a.pairContent)return f;let S=R(n),k={...a};return typeof k.pairContent=="string"&&(k.pairContent=R(k.pairContent)),Array.isArray(k.wrappedLines)&&(k.wrappedLines=k.wrappedLines.map(R)),{key:h,isStreamingMsg:!!t.isStreaming,workedDuration:t.workedDuration,type:$,text:S,msg:$==="full-message"?t:void 0,...k}};if(p.includes("- Content Preview:")){let h="",$=p.match(/File\s+\[(.*?)\]/i);$&&(h=$[1].split(".").pop().toLowerCase());let k=((p.split("- Content Preview:")[1]||"").split("[SYSTEM] Check the content preview for verification [/SYSTEM]")[0]?.trim()||"").split(`
34
- `).map(b=>b.replace(/\r$/,"")),I=String(k.length).length,E=[],m=null,w=[],M=()=>{if(!w.length)return;let b=w;w=[],E.push(b.length===1?b[0]:{key:`${b[0].key}-chunk`,type:"chunk",blocks:b})},T=r-(I+6);return k.forEach((b,y)=>{let A=y===k.length-1,_=v(b,T).split(`
35
- `),N=x(`${t.id||Date.now()}-write-line-${y}`,"write-line",b,{gutterWidth:I,lineNum:y+1,isFirstLine:y===0,isLastLine:A,extension:h,wrappedLines:_});A&&t.isStreaming?(M(),m=N):(w.push(N),w.length>=W&&M())}),M(),{completed:E,active:m?[m]:[]}}if(p.includes("[DIFF_START]")){let h=p.match(/\[DIFF_START\]([\s\S]*?)(?:\[DIFF_END\]|$)/),n=(h?h[1].trim():"").split(`
36
- `).map(m=>m.replace(/\r$/,"")),a=n.map(m=>({line:m,parsed:Y(m),pairContent:null})),f=[];for(let m=0;m<a.length;m++){let w=a[m];w.parsed&&(w.parsed.isR||w.parsed.isA)?f.push(w):f.length>0&&(X(f),f=[])}f.length>0&&X(f);let S=[],k=null,I=[],E=()=>{if(!I.length)return;let m=I;I=[],S.push(m.length===1?m[0]:{key:`${m[0].key}-chunk`,type:"chunk",blocks:m})};return n.forEach((m,w)=>{let M=w===n.length-1,T=a[w].parsed,b=null;T&&(b=v(T.content,r-17).split(`
37
- `));let y=x(`${t.id||Date.now()}-diff-${w}`,"diff-line",m,{isFirstLine:w===0,isLastLine:M,pairContent:a[w].pairContent,wrappedLines:b});M&&t.isStreaming?(E(),k=y):(I.push(y),I.length>=W&&E())}),E(),{completed:S,active:k?[k]:[]}}if(t.role==="system"||t.isLogo||t.isHelpRecord||t.isTerminalRecord||t.isHomeWarning||t.isImageStats||t.isAskRecord||t.isAboutRecord||t.isUpdateNotification||t.role==="user")return{completed:[x(`${t.id||Date.now()}-full`,"full-message",p)],active:[]};if(!p&&!t.isStreaming){let h={completed:[],active:[]};return B.set(d,h),h}let C=[],e=null,i=[],s=null,o=()=>{if(!i.length)return;let h=i;i=[],s=null,C.push(h.length===1?h[0]:{key:`${t.id||"x"}-chunk-${h[0].key}`,type:"chunk",blocks:h})},u=(h,$=!1)=>{if(s!==null&&s!==h.type&&o(),i.push(h),s=h.type,i.length>=W){if(t.isStreaming&&$)return;o()}},g=Math.max(20,(r||80)-6),F=Math.max(20,(r||80)-8);if(t.role==="think"){C.push(x(`${t.id}-header`,"think-header","",{duration:t.duration}));let h=p.split(`
38
- `),$=[];h.forEach(n=>{v(n,F).split(`
39
- `).forEach(f=>$.push(f))}),$.forEach((n,a)=>{let f=a===$.length-1;u(x(`${t.id}-${a}`,"think-line",n,{}),f)}),t.isStreaming||(o(),C.push({key:`${t.id}-footer-padding`,type:"think-footer-padding",text:""}))}else{let h=p.split(`
40
- `),$=!1,n=[],a=!1,f="",S=0,k=0,I=[];h.forEach(E=>{let m=E.trim();m.startsWith("```")?(a=!a,I.push(E)):a||m.startsWith("|")?I.push(E):v(E,g).split(`
41
- `).forEach(M=>I.push(M))}),a=!1,I.forEach((E,m)=>{let w=m===I.length-1,M=E.trim().startsWith("|"),T=E.trim().startsWith("```");if(a)T?(a=!1,u(x(`${t.id}-code-close-${k}`,"code-fence-close","",{}),w)):(S++,u(x(`${t.id}-code-line-${m}`,"code-line",E,{lineNum:S,lang:f}),w));else if(T)a=!0,k=m,S=0,f=E.trim().replace(/^```/,"").trim(),u(x(`${t.id}-code-open-${m}`,"code-fence-open",f,{}),w);else if(M){if($||($=!0,n=[]),n.push(E),n.length===2){let b=n[0],y=b.split("|");y[0]!==void 0&&y[0].trim()===""&&y.shift(),y.length>0&&y[y.length-1].trim()===""&&y.pop();let A=y.map(_=>_.trim());u(x(`${t.id}-table-hdr-${m}`,"table-header",b,{colHeaders:A,colCount:A.length}),w)}else if(n.length>2){let b=E.split("|");b[0]!==void 0&&b[0].trim()===""&&b.shift(),b.length>0&&b[b.length-1].trim()===""&&b.pop();let y=b.map(P=>P.trim()),A=n[0].split("|");A[0]!==void 0&&A[0].trim()===""&&A.shift(),A.length>0&&A[A.length-1].trim()===""&&A.pop();let _=A.map(P=>P.trim()),N=Math.max(1,_.length);u(x(`${t.id}-table-row-${m}`,"table-row",E,{cells:y,colHeaders:_,colCount:N,rowIndex:n.length-3}),w)}w&&!t.isStreaming&&(o(),u(x(`${t.id}-table-end-${m}`,"table-close","",{}),!0))}else $&&(u(x(`${t.id}-table-end-${m}`,"table-close","",{}),w),$=!1,n=[]),u(x(`${t.id}-${m}`,"agent-line",E,{}),w)}),!t.isStreaming&&t.workedDuration&&(o(),C.push(x(`${t.id}-worked-duration`,"worked-duration","")))}t.isStreaming&&i.length>0?e=i.length===1?i[0]:{key:`${t.id||"x"}-chunk-active-${i[0].key}`,type:"chunk",blocks:i}:o();let L={completed:C,active:e?[e]:[]};if(t.isStreaming){let h=new Map;if(C.forEach($=>U($,h)),e&&U(e,h),O.set(c,{text:p,blocksMap:h}),O.size>H){let $=O.keys().next().value;O.delete($)}}else{if(B.set(d,L),B.size>H){let h=B.keys().next().value;B.delete(h)}O.delete(c)}return L},Z={},J=/(\r?\n){2}(?=\[?(?:tool:(?:functions\.)?|tool\.functions|action:(?:functions\.)?|action:|action\.functions|\s*turn\s*:))/gi,D=(t,r)=>{let d=!1,p=!1,c=0;for(;c<r;){if(t.startsWith("```",c)){p=!p,c+=3;continue}!p&&t[c]==="`"&&(c===0||t[c-1]!=="\\")&&(d=!d),c++}return p||d},Q=/\[SYSTEM\][\s\S]*?\[\/SYSTEM\]|\[ANSWER\][\s\S]*?(?:\[\/ANSWER\]|$)|\[(?:TOOL|ACTION) RESULTS?\]:?\s*|^\s*(SUCCESS|ERROR):.*(\r?\n)?|\[\s*turn\s*:\s*(continue|finish)\s*\]|\[\[END\]\]|\[\s*turn\s*:?.*?$|\n\s*turn\s*:?.*?$|\[\s*(?:turn|ANSWER|TOOL|ACTION).*?$|\n\nResponded on .*|\n\n\[Prompted on: .*\]|@\[TerminalName:.*?, ProcessId:.*?\]/gm,tt=/(\$?\\?\/?\\rightarrow\$?|\$\\rightarrow\$)|(\$?\\?\/?\\leftarrow\$?|\$\\leftarrow\$)|(\$?\\?\/?\\uparrow\$?|\$\\uparrow\$)|(\$?\\?\/?\\downarrow\$?|\$\\downarrow\$)|(\$?\\?\/?\\leftrightarrow\$?|\$\\leftrightarrow\$)/gi,et=/\b(write_file|update_file|read_folder|view_file|exec_command|web_search|web_scrape|search_keyword|write_pdf|write_docx|generate_image)\b/gi,j=!1,nt=(t,r="agent")=>{if(!t)return t;let d=r===!0||r==="think",p=r===!1||r==="agent",c=t.replace(/<\|channel>thought/gi,"<think>").replace(/<channel\|>/gi,"</think>");if(d)return c.replace(/^<(think|thought|thoughts|thinking)>/gi,"").replace(/<\/(think|thought|thoughts|thinking)>$/gi,"").replace(/^\r?\n+/,"").replace(/\r?\n+$/,"");let l=c;p&&(l=l.replace(/<\/?(?:think|thought|thoughts|thinking)>/gi,(e,i,s)=>D(s,i)?e:""),l=l.replace(J,(e,i,s,o)=>!j&&D(o,s)?e:""),l&&(l.includes("[tool:")||l.includes("[action:"))&&(l=l.replace(/<(\w+)(?:[^>]*)>\s*([\s\S]*?\[(?:tool|action):[^\]]*\][\s\S]*?)\s*<\/\1>/gi,(e,i,s)=>s&&(s.includes("[tool:")||s.includes("[action:"))?s.trim():e),j&&(l=l.replace(/```(?:tool|action|yaml|function|json)?\s*\n?([\s\S]*?)\n?\```/gi,(e,i)=>i.includes("[tool:")||i.includes("[action:")?i.trim():e))));let x="tool:",C="action:";if(p&&(l.toLowerCase().includes(x)||l.toLowerCase().includes(C)))for(;;){let e=l.toLowerCase(),i=e.indexOf(x),s=e.indexOf(C),o=x,u=i;if((i===-1||s!==-1&&s<i)&&(o=C,u=s),u===-1)break;if(!j&&D(l,u)){let f=-1,S=0;for(;;){let k=e.indexOf(x,S),I=e.indexOf(C,S),E=-1,m=x;if(k===-1&&I===-1)break;if(k===-1||I!==-1&&I<k?(E=I,m=C):E=k,!D(l,E)){f=E,o=m;break}S=E+m.length}if(f===-1)break;u=f}let g=u,F=!1,L=u-1;for(;L>=0&&/\s/.test(l[L]);)L--;L>=0&&l[L]==="["&&(g=L,F=!0);let h=0,$=!1,n=null,a=u;for(;a<l.length;){let f=l[a];if(!n&&(f==="'"||f==='"'||f==="`")?n=f:n&&f===n&&l[a-1]!=="\\"&&(n=null),n||(f==="("?(h++,$=!0):f===")"&&h--),$&&h===0&&!n){let S=a;if(F){let k=a+1;for(;k<l.length&&/\s/.test(l[k]);)k++;k<l.length&&l[k]==="]"&&(S=k)}l=l.substring(0,g)+l.substring(S+1);break}if(a++,a===l.length)return $&&h>0&&(l=l.substring(0,g)),l}}return l=l.replace(Q,""),l=l.replace(tt,e=>{let i=e.toLowerCase();return i.includes("leftrightarrow")?"\u2194":i.includes("rightarrow")?"\u2192":i.includes("leftarrow")?"\u2190":i.includes("uparrow")?"\u2191":i.includes("downarrow")?"\u2193":e}),l=l.replace(et,e=>Z[e.toLowerCase()]||e),l.trim()},pt=()=>{B.clear(),O.clear()};export{R as a,v as b,ot as c,lt as d,ct as e,at as f,ft as g,ut as h,ht as i,Y as j,X as k,dt as l,nt as m,pt as n};
@@ -1 +0,0 @@
1
- import{e as g,f as c}from"./chunk-L3W2X74K.js";import{b as s}from"./chunk-M2ULCOL3.js";import n from"fs-extra";import m from"path";var r={mode:"Flux",display:0,thinkingLevel:"Medium",aiProvider:"",activeModel:"",showFullThinking:!0,apiTier:"Free",quotas:{agentLimit:999999,backgroundLimit:999999,searchLimit:100,customModelId:"",customLimit:0,providerTiers:{Google:"Free",DeepSeek:"Free",NVIDIA:"Free",OpenRouter:"Free",InferX:"Free",SenseNova:"Free",Poolside:"Free",ExpLabs:"Free",TokenHarbor:"Free",Infron:"Free",APInex:"Free",c_openai:"Free"}},systemSettings:{customOpenAIBaseUrl:"",memory:!1,theme:"Dark",compression:0,autoExec:!0,allowExternalAccess:!1,advanceRollback:!1,autoDeleteHistory:"7d",useExternalData:!1,externalDataPath:"",preserveThinking:!0,loadingPhrases:!1,progressiveRendering:!0,showTPMEstimate:!0,subAgents:!1,CustomSubAgent:!1,SubAgentModel:"Default",SubAgentProvider:"",dynamicDirAwareness:!1,indentationTree:!0,ollamaEndpoint:"Cloud",compressToolResults:!1,autoTruncateResults:!0,imageHistoryCU:"Standard",contextLength:"256k",keepReasoningContext:!1,autoExcludeMetadata:!1,disableTodo:!1,alwaysAskFiles:".env, .env.*, *.env"},profileData:{name:null,nickname:null,instructions:null},imageSettings:{keyType:"Default",quality:"Low-High",apiKey:""}},d=async()=>{let t={...r};try{if(await n.exists(s)){let e=g(s);if(e.imageSettings&&e.imageSettings.apiKey)try{let a=e.imageSettings.apiKey,{saveSecret:i}=await import("./secrets-GHW6AWRR.js");await i("POLLINATIONS_API_KEY",a),e.imageSettings.apiKey="",c(s,e)}catch{}t={...r,...e,quotas:{...r.quotas,...e.quotas,providerTiers:{...r.quotas.providerTiers,...e.quotas?.providerTiers||{}}},systemSettings:{...r.systemSettings,...e.systemSettings},profileData:{...r.profileData,...e.profileData},imageSettings:{...r.imageSettings,...e.imageSettings}}}}catch(e){console.error("Failed to load settings:",e)}try{let{getSecret:e}=await import("./secrets-GHW6AWRR.js"),a=await e("POLLINATIONS_API_KEY");a&&(t.imageSettings.apiKey=a)}catch{}if(t.showFullThinking===!1){t.showFullThinking=!0;try{c(s,t)}catch{}}return t},p=async t=>{let{FLUXFLOW_DIR:e}=await import("./paths-EQFOJDZC.js"),a=["logs","secret"];for(let i of a){let l=m.join(e,i),o=m.join(t,i);try{await n.exists(l)&&(await n.ensureDir(o),await n.copy(l,o,{overwrite:!0}))}catch(u){console.error(`Migration failed for ${i}:`,u)}}},v=async t=>{try{let e=await d();if(!e.systemSettings.useExternalData&&t.systemSettings?.useExternalData&&t.systemSettings?.externalDataPath&&await p(t.systemSettings.externalDataPath),t.imageSettings&&t.imageSettings.apiKey!==void 0){let{saveSecret:i,removeSecret:l}=await import("./secrets-GHW6AWRR.js"),o=t.imageSettings.apiKey;o?await i("POLLINATIONS_API_KEY",o):await l("POLLINATIONS_API_KEY")}let a={...e,...t};a.systemSettings&&(a.systemSettings.dynamicDirAwareness=!1),a.imageSettings&&(a.imageSettings={...a.imageSettings,apiKey:""}),await n.ensureDir(m.dirname(s)),c(s,a);try{let{invalidateCachedBaseUrl:i}=await import("./usage-2WRVNL44.js");i()}catch{}return!0}catch(e){return console.error("Failed to save settings:",e),!1}};export{d as a,v as b};
@@ -1 +0,0 @@
1
- import c from"fs";import a from"path";import i from"crypto";var d=66,p=!0,l=t=>{let n=Buffer.isBuffer(t)?t:Buffer.from(t),e=Buffer.alloc(n.length);for(let r=0;r<n.length;r++)e[r]=n[r]^d;return e},u="aes-256-cbc",y=i.createHash("sha256").update("fluxflow-cli-sanctuary-key").digest(),h=(t,n=!1)=>{if(p&&!n)return t;let e=i.randomBytes(16),r=i.createCipheriv(u,y,e),s=r.update(t,"utf8","hex");return s+=r.final("hex"),e.toString("hex")+":"+s},m=(t,n=!1)=>{if(p&&!n)return t;let e=t.split(":");if(e.length!==2)throw new Error("Invalid AES format");let r=Buffer.from(e[0],"hex"),s=e[1],o=i.createDecipheriv(u,y,r),f=o.update(s,"hex","utf8");return f+=o.final("utf8"),f},x=(t,n={})=>{try{if(!c.existsSync(t))return n;let e=c.readFileSync(t),r=e.toString("utf8").trim();if(r.startsWith("{")||r.startsWith("["))return JSON.parse(r);try{let o=m(r,!0);return JSON.parse(o)}catch{}let s=l(e).toString("utf8");if(s.startsWith("{")||s.startsWith("["))return JSON.parse(s);throw new Error("Unsupported or corrupt encryption format")}catch(e){return console.error(`Vault Read Error [${a.basename(t)}]:`,e.message),n}},S=(t,n,e=!1)=>{try{let r=a.dirname(t);c.existsSync(r)||c.mkdirSync(r,{recursive:!0});let s=JSON.stringify(n,null,2),o=h(s,e);c.writeFileSync(t,o,"utf8")}catch(r){console.error(`Vault Write Error [${a.basename(t)}]:`,r.message)}},A=x,J=S;export{h as a,m as b,x as c,S as d,A as e,J as f};
@@ -1,2 +0,0 @@
1
- import E from"os";import e from"path";import l from"fs";import d from"crypto";import{minimatch as _}from"minimatch";var p=e.join(E.homedir(),".fluxflow"),h=e.join(p,"settings.json"),x=null;try{if(l.existsSync(h)){let n=l.readFileSync(h,"utf8").trim(),a;if(n.startsWith("{"))a=JSON.parse(n);else{let t=n.split(":");if(t.length===2){let o=Buffer.from(t[0],"hex"),m=t[1],i=d.createHash("sha256").update("fluxflow-cli-sanctuary-key").digest(),c=d.createDecipheriv("aes-256-cbc",i,o),r=c.update(m,"hex","utf8");r+=c.final("utf8"),a=JSON.parse(r)}}if(a){let t=a.systemSettings||{};t.useExternalData&&t.externalDataPath&&(x=e.normalize(t.externalDataPath.trim()))}}}catch{}var u=x||p,S=e.join(u,"logs"),s=e.join(u,"secret"),v=e.join(s,"history.json"),C=e.join(s,"history"),b=e.join(p,"usage.json"),T=e.join(s,"usage.json"),A=e.join(s,"timed_usage"),F=e.join(s,"memories.json"),R=e.join(s,"memory-temp.json"),k=e.join(s,"temp-memory-chat.json"),w=e.join(u,"backups"),O=e.join(s,"ledger.json"),W=e.join(s,"ledgerAdvance.json"),N=e.join(s,"active_tx.json"),G=e.join(s,"path.json"),P=e.join(s,"context.json"),M=e.join(u,"parsers"),B=e.join(p,".cache","CU"),U=e.join(p,"thinking_config.json"),$=[".git","node_modules",".gemini","dist","build",".next","out",".cache","bin","obj","vendor","venv",".idea",".gradle",".terraform","target","coverage",".vscode",".svn",".hg",".fslckout",".github",".gitlab",".circleci",".gitea",".gitee",".lerna",".changeset",".nx",".npm",".yarn",".pnpm-store",".pnpm",".expo",".nuxt",".svelte-kit",".docusaurus",".turbo",".vercel","bower_components",".netlify",".vuepress",".quasar",".output",".angular","jspm_packages",".parcel-cache",".rollup.cache",".rspack",".vitepress","__pycache__",".pytest_cache",".mypy_cache",".tox",".poetry","env","vhdl",".ipynb_checkpoints",".jupyter",".conda",".pdm-build",".bundle",".yardoc",".metadata","App_Data","ClientBin",".cargo",".rustc_info",".go","Godeps","_vendor",".rake_tasks","CMakefiles",".wakatime",".dart_tool",".fvm",".cocoapods","Pods",".pub-cache",".symlinks","DerivedData",".xcworkspace",".serverless",".aws",".gcloud",".azure",".kube",".vagrant",".docker","postgres-data","redis-data","mongo-data",".Spotlight-V100",".Trashes","$RECYCLE.BIN","System Volume Information",".DocumentRevisions-V100",".fseventsd","AppData","Application Data","Local","LocalLow","Roaming","$WinREAgent","$WINDOWS.~BT","$WINDOWS.~WS","scw","System32","SysWOW64",".AppleDouble",".AppleDB",".AppleDesktop","_CodeSignature",".cmio",".LSOverride",".localized",".TemporaryItems",".Trash",".Trash-0",".Trash-1000",".gvfs",".local",".config",".dbus",".fontconfig",".snap",".var",".lost+found","lost+found",".thumb",".thumbnails","EFI","boot","grub","logs","log",".nyc_output",".sonar",".ruff_cache",".VSCodeCounter",".exe",".dll",".so",".dylib",".png",".jpg",".jpeg",".gif",".ico",".svg",".webp",".mp3",".mp4",".avi",".zip",".tgz",".tar",".gz",".7z",".rar",".pdf",".docx",".xlsx",".pptx",".woff",".woff2",".ttf",".eot",".skills","skills"],z=(n=process.cwd())=>{try{let a=e.join(n,".gitignore");if(l.existsSync(a))return l.readFileSync(a,"utf8").split(`
2
- `).map(o=>o.trim()).filter(o=>o&&!o.startsWith("#")&&!o.startsWith("!")).map(o=>o.replace(/^[\/\\]+/,"").replace(/[\/\\]+$/,"").replace(/\/\*+$/,"")).filter(Boolean)}catch{}return[]},H=(n,a)=>{if(!n||!a)return!1;let t=n.replace(/\\/g,"/"),o=e.basename(n),m=a.split(",").map(c=>c.trim()).filter(Boolean),i=null;try{let c=typeof _<"u"?_:null;c&&(i=c)}catch{}for(let c of m){let r=c.replace(/\\/g,"/");if(o.toLowerCase()===r.toLowerCase()||t.toLowerCase()===r.toLowerCase()||t.toLowerCase().endsWith("/"+r.toLowerCase()))return!0;try{if(i&&(i(t,r,{dot:!0,nocase:!0,matchBase:!0})||i(o,r,{dot:!0,nocase:!0})))return!0}catch{}if(r.includes("*")||r.includes("?")){let g="^"+r.replace(/[.+^${}()|[\]\\]/g,"\\$&").replace(/\*\*/g,".*").replace(/\*/g,"[^/]*").replace(/\?/g,".")+"$";try{let f=new RegExp(g,"i");if(f.test(o)||f.test(t))return!0}catch{}}}return!1};export{p as a,h as b,u as c,S as d,s as e,v as f,C as g,b as h,T as i,A as j,F as k,R as l,k as m,w as n,O as o,W as p,N as q,G as r,P as s,M as t,B as u,U as v,$ as w,z as x,H as y};