fieldproof 0.2.2__tar.gz → 0.2.4__tar.gz

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 (56) hide show
  1. {fieldproof-0.2.2 → fieldproof-0.2.4}/CHANGELOG.md +30 -0
  2. {fieldproof-0.2.2 → fieldproof-0.2.4}/PKG-INFO +10 -7
  3. {fieldproof-0.2.2 → fieldproof-0.2.4}/pyproject.toml +14 -7
  4. {fieldproof-0.2.2 → fieldproof-0.2.4}/src/fieldproof/__init__.py +1 -1
  5. fieldproof-0.2.4/src/fieldproof/server/static/assets/fraunces-latin-DihXLNYH.woff2 +0 -0
  6. fieldproof-0.2.4/src/fieldproof/server/static/assets/fraunces-latin-ext-CJcjJNj7.woff2 +0 -0
  7. fieldproof-0.2.4/src/fieldproof/server/static/assets/fraunces-vietnamese-Czevyj-6.woff2 +0 -0
  8. fieldproof-0.2.4/src/fieldproof/server/static/assets/ibm-plex-mono-400-cyrillic-BSMlKf0J.woff2 +0 -0
  9. fieldproof-0.2.4/src/fieldproof/server/static/assets/ibm-plex-mono-400-cyrillic-ext-xuaO2J-f.woff2 +0 -0
  10. fieldproof-0.2.4/src/fieldproof/server/static/assets/ibm-plex-mono-400-latin-DMJ8VG8y.woff2 +0 -0
  11. fieldproof-0.2.4/src/fieldproof/server/static/assets/ibm-plex-mono-400-latin-ext-BmRBH3aV.woff2 +0 -0
  12. fieldproof-0.2.4/src/fieldproof/server/static/assets/ibm-plex-mono-400-vietnamese-BulugwFq.woff2 +0 -0
  13. fieldproof-0.2.4/src/fieldproof/server/static/assets/ibm-plex-mono-500-cyrillic-Bq9vWWag.woff2 +0 -0
  14. fieldproof-0.2.4/src/fieldproof/server/static/assets/ibm-plex-mono-500-cyrillic-ext-BqneJy0T.woff2 +0 -0
  15. fieldproof-0.2.4/src/fieldproof/server/static/assets/ibm-plex-mono-500-latin-DSY6xOcd.woff2 +0 -0
  16. fieldproof-0.2.4/src/fieldproof/server/static/assets/ibm-plex-mono-500-latin-ext-CAhNIIs5.woff2 +0 -0
  17. fieldproof-0.2.4/src/fieldproof/server/static/assets/ibm-plex-mono-500-vietnamese-DZ4AoWbu.woff2 +0 -0
  18. fieldproof-0.2.4/src/fieldproof/server/static/assets/index-CwE4D8C4.css +1 -0
  19. fieldproof-0.2.2/src/fieldproof/server/static/assets/index-BLATbujI.js → fieldproof-0.2.4/src/fieldproof/server/static/assets/index-DqZp-lu_.js +1 -1
  20. fieldproof-0.2.4/src/fieldproof/server/static/assets/inter-cyrillic-DqGufNeO.woff2 +0 -0
  21. fieldproof-0.2.4/src/fieldproof/server/static/assets/inter-cyrillic-ext-BOeWTOD4.woff2 +0 -0
  22. fieldproof-0.2.4/src/fieldproof/server/static/assets/inter-greek-CkhJZR-_.woff2 +0 -0
  23. fieldproof-0.2.4/src/fieldproof/server/static/assets/inter-greek-ext-DlzME5K_.woff2 +0 -0
  24. fieldproof-0.2.4/src/fieldproof/server/static/assets/inter-latin-Dx4kXJAl.woff2 +0 -0
  25. fieldproof-0.2.4/src/fieldproof/server/static/assets/inter-latin-ext-DO1Apj_S.woff2 +0 -0
  26. fieldproof-0.2.4/src/fieldproof/server/static/assets/inter-vietnamese-CBcvBZtf.woff2 +0 -0
  27. {fieldproof-0.2.2 → fieldproof-0.2.4}/src/fieldproof/server/static/index.html +2 -8
  28. fieldproof-0.2.2/src/fieldproof/server/static/assets/index-Bo892MpF.css +0 -1
  29. {fieldproof-0.2.2 → fieldproof-0.2.4}/.gitignore +0 -0
  30. {fieldproof-0.2.2 → fieldproof-0.2.4}/LICENSE +0 -0
  31. {fieldproof-0.2.2 → fieldproof-0.2.4}/README.md +0 -0
  32. {fieldproof-0.2.2 → fieldproof-0.2.4}/src/fieldproof/cli.py +0 -0
  33. {fieldproof-0.2.2 → fieldproof-0.2.4}/src/fieldproof/document/__init__.py +0 -0
  34. {fieldproof-0.2.2 → fieldproof-0.2.4}/src/fieldproof/document/loader.py +0 -0
  35. {fieldproof-0.2.2 → fieldproof-0.2.4}/src/fieldproof/document/model.py +0 -0
  36. {fieldproof-0.2.2 → fieldproof-0.2.4}/src/fieldproof/document/ocr.py +0 -0
  37. {fieldproof-0.2.2 → fieldproof-0.2.4}/src/fieldproof/document/render.py +0 -0
  38. {fieldproof-0.2.2 → fieldproof-0.2.4}/src/fieldproof/extract/__init__.py +0 -0
  39. {fieldproof-0.2.2 → fieldproof-0.2.4}/src/fieldproof/extract/anthropic_provider.py +0 -0
  40. {fieldproof-0.2.2 → fieldproof-0.2.4}/src/fieldproof/extract/base.py +0 -0
  41. {fieldproof-0.2.2 → fieldproof-0.2.4}/src/fieldproof/extract/fixture_provider.py +0 -0
  42. {fieldproof-0.2.2 → fieldproof-0.2.4}/src/fieldproof/ground/__init__.py +0 -0
  43. {fieldproof-0.2.2 → fieldproof-0.2.4}/src/fieldproof/ground/align.py +0 -0
  44. {fieldproof-0.2.2 → fieldproof-0.2.4}/src/fieldproof/ground/normalize.py +0 -0
  45. {fieldproof-0.2.2 → fieldproof-0.2.4}/src/fieldproof/schemas/__init__.py +0 -0
  46. {fieldproof-0.2.2 → fieldproof-0.2.4}/src/fieldproof/schemas/base.py +0 -0
  47. {fieldproof-0.2.2 → fieldproof-0.2.4}/src/fieldproof/schemas/contract.py +0 -0
  48. {fieldproof-0.2.2 → fieldproof-0.2.4}/src/fieldproof/schemas/invoice.py +0 -0
  49. {fieldproof-0.2.2 → fieldproof-0.2.4}/src/fieldproof/schemas/receipt.py +0 -0
  50. {fieldproof-0.2.2 → fieldproof-0.2.4}/src/fieldproof/server/__init__.py +0 -0
  51. {fieldproof-0.2.2 → fieldproof-0.2.4}/src/fieldproof/server/app.py +0 -0
  52. {fieldproof-0.2.2 → fieldproof-0.2.4}/src/fieldproof/server/store.py +0 -0
  53. {fieldproof-0.2.2 → fieldproof-0.2.4}/src/fieldproof/verify/__init__.py +0 -0
  54. {fieldproof-0.2.2 → fieldproof-0.2.4}/src/fieldproof/verify/cross_field.py +0 -0
  55. {fieldproof-0.2.2 → fieldproof-0.2.4}/src/fieldproof/verify/engine.py +0 -0
  56. {fieldproof-0.2.2 → fieldproof-0.2.4}/src/fieldproof/verify/value_checks.py +0 -0
