@piecemaker-legal/piecemaker 2.0.18 → 2.0.19

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 (99) hide show
  1. package/dist/assets/{FindReplaceDialog-KU5TEIBJ-CVlNeCVr.js → FindReplaceDialog-KU5TEIBJ-D-E_iQrz.js} +1 -1
  2. package/dist/assets/{FootnotePropertiesDialog-W3YHM4BV-C4_Cdhog.js → FootnotePropertiesDialog-W3YHM4BV-aF_8ncE9.js} +1 -1
  3. package/dist/assets/{HyperlinkDialog-ZYH7ZHRF-CBTsKBsq.js → HyperlinkDialog-ZYH7ZHRF-BvhTCTt_.js} +4 -4
  4. package/dist/assets/{ImagePositionDialog-HEWYR6Q3-B2xZwjZ8.js → ImagePositionDialog-HEWYR6Q3-CC7jJcbZ.js} +1 -1
  5. package/dist/assets/{ImagePropertiesDialog-RAB47C6M-DTLcu2Xx.js → ImagePropertiesDialog-RAB47C6M-C5fs5OZU.js} +1 -1
  6. package/dist/assets/{PageSetupDialog-AIGIXO3E-CTJ3PQD4.js → PageSetupDialog-AIGIXO3E-DhHTvZ6Q.js} +1 -1
  7. package/dist/assets/{SplitCellDialog-IFBKYCD6-CAAbsK2B.js → SplitCellDialog-IFBKYCD6-BoFyEVsb.js} +1 -1
  8. package/dist/assets/{TablePropertiesDialog-TMLKGOOW-DJRKrfht.js → TablePropertiesDialog-TMLKGOOW-CBb7GEtl.js} +1 -1
  9. package/dist/assets/{WatermarkDialog-KRL7WMIS-DOvTvq79.js → WatermarkDialog-KRL7WMIS-BJbsMnmA.js} +1 -1
  10. package/dist/assets/{abnfDiagram-VCTEODGH-DhTVbzCd.js → abnfDiagram-VCTEODGH-C6ojlqY3.js} +1 -1
  11. package/dist/assets/{arc-Cv8QoCEA.js → arc-BoDdi4D9.js} +1 -1
  12. package/dist/assets/{architectureDiagram-5GKGNRK7-DD1os79Y.js → architectureDiagram-5GKGNRK7-CWIahr5B.js} +1 -1
  13. package/dist/assets/{blockDiagram-I7D4REHJ-QeCxDgKe.js → blockDiagram-I7D4REHJ-CLEp2VLU.js} +1 -1
  14. package/dist/assets/{c4Diagram-7LVT6UL2-4gYelSoU.js → c4Diagram-7LVT6UL2-BnPyO1ST.js} +1 -1
  15. package/dist/assets/channel-DV0VwszZ.js +1 -0
  16. package/dist/assets/{chunk-2Q5K7J3B-C1JWnJwT.js → chunk-2Q5K7J3B-C7HwgL9V.js} +1 -1
  17. package/dist/assets/{chunk-5VM5RSS4-ivUrz7aY.js → chunk-5VM5RSS4-DXEfMQFg.js} +1 -1
  18. package/dist/assets/{chunk-F27PBJKO-F9_wuwt8.js → chunk-F27PBJKO-L8IW1AJ2.js} +1 -1
  19. package/dist/assets/{chunk-IMKFNOWR-CyTtfHn7.js → chunk-IMKFNOWR-M0u3FR4R.js} +1 -1
  20. package/dist/assets/{chunk-JWPE2WC7-CHDEsaCw.js → chunk-JWPE2WC7-BTrrWfya.js} +1 -1
  21. package/dist/assets/{chunk-POPQ4Y6H-CsWglKL-.js → chunk-POPQ4Y6H-DKzOkm9u.js} +1 -1
  22. package/dist/assets/{chunk-SVP7TREG-CAtfJ-fn.js → chunk-SVP7TREG-ChWxgGeB.js} +1 -1
  23. package/dist/assets/{chunk-TICWLB2K-Dz1p6b2C.js → chunk-TICWLB2K-FU0TG8_V.js} +1 -1
  24. package/dist/assets/{chunk-XXDRQBXY-D-WMIjOd.js → chunk-XXDRQBXY-D--n_LHM.js} +1 -1
  25. package/dist/assets/classDiagram-ZZMXUADV-QmelLege.js +1 -0
  26. package/dist/assets/classDiagram-v2-VYDZK3BY-QmelLege.js +1 -0
  27. package/dist/assets/{cose-bilkent-JH36ORCC-Bw2uceDT.js → cose-bilkent-JH36ORCC-VcyzT4Am.js} +1 -1
  28. package/dist/assets/{cynefin-OW5HDTMX-Rf1jhm4k.js → cynefin-OW5HDTMX-CF_CzN2W.js} +1 -1
  29. package/dist/assets/{cynefinDiagram-5FMLGOSQ-CTqXZT2n.js → cynefinDiagram-5FMLGOSQ-tYmbUXoj.js} +1 -1
  30. package/dist/assets/{dagre-GXQ25YYZ-BZ2R3xFu.js → dagre-GXQ25YYZ-Dl-3sgkS.js} +1 -1
  31. package/dist/assets/{diagram-S7CK7UJ4-BGXVg-1y.js → diagram-S7CK7UJ4-DyYBtOKJ.js} +1 -1
  32. package/dist/assets/{diagram-UQ7AKVKN-BHLwT3_4.js → diagram-UQ7AKVKN-BfibAHRJ.js} +1 -1
  33. package/dist/assets/{diagram-VSXAHHWV-TlHdfOTf.js → diagram-VSXAHHWV-BvuChn2K.js} +1 -1
  34. package/dist/assets/{diagram-VX7I27RA-BySGABNm.js → diagram-VX7I27RA-ZSTD84JR.js} +1 -1
  35. package/dist/assets/{diagram-Z3DM3KII-XkxR4gMt.js → diagram-Z3DM3KII-CYWcW_j4.js} +1 -1
  36. package/dist/assets/{ebnfDiagram-PWID7BFC-B2TbCNA9.js → ebnfDiagram-PWID7BFC-CKssYpWu.js} +1 -1
  37. package/dist/assets/{erDiagram-RLTQ6QDP-D2ltrK0A.js → erDiagram-RLTQ6QDP-H6Rihy54.js} +1 -1
  38. package/dist/assets/{flowDiagram-HODETNUW-DtxPis5B.js → flowDiagram-HODETNUW-BYcs_7fG.js} +1 -1
  39. package/dist/assets/{ganttDiagram-EL5Y4UJY-CFNPdxTQ.js → ganttDiagram-EL5Y4UJY-Dt0zBRmP.js} +1 -1
  40. package/dist/assets/{gitGraphDiagram-WWUBYQGX-CuTcTEN5.js → gitGraphDiagram-WWUBYQGX-DJ4ZVb5_.js} +1 -1
  41. package/dist/assets/{index-DN3QXejg.js → index-skgP2UD3.js} +4 -4
  42. package/dist/assets/{infoDiagram-27XIBGKW-mexkFQjF.js → infoDiagram-27XIBGKW-DZmrJj_e.js} +1 -1
  43. package/dist/assets/{ishikawaDiagram-5VMMS53U-Ehp3w0rK.js → ishikawaDiagram-5VMMS53U-zTPWVhqW.js} +1 -1
  44. package/dist/assets/{journeyDiagram-3NMN7TZE-B2oa70NT.js → journeyDiagram-3NMN7TZE-CFxtAX_q.js} +1 -1
  45. package/dist/assets/{kanban-definition-UXKFOSKX-CaGJG5r6.js → kanban-definition-UXKFOSKX-BIBQGYrN.js} +1 -1
  46. package/dist/assets/{layout-D9bzBU1f.js → layout-5xNw8gsu.js} +1 -1
  47. package/dist/assets/{linear-B8U-i0VD.js → linear-CW6Efbjk.js} +1 -1
  48. package/dist/assets/{mermaid.core-D8tIoFkX.js → mermaid.core-CV1UELnp.js} +6 -6
  49. package/dist/assets/{mindmap-definition-YA3MSWOX-DWGNwj7G.js → mindmap-definition-YA3MSWOX-zpWSRS8g.js} +1 -1
  50. package/dist/assets/{pegDiagram-XKGWAZYB-Bk8Rz9xa.js → pegDiagram-XKGWAZYB-4u0O4rTZ.js} +1 -1
  51. package/dist/assets/{pieDiagram-E7YTZNPT-Cg55KKTl.js → pieDiagram-E7YTZNPT-CXmymaRq.js} +1 -1
  52. package/dist/assets/{quadrantDiagram-AXDQQJYC-Csc3i_RY.js → quadrantDiagram-AXDQQJYC-DpCRdfYk.js} +1 -1
  53. package/dist/assets/{railroadDiagram-O6MQD6OU-Cdwhry7O.js → railroadDiagram-O6MQD6OU-DisvzZ3q.js} +1 -1
  54. package/dist/assets/{requirementDiagram-BXWQKSXE-Dx8j-iYZ.js → requirementDiagram-BXWQKSXE-DvU7Z8z5.js} +1 -1
  55. package/dist/assets/{sankeyDiagram-P5KCCOFB-DYAs0pKZ.js → sankeyDiagram-P5KCCOFB-Df5nogtS.js} +1 -1
  56. package/dist/assets/{sequenceDiagram-WJ2MYXX4-CVFsJsuc.js → sequenceDiagram-WJ2MYXX4-B5BKf6O8.js} +1 -1
  57. package/dist/assets/{sizeCapture-INFHLROL-BJJRXJQZ.js → sizeCapture-INFHLROL-1EZabZaY.js} +1 -1
  58. package/dist/assets/{stateDiagram-D77RDMKH-2uiB_i3I.js → stateDiagram-D77RDMKH-DCSKdcyr.js} +1 -1
  59. package/dist/assets/{stateDiagram-v2-MP3YSRHH-CI8QfRWZ.js → stateDiagram-v2-MP3YSRHH-Db5HOoa1.js} +1 -1
  60. package/dist/assets/{swimlanes-42K2YHIH-Bb5OuuLs.js → swimlanes-42K2YHIH-CmrUx1kp.js} +1 -1
  61. package/dist/assets/swimlanesDiagram-VR7AAH4N-B6BaxAGn.js +8 -0
  62. package/dist/assets/{timeline-definition-24CTP7MA-CY3FGsUm.js → timeline-definition-24CTP7MA-D1e5FRLS.js} +1 -1
  63. package/dist/assets/{vennDiagram-4TSXK5OY-BNEzbHuc.js → vennDiagram-4TSXK5OY-DbclmB6P.js} +1 -1
  64. package/dist/assets/{wardleyDiagram-VM6X3IG4-RxP9S3cp.js → wardleyDiagram-VM6X3IG4-BL3cDBgt.js} +1 -1
  65. package/dist/assets/{xychartDiagram-S5SC5T6Z-D0aAjjqY.js → xychartDiagram-S5SC5T6Z-BnyVnEkb.js} +1 -1
  66. package/dist/index.html +1 -1
  67. package/dist/sw.js +1 -1
  68. package/dist-server/server/piecemaker/library/connector-installation.js +68 -17
  69. package/dist-server/server/piecemaker/library/connector-installation.js.map +1 -1
  70. package/dist-server/server/piecemaker/library/global-state.js +60 -0
  71. package/dist-server/server/piecemaker/library/global-state.js.map +1 -0
  72. package/dist-server/server/piecemaker/library/index.js +10 -0
  73. package/dist-server/server/piecemaker/library/index.js.map +1 -1
  74. package/dist-server/server/piecemaker/library/marketplace.js +61 -42
  75. package/dist-server/server/piecemaker/library/marketplace.js.map +1 -1
  76. package/dist-server/server/piecemaker/library/migrate.js +0 -35
  77. package/dist-server/server/piecemaker/library/migrate.js.map +1 -1
  78. package/dist-server/server/piecemaker/library/routes.js +6 -2
  79. package/dist-server/server/piecemaker/library/routes.js.map +1 -1
  80. package/dist-server/server/piecemaker/library/store.js +95 -67
  81. package/dist-server/server/piecemaker/library/store.js.map +1 -1
  82. package/dist-server/server/piecemaker/library/workspace-installation.js +172 -87
  83. package/dist-server/server/piecemaker/library/workspace-installation.js.map +1 -1
  84. package/package.json +1 -1
  85. package/server/piecemaker/library/connector-installation.ts +65 -16
  86. package/server/piecemaker/library/global-state.ts +55 -0
  87. package/server/piecemaker/library/index.ts +7 -0
  88. package/server/piecemaker/library/marketplace.ts +52 -48
  89. package/server/piecemaker/library/migrate.ts +0 -35
  90. package/server/piecemaker/library/routes.ts +9 -2
  91. package/server/piecemaker/library/store.ts +94 -57
  92. package/server/piecemaker/library/workspace-installation.ts +180 -77
  93. package/dist/assets/channel-D3azUhJc.js +0 -1
  94. package/dist/assets/classDiagram-ZZMXUADV-D21ZjmLK.js +0 -1
  95. package/dist/assets/classDiagram-v2-VYDZK3BY-D21ZjmLK.js +0 -1
  96. package/dist/assets/swimlanesDiagram-VR7AAH4N-CYL9hbZV.js +0 -8
  97. package/dist-server/server/piecemaker/library/migrate-cli.js +0 -13
  98. package/dist-server/server/piecemaker/library/migrate-cli.js.map +0 -1
  99. package/server/piecemaker/library/migrate-cli.ts +0 -11
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/mermaid.core-D8tIoFkX.js","assets/vendor-react-B22wqN3J.js","assets/HyperlinkDialog-ZYH7ZHRF-CBTsKBsq.js","assets/vendor-codemirror-CN-sJePf.js","assets/HyperlinkDialog-ZYH7ZHRF-qIPBOssF.css","assets/server.browser-BY3bL-IX.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/mermaid.core-CV1UELnp.js","assets/vendor-react-B22wqN3J.js","assets/HyperlinkDialog-ZYH7ZHRF-BvhTCTt_.js","assets/vendor-codemirror-CN-sJePf.js","assets/HyperlinkDialog-ZYH7ZHRF-qIPBOssF.css","assets/server.browser-BY3bL-IX.js"])))=>i.map(i=>d[i]);
2
2
  import{j as o,T as jT,P as NT,E as ka,S as gu,g as RO,R as zO,V as Ih,F as Dh,a as yy,b as Nm,G as wy,W as ky,D as Gs,l as TT,h as Kx,c as ET,C as LO,d as ql,e as $O,f as FO,u as OO,i as BO,k as C2,s as UO,m as HO,n as qO,o as WO,p as AT,q as VO,r as GO,t as KO,v as YO,w as XO,x as ZO,_ as JO,y as QO,z as _T,A as PT}from"./vendor-codemirror-CN-sJePf.js";import{b as eB,g as pt,a as f,r as tB,c as Fn,R as bu,u as MT,q as Mn,d as go,e as Yu,f as rB,B as nB,h as aB,i as j2}from"./vendor-react-B22wqN3J.js";import{r as sB,a as oB,b as iB,c as lB}from"./vendor-xterm-BWUgpGtR.js";function cB(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const a in n)if(a!=="default"&&!(a in e)){const s=Object.getOwnPropertyDescriptor(n,a);s&&Object.defineProperty(e,a,s.get?s:{enumerable:!0,get:()=>n[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const s of a)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(a){const s={};return a.integrity&&(s.integrity=a.integrity),a.referrerPolicy&&(s.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?s.credentials="include":a.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function n(a){if(a.ep)return;a.ep=!0;const s=r(a);fetch(a.href,s)}})();var Xu={},N2;function dB(){if(N2)return Xu;N2=1;var e=eB();return Xu.createRoot=e.createRoot,Xu.hydrateRoot=e.hydrateRoot,Xu}var xu=dB();const uB=pt(xu);const pB="0.5.43",Sy=`bippy-${pB}`,T2=Object.defineProperty,mB=Object.prototype.hasOwnProperty,nd=()=>{},IT=e=>{try{Function.prototype.toString.call(e).indexOf("^_^")>-1&&setTimeout(()=>{throw Error("React is running in production mode, but dead code elimination has not been applied. Read how to correctly configure React for production: https://reactjs.org/link/perf-use-production-build")})}catch{}},DT=(e=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__)=>!!(e&&"getFiberRoots"in e);let RT=!1,E2;const Yx=(e=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__)=>RT?!0:(e&&typeof e.inject=="function"&&(E2=e.inject.toString()),!!E2?.includes("(injected)")),tm=new Set,Xx=new Set,hB=e=>{let t=new Map,r=0,n={_instrumentationIsActive:!1,_instrumentationSource:Sy,checkDCE:IT,hasUnsupportedRendererAttached:!1,inject(a){let s=++r;return t.set(s,a),Xx.add(a),n._instrumentationIsActive||(n._instrumentationIsActive=!0,tm.forEach(i=>i())),s},on:nd,onCommitFiberRoot:nd,onCommitFiberUnmount:nd,onPostCommitFiberRoot:nd,renderers:t,supportsFiber:!0,supportsFlight:!0};try{T2(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__",{configurable:!0,enumerable:!0,get(){return n},set(i){if(i&&typeof i=="object"){let l=n.renderers;n=i,l.size>0&&(l.forEach((c,d)=>{Xx.add(c),i.renderers.set(d,c)}),Zx(e))}}});let a=window.hasOwnProperty,s=!1;T2(window,"hasOwnProperty",{configurable:!0,value:function(...i){try{if(!s&&i[0]==="__REACT_DEVTOOLS_GLOBAL_HOOK__")return globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__=void 0,s=!0,-0}catch{}return a.apply(this,i)},writable:!0})}catch{Zx(e)}return n},Zx=e=>{e&&tm.add(e);try{let t=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!t)return;if(!t._instrumentationSource){t.checkDCE=IT,t.supportsFiber=!0,t.supportsFlight=!0,t.hasUnsupportedRendererAttached=!1,t._instrumentationSource=Sy,t._instrumentationIsActive=!1;let r=DT(t);if(r||(t.on=nd),t.renderers.size){t._instrumentationIsActive=!0,tm.forEach(s=>s());return}let n=t.inject,a=Yx(t);a&&!r&&(RT=!0,t.inject({scheduleRefresh(){}})&&(t._instrumentationIsActive=!0)),t.inject=s=>{let i=n(s);return Xx.add(s),a&&t.renderers.set(i,s),t._instrumentationIsActive=!0,tm.forEach(l=>l()),i}}(t.renderers.size||t._instrumentationIsActive||Yx())&&e?.()}catch{}},fB=()=>mB.call(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__"),Cy=e=>fB()?(Zx(e),globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__):hB(e),gB=()=>!!(typeof window<"u"&&(window.document?.createElement||window.navigator?.product==="ReactNative")),bB=()=>{try{gB()&&Cy()}catch{}};bB();const zT=0,vu=1,LT=11,xB=13,jy=14,Ny=15,vB=60111,yB="Symbol(react.concurrent_mode)",wB="Symbol(react.async_mode)",A2=13366,Od=e=>{switch(e.tag){case 5:case 26:case 27:return!0;default:return typeof e.type=="string"}},Rh=e=>{switch(e.tag){case 1:case 11:case 0:case 14:case 15:return!0;default:return!1}},kB=(e,t)=>{try{let r=e.dependencies,n=e.alternate?.dependencies;if(!r||!n||typeof r!="object"||!("firstContext"in r)||typeof n!="object"||!("firstContext"in n))return!1;let a=r.firstContext,s=n.firstContext;for(;a&&typeof a=="object"&&"memoizedValue"in a||s&&typeof s=="object"&&"memoizedValue"in s;){if(t(a,s)===!0)return!0;a=a?.next,s=s?.next}}catch{}return!1},Ty=e=>{let t=e.memoizedProps,r=e.alternate?.memoizedProps||{},n=e.flags??e.effectTag??0;switch(e.tag){case 1:case 9:case 11:case 0:case 14:case 15:return(n&1)==1;default:return e.alternate?r!==t||e.alternate.memoizedState!==e.memoizedState||e.alternate.ref!==e.ref:!0}},Ey=e=>!!(e.flags&(A2|8)||e.subtreeFlags&(A2|8)),SB=e=>{let t=[],r=[e];for(;r.length;){let n=r.pop();n&&(Od(n)&&Ey(n)&&Ty(n)&&t.push(n),n.child&&r.push(n.child),n.sibling&&r.push(n.sibling))}return t},Ay=e=>{switch(e.tag){case 18:return!0;case 7:case 6:case 23:case 22:return!0;case 3:return!1;default:{let t=typeof e.type=="object"&&e.type!==null?e.type.$$typeof:e.type;switch(typeof t=="symbol"?t.toString():t){case vB:case yB:case wB:return!0;default:return!1}}}},CB=e=>{let t=[],r=[];for(Od(e)?t.push(e):e.child&&r.push(e.child);r.length;){let n=r.pop();if(!n)break;Od(n)?t.push(n):n.child&&r.push(n.child),n.sibling&&r.push(n.sibling)}return t};function $T(e,t,r=!1){if(!e)return null;let n=t(e);if(n instanceof Promise)return(async()=>{if(await n===!0)return e;let s=r?e.return:e.child;for(;s;){let i=await OT(s,t,r);if(i)return i;s=r?null:s.sibling}return null})();if(n===!0)return e;let a=r?e.return:e.child;for(;a;){let s=FT(a,t,r);if(s)return s;a=r?null:a.sibling}return null}const FT=(e,t,r=!1)=>{if(!e)return null;if(t(e)===!0)return e;let n=r?e.return:e.child;for(;n;){let a=FT(n,t,r);if(a)return a;n=r?null:n.sibling}return null},OT=async(e,t,r=!1)=>{if(!e)return null;if(await t(e)===!0)return e;let n=r?e.return:e.child;for(;n;){let a=await OT(n,t,r);if(a)return a;n=r?null:n.sibling}return null},hi=e=>{let t=e?.actualDuration??0,r=t,n=e?.child??null;for(;t>0&&n!=null;)r-=n.actualDuration??0,n=n.sibling;return{selfTime:r,totalTime:t}},Bd=e=>!!e.updateQueue?.memoCache,$i=e=>{let t=e;return typeof t=="function"?t:typeof t=="object"&&t?$i(t.type||t.render):null},cn=e=>{let t=e;if(typeof t=="string")return t;if(typeof t!="function"&&!(typeof t=="object"&&t))return null;let r=t.displayName||t.name||null;if(r)return r;let n=$i(t);return n&&(n.displayName||n.name)||null},jB=e=>{try{if(typeof e.version=="string"&&e.bundleType>0)return"development"}catch{}return"production"},NB=()=>{let e=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__;return!!e?._instrumentationIsActive||DT(e)||Yx(e)};let BT=0;const Wl=new WeakMap,TB=(e,t=BT++)=>{Wl.set(e,t)},jo=e=>{let t=Wl.get(e);return!t&&e.alternate&&(t=Wl.get(e.alternate)),t||(t=BT++,TB(e,t)),t},ko=(e,t,r)=>{let n=t;for(;n!=null;){if(Wl.has(n)||jo(n),!Ay(n)&&Ty(n)&&e(n,"mount"),n.tag===13)if(n.memoizedState!==null){let a=n.child,s=a?a.sibling:null;if(s){let i=s.child;i!==null&&ko(e,i,!1)}}else{let a=null;n.child!==null&&(a=n.child.child),a!==null&&ko(e,a,!1)}else n.child!=null&&ko(e,n.child,!0);n=r?n.sibling:null}},Jx=(e,t,r,n)=>{if(Wl.has(t)||jo(t),!r)return;Wl.has(r)||jo(r);let a=t.tag===13;!Ay(t)&&Ty(t)&&e(t,"update");let i=a&&r.memoizedState!==null,l=a&&t.memoizedState!==null;if(i&&l){let c=t.child?.sibling??null,d=r.child?.sibling??null;c!==null&&d!==null&&Jx(e,c,d)}else if(i&&!l){let c=t.child;c!==null&&ko(e,c,!0)}else if(!i&&l){UT(e,r);let c=t.child?.sibling??null;c!==null&&ko(e,c,!0)}else if(t.child!==r.child){let c=t.child;for(;c;){if(c.alternate){let d=c.alternate;Jx(e,c,d)}else ko(e,c,!1);c=c.sibling}}},Qx=(e,t)=>{(t.tag===3||!Ay(t))&&e(t,"unmount")},UT=(e,t)=>{let r=t.tag===13&&t.memoizedState!==null,n=t.child;for(r&&(n=(t.child?.sibling??null)?.child??null);n!==null;)n.return!==null&&(Qx(e,n),UT(e,n)),n=n.sibling};let EB=0;const _2=new WeakMap,AB=(e,t)=>{let r="current"in e?e.current:e,n=_2.get(e);n||(n={id:EB++,prevFiber:null},_2.set(e,n));let{prevFiber:a}=n;if(!r)Qx(t,r);else if(a!==null){let s=a&&a.memoizedState!=null&&a.memoizedState.element!=null&&a.memoizedState.isDehydrated!==!0,i=r.memoizedState!=null&&r.memoizedState.element!=null&&r.memoizedState.isDehydrated!==!0;!s&&i?ko(t,r,!1):s&&i?Jx(t,r,r.alternate):s&&!i&&Qx(t,r)}else ko(t,r,!0);n.prevFiber=r},_B=e=>{let t=Cy(e.onActive);t._instrumentationSource=e.name??Sy;let r=t.onCommitFiberRoot;if(e.onCommitFiberRoot){let s=(i,l,c)=>{r!==s&&(r?.(i,l,c),e.onCommitFiberRoot?.(i,l,c))};t.onCommitFiberRoot=s}let n=t.onCommitFiberUnmount;if(e.onCommitFiberUnmount){let s=(i,l)=>{t.onCommitFiberUnmount===s&&(n?.(i,l),e.onCommitFiberUnmount?.(i,l))};t.onCommitFiberUnmount=s}let a=t.onPostCommitFiberRoot;if(e.onPostCommitFiberRoot){let s=(i,l)=>{t.onPostCommitFiberRoot===s&&(a?.(i,l),e.onPostCommitFiberRoot?.(i,l))};t.onPostCommitFiberRoot=s}return t};var zh,At,HT,qT,po,P2,WT,VT,Vf,rm,vd,GT,_y,ev,tv,KT,Tm={},Em=[],PB=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,yu=Array.isArray;function Ms(e,t){for(var r in t)e[r]=t[r];return e}function Py(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function Ni(e,t,r){var n,a,s,i={};for(s in t)s=="key"?n=t[s]:s=="ref"?a=t[s]:i[s]=t[s];if(arguments.length>2&&(i.children=arguments.length>3?zh.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(s in e.defaultProps)i[s]===void 0&&(i[s]=e.defaultProps[s]);return nm(e,i,n,a,null)}function nm(e,t,r,n,a){var s={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:a??++HT,__i:-1,__u:0};return a==null&&At.vnode!=null&&At.vnode(s),s}function qt(e){return e.children}function va(e,t){this.props=e,this.context=t}function Ti(e,t){if(t==null)return e.__?Ti(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null)return r.__e;return typeof e.type=="function"?Ti(e):null}function MB(e){if(e.__P&&e.__d){var t=e.__v,r=t.__e,n=[],a=[],s=Ms({},t);s.__v=t.__v+1,At.vnode&&At.vnode(s),My(e.__P,s,t,e.__n,e.__P.namespaceURI,32&t.__u?[r]:null,n,r??Ti(t),!!(32&t.__u),a),s.__v=t.__v,s.__.__k[s.__i]=s,QT(n,s,a),t.__e=t.__=null,s.__e!=r&&YT(s)}}function YT(e){if((e=e.__)!=null&&e.__c!=null)return e.__e=e.__c.base=null,e.__k.some(function(t){if(t!=null&&t.__e!=null)return e.__e=e.__c.base=t.__e}),YT(e)}function rv(e){(!e.__d&&(e.__d=!0)&&po.push(e)&&!Am.__r++||P2!=At.debounceRendering)&&((P2=At.debounceRendering)||WT)(Am)}function Am(){try{for(var e,t=1;po.length;)po.length>t&&po.sort(VT),e=po.shift(),t=po.length,MB(e)}finally{po.length=Am.__r=0}}function XT(e,t,r,n,a,s,i,l,c,d,p){var u,h,m,g,b,x,v=n&&n.__k||Em,y=t.length;for(c=IB(r,t,v,c,y),u=0;u<y;u++)(m=r.__k[u])!=null&&(h=m.__i!=-1&&v[m.__i]||Tm,m.__i=u,x=My(e,m,h,a,s,i,l,c,d,p),g=m.__e,m.ref&&h.ref!=m.ref&&(h.ref&&Iy(h.ref,null,m),p.push(m.ref,m.__c||g,m)),b==null&&g!=null&&(b=g),4&m.__u?(c=ZT(m,c,e),h.__e&&(h.__e=null)):typeof m.type=="function"&&x!==void 0?c=x:g&&(c=g.nextSibling),m.__u&=-7);return r.__e=b,c}function IB(e,t,r,n,a){var s,i,l,c,d,p=r.length,u=p,h=0;for(e.__k=new Array(a),s=0;s<a;s++)(i=t[s])!=null&&typeof i!="boolean"&&typeof i!="function"?(typeof i=="string"||typeof i=="number"||typeof i=="bigint"||i.constructor==String?i=e.__k[s]=nm(null,i,null,null,null):yu(i)?i=e.__k[s]=nm(qt,{children:i},null,null,null):i.constructor===void 0&&i.__b>0?i=e.__k[s]=nm(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):e.__k[s]=i,c=s+h,i.__=e,i.__b=e.__b+1,l=null,(d=i.__i=DB(i,r,c,u))!=-1&&(u--,(l=r[d])&&(l.__u|=2)),l==null||l.__v==null?(d==-1&&(a>p?h--:a<p&&h++),typeof i.type!="function"&&(i.__u|=4)):d!=c&&(d==c-1?h--:d==c+1?h++:(d>c?h--:h++,i.__u|=4))):e.__k[s]=null;if(u)for(s=0;s<p;s++)(l=r[s])!=null&&(2&l.__u)==0&&(l.__e==n&&(n=Ti(l)),t8(l,l));return n}function ZT(e,t,r){var n,a;if(typeof e.type=="function"){for(n=e.__k,a=0;n&&a<n.length;a++)n[a]&&(n[a].__=e,t=ZT(n[a],t,r));return t}e.__e!=t&&(t&&e.type&&!t.parentNode&&(t=Ti(e)),t=r.insertBefore(e.__e,t||null));do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function _m(e,t){return t=t||[],e==null||typeof e=="boolean"||(yu(e)?e.some(function(r){_m(r,t)}):t.push(e)),t}function DB(e,t,r,n){var a,s,i,l=e.key,c=e.type,d=t[r],p=d!=null&&(2&d.__u)==0;if(d===null&&l==null||p&&l==d.key&&c==d.type)return r;if(n>(p?1:0)){for(a=r-1,s=r+1;a>=0||s<t.length;)if((d=t[i=a>=0?a--:s++])!=null&&(2&d.__u)==0&&l==d.key&&c==d.type)return i}return-1}function M2(e,t,r){t[0]=="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||PB.test(t)?r:r+"px"}function Zu(e,t,r,n,a){var s,i;e:if(t=="style")if(typeof r=="string")e.style.cssText=r;else{if(typeof n=="string"&&(e.style.cssText=n=""),n)for(t in n)r&&t in r||M2(e.style,t,"");if(r)for(t in r)n&&r[t]==n[t]||M2(e.style,t,r[t])}else if(t[0]=="o"&&t[1]=="n")s=t!=(t=t.replace(GT,"$1")),i=t.toLowerCase(),t=i in e||t=="onFocusOut"||t=="onFocusIn"?i.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+s]=r,r?n?r[vd]=n[vd]:(r[vd]=_y,e.addEventListener(t,s?tv:ev,s)):e.removeEventListener(t,s?tv:ev,s);else{if(a=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=r??"";break e}catch{}typeof r=="function"||(r==null||r===!1&&t[4]!="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&r==1?"":r))}}function I2(e){return function(t){if(this.l){var r=this.l[t.type+e];if(t[rm]==null)t[rm]=_y++;else if(t[rm]<r[vd])return;return r(At.event?At.event(t):t)}}}function My(e,t,r,n,a,s,i,l,c,d){var p,u,h,m,g,b,x,v,y,w,S,j,k,C,E,T,N=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(c=!!(32&r.__u),s=[l=t.__e=r.__e]),(p=At.__b)&&p(t);e:if(typeof N=="function"){u=i.length;try{if(y=t.props,w=N.prototype&&N.prototype.render,S=(p=N.contextType)&&n[p.__c],j=p?S?S.props.value:p.__:n,r.__c?v=(h=t.__c=r.__c).__=h.__E:(w?t.__c=h=new N(y,j):(t.__c=h=new va(y,j),h.constructor=N,h.render=zB),S&&S.sub(h),h.state||(h.state={}),h.__n=n,m=h.__d=!0,h.__h=[],h._sb=[]),w&&h.__s==null&&(h.__s=h.state),w&&N.getDerivedStateFromProps!=null&&(h.__s==h.state&&(h.__s=Ms({},h.__s)),Ms(h.__s,N.getDerivedStateFromProps(y,h.__s))),g=h.props,b=h.state,h.__v=t,m)w&&N.getDerivedStateFromProps==null&&h.componentWillMount!=null&&h.componentWillMount(),w&&h.componentDidMount!=null&&h.__h.push(h.componentDidMount);else{if(w&&N.getDerivedStateFromProps==null&&y!==g&&h.componentWillReceiveProps!=null&&h.componentWillReceiveProps(y,j),t.__v==r.__v||!h.__e&&h.shouldComponentUpdate!=null&&h.shouldComponentUpdate(y,h.__s,j)===!1){t.__v!=r.__v&&(h.props=y,h.state=h.__s,h.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(D){D&&(D.__=t)}),Em.push.apply(h.__h,h._sb),h._sb=[],h.__h.length&&i.push(h),l=Ti(r);break e}h.componentWillUpdate!=null&&h.componentWillUpdate(y,h.__s,j),w&&h.componentDidUpdate!=null&&h.__h.push(function(){h.componentDidUpdate(g,b,x)})}if(h.context=j,h.props=y,h.__P=e,h.__e=!1,k=At.__r,C=0,w)h.state=h.__s,h.__d=!1,k&&k(t),p=h.render(h.props,h.state,h.context),Em.push.apply(h.__h,h._sb),h._sb=[];else do h.__d=!1,k&&k(t),p=h.render(h.props,h.state,h.context),h.state=h.__s;while(h.__d&&++C<25);h.state=h.__s,h.getChildContext!=null&&(n=Ms(Ms({},n),h.getChildContext())),w&&!m&&h.getSnapshotBeforeUpdate!=null&&(x=h.getSnapshotBeforeUpdate(g,b)),E=p!=null&&p.type===qt&&p.key==null?e8(p.props.children):p,l=XT(e,yu(E)?E:[E],t,r,n,a,s,i,l,c,d),h.base=t.__e,t.__u&=-161,h.__h.length&&i.push(h),v&&(h.__E=h.__=null)}catch(D){if(i.length=u,t.__v=null,c||s!=null){if(D.then){for(t.__u|=c?160:128;l&&l.nodeType==8&&l.nextSibling;)l=l.nextSibling;s!=null&&(s[s.indexOf(l)]=null),t.__e=l}else if(s!=null)for(T=s.length;T--;)Py(s[T])}else t.__e=r.__e;t.__k==null&&(t.__k=r.__k||[]),D.then||JT(t),At.__e(D,t,r)}}else s==null&&t.__v==r.__v?(t.__k=r.__k,t.__e=r.__e):l=t.__e=RB(r.__e,t,r,n,a,s,i,c,d);return(p=At.diffed)&&p(t),128&t.__u?void 0:l}function JT(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some(JT))}function QT(e,t,r){for(var n=0;n<r.length;n++)Iy(r[n],r[++n],r[++n]);At.__c&&At.__c(t,e),e.some(function(a){try{e=a.__h,a.__h=[],e.some(function(s){s.call(a)})}catch(s){At.__e(s,a.__v)}})}function e8(e){return typeof e!="object"||e==null||e.__b>0?e:yu(e)?e.map(e8):e.constructor!==void 0?null:Ms({},e)}function RB(e,t,r,n,a,s,i,l,c){var d,p,u,h,m,g,b,x=r.props||Tm,v=t.props,y=t.type;if(y=="svg"?a="http://www.w3.org/2000/svg":y=="math"?a="http://www.w3.org/1998/Math/MathML":a||(a="http://www.w3.org/1999/xhtml"),s!=null){for(d=0;d<s.length;d++)if((m=s[d])&&"setAttribute"in m==!!y&&(y?m.localName==y:m.nodeType==3)){e=m,s[d]=null;break}}if(e==null){if(y==null)return document.createTextNode(v);e=document.createElementNS(a,y,v.is&&v),l&&(At.__m&&At.__m(t,s),l=!1),s=null}if(y==null)x===v||l&&e.data==v||(e.data=v);else{if(s=y=="textarea"&&v.defaultValue!=null?null:s&&zh.call(e.childNodes),!l&&s!=null)for(x={},d=0;d<e.attributes.length;d++)x[(m=e.attributes[d]).name]=m.value;for(d in x)m=x[d],d=="dangerouslySetInnerHTML"?u=m:d=="children"||d in v||d=="value"&&"defaultValue"in v||d=="checked"&&"defaultChecked"in v||Zu(e,d,null,m,a);for(d in v)m=v[d],d=="children"?h=m:d=="dangerouslySetInnerHTML"?p=m:d=="value"?g=m:d=="checked"?b=m:l&&typeof m!="function"||x[d]===m||Zu(e,d,m,x[d],a);if(p)l||u&&(p.__html==u.__html||p.__html==e.innerHTML)||(e.innerHTML=p.__html),t.__k=[];else if(u&&(e.innerHTML=""),XT(t.type=="template"?e.content:e,yu(h)?h:[h],t,r,n,y=="foreignObject"?"http://www.w3.org/1999/xhtml":a,s,i,s?s[0]:r.__k&&Ti(r,0),l,c),s!=null)for(d=s.length;d--;)Py(s[d]);l&&y!="textarea"||(d="value",y=="progress"&&g==null?e.removeAttribute("value"):g!=null&&(g!==e[d]||y=="progress"&&!g||y=="option"&&g!=x[d])&&Zu(e,d,g,x[d],a),d="checked",b!=null&&b!=e[d]&&Zu(e,d,b,x[d],a))}return e}function Iy(e,t,r){try{if(typeof e=="function"){var n=typeof e.__u=="function";n&&e.__u(),n&&t==null||(e.__u=e(t))}else e.current=t}catch(a){At.__e(a,r)}}function t8(e,t,r){var n,a;if(At.unmount&&At.unmount(e),(n=e.ref)&&(n.current&&n.current!=e.__e||Iy(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(s){At.__e(s,t)}n.base=n.__P=n.__n=null}if(n=e.__k)for(a=0;a<n.length;a++)n[a]&&t8(n[a],t,r||typeof e.type!="function");r||Py(e.__e),e.__c=e.__=e.__e=void 0}function zB(e,t,r){return this.constructor(e,r)}function yd(e,t,r){var n,a,s,i;t==document&&(t=document.documentElement),At.__&&At.__(e,t),a=(n=!1)?null:t.__k,s=[],i=[],My(t,e=t.__k=Ni(qt,null,[e]),a||Tm,Tm,t.namespaceURI,a?null:t.firstChild?zh.call(t.childNodes):null,s,a?a.__e:t.firstChild,n,i),QT(s,e,i),e.props.children=null}function r8(e){function t(r){var n,a;return this.getChildContext||(n=new Set,(a={})[t.__c]=this,this.getChildContext=function(){return a},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(s){this.props.value!=s.value&&n.forEach(function(i){i.__e=!0,rv(i)})},this.sub=function(s){n.add(s);var i=s.componentWillUnmount;s.componentWillUnmount=function(){n&&n.delete(s),i&&i.call(s)}}),r.children}return t.__c="__cC"+KT++,t.__=e,t.Provider=t.__l=(t.Consumer=function(r,n){return r.children(n)}).contextType=t,t}zh=Em.slice,At={__e:function(e,t,r,n){for(var a,s,i;t=t.__;)if((a=t.__c)&&!a.__)try{if((s=a.constructor)&&s.getDerivedStateFromError!=null&&(a.setState(s.getDerivedStateFromError(e)),i=a.__d),a.componentDidCatch!=null&&(a.componentDidCatch(e,n||{}),i=a.__d),i)return a.__E=a}catch(l){e=l}throw e}},HT=0,qT=function(e){return e!=null&&e.constructor===void 0},va.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=Ms({},this.state),typeof e=="function"&&(e=e(Ms({},r),this.props)),e&&Ms(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),rv(this))},va.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),rv(this))},va.prototype.render=qt,po=[],WT=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,VT=function(e,t){return e.__v.__b-t.__v.__b},Am.__r=0,Vf=Math.random().toString(8),rm="__d"+Vf,vd="__a"+Vf,GT=/(PointerCapture)$|Capture$/i,_y=0,ev=I2(!1),tv=I2(!0),KT=0;var Ei,yr,Gf,D2,Ud=0,n8=[],Fr=At,R2=Fr.__b,z2=Fr.__r,L2=Fr.diffed,$2=Fr.__c,F2=Fr.unmount,O2=Fr.__;function wu(e,t){Fr.__h&&Fr.__h(yr,e,Ud||t),Ud=0;var r=yr.__H||(yr.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function Ft(e){return Ud=1,LB(a8,e)}function LB(e,t,r){var n=wu(Ei++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):a8(void 0,t),function(l){var c=n.__N?n.__N[0]:n.__[0],d=n.t(c,l);c!==d&&(n.__N=[d,n.__[1]],n.__c.setState({}))}],n.__c=yr,!yr.__f)){var a=function(l,c,d){if(!n.__c.__H)return!0;var p=!1,u=n.__c.props!==l;if(n.__c.__H.__.some(function(m){if(m.__N){p=!0;var g=m.__[0];m.__=m.__N,m.__N=void 0,g!==m.__[0]&&(u=!0)}}),s){var h=s.call(this,l,c,d);return p?h||u:h}return!p||u};yr.__f=!0;var s=yr.shouldComponentUpdate,i=yr.componentWillUpdate;yr.componentWillUpdate=function(l,c,d){if(this.__e){var p=s;s=void 0,a(l,c,d),s=p}i&&i.call(this,l,c,d)},yr.shouldComponentUpdate=a}return n.__N||n.__}function Pt(e,t){var r=wu(Ei++,3);!Fr.__s&&zy(r.__H,t)&&(r.__=e,r.u=t,yr.__H.__h.push(r))}function Dy(e,t){var r=wu(Ei++,4);!Fr.__s&&zy(r.__H,t)&&(r.__=e,r.u=t,yr.__h.push(r))}function ht(e){return Ud=5,Ua(function(){return{current:e}},[])}function Ua(e,t){var r=wu(Ei++,7);return zy(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function $r(e,t){return Ud=8,Ua(function(){return e},t)}function Ry(e){var t=yr.context[e.__c],r=wu(Ei++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(yr)),t.props.value):e.__}function $B(){for(var e;e=n8.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(am),t.__h.some(nv),t.__h=[]}catch(r){t.__h=[],Fr.__e(r,e.__v)}}}Fr.__b=function(e){yr=null,R2&&R2(e)},Fr.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),O2&&O2(e,t)},Fr.__r=function(e){z2&&z2(e),Ei=0;var t=(yr=e.__c).__H;t&&(Gf===yr?(t.__h=[],yr.__h=[],t.__.some(function(r){r.__N&&(r.__=r.__N),r.u=r.__N=void 0})):(t.__h.some(am),t.__h.some(nv),t.__h=[],Ei=0)),Gf=yr},Fr.diffed=function(e){L2&&L2(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(n8.push(t)!==1&&D2===Fr.requestAnimationFrame||((D2=Fr.requestAnimationFrame)||FB)($B)),t.__H.__.some(function(r){r.u&&(r.__H=r.u,r.u=void 0)})),Gf=yr=null},Fr.__c=function(e,t){t.some(function(r){try{r.__h.some(am),r.__h=r.__h.filter(function(n){return!n.__||nv(n)})}catch(n){t.some(function(a){a.__h&&(a.__h=[])}),t=[],Fr.__e(n,r.__v)}}),$2&&$2(e,t)},Fr.unmount=function(e){F2&&F2(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.some(function(n){try{am(n)}catch(a){t=a}}),r.__H=void 0,t&&Fr.__e(t,r.__v))};var B2=typeof requestAnimationFrame=="function";function FB(e){var t,r=function(){clearTimeout(n),B2&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,35);B2&&(t=requestAnimationFrame(r))}function am(e){var t=yr,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),yr=t}function nv(e){var t=yr;e.__c=e.__(),yr=t}function zy(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function a8(e,t){return typeof t=="function"?t(e):t}var OB=Symbol.for("preact-signals");function Lh(){if(zs>1)zs--;else{var e,t=!1;for((function(){var a=Mm;for(Mm=void 0;a!==void 0;){var s=a.S;if(s.v===a.v)for(var i=s.t;i!==void 0;i=i.x)i.i===a.i&&(i.i=s.i);a=a.o}})();kd!==void 0;){var r=kd;for(kd=void 0,Pm++;r!==void 0;){var n=r.u;if(r.u=void 0,r.f&=-3,!(8&r.f)&&i8(r))try{r.c()}catch(a){t||(e=a,t=!0)}r=n}}if(Pm=0,zs--,t)throw e}}function s8(e){if(zs>0)return e();av=++BB,zs++;try{return e()}finally{Lh()}}var wd,vr=void 0;function Ai(e){var t=vr,r=wd;vr=void 0,wd=void 0;try{return e()}finally{vr=t,wd=r}}var kd=void 0,zs=0,Pm=0,BB=0,av=0,Mm=void 0,Im=0;function o8(e){if(vr!==void 0){var t=e.n;if(t===void 0||t.t!==vr)return t={i:0,S:e,p:vr.s,n:void 0,t:vr,e:void 0,x:void 0,r:t},vr.s!==void 0&&(vr.s.n=t),vr.s=t,e.n=t,32&vr.f&&e.S(t),t;if(t.i===-1)return t.i=0,t.n!==void 0&&(t.n.p=t.p,t.p!==void 0&&(t.p.n=t.n),t.p=vr.s,t.n=void 0,vr.s.n=t,vr.s=t),t}}function bn(e,t){this.v=e,this.i=0,this.n=void 0,this.t=void 0,this.l=0,this.W=t?.watched,this.Z=t?.unwatched,this.name=t?.name}bn.prototype.brand=OB;bn.prototype.h=function(){return!0};bn.prototype.S=function(e){var t=this,r=this.t;r!==e&&e.e===void 0&&(e.x=r,this.t=e,r!==void 0?r.e=e:Ai(function(){var n;(n=t.W)==null||n.call(t)}))};bn.prototype.U=function(e){var t=this;if(this.t!==void 0){var r=e.e,n=e.x;r!==void 0&&(r.x=n,e.e=void 0),n!==void 0&&(n.e=r,e.x=void 0),e===this.t&&(this.t=n,n===void 0&&Ai(function(){var a;(a=t.Z)==null||a.call(t)}))}};bn.prototype.subscribe=function(e){var t=this;return hc(function(){var r=t.value;Ai(function(){return e(r)})},{name:"sub"})};bn.prototype.valueOf=function(){return this.value};bn.prototype.toString=function(){return this.value+""};bn.prototype.toJSON=function(){return this.value};bn.prototype.peek=function(){var e=this;return Ai(function(){return e.value})};Object.defineProperty(bn.prototype,"value",{get:function(){var e=o8(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(Pm>100)throw new Error("Cycle detected");(function(r){zs!==0&&Pm===0&&r.l!==av&&(r.l=av,Mm={S:r,v:r.v,i:r.i,o:Mm})})(this),this.v=e,this.i++,Im++,zs++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{Lh()}}}});function tn(e,t){return new bn(e,t)}function i8(e){for(var t=e.s;t!==void 0;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function l8(e){for(var t=e.s;t!==void 0;t=t.n){var r=t.S.n;if(r!==void 0&&(t.r=r),t.S.n=t,t.i=-1,t.n===void 0){e.s=t;break}}}function c8(e){for(var t=e.s,r=void 0;t!==void 0;){var n=t.p;t.i===-1?(t.S.U(t),n!==void 0&&(n.n=t.n),t.n!==void 0&&(t.n.p=n)):r=t,t.S.n=t.r,t.r!==void 0&&(t.r=void 0),t=n}e.s=r}function Fi(e,t){bn.call(this,void 0,t),this.x=e,this.s=void 0,this.g=Im-1,this.f=4}Fi.prototype=new bn;Fi.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Im))return!0;if(this.g=Im,this.f|=1,this.i>0&&!i8(this))return this.f&=-2,!0;var e=vr;try{l8(this),vr=this;var t=this.x();(16&this.f||this.v!==t||this.i===0)&&(this.v=t,this.f&=-17,this.i++)}catch(r){this.v=r,this.f|=16,this.i++}return vr=e,c8(this),this.f&=-2,!0};Fi.prototype.S=function(e){if(this.t===void 0){this.f|=36;for(var t=this.s;t!==void 0;t=t.n)t.S.S(t)}bn.prototype.S.call(this,e)};Fi.prototype.U=function(e){if(this.t!==void 0&&(bn.prototype.U.call(this,e),this.t===void 0)){this.f&=-33;for(var t=this.s;t!==void 0;t=t.n)t.S.U(t)}};Fi.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}};Object.defineProperty(Fi.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var e=o8(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function No(e,t){return new Fi(e,t)}function d8(e){var t=e.m;if(e.m=void 0,typeof t=="function"){zs++;var r=vr;vr=void 0;try{t()}catch(n){throw e.f&=-2,e.f|=8,Ly(e),n}finally{vr=r,Lh()}}}function Ly(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,d8(e)}function UB(e){if(vr!==this)throw new Error("Out-of-order effect");c8(this),vr=e,this.f&=-2,8&this.f&&Ly(this),Lh()}function mc(e,t){this.x=e,this.m=void 0,this.s=void 0,this.u=void 0,this.f=32,this.name=t?.name,wd&&wd.push(this)}mc.prototype.c=function(){var e=this.S();try{if(8&this.f||this.x===void 0)return;var t=this.x();typeof t=="function"&&(this.m=t)}finally{e()}};mc.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,d8(this),l8(this),zs++;var e=vr;return vr=this,UB.bind(this,e)};mc.prototype.N=function(){2&this.f||(this.f|=2,this.u=kd,kd=this)};mc.prototype.d=function(){this.f|=8,1&this.f||Ly(this)};mc.prototype.dispose=function(){this.d()};function hc(e,t){var r=new mc(e,t);try{r.c()}catch(a){throw r.d(),a}var n=r.d.bind(r);return n[Symbol.dispose]=n,n}var $y,Ju,HB=typeof window<"u"&&!!window.__PREACT_SIGNALS_DEVTOOLS__,u8=[],p8=[];hc(function(){$y=this.N})();function fc(e,t){At[e]=t.bind(null,At[e]||function(){})}function Hd(e){if(Ju){var t=Ju;Ju=void 0,t()}Ju=e&&e.S()}function m8(e){var t=this,r=e.data,n=h8(r);n.name="ReactiveDom",n.value=r;var a=Ua(function(){for(var l=t,c=t.__v;c=c.__;)if(c.__c){c.__c.__$f|=4;break}var d=No(function(){var m=n.value.value;return m===0?0:m===!0?"":m||""}),p=No(function(){return!Array.isArray(d.value)&&!qT(d.value)}),u=hc(function(){if(this.N=f8,p.value){var m=d.value;l.__v&&l.__v.__e&&l.__v.__e.nodeType===3&&(l.__v.__e.data=m)}}),h=t.__$u.d;return t.__$u.d=function(){u(),h.call(this)},[p,d]},[]),s=a[0],i=a[1];return s.value?i.peek():i.value}m8.displayName="ReactiveTextNode";Object.defineProperties(bn.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:m8},props:{configurable:!0,get:function(){var e=this;return{data:{get value(){return e.value}}}}},__b:{configurable:!0,value:1}});fc("__b",function(e,t){if(Hd(),typeof t.type=="string"){var r,n=t.props;for(var a in n)if(a!=="children"){var s=n[a];s instanceof bn&&(r||(t.__np=r={}),r[a]=s,n[a]=s.peek())}}e(t)});fc("__r",function(e,t){if(e(t),t.type!==qt){Hd();var r,n=t.__c;n&&(n.__$f&=-2,(r=n.__$u)===void 0&&(n.__$u=r=(function(a,s){var i;return hc(function(){i=this},{name:s}),i.c=a,i})((function(a){return function(){var s;HB&&((s=this.y)==null||s.call(this)),a.__$f|=1,a.setState({})}})(n),typeof t.type=="function"?t.type.displayName||t.type.name:""))),Hd(r)}});fc("__e",function(e,t,r,n){Hd(),e(t,r,n)});fc("diffed",function(e,t){Hd();var r;if(typeof t.type=="string"&&(r=t.__e)){var n=t.__np,a=t.props,s=r.U;if(s)for(var i in s){var l=s[i];l===void 0||n&&i in n||(l.d(),s[i]=void 0)}if(n){s||(s={},r.U=s);for(var c in n){var d=s[c],p=n[c];d===void 0?(d=qB(r,c,p,a),s[c]=d):d.o(p,a)}}}e(t)});function qB(e,t,r,n){var a=t in e&&e.ownerSVGElement===void 0,s=tn(r);return{o:function(i,l){s.value=i,n=l},d:hc(function(){this.N=f8;var i=s.value.value;n[t]!==i&&(n[t]=i,a?e[t]=i:i!=null&&(i!==!1||t[4]==="-")?e.setAttribute(t,i):e.removeAttribute(t))})}}fc("unmount",function(e,t){if(typeof t.type=="string"){var r=t.__e;if(r){var n=r.U;if(n){r.U=void 0;for(var a in n){var s=n[a];s&&s.d()}}}var i=t.__np;if(i){var l=t.props;for(var c in i)l[c]=i[c]}t.__np=void 0}else{var d=t.__c;if(d){var p=d.__$u;p&&(d.__$u=void 0,p.d())}}e(t)});fc("__h",function(e,t,r,n){n<3&&(t.__$f|=2),e(t,r,n)});va.prototype.shouldComponentUpdate=function(e,t){if(this.__R)return!0;var r=this.__$u,n=r&&r.s!==void 0;for(var a in t)return!0;if(this.__f||typeof this.u=="boolean"&&this.u===!0){var s=2&this.__$f;if(!(n||s||4&this.__$f)||1&this.__$f)return!0}else if(!(n||4&this.__$f)||3&this.__$f)return!0;for(var i in e)if(i!=="__source"&&e[i]!==this.props[i])return!0;for(var l in this.props)if(!(l in e))return!0;return!1};function h8(e,t){return Ua(function(){return tn(e,t)},[])}var WB=typeof requestAnimationFrame>"u"?setTimeout:function(e){var t=function(){clearTimeout(r),cancelAnimationFrame(n),e()},r=setTimeout(t,35),n=requestAnimationFrame(t)},VB=function(e){queueMicrotask(function(){queueMicrotask(e)})};function GB(){s8(function(){for(var e;e=u8.shift();)$y.call(e)})}function KB(){u8.push(this)===1&&(At.requestAnimationFrame||WB)(GB)}function YB(){s8(function(){for(var e;e=p8.shift();)$y.call(e)})}function f8(){p8.push(this)===1&&(At.requestAnimationFrame||VB)(YB)}function qd(e,t){var r=ht(e);r.current=e,Pt(function(){return hc(function(){return this.N=KB,r.current()},t)},[])}function g8(e,t){for(var r in t)e[r]=t[r];return e}function sv(e,t){for(var r in e)if(r!=="__source"&&!(r in t))return!0;for(var n in t)if(n!=="__source"&&e[n]!==t[n])return!0;return!1}function XB(e,t){var r=t(),n=Ft({t:{__:r,u:t}}),a=n[0].t,s=n[1];return Dy(function(){a.__=r,a.u=t,Kf(a)&&s({t:a})},[e,r,t]),Pt(function(){return Kf(a)&&s({t:a}),e(function(){Kf(a)&&s({t:a})})},[e]),r}function Kf(e){try{return!((t=e.__)===(r=e.u())&&(t!==0||1/t==1/r)||t!=t&&r!=r)}catch{return!0}var t,r}function U2(e,t){this.props=e,this.context=t}function $h(e,t){function r(a){var s=this.props.ref;return s!=a.ref&&s&&(typeof s=="function"?s(null):s.current=null),t?!t(this.props,a)||s!=a.ref:sv(this.props,a)}function n(a){return this.shouldComponentUpdate=r,Ni(e,a)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.__f=n.prototype.isReactComponent=!0,n.type=e,n}(U2.prototype=new va).isPureReactComponent=!0,U2.prototype.shouldComponentUpdate=function(e,t){return sv(this.props,e)||sv(this.state,t)};var H2=At.__b;At.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),H2&&H2(e)};var ZB=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Fy(e){function t(r){var n=g8({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=ZB,t.render=e,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var JB=At.__e;At.__e=function(e,t,r,n){if(e.then){for(var a,s=t;s=s.__;)if((a=s.__c)&&a.__c)return t.__e==null&&(t.__e=r.__e,t.__k=r.__k||[]),a.__c(e,t)}JB(e,t,r,n)};var q2=At.unmount;function b8(e,t,r){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),e.__c.__H=null),(e=g8({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return b8(n,t,r)})),e}function x8(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return x8(n,t,r)}),e.__c&&e.__c.__P===t&&(e.__e&&r.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=r)),e}function Yf(){this.__u=0,this.o=null,this.__b=null}function v8(e){var t=e.__&&e.__.__c;return t&&t.__a&&t.__a(e)}function Qu(){this.i=null,this.l=null}At.unmount=function(e){var t=e.__c;t&&(t.__z=!0),t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),q2&&q2(e)},(Yf.prototype=new va).__c=function(e,t){var r=t.__c,n=this;n.o==null&&(n.o=[]),n.o.push(r);var a=v8(n.__v),s=!1,i=function(){s||n.__z||(s=!0,r.__R=null,a?a(c):c())};r.__R=i;var l=r.__P;r.__P=null;var c=function(){if(!--n.__u){if(n.state.__a){var d=n.state.__a;n.__v.__k[0]=x8(d,d.__c.__P,d.__c.__O)}var p;for(n.setState({__a:n.__b=null});p=n.o.pop();)p.__P=l,p.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(i,i)},Yf.prototype.componentWillUnmount=function(){this.o=[]},Yf.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=b8(this.__b,r,n.__O=n.__P)}this.__b=null}var a=t.__a&&Ni(qt,null,e.fallback);return a&&(a.__u&=-33),[Ni(qt,null,t.__a?null:e.children),a]};var W2=function(e,t,r){if(++r[1]===r[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(r=e.i;r;){for(;r.length>3;)r.pop()();if(r[1]<r[0])break;e.i=r=r[2]}};function QB(e){return this.getChildContext=function(){return e.context},e.children}function eU(e){var t=this,r=e.h;if(t.componentWillUnmount=function(){yd(null,t.v),t.v=null,t.h=null},t.h&&t.h!==r&&t.componentWillUnmount(),!t.v){for(var n=t.__v;n!==null&&!n.__m&&n.__!==null;)n=n.__;t.h=r,t.v={nodeType:1,parentNode:r,childNodes:[],__k:{__m:n.__m},contains:function(){return!0},namespaceURI:r.namespaceURI,insertBefore:function(a,s){this.childNodes.push(a),t.h.insertBefore(a,s)},removeChild:function(a){this.childNodes.splice(this.childNodes.indexOf(a)>>>1,1),t.h.removeChild(a)}}}yd(Ni(QB,{context:t.context},e.__v),t.v)}function tU(e,t){var r=Ni(eU,{__v:e,h:t});return r.containerInfo=t,r}(Qu.prototype=new va).__a=function(e){var t=this,r=v8(t.__v),n=t.l.get(e);return n[0]++,function(a){var s=function(){t.props.revealOrder?(n.push(a),W2(t,e,n)):a()};r?r(s):s()}},Qu.prototype.render=function(e){this.i=null,this.l=new Map;var t=_m(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var r=t.length;r--;)this.l.set(t[r],this.i=[1,0,this.i]);return e.children},Qu.prototype.componentDidUpdate=Qu.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,r){W2(e,r,t)})};var rU=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,nU=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,aU=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,sU=/[A-Z0-9]/g,oU=typeof document<"u",iU=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};va.prototype.isReactComponent=!0,["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(va.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var V2=At.event;At.event=function(e){return V2&&(e=V2(e)),e.persist=function(){},e.isPropagationStopped=function(){return this.cancelBubble},e.isDefaultPrevented=function(){return this.defaultPrevented},e.nativeEvent=e};var lU={configurable:!0,get:function(){return this.class}},G2=At.vnode;At.vnode=function(e){typeof e.type=="string"&&(function(t){var r=t.props,n=t.type,a={},s=n.indexOf("-")==-1;for(var i in r){var l=r[i];if(!(i==="value"&&"defaultValue"in r&&l==null||oU&&i==="children"&&n==="noscript"||i==="class"||i==="className")){var c=i.toLowerCase();i==="defaultValue"&&"value"in r&&r.value==null?i="value":i==="download"&&l===!0?l="":c==="translate"&&l==="no"?l=!1:c[0]==="o"&&c[1]==="n"?c==="ondoubleclick"?i="ondblclick":c!=="onchange"||n!=="input"&&n!=="textarea"||iU(r.type)?c==="onfocus"?i="onfocusin":c==="onblur"?i="onfocusout":aU.test(i)&&(i=c):c=i="oninput":s&&nU.test(i)?i=i.replace(sU,"-$&").toLowerCase():l===null&&(l=void 0),c==="oninput"&&a[i=c]&&(i="oninputCapture"),a[i]=l}}n=="select"&&(a.multiple&&Array.isArray(a.value)&&(a.value=_m(r.children).forEach(function(d){d.props.selected=a.value.indexOf(d.props.value)!=-1})),a.defaultValue!=null&&(a.value=_m(r.children).forEach(function(d){d.props.selected=a.multiple?a.defaultValue.indexOf(d.props.value)!=-1:a.defaultValue==d.props.value}))),r.class&&!r.className?(a.class=r.class,Object.defineProperty(a,"className",lU)):r.className&&(a.class=a.className=r.className),t.props=a})(e),e.$$typeof=rU,G2&&G2(e)};var K2=At.__r;At.__r=function(e){K2&&K2(e),e.__c};var Y2=At.diffed;At.diffed=function(e){Y2&&Y2(e);var t=e.props,r=e.__e;r!=null&&e.type==="textarea"&&"value"in t&&t.value!==r.value&&(r.value=t.value==null?"":t.value)};var cU=0;function P(e,t,r,n,a,s){t||(t={});var i,l,c=t;if("ref"in c)for(l in c={},t)l=="ref"?i=t[l]:c[l]=t[l];var d={type:e,props:c,key:r,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--cU,__i:-1,__u:0,__source:a,__self:s};if(typeof e=="function"&&(i=e.defaultProps))for(l in i)c[l]===void 0&&(c[l]=i[l]);return At.vnode&&At.vnode(d),d}let Pc=null;const dU=()=>{if(Pc!==null)return Pc;try{Pc=window.matchMedia("(color-gamut: p3)").matches}catch{Pc=!1}return Pc};dU();const uU=["/components/ui/","/packages/ui/","/design-system/","/design-systems/","/primitives/"],pU=5e3,mU=8e3,hU=1e4,fU=.5,y8=["id","class","aria-label","data-testid","role","name","title"],gU=new Set(["id","data-testid","aria-label","href","src","alt","type","name","placeholder","role","for","action","method","title","disabled","checked","readonly","required","selected","open"]),w8=new Set(["a","button","code","label","option","pre","summary","text"]),bU=new Set(["script","style","template","noscript"]),k8=new Set("display.position.top.right.bottom.left.z-index.overflow.overflow-x.overflow-y.width.height.min-width.min-height.max-width.max-height.margin-top.margin-right.margin-bottom.margin-left.padding-top.padding-right.padding-bottom.padding-left.flex-direction.flex-wrap.justify-content.align-items.align-self.align-content.flex-grow.flex-shrink.flex-basis.order.gap.row-gap.column-gap.grid-template-columns.grid-template-rows.grid-template-areas.font-family.font-size.font-weight.font-style.line-height.letter-spacing.text-align.text-decoration-line.text-decoration-style.text-transform.text-overflow.text-shadow.white-space.word-break.overflow-wrap.vertical-align.color.background-color.background-image.background-position.background-size.background-repeat.border-top-width.border-right-width.border-bottom-width.border-left-width.border-top-style.border-right-style.border-bottom-style.border-left-style.border-top-color.border-right-color.border-bottom-color.border-left-color.border-top-left-radius.border-top-right-radius.border-bottom-left-radius.border-bottom-right-radius.box-shadow.opacity.transform.filter.backdrop-filter.object-fit.object-position".split(".")),Wd=e=>typeof e=="object"&&!!e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE,Oy=e=>{if(!e)return null;try{return e.frameElement}catch{return null}},xU=e=>Object.assign(e,{[Symbol.dispose]:e}),By="bippy-0.6.1",X2=Object.defineProperty,vU=Object.prototype.hasOwnProperty,ad=()=>{},S8=e=>{try{Function.prototype.toString.call(e).indexOf("^_^")>-1&&setTimeout(()=>{throw Error("React is running in production mode, but dead code elimination has not been applied. Read how to correctly configure React for production: https://reactjs.org/link/perf-use-production-build")})}catch{}},C8=(e=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__)=>!!(e&&"getFiberRoots"in e);let j8=!1,Z2;const ov=(e=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__)=>j8?!0:(e&&typeof e.inject=="function"&&(Z2=e.inject.toString()),!!Z2?.includes("(injected)")),Dl=new Set,Vd=new Set,yU=e=>{e&&Dl.add(e);let t=new Map,r=0,n={_instrumentationIsActive:!1,_instrumentationSource:By,checkDCE:S8,hasUnsupportedRendererAttached:!1,inject(a){let s=++r;return t.set(s,a),Vd.add(a),n._instrumentationIsActive||(n._instrumentationIsActive=!0,Dl.forEach(i=>i())),s},on:ad,onCommitFiberRoot:ad,onCommitFiberUnmount:ad,onPostCommitFiberRoot:ad,renderers:t,supportsFiber:!0,supportsFlight:!0};try{X2(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__",{configurable:!0,enumerable:!0,get(){return n},set(i){if(i&&typeof i=="object"){let l=n.renderers;n=i,l.size>0&&(l.forEach((c,d)=>{Vd.add(c),i.renderers.set(d,c)}),iv(e))}}});let a=window.hasOwnProperty,s=!1;X2(window,"hasOwnProperty",{configurable:!0,value:function(...i){try{if(!s&&i[0]==="__REACT_DEVTOOLS_GLOBAL_HOOK__")return globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__=void 0,s=!0,-0}catch{}return a.apply(this,i)},writable:!0})}catch{iv(e)}return n},iv=e=>{e&&Dl.add(e);try{let t=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!t)return;if(!t._instrumentationSource){t.checkDCE=S8,t.supportsFiber=!0,t.supportsFlight=!0,t.hasUnsupportedRendererAttached=!1,t._instrumentationSource=By,t._instrumentationIsActive=!1;let r=C8(t);if(r||(t.on=ad),t.renderers.size){t._instrumentationIsActive=!0,Dl.forEach(s=>s());return}let n=t.inject,a=ov(t);a&&!r&&(j8=!0,t.inject({scheduleRefresh(){}})&&(t._instrumentationIsActive=!0)),t.inject=s=>{let i=n(s);return Vd.add(s),a&&t.renderers.set(i,s),t._instrumentationIsActive=!0,Dl.forEach(l=>l()),i}}(t.renderers.size||t._instrumentationIsActive||ov())&&e?.()}catch{}},N8=()=>vU.call(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__"),ku=e=>N8()?(iv(e),globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__):yU(e),wU=()=>!!(typeof window<"u"&&(window.document?.createElement||window.navigator?.product==="ReactNative"));(()=>{try{wU()&&ku()}catch{}})();const Uy=e=>{switch(e.tag){case 1:case 11:case 0:case 14:case 15:return!0;default:return!1}},kU=e=>!e||typeof e!="object"?!1:"pendingProps"in e&&!("containerInfo"in e);function gc(e,t,r=!1){if(!e)return null;let n=t(e);if(n instanceof Promise)return(async()=>{if(await n===!0)return e;let s=r?e.return:e.child;for(;s;){let i=await E8(s,t,r);if(i)return i;s=r?null:s.sibling}return null})();if(n===!0)return e;let a=r?e.return:e.child;for(;a;){let s=T8(a,t,r);if(s)return s;a=r?null:a.sibling}return null}const T8=(e,t,r=!1)=>{if(!e)return null;if(t(e)===!0)return e;let n=r?e.return:e.child;for(;n;){let a=T8(n,t,r);if(a)return a;n=r?null:n.sibling}return null},E8=async(e,t,r=!1)=>{if(!e)return null;if(await t(e)===!0)return e;let n=r?e.return:e.child;for(;n;){let a=await E8(n,t,r);if(a)return a;n=r?null:n.sibling}return null},A8=e=>{let t=e;return typeof t=="function"?t:typeof t=="object"&&t?A8(t.type||t.render):null},Vl=e=>{let t=e;if(typeof t=="string")return t;if(typeof t!="function"&&!(typeof t=="object"&&t))return null;let r=t.displayName||t.name||null;if(r)return r;let n=A8(t);return n&&(n.displayName||n.name)||null},Fh=()=>{let e=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__;return!!e?._instrumentationIsActive||C8(e)||ov(e)},Hy=new Set,qy=e=>{let t=e.alternate;if(!t)return e;if(t.actualStartTime&&e.actualStartTime)return t.actualStartTime>e.actualStartTime?t:e;for(let r of Hy){let n=gc(r.current,a=>{if(a===e)return!0});if(n)return n}return e},SU=e=>{if(!N8())return null;let t=e;for(;t.return;)t=t.return;let r=_8.get(t.stateNode);return r===void 0?null:ku().renderers?.get(r)??null},lv=new Set,cv=new Set,dv=new Set,uv=new Set,Qi=new WeakMap,_8=new WeakMap,CU=e=>{let t=Qi.get(e)??{};if(Qi.set(e,t),!t.onCommitFiberRoot||e.onCommitFiberRoot!==t.onCommitFiberRoot){let r=e.onCommitFiberRoot,n=(a,s,i)=>{if(r?.(a,s,i),Qi.get(e)?.onCommitFiberRoot===n){Hy.add(s),_8.set(s,a);for(let l of lv)l(a,s,i)}};t.onCommitFiberRoot=n,e.onCommitFiberRoot=n}if(!t.onCommitFiberUnmount||e.onCommitFiberUnmount!==t.onCommitFiberUnmount){let r=e.onCommitFiberUnmount,n=(a,s)=>{if(r?.(a,s),Qi.get(e)?.onCommitFiberUnmount===n)for(let i of cv)i(a,s)};t.onCommitFiberUnmount=n,e.onCommitFiberUnmount=n}if(!t.onPostCommitFiberRoot||e.onPostCommitFiberRoot!==t.onPostCommitFiberRoot){let r=e.onPostCommitFiberRoot,n=(a,s)=>{if(r?.(a,s),Qi.get(e)?.onPostCommitFiberRoot===n)for(let i of dv)i(a,s)};t.onPostCommitFiberRoot=n,e.onPostCommitFiberRoot=n}if(!t.onScheduleFiberRoot||e.onScheduleFiberRoot!==t.onScheduleFiberRoot){let r=e.onScheduleFiberRoot,n=(a,s,i)=>{if(r?.(a,s,i),Qi.get(e)?.onScheduleFiberRoot===n)for(let l of uv)l(a,s,i)};t.onScheduleFiberRoot=n,e.onScheduleFiberRoot=n}},P8=e=>{let t=ku(e.onActive);t._instrumentationSource=e.name??By,CU(t);let{onActive:r,onCommitFiberRoot:n,onCommitFiberUnmount:a,onPostCommitFiberRoot:s,onScheduleFiberRoot:i}=e;return n&&lv.add(n),a&&cv.add(a),s&&dv.add(s),i&&uv.add(i),xU(()=>{r&&Dl.delete(r),n&&lv.delete(n),a&&cv.delete(a),s&&dv.delete(s),i&&uv.delete(i)})},J2=new Set,jU=e=>e.startsWith("__reactContainer$")||e.startsWith("__reactInternalInstance$")||e.startsWith("__reactFiber"),NU=e=>{let t=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t?.renderers)for(let r of t.renderers.values())try{let n=r.findFiberByHostInstance?.(e);if(n)return n}catch{}if(typeof e=="object"&&e){if("_reactRootContainer"in e)return e._reactRootContainer?._internalRoot?.current?.child;let r=e.__internalInstanceHandle??e._internalInstanceHandle;if(kU(r))return r;let n=e;for(let a of J2){let s=n[a];if(s)return s}for(let a of Object.keys(n))if(jU(a))return J2.add(a),n[a]||null;for(let a of Hy){if(SU(a.current)?.findFiberByHostInstance)continue;let s=gc(a.current,i=>i.stateNode===e);if(s)return s}}return null},TU=new WeakMap,Oi=e=>TU.get(e)??null,Oh=e=>Oi(e)?.getFiber()??NU(e),Bi=e=>{let t=e.ownerDocument?.defaultView;return!!(t&&e instanceof t.ShadowRoot)};var Wy=class extends Error{constructor(t,r){super(t,r),this.name="ReactGrabError"}},EU=class extends Wy{constructor(){super("Can't generate CSS selector for non-element node type."),this.name="NonElementNodeError"}},AU=class extends Wy{constructor(t){super(`Timeout: Can't find a unique selector after ${t}ms`),this.name="SelectorTimeoutError",this.timeoutMs=t}},_U=class extends Wy{constructor(){super("Selector was not found."),this.name="SelectorNotFoundError"}};const M8=e=>Oi(e)?.getTagName()??(e.tagName||"").toLowerCase(),I8=e=>typeof e=="object"&&!!e&&"nodeType"in e&&e.nodeType===9,PU=e=>{if(e.assignedSlot)return e.assignedSlot;if(e.parentElement)return e.parentElement;let t=e.getRootNode();return Bi(t)?t.host:I8(t)?Oy(t.defaultView):null},D8=typeof window<"u",MU=e=>0,IU=e=>{},DU=D8?(Object.getOwnPropertyDescriptor(Window.prototype,"requestAnimationFrame")?.value??window.requestAnimationFrame).bind(window):MU,Q2=D8?(Object.getOwnPropertyDescriptor(Window.prototype,"cancelAnimationFrame")?.value??window.cancelAnimationFrame).bind(window):IU;new Set("A.ABBR.B.BDI.BDO.BR.CITE.CODE.DATA.DEL.DFN.EM.I.INS.KBD.MARK.Q.S.SAMP.SMALL.SPAN.STRONG.SUB.SUP.TIME.U.VAR.WBR".split("."));const RU=(e,t)=>{if(e.length!==0)throw e.length===1?e[0]:AggregateError(e,t)},Xf=new Set,pv=new Set;let zU=!1;const LU=(e,t)=>{if(pv.has(e))try{e.unfreeze()}catch(r){t.push(r)}finally{pv.delete(e)}},$U=e=>{Xf.add(e);try{zU&&e.isConnected()&&(e.freeze(),pv.add(e))}catch(t){throw Xf.delete(e),t}return()=>{let t=[];LU(e,t),Xf.delete(e),RU(t,"Unregistering renderer freeze failed")}},Dm=new WeakMap,Rm=new WeakMap,zm=new WeakMap,ms=e=>typeof e=="object"&&!!e,FU=e=>typeof e=="object"&&!!e||typeof e=="function",_i=(e,t)=>typeof e[t]=="function",OU=e=>ms(e)&&_i(e,"clone")&&_i(e,"premultiply"),BU=e=>ms(e)&&e.isObject3D===!0&&typeof e.uuid=="string"&&typeof e.name=="string"&&typeof e.type=="string"&&typeof e.visible=="boolean"&&OU(e.matrixWorld)&&_i(e,"updateWorldMatrix"),UU=e=>ms(e)&&e.isCamera===!0,HU=e=>BU(e)&&e.isScene===!0&&Array.isArray(e.children),qU=e=>ms(e)&&typeof e.tagName=="string"&&e.tagName.toLowerCase()==="canvas"&&_i(e,"getContext"),WU=e=>ms(e)&&qU(e.domElement),VU=e=>ms(e)&&_i(e,"set"),GU=e=>ms(e)&&_i(e,"setFromCamera")&&_i(e,"intersectObjects"),e4=e=>ms(e)&&WU(e.gl)&&HU(e.scene)&&UU(e.camera)&&GU(e.raycaster)&&VU(e.pointer),KU=e=>e==="always"||e==="demand"||e==="never",t4=e=>ms(e)&&typeof e.elapsedTime=="number",r4=(e,t)=>{let r=e.getState();if(typeof r.setFrameloop!="function")return;let n=t4(r.clock)?r.clock.elapsedTime:null;r.setFrameloop(t);let a=e.getState().clock;n!==null&&t4(a)&&(a.elapsedTime=n)},YU=e=>{if(Rm.has(e))return;let t=null,r=$U({freeze:()=>{let n=Dm.get(e);if(!n)return;let a=n.getState();if(KU(a.frameloop)&&typeof a.setFrameloop=="function"){let s=a.frameloop;r4(n,"never"),t=()=>r4(n,s)}},isConnected:()=>e.isConnected,unfreeze:()=>{t?.(),t=null}});Rm.set(e,r)},XU=e=>{let t=Rm.get(e);t&&(Rm.delete(e),t())},ZU=e=>{let t=e.current.stateNode;if(!ms(t)||!FU(t.containerInfo))return null;let r=t.containerInfo,n=Reflect.get(r,"getState");if(typeof n!="function")return null;let a=Reflect.apply(n,r,[]);return e4(a)?()=>{let s=Reflect.apply(n,r,[]);return e4(s)?s:a}:null},Zf=e=>{let t=zm.get(e);t&&(zm.delete(e),Dm.get(t.canvas)===t.root&&(Dm.delete(t.canvas),XU(t.canvas)))},JU=e=>{let t=ZU(e);if(!t){Zf(e);return}let r=t().gl.domElement;if(!r.isConnected||!e.current.child){Zf(e);return}let n=zm.get(e);n&&n.canvas!==r&&(Zf(e),n=void 0),n?(n.root.getState=t,n.root.selectableObjects=null):(n={canvas:r,root:{getState:t,selectableObjects:null}},zm.set(e,n)),Dm.set(r,n.root),YU(r)};P8({name:"react-grab-three-selection",onCommitFiberRoot:(e,t)=>JU(t)});let Sd=null,sd=!1;const Jf=new Map,mv=new WeakSet,QU=new WeakSet,hv=new WeakMap,n4=new Map,a4=new Map,eH=e=>{if(Sd===e&&(sd=!0),mv.has(e))return!0;if(Sd===e){let t=(hv.get(e)??0)+1;return hv.set(e,t),t<4?!1:(mv.add(e),!0)}return!1};typeof window<"u"&&(window.requestAnimationFrame=e=>(eH(e),DU(r=>{let n=Sd,a=sd;Sd=e,sd=!1;try{e(r)}finally{let s=sd;Sd=n,sd=a,!s&&!QU.has(e)&&(mv.delete(e),hv.delete(e))}})),window.cancelAnimationFrame=e=>{if(Jf.has(e)){Jf.delete(e);return}let t=a4.get(e);if(t!==void 0){Q2(t.nativeId),a4.delete(e);return}let r=n4.get(e);if(r!==void 0){Jf.delete(r),n4.delete(e);return}Q2(e)});const tH=new WeakMap;P8({name:"react-grab-freeze-updates",onCommitFiberRoot:(e,t)=>{let r=ku().renderers.get(e);r&&tH.set(t,r)}});const s4=/^[a-zA-Z][a-zA-Z\d+\-.]*:/,rH=["rsc://","file:///","webpack-internal://","webpack://","node:","turbopack://","metro://","/app-pages-browser/","/(app-pages-browser)/"],nH=["rsc://","about://React/"],aH=["<anonymous>","eval",""],R8=/\.(jsx|tsx|ts|js)$/,sH=/(\.min|bundle|chunk|vendor|vendors|runtime|polyfill|polyfills)\.(js|mjs|cjs)$|(chunk|bundle|vendor|vendors|runtime|polyfill|polyfills|framework|app|main|index)[-_.][A-Za-z0-9_-]{4,}\.(js|mjs|cjs)$|[\da-f]{8,}\.(js|mjs|cjs)$|[-_.][\da-f]{20,}\.(js|mjs|cjs)$|\/dist\/|\/build\/|\/.next\/|\/out\/|\/node_modules\/|\.webpack\.|\.vite\.|\.turbopack\./i,oH=/^\?[\w~.-]+(?:=[^&#]*)?(?:&[\w~.-]+(?:=[^&#]*)?)*$/,iH=/\(at [^)]+\)$/,z8=["react_stack_bottom_frame","react-stack-bottom-frame"],lH=/(^|@)\S+:\d+/,cH=/^\s*at .*(\S+:\d+|\(native\))/m,dH=/^(eval@)?(\[native code\])?$/,Bh=(e,t)=>{{let r=e.split(`
3
3
  `),n=[];for(let a of r)if(/^\s*at\s+/.test(a)){let s=uH(a,void 0)[0];s&&n.push(s)}else if(/^\s*in\s+/.test(a)){let s=a.replace(/^\s*in\s+/,"").replace(/\s*\(at .*\)$/,"");n.push({functionName:s,source:a})}else if(a.match(lH)){let s=pH(a,void 0)[0];s&&n.push(s)}return Vy(n,t)}},L8=e=>{if(!e.includes(":"))return[e,void 0,void 0];let t=e.startsWith("(")&&/:\d+\)$/.test(e)?e.slice(1,-1):e,r=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(t);return r?[r[1],r[2]||void 0,r[3]||void 0]:[t,void 0,void 0]},Vy=(e,t)=>t&&t.slice!=null?Array.isArray(t.slice)?e.slice(t.slice[0],t.slice[1]):e.slice(0,t.slice):e,uH=(e,t)=>Vy(e.split(`
4
4
  `).filter(r=>!!r.match(cH)),t).map(r=>{let n=r;n.includes("(eval ")&&(n=n.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));let a=n.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,""),s=a.match(/ (\(.+\)$)/);a=s?a.replace(s[0],""):a;let i=L8(s?s[1]:a);return{functionName:s&&a||void 0,fileName:["eval","<anonymous>"].includes(i[0])?void 0:i[0],lineNumber:i[1]?+i[1]:void 0,columnNumber:i[2]?+i[2]:void 0,source:n}}),pH=(e,t)=>Vy(e.split(`
@@ -3298,7 +3298,7 @@ It's also good to note that react profiles hook times in development, and if man
3298
3298
  If it's not possible to explain the root problem from this data, please ask me for more data explicitly, and what we would need to know to find the source of the performance problem.
3299
3299
  `,Rv=(e,t)=>La(()=>{switch(e){case"data":switch(t.kind){case"dropped-frames":return MY({formattedReactData:tl(t.groupedFiberRenders),renderTime:t.groupedFiberRenders.reduce((r,n)=>r+n.totalTime,0),otherTime:t.timing.otherTime});case"interaction":return EY({commitTime:t.timing.frameConstruction,eHandlerTimeExcludingRenders:t.timing.otherJSTime,formattedReactData:tl(t.groupedFiberRenders),framePresentTime:t.timing.frameDraw,renderTime:t.groupedFiberRenders.reduce((r,n)=>r+n.totalTime,0),toRafTime:t.timing.framePreparation})}case"explanation":switch(t.kind){case"dropped-frames":return PY({formattedReactData:tl(t.groupedFiberRenders),renderTime:t.groupedFiberRenders.reduce((r,n)=>r+n.totalTime,0),otherTime:t.timing.otherTime});case"interaction":return IY({commitTime:t.timing.frameConstruction,eHandlerTimeExcludingRenders:t.timing.otherJSTime,formattedReactData:tl(t.groupedFiberRenders),framePresentTime:t.timing.frameDraw,interactionType:t.type,name:Zd(t.componentPath),renderTime:t.groupedFiberRenders.reduce((r,n)=>r+n.totalTime,0),time:un(t.timing),toRafTime:t.timing.framePreparation})}case"fix":switch(t.kind){case"dropped-frames":return _Y({formattedReactData:tl(t.groupedFiberRenders),renderTime:t.groupedFiberRenders.reduce((r,n)=>r+n.totalTime,0),otherTime:t.timing.otherTime});case"interaction":return AY({commitTime:t.timing.frameConstruction,componentPath:t.componentPath.join(">"),eHandlerTimeExcludingRenders:t.timing.otherJSTime,formattedReactData:tl(t.groupedFiberRenders),framePresentTime:t.timing.frameDraw,interactionType:t.type,name:Zd(t.componentPath),renderTime:t.groupedFiberRenders.reduce((r,n)=>r+n.totalTime,0),time:un(t.timing),toRafTime:t.timing.framePreparation})}}}),DY=({selectedEvent:e})=>{const[t,r]=Ft("fix"),[n,a]=Ft(!1);return P("div",{className:be(["w-full h-full"]),children:[P("div",{className:be(["border border-[#27272A] rounded-sm h-4/5 text-xs overflow-hidden"]),children:[P("div",{className:be(["bg-[#18181B] p-1 rounded-t-sm"]),children:P("div",{className:be(["flex items-center gap-x-1"]),children:[P("button",{onClick:()=>r("fix"),className:be(["flex items-center justify-center whitespace-nowrap py-1.5 px-3 rounded-sm",t==="fix"?"text-white bg-[#7521c8]":"text-[#6E6E77] hover:text-white"]),children:"Fix"}),P("button",{onClick:()=>r("explanation"),className:be(["flex items-center justify-center whitespace-nowrap py-1.5 px-3 rounded-sm",t==="explanation"?"text-white bg-[#7521c8]":"text-[#6E6E77] hover:text-white"]),children:"Explanation"}),P("button",{onClick:()=>r("data"),className:be(["flex items-center justify-center whitespace-nowrap py-1.5 px-3 rounded-sm",t==="data"?"text-white bg-[#7521c8]":"text-[#6E6E77] hover:text-white"]),children:"Data"})]})}),P("div",{className:be(["overflow-y-auto h-full"]),children:P("pre",{className:be(["p-2 h-full","whitespace-pre-wrap break-words","text-gray-300 font-mono "]),children:Rv(t,e)})})]}),P("button",{onClick:async()=>{const s=Rv(t,e);await navigator.clipboard.writeText(s),a(!0),setTimeout(()=>a(!1),1e3)},className:be(["mt-4 px-4 py-2 bg-[#18181B] text-[#6E6E77] rounded-sm","hover:text-white transition-colors duration-200","flex items-center justify-center gap-x-2 text-xs"]),children:[P("span",{children:n?"Copied!":"Copy Prompt"}),P("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:be(["transition-transform duration-200",n&&"scale-110"]),children:n?P("path",{d:"M20 6L9 17l-5-5"}):P(qt,{children:[P("rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2"}),P("path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"})]})})]})]})},RY=(e,t)=>{switch(e.kind){case"dropped-frames":return[...t?[{name:"Total Processing Time",time:un(e.timing),color:"bg-red-500",kind:"total-processing-time"}]:[{name:"Renders",time:e.timing.renderTime,color:"bg-purple-500",kind:"render"},{name:"JavaScript, DOM updates, Draw Frame",time:e.timing.otherTime,color:"bg-[#4b4b4b]",kind:"other-frame-drop"}]];case"interaction":return[...t?[]:[{name:"Renders",time:e.timing.renderTime,color:"bg-purple-500",kind:"render"}],{name:t?"React Renders, Hooks, Other JavaScript":"JavaScript/React Hooks ",time:e.timing.otherJSTime,color:"bg-[#EFD81A]",kind:"other-javascript"},{name:"Update DOM and Draw New Frame",time:un(e.timing)-e.timing.renderTime-e.timing.otherJSTime,color:"bg-[#1D3A66]",kind:"other-not-javascript"}]}},zY=({selectedEvent:e})=>{var t,r;const[n]=Ft((t=Kh())!=null?t:!1),{notificationState:a}=ca(),[s,i]=Ft((r=a.routeMessage)!=null&&r.name?[a.routeMessage.name]:[]),l=RY(e,n),c=Ry(uw);Pt(()=>{var p;if((p=a.routeMessage)!=null&&p.name){const u=c?.querySelector("#overview-scroll-container"),h=c?.querySelector(`#react-scan-overview-bar-${a.routeMessage.name}`);if(u&&h){const m=h.getBoundingClientRect().top,g=u.getBoundingClientRect().top,b=m-g;u.scrollTop=u.scrollTop+b}}},[a.route]),Pt(()=>{a.route==="other-visualization"&&i(p=>{var u;return(u=a.routeMessage)!=null&&u.name?[a.routeMessage.name]:p})},[a.route]);const d=l.reduce((p,u)=>p+u.time,0);return P("div",{className:"rounded-sm border border-zinc-800 text-xs",children:[P("div",{className:"p-2 border-b border-zinc-800 bg-zinc-900/50",children:P("div",{className:"flex items-center justify-between",children:[P("h3",{className:"text-xs font-medium",children:"What was time spent on?"}),P("span",{className:"text-xs text-zinc-400",children:["Total: ",d.toFixed(0),"ms"]})]})}),P("div",{className:"divide-y divide-zinc-800",children:l.map(p=>{const u=s.includes(p.kind);return P("div",{id:`react-scan-overview-bar-${p.kind}`,children:[P("button",{onClick:()=>i(h=>h.includes(p.kind)?h.filter(m=>m!==p.kind):[...h,p.kind]),className:"w-full px-3 py-2 flex items-center gap-4 hover:bg-zinc-800/50 transition-colors",children:P("div",{className:"flex-1",children:[P("div",{className:"flex items-center justify-between mb-2",children:[P("div",{className:"flex items-center gap-0.5",children:[P("svg",{className:`h-4 w-4 text-zinc-400 transition-transform ${u?"rotate-90":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:P("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})}),P("span",{className:"font-medium flex items-center text-left",children:p.name})]}),P("span",{className:" text-zinc-400",children:[p.time.toFixed(0),"ms"]})]}),P("div",{className:"h-1 bg-zinc-800 rounded-full overflow-hidden",children:P("div",{className:`h-full ${p.color} transition-all`,style:{width:`${p.time/d*100}%`}})})]})}),u&&P("div",{className:"bg-zinc-900/30 border-t border-zinc-800 px-2.5 py-3",children:P("p",{className:" text-zinc-400 mb-4 text-xs",children:La(()=>{switch(e.kind){case"interaction":switch(p.kind){case"render":return P(rl,{input:$Y(e)});case"other-javascript":return P(rl,{input:FY(e)});case"other-not-javascript":return P(rl,{input:LY(e)})}case"dropped-frames":switch(p.kind){case"total-processing-time":return P(rl,{input:{kind:"total-processing",data:{time:un(e.timing)}}});case"render":return P(qt,{children:P(rl,{input:{kind:"render",data:{topByTime:e.groupedFiberRenders.toSorted((h,m)=>m.totalTime-h.totalTime).slice(0,3).map(h=>({name:h.name,percentage:h.totalTime/un(e.timing)}))}}})});case"other-frame-drop":return P(rl,{input:{kind:"other"}})}}})})})]},p.kind)})})]})},LY=e=>{const t=e.groupedFiberRenders.reduce((s,i)=>s+i.count,0),r=e.timing.renderTime,n=un(e.timing),a=r/n*100;return t>100?{kind:"high-render-count-update-dom-draw-frame",data:{count:t,percentageOfTotal:a,copyButton:P(a5,{})}}:{kind:"update-dom-draw-frame",data:{copyButton:P(a5,{})}}},a5=()=>{const[e,t]=Ft(!1),{notificationState:r}=ca();return P("button",{onClick:async()=>{r.selectedEvent&&(await navigator.clipboard.writeText(Rv("explanation",r.selectedEvent)),t(!0),setTimeout(()=>t(!1),1e3))},className:"bg-zinc-800 flex hover:bg-zinc-700 text-zinc-200 px-2 py-1 rounded gap-x-3",children:[P("span",{children:e?"Copied!":"Copy Prompt"}),P("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:be(["transition-transform duration-200",e&&"scale-110"]),children:e?P("path",{d:"M20 6L9 17l-5-5"}):P(qt,{children:[P("rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2"}),P("path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"})]})})]})},$Y=e=>e.timing.renderTime/un(e.timing)>.3?{kind:"render",data:{topByTime:e.groupedFiberRenders.toSorted((t,r)=>r.totalTime-t.totalTime).slice(0,3).map(t=>({percentage:t.totalTime/un(e.timing),name:t.name}))}}:{kind:"other"},FY=e=>{const t=e.groupedFiberRenders.reduce((r,n)=>r+n.count,0);return e.timing.otherJSTime/un(e.timing)<.2?{kind:"js-explanation-base"}:e.groupedFiberRenders.find(r=>r.count>200)||e.groupedFiberRenders.reduce((r,n)=>r+n.count,0)>500?{kind:"high-render-count-high-js",data:{renderCount:t,topByCount:e.groupedFiberRenders.filter(r=>r.count>100).toSorted((r,n)=>n.count-r.count).slice(0,3)}}:e.timing.otherJSTime/un(e.timing)>.3?e.timing.renderTime>.2?{kind:"js-explanation-base"}:{kind:"low-render-count-high-js",data:{renderCount:t}}:{kind:"js-explanation-base"}},rl=({input:e})=>{switch(e.kind){case"total-processing":return P("div",{className:be(["text-[#E4E4E7] text-[10px] leading-6 flex flex-col gap-y-2"]),children:[P("p",{children:["This is the time it took to draw the entire frame that was presented to the user. To be at 60FPS, this number needs to be ","<=16ms"]}),P("p",{children:'To debug the issue, check the "Ranked" tab to see if there are significant component renders'}),P("p",{children:"On a production React build, React Scan can't access the time it took for component to render. To get that information, run React Scan on a development build"}),P("p",{children:["To understand precisely what caused the slowdown while in production, use the ",P("strong",{children:"Chrome profiler"})," and analyze the function call times."]}),P("p",{})]});case"render":return P("div",{className:be(["text-[#E4E4E7] text-[10px] leading-6 flex flex-col gap-y-2"]),children:[P("p",{children:"This is the time it took React to run components, and internal logic to handle the output of your component."}),P("div",{className:be(["flex flex-col"]),children:[P("p",{children:"The slowest components for this time period were:"}),e.data.topByTime.map(t=>P("div",{children:[P("strong",{children:t.name}),":"," ",(t.percentage*100).toFixed(0),"% of total"]},t.name))]}),P("p",{children:'To view the render times of all your components, and what caused them to render, go to the "Ranked" tab'}),P("p",{children:'The "Ranked" tab shows the render times of every component.'}),P("p",{children:"The render times of the same components are grouped together into one bar."}),P("p",{children:"Clicking the component will show you what props, state, or context caused the component to re-render."})]});case"js-explanation-base":return P("div",{className:be(["text-[#E4E4E7] text-[10px] leading-6 flex flex-col gap-y-2"]),children:[P("p",{children:"This is the period when JavaScript hooks and other JavaScript outside of React Renders run."}),P("p",{children:["The most common culprit for high JS time is expensive hooks, like expensive callbacks inside of ",P("code",{children:"useEffect"}),"'s or a large number of useEffect's called, but this can also be JavaScript event handlers (",P("code",{children:"'onclick'"}),", ",P("code",{children:"'onchange'"}),") that performed expensive computation."]}),P("p",{children:"If you have lots of components rendering that call hooks, like useEffect, it can add significant overhead even if the callbacks are not expensive. If this is the case, you can try optimizing the renders of those components to avoid the hook from having to run."}),P("p",{children:["You should profile your app using the"," ",P("strong",{children:"Chrome DevTools profiler"})," to learn exactly which functions took the longest to execute."]})]});case"high-render-count-high-js":return P("div",{className:be(["text-[#E4E4E7] text-[10px] leading-6 flex flex-col gap-y-2"]),children:[P("p",{children:"This is the period when JavaScript hooks and other JavaScript outside of React Renders run."}),e.data.renderCount===0?P(qt,{children:[P("p",{children:"There were no renders, which means nothing related to React caused this slowdown. The most likely cause of the slowdown is a slow JavaScript event handler, or code related to a Web API"}),P("p",{children:["You should try to reproduce the slowdown while profiling your website with the",P("strong",{children:"Chrome DevTools profiler"})," to see exactly what functions took the longest to execute."]})]}):P(qt,{children:[" ",P("p",{children:["There were ",P("strong",{children:e.data.renderCount})," renders, which could have contributed to the high JavaScript/Hook time if they ran lots of hooks, like ",P("code",{children:"useEffects"}),"."]}),P("div",{className:be(["flex flex-col"]),children:[P("p",{children:"You should try optimizing the renders of:"}),e.data.topByCount.map(t=>P("div",{children:["- ",P("strong",{children:t.name})," (rendered ",t.count,"x)"]},t.name))]}),"and then checking if the problem still exists.",P("p",{children:["You can also try profiling your app using the"," ",P("strong",{children:"Chrome DevTools profiler"})," to see exactly what functions took the longest to execute."]})]})]});case"low-render-count-high-js":return P("div",{className:be(["text-[#E4E4E7] text-[10px] leading-6 flex flex-col gap-y-2"]),children:[P("p",{children:"This is the period when JavaScript hooks and other JavaScript outside of React Renders run."}),P("p",{children:["There were only ",P("strong",{children:e.data.renderCount})," renders detected, which means either you had very expensive hooks like"," ",P("code",{children:"useEffect"}),"/",P("code",{children:"useLayoutEffect"}),", or there is other JavaScript running during this interaction that took up the majority of the time."]}),P("p",{children:["To understand precisely what caused the slowdown, use the"," ",P("strong",{children:"Chrome profiler"})," and analyze the function call times."]})]});case"high-render-count-update-dom-draw-frame":return P("div",{className:be(["text-[#E4E4E7] text-[10px] leading-6 flex flex-col gap-y-2"]),children:[P("p",{children:"These are the calculations the browser is forced to do in response to the JavaScript that ran during the interaction."}),P("p",{children:"This can be caused by CSS updates/CSS recalculations, or new DOM elements/DOM mutations."}),P("p",{children:["During this interaction, there were"," ",P("strong",{children:e.data.count})," renders, which was"," ",P("strong",{children:[e.data.percentageOfTotal.toFixed(0),"%"]})," of the time spent processing"]}),P("p",{children:"The work performed as a result of the renders may have forced the browser to spend a lot of time to draw the next frame."}),P("p",{children:'You can try optimizing the renders to see if the performance problem still exists using the "Ranked" tab.'}),P("p",{children:"If you use an AI-based code editor, you can export the performance data collected as a prompt."}),P("p",{children:e.data.copyButton}),P("p",{children:"Provide this formatted data to the model and ask it to find, or fix, what could be causing this performance problem."}),P("p",{children:'For a larger selection of prompts, try the "Prompts" tab'})]});case"update-dom-draw-frame":return P("div",{className:be(["text-[#E4E4E7] text-[10px] leading-6 flex flex-col gap-y-2"]),children:[P("p",{children:"These are the calculations the browser is forced to do in response to the JavaScript that ran during the interaction."}),P("p",{children:"This can be caused by CSS updates/CSS recalculations, or new DOM elements/DOM mutations."}),P("p",{children:"If you use an AI-based code editor, you can export the performance data collected as a prompt."}),P("p",{children:e.data.copyButton}),P("p",{children:"Provide this formatted data to the model and ask it to find, or fix, what could be causing this performance problem."}),P("p",{children:'For a larger selection of prompts, try the "Prompts" tab'})]});case"other":return P("div",{className:be(["text-[#E4E4E7] text-[10px] leading-6 flex flex-col gap-y-2"]),children:[P("p",{children:["This is the time it took to run everything other than React renders. This can be hooks like ",P("code",{children:"useEffect"}),", other JavaScript not part of React, or work the browser has to do to update the DOM and draw the next frame."]}),P("p",{children:["To get a better picture of what happened, profile your app using the"," ",P("strong",{children:"Chrome profiler"})," when the performance problem arises."]})]})}},fr=null,Lr=null,cr=tn({kind:"idle",current:null}),j0=null,nl=0,OY=1.8,BY=.05,UY=1/60,Ll=()=>{j0&&cancelAnimationFrame(j0),j0=requestAnimationFrame(e=>{if(!fr||!Lr)return;const t=nl?Math.min((e-nl)/1e3,BY):UY;nl=e;const r=OY*t;Lr.clearRect(0,0,fr.width,fr.height);const n="hsl(271, 76%, 53%)",a=cr.value,{alpha:s,current:i}=La(()=>{var l,c,d;switch(a.kind){case"transition":{const p=(l=a.current)!=null&&l.alpha&&a.current.alpha>0?a.current:a.transitionTo;return{alpha:p?p.alpha:0,current:p}}case"move-out":return{alpha:(d=(c=a.current)==null?void 0:c.alpha)!=null?d:0,current:a.current};case"idle":return{alpha:1,current:a.current}}});switch(i?.rects.forEach(l=>{Lr&&(Lr.shadowColor=n,Lr.shadowBlur=6,Lr.strokeStyle=n,Lr.lineWidth=2,Lr.globalAlpha=s,Lr.beginPath(),Lr.rect(l.left,l.top,l.width,l.height),Lr.stroke(),Lr.shadowBlur=0,Lr.beginPath(),Lr.rect(l.left,l.top,l.width,l.height),Lr.stroke())}),a.kind){case"move-out":{if(a.current.alpha===0){cr.value={kind:"idle",current:null},nl=0;return}a.current.alpha<=.01&&(a.current.alpha=0),a.current.alpha=Math.max(0,a.current.alpha-r),Ll();return}case"transition":{if(a.current&&a.current.alpha>0){a.current.alpha=Math.max(0,a.current.alpha-r),Ll();return}if(a.transitionTo.alpha===1){cr.value={kind:"idle",current:a.transitionTo},nl=0;return}a.transitionTo.alpha=Math.min(a.transitionTo.alpha+r,1),Ll()}case"idle":{nl=0;return}}})},N0=null,HY=e=>{if(fr=document.createElement("canvas"),Lr=fr.getContext("2d",{alpha:!0}),!Lr)return null;const t=window.devicePixelRatio||1,{innerWidth:r,innerHeight:n}=window;fr.style.width=`${r}px`,fr.style.height=`${n}px`,fr.width=r*t,fr.height=n*t,fr.style.position="fixed",fr.style.left="0",fr.style.top="0",fr.style.pointerEvents="none",fr.style.zIndex="2147483600",Lr.scale(t,t),e.appendChild(fr),N0&&window.removeEventListener("resize",N0);const a=()=>{if(!fr||!Lr)return;const s=window.devicePixelRatio||1,{innerWidth:i,innerHeight:l}=window;fr.style.width=`${i}px`,fr.style.height=`${l}px`,fr.width=i*s,fr.height=l*s,Lr.scale(s,s),Ll()};return N0=a,window.addEventListener("resize",a),cr.subscribe(()=>{requestAnimationFrame(()=>{Ll()})}),qY};function qY(){fr?.parentNode&&fr.parentNode.removeChild(fr),fr=null,Lr=null}var od=()=>{var e,t;const r=cr.value.current?cr.value.current:cr.value.kind==="transition"?cr.value.transitionTo:null;if(r){if(cr.value.kind==="transition"){cr.value={kind:"move-out",current:((e=cr.value.current)==null?void 0:e.alpha)===0?cr.value.transitionTo:(t=cr.value.current)!=null?t:cr.value.transitionTo};return}cr.value={kind:"move-out",current:{alpha:0,...r}}}},WY=({selectedEvent:e})=>{const t=un(e.timing),r=t-e.timing.renderTime,[n]=Ft(Kh()),s=e.groupedFiberRenders.map(d=>({event:d,kind:"render",totalTime:n?d.count:d.totalTime})),i=La(()=>{switch(e.kind){case"dropped-frames":return e.timing.renderTime/t<.1;case"interaction":return(e.timing.otherJSTime+e.timing.renderTime)/t<.2}});e.kind==="interaction"&&!n&&s.push({kind:"other-javascript",totalTime:e.timing.otherJSTime}),i&&!n&&(e.kind==="interaction"?s.push({kind:"other-not-javascript",totalTime:un(e.timing)-e.timing.renderTime-e.timing.otherJSTime}):s.push({kind:"other-frame-drop",totalTime:r}));const l=ht({lastCallAt:null,timer:null}),c=s.reduce((d,p)=>d+p.totalTime,0);return P("div",{className:be(["flex flex-col h-full w-full gap-y-1"]),children:[La(()=>{if(n&&s.length===0)return P("div",{className:"flex flex-col items-center justify-center h-full text-zinc-400",children:[P("p",{className:"text-sm w-full text-left text-white mb-1.5",children:"No data available"}),P("p",{className:"text-x w-full text-lefts",children:"No data was collected during this period"})]});if(s.length===0)return P("div",{className:"flex flex-col items-center justify-center h-full text-zinc-400",children:[P("p",{className:"text-sm w-full text-left text-white mb-1.5",children:"No renders collected"}),P("p",{className:"text-x w-full text-lefts",children:"There were no renders during this period"})]})}),s.toSorted((d,p)=>p.totalTime-d.totalTime).map(d=>P(dA,{bars:s,bar:d,debouncedMouseEnter:l,totalBarTime:c,isProduction:n},d.kind==="render"?d.event.id:d.kind))]})},VY=e=>e.current&&e.current.alpha>0?"fading-out":"fading-in",dA=({bar:e,debouncedMouseEnter:t,totalBarTime:r,isProduction:n,bars:a,depth:s=0})=>{const{setNotificationState:i,setRoute:l}=ca(),[c,d]=Ft(!1),p=e.kind==="render"?e.event.parents.size===0:!0,u=a.filter(g=>g.kind==="render"&&e.kind==="render"?e.event.parents.has(g.event.name)&&g.event.name!==e.event.name:!1),h=e.kind==="render"?Array.from(e.event.parents).filter(g=>!a.some(b=>b.kind==="render"&&b.event.name===g)):[],m=()=>{e.kind==="render"?(i(g=>({...g,selectedFiber:e.event})),l({route:"render-explanation",routeMessage:null})):l({route:"other-visualization",routeMessage:{kind:"auto-open-overview-accordion",name:e.kind}})};return P("div",{className:"w-full",children:[P("div",{className:be(["w-full flex items-center relative text-xs min-w-0"]),children:[P("button",{onMouseLeave:()=>{t.current.timer&&clearTimeout(t.current.timer),od()},onMouseEnter:async()=>{const g=async()=>{if(t.current.lastCallAt=Date.now(),e.kind!=="render"){const w=cr.value.current?cr.value.current:cr.value.kind==="transition"?cr.value.transitionTo:null;if(!w){cr.value={kind:"idle",current:null};return}cr.value={kind:"move-out",current:{alpha:0,...w}};return}const b=cr.value,x=La(()=>{switch(b.kind){case"transition":return b.transitionTo;case"idle":case"move-out":return b.current}}),v=[];if(b.kind==="transition"){const w=VY(b);La(()=>{switch(w){case"fading-in":{cr.value={kind:"transition",current:b.transitionTo,transitionTo:{rects:v,alpha:0,name:e.event.name}};return}case"fading-out":{cr.value={kind:"transition",current:cr.value.current?{alpha:0,...cr.value.current}:null,transitionTo:{rects:v,alpha:0,name:e.event.name}};return}}})}else cr.value={kind:"transition",transitionTo:{rects:v,alpha:0,name:e.event.name},current:x?{alpha:0,...x}:null};const y=e.event.elements.filter(w=>w instanceof Element);for await(const w of eA(y))w.forEach(({boundingClientRect:S})=>{v.push(S)}),Ll()};if(t.current.lastCallAt&&Date.now()-t.current.lastCallAt<200){t.current.timer&&clearTimeout(t.current.timer),t.current.timer=setTimeout(()=>{g()},200);return}g()},onClick:m,className:be(["h-full w-[90%] flex items-center hover:bg-[#0f0f0f] rounded-l-md min-w-0 relative"]),children:[P("div",{style:{minWidth:"fit-content",width:`${e.totalTime/r*100}%`},className:be(["flex items-center rounded-sm text-white text-xs h-[28px] shrink-0",e.kind==="render"&&"bg-[#412162] group-hover:bg-[#5b2d89]",e.kind==="other-frame-drop"&&"bg-[#44444a] group-hover:bg-[#6a6a6a]",e.kind==="other-javascript"&&"bg-[#efd81a6b] group-hover:bg-[#efda1a2f]",e.kind==="other-not-javascript"&&"bg-[#214379d4] group-hover:bg-[#21437982]"])}),P("div",{className:be(["absolute inset-0 flex items-center px-2","min-w-0"]),children:P("div",{className:"flex items-center gap-x-2 min-w-0 w-full",children:[P("span",{className:be(["truncate"]),children:La(()=>{switch(e.kind){case"other-frame-drop":return"JavaScript, DOM updates, Draw Frame";case"other-javascript":return"JavaScript/React Hooks";case"other-not-javascript":return"Update DOM and Draw New Frame";case"render":return e.event.name}})}),e.kind==="render"&&xY(e.event)&&P("div",{style:{lineHeight:"10px"},className:be(["px-1 py-0.5 bg-[#6a369e] flex items-center rounded-sm font-semibold text-[8px] shrink-0"]),children:"Memoizable"})]})})]}),P("button",{onClick:()=>e.kind==="render"&&!p&&d(!c),className:be(["flex items-center min-w-fit shrink-0 rounded-r-md h-[28px]",!p&&"hover:bg-[#0f0f0f]",e.kind==="render"&&!p?"cursor-pointer":"cursor-default"]),children:[P("div",{className:"w-[20px] flex items-center justify-center",children:e.kind==="render"&&!p&&P(lA,{className:be("transition-transform",c&&"rotate-90"),size:16})}),P("div",{style:{minWidth:p?"fit-content":n?"30px":"60px"},className:"flex items-center justify-end gap-x-1",children:[e.kind==="render"&&P("span",{className:be(["text-[10px]"]),children:["x",e.event.count]}),(e.kind!=="render"||!n)&&P("span",{className:"text-[10px] text-[#7346a0] pr-1",children:[e.totalTime<1?"<1":e.totalTime.toFixed(0),"ms"]})]})]}),s===0&&P("div",{className:be(["absolute right-0 top-1/2 transition-none -translate-y-1/2 bg-white text-black px-2 py-1 rounded text-xs opacity-0 group-hover:opacity-100 transition-opacity mr-16","pointer-events-none"]),children:"Click to learn more"})]}),c&&(u.length>0||h.length>0)&&P("div",{className:"pl-3 flex flex-col gap-y-1 mt-1",children:[u.toSorted((g,b)=>b.totalTime-g.totalTime).map((g,b)=>P(dA,{depth:s+1,bar:g,debouncedMouseEnter:t,totalBarTime:r,isProduction:n,bars:a},b)),h.map(g=>P("div",{className:"w-full",children:P("div",{className:"w-full flex items-center relative text-xs",children:P("div",{className:"h-full w-full flex items-center relative",children:[P("div",{className:"flex items-center rounded-sm text-white text-xs h-[28px] w-full"}),P("div",{className:"absolute inset-0 flex items-center px-2",children:P("span",{className:"truncate whitespace-nowrap text-white/70 w-full",children:g})})]})})},g))]})]})},GY=({selectedEvent:e,selectedFiber:t})=>{const{setRoute:r}=ca(),[n,a]=Ft(!0),[s]=Ft(Kh());Dy(()=>{const l=localStorage.getItem("react-scan-tip-shown"),c=l==="true"?!0:l==="false"?!1:null;if(c===null){a(!0),localStorage.setItem("react-scan-tip-is-shown","true");return}c||a(!1)},[]);const i=t.changes.context.length===0&&t.changes.props.length===0&&t.changes.state.length===0;return P("div",{className:be(["w-full min-h-fit h-full flex flex-col py-4 pt-0 rounded-sm"]),children:[P("div",{className:be(["flex items-start gap-x-4 "]),children:[P("button",{onClick:()=>{r({route:"render-visualization",routeMessage:null})},className:be(["text-white hover:bg-[#34343b] flex gap-x-1 justify-center items-center mb-4 w-fit px-2.5 py-1.5 text-xs rounded-sm bg-[#18181B]"]),children:[P(kY,{size:14})," ",P("span",{children:"Overview"})]}),P("div",{className:be(["flex flex-col gap-y-1"]),children:[P("div",{className:be(["text-sm font-bold text-white overflow-x-hidden"]),children:P("div",{className:"flex items-center gap-x-2 truncate",children:t.name})}),P("div",{className:be(["flex gap-x-2"]),children:[!s&&P(qt,{children:P("div",{className:be(["text-xs text-gray-400"]),children:["• Render time: ",t.totalTime.toFixed(0),"ms"]})}),P("div",{className:be(["text-xs text-gray-400 mb-4"]),children:["• Renders: ",t.count,"x"]})]})]})]}),n&&!i&&P("div",{className:be(["w-full mb-4 bg-[#0A0A0A] border border-[#27272A] rounded-sm overflow-hidden flex relative"]),children:[P("button",{onClick:()=>{a(!1),localStorage.setItem("react-scan-tip-shown","false")},className:be(["absolute right-2 top-2 rounded-sm p-1 hover:bg-[#18181B]"]),children:P(Zm,{size:12})}),P("div",{className:be(["w-1 bg-[#d36cff]"])}),P("div",{className:be(["flex-1"]),children:[P("div",{className:be(["px-3 py-2 text-gray-100 text-xs font-semibold"]),children:"How to stop renders"}),P("div",{className:be(["px-3 pb-2 text-gray-400 text-[10px]"]),children:"Stop the following props, state and context from changing between renders, and wrap the component in React.memo if not already"})]})]}),i&&P("div",{className:be(["w-full mb-4 bg-[#0A0A0A] border border-[#27272A] rounded-sm overflow-hidden flex"]),children:[P("div",{className:be(["w-1 bg-[#d36cff]"])}),P("div",{className:be(["flex-1"]),children:[P("div",{className:be(["px-3 py-2 text-gray-100 text-sm font-semibold"]),children:"No changes detected"}),P("div",{className:be(["px-3 pb-2 text-gray-400 text-xs"]),children:"This component would not have rendered if it was memoized"})]})]}),P("div",{className:be(["flex w-full"]),children:[P("div",{className:be(["flex flex-col border border-[#27272A] rounded-l-sm overflow-hidden w-1/3"]),children:[P("div",{className:be(["text-[14px] font-semibold px-2 py-2 bg-[#18181B] text-white flex justify-center"]),children:"Changed Props"}),t.changes.props.length>0?t.changes.props.toSorted((l,c)=>c.count-l.count).map(l=>P("div",{className:be(["flex flex-col justify-between items-center border-t overflow-x-auto border-[#27272A] px-1 py-1 text-wrap bg-[#0A0A0A] text-[10px]"]),children:[P("span",{className:be(["text-white "]),children:l.name}),P("div",{className:be([" text-[8px] text-[#d36cff] pl-1 py-1 "]),children:[l.count,"/",t.count,"x"]})]},l.name)):P("div",{className:be(["flex items-center justify-center h-full bg-[#0A0A0A] text-[#A1A1AA] border-t border-[#27272A]"]),children:"No changes"})]}),P("div",{className:be(["flex flex-col border border-[#27272A] border-l-0 overflow-hidden w-1/3"]),children:[P("div",{className:be([" text-[14px] font-semibold px-2 py-2 bg-[#18181B] text-white flex justify-center"]),children:"Changed State"}),t.changes.state.length>0?t.changes.state.toSorted((l,c)=>c.count-l.count).map(l=>P("div",{className:be(["flex flex-col justify-between items-center border-t overflow-x-auto border-[#27272A] px-1 py-1 text-wrap bg-[#0A0A0A] text-[10px]"]),children:[P("span",{className:be(["text-white "]),children:["index ",l.index]}),P("div",{className:be(["rounded-full text-[#d36cff] pl-1 py-1 text-[8px]"]),children:[l.count,"/",t.count,"x"]})]},l.index)):P("div",{className:be(["flex items-center justify-center h-full bg-[#0A0A0A] text-[#A1A1AA] border-t border-[#27272A]"]),children:"No changes"})]}),P("div",{className:be(["flex flex-col border border-[#27272A] border-l-0 rounded-r-sm overflow-hidden w-1/3"]),children:[P("div",{className:be([" text-[14px] font-semibold px-2 py-2 bg-[#18181B] text-white flex justify-center"]),children:"Changed Context"}),t.changes.context.length>0?t.changes.context.toSorted((l,c)=>c.count-l.count).map(l=>P("div",{className:be(["flex flex-col justify-between items-center border-t border-[#27272A] px-1 py-1 bg-[#0A0A0A] text-[10px] overflow-x-auto"]),children:[P("span",{className:be(["text-white "]),children:l.name}),P("div",{className:be(["rounded-full text-[#d36cff] pl-1 py-1 text-[8px] text-wrap"]),children:[l.count,"/",t.count,"x"]})]},l.name)):P("div",{className:be(["flex items-center justify-center h-full bg-[#0A0A0A] text-[#A1A1AA] border-t border-[#27272A] py-2"]),children:"No changes"})]})]})]})},KY=()=>{const{notificationState:e,setNotificationState:t}=ca(),[r,n]=Ft("..."),a=ht(null);if(Pt(()=>{const s=setInterval(()=>{n(i=>i==="..."?"":i+".")},500);return()=>clearInterval(s)},[]),!e.selectedEvent)return P("div",{ref:a,className:be(["h-full w-full flex flex-col items-center justify-center relative py-2 px-4"]),children:[P("div",{className:be(["p-2 flex justify-center items-center border-[#27272A] absolute top-0 right-0"]),children:P("button",{onClick:()=>{mr.value={view:"none"}},children:P(Zm,{size:18,className:"text-[#6F6F78]"})})}),P("div",{className:be(["flex flex-col items-start pt-5 bg-[#0A0A0A] p-5 rounded-sm max-w-md"," shadow-lg"]),children:P("div",{className:be(["flex flex-col items-start gap-y-4"]),children:[P("div",{className:be(["flex items-center"]),children:P("span",{className:be(["text-zinc-400 font-medium text-[17px]"]),children:["Scanning for slowdowns",r]})}),e.events.length!==0&&P("p",{className:be(["text-xs"]),children:["Click on an item in the"," ",P("span",{className:be(["text-purple-400"]),children:"History"})," list to get started"]}),P("p",{className:be(["text-zinc-600 text-xs"]),children:"You don't need to keep this panel open for React Scan to record slowdowns"}),P("p",{className:be(["text-zinc-600 text-xs"]),children:"Enable audio alerts to hear a delightful ding every time a large slowdown is recorded"}),P("button",{onClick:()=>{if(e.audioNotificationsOptions.enabled){t(i=>{var l,c;return((l=i.audioNotificationsOptions.audioContext)==null?void 0:l.state)!=="closed"&&((c=i.audioNotificationsOptions.audioContext)==null||c.close()),localStorage.setItem("react-scan-notifications-audio","false"),{...i,audioNotificationsOptions:{audioContext:null,enabled:!1}}});return}localStorage.setItem("react-scan-notifications-audio","true");const s=new AudioContext;Zy(s),t(i=>({...i,audioNotificationsOptions:{enabled:!0,audioContext:s}}))},className:be(["px-4 py-2 bg-zinc-800 hover:bg-zinc-700 rounded-sm w-full"," text-sm flex items-center gap-x-2 justify-center"]),children:e.audioNotificationsOptions.enabled?P(qt,{children:P("span",{className:"flex items-center gap-x-1",children:"Disable audio alerts"})}):P(qt,{children:P("span",{className:"flex items-center gap-x-1",children:"Enable audio alerts"})})})]})})]});switch(e.route){case"render-visualization":return P(sp,{children:P(WY,{selectedEvent:e.selectedEvent})});case"render-explanation":{if(!e.selectedFiber)throw new Error("Invariant: must have selected fiber when viewing render explanation");return P(sp,{children:P(GY,{selectedFiber:e.selectedFiber,selectedEvent:e.selectedEvent})})}case"other-visualization":return P(sp,{children:P("div",{className:be(["flex w-full h-full flex-col overflow-y-auto"]),id:"overview-scroll-container",children:P(zY,{selectedEvent:e.selectedEvent})})});case"optimize":return P(sp,{children:P(DY,{selectedEvent:e.selectedEvent})})}e.route},sp=({children:e})=>{const{notificationState:t}=ca();if(!t.selectedEvent)throw new Error("Invariant: d must have selected event when viewing render explanation");return P("div",{className:be(["w-full h-full flex flex-col gap-y-2"]),children:[P("div",{className:be(["h-[50px] w-full"]),children:P(TY,{selectedEvent:t.selectedEvent})}),P("div",{className:be(["h-calc(100%-50px) flex flex-col overflow-y-auto px-3"]),children:e})]})},YY=({selectedEvent:e})=>{const t=Cu(e);switch(e.kind){case"interaction":return P("div",{className:be(["w-full flex border-b border-[#27272A] min-h-[48px]"]),children:P("div",{className:be(["min-w-fit w-full justify-start flex items-center border-r border-[#27272A] pl-5 pr-2 text-sm gap-x-4"]),children:[P("div",{className:be(["flex items-center gap-x-2 "]),children:[P("span",{className:be(["text-[#5a5a5a] mr-0.5"]),children:e.type==="click"?"Clicked ":"Typed in "}),P("span",{children:Zd(e.componentPath)}),P("div",{className:be(["w-fit flex items-center justify-center h-fit text-white px-1 rounded-sm font-semibold text-[10px] whitespace-nowrap",t==="low"&&"bg-green-500/50",t==="needs-improvement"&&"bg-[#b77116]",t==="high"&&"bg-[#b94040]"]),children:[un(e.timing).toFixed(0),"ms processing time"]})]}),P("div",{className:be(["flex items-center gap-x-2 justify-end ml-auto"]),children:P("div",{className:be(["p-2 flex justify-center items-center border-[#27272A]"]),children:P("button",{onClick:()=>{mr.value={view:"none"}},title:"Close",children:P(Zm,{size:18,className:"text-[#6F6F78]"})})})})]})});case"dropped-frames":return P("div",{className:be(["w-full flex border-b border-[#27272A] min-h-[48px]"]),children:P("div",{className:be(["min-w-fit w-full justify-start flex items-center border-r border-[#27272A] pl-5 pr-2 text-sm gap-x-4"]),children:[P("div",{className:be(["flex items-center gap-x-2 "]),children:["FPS Drop",P("div",{className:be(["w-fit flex items-center justify-center h-fit text-white px-1 rounded-sm font-semibold text-[10px] whitespace-nowrap",t==="low"&&"bg-green-500/50",t==="needs-improvement"&&"bg-[#b77116]",t==="high"&&"bg-[#b94040]"]),children:["dropped to ",e.fps," FPS"]})]}),P("div",{className:be(["flex items-center gap-x-2 w-2/4 justify-end ml-auto"]),children:P("div",{className:be(["p-2 flex justify-center items-center border-[#27272A]"]),children:P("button",{onClick:()=>{mr.value={view:"none"}},children:P(Zm,{size:18,className:"text-[#6F6F78]"})})})})]})})}},XY=({flashingItemsCount:e,totalEvents:t})=>{const[r,n]=Ft(!1),a=ht(0),s=ht(0);return Pt(()=>{if(a.current>=t)return;const i=Date.now(),l=250,c=i-s.current;if(c>=l){n(!1);const d=setTimeout(()=>{a.current=t,s.current=Date.now(),n(!0),setTimeout(()=>{n(!1)},2e3)},50);return()=>clearTimeout(d)}else{const d=l-c,p=setTimeout(()=>{n(!1),setTimeout(()=>{a.current=t,s.current=Date.now(),n(!0),setTimeout(()=>{n(!1)},2e3)},50)},d);return()=>clearTimeout(p)}},[e]),r},s5=({item:e,shouldFlash:t})=>{var r,n;const[a,s]=Ft(!1),i=e.events.map(Cu).reduce((d,p)=>{switch(p){case"high":return"high";case"needs-improvement":return d==="high"?"high":"needs-improvement";case"low":return d}},"low"),l=e.events.reduce((d,p)=>t(p.id)?d+1:d,0),c=XY({flashingItemsCount:l,totalEvents:e.events.length});return P("div",{className:be(["flex flex-col gap-y-0.5"]),children:[P("button",{onClick:()=>s(d=>!d),className:be(["pl-2 py-1.5 text-sm flex items-center rounded-sm hover:bg-[#18181B] relative overflow-hidden",c&&!a&&"after:absolute after:inset-0 after:bg-purple-500/30 after:animate-[fadeOut_1s_ease-out_forwards]"]),children:[P("div",{className:be(["w-4/5 flex items-center justify-start h-full text-xs truncate gap-x-1.5"]),children:[P("span",{className:be(["min-w-fit"]),children:P(lA,{className:be(["text-[#A1A1AA] transition-transform",a?"rotate-90":""]),size:14},`chevron-${e.timestamp}`)}),P("span",{className:be(["text-xs"]),children:e.kind==="collapsed-frame-drops"?"FPS Drops":Zd((n=(r=e.events.at(0))==null?void 0:r.componentPath)!=null?n:[])})]}),P("div",{className:be(["ml-auto min-w-fit flex justify-end items-center"]),children:P("div",{style:{lineHeight:"10px"},className:be(["w-fit flex items-center text-[10px] justify-center h-full text-white px-1 py-1 rounded-sm font-semibold",i==="low"&&"bg-green-500/60",i==="needs-improvement"&&"bg-[#b77116] text-[10px]",i==="high"&&"bg-[#b94040]"]),children:["x",e.events.length]})})]}),a&&P(ZY,{children:e.events.toSorted((d,p)=>p.timestamp-d.timestamp).map(d=>P(uA,{event:d,shouldFlash:t(d.id)}))})]})},ZY=({children:e})=>P("div",{className:"relative pl-6 flex flex-col gap-y-1",children:[P("div",{className:"absolute left-3 top-0 bottom-0 w-px bg-[#27272A]"}),e]}),JY=e=>{const t=ht([]),[r,n]=Ft(new Set),a=ht(!0);return Pt(()=>{if(a.current){a.current=!1,t.current=e;return}const s=new Set(e.map(c=>c.id)),i=new Set(t.current.map(c=>c.id)),l=new Set;s.forEach(c=>{i.has(c)||l.add(c)}),l.size>0&&(n(l),setTimeout(()=>{n(new Set)},2e3)),t.current=e},[e]),s=>r.has(s)},QY=({shouldFlash:e})=>{const[t,r]=Ft(e);return Pt(()=>{if(e){r(!0);const n=setTimeout(()=>{r(!1)},1e3);return()=>clearTimeout(n)}},[e]),t},uA=({event:e,shouldFlash:t})=>{var r,n;const{notificationState:a,setNotificationState:s}=ca(),i=Cu(e),l=QY({shouldFlash:t});switch(e.kind){case"interaction":return P("button",{onClick:()=>{s(c=>({...c,selectedEvent:e,route:"render-visualization",selectedFiber:null}))},className:be(["pl-2 py-1.5 text-sm flex w-full items-center rounded-sm hover:bg-[#18181B] relative overflow-hidden",e.id===((r=a.selectedEvent)==null?void 0:r.id)&&"bg-[#18181B]",l&&"after:absolute after:inset-0 after:bg-purple-500/30 after:animate-[fadeOut_1s_ease-out_forwards]"]),children:[P("div",{className:be(["w-4/5 flex items-center justify-start h-full gap-x-1.5"]),children:[P("span",{className:be(["min-w-fit text-xs"]),children:La(()=>{switch(e.type){case"click":return P(SY,{size:14});case"keyboard":return P(CY,{size:14})}})}),P("span",{className:be(["text-xs pr-1 truncate"]),children:Zd(e.componentPath)})]}),P("div",{className:be([" min-w-fit flex justify-end items-center ml-auto"]),children:P("div",{style:{lineHeight:"10px"},className:be(["gap-x-0.5 w-fit flex items-end justify-center h-full text-white px-1 py-1 rounded-sm font-semibold text-[10px]",i==="low"&&"bg-green-500/50",i==="needs-improvement"&&"bg-[#b77116] text-[10px]",i==="high"&&"bg-[#b94040]"]),children:P("div",{style:{lineHeight:"10px"},className:be(["text-[10px] text-white flex items-end"]),children:[un(e.timing).toFixed(0),"ms"]})})})]});case"dropped-frames":return P("button",{onClick:()=>{s(c=>({...c,selectedEvent:e,route:"render-visualization",selectedFiber:null}))},className:be(["pl-2 py-1.5 w-full text-sm flex items-center rounded-sm hover:bg-[#18181B] relative overflow-hidden",e.id===((n=a.selectedEvent)==null?void 0:n.id)&&"bg-[#18181B]",l&&"after:absolute after:inset-0 after:bg-purple-500/30 after:animate-[fadeOut_1s_ease-out_forwards]"]),children:[P("div",{className:be(["w-4/5 flex items-center justify-start h-full text-xs truncate"]),children:[P(NY,{size:14,className:"mr-1.5"})," FPS Drop"]}),P("div",{className:be([" min-w-fit flex justify-end items-center ml-auto"]),children:P("div",{style:{lineHeight:"10px"},className:be(["w-fit flex items-center justify-center h-full text-white px-1 py-1 rounded-sm text-[10px] font-bold",i==="low"&&"bg-green-500/60",i==="needs-improvement"&&"bg-[#b77116] text-[10px]",i==="high"&&"bg-[#b94040]"]),children:[e.fps," FPS"]})})]})}},eX=e=>e.reduce((r,n)=>{const a=r.at(-1);if(!a)return[{kind:"single",event:n,timestamp:n.timestamp}];switch(a.kind){case"collapsed-keyboard":return n.kind==="interaction"&&n.type==="keyboard"&&n.componentPath.join("-")===a.events[0].componentPath.join("-")?[...r.filter(i=>i!==a),{kind:"collapsed-keyboard",events:[...a.events,n],timestamp:Math.max(...[...a.events,n].map(i=>i.timestamp))}]:[...r,{kind:"single",event:n,timestamp:n.timestamp}];case"single":return a.event.kind==="interaction"&&a.event.type==="keyboard"&&n.kind==="interaction"&&n.type==="keyboard"&&a.event.componentPath.join("-")===n.componentPath.join("-")?[...r.filter(i=>i!==a),{kind:"collapsed-keyboard",events:[a.event,n],timestamp:Math.max(a.event.timestamp,n.timestamp)}]:a.event.kind==="dropped-frames"&&n.kind==="dropped-frames"?[...r.filter(i=>i!==a),{kind:"collapsed-frame-drops",events:[a.event,n],timestamp:Math.max(a.event.timestamp,n.timestamp)}]:[...r,{kind:"single",event:n,timestamp:n.timestamp}];case"collapsed-frame-drops":return n.kind==="dropped-frames"?[...r.filter(i=>i!==a),{kind:"collapsed-frame-drops",events:[...a.events,n],timestamp:Math.max(...[...a.events,n].map(i=>i.timestamp))}]:[...r,{kind:"single",event:n,timestamp:n.timestamp}]}},[]),pA=(e=150)=>{const{notificationState:t}=ca(),[r,n]=Ft(t.events);return Pt(()=>{setTimeout(()=>{n(t.events)},e)},[t.events]),[r,n]},tX=()=>{const{notificationState:e,setNotificationState:t}=ca(),r=JY(e.events),[n,a]=pA(),s=eX(n).toSorted((i,l)=>l.timestamp-i.timestamp);return P("div",{className:be(["w-full h-full gap-y-2 flex flex-col border-r border-[#27272A] overflow-y-auto"]),children:[P("div",{className:be(["text-sm text-[#65656D] pl-3 pr-1 w-full flex items-center justify-between"]),children:[P("span",{children:"History"}),P(cA,{wrapperProps:{className:"h-full flex items-center justify-center ml-auto"},triggerContent:P("button",{className:be(["hover:bg-[#18181B] rounded-full p-2"]),title:"Clear all events",onClick:()=>{Xd.getState().actions.clear(),t(i=>({...i,selectedEvent:null,selectedFiber:null,route:i.route==="other-visualization"?"other-visualization":"render-visualization"})),a([])},children:P(jY,{className:be([""]),size:16})}),children:P("div",{className:be(["w-full flex justify-center"]),children:"Clear all events"})})]}),P("div",{className:be(["flex flex-col px-1 gap-y-1"]),children:[s.length===0&&P("div",{className:be(["flex items-center justify-center text-zinc-500 text-sm py-4"]),children:"No Events"}),s.map(i=>La(()=>{switch(i.kind){case"collapsed-keyboard":return P(s5,{shouldFlash:r,item:i});case"single":return P(uA,{event:i.event,shouldFlash:r(i.event.id)},i.event.id);case"collapsed-frame-drops":return P(s5,{shouldFlash:r,item:i})}}))]})]})},rX=e=>Object.values(e).map(r=>({id:Pa(),totalTime:r.nodeInfo.reduce((n,a)=>n+a.selfTime,0),count:r.nodeInfo.length,name:r.nodeInfo[0].name,deletedAll:!1,parents:r.parents,hasMemoCache:r.hasMemoCache,wasFiberRenderMount:r.wasFiberRenderMount,elements:r.nodeInfo.map(n=>n.element),changes:{context:r.changes.fiberContext.current.filter(n=>r.changes.fiberContext.changesCounts.get(n.name)).map(n=>{var a;return{name:String(n.name),count:(a=r.changes.fiberContext.changesCounts.get(n.name))!=null?a:0}}),props:r.changes.fiberProps.current.filter(n=>r.changes.fiberProps.changesCounts.get(n.name)).map(n=>{var a;return{name:String(n.name),count:(a=r.changes.fiberProps.changesCounts.get(n.name))!=null?a:0}}),state:r.changes.fiberState.current.filter(n=>r.changes.fiberState.changesCounts.get(Number(n.name))).map(n=>{var a;return{index:n.name,count:(a=r.changes.fiberState.changesCounts.get(Number(n.name)))!=null?a:0}})}})),nX=e=>{Pt(()=>{const r=setInterval(()=>{e.forEach(n=>{n.groupedFiberRenders&&n.groupedFiberRenders.forEach(a=>{if(a.deletedAll)return;if(!a.elements||a.elements.length===0){a.deletedAll=!0;return}const s=a.elements.length;a.elements=a.elements.filter(i=>i&&i.isConnected),a.elements.length===0&&s>0&&(a.deletedAll=!0)})})},5e3);return()=>{clearInterval(r)}},[e])},mA=()=>{const e=mY(),t=[];return nX(t),e.state.events.forEach(r=>{const n=r.kind==="interaction"?r.data.meta.detailedTiming.fiberRenders:r.data.meta.fiberRenders,a=rX(n),s=a.reduce((i,l)=>i+l.totalTime,0);switch(r.kind){case"interaction":{const{commitEnd:i,jsEndDetail:l,interactionStartDetail:c,rafStart:d}=r.data.meta.detailedTiming,p=Math.max(0,l-c-s),u=Math.max(r.data.meta.latency-(i-c),0);t.push({componentPath:r.data.meta.detailedTiming.componentPath,groupedFiberRenders:a,id:r.id,kind:"interaction",memory:null,timestamp:r.data.startAt,type:r.data.meta.detailedTiming.interactionType==="keyboard"?"keyboard":"click",timing:{renderTime:s,kind:"interaction",otherJSTime:p,framePreparation:d-l,frameConstruction:i-d,frameDraw:u}});return}case"long-render":{t.push({kind:"dropped-frames",id:r.id,memory:null,timing:{kind:"dropped-frames",renderTime:s,otherTime:r.data.meta.latency},groupedFiberRenders:a,timestamp:r.data.startAt,fps:r.data.meta.fps});return}}}),t},aX=1e3,sX=()=>{const{notificationState:e,setNotificationState:t}=ca(),r=ht(null),n=ht(null),a=ht(0),[s]=pA(),i=s.filter(l=>Cu(l)==="high").length;return Pt(()=>{const l=localStorage.getItem("react-scan-notifications-audio");if(l!=="false"&&l!=="true"){localStorage.setItem("react-scan-notifications-audio","false");return}if(l!=="false"){t(d=>d.audioNotificationsOptions.enabled?d:{...d,audioNotificationsOptions:{enabled:!0,audioContext:new AudioContext}});return}},[]),Pt(()=>{const{audioNotificationsOptions:l}=e;if(!l.enabled||i===0||r.current&&r.current>=i)return;n.current&&clearTimeout(n.current);const d=Date.now()-a.current,p=Math.max(0,aX-d);n.current=setTimeout(()=>{Zy(l.audioContext),r.current=i,a.current=Date.now(),n.current=null},p)},[i]),Pt(()=>{i===0&&(r.current=null)},[i]),Pt(()=>()=>{n.current&&clearTimeout(n.current)},[]),null},oX=Fy((e,t)=>{var r;const n=mA(),[a,s]=Ft({detailsExpanded:!1,events:n,filterBy:"latest",moreInfoExpanded:!1,route:"render-visualization",selectedEvent:(r=n.toSorted((i,l)=>i.timestamp-l.timestamp).at(-1))!=null?r:null,selectedFiber:null,routeMessage:null,audioNotificationsOptions:{enabled:!1,audioContext:null}});return a.events=n,P(iA.Provider,{value:{notificationState:a,setNotificationState:s,setRoute:({route:i,routeMessage:l})=>{s(c=>{const d={...c,route:i,routeMessage:l};switch(i){case"render-visualization":return od(),{...d,selectedFiber:null};case"optimize":return od(),{...d,selectedFiber:null};case"other-visualization":return od(),{...d,selectedFiber:null};case"render-explanation":return od(),d}})}},children:[P(sX,{}),P(iX,{ref:t})]})}),iX=Fy((e,t)=>{var r;const{notificationState:n}=ca();return P("div",{ref:t,className:be(["h-full w-full flex flex-col"]),children:[n.selectedEvent&&P("div",{className:be(["w-full h-[48px] flex flex-col",n.moreInfoExpanded&&"h-[235px]",n.moreInfoExpanded&&n.selectedEvent.kind==="dropped-frames"&&"h-[150px]"]),children:[P(YY,{selectedEvent:n.selectedEvent}),n.moreInfoExpanded&&P(lX,{})]}),P("div",{className:be(["flex ",n.selectedEvent?"h-[calc(100%-48px)]":"h-full",n.moreInfoExpanded&&"h-[calc(100%-200px)]",n.moreInfoExpanded&&((r=n.selectedEvent)==null?void 0:r.kind)==="dropped-frames"&&"h-[calc(100%-150px)]"]),children:[P("div",{className:be(["h-full min-w-[200px]"]),children:P(tX,{})}),P("div",{className:be(["w-[calc(100%-200px)] h-full overflow-y-auto"]),children:P(KY,{})})]})]})}),lX=()=>{const{notificationState:e}=ca();if(!e.selectedEvent)throw new Error("Invariant must have selected event for more info");const t=e.selectedEvent;return P("div",{className:be(["px-4 py-2 border-b border-[#27272A] bg-[#18181B]/50 h-[calc(100%-40px)]",t.kind==="dropped-frames"&&"h-[calc(100%-25px)]"]),children:P("div",{className:be(["flex flex-col gap-y-4 h-full"]),children:La(()=>{switch(t.kind){case"interaction":return P(qt,{children:[P("div",{className:be(["flex items-center gap-x-3"]),children:[P("span",{className:"text-[#6F6F78] text-xs font-medium",children:t.type==="click"?"Clicked component location":"Typed in component location"}),P("div",{className:"font-mono text-[#E4E4E7] flex items-center bg-[#27272A] pl-2 py-1 rounded-sm overflow-x-auto",children:t.componentPath.toReversed().map((r,n)=>P(qt,{children:[P("span",{style:{lineHeight:"14px"},className:"text-[10px] whitespace-nowrap",children:r},r),n<t.componentPath.length-1&&P("span",{className:"text-[#6F6F78] mx-0.5",children:"‹"})]}))})]}),P("div",{className:be(["flex items-center gap-x-3"]),children:[P("span",{className:"text-[#6F6F78] text-xs font-medium",children:"Total Time"}),P("span",{className:"text-[#E4E4E7] bg-[#27272A] px-1.5 py-1 rounded-sm text-xs",children:[un(t.timing).toFixed(0),"ms"]})]}),P("div",{className:be(["flex items-center gap-x-3"]),children:[P("span",{className:"text-[#6F6F78] text-xs font-medium",children:"Occurred"}),P("span",{className:"text-[#E4E4E7] bg-[#27272A] px-1.5 py-1 rounded-sm text-xs",children:`${((Date.now()-t.timestamp)/1e3).toFixed(0)}s ago`})]})]});case"dropped-frames":return P(qt,{children:[P("div",{className:be(["flex items-center gap-x-3"]),children:[P("span",{className:"text-[#6F6F78] text-xs font-medium",children:"Total Time"}),P("span",{className:"text-[#E4E4E7] bg-[#27272A] px-1.5 py-1 rounded-sm text-xs",children:[un(t.timing).toFixed(0),"ms"]})]}),P("div",{className:be(["flex items-center gap-x-3"]),children:[P("span",{className:"text-[#6F6F78] text-xs font-medium",children:"Occurred"}),P("span",{className:"text-[#E4E4E7] bg-[#27272A] px-1.5 py-1 rounded-sm text-xs",children:`${((Date.now()-t.timestamp)/1e3).toFixed(0)}s ago`})]})]})}})})})},cX=ew(()=>{var e;const t=mA(),[r,n]=Ft(t);Pt(()=>{const m=setTimeout(()=>{n(t)},600);return()=>{clearTimeout(m)}},[t]);const a=tt.inspectState,s=a.value.kind==="inspecting",i=a.value.kind==="focused",[l,c]=Ft([]),d=$r(()=>{switch(tt.inspectState.value.kind){case"inspecting":{mr.value={view:"none"},tt.inspectState.value={kind:"inspect-off"};return}case"focused":{mr.value={view:"inspector"},tt.inspectState.value={kind:"inspecting",hoveredDomElement:null};return}case"inspect-off":{mr.value={view:"none"},tt.inspectState.value={kind:"inspecting",hoveredDomElement:null};return}case"uninitialized":return}},[]),p=$r(m=>{if(m.preventDefault(),m.stopPropagation(),!Ht.instrumentation)return;const g=!Ht.instrumentation.isPaused.value;Ht.instrumentation.isPaused.value=g;const b=So("react-scan-options");Gn("react-scan-options",{...b,enabled:!g})},[]);qd(()=>{tt.inspectState.value.kind==="uninitialized"&&(tt.inspectState.value={kind:"inspect-off"})});let u=null,h="#999";return s?(u=P(Er,{name:"icon-inspect"}),h="#8e61e3"):i?(u=P(Er,{name:"icon-focus"}),h="#8e61e3"):(u=P(Er,{name:"icon-inspect"}),h="#999"),Dy(()=>{if(mr.value.view!=="notifications")return;const m=new Set(t.map(g=>g.id));c([...m.values()])},[t.length,mr.value.view]),P("div",{className:"flex max-h-9 min-h-9 flex-1 items-stretch overflow-hidden",children:[P("div",{className:"h-full flex items-center min-w-fit",children:P("button",{type:"button",id:"react-scan-inspect-element",title:"Inspect element",onClick:d,className:"button flex items-center justify-center h-full w-full pl-3 pr-2.5",style:{color:h},children:u})}),P("div",{className:"h-full flex items-center justify-center",children:P("button",{type:"button",id:"react-scan-notifications",title:"Notifications",onClick:()=>{switch(tt.inspectState.value.kind!=="inspect-off"&&(tt.inspectState.value={kind:"inspect-off"}),mr.value.view){case"inspector":{tt.inspectState.value={kind:"inspect-off"};const m=new Set(t.map(g=>g.id));c([...m.values()]),mr.value={view:"notifications"};return}case"notifications":{mr.value={view:"none"};return}case"none":{const m=new Set(t.map(g=>g.id));c([...m.values()]),mr.value={view:"notifications"};return}}},className:"button flex items-center justify-center h-full pl-2.5 pr-2.5",style:{color:h},children:P(vY,{events:r.filter(m=>!l.includes(m.id)).map(m=>Cu(m)==="high"),size:16,className:be(["text-[#999]",mr.value.view==="notifications"&&"text-[#8E61E3]"])})})}),P(GK,{checked:!((e=Ht.instrumentation)!=null&&e.isPaused.value),onChange:p,className:"place-self-center",title:"Outline Re-renders"}),Ht.options.value.showFPS&&P(YK,{})]})}),dX=No(()=>tt.inspectState.value.kind==="inspecting"),uX=No(()=>be("relative","flex-1","flex flex-col","rounded-t-lg","overflow-hidden","opacity-100","transition-[opacity]",dX.value&&"opacity-0 duration-0 delay-0")),pX=No(()=>mr.value.view==="inspector"),mX=No(()=>mr.value.view==="notifications"),hX=()=>P("div",{className:be("flex flex-1 flex-col","overflow-hidden z-10","rounded-lg","bg-black","opacity-100","transition-[border-radius]","peer-hover/left:rounded-l-none","peer-hover/right:rounded-r-none","peer-hover/top:rounded-t-none","peer-hover/bottom:rounded-b-none"),children:[P("div",{className:uX,children:[P(VK,{}),P("div",{className:be("relative","flex-1 flex","text-white","bg-[#0A0A0A]","transition-opacity delay-150","overflow-hidden","border-b border-[#222]"),children:[P(o5,{isOpen:pX,children:P(VG,{})}),P(o5,{isOpen:mX,children:P(oX,{})})]})]}),P(cX,{})]}),o5=({isOpen:e,children:t})=>P("div",{className:be("flex-1","opacity-0","overflow-y-auto overflow-x-hidden","transition-opacity delay-0","pointer-events-none",e.value&&"opacity-100 delay-150 pointer-events-auto"),children:P("div",{className:"absolute inset-0 flex",children:t})}),op=(e,t,r)=>e+(t-e)*r,T0={frameInterval:1e3/60,speeds:{fast:.51,slow:.1,off:0}},al=is&&window.devicePixelRatio||1,fX=()=>{const e=ht(null),t=ht(null),r=ht(null),n=ht(null),a=ht(null),s=ht(0),i=ht(),l=ht(new Map),c=ht(!1),d=ht(0),p=(z,F,H,L)=>{z.save(),z.strokeStyle="white",z.fillStyle="white",z.lineWidth=1.5;const M=L*.6,V=L*.5,$=F+(L-M)/2,R=H;z.beginPath(),z.arc($+M/2,R+V/2,M/2,Math.PI,0,!1),z.stroke();const X=L*.8,W=L*.5,Q=F+(L-X)/2,me=H+V/2;z.fillRect(Q,me,X,W),z.restore()},u=(z,F,H,L)=>{var M;if(!L)return;const V=24,$=8,X=(M=L?.type&&cn(L.type))!=null?M:"Unknown";z.save(),z.font="12px system-ui, -apple-system, sans-serif";const Q=z.measureText(X).width,me=H==="locked"?14:0,le=H==="locked"?6:0,he=Q+$*2+me+le,Te=F.left,Ne=F.top-V-4;if(z.fillStyle="rgb(37, 37, 38, .75)",z.beginPath(),z.roundRect(Te,Ne,he,V,3),z.fill(),H==="locked"){const je=Te+$,O=Ne+(V-me)/2+2;p(z,je,O,me),n.current={x:je,y:O,width:me,height:me}}else n.current=null;z.fillStyle="white",z.textBaseline="middle";const Ee=Te+$+(H==="locked"?me+le:0);z.fillText(X,Ee,Ne+V/2),z.restore()},h=(z,F,H,L)=>{if(!r.current)return;const M=r.current;F.clearRect(0,0,z.width,z.height),F.strokeStyle="rgba(142, 97, 227, 0.5)",F.fillStyle="rgba(173, 97, 230, 0.10)",H==="locked"?F.setLineDash([]):F.setLineDash([4]),F.lineWidth=1,F.fillRect(M.left,M.top,M.width,M.height),F.strokeRect(M.left,M.top,M.width,M.height),u(F,M,H,L)},m=(z,F,H,L,M,V)=>{var $;const R=Ht.options.value.animationSpeed,X=($=T0.speeds[R])!=null?$:T0.speeds.off,W=Q=>{if(Q-d.current<T0.frameInterval){s.current=requestAnimationFrame(W);return}if(d.current=Q,!r.current){cancelAnimationFrame(s.current);return}r.current={left:op(r.current.left,H.left,X),top:op(r.current.top,H.top,X),width:op(r.current.width,H.width,X),height:op(r.current.height,H.height,X)},h(z,F,L,M),Math.abs(r.current.left-H.left)>.1||Math.abs(r.current.top-H.top)>.1||Math.abs(r.current.width-H.width)>.1||Math.abs(r.current.height-H.height)>.1?s.current=requestAnimationFrame(W):(r.current=H,h(z,F,L,M),cancelAnimationFrame(s.current),F.restore())};cancelAnimationFrame(s.current),clearTimeout(i.current),s.current=requestAnimationFrame(W),i.current=setTimeout(()=>{cancelAnimationFrame(s.current),r.current=H,h(z,F,L,M),F.restore()},1e3)},g=(z,F,H,L,M)=>{if(F.save(),!r.current){r.current=H,h(z,F,L,M),F.restore();return}m(z,F,H,L,M)},b=async(z,F,H,L)=>{if(!z||!F||!H)return;const{parentCompositeFiber:M}=gi(z),V=await GG(z);!M||!V||g(F,H,V,L,M)},x=()=>{for(const z of l.current.values())z?.()},v=z=>{const F=z.getContext("2d");F&&F.clearRect(0,0,z.width,z.height),r.current=null,n.current=null,a.current=null,z.classList.remove("fade-in"),c.current=!1},y=z=>{if(!e.current||c.current)return;const F=L=>{!e.current||L.propertyName!=="opacity"||!c.current||(e.current.removeEventListener("transitionend",F),v(e.current),z?.())},H=l.current.get("fade-out");H&&(H(),l.current.delete("fade-out")),e.current.addEventListener("transitionend",F),l.current.set("fade-out",()=>{var L;(L=e.current)==null||L.removeEventListener("transitionend",F)}),c.current=!0,e.current.classList.remove("fade-in"),requestAnimationFrame(()=>{var L;(L=e.current)==null||L.classList.add("fade-out")})},w=()=>{e.current&&(c.current=!1,e.current.classList.remove("fade-out"),requestAnimationFrame(()=>{var z;(z=e.current)==null||z.classList.add("fade-in")}))},S=z=>{z!==a.current&&(a.current=z,Tv.has(z.tagName)?y():w(),tt.inspectState.value={kind:"inspecting",hoveredDomElement:z})},j=()=>{!r.current||!e.current||c.current||y()},k=zE(z=>{var F,H;if(tt.inspectState.peek().kind!=="inspecting"||!t.current)return;t.current.style.pointerEvents="none";const M=document.elementFromPoint((F=z?.clientX)!=null?F:0,(H=z?.clientY)!=null?H:0);if(t.current.style.removeProperty("pointer-events"),clearTimeout(i.current),M&&M!==e.current){const{parentCompositeFiber:V}=gi(M);if(V){const $=Wm(V);if($){S($);return}}}j()},32),C=(z,F)=>{const H=n.current;if(!H)return!1;const L=F.getBoundingClientRect(),M=F.width/L.width,V=F.height/L.height,$=(z.clientX-L.left)*M,R=(z.clientY-L.top)*V,X=$/al,W=R/al;return X>=H.x&&X<=H.x+H.width&&W>=H.y&&W<=H.y+H.height},E=z=>{z.kind==="focused"&&(tt.inspectState.value={kind:"inspecting",hoveredDomElement:z.focusedDomElement})},T=z=>{var F,H;const L=["react-scan-inspect-element","react-scan-power"];if(z.target instanceof HTMLElement&&L.includes(z.target.id))return;const M=(F=a.current)==null?void 0:F.tagName;if(M&&Tv.has(M))return;z.preventDefault(),z.stopPropagation();const V=(H=a.current)!=null?H:document.elementFromPoint(z.clientX,z.clientY);if(!V)return;const $=z.composedPath().at(0);if($ instanceof HTMLElement&&L.includes($.id)){const W=new MouseEvent(z.type,z);W.__reactScanSyntheticEvent=!0,$.dispatchEvent(W);return}const{parentCompositeFiber:R}=gi(V);if(!R)return;const X=Wm(R);if(!X){a.current=null,tt.inspectState.value={kind:"inspect-off"};return}tt.inspectState.value={kind:"focused",focusedDomElement:X,fiber:R}},N=z=>{if(z.__reactScanSyntheticEvent)return;const F=tt.inspectState.peek(),H=e.current;if(!(!H||!t.current)){if(C(z,H)){z.preventDefault(),z.stopPropagation(),E(F);return}F.kind==="inspecting"&&T(z)}},D=z=>{var F;if(z.key!=="Escape")return;const H=tt.inspectState.peek();if(e.current&&((F=document.activeElement)==null?void 0:F.id)!=="react-scan-root"&&(mr.value={view:"none"},H.kind==="focused"||H.kind==="inspecting"))switch(z.preventDefault(),z.stopPropagation(),H.kind){case"focused":{w(),r.current=null,a.current=H.focusedDomElement,tt.inspectState.value={kind:"inspecting",hoveredDomElement:H.focusedDomElement};break}case"inspecting":{y(()=>{Gh.value=!1,tt.inspectState.value={kind:"inspect-off"}});break}}},A=(z,F,H)=>{var L;(L=l.current.get(z.kind))==null||L(),t.current&&z.kind!=="inspecting"&&(t.current.style.pointerEvents="none"),s.current&&cancelAnimationFrame(s.current);let M;switch(z.kind){case"inspect-off":y();return;case"inspecting":b(z.hoveredDomElement,F,H,"inspecting");break;case"focused":if(!z.focusedDomElement)return;a.current!==z.focusedDomElement&&(a.current=z.focusedDomElement),mr.value={view:"inspector"},b(z.focusedDomElement,F,H,"locked"),M=tt.lastReportTime.subscribe(()=>{if(s.current&&r.current){const{parentCompositeFiber:V}=gi(z.focusedDomElement);V&&b(z.focusedDomElement,F,H,"locked")}}),M&&l.current.set(z.kind,M);break}},U=(z,F)=>{const H=z.getBoundingClientRect();z.width=H.width*al,z.height=H.height*al,F.scale(al,al),F.save()},_=()=>{const z=tt.inspectState.peek(),F=e.current;if(!F)return;const H=F?.getContext("2d");H&&(cancelAnimationFrame(s.current),clearTimeout(i.current),U(F,H),r.current=null,z.kind==="focused"&&z.focusedDomElement?b(z.focusedDomElement,F,H,"locked"):z.kind==="inspecting"&&z.hoveredDomElement&&b(z.hoveredDomElement,F,H,"inspecting"))},q=z=>{const F=tt.inspectState.peek(),H=e.current;H&&(F.kind==="inspecting"||C(z,H))&&(z.preventDefault(),z.stopPropagation(),z.stopImmediatePropagation())};return Pt(()=>{const z=e.current;if(!z)return;const F=z?.getContext("2d");if(!F)return;U(z,F);const H=tt.inspectState.subscribe(L=>{A(L,z,F)});return window.addEventListener("scroll",_,{passive:!0}),window.addEventListener("resize",_,{passive:!0}),document.addEventListener("pointermove",k,{passive:!0,capture:!0}),document.addEventListener("pointerdown",q,{capture:!0}),document.addEventListener("click",N,{capture:!0}),document.addEventListener("keydown",D,{capture:!0}),()=>{x(),H(),window.removeEventListener("scroll",_),window.removeEventListener("resize",_),document.removeEventListener("pointermove",k,{capture:!0}),document.removeEventListener("click",N,{capture:!0}),document.removeEventListener("pointerdown",q,{capture:!0}),document.removeEventListener("keydown",D,{capture:!0}),s.current&&cancelAnimationFrame(s.current),clearTimeout(i.current)}},[]),P(qt,{children:[P("div",{ref:t,className:be("fixed top-0 left-0 w-screen h-screen","z-[214748365]"),style:{pointerEvents:"none"}}),P("canvas",{ref:e,dir:"ltr",className:be("react-scan-inspector-overlay","fixed top-0 left-0 w-screen h-screen","pointer-events-none","z-[214748367]")})]})},gX=class{constructor(e,t,r){sa(this,"width",e),sa(this,"height",t),sa(this,"safeArea",r),sa(this,"maxWidth"),sa(this,"maxHeight"),this.maxWidth=e-r.left-r.right,this.maxHeight=t-r.top-r.bottom}rightEdge(e){return this.width-e-this.safeArea.right}bottomEdge(e){return this.height-e-this.safeArea.bottom}isFullWidth(e){return e>=this.maxWidth}isFullHeight(e){return e>=this.maxHeight}},qo,bX=(e,t)=>e.top===t.top&&e.right===t.right&&e.bottom===t.bottom&&e.left===t.left,Jd=()=>{const e=window.innerWidth,t=window.innerHeight,r=bo();return qo&&qo.width===e&&qo.height===t&&bX(qo.safeArea,r)||(qo=new gX(e,t,r)),qo},xX=(e,t,r,n,a)=>{if(r){if(e==="top-left")return"bottom-right";if(e==="top-right")return"bottom-left";if(e==="bottom-left")return"top-right";if(e==="bottom-right")return"top-left";const[s,i]=t.split("-");if(e==="left")return`${s}-right`;if(e==="right")return`${s}-left`;if(e==="top")return`bottom-${i}`;if(e==="bottom")return`top-${i}`}if(n){if(e==="left")return`${t.split("-")[0]}-right`;if(e==="right")return`${t.split("-")[0]}-left`}if(a){if(e==="top")return`bottom-${t.split("-")[1]}`;if(e==="bottom")return`top-${t.split("-")[1]}`}return t},Nd=(e,t,r)=>{const n=getComputedStyle(document.body).direction==="rtl",a=window.innerWidth,s=window.innerHeight,i=bo(),l=t===qr.width,c=l?t:Math.min(t,a-i.left-i.right),d=l?r:Math.min(r,s-i.top-i.bottom);let p,u,h=i.left,m=a-c-i.right,g=i.top,b=s-d-i.bottom;const x=-i.right,v=-(a-c-i.left);switch(e){case"top-right":p=n?x:m,u=g;break;case"bottom-right":p=n?x:m,u=b;break;case"bottom-left":p=n?v:h,u=b;break;case"top-left":p=n?v:h,u=g;break;default:p=h,u=g;break}return l&&(n?p=Math.min(x,Math.max(p,v)):p=Math.max(h,Math.min(p,m)),u=Math.max(g,Math.min(u,b))),{x:p,y:u}},vX=(e,t)=>{const[r,n]=t.split("-");return e!==r&&e!==n},yX=(e,t,r,n)=>r&&n?!0:!r&&!n?vX(e,t):r?e!==t.split("-")[0]:n?e!==t.split("-")[1]:!1,ip=(e,t,r)=>{const n=r?qr.width:qr.initialHeight,a=r?Jd().maxWidth:Jd().maxHeight,s=e+t;return Math.min(Math.max(n,s),a)},wX=(e,t,r,n,a)=>{const s=getComputedStyle(document.body).direction==="rtl",i=bo(),l=window.innerWidth-i.left-i.right,c=window.innerHeight-i.top-i.bottom;let d=t.width,p=t.height,u=r.x,h=r.y;if(s&&e.includes("right")){const w=-r.x+t.width-i.right,S=Math.min(t.width+n,w);d=Math.min(l,Math.max(qr.width,S)),u=r.x+(d-t.width)}if(s&&e.includes("left")){const w=window.innerWidth-r.x-i.left,S=Math.min(t.width-n,w);d=Math.min(l,Math.max(qr.width,S))}if(!s&&e.includes("right")){const w=window.innerWidth-r.x-i.right,S=Math.min(t.width+n,w);d=Math.min(l,Math.max(qr.width,S))}if(!s&&e.includes("left")){const w=r.x+t.width-i.left,S=Math.min(t.width-n,w);d=Math.min(l,Math.max(qr.width,S)),u=r.x-(d-t.width)}if(e.includes("bottom")){const w=window.innerHeight-r.y-i.bottom,S=Math.min(t.height+a,w);p=Math.min(c,Math.max(qr.initialHeight,S))}if(e.includes("top")){const w=r.y+t.height-i.top,S=Math.min(t.height-a,w);p=Math.min(c,Math.max(qr.initialHeight,S)),h=r.y-(p-t.height)}let m=i.left,g=window.innerWidth-i.right-d,b=i.top,x=window.innerHeight-i.bottom-p;const v=-i.right,y=-(window.innerWidth-d-i.left);return s?u=Math.min(v,Math.max(u,y)):u=Math.max(m,Math.min(u,g)),h=Math.max(b,Math.min(h,x)),{newSize:{width:d,height:p},newPosition:{x:u,y:h}}},kX=e=>{const t=Jd(),r={"top-left":Math.hypot(e.x,e.y),"top-right":Math.hypot(t.maxWidth-e.x,e.y),"bottom-left":Math.hypot(e.x,t.maxHeight-e.y),"bottom-right":Math.hypot(t.maxWidth-e.x,t.maxHeight-e.y)};let n="top-left";for(const a in r)r[a]<r[n]&&(n=a);return n},SX=(e,t,r,n,a=100)=>{const s=r!==void 0?e-r:0,i=n!==void 0?t-n:0,l=window.innerWidth/2,c=window.innerHeight/2,d=s>a,p=s<-a,u=i>a,h=i<-a;if(d||p){const m=t>c;return d?m?"bottom-right":"top-right":m?"bottom-left":"top-left"}if(u||h){const m=e>l;return u?m?"bottom-right":"bottom-left":m?"top-right":"top-left"}return e>l?t>c?"bottom-right":"top-right":t>c?"bottom-left":"top-left"},lp=({position:e})=>{const t=ht(null),r=ht(null),n=ht(null),a=ht(null);Pt(()=>{const l=t.current;if(!l)return;const c=()=>{l.classList.remove("pointer-events-none");const u=tt.inspectState.value.kind==="focused",h=mr.value.view!=="none";(u||h)&&yX(e,st.value.corner,st.value.dimensions.isFullWidth,st.value.dimensions.isFullHeight)?l.classList.remove("hidden","pointer-events-none","opacity-0"):l.classList.add("hidden","pointer-events-none","opacity-0")},d=st.subscribe(u=>{r.current!==null&&n.current!==null&&a.current!==null&&u.dimensions.width===r.current&&u.dimensions.height===n.current&&u.corner===a.current||(c(),r.current=u.dimensions.width,n.current=u.dimensions.height,a.current=u.corner)}),p=tt.inspectState.subscribe(()=>{c()});return()=>{d(),p(),r.current=null,n.current=null,a.current=null}},[]);const s=$r(l=>{l.preventDefault(),l.stopPropagation();const c=Sv.value;if(!c)return;const d=c.style,{dimensions:p}=st.value,u=l.clientX,h=l.clientY,m=p.width,g=p.height,b=p.position;st.value={...st.value,dimensions:{...p,isFullWidth:!1,isFullHeight:!1,width:m,height:g,position:b}};let x=null;const v=w=>{x||(d.transition="none",x=requestAnimationFrame(()=>{const{newSize:S,newPosition:j}=wX(e,{width:m,height:g},b,w.clientX-u,w.clientY-h);d.transform=`translate3d(${j.x}px, ${j.y}px, 0)`,d.width=`${S.width}px`,d.height=`${S.height}px`;const k=Math.floor(S.width-Ra/2),C=st.value.componentsTree.width,E=Math.min(k,Math.max(Ra,C));st.value={...st.value,dimensions:{isFullWidth:!1,isFullHeight:!1,width:S.width,height:S.height,position:j},componentsTree:{...st.value.componentsTree,width:E}},x=null}))},y=()=>{x&&(cancelAnimationFrame(x),x=null),document.removeEventListener("pointermove",v),document.removeEventListener("pointerup",y);const{dimensions:w,corner:S}=st.value,j=Jd(),k=j.isFullWidth(w.width),C=j.isFullHeight(w.height),E=k&&C;let T=S;(E||k||C)&&(T=kX(w.position));const N=Nd(T,w.width,w.height),D=()=>{c.removeEventListener("transitionend",D)};c.addEventListener("transitionend",D),d.transform=`translate3d(${N.x}px, ${N.y}px, 0)`,st.value={...st.value,corner:T,dimensions:{isFullWidth:k,isFullHeight:C,width:w.width,height:w.height,position:N},lastDimensions:{isFullWidth:k,isFullHeight:C,width:w.width,height:w.height,position:N}},Gn(Is,{corner:T,dimensions:st.value.dimensions,lastDimensions:st.value.lastDimensions,componentsTree:st.value.componentsTree})};document.addEventListener("pointermove",v,{passive:!0}),document.addEventListener("pointerup",y)},[]),i=$r(l=>{l.preventDefault(),l.stopPropagation();const c=Sv.value;if(!c)return;const d=c.style,{dimensions:p,corner:u}=st.value,h=Jd(),m=h.isFullWidth(p.width),g=h.isFullHeight(p.height),b=m&&g,x=(m||g)&&!b;let v=p.width,y=p.height;const w=xX(e,u,b,m,g);e==="left"||e==="right"?(v=m?p.width:h.maxWidth,x&&(v=m?qr.width:h.maxWidth)):(y=g?p.height:h.maxHeight,x&&(y=g?qr.initialHeight:h.maxHeight)),b&&(e==="left"||e==="right"?v=qr.width:y=qr.initialHeight);const S=Nd(w,v,y),j={isFullWidth:h.isFullWidth(v),isFullHeight:h.isFullHeight(y),width:v,height:y,position:S},k=Math.floor(v-qr.width/2),C=st.value.componentsTree.width,E=Math.floor(v*.3),T=m?Ra:(e==="left"||e==="right")&&!m?Math.min(k,Math.max(Ra,E)):Math.min(k,Math.max(Ra,C));requestAnimationFrame(()=>{st.value={corner:w,dimensions:j,lastDimensions:p,componentsTree:{...st.value.componentsTree,width:T}},d.transition="all 0.25s cubic-bezier(0, 0, 0.2, 1)",d.width=`${v}px`,d.height=`${y}px`,d.transform=`translate3d(${S.x}px, ${S.y}px, 0)`}),Gn(Is,{corner:w,dimensions:j,lastDimensions:p,componentsTree:{...st.value.componentsTree,width:T}})},[]);return P("div",{ref:t,onPointerDown:s,onDblClick:i,className:be("absolute z-50","flex items-center justify-center","group","transition-colors select-none","peer",{"resize-left peer/left":e==="left","resize-right peer/right z-10":e==="right","resize-top peer/top":e==="top","resize-bottom peer/bottom":e==="bottom"}),children:P("span",{className:"resize-line-wrapper",children:P("span",{className:"resize-line",children:P(Er,{name:"icon-ellipsis",size:18,className:be("text-neutral-400",(e==="left"||e==="right")&&"rotate-90")})})})})},i5={horizontal:{width:20,height:48},vertical:{width:48,height:20}},CX=()=>{const e=ht(null),t=ht(!1),r=ht(0),n=ht(0),a=ht(!1),s=$r((h=!0)=>{if(!e.current)return;const{corner:m}=st.value;let g,b;if(ea.value){const N=ea.value.orientation||"horizontal",D=i5[N];g=D.width,b=D.height}else if(t.current){const N=st.value.lastDimensions;g=ip(N.width,0,!0),b=ip(N.height,0,!1),a.current&&(a.current=!1)}else g=r.current,b=n.current;let v=Nd(m,g,b);if(ea.value){const{corner:N,orientation:D="horizontal"}=ea.value,A=i5[D],U=bo();switch(N){case"top-left":v=D==="horizontal"?{x:-1,y:U.top}:{x:U.left,y:-1};break;case"bottom-left":v=D==="horizontal"?{x:-1,y:window.innerHeight-A.height-U.bottom}:{x:U.left,y:window.innerHeight-A.height+1};break;case"top-right":v=D==="horizontal"?{x:window.innerWidth-A.width+1,y:U.top}:{x:window.innerWidth-A.width-U.right,y:-1};break;default:v=D==="horizontal"?{x:window.innerWidth-A.width+1,y:window.innerHeight-A.height-U.bottom}:{x:window.innerWidth-A.width-U.right,y:window.innerHeight-A.height+1};break}}const y=g<qr.width||b<qr.initialHeight,w=h&&!y,S=e.current,j=S.style;let k=null;const C=()=>{d0(),S.removeEventListener("transitionend",C),k&&(cancelAnimationFrame(k),k=null)};S.addEventListener("transitionend",C),j.transition="all 0.25s cubic-bezier(0, 0, 0.2, 1)",k=requestAnimationFrame(()=>{j.width=`${g}px`,j.height=`${b}px`,j.transform=`translate3d(${v.x}px, ${v.y}px, 0)`,k=null});const E=bo(),T={isFullWidth:g>=window.innerWidth-E.left-E.right,isFullHeight:b>=window.innerHeight-E.top-E.bottom,width:g,height:b,position:v};st.value={corner:m,dimensions:T,lastDimensions:t?st.value.lastDimensions:g>r.current?T:st.value.lastDimensions,componentsTree:st.value.componentsTree},w&&Gn(Is,{corner:st.value.corner,dimensions:st.value.dimensions,lastDimensions:st.value.lastDimensions,componentsTree:st.value.componentsTree}),d0()},[]),i=$r(h=>{if(h.target.closest(kV)||(h.preventDefault(),!e.current))return;const g=e.current,b=g.style,{dimensions:x}=st.value,v=h.clientX,y=h.clientY,w=x.position.x,S=x.position.y;let j=w,k=S,C=null,E=!1,T=v,N=y;const D=U=>{C||(E=!0,T=U.clientX,N=U.clientY,C=requestAnimationFrame(()=>{const _=T-v,q=N-y;j=Number(w)+_,k=Number(S)+q,b.transition="none",b.transform=`translate3d(${j}px, ${k}px, 0)`;const z=j+x.width,F=k+x.height,H=Math.max(0,-j),L=Math.max(0,z-window.innerWidth),M=Math.max(0,-k),V=Math.max(0,F-window.innerHeight),$=Math.min(x.width,H+L),R=Math.min(x.height,M+V),X=$*x.height+R*x.width-$*R,W=x.width*x.height;let Q=X>W*.35;if(!Q&&Ht.options.value.showFPS){const me=j+x.width,le=me-100;Q=me<=0||le>=window.innerWidth||k+x.height<=0||k>=window.innerHeight}if(Q){const me=j+x.width/2,le=k+x.height/2,he=window.innerWidth/2,Te=window.innerHeight/2;let Ne;me<he?Ne=le<Te?"top-left":"bottom-left":Ne=le<Te?"top-right":"bottom-right";let Ee;const je=Math.max(H,L),O=Math.max(M,V);Ee=je>O?"horizontal":"vertical",st.value={...st.value,corner:Ne,lastDimensions:{...x,position:Nd(Ne,x.width,x.height)}};const ce={corner:Ne,orientation:Ee};ea.value=ce,Gn(om,ce),Gn(Is,st.value),s(!1),document.removeEventListener("pointermove",D),document.removeEventListener("pointerup",A),C&&(cancelAnimationFrame(C),C=null)}C=null}))},A=()=>{if(!g)return;C&&(cancelAnimationFrame(C),C=null),document.removeEventListener("pointermove",D),document.removeEventListener("pointerup",A);const U=Math.abs(T-v),_=Math.abs(N-y),q=Math.sqrt(U*U+_*_);if(!E||q<60)return;const z=SX(T,N,v,y,tt.inspectState.value.kind==="focused"?80:40);if(z===st.value.corner){b.transition="transform 0.25s cubic-bezier(0, 0, 0.2, 1)";const L=st.value.dimensions.position;requestAnimationFrame(()=>{b.transform=`translate3d(${L.x}px, ${L.y}px, 0)`});return}const F=Nd(z,x.width,x.height);if(j===w&&k===S)return;const H=()=>{b.transition="none",d0(),g.removeEventListener("transitionend",H),C&&(cancelAnimationFrame(C),C=null)};g.addEventListener("transitionend",H),b.transition="transform 0.25s cubic-bezier(0, 0, 0.2, 1)",requestAnimationFrame(()=>{b.transform=`translate3d(${F.x}px, ${F.y}px, 0)`}),st.value={corner:z,dimensions:{isFullWidth:x.isFullWidth,isFullHeight:x.isFullHeight,width:x.width,height:x.height,position:F},lastDimensions:st.value.lastDimensions,componentsTree:st.value.componentsTree},Gn(Is,{corner:z,dimensions:st.value.dimensions,lastDimensions:st.value.lastDimensions,componentsTree:st.value.componentsTree})};document.addEventListener("pointermove",D),document.addEventListener("pointerup",A)},[]),l=$r(h=>{if(h.preventDefault(),!e.current||!ea.value)return;const{corner:m,orientation:g="horizontal"}=ea.value,b=h.clientX,x=h.clientY;let v=null,y=!1;const w=50,S=k=>{if(y||v)return;const C=k.clientX-b,E=k.clientY-x;let T=!1;if(g==="horizontal"?(m.endsWith("left")&&C>w||m.endsWith("right")&&C<-w)&&(T=!0):(m.startsWith("top")&&E>w||m.startsWith("bottom")&&E<-w)&&(T=!0),T){if(y=!0,ea.value=null,Gn(om,null),r.current===0&&e.current)requestAnimationFrame(()=>{if(e.current){e.current.style.width="min-content";const N=e.current.offsetWidth;r.current=N||300;const D=st.value.lastDimensions,A=ip(D.width,0,!0),U=ip(D.height,0,!1);let _=k.clientX-A/2,q=k.clientY-U/2;const z=bo();_=Math.max(z.left,Math.min(_,window.innerWidth-A-z.right)),q=Math.max(z.top,Math.min(q,window.innerHeight-U-z.bottom)),st.value={...st.value,dimensions:{...st.value.dimensions,position:{x:_,y:q}}},s(!0);const F=So(el);mr.value=F||{view:"none"},setTimeout(()=>{if(e.current){const H=new PointerEvent("pointerdown",{clientX:k.clientX,clientY:k.clientY,pointerId:k.pointerId,bubbles:!0});e.current.dispatchEvent(H)}},100)}});else{s(!0);const N=So(el);mr.value=N||{view:"none"}}document.removeEventListener("pointermove",S),document.removeEventListener("pointerup",j)}},j=()=>{document.removeEventListener("pointermove",S),document.removeEventListener("pointerup",j)};document.addEventListener("pointermove",S),document.addEventListener("pointerup",j)},[]);Pt(()=>{if(!e.current)return;E4(el),ea.value?(n.current=36,r.current=0):(e.current.style.width="min-content",n.current=36,r.current=e.current.offsetWidth);const h=bo();e.current.style.maxWidth=`calc(100vw - ${h.left+h.right}px)`,e.current.style.maxHeight=`calc(100vh - ${h.top+h.bottom}px)`,s(),tt.inspectState.value.kind!=="focused"&&!ea.value&&!a.current&&(st.value={...st.value,dimensions:{isFullWidth:!1,isFullHeight:!1,width:r.current,height:n.current,position:st.value.dimensions.position}}),Sv.value=e.current;const m=st.subscribe(v=>{if(!e.current)return;const{x:y,y:w}=v.dimensions.position,{width:S,height:j}=v.dimensions,k=e.current;requestAnimationFrame(()=>{k.style.transform=`translate3d(${y}px, ${w}px, 0)`,k.style.width=`${S}px`,k.style.height=`${j}px`})}),g=mr.subscribe(v=>{t.current=v.view!=="none",s(),ea.value||(v.view!=="none"?Gn(el,v):E4(el))}),b=tt.inspectState.subscribe(v=>{t.current=v.kind==="focused",s()}),x=()=>{s(!0)};return window.addEventListener("resize",x,{passive:!0}),()=>{window.removeEventListener("resize",x),g(),b(),m(),Gn(Is,{...$E(),corner:st.value.corner})}},[]);const[c,d]=Ft(!1);Pt(()=>{d(!0)},[]);const p=ea.value;let u="";if(p){const{orientation:h="horizontal",corner:m}=p;h==="horizontal"?u=m?.endsWith("right")?"rotate-180":"":u=m?.startsWith("bottom")?"-rotate-90":"rotate-90"}return P(qt,{children:[P(fX,{}),P(uw.Provider,{value:e.current,children:P("div",{id:"react-scan-toolbar",dir:"ltr",ref:e,onPointerDown:p?l:i,className:be("fixed inset-0",p?(()=>{const{orientation:h="horizontal",corner:m}=p;return h==="horizontal"?m?.endsWith("right")?"rounded-tl-lg rounded-bl-lg shadow-lg":"rounded-tr-lg rounded-br-lg shadow-lg":m?.startsWith("bottom")?"rounded-tl-lg rounded-tr-lg shadow-lg":"rounded-bl-lg rounded-br-lg shadow-lg"})():"rounded-lg shadow-lg","flex flex-col","font-mono text-[13px]","user-select-none","opacity-0",p?"cursor-pointer":"cursor-move","z-[124124124124]","animate-fade-in animation-duration-300 animation-delay-300","will-change-transform","[touch-action:none]"),style:{WebkitAppRegion:"no-drag"},children:p?P("button",{type:"button",onClick:()=>{ea.value=null,Gn(om,null),r.current===0&&e.current&&requestAnimationFrame(()=>{if(e.current){e.current.style.width="min-content";const m=e.current.offsetWidth;r.current=m||300,s(!0)}});const h=So(el);mr.value=h||{view:"none"}},className:"flex items-center justify-center w-full h-full text-white",title:"Expand toolbar",children:P(Er,{name:"icon-chevron-right",size:16,className:be("transition-transform",u)})}):P(qt,{children:[P(lp,{position:"top"}),P(lp,{position:"bottom"}),P(lp,{position:"left"}),P(lp,{position:"right"}),P(hX,{})]})})})]})},uw=r8(null),jX=()=>P("svg",{xmlns:"http://www.w3.org/2000/svg",style:"display: none;",children:[P("title",{children:"React Scan Icons"}),P("symbol",{id:"icon-inspect",viewBox:"0 0 24 24",fill:"none","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:[P("path",{d:"M12.034 12.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.943l-3.444 1.068a1 1 0 0 0-.66.66l-1.067 3.443a.5.5 0 0 1-.943.033z"}),P("path",{d:"M5 3a2 2 0 0 0-2 2"}),P("path",{d:"M19 3a2 2 0 0 1 2 2"}),P("path",{d:"M5 21a2 2 0 0 1-2-2"}),P("path",{d:"M9 3h1"}),P("path",{d:"M9 21h2"}),P("path",{d:"M14 3h1"}),P("path",{d:"M3 9v1"}),P("path",{d:"M21 9v2"}),P("path",{d:"M3 14v1"})]}),P("symbol",{id:"icon-focus",viewBox:"0 0 24 24",fill:"none","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:[P("path",{d:"M12.034 12.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.943l-3.444 1.068a1 1 0 0 0-.66.66l-1.067 3.443a.5.5 0 0 1-.943.033z"}),P("path",{d:"M21 11V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6"})]}),P("symbol",{id:"icon-next",viewBox:"0 0 24 24",fill:"none","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:P("path",{d:"M6 9h6V5l7 7-7 7v-4H6V9z"})}),P("symbol",{id:"icon-previous",viewBox:"0 0 24 24",fill:"none","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:P("path",{d:"M18 15h-6v4l-7-7 7-7v4h6v6z"})}),P("symbol",{id:"icon-close",viewBox:"0 0 24 24",fill:"none","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:[P("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),P("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]}),P("symbol",{id:"icon-replay",viewBox:"0 0 24 24",fill:"none","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:[P("path",{d:"M3 7V5a2 2 0 0 1 2-2h2"}),P("path",{d:"M17 3h2a2 2 0 0 1 2 2v2"}),P("path",{d:"M21 17v2a2 2 0 0 1-2 2h-2"}),P("path",{d:"M7 21H5a2 2 0 0 1-2-2v-2"}),P("circle",{cx:"12",cy:"12",r:"1"}),P("path",{d:"M18.944 12.33a1 1 0 0 0 0-.66 7.5 7.5 0 0 0-13.888 0 1 1 0 0 0 0 .66 7.5 7.5 0 0 0 13.888 0"})]}),P("symbol",{id:"icon-ellipsis",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:[P("circle",{cx:"12",cy:"12",r:"1"}),P("circle",{cx:"19",cy:"12",r:"1"}),P("circle",{cx:"5",cy:"12",r:"1"})]}),P("symbol",{id:"icon-copy",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:[P("rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2"}),P("path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"})]}),P("symbol",{id:"icon-check",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:P("path",{d:"M20 6 9 17l-5-5"})}),P("symbol",{id:"icon-chevron-right",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:P("path",{d:"m9 18 6-6-6-6"})}),P("symbol",{id:"icon-settings",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:[P("path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"}),P("circle",{cx:"12",cy:"12",r:"3"})]}),P("symbol",{id:"icon-flame",viewBox:"0 0 24 24",children:P("path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z"})}),P("symbol",{id:"icon-function",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:[P("rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2"}),P("path",{d:"M9 17c2 0 2.8-1 2.8-2.8V10c0-2 1-3.3 3.2-3"}),P("path",{d:"M9 11.2h5.7"})]}),P("symbol",{id:"icon-triangle-alert",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:[P("path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3"}),P("path",{d:"M12 9v4"}),P("path",{d:"M12 17h.01"})]}),P("symbol",{id:"icon-gallery-horizontal-end",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:[P("path",{d:"M2 7v10"}),P("path",{d:"M6 5v14"}),P("rect",{width:"12",height:"18",x:"10",y:"3",rx:"2"})]}),P("symbol",{id:"icon-search",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:[P("circle",{cx:"11",cy:"11",r:"8"}),P("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})]}),P("symbol",{id:"icon-lock",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:[P("rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2"}),P("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"})]}),P("symbol",{id:"icon-lock-open",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:[P("rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2"}),P("path",{d:"M7 11V7a5 5 0 0 1 9.9-1"})]}),P("symbol",{id:"icon-sanil",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:[P("path",{d:"M2 13a6 6 0 1 0 12 0 4 4 0 1 0-8 0 2 2 0 0 0 4 0"}),P("circle",{cx:"10",cy:"13",r:"8"}),P("path",{d:"M2 21h12c4.4 0 8-3.6 8-8V7a2 2 0 1 0-4 0v6"}),P("path",{d:"M18 3 19.1 5.2"})]})]}),NX=class extends va{constructor(){super(...arguments),sa(this,"state",{hasError:!1,error:null}),sa(this,"handleReset",()=>{this.setState({hasError:!1,error:null})})}static getDerivedStateFromError(e){return{hasError:!0,error:e}}render(){var e;return this.state.hasError?P("div",{className:"fixed bottom-4 right-4 z-[124124124124]",children:P("div",{className:"p-3 bg-black rounded-lg shadow-lg w-80",children:[P("div",{className:"flex items-center gap-2 mb-2 text-red-400 text-sm font-medium",children:[P(Er,{name:"icon-flame",className:"text-red-500",size:14}),"React Scan ran into a problem"]}),P("div",{className:"p-2 bg-black rounded font-mono text-xs text-red-300 mb-3 break-words",children:((e=this.state.error)==null?void 0:e.message)||JSON.stringify(this.state.error)}),P("button",{type:"button",onClick:this.handleReset,className:"px-3 py-1.5 bg-red-500 hover:bg-red-600 text-white rounded text-xs font-medium transition-colors flex items-center justify-center gap-1.5",children:"Restart"})]})}):this.props.children}},TX=e=>{const t=document.createElement("div");t.id="react-scan-toolbar-root",window.__REACT_SCAN_TOOLBAR_CONTAINER__=t,e.appendChild(t),yd(P(NX,{children:P(qt,{children:[P(jX,{}),P(CX,{})]})}),t);const r=t.remove.bind(t);return t.remove=()=>{window.__REACT_SCAN_TOOLBAR_CONTAINER__=void 0,t.hasChildNodes()&&(yd(null,t),yd(null,t)),r()},t},l5=!1,EX=()=>{if(l5||(l5=!0,typeof window>"u")||window.__REACT_GRAB__||!navigator.onLine)return;const e={referrerPolicy:"origin",keepalive:!0,priority:"low",cache:"no-store"};try{fetch(`https://www.react-grab.com/api/version?source=react-scan&v=${l0}&t=${Date.now()}`,e).then(t=>t.ok?t.text():null).then(t=>{if(!t)return;const r=t.trim();/^\d+\.\d+\.\d+/.test(r)&&r!==l0&&console.warn(`[React Scan] react-grab v${l0} is outdated (latest: v${r}). Update react-scan to pick up the newer react-grab.`)}).catch(()=>null)}catch{}},AX=["top","right","bottom","left"],_X=e=>{if(ii(e))return{ok:!0,value:e};if(!LE(e))return{ok:!1,error:`- safeArea must be a non-negative number or { top?, right?, bottom?, left? }. Got "${JSON.stringify(e)}"`};const t={};for(const r of AX){const n=e[r];if(n!==void 0){if(!ii(n))return{ok:!1,error:`- safeArea.${r} must be a non-negative number. Got "${JSON.stringify(n)}"`};t[r]=n}}return{ok:!0,value:t}},PX={version:"0.5.7"},Wo=null,zc=null,MX=()=>{if(Wo&&zc)return{rootContainer:Wo,shadowRoot:zc};Wo=document.createElement("div"),Wo.id="react-scan-root",zc=Wo.attachShadow({mode:"open"});const e=document.createElement("style");return e.textContent=LK,zc.appendChild(e),document.documentElement.appendChild(Wo),{rootContainer:Wo,shadowRoot:zc}},tt={wasDetailsOpen:tn(!0),isInIframe:tn(is&&window.self!==window.top),inspectState:tn({kind:"uninitialized"}),fiberRoots:new Set,reportData:new Map,legacyReportData:new Map,lastReportTime:tn(0),interactionListeningForRenders:null,changesListeners:new Map},Ht={instrumentation:null,componentAllowList:null,options:tn({enabled:!0,log:!1,showToolbar:!0,animationSpeed:"fast",dangerouslyForceRunInProduction:!1,showFPS:!0,showNotificationCount:!0,allowInIframe:!1}),runInAllEnvironments:!1,onRender:null,Store:tt,version:PX.version};is&&window.__REACT_SCAN_EXTENSION__&&(window.__REACT_SCAN_VERSION__=Ht.version);var IX=e=>{const{onCommitStart:t,onRender:r,onCommitFinish:n,...a}=e;return a},hA=e=>{const t=[],r={};for(const n in e){const a=e[n];switch(n){case"enabled":case"log":case"showToolbar":case"showNotificationCount":case"dangerouslyForceRunInProduction":case"showFPS":case"allowInIframe":case"useOffscreenCanvasWorker":typeof a!="boolean"?t.push(`- ${n} must be a boolean. Got "${a}"`):r[n]=a;break;case"animationSpeed":["slow","fast","off"].includes(a)?r[n]=a:t.push(`- Invalid animation speed "${a}". Using default "fast"`);break;case"safeArea":{const s=_X(a);s.ok?r.safeArea=s.value:t.push(s.error);break}case"onCommitStart":typeof a!="function"?t.push(`- ${n} must be a function. Got "${a}"`):r.onCommitStart=a;break;case"onCommitFinish":typeof a!="function"?t.push(`- ${n} must be a function. Got "${a}"`):r.onCommitFinish=a;break;case"onRender":typeof a!="function"?t.push(`- ${n} must be a function. Got "${a}"`):r.onRender=a;break;default:t.push(`- Unknown option "${n}"`)}}return t.length>0&&console.warn(`[React Scan] Invalid options:
3300
3300
  ${t.join(`
3301
- `)}`),r},DX=e=>{var t;try{const r=hA(e);if(Object.keys(r).length===0)return;const n="showToolbar"in r&&r.showToolbar!==void 0,a={...Ht.options.value,...r},{instrumentation:s}=Ht;s&&"enabled"in r&&(s.isPaused.value=r.enabled===!1),Ht.options.value=a;try{const i=(t=So("react-scan-options"))==null?void 0:t.enabled;typeof i=="boolean"&&(a.enabled=i)}catch(i){Ht.options.value._debug==="verbose"&&console.error("[React Scan Internal Error]","Failed to create notifications outline canvas",i)}return Gn("react-scan-options",IX(a)),n&&fA(!!a.showToolbar),a}catch(r){Ht.options.value._debug==="verbose"&&console.error("[React Scan Internal Error]","Failed to create notifications outline canvas",r)}},RX=()=>Ht.options,c5=null,cp,Kh=()=>{if(c5===!1)return!1;cp??(cp=Cy());const e=Array.from(cp.renderers.values());if(e.length===0)return null;for(const t of e)if(jB(t)!=="production")return c5=!1,!1;return!0},zX=()=>{try{if(!is||!Ht.runInAllEnvironments&&Kh()&&!Ht.options.value.dangerouslyForceRunInProduction)return;EX();const e=So("react-scan-options");if(e){const r=hA(e);Object.keys(r).length>0&&(Ht.options.value={...Ht.options.value,...r})}const t=RX();zK(()=>{fA(!!t.value.showToolbar)}),is&&setTimeout(()=>{NB()||console.error("[React Scan] Failed to load. Must import React Scan before React runs.")},5e3)}catch(e){Ht.options.value._debug==="verbose"&&console.error("[React Scan Internal Error]","Failed to create notifications outline canvas",e)}},fA=e=>{var t;(t=window.reactScanCleanupListeners)==null||t.call(window);const r=bY(),n=LX();window.reactScanCleanupListeners=()=>{r(),n?.()};const a=window.__REACT_SCAN_TOOLBAR_CONTAINER__;if(!e){a?.remove();return}a?.remove();const{shadowRoot:s}=MX();TX(s)},LX=()=>{try{const e=document.documentElement;return HY(e)}catch(e){Ht.options.value._debug==="verbose"&&console.error("[React Scan Internal Error]","Failed to create notifications outline canvas",e)}},$X=(e={})=>{DX(e),!(tt.isInIframe.value&&!Ht.options.value.allowInIframe&&!Ht.runInAllEnvironments)&&(e.enabled===!1&&e.showToolbar!==!0||zX())},FX=new WeakSet,E0={};const jt=e=>typeof e=="string",Lc=()=>{let e,t;const r=new Promise((n,a)=>{e=n,t=a});return r.resolve=e,r.reject=t,r},d5=e=>e==null?"":""+e,OX=(e,t,r)=>{e.forEach(n=>{t[n]&&(r[n]=t[n])})},BX=/###/g,u5=e=>e&&e.indexOf("###")>-1?e.replace(BX,"."):e,p5=e=>!e||jt(e),Td=(e,t,r)=>{const n=jt(t)?t.split("."):t;let a=0;for(;a<n.length-1;){if(p5(e))return{};const s=u5(n[a]);!e[s]&&r&&(e[s]=new r),Object.prototype.hasOwnProperty.call(e,s)?e=e[s]:e={},++a}return p5(e)?{}:{obj:e,k:u5(n[a])}},m5=(e,t,r)=>{const{obj:n,k:a}=Td(e,t,Object);if(n!==void 0||t.length===1){n[a]=r;return}let s=t[t.length-1],i=t.slice(0,t.length-1),l=Td(e,i,Object);for(;l.obj===void 0&&i.length;)s=`${i[i.length-1]}.${s}`,i=i.slice(0,i.length-1),l=Td(e,i,Object),l?.obj&&typeof l.obj[`${l.k}.${s}`]<"u"&&(l.obj=void 0);l.obj[`${l.k}.${s}`]=r},UX=(e,t,r,n)=>{const{obj:a,k:s}=Td(e,t,Object);a[s]=a[s]||[],a[s].push(r)},Jm=(e,t)=>{const{obj:r,k:n}=Td(e,t);if(r&&Object.prototype.hasOwnProperty.call(r,n))return r[n]},HX=(e,t,r)=>{const n=Jm(e,r);return n!==void 0?n:Jm(t,r)},gA=(e,t,r)=>{for(const n in t)n!=="__proto__"&&n!=="constructor"&&(n in e?jt(e[n])||e[n]instanceof String||jt(t[n])||t[n]instanceof String?r&&(e[n]=t[n]):gA(e[n],t[n],r):e[n]=t[n]);return e},Vo=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var qX={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const WX=e=>jt(e)?e.replace(/[&<>"'\/]/g,t=>qX[t]):e;class VX{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const r=this.regExpMap.get(t);if(r!==void 0)return r;const n=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,n),this.regExpQueue.push(t),n}}const GX=[" ",",","?","!",";"],KX=new VX(20),YX=(e,t,r)=>{t=t||"",r=r||"";const n=GX.filter(i=>t.indexOf(i)<0&&r.indexOf(i)<0);if(n.length===0)return!0;const a=KX.getRegExp(`(${n.map(i=>i==="?"?"\\?":i).join("|")})`);let s=!a.test(e);if(!s){const i=e.indexOf(r);i>0&&!a.test(e.substring(0,i))&&(s=!0)}return s},zv=(e,t,r=".")=>{if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;const n=t.split(r);let a=e;for(let s=0;s<n.length;){if(!a||typeof a!="object")return;let i,l="";for(let c=s;c<n.length;++c)if(c!==s&&(l+=r),l+=n[c],i=a[l],i!==void 0){if(["string","number","boolean"].indexOf(typeof i)>-1&&c<n.length-1)continue;s+=c-s+1;break}a=i}return a},Qd=e=>e?.replace(/_/g,"-"),XX={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};class Qm{constructor(t,r={}){this.init(t,r)}init(t,r={}){this.prefix=r.prefix||"i18next:",this.logger=t||XX,this.options=r,this.debug=r.debug}log(...t){return this.forward(t,"log","",!0)}warn(...t){return this.forward(t,"warn","",!0)}error(...t){return this.forward(t,"error","")}deprecate(...t){return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(t,r,n,a){return a&&!this.debug?null:(jt(t[0])&&(t[0]=`${n}${this.prefix} ${t[0]}`),this.logger[r](t))}create(t){return new Qm(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new Qm(this.logger,t)}}var rs=new Qm;class Yh{constructor(){this.observers={}}on(t,r){return t.split(" ").forEach(n=>{this.observers[n]||(this.observers[n]=new Map);const a=this.observers[n].get(r)||0;this.observers[n].set(r,a+1)}),this}off(t,r){if(this.observers[t]){if(!r){delete this.observers[t];return}this.observers[t].delete(r)}}emit(t,...r){this.observers[t]&&Array.from(this.observers[t].entries()).forEach(([a,s])=>{for(let i=0;i<s;i++)a(...r)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([a,s])=>{for(let i=0;i<s;i++)a.apply(a,[t,...r])})}}class h5 extends Yh{constructor(t,r={ns:["translation"],defaultNS:"translation"}){super(),this.data=t||{},this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const r=this.options.ns.indexOf(t);r>-1&&this.options.ns.splice(r,1)}getResource(t,r,n,a={}){const s=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,i=a.ignoreJSONStructure!==void 0?a.ignoreJSONStructure:this.options.ignoreJSONStructure;let l;t.indexOf(".")>-1?l=t.split("."):(l=[t,r],n&&(Array.isArray(n)?l.push(...n):jt(n)&&s?l.push(...n.split(s)):l.push(n)));const c=Jm(this.data,l);return!c&&!r&&!n&&t.indexOf(".")>-1&&(t=l[0],r=l[1],n=l.slice(2).join(".")),c||!i||!jt(n)?c:zv(this.data?.[t]?.[r],n,s)}addResource(t,r,n,a,s={silent:!1}){const i=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator;let l=[t,r];n&&(l=l.concat(i?n.split(i):n)),t.indexOf(".")>-1&&(l=t.split("."),a=r,r=l[1]),this.addNamespaces(r),m5(this.data,l,a),s.silent||this.emit("added",t,r,n,a)}addResources(t,r,n,a={silent:!1}){for(const s in n)(jt(n[s])||Array.isArray(n[s]))&&this.addResource(t,r,s,n[s],{silent:!0});a.silent||this.emit("added",t,r,n)}addResourceBundle(t,r,n,a,s,i={silent:!1,skipCopy:!1}){let l=[t,r];t.indexOf(".")>-1&&(l=t.split("."),a=n,n=r,r=l[1]),this.addNamespaces(r);let c=Jm(this.data,l)||{};i.skipCopy||(n=JSON.parse(JSON.stringify(n))),a?gA(c,n,s):c={...c,...n},m5(this.data,l,c),i.silent||this.emit("added",t,r,n)}removeResourceBundle(t,r){this.hasResourceBundle(t,r)&&delete this.data[t][r],this.removeNamespaces(r),this.emit("removed",t,r)}hasResourceBundle(t,r){return this.getResource(t,r)!==void 0}getResourceBundle(t,r){return r||(r=this.options.defaultNS),this.getResource(t,r)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const r=this.getDataByLanguage(t);return!!(r&&Object.keys(r)||[]).find(a=>r[a]&&Object.keys(r[a]).length>0)}toJSON(){return this.data}}var bA={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,n,a){return e.forEach(s=>{t=this.processors[s]?.process(t,r,n,a)??t}),t}};const xA=Symbol("i18next/PATH_KEY");function ZX(){const e=[],t=Object.create(null);let r;return t.get=(n,a)=>(r?.revoke?.(),a===xA?e:(e.push(a),r=Proxy.revocable(n,t),r.proxy)),Proxy.revocable(Object.create(null),t).proxy}function vi(e,t){const{[xA]:r}=e(ZX()),n=t?.keySeparator??".",a=t?.nsSeparator??":";if(r.length>1&&a){const s=t?.ns,i=Array.isArray(s)?s:null;if(i&&i.length>1&&i.slice(1).includes(r[0]))return`${r[0]}${a}${r.slice(1).join(n)}`}return r.join(n)}const f5={},A0=e=>!jt(e)&&typeof e!="boolean"&&typeof e!="number";class eh extends Yh{constructor(t,r={}){super(),OX(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=rs.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t,r={interpolation:{}}){const n={...r};if(t==null)return!1;const a=this.resolve(t,n);if(a?.res===void 0)return!1;const s=A0(a.res);return!(n.returnObjects===!1&&s)}extractFromKey(t,r){let n=r.nsSeparator!==void 0?r.nsSeparator:this.options.nsSeparator;n===void 0&&(n=":");const a=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator;let s=r.ns||this.options.defaultNS||[];const i=n&&t.indexOf(n)>-1,l=!this.options.userDefinedKeySeparator&&!r.keySeparator&&!this.options.userDefinedNsSeparator&&!r.nsSeparator&&!YX(t,n,a);if(i&&!l){const c=t.match(this.interpolator.nestingRegexp);if(c&&c.length>0)return{key:t,namespaces:jt(s)?[s]:s};const d=t.split(n);(n!==a||n===a&&this.options.ns.indexOf(d[0])>-1)&&(s=d.shift()),t=d.join(a)}return{key:t,namespaces:jt(s)?[s]:s}}translate(t,r,n){let a=typeof r=="object"?{...r}:r;if(typeof a!="object"&&this.options.overloadTranslationOptionHandler&&(a=this.options.overloadTranslationOptionHandler(arguments)),typeof a=="object"&&(a={...a}),a||(a={}),t==null)return"";typeof t=="function"&&(t=vi(t,{...this.options,...a})),Array.isArray(t)||(t=[String(t)]),t=t.map(U=>typeof U=="function"?vi(U,{...this.options,...a}):String(U));const s=a.returnDetails!==void 0?a.returnDetails:this.options.returnDetails,i=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,{key:l,namespaces:c}=this.extractFromKey(t[t.length-1],a),d=c[c.length-1];let p=a.nsSeparator!==void 0?a.nsSeparator:this.options.nsSeparator;p===void 0&&(p=":");const u=a.lng||this.language,h=a.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u?.toLowerCase()==="cimode")return h?s?{res:`${d}${p}${l}`,usedKey:l,exactUsedKey:l,usedLng:u,usedNS:d,usedParams:this.getUsedParamsDetails(a)}:`${d}${p}${l}`:s?{res:l,usedKey:l,exactUsedKey:l,usedLng:u,usedNS:d,usedParams:this.getUsedParamsDetails(a)}:l;const m=this.resolve(t,a);let g=m?.res;const b=m?.usedKey||l,x=m?.exactUsedKey||l,v=["[object Number]","[object Function]","[object RegExp]"],y=a.joinArrays!==void 0?a.joinArrays:this.options.joinArrays,w=!this.i18nFormat||this.i18nFormat.handleAsObject,S=a.count!==void 0&&!jt(a.count),j=eh.hasDefaultValue(a),k=S?this.pluralResolver.getSuffix(u,a.count,a):"",C=a.ordinal&&S?this.pluralResolver.getSuffix(u,a.count,{ordinal:!1}):"",E=S&&!a.ordinal&&a.count===0,T=E&&a[`defaultValue${this.options.pluralSeparator}zero`]||a[`defaultValue${k}`]||a[`defaultValue${C}`]||a.defaultValue;let N=g;w&&!g&&j&&(N=T);const D=A0(N),A=Object.prototype.toString.apply(N);if(w&&N&&D&&v.indexOf(A)<0&&!(jt(y)&&Array.isArray(N))){if(!a.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const U=this.options.returnedObjectHandler?this.options.returnedObjectHandler(b,N,{...a,ns:c}):`key '${l} (${this.language})' returned an object instead of string.`;return s?(m.res=U,m.usedParams=this.getUsedParamsDetails(a),m):U}if(i){const U=Array.isArray(N),_=U?[]:{},q=U?x:b;for(const z in N)if(Object.prototype.hasOwnProperty.call(N,z)){const F=`${q}${i}${z}`;j&&!g?_[z]=this.translate(F,{...a,defaultValue:A0(T)?T[z]:void 0,joinArrays:!1,ns:c}):_[z]=this.translate(F,{...a,joinArrays:!1,ns:c}),_[z]===F&&(_[z]=N[z])}g=_}}else if(w&&jt(y)&&Array.isArray(g))g=g.join(y),g&&(g=this.extendTranslation(g,t,a,n));else{let U=!1,_=!1;!this.isValidLookup(g)&&j&&(U=!0,g=T),this.isValidLookup(g)||(_=!0,g=l);const z=(a.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&_?void 0:g,F=j&&T!==g&&this.options.updateMissing;if(_||U||F){if(this.logger.log(F?"updateKey":"missingKey",u,d,l,F?T:g),i){const V=this.resolve(l,{...a,keySeparator:!1});V&&V.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let H=[];const L=this.languageUtils.getFallbackCodes(this.options.fallbackLng,a.lng||this.language);if(this.options.saveMissingTo==="fallback"&&L&&L[0])for(let V=0;V<L.length;V++)H.push(L[V]);else this.options.saveMissingTo==="all"?H=this.languageUtils.toResolveHierarchy(a.lng||this.language):H.push(a.lng||this.language);const M=(V,$,R)=>{const X=j&&R!==g?R:z;this.options.missingKeyHandler?this.options.missingKeyHandler(V,d,$,X,F,a):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(V,d,$,X,F,a),this.emit("missingKey",V,d,$,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&S?H.forEach(V=>{const $=this.pluralResolver.getSuffixes(V,a);E&&a[`defaultValue${this.options.pluralSeparator}zero`]&&$.indexOf(`${this.options.pluralSeparator}zero`)<0&&$.push(`${this.options.pluralSeparator}zero`),$.forEach(R=>{M([V],l+R,a[`defaultValue${R}`]||T)})}):M(H,l,T))}g=this.extendTranslation(g,t,a,m,n),_&&g===l&&this.options.appendNamespaceToMissingKey&&(g=`${d}${p}${l}`),(_||U)&&this.options.parseMissingKeyHandler&&(g=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${d}${p}${l}`:l,U?g:void 0,a))}return s?(m.res=g,m.usedParams=this.getUsedParamsDetails(a),m):g}extendTranslation(t,r,n,a,s){if(this.i18nFormat?.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||a.usedLng,a.usedNS,a.usedKey,{resolved:a});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const c=jt(t)&&(n?.interpolation?.skipOnVariables!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let d;if(c){const u=t.match(this.interpolator.nestingRegexp);d=u&&u.length}let p=n.replace&&!jt(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(p={...this.options.interpolation.defaultVariables,...p}),t=this.interpolator.interpolate(t,p,n.lng||this.language||a.usedLng,n),c){const u=t.match(this.interpolator.nestingRegexp),h=u&&u.length;d<h&&(n.nest=!1)}!n.lng&&a&&a.res&&(n.lng=this.language||a.usedLng),n.nest!==!1&&(t=this.interpolator.nest(t,(...u)=>s?.[0]===u[0]&&!n.context?(this.logger.warn(`It seems you are nesting recursively key: ${u[0]} in key: ${r[0]}`),null):this.translate(...u,r),n)),n.interpolation&&this.interpolator.reset()}const i=n.postProcess||this.options.postProcess,l=jt(i)?[i]:i;return t!=null&&l?.length&&n.applyPostProcessor!==!1&&(t=bA.handle(l,t,r,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...a,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),t}resolve(t,r={}){let n,a,s,i,l;return jt(t)&&(t=[t]),Array.isArray(t)&&(t=t.map(c=>typeof c=="function"?vi(c,{...this.options,...r}):c)),t.forEach(c=>{if(this.isValidLookup(n))return;const d=this.extractFromKey(c,r),p=d.key;a=p;let u=d.namespaces;this.options.fallbackNS&&(u=u.concat(this.options.fallbackNS));const h=r.count!==void 0&&!jt(r.count),m=h&&!r.ordinal&&r.count===0,g=r.context!==void 0&&(jt(r.context)||typeof r.context=="number")&&r.context!=="",b=r.lngs?r.lngs:this.languageUtils.toResolveHierarchy(r.lng||this.language,r.fallbackLng);u.forEach(x=>{this.isValidLookup(n)||(l=x,!f5[`${b[0]}-${x}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(l)&&(f5[`${b[0]}-${x}`]=!0,this.logger.warn(`key "${a}" for languages "${b.join(", ")}" won't get resolved as namespace "${l}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),b.forEach(v=>{if(this.isValidLookup(n))return;i=v;const y=[p];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(y,p,v,x,r);else{let S;h&&(S=this.pluralResolver.getSuffix(v,r.count,r));const j=`${this.options.pluralSeparator}zero`,k=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(h&&(r.ordinal&&S.indexOf(k)===0&&y.push(p+S.replace(k,this.options.pluralSeparator)),y.push(p+S),m&&y.push(p+j)),g){const C=`${p}${this.options.contextSeparator||"_"}${r.context}`;y.push(C),h&&(r.ordinal&&S.indexOf(k)===0&&y.push(C+S.replace(k,this.options.pluralSeparator)),y.push(C+S),m&&y.push(C+j))}}let w;for(;w=y.pop();)this.isValidLookup(n)||(s=w,n=this.getResource(v,x,w,r))}))})}),{res:n,usedKey:a,exactUsedKey:s,usedLng:i,usedNS:l}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,r,n,a={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(t,r,n,a):this.resourceStore.getResource(t,r,n,a)}getUsedParamsDetails(t={}){const r=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=t.replace&&!jt(t.replace);let a=n?t.replace:t;if(n&&typeof t.count<"u"&&(a.count=t.count),this.options.interpolation.defaultVariables&&(a={...this.options.interpolation.defaultVariables,...a}),!n){a={...a};for(const s of r)delete a[s]}return a}static hasDefaultValue(t){const r="defaultValue";for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&r===n.substring(0,r.length)&&t[n]!==void 0)return!0;return!1}}class g5{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=rs.create("languageUtils")}getScriptPartFromCode(t){if(t=Qd(t),!t||t.indexOf("-")<0)return null;const r=t.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}getLanguagePartFromCode(t){if(t=Qd(t),!t||t.indexOf("-")<0)return t;const r=t.split("-");return this.formatLanguageCode(r[0])}formatLanguageCode(t){if(jt(t)&&t.indexOf("-")>-1){let r;try{r=Intl.getCanonicalLocales(t)[0]}catch{}return r&&this.options.lowerCaseLng&&(r=r.toLowerCase()),r||(this.options.lowerCaseLng?t.toLowerCase():t)}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let r;return t.forEach(n=>{if(r)return;const a=this.formatLanguageCode(n);(!this.options.supportedLngs||this.isSupportedCode(a))&&(r=a)}),!r&&this.options.supportedLngs&&t.forEach(n=>{if(r)return;const a=this.getScriptPartFromCode(n);if(this.isSupportedCode(a))return r=a;const s=this.getLanguagePartFromCode(n);if(this.isSupportedCode(s))return r=s;r=this.options.supportedLngs.find(i=>{if(i===s)return i;if(!(i.indexOf("-")<0&&s.indexOf("-")<0)&&(i.indexOf("-")>0&&s.indexOf("-")<0&&i.substring(0,i.indexOf("-"))===s||i.indexOf(s)===0&&s.length>1))return i})}),r||(r=this.getFallbackCodes(this.options.fallbackLng)[0]),r}getFallbackCodes(t,r){if(!t)return[];if(typeof t=="function"&&(t=t(r)),jt(t)&&(t=[t]),Array.isArray(t))return t;if(!r)return t.default||[];let n=t[r];return n||(n=t[this.getScriptPartFromCode(r)]),n||(n=t[this.formatLanguageCode(r)]),n||(n=t[this.getLanguagePartFromCode(r)]),n||(n=t.default),n||[]}toResolveHierarchy(t,r){const n=this.getFallbackCodes((r===!1?[]:r)||this.options.fallbackLng||[],t),a=[],s=i=>{i&&(this.isSupportedCode(i)?a.push(i):this.logger.warn(`rejecting language code not found in supportedLngs: ${i}`))};return jt(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(t))):jt(t)&&s(this.formatLanguageCode(t)),n.forEach(i=>{a.indexOf(i)<0&&s(this.formatLanguageCode(i))}),a}}const b5={zero:0,one:1,two:2,few:3,many:4,other:5},x5={select:e=>e===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class JX{constructor(t,r={}){this.languageUtils=t,this.options=r,this.logger=rs.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(t,r={}){const n=Qd(t==="dev"?"en":t),a=r.ordinal?"ordinal":"cardinal",s=JSON.stringify({cleanedCode:n,type:a});if(s in this.pluralRulesCache)return this.pluralRulesCache[s];let i;try{i=new Intl.PluralRules(n,{type:a})}catch{if(typeof Intl>"u")return this.logger.error("No Intl support, please use an Intl polyfill!"),x5;if(!t.match(/-|_/))return x5;const c=this.languageUtils.getLanguagePartFromCode(t);i=this.getRule(c,r)}return this.pluralRulesCache[s]=i,i}needsPlural(t,r={}){let n=this.getRule(t,r);return n||(n=this.getRule("dev",r)),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(t,r,n={}){return this.getSuffixes(t,n).map(a=>`${r}${a}`)}getSuffixes(t,r={}){let n=this.getRule(t,r);return n||(n=this.getRule("dev",r)),n?n.resolvedOptions().pluralCategories.sort((a,s)=>b5[a]-b5[s]).map(a=>`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${a}`):[]}getSuffix(t,r,n={}){const a=this.getRule(t,n);return a?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${a.select(r)}`:(this.logger.warn(`no plural rule found for: ${t}`),this.getSuffix("dev",r,n))}}const v5=(e,t,r,n=".",a=!0)=>{let s=HX(e,t,r);return!s&&a&&jt(r)&&(s=zv(e,r,n),s===void 0&&(s=zv(t,r,n))),s},_0=e=>e.replace(/\$/g,"$$$$");class y5{constructor(t={}){this.logger=rs.create("interpolator"),this.options=t,this.format=t?.interpolation?.format||(r=>r),this.init(t)}init(t={}){t.interpolation||(t.interpolation={escapeValue:!0});const{escape:r,escapeValue:n,useRawValueToEscape:a,prefix:s,prefixEscaped:i,suffix:l,suffixEscaped:c,formatSeparator:d,unescapeSuffix:p,unescapePrefix:u,nestingPrefix:h,nestingPrefixEscaped:m,nestingSuffix:g,nestingSuffixEscaped:b,nestingOptionsSeparator:x,maxReplaces:v,alwaysFormat:y}=t.interpolation;this.escape=r!==void 0?r:WX,this.escapeValue=n!==void 0?n:!0,this.useRawValueToEscape=a!==void 0?a:!1,this.prefix=s?Vo(s):i||"{{",this.suffix=l?Vo(l):c||"}}",this.formatSeparator=d||",",this.unescapePrefix=p?"":u||"-",this.unescapeSuffix=this.unescapePrefix?"":p||"",this.nestingPrefix=h?Vo(h):m||Vo("$t("),this.nestingSuffix=g?Vo(g):b||Vo(")"),this.nestingOptionsSeparator=x||",",this.maxReplaces=v||1e3,this.alwaysFormat=y!==void 0?y:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(r,n)=>r?.source===n?(r.lastIndex=0,r):new RegExp(n,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(t,r,n,a){let s,i,l;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},d=m=>{if(m.indexOf(this.formatSeparator)<0){const v=v5(r,c,m,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(v,void 0,n,{...a,...r,interpolationkey:m}):v}const g=m.split(this.formatSeparator),b=g.shift().trim(),x=g.join(this.formatSeparator).trim();return this.format(v5(r,c,b,this.options.keySeparator,this.options.ignoreJSONStructure),x,n,{...a,...r,interpolationkey:b})};this.resetRegExp();const p=a?.missingInterpolationHandler||this.options.missingInterpolationHandler,u=a?.interpolation?.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:m=>_0(m)},{regex:this.regexp,safeValue:m=>this.escapeValue?_0(this.escape(m)):_0(m)}].forEach(m=>{for(l=0;s=m.regex.exec(t);){const g=s[1].trim();if(i=d(g),i===void 0)if(typeof p=="function"){const x=p(t,s,a);i=jt(x)?x:""}else if(a&&Object.prototype.hasOwnProperty.call(a,g))i="";else if(u){i=s[0];continue}else this.logger.warn(`missed to pass in variable ${g} for interpolating ${t}`),i="";else!jt(i)&&!this.useRawValueToEscape&&(i=d5(i));const b=m.safeValue(i);if(t=t.replace(s[0],b),u?(m.regex.lastIndex+=i.length,m.regex.lastIndex-=s[0].length):m.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),t}nest(t,r,n={}){let a,s,i;const l=(c,d)=>{const p=this.nestingOptionsSeparator;if(c.indexOf(p)<0)return c;const u=c.split(new RegExp(`${Vo(p)}[ ]*{`));let h=`{${u[1]}`;c=u[0],h=this.interpolate(h,i);const m=h.match(/'/g),g=h.match(/"/g);((m?.length??0)%2===0&&!g||(g?.length??0)%2!==0)&&(h=h.replace(/'/g,'"'));try{i=JSON.parse(h),d&&(i={...d,...i})}catch(b){return this.logger.warn(`failed parsing options string in nesting for key ${c}`,b),`${c}${p}${h}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,c};for(;a=this.nestingRegexp.exec(t);){let c=[];i={...n},i=i.replace&&!jt(i.replace)?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;const d=/{.*}/.test(a[1])?a[1].lastIndexOf("}")+1:a[1].indexOf(this.formatSeparator);if(d!==-1&&(c=a[1].slice(d).split(this.formatSeparator).map(p=>p.trim()).filter(Boolean),a[1]=a[1].slice(0,d)),s=r(l.call(this,a[1].trim(),i),i),s&&a[0]===t&&!jt(s))return s;jt(s)||(s=d5(s)),s||(this.logger.warn(`missed to resolve ${a[1]} for nesting ${t}`),s=""),c.length&&(s=c.reduce((p,u)=>this.format(p,u,n.lng,{...n,interpolationkey:a[1].trim()}),s.trim())),t=t.replace(a[0],s),this.regexp.lastIndex=0}return t}}const QX=e=>{let t=e.toLowerCase().trim();const r={};if(e.indexOf("(")>-1){const n=e.split("(");t=n[0].toLowerCase().trim();const a=n[1].substring(0,n[1].length-1);t==="currency"&&a.indexOf(":")<0?r.currency||(r.currency=a.trim()):t==="relativetime"&&a.indexOf(":")<0?r.range||(r.range=a.trim()):a.split(";").forEach(i=>{if(i){const[l,...c]=i.split(":"),d=c.join(":").trim().replace(/^'+|'+$/g,""),p=l.trim();r[p]||(r[p]=d),d==="false"&&(r[p]=!1),d==="true"&&(r[p]=!0),isNaN(d)||(r[p]=parseInt(d,10))}})}return{formatName:t,formatOptions:r}},w5=e=>{const t={};return(r,n,a)=>{let s=a;a&&a.interpolationkey&&a.formatParams&&a.formatParams[a.interpolationkey]&&a[a.interpolationkey]&&(s={...s,[a.interpolationkey]:void 0});const i=n+JSON.stringify(s);let l=t[i];return l||(l=e(Qd(n),a),t[i]=l),l(r)}},eZ=e=>(t,r,n)=>e(Qd(r),n)(t);class tZ{constructor(t={}){this.logger=rs.create("formatter"),this.options=t,this.init(t)}init(t,r={interpolation:{}}){this.formatSeparator=r.interpolation.formatSeparator||",";const n=r.cacheInBuiltFormats?w5:eZ;this.formats={number:n((a,s)=>{const i=new Intl.NumberFormat(a,{...s});return l=>i.format(l)}),currency:n((a,s)=>{const i=new Intl.NumberFormat(a,{...s,style:"currency"});return l=>i.format(l)}),datetime:n((a,s)=>{const i=new Intl.DateTimeFormat(a,{...s});return l=>i.format(l)}),relativetime:n((a,s)=>{const i=new Intl.RelativeTimeFormat(a,{...s});return l=>i.format(l,s.range||"day")}),list:n((a,s)=>{const i=new Intl.ListFormat(a,{...s});return l=>i.format(l)})}}add(t,r){this.formats[t.toLowerCase().trim()]=r}addCached(t,r){this.formats[t.toLowerCase().trim()]=w5(r)}format(t,r,n,a={}){const s=r.split(this.formatSeparator);if(s.length>1&&s[0].indexOf("(")>1&&s[0].indexOf(")")<0&&s.find(l=>l.indexOf(")")>-1)){const l=s.findIndex(c=>c.indexOf(")")>-1);s[0]=[s[0],...s.splice(1,l)].join(this.formatSeparator)}return s.reduce((l,c)=>{const{formatName:d,formatOptions:p}=QX(c);if(this.formats[d]){let u=l;try{const h=a?.formatParams?.[a.interpolationkey]||{},m=h.locale||h.lng||a.locale||a.lng||n;u=this.formats[d](l,m,{...p,...a,...h})}catch(h){this.logger.warn(h)}return u}else this.logger.warn(`there was no format function for ${d}`);return l},t)}}const rZ=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class nZ extends Yh{constructor(t,r,n,a={}){super(),this.backend=t,this.store=r,this.services=n,this.languageUtils=n.languageUtils,this.options=a,this.logger=rs.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=a.maxParallelReads||10,this.readingCalls=0,this.maxRetries=a.maxRetries>=0?a.maxRetries:5,this.retryTimeout=a.retryTimeout>=1?a.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,a.backend,a)}queueLoad(t,r,n,a){const s={},i={},l={},c={};return t.forEach(d=>{let p=!0;r.forEach(u=>{const h=`${d}|${u}`;!n.reload&&this.store.hasResourceBundle(d,u)?this.state[h]=2:this.state[h]<0||(this.state[h]===1?i[h]===void 0&&(i[h]=!0):(this.state[h]=1,p=!1,i[h]===void 0&&(i[h]=!0),s[h]===void 0&&(s[h]=!0),c[u]===void 0&&(c[u]=!0)))}),p||(l[d]=!0)}),(Object.keys(s).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:a}),{toLoad:Object.keys(s),pending:Object.keys(i),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(c)}}loaded(t,r,n){const a=t.split("|"),s=a[0],i=a[1];r&&this.emit("failedLoading",s,i,r),!r&&n&&this.store.addResourceBundle(s,i,n,void 0,void 0,{skipCopy:!0}),this.state[t]=r?-1:2,r&&n&&(this.state[t]=0);const l={};this.queue.forEach(c=>{UX(c.loaded,[s],i),rZ(c,t),r&&c.errors.push(r),c.pendingCount===0&&!c.done&&(Object.keys(c.loaded).forEach(d=>{l[d]||(l[d]={});const p=c.loaded[d];p.length&&p.forEach(u=>{l[d][u]===void 0&&(l[d][u]=!0)})}),c.done=!0,c.errors.length?c.callback(c.errors):c.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(c=>!c.done)}read(t,r,n,a=0,s=this.retryTimeout,i){if(!t.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:r,fcName:n,tried:a,wait:s,callback:i});return}this.readingCalls++;const l=(d,p)=>{if(this.readingCalls--,this.waitingReads.length>0){const u=this.waitingReads.shift();this.read(u.lng,u.ns,u.fcName,u.tried,u.wait,u.callback)}if(d&&p&&a<this.maxRetries){setTimeout(()=>{this.read.call(this,t,r,n,a+1,s*2,i)},s);return}i(d,p)},c=this.backend[n].bind(this.backend);if(c.length===2){try{const d=c(t,r);d&&typeof d.then=="function"?d.then(p=>l(null,p)).catch(l):l(null,d)}catch(d){l(d)}return}return c(t,r,l)}prepareLoading(t,r,n={},a){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();jt(t)&&(t=this.languageUtils.toResolveHierarchy(t)),jt(r)&&(r=[r]);const s=this.queueLoad(t,r,n,a);if(!s.toLoad.length)return s.pending.length||a(),null;s.toLoad.forEach(i=>{this.loadOne(i)})}load(t,r,n){this.prepareLoading(t,r,{},n)}reload(t,r,n){this.prepareLoading(t,r,{reload:!0},n)}loadOne(t,r=""){const n=t.split("|"),a=n[0],s=n[1];this.read(a,s,"read",void 0,void 0,(i,l)=>{i&&this.logger.warn(`${r}loading namespace ${s} for language ${a} failed`,i),!i&&l&&this.logger.log(`${r}loaded namespace ${s} for language ${a}`,l),this.loaded(t,i,l)})}saveMissing(t,r,n,a,s,i={},l=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(r)){this.logger.warn(`did not save key "${n}" as the namespace "${r}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(n==null||n==="")){if(this.backend?.create){const c={...i,isUpdate:s},d=this.backend.create.bind(this.backend);if(d.length<6)try{let p;d.length===5?p=d(t,r,n,a,c):p=d(t,r,n,a),p&&typeof p.then=="function"?p.then(u=>l(null,u)).catch(l):l(null,p)}catch(p){l(p)}else d(t,r,n,a,l,c)}!t||!t[0]||this.store.addResource(t[0],r,n,a)}}}const P0=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),jt(e[1])&&(t.defaultValue=e[1]),jt(e[2])&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const r=e[3]||e[2];Object.keys(r).forEach(n=>{t[n]=r[n]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),k5=e=>(jt(e.ns)&&(e.ns=[e.ns]),jt(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),jt(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),typeof e.initImmediate=="boolean"&&(e.initAsync=e.initImmediate),e),dp=()=>{},aZ=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(r=>{typeof e[r]=="function"&&(e[r]=e[r].bind(e))})},vA="__i18next_supportNoticeShown",sZ=()=>!!(typeof globalThis<"u"&&globalThis[vA]||typeof process<"u"&&E0&&E0.I18NEXT_NO_SUPPORT_NOTICE||typeof process<"u"&&E0),oZ=()=>{typeof globalThis<"u"&&(globalThis[vA]=!0)},iZ=e=>!!(e?.modules?.backend?.name?.indexOf("Locize")>0||e?.modules?.backend?.constructor?.name?.indexOf("Locize")>0||e?.options?.backend?.backends&&e.options.backend.backends.some(t=>t?.name?.indexOf("Locize")>0||t?.constructor?.name?.indexOf("Locize")>0)||e?.options?.backend?.projectId||e?.options?.backend?.backendOptions&&e.options.backend.backendOptions.some(t=>t?.projectId));class Ed extends Yh{constructor(t={},r){if(super(),this.options=k5(t),this.services={},this.logger=rs,this.modules={external:[]},aZ(this),r&&!this.isInitialized&&!t.isClone){if(!this.options.initAsync)return this.init(t,r),this;setTimeout(()=>{this.init(t,r)},0)}}init(t={},r){this.isInitializing=!0,typeof t=="function"&&(r=t,t={}),t.defaultNS==null&&t.ns&&(jt(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const n=P0();this.options={...n,...this.options,...k5(t)},this.options.interpolation={...n.interpolation,...this.options.interpolation},t.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=t.keySeparator),t.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=t.nsSeparator),typeof this.options.overloadTranslationOptionHandler!="function"&&(this.options.overloadTranslationOptionHandler=n.overloadTranslationOptionHandler),this.options.showSupportNotice!==!1&&!iZ(this)&&!sZ()&&(typeof console<"u"&&typeof console.info<"u"&&console.info("🌐 i18next is made possible by our own product, Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙"),oZ());const a=d=>d?typeof d=="function"?new d:d:null;if(!this.options.isClone){this.modules.logger?rs.init(a(this.modules.logger),this.options):rs.init(null,this.options);let d;this.modules.formatter?d=this.modules.formatter:d=tZ;const p=new g5(this.options);this.store=new h5(this.options.resources,this.options);const u=this.services;u.logger=rs,u.resourceStore=this.store,u.languageUtils=p,u.pluralResolver=new JX(p,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),d&&(!this.options.interpolation.format||this.options.interpolation.format===n.interpolation.format)&&(u.formatter=a(d),u.formatter.init&&u.formatter.init(u,this.options),this.options.interpolation.format=u.formatter.format.bind(u.formatter)),u.interpolator=new y5(this.options),u.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},u.backendConnector=new nZ(a(this.modules.backend),u.resourceStore,u,this.options),u.backendConnector.on("*",(m,...g)=>{this.emit(m,...g)}),this.modules.languageDetector&&(u.languageDetector=a(this.modules.languageDetector),u.languageDetector.init&&u.languageDetector.init(u,this.options.detection,this.options)),this.modules.i18nFormat&&(u.i18nFormat=a(this.modules.i18nFormat),u.i18nFormat.init&&u.i18nFormat.init(this)),this.translator=new eh(this.services,this.options),this.translator.on("*",(m,...g)=>{this.emit(m,...g)}),this.modules.external.forEach(m=>{m.init&&m.init(this)})}if(this.format=this.options.interpolation.format,r||(r=dp),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.length>0&&d[0]!=="dev"&&(this.options.lng=d[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(d=>{this[d]=(...p)=>this.store[d](...p)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(d=>{this[d]=(...p)=>(this.store[d](...p),this)});const l=Lc(),c=()=>{const d=(p,u)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),l.resolve(u),r(p,u)};if(this.languages&&!this.isInitialized)return d(null,this.t.bind(this));this.changeLanguage(this.options.lng,d)};return this.options.resources||!this.options.initAsync?c():setTimeout(c,0),l}loadResources(t,r=dp){let n=r;const a=jt(t)?t:this.language;if(typeof t=="function"&&(n=t),!this.options.resources||this.options.partialBundledLanguages){if(a?.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return n();const s=[],i=l=>{if(!l||l==="cimode")return;this.services.languageUtils.toResolveHierarchy(l).forEach(d=>{d!=="cimode"&&s.indexOf(d)<0&&s.push(d)})};a?i(a):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(c=>i(c)),this.options.preload?.forEach?.(l=>i(l)),this.services.backendConnector.load(s,this.options.ns,l=>{!l&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(l)})}else n(null)}reloadResources(t,r,n){const a=Lc();return typeof t=="function"&&(n=t,t=void 0),typeof r=="function"&&(n=r,r=void 0),t||(t=this.languages),r||(r=this.options.ns),n||(n=dp),this.services.backendConnector.reload(t,r,s=>{a.resolve(),n(s)}),a}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&bA.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1)){for(let r=0;r<this.languages.length;r++){const n=this.languages[r];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}!this.resolvedLanguage&&this.languages.indexOf(t)<0&&this.store.hasLanguageSomeTranslations(t)&&(this.resolvedLanguage=t,this.languages.unshift(t))}}changeLanguage(t,r){this.isLanguageChangingTo=t;const n=Lc();this.emit("languageChanging",t);const a=l=>{this.language=l,this.languages=this.services.languageUtils.toResolveHierarchy(l),this.resolvedLanguage=void 0,this.setResolvedLanguage(l)},s=(l,c)=>{c?this.isLanguageChangingTo===t&&(a(c),this.translator.changeLanguage(c),this.isLanguageChangingTo=void 0,this.emit("languageChanged",c),this.logger.log("languageChanged",c)):this.isLanguageChangingTo=void 0,n.resolve((...d)=>this.t(...d)),r&&r(l,(...d)=>this.t(...d))},i=l=>{!t&&!l&&this.services.languageDetector&&(l=[]);const c=jt(l)?l:l&&l[0],d=this.store.hasLanguageSomeTranslations(c)?c:this.services.languageUtils.getBestMatchFromCodes(jt(l)?[l]:l);d&&(this.language||a(d),this.translator.language||this.translator.changeLanguage(d),this.services.languageDetector?.cacheUserLanguage?.(d)),this.loadResources(d,p=>{s(p,d)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?i(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(i):this.services.languageDetector.detect(i):i(t),n}getFixedT(t,r,n){const a=(s,i,...l)=>{let c;typeof i!="object"?c=this.options.overloadTranslationOptionHandler([s,i].concat(l)):c={...i},c.lng=c.lng||a.lng,c.lngs=c.lngs||a.lngs,c.ns=c.ns||a.ns,c.keyPrefix!==""&&(c.keyPrefix=c.keyPrefix||n||a.keyPrefix);const d={...this.options,...c};typeof c.keyPrefix=="function"&&(c.keyPrefix=vi(c.keyPrefix,d));const p=this.options.keySeparator||".";let u;return c.keyPrefix&&Array.isArray(s)?u=s.map(h=>(typeof h=="function"&&(h=vi(h,d)),`${c.keyPrefix}${p}${h}`)):(typeof s=="function"&&(s=vi(s,d)),u=c.keyPrefix?`${c.keyPrefix}${p}${s}`:s),this.t(u,c)};return jt(t)?a.lng=t:a.lngs=t,a.ns=r,a.keyPrefix=n,a}t(...t){return this.translator?.translate(...t)}exists(...t){return this.translator?.exists(...t)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t,r={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const n=r.lng||this.resolvedLanguage||this.languages[0],a=this.options?this.options.fallbackLng:!1,s=this.languages[this.languages.length-1];if(n.toLowerCase()==="cimode")return!0;const i=(l,c)=>{const d=this.services.backendConnector.state[`${l}|${c}`];return d===-1||d===0||d===2};if(r.precheck){const l=r.precheck(this,i);if(l!==void 0)return l}return!!(this.hasResourceBundle(n,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||i(n,t)&&(!a||i(s,t)))}loadNamespaces(t,r){const n=Lc();return this.options.ns?(jt(t)&&(t=[t]),t.forEach(a=>{this.options.ns.indexOf(a)<0&&this.options.ns.push(a)}),this.loadResources(a=>{n.resolve(),r&&r(a)}),n):(r&&r(),Promise.resolve())}loadLanguages(t,r){const n=Lc();jt(t)&&(t=[t]);const a=this.options.preload||[],s=t.filter(i=>a.indexOf(i)<0&&this.services.languageUtils.isSupportedCode(i));return s.length?(this.options.preload=a.concat(s),this.loadResources(i=>{n.resolve(),r&&r(i)}),n):(r&&r(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!t)return"rtl";try{const a=new Intl.Locale(t);if(a&&a.getTextInfo){const s=a.getTextInfo();if(s&&s.direction)return s.direction}}catch{}const r=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],n=this.services?.languageUtils||new g5(P0());return t.toLowerCase().indexOf("-latn")>1?"ltr":r.indexOf(n.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(t={},r){const n=new Ed(t,r);return n.createInstance=Ed.createInstance,n}cloneInstance(t={},r=dp){const n=t.forkResourceStore;n&&delete t.forkResourceStore;const a={...this.options,...t,isClone:!0},s=new Ed(a);if((t.debug!==void 0||t.prefix!==void 0)&&(s.logger=s.logger.clone(t)),["store","services","language"].forEach(l=>{s[l]=this[l]}),s.services={...this.services},s.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},n){const l=Object.keys(this.store.data).reduce((c,d)=>(c[d]={...this.store.data[d]},c[d]=Object.keys(c[d]).reduce((p,u)=>(p[u]={...c[d][u]},p),c[d]),c),{});s.store=new h5(l,a),s.services.resourceStore=s.store}if(t.interpolation){const c={...P0().interpolation,...this.options.interpolation,...t.interpolation},d={...a,interpolation:c};s.services.interpolator=new y5(d)}return s.translator=new eh(s.services,a),s.translator.on("*",(l,...c)=>{s.emit(l,...c)}),s.init(a,r),s.translator.options=a,s.translator.backendConnector.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},s}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const Or=Ed.createInstance();Or.createInstance;Or.dir;Or.init;Or.loadResources;Or.reloadResources;Or.use;Or.changeLanguage;Or.getFixedT;Or.t;Or.exists;Or.setDefaultNamespace;Or.hasLoadedNamespace;Or.loadNamespaces;Or.loadLanguages;var M0,S5;function lZ(){return S5||(S5=1,M0={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),M0}var cZ=lZ();const dZ=pt(cZ);var uZ=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?("[^"]*"|'[^']*')/g;function C5(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},r=e.match(/<\/?([^\s]+?)[/\s>]/);if(r&&(t.name=r[1],(dZ[r[1]]||e.charAt(e.length-2)==="/")&&(t.voidElement=!0),t.name.startsWith("!--"))){var n=e.indexOf("-->");return{type:"comment",comment:n!==-1?e.slice(4,n):""}}for(var a=new RegExp(uZ),s=null;(s=a.exec(e))!==null;)if(s[0].trim())if(s[1]){var i=s[1].trim(),l=[i,""];i.indexOf("=")>-1&&(l=i.split("=")),t.attrs[l[0]]=l[1],a.lastIndex--}else s[2]&&(t.attrs[s[2]]=s[3].trim().substring(1,s[3].length-1));return t}var pZ=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,mZ=/^\s*$/,hZ=Object.create(null);function yA(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?(function(r){var n=[];for(var a in r)n.push(a+'="'+r[a]+'"');return n.length?" "+n.join(" "):""})(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(yA,"")+"</"+t.name+">";case"comment":return e+"<!--"+t.comment+"-->"}}var fZ={parse:function(e,t){t||(t={}),t.components||(t.components=hZ);var r,n=[],a=[],s=-1,i=!1;if(e.indexOf("<")!==0){var l=e.indexOf("<");n.push({type:"text",content:l===-1?e:e.substring(0,l)})}for(var c,d=[];c=pZ.exec(e);)d.push(c);return d.forEach(function(p,u){var h=p[0];if(h&&!h.startsWith("<!--")){for(var m=0,g=0,b=-1,x=null,v=0;v<h.length;v++){var y=h.charAt(v);x?y===x&&(x=null):y==='"'||y==="'"?x=y:y==="<"?++m==2&&(b=v):y===">"&&g++}var w=b>-1&&/[a-zA-Z0-9\-!/]/.test(h.charAt(b+1));if(m>g&&w){var S=h.substring(0,b),j=h.substring(S.length);d[u][0]=j,d[u].index+=S.length}}}),d.forEach(function(p,u){var h=p[0];if(h){var m=p.index;if(i){if(h!=="</"+r.name+">")return;i=!1}var g,b,x=h.charAt(1)!=="/",v=h.startsWith("<!--"),y=m+h.length,w=e.charAt(y),S=d[u+1];if(w==="<"&&S){var j=e.substring(y,S.index);g=j.split("<").length>j.split(">").length}if(v){var k=C5(h);if(s<0)return n.push(k),n;(b=a[s]).children.push(k);var C=e.slice(y,S?S.index:void 0);return C.length>0&&b.children.push({type:"text",content:C}),n}if(x&&(s++,(r=C5(h)).type==="tag"&&t.components[r.name]&&(r.type="component",i=!0),r.voidElement||i||!w||w==="<"||r.children.push({type:"text",content:e.slice(y,S?S.index:void 0)}),s===0&&n.push(r),(b=a[s-1])&&b.children.push(r),a[s]=r),(!x||r.voidElement)&&(s>-1&&(r.voidElement||r.name===h.slice(2,-1))&&(s--,r=s===-1?n:a[s]),!i&&(w!=="<"||g)&&w)){b=s===-1?n:a[s].children;var E=S?S.index:-1,T=e.slice(y,E===-1?void 0:E);mZ.test(T)&&(T=" "),(E>-1&&s+b.length>=0||T!==" ")&&b.push({type:"text",content:T})}}}),n},stringify:function(e){return e.reduce(function(t,r){return t+yA("",r)},"")}};const dm=(e,t,r,n)=>{const a=[r,{code:t,...n||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(a,"warn","react-i18next::",!0);Yn(a[0])&&(a[0]=`react-i18next:: ${a[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...a):console?.warn&&console.warn(...a)},j5={},eu=(e,t,r,n)=>{Yn(r)&&j5[r]||(Yn(r)&&(j5[r]=new Date),dm(e,t,r,n))},wA=(e,t)=>()=>{if(e.isInitialized)t();else{const r=()=>{setTimeout(()=>{e.off("initialized",r)},0),t()};e.on("initialized",r)}},Lv=(e,t,r)=>{e.loadNamespaces(t,wA(e,r))},N5=(e,t,r,n)=>{if(Yn(r)&&(r=[r]),e.options.preload&&e.options.preload.indexOf(t)>-1)return Lv(e,r,n);r.forEach(a=>{e.options.ns.indexOf(a)<0&&e.options.ns.push(a)}),e.loadLanguages(t,wA(e,n))},gZ=(e,t,r={})=>!t.languages||!t.languages.length?(eu(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:r.lng,precheck:(n,a)=>{if(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&n.services.backendConnector.backend&&n.isLanguageChangingTo&&!a(n.isLanguageChangingTo,e))return!1}}),Yn=e=>typeof e=="string",Ds=e=>typeof e=="object"&&e!==null,bZ=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,xZ={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},vZ=e=>xZ[e],kA=e=>e.replace(bZ,vZ);let $v={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:kA,transDefaultProps:void 0};const yZ=(e={})=>{$v={...$v,...e}},pw=()=>$v;let SA;const wZ=e=>{SA=e},mw=()=>SA,um=(e,t)=>{if(!e)return!1;const r=e.props?.children??e.children;return t?r.length>0:!!r},pm=e=>{if(!e)return[];const t=e.props?.children??e.children;return e.props?.i18nIsDynamicList?xi(t):t},kZ=e=>Array.isArray(e)&&e.every(f.isValidElement),xi=e=>Array.isArray(e)?e:[e],SZ=(e,t)=>{const r={...t};return r.props={...t.props,...e.props},r},CZ=e=>{const t={};if(!e)return t;const r=n=>{xi(n).forEach(s=>{Yn(s)||(um(s)?r(pm(s)):Ds(s)&&!f.isValidElement(s)&&Object.assign(t,s))})};return r(e),t},CA=(e,t,r,n)=>{if(!e)return"";let a="";const s=xi(e),i=t?.transSupportBasicHtmlNodes?t.transKeepBasicHtmlNodesFor??[]:[];return s.forEach((l,c)=>{if(Yn(l)){a+=`${l}`;return}if(f.isValidElement(l)){const{props:d,type:p}=l,u=Object.keys(d).length,h=i.indexOf(p)>-1,m=d.children;if(!m&&h&&!u){a+=`<${p}/>`;return}if(!m&&(!h||u)||d.i18nIsDynamicList){a+=`<${c}></${c}>`;return}if(h&&u===1&&Yn(m)){a+=`<${p}>${m}</${p}>`;return}const g=CA(m,t,r,n);a+=`<${c}>${g}</${c}>`;return}if(l===null){dm(r,"TRANS_NULL_VALUE","Passed in a null value as child",{i18nKey:n});return}if(Ds(l)){const{format:d,...p}=l,u=Object.keys(p);if(u.length===1){const h=d?`${u[0]}, ${d}`:u[0];a+=`{{${h}}}`;return}dm(r,"TRANS_INVALID_OBJ","Invalid child - Object should only have keys {{ value, format }} (format is optional).",{i18nKey:n,child:l});return}dm(r,"TRANS_INVALID_VAR","Passed in a variable like {number} - pass variables for interpolation as full objects like {{number}}.",{i18nKey:n,child:l})}),a},jZ=(e,t=[],r={})=>{if(!e)return e;const n=Object.keys(r),a=[...t,...n];let s="",i=0;for(;i<e.length;)if(e[i]==="<"){let l=!1;const c=e.slice(i).match(/^<\/(\d+|[a-zA-Z][a-zA-Z0-9_-]*)>/);if(c){const d=c[1];(/^\d+$/.test(d)||a.includes(d))&&(l=!0,s+=c[0],i+=c[0].length)}if(!l){const d=e.slice(i).match(/^<(\d+|[a-zA-Z][a-zA-Z0-9_-]*)(\s+[\w-]+(?:=(?:"[^"]*"|'[^']*'|[^\s>]+))?)*\s*(\/)?>/);if(d){const p=d[1];(/^\d+$/.test(p)||a.includes(p))&&(l=!0,s+=d[0],i+=d[0].length)}}l||(s+="&lt;",i+=1)}else s+=e[i],i+=1;return s},NZ=(e,t,r,n,a,s,i)=>{if(r==="")return[];const l=a.transKeepBasicHtmlNodesFor||[],c=r&&new RegExp(l.map(y=>`<${y}`).join("|")).test(r);if(!e&&!t&&!c&&!i)return[r];const d=t??{},p=y=>{xi(y).forEach(S=>{Yn(S)||(um(S)?p(pm(S)):Ds(S)&&!f.isValidElement(S)&&Object.assign(d,S))})};p(e);const u=jZ(r,l,d),h=fZ.parse(`<0>${u}</0>`),m={...d,...s},g=(y,w,S)=>{const j=pm(y),k=x(j,w.children,S);return kZ(j)&&k.length===0||y.props?.i18nIsDynamicList?j:k},b=(y,w,S,j,k)=>{y.dummy?(y.children=w,S.push(f.cloneElement(y,{key:j},k?void 0:w))):S.push(...f.Children.map([y],C=>{const E="data-i18n-is-dynamic-list",T={key:j,[E]:void 0};return C&&C.props&&Object.keys(C.props).forEach(N=>{N==="ref"||N==="children"||N==="i18nIsDynamicList"||N===E||(T[N]=C.props[N])}),f.cloneElement(C,T,k?null:w)}))},x=(y,w,S)=>{const j=xi(y);return xi(w).reduce((C,E,T)=>{const N=E.children?.[0]?.content&&n.services.interpolator.interpolate(E.children[0].content,m,n.language);if(E.type==="tag"){let D=j[parseInt(E.name,10)];!D&&t&&(D=t[E.name]),S.length===1&&!D&&(D=S[0][E.name]),D||(D={});const A={...E.attrs};i&&Object.keys(A).forEach(H=>{const L=A[H];Yn(L)&&(A[H]=kA(L))});const U=Object.keys(A).length!==0?SZ({props:A},D):D,_=f.isValidElement(U),q=_&&um(E,!0)&&!E.voidElement,z=c&&Ds(U)&&U.dummy&&!_,F=Ds(t)&&Object.hasOwnProperty.call(t,E.name);if(Yn(U)){const H=n.services.interpolator.interpolate(U,m,n.language);C.push(H)}else if(um(U)||q){const H=g(U,E,S);b(U,H,C,T)}else if(z){const H=x(j,E.children,S);b(U,H,C,T)}else if(Number.isNaN(parseFloat(E.name)))if(F){const H=g(U,E,S);b(U,H,C,T,E.voidElement)}else if(a.transSupportBasicHtmlNodes&&l.indexOf(E.name)>-1)if(E.voidElement)C.push(f.createElement(E.name,{key:`${E.name}-${T}`}));else{const H=x(j,E.children,S);C.push(f.createElement(E.name,{key:`${E.name}-${T}`},H))}else if(E.voidElement)C.push(`<${E.name} />`);else{const H=x(j,E.children,S);C.push(`<${E.name}>${H}</${E.name}>`)}else if(Ds(U)&&!_){const H=E.children[0]?N:null;H&&C.push(H)}else b(U,N,C,T,E.children.length!==1||!N)}else if(E.type==="text"){const D=a.transWrapTextNodes,A=typeof a.unescape=="function"?a.unescape:pw().unescape,U=i?A(n.services.interpolator.interpolate(E.content,m,n.language)):n.services.interpolator.interpolate(E.content,m,n.language);D?C.push(f.createElement(D,{key:`${E.name}-${T}`},U)):C.push(U)}return C},[])},v=x([{dummy:!0,children:e||[]}],h,xi(e||[]));return pm(v[0])},jA=(e,t,r)=>{const n=e.key||t,a=f.cloneElement(e,{key:n});if(!a.props||!a.props.children||r.indexOf(`${t}/>`)<0&&r.indexOf(`${t} />`)<0)return a;function s(){return f.createElement(f.Fragment,null,a)}return f.createElement(s,{key:n})},TZ=(e,t)=>e.map((r,n)=>jA(r,n,t)),EZ=(e,t)=>{const r={};return Object.keys(e).forEach(n=>{Object.assign(r,{[n]:jA(e[n],n,t)})}),r},AZ=(e,t,r,n)=>e?Array.isArray(e)?TZ(e,t):Ds(e)?EZ(e,t):(eu(r,"TRANS_INVALID_COMPONENTS",'<Trans /> "components" prop expects an object or array',{i18nKey:n}),null):null,_Z=e=>!Ds(e)||Array.isArray(e)?!1:Object.keys(e).reduce((t,r)=>t&&Number.isNaN(Number.parseFloat(r)),!0);function PZ({children:e,count:t,parent:r,i18nKey:n,context:a,tOptions:s={},values:i,defaults:l,components:c,ns:d,i18n:p,t:u,shouldUnescape:h,...m}){const g=p||mw();if(!g)return eu(g,"NO_I18NEXT_INSTANCE","Trans: You need to pass in an i18next instance using i18nextReactModule",{i18nKey:n}),e;const b=u||g.t.bind(g)||(M=>M),x={...pw(),...g.options?.react};let v=d||b.ns||g.options?.defaultNS;v=Yn(v)?[v]:v||["translation"];const{transDefaultProps:y}=x,w=y?.tOptions?{...y.tOptions,...s}:s,S=h??y?.shouldUnescape,j=y?.values?{...y.values,...i}:i,k=y?.components?{...y.components,...c}:c,C=CA(e,x,g,n),E=l||w?.defaultValue||C||x.transEmptyNodeValue||(typeof n=="function"?vi(n):n),{hashTransKey:T}=x,N=n||(T?T(C||E):C||E);g.options?.interpolation?.defaultVariables?i=j&&Object.keys(j).length>0?{...j,...g.options.interpolation.defaultVariables}:{...g.options.interpolation.defaultVariables}:i=j;const D=CZ(e);D&&typeof D.count=="number"&&t===void 0&&(t=D.count);const A=i||t!==void 0&&!g.options?.interpolation?.alwaysFormat||!e?w.interpolation:{interpolation:{...w.interpolation,prefix:"#$?",suffix:"?$#"}},U={...w,context:a||w.context,count:t,...i,...A,defaultValue:E,ns:v};let _=N?b(N,U):E;_===N&&E&&(_=E);const q=AZ(k,_,g,n);let z=q||e,F=null;_Z(q)&&(F=q,z=e);const H=NZ(z,F,_,g,x,U,S),L=r??x.defaultTransParent;return L?f.createElement(L,m,H):H}const MZ={type:"3rdParty",init(e){yZ(e.options.react),wZ(e)}},hw=f.createContext();class IZ{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(r=>{this.usedNamespaces[r]||(this.usedNamespaces[r]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}function DZ({children:e,count:t,parent:r,i18nKey:n,context:a,tOptions:s={},values:i,defaults:l,components:c,ns:d,i18n:p,t:u,shouldUnescape:h,...m}){const{i18n:g,defaultNS:b}=f.useContext(hw)||{},x=p||g||mw(),v=u||x?.t.bind(x);return PZ({children:e,count:t,parent:r,i18nKey:n,context:a,tOptions:s,values:i,defaults:l,components:c,ns:d||v?.ns||b||x?.options?.defaultNS,i18n:x,t:u,shouldUnescape:h,...m})}var I0={exports:{}},D0={};var T5;function RZ(){if(T5)return D0;T5=1;var e=tB();function t(u,h){return u===h&&(u!==0||1/u===1/h)||u!==u&&h!==h}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,a=e.useEffect,s=e.useLayoutEffect,i=e.useDebugValue;function l(u,h){var m=h(),g=n({inst:{value:m,getSnapshot:h}}),b=g[0].inst,x=g[1];return s(function(){b.value=m,b.getSnapshot=h,c(b)&&x({inst:b})},[u,m,h]),a(function(){return c(b)&&x({inst:b}),u(function(){c(b)&&x({inst:b})})},[u]),i(m),m}function c(u){var h=u.getSnapshot;u=u.value;try{var m=h();return!r(u,m)}catch{return!0}}function d(u,h){return h()}var p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?d:l;return D0.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:p,D0}var E5;function zZ(){return E5||(E5=1,I0.exports=RZ()),I0.exports}var LZ=zZ();const $Z=(e,t)=>{if(Yn(t))return t;if(Ds(t)&&Yn(t.defaultValue))return t.defaultValue;if(typeof e=="function")return"";if(Array.isArray(e)){const r=e[e.length-1];return typeof r=="function"?"":r}return e},FZ={t:$Z,ready:!1},OZ=()=>()=>{},Ae=(e,t={})=>{const{i18n:r}=t,{i18n:n,defaultNS:a}=f.useContext(hw)||{},s=r||n||mw();s&&!s.reportNamespaces&&(s.reportNamespaces=new IZ),s||eu(s,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const i=f.useMemo(()=>({...pw(),...s?.options?.react,...t}),[s,t]),{useSuspense:l,keyPrefix:c}=i,d=e||a||s?.options?.defaultNS,p=Yn(d)?[d]:d||["translation"],u=f.useMemo(()=>p,p);s?.reportNamespaces?.addUsedNamespaces?.(u);const h=f.useRef(0),m=f.useCallback(T=>{if(!s)return OZ;const{bindI18n:N,bindI18nStore:D}=i,A=()=>{h.current+=1,T()};return N&&s.on(N,A),D&&s.store.on(D,A),()=>{N&&N.split(" ").forEach(U=>s.off(U,A)),D&&D.split(" ").forEach(U=>s.store.off(U,A))}},[s,i]),g=f.useRef(),b=f.useCallback(()=>{if(!s)return FZ;const T=!!(s.isInitialized||s.initializedStoreOnce)&&u.every(q=>gZ(q,s,i)),N=t.lng||s.language,D=h.current,A=g.current;if(A&&A.ready===T&&A.lng===N&&A.keyPrefix===c&&A.revision===D)return A;const _={t:s.getFixedT(N,i.nsMode==="fallback"?u:u[0],c),ready:T,lng:N,keyPrefix:c,revision:D};return g.current=_,_},[s,u,c,i,t.lng]),[x,v]=f.useState(0),{t:y,ready:w}=LZ.useSyncExternalStore(m,b,b);f.useEffect(()=>{if(s&&!w&&!l){const T=()=>v(N=>N+1);t.lng?N5(s,t.lng,u,T):Lv(s,u,T)}},[s,t.lng,u,w,l,x]);const S=s||{},j=f.useRef(null),k=f.useRef(),C=T=>{const N=Object.getOwnPropertyDescriptors(T);N.__original&&delete N.__original;const D=Object.create(Object.getPrototypeOf(T),N);if(!Object.prototype.hasOwnProperty.call(D,"__original"))try{Object.defineProperty(D,"__original",{value:T,writable:!1,enumerable:!1,configurable:!1})}catch{}return D},E=f.useMemo(()=>{const T=S,N=T?.language;let D=T;T&&(j.current&&j.current.__original===T?k.current!==N?(D=C(T),j.current=D,k.current=N):D=j.current:(D=C(T),j.current=D,k.current=N));const A=!w&&!l?(..._)=>(eu(s,"USE_T_BEFORE_READY","useTranslation: t was called before ready. When using useSuspense: false, make sure to check the ready flag before using t."),y(..._)):y,U=[A,D,w];return U.t=A,U.i18n=D,U.ready=w,U},[y,S,w,S.resolvedLanguage,S.language,S.languages]);if(s&&l&&!w)throw new Promise(T=>{const N=()=>T();t.lng?N5(s,t.lng,u,N):Lv(s,u,N)});return E};function NA({i18n:e,defaultNS:t,children:r}){const n=f.useMemo(()=>({i18n:e,defaultNS:t}),[e,t]);return f.createElement(hw.Provider,{value:n},r)}const Fs="auth-token-refreshed",Os="auth-session-expired",th=e=>typeof e=="string"&&/^[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+$/.test(e),TA=e=>{if(!th(e))return null;try{const t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),r=t.padEnd(t.length+(4-t.length%4)%4,"="),n=JSON.parse(atob(r));return typeof n.iat!="number"||!Number.isFinite(n.iat)||typeof n.exp!="number"||!Number.isFinite(n.exp)?null:{issuedAt:n.iat*1e3,expiresAt:n.exp*1e3}}catch{return null}},BZ=6e4,EA=e=>{const t=TA(e);return t?Date.now()>=t.expiresAt+BZ:!1},A5=e=>{const t=TA(e);if(!t)return null;const r=t.issuedAt+(t.expiresAt-t.issuedAt)/2;return Math.max(0,r-Date.now())},Xh=()=>{localStorage.removeItem("auth-token"),typeof window<"u"&&window.dispatchEvent(new Event(Os))},tu=()=>{const e=localStorage.getItem("auth-token");return e&&EA(e)?(Xh(),null):e},fw=e=>th(e)?(localStorage.setItem("auth-token",e),typeof window<"u"&&window.dispatchEvent(new CustomEvent(Fs,{detail:e})),!0):!1;function AA(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=AA(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function _A(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=AA(e))&&(n&&(n+=" "),n+=t);return n}const UZ=(e,t)=>{const r=new Array(e.length+t.length);for(let n=0;n<e.length;n++)r[n]=e[n];for(let n=0;n<t.length;n++)r[e.length+n]=t[n];return r},HZ=(e,t)=>({classGroupId:e,validator:t}),PA=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),rh="-",_5=[],qZ="arbitrary..",WZ=e=>{const t=GZ(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return VZ(i);const l=i.split(rh),c=l[0]===""&&l.length>1?1:0;return MA(l,c,t)},getConflictingClassGroupIds:(i,l)=>{if(l){const c=n[i],d=r[i];return c?d?UZ(d,c):c:d||_5}return r[i]||_5}}},MA=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;const a=e[t],s=r.nextPart.get(a);if(s){const d=MA(e,t+1,s);if(d)return d}const i=r.validators;if(i===null)return;const l=t===0?e.join(rh):e.slice(t).join(rh),c=i.length;for(let d=0;d<c;d++){const p=i[d];if(p.validator(l))return p.classGroupId}},VZ=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),r=t.indexOf(":"),n=t.slice(0,r);return n?qZ+n:void 0})(),GZ=e=>{const{theme:t,classGroups:r}=e;return KZ(r,t)},KZ=(e,t)=>{const r=PA();for(const n in e){const a=e[n];gw(a,r,n,t)}return r},gw=(e,t,r,n)=>{const a=e.length;for(let s=0;s<a;s++){const i=e[s];YZ(i,t,r,n)}},YZ=(e,t,r,n)=>{if(typeof e=="string"){XZ(e,t,r);return}if(typeof e=="function"){ZZ(e,t,r,n);return}JZ(e,t,r,n)},XZ=(e,t,r)=>{const n=e===""?t:IA(t,e);n.classGroupId=r},ZZ=(e,t,r,n)=>{if(QZ(e)){gw(e(n),t,r,n);return}t.validators===null&&(t.validators=[]),t.validators.push(HZ(r,e))},JZ=(e,t,r,n)=>{const a=Object.entries(e),s=a.length;for(let i=0;i<s;i++){const[l,c]=a[i];gw(c,IA(t,l),r,n)}},IA=(e,t)=>{let r=e;const n=t.split(rh),a=n.length;for(let s=0;s<a;s++){const i=n[s];let l=r.nextPart.get(i);l||(l=PA(),r.nextPart.set(i,l)),r=l}return r},QZ=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,eJ=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null);const a=(s,i)=>{r[s]=i,t++,t>e&&(t=0,n=r,r=Object.create(null))};return{get(s){let i=r[s];if(i!==void 0)return i;if((i=n[s])!==void 0)return a(s,i),i},set(s,i){s in r?r[s]=i:a(s,i)}}},Fv="!",P5=":",tJ=[],M5=(e,t,r,n,a)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:a}),rJ=e=>{const{prefix:t,experimentalParseClassName:r}=e;let n=a=>{const s=[];let i=0,l=0,c=0,d;const p=a.length;for(let b=0;b<p;b++){const x=a[b];if(i===0&&l===0){if(x===P5){s.push(a.slice(c,b)),c=b+1;continue}if(x==="/"){d=b;continue}}x==="["?i++:x==="]"?i--:x==="("?l++:x===")"&&l--}const u=s.length===0?a:a.slice(c);let h=u,m=!1;u.endsWith(Fv)?(h=u.slice(0,-1),m=!0):u.startsWith(Fv)&&(h=u.slice(1),m=!0);const g=d&&d>c?d-c:void 0;return M5(s,m,h,g)};if(t){const a=t+P5,s=n;n=i=>i.startsWith(a)?s(i.slice(a.length)):M5(tJ,!1,i,void 0,!0)}if(r){const a=n;n=s=>r({className:s,parseClassName:a})}return n},nJ=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((r,n)=>{t.set(r,1e6+n)}),r=>{const n=[];let a=[];for(let s=0;s<r.length;s++){const i=r[s],l=i[0]==="[",c=t.has(i);l||c?(a.length>0&&(a.sort(),n.push(...a),a=[]),n.push(i)):a.push(i)}return a.length>0&&(a.sort(),n.push(...a)),n}},aJ=e=>({cache:eJ(e.cacheSize),parseClassName:rJ(e),sortModifiers:nJ(e),postfixLookupClassGroupIds:sJ(e),...WZ(e)}),sJ=e=>{const t=Object.create(null),r=e.postfixLookupClassGroups;if(r)for(let n=0;n<r.length;n++)t[r[n]]=!0;return t},oJ=/\s+/,iJ=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a,sortModifiers:s,postfixLookupClassGroupIds:i}=t,l=[],c=e.trim().split(oJ);let d="";for(let p=c.length-1;p>=0;p-=1){const u=c[p],{isExternal:h,modifiers:m,hasImportantModifier:g,baseClassName:b,maybePostfixModifierPosition:x}=r(u);if(h){d=u+(d.length>0?" "+d:d);continue}let v=!!x,y;if(v){const C=b.substring(0,x);y=n(C);const E=y&&i[y]?n(b):void 0;E&&E!==y&&(y=E,v=!1)}else y=n(b);if(!y){if(!v){d=u+(d.length>0?" "+d:d);continue}if(y=n(b),!y){d=u+(d.length>0?" "+d:d);continue}v=!1}const w=m.length===0?"":m.length===1?m[0]:s(m).join(":"),S=g?w+Fv:w,j=S+y;if(l.indexOf(j)>-1)continue;l.push(j);const k=a(y,v);for(let C=0;C<k.length;++C){const E=k[C];l.push(S+E)}d=u+(d.length>0?" "+d:d)}return d},lJ=(...e)=>{let t=0,r,n,a="";for(;t<e.length;)(r=e[t++])&&(n=DA(r))&&(a&&(a+=" "),a+=n);return a},DA=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=DA(e[n]))&&(r&&(r+=" "),r+=t);return r},cJ=(e,...t)=>{let r,n,a,s;const i=c=>{const d=t.reduce((p,u)=>u(p),e());return r=aJ(d),n=r.cache.get,a=r.cache.set,s=l,l(c)},l=c=>{const d=n(c);if(d)return d;const p=iJ(c,r);return a(c,p),p};return s=i,(...c)=>s(lJ(...c))},dJ=[],Jr=e=>{const t=r=>r[e]||dJ;return t.isThemeGetter=!0,t.themeKey=e,t},RA=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,zA=/^\((?:(\w[\w-]*):)?(.+)\)$/i,uJ=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,pJ=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,mJ=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,hJ=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/,fJ=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,gJ=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,to=e=>uJ.test(e),$t=e=>!!e&&!Number.isNaN(Number(e)),Ga=e=>!!e&&Number.isInteger(Number(e)),R0=e=>e.endsWith("%")&&$t(e.slice(0,-1)),Ss=e=>pJ.test(e),LA=()=>!0,bJ=e=>mJ.test(e)&&!hJ.test(e),bw=()=>!1,xJ=e=>fJ.test(e),vJ=e=>gJ.test(e),yJ=e=>!nt(e)&&!at(e),wJ=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),kJ=e=>zo(e,OA,bw),nt=e=>RA.test(e),Go=e=>zo(e,BA,bJ),I5=e=>zo(e,_J,$t),SJ=e=>zo(e,HA,LA),CJ=e=>zo(e,UA,bw),D5=e=>zo(e,$A,bw),jJ=e=>zo(e,FA,vJ),up=e=>zo(e,qA,xJ),at=e=>zA.test(e),$c=e=>Hi(e,BA),NJ=e=>Hi(e,UA),R5=e=>Hi(e,$A),TJ=e=>Hi(e,OA),EJ=e=>Hi(e,FA),pp=e=>Hi(e,qA,!0),AJ=e=>Hi(e,HA,!0),zo=(e,t,r)=>{const n=RA.exec(e);return n?n[1]?t(n[1]):r(n[2]):!1},Hi=(e,t,r=!1)=>{const n=zA.exec(e);return n?n[1]?t(n[1]):r:!1},$A=e=>e==="position"||e==="percentage",FA=e=>e==="image"||e==="url",OA=e=>e==="length"||e==="size"||e==="bg-size",BA=e=>e==="length",_J=e=>e==="number",UA=e=>e==="family-name",HA=e=>e==="number"||e==="weight",qA=e=>e==="shadow",PJ=()=>{const e=Jr("color"),t=Jr("font"),r=Jr("text"),n=Jr("font-weight"),a=Jr("tracking"),s=Jr("leading"),i=Jr("breakpoint"),l=Jr("container"),c=Jr("spacing"),d=Jr("radius"),p=Jr("shadow"),u=Jr("inset-shadow"),h=Jr("text-shadow"),m=Jr("drop-shadow"),g=Jr("blur"),b=Jr("perspective"),x=Jr("aspect"),v=Jr("ease"),y=Jr("animate"),w=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],j=()=>[...S(),at,nt],k=()=>["auto","hidden","clip","visible","scroll"],C=()=>["auto","contain","none"],E=()=>[at,nt,c],T=()=>[to,"full","auto",...E()],N=()=>[Ga,"none","subgrid",at,nt],D=()=>["auto",{span:["full",Ga,at,nt]},Ga,at,nt],A=()=>[Ga,"auto",at,nt],U=()=>["auto","min","max","fr",at,nt],_=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],q=()=>["start","end","center","stretch","center-safe","end-safe"],z=()=>["auto",...E()],F=()=>[to,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...E()],H=()=>[l,to,"screen","full","dvw","lvw","svw","min","max","fit",...E()],L=()=>[to,"screen","full","lh","dvh","lvh","svh","min","max","fit",...E()],M=()=>[e,at,nt],V=()=>[...S(),R5,D5,{position:[at,nt]}],$=()=>["no-repeat",{repeat:["","x","y","space","round"]}],R=()=>["auto","cover","contain",TJ,kJ,{size:[at,nt]}],X=()=>[R0,$c,Go],W=()=>["","none","full",d,at,nt],Q=()=>["",$t,$c,Go],me=()=>["solid","dashed","dotted","double"],le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],he=()=>[$t,R0,R5,D5],Te=()=>["","none",g,at,nt],Ne=()=>["none",$t,at,nt],Ee=()=>["none",$t,at,nt],je=()=>[$t,at,nt],O=()=>[to,"full",...E()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ss],breakpoint:[Ss],color:[LA],container:[Ss],"drop-shadow":[Ss],ease:["in","out","in-out"],font:[yJ],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ss],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ss],shadow:[Ss],spacing:["px",$t],text:[Ss],"text-shadow":[Ss],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",to,nt,at,x]}],container:["container"],"container-type":[{"@container":["","normal","size",at,nt]}],"container-named":[wJ],columns:[{columns:[$t,"auto",nt,at,l]}],"break-after":[{"break-after":w()}],"break-before":[{"break-before":w()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:j()}],overflow:[{overflow:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:["visible","invisible","collapse"],z:[{z:[Ga,"auto",at,nt]}],basis:[{basis:[to,"full","auto",l,...E()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[$t,to,"auto","initial","none",nt]}],grow:[{grow:["",$t,at,nt]}],shrink:[{shrink:["",$t,at,nt]}],order:[{order:[Ga,"first","last","none",at,nt]}],"grid-cols":[{"grid-cols":N()}],"col-start-end":[{col:D()}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":N()}],"row-start-end":[{row:D()}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":U()}],"auto-rows":[{"auto-rows":U()}],gap:[{gap:E()}],"gap-x":[{"gap-x":E()}],"gap-y":[{"gap-y":E()}],"justify-content":[{justify:[..._(),"normal"]}],"justify-items":[{"justify-items":[...q(),"normal"]}],"justify-self":[{"justify-self":["auto",...q()]}],"align-content":[{content:["normal",..._()]}],"align-items":[{items:[...q(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...q(),{baseline:["","last"]}]}],"place-content":[{"place-content":_()}],"place-items":[{"place-items":[...q(),"baseline"]}],"place-self":[{"place-self":["auto",...q()]}],p:[{p:E()}],px:[{px:E()}],py:[{py:E()}],ps:[{ps:E()}],pe:[{pe:E()}],pbs:[{pbs:E()}],pbe:[{pbe:E()}],pt:[{pt:E()}],pr:[{pr:E()}],pb:[{pb:E()}],pl:[{pl:E()}],m:[{m:z()}],mx:[{mx:z()}],my:[{my:z()}],ms:[{ms:z()}],me:[{me:z()}],mbs:[{mbs:z()}],mbe:[{mbe:z()}],mt:[{mt:z()}],mr:[{mr:z()}],mb:[{mb:z()}],ml:[{ml:z()}],"space-x":[{"space-x":E()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":E()}],"space-y-reverse":["space-y-reverse"],size:[{size:F()}],"inline-size":[{inline:["auto",...H()]}],"min-inline-size":[{"min-inline":["auto",...H()]}],"max-inline-size":[{"max-inline":["none",...H()]}],"block-size":[{block:["auto",...L()]}],"min-block-size":[{"min-block":["auto",...L()]}],"max-block-size":[{"max-block":["none",...L()]}],w:[{w:[l,"screen",...F()]}],"min-w":[{"min-w":[l,"screen","none",...F()]}],"max-w":[{"max-w":[l,"screen","none","prose",{screen:[i]},...F()]}],h:[{h:["screen","lh",...F()]}],"min-h":[{"min-h":["screen","lh","none",...F()]}],"max-h":[{"max-h":["screen","lh","none",...F()]}],"font-size":[{text:["base",r,$c,Go]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,AJ,SJ]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",R0,nt]}],"font-family":[{font:[NJ,CJ,t]}],"font-features":[{"font-features":[nt]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,at,nt]}],"line-clamp":[{"line-clamp":[$t,"none",at,I5]}],leading:[{leading:["none",s,...E()]}],"list-image":[{"list-image":["none",at,nt]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",at,nt]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:M()}],"text-color":[{text:M()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...me(),"wavy"]}],"text-decoration-thickness":[{decoration:[$t,"from-font","auto",at,Go]}],"text-decoration-color":[{decoration:M()}],"underline-offset":[{"underline-offset":[$t,"auto",at,nt]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:E()}],"tab-size":[{tab:[Ga,at,nt]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",at,nt]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",at,nt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:V()}],"bg-repeat":[{bg:$()}],"bg-size":[{bg:R()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ga,at,nt],radial:["",at,nt],conic:["",Ga,at,nt]},EJ,jJ]}],"bg-color":[{bg:M()}],"gradient-from-pos":[{from:X()}],"gradient-via-pos":[{via:X()}],"gradient-to-pos":[{to:X()}],"gradient-from":[{from:M()}],"gradient-via":[{via:M()}],"gradient-to":[{to:M()}],rounded:[{rounded:W()}],"rounded-s":[{"rounded-s":W()}],"rounded-e":[{"rounded-e":W()}],"rounded-t":[{"rounded-t":W()}],"rounded-r":[{"rounded-r":W()}],"rounded-b":[{"rounded-b":W()}],"rounded-l":[{"rounded-l":W()}],"rounded-ss":[{"rounded-ss":W()}],"rounded-se":[{"rounded-se":W()}],"rounded-ee":[{"rounded-ee":W()}],"rounded-es":[{"rounded-es":W()}],"rounded-tl":[{"rounded-tl":W()}],"rounded-tr":[{"rounded-tr":W()}],"rounded-br":[{"rounded-br":W()}],"rounded-bl":[{"rounded-bl":W()}],"border-w":[{border:Q()}],"border-w-x":[{"border-x":Q()}],"border-w-y":[{"border-y":Q()}],"border-w-s":[{"border-s":Q()}],"border-w-e":[{"border-e":Q()}],"border-w-bs":[{"border-bs":Q()}],"border-w-be":[{"border-be":Q()}],"border-w-t":[{"border-t":Q()}],"border-w-r":[{"border-r":Q()}],"border-w-b":[{"border-b":Q()}],"border-w-l":[{"border-l":Q()}],"divide-x":[{"divide-x":Q()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Q()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...me(),"hidden","none"]}],"divide-style":[{divide:[...me(),"hidden","none"]}],"border-color":[{border:M()}],"border-color-x":[{"border-x":M()}],"border-color-y":[{"border-y":M()}],"border-color-s":[{"border-s":M()}],"border-color-e":[{"border-e":M()}],"border-color-bs":[{"border-bs":M()}],"border-color-be":[{"border-be":M()}],"border-color-t":[{"border-t":M()}],"border-color-r":[{"border-r":M()}],"border-color-b":[{"border-b":M()}],"border-color-l":[{"border-l":M()}],"divide-color":[{divide:M()}],"outline-style":[{outline:[...me(),"none","hidden"]}],"outline-offset":[{"outline-offset":[$t,at,nt]}],"outline-w":[{outline:["",$t,$c,Go]}],"outline-color":[{outline:M()}],shadow:[{shadow:["","inner","none",p,pp,up]}],"shadow-color":[{shadow:M()}],"inset-shadow":[{"inset-shadow":["none",u,pp,up]}],"inset-shadow-color":[{"inset-shadow":M()}],"ring-w":[{ring:Q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:M()}],"ring-offset-w":[{"ring-offset":[$t,Go]}],"ring-offset-color":[{"ring-offset":M()}],"inset-ring-w":[{"inset-ring":Q()}],"inset-ring-color":[{"inset-ring":M()}],"text-shadow":[{"text-shadow":["none",h,pp,up]}],"text-shadow-color":[{"text-shadow":M()}],opacity:[{opacity:[$t,at,nt]}],"mix-blend":[{"mix-blend":[...le(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":le()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[$t]}],"mask-image-linear-from-pos":[{"mask-linear-from":he()}],"mask-image-linear-to-pos":[{"mask-linear-to":he()}],"mask-image-linear-from-color":[{"mask-linear-from":M()}],"mask-image-linear-to-color":[{"mask-linear-to":M()}],"mask-image-t-from-pos":[{"mask-t-from":he()}],"mask-image-t-to-pos":[{"mask-t-to":he()}],"mask-image-t-from-color":[{"mask-t-from":M()}],"mask-image-t-to-color":[{"mask-t-to":M()}],"mask-image-r-from-pos":[{"mask-r-from":he()}],"mask-image-r-to-pos":[{"mask-r-to":he()}],"mask-image-r-from-color":[{"mask-r-from":M()}],"mask-image-r-to-color":[{"mask-r-to":M()}],"mask-image-b-from-pos":[{"mask-b-from":he()}],"mask-image-b-to-pos":[{"mask-b-to":he()}],"mask-image-b-from-color":[{"mask-b-from":M()}],"mask-image-b-to-color":[{"mask-b-to":M()}],"mask-image-l-from-pos":[{"mask-l-from":he()}],"mask-image-l-to-pos":[{"mask-l-to":he()}],"mask-image-l-from-color":[{"mask-l-from":M()}],"mask-image-l-to-color":[{"mask-l-to":M()}],"mask-image-x-from-pos":[{"mask-x-from":he()}],"mask-image-x-to-pos":[{"mask-x-to":he()}],"mask-image-x-from-color":[{"mask-x-from":M()}],"mask-image-x-to-color":[{"mask-x-to":M()}],"mask-image-y-from-pos":[{"mask-y-from":he()}],"mask-image-y-to-pos":[{"mask-y-to":he()}],"mask-image-y-from-color":[{"mask-y-from":M()}],"mask-image-y-to-color":[{"mask-y-to":M()}],"mask-image-radial":[{"mask-radial":[at,nt]}],"mask-image-radial-from-pos":[{"mask-radial-from":he()}],"mask-image-radial-to-pos":[{"mask-radial-to":he()}],"mask-image-radial-from-color":[{"mask-radial-from":M()}],"mask-image-radial-to-color":[{"mask-radial-to":M()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":S()}],"mask-image-conic-pos":[{"mask-conic":[$t]}],"mask-image-conic-from-pos":[{"mask-conic-from":he()}],"mask-image-conic-to-pos":[{"mask-conic-to":he()}],"mask-image-conic-from-color":[{"mask-conic-from":M()}],"mask-image-conic-to-color":[{"mask-conic-to":M()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:V()}],"mask-repeat":[{mask:$()}],"mask-size":[{mask:R()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",at,nt]}],filter:[{filter:["","none",at,nt]}],blur:[{blur:Te()}],brightness:[{brightness:[$t,at,nt]}],contrast:[{contrast:[$t,at,nt]}],"drop-shadow":[{"drop-shadow":["","none",m,pp,up]}],"drop-shadow-color":[{"drop-shadow":M()}],grayscale:[{grayscale:["",$t,at,nt]}],"hue-rotate":[{"hue-rotate":[$t,at,nt]}],invert:[{invert:["",$t,at,nt]}],saturate:[{saturate:[$t,at,nt]}],sepia:[{sepia:["",$t,at,nt]}],"backdrop-filter":[{"backdrop-filter":["","none",at,nt]}],"backdrop-blur":[{"backdrop-blur":Te()}],"backdrop-brightness":[{"backdrop-brightness":[$t,at,nt]}],"backdrop-contrast":[{"backdrop-contrast":[$t,at,nt]}],"backdrop-grayscale":[{"backdrop-grayscale":["",$t,at,nt]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[$t,at,nt]}],"backdrop-invert":[{"backdrop-invert":["",$t,at,nt]}],"backdrop-opacity":[{"backdrop-opacity":[$t,at,nt]}],"backdrop-saturate":[{"backdrop-saturate":[$t,at,nt]}],"backdrop-sepia":[{"backdrop-sepia":["",$t,at,nt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":E()}],"border-spacing-x":[{"border-spacing-x":E()}],"border-spacing-y":[{"border-spacing-y":E()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",at,nt]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[$t,"initial",at,nt]}],ease:[{ease:["linear","initial",v,at,nt]}],delay:[{delay:[$t,at,nt]}],animate:[{animate:["none",y,at,nt]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[b,at,nt]}],"perspective-origin":[{"perspective-origin":j()}],rotate:[{rotate:Ne()}],"rotate-x":[{"rotate-x":Ne()}],"rotate-y":[{"rotate-y":Ne()}],"rotate-z":[{"rotate-z":Ne()}],scale:[{scale:Ee()}],"scale-x":[{"scale-x":Ee()}],"scale-y":[{"scale-y":Ee()}],"scale-z":[{"scale-z":Ee()}],"scale-3d":["scale-3d"],skew:[{skew:je()}],"skew-x":[{"skew-x":je()}],"skew-y":[{"skew-y":je()}],transform:[{transform:[at,nt,"","none","gpu","cpu"]}],"transform-origin":[{origin:j()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:O()}],"translate-x":[{"translate-x":O()}],"translate-y":[{"translate-y":O()}],"translate-z":[{"translate-z":O()}],"translate-none":["translate-none"],zoom:[{zoom:[Ga,at,nt]}],accent:[{accent:M()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:M()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",at,nt]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":M()}],"scrollbar-track-color":[{"scrollbar-track":M()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":E()}],"scroll-mx":[{"scroll-mx":E()}],"scroll-my":[{"scroll-my":E()}],"scroll-ms":[{"scroll-ms":E()}],"scroll-me":[{"scroll-me":E()}],"scroll-mbs":[{"scroll-mbs":E()}],"scroll-mbe":[{"scroll-mbe":E()}],"scroll-mt":[{"scroll-mt":E()}],"scroll-mr":[{"scroll-mr":E()}],"scroll-mb":[{"scroll-mb":E()}],"scroll-ml":[{"scroll-ml":E()}],"scroll-p":[{"scroll-p":E()}],"scroll-px":[{"scroll-px":E()}],"scroll-py":[{"scroll-py":E()}],"scroll-ps":[{"scroll-ps":E()}],"scroll-pe":[{"scroll-pe":E()}],"scroll-pbs":[{"scroll-pbs":E()}],"scroll-pbe":[{"scroll-pbe":E()}],"scroll-pt":[{"scroll-pt":E()}],"scroll-pr":[{"scroll-pr":E()}],"scroll-pb":[{"scroll-pb":E()}],"scroll-pl":[{"scroll-pl":E()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",at,nt]}],fill:[{fill:["none",...M()]}],"stroke-w":[{stroke:[$t,$c,Go,I5]}],stroke:[{stroke:["none",...M()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["start","end","right","left"],"inset-y":["inset-bs","inset-be","top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["ps","pe","pr","pl"],py:["pbs","pbe","pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["ms","me","mr","ml"],my:["mbs","mbe","mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-s","border-w-e","border-w-r","border-w-l"],"border-w-y":["border-w-bs","border-w-be","border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-s","border-color-e","border-color-r","border-color-l"],"border-color-y":["border-color-bs","border-color-be","border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-ms","scroll-me","scroll-mr","scroll-ml"],"scroll-my":["scroll-mbs","scroll-mbe","scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-ps","scroll-pe","scroll-pr","scroll-pl"],"scroll-py":["scroll-pbs","scroll-pbe","scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},MJ=cJ(PJ);const IJ=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),DJ=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,n)=>n?n.toUpperCase():r.toLowerCase()),z5=e=>{const t=DJ(e);return t.charAt(0).toUpperCase()+t.slice(1)},WA=(...e)=>e.filter((t,r,n)=>!!t&&t.trim()!==""&&n.indexOf(t)===r).join(" ").trim(),RJ=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};var zJ={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const LJ=f.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:a="",children:s,iconNode:i,...l},c)=>f.createElement("svg",{ref:c,...zJ,width:t,height:t,stroke:e,strokeWidth:n?Number(r)*24/Number(t):r,className:WA("lucide",a),...!s&&!RJ(l)&&{"aria-hidden":"true"},...l},[...i.map(([d,p])=>f.createElement(d,p)),...Array.isArray(s)?s:[s]]));const ke=(e,t)=>{const r=f.forwardRef(({className:n,...a},s)=>f.createElement(LJ,{ref:s,iconNode:t,className:WA(`lucide-${IJ(z5(e))}`,`lucide-${e}`,n),...a}));return r.displayName=z5(e),r};const $J=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],$a=ke("activity",$J);const FJ=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]],Ja=ke("archive",FJ);const OJ=[["path",{d:"M12 17V3",key:"1cwfxf"}],["path",{d:"m6 11 6 6 6-6",key:"12ii2o"}],["path",{d:"M19 21H5",key:"150jfl"}]],VA=ke("arrow-down-to-line",OJ);const BJ=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],xw=ke("arrow-down",BJ);const UJ=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],GA=ke("arrow-left",UJ);const HJ=[["path",{d:"m16 3 4 4-4 4",key:"1x1c3m"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"m8 21-4-4 4-4",key:"h9nckh"}],["path",{d:"M4 17h16",key:"g4d7ey"}]],qJ=ke("arrow-right-left",HJ);const WJ=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Zh=ke("arrow-right",WJ);const VJ=[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]],GJ=ke("arrow-up-down",VJ);const KJ=[["path",{d:"m18 9-6-6-6 6",key:"kcunyi"}],["path",{d:"M12 3v14",key:"7cf3v8"}],["path",{d:"M5 21h14",key:"11awu3"}]],YJ=ke("arrow-up-from-line",KJ);const XJ=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],vw=ke("arrow-up",XJ);const ZJ=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],KA=ke("badge-check",ZJ);const JJ=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M17 17H4a1 1 0 0 1-.74-1.673C4.59 13.956 6 12.499 6 8a6 6 0 0 1 .258-1.742",key:"178tsu"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M8.668 3.01A6 6 0 0 1 18 8c0 2.687.77 4.653 1.707 6.05",key:"1hqiys"}]],L5=ke("bell-off",JJ);const QJ=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M22 8c0-2.3-.8-4.3-2-6",key:"5bb3ad"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}],["path",{d:"M4 2C2.8 3.7 2 5.7 2 8",key:"tap9e0"}]],$5=ke("bell-ring",QJ);const eQ=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]],yw=ke("bell",eQ);const tQ=[["rect",{x:"14",y:"14",width:"4",height:"6",rx:"2",key:"p02svl"}],["rect",{x:"6",y:"4",width:"4",height:"6",rx:"2",key:"xm4xkj"}],["path",{d:"M6 20h4",key:"1i6q5t"}],["path",{d:"M14 10h4",key:"ru81e7"}],["path",{d:"M6 14h2v6",key:"16z9wg"}],["path",{d:"M14 4h2v6",key:"1idq9u"}]],sl=ke("binary",tQ);const rQ=[["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["path",{d:"M10 21V8a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H3",key:"1fpvtg"}]],nQ=ke("blocks",rQ);const aQ=[["path",{d:"M10 2v8l3-3 3 3V2",key:"sqw3rj"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]],sQ=ke("book-marked",aQ);const oQ=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],Ov=ke("book-open",oQ);const iQ=[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]],Gl=ke("bot",iQ);const lQ=[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]],id=ke("box",lQ);const cQ=[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]],yi=ke("braces",cQ);const dQ=[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",key:"ep3f8r"}],["path",{d:"M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",key:"1p4c4q"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}]],ww=ke("brain",dQ);const uQ=[["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M9 7.13v-1a3.003 3.003 0 1 1 6 0v1",key:"d7y7pr"}],["path",{d:"M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6",key:"xs1cw7"}],["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M6.53 9C4.6 8.8 3 7.1 3 5",key:"32zzws"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"M3 21c0-2.1 1.7-3.9 3.8-4",key:"4p0ekp"}],["path",{d:"M20.97 5c0 2.1-1.6 3.8-3.5 4",key:"18gb23"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M17.2 17c2.1.1 3.8 1.9 3.8 4",key:"k3fwyw"}]],Bv=ke("bug",uQ);const pQ=[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["line",{x1:"8",x2:"16",y1:"6",y2:"6",key:"x4nwl0"}],["line",{x1:"16",x2:"16",y1:"14",y2:"18",key:"wjye3r"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M8 18h.01",key:"lrp35t"}]],mQ=ke("calculator",pQ);const hQ=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],Uv=ke("chart-column",hQ);const fQ=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],kr=ke("check",fQ);const gQ=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],fn=ke("chevron-down",gQ);const bQ=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],ju=ke("chevron-left",bQ);const xQ=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Br=ke("chevron-right",xQ);const vQ=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],yQ=ke("chevron-up",vQ);const wQ=[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]],kQ=ke("chevrons-up-down",wQ);const SQ=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],Lo=ke("circle-alert",SQ);const CQ=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 12-4-4-4 4",key:"177agl"}],["path",{d:"M12 16V8",key:"1sbj14"}]],F5=ke("circle-arrow-up",CQ);const jQ=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Jh=ke("circle-check-big",jQ);const NQ=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],kw=ke("circle-check",NQ);const TQ=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],YA=ke("circle-help",TQ);const EQ=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],ru=ke("circle",EQ);const AQ=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m9 14 2 2 4-4",key:"df797q"}]],_Q=ke("clipboard-check",AQ);const PQ=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],MQ=ke("clipboard-list",PQ);const IQ=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]],DQ=ke("clipboard",IQ);const RQ=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16.5 12",key:"1aq6pp"}]],zQ=ke("clock-3",RQ);const LQ=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]],Nu=ke("clock",LQ);const $Q=[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],mm=ke("code-xml",$Q);const FQ=[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]],O5=ke("coffee",FQ);const OQ=[["path",{d:"M12 20a8 8 0 1 0 0-16 8 8 0 0 0 0 16Z",key:"sobvz5"}],["path",{d:"M12 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z",key:"11i496"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 22v-2",key:"1osdcq"}],["path",{d:"m17 20.66-1-1.73",key:"eq3orb"}],["path",{d:"M11 10.27 7 3.34",key:"16pf9h"}],["path",{d:"m20.66 17-1.73-1",key:"sg0v6f"}],["path",{d:"m3.34 7 1.73 1",key:"1ulond"}],["path",{d:"M14 12h8",key:"4f43i9"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"m20.66 7-1.73 1",key:"1ow05n"}],["path",{d:"m3.34 17 1.73-1",key:"nuk764"}],["path",{d:"m17 3.34-1 1.73",key:"2wel8s"}],["path",{d:"m11 13.73-4 6.93",key:"794ttg"}]],ld=ke("cog",OQ);const BQ=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 3v18",key:"108xh3"}]],UQ=ke("columns-2",BQ);const HQ=[["circle",{cx:"8",cy:"8",r:"6",key:"3yglwk"}],["path",{d:"M18.09 10.37A6 6 0 1 1 10.34 18",key:"t5s6rm"}],["path",{d:"M7 6h1v4",key:"1obek4"}],["path",{d:"m16.71 13.88.7.71-2.82 2.82",key:"1rbuyh"}]],XA=ke("coins",HQ);const qQ=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],Pi=ke("copy",qQ);const WQ=[["path",{d:"M20 4v7a4 4 0 0 1-4 4H4",key:"6o5b7l"}],["path",{d:"m9 10-5 5 5 5",key:"1kshq7"}]],VQ=ke("corner-down-left",WQ);const GQ=[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]],li=ke("cpu",GQ);const KQ=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],YQ=ke("database",KQ);const XQ=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],Ha=ke("download",XQ);const ZQ=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],ZA=ke("ellipsis",ZQ);const JQ=[["path",{d:"m15 15 6 6",key:"1s409w"}],["path",{d:"m15 9 6-6",key:"ko1vev"}],["path",{d:"M21 16v5h-5",key:"1ck2sf"}],["path",{d:"M21 8V3h-5",key:"1qoq8a"}],["path",{d:"M3 16v5h5",key:"1t08am"}],["path",{d:"m3 21 6-6",key:"wwnumi"}],["path",{d:"M3 8V3h5",key:"1ln10m"}],["path",{d:"M9 9 3 3",key:"v551iv"}]],QQ=ke("expand",JQ);const eee=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],Qh=ke("external-link",eee);const tee=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],Bs=ke("eye",tee);const ree=[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],nu=ke("eye-off",ree);const nee=[["path",{d:"M10 12v-1",key:"v7bkov"}],["path",{d:"M10 18v-2",key:"1cjy8d"}],["path",{d:"M10 7V6",key:"dljcrl"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M15.5 22H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v16a2 2 0 0 0 .274 1.01",key:"gkbcor"}],["circle",{cx:"10",cy:"20",r:"2",key:"1xzdoj"}]],aee=ke("file-archive",nee);const see=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]],Hv=ke("file-check",see);const oee=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m5 12-3 3 3 3",key:"oke12k"}],["path",{d:"m9 18 3-3-3-3",key:"112psh"}]],ci=ke("file-code-2",oee);const iee=[["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z",key:"1mlx9k"}]],wl=ke("file-code",iee);const lee=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M8 13h2",key:"yr2amv"}],["path",{d:"M14 13h2",key:"un5t4a"}],["path",{d:"M8 17h2",key:"2yhykz"}],["path",{d:"M14 17h2",key:"10kma7"}]],B5=ke("file-spreadsheet",lee);const cee=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],hr=ke("file-text",cee);const dee=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M9 13v-1h6v1",key:"1bb014"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"M11 18h2",key:"12mj7e"}]],Fc=ke("file-type",dee);const uee=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"m15 15-3-3-3 3",key:"15xj92"}]],z0=ke("file-up",uee);const pee=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}]],ef=ke("file",pee);const mee=[["path",{d:"M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z",key:"i9b6wo"}],["line",{x1:"4",x2:"4",y1:"22",y2:"15",key:"1cm3nv"}]],hee=ke("flag",mee);const fee=[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]],qv=ke("flame",fee);const gee=[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2",key:"18mbvz"}],["path",{d:"M6.453 15h11.094",key:"3shlmq"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]],bee=ke("flask-conical",gee);const xee=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],Kl=ke("folder-open",xee);const vee=[["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"M9 13h6",key:"1uhe8q"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],Yl=ke("folder-plus",vee);const yee=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"m9 13 3-3 3 3",key:"1pxg3c"}]],U5=ke("folder-up",yee);const wee=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],ya=ke("folder",wee);const kee=[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]],See=ke("funnel",kee);const Cee=[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]],Sw=ke("gauge",Cee);const jee=[["path",{d:"M6 3h12l4 6-10 13L2 9Z",key:"1pcd5k"}],["path",{d:"M11 3 8 9l4 13 4-13-3-6",key:"1fcu3u"}],["path",{d:"M2 9h20",key:"16fsjt"}]],Wv=ke("gem",jee);const Nee=[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]],gn=ke("git-branch",Nee);const Tee=[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["line",{x1:"3",x2:"9",y1:"12",y2:"12",key:"1dyftd"}],["line",{x1:"15",x2:"21",y1:"12",y2:"12",key:"oup4p8"}]],nh=ke("git-commit-horizontal",Tee);const Eee=[["circle",{cx:"12",cy:"18",r:"3",key:"1mpf1b"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["path",{d:"M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9",key:"1uq4wg"}],["path",{d:"M12 12v3",key:"158kv8"}]],tf=ke("git-fork",Eee);const Aee=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]],Cw=ke("git-merge",Aee);const _ee=[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]],JA=ke("github",_ee);const Pee=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],Mi=ke("globe",Pee);const Mee=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]],Iee=ke("grid-3x3",Mee);const Dee=[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]],Ree=ke("grip-vertical",Dee);const zee=[["path",{d:"M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2",key:"1fvzgz"}],["path",{d:"M14 10V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2",key:"1kc0my"}],["path",{d:"M10 10.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8",key:"10h0bg"}],["path",{d:"M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15",key:"1s1gnw"}]],Lee=ke("hand",zee);const $ee=[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]],Pl=ke("hash",$ee);const Fee=[["path",{d:"M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z",key:"yt0hxn"}]],cd=ke("hexagon",Fee);const Oee=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]],QA=ke("history",Oee);const Bee=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]],Uee=ke("house",Bee);const Hee=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],ro=ke("image",Hee);const qee=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],e_=ke("info",qee);const Wee=[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]],Vee=ke("key-round",Wee);const Gee=[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]],jw=ke("key",Gee);const Kee=[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]],t_=ke("languages",Kee);const Yee=[["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}],["path",{d:"M13 6h8",key:"15sg57"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 18h8",key:"oe0vm4"}]],r_=ke("list-checks",Yee);const Xee=[["rect",{x:"3",y:"5",width:"6",height:"6",rx:"1",key:"1defrl"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"M13 6h8",key:"15sg57"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 18h8",key:"oe0vm4"}]],Zee=ke("list-todo",Xee);const Jee=[["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 18h.01",key:"1tta3j"}],["path",{d:"M3 6h.01",key:"1rqtza"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 18h13",key:"1lx6n3"}],["path",{d:"M8 6h13",key:"ik3vkj"}]],ah=ke("list",Jee);const Qee=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],It=ke("loader-circle",Qee);const ete=[["circle",{cx:"12",cy:"16",r:"1",key:"1au0dj"}],["rect",{x:"3",y:"10",width:"18",height:"12",rx:"2",key:"6s8ecr"}],["path",{d:"M7 10V7a5 5 0 0 1 10 0v3",key:"1pqi11"}]],tte=ke("lock-keyhole",ete);const rte=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],Ia=ke("lock",rte);const nte=[["path",{d:"m10 17 5-5-5-5",key:"1bsop3"}],["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}]],n_=ke("log-in",nte);const ate=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],ste=ke("mail",ate);const ote=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]],a_=ke("maximize-2",ote);const ite=[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}],["path",{d:"M12 7v6",key:"lw1j43"}],["path",{d:"M9 10h6",key:"9gxzsh"}]],lte=ke("message-square-plus",ite);const cte=[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}],["path",{d:"M13 8H7",key:"14i4kc"}],["path",{d:"M17 12H7",key:"16if0g"}]],dte=ke("message-square-text",cte);const ute=[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]],ls=ke("message-square",ute);const pte=[["path",{d:"M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z",key:"131961"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}]],Nw=ke("mic",pte);const mte=[["path",{d:"m14 10 7-7",key:"oa77jy"}],["path",{d:"M20 10h-6V4",key:"mjg0md"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M4 14h6v6",key:"rmj7iw"}]],s_=ke("minimize-2",mte);const hte=[["path",{d:"M5 12h14",key:"1ays0h"}]],fte=ke("minus",hte);const gte=[["path",{d:"M10 7.75a.75.75 0 0 1 1.142-.638l3.664 2.249a.75.75 0 0 1 0 1.278l-3.664 2.25a.75.75 0 0 1-1.142-.64z",key:"1pctta"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",key:"x3v2xh"}]],$l=ke("monitor-play",gte);const bte=[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]],Tw=ke("moon",bte);const xte=[["circle",{cx:"8",cy:"18",r:"4",key:"1fc0mg"}],["path",{d:"M12 18V2l7 4",key:"g04rme"}]],ol=ke("music-2",xte);const vte=[["path",{d:"M13.4 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7.4",key:"re6nr2"}],["path",{d:"M2 6h4",key:"aawbzj"}],["path",{d:"M2 10h4",key:"l0bgd4"}],["path",{d:"M2 14h4",key:"1gsvsf"}],["path",{d:"M2 18h4",key:"1bu2t1"}],["path",{d:"M21.378 5.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"pqwjuv"}]],yte=ke("notebook-pen",vte);const wte=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]],kte=ke("package",wte);const Ste=[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]],Ew=ke("palette",Ste);const Cte=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]],jte=ke("panel-left-close",Cte);const Nte=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]],Tte=ke("panel-left-open",Nte);const Ete=[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]],Ate=ke("paperclip",Ete);const _te=[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]],o_=ke("pause",_te);const Pte=[["path",{d:"M12 20h9",key:"t2du7b"}],["path",{d:"M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z",key:"1ykcvy"}]],Vv=ke("pen-line",Pte);const Mte=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],i_=ke("pen",Mte);const Ite=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],Xl=ke("pencil",Ite);const Dte=[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]],l_=ke("play",Dte);const Rte=[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M9 8V2",key:"14iosj"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z",key:"osxo6l"}]],zte=ke("plug",Rte);const Lte=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Sr=ke("plus",Lte);const $te=[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]],Fte=ke("puzzle",$te);const Ote=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],Dr=ke("refresh-cw",Ote);const Bte=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],Zl=ke("rotate-ccw",Bte);const Ute=[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]],rf=ke("save",Ute);const Hte=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"m16 16-1.9-1.9",key:"1dq9hf"}]],H5=ke("scan-search",Hte);const qte=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["path",{d:"M7 8h8",key:"1jbsf9"}],["path",{d:"M7 12h10",key:"b7w52i"}],["path",{d:"M7 16h6",key:"1vyc9m"}]],Wte=ke("scan-text",qte);const Vte=[["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",key:"1ph1d7"}]],Gv=ke("scroll",Vte);const Gte=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Xn=ke("search",Gte);const Kte=[["path",{d:"M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z",key:"117uat"}],["path",{d:"M6 12h16",key:"s4cdu5"}]],Yte=ke("send-horizontal",Kte);const Xte=[["path",{d:"M6 10H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-2",key:"4b9dqc"}],["path",{d:"M6 14H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-2",key:"22nnkd"}],["path",{d:"M6 6h.01",key:"1utrut"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"m13 6-4 6h6l-4 6",key:"14hqih"}]],Zte=ke("server-crash",Xte);const Jte=[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]],sh=ke("server",Jte);const Qte=[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],nr=ke("settings",Qte);const ere=[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]],tre=ke("settings-2",ere);const rre=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]],c_=ke("shield-alert",rre);const nre=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],oh=ke("shield-check",nre);const are=[["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M5 5a1 1 0 0 0-1 1v7c0 5 3.5 7.5 7.67 8.94a1 1 0 0 0 .67.01c2.35-.82 4.48-1.97 5.9-3.71",key:"1jlk70"}],["path",{d:"M9.309 3.652A12.252 12.252 0 0 0 11.24 2.28a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1v7a9.784 9.784 0 0 1-.08 1.264",key:"18rp1v"}]],d_=ke("shield-off",are);const sre=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3",key:"mhlwft"}],["path",{d:"M12 17h.01",key:"p32p05"}]],ore=ke("shield-question",sre);const ire=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],za=ke("shield",ire);const lre=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 14s1.5 2 4 2 4-2 4-2",key:"1y1vjs"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]],cre=ke("smile",lre);const dre=[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]],Eo=ke("sparkles",dre);const ure=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["path",{d:"M9 17c2 0 2.8-1 2.8-2.8V10c0-2 1-3.3 3.2-3",key:"m1af9g"}],["path",{d:"M9 11.2h5.7",key:"3zgcl2"}]],pre=ke("square-function",ure);const mre=[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]],hre=ke("square-pen",mre);const fre=[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]],ih=ke("square-terminal",fre);const gre=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],au=ke("square",gre);const bre=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],u_=ke("star",bre);const xre=[["path",{d:"M12 8a2.83 2.83 0 0 0 4 4 4 4 0 1 1-4-4",key:"1fu5g2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.9 4.9 1.4 1.4",key:"b9915j"}],["path",{d:"m17.7 17.7 1.4 1.4",key:"qc3ed3"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.3 17.7-1.4 1.4",key:"5gca6"}],["path",{d:"m19.1 4.9-1.4 1.4",key:"wpu9u6"}]],vre=ke("sun-moon",xre);const yre=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],Aw=ke("sun",yre);const wre=[["path",{d:"M15 3v18",key:"14nvp0"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M21 9H3",key:"1338ky"}],["path",{d:"M21 15H3",key:"9uk58r"}]],kre=ke("table-properties",wre);const Sre=[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]],Cre=ke("tag",Sre);const jre=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],Nre=ke("target",jre);const Tre=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],_n=ke("terminal",Tre);const Ere=[["line",{x1:"10",x2:"14",y1:"2",y2:"2",key:"14vaq8"}],["line",{x1:"12",x2:"15",y1:"14",y2:"11",key:"17fdiu"}],["circle",{cx:"12",cy:"14",r:"8",key:"1e1u0o"}]],Are=ke("timer",Ere);const _re=[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]],Cr=ke("trash-2",_re);const Pre=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],On=ke("triangle-alert",Pre);const Mre=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],cs=ke("upload",Mre);const Ire=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],nf=ke("user",Ire);const Dre=[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]],Oc=ke("video",Dre);const Rre=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]],p_=ke("volume-2",Rre);const zre=[["rect",{width:"8",height:"8",x:"3",y:"3",rx:"2",key:"by2w9f"}],["path",{d:"M7 11v4a2 2 0 0 0 2 2h4",key:"xkn7yn"}],["rect",{width:"8",height:"8",x:"13",y:"13",rx:"2",key:"1cgmvn"}]],q5=ke("workflow",zre);const Lre=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Nt=ke("x",Lre);const $re=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],m_=ke("zap",$re),su="PieceMaker",W5="PieceMaker",h_="PieceMaker-Legal/piecemaker-droit-francais",wi="https://github.com/PieceMaker-Legal/piecemaker-droit-francais",f_="ui-sans-serif, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji",L0="2.0.18",Fre=[{id:"agents",label:"Agents",keywords:"agents subagents claude code",icon:Gl},{id:"appearance",label:"Appearance",keywords:"appearance theme dark light language",icon:Ew},{id:"git",label:"Git",keywords:"git github commits",icon:gn},{id:"api",label:"API Tokens",keywords:"api tokens auth keys",icon:Vee},{id:"tasks",label:"Tasks",keywords:"tasks taskmaster",icon:r_},{id:"browser",label:"Browser",keywords:"browser playwright chromium automation",icon:$l},{id:"notifications",label:"Notifications",keywords:"notifications alerts push",icon:yw},{id:"plugins",label:"Plugins",keywords:"plugins extensions integrations",icon:zte},{id:"about",label:"About",keywords:"about version info",icon:e_}],Da="default",g_=200,Ore=g_*1024*1024,Kv=`${g_}MB`,b_=[{key:"modified",status:"M"},{key:"added",status:"A"},{key:"deleted",status:"D"},{key:"untracked",status:"U"}],_w={claude:"Claude",cursor:"Cursor",codex:"Codex",mistral:"Mistral",opencode:"OpenCode"},af={claude:["user","project","local"],cursor:["user","project"],codex:["user","project"],mistral:["user","project"],opencode:["user","project"]},sf={claude:["stdio","http","sse"],cursor:["stdio","http"],codex:["stdio","http"],mistral:["stdio","http"],opencode:["stdio","http"]},x_=["stdio","http"],Pw={claude:!1,cursor:!1,codex:!0,mistral:!1,opencode:!1},v_="flex items-center justify-between p-3 rounded-lg bg-muted/60 hover:bg-accent transition-colors border border-transparent hover:border-border",y_=100,mp={wordWrap:"codeEditorWordWrap",showMinimap:"codeEditorShowMinimap",lineNumbers:"codeEditorLineNumbers",fontSize:"codeEditorFontSize"},hp={wordWrap:!1,showMinimap:!0,lineNumbers:!0,fontSize:"12"},Bre={claude:"claudePermissions",cursor:"cursorPermissions",codex:"codexPermissions",mistral:"mistralPermissions",opencode:"opencodePermissions"},Ure={},Ir=Ure?.VITE_IS_PLATFORM==="true";function we(...e){return MJ(_A(e))}function Hre(e){if(!e||typeof document>"u")return!1;const t=document.createElement("textarea");t.value=e,t.setAttribute("readonly",""),t.style.position="fixed",t.style.opacity="0",t.style.pointerEvents="none",document.body.appendChild(t),t.focus(),t.select();let r=!1;try{r=document.execCommand("copy")}catch{r=!1}finally{document.body.removeChild(t)}return r}async function Zn(e){if(!e)return!1;let t=!1;try{typeof navigator<"u"&&navigator.clipboard?.writeText&&(await navigator.clipboard.writeText(e),t=!0)}catch{t=!1}return t||(t=Hre(e)),t}const w_="notificationSoundEnabled",V5=typeof window<"u"?window.AudioContext||window.webkitAudioContext:void 0;let $0=null;const qre=()=>typeof localStorage>"u"?!0:localStorage.getItem(w_)!=="false",Wre=e=>{typeof localStorage>"u"||localStorage.setItem(w_,String(e))},Vre=()=>V5?($0||($0=new V5),$0):null,G5=(e,t,r,n,a)=>{const s=e.createOscillator(),i=e.createGain();s.type="sine",s.frequency.setValueAtTime(t,r),i.gain.setValueAtTime(1e-4,r),i.gain.exponentialRampToValueAtTime(a,r+.015),i.gain.exponentialRampToValueAtTime(1e-4,r+n),s.connect(i),i.connect(e.destination),s.start(r),s.stop(r+n+.02)},Yv=async({force:e=!1}={})=>{if(!e&&!qre())return;const t=Vre();if(t)try{t.state==="suspended"&&await t.resume();const r=t.currentTime;G5(t,740,r,.12,.075),G5(t,988,r+.11,.16,.06)}catch(r){console.warn("Unable to play notification sound:",r)}},k_=(e={})=>Yv(e),lh=e=>e.__provider==="cursor"?e.name||"Untitled Session":e.summary||"New Session",Gre=(e,t)=>{if(t)return lh(t);const r=e?.displayName?.trim();return r?`${r} - ${W5}`:W5},S_="voiceConfig",Xv="voice-config:sync",kl={baseUrl:"",apiKey:"",sttModel:"",ttsModel:"",ttsVoice:"",ttsFormat:""};function vc(){try{const e=localStorage.getItem(S_);if(!e)return{...kl};const t=JSON.parse(e);if(!t||typeof t!="object"||Array.isArray(t))return{...kl};const r={...kl};for(const n of Object.keys(kl))typeof t[n]=="string"&&(r[n]=t[n]);return r}catch{return{...kl}}}function C_(){if(typeof window>"u")return{};const e=vc(),t={};return e.apiKey&&(t["x-voice-api-key"]=e.apiKey),e.sttModel&&(t["x-voice-stt-model"]=e.sttModel),e.ttsModel&&(t["x-voice-tts-model"]=e.ttsModel),e.ttsVoice&&(t["x-voice-tts-voice"]=e.ttsVoice),e.ttsFormat.trim()&&(t["x-voice-tts-format"]=e.ttsFormat.trim()),t}const as=(e,t={})=>{const r=tu(),n={};return t.body instanceof FormData||(n["Content-Type"]="application/json"),!Ir&&r&&(n.Authorization=`Bearer ${r}`),fetch(e,{...t,headers:{...n,...t.headers}}).then(a=>{const s=a.headers.get("X-Refreshed-Token");return s&&fw(s),a.headers.get("X-Auth-Error")&&Xh(),a})},xr=e=>{const t=new URLSearchParams;for(const[n,a]of Object.entries(e))a==null||a===""||a===!1||t.set(n,String(a));const r=t.toString();return r?`?${r}`:""};class Mw extends Error{code;details;status;constructor(t,r){super(t),this.name="ApiRequestError",this.code=r.code,this.details=r.details,this.status=r.status}}async function Ps(e){const t=await e.json();if(!e.ok||t.success===!1){const r=t.error??t.details,n=r&&typeof r=="object"?r:{},a=(typeof r=="string"?r:n?.message)||t.details||`Request failed (${e.status})`;throw new Mw(a,{code:typeof n?.code=="string"?n.code:void 0,details:n?.details??t.details,status:e.status})}return t}const xt=(e,t={})=>as(e,t),of=e=>(t,r,n={})=>as(t,{method:e,...r===void 0?{}:{body:JSON.stringify(r)},...n}),vt=of("POST"),Cs=of("PUT"),fp=of("PATCH"),Aa=of("DELETE"),Kre=(e,{limit:t=null,offset:r=0}={})=>{const n=`/api/providers/sessions/${encodeURIComponent(e)}/messages`;return t==null?n:`${n}${xr({limit:t,offset:r??0})}`},Yre=(e,t)=>`/api/file-tree/projects/${e}/files/content${xr({path:t})}`,K5=(e,t)=>`/api/plugins/${encodeURIComponent(e)}/assets/${encodeURIComponent(t)}`,xe={auth:{status:()=>fetch("/api/auth/status"),login:(e,t)=>fetch("/api/auth/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({username:e,password:t})}),register:(e,t)=>fetch("/api/auth/register",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({username:e,password:t})}),refresh:()=>vt("/api/auth/refresh"),user:()=>xt("/api/auth/user")},projects:()=>xt("/api/projects"),archivedProjects:()=>xt("/api/projects/archived"),projectSessions:(e,{limit:t=20,offset:r=0}={},n={})=>xt(`/api/projects/${encodeURIComponent(e)}/sessions${xr({limit:t,offset:r})}`,n),projectTaskmaster:e=>xt(`/api/projects/${encodeURIComponent(e)}/taskmaster`),renameProject:(e,t)=>Cs(`/api/projects/${e}/rename`,{displayName:t}),restoreProject:e=>vt(`/api/projects/${encodeURIComponent(e)}/restore`),deleteProject:(e,t=!1)=>Aa(`/api/projects/${e}${xr({force:t})}`),createProject:e=>vt("/api/projects/create-project",e),migrateLegacyProjectStars:e=>vt("/api/projects/migrate-legacy-stars",{projectIds:e}),toggleProjectStar:e=>vt(`/api/projects/${encodeURIComponent(e)}/toggle-star`),cloneProjectProgressUrl:e=>`/api/projects/clone-progress${xr({...e,token:tu()})}`,searchConversationsUrl:(e,t=50)=>`/api/providers/search/sessions${xr({q:e,limit:t,token:tu()})}`,deleteSession:(e,t=!1)=>Aa(`/api/providers/sessions/${e}${xr({force:t})}`),getArchivedSessions:()=>xt("/api/providers/sessions/archived"),sessionDetails:e=>xt(`/api/providers/sessions/${encodeURIComponent(e)}`),runningSessions:()=>xt("/api/providers/sessions/running"),recentConversations:({limit:e=40,offset:t=0}={})=>xt(`/api/providers/sessions/recent${xr({limit:e,offset:t})}`),providerSessionId:e=>xt(`/api/providers/sessions/${encodeURIComponent(e)}/provider-id`),restoreSession:e=>vt(`/api/providers/sessions/${e}/restore`),forkSession:(e,t={})=>vt(`/api/providers/sessions/${encodeURIComponent(e)}/fork`,t),renameSession:(e,t)=>Cs(`/api/providers/sessions/${e}`,{summary:t}),scheduledMessages:{list:e=>xt(`/api/scheduled-messages${e?xr({sessionId:e}):""}`),create:e=>vt("/api/scheduled-messages",e),cancel:e=>Aa(`/api/scheduled-messages/${encodeURIComponent(e)}`)},readFile:(e,t)=>xt(`/api/file-tree/projects/${e}/file${xr({filePath:t})}`),readFileBlob:(e,t,r={})=>xt(Yre(e,t),r),saveFile:(e,t,r)=>Cs(`/api/file-tree/projects/${e}/file`,{filePath:t,content:r}),getFiles:(e,t={})=>xt(`/api/file-tree/projects/${e}/files${xr({respectGitignore:!0})}`,t),createFile:(e,{path:t,type:r,name:n})=>vt(`/api/file-tree/projects/${e}/files/create`,{path:t,type:r,name:n}),renameFile:(e,{oldPath:t,newName:r})=>Cs(`/api/file-tree/projects/${e}/files/rename`,{oldPath:t,newName:r}),deleteFile:(e,{path:t,type:r})=>Aa(`/api/file-tree/projects/${e}/files`,{path:t,type:r}),uploadFilesUrl:e=>`/api/file-tree/projects/${encodeURIComponent(e)}/files/upload`,browseFilesystem:(e=null)=>xt(`/api/file-tree/browse-filesystem${xr({path:e})}`),createFolder:e=>vt("/api/file-tree/create-folder",{path:e}),git:{status:(e,t={})=>xt(`/api/git/status${xr({project:e})}`,t),diff:(e,t,r={})=>xt(`/api/git/diff${xr({project:e,file:t})}`,r),commitDiff:(e,t)=>xt(`/api/git/commit-diff${xr({project:e,commit:t})}`),fileWithDiff:(e,t)=>xt(`/api/git/file-with-diff${xr({project:e,file:t})}`),branches:(e,t={})=>xt(`/api/git/branches${xr({project:e})}`,t),remoteStatus:e=>xt(`/api/git/remote-status${xr({project:e})}`),commits:(e,{limit:t}={},r={})=>xt(`/api/git/commits${xr({project:e,limit:t})}`,r),checkout:(e,t)=>vt("/api/git/checkout",{project:e,branch:t}),createBranch:(e,t)=>vt("/api/git/create-branch",{project:e,branch:t}),deleteBranch:(e,t,r=!1)=>vt("/api/git/delete-branch",{project:e,branch:t,force:r}),fetch:e=>vt("/api/git/fetch",{project:e}),pull:e=>vt("/api/git/pull",{project:e}),push:e=>vt("/api/git/push",{project:e}),publish:(e,t)=>vt("/api/git/publish",{project:e,branch:t}),discard:(e,t)=>vt("/api/git/discard",{project:e,file:t}),deleteUntracked:(e,t)=>vt("/api/git/delete-untracked",{project:e,file:t}),stage:(e,t)=>vt("/api/git/stage",{project:e,files:t}),unstage:(e,t)=>vt("/api/git/unstage",{project:e,files:t}),commit:(e,t,r)=>vt("/api/git/commit",{project:e,message:t,files:r}),initialCommit:e=>vt("/api/git/initial-commit",{project:e}),init:e=>vt("/api/git/init",{project:e}),revertLocalCommit:e=>vt("/api/git/revert-local-commit",{project:e}),generateCommitMessage:(e,t,r)=>vt("/api/git/generate-commit-message",{project:e,files:t,provider:r})},worktrees:{list:e=>xt(`/api/worktrees${xr({project:e})}`),create:(e,{branch:t,baseBranch:r})=>vt("/api/worktrees/create",{project:e,branch:t,baseBranch:r}),open:(e,t)=>vt("/api/worktrees/open",{project:e,worktreePath:t}),merge:(e,t,r)=>vt("/api/worktrees/merge",{project:e,worktreePath:t,...r}),remove:(e,t,r)=>vt("/api/worktrees/remove",{project:e,worktreePath:t,...r})},providers:{capabilities:()=>xt("/api/providers/capabilities"),authStatus:e=>xt(`/api/providers/${encodeURIComponent(e)}/auth/status`),models:e=>xt(`/api/providers/${e}/models`),createModel:(e,t)=>vt(`/api/providers/${e}/models`,t),updateModel:(e,t,r)=>fp(`/api/providers/${e}/models/${t}`,r),deleteModel:(e,t)=>Aa(`/api/providers/${e}/models/${t}`),createSession:e=>vt("/api/providers/sessions",e),sessionMessages:(e,t={},r={})=>xt(Kre(e,t),r),sessionTokenUsage:e=>xt(`/api/providers/sessions/${encodeURIComponent(e)}/token-usage`),sessionActiveModel:(e,t)=>xt(`/api/providers/${e}/sessions/${encodeURIComponent(t)}/active-model`),setSessionActiveModel:(e,t,r)=>vt(`/api/providers/${e}/sessions/${encodeURIComponent(t)}/active-model`,{model:r}),setSessionActiveEffort:(e,t,r)=>vt(`/api/providers/${e}/sessions/${encodeURIComponent(t)}/active-effort`,{effort:r}),mcpServers:(e,{scope:t,workspacePath:r})=>xt(`/api/providers/${e}/mcp/servers${xr({scope:t,workspacePath:r})}`),saveMcpServer:(e,t)=>vt(`/api/providers/${e}/mcp/servers`,t),deleteMcpServer:(e,t,{scope:r,workspacePath:n})=>Aa(`/api/providers/${e}/mcp/servers/${encodeURIComponent(t)}${xr({scope:r,workspacePath:n})}`),saveGlobalMcpServer:e=>vt("/api/providers/mcp/servers/global",e),skills:(e,{workspacePath:t}={})=>xt(`/api/providers/${encodeURIComponent(e)}/skills${xr({workspacePath:t})}`),saveSkills:(e,t)=>vt(`/api/providers/${e}/skills`,t)},commands:{list:e=>vt("/api/commands/list",{projectPath:e}),execute:e=>vt("/api/commands/execute",e)},assets:{uploadFiles:e=>as("/api/assets/files",{method:"POST",headers:{},body:e}),file:e=>xt(`/api/assets/files/${encodeURIComponent(e)}`),image:(e,t={})=>xt(`/api/assets/images/${encodeURIComponent(e)}`,t)},taskmaster:{updateTask:(e,t,r)=>Cs(`/api/taskmaster/update-task/${e}/${t}`,r),tasks:e=>xt(`/api/taskmaster/tasks/${encodeURIComponent(e)}`),mcpStatus:()=>xt("/api/taskmaster/mcp-status"),installationStatus:()=>xt("/api/taskmaster/installation-status"),prdFiles:e=>xt(`/api/taskmaster/prd/${encodeURIComponent(e)}`),prdFile:(e,t)=>xt(`/api/taskmaster/prd/${encodeURIComponent(e)}/${encodeURIComponent(t)}`),savePrd:(e,{fileName:t,content:r})=>vt(`/api/taskmaster/prd/${encodeURIComponent(e)}`,{fileName:t,content:r})},user:{gitConfig:()=>xt("/api/user/git-config"),updateGitConfig:(e,t)=>vt("/api/user/git-config",{gitName:e,gitEmail:t}),onboardingStatus:()=>xt("/api/user/onboarding-status"),completeOnboarding:()=>vt("/api/user/complete-onboarding"),preferences:()=>xt("/api/user/preferences"),savePreferences:e=>fp("/api/user/preferences",e),drafts:()=>xt("/api/user/drafts"),saveDraft:(e,t)=>Cs("/api/user/drafts",{scope:e,...t}),deleteDraft:e=>Aa("/api/user/drafts",{scope:e})},settings:{apiKeys:()=>xt("/api/settings/api-keys"),createApiKey:e=>vt("/api/settings/api-keys",{keyName:e}),deleteApiKey:e=>Aa(`/api/settings/api-keys/${e}`),toggleApiKey:(e,t)=>fp(`/api/settings/api-keys/${e}/toggle`,{isActive:t}),credentials:e=>xt(`/api/settings/credentials${xr({type:e})}`),createCredential:e=>vt("/api/settings/credentials",e),deleteCredential:e=>Aa(`/api/settings/credentials/${e}`),toggleCredential:(e,t)=>fp(`/api/settings/credentials/${e}/toggle`,{isActive:t}),notificationPreferences:()=>xt("/api/settings/notification-preferences"),saveNotificationPreferences:e=>Cs("/api/settings/notification-preferences",e),push:{vapidPublicKey:()=>xt("/api/settings/push/vapid-public-key"),subscribe:e=>vt("/api/settings/push/subscribe",e),unsubscribe:e=>vt("/api/settings/push/unsubscribe",{endpoint:e})}},plugins:{list:()=>xt("/api/plugins"),install:e=>vt("/api/plugins/install",{url:e}),uninstall:e=>Aa(`/api/plugins/${encodeURIComponent(e)}`),update:e=>vt(`/api/plugins/${encodeURIComponent(e)}/update`),toggle:(e,t)=>Cs(`/api/plugins/${encodeURIComponent(e)}/enable`,{enabled:t}),asset:(e,t)=>xt(K5(e,t)),assetUrl:K5,rpc:(e,t,r,n)=>as(`/api/plugins/${encodeURIComponent(e)}/rpc/${String(r).replace(/^\//,"")}`,{method:t||"GET",...n!==void 0?{body:JSON.stringify(n)}:{}})},browserUse:{status:()=>xt("/api/browser-use/status"),settings:()=>xt("/api/browser-use/settings"),saveSettings:e=>Cs("/api/browser-use/settings",e),sessions:()=>xt("/api/browser-use/sessions"),stopSession:e=>vt(`/api/browser-use/sessions/${e}/stop`),deleteSession:e=>Aa(`/api/browser-use/sessions/${e}`),installRuntime:()=>vt("/api/browser-use/runtime/install")},voice:{health:()=>xt("/api/voice/health"),transcribe:(e,t={})=>as("/api/voice/transcribe",{method:"POST",headers:t,body:e}),tts:(e,t={})=>vt("/api/voice/tts",{text:e},t)},system:{update:()=>vt("/api/system/update")}};function j_(e,t){return`${e.replace(/\/$/,"")}${t}`}function Xre(){return JSON.stringify(vc())}function Zre(e,t){const r=vc(),n=new FormData;return r.baseUrl.trim()?(n.append("file",e,t),n.append("model",r.sttModel||"whisper-1"),fetch(j_(r.baseUrl.trim(),"/audio/transcriptions"),{method:"POST",headers:r.apiKey?{Authorization:`Bearer ${r.apiKey}`}:{},body:n})):(n.append("audio",e,t),xe.voice.transcribe(n,C_()))}function Jre(e,t){const r=vc();return r.baseUrl.trim()?fetch(j_(r.baseUrl.trim(),"/audio/speech"),{method:"POST",headers:{"Content-Type":"application/json",...r.apiKey?{Authorization:`Bearer ${r.apiKey}`}:{}},body:JSON.stringify({model:r.ttsModel||"tts-1",voice:r.ttsVoice||"alloy",input:e,...r.ttsFormat.trim()?{response_format:r.ttsFormat.trim()}:{}}),signal:t}):xe.voice.tts(e,{headers:C_(),signal:t})}const Qre="user-preferences:changed",Iw="user-preferences",ene=400,N_={theme:"theme",userLanguage:"userLanguage",tasksEnabled:"tasks-enabled",projectSortOrder:"claude-settings",claudePermissions:"claude-settings",cursorPermissions:"cursor-tools-settings",codexPermissions:"codex-settings",mistralPermissions:"mistral-settings",opencodePermissions:"opencode-settings",codeEditorSettings:"",uiPreferences:"uiPreferences",selectedProvider:"selected-provider"},tne=Object.keys(N_),Zv=new Set;let Fa={},Jl={},ki=null;const ch=e=>!!e&&typeof e=="object"&&!Array.isArray(e);function rne(){try{const e=localStorage.getItem(Iw);if(!e)return{};const t=JSON.parse(e);return ch(t)?t:{}}catch{return{}}}function Dw(){try{localStorage.setItem(Iw,JSON.stringify(Fa))}catch{}}function lf(){for(const e of Zv)e();typeof window<"u"&&window.dispatchEvent(new Event(Qre))}function nne(){ki=null;const e=Jl;if(Jl={},Object.keys(e).length!==0)try{xe.user.savePreferences(e).catch(t=>{console.error("Failed to save user preferences:",t)})}catch(t){console.error("Failed to save user preferences:",t)}}function Rw(e){Jl={...Jl,...e},ki!==null&&clearTimeout(ki),ki=setTimeout(nne,ene)}function rn(e,t){const r=Fa[e];return r??t}function qi(e,t){JSON.stringify(Fa[e])!==JSON.stringify(t)&&(Fa={...Fa,[e]:t},Dw(),Rw({[e]:t}),lf())}function ane(e){const t={};for(const[r,n]of Object.entries(e))JSON.stringify(Fa[r])!==JSON.stringify(n)&&(t[r]=n);Object.keys(t).length!==0&&(Fa={...Fa,...t},Dw(),Rw(t),lf())}function Wi(e){return Zv.add(e),()=>{Zv.delete(e)}}function sne(e){let t=null;try{t=localStorage.getItem(N_[e])}catch{return}if(t===null)return;if(e==="theme"||e==="userLanguage"||e==="selectedProvider")return t;let r;try{r=JSON.parse(t)}catch{return}if(e==="projectSortOrder")return ch(r)?r.projectSortOrder:void 0;if(e==="claudePermissions"){if(!ch(r))return;const{allowedTools:n,disallowedTools:a,skipPermissions:s}=r;return{allowedTools:n,disallowedTools:a,skipPermissions:s}}return r}function one(){try{const e=localStorage.getItem(mp.wordWrap),t=localStorage.getItem(mp.showMinimap),r=localStorage.getItem(mp.lineNumbers),n=localStorage.getItem(mp.fontSize);if(e===null&&t===null&&r===null&&n===null)return;const a={};return e!==null&&(a.wordWrap=e!=="false"),t!==null&&(a.showMinimap=t!=="false"),r!==null&&(a.lineNumbers=r!=="false"),n!==null&&(a.fontSize=n),a}catch{return}}async function ine(){let e={};try{const r=await xe.user.preferences();if(r.ok){const n=await r.json();ch(n.preferences)&&(e=n.preferences)}}catch(r){console.error("Failed to load user preferences:",r);return}const t={};for(const r of tne){if(e[r]!==void 0)continue;const n=r==="codeEditorSettings"?one():sne(r);n!==void 0&&(t[r]=n)}for(const r of Object.keys(e))delete Jl[r];Fa={...e,...t},Dw(),Object.keys(t).length>0&&Rw(t),lf()}function lne(){Fa={},Jl={},ki!==null&&(clearTimeout(ki),ki=null);try{localStorage.removeItem(Iw)}catch{}lf()}typeof localStorage<"u"&&(Fa=rne());const T_=f.createContext(null),$o=()=>{const e=f.useContext(T_);if(!e)throw new Error("useTheme must be used within a ThemeProvider");return e},E_=({children:e})=>{const[t,r]=f.useState(()=>{const s=rn("theme",null);return s?s==="dark":window.matchMedia?window.matchMedia("(prefers-color-scheme: dark)").matches:!1});f.useEffect(()=>Wi(()=>{const s=rn("theme",null);s&&r(s==="dark")}),[]),f.useEffect(()=>{if(t){document.documentElement.classList.add("dark");const s=document.querySelector('meta[name="apple-mobile-web-app-status-bar-style"]');s&&s.setAttribute("content","black-translucent");const i=document.querySelector('meta[name="theme-color"]');i&&i.setAttribute("content","#141414")}else{document.documentElement.classList.remove("dark");const s=document.querySelector('meta[name="apple-mobile-web-app-status-bar-style"]');s&&s.setAttribute("content","default");const i=document.querySelector('meta[name="theme-color"]');i&&i.setAttribute("content","#f6f4ef")}},[t]),f.useEffect(()=>{if(!window.matchMedia)return;const s=window.matchMedia("(prefers-color-scheme: dark)"),i=l=>{rn("theme",null)||r(l.matches)};return s.addEventListener("change",i),()=>s.removeEventListener("change",i)},[]);const n=f.useCallback(()=>{r(s=>{const i=!s;return qi("theme",i?"dark":"light"),i})},[]),a=f.useMemo(()=>({isDarkMode:t,toggleDarkMode:n}),[t,n]);return o.jsx(T_.Provider,{value:a,children:e})},Jv={showRawParameters:!1,showThinking:!0,sendByCtrlEnter:!1,sidebarVisible:!0,voiceEnabled:!1},zw=Object.keys(Jv),cne=new Set(zw),Qv=(e,t)=>{if(typeof e=="boolean")return e;if(typeof e=="string"){if(e==="true")return!0;if(e==="false")return!1}return t},Y5=()=>{const e=rn("uiPreferences",{});return zw.reduce((t,r)=>(t[r]=Qv(e[r],Jv[r]),t),{...Jv})};function dne(e,t){switch(t.type){case"set":{const{key:r,value:n}=t;if(!cne.has(r))return e;const a=Qv(n,e[r]);return e[r]===a?e:{...e,[r]:a}}case"set_many":{const r=t.value||{};let n=!1;const a={...e};for(const s of zw){if(!(s in r))continue;const i=Qv(r[s],e[s]);a[s]!==i&&(a[s]=i,n=!0)}return n?a:e}default:return e}}const A_=f.createContext(null),__=f.createContext(null);function une({children:e}){const[t,r]=f.useReducer(dne,void 0,Y5),n=f.useRef(JSON.stringify(t));f.useEffect(()=>{const s=JSON.stringify(t);n.current!==s&&(n.current=s,qi("uiPreferences",t))},[t]),f.useEffect(()=>Wi(()=>{const s=Y5();n.current=JSON.stringify(s),r({type:"set_many",value:s})}),[]);const a=f.useMemo(()=>({setPreference:(s,i)=>r({type:"set",key:s,value:i})}),[]);return o.jsx(__.Provider,{value:a,children:o.jsx(A_.Provider,{value:t,children:e})})}function Tu(){const e=f.useContext(A_);if(!e)throw new Error("useUiPreferences must be used within a UiPreferencesProvider");return e}function Lw(){const e=f.useContext(__);if(!e)throw new Error("useSetUiPreference must be used within a UiPreferencesProvider");return e.setPreference}const pne="chat-drafts:changed",$w="chat-drafts",mne=1e3,hne={text:"",queuedMessage:null},e1=new Set;let Oa=new Map;const Ql=new Set;let ss=null;const hm=e=>!!e&&typeof e=="object"&&!Array.isArray(e),P_=e=>e.text===""&&e.queuedMessage===null;function fne(){try{const e=localStorage.getItem($w);if(!e)return new Map;const t=JSON.parse(e);if(!hm(t))return new Map;const r=new Map;for(const[n,a]of Object.entries(t))hm(a)&&r.set(n,{text:typeof a.text=="string"?a.text:"",queuedMessage:hm(a.queuedMessage)?a.queuedMessage:null});return r}catch{return new Map}}function M_(){try{localStorage.setItem($w,JSON.stringify(Object.fromEntries(Oa)))}catch{}}function Fw(){for(const e of e1)e();typeof window<"u"&&window.dispatchEvent(new Event(pne))}function I_(){ss=null;const e=[...Ql];Ql.clear();for(const t of e){const r=Oa.get(t);try{if(!r||P_(r)){xe.user.deleteDraft(t).catch(n=>{console.error("Failed to delete chat draft:",n)});continue}xe.user.saveDraft(t,{text:r.text,queuedMessage:r.queuedMessage}).catch(n=>{console.error("Failed to save chat draft:",n)})}catch(n){console.error("Failed to save chat draft:",n)}}}function gne(e){Ql.add(e),ss!==null&&clearTimeout(ss),ss=setTimeout(I_,mne)}function D_(){ss!==null&&(clearTimeout(ss),ss=null),I_()}function Ow(e,t){const r=Oa.get(e)??hne,n={...r,...t};if(n.text===r.text&&n.queuedMessage===r.queuedMessage)return;const a=new Map(Oa);P_(n)?a.delete(e):a.set(e,n),Oa=a,M_(),gne(e),Fw()}function X5(e){return Oa.get(e)?.text??""}function F0(e,t){Ow(e,{text:t})}function R_(e){const t=Oa.get(e)?.queuedMessage??null;if(!t)return null;const r=Array.isArray(t.attachments)?t.attachments:Array.isArray(t.images)?t.images:[];return t.content.trim()||r.length>0?{...t,attachments:r}:null}function Z5(e,t){Ow(e,{queuedMessage:t}),D_()}function bne(e){Ow(e,{queuedMessage:null}),D_()}function xne(e){return e1.add(e),()=>{e1.delete(e)}}async function z_(){let e=[];try{const r=await xe.user.drafts();if(!r.ok)return;const n=await r.json();if(!Array.isArray(n.drafts))return;e=n.drafts}catch(r){console.error("Failed to load chat drafts:",r);return}const t=new Map;for(const r of e){const n=typeof r.scope=="string"?r.scope:"";!n||Ql.has(n)||t.set(n,{text:typeof r.text=="string"?r.text:"",queuedMessage:hm(r.queuedMessage)?r.queuedMessage:null})}for(const r of Ql){const n=Oa.get(r);n&&t.set(r,n)}Oa=t,M_(),Fw()}function vne(){Oa=new Map,Ql.clear(),ss!==null&&(clearTimeout(ss),ss=null);try{localStorage.removeItem($w)}catch{}Fw()}typeof localStorage<"u"&&(Oa=fne());const L_="auth-token",no={authStatusCheckFailed:"errors.authStatusCheckFailed",loginFailed:"errors.loginFailed",registrationFailed:"errors.registrationFailed",networkError:"errors.networkError",sessionExpired:"errors.sessionExpired"};async function il(e){try{return await e.json()}catch{return null}}function J5(e,t){if(!e)return t;const{error:r}=e;return typeof r=="string"?r:r&&typeof r.message=="string"?r.message:e.message??t}const $_=f.createContext(null),yne=()=>localStorage.getItem(L_),Q5=e=>{fw(e)},wne=()=>{localStorage.removeItem(L_)};function Eu(){const e=f.useContext($_);if(!e)throw new Error("useAuth must be used within an AuthProvider");return e}function kne({children:e}){const{t}=Ae("auth"),[r,n]=f.useState(null),[a,s]=f.useState(()=>yne()),i=f.useRef(a),[l,c]=f.useState(!0),[d,p]=f.useState(!1),[u,h]=f.useState(!0),[m,g]=f.useState(null),b=f.useCallback((N,D)=>{n(N),s(D),Q5(D)},[]),x=f.useCallback(()=>{n(null),s(null),wne(),lne(),vne()},[]),v=r?String(r.id??r.username):null;f.useEffect(()=>{v&&(ine(),z_())},[v]);const y=f.useCallback(async()=>{try{const N=await xe.user.onboardingStatus();if(!N.ok)return;const D=await il(N);h(!!D?.hasCompletedOnboarding)}catch(N){console.error("Error checking onboarding status:",N),h(!0)}},[]),w=f.useCallback(async()=>{await y()},[y]),S=f.useCallback(async()=>{if(!(Ir||!a||!r))try{const N=await xe.auth.refresh();if(!N.ok)return;const D=await il(N);th(D?.token)&&(s(D.token),Q5(D.token))}catch(N){console.warn("[Auth] Session refresh failed:",N)}},[a,r]);f.useEffect(()=>{const N=A=>{const U=A.detail;th(U)&&s(U)},D=()=>{x(),g(t(no.sessionExpired))};return window.addEventListener(Fs,N),window.addEventListener(Os,D),()=>{window.removeEventListener(Fs,N),window.removeEventListener(Os,D)}},[x,t]);const j=f.useCallback(async()=>{try{c(!0),g(null);const N=await xe.auth.status();if((await il(N))?.needsSetup){p(!0);return}if(p(!1),!i.current)return;const A=await xe.auth.user();if(!A.ok){x();return}const U=await il(A);if(!U?.user){x();return}n(U.user),await y()}catch(N){console.error("[Auth] Auth status check failed:",N),g(t(no.authStatusCheckFailed))}finally{c(!1)}},[y,x,t]);f.useEffect(()=>{i.current=a},[a]),f.useEffect(()=>{if(Ir){n({username:"platform-user"}),p(!1),y().finally(()=>{c(!1)});return}j()},[j,y]),f.useEffect(()=>{if(Ir||!a||!r)return;const N=()=>{const _=A5(a);_!==null&&_<=0&&S()},D=()=>{document.visibilityState==="visible"&&N()},A=A5(a),U=A===null?null:window.setTimeout(()=>{S()},A);return window.addEventListener("focus",N),document.addEventListener("visibilitychange",D),()=>{U!==null&&window.clearTimeout(U),window.removeEventListener("focus",N),document.removeEventListener("visibilitychange",D)}},[S,a,r]);const k=f.useCallback(async(N,D)=>{try{g(null);const A=await xe.auth.login(N,D),U=await il(A);if(!A.ok||!U?.token||!U.user){const _=J5(U,t(no.loginFailed));return g(_),{success:!1,error:_}}return b(U.user,U.token),p(!1),await y(),{success:!0}}catch(A){return console.error("Login error:",A),g(t(no.networkError)),{success:!1,error:t(no.networkError)}}},[y,b,t]),C=f.useCallback(async(N,D)=>{try{g(null);const A=await xe.auth.register(N,D),U=await il(A);if(!A.ok||!U?.token||!U.user){const _=J5(U,t(no.registrationFailed));return g(_),{success:!1,error:_}}return b(U.user,U.token),p(!1),await y(),{success:!0}}catch(A){return console.error("Registration error:",A),g(t(no.networkError)),{success:!1,error:t(no.networkError)}}},[y,b,t]),E=f.useCallback(()=>{x()},[x]),T=f.useMemo(()=>({user:r,token:a,isLoading:l,needsSetup:d,hasCompletedOnboarding:u,error:m,login:k,register:C,logout:E,refreshOnboardingStatus:w}),[m,u,l,k,E,d,w,C,a,r]);return o.jsx($_.Provider,{value:T,children:e})}function Sne(){const e=window.location.protocol==="https:"?"wss:":"ws:";if(Ir)return`${e}//${window.location.host}/shell`;const t=tu();return t?`${e}//${window.location.host}/shell?token=${encodeURIComponent(t)}`:(console.error("No authentication token found for Shell WebSocket connection"),null)}function Cne(e){try{return JSON.parse(e)}catch{return null}}function fo(e,t){e&&e.readyState===WebSocket.OPEN&&e.send(JSON.stringify(t))}const jne=["claude","cursor","codex","mistral","opencode"],Nne="claude";function Us(){const e=rn("selectedProvider",null);return jne.includes(e)?e:Nne}function Bw(e){qi("selectedProvider",e)}const Tne=/(?:\u001B\[[0-?]*[ -/]*[@-~]|\u009B[0-?]*[ -/]*[@-~]|\u001B\][^\u0007\u001B]*(?:\u0007|\u001B\\)|\u009D[^\u0007\u009C]*(?:\u0007|\u009C)|\u001B[PX^_][^\u001B]*\u001B\\|[\u0090\u0098\u009E\u009F][^\u009C]*\u009C|\u001B[@-Z\\-_])/g,Ene=/Process exited with code (\d+)/;function Ane({wsRef:e,terminalRef:t,fitAddonRef:r,selectedProjectRef:n,selectedSessionRef:a,initialCommandRef:s,isPlainShellRef:i,bypassPermissionsRef:l,onProcessCompleteRef:c,isInitialized:d,autoConnect:p,closeSocket:u,clearTerminalScreen:h,onOutputRef:m}){const[g,b]=f.useState(!1),[x,v]=f.useState(!1),y=f.useRef(!1),w=f.useRef(!1),S=f.useRef(!1),j=f.useCallback(N=>{if(!i.current||!c.current)return;const A=N.replace(Tne,"");if(A.includes("Process exited with code 0")){c.current(0);return}const U=A.match(Ene);if(!U)return;const _=Number.parseInt(U[1],10);!Number.isNaN(_)&&_!==0&&c.current(_)},[i,c]),k=f.useCallback(N=>{const D=Cne(N);if(!D){console.error("[Shell] Error handling WebSocket message:",N);return}if(D.type==="output"){const A=typeof D.data=="string"?D.data:"";j(A),t.current?.write(A),m?.current?.();return}if(D.type==="error"){const A=typeof D.message=="string"&&D.message?D.message:"Shell error";t.current?.write(`\r
3301
+ `)}`),r},DX=e=>{var t;try{const r=hA(e);if(Object.keys(r).length===0)return;const n="showToolbar"in r&&r.showToolbar!==void 0,a={...Ht.options.value,...r},{instrumentation:s}=Ht;s&&"enabled"in r&&(s.isPaused.value=r.enabled===!1),Ht.options.value=a;try{const i=(t=So("react-scan-options"))==null?void 0:t.enabled;typeof i=="boolean"&&(a.enabled=i)}catch(i){Ht.options.value._debug==="verbose"&&console.error("[React Scan Internal Error]","Failed to create notifications outline canvas",i)}return Gn("react-scan-options",IX(a)),n&&fA(!!a.showToolbar),a}catch(r){Ht.options.value._debug==="verbose"&&console.error("[React Scan Internal Error]","Failed to create notifications outline canvas",r)}},RX=()=>Ht.options,c5=null,cp,Kh=()=>{if(c5===!1)return!1;cp??(cp=Cy());const e=Array.from(cp.renderers.values());if(e.length===0)return null;for(const t of e)if(jB(t)!=="production")return c5=!1,!1;return!0},zX=()=>{try{if(!is||!Ht.runInAllEnvironments&&Kh()&&!Ht.options.value.dangerouslyForceRunInProduction)return;EX();const e=So("react-scan-options");if(e){const r=hA(e);Object.keys(r).length>0&&(Ht.options.value={...Ht.options.value,...r})}const t=RX();zK(()=>{fA(!!t.value.showToolbar)}),is&&setTimeout(()=>{NB()||console.error("[React Scan] Failed to load. Must import React Scan before React runs.")},5e3)}catch(e){Ht.options.value._debug==="verbose"&&console.error("[React Scan Internal Error]","Failed to create notifications outline canvas",e)}},fA=e=>{var t;(t=window.reactScanCleanupListeners)==null||t.call(window);const r=bY(),n=LX();window.reactScanCleanupListeners=()=>{r(),n?.()};const a=window.__REACT_SCAN_TOOLBAR_CONTAINER__;if(!e){a?.remove();return}a?.remove();const{shadowRoot:s}=MX();TX(s)},LX=()=>{try{const e=document.documentElement;return HY(e)}catch(e){Ht.options.value._debug==="verbose"&&console.error("[React Scan Internal Error]","Failed to create notifications outline canvas",e)}},$X=(e={})=>{DX(e),!(tt.isInIframe.value&&!Ht.options.value.allowInIframe&&!Ht.runInAllEnvironments)&&(e.enabled===!1&&e.showToolbar!==!0||zX())},FX=new WeakSet,E0={};const jt=e=>typeof e=="string",Lc=()=>{let e,t;const r=new Promise((n,a)=>{e=n,t=a});return r.resolve=e,r.reject=t,r},d5=e=>e==null?"":""+e,OX=(e,t,r)=>{e.forEach(n=>{t[n]&&(r[n]=t[n])})},BX=/###/g,u5=e=>e&&e.indexOf("###")>-1?e.replace(BX,"."):e,p5=e=>!e||jt(e),Td=(e,t,r)=>{const n=jt(t)?t.split("."):t;let a=0;for(;a<n.length-1;){if(p5(e))return{};const s=u5(n[a]);!e[s]&&r&&(e[s]=new r),Object.prototype.hasOwnProperty.call(e,s)?e=e[s]:e={},++a}return p5(e)?{}:{obj:e,k:u5(n[a])}},m5=(e,t,r)=>{const{obj:n,k:a}=Td(e,t,Object);if(n!==void 0||t.length===1){n[a]=r;return}let s=t[t.length-1],i=t.slice(0,t.length-1),l=Td(e,i,Object);for(;l.obj===void 0&&i.length;)s=`${i[i.length-1]}.${s}`,i=i.slice(0,i.length-1),l=Td(e,i,Object),l?.obj&&typeof l.obj[`${l.k}.${s}`]<"u"&&(l.obj=void 0);l.obj[`${l.k}.${s}`]=r},UX=(e,t,r,n)=>{const{obj:a,k:s}=Td(e,t,Object);a[s]=a[s]||[],a[s].push(r)},Jm=(e,t)=>{const{obj:r,k:n}=Td(e,t);if(r&&Object.prototype.hasOwnProperty.call(r,n))return r[n]},HX=(e,t,r)=>{const n=Jm(e,r);return n!==void 0?n:Jm(t,r)},gA=(e,t,r)=>{for(const n in t)n!=="__proto__"&&n!=="constructor"&&(n in e?jt(e[n])||e[n]instanceof String||jt(t[n])||t[n]instanceof String?r&&(e[n]=t[n]):gA(e[n],t[n],r):e[n]=t[n]);return e},Vo=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var qX={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const WX=e=>jt(e)?e.replace(/[&<>"'\/]/g,t=>qX[t]):e;class VX{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const r=this.regExpMap.get(t);if(r!==void 0)return r;const n=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,n),this.regExpQueue.push(t),n}}const GX=[" ",",","?","!",";"],KX=new VX(20),YX=(e,t,r)=>{t=t||"",r=r||"";const n=GX.filter(i=>t.indexOf(i)<0&&r.indexOf(i)<0);if(n.length===0)return!0;const a=KX.getRegExp(`(${n.map(i=>i==="?"?"\\?":i).join("|")})`);let s=!a.test(e);if(!s){const i=e.indexOf(r);i>0&&!a.test(e.substring(0,i))&&(s=!0)}return s},zv=(e,t,r=".")=>{if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;const n=t.split(r);let a=e;for(let s=0;s<n.length;){if(!a||typeof a!="object")return;let i,l="";for(let c=s;c<n.length;++c)if(c!==s&&(l+=r),l+=n[c],i=a[l],i!==void 0){if(["string","number","boolean"].indexOf(typeof i)>-1&&c<n.length-1)continue;s+=c-s+1;break}a=i}return a},Qd=e=>e?.replace(/_/g,"-"),XX={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};class Qm{constructor(t,r={}){this.init(t,r)}init(t,r={}){this.prefix=r.prefix||"i18next:",this.logger=t||XX,this.options=r,this.debug=r.debug}log(...t){return this.forward(t,"log","",!0)}warn(...t){return this.forward(t,"warn","",!0)}error(...t){return this.forward(t,"error","")}deprecate(...t){return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(t,r,n,a){return a&&!this.debug?null:(jt(t[0])&&(t[0]=`${n}${this.prefix} ${t[0]}`),this.logger[r](t))}create(t){return new Qm(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new Qm(this.logger,t)}}var rs=new Qm;class Yh{constructor(){this.observers={}}on(t,r){return t.split(" ").forEach(n=>{this.observers[n]||(this.observers[n]=new Map);const a=this.observers[n].get(r)||0;this.observers[n].set(r,a+1)}),this}off(t,r){if(this.observers[t]){if(!r){delete this.observers[t];return}this.observers[t].delete(r)}}emit(t,...r){this.observers[t]&&Array.from(this.observers[t].entries()).forEach(([a,s])=>{for(let i=0;i<s;i++)a(...r)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([a,s])=>{for(let i=0;i<s;i++)a.apply(a,[t,...r])})}}class h5 extends Yh{constructor(t,r={ns:["translation"],defaultNS:"translation"}){super(),this.data=t||{},this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const r=this.options.ns.indexOf(t);r>-1&&this.options.ns.splice(r,1)}getResource(t,r,n,a={}){const s=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,i=a.ignoreJSONStructure!==void 0?a.ignoreJSONStructure:this.options.ignoreJSONStructure;let l;t.indexOf(".")>-1?l=t.split("."):(l=[t,r],n&&(Array.isArray(n)?l.push(...n):jt(n)&&s?l.push(...n.split(s)):l.push(n)));const c=Jm(this.data,l);return!c&&!r&&!n&&t.indexOf(".")>-1&&(t=l[0],r=l[1],n=l.slice(2).join(".")),c||!i||!jt(n)?c:zv(this.data?.[t]?.[r],n,s)}addResource(t,r,n,a,s={silent:!1}){const i=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator;let l=[t,r];n&&(l=l.concat(i?n.split(i):n)),t.indexOf(".")>-1&&(l=t.split("."),a=r,r=l[1]),this.addNamespaces(r),m5(this.data,l,a),s.silent||this.emit("added",t,r,n,a)}addResources(t,r,n,a={silent:!1}){for(const s in n)(jt(n[s])||Array.isArray(n[s]))&&this.addResource(t,r,s,n[s],{silent:!0});a.silent||this.emit("added",t,r,n)}addResourceBundle(t,r,n,a,s,i={silent:!1,skipCopy:!1}){let l=[t,r];t.indexOf(".")>-1&&(l=t.split("."),a=n,n=r,r=l[1]),this.addNamespaces(r);let c=Jm(this.data,l)||{};i.skipCopy||(n=JSON.parse(JSON.stringify(n))),a?gA(c,n,s):c={...c,...n},m5(this.data,l,c),i.silent||this.emit("added",t,r,n)}removeResourceBundle(t,r){this.hasResourceBundle(t,r)&&delete this.data[t][r],this.removeNamespaces(r),this.emit("removed",t,r)}hasResourceBundle(t,r){return this.getResource(t,r)!==void 0}getResourceBundle(t,r){return r||(r=this.options.defaultNS),this.getResource(t,r)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const r=this.getDataByLanguage(t);return!!(r&&Object.keys(r)||[]).find(a=>r[a]&&Object.keys(r[a]).length>0)}toJSON(){return this.data}}var bA={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,n,a){return e.forEach(s=>{t=this.processors[s]?.process(t,r,n,a)??t}),t}};const xA=Symbol("i18next/PATH_KEY");function ZX(){const e=[],t=Object.create(null);let r;return t.get=(n,a)=>(r?.revoke?.(),a===xA?e:(e.push(a),r=Proxy.revocable(n,t),r.proxy)),Proxy.revocable(Object.create(null),t).proxy}function vi(e,t){const{[xA]:r}=e(ZX()),n=t?.keySeparator??".",a=t?.nsSeparator??":";if(r.length>1&&a){const s=t?.ns,i=Array.isArray(s)?s:null;if(i&&i.length>1&&i.slice(1).includes(r[0]))return`${r[0]}${a}${r.slice(1).join(n)}`}return r.join(n)}const f5={},A0=e=>!jt(e)&&typeof e!="boolean"&&typeof e!="number";class eh extends Yh{constructor(t,r={}){super(),OX(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=rs.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t,r={interpolation:{}}){const n={...r};if(t==null)return!1;const a=this.resolve(t,n);if(a?.res===void 0)return!1;const s=A0(a.res);return!(n.returnObjects===!1&&s)}extractFromKey(t,r){let n=r.nsSeparator!==void 0?r.nsSeparator:this.options.nsSeparator;n===void 0&&(n=":");const a=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator;let s=r.ns||this.options.defaultNS||[];const i=n&&t.indexOf(n)>-1,l=!this.options.userDefinedKeySeparator&&!r.keySeparator&&!this.options.userDefinedNsSeparator&&!r.nsSeparator&&!YX(t,n,a);if(i&&!l){const c=t.match(this.interpolator.nestingRegexp);if(c&&c.length>0)return{key:t,namespaces:jt(s)?[s]:s};const d=t.split(n);(n!==a||n===a&&this.options.ns.indexOf(d[0])>-1)&&(s=d.shift()),t=d.join(a)}return{key:t,namespaces:jt(s)?[s]:s}}translate(t,r,n){let a=typeof r=="object"?{...r}:r;if(typeof a!="object"&&this.options.overloadTranslationOptionHandler&&(a=this.options.overloadTranslationOptionHandler(arguments)),typeof a=="object"&&(a={...a}),a||(a={}),t==null)return"";typeof t=="function"&&(t=vi(t,{...this.options,...a})),Array.isArray(t)||(t=[String(t)]),t=t.map(U=>typeof U=="function"?vi(U,{...this.options,...a}):String(U));const s=a.returnDetails!==void 0?a.returnDetails:this.options.returnDetails,i=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,{key:l,namespaces:c}=this.extractFromKey(t[t.length-1],a),d=c[c.length-1];let p=a.nsSeparator!==void 0?a.nsSeparator:this.options.nsSeparator;p===void 0&&(p=":");const u=a.lng||this.language,h=a.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u?.toLowerCase()==="cimode")return h?s?{res:`${d}${p}${l}`,usedKey:l,exactUsedKey:l,usedLng:u,usedNS:d,usedParams:this.getUsedParamsDetails(a)}:`${d}${p}${l}`:s?{res:l,usedKey:l,exactUsedKey:l,usedLng:u,usedNS:d,usedParams:this.getUsedParamsDetails(a)}:l;const m=this.resolve(t,a);let g=m?.res;const b=m?.usedKey||l,x=m?.exactUsedKey||l,v=["[object Number]","[object Function]","[object RegExp]"],y=a.joinArrays!==void 0?a.joinArrays:this.options.joinArrays,w=!this.i18nFormat||this.i18nFormat.handleAsObject,S=a.count!==void 0&&!jt(a.count),j=eh.hasDefaultValue(a),k=S?this.pluralResolver.getSuffix(u,a.count,a):"",C=a.ordinal&&S?this.pluralResolver.getSuffix(u,a.count,{ordinal:!1}):"",E=S&&!a.ordinal&&a.count===0,T=E&&a[`defaultValue${this.options.pluralSeparator}zero`]||a[`defaultValue${k}`]||a[`defaultValue${C}`]||a.defaultValue;let N=g;w&&!g&&j&&(N=T);const D=A0(N),A=Object.prototype.toString.apply(N);if(w&&N&&D&&v.indexOf(A)<0&&!(jt(y)&&Array.isArray(N))){if(!a.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const U=this.options.returnedObjectHandler?this.options.returnedObjectHandler(b,N,{...a,ns:c}):`key '${l} (${this.language})' returned an object instead of string.`;return s?(m.res=U,m.usedParams=this.getUsedParamsDetails(a),m):U}if(i){const U=Array.isArray(N),_=U?[]:{},q=U?x:b;for(const z in N)if(Object.prototype.hasOwnProperty.call(N,z)){const F=`${q}${i}${z}`;j&&!g?_[z]=this.translate(F,{...a,defaultValue:A0(T)?T[z]:void 0,joinArrays:!1,ns:c}):_[z]=this.translate(F,{...a,joinArrays:!1,ns:c}),_[z]===F&&(_[z]=N[z])}g=_}}else if(w&&jt(y)&&Array.isArray(g))g=g.join(y),g&&(g=this.extendTranslation(g,t,a,n));else{let U=!1,_=!1;!this.isValidLookup(g)&&j&&(U=!0,g=T),this.isValidLookup(g)||(_=!0,g=l);const z=(a.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&_?void 0:g,F=j&&T!==g&&this.options.updateMissing;if(_||U||F){if(this.logger.log(F?"updateKey":"missingKey",u,d,l,F?T:g),i){const V=this.resolve(l,{...a,keySeparator:!1});V&&V.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let H=[];const L=this.languageUtils.getFallbackCodes(this.options.fallbackLng,a.lng||this.language);if(this.options.saveMissingTo==="fallback"&&L&&L[0])for(let V=0;V<L.length;V++)H.push(L[V]);else this.options.saveMissingTo==="all"?H=this.languageUtils.toResolveHierarchy(a.lng||this.language):H.push(a.lng||this.language);const M=(V,$,R)=>{const X=j&&R!==g?R:z;this.options.missingKeyHandler?this.options.missingKeyHandler(V,d,$,X,F,a):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(V,d,$,X,F,a),this.emit("missingKey",V,d,$,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&S?H.forEach(V=>{const $=this.pluralResolver.getSuffixes(V,a);E&&a[`defaultValue${this.options.pluralSeparator}zero`]&&$.indexOf(`${this.options.pluralSeparator}zero`)<0&&$.push(`${this.options.pluralSeparator}zero`),$.forEach(R=>{M([V],l+R,a[`defaultValue${R}`]||T)})}):M(H,l,T))}g=this.extendTranslation(g,t,a,m,n),_&&g===l&&this.options.appendNamespaceToMissingKey&&(g=`${d}${p}${l}`),(_||U)&&this.options.parseMissingKeyHandler&&(g=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${d}${p}${l}`:l,U?g:void 0,a))}return s?(m.res=g,m.usedParams=this.getUsedParamsDetails(a),m):g}extendTranslation(t,r,n,a,s){if(this.i18nFormat?.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||a.usedLng,a.usedNS,a.usedKey,{resolved:a});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const c=jt(t)&&(n?.interpolation?.skipOnVariables!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let d;if(c){const u=t.match(this.interpolator.nestingRegexp);d=u&&u.length}let p=n.replace&&!jt(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(p={...this.options.interpolation.defaultVariables,...p}),t=this.interpolator.interpolate(t,p,n.lng||this.language||a.usedLng,n),c){const u=t.match(this.interpolator.nestingRegexp),h=u&&u.length;d<h&&(n.nest=!1)}!n.lng&&a&&a.res&&(n.lng=this.language||a.usedLng),n.nest!==!1&&(t=this.interpolator.nest(t,(...u)=>s?.[0]===u[0]&&!n.context?(this.logger.warn(`It seems you are nesting recursively key: ${u[0]} in key: ${r[0]}`),null):this.translate(...u,r),n)),n.interpolation&&this.interpolator.reset()}const i=n.postProcess||this.options.postProcess,l=jt(i)?[i]:i;return t!=null&&l?.length&&n.applyPostProcessor!==!1&&(t=bA.handle(l,t,r,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...a,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),t}resolve(t,r={}){let n,a,s,i,l;return jt(t)&&(t=[t]),Array.isArray(t)&&(t=t.map(c=>typeof c=="function"?vi(c,{...this.options,...r}):c)),t.forEach(c=>{if(this.isValidLookup(n))return;const d=this.extractFromKey(c,r),p=d.key;a=p;let u=d.namespaces;this.options.fallbackNS&&(u=u.concat(this.options.fallbackNS));const h=r.count!==void 0&&!jt(r.count),m=h&&!r.ordinal&&r.count===0,g=r.context!==void 0&&(jt(r.context)||typeof r.context=="number")&&r.context!=="",b=r.lngs?r.lngs:this.languageUtils.toResolveHierarchy(r.lng||this.language,r.fallbackLng);u.forEach(x=>{this.isValidLookup(n)||(l=x,!f5[`${b[0]}-${x}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(l)&&(f5[`${b[0]}-${x}`]=!0,this.logger.warn(`key "${a}" for languages "${b.join(", ")}" won't get resolved as namespace "${l}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),b.forEach(v=>{if(this.isValidLookup(n))return;i=v;const y=[p];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(y,p,v,x,r);else{let S;h&&(S=this.pluralResolver.getSuffix(v,r.count,r));const j=`${this.options.pluralSeparator}zero`,k=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(h&&(r.ordinal&&S.indexOf(k)===0&&y.push(p+S.replace(k,this.options.pluralSeparator)),y.push(p+S),m&&y.push(p+j)),g){const C=`${p}${this.options.contextSeparator||"_"}${r.context}`;y.push(C),h&&(r.ordinal&&S.indexOf(k)===0&&y.push(C+S.replace(k,this.options.pluralSeparator)),y.push(C+S),m&&y.push(C+j))}}let w;for(;w=y.pop();)this.isValidLookup(n)||(s=w,n=this.getResource(v,x,w,r))}))})}),{res:n,usedKey:a,exactUsedKey:s,usedLng:i,usedNS:l}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,r,n,a={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(t,r,n,a):this.resourceStore.getResource(t,r,n,a)}getUsedParamsDetails(t={}){const r=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=t.replace&&!jt(t.replace);let a=n?t.replace:t;if(n&&typeof t.count<"u"&&(a.count=t.count),this.options.interpolation.defaultVariables&&(a={...this.options.interpolation.defaultVariables,...a}),!n){a={...a};for(const s of r)delete a[s]}return a}static hasDefaultValue(t){const r="defaultValue";for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&r===n.substring(0,r.length)&&t[n]!==void 0)return!0;return!1}}class g5{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=rs.create("languageUtils")}getScriptPartFromCode(t){if(t=Qd(t),!t||t.indexOf("-")<0)return null;const r=t.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}getLanguagePartFromCode(t){if(t=Qd(t),!t||t.indexOf("-")<0)return t;const r=t.split("-");return this.formatLanguageCode(r[0])}formatLanguageCode(t){if(jt(t)&&t.indexOf("-")>-1){let r;try{r=Intl.getCanonicalLocales(t)[0]}catch{}return r&&this.options.lowerCaseLng&&(r=r.toLowerCase()),r||(this.options.lowerCaseLng?t.toLowerCase():t)}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let r;return t.forEach(n=>{if(r)return;const a=this.formatLanguageCode(n);(!this.options.supportedLngs||this.isSupportedCode(a))&&(r=a)}),!r&&this.options.supportedLngs&&t.forEach(n=>{if(r)return;const a=this.getScriptPartFromCode(n);if(this.isSupportedCode(a))return r=a;const s=this.getLanguagePartFromCode(n);if(this.isSupportedCode(s))return r=s;r=this.options.supportedLngs.find(i=>{if(i===s)return i;if(!(i.indexOf("-")<0&&s.indexOf("-")<0)&&(i.indexOf("-")>0&&s.indexOf("-")<0&&i.substring(0,i.indexOf("-"))===s||i.indexOf(s)===0&&s.length>1))return i})}),r||(r=this.getFallbackCodes(this.options.fallbackLng)[0]),r}getFallbackCodes(t,r){if(!t)return[];if(typeof t=="function"&&(t=t(r)),jt(t)&&(t=[t]),Array.isArray(t))return t;if(!r)return t.default||[];let n=t[r];return n||(n=t[this.getScriptPartFromCode(r)]),n||(n=t[this.formatLanguageCode(r)]),n||(n=t[this.getLanguagePartFromCode(r)]),n||(n=t.default),n||[]}toResolveHierarchy(t,r){const n=this.getFallbackCodes((r===!1?[]:r)||this.options.fallbackLng||[],t),a=[],s=i=>{i&&(this.isSupportedCode(i)?a.push(i):this.logger.warn(`rejecting language code not found in supportedLngs: ${i}`))};return jt(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(t))):jt(t)&&s(this.formatLanguageCode(t)),n.forEach(i=>{a.indexOf(i)<0&&s(this.formatLanguageCode(i))}),a}}const b5={zero:0,one:1,two:2,few:3,many:4,other:5},x5={select:e=>e===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class JX{constructor(t,r={}){this.languageUtils=t,this.options=r,this.logger=rs.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(t,r={}){const n=Qd(t==="dev"?"en":t),a=r.ordinal?"ordinal":"cardinal",s=JSON.stringify({cleanedCode:n,type:a});if(s in this.pluralRulesCache)return this.pluralRulesCache[s];let i;try{i=new Intl.PluralRules(n,{type:a})}catch{if(typeof Intl>"u")return this.logger.error("No Intl support, please use an Intl polyfill!"),x5;if(!t.match(/-|_/))return x5;const c=this.languageUtils.getLanguagePartFromCode(t);i=this.getRule(c,r)}return this.pluralRulesCache[s]=i,i}needsPlural(t,r={}){let n=this.getRule(t,r);return n||(n=this.getRule("dev",r)),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(t,r,n={}){return this.getSuffixes(t,n).map(a=>`${r}${a}`)}getSuffixes(t,r={}){let n=this.getRule(t,r);return n||(n=this.getRule("dev",r)),n?n.resolvedOptions().pluralCategories.sort((a,s)=>b5[a]-b5[s]).map(a=>`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${a}`):[]}getSuffix(t,r,n={}){const a=this.getRule(t,n);return a?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${a.select(r)}`:(this.logger.warn(`no plural rule found for: ${t}`),this.getSuffix("dev",r,n))}}const v5=(e,t,r,n=".",a=!0)=>{let s=HX(e,t,r);return!s&&a&&jt(r)&&(s=zv(e,r,n),s===void 0&&(s=zv(t,r,n))),s},_0=e=>e.replace(/\$/g,"$$$$");class y5{constructor(t={}){this.logger=rs.create("interpolator"),this.options=t,this.format=t?.interpolation?.format||(r=>r),this.init(t)}init(t={}){t.interpolation||(t.interpolation={escapeValue:!0});const{escape:r,escapeValue:n,useRawValueToEscape:a,prefix:s,prefixEscaped:i,suffix:l,suffixEscaped:c,formatSeparator:d,unescapeSuffix:p,unescapePrefix:u,nestingPrefix:h,nestingPrefixEscaped:m,nestingSuffix:g,nestingSuffixEscaped:b,nestingOptionsSeparator:x,maxReplaces:v,alwaysFormat:y}=t.interpolation;this.escape=r!==void 0?r:WX,this.escapeValue=n!==void 0?n:!0,this.useRawValueToEscape=a!==void 0?a:!1,this.prefix=s?Vo(s):i||"{{",this.suffix=l?Vo(l):c||"}}",this.formatSeparator=d||",",this.unescapePrefix=p?"":u||"-",this.unescapeSuffix=this.unescapePrefix?"":p||"",this.nestingPrefix=h?Vo(h):m||Vo("$t("),this.nestingSuffix=g?Vo(g):b||Vo(")"),this.nestingOptionsSeparator=x||",",this.maxReplaces=v||1e3,this.alwaysFormat=y!==void 0?y:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(r,n)=>r?.source===n?(r.lastIndex=0,r):new RegExp(n,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(t,r,n,a){let s,i,l;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},d=m=>{if(m.indexOf(this.formatSeparator)<0){const v=v5(r,c,m,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(v,void 0,n,{...a,...r,interpolationkey:m}):v}const g=m.split(this.formatSeparator),b=g.shift().trim(),x=g.join(this.formatSeparator).trim();return this.format(v5(r,c,b,this.options.keySeparator,this.options.ignoreJSONStructure),x,n,{...a,...r,interpolationkey:b})};this.resetRegExp();const p=a?.missingInterpolationHandler||this.options.missingInterpolationHandler,u=a?.interpolation?.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:m=>_0(m)},{regex:this.regexp,safeValue:m=>this.escapeValue?_0(this.escape(m)):_0(m)}].forEach(m=>{for(l=0;s=m.regex.exec(t);){const g=s[1].trim();if(i=d(g),i===void 0)if(typeof p=="function"){const x=p(t,s,a);i=jt(x)?x:""}else if(a&&Object.prototype.hasOwnProperty.call(a,g))i="";else if(u){i=s[0];continue}else this.logger.warn(`missed to pass in variable ${g} for interpolating ${t}`),i="";else!jt(i)&&!this.useRawValueToEscape&&(i=d5(i));const b=m.safeValue(i);if(t=t.replace(s[0],b),u?(m.regex.lastIndex+=i.length,m.regex.lastIndex-=s[0].length):m.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),t}nest(t,r,n={}){let a,s,i;const l=(c,d)=>{const p=this.nestingOptionsSeparator;if(c.indexOf(p)<0)return c;const u=c.split(new RegExp(`${Vo(p)}[ ]*{`));let h=`{${u[1]}`;c=u[0],h=this.interpolate(h,i);const m=h.match(/'/g),g=h.match(/"/g);((m?.length??0)%2===0&&!g||(g?.length??0)%2!==0)&&(h=h.replace(/'/g,'"'));try{i=JSON.parse(h),d&&(i={...d,...i})}catch(b){return this.logger.warn(`failed parsing options string in nesting for key ${c}`,b),`${c}${p}${h}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,c};for(;a=this.nestingRegexp.exec(t);){let c=[];i={...n},i=i.replace&&!jt(i.replace)?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;const d=/{.*}/.test(a[1])?a[1].lastIndexOf("}")+1:a[1].indexOf(this.formatSeparator);if(d!==-1&&(c=a[1].slice(d).split(this.formatSeparator).map(p=>p.trim()).filter(Boolean),a[1]=a[1].slice(0,d)),s=r(l.call(this,a[1].trim(),i),i),s&&a[0]===t&&!jt(s))return s;jt(s)||(s=d5(s)),s||(this.logger.warn(`missed to resolve ${a[1]} for nesting ${t}`),s=""),c.length&&(s=c.reduce((p,u)=>this.format(p,u,n.lng,{...n,interpolationkey:a[1].trim()}),s.trim())),t=t.replace(a[0],s),this.regexp.lastIndex=0}return t}}const QX=e=>{let t=e.toLowerCase().trim();const r={};if(e.indexOf("(")>-1){const n=e.split("(");t=n[0].toLowerCase().trim();const a=n[1].substring(0,n[1].length-1);t==="currency"&&a.indexOf(":")<0?r.currency||(r.currency=a.trim()):t==="relativetime"&&a.indexOf(":")<0?r.range||(r.range=a.trim()):a.split(";").forEach(i=>{if(i){const[l,...c]=i.split(":"),d=c.join(":").trim().replace(/^'+|'+$/g,""),p=l.trim();r[p]||(r[p]=d),d==="false"&&(r[p]=!1),d==="true"&&(r[p]=!0),isNaN(d)||(r[p]=parseInt(d,10))}})}return{formatName:t,formatOptions:r}},w5=e=>{const t={};return(r,n,a)=>{let s=a;a&&a.interpolationkey&&a.formatParams&&a.formatParams[a.interpolationkey]&&a[a.interpolationkey]&&(s={...s,[a.interpolationkey]:void 0});const i=n+JSON.stringify(s);let l=t[i];return l||(l=e(Qd(n),a),t[i]=l),l(r)}},eZ=e=>(t,r,n)=>e(Qd(r),n)(t);class tZ{constructor(t={}){this.logger=rs.create("formatter"),this.options=t,this.init(t)}init(t,r={interpolation:{}}){this.formatSeparator=r.interpolation.formatSeparator||",";const n=r.cacheInBuiltFormats?w5:eZ;this.formats={number:n((a,s)=>{const i=new Intl.NumberFormat(a,{...s});return l=>i.format(l)}),currency:n((a,s)=>{const i=new Intl.NumberFormat(a,{...s,style:"currency"});return l=>i.format(l)}),datetime:n((a,s)=>{const i=new Intl.DateTimeFormat(a,{...s});return l=>i.format(l)}),relativetime:n((a,s)=>{const i=new Intl.RelativeTimeFormat(a,{...s});return l=>i.format(l,s.range||"day")}),list:n((a,s)=>{const i=new Intl.ListFormat(a,{...s});return l=>i.format(l)})}}add(t,r){this.formats[t.toLowerCase().trim()]=r}addCached(t,r){this.formats[t.toLowerCase().trim()]=w5(r)}format(t,r,n,a={}){const s=r.split(this.formatSeparator);if(s.length>1&&s[0].indexOf("(")>1&&s[0].indexOf(")")<0&&s.find(l=>l.indexOf(")")>-1)){const l=s.findIndex(c=>c.indexOf(")")>-1);s[0]=[s[0],...s.splice(1,l)].join(this.formatSeparator)}return s.reduce((l,c)=>{const{formatName:d,formatOptions:p}=QX(c);if(this.formats[d]){let u=l;try{const h=a?.formatParams?.[a.interpolationkey]||{},m=h.locale||h.lng||a.locale||a.lng||n;u=this.formats[d](l,m,{...p,...a,...h})}catch(h){this.logger.warn(h)}return u}else this.logger.warn(`there was no format function for ${d}`);return l},t)}}const rZ=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class nZ extends Yh{constructor(t,r,n,a={}){super(),this.backend=t,this.store=r,this.services=n,this.languageUtils=n.languageUtils,this.options=a,this.logger=rs.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=a.maxParallelReads||10,this.readingCalls=0,this.maxRetries=a.maxRetries>=0?a.maxRetries:5,this.retryTimeout=a.retryTimeout>=1?a.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,a.backend,a)}queueLoad(t,r,n,a){const s={},i={},l={},c={};return t.forEach(d=>{let p=!0;r.forEach(u=>{const h=`${d}|${u}`;!n.reload&&this.store.hasResourceBundle(d,u)?this.state[h]=2:this.state[h]<0||(this.state[h]===1?i[h]===void 0&&(i[h]=!0):(this.state[h]=1,p=!1,i[h]===void 0&&(i[h]=!0),s[h]===void 0&&(s[h]=!0),c[u]===void 0&&(c[u]=!0)))}),p||(l[d]=!0)}),(Object.keys(s).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:a}),{toLoad:Object.keys(s),pending:Object.keys(i),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(c)}}loaded(t,r,n){const a=t.split("|"),s=a[0],i=a[1];r&&this.emit("failedLoading",s,i,r),!r&&n&&this.store.addResourceBundle(s,i,n,void 0,void 0,{skipCopy:!0}),this.state[t]=r?-1:2,r&&n&&(this.state[t]=0);const l={};this.queue.forEach(c=>{UX(c.loaded,[s],i),rZ(c,t),r&&c.errors.push(r),c.pendingCount===0&&!c.done&&(Object.keys(c.loaded).forEach(d=>{l[d]||(l[d]={});const p=c.loaded[d];p.length&&p.forEach(u=>{l[d][u]===void 0&&(l[d][u]=!0)})}),c.done=!0,c.errors.length?c.callback(c.errors):c.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(c=>!c.done)}read(t,r,n,a=0,s=this.retryTimeout,i){if(!t.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:r,fcName:n,tried:a,wait:s,callback:i});return}this.readingCalls++;const l=(d,p)=>{if(this.readingCalls--,this.waitingReads.length>0){const u=this.waitingReads.shift();this.read(u.lng,u.ns,u.fcName,u.tried,u.wait,u.callback)}if(d&&p&&a<this.maxRetries){setTimeout(()=>{this.read.call(this,t,r,n,a+1,s*2,i)},s);return}i(d,p)},c=this.backend[n].bind(this.backend);if(c.length===2){try{const d=c(t,r);d&&typeof d.then=="function"?d.then(p=>l(null,p)).catch(l):l(null,d)}catch(d){l(d)}return}return c(t,r,l)}prepareLoading(t,r,n={},a){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();jt(t)&&(t=this.languageUtils.toResolveHierarchy(t)),jt(r)&&(r=[r]);const s=this.queueLoad(t,r,n,a);if(!s.toLoad.length)return s.pending.length||a(),null;s.toLoad.forEach(i=>{this.loadOne(i)})}load(t,r,n){this.prepareLoading(t,r,{},n)}reload(t,r,n){this.prepareLoading(t,r,{reload:!0},n)}loadOne(t,r=""){const n=t.split("|"),a=n[0],s=n[1];this.read(a,s,"read",void 0,void 0,(i,l)=>{i&&this.logger.warn(`${r}loading namespace ${s} for language ${a} failed`,i),!i&&l&&this.logger.log(`${r}loaded namespace ${s} for language ${a}`,l),this.loaded(t,i,l)})}saveMissing(t,r,n,a,s,i={},l=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(r)){this.logger.warn(`did not save key "${n}" as the namespace "${r}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(n==null||n==="")){if(this.backend?.create){const c={...i,isUpdate:s},d=this.backend.create.bind(this.backend);if(d.length<6)try{let p;d.length===5?p=d(t,r,n,a,c):p=d(t,r,n,a),p&&typeof p.then=="function"?p.then(u=>l(null,u)).catch(l):l(null,p)}catch(p){l(p)}else d(t,r,n,a,l,c)}!t||!t[0]||this.store.addResource(t[0],r,n,a)}}}const P0=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),jt(e[1])&&(t.defaultValue=e[1]),jt(e[2])&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const r=e[3]||e[2];Object.keys(r).forEach(n=>{t[n]=r[n]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),k5=e=>(jt(e.ns)&&(e.ns=[e.ns]),jt(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),jt(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),typeof e.initImmediate=="boolean"&&(e.initAsync=e.initImmediate),e),dp=()=>{},aZ=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(r=>{typeof e[r]=="function"&&(e[r]=e[r].bind(e))})},vA="__i18next_supportNoticeShown",sZ=()=>!!(typeof globalThis<"u"&&globalThis[vA]||typeof process<"u"&&E0&&E0.I18NEXT_NO_SUPPORT_NOTICE||typeof process<"u"&&E0),oZ=()=>{typeof globalThis<"u"&&(globalThis[vA]=!0)},iZ=e=>!!(e?.modules?.backend?.name?.indexOf("Locize")>0||e?.modules?.backend?.constructor?.name?.indexOf("Locize")>0||e?.options?.backend?.backends&&e.options.backend.backends.some(t=>t?.name?.indexOf("Locize")>0||t?.constructor?.name?.indexOf("Locize")>0)||e?.options?.backend?.projectId||e?.options?.backend?.backendOptions&&e.options.backend.backendOptions.some(t=>t?.projectId));class Ed extends Yh{constructor(t={},r){if(super(),this.options=k5(t),this.services={},this.logger=rs,this.modules={external:[]},aZ(this),r&&!this.isInitialized&&!t.isClone){if(!this.options.initAsync)return this.init(t,r),this;setTimeout(()=>{this.init(t,r)},0)}}init(t={},r){this.isInitializing=!0,typeof t=="function"&&(r=t,t={}),t.defaultNS==null&&t.ns&&(jt(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const n=P0();this.options={...n,...this.options,...k5(t)},this.options.interpolation={...n.interpolation,...this.options.interpolation},t.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=t.keySeparator),t.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=t.nsSeparator),typeof this.options.overloadTranslationOptionHandler!="function"&&(this.options.overloadTranslationOptionHandler=n.overloadTranslationOptionHandler),this.options.showSupportNotice!==!1&&!iZ(this)&&!sZ()&&(typeof console<"u"&&typeof console.info<"u"&&console.info("🌐 i18next is made possible by our own product, Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙"),oZ());const a=d=>d?typeof d=="function"?new d:d:null;if(!this.options.isClone){this.modules.logger?rs.init(a(this.modules.logger),this.options):rs.init(null,this.options);let d;this.modules.formatter?d=this.modules.formatter:d=tZ;const p=new g5(this.options);this.store=new h5(this.options.resources,this.options);const u=this.services;u.logger=rs,u.resourceStore=this.store,u.languageUtils=p,u.pluralResolver=new JX(p,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),d&&(!this.options.interpolation.format||this.options.interpolation.format===n.interpolation.format)&&(u.formatter=a(d),u.formatter.init&&u.formatter.init(u,this.options),this.options.interpolation.format=u.formatter.format.bind(u.formatter)),u.interpolator=new y5(this.options),u.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},u.backendConnector=new nZ(a(this.modules.backend),u.resourceStore,u,this.options),u.backendConnector.on("*",(m,...g)=>{this.emit(m,...g)}),this.modules.languageDetector&&(u.languageDetector=a(this.modules.languageDetector),u.languageDetector.init&&u.languageDetector.init(u,this.options.detection,this.options)),this.modules.i18nFormat&&(u.i18nFormat=a(this.modules.i18nFormat),u.i18nFormat.init&&u.i18nFormat.init(this)),this.translator=new eh(this.services,this.options),this.translator.on("*",(m,...g)=>{this.emit(m,...g)}),this.modules.external.forEach(m=>{m.init&&m.init(this)})}if(this.format=this.options.interpolation.format,r||(r=dp),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.length>0&&d[0]!=="dev"&&(this.options.lng=d[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(d=>{this[d]=(...p)=>this.store[d](...p)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(d=>{this[d]=(...p)=>(this.store[d](...p),this)});const l=Lc(),c=()=>{const d=(p,u)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),l.resolve(u),r(p,u)};if(this.languages&&!this.isInitialized)return d(null,this.t.bind(this));this.changeLanguage(this.options.lng,d)};return this.options.resources||!this.options.initAsync?c():setTimeout(c,0),l}loadResources(t,r=dp){let n=r;const a=jt(t)?t:this.language;if(typeof t=="function"&&(n=t),!this.options.resources||this.options.partialBundledLanguages){if(a?.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return n();const s=[],i=l=>{if(!l||l==="cimode")return;this.services.languageUtils.toResolveHierarchy(l).forEach(d=>{d!=="cimode"&&s.indexOf(d)<0&&s.push(d)})};a?i(a):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(c=>i(c)),this.options.preload?.forEach?.(l=>i(l)),this.services.backendConnector.load(s,this.options.ns,l=>{!l&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(l)})}else n(null)}reloadResources(t,r,n){const a=Lc();return typeof t=="function"&&(n=t,t=void 0),typeof r=="function"&&(n=r,r=void 0),t||(t=this.languages),r||(r=this.options.ns),n||(n=dp),this.services.backendConnector.reload(t,r,s=>{a.resolve(),n(s)}),a}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&bA.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1)){for(let r=0;r<this.languages.length;r++){const n=this.languages[r];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}!this.resolvedLanguage&&this.languages.indexOf(t)<0&&this.store.hasLanguageSomeTranslations(t)&&(this.resolvedLanguage=t,this.languages.unshift(t))}}changeLanguage(t,r){this.isLanguageChangingTo=t;const n=Lc();this.emit("languageChanging",t);const a=l=>{this.language=l,this.languages=this.services.languageUtils.toResolveHierarchy(l),this.resolvedLanguage=void 0,this.setResolvedLanguage(l)},s=(l,c)=>{c?this.isLanguageChangingTo===t&&(a(c),this.translator.changeLanguage(c),this.isLanguageChangingTo=void 0,this.emit("languageChanged",c),this.logger.log("languageChanged",c)):this.isLanguageChangingTo=void 0,n.resolve((...d)=>this.t(...d)),r&&r(l,(...d)=>this.t(...d))},i=l=>{!t&&!l&&this.services.languageDetector&&(l=[]);const c=jt(l)?l:l&&l[0],d=this.store.hasLanguageSomeTranslations(c)?c:this.services.languageUtils.getBestMatchFromCodes(jt(l)?[l]:l);d&&(this.language||a(d),this.translator.language||this.translator.changeLanguage(d),this.services.languageDetector?.cacheUserLanguage?.(d)),this.loadResources(d,p=>{s(p,d)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?i(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(i):this.services.languageDetector.detect(i):i(t),n}getFixedT(t,r,n){const a=(s,i,...l)=>{let c;typeof i!="object"?c=this.options.overloadTranslationOptionHandler([s,i].concat(l)):c={...i},c.lng=c.lng||a.lng,c.lngs=c.lngs||a.lngs,c.ns=c.ns||a.ns,c.keyPrefix!==""&&(c.keyPrefix=c.keyPrefix||n||a.keyPrefix);const d={...this.options,...c};typeof c.keyPrefix=="function"&&(c.keyPrefix=vi(c.keyPrefix,d));const p=this.options.keySeparator||".";let u;return c.keyPrefix&&Array.isArray(s)?u=s.map(h=>(typeof h=="function"&&(h=vi(h,d)),`${c.keyPrefix}${p}${h}`)):(typeof s=="function"&&(s=vi(s,d)),u=c.keyPrefix?`${c.keyPrefix}${p}${s}`:s),this.t(u,c)};return jt(t)?a.lng=t:a.lngs=t,a.ns=r,a.keyPrefix=n,a}t(...t){return this.translator?.translate(...t)}exists(...t){return this.translator?.exists(...t)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t,r={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const n=r.lng||this.resolvedLanguage||this.languages[0],a=this.options?this.options.fallbackLng:!1,s=this.languages[this.languages.length-1];if(n.toLowerCase()==="cimode")return!0;const i=(l,c)=>{const d=this.services.backendConnector.state[`${l}|${c}`];return d===-1||d===0||d===2};if(r.precheck){const l=r.precheck(this,i);if(l!==void 0)return l}return!!(this.hasResourceBundle(n,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||i(n,t)&&(!a||i(s,t)))}loadNamespaces(t,r){const n=Lc();return this.options.ns?(jt(t)&&(t=[t]),t.forEach(a=>{this.options.ns.indexOf(a)<0&&this.options.ns.push(a)}),this.loadResources(a=>{n.resolve(),r&&r(a)}),n):(r&&r(),Promise.resolve())}loadLanguages(t,r){const n=Lc();jt(t)&&(t=[t]);const a=this.options.preload||[],s=t.filter(i=>a.indexOf(i)<0&&this.services.languageUtils.isSupportedCode(i));return s.length?(this.options.preload=a.concat(s),this.loadResources(i=>{n.resolve(),r&&r(i)}),n):(r&&r(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!t)return"rtl";try{const a=new Intl.Locale(t);if(a&&a.getTextInfo){const s=a.getTextInfo();if(s&&s.direction)return s.direction}}catch{}const r=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],n=this.services?.languageUtils||new g5(P0());return t.toLowerCase().indexOf("-latn")>1?"ltr":r.indexOf(n.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(t={},r){const n=new Ed(t,r);return n.createInstance=Ed.createInstance,n}cloneInstance(t={},r=dp){const n=t.forkResourceStore;n&&delete t.forkResourceStore;const a={...this.options,...t,isClone:!0},s=new Ed(a);if((t.debug!==void 0||t.prefix!==void 0)&&(s.logger=s.logger.clone(t)),["store","services","language"].forEach(l=>{s[l]=this[l]}),s.services={...this.services},s.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},n){const l=Object.keys(this.store.data).reduce((c,d)=>(c[d]={...this.store.data[d]},c[d]=Object.keys(c[d]).reduce((p,u)=>(p[u]={...c[d][u]},p),c[d]),c),{});s.store=new h5(l,a),s.services.resourceStore=s.store}if(t.interpolation){const c={...P0().interpolation,...this.options.interpolation,...t.interpolation},d={...a,interpolation:c};s.services.interpolator=new y5(d)}return s.translator=new eh(s.services,a),s.translator.on("*",(l,...c)=>{s.emit(l,...c)}),s.init(a,r),s.translator.options=a,s.translator.backendConnector.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},s}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const Or=Ed.createInstance();Or.createInstance;Or.dir;Or.init;Or.loadResources;Or.reloadResources;Or.use;Or.changeLanguage;Or.getFixedT;Or.t;Or.exists;Or.setDefaultNamespace;Or.hasLoadedNamespace;Or.loadNamespaces;Or.loadLanguages;var M0,S5;function lZ(){return S5||(S5=1,M0={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),M0}var cZ=lZ();const dZ=pt(cZ);var uZ=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?("[^"]*"|'[^']*')/g;function C5(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},r=e.match(/<\/?([^\s]+?)[/\s>]/);if(r&&(t.name=r[1],(dZ[r[1]]||e.charAt(e.length-2)==="/")&&(t.voidElement=!0),t.name.startsWith("!--"))){var n=e.indexOf("-->");return{type:"comment",comment:n!==-1?e.slice(4,n):""}}for(var a=new RegExp(uZ),s=null;(s=a.exec(e))!==null;)if(s[0].trim())if(s[1]){var i=s[1].trim(),l=[i,""];i.indexOf("=")>-1&&(l=i.split("=")),t.attrs[l[0]]=l[1],a.lastIndex--}else s[2]&&(t.attrs[s[2]]=s[3].trim().substring(1,s[3].length-1));return t}var pZ=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,mZ=/^\s*$/,hZ=Object.create(null);function yA(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?(function(r){var n=[];for(var a in r)n.push(a+'="'+r[a]+'"');return n.length?" "+n.join(" "):""})(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(yA,"")+"</"+t.name+">";case"comment":return e+"<!--"+t.comment+"-->"}}var fZ={parse:function(e,t){t||(t={}),t.components||(t.components=hZ);var r,n=[],a=[],s=-1,i=!1;if(e.indexOf("<")!==0){var l=e.indexOf("<");n.push({type:"text",content:l===-1?e:e.substring(0,l)})}for(var c,d=[];c=pZ.exec(e);)d.push(c);return d.forEach(function(p,u){var h=p[0];if(h&&!h.startsWith("<!--")){for(var m=0,g=0,b=-1,x=null,v=0;v<h.length;v++){var y=h.charAt(v);x?y===x&&(x=null):y==='"'||y==="'"?x=y:y==="<"?++m==2&&(b=v):y===">"&&g++}var w=b>-1&&/[a-zA-Z0-9\-!/]/.test(h.charAt(b+1));if(m>g&&w){var S=h.substring(0,b),j=h.substring(S.length);d[u][0]=j,d[u].index+=S.length}}}),d.forEach(function(p,u){var h=p[0];if(h){var m=p.index;if(i){if(h!=="</"+r.name+">")return;i=!1}var g,b,x=h.charAt(1)!=="/",v=h.startsWith("<!--"),y=m+h.length,w=e.charAt(y),S=d[u+1];if(w==="<"&&S){var j=e.substring(y,S.index);g=j.split("<").length>j.split(">").length}if(v){var k=C5(h);if(s<0)return n.push(k),n;(b=a[s]).children.push(k);var C=e.slice(y,S?S.index:void 0);return C.length>0&&b.children.push({type:"text",content:C}),n}if(x&&(s++,(r=C5(h)).type==="tag"&&t.components[r.name]&&(r.type="component",i=!0),r.voidElement||i||!w||w==="<"||r.children.push({type:"text",content:e.slice(y,S?S.index:void 0)}),s===0&&n.push(r),(b=a[s-1])&&b.children.push(r),a[s]=r),(!x||r.voidElement)&&(s>-1&&(r.voidElement||r.name===h.slice(2,-1))&&(s--,r=s===-1?n:a[s]),!i&&(w!=="<"||g)&&w)){b=s===-1?n:a[s].children;var E=S?S.index:-1,T=e.slice(y,E===-1?void 0:E);mZ.test(T)&&(T=" "),(E>-1&&s+b.length>=0||T!==" ")&&b.push({type:"text",content:T})}}}),n},stringify:function(e){return e.reduce(function(t,r){return t+yA("",r)},"")}};const dm=(e,t,r,n)=>{const a=[r,{code:t,...n||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(a,"warn","react-i18next::",!0);Yn(a[0])&&(a[0]=`react-i18next:: ${a[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...a):console?.warn&&console.warn(...a)},j5={},eu=(e,t,r,n)=>{Yn(r)&&j5[r]||(Yn(r)&&(j5[r]=new Date),dm(e,t,r,n))},wA=(e,t)=>()=>{if(e.isInitialized)t();else{const r=()=>{setTimeout(()=>{e.off("initialized",r)},0),t()};e.on("initialized",r)}},Lv=(e,t,r)=>{e.loadNamespaces(t,wA(e,r))},N5=(e,t,r,n)=>{if(Yn(r)&&(r=[r]),e.options.preload&&e.options.preload.indexOf(t)>-1)return Lv(e,r,n);r.forEach(a=>{e.options.ns.indexOf(a)<0&&e.options.ns.push(a)}),e.loadLanguages(t,wA(e,n))},gZ=(e,t,r={})=>!t.languages||!t.languages.length?(eu(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:r.lng,precheck:(n,a)=>{if(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&n.services.backendConnector.backend&&n.isLanguageChangingTo&&!a(n.isLanguageChangingTo,e))return!1}}),Yn=e=>typeof e=="string",Ds=e=>typeof e=="object"&&e!==null,bZ=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,xZ={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},vZ=e=>xZ[e],kA=e=>e.replace(bZ,vZ);let $v={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:kA,transDefaultProps:void 0};const yZ=(e={})=>{$v={...$v,...e}},pw=()=>$v;let SA;const wZ=e=>{SA=e},mw=()=>SA,um=(e,t)=>{if(!e)return!1;const r=e.props?.children??e.children;return t?r.length>0:!!r},pm=e=>{if(!e)return[];const t=e.props?.children??e.children;return e.props?.i18nIsDynamicList?xi(t):t},kZ=e=>Array.isArray(e)&&e.every(f.isValidElement),xi=e=>Array.isArray(e)?e:[e],SZ=(e,t)=>{const r={...t};return r.props={...t.props,...e.props},r},CZ=e=>{const t={};if(!e)return t;const r=n=>{xi(n).forEach(s=>{Yn(s)||(um(s)?r(pm(s)):Ds(s)&&!f.isValidElement(s)&&Object.assign(t,s))})};return r(e),t},CA=(e,t,r,n)=>{if(!e)return"";let a="";const s=xi(e),i=t?.transSupportBasicHtmlNodes?t.transKeepBasicHtmlNodesFor??[]:[];return s.forEach((l,c)=>{if(Yn(l)){a+=`${l}`;return}if(f.isValidElement(l)){const{props:d,type:p}=l,u=Object.keys(d).length,h=i.indexOf(p)>-1,m=d.children;if(!m&&h&&!u){a+=`<${p}/>`;return}if(!m&&(!h||u)||d.i18nIsDynamicList){a+=`<${c}></${c}>`;return}if(h&&u===1&&Yn(m)){a+=`<${p}>${m}</${p}>`;return}const g=CA(m,t,r,n);a+=`<${c}>${g}</${c}>`;return}if(l===null){dm(r,"TRANS_NULL_VALUE","Passed in a null value as child",{i18nKey:n});return}if(Ds(l)){const{format:d,...p}=l,u=Object.keys(p);if(u.length===1){const h=d?`${u[0]}, ${d}`:u[0];a+=`{{${h}}}`;return}dm(r,"TRANS_INVALID_OBJ","Invalid child - Object should only have keys {{ value, format }} (format is optional).",{i18nKey:n,child:l});return}dm(r,"TRANS_INVALID_VAR","Passed in a variable like {number} - pass variables for interpolation as full objects like {{number}}.",{i18nKey:n,child:l})}),a},jZ=(e,t=[],r={})=>{if(!e)return e;const n=Object.keys(r),a=[...t,...n];let s="",i=0;for(;i<e.length;)if(e[i]==="<"){let l=!1;const c=e.slice(i).match(/^<\/(\d+|[a-zA-Z][a-zA-Z0-9_-]*)>/);if(c){const d=c[1];(/^\d+$/.test(d)||a.includes(d))&&(l=!0,s+=c[0],i+=c[0].length)}if(!l){const d=e.slice(i).match(/^<(\d+|[a-zA-Z][a-zA-Z0-9_-]*)(\s+[\w-]+(?:=(?:"[^"]*"|'[^']*'|[^\s>]+))?)*\s*(\/)?>/);if(d){const p=d[1];(/^\d+$/.test(p)||a.includes(p))&&(l=!0,s+=d[0],i+=d[0].length)}}l||(s+="&lt;",i+=1)}else s+=e[i],i+=1;return s},NZ=(e,t,r,n,a,s,i)=>{if(r==="")return[];const l=a.transKeepBasicHtmlNodesFor||[],c=r&&new RegExp(l.map(y=>`<${y}`).join("|")).test(r);if(!e&&!t&&!c&&!i)return[r];const d=t??{},p=y=>{xi(y).forEach(S=>{Yn(S)||(um(S)?p(pm(S)):Ds(S)&&!f.isValidElement(S)&&Object.assign(d,S))})};p(e);const u=jZ(r,l,d),h=fZ.parse(`<0>${u}</0>`),m={...d,...s},g=(y,w,S)=>{const j=pm(y),k=x(j,w.children,S);return kZ(j)&&k.length===0||y.props?.i18nIsDynamicList?j:k},b=(y,w,S,j,k)=>{y.dummy?(y.children=w,S.push(f.cloneElement(y,{key:j},k?void 0:w))):S.push(...f.Children.map([y],C=>{const E="data-i18n-is-dynamic-list",T={key:j,[E]:void 0};return C&&C.props&&Object.keys(C.props).forEach(N=>{N==="ref"||N==="children"||N==="i18nIsDynamicList"||N===E||(T[N]=C.props[N])}),f.cloneElement(C,T,k?null:w)}))},x=(y,w,S)=>{const j=xi(y);return xi(w).reduce((C,E,T)=>{const N=E.children?.[0]?.content&&n.services.interpolator.interpolate(E.children[0].content,m,n.language);if(E.type==="tag"){let D=j[parseInt(E.name,10)];!D&&t&&(D=t[E.name]),S.length===1&&!D&&(D=S[0][E.name]),D||(D={});const A={...E.attrs};i&&Object.keys(A).forEach(H=>{const L=A[H];Yn(L)&&(A[H]=kA(L))});const U=Object.keys(A).length!==0?SZ({props:A},D):D,_=f.isValidElement(U),q=_&&um(E,!0)&&!E.voidElement,z=c&&Ds(U)&&U.dummy&&!_,F=Ds(t)&&Object.hasOwnProperty.call(t,E.name);if(Yn(U)){const H=n.services.interpolator.interpolate(U,m,n.language);C.push(H)}else if(um(U)||q){const H=g(U,E,S);b(U,H,C,T)}else if(z){const H=x(j,E.children,S);b(U,H,C,T)}else if(Number.isNaN(parseFloat(E.name)))if(F){const H=g(U,E,S);b(U,H,C,T,E.voidElement)}else if(a.transSupportBasicHtmlNodes&&l.indexOf(E.name)>-1)if(E.voidElement)C.push(f.createElement(E.name,{key:`${E.name}-${T}`}));else{const H=x(j,E.children,S);C.push(f.createElement(E.name,{key:`${E.name}-${T}`},H))}else if(E.voidElement)C.push(`<${E.name} />`);else{const H=x(j,E.children,S);C.push(`<${E.name}>${H}</${E.name}>`)}else if(Ds(U)&&!_){const H=E.children[0]?N:null;H&&C.push(H)}else b(U,N,C,T,E.children.length!==1||!N)}else if(E.type==="text"){const D=a.transWrapTextNodes,A=typeof a.unescape=="function"?a.unescape:pw().unescape,U=i?A(n.services.interpolator.interpolate(E.content,m,n.language)):n.services.interpolator.interpolate(E.content,m,n.language);D?C.push(f.createElement(D,{key:`${E.name}-${T}`},U)):C.push(U)}return C},[])},v=x([{dummy:!0,children:e||[]}],h,xi(e||[]));return pm(v[0])},jA=(e,t,r)=>{const n=e.key||t,a=f.cloneElement(e,{key:n});if(!a.props||!a.props.children||r.indexOf(`${t}/>`)<0&&r.indexOf(`${t} />`)<0)return a;function s(){return f.createElement(f.Fragment,null,a)}return f.createElement(s,{key:n})},TZ=(e,t)=>e.map((r,n)=>jA(r,n,t)),EZ=(e,t)=>{const r={};return Object.keys(e).forEach(n=>{Object.assign(r,{[n]:jA(e[n],n,t)})}),r},AZ=(e,t,r,n)=>e?Array.isArray(e)?TZ(e,t):Ds(e)?EZ(e,t):(eu(r,"TRANS_INVALID_COMPONENTS",'<Trans /> "components" prop expects an object or array',{i18nKey:n}),null):null,_Z=e=>!Ds(e)||Array.isArray(e)?!1:Object.keys(e).reduce((t,r)=>t&&Number.isNaN(Number.parseFloat(r)),!0);function PZ({children:e,count:t,parent:r,i18nKey:n,context:a,tOptions:s={},values:i,defaults:l,components:c,ns:d,i18n:p,t:u,shouldUnescape:h,...m}){const g=p||mw();if(!g)return eu(g,"NO_I18NEXT_INSTANCE","Trans: You need to pass in an i18next instance using i18nextReactModule",{i18nKey:n}),e;const b=u||g.t.bind(g)||(M=>M),x={...pw(),...g.options?.react};let v=d||b.ns||g.options?.defaultNS;v=Yn(v)?[v]:v||["translation"];const{transDefaultProps:y}=x,w=y?.tOptions?{...y.tOptions,...s}:s,S=h??y?.shouldUnescape,j=y?.values?{...y.values,...i}:i,k=y?.components?{...y.components,...c}:c,C=CA(e,x,g,n),E=l||w?.defaultValue||C||x.transEmptyNodeValue||(typeof n=="function"?vi(n):n),{hashTransKey:T}=x,N=n||(T?T(C||E):C||E);g.options?.interpolation?.defaultVariables?i=j&&Object.keys(j).length>0?{...j,...g.options.interpolation.defaultVariables}:{...g.options.interpolation.defaultVariables}:i=j;const D=CZ(e);D&&typeof D.count=="number"&&t===void 0&&(t=D.count);const A=i||t!==void 0&&!g.options?.interpolation?.alwaysFormat||!e?w.interpolation:{interpolation:{...w.interpolation,prefix:"#$?",suffix:"?$#"}},U={...w,context:a||w.context,count:t,...i,...A,defaultValue:E,ns:v};let _=N?b(N,U):E;_===N&&E&&(_=E);const q=AZ(k,_,g,n);let z=q||e,F=null;_Z(q)&&(F=q,z=e);const H=NZ(z,F,_,g,x,U,S),L=r??x.defaultTransParent;return L?f.createElement(L,m,H):H}const MZ={type:"3rdParty",init(e){yZ(e.options.react),wZ(e)}},hw=f.createContext();class IZ{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(r=>{this.usedNamespaces[r]||(this.usedNamespaces[r]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}function DZ({children:e,count:t,parent:r,i18nKey:n,context:a,tOptions:s={},values:i,defaults:l,components:c,ns:d,i18n:p,t:u,shouldUnescape:h,...m}){const{i18n:g,defaultNS:b}=f.useContext(hw)||{},x=p||g||mw(),v=u||x?.t.bind(x);return PZ({children:e,count:t,parent:r,i18nKey:n,context:a,tOptions:s,values:i,defaults:l,components:c,ns:d||v?.ns||b||x?.options?.defaultNS,i18n:x,t:u,shouldUnescape:h,...m})}var I0={exports:{}},D0={};var T5;function RZ(){if(T5)return D0;T5=1;var e=tB();function t(u,h){return u===h&&(u!==0||1/u===1/h)||u!==u&&h!==h}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,a=e.useEffect,s=e.useLayoutEffect,i=e.useDebugValue;function l(u,h){var m=h(),g=n({inst:{value:m,getSnapshot:h}}),b=g[0].inst,x=g[1];return s(function(){b.value=m,b.getSnapshot=h,c(b)&&x({inst:b})},[u,m,h]),a(function(){return c(b)&&x({inst:b}),u(function(){c(b)&&x({inst:b})})},[u]),i(m),m}function c(u){var h=u.getSnapshot;u=u.value;try{var m=h();return!r(u,m)}catch{return!0}}function d(u,h){return h()}var p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?d:l;return D0.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:p,D0}var E5;function zZ(){return E5||(E5=1,I0.exports=RZ()),I0.exports}var LZ=zZ();const $Z=(e,t)=>{if(Yn(t))return t;if(Ds(t)&&Yn(t.defaultValue))return t.defaultValue;if(typeof e=="function")return"";if(Array.isArray(e)){const r=e[e.length-1];return typeof r=="function"?"":r}return e},FZ={t:$Z,ready:!1},OZ=()=>()=>{},Ae=(e,t={})=>{const{i18n:r}=t,{i18n:n,defaultNS:a}=f.useContext(hw)||{},s=r||n||mw();s&&!s.reportNamespaces&&(s.reportNamespaces=new IZ),s||eu(s,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const i=f.useMemo(()=>({...pw(),...s?.options?.react,...t}),[s,t]),{useSuspense:l,keyPrefix:c}=i,d=e||a||s?.options?.defaultNS,p=Yn(d)?[d]:d||["translation"],u=f.useMemo(()=>p,p);s?.reportNamespaces?.addUsedNamespaces?.(u);const h=f.useRef(0),m=f.useCallback(T=>{if(!s)return OZ;const{bindI18n:N,bindI18nStore:D}=i,A=()=>{h.current+=1,T()};return N&&s.on(N,A),D&&s.store.on(D,A),()=>{N&&N.split(" ").forEach(U=>s.off(U,A)),D&&D.split(" ").forEach(U=>s.store.off(U,A))}},[s,i]),g=f.useRef(),b=f.useCallback(()=>{if(!s)return FZ;const T=!!(s.isInitialized||s.initializedStoreOnce)&&u.every(q=>gZ(q,s,i)),N=t.lng||s.language,D=h.current,A=g.current;if(A&&A.ready===T&&A.lng===N&&A.keyPrefix===c&&A.revision===D)return A;const _={t:s.getFixedT(N,i.nsMode==="fallback"?u:u[0],c),ready:T,lng:N,keyPrefix:c,revision:D};return g.current=_,_},[s,u,c,i,t.lng]),[x,v]=f.useState(0),{t:y,ready:w}=LZ.useSyncExternalStore(m,b,b);f.useEffect(()=>{if(s&&!w&&!l){const T=()=>v(N=>N+1);t.lng?N5(s,t.lng,u,T):Lv(s,u,T)}},[s,t.lng,u,w,l,x]);const S=s||{},j=f.useRef(null),k=f.useRef(),C=T=>{const N=Object.getOwnPropertyDescriptors(T);N.__original&&delete N.__original;const D=Object.create(Object.getPrototypeOf(T),N);if(!Object.prototype.hasOwnProperty.call(D,"__original"))try{Object.defineProperty(D,"__original",{value:T,writable:!1,enumerable:!1,configurable:!1})}catch{}return D},E=f.useMemo(()=>{const T=S,N=T?.language;let D=T;T&&(j.current&&j.current.__original===T?k.current!==N?(D=C(T),j.current=D,k.current=N):D=j.current:(D=C(T),j.current=D,k.current=N));const A=!w&&!l?(..._)=>(eu(s,"USE_T_BEFORE_READY","useTranslation: t was called before ready. When using useSuspense: false, make sure to check the ready flag before using t."),y(..._)):y,U=[A,D,w];return U.t=A,U.i18n=D,U.ready=w,U},[y,S,w,S.resolvedLanguage,S.language,S.languages]);if(s&&l&&!w)throw new Promise(T=>{const N=()=>T();t.lng?N5(s,t.lng,u,N):Lv(s,u,N)});return E};function NA({i18n:e,defaultNS:t,children:r}){const n=f.useMemo(()=>({i18n:e,defaultNS:t}),[e,t]);return f.createElement(hw.Provider,{value:n},r)}const Fs="auth-token-refreshed",Os="auth-session-expired",th=e=>typeof e=="string"&&/^[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+$/.test(e),TA=e=>{if(!th(e))return null;try{const t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),r=t.padEnd(t.length+(4-t.length%4)%4,"="),n=JSON.parse(atob(r));return typeof n.iat!="number"||!Number.isFinite(n.iat)||typeof n.exp!="number"||!Number.isFinite(n.exp)?null:{issuedAt:n.iat*1e3,expiresAt:n.exp*1e3}}catch{return null}},BZ=6e4,EA=e=>{const t=TA(e);return t?Date.now()>=t.expiresAt+BZ:!1},A5=e=>{const t=TA(e);if(!t)return null;const r=t.issuedAt+(t.expiresAt-t.issuedAt)/2;return Math.max(0,r-Date.now())},Xh=()=>{localStorage.removeItem("auth-token"),typeof window<"u"&&window.dispatchEvent(new Event(Os))},tu=()=>{const e=localStorage.getItem("auth-token");return e&&EA(e)?(Xh(),null):e},fw=e=>th(e)?(localStorage.setItem("auth-token",e),typeof window<"u"&&window.dispatchEvent(new CustomEvent(Fs,{detail:e})),!0):!1;function AA(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=AA(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function _A(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=AA(e))&&(n&&(n+=" "),n+=t);return n}const UZ=(e,t)=>{const r=new Array(e.length+t.length);for(let n=0;n<e.length;n++)r[n]=e[n];for(let n=0;n<t.length;n++)r[e.length+n]=t[n];return r},HZ=(e,t)=>({classGroupId:e,validator:t}),PA=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),rh="-",_5=[],qZ="arbitrary..",WZ=e=>{const t=GZ(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return VZ(i);const l=i.split(rh),c=l[0]===""&&l.length>1?1:0;return MA(l,c,t)},getConflictingClassGroupIds:(i,l)=>{if(l){const c=n[i],d=r[i];return c?d?UZ(d,c):c:d||_5}return r[i]||_5}}},MA=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;const a=e[t],s=r.nextPart.get(a);if(s){const d=MA(e,t+1,s);if(d)return d}const i=r.validators;if(i===null)return;const l=t===0?e.join(rh):e.slice(t).join(rh),c=i.length;for(let d=0;d<c;d++){const p=i[d];if(p.validator(l))return p.classGroupId}},VZ=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),r=t.indexOf(":"),n=t.slice(0,r);return n?qZ+n:void 0})(),GZ=e=>{const{theme:t,classGroups:r}=e;return KZ(r,t)},KZ=(e,t)=>{const r=PA();for(const n in e){const a=e[n];gw(a,r,n,t)}return r},gw=(e,t,r,n)=>{const a=e.length;for(let s=0;s<a;s++){const i=e[s];YZ(i,t,r,n)}},YZ=(e,t,r,n)=>{if(typeof e=="string"){XZ(e,t,r);return}if(typeof e=="function"){ZZ(e,t,r,n);return}JZ(e,t,r,n)},XZ=(e,t,r)=>{const n=e===""?t:IA(t,e);n.classGroupId=r},ZZ=(e,t,r,n)=>{if(QZ(e)){gw(e(n),t,r,n);return}t.validators===null&&(t.validators=[]),t.validators.push(HZ(r,e))},JZ=(e,t,r,n)=>{const a=Object.entries(e),s=a.length;for(let i=0;i<s;i++){const[l,c]=a[i];gw(c,IA(t,l),r,n)}},IA=(e,t)=>{let r=e;const n=t.split(rh),a=n.length;for(let s=0;s<a;s++){const i=n[s];let l=r.nextPart.get(i);l||(l=PA(),r.nextPart.set(i,l)),r=l}return r},QZ=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,eJ=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null);const a=(s,i)=>{r[s]=i,t++,t>e&&(t=0,n=r,r=Object.create(null))};return{get(s){let i=r[s];if(i!==void 0)return i;if((i=n[s])!==void 0)return a(s,i),i},set(s,i){s in r?r[s]=i:a(s,i)}}},Fv="!",P5=":",tJ=[],M5=(e,t,r,n,a)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:a}),rJ=e=>{const{prefix:t,experimentalParseClassName:r}=e;let n=a=>{const s=[];let i=0,l=0,c=0,d;const p=a.length;for(let b=0;b<p;b++){const x=a[b];if(i===0&&l===0){if(x===P5){s.push(a.slice(c,b)),c=b+1;continue}if(x==="/"){d=b;continue}}x==="["?i++:x==="]"?i--:x==="("?l++:x===")"&&l--}const u=s.length===0?a:a.slice(c);let h=u,m=!1;u.endsWith(Fv)?(h=u.slice(0,-1),m=!0):u.startsWith(Fv)&&(h=u.slice(1),m=!0);const g=d&&d>c?d-c:void 0;return M5(s,m,h,g)};if(t){const a=t+P5,s=n;n=i=>i.startsWith(a)?s(i.slice(a.length)):M5(tJ,!1,i,void 0,!0)}if(r){const a=n;n=s=>r({className:s,parseClassName:a})}return n},nJ=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((r,n)=>{t.set(r,1e6+n)}),r=>{const n=[];let a=[];for(let s=0;s<r.length;s++){const i=r[s],l=i[0]==="[",c=t.has(i);l||c?(a.length>0&&(a.sort(),n.push(...a),a=[]),n.push(i)):a.push(i)}return a.length>0&&(a.sort(),n.push(...a)),n}},aJ=e=>({cache:eJ(e.cacheSize),parseClassName:rJ(e),sortModifiers:nJ(e),postfixLookupClassGroupIds:sJ(e),...WZ(e)}),sJ=e=>{const t=Object.create(null),r=e.postfixLookupClassGroups;if(r)for(let n=0;n<r.length;n++)t[r[n]]=!0;return t},oJ=/\s+/,iJ=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a,sortModifiers:s,postfixLookupClassGroupIds:i}=t,l=[],c=e.trim().split(oJ);let d="";for(let p=c.length-1;p>=0;p-=1){const u=c[p],{isExternal:h,modifiers:m,hasImportantModifier:g,baseClassName:b,maybePostfixModifierPosition:x}=r(u);if(h){d=u+(d.length>0?" "+d:d);continue}let v=!!x,y;if(v){const C=b.substring(0,x);y=n(C);const E=y&&i[y]?n(b):void 0;E&&E!==y&&(y=E,v=!1)}else y=n(b);if(!y){if(!v){d=u+(d.length>0?" "+d:d);continue}if(y=n(b),!y){d=u+(d.length>0?" "+d:d);continue}v=!1}const w=m.length===0?"":m.length===1?m[0]:s(m).join(":"),S=g?w+Fv:w,j=S+y;if(l.indexOf(j)>-1)continue;l.push(j);const k=a(y,v);for(let C=0;C<k.length;++C){const E=k[C];l.push(S+E)}d=u+(d.length>0?" "+d:d)}return d},lJ=(...e)=>{let t=0,r,n,a="";for(;t<e.length;)(r=e[t++])&&(n=DA(r))&&(a&&(a+=" "),a+=n);return a},DA=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=DA(e[n]))&&(r&&(r+=" "),r+=t);return r},cJ=(e,...t)=>{let r,n,a,s;const i=c=>{const d=t.reduce((p,u)=>u(p),e());return r=aJ(d),n=r.cache.get,a=r.cache.set,s=l,l(c)},l=c=>{const d=n(c);if(d)return d;const p=iJ(c,r);return a(c,p),p};return s=i,(...c)=>s(lJ(...c))},dJ=[],Jr=e=>{const t=r=>r[e]||dJ;return t.isThemeGetter=!0,t.themeKey=e,t},RA=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,zA=/^\((?:(\w[\w-]*):)?(.+)\)$/i,uJ=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,pJ=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,mJ=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,hJ=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/,fJ=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,gJ=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,to=e=>uJ.test(e),$t=e=>!!e&&!Number.isNaN(Number(e)),Ga=e=>!!e&&Number.isInteger(Number(e)),R0=e=>e.endsWith("%")&&$t(e.slice(0,-1)),Ss=e=>pJ.test(e),LA=()=>!0,bJ=e=>mJ.test(e)&&!hJ.test(e),bw=()=>!1,xJ=e=>fJ.test(e),vJ=e=>gJ.test(e),yJ=e=>!nt(e)&&!at(e),wJ=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),kJ=e=>zo(e,OA,bw),nt=e=>RA.test(e),Go=e=>zo(e,BA,bJ),I5=e=>zo(e,_J,$t),SJ=e=>zo(e,HA,LA),CJ=e=>zo(e,UA,bw),D5=e=>zo(e,$A,bw),jJ=e=>zo(e,FA,vJ),up=e=>zo(e,qA,xJ),at=e=>zA.test(e),$c=e=>Hi(e,BA),NJ=e=>Hi(e,UA),R5=e=>Hi(e,$A),TJ=e=>Hi(e,OA),EJ=e=>Hi(e,FA),pp=e=>Hi(e,qA,!0),AJ=e=>Hi(e,HA,!0),zo=(e,t,r)=>{const n=RA.exec(e);return n?n[1]?t(n[1]):r(n[2]):!1},Hi=(e,t,r=!1)=>{const n=zA.exec(e);return n?n[1]?t(n[1]):r:!1},$A=e=>e==="position"||e==="percentage",FA=e=>e==="image"||e==="url",OA=e=>e==="length"||e==="size"||e==="bg-size",BA=e=>e==="length",_J=e=>e==="number",UA=e=>e==="family-name",HA=e=>e==="number"||e==="weight",qA=e=>e==="shadow",PJ=()=>{const e=Jr("color"),t=Jr("font"),r=Jr("text"),n=Jr("font-weight"),a=Jr("tracking"),s=Jr("leading"),i=Jr("breakpoint"),l=Jr("container"),c=Jr("spacing"),d=Jr("radius"),p=Jr("shadow"),u=Jr("inset-shadow"),h=Jr("text-shadow"),m=Jr("drop-shadow"),g=Jr("blur"),b=Jr("perspective"),x=Jr("aspect"),v=Jr("ease"),y=Jr("animate"),w=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],j=()=>[...S(),at,nt],k=()=>["auto","hidden","clip","visible","scroll"],C=()=>["auto","contain","none"],E=()=>[at,nt,c],T=()=>[to,"full","auto",...E()],N=()=>[Ga,"none","subgrid",at,nt],D=()=>["auto",{span:["full",Ga,at,nt]},Ga,at,nt],A=()=>[Ga,"auto",at,nt],U=()=>["auto","min","max","fr",at,nt],_=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],q=()=>["start","end","center","stretch","center-safe","end-safe"],z=()=>["auto",...E()],F=()=>[to,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...E()],H=()=>[l,to,"screen","full","dvw","lvw","svw","min","max","fit",...E()],L=()=>[to,"screen","full","lh","dvh","lvh","svh","min","max","fit",...E()],M=()=>[e,at,nt],V=()=>[...S(),R5,D5,{position:[at,nt]}],$=()=>["no-repeat",{repeat:["","x","y","space","round"]}],R=()=>["auto","cover","contain",TJ,kJ,{size:[at,nt]}],X=()=>[R0,$c,Go],W=()=>["","none","full",d,at,nt],Q=()=>["",$t,$c,Go],me=()=>["solid","dashed","dotted","double"],le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],he=()=>[$t,R0,R5,D5],Te=()=>["","none",g,at,nt],Ne=()=>["none",$t,at,nt],Ee=()=>["none",$t,at,nt],je=()=>[$t,at,nt],O=()=>[to,"full",...E()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ss],breakpoint:[Ss],color:[LA],container:[Ss],"drop-shadow":[Ss],ease:["in","out","in-out"],font:[yJ],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ss],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ss],shadow:[Ss],spacing:["px",$t],text:[Ss],"text-shadow":[Ss],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",to,nt,at,x]}],container:["container"],"container-type":[{"@container":["","normal","size",at,nt]}],"container-named":[wJ],columns:[{columns:[$t,"auto",nt,at,l]}],"break-after":[{"break-after":w()}],"break-before":[{"break-before":w()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:j()}],overflow:[{overflow:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:["visible","invisible","collapse"],z:[{z:[Ga,"auto",at,nt]}],basis:[{basis:[to,"full","auto",l,...E()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[$t,to,"auto","initial","none",nt]}],grow:[{grow:["",$t,at,nt]}],shrink:[{shrink:["",$t,at,nt]}],order:[{order:[Ga,"first","last","none",at,nt]}],"grid-cols":[{"grid-cols":N()}],"col-start-end":[{col:D()}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":N()}],"row-start-end":[{row:D()}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":U()}],"auto-rows":[{"auto-rows":U()}],gap:[{gap:E()}],"gap-x":[{"gap-x":E()}],"gap-y":[{"gap-y":E()}],"justify-content":[{justify:[..._(),"normal"]}],"justify-items":[{"justify-items":[...q(),"normal"]}],"justify-self":[{"justify-self":["auto",...q()]}],"align-content":[{content:["normal",..._()]}],"align-items":[{items:[...q(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...q(),{baseline:["","last"]}]}],"place-content":[{"place-content":_()}],"place-items":[{"place-items":[...q(),"baseline"]}],"place-self":[{"place-self":["auto",...q()]}],p:[{p:E()}],px:[{px:E()}],py:[{py:E()}],ps:[{ps:E()}],pe:[{pe:E()}],pbs:[{pbs:E()}],pbe:[{pbe:E()}],pt:[{pt:E()}],pr:[{pr:E()}],pb:[{pb:E()}],pl:[{pl:E()}],m:[{m:z()}],mx:[{mx:z()}],my:[{my:z()}],ms:[{ms:z()}],me:[{me:z()}],mbs:[{mbs:z()}],mbe:[{mbe:z()}],mt:[{mt:z()}],mr:[{mr:z()}],mb:[{mb:z()}],ml:[{ml:z()}],"space-x":[{"space-x":E()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":E()}],"space-y-reverse":["space-y-reverse"],size:[{size:F()}],"inline-size":[{inline:["auto",...H()]}],"min-inline-size":[{"min-inline":["auto",...H()]}],"max-inline-size":[{"max-inline":["none",...H()]}],"block-size":[{block:["auto",...L()]}],"min-block-size":[{"min-block":["auto",...L()]}],"max-block-size":[{"max-block":["none",...L()]}],w:[{w:[l,"screen",...F()]}],"min-w":[{"min-w":[l,"screen","none",...F()]}],"max-w":[{"max-w":[l,"screen","none","prose",{screen:[i]},...F()]}],h:[{h:["screen","lh",...F()]}],"min-h":[{"min-h":["screen","lh","none",...F()]}],"max-h":[{"max-h":["screen","lh","none",...F()]}],"font-size":[{text:["base",r,$c,Go]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,AJ,SJ]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",R0,nt]}],"font-family":[{font:[NJ,CJ,t]}],"font-features":[{"font-features":[nt]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,at,nt]}],"line-clamp":[{"line-clamp":[$t,"none",at,I5]}],leading:[{leading:["none",s,...E()]}],"list-image":[{"list-image":["none",at,nt]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",at,nt]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:M()}],"text-color":[{text:M()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...me(),"wavy"]}],"text-decoration-thickness":[{decoration:[$t,"from-font","auto",at,Go]}],"text-decoration-color":[{decoration:M()}],"underline-offset":[{"underline-offset":[$t,"auto",at,nt]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:E()}],"tab-size":[{tab:[Ga,at,nt]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",at,nt]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",at,nt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:V()}],"bg-repeat":[{bg:$()}],"bg-size":[{bg:R()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ga,at,nt],radial:["",at,nt],conic:["",Ga,at,nt]},EJ,jJ]}],"bg-color":[{bg:M()}],"gradient-from-pos":[{from:X()}],"gradient-via-pos":[{via:X()}],"gradient-to-pos":[{to:X()}],"gradient-from":[{from:M()}],"gradient-via":[{via:M()}],"gradient-to":[{to:M()}],rounded:[{rounded:W()}],"rounded-s":[{"rounded-s":W()}],"rounded-e":[{"rounded-e":W()}],"rounded-t":[{"rounded-t":W()}],"rounded-r":[{"rounded-r":W()}],"rounded-b":[{"rounded-b":W()}],"rounded-l":[{"rounded-l":W()}],"rounded-ss":[{"rounded-ss":W()}],"rounded-se":[{"rounded-se":W()}],"rounded-ee":[{"rounded-ee":W()}],"rounded-es":[{"rounded-es":W()}],"rounded-tl":[{"rounded-tl":W()}],"rounded-tr":[{"rounded-tr":W()}],"rounded-br":[{"rounded-br":W()}],"rounded-bl":[{"rounded-bl":W()}],"border-w":[{border:Q()}],"border-w-x":[{"border-x":Q()}],"border-w-y":[{"border-y":Q()}],"border-w-s":[{"border-s":Q()}],"border-w-e":[{"border-e":Q()}],"border-w-bs":[{"border-bs":Q()}],"border-w-be":[{"border-be":Q()}],"border-w-t":[{"border-t":Q()}],"border-w-r":[{"border-r":Q()}],"border-w-b":[{"border-b":Q()}],"border-w-l":[{"border-l":Q()}],"divide-x":[{"divide-x":Q()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Q()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...me(),"hidden","none"]}],"divide-style":[{divide:[...me(),"hidden","none"]}],"border-color":[{border:M()}],"border-color-x":[{"border-x":M()}],"border-color-y":[{"border-y":M()}],"border-color-s":[{"border-s":M()}],"border-color-e":[{"border-e":M()}],"border-color-bs":[{"border-bs":M()}],"border-color-be":[{"border-be":M()}],"border-color-t":[{"border-t":M()}],"border-color-r":[{"border-r":M()}],"border-color-b":[{"border-b":M()}],"border-color-l":[{"border-l":M()}],"divide-color":[{divide:M()}],"outline-style":[{outline:[...me(),"none","hidden"]}],"outline-offset":[{"outline-offset":[$t,at,nt]}],"outline-w":[{outline:["",$t,$c,Go]}],"outline-color":[{outline:M()}],shadow:[{shadow:["","inner","none",p,pp,up]}],"shadow-color":[{shadow:M()}],"inset-shadow":[{"inset-shadow":["none",u,pp,up]}],"inset-shadow-color":[{"inset-shadow":M()}],"ring-w":[{ring:Q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:M()}],"ring-offset-w":[{"ring-offset":[$t,Go]}],"ring-offset-color":[{"ring-offset":M()}],"inset-ring-w":[{"inset-ring":Q()}],"inset-ring-color":[{"inset-ring":M()}],"text-shadow":[{"text-shadow":["none",h,pp,up]}],"text-shadow-color":[{"text-shadow":M()}],opacity:[{opacity:[$t,at,nt]}],"mix-blend":[{"mix-blend":[...le(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":le()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[$t]}],"mask-image-linear-from-pos":[{"mask-linear-from":he()}],"mask-image-linear-to-pos":[{"mask-linear-to":he()}],"mask-image-linear-from-color":[{"mask-linear-from":M()}],"mask-image-linear-to-color":[{"mask-linear-to":M()}],"mask-image-t-from-pos":[{"mask-t-from":he()}],"mask-image-t-to-pos":[{"mask-t-to":he()}],"mask-image-t-from-color":[{"mask-t-from":M()}],"mask-image-t-to-color":[{"mask-t-to":M()}],"mask-image-r-from-pos":[{"mask-r-from":he()}],"mask-image-r-to-pos":[{"mask-r-to":he()}],"mask-image-r-from-color":[{"mask-r-from":M()}],"mask-image-r-to-color":[{"mask-r-to":M()}],"mask-image-b-from-pos":[{"mask-b-from":he()}],"mask-image-b-to-pos":[{"mask-b-to":he()}],"mask-image-b-from-color":[{"mask-b-from":M()}],"mask-image-b-to-color":[{"mask-b-to":M()}],"mask-image-l-from-pos":[{"mask-l-from":he()}],"mask-image-l-to-pos":[{"mask-l-to":he()}],"mask-image-l-from-color":[{"mask-l-from":M()}],"mask-image-l-to-color":[{"mask-l-to":M()}],"mask-image-x-from-pos":[{"mask-x-from":he()}],"mask-image-x-to-pos":[{"mask-x-to":he()}],"mask-image-x-from-color":[{"mask-x-from":M()}],"mask-image-x-to-color":[{"mask-x-to":M()}],"mask-image-y-from-pos":[{"mask-y-from":he()}],"mask-image-y-to-pos":[{"mask-y-to":he()}],"mask-image-y-from-color":[{"mask-y-from":M()}],"mask-image-y-to-color":[{"mask-y-to":M()}],"mask-image-radial":[{"mask-radial":[at,nt]}],"mask-image-radial-from-pos":[{"mask-radial-from":he()}],"mask-image-radial-to-pos":[{"mask-radial-to":he()}],"mask-image-radial-from-color":[{"mask-radial-from":M()}],"mask-image-radial-to-color":[{"mask-radial-to":M()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":S()}],"mask-image-conic-pos":[{"mask-conic":[$t]}],"mask-image-conic-from-pos":[{"mask-conic-from":he()}],"mask-image-conic-to-pos":[{"mask-conic-to":he()}],"mask-image-conic-from-color":[{"mask-conic-from":M()}],"mask-image-conic-to-color":[{"mask-conic-to":M()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:V()}],"mask-repeat":[{mask:$()}],"mask-size":[{mask:R()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",at,nt]}],filter:[{filter:["","none",at,nt]}],blur:[{blur:Te()}],brightness:[{brightness:[$t,at,nt]}],contrast:[{contrast:[$t,at,nt]}],"drop-shadow":[{"drop-shadow":["","none",m,pp,up]}],"drop-shadow-color":[{"drop-shadow":M()}],grayscale:[{grayscale:["",$t,at,nt]}],"hue-rotate":[{"hue-rotate":[$t,at,nt]}],invert:[{invert:["",$t,at,nt]}],saturate:[{saturate:[$t,at,nt]}],sepia:[{sepia:["",$t,at,nt]}],"backdrop-filter":[{"backdrop-filter":["","none",at,nt]}],"backdrop-blur":[{"backdrop-blur":Te()}],"backdrop-brightness":[{"backdrop-brightness":[$t,at,nt]}],"backdrop-contrast":[{"backdrop-contrast":[$t,at,nt]}],"backdrop-grayscale":[{"backdrop-grayscale":["",$t,at,nt]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[$t,at,nt]}],"backdrop-invert":[{"backdrop-invert":["",$t,at,nt]}],"backdrop-opacity":[{"backdrop-opacity":[$t,at,nt]}],"backdrop-saturate":[{"backdrop-saturate":[$t,at,nt]}],"backdrop-sepia":[{"backdrop-sepia":["",$t,at,nt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":E()}],"border-spacing-x":[{"border-spacing-x":E()}],"border-spacing-y":[{"border-spacing-y":E()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",at,nt]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[$t,"initial",at,nt]}],ease:[{ease:["linear","initial",v,at,nt]}],delay:[{delay:[$t,at,nt]}],animate:[{animate:["none",y,at,nt]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[b,at,nt]}],"perspective-origin":[{"perspective-origin":j()}],rotate:[{rotate:Ne()}],"rotate-x":[{"rotate-x":Ne()}],"rotate-y":[{"rotate-y":Ne()}],"rotate-z":[{"rotate-z":Ne()}],scale:[{scale:Ee()}],"scale-x":[{"scale-x":Ee()}],"scale-y":[{"scale-y":Ee()}],"scale-z":[{"scale-z":Ee()}],"scale-3d":["scale-3d"],skew:[{skew:je()}],"skew-x":[{"skew-x":je()}],"skew-y":[{"skew-y":je()}],transform:[{transform:[at,nt,"","none","gpu","cpu"]}],"transform-origin":[{origin:j()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:O()}],"translate-x":[{"translate-x":O()}],"translate-y":[{"translate-y":O()}],"translate-z":[{"translate-z":O()}],"translate-none":["translate-none"],zoom:[{zoom:[Ga,at,nt]}],accent:[{accent:M()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:M()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",at,nt]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":M()}],"scrollbar-track-color":[{"scrollbar-track":M()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":E()}],"scroll-mx":[{"scroll-mx":E()}],"scroll-my":[{"scroll-my":E()}],"scroll-ms":[{"scroll-ms":E()}],"scroll-me":[{"scroll-me":E()}],"scroll-mbs":[{"scroll-mbs":E()}],"scroll-mbe":[{"scroll-mbe":E()}],"scroll-mt":[{"scroll-mt":E()}],"scroll-mr":[{"scroll-mr":E()}],"scroll-mb":[{"scroll-mb":E()}],"scroll-ml":[{"scroll-ml":E()}],"scroll-p":[{"scroll-p":E()}],"scroll-px":[{"scroll-px":E()}],"scroll-py":[{"scroll-py":E()}],"scroll-ps":[{"scroll-ps":E()}],"scroll-pe":[{"scroll-pe":E()}],"scroll-pbs":[{"scroll-pbs":E()}],"scroll-pbe":[{"scroll-pbe":E()}],"scroll-pt":[{"scroll-pt":E()}],"scroll-pr":[{"scroll-pr":E()}],"scroll-pb":[{"scroll-pb":E()}],"scroll-pl":[{"scroll-pl":E()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",at,nt]}],fill:[{fill:["none",...M()]}],"stroke-w":[{stroke:[$t,$c,Go,I5]}],stroke:[{stroke:["none",...M()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["start","end","right","left"],"inset-y":["inset-bs","inset-be","top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["ps","pe","pr","pl"],py:["pbs","pbe","pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["ms","me","mr","ml"],my:["mbs","mbe","mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-s","border-w-e","border-w-r","border-w-l"],"border-w-y":["border-w-bs","border-w-be","border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-s","border-color-e","border-color-r","border-color-l"],"border-color-y":["border-color-bs","border-color-be","border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-ms","scroll-me","scroll-mr","scroll-ml"],"scroll-my":["scroll-mbs","scroll-mbe","scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-ps","scroll-pe","scroll-pr","scroll-pl"],"scroll-py":["scroll-pbs","scroll-pbe","scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},MJ=cJ(PJ);const IJ=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),DJ=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,n)=>n?n.toUpperCase():r.toLowerCase()),z5=e=>{const t=DJ(e);return t.charAt(0).toUpperCase()+t.slice(1)},WA=(...e)=>e.filter((t,r,n)=>!!t&&t.trim()!==""&&n.indexOf(t)===r).join(" ").trim(),RJ=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};var zJ={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const LJ=f.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:a="",children:s,iconNode:i,...l},c)=>f.createElement("svg",{ref:c,...zJ,width:t,height:t,stroke:e,strokeWidth:n?Number(r)*24/Number(t):r,className:WA("lucide",a),...!s&&!RJ(l)&&{"aria-hidden":"true"},...l},[...i.map(([d,p])=>f.createElement(d,p)),...Array.isArray(s)?s:[s]]));const ke=(e,t)=>{const r=f.forwardRef(({className:n,...a},s)=>f.createElement(LJ,{ref:s,iconNode:t,className:WA(`lucide-${IJ(z5(e))}`,`lucide-${e}`,n),...a}));return r.displayName=z5(e),r};const $J=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],$a=ke("activity",$J);const FJ=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]],Ja=ke("archive",FJ);const OJ=[["path",{d:"M12 17V3",key:"1cwfxf"}],["path",{d:"m6 11 6 6 6-6",key:"12ii2o"}],["path",{d:"M19 21H5",key:"150jfl"}]],VA=ke("arrow-down-to-line",OJ);const BJ=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],xw=ke("arrow-down",BJ);const UJ=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],GA=ke("arrow-left",UJ);const HJ=[["path",{d:"m16 3 4 4-4 4",key:"1x1c3m"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"m8 21-4-4 4-4",key:"h9nckh"}],["path",{d:"M4 17h16",key:"g4d7ey"}]],qJ=ke("arrow-right-left",HJ);const WJ=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Zh=ke("arrow-right",WJ);const VJ=[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]],GJ=ke("arrow-up-down",VJ);const KJ=[["path",{d:"m18 9-6-6-6 6",key:"kcunyi"}],["path",{d:"M12 3v14",key:"7cf3v8"}],["path",{d:"M5 21h14",key:"11awu3"}]],YJ=ke("arrow-up-from-line",KJ);const XJ=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],vw=ke("arrow-up",XJ);const ZJ=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],KA=ke("badge-check",ZJ);const JJ=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M17 17H4a1 1 0 0 1-.74-1.673C4.59 13.956 6 12.499 6 8a6 6 0 0 1 .258-1.742",key:"178tsu"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M8.668 3.01A6 6 0 0 1 18 8c0 2.687.77 4.653 1.707 6.05",key:"1hqiys"}]],L5=ke("bell-off",JJ);const QJ=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M22 8c0-2.3-.8-4.3-2-6",key:"5bb3ad"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}],["path",{d:"M4 2C2.8 3.7 2 5.7 2 8",key:"tap9e0"}]],$5=ke("bell-ring",QJ);const eQ=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]],yw=ke("bell",eQ);const tQ=[["rect",{x:"14",y:"14",width:"4",height:"6",rx:"2",key:"p02svl"}],["rect",{x:"6",y:"4",width:"4",height:"6",rx:"2",key:"xm4xkj"}],["path",{d:"M6 20h4",key:"1i6q5t"}],["path",{d:"M14 10h4",key:"ru81e7"}],["path",{d:"M6 14h2v6",key:"16z9wg"}],["path",{d:"M14 4h2v6",key:"1idq9u"}]],sl=ke("binary",tQ);const rQ=[["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["path",{d:"M10 21V8a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H3",key:"1fpvtg"}]],nQ=ke("blocks",rQ);const aQ=[["path",{d:"M10 2v8l3-3 3 3V2",key:"sqw3rj"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]],sQ=ke("book-marked",aQ);const oQ=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],Ov=ke("book-open",oQ);const iQ=[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]],Gl=ke("bot",iQ);const lQ=[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]],id=ke("box",lQ);const cQ=[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]],yi=ke("braces",cQ);const dQ=[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",key:"ep3f8r"}],["path",{d:"M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",key:"1p4c4q"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}]],ww=ke("brain",dQ);const uQ=[["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M9 7.13v-1a3.003 3.003 0 1 1 6 0v1",key:"d7y7pr"}],["path",{d:"M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6",key:"xs1cw7"}],["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M6.53 9C4.6 8.8 3 7.1 3 5",key:"32zzws"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"M3 21c0-2.1 1.7-3.9 3.8-4",key:"4p0ekp"}],["path",{d:"M20.97 5c0 2.1-1.6 3.8-3.5 4",key:"18gb23"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M17.2 17c2.1.1 3.8 1.9 3.8 4",key:"k3fwyw"}]],Bv=ke("bug",uQ);const pQ=[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["line",{x1:"8",x2:"16",y1:"6",y2:"6",key:"x4nwl0"}],["line",{x1:"16",x2:"16",y1:"14",y2:"18",key:"wjye3r"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M8 18h.01",key:"lrp35t"}]],mQ=ke("calculator",pQ);const hQ=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],Uv=ke("chart-column",hQ);const fQ=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],kr=ke("check",fQ);const gQ=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],fn=ke("chevron-down",gQ);const bQ=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],ju=ke("chevron-left",bQ);const xQ=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Br=ke("chevron-right",xQ);const vQ=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],yQ=ke("chevron-up",vQ);const wQ=[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]],kQ=ke("chevrons-up-down",wQ);const SQ=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],Lo=ke("circle-alert",SQ);const CQ=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 12-4-4-4 4",key:"177agl"}],["path",{d:"M12 16V8",key:"1sbj14"}]],F5=ke("circle-arrow-up",CQ);const jQ=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Jh=ke("circle-check-big",jQ);const NQ=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],kw=ke("circle-check",NQ);const TQ=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],YA=ke("circle-help",TQ);const EQ=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],ru=ke("circle",EQ);const AQ=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m9 14 2 2 4-4",key:"df797q"}]],_Q=ke("clipboard-check",AQ);const PQ=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],MQ=ke("clipboard-list",PQ);const IQ=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]],DQ=ke("clipboard",IQ);const RQ=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16.5 12",key:"1aq6pp"}]],zQ=ke("clock-3",RQ);const LQ=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]],Nu=ke("clock",LQ);const $Q=[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],mm=ke("code-xml",$Q);const FQ=[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]],O5=ke("coffee",FQ);const OQ=[["path",{d:"M12 20a8 8 0 1 0 0-16 8 8 0 0 0 0 16Z",key:"sobvz5"}],["path",{d:"M12 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z",key:"11i496"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 22v-2",key:"1osdcq"}],["path",{d:"m17 20.66-1-1.73",key:"eq3orb"}],["path",{d:"M11 10.27 7 3.34",key:"16pf9h"}],["path",{d:"m20.66 17-1.73-1",key:"sg0v6f"}],["path",{d:"m3.34 7 1.73 1",key:"1ulond"}],["path",{d:"M14 12h8",key:"4f43i9"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"m20.66 7-1.73 1",key:"1ow05n"}],["path",{d:"m3.34 17 1.73-1",key:"nuk764"}],["path",{d:"m17 3.34-1 1.73",key:"2wel8s"}],["path",{d:"m11 13.73-4 6.93",key:"794ttg"}]],ld=ke("cog",OQ);const BQ=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 3v18",key:"108xh3"}]],UQ=ke("columns-2",BQ);const HQ=[["circle",{cx:"8",cy:"8",r:"6",key:"3yglwk"}],["path",{d:"M18.09 10.37A6 6 0 1 1 10.34 18",key:"t5s6rm"}],["path",{d:"M7 6h1v4",key:"1obek4"}],["path",{d:"m16.71 13.88.7.71-2.82 2.82",key:"1rbuyh"}]],XA=ke("coins",HQ);const qQ=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],Pi=ke("copy",qQ);const WQ=[["path",{d:"M20 4v7a4 4 0 0 1-4 4H4",key:"6o5b7l"}],["path",{d:"m9 10-5 5 5 5",key:"1kshq7"}]],VQ=ke("corner-down-left",WQ);const GQ=[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]],li=ke("cpu",GQ);const KQ=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],YQ=ke("database",KQ);const XQ=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],Ha=ke("download",XQ);const ZQ=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],ZA=ke("ellipsis",ZQ);const JQ=[["path",{d:"m15 15 6 6",key:"1s409w"}],["path",{d:"m15 9 6-6",key:"ko1vev"}],["path",{d:"M21 16v5h-5",key:"1ck2sf"}],["path",{d:"M21 8V3h-5",key:"1qoq8a"}],["path",{d:"M3 16v5h5",key:"1t08am"}],["path",{d:"m3 21 6-6",key:"wwnumi"}],["path",{d:"M3 8V3h5",key:"1ln10m"}],["path",{d:"M9 9 3 3",key:"v551iv"}]],QQ=ke("expand",JQ);const eee=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],Qh=ke("external-link",eee);const tee=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],Bs=ke("eye",tee);const ree=[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],nu=ke("eye-off",ree);const nee=[["path",{d:"M10 12v-1",key:"v7bkov"}],["path",{d:"M10 18v-2",key:"1cjy8d"}],["path",{d:"M10 7V6",key:"dljcrl"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M15.5 22H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v16a2 2 0 0 0 .274 1.01",key:"gkbcor"}],["circle",{cx:"10",cy:"20",r:"2",key:"1xzdoj"}]],aee=ke("file-archive",nee);const see=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]],Hv=ke("file-check",see);const oee=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m5 12-3 3 3 3",key:"oke12k"}],["path",{d:"m9 18 3-3-3-3",key:"112psh"}]],ci=ke("file-code-2",oee);const iee=[["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z",key:"1mlx9k"}]],wl=ke("file-code",iee);const lee=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M8 13h2",key:"yr2amv"}],["path",{d:"M14 13h2",key:"un5t4a"}],["path",{d:"M8 17h2",key:"2yhykz"}],["path",{d:"M14 17h2",key:"10kma7"}]],B5=ke("file-spreadsheet",lee);const cee=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],hr=ke("file-text",cee);const dee=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M9 13v-1h6v1",key:"1bb014"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"M11 18h2",key:"12mj7e"}]],Fc=ke("file-type",dee);const uee=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"m15 15-3-3-3 3",key:"15xj92"}]],z0=ke("file-up",uee);const pee=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}]],ef=ke("file",pee);const mee=[["path",{d:"M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z",key:"i9b6wo"}],["line",{x1:"4",x2:"4",y1:"22",y2:"15",key:"1cm3nv"}]],hee=ke("flag",mee);const fee=[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]],qv=ke("flame",fee);const gee=[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2",key:"18mbvz"}],["path",{d:"M6.453 15h11.094",key:"3shlmq"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]],bee=ke("flask-conical",gee);const xee=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],Kl=ke("folder-open",xee);const vee=[["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"M9 13h6",key:"1uhe8q"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],Yl=ke("folder-plus",vee);const yee=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"m9 13 3-3 3 3",key:"1pxg3c"}]],U5=ke("folder-up",yee);const wee=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],ya=ke("folder",wee);const kee=[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]],See=ke("funnel",kee);const Cee=[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]],Sw=ke("gauge",Cee);const jee=[["path",{d:"M6 3h12l4 6-10 13L2 9Z",key:"1pcd5k"}],["path",{d:"M11 3 8 9l4 13 4-13-3-6",key:"1fcu3u"}],["path",{d:"M2 9h20",key:"16fsjt"}]],Wv=ke("gem",jee);const Nee=[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]],gn=ke("git-branch",Nee);const Tee=[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["line",{x1:"3",x2:"9",y1:"12",y2:"12",key:"1dyftd"}],["line",{x1:"15",x2:"21",y1:"12",y2:"12",key:"oup4p8"}]],nh=ke("git-commit-horizontal",Tee);const Eee=[["circle",{cx:"12",cy:"18",r:"3",key:"1mpf1b"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["path",{d:"M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9",key:"1uq4wg"}],["path",{d:"M12 12v3",key:"158kv8"}]],tf=ke("git-fork",Eee);const Aee=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]],Cw=ke("git-merge",Aee);const _ee=[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]],JA=ke("github",_ee);const Pee=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],Mi=ke("globe",Pee);const Mee=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]],Iee=ke("grid-3x3",Mee);const Dee=[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]],Ree=ke("grip-vertical",Dee);const zee=[["path",{d:"M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2",key:"1fvzgz"}],["path",{d:"M14 10V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2",key:"1kc0my"}],["path",{d:"M10 10.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8",key:"10h0bg"}],["path",{d:"M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15",key:"1s1gnw"}]],Lee=ke("hand",zee);const $ee=[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]],Pl=ke("hash",$ee);const Fee=[["path",{d:"M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z",key:"yt0hxn"}]],cd=ke("hexagon",Fee);const Oee=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]],QA=ke("history",Oee);const Bee=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]],Uee=ke("house",Bee);const Hee=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],ro=ke("image",Hee);const qee=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],e_=ke("info",qee);const Wee=[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]],Vee=ke("key-round",Wee);const Gee=[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]],jw=ke("key",Gee);const Kee=[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]],t_=ke("languages",Kee);const Yee=[["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}],["path",{d:"M13 6h8",key:"15sg57"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 18h8",key:"oe0vm4"}]],r_=ke("list-checks",Yee);const Xee=[["rect",{x:"3",y:"5",width:"6",height:"6",rx:"1",key:"1defrl"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"M13 6h8",key:"15sg57"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 18h8",key:"oe0vm4"}]],Zee=ke("list-todo",Xee);const Jee=[["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 18h.01",key:"1tta3j"}],["path",{d:"M3 6h.01",key:"1rqtza"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 18h13",key:"1lx6n3"}],["path",{d:"M8 6h13",key:"ik3vkj"}]],ah=ke("list",Jee);const Qee=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],It=ke("loader-circle",Qee);const ete=[["circle",{cx:"12",cy:"16",r:"1",key:"1au0dj"}],["rect",{x:"3",y:"10",width:"18",height:"12",rx:"2",key:"6s8ecr"}],["path",{d:"M7 10V7a5 5 0 0 1 10 0v3",key:"1pqi11"}]],tte=ke("lock-keyhole",ete);const rte=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],Ia=ke("lock",rte);const nte=[["path",{d:"m10 17 5-5-5-5",key:"1bsop3"}],["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}]],n_=ke("log-in",nte);const ate=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],ste=ke("mail",ate);const ote=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]],a_=ke("maximize-2",ote);const ite=[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}],["path",{d:"M12 7v6",key:"lw1j43"}],["path",{d:"M9 10h6",key:"9gxzsh"}]],lte=ke("message-square-plus",ite);const cte=[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}],["path",{d:"M13 8H7",key:"14i4kc"}],["path",{d:"M17 12H7",key:"16if0g"}]],dte=ke("message-square-text",cte);const ute=[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]],ls=ke("message-square",ute);const pte=[["path",{d:"M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z",key:"131961"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}]],Nw=ke("mic",pte);const mte=[["path",{d:"m14 10 7-7",key:"oa77jy"}],["path",{d:"M20 10h-6V4",key:"mjg0md"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M4 14h6v6",key:"rmj7iw"}]],s_=ke("minimize-2",mte);const hte=[["path",{d:"M5 12h14",key:"1ays0h"}]],fte=ke("minus",hte);const gte=[["path",{d:"M10 7.75a.75.75 0 0 1 1.142-.638l3.664 2.249a.75.75 0 0 1 0 1.278l-3.664 2.25a.75.75 0 0 1-1.142-.64z",key:"1pctta"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",key:"x3v2xh"}]],$l=ke("monitor-play",gte);const bte=[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]],Tw=ke("moon",bte);const xte=[["circle",{cx:"8",cy:"18",r:"4",key:"1fc0mg"}],["path",{d:"M12 18V2l7 4",key:"g04rme"}]],ol=ke("music-2",xte);const vte=[["path",{d:"M13.4 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7.4",key:"re6nr2"}],["path",{d:"M2 6h4",key:"aawbzj"}],["path",{d:"M2 10h4",key:"l0bgd4"}],["path",{d:"M2 14h4",key:"1gsvsf"}],["path",{d:"M2 18h4",key:"1bu2t1"}],["path",{d:"M21.378 5.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"pqwjuv"}]],yte=ke("notebook-pen",vte);const wte=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]],kte=ke("package",wte);const Ste=[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]],Ew=ke("palette",Ste);const Cte=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]],jte=ke("panel-left-close",Cte);const Nte=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]],Tte=ke("panel-left-open",Nte);const Ete=[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]],Ate=ke("paperclip",Ete);const _te=[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]],o_=ke("pause",_te);const Pte=[["path",{d:"M12 20h9",key:"t2du7b"}],["path",{d:"M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z",key:"1ykcvy"}]],Vv=ke("pen-line",Pte);const Mte=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],i_=ke("pen",Mte);const Ite=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],Xl=ke("pencil",Ite);const Dte=[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]],l_=ke("play",Dte);const Rte=[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M9 8V2",key:"14iosj"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z",key:"osxo6l"}]],zte=ke("plug",Rte);const Lte=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Sr=ke("plus",Lte);const $te=[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]],Fte=ke("puzzle",$te);const Ote=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],Dr=ke("refresh-cw",Ote);const Bte=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],Zl=ke("rotate-ccw",Bte);const Ute=[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]],rf=ke("save",Ute);const Hte=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"m16 16-1.9-1.9",key:"1dq9hf"}]],H5=ke("scan-search",Hte);const qte=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["path",{d:"M7 8h8",key:"1jbsf9"}],["path",{d:"M7 12h10",key:"b7w52i"}],["path",{d:"M7 16h6",key:"1vyc9m"}]],Wte=ke("scan-text",qte);const Vte=[["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",key:"1ph1d7"}]],Gv=ke("scroll",Vte);const Gte=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Xn=ke("search",Gte);const Kte=[["path",{d:"M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z",key:"117uat"}],["path",{d:"M6 12h16",key:"s4cdu5"}]],Yte=ke("send-horizontal",Kte);const Xte=[["path",{d:"M6 10H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-2",key:"4b9dqc"}],["path",{d:"M6 14H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-2",key:"22nnkd"}],["path",{d:"M6 6h.01",key:"1utrut"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"m13 6-4 6h6l-4 6",key:"14hqih"}]],Zte=ke("server-crash",Xte);const Jte=[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]],sh=ke("server",Jte);const Qte=[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],nr=ke("settings",Qte);const ere=[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]],tre=ke("settings-2",ere);const rre=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]],c_=ke("shield-alert",rre);const nre=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],oh=ke("shield-check",nre);const are=[["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M5 5a1 1 0 0 0-1 1v7c0 5 3.5 7.5 7.67 8.94a1 1 0 0 0 .67.01c2.35-.82 4.48-1.97 5.9-3.71",key:"1jlk70"}],["path",{d:"M9.309 3.652A12.252 12.252 0 0 0 11.24 2.28a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1v7a9.784 9.784 0 0 1-.08 1.264",key:"18rp1v"}]],d_=ke("shield-off",are);const sre=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3",key:"mhlwft"}],["path",{d:"M12 17h.01",key:"p32p05"}]],ore=ke("shield-question",sre);const ire=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],za=ke("shield",ire);const lre=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 14s1.5 2 4 2 4-2 4-2",key:"1y1vjs"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]],cre=ke("smile",lre);const dre=[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]],Eo=ke("sparkles",dre);const ure=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["path",{d:"M9 17c2 0 2.8-1 2.8-2.8V10c0-2 1-3.3 3.2-3",key:"m1af9g"}],["path",{d:"M9 11.2h5.7",key:"3zgcl2"}]],pre=ke("square-function",ure);const mre=[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]],hre=ke("square-pen",mre);const fre=[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]],ih=ke("square-terminal",fre);const gre=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],au=ke("square",gre);const bre=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],u_=ke("star",bre);const xre=[["path",{d:"M12 8a2.83 2.83 0 0 0 4 4 4 4 0 1 1-4-4",key:"1fu5g2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.9 4.9 1.4 1.4",key:"b9915j"}],["path",{d:"m17.7 17.7 1.4 1.4",key:"qc3ed3"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.3 17.7-1.4 1.4",key:"5gca6"}],["path",{d:"m19.1 4.9-1.4 1.4",key:"wpu9u6"}]],vre=ke("sun-moon",xre);const yre=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],Aw=ke("sun",yre);const wre=[["path",{d:"M15 3v18",key:"14nvp0"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M21 9H3",key:"1338ky"}],["path",{d:"M21 15H3",key:"9uk58r"}]],kre=ke("table-properties",wre);const Sre=[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]],Cre=ke("tag",Sre);const jre=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],Nre=ke("target",jre);const Tre=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],_n=ke("terminal",Tre);const Ere=[["line",{x1:"10",x2:"14",y1:"2",y2:"2",key:"14vaq8"}],["line",{x1:"12",x2:"15",y1:"14",y2:"11",key:"17fdiu"}],["circle",{cx:"12",cy:"14",r:"8",key:"1e1u0o"}]],Are=ke("timer",Ere);const _re=[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]],Cr=ke("trash-2",_re);const Pre=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],On=ke("triangle-alert",Pre);const Mre=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],cs=ke("upload",Mre);const Ire=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],nf=ke("user",Ire);const Dre=[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]],Oc=ke("video",Dre);const Rre=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]],p_=ke("volume-2",Rre);const zre=[["rect",{width:"8",height:"8",x:"3",y:"3",rx:"2",key:"by2w9f"}],["path",{d:"M7 11v4a2 2 0 0 0 2 2h4",key:"xkn7yn"}],["rect",{width:"8",height:"8",x:"13",y:"13",rx:"2",key:"1cgmvn"}]],q5=ke("workflow",zre);const Lre=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Nt=ke("x",Lre);const $re=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],m_=ke("zap",$re),su="PieceMaker",W5="PieceMaker",h_="PieceMaker-Legal/piecemaker-droit-francais",wi="https://github.com/PieceMaker-Legal/piecemaker-droit-francais",f_="ui-sans-serif, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji",L0="2.0.19",Fre=[{id:"agents",label:"Agents",keywords:"agents subagents claude code",icon:Gl},{id:"appearance",label:"Appearance",keywords:"appearance theme dark light language",icon:Ew},{id:"git",label:"Git",keywords:"git github commits",icon:gn},{id:"api",label:"API Tokens",keywords:"api tokens auth keys",icon:Vee},{id:"tasks",label:"Tasks",keywords:"tasks taskmaster",icon:r_},{id:"browser",label:"Browser",keywords:"browser playwright chromium automation",icon:$l},{id:"notifications",label:"Notifications",keywords:"notifications alerts push",icon:yw},{id:"plugins",label:"Plugins",keywords:"plugins extensions integrations",icon:zte},{id:"about",label:"About",keywords:"about version info",icon:e_}],Da="default",g_=200,Ore=g_*1024*1024,Kv=`${g_}MB`,b_=[{key:"modified",status:"M"},{key:"added",status:"A"},{key:"deleted",status:"D"},{key:"untracked",status:"U"}],_w={claude:"Claude",cursor:"Cursor",codex:"Codex",mistral:"Mistral",opencode:"OpenCode"},af={claude:["user","project","local"],cursor:["user","project"],codex:["user","project"],mistral:["user","project"],opencode:["user","project"]},sf={claude:["stdio","http","sse"],cursor:["stdio","http"],codex:["stdio","http"],mistral:["stdio","http"],opencode:["stdio","http"]},x_=["stdio","http"],Pw={claude:!1,cursor:!1,codex:!0,mistral:!1,opencode:!1},v_="flex items-center justify-between p-3 rounded-lg bg-muted/60 hover:bg-accent transition-colors border border-transparent hover:border-border",y_=100,mp={wordWrap:"codeEditorWordWrap",showMinimap:"codeEditorShowMinimap",lineNumbers:"codeEditorLineNumbers",fontSize:"codeEditorFontSize"},hp={wordWrap:!1,showMinimap:!0,lineNumbers:!0,fontSize:"12"},Bre={claude:"claudePermissions",cursor:"cursorPermissions",codex:"codexPermissions",mistral:"mistralPermissions",opencode:"opencodePermissions"},Ure={},Ir=Ure?.VITE_IS_PLATFORM==="true";function we(...e){return MJ(_A(e))}function Hre(e){if(!e||typeof document>"u")return!1;const t=document.createElement("textarea");t.value=e,t.setAttribute("readonly",""),t.style.position="fixed",t.style.opacity="0",t.style.pointerEvents="none",document.body.appendChild(t),t.focus(),t.select();let r=!1;try{r=document.execCommand("copy")}catch{r=!1}finally{document.body.removeChild(t)}return r}async function Zn(e){if(!e)return!1;let t=!1;try{typeof navigator<"u"&&navigator.clipboard?.writeText&&(await navigator.clipboard.writeText(e),t=!0)}catch{t=!1}return t||(t=Hre(e)),t}const w_="notificationSoundEnabled",V5=typeof window<"u"?window.AudioContext||window.webkitAudioContext:void 0;let $0=null;const qre=()=>typeof localStorage>"u"?!0:localStorage.getItem(w_)!=="false",Wre=e=>{typeof localStorage>"u"||localStorage.setItem(w_,String(e))},Vre=()=>V5?($0||($0=new V5),$0):null,G5=(e,t,r,n,a)=>{const s=e.createOscillator(),i=e.createGain();s.type="sine",s.frequency.setValueAtTime(t,r),i.gain.setValueAtTime(1e-4,r),i.gain.exponentialRampToValueAtTime(a,r+.015),i.gain.exponentialRampToValueAtTime(1e-4,r+n),s.connect(i),i.connect(e.destination),s.start(r),s.stop(r+n+.02)},Yv=async({force:e=!1}={})=>{if(!e&&!qre())return;const t=Vre();if(t)try{t.state==="suspended"&&await t.resume();const r=t.currentTime;G5(t,740,r,.12,.075),G5(t,988,r+.11,.16,.06)}catch(r){console.warn("Unable to play notification sound:",r)}},k_=(e={})=>Yv(e),lh=e=>e.__provider==="cursor"?e.name||"Untitled Session":e.summary||"New Session",Gre=(e,t)=>{if(t)return lh(t);const r=e?.displayName?.trim();return r?`${r} - ${W5}`:W5},S_="voiceConfig",Xv="voice-config:sync",kl={baseUrl:"",apiKey:"",sttModel:"",ttsModel:"",ttsVoice:"",ttsFormat:""};function vc(){try{const e=localStorage.getItem(S_);if(!e)return{...kl};const t=JSON.parse(e);if(!t||typeof t!="object"||Array.isArray(t))return{...kl};const r={...kl};for(const n of Object.keys(kl))typeof t[n]=="string"&&(r[n]=t[n]);return r}catch{return{...kl}}}function C_(){if(typeof window>"u")return{};const e=vc(),t={};return e.apiKey&&(t["x-voice-api-key"]=e.apiKey),e.sttModel&&(t["x-voice-stt-model"]=e.sttModel),e.ttsModel&&(t["x-voice-tts-model"]=e.ttsModel),e.ttsVoice&&(t["x-voice-tts-voice"]=e.ttsVoice),e.ttsFormat.trim()&&(t["x-voice-tts-format"]=e.ttsFormat.trim()),t}const as=(e,t={})=>{const r=tu(),n={};return t.body instanceof FormData||(n["Content-Type"]="application/json"),!Ir&&r&&(n.Authorization=`Bearer ${r}`),fetch(e,{...t,headers:{...n,...t.headers}}).then(a=>{const s=a.headers.get("X-Refreshed-Token");return s&&fw(s),a.headers.get("X-Auth-Error")&&Xh(),a})},xr=e=>{const t=new URLSearchParams;for(const[n,a]of Object.entries(e))a==null||a===""||a===!1||t.set(n,String(a));const r=t.toString();return r?`?${r}`:""};class Mw extends Error{code;details;status;constructor(t,r){super(t),this.name="ApiRequestError",this.code=r.code,this.details=r.details,this.status=r.status}}async function Ps(e){const t=await e.json();if(!e.ok||t.success===!1){const r=t.error??t.details,n=r&&typeof r=="object"?r:{},a=(typeof r=="string"?r:n?.message)||t.details||`Request failed (${e.status})`;throw new Mw(a,{code:typeof n?.code=="string"?n.code:void 0,details:n?.details??t.details,status:e.status})}return t}const xt=(e,t={})=>as(e,t),of=e=>(t,r,n={})=>as(t,{method:e,...r===void 0?{}:{body:JSON.stringify(r)},...n}),vt=of("POST"),Cs=of("PUT"),fp=of("PATCH"),Aa=of("DELETE"),Kre=(e,{limit:t=null,offset:r=0}={})=>{const n=`/api/providers/sessions/${encodeURIComponent(e)}/messages`;return t==null?n:`${n}${xr({limit:t,offset:r??0})}`},Yre=(e,t)=>`/api/file-tree/projects/${e}/files/content${xr({path:t})}`,K5=(e,t)=>`/api/plugins/${encodeURIComponent(e)}/assets/${encodeURIComponent(t)}`,xe={auth:{status:()=>fetch("/api/auth/status"),login:(e,t)=>fetch("/api/auth/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({username:e,password:t})}),register:(e,t)=>fetch("/api/auth/register",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({username:e,password:t})}),refresh:()=>vt("/api/auth/refresh"),user:()=>xt("/api/auth/user")},projects:()=>xt("/api/projects"),archivedProjects:()=>xt("/api/projects/archived"),projectSessions:(e,{limit:t=20,offset:r=0}={},n={})=>xt(`/api/projects/${encodeURIComponent(e)}/sessions${xr({limit:t,offset:r})}`,n),projectTaskmaster:e=>xt(`/api/projects/${encodeURIComponent(e)}/taskmaster`),renameProject:(e,t)=>Cs(`/api/projects/${e}/rename`,{displayName:t}),restoreProject:e=>vt(`/api/projects/${encodeURIComponent(e)}/restore`),deleteProject:(e,t=!1)=>Aa(`/api/projects/${e}${xr({force:t})}`),createProject:e=>vt("/api/projects/create-project",e),migrateLegacyProjectStars:e=>vt("/api/projects/migrate-legacy-stars",{projectIds:e}),toggleProjectStar:e=>vt(`/api/projects/${encodeURIComponent(e)}/toggle-star`),cloneProjectProgressUrl:e=>`/api/projects/clone-progress${xr({...e,token:tu()})}`,searchConversationsUrl:(e,t=50)=>`/api/providers/search/sessions${xr({q:e,limit:t,token:tu()})}`,deleteSession:(e,t=!1)=>Aa(`/api/providers/sessions/${e}${xr({force:t})}`),getArchivedSessions:()=>xt("/api/providers/sessions/archived"),sessionDetails:e=>xt(`/api/providers/sessions/${encodeURIComponent(e)}`),runningSessions:()=>xt("/api/providers/sessions/running"),recentConversations:({limit:e=40,offset:t=0}={})=>xt(`/api/providers/sessions/recent${xr({limit:e,offset:t})}`),providerSessionId:e=>xt(`/api/providers/sessions/${encodeURIComponent(e)}/provider-id`),restoreSession:e=>vt(`/api/providers/sessions/${e}/restore`),forkSession:(e,t={})=>vt(`/api/providers/sessions/${encodeURIComponent(e)}/fork`,t),renameSession:(e,t)=>Cs(`/api/providers/sessions/${e}`,{summary:t}),scheduledMessages:{list:e=>xt(`/api/scheduled-messages${e?xr({sessionId:e}):""}`),create:e=>vt("/api/scheduled-messages",e),cancel:e=>Aa(`/api/scheduled-messages/${encodeURIComponent(e)}`)},readFile:(e,t)=>xt(`/api/file-tree/projects/${e}/file${xr({filePath:t})}`),readFileBlob:(e,t,r={})=>xt(Yre(e,t),r),saveFile:(e,t,r)=>Cs(`/api/file-tree/projects/${e}/file`,{filePath:t,content:r}),getFiles:(e,t={})=>xt(`/api/file-tree/projects/${e}/files${xr({respectGitignore:!0})}`,t),createFile:(e,{path:t,type:r,name:n})=>vt(`/api/file-tree/projects/${e}/files/create`,{path:t,type:r,name:n}),renameFile:(e,{oldPath:t,newName:r})=>Cs(`/api/file-tree/projects/${e}/files/rename`,{oldPath:t,newName:r}),deleteFile:(e,{path:t,type:r})=>Aa(`/api/file-tree/projects/${e}/files`,{path:t,type:r}),uploadFilesUrl:e=>`/api/file-tree/projects/${encodeURIComponent(e)}/files/upload`,browseFilesystem:(e=null)=>xt(`/api/file-tree/browse-filesystem${xr({path:e})}`),createFolder:e=>vt("/api/file-tree/create-folder",{path:e}),git:{status:(e,t={})=>xt(`/api/git/status${xr({project:e})}`,t),diff:(e,t,r={})=>xt(`/api/git/diff${xr({project:e,file:t})}`,r),commitDiff:(e,t)=>xt(`/api/git/commit-diff${xr({project:e,commit:t})}`),fileWithDiff:(e,t)=>xt(`/api/git/file-with-diff${xr({project:e,file:t})}`),branches:(e,t={})=>xt(`/api/git/branches${xr({project:e})}`,t),remoteStatus:e=>xt(`/api/git/remote-status${xr({project:e})}`),commits:(e,{limit:t}={},r={})=>xt(`/api/git/commits${xr({project:e,limit:t})}`,r),checkout:(e,t)=>vt("/api/git/checkout",{project:e,branch:t}),createBranch:(e,t)=>vt("/api/git/create-branch",{project:e,branch:t}),deleteBranch:(e,t,r=!1)=>vt("/api/git/delete-branch",{project:e,branch:t,force:r}),fetch:e=>vt("/api/git/fetch",{project:e}),pull:e=>vt("/api/git/pull",{project:e}),push:e=>vt("/api/git/push",{project:e}),publish:(e,t)=>vt("/api/git/publish",{project:e,branch:t}),discard:(e,t)=>vt("/api/git/discard",{project:e,file:t}),deleteUntracked:(e,t)=>vt("/api/git/delete-untracked",{project:e,file:t}),stage:(e,t)=>vt("/api/git/stage",{project:e,files:t}),unstage:(e,t)=>vt("/api/git/unstage",{project:e,files:t}),commit:(e,t,r)=>vt("/api/git/commit",{project:e,message:t,files:r}),initialCommit:e=>vt("/api/git/initial-commit",{project:e}),init:e=>vt("/api/git/init",{project:e}),revertLocalCommit:e=>vt("/api/git/revert-local-commit",{project:e}),generateCommitMessage:(e,t,r)=>vt("/api/git/generate-commit-message",{project:e,files:t,provider:r})},worktrees:{list:e=>xt(`/api/worktrees${xr({project:e})}`),create:(e,{branch:t,baseBranch:r})=>vt("/api/worktrees/create",{project:e,branch:t,baseBranch:r}),open:(e,t)=>vt("/api/worktrees/open",{project:e,worktreePath:t}),merge:(e,t,r)=>vt("/api/worktrees/merge",{project:e,worktreePath:t,...r}),remove:(e,t,r)=>vt("/api/worktrees/remove",{project:e,worktreePath:t,...r})},providers:{capabilities:()=>xt("/api/providers/capabilities"),authStatus:e=>xt(`/api/providers/${encodeURIComponent(e)}/auth/status`),models:e=>xt(`/api/providers/${e}/models`),createModel:(e,t)=>vt(`/api/providers/${e}/models`,t),updateModel:(e,t,r)=>fp(`/api/providers/${e}/models/${t}`,r),deleteModel:(e,t)=>Aa(`/api/providers/${e}/models/${t}`),createSession:e=>vt("/api/providers/sessions",e),sessionMessages:(e,t={},r={})=>xt(Kre(e,t),r),sessionTokenUsage:e=>xt(`/api/providers/sessions/${encodeURIComponent(e)}/token-usage`),sessionActiveModel:(e,t)=>xt(`/api/providers/${e}/sessions/${encodeURIComponent(t)}/active-model`),setSessionActiveModel:(e,t,r)=>vt(`/api/providers/${e}/sessions/${encodeURIComponent(t)}/active-model`,{model:r}),setSessionActiveEffort:(e,t,r)=>vt(`/api/providers/${e}/sessions/${encodeURIComponent(t)}/active-effort`,{effort:r}),mcpServers:(e,{scope:t,workspacePath:r})=>xt(`/api/providers/${e}/mcp/servers${xr({scope:t,workspacePath:r})}`),saveMcpServer:(e,t)=>vt(`/api/providers/${e}/mcp/servers`,t),deleteMcpServer:(e,t,{scope:r,workspacePath:n})=>Aa(`/api/providers/${e}/mcp/servers/${encodeURIComponent(t)}${xr({scope:r,workspacePath:n})}`),saveGlobalMcpServer:e=>vt("/api/providers/mcp/servers/global",e),skills:(e,{workspacePath:t}={})=>xt(`/api/providers/${encodeURIComponent(e)}/skills${xr({workspacePath:t})}`),saveSkills:(e,t)=>vt(`/api/providers/${e}/skills`,t)},commands:{list:e=>vt("/api/commands/list",{projectPath:e}),execute:e=>vt("/api/commands/execute",e)},assets:{uploadFiles:e=>as("/api/assets/files",{method:"POST",headers:{},body:e}),file:e=>xt(`/api/assets/files/${encodeURIComponent(e)}`),image:(e,t={})=>xt(`/api/assets/images/${encodeURIComponent(e)}`,t)},taskmaster:{updateTask:(e,t,r)=>Cs(`/api/taskmaster/update-task/${e}/${t}`,r),tasks:e=>xt(`/api/taskmaster/tasks/${encodeURIComponent(e)}`),mcpStatus:()=>xt("/api/taskmaster/mcp-status"),installationStatus:()=>xt("/api/taskmaster/installation-status"),prdFiles:e=>xt(`/api/taskmaster/prd/${encodeURIComponent(e)}`),prdFile:(e,t)=>xt(`/api/taskmaster/prd/${encodeURIComponent(e)}/${encodeURIComponent(t)}`),savePrd:(e,{fileName:t,content:r})=>vt(`/api/taskmaster/prd/${encodeURIComponent(e)}`,{fileName:t,content:r})},user:{gitConfig:()=>xt("/api/user/git-config"),updateGitConfig:(e,t)=>vt("/api/user/git-config",{gitName:e,gitEmail:t}),onboardingStatus:()=>xt("/api/user/onboarding-status"),completeOnboarding:()=>vt("/api/user/complete-onboarding"),preferences:()=>xt("/api/user/preferences"),savePreferences:e=>fp("/api/user/preferences",e),drafts:()=>xt("/api/user/drafts"),saveDraft:(e,t)=>Cs("/api/user/drafts",{scope:e,...t}),deleteDraft:e=>Aa("/api/user/drafts",{scope:e})},settings:{apiKeys:()=>xt("/api/settings/api-keys"),createApiKey:e=>vt("/api/settings/api-keys",{keyName:e}),deleteApiKey:e=>Aa(`/api/settings/api-keys/${e}`),toggleApiKey:(e,t)=>fp(`/api/settings/api-keys/${e}/toggle`,{isActive:t}),credentials:e=>xt(`/api/settings/credentials${xr({type:e})}`),createCredential:e=>vt("/api/settings/credentials",e),deleteCredential:e=>Aa(`/api/settings/credentials/${e}`),toggleCredential:(e,t)=>fp(`/api/settings/credentials/${e}/toggle`,{isActive:t}),notificationPreferences:()=>xt("/api/settings/notification-preferences"),saveNotificationPreferences:e=>Cs("/api/settings/notification-preferences",e),push:{vapidPublicKey:()=>xt("/api/settings/push/vapid-public-key"),subscribe:e=>vt("/api/settings/push/subscribe",e),unsubscribe:e=>vt("/api/settings/push/unsubscribe",{endpoint:e})}},plugins:{list:()=>xt("/api/plugins"),install:e=>vt("/api/plugins/install",{url:e}),uninstall:e=>Aa(`/api/plugins/${encodeURIComponent(e)}`),update:e=>vt(`/api/plugins/${encodeURIComponent(e)}/update`),toggle:(e,t)=>Cs(`/api/plugins/${encodeURIComponent(e)}/enable`,{enabled:t}),asset:(e,t)=>xt(K5(e,t)),assetUrl:K5,rpc:(e,t,r,n)=>as(`/api/plugins/${encodeURIComponent(e)}/rpc/${String(r).replace(/^\//,"")}`,{method:t||"GET",...n!==void 0?{body:JSON.stringify(n)}:{}})},browserUse:{status:()=>xt("/api/browser-use/status"),settings:()=>xt("/api/browser-use/settings"),saveSettings:e=>Cs("/api/browser-use/settings",e),sessions:()=>xt("/api/browser-use/sessions"),stopSession:e=>vt(`/api/browser-use/sessions/${e}/stop`),deleteSession:e=>Aa(`/api/browser-use/sessions/${e}`),installRuntime:()=>vt("/api/browser-use/runtime/install")},voice:{health:()=>xt("/api/voice/health"),transcribe:(e,t={})=>as("/api/voice/transcribe",{method:"POST",headers:t,body:e}),tts:(e,t={})=>vt("/api/voice/tts",{text:e},t)},system:{update:()=>vt("/api/system/update")}};function j_(e,t){return`${e.replace(/\/$/,"")}${t}`}function Xre(){return JSON.stringify(vc())}function Zre(e,t){const r=vc(),n=new FormData;return r.baseUrl.trim()?(n.append("file",e,t),n.append("model",r.sttModel||"whisper-1"),fetch(j_(r.baseUrl.trim(),"/audio/transcriptions"),{method:"POST",headers:r.apiKey?{Authorization:`Bearer ${r.apiKey}`}:{},body:n})):(n.append("audio",e,t),xe.voice.transcribe(n,C_()))}function Jre(e,t){const r=vc();return r.baseUrl.trim()?fetch(j_(r.baseUrl.trim(),"/audio/speech"),{method:"POST",headers:{"Content-Type":"application/json",...r.apiKey?{Authorization:`Bearer ${r.apiKey}`}:{}},body:JSON.stringify({model:r.ttsModel||"tts-1",voice:r.ttsVoice||"alloy",input:e,...r.ttsFormat.trim()?{response_format:r.ttsFormat.trim()}:{}}),signal:t}):xe.voice.tts(e,{headers:C_(),signal:t})}const Qre="user-preferences:changed",Iw="user-preferences",ene=400,N_={theme:"theme",userLanguage:"userLanguage",tasksEnabled:"tasks-enabled",projectSortOrder:"claude-settings",claudePermissions:"claude-settings",cursorPermissions:"cursor-tools-settings",codexPermissions:"codex-settings",mistralPermissions:"mistral-settings",opencodePermissions:"opencode-settings",codeEditorSettings:"",uiPreferences:"uiPreferences",selectedProvider:"selected-provider"},tne=Object.keys(N_),Zv=new Set;let Fa={},Jl={},ki=null;const ch=e=>!!e&&typeof e=="object"&&!Array.isArray(e);function rne(){try{const e=localStorage.getItem(Iw);if(!e)return{};const t=JSON.parse(e);return ch(t)?t:{}}catch{return{}}}function Dw(){try{localStorage.setItem(Iw,JSON.stringify(Fa))}catch{}}function lf(){for(const e of Zv)e();typeof window<"u"&&window.dispatchEvent(new Event(Qre))}function nne(){ki=null;const e=Jl;if(Jl={},Object.keys(e).length!==0)try{xe.user.savePreferences(e).catch(t=>{console.error("Failed to save user preferences:",t)})}catch(t){console.error("Failed to save user preferences:",t)}}function Rw(e){Jl={...Jl,...e},ki!==null&&clearTimeout(ki),ki=setTimeout(nne,ene)}function rn(e,t){const r=Fa[e];return r??t}function qi(e,t){JSON.stringify(Fa[e])!==JSON.stringify(t)&&(Fa={...Fa,[e]:t},Dw(),Rw({[e]:t}),lf())}function ane(e){const t={};for(const[r,n]of Object.entries(e))JSON.stringify(Fa[r])!==JSON.stringify(n)&&(t[r]=n);Object.keys(t).length!==0&&(Fa={...Fa,...t},Dw(),Rw(t),lf())}function Wi(e){return Zv.add(e),()=>{Zv.delete(e)}}function sne(e){let t=null;try{t=localStorage.getItem(N_[e])}catch{return}if(t===null)return;if(e==="theme"||e==="userLanguage"||e==="selectedProvider")return t;let r;try{r=JSON.parse(t)}catch{return}if(e==="projectSortOrder")return ch(r)?r.projectSortOrder:void 0;if(e==="claudePermissions"){if(!ch(r))return;const{allowedTools:n,disallowedTools:a,skipPermissions:s}=r;return{allowedTools:n,disallowedTools:a,skipPermissions:s}}return r}function one(){try{const e=localStorage.getItem(mp.wordWrap),t=localStorage.getItem(mp.showMinimap),r=localStorage.getItem(mp.lineNumbers),n=localStorage.getItem(mp.fontSize);if(e===null&&t===null&&r===null&&n===null)return;const a={};return e!==null&&(a.wordWrap=e!=="false"),t!==null&&(a.showMinimap=t!=="false"),r!==null&&(a.lineNumbers=r!=="false"),n!==null&&(a.fontSize=n),a}catch{return}}async function ine(){let e={};try{const r=await xe.user.preferences();if(r.ok){const n=await r.json();ch(n.preferences)&&(e=n.preferences)}}catch(r){console.error("Failed to load user preferences:",r);return}const t={};for(const r of tne){if(e[r]!==void 0)continue;const n=r==="codeEditorSettings"?one():sne(r);n!==void 0&&(t[r]=n)}for(const r of Object.keys(e))delete Jl[r];Fa={...e,...t},Dw(),Object.keys(t).length>0&&Rw(t),lf()}function lne(){Fa={},Jl={},ki!==null&&(clearTimeout(ki),ki=null);try{localStorage.removeItem(Iw)}catch{}lf()}typeof localStorage<"u"&&(Fa=rne());const T_=f.createContext(null),$o=()=>{const e=f.useContext(T_);if(!e)throw new Error("useTheme must be used within a ThemeProvider");return e},E_=({children:e})=>{const[t,r]=f.useState(()=>{const s=rn("theme",null);return s?s==="dark":window.matchMedia?window.matchMedia("(prefers-color-scheme: dark)").matches:!1});f.useEffect(()=>Wi(()=>{const s=rn("theme",null);s&&r(s==="dark")}),[]),f.useEffect(()=>{if(t){document.documentElement.classList.add("dark");const s=document.querySelector('meta[name="apple-mobile-web-app-status-bar-style"]');s&&s.setAttribute("content","black-translucent");const i=document.querySelector('meta[name="theme-color"]');i&&i.setAttribute("content","#141414")}else{document.documentElement.classList.remove("dark");const s=document.querySelector('meta[name="apple-mobile-web-app-status-bar-style"]');s&&s.setAttribute("content","default");const i=document.querySelector('meta[name="theme-color"]');i&&i.setAttribute("content","#f6f4ef")}},[t]),f.useEffect(()=>{if(!window.matchMedia)return;const s=window.matchMedia("(prefers-color-scheme: dark)"),i=l=>{rn("theme",null)||r(l.matches)};return s.addEventListener("change",i),()=>s.removeEventListener("change",i)},[]);const n=f.useCallback(()=>{r(s=>{const i=!s;return qi("theme",i?"dark":"light"),i})},[]),a=f.useMemo(()=>({isDarkMode:t,toggleDarkMode:n}),[t,n]);return o.jsx(T_.Provider,{value:a,children:e})},Jv={showRawParameters:!1,showThinking:!0,sendByCtrlEnter:!1,sidebarVisible:!0,voiceEnabled:!1},zw=Object.keys(Jv),cne=new Set(zw),Qv=(e,t)=>{if(typeof e=="boolean")return e;if(typeof e=="string"){if(e==="true")return!0;if(e==="false")return!1}return t},Y5=()=>{const e=rn("uiPreferences",{});return zw.reduce((t,r)=>(t[r]=Qv(e[r],Jv[r]),t),{...Jv})};function dne(e,t){switch(t.type){case"set":{const{key:r,value:n}=t;if(!cne.has(r))return e;const a=Qv(n,e[r]);return e[r]===a?e:{...e,[r]:a}}case"set_many":{const r=t.value||{};let n=!1;const a={...e};for(const s of zw){if(!(s in r))continue;const i=Qv(r[s],e[s]);a[s]!==i&&(a[s]=i,n=!0)}return n?a:e}default:return e}}const A_=f.createContext(null),__=f.createContext(null);function une({children:e}){const[t,r]=f.useReducer(dne,void 0,Y5),n=f.useRef(JSON.stringify(t));f.useEffect(()=>{const s=JSON.stringify(t);n.current!==s&&(n.current=s,qi("uiPreferences",t))},[t]),f.useEffect(()=>Wi(()=>{const s=Y5();n.current=JSON.stringify(s),r({type:"set_many",value:s})}),[]);const a=f.useMemo(()=>({setPreference:(s,i)=>r({type:"set",key:s,value:i})}),[]);return o.jsx(__.Provider,{value:a,children:o.jsx(A_.Provider,{value:t,children:e})})}function Tu(){const e=f.useContext(A_);if(!e)throw new Error("useUiPreferences must be used within a UiPreferencesProvider");return e}function Lw(){const e=f.useContext(__);if(!e)throw new Error("useSetUiPreference must be used within a UiPreferencesProvider");return e.setPreference}const pne="chat-drafts:changed",$w="chat-drafts",mne=1e3,hne={text:"",queuedMessage:null},e1=new Set;let Oa=new Map;const Ql=new Set;let ss=null;const hm=e=>!!e&&typeof e=="object"&&!Array.isArray(e),P_=e=>e.text===""&&e.queuedMessage===null;function fne(){try{const e=localStorage.getItem($w);if(!e)return new Map;const t=JSON.parse(e);if(!hm(t))return new Map;const r=new Map;for(const[n,a]of Object.entries(t))hm(a)&&r.set(n,{text:typeof a.text=="string"?a.text:"",queuedMessage:hm(a.queuedMessage)?a.queuedMessage:null});return r}catch{return new Map}}function M_(){try{localStorage.setItem($w,JSON.stringify(Object.fromEntries(Oa)))}catch{}}function Fw(){for(const e of e1)e();typeof window<"u"&&window.dispatchEvent(new Event(pne))}function I_(){ss=null;const e=[...Ql];Ql.clear();for(const t of e){const r=Oa.get(t);try{if(!r||P_(r)){xe.user.deleteDraft(t).catch(n=>{console.error("Failed to delete chat draft:",n)});continue}xe.user.saveDraft(t,{text:r.text,queuedMessage:r.queuedMessage}).catch(n=>{console.error("Failed to save chat draft:",n)})}catch(n){console.error("Failed to save chat draft:",n)}}}function gne(e){Ql.add(e),ss!==null&&clearTimeout(ss),ss=setTimeout(I_,mne)}function D_(){ss!==null&&(clearTimeout(ss),ss=null),I_()}function Ow(e,t){const r=Oa.get(e)??hne,n={...r,...t};if(n.text===r.text&&n.queuedMessage===r.queuedMessage)return;const a=new Map(Oa);P_(n)?a.delete(e):a.set(e,n),Oa=a,M_(),gne(e),Fw()}function X5(e){return Oa.get(e)?.text??""}function F0(e,t){Ow(e,{text:t})}function R_(e){const t=Oa.get(e)?.queuedMessage??null;if(!t)return null;const r=Array.isArray(t.attachments)?t.attachments:Array.isArray(t.images)?t.images:[];return t.content.trim()||r.length>0?{...t,attachments:r}:null}function Z5(e,t){Ow(e,{queuedMessage:t}),D_()}function bne(e){Ow(e,{queuedMessage:null}),D_()}function xne(e){return e1.add(e),()=>{e1.delete(e)}}async function z_(){let e=[];try{const r=await xe.user.drafts();if(!r.ok)return;const n=await r.json();if(!Array.isArray(n.drafts))return;e=n.drafts}catch(r){console.error("Failed to load chat drafts:",r);return}const t=new Map;for(const r of e){const n=typeof r.scope=="string"?r.scope:"";!n||Ql.has(n)||t.set(n,{text:typeof r.text=="string"?r.text:"",queuedMessage:hm(r.queuedMessage)?r.queuedMessage:null})}for(const r of Ql){const n=Oa.get(r);n&&t.set(r,n)}Oa=t,M_(),Fw()}function vne(){Oa=new Map,Ql.clear(),ss!==null&&(clearTimeout(ss),ss=null);try{localStorage.removeItem($w)}catch{}Fw()}typeof localStorage<"u"&&(Oa=fne());const L_="auth-token",no={authStatusCheckFailed:"errors.authStatusCheckFailed",loginFailed:"errors.loginFailed",registrationFailed:"errors.registrationFailed",networkError:"errors.networkError",sessionExpired:"errors.sessionExpired"};async function il(e){try{return await e.json()}catch{return null}}function J5(e,t){if(!e)return t;const{error:r}=e;return typeof r=="string"?r:r&&typeof r.message=="string"?r.message:e.message??t}const $_=f.createContext(null),yne=()=>localStorage.getItem(L_),Q5=e=>{fw(e)},wne=()=>{localStorage.removeItem(L_)};function Eu(){const e=f.useContext($_);if(!e)throw new Error("useAuth must be used within an AuthProvider");return e}function kne({children:e}){const{t}=Ae("auth"),[r,n]=f.useState(null),[a,s]=f.useState(()=>yne()),i=f.useRef(a),[l,c]=f.useState(!0),[d,p]=f.useState(!1),[u,h]=f.useState(!0),[m,g]=f.useState(null),b=f.useCallback((N,D)=>{n(N),s(D),Q5(D)},[]),x=f.useCallback(()=>{n(null),s(null),wne(),lne(),vne()},[]),v=r?String(r.id??r.username):null;f.useEffect(()=>{v&&(ine(),z_())},[v]);const y=f.useCallback(async()=>{try{const N=await xe.user.onboardingStatus();if(!N.ok)return;const D=await il(N);h(!!D?.hasCompletedOnboarding)}catch(N){console.error("Error checking onboarding status:",N),h(!0)}},[]),w=f.useCallback(async()=>{await y()},[y]),S=f.useCallback(async()=>{if(!(Ir||!a||!r))try{const N=await xe.auth.refresh();if(!N.ok)return;const D=await il(N);th(D?.token)&&(s(D.token),Q5(D.token))}catch(N){console.warn("[Auth] Session refresh failed:",N)}},[a,r]);f.useEffect(()=>{const N=A=>{const U=A.detail;th(U)&&s(U)},D=()=>{x(),g(t(no.sessionExpired))};return window.addEventListener(Fs,N),window.addEventListener(Os,D),()=>{window.removeEventListener(Fs,N),window.removeEventListener(Os,D)}},[x,t]);const j=f.useCallback(async()=>{try{c(!0),g(null);const N=await xe.auth.status();if((await il(N))?.needsSetup){p(!0);return}if(p(!1),!i.current)return;const A=await xe.auth.user();if(!A.ok){x();return}const U=await il(A);if(!U?.user){x();return}n(U.user),await y()}catch(N){console.error("[Auth] Auth status check failed:",N),g(t(no.authStatusCheckFailed))}finally{c(!1)}},[y,x,t]);f.useEffect(()=>{i.current=a},[a]),f.useEffect(()=>{if(Ir){n({username:"platform-user"}),p(!1),y().finally(()=>{c(!1)});return}j()},[j,y]),f.useEffect(()=>{if(Ir||!a||!r)return;const N=()=>{const _=A5(a);_!==null&&_<=0&&S()},D=()=>{document.visibilityState==="visible"&&N()},A=A5(a),U=A===null?null:window.setTimeout(()=>{S()},A);return window.addEventListener("focus",N),document.addEventListener("visibilitychange",D),()=>{U!==null&&window.clearTimeout(U),window.removeEventListener("focus",N),document.removeEventListener("visibilitychange",D)}},[S,a,r]);const k=f.useCallback(async(N,D)=>{try{g(null);const A=await xe.auth.login(N,D),U=await il(A);if(!A.ok||!U?.token||!U.user){const _=J5(U,t(no.loginFailed));return g(_),{success:!1,error:_}}return b(U.user,U.token),p(!1),await y(),{success:!0}}catch(A){return console.error("Login error:",A),g(t(no.networkError)),{success:!1,error:t(no.networkError)}}},[y,b,t]),C=f.useCallback(async(N,D)=>{try{g(null);const A=await xe.auth.register(N,D),U=await il(A);if(!A.ok||!U?.token||!U.user){const _=J5(U,t(no.registrationFailed));return g(_),{success:!1,error:_}}return b(U.user,U.token),p(!1),await y(),{success:!0}}catch(A){return console.error("Registration error:",A),g(t(no.networkError)),{success:!1,error:t(no.networkError)}}},[y,b,t]),E=f.useCallback(()=>{x()},[x]),T=f.useMemo(()=>({user:r,token:a,isLoading:l,needsSetup:d,hasCompletedOnboarding:u,error:m,login:k,register:C,logout:E,refreshOnboardingStatus:w}),[m,u,l,k,E,d,w,C,a,r]);return o.jsx($_.Provider,{value:T,children:e})}function Sne(){const e=window.location.protocol==="https:"?"wss:":"ws:";if(Ir)return`${e}//${window.location.host}/shell`;const t=tu();return t?`${e}//${window.location.host}/shell?token=${encodeURIComponent(t)}`:(console.error("No authentication token found for Shell WebSocket connection"),null)}function Cne(e){try{return JSON.parse(e)}catch{return null}}function fo(e,t){e&&e.readyState===WebSocket.OPEN&&e.send(JSON.stringify(t))}const jne=["claude","cursor","codex","mistral","opencode"],Nne="claude";function Us(){const e=rn("selectedProvider",null);return jne.includes(e)?e:Nne}function Bw(e){qi("selectedProvider",e)}const Tne=/(?:\u001B\[[0-?]*[ -/]*[@-~]|\u009B[0-?]*[ -/]*[@-~]|\u001B\][^\u0007\u001B]*(?:\u0007|\u001B\\)|\u009D[^\u0007\u009C]*(?:\u0007|\u009C)|\u001B[PX^_][^\u001B]*\u001B\\|[\u0090\u0098\u009E\u009F][^\u009C]*\u009C|\u001B[@-Z\\-_])/g,Ene=/Process exited with code (\d+)/;function Ane({wsRef:e,terminalRef:t,fitAddonRef:r,selectedProjectRef:n,selectedSessionRef:a,initialCommandRef:s,isPlainShellRef:i,bypassPermissionsRef:l,onProcessCompleteRef:c,isInitialized:d,autoConnect:p,closeSocket:u,clearTerminalScreen:h,onOutputRef:m}){const[g,b]=f.useState(!1),[x,v]=f.useState(!1),y=f.useRef(!1),w=f.useRef(!1),S=f.useRef(!1),j=f.useCallback(N=>{if(!i.current||!c.current)return;const A=N.replace(Tne,"");if(A.includes("Process exited with code 0")){c.current(0);return}const U=A.match(Ene);if(!U)return;const _=Number.parseInt(U[1],10);!Number.isNaN(_)&&_!==0&&c.current(_)},[i,c]),k=f.useCallback(N=>{const D=Cne(N);if(!D){console.error("[Shell] Error handling WebSocket message:",N);return}if(D.type==="output"){const A=typeof D.data=="string"?D.data:"";j(A),t.current?.write(A),m?.current?.();return}if(D.type==="error"){const A=typeof D.message=="string"&&D.message?D.message:"Shell error";t.current?.write(`\r
3302
3302
  \x1B[31m${A}\x1B[0m\r
3303
3303
  `);return}},[j,m,t]),C=f.useCallback((N=!1)=>{if(!(y.current&&!N||x||g))try{const D=Sne();if(!D){y.current=!1,v(!1);return}y.current=!0;const A=new WebSocket(D);e.current=A,A.onopen=()=>{b(!0),v(!1),y.current=!1,window.setTimeout(()=>{const U=t.current,_=r.current,q=n.current;if(!U||!_||!q)return;_.fit();const z=w.current;w.current=!1,fo(A,{type:"init",projectPath:q.fullPath||q.path||"",sessionId:i.current?null:a.current?.id||null,hasSession:i.current?!1:!!a.current,provider:i.current?"plain-shell":a.current?.__provider||Us(),cols:U.cols,rows:U.rows,initialCommand:s.current,isPlainShell:i.current,forceRestart:z,bypassPermissions:l.current})},y_)},A.onmessage=U=>{const _=typeof U.data=="string"?U.data:String(U.data??"");k(_)},A.onclose=()=>{b(!1),v(!1),y.current=!1,h()},A.onerror=()=>{b(!1),v(!1),y.current=!1}}catch{b(!1),v(!1),y.current=!1,w.current=!1}},[l,h,r,k,s,g,x,i,n,a,t,e]),E=f.useCallback(N=>{!d||g||x||y.current||(w.current=!!N?.forceRestart,S.current=!1,y.current=!0,v(!0),C(!0))},[C,g,x,d]),T=f.useCallback(N=>{N?.suppressAutoConnect&&(S.current=!0),u(),h(),b(!1),v(!1),y.current=!1,w.current=!1},[h,u]);return f.useEffect(()=>{!p||S.current||!d||x||g||E()},[p,E,g,x,d]),{isConnected:g,isConnecting:x,closeSocket:u,connectToShell:E,disconnectFromShell:T}}var _ne=sB(),Pne=oB(),O0={exports:{}},eS;function Mne(){return eS||(eS=1,(function(e,t){(function(r,n){e.exports=n()})(self,(()=>(()=>{var r={6:(i,l)=>{function c(p){try{const u=new URL(p),h=u.password&&u.username?`${u.protocol}//${u.username}:${u.password}@${u.host}`:u.username?`${u.protocol}//${u.username}@${u.host}`:`${u.protocol}//${u.host}`;return p.toLocaleLowerCase().startsWith(h.toLocaleLowerCase())}catch{return!1}}Object.defineProperty(l,"__esModule",{value:!0}),l.LinkComputer=l.WebLinkProvider=void 0,l.WebLinkProvider=class{constructor(p,u,h,m={}){this._terminal=p,this._regex=u,this._handler=h,this._options=m}provideLinks(p,u){const h=d.computeLink(p,this._regex,this._terminal,this._handler);u(this._addCallbacks(h))}_addCallbacks(p){return p.map((u=>(u.leave=this._options.leave,u.hover=(h,m)=>{if(this._options.hover){const{range:g}=u;this._options.hover(h,m,g)}},u)))}};class d{static computeLink(u,h,m,g){const b=new RegExp(h.source,(h.flags||"")+"g"),[x,v]=d._getWindowedLineStrings(u-1,m),y=x.join("");let w;const S=[];for(;w=b.exec(y);){const j=w[0];if(!c(j))continue;const[k,C]=d._mapStrIdx(m,v,0,w.index),[E,T]=d._mapStrIdx(m,k,C,j.length);if(k===-1||C===-1||E===-1||T===-1)continue;const N={start:{x:C+1,y:k+1},end:{x:T,y:E+1}};S.push({range:N,text:j,activate:g})}return S}static _getWindowedLineStrings(u,h){let m,g=u,b=u,x=0,v="";const y=[];if(m=h.buffer.active.getLine(u)){const w=m.translateToString(!0);if(m.isWrapped&&w[0]!==" "){for(x=0;(m=h.buffer.active.getLine(--g))&&x<2048&&(v=m.translateToString(!0),x+=v.length,y.push(v),m.isWrapped&&v.indexOf(" ")===-1););y.reverse()}for(y.push(w),x=0;(m=h.buffer.active.getLine(++b))&&m.isWrapped&&x<2048&&(v=m.translateToString(!0),x+=v.length,y.push(v),v.indexOf(" ")===-1););}return[y,g]}static _mapStrIdx(u,h,m,g){const b=u.buffer.active,x=b.getNullCell();let v=m;for(;g;){const y=b.getLine(h);if(!y)return[-1,-1];for(let w=v;w<y.length;++w){y.getCell(w,x);const S=x.getChars();if(x.getWidth()&&(g-=S.length||1,w===y.length-1&&S==="")){const j=b.getLine(h+1);j&&j.isWrapped&&(j.getCell(0,x),x.getWidth()===2&&(g+=1))}if(g<0)return[h,w]}h++,v=0}return[h,v]}}l.LinkComputer=d}},n={};function a(i){var l=n[i];if(l!==void 0)return l.exports;var c=n[i]={exports:{}};return r[i](c,c.exports,a),c.exports}var s={};return(()=>{var i=s;Object.defineProperty(i,"__esModule",{value:!0}),i.WebLinksAddon=void 0;const l=a(6),c=/(https?|HTTPS?):[/]{2}[^\s"'!*(){}|\\\^<>`]*[^\s"':,.!?{}|\\\^~\[\]`()<>]/;function d(p,u){const h=window.open();if(h){try{h.opener=null}catch{}h.location.href=u}else console.warn("Opening link blocked as opener could not be cleared")}i.WebLinksAddon=class{constructor(p=d,u={}){this._handler=p,this._options=u}activate(p){this._terminal=p;const u=this._options,h=u.urlRegex||c;this._linkProvider=this._terminal.registerLinkProvider(new l.WebLinkProvider(this._terminal,h,this._handler,u))}dispose(){this._linkProvider?.dispose()}}})(),s})()))})(O0)),O0.exports}var Ine=Mne(),Dne=iB(),Rne=lB();const zne=600,tS=8,ll=22,Lne=40,B0=12,Ko=8,$ne=50,rS=8,Fne=48,One=.95,nS=.02,aS=5,Bne=90;function Une(){return typeof window>"u"||typeof navigator>"u"?!1:navigator.maxTouchPoints>0||"ontouchstart"in window||window.matchMedia?.("(pointer: coarse)").matches===!0}function Yo(e,t,r){return Math.max(t,Math.min(r,e))}function sS(e,t){return Math.hypot(t.clientX-e.clientX,t.clientY-e.clientY)}class Hne{terminal;terminalContent;overlay;startHandle;endHandle;contextMenu;disposables=[];originalPosition;didSetPosition=!1;isDestroyed=!1;isSelecting=!1;isHandleDragging=!1;dragHandle=null;selectionStart=null;selectionEnd=null;touchStart=null;pendingClearTouch=null;tapHoldTimeout=null;cellDimensions={width:0,height:0};isContextMenuVisible=!1;minFontSize;maxFontSize;onFontSizeChange;isPinching=!1;pinchStartDistance=0;initialFontSize=0;lastZoomTime=0;viewportElement=null;lastScrollTouchY=null;lastScrollTouchTime=0;scrollVelocity=0;inertiaFrame=null;constructor(t,r,n={}){this.terminal=t,this.terminalContent=r,this.originalPosition=r.style.position;const a=Number(n.minFontSize)||rS,s=Number(n.maxFontSize)||Fne;this.minFontSize=Math.min(a,s),this.maxFontSize=Math.max(a,s),this.onFontSizeChange=n.onFontSizeChange??(i=>{this.terminal.options.fontSize=i,this.terminal.refresh(0,this.terminal.rows-1)}),window.getComputedStyle(r).position==="static"&&(r.style.position="relative",this.didSetPosition=!0),this.overlay=this.createSelectionOverlay(),this.startHandle=this.createHandle("start"),this.endHandle=this.createHandle("end"),this.contextMenu=this.createContextMenu(),this.overlay.append(this.startHandle,this.endHandle,this.contextMenu),this.terminalContent.appendChild(this.overlay),this.attachEventListeners(),this.updateCellDimensions()}createSelectionOverlay(){const t=document.createElement("div");return t.className="shell-mobile-selection-overlay",t.style.position="absolute",t.style.inset="0",t.style.overflow="hidden",t.style.pointerEvents="none",t.style.zIndex="30",t}createHandle(t){const r=document.createElement("div");return r.className=`shell-mobile-selection-handle shell-mobile-selection-handle-${t}`,r.dataset.handleType=t,r.style.position="absolute",r.style.width=`${ll}px`,r.style.height=`${ll}px`,r.style.borderRadius="50%",r.style.background="#3b82f6",r.style.border="2px solid #fff",r.style.boxShadow="0 2px 8px rgba(0,0,0,0.3)",r.style.display="none",r.style.pointerEvents="auto",r.style.touchAction="none",r.style.zIndex="31",r}createContextMenu(){const t=document.createElement("div");t.className="shell-mobile-selection-menu",t.style.position="absolute",t.style.display="none",t.style.alignItems="stretch",t.style.padding="4px",t.style.gap="2px",t.style.background="#1f2937",t.style.border="1px solid rgba(255,255,255,0.12)",t.style.borderRadius="10px",t.style.boxShadow="0 6px 20px rgba(0,0,0,0.4)",t.style.pointerEvents="auto",t.style.touchAction="none",t.style.zIndex="32",t.style.whiteSpace="nowrap",t.style.userSelect="none";const r=[{label:"Copy",action:()=>this.copySelection()},{label:"Select All",action:()=>this.selectAllText()}];for(const n of r)t.appendChild(this.createContextMenuButton(n));return t}createContextMenuButton(t){const r=document.createElement("button");r.type="button",r.textContent=t.label,r.style.appearance="none",r.style.border="none",r.style.margin="0",r.style.padding="8px 14px",r.style.background="transparent",r.style.color="#f9fafb",r.style.fontSize="14px",r.style.fontFamily="inherit",r.style.lineHeight="1",r.style.borderRadius="6px",r.style.cursor="pointer",r.style.pointerEvents="auto",r.style.touchAction="none";let n=!1;const a=i=>{i.preventDefault(),i.stopPropagation(),n=!1},s=i=>{i.preventDefault(),i.stopPropagation(),!n&&(n=!0,t.action())};return r.addEventListener("touchstart",a,{passive:!1}),r.addEventListener("touchend",s,{passive:!1}),r.addEventListener("mousedown",a),r.addEventListener("mouseup",s),r.addEventListener("click",i=>{i.preventDefault(),i.stopPropagation()}),r}attachEventListeners(){this.terminal.element&&(this.terminal.element.addEventListener("touchstart",this.onTerminalTouchStart,{passive:!1}),this.terminal.element.addEventListener("touchmove",this.onTerminalTouchMove,{passive:!1}),this.terminal.element.addEventListener("touchend",this.onTerminalTouchEnd,{passive:!1}),this.terminal.element.addEventListener("touchcancel",this.onTerminalTouchCancel,{passive:!1}),this.startHandle.addEventListener("touchstart",this.onHandleTouchStart,{passive:!1}),this.startHandle.addEventListener("touchmove",this.onHandleTouchMove,{passive:!1}),this.startHandle.addEventListener("touchend",this.onHandleTouchEnd,{passive:!1}),this.startHandle.addEventListener("touchcancel",this.onHandleTouchEnd,{passive:!1}),this.endHandle.addEventListener("touchstart",this.onHandleTouchStart,{passive:!1}),this.endHandle.addEventListener("touchmove",this.onHandleTouchMove,{passive:!1}),this.endHandle.addEventListener("touchend",this.onHandleTouchEnd,{passive:!1}),this.endHandle.addEventListener("touchcancel",this.onHandleTouchEnd,{passive:!1}),document.addEventListener("touchstart",this.onDocumentTouchStart,{passive:!0}),this.disposables.push(this.terminal.onSelectionChange(this.onSelectionChange),this.terminal.onResize(this.onTerminalResize),this.terminal.onScroll(this.onTerminalScroll)))}onTerminalTouchStart=t=>{if(this.cancelInertia(),this.resetScrollTracking(),t.touches.length===2){t.preventDefault(),this.startPinchZoom(t);return}if(t.touches.length!==1){this.clearTapHoldTimeout();return}const r=this.toTouchCoords(t.touches[0]);if(this.touchStart=r,this.isSelecting){this.pendingClearTouch={point:r,moved:!1};return}this.clearTapHoldTimeout(),this.tapHoldTimeout=window.setTimeout(()=>{this.tapHoldTimeout=null,this.startSelection(r)},zne)};onTerminalTouchMove=t=>{if(t.touches.length===2&&this.isPinching){t.preventDefault(),this.handlePinchZoom(t);return}if(t.touches.length!==1){this.clearTapHoldTimeout();return}if(this.isPinching)return;const r=this.toTouchCoords(t.touches[0]),n=this.touchStart;if(this.pendingClearTouch){this.pendingClearTouch.moved=this.pendingClearTouch.moved||sS(this.pendingClearTouch.point,r)>tS;return}if(!n)return;if(sS(n,r)>tS&&this.clearTapHoldTimeout(),this.isSelecting&&!this.isHandleDragging){t.preventDefault(),this.extendSelection(r);return}this.recordScrollSample(r)};onTerminalTouchEnd=t=>{if(this.isPinching){this.endPinchZoom();return}if(this.clearTapHoldTimeout(),this.touchStart=null,(this.isSelecting||this.isHandleDragging)&&(t.preventDefault(),this.blurTerminalInput()),!this.pendingClearTouch){this.maybeStartInertia();return}const r=this.isSelecting&&!this.pendingClearTouch.moved&&!this.isHandleDragging;this.pendingClearTouch=null,r&&this.clearSelection()};onTerminalTouchCancel=()=>{this.isPinching&&this.endPinchZoom(),this.clearTapHoldTimeout(),this.touchStart=null,this.pendingClearTouch=null};onHandleTouchStart=t=>{if(t.preventDefault(),t.stopPropagation(),t.touches.length!==1)return;const r=t.currentTarget;this.dragHandle=r.dataset.handleType==="start"?"start":"end",this.isHandleDragging=!0,this.pendingClearTouch=null};onHandleTouchMove=t=>{if(!this.isHandleDragging||!this.dragHandle||t.touches.length!==1)return;t.preventDefault(),t.stopPropagation();const r=this.toTouchCoords(t.touches[0]),n={clientX:r.clientX,clientY:r.clientY-Lne},a=this.touchToTerminalCoords(n);a&&(this.dragHandle==="start"?this.selectionStart=a:this.selectionEnd=a,this.swapHandlesIfNeeded(),this.updateSelection())};onHandleTouchEnd=t=>{this.isHandleDragging&&(t.preventDefault(),t.stopPropagation(),this.isHandleDragging=!1,this.dragHandle=null)};onSelectionChange=()=>{if(this.isSelecting){if(!this.terminal.hasSelection()){this.resetSelectionState();return}this.updateHandles()}};onTerminalResize=()=>{this.updateCellDimensions(),this.updateHandles()};onTerminalScroll=()=>{this.updateHandles()};onDocumentTouchStart=t=>{!this.isSelecting||!t.target||this.terminalContent.contains(t.target)||this.clearSelection()};startSelection(t){const r=this.touchToTerminalCoords(t);if(!r)return;const n=this.getWordBoundsAt(r);this.selectionStart=n?.start??r,this.selectionEnd=n?.end??r,this.isSelecting=!0,this.blurTerminalInput(),this.updateSelection(),this.showHandles(),this.showContextMenu()}extendSelection(t){const r=this.touchToTerminalCoords(t);r&&(this.selectionEnd=r,this.updateSelection())}updateSelection(){if(!this.selectionStart||!this.selectionEnd)return;const{start:t,end:r}=this.getOrderedSelection(),n=this.calculateSelectionLength(t,r);n<=0||(this.terminal.select(t.col,t.row,n),this.updateHandles())}calculateSelectionLength(t,r){return t.row===r.row?r.col-t.col+1:(r.row-t.row)*this.terminal.cols-t.col+r.col+1}getOrderedSelection(){const t=this.selectionStart,r=this.selectionEnd;if(!t||!r)throw new Error("Cannot order empty terminal selection");return t.row<r.row||t.row===r.row&&t.col<=r.col?{start:t,end:r}:{start:r,end:t}}swapHandlesIfNeeded(){if(!this.selectionStart||!this.selectionEnd||!this.dragHandle)return;const{start:t,end:r}=this.getOrderedSelection();t===this.selectionStart&&r===this.selectionEnd||(this.selectionStart=t,this.selectionEnd=r,this.dragHandle=this.dragHandle==="start"?"end":"start")}showHandles(){this.startHandle.style.display="block",this.endHandle.style.display="block",this.updateHandles()}hideHandles(){this.startHandle.style.display="none",this.endHandle.style.display="none"}showContextMenu(){this.contextMenu.style.display="flex",this.isContextMenuVisible=!0,this.positionContextMenu()}hideContextMenu(){this.contextMenu.style.display="none",this.isContextMenuVisible=!1}positionContextMenu(){if(!this.isContextMenuVisible)return;const t=this.terminalContent.getBoundingClientRect(),r=this.contextMenu.offsetWidth||0,n=this.contextMenu.offsetHeight||0,a=this.selectionStart&&this.selectionEnd?this.getOrderedSelection():null,s=a?this.terminalCoordsToPixels(a.start):null,i=a?this.terminalCoordsToPixels(a.end):null;let l,c;if(s||i){const u=Math.min(s?.y??i.y,i?.y??s.y);l=(s&&i?(s.x+i.x)/2:(s??i).x)-r/2,c=u-n-B0,c<Ko&&(c=Math.max(s?.y??i.y,i?.y??s.y)+this.cellDimensions.height+ll+B0)}else l=(t.width-r)/2,c=t.height-n-B0;const d=t.width-r-Ko,p=t.height-n-Ko;l=Yo(l,Ko,Math.max(Ko,d)),c=Yo(c,Ko,Math.max(Ko,p)),this.contextMenu.style.left=`${l}px`,this.contextMenu.style.top=`${c}px`}copySelection(){const t=this.terminal.getSelection();t&&Zn(t),this.clearSelection()}selectAllText(){this.terminal.selectAll(),this.selectionStart=null,this.selectionEnd=null,this.isSelecting=!0,this.hideHandles(),this.terminal.hasSelection()?this.showContextMenu():this.clearSelection()}startPinchZoom(t){t.touches.length===2&&(this.clearTapHoldTimeout(),this.isSelecting&&this.clearSelection(),this.isPinching=!0,this.initialFontSize=this.terminal.options.fontSize??rS,this.pinchStartDistance=this.getTouchDistance(t.touches[0],t.touches[1]),this.lastZoomTime=0)}handlePinchZoom(t){if(!this.isPinching||t.touches.length!==2||this.pinchStartDistance<=0)return;const r=Date.now();if(r-this.lastZoomTime<$ne)return;this.lastZoomTime=r;const a=this.getTouchDistance(t.touches[0],t.touches[1])/this.pinchStartDistance,s=Yo(Math.round(this.initialFontSize*a),this.minFontSize,this.maxFontSize);s!==this.terminal.options.fontSize&&this.onFontSizeChange(s)}endPinchZoom(){this.isPinching=!1,this.pinchStartDistance=0,this.initialFontSize=0}getTouchDistance(t,r){return Math.hypot(r.clientX-t.clientX,r.clientY-t.clientY)}getViewportElement(){return this.viewportElement?.isConnected?this.viewportElement:(this.viewportElement=this.terminal.element?.querySelector(".xterm-viewport")??null,this.viewportElement)}resetScrollTracking(){this.lastScrollTouchY=null,this.lastScrollTouchTime=0,this.scrollVelocity=0}recordScrollSample(t){const r=performance.now();if(this.lastScrollTouchY!==null){const n=r-this.lastScrollTouchTime;if(n>0){const a=(this.lastScrollTouchY-t.clientY)/n;this.scrollVelocity=this.scrollVelocity*.4+a*.6}}this.lastScrollTouchY=t.clientY,this.lastScrollTouchTime=r}maybeStartInertia(){this.isSelecting||this.isHandleDragging||this.isPinching||performance.now()-this.lastScrollTouchTime>Bne||Math.abs(this.scrollVelocity)<nS||this.startInertia(this.scrollVelocity)}startInertia(t){const r=this.getViewportElement();if(!r)return;this.cancelInertia();let n=Yo(t,-aS,aS),a=performance.now();const s=i=>{const l=Math.max(1,i-a);if(a=i,n*=Math.pow(One,l/16),Math.abs(n)<nS){this.inertiaFrame=null;return}const c=r.scrollTop;if(r.scrollTop=c+n*l,r.scrollTop===c){this.inertiaFrame=null;return}this.inertiaFrame=window.requestAnimationFrame(s)};this.inertiaFrame=window.requestAnimationFrame(s)}cancelInertia(){this.inertiaFrame!==null&&(window.cancelAnimationFrame(this.inertiaFrame),this.inertiaFrame=null)}updateHandles(){if(this.isContextMenuVisible&&this.positionContextMenu(),!this.isSelecting||!this.selectionStart||!this.selectionEnd){this.hideHandles();return}const{start:t,end:r}=this.getOrderedSelection(),n=this.terminalCoordsToPixels(t),a=this.terminalCoordsToPixels(r),s=Math.max(0,this.terminalContent.clientWidth-ll);n?(this.startHandle.style.display="block",this.startHandle.style.left=`${Yo(n.x-ll/2,0,s)}px`,this.startHandle.style.top=`${n.y+this.cellDimensions.height+4}px`):this.startHandle.style.display="none",a?(this.endHandle.style.display="block",this.endHandle.style.left=`${Yo(a.x+this.cellDimensions.width-ll/2,0,s)}px`,this.endHandle.style.top=`${a.y+this.cellDimensions.height+4}px`):this.endHandle.style.display="none"}clearSelection(){this.terminal.clearSelection(),this.resetSelectionState()}resetSelectionState(){this.isSelecting=!1,this.isHandleDragging=!1,this.dragHandle=null,this.selectionStart=null,this.selectionEnd=null,this.pendingClearTouch=null,this.touchStart=null,this.hideHandles(),this.hideContextMenu(),this.clearTapHoldTimeout()}touchToTerminalCoords(t){const r=this.getTerminalScreenElement();if(!r)return null;const n=r.getBoundingClientRect(),a=t.clientX-n.left,s=t.clientY-n.top;if(a<0||s<0||a>n.width||s>n.height||(this.updateCellDimensions(),!this.cellDimensions.width||!this.cellDimensions.height))return null;const i=Yo(Math.floor(a/this.cellDimensions.width),0,this.terminal.cols-1),l=Math.floor(s/this.cellDimensions.height)+this.terminal.buffer.active.viewportY;return{col:i,row:Math.max(0,l)}}terminalCoordsToPixels(t){const r=this.getTerminalScreenElement();if(!r)return null;this.updateCellDimensions();const n=t.row-this.terminal.buffer.active.viewportY;if(n<0||n>=this.terminal.rows)return null;const a=r.getBoundingClientRect(),s=this.terminalContent.getBoundingClientRect();return{x:a.left-s.left+t.col*this.cellDimensions.width,y:a.top-s.top+n*this.cellDimensions.height}}updateCellDimensions(){const t=this.terminal._core?._renderService?.dimensions?.css?.cell;if(t?.width&&t.height){this.cellDimensions={width:t.width,height:t.height};return}const n=this.getTerminalScreenElement()?.getBoundingClientRect();if(!n||!this.terminal.cols||!this.terminal.rows){this.cellDimensions={width:0,height:0};return}this.cellDimensions={width:n.width/this.terminal.cols,height:n.height/this.terminal.rows}}getWordBoundsAt(t){const r=this.terminal.buffer.active.getLine(t.row);if(!r)return null;const n=r.translateToString(!1);if(!n||t.col>=n.length||/\s/.test(n[t.col]))return null;let a=t.col,s=t.col;for(;a>0&&!/\s/.test(n[a-1]);)a--;for(;s<n.length-1&&!/\s/.test(n[s+1]);)s++;return{start:{row:t.row,col:a},end:{row:t.row,col:s}}}blurTerminalInput(){this.terminal.element?.querySelector(".xterm-helper-textarea")?.blur()}getTerminalScreenElement(){return this.terminal.element?.querySelector(".xterm-screen")??this.terminal.element??null}toTouchCoords(t){return{clientX:t.clientX,clientY:t.clientY}}clearTapHoldTimeout(){this.tapHoldTimeout!==null&&(window.clearTimeout(this.tapHoldTimeout),this.tapHoldTimeout=null)}dispose(){this.isDestroyed||(this.isDestroyed=!0,this.clearTapHoldTimeout(),this.cancelInertia(),this.terminal.element?.removeEventListener("touchstart",this.onTerminalTouchStart),this.terminal.element?.removeEventListener("touchmove",this.onTerminalTouchMove),this.terminal.element?.removeEventListener("touchend",this.onTerminalTouchEnd),this.terminal.element?.removeEventListener("touchcancel",this.onTerminalTouchCancel),this.startHandle.removeEventListener("touchstart",this.onHandleTouchStart),this.startHandle.removeEventListener("touchmove",this.onHandleTouchMove),this.startHandle.removeEventListener("touchend",this.onHandleTouchEnd),this.startHandle.removeEventListener("touchcancel",this.onHandleTouchEnd),this.endHandle.removeEventListener("touchstart",this.onHandleTouchStart),this.endHandle.removeEventListener("touchmove",this.onHandleTouchMove),this.endHandle.removeEventListener("touchend",this.onHandleTouchEnd),this.endHandle.removeEventListener("touchcancel",this.onHandleTouchEnd),document.removeEventListener("touchstart",this.onDocumentTouchStart),this.disposables.forEach(t=>t.dispose()),this.disposables.length=0,this.overlay.remove(),this.didSetPosition&&(this.terminalContent.style.position=this.originalPosition))}}function qne(e,t,r={}){return!Une()||!e.element?null:new Hne(e,t,r)}const oS="shell-xterm-focus-style",Wne=`
3304
3304
  .xterm .xterm-screen {
@@ -3814,7 +3814,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
3814
3814
  `);T.forEach(function(N,D){var A=n&&u.length+s,U={type:"text",value:"".concat(N,`
3815
3815
  `)};if(D===0){var _=p.slice(h+1,m).concat(ym({children:[U],className:k.properties.className})),q=x(_,A);u.push(q)}else if(D===T.length-1){var z=p[m+1]&&p[m+1].children&&p[m+1].children[0],F={type:"text",value:"".concat(N)};if(z){var H=ym({children:[F],className:k.properties.className});p.splice(m+1,0,H)}else{var L=[F],M=x(L,A,k.properties.className);u.push(M)}}else{var V=[U],$=x(V,A,k.properties.className);u.push($)}}),h=m}m++};m<p.length;)v();if(h!==p.length-1){var y=p.slice(h+1,p.length);if(y&&y.length){var w=n&&u.length+s,S=x(y,w);u.push(S)}}return t?u:(d=[]).concat.apply(d,u)}function oge(e){var t=e.rows,r=e.stylesheet,n=e.useInlineStyles;return t.map(function(a,s){return $I({node:a,stylesheet:r,useInlineStyles:n,key:"code-segment-".concat(s)})})}function UI(e){return e&&typeof e.highlightAuto<"u"}function ige(e){var t=e.astGenerator,r=e.language,n=e.code,a=e.defaultCodeValue;if(UI(t)){var s=J0e(t,r);return r==="text"?{value:a,language:"text"}:s?t.highlight(r,n):t.highlightAuto(n)}try{return r&&r!=="text"?{value:t.highlight(n,r)}:{value:a}}catch{return{value:a}}}function lge(e,t){return function(n){var a,s,i=n.language,l=n.children,c=n.style,d=c===void 0?t:c,p=n.customStyle,u=p===void 0?{}:p,h=n.codeTagProps,m=h===void 0?{className:i?"language-".concat(i):void 0,style:vo(vo({},d['code[class*="language-"]']),d['code[class*="language-'.concat(i,'"]')])}:h,g=n.useInlineStyles,b=g===void 0?!0:g,x=n.showLineNumbers,v=x===void 0?!1:x,y=n.showInlineLineNumbers,w=y===void 0?!0:y,S=n.startingLineNumber,j=S===void 0?1:S,k=n.lineNumberContainerStyle,C=n.lineNumberStyle,E=C===void 0?{}:C,T=n.wrapLines,N=n.wrapLongLines,D=N===void 0?!1:N,A=n.lineProps,U=A===void 0?{}:A,_=n.renderer,q=n.PreTag,z=q===void 0?"pre":q,F=n.CodeTag,H=F===void 0?"code":F,L=n.code,M=L===void 0?(Array.isArray(l)?l[0]:l)||"":L,V=n.astGenerator,$=B0e(n,Q0e);V=V||e;var R=v?Mn.createElement(nge,{containerStyle:k,codeStyle:m.style||{},numberStyle:E,startingLineNumber:j,codeString:M}):null,X=d.hljs||d['pre[class*="language-"]']||{backgroundColor:"#fff"},W=UI(V)?"hljs":"prismjs",Q=b?Object.assign({},$,{style:Object.assign({},X,u)}):Object.assign({},$,{className:$.className?"".concat(W," ").concat($.className):W,style:Object.assign({},u)});if(D?m.style=vo({whiteSpace:"pre-wrap"},m.style):m.style=vo({whiteSpace:"pre"},m.style),!V)return Mn.createElement(z,Q,R,Mn.createElement(H,m,M));(T===void 0&&_||D)&&(T=!0),_=_||oge;var me=[{type:"text",value:M}],le=ige({astGenerator:V,language:i,code:M,defaultCodeValue:me});le.language===null&&(le.value=me);var he=(a=(s=M.match(/\n/g))===null||s===void 0?void 0:s.length)!==null&&a!==void 0?a:0,Te=j+he,Ne=sge(le,T,U,v,w,j,Te,E,D);return Mn.createElement(z,Q,Mn.createElement(H,m,!w&&R,_({rows:Ne,stylesheet:d,useInlineStyles:b})))}}const cge="modulepreload",dge=function(e){return"/"+e},RC={},Xk=function(t,r,n){let a=Promise.resolve();if(r&&r.length>0){let c=function(d){return Promise.all(d.map(p=>Promise.resolve(p).then(u=>({status:"fulfilled",value:u}),u=>({status:"rejected",reason:u}))))};document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),l=i?.nonce||i?.getAttribute("nonce");a=c(r.map(d=>{if(d=dge(d),d in RC)return;RC[d]=!0;const p=d.endsWith(".css"),u=p?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${d}"]${u}`))return;const h=document.createElement("link");if(h.rel=p?"stylesheet":cge,p||(h.as="script"),h.crossOrigin="",h.href=d,l&&h.setAttribute("nonce",l),document.head.appendChild(h),p)return new Promise((m,g)=>{h.addEventListener("load",m),h.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${d}`)))})}))}function s(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return a.then(i=>{for(const l of i||[])l.status==="rejected"&&s(l.reason);return t().catch(s)})};var Rg,zC;function uge(){if(zC)return Rg;zC=1,Rg=t;var e=Object.prototype.hasOwnProperty;function t(){for(var r={},n=0;n<arguments.length;n++){var a=arguments[n];for(var s in a)e.call(a,s)&&(r[s]=a[s])}return r}return Rg}var zg,LC;function HI(){if(LC)return zg;LC=1,zg=t;var e=t.prototype;e.space=null,e.normal={},e.property={};function t(r,n,a){this.property=r,this.normal=n,a&&(this.space=a)}return zg}var Lg,$C;function pge(){if($C)return Lg;$C=1;var e=uge(),t=HI();Lg=r;function r(n){for(var a=n.length,s=[],i=[],l=-1,c,d;++l<a;)c=n[l],s.push(c.property),i.push(c.normal),d=c.space;return new t(e.apply(null,s),e.apply(null,i),d)}return Lg}var $g,FC;function Zk(){if(FC)return $g;FC=1,$g=e;function e(t){return t.toLowerCase()}return $g}var Fg,OC;function qI(){if(OC)return Fg;OC=1,Fg=t;var e=t.prototype;e.space=null,e.attribute=null,e.property=null,e.boolean=!1,e.booleanish=!1,e.overloadedBoolean=!1,e.number=!1,e.commaSeparated=!1,e.spaceSeparated=!1,e.commaOrSpaceSeparated=!1,e.mustUseProperty=!1,e.defined=!1;function t(r,n){this.property=r,this.attribute=n}return Fg}var Ns={},BC;function Jk(){if(BC)return Ns;BC=1;var e=0;Ns.boolean=t(),Ns.booleanish=t(),Ns.overloadedBoolean=t(),Ns.number=t(),Ns.spaceSeparated=t(),Ns.commaSeparated=t(),Ns.commaOrSpaceSeparated=t();function t(){return Math.pow(2,++e)}return Ns}var Og,UC;function WI(){if(UC)return Og;UC=1;var e=qI(),t=Jk();Og=a,a.prototype=new e,a.prototype.defined=!0;var r=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],n=r.length;function a(i,l,c,d){var p=-1,u;for(s(this,"space",d),e.call(this,i,l);++p<n;)u=r[p],s(this,u,(c&t[u])===t[u])}function s(i,l,c){c&&(i[l]=c)}return Og}var Bg,HC;function $u(){if(HC)return Bg;HC=1;var e=Zk(),t=HI(),r=WI();Bg=n;function n(a){var s=a.space,i=a.mustUseProperty||[],l=a.attributes||{},c=a.properties,d=a.transform,p={},u={},h,m;for(h in c)m=new r(h,d(l,h),c[h],s),i.indexOf(h)!==-1&&(m.mustUseProperty=!0),p[h]=m,u[e(h)]=h,u[e(m.attribute)]=h;return new t(p,u,s)}return Bg}var Ug,qC;function mge(){if(qC)return Ug;qC=1;var e=$u();Ug=e({space:"xlink",transform:t,properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});function t(r,n){return"xlink:"+n.slice(5).toLowerCase()}return Ug}var Hg,WC;function hge(){if(WC)return Hg;WC=1;var e=$u();Hg=e({space:"xml",transform:t,properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function t(r,n){return"xml:"+n.slice(3).toLowerCase()}return Hg}var qg,VC;function fge(){if(VC)return qg;VC=1,qg=e;function e(t,r){return r in t?t[r]:r}return qg}var Wg,GC;function VI(){if(GC)return Wg;GC=1;var e=fge();Wg=t;function t(r,n){return e(r,n.toLowerCase())}return Wg}var Vg,KC;function gge(){if(KC)return Vg;KC=1;var e=$u(),t=VI();return Vg=e({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:t,properties:{xmlns:null,xmlnsXLink:null}}),Vg}var Gg,YC;function bge(){if(YC)return Gg;YC=1;var e=Jk(),t=$u(),r=e.booleanish,n=e.number,a=e.spaceSeparated;Gg=t({transform:s,properties:{ariaActiveDescendant:null,ariaAtomic:r,ariaAutoComplete:null,ariaBusy:r,ariaChecked:r,ariaColCount:n,ariaColIndex:n,ariaColSpan:n,ariaControls:a,ariaCurrent:null,ariaDescribedBy:a,ariaDetails:null,ariaDisabled:r,ariaDropEffect:a,ariaErrorMessage:null,ariaExpanded:r,ariaFlowTo:a,ariaGrabbed:r,ariaHasPopup:null,ariaHidden:r,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:a,ariaLevel:n,ariaLive:null,ariaModal:r,ariaMultiLine:r,ariaMultiSelectable:r,ariaOrientation:null,ariaOwns:a,ariaPlaceholder:null,ariaPosInSet:n,ariaPressed:r,ariaReadOnly:r,ariaRelevant:null,ariaRequired:r,ariaRoleDescription:a,ariaRowCount:n,ariaRowIndex:n,ariaRowSpan:n,ariaSelected:r,ariaSetSize:n,ariaSort:null,ariaValueMax:n,ariaValueMin:n,ariaValueNow:n,ariaValueText:null,role:null}});function s(i,l){return l==="role"?l:"aria-"+l.slice(4).toLowerCase()}return Gg}var Kg,XC;function xge(){if(XC)return Kg;XC=1;var e=Jk(),t=$u(),r=VI(),n=e.boolean,a=e.overloadedBoolean,s=e.booleanish,i=e.number,l=e.spaceSeparated,c=e.commaSeparated;return Kg=t({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:r,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:c,acceptCharset:l,accessKey:l,action:null,allow:null,allowFullScreen:n,allowPaymentRequest:n,allowUserMedia:n,alt:null,as:null,async:n,autoCapitalize:null,autoComplete:l,autoFocus:n,autoPlay:n,capture:n,charSet:null,checked:n,cite:null,className:l,cols:i,colSpan:null,content:null,contentEditable:s,controls:n,controlsList:l,coords:i|c,crossOrigin:null,data:null,dateTime:null,decoding:null,default:n,defer:n,dir:null,dirName:null,disabled:n,download:a,draggable:s,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:n,formTarget:null,headers:l,height:i,hidden:n,high:i,href:null,hrefLang:null,htmlFor:l,httpEquiv:l,id:null,imageSizes:null,imageSrcSet:c,inputMode:null,integrity:null,is:null,isMap:n,itemId:null,itemProp:l,itemRef:l,itemScope:n,itemType:l,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:n,low:i,manifest:null,max:null,maxLength:i,media:null,method:null,min:null,minLength:i,multiple:n,muted:n,name:null,nonce:null,noModule:n,noValidate:n,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:n,optimum:i,pattern:null,ping:l,placeholder:null,playsInline:n,poster:null,preload:null,readOnly:n,referrerPolicy:null,rel:l,required:n,reversed:n,rows:i,rowSpan:i,sandbox:l,scope:null,scoped:n,seamless:n,selected:n,shape:null,size:i,sizes:null,slot:null,span:i,spellCheck:s,src:null,srcDoc:null,srcLang:null,srcSet:c,start:i,step:null,style:null,tabIndex:i,target:null,title:null,translate:null,type:null,typeMustMatch:n,useMap:null,value:s,width:i,wrap:null,align:null,aLink:null,archive:l,axis:null,background:null,bgColor:null,border:i,borderColor:null,bottomMargin:i,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:n,declare:n,event:null,face:null,frame:null,frameBorder:null,hSpace:i,leftMargin:i,link:null,longDesc:null,lowSrc:null,marginHeight:i,marginWidth:i,noResize:n,noHref:n,noShade:n,noWrap:n,object:null,profile:null,prompt:null,rev:null,rightMargin:i,rules:null,scheme:null,scrolling:s,standby:null,summary:null,text:null,topMargin:i,valueType:null,version:null,vAlign:null,vLink:null,vSpace:i,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:n,disableRemotePlayback:n,prefix:null,property:null,results:i,security:null,unselectable:null}}),Kg}var Yg,ZC;function vge(){if(ZC)return Yg;ZC=1;var e=pge(),t=mge(),r=hge(),n=gge(),a=bge(),s=xge();return Yg=e([r,t,n,a,s]),Yg}var Xg,JC;function yge(){if(JC)return Xg;JC=1;var e=Zk(),t=WI(),r=qI(),n="data";Xg=l;var a=/^data[-\w.:]+$/i,s=/-[a-z]/g,i=/[A-Z]/g;function l(h,m){var g=e(m),b=m,x=r;return g in h.normal?h.property[h.normal[g]]:(g.length>4&&g.slice(0,4)===n&&a.test(m)&&(m.charAt(4)==="-"?b=c(m):m=d(m),x=t),new x(b,m))}function c(h){var m=h.slice(5).replace(s,u);return n+m.charAt(0).toUpperCase()+m.slice(1)}function d(h){var m=h.slice(4);return s.test(m)?h:(m=m.replace(i,p),m.charAt(0)!=="-"&&(m="-"+m),n+m)}function p(h){return"-"+h.toLowerCase()}function u(h){return h.charAt(1).toUpperCase()}return Xg}var Zg,QC;function wge(){if(QC)return Zg;QC=1,Zg=t;var e=/[#.]/g;function t(r,n){for(var a=r||"",s=n||"div",i={},l=0,c,d,p;l<a.length;)e.lastIndex=l,p=e.exec(a),c=a.slice(l,p?p.index:a.length),c&&(d?d==="#"?i.id=c:i.className?i.className.push(c):i.className=[c]:s=c,l+=c.length),p&&(d=p[0],l++);return{type:"element",tagName:s,properties:i,children:[]}}return Zg}var Fp={},ej;function kge(){if(ej)return Fp;ej=1,Fp.parse=n,Fp.stringify=a;var e="",t=" ",r=/[ \t\n\r\f]+/g;function n(s){var i=String(s||e).trim();return i===e?[]:i.split(r)}function a(s){return s.join(t).trim()}return Fp}var Op={},tj;function Sge(){if(tj)return Op;tj=1,Op.parse=n,Op.stringify=a;var e=",",t=" ",r="";function n(s){for(var i=[],l=String(s||r),c=l.indexOf(e),d=0,p=!1,u;!p;)c===-1&&(c=l.length,p=!0),u=l.slice(d,c).trim(),(u||!p)&&i.push(u),d=c+1,c=l.indexOf(e,d);return i}function a(s,i){var l=i||{},c=l.padLeft===!1?r:t,d=l.padRight?t:r;return s[s.length-1]===r&&(s=s.concat(r)),s.join(d+e+c).trim()}return Op}var Jg,rj;function Cge(){if(rj)return Jg;rj=1;var e=yge(),t=Zk(),r=wge(),n=kge().parse,a=Sge().parse;Jg=i;var s={}.hasOwnProperty;function i(g,b,x){var v=x?m(x):null;return y;function y(S,j){var k=r(S,b),C=Array.prototype.slice.call(arguments,2),E=k.tagName.toLowerCase(),T;if(k.tagName=v&&s.call(v,E)?v[E]:E,j&&l(j,k)&&(C.unshift(j),j=null),j)for(T in j)w(k.properties,T,j[T]);return d(k.children,C),k.tagName==="template"&&(k.content={type:"root",children:k.children},k.children=[]),k}function w(S,j,k){var C,E,T;k==null||k!==k||(C=e(g,j),E=C.property,T=k,typeof T=="string"&&(C.spaceSeparated?T=n(T):C.commaSeparated?T=a(T):C.commaOrSpaceSeparated&&(T=n(a(T).join(" ")))),E==="style"&&typeof k!="string"&&(T=h(T)),E==="className"&&S.className&&(T=S.className.concat(T)),S[E]=p(C,E,T))}}function l(g,b){return typeof g=="string"||"length"in g||c(b.tagName,g)}function c(g,b){var x=b.type;return g==="input"||!x||typeof x!="string"?!1:typeof b.children=="object"&&"length"in b.children?!0:(x=x.toLowerCase(),g==="button"?x!=="menu"&&x!=="submit"&&x!=="reset"&&x!=="button":"value"in b)}function d(g,b){var x,v;if(typeof b=="string"||typeof b=="number"){g.push({type:"text",value:String(b)});return}if(typeof b=="object"&&"length"in b){for(x=-1,v=b.length;++x<v;)d(g,b[x]);return}if(typeof b!="object"||!("type"in b))throw new Error("Expected node, nodes, or string, got `"+b+"`");g.push(b)}function p(g,b,x){var v,y,w;if(typeof x!="object"||!("length"in x))return u(g,b,x);for(y=x.length,v=-1,w=[];++v<y;)w[v]=u(g,b,x[v]);return w}function u(g,b,x){var v=x;return g.number||g.positiveNumber?!isNaN(v)&&v!==""&&(v=Number(v)):(g.boolean||g.overloadedBoolean)&&typeof v=="string"&&(v===""||t(x)===t(b))&&(v=!0),v}function h(g){var b=[],x;for(x in g)b.push([x,g[x]].join(": "));return b.join("; ")}function m(g){for(var b=g.length,x=-1,v={},y;++x<b;)y=g[x],v[y.toLowerCase()]=y;return v}return Jg}var Qg,nj;function jge(){if(nj)return Qg;nj=1;var e=vge(),t=Cge(),r=t(e,"div");return r.displayName="html",Qg=r,Qg}var eb,aj;function Nge(){return aj||(aj=1,eb=jge()),eb}const Tge="Æ",Ege="&",Age="Á",_ge="Â",Pge="À",Mge="Å",Ige="Ã",Dge="Ä",Rge="©",zge="Ç",Lge="Ð",$ge="É",Fge="Ê",Oge="È",Bge="Ë",Uge=">",Hge="Í",qge="Î",Wge="Ì",Vge="Ï",Gge="<",Kge="Ñ",Yge="Ó",Xge="Ô",Zge="Ò",Jge="Ø",Qge="Õ",ebe="Ö",tbe='"',rbe="®",nbe="Þ",abe="Ú",sbe="Û",obe="Ù",ibe="Ü",lbe="Ý",cbe="á",dbe="â",ube="´",pbe="æ",mbe="à",hbe="&",fbe="å",gbe="ã",bbe="ä",xbe="¦",vbe="ç",ybe="¸",wbe="¢",kbe="©",Sbe="¤",Cbe="°",jbe="÷",Nbe="é",Tbe="ê",Ebe="è",Abe="ð",_be="ë",Pbe="½",Mbe="¼",Ibe="¾",Dbe=">",Rbe="í",zbe="î",Lbe="¡",$be="ì",Fbe="¿",Obe="ï",Bbe="«",Ube="<",Hbe="¯",qbe="µ",Wbe="·",Vbe=" ",Gbe="¬",Kbe="ñ",Ybe="ó",Xbe="ô",Zbe="ò",Jbe="ª",Qbe="º",exe="ø",txe="õ",rxe="ö",nxe="¶",axe="±",sxe="£",oxe='"',ixe="»",lxe="®",cxe="§",dxe="­",uxe="¹",pxe="²",mxe="³",hxe="ß",fxe="þ",gxe="×",bxe="ú",xxe="û",vxe="ù",yxe="¨",wxe="ü",kxe="ý",Sxe="¥",Cxe="ÿ",jxe={AElig:Tge,AMP:Ege,Aacute:Age,Acirc:_ge,Agrave:Pge,Aring:Mge,Atilde:Ige,Auml:Dge,COPY:Rge,Ccedil:zge,ETH:Lge,Eacute:$ge,Ecirc:Fge,Egrave:Oge,Euml:Bge,GT:Uge,Iacute:Hge,Icirc:qge,Igrave:Wge,Iuml:Vge,LT:Gge,Ntilde:Kge,Oacute:Yge,Ocirc:Xge,Ograve:Zge,Oslash:Jge,Otilde:Qge,Ouml:ebe,QUOT:tbe,REG:rbe,THORN:nbe,Uacute:abe,Ucirc:sbe,Ugrave:obe,Uuml:ibe,Yacute:lbe,aacute:cbe,acirc:dbe,acute:ube,aelig:pbe,agrave:mbe,amp:hbe,aring:fbe,atilde:gbe,auml:bbe,brvbar:xbe,ccedil:vbe,cedil:ybe,cent:wbe,copy:kbe,curren:Sbe,deg:Cbe,divide:jbe,eacute:Nbe,ecirc:Tbe,egrave:Ebe,eth:Abe,euml:_be,frac12:Pbe,frac14:Mbe,frac34:Ibe,gt:Dbe,iacute:Rbe,icirc:zbe,iexcl:Lbe,igrave:$be,iquest:Fbe,iuml:Obe,laquo:Bbe,lt:Ube,macr:Hbe,micro:qbe,middot:Wbe,nbsp:Vbe,not:Gbe,ntilde:Kbe,oacute:Ybe,ocirc:Xbe,ograve:Zbe,ordf:Jbe,ordm:Qbe,oslash:exe,otilde:txe,ouml:rxe,para:nxe,plusmn:axe,pound:sxe,quot:oxe,raquo:ixe,reg:lxe,sect:cxe,shy:dxe,sup1:uxe,sup2:pxe,sup3:mxe,szlig:hxe,thorn:fxe,times:gxe,uacute:bxe,ucirc:xxe,ugrave:vxe,uml:yxe,uuml:wxe,yacute:kxe,yen:Sxe,yuml:Cxe},Nxe={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};var tb,sj;function GI(){if(sj)return tb;sj=1,tb=e;function e(t){var r=typeof t=="string"?t.charCodeAt(0):t;return r>=48&&r<=57}return tb}var rb,oj;function Txe(){if(oj)return rb;oj=1,rb=e;function e(t){var r=typeof t=="string"?t.charCodeAt(0):t;return r>=97&&r<=102||r>=65&&r<=70||r>=48&&r<=57}return rb}var nb,ij;function Exe(){if(ij)return nb;ij=1,nb=e;function e(t){var r=typeof t=="string"?t.charCodeAt(0):t;return r>=97&&r<=122||r>=65&&r<=90}return nb}var ab,lj;function Axe(){if(lj)return ab;lj=1;var e=Exe(),t=GI();ab=r;function r(n){return e(n)||t(n)}return ab}var sb,cj;function _xe(){if(cj)return sb;cj=1;var e,t=59;sb=r;function r(n){var a="&"+n+";",s;return e=e||document.createElement("i"),e.innerHTML=a,s=e.textContent,s.charCodeAt(s.length-1)===t&&n!=="semi"||s===a?!1:s}return sb}var ob,dj;function Pxe(){if(dj)return ob;dj=1;var e=jxe,t=Nxe,r=GI(),n=Txe(),a=Axe(),s=_xe();ob=L;var i={}.hasOwnProperty,l=String.fromCharCode,c=Function.prototype,d={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},p=9,u=10,h=12,m=32,g=38,b=59,x=60,v=61,y=35,w=88,S=120,j=65533,k="named",C="hexadecimal",E="decimal",T={};T[C]=16,T[E]=10;var N={};N[k]=a,N[E]=r,N[C]=n;var D=1,A=2,U=3,_=4,q=5,z=6,F=7,H={};H[D]="Named character references must be terminated by a semicolon",H[A]="Numeric character references must be terminated by a semicolon",H[U]="Named character references cannot be empty",H[_]="Numeric character references cannot be empty",H[q]="Named character references must be known",H[z]="Numeric character references cannot be disallowed",H[F]="Numeric character references cannot be outside the permissible Unicode range";function L(R,X){var W={},Q,me;X||(X={});for(me in d)Q=X[me],W[me]=Q??d[me];return(W.position.indent||W.position.start)&&(W.indent=W.position.indent||[],W.position=W.position.start),M(R,W)}function M(R,X){var W=X.additional,Q=X.nonTerminated,me=X.text,le=X.reference,he=X.warning,Te=X.textContext,Ne=X.referenceContext,Ee=X.warningContext,je=X.position,O=X.indent||[],ce=R.length,ee=0,K=-1,Y=je.column||1,ne=je.line||1,se="",ye=[],de,oe,ue,re,J,pe,ge,Ce,Fe,Je,gt,Se,Pe,Ie,He,wt,kt,Wt,Ct;for(typeof W=="string"&&(W=W.charCodeAt(0)),wt=ar(),Ce=he?Ut:c,ee--,ce++;++ee<ce;)if(J===u&&(Y=O[K]||1),J=R.charCodeAt(ee),J===g){if(ge=R.charCodeAt(ee+1),ge===p||ge===u||ge===h||ge===m||ge===g||ge===x||ge!==ge||W&&ge===W){se+=l(J),Y++;continue}for(Pe=ee+1,Se=Pe,Ct=Pe,ge===y?(Ct=++Se,ge=R.charCodeAt(Ct),ge===w||ge===S?(Ie=C,Ct=++Se):Ie=E):Ie=k,de="",gt="",re="",He=N[Ie],Ct--;++Ct<ce&&(ge=R.charCodeAt(Ct),!!He(ge));)re+=l(ge),Ie===k&&i.call(e,re)&&(de=re,gt=e[re]);ue=R.charCodeAt(Ct)===b,ue&&(Ct++,oe=Ie===k?s(re):!1,oe&&(de=re,gt=oe)),Wt=1+Ct-Pe,!ue&&!Q||(re?Ie===k?(ue&&!gt?Ce(q,1):(de!==re&&(Ct=Se+de.length,Wt=1+Ct-Se,ue=!1),ue||(Fe=de?D:U,X.attribute?(ge=R.charCodeAt(Ct),ge===v?(Ce(Fe,Wt),gt=null):a(ge)?gt=null:Ce(Fe,Wt)):Ce(Fe,Wt))),pe=gt):(ue||Ce(A,Wt),pe=parseInt(re,T[Ie]),V(pe)?(Ce(F,Wt),pe=l(j)):pe in t?(Ce(z,Wt),pe=t[pe]):(Je="",$(pe)&&Ce(z,Wt),pe>65535&&(pe-=65536,Je+=l(pe>>>10|55296),pe=56320|pe&1023),pe=Je+l(pe))):Ie!==k&&Ce(_,Wt)),pe?(Gt(),wt=ar(),ee=Ct-1,Y+=Ct-Pe+1,ye.push(pe),kt=ar(),kt.offset++,le&&le.call(Ne,pe,{start:wt,end:kt},R.slice(Pe-1,Ct)),wt=kt):(re=R.slice(Pe-1,Ct),se+=re,Y+=re.length,ee=Ct-1)}else J===10&&(ne++,K++,Y=0),J===J?(se+=l(J),Y++):Gt();return ye.join("");function ar(){return{line:ne,column:Y,offset:ee+(je.offset||0)}}function Ut(Yt,sr){var _r=ar();_r.column+=sr,_r.offset+=sr,he.call(Ee,H[Yt],_r,Yt)}function Gt(){se&&(ye.push(se),me&&me.call(Te,se,{start:wt,end:ar()}),se="")}}function V(R){return R>=55296&&R<=57343||R>1114111}function $(R){return R>=1&&R<=8||R===11||R>=13&&R<=31||R>=127&&R<=159||R>=64976&&R<=65007||(R&65535)===65535||(R&65535)===65534}return ob}var ib={exports:{}},uj;function Mxe(){return uj||(uj=1,(function(e){var t=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};var r=(function(n){var a=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,s=0,i={},l={manual:n.Prism&&n.Prism.manual,disableWorkerMessageHandler:n.Prism&&n.Prism.disableWorkerMessageHandler,util:{encode:function y(w){return w instanceof c?new c(w.type,y(w.content),w.alias):Array.isArray(w)?w.map(y):w.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(y){return Object.prototype.toString.call(y).slice(8,-1)},objId:function(y){return y.__id||Object.defineProperty(y,"__id",{value:++s}),y.__id},clone:function y(w,S){S=S||{};var j,k;switch(l.util.type(w)){case"Object":if(k=l.util.objId(w),S[k])return S[k];j={},S[k]=j;for(var C in w)w.hasOwnProperty(C)&&(j[C]=y(w[C],S));return j;case"Array":return k=l.util.objId(w),S[k]?S[k]:(j=[],S[k]=j,w.forEach(function(E,T){j[T]=y(E,S)}),j);default:return w}},getLanguage:function(y){for(;y;){var w=a.exec(y.className);if(w)return w[1].toLowerCase();y=y.parentElement}return"none"},setLanguage:function(y,w){y.className=y.className.replace(RegExp(a,"gi"),""),y.classList.add("language-"+w)},currentScript:function(){if(typeof document>"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(j){var y=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(j.stack)||[])[1];if(y){var w=document.getElementsByTagName("script");for(var S in w)if(w[S].src==y)return w[S]}return null}},isActive:function(y,w,S){for(var j="no-"+w;y;){var k=y.classList;if(k.contains(w))return!0;if(k.contains(j))return!1;y=y.parentElement}return!!S}},languages:{plain:i,plaintext:i,text:i,txt:i,extend:function(y,w){var S=l.util.clone(l.languages[y]);for(var j in w)S[j]=w[j];return S},insertBefore:function(y,w,S,j){j=j||l.languages;var k=j[y],C={};for(var E in k)if(k.hasOwnProperty(E)){if(E==w)for(var T in S)S.hasOwnProperty(T)&&(C[T]=S[T]);S.hasOwnProperty(E)||(C[E]=k[E])}var N=j[y];return j[y]=C,l.languages.DFS(l.languages,function(D,A){A===N&&D!=y&&(this[D]=C)}),C},DFS:function y(w,S,j,k){k=k||{};var C=l.util.objId;for(var E in w)if(w.hasOwnProperty(E)){S.call(w,E,w[E],j||E);var T=w[E],N=l.util.type(T);N==="Object"&&!k[C(T)]?(k[C(T)]=!0,y(T,S,null,k)):N==="Array"&&!k[C(T)]&&(k[C(T)]=!0,y(T,S,E,k))}}},plugins:{},highlightAll:function(y,w){l.highlightAllUnder(document,y,w)},highlightAllUnder:function(y,w,S){var j={callback:S,container:y,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};l.hooks.run("before-highlightall",j),j.elements=Array.prototype.slice.apply(j.container.querySelectorAll(j.selector)),l.hooks.run("before-all-elements-highlight",j);for(var k=0,C;C=j.elements[k++];)l.highlightElement(C,w===!0,j.callback)},highlightElement:function(y,w,S){var j=l.util.getLanguage(y),k=l.languages[j];l.util.setLanguage(y,j);var C=y.parentElement;C&&C.nodeName.toLowerCase()==="pre"&&l.util.setLanguage(C,j);var E=y.textContent,T={element:y,language:j,grammar:k,code:E};function N(A){T.highlightedCode=A,l.hooks.run("before-insert",T),T.element.innerHTML=T.highlightedCode,l.hooks.run("after-highlight",T),l.hooks.run("complete",T),S&&S.call(T.element)}if(l.hooks.run("before-sanity-check",T),C=T.element.parentElement,C&&C.nodeName.toLowerCase()==="pre"&&!C.hasAttribute("tabindex")&&C.setAttribute("tabindex","0"),!T.code){l.hooks.run("complete",T),S&&S.call(T.element);return}if(l.hooks.run("before-highlight",T),!T.grammar){N(l.util.encode(T.code));return}if(w&&n.Worker){var D=new Worker(l.filename);D.onmessage=function(A){N(A.data)},D.postMessage(JSON.stringify({language:T.language,code:T.code,immediateClose:!0}))}else N(l.highlight(T.code,T.grammar,T.language))},highlight:function(y,w,S){var j={code:y,grammar:w,language:S};if(l.hooks.run("before-tokenize",j),!j.grammar)throw new Error('The language "'+j.language+'" has no grammar.');return j.tokens=l.tokenize(j.code,j.grammar),l.hooks.run("after-tokenize",j),c.stringify(l.util.encode(j.tokens),j.language)},tokenize:function(y,w){var S=w.rest;if(S){for(var j in S)w[j]=S[j];delete w.rest}var k=new u;return h(k,k.head,y),p(y,k,w,k.head,0),g(k)},hooks:{all:{},add:function(y,w){var S=l.hooks.all;S[y]=S[y]||[],S[y].push(w)},run:function(y,w){var S=l.hooks.all[y];if(!(!S||!S.length))for(var j=0,k;k=S[j++];)k(w)}},Token:c};n.Prism=l;function c(y,w,S,j){this.type=y,this.content=w,this.alias=S,this.length=(j||"").length|0}c.stringify=function y(w,S){if(typeof w=="string")return w;if(Array.isArray(w)){var j="";return w.forEach(function(N){j+=y(N,S)}),j}var k={type:w.type,content:y(w.content,S),tag:"span",classes:["token",w.type],attributes:{},language:S},C=w.alias;C&&(Array.isArray(C)?Array.prototype.push.apply(k.classes,C):k.classes.push(C)),l.hooks.run("wrap",k);var E="";for(var T in k.attributes)E+=" "+T+'="'+(k.attributes[T]||"").replace(/"/g,"&quot;")+'"';return"<"+k.tag+' class="'+k.classes.join(" ")+'"'+E+">"+k.content+"</"+k.tag+">"};function d(y,w,S,j){y.lastIndex=w;var k=y.exec(S);if(k&&j&&k[1]){var C=k[1].length;k.index+=C,k[0]=k[0].slice(C)}return k}function p(y,w,S,j,k,C){for(var E in S)if(!(!S.hasOwnProperty(E)||!S[E])){var T=S[E];T=Array.isArray(T)?T:[T];for(var N=0;N<T.length;++N){if(C&&C.cause==E+","+N)return;var D=T[N],A=D.inside,U=!!D.lookbehind,_=!!D.greedy,q=D.alias;if(_&&!D.pattern.global){var z=D.pattern.toString().match(/[imsuy]*$/)[0];D.pattern=RegExp(D.pattern.source,z+"g")}for(var F=D.pattern||D,H=j.next,L=k;H!==w.tail&&!(C&&L>=C.reach);L+=H.value.length,H=H.next){var M=H.value;if(w.length>y.length)return;if(!(M instanceof c)){var V=1,$;if(_){if($=d(F,L,y,U),!$||$.index>=y.length)break;var Q=$.index,R=$.index+$[0].length,X=L;for(X+=H.value.length;Q>=X;)H=H.next,X+=H.value.length;if(X-=H.value.length,L=X,H.value instanceof c)continue;for(var W=H;W!==w.tail&&(X<R||typeof W.value=="string");W=W.next)V++,X+=W.value.length;V--,M=y.slice(L,X),$.index-=L}else if($=d(F,0,M,U),!$)continue;var Q=$.index,me=$[0],le=M.slice(0,Q),he=M.slice(Q+me.length),Te=L+M.length;C&&Te>C.reach&&(C.reach=Te);var Ne=H.prev;le&&(Ne=h(w,Ne,le),L+=le.length),m(w,Ne,V);var Ee=new c(E,A?l.tokenize(me,A):me,q,me);if(H=h(w,Ne,Ee),he&&h(w,H,he),V>1){var je={cause:E+","+N,reach:Te};p(y,w,S,H.prev,L,je),C&&je.reach>C.reach&&(C.reach=je.reach)}}}}}}function u(){var y={value:null,prev:null,next:null},w={value:null,prev:y,next:null};y.next=w,this.head=y,this.tail=w,this.length=0}function h(y,w,S){var j=w.next,k={value:S,prev:w,next:j};return w.next=k,j.prev=k,y.length++,k}function m(y,w,S){for(var j=w.next,k=0;k<S&&j!==y.tail;k++)j=j.next;w.next=j,j.prev=w,y.length-=k}function g(y){for(var w=[],S=y.head.next;S!==y.tail;)w.push(S.value),S=S.next;return w}if(!n.document)return n.addEventListener&&(l.disableWorkerMessageHandler||n.addEventListener("message",function(y){var w=JSON.parse(y.data),S=w.language,j=w.code,k=w.immediateClose;n.postMessage(l.highlight(j,l.languages[S],S)),k&&n.close()},!1)),l;var b=l.util.currentScript();b&&(l.filename=b.src,b.hasAttribute("data-manual")&&(l.manual=!0));function x(){l.manual||l.highlightAll()}if(!l.manual){var v=document.readyState;v==="loading"||v==="interactive"&&b&&b.defer?document.addEventListener("DOMContentLoaded",x):window.requestAnimationFrame?window.requestAnimationFrame(x):window.setTimeout(x,16)}return l})(t);e.exports&&(e.exports=r),typeof go<"u"&&(go.Prism=r)})(ib)),ib.exports}var lb,pj;function KI(){if(pj)return lb;pj=1,lb=e,e.displayName="markup",e.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function e(t){t.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",function(r){r.type==="entity"&&(r.attributes.title=r.content.value.replace(/&amp;/,"&"))}),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(n,a){var s={};s["language-"+a]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[a]},s.cdata=/^<!\[CDATA\[|\]\]>$/i;var i={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:s}};i["language-"+a]={pattern:/[\s\S]+/,inside:t.languages[a]};var l={};l[n]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return n}),"i"),lookbehind:!0,greedy:!0,inside:i},t.languages.insertBefore("markup","cdata",l)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(r,n){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+r+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:t.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml}return lb}var cb,mj;function YI(){if(mj)return cb;mj=1,cb=e,e.displayName="css",e.aliases=[];function e(t){(function(r){var n=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;r.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+n.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+n.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+n.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:n,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},r.languages.css.atrule.inside.rest=r.languages.css;var a=r.languages.markup;a&&(a.tag.addInlined("style","css"),a.tag.addAttribute("style","css"))})(t)}return cb}var db,hj;function XI(){if(hj)return db;hj=1,db=e,e.displayName="clike",e.aliases=[];function e(t){t.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}return db}var ub,fj;function ZI(){if(fj)return ub;fj=1,ub=e,e.displayName="javascript",e.aliases=["js"];function e(t){t.languages.javascript=t.languages.extend("clike",{"class-name":[t.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,t.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:t.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),t.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),t.languages.js=t.languages.javascript}return ub}var pb,gj;function Ixe(){if(gj)return pb;gj=1;var e=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof go=="object"?go:{},t=j();e.Prism={manual:!0,disableWorkerMessageHandler:!0};var r=Nge(),n=Pxe(),a=Mxe(),s=KI(),i=YI(),l=XI(),c=ZI();t();var d={}.hasOwnProperty;function p(){}p.prototype=a;var u=new p;pb=u,u.highlight=g,u.register=h,u.alias=m,u.registered=b,u.listLanguages=x,h(s),h(i),h(l),h(c),u.util.encode=w,u.Token.stringify=v;function h(k){if(typeof k!="function"||!k.displayName)throw new Error("Expected `function` for `grammar`, got `"+k+"`");u.languages[k.displayName]===void 0&&k(u)}function m(k,C){var E=u.languages,T=k,N,D,A,U;C&&(T={},T[k]=C);for(N in T)for(D=T[N],D=typeof D=="string"?[D]:D,A=D.length,U=-1;++U<A;)E[D[U]]=E[N]}function g(k,C){var E=a.highlight,T;if(typeof k!="string")throw new Error("Expected `string` for `value`, got `"+k+"`");if(u.util.type(C)==="Object")T=C,C=null;else{if(typeof C!="string")throw new Error("Expected `string` for `name`, got `"+C+"`");if(d.call(u.languages,C))T=u.languages[C];else throw new Error("Unknown language: `"+C+"` is not registered")}return E.call(this,k,T,C)}function b(k){if(typeof k!="string")throw new Error("Expected `string` for `language`, got `"+k+"`");return d.call(u.languages,k)}function x(){var k=u.languages,C=[],E;for(E in k)d.call(k,E)&&typeof k[E]=="object"&&C.push(E);return C}function v(k,C,E){var T;return typeof k=="string"?{type:"text",value:k}:u.util.type(k)==="Array"?y(k,C):(T={type:k.type,content:u.Token.stringify(k.content,C,E),tag:"span",classes:["token",k.type],attributes:{},language:C,parent:E},k.alias&&(T.classes=T.classes.concat(k.alias)),u.hooks.run("wrap",T),r(T.tag+"."+T.classes.join("."),S(T.attributes),T.content))}function y(k,C){for(var E=[],T=k.length,N=-1,D;++N<T;)D=k[N],D!==""&&D!==null&&D!==void 0&&E.push(D);for(N=-1,T=E.length;++N<T;)D=E[N],E[N]=u.Token.stringify(D,C,E);return E}function w(k){return k}function S(k){var C;for(C in k)k[C]=n(k[C]);return k}function j(){var k="Prism"in e,C=k?e.Prism:void 0;return E;function E(){k?e.Prism=C:delete e.Prism,k=void 0,C=void 0}}return pb}var Dxe=Ixe();const Qk=pt(Dxe);var If=lge(Qk,{});If.registerLanguage=function(e,t){return Qk.register(t)};If.alias=function(e,t){return Qk.alias(e,t)};var mb,bj;function Rxe(){if(bj)return mb;bj=1,mb=e,e.displayName="sql",e.aliases=[];function e(t){t.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}return mb}var hb,xj;function e2(){if(xj)return hb;xj=1,hb=e,e.displayName="c",e.aliases=[];function e(t){t.languages.c=t.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),t.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),t.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},t.languages.c.string],char:t.languages.c.char,comment:t.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:t.languages.c}}}}),t.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete t.languages.c.boolean}return hb}var fb,vj;function zxe(){if(vj)return fb;vj=1;var e=e2();fb=t,t.displayName="cpp",t.aliases=[];function t(r){r.register(e),(function(n){var a=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,s=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return a.source});n.languages.cpp=n.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return a.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:a,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),n.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return s})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),n.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:n.languages.cpp}}}}),n.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),n.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:n.languages.extend("cpp",{})}}),n.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},n.languages.cpp["base-clause"])})(r)}return fb}var gb,yj;function Lxe(){if(yj)return gb;yj=1,gb=e,e.displayName="csharp",e.aliases=["dotnet","cs"];function e(t){(function(r){function n(V,$){return V.replace(/<<(\d+)>>/g,function(R,X){return"(?:"+$[+X]+")"})}function a(V,$,R){return RegExp(n(V,$),"")}function s(V,$){for(var R=0;R<$;R++)V=V.replace(/<<self>>/g,function(){return"(?:"+V+")"});return V.replace(/<<self>>/g,"[^\\s\\S]")}var i={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function l(V){return"\\b(?:"+V.trim().replace(/ /g,"|")+")\\b"}var c=l(i.typeDeclaration),d=RegExp(l(i.type+" "+i.typeDeclaration+" "+i.contextual+" "+i.other)),p=l(i.typeDeclaration+" "+i.contextual+" "+i.other),u=l(i.type+" "+i.typeDeclaration+" "+i.other),h=s(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),m=s(/\((?:[^()]|<<self>>)*\)/.source,2),g=/@?\b[A-Za-z_]\w*\b/.source,b=n(/<<0>>(?:\s*<<1>>)?/.source,[g,h]),x=n(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[p,b]),v=/\[\s*(?:,\s*)*\]/.source,y=n(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[x,v]),w=n(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[h,m,v]),S=n(/\(<<0>>+(?:,<<0>>+)+\)/.source,[w]),j=n(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[S,x,v]),k={keyword:d,punctuation:/[<>()?,.:[\]]/},C=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,E=/"(?:\\.|[^\\"\r\n])*"/.source,T=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;r.languages.csharp=r.languages.extend("clike",{string:[{pattern:a(/(^|[^$\\])<<0>>/.source,[T]),lookbehind:!0,greedy:!0},{pattern:a(/(^|[^@$\\])<<0>>/.source,[E]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:a(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[x]),lookbehind:!0,inside:k},{pattern:a(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[g,j]),lookbehind:!0,inside:k},{pattern:a(/(\busing\s+)<<0>>(?=\s*=)/.source,[g]),lookbehind:!0},{pattern:a(/(\b<<0>>\s+)<<1>>/.source,[c,b]),lookbehind:!0,inside:k},{pattern:a(/(\bcatch\s*\(\s*)<<0>>/.source,[x]),lookbehind:!0,inside:k},{pattern:a(/(\bwhere\s+)<<0>>/.source,[g]),lookbehind:!0},{pattern:a(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[y]),lookbehind:!0,inside:k},{pattern:a(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[j,u,g]),inside:k}],keyword:d,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),r.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),r.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:a(/([(,]\s*)<<0>>(?=\s*:)/.source,[g]),lookbehind:!0,alias:"punctuation"}}),r.languages.insertBefore("csharp","class-name",{namespace:{pattern:a(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[g]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:a(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[m]),lookbehind:!0,alias:"class-name",inside:k},"return-type":{pattern:a(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[j,x]),inside:k,alias:"class-name"},"constructor-invocation":{pattern:a(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[j]),lookbehind:!0,inside:k,alias:"class-name"},"generic-method":{pattern:a(/<<0>>\s*<<1>>(?=\s*\()/.source,[g,h]),inside:{function:a(/^<<0>>/.source,[g]),generic:{pattern:RegExp(h),alias:"class-name",inside:k}}},"type-list":{pattern:a(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[c,b,g,j,d.source,m,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:a(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[b,m]),lookbehind:!0,greedy:!0,inside:r.languages.csharp},keyword:d,"class-name":{pattern:RegExp(j),greedy:!0,inside:k},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var N=E+"|"+C,D=n(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[N]),A=s(n(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[D]),2),U=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,_=n(/<<0>>(?:\s*\(<<1>>*\))?/.source,[x,A]);r.languages.insertBefore("csharp","class-name",{attribute:{pattern:a(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[U,_]),lookbehind:!0,greedy:!0,inside:{target:{pattern:a(/^<<0>>(?=\s*:)/.source,[U]),alias:"keyword"},"attribute-arguments":{pattern:a(/\(<<0>>*\)/.source,[A]),inside:r.languages.csharp},"class-name":{pattern:RegExp(x),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var q=/:[^}\r\n]+/.source,z=s(n(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[D]),2),F=n(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[z,q]),H=s(n(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[N]),2),L=n(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[H,q]);function M(V,$){return{interpolation:{pattern:a(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[V]),lookbehind:!0,inside:{"format-string":{pattern:a(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[$,q]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:r.languages.csharp}}},string:/[\s\S]+/}}r.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:a(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[F]),lookbehind:!0,greedy:!0,inside:M(F,z)},{pattern:a(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[L]),lookbehind:!0,greedy:!0,inside:M(L,H)}],char:{pattern:RegExp(C),greedy:!0}}),r.languages.dotnet=r.languages.cs=r.languages.csharp})(t)}return gb}var bb,wj;function $xe(){if(wj)return bb;wj=1,bb=e,e.displayName="bash",e.aliases=["shell"];function e(t){(function(r){var n="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",a={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},s={bash:a,environment:{pattern:RegExp("\\$"+n),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+n),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};r.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+n),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:s},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:a}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:s},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:s.entity}}],environment:{pattern:RegExp("\\$?"+n),alias:"constant"},variable:s.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},a.inside=r.languages.bash;for(var i=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],l=s.variable[1].inside,c=0;c<i.length;c++)l[i[c]]=r.languages.bash[i[c]];r.languages.shell=r.languages.bash})(t)}return bb}var xb,kj;function Fxe(){if(kj)return xb;kj=1,xb=e,e.displayName="batch",e.aliases=[];function e(t){(function(r){var n=/%%?[~:\w]+%?|!\S+!/,a={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},s=/"(?:[\\"]"|[^"])*"(?!")/,i=/(?:\b|-)\d+\b/;r.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:s,parameter:a,variable:n,number:i,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:s,parameter:a,variable:n,number:i,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:s,parameter:a,variable:[n,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:i,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:s,parameter:a,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:n,number:i,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(t)}return xb}var vb,Sj;function Oxe(){if(Sj)return vb;Sj=1,vb=e,e.displayName="ruby",e.aliases=["rb"];function e(t){(function(r){r.languages.ruby=r.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),r.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var n={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:r.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete r.languages.ruby.function;var a="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",s=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;r.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+a+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:n,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:n,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+s),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+s+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),r.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+a),greedy:!0,inside:{interpolation:n,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:n,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:n,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+a),greedy:!0,inside:{interpolation:n,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:n,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete r.languages.ruby.string,r.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),r.languages.rb=r.languages.ruby})(t)}return vb}var yb,Cj;function Bxe(){if(Cj)return yb;Cj=1,yb=e,e.displayName="dart",e.aliases=[];function e(t){(function(r){var n=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],a=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,s={pattern:RegExp(a+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};r.languages.dart=r.languages.extend("clike",{"class-name":[s,{pattern:RegExp(a+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:s.inside}],keyword:n,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),r.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:r.languages.dart}}},string:/[\s\S]+/}},string:void 0}),r.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),r.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":s,keyword:n,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(t)}return yb}var wb,jj;function Uxe(){if(jj)return wb;jj=1,wb=e,e.displayName="diff",e.aliases=[];function e(t){(function(r){r.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var n={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(n).forEach(function(a){var s=n[a],i=[];/^\w+$/.test(a)||i.push(/\w+/.exec(a)[0]),a==="diff"&&i.push("bold"),r.languages.diff[a]={pattern:RegExp("^(?:["+s+`].*(?:\r
3816
3816
  ?|
3817
- |(?![\\s\\S])))+`,"m"),alias:i,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(a)[0]}}}}),Object.defineProperty(r.languages.diff,"PREFIXES",{value:n})})(t)}return wb}var kb,Nj;function Hxe(){if(Nj)return kb;Nj=1,kb=e,e.displayName="markupTemplating",e.aliases=[];function e(t){(function(r){function n(a,s){return"___"+a.toUpperCase()+s+"___"}Object.defineProperties(r.languages["markup-templating"]={},{buildPlaceholders:{value:function(a,s,i,l){if(a.language===s){var c=a.tokenStack=[];a.code=a.code.replace(i,function(d){if(typeof l=="function"&&!l(d))return d;for(var p=c.length,u;a.code.indexOf(u=n(s,p))!==-1;)++p;return c[p]=d,u}),a.grammar=r.languages.markup}}},tokenizePlaceholders:{value:function(a,s){if(a.language!==s||!a.tokenStack)return;a.grammar=r.languages[s];var i=0,l=Object.keys(a.tokenStack);function c(d){for(var p=0;p<d.length&&!(i>=l.length);p++){var u=d[p];if(typeof u=="string"||u.content&&typeof u.content=="string"){var h=l[i],m=a.tokenStack[h],g=typeof u=="string"?u:u.content,b=n(s,h),x=g.indexOf(b);if(x>-1){++i;var v=g.substring(0,x),y=new r.Token(s,r.tokenize(m,a.grammar),"language-"+s,m),w=g.substring(x+b.length),S=[];v&&S.push.apply(S,c([v])),S.push(y),w&&S.push.apply(S,c([w])),typeof u=="string"?d.splice.apply(d,[p,1].concat(S)):u.content=S}}else u.content&&c(u.content)}return d}c(a.tokens)}}})})(t)}return kb}var Sb,Tj;function qxe(){if(Tj)return Sb;Tj=1,Sb=e,e.displayName="docker",e.aliases=["dockerfile"];function e(t){(function(r){var n=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,a=/(?:[ \t]+(?![ \t])(?:<SP_BS>)?|<SP_BS>)/.source.replace(/<SP_BS>/g,function(){return n}),s=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,i=/--[\w-]+=(?:<STR>|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(/<STR>/g,function(){return s}),l={pattern:RegExp(s),greedy:!0},c={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function d(p,u){return p=p.replace(/<OPT>/g,function(){return i}).replace(/<SP>/g,function(){return a}),RegExp(p,u)}r.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:d(/(^(?:ONBUILD<SP>)?\w+<SP>)<OPT>(?:<SP><OPT>)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[l,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:d(/(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:d(/(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \t\\]+<SP>)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:d(/(^ONBUILD<SP>)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:c,string:l,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:c},r.languages.dockerfile=r.languages.docker})(t)}return Sb}var Cb,Ej;function Wxe(){if(Ej)return Cb;Ej=1,Cb=e,e.displayName="elixir",e.aliases=[];function e(t){t.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},t.languages.elixir.string.forEach(function(r){r.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:t.languages.elixir}}}})}return Cb}var jb,Aj;function Vxe(){if(Aj)return jb;Aj=1,jb=e,e.displayName="lua",e.aliases=[];function e(t){t.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}return jb}var Nb,_j;function Gxe(){if(_j)return Nb;_j=1,Nb=e,e.displayName="go",e.aliases=[];function e(t){t.languages.go=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),t.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete t.languages.go["class-name"]}return Nb}var Tb,Pj;function Kxe(){if(Pj)return Tb;Pj=1,Tb=e,e.displayName="graphql",e.aliases=[];function e(t){t.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:t.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},t.hooks.add("after-tokenize",function(n){if(n.language!=="graphql")return;var a=n.tokens.filter(function(v){return typeof v!="string"&&v.type!=="comment"&&v.type!=="scalar"}),s=0;function i(v){return a[s+v]}function l(v,y){y=y||0;for(var w=0;w<v.length;w++){var S=i(w+y);if(!S||S.type!==v[w])return!1}return!0}function c(v,y){for(var w=1,S=s;S<a.length;S++){var j=a[S],k=j.content;if(j.type==="punctuation"&&typeof k=="string"){if(v.test(k))w++;else if(y.test(k)&&(w--,w===0))return S}}return-1}function d(v,y){var w=v.alias;w?Array.isArray(w)||(v.alias=w=[w]):v.alias=w=[],w.push(y)}for(;s<a.length;){var p=a[s++];if(p.type==="keyword"&&p.content==="mutation"){var u=[];if(l(["definition-mutation","punctuation"])&&i(1).content==="("){s+=2;var h=c(/^\($/,/^\)$/);if(h===-1)continue;for(;s<h;s++){var m=i(0);m.type==="variable"&&(d(m,"variable-input"),u.push(m.content))}s=h+1}if(l(["punctuation","property-query"])&&i(0).content==="{"&&(s++,d(i(0),"property-mutation"),u.length>0)){var g=c(/^\{$/,/^\}$/);if(g===-1)continue;for(var b=s;b<g;b++){var x=a[b];x.type==="variable"&&u.indexOf(x.content)>=0&&d(x,"variable-input")}}}}})}return Tb}var Eb,Mj;function Yxe(){if(Mj)return Eb;Mj=1,Eb=e,e.displayName="groovy",e.aliases=[];function e(t){t.languages.groovy=t.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),t.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),t.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),t.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),t.hooks.add("wrap",function(r){if(r.language==="groovy"&&r.type==="string"){var n=r.content.value[0];if(n!="'"){var a=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;n==="$"&&(a=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),r.content.value=r.content.value.replace(/&lt;/g,"<").replace(/&amp;/g,"&"),r.content=t.highlight(r.content.value,{expression:{pattern:a,lookbehind:!0,inside:t.languages.groovy}}),r.classes.push(n==="/"?"regex":"gstring")}}})}return Eb}var Ab,Ij;function Xxe(){if(Ij)return Ab;Ij=1,Ab=e,e.displayName="haskell",e.aliases=["hs"];function e(t){t.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},t.languages.hs=t.languages.haskell}return Ab}var _b,Dj;function Zxe(){if(Dj)return _b;Dj=1,_b=e,e.displayName="hcl",e.aliases=[];function e(t){t.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}return _b}var Pb,Rj;function Jxe(){if(Rj)return Pb;Rj=1,Pb=e,e.displayName="ini",e.aliases=[];function e(t){t.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}return Pb}var Mb,zj;function JI(){if(zj)return Mb;zj=1,Mb=e,e.displayName="java",e.aliases=[];function e(t){(function(r){var n=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,a=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,s={pattern:RegExp(a+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};r.languages.java=r.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[s,{pattern:RegExp(a+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:s.inside}],keyword:n,function:[r.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),r.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),r.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":s,keyword:n,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return n.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(t)}return Mb}var Ib,Lj;function QI(){if(Lj)return Ib;Lj=1,Ib=e,e.displayName="typescript",e.aliases=["ts"];function e(t){(function(r){r.languages.typescript=r.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),r.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete r.languages.typescript.parameter,delete r.languages.typescript["literal-property"];var n=r.languages.extend("typescript",{});delete n["class-name"],r.languages.typescript["class-name"].inside=n,r.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:n}}}}),r.languages.ts=r.languages.typescript})(t)}return Ib}var Db,$j;function eD(){if($j)return Db;$j=1,Db=e,e.displayName="json",e.aliases=["webmanifest"];function e(t){t.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},t.languages.webmanifest=t.languages.json}return Db}var Rb,Fj;function Qxe(){if(Fj)return Rb;Fj=1;var e=eD();Rb=t,t.displayName="json5",t.aliases=[];function t(r){r.register(e),(function(n){var a=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;n.languages.json5=n.languages.extend("json",{property:[{pattern:RegExp(a.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:a,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})})(r)}return Rb}var zb,Oj;function tD(){if(Oj)return zb;Oj=1,zb=e,e.displayName="jsx",e.aliases=[];function e(t){(function(r){var n=r.util.clone(r.languages.javascript),a=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,s=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,i=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function l(p,u){return p=p.replace(/<S>/g,function(){return a}).replace(/<BRACES>/g,function(){return s}).replace(/<SPREAD>/g,function(){return i}),RegExp(p,u)}i=l(i).source,r.languages.jsx=r.languages.extend("markup",n),r.languages.jsx.tag.pattern=l(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),r.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,r.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,r.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,r.languages.jsx.tag.inside.comment=n.comment,r.languages.insertBefore("inside","attr-name",{spread:{pattern:l(/<SPREAD>/.source),inside:r.languages.jsx}},r.languages.jsx.tag),r.languages.insertBefore("inside","special-attr",{script:{pattern:l(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:r.languages.jsx}}},r.languages.jsx.tag);var c=function(p){return p?typeof p=="string"?p:typeof p.content=="string"?p.content:p.content.map(c).join(""):""},d=function(p){for(var u=[],h=0;h<p.length;h++){var m=p[h],g=!1;if(typeof m!="string"&&(m.type==="tag"&&m.content[0]&&m.content[0].type==="tag"?m.content[0].content[0].content==="</"?u.length>0&&u[u.length-1].tagName===c(m.content[0].content[1])&&u.pop():m.content[m.content.length-1].content==="/>"||u.push({tagName:c(m.content[0].content[1]),openedBraces:0}):u.length>0&&m.type==="punctuation"&&m.content==="{"?u[u.length-1].openedBraces++:u.length>0&&u[u.length-1].openedBraces>0&&m.type==="punctuation"&&m.content==="}"?u[u.length-1].openedBraces--:g=!0),(g||typeof m=="string")&&u.length>0&&u[u.length-1].openedBraces===0){var b=c(m);h<p.length-1&&(typeof p[h+1]=="string"||p[h+1].type==="plain-text")&&(b+=c(p[h+1]),p.splice(h+1,1)),h>0&&(typeof p[h-1]=="string"||p[h-1].type==="plain-text")&&(b=c(p[h-1])+b,p.splice(h-1,1),h--),p[h]=new r.Token("plain-text",b,null,b)}m.content&&typeof m.content!="string"&&d(m.content)}};r.hooks.add("after-tokenize",function(p){p.language!=="jsx"&&p.language!=="tsx"||d(p.tokens)})})(t)}return zb}var Lb,Bj;function eve(){if(Bj)return Lb;Bj=1,Lb=e,e.displayName="kotlin",e.aliases=["kt","kts"];function e(t){(function(r){r.languages.kotlin=r.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete r.languages.kotlin["class-name"];var n={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:r.languages.kotlin}};r.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:n},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:n},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete r.languages.kotlin.string,r.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),r.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),r.languages.kt=r.languages.kotlin,r.languages.kts=r.languages.kotlin})(t)}return Lb}var $b,Uj;function tve(){if(Uj)return $b;Uj=1;var e=Hxe();$b=t,t.displayName="php",t.aliases=[];function t(r){r.register(e),(function(n){var a=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,s=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],i=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,l=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,c=/[{}\[\](),:;]/;n.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:a,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:s,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:i,operator:l,punctuation:c};var d={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:n.languages.php},p=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:d}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:d}}];n.languages.insertBefore("php","variable",{string:p,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:a,string:p,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:s,number:i,operator:l,punctuation:c}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),n.hooks.add("before-tokenize",function(u){if(/<\?/.test(u.code)){var h=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;n.languages["markup-templating"].buildPlaceholders(u,"php",h)}}),n.hooks.add("after-tokenize",function(u){n.languages["markup-templating"].tokenizePlaceholders(u,"php")})})(r)}return $b}var Fb,Hj;function rve(){if(Hj)return Fb;Hj=1,Fb=e,e.displayName="less",e.aliases=[];function e(t){t.languages.less=t.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),t.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}return Fb}var Ob,qj;function nve(){if(qj)return Ob;qj=1,Ob=e,e.displayName="makefile",e.aliases=[];function e(t){t.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}return Ob}var Bb,Wj;function ave(){if(Wj)return Bb;Wj=1,Bb=e,e.displayName="markdown",e.aliases=["md"];function e(t){(function(r){var n=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function a(h){return h=h.replace(/<inner>/g,function(){return n}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+h+")")}var s=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,i=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return s}),l=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;r.languages.markdown=r.languages.extend("markup",{}),r.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:r.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+i+l+"(?:"+i+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+i+l+")(?:"+i+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(s),inside:r.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+i+")"+l+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+i+"$"),inside:{"table-header":{pattern:RegExp(s),alias:"important",inside:r.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:a(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:a(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:a(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:a(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(h){["url","bold","italic","strike","code-snippet"].forEach(function(m){h!==m&&(r.languages.markdown[h].inside.content.inside[m]=r.languages.markdown[m])})}),r.hooks.add("after-tokenize",function(h){if(h.language!=="markdown"&&h.language!=="md")return;function m(g){if(!(!g||typeof g=="string"))for(var b=0,x=g.length;b<x;b++){var v=g[b];if(v.type!=="code"){m(v.content);continue}var y=v.content[1],w=v.content[3];if(y&&w&&y.type==="code-language"&&w.type==="code-block"&&typeof y.content=="string"){var S=y.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");S=(/[a-z][\w-]*/i.exec(S)||[""])[0].toLowerCase();var j="language-"+S;w.alias?typeof w.alias=="string"?w.alias=[w.alias,j]:w.alias.push(j):w.alias=[j]}}}m(h.tokens)}),r.hooks.add("wrap",function(h){if(h.type==="code-block"){for(var m="",g=0,b=h.classes.length;g<b;g++){var x=h.classes[g],v=/language-(.+)/.exec(x);if(v){m=v[1];break}}var y=r.languages[m];if(y)h.content=r.highlight(u(h.content.value),y,m);else if(m&&m!=="none"&&r.plugins.autoloader){var w="md-"+new Date().valueOf()+"-"+Math.floor(Math.random()*1e16);h.attributes.id=w,r.plugins.autoloader.loadLanguages(m,function(){var S=document.getElementById(w);S&&(S.innerHTML=r.highlight(S.textContent,r.languages[m],m))})}}});var c=RegExp(r.languages.markup.tag.pattern.source,"gi"),d={amp:"&",lt:"<",gt:">",quot:'"'},p=String.fromCodePoint||String.fromCharCode;function u(h){var m=h.replace(c,"");return m=m.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(g,b){if(b=b.toLowerCase(),b[0]==="#"){var x;return b[1]==="x"?x=parseInt(b.slice(2),16):x=Number(b.slice(1)),p(x)}else{var v=d[b];return v||g}}),m}r.languages.md=r.languages.markdown})(t)}return Bb}var Ub,Vj;function sve(){if(Vj)return Ub;Vj=1,Ub=e,e.displayName="nginx",e.aliases=[];function e(t){(function(r){var n=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;r.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:n}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:n}},punctuation:/[{};]/}})(t)}return Ub}var Hb,Gj;function ove(){if(Gj)return Hb;Gj=1;var e=e2();Hb=t,t.displayName="objectivec",t.aliases=["objc"];function t(r){r.register(e),r.languages.objectivec=r.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete r.languages.objectivec["class-name"],r.languages.objc=r.languages.objectivec}return Hb}var qb,Kj;function ive(){if(Kj)return qb;Kj=1,qb=e,e.displayName="perl",e.aliases=[];function e(t){(function(r){var n=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;r.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,n].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,n].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,n+/\s*/.source+n].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(t)}return qb}var Wb,Yj;function lve(){if(Yj)return Wb;Yj=1,Wb=e,e.displayName="powershell",e.aliases=[];function e(t){(function(r){var n=r.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};n.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:n},boolean:n.boolean,variable:n.variable}})(t)}return Wb}var Vb,Xj;function cve(){if(Xj)return Vb;Xj=1,Vb=e,e.displayName="properties",e.aliases=[];function e(t){t.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}return Vb}var Gb,Zj;function dve(){if(Zj)return Gb;Zj=1,Gb=e,e.displayName="protobuf",e.aliases=[];function e(t){(function(r){var n=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;r.languages.protobuf=r.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),r.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:n}},builtin:n,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})})(t)}return Gb}var Kb,Jj;function uve(){if(Jj)return Kb;Jj=1,Kb=e,e.displayName="python",e.aliases=["py"];function e(t){t.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},t.languages.python["string-interpolation"].inside.interpolation.inside.rest=t.languages.python,t.languages.py=t.languages.python}return Kb}var Yb,Qj;function pve(){if(Qj)return Yb;Qj=1,Yb=e,e.displayName="r",e.aliases=[];function e(t){t.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}return Yb}var Xb,eN;function mve(){if(eN)return Xb;eN=1,Xb=e,e.displayName="regex",e.aliases=[];function e(t){(function(r){var n={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},a=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,s={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},i={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},l="(?:[^\\\\-]|"+a.source+")",c=RegExp(l+"-"+l),d={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};r.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:c,inside:{escape:a,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":n,"char-set":i,escape:a}},"special-escape":n,"char-set":s,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":d}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:a,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":d}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}})(t)}return Xb}var Zb,tN;function hve(){if(tN)return Zb;tN=1,Zb=e,e.displayName="rust",e.aliases=[];function e(t){(function(r){for(var n=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,a=0;a<2;a++)n=n.replace(/<self>/g,function(){return n});n=n.replace(/<self>/g,function(){return/[^\s\S]/.source}),r.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+n),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},r.languages.rust["closure-params"].inside.rest=r.languages.rust,r.languages.rust.attribute.inside.string=r.languages.rust.string})(t)}return Zb}var Jb,rN;function fve(){if(rN)return Jb;rN=1;var e=JI();Jb=t,t.displayName="scala",t.aliases=[];function t(r){r.register(e),r.languages.scala=r.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),r.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:r.languages.scala}}},string:/[\s\S]+/}}}),delete r.languages.scala["class-name"],delete r.languages.scala.function}return Jb}var Qb,nN;function gve(){if(nN)return Qb;nN=1,Qb=e,e.displayName="scss",e.aliases=[];function e(t){t.languages.scss=t.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),t.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),t.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),t.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),t.languages.scss.atrule.inside.rest=t.languages.scss}return Qb}var ex,aN;function bve(){if(aN)return ex;aN=1,ex=e,e.displayName="solidity",e.aliases=["sol"];function e(t){t.languages.solidity=t.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),t.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),t.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),t.languages.sol=t.languages.solidity}return ex}var tx,sN;function xve(){if(sN)return tx;sN=1,tx=e,e.displayName="swift",e.aliases=[];function e(t){t.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},t.languages.swift["string-literal"].forEach(function(r){r.inside.interpolation.inside=t.languages.swift})}return tx}var rx,oN;function vve(){if(oN)return rx;oN=1,rx=e,e.displayName="yaml",e.aliases=["yml"];function e(t){(function(r){var n=/[*&][^\s[\]{},]+/,a=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,s="(?:"+a.source+"(?:[ ]+"+n.source+")?|"+n.source+"(?:[ ]+"+a.source+")?)",i=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),l=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function c(d,p){p=(p||"").replace(/m/g,"")+"m";var u=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return s}).replace(/<<value>>/g,function(){return d});return RegExp(u,p)}r.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return s})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return s}).replace(/<<key>>/g,function(){return"(?:"+i+"|"+l+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:c(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:c(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:c(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:c(l),lookbehind:!0,greedy:!0},number:{pattern:c(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:a,important:n,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},r.languages.yml=r.languages.yaml})(t)}return rx}var nx,iN;function yve(){if(iN)return nx;iN=1,nx=e,e.displayName="toml",e.aliases=[];function e(t){(function(r){var n=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function a(s){return s.replace(/__/g,function(){return n})}r.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(a(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(a(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(t)}return nx}var ax,lN;function wve(){if(lN)return ax;lN=1;var e=tD(),t=QI();ax=r,r.displayName="tsx",r.aliases=[];function r(n){n.register(e),n.register(t),(function(a){var s=a.util.clone(a.languages.typescript);a.languages.tsx=a.languages.extend("jsx",s),delete a.languages.tsx.parameter,delete a.languages.tsx["literal-property"];var i=a.languages.tsx.tag;i.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+i.pattern.source+")",i.pattern.flags),i.lookbehind=!0})(n)}return ax}var sx,cN;function kve(){if(cN)return sx;cN=1,sx=e,e.displayName="vim",e.aliases=[];function e(t){t.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}return sx}var ox,dN;function Sve(){if(dN)return ox;dN=1,ox=e,e.displayName="zig",e.aliases=[];function e(t){(function(r){function n(p){return function(){return p}}var a=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,s="\\b(?!"+a.source+")(?!\\d)\\w+\\b",i=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,l=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*<ALIGN>|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(/<ALIGN>/g,n(i)),c=/(?:\bpromise\b|(?:\berror\.)?<ID>(?:\.<ID>)*(?!\s+<ID>))/.source.replace(/<ID>/g,n(s)),d="(?!\\s)(?:!?\\s*(?:"+l+"\\s*)*"+c+")+";r.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?[=;,)])|<TYPE>(?=\s*(?:<ALIGN>\s*)?\{)/.source.replace(/<TYPE>/g,n(d)).replace(/<ALIGN>/g,n(i))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?;)/.source.replace(/<TYPE>/g,n(d)).replace(/<ALIGN>/g,n(i))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:a,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},r.languages.zig["class-name"].forEach(function(p){p.inside===null&&(p.inside=r.languages.zig)})})(t)}return ox}var Cve=$xe();const jve=pt(Cve);var Nve=Fxe();const Tve=pt(Nve);var Eve=e2();const Ave=pt(Eve);var _ve=XI();const Pve=pt(_ve);var Mve=zxe();const Ive=pt(Mve);var Dve=Lxe();const Rve=pt(Dve);var zve=YI();const Lve=pt(zve);var $ve=Bxe();const Fve=pt($ve);var Ove=Uxe();const Bve=pt(Ove);var Uve=qxe();const Hve=pt(Uve);var qve=Wxe();const Wve=pt(qve);var Vve=Gxe();const Gve=pt(Vve);var Kve=Kxe();const Yve=pt(Kve);var Xve=Yxe();const Zve=pt(Xve);var Jve=Xxe();const Qve=pt(Jve);var e1e=Zxe();const t1e=pt(e1e);var r1e=Jxe();const n1e=pt(r1e);var a1e=JI();const s1e=pt(a1e);var o1e=ZI();const i1e=pt(o1e);var l1e=eD();const c1e=pt(l1e);var d1e=Qxe();const u1e=pt(d1e);var p1e=tD();const m1e=pt(p1e);var h1e=eve();const f1e=pt(h1e);var g1e=rve();const b1e=pt(g1e);var x1e=Vxe();const v1e=pt(x1e);var y1e=nve();const w1e=pt(y1e);var k1e=ave();const S1e=pt(k1e);var C1e=KI();const j1e=pt(C1e);var N1e=sve();const T1e=pt(N1e);var E1e=ove();const A1e=pt(E1e);var _1e=ive();const P1e=pt(_1e);var M1e=tve();const I1e=pt(M1e);var D1e=lve();const R1e=pt(D1e);var z1e=cve();const L1e=pt(z1e);var $1e=dve();const F1e=pt($1e);var O1e=uve();const B1e=pt(O1e);var U1e=pve();const H1e=pt(U1e);var q1e=mve();const W1e=pt(q1e);var V1e=Oxe();const G1e=pt(V1e);var K1e=hve();const Y1e=pt(K1e);var X1e=fve();const Z1e=pt(X1e);var J1e=gve();const Q1e=pt(J1e);var eye=bve();const tye=pt(eye);var rye=Rxe();const nye=pt(rye);var aye=xve();const sye=pt(aye);var oye=yve();const iye=pt(oye);var lye=wve();const cye=pt(lye);var dye=QI();const uye=pt(dye);var pye=kve();const mye=pt(pye);var hye=vve();const fye=pt(hye);var gye=Sve();const bye=pt(gye),xye={bash:jve,batch:Tve,c:Ave,clike:Pve,cpp:Ive,csharp:Rve,css:Lve,dart:Fve,diff:Bve,docker:Hve,elixir:Wve,go:Gve,graphql:Yve,groovy:Zve,haskell:Qve,hcl:t1e,ini:n1e,java:s1e,javascript:i1e,json:c1e,json5:u1e,jsx:m1e,kotlin:f1e,less:b1e,lua:v1e,makefile:w1e,markdown:S1e,markup:j1e,nginx:T1e,objectivec:A1e,perl:P1e,php:I1e,powershell:R1e,properties:L1e,protobuf:F1e,python:B1e,r:H1e,regex:W1e,ruby:G1e,rust:Y1e,scala:Z1e,scss:Q1e,solidity:tye,sql:nye,swift:sye,toml:iye,tsx:cye,typescript:uye,vim:mye,yaml:fye,zig:bye};for(const[e,t]of Object.entries(xye))If.registerLanguage(e,t);const rD=If;let uN=null;const vye=()=>(uN??=Xk(()=>import("./mermaid.core-D8tIoFkX.js").then(e=>e.ca),__vite__mapDeps([0,1])).then(e=>e.default),uN);function nD({code:e}){const{isDarkMode:t}=$o(),r=f.useId(),[n,a]=f.useState(null);return f.useEffect(()=>{let s=!1;const i=`mermaid-${r.replace(/[^a-zA-Z0-9]/g,"")}`;return vye().then(l=>(l.initialize({startOnLoad:!1,securityLevel:"strict",theme:t?"dark":"default",suppressErrorRendering:!0}),l.render(i,e.trim()))).then(l=>{s||a(l.svg)}).catch(()=>{s||a(null),document.getElementById(`d${i}`)?.remove()}),()=>{s=!0}},[e,t,r]),n?o.jsx("div",{className:"my-3 flex justify-center overflow-x-auto rounded-xl border border-border bg-white p-4 dark:bg-zinc-900 [&_svg]:h-auto [&_svg]:max-w-full",dangerouslySetInnerHTML:{__html:n}}):o.jsx("pre",{className:"my-3 overflow-x-auto rounded-xl border border-border bg-muted/50 p-4 font-mono text-[0.8125rem] leading-relaxed text-muted-foreground dark:bg-zinc-900",children:e.trim()})}function yye({inline:e,className:t,children:r,node:n,...a}){const{isDarkMode:s}=$o(),[i,l]=f.useState(!1),c=Array.isArray(r)?r.join(""):String(r??""),d=/[\r\n]/.test(c);if(e||!d)return o.jsx("code",{className:`whitespace-pre-wrap break-words rounded-md border border-gray-200 bg-gray-100 px-1.5 py-0.5 font-mono text-[0.9em] text-gray-900 dark:border-gray-700 dark:bg-gray-800/60 dark:text-gray-100 ${t||""}`,...a,children:r});const u=/language-(\w+)/.exec(t||""),h=u?u[1]:"text";return h==="mermaid"?o.jsx(nD,{code:c}):o.jsxs("div",{className:"group relative my-2",children:[h!=="text"&&o.jsx("div",{className:"absolute left-3 top-2 z-10 text-xs font-medium uppercase text-gray-400",children:h}),o.jsx("button",{type:"button",onClick:()=>Zn(c).then(m=>{m&&(l(!0),setTimeout(()=>l(!1),2e3))}),className:"absolute right-2 top-2 z-10 rounded-md border border-border bg-card/90 px-2 py-1 text-xs text-foreground/80 opacity-0 transition-opacity hover:bg-muted group-hover:opacity-100",children:i?"Copied!":"Copy"}),o.jsx(rD,{language:h,style:s?RI:zI,customStyle:{margin:0,borderRadius:"0.75rem",fontSize:"0.875rem",padding:h!=="text"?"2rem 1rem 1rem 1rem":"1rem",...s?{}:{background:"hsl(var(--muted))"}},codeTagProps:{style:s?{}:{background:"transparent"}},children:c})]})}const wye={code:yye,pre:({children:e})=>o.jsx(o.Fragment,{children:e}),blockquote:({children:e})=>o.jsx("blockquote",{className:"my-2 border-l-4 border-gray-300 pl-4 italic text-gray-600 dark:border-gray-600 dark:text-gray-400",children:e}),a:({href:e,children:t})=>o.jsx("a",{href:e,className:"text-blue-600 hover:underline dark:text-blue-400",target:"_blank",rel:"noopener noreferrer",children:t}),table:({children:e})=>o.jsx("div",{className:"my-2 overflow-x-auto",children:o.jsx("table",{className:"min-w-full border-collapse border border-gray-200 dark:border-gray-700",children:e})}),thead:({children:e})=>o.jsx("thead",{className:"bg-gray-50 dark:bg-gray-800",children:e}),th:({children:e})=>o.jsx("th",{className:"border border-gray-200 px-3 py-2 text-left text-sm font-semibold dark:border-gray-700",children:e}),td:({children:e})=>o.jsx("td",{className:"border border-gray-200 px-3 py-2 align-top text-sm dark:border-gray-700",children:e})};function aD({content:e}){const t=f.useMemo(()=>[Yk,[DI,{singleDollarTextMath:!1}]],[]),r=f.useMemo(()=>[lI],[]);return o.jsx(Ek,{remarkPlugins:t,rehypePlugins:r,components:wye,children:e})}function kye({content:e,onChange:t,markdownPreview:r,isMarkdownFile:n,isDarkMode:a,fontSize:s,showLineNumbers:i,extensions:l}){return r&&n?o.jsx("div",{className:"h-full overflow-y-auto bg-white dark:bg-gray-900",children:o.jsx("div",{className:"prose prose-sm mx-auto max-w-4xl px-8 py-6 dark:prose-invert prose-headings:font-semibold prose-a:text-blue-600 prose-code:text-sm prose-pre:bg-gray-900 prose-img:rounded-lg dark:prose-a:text-blue-400",children:o.jsx(aD,{content:e})})}):o.jsx(_T,{value:e,onChange:t,extensions:l,theme:a?PT:void 0,height:"100%",style:{fontSize:`${s}px`,height:"100%"},basicSetup:{lineNumbers:i,foldGutter:!0,dropCursor:!1,allowMultipleSelections:!1,indentOnInput:!0,bracketMatching:!0,closeBrackets:!0,autocompletion:!0,highlightSelectionMatches:!0,searchKeymap:!0}})}function Sye({file:e,isSidebar:t,isFullscreen:r,onClose:n,onToggleFullscreen:a,title:s,message:i}){const l=o.jsx("div",{className:"flex h-full w-full flex-col items-center justify-center bg-background p-8 text-muted-foreground",children:o.jsxs("div",{className:"flex max-w-md flex-col items-center gap-4 text-center",children:[o.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-muted",children:o.jsx("svg",{className:"h-8 w-8 text-muted-foreground",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})})}),o.jsxs("div",{children:[o.jsx("h3",{className:"mb-2 text-lg font-medium text-foreground",children:s}),o.jsx("p",{className:"text-sm text-muted-foreground",children:i})]}),o.jsx("button",{onClick:n,className:"mt-4 rounded-md bg-primary px-4 py-2 text-sm text-primary-foreground transition-colors hover:bg-primary/90",children:"Close"})]})});if(t)return o.jsxs("div",{className:"flex h-full w-full flex-col bg-background",children:[o.jsxs("div",{className:"flex flex-shrink-0 items-center justify-between border-b border-border px-3 py-1.5",children:[o.jsx("div",{className:"flex min-w-0 flex-1 items-center gap-2",children:o.jsx("h3",{className:"truncate text-sm font-medium text-gray-900 dark:text-white",children:e.name})}),o.jsx("button",{type:"button",onClick:n,className:"flex items-center justify-center rounded-md p-1.5 text-gray-600 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-400 dark:hover:bg-gray-800 dark:hover:text-white",title:"Close",children:o.jsx("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),l]});const c=r?"fixed inset-0 z-[9999] bg-background flex flex-col":"fixed inset-0 z-[9999] md:bg-black/50 md:flex md:items-center md:justify-center md:p-4",d=r?"bg-background flex flex-col w-full h-full":"bg-background shadow-2xl flex flex-col w-full h-full md:rounded-lg md:shadow-2xl md:w-full md:max-w-2xl md:h-auto md:max-h-[60vh]";return o.jsx("div",{className:c,children:o.jsxs("div",{className:d,children:[o.jsxs("div",{className:"flex flex-shrink-0 items-center justify-between border-b border-border px-3 py-1.5",children:[o.jsx("div",{className:"flex min-w-0 flex-1 items-center gap-2",children:o.jsx("h3",{className:"truncate text-sm font-medium text-gray-900 dark:text-white",children:e.name})}),o.jsxs("div",{className:"flex shrink-0 items-center gap-0.5",children:[o.jsx("button",{type:"button",onClick:a,className:"flex items-center justify-center rounded-md p-1.5 text-gray-600 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-400 dark:hover:bg-gray-800 dark:hover:text-white",title:r?"Exit fullscreen":"Fullscreen",children:r?o.jsx("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 9V4.5M9 9H4.5M9 9L3.5 3.5M9 15v4.5M9 15H4.5M9 15l-5.5 5.5M15 9h4.5M15 9V4.5M15 9l5.5-5.5M15 15h4.5M15 15v4.5m0-4.5l5.5 5.5"})}):o.jsx("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 8V4m0 0h4M4 4l5 5m11-1V4m0 0h-4m4 0l-5 5M4 16v4m0 0h4m-4 0l5-5m11 5l-5-5m5 5v-4m0 4h-4"})})}),o.jsx("button",{type:"button",onClick:n,className:"flex items-center justify-center rounded-md p-1.5 text-gray-600 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-400 dark:hover:bg-gray-800 dark:hover:text-white",title:"Close",children:o.jsx("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]})]}),l]})})}const Cye=1024,jye=async e=>{const t=await e.slice(0,Cye).arrayBuffer();return new TextDecoder("latin1").decode(t).includes("%PDF-")};function Nye({file:e,kind:t,projectId:r,isSidebar:n,isFullscreen:a,onClose:s,onToggleFullscreen:i,labels:l}){const[c,d]=f.useState(null),[p,u]=f.useState(null),[h,m]=f.useState(!0),[g,b]=f.useState(null),x=`${r??""}:${e.path}:${t}`;f.useEffect(()=>{if(!r){d(null),b(null),u(l.error),m(!1);return}let N=null;const D=new AbortController;return(async()=>{try{m(!0),u(null),d(null);const U=await xe.readFileBlob(r,e.path,{signal:D.signal});if(!U.ok)throw new Error(`Request failed with status ${U.status}`);const _=await U.blob(),q=US(e.name),z=!_.type||_.type==="application/octet-stream",F=t==="video"&&!!q&&!_.type.startsWith("video/");let H=z||F?q??_.type:_.type;if(t==="pdf"){if(!await jye(_))throw new Error("File is not a valid PDF");H="application/pdf"}const L=H&&H!==_.type?new Blob([_],{type:H}):_;if(N=URL.createObjectURL(L),D.signal.aborted){URL.revokeObjectURL(N),N=null;return}d(N),b(x)}catch(U){if(U instanceof Error&&U.name==="AbortError")return;console.error("Error loading preview:",U),u(l.error)}finally{m(!1)}})(),()=>{D.abort(),N&&URL.revokeObjectURL(N)}},[e.path,e.name,r,t,x,l.error]);const v=c&&g===x?c:null,y=US(e.name)==="image/svg+xml",w=!!v&&!y,S=()=>{if(!v)return null;switch(t){case"image":return o.jsx("img",{src:v,alt:e.name,className:"max-h-full max-w-full object-contain"});case"pdf":return o.jsx("iframe",{src:v,title:e.name,className:"h-full w-full border-0 bg-white"});case"video":return o.jsx("video",{src:v,controls:!0,className:"max-h-full max-w-full",autoPlay:!1,children:l.error});case"audio":return o.jsxs("div",{className:"flex w-full max-w-xl flex-col items-center gap-4 px-6",children:[o.jsx("p",{className:"max-w-full truncate text-sm text-muted-foreground",children:e.name}),o.jsx("audio",{src:v,controls:!0,className:"w-full",children:l.error})]});default:return null}},j=o.jsxs("div",{className:"relative flex h-full w-full flex-col items-center justify-center bg-muted/30 p-2",children:[h&&o.jsx("div",{className:"text-sm text-muted-foreground",children:l.loading}),!h&&v&&S(),!h&&!v&&o.jsxs("div",{className:"flex flex-col items-center gap-3 p-8 text-center text-muted-foreground",children:[o.jsx("p",{className:"text-sm",children:p||l.error}),o.jsx("p",{className:"break-all text-xs",children:e.path})]})]}),k=o.jsxs("div",{className:"flex shrink-0 items-center gap-0.5",children:[w&&v&&o.jsx("a",{href:v,target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center rounded-md p-1.5 text-gray-600 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-400 dark:hover:bg-gray-800 dark:hover:text-white","aria-label":l.openInNewTab,title:l.openInNewTab,children:o.jsx("svg",{"aria-hidden":"true",className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"})})}),!n&&o.jsx("button",{type:"button",onClick:i,className:"flex items-center justify-center rounded-md p-1.5 text-gray-600 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-400 dark:hover:bg-gray-800 dark:hover:text-white","aria-label":a?l.exitFullscreen:l.fullscreen,title:a?l.exitFullscreen:l.fullscreen,children:a?o.jsx("svg",{"aria-hidden":"true",className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 9V4.5M9 9H4.5M9 9L3.5 3.5M9 15v4.5M9 15H4.5M9 15l-5.5 5.5M15 9h4.5M15 9V4.5M15 9l5.5-5.5M15 15h4.5M15 15v4.5m0-4.5l5.5 5.5"})}):o.jsx("svg",{"aria-hidden":"true",className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 8V4m0 0h4M4 4l5 5m11-1V4m0 0h-4m4 0l-5 5M4 16v4m0 0h4m-4 0l5-5m11 5l-5-5m5 5v-4m0 4h-4"})})}),o.jsx("button",{type:"button",onClick:s,className:"flex items-center justify-center rounded-md p-1.5 text-gray-600 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-400 dark:hover:bg-gray-800 dark:hover:text-white","aria-label":l.close,title:l.close,children:o.jsx("svg",{"aria-hidden":"true",className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),C=o.jsxs("div",{className:"flex flex-shrink-0 items-center justify-between border-b border-border px-3 py-1.5",children:[o.jsx("div",{className:"flex min-w-0 flex-1 items-center gap-2",children:o.jsx("h3",{className:"truncate text-sm font-medium text-gray-900 dark:text-white",children:e.name})}),k]});if(n)return o.jsxs("div",{className:"flex h-full w-full flex-col bg-background",children:[C,j]});const E=a?"fixed inset-0 z-[9999] bg-background flex flex-col":"fixed inset-0 z-[9999] md:bg-black/50 md:flex md:items-center md:justify-center md:p-4",T=a?"bg-background flex flex-col w-full h-full":"bg-background shadow-2xl flex flex-col w-full h-full md:rounded-lg md:shadow-2xl md:w-full md:max-w-6xl md:h-[80vh] md:max-h-[80vh]";return o.jsx("div",{className:E,children:o.jsxs("div",{className:T,children:[C,j]})})}const Tye=f.lazy(()=>Xk(()=>import("./HyperlinkDialog-ZYH7ZHRF-CBTsKBsq.js").then(e=>e.D),__vite__mapDeps([2,3,1,4])));function Eye(e){return o.jsx(f.Suspense,{fallback:o.jsx("div",{className:"flex h-full items-center justify-center",children:o.jsx(It,{className:"h-5 w-5 animate-spin text-muted-foreground"})}),children:o.jsx(Tye,{...e})})}const Aye=e=>e.toLowerCase().endsWith(".docx");function pN({file:e,onClose:t,projectPath:r,isSidebar:n=!1,isExpanded:a=!1,onToggleExpand:s=null,onPopOut:i=null}){const{t:l}=Ae("codeEditor"),c=Pu(),[d,p]=f.useState(!1),[u,h]=f.useState(!!e.diffInfo),[m,g]=f.useState(!1),{isDarkMode:b}=$o(),{wordWrap:x,minimapEnabled:v,showLineNumbers:y,fontSize:w}=xie(),{content:S,setContent:j,loading:k,saving:C,saveSuccess:E,saveError:T,isBinary:N,previewKind:D,fileProjectId:A,handleSave:U,handleDownload:_}=gie({file:e,projectPath:r}),q=f.useMemo(()=>{const X=e.name.split(".").pop()?.toLowerCase();return X==="md"||X==="markdown"},[e.name]),z=f.useMemo(()=>{const X=e.name.split(".").pop()?.toLowerCase();return X==="html"||X==="htm"},[e.name]),F=f.useCallback(()=>{const X=window.open("","_blank");if(!X)return;X.opener=null,X.document.title=e.name,X.document.body.style.margin="0";const W=X.document.createElement("iframe");W.title=e.name,W.sandbox.add("allow-forms","allow-modals","allow-popups","allow-scripts"),W.style.cssText="position:fixed;inset:0;width:100%;height:100%;border:0;background:white",W.srcdoc=S,X.document.body.appendChild(W)},[S,e.name]),H=f.useMemo(()=>Die({file:e,showDiff:u,minimapEnabled:v,isDarkMode:b}),[e,b,v,u]),L=f.useMemo(()=>Rie({file:e,showDiff:u}),[e,u]),M=f.useMemo(()=>Oie({file:e,showDiff:u,isSidebar:n,isExpanded:a,onToggleDiff:()=>h(X=>!X),onPopOut:i,onToggleExpand:s,labels:{changes:l("toolbar.changes"),previousChange:l("toolbar.previousChange"),nextChange:l("toolbar.nextChange"),hideDiff:l("toolbar.hideDiff"),showDiff:l("toolbar.showDiff"),collapse:l("toolbar.collapse"),expand:l("toolbar.expand")}}),[e,a,n,i,s,u,l]),V=f.useMemo(()=>{const X=[...Iie(e.name),...M];return e.diffInfo&&u&&e.diffInfo.old_string!==void 0&&(X.push(Mae({original:e.diffInfo.old_string,mergeControls:!1,highlightChanges:!0,syntaxHighlightDeletions:!1,gutter:!0})),X.push(...H),X.push(...L)),x&&X.push(ka.lineWrapping),X},[e.diffInfo,e.name,H,L,u,M,x]);if(vie({onSave:U,onClose:t,dependency:S}),k)return o.jsx(Hie,{isDarkMode:b,isSidebar:n,loadingText:l("loading",{fileName:e.name})});if(D)return o.jsx(Nye,{file:e,kind:D,projectId:A,isSidebar:n,isFullscreen:d,onClose:t,onToggleFullscreen:()=>p(X=>!X),labels:{loading:l("filePreview.loading","Loading preview..."),error:l("filePreview.error","Unable to display this file."),openInNewTab:l("filePreview.openInNewTab","Open in new tab"),fullscreen:l("actions.fullscreen","Fullscreen"),exitFullscreen:l("actions.exitFullscreen","Exit fullscreen"),close:l("actions.close","Close")}});if(Aye(e.name))return o.jsx(Eye,{file:e,projectId:A,isSidebar:n,onClose:t});if(N)return o.jsx(Sye,{file:e,isSidebar:n,isFullscreen:d,onClose:t,onToggleFullscreen:()=>p(X=>!X),title:l("binaryFile.title","Binary File"),message:l("binaryFile.message",'The file "{{fileName}}" cannot be displayed in the text editor because it is a binary file.',{fileName:e.name})});const $=n?"w-full h-full flex flex-col":`fixed inset-0 z-[9999] md:bg-black/50 md:flex md:items-center md:justify-center md:p-4 ${d?"md:p-0":""}`,R=n?"bg-background flex flex-col w-full h-full":`bg-background shadow-2xl flex flex-col w-full h-full md:rounded-lg md:shadow-2xl${d?" md:w-full md:h-full md:rounded-none":" md:w-full md:max-w-6xl md:h-[80vh] md:max-h-[80vh]"}`;return o.jsxs(o.Fragment,{children:[o.jsx("style",{children:Lie(b)}),o.jsx("div",{className:$,children:o.jsxs("div",{className:R,children:[o.jsx(Uie,{file:e,isSidebar:n,isFullscreen:d,isMarkdownFile:q,isHtmlPreviewFile:z,markdownPreview:m,saving:C,saveSuccess:E,onToggleMarkdownPreview:()=>g(X=>!X),onOpenHtmlPreview:F,onOpenSettings:()=>c.openSettings("appearance"),onDownload:_,onSave:U,onToggleFullscreen:()=>p(X=>!X),onClose:t,labels:{showingChanges:l("header.showingChanges"),copyPath:l("actions.copyPath","Copy file path"),pathCopied:l("actions.pathCopied","File path copied"),editMarkdown:l("actions.editMarkdown"),previewMarkdown:l("actions.previewMarkdown"),previewHtml:l("actions.previewHtml","Open HTML preview in new tab"),settings:l("toolbar.settings"),download:l("actions.download"),save:l("actions.save"),saving:l("actions.saving"),saved:l("actions.saved"),fullscreen:l("actions.fullscreen"),exitFullscreen:l("actions.exitFullscreen"),close:l("actions.close")}}),T&&o.jsx("div",{className:"border-b border-red-200 bg-red-50 px-3 py-1.5 text-xs text-red-700 dark:border-red-900/40 dark:bg-red-900/20 dark:text-red-300",children:T}),o.jsx("div",{className:"flex-1 overflow-hidden",children:o.jsx(kye,{content:S,onChange:j,markdownPreview:m,isMarkdownFile:q,isDarkMode:b,fontSize:w,showLineNumbers:y,extensions:V})}),o.jsx(Bie,{content:S,linesLabel:l("footer.lines"),charactersLabel:l("footer.characters"),shortcutsLabel:l("footer.shortcuts")})]})})]})}const _ye=200,mN=280;function sD({editingFile:e,isMobile:t,editorExpanded:r,editorWidth:n,hasManualWidth:a,resizeHandleRef:s,onResizeStart:i,onCloseEditor:l,onToggleEditorExpand:c,projectPath:d,fillSpace:p}){const[u,h]=f.useState(!1),m=f.useRef(null),[g,b]=f.useState(null);f.useEffect(()=>{if(!e||t||u)return;const y=()=>{if(!m.current)return;const j=m.current.parentElement;if(!j)return;const k=j.clientWidth-_ye;if(k<mN){h(!0);return}b(k)};y(),window.addEventListener("resize",y);const w=new ResizeObserver(y),S=m.current?.parentElement;return S&&w.observe(S),()=>{window.removeEventListener("resize",y),w.disconnect()}},[e,t,u]);const x=g===null?n:Math.min(n,g);if(!e)return null;if(t||u)return o.jsx(pN,{file:e,onClose:()=>{h(!1),l()},projectPath:d,isSidebar:!1});const v=r||p&&!a;return o.jsxs("div",{ref:m,className:`flex h-full min-w-0 ${r?"flex-1":""}`,children:[!r&&o.jsx("div",{ref:s,onMouseDown:i,className:"group relative w-1 flex-shrink-0 cursor-col-resize bg-gray-200 transition-colors hover:bg-blue-500 dark:bg-gray-700 dark:hover:bg-blue-600",title:"Drag to resize",children:o.jsx("div",{className:"absolute inset-y-0 left-1/2 w-1 -translate-x-1/2 bg-blue-500 opacity-0 transition-opacity group-hover:opacity-100 dark:bg-blue-600"})}),o.jsx("div",{className:`h-full overflow-hidden border-l border-gray-200 dark:border-gray-700 ${v?"min-w-0 flex-1":""}`,style:v?void 0:{width:`${x}px`,minWidth:`${mN}px`},children:o.jsx(pN,{file:e,onClose:l,projectPath:d,isSidebar:!0,isExpanded:r,onToggleExpand:c,onPopOut:()=>h(!0)})})]})}const oD=({selectedProject:e,isMobile:t,initialWidth:r=600})=>{const[n,a]=f.useState(null),[s,i]=f.useState(r),[l,c]=f.useState(!1),[d,p]=f.useState(!1),[u,h]=f.useState(!1),m=f.useRef(null),g=f.useCallback((y,w=null)=>{const j=y.replace(/\\/g,"/").split("/").pop()||y;a({name:j,path:y,projectId:e?.projectId,diffInfo:w})},[e?.projectId]),b=f.useCallback(()=>{a(null),c(!1)},[]),x=f.useCallback(()=>{c(y=>!y)},[]),v=f.useCallback(y=>{t||(h(!0),p(!0),y.preventDefault())},[t]);return f.useEffect(()=>{if(!d)return;let y=null,w=null;const S=()=>{w=null,y!==null&&(i(y),y=null)},j=C=>{const T=m.current?.parentElement?.parentElement;if(!T)return;const N=T.getBoundingClientRect(),D=N.right-C.clientX,A=300,U=N.width*.8;D>=A&&D<=U&&(y=D,w===null&&(w=requestAnimationFrame(S)))},k=()=>{p(!1)};return document.addEventListener("mousemove",j),document.addEventListener("mouseup",k),document.body.style.cursor="col-resize",document.body.style.userSelect="none",()=>{w!==null&&cancelAnimationFrame(w),S(),document.removeEventListener("mousemove",j),document.removeEventListener("mouseup",k),document.body.style.cursor="",document.body.style.userSelect=""}},[d]),{editingFile:n,editorWidth:s,editorExpanded:l,hasManualWidth:u,resizeHandleRef:m,handleFileOpen:g,handleCloseEditor:b,handleToggleEditorExpand:x,handleResizeStart:v}};function Pye({content:e,onContentChange:t,previewMode:r,isDarkMode:n,wordWrap:a}){const s=f.useMemo(()=>[AT(),...a?[ka.lineWrapping]:[]],[a]);return r?o.jsx("div",{className:"prose prose-gray h-full max-w-none overflow-y-auto p-6 dark:prose-invert",children:o.jsx(aD,{content:e})}):o.jsx(_T,{value:e,onChange:t,extensions:s,theme:n?PT:void 0,height:"100%",style:{fontSize:"14px",height:"100%"},basicSetup:{lineNumbers:!0,foldGutter:!0,dropCursor:!1,allowMultipleSelections:!1,indentOnInput:!0,bracketMatching:!0,closeBrackets:!0,autocompletion:!0,highlightSelectionMatches:!0,searchKeymap:!0}})}function Mye(e){return{lines:e.split(`
3817
+ |(?![\\s\\S])))+`,"m"),alias:i,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(a)[0]}}}}),Object.defineProperty(r.languages.diff,"PREFIXES",{value:n})})(t)}return wb}var kb,Nj;function Hxe(){if(Nj)return kb;Nj=1,kb=e,e.displayName="markupTemplating",e.aliases=[];function e(t){(function(r){function n(a,s){return"___"+a.toUpperCase()+s+"___"}Object.defineProperties(r.languages["markup-templating"]={},{buildPlaceholders:{value:function(a,s,i,l){if(a.language===s){var c=a.tokenStack=[];a.code=a.code.replace(i,function(d){if(typeof l=="function"&&!l(d))return d;for(var p=c.length,u;a.code.indexOf(u=n(s,p))!==-1;)++p;return c[p]=d,u}),a.grammar=r.languages.markup}}},tokenizePlaceholders:{value:function(a,s){if(a.language!==s||!a.tokenStack)return;a.grammar=r.languages[s];var i=0,l=Object.keys(a.tokenStack);function c(d){for(var p=0;p<d.length&&!(i>=l.length);p++){var u=d[p];if(typeof u=="string"||u.content&&typeof u.content=="string"){var h=l[i],m=a.tokenStack[h],g=typeof u=="string"?u:u.content,b=n(s,h),x=g.indexOf(b);if(x>-1){++i;var v=g.substring(0,x),y=new r.Token(s,r.tokenize(m,a.grammar),"language-"+s,m),w=g.substring(x+b.length),S=[];v&&S.push.apply(S,c([v])),S.push(y),w&&S.push.apply(S,c([w])),typeof u=="string"?d.splice.apply(d,[p,1].concat(S)):u.content=S}}else u.content&&c(u.content)}return d}c(a.tokens)}}})})(t)}return kb}var Sb,Tj;function qxe(){if(Tj)return Sb;Tj=1,Sb=e,e.displayName="docker",e.aliases=["dockerfile"];function e(t){(function(r){var n=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,a=/(?:[ \t]+(?![ \t])(?:<SP_BS>)?|<SP_BS>)/.source.replace(/<SP_BS>/g,function(){return n}),s=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,i=/--[\w-]+=(?:<STR>|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(/<STR>/g,function(){return s}),l={pattern:RegExp(s),greedy:!0},c={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function d(p,u){return p=p.replace(/<OPT>/g,function(){return i}).replace(/<SP>/g,function(){return a}),RegExp(p,u)}r.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:d(/(^(?:ONBUILD<SP>)?\w+<SP>)<OPT>(?:<SP><OPT>)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[l,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:d(/(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:d(/(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \t\\]+<SP>)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:d(/(^ONBUILD<SP>)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:c,string:l,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:c},r.languages.dockerfile=r.languages.docker})(t)}return Sb}var Cb,Ej;function Wxe(){if(Ej)return Cb;Ej=1,Cb=e,e.displayName="elixir",e.aliases=[];function e(t){t.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},t.languages.elixir.string.forEach(function(r){r.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:t.languages.elixir}}}})}return Cb}var jb,Aj;function Vxe(){if(Aj)return jb;Aj=1,jb=e,e.displayName="lua",e.aliases=[];function e(t){t.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}return jb}var Nb,_j;function Gxe(){if(_j)return Nb;_j=1,Nb=e,e.displayName="go",e.aliases=[];function e(t){t.languages.go=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),t.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete t.languages.go["class-name"]}return Nb}var Tb,Pj;function Kxe(){if(Pj)return Tb;Pj=1,Tb=e,e.displayName="graphql",e.aliases=[];function e(t){t.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:t.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},t.hooks.add("after-tokenize",function(n){if(n.language!=="graphql")return;var a=n.tokens.filter(function(v){return typeof v!="string"&&v.type!=="comment"&&v.type!=="scalar"}),s=0;function i(v){return a[s+v]}function l(v,y){y=y||0;for(var w=0;w<v.length;w++){var S=i(w+y);if(!S||S.type!==v[w])return!1}return!0}function c(v,y){for(var w=1,S=s;S<a.length;S++){var j=a[S],k=j.content;if(j.type==="punctuation"&&typeof k=="string"){if(v.test(k))w++;else if(y.test(k)&&(w--,w===0))return S}}return-1}function d(v,y){var w=v.alias;w?Array.isArray(w)||(v.alias=w=[w]):v.alias=w=[],w.push(y)}for(;s<a.length;){var p=a[s++];if(p.type==="keyword"&&p.content==="mutation"){var u=[];if(l(["definition-mutation","punctuation"])&&i(1).content==="("){s+=2;var h=c(/^\($/,/^\)$/);if(h===-1)continue;for(;s<h;s++){var m=i(0);m.type==="variable"&&(d(m,"variable-input"),u.push(m.content))}s=h+1}if(l(["punctuation","property-query"])&&i(0).content==="{"&&(s++,d(i(0),"property-mutation"),u.length>0)){var g=c(/^\{$/,/^\}$/);if(g===-1)continue;for(var b=s;b<g;b++){var x=a[b];x.type==="variable"&&u.indexOf(x.content)>=0&&d(x,"variable-input")}}}}})}return Tb}var Eb,Mj;function Yxe(){if(Mj)return Eb;Mj=1,Eb=e,e.displayName="groovy",e.aliases=[];function e(t){t.languages.groovy=t.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),t.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),t.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),t.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),t.hooks.add("wrap",function(r){if(r.language==="groovy"&&r.type==="string"){var n=r.content.value[0];if(n!="'"){var a=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;n==="$"&&(a=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),r.content.value=r.content.value.replace(/&lt;/g,"<").replace(/&amp;/g,"&"),r.content=t.highlight(r.content.value,{expression:{pattern:a,lookbehind:!0,inside:t.languages.groovy}}),r.classes.push(n==="/"?"regex":"gstring")}}})}return Eb}var Ab,Ij;function Xxe(){if(Ij)return Ab;Ij=1,Ab=e,e.displayName="haskell",e.aliases=["hs"];function e(t){t.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},t.languages.hs=t.languages.haskell}return Ab}var _b,Dj;function Zxe(){if(Dj)return _b;Dj=1,_b=e,e.displayName="hcl",e.aliases=[];function e(t){t.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}return _b}var Pb,Rj;function Jxe(){if(Rj)return Pb;Rj=1,Pb=e,e.displayName="ini",e.aliases=[];function e(t){t.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}return Pb}var Mb,zj;function JI(){if(zj)return Mb;zj=1,Mb=e,e.displayName="java",e.aliases=[];function e(t){(function(r){var n=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,a=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,s={pattern:RegExp(a+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};r.languages.java=r.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[s,{pattern:RegExp(a+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:s.inside}],keyword:n,function:[r.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),r.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),r.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":s,keyword:n,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return n.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(t)}return Mb}var Ib,Lj;function QI(){if(Lj)return Ib;Lj=1,Ib=e,e.displayName="typescript",e.aliases=["ts"];function e(t){(function(r){r.languages.typescript=r.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),r.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete r.languages.typescript.parameter,delete r.languages.typescript["literal-property"];var n=r.languages.extend("typescript",{});delete n["class-name"],r.languages.typescript["class-name"].inside=n,r.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:n}}}}),r.languages.ts=r.languages.typescript})(t)}return Ib}var Db,$j;function eD(){if($j)return Db;$j=1,Db=e,e.displayName="json",e.aliases=["webmanifest"];function e(t){t.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},t.languages.webmanifest=t.languages.json}return Db}var Rb,Fj;function Qxe(){if(Fj)return Rb;Fj=1;var e=eD();Rb=t,t.displayName="json5",t.aliases=[];function t(r){r.register(e),(function(n){var a=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;n.languages.json5=n.languages.extend("json",{property:[{pattern:RegExp(a.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:a,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})})(r)}return Rb}var zb,Oj;function tD(){if(Oj)return zb;Oj=1,zb=e,e.displayName="jsx",e.aliases=[];function e(t){(function(r){var n=r.util.clone(r.languages.javascript),a=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,s=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,i=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function l(p,u){return p=p.replace(/<S>/g,function(){return a}).replace(/<BRACES>/g,function(){return s}).replace(/<SPREAD>/g,function(){return i}),RegExp(p,u)}i=l(i).source,r.languages.jsx=r.languages.extend("markup",n),r.languages.jsx.tag.pattern=l(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),r.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,r.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,r.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,r.languages.jsx.tag.inside.comment=n.comment,r.languages.insertBefore("inside","attr-name",{spread:{pattern:l(/<SPREAD>/.source),inside:r.languages.jsx}},r.languages.jsx.tag),r.languages.insertBefore("inside","special-attr",{script:{pattern:l(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:r.languages.jsx}}},r.languages.jsx.tag);var c=function(p){return p?typeof p=="string"?p:typeof p.content=="string"?p.content:p.content.map(c).join(""):""},d=function(p){for(var u=[],h=0;h<p.length;h++){var m=p[h],g=!1;if(typeof m!="string"&&(m.type==="tag"&&m.content[0]&&m.content[0].type==="tag"?m.content[0].content[0].content==="</"?u.length>0&&u[u.length-1].tagName===c(m.content[0].content[1])&&u.pop():m.content[m.content.length-1].content==="/>"||u.push({tagName:c(m.content[0].content[1]),openedBraces:0}):u.length>0&&m.type==="punctuation"&&m.content==="{"?u[u.length-1].openedBraces++:u.length>0&&u[u.length-1].openedBraces>0&&m.type==="punctuation"&&m.content==="}"?u[u.length-1].openedBraces--:g=!0),(g||typeof m=="string")&&u.length>0&&u[u.length-1].openedBraces===0){var b=c(m);h<p.length-1&&(typeof p[h+1]=="string"||p[h+1].type==="plain-text")&&(b+=c(p[h+1]),p.splice(h+1,1)),h>0&&(typeof p[h-1]=="string"||p[h-1].type==="plain-text")&&(b=c(p[h-1])+b,p.splice(h-1,1),h--),p[h]=new r.Token("plain-text",b,null,b)}m.content&&typeof m.content!="string"&&d(m.content)}};r.hooks.add("after-tokenize",function(p){p.language!=="jsx"&&p.language!=="tsx"||d(p.tokens)})})(t)}return zb}var Lb,Bj;function eve(){if(Bj)return Lb;Bj=1,Lb=e,e.displayName="kotlin",e.aliases=["kt","kts"];function e(t){(function(r){r.languages.kotlin=r.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete r.languages.kotlin["class-name"];var n={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:r.languages.kotlin}};r.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:n},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:n},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete r.languages.kotlin.string,r.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),r.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),r.languages.kt=r.languages.kotlin,r.languages.kts=r.languages.kotlin})(t)}return Lb}var $b,Uj;function tve(){if(Uj)return $b;Uj=1;var e=Hxe();$b=t,t.displayName="php",t.aliases=[];function t(r){r.register(e),(function(n){var a=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,s=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],i=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,l=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,c=/[{}\[\](),:;]/;n.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:a,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:s,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:i,operator:l,punctuation:c};var d={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:n.languages.php},p=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:d}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:d}}];n.languages.insertBefore("php","variable",{string:p,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:a,string:p,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:s,number:i,operator:l,punctuation:c}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),n.hooks.add("before-tokenize",function(u){if(/<\?/.test(u.code)){var h=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;n.languages["markup-templating"].buildPlaceholders(u,"php",h)}}),n.hooks.add("after-tokenize",function(u){n.languages["markup-templating"].tokenizePlaceholders(u,"php")})})(r)}return $b}var Fb,Hj;function rve(){if(Hj)return Fb;Hj=1,Fb=e,e.displayName="less",e.aliases=[];function e(t){t.languages.less=t.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),t.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}return Fb}var Ob,qj;function nve(){if(qj)return Ob;qj=1,Ob=e,e.displayName="makefile",e.aliases=[];function e(t){t.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}return Ob}var Bb,Wj;function ave(){if(Wj)return Bb;Wj=1,Bb=e,e.displayName="markdown",e.aliases=["md"];function e(t){(function(r){var n=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function a(h){return h=h.replace(/<inner>/g,function(){return n}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+h+")")}var s=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,i=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return s}),l=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;r.languages.markdown=r.languages.extend("markup",{}),r.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:r.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+i+l+"(?:"+i+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+i+l+")(?:"+i+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(s),inside:r.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+i+")"+l+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+i+"$"),inside:{"table-header":{pattern:RegExp(s),alias:"important",inside:r.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:a(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:a(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:a(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:a(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(h){["url","bold","italic","strike","code-snippet"].forEach(function(m){h!==m&&(r.languages.markdown[h].inside.content.inside[m]=r.languages.markdown[m])})}),r.hooks.add("after-tokenize",function(h){if(h.language!=="markdown"&&h.language!=="md")return;function m(g){if(!(!g||typeof g=="string"))for(var b=0,x=g.length;b<x;b++){var v=g[b];if(v.type!=="code"){m(v.content);continue}var y=v.content[1],w=v.content[3];if(y&&w&&y.type==="code-language"&&w.type==="code-block"&&typeof y.content=="string"){var S=y.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");S=(/[a-z][\w-]*/i.exec(S)||[""])[0].toLowerCase();var j="language-"+S;w.alias?typeof w.alias=="string"?w.alias=[w.alias,j]:w.alias.push(j):w.alias=[j]}}}m(h.tokens)}),r.hooks.add("wrap",function(h){if(h.type==="code-block"){for(var m="",g=0,b=h.classes.length;g<b;g++){var x=h.classes[g],v=/language-(.+)/.exec(x);if(v){m=v[1];break}}var y=r.languages[m];if(y)h.content=r.highlight(u(h.content.value),y,m);else if(m&&m!=="none"&&r.plugins.autoloader){var w="md-"+new Date().valueOf()+"-"+Math.floor(Math.random()*1e16);h.attributes.id=w,r.plugins.autoloader.loadLanguages(m,function(){var S=document.getElementById(w);S&&(S.innerHTML=r.highlight(S.textContent,r.languages[m],m))})}}});var c=RegExp(r.languages.markup.tag.pattern.source,"gi"),d={amp:"&",lt:"<",gt:">",quot:'"'},p=String.fromCodePoint||String.fromCharCode;function u(h){var m=h.replace(c,"");return m=m.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(g,b){if(b=b.toLowerCase(),b[0]==="#"){var x;return b[1]==="x"?x=parseInt(b.slice(2),16):x=Number(b.slice(1)),p(x)}else{var v=d[b];return v||g}}),m}r.languages.md=r.languages.markdown})(t)}return Bb}var Ub,Vj;function sve(){if(Vj)return Ub;Vj=1,Ub=e,e.displayName="nginx",e.aliases=[];function e(t){(function(r){var n=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;r.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:n}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:n}},punctuation:/[{};]/}})(t)}return Ub}var Hb,Gj;function ove(){if(Gj)return Hb;Gj=1;var e=e2();Hb=t,t.displayName="objectivec",t.aliases=["objc"];function t(r){r.register(e),r.languages.objectivec=r.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete r.languages.objectivec["class-name"],r.languages.objc=r.languages.objectivec}return Hb}var qb,Kj;function ive(){if(Kj)return qb;Kj=1,qb=e,e.displayName="perl",e.aliases=[];function e(t){(function(r){var n=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;r.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,n].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,n].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,n+/\s*/.source+n].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(t)}return qb}var Wb,Yj;function lve(){if(Yj)return Wb;Yj=1,Wb=e,e.displayName="powershell",e.aliases=[];function e(t){(function(r){var n=r.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};n.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:n},boolean:n.boolean,variable:n.variable}})(t)}return Wb}var Vb,Xj;function cve(){if(Xj)return Vb;Xj=1,Vb=e,e.displayName="properties",e.aliases=[];function e(t){t.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}return Vb}var Gb,Zj;function dve(){if(Zj)return Gb;Zj=1,Gb=e,e.displayName="protobuf",e.aliases=[];function e(t){(function(r){var n=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;r.languages.protobuf=r.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),r.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:n}},builtin:n,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})})(t)}return Gb}var Kb,Jj;function uve(){if(Jj)return Kb;Jj=1,Kb=e,e.displayName="python",e.aliases=["py"];function e(t){t.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},t.languages.python["string-interpolation"].inside.interpolation.inside.rest=t.languages.python,t.languages.py=t.languages.python}return Kb}var Yb,Qj;function pve(){if(Qj)return Yb;Qj=1,Yb=e,e.displayName="r",e.aliases=[];function e(t){t.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}return Yb}var Xb,eN;function mve(){if(eN)return Xb;eN=1,Xb=e,e.displayName="regex",e.aliases=[];function e(t){(function(r){var n={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},a=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,s={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},i={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},l="(?:[^\\\\-]|"+a.source+")",c=RegExp(l+"-"+l),d={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};r.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:c,inside:{escape:a,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":n,"char-set":i,escape:a}},"special-escape":n,"char-set":s,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":d}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:a,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":d}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}})(t)}return Xb}var Zb,tN;function hve(){if(tN)return Zb;tN=1,Zb=e,e.displayName="rust",e.aliases=[];function e(t){(function(r){for(var n=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,a=0;a<2;a++)n=n.replace(/<self>/g,function(){return n});n=n.replace(/<self>/g,function(){return/[^\s\S]/.source}),r.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+n),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},r.languages.rust["closure-params"].inside.rest=r.languages.rust,r.languages.rust.attribute.inside.string=r.languages.rust.string})(t)}return Zb}var Jb,rN;function fve(){if(rN)return Jb;rN=1;var e=JI();Jb=t,t.displayName="scala",t.aliases=[];function t(r){r.register(e),r.languages.scala=r.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),r.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:r.languages.scala}}},string:/[\s\S]+/}}}),delete r.languages.scala["class-name"],delete r.languages.scala.function}return Jb}var Qb,nN;function gve(){if(nN)return Qb;nN=1,Qb=e,e.displayName="scss",e.aliases=[];function e(t){t.languages.scss=t.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),t.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),t.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),t.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),t.languages.scss.atrule.inside.rest=t.languages.scss}return Qb}var ex,aN;function bve(){if(aN)return ex;aN=1,ex=e,e.displayName="solidity",e.aliases=["sol"];function e(t){t.languages.solidity=t.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),t.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),t.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),t.languages.sol=t.languages.solidity}return ex}var tx,sN;function xve(){if(sN)return tx;sN=1,tx=e,e.displayName="swift",e.aliases=[];function e(t){t.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},t.languages.swift["string-literal"].forEach(function(r){r.inside.interpolation.inside=t.languages.swift})}return tx}var rx,oN;function vve(){if(oN)return rx;oN=1,rx=e,e.displayName="yaml",e.aliases=["yml"];function e(t){(function(r){var n=/[*&][^\s[\]{},]+/,a=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,s="(?:"+a.source+"(?:[ ]+"+n.source+")?|"+n.source+"(?:[ ]+"+a.source+")?)",i=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),l=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function c(d,p){p=(p||"").replace(/m/g,"")+"m";var u=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return s}).replace(/<<value>>/g,function(){return d});return RegExp(u,p)}r.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return s})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return s}).replace(/<<key>>/g,function(){return"(?:"+i+"|"+l+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:c(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:c(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:c(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:c(l),lookbehind:!0,greedy:!0},number:{pattern:c(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:a,important:n,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},r.languages.yml=r.languages.yaml})(t)}return rx}var nx,iN;function yve(){if(iN)return nx;iN=1,nx=e,e.displayName="toml",e.aliases=[];function e(t){(function(r){var n=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function a(s){return s.replace(/__/g,function(){return n})}r.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(a(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(a(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(t)}return nx}var ax,lN;function wve(){if(lN)return ax;lN=1;var e=tD(),t=QI();ax=r,r.displayName="tsx",r.aliases=[];function r(n){n.register(e),n.register(t),(function(a){var s=a.util.clone(a.languages.typescript);a.languages.tsx=a.languages.extend("jsx",s),delete a.languages.tsx.parameter,delete a.languages.tsx["literal-property"];var i=a.languages.tsx.tag;i.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+i.pattern.source+")",i.pattern.flags),i.lookbehind=!0})(n)}return ax}var sx,cN;function kve(){if(cN)return sx;cN=1,sx=e,e.displayName="vim",e.aliases=[];function e(t){t.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}return sx}var ox,dN;function Sve(){if(dN)return ox;dN=1,ox=e,e.displayName="zig",e.aliases=[];function e(t){(function(r){function n(p){return function(){return p}}var a=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,s="\\b(?!"+a.source+")(?!\\d)\\w+\\b",i=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,l=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*<ALIGN>|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(/<ALIGN>/g,n(i)),c=/(?:\bpromise\b|(?:\berror\.)?<ID>(?:\.<ID>)*(?!\s+<ID>))/.source.replace(/<ID>/g,n(s)),d="(?!\\s)(?:!?\\s*(?:"+l+"\\s*)*"+c+")+";r.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?[=;,)])|<TYPE>(?=\s*(?:<ALIGN>\s*)?\{)/.source.replace(/<TYPE>/g,n(d)).replace(/<ALIGN>/g,n(i))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?;)/.source.replace(/<TYPE>/g,n(d)).replace(/<ALIGN>/g,n(i))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:a,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},r.languages.zig["class-name"].forEach(function(p){p.inside===null&&(p.inside=r.languages.zig)})})(t)}return ox}var Cve=$xe();const jve=pt(Cve);var Nve=Fxe();const Tve=pt(Nve);var Eve=e2();const Ave=pt(Eve);var _ve=XI();const Pve=pt(_ve);var Mve=zxe();const Ive=pt(Mve);var Dve=Lxe();const Rve=pt(Dve);var zve=YI();const Lve=pt(zve);var $ve=Bxe();const Fve=pt($ve);var Ove=Uxe();const Bve=pt(Ove);var Uve=qxe();const Hve=pt(Uve);var qve=Wxe();const Wve=pt(qve);var Vve=Gxe();const Gve=pt(Vve);var Kve=Kxe();const Yve=pt(Kve);var Xve=Yxe();const Zve=pt(Xve);var Jve=Xxe();const Qve=pt(Jve);var e1e=Zxe();const t1e=pt(e1e);var r1e=Jxe();const n1e=pt(r1e);var a1e=JI();const s1e=pt(a1e);var o1e=ZI();const i1e=pt(o1e);var l1e=eD();const c1e=pt(l1e);var d1e=Qxe();const u1e=pt(d1e);var p1e=tD();const m1e=pt(p1e);var h1e=eve();const f1e=pt(h1e);var g1e=rve();const b1e=pt(g1e);var x1e=Vxe();const v1e=pt(x1e);var y1e=nve();const w1e=pt(y1e);var k1e=ave();const S1e=pt(k1e);var C1e=KI();const j1e=pt(C1e);var N1e=sve();const T1e=pt(N1e);var E1e=ove();const A1e=pt(E1e);var _1e=ive();const P1e=pt(_1e);var M1e=tve();const I1e=pt(M1e);var D1e=lve();const R1e=pt(D1e);var z1e=cve();const L1e=pt(z1e);var $1e=dve();const F1e=pt($1e);var O1e=uve();const B1e=pt(O1e);var U1e=pve();const H1e=pt(U1e);var q1e=mve();const W1e=pt(q1e);var V1e=Oxe();const G1e=pt(V1e);var K1e=hve();const Y1e=pt(K1e);var X1e=fve();const Z1e=pt(X1e);var J1e=gve();const Q1e=pt(J1e);var eye=bve();const tye=pt(eye);var rye=Rxe();const nye=pt(rye);var aye=xve();const sye=pt(aye);var oye=yve();const iye=pt(oye);var lye=wve();const cye=pt(lye);var dye=QI();const uye=pt(dye);var pye=kve();const mye=pt(pye);var hye=vve();const fye=pt(hye);var gye=Sve();const bye=pt(gye),xye={bash:jve,batch:Tve,c:Ave,clike:Pve,cpp:Ive,csharp:Rve,css:Lve,dart:Fve,diff:Bve,docker:Hve,elixir:Wve,go:Gve,graphql:Yve,groovy:Zve,haskell:Qve,hcl:t1e,ini:n1e,java:s1e,javascript:i1e,json:c1e,json5:u1e,jsx:m1e,kotlin:f1e,less:b1e,lua:v1e,makefile:w1e,markdown:S1e,markup:j1e,nginx:T1e,objectivec:A1e,perl:P1e,php:I1e,powershell:R1e,properties:L1e,protobuf:F1e,python:B1e,r:H1e,regex:W1e,ruby:G1e,rust:Y1e,scala:Z1e,scss:Q1e,solidity:tye,sql:nye,swift:sye,toml:iye,tsx:cye,typescript:uye,vim:mye,yaml:fye,zig:bye};for(const[e,t]of Object.entries(xye))If.registerLanguage(e,t);const rD=If;let uN=null;const vye=()=>(uN??=Xk(()=>import("./mermaid.core-CV1UELnp.js").then(e=>e.ca),__vite__mapDeps([0,1])).then(e=>e.default),uN);function nD({code:e}){const{isDarkMode:t}=$o(),r=f.useId(),[n,a]=f.useState(null);return f.useEffect(()=>{let s=!1;const i=`mermaid-${r.replace(/[^a-zA-Z0-9]/g,"")}`;return vye().then(l=>(l.initialize({startOnLoad:!1,securityLevel:"strict",theme:t?"dark":"default",suppressErrorRendering:!0}),l.render(i,e.trim()))).then(l=>{s||a(l.svg)}).catch(()=>{s||a(null),document.getElementById(`d${i}`)?.remove()}),()=>{s=!0}},[e,t,r]),n?o.jsx("div",{className:"my-3 flex justify-center overflow-x-auto rounded-xl border border-border bg-white p-4 dark:bg-zinc-900 [&_svg]:h-auto [&_svg]:max-w-full",dangerouslySetInnerHTML:{__html:n}}):o.jsx("pre",{className:"my-3 overflow-x-auto rounded-xl border border-border bg-muted/50 p-4 font-mono text-[0.8125rem] leading-relaxed text-muted-foreground dark:bg-zinc-900",children:e.trim()})}function yye({inline:e,className:t,children:r,node:n,...a}){const{isDarkMode:s}=$o(),[i,l]=f.useState(!1),c=Array.isArray(r)?r.join(""):String(r??""),d=/[\r\n]/.test(c);if(e||!d)return o.jsx("code",{className:`whitespace-pre-wrap break-words rounded-md border border-gray-200 bg-gray-100 px-1.5 py-0.5 font-mono text-[0.9em] text-gray-900 dark:border-gray-700 dark:bg-gray-800/60 dark:text-gray-100 ${t||""}`,...a,children:r});const u=/language-(\w+)/.exec(t||""),h=u?u[1]:"text";return h==="mermaid"?o.jsx(nD,{code:c}):o.jsxs("div",{className:"group relative my-2",children:[h!=="text"&&o.jsx("div",{className:"absolute left-3 top-2 z-10 text-xs font-medium uppercase text-gray-400",children:h}),o.jsx("button",{type:"button",onClick:()=>Zn(c).then(m=>{m&&(l(!0),setTimeout(()=>l(!1),2e3))}),className:"absolute right-2 top-2 z-10 rounded-md border border-border bg-card/90 px-2 py-1 text-xs text-foreground/80 opacity-0 transition-opacity hover:bg-muted group-hover:opacity-100",children:i?"Copied!":"Copy"}),o.jsx(rD,{language:h,style:s?RI:zI,customStyle:{margin:0,borderRadius:"0.75rem",fontSize:"0.875rem",padding:h!=="text"?"2rem 1rem 1rem 1rem":"1rem",...s?{}:{background:"hsl(var(--muted))"}},codeTagProps:{style:s?{}:{background:"transparent"}},children:c})]})}const wye={code:yye,pre:({children:e})=>o.jsx(o.Fragment,{children:e}),blockquote:({children:e})=>o.jsx("blockquote",{className:"my-2 border-l-4 border-gray-300 pl-4 italic text-gray-600 dark:border-gray-600 dark:text-gray-400",children:e}),a:({href:e,children:t})=>o.jsx("a",{href:e,className:"text-blue-600 hover:underline dark:text-blue-400",target:"_blank",rel:"noopener noreferrer",children:t}),table:({children:e})=>o.jsx("div",{className:"my-2 overflow-x-auto",children:o.jsx("table",{className:"min-w-full border-collapse border border-gray-200 dark:border-gray-700",children:e})}),thead:({children:e})=>o.jsx("thead",{className:"bg-gray-50 dark:bg-gray-800",children:e}),th:({children:e})=>o.jsx("th",{className:"border border-gray-200 px-3 py-2 text-left text-sm font-semibold dark:border-gray-700",children:e}),td:({children:e})=>o.jsx("td",{className:"border border-gray-200 px-3 py-2 align-top text-sm dark:border-gray-700",children:e})};function aD({content:e}){const t=f.useMemo(()=>[Yk,[DI,{singleDollarTextMath:!1}]],[]),r=f.useMemo(()=>[lI],[]);return o.jsx(Ek,{remarkPlugins:t,rehypePlugins:r,components:wye,children:e})}function kye({content:e,onChange:t,markdownPreview:r,isMarkdownFile:n,isDarkMode:a,fontSize:s,showLineNumbers:i,extensions:l}){return r&&n?o.jsx("div",{className:"h-full overflow-y-auto bg-white dark:bg-gray-900",children:o.jsx("div",{className:"prose prose-sm mx-auto max-w-4xl px-8 py-6 dark:prose-invert prose-headings:font-semibold prose-a:text-blue-600 prose-code:text-sm prose-pre:bg-gray-900 prose-img:rounded-lg dark:prose-a:text-blue-400",children:o.jsx(aD,{content:e})})}):o.jsx(_T,{value:e,onChange:t,extensions:l,theme:a?PT:void 0,height:"100%",style:{fontSize:`${s}px`,height:"100%"},basicSetup:{lineNumbers:i,foldGutter:!0,dropCursor:!1,allowMultipleSelections:!1,indentOnInput:!0,bracketMatching:!0,closeBrackets:!0,autocompletion:!0,highlightSelectionMatches:!0,searchKeymap:!0}})}function Sye({file:e,isSidebar:t,isFullscreen:r,onClose:n,onToggleFullscreen:a,title:s,message:i}){const l=o.jsx("div",{className:"flex h-full w-full flex-col items-center justify-center bg-background p-8 text-muted-foreground",children:o.jsxs("div",{className:"flex max-w-md flex-col items-center gap-4 text-center",children:[o.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-muted",children:o.jsx("svg",{className:"h-8 w-8 text-muted-foreground",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})})}),o.jsxs("div",{children:[o.jsx("h3",{className:"mb-2 text-lg font-medium text-foreground",children:s}),o.jsx("p",{className:"text-sm text-muted-foreground",children:i})]}),o.jsx("button",{onClick:n,className:"mt-4 rounded-md bg-primary px-4 py-2 text-sm text-primary-foreground transition-colors hover:bg-primary/90",children:"Close"})]})});if(t)return o.jsxs("div",{className:"flex h-full w-full flex-col bg-background",children:[o.jsxs("div",{className:"flex flex-shrink-0 items-center justify-between border-b border-border px-3 py-1.5",children:[o.jsx("div",{className:"flex min-w-0 flex-1 items-center gap-2",children:o.jsx("h3",{className:"truncate text-sm font-medium text-gray-900 dark:text-white",children:e.name})}),o.jsx("button",{type:"button",onClick:n,className:"flex items-center justify-center rounded-md p-1.5 text-gray-600 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-400 dark:hover:bg-gray-800 dark:hover:text-white",title:"Close",children:o.jsx("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),l]});const c=r?"fixed inset-0 z-[9999] bg-background flex flex-col":"fixed inset-0 z-[9999] md:bg-black/50 md:flex md:items-center md:justify-center md:p-4",d=r?"bg-background flex flex-col w-full h-full":"bg-background shadow-2xl flex flex-col w-full h-full md:rounded-lg md:shadow-2xl md:w-full md:max-w-2xl md:h-auto md:max-h-[60vh]";return o.jsx("div",{className:c,children:o.jsxs("div",{className:d,children:[o.jsxs("div",{className:"flex flex-shrink-0 items-center justify-between border-b border-border px-3 py-1.5",children:[o.jsx("div",{className:"flex min-w-0 flex-1 items-center gap-2",children:o.jsx("h3",{className:"truncate text-sm font-medium text-gray-900 dark:text-white",children:e.name})}),o.jsxs("div",{className:"flex shrink-0 items-center gap-0.5",children:[o.jsx("button",{type:"button",onClick:a,className:"flex items-center justify-center rounded-md p-1.5 text-gray-600 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-400 dark:hover:bg-gray-800 dark:hover:text-white",title:r?"Exit fullscreen":"Fullscreen",children:r?o.jsx("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 9V4.5M9 9H4.5M9 9L3.5 3.5M9 15v4.5M9 15H4.5M9 15l-5.5 5.5M15 9h4.5M15 9V4.5M15 9l5.5-5.5M15 15h4.5M15 15v4.5m0-4.5l5.5 5.5"})}):o.jsx("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 8V4m0 0h4M4 4l5 5m11-1V4m0 0h-4m4 0l-5 5M4 16v4m0 0h4m-4 0l5-5m11 5l-5-5m5 5v-4m0 4h-4"})})}),o.jsx("button",{type:"button",onClick:n,className:"flex items-center justify-center rounded-md p-1.5 text-gray-600 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-400 dark:hover:bg-gray-800 dark:hover:text-white",title:"Close",children:o.jsx("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]})]}),l]})})}const Cye=1024,jye=async e=>{const t=await e.slice(0,Cye).arrayBuffer();return new TextDecoder("latin1").decode(t).includes("%PDF-")};function Nye({file:e,kind:t,projectId:r,isSidebar:n,isFullscreen:a,onClose:s,onToggleFullscreen:i,labels:l}){const[c,d]=f.useState(null),[p,u]=f.useState(null),[h,m]=f.useState(!0),[g,b]=f.useState(null),x=`${r??""}:${e.path}:${t}`;f.useEffect(()=>{if(!r){d(null),b(null),u(l.error),m(!1);return}let N=null;const D=new AbortController;return(async()=>{try{m(!0),u(null),d(null);const U=await xe.readFileBlob(r,e.path,{signal:D.signal});if(!U.ok)throw new Error(`Request failed with status ${U.status}`);const _=await U.blob(),q=US(e.name),z=!_.type||_.type==="application/octet-stream",F=t==="video"&&!!q&&!_.type.startsWith("video/");let H=z||F?q??_.type:_.type;if(t==="pdf"){if(!await jye(_))throw new Error("File is not a valid PDF");H="application/pdf"}const L=H&&H!==_.type?new Blob([_],{type:H}):_;if(N=URL.createObjectURL(L),D.signal.aborted){URL.revokeObjectURL(N),N=null;return}d(N),b(x)}catch(U){if(U instanceof Error&&U.name==="AbortError")return;console.error("Error loading preview:",U),u(l.error)}finally{m(!1)}})(),()=>{D.abort(),N&&URL.revokeObjectURL(N)}},[e.path,e.name,r,t,x,l.error]);const v=c&&g===x?c:null,y=US(e.name)==="image/svg+xml",w=!!v&&!y,S=()=>{if(!v)return null;switch(t){case"image":return o.jsx("img",{src:v,alt:e.name,className:"max-h-full max-w-full object-contain"});case"pdf":return o.jsx("iframe",{src:v,title:e.name,className:"h-full w-full border-0 bg-white"});case"video":return o.jsx("video",{src:v,controls:!0,className:"max-h-full max-w-full",autoPlay:!1,children:l.error});case"audio":return o.jsxs("div",{className:"flex w-full max-w-xl flex-col items-center gap-4 px-6",children:[o.jsx("p",{className:"max-w-full truncate text-sm text-muted-foreground",children:e.name}),o.jsx("audio",{src:v,controls:!0,className:"w-full",children:l.error})]});default:return null}},j=o.jsxs("div",{className:"relative flex h-full w-full flex-col items-center justify-center bg-muted/30 p-2",children:[h&&o.jsx("div",{className:"text-sm text-muted-foreground",children:l.loading}),!h&&v&&S(),!h&&!v&&o.jsxs("div",{className:"flex flex-col items-center gap-3 p-8 text-center text-muted-foreground",children:[o.jsx("p",{className:"text-sm",children:p||l.error}),o.jsx("p",{className:"break-all text-xs",children:e.path})]})]}),k=o.jsxs("div",{className:"flex shrink-0 items-center gap-0.5",children:[w&&v&&o.jsx("a",{href:v,target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center rounded-md p-1.5 text-gray-600 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-400 dark:hover:bg-gray-800 dark:hover:text-white","aria-label":l.openInNewTab,title:l.openInNewTab,children:o.jsx("svg",{"aria-hidden":"true",className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"})})}),!n&&o.jsx("button",{type:"button",onClick:i,className:"flex items-center justify-center rounded-md p-1.5 text-gray-600 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-400 dark:hover:bg-gray-800 dark:hover:text-white","aria-label":a?l.exitFullscreen:l.fullscreen,title:a?l.exitFullscreen:l.fullscreen,children:a?o.jsx("svg",{"aria-hidden":"true",className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 9V4.5M9 9H4.5M9 9L3.5 3.5M9 15v4.5M9 15H4.5M9 15l-5.5 5.5M15 9h4.5M15 9V4.5M15 9l5.5-5.5M15 15h4.5M15 15v4.5m0-4.5l5.5 5.5"})}):o.jsx("svg",{"aria-hidden":"true",className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 8V4m0 0h4M4 4l5 5m11-1V4m0 0h-4m4 0l-5 5M4 16v4m0 0h4m-4 0l5-5m11 5l-5-5m5 5v-4m0 4h-4"})})}),o.jsx("button",{type:"button",onClick:s,className:"flex items-center justify-center rounded-md p-1.5 text-gray-600 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-400 dark:hover:bg-gray-800 dark:hover:text-white","aria-label":l.close,title:l.close,children:o.jsx("svg",{"aria-hidden":"true",className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),C=o.jsxs("div",{className:"flex flex-shrink-0 items-center justify-between border-b border-border px-3 py-1.5",children:[o.jsx("div",{className:"flex min-w-0 flex-1 items-center gap-2",children:o.jsx("h3",{className:"truncate text-sm font-medium text-gray-900 dark:text-white",children:e.name})}),k]});if(n)return o.jsxs("div",{className:"flex h-full w-full flex-col bg-background",children:[C,j]});const E=a?"fixed inset-0 z-[9999] bg-background flex flex-col":"fixed inset-0 z-[9999] md:bg-black/50 md:flex md:items-center md:justify-center md:p-4",T=a?"bg-background flex flex-col w-full h-full":"bg-background shadow-2xl flex flex-col w-full h-full md:rounded-lg md:shadow-2xl md:w-full md:max-w-6xl md:h-[80vh] md:max-h-[80vh]";return o.jsx("div",{className:E,children:o.jsxs("div",{className:T,children:[C,j]})})}const Tye=f.lazy(()=>Xk(()=>import("./HyperlinkDialog-ZYH7ZHRF-BvhTCTt_.js").then(e=>e.D),__vite__mapDeps([2,3,1,4])));function Eye(e){return o.jsx(f.Suspense,{fallback:o.jsx("div",{className:"flex h-full items-center justify-center",children:o.jsx(It,{className:"h-5 w-5 animate-spin text-muted-foreground"})}),children:o.jsx(Tye,{...e})})}const Aye=e=>e.toLowerCase().endsWith(".docx");function pN({file:e,onClose:t,projectPath:r,isSidebar:n=!1,isExpanded:a=!1,onToggleExpand:s=null,onPopOut:i=null}){const{t:l}=Ae("codeEditor"),c=Pu(),[d,p]=f.useState(!1),[u,h]=f.useState(!!e.diffInfo),[m,g]=f.useState(!1),{isDarkMode:b}=$o(),{wordWrap:x,minimapEnabled:v,showLineNumbers:y,fontSize:w}=xie(),{content:S,setContent:j,loading:k,saving:C,saveSuccess:E,saveError:T,isBinary:N,previewKind:D,fileProjectId:A,handleSave:U,handleDownload:_}=gie({file:e,projectPath:r}),q=f.useMemo(()=>{const X=e.name.split(".").pop()?.toLowerCase();return X==="md"||X==="markdown"},[e.name]),z=f.useMemo(()=>{const X=e.name.split(".").pop()?.toLowerCase();return X==="html"||X==="htm"},[e.name]),F=f.useCallback(()=>{const X=window.open("","_blank");if(!X)return;X.opener=null,X.document.title=e.name,X.document.body.style.margin="0";const W=X.document.createElement("iframe");W.title=e.name,W.sandbox.add("allow-forms","allow-modals","allow-popups","allow-scripts"),W.style.cssText="position:fixed;inset:0;width:100%;height:100%;border:0;background:white",W.srcdoc=S,X.document.body.appendChild(W)},[S,e.name]),H=f.useMemo(()=>Die({file:e,showDiff:u,minimapEnabled:v,isDarkMode:b}),[e,b,v,u]),L=f.useMemo(()=>Rie({file:e,showDiff:u}),[e,u]),M=f.useMemo(()=>Oie({file:e,showDiff:u,isSidebar:n,isExpanded:a,onToggleDiff:()=>h(X=>!X),onPopOut:i,onToggleExpand:s,labels:{changes:l("toolbar.changes"),previousChange:l("toolbar.previousChange"),nextChange:l("toolbar.nextChange"),hideDiff:l("toolbar.hideDiff"),showDiff:l("toolbar.showDiff"),collapse:l("toolbar.collapse"),expand:l("toolbar.expand")}}),[e,a,n,i,s,u,l]),V=f.useMemo(()=>{const X=[...Iie(e.name),...M];return e.diffInfo&&u&&e.diffInfo.old_string!==void 0&&(X.push(Mae({original:e.diffInfo.old_string,mergeControls:!1,highlightChanges:!0,syntaxHighlightDeletions:!1,gutter:!0})),X.push(...H),X.push(...L)),x&&X.push(ka.lineWrapping),X},[e.diffInfo,e.name,H,L,u,M,x]);if(vie({onSave:U,onClose:t,dependency:S}),k)return o.jsx(Hie,{isDarkMode:b,isSidebar:n,loadingText:l("loading",{fileName:e.name})});if(D)return o.jsx(Nye,{file:e,kind:D,projectId:A,isSidebar:n,isFullscreen:d,onClose:t,onToggleFullscreen:()=>p(X=>!X),labels:{loading:l("filePreview.loading","Loading preview..."),error:l("filePreview.error","Unable to display this file."),openInNewTab:l("filePreview.openInNewTab","Open in new tab"),fullscreen:l("actions.fullscreen","Fullscreen"),exitFullscreen:l("actions.exitFullscreen","Exit fullscreen"),close:l("actions.close","Close")}});if(Aye(e.name))return o.jsx(Eye,{file:e,projectId:A,isSidebar:n,onClose:t});if(N)return o.jsx(Sye,{file:e,isSidebar:n,isFullscreen:d,onClose:t,onToggleFullscreen:()=>p(X=>!X),title:l("binaryFile.title","Binary File"),message:l("binaryFile.message",'The file "{{fileName}}" cannot be displayed in the text editor because it is a binary file.',{fileName:e.name})});const $=n?"w-full h-full flex flex-col":`fixed inset-0 z-[9999] md:bg-black/50 md:flex md:items-center md:justify-center md:p-4 ${d?"md:p-0":""}`,R=n?"bg-background flex flex-col w-full h-full":`bg-background shadow-2xl flex flex-col w-full h-full md:rounded-lg md:shadow-2xl${d?" md:w-full md:h-full md:rounded-none":" md:w-full md:max-w-6xl md:h-[80vh] md:max-h-[80vh]"}`;return o.jsxs(o.Fragment,{children:[o.jsx("style",{children:Lie(b)}),o.jsx("div",{className:$,children:o.jsxs("div",{className:R,children:[o.jsx(Uie,{file:e,isSidebar:n,isFullscreen:d,isMarkdownFile:q,isHtmlPreviewFile:z,markdownPreview:m,saving:C,saveSuccess:E,onToggleMarkdownPreview:()=>g(X=>!X),onOpenHtmlPreview:F,onOpenSettings:()=>c.openSettings("appearance"),onDownload:_,onSave:U,onToggleFullscreen:()=>p(X=>!X),onClose:t,labels:{showingChanges:l("header.showingChanges"),copyPath:l("actions.copyPath","Copy file path"),pathCopied:l("actions.pathCopied","File path copied"),editMarkdown:l("actions.editMarkdown"),previewMarkdown:l("actions.previewMarkdown"),previewHtml:l("actions.previewHtml","Open HTML preview in new tab"),settings:l("toolbar.settings"),download:l("actions.download"),save:l("actions.save"),saving:l("actions.saving"),saved:l("actions.saved"),fullscreen:l("actions.fullscreen"),exitFullscreen:l("actions.exitFullscreen"),close:l("actions.close")}}),T&&o.jsx("div",{className:"border-b border-red-200 bg-red-50 px-3 py-1.5 text-xs text-red-700 dark:border-red-900/40 dark:bg-red-900/20 dark:text-red-300",children:T}),o.jsx("div",{className:"flex-1 overflow-hidden",children:o.jsx(kye,{content:S,onChange:j,markdownPreview:m,isMarkdownFile:q,isDarkMode:b,fontSize:w,showLineNumbers:y,extensions:V})}),o.jsx(Bie,{content:S,linesLabel:l("footer.lines"),charactersLabel:l("footer.characters"),shortcutsLabel:l("footer.shortcuts")})]})})]})}const _ye=200,mN=280;function sD({editingFile:e,isMobile:t,editorExpanded:r,editorWidth:n,hasManualWidth:a,resizeHandleRef:s,onResizeStart:i,onCloseEditor:l,onToggleEditorExpand:c,projectPath:d,fillSpace:p}){const[u,h]=f.useState(!1),m=f.useRef(null),[g,b]=f.useState(null);f.useEffect(()=>{if(!e||t||u)return;const y=()=>{if(!m.current)return;const j=m.current.parentElement;if(!j)return;const k=j.clientWidth-_ye;if(k<mN){h(!0);return}b(k)};y(),window.addEventListener("resize",y);const w=new ResizeObserver(y),S=m.current?.parentElement;return S&&w.observe(S),()=>{window.removeEventListener("resize",y),w.disconnect()}},[e,t,u]);const x=g===null?n:Math.min(n,g);if(!e)return null;if(t||u)return o.jsx(pN,{file:e,onClose:()=>{h(!1),l()},projectPath:d,isSidebar:!1});const v=r||p&&!a;return o.jsxs("div",{ref:m,className:`flex h-full min-w-0 ${r?"flex-1":""}`,children:[!r&&o.jsx("div",{ref:s,onMouseDown:i,className:"group relative w-1 flex-shrink-0 cursor-col-resize bg-gray-200 transition-colors hover:bg-blue-500 dark:bg-gray-700 dark:hover:bg-blue-600",title:"Drag to resize",children:o.jsx("div",{className:"absolute inset-y-0 left-1/2 w-1 -translate-x-1/2 bg-blue-500 opacity-0 transition-opacity group-hover:opacity-100 dark:bg-blue-600"})}),o.jsx("div",{className:`h-full overflow-hidden border-l border-gray-200 dark:border-gray-700 ${v?"min-w-0 flex-1":""}`,style:v?void 0:{width:`${x}px`,minWidth:`${mN}px`},children:o.jsx(pN,{file:e,onClose:l,projectPath:d,isSidebar:!0,isExpanded:r,onToggleExpand:c,onPopOut:()=>h(!0)})})]})}const oD=({selectedProject:e,isMobile:t,initialWidth:r=600})=>{const[n,a]=f.useState(null),[s,i]=f.useState(r),[l,c]=f.useState(!1),[d,p]=f.useState(!1),[u,h]=f.useState(!1),m=f.useRef(null),g=f.useCallback((y,w=null)=>{const j=y.replace(/\\/g,"/").split("/").pop()||y;a({name:j,path:y,projectId:e?.projectId,diffInfo:w})},[e?.projectId]),b=f.useCallback(()=>{a(null),c(!1)},[]),x=f.useCallback(()=>{c(y=>!y)},[]),v=f.useCallback(y=>{t||(h(!0),p(!0),y.preventDefault())},[t]);return f.useEffect(()=>{if(!d)return;let y=null,w=null;const S=()=>{w=null,y!==null&&(i(y),y=null)},j=C=>{const T=m.current?.parentElement?.parentElement;if(!T)return;const N=T.getBoundingClientRect(),D=N.right-C.clientX,A=300,U=N.width*.8;D>=A&&D<=U&&(y=D,w===null&&(w=requestAnimationFrame(S)))},k=()=>{p(!1)};return document.addEventListener("mousemove",j),document.addEventListener("mouseup",k),document.body.style.cursor="col-resize",document.body.style.userSelect="none",()=>{w!==null&&cancelAnimationFrame(w),S(),document.removeEventListener("mousemove",j),document.removeEventListener("mouseup",k),document.body.style.cursor="",document.body.style.userSelect=""}},[d]),{editingFile:n,editorWidth:s,editorExpanded:l,hasManualWidth:u,resizeHandleRef:m,handleFileOpen:g,handleCloseEditor:b,handleToggleEditorExpand:x,handleResizeStart:v}};function Pye({content:e,onContentChange:t,previewMode:r,isDarkMode:n,wordWrap:a}){const s=f.useMemo(()=>[AT(),...a?[ka.lineWrapping]:[]],[a]);return r?o.jsx("div",{className:"prose prose-gray h-full max-w-none overflow-y-auto p-6 dark:prose-invert",children:o.jsx(aD,{content:e})}):o.jsx(_T,{value:e,onChange:t,extensions:s,theme:n?PT:void 0,height:"100%",style:{fontSize:"14px",height:"100%"},basicSetup:{lineNumbers:!0,foldGutter:!0,dropCursor:!1,allowMultipleSelections:!1,indentOnInput:!0,bracketMatching:!0,closeBrackets:!0,autocompletion:!0,highlightSelectionMatches:!0,searchKeymap:!0}})}function Mye(e){return{lines:e.split(`
3818
3818
  `).length,characters:e.length,words:e.split(/\s+/).filter(Boolean).length}}function Iye({content:e}){const t=f.useMemo(()=>Mye(e),[e]);return o.jsxs("div",{className:"flex flex-shrink-0 items-center justify-between border-t border-gray-200 bg-gray-50 p-3 dark:border-gray-700 dark:bg-gray-800",children:[o.jsxs("div",{className:"flex items-center gap-4 text-sm text-gray-600 dark:text-gray-400",children:[o.jsxs("span",{children:["Lines: ",t.lines]}),o.jsxs("span",{children:["Characters: ",t.characters]}),o.jsxs("span",{children:["Words: ",t.words]}),o.jsx("span",{children:"Format: Markdown"})]}),o.jsx("div",{className:"text-sm text-gray-500 dark:text-gray-400",children:"Press Ctrl+S to save and Esc to close"})]})}function Vc({title:e,onClick:t,icon:r,active:n=!1}){return o.jsx("button",{onClick:t,title:e,className:we("p-2 rounded-md min-w-[44px] min-h-[44px] md:min-w-0 md:min-h-0 flex items-center justify-center transition-colors",n?"text-purple-600 dark:text-purple-400 bg-purple-50 dark:bg-purple-900/50":"text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white hover:bg-gray-100 dark:hover:bg-gray-800"),children:r})}function Dye({fileName:e,onFileNameChange:t,isNewFile:r,previewMode:n,onTogglePreview:a,wordWrap:s,onToggleWordWrap:i,isDarkMode:l,onToggleTheme:c,onDownload:d,onOpenGenerateTasks:p,canGenerateTasks:u,onSave:h,saving:m,saveSuccess:g,isFullscreen:b,onToggleFullscreen:x,onClose:v}){const y=f.useRef(null);return o.jsxs("div",{className:"flex min-w-0 flex-shrink-0 items-center justify-between border-b border-gray-200 p-4 dark:border-gray-700",children:[o.jsxs("div",{className:"flex min-w-0 flex-1 items-center gap-3",children:[o.jsx("div",{className:"flex h-8 w-8 flex-shrink-0 items-center justify-center rounded bg-purple-600",children:o.jsx(hr,{className:"h-4 w-4 text-white"})}),o.jsxs("div",{className:"min-w-0 flex-1",children:[o.jsxs("div",{className:"flex min-w-0 flex-col gap-2 sm:flex-row sm:items-center",children:[o.jsxs("div",{className:"flex min-w-0 flex-1 items-center gap-1",children:[o.jsxs("div",{className:"flex min-w-0 flex-1 items-center rounded-md border border-gray-200 bg-gray-50 px-3 py-2 focus-within:border-purple-500 focus-within:ring-2 focus-within:ring-purple-500 dark:border-gray-600 dark:bg-gray-700 dark:focus-within:border-purple-400 dark:focus-within:ring-purple-400",children:[o.jsx("input",{ref:y,type:"text",value:e,onChange:w=>t(w.target.value),className:"min-w-0 flex-1 border-none bg-transparent text-base font-medium text-gray-900 placeholder-gray-400 outline-none dark:text-white dark:placeholder-gray-500 sm:text-sm",placeholder:"Enter PRD filename",maxLength:100}),o.jsx("span",{className:"ml-1 whitespace-nowrap text-sm text-gray-500 dark:text-gray-400 sm:text-xs",children:".txt"})]}),o.jsx("button",{onClick:()=>y.current?.focus(),className:"p-1 text-gray-400 transition-colors hover:text-purple-600 dark:hover:text-purple-400",title:"Focus filename input",children:o.jsx("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z"})})})]}),o.jsxs("div",{className:"flex flex-shrink-0 items-center gap-2",children:[o.jsx("span",{className:"whitespace-nowrap rounded bg-purple-100 px-2 py-1 text-xs text-purple-600 dark:bg-purple-900 dark:text-purple-300",children:"PRD"}),r&&o.jsx("span",{className:"whitespace-nowrap rounded bg-green-100 px-2 py-1 text-xs text-green-600 dark:bg-green-900 dark:text-green-300",children:"New"})]})]}),o.jsx("p",{className:"mt-1 truncate text-xs text-gray-500 dark:text-gray-400 sm:text-sm",children:"Product Requirements Document"})]})]}),o.jsxs("div",{className:"flex flex-shrink-0 items-center gap-1 md:gap-2",children:[o.jsx(Vc,{title:n?"Switch to edit mode":"Preview markdown",onClick:a,icon:o.jsx(Bs,{className:"h-5 w-5 md:h-4 md:w-4"}),active:n}),o.jsx(Vc,{title:s?"Disable word wrap":"Enable word wrap",onClick:i,icon:o.jsx("span",{className:"font-mono text-sm font-bold md:text-xs",children:"WRAP"}),active:s}),o.jsx(Vc,{title:"Toggle theme",onClick:c,icon:l?o.jsx(Aw,{className:"h-5 w-5 md:h-4 md:w-4"}):o.jsx(Tw,{className:"h-5 w-5 md:h-4 md:w-4"})}),o.jsx(Vc,{title:"Download PRD",onClick:d,icon:o.jsx(Ha,{className:"h-5 w-5 md:h-4 md:w-4"})}),o.jsxs("button",{onClick:p,disabled:!u,className:we("px-3 py-2 rounded-md disabled:opacity-50 flex items-center gap-2 transition-colors text-sm font-medium text-white min-h-[44px] md:min-h-0","bg-purple-600 hover:bg-purple-700"),title:"Generate tasks from PRD content",children:[o.jsx(Eo,{className:"h-4 w-4"}),o.jsx("span",{className:"hidden md:inline",children:"Generate Tasks"})]}),o.jsx("button",{onClick:h,disabled:m,className:we("px-3 py-2 text-white rounded-md disabled:opacity-50 flex items-center gap-2 transition-colors min-h-[44px] md:min-h-0",g?"bg-green-600 hover:bg-green-700":"bg-purple-600 hover:bg-purple-700"),children:g?o.jsxs(o.Fragment,{children:[o.jsx("svg",{className:"h-5 w-5 md:h-4 md:w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})}),o.jsx("span",{className:"hidden sm:inline",children:"Saved!"})]}):o.jsxs(o.Fragment,{children:[o.jsx(rf,{className:"h-5 w-5 md:h-4 md:w-4"}),o.jsx("span",{className:"hidden sm:inline",children:m?"Saving...":"Save PRD"})]})}),o.jsx("button",{onClick:x,className:"hidden items-center justify-center rounded-md p-2 text-gray-600 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-400 dark:hover:bg-gray-800 dark:hover:text-white md:flex",title:b?"Exit fullscreen":"Fullscreen",children:b?o.jsx(s_,{className:"h-4 w-4"}):o.jsx(a_,{className:"h-4 w-4"})}),o.jsx(Vc,{title:"Close",onClick:v,icon:o.jsx(Nt,{className:"h-6 w-6 md:h-4 md:w-4"})})]})]})}function Rye({content:e,onContentChange:t,fileName:r,onFileNameChange:n,isNewFile:a,saving:s,saveSuccess:i,onSave:l,onDownload:c,onClose:d,loadError:p}){const[u,h]=f.useState(!1),[m,g]=f.useState(!0),[b,x]=f.useState(!1),[v,y]=f.useState(!0),[w,S]=f.useState(!1),j=()=>{if(!e.trim()){alert("Please add content to the PRD before generating tasks.");return}S(!0)};return o.jsxs("div",{className:we("fixed inset-0 z-[200] md:bg-black/50 md:flex md:items-center md:justify-center",u?"md:p-0":"md:p-4"),children:[o.jsxs("div",{className:we("bg-white dark:bg-gray-900 shadow-2xl flex flex-col","w-full h-full md:rounded-lg md:shadow-2xl",u?"md:w-full md:h-full md:rounded-none":"md:w-full md:max-w-6xl md:h-[85vh] md:max-h-[85vh]"),children:[p&&o.jsx("div",{className:"border-b border-yellow-200 bg-yellow-50 px-4 py-3 text-sm text-yellow-800 dark:border-yellow-800 dark:bg-yellow-900/20 dark:text-yellow-200",children:p}),o.jsx(Dye,{fileName:r,onFileNameChange:n,isNewFile:a,previewMode:b,onTogglePreview:()=>x(k=>!k),wordWrap:v,onToggleWordWrap:()=>y(k=>!k),isDarkMode:m,onToggleTheme:()=>g(k=>!k),onDownload:c,onOpenGenerateTasks:j,canGenerateTasks:!!e.trim(),onSave:l,saving:s,saveSuccess:i,isFullscreen:u,onToggleFullscreen:()=>h(k=>!k),onClose:d}),o.jsx("div",{className:"flex-1 overflow-hidden",children:o.jsx(Pye,{content:e,onContentChange:t,previewMode:b,isDarkMode:m,wordWrap:v})}),o.jsx(Iye,{content:e})]}),o.jsx(uae,{isOpen:w,fileName:dh(r||"prd"),onClose:()=>S(!1)})]})}function zye({file:e,onClose:t,projectPath:r,project:n,initialContent:a="",isNewFile:s=!1,onSave:i}){const[l,c]=f.useState(!1),[d,p]=f.useState(""),{content:u,setContent:h,fileName:m,setFileName:g,loading:b,loadError:x}=nae({file:e,isNewFile:s,initialContent:a,projectPath:r}),{existingPrds:v,refreshExistingPrds:y}=oae({projectId:n?.projectId}),w=f.useMemo(()=>!s||!!e?.isExisting,[e?.isExisting,s]),{savePrd:S,saving:j,saveSuccess:k}=iae({projectId:n?.projectId,existingPrds:v,isExistingFile:w,onAfterSave:async()=>{await y(),await i?.()}}),C=f.useCallback(()=>{const N=new Blob([u],{type:"text/markdown"}),D=URL.createObjectURL(N),A=document.createElement("a"),U=dh(m||"prd");A.href=D,A.download=U,document.body.appendChild(A),A.click(),document.body.removeChild(A),URL.revokeObjectURL(D)},[u,m]),E=f.useCallback(async(N=!1)=>{const D=await S({content:u,fileName:m,allowOverwrite:N});if(D.status==="needs-overwrite"){p(D.fileName),c(!0);return}D.status==="failed"&&alert(D.message)},[u,m,S]),T=f.useCallback(async()=>{c(!1),await E(!0)},[E]);return aae({onSave:()=>{E()},onClose:t}),b?o.jsx(cae,{}):o.jsxs(o.Fragment,{children:[o.jsx(Rye,{content:u,onContentChange:h,fileName:m,onFileNameChange:g,isNewFile:s,saving:j,saveSuccess:k,onSave:()=>{E()},onDownload:C,onClose:t,loadError:x}),o.jsx(lae,{isOpen:l,fileName:d||dh(m||"prd"),saving:j,onCancel:()=>c(!1),onConfirm:()=>{T()}})]})}const iD=f.createContext(null),t2=()=>{const e=f.useContext(iD);if(!e)throw new Error("useWebSocket must be used within a WebSocketProvider");return e},Lye=e=>{const t=window.location.protocol==="https:"?"wss:":"ws:";return Ir?`${t}//${window.location.host}/ws`:e?EA(e)?(Xh(),null):`${t}//${window.location.host}/ws?token=${encodeURIComponent(e)}`:null},$ye=()=>{const e=f.useRef(null),t=f.useRef(!1),r=f.useRef(!1),n=f.useRef(new Set),[a,s]=f.useState(!1),i=f.useRef(null),{isLoading:l,token:c,user:d}=Eu(),p=f.useCallback(b=>{for(const x of n.current)try{x(b)}catch(v){console.error("WebSocket listener error:",v)}},[]),u=f.useCallback(function b(){if(!t.current&&!(!Ir&&(l||!d)))try{const x=Lye(c);if(!x)return console.warn("No authentication token found for WebSocket connection");const v=new WebSocket(x);e.current=v,v.onopen=()=>{s(!0),r.current&&p({kind:"websocket_reconnected",timestamp:Date.now()}),r.current=!0},v.onmessage=y=>{try{const w=JSON.parse(y.data);p(w)}catch(w){console.error("Error parsing WebSocket message:",w)}},v.onclose=()=>{e.current===v&&(s(!1),e.current=null,i.current=setTimeout(()=>{t.current||b()},3e3))},v.onerror=y=>{console.error("WebSocket error:",y)}}catch(x){console.error("Error creating WebSocket connection:",x)}},[p,l,c,d]);f.useEffect(()=>{if(t.current=!1,!(!Ir&&(l||!d)))return u(),()=>{t.current=!0,i.current&&clearTimeout(i.current);const b=e.current;b&&(b.onopen=null,b.onmessage=null,b.onclose=null,b.onerror=null,b.close(),e.current=null)}},[u,l,d]);const h=f.useCallback(b=>{const x=e.current;x&&x.readyState===WebSocket.OPEN?x.send(JSON.stringify(b)):console.warn("WebSocket not connected")},[]),m=f.useCallback(b=>(n.current.add(b),()=>{n.current.delete(b)}),[]);return f.useMemo(()=>({ws:e.current,sendMessage:h,subscribe:m,isConnected:a}),[h,m,a])},Fye=({children:e})=>{const t=$ye();return o.jsx(iD.Provider,{value:t,children:e})},lD=f.createContext(null);function Oye(e,t){return{message:t instanceof Error?t.message:`Failed to ${e}`,context:e,timestamp:new Date().toISOString()}}function hN(e){return{...e,taskMasterConfigured:e.taskmaster?.hasTaskmaster??!1,taskMasterStatus:e.taskmaster?.status??"not-configured",taskCount:Number(e.taskmaster?.metadata?.taskCount??0),completedCount:Number(e.taskmaster?.metadata?.completed??0)}}function Bye(e){return e.find(t=>t.status==="pending"||t.status==="in-progress")??null}function Uye(e){return e?.type?e.type.startsWith("taskmaster-"):!1}function Ec(){const e=f.useContext(lD);if(!e)throw new Error("useTaskMaster must be used within a TaskMasterProvider");return e}function Hye({children:e}){const{subscribe:t}=t2(),{user:r,token:n,isLoading:a}=Eu(),[s,i]=f.useState(null),[l,c]=f.useState(null),[d,p]=f.useState(null),[u,h]=f.useState([]),[m,g]=f.useState(null),[b,x]=f.useState(!1),[v,y]=f.useState(!1),[w,S]=f.useState(null),j=f.useRef(null),k=f.useRef(null),C=f.useRef(0);f.useEffect(()=>{j.current=s?.projectId??null},[s?.projectId]),f.useEffect(()=>{k.current=l},[l]);const E=f.useCallback(()=>{S(null)},[]),T=f.useCallback((F,H)=>{console.error(`TaskMaster ${F} error:`,H),S(Oye(F,H))},[]),N=f.useCallback((F,H)=>{c(H),i(L=>!L||L.projectId!==F?L:hN({...L,taskmaster:H??void 0}))},[]),D=f.useCallback(async F=>{if(!F||!r||!n)return;const H=++C.current;try{const L=await xe.projectTaskmaster(F);if(!L.ok)throw new Error(`Failed to fetch TaskMaster details: ${L.status}`);const V=(await L.json()).taskmaster??null;if(H!==C.current||j.current!==F)return;N(F,V)}catch(L){if(H!==C.current||j.current!==F)return;T("load selected project TaskMaster info",L)}},[N,T,n,r]),A=f.useCallback(F=>{const H=F?hN(F):null;if(i(H),c(H?.taskmaster??null),h([]),g(null),!H?.projectId){C.current+=1;return}D(H.projectId)},[D]),U=f.useCallback(async()=>{const F=j.current;F&&await D(F)},[D]),_=f.useCallback(async()=>{const F=s?.projectId;if(!F||!r||!n){h([]),g(null);return}try{x(!0),E();const H=await xe.taskmaster.tasks(F);if(!H.ok){const V=await H.json();throw new Error(V.message??"Failed to load tasks")}const L=await H.json(),M=Array.isArray(L.tasks)?L.tasks:[];h(M),g(Bye(M))}catch(H){T("load tasks",H),h([]),g(null)}finally{x(!1)}},[E,s?.projectId,T,n,r]),q=f.useCallback(async()=>{if(!r||!n){p(null);return}try{y(!0),E();const F=await xe.taskmaster.mcpStatus();if(!F.ok)throw new Error(`Failed to load MCP status: ${F.status}`);const H=await F.json();p(H)}catch(F){T("check MCP server status",F),p(null)}finally{y(!1)}},[E,T,n,r]);f.useEffect(()=>{!a&&r&&n&&(U(),q())},[a,q,U,n,r]),f.useEffect(()=>{s?.projectId&&r&&n&&_()},[s?.projectId,_,n,r]),f.useEffect(()=>t(H=>{const L=H;if(Uye(L)){if(L.type==="taskmaster-project-updated"&&L.projectId){L.projectId===j.current&&D(L.projectId);return}if(L.type==="taskmaster-tasks-updated"&&L.projectId===j.current){_();return}}}),[D,_,t]);const z=f.useMemo(()=>({currentProject:s,projectTaskMaster:l,mcpServerStatus:d,tasks:u,nextTask:m,isLoadingTasks:b,isLoadingMCP:v,error:w,setCurrentProject:A,refreshTasks:_,refreshMCPStatus:q,clearError:E}),[E,s,w,v,b,d,m,l,q,_,A,u]);return o.jsx(lD.Provider,{value:z,children:e})}function qye(e){return Array.isArray(e.prdFiles)?e.prdFiles:Array.isArray(e.prds)?e.prds:[]}function Wye({projectId:e}){const[t,r]=f.useState([]),[n,a]=f.useState(!1),s=f.useCallback(async()=>{if(!e){r([]);return}try{a(!0);const i=await xe.taskmaster.prdFiles(e);if(!i.ok){r([]);return}const l=await i.json();r(qye(l))}catch(i){console.error("Failed to load PRD files:",i),r([])}finally{a(!1)}},[e]);return f.useEffect(()=>{s()},[s]),{prdFiles:t,isLoadingPrdFiles:n,refreshPrdFiles:s}}const Vye=[{id:"pending",titleKey:"kanban.pending",status:"pending",color:"bg-slate-50 dark:bg-slate-900/50 border-slate-200 dark:border-slate-700",headerColor:"bg-slate-100 dark:bg-slate-800 text-slate-800 dark:text-slate-200"},{id:"in-progress",titleKey:"kanban.inProgress",status:"in-progress",color:"bg-blue-50 dark:bg-blue-900/50 border-blue-200 dark:border-blue-700",headerColor:"bg-blue-100 dark:bg-blue-800 text-blue-800 dark:text-blue-200"},{id:"done",titleKey:"kanban.done",status:"done",color:"bg-emerald-50 dark:bg-emerald-900/50 border-emerald-200 dark:border-emerald-700",headerColor:"bg-emerald-100 dark:bg-emerald-800 text-emerald-800 dark:text-emerald-200"},{id:"blocked",titleKey:"kanban.blocked",status:"blocked",color:"bg-red-50 dark:bg-red-900/50 border-red-200 dark:border-red-700",headerColor:"bg-red-100 dark:bg-red-800 text-red-800 dark:text-red-200"},{id:"deferred",titleKey:"kanban.deferred",status:"deferred",color:"bg-amber-50 dark:bg-amber-900/50 border-amber-200 dark:border-amber-700",headerColor:"bg-amber-100 dark:bg-amber-800 text-amber-800 dark:text-amber-200"},{id:"cancelled",titleKey:"kanban.cancelled",status:"cancelled",color:"bg-gray-50 dark:bg-gray-900/50 border-gray-200 dark:border-gray-700",headerColor:"bg-gray-100 dark:bg-gray-800 text-gray-800 dark:text-gray-200"}],Gye=new Set(["pending","in-progress","done"]);function Kye(e,t){const r=e.reduce((n,a)=>{const s=a.status??"pending";return n[s]||(n[s]=[]),n[s].push(a),n},{});return Vye.filter(n=>(r[n.status]??[]).length>0||Gye.has(n.status)).map(n=>({id:n.id,title:t(n.titleKey),status:n.status,color:n.color,headerColor:n.headerColor,tasks:r[n.status]??[]}))}const Yye={pending:1,"in-progress":2,review:3,done:4,blocked:5,deferred:6,cancelled:7},Xye={low:1,medium:2,high:3};function fN(e){return String(e).split(".").map(t=>Number.parseInt(t,10)).map(t=>Number.isNaN(t)?0:t)}function Zye(e,t){const r=fN(e),n=fN(t),a=Math.max(r.length,n.length);for(let s=0;s<a;s+=1){const i=r[s]??0,l=n[s]??0;if(i!==l)return i-l}return 0}function gN(e,t){if(t==="title")return e.title.toLowerCase();if(t==="status")return Yye[e.status??"pending"]??999;if(t==="priority")return Xye[e.priority??"medium"]??0;if(t==="updated"){const r=e.updatedAt??e.createdAt??"";return new Date(r).getTime()||0}return 0}function Jye(e,t,r){const n=[...e];return n.sort((a,s)=>{const i=r==="asc"?1:-1;if(t==="id")return Zye(a.id,s.id)*i;const l=gN(a,t),c=gN(s,t);return typeof l=="string"&&typeof c=="string"?l.localeCompare(c)*i:(Number(l)-Number(c))*i}),n}function Qye(e,t,r){return e!==r?"asc":t==="asc"?"desc":"asc"}function ewe(e,t){if(!t)return!0;const r=t.toLowerCase(),n=typeof e.description=="string"?e.description:"";return e.title.toLowerCase().includes(r)||n.toLowerCase().includes(r)||String(e.id).toLowerCase().includes(r)}function twe({tasks:e,defaultView:t="kanban"}){const{t:r}=Ae("tasks"),[n,a]=f.useState(""),[s,i]=f.useState("all"),[l,c]=f.useState("all"),[d,p]=f.useState("id"),[u,h]=f.useState("asc"),[m,g]=f.useState(t),[b,x]=f.useState(!1),v=f.useMemo(()=>[...new Set(e.map(C=>C.status).filter(Boolean))],[e]),y=f.useMemo(()=>[...new Set(e.map(C=>C.priority).filter(Boolean))],[e]),w=f.useMemo(()=>{const C=e.filter(E=>{const T=E.status??"pending",N=E.priority??"medium",D=s==="all"||T===s,A=l==="all"||N===l;return ewe(E,n)&&D&&A});return Jye(C,d,u)},[e,n,s,l,d,u]),S=f.useMemo(()=>Kye(w,r),[w,r]);return{searchTerm:n,setSearchTerm:a,statusFilter:s,setStatusFilter:i,priorityFilter:l,setPriorityFilter:c,sortField:d,setSortField:p,sortOrder:u,setSortOrder:h,viewMode:m,setViewMode:g,showFilters:b,setShowFilters:x,statuses:v,priorities:y,filteredTasks:w,kanbanColumns:S,handleSortChange:C=>{h(E=>Qye(d,E,C)),p(C)},clearFilters:()=>{a(""),i("all"),c("all")}}}function rwe(e){return e==="done"?{icon:Jh,statusText:"Done",iconColor:"text-green-600 dark:text-green-400",textColor:"text-green-900 dark:text-green-100"}:e==="in-progress"?{icon:Nu,statusText:"In Progress",iconColor:"text-blue-600 dark:text-blue-400",textColor:"text-blue-900 dark:text-blue-100"}:e==="review"?{icon:Lo,statusText:"Review",iconColor:"text-amber-600 dark:text-amber-400",textColor:"text-amber-900 dark:text-amber-100"}:e==="deferred"?{icon:o_,statusText:"Deferred",iconColor:"text-gray-500 dark:text-gray-400",textColor:"text-gray-700 dark:text-gray-300"}:e==="cancelled"?{icon:Nt,statusText:"Cancelled",iconColor:"text-red-600 dark:text-red-400",textColor:"text-red-900 dark:text-red-100"}:{icon:ru,statusText:"Pending",iconColor:"text-slate-500 dark:text-slate-400",textColor:"text-slate-900 dark:text-slate-100"}}function nwe(e){return e==="high"?o.jsx(dn,{content:"High priority",children:o.jsx("div",{className:"flex h-4 w-4 items-center justify-center rounded bg-red-100 dark:bg-red-900/30",children:o.jsx(yQ,{className:"h-2.5 w-2.5 text-red-600 dark:text-red-400"})})}):e==="medium"?o.jsx(dn,{content:"Medium priority",children:o.jsx("div",{className:"flex h-4 w-4 items-center justify-center rounded bg-amber-100 dark:bg-amber-900/30",children:o.jsx(fte,{className:"h-2.5 w-2.5 text-amber-600 dark:text-amber-400"})})}):e==="low"?o.jsx(dn,{content:"Low priority",children:o.jsx("div",{className:"flex h-4 w-4 items-center justify-center rounded bg-blue-100 dark:bg-blue-900/30",children:o.jsx(ru,{className:"h-1.5 w-1.5 fill-current text-blue-600 dark:text-blue-400"})})}):o.jsx(dn,{content:"No priority set",children:o.jsx("div",{className:"flex h-4 w-4 items-center justify-center rounded bg-gray-100 dark:bg-gray-800",children:o.jsx(ru,{className:"h-1.5 w-1.5 text-gray-400 dark:text-gray-500"})})})}function awe(e){const t=e.subtasks??[],r=t.length,n=t.filter(s=>s.status==="done").length,a=r>0?Math.round(n/r*100):0;return{completed:n,total:r,percentage:a}}function swe({task:e,onClick:t=null,showParent:r=!1,className:n=""}){const a=rwe(e.status),s=awe(e);return o.jsxs("div",{className:we("bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-3 space-y-3","hover:shadow-md hover:border-blue-300 dark:hover:border-blue-600 transition-all duration-200",t?"cursor-pointer hover:-translate-y-0.5":"cursor-default",n),onClick:t??void 0,children:[o.jsxs("div",{className:"flex items-start justify-between gap-2",children:[o.jsxs("div",{className:"min-w-0 flex-1",children:[o.jsx("div",{className:"mb-1 flex items-center gap-2",children:o.jsx(dn,{content:`Task ID: ${e.id}`,children:o.jsx("span",{className:"rounded bg-gray-100 px-2 py-0.5 font-mono text-xs text-gray-500 dark:bg-gray-700 dark:text-gray-400",children:e.id})})}),o.jsx("h3",{className:"line-clamp-2 text-sm font-medium leading-tight text-gray-900 dark:text-white",children:e.title}),r&&e.parentId&&o.jsxs("span",{className:"text-xs font-medium text-gray-500 dark:text-gray-400",children:["Task ",e.parentId]})]}),o.jsx("div",{className:"flex-shrink-0",children:nwe(e.priority)})]}),o.jsxs("div",{className:"flex items-center justify-between",children:[o.jsx("div",{className:"flex items-center",children:Array.isArray(e.dependencies)&&e.dependencies.length>0&&o.jsx(dn,{content:`Depends on: ${e.dependencies.map(i=>`Task ${i}`).join(", ")}`,children:o.jsxs("div",{className:"flex items-center gap-1 text-xs text-amber-600 dark:text-amber-400",children:[o.jsx(Zh,{className:"h-3 w-3"}),o.jsxs("span",{children:["Depends on: ",e.dependencies.join(", ")]})]})})}),o.jsx(dn,{content:`Status: ${a.statusText}`,children:o.jsxs("div",{className:"flex items-center gap-1",children:[o.jsx("div",{className:we("w-2 h-2 rounded-full",a.iconColor.replace("text-","bg-"))}),o.jsx("span",{className:we("text-xs font-medium",a.textColor),children:a.statusText})]})})]}),s.total>0&&o.jsx("div",{className:"ml-3",children:o.jsxs("div",{className:"mb-1 flex items-center gap-2",children:[o.jsx("span",{className:"text-xs text-gray-500 dark:text-gray-400",children:"Progress:"}),o.jsx("div",{className:"h-1.5 flex-1 rounded-full bg-gray-200 dark:bg-gray-700",title:`${s.completed} of ${s.total} subtasks completed`,children:o.jsx("div",{className:we("h-full rounded-full transition-all duration-300",e.status==="done"?"bg-green-500":"bg-blue-500"),style:{width:`${s.percentage}%`}})}),o.jsxs("span",{className:"text-xs text-gray-500 dark:text-gray-400",children:[s.completed,"/",s.total]})]})})]})}const cD=f.memo(swe);function owe({columns:e,showParentTasks:t,onTaskClick:r}){const{t:n}=Ae("tasks");return o.jsx("div",{className:we("grid gap-6",e.length===1&&"grid-cols-1 max-w-md mx-auto",e.length===2&&"grid-cols-1 md:grid-cols-2",e.length===3&&"grid-cols-1 md:grid-cols-2 lg:grid-cols-3",e.length===4&&"grid-cols-1 md:grid-cols-2 lg:grid-cols-4",e.length===5&&"grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5",e.length>=6&&"grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6"),children:e.map(a=>o.jsxs("div",{className:we("rounded-xl border shadow-sm transition-shadow hover:shadow-md",a.color),children:[o.jsx("div",{className:we("px-4 py-3 rounded-t-xl border-b",a.headerColor),children:o.jsxs("div",{className:"flex items-center justify-between",children:[o.jsx("h3",{className:"text-sm font-semibold",children:a.title}),o.jsx("span",{className:"rounded-full bg-white/60 px-2 py-1 text-xs font-medium dark:bg-black/20",children:a.tasks.length})]})}),o.jsx("div",{className:"max-h-[calc(100vh-300px)] min-h-[200px] space-y-3 overflow-y-auto p-3",children:a.tasks.length===0?o.jsxs("div",{className:"py-8 text-center text-gray-400 dark:text-gray-500",children:[o.jsx("div",{className:"mx-auto mb-2 flex h-8 w-8 items-center justify-center rounded-full bg-gray-200 dark:bg-gray-700",children:o.jsx("div",{className:"h-3 w-3 rounded-full bg-gray-300 dark:bg-gray-600"})}),o.jsx("div",{className:"text-xs font-medium text-gray-500 dark:text-gray-400",children:n("kanban.noTasksYet")}),o.jsx("div",{className:"mt-1 text-xs text-gray-400 dark:text-gray-500",children:a.status==="pending"?n("kanban.tasksWillAppear"):a.status==="in-progress"?n("kanban.moveTasksHere"):a.status==="done"?n("kanban.completedTasksHere"):n("kanban.statusTasksHere")})]}):a.tasks.map(s=>o.jsx(cD,{task:s,onClick:()=>r(s),showParent:t,className:"w-full shadow-sm hover:shadow-md"},String(s.id)))})]},a.id))})}function iwe({viewMode:e,filteredTaskCount:t,kanbanColumns:r,filteredTasks:n,showParentTasks:a,onTaskClick:s}){const{t:i}=Ae("tasks");return t===0?o.jsx("div",{className:"py-12 text-center",children:o.jsxs("div",{className:"text-gray-500 dark:text-gray-400",children:[o.jsx(Xn,{className:"mx-auto mb-4 h-12 w-12 opacity-50"}),o.jsx("h3",{className:"mb-2 text-lg font-medium",children:i("noMatchingTasks.title")}),o.jsx("p",{className:"text-sm",children:i("noMatchingTasks.description")})]})}):e==="kanban"?o.jsx(owe,{columns:r,showParentTasks:a,onTaskClick:s}):o.jsx("div",{className:we("gap-4",e==="grid"?"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3":"space-y-4"),children:n.map(l=>o.jsx(cD,{task:l,onClick:()=>s(l),showParent:a,className:e==="grid"?"h-full":""},String(l.id)))})}function lwe({showFilters:e,statusFilter:t,onStatusFilterChange:r,priorityFilter:n,onPriorityFilterChange:a,sortField:s,sortOrder:i,onSortConfigChange:l,statuses:c,priorities:d,filteredTaskCount:p,totalTaskCount:u,onClearFilters:h}){const{t:m}=Ae("tasks");return e?o.jsxs("div",{className:"space-y-4 rounded-lg bg-gray-50 p-4 dark:bg-gray-800",children:[o.jsxs("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3",children:[o.jsxs("div",{children:[o.jsx("label",{className:"mb-1 block text-sm font-medium text-gray-700 dark:text-gray-300",children:m("filters.status")}),o.jsxs("select",{value:t,onChange:g=>r(g.target.value),className:"w-full rounded-md border border-gray-300 bg-white px-3 py-2 dark:border-gray-600 dark:bg-gray-800",children:[o.jsx("option",{value:"all",children:m("filters.allStatuses")}),c.map(g=>o.jsx("option",{value:g,children:m(`statuses.${g}`,g)},g))]})]}),o.jsxs("div",{children:[o.jsx("label",{className:"mb-1 block text-sm font-medium text-gray-700 dark:text-gray-300",children:m("filters.priority")}),o.jsxs("select",{value:n,onChange:g=>a(g.target.value),className:"w-full rounded-md border border-gray-300 bg-white px-3 py-2 dark:border-gray-600 dark:bg-gray-800",children:[o.jsx("option",{value:"all",children:m("filters.allPriorities")}),d.map(g=>o.jsx("option",{value:g,children:m(`priorities.${g}`,g)},g))]})]}),o.jsxs("div",{children:[o.jsx("label",{className:"mb-1 block text-sm font-medium text-gray-700 dark:text-gray-300",children:m("filters.sortBy")}),o.jsxs("select",{value:`${s}-${i}`,onChange:g=>{const[b,x]=g.target.value.split("-");l(b,x)},className:"w-full rounded-md border border-gray-300 bg-white px-3 py-2 dark:border-gray-600 dark:bg-gray-800",children:[o.jsx("option",{value:"id-asc",children:m("sort.idAsc")}),o.jsx("option",{value:"id-desc",children:m("sort.idDesc")}),o.jsx("option",{value:"title-asc",children:m("sort.titleAsc")}),o.jsx("option",{value:"title-desc",children:m("sort.titleDesc")}),o.jsx("option",{value:"status-asc",children:m("sort.statusAsc")}),o.jsx("option",{value:"status-desc",children:m("sort.statusDesc")}),o.jsx("option",{value:"priority-asc",children:m("sort.priorityAsc")}),o.jsx("option",{value:"priority-desc",children:m("sort.priorityDesc")})]})]})]}),o.jsxs("div",{className:"flex items-center justify-between",children:[o.jsx("div",{className:"text-sm text-gray-600 dark:text-gray-400",children:m("filters.showing",{filtered:p,total:u})}),o.jsx("button",{onClick:h,className:"text-sm font-medium text-blue-600 hover:text-blue-700 dark:text-blue-400 dark:hover:text-blue-300",children:m("filters.clearFilters")})]})]}):null}function ix(e,t,r){return e!==t?o.jsx(GJ,{className:"h-4 w-4"}):r==="asc"?o.jsx(vw,{className:"h-4 w-4"}):o.jsx(xw,{className:"h-4 w-4"})}function cwe({sortField:e,sortOrder:t,onSortChange:r}){const{t:n}=Ae("tasks");return o.jsxs("div",{className:"flex flex-wrap gap-2",children:[o.jsxs("button",{onClick:()=>r("id"),className:we("flex items-center gap-1 px-3 py-1.5 rounded-md text-sm",e==="id"?"bg-blue-100 dark:bg-blue-900 text-blue-700 dark:text-blue-300":"bg-gray-100 dark:bg-gray-800 text-gray-600 dark:text-gray-400 hover:bg-gray-200 dark:hover:bg-gray-700"),children:[n("sort.id")," ",ix("id",e,t)]}),o.jsxs("button",{onClick:()=>r("status"),className:we("flex items-center gap-1 px-3 py-1.5 rounded-md text-sm",e==="status"?"bg-blue-100 dark:bg-blue-900 text-blue-700 dark:text-blue-300":"bg-gray-100 dark:bg-gray-800 text-gray-600 dark:text-gray-400 hover:bg-gray-200 dark:hover:bg-gray-700"),children:[n("sort.status")," ",ix("status",e,t)]}),o.jsxs("button",{onClick:()=>r("priority"),className:we("flex items-center gap-1 px-3 py-1.5 rounded-md text-sm",e==="priority"?"bg-blue-100 dark:bg-blue-900 text-blue-700 dark:text-blue-300":"bg-gray-100 dark:bg-gray-800 text-gray-600 dark:text-gray-400 hover:bg-gray-200 dark:hover:bg-gray-700"),children:[n("sort.priority")," ",ix("priority",e,t)]})]})}function dwe({hasProject:e,hasTaskMasterConfigured:t,totalTaskCount:r,filteredTaskCount:n,searchTerm:a,onSearchTermChange:s,viewMode:i,onViewModeChange:l,showFilters:c,onToggleFilters:d,statusFilter:p,onStatusFilterChange:u,priorityFilter:h,onPriorityFilterChange:m,sortField:g,sortOrder:b,onSortChange:x,onSortConfigChange:v,statuses:y,priorities:w,onClearFilters:S,existingPrds:j,onCreatePrd:k,onOpenPrd:C,onOpenHelp:E,onOpenCreateTask:T}){const{t:N}=Ae("tasks"),[D,A]=f.useState(!1),U=f.useRef(null);return f.useEffect(()=>{const _=q=>{U.current&&!U.current.contains(q.target)&&A(!1)};return document.addEventListener("mousedown",_),()=>document.removeEventListener("mousedown",_)},[]),o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"flex flex-col gap-3 lg:flex-row lg:items-center lg:justify-between",children:[o.jsxs("div",{className:"relative max-w-md flex-1",children:[o.jsx(Xn,{className:"absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-400"}),o.jsx("input",{type:"text",value:a,onChange:_=>s(_.target.value),placeholder:N("search.placeholder"),className:"w-full rounded-lg border border-gray-300 bg-white py-2 pl-10 pr-4 text-gray-900 dark:border-gray-600 dark:bg-gray-800 dark:text-white"})]}),o.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[o.jsxs("div",{className:"flex rounded-lg bg-gray-100 p-1 dark:bg-gray-800",children:[o.jsx("button",{onClick:()=>l("kanban"),className:we("p-2 rounded-md",i==="kanban"?"bg-white dark:bg-gray-700 text-gray-900 dark:text-white shadow-sm":"text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300"),title:N("views.kanban"),children:o.jsx(UQ,{className:"h-4 w-4"})}),o.jsx("button",{onClick:()=>l("list"),className:we("p-2 rounded-md",i==="list"?"bg-white dark:bg-gray-700 text-gray-900 dark:text-white shadow-sm":"text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300"),title:N("views.list"),children:o.jsx(ah,{className:"h-4 w-4"})}),o.jsx("button",{onClick:()=>l("grid"),className:we("p-2 rounded-md",i==="grid"?"bg-white dark:bg-gray-700 text-gray-900 dark:text-white shadow-sm":"text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300"),title:N("views.grid"),children:o.jsx(Iee,{className:"h-4 w-4"})})]}),o.jsxs("button",{onClick:d,className:we("flex items-center gap-2 px-3 py-2 rounded-lg border transition-colors",c?"bg-blue-50 dark:bg-blue-900 border-blue-200 dark:border-blue-700 text-blue-700 dark:text-blue-300":"bg-white dark:bg-gray-800 border-gray-300 dark:border-gray-600 text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700"),children:[o.jsx(See,{className:"h-4 w-4"}),o.jsx("span",{className:"hidden sm:inline",children:N("filters.button")}),o.jsx(fn,{className:we("w-4 h-4 transition-transform",c&&"rotate-180")})]}),e&&o.jsxs(o.Fragment,{children:[o.jsx("button",{onClick:E,className:"rounded-lg border border-gray-300 p-2 text-gray-600 hover:bg-gray-100 hover:text-blue-600 dark:border-gray-600 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-blue-400",title:N("buttons.help"),children:o.jsx(YA,{className:"h-4 w-4"})}),o.jsx("div",{ref:U,className:"relative",children:j.length>0?o.jsxs(o.Fragment,{children:[o.jsxs("button",{onClick:()=>A(_=>!_),className:"flex items-center gap-2 rounded-lg bg-purple-600 px-3 py-2 font-medium text-white hover:bg-purple-700",title:N("buttons.prdsAvailable",{count:j.length}),children:[o.jsx(hr,{className:"h-4 w-4"}),o.jsx("span",{className:"hidden sm:inline",children:N("buttons.prds")}),o.jsx("span",{className:"min-w-5 rounded-full bg-purple-500 px-1.5 py-0.5 text-center text-xs",children:j.length}),o.jsx(fn,{className:we("w-3 h-3 transition-transform hidden sm:block",D&&"rotate-180")})]}),D&&o.jsx("div",{className:"absolute right-0 top-full z-30 mt-2 w-56 rounded-lg border border-gray-200 bg-white shadow-xl dark:border-gray-700 dark:bg-gray-800",children:o.jsxs("div",{className:"p-2",children:[o.jsxs("button",{onClick:()=>{k(),A(!1)},className:"flex w-full items-center gap-2 rounded px-3 py-2 text-left text-sm font-medium text-purple-700 hover:bg-purple-50 dark:text-purple-300 dark:hover:bg-purple-900/30",children:[o.jsx(Sr,{className:"h-4 w-4"}),N("buttons.createNewPRD")]}),o.jsx("div",{className:"my-1 border-t border-gray-200 dark:border-gray-700"}),j.map(_=>o.jsxs("button",{onClick:()=>{C(_),A(!1)},className:"flex w-full items-center gap-2 rounded px-3 py-2 text-left text-sm text-gray-700 hover:bg-gray-100 dark:text-gray-300 dark:hover:bg-gray-700",children:[o.jsx(hr,{className:"h-4 w-4"}),o.jsx("span",{className:"truncate",children:_.name})]},_.name))]})})]}):o.jsxs("button",{onClick:k,className:"flex items-center gap-2 rounded-lg bg-purple-600 px-3 py-2 font-medium text-white hover:bg-purple-700",title:N("buttons.addPRD"),children:[o.jsx(hr,{className:"h-4 w-4"}),o.jsx("span",{className:"hidden sm:inline",children:N("buttons.addPRD")})]})}),(t||r>0)&&o.jsxs("button",{onClick:T,className:"flex items-center gap-2 rounded-lg bg-blue-600 px-3 py-2 font-medium text-white hover:bg-blue-700",title:N("buttons.addTask"),children:[o.jsx(Sr,{className:"h-4 w-4"}),o.jsx("span",{className:"hidden sm:inline",children:N("buttons.addTask")})]})]})]})]}),o.jsx(lwe,{showFilters:c,statusFilter:p,onStatusFilterChange:u,priorityFilter:h,onPriorityFilterChange:m,sortField:g,sortOrder:b,onSortConfigChange:v,statuses:y,priorities:w,filteredTaskCount:n,totalTaskCount:r,onClearFilters:S}),o.jsx(cwe,{sortField:g,sortOrder:b,onSortChange:x})]})}function uwe({className:e="",hasTaskMasterDirectory:t,existingPrds:r,onOpenSetupModal:n,onCreatePrd:a,onOpenPrd:s}){const{t:i}=Ae("tasks");return t?o.jsx("div",{className:we("text-center py-12",e),children:o.jsxs("div",{className:"mx-auto max-w-4xl",children:[o.jsxs("div",{className:"mb-6 rounded-xl border border-blue-200 bg-gradient-to-r from-blue-50 to-indigo-50 p-6 text-left dark:border-blue-800 dark:from-blue-950/50 dark:to-indigo-950/50",children:[o.jsxs("div",{className:"mb-4 flex items-center gap-3",children:[o.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-lg bg-blue-100 dark:bg-blue-900/50",children:o.jsx(hr,{className:"h-5 w-5 text-blue-600 dark:text-blue-400"})}),o.jsxs("div",{children:[o.jsx("h2",{className:"text-xl font-semibold text-gray-900 dark:text-white",children:i("gettingStarted.title")}),o.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:i("gettingStarted.subtitle")})]})]}),o.jsxs("div",{className:"mb-4 space-y-3",children:[o.jsxs("div",{className:"rounded-lg border border-blue-100 bg-white p-3 dark:border-blue-800/50 dark:bg-gray-800/60",children:[o.jsxs("h4",{className:"mb-1 font-medium text-gray-900 dark:text-white",children:["1. ",i("gettingStarted.steps.createPRD.title")]}),o.jsx("p",{className:"mb-3 text-sm text-gray-600 dark:text-gray-400",children:i("gettingStarted.steps.createPRD.description")}),o.jsxs("button",{onClick:a,className:"inline-flex items-center gap-2 rounded bg-purple-100 px-2 py-1 text-xs text-purple-700 hover:bg-purple-200 dark:bg-purple-900/30 dark:text-purple-300 dark:hover:bg-purple-900/50",children:[o.jsx(hr,{className:"h-3 w-3"}),i("gettingStarted.steps.createPRD.addButton")]}),r.length>0&&o.jsxs("div",{className:"mt-3 border-t border-gray-200 pt-3 dark:border-gray-700",children:[o.jsx("p",{className:"mb-2 text-xs text-gray-500 dark:text-gray-400",children:i("gettingStarted.steps.createPRD.existingPRDs")}),o.jsx("div",{className:"flex flex-wrap gap-2",children:r.map(l=>o.jsxs("button",{onClick:()=>s(l),className:"inline-flex items-center gap-1 rounded bg-gray-100 px-2 py-1 text-xs text-gray-700 hover:bg-gray-200 dark:bg-gray-700 dark:text-gray-300 dark:hover:bg-gray-600",children:[o.jsx(hr,{className:"h-3 w-3"}),l.name]},l.name))})]})]}),o.jsxs("div",{className:"rounded-lg border border-blue-100 bg-white p-3 dark:border-blue-800/50 dark:bg-gray-800/60",children:[o.jsxs("h4",{className:"mb-1 font-medium text-gray-900 dark:text-white",children:["2. ",i("gettingStarted.steps.generateTasks.title")]}),o.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:i("gettingStarted.steps.generateTasks.description")})]}),o.jsxs("div",{className:"rounded-lg border border-blue-100 bg-white p-3 dark:border-blue-800/50 dark:bg-gray-800/60",children:[o.jsxs("h4",{className:"mb-1 font-medium text-gray-900 dark:text-white",children:["3. ",i("gettingStarted.steps.analyzeTasks.title")]}),o.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:i("gettingStarted.steps.analyzeTasks.description")})]}),o.jsxs("div",{className:"rounded-lg border border-blue-100 bg-white p-3 dark:border-blue-800/50 dark:bg-gray-800/60",children:[o.jsxs("h4",{className:"mb-1 font-medium text-gray-900 dark:text-white",children:["4. ",i("gettingStarted.steps.startBuilding.title")]}),o.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:i("gettingStarted.steps.startBuilding.description")})]})]}),o.jsxs("button",{onClick:a,className:"inline-flex items-center gap-2 rounded-lg bg-purple-600 px-4 py-2 font-medium text-white hover:bg-purple-700",children:[o.jsx(hr,{className:"h-4 w-4"}),i("buttons.addPRD")]})]}),o.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:i("gettingStarted.tip")})]})}):o.jsx("div",{className:we("text-center py-12",e),children:o.jsxs("div",{className:"mx-auto max-w-md",children:[o.jsx("div",{className:"mb-4 text-blue-600 dark:text-blue-400",children:o.jsx(nr,{className:"mx-auto mb-4 h-12 w-12"})}),o.jsx("h3",{className:"mb-2 text-lg font-semibold text-gray-900 dark:text-white",children:i("notConfigured.title")}),o.jsx("p",{className:"mb-6 text-sm text-gray-600 dark:text-gray-400",children:i("notConfigured.description")}),o.jsxs("div",{className:"mb-6 rounded-lg bg-blue-50 p-4 text-left dark:bg-blue-950",children:[o.jsx("h4",{className:"mb-3 text-sm font-medium text-blue-900 dark:text-blue-100",children:i("notConfigured.whatIsTitle")}),o.jsxs("div",{className:"space-y-1 text-xs text-blue-800 dark:text-blue-200",children:[o.jsxs("p",{children:["- ",i("notConfigured.features.aiPowered")]}),o.jsxs("p",{children:["- ",i("notConfigured.features.prdTemplates")]}),o.jsxs("p",{children:["- ",i("notConfigured.features.dependencyTracking")]}),o.jsxs("p",{children:["- ",i("notConfigured.features.progressVisualization")]}),o.jsxs("p",{children:["- ",i("notConfigured.features.cliIntegration")]})]})]}),o.jsxs("button",{onClick:n,className:"mx-auto flex items-center gap-2 rounded-lg bg-blue-600 px-4 py-2 font-medium text-white transition-colors hover:bg-blue-700",children:[o.jsx(_n,{className:"h-4 w-4"}),i("notConfigured.initializeButton")]})]})})}function pwe({isOpen:e,onClose:t}){return e?o.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-4 backdrop-blur-sm",children:o.jsxs("div",{className:"w-full max-w-md rounded-lg border border-gray-200 bg-white shadow-xl dark:border-gray-700 dark:bg-gray-800",children:[o.jsxs("div",{className:"flex items-center justify-between border-b border-gray-200 p-6 dark:border-gray-700",children:[o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx("div",{className:"flex h-8 w-8 items-center justify-center rounded-lg bg-blue-100 dark:bg-blue-900/50",children:o.jsx(Eo,{className:"h-4 w-4 text-blue-600 dark:text-blue-400"})}),o.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:"Create AI-Generated Task"})]}),o.jsx("button",{onClick:t,className:"rounded-md p-2 text-gray-400 hover:bg-gray-100 hover:text-gray-600 dark:hover:bg-gray-700 dark:hover:text-gray-300",children:o.jsx(Nt,{className:"h-5 w-5"})})]}),o.jsxs("div",{className:"space-y-6 p-6",children:[o.jsx("div",{className:"rounded-lg border border-blue-200 bg-blue-50 p-4 dark:border-blue-800 dark:bg-blue-900/20",children:o.jsxs("div",{className:"flex items-start gap-3",children:[o.jsx("div",{className:"mt-0.5 flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-lg bg-blue-100 dark:bg-blue-900/50",children:o.jsx(Eo,{className:"h-4 w-4 text-blue-600 dark:text-blue-400"})}),o.jsxs("div",{children:[o.jsx("h4",{className:"mb-2 font-semibold text-blue-900 dark:text-blue-100",children:"Pro tip: ask Claude Code directly"}),o.jsx("p",{className:"mb-3 text-sm text-blue-800 dark:text-blue-200",children:"Ask for a task in chat with context and requirements. TaskMaster can generate implementation-ready tasks."}),o.jsxs("div",{className:"rounded border border-blue-200 bg-white p-3 dark:border-blue-700 dark:bg-gray-800",children:[o.jsx("p",{className:"mb-1 text-xs font-medium text-gray-600 dark:text-gray-400",children:"Example:"}),o.jsx("p",{className:"font-mono text-sm text-gray-900 dark:text-white",children:"Please add a task for profile image uploads and include best-practice research."})]})]})]})}),o.jsx("div",{className:"border-t border-gray-200 pt-4 text-center dark:border-gray-700",children:o.jsx("a",{href:"https://github.com/eyaltoledano/claude-task-master/blob/main/docs/examples.md",target:"_blank",rel:"noopener noreferrer",className:"inline-block text-sm font-medium text-blue-600 underline hover:text-blue-700 dark:text-blue-400 dark:hover:text-blue-300",children:"View TaskMaster documentation"})}),o.jsx("button",{onClick:t,className:"w-full rounded-lg border border-gray-300 bg-white px-4 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-300 dark:hover:bg-gray-600",children:"Got it"})]})]})}):null}function mwe({isOpen:e,onClose:t,onCreatePrd:r}){const{t:n}=Ae("tasks");if(!e)return null;const a=[{index:1,title:n("gettingStarted.steps.createPRD.title"),description:n("gettingStarted.steps.createPRD.description"),accent:"border-blue-200 dark:border-blue-800 bg-blue-50 dark:bg-blue-950/40"},{index:2,title:n("gettingStarted.steps.generateTasks.title"),description:n("gettingStarted.steps.generateTasks.description"),accent:"border-emerald-200 dark:border-emerald-800 bg-emerald-50 dark:bg-emerald-950/40"},{index:3,title:n("gettingStarted.steps.analyzeTasks.title"),description:n("gettingStarted.steps.analyzeTasks.description"),accent:"border-amber-200 dark:border-amber-800 bg-amber-50 dark:bg-amber-950/40"},{index:4,title:n("gettingStarted.steps.startBuilding.title"),description:n("gettingStarted.steps.startBuilding.description"),accent:"border-purple-200 dark:border-purple-800 bg-purple-50 dark:bg-purple-950/40"}];return o.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-4 backdrop-blur-sm",children:o.jsxs("div",{className:"max-h-[90vh] w-full max-w-4xl overflow-hidden rounded-lg border border-gray-200 bg-white shadow-xl dark:border-gray-700 dark:bg-gray-900",children:[o.jsxs("div",{className:"flex items-center justify-between border-b border-gray-200 p-6 dark:border-gray-700",children:[o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-lg bg-blue-100 dark:bg-blue-900/50",children:o.jsx(hr,{className:"h-5 w-5 text-blue-600 dark:text-blue-400"})}),o.jsxs("div",{children:[o.jsx("h2",{className:"text-xl font-semibold text-gray-900 dark:text-white",children:n("helpGuide.title")}),o.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:n("helpGuide.subtitle")})]})]}),o.jsx("button",{onClick:t,className:"rounded-lg p-2 text-gray-400 hover:bg-gray-100 hover:text-gray-600 dark:hover:bg-gray-700 dark:hover:text-gray-300",title:"Close",children:o.jsx(Nt,{className:"h-5 w-5"})})]}),o.jsxs("div",{className:"max-h-[calc(90vh-120px)] space-y-4 overflow-y-auto p-6",children:[a.map(s=>o.jsx("div",{className:`rounded-lg border p-4 ${s.accent}`,children:o.jsxs("div",{className:"flex gap-4",children:[o.jsx("div",{className:"flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-full bg-blue-600 text-sm font-semibold text-white",children:s.index}),o.jsxs("div",{children:[o.jsx("h4",{className:"mb-2 font-medium text-gray-900 dark:text-white",children:s.title}),o.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300",children:s.description}),s.index===1&&o.jsxs("button",{onClick:()=>{r(),t()},className:"mt-3 inline-flex items-center gap-2 rounded-lg bg-purple-100 px-3 py-1.5 text-sm text-purple-700 hover:bg-purple-200 dark:bg-purple-900/30 dark:text-purple-300 dark:hover:bg-purple-900/50",children:[o.jsx(hr,{className:"h-4 w-4"}),n("buttons.addPRD")]})]})]})},s.index)),o.jsxs("div",{className:"rounded-lg border border-gray-200 bg-gray-50 p-4 dark:border-gray-700 dark:bg-gray-800/50",children:[o.jsx("h4",{className:"mb-2 font-medium text-gray-900 dark:text-white",children:n("helpGuide.proTips.title")}),o.jsxs("ul",{className:"space-y-2 text-sm text-gray-600 dark:text-gray-400",children:[o.jsx("li",{children:n("helpGuide.proTips.search")}),o.jsx("li",{children:n("helpGuide.proTips.views")}),o.jsx("li",{children:n("helpGuide.proTips.filters")}),o.jsx("li",{children:n("helpGuide.proTips.details")})]})]}),o.jsxs("div",{className:"rounded-lg border border-blue-200 bg-blue-50 p-4 dark:border-blue-800 dark:bg-blue-950/40",children:[o.jsx("h4",{className:"mb-2 font-medium text-blue-900 dark:text-blue-100",children:n("helpGuide.learnMore.title")}),o.jsx("p",{className:"mb-3 text-sm text-blue-800 dark:text-blue-200",children:n("helpGuide.learnMore.description")}),o.jsxs("a",{href:"https://github.com/eyaltoledano/claude-task-master",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 rounded-lg bg-blue-600 px-3 py-2 text-sm font-medium text-white hover:bg-blue-700",children:[n("helpGuide.learnMore.githubButton"),o.jsx(Qh,{className:"h-4 w-4"})]})]})]})]})})}function X1({isOpen:e,project:t,onClose:r,onAfterClose:n=null}){const{t:a}=Ae("tasks"),[s,i]=f.useState(!1);if(!e||!t)return null;const l=()=>{r(),i(!1),window.setTimeout(()=>{n?.()},800)};return o.jsx("div",{className:"fixed inset-0 z-50 flex items-start justify-center bg-black/50 p-4 pt-16 backdrop-blur-sm",children:o.jsxs("div",{className:"flex h-[600px] w-full max-w-4xl flex-col rounded-lg border border-gray-200 bg-white shadow-xl dark:border-gray-700 dark:bg-gray-900",children:[o.jsxs("div",{className:"flex items-center justify-between border-b border-gray-200 p-4 dark:border-gray-700",children:[o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx("div",{className:"flex h-8 w-8 items-center justify-center rounded-lg bg-blue-100 dark:bg-blue-900/50",children:o.jsx(_n,{className:"h-4 w-4 text-blue-600 dark:text-blue-400"})}),o.jsxs("div",{children:[o.jsx("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:a("setupModal.title")}),o.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:a("setupModal.subtitle",{projectName:t.displayName})})]})]}),o.jsx("button",{onClick:l,className:"rounded-md p-2 text-gray-400 hover:bg-gray-100 hover:text-gray-600 dark:hover:bg-gray-800 dark:hover:text-gray-300",title:"Close",children:o.jsx(Sr,{className:"h-5 w-5 rotate-45"})})]}),o.jsx("div",{className:"flex-1 p-4",children:o.jsx("div",{className:"h-full overflow-hidden rounded-lg bg-black",children:o.jsx(TF,{selectedProject:t,selectedSession:null,initialCommand:"npx task-master init",isPlainShell:!0,isActive:!0,onProcessComplete:c=>{c===0&&i(!0)}})})}),o.jsx("div",{className:"border-t border-gray-200 bg-gray-50 p-4 dark:border-gray-700 dark:bg-gray-800/50",children:o.jsxs("div",{className:"flex items-center justify-between",children:[o.jsx("div",{className:"text-sm text-gray-600 dark:text-gray-400",children:s?o.jsxs("span",{className:"flex items-center gap-2 text-green-600 dark:text-green-400",children:[o.jsx("span",{className:"h-2 w-2 rounded-full bg-green-500"}),a("setupModal.completed")]}):a("setupModal.willStart")}),o.jsx("button",{onClick:l,className:we("px-4 py-2 text-sm font-medium rounded-md transition-colors",s?"bg-green-600 hover:bg-green-700 text-white":"text-gray-700 dark:text-gray-300 bg-white dark:bg-gray-700 border border-gray-300 dark:border-gray-600 hover:bg-gray-50 dark:hover:bg-gray-600"),children:a(s?"setupModal.closeContinueButton":"setupModal.closeButton")})]})})]})})}function hwe({tasks:e=[],onTaskClick:t=null,className:r="",showParentTasks:n=!1,defaultView:a="kanban",currentProject:s=null,onTaskCreated:i=null,onShowPRDEditor:l=null,existingPRDs:c=[],onRefreshPRDs:d=null}){const{projectTaskMaster:p,refreshTasks:u,setCurrentProject:h}=Ec(),[m,g]=f.useState(!1),[b,x]=f.useState(!1),[v,y]=f.useState(!1),{searchTerm:w,setSearchTerm:S,statusFilter:j,setStatusFilter:k,priorityFilter:C,setPriorityFilter:E,sortField:T,setSortField:N,sortOrder:D,setSortOrder:A,viewMode:U,setViewMode:_,showFilters:q,setShowFilters:z,statuses:F,priorities:H,filteredTasks:L,kanbanColumns:M,handleSortChange:V,clearFilters:$}=twe({tasks:e,defaultView:a}),R=!!(s?.taskMasterConfigured||s?.taskmaster?.hasTaskmaster||p?.hasTaskmaster),X=async Q=>{if(s?.projectId)try{const me=await xe.taskmaster.prdFile(s.projectId,Q.name);if(!me.ok)throw new Error(`Failed to load PRD ${Q.name}`);const le=await me.json();l?.({name:Q.name,content:le.content??"",isExisting:!0})}catch(me){console.error("Failed to open PRD in editor:",me)}},W=()=>{s&&h(s),u(),d?.(!1)};return e.length===0?o.jsxs(o.Fragment,{children:[o.jsx(uwe,{className:r,hasTaskMasterDirectory:R,existingPrds:c,onOpenSetupModal:()=>y(!0),onCreatePrd:()=>l?.(),onOpenPrd:Q=>{X(Q)}}),o.jsx(X1,{isOpen:v,project:s,onClose:()=>y(!1),onAfterClose:W})]}):o.jsxs("div",{className:we("space-y-4",r),children:[o.jsx(dwe,{hasProject:!!s,hasTaskMasterConfigured:R,totalTaskCount:e.length,filteredTaskCount:L.length,searchTerm:w,onSearchTermChange:S,viewMode:U,onViewModeChange:_,showFilters:q,onToggleFilters:()=>z(Q=>!Q),statusFilter:j,onStatusFilterChange:k,priorityFilter:C,onPriorityFilterChange:E,sortField:T,sortOrder:D,onSortChange:V,onSortConfigChange:(Q,me)=>{N(Q),A(me)},statuses:F,priorities:H,onClearFilters:$,existingPrds:c,onCreatePrd:()=>l?.(),onOpenPrd:Q=>{X(Q)},onOpenHelp:()=>x(!0),onOpenCreateTask:()=>g(!0)}),o.jsx(iwe,{viewMode:U,filteredTaskCount:L.length,kanbanColumns:M,filteredTasks:L,showParentTasks:n,onTaskClick:Q=>t?.(Q)}),o.jsx(pwe,{isOpen:m,onClose:()=>{g(!1),i?.()}}),o.jsx(mwe,{isOpen:b,onClose:()=>x(!1),onCreatePrd:()=>l?.()}),o.jsx(X1,{isOpen:v,project:s,onClose:()=>y(!1),onAfterClose:W})]})}const fwe=[{value:"pending",label:"Pending"},{value:"in-progress",label:"In Progress"},{value:"review",label:"Review"},{value:"done",label:"Done"},{value:"deferred",label:"Deferred"},{value:"cancelled",label:"Cancelled"}];function gwe(e){return e==="done"?Jh:e==="in-progress"?Nu:e==="review"?Lo:e==="deferred"?o_:e==="cancelled"?Nt:ru}function bwe(e){return e==="high"?"text-red-600 dark:text-red-400 bg-red-50 dark:bg-red-950":e==="medium"?"text-yellow-600 dark:text-yellow-400 bg-yellow-50 dark:bg-yellow-950":e==="low"?"text-blue-600 dark:text-blue-400 bg-blue-50 dark:bg-blue-950":"text-gray-600 dark:text-gray-400 bg-gray-50 dark:bg-gray-800"}function dD({task:e,isOpen:t=!0,className:r="",onClose:n,onEdit:a=null,onStatusChange:s=null,onTaskClick:i=null}){const{currentProject:l,refreshTasks:c}=Ec(),[d,p]=f.useState(!1),[u,h]=f.useState(!1),[m,g]=f.useState(!1),[b,x]=f.useState(!1),[v,y]=f.useState(e);f.useEffect(()=>{y(e),p(!1)},[e]);const w=f.useMemo(()=>gwe(e?.status),[e?.status]);if(!t||!e||!v)return null;const S=async()=>{if(!l?.projectId)return;const k={};if(v.title!==e.title&&(k.title=v.title),v.description!==e.description&&(k.description=v.description??""),v.details!==e.details&&(k.details=v.details??""),Object.keys(k).length===0){p(!1);return}h(!0);try{const C=await xe.taskmaster.updateTask(l.projectId,e.id,k);if(!C.ok){const E=await C.json();throw new Error(E.message??"Failed to update task")}p(!1),await c(),a?.(v)}catch(C){console.error("Failed to save task changes:",C),alert(C instanceof Error?C.message:"Failed to update task")}finally{h(!1)}},j=async k=>{if(!(!l?.projectId||k===e.status))try{const C=await xe.taskmaster.updateTask(l.projectId,e.id,{status:k});if(!C.ok){const E=await C.json();throw new Error(E.message??"Failed to update task status")}await c(),s?.(e.id,k)}catch(C){console.error("Failed to update task status:",C),alert(C instanceof Error?C.message:"Failed to update task status")}};return o.jsx("div",{className:"fixed inset-0 z-[100] flex items-center justify-center bg-black/50 md:p-4",children:o.jsxs("div",{className:we("w-full md:max-w-4xl h-full md:h-[90vh] bg-white dark:bg-gray-900 border border-gray-200 dark:border-gray-700 md:rounded-lg shadow-xl flex flex-col",r),children:[o.jsxs("div",{className:"flex items-center justify-between border-b border-gray-200 p-4 dark:border-gray-700 md:p-6",children:[o.jsxs("div",{className:"flex min-w-0 flex-1 items-center gap-3",children:[o.jsx(w,{className:"h-6 w-6 text-blue-600 dark:text-blue-400"}),o.jsxs("div",{className:"min-w-0 flex-1",children:[o.jsxs("button",{onClick:()=>Zn(String(e.id)),className:"mb-2 inline-flex items-center gap-1 rounded bg-gray-100 px-2 py-1 text-xs text-gray-600 hover:bg-gray-200 dark:bg-gray-800 dark:text-gray-300 dark:hover:bg-gray-700",title:"Copy task ID",children:[o.jsxs("span",{children:["Task ",e.id]}),o.jsx(Pi,{className:"h-3 w-3"})]}),d?o.jsx("input",{type:"text",value:v.title,onChange:k=>y({...v,title:k.target.value}),className:"w-full border-b-2 border-blue-500 bg-transparent text-lg font-semibold text-gray-900 focus:outline-none dark:text-white"}):o.jsx("h1",{className:"line-clamp-2 text-lg font-semibold text-gray-900 dark:text-white md:text-xl",children:e.title})]})]}),o.jsxs("div",{className:"flex items-center gap-2",children:[d?o.jsxs(o.Fragment,{children:[o.jsx("button",{onClick:S,disabled:u,className:"rounded-md p-2 text-green-600 hover:bg-green-50 disabled:opacity-50 dark:hover:bg-green-950",title:"Save",children:o.jsx(rf,{className:we("w-5 h-5",u&&"animate-spin")})}),o.jsx("button",{onClick:()=>{y(e),p(!1)},disabled:u,className:"rounded-md p-2 text-gray-500 hover:bg-gray-100 dark:hover:bg-gray-800",title:"Cancel editing",children:o.jsx(Nt,{className:"h-5 w-5"})})]}):o.jsx("button",{onClick:()=>p(!0),className:"rounded-md p-2 text-gray-500 hover:bg-gray-100 dark:hover:bg-gray-800",title:"Edit task",children:o.jsx(hre,{className:"h-5 w-5"})}),o.jsx("button",{onClick:n,className:"rounded-md p-2 text-gray-500 hover:bg-gray-100 dark:hover:bg-gray-800",title:"Close",children:o.jsx(Nt,{className:"h-5 w-5"})})]})]}),o.jsxs("div",{className:"flex-1 space-y-6 overflow-y-auto p-4 md:p-6",children:[o.jsxs("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-3",children:[o.jsxs("div",{className:"space-y-2",children:[o.jsx("label",{className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:"Status"}),o.jsx("select",{value:e.status??"pending",onChange:k=>{j(k.target.value)},className:"w-full rounded-md border border-gray-300 bg-white px-3 py-2 text-gray-900 dark:border-gray-600 dark:bg-gray-800 dark:text-white",children:fwe.map(k=>o.jsx("option",{value:k.value,children:k.label},k.value))})]}),o.jsxs("div",{className:"space-y-2",children:[o.jsx("label",{className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:"Priority"}),o.jsx("div",{className:we("px-3 py-2 rounded-md text-sm font-medium capitalize",bwe(e.priority)),children:e.priority??"Not set"})]}),o.jsxs("div",{className:"space-y-2",children:[o.jsx("label",{className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:"Dependencies"}),Array.isArray(e.dependencies)&&e.dependencies.length>0?o.jsx("div",{className:"flex flex-wrap gap-1",children:e.dependencies.map(k=>o.jsxs("button",{onClick:()=>i?.({id:k}),className:"rounded bg-blue-100 px-2 py-1 text-sm text-blue-700 hover:bg-blue-200 dark:bg-blue-900 dark:text-blue-300 dark:hover:bg-blue-800",children:[o.jsx(Zh,{className:"mr-1 inline h-3 w-3"}),k]},String(k)))}):o.jsx("span",{className:"text-sm text-gray-500 dark:text-gray-400",children:"No dependencies"})]})]}),o.jsxs("div",{className:"space-y-2",children:[o.jsx("label",{className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:"Description"}),d?o.jsx("textarea",{rows:4,value:v.description??"",onChange:k=>y({...v,description:k.target.value}),className:"w-full rounded-md border border-gray-300 bg-white px-3 py-2 dark:border-gray-600 dark:bg-gray-800"}):o.jsx("p",{className:"whitespace-pre-wrap text-gray-700 dark:text-gray-300",children:e.description||"No description provided"})]}),e.details&&o.jsxs("div",{className:"rounded-lg border border-gray-200 dark:border-gray-700",children:[o.jsxs("button",{onClick:()=>g(k=>!k),className:"flex w-full items-center justify-between p-4 text-left hover:bg-gray-50 dark:hover:bg-gray-800",children:[o.jsx("span",{className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:"Implementation Details"}),m?o.jsx(fn,{className:"h-4 w-4"}):o.jsx(Br,{className:"h-4 w-4"})]}),m&&o.jsx("div",{className:"border-t border-gray-200 p-4 dark:border-gray-700",children:o.jsx("p",{className:"whitespace-pre-wrap text-gray-700 dark:text-gray-300",children:e.details})})]}),e.testStrategy&&o.jsxs("div",{className:"rounded-lg border border-gray-200 dark:border-gray-700",children:[o.jsxs("button",{onClick:()=>x(k=>!k),className:"flex w-full items-center justify-between p-4 text-left hover:bg-gray-50 dark:hover:bg-gray-800",children:[o.jsx("span",{className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:"Test Strategy"}),b?o.jsx(fn,{className:"h-4 w-4"}):o.jsx(Br,{className:"h-4 w-4"})]}),b&&o.jsx("div",{className:"border-t border-gray-200 bg-blue-50 p-4 dark:border-gray-700 dark:bg-blue-950/30",children:o.jsx("p",{className:"whitespace-pre-wrap text-gray-700 dark:text-gray-300",children:e.testStrategy})})]})]})]})})}const xwe="PRD saved successfully!";function vwe({isVisible:e}){const{tasks:t,currentProject:r,refreshTasks:n}=Ec(),[a,s]=f.useState(null),[i,l]=f.useState(!1),[c,d]=f.useState(!1),[p,u]=f.useState(null),[h,m]=f.useState(null),g=f.useRef(null),{prdFiles:b,refreshPrdFiles:x}=Wye({projectId:r?.projectId}),v=f.useCallback(S=>{g.current&&window.clearTimeout(g.current),m(S),g.current=window.setTimeout(()=>{m(null),g.current=null},3e3)},[]),y=f.useCallback(async(S=!1)=>{await x(),S&&v(xwe)},[x,v]);f.useEffect(()=>()=>{g.current&&window.clearTimeout(g.current)},[]);const w=f.useCallback(S=>{const j=String(S.id);if(!S.title){const k=t.find(C=>String(C.id)===j)??null;k&&(s(k),l(!0));return}s(S),l(!0)},[t]);return o.jsxs(o.Fragment,{children:[o.jsx("div",{className:`h-full ${e?"block":"hidden"}`,children:o.jsx("div",{className:"flex h-full flex-col overflow-hidden",children:o.jsx(hwe,{tasks:t,onTaskClick:w,showParentTasks:!0,className:"flex-1 overflow-y-auto p-4",currentProject:r,onTaskCreated:n,onShowPRDEditor:S=>{u(S??null),d(!0)},existingPRDs:b,onRefreshPRDs:(S=!1)=>{y(S)}})})}),o.jsx(dD,{task:a,isOpen:i,onClose:()=>{l(!1),s(null)},onStatusChange:()=>{n()},onTaskClick:w}),c&&o.jsx(zye,{project:r,projectPath:r?.fullPath||r?.path,onClose:()=>{d(!1),u(null)},isNewFile:!p?.isExisting,file:{name:p?.name||"prd.txt",content:p?.content||"",isExisting:p?.isExisting},onSave:async()=>{d(!1),u(null),await y(!0),await n()}}),h&&o.jsx("div",{className:"animate-in slide-in-from-bottom-2 fixed bottom-4 right-4 z-50 duration-300",children:o.jsxs("div",{className:"flex items-center gap-3 rounded-lg bg-green-600 px-4 py-3 text-white shadow-lg",children:[o.jsx("svg",{className:"h-5 w-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})}),o.jsx("span",{className:"font-medium",children:h})]})})]})}function ywe({priority:e}){const{t}=Ae();return e==="high"?o.jsx("div",{className:"flex h-4 w-4 items-center justify-center rounded bg-red-100 dark:bg-red-900/50",title:t("tasks:priorities.highTitle"),children:o.jsx(m_,{className:"h-2.5 w-2.5 text-red-600 dark:text-red-400"})}):e==="medium"?o.jsx("div",{className:"flex h-4 w-4 items-center justify-center rounded bg-amber-100 dark:bg-amber-900/50",title:t("tasks:priorities.mediumTitle"),children:o.jsx(hee,{className:"h-2.5 w-2.5 text-amber-600 dark:text-amber-400"})}):o.jsx("div",{className:"flex h-4 w-4 items-center justify-center rounded bg-gray-100 dark:bg-gray-800",title:t("tasks:priorities.lowTitle"),children:o.jsx(ru,{className:"h-2.5 w-2.5 text-gray-400 dark:text-gray-500"})})}function bN({onShowAllTasks:e=null,onStartTask:t=null,className:r=""}){const{t:n}=Ae(),{nextTask:a,tasks:s,currentProject:i,isLoadingTasks:l,projectTaskMaster:c,refreshTasks:d,setCurrentProject:p}=Ec(),[u,h]=f.useState(!1),[m,g]=f.useState(!1),[b,x]=f.useState(!1);if(!i||l)return null;const v=Array.isArray(s)&&s.length>0,y=!!(c?.hasTaskmaster||i.taskmaster?.hasTaskmaster),w=()=>{p(i),d()};if(!v&&!y)return o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:we("bg-blue-50 dark:bg-blue-950 border border-blue-200 dark:border-blue-800 rounded-lg p-3 mb-4",r),children:[o.jsxs("div",{className:"flex items-center justify-between gap-3",children:[o.jsxs("div",{className:"flex min-w-0 items-center gap-2",children:[o.jsx(ah,{className:"h-4 w-4 text-blue-600 dark:text-blue-400"}),o.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-white",children:n("tasks:notConfigured.title")})]}),o.jsxs("button",{onClick:()=>g(!0),className:"flex items-center gap-1 rounded bg-blue-600 px-2 py-1 text-xs text-white transition-colors hover:bg-blue-700",children:[o.jsx(_n,{className:"h-3 w-3"}),n("tasks:banner.initialize")]})]}),o.jsxs("button",{onClick:()=>x(S=>!S),className:"mt-2 flex items-center gap-1 text-xs text-blue-700 hover:underline dark:text-blue-300",children:[o.jsx(nr,{className:"h-3 w-3"}),n(b?"tasks:banner.hideDetails":"tasks:banner.whatIsTaskmaster")]}),b&&o.jsxs("div",{className:"mt-3 space-y-1 text-xs text-blue-900 dark:text-blue-100",children:[o.jsx("p",{children:n("tasks:banner.detailAiPowered")}),o.jsx("p",{children:n("tasks:banner.detailPrdDriven")}),o.jsx("p",{children:n("tasks:banner.detailKanbanList")})]})]}),o.jsx(X1,{isOpen:m,project:i,onClose:()=>g(!1),onAfterClose:w})]});if(a)return o.jsxs(o.Fragment,{children:[o.jsx("div",{className:we("bg-slate-50 dark:bg-slate-900/30 border border-slate-200 dark:border-slate-700 rounded-lg p-3 mb-4",r),children:o.jsxs("div",{className:"flex items-center justify-between gap-3",children:[o.jsxs("div",{className:"min-w-0 flex-1",children:[o.jsxs("div",{className:"mb-1 flex items-center gap-2",children:[o.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded-full bg-blue-100 dark:bg-blue-900/50",children:o.jsx(Nre,{className:"h-3 w-3 text-blue-600 dark:text-blue-400"})}),o.jsxs("span",{className:"text-xs font-medium text-slate-600 dark:text-slate-400",children:["Task ",a.id]}),o.jsx(ywe,{priority:a.priority})]}),o.jsx("p",{className:"line-clamp-1 text-sm font-medium text-slate-900 dark:text-slate-100",children:a.title})]}),o.jsxs("div",{className:"flex flex-shrink-0 items-center gap-1",children:[o.jsxs("button",{onClick:()=>t?.(),className:"flex items-center gap-1 rounded-md bg-blue-600 px-3 py-1.5 text-xs font-medium text-white hover:bg-blue-700",children:[o.jsx(l_,{className:"h-3 w-3"}),n("tasks:banner.startTask")]}),o.jsx("button",{onClick:()=>h(!0),className:"rounded-md border border-slate-300 px-2 py-1.5 text-xs text-slate-600 hover:bg-slate-100 dark:border-slate-600 dark:text-slate-300 dark:hover:bg-slate-800",title:n("tasks:banner.viewTaskDetails"),children:o.jsx(Bs,{className:"h-3 w-3"})}),e&&o.jsx("button",{onClick:e,className:"rounded-md border border-slate-300 px-2 py-1.5 text-xs text-slate-600 hover:bg-slate-100 dark:border-slate-600 dark:text-slate-300 dark:hover:bg-slate-800",title:n("tasks:banner.viewAllTasks"),children:o.jsx(ah,{className:"h-3 w-3"})})]})]})}),o.jsx(dD,{task:a,isOpen:u,onClose:()=>h(!1),onStatusChange:()=>{d()}})]});if(v){const S=s.filter(j=>j.status==="done").length;return o.jsx("div",{className:we("bg-purple-50 dark:bg-purple-950 border border-purple-200 dark:border-purple-800 rounded-lg p-3 mb-4",r),children:o.jsxs("div",{className:"flex items-center justify-between",children:[o.jsxs("div",{className:"flex items-center gap-2",children:[o.jsx(Jh,{className:"h-4 w-4 text-purple-600 dark:text-purple-400"}),o.jsx("span",{className:"text-sm font-medium text-gray-900 dark:text-white",children:S===s.length?n("tasks:banner.allComplete"):n("tasks:banner.noPending")})]}),o.jsxs("div",{className:"flex items-center gap-2",children:[o.jsxs("span",{className:"text-xs text-gray-600 dark:text-gray-400",children:[S,"/",s.length]}),e&&o.jsx("button",{onClick:e,className:"rounded bg-purple-600 px-2 py-1 text-xs text-white transition-colors hover:bg-purple-700",children:"Review"})]})]})})}return null}const Z1=!1,uD=f.createContext({tasksEnabled:Z1,setTasksEnabled:()=>{},toggleTasksEnabled:()=>{},isTaskMasterInstalled:null,isTaskMasterReady:null,installationStatus:null,isCheckingInstallation:!0}),Df=()=>{const e=f.useContext(uD);if(!e)throw new Error("useTasksSettings must be used within a TasksSettingsProvider");return e},wwe=({children:e})=>{const[t,r]=f.useState(()=>rn("tasksEnabled",Z1)),[n,a]=f.useState(null),[s,i]=f.useState(null),[l,c]=f.useState(null),[d,p]=f.useState(!0),u=f.useCallback(g=>{r(b=>{const x=typeof g=="function"?g(b):g;return qi("tasksEnabled",x),x})},[]);f.useEffect(()=>Wi(()=>{r(rn("tasksEnabled",Z1))}),[]),f.useEffect(()=>{setTimeout(async()=>{try{const b=await xe.taskmaster.installationStatus();if(b.ok){const x=await b.json();c(x),a(x.installation?.isInstalled||!1),i(x.isReady||!1);const v=rn("tasksEnabled",null);!x.installation?.isInstalled&&v===null&&r(!1)}else console.error("Failed to check TaskMaster installation status"),a(!1),i(!1)}catch(b){console.error("Error checking TaskMaster installation:",b),a(!1),i(!1)}finally{p(!1)}},0)},[]);const h=f.useCallback(()=>{u(g=>!g)},[u]),m=f.useMemo(()=>({tasksEnabled:t,setTasksEnabled:u,toggleTasksEnabled:h,isTaskMasterInstalled:n,isTaskMasterReady:s,installationStatus:l,isCheckingInstallation:d}),[u,l,d,n,s,t,h]);return o.jsx(uD.Provider,{value:m,children:e})};function kwe(e){const{currentProject:t,setCurrentProject:r}=Ec();f.useEffect(()=>{e&&e.projectId!==t?.projectId&&r(e)},[e,t?.projectId,r])}const pD=f.createContext(null);function Swe(){return f.useContext(pD)}const xN={claude:["low","medium","high","xhigh","max","ultracode"],codex:["low","medium","high","xhigh","max","ultra"],mistral:["none","high"],opencode:["none","low","medium","high","xhigh","max"]},Cwe=e=>e.map(t=>({value:t})),jwe={claude:"default",cursor:"gpt-5.3-codex",codex:"gpt-5.4",mistral:"mistral-medium-3.5",opencode:"anthropic/claude-sonnet-4-5"},fl=["claude","cursor","codex","mistral","opencode"],lx=e=>`${e}-model`,Nwe={claude:["default","auto","acceptEdits","bypassPermissions","plan"],cursor:["default","acceptEdits","bypassPermissions","plan"],codex:["default","acceptEdits","bypassPermissions"],mistral:["default","acceptEdits","bypassPermissions"],opencode:["default","acceptEdits","bypassPermissions","plan"]},Bp=(e,t)=>`${e}:${t}`;function Twe({selectedSession:e,selectedProject:t}){const[r,n]=f.useState("default"),[a,s]=f.useState([]),[i,l]=f.useState(Us),[c,d]=f.useState(()=>fl.reduce((oe,ue)=>(oe[ue]=localStorage.getItem(lx(ue))||jwe[ue],oe),{})),[p,u]=f.useState(()=>fl.reduce((oe,ue)=>(oe[ue]=localStorage.getItem(`${ue}-effort`)||Da,oe),{})),[h,m]=f.useState(null),[g,b]=f.useState({}),[x,v]=f.useState(!0),y=f.useRef(0),w=f.useRef(0),S=f.useRef(0),j=f.useRef(0),k=f.useCallback((oe,ue)=>{d(re=>re[oe]===ue?re:{...re,[oe]:ue}),localStorage.setItem(lx(oe),ue)},[]),C=f.useCallback((oe,ue)=>{u(re=>re[oe]===ue?re:{...re,[oe]:ue}),localStorage.setItem(`${oe}-effort`,ue)},[]),E=f.useCallback(async()=>{const oe=y.current+1;y.current=oe,v(!0);try{const ue=await Promise.all(fl.map(async J=>{const ge=await(await xe.providers.models(J)).json();return!ge.success||!ge.data?.models?null:ge.data.models}));if(y.current!==oe)return;const re={};fl.forEach((J,pe)=>{const ge=ue[pe];ge&&(re[J]=ge)}),b(re)}catch(ue){console.error("Error loading provider models:",ue)}finally{y.current===oe&&v(!1)}},[]);f.useEffect(()=>{E()},[E]),f.useEffect(()=>{let oe=!1;return(async()=>{try{const J=await(await xe.providers.capabilities()).json();if(oe||!J.success||!Array.isArray(J.data?.providers))return;const pe={};for(const ge of J.data.providers)pe[ge.provider]=ge;m(pe)}catch(re){console.error("Error loading provider capabilities:",re)}})(),()=>{oe=!0}},[]);const T=f.useCallback(oe=>{const ue=h?.[oe]?.permissionModes;return ue&&ue.length>0?ue:Nwe[oe]??["default"]},[h]),N=f.useCallback(oe=>{const ue=T(oe),re=h?.[oe]?.defaultPermissionMode;return re&&ue.includes(re)?re:ue[0]??"default"},[T,h]),D=f.useCallback(oe=>{const ue=h?.[oe]?.supportsEffort;return typeof ue=="boolean"?ue:!!xN[oe]?.length},[h]),A=(oe,ue,re)=>{const J=localStorage.getItem(oe);return J&&re.OPTIONS.some(pe=>pe.value===J)?J:ue&&re.OPTIONS.some(pe=>pe.value===ue)?ue:re.DEFAULT},U=f.useCallback((oe,ue)=>{const re=g[oe];return re?re.OPTIONS.find(J=>J.value===ue)??null:null},[g]),_=f.useCallback((oe,ue)=>{if(!D(oe))return[];const re=U(oe,ue);return re?re.effort?.values??[]:Cwe(xN[oe]??[])},[U,D]),q=f.useCallback((oe,ue)=>_(oe,ue).map(re=>re.value),[_]),z=f.useCallback((oe,ue,re)=>{const J=q(oe,ue);return J.length===0||re===Da||!re?Da:J.includes(re)?re:Da},[q]);f.useEffect(()=>{const oe={};for(const ue of fl){const re=g[ue];if(!re)continue;const J=lx(ue),pe=c[ue],ge=A(J,pe,re);ge!==pe&&(oe[ue]=ge),localStorage.getItem(J)!==ge&&localStorage.setItem(J,ge)}Object.keys(oe).length>0&&d(ue=>({...ue,...oe}))},[g,c]),f.useEffect(()=>{const oe={};let ue=!1;for(const re of fl){const J=p[re]??Da,pe=z(re,c[re],J);pe!==J&&(oe[re]=pe,localStorage.setItem(`${re}-effort`,pe),ue=!0)}ue&&u(re=>({...re,...oe}))},[p,c,z]),f.useEffect(()=>{const oe=T(i),ue=e?.id?localStorage.getItem(`permissionMode-${e.id}`):null,re=localStorage.getItem(`permissionMode-last-${i}`),J=[ue,re].find(pe=>!!(pe&&oe.includes(pe)));n(J??N(i))},[e?.id,i,N,T]),f.useEffect(()=>{!e?.__provider||e.__provider===i||(l(e.__provider),Bw(e.__provider))},[i,e]),f.useEffect(()=>{s(oe=>oe.filter(ue=>!ue.sessionId||ue.sessionId===e?.id))},[e?.id]);const F=f.useCallback(oe=>{n(oe),localStorage.setItem(`permissionMode-last-${i}`,oe),e?.id&&localStorage.setItem(`permissionMode-${e.id}`,oe)},[i,e?.id]),H=f.useCallback(()=>{const oe=T(i),re=(oe.indexOf(r)+1)%oe.length;F(oe[re])},[r,i,T,F]),L=f.useMemo(()=>T(i),[T,i]),M=!!h?.[i]?.supportsMessageEditing,V=!!h?.[i]?.supportsSessionForking,$=f.useCallback((oe,ue)=>T(oe).includes(ue)?ue:N(oe),[N,T]),[R,X]=f.useState(null),W=e?.id?.trim()||null,Q=e?.__provider??i,me=W?Bp(Q,W):null,le=f.useRef(me);le.current=me;const he=R&&W&&R.sessionId===W&&R.provider===Q?R:null,Te=he?.model??null;f.useEffect(()=>{const oe=w.current+1;if(w.current=oe,!W){X(null);return}let ue=!1;const re=Q,J=Bp(re,W);return(async()=>{try{const Ce=await(await xe.providers.sessionActiveModel(re,W)).json();if(ue||w.current!==oe||le.current!==J)return;const Fe=Ce.data?.model?.trim(),Je=Ce.data?.effort?.trim()||null;X({provider:re,sessionId:W,model:Ce.success&&Fe&&Ce.data?.source!=="default"?Fe:null,effort:Ce.success?Je:null})}catch(ge){!ue&&w.current===oe&&le.current===J&&(console.error("Error loading the session model and reasoning effort:",ge),X({provider:re,sessionId:W,model:null,effort:null}))}})(),()=>{ue=!0}},[W,Q]);const Ne=f.useCallback(async(oe,ue,re)=>{k(oe,ue);const J=typeof re=="string"?re.trim():"";if(!J)return{scope:"default",model:ue};w.current+=1;const pe=S.current+1;S.current=pe;const ge=Bp(oe,J),Ce=await xe.providers.setSessionActiveModel(oe,J,ue),Fe=await Ce.json();if(!Ce.ok||!Fe.success)throw new Error("Unable to change the active model for this session.");const Je=Fe.data?.model?.trim()||ue;return S.current===pe&&le.current===ge&&X(gt=>({provider:oe,sessionId:J,model:Je,effort:gt?.provider===oe&&gt.sessionId===J?gt.effort:Fe.data?.effort?.trim()||null})),{scope:"session",model:Je}},[k]),Ee=f.useCallback(async(oe,ue,re)=>{C(oe,ue);const J=typeof re=="string"?re.trim():"";if(!J)return{scope:"default",effort:ue};w.current+=1;const pe=j.current+1;j.current=pe;const ge=Bp(oe,J),Ce=R?.provider===oe&&R.sessionId===J?R:null;X({provider:oe,sessionId:J,model:Ce?.model??null,effort:ue});try{const Fe=await xe.providers.setSessionActiveEffort(oe,J,ue),Je=await Fe.json();if(!Fe.ok||!Je.success)throw new Error("Unable to change the reasoning effort for this session.");const gt=Je.data?.effort?.trim()||ue;return j.current===pe&&le.current===ge&&X(Se=>({provider:oe,sessionId:J,model:Se?.provider===oe&&Se.sessionId===J?Se.model:Ce?.model??null,effort:gt})),{scope:"session",effort:gt}}catch(Fe){throw j.current===pe&&le.current===ge&&X(Je=>Je?.provider===oe&&Je.sessionId===J&&Je.effort===ue?Ce:Je),Fe}},[R,C]),je=Te??c[i],O=f.useMemo(()=>_(i,je),[je,_,i]),ce=f.useMemo(()=>z(i,je,he?.effort??p[i]??Da),[he?.effort,je,i,p,z]),ee=f.useMemo(()=>g[i]?.OPTIONS??[],[i,g]),K=f.useCallback((oe,ue)=>{b(re=>({...re,[oe]:ue}))},[]),Y=f.useCallback(async oe=>{const ue=await oe.json();if(!oe.ok||!ue.success||!ue.data?.model||!ue.data.models)throw new Error(ue.error?.message||"Unable to save this model.");return{model:ue.data.model,models:ue.data.models}},[]),ne=f.useCallback(async(oe,ue)=>{const re=await xe.providers.createModel(oe,ue),J=await Y(re);K(oe,J.models)},[K,Y]),se=f.useCallback(async(oe,ue,re)=>{if(!ue.recordId)throw new Error("This model cannot be edited.");const J=await xe.providers.updateModel(oe,ue.recordId,re),pe=await Y(J);K(oe,pe.models),c[oe]===ue.value&&k(oe,pe.model.value),i===oe&&Te===ue.value&&X(ge=>ge&&{...ge,model:pe.model.value})},[K,i,c,Y,Te,k]),ye=f.useCallback(async(oe,ue)=>{if(!ue.recordId)throw new Error("This model cannot be deleted.");const re=await xe.providers.deleteModel(oe,ue.recordId),J=await Y(re);K(oe,J.models),c[oe]===ue.value&&k(oe,J.models.DEFAULT),i===oe&&Te===ue.value&&X(pe=>pe&&{...pe,model:J.models.DEFAULT})},[K,i,c,Y,Te,k]),de=f.useMemo(()=>({create:ne,update:se,remove:ye}),[ne,ye,se]);return{provider:i,setProvider:l,providerModels:c,setStoredProviderModel:k,currentProviderEffort:ce,currentProviderEffortOptions:O,currentProviderModel:je,currentProviderModelOptions:ee,permissionMode:r,pendingPermissionRequests:a,setPendingPermissionRequests:s,availablePermissionModes:L,selectPermissionMode:F,cyclePermissionMode:H,providerModelCatalog:g,providerModelsLoading:x,providerModelActions:de,selectProviderModel:Ne,selectProviderEffort:Ee,resolvePermissionModeForProvider:$,supportsMessageEditing:M,supportsSessionForking:V}}function Ewe(e){const[t,r]=f.useState([]),n=f.useRef(e),a=f.useCallback(async()=>{if(e)try{const p=await(await xe.scheduledMessages.list(e)).json();if(n.current!==e)return;r(Array.isArray(p?.data)?p.data:[])}catch(d){console.error("Failed to load scheduled messages:",d)}},[e]),[s,i]=f.useState(e);s!==e&&(i(e),r([])),f.useEffect(()=>{n.current=e,a()},[a,e]);const l=f.useCallback(async d=>{if(!e)return!1;try{const p=await xe.scheduledMessages.create({sessionId:e,content:d.content,scheduledFor:d.scheduledFor.toISOString(),options:d.options});if(!p.ok)throw new Error(`HTTP ${p.status}`);return await a(),!0}catch(p){return console.error("Failed to schedule message:",p),!1}},[a,e]),c=f.useCallback(async d=>{try{await xe.scheduledMessages.cancel(d)}catch(p){console.error("Failed to cancel scheduled message:",p)}await a()},[a]);return{scheduledMessages:t,schedule:l,cancel:c,refresh:a}}const yo=20;function vN(e){if(e===void 0)return"";try{return JSON.stringify(e)}catch{return String(e)}}function mD(e,t){return e.id===t.id?!0:e.provider!==t.provider||e.kind!==t.kind||e.timestamp!==t.timestamp||e.role!==t.role?!1:e.toolId||t.toolId?e.toolId===t.toolId:e.rowid!==void 0||t.rowid!==void 0?e.rowid===t.rowid:e.sequence!==void 0||t.sequence!==void 0?e.sequence===t.sequence:(e.content??"")===(t.content??"")&&(e.text??"")===(t.text??"")&&(e.toolName??"")===(t.toolName??"")&&(e.commandName??"")===(t.commandName??"")&&(e.parentToolUseId??"")===(t.parentToolUseId??"")&&vN(e.toolInput)===vN(t.toolInput)}function hD(e,t){const r=Math.min(e.length,t.length);for(let n=r;n>0;n--){const a=e.length-n;let s=!0;for(let i=0;i<n;i++)if(!mD(e[a+i],t[i])){s=!1;break}if(s)return n}return 0}function Awe(e,t,r,n,a=0){if(e.length===0||t.length===0||hD(e,t)>0)return null;const s=Math.max(0,n-r),i=Math.max(0,s-t.length-a),l=a===0?Math.max(1,i+1):yo;return{offset:t.length+a,limit:l}}function _we(e,t){const r=e[e.length-1],n=t[0];if(!r||!n)return!1;const a=Date.parse(r.timestamp),s=Date.parse(n.timestamp);return!Number.isFinite(a)||!Number.isFinite(s)?!1:s<=a}function yN(e,t){if(e.length===0)return{messages:t,overlapLength:0};if(t.length===0)return{messages:e,overlapLength:0};const r=hD(e,t);return r===0?{messages:e,overlapLength:0}:{messages:[...e.slice(0,e.length-r),...t],overlapLength:r}}function fD(e,t){const r=Math.min(e.length,t.length);let n=0;for(let s=r;s>0;s--){const i=t.length-s;let l=!0;for(let c=0;c<s;c++)if(!mD(t[i+c],e[c])){l=!1;break}if(l){n=s;break}}const a=t.length-n;return{messages:[...t.slice(0,a),...e],overlapLength:n,prependedCount:a}}function Pwe(e,t,r,n){return{offset:t,hasMore:(e===0||r)&&n}}function Mwe(e,t){const r=new Set,n=new Map,a=s=>{const i=n.get(s);if(i)return r.add(s),i;const l=(async()=>{try{do if(r.delete(s),await e(s)===!1){r.add(s);break}while(r.has(s)&&t(s))}catch{r.add(s)}})().finally(()=>{n.delete(s)});return n.set(s,l),l};return{request(s,i=!0){return!i||!t(s)?(r.add(s),Promise.resolve()):a(s)},flushPending(s){return!r.has(s)||!t(s)?Promise.resolve():a(s)},discardPending(s){r.delete(s)},hasPending(s){return r.has(s)}}}const wN=e=>e===""?[]:(e.endsWith(`
3819
3819
  `)?e.slice(0,-1):e).split(`
3820
3820
  `),Iwe=(e,t)=>{const r=wN(e),n=wN(t),a=Array.from({length:r.length+1},()=>new Array(n.length+1).fill(0));for(let c=r.length-1;c>=0;c-=1)for(let d=n.length-1;d>=0;d-=1)r[c]===n[d]?a[c][d]=a[c+1][d+1]+1:a[c][d]=Math.max(a[c+1][d],a[c][d+1]);const s=[];let i=0,l=0;for(;i<r.length&&l<n.length;){const c=r[i],d=n[l];if(c===d){i+=1,l+=1;continue}if(a[i+1][l]>=a[i][l+1]){s.push({type:"removed",content:c,lineNum:i+1}),i+=1;continue}s.push({type:"added",content:d,lineNum:l+1}),l+=1}for(;i<r.length;)s.push({type:"removed",content:r[i],lineNum:i+1}),i+=1;for(;l<n.length;)s.push({type:"added",content:n[l],lineNum:l+1}),l+=1;return s},r2=e=>{let t=0,r=0;for(const n of e)n.type==="added"?t+=1:r+=1;return{added:t,removed:r}},n2=e=>{if(typeof e!="string")return e;try{return JSON.parse(e)}catch{return e}},Dwe=()=>{const e=new Map;return(t,r)=>{const n=JSON.stringify([t,r]),a=e.get(n);if(a)return a;const s=Iwe(t,r);if(e.set(n,s),e.size>100){const i=e.keys().next().value;i&&e.delete(i)}return s}};function Rwe(e){if(!e||typeof e!="string")return e;try{return e.replace(/```[ \t]*([^\n\r]+?)[ \t]*```/g,"`$1`")}catch{return e}}function gD(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function zwe(e){if(!e||typeof e!="string")return e;const t=/^\s*<proposed_plan>[ \t]*(?:\r?\n)?/i;return t.test(e)?e.replace(t,"").replace(/(?:\r?\n)?[ \t]*<\/proposed_plan>\s*$/i,""):e}function J1(e){try{return typeof e!="string"?e:e.replace(/Claude AI usage limit reached\|(\d{10,13})/g,(t,r)=>{let n=parseInt(r,10);if(!Number.isFinite(n))return t;n<1e12&&(n*=1e3);const a=new Date(n),s=new Intl.DateTimeFormat(void 0,{hour:"2-digit",minute:"2-digit",hour12:!1}).format(a),i=-a.getTimezoneOffset(),l=i>=0?"+":"-",c=Math.abs(i),d=Math.floor(c/60),p=c%60,u=`GMT${l}${d}${p?":"+String(p).padStart(2,"0"):""}`,g=((Intl.DateTimeFormat().resolvedOptions().timeZone||"").split("/").pop()||"").replace(/_/g," ").toLowerCase().replace(/\b\w/g,y=>y.toUpperCase()),b=g?`${u} (${g})`:u,x=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],v=`${a.getDate()} ${x[a.getMonth()]} ${a.getFullYear()}`;return`Claude usage limit reached. Your limit will reset at **${s} ${b}** - ${v}`})}catch{return e}}function cx(e){const t=typeof e=="string"?e:JSON.stringify(e),r=/^<tool_use_error>([\s\S]*)<\/tool_use_error>$/.exec(t.trim());return r?r[1]:t}const kN=new WeakMap;function Lwe(e){if(!e.trimStart().startsWith("<task-notification>"))return null;const t=/<status>([\s\S]*?)<\/status>/.exec(e),r=/<summary>([\s\S]*?)<\/summary>/.exec(e);let n="";const a=e.indexOf("<result>");if(a!==-1){const s=e.slice(a+8),i=s.indexOf("</result>");n=i===-1?s.replace(/<\/task-notification>\s*$/,"").trim():s.slice(0,i).trim()}return{status:t?.[1]?.trim()||"completed",summary:r?.[1]?.trim()||"Background task finished",result:n}}function dx(e){const t=[],r=new Map,n=new Set,a=new Map,s=new Map,i=new Map;for(const l of e){if(l.parentToolUseId){const c=l.parentToolUseId;let d=a.get(c);switch(d||(d=[],a.set(c,d)),l.kind){case"tool_use":{const p={kind:"tool",toolId:l.toolId,toolName:l.toolName||"Tool",toolInput:l.toolInput,timestamp:l.timestamp};d.push(p),l.toolId&&s.set(l.toolId,p),i.set(c,l);break}case"tool_result":{const p=l.toolId?s.get(l.toolId):void 0;p&&(p.toolResult={content:cx(l.content??""),isError:!!l.isError},i.set(c,l));break}case"text":case"thinking":{(l.kind==="thinking"||l.role==="assistant")&&l.content?.trim()&&(d.push({kind:l.kind==="thinking"?"thinking":"text",content:l.content,timestamp:l.timestamp}),i.set(c,l));break}}continue}l.kind==="tool_use"&&l.toolId&&n.add(l.toolId),l.kind==="tool_result"&&l.toolId&&r.set(l.toolId,l)}for(const l of e){if(l.parentToolUseId)continue;const c=l.kind==="tool_use"&&(l.toolResult||(l.toolId?r.get(l.toolId):null))||null,d=l.kind==="tool_use"&&l.toolId?i.get(l.toolId)??null:null,p=kN.get(l);if(p?.toolResultSource===c&&p.subagentActivitySource===d){t.push(...p.messages);continue}const u=t.length,h={displayText:l.displayText,commandName:l.commandName,commandMessage:l.commandMessage,commandArgs:l.commandArgs,isLocalCommand:l.isLocalCommand,isLocalCommandStdout:l.isLocalCommandStdout,isCompactSummary:l.isCompactSummary,transcriptAnchorId:l.transcriptAnchorId};switch(l.kind){case"text":{const m=l.content||"",g=Array.isArray(l.images)&&l.images.length>0?l.images:void 0,b=Array.isArray(l.files)&&l.files.length>0?l.files:void 0;if(!m.trim()&&!g&&!b)break;if(l.role==="user"){const x=Lwe(m);x?(t.push({type:"assistant",content:x.summary,timestamp:l.timestamp,isTaskNotification:!0,taskStatus:x.status,...h}),x.result&&t.push({type:"assistant",content:J1(x.result),timestamp:l.timestamp,...h})):t.push({type:"user",content:m,timestamp:l.timestamp,images:g,files:b,...h})}else{const x=J1(m);t.push({type:"assistant",content:x,timestamp:l.timestamp,memoryCitations:l.memoryCitations,...h})}break}case"tool_use":{const m=c,g=!!l.subagent||l.toolName==="Task"||l.toolName==="Agent",b=m?{content:cx(m.content),isError:!!m.isError,toolUseResult:m.toolUseResult}:null,x=Array.isArray(l.subagentTools)?l.subagentTools:void 0,v=l.toolId?a.get(l.toolId):void 0,y=v&&v.length>(x?.length??0)?v:x;t.push({type:"assistant",content:"",timestamp:l.timestamp,isToolUse:!0,toolName:l.toolName,toolInput:typeof l.toolInput=="string"?l.toolInput:JSON.stringify(l.toolInput??"",null,2),toolId:l.toolId,toolResult:b,toolStatus:typeof l.status=="string"?l.status:void 0,isSubagentContainer:g,subagent:l.subagent,subagentActivity:y,memoryCitations:l.memoryCitations,...h});break}case"thinking":l.content?.trim()&&t.push({type:"assistant",content:l.content,timestamp:l.timestamp,isThinking:!0,...h});break;case"error":t.push({type:"error",content:l.content||"Unknown error",timestamp:l.timestamp,...h});break;case"task_notification":t.push({type:"assistant",content:l.summary||"Background task update",timestamp:l.timestamp,isTaskNotification:!0,taskStatus:l.status||"completed",...h});break;case"stream_delta":l.content&&t.push({type:"assistant",content:l.content,timestamp:l.timestamp,isStreaming:!0,...h});break;case"stream_end":case"complete":case"status":case"permission_request":case"permission_resolved":case"permission_cancelled":case"session_created":break;case"tool_result":{if(l.toolId&&n.has(l.toolId)||l.toolId)break;const m=cx(l.content||"");if(!m.trim())break;t.push({type:l.isError?"error":"assistant",content:m,timestamp:l.timestamp,toolId:l.toolId,...h});break}}kN.set(l,{toolResultSource:c,subagentActivitySource:d,messages:t.slice(u)})}return t}const $we=10,Fwe=80;function Owe(e){const t=[e.displayText,e.content];typeof e.toolInput=="string"&&t.push(e.toolInput);const r=e.toolResult?.content;return typeof r=="string"&&t.push(r),t.filter(Boolean).join(`
@@ -3886,7 +3886,7 @@ ${e.prompt}`),e.resume&&r.push(`**Resuming from:** ${e.resume}`),{content:r.join
3886
3886
  "Per favore aggiungi una nuova attività per implementare il caricamento delle immagini profilo utente usando Cloudinary, ricerca l'approccio migliore."`},moreExamples:"Vedi altri esempi e pattern di utilizzo →",proTips:{title:"💡 Suggerimenti pro",search:"Usa la barra di ricerca per trovare rapidamente attività specifiche",views:"Passa tra le viste Kanban, Lista e Griglia usando i selettori di vista",filters:"Usa i filtri per concentrarti su stati o priorità specifiche delle attività",details:"Clicca su qualsiasi attività per vedere informazioni dettagliate e gestire le sotto-attività"},learnMore:{title:"📚 Per saperne di più",description:"TaskMaster AI è un sistema avanzato di gestione attività pensato per sviluppatori. Trova documentazione, esempi e contribuisci al progetto.",githubButton:"Vedi su GitHub"}},Nze={placeholder:"Cerca attività..."},Tze={button:"Filtri",status:"Stato",priority:"Priorità",sortBy:"Ordina per",allStatuses:"Tutti gli stati",allPriorities:"Tutte le priorità",showing:"Visualizzate {{filtered}} di {{total}} attività",clearFilters:"Cancella filtri"},Eze={id:"ID",status:"Stato",priority:"Priorità",idAsc:"ID (crescente)",idDesc:"ID (decrescente)",titleAsc:"Titolo (A-Z)",titleDesc:"Titolo (Z-A)",statusAsc:"Stato (in attesa prima)",statusDesc:"Stato (completati prima)",priorityAsc:"Priorità (alta prima)",priorityDesc:"Priorità (bassa prima)"},Aze={kanban:"Vista Kanban",list:"Vista lista",grid:"Vista griglia"},_ze={pending:"📋 Da fare",inProgress:"🚀 In corso",done:"✅ Completate",blocked:"🚫 Bloccate",deferred:"⏳ Rimandate",cancelled:"❌ Annullate",noTasksYet:"Nessuna attività",tasksWillAppear:"Le attività appariranno qui",moveTasksHere:"Sposta le attività qui quando iniziate",completedTasksHere:"Le attività completate appariranno qui",statusTasksHere:"Le attività con questo stato appariranno qui"},Pze={help:"Guida introduttiva TaskMaster",prds:"PRD",addPRD:"Aggiungi PRD",addTask:"Aggiungi attività",createNewPRD:"Crea nuovo PRD",prdsAvailable:"{{count}} PRD disponibili"},Mze={modified:"Modificato: {{date}}"},Ize={pending:"In attesa","in-progress":"In corso",done:"Completata",blocked:"Bloccata",deferred:"Rimandata",cancelled:"Annullata"},Dze={high:"Alta",medium:"Media",low:"Bassa"},Rze={title:"Nessuna attività corrisponde ai filtri",description:"Prova a modificare la ricerca o i criteri di filtro."},zze={notConfigured:kze,gettingStarted:Sze,setupModal:Cze,helpGuide:jze,search:Nze,filters:Tze,sort:Eze,views:Aze,kanban:_ze,buttons:Pze,prd:Mze,statuses:Ize,priorities:Dze,noMatchingTasks:Rze},Lze={save:"儲存",cancel:"取消",delete:"刪除",create:"建立",edit:"編輯",close:"關閉",confirm:"確認",submit:"送出",retry:"重試",refresh:"重新整理",search:"搜尋",clear:"清除",copy:"複製",download:"下載",upload:"上傳",browse:"瀏覽"},$ze={chat:"聊天",shell:"終端機",files:"檔案",git:"版本控制",tasks:"任務",browser:"瀏覽器",computer:"電腦"},Fze={loading:"載入中...",success:"成功",error:"錯誤",failed:"失敗",pending:"待處理",completed:"已完成",inProgress:"進行中"},Oze={savedSuccessfully:"儲存成功",deletedSuccessfully:"刪除成功",updatedSuccessfully:"更新成功",operationFailed:"操作失敗",networkError:"網路錯誤,請檢查您的連線。",unauthorized:"未授權,請登入。",notFound:"找不到",invalidInput:"輸入無效",requiredField:"此欄位為必填",unknownError:"發生未知錯誤"},Bze={settings:"設定",home:"首頁",back:"返回",next:"下一步",previous:"上一步",logout:"登出"},Uze={language:"語言",theme:"佈景主題",darkMode:"深色模式",lightMode:"淺色模式",name:"名稱",description:"描述",enabled:"已啟用",disabled:"已停用",optional:"選填",version:"版本",select:"選取",selectAll:"全選",deselectAll:"取消全選"},Hze={justNow:"剛剛",minutesAgo:"{{count}} 分鐘前",hoursAgo:"{{count}} 小時前",daysAgo:"{{count}} 天前",yesterday:"昨天"},qze={newFile:"新增檔案",newFolder:"新增資料夾",rename:"重新命名",move:"移動",copyPath:"複製路徑",openInEditor:"在編輯器中開啟"},Wze={loading:"正在載入 CloudCLI",settingUpWorkspace:"正在設定您的工作區...",chooseProject:"選擇您的專案",selectProjectDescription:"從側邊欄選擇一個專案以開始使用 Claude 進行程式開發。每個專案包含您的聊天紀錄和檔案歷史。",tip:"提示",createProjectMobile:"點擊上方的選單按鈕以存取專案",createProjectDesktop:"點擊側邊欄中的資料夾圖示以建立新專案",newSession:"新工作階段",untitledSession:"未命名工作階段",projectFiles:"專案檔案"},Vze={loading:"正在載入檔案...",files:"檔案",simpleView:"簡易檢視",compactView:"精簡檢視",detailedView:"詳細檢視",searchPlaceholder:"搜尋檔案和資料夾...",clearSearch:"清除搜尋",name:"名稱",size:"大小",modified:"修改時間",permissions:"權限",noFilesFound:"找不到檔案",checkProjectPath:"請檢查專案路徑是否可存取",noMatchesFound:"找不到符合項目",tryDifferentSearch:"嘗試不同的搜尋詞或清除搜尋",justNow:"剛剛",minAgo:"{{count}} 分鐘前",hoursAgo:"{{count}} 小時前",daysAgo:"{{count}} 天前",newFile:"新增檔案 (Cmd+N)",newFolder:"新增資料夾 (Cmd+Shift+N)",refresh:"重新整理",collapseAll:"全部收合",context:{rename:"重新命名",delete:"刪除",copyPath:"複製路徑",download:"下載",newFile:"新增檔案",newFolder:"新增資料夾",upload:"上傳檔案",refresh:"重新整理",menuLabel:"檔案右鍵選單",loading:"載入中..."}},Gze={title:"建立新專案",steps:{type:"類型",configure:"設定",confirm:"確認"},step1:{question:"您已經有工作區,還是想建立一個新的工作區?",existing:{title:"現有工作區",description:"我的伺服器上已經有工作區,只需要將其加入專案列表"},new:{title:"新建工作區",description:"建立新工作區,可選擇從 GitHub 儲存庫複製"}},step2:{existingPath:"工作區路徑",newPath:"工作區路徑",existingPlaceholder:"/path/to/existing/workspace",newPlaceholder:"/path/to/new/workspace",existingHelp:"您現有工作區目錄的完整路徑",newHelp:"工作區目錄的完整路徑",githubUrl:"GitHub URL(選填)",githubPlaceholder:"https://github.com/username/repository",githubHelp:"選填:提供 GitHub URL 以複製儲存庫",githubAuth:"GitHub 身分驗證(選填)",githubAuthHelp:"僅私有儲存庫需要。公開儲存庫無需身分驗證即可複製。",loadingTokens:"正在載入已儲存的權杖...",storedToken:"已儲存的權杖",newToken:"新權杖",nonePublic:"無(公開)",selectToken:"選取權杖",selectTokenPlaceholder:"-- 選取權杖 --",tokenPlaceholder:"ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",tokenHelp:"此權杖僅用於此操作",publicRepoInfo:"公開儲存庫不需要身分驗證。如果複製公開儲存庫,可以略過提供權杖。",noTokensHelp:"沒有可用的已儲存權杖。您可以在 設定 → API 金鑰 中新增權杖以便重複使用。",optionalTokenPublic:"GitHub 權杖(公開儲存庫可選)",tokenPublicPlaceholder:"ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx(公開儲存庫可留空)"},step3:{reviewConfig:"檢閱您的設定",existingWorkspace:"現有工作區",newWorkspace:"新建工作區",path:"路徑:",cloneFrom:"複製自:",authentication:"身分驗證:",usingStoredToken:"使用已儲存的權杖:",usingProvidedToken:"使用提供的權杖",noAuthentication:"無身分驗證",sshKey:"SSH 金鑰",existingInfo:"工作區將加入您的專案列表,並可用於 Claude/Cursor 工作階段。",newWithClone:"儲存庫將從此資料夾複製。",newEmpty:"工作區將加入您的專案列表,並可用於 Claude/Cursor 工作階段。",cloningRepository:"正在複製儲存庫..."},buttons:{cancel:"取消",back:"返回",next:"下一步",createProject:"建立專案",creating:"建立中...",cloning:"正在複製..."},errors:{selectType:"請選擇您已有現有工作區還是想建立新工作區",providePath:"請提供工作區路徑",failedToCreate:"建立工作區失敗",failedToCreateFolder:"建立資料夾失敗"}},Kze={genericTool:"工具",codes:{generic:{info:{title:"通知"}},permission:{required:{title:"需要處理",body:"{{toolName}} 正在等待你的決定。"}},run:{stopped:{title:"執行已停止",body:"原因:{{reason}}"},failed:{title:"執行失敗"}},agent:{notification:{title:"Agent 通知"}}}},Yze={title:"有可用更新",newVersionReady:"新版本已準備就緒",currentVersion:"目前版本",latestVersion:"最新版本",whatsNew:"新功能:",viewFullRelease:"查看完整發行說明",updateProgress:"更新進度:",manualUpgrade:"手動升級:",npmUpgradeCommand:"npm install -g @cloudcli-ai/cloudcli@latest",manualUpgradeHint:"或點擊「立即更新」以自動執行更新。",updateCompleted:"更新成功完成!",restartServer:"請重新啟動伺服器以套用變更。",updateFailed:"更新失敗",buttons:{close:"關閉",later:"稍後",copyCommand:"複製指令",updateNow:"立即更新",updating:"更新中..."},ariaLabels:{closeModal:"關閉版本升級對話框",showSidebar:"顯示側邊欄",settings:"設定",updateAvailable:"有可用更新",closeSidebar:"關閉側邊欄"}},Xze={buttons:Lze,tabs:$ze,status:Fze,messages:Oze,navigation:Bze,common:Uze,time:Hze,fileOperations:qze,mainContent:Wze,fileTree:Vze,projectWizard:Gze,notifications:Kze,versionUpdate:Yze},Zze="設定",Jze={account:"帳戶",permissions:"權限",mcpServers:"MCP 伺服器",appearance:"外觀"},Qze={title:"帳戶",language:"語言",languageLabel:"顯示語言",languageDescription:"選擇您偏好的介面語言",username:"使用者名稱",email:"電子郵件",profile:"個人檔案",changePassword:"變更密碼"},eLe={title:"MCP 伺服器",addServer:"新增伺服器",editServer:"編輯伺服器",deleteServer:"刪除伺服器",serverName:"伺服器名稱",serverType:"伺服器類型",config:"設定",testConnection:"測試連線",status:"狀態",connected:"已連線",disconnected:"未連線",scope:{label:"範圍",user:"使用者",project:"專案"}},tLe={title:"外觀",theme:"佈景主題",codeEditor:"程式碼編輯器",editorTheme:"編輯器佈景主題",wordWrap:"自動換行",showMinimap:"顯示縮圖",lineNumbers:"行號",fontSize:"字型大小"},rLe={saveChanges:"儲存變更",resetToDefaults:"重設為預設值",cancelChanges:"取消變更"},nLe={title:"快速設定",sections:{appearance:"外觀",toolDisplay:"工具顯示",inputSettings:"輸入設定"},darkMode:"深色模式",showRawParameters:"顯示原始參數",showThinking:"顯示思考過程",sendByCtrlEnter:"使用 Ctrl+Enter 傳送",sendByCtrlEnterDescription:"啟用後,按 Ctrl+Enter 傳送訊息,而不是僅按 Enter。這對於使用輸入法的使用者可以避免意外傳送。",dragHandle:{dragging:"正在拖曳手柄",closePanel:"關閉設定面板",openPanel:"開啟設定面板",draggingStatus:"正在拖曳...",toggleAndMove:"點擊切換,拖曳移動"}},aLe={title:"終端機快速鍵",sectionKeys:"按鍵",sectionNavigation:"導覽",escape:"Escape",tab:"Tab",shiftTab:"Shift+Tab",arrowUp:"向上箭頭",arrowDown:"向下箭頭",scrollDown:"捲動到底部",handle:{closePanel:"關閉快速鍵面板",openPanel:"開啟快速鍵面板"}},sLe={label:"設定",agents:"智慧代理",appearance:"外觀",git:"Git",apiTokens:"API 和權杖",tasks:"任務",computer:"電腦使用",notifications:"通知",plugins:"外掛",about:"關於"},oLe={title:"通知",description:"控制你希望接收的通知事件。",webPush:{title:"Web 推播通知",enable:"啟用推播通知",disable:"關閉推播通知",enabled:"推播通知已啟用",loading:"更新中...",unsupported:"此瀏覽器不支援推播通知。",denied:"推播通知已被封鎖,請在瀏覽器設定中允許。"},sound:{title:"聲音",description:"聊天執行完成時播放短提示音。",enabled:"已啟用",test:"測試聲音"},events:{title:"事件類型",actionRequired:"需要處理",stop:"執行已停止",error:"執行失敗"}},iLe={darkMode:{label:"深色模式",description:"切換淺色和深色佈景主題"},projectSorting:{label:"專案排序",description:"專案在側邊欄中的排列方式",alphabetical:"依字母順序",recentActivity:"最近活動"},codeEditor:{title:"程式碼編輯器",theme:{label:"編輯器佈景主題",description:"程式碼編輯器的預設佈景主題"},wordWrap:{label:"自動換行",description:"在編輯器中預設啟用自動換行"},showMinimap:{label:"顯示縮圖",description:"在差異檢視中顯示縮圖以便於導覽"},lineNumbers:{label:"顯示行號",description:"在編輯器中顯示行號"},fontSize:{label:"字型大小",description:"編輯器字型大小(px)"}}},lLe={title:{add:"新增 MCP 伺服器",edit:"編輯 MCP 伺服器"},importMode:{form:"表單輸入",json:"JSON 匯入"},scope:{label:"範圍",userGlobal:"使用者(全域)",projectLocal:"專案(本機)",userDescription:"使用者範圍:在您機器上的所有專案中可用",projectDescription:"本機範圍:僅在選定專案中可用",cannotChange:"編輯現有伺服器時無法變更範圍"},fields:{serverName:"伺服器名稱",transportType:"傳輸類型",command:"指令",arguments:"參數(每行一個)",jsonConfig:"JSON 設定",url:"URL",envVars:"環境變數(KEY=值,每行一個)",headers:"標頭(KEY=值,每行一個)",selectProject:"選取專案..."},placeholders:{serverName:"我的服務"},validation:{missingType:"缺少必填欄位:type",stdioRequiresCommand:"stdio 類型需要 command 欄位",httpRequiresUrl:"{{type}} 類型需要 url 欄位",invalidJson:"無效的 JSON 格式",jsonHelp:"貼上您的 MCP 伺服器設定(JSON 格式)。範例格式:",jsonExampleStdio:'• stdio: {"type":"stdio","command":"npx","args":["@upstash/context7-mcp"]}',jsonExampleHttp:'• http/sse: {"type":"http","url":"https://api.example.com/mcp"}'},configDetails:"設定詳細資訊(來自 {{configFile}})",projectPath:"路徑:{{path}}",actions:{cancel:"取消",saving:"儲存中...",addServer:"新增伺服器",updateServer:"更新伺服器"}},cLe={success:"設定儲存成功!",error:"儲存設定失敗",saving:"儲存中..."},dLe={save:"儲存設定",cancel:"取消"},uLe={title:"Git 設定",description:"設定您的 git 提交身分。這些設定將透過 git config --global 全域套用",name:{label:"Git 名稱",help:"您的 git 提交名稱"},email:{label:"Git 電子郵件",help:"您的 git 提交電子郵件"},actions:{save:"儲存設定",saving:"儲存中..."},status:{success:"儲存成功"}},pLe={title:"API 金鑰",description:"產生 API 金鑰以從其他應用程式存取外部 API。",newKey:{alertTitle:"⚠️ 儲存您的 API 金鑰",alertMessage:"這是您唯一一次看到此金鑰。請妥善保存。",iveSavedIt:"我已儲存"},form:{placeholder:"API 金鑰名稱(例如:正式伺服器)",createButton:"建立",cancelButton:"取消"},newButton:"新增 API 金鑰",empty:"尚未建立 API 金鑰。",list:{created:"建立時間:",lastUsed:"最後使用:"},confirmDelete:"確定要刪除此 API 金鑰嗎?",status:{active:"啟用",inactive:"未啟用"},github:{title:"GitHub 權杖",description:"新增 GitHub 個人存取權杖以透過外部 API 複製私有儲存庫。",descriptionAlt:"新增 GitHub 個人存取權杖以複製私有儲存庫。您也可以直接在 API 請求中傳遞權杖而無需儲存。",addButton:"新增權杖",form:{namePlaceholder:"權杖名稱(例如:個人儲存庫)",tokenPlaceholder:"GitHub 個人存取權杖(ghp_...)",descriptionPlaceholder:"描述(選填)",addButton:"新增權杖",cancelButton:"取消",howToCreate:"如何建立 GitHub 個人存取權杖 →"},empty:"尚未新增 GitHub 權杖。",added:"新增時間:",confirmDelete:"確定要刪除此 GitHub 權杖嗎?"},apiDocsLink:"API 文件",documentation:{title:"外部 API 文件",description:"了解如何使用外部 API 從您的應用程式觸發 Claude/Cursor 工作階段。",viewLink:"查看 API 文件 →"},loading:"載入中...",version:{updateAvailable:"有可用更新:v{{version}}"}},mLe={checking:"正在檢查 TaskMaster 安裝...",notInstalled:{title:"未安裝 TaskMaster AI CLI",description:"需要 TaskMaster CLI 才能使用任務管理功能。安裝它以開始使用:",installCommand:"npm install -g task-master-ai",viewOnGitHub:"在 GitHub 上查看",afterInstallation:"安裝後:",steps:{restart:"重新啟動此應用程式",autoAvailable:"TaskMaster 功能將自動啟用",initCommand:"在專案目錄中使用 task-master init"}},settings:{enableLabel:"啟用 TaskMaster 整合",enableDescription:"在整個介面中顯示 TaskMaster 任務、橫幅和側邊欄指示器"}},hLe={authStatus:{checking:"檢查中...",connected:"已連線",notConnected:"未連線",disconnected:"已中斷連線",checkingAuth:"正在檢查驗證狀態...",loggedInAs:"登入為 {{email}}",authenticatedUser:"已驗證使用者"},account:{claude:{description:"Anthropic Claude AI 助手"},cursor:{description:"Cursor AI 驅動的程式碼編輯器"},codex:{description:"OpenAI Codex AI 助手"},opencode:{description:"OpenCode CLI assistant"},mistral:{description:"Mistral AI assistant"}},connectionStatus:"連線狀態",login:{title:"登入",reAuthenticate:"重新驗證",description:"登入您的 {{agent}} 帳戶以啟用 AI 功能",reAuthDescription:"使用其他帳戶登入或重新整理憑證",button:"登入",reLoginButton:"重新登入"},error:"錯誤:{{error}}"},fLe={title:"權限設定",skipPermissions:{label:"略過權限提示(請謹慎使用)",claudeDescription:"等同於 --dangerously-skip-permissions 旗標",cursorDescription:"等同於 Cursor CLI 中的 -f 旗標"},allowedTools:{title:"允許的工具",description:"無需權限提示即可自動使用的工具",placeholder:'例如:"Bash(git log:*)" 或 "Write"',quickAdd:"快速新增常用工具:",empty:"未設定允許的工具"},blockedTools:{title:"停用的工具",description:"無需權限提示即可自動停用的工具",placeholder:'例如:"Bash(rm:*)"',empty:"未設定停用的工具"},allowedCommands:{title:"允許的 Shell 指令",description:"無需權限提示即可自動執行的 Shell 指令",placeholder:'例如:"Shell(ls)" 或 "Shell(git status)"',quickAdd:"快速新增常用指令:",empty:"未設定允許的指令"},blockedCommands:{title:"封鎖的 Shell 指令",description:"自動封鎖的 Shell 指令",placeholder:'例如:"Shell(rm -rf)" 或 "Shell(sudo)"',empty:"未設定封鎖的指令"},toolExamples:{title:"工具模式範例:",bashGitLog:"- 允許所有 git log 指令",bashGitDiff:"- 允許所有 git diff 指令",write:"- 允許所有 Write 工具使用",bashRm:"- 封鎖所有 rm 指令(危險)"},shellExamples:{title:"Shell 指令範例:",ls:"- 允許 ls 指令",gitStatus:"- 允許 git status",npmInstall:"- 允許 npm install",rmRf:"- 封鎖遞迴刪除"},codex:{permissionMode:"權限模式",description:"控制 Codex 如何處理檔案修改和指令執行",modes:{default:{title:"預設",description:"在工作區沙箱內執行指令。Codex 決定何時需要核准;此非互動式整合無法核准請求。"},acceptEdits:{title:"接受編輯",description:"所有指令在工作區內自動執行。具有沙箱執行的全自動模式。"},bypassPermissions:{title:"略過權限",description:"完全系統存取,無任何限制。所有指令自動執行,具有完整的磁碟和網路存取權限。請謹慎使用。"}},technicalDetails:"技術詳情",technicalInfo:{default:"sandboxMode=workspace-write, approvalPolicy=on-request. 在工作區沙箱內執行指令。Codex 決定何時需要核准;此非互動式整合無法核准請求。",acceptEdits:"sandboxMode=workspace-write, approvalPolicy=never。所有指令在專案目錄內自動執行。",bypassPermissions:"sandboxMode=danger-full-access, approvalPolicy=never。完全系統存取權限,僅在可信環境中使用。",overrideNote:"您可以使用聊天介面中的模式按鈕按工作階段覆蓋此設定。"}},actions:{add:"新增"}},gLe={title:"MCP 伺服器",description:{claude:"Model Context Protocol 伺服器為 Claude 提供額外的工具和資料來源",cursor:"Model Context Protocol 伺服器為 Cursor 提供額外的工具和資料來源",codex:"Model Context Protocol 伺服器為 Codex 提供額外的工具和資料來源",opencode:"Model Context Protocol 伺服器為 Claude 提供額外的工具和資料來源",mistral:"Model Context Protocol servers provide additional tools and data sources to Mistral"},addButton:"新增 MCP 伺服器",empty:"未設定 MCP 伺服器",serverType:"類型",scope:{local:"本機",user:"使用者"},config:{command:"指令",url:"URL",args:"參數",environment:"環境變數"},tools:{title:"工具",count:"({{count}}):",more:"還有 {{count}} 個"},actions:{edit:"編輯伺服器",delete:"刪除伺服器"},help:{title:"關於 Codex MCP",description:"Codex 支援基於 stdio 的 MCP 伺服器。您可以新增伺服器,透過額外的工具和資源來擴充 Codex 的功能。"}},bLe={title:"外掛",description:"透過自訂外掛擴充介面。從 git 安裝或直接將資料夾放入 ~/.claude-code-ui/plugins/",installPlaceholder:"https://github.com/user/my-plugin",installButton:"安裝",installing:"安裝中…",securityWarning:"僅安裝您已審查過原始碼或信任作者的外掛。",scanningPlugins:"正在掃描外掛…",noPluginsInstalled:"未安裝外掛",pullLatest:"從 git 拉取最新內容",noGitRemote:"無 git 遠端儲存庫 — 無法更新",uninstallPlugin:"解除安裝外掛",confirmUninstall:"再次點擊確認",confirmUninstallMessage:"移除 {{name}}?此操作無法復原。",cancel:"取消",remove:"移除",updateFailed:"更新失敗",installFailed:"安裝失敗",uninstallFailed:"解除安裝失敗",toggleFailed:"切換失敗",buildYourOwn:"建立您自己的外掛",starter:"入門範本",docs:"文件",starterPlugin:{name:"專案統計",badge:"入門",description:"查看專案的檔案數、程式碼行數、檔案類型分佈以及最近活動。",install:"安裝"},morePlugins:"更多",enable:"啟用",disable:"停用",installAriaLabel:"外掛 git 儲存庫 URL",tab:"分頁",runningStatus:"執行中"},xLe={title:Zze,tabs:Jze,account:Qze,mcp:eLe,appearance:tLe,actions:rLe,quickSettings:nLe,terminalShortcuts:aLe,mainTabs:sLe,notifications:oLe,appearanceSettings:iLe,mcpForm:lLe,saveStatus:cLe,footerActions:dLe,git:uLe,apiKeys:pLe,tasks:mLe,agents:hLe,permissions:fLe,mcpServers:gLe,pluginSettings:bLe},vLe={title:"歡迎回來",description:"登入您的 CloudCLI 帳戶",username:"使用者名稱",password:"密碼",submit:"登入",loading:"登入中...",errors:{invalidCredentials:"使用者名稱或密碼無效",requiredFields:"請填寫所有欄位",networkError:"網路錯誤,請重試。"},placeholders:{username:"輸入您的使用者名稱",password:"輸入您的密碼"}},yLe={title:"建立帳戶",username:"使用者名稱",password:"密碼",confirmPassword:"確認密碼",submit:"建立帳戶",loading:"建立帳戶中...",errors:{passwordMismatch:"密碼不一致",usernameTaken:"使用者名稱已被使用",weakPassword:"密碼強度太弱"}},wLe={title:"登出",confirm:"確定要登出嗎?",button:"登出"},kLe={login:vLe,register:yLe,logout:wLe},SLe={title:"專案",newProject:"新增專案",deleteProject:"移除專案",renameProject:"重新命名專案",noProjects:"找不到專案",loadingProjects:"載入專案中...",searchPlaceholder:"搜尋專案...",projectNamePlaceholder:"專案名稱",starred:"星號標記",all:"全部",untitledSession:"未命名工作階段",newSession:"新工作階段",codexSession:"Codex 工作階段",fetchingProjects:"正在取得您的 Claude 專案和工作階段",projects:"專案",noMatchingProjects:"找不到符合的專案",tryDifferentSearch:"嘗試調整您的搜尋詞",runClaudeCli:"在專案目錄中執行 Claude CLI 以開始使用"},CLe={title:"CloudCLI",subtitle:"AI 程式開發助手"},jLe={title:"工作階段",newSession:"新增工作階段",deleteSession:"刪除工作階段",renameSession:"重新命名工作階段",noSessions:"暫無工作階段",loadingSessions:"載入工作階段中...",unnamed:"未命名",loading:"載入中...",showMore:"顯示更多工作階段"},NLe={viewEnvironments:"查看環境",hideSidebar:"隱藏側邊欄",createProject:"建立新專案",refresh:"重新整理專案和工作階段 (Ctrl+R)",renameProject:"重新命名專案 (F2)",deleteProject:"從側邊欄移除專案 (Delete)",addToFavorites:"加入收藏",removeFromFavorites:"從收藏移除",editSessionName:"手動編輯工作階段名稱",deleteSession:"永久刪除此工作階段",save:"儲存",cancel:"取消",clearSearch:"清除搜尋",openCommandPalette:"開啟指令面板",attentionRequiredIndicator:"工作階段需要處理"},TLe={chat:"聊天",files:"檔案",git:"Git",terminal:"終端機",tasks:"任務"},ELe={refresh:"重新整理",settings:"設定",collapseAll:"全部收合",expandAll:"全部展開",cancel:"取消",save:"儲存",delete:"刪除",rename:"重新命名",joinCommunity:"加入社群",reportIssue:"回報問題",starOnGithub:"在 GitHub 上加星"},ALe={openSource:"開源"},_Le={active:"使用中",inactive:"非使用中",thinking:"思考中...",error:"錯誤",aborted:"已中止",unknown:"未知"},PLe={justNow:"剛剛",oneMinuteAgo:"1 分鐘前",minutesAgo:"{{count}} 分鐘前",oneHourAgo:"1 小時前",hoursAgo:"{{count}} 小時前",oneDayAgo:"1 天前",daysAgo:"{{count}} 天前"},MLe={deleteConfirm:"確定要刪除嗎?",renameSuccess:"重新命名成功",deleteSuccess:"刪除成功",errorOccurred:"發生錯誤",deleteSessionConfirm:"確定要刪除此工作階段嗎?此操作無法復原。",deleteProjectConfirm:"從側邊欄移除此專案?您的專案檔案、記憶和工作階段資料不會被刪除。",enterProjectPath:"請輸入專案路徑",deleteSessionFailed:"刪除工作階段失敗,請重試。",deleteSessionError:"刪除工作階段時出錯,請重試。",renameSessionFailed:"重新命名工作階段失敗,請重試。",renameSessionError:"重新命名工作階段時出錯,請重試。",deleteProjectFailed:"移除專案失敗,請重試。",deleteProjectError:"移除專案時出錯,請重試。",createProjectFailed:"建立專案失敗,請重試。",createProjectError:"建立專案時出錯,請重試。",updateProjectError:"更新專案時出錯,請重試。",refreshError:"重新整理失敗,請重試。",restoreProjectFailed:"還原專案失敗,請重試。",restoreProjectError:"還原專案時出錯,請重試。",restoreSessionFailed:"還原工作階段失敗,請重試。",restoreSessionError:"還原工作階段時出錯,請重試。",forkSessionError:"無法分支此工作階段,請再試一次。"},ILe={updateAvailable:"有可用更新",restartRequired:"已安裝更新 — 請重新啟動伺服器以套用"},DLe={modeProjects:"專案",modeConversations:"對話",conversationsPlaceholder:"搜尋對話內容...",searching:"搜尋中...",sessionTitles:"工作階段標題",conversationContents:"對話內容",noResults:"找不到結果",tryDifferentQuery:"嘗試不同的搜尋詞",matches_one:"{{count}} 個符合",matches_other:"{{count}} 個符合",projectsScanned_one:"{{count}} 個專案已掃描",projectsScanned_other:"{{count}} 個專案已掃描"},RLe={deleteProject:"移除專案",deleteSession:"刪除工作階段",confirmDelete:"您想如何處理",sessionCount_one:"此專案包含 {{count}} 個對話。",sessionCount_other:"此專案包含 {{count}} 個對話。",removeFromSidebar:"僅從側邊欄移除",archiveProject:"封存專案",archiveSession:"封存工作階段",archiveSessionNotice:"封存會將工作階段移出使用中清單,但保留其歷史記錄。",archivedSessionNotice:"此工作階段已封存。您可以將其保持隱藏,或永久刪除。",deleteSessionPermanently:"永久刪除",deleteAllData:"永久刪除所有資料",allConversationsDeleted:"專案將從側邊欄中移除。您的檔案、記憶和工作階段資料將會保留。",cannotUndo:"您可以稍後重新新增此專案。"},zLe={projects:SLe,app:CLe,sessions:jLe,tooltips:NLe,navigation:TLe,actions:ELe,branding:ALe,status:_Le,time:PLe,messages:MLe,version:ILe,search:DLe,deleteConfirmation:RLe},LLe={copy:"複製",copied:"已複製",copyCode:"複製程式碼"},$Le={copy:"複製訊息",copied:"訊息已複製",selectFormat:"選擇複製格式",copyAsMarkdown:"複製為 Markdown",copyAsText:"複製為純文字"},FLe={user:"U",error:"錯誤",tool:"工具",claude:"Claude",cursor:"Cursor",codex:"Codex",opencode:"OpenCode",mistral:"Mistral"},OLe={settings:"工具設定",error:"工具錯誤",result:"工具結果",viewParams:"查看輸入參數",viewRawParams:"查看原始參數",viewDiff:"查看編輯差異",creatingFile:"建立新檔案:",updatingTodo:"更新待辦事項",read:"讀取",readFile:"讀取檔案",updateTodo:"更新待辦清單",readTodo:"讀取待辦清單",searchResults:"結果"},BLe={found:"找到 {{count}} 個{{type}}",file:"檔案",files:"檔案",pattern:"模式:",in:"在:"},ULe={updated:"檔案更新成功",created:"檔案建立成功",written:"檔案寫入成功",diff:"差異",newFile:"新檔案",viewContent:"查看檔案內容",viewFullOutput:"查看完整輸出({{count}} 個字元)",contentDisplayed:"檔案內容顯示在上方的差異檢視中"},HLe={title:"思考中...",emoji:"💭 思考中..."},qLe={response:"JSON 回應"},WLe={grant:"授予 {{tool}} 權限",added:"權限已新增",addTo:"將 {{entry}} 加入允許的工具。",retry:"權限已儲存。重試請求以使用該工具。",error:"無法更新權限。請重試。",openSettings:"開啟設定"},VLe={updated:"待辦清單已成功更新",current:"目前待辦清單"},GLe={viewPlan:"📋 查看實作計畫",title:"實作計畫"},KLe={resetAt:"Claude 使用限制已達到。您的限制將在 **{{time}} {{timezone}}** - {{date}} 重置"},YLe={permissionMode:"權限模式",modes:{default:"預設模式",auto:"自動模式",acceptEdits:"編輯模式",bypassPermissions:"無限制模式",plan:"計畫模式"},descriptions:{default:"只有受信任的指令(ls、cat、grep、git status 等)自動執行。其他指令將被略過。可以寫入工作區。",auto:"由模型分類器針對每次工具呼叫決定核准或拒絕。免手動操作,但比 Bypass 安全——仍可能發生拒絕。",acceptEdits:"工作區內的所有指令自動執行。完全自動模式,具有沙箱執行功能。",bypassPermissions:"完全的系統存取,無限制。所有指令自動執行,具有完整的磁碟和網路存取權限。請謹慎使用。",plan:"計畫模式 - 不執行任何指令"},technicalDetails:"技術細節"},XLe={placeholder:"輸入 / 叫用指令,@ 選取檔案,或向 {{provider}} 提問...",placeholderDefault:"輸入您的訊息...",disabled:"輸入已停用",attachFiles:"附加檔案",attachImages:"附加圖片",send:"傳送",stop:"停止",hintText:{ctrlEnter:"Ctrl+Enter 傳送 • Shift+Enter 換行 • Tab 切換模式 • / 斜線指令",enter:"Enter 傳送 • Shift+Enter 換行 • Tab 切換模式 • / 斜線指令"},clickToChangeMode:"點擊變更權限模式(或在輸入框中按 Tab)",showAllCommands:"顯示所有指令",clearInput:"清空輸入",scrollToBottom:"捲動到底部"},ZLe={selector:{title:"思考模式",description:"延伸思考讓 Claude 有更多時間來評估替代方案",active:"啟用",tip:"更高的思考模式需要更多時間,但提供更徹底的分析"},modes:{none:{name:"標準",description:"一般 Claude 回應",prefix:""},think:{name:"思考",description:"基本延伸思考",prefix:"思考"},thinkHard:{name:"深入思考",description:"更徹底的評估",prefix:"深入思考"},thinkHarder:{name:"更深入思考",description:"考慮替代方案的深度分析",prefix:"更深入思考"},ultrathink:{name:"超級思考",description:"最大思考預算",prefix:"超級思考"}},buttonTitle:"思考模式:{{mode}}"},JLe={title:"選擇您的 AI 助手",description:"選擇一個提供者以開始新對話",selectModel:"選擇模型",providerInfo:{anthropic:"由 Anthropic 提供",openai:"由 OpenAI 提供",cursorEditor:"AI 程式碼編輯器",google:"由 Google 提供"},readyPrompt:{claude:"準備好使用 {{model}} 的 Claude。請在下方開始輸入您的訊息。",cursor:"準備好使用 {{model}} 的 Cursor。請在下方開始輸入您的訊息。",codex:"準備好使用 {{model}} 的 Codex。請在下方開始輸入您的訊息。",default:"請在上方選擇一個提供者以開始",opencode:"準備好使用 {{model}} 的 Claude。請在下方開始輸入您的訊息。",mistral:"Ready to use Mistral with {{model}}. Start typing your message below."},pressToSearch:"按 <kbd>{{shortcut}}</kbd> 搜尋工作階段、檔案和提交"},QLe={continue:{title:"繼續您的對話",description:"詢問有關程式碼的問題、要求修改或取得開發任務的協助"},loading:{olderMessages:"正在載入較早的訊息...",sessionMessages:"正在載入工作階段訊息..."},messages:{showingOf:"顯示 {{shown}} / {{total}} 則訊息",scrollToLoad:"向上捲動以載入更多",showingLast:"顯示最近 {{count}} 則訊息(共 {{total}} 則)",loadEarlier:"載入較早的訊息",loadAll:"載入全部訊息",loadingAll:"正在載入全部訊息...",allLoaded:"全部訊息已載入",perfWarning:"已載入全部訊息 - 捲動可能變慢。點擊「捲動到底部」恢復效能。"}},e$e={selectProject:{title:"選擇專案",description:"選擇一個專案以在該目錄中開啟互動式 Shell"},status:{newSession:"新工作階段",initializing:"初始化中...",restarting:"重新啟動中..."},actions:{disconnect:"中斷連線",disconnectTitle:"中斷 Shell 連線",restart:"重新啟動",restartTitle:"重新啟動 Shell(請先中斷連線)",connect:"在 Shell 中繼續",connectTitle:"連線到 Shell",bypass:"繞過",bypassOnTitle:"權限繞過已開啟 — 點擊關閉(將重啟 CLI)",bypassOffTitle:"權限繞過已關閉 — 點擊開啟(將重啟 CLI)"},loading:"正在載入終端機...",connecting:"正在連線到 Shell...",startSession:"啟動新的 Claude 工作階段",resumeSession:"恢復工作階段:{{displayName}}...",runCommand:"在 {{projectName}} 中執行 {{command}}",startCli:"在 {{projectName}} 中啟動 Claude CLI",defaultCommand:"指令"},t$e={actions:{thinking:"思考中",processing:"處理中",analyzing:"分析中",working:"執行中",computing:"運算中",reasoning:"推理中"},state:{live:"進行中",paused:"已暫停"},elapsed:{seconds:"{{count}} 秒",minutesSeconds:"{{minutes}} 分 {{seconds}} 秒",label:"已過 {{time}}",startingNow:"正要開始"},controls:{stopGeneration:"停止生成",pressEscToStop:"隨時按 Esc 即可停止"},providers:{assistant:"助理"}},r$e={startChatWithProvider:"選擇一個專案以開始與 {{provider}} 聊天"},n$e={nextTaskPrompt:"開始下一個任務"},a$e={editAndResend:"編輯並重新傳送",forkFromHere:"從此處分支"},s$e={editing:{title:"正在取代先前的訊息",filesNotReverted:"已修改的檔案不會還原",cancel:"取消"}},o$e={trigger:"排程這則訊息",heading:"稍後傳送",customLabel:"或選擇時間",confirm:"排程",in:{15:"15 分鐘後",60:"1 小時後",480:"8 小時後",1440:"明天"},pending:"將於 {{when}} 傳送",failed:"未傳送 — {{reason}}",cancel:"取消排程訊息",dismiss:"關閉失敗提示"},i$e={codeBlock:LLe,copyMessage:$Le,messageTypes:FLe,tools:OLe,search:BLe,fileOperations:ULe,thinking:HLe,json:qLe,permissions:WLe,todo:VLe,plan:GLe,usageLimit:KLe,codex:YLe,input:XLe,thinkingMode:ZLe,providerSelection:JLe,session:QLe,shell:e$e,claudeStatus:t$e,projectSelection:r$e,tasks:n$e,message:a$e,composer:s$e,export:{trigger:"匯出對話",heading:"匯出為",untitled:"對話",html:{label:"網頁 (.html)",description:"單一檔案,與應用程式外觀一致,可列印為 PDF。"},markdown:{label:"Markdown (.md)",description:"含工具呼叫與差異的純文字。"},json:{label:"JSON (.json)",description:"全部訊息原樣輸出,供工具使用。"}},schedule:o$e},l$e={changes:"個變更",previousChange:"上一個變更",nextChange:"下一個變更",hideDiff:"隱藏差異醒目提示",showDiff:"顯示差異醒目提示",settings:"編輯器設定",collapse:"收合編輯器",expand:"展開編輯器到全寬"},c$e="正在載入 {{fileName}}...",d$e={showingChanges:"顯示變更"},u$e={copyPath:"複製檔案路徑",pathCopied:"已複製檔案路徑",download:"下載檔案",save:"儲存",saving:"儲存中...",saved:"已儲存!",exitFullscreen:"離開全螢幕",fullscreen:"全螢幕",close:"關閉"},p$e={lines:"行數:",characters:"字元數:",shortcuts:"按 Ctrl+S 儲存 • Esc 關閉"},m$e={title:"二進位檔案",message:"檔案「{{fileName}}」無法在文字編輯器中顯示,因為它是二進位檔案。"},h$e={toolbar:l$e,loading:c$e,header:d$e,actions:u$e,footer:p$e,binaryFile:m$e},f$e={title:"TaskMaster AI 尚未設定",description:"TaskMaster 協助將複雜的專案分解為可管理的任務,搭配 AI 驅動的輔助功能",whatIsTitle:"🎯 什麼是 TaskMaster?",features:{aiPowered:"AI 驅動的任務管理:將複雜專案分解為可管理的子任務",prdTemplates:"PRD 範本:從產品需求文件產生任務",dependencyTracking:"相依性追蹤:了解任務關係和執行順序",progressVisualization:"進度視覺化:看板和詳細的任務分析",cliIntegration:"CLI 整合:使用 taskmaster 指令進行進階工作流程"},initializeButton:"初始化 TaskMaster AI"},g$e={title:"開始使用 TaskMaster",subtitle:"TaskMaster 已初始化!以下是接下來要做的事:",steps:{createPRD:{title:"建立產品需求文件(PRD)",description:"討論您的專案構想並建立描述您想建立什麼的 PRD。",addButton:"新增 PRD",existingPRDs:"現有的 PRD:"},generateTasks:{title:"從 PRD 產生任務",description:"一旦您有了 PRD,請 AI 助手解析它,TaskMaster 將自動將其分解為可管理的任務,包含實作細節。"},analyzeTasks:{title:"分析並展開任務",description:"請 AI 助手分析任務複雜度,並將其展開為詳細的子任務以便於實作。"},startBuilding:{title:"開始建構",description:"請 AI 助手開始處理任務、更新狀態,並在專案演進時新增任務。"}},tip:"💡 提示:從 PRD 開始可以充分利用 TaskMaster 的 AI 驅動任務產生功能"},b$e={title:"TaskMaster 設定",subtitle:"{{projectName}} 的互動式 CLI",willStart:"TaskMaster 初始化將自動開始",completed:"TaskMaster 設定完成!您現在可以關閉此視窗。",closeButton:"關閉",closeContinueButton:"關閉並繼續"},x$e={title:"開始使用 TaskMaster",subtitle:"您的高效任務管理指南",examples:{parsePRD:`💬 範例:
3887
3887
  「我剛用 Claude Task Master 初始化了一個新專案。我有一個 PRD 在 .taskmaster/docs/prd.txt。你能幫我解析它並設定初始任務嗎?」`,expandTask:`💬 範例:
3888
3888
  「任務 5 看起來很複雜。你能把它分解成子任務嗎?」`,addTask:`💬 範例:
3889
- 「請新增一個任務來實作使用 Cloudinary 的使用者個人頭像上傳功能,研究最佳方法。」`},moreExamples:"查看更多範例和使用模式 →",proTips:{title:"💡 專業提示",search:"使用搜尋列快速找到特定任務",views:"使用檢視切換在看板、清單和網格檢視之間切換",filters:"使用篩選器聚焦特定任務狀態或優先順序",details:"點擊任何任務以查看詳細資訊和管理子任務"},learnMore:{title:"📚 了解更多",description:"TaskMaster AI 是為開發者打造的進階任務管理系統。取得文件、範例並為專案做出貢獻。",githubButton:"在 GitHub 上查看"}},v$e={placeholder:"搜尋任務..."},y$e={button:"篩選",status:"狀態",priority:"優先順序",sortBy:"排序依據",allStatuses:"所有狀態",allPriorities:"所有優先順序",showing:"顯示 {{filtered}} / {{total}} 個任務",clearFilters:"清除篩選"},w$e={id:"ID",status:"狀態",priority:"優先順序",idAsc:"ID(遞增)",idDesc:"ID(遞減)",titleAsc:"標題(A-Z)",titleDesc:"標題(Z-A)",statusAsc:"狀態(待處理優先)",statusDesc:"狀態(已完成優先)",priorityAsc:"優先順序(高優先)",priorityDesc:"優先順序(低優先)"},k$e={kanban:"看板檢視",list:"清單檢視",grid:"網格檢視"},S$e={pending:"📋 待辦",inProgress:"🚀 進行中",done:"✅ 已完成",blocked:"🚫 已封鎖",deferred:"⏳ 已延後",cancelled:"❌ 已取消",noTasksYet:"尚無任務",tasksWillAppear:"任務將顯示在這裡",moveTasksHere:"開始後將任務移到這裡",completedTasksHere:"已完成的任務顯示在這裡",statusTasksHere:"此狀態的任務將顯示在這裡"},C$e={help:"TaskMaster 入門指南",prds:"PRD",addPRD:"新增 PRD",addTask:"新增任務",createNewPRD:"建立新 PRD",prdsAvailable:"{{count}} 個 PRD 可用"},j$e={modified:"修改時間:{{date}}"},N$e={pending:"待處理","in-progress":"進行中",done:"已完成",blocked:"已封鎖",deferred:"已延後",cancelled:"已取消"},T$e={high:"高",medium:"中",low:"低"},E$e={title:"沒有符合篩選條件的任務",description:"嘗試調整您的搜尋或篩選條件。"},A$e={notConfigured:f$e,gettingStarted:g$e,setupModal:b$e,helpGuide:x$e,search:v$e,filters:y$e,sort:w$e,views:k$e,kanban:S$e,buttons:C$e,prd:j$e,statuses:N$e,priorities:T$e,noMatchingTasks:E$e},Th=[{value:"en",label:"English",nativeName:"English"},{value:"fr",label:"French",nativeName:"Français"},{value:"es",label:"Spanish",nativeName:"Español"},{value:"ko",label:"Korean",nativeName:"한국어"},{value:"zh-CN",label:"Simplified Chinese",nativeName:"简体中文"},{value:"zh-TW",label:"Traditional Chinese",nativeName:"繁體中文"},{value:"ja",label:"Japanese",nativeName:"日本語"},{value:"ru",label:"Russian",nativeName:"Русский"},{value:"de",label:"German",nativeName:"Deutsch"},{value:"tr",label:"Turkish",nativeName:"Türkçe"},{value:"it",label:"Italian",nativeName:"Italiano"}],mR={description:"Meld dich bei deinem PieceMaker-Konto an"},_$e={login:mR},P$e=Object.freeze(Object.defineProperty({__proto__:null,default:_$e,login:mR},Symbol.toStringTag,{value:"Module"})),hR={selectProject:{title:"Dossier auswählen",description:"Wähl ein Dossier, um ein interaktives Terminal in diesem Verzeichnis zu öffnen"}},fR={startChatWithProvider:"Wähl ein Dossier, um mit {{provider}} zu chatten"},M$e={shell:hR,projectSelection:fR},I$e=Object.freeze(Object.defineProperty({__proto__:null,default:M$e,projectSelection:fR,shell:hR},Symbol.toStringTag,{value:"Module"})),D$e={},R$e=Object.freeze(Object.defineProperty({__proto__:null,default:D$e},Symbol.toStringTag,{value:"Module"})),gR={loading:"PieceMaker wird geladen",chooseProject:"Dossier auswählen",selectProjectDescription:"Wähl ein Dossier aus der Seitenleiste, um mit Claude zu programmieren. Jedes Dossier enthält deine Chat-Sitzungen und den Dateiverlauf.",createProjectMobile:"Tipp oben auf die Menüschaltfläche, um auf Dossiers zuzugreifen",createProjectDesktop:"Erstell ein neues Dossier, indem du auf das Ordnersymbol in der Seitenleiste klickst",projectFiles:"Dossierdateien"},bR={checkProjectPath:"Überprüf, ob der Dossierpfad zugänglich ist"},xR={title:"Neues Dossier erstellen",step1:{existing:{description:"Ich habe bereits einen Arbeitsbereich auf meinem Server und möchte ihn nur zur Dossierliste hinzufügen"}},step3:{existingInfo:"Der Arbeitsbereich wird zur Dossierliste hinzugefügt und steht für Claude/Cursor-Sitzungen zur Verfügung.",newEmpty:"Der Arbeitsbereich wird zur Dossierliste hinzugefügt und steht für Claude/Cursor-Sitzungen zur Verfügung."},buttons:{createProject:"Dossier erstellen"}},z$e={mainContent:gR,fileTree:bR,projectWizard:xR},L$e=Object.freeze(Object.defineProperty({__proto__:null,default:z$e,fileTree:bR,mainContent:gR,projectWizard:xR},Symbol.toStringTag,{value:"Module"})),vR={scope:{project:"Dossier"}},yR={projectSorting:{label:"Dossiersortierung",description:"Wie Dossiers in der Seitenleiste angeordnet werden"}},wR={scope:{projectLocal:"Dossier (Lokal)",userDescription:"Benutzerbereich: In allen Dossiers deines Computers verfügbar",projectDescription:"Lokaler Bereich: Nur im ausgewählten Dossier verfügbar"},fields:{selectProject:"Dossier auswählen..."}},kR={notInstalled:{steps:{initCommand:"task-master init in deinem Dossierverzeichnis verwenden"}}},SR={codex:{technicalInfo:{acceptEdits:"sandboxMode=workspace-write, approvalPolicy=never. Alle Befehle werden automatisch innerhalb des Dossierverzeichnisses ausgeführt."}}},CR={starterPlugin:{name:"Dossierstatistiken",description:"Dateianzahl, Codezeilen, Dateityp-Aufschlüsselung und aktuelle Aktivitäten für dein Dossier."}},$$e={mcp:vR,appearanceSettings:yR,mcpForm:wR,tasks:kR,permissions:SR,pluginSettings:CR},F$e=Object.freeze(Object.defineProperty({__proto__:null,appearanceSettings:yR,default:$$e,mcp:vR,mcpForm:wR,permissions:SR,pluginSettings:CR,tasks:kR},Symbol.toStringTag,{value:"Module"})),jR={title:"Dossiers",newProject:"Neues Dossier",deleteProject:"Dossier entfernen",renameProject:"Dossier umbenennen",noProjects:"Keine Dossiers gefunden",loadingProjects:"Dossiers werden geladen...",searchPlaceholder:"Dossiers durchsuchen...",projectNamePlaceholder:"Dossiername",fetchingProjects:"Deine Claude-Dossiers und -Sitzungen werden abgerufen",projects:"Dossiers",noMatchingProjects:"Keine passenden Dossiers",runClaudeCli:"Führ Claude CLI in einem Dossierverzeichnis aus, um zu beginnen"},NR={title:"PieceMaker"},TR={createProject:"Neues Dossier erstellen",refresh:"Dossiers und Sitzungen aktualisieren (Strg+R)",renameProject:"Dossier umbenennen (F2)",deleteProject:"Dossier aus Seitenleiste entfernen (Entf)"},ER={deleteProjectConfirm:"Dossier aus der Seitenleiste entfernen? Deine Dossierdateien, Erinnerungen und Sitzungsdaten werden nicht gelöscht.",enterProjectPath:"Bitte gib einen Dossierpfad ein",deleteProjectFailed:"Dossier konnte nicht entfernt werden. Bitte erneut versuchen.",deleteProjectError:"Fehler beim Entfernen des Dossiers. Bitte erneut versuchen.",createProjectFailed:"Dossier konnte nicht erstellt werden. Bitte erneut versuchen.",createProjectError:"Fehler beim Erstellen des Dossiers. Bitte erneut versuchen.",updateProjectError:"Fehler beim Aktualisieren des Dossiers. Bitte erneut versuchen.",restoreProjectFailed:"Dossier konnte nicht wiederhergestellt werden. Bitte erneut versuchen.",restoreProjectError:"Fehler beim Wiederherstellen des Dossiers. Bitte erneut versuchen."},AR={modeProjects:"Dossiers",projectsScanned_one:"{{count}} Dossier durchsucht",projectsScanned_other:"{{count}} Dossiers durchsucht"},_R={deleteProject:"Dossier entfernen",sessionCount_one:"Dieses Dossier enthält {{count}} Unterhaltung.",sessionCount_other:"Dieses Dossier enthält {{count}} Unterhaltungen.",archiveProject:"Dossier archivieren",allConversationsDeleted:"Das Dossier wird aus der Seitenleiste entfernt. Deine Dateien, Erinnerungen und Sitzungsdaten bleiben erhalten.",cannotUndo:"Du kannst das Dossier später erneut hinzufügen."},O$e={projects:jR,app:NR,tooltips:TR,messages:ER,search:AR,deleteConfirmation:_R},B$e=Object.freeze(Object.defineProperty({__proto__:null,app:NR,default:O$e,deleteConfirmation:_R,messages:ER,projects:jR,search:AR,tooltips:TR},Symbol.toStringTag,{value:"Module"})),PR={description:"Sign in to your PieceMaker self-hosted account",footerText:"Enter your credentials to access PieceMaker"},MR={openSource:"PieceMaker is open source"},U$e={login:PR,misc:MR},H$e=Object.freeze(Object.defineProperty({__proto__:null,default:U$e,login:PR,misc:MR},Symbol.toStringTag,{value:"Module"})),IR={selectProject:{title:"Select a Case",description:"Choose a case to open an interactive shell in that directory"}},DR={startChatWithProvider:"Select a case to start chatting with {{provider}}"},RR={fallbackCommands:{memory:"Open the case CLAUDE.md memory file."}},q$e={shell:IR,projectSelection:DR,misc:RR},W$e=Object.freeze(Object.defineProperty({__proto__:null,default:q$e,misc:RR,projectSelection:DR,shell:IR},Symbol.toStringTag,{value:"Module"})),V$e={},G$e=Object.freeze(Object.defineProperty({__proto__:null,default:V$e},Symbol.toStringTag,{value:"Module"})),zR={loading:"Loading PieceMaker",chooseProject:"Choose Your Case",selectProjectDescription:"Select a case from the sidebar to start coding with Claude. Each case contains your chat sessions and file history.",createProjectMobile:"Tap the menu button above to access cases",createProjectDesktop:"Create a new case by clicking the folder icon in the sidebar",projectFiles:"Case Files"},LR={checkProjectPath:"Check if the case path is accessible"},$R={title:"Create New Case",step1:{existing:{description:"I already have a workspace on my server and just need to add it to the case list"}},step3:{existingInfo:"The workspace will be added to your case list and will be available for Claude/Cursor sessions.",newEmpty:"The workspace will be added to your case list and will be available for Claude/Cursor sessions."},buttons:{createProject:"Create Case"}},FR={selectProjectFirst:"Select a case first"},OR={projectFallback:"Case",noProjectSelected:"No Case Selected",projectRequiredForShell:"A case is required to open a shell"},K$e={mainContent:zR,fileTree:LR,projectWizard:$R,commandPalette:FR,misc:OR},Y$e=Object.freeze(Object.defineProperty({__proto__:null,commandPalette:FR,default:K$e,fileTree:LR,mainContent:zR,misc:OR,projectWizard:$R},Symbol.toStringTag,{value:"Module"})),BR={selectProject:"Select a case to view source control"},UR={noRepoDescription:"This case is not a git repository yet. Initialize one to start tracking changes and use source control features."},HR={description:"Remove the worktree for {{branch}}? Its folder is deleted and the linked case is archived — chat sessions stay recoverable."},X$e={panel:BR,errorState:UR,remove:HR},Z$e=Object.freeze(Object.defineProperty({__proto__:null,default:X$e,errorState:UR,panel:BR,remove:HR},Symbol.toStringTag,{value:"Module"})),qR={scope:{project:"Case"}},WR={projectSorting:{label:"Case Sorting",description:"How cases are ordered in the sidebar"}},VR={scope:{projectLocal:"Case (Local)",userDescription:"User scope: Available across all cases on your machine",projectDescription:"Local scope: Only available in the selected case"},fields:{selectProject:"Select a case..."},scopes:{project:"Case",projectAllProviders:"Case (All Providers)",userGlobalDesc:"Available across all cases on your machine",userAllProvidersDesc:"Writes to each provider user config and is available across cases on this machine",localDesc:"Stored in Claude user settings for the selected case",projectDesc:"Stored in the selected case workspace",projectAllProvidersDesc:"Writes to the selected case workspace for every provider"}},GR={notInstalled:{steps:{initCommand:"Use task-master init in your case directory"}}},KR={codex:{technicalInfo:{acceptEdits:"sandboxMode=workspace-write, approvalPolicy=never. All commands auto-execute within case directory."}}},YR={managed:{hint:"Managed by PieceMaker."}},XR={sections:{officialDescription:"Maintained by the PieceMaker team and ready for direct install."},starterPlugin:{name:"Case Stats",description:"File counts, lines of code, file-type breakdown, and recent activity for your case."}},ZR={description:"Manage {{provider}} skills from local files, complete folders, and case-aware locations.",scanningProjectSkills:"Scanning case skills...",emptyDescription:"Add a global skill above or create case-specific skill folders in your workspace.",noMatchDescription:"Try a different command, name, scope, case, or source path.",projectBadge:"Case: {{name}}",scopes:{project:"Case"}},JR={refreshingScopes:"Refreshing case scopes..."},QR={proLink:"Available with PieceMaker Pro"},ez={selectProjectRequired:"Select a case for case-scoped MCP servers",globalScopeUnsupported:"Add MCP Server supports only user or case scope across all providers."},tz={hostedTitle:"Try PieceMaker Hosted",proFeaturesTitle:"PieceMaker Pro Features",teamManagementDescription:"Multiple users, role-based access, and shared cases for your team.",proCta:"Available with PieceMaker Pro"},J$e={mcp:qR,appearanceSettings:WR,mcpForm:VR,tasks:GR,permissions:KR,mcpServers:YR,pluginSettings:XR,skillsPage:ZR,mcpServersAdd:JR,mcpTeamCard:QR,mcpServersAddErrors:ez,about:tz},Q$e=Object.freeze(Object.defineProperty({__proto__:null,about:tz,appearanceSettings:WR,default:J$e,mcp:qR,mcpForm:VR,mcpServers:YR,mcpServersAdd:JR,mcpServersAddErrors:ez,mcpTeamCard:QR,permissions:KR,pluginSettings:XR,skillsPage:ZR,tasks:GR},Symbol.toStringTag,{value:"Module"})),rz={title:"Cases",newProject:"New Case",deleteProject:"Remove Case",renameProject:"Rename Case",noProjects:"No cases found",loadingProjects:"Loading cases...",searchPlaceholder:"Search cases...",projectNamePlaceholder:"Case name",fetchingProjects:"Fetching your Claude cases and sessions",projects:"cases",noMatchingProjects:"No matching cases",runClaudeCli:"Run Claude CLI in a case directory to get started"},nz={title:"PieceMaker"},az={createProject:"Create new case",refresh:"Refresh cases and sessions (Ctrl+R)",renameProject:"Rename case (F2)",deleteProject:"Remove case from sidebar (Delete)"},sz={deleteProjectConfirm:"Remove this case from the sidebar? Your case files, memories, and session data will not be deleted.",enterProjectPath:"Please enter a case path",deleteProjectFailed:"Failed to remove case. Please try again.",deleteProjectError:"Error removing case. Please try again.",createProjectFailed:"Failed to create case. Please try again.",createProjectError:"Error creating case. Please try again.",updateProjectError:"Error updating case. Please try again.",restoreProjectFailed:"Failed to restore case. Please try again.",restoreProjectError:"Error restoring case. Please try again."},oz={modeProjects:"Cases",projectsScanned_one:"{{count}} case scanned",projectsScanned_other:"{{count}} cases scanned"},iz={deleteProject:"Remove Case",sessionCount_one:"This case contains {{count}} conversation.",sessionCount_other:"This case contains {{count}} conversations.",archiveProject:"Archive case",allConversationsDeleted:"The case will be removed from the sidebar. Your files, memories, and session data will be preserved.",cannotUndo:"You can re-add the case later."},eFe={projects:rz,app:nz,tooltips:az,messages:sz,search:oz,deleteConfirmation:iz},tFe=Object.freeze(Object.defineProperty({__proto__:null,app:nz,default:eFe,deleteConfirmation:iz,messages:sz,projects:rz,search:oz,tooltips:az},Symbol.toStringTag,{value:"Module"})),lz={description:"Inicia sesión en tu cuenta autoalojada de PieceMaker"},rFe={login:lz},nFe=Object.freeze(Object.defineProperty({__proto__:null,default:rFe,login:lz},Symbol.toStringTag,{value:"Module"})),cz={selectProject:{title:"Selecciona un expediente",description:"Elige un expediente para abrir una shell interactiva en ese directorio"}},dz={startChatWithProvider:"Selecciona un expediente para empezar a chatear con {{provider}}"},aFe={shell:cz,projectSelection:dz},sFe=Object.freeze(Object.defineProperty({__proto__:null,default:aFe,projectSelection:dz,shell:cz},Symbol.toStringTag,{value:"Module"})),oFe={},iFe=Object.freeze(Object.defineProperty({__proto__:null,default:oFe},Symbol.toStringTag,{value:"Module"})),uz={loading:"Cargando PieceMaker",chooseProject:"Elige tu expediente",selectProjectDescription:"Selecciona un expediente en la barra lateral para empezar a programar con Claude. Cada expediente contiene tus sesiones de chat e historial de archivos.",createProjectMobile:"Toca el botón de menú de arriba para acceder a los expedientes",createProjectDesktop:"Crea un expediente nuevo haciendo clic en el icono de carpeta de la barra lateral",projectFiles:"Archivos del expediente"},pz={checkProjectPath:"Comprueba si la ruta del expediente es accesible"},mz={title:"Crear expediente nuevo",step1:{existing:{description:"Ya tengo un espacio de trabajo en mi servidor y solo necesito añadirlo a la lista de expedientes"}},step3:{existingInfo:"El espacio de trabajo se añadirá a tu lista de expedientes y estará disponible para sesiones de Claude/Cursor.",newEmpty:"El espacio de trabajo se añadirá a tu lista de expedientes y estará disponible para sesiones de Claude/Cursor."},buttons:{createProject:"Crear expediente"}},lFe={mainContent:uz,fileTree:pz,projectWizard:mz},cFe=Object.freeze(Object.defineProperty({__proto__:null,default:lFe,fileTree:pz,mainContent:uz,projectWizard:mz},Symbol.toStringTag,{value:"Module"})),hz={scope:{project:"Expediente"}},fz={projectSorting:{label:"Orden de expedientes",description:"Cómo se ordenan los expedientes en la barra lateral"}},gz={scope:{projectLocal:"Expediente (local)",userDescription:"Ámbito de usuario: disponible en todos los expedientes de tu máquina",projectDescription:"Ámbito local: solo disponible en el expediente seleccionado"},fields:{selectProject:"Selecciona un expediente..."}},bz={notInstalled:{steps:{initCommand:"Usa task-master init en el directorio de tu expediente"}}},xz={codex:{technicalInfo:{acceptEdits:"sandboxMode=workspace-write, approvalPolicy=never. Todos los comandos se autoejecutan dentro del directorio del expediente."}}},vz={managed:{hint:"Gestionado por PieceMaker."}},yz={sections:{officialDescription:"Mantenidos por el equipo de PieceMaker y listos para instalar directamente."},starterPlugin:{name:"Estadísticas del expediente",description:"Recuento de archivos, líneas de código, desglose por tipo de archivo y actividad reciente de tu expediente."}},dFe={mcp:hz,appearanceSettings:fz,mcpForm:gz,tasks:bz,permissions:xz,mcpServers:vz,pluginSettings:yz},uFe=Object.freeze(Object.defineProperty({__proto__:null,appearanceSettings:fz,default:dFe,mcp:hz,mcpForm:gz,mcpServers:vz,permissions:xz,pluginSettings:yz,tasks:bz},Symbol.toStringTag,{value:"Module"})),wz={title:"Expedientes",newProject:"Nuevo expediente",deleteProject:"Quitar expediente",renameProject:"Renombrar expediente",noProjects:"No se encontraron expedientes",loadingProjects:"Cargando expedientes...",searchPlaceholder:"Buscar expedientes...",projectNamePlaceholder:"Nombre del expediente",fetchingProjects:"Obteniendo tus expedientes y sesiones de Claude",projects:"expedientes",noMatchingProjects:"No hay expedientes que coincidan",runClaudeCli:"Ejecuta Claude CLI en el directorio de un expediente para empezar"},kz={title:"PieceMaker"},Sz={createProject:"Crear expediente nuevo",refresh:"Actualizar expedientes y sesiones (Ctrl+R)",renameProject:"Renombrar expediente (F2)",deleteProject:"Quitar expediente de la barra lateral (Supr)"},Cz={deleteProjectConfirm:"¿Quitar este expediente de la barra lateral? Tus archivos, memorias y datos de sesión no se eliminarán.",enterProjectPath:"Introduce la ruta del expediente",deleteProjectFailed:"No se pudo quitar el expediente. Inténtalo de nuevo.",deleteProjectError:"Error al quitar el expediente. Inténtalo de nuevo.",createProjectFailed:"No se pudo crear el expediente. Inténtalo de nuevo.",createProjectError:"Error al crear el expediente. Inténtalo de nuevo.",updateProjectError:"Error al actualizar el expediente. Inténtalo de nuevo.",restoreProjectFailed:"No se pudo restaurar el expediente. Inténtalo de nuevo.",restoreProjectError:"Error al restaurar el expediente. Inténtalo de nuevo."},jz={modeProjects:"Expedientes",projectsScanned_one:"{{count}} expediente examinado",projectsScanned_other:"{{count}} expedientes examinados"},Nz={deleteProject:"Quitar expediente",sessionCount_one:"Este expediente contiene {{count}} conversación.",sessionCount_other:"Este expediente contiene {{count}} conversaciones.",archiveProject:"Archivar expediente",allConversationsDeleted:"El expediente se quitará de la barra lateral. Tus archivos, memorias y datos de sesión se conservarán.",cannotUndo:"Puedes volver a añadir el expediente más tarde."},pFe={projects:wz,app:kz,tooltips:Sz,messages:Cz,search:jz,deleteConfirmation:Nz},mFe=Object.freeze(Object.defineProperty({__proto__:null,app:kz,default:pFe,deleteConfirmation:Nz,messages:Cz,projects:wz,search:jz,tooltips:Sz},Symbol.toStringTag,{value:"Module"})),Tz={description:"Connectez-vous à votre compte PieceMaker auto-hébergé"},hFe={login:Tz},fFe=Object.freeze(Object.defineProperty({__proto__:null,default:hFe,login:Tz},Symbol.toStringTag,{value:"Module"})),Ez={selectProject:{title:"Sélectionner un dossier",description:"Choisissez un dossier pour ouvrir un shell interactif dans ce répertoire"}},Az={startChatWithProvider:"Sélectionnez un dossier pour commencer à chatter avec {{provider}}"},gFe={shell:Ez,projectSelection:Az},bFe=Object.freeze(Object.defineProperty({__proto__:null,default:gFe,projectSelection:Az,shell:Ez},Symbol.toStringTag,{value:"Module"})),xFe={},vFe=Object.freeze(Object.defineProperty({__proto__:null,default:xFe},Symbol.toStringTag,{value:"Module"})),_z={loading:"Chargement de PieceMaker",chooseProject:"Choisissez votre dossier",selectProjectDescription:"Sélectionnez un dossier dans la barre latérale pour commencer à coder avec Claude. Chaque dossier contient vos sessions de chat et l'historique des fichiers.",createProjectMobile:"Appuyez sur le bouton menu ci-dessus pour accéder aux dossiers",createProjectDesktop:"Créez un nouveau dossier en cliquant sur l'icône de dossier dans la barre latérale",projectFiles:"Fichiers du dossier"},Pz={checkProjectPath:"Vérifiez si le chemin du dossier est accessible"},Mz={title:"Créer un nouveau dossier",step1:{existing:{description:"J'ai déjà un espace de travail sur mon serveur et je veux juste l'ajouter à la liste des dossiers"}},step3:{existingInfo:"L'espace de travail sera ajouté à votre liste de dossiers et disponible pour les sessions Claude/Cursor.",newEmpty:"L'espace de travail sera ajouté à votre liste de dossiers et disponible pour les sessions Claude/Cursor."},buttons:{createProject:"Créer le dossier"}},yFe={mainContent:_z,fileTree:Pz,projectWizard:Mz},wFe=Object.freeze(Object.defineProperty({__proto__:null,default:yFe,fileTree:Pz,mainContent:_z,projectWizard:Mz},Symbol.toStringTag,{value:"Module"})),Iz={scope:{project:"Dossier"}},Dz={projectSorting:{label:"Tri des dossiers",description:"Ordre d'affichage des dossiers dans la barre latérale"}},Rz={scope:{projectLocal:"Dossier (local)",userDescription:"Portée utilisateur : Disponible dans tous les dossiers sur votre machine",projectDescription:"Portée locale : Disponible uniquement dans le dossier sélectionné"},fields:{selectProject:"Sélectionner un dossier..."}},zz={notInstalled:{steps:{initCommand:"Utilisez task-master init dans le répertoire de votre dossier"}}},Lz={codex:{technicalInfo:{acceptEdits:"sandboxMode=workspace-write, approvalPolicy=never. Toutes les commandes s'exécutent automatiquement dans le répertoire du dossier."}}},$z={sections:{officialDescription:"Maintenus par l'équipe PieceMaker et prêts à être installés directement."},starterPlugin:{name:"Statistiques du dossier",description:"Nombre de fichiers, lignes de code, répartition par type de fichier et activité récente pour votre dossier."}},kFe={mcp:Iz,appearanceSettings:Dz,mcpForm:Rz,tasks:zz,permissions:Lz,pluginSettings:$z},SFe=Object.freeze(Object.defineProperty({__proto__:null,appearanceSettings:Dz,default:kFe,mcp:Iz,mcpForm:Rz,permissions:Lz,pluginSettings:$z,tasks:zz},Symbol.toStringTag,{value:"Module"})),Fz={title:"Dossiers",newProject:"Nouveau dossier",deleteProject:"Supprimer le dossier",renameProject:"Renommer le dossier",noProjects:"Aucun dossier trouvé",loadingProjects:"Chargement des dossiers...",searchPlaceholder:"Rechercher des dossiers...",projectNamePlaceholder:"Nom du dossier",fetchingProjects:"Récupération de vos dossiers et sessions Claude",projects:"dossiers",noMatchingProjects:"Aucun dossier correspondant",runClaudeCli:"Exécutez le CLI Claude dans le répertoire d'un dossier pour commencer"},Oz={title:"PieceMaker"},Bz={createProject:"Créer un nouveau dossier",refresh:"Actualiser les dossiers et sessions (Ctrl+R)",renameProject:"Renommer le dossier (F2)",deleteProject:"Retirer le dossier de la barre latérale (Suppr)"},Uz={deleteProjectConfirm:"Retirer ce dossier de la barre latérale ? Vos fichiers, mémoires et données de session ne seront pas supprimés.",enterProjectPath:"Veuillez entrer un chemin de dossier",deleteProjectFailed:"Échec de la suppression du dossier. Veuillez réessayer.",deleteProjectError:"Erreur lors de la suppression du dossier. Veuillez réessayer.",createProjectFailed:"Échec de la création du dossier. Veuillez réessayer.",createProjectError:"Erreur lors de la création du dossier. Veuillez réessayer.",updateProjectError:"Erreur lors de la mise à jour du dossier. Veuillez réessayer.",restoreProjectFailed:"Échec de la restauration du dossier. Veuillez réessayer.",restoreProjectError:"Erreur lors de la restauration du dossier. Veuillez réessayer."},Hz={modeProjects:"Dossiers",projectsScanned_one:"{{count}} dossier analysé",projectsScanned_other:"{{count}} dossiers analysés"},qz={deleteProject:"Supprimer le dossier",sessionCount_one:"Ce dossier contient {{count}} conversation.",sessionCount_other:"Ce dossier contient {{count}} conversations.",archiveProject:"Archiver le dossier",allConversationsDeleted:"Le dossier sera retiré de la barre latérale. Vos fichiers, mémoires et données de session seront conservés.",cannotUndo:"Vous pourrez rajouter le dossier ultérieurement."},CFe={projects:Fz,app:Oz,tooltips:Bz,messages:Uz,search:Hz,deleteConfirmation:qz},jFe=Object.freeze(Object.defineProperty({__proto__:null,app:Oz,default:CFe,deleteConfirmation:qz,messages:Uz,projects:Fz,search:Hz,tooltips:Bz},Symbol.toStringTag,{value:"Module"})),Wz={description:"Accedi al tuo account PieceMaker self-hosted"},NFe={login:Wz},TFe=Object.freeze(Object.defineProperty({__proto__:null,default:NFe,login:Wz},Symbol.toStringTag,{value:"Module"})),Vz={selectProject:{title:"Seleziona un fascicolo",description:"Scegli un fascicolo per aprire una shell interattiva in quella directory"}},Gz={startChatWithProvider:"Seleziona un fascicolo per iniziare a chattare con {{provider}}"},EFe={shell:Vz,projectSelection:Gz},AFe=Object.freeze(Object.defineProperty({__proto__:null,default:EFe,projectSelection:Gz,shell:Vz},Symbol.toStringTag,{value:"Module"})),_Fe={},PFe=Object.freeze(Object.defineProperty({__proto__:null,default:_Fe},Symbol.toStringTag,{value:"Module"})),Kz={loading:"Caricamento PieceMaker",chooseProject:"Scegli il tuo fascicolo",selectProjectDescription:"Seleziona un fascicolo dalla barra laterale per iniziare a programmare con Claude. Ogni fascicolo contiene le tue sessioni di chat e la cronologia dei file.",createProjectMobile:"Tocca il pulsante menu in alto per accedere ai fascicoli",createProjectDesktop:"Crea un nuovo fascicolo cliccando l'icona cartella nella barra laterale",projectFiles:"File del fascicolo"},Yz={checkProjectPath:"Verifica che il percorso del fascicolo sia accessibile"},Xz={title:"Crea nuovo fascicolo",step1:{existing:{description:"Ho già un'area di lavoro sul mio server e devo solo aggiungerla alla lista dei fascicoli"}},step3:{existingInfo:"L'area di lavoro verrà aggiunta alla lista dei fascicoli e sarà disponibile per le sessioni Claude/Cursor.",newEmpty:"L'area di lavoro verrà aggiunta alla lista dei fascicoli e sarà disponibile per le sessioni Claude/Cursor."},buttons:{createProject:"Crea fascicolo"}},MFe={mainContent:Kz,fileTree:Yz,projectWizard:Xz},IFe=Object.freeze(Object.defineProperty({__proto__:null,default:MFe,fileTree:Yz,mainContent:Kz,projectWizard:Xz},Symbol.toStringTag,{value:"Module"})),Zz={scope:{project:"Fascicolo"}},Jz={projectSorting:{label:"Ordinamento fascicoli",description:"Come vengono ordinati i fascicoli nella barra laterale"}},Qz={scope:{projectLocal:"Fascicolo (locale)",userDescription:"Ambito utente: disponibile in tutti i fascicoli sulla tua macchina",projectDescription:"Ambito locale: disponibile solo nel fascicolo selezionato"},fields:{selectProject:"Seleziona un fascicolo..."}},eL={notInstalled:{steps:{initCommand:"Usa task-master init nella directory del tuo fascicolo"}}},tL={codex:{technicalInfo:{acceptEdits:"sandboxMode=workspace-write, approvalPolicy=never. Tutti i comandi vengono auto-eseguiti nella directory del fascicolo."}}},rL={starterPlugin:{name:"Statistiche fascicolo",description:"Conteggio file, righe di codice, ripartizione per tipo di file e attività recente per il tuo fascicolo."}},DFe={mcp:Zz,appearanceSettings:Jz,mcpForm:Qz,tasks:eL,permissions:tL,pluginSettings:rL},RFe=Object.freeze(Object.defineProperty({__proto__:null,appearanceSettings:Jz,default:DFe,mcp:Zz,mcpForm:Qz,permissions:tL,pluginSettings:rL,tasks:eL},Symbol.toStringTag,{value:"Module"})),nL={title:"Fascicoli",newProject:"Nuovo fascicolo",deleteProject:"Rimuovi fascicolo",renameProject:"Rinomina fascicolo",noProjects:"Nessun fascicolo trovato",loadingProjects:"Caricamento fascicoli...",searchPlaceholder:"Cerca fascicoli...",projectNamePlaceholder:"Nome fascicolo",fetchingProjects:"Recupero dei tuoi fascicoli e sessioni Claude",projects:"fascicoli",noMatchingProjects:"Nessun fascicolo corrispondente",runClaudeCli:"Esegui Claude CLI in una directory di fascicolo per iniziare"},aL={title:"PieceMaker"},sL={createProject:"Crea nuovo fascicolo",refresh:"Aggiorna fascicoli e sessioni (Ctrl+R)",renameProject:"Rinomina fascicolo (F2)",deleteProject:"Rimuovi fascicolo dalla barra laterale (Canc)"},oL={deleteProjectConfirm:"Rimuovere questo fascicolo dalla barra laterale? I file del fascicolo, le memorie e i dati delle sessioni non verranno eliminati.",enterProjectPath:"Inserisci un percorso di fascicolo",deleteProjectFailed:"Impossibile rimuovere il fascicolo. Riprova.",deleteProjectError:"Errore durante la rimozione del fascicolo. Riprova.",createProjectFailed:"Impossibile creare il fascicolo. Riprova.",createProjectError:"Errore durante la creazione del fascicolo. Riprova.",updateProjectError:"Errore durante l'aggiornamento del fascicolo. Riprova.",restoreProjectFailed:"Impossibile ripristinare il fascicolo. Riprova.",restoreProjectError:"Errore durante il ripristino del fascicolo. Riprova."},iL={modeProjects:"Fascicoli",projectsScanned_one:"{{count}} fascicolo analizzato",projectsScanned_other:"{{count}} fascicoli analizzati"},lL={deleteProject:"Rimuovi fascicolo",sessionCount_one:"Questo fascicolo contiene {{count}} conversazione.",sessionCount_other:"Questo fascicolo contiene {{count}} conversazioni.",archiveProject:"Archivia fascicolo",allConversationsDeleted:"Il fascicolo verrà rimosso dalla barra laterale. I tuoi file, memorie e dati delle sessioni verranno preservati."},zFe={projects:nL,app:aL,tooltips:sL,messages:oL,search:iL,deleteConfirmation:lL},LFe=Object.freeze(Object.defineProperty({__proto__:null,app:aL,default:zFe,deleteConfirmation:lL,messages:oL,projects:nL,search:iL,tooltips:sL},Symbol.toStringTag,{value:"Module"})),cL={description:"PieceMakerアカウントにサインイン"},$Fe={login:cL},FFe=Object.freeze(Object.defineProperty({__proto__:null,default:$Fe,login:cL},Symbol.toStringTag,{value:"Module"})),dL={selectProject:{title:"案件を選択",description:"案件を選択してそのディレクトリでシェルを開きます"}},OFe={shell:dL},BFe=Object.freeze(Object.defineProperty({__proto__:null,default:OFe,shell:dL},Symbol.toStringTag,{value:"Module"})),UFe={},HFe=Object.freeze(Object.defineProperty({__proto__:null,default:UFe},Symbol.toStringTag,{value:"Module"})),uL={loading:"PieceMaker を読み込んでいます",chooseProject:"案件を選択",selectProjectDescription:"サイドバーから案件を選択して、Claudeとコーディングを始めましょう。各案件にはチャットセッションとファイル履歴が含まれています。",createProjectMobile:"上部のメニューボタンから案件にアクセスできます",createProjectDesktop:"サイドバーのフォルダアイコンをクリックして新しい案件を作成できます",projectFiles:"案件ファイル"},pL={checkProjectPath:"案件のパスがアクセス可能か確認してください"},mL={title:"新規案件を作成",step1:{existing:{description:"サーバー上に既存のワークスペースがあり、案件一覧に追加したい"}},step3:{existingInfo:"ワークスペースが案件一覧に追加され、Claude/Cursorセッションで使用できるようになります。",newEmpty:"ワークスペースが案件一覧に追加され、Claude/Cursorセッションで使用できるようになります。"},buttons:{createProject:"案件を作成"}},qFe={mainContent:uL,fileTree:pL,projectWizard:mL},WFe=Object.freeze(Object.defineProperty({__proto__:null,default:qFe,fileTree:pL,mainContent:uL,projectWizard:mL},Symbol.toStringTag,{value:"Module"})),hL={scope:{project:"案件"}},fL={projectSorting:{label:"案件の並び順",description:"サイドバーでの案件の並び順を設定します"}},gL={scope:{projectLocal:"案件(ローカル)",userDescription:"ユーザースコープ: すべての案件で利用可能",projectDescription:"ローカルスコープ: 選択した案件でのみ利用可能"},fields:{selectProject:"案件を選択..."}},bL={notInstalled:{steps:{initCommand:"案件ディレクトリで task-master init を実行してください"}}},xL={codex:{technicalInfo:{acceptEdits:"sandboxMode=workspace-write, approvalPolicy=never。すべてのコマンドが案件ディレクトリ内で自動実行。"}}},vL={starterPlugin:{name:"案件統計",description:"案件のファイル数、コード行数、ファイルタイプの内訳、最近のアクティビティを表示します。"}},VFe={mcp:hL,appearanceSettings:fL,mcpForm:gL,tasks:bL,permissions:xL,pluginSettings:vL},GFe=Object.freeze(Object.defineProperty({__proto__:null,appearanceSettings:fL,default:VFe,mcp:hL,mcpForm:gL,permissions:xL,pluginSettings:vL,tasks:bL},Symbol.toStringTag,{value:"Module"})),yL={title:"案件",newProject:"新規案件",deleteProject:"案件を除去",renameProject:"案件名を変更",noProjects:"案件が見つかりません",loadingProjects:"案件を読み込んでいます...",searchPlaceholder:"案件を検索...",projectNamePlaceholder:"案件名",fetchingProjects:"Claudeの案件とセッションを取得しています",projects:"案件",noMatchingProjects:"一致する案件がありません",runClaudeCli:"案件ディレクトリでClaude CLIを実行して始めましょう"},wL={title:"PieceMaker"},kL={createProject:"新しい案件を作成",refresh:"案件とセッションを更新 (Ctrl+R)",renameProject:"案件名を変更 (F2)",deleteProject:"サイドバーから案件を除去 (Delete)"},SL={deleteProjectConfirm:"サイドバーからこの案件を除去しますか?案件ファイル、メモリ、セッションデータは削除されません。",enterProjectPath:"案件のパスを入力してください",deleteProjectFailed:"案件の除去に失敗しました。もう一度お試しください。",deleteProjectError:"案件の除去でエラーが発生しました。もう一度お試しください。",createProjectFailed:"案件の作成に失敗しました。もう一度お試しください。",createProjectError:"案件の作成でエラーが発生しました。もう一度お試しください。",updateProjectError:"案件の更新でエラーが発生しました。もう一度お試しください。",restoreProjectFailed:"案件の復元に失敗しました。もう一度お試しください。",restoreProjectError:"案件の復元でエラーが発生しました。もう一度お試しください。"},CL={deleteProject:"案件を除去",confirmDelete:"この案件をどうしますか:",sessionCount:"この案件には{{count}}件の会話があります。",archiveProject:"案件をアーカイブ",allConversationsDeleted:"案件はサイドバーから除去されます。ファイル、メモリ、セッションデータは保持されます。",cannotUndo:"後から案件を再追加できます。"},KFe={projects:yL,app:wL,tooltips:kL,messages:SL,deleteConfirmation:CL},YFe=Object.freeze(Object.defineProperty({__proto__:null,app:wL,default:KFe,deleteConfirmation:CL,messages:SL,projects:yL,tooltips:kL},Symbol.toStringTag,{value:"Module"})),jL={description:"PieceMaker 계정에 로그인하세요"},XFe={login:jL},ZFe=Object.freeze(Object.defineProperty({__proto__:null,default:XFe,login:jL},Symbol.toStringTag,{value:"Module"})),NL={selectProject:{title:"사건 선택",description:"해당 디렉토리에서 대화형 Shell을 열 사건을 선택하세요"}},TL={startChatWithProvider:"{{provider}}와 채팅을 시작하려면 사건을 선택하세요"},JFe={shell:NL,projectSelection:TL},QFe=Object.freeze(Object.defineProperty({__proto__:null,default:JFe,projectSelection:TL,shell:NL},Symbol.toStringTag,{value:"Module"})),eOe={},tOe=Object.freeze(Object.defineProperty({__proto__:null,default:eOe},Symbol.toStringTag,{value:"Module"})),EL={loading:"PieceMaker 로딩 중",chooseProject:"사건 선택",selectProjectDescription:"사이드바에서 사건을 선택하여 Claude와 코딩을 시작하세요. 각 사건에는 채팅 세션과 파일 히스토리가 포함됩니다.",createProjectMobile:"위의 메뉴 버튼을 눌러 사건에 접근하세요",createProjectDesktop:"사이드바의 폴더 아이콘을 클릭하여 새 사건을 생성하세요",projectFiles:"사건 파일"},AL={checkProjectPath:"사건 경로가 접근 가능한지 확인하세요"},_L={title:"새 사건 생성",step1:{existing:{description:"서버에 이미 워크스페이스가 있고 사건 목록에 추가만 하면 됩니다"}},step3:{existingInfo:"워크스페이스가 사건 목록에 추가되며 Claude/Cursor 세션에서 사용할 수 있습니다.",newEmpty:"워크스페이스가 사건 목록에 추가되며 Claude/Cursor 세션에서 사용할 수 있습니다."},buttons:{createProject:"사건 생성"}},rOe={mainContent:EL,fileTree:AL,projectWizard:_L},nOe=Object.freeze(Object.defineProperty({__proto__:null,default:rOe,fileTree:AL,mainContent:EL,projectWizard:_L},Symbol.toStringTag,{value:"Module"})),PL={scope:{project:"사건"}},ML={projectSorting:{label:"사건 정렬",description:"사이드바에서 사건 정렬 방식"}},IL={scope:{projectLocal:"사건 (로컬)",userDescription:"사용자 범위: 모든 사건에서 사용 가능",projectDescription:"로컬 범위: 선택한 사건에서만 사용 가능"},fields:{selectProject:"사건 선택..."}},DL={notInstalled:{steps:{initCommand:"사건 디렉토리에서 task-master init을 사용하세요"}}},RL={codex:{technicalInfo:{acceptEdits:"sandboxMode=workspace-write, approvalPolicy=never. 사건 디렉토리 내에서 모든 명령어 자동 실행."}}},zL={managed:{hint:"PieceMaker가 관리합니다."}},LL={sections:{officialDescription:"PieceMaker 팀이 관리하며 바로 설치할 수 있습니다."},starterPlugin:{name:"사건 통계",description:"사건의 파일 수, 코드 라인 수, 파일 유형별 분석 및 최근 활동을 확인합니다."}},aOe={mcp:PL,appearanceSettings:ML,mcpForm:IL,tasks:DL,permissions:RL,mcpServers:zL,pluginSettings:LL},sOe=Object.freeze(Object.defineProperty({__proto__:null,appearanceSettings:ML,default:aOe,mcp:PL,mcpForm:IL,mcpServers:zL,permissions:RL,pluginSettings:LL,tasks:DL},Symbol.toStringTag,{value:"Module"})),$L={title:"사건",newProject:"새 사건",deleteProject:"사건 제거",renameProject:"사건 이름 변경",noProjects:"사건이 없습니다",loadingProjects:"사건 로딩 중...",searchPlaceholder:"사건 검색...",projectNamePlaceholder:"사건 이름",fetchingProjects:"Claude 사건과 세션을 가져오는 중",projects:"사건",noMatchingProjects:"일치하는 사건 없음",runClaudeCli:"사건 디렉토리에서 Claude CLI를 실행하여 시작하세요"},FL={title:"PieceMaker"},OL={createProject:"새 사건 생성",refresh:"사건 및 세션 새로고침 (Ctrl+R)",renameProject:"사건 이름 변경 (F2)",deleteProject:"사이드바에서 사건 제거 (Delete)"},BL={deleteProjectConfirm:"사이드바에서 이 사건을 제거하시겠습니까? 사건 파일, 메모리 및 세션 데이터는 삭제되지 않습니다.",enterProjectPath:"사건 경로를 입력해주세요",deleteProjectFailed:"사건 제거 실패. 다시 시도해주세요.",deleteProjectError:"사건 제거 오류. 다시 시도해주세요.",createProjectFailed:"사건 생성 실패. 다시 시도해주세요.",createProjectError:"사건 생성 오류. 다시 시도해주세요.",updateProjectError:"사건 업데이트 오류. 다시 시도해주세요.",restoreProjectFailed:"사건 복원 실패. 다시 시도해주세요.",restoreProjectError:"사건 복원 오류. 다시 시도해주세요."},UL={modeProjects:"사건",projectsScanned_one:"사건 {{count}}개 검색됨",projectsScanned_other:"사건 {{count}}개 검색됨"},HL={deleteProject:"사건 제거",confirmDelete:"이 사건을 어떻게 하시겠습니까:",sessionCount_one:"이 사건에는 {{count}}개의 대화가 있습니다.",sessionCount_other:"이 사건에는 {{count}}개의 대화가 있습니다.",archiveProject:"사건 보관",allConversationsDeleted:"사건이 사이드바에서 제거됩니다. 파일, 메모리 및 세션 데이터는 보존됩니다.",cannotUndo:"나중에 사건을 다시 추가할 수 있습니다."},oOe={projects:$L,app:FL,tooltips:OL,messages:BL,search:UL,deleteConfirmation:HL},iOe=Object.freeze(Object.defineProperty({__proto__:null,app:FL,default:oOe,deleteConfirmation:HL,messages:BL,projects:$L,search:UL,tooltips:OL},Symbol.toStringTag,{value:"Module"})),qL={description:"Войдите в свой аккаунт PieceMaker"},lOe={login:qL},cOe=Object.freeze(Object.defineProperty({__proto__:null,default:lOe,login:qL},Symbol.toStringTag,{value:"Module"})),WL={selectProject:{title:"Выберите досье",description:"Выберите досье для открытия интерактивной оболочки в этом каталоге"}},VL={startChatWithProvider:"Выберите досье для начала чата с {{provider}}"},dOe={shell:WL,projectSelection:VL},uOe=Object.freeze(Object.defineProperty({__proto__:null,default:dOe,projectSelection:VL,shell:WL},Symbol.toStringTag,{value:"Module"})),pOe={},mOe=Object.freeze(Object.defineProperty({__proto__:null,default:pOe},Symbol.toStringTag,{value:"Module"})),GL={loading:"Загрузка PieceMaker",chooseProject:"Выберите досье",selectProjectDescription:"Выберите досье на боковой панели, чтобы начать работу с Claude. Каждое досье содержит ваши сеансы чата и историю файлов.",createProjectMobile:"Нажмите кнопку меню выше для доступа к досье",createProjectDesktop:"Создайте новое досье, нажав на значок папки на боковой панели",projectFiles:"Файлы досье"},KL={checkProjectPath:"Проверьте доступность пути к досье"},YL={title:"Создать новое досье",step1:{existing:{description:"У меня уже есть рабочее пространство на сервере, нужно только добавить его в список досье"}},step3:{existingInfo:"Рабочее пространство будет добавлено в список досье и будет доступно для сеансов Claude/Cursor.",newEmpty:"Рабочее пространство будет добавлено в список досье и будет доступно для сеансов Claude/Cursor."},buttons:{createProject:"Создать досье"}},hOe={mainContent:GL,fileTree:KL,projectWizard:YL},fOe=Object.freeze(Object.defineProperty({__proto__:null,default:hOe,fileTree:KL,mainContent:GL,projectWizard:YL},Symbol.toStringTag,{value:"Module"})),XL={scope:{project:"Досье"}},ZL={projectSorting:{label:"Сортировка досье",description:"Как досье упорядочены на боковой панели"}},JL={scope:{projectLocal:"Досье (локально)",userDescription:"Область пользователя: доступно во всех досье на вашей машине",projectDescription:"Локальная область: доступно только в выбранном досье"},fields:{selectProject:"Выберите досье..."}},QL={notInstalled:{steps:{initCommand:"Используйте task-master init в каталоге вашего досье"}}},e$={codex:{technicalInfo:{acceptEdits:"sandboxMode=workspace-write, approvalPolicy=never. Все команды автоматически выполняются в каталоге досье."}}},t$={starterPlugin:{name:"Статистика досье",description:"Количество файлов, строк кода, разбивка по типам файлов и недавняя активность в вашем досье."}},gOe={mcp:XL,appearanceSettings:ZL,mcpForm:JL,tasks:QL,permissions:e$,pluginSettings:t$},bOe=Object.freeze(Object.defineProperty({__proto__:null,appearanceSettings:ZL,default:gOe,mcp:XL,mcpForm:JL,permissions:e$,pluginSettings:t$,tasks:QL},Symbol.toStringTag,{value:"Module"})),r$={title:"Досье",newProject:"Новое досье",deleteProject:"Убрать досье",renameProject:"Переименовать досье",noProjects:"Досье не найдено",loadingProjects:"Загрузка досье...",searchPlaceholder:"Поиск досье...",projectNamePlaceholder:"Имя досье",fetchingProjects:"Получение ваших досье и сеансов Claude",projects:"досье",noMatchingProjects:"Нет подходящих досье",runClaudeCli:"Запустите Claude CLI в каталоге досье для начала работы"},n$={title:"PieceMaker"},a$={createProject:"Создать новое досье",refresh:"Обновить досье и сеансы (Ctrl+R)",renameProject:"Переименовать досье (F2)",deleteProject:"Убрать досье из боковой панели (Delete)"},s$={deleteProjectConfirm:"Убрать это досье из боковой панели? Файлы досье, воспоминания и данные сеансов не будут удалены.",enterProjectPath:"Пожалуйста, введите путь к досье",deleteProjectFailed:"Не удалось убрать досье. Попробуйте снова.",deleteProjectError:"Ошибка при удалении досье из списка. Попробуйте снова.",createProjectFailed:"Не удалось создать досье. Попробуйте снова.",createProjectError:"Ошибка при создании досье. Попробуйте снова.",updateProjectError:"Ошибка при обновлении досье. Попробуйте снова.",restoreProjectFailed:"Не удалось восстановить досье. Попробуйте снова.",restoreProjectError:"Ошибка при восстановлении досье. Попробуйте снова."},o$={modeProjects:"Досье",projectsScanned_one:"{{count}} досье просканировано",projectsScanned_few:"{{count}} досье просканировано",projectsScanned_many:"{{count}} досье просканировано",projectsScanned_other:"{{count}} досье просканировано"},i$={deleteProject:"Убрать досье",sessionCount_one:"Это досье содержит {{count}} разговор.",sessionCount_few:"Это досье содержит {{count}} разговора.",sessionCount_many:"Это досье содержит {{count}} разговоров.",sessionCount_other:"Это досье содержит {{count}} разговоров.",archiveProject:"Архивировать досье",allConversationsDeleted:"Досье будет убрано из боковой панели. Ваши файлы, воспоминания и данные сеансов сохранятся.",cannotUndo:"Вы сможете добавить досье позже."},xOe={projects:r$,app:n$,tooltips:a$,messages:s$,search:o$,deleteConfirmation:i$},vOe=Object.freeze(Object.defineProperty({__proto__:null,app:n$,default:xOe,deleteConfirmation:i$,messages:s$,projects:r$,search:o$,tooltips:a$},Symbol.toStringTag,{value:"Module"})),l$={description:"Kendi PieceMaker hesabına giriş yap"},yOe={login:l$},wOe=Object.freeze(Object.defineProperty({__proto__:null,default:yOe,login:l$},Symbol.toStringTag,{value:"Module"})),c$={selectProject:{title:"Dava Seç",description:"O dizinde etkileşimli shell açmak için bir dava seç"}},d$={startChatWithProvider:"{{provider}} ile sohbet etmeye başlamak için bir dava seç"},kOe={shell:c$,projectSelection:d$},SOe=Object.freeze(Object.defineProperty({__proto__:null,default:kOe,projectSelection:d$,shell:c$},Symbol.toStringTag,{value:"Module"})),COe={},jOe=Object.freeze(Object.defineProperty({__proto__:null,default:COe},Symbol.toStringTag,{value:"Module"})),u$={loading:"PieceMaker Yükleniyor",chooseProject:"Davanı Seç",selectProjectDescription:"Claude ile kodlamaya başlamak için kenar çubuğundan bir dava seç. Her dava kendi sohbet oturumlarını ve dosya geçmişini içerir.",createProjectMobile:"Davalara erişmek için yukarıdaki menü düğmesine dokun",createProjectDesktop:"Kenar çubuğundaki klasör simgesine tıklayarak yeni bir dava oluştur",projectFiles:"Dava Dosyaları"},p$={checkProjectPath:"Dava yolunun erişilebilir olduğunu kontrol et"},m$={title:"Yeni Dava Oluştur",step1:{existing:{description:"Sunucumda zaten bir çalışma alanım var, sadece dava listesine eklemek istiyorum"}},step3:{existingInfo:"Çalışma alanı dava listene eklenecek ve Claude/Cursor oturumları için kullanılabilir olacak.",newEmpty:"Çalışma alanı dava listene eklenecek ve Claude/Cursor oturumları için kullanılabilir olacak."},buttons:{createProject:"Davayı Oluştur"}},NOe={mainContent:u$,fileTree:p$,projectWizard:m$},TOe=Object.freeze(Object.defineProperty({__proto__:null,default:NOe,fileTree:p$,mainContent:u$,projectWizard:m$},Symbol.toStringTag,{value:"Module"})),h$={scope:{project:"Dava"}},f$={projectSorting:{label:"Dava Sıralama",description:"Davaların kenar çubuğunda nasıl sıralanacağı"}},g$={scope:{projectLocal:"Dava (Yerel)",userDescription:"Kullanıcı kapsamı: Makinendeki tüm davalarda kullanılabilir",projectDescription:"Yerel kapsam: Yalnızca seçili davada kullanılabilir"},fields:{selectProject:"Bir dava seç..."}},b$={notInstalled:{steps:{initCommand:"Dava dizininde task-master init komutunu kullan"}}},x$={codex:{technicalInfo:{acceptEdits:"sandboxMode=workspace-write, approvalPolicy=never. Tüm komutlar dava dizini içinde otomatik çalışır."}}},v$={starterPlugin:{name:"Dava İstatistikleri",description:"Davan için dosya sayıları, kod satırları, dosya türü dağılımı ve son etkinlik."}},EOe={mcp:h$,appearanceSettings:f$,mcpForm:g$,tasks:b$,permissions:x$,pluginSettings:v$},AOe=Object.freeze(Object.defineProperty({__proto__:null,appearanceSettings:f$,default:EOe,mcp:h$,mcpForm:g$,permissions:x$,pluginSettings:v$,tasks:b$},Symbol.toStringTag,{value:"Module"})),y$={title:"Davalar",newProject:"Yeni Dava",deleteProject:"Davayı Kaldır",renameProject:"Davayı Yeniden Adlandır",noProjects:"Dava bulunamadı",loadingProjects:"Davalar yükleniyor...",searchPlaceholder:"Davalarda ara...",projectNamePlaceholder:"Dava adı",fetchingProjects:"Claude davaların ve oturumların getiriliyor",projects:"dava",noMatchingProjects:"Eşleşen dava yok",runClaudeCli:"Başlamak için bir dava dizininde Claude CLI çalıştır"},w$={title:"PieceMaker"},k$={createProject:"Yeni dava oluştur",refresh:"Davaları ve oturumları yenile (Ctrl+R)",renameProject:"Davayı yeniden adlandır (F2)",deleteProject:"Davayı kenar çubuğundan kaldır (Delete)"},S$={deleteProjectConfirm:"Bu dava kenar çubuğundan kaldırılsın mı? Dava dosyaların, bellek verilerin ve oturum verilerin silinmeyecek.",enterProjectPath:"Lütfen bir dava yolu gir",deleteProjectFailed:"Dava kaldırılamadı. Lütfen tekrar dene.",deleteProjectError:"Dava kaldırılırken hata oluştu. Lütfen tekrar dene.",createProjectFailed:"Dava oluşturulamadı. Lütfen tekrar dene.",createProjectError:"Dava oluşturulurken hata oluştu. Lütfen tekrar dene.",updateProjectError:"Dava güncellenirken hata oluştu. Lütfen tekrar dene.",restoreProjectFailed:"Dava geri yüklenemedi. Lütfen tekrar dene.",restoreProjectError:"Dava geri yüklenirken hata oluştu. Lütfen tekrar dene."},C$={modeProjects:"Davalar",projectsScanned_one:"{{count}} dava tarandı",projectsScanned_other:"{{count}} dava tarandı"},j$={deleteProject:"Davayı Kaldır",sessionCount_one:"Bu dava {{count}} konuşma içeriyor.",sessionCount_other:"Bu dava {{count}} konuşma içeriyor.",archiveProject:"Davayı arşivle",allConversationsDeleted:"Dava kenar çubuğundan kaldırılacak. Dosyaların, bellek verilerin ve oturum verilerin korunacak.",cannotUndo:"Davayı sonra tekrar ekleyebilirsin."},_Oe={projects:y$,app:w$,tooltips:k$,messages:S$,search:C$,deleteConfirmation:j$},POe=Object.freeze(Object.defineProperty({__proto__:null,app:w$,default:_Oe,deleteConfirmation:j$,messages:S$,projects:y$,search:C$,tooltips:k$},Symbol.toStringTag,{value:"Module"})),N$={description:"登录您的 PieceMaker 账户"},MOe={login:N$},IOe=Object.freeze(Object.defineProperty({__proto__:null,default:MOe,login:N$},Symbol.toStringTag,{value:"Module"})),T$={selectProject:{title:"选择案件",description:"选择一个案件以在该目录中打开交互式 Shell"}},E$={startChatWithProvider:"选择一个案件以开始与 {{provider}} 聊天"},DOe={shell:T$,projectSelection:E$},ROe=Object.freeze(Object.defineProperty({__proto__:null,default:DOe,projectSelection:E$,shell:T$},Symbol.toStringTag,{value:"Module"})),zOe={},LOe=Object.freeze(Object.defineProperty({__proto__:null,default:zOe},Symbol.toStringTag,{value:"Module"})),A$={loading:"正在加载 PieceMaker",chooseProject:"选择您的案件",selectProjectDescription:"从侧边栏选择一个案件以开始使用 Claude 进行编程。每个案件包含您的聊天会话和文件历史。",createProjectMobile:"点击上方的菜单按钮以访问案件",createProjectDesktop:"点击侧边栏中的文件夹图标以创建新案件",projectFiles:"案件文件"},_$={checkProjectPath:"检查案件路径是否可访问"},P$={title:"创建新案件",step1:{existing:{description:"我的服务器上已经有工作区,只需要将其添加到案件列表中"}},step3:{existingInfo:"工作区将被添加到您的案件列表中,并可用于 Claude/Cursor 会话。",newEmpty:"工作区将被添加到您的案件列表中,并可用于 Claude/Cursor 会话。"},buttons:{createProject:"创建案件"}},$Oe={mainContent:A$,fileTree:_$,projectWizard:P$},FOe=Object.freeze(Object.defineProperty({__proto__:null,default:$Oe,fileTree:_$,mainContent:A$,projectWizard:P$},Symbol.toStringTag,{value:"Module"})),M$={scope:{project:"案件"}},I$={projectSorting:{label:"案件排序",description:"案件在侧边栏中的排列方式"}},D$={scope:{projectLocal:"案件(本地)",userDescription:"用户范围:在您机器上的所有案件中可用",projectDescription:"本地范围:仅在选定案件中可用"},fields:{selectProject:"选择案件..."}},R$={notInstalled:{steps:{initCommand:"在案件目录中使用 task-master init"}}},z$={codex:{technicalInfo:{acceptEdits:"sandboxMode=workspace-write, approvalPolicy=never。所有命令在案件目录内自动执行。"}}},L$={managed:{hint:"由 PieceMaker 管理。"}},$$={sections:{officialDescription:"由 PieceMaker 团队维护,可直接安装。"},starterPlugin:{name:"案件统计",description:"查看案件的文件数、代码行数、文件类型分布以及最近活动。"}},OOe={mcp:M$,appearanceSettings:I$,mcpForm:D$,tasks:R$,permissions:z$,mcpServers:L$,pluginSettings:$$},BOe=Object.freeze(Object.defineProperty({__proto__:null,appearanceSettings:I$,default:OOe,mcp:M$,mcpForm:D$,mcpServers:L$,permissions:z$,pluginSettings:$$,tasks:R$},Symbol.toStringTag,{value:"Module"})),F$={title:"案件",newProject:"新建案件",deleteProject:"移除案件",renameProject:"重命名案件",noProjects:"未找到案件",loadingProjects:"加载案件中...",searchPlaceholder:"搜索案件...",projectNamePlaceholder:"案件名称",fetchingProjects:"正在获取您的 Claude 案件和会话",projects:"案件",noMatchingProjects:"未找到匹配的案件",runClaudeCli:"在案件目录中运行 Claude CLI 以开始使用"},O$={title:"PieceMaker"},B$={createProject:"创建新案件",refresh:"刷新案件和会话 (Ctrl+R)",renameProject:"重命名案件 (F2)",deleteProject:"从侧边栏移除案件 (Delete)"},U$={deleteProjectConfirm:"从侧边栏移除此案件?您的案件文件、记忆和会话数据不会被删除。",enterProjectPath:"请输入案件路径",deleteProjectFailed:"移除案件失败,请重试。",deleteProjectError:"移除案件时出错,请重试。",createProjectFailed:"创建案件失败,请重试。",createProjectError:"创建案件时出错,请重试。",updateProjectError:"更新案件时出错,请重试。",restoreProjectFailed:"恢复案件失败,请重试。",restoreProjectError:"恢复案件时出错,请重试。"},H$={modeProjects:"案件",projectsScanned_one:"{{count}} 个案件已扫描",projectsScanned_other:"{{count}} 个案件已扫描"},q$={deleteProject:"移除案件",sessionCount_one:"此案件包含 {{count}} 个对话。",sessionCount_other:"此案件包含 {{count}} 个对话。",archiveProject:"归档案件",allConversationsDeleted:"案件将从侧边栏中移除。您的文件、记忆和会话数据将会保留。",cannotUndo:"您可以稍后重新添加此案件。"},UOe={projects:F$,app:O$,tooltips:B$,messages:U$,search:H$,deleteConfirmation:q$},HOe=Object.freeze(Object.defineProperty({__proto__:null,app:O$,default:UOe,deleteConfirmation:q$,messages:U$,projects:F$,search:H$,tooltips:B$},Symbol.toStringTag,{value:"Module"})),W$={description:"登入您的 PieceMaker 帳戶"},qOe={login:W$},WOe=Object.freeze(Object.defineProperty({__proto__:null,default:qOe,login:W$},Symbol.toStringTag,{value:"Module"})),V$={selectProject:{title:"選擇案件",description:"選擇一個案件以在該目錄中開啟互動式 Shell"}},G$={startChatWithProvider:"選擇一個案件以開始與 {{provider}} 聊天"},VOe={shell:V$,projectSelection:G$},GOe=Object.freeze(Object.defineProperty({__proto__:null,default:VOe,projectSelection:G$,shell:V$},Symbol.toStringTag,{value:"Module"})),KOe={},YOe=Object.freeze(Object.defineProperty({__proto__:null,default:KOe},Symbol.toStringTag,{value:"Module"})),K$={loading:"正在載入 PieceMaker",chooseProject:"選擇您的案件",selectProjectDescription:"從側邊欄選擇一個案件以開始使用 Claude 進行程式開發。每個案件包含您的聊天紀錄和檔案歷史。",createProjectMobile:"點擊上方的選單按鈕以存取案件",createProjectDesktop:"點擊側邊欄中的資料夾圖示以建立新案件",projectFiles:"案件檔案"},Y$={checkProjectPath:"請檢查案件路徑是否可存取"},X$={title:"建立新案件",step1:{existing:{description:"我的伺服器上已經有工作區,只需要將其加入案件列表"}},step3:{existingInfo:"工作區將加入您的案件列表,並可用於 Claude/Cursor 工作階段。",newEmpty:"工作區將加入您的案件列表,並可用於 Claude/Cursor 工作階段。"},buttons:{createProject:"建立案件"}},XOe={mainContent:K$,fileTree:Y$,projectWizard:X$},ZOe=Object.freeze(Object.defineProperty({__proto__:null,default:XOe,fileTree:Y$,mainContent:K$,projectWizard:X$},Symbol.toStringTag,{value:"Module"})),Z$={scope:{project:"案件"}},J$={projectSorting:{label:"案件排序",description:"案件在側邊欄中的排列方式"}},Q$={scope:{projectLocal:"案件(本機)",userDescription:"使用者範圍:在您機器上的所有案件中可用",projectDescription:"本機範圍:僅在選定案件中可用"},fields:{selectProject:"選取案件..."}},eF={notInstalled:{steps:{initCommand:"在案件目錄中使用 task-master init"}}},tF={codex:{technicalInfo:{acceptEdits:"sandboxMode=workspace-write, approvalPolicy=never。所有指令在案件目錄內自動執行。"}}},rF={starterPlugin:{name:"案件統計",description:"查看案件的檔案數、程式碼行數、檔案類型分佈以及最近活動。"}},JOe={mcp:Z$,appearanceSettings:J$,mcpForm:Q$,tasks:eF,permissions:tF,pluginSettings:rF},QOe=Object.freeze(Object.defineProperty({__proto__:null,appearanceSettings:J$,default:JOe,mcp:Z$,mcpForm:Q$,permissions:tF,pluginSettings:rF,tasks:eF},Symbol.toStringTag,{value:"Module"})),nF={title:"案件",newProject:"新增案件",deleteProject:"移除案件",renameProject:"重新命名案件",noProjects:"找不到案件",loadingProjects:"載入案件中...",searchPlaceholder:"搜尋案件...",projectNamePlaceholder:"案件名稱",fetchingProjects:"正在取得您的 Claude 案件和工作階段",projects:"案件",noMatchingProjects:"找不到符合的案件",runClaudeCli:"在案件目錄中執行 Claude CLI 以開始使用"},aF={title:"PieceMaker"},sF={createProject:"建立新案件",refresh:"重新整理案件和工作階段 (Ctrl+R)",renameProject:"重新命名案件 (F2)",deleteProject:"從側邊欄移除案件 (Delete)"},oF={deleteProjectConfirm:"從側邊欄移除此案件?您的案件檔案、記憶和工作階段資料不會被刪除。",enterProjectPath:"請輸入案件路徑",deleteProjectFailed:"移除案件失敗,請重試。",deleteProjectError:"移除案件時出錯,請重試。",createProjectFailed:"建立案件失敗,請重試。",createProjectError:"建立案件時出錯,請重試。",updateProjectError:"更新案件時出錯,請重試。",restoreProjectFailed:"還原案件失敗,請重試。",restoreProjectError:"還原案件時出錯,請重試。"},iF={modeProjects:"案件",projectsScanned_one:"{{count}} 個案件已掃描",projectsScanned_other:"{{count}} 個案件已掃描"},lF={deleteProject:"移除案件",sessionCount_one:"此案件包含 {{count}} 個對話。",sessionCount_other:"此案件包含 {{count}} 個對話。",archiveProject:"封存案件",allConversationsDeleted:"案件將從側邊欄中移除。您的檔案、記憶和工作階段資料將會保留。",cannotUndo:"您可以稍後重新新增此案件。"},eBe={projects:nF,app:aF,tooltips:sF,messages:oF,search:iF,deleteConfirmation:lF},tBe=Object.freeze(Object.defineProperty({__proto__:null,app:aF,default:eBe,deleteConfirmation:lF,messages:oF,projects:nF,search:iF,tooltips:sF},Symbol.toStringTag,{value:"Module"})),rBe={fr:{common:{tabs:{dossier:"Dossier",library:"Bibliothèque"}},chat:{composer:{removeCommandPill:"Retirer la commande {{name}}"}},sidebar:{tooltips:{anonymizationComplete:"Anonymisation effectuée"}},settings:{mainTabs:{uninstall:"Désinstaller"},uninstall:{title:"Désinstaller PieceMaker",action:"Désinstaller PieceMaker",confirm:"Confirmer la désinstallation",cancel:"Annuler",hint:"Retire l’application, les certificats, Node, Python, GLiNER, MinerU et toutes les données de PieceMaker (réglages, historique, facturation, journaux, caches). Seule la base auth.db est conservée. Vos dossiers restent sur cet ordinateur.",failed:"La désinstallation n’a pas pu démarrer."}}},en:{common:{tabs:{dossier:"Case file",library:"Library"}},chat:{composer:{removeCommandPill:"Remove the {{name}} command"}},sidebar:{tooltips:{anonymizationComplete:"Anonymization complete"}},settings:{mainTabs:{uninstall:"Uninstall"},uninstall:{title:"Uninstall PieceMaker",action:"Uninstall PieceMaker",confirm:"Confirm uninstall",cancel:"Cancel",hint:"Removes the application, the certificates, Node, Python, GLiNER, MinerU and all PieceMaker data (settings, history, billing, logs, caches). Only the auth.db database is kept. Your case files stay on this computer.",failed:"Uninstall could not start."}}},es:{common:{tabs:{dossier:"Expediente",library:"Biblioteca"}},chat:{composer:{removeCommandPill:"Quitar el comando {{name}}"}},sidebar:{tooltips:{anonymizationComplete:"Anonimización realizada"}}},it:{common:{tabs:{dossier:"Fascicolo",library:"Biblioteca"}},chat:{composer:{removeCommandPill:"Rimuovi il comando {{name}}"}},sidebar:{tooltips:{anonymizationComplete:"Anonimizzazione completata"}}},de:{common:{tabs:{dossier:"Dossier",library:"Bibliothek"}},chat:{composer:{removeCommandPill:"Befehl {{name}} entfernen"}},sidebar:{tooltips:{anonymizationComplete:"Anonymisierung abgeschlossen"}}},tr:{common:{tabs:{dossier:"Dava dosyası",library:"Kütüphane"}},chat:{composer:{removeCommandPill:"{{name}} komutunu kaldır"}},sidebar:{tooltips:{anonymizationComplete:"Anonimleştirme tamamlandı"}}},ru:{common:{tabs:{dossier:"Досье",library:"Библиотека"}},chat:{composer:{removeCommandPill:"Удалить команду {{name}}"}},sidebar:{tooltips:{anonymizationComplete:"Анонимизация выполнена"}}},ja:{common:{tabs:{dossier:"案件",library:"ライブラリ"}},chat:{composer:{removeCommandPill:"{{name}} コマンドを削除"}},sidebar:{tooltips:{anonymizationComplete:"匿名化が完了しました"}}},ko:{common:{tabs:{dossier:"사건",library:"라이브러리"}},chat:{composer:{removeCommandPill:"{{name}} 명령 제거"}},sidebar:{tooltips:{anonymizationComplete:"익명화 완료"}}},"zh-CN":{common:{tabs:{dossier:"案件",library:"资料库"}},chat:{composer:{removeCommandPill:"移除 {{name}} 命令"}},sidebar:{tooltips:{anonymizationComplete:"已完成匿名化"}}},"zh-TW":{common:{tabs:{dossier:"案件",library:"資料庫"}},chat:{composer:{removeCommandPill:"移除 {{name}} 命令"}},sidebar:{tooltips:{anonymizationComplete:"已完成匿名化"}}}},nBe="fr",aBe=Object.assign({"./overrides/de/auth.json":P$e,"./overrides/de/chat.json":I$e,"./overrides/de/codeEditor.json":R$e,"./overrides/de/common.json":L$e,"./overrides/de/settings.json":F$e,"./overrides/de/sidebar.json":B$e,"./overrides/en/auth.json":H$e,"./overrides/en/chat.json":W$e,"./overrides/en/codeEditor.json":G$e,"./overrides/en/common.json":Y$e,"./overrides/en/git.json":Z$e,"./overrides/en/settings.json":Q$e,"./overrides/en/sidebar.json":tFe,"./overrides/es/auth.json":nFe,"./overrides/es/chat.json":sFe,"./overrides/es/codeEditor.json":iFe,"./overrides/es/common.json":cFe,"./overrides/es/settings.json":uFe,"./overrides/es/sidebar.json":mFe,"./overrides/fr/auth.json":fFe,"./overrides/fr/chat.json":bFe,"./overrides/fr/codeEditor.json":vFe,"./overrides/fr/common.json":wFe,"./overrides/fr/settings.json":SFe,"./overrides/fr/sidebar.json":jFe,"./overrides/it/auth.json":TFe,"./overrides/it/chat.json":AFe,"./overrides/it/codeEditor.json":PFe,"./overrides/it/common.json":IFe,"./overrides/it/settings.json":RFe,"./overrides/it/sidebar.json":LFe,"./overrides/ja/auth.json":FFe,"./overrides/ja/chat.json":BFe,"./overrides/ja/codeEditor.json":HFe,"./overrides/ja/common.json":WFe,"./overrides/ja/settings.json":GFe,"./overrides/ja/sidebar.json":YFe,"./overrides/ko/auth.json":ZFe,"./overrides/ko/chat.json":QFe,"./overrides/ko/codeEditor.json":tOe,"./overrides/ko/common.json":nOe,"./overrides/ko/settings.json":sOe,"./overrides/ko/sidebar.json":iOe,"./overrides/ru/auth.json":cOe,"./overrides/ru/chat.json":uOe,"./overrides/ru/codeEditor.json":mOe,"./overrides/ru/common.json":fOe,"./overrides/ru/settings.json":bOe,"./overrides/ru/sidebar.json":vOe,"./overrides/tr/auth.json":wOe,"./overrides/tr/chat.json":SOe,"./overrides/tr/codeEditor.json":jOe,"./overrides/tr/common.json":TOe,"./overrides/tr/settings.json":AOe,"./overrides/tr/sidebar.json":POe,"./overrides/zh-CN/auth.json":IOe,"./overrides/zh-CN/chat.json":ROe,"./overrides/zh-CN/codeEditor.json":LOe,"./overrides/zh-CN/common.json":FOe,"./overrides/zh-CN/settings.json":BOe,"./overrides/zh-CN/sidebar.json":HOe,"./overrides/zh-TW/auth.json":WOe,"./overrides/zh-TW/chat.json":GOe,"./overrides/zh-TW/codeEditor.json":YOe,"./overrides/zh-TW/common.json":ZOe,"./overrides/zh-TW/settings.json":QOe,"./overrides/zh-TW/sidebar.json":tBe});function sBe(e){for(const[t,r]of Object.entries(aBe)){const n=/\/overrides\/([^/]+)\/([^/]+)\.json$/.exec(t);if(!n)continue;const[,a,s]=n;e.addResourceBundle(a,s,r.default,!0,!0)}for(const[t,r]of Object.entries(rBe))for(const[n,a]of Object.entries(r))e.addResourceBundle(t,n,a,!0,!0)}const oBe=()=>{const e=rn("userLanguage",null);return e&&Th.some(t=>t.value===e)?e:nBe};Or.use(MZ).init({resources:{en:{common:z5e,settings:pSe,auth:vSe,sidebar:DSe,chat:i3e,codeEditor:f3e,tasks:P3e,git:X3e},fr:{common:dCe,settings:MCe,auth:zCe,sidebar:XCe,chat:yje,codeEditor:Tje,tasks:Uje},es:{common:rNe,settings:jNe,auth:ANe,sidebar:HNe,chat:h6e,codeEditor:k6e,tasks:L6e},ko:{common:Z6e,settings:y7e,auth:C7e,sidebar:$7e,chat:cTe,codeEditor:bTe,tasks:MTe},"zh-CN":{common:VTe,settings:f8e,auth:v8e,sidebar:I8e,chat:aEe,codeEditor:pEe,tasks:TEe},ja:{common:BEe,settings:cAe,auth:mAe,sidebar:NAe,chat:KAe,codeEditor:t_e,tasks:g_e},ru:{common:A_e,settings:Z_e,auth:tPe,sidebar:fPe,chat:FPe,codeEditor:VPe,tasks:i9e},de:{common:y9e,settings:U9e,auth:V9e,sidebar:oMe,chat:_Me,codeEditor:LMe,tasks:JMe},tr:{common:pIe,settings:DIe,auth:$Ie,sidebar:JIe,chat:kDe,codeEditor:ADe,tasks:qDe},it:{common:aRe,settings:NRe,auth:_Re,sidebar:qRe,chat:hze,codeEditor:wze,tasks:zze},"zh-TW":{common:Xze,settings:xLe,auth:kLe,sidebar:zLe,chat:i$e,codeEditor:h$e,tasks:A$e}},lng:oBe(),fallbackLng:"en",debug:!1,ns:["common","settings","auth","sidebar","chat","codeEditor","tasks","git"],defaultNS:"common",keySeparator:".",nsSeparator:":",saveMissing:!1,interpolation:{escapeValue:!1},react:{useSuspense:!0,bindI18n:"languageChanged",bindI18nStore:!1}});sBe(Or);Or.on("languageChanged",e=>{qi("userLanguage",e)});Wi(()=>{const e=rn("userLanguage",null);e&&e!==Or.language&&Th.some(t=>t.value===e)&&Or.changeLanguage(e)});function cF({compact:e=!1}){const{i18n:t,t:r}=Ae("settings"),n=a=>{const s=a.target.value;t.changeLanguage(s)};return e?o.jsxs("div",{className:"flex items-center justify-between rounded-lg border border-transparent bg-muted/50 p-3 transition-colors hover:border-border hover:bg-accent",children:[o.jsxs("span",{className:"flex items-center gap-2 text-sm text-foreground",children:[o.jsx(t_,{className:"h-4 w-4 text-muted-foreground"}),r("account.language")]}),o.jsx("select",{value:t.language,onChange:n,className:"w-auto min-w-[120px] max-w-[160px] rounded-lg border border-input bg-card p-2 text-sm text-foreground focus:border-primary focus:outline-none focus:ring-2 focus:ring-primary",children:Th.map(a=>o.jsx("option",{value:a.value,children:a.nativeName},a.value))})]}):o.jsxs("div",{className:"flex items-center justify-between px-4 py-3.5",children:[o.jsxs("div",{children:[o.jsx("div",{className:"text-sm font-medium text-foreground",children:r("account.languageLabel")}),o.jsx("div",{className:"mt-0.5 text-xs text-muted-foreground",children:r("account.languageDescription")})]}),o.jsx("select",{value:t.language,onChange:n,className:"w-36 rounded-lg border border-input bg-card p-2 text-sm text-foreground focus:border-primary focus:ring-1 focus:ring-primary",children:Th.map(a=>o.jsx("option",{value:a.value,children:a.nativeName},a.value))})]})}function iBe({messages:e,createDiff:t,provider:r,selectedProject:n}){const a=qD(e,!0);let s=null;return o.jsx(NA,{i18n:Or,children:o.jsx(WD.Provider,{value:{isExporting:!0},children:o.jsx("div",{className:"chat-export-transcript",children:a.map((i,l)=>{if(ay(i)){const d=s;return s=i.messages[i.messages.length-1]||s,o.jsx(pR,{group:i,prevMessage:d,createDiff:t,getMessageKey:p=>String(p.timestamp),showRawParameters:!1,showThinking:!0,selectedProject:n,provider:r},`group-${l}`)}const c=s;return s=i,o.jsx(c2,{message:i,prevMessage:c,createDiff:t,showRawParameters:!1,showThinking:!0,selectedProject:n,provider:r},`message-${l}`)})})})})}function lBe(){const e=[];for(const t of Array.from(document.styleSheets))try{const r=t.cssRules;if(!r)continue;e.push(Array.from(r).map(n=>n.cssText).join(`
3889
+ 「請新增一個任務來實作使用 Cloudinary 的使用者個人頭像上傳功能,研究最佳方法。」`},moreExamples:"查看更多範例和使用模式 →",proTips:{title:"💡 專業提示",search:"使用搜尋列快速找到特定任務",views:"使用檢視切換在看板、清單和網格檢視之間切換",filters:"使用篩選器聚焦特定任務狀態或優先順序",details:"點擊任何任務以查看詳細資訊和管理子任務"},learnMore:{title:"📚 了解更多",description:"TaskMaster AI 是為開發者打造的進階任務管理系統。取得文件、範例並為專案做出貢獻。",githubButton:"在 GitHub 上查看"}},v$e={placeholder:"搜尋任務..."},y$e={button:"篩選",status:"狀態",priority:"優先順序",sortBy:"排序依據",allStatuses:"所有狀態",allPriorities:"所有優先順序",showing:"顯示 {{filtered}} / {{total}} 個任務",clearFilters:"清除篩選"},w$e={id:"ID",status:"狀態",priority:"優先順序",idAsc:"ID(遞增)",idDesc:"ID(遞減)",titleAsc:"標題(A-Z)",titleDesc:"標題(Z-A)",statusAsc:"狀態(待處理優先)",statusDesc:"狀態(已完成優先)",priorityAsc:"優先順序(高優先)",priorityDesc:"優先順序(低優先)"},k$e={kanban:"看板檢視",list:"清單檢視",grid:"網格檢視"},S$e={pending:"📋 待辦",inProgress:"🚀 進行中",done:"✅ 已完成",blocked:"🚫 已封鎖",deferred:"⏳ 已延後",cancelled:"❌ 已取消",noTasksYet:"尚無任務",tasksWillAppear:"任務將顯示在這裡",moveTasksHere:"開始後將任務移到這裡",completedTasksHere:"已完成的任務顯示在這裡",statusTasksHere:"此狀態的任務將顯示在這裡"},C$e={help:"TaskMaster 入門指南",prds:"PRD",addPRD:"新增 PRD",addTask:"新增任務",createNewPRD:"建立新 PRD",prdsAvailable:"{{count}} 個 PRD 可用"},j$e={modified:"修改時間:{{date}}"},N$e={pending:"待處理","in-progress":"進行中",done:"已完成",blocked:"已封鎖",deferred:"已延後",cancelled:"已取消"},T$e={high:"高",medium:"中",low:"低"},E$e={title:"沒有符合篩選條件的任務",description:"嘗試調整您的搜尋或篩選條件。"},A$e={notConfigured:f$e,gettingStarted:g$e,setupModal:b$e,helpGuide:x$e,search:v$e,filters:y$e,sort:w$e,views:k$e,kanban:S$e,buttons:C$e,prd:j$e,statuses:N$e,priorities:T$e,noMatchingTasks:E$e},Th=[{value:"en",label:"English",nativeName:"English"},{value:"fr",label:"French",nativeName:"Français"},{value:"es",label:"Spanish",nativeName:"Español"},{value:"ko",label:"Korean",nativeName:"한국어"},{value:"zh-CN",label:"Simplified Chinese",nativeName:"简体中文"},{value:"zh-TW",label:"Traditional Chinese",nativeName:"繁體中文"},{value:"ja",label:"Japanese",nativeName:"日本語"},{value:"ru",label:"Russian",nativeName:"Русский"},{value:"de",label:"German",nativeName:"Deutsch"},{value:"tr",label:"Turkish",nativeName:"Türkçe"},{value:"it",label:"Italian",nativeName:"Italiano"}],mR={description:"Meld dich bei deinem PieceMaker-Konto an"},_$e={login:mR},P$e=Object.freeze(Object.defineProperty({__proto__:null,default:_$e,login:mR},Symbol.toStringTag,{value:"Module"})),hR={selectProject:{title:"Dossier auswählen",description:"Wähl ein Dossier, um ein interaktives Terminal in diesem Verzeichnis zu öffnen"}},fR={startChatWithProvider:"Wähl ein Dossier, um mit {{provider}} zu chatten"},M$e={shell:hR,projectSelection:fR},I$e=Object.freeze(Object.defineProperty({__proto__:null,default:M$e,projectSelection:fR,shell:hR},Symbol.toStringTag,{value:"Module"})),D$e={},R$e=Object.freeze(Object.defineProperty({__proto__:null,default:D$e},Symbol.toStringTag,{value:"Module"})),gR={loading:"PieceMaker wird geladen",chooseProject:"Dossier auswählen",selectProjectDescription:"Wähl ein Dossier aus der Seitenleiste, um mit Claude zu programmieren. Jedes Dossier enthält deine Chat-Sitzungen und den Dateiverlauf.",createProjectMobile:"Tipp oben auf die Menüschaltfläche, um auf Dossiers zuzugreifen",createProjectDesktop:"Erstell ein neues Dossier, indem du auf das Ordnersymbol in der Seitenleiste klickst",projectFiles:"Dossierdateien"},bR={checkProjectPath:"Überprüf, ob der Dossierpfad zugänglich ist"},xR={title:"Neues Dossier erstellen",step1:{existing:{description:"Ich habe bereits einen Arbeitsbereich auf meinem Server und möchte ihn nur zur Dossierliste hinzufügen"}},step3:{existingInfo:"Der Arbeitsbereich wird zur Dossierliste hinzugefügt und steht für Claude/Cursor-Sitzungen zur Verfügung.",newEmpty:"Der Arbeitsbereich wird zur Dossierliste hinzugefügt und steht für Claude/Cursor-Sitzungen zur Verfügung."},buttons:{createProject:"Dossier erstellen"}},z$e={mainContent:gR,fileTree:bR,projectWizard:xR},L$e=Object.freeze(Object.defineProperty({__proto__:null,default:z$e,fileTree:bR,mainContent:gR,projectWizard:xR},Symbol.toStringTag,{value:"Module"})),vR={scope:{project:"Dossier"}},yR={projectSorting:{label:"Dossiersortierung",description:"Wie Dossiers in der Seitenleiste angeordnet werden"}},wR={scope:{projectLocal:"Dossier (Lokal)",userDescription:"Benutzerbereich: In allen Dossiers deines Computers verfügbar",projectDescription:"Lokaler Bereich: Nur im ausgewählten Dossier verfügbar"},fields:{selectProject:"Dossier auswählen..."}},kR={notInstalled:{steps:{initCommand:"task-master init in deinem Dossierverzeichnis verwenden"}}},SR={codex:{technicalInfo:{acceptEdits:"sandboxMode=workspace-write, approvalPolicy=never. Alle Befehle werden automatisch innerhalb des Dossierverzeichnisses ausgeführt."}}},CR={starterPlugin:{name:"Dossierstatistiken",description:"Dateianzahl, Codezeilen, Dateityp-Aufschlüsselung und aktuelle Aktivitäten für dein Dossier."}},$$e={mcp:vR,appearanceSettings:yR,mcpForm:wR,tasks:kR,permissions:SR,pluginSettings:CR},F$e=Object.freeze(Object.defineProperty({__proto__:null,appearanceSettings:yR,default:$$e,mcp:vR,mcpForm:wR,permissions:SR,pluginSettings:CR,tasks:kR},Symbol.toStringTag,{value:"Module"})),jR={title:"Dossiers",newProject:"Neues Dossier",deleteProject:"Dossier entfernen",renameProject:"Dossier umbenennen",noProjects:"Keine Dossiers gefunden",loadingProjects:"Dossiers werden geladen...",searchPlaceholder:"Dossiers durchsuchen...",projectNamePlaceholder:"Dossiername",fetchingProjects:"Deine Claude-Dossiers und -Sitzungen werden abgerufen",projects:"Dossiers",noMatchingProjects:"Keine passenden Dossiers",runClaudeCli:"Führ Claude CLI in einem Dossierverzeichnis aus, um zu beginnen"},NR={title:"PieceMaker"},TR={createProject:"Neues Dossier erstellen",refresh:"Dossiers und Sitzungen aktualisieren (Strg+R)",renameProject:"Dossier umbenennen (F2)",deleteProject:"Dossier aus Seitenleiste entfernen (Entf)"},ER={deleteProjectConfirm:"Dossier aus der Seitenleiste entfernen? Deine Dossierdateien, Erinnerungen und Sitzungsdaten werden nicht gelöscht.",enterProjectPath:"Bitte gib einen Dossierpfad ein",deleteProjectFailed:"Dossier konnte nicht entfernt werden. Bitte erneut versuchen.",deleteProjectError:"Fehler beim Entfernen des Dossiers. Bitte erneut versuchen.",createProjectFailed:"Dossier konnte nicht erstellt werden. Bitte erneut versuchen.",createProjectError:"Fehler beim Erstellen des Dossiers. Bitte erneut versuchen.",updateProjectError:"Fehler beim Aktualisieren des Dossiers. Bitte erneut versuchen.",restoreProjectFailed:"Dossier konnte nicht wiederhergestellt werden. Bitte erneut versuchen.",restoreProjectError:"Fehler beim Wiederherstellen des Dossiers. Bitte erneut versuchen."},AR={modeProjects:"Dossiers",projectsScanned_one:"{{count}} Dossier durchsucht",projectsScanned_other:"{{count}} Dossiers durchsucht"},_R={deleteProject:"Dossier entfernen",sessionCount_one:"Dieses Dossier enthält {{count}} Unterhaltung.",sessionCount_other:"Dieses Dossier enthält {{count}} Unterhaltungen.",archiveProject:"Dossier archivieren",allConversationsDeleted:"Das Dossier wird aus der Seitenleiste entfernt. Deine Dateien, Erinnerungen und Sitzungsdaten bleiben erhalten.",cannotUndo:"Du kannst das Dossier später erneut hinzufügen."},O$e={projects:jR,app:NR,tooltips:TR,messages:ER,search:AR,deleteConfirmation:_R},B$e=Object.freeze(Object.defineProperty({__proto__:null,app:NR,default:O$e,deleteConfirmation:_R,messages:ER,projects:jR,search:AR,tooltips:TR},Symbol.toStringTag,{value:"Module"})),PR={description:"Sign in to your PieceMaker self-hosted account",footerText:"Enter your credentials to access PieceMaker"},MR={openSource:"PieceMaker is open source"},U$e={login:PR,misc:MR},H$e=Object.freeze(Object.defineProperty({__proto__:null,default:U$e,login:PR,misc:MR},Symbol.toStringTag,{value:"Module"})),IR={selectProject:{title:"Select a Case",description:"Choose a case to open an interactive shell in that directory"}},DR={startChatWithProvider:"Select a case to start chatting with {{provider}}"},RR={fallbackCommands:{memory:"Open the case CLAUDE.md memory file."}},q$e={shell:IR,projectSelection:DR,misc:RR},W$e=Object.freeze(Object.defineProperty({__proto__:null,default:q$e,misc:RR,projectSelection:DR,shell:IR},Symbol.toStringTag,{value:"Module"})),V$e={},G$e=Object.freeze(Object.defineProperty({__proto__:null,default:V$e},Symbol.toStringTag,{value:"Module"})),zR={loading:"Loading PieceMaker",chooseProject:"Choose Your Case",selectProjectDescription:"Select a case from the sidebar to start coding with Claude. Each case contains your chat sessions and file history.",createProjectMobile:"Tap the menu button above to access cases",createProjectDesktop:"Create a new case by clicking the folder icon in the sidebar",projectFiles:"Case Files"},LR={checkProjectPath:"Check if the case path is accessible"},$R={title:"Create New Case",step1:{existing:{description:"I already have a workspace on my server and just need to add it to the case list"}},step3:{existingInfo:"The workspace will be added to your case list and will be available for Claude/Cursor sessions.",newEmpty:"The workspace will be added to your case list and will be available for Claude/Cursor sessions."},buttons:{createProject:"Create Case"}},FR={selectProjectFirst:"Select a case first"},OR={projectFallback:"Case",noProjectSelected:"No Case Selected",projectRequiredForShell:"A case is required to open a shell"},K$e={mainContent:zR,fileTree:LR,projectWizard:$R,commandPalette:FR,misc:OR},Y$e=Object.freeze(Object.defineProperty({__proto__:null,commandPalette:FR,default:K$e,fileTree:LR,mainContent:zR,misc:OR,projectWizard:$R},Symbol.toStringTag,{value:"Module"})),BR={selectProject:"Select a case to view source control"},UR={noRepoDescription:"This case is not a git repository yet. Initialize one to start tracking changes and use source control features."},HR={description:"Remove the worktree for {{branch}}? Its folder is deleted and the linked case is archived — chat sessions stay recoverable."},X$e={panel:BR,errorState:UR,remove:HR},Z$e=Object.freeze(Object.defineProperty({__proto__:null,default:X$e,errorState:UR,panel:BR,remove:HR},Symbol.toStringTag,{value:"Module"})),qR={scope:{project:"Case"}},WR={projectSorting:{label:"Case Sorting",description:"How cases are ordered in the sidebar"}},VR={scope:{projectLocal:"Case (Local)",userDescription:"User scope: Available across all cases on your machine",projectDescription:"Local scope: Only available in the selected case"},fields:{selectProject:"Select a case..."},scopes:{project:"Case",projectAllProviders:"Case (All Providers)",userGlobalDesc:"Available across all cases on your machine",userAllProvidersDesc:"Writes to each provider user config and is available across cases on this machine",localDesc:"Stored in Claude user settings for the selected case",projectDesc:"Stored in the selected case workspace",projectAllProvidersDesc:"Writes to the selected case workspace for every provider"}},GR={notInstalled:{steps:{initCommand:"Use task-master init in your case directory"}}},KR={codex:{technicalInfo:{acceptEdits:"sandboxMode=workspace-write, approvalPolicy=never. All commands auto-execute within case directory."}}},YR={managed:{hint:"Managed by PieceMaker."}},XR={sections:{officialDescription:"Maintained by the PieceMaker team and ready for direct install."},starterPlugin:{name:"Case Stats",description:"File counts, lines of code, file-type breakdown, and recent activity for your case."}},ZR={description:"Manage {{provider}} skills from local files, complete folders, and case-aware locations.",scanningProjectSkills:"Scanning case skills...",emptyDescription:"Add a global skill above or create case-specific skill folders in your workspace.",noMatchDescription:"Try a different command, name, scope, case, or source path.",projectBadge:"Case: {{name}}",scopes:{project:"Case"}},JR={refreshingScopes:"Refreshing case scopes..."},QR={proLink:"Available with PieceMaker Pro"},ez={selectProjectRequired:"Select a case for case-scoped MCP servers",globalScopeUnsupported:"Add MCP Server supports only user or case scope across all providers."},tz={hostedTitle:"Try PieceMaker Hosted",proFeaturesTitle:"PieceMaker Pro Features",teamManagementDescription:"Multiple users, role-based access, and shared cases for your team.",proCta:"Available with PieceMaker Pro"},J$e={mcp:qR,appearanceSettings:WR,mcpForm:VR,tasks:GR,permissions:KR,mcpServers:YR,pluginSettings:XR,skillsPage:ZR,mcpServersAdd:JR,mcpTeamCard:QR,mcpServersAddErrors:ez,about:tz},Q$e=Object.freeze(Object.defineProperty({__proto__:null,about:tz,appearanceSettings:WR,default:J$e,mcp:qR,mcpForm:VR,mcpServers:YR,mcpServersAdd:JR,mcpServersAddErrors:ez,mcpTeamCard:QR,permissions:KR,pluginSettings:XR,skillsPage:ZR,tasks:GR},Symbol.toStringTag,{value:"Module"})),rz={title:"Cases",newProject:"New Case",deleteProject:"Remove Case",renameProject:"Rename Case",noProjects:"No cases found",loadingProjects:"Loading cases...",searchPlaceholder:"Search cases...",projectNamePlaceholder:"Case name",fetchingProjects:"Fetching your Claude cases and sessions",projects:"cases",noMatchingProjects:"No matching cases",runClaudeCli:"Run Claude CLI in a case directory to get started"},nz={title:"PieceMaker"},az={createProject:"Create new case",refresh:"Refresh cases and sessions (Ctrl+R)",renameProject:"Rename case (F2)",deleteProject:"Remove case from sidebar (Delete)"},sz={deleteProjectConfirm:"Remove this case from the sidebar? Your case files, memories, and session data will not be deleted.",enterProjectPath:"Please enter a case path",deleteProjectFailed:"Failed to remove case. Please try again.",deleteProjectError:"Error removing case. Please try again.",createProjectFailed:"Failed to create case. Please try again.",createProjectError:"Error creating case. Please try again.",updateProjectError:"Error updating case. Please try again.",restoreProjectFailed:"Failed to restore case. Please try again.",restoreProjectError:"Error restoring case. Please try again."},oz={modeProjects:"Cases",projectsScanned_one:"{{count}} case scanned",projectsScanned_other:"{{count}} cases scanned"},iz={deleteProject:"Remove Case",sessionCount_one:"This case contains {{count}} conversation.",sessionCount_other:"This case contains {{count}} conversations.",archiveProject:"Archive case",allConversationsDeleted:"The case will be removed from the sidebar. Your files, memories, and session data will be preserved.",cannotUndo:"You can re-add the case later."},eFe={projects:rz,app:nz,tooltips:az,messages:sz,search:oz,deleteConfirmation:iz},tFe=Object.freeze(Object.defineProperty({__proto__:null,app:nz,default:eFe,deleteConfirmation:iz,messages:sz,projects:rz,search:oz,tooltips:az},Symbol.toStringTag,{value:"Module"})),lz={description:"Inicia sesión en tu cuenta autoalojada de PieceMaker"},rFe={login:lz},nFe=Object.freeze(Object.defineProperty({__proto__:null,default:rFe,login:lz},Symbol.toStringTag,{value:"Module"})),cz={selectProject:{title:"Selecciona un expediente",description:"Elige un expediente para abrir una shell interactiva en ese directorio"}},dz={startChatWithProvider:"Selecciona un expediente para empezar a chatear con {{provider}}"},aFe={shell:cz,projectSelection:dz},sFe=Object.freeze(Object.defineProperty({__proto__:null,default:aFe,projectSelection:dz,shell:cz},Symbol.toStringTag,{value:"Module"})),oFe={},iFe=Object.freeze(Object.defineProperty({__proto__:null,default:oFe},Symbol.toStringTag,{value:"Module"})),uz={loading:"Cargando PieceMaker",chooseProject:"Elige tu expediente",selectProjectDescription:"Selecciona un expediente en la barra lateral para empezar a programar con Claude. Cada expediente contiene tus sesiones de chat e historial de archivos.",createProjectMobile:"Toca el botón de menú de arriba para acceder a los expedientes",createProjectDesktop:"Crea un expediente nuevo haciendo clic en el icono de carpeta de la barra lateral",projectFiles:"Archivos del expediente"},pz={checkProjectPath:"Comprueba si la ruta del expediente es accesible"},mz={title:"Crear expediente nuevo",step1:{existing:{description:"Ya tengo un espacio de trabajo en mi servidor y solo necesito añadirlo a la lista de expedientes"}},step3:{existingInfo:"El espacio de trabajo se añadirá a tu lista de expedientes y estará disponible para sesiones de Claude/Cursor.",newEmpty:"El espacio de trabajo se añadirá a tu lista de expedientes y estará disponible para sesiones de Claude/Cursor."},buttons:{createProject:"Crear expediente"}},lFe={mainContent:uz,fileTree:pz,projectWizard:mz},cFe=Object.freeze(Object.defineProperty({__proto__:null,default:lFe,fileTree:pz,mainContent:uz,projectWizard:mz},Symbol.toStringTag,{value:"Module"})),hz={scope:{project:"Expediente"}},fz={projectSorting:{label:"Orden de expedientes",description:"Cómo se ordenan los expedientes en la barra lateral"}},gz={scope:{projectLocal:"Expediente (local)",userDescription:"Ámbito de usuario: disponible en todos los expedientes de tu máquina",projectDescription:"Ámbito local: solo disponible en el expediente seleccionado"},fields:{selectProject:"Selecciona un expediente..."}},bz={notInstalled:{steps:{initCommand:"Usa task-master init en el directorio de tu expediente"}}},xz={codex:{technicalInfo:{acceptEdits:"sandboxMode=workspace-write, approvalPolicy=never. Todos los comandos se autoejecutan dentro del directorio del expediente."}}},vz={managed:{hint:"Gestionado por PieceMaker."}},yz={sections:{officialDescription:"Mantenidos por el equipo de PieceMaker y listos para instalar directamente."},starterPlugin:{name:"Estadísticas del expediente",description:"Recuento de archivos, líneas de código, desglose por tipo de archivo y actividad reciente de tu expediente."}},dFe={mcp:hz,appearanceSettings:fz,mcpForm:gz,tasks:bz,permissions:xz,mcpServers:vz,pluginSettings:yz},uFe=Object.freeze(Object.defineProperty({__proto__:null,appearanceSettings:fz,default:dFe,mcp:hz,mcpForm:gz,mcpServers:vz,permissions:xz,pluginSettings:yz,tasks:bz},Symbol.toStringTag,{value:"Module"})),wz={title:"Expedientes",newProject:"Nuevo expediente",deleteProject:"Quitar expediente",renameProject:"Renombrar expediente",noProjects:"No se encontraron expedientes",loadingProjects:"Cargando expedientes...",searchPlaceholder:"Buscar expedientes...",projectNamePlaceholder:"Nombre del expediente",fetchingProjects:"Obteniendo tus expedientes y sesiones de Claude",projects:"expedientes",noMatchingProjects:"No hay expedientes que coincidan",runClaudeCli:"Ejecuta Claude CLI en el directorio de un expediente para empezar"},kz={title:"PieceMaker"},Sz={createProject:"Crear expediente nuevo",refresh:"Actualizar expedientes y sesiones (Ctrl+R)",renameProject:"Renombrar expediente (F2)",deleteProject:"Quitar expediente de la barra lateral (Supr)"},Cz={deleteProjectConfirm:"¿Quitar este expediente de la barra lateral? Tus archivos, memorias y datos de sesión no se eliminarán.",enterProjectPath:"Introduce la ruta del expediente",deleteProjectFailed:"No se pudo quitar el expediente. Inténtalo de nuevo.",deleteProjectError:"Error al quitar el expediente. Inténtalo de nuevo.",createProjectFailed:"No se pudo crear el expediente. Inténtalo de nuevo.",createProjectError:"Error al crear el expediente. Inténtalo de nuevo.",updateProjectError:"Error al actualizar el expediente. Inténtalo de nuevo.",restoreProjectFailed:"No se pudo restaurar el expediente. Inténtalo de nuevo.",restoreProjectError:"Error al restaurar el expediente. Inténtalo de nuevo."},jz={modeProjects:"Expedientes",projectsScanned_one:"{{count}} expediente examinado",projectsScanned_other:"{{count}} expedientes examinados"},Nz={deleteProject:"Quitar expediente",sessionCount_one:"Este expediente contiene {{count}} conversación.",sessionCount_other:"Este expediente contiene {{count}} conversaciones.",archiveProject:"Archivar expediente",allConversationsDeleted:"El expediente se quitará de la barra lateral. Tus archivos, memorias y datos de sesión se conservarán.",cannotUndo:"Puedes volver a añadir el expediente más tarde."},pFe={projects:wz,app:kz,tooltips:Sz,messages:Cz,search:jz,deleteConfirmation:Nz},mFe=Object.freeze(Object.defineProperty({__proto__:null,app:kz,default:pFe,deleteConfirmation:Nz,messages:Cz,projects:wz,search:jz,tooltips:Sz},Symbol.toStringTag,{value:"Module"})),Tz={description:"Connectez-vous à votre compte PieceMaker auto-hébergé"},hFe={login:Tz},fFe=Object.freeze(Object.defineProperty({__proto__:null,default:hFe,login:Tz},Symbol.toStringTag,{value:"Module"})),Ez={selectProject:{title:"Sélectionner un dossier",description:"Choisissez un dossier pour ouvrir un shell interactif dans ce répertoire"}},Az={startChatWithProvider:"Sélectionnez un dossier pour commencer à chatter avec {{provider}}"},gFe={shell:Ez,projectSelection:Az},bFe=Object.freeze(Object.defineProperty({__proto__:null,default:gFe,projectSelection:Az,shell:Ez},Symbol.toStringTag,{value:"Module"})),xFe={},vFe=Object.freeze(Object.defineProperty({__proto__:null,default:xFe},Symbol.toStringTag,{value:"Module"})),_z={loading:"Chargement de PieceMaker",chooseProject:"Choisissez votre dossier",selectProjectDescription:"Sélectionnez un dossier dans la barre latérale pour commencer à coder avec Claude. Chaque dossier contient vos sessions de chat et l'historique des fichiers.",createProjectMobile:"Appuyez sur le bouton menu ci-dessus pour accéder aux dossiers",createProjectDesktop:"Créez un nouveau dossier en cliquant sur l'icône de dossier dans la barre latérale",projectFiles:"Fichiers du dossier"},Pz={checkProjectPath:"Vérifiez si le chemin du dossier est accessible"},Mz={title:"Créer un nouveau dossier",step1:{existing:{description:"J'ai déjà un espace de travail sur mon serveur et je veux juste l'ajouter à la liste des dossiers"}},step3:{existingInfo:"L'espace de travail sera ajouté à votre liste de dossiers et disponible pour les sessions Claude/Cursor.",newEmpty:"L'espace de travail sera ajouté à votre liste de dossiers et disponible pour les sessions Claude/Cursor."},buttons:{createProject:"Créer le dossier"}},yFe={mainContent:_z,fileTree:Pz,projectWizard:Mz},wFe=Object.freeze(Object.defineProperty({__proto__:null,default:yFe,fileTree:Pz,mainContent:_z,projectWizard:Mz},Symbol.toStringTag,{value:"Module"})),Iz={scope:{project:"Dossier"}},Dz={projectSorting:{label:"Tri des dossiers",description:"Ordre d'affichage des dossiers dans la barre latérale"}},Rz={scope:{projectLocal:"Dossier (local)",userDescription:"Portée utilisateur : Disponible dans tous les dossiers sur votre machine",projectDescription:"Portée locale : Disponible uniquement dans le dossier sélectionné"},fields:{selectProject:"Sélectionner un dossier..."}},zz={notInstalled:{steps:{initCommand:"Utilisez task-master init dans le répertoire de votre dossier"}}},Lz={codex:{technicalInfo:{acceptEdits:"sandboxMode=workspace-write, approvalPolicy=never. Toutes les commandes s'exécutent automatiquement dans le répertoire du dossier."}}},$z={sections:{officialDescription:"Maintenus par l'équipe PieceMaker et prêts à être installés directement."},starterPlugin:{name:"Statistiques du dossier",description:"Nombre de fichiers, lignes de code, répartition par type de fichier et activité récente pour votre dossier."}},kFe={mcp:Iz,appearanceSettings:Dz,mcpForm:Rz,tasks:zz,permissions:Lz,pluginSettings:$z},SFe=Object.freeze(Object.defineProperty({__proto__:null,appearanceSettings:Dz,default:kFe,mcp:Iz,mcpForm:Rz,permissions:Lz,pluginSettings:$z,tasks:zz},Symbol.toStringTag,{value:"Module"})),Fz={title:"Dossiers",newProject:"Nouveau dossier",deleteProject:"Supprimer le dossier",renameProject:"Renommer le dossier",noProjects:"Aucun dossier trouvé",loadingProjects:"Chargement des dossiers...",searchPlaceholder:"Rechercher des dossiers...",projectNamePlaceholder:"Nom du dossier",fetchingProjects:"Récupération de vos dossiers et sessions Claude",projects:"dossiers",noMatchingProjects:"Aucun dossier correspondant",runClaudeCli:"Exécutez le CLI Claude dans le répertoire d'un dossier pour commencer"},Oz={title:"PieceMaker"},Bz={createProject:"Créer un nouveau dossier",refresh:"Actualiser les dossiers et sessions (Ctrl+R)",renameProject:"Renommer le dossier (F2)",deleteProject:"Retirer le dossier de la barre latérale (Suppr)"},Uz={deleteProjectConfirm:"Retirer ce dossier de la barre latérale ? Vos fichiers, mémoires et données de session ne seront pas supprimés.",enterProjectPath:"Veuillez entrer un chemin de dossier",deleteProjectFailed:"Échec de la suppression du dossier. Veuillez réessayer.",deleteProjectError:"Erreur lors de la suppression du dossier. Veuillez réessayer.",createProjectFailed:"Échec de la création du dossier. Veuillez réessayer.",createProjectError:"Erreur lors de la création du dossier. Veuillez réessayer.",updateProjectError:"Erreur lors de la mise à jour du dossier. Veuillez réessayer.",restoreProjectFailed:"Échec de la restauration du dossier. Veuillez réessayer.",restoreProjectError:"Erreur lors de la restauration du dossier. Veuillez réessayer."},Hz={modeProjects:"Dossiers",projectsScanned_one:"{{count}} dossier analysé",projectsScanned_other:"{{count}} dossiers analysés"},qz={deleteProject:"Supprimer le dossier",sessionCount_one:"Ce dossier contient {{count}} conversation.",sessionCount_other:"Ce dossier contient {{count}} conversations.",archiveProject:"Archiver le dossier",allConversationsDeleted:"Le dossier sera retiré de la barre latérale. Vos fichiers, mémoires et données de session seront conservés.",cannotUndo:"Vous pourrez rajouter le dossier ultérieurement."},CFe={projects:Fz,app:Oz,tooltips:Bz,messages:Uz,search:Hz,deleteConfirmation:qz},jFe=Object.freeze(Object.defineProperty({__proto__:null,app:Oz,default:CFe,deleteConfirmation:qz,messages:Uz,projects:Fz,search:Hz,tooltips:Bz},Symbol.toStringTag,{value:"Module"})),Wz={description:"Accedi al tuo account PieceMaker self-hosted"},NFe={login:Wz},TFe=Object.freeze(Object.defineProperty({__proto__:null,default:NFe,login:Wz},Symbol.toStringTag,{value:"Module"})),Vz={selectProject:{title:"Seleziona un fascicolo",description:"Scegli un fascicolo per aprire una shell interattiva in quella directory"}},Gz={startChatWithProvider:"Seleziona un fascicolo per iniziare a chattare con {{provider}}"},EFe={shell:Vz,projectSelection:Gz},AFe=Object.freeze(Object.defineProperty({__proto__:null,default:EFe,projectSelection:Gz,shell:Vz},Symbol.toStringTag,{value:"Module"})),_Fe={},PFe=Object.freeze(Object.defineProperty({__proto__:null,default:_Fe},Symbol.toStringTag,{value:"Module"})),Kz={loading:"Caricamento PieceMaker",chooseProject:"Scegli il tuo fascicolo",selectProjectDescription:"Seleziona un fascicolo dalla barra laterale per iniziare a programmare con Claude. Ogni fascicolo contiene le tue sessioni di chat e la cronologia dei file.",createProjectMobile:"Tocca il pulsante menu in alto per accedere ai fascicoli",createProjectDesktop:"Crea un nuovo fascicolo cliccando l'icona cartella nella barra laterale",projectFiles:"File del fascicolo"},Yz={checkProjectPath:"Verifica che il percorso del fascicolo sia accessibile"},Xz={title:"Crea nuovo fascicolo",step1:{existing:{description:"Ho già un'area di lavoro sul mio server e devo solo aggiungerla alla lista dei fascicoli"}},step3:{existingInfo:"L'area di lavoro verrà aggiunta alla lista dei fascicoli e sarà disponibile per le sessioni Claude/Cursor.",newEmpty:"L'area di lavoro verrà aggiunta alla lista dei fascicoli e sarà disponibile per le sessioni Claude/Cursor."},buttons:{createProject:"Crea fascicolo"}},MFe={mainContent:Kz,fileTree:Yz,projectWizard:Xz},IFe=Object.freeze(Object.defineProperty({__proto__:null,default:MFe,fileTree:Yz,mainContent:Kz,projectWizard:Xz},Symbol.toStringTag,{value:"Module"})),Zz={scope:{project:"Fascicolo"}},Jz={projectSorting:{label:"Ordinamento fascicoli",description:"Come vengono ordinati i fascicoli nella barra laterale"}},Qz={scope:{projectLocal:"Fascicolo (locale)",userDescription:"Ambito utente: disponibile in tutti i fascicoli sulla tua macchina",projectDescription:"Ambito locale: disponibile solo nel fascicolo selezionato"},fields:{selectProject:"Seleziona un fascicolo..."}},eL={notInstalled:{steps:{initCommand:"Usa task-master init nella directory del tuo fascicolo"}}},tL={codex:{technicalInfo:{acceptEdits:"sandboxMode=workspace-write, approvalPolicy=never. Tutti i comandi vengono auto-eseguiti nella directory del fascicolo."}}},rL={starterPlugin:{name:"Statistiche fascicolo",description:"Conteggio file, righe di codice, ripartizione per tipo di file e attività recente per il tuo fascicolo."}},DFe={mcp:Zz,appearanceSettings:Jz,mcpForm:Qz,tasks:eL,permissions:tL,pluginSettings:rL},RFe=Object.freeze(Object.defineProperty({__proto__:null,appearanceSettings:Jz,default:DFe,mcp:Zz,mcpForm:Qz,permissions:tL,pluginSettings:rL,tasks:eL},Symbol.toStringTag,{value:"Module"})),nL={title:"Fascicoli",newProject:"Nuovo fascicolo",deleteProject:"Rimuovi fascicolo",renameProject:"Rinomina fascicolo",noProjects:"Nessun fascicolo trovato",loadingProjects:"Caricamento fascicoli...",searchPlaceholder:"Cerca fascicoli...",projectNamePlaceholder:"Nome fascicolo",fetchingProjects:"Recupero dei tuoi fascicoli e sessioni Claude",projects:"fascicoli",noMatchingProjects:"Nessun fascicolo corrispondente",runClaudeCli:"Esegui Claude CLI in una directory di fascicolo per iniziare"},aL={title:"PieceMaker"},sL={createProject:"Crea nuovo fascicolo",refresh:"Aggiorna fascicoli e sessioni (Ctrl+R)",renameProject:"Rinomina fascicolo (F2)",deleteProject:"Rimuovi fascicolo dalla barra laterale (Canc)"},oL={deleteProjectConfirm:"Rimuovere questo fascicolo dalla barra laterale? I file del fascicolo, le memorie e i dati delle sessioni non verranno eliminati.",enterProjectPath:"Inserisci un percorso di fascicolo",deleteProjectFailed:"Impossibile rimuovere il fascicolo. Riprova.",deleteProjectError:"Errore durante la rimozione del fascicolo. Riprova.",createProjectFailed:"Impossibile creare il fascicolo. Riprova.",createProjectError:"Errore durante la creazione del fascicolo. Riprova.",updateProjectError:"Errore durante l'aggiornamento del fascicolo. Riprova.",restoreProjectFailed:"Impossibile ripristinare il fascicolo. Riprova.",restoreProjectError:"Errore durante il ripristino del fascicolo. Riprova."},iL={modeProjects:"Fascicoli",projectsScanned_one:"{{count}} fascicolo analizzato",projectsScanned_other:"{{count}} fascicoli analizzati"},lL={deleteProject:"Rimuovi fascicolo",sessionCount_one:"Questo fascicolo contiene {{count}} conversazione.",sessionCount_other:"Questo fascicolo contiene {{count}} conversazioni.",archiveProject:"Archivia fascicolo",allConversationsDeleted:"Il fascicolo verrà rimosso dalla barra laterale. I tuoi file, memorie e dati delle sessioni verranno preservati."},zFe={projects:nL,app:aL,tooltips:sL,messages:oL,search:iL,deleteConfirmation:lL},LFe=Object.freeze(Object.defineProperty({__proto__:null,app:aL,default:zFe,deleteConfirmation:lL,messages:oL,projects:nL,search:iL,tooltips:sL},Symbol.toStringTag,{value:"Module"})),cL={description:"PieceMakerアカウントにサインイン"},$Fe={login:cL},FFe=Object.freeze(Object.defineProperty({__proto__:null,default:$Fe,login:cL},Symbol.toStringTag,{value:"Module"})),dL={selectProject:{title:"案件を選択",description:"案件を選択してそのディレクトリでシェルを開きます"}},OFe={shell:dL},BFe=Object.freeze(Object.defineProperty({__proto__:null,default:OFe,shell:dL},Symbol.toStringTag,{value:"Module"})),UFe={},HFe=Object.freeze(Object.defineProperty({__proto__:null,default:UFe},Symbol.toStringTag,{value:"Module"})),uL={loading:"PieceMaker を読み込んでいます",chooseProject:"案件を選択",selectProjectDescription:"サイドバーから案件を選択して、Claudeとコーディングを始めましょう。各案件にはチャットセッションとファイル履歴が含まれています。",createProjectMobile:"上部のメニューボタンから案件にアクセスできます",createProjectDesktop:"サイドバーのフォルダアイコンをクリックして新しい案件を作成できます",projectFiles:"案件ファイル"},pL={checkProjectPath:"案件のパスがアクセス可能か確認してください"},mL={title:"新規案件を作成",step1:{existing:{description:"サーバー上に既存のワークスペースがあり、案件一覧に追加したい"}},step3:{existingInfo:"ワークスペースが案件一覧に追加され、Claude/Cursorセッションで使用できるようになります。",newEmpty:"ワークスペースが案件一覧に追加され、Claude/Cursorセッションで使用できるようになります。"},buttons:{createProject:"案件を作成"}},qFe={mainContent:uL,fileTree:pL,projectWizard:mL},WFe=Object.freeze(Object.defineProperty({__proto__:null,default:qFe,fileTree:pL,mainContent:uL,projectWizard:mL},Symbol.toStringTag,{value:"Module"})),hL={scope:{project:"案件"}},fL={projectSorting:{label:"案件の並び順",description:"サイドバーでの案件の並び順を設定します"}},gL={scope:{projectLocal:"案件(ローカル)",userDescription:"ユーザースコープ: すべての案件で利用可能",projectDescription:"ローカルスコープ: 選択した案件でのみ利用可能"},fields:{selectProject:"案件を選択..."}},bL={notInstalled:{steps:{initCommand:"案件ディレクトリで task-master init を実行してください"}}},xL={codex:{technicalInfo:{acceptEdits:"sandboxMode=workspace-write, approvalPolicy=never。すべてのコマンドが案件ディレクトリ内で自動実行。"}}},vL={starterPlugin:{name:"案件統計",description:"案件のファイル数、コード行数、ファイルタイプの内訳、最近のアクティビティを表示します。"}},VFe={mcp:hL,appearanceSettings:fL,mcpForm:gL,tasks:bL,permissions:xL,pluginSettings:vL},GFe=Object.freeze(Object.defineProperty({__proto__:null,appearanceSettings:fL,default:VFe,mcp:hL,mcpForm:gL,permissions:xL,pluginSettings:vL,tasks:bL},Symbol.toStringTag,{value:"Module"})),yL={title:"案件",newProject:"新規案件",deleteProject:"案件を除去",renameProject:"案件名を変更",noProjects:"案件が見つかりません",loadingProjects:"案件を読み込んでいます...",searchPlaceholder:"案件を検索...",projectNamePlaceholder:"案件名",fetchingProjects:"Claudeの案件とセッションを取得しています",projects:"案件",noMatchingProjects:"一致する案件がありません",runClaudeCli:"案件ディレクトリでClaude CLIを実行して始めましょう"},wL={title:"PieceMaker"},kL={createProject:"新しい案件を作成",refresh:"案件とセッションを更新 (Ctrl+R)",renameProject:"案件名を変更 (F2)",deleteProject:"サイドバーから案件を除去 (Delete)"},SL={deleteProjectConfirm:"サイドバーからこの案件を除去しますか?案件ファイル、メモリ、セッションデータは削除されません。",enterProjectPath:"案件のパスを入力してください",deleteProjectFailed:"案件の除去に失敗しました。もう一度お試しください。",deleteProjectError:"案件の除去でエラーが発生しました。もう一度お試しください。",createProjectFailed:"案件の作成に失敗しました。もう一度お試しください。",createProjectError:"案件の作成でエラーが発生しました。もう一度お試しください。",updateProjectError:"案件の更新でエラーが発生しました。もう一度お試しください。",restoreProjectFailed:"案件の復元に失敗しました。もう一度お試しください。",restoreProjectError:"案件の復元でエラーが発生しました。もう一度お試しください。"},CL={deleteProject:"案件を除去",confirmDelete:"この案件をどうしますか:",sessionCount:"この案件には{{count}}件の会話があります。",archiveProject:"案件をアーカイブ",allConversationsDeleted:"案件はサイドバーから除去されます。ファイル、メモリ、セッションデータは保持されます。",cannotUndo:"後から案件を再追加できます。"},KFe={projects:yL,app:wL,tooltips:kL,messages:SL,deleteConfirmation:CL},YFe=Object.freeze(Object.defineProperty({__proto__:null,app:wL,default:KFe,deleteConfirmation:CL,messages:SL,projects:yL,tooltips:kL},Symbol.toStringTag,{value:"Module"})),jL={description:"PieceMaker 계정에 로그인하세요"},XFe={login:jL},ZFe=Object.freeze(Object.defineProperty({__proto__:null,default:XFe,login:jL},Symbol.toStringTag,{value:"Module"})),NL={selectProject:{title:"사건 선택",description:"해당 디렉토리에서 대화형 Shell을 열 사건을 선택하세요"}},TL={startChatWithProvider:"{{provider}}와 채팅을 시작하려면 사건을 선택하세요"},JFe={shell:NL,projectSelection:TL},QFe=Object.freeze(Object.defineProperty({__proto__:null,default:JFe,projectSelection:TL,shell:NL},Symbol.toStringTag,{value:"Module"})),eOe={},tOe=Object.freeze(Object.defineProperty({__proto__:null,default:eOe},Symbol.toStringTag,{value:"Module"})),EL={loading:"PieceMaker 로딩 중",chooseProject:"사건 선택",selectProjectDescription:"사이드바에서 사건을 선택하여 Claude와 코딩을 시작하세요. 각 사건에는 채팅 세션과 파일 히스토리가 포함됩니다.",createProjectMobile:"위의 메뉴 버튼을 눌러 사건에 접근하세요",createProjectDesktop:"사이드바의 폴더 아이콘을 클릭하여 새 사건을 생성하세요",projectFiles:"사건 파일"},AL={checkProjectPath:"사건 경로가 접근 가능한지 확인하세요"},_L={title:"새 사건 생성",step1:{existing:{description:"서버에 이미 워크스페이스가 있고 사건 목록에 추가만 하면 됩니다"}},step3:{existingInfo:"워크스페이스가 사건 목록에 추가되며 Claude/Cursor 세션에서 사용할 수 있습니다.",newEmpty:"워크스페이스가 사건 목록에 추가되며 Claude/Cursor 세션에서 사용할 수 있습니다."},buttons:{createProject:"사건 생성"}},rOe={mainContent:EL,fileTree:AL,projectWizard:_L},nOe=Object.freeze(Object.defineProperty({__proto__:null,default:rOe,fileTree:AL,mainContent:EL,projectWizard:_L},Symbol.toStringTag,{value:"Module"})),PL={scope:{project:"사건"}},ML={projectSorting:{label:"사건 정렬",description:"사이드바에서 사건 정렬 방식"}},IL={scope:{projectLocal:"사건 (로컬)",userDescription:"사용자 범위: 모든 사건에서 사용 가능",projectDescription:"로컬 범위: 선택한 사건에서만 사용 가능"},fields:{selectProject:"사건 선택..."}},DL={notInstalled:{steps:{initCommand:"사건 디렉토리에서 task-master init을 사용하세요"}}},RL={codex:{technicalInfo:{acceptEdits:"sandboxMode=workspace-write, approvalPolicy=never. 사건 디렉토리 내에서 모든 명령어 자동 실행."}}},zL={managed:{hint:"PieceMaker가 관리합니다."}},LL={sections:{officialDescription:"PieceMaker 팀이 관리하며 바로 설치할 수 있습니다."},starterPlugin:{name:"사건 통계",description:"사건의 파일 수, 코드 라인 수, 파일 유형별 분석 및 최근 활동을 확인합니다."}},aOe={mcp:PL,appearanceSettings:ML,mcpForm:IL,tasks:DL,permissions:RL,mcpServers:zL,pluginSettings:LL},sOe=Object.freeze(Object.defineProperty({__proto__:null,appearanceSettings:ML,default:aOe,mcp:PL,mcpForm:IL,mcpServers:zL,permissions:RL,pluginSettings:LL,tasks:DL},Symbol.toStringTag,{value:"Module"})),$L={title:"사건",newProject:"새 사건",deleteProject:"사건 제거",renameProject:"사건 이름 변경",noProjects:"사건이 없습니다",loadingProjects:"사건 로딩 중...",searchPlaceholder:"사건 검색...",projectNamePlaceholder:"사건 이름",fetchingProjects:"Claude 사건과 세션을 가져오는 중",projects:"사건",noMatchingProjects:"일치하는 사건 없음",runClaudeCli:"사건 디렉토리에서 Claude CLI를 실행하여 시작하세요"},FL={title:"PieceMaker"},OL={createProject:"새 사건 생성",refresh:"사건 및 세션 새로고침 (Ctrl+R)",renameProject:"사건 이름 변경 (F2)",deleteProject:"사이드바에서 사건 제거 (Delete)"},BL={deleteProjectConfirm:"사이드바에서 이 사건을 제거하시겠습니까? 사건 파일, 메모리 및 세션 데이터는 삭제되지 않습니다.",enterProjectPath:"사건 경로를 입력해주세요",deleteProjectFailed:"사건 제거 실패. 다시 시도해주세요.",deleteProjectError:"사건 제거 오류. 다시 시도해주세요.",createProjectFailed:"사건 생성 실패. 다시 시도해주세요.",createProjectError:"사건 생성 오류. 다시 시도해주세요.",updateProjectError:"사건 업데이트 오류. 다시 시도해주세요.",restoreProjectFailed:"사건 복원 실패. 다시 시도해주세요.",restoreProjectError:"사건 복원 오류. 다시 시도해주세요."},UL={modeProjects:"사건",projectsScanned_one:"사건 {{count}}개 검색됨",projectsScanned_other:"사건 {{count}}개 검색됨"},HL={deleteProject:"사건 제거",confirmDelete:"이 사건을 어떻게 하시겠습니까:",sessionCount_one:"이 사건에는 {{count}}개의 대화가 있습니다.",sessionCount_other:"이 사건에는 {{count}}개의 대화가 있습니다.",archiveProject:"사건 보관",allConversationsDeleted:"사건이 사이드바에서 제거됩니다. 파일, 메모리 및 세션 데이터는 보존됩니다.",cannotUndo:"나중에 사건을 다시 추가할 수 있습니다."},oOe={projects:$L,app:FL,tooltips:OL,messages:BL,search:UL,deleteConfirmation:HL},iOe=Object.freeze(Object.defineProperty({__proto__:null,app:FL,default:oOe,deleteConfirmation:HL,messages:BL,projects:$L,search:UL,tooltips:OL},Symbol.toStringTag,{value:"Module"})),qL={description:"Войдите в свой аккаунт PieceMaker"},lOe={login:qL},cOe=Object.freeze(Object.defineProperty({__proto__:null,default:lOe,login:qL},Symbol.toStringTag,{value:"Module"})),WL={selectProject:{title:"Выберите досье",description:"Выберите досье для открытия интерактивной оболочки в этом каталоге"}},VL={startChatWithProvider:"Выберите досье для начала чата с {{provider}}"},dOe={shell:WL,projectSelection:VL},uOe=Object.freeze(Object.defineProperty({__proto__:null,default:dOe,projectSelection:VL,shell:WL},Symbol.toStringTag,{value:"Module"})),pOe={},mOe=Object.freeze(Object.defineProperty({__proto__:null,default:pOe},Symbol.toStringTag,{value:"Module"})),GL={loading:"Загрузка PieceMaker",chooseProject:"Выберите досье",selectProjectDescription:"Выберите досье на боковой панели, чтобы начать работу с Claude. Каждое досье содержит ваши сеансы чата и историю файлов.",createProjectMobile:"Нажмите кнопку меню выше для доступа к досье",createProjectDesktop:"Создайте новое досье, нажав на значок папки на боковой панели",projectFiles:"Файлы досье"},KL={checkProjectPath:"Проверьте доступность пути к досье"},YL={title:"Создать новое досье",step1:{existing:{description:"У меня уже есть рабочее пространство на сервере, нужно только добавить его в список досье"}},step3:{existingInfo:"Рабочее пространство будет добавлено в список досье и будет доступно для сеансов Claude/Cursor.",newEmpty:"Рабочее пространство будет добавлено в список досье и будет доступно для сеансов Claude/Cursor."},buttons:{createProject:"Создать досье"}},hOe={mainContent:GL,fileTree:KL,projectWizard:YL},fOe=Object.freeze(Object.defineProperty({__proto__:null,default:hOe,fileTree:KL,mainContent:GL,projectWizard:YL},Symbol.toStringTag,{value:"Module"})),XL={scope:{project:"Досье"}},ZL={projectSorting:{label:"Сортировка досье",description:"Как досье упорядочены на боковой панели"}},JL={scope:{projectLocal:"Досье (локально)",userDescription:"Область пользователя: доступно во всех досье на вашей машине",projectDescription:"Локальная область: доступно только в выбранном досье"},fields:{selectProject:"Выберите досье..."}},QL={notInstalled:{steps:{initCommand:"Используйте task-master init в каталоге вашего досье"}}},e$={codex:{technicalInfo:{acceptEdits:"sandboxMode=workspace-write, approvalPolicy=never. Все команды автоматически выполняются в каталоге досье."}}},t$={starterPlugin:{name:"Статистика досье",description:"Количество файлов, строк кода, разбивка по типам файлов и недавняя активность в вашем досье."}},gOe={mcp:XL,appearanceSettings:ZL,mcpForm:JL,tasks:QL,permissions:e$,pluginSettings:t$},bOe=Object.freeze(Object.defineProperty({__proto__:null,appearanceSettings:ZL,default:gOe,mcp:XL,mcpForm:JL,permissions:e$,pluginSettings:t$,tasks:QL},Symbol.toStringTag,{value:"Module"})),r$={title:"Досье",newProject:"Новое досье",deleteProject:"Убрать досье",renameProject:"Переименовать досье",noProjects:"Досье не найдено",loadingProjects:"Загрузка досье...",searchPlaceholder:"Поиск досье...",projectNamePlaceholder:"Имя досье",fetchingProjects:"Получение ваших досье и сеансов Claude",projects:"досье",noMatchingProjects:"Нет подходящих досье",runClaudeCli:"Запустите Claude CLI в каталоге досье для начала работы"},n$={title:"PieceMaker"},a$={createProject:"Создать новое досье",refresh:"Обновить досье и сеансы (Ctrl+R)",renameProject:"Переименовать досье (F2)",deleteProject:"Убрать досье из боковой панели (Delete)"},s$={deleteProjectConfirm:"Убрать это досье из боковой панели? Файлы досье, воспоминания и данные сеансов не будут удалены.",enterProjectPath:"Пожалуйста, введите путь к досье",deleteProjectFailed:"Не удалось убрать досье. Попробуйте снова.",deleteProjectError:"Ошибка при удалении досье из списка. Попробуйте снова.",createProjectFailed:"Не удалось создать досье. Попробуйте снова.",createProjectError:"Ошибка при создании досье. Попробуйте снова.",updateProjectError:"Ошибка при обновлении досье. Попробуйте снова.",restoreProjectFailed:"Не удалось восстановить досье. Попробуйте снова.",restoreProjectError:"Ошибка при восстановлении досье. Попробуйте снова."},o$={modeProjects:"Досье",projectsScanned_one:"{{count}} досье просканировано",projectsScanned_few:"{{count}} досье просканировано",projectsScanned_many:"{{count}} досье просканировано",projectsScanned_other:"{{count}} досье просканировано"},i$={deleteProject:"Убрать досье",sessionCount_one:"Это досье содержит {{count}} разговор.",sessionCount_few:"Это досье содержит {{count}} разговора.",sessionCount_many:"Это досье содержит {{count}} разговоров.",sessionCount_other:"Это досье содержит {{count}} разговоров.",archiveProject:"Архивировать досье",allConversationsDeleted:"Досье будет убрано из боковой панели. Ваши файлы, воспоминания и данные сеансов сохранятся.",cannotUndo:"Вы сможете добавить досье позже."},xOe={projects:r$,app:n$,tooltips:a$,messages:s$,search:o$,deleteConfirmation:i$},vOe=Object.freeze(Object.defineProperty({__proto__:null,app:n$,default:xOe,deleteConfirmation:i$,messages:s$,projects:r$,search:o$,tooltips:a$},Symbol.toStringTag,{value:"Module"})),l$={description:"Kendi PieceMaker hesabına giriş yap"},yOe={login:l$},wOe=Object.freeze(Object.defineProperty({__proto__:null,default:yOe,login:l$},Symbol.toStringTag,{value:"Module"})),c$={selectProject:{title:"Dava Seç",description:"O dizinde etkileşimli shell açmak için bir dava seç"}},d$={startChatWithProvider:"{{provider}} ile sohbet etmeye başlamak için bir dava seç"},kOe={shell:c$,projectSelection:d$},SOe=Object.freeze(Object.defineProperty({__proto__:null,default:kOe,projectSelection:d$,shell:c$},Symbol.toStringTag,{value:"Module"})),COe={},jOe=Object.freeze(Object.defineProperty({__proto__:null,default:COe},Symbol.toStringTag,{value:"Module"})),u$={loading:"PieceMaker Yükleniyor",chooseProject:"Davanı Seç",selectProjectDescription:"Claude ile kodlamaya başlamak için kenar çubuğundan bir dava seç. Her dava kendi sohbet oturumlarını ve dosya geçmişini içerir.",createProjectMobile:"Davalara erişmek için yukarıdaki menü düğmesine dokun",createProjectDesktop:"Kenar çubuğundaki klasör simgesine tıklayarak yeni bir dava oluştur",projectFiles:"Dava Dosyaları"},p$={checkProjectPath:"Dava yolunun erişilebilir olduğunu kontrol et"},m$={title:"Yeni Dava Oluştur",step1:{existing:{description:"Sunucumda zaten bir çalışma alanım var, sadece dava listesine eklemek istiyorum"}},step3:{existingInfo:"Çalışma alanı dava listene eklenecek ve Claude/Cursor oturumları için kullanılabilir olacak.",newEmpty:"Çalışma alanı dava listene eklenecek ve Claude/Cursor oturumları için kullanılabilir olacak."},buttons:{createProject:"Davayı Oluştur"}},NOe={mainContent:u$,fileTree:p$,projectWizard:m$},TOe=Object.freeze(Object.defineProperty({__proto__:null,default:NOe,fileTree:p$,mainContent:u$,projectWizard:m$},Symbol.toStringTag,{value:"Module"})),h$={scope:{project:"Dava"}},f$={projectSorting:{label:"Dava Sıralama",description:"Davaların kenar çubuğunda nasıl sıralanacağı"}},g$={scope:{projectLocal:"Dava (Yerel)",userDescription:"Kullanıcı kapsamı: Makinendeki tüm davalarda kullanılabilir",projectDescription:"Yerel kapsam: Yalnızca seçili davada kullanılabilir"},fields:{selectProject:"Bir dava seç..."}},b$={notInstalled:{steps:{initCommand:"Dava dizininde task-master init komutunu kullan"}}},x$={codex:{technicalInfo:{acceptEdits:"sandboxMode=workspace-write, approvalPolicy=never. Tüm komutlar dava dizini içinde otomatik çalışır."}}},v$={starterPlugin:{name:"Dava İstatistikleri",description:"Davan için dosya sayıları, kod satırları, dosya türü dağılımı ve son etkinlik."}},EOe={mcp:h$,appearanceSettings:f$,mcpForm:g$,tasks:b$,permissions:x$,pluginSettings:v$},AOe=Object.freeze(Object.defineProperty({__proto__:null,appearanceSettings:f$,default:EOe,mcp:h$,mcpForm:g$,permissions:x$,pluginSettings:v$,tasks:b$},Symbol.toStringTag,{value:"Module"})),y$={title:"Davalar",newProject:"Yeni Dava",deleteProject:"Davayı Kaldır",renameProject:"Davayı Yeniden Adlandır",noProjects:"Dava bulunamadı",loadingProjects:"Davalar yükleniyor...",searchPlaceholder:"Davalarda ara...",projectNamePlaceholder:"Dava adı",fetchingProjects:"Claude davaların ve oturumların getiriliyor",projects:"dava",noMatchingProjects:"Eşleşen dava yok",runClaudeCli:"Başlamak için bir dava dizininde Claude CLI çalıştır"},w$={title:"PieceMaker"},k$={createProject:"Yeni dava oluştur",refresh:"Davaları ve oturumları yenile (Ctrl+R)",renameProject:"Davayı yeniden adlandır (F2)",deleteProject:"Davayı kenar çubuğundan kaldır (Delete)"},S$={deleteProjectConfirm:"Bu dava kenar çubuğundan kaldırılsın mı? Dava dosyaların, bellek verilerin ve oturum verilerin silinmeyecek.",enterProjectPath:"Lütfen bir dava yolu gir",deleteProjectFailed:"Dava kaldırılamadı. Lütfen tekrar dene.",deleteProjectError:"Dava kaldırılırken hata oluştu. Lütfen tekrar dene.",createProjectFailed:"Dava oluşturulamadı. Lütfen tekrar dene.",createProjectError:"Dava oluşturulurken hata oluştu. Lütfen tekrar dene.",updateProjectError:"Dava güncellenirken hata oluştu. Lütfen tekrar dene.",restoreProjectFailed:"Dava geri yüklenemedi. Lütfen tekrar dene.",restoreProjectError:"Dava geri yüklenirken hata oluştu. Lütfen tekrar dene."},C$={modeProjects:"Davalar",projectsScanned_one:"{{count}} dava tarandı",projectsScanned_other:"{{count}} dava tarandı"},j$={deleteProject:"Davayı Kaldır",sessionCount_one:"Bu dava {{count}} konuşma içeriyor.",sessionCount_other:"Bu dava {{count}} konuşma içeriyor.",archiveProject:"Davayı arşivle",allConversationsDeleted:"Dava kenar çubuğundan kaldırılacak. Dosyaların, bellek verilerin ve oturum verilerin korunacak.",cannotUndo:"Davayı sonra tekrar ekleyebilirsin."},_Oe={projects:y$,app:w$,tooltips:k$,messages:S$,search:C$,deleteConfirmation:j$},POe=Object.freeze(Object.defineProperty({__proto__:null,app:w$,default:_Oe,deleteConfirmation:j$,messages:S$,projects:y$,search:C$,tooltips:k$},Symbol.toStringTag,{value:"Module"})),N$={description:"登录您的 PieceMaker 账户"},MOe={login:N$},IOe=Object.freeze(Object.defineProperty({__proto__:null,default:MOe,login:N$},Symbol.toStringTag,{value:"Module"})),T$={selectProject:{title:"选择案件",description:"选择一个案件以在该目录中打开交互式 Shell"}},E$={startChatWithProvider:"选择一个案件以开始与 {{provider}} 聊天"},DOe={shell:T$,projectSelection:E$},ROe=Object.freeze(Object.defineProperty({__proto__:null,default:DOe,projectSelection:E$,shell:T$},Symbol.toStringTag,{value:"Module"})),zOe={},LOe=Object.freeze(Object.defineProperty({__proto__:null,default:zOe},Symbol.toStringTag,{value:"Module"})),A$={loading:"正在加载 PieceMaker",chooseProject:"选择您的案件",selectProjectDescription:"从侧边栏选择一个案件以开始使用 Claude 进行编程。每个案件包含您的聊天会话和文件历史。",createProjectMobile:"点击上方的菜单按钮以访问案件",createProjectDesktop:"点击侧边栏中的文件夹图标以创建新案件",projectFiles:"案件文件"},_$={checkProjectPath:"检查案件路径是否可访问"},P$={title:"创建新案件",step1:{existing:{description:"我的服务器上已经有工作区,只需要将其添加到案件列表中"}},step3:{existingInfo:"工作区将被添加到您的案件列表中,并可用于 Claude/Cursor 会话。",newEmpty:"工作区将被添加到您的案件列表中,并可用于 Claude/Cursor 会话。"},buttons:{createProject:"创建案件"}},$Oe={mainContent:A$,fileTree:_$,projectWizard:P$},FOe=Object.freeze(Object.defineProperty({__proto__:null,default:$Oe,fileTree:_$,mainContent:A$,projectWizard:P$},Symbol.toStringTag,{value:"Module"})),M$={scope:{project:"案件"}},I$={projectSorting:{label:"案件排序",description:"案件在侧边栏中的排列方式"}},D$={scope:{projectLocal:"案件(本地)",userDescription:"用户范围:在您机器上的所有案件中可用",projectDescription:"本地范围:仅在选定案件中可用"},fields:{selectProject:"选择案件..."}},R$={notInstalled:{steps:{initCommand:"在案件目录中使用 task-master init"}}},z$={codex:{technicalInfo:{acceptEdits:"sandboxMode=workspace-write, approvalPolicy=never。所有命令在案件目录内自动执行。"}}},L$={managed:{hint:"由 PieceMaker 管理。"}},$$={sections:{officialDescription:"由 PieceMaker 团队维护,可直接安装。"},starterPlugin:{name:"案件统计",description:"查看案件的文件数、代码行数、文件类型分布以及最近活动。"}},OOe={mcp:M$,appearanceSettings:I$,mcpForm:D$,tasks:R$,permissions:z$,mcpServers:L$,pluginSettings:$$},BOe=Object.freeze(Object.defineProperty({__proto__:null,appearanceSettings:I$,default:OOe,mcp:M$,mcpForm:D$,mcpServers:L$,permissions:z$,pluginSettings:$$,tasks:R$},Symbol.toStringTag,{value:"Module"})),F$={title:"案件",newProject:"新建案件",deleteProject:"移除案件",renameProject:"重命名案件",noProjects:"未找到案件",loadingProjects:"加载案件中...",searchPlaceholder:"搜索案件...",projectNamePlaceholder:"案件名称",fetchingProjects:"正在获取您的 Claude 案件和会话",projects:"案件",noMatchingProjects:"未找到匹配的案件",runClaudeCli:"在案件目录中运行 Claude CLI 以开始使用"},O$={title:"PieceMaker"},B$={createProject:"创建新案件",refresh:"刷新案件和会话 (Ctrl+R)",renameProject:"重命名案件 (F2)",deleteProject:"从侧边栏移除案件 (Delete)"},U$={deleteProjectConfirm:"从侧边栏移除此案件?您的案件文件、记忆和会话数据不会被删除。",enterProjectPath:"请输入案件路径",deleteProjectFailed:"移除案件失败,请重试。",deleteProjectError:"移除案件时出错,请重试。",createProjectFailed:"创建案件失败,请重试。",createProjectError:"创建案件时出错,请重试。",updateProjectError:"更新案件时出错,请重试。",restoreProjectFailed:"恢复案件失败,请重试。",restoreProjectError:"恢复案件时出错,请重试。"},H$={modeProjects:"案件",projectsScanned_one:"{{count}} 个案件已扫描",projectsScanned_other:"{{count}} 个案件已扫描"},q$={deleteProject:"移除案件",sessionCount_one:"此案件包含 {{count}} 个对话。",sessionCount_other:"此案件包含 {{count}} 个对话。",archiveProject:"归档案件",allConversationsDeleted:"案件将从侧边栏中移除。您的文件、记忆和会话数据将会保留。",cannotUndo:"您可以稍后重新添加此案件。"},UOe={projects:F$,app:O$,tooltips:B$,messages:U$,search:H$,deleteConfirmation:q$},HOe=Object.freeze(Object.defineProperty({__proto__:null,app:O$,default:UOe,deleteConfirmation:q$,messages:U$,projects:F$,search:H$,tooltips:B$},Symbol.toStringTag,{value:"Module"})),W$={description:"登入您的 PieceMaker 帳戶"},qOe={login:W$},WOe=Object.freeze(Object.defineProperty({__proto__:null,default:qOe,login:W$},Symbol.toStringTag,{value:"Module"})),V$={selectProject:{title:"選擇案件",description:"選擇一個案件以在該目錄中開啟互動式 Shell"}},G$={startChatWithProvider:"選擇一個案件以開始與 {{provider}} 聊天"},VOe={shell:V$,projectSelection:G$},GOe=Object.freeze(Object.defineProperty({__proto__:null,default:VOe,projectSelection:G$,shell:V$},Symbol.toStringTag,{value:"Module"})),KOe={},YOe=Object.freeze(Object.defineProperty({__proto__:null,default:KOe},Symbol.toStringTag,{value:"Module"})),K$={loading:"正在載入 PieceMaker",chooseProject:"選擇您的案件",selectProjectDescription:"從側邊欄選擇一個案件以開始使用 Claude 進行程式開發。每個案件包含您的聊天紀錄和檔案歷史。",createProjectMobile:"點擊上方的選單按鈕以存取案件",createProjectDesktop:"點擊側邊欄中的資料夾圖示以建立新案件",projectFiles:"案件檔案"},Y$={checkProjectPath:"請檢查案件路徑是否可存取"},X$={title:"建立新案件",step1:{existing:{description:"我的伺服器上已經有工作區,只需要將其加入案件列表"}},step3:{existingInfo:"工作區將加入您的案件列表,並可用於 Claude/Cursor 工作階段。",newEmpty:"工作區將加入您的案件列表,並可用於 Claude/Cursor 工作階段。"},buttons:{createProject:"建立案件"}},XOe={mainContent:K$,fileTree:Y$,projectWizard:X$},ZOe=Object.freeze(Object.defineProperty({__proto__:null,default:XOe,fileTree:Y$,mainContent:K$,projectWizard:X$},Symbol.toStringTag,{value:"Module"})),Z$={scope:{project:"案件"}},J$={projectSorting:{label:"案件排序",description:"案件在側邊欄中的排列方式"}},Q$={scope:{projectLocal:"案件(本機)",userDescription:"使用者範圍:在您機器上的所有案件中可用",projectDescription:"本機範圍:僅在選定案件中可用"},fields:{selectProject:"選取案件..."}},eF={notInstalled:{steps:{initCommand:"在案件目錄中使用 task-master init"}}},tF={codex:{technicalInfo:{acceptEdits:"sandboxMode=workspace-write, approvalPolicy=never。所有指令在案件目錄內自動執行。"}}},rF={starterPlugin:{name:"案件統計",description:"查看案件的檔案數、程式碼行數、檔案類型分佈以及最近活動。"}},JOe={mcp:Z$,appearanceSettings:J$,mcpForm:Q$,tasks:eF,permissions:tF,pluginSettings:rF},QOe=Object.freeze(Object.defineProperty({__proto__:null,appearanceSettings:J$,default:JOe,mcp:Z$,mcpForm:Q$,permissions:tF,pluginSettings:rF,tasks:eF},Symbol.toStringTag,{value:"Module"})),nF={title:"案件",newProject:"新增案件",deleteProject:"移除案件",renameProject:"重新命名案件",noProjects:"找不到案件",loadingProjects:"載入案件中...",searchPlaceholder:"搜尋案件...",projectNamePlaceholder:"案件名稱",fetchingProjects:"正在取得您的 Claude 案件和工作階段",projects:"案件",noMatchingProjects:"找不到符合的案件",runClaudeCli:"在案件目錄中執行 Claude CLI 以開始使用"},aF={title:"PieceMaker"},sF={createProject:"建立新案件",refresh:"重新整理案件和工作階段 (Ctrl+R)",renameProject:"重新命名案件 (F2)",deleteProject:"從側邊欄移除案件 (Delete)"},oF={deleteProjectConfirm:"從側邊欄移除此案件?您的案件檔案、記憶和工作階段資料不會被刪除。",enterProjectPath:"請輸入案件路徑",deleteProjectFailed:"移除案件失敗,請重試。",deleteProjectError:"移除案件時出錯,請重試。",createProjectFailed:"建立案件失敗,請重試。",createProjectError:"建立案件時出錯,請重試。",updateProjectError:"更新案件時出錯,請重試。",restoreProjectFailed:"還原案件失敗,請重試。",restoreProjectError:"還原案件時出錯,請重試。"},iF={modeProjects:"案件",projectsScanned_one:"{{count}} 個案件已掃描",projectsScanned_other:"{{count}} 個案件已掃描"},lF={deleteProject:"移除案件",sessionCount_one:"此案件包含 {{count}} 個對話。",sessionCount_other:"此案件包含 {{count}} 個對話。",archiveProject:"封存案件",allConversationsDeleted:"案件將從側邊欄中移除。您的檔案、記憶和工作階段資料將會保留。",cannotUndo:"您可以稍後重新新增此案件。"},eBe={projects:nF,app:aF,tooltips:sF,messages:oF,search:iF,deleteConfirmation:lF},tBe=Object.freeze(Object.defineProperty({__proto__:null,app:aF,default:eBe,deleteConfirmation:lF,messages:oF,projects:nF,search:iF,tooltips:sF},Symbol.toStringTag,{value:"Module"})),rBe={fr:{common:{tabs:{dossier:"Dossier",library:"Bibliothèque"}},chat:{composer:{removeCommandPill:"Retirer la commande {{name}}"}},sidebar:{tooltips:{anonymizationComplete:"Anonymisation effectuée"}},settings:{mainTabs:{uninstall:"Désinstaller"},uninstall:{title:"Désinstaller PieceMaker",action:"Désinstaller PieceMaker",confirm:"Confirmer la désinstallation",cancel:"Annuler",hint:"Retire l’application, les certificats, Node, Python, GLiNER, MinerU et toutes les données de PieceMaker (réglages, historique, facturation, journaux, caches). La base auth.db et la Bibliothèque (skills, agents, connecteurs) sont conservées. Vos dossiers restent sur cet ordinateur.",failed:"La désinstallation n’a pas pu démarrer."}}},en:{common:{tabs:{dossier:"Case file",library:"Library"}},chat:{composer:{removeCommandPill:"Remove the {{name}} command"}},sidebar:{tooltips:{anonymizationComplete:"Anonymization complete"}},settings:{mainTabs:{uninstall:"Uninstall"},uninstall:{title:"Uninstall PieceMaker",action:"Uninstall PieceMaker",confirm:"Confirm uninstall",cancel:"Cancel",hint:"Removes the application, the certificates, Node, Python, GLiNER, MinerU and all PieceMaker data (settings, history, billing, logs, caches). The auth.db database and the Library (skills, agents, connectors) are kept. Your case files stay on this computer.",failed:"Uninstall could not start."}}},es:{common:{tabs:{dossier:"Expediente",library:"Biblioteca"}},chat:{composer:{removeCommandPill:"Quitar el comando {{name}}"}},sidebar:{tooltips:{anonymizationComplete:"Anonimización realizada"}}},it:{common:{tabs:{dossier:"Fascicolo",library:"Biblioteca"}},chat:{composer:{removeCommandPill:"Rimuovi il comando {{name}}"}},sidebar:{tooltips:{anonymizationComplete:"Anonimizzazione completata"}}},de:{common:{tabs:{dossier:"Dossier",library:"Bibliothek"}},chat:{composer:{removeCommandPill:"Befehl {{name}} entfernen"}},sidebar:{tooltips:{anonymizationComplete:"Anonymisierung abgeschlossen"}}},tr:{common:{tabs:{dossier:"Dava dosyası",library:"Kütüphane"}},chat:{composer:{removeCommandPill:"{{name}} komutunu kaldır"}},sidebar:{tooltips:{anonymizationComplete:"Anonimleştirme tamamlandı"}}},ru:{common:{tabs:{dossier:"Досье",library:"Библиотека"}},chat:{composer:{removeCommandPill:"Удалить команду {{name}}"}},sidebar:{tooltips:{anonymizationComplete:"Анонимизация выполнена"}}},ja:{common:{tabs:{dossier:"案件",library:"ライブラリ"}},chat:{composer:{removeCommandPill:"{{name}} コマンドを削除"}},sidebar:{tooltips:{anonymizationComplete:"匿名化が完了しました"}}},ko:{common:{tabs:{dossier:"사건",library:"라이브러리"}},chat:{composer:{removeCommandPill:"{{name}} 명령 제거"}},sidebar:{tooltips:{anonymizationComplete:"익명화 완료"}}},"zh-CN":{common:{tabs:{dossier:"案件",library:"资料库"}},chat:{composer:{removeCommandPill:"移除 {{name}} 命令"}},sidebar:{tooltips:{anonymizationComplete:"已完成匿名化"}}},"zh-TW":{common:{tabs:{dossier:"案件",library:"資料庫"}},chat:{composer:{removeCommandPill:"移除 {{name}} 命令"}},sidebar:{tooltips:{anonymizationComplete:"已完成匿名化"}}}},nBe="fr",aBe=Object.assign({"./overrides/de/auth.json":P$e,"./overrides/de/chat.json":I$e,"./overrides/de/codeEditor.json":R$e,"./overrides/de/common.json":L$e,"./overrides/de/settings.json":F$e,"./overrides/de/sidebar.json":B$e,"./overrides/en/auth.json":H$e,"./overrides/en/chat.json":W$e,"./overrides/en/codeEditor.json":G$e,"./overrides/en/common.json":Y$e,"./overrides/en/git.json":Z$e,"./overrides/en/settings.json":Q$e,"./overrides/en/sidebar.json":tFe,"./overrides/es/auth.json":nFe,"./overrides/es/chat.json":sFe,"./overrides/es/codeEditor.json":iFe,"./overrides/es/common.json":cFe,"./overrides/es/settings.json":uFe,"./overrides/es/sidebar.json":mFe,"./overrides/fr/auth.json":fFe,"./overrides/fr/chat.json":bFe,"./overrides/fr/codeEditor.json":vFe,"./overrides/fr/common.json":wFe,"./overrides/fr/settings.json":SFe,"./overrides/fr/sidebar.json":jFe,"./overrides/it/auth.json":TFe,"./overrides/it/chat.json":AFe,"./overrides/it/codeEditor.json":PFe,"./overrides/it/common.json":IFe,"./overrides/it/settings.json":RFe,"./overrides/it/sidebar.json":LFe,"./overrides/ja/auth.json":FFe,"./overrides/ja/chat.json":BFe,"./overrides/ja/codeEditor.json":HFe,"./overrides/ja/common.json":WFe,"./overrides/ja/settings.json":GFe,"./overrides/ja/sidebar.json":YFe,"./overrides/ko/auth.json":ZFe,"./overrides/ko/chat.json":QFe,"./overrides/ko/codeEditor.json":tOe,"./overrides/ko/common.json":nOe,"./overrides/ko/settings.json":sOe,"./overrides/ko/sidebar.json":iOe,"./overrides/ru/auth.json":cOe,"./overrides/ru/chat.json":uOe,"./overrides/ru/codeEditor.json":mOe,"./overrides/ru/common.json":fOe,"./overrides/ru/settings.json":bOe,"./overrides/ru/sidebar.json":vOe,"./overrides/tr/auth.json":wOe,"./overrides/tr/chat.json":SOe,"./overrides/tr/codeEditor.json":jOe,"./overrides/tr/common.json":TOe,"./overrides/tr/settings.json":AOe,"./overrides/tr/sidebar.json":POe,"./overrides/zh-CN/auth.json":IOe,"./overrides/zh-CN/chat.json":ROe,"./overrides/zh-CN/codeEditor.json":LOe,"./overrides/zh-CN/common.json":FOe,"./overrides/zh-CN/settings.json":BOe,"./overrides/zh-CN/sidebar.json":HOe,"./overrides/zh-TW/auth.json":WOe,"./overrides/zh-TW/chat.json":GOe,"./overrides/zh-TW/codeEditor.json":YOe,"./overrides/zh-TW/common.json":ZOe,"./overrides/zh-TW/settings.json":QOe,"./overrides/zh-TW/sidebar.json":tBe});function sBe(e){for(const[t,r]of Object.entries(aBe)){const n=/\/overrides\/([^/]+)\/([^/]+)\.json$/.exec(t);if(!n)continue;const[,a,s]=n;e.addResourceBundle(a,s,r.default,!0,!0)}for(const[t,r]of Object.entries(rBe))for(const[n,a]of Object.entries(r))e.addResourceBundle(t,n,a,!0,!0)}const oBe=()=>{const e=rn("userLanguage",null);return e&&Th.some(t=>t.value===e)?e:nBe};Or.use(MZ).init({resources:{en:{common:z5e,settings:pSe,auth:vSe,sidebar:DSe,chat:i3e,codeEditor:f3e,tasks:P3e,git:X3e},fr:{common:dCe,settings:MCe,auth:zCe,sidebar:XCe,chat:yje,codeEditor:Tje,tasks:Uje},es:{common:rNe,settings:jNe,auth:ANe,sidebar:HNe,chat:h6e,codeEditor:k6e,tasks:L6e},ko:{common:Z6e,settings:y7e,auth:C7e,sidebar:$7e,chat:cTe,codeEditor:bTe,tasks:MTe},"zh-CN":{common:VTe,settings:f8e,auth:v8e,sidebar:I8e,chat:aEe,codeEditor:pEe,tasks:TEe},ja:{common:BEe,settings:cAe,auth:mAe,sidebar:NAe,chat:KAe,codeEditor:t_e,tasks:g_e},ru:{common:A_e,settings:Z_e,auth:tPe,sidebar:fPe,chat:FPe,codeEditor:VPe,tasks:i9e},de:{common:y9e,settings:U9e,auth:V9e,sidebar:oMe,chat:_Me,codeEditor:LMe,tasks:JMe},tr:{common:pIe,settings:DIe,auth:$Ie,sidebar:JIe,chat:kDe,codeEditor:ADe,tasks:qDe},it:{common:aRe,settings:NRe,auth:_Re,sidebar:qRe,chat:hze,codeEditor:wze,tasks:zze},"zh-TW":{common:Xze,settings:xLe,auth:kLe,sidebar:zLe,chat:i$e,codeEditor:h$e,tasks:A$e}},lng:oBe(),fallbackLng:"en",debug:!1,ns:["common","settings","auth","sidebar","chat","codeEditor","tasks","git"],defaultNS:"common",keySeparator:".",nsSeparator:":",saveMissing:!1,interpolation:{escapeValue:!1},react:{useSuspense:!0,bindI18n:"languageChanged",bindI18nStore:!1}});sBe(Or);Or.on("languageChanged",e=>{qi("userLanguage",e)});Wi(()=>{const e=rn("userLanguage",null);e&&e!==Or.language&&Th.some(t=>t.value===e)&&Or.changeLanguage(e)});function cF({compact:e=!1}){const{i18n:t,t:r}=Ae("settings"),n=a=>{const s=a.target.value;t.changeLanguage(s)};return e?o.jsxs("div",{className:"flex items-center justify-between rounded-lg border border-transparent bg-muted/50 p-3 transition-colors hover:border-border hover:bg-accent",children:[o.jsxs("span",{className:"flex items-center gap-2 text-sm text-foreground",children:[o.jsx(t_,{className:"h-4 w-4 text-muted-foreground"}),r("account.language")]}),o.jsx("select",{value:t.language,onChange:n,className:"w-auto min-w-[120px] max-w-[160px] rounded-lg border border-input bg-card p-2 text-sm text-foreground focus:border-primary focus:outline-none focus:ring-2 focus:ring-primary",children:Th.map(a=>o.jsx("option",{value:a.value,children:a.nativeName},a.value))})]}):o.jsxs("div",{className:"flex items-center justify-between px-4 py-3.5",children:[o.jsxs("div",{children:[o.jsx("div",{className:"text-sm font-medium text-foreground",children:r("account.languageLabel")}),o.jsx("div",{className:"mt-0.5 text-xs text-muted-foreground",children:r("account.languageDescription")})]}),o.jsx("select",{value:t.language,onChange:n,className:"w-36 rounded-lg border border-input bg-card p-2 text-sm text-foreground focus:border-primary focus:ring-1 focus:ring-primary",children:Th.map(a=>o.jsx("option",{value:a.value,children:a.nativeName},a.value))})]})}function iBe({messages:e,createDiff:t,provider:r,selectedProject:n}){const a=qD(e,!0);let s=null;return o.jsx(NA,{i18n:Or,children:o.jsx(WD.Provider,{value:{isExporting:!0},children:o.jsx("div",{className:"chat-export-transcript",children:a.map((i,l)=>{if(ay(i)){const d=s;return s=i.messages[i.messages.length-1]||s,o.jsx(pR,{group:i,prevMessage:d,createDiff:t,getMessageKey:p=>String(p.timestamp),showRawParameters:!1,showThinking:!0,selectedProject:n,provider:r},`group-${l}`)}const c=s;return s=i,o.jsx(c2,{message:i,prevMessage:c,createDiff:t,showRawParameters:!1,showThinking:!0,selectedProject:n,provider:r},`message-${l}`)})})})})}function lBe(){const e=[];for(const t of Array.from(document.styleSheets))try{const r=t.cssRules;if(!r)continue;e.push(Array.from(r).map(n=>n.cssText).join(`
3890
3890
  `))}catch{}return e.join(`
3891
3891
  `)}function cBe(e){return e.replace(/url\((["']?)(?!data:|https?:)[^)]*\1\)/g,"none")}function g6(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}async function dBe(e){const{renderToStaticMarkup:t}=await Xk(async()=>{const{renderToStaticMarkup:c}=await import("./server.browser-BY3bL-IX.js").then(d=>d.s);return{renderToStaticMarkup:c}},__vite__mapDeps([5,1])),r=t(f.createElement(iBe,{messages:e.messages,createDiff:e.createDiff,provider:e.provider,selectedProject:e.selectedProject})),n=cBe(lBe()),a=g6(e.sessionTitle),s=document.documentElement.classList.contains("dark"),i=g6(e.exportedAt.toLocaleString()),l=e.messages.length;return`<!DOCTYPE html>
3892
3892
  <html lang="en" class="${s?"dark":""}">