dorkos 0.45.0 → 0.45.1

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 (91) hide show
  1. package/dist/bin/cli.js +6 -6
  2. package/dist/client/assets/{BaseTanStackRouterDevtoolsPanel-SWyE65Is-DbU6EhZc.js → BaseTanStackRouterDevtoolsPanel-SWyE65Is-DBeTmo8s.js} +1 -1
  3. package/dist/client/assets/BaseTanStackRouterDevtoolsPanel-SWyE65Is-DptF2Iv2.js +539 -0
  4. package/dist/client/assets/{BlintzCanvas-YWLFAfxE.js → BlintzCanvas-BC2wvdMT.js} +1 -1
  5. package/dist/client/assets/BlintzCanvas-tAgLU3aR.js +1160 -0
  6. package/dist/client/assets/{CanvasCsvContent-Dcuaf91X.js → CanvasCsvContent-B0IwcV_U.js} +1 -1
  7. package/dist/client/assets/CanvasCsvContent-RYl7B_ua.js +15 -0
  8. package/dist/client/assets/{CanvasFileContent-gn5aMM24.js → CanvasFileContent-BHJI0OTy.js} +2 -2
  9. package/dist/client/assets/CanvasFileContent-BsJsR4E1.js +2 -0
  10. package/dist/client/assets/{CanvasModel3dContent-C3PJHVs8.js → CanvasModel3dContent-BcdM2LJg.js} +2 -2
  11. package/dist/client/assets/CanvasModel3dContent-ohjBCAJd.js +2 -0
  12. package/dist/client/assets/{CodeMirrorEditor-f8fXFh5i.js → CodeMirrorEditor-C-gkWN8h.js} +1 -1
  13. package/dist/client/assets/CodeMirrorEditor-SHXbcVUy.js +1 -0
  14. package/dist/client/assets/{ConfigTab-Cetgg_6C.js → ConfigTab-DJu3oDC2.js} +1 -1
  15. package/dist/client/assets/ConfigTab-TuhuSOnv.js +17 -0
  16. package/dist/client/assets/{FloatingTanStackRouterDevtools-CnpwH7La-BOdQs4zz.js → FloatingTanStackRouterDevtools-CnpwH7La-BmSxRfr_.js} +1 -1
  17. package/dist/client/assets/FloatingTanStackRouterDevtools-CnpwH7La-Dk8iG4Hx.js +1 -0
  18. package/dist/client/assets/{Model3dViewer-qR1sbYAL.js → Model3dViewer-D6VCAF61.js} +1 -1
  19. package/dist/client/assets/Model3dViewer-K9pNJx1c.js +5372 -0
  20. package/dist/client/assets/{SessionsTab-BCsOP3gI.js → SessionsTab-BrqarM-T.js} +1 -1
  21. package/dist/client/assets/SessionsTab-Di1R_A1t.js +1 -0
  22. package/dist/client/assets/{ToolkitTab-BYtBugsk.js → ToolkitTab-BOaJEnPh.js} +1 -1
  23. package/dist/client/assets/ToolkitTab-a2dYMBx9.js +1 -0
  24. package/dist/client/assets/{TopologyGraph-xyvgCKHX.js → TopologyGraph-DUJWDhtI.js} +1 -1
  25. package/dist/client/assets/TopologyGraph-Dehijt2P.js +35 -0
  26. package/dist/client/assets/{highlighted-body-OFNGDK62-B8b-ZuJR.js → highlighted-body-OFNGDK62-B_0h6J6M.js} +1 -1
  27. package/dist/client/assets/highlighted-body-OFNGDK62-D85fxms5.js +1 -0
  28. package/dist/client/assets/{index-BrVLuO9-.js → index-5ALgrOFO.js} +1 -1
  29. package/dist/client/assets/{index-YPp3bUkv.js → index-B4Fq7yld.js} +1 -1
  30. package/dist/client/assets/{index-CZBlFw3s.js → index-B4_k9QZg.js} +1 -1
  31. package/dist/client/assets/{index-B-WBHpyv.js → index-B7ObcNSe.js} +1 -1
  32. package/dist/client/assets/{index-BzFClKht.js → index-B9VCOBmA.js} +2 -2
  33. package/dist/client/assets/{index-BaGiFKrR.js → index-BCp9aZet.js} +1 -1
  34. package/dist/client/assets/index-BDdd8Mqa.js +1 -0
  35. package/dist/client/assets/index-BNSNg7yH.js +1316 -0
  36. package/dist/client/assets/{index-aEzy0_Oi.js → index-BQk-ivFT.js} +1 -1
  37. package/dist/client/assets/{index-CCHYQVhi.js → index-BT9yFVeS.js} +3 -3
  38. package/dist/client/assets/{index-sKKm7yEm.js → index-BZYDK9c8.js} +8 -8
  39. package/dist/client/assets/{index-Djl0lRsF.js → index-Bbn2wn69.js} +1 -1
  40. package/dist/client/assets/{index-C27wAnIu.js → index-BcX7mUEk.js} +1 -1
  41. package/dist/client/assets/{index-BT9Vxyz4.js → index-Bcx7LFbL.js} +1 -1
  42. package/dist/client/assets/{index-CCqqyjKr.js → index-BdUsepd_.js} +1 -1
  43. package/dist/client/assets/index-BeWJN4g0.js +1 -0
  44. package/dist/client/assets/index-Bh6Wh5Du.js +1 -0
  45. package/dist/client/assets/index-BqqIE9sa.js +1 -0
  46. package/dist/client/assets/{index-CzJ4xEDL.js → index-Bvs4ET-I.js} +1 -1
  47. package/dist/client/assets/{index-Ced3HTl7.js → index-Bx073uVW.js} +1 -1
  48. package/dist/client/assets/{index-BJyMVoKM.js → index-C20-Z8l4.js} +1 -1
  49. package/dist/client/assets/{index-lFLNlOBz.js → index-C2NQ-Ck8.js} +1 -1
  50. package/dist/client/assets/index-C44W9aTS.js +2 -0
  51. package/dist/client/assets/index-C6SlFkyv.js +2 -0
  52. package/dist/client/assets/{index-DjSzGDon.js → index-C9IMI6L6.js} +1 -1
  53. package/dist/client/assets/{index-C2pa1dy_.js → index-CK2kZcMG.js} +1 -1
  54. package/dist/client/assets/index-CKCx_Kan.js +6 -0
  55. package/dist/client/assets/index-CQxDY4vU.js +6 -0
  56. package/dist/client/assets/{index-oZPvMe-H.js → index-CSZQyH2J.js} +1 -1
  57. package/dist/client/assets/{index-9i9Kxi6Z.js → index-CT-ZBhf1.js} +1 -1
  58. package/dist/client/assets/{index-BkmzUjFL.js → index-CaH1aFVg.js} +1 -1
  59. package/dist/client/assets/index-CdAooMjU.js +15 -0
  60. package/dist/client/assets/{index-BKp1QoTa.js → index-CvMyZRD2.js} +1 -1
  61. package/dist/client/assets/index-CyUySFAD.js +13 -0
  62. package/dist/client/assets/{index-BQ0KNUVJ.js → index-CyWkKBhZ.js} +1 -1
  63. package/dist/client/assets/{index-DWocbnZZ.js → index-D1ekLRaV.js} +1 -1
  64. package/dist/client/assets/{index-DRqPbLFU.js → index-D9MT2UpW.js} +1 -1
  65. package/dist/client/assets/index-DEA_Cy2Q.js +1 -0
  66. package/dist/client/assets/index-DLQOQsnm.js +1 -0
  67. package/dist/client/assets/index-DQD1r_S5.js +70 -0
  68. package/dist/client/assets/{index-BV2QuCxp.js → index-DUshTWP6.js} +1 -1
  69. package/dist/client/assets/index-DbAfUW6T.js +1 -0
  70. package/dist/client/assets/index-DhLhWBOz.js +1 -0
  71. package/dist/client/assets/index-DiQETlwd.js +71 -0
  72. package/dist/client/assets/index-Do63XgYk.js +1 -0
  73. package/dist/client/assets/index-DvPThthM.js +1 -0
  74. package/dist/client/assets/index-Dyl6ywSG.js +7 -0
  75. package/dist/client/assets/{index-CTqKf40t.js → index-MDyXRyeQ.js} +1 -1
  76. package/dist/client/assets/index-QFOwC8Sb.js +6 -0
  77. package/dist/client/assets/index-YNTMAxpK.js +1 -0
  78. package/dist/client/assets/index-ZZSS75im.js +1 -0
  79. package/dist/client/assets/index-_mq6ScXa.js +1 -0
  80. package/dist/client/assets/index-dj2DvPaa.js +1 -0
  81. package/dist/client/assets/index-oQeM2FOC.js +1 -0
  82. package/dist/client/assets/{index-ByyRHqai.js → index-rZ21sTqk.js} +1 -1
  83. package/dist/client/assets/index-sgPwXj8m.js +1 -0
  84. package/dist/client/assets/index-w2P-tT_0.js +1 -0
  85. package/dist/client/assets/{index-DQrSytvk.js → index-w2dnLgsj.js} +1 -1
  86. package/dist/client/assets/index-xIhoncSx.js +1 -0
  87. package/dist/client/assets/index-yXRJmHf-.js +3 -0
  88. package/dist/client/index.html +1 -1
  89. package/dist/server/index.js +2 -1
  90. package/dist/server/index.js.map +1 -1
  91. package/package.json +3 -3