@@ -2,6 +2,36 @@
2
2
 
3
3
  All notable changes to this project are documented in this file.
4
4
 
5
+ ## [0.2.4] - 2026-10-02
6
+
7
+ ### Changed
8
+
9
+ - The review UI's fonts ship in the package. `fieldproof serve` runs on your
10
+ own machine, over documents you may not be free to share, and its page
11
+ asked Google Fonts for its typography on every load (and fell back to
12
+ system fonts without a connection). The same font files are now part of
13
+ the wheel, with their SIL Open Font License texts (`web/src/fonts/`), and
14
+ the page makes no request to any host but the server it came from. Nothing
15
+ looks different: screenshots before and after match. The wheel grows from
16
+ about 60 KB to about 530 KB.
17
+
18
+ ## [0.2.3] - 2026-10-02
19
+
20
+ ### Security
21
+
22
+ - The oldest dependency versions the package accepted had published
23
+ advisories in exactly the code that reads what a stranger uploads:
24
+ `python-multipart` 0.0.9, `starlette` 0.38.6 (through `fastapi` 0.115),
25
+ `pdfminer.six` 20231228 (through `pdfplumber` 0.11.0) and `Pillow` 10.4
26
+ (the `ocr` extra), plus `click` 8.1.8. An ordinary install already got
27
+ current versions; an install held back by another package's constraints
28
+ could get those. The minimums are now the first releases without an
29
+ advisory: `python-multipart>=0.0.31`, `starlette>=1.3.1`,
30
+ `pdfminer.six>=20251230`, `click>=8.3.3`, `Pillow>=12.3`, and with them
31
+ `fastapi>=0.133`, `pdfplumber>=0.11.9`, `typer>=0.16`. `pip-audit` reports
32
+ nothing for the locked versions or for the minimum ones, and the tests pass
33
+ on both.
34
+
5
35
  ## [0.2.2] - 2026-10-02
6
36
 
7
37
  ### Fixed
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: fieldproof
3
- Version: 0.2.2
3
+ Version: 0.2.4
4
4
  Summary: Document extraction that shows its work: every field linked to the exact words it came from.
5
5
  Project-URL: Homepage, https://antonsoo.github.io/fieldproof/
6
6
  Project-URL: Repository, https://github.com/antonsoo/fieldproof
@@ -18,23 +18,26 @@ Classifier: Programming Language :: Python :: 3.12
18
18
  Classifier: Topic :: Text Processing :: Linguistic
19
19
  Requires-Python: >=3.11
20
20
  Requires-Dist: anthropic>=0.77
21
- Requires-Dist: fastapi>=0.115
22
- Requires-Dist: pdfplumber>=0.11
21
+ Requires-Dist: click>=8.3.3
22
+ Requires-Dist: fastapi>=0.133
23
+ Requires-Dist: pdfminer-six>=20251230
24
+ Requires-Dist: pdfplumber>=0.11.9
23
25
  Requires-Dist: pydantic>=2.10
24
26
  Requires-Dist: pypdfium2>=4.30
25
- Requires-Dist: python-multipart>=0.0.9
27
+ Requires-Dist: python-multipart>=0.0.31
26
28
  Requires-Dist: rapidfuzz>=3.9
27
- Requires-Dist: typer>=0.15.4
29
+ Requires-Dist: starlette>=1.3.1
30
+ Requires-Dist: typer>=0.16
28
31
  Requires-Dist: uvicorn[standard]>=0.30
29
32
  Provides-Extra: dev
30
33
  Requires-Dist: httpx>=0.27; extra == 'dev'
31
34
  Requires-Dist: mypy>=1.11; extra == 'dev'
