File size: 2,949 Bytes
2e15698
 
 
 
 
 
0e526ea
6c0127c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ac50275
 
 
6c0127c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ac50275
 
 
6c0127c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0ab4fc5
2e15698
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" type="image/svg+xml" href="/vite.svg" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>QMD Web Demo — In-Browser Hybrid Search</title>
    <style>
      :root {
        --bg: #ffffff;
        --bg-page: #ffffff;
        --bg-section: #f8f8f8;
        --bg-card: #ffffff;
        --bg-input: #ffffff;
        --text: #1a1a1a;
        --text-secondary: #666666;
        --text-muted: #999999;
        --border: #e0e0e0;
        --border-light: #f0f0f0;
        --shadow: rgba(0,0,0,0.07);
        --col-query: #E8F0FE;
        --col-expansion: #FFF8E1;
        --col-search: #E0F2F1;
        --col-fusion: #E8F5E9;
        --pipeline-bg: #f5f6f8;
        --pipeline-border: #e2e4e8;
        --stage-divider: #e0e0e0;
        --input-border: #cccccc;
        --indexing-bg: #FFF3E0;
        --error-bg: #fce4ec;
        --error-border: #ef9a9a;
        --rerank-after-bg: #f1f8e9;
        --rerank-after-border: #c8e6c9;
        --example-bg: #f0f4ff;
        --example-border: #c5d5ff;
        --modal-bg: rgba(0,0,0,0.4);
        --score-good-bg: #e8f5e9;
        --score-mid-bg: #fff8e1;
        --score-bad-bg: #eceff1;
      }
      [data-theme="dark"] {
        --bg: #1a1a2e;
        --bg-page: #1a1a2e;
        --bg-section: #16213e;
        --bg-card: #0f3460;
        --bg-input: #16213e;
        --text: #e0e0e0;
        --text-secondary: #a0a0b0;
        --text-muted: #707080;
        --border: #2a2a4a;
        --border-light: #252545;
        --shadow: rgba(0,0,0,0.3);
        --col-query: #1a2744;
        --col-expansion: #2a2518;
        --col-search: #1a2e2b;
        --col-fusion: #1a2e1e;
        --pipeline-bg: #141428;
        --pipeline-border: #252545;
        --stage-divider: #2a2a4a;
        --input-border: #3a3a5a;
        --indexing-bg: #2a2518;
        --error-bg: #2e1520;
        --error-border: #5a2030;
        --rerank-after-bg: #1a2e1e;
        --rerank-after-border: #2a4a2e;
        --example-bg: #1a2040;
        --example-border: #2a3060;
        --modal-bg: rgba(0,0,0,0.7);
        --score-good-bg: #1a2e1e;
        --score-mid-bg: #2a2518;
        --score-bad-bg: #1e2030;
      }
      body {
        margin: 0;
        background: var(--bg-page);
        color: var(--text);
        transition: background 0.3s, color 0.3s;
      }
      *, *::before, *::after { box-sizing: border-box; }
    </style>
    <script>
      // Restore theme preference
      (function() {
        var t = localStorage.getItem('qmd-theme');
        if (t === 'dark' || (!t && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
          document.documentElement.setAttribute('data-theme', 'dark');
        }
      })();
    </script>
    <script type="module" crossorigin src="./assets/index-h12WNjfQ.js"></script>
  </head>
  <body>
    <div id="root"></div>
  </body>
</html>