@@ -0,0 +1,539 @@
1
+ import{u as wt,c as Z,a as be,b as Y,s as gt,m as Ve,i as g,k as kt,e as y,f as l,d as w,l as j,M as Le,j as le,F as St,S as _t,n as vt,t as F,o as Ft,p as Ne,q as zt,r as ht,v as Ue}from"./index-B9VCOBmA.js";import{M as Et,N as me,n as K,O as ot,Q as Bt}from"./index-BNSNg7yH.js";let Dt={data:""},It=t=>{if(typeof window=="object"){let e=(t?t.querySelector("#_goober"):window._goober)||Object.assign(document.createElement("style"),{innerHTML:" ",id:"_goober"});return e.nonce=window.__nonce__,e.parentNode||(t||document.head).appendChild(e),e.firstChild}return t||Dt},Tt=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,At=/\/\*[^]*?\*\/| +/g,at=/\n+/g,ae=(t,e)=>{let i="",r="",u="";for(let o in t){let d=t[o];o[0]=="@"?o[1]=="i"?i=o+" "+d+";":r+=o[1]=="f"?ae(d,o):o+"{"+ae(d,o[1]=="k"?"":e)+"}":typeof d=="object"?r+=ae(d,e?e.replace(/([^,])+/g,v=>o.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,f=>/&/.test(f)?f.replace(/&/g,v):v?v+" "+f:f)):o):d!=null&&(o=/^--/.test(o)?o:o.replace(/[A-Z]/g,"-$&").toLowerCase(),u+=ae.p?ae.p(o,d):o+":"+d+";")}return i+(e&&u?e+"{"+u+"}":u)+r},re={},pt=t=>{if(typeof t=="object"){let e="";for(let i in t)e+=i+pt(t[i]);return e}return t},Mt=(t,e,i,r,u)=>{let o=pt(t),d=re[o]||(re[o]=(f=>{let a=0,n=11;for(;a<f.length;)n=101*n+f.charCodeAt(a++)>>>0;return"go"+n})(o));if(!re[d]){let f=o!==t?t:(a=>{let n,C,$=[{}];for(;n=Tt.exec(a.replace(At,""));)n[4]?$.shift():n[3]?(C=n[3].replace(at," ").trim(),$.unshift($[0][C]=$[0][C]||{})):$[0][n[1]]=n[2].replace(at," ").trim();return $[0]})(t);re[d]=ae(u?{["@keyframes "+d]:f}:f,i?"":"."+d)}let v=i&&re.g?re.g:null;return i&&(re.g=re[d]),((f,a,n,C)=>{C?a.data=a.data.replace(C,f):a.data.indexOf(f)===-1&&(a.data=n?f+a.data:a.data+f)})(re[d],e,r,v),d},Rt=(t,e,i)=>t.reduce((r,u,o)=>{let d=e[o];if(d&&d.call){let v=d(i),f=v&&v.props&&v.props.className||/^go/.test(v)&&v;d=f?"."+f:v&&typeof v=="object"?v.props?"":ae(v,""):v===!1?"":v}return r+u+(d??"")},"");function ce(t){let e=this||{},i=t.call?t(e.p):t;return Mt(i.unshift?i.raw?Rt(i,[].slice.call(arguments,1),e.p):i.reduce((r,u)=>Object.assign(r,u&&u.call?u(e.p):u),{}):i,It(e.target),e.g,e.o,e.k)}ce.bind({g:1});ce.bind({k:1});var D={colors:{inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000000",white:"#ffffff",neutral:{50:"#f9fafb",100:"#f2f4f7",200:"#eaecf0",300:"#d0d5dd",400:"#98a2b3",500:"#667085",600:"#475467",700:"#344054",800:"#1d2939",900:"#101828"},darkGray:{50:"#525c7a",100:"#49536e",200:"#414962",300:"#394056",400:"#313749",500:"#292e3d",600:"#212530",700:"#191c24",800:"#111318",900:"#0b0d10"},gray:{50:"#f9fafb",100:"#f2f4f7",200:"#eaecf0",300:"#d0d5dd",400:"#98a2b3",500:"#667085",600:"#475467",700:"#344054",800:"#1d2939",900:"#101828"},blue:{25:"#F5FAFF",50:"#EFF8FF",100:"#D1E9FF",200:"#B2DDFF",300:"#84CAFF",400:"#53B1FD",500:"#2E90FA",600:"#1570EF",700:"#175CD3",800:"#1849A9",900:"#194185"},green:{25:"#F6FEF9",50:"#ECFDF3",100:"#D1FADF",200:"#A6F4C5",300:"#6CE9A6",400:"#32D583",500:"#12B76A",600:"#039855",700:"#027A48",800:"#05603A",900:"#054F31"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},yellow:{25:"#FFFCF5",50:"#FFFAEB",100:"#FEF0C7",200:"#FEDF89",300:"#FEC84B",400:"#FDB022",500:"#F79009",600:"#DC6803",700:"#B54708",800:"#93370D",900:"#7A2E0E"},purple:{25:"#FAFAFF",50:"#F4F3FF",100:"#EBE9FE",200:"#D9D6FE",300:"#BDB4FE",400:"#9B8AFB",500:"#7A5AF8",600:"#6938EF",700:"#5925DC",800:"#4A1FB8",900:"#3E1C96"},teal:{25:"#F6FEFC",50:"#F0FDF9",100:"#CCFBEF",200:"#99F6E0",300:"#5FE9D0",400:"#2ED3B7",500:"#15B79E",600:"#0E9384",700:"#107569",800:"#125D56",900:"#134E48"},pink:{25:"#fdf2f8",50:"#fce7f3",100:"#fbcfe8",200:"#f9a8d4",300:"#f472b6",400:"#ec4899",500:"#db2777",600:"#be185d",700:"#9d174d",800:"#831843",900:"#500724"},cyan:{25:"#ecfeff",50:"#cffafe",100:"#a5f3fc",200:"#67e8f9",300:"#22d3ee",400:"#06b6d4",500:"#0891b2",600:"#0e7490",700:"#155e75",800:"#164e63",900:"#083344"}},alpha:{90:"e5",70:"b3",20:"33"},font:{size:{"2xs":"calc(var(--tsrd-font-size) * 0.625)",xs:"calc(var(--tsrd-font-size) * 0.75)",sm:"calc(var(--tsrd-font-size) * 0.875)",md:"var(--tsrd-font-size)"},lineHeight:{xs:"calc(var(--tsrd-font-size) * 1)",sm:"calc(var(--tsrd-font-size) * 1.25)"},weight:{normal:"400",medium:"500",semibold:"600",bold:"700"},fontFamily:{sans:"ui-sans-serif, Inter, system-ui, sans-serif, sans-serif",mono:"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace"}},border:{radius:{xs:"calc(var(--tsrd-font-size) * 0.125)",sm:"calc(var(--tsrd-font-size) * 0.25)",md:"calc(var(--tsrd-font-size) * 0.375)",full:"9999px"}},size:{0:"0px",.5:"calc(var(--tsrd-font-size) * 0.125)",1:"calc(var(--tsrd-font-size) * 0.25)",1.5:"calc(var(--tsrd-font-size) * 0.375)",2:"calc(var(--tsrd-font-size) * 0.5)",2.5:"calc(var(--tsrd-font-size) * 0.625)",3:"calc(var(--tsrd-font-size) * 0.75)",3.5:"calc(var(--tsrd-font-size) * 0.875)",4:"calc(var(--tsrd-font-size) * 1)",5:"calc(var(--tsrd-font-size) * 1.25)",8:"calc(var(--tsrd-font-size) * 2)"}},Pt=t=>{const{colors:e,font:i,size:r,alpha:u,border:o}=D,{fontFamily:d,lineHeight:v,size:f}=i,a=t?ce.bind({target:t}):ce;return{devtoolsPanelContainer:a`
2
+ direction: ltr;
3
+ position: fixed;
4
+ bottom: 0;
5
+ right: 0;
6
+ z-index: 99999;
7
+ width: 100%;
8
+ max-height: 90%;
9
+ border-top: 1px solid ${e.gray[700]};
10
+ transform-origin: top;
11
+ `,devtoolsPanelContainerVisibility:n=>a`
12
+ visibility: ${n?"visible":"hidden"};
13
+ `,devtoolsPanelContainerResizing:n=>n()?a`
14
+ transition: none;
15
+ `:a`
16
+ transition: all 0.4s ease;
17
+ `,devtoolsPanelContainerAnimation:(n,C)=>n?a`
18
+ pointer-events: auto;
19
+ transform: translateY(0);
20
+ `:a`
21
+ pointer-events: none;
22
+ transform: translateY(${C}px);
23
+ `,logo:a`
24
+ cursor: pointer;
25
+ display: flex;
26
+ flex-direction: column;
27
+ background-color: transparent;
28
+ border: none;
29
+ font-family: ${d.sans};
30
+ gap: ${D.size[.5]};
31
+ padding: 0px;
32
+ &:hover {
33
+ opacity: 0.7;
34
+ }
35
+ &:focus-visible {
36
+ outline-offset: 4px;
37
+ border-radius: ${o.radius.xs};
38
+ outline: 2px solid ${e.blue[800]};
39
+ }
40
+ `,tanstackLogo:a`
41
+ font-size: ${i.size.md};
42
+ font-weight: ${i.weight.bold};
43
+ line-height: ${i.lineHeight.xs};
44
+ white-space: nowrap;
45
+ color: ${e.gray[300]};
46
+ `,routerLogo:a`
47
+ font-weight: ${i.weight.semibold};
48
+ font-size: ${i.size.xs};
49
+ background: linear-gradient(to right, #84cc16, #10b981);
50
+ background-clip: text;
51
+ -webkit-background-clip: text;
52
+ line-height: 1;
53
+ -webkit-text-fill-color: transparent;
54
+ white-space: nowrap;
55
+ `,devtoolsPanel:a`
56
+ display: flex;
57
+ font-size: ${f.sm};
58
+ font-family: ${d.sans};
59
+ background-color: ${e.darkGray[700]};
60
+ color: ${e.gray[300]};
61
+
62
+ @media (max-width: 700px) {
63
+ flex-direction: column;
64
+ }
65
+ @media (max-width: 600px) {
66
+ font-size: ${f.xs};
67
+ }
68
+ `,dragHandle:a`
69
+ position: absolute;
70
+ left: 0;
71
+ top: 0;
72
+ width: 100%;
73
+ height: 4px;
74
+ cursor: row-resize;
75
+ z-index: 100000;
76
+ &:hover {
77
+ background-color: ${e.purple[400]}${u[90]};
78
+ }
79
+ `,firstContainer:a`
80
+ flex: 1 1 500px;
81
+ min-height: 40%;
82
+ max-height: 100%;
83
+ overflow: auto;
84
+ border-right: 1px solid ${e.gray[700]};
85
+ display: flex;
86
+ flex-direction: column;
87
+ `,routerExplorerContainer:a`
88
+ overflow-y: auto;
89
+ flex: 1;
90
+ `,routerExplorer:a`
91
+ padding: ${D.size[2]};
92
+ `,row:a`
93
+ display: flex;
94
+ align-items: center;
95
+ padding: ${D.size[2]} ${D.size[2.5]};
96
+ gap: ${D.size[2.5]};
97
+ border-bottom: ${e.darkGray[500]} 1px solid;
98
+ align-items: center;
99
+ `,detailsHeader:a`
100
+ font-family: ui-sans-serif, Inter, system-ui, sans-serif, sans-serif;
101
+ position: sticky;
102
+ top: 0;
103
+ z-index: 2;
104
+ background-color: ${e.darkGray[600]};
105
+ padding: 0px ${D.size[2]};
106
+ font-weight: ${i.weight.medium};
107
+ font-size: ${i.size.xs};
108
+ min-height: ${D.size[8]};
109
+ line-height: ${i.lineHeight.xs};
110
+ text-align: left;
111
+ display: flex;
112
+ align-items: center;
113
+ `,maskedBadge:a`
114
+ background: ${e.yellow[900]}${u[70]};
115
+ color: ${e.yellow[300]};
116
+ display: inline-block;
117
+ padding: ${D.size[0]} ${D.size[2.5]};
118
+ border-radius: ${o.radius.full};
119
+ font-size: ${i.size.xs};
120
+ font-weight: ${i.weight.normal};
121
+ border: 1px solid ${e.yellow[300]};
122
+ `,maskedLocation:a`
123
+ color: ${e.yellow[300]};
124
+ `,detailsContent:a`
125
+ padding: ${D.size[1.5]} ${D.size[2]};
126
+ display: flex;
127
+ align-items: center;
128
+ justify-content: space-between;
129
+ font-size: ${i.size.xs};
130
+ `,routeMatchesToggle:a`
131
+ display: flex;
132
+ align-items: center;
133
+ border: 1px solid ${e.gray[500]};
134
+ border-radius: ${o.radius.sm};
135
+ overflow: hidden;
136
+ `,routeMatchesToggleBtn:(n,C)=>{const $=[a`
137
+ appearance: none;
138
+ border: none;
139
+ font-size: 12px;
140
+ padding: 4px 8px;
141
+ background: transparent;
142
+ cursor: pointer;
143
+ font-family: ${d.sans};
144
+ font-weight: ${i.weight.medium};
145
+ `];if(n){const R=a`
146
+ background: ${e.darkGray[400]};
147
+ color: ${e.gray[300]};
148
+ `;$.push(R)}else{const R=a`
149
+ color: ${e.gray[500]};
150
+ background: ${e.darkGray[800]}${u[20]};
151
+ `;$.push(R)}return C&&$.push(a`
152
+ border-right: 1px solid ${D.colors.gray[500]};
153
+ `),$},detailsHeaderInfo:a`
154
+ flex: 1;
155
+ justify-content: flex-end;
156
+ display: flex;
157
+ align-items: center;
158
+ font-weight: ${i.weight.normal};
159
+ color: ${e.gray[400]};
160
+ `,matchRow:n=>{const C=[a`
161
+ display: flex;
162
+ border-bottom: 1px solid ${e.darkGray[400]};
163
+ cursor: pointer;
164
+ align-items: center;
165
+ padding: ${r[1]} ${r[2]};
166
+ gap: ${r[2]};
167
+ font-size: ${f.xs};
168
+ color: ${e.gray[300]};
169
+ `];if(n){const $=a`
170
+ background: ${e.darkGray[500]};
171
+ `;C.push($)}return C},matchIndicator:n=>{const C=[a`
172
+ flex: 0 0 auto;
173
+ width: ${r[3]};
174
+ height: ${r[3]};
175
+ background: ${e[n][900]};
176
+ border: 1px solid ${e[n][500]};
177
+ border-radius: ${o.radius.full};
178
+ transition: all 0.25s ease-out;
179
+ box-sizing: border-box;
180
+ `];if(n==="gray"){const $=a`
181
+ background: ${e.gray[700]};
182
+ border-color: ${e.gray[400]};
183
+ `;C.push($)}return C},matchID:a`
184
+ flex: 1;
185
+ line-height: ${v.xs};
186
+ `,ageTicker:n=>{const C=[a`
187
+ display: flex;
188
+ gap: ${r[1]};
189
+ font-size: ${f.xs};
190
+ color: ${e.gray[400]};
191
+ font-variant-numeric: tabular-nums;
192
+ line-height: ${v.xs};
193
+ `];if(n){const $=a`
194
+ color: ${e.yellow[400]};
195
+ `;C.push($)}return C},secondContainer:a`
196
+ flex: 1 1 500px;
197
+ min-height: 40%;
198
+ max-height: 100%;
199
+ overflow: auto;
200
+ border-right: 1px solid ${e.gray[700]};
201
+ display: flex;
202
+ flex-direction: column;
203
+ `,thirdContainer:a`
204
+ flex: 1 1 500px;
205
+ overflow: auto;
206
+ display: flex;
207
+ flex-direction: column;
208
+ height: 100%;
209
+ border-right: 1px solid ${e.gray[700]};
210
+
211
+ @media (max-width: 700px) {
212
+ border-top: 2px solid ${e.gray[700]};
213
+ }
214
+ `,fourthContainer:a`
215
+ flex: 1 1 500px;
216
+ min-height: 40%;
217
+ max-height: 100%;
218
+ overflow: auto;
219
+ display: flex;
220
+ flex-direction: column;
221
+ `,routesContainer:a`
222
+ overflow-x: auto;
223
+ overflow-y: visible;
224
+ `,routesRowContainer:(n,C)=>{const $=[a`
225
+ display: flex;
226
+ border-bottom: 1px solid ${e.darkGray[400]};
227
+ align-items: center;
228
+ padding: ${r[1]} ${r[2]};
229
+ gap: ${r[2]};
230
+ font-size: ${f.xs};
231
+ color: ${e.gray[300]};
232
+ cursor: ${C?"pointer":"default"};
233
+ line-height: ${v.xs};
234
+ `];if(n){const R=a`
235
+ background: ${e.darkGray[500]};
236
+ `;$.push(R)}return $},routesRow:n=>{const C=[a`
237
+ flex: 1 0 auto;
238
+ display: flex;
239
+ justify-content: space-between;
240
+ align-items: center;
241
+ font-size: ${f.xs};
242
+ line-height: ${v.xs};
243
+ `];if(!n){const $=a`
244
+ color: ${e.gray[400]};
245
+ `;C.push($)}return C},routesRowInner:a`
246
+ display: 'flex';
247
+ align-items: 'center';
248
+ flex-grow: 1;
249
+ min-width: 0;
250
+ `,routeParamInfo:a`
251
+ color: ${e.gray[400]};
252
+ font-size: ${f.xs};
253
+ line-height: ${v.xs};
254
+ `,nestedRouteRow:n=>a`
255
+ margin-left: ${n?0:r[3.5]};
256
+ border-left: ${n?"":`solid 1px ${e.gray[700]}`};
257
+ `,code:a`
258
+ font-size: ${f.xs};
259
+ line-height: ${v.xs};
260
+ white-space: nowrap;
261
+ overflow: hidden;
262
+ text-overflow: ellipsis;
263
+ `,matchesContainer:a`
264
+ flex: 1 1 auto;
265
+ overflow-y: auto;
266
+ `,cachedMatchesContainer:a`
267
+ flex: 1 1 auto;
268
+ overflow-y: auto;
269
+ max-height: 50%;
270
+ `,historyContainer:a`
271
+ display: flex;
272
+ flex: 1 1 auto;
273
+ overflow-y: auto;
274
+ max-height: 50%;
275
+ `,historyOverflowContainer:a`
276
+ padding: ${r[1]} ${r[2]};
277
+ font-size: ${D.font.size.xs};
278
+ `,maskedBadgeContainer:a`
279
+ flex: 1;
280
+ justify-content: flex-end;
281
+ display: flex;
282
+ `,matchDetails:a`
283
+ display: flex;
284
+ flex-direction: column;
285
+ padding: ${D.size[2]};
286
+ font-size: ${D.font.size.xs};
287
+ color: ${D.colors.gray[300]};
288
+ line-height: ${D.font.lineHeight.sm};
289
+ `,matchStatus:(n,C)=>{const $=C&&n==="success"?C==="beforeLoad"?"purple":"blue":{pending:"yellow",success:"green",error:"red",notFound:"purple",redirected:"gray"}[n];return a`
290
+ display: flex;
291
+ justify-content: center;
292
+ align-items: center;
293
+ height: 40px;
294
+ border-radius: ${D.border.radius.sm};
295
+ font-weight: ${D.font.weight.normal};
296
+ background-color: ${D.colors[$][900]}${D.alpha[90]};
297
+ color: ${D.colors[$][300]};
298
+ border: 1px solid ${D.colors[$][600]};
299
+ margin-bottom: ${D.size[2]};
300
+ transition: all 0.25s ease-out;
301
+ `},matchDetailsInfo:a`
302
+ display: flex;
303
+ justify-content: flex-end;
304
+ flex: 1;
305
+ `,matchDetailsInfoLabel:a`
306
+ display: flex;
307
+ `,mainCloseBtn:a`
308
+ background: ${e.darkGray[700]};
309
+ padding: ${r[1]} ${r[2]} ${r[1]} ${r[1.5]};
310
+ border-radius: ${o.radius.md};
311
+ position: fixed;
312
+ z-index: 99999;
313
+ display: inline-flex;
314
+ width: fit-content;
315
+ cursor: pointer;
316
+ appearance: none;
317
+ border: 0;
318
+ gap: 8px;
319
+ align-items: center;
320
+ border: 1px solid ${e.gray[500]};
321
+ font-size: ${i.size.xs};
322
+ cursor: pointer;
323
+ transition: all 0.25s ease-out;
324
+
325
+ &:hover {
326
+ background: ${e.darkGray[500]};
327
+ }
328
+ `,mainCloseBtnPosition:n=>a`
329
+ ${n==="top-left"?`top: ${r[2]}; left: ${r[2]};`:""}
330
+ ${n==="top-right"?`top: ${r[2]}; right: ${r[2]};`:""}
331
+ ${n==="bottom-left"?`bottom: ${r[2]}; left: ${r[2]};`:""}
332
+ ${n==="bottom-right"?`bottom: ${r[2]}; right: ${r[2]};`:""}
333
+ `,mainCloseBtnAnimation:n=>n?a`
334
+ opacity: 0;
335
+ pointer-events: none;
336
+ visibility: hidden;
337
+ `:a`
338
+ opacity: 1;
339
+ pointer-events: auto;
340
+ visibility: visible;
341
+ `,routerLogoCloseButton:a`
342
+ font-weight: ${i.weight.semibold};
343
+ font-size: ${i.size.xs};
344
+ background: linear-gradient(to right, #98f30c, #00f4a3);
345
+ background-clip: text;
346
+ -webkit-background-clip: text;
347
+ line-height: 1;
348
+ -webkit-text-fill-color: transparent;
349
+ white-space: nowrap;
350
+ `,mainCloseBtnDivider:a`
351
+ width: 1px;
352
+ background: ${D.colors.gray[600]};
353
+ height: 100%;
354
+ border-radius: 999999px;
355
+ color: transparent;
356
+ `,mainCloseBtnIconContainer:a`
357
+ position: relative;
358
+ width: ${r[5]};
359
+ height: ${r[5]};
360
+ background: pink;
361
+ border-radius: 999999px;
362
+ overflow: hidden;
363
+ `,mainCloseBtnIconOuter:a`
364
+ width: ${r[5]};
365
+ height: ${r[5]};
366
+ position: absolute;
367
+ top: 50%;
368
+ left: 50%;
369
+ transform: translate(-50%, -50%);
370
+ filter: blur(3px) saturate(1.8) contrast(2);
371
+ `,mainCloseBtnIconInner:a`
372
+ width: ${r[4]};
373
+ height: ${r[4]};
374
+ position: absolute;
375
+ top: 50%;
376
+ left: 50%;
377
+ transform: translate(-50%, -50%);
378
+ `,panelCloseBtn:a`
379
+ position: absolute;
380
+ cursor: pointer;
381
+ z-index: 100001;
382
+ display: flex;
383
+ align-items: center;
384
+ justify-content: center;
385
+ outline: none;
386
+ background-color: ${e.darkGray[700]};
387
+ &:hover {
388
+ background-color: ${e.darkGray[500]};
389
+ }
390
+
391
+ top: 0;
392
+ right: ${r[2]};
393
+ transform: translate(0, -100%);
394
+ border-right: ${e.darkGray[300]} 1px solid;
395
+ border-left: ${e.darkGray[300]} 1px solid;
396
+ border-top: ${e.darkGray[300]} 1px solid;
397
+ border-bottom: none;
398
+ border-radius: ${o.radius.sm} ${o.radius.sm} 0px 0px;
399
+ padding: ${r[1]} ${r[1.5]} ${r[.5]} ${r[1.5]};
400
+
401
+ &::after {
402
+ content: ' ';
403
+ position: absolute;
404
+ top: 100%;
405
+ left: -${r[2.5]};
406
+ height: ${r[1.5]};
407
+ width: calc(100% + ${r[5]});
408
+ }
409
+ `,panelCloseBtnIcon:a`
410
+ color: ${e.gray[400]};
411
+ width: ${r[2]};
412
+ height: ${r[2]};
413
+ `,navigateButton:a`
414
+ background: none;
415
+ border: none;
416
+ padding: 0 0 0 4px;
417
+ margin: 0;
418
+ color: ${e.gray[400]};
419
+ font-size: ${f.md};
420
+ cursor: pointer;
421
+ line-height: 1;
422
+ vertical-align: middle;
423
+ margin-right: 0.5ch;
424
+ flex-shrink: 0;
425
+ &:hover {
426
+ color: ${e.blue[300]};
427
+ }
428
+ `}};function ye(){const[t]=Z(Pt(vt(ht)));return t}var Lt=t=>{try{const e=localStorage.getItem(t);return typeof e=="string"?JSON.parse(e):void 0}catch{return}};function st(t,e){const[i,r]=Z();return be(()=>{const o=Lt(t);r(typeof o>"u"||o===null?typeof e=="function"?e():e:o)}),[i,o=>{r(d=>{let v=o;typeof o=="function"&&(v=o(d));try{localStorage.setItem(t,JSON.stringify(v))}catch{}return v})}]}var Ot=typeof window>"u";function Ge(t){return t.isFetching&&t.status==="success"?t.isFetching==="beforeLoad"?"purple":"blue":{pending:"yellow",success:"green",error:"red",notFound:"purple",redirected:"gray"}[t.status]}function jt(t,e){const i=t.find(r=>r.routeId===e.id);return i?Ge(i):"gray"}function wr(){const[t,e]=Z(!1);return(Ot?be:y)(()=>{e(!0)}),t}var Ht=Symbol.for("tanstack.rsc.stream"),lt=Symbol.for("tanstack.rsc.renderable"),De=Symbol.for("tanstack.rsc.slotUsages");function Nt(t){let e=t.length;for(;e>0&&t[e-1]===void 0;)e--;return e===0||e===t.length?t:t.slice(0,e)}var Je=t=>(typeof t=="object"||typeof t=="function")&&t!==null&&Ht in t,mt=t=>{if(!Je(t))return null;const e=t;return lt in e&&e[lt]===!0?"renderableValue":"compositeSource"},$t=t=>{if(!Je(t))return[];const e=t,i=[];if(De in e){const r=e[De];if(Array.isArray(r))for(const u of r){const o=u==null?void 0:u.slot;typeof o=="string"&&!i.includes(o)&&i.push(o)}}return i},Gt=t=>{if(!Je(t))return[];const e=t;if(!(De in e))return[];const i=e[De];return Array.isArray(i)?i.filter(r=>r&&typeof r=="object"&&typeof r.slot=="string"&&(r.args===void 0||Array.isArray(r.args))):[]},Vt=t=>{const e=Gt(t),i={};for(const r of e){const u=Nt(r.args??[]),o=i[r.slot]??(i[r.slot]={count:0,invocations:[]});o.count++,o.invocations.push(u)}return i},Oe=t=>{if(t==="React element")return"React element";const e=mt(t);if(e==="compositeSource"){const u=$t(t);return u.length>0?`RSC composite source (${u.length} ${u.length===1?"slot":"slots"})`:"RSC composite source"}if(e==="renderableValue")return"RSC renderable value";const i=Object.getOwnPropertyNames(Object(t)),r=typeof t=="bigint"?`${t.toString()}n`:t;try{return JSON.stringify(r,i)}catch{return"unable to stringify"}};function Ut(t,e=[i=>i]){return t.map((i,r)=>[i,r]).sort(([i,r],[u,o])=>{for(const d of e){const v=d(i),f=d(u);if(typeof v>"u"){if(typeof f>"u")continue;return 1}if(v!==f)return v>f?1:-1}return r-o}).map(([i])=>i)}var Jt=F('<span><svg xmlns=http://www.w3.org/2000/svg width=12 height=12 fill=none viewBox="0 0 24 24"><path stroke=currentColor stroke-linecap=round stroke-linejoin=round stroke-width=2 d="M9 18l6-6-6-6">'),_e=F("<div>"),Kt=F("<button><span>:</span><span>"),Yt=F("<div><span>slots</span><div>"),dt=F("<span>:"),ct=F("<span>"),qt=F("<button><span> "),Wt=F("<div><div><button> [<!> ... <!>]"),Qt=F("<button><span></span> 🔄 "),je=({expanded:t,style:e={}})=>{const i=bt();return(()=>{var r=Jt(),u=r.firstChild;return y(o=>{var d=i().expander,v=K(i().expanderIcon(t));return d!==o.e&&l(r,o.e=d),v!==o.t&&le(u,"class",o.t=v),o},{e:void 0,t:void 0}),r})()};function Zt(t,e){if(e<1)return[];let i=0;const r=[];for(;i<t.length;)r.push(t.slice(i,i+e)),i=i+e;return r}function Xt(t){return Symbol.iterator in t}function er(t){if(!t||typeof t!="object")return!1;const e=Object.getPrototypeOf(t);return e===Object.prototype||e===null}function se({value:t,defaultExpanded:e,pageSize:i=100,filterSubEntries:r,...u}){const[o,d]=Z(!!e),v=()=>d(M=>!M),f=Y(()=>typeof t()),a=Y(()=>{let M=[];const Q=s=>{const x=e===!0?{[s.label]:!0}:e==null?void 0:e[s.label];return{...s,value:()=>s.value,defaultExpanded:x}};if(Array.isArray(t())&&t().length===2&&t()[0]==="React element"&&er(t()[1])){const s=t();M=[Q({label:"0",value:s[0]}),...Object.entries(s[1]).map(([x,P])=>Q({label:x,value:P}))]}else Array.isArray(t())?M=t().map((s,x)=>Q({label:x.toString(),value:s})):t()!==null&&typeof t()=="object"&&Xt(t())&&typeof t()[Symbol.iterator]=="function"?M=Array.from(t(),(s,x)=>Q({label:x.toString(),value:s})):typeof t()=="object"&&t()!==null&&(M=Object.entries(t()).map(([s,x])=>Q({label:s,value:x})));return r?r(M):M}),n=Y(()=>Zt(a(),i)),[C,$]=Z([]),[R,G]=Z(void 0),p=bt(),A=()=>{G(t()())},W=M=>w(se,Ve({value:t,filterSubEntries:r},u,M)),X=Y(()=>mt(t())),xe=Y(()=>$t(t())),Ie=Y(()=>Vt(t())),Te=Y(()=>X()==="compositeSource"&&xe().length>0);return(()=>{var M=_e();return g(M,(()=>{var Q=j(()=>X()!==null);return()=>Q()?j(()=>!!Te())()?[(()=>{var s=Kt(),x=s.firstChild,P=x.firstChild,T=x.nextSibling;return s.$$click=()=>v(),g(s,w(je,{get expanded(){return o()??!1}}),x),g(x,()=>u.label,P),g(T,()=>Oe(t())),y(L=>{var O=p().expandButton,ee=p().compositeComponent;return O!==L.e&&l(s,L.e=O),ee!==L.t&&l(T,L.t=ee),L},{e:void 0,t:void 0}),s})(),j(()=>j(()=>!!(o()??!1))()?(()=>{var s=Yt(),x=s.firstChild,P=x.nextSibling;return g(P,()=>xe().map(T=>{const L=Ie()[T];return L?w(se,{label:`${T}:`,value:()=>L.invocations.map(O=>O.length===1?O[0]:O)}):null})),y(T=>{var L=p().rscMetaRow,O=p().rscMetaLabel,ee=p().subEntries;return L!==T.e&&l(s,T.e=L),O!==T.t&&l(x,T.t=O),ee!==T.a&&l(P,T.a=ee),T},{e:void 0,t:void 0,a:void 0}),s})():null)]:[(()=>{var s=dt(),x=s.firstChild;return g(s,()=>u.label,x),s})()," ",(()=>{var s=ct();return g(s,()=>Oe(t())),y(()=>l(s,X()==="compositeSource"?p().compositeComponent:p().renderableComponent)),s})()]:j(()=>!!n().length)()?[(()=>{var s=qt(),x=s.firstChild,P=x.firstChild;return s.$$click=()=>v(),g(s,w(je,{get expanded(){return o()??!1}}),x),g(s,()=>u.label,x),g(x,()=>String(f).toLowerCase()==="iterable"?"(Iterable) ":"",P),g(x,()=>a().length,P),g(x,()=>a().length>1?"items":"item",null),y(T=>{var L=p().expandButton,O=p().info;return L!==T.e&&l(s,T.e=L),O!==T.t&&l(x,T.t=O),T},{e:void 0,t:void 0}),s})(),j(()=>j(()=>!!(o()??!1))()?j(()=>n().length===1)()?(()=>{var s=_e();return g(s,()=>a().map((x,P)=>W(x))),y(()=>l(s,p().subEntries)),s})():(()=>{var s=_e();return g(s,()=>n().map((x,P)=>(()=>{var T=Wt(),L=T.firstChild,O=L.firstChild,ee=O.firstChild,z=ee.nextSibling,V=z.nextSibling.nextSibling;return V.nextSibling,O.$$click=()=>$(U=>U.includes(P)?U.filter(H=>H!==P):[...U,P]),g(O,w(je,{get expanded(){return C().includes(P)}}),ee),g(O,P*i,z),g(O,P*i+i-1,V),g(L,(()=>{var U=j(()=>!!C().includes(P));return()=>U()?(()=>{var H=_e();return g(H,()=>x.map(J=>W(J))),y(()=>l(H,p().subEntries)),H})():null})(),null),y(U=>{var H=p().entry,J=K(p().labelButton,"labelButton");return H!==U.e&&l(L,U.e=H),J!==U.t&&l(O,U.t=J),U},{e:void 0,t:void 0}),T})())),y(()=>l(s,p().subEntries)),s})():null)]:j(()=>f()==="function")()?w(se,{get label(){return(()=>{var s=Qt(),x=s.firstChild;return s.$$click=A,g(x,()=>u.label),y(()=>l(s,p().refreshValueBtn)),s})()},value:R,defaultExpanded:{}}):[(()=>{var s=dt(),x=s.firstChild;return g(s,()=>u.label,x),s})()," ",(()=>{var s=ct();return g(s,()=>Oe(t())),y(()=>l(s,p().value)),s})()]})()),y(()=>l(M,p().entry)),M})()}var tr=t=>{const{colors:e,font:i,size:r,border:u}=D,{fontFamily:o,lineHeight:d,size:v}=i,f=t?ce.bind({target:t}):ce;return{entry:f`
429
+ font-family: ${o.mono};
430
+ font-size: ${v.xs};
431
+ line-height: ${d.sm};
432
+ outline: none;
433
+ word-break: break-word;
434
+ `,labelButton:f`
435
+ cursor: pointer;
436
+ color: inherit;
437
+ font: inherit;
438
+ outline: inherit;
439
+ background: transparent;
440
+ border: none;
441
+ padding: 0;
442
+ `,expander:f`
443
+ display: inline-flex;
444
+ align-items: center;
445
+ justify-content: center;
446
+ width: ${r[3]};
447
+ height: ${r[3]};
448
+ padding-left: 3px;
449
+ box-sizing: content-box;
450
+ `,expanderIcon:a=>a?f`
451
+ transform: rotate(90deg);
452
+ transition: transform 0.1s ease;
453
+ `:f`
454
+ transform: rotate(0deg);
455
+ transition: transform 0.1s ease;
456
+ `,expandButton:f`
457
+ display: flex;
458
+ gap: ${r[1]};
459
+ align-items: center;
460
+ cursor: pointer;
461
+ color: inherit;
462
+ font: inherit;
463
+ outline: inherit;
464
+ background: transparent;
465
+ border: none;
466
+ padding: 0;
467
+ `,value:f`
468
+ color: ${e.purple[400]};
469
+ `,compositeComponent:f`
470
+ display: inline-flex;
471
+ align-items: center;
472
+ padding: 1px ${r[1]};
473
+ border-radius: ${u.radius.full};
474
+ border: 1px solid ${e.darkGray[500]};
475
+ background: ${e.darkGray[700]};
476
+ color: ${e.cyan[300]};
477
+ font-style: normal;
478
+ font-weight: ${i.weight.medium};
479
+ `,renderableComponent:f`
480
+ display: inline-flex;
481
+ align-items: center;
482
+ padding: 1px ${r[1]};
483
+ border-radius: ${u.radius.full};
484
+ border: 1px solid ${e.darkGray[500]};
485
+ background: ${e.darkGray[700]};
486
+ color: ${e.teal[300]};
487
+ font-style: normal;
488
+ font-weight: ${i.weight.medium};
489
+ `,rscMetaRow:f`
490
+ display: flex;
491
+ gap: ${r[1]};
492
+ align-items: flex-start;
493
+ margin-left: calc(${r[3]} + ${r[1]});
494
+ margin-top: ${r[.5]};
495
+ flex-wrap: wrap;
496
+ `,rscMetaLabel:f`
497
+ color: ${e.gray[500]};
498
+ font-size: ${v["2xs"]};
499
+ text-transform: uppercase;
500
+ letter-spacing: 0.06em;
501
+ padding-top: 2px;
502
+ `,rscChipRow:f`
503
+ display: flex;
504
+ gap: ${r[1]};
505
+ flex-wrap: wrap;
506
+ `,rscChip:f`
507
+ display: inline-flex;
508
+ align-items: center;
509
+ gap: ${r[.5]};
510
+ padding: 1px ${r[1]};
511
+ border-radius: ${u.radius.full};
512
+ border: 1px solid ${e.darkGray[500]};
513
+ background: ${e.darkGray[800]};
514
+ color: ${e.gray[200]};
515
+ font-size: ${v["2xs"]};
516
+ line-height: ${d.xs};
517
+ `,rscChipName:f`
518
+ color: ${e.gray[100]};
519
+ `,rscChipMeta:f`
520
+ color: ${e.gray[400]};
521
+ font-size: ${v["2xs"]};
522
+ `,subEntries:f`
523
+ margin-left: ${r[2]};
524
+ padding-left: ${r[2]};
525
+ border-left: 2px solid ${e.darkGray[400]};
526
+ `,info:f`
527
+ color: ${e.gray[500]};
528
+ font-size: ${v["2xs"]};
529
+ padding-left: ${r[1]};
530
+ `,refreshValueBtn:f`
531
+ appearance: none;
532
+ border: 0;
533
+ cursor: pointer;
534
+ background: transparent;
535
+ color: inherit;
536
+ padding: 0;
537
+ font-family: ${o.mono};
538
+ font-size: ${v.xs};
539
+ `}};function bt(){const[t]=Z(tr(vt(ht)));return t}Ue(["click"]);var rr=F("<div><div></div><div>/</div><div></div><div>/</div><div>");function He(t){const e=["s","min","h","d"],i=[t/1e3,t/6e4,t/36e5,t/864e5];let r=0;for(let u=1;u<i.length&&!(i[u]<1);u++)r=u;return new Intl.NumberFormat(navigator.language,{compactDisplay:"short",notation:"compact",maximumFractionDigits:0}).format(i[r])+e[r]}function Fe({match:t,router:e}){const i=ye();if(!t)return null;const r=e().looseRoutesById[t.routeId];if(!r.options.loader)return null;const u=Date.now()-t.updatedAt,o=r.options.staleTime??e().options.defaultStaleTime??0,d=r.options.gcTime??e().options.defaultGcTime??1800*1e3;return(()=>{var v=rr(),f=v.firstChild,a=f.nextSibling.nextSibling,n=a.nextSibling.nextSibling;return g(f,()=>He(u)),g(a,()=>He(o)),g(n,()=>He(d)),y(()=>l(v,K(i().ageTicker(u>o)))),v})()}var nr=F("<button type=button>➔");function ze({to:t,params:e,search:i,router:r}){const u=ye();return(()=>{var o=nr();return o.$$click=d=>{d.stopPropagation(),r().navigate({to:t,params:e,search:i})},le(o,"title",`Navigate to ${t}`),y(()=>l(o,u().navigateButton)),o})()}Ue(["click"]);var ir=F("<button><div>TANSTACK</div><div>TanStack Router v1"),or=F("<div style=display:flex;align-items:center;width:100%><div style=flex-grow:1;min-width:0>"),ar=F("<code> "),$e=F("<code>"),sr=F("<div><div role=button><div>"),Ee=F("<div>"),lr=F("<div><ul>"),dr=F('<div><button><svg xmlns=http://www.w3.org/2000/svg width=10 height=6 fill=none viewBox="0 0 10 6"><path stroke=currentColor stroke-linecap=round stroke-linejoin=round stroke-width=1.667 d="M1 1l4 4 4-4"></path></svg></button><div><div></div><div><div></div></div></div><div><div><div><span>Pathname</span></div><div><code></code></div><div><div><button type=button>Routes</button><button type=button>Matches</button><button type=button>History</button></div><div><div>age / staleTime / gcTime</div></div></div><div>'),cr=F("<div><span>masked"),ut=F("<div role=button><div>"),ur=F("<li><div>"),fr=F("<li>This panel displays the most recent 15 navigations."),gr=F("<div><div><div>Cached Matches</div><div>age / staleTime / gcTime</div></div><div>"),vr=F("<div><div>Match Details</div><div><div><div><div></div></div><div><div>ID:</div><div><code></code></div></div><div><div>State:</div><div></div></div><div><div>Last Updated:</div><div></div></div></div></div><div>Explorer</div><div>"),hr=F("<div>Loader Data"),pr=F("<div><div><span>Search Params</span></div><div>"),mr=F("<span style=margin-left:0.5rem>"),$r=F('<button type=button aria-label="Copy value to clipboard"style=cursor:pointer>'),ft=15;function br(t){const{className:e,...i}=t,r=ye();return(()=>{var u=ir(),o=u.firstChild,d=o.nextSibling;return gt(u,Ve(i,{get class(){return K(r().logo,e?e():"")}}),!1,!0),y(v=>{var f=r().tanstackLogo,a=r().routerLogo;return f!==v.e&&l(o,v.e=f),a!==v.t&&l(d,v.t=a),v},{e:void 0,t:void 0}),u})()}function Be(t){return(()=>{var e=or(),i=e.firstChild;return g(e,()=>t.left,i),g(i,()=>t.children),g(e,()=>t.right,null),y(()=>l(e,t.class)),e})()}function yt({routerState:t,pendingMatches:e,router:i,route:r,isRoot:u,activeId:o,setActiveId:d}){const v=ye(),f=Y(()=>e().length?e():t().matches),a=Y(()=>t().matches.find($=>$.routeId===r.id)),n=Y(()=>{var $,R;try{if(($=a())!=null&&$.params){const G=(R=a())==null?void 0:R.params,p=r.path||ot(r.id);if(p.startsWith("$")){const A=p.slice(1);if(G[A])return`(${G[A]})`}}return""}catch{return""}}),C=Y(()=>{if(u||!r.path)return;const $=Object.assign({},...f().map(G=>G.params)),R=Bt({path:r.fullPath,params:$,decoder:i().pathParamsDecoder});return R.isMissingParams?void 0:R.interpolatedPath});return(()=>{var $=sr(),R=$.firstChild,G=R.firstChild;return R.$$click=()=>{a()&&d(o()===r.id?"":r.id)},g(R,w(Be,{get class(){return K(v().routesRow(!!a()))},get left(){return w(Ft,{get when(){return C()},children:p=>w(ze,{get to(){return p()},router:i})})},get right(){return w(Fe,{get match(){return a()},router:i})},get children(){return[(()=>{var p=ar(),A=p.firstChild;return g(p,()=>u?me:r.path||ot(r.id),A),y(()=>l(p,v().code)),p})(),(()=>{var p=$e();return g(p,n),y(()=>l(p,v().routeParamInfo)),p})()]}}),null),g($,(()=>{var p=j(()=>{var A;return!!((A=r.children)!=null&&A.length)});return()=>p()?(()=>{var A=Ee();return g(A,()=>[...r.children].sort((W,X)=>W.rank-X.rank).map(W=>w(yt,{routerState:t,pendingMatches:e,router:i,route:W,activeId:o,setActiveId:d}))),y(()=>l(A,v().nestedRouteRow(!!u))),A})():null})(),null),y(p=>{var A=`Open match details for ${r.id}`,W=K(v().routesRowContainer(r.id===o(),!!a())),X=K(v().matchIndicator(jt(f(),r)));return A!==p.e&&le(R,"aria-label",p.e=A),W!==p.t&&l(R,p.t=W),X!==p.a&&l(G,p.a=X),p},{e:void 0,t:void 0,a:void 0}),$})()}var kr=function({...e}){const{isOpen:i=!0,setIsOpen:r,handleDragStart:u,router:o,routerState:d,shadowDOMTarget:v,...f}=e,{onCloseClick:a}=wt(),n=ye(),{className:C,style:$,...R}=f,[G,p]=st("tanstackRouterDevtoolsActiveTab","routes"),[A,W]=st("tanstackRouterDevtoolsActiveRouteId",""),[X,xe]=Z([]),[Ie,Te]=Z(!1);let M,Q;if("subscribe"in o().stores.pendingMatches){const[z,V]=Z([]);M=z;const[U,H]=Z([]);Q=U,be(()=>{const J=o().stores.pendingMatches;V(J.get());const ne=J.subscribe(()=>{V(J.get())});Ne(()=>ne.unsubscribe())}),be(()=>{const J=o().stores.cachedMatches;H(J.get());const ne=J.subscribe(()=>{H(J.get())});Ne(()=>ne.unsubscribe())})}else M=()=>o().stores.pendingMatches.get(),Q=()=>o().stores.cachedMatches.get();be(()=>{const z=d().matches,V=z[z.length-1];if(!V)return;const U=zt(()=>X()),H=U[0],J=H&&H.pathname===V.pathname&&JSON.stringify(H.search??{})===JSON.stringify(V.search??{});(!H||!J)&&(U.length>=ft&&Te(!0),xe(ne=>{const ue=[V,...ne];return ue.splice(ft),ue}))});const s=Y(()=>[...M(),...d().matches,...Q()].find(z=>z.routeId===A()||z.id===A())),x=Y(()=>Et(d().location.search)),P=Y(()=>({...o(),state:d()})),T=Y(()=>Object.fromEntries(Ut(Object.keys(P()),["state","routesById","routesByPath","options","manifest"].map(z=>V=>V!==z)).map(z=>[z,P()[z]]).filter(z=>typeof z[1]!="function"&&!["stores","basepath","injectedHtml","subscribers","latestLoadPromise","navigateTimeout","resetNextScroll","tempLocationKey","latestLocation","routeTree","history"].includes(z[0])))),L=Y(()=>{var z;return(z=s())==null?void 0:z.loaderData}),O=Y(()=>s()),ee=Y(()=>d().location.search);return(()=>{var z=dr(),V=z.firstChild,U=V.firstChild,H=V.nextSibling,J=H.firstChild,ne=J.nextSibling,ue=ne.firstChild,Ae=H.nextSibling,Ke=Ae.firstChild,Ce=Ke.firstChild;Ce.firstChild;var we=Ce.nextSibling,xt=we.firstChild,Me=we.nextSibling,Re=Me.firstChild,ke=Re.firstChild,Se=ke.nextSibling,Pe=Se.nextSibling,Ct=Re.nextSibling,Ye=Me.nextSibling;return gt(z,Ve({get class(){return K(n().devtoolsPanel,"TanStackRouterDevtoolsPanel",C?C():"")},get style(){return $?$():""}},R),!1,!0),g(z,u?(()=>{var c=Ee();return kt(c,"mousedown",u,!0),y(()=>l(c,n().dragHandle)),c})():null,V),V.$$click=c=>{r&&r(!1),a(c)},g(J,w(br,{"aria-hidden":!0,onClick:c=>{r&&r(!1),a(c)}})),g(ue,w(se,{label:"Router",value:T,defaultExpanded:{state:{},context:{},options:{}},filterSubEntries:c=>c.filter(m=>typeof m.value()!="function")})),g(Ce,(()=>{var c=j(()=>!!d().location.maskedLocation);return()=>c()?(()=>{var m=cr(),S=m.firstChild;return y(E=>{var k=n().maskedBadgeContainer,h=n().maskedBadge;return k!==E.e&&l(m,E.e=k),h!==E.t&&l(S,E.t=h),E},{e:void 0,t:void 0}),m})():null})(),null),g(xt,()=>d().location.pathname),g(we,(()=>{var c=j(()=>!!d().location.maskedLocation);return()=>c()?(()=>{var m=$e();return g(m,()=>{var S;return(S=d().location.maskedLocation)==null?void 0:S.pathname}),y(()=>l(m,n().maskedLocation)),m})():null})(),null),ke.$$click=()=>{p("routes")},Se.$$click=()=>{p("matches")},Pe.$$click=()=>{p("history")},g(Ye,w(_t,{get children(){return[w(Le,{get when(){return G()==="routes"},get children(){return w(yt,{routerState:d,pendingMatches:M,router:o,get route(){return o().routeTree},isRoot:!0,activeId:A,setActiveId:W})}}),w(Le,{get when(){return G()==="matches"},get children(){var c=Ee();return g(c,()=>(M().length?M():d().matches).map((m,S)=>(()=>{var E=ut(),k=E.firstChild;return E.$$click=()=>W(A()===m.id?"":m.id),g(E,w(Be,{get left(){return w(ze,{get to(){return m.pathname},get params(){return m.params},get search(){return m.search},router:o})},get right(){return w(Fe,{match:m,router:o})},get children(){var h=$e();return g(h,()=>`${m.routeId===me?me:m.pathname}`),y(()=>l(h,n().matchID)),h}}),null),y(h=>{var _=`Open match details for ${m.id}`,N=K(n().matchRow(m===s())),I=K(n().matchIndicator(Ge(m)));return _!==h.e&&le(E,"aria-label",h.e=_),N!==h.t&&l(E,h.t=N),I!==h.a&&l(k,h.a=I),h},{e:void 0,t:void 0,a:void 0}),E})())),c}}),w(Le,{get when(){return G()==="history"},get children(){var c=lr(),m=c.firstChild;return g(m,w(St,{get each(){return X()},children:(S,E)=>(()=>{var k=ur(),h=k.firstChild;return g(k,w(Be,{get left(){return w(ze,{get to(){return S.pathname},get params(){return S.params},get search(){return S.search},router:o})},get right(){return w(Fe,{match:S,router:o})},get children(){var _=$e();return g(_,()=>`${S.routeId===me?me:S.pathname}`),y(()=>l(_,n().matchID)),_}}),null),y(_=>{var N=K(n().matchRow(S===s())),I=K(n().matchIndicator(E()===0?"green":"gray"));return N!==_.e&&l(k,_.e=N),I!==_.t&&l(h,_.t=I),_},{e:void 0,t:void 0}),k})()}),null),g(m,(()=>{var S=j(()=>!!Ie());return()=>S()?(()=>{var E=fr();return y(()=>l(E,n().historyOverflowContainer)),E})():null})(),null),c}})]}})),g(Ae,(()=>{var c=j(()=>!!Q().length);return()=>c()?(()=>{var m=gr(),S=m.firstChild,E=S.firstChild.nextSibling,k=S.nextSibling;return g(k,()=>Q().map(h=>(()=>{var _=ut(),N=_.firstChild;return _.$$click=()=>W(A()===h.id?"":h.id),g(_,w(Be,{get left(){return w(ze,{get to(){return h.pathname},get params(){return h.params},get search(){return h.search},router:o})},get right(){return w(Fe,{match:h,router:o})},get children(){var I=$e();return g(I,()=>`${h.id}`),y(()=>l(I,n().matchID)),I}}),null),y(I=>{var oe=`Open match details for ${h.id}`,te=K(n().matchRow(h===s())),ie=K(n().matchIndicator(Ge(h)));return oe!==I.e&&le(_,"aria-label",I.e=oe),te!==I.t&&l(_,I.t=te),ie!==I.a&&l(N,I.a=ie),I},{e:void 0,t:void 0,a:void 0}),_})())),y(h=>{var _=n().cachedMatchesContainer,N=n().detailsHeader,I=n().detailsHeaderInfo;return _!==h.e&&l(m,h.e=_),N!==h.t&&l(S,h.t=N),I!==h.a&&l(E,h.a=I),h},{e:void 0,t:void 0,a:void 0}),m})():null})(),null),g(z,(()=>{var c=j(()=>{var m;return!!(s()&&((m=s())!=null&&m.status))});return()=>c()?(()=>{var m=vr(),S=m.firstChild,E=S.nextSibling,k=E.firstChild,h=k.firstChild,_=h.firstChild,N=h.nextSibling,I=N.firstChild.nextSibling,oe=I.firstChild,te=N.nextSibling,ie=te.firstChild.nextSibling,fe=te.nextSibling,ge=fe.firstChild.nextSibling,de=E.nextSibling,ve=de.nextSibling;return g(_,(()=>{var b=j(()=>{var B,q;return!!(((B=s())==null?void 0:B.status)==="success"&&((q=s())!=null&&q.isFetching))});return()=>{var B;return b()?"fetching":(B=s())==null?void 0:B.status}})()),g(oe,()=>{var b;return(b=s())==null?void 0:b.id}),g(ie,(()=>{var b=j(()=>!!M().find(B=>{var q;return B.id===((q=s())==null?void 0:q.id)}));return()=>b()?"Pending":d().matches.find(B=>{var q;return B.id===((q=s())==null?void 0:q.id)})?"Active":"Cached"})()),g(ge,(()=>{var b=j(()=>{var B;return!!((B=s())!=null&&B.updatedAt)});return()=>{var B;return b()?new Date((B=s())==null?void 0:B.updatedAt).toLocaleTimeString():"N/A"}})()),g(m,(()=>{var b=j(()=>!!L());return()=>b()?[(()=>{var B=hr();return y(()=>l(B,n().detailsHeader)),B})(),(()=>{var B=Ee();return g(B,w(se,{label:"loaderData",value:L,defaultExpanded:{}})),y(()=>l(B,n().detailsContent)),B})()]:null})(),de),g(ve,w(se,{label:"Match",value:O,defaultExpanded:{}})),y(b=>{var nt,it;var B=n().thirdContainer,q=n().detailsHeader,he=n().matchDetails,pe=n().matchStatus((nt=s())==null?void 0:nt.status,(it=s())==null?void 0:it.isFetching),qe=n().matchDetailsInfoLabel,We=n().matchDetailsInfo,Qe=n().matchDetailsInfoLabel,Ze=n().matchDetailsInfo,Xe=n().matchDetailsInfoLabel,et=n().matchDetailsInfo,tt=n().detailsHeader,rt=n().detailsContent;return B!==b.e&&l(m,b.e=B),q!==b.t&&l(S,b.t=q),he!==b.a&&l(k,b.a=he),pe!==b.o&&l(h,b.o=pe),qe!==b.i&&l(N,b.i=qe),We!==b.n&&l(I,b.n=We),Qe!==b.s&&l(te,b.s=Qe),Ze!==b.h&&l(ie,b.h=Ze),Xe!==b.r&&l(fe,b.r=Xe),et!==b.d&&l(ge,b.d=et),tt!==b.l&&l(de,b.l=tt),rt!==b.u&&l(ve,b.u=rt),b},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0,s:void 0,h:void 0,r:void 0,d:void 0,l:void 0,u:void 0}),m})():null})(),null),g(z,(()=>{var c=j(()=>!!x());return()=>c()?(()=>{var m=pr(),S=m.firstChild;S.firstChild;var E=S.nextSibling;return g(S,typeof navigator<"u"?(()=>{var k=mr();return g(k,w(yr,{getValue:()=>{const h=d().location.search;return JSON.stringify(h)}})),k})():null,null),g(E,w(se,{value:ee,get defaultExpanded(){return Object.keys(d().location.search).reduce((k,h)=>(k[h]={},k),{})}})),y(k=>{var h=n().fourthContainer,_=n().detailsHeader,N=n().detailsContent;return h!==k.e&&l(m,k.e=h),_!==k.t&&l(S,k.t=_),N!==k.a&&l(E,k.a=N),k},{e:void 0,t:void 0,a:void 0}),m})():null})(),null),y(c=>{var m=n().panelCloseBtn,S=n().panelCloseBtnIcon,E=n().firstContainer,k=n().row,h=n().routerExplorerContainer,_=n().routerExplorer,N=n().secondContainer,I=n().matchesContainer,oe=n().detailsHeader,te=n().detailsContent,ie=n().detailsHeader,fe=n().routeMatchesToggle,ge=G()==="routes",de=K(n().routeMatchesToggleBtn(G()==="routes",!0)),ve=G()==="matches",b=K(n().routeMatchesToggleBtn(G()==="matches",!0)),B=G()==="history",q=K(n().routeMatchesToggleBtn(G()==="history",!1)),he=n().detailsHeaderInfo,pe=K(n().routesContainer);return m!==c.e&&l(V,c.e=m),S!==c.t&&le(U,"class",c.t=S),E!==c.a&&l(H,c.a=E),k!==c.o&&l(J,c.o=k),h!==c.i&&l(ne,c.i=h),_!==c.n&&l(ue,c.n=_),N!==c.s&&l(Ae,c.s=N),I!==c.h&&l(Ke,c.h=I),oe!==c.r&&l(Ce,c.r=oe),te!==c.d&&l(we,c.d=te),ie!==c.l&&l(Me,c.l=ie),fe!==c.u&&l(Re,c.u=fe),ge!==c.c&&(ke.disabled=c.c=ge),de!==c.w&&l(ke,c.w=de),ve!==c.m&&(Se.disabled=c.m=ve),b!==c.f&&l(Se,c.f=b),B!==c.y&&(Pe.disabled=c.y=B),q!==c.g&&l(Pe,c.g=q),he!==c.p&&l(Ct,c.p=he),pe!==c.b&&l(Ye,c.b=pe),c},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0,s:void 0,h:void 0,r:void 0,d:void 0,l:void 0,u:void 0,c:void 0,w:void 0,m:void 0,f:void 0,y:void 0,g:void 0,p:void 0,b:void 0}),z})()};function yr({getValue:t}){const[e,i]=Z(!1);let r=null;const u=async()=>{var o;if(typeof navigator>"u"||!((o=navigator.clipboard)!=null&&o.writeText)){console.warn("TanStack Router Devtools: Clipboard API unavailable");return}try{const d=t();await navigator.clipboard.writeText(d),i(!0),r&&clearTimeout(r),r=setTimeout(()=>i(!1),2500)}catch(d){console.error("TanStack Router Devtools: Failed to copy",d)}};return Ne(()=>{r&&clearTimeout(r)}),(()=>{var o=$r();return o.$$click=u,g(o,()=>e()?"✅":"📋"),y(()=>le(o,"title",e()?"Copied!":"Copy")),o})()}Ue(["click","mousedown"]);export{kr as BaseTanStackRouterDevtoolsPanel,kr as default,st as n,ye as r,wr as t};
@@ -1,4 +1,4 @@
1
- var h7=Object.defineProperty;var lm=r=>{throw TypeError(r)};var f7=(r,e,t)=>e in r?h7(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var Ve=(r,e,t)=>f7(r,typeof e!="symbol"?e+"":e,t),fu=(r,e,t)=>e.has(r)||lm("Cannot "+t);var k=(r,e,t)=>(fu(r,e,"read from private field"),t?t.call(r):e.get(r)),P=(r,e,t)=>e.has(r)?lm("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(r):e.set(r,t),I=(r,e,t,n)=>(fu(r,e,"write to private field"),n?n.call(r,t):e.set(r,t),t),ci=(r,e,t)=>(fu(r,e,"access private method"),t);import{c5 as cm,c6 as p7,c7 as m7,c8 as fd,c9 as g7,ca as y7,cb as v7,r as B,cc as h4,cd as El,ce as pd,cf as md,cg as ts,ch as um,ci as b7,cj as w7,n as x7,ck as Th,cl as Gi,cm as Lr,ac as k7,cn as r0,co as gr,cp as S7,cq as C7,cr as dm,cs as Ko,ct as M7,cu as n0,j as L}from"./index-sKKm7yEm.js";import{ag as T7,ah as A7,V as N7,W as E7,X as D7,Y as O7,Z as R7,_ as f4,$ as I7,F as T0,a0 as z7,a1 as L7,a9 as B7,a2 as P7,a3 as F7,a4 as H7,a5 as _7,a6 as q7,a7 as $7,a8 as j7,y as Ah,K as V7,M as p4,O as W7,Q as U7,R as K7,S as G7,U as Y7,ac as J7,aa as X7,af as Z7,ai as hm,E as fm}from"./index-CCHYQVhi.js";const Q7={}.hasOwnProperty;function m4(r,e){let t=-1,n;if(e.extensions)for(;++t<e.extensions.length;)m4(r,e.extensions[t]);for(n in e)if(Q7.call(e,n))switch(n){case"extensions":break;case"unsafe":{pm(r[n],e[n]);break}case"join":{pm(r[n],e[n]);break}case"handlers":{ey(r[n],e[n]);break}default:r.options[n]=e[n]}return r}function pm(r,e){e&&r.push(...e)}function ey(r,e){e&&Object.assign(r,e)}const ty=[ry];function ry(r,e,t,n){if(e.type==="code"&&cm(e,n)&&(r.type==="list"||r.type===e.type&&cm(r,n)))return!1;if("spread"in t&&typeof t.spread=="boolean")return r.type==="paragraph"&&(r.type===e.type||e.type==="definition"||e.type==="heading"&&p7(e,n))?void 0:t.spread?1:0}const ui=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],ny=[{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:`
1
+ var h7=Object.defineProperty;var lm=r=>{throw TypeError(r)};var f7=(r,e,t)=>e in r?h7(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var Ve=(r,e,t)=>f7(r,typeof e!="symbol"?e+"":e,t),fu=(r,e,t)=>e.has(r)||lm("Cannot "+t);var k=(r,e,t)=>(fu(r,e,"read from private field"),t?t.call(r):e.get(r)),P=(r,e,t)=>e.has(r)?lm("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(r):e.set(r,t),I=(r,e,t,n)=>(fu(r,e,"write to private field"),n?n.call(r,t):e.set(r,t),t),ci=(r,e,t)=>(fu(r,e,"access private method"),t);import{c5 as cm,c6 as p7,c7 as m7,c8 as fd,c9 as g7,ca as y7,cb as v7,r as B,cc as h4,cd as El,ce as pd,cf as md,cg as ts,ch as um,ci as b7,cj as w7,n as x7,ck as Th,cl as Gi,cm as Lr,ac as k7,cn as r0,co as gr,cp as S7,cq as C7,cr as dm,cs as Ko,ct as M7,cu as n0,j as L}from"./index-BZYDK9c8.js";import{ag as T7,ah as A7,V as N7,W as E7,X as D7,Y as O7,Z as R7,_ as f4,$ as I7,F as T0,a0 as z7,a1 as L7,a9 as B7,a2 as P7,a3 as F7,a4 as H7,a5 as _7,a6 as q7,a7 as $7,a8 as j7,y as Ah,K as V7,M as p4,O as W7,Q as U7,R as K7,S as G7,U as Y7,ac as J7,aa as X7,af as Z7,ai as hm,E as fm}from"./index-BT9yFVeS.js";const Q7={}.hasOwnProperty;function m4(r,e){let t=-1,n;if(e.extensions)for(;++t<e.extensions.length;)m4(r,e.extensions[t]);for(n in e)if(Q7.call(e,n))switch(n){case"extensions":break;case"unsafe":{pm(r[n],e[n]);break}case"join":{pm(r[n],e[n]);break}case"handlers":{ey(r[n],e[n]);break}default:r.options[n]=e[n]}return r}function pm(r,e){e&&r.push(...e)}function ey(r,e){e&&Object.assign(r,e)}const ty=[ry];function ry(r,e,t,n){if(e.type==="code"&&cm(e,n)&&(r.type==="list"||r.type===e.type&&cm(r,n)))return!1;if("spread"in t&&typeof t.spread=="boolean")return r.type==="paragraph"&&(r.type===e.type||e.type==="definition"||e.type==="heading"&&p7(e,n))?void 0:t.spread?1:0}const ui=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],ny=[{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:`
2
2
  `,inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing",notInConstruct:ui},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:`(?:[\r
3
3
  ]|$)`},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing",notInConstruct:ui},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*",after:`(?:[ \r
4
4
  *])`},{character:"*",inConstruct:"phrasing",notInConstruct:ui},{atBreak:!0,character:"+",after:`(?:[ \r