32
35
  Requires-Dist: pytest-cov>=5.0; extra == 'dev'
33
- Requires-Dist: pytest>=8.3; extra == 'dev'
36
+ Requires-Dist: pytest>=9.0.3; extra == 'dev'
34
37
  Requires-Dist: reportlab>=4.2; extra == 'dev'
35
38
  Requires-Dist: ruff>=0.6; extra == 'dev'
36
39
  Provides-Extra: ocr
37
- Requires-Dist: pillow>=10.4; extra == 'ocr'
40
+ Requires-Dist: pillow>=12.3; extra == 'ocr'
38
41
  Requires-Dist: pytesseract>=0.3.10; extra == 'ocr'
39
42
  Description-Content-Type: text/markdown
40
43
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "fieldproof"
3
- version = "0.2.2"
3
+ version = "0.2.4"
4
4
  description = "Document extraction that shows its work: every field linked to the exact words it came from."
5
5
  dynamic = ["readme"]
6
6
  requires-python = ">=3.11"
@@ -27,20 +27,27 @@ classifiers = [
27
27
  ]
28
28
  dependencies = [
29
29
  "pydantic>=2.10",
30
- "pdfplumber>=0.11",
30
+ "pdfplumber>=0.11.9",
31
31
  "pypdfium2>=4.30",
32
32
  "rapidfuzz>=3.9",
33
- "fastapi>=0.115",
33
+ "fastapi>=0.133",
34
34
  "uvicorn[standard]>=0.30",
35
- "python-multipart>=0.0.9",
36
- "typer>=0.15.4",
35
+ "python-multipart>=0.0.31",
36
+ "typer>=0.16",
37
37
  "anthropic>=0.77",
38
+ # Not imported here: they parse what a stranger uploads (PDFs, multipart forms, HTTP) or
39
+ # the command line, and older releases have published advisories. These are the first
40
+ # without one (2026-10-02); the floors of pdfplumber, fastapi and typer above are the
41
+ # oldest that install beside them.
42
+ "pdfminer.six>=20251230",
43
+ "starlette>=1.3.1",
44
+ "click>=8.3.3",
38
45
  ]
39
46
 
40
47
  [project.optional-dependencies]
