@palate/cli 0.0.0-stage → 0.0.2
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.
- package/LICENSE +20 -0
- package/README.md +153 -2
- package/bin/palate.mjs +894 -0
- package/kb/anatomy/data-table.md +24 -0
- package/kb/anatomy/empty-state.md +16 -0
- package/kb/anatomy/filter-toolbar.md +19 -0
- package/kb/anatomy/meter.md +16 -0
- package/kb/anatomy/product-window.md +18 -0
- package/kb/anatomy/settings-page.md +18 -0
- package/kb/anatomy/status-indicator.md +17 -0
- package/kb/anatomy/toast-undo.md +16 -0
- package/kb/bench/briefs.json +618 -0
- package/kb/craft/SOURCES.md +48 -0
- package/kb/craft/creativity.md +55 -0
- package/kb/craft/details.md +75 -0
- package/kb/craft/landing-demos.md +46 -0
- package/kb/craft/mistakes.md +73 -0
- package/kb/craft/motion.md +53 -0
- package/kb/craft/principles.md +68 -0
- package/kb/index/discovery.json +1 -0
- package/kb/inspiration/index.json +79 -0
- package/kb/moves/animated-comparison-table.md +58 -0
- package/kb/moves/before-after-slider.md +58 -0
- package/kb/moves/bento-live-tiles.md +57 -0
- package/kb/moves/calm-motion-system.md +63 -0
- package/kb/moves/canvas-grain.md +58 -0
- package/kb/moves/changelog-as-magazine.md +56 -0
- package/kb/moves/code-drawn-diagram.md +56 -0
- package/kb/moves/colophon.md +54 -0
- package/kb/moves/command-palette-site-nav.md +58 -0
- package/kb/moves/confetti-free-celebration.md +58 -0
- package/kb/moves/console-easter-egg.md +57 -0
- package/kb/moves/copy-confirmation.md +57 -0
- package/kb/moves/cursor-reactive-light.md +57 -0
- package/kb/moves/dark-band-contrast-section.md +55 -0
- package/kb/moves/designed-dark-mode.md +58 -0
- package/kb/moves/duotone-photography.md +55 -0
- package/kb/moves/editorial-drop-cap.md +58 -0
- package/kb/moves/editorial-grid-pull-quotes.md +55 -0
- package/kb/moves/engraving-colour-lens.md +64 -0
- package/kb/moves/explorable-control.md +57 -0
- package/kb/moves/feature-films-on-painted-stages.md +58 -0
- package/kb/moves/first-win-onboarding.md +59 -0
- package/kb/moves/footer-live-status.md +56 -0
- package/kb/moves/footer-rewards-the-end.md +58 -0
- package/kb/moves/generative-brand-pattern.md +55 -0
- package/kb/moves/gentle-error-nudge.md +59 -0
- package/kb/moves/halftone-dot-imagery.md +55 -0
- package/kb/moves/hand-drawn-annotations.md +55 -0
- package/kb/moves/hero-paints-itself-in.md +65 -0
- package/kb/moves/honest-progress-narration.md +58 -0
- package/kb/moves/honest-testimonial-wall.md +57 -0
- package/kb/moves/inline-sparklines-in-copy.md +57 -0
- package/kb/moves/inspect-our-taste.md +58 -0
- package/kb/moves/interactive-pricing-calculator.md +59 -0
- package/kb/moves/isometric-illustration-system.md +56 -0
- package/kb/moves/kinetic-variable-type.md +57 -0
- package/kb/moves/konami-secret.md +59 -0
- package/kb/moves/layered-paper-depth.md +56 -0
- package/kb/moves/lightweight-3d-object-hero.md +59 -0
- package/kb/moves/line-engraving-from-image.md +63 -0
- package/kb/moves/link-preview-peek.md +57 -0
- package/kb/moves/live-data-ticker.md +61 -0
- package/kb/moves/made-with-proof.md +51 -0
- package/kb/moves/magnetic-buttons.md +55 -0
- package/kb/moves/marquee-done-right.md +58 -0
- package/kb/moves/moves.yaml +450 -0
- package/kb/moves/museum-painting-backdrop.md +59 -0
- package/kb/moves/one-colour-brand-world.md +56 -0
- package/kb/moves/playful-404.md +58 -0
- package/kb/moves/pointer-highlight-word.md +56 -0
- package/kb/moves/product-in-context.md +56 -0
- package/kb/moves/real-world-data.md +58 -0
- package/kb/moves/referral-reward-reveal.md +59 -0
- package/kb/moves/riso-print-texture.md +57 -0
- package/kb/moves/screenshot-detail-crops.md +56 -0
- package/kb/moves/scroll-progress-chapters.md +57 -0
- package/kb/moves/scroll-scrubbed-product-film.md +62 -0
- package/kb/moves/self-playing-product-demo.md +61 -0
- package/kb/moves/shape-continuity-morph.md +58 -0
- package/kb/moves/sliding-nav-indicator.md +58 -0
- package/kb/moves/sticky-scroll-story.md +56 -0
- package/kb/moves/story-led-long-scroll.md +56 -0
- package/kb/moves/tactile-button.md +63 -0
- package/kb/moves/technical-drawing-lines.md +57 -0
- package/kb/moves/time-of-day-theming.md +56 -0
- package/kb/moves/tiny-game-easter-egg.md +60 -0
- package/kb/moves/type-decode-reveal.md +57 -0
- package/kb/moves/typographic-numeral-hero.md +58 -0
- package/kb/moves/view-transitions-between-pages.md +57 -0
- package/kb/moves/waitlist-position-live.md +60 -0
- package/kb/patterns/app-team-members.md +27 -0
- package/kb/patterns/chat-agent-approvals.md +31 -0
- package/kb/patterns/commerce-product-page.md +34 -0
- package/kb/patterns/dashboard-entity-table.md +37 -0
- package/kb/patterns/dashboard-home-today.md +24 -0
- package/kb/patterns/docs-api-reference.md +31 -0
- package/kb/patterns/marketing-product-led-landing.md +30 -0
- package/kb/patterns/mobile-daily-checklist.md +26 -0
- package/kb/references/index.json +1 -0
- package/kb/references/thumbs/004c5e9072.jpg +0 -0
- package/kb/references/thumbs/008915eb21.jpg +0 -0
- package/kb/references/thumbs/0098cf66c2.jpg +0 -0
- package/kb/references/thumbs/012e61b31f.jpg +0 -0
- package/kb/references/thumbs/014d4e46fc.jpg +0 -0
- package/kb/references/thumbs/01e54f394a.jpg +0 -0
- package/kb/references/thumbs/01e99a579c.jpg +0 -0
- package/kb/references/thumbs/01fd014575.jpg +0 -0
- package/kb/references/thumbs/022778ca72.jpg +0 -0
- package/kb/references/thumbs/02717bf1e1.jpg +0 -0
- package/kb/references/thumbs/02a5cfdbe9.jpg +0 -0
- package/kb/references/thumbs/02c9823f8d.jpg +0 -0
- package/kb/references/thumbs/02f3974613.jpg +0 -0
- package/kb/references/thumbs/032427f1ce.jpg +0 -0
- package/kb/references/thumbs/03ba677d07.jpg +0 -0
- package/kb/references/thumbs/04f2476cfe.jpg +0 -0
- package/kb/references/thumbs/0563e7c52e.jpg +0 -0
- package/kb/references/thumbs/05fa6b8eef.jpg +0 -0
- package/kb/references/thumbs/065bce1517.jpg +0 -0
- package/kb/references/thumbs/06c017f113.jpg +0 -0
- package/kb/references/thumbs/0770e2d8d3.jpg +0 -0
- package/kb/references/thumbs/078a26c4cb.jpg +0 -0
- package/kb/references/thumbs/08679b6e84.jpg +0 -0
- package/kb/references/thumbs/088c45a34c.jpg +0 -0
- package/kb/references/thumbs/089e9fd4e4.jpg +0 -0
- package/kb/references/thumbs/08f773231e.jpg +0 -0
- package/kb/references/thumbs/093ca3e2e3.jpg +0 -0
- package/kb/references/thumbs/0963320f74.jpg +0 -0
- package/kb/references/thumbs/09fc1ded85.jpg +0 -0
- package/kb/references/thumbs/0a368f3963.jpg +0 -0
- package/kb/references/thumbs/0a9e0e5201.jpg +0 -0
- package/kb/references/thumbs/0aace67ee7.jpg +0 -0
- package/kb/references/thumbs/0b61ecf793.jpg +0 -0
- package/kb/references/thumbs/0bde18ae09.jpg +0 -0
- package/kb/references/thumbs/0bf7ee8143.jpg +0 -0
- package/kb/references/thumbs/0ca20a13e0.jpg +0 -0
- package/kb/references/thumbs/0cdc0198c4.jpg +0 -0
- package/kb/references/thumbs/0cf9790b28.jpg +0 -0
- package/kb/references/thumbs/0d0202904b.jpg +0 -0
- package/kb/references/thumbs/0d053aba18.jpg +0 -0
- package/kb/references/thumbs/0d0c2c13d2.jpg +0 -0
- package/kb/references/thumbs/0d30be99b0.jpg +0 -0
- package/kb/references/thumbs/0d503da1b7.jpg +0 -0
- package/kb/references/thumbs/0ddad7b740.jpg +0 -0
- package/kb/references/thumbs/0e0a148101.jpg +0 -0
- package/kb/references/thumbs/0e401b6b75.jpg +0 -0
- package/kb/references/thumbs/0e8f32ba0f.jpg +0 -0
- package/kb/references/thumbs/0ef1966a7d.jpg +0 -0
- package/kb/references/thumbs/0efd416d11.jpg +0 -0
- package/kb/references/thumbs/0f3af263ae.jpg +0 -0
- package/kb/references/thumbs/0f9644c3a5.jpg +0 -0
- package/kb/references/thumbs/1020552737.jpg +0 -0
- package/kb/references/thumbs/1037626587.jpg +0 -0
- package/kb/references/thumbs/10512b7e94.jpg +0 -0
- package/kb/references/thumbs/106dc4a7b5.jpg +0 -0
- package/kb/references/thumbs/108943f6f7.jpg +0 -0
- package/kb/references/thumbs/10a5551d51.jpg +0 -0
- package/kb/references/thumbs/10dd01076c.jpg +0 -0
- package/kb/references/thumbs/11b06e39da.jpg +0 -0
- package/kb/references/thumbs/11baa1ec83.jpg +0 -0
- package/kb/references/thumbs/11bbe12167.jpg +0 -0
- package/kb/references/thumbs/11ca37feb8.jpg +0 -0
- package/kb/references/thumbs/11f14d3f12.jpg +0 -0
- package/kb/references/thumbs/124530ceb5.jpg +0 -0
- package/kb/references/thumbs/1276402336.jpg +0 -0
- package/kb/references/thumbs/1280e5c9d6.jpg +0 -0
- package/kb/references/thumbs/12cac0d172.jpg +0 -0
- package/kb/references/thumbs/138be6623a.jpg +0 -0
- package/kb/references/thumbs/13a0c544d1.jpg +0 -0
- package/kb/references/thumbs/13a32cb94c.jpg +0 -0
- package/kb/references/thumbs/144035d641.jpg +0 -0
- package/kb/references/thumbs/1457e41924.jpg +0 -0
- package/kb/references/thumbs/14972e3a86.jpg +0 -0
- package/kb/references/thumbs/15a47f2e4c.jpg +0 -0
- package/kb/references/thumbs/15aa15d22e.jpg +0 -0
- package/kb/references/thumbs/160dcd24b7.jpg +0 -0
- package/kb/references/thumbs/1610978529.jpg +0 -0
- package/kb/references/thumbs/16db30ba37.jpg +0 -0
- package/kb/references/thumbs/16f19ae4f3.jpg +0 -0
- package/kb/references/thumbs/16f758b03f.jpg +0 -0
- package/kb/references/thumbs/1748e5b751.jpg +0 -0
- package/kb/references/thumbs/175d0b0e69.jpg +0 -0
- package/kb/references/thumbs/178f571a36.jpg +0 -0
- package/kb/references/thumbs/17c43dc025.jpg +0 -0
- package/kb/references/thumbs/17c7f05b50.jpg +0 -0
- package/kb/references/thumbs/17f97e61dd.jpg +0 -0
- package/kb/references/thumbs/1804e17365.jpg +0 -0
- package/kb/references/thumbs/195c162ed1.jpg +0 -0
- package/kb/references/thumbs/19e3699c29.jpg +0 -0
- package/kb/references/thumbs/1a48e0a4d5.jpg +0 -0
- package/kb/references/thumbs/1a6cda265e.jpg +0 -0
- package/kb/references/thumbs/1a7e012091.jpg +0 -0
- package/kb/references/thumbs/1a9173a172.jpg +0 -0
- package/kb/references/thumbs/1b34a6b4d2.jpg +0 -0
- package/kb/references/thumbs/1b5284f3b2.jpg +0 -0
- package/kb/references/thumbs/1b93fbd6d3.jpg +0 -0
- package/kb/references/thumbs/1c6728fef6.jpg +0 -0
- package/kb/references/thumbs/1c6f101618.jpg +0 -0
- package/kb/references/thumbs/1cf7011a94.jpg +0 -0
- package/kb/references/thumbs/1d1769e539.jpg +0 -0
- package/kb/references/thumbs/1d1fd23199.jpg +0 -0
- package/kb/references/thumbs/1d7b6602ac.jpg +0 -0
- package/kb/references/thumbs/1dbbc61b9e.jpg +0 -0
- package/kb/references/thumbs/1dbdd6d21d.jpg +0 -0
- package/kb/references/thumbs/1dd873744b.jpg +0 -0
- package/kb/references/thumbs/1df4dd7cf9.jpg +0 -0
- package/kb/references/thumbs/1ece8c35b8.jpg +0 -0
- package/kb/references/thumbs/1f0e5b9aa4.jpg +0 -0
- package/kb/references/thumbs/1f1419651b.jpg +0 -0
- package/kb/references/thumbs/1f2a6da92d.jpg +0 -0
- package/kb/references/thumbs/1f651f33c0.jpg +0 -0
- package/kb/references/thumbs/1f8b697d18.jpg +0 -0
- package/kb/references/thumbs/1fee3824cd.jpg +0 -0
- package/kb/references/thumbs/1ff7757853.jpg +0 -0
- package/kb/references/thumbs/2043182f01.jpg +0 -0
- package/kb/references/thumbs/2059dabcd5.jpg +0 -0
- package/kb/references/thumbs/209d9dbb95.jpg +0 -0
- package/kb/references/thumbs/20d8923554.jpg +0 -0
- package/kb/references/thumbs/210dd3b671.jpg +0 -0
- package/kb/references/thumbs/2120719116.jpg +0 -0
- package/kb/references/thumbs/21a7384429.jpg +0 -0
- package/kb/references/thumbs/225f187391.jpg +0 -0
- package/kb/references/thumbs/230caf7dd2.jpg +0 -0
- package/kb/references/thumbs/235afad355.jpg +0 -0
- package/kb/references/thumbs/2378066687.jpg +0 -0
- package/kb/references/thumbs/241faf68a1.jpg +0 -0
- package/kb/references/thumbs/24d9f1a9b9.jpg +0 -0
- package/kb/references/thumbs/2505c8b9a0.jpg +0 -0
- package/kb/references/thumbs/25593638ca.jpg +0 -0
- package/kb/references/thumbs/25dd454f18.jpg +0 -0
- package/kb/references/thumbs/2602e123e2.jpg +0 -0
- package/kb/references/thumbs/26095c0b11.jpg +0 -0
- package/kb/references/thumbs/26260d6238.jpg +0 -0
- package/kb/references/thumbs/26bba21836.jpg +0 -0
- package/kb/references/thumbs/26bde3520b.jpg +0 -0
- package/kb/references/thumbs/272e22067c.jpg +0 -0
- package/kb/references/thumbs/27421b3226.jpg +0 -0
- package/kb/references/thumbs/2769ebca41.jpg +0 -0
- package/kb/references/thumbs/27e2f6e8b0.jpg +0 -0
- package/kb/references/thumbs/28432ba373.jpg +0 -0
- package/kb/references/thumbs/2846626f19.jpg +0 -0
- package/kb/references/thumbs/28750e821e.jpg +0 -0
- package/kb/references/thumbs/289481230f.jpg +0 -0
- package/kb/references/thumbs/2897967408.jpg +0 -0
- package/kb/references/thumbs/28c0a5fa17.jpg +0 -0
- package/kb/references/thumbs/28c181fba5.jpg +0 -0
- package/kb/references/thumbs/29806f539f.jpg +0 -0
- package/kb/references/thumbs/2997f56ee7.jpg +0 -0
- package/kb/references/thumbs/29b34a10fb.jpg +0 -0
- package/kb/references/thumbs/29bd78cdb4.jpg +0 -0
- package/kb/references/thumbs/29c8c6c22a.jpg +0 -0
- package/kb/references/thumbs/2ac23f7fae.jpg +0 -0
- package/kb/references/thumbs/2b76e13f79.jpg +0 -0
- package/kb/references/thumbs/2b84226479.jpg +0 -0
- package/kb/references/thumbs/2bf2dbf737.jpg +0 -0
- package/kb/references/thumbs/2bf89abbf6.jpg +0 -0
- package/kb/references/thumbs/2c562cd534.jpg +0 -0
- package/kb/references/thumbs/2cfe9d48c4.jpg +0 -0
- package/kb/references/thumbs/2d49f19b27.jpg +0 -0
- package/kb/references/thumbs/2dc8670da7.jpg +0 -0
- package/kb/references/thumbs/2de947c469.jpg +0 -0
- package/kb/references/thumbs/2e075ca79f.jpg +0 -0
- package/kb/references/thumbs/2eb0820e6b.jpg +0 -0
- package/kb/references/thumbs/2ec56a9dc0.jpg +0 -0
- package/kb/references/thumbs/30bb4ad607.jpg +0 -0
- package/kb/references/thumbs/30d19b8444.jpg +0 -0
- package/kb/references/thumbs/3173c71d73.jpg +0 -0
- package/kb/references/thumbs/31e59e4518.jpg +0 -0
- package/kb/references/thumbs/322b8960e8.jpg +0 -0
- package/kb/references/thumbs/325c9be6f4.jpg +0 -0
- package/kb/references/thumbs/3273338982.jpg +0 -0
- package/kb/references/thumbs/32f8387f38.jpg +0 -0
- package/kb/references/thumbs/332f6b74c3.jpg +0 -0
- package/kb/references/thumbs/334b146b6a.jpg +0 -0
- package/kb/references/thumbs/339abd60e4.jpg +0 -0
- package/kb/references/thumbs/33e88ec295.jpg +0 -0
- package/kb/references/thumbs/340931b5d4.jpg +0 -0
- package/kb/references/thumbs/34165a93bd.jpg +0 -0
- package/kb/references/thumbs/34d0575dd7.jpg +0 -0
- package/kb/references/thumbs/3549e75f0a.jpg +0 -0
- package/kb/references/thumbs/35827f1561.jpg +0 -0
- package/kb/references/thumbs/37c50280ec.jpg +0 -0
- package/kb/references/thumbs/37e66ecf11.jpg +0 -0
- package/kb/references/thumbs/3841a04fdc.jpg +0 -0
- package/kb/references/thumbs/38490c088f.jpg +0 -0
- package/kb/references/thumbs/3850319e9f.jpg +0 -0
- package/kb/references/thumbs/3856a64166.jpg +0 -0
- package/kb/references/thumbs/3881f211c2.jpg +0 -0
- package/kb/references/thumbs/38c7dde2f3.jpg +0 -0
- package/kb/references/thumbs/38ce9e486c.jpg +0 -0
- package/kb/references/thumbs/390ea8e01b.jpg +0 -0
- package/kb/references/thumbs/391b7fc27c.jpg +0 -0
- package/kb/references/thumbs/395f7214dc.jpg +0 -0
- package/kb/references/thumbs/39e81a5db2.jpg +0 -0
- package/kb/references/thumbs/3a67c8d655.jpg +0 -0
- package/kb/references/thumbs/3a89c25e3b.jpg +0 -0
- package/kb/references/thumbs/3aa0837542.jpg +0 -0
- package/kb/references/thumbs/3aae18aa8a.jpg +0 -0
- package/kb/references/thumbs/3bdbe767db.jpg +0 -0
- package/kb/references/thumbs/3c0616fc7f.jpg +0 -0
- package/kb/references/thumbs/3c18e9db1d.jpg +0 -0
- package/kb/references/thumbs/3c5a14076c.jpg +0 -0
- package/kb/references/thumbs/3ca9ec15c6.jpg +0 -0
- package/kb/references/thumbs/3d7756fd35.jpg +0 -0
- package/kb/references/thumbs/3dd45bd33d.jpg +0 -0
- package/kb/references/thumbs/3de72d5414.jpg +0 -0
- package/kb/references/thumbs/3dede597af.jpg +0 -0
- package/kb/references/thumbs/3ea948619e.jpg +0 -0
- package/kb/references/thumbs/402c12054c.jpg +0 -0
- package/kb/references/thumbs/403ab4af90.jpg +0 -0
- package/kb/references/thumbs/40773a8c63.jpg +0 -0
- package/kb/references/thumbs/407d9583db.jpg +0 -0
- package/kb/references/thumbs/415dc1d84c.jpg +0 -0
- package/kb/references/thumbs/420b676a4f.jpg +0 -0
- package/kb/references/thumbs/42a1ee85eb.jpg +0 -0
- package/kb/references/thumbs/43059221aa.jpg +0 -0
- package/kb/references/thumbs/432fa0d22c.jpg +0 -0
- package/kb/references/thumbs/43826f20e3.jpg +0 -0
- package/kb/references/thumbs/43ac55c98a.jpg +0 -0
- package/kb/references/thumbs/43d098f3c3.jpg +0 -0
- package/kb/references/thumbs/4449d80c2c.jpg +0 -0
- package/kb/references/thumbs/44625727dc.jpg +0 -0
- package/kb/references/thumbs/4482bb87a1.jpg +0 -0
- package/kb/references/thumbs/44b078acdc.jpg +0 -0
- package/kb/references/thumbs/44d0305850.jpg +0 -0
- package/kb/references/thumbs/456bb6b59e.jpg +0 -0
- package/kb/references/thumbs/45df73ce48.jpg +0 -0
- package/kb/references/thumbs/45edb45d87.jpg +0 -0
- package/kb/references/thumbs/4671d57cd5.jpg +0 -0
- package/kb/references/thumbs/46cc108518.jpg +0 -0
- package/kb/references/thumbs/470022e614.jpg +0 -0
- package/kb/references/thumbs/4719a669ce.jpg +0 -0
- package/kb/references/thumbs/47404f5ad4.jpg +0 -0
- package/kb/references/thumbs/479d3eb977.jpg +0 -0
- package/kb/references/thumbs/479ed92ceb.jpg +0 -0
- package/kb/references/thumbs/47baed50c7.jpg +0 -0
- package/kb/references/thumbs/47fdcfd7b0.jpg +0 -0
- package/kb/references/thumbs/48fd5e94c5.jpg +0 -0
- package/kb/references/thumbs/493807917b.jpg +0 -0
- package/kb/references/thumbs/49a1c67293.jpg +0 -0
- package/kb/references/thumbs/49e2d7fafe.jpg +0 -0
- package/kb/references/thumbs/49f540fcb6.jpg +0 -0
- package/kb/references/thumbs/4a67ec4028.jpg +0 -0
- package/kb/references/thumbs/4a93275b04.jpg +0 -0
- package/kb/references/thumbs/4aae6f52da.jpg +0 -0
- package/kb/references/thumbs/4b1bae66bd.jpg +0 -0
- package/kb/references/thumbs/4b75da15a9.jpg +0 -0
- package/kb/references/thumbs/4b77789b88.jpg +0 -0
- package/kb/references/thumbs/4bc2f3f3a4.jpg +0 -0
- package/kb/references/thumbs/4c48f27b88.jpg +0 -0
- package/kb/references/thumbs/4c52bd8bfb.jpg +0 -0
- package/kb/references/thumbs/4c9b4acc60.jpg +0 -0
- package/kb/references/thumbs/4cbf0752d4.jpg +0 -0
- package/kb/references/thumbs/4cd2672517.jpg +0 -0
- package/kb/references/thumbs/4dd22a8181.jpg +0 -0
- package/kb/references/thumbs/4ee3447314.jpg +0 -0
- package/kb/references/thumbs/4ef29c8144.jpg +0 -0
- package/kb/references/thumbs/4f82fadfd6.jpg +0 -0
- package/kb/references/thumbs/4fc9b643d8.jpg +0 -0
- package/kb/references/thumbs/50549524b0.jpg +0 -0
- package/kb/references/thumbs/509a615883.jpg +0 -0
- package/kb/references/thumbs/50c03ef855.jpg +0 -0
- package/kb/references/thumbs/50cf9acad6.jpg +0 -0
- package/kb/references/thumbs/51131b025c.jpg +0 -0
- package/kb/references/thumbs/51da1124f0.jpg +0 -0
- package/kb/references/thumbs/524d5e7288.jpg +0 -0
- package/kb/references/thumbs/5251247c81.jpg +0 -0
- package/kb/references/thumbs/526b91b7ec.jpg +0 -0
- package/kb/references/thumbs/52f02f6c2e.jpg +0 -0
- package/kb/references/thumbs/530ab530dc.jpg +0 -0
- package/kb/references/thumbs/5335ee4404.jpg +0 -0
- package/kb/references/thumbs/5385b90939.jpg +0 -0
- package/kb/references/thumbs/53c54654cc.jpg +0 -0
- package/kb/references/thumbs/5420794c6c.jpg +0 -0
- package/kb/references/thumbs/542a9dce8b.jpg +0 -0
- package/kb/references/thumbs/5571530a5f.jpg +0 -0
- package/kb/references/thumbs/56cc68d804.jpg +0 -0
- package/kb/references/thumbs/577b7f7c44.jpg +0 -0
- package/kb/references/thumbs/57adf8f1bb.jpg +0 -0
- package/kb/references/thumbs/57c5f5e3a6.jpg +0 -0
- package/kb/references/thumbs/57ffe4e839.jpg +0 -0
- package/kb/references/thumbs/5817dfc7d6.jpg +0 -0
- package/kb/references/thumbs/581a182a7a.jpg +0 -0
- package/kb/references/thumbs/58807679c8.jpg +0 -0
- package/kb/references/thumbs/589a1d9111.jpg +0 -0
- package/kb/references/thumbs/59167391ab.jpg +0 -0
- package/kb/references/thumbs/5a70420166.jpg +0 -0
- package/kb/references/thumbs/5b10df1b8d.jpg +0 -0
- package/kb/references/thumbs/5b7a712fdb.jpg +0 -0
- package/kb/references/thumbs/5bc46b92ad.jpg +0 -0
- package/kb/references/thumbs/5c0546a120.jpg +0 -0
- package/kb/references/thumbs/5c2b6125a8.jpg +0 -0
- package/kb/references/thumbs/5c536b9e42.jpg +0 -0
- package/kb/references/thumbs/5c8e441d30.jpg +0 -0
- package/kb/references/thumbs/5cb6f1baa5.jpg +0 -0
- package/kb/references/thumbs/5ce6c1f21e.jpg +0 -0
- package/kb/references/thumbs/5cef052c0a.jpg +0 -0
- package/kb/references/thumbs/5d08438209.jpg +0 -0
- package/kb/references/thumbs/5d0f9af9b0.jpg +0 -0
- package/kb/references/thumbs/5d300ed332.jpg +0 -0
- package/kb/references/thumbs/5d708a4794.jpg +0 -0
- package/kb/references/thumbs/5de8826a98.jpg +0 -0
- package/kb/references/thumbs/5df7bff22c.jpg +0 -0
- package/kb/references/thumbs/5e087d0f00.jpg +0 -0
- package/kb/references/thumbs/5e44e70ca0.jpg +0 -0
- package/kb/references/thumbs/5eff5d80ce.jpg +0 -0
- package/kb/references/thumbs/5f015c96b1.jpg +0 -0
- package/kb/references/thumbs/5f3289b7c4.jpg +0 -0
- package/kb/references/thumbs/5f830c40eb.jpg +0 -0
- package/kb/references/thumbs/60c4c3527b.jpg +0 -0
- package/kb/references/thumbs/60e9e594dd.jpg +0 -0
- package/kb/references/thumbs/615421d7be.jpg +0 -0
- package/kb/references/thumbs/6176e4004f.jpg +0 -0
- package/kb/references/thumbs/61f0fe5e06.jpg +0 -0
- package/kb/references/thumbs/6213785db4.jpg +0 -0
- package/kb/references/thumbs/62a670ae09.jpg +0 -0
- package/kb/references/thumbs/63cc12981b.jpg +0 -0
- package/kb/references/thumbs/641f15cc71.jpg +0 -0
- package/kb/references/thumbs/642ab2081d.jpg +0 -0
- package/kb/references/thumbs/644a59bf6e.jpg +0 -0
- package/kb/references/thumbs/644da8a8e3.jpg +0 -0
- package/kb/references/thumbs/6458986897.jpg +0 -0
- package/kb/references/thumbs/64cfbd7b93.jpg +0 -0
- package/kb/references/thumbs/661a57686a.jpg +0 -0
- package/kb/references/thumbs/66355a813a.jpg +0 -0
- package/kb/references/thumbs/664396dd44.jpg +0 -0
- package/kb/references/thumbs/66d832d65f.jpg +0 -0
- package/kb/references/thumbs/66de9e9833.jpg +0 -0
- package/kb/references/thumbs/6750964fd9.jpg +0 -0
- package/kb/references/thumbs/67c7164832.jpg +0 -0
- package/kb/references/thumbs/681600b6cd.jpg +0 -0
- package/kb/references/thumbs/682e75afe4.jpg +0 -0
- package/kb/references/thumbs/69274bc952.jpg +0 -0
- package/kb/references/thumbs/696ec08c52.jpg +0 -0
- package/kb/references/thumbs/69760111cc.jpg +0 -0
- package/kb/references/thumbs/697e32664f.jpg +0 -0
- package/kb/references/thumbs/69df92544b.jpg +0 -0
- package/kb/references/thumbs/69e48c5229.jpg +0 -0
- package/kb/references/thumbs/6a5fb75de1.jpg +0 -0
- package/kb/references/thumbs/6a7389e472.jpg +0 -0
- package/kb/references/thumbs/6a9b041e02.jpg +0 -0
- package/kb/references/thumbs/6ab2fa93ee.jpg +0 -0
- package/kb/references/thumbs/6ae3400319.jpg +0 -0
- package/kb/references/thumbs/6b21344bf3.jpg +0 -0
- package/kb/references/thumbs/6bd1b67a8a.jpg +0 -0
- package/kb/references/thumbs/6c99156c4f.jpg +0 -0
- package/kb/references/thumbs/6cc9b65384.jpg +0 -0
- package/kb/references/thumbs/6d15830a73.jpg +0 -0
- package/kb/references/thumbs/6d4c33d180.jpg +0 -0
- package/kb/references/thumbs/6e36815799.jpg +0 -0
- package/kb/references/thumbs/6eddb9cbfc.jpg +0 -0
- package/kb/references/thumbs/6f97968a7c.jpg +0 -0
- package/kb/references/thumbs/6fa0716a7d.jpg +0 -0
- package/kb/references/thumbs/6facd57184.jpg +0 -0
- package/kb/references/thumbs/6fd57b785a.jpg +0 -0
- package/kb/references/thumbs/700b3cb185.jpg +0 -0
- package/kb/references/thumbs/71197443fa.jpg +0 -0
- package/kb/references/thumbs/72082bc9ee.jpg +0 -0
- package/kb/references/thumbs/72453db479.jpg +0 -0
- package/kb/references/thumbs/72cd64d500.jpg +0 -0
- package/kb/references/thumbs/72d1e75283.jpg +0 -0
- package/kb/references/thumbs/72e13f7f5b.jpg +0 -0
- package/kb/references/thumbs/7459f8e644.jpg +0 -0
- package/kb/references/thumbs/7470d55c79.jpg +0 -0
- package/kb/references/thumbs/74c468f02a.jpg +0 -0
- package/kb/references/thumbs/74fed6eb77.jpg +0 -0
- package/kb/references/thumbs/756e05080d.jpg +0 -0
- package/kb/references/thumbs/75df7e5f49.jpg +0 -0
- package/kb/references/thumbs/76226da6ef.jpg +0 -0
- package/kb/references/thumbs/76a34aa056.jpg +0 -0
- package/kb/references/thumbs/76c7076589.jpg +0 -0
- package/kb/references/thumbs/76cccc396c.jpg +0 -0
- package/kb/references/thumbs/774654789f.jpg +0 -0
- package/kb/references/thumbs/7746cc494d.jpg +0 -0
- package/kb/references/thumbs/7766e36aa3.jpg +0 -0
- package/kb/references/thumbs/78049331ef.jpg +0 -0
- package/kb/references/thumbs/78808a0ca5.jpg +0 -0
- package/kb/references/thumbs/7890b0a310.jpg +0 -0
- package/kb/references/thumbs/78911975e6.jpg +0 -0
- package/kb/references/thumbs/78d289d5a0.jpg +0 -0
- package/kb/references/thumbs/794126267e.jpg +0 -0
- package/kb/references/thumbs/7976eb9025.jpg +0 -0
- package/kb/references/thumbs/798519ec7c.jpg +0 -0
- package/kb/references/thumbs/7a6cc5eecc.jpg +0 -0
- package/kb/references/thumbs/7ac8a7cd4a.jpg +0 -0
- package/kb/references/thumbs/7b1341d61d.jpg +0 -0
- package/kb/references/thumbs/7b9c4031e3.jpg +0 -0
- package/kb/references/thumbs/7ba5ad3779.jpg +0 -0
- package/kb/references/thumbs/7be6eb2bd0.jpg +0 -0
- package/kb/references/thumbs/7c30864f5d.jpg +0 -0
- package/kb/references/thumbs/7c379b5e17.jpg +0 -0
- package/kb/references/thumbs/7c4050eb02.jpg +0 -0
- package/kb/references/thumbs/7ca47b3221.jpg +0 -0
- package/kb/references/thumbs/7d43516bd7.jpg +0 -0
- package/kb/references/thumbs/7da9dbb98a.jpg +0 -0
- package/kb/references/thumbs/7ddda8f57c.jpg +0 -0
- package/kb/references/thumbs/7ece6d215c.jpg +0 -0
- package/kb/references/thumbs/7eebf029de.jpg +0 -0
- package/kb/references/thumbs/7f45483c15.jpg +0 -0
- package/kb/references/thumbs/7fde06eaa5.jpg +0 -0
- package/kb/references/thumbs/80407b97e9.jpg +0 -0
- package/kb/references/thumbs/80f0a6cf4b.jpg +0 -0
- package/kb/references/thumbs/8118b451b8.jpg +0 -0
- package/kb/references/thumbs/816baed4a8.jpg +0 -0
- package/kb/references/thumbs/817d2d15d9.jpg +0 -0
- package/kb/references/thumbs/8260cb430d.jpg +0 -0
- package/kb/references/thumbs/827b562899.jpg +0 -0
- package/kb/references/thumbs/8293cf1e92.jpg +0 -0
- package/kb/references/thumbs/8294653169.jpg +0 -0
- package/kb/references/thumbs/83061f871f.jpg +0 -0
- package/kb/references/thumbs/833df778ca.jpg +0 -0
- package/kb/references/thumbs/83d3acaafc.jpg +0 -0
- package/kb/references/thumbs/844c6efeff.jpg +0 -0
- package/kb/references/thumbs/84563d482a.jpg +0 -0
- package/kb/references/thumbs/848082dd94.jpg +0 -0
- package/kb/references/thumbs/8494b1da94.jpg +0 -0
- package/kb/references/thumbs/84b71014be.jpg +0 -0
- package/kb/references/thumbs/84be4a5f3c.jpg +0 -0
- package/kb/references/thumbs/84fd0fd25a.jpg +0 -0
- package/kb/references/thumbs/853e488e22.jpg +0 -0
- package/kb/references/thumbs/858c91585d.jpg +0 -0
- package/kb/references/thumbs/85903e8fe9.jpg +0 -0
- package/kb/references/thumbs/86597d43fd.jpg +0 -0
- package/kb/references/thumbs/866eb99500.jpg +0 -0
- package/kb/references/thumbs/86ac050340.jpg +0 -0
- package/kb/references/thumbs/86afec7b64.jpg +0 -0
- package/kb/references/thumbs/87238127f5.jpg +0 -0
- package/kb/references/thumbs/87321df792.jpg +0 -0
- package/kb/references/thumbs/87460f70cd.jpg +0 -0
- package/kb/references/thumbs/8770dfeaec.jpg +0 -0
- package/kb/references/thumbs/8798451a8c.jpg +0 -0
- package/kb/references/thumbs/87da1f34a3.jpg +0 -0
- package/kb/references/thumbs/882cdf8c05.jpg +0 -0
- package/kb/references/thumbs/8839f4106f.jpg +0 -0
- package/kb/references/thumbs/8844455212.jpg +0 -0
- package/kb/references/thumbs/88abba0497.jpg +0 -0
- package/kb/references/thumbs/88b372435d.jpg +0 -0
- package/kb/references/thumbs/88bd4f35fa.jpg +0 -0
- package/kb/references/thumbs/88c71a075e.jpg +0 -0
- package/kb/references/thumbs/892e5f048e.jpg +0 -0
- package/kb/references/thumbs/893cc8e920.jpg +0 -0
- package/kb/references/thumbs/896c198814.jpg +0 -0
- package/kb/references/thumbs/8a8e22f756.jpg +0 -0
- package/kb/references/thumbs/8a9d8a35cb.jpg +0 -0
- package/kb/references/thumbs/8ab1d67fec.jpg +0 -0
- package/kb/references/thumbs/8ab201fe12.jpg +0 -0
- package/kb/references/thumbs/8ac372c102.jpg +0 -0
- package/kb/references/thumbs/8b15736d62.jpg +0 -0
- package/kb/references/thumbs/8b1d8d6a05.jpg +0 -0
- package/kb/references/thumbs/8bb6050e20.jpg +0 -0
- package/kb/references/thumbs/8c6c9d1577.jpg +0 -0
- package/kb/references/thumbs/8d337851e0.jpg +0 -0
- package/kb/references/thumbs/8d44b33cc5.jpg +0 -0
- package/kb/references/thumbs/8d4536ff3b.jpg +0 -0
- package/kb/references/thumbs/8d9b99454a.jpg +0 -0
- package/kb/references/thumbs/8dda2303ff.jpg +0 -0
- package/kb/references/thumbs/8dec722d62.jpg +0 -0
- package/kb/references/thumbs/8e0ea4ca74.jpg +0 -0
- package/kb/references/thumbs/8ebba84d69.jpg +0 -0
- package/kb/references/thumbs/8ef09140c0.jpg +0 -0
- package/kb/references/thumbs/8f2928a1b0.jpg +0 -0
- package/kb/references/thumbs/8f88f9ddba.jpg +0 -0
- package/kb/references/thumbs/8fa4451009.jpg +0 -0
- package/kb/references/thumbs/90109b0e02.jpg +0 -0
- package/kb/references/thumbs/90e854e5c9.jpg +0 -0
- package/kb/references/thumbs/914e79f893.jpg +0 -0
- package/kb/references/thumbs/9161369197.jpg +0 -0
- package/kb/references/thumbs/9165c87d6f.jpg +0 -0
- package/kb/references/thumbs/9193f6558a.jpg +0 -0
- package/kb/references/thumbs/91ac7df877.jpg +0 -0
- package/kb/references/thumbs/9216bd4931.jpg +0 -0
- package/kb/references/thumbs/922ae8a26a.jpg +0 -0
- package/kb/references/thumbs/92a70e6867.jpg +0 -0
- package/kb/references/thumbs/92c77ece22.jpg +0 -0
- package/kb/references/thumbs/92e5914fbf.jpg +0 -0
- package/kb/references/thumbs/92ee36419a.jpg +0 -0
- package/kb/references/thumbs/94153a60b0.jpg +0 -0
- package/kb/references/thumbs/9449666640.jpg +0 -0
- package/kb/references/thumbs/944be6a646.jpg +0 -0
- package/kb/references/thumbs/945831476e.jpg +0 -0
- package/kb/references/thumbs/94c1af82f4.jpg +0 -0
- package/kb/references/thumbs/9599d6d589.jpg +0 -0
- package/kb/references/thumbs/960710f4cf.jpg +0 -0
- package/kb/references/thumbs/9608f12d64.jpg +0 -0
- package/kb/references/thumbs/962dabfaa0.jpg +0 -0
- package/kb/references/thumbs/965a3a95c6.jpg +0 -0
- package/kb/references/thumbs/9672ed5ae4.jpg +0 -0
- package/kb/references/thumbs/96891ae9c1.jpg +0 -0
- package/kb/references/thumbs/96e1907c99.jpg +0 -0
- package/kb/references/thumbs/96f25b6578.jpg +0 -0
- package/kb/references/thumbs/97211df9ae.jpg +0 -0
- package/kb/references/thumbs/9769d763a5.jpg +0 -0
- package/kb/references/thumbs/9792bd6d05.jpg +0 -0
- package/kb/references/thumbs/97d2837e3e.jpg +0 -0
- package/kb/references/thumbs/97d90d1d85.jpg +0 -0
- package/kb/references/thumbs/97fcd5774a.jpg +0 -0
- package/kb/references/thumbs/980f68564e.jpg +0 -0
- package/kb/references/thumbs/98511fb393.jpg +0 -0
- package/kb/references/thumbs/98f8fa694d.jpg +0 -0
- package/kb/references/thumbs/9a42c6bb97.jpg +0 -0
- package/kb/references/thumbs/9ab3600a06.jpg +0 -0
- package/kb/references/thumbs/9ab48d9130.jpg +0 -0
- package/kb/references/thumbs/9ad519197d.jpg +0 -0
- package/kb/references/thumbs/9b1382c657.jpg +0 -0
- package/kb/references/thumbs/9b6cc1e077.jpg +0 -0
- package/kb/references/thumbs/9beede8480.jpg +0 -0
- package/kb/references/thumbs/9bf8976952.jpg +0 -0
- package/kb/references/thumbs/9cace7b75a.jpg +0 -0
- package/kb/references/thumbs/9cdcc5745e.jpg +0 -0
- package/kb/references/thumbs/9d0b269074.jpg +0 -0
- package/kb/references/thumbs/9d41788b48.jpg +0 -0
- package/kb/references/thumbs/9d475bd6af.jpg +0 -0
- package/kb/references/thumbs/9e6bc543d0.jpg +0 -0
- package/kb/references/thumbs/9ed0e0a206.jpg +0 -0
- package/kb/references/thumbs/9ef538de13.jpg +0 -0
- package/kb/references/thumbs/9efc373ab4.jpg +0 -0
- package/kb/references/thumbs/9f4a939fa5.jpg +0 -0
- package/kb/references/thumbs/9f8d12d7b9.jpg +0 -0
- package/kb/references/thumbs/9fd5e3efa7.jpg +0 -0
- package/kb/references/thumbs/a0a9b9c572.jpg +0 -0
- package/kb/references/thumbs/a29ca9b185.jpg +0 -0
- package/kb/references/thumbs/a2a42884af.jpg +0 -0
- package/kb/references/thumbs/a2f5064e34.jpg +0 -0
- package/kb/references/thumbs/a3112ce672.jpg +0 -0
- package/kb/references/thumbs/a3437736d1.jpg +0 -0
- package/kb/references/thumbs/a372667e76.jpg +0 -0
- package/kb/references/thumbs/a39bae94e9.jpg +0 -0
- package/kb/references/thumbs/a3fc75d94c.jpg +0 -0
- package/kb/references/thumbs/a440487631.jpg +0 -0
- package/kb/references/thumbs/a4993d5fb5.jpg +0 -0
- package/kb/references/thumbs/a500476a86.jpg +0 -0
- package/kb/references/thumbs/a55506bf46.jpg +0 -0
- package/kb/references/thumbs/a59a5f9843.jpg +0 -0
- package/kb/references/thumbs/a5bce0eede.jpg +0 -0
- package/kb/references/thumbs/a5d921e1f0.jpg +0 -0
- package/kb/references/thumbs/a5e19d4637.jpg +0 -0
- package/kb/references/thumbs/a5f92b97d5.jpg +0 -0
- package/kb/references/thumbs/a6562c210a.jpg +0 -0
- package/kb/references/thumbs/a6f61a8d09.jpg +0 -0
- package/kb/references/thumbs/a719fdf663.jpg +0 -0
- package/kb/references/thumbs/a724e5442f.jpg +0 -0
- package/kb/references/thumbs/a852b4319f.jpg +0 -0
- package/kb/references/thumbs/a896c08448.jpg +0 -0
- package/kb/references/thumbs/a8d190a4b8.jpg +0 -0
- package/kb/references/thumbs/a8dcdd57d7.jpg +0 -0
- package/kb/references/thumbs/a951347e18.jpg +0 -0
- package/kb/references/thumbs/a9a1a0bf7d.jpg +0 -0
- package/kb/references/thumbs/a9b72986a8.jpg +0 -0
- package/kb/references/thumbs/aa11555ba8.jpg +0 -0
- package/kb/references/thumbs/aa4aab9093.jpg +0 -0
- package/kb/references/thumbs/aa89b96658.jpg +0 -0
- package/kb/references/thumbs/aaeb3739b6.jpg +0 -0
- package/kb/references/thumbs/ab25a608ec.jpg +0 -0
- package/kb/references/thumbs/ab34b62268.jpg +0 -0
- package/kb/references/thumbs/ab3b0217bb.jpg +0 -0
- package/kb/references/thumbs/ac70c04afb.jpg +0 -0
- package/kb/references/thumbs/ace0879117.jpg +0 -0
- package/kb/references/thumbs/ad0515ae55.jpg +0 -0
- package/kb/references/thumbs/ad66b25b47.jpg +0 -0
- package/kb/references/thumbs/ad68229d2f.jpg +0 -0
- package/kb/references/thumbs/add6480693.jpg +0 -0
- package/kb/references/thumbs/ae5b8c3b8c.jpg +0 -0
- package/kb/references/thumbs/ae81247b47.jpg +0 -0
- package/kb/references/thumbs/af8aa54379.jpg +0 -0
- package/kb/references/thumbs/afa80dedd4.jpg +0 -0
- package/kb/references/thumbs/afe04d730f.jpg +0 -0
- package/kb/references/thumbs/b09a7dc315.jpg +0 -0
- package/kb/references/thumbs/b0c02629f6.jpg +0 -0
- package/kb/references/thumbs/b1cb4f91de.jpg +0 -0
- package/kb/references/thumbs/b1d4c13c92.jpg +0 -0
- package/kb/references/thumbs/b20eef86db.jpg +0 -0
- package/kb/references/thumbs/b3136ccdde.jpg +0 -0
- package/kb/references/thumbs/b3f5e8d7dd.jpg +0 -0
- package/kb/references/thumbs/b44adb81c9.jpg +0 -0
- package/kb/references/thumbs/b457a5894b.jpg +0 -0
- package/kb/references/thumbs/b461281e0f.jpg +0 -0
- package/kb/references/thumbs/b4942644f0.jpg +0 -0
- package/kb/references/thumbs/b49f8eccad.jpg +0 -0
- package/kb/references/thumbs/b56c69be23.jpg +0 -0
- package/kb/references/thumbs/b59786b33c.jpg +0 -0
- package/kb/references/thumbs/b5d368ce5a.jpg +0 -0
- package/kb/references/thumbs/b5eb442406.jpg +0 -0
- package/kb/references/thumbs/b7fdabf4ab.jpg +0 -0
- package/kb/references/thumbs/b88ee8d235.jpg +0 -0
- package/kb/references/thumbs/b8a4e5be8a.jpg +0 -0
- package/kb/references/thumbs/b8c85b661c.jpg +0 -0
- package/kb/references/thumbs/ba1b8e7435.jpg +0 -0
- package/kb/references/thumbs/ba9a593eed.jpg +0 -0
- package/kb/references/thumbs/baa7afc201.jpg +0 -0
- package/kb/references/thumbs/baf74398f7.jpg +0 -0
- package/kb/references/thumbs/bb3e947c10.jpg +0 -0
- package/kb/references/thumbs/bb4c1bb7c1.jpg +0 -0
- package/kb/references/thumbs/bbaa25cc8a.jpg +0 -0
- package/kb/references/thumbs/bc7e7f88cc.jpg +0 -0
- package/kb/references/thumbs/bc9d5b58f5.jpg +0 -0
- package/kb/references/thumbs/bcc99a51f7.jpg +0 -0
- package/kb/references/thumbs/bce13dd1c1.jpg +0 -0
- package/kb/references/thumbs/bd079a6130.jpg +0 -0
- package/kb/references/thumbs/bd2d70dda7.jpg +0 -0
- package/kb/references/thumbs/bd5895c5f2.jpg +0 -0
- package/kb/references/thumbs/bde8e31d62.jpg +0 -0
- package/kb/references/thumbs/be084e78f3.jpg +0 -0
- package/kb/references/thumbs/be94f170c8.jpg +0 -0
- package/kb/references/thumbs/bed33654f7.jpg +0 -0
- package/kb/references/thumbs/beeb9a0c18.jpg +0 -0
- package/kb/references/thumbs/bef42094dc.jpg +0 -0
- package/kb/references/thumbs/bf625496fa.jpg +0 -0
- package/kb/references/thumbs/bf771f1398.jpg +0 -0
- package/kb/references/thumbs/c0ddefa3d9.jpg +0 -0
- package/kb/references/thumbs/c0f01e536e.jpg +0 -0
- package/kb/references/thumbs/c1d592b678.jpg +0 -0
- package/kb/references/thumbs/c1e83e1b3e.jpg +0 -0
- package/kb/references/thumbs/c2168f8096.jpg +0 -0
- package/kb/references/thumbs/c249cd6b17.jpg +0 -0
- package/kb/references/thumbs/c2e3d4feed.jpg +0 -0
- package/kb/references/thumbs/c3cec01df1.jpg +0 -0
- package/kb/references/thumbs/c47bedb42d.jpg +0 -0
- package/kb/references/thumbs/c4b03b4680.jpg +0 -0
- package/kb/references/thumbs/c4e6d18ec3.jpg +0 -0
- package/kb/references/thumbs/c5477e2877.jpg +0 -0
- package/kb/references/thumbs/c566794674.jpg +0 -0
- package/kb/references/thumbs/c5b945afbb.jpg +0 -0
- package/kb/references/thumbs/c5e4659497.jpg +0 -0
- package/kb/references/thumbs/c622786702.jpg +0 -0
- package/kb/references/thumbs/c6250649ca.jpg +0 -0
- package/kb/references/thumbs/c6261a9526.jpg +0 -0
- package/kb/references/thumbs/c62e609076.jpg +0 -0
- package/kb/references/thumbs/c6602d3e85.jpg +0 -0
- package/kb/references/thumbs/c6c1a16e40.jpg +0 -0
- package/kb/references/thumbs/c77f932157.jpg +0 -0
- package/kb/references/thumbs/c79788f01e.jpg +0 -0
- package/kb/references/thumbs/c7a511ad1e.jpg +0 -0
- package/kb/references/thumbs/c7acfbc3c8.jpg +0 -0
- package/kb/references/thumbs/c7bb6d1bb8.jpg +0 -0
- package/kb/references/thumbs/c829eadcb9.jpg +0 -0
- package/kb/references/thumbs/c891fd9d85.jpg +0 -0
- package/kb/references/thumbs/c89f812ee3.jpg +0 -0
- package/kb/references/thumbs/c8a85b9f61.jpg +0 -0
- package/kb/references/thumbs/c8fdf85c9a.jpg +0 -0
- package/kb/references/thumbs/c961ac1031.jpg +0 -0
- package/kb/references/thumbs/c9fd3f88d8.jpg +0 -0
- package/kb/references/thumbs/ca0d6399c3.jpg +0 -0
- package/kb/references/thumbs/ca316c83e4.jpg +0 -0
- package/kb/references/thumbs/ca3b93aa0d.jpg +0 -0
- package/kb/references/thumbs/cb0596a85b.jpg +0 -0
- package/kb/references/thumbs/cb95a5c3ef.jpg +0 -0
- package/kb/references/thumbs/cbe238b656.jpg +0 -0
- package/kb/references/thumbs/cbf530e608.jpg +0 -0
- package/kb/references/thumbs/cc173494ec.jpg +0 -0
- package/kb/references/thumbs/ccb664bddf.jpg +0 -0
- package/kb/references/thumbs/ccf69d36cd.jpg +0 -0
- package/kb/references/thumbs/ccf759db42.jpg +0 -0
- package/kb/references/thumbs/cd2a285807.jpg +0 -0
- package/kb/references/thumbs/cd4a24a8ca.jpg +0 -0
- package/kb/references/thumbs/cdb3fe8938.jpg +0 -0
- package/kb/references/thumbs/cdce1b9bc6.jpg +0 -0
- package/kb/references/thumbs/cde3aa761a.jpg +0 -0
- package/kb/references/thumbs/ce9d5cd9c2.jpg +0 -0
- package/kb/references/thumbs/ceb01f8a34.jpg +0 -0
- package/kb/references/thumbs/cee15c98d0.jpg +0 -0
- package/kb/references/thumbs/cf6944ddae.jpg +0 -0
- package/kb/references/thumbs/d15dd21cd8.jpg +0 -0
- package/kb/references/thumbs/d1633bf2ed.jpg +0 -0
- package/kb/references/thumbs/d16a838000.jpg +0 -0
- package/kb/references/thumbs/d1cf87e9f0.jpg +0 -0
- package/kb/references/thumbs/d32511d913.jpg +0 -0
- package/kb/references/thumbs/d327e9dedd.jpg +0 -0
- package/kb/references/thumbs/d35bf6c85e.jpg +0 -0
- package/kb/references/thumbs/d37afc9d61.jpg +0 -0
- package/kb/references/thumbs/d3b66655c7.jpg +0 -0
- package/kb/references/thumbs/d40b4172b6.jpg +0 -0
- package/kb/references/thumbs/d4c40d1824.jpg +0 -0
- package/kb/references/thumbs/d4cb55a4b6.jpg +0 -0
- package/kb/references/thumbs/d4f0c30f7e.jpg +0 -0
- package/kb/references/thumbs/d51cce3ae5.jpg +0 -0
- package/kb/references/thumbs/d52948f9ba.jpg +0 -0
- package/kb/references/thumbs/d62bd3cba4.jpg +0 -0
- package/kb/references/thumbs/d668a21c92.jpg +0 -0
- package/kb/references/thumbs/d685072c52.jpg +0 -0
- package/kb/references/thumbs/d6d7b96093.jpg +0 -0
- package/kb/references/thumbs/d7cd874b21.jpg +0 -0
- package/kb/references/thumbs/d7e111736a.jpg +0 -0
- package/kb/references/thumbs/d88325f832.jpg +0 -0
- package/kb/references/thumbs/d9272ded76.jpg +0 -0
- package/kb/references/thumbs/d962e7c654.jpg +0 -0
- package/kb/references/thumbs/d97f000ee2.jpg +0 -0
- package/kb/references/thumbs/d9c1ae2543.jpg +0 -0
- package/kb/references/thumbs/d9ccb3cac8.jpg +0 -0
- package/kb/references/thumbs/da99019680.jpg +0 -0
- package/kb/references/thumbs/da9b8bc615.jpg +0 -0
- package/kb/references/thumbs/daafbee2c1.jpg +0 -0
- package/kb/references/thumbs/db0f11f143.jpg +0 -0
- package/kb/references/thumbs/db5dd367f5.jpg +0 -0
- package/kb/references/thumbs/db69677866.jpg +0 -0
- package/kb/references/thumbs/db87c1956e.jpg +0 -0
- package/kb/references/thumbs/dbb86d8bda.jpg +0 -0
- package/kb/references/thumbs/dbd3a8ff2a.jpg +0 -0
- package/kb/references/thumbs/dbdf4b2794.jpg +0 -0
- package/kb/references/thumbs/dd4c19b4b1.jpg +0 -0
- package/kb/references/thumbs/dd98d9f6fa.jpg +0 -0
- package/kb/references/thumbs/ddb00e3b6a.jpg +0 -0
- package/kb/references/thumbs/dde3541a5c.jpg +0 -0
- package/kb/references/thumbs/de2a4da502.jpg +0 -0
- package/kb/references/thumbs/de4c387a66.jpg +0 -0
- package/kb/references/thumbs/de5618fa82.jpg +0 -0
- package/kb/references/thumbs/de6bec2538.jpg +0 -0
- package/kb/references/thumbs/dea13cbb1f.jpg +0 -0
- package/kb/references/thumbs/deff9202aa.jpg +0 -0
- package/kb/references/thumbs/df12835f8d.jpg +0 -0
- package/kb/references/thumbs/df57acbb3d.jpg +0 -0
- package/kb/references/thumbs/df8265009e.jpg +0 -0
- package/kb/references/thumbs/dfc99a1e8e.jpg +0 -0
- package/kb/references/thumbs/dfc9fde460.jpg +0 -0
- package/kb/references/thumbs/e038348eee.jpg +0 -0
- package/kb/references/thumbs/e04c2ae1d5.jpg +0 -0
- package/kb/references/thumbs/e070345c43.jpg +0 -0
- package/kb/references/thumbs/e0a0c84d47.jpg +0 -0
- package/kb/references/thumbs/e0af1e6b9e.jpg +0 -0
- package/kb/references/thumbs/e1025942c4.jpg +0 -0
- package/kb/references/thumbs/e11b6f5b82.jpg +0 -0
- package/kb/references/thumbs/e1553de3fc.jpg +0 -0
- package/kb/references/thumbs/e162ebe7cd.jpg +0 -0
- package/kb/references/thumbs/e1f1e531d8.jpg +0 -0
- package/kb/references/thumbs/e20842e5c9.jpg +0 -0
- package/kb/references/thumbs/e24e7d949b.jpg +0 -0
- package/kb/references/thumbs/e2a3e5d10a.jpg +0 -0
- package/kb/references/thumbs/e2de02615a.jpg +0 -0
- package/kb/references/thumbs/e305dad7dd.jpg +0 -0
- package/kb/references/thumbs/e52e3ef97f.jpg +0 -0
- package/kb/references/thumbs/e570e92d06.jpg +0 -0
- package/kb/references/thumbs/e583932fb9.jpg +0 -0
- package/kb/references/thumbs/e5da3c038f.jpg +0 -0
- package/kb/references/thumbs/e657634af3.jpg +0 -0
- package/kb/references/thumbs/e67946e3e1.jpg +0 -0
- package/kb/references/thumbs/e69e0f3639.jpg +0 -0
- package/kb/references/thumbs/e6ebe66031.jpg +0 -0
- package/kb/references/thumbs/e7db9563c9.jpg +0 -0
- package/kb/references/thumbs/e84a4c3b7b.jpg +0 -0
- package/kb/references/thumbs/e84cf52c27.jpg +0 -0
- package/kb/references/thumbs/e8707cf6e8.jpg +0 -0
- package/kb/references/thumbs/e888890b40.jpg +0 -0
- package/kb/references/thumbs/e8a502b418.jpg +0 -0
- package/kb/references/thumbs/e8ba68371d.jpg +0 -0
- package/kb/references/thumbs/e9098f54cc.jpg +0 -0
- package/kb/references/thumbs/e9144deae9.jpg +0 -0
- package/kb/references/thumbs/e93e98d757.jpg +0 -0
- package/kb/references/thumbs/e9762dd435.jpg +0 -0
- package/kb/references/thumbs/e9db4544c8.jpg +0 -0
- package/kb/references/thumbs/e9ddffeacd.jpg +0 -0
- package/kb/references/thumbs/e9e2cf1d7e.jpg +0 -0
- package/kb/references/thumbs/ea1e23e623.jpg +0 -0
- package/kb/references/thumbs/ea41200f5e.jpg +0 -0
- package/kb/references/thumbs/eaf4916e1a.jpg +0 -0
- package/kb/references/thumbs/eb2c505fc8.jpg +0 -0
- package/kb/references/thumbs/eb47943693.jpg +0 -0
- package/kb/references/thumbs/eb4ffd6625.jpg +0 -0
- package/kb/references/thumbs/eb82ac0a4d.jpg +0 -0
- package/kb/references/thumbs/ebeb345ade.jpg +0 -0
- package/kb/references/thumbs/ec4e2aba0a.jpg +0 -0
- package/kb/references/thumbs/ed683bc9f7.jpg +0 -0
- package/kb/references/thumbs/ed9e236a84.jpg +0 -0
- package/kb/references/thumbs/ee45e1caea.jpg +0 -0
- package/kb/references/thumbs/ee50bbf2e7.jpg +0 -0
- package/kb/references/thumbs/eed6ad3b7b.jpg +0 -0
- package/kb/references/thumbs/eee247fd70.jpg +0 -0
- package/kb/references/thumbs/ef87b6cb99.jpg +0 -0
- package/kb/references/thumbs/ef87dccf04.jpg +0 -0
- package/kb/references/thumbs/ef941bba1e.jpg +0 -0
- package/kb/references/thumbs/effc14fb2c.jpg +0 -0
- package/kb/references/thumbs/f04aa5a191.jpg +0 -0
- package/kb/references/thumbs/f13f12485f.jpg +0 -0
- package/kb/references/thumbs/f16a5c0fd4.jpg +0 -0
- package/kb/references/thumbs/f1ba7a7a8f.jpg +0 -0
- package/kb/references/thumbs/f1bc4c9c19.jpg +0 -0
- package/kb/references/thumbs/f1ee827878.jpg +0 -0
- package/kb/references/thumbs/f21736aeff.jpg +0 -0
- package/kb/references/thumbs/f22bc41213.jpg +0 -0
- package/kb/references/thumbs/f266aaffcc.jpg +0 -0
- package/kb/references/thumbs/f2c0ed0d65.jpg +0 -0
- package/kb/references/thumbs/f32ac710fd.jpg +0 -0
- package/kb/references/thumbs/f32b697ff6.jpg +0 -0
- package/kb/references/thumbs/f39c883904.jpg +0 -0
- package/kb/references/thumbs/f3b9d55e6e.jpg +0 -0
- package/kb/references/thumbs/f3c1763e14.jpg +0 -0
- package/kb/references/thumbs/f40853fd43.jpg +0 -0
- package/kb/references/thumbs/f4fd07dc4d.jpg +0 -0
- package/kb/references/thumbs/f50b756ee5.jpg +0 -0
- package/kb/references/thumbs/f51272e9b3.jpg +0 -0
- package/kb/references/thumbs/f538895eee.jpg +0 -0
- package/kb/references/thumbs/f5d28081b5.jpg +0 -0
- package/kb/references/thumbs/f6046c9501.jpg +0 -0
- package/kb/references/thumbs/f62e4af316.jpg +0 -0
- package/kb/references/thumbs/f6f6bffeb8.jpg +0 -0
- package/kb/references/thumbs/f736e00af6.jpg +0 -0
- package/kb/references/thumbs/f7932da47d.jpg +0 -0
- package/kb/references/thumbs/f879e118ca.jpg +0 -0
- package/kb/references/thumbs/f88257215d.jpg +0 -0
- package/kb/references/thumbs/f88c45a6d7.jpg +0 -0
- package/kb/references/thumbs/f89a7b646e.jpg +0 -0
- package/kb/references/thumbs/f8a1e7a274.jpg +0 -0
- package/kb/references/thumbs/f9183cf2b6.jpg +0 -0
- package/kb/references/thumbs/f995de5ce9.jpg +0 -0
- package/kb/references/thumbs/f9ada2c3e1.jpg +0 -0
- package/kb/references/thumbs/f9d4616f89.jpg +0 -0
- package/kb/references/thumbs/f9f4307bb0.jpg +0 -0
- package/kb/references/thumbs/fa070122c7.jpg +0 -0
- package/kb/references/thumbs/fa29cc1369.jpg +0 -0
- package/kb/references/thumbs/fa791a4dab.jpg +0 -0
- package/kb/references/thumbs/fa8060509e.jpg +0 -0
- package/kb/references/thumbs/fafeed4003.jpg +0 -0
- package/kb/references/thumbs/fb1c024f38.jpg +0 -0
- package/kb/references/thumbs/fb77aa28b3.jpg +0 -0
- package/kb/references/thumbs/fb9f7f1966.jpg +0 -0
- package/kb/references/thumbs/fba8a8c2da.jpg +0 -0
- package/kb/references/thumbs/fce2754c36.jpg +0 -0
- package/kb/references/thumbs/fce2fb83df.jpg +0 -0
- package/kb/references/thumbs/fd4c51bb47.jpg +0 -0
- package/kb/references/thumbs/fd8c269817.jpg +0 -0
- package/kb/references/thumbs/fdb7b250ca.jpg +0 -0
- package/kb/references/thumbs/fe18088de8.jpg +0 -0
- package/kb/references/thumbs/fe4f742ba7.jpg +0 -0
- package/kb/references/thumbs/fe64742ce7.jpg +0 -0
- package/kb/references/thumbs/feb5d62161.jpg +0 -0
- package/kb/references/thumbs/fed21b3e98.jpg +0 -0
- package/kb/references/thumbs/fed2205951.jpg +0 -0
- package/kb/references/thumbs/ffdacf1715.jpg +0 -0
- package/kb/sections/_buttons.md +93 -0
- package/kb/sections/_finish.md +325 -0
- package/kb/sections/about-founder-note.md +85 -0
- package/kb/sections/about-team-roster.md +86 -0
- package/kb/sections/alternating-rows-live-tiles.md +110 -0
- package/kb/sections/annotated-product-shot.md +105 -0
- package/kb/sections/asymmetric-bento-dominant.md +114 -0
- package/kb/sections/before-after-features.md +104 -0
- package/kb/sections/before-after-repair.md +107 -0
- package/kb/sections/bento-lead-tile.md +112 -0
- package/kb/sections/book-a-slot-honest.md +116 -0
- package/kb/sections/capability-prompt-ledger.md +68 -0
- package/kb/sections/case-study-band.md +113 -0
- package/kb/sections/centred-stack-hero.md +107 -0
- package/kb/sections/closing-demo-final-state.md +81 -0
- package/kb/sections/closing-full-bleed-line-and-form.md +86 -0
- package/kb/sections/closing-result-previewed.md +88 -0
- package/kb/sections/closing-three-real-steps.md +87 -0
- package/kb/sections/command-reference-table.md +70 -0
- package/kb/sections/comparison-old-way-bars.md +88 -0
- package/kb/sections/comparison-same-task-two-ways.md +88 -0
- package/kb/sections/day-of-the-place.md +102 -0
- package/kb/sections/docs-reading-rail.md +88 -0
- package/kb/sections/editorial-columns-hero.md +107 -0
- package/kb/sections/editorial-essay-pull-quote.md +112 -0
- package/kb/sections/events-calendar-list.md +107 -0
- package/kb/sections/explorable-control-demo.md +102 -0
- package/kb/sections/faq-open-answers-editorial.md +85 -0
- package/kb/sections/faq-ruled-accordion-aside.md +87 -0
- package/kb/sections/footer-closing-scene.md +84 -0
- package/kb/sections/footer-editorial-sitemap.md +85 -0
- package/kb/sections/footer-minimal-credits.md +80 -0
- package/kb/sections/full-bleed-image-band.md +103 -0
- package/kb/sections/full-bleed-image-hero.md +105 -0
- package/kb/sections/gallery-first-hero.md +109 -0
- package/kb/sections/horizontal-scroll-strip.md +101 -0
- package/kb/sections/how-i-work-own-voice.md +111 -0
- package/kb/sections/how-it-works-in-place.md +109 -0
- package/kb/sections/impact-numbers-sourced.md +109 -0
- package/kb/sections/install-steps-per-agent.md +77 -0
- package/kb/sections/masonry-real-work.md +109 -0
- package/kb/sections/numbered-editorial-columns.md +105 -0
- package/kb/sections/object-first-hero.md +106 -0
- package/kb/sections/object-timeline.md +105 -0
- package/kb/sections/one-huge-number.md +100 -0
- package/kb/sections/one-person-story.md +103 -0
- package/kb/sections/order-ahead-ticket.md +119 -0
- package/kb/sections/press-strip-quoted.md +106 -0
- package/kb/sections/pricing-comparison-table-sticky.md +94 -0
- package/kb/sections/pricing-free-pro-upgrade-moment.md +85 -0
- package/kb/sections/pricing-plan-beside-product.md +88 -0
- package/kb/sections/pricing-plans-ledger.md +94 -0
- package/kb/sections/pricing-usage-calculator.md +93 -0
- package/kb/sections/printed-menu-card.md +110 -0
- package/kb/sections/process-happening.md +102 -0
- package/kb/sections/project-index-ruled.md +106 -0
- package/kb/sections/proof-logo-cloud-with-reasons.md +82 -0
- package/kb/sections/proof-measured-numbers.md +88 -0
- package/kb/sections/proof-output-wall.md +84 -0
- package/kb/sections/proof-single-honest-quote.md +81 -0
- package/kb/sections/resources-searchable-list.md +110 -0
- package/kb/sections/rooms-and-rates.md +107 -0
- package/kb/sections/ruled-facts-table.md +108 -0
- package/kb/sections/ruled-list-pinned-visual.md +107 -0
- package/kb/sections/scroll-scrubbed-product-demo.md +103 -0
- package/kb/sections/self-playing-run-demo.md +104 -0
- package/kb/sections/services-price-ledger.md +106 -0
- package/kb/sections/signup-form-with-next-steps.md +86 -0
- package/kb/sections/signup-waitlist-place-in-line.md +90 -0
- package/kb/sections/spec-sheet-features.md +108 -0
- package/kb/sections/split-hero-live-object.md +108 -0
- package/kb/sections/sticky-feature-narrative.md +104 -0
- package/kb/sections/todays-board-hero.md +112 -0
- package/kb/sections/touchable-tool-hero.md +111 -0
- package/kb/sections/typographic-statement-hero.md +99 -0
- package/kb/sections/visit-hours-map.md +110 -0
- package/kb/sections/ways-to-help-honest.md +115 -0
- package/kb/sources/design-reference.md +991 -0
- package/kb/sources/product-and-docs.md +37 -0
- package/kb/systems/1win/DESIGN.md +463 -0
- package/kb/systems/LICENSE-awesome-design-md +21 -0
- package/kb/systems/README.md +7 -0
- package/kb/systems/airbnb/DESIGN.md +545 -0
- package/kb/systems/airtable/DESIGN.md +554 -0
- package/kb/systems/aljazeera/DESIGN.md +594 -0
- package/kb/systems/apple/DESIGN.md +562 -0
- package/kb/systems/binance/DESIGN.md +634 -0
- package/kb/systems/bmw/DESIGN.md +544 -0
- package/kb/systems/bmw-m/DESIGN.md +503 -0
- package/kb/systems/bugatti/DESIGN.md +454 -0
- package/kb/systems/cal/DESIGN.md +542 -0
- package/kb/systems/categories.json +87 -0
- package/kb/systems/claude/DESIGN.md +589 -0
- package/kb/systems/clay/DESIGN.md +541 -0
- package/kb/systems/clickhouse/DESIGN.md +544 -0
- package/kb/systems/cohere/DESIGN.md +451 -0
- package/kb/systems/coinbase/DESIGN.md +570 -0
- package/kb/systems/composio/DESIGN.md +506 -0
- package/kb/systems/cursor/DESIGN.md +537 -0
- package/kb/systems/dell-1996/DESIGN.md +632 -0
- package/kb/systems/dji/DESIGN.md +882 -0
- package/kb/systems/elevenlabs/DESIGN.md +504 -0
- package/kb/systems/expo/DESIGN.md +526 -0
- package/kb/systems/ferrari/DESIGN.md +531 -0
- package/kb/systems/figma/DESIGN.md +578 -0
- package/kb/systems/framer/DESIGN.md +544 -0
- package/kb/systems/hashicorp/DESIGN.md +575 -0
- package/kb/systems/hp/DESIGN.md +670 -0
- package/kb/systems/ibm/DESIGN.md +550 -0
- package/kb/systems/intercom/DESIGN.md +546 -0
- package/kb/systems/jobright/DESIGN.md +525 -0
- package/kb/systems/kraken/DESIGN.md +125 -0
- package/kb/systems/lamborghini/DESIGN.md +288 -0
- package/kb/systems/linear.app/DESIGN.md +548 -0
- package/kb/systems/lovable/DESIGN.md +298 -0
- package/kb/systems/mastercard/DESIGN.md +365 -0
- package/kb/systems/mercury/DESIGN.md +568 -0
- package/kb/systems/meta/DESIGN.md +683 -0
- package/kb/systems/minimax/DESIGN.md +746 -0
- package/kb/systems/mintlify/DESIGN.md +852 -0
- package/kb/systems/miro/DESIGN.md +825 -0
- package/kb/systems/mistral.ai/DESIGN.md +773 -0
- package/kb/systems/mongodb/DESIGN.md +767 -0
- package/kb/systems/mydealz/DESIGN.md +551 -0
- package/kb/systems/nerdwallet/DESIGN.md +722 -0
- package/kb/systems/nike/DESIGN.md +575 -0
- package/kb/systems/nintendo-2001/DESIGN.md +649 -0
- package/kb/systems/notion/DESIGN.md +821 -0
- package/kb/systems/nvidia/DESIGN.md +640 -0
- package/kb/systems/ollama/DESIGN.md +539 -0
- package/kb/systems/opencode.ai/DESIGN.md +521 -0
- package/kb/systems/oracle/DESIGN.md +778 -0
- package/kb/systems/oura/DESIGN.md +616 -0
- package/kb/systems/pinterest/DESIGN.md +597 -0
- package/kb/systems/playstation/DESIGN.md +661 -0
- package/kb/systems/posthog/DESIGN.md +690 -0
- package/kb/systems/raycast/DESIGN.md +669 -0
- package/kb/systems/renault/DESIGN.md +589 -0
- package/kb/systems/replicate/DESIGN.md +616 -0
- package/kb/systems/resend/DESIGN.md +585 -0
- package/kb/systems/revolut/DESIGN.md +636 -0
- package/kb/systems/runwayml/DESIGN.md +244 -0
- package/kb/systems/sanity/DESIGN.md +357 -0
- package/kb/systems/sap/DESIGN.md +639 -0
- package/kb/systems/sentry/DESIGN.md +551 -0
- package/kb/systems/shopify/DESIGN.md +516 -0
- package/kb/systems/slack/DESIGN.md +482 -0
- package/kb/systems/spacex/DESIGN.md +363 -0
- package/kb/systems/spotify/DESIGN.md +246 -0
- package/kb/systems/starbucks/DESIGN.md +580 -0
- package/kb/systems/stripe/DESIGN.md +487 -0
- package/kb/systems/supabase/DESIGN.md +462 -0
- package/kb/systems/superhuman/DESIGN.md +448 -0
- package/kb/systems/tesla/DESIGN.md +286 -0
- package/kb/systems/theverge/DESIGN.md +339 -0
- package/kb/systems/together.ai/DESIGN.md +633 -0
- package/kb/systems/uber/DESIGN.md +636 -0
- package/kb/systems/vercel/DESIGN.md +736 -0
- package/kb/systems/vodafone/DESIGN.md +538 -0
- package/kb/systems/voltagent/DESIGN.md +521 -0
- package/kb/systems/warp/DESIGN.md +526 -0
- package/kb/systems/webflow/DESIGN.md +588 -0
- package/kb/systems/wired/DESIGN.md +497 -0
- package/kb/systems/wise/DESIGN.md +544 -0
- package/kb/systems/x.ai/DESIGN.md +465 -0
- package/kb/systems/zapier/DESIGN.md +537 -0
- package/kb/taste/garvit-by-job.md +46 -0
- package/kb/taste/garvit-portfolio.md +94 -0
- package/kb/universal/color-roles.md +26 -0
- package/kb/universal/copy.md +16 -0
- package/kb/universal/details.md +31 -0
- package/kb/universal/first-screen.md +30 -0
- package/kb/universal/fit-the-codebase.md +29 -0
- package/kb/universal/layout-width.md +28 -0
- package/kb/universal/motion-feedback.md +23 -0
- package/kb/universal/signature.md +29 -0
- package/kb/universal/states.md +17 -0
- package/kb/universal/type-app.md +33 -0
- package/kb/universal/type-marketing.md +28 -0
- package/package.json +37 -4
- package/scripts/pack-assets.mjs +58 -0
- package/skill/palate/SKILL.md +261 -0
- package/src/auth-recheck.mjs +4 -0
- package/src/auth.mjs +416 -0
- package/src/capture.mjs +182 -0
- package/src/catalog/classify.mjs +96 -0
- package/src/catalog/curated.mjs +128 -0
- package/src/catalog/index-build.mjs +67 -0
- package/src/catalog/literal.mjs +146 -0
- package/src/catalog/store.mjs +40 -0
- package/src/catalog/vibrant.mjs +126 -0
- package/src/check.mjs +93 -0
- package/src/concept.mjs +157 -0
- package/src/context.mjs +226 -0
- package/src/copy.mjs +188 -0
- package/src/devserver.mjs +135 -0
- package/src/fontgenre.mjs +44 -0
- package/src/guard-agents.mjs +213 -0
- package/src/guard.mjs +377 -0
- package/src/kb.mjs +91 -0
- package/src/look.mjs +312 -0
- package/src/loop/ambition.mjs +620 -0
- package/src/loop/animate.mjs +70 -0
- package/src/loop/artdirection.mjs +264 -0
- package/src/loop/bench.mjs +184 -0
- package/src/loop/benchpick.mjs +155 -0
- package/src/loop/blueprint.mjs +620 -0
- package/src/loop/board.html +180 -0
- package/src/loop/build.mjs +393 -0
- package/src/loop/buttons.mjs +413 -0
- package/src/loop/common.mjs +206 -0
- package/src/loop/cost.mjs +63 -0
- package/src/loop/craft.mjs +152 -0
- package/src/loop/craftchecks.mjs +148 -0
- package/src/loop/critique.mjs +393 -0
- package/src/loop/details.mjs +225 -0
- package/src/loop/direction.html +168 -0
- package/src/loop/direction.mjs +256 -0
- package/src/loop/directions.json +8 -0
- package/src/loop/explore.mjs +219 -0
- package/src/loop/fail.mjs +110 -0
- package/src/loop/fix.mjs +194 -0
- package/src/loop/floor.mjs +677 -0
- package/src/loop/forget.mjs +52 -0
- package/src/loop/gate.mjs +1053 -0
- package/src/loop/grid.html +123 -0
- package/src/loop/growth.mjs +118 -0
- package/src/loop/icons.mjs +109 -0
- package/src/loop/imagery.mjs +1280 -0
- package/src/loop/judge-api.mjs +245 -0
- package/src/loop/judge.mjs +167 -0
- package/src/loop/layouts.mjs +492 -0
- package/src/loop/library.mjs +82 -0
- package/src/loop/lookplan.mjs +182 -0
- package/src/loop/lookvec.mjs +645 -0
- package/src/loop/match.mjs +923 -0
- package/src/loop/matched.mjs +26 -0
- package/src/loop/myrefs.mjs +151 -0
- package/src/loop/pick.mjs +213 -0
- package/src/loop/picker.html +118 -0
- package/src/loop/plan.mjs +289 -0
- package/src/loop/polish.mjs +39 -0
- package/src/loop/research-learn.mjs +41 -0
- package/src/loop/research.mjs +1130 -0
- package/src/loop/rulereview.mjs +146 -0
- package/src/loop/rules-board.html +199 -0
- package/src/loop/rules.mjs +939 -0
- package/src/loop/similar.mjs +276 -0
- package/src/loop/states-source.mjs +258 -0
- package/src/loop/states.mjs +1547 -0
- package/src/loop/stats.mjs +78 -0
- package/src/loop/taste.mjs +81 -0
- package/src/loop/timeline.mjs +149 -0
- package/src/loop/variants.mjs +228 -0
- package/src/loop/vary.mjs +249 -0
- package/src/mcp/server.mjs +1246 -0
- package/src/motion.mjs +207 -0
- package/src/moves.mjs +242 -0
- package/src/novelty.mjs +116 -0
- package/src/page-ambition.js +181 -0
- package/src/page-craft.js +724 -0
- package/src/page-details.js +415 -0
- package/src/page-devices.js +365 -0
- package/src/page-fingerprint.js +281 -0
- package/src/page-gate.js +1307 -0
- package/src/page-look.js +698 -0
- package/src/page-metrics.js +78 -0
- package/src/page-principles.js +1167 -0
- package/src/page-rules.js +308 -0
- package/src/page-sections.js +211 -0
- package/src/page-states.js +703 -0
- package/src/paths.mjs +13 -0
- package/src/png.mjs +107 -0
- package/src/point/auto.mjs +224 -0
- package/src/point/locate.mjs +114 -0
- package/src/point/overlay.js +1516 -0
- package/src/point/server.mjs +1122 -0
- package/src/point/trail.mjs +219 -0
- package/src/pool.mjs +80 -0
- package/src/principles.mjs +279 -0
- package/src/refs.mjs +299 -0
- package/src/robots.mjs +145 -0
- package/src/sections.mjs +210 -0
- package/src/shoot.mjs +235 -0
- package/src/systems/apply.mjs +355 -0
- package/src/systems/load.mjs +251 -0
- package/src/systems/pick.mjs +213 -0
- package/templates/vite-react-tw/index.html +12 -0
- package/templates/vite-react-tw/package.json +25 -0
- package/templates/vite-react-tw/src/App.tsx +3 -0
- package/templates/vite-react-tw/src/index.css +1 -0
- package/templates/vite-react-tw/src/main.tsx +10 -0
- package/templates/vite-react-tw/tsconfig.app.json +26 -0
- package/templates/vite-react-tw/tsconfig.json +7 -0
- package/templates/vite-react-tw/tsconfig.node.json +23 -0
- package/templates/vite-react-tw/vite.config.ts +8 -0
package/src/refs.mjs
ADDED
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
// `palate refs`: the librarian. Shelf → filter → rank → diversify → three directions, then fetch only
|
|
2
|
+
// those images so the agent can look at them. Deterministic and offline once the catalogue is synced.
|
|
3
|
+
import fs from "node:fs";
|
|
4
|
+
import path from "node:path";
|
|
5
|
+
import { CACHE_DIR, readCatalogs, readNotes, addNote } from "./catalog/store.mjs";
|
|
6
|
+
import { fontClass, parseColor, luminance } from "./catalog/classify.mjs";
|
|
7
|
+
import { curatedRecords } from "./catalog/curated.mjs";
|
|
8
|
+
import { capture, measuresFor } from "./capture.mjs";
|
|
9
|
+
import { readIndex } from "./catalog/index-build.mjs";
|
|
10
|
+
|
|
11
|
+
const onShelf = (r, shelf) => (r.shelves ?? [r.shelf]).includes(shelf);
|
|
12
|
+
|
|
13
|
+
// Once palate has captured a site, its own measurements (theme, fonts) improve that record for future picks.
|
|
14
|
+
function withCapturedFacts(r) {
|
|
15
|
+
if (!r.site) return r;
|
|
16
|
+
const m = measuresFor(r.site);
|
|
17
|
+
if (!m) return r;
|
|
18
|
+
const bg = m.backgrounds?.[0];
|
|
19
|
+
const rgb = bg && parseColor(bg);
|
|
20
|
+
return {
|
|
21
|
+
...r,
|
|
22
|
+
theme: rgb ? (luminance(rgb) > 0.4 ? "light" : "dark") : r.theme,
|
|
23
|
+
fonts: r.fonts?.length ? r.fonts : m.fonts,
|
|
24
|
+
typeClasses: r.typeClasses?.length ? r.typeClasses : [...new Set((m.fonts ?? []).map(fontClass).filter(Boolean))],
|
|
25
|
+
measured: m,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
// Curated rows that point at a catalogued page (e.g. a vibrant.design entry) merge into that record.
|
|
29
|
+
export function allRecords() {
|
|
30
|
+
// Shipped index first, then anything synced locally (same ids replace the shipped copy).
|
|
31
|
+
const byId = new Map(readIndex().map((r) => [r.id, r]));
|
|
32
|
+
for (const r of readCatalogs()) byId.set(r.id, { ...byId.get(r.id), ...r });
|
|
33
|
+
const catalog = [...byId.values()].map(withCapturedFacts);
|
|
34
|
+
const norm = (u) => u.replace(/[?#].*$/, "").replace(/\/$/, "");
|
|
35
|
+
const byUrl = new Map(catalog.map((r) => [norm(r.url), r]));
|
|
36
|
+
const curated = [];
|
|
37
|
+
for (const c of curatedRecords()) {
|
|
38
|
+
const hit = byUrl.get(norm(c.url));
|
|
39
|
+
if (hit) {
|
|
40
|
+
hit.curated = true;
|
|
41
|
+
hit.description = [hit.description, c.description].filter(Boolean).join(" ");
|
|
42
|
+
} else if (/vibrant\.design/.test(c.url)) {
|
|
43
|
+
curated.push({ ...c, capture: false }); // not synced yet: no live capture of the gallery page itself
|
|
44
|
+
} else curated.push(c);
|
|
45
|
+
}
|
|
46
|
+
return [...catalog, ...curated];
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// Shelves that can stand in for each other when one is thin.
|
|
50
|
+
const NEIGHBOURS = {
|
|
51
|
+
cta: ["hero"],
|
|
52
|
+
hero: ["website"],
|
|
53
|
+
features: ["bento", "how-it-works"],
|
|
54
|
+
bento: ["features"],
|
|
55
|
+
"how-it-works": ["features"],
|
|
56
|
+
"data-table": ["dashboard", "app-shell"],
|
|
57
|
+
dashboard: ["data-table", "app-shell"],
|
|
58
|
+
settings: ["app-shell", "contact"],
|
|
59
|
+
"app-shell": ["dashboard", "data-table"],
|
|
60
|
+
canvas: ["app-shell"],
|
|
61
|
+
docs: ["changelog"],
|
|
62
|
+
"product-page": ["collections"],
|
|
63
|
+
"logo-cloud": ["testimonials", "stats"],
|
|
64
|
+
testimonials: ["logo-cloud"],
|
|
65
|
+
stats: ["features"],
|
|
66
|
+
blogs: ["changelog"],
|
|
67
|
+
changelog: ["blogs"],
|
|
68
|
+
pricing: ["website"],
|
|
69
|
+
faq: ["pricing"],
|
|
70
|
+
website: ["hero"],
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
// Words people use for screens → catalogue shelves.
|
|
74
|
+
const SHELF_ALIASES = {
|
|
75
|
+
landing: "website", homepage: "website", "landing-page": "website", home: "website",
|
|
76
|
+
"logo-strip": "logo-cloud", logos: "logo-cloud", reviews: "testimonials", quotes: "testimonials",
|
|
77
|
+
signup: "login-and-signup", login: "login-and-signup", auth: "login-and-signup",
|
|
78
|
+
blog: "blogs", "release-notes": "changelog", footer: "footer", "call-to-action": "cta",
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
const words = (s) => (Array.isArray(s) ? s.join(" ") : String(s ?? "")).toLowerCase().match(/[a-z0-9]+/g) ?? [];
|
|
82
|
+
const STOP = new Set(["the", "and", "for", "with", "that", "this", "from", "into", "your", "our", "page", "section", "design", "website"]);
|
|
83
|
+
|
|
84
|
+
function docText(r) {
|
|
85
|
+
return [r.name, r.description, r.siteTitle, r.siteDescription, r.siteName, r.industry, r.style, r.colorTags, r.interaction, r.audience, r.features, r.keywords, r.fonts].flat().join(" ");
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
// Plain BM25 over the catalogue documents.
|
|
89
|
+
function bm25Index(records) {
|
|
90
|
+
const docs = records.map((r) => words(docText(r)).filter((w) => !STOP.has(w)));
|
|
91
|
+
const df = new Map();
|
|
92
|
+
for (const d of docs) for (const w of new Set(d)) df.set(w, (df.get(w) ?? 0) + 1);
|
|
93
|
+
const avg = docs.reduce((n, d) => n + d.length, 0) / Math.max(1, docs.length);
|
|
94
|
+
const N = docs.length;
|
|
95
|
+
return (qWords, i) => {
|
|
96
|
+
const d = docs[i];
|
|
97
|
+
const tf = new Map();
|
|
98
|
+
for (const w of d) tf.set(w, (tf.get(w) ?? 0) + 1);
|
|
99
|
+
let s = 0;
|
|
100
|
+
for (const w of qWords) {
|
|
101
|
+
const f = tf.get(w);
|
|
102
|
+
if (!f) continue;
|
|
103
|
+
const idf = Math.log(1 + (N - df.get(w) + 0.5) / (df.get(w) + 0.5));
|
|
104
|
+
s += idf * ((f * 2.2) / (f + 1.2 * (0.25 + 0.75 * (d.length / avg))));
|
|
105
|
+
}
|
|
106
|
+
return s;
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
// What the codebase implies: light or dark base, and the class of its main typeface.
|
|
111
|
+
export function projectProfile(dir) {
|
|
112
|
+
const profile = {};
|
|
113
|
+
const cssFiles = [];
|
|
114
|
+
const walk = (d, depth) => {
|
|
115
|
+
if (depth < 0 || !fs.existsSync(d)) return;
|
|
116
|
+
for (const e of fs.readdirSync(d, { withFileTypes: true })) {
|
|
117
|
+
if (["node_modules", ".git", "dist", ".palate"].includes(e.name)) continue;
|
|
118
|
+
const p = path.join(d, e.name);
|
|
119
|
+
if (e.isDirectory()) walk(p, depth - 1);
|
|
120
|
+
else if (/\.(css|scss)$/.test(e.name) && !/\.module\./.test(e.name)) cssFiles.push(p);
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
walk(path.join(dir, "src"), 3);
|
|
124
|
+
walk(path.join(dir, "app"), 3);
|
|
125
|
+
walk(path.join(dir, "styles"), 2);
|
|
126
|
+
for (const f of cssFiles) {
|
|
127
|
+
const css = fs.readFileSync(f, "utf8");
|
|
128
|
+
// The first background-like token in :root decides the base theme.
|
|
129
|
+
// Only the light (default) block: stop at the first `.dark {` or `[data-theme=dark] {` rule.
|
|
130
|
+
const root = css.split(/\n\s*(?:\.dark|\[data-theme=["']?dark["']?\])\s*\{/)[0];
|
|
131
|
+
const bg = /--(?:color-)?(?:background|bg|paper|surface|canvas)\s*:\s*([^;]+);/i.exec(root);
|
|
132
|
+
const rgb = bg && parseColor(bg[1]);
|
|
133
|
+
if (rgb && !profile.theme) profile.theme = luminance(rgb) > 0.4 ? "light" : "dark";
|
|
134
|
+
const font = /--font-(?:sans|body|display|heading)?[\w-]*\s*:\s*([^;]+);|font-family:\s*([^;]+);/i.exec(css);
|
|
135
|
+
const name = font && (font[1] ?? font[2]).split(",")[0].replace(/["']/g, "").trim();
|
|
136
|
+
if (name && !name.startsWith("var(") && !profile.font) {
|
|
137
|
+
profile.font = name;
|
|
138
|
+
profile.typeClass = fontClass(name);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
const html = fs.existsSync(path.join(dir, "index.html")) ? fs.readFileSync(path.join(dir, "index.html"), "utf8") : "";
|
|
142
|
+
const gf = /fonts\.googleapis\.com\/css2\?family=([^"&:]+)/.exec(html);
|
|
143
|
+
if (gf && !profile.font) {
|
|
144
|
+
profile.font = decodeURIComponent(gf[1]).replace(/\+/g, " ");
|
|
145
|
+
profile.typeClass = fontClass(profile.font);
|
|
146
|
+
}
|
|
147
|
+
return profile;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
const TYPE_NEAR = {
|
|
151
|
+
"geometric-sans": ["grotesk", "humanist-sans"],
|
|
152
|
+
grotesk: ["geometric-sans", "humanist-sans"],
|
|
153
|
+
"humanist-sans": ["grotesk", "geometric-sans"],
|
|
154
|
+
serif: ["display"],
|
|
155
|
+
display: ["serif", "geometric-sans"],
|
|
156
|
+
mono: ["grotesk"],
|
|
157
|
+
};
|
|
158
|
+
|
|
159
|
+
function jaccard(a, b) {
|
|
160
|
+
const A = new Set(a);
|
|
161
|
+
const B = new Set(b);
|
|
162
|
+
if (!A.size || !B.size) return 0;
|
|
163
|
+
let inter = 0;
|
|
164
|
+
for (const x of A) if (B.has(x)) inter++;
|
|
165
|
+
return inter / (A.size + B.size - inter);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
export function findRefs(query, { dir, count = 3 } = {}) {
|
|
169
|
+
const all = allRecords();
|
|
170
|
+
if (!all.length) throw new Error("No references yet. Run: palate catalog sync vibrant");
|
|
171
|
+
const notes = readNotes();
|
|
172
|
+
const profile = dir ? projectProfile(dir) : {};
|
|
173
|
+
const theme = query.theme ?? profile.theme;
|
|
174
|
+
|
|
175
|
+
// 1. Shelf (with neighbours as a fallback when the shelf is thin).
|
|
176
|
+
const want = query.shelf ? SHELF_ALIASES[query.shelf] ?? query.shelf : undefined;
|
|
177
|
+
let shelves = want ? [want] : [];
|
|
178
|
+
// Interaction posts (shelf "micro") only appear when asked for.
|
|
179
|
+
const browsable = want === "micro" ? all : all.filter((r) => r.shelf !== "micro");
|
|
180
|
+
let pool = want ? browsable.filter((r) => onShelf(r, want)) : browsable;
|
|
181
|
+
if (want && pool.length < 12) {
|
|
182
|
+
shelves = [want, ...(NEIGHBOURS[want] ?? [])];
|
|
183
|
+
pool = browsable.filter((r) => shelves.some((sh) => onShelf(r, sh)));
|
|
184
|
+
}
|
|
185
|
+
if (!pool.length) pool = browsable;
|
|
186
|
+
|
|
187
|
+
// 2. Filter hard conflicts (theme), unless that empties the shelf.
|
|
188
|
+
const themed = theme ? pool.filter((r) => !r.theme || r.theme === theme || r.theme === "mid") : pool;
|
|
189
|
+
if (themed.length >= Math.min(6, pool.length)) pool = themed;
|
|
190
|
+
|
|
191
|
+
// 3. Rank.
|
|
192
|
+
const qRelevance = words([query.industry, query.audience, query.needs, query.words].join(" ")).filter((w) => !STOP.has(w) && w.length > 2);
|
|
193
|
+
const qTone = words(query.tone).filter((w) => w.length > 2);
|
|
194
|
+
const bm25 = bm25Index(pool);
|
|
195
|
+
const maxViews = Math.max(1, ...pool.map((r) => r.views ?? 0));
|
|
196
|
+
const scored = pool.map((r, i) => {
|
|
197
|
+
const relevance = bm25(qRelevance, i);
|
|
198
|
+
const toneHits = qTone.filter((w) => words([r.style, r.colorTags, r.description]).includes(w)).length;
|
|
199
|
+
const tone = qTone.length ? toneHits / qTone.length : 0;
|
|
200
|
+
let compat = 0.5;
|
|
201
|
+
if (theme && r.theme) compat = r.theme === theme ? 1 : 0.15;
|
|
202
|
+
if (profile.typeClass && r.typeClasses?.length) {
|
|
203
|
+
compat += r.typeClasses.includes(profile.typeClass) ? 0.5 : r.typeClasses.some((c) => TYPE_NEAR[profile.typeClass]?.includes(c)) ? 0.25 : 0;
|
|
204
|
+
}
|
|
205
|
+
const noteBoost = Math.min(0.3, (notes[r.id]?.length ?? 0) * 0.1);
|
|
206
|
+
const quality = Math.log1p(r.views ?? 0) / Math.log1p(maxViews) + (r.description?.length > 60 ? 0.2 : 0) + (r.curated ? 0.6 : 0) + noteBoost;
|
|
207
|
+
return { r, relevance, tone, compat, quality };
|
|
208
|
+
});
|
|
209
|
+
const maxRel = Math.max(1e-9, ...scored.map((s) => s.relevance));
|
|
210
|
+
for (const s of scored) s.score = 0.4 * (s.relevance / maxRel) + 0.25 * (s.compat / 1.5) + 0.2 * s.tone + 0.15 * Math.min(1, s.quality);
|
|
211
|
+
scored.sort((a, b) => b.score - a.score);
|
|
212
|
+
|
|
213
|
+
// 4. Diversify: maximal marginal relevance over tags and description words.
|
|
214
|
+
const feats = (r) => [...r.style, ...r.colorTags, ...r.interaction, ...(r.typeClasses ?? []), r.theme ?? "", ...words(r.description).filter((w) => w.length > 4)];
|
|
215
|
+
const picked = [];
|
|
216
|
+
const candidates = scored.slice(0, 40);
|
|
217
|
+
while (picked.length < count && candidates.length) {
|
|
218
|
+
let best = 0;
|
|
219
|
+
let bestVal = -Infinity;
|
|
220
|
+
candidates.forEach((c, i) => {
|
|
221
|
+
const sim = picked.length ? Math.max(...picked.map((p) => jaccard(feats(p.r), feats(c.r)))) : 0;
|
|
222
|
+
const val = 0.7 * c.score - 0.3 * sim;
|
|
223
|
+
if (val > bestVal) {
|
|
224
|
+
bestVal = val;
|
|
225
|
+
best = i;
|
|
226
|
+
}
|
|
227
|
+
});
|
|
228
|
+
picked.push(candidates.splice(best, 1)[0]);
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
const why = (s) => {
|
|
232
|
+
const parts = [];
|
|
233
|
+
if (s.relevance > 0) parts.push(`matches ${qRelevance.filter((w) => words(docText(s.r)).includes(w)).slice(0, 5).join(", ") || "the brief"}`);
|
|
234
|
+
if (theme && s.r.theme === theme) parts.push(`${theme} base like this project`);
|
|
235
|
+
if (s.tone > 0) parts.push(`tone: ${qTone.filter((w) => words([s.r.style, s.r.colorTags, s.r.description]).includes(w)).join(", ")}`);
|
|
236
|
+
if (profile.typeClass && s.r.typeClasses?.includes(profile.typeClass)) parts.push(`same type class (${profile.typeClass})`);
|
|
237
|
+
if (notes[s.r.id]?.length) parts.push(`${notes[s.r.id].length} note(s) from earlier palate runs`);
|
|
238
|
+
return parts.join("; ") || "closest fit on this shelf";
|
|
239
|
+
};
|
|
240
|
+
|
|
241
|
+
return { profile: { ...profile, theme }, shelves, poolSize: pool.length, picked: picked.map((s) => ({ ...s, why: why(s) })), runnersUp: scored.filter((s) => !picked.includes(s)).slice(0, 5) };
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
// Returns a local image for the record: the catalogue's preview, or a live capture of the site.
|
|
245
|
+
export async function fetchImage(record) {
|
|
246
|
+
if (record.capture && record.site) {
|
|
247
|
+
const res = await capture(record.site, { full: false, shelf: record.shelf });
|
|
248
|
+
record.measured = res.measures[1440];
|
|
249
|
+
return res.files[0];
|
|
250
|
+
}
|
|
251
|
+
if (!record.image) return undefined;
|
|
252
|
+
const ext = /\.(png|jpe?g|webp)/i.exec(record.image)?.[1] ?? "jpg";
|
|
253
|
+
const file = path.join(CACHE_DIR, "images", `${record.id.replace(/[^a-z0-9]+/gi, "_")}.${ext}`);
|
|
254
|
+
if (fs.existsSync(file)) return file;
|
|
255
|
+
const res = await fetch(record.image, { headers: { "user-agent": "palate-catalog/0.1" } });
|
|
256
|
+
if (!res.ok) return undefined;
|
|
257
|
+
fs.mkdirSync(path.dirname(file), { recursive: true });
|
|
258
|
+
fs.writeFileSync(file, Buffer.from(await res.arrayBuffer()));
|
|
259
|
+
return file;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
export async function refsReport(query, opts) {
|
|
263
|
+
const res = findRefs(query, opts);
|
|
264
|
+
const out = [`# References for ${query.shelf ?? "any shelf"}`, ""];
|
|
265
|
+
out.push(`Project: ${res.profile.theme ?? "unknown"} base${res.profile.font ? `, ${res.profile.font} (${res.profile.typeClass ?? "unclassified"})` : ""}. Searched ${res.poolSize} designs on ${res.shelves.join(" + ") || "all shelves"}.`, "");
|
|
266
|
+
let n = 0;
|
|
267
|
+
for (const s of res.picked) {
|
|
268
|
+
n++;
|
|
269
|
+
const img = await fetchImage(s.r).catch(() => undefined);
|
|
270
|
+
out.push(`## Direction ${n}: ${s.r.name}`);
|
|
271
|
+
out.push(`- id: ${s.r.id} · live site: ${s.r.site ?? "n/a"} · source: ${s.r.url}`);
|
|
272
|
+
out.push(`- what it is: ${s.r.description}`);
|
|
273
|
+
out.push(`- style: ${[...s.r.style, ...s.r.colorTags].join(", ") || "n/a"} · interaction: ${s.r.interaction.join(", ") || "n/a"} · fonts: ${s.r.fonts.join(", ") || "n/a"} · ${s.r.theme ?? "theme unknown"}`);
|
|
274
|
+
out.push(`- why it was picked: ${s.why}`);
|
|
275
|
+
if (readNotes()[s.r.id]?.length) out.push(`- notes: ${readNotes()[s.r.id].map((x) => x.text).join(" | ")}`);
|
|
276
|
+
if (s.r.measured) {
|
|
277
|
+
const m = s.r.measured;
|
|
278
|
+
out.push(`- measured live: headline ${m.headline.size}px ${m.headline.family} ${m.headline.weight} (tracking ${m.headline.tracking}) · fonts ${m.fonts.join(", ")} · scale ${m.typeScale.join("/")} · body ${m.bodySize}px · radii ${m.radii.join(", ") || "none"}`);
|
|
279
|
+
}
|
|
280
|
+
out.push(`- image: ${img ?? "not available"}`);
|
|
281
|
+
out.push("");
|
|
282
|
+
}
|
|
283
|
+
if (res.runnersUp.length) out.push(`Also close: ${res.runnersUp.map((s) => `${s.r.id} (${s.r.name})`).join(" · ")}`, "");
|
|
284
|
+
out.push("Open the three images with your image-reading tool. Pick one direction, and write in the Decision Record exactly what you borrow (structure, type treatment, density, signature move) and what you won't copy (their words, logos, assets).");
|
|
285
|
+
out.push("Afterwards, leave a one-line note on the reference you used: palate refs note <id> \"what worked\"");
|
|
286
|
+
return out.join("\n");
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
export function catalogStats() {
|
|
290
|
+
const all = allRecords();
|
|
291
|
+
const by = (k) => Object.entries(all.reduce((m, r) => ((m[r[k] ?? "none"] = (m[r[k] ?? "none"] ?? 0) + 1), m), {})).sort((a, b) => b[1] - a[1]);
|
|
292
|
+
return [
|
|
293
|
+
`${all.length} designs in the local catalogue`,
|
|
294
|
+
`Shelves: ${by("shelf").map(([k, v]) => `${k} ${v}`).join(" · ")}`,
|
|
295
|
+
`Themes: ${by("theme").map(([k, v]) => `${k} ${v}`).join(" · ")}`,
|
|
296
|
+
].join("\n");
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
export { addNote };
|
package/src/robots.mjs
ADDED
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
// Polite looking for `palate research`: robots.txt (RFC 9309) for every page palate captures, one request at a
|
|
2
|
+
// time per host with a few seconds between them, and only public http(s) pages. palate looks at a page the way a
|
|
3
|
+
// designer browsing would, on the user's machine and only when they ask for a design; anything a site asks bots
|
|
4
|
+
// not to read is skipped, never worked around.
|
|
5
|
+
import { setTimeout as sleep } from "node:timers/promises";
|
|
6
|
+
|
|
7
|
+
// How palate names itself in robots.txt groups and in the browser's user agent.
|
|
8
|
+
export const AGENT = "palate-research";
|
|
9
|
+
export const UA_SUFFIX = `${AGENT}/0.1 (design research a person asked for; one page at a time; respects robots.txt)`;
|
|
10
|
+
export const HOST_GAP_MS = 3000; // between two requests to one host
|
|
11
|
+
export const MAX_CRAWL_DELAY_S = 30; // a site asking for more than this is skipped rather than kept waiting
|
|
12
|
+
|
|
13
|
+
// ---- parsing (RFC 9309: groups by user-agent, longest match wins, Allow wins a tie, * and $ in paths)
|
|
14
|
+
export function parseRobots(text) {
|
|
15
|
+
const groups = [];
|
|
16
|
+
let current = null;
|
|
17
|
+
let lastWasAgent = false;
|
|
18
|
+
for (const raw of String(text ?? "").split(/\r?\n/)) {
|
|
19
|
+
const line = raw.replace(/#.*$/, "").trim();
|
|
20
|
+
const m = line.match(/^([A-Za-z-]+)\s*:\s*(.*)$/);
|
|
21
|
+
if (!m) continue;
|
|
22
|
+
const key = m[1].toLowerCase();
|
|
23
|
+
const value = m[2].trim();
|
|
24
|
+
if (key === "user-agent") {
|
|
25
|
+
if (!current || !lastWasAgent) groups.push((current = { agents: [], rules: [], delay: null }));
|
|
26
|
+
current.agents.push(value.toLowerCase());
|
|
27
|
+
lastWasAgent = true;
|
|
28
|
+
continue;
|
|
29
|
+
}
|
|
30
|
+
lastWasAgent = false;
|
|
31
|
+
if (!current) continue;
|
|
32
|
+
if (key === "allow" || key === "disallow") {
|
|
33
|
+
if (key === "disallow" && !value) continue; // "Disallow:" with nothing allows everything
|
|
34
|
+
current.rules.push({ allow: key === "allow", path: value });
|
|
35
|
+
} else if (key === "crawl-delay") {
|
|
36
|
+
const n = Number(value);
|
|
37
|
+
if (Number.isFinite(n)) current.delay = n;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return groups;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// The group that applies to palate: the most specific user-agent that names it, else "*".
|
|
44
|
+
export function groupFor(groups, agents = [AGENT, "palate"]) {
|
|
45
|
+
const names = agents.map((a) => a.toLowerCase());
|
|
46
|
+
const own = groups.filter((g) => g.agents.some((a) => a !== "*" && names.some((n) => n.startsWith(a) || a.startsWith(n))));
|
|
47
|
+
if (own.length) return { rules: own.flatMap((g) => g.rules), delay: own.find((g) => g.delay != null)?.delay ?? null };
|
|
48
|
+
const star = groups.filter((g) => g.agents.includes("*"));
|
|
49
|
+
return { rules: star.flatMap((g) => g.rules), delay: star.find((g) => g.delay != null)?.delay ?? null };
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
const patternRe = (p) => new RegExp("^" + p.replace(/[.+?^{}()|[\]\\]/g, "\\$&").replace(/\*/g, ".*").replace(/\\\$$|\$$/, "$"));
|
|
53
|
+
|
|
54
|
+
// Is this path (with its query) allowed by these rules?
|
|
55
|
+
export function allowedBy(rules, pathAndQuery) {
|
|
56
|
+
let best = null;
|
|
57
|
+
for (const r of rules) {
|
|
58
|
+
if (!r.path) continue;
|
|
59
|
+
let p = r.path;
|
|
60
|
+
try {
|
|
61
|
+
p = decodeURI(p);
|
|
62
|
+
} catch {}
|
|
63
|
+
if (!patternRe(p).test(pathAndQuery)) continue;
|
|
64
|
+
const len = r.path.replace(/[*$]/g, "").length;
|
|
65
|
+
if (!best || len > best.len || (len === best.len && r.allow && !best.allow)) best = { len, allow: r.allow };
|
|
66
|
+
}
|
|
67
|
+
return best ? best.allow : true;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// ---- public pages only
|
|
71
|
+
const PRIVATE = /^(localhost|.*\.local|.*\.internal|.*\.localhost|127\.\d+\.\d+\.\d+|10\.\d+\.\d+\.\d+|192\.168\.\d+\.\d+|172\.(1[6-9]|2\d|3[01])\.\d+\.\d+|169\.254\.\d+\.\d+|0\.0\.0\.0|\[?::1\]?|\[?f[cd][0-9a-f]{2}:.*)$/i;
|
|
72
|
+
export function publicUrl(raw, { allowLocal = false } = {}) {
|
|
73
|
+
let u;
|
|
74
|
+
try {
|
|
75
|
+
u = new URL(/^[a-z]+:\/\//i.test(raw) ? raw : `https://${raw}`);
|
|
76
|
+
} catch {
|
|
77
|
+
return { ok: false, why: "not a URL" };
|
|
78
|
+
}
|
|
79
|
+
if (!/^https?:$/.test(u.protocol)) return { ok: false, why: "only http(s) pages" };
|
|
80
|
+
if (u.username || u.password) return { ok: false, why: "URLs with credentials are never opened" };
|
|
81
|
+
if (!allowLocal && PRIVATE.test(u.hostname)) return { ok: false, why: "not a public page" };
|
|
82
|
+
u.hash = "";
|
|
83
|
+
return { ok: true, url: u.toString(), host: u.host, origin: u.origin };
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
// ---- fetching robots.txt, once per origin per run
|
|
87
|
+
// 2xx: parse. 4xx: no rules (allowed). 5xx, a timeout or no answer: the site is treated as fully disallowed.
|
|
88
|
+
export async function robotsFor(origin, { cache = new Map(), timeout = 8000, fetchImpl = fetch } = {}) {
|
|
89
|
+
if (cache.has(origin)) return cache.get(origin);
|
|
90
|
+
const p = (async () => {
|
|
91
|
+
try {
|
|
92
|
+
const res = await fetchImpl(`${origin}/robots.txt`, { redirect: "follow", signal: AbortSignal.timeout(timeout), headers: { "user-agent": UA_SUFFIX } });
|
|
93
|
+
if (res.status >= 200 && res.status < 300) {
|
|
94
|
+
const text = (await res.text()).slice(0, 500_000);
|
|
95
|
+
return { status: res.status, ...groupFor(parseRobots(text)) };
|
|
96
|
+
}
|
|
97
|
+
if (res.status >= 400 && res.status < 500) return { status: res.status, rules: [], delay: null };
|
|
98
|
+
return { status: res.status, unreachable: true, rules: [{ allow: false, path: "/" }], delay: null };
|
|
99
|
+
} catch (e) {
|
|
100
|
+
return { status: 0, unreachable: true, error: String(e?.message ?? e).slice(0, 120), rules: [{ allow: false, path: "/" }], delay: null };
|
|
101
|
+
}
|
|
102
|
+
})();
|
|
103
|
+
cache.set(origin, p);
|
|
104
|
+
return p;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
// May palate look at this URL? { ok, why, delay } — delay in ms between requests to its host.
|
|
108
|
+
export async function mayLook(raw, opts = {}) {
|
|
109
|
+
const pub = publicUrl(raw, opts);
|
|
110
|
+
if (!pub.ok) return { ok: false, why: pub.why };
|
|
111
|
+
const robots = await robotsFor(pub.origin, opts);
|
|
112
|
+
const u = new URL(pub.url);
|
|
113
|
+
if (robots.unreachable) return { ok: false, url: pub.url, host: pub.host, why: `robots.txt could not be read (${robots.status || robots.error}); skipped, as RFC 9309 asks` };
|
|
114
|
+
if (!allowedBy(robots.rules, u.pathname + u.search)) return { ok: false, url: pub.url, host: pub.host, why: "robots.txt disallows this page" };
|
|
115
|
+
if (robots.delay != null && robots.delay > MAX_CRAWL_DELAY_S) return { ok: false, url: pub.url, host: pub.host, why: `robots.txt asks for ${robots.delay}s between requests; skipped` };
|
|
116
|
+
return { ok: true, url: pub.url, host: pub.host, delay: Math.max(HOST_GAP_MS, (robots.delay ?? 0) * 1000) };
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
// Runs jobs in parallel across hosts and one at a time per host, at least `gap` ms apart on one host.
|
|
120
|
+
// jobs: [{ host, run: async () => result, gap? }] → results in the same order.
|
|
121
|
+
export async function politeRun(jobs, { concurrency = 3, gap = HOST_GAP_MS } = {}) {
|
|
122
|
+
const byHost = new Map();
|
|
123
|
+
jobs.forEach((j, i) => byHost.set(j.host, [...(byHost.get(j.host) ?? []), { ...j, i }]));
|
|
124
|
+
const queues = [...byHost.values()];
|
|
125
|
+
const out = new Array(jobs.length);
|
|
126
|
+
let next = 0;
|
|
127
|
+
const worker = async () => {
|
|
128
|
+
while (next < queues.length) {
|
|
129
|
+
const q = queues[next++];
|
|
130
|
+
for (let k = 0; k < q.length; k++) {
|
|
131
|
+
if (k) await sleep(q[k].gap ?? gap);
|
|
132
|
+
try {
|
|
133
|
+
out[q[k].i] = await q[k].run();
|
|
134
|
+
} catch (e) {
|
|
135
|
+
out[q[k].i] = { error: String(e?.message ?? e) };
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
await Promise.all(Array.from({ length: Math.min(concurrency, queues.length) }, worker));
|
|
141
|
+
return out;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
// A page that answers with a bot wall or a CAPTCHA: palate skips it and never tries to get past it.
|
|
145
|
+
export const BOT_WALL = /captcha|recaptcha|hcaptcha|turnstile|challenges\.cloudflare\.com|cf-chl|just a moment\.\.\.|verify (that )?you are (a )?human|are you a robot|access denied|attention required|request blocked|bot detection|unusual traffic|px-captcha|datadome/i;
|
package/src/sections.mjs
ADDED
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
// The section archetypes library: palate's own vetted layouts for landing-page sections, one Markdown file each in
|
|
2
|
+
// kb/sections/*.md (YAML frontmatter + body), written by us (never copied from a paid kit). A planner picks one
|
|
3
|
+
// archetype per section (no two adjacent alike), the builder follows its recipe, and an independent judge checks the
|
|
4
|
+
// built section against the archetype's "Floor checks". kb/sections/_finish.md is the shared finishing standard
|
|
5
|
+
// (shadows, buttons, hairlines, radius nesting, textures, image treatment, type details, phone rules); files that
|
|
6
|
+
// start with "_" are not sections.
|
|
7
|
+
// loadSections() every archetype, frontmatter + body + sections
|
|
8
|
+
// matchSections({ kind, tags, exclude, avoidShapes, imagery, limit })
|
|
9
|
+
// ranked by fits overlap minus avoid overlap
|
|
10
|
+
// sectionBrief(id) one archetype as compact Markdown for a builder
|
|
11
|
+
// floorChecks(id) the judge's yes/no questions
|
|
12
|
+
// finishStandard() the contents of _finish.md
|
|
13
|
+
import fs from "node:fs";
|
|
14
|
+
import path from "node:path";
|
|
15
|
+
import { fileURLToPath } from "node:url";
|
|
16
|
+
import YAML from "yaml";
|
|
17
|
+
import { TAGS, loadMoves, sectionsOf } from "./moves.mjs";
|
|
18
|
+
import { KB_ROOT } from "./paths.mjs";
|
|
19
|
+
|
|
20
|
+
const KB_DIR = process.env.PALATE_KB ?? KB_ROOT;
|
|
21
|
+
export const SECTIONS_DIR = path.join(KB_DIR, "sections");
|
|
22
|
+
export const FINISH_FILE = path.join(SECTIONS_DIR, "_finish.md");
|
|
23
|
+
|
|
24
|
+
export const KINDS = ["hero", "demo", "features", "story", "gallery", "stats", "process", "pricing", "proof", "closing", "faq", "footer", "comparison", "about", "signup", "docs"];
|
|
25
|
+
// The structural key the planner compares to keep neighbouring sections from looking alike.
|
|
26
|
+
export const SHAPES = ["centred-stack", "split", "full-bleed-media", "object-first", "editorial-columns", "bento", "cards-row", "list-ruled", "stacked-rows", "table", "marquee", "single-statement", "timeline", "masonry", "form-led"];
|
|
27
|
+
// What the section is built around. none, type and texture can always be made in code; product-ui, photo and
|
|
28
|
+
// illustration need assets; any means it works with whichever of those the project has (but needs at least one).
|
|
29
|
+
export const IMAGERY = ["none", "product-ui", "photo", "illustration", "texture", "type", "any"];
|
|
30
|
+
export const ALWAYS_AVAILABLE = ["none", "type", "texture"];
|
|
31
|
+
export const ASSET_IMAGERY = ["product-ui", "photo", "illustration"];
|
|
32
|
+
export const DENSITIES = ["airy", "balanced", "dense"];
|
|
33
|
+
export const EFFORTS = ["s", "m", "l"];
|
|
34
|
+
export const REQUIRED = ["id", "name", "kind", "shape", "layout", "fits", "imagery", "density", "effort"];
|
|
35
|
+
export const LISTS = ["fits", "avoid", "needs"]; // must be present as keys (avoid and needs may be empty)
|
|
36
|
+
export const HEADINGS = ["When it's right", "Structure", "Finish", "Content", "States and motion", "Pitfalls", "Floor checks"];
|
|
37
|
+
export const MIN_FLOOR_CHECKS = 5;
|
|
38
|
+
|
|
39
|
+
const list = (v) => (Array.isArray(v) ? v : v == null || v === "" ? [] : [v]).map((x) => String(x).trim()).filter(Boolean);
|
|
40
|
+
const csv = (v) => list(v).flatMap((x) => x.split(",")).map((x) => x.trim()).filter(Boolean);
|
|
41
|
+
|
|
42
|
+
// The questions under "## Floor checks": one per list item ("- …", "* …" or "1. …"); continuation lines are joined.
|
|
43
|
+
export function checksOf(text = "") {
|
|
44
|
+
const out = [];
|
|
45
|
+
for (const line of text.split("\n")) {
|
|
46
|
+
const item = line.match(/^\s*(?:[-*]|\d+[.)])\s+(.+?)\s*$/);
|
|
47
|
+
if (item) out.push(item[1]);
|
|
48
|
+
else if (out.length && line.trim()) out[out.length - 1] += ` ${line.trim()}`;
|
|
49
|
+
}
|
|
50
|
+
return out;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function parseSection(src, file = "") {
|
|
54
|
+
const m = src.replace(/\r\n/g, "\n").match(/^---\n([\s\S]*?)\n---\n?([\s\S]*)$/);
|
|
55
|
+
if (!m) throw new Error(`${path.basename(file)}: no frontmatter`);
|
|
56
|
+
const meta = YAML.parse(m[1]) ?? {};
|
|
57
|
+
const body = m[2].trim();
|
|
58
|
+
const sections = sectionsOf(body);
|
|
59
|
+
return {
|
|
60
|
+
...meta,
|
|
61
|
+
fits: list(meta.fits),
|
|
62
|
+
avoid: list(meta.avoid),
|
|
63
|
+
needs: list(meta.needs),
|
|
64
|
+
moves: list(meta.moves),
|
|
65
|
+
present: Object.keys(meta),
|
|
66
|
+
body,
|
|
67
|
+
sections,
|
|
68
|
+
checks: checksOf(sections["Floor checks"]),
|
|
69
|
+
file,
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
let cache = null;
|
|
74
|
+
export function loadSections({ fresh = false } = {}) {
|
|
75
|
+
if (cache && !fresh) return cache;
|
|
76
|
+
if (!fs.existsSync(SECTIONS_DIR)) return (cache = []);
|
|
77
|
+
cache = fs
|
|
78
|
+
.readdirSync(SECTIONS_DIR)
|
|
79
|
+
.filter((f) => f.endsWith(".md") && !f.startsWith("_"))
|
|
80
|
+
.sort()
|
|
81
|
+
.map((f) => {
|
|
82
|
+
const file = path.join(SECTIONS_DIR, f);
|
|
83
|
+
return parseSection(fs.readFileSync(file, "utf8"), file);
|
|
84
|
+
});
|
|
85
|
+
return cache;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function getSection(id) {
|
|
89
|
+
return loadSections().find((s) => s.id === id) ?? null;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
let movesKnown = null;
|
|
93
|
+
const knownMoves = () => (movesKnown ??= new Set(loadMoves().map((m) => m.id)));
|
|
94
|
+
|
|
95
|
+
// Problems with one archetype (missing fields, unknown words, missing headings, too few floor checks, no wireframe);
|
|
96
|
+
// [] when it is sound. `moves` (optional) must name real moves in kb/moves.
|
|
97
|
+
export function lintSection(s, { moves = knownMoves() } = {}) {
|
|
98
|
+
const p = [];
|
|
99
|
+
for (const k of REQUIRED) if (s[k] == null || s[k] === "") p.push(`missing ${k}`);
|
|
100
|
+
for (const k of LISTS) if (!(s.present ?? []).includes(k)) p.push(`missing ${k}`);
|
|
101
|
+
if (s.id && !/^[a-z0-9]+(-[a-z0-9]+)*$/.test(s.id)) p.push(`id ${s.id} is not kebab-case`);
|
|
102
|
+
if (s.file && s.id && path.basename(s.file, ".md") !== s.id) p.push(`file name should be ${s.id}.md`);
|
|
103
|
+
if (s.kind && !KINDS.includes(s.kind)) p.push(`unknown kind ${s.kind}`);
|
|
104
|
+
if (s.shape && !SHAPES.includes(s.shape)) p.push(`unknown shape ${s.shape}`);
|
|
105
|
+
if (s.imagery && !IMAGERY.includes(s.imagery)) p.push(`unknown imagery ${s.imagery}`);
|
|
106
|
+
if (s.density && !DENSITIES.includes(s.density)) p.push(`density must be airy, balanced or dense`);
|
|
107
|
+
if (s.effort && !EFFORTS.includes(s.effort)) p.push(`effort must be s, m or l`);
|
|
108
|
+
if (!s.fits?.length) p.push("fits is empty");
|
|
109
|
+
for (const t of [...(s.fits ?? []), ...(s.avoid ?? [])]) if (!TAGS.includes(t)) p.push(`unknown tag ${t}`);
|
|
110
|
+
for (const t of s.fits ?? []) if ((s.avoid ?? []).includes(t)) p.push(`${t} is in both fits and avoid`);
|
|
111
|
+
for (const id of s.moves ?? []) if (!moves.has(id)) p.push(`move ${id} does not exist`);
|
|
112
|
+
for (const h of HEADINGS) if (!s.sections?.[h]) p.push(`missing section "${h}"`);
|
|
113
|
+
if (s.sections?.Structure && !/```[\s\S]*?\n[\s\S]*?```/.test(s.sections.Structure)) p.push("Structure has no ASCII wireframe in a ``` block");
|
|
114
|
+
const checks = s.checks ?? [];
|
|
115
|
+
if (checks.length < MIN_FLOOR_CHECKS) p.push(`only ${checks.length} floor checks (need ${MIN_FLOOR_CHECKS}+)`);
|
|
116
|
+
for (const q of checks) if (!q.trim().endsWith("?")) p.push(`floor check is not a question: "${q.slice(0, 60)}"`);
|
|
117
|
+
return p;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
// A query tag matches a section's tag exactly, or as a family ("playful" ~ "playful-kids") at half weight.
|
|
121
|
+
const near = (q, t) => q !== t && (t.startsWith(`${q}-`) || q.startsWith(`${t}-`));
|
|
122
|
+
const hits = (query, tags) => {
|
|
123
|
+
const exact = query.filter((q) => tags.includes(q));
|
|
124
|
+
const partial = query.filter((q) => !exact.includes(q) && tags.some((t) => near(q, t)));
|
|
125
|
+
return { exact, partial };
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Ranks archetypes for one section of a plan. Score = fits overlap (1 per exact tag, 0.5 per family match) minus
|
|
130
|
+
* avoid overlap (1.5 per exact tag, 0.75 per family match), plus a little for a focused archetype (its fits mostly
|
|
131
|
+
* matched). Filters:
|
|
132
|
+
* kind one kind or several ("hero", "story,gallery")
|
|
133
|
+
* exclude archetype ids to leave out (used elsewhere on the page)
|
|
134
|
+
* avoidShapes shapes to leave out (the neighbouring sections' shapes, so no two adjacent sections look alike)
|
|
135
|
+
* imagery what the project can supply ("photo", ["product-ui", "photo"]); archetypes built around imagery it
|
|
136
|
+
* lacks are dropped. none, type and texture are always available; any needs at least one of product-ui,
|
|
137
|
+
* photo or illustration. Omit to keep everything.
|
|
138
|
+
* With tags, archetypes that score below zero are dropped unless nothing else is left. limit 0 = all.
|
|
139
|
+
*/
|
|
140
|
+
export function matchSections({ kind, tags = [], exclude = [], avoidShapes = [], limit = 3, imagery } = {}) {
|
|
141
|
+
const q = [...new Set(csv(tags).map((t) => t.toLowerCase()))];
|
|
142
|
+
const kinds = csv(kind);
|
|
143
|
+
const skip = new Set(csv(exclude));
|
|
144
|
+
const noShape = new Set(csv(avoidShapes));
|
|
145
|
+
const have = imagery == null ? null : new Set([...ALWAYS_AVAILABLE, ...csv(imagery)]);
|
|
146
|
+
if (have && ASSET_IMAGERY.some((k) => have.has(k))) have.add("any");
|
|
147
|
+
let rows = loadSections()
|
|
148
|
+
.filter((s) => !skip.has(s.id))
|
|
149
|
+
.filter((s) => !kinds.length || kinds.includes(s.kind))
|
|
150
|
+
.filter((s) => !noShape.has(s.shape))
|
|
151
|
+
.filter((s) => !have || have.has(s.imagery))
|
|
152
|
+
.map((s) => {
|
|
153
|
+
const f = hits(q, s.fits);
|
|
154
|
+
const a = hits(q, s.avoid);
|
|
155
|
+
const fit = f.exact.length + 0.5 * f.partial.length;
|
|
156
|
+
const focus = s.fits.length ? fit / s.fits.length : 0;
|
|
157
|
+
const score = q.length ? Math.round((fit - 1.5 * a.exact.length - 0.75 * a.partial.length + 0.25 * focus) * 100) / 100 : 0;
|
|
158
|
+
const parts = [];
|
|
159
|
+
if (fit) parts.push(`fits ${[...f.exact, ...f.partial.map((t) => `~${t}`)].join(", ")}`);
|
|
160
|
+
if (a.exact.length || a.partial.length) parts.push(`but avoid ${[...a.exact, ...a.partial.map((t) => `~${t}`)].join(", ")}`);
|
|
161
|
+
parts.push(`${s.kind}, ${s.shape}, imagery ${s.imagery}, effort ${s.effort}`);
|
|
162
|
+
return { id: s.id, name: s.name, kind: s.kind, shape: s.shape, layout: s.layout, imagery: s.imagery, density: s.density, effort: s.effort, score, reason: parts.join("; "), section: s };
|
|
163
|
+
});
|
|
164
|
+
if (q.length) {
|
|
165
|
+
const ok = rows.filter((r) => r.score >= 0);
|
|
166
|
+
if (ok.length) rows = ok;
|
|
167
|
+
}
|
|
168
|
+
rows.sort((a, b) => b.score - a.score || a.id.localeCompare(b.id));
|
|
169
|
+
const n = Math.max(0, Number(limit) || 0);
|
|
170
|
+
return n ? rows.slice(0, n) : rows;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/** The judge's questions for one archetype ([] for an unknown id). YES = good. */
|
|
174
|
+
export function floorChecks(id) {
|
|
175
|
+
return getSection(id)?.checks ?? [];
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/** One archetype (or several, comma-separated or an array) as compact Markdown for a builder. */
|
|
179
|
+
export function sectionBrief(ids) {
|
|
180
|
+
const out = [];
|
|
181
|
+
for (const id of csv(ids)) {
|
|
182
|
+
const s = getSection(id);
|
|
183
|
+
if (!s) {
|
|
184
|
+
out.push(`### ${id}\n(no such section archetype)`);
|
|
185
|
+
continue;
|
|
186
|
+
}
|
|
187
|
+
out.push(
|
|
188
|
+
[
|
|
189
|
+
`### ${s.name} (${s.id}) · ${s.kind}, ${s.shape}`,
|
|
190
|
+
`- layout: ${s.layout}`,
|
|
191
|
+
`- imagery: ${s.imagery} · density: ${s.density} · effort: ${s.effort}`,
|
|
192
|
+
s.needs.length ? `- needs: ${s.needs.join("; ")}` : null,
|
|
193
|
+
`- fits: ${s.fits.join(", ")}${s.avoid.length ? ` · avoid: ${s.avoid.join(", ")}` : ""}`,
|
|
194
|
+
s.moves.length ? `- pairs with moves: ${s.moves.join(", ")}` : null,
|
|
195
|
+
`- shared recipes (shadows, button craft, hairlines, textures, type, phone rules): kb/sections/_finish.md; the page's button language: kb/sections/_buttons.md`,
|
|
196
|
+
"",
|
|
197
|
+
s.body,
|
|
198
|
+
]
|
|
199
|
+
.filter((l) => l != null)
|
|
200
|
+
.join("\n"),
|
|
201
|
+
);
|
|
202
|
+
}
|
|
203
|
+
return out.join("\n\n");
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/** The shared finishing standard (kb/sections/_finish.md) without its frontmatter; "" when it is missing. */
|
|
207
|
+
export function finishStandard() {
|
|
208
|
+
if (!fs.existsSync(FINISH_FILE)) return "";
|
|
209
|
+
return fs.readFileSync(FINISH_FILE, "utf8").replace(/\r\n/g, "\n").replace(/^---\n[\s\S]*?\n---\n?/, "").trim();
|
|
210
|
+
}
|