41
- ocr = ["pytesseract>=0.3.10", "Pillow>=10.4"]
48
+ ocr = ["pytesseract>=0.3.10", "Pillow>=12.3"]
42
49
  dev = [
43
- "pytest>=8.3",
50
+ "pytest>=9.0.3",
44
51
  "pytest-cov>=5.0",
45
52
  "httpx>=0.27",
46
53
  "ruff>=0.6",
@@ -5,4 +5,4 @@ reviewer (or a downstream system) can tell a verified value from a
5
5
  hallucinated one before it reaches a database.
6
6
  """
7
7
 
8
- __version__ = "0.2.2"
8
+ __version__ = "0.2.4"
@@ -0,0 +1 @@
1
+ @font-face{font-family:Fraunces;font-style:normal;font-weight:480;font-display:swap;src:url(/assets/fraunces-vietnamese-Czevyj-6.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Fraunces;font-style:normal;font-weight:480;font-display:swap;src:url(/assets/fraunces-latin-ext-CJcjJNj7.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Fraunces;font-style:normal;font-weight:480;font-display:swap;src:url(/assets/fraunces-latin-DihXLNYH.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Fraunces;font-style:normal;font-weight:560;font-display:swap;src:url(/assets/fraunces-vietnamese-Czevyj-6.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Fraunces;font-style:normal;font-weight:560;font-display:swap;src:url(/assets/fraunces-latin-ext-CJcjJNj7.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Fraunces;font-style:normal;font-weight:560;font-display:swap;src:url(/assets/fraunces-latin-DihXLNYH.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/ibm-plex-mono-400-cyrillic-ext-xuaO2J-f.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/ibm-plex-mono-400-cyrillic-BSMlKf0J.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/ibm-plex-mono-400-vietnamese-BulugwFq.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/ibm-plex-mono-400-latin-ext-BmRBH3aV.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/ibm-plex-mono-400-latin-DMJ8VG8y.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/ibm-plex-mono-500-cyrillic-ext-BqneJy0T.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/ibm-plex-mono-500-cyrillic-Bq9vWWag.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/ibm-plex-mono-500-vietnamese-DZ4AoWbu.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/ibm-plex-mono-500-latin-ext-CAhNIIs5.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/ibm-plex-mono-500-latin-DSY6xOcd.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/inter-cyrillic-ext-BOeWTOD4.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/inter-cyrillic-DqGufNeO.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/inter-greek-ext-DlzME5K_.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/inter-greek-CkhJZR-_.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/inter-vietnamese-CBcvBZtf.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/inter-latin-ext-DO1Apj_S.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/inter-latin-Dx4kXJAl.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/inter-cyrillic-ext-BOeWTOD4.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/inter-cyrillic-DqGufNeO.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/inter-greek-ext-DlzME5K_.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/inter-greek-CkhJZR-_.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/inter-vietnamese-CBcvBZtf.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/inter-latin-ext-DO1Apj_S.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/inter-latin-Dx4kXJAl.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(/assets/inter-cyrillic-ext-BOeWTOD4.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(/assets/inter-cyrillic-DqGufNeO.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(/assets/inter-greek-ext-DlzME5K_.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(/assets/inter-greek-CkhJZR-_.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(/assets/inter-vietnamese-CBcvBZtf.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(/assets/inter-latin-ext-DO1Apj_S.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(/assets/inter-latin-Dx4kXJAl.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(/assets/inter-cyrillic-ext-BOeWTOD4.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(/assets/inter-cyrillic-DqGufNeO.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(/assets/inter-greek-ext-DlzME5K_.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(/assets/inter-greek-CkhJZR-_.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(/assets/inter-vietnamese-CBcvBZtf.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(/assets/inter-latin-ext-DO1Apj_S.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(/assets/inter-latin-Dx4kXJAl.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--font-display: "Fraunces", Georgia, serif;--font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;--color-bg: #f2f4f1;--color-surface: #ffffff;--color-surface-sunken: #e9ece7;--color-ink: #14181a;--color-ink-muted: #5c6670;--color-ink-faint: #8b949c;--color-border: #d7dcd6;--color-border-strong: #b7bfb9;--color-accent: #14524c;--color-accent-ink: #ffffff;--color-focus: #1c7a70;--color-verified: #0e7a5f;--color-verified-bg: #e4f3ec;--color-review: #a6650f;--color-review-bg: #fbf0dc;--color-unsupported: #b3392c;--color-unsupported-bg: #fbe7e3;--radius-sm: 4px;--radius-md: 7px;--shadow-card: 0 1px 2px rgba(20, 24, 26, .06), 0 1px 1px rgba(20, 24, 26, .04);--shadow-panel: 0 4px 16px rgba(20, 24, 26, .08);color-scheme:light}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--color-bg: #10151a;--color-surface: #171d23;--color-surface-sunken: #0d1216;--color-ink: #e8edee;--color-ink-muted: #93a1aa;--color-ink-faint: #66727c;--color-border: #2a333b;--color-border-strong: #3b4750;--color-accent: #49c9b3;--color-accent-ink: #08201c;--color-focus: #49c9b3;--color-verified: #49c9b3;--color-verified-bg: rgba(73, 201, 179, .14);--color-review: #e3ab41;--color-review-bg: rgba(227, 171, 65, .14);--color-unsupported: #e2685c;--color-unsupported-bg: rgba(226, 104, 92, .14);color-scheme:dark}}:root[data-theme=dark]{--color-bg: #10151a;--color-surface: #171d23;--color-surface-sunken: #0d1216;--color-ink: #e8edee;--color-ink-muted: #93a1aa;--color-ink-faint: #66727c;--color-border: #2a333b;--color-border-strong: #3b4750;--color-accent: #49c9b3;--color-accent-ink: #08201c;--color-focus: #49c9b3;--color-verified: #49c9b3;--color-verified-bg: rgba(73, 201, 179, .14);--color-review: #e3ab41;--color-review-bg: rgba(227, 171, 65, .14);--color-unsupported: #e2685c;--color-unsupported-bg: rgba(226, 104, 92, .14);color-scheme:dark}*{box-sizing:border-box}html,body{height:100%}body{margin:0;background:var(--color-bg);color:var(--color-ink);font-family:var(--font-body);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}button,input,select{font:inherit;color:inherit}a{color:var(--color-accent)}:focus-visible{outline:2px solid var(--color-focus);outline-offset:2px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;transition-duration:.001ms!important}}#app{display:flex;flex-direction:column;height:100vh;height:100dvh}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 20px;border-bottom:1px solid var(--color-border);background:var(--color-surface);flex-wrap:wrap}.brand{display:flex;align-items:baseline;gap:8px}.brand-mark{font-family:var(--font-display);font-weight:560;font-size:20px;letter-spacing:-.01em;color:var(--color-ink)}.brand-tag{font-size:11px;color:var(--color-ink-faint);font-family:var(--font-mono);display:none}@media(min-width:900px){.brand-tag{display:inline}}.topbar-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.sample-switch{display:flex;gap:2px;padding:2px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-bg, transparent)}.sample-switch-btn{padding:5px 12px;border:0;border-radius:6px;background:transparent;color:var(--color-ink-faint);font:inherit;font-size:13px;cursor:pointer}.sample-switch-btn:hover{color:var(--color-ink)}.sample-switch-btn.is-active{background:var(--color-accent);color:var(--color-accent-ink)}.sample-switch-btn:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px}@media(max-width:600px){.sample-switch{order:3;width:100%}.sample-switch-btn{flex:1}}.workbench{flex:1;display:flex;min-height:0}.start-state{margin:auto;max-width:560px;padding:48px 32px;text-align:center}.start-state h1{font-family:var(--font-display);font-weight:540;font-size:28px;margin:0 0 8px}.start-state p{color:var(--color-ink-muted);margin:0 0 28px}.proof-ticks{display:flex;justify-content:center;gap:18px;margin-bottom:32px}.proof-tick{display:flex;align-items:center;gap:6px;font-family:var(--font-mono);font-size:12px;color:var(--color-ink-muted);opacity:0;animation:tick-in .5s ease forwards}.proof-tick:nth-child(1){animation-delay:.05s}.proof-tick:nth-child(2){animation-delay:.2s}.proof-tick:nth-child(3){animation-delay:.35s}@keyframes tick-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.proof-dot{width:8px;height:8px;border-radius:50%}.sample-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}.dropzone{border:1.5px dashed var(--color-border-strong);border-radius:var(--radius-md);padding:28px;color:var(--color-ink-muted);cursor:pointer;transition:border-color .15s ease,background .15s ease}.dropzone:hover,.dropzone.dragover{border-color:var(--color-accent);background:var(--color-surface-sunken)}.btn{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:var(--radius-sm);border:1px solid var(--color-border-strong);background:var(--color-surface);color:var(--color-ink);cursor:pointer;font-size:13px;line-height:1.3}.btn:hover{border-color:var(--color-accent)}.btn-primary{background:var(--color-accent);border-color:var(--color-accent);color:var(--color-accent-ink);font-weight:600}.btn-primary:hover{filter:brightness(1.08)}.btn:disabled{opacity:.45;cursor:not-allowed}.select,.text-input{padding:6px 10px;border-radius:var(--radius-sm);border:1px solid var(--color-border-strong);background:var(--color-surface)}.viewer-pane{flex:1 1 55%;min-width:0;min-height:0;display:flex;flex-direction:column;border-right:1px solid var(--color-border);background:var(--color-surface-sunken)}.viewer-toolbar{display:flex;align-items:center;gap:8px;padding:8px 14px;border-bottom:1px solid var(--color-border);background:var(--color-surface);font-size:12px;color:var(--color-ink-muted)}.viewer-scroll{flex:1;overflow:auto;padding:24px;display:flex;justify-content:center}.page-frame{position:relative;box-shadow:var(--shadow-panel);background:#fff;height:fit-content}.page-frame img{display:block;max-width:none}.highlight-rect{position:absolute;border-radius:2px;border:1.5px solid transparent;background:transparent;cursor:pointer;transition:background .15s ease,border-color .15s ease}.highlight-rect[data-status=verified]{border-color:color-mix(in srgb,var(--color-verified) 55%,transparent);background:color-mix(in srgb,var(--color-verified) 14%,transparent)}.highlight-rect[data-status=needs_review]{border-color:color-mix(in srgb,var(--color-review) 65%,transparent);background:color-mix(in srgb,var(--color-review) 18%,transparent)}.highlight-rect[data-status=unsupported]{border-color:color-mix(in srgb,var(--color-unsupported) 65%,transparent);background:color-mix(in srgb,var(--color-unsupported) 18%,transparent)}.highlight-rect.is-active,.highlight-rect:hover{border-width:2px;filter:brightness(.94) saturate(1.3)}.highlight-rect.is-pulsing{animation:pulse-ring .9s ease 2}@keyframes pulse-ring{0%{box-shadow:0 0 color-mix(in srgb,var(--color-accent) 55%,transparent)}70%{box-shadow:0 0 0 8px color-mix(in srgb,var(--color-accent) 0%,transparent)}to{box-shadow:0 0 0 0 transparent}}.field-pane{flex:1 1 45%;min-width:320px;min-height:0;display:flex;flex-direction:column}.field-pane-header{padding:12px 16px;border-bottom:1px solid var(--color-border);background:var(--color-surface);display:flex;flex-direction:column;gap:10px}.counts-strip{display:flex;gap:8px;flex-wrap:wrap}.count-chip{display:inline-flex;align-items:center;gap:6px;padding:3px 9px;border-radius:999px;font-size:12px;font-family:var(--font-mono);border:1px solid var(--color-border);background:var(--color-surface-sunken);cursor:pointer}.count-chip.is-active{border-color:currentColor}.count-chip[data-status=verified]{color:var(--color-verified)}.count-chip[data-status=needs_review]{color:var(--color-review)}.count-chip[data-status=unsupported]{color:var(--color-unsupported)}.filter-row{display:flex;gap:8px}.filter-row .text-input{flex:1}.field-list{flex:1;overflow:auto;list-style:none;margin:0;padding:0}.field-row{padding:10px 16px;border-bottom:1px solid var(--color-border);cursor:pointer;background:var(--color-surface)}.field-row:hover,.field-row.is-hovered{background:var(--color-surface-sunken)}.field-row.is-selected{background:var(--color-surface-sunken);box-shadow:inset 3px 0 0 var(--color-accent)}.field-row-top{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.field-path{font-family:var(--font-mono);font-size:11.5px;color:var(--color-ink-faint)}.status-chip{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:600;padding:2px 8px;border-radius:999px;white-space:nowrap}.status-chip[data-status=verified]{color:var(--color-verified);background:var(--color-verified-bg)}.status-chip[data-status=needs_review]{color:var(--color-review);background:var(--color-review-bg)}.status-chip[data-status=unsupported]{color:var(--color-unsupported);background:var(--color-unsupported-bg)}.status-chip:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.field-value{font-size:14.5px;margin-top:3px;word-break:break-word}.field-value.is-edited{text-decoration:underline dotted;text-decoration-color:var(--color-accent)}.field-reasons{margin-top:5px;font-size:12px;color:var(--color-ink-muted)}.field-reasons li{margin:2px 0 2px 16px}.field-evidence{margin-top:6px;font-family:var(--font-mono);font-size:11.5px;color:var(--color-ink-muted);background:var(--color-surface-sunken);padding:5px 8px;border-radius:var(--radius-sm);border-left:2px solid var(--color-border-strong)}.field-actions{margin-top:8px;display:flex;gap:6px;flex-wrap:wrap}.field-actions .btn{padding:4px 9px;font-size:12px}.review-badge{font-size:11px;color:var(--color-ink-faint);font-family:var(--font-mono);margin-left:6px}.edit-row{display:flex;gap:6px;margin-top:8px}.edit-row .text-input{flex:1}.empty-filtered{padding:40px 20px;text-align:center;color:var(--color-ink-faint)}.toast{position:fixed;bottom:18px;left:50%;transform:translate(-50%) translateY(8px);background:var(--color-ink);color:var(--color-bg);padding:8px 16px;border-radius:var(--radius-sm);font-size:13px;opacity:0;pointer-events:none;transition:opacity .2s ease,transform .2s ease;z-index:50}.toast.is-visible{opacity:1;transform:translate(-50%) translateY(0)}@media(max-width:860px){.workbench{flex-direction:column}.viewer-pane,.field-pane{flex:none;min-width:0}.viewer-pane{border-right:none;border-bottom:1px solid var(--color-border);max-height:42vh}.field-pane{min-height:0}}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.demo-note{margin:8px 0 0;font-size:12px;line-height:1.45;color:var(--color-ink-faint)}
@@ -141,4 +141,4 @@
141
141
  </div>`}
142
142
  </li>
143
143
  `}function O(){document.querySelectorAll(".highlight-rect").forEach(e=>{e.addEventListener("click",()=>v(e.dataset.path,{pulse:!0})),e.addEventListener("mouseenter",()=>M(e.dataset.path,!0)),e.addEventListener("mouseleave",()=>M(e.dataset.path,!1))})}function oe(){const e=w();e.querySelector("#prev-page")?.addEventListener("click",()=>{t.currentPage=Math.max(1,t.currentPage-1),u()}),e.querySelector("#next-page")?.addEventListener("click",()=>{t.currentPage=Math.min(t.document.page_count,t.currentPage+1),u()}),e.querySelector("#zoom-in")?.addEventListener("click",()=>{t.zoomIsAuto=!1,t.zoom=Math.min(3,Math.round((t.zoom+.25)*100)/100),u()}),e.querySelector("#zoom-out")?.addEventListener("click",()=>{t.zoomIsAuto=!1,t.zoom=Math.max(.35,Math.round((t.zoom-.25)*100)/100),u()}),O(),e.querySelectorAll(".count-chip").forEach(o=>{o.addEventListener("click",()=>{t.statusFilter=o.dataset.statusFilter??"all",u()})});const n=e.querySelector("#search-input");n?.addEventListener("input",()=>{t.searchQuery=n.value,y()});const a=e.querySelector("#field-list");a.addEventListener("click",o=>re(o)),a.addEventListener("keydown",o=>se(o))}function re(e){const n=e.target,a=n.closest("[data-approve]"),o=n.closest("[data-edit]"),r=n.closest("[data-reject]"),i=n.closest("[data-reset]"),s=n.closest("[data-save]"),d=n.closest("[data-cancel-edit]"),p=n.closest(".field-row");if(a)return void m(a.dataset.approve,"approve");if(r)return void m(r.dataset.reject,"reject");if(i)return void m(i.dataset.reset,"reset");if(o){t.editingPath=o.dataset.edit,y();return}if(d){t.editingPath=null,y();return}if(s){const g=s.dataset.save,$=document.getElementById(`edit-input-${ie(g)}`);m(g,"edit",$?.value??""),t.editingPath=null;return}p&&v(p.dataset.path,{pulse:!0})}function ie(e){return e.replace(/[^a-zA-Z0-9_-]/g,"_")}function se(e){if(e.target.tagName==="INPUT")return;const a=L();if(a.length===0)return;const o=a.findIndex(r=>r.path===t.selectedPath);if(e.key==="ArrowDown"||e.key==="j"){e.preventDefault();const r=a[Math.min(a.length-1,o+1)]??a[0];v(r.path,{pulse:!0})}else if(e.key==="ArrowUp"||e.key==="k"){e.preventDefault();const r=a[Math.max(0,o-1)]??a[0];v(r.path,{pulse:!0})}else e.key==="a"&&t.selectedPath?m(t.selectedPath,"approve"):e.key==="r"&&t.selectedPath&&m(t.selectedPath,"reject")}function v(e,n={}){const a=t.extraction.report.fields.find(r=>r.path===e);if(t.selectedPath=e,a?.page&&(t.currentPage=a.page),u(),n.scroll===!1)return;const o=document.querySelector(`.highlight-rect[data-path="${x(e)}"]`);o?.scrollIntoView({block:"center",inline:"center",behavior:"smooth"}),n.pulse&&o&&(window.matchMedia("(prefers-reduced-motion: reduce)").matches||(o.classList.add("is-pulsing"),window.setTimeout(()=>o.classList.remove("is-pulsing"),1900))),document.querySelector(`.field-row[data-path="${x(e)}"]`)?.scrollIntoView({block:"nearest"})}function x(e){return e.replace(/"/g,'\\"')}function M(e,n){document.querySelector(`.field-row[data-path="${x(e)}"]`)?.classList.toggle("is-hovered",n)}async function m(e,n,a){if(t.document)try{const o=await l.review(t.document.id,e,n,a);t.extraction.review[e]=o,y()}catch(o){f(o instanceof Error?o.message:"Couldn't update review status")}}function y(){const e=document.getElementById("field-list");e&&(e.innerHTML=C())}h();l.kind==="demo"?ee():E();
144
- //# sourceMappingURL=index-BLATbujI.js.map
144
+ //# sourceMappingURL=index-DqZp-lu_.js.map
@@ -9,12 +9,6 @@
9
9
  content="Review UI for fieldproof: every extracted field linked to the exact words it came from."
10
10
  />
11
11
  <link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect width='24' height='24' rx='5' fill='%2314524c'/%3E%3Cpath d='M7 12.5l3 3 7-7.5' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E" />
12
- <link rel="preconnect" href="https://fonts.googleapis.com" />
13
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
14
- <link
15
- href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,480;9..144,560&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap"
16
- rel="stylesheet"
17
- />
18
12
  <script>
19
13
  // Applied before paint so there's no flash of the wrong theme; the
20
14
  // toggle in the toolbar just flips this same attribute + key.
@@ -41,8 +35,8 @@
41
35
  <meta name="twitter:title" content="fieldproof · grounded document review" />
42
36
  <meta name="twitter:description" content="Document extraction that shows its work: every LLM-extracted field grounded to its source words, verified, and reviewable." />
43
37
  <meta name="twitter:image" content="https://raw.githubusercontent.com/antonsoo/fieldproof/main/docs/assets/og.png" />
44
- <script type="module" crossorigin src="/assets/index-BLATbujI.js"></script>
45
- <link rel="stylesheet" crossorigin href="/assets/index-Bo892MpF.css">
38
+ <script type="module" crossorigin src="/assets/index-DqZp-lu_.js"></script>
39
+ <link rel="stylesheet" crossorigin href="/assets/index-CwE4D8C4.css">
46
40
  </head>
47
41
  <body>
48
42
  <div id="app"></div>
@@ -1 +0,0 @@
1
- :root{--font-display: "Fraunces", Georgia, serif;--font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;--color-bg: #f2f4f1;--color-surface: #ffffff;--color-surface-sunken: #e9ece7;--color-ink: #14181a;--color-ink-muted: #5c6670;--color-ink-faint: #8b949c;--color-border: #d7dcd6;--color-border-strong: #b7bfb9;--color-accent: #14524c;--color-accent-ink: #ffffff;--color-focus: #1c7a70;--color-verified: #0e7a5f;--color-verified-bg: #e4f3ec;--color-review: #a6650f;--color-review-bg: #fbf0dc;--color-unsupported: #b3392c;--color-unsupported-bg: #fbe7e3;--radius-sm: 4px;--radius-md: 7px;--shadow-card: 0 1px 2px rgba(20, 24, 26, .06), 0 1px 1px rgba(20, 24, 26, .04);--shadow-panel: 0 4px 16px rgba(20, 24, 26, .08);color-scheme:light}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--color-bg: #10151a;--color-surface: #171d23;--color-surface-sunken: #0d1216;--color-ink: #e8edee;--color-ink-muted: #93a1aa;--color-ink-faint: #66727c;--color-border: #2a333b;--color-border-strong: #3b4750;--color-accent: #49c9b3;--color-accent-ink: #08201c;--color-focus: #49c9b3;--color-verified: #49c9b3;--color-verified-bg: rgba(73, 201, 179, .14);--color-review: #e3ab41;--color-review-bg: rgba(227, 171, 65, .14);--color-unsupported: #e2685c;--color-unsupported-bg: rgba(226, 104, 92, .14);color-scheme:dark}}:root[data-theme=dark]{--color-bg: #10151a;--color-surface: #171d23;--color-surface-sunken: #0d1216;--color-ink: #e8edee;--color-ink-muted: #93a1aa;--color-ink-faint: #66727c;--color-border: #2a333b;--color-border-strong: #3b4750;--color-accent: #49c9b3;--color-accent-ink: #08201c;--color-focus: #49c9b3;--color-verified: #49c9b3;--color-verified-bg: rgba(73, 201, 179, .14);--color-review: #e3ab41;--color-review-bg: rgba(227, 171, 65, .14);--color-unsupported: #e2685c;--color-unsupported-bg: rgba(226, 104, 92, .14);color-scheme:dark}*{box-sizing:border-box}html,body{height:100%}body{margin:0;background:var(--color-bg);color:var(--color-ink);font-family:var(--font-body);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}button,input,select{font:inherit;color:inherit}a{color:var(--color-accent)}:focus-visible{outline:2px solid var(--color-focus);outline-offset:2px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;transition-duration:.001ms!important}}#app{display:flex;flex-direction:column;height:100vh;height:100dvh}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 20px;border-bottom:1px solid var(--color-border);background:var(--color-surface);flex-wrap:wrap}.brand{display:flex;align-items:baseline;gap:8px}.brand-mark{font-family:var(--font-display);font-weight:560;font-size:20px;letter-spacing:-.01em;color:var(--color-ink)}.brand-tag{font-size:11px;color:var(--color-ink-faint);font-family:var(--font-mono);display:none}@media(min-width:900px){.brand-tag{display:inline}}.topbar-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.sample-switch{display:flex;gap:2px;padding:2px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-bg, transparent)}.sample-switch-btn{padding:5px 12px;border:0;border-radius:6px;background:transparent;color:var(--color-ink-faint);font:inherit;font-size:13px;cursor:pointer}.sample-switch-btn:hover{color:var(--color-ink)}.sample-switch-btn.is-active{background:var(--color-accent);color:var(--color-accent-ink)}.sample-switch-btn:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px}@media(max-width:600px){.sample-switch{order:3;width:100%}.sample-switch-btn{flex:1}}.workbench{flex:1;display:flex;min-height:0}.start-state{margin:auto;max-width:560px;padding:48px 32px;text-align:center}.start-state h1{font-family:var(--font-display);font-weight:540;font-size:28px;margin:0 0 8px}.start-state p{color:var(--color-ink-muted);margin:0 0 28px}.proof-ticks{display:flex;justify-content:center;gap:18px;margin-bottom:32px}.proof-tick{display:flex;align-items:center;gap:6px;font-family:var(--font-mono);font-size:12px;color:var(--color-ink-muted);opacity:0;animation:tick-in .5s ease forwards}.proof-tick:nth-child(1){animation-delay:.05s}.proof-tick:nth-child(2){animation-delay:.2s}.proof-tick:nth-child(3){animation-delay:.35s}@keyframes tick-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.proof-dot{width:8px;height:8px;border-radius:50%}.sample-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}.dropzone{border:1.5px dashed var(--color-border-strong);border-radius:var(--radius-md);padding:28px;color:var(--color-ink-muted);cursor:pointer;transition:border-color .15s ease,background .15s ease}.dropzone:hover,.dropzone.dragover{border-color:var(--color-accent);background:var(--color-surface-sunken)}.btn{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:var(--radius-sm);border:1px solid var(--color-border-strong);background:var(--color-surface);color:var(--color-ink);cursor:pointer;font-size:13px;line-height:1.3}.btn:hover{border-color:var(--color-accent)}.btn-primary{background:var(--color-accent);border-color:var(--color-accent);color:var(--color-accent-ink);font-weight:600}.btn-primary:hover{filter:brightness(1.08)}.btn:disabled{opacity:.45;cursor:not-allowed}.select,.text-input{padding:6px 10px;border-radius:var(--radius-sm);border:1px solid var(--color-border-strong);background:var(--color-surface)}.viewer-pane{flex:1 1 55%;min-width:0;min-height:0;display:flex;flex-direction:column;border-right:1px solid var(--color-border);background:var(--color-surface-sunken)}.viewer-toolbar{display:flex;align-items:center;gap:8px;padding:8px 14px;border-bottom:1px solid var(--color-border);background:var(--color-surface);font-size:12px;color:var(--color-ink-muted)}.viewer-scroll{flex:1;overflow:auto;padding:24px;display:flex;justify-content:center}.page-frame{position:relative;box-shadow:var(--shadow-panel);background:#fff;height:fit-content}.page-frame img{display:block;max-width:none}.highlight-rect{position:absolute;border-radius:2px;border:1.5px solid transparent;background:transparent;cursor:pointer;transition:background .15s ease,border-color .15s ease}.highlight-rect[data-status=verified]{border-color:color-mix(in srgb,var(--color-verified) 55%,transparent);background:color-mix(in srgb,var(--color-verified) 14%,transparent)}.highlight-rect[data-status=needs_review]{border-color:color-mix(in srgb,var(--color-review) 65%,transparent);background:color-mix(in srgb,var(--color-review) 18%,transparent)}.highlight-rect[data-status=unsupported]{border-color:color-mix(in srgb,var(--color-unsupported) 65%,transparent);background:color-mix(in srgb,var(--color-unsupported) 18%,transparent)}.highlight-rect.is-active,.highlight-rect:hover{border-width:2px;filter:brightness(.94) saturate(1.3)}.highlight-rect.is-pulsing{animation:pulse-ring .9s ease 2}@keyframes pulse-ring{0%{box-shadow:0 0 color-mix(in srgb,var(--color-accent) 55%,transparent)}70%{box-shadow:0 0 0 8px color-mix(in srgb,var(--color-accent) 0%,transparent)}to{box-shadow:0 0 0 0 transparent}}.field-pane{flex:1 1 45%;min-width:320px;min-height:0;display:flex;flex-direction:column}.field-pane-header{padding:12px 16px;border-bottom:1px solid var(--color-border);background:var(--color-surface);display:flex;flex-direction:column;gap:10px}.counts-strip{display:flex;gap:8px;flex-wrap:wrap}.count-chip{display:inline-flex;align-items:center;gap:6px;padding:3px 9px;border-radius:999px;font-size:12px;font-family:var(--font-mono);border:1px solid var(--color-border);background:var(--color-surface-sunken);cursor:pointer}.count-chip.is-active{border-color:currentColor}.count-chip[data-status=verified]{color:var(--color-verified)}.count-chip[data-status=needs_review]{color:var(--color-review)}.count-chip[data-status=unsupported]{color:var(--color-unsupported)}.filter-row{display:flex;gap:8px}.filter-row .text-input{flex:1}.field-list{flex:1;overflow:auto;list-style:none;margin:0;padding:0}.field-row{padding:10px 16px;border-bottom:1px solid var(--color-border);cursor:pointer;background:var(--color-surface)}.field-row:hover,.field-row.is-hovered{background:var(--color-surface-sunken)}.field-row.is-selected{background:var(--color-surface-sunken);box-shadow:inset 3px 0 0 var(--color-accent)}.field-row-top{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.field-path{font-family:var(--font-mono);font-size:11.5px;color:var(--color-ink-faint)}.status-chip{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:600;padding:2px 8px;border-radius:999px;white-space:nowrap}.status-chip[data-status=verified]{color:var(--color-verified);background:var(--color-verified-bg)}.status-chip[data-status=needs_review]{color:var(--color-review);background:var(--color-review-bg)}.status-chip[data-status=unsupported]{color:var(--color-unsupported);background:var(--color-unsupported-bg)}.status-chip:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.field-value{font-size:14.5px;margin-top:3px;word-break:break-word}.field-value.is-edited{text-decoration:underline dotted;text-decoration-color:var(--color-accent)}.field-reasons{margin-top:5px;font-size:12px;color:var(--color-ink-muted)}.field-reasons li{margin:2px 0 2px 16px}.field-evidence{margin-top:6px;font-family:var(--font-mono);font-size:11.5px;color:var(--color-ink-muted);background:var(--color-surface-sunken);padding:5px 8px;border-radius:var(--radius-sm);border-left:2px solid var(--color-border-strong)}.field-actions{margin-top:8px;display:flex;gap:6px;flex-wrap:wrap}.field-actions .btn{padding:4px 9px;font-size:12px}.review-badge{font-size:11px;color:var(--color-ink-faint);font-family:var(--font-mono);margin-left:6px}.edit-row{display:flex;gap:6px;margin-top:8px}.edit-row .text-input{flex:1}.empty-filtered{padding:40px 20px;text-align:center;color:var(--color-ink-faint)}.toast{position:fixed;bottom:18px;left:50%;transform:translate(-50%) translateY(8px);background:var(--color-ink);color:var(--color-bg);padding:8px 16px;border-radius:var(--radius-sm);font-size:13px;opacity:0;pointer-events:none;transition:opacity .2s ease,transform .2s ease;z-index:50}.toast.is-visible{opacity:1;transform:translate(-50%) translateY(0)}@media(max-width:860px){.workbench{flex-direction:column}.viewer-pane,.field-pane{flex:none;min-width:0}.viewer-pane{border-right:none;border-bottom:1px solid var(--color-border);max-height:42vh}.field-pane{min-height:0}}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.demo-note{margin:8px 0 0;font-size:12px;line-height:1.45;color:var(--color-ink-faint)}
File without changes
File without changes
File without changes