// @bun
// src/components/docs/comparison/ComparisonAutomationPlatformsPage.tsx
import { jsx, jsxs } from "react/jsx-runtime";
function ComparisonAutomationPlatformsPage() {
  return /* @__PURE__ */ jsxs("div", {
    className: "space-y-8",
    children: [
      /* @__PURE__ */ jsxs("div", {
        className: "space-y-4",
        children: [
          /* @__PURE__ */ jsx("h1", {
            className: "text-4xl font-bold",
            children: "Automation platforms"
          }),
          /* @__PURE__ */ jsx("p", {
            className: "text-muted-foreground",
            children: "Automation platforms connect apps and automate tasks through triggers and actions. They serve operations and non-technical users well but stop short of generating full applications or enforcing fine-grained policies."
          })
        ]
      }),
      /* @__PURE__ */ jsxs("div", {
        className: "space-y-4",
        children: [
          /* @__PURE__ */ jsx("h2", {
            className: "text-2xl font-bold",
            children: "Feature comparison"
          }),
          /* @__PURE__ */ jsx("div", {
            className: "border-border/50 overflow-x-auto rounded-lg border",
            children: /* @__PURE__ */ jsxs("table", {
              className: "w-full text-left text-sm",
              children: [
                /* @__PURE__ */ jsx("thead", {
                  className: "bg-card/50",
                  children: /* @__PURE__ */ jsxs("tr", {
                    className: "border-border/50 border-b",
                    children: [
                      /* @__PURE__ */ jsx("th", {
                        className: "px-4 py-3 font-semibold",
                        children: "Feature"
                      }),
                      /* @__PURE__ */ jsx("th", {
                        className: "px-4 py-3 font-semibold",
                        children: "Zapier"
                      }),
                      /* @__PURE__ */ jsx("th", {
                        className: "px-4 py-3 font-semibold",
                        children: "Make (Integromat)"
                      }),
                      /* @__PURE__ */ jsx("th", {
                        className: "px-4 py-3 font-semibold",
                        children: "n8n"
                      }),
                      /* @__PURE__ */ jsx("th", {
                        className: "px-4 py-3 font-semibold",
                        children: "Pipedream"
                      })
                    ]
                  })
                }),
                /* @__PURE__ */ jsxs("tbody", {
                  className: "divide-border/50 divide-y",
                  children: [
                    /* @__PURE__ */ jsxs("tr", {
                      children: [
                        /* @__PURE__ */ jsx("td", {
                          className: "px-4 py-3 align-top font-semibold",
                          children: "Workflow model"
                        }),
                        /* @__PURE__ */ jsx("td", {
                          className: "px-4 py-3 align-top",
                          children: "Zaps: trigger + one or more actions"
                        }),
                        /* @__PURE__ */ jsx("td", {
                          className: "px-4 py-3 align-top",
                          children: "Real-time visual orchestration for AI agents and automations"
                        }),
                        /* @__PURE__ */ jsx("td", {
                          className: "px-4 py-3 align-top",
                          children: "Node-based workflow builder with drag-and-drop and code; build multi-step AI agents"
                        }),
                        /* @__PURE__ */ jsx("td", {
                          className: "px-4 py-3 align-top",
                          children: "Workflows connect any API; Pipedream Connect SDK adds integrations quickly"
                        })
                      ]
                    }),
                    /* @__PURE__ */ jsxs("tr", {
                      children: [
                        /* @__PURE__ */ jsx("td", {
                          className: "px-4 py-3 align-top font-semibold",
                          children: "Visual builder?"
                        }),
                        /* @__PURE__ */ jsx("td", {
                          className: "px-4 py-3 align-top",
                          children: "Yes (simple; web-based)."
                        }),
                        /* @__PURE__ */ jsx("td", {
                          className: "px-4 py-3 align-top",
                          children: "Yes; AI-assisted editor"
                        }),
                        /* @__PURE__ */ jsx("td", {
                          className: "px-4 py-3 align-top",
                          children: "Yes; visual canvas."
                        }),
                        /* @__PURE__ */ jsx("td", {
                          className: "px-4 py-3 align-top",
                          children: "Code-centric editor; no visual UI builder"
                        })
                      ]
                    }),
                    /* @__PURE__ */ jsxs("tr", {
                      children: [
                        /* @__PURE__ */ jsx("td", {
                          className: "px-4 py-3 align-top font-semibold",
                          children: "Self-host?"
                        }),
                        /* @__PURE__ */ jsx("td", {
                          className: "px-4 py-3 align-top",
                          children: "No (cloud only)."
                        }),
                        /* @__PURE__ */ jsx("td", {
                          className: "px-4 py-3 align-top",
                          children: "Cloud only."
                        }),
                        /* @__PURE__ */ jsx("td", {
                          className: "px-4 py-3 align-top",
                          children: "Yes (Docker, self-host)"
                        }),
                        /* @__PURE__ */ jsx("td", {
                          className: "px-4 py-3 align-top",
                          children: "Cloud only (hosted)."
                        })
                      ]
                    }),
                    /* @__PURE__ */ jsxs("tr", {
                      children: [
                        /* @__PURE__ */ jsx("td", {
                          className: "px-4 py-3 align-top font-semibold",
                          children: "Integrations & AI"
                        }),
                        /* @__PURE__ */ jsx("td", {
                          className: "px-4 py-3 align-top",
                          children: "Connects almost 8 000 apps; limited AI features."
                        }),
                        /* @__PURE__ */ jsx("td", {
                          className: "px-4 py-3 align-top",
                          children: "3 000+ pre-built apps; supports GenAI tools; GDPR/SOC2 and SSO"
                        }),
                        /* @__PURE__ */ jsx("td", {
                          className: "px-4 py-3 align-top",
                          children: "Integrates LLMs; allows JS or Python code and library imports; chatbots with Slack/Teams"
                        }),
                        /* @__PURE__ */ jsx("td", {
                          className: "px-4 py-3 align-top",
                          children: "MCP servers add 3 000+ APIs and 10 000+ tools to agents; AI agent builder prompts and deploys agents; SOC 2/ HIPAA/GDPR compliant"
                        })
                      ]
                    }),
                    /* @__PURE__ */ jsxs("tr", {
                      children: [
                        /* @__PURE__ */ jsx("td", {
                          className: "px-4 py-3 align-top font-semibold",
                          children: "Policy & UI generation"
                        }),
                        /* @__PURE__ */ jsx("td", {
                          className: "px-4 py-3 align-top",
                          children: "No policy engine; does not generate user interfaces."
                        }),
                        /* @__PURE__ */ jsx("td", {
                          className: "px-4 py-3 align-top",
                          children: "No policy engine; does not generate UIs beyond a workflow dashboard."
                        }),
                        /* @__PURE__ */ jsx("td", {
                          className: "px-4 py-3 align-top",
                          children: "No policy engine; no UI builder"
                        }),
                        /* @__PURE__ */ jsx("td", {
                          className: "px-4 py-3 align-top",
                          children: "No policy engine; does not generate UI."
                        })
                      ]
                    })
                  ]
                })
              ]
            })
          })
        ]
      }),
      /* @__PURE__ */ jsxs("div", {
        className: "space-y-3",
        children: [
          /* @__PURE__ */ jsx("h2", {
            className: "text-2xl font-bold",
            children: "Why ContractSpec differs"
          }),
          /* @__PURE__ */ jsxs("ul", {
            className: "text-muted-foreground space-y-2",
            children: [
              /* @__PURE__ */ jsxs("li", {
                children: [
                  /* @__PURE__ */ jsx("strong", {
                    children: "Full application generation"
                  }),
                  " \u2013 ContractSpec compiles specs into back-end, events and user interfaces for both web and mobile."
                ]
              }),
              /* @__PURE__ */ jsxs("li", {
                children: [
                  /* @__PURE__ */ jsx("strong", {
                    children: "Policy enforcement"
                  }),
                  " \u2013 A built-in policy engine governs PII access and mutations across the UI."
                ]
              }),
              /* @__PURE__ */ jsxs("li", {
                children: [
                  /* @__PURE__ */ jsx("strong", {
                    children: "Customisation via overlays"
                  }),
                  " \u2013 Non-technical users can safely personalise layouts while respecting policies."
                ]
              }),
              /* @__PURE__ */ jsxs("li", {
                children: [
                  /* @__PURE__ */ jsx("strong", {
                    children: "Extensible capabilities"
                  }),
                  " \u2013 Connect to external APIs and services via capability providers while maintaining type safety."
                ]
              })
            ]
          }),
          /* @__PURE__ */ jsx("p", {
            className: "text-muted-foreground",
            children: "Automation tools simplify integrations and tasks; ContractSpec goes further by generating a complete, policy-safe application around your data and processes."
          })
        ]
      })
    ]
  });
}

// src/components/docs/comparison/ComparisonEnterprisePlatformsPage.tsx
import Link from "@contractspec/lib.ui-link";
import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
function ComparisonEnterprisePlatformsPage() {
  return /* @__PURE__ */ jsxs2("div", {
    className: "space-y-8",
    children: [
      /* @__PURE__ */ jsxs2("div", {
        className: "space-y-4",
        children: [
          /* @__PURE__ */ jsx2("h1", {
            className: "text-4xl font-bold",
            children: "Enterprise orchestration platforms"
          }),
          /* @__PURE__ */ jsx2("p", {
            className: "text-muted-foreground",
            children: "Enterprise orchestration platforms manage mission-critical workloads and integrate deeply with ERP systems. They prioritise governance, reliability and compliance, but they do not provide spec-driven app generation or per-user customisation."
          })
        ]
      }),
      /* @__PURE__ */ jsxs2("div", {
        className: "space-y-4",
        children: [
          /* @__PURE__ */ jsx2("h2", {
            className: "text-2xl font-bold",
            children: "Redwood RunMyJobs"
          }),
          /* @__PURE__ */ jsxs2("p", {
            className: "text-muted-foreground",
            children: [
              /* @__PURE__ */ jsx2(Link, {
                href: "https://www.redwood.com/workload-automation/",
                className: "hover:text-foreground underline decoration-dotted underline-offset-4",
                target: "_blank",
                rel: "noreferrer",
                children: "RunMyJobs by Redwood"
              }),
              " ",
              "is a cloud-native service orchestration and automation platform. Key attributes include:"
            ]
          }),
          /* @__PURE__ */ jsxs2("ul", {
            className: "text-muted-foreground space-y-2",
            children: [
              /* @__PURE__ */ jsxs2("li", {
                children: [
                  /* @__PURE__ */ jsx2("strong", {
                    children: "Self-service portal."
                  }),
                  " Business users can run and customise workloads while IT ensures governance and compliance"
                ]
              }),
              /* @__PURE__ */ jsxs2("li", {
                children: [
                  /* @__PURE__ */ jsx2("strong", {
                    children: "Full-stack orchestration."
                  }),
                  " Integrates with both SAP and non-SAP systems; Redwood is recognised as a Leader in Gartner\u2019s Magic Quadrant for service orchestration"
                ]
              }),
              /* @__PURE__ */ jsxs2("li", {
                children: [
                  /* @__PURE__ */ jsx2("strong", {
                    children: "Observability and AI insights."
                  }),
                  " Dashboards and AI-enhanced analytics identify bottlenecks and forecast issues"
                ]
              }),
              /* @__PURE__ */ jsxs2("li", {
                children: [
                  /* @__PURE__ */ jsx2("strong", {
                    children: "Deep SAP integration."
                  }),
                  " Supports SAP\u2019s latest technologies and orchestrates mission-critical business processes"
                ]
              }),
              /* @__PURE__ */ jsxs2("li", {
                children: [
                  /* @__PURE__ */ jsx2("strong", {
                    children: "Connectors & wizard."
                  }),
                  " Provides pre-built connectors and a wizard to link on-prem and cloud systems"
                ]
              })
            ]
          })
        ]
      }),
      /* @__PURE__ */ jsxs2("div", {
        className: "space-y-4",
        children: [
          /* @__PURE__ */ jsx2("h3", {
            className: "text-xl font-semibold",
            children: "Comparison with ContractSpec"
          }),
          /* @__PURE__ */ jsx2("div", {
            className: "border-border/50 overflow-x-auto rounded-lg border",
            children: /* @__PURE__ */ jsxs2("table", {
              className: "w-full text-left text-sm",
              children: [
                /* @__PURE__ */ jsx2("thead", {
                  className: "bg-card/50",
                  children: /* @__PURE__ */ jsxs2("tr", {
                    className: "border-border/50 border-b",
                    children: [
                      /* @__PURE__ */ jsx2("th", {
                        className: "px-4 py-3 font-semibold",
                        children: "Aspect"
                      }),
                      /* @__PURE__ */ jsx2("th", {
                        className: "px-4 py-3 font-semibold",
                        children: "RunMyJobs"
                      }),
                      /* @__PURE__ */ jsx2("th", {
                        className: "px-4 py-3 font-semibold",
                        children: "ContractSpec"
                      })
                    ]
                  })
                }),
                /* @__PURE__ */ jsxs2("tbody", {
                  className: "divide-border/50 divide-y",
                  children: [
                    /* @__PURE__ */ jsxs2("tr", {
                      children: [
                        /* @__PURE__ */ jsx2("td", {
                          className: "px-4 py-3 align-top",
                          children: /* @__PURE__ */ jsx2("strong", {
                            children: "Target user"
                          })
                        }),
                        /* @__PURE__ */ jsx2("td", {
                          className: "px-4 py-3 align-top",
                          children: "Enterprise IT and operations teams automating SAP and mission-critical workflows."
                        }),
                        /* @__PURE__ */ jsx2("td", {
                          className: "px-4 py-3 align-top",
                          children: "Developers, product teams and SMBs wanting to generate policy-safe apps with customisable UIs."
                        })
                      ]
                    }),
                    /* @__PURE__ */ jsxs2("tr", {
                      children: [
                        /* @__PURE__ */ jsx2("td", {
                          className: "px-4 py-3 align-top",
                          children: /* @__PURE__ */ jsx2("strong", {
                            children: "Workload focus"
                          })
                        }),
                        /* @__PURE__ */ jsx2("td", {
                          className: "px-4 py-3 align-top",
                          children: "Service orchestration and job scheduling across ERP/legacy systems"
                        }),
                        /* @__PURE__ */ jsx2("td", {
                          className: "px-4 py-3 align-top",
                          children: "End-to-end application generation with back-end, UI and policies."
                        })
                      ]
                    }),
                    /* @__PURE__ */ jsxs2("tr", {
                      children: [
                        /* @__PURE__ */ jsx2("td", {
                          className: "px-4 py-3 align-top",
                          children: /* @__PURE__ */ jsx2("strong", {
                            children: "User interface"
                          })
                        }),
                        /* @__PURE__ */ jsx2("td", {
                          className: "px-4 py-3 align-top",
                          children: "Self-service portal to run/monitor jobs; no custom UI generation for new apps."
                        }),
                        /* @__PURE__ */ jsx2("td", {
                          className: "px-4 py-3 align-top",
                          children: "Generates React/React-Native UIs from specs; users can personalise layout via overlays."
                        })
                      ]
                    }),
                    /* @__PURE__ */ jsxs2("tr", {
                      children: [
                        /* @__PURE__ */ jsx2("td", {
                          className: "px-4 py-3 align-top",
                          children: /* @__PURE__ */ jsx2("strong", {
                            children: "Open source"
                          })
                        }),
                        /* @__PURE__ */ jsx2("td", {
                          className: "px-4 py-3 align-top",
                          children: "Proprietary SaaS; enterprise agreements."
                        }),
                        /* @__PURE__ */ jsx2("td", {
                          className: "px-4 py-3 align-top",
                          children: "Core compiler is proprietary; SDK and certain modules may be open-source; offers hosted and on-prem options."
                        })
                      ]
                    }),
                    /* @__PURE__ */ jsxs2("tr", {
                      children: [
                        /* @__PURE__ */ jsx2("td", {
                          className: "px-4 py-3 align-top",
                          children: /* @__PURE__ */ jsx2("strong", {
                            children: "Policy & personalisation"
                          })
                        }),
                        /* @__PURE__ */ jsx2("td", {
                          className: "px-4 py-3 align-top",
                          children: "IT controls governance; no per-user overlay concept."
                        }),
                        /* @__PURE__ */ jsx2("td", {
                          className: "px-4 py-3 align-top",
                          children: "Built-in policy engine and per-user overlays for safe personalisation."
                        })
                      ]
                    })
                  ]
                })
              ]
            })
          }),
          /* @__PURE__ */ jsx2("p", {
            className: "text-muted-foreground",
            children: "Redwood RunMyJobs is designed for orchestrating enterprise workloads and SAP processes. ContractSpec targets a different problem: generating complete applications from typed specs and letting end users adapt them safely."
          })
        ]
      })
    ]
  });
}

// src/components/docs/comparison/ComparisonInternalToolBuildersPage.tsx
import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
function ComparisonInternalToolBuildersPage() {
  return /* @__PURE__ */ jsxs3("div", {
    className: "space-y-8",
    children: [
      /* @__PURE__ */ jsxs3("div", {
        className: "space-y-4",
        children: [
          /* @__PURE__ */ jsx3("h1", {
            className: "text-4xl font-bold",
            children: "Internal-tool builders"
          }),
          /* @__PURE__ */ jsx3("p", {
            className: "text-muted-foreground",
            children: "Internal-tool builders let teams quickly assemble dashboards and admin panels. These platforms often provide drag-and-drop UIs and connectors to databases and APIs, but they rely on developers to write custom code for business logic and seldom enforce policies across surfaces."
          })
        ]
      }),
      /* @__PURE__ */ jsxs3("div", {
        className: "space-y-4",
        children: [
          /* @__PURE__ */ jsx3("h2", {
            className: "text-2xl font-bold",
            children: "Feature comparison"
          }),
          /* @__PURE__ */ jsx3("div", {
            className: "border-border/50 overflow-x-auto rounded-lg border",
            children: /* @__PURE__ */ jsxs3("table", {
              className: "w-full text-left text-sm",
              children: [
                /* @__PURE__ */ jsx3("thead", {
                  className: "bg-card/50",
                  children: /* @__PURE__ */ jsxs3("tr", {
                    className: "border-border/50 border-b",
                    children: [
                      /* @__PURE__ */ jsx3("th", {
                        className: "px-4 py-3 font-semibold",
                        children: "Feature"
                      }),
                      /* @__PURE__ */ jsx3("th", {
                        className: "px-4 py-3 font-semibold",
                        children: "Retool"
                      }),
                      /* @__PURE__ */ jsx3("th", {
                        className: "px-4 py-3 font-semibold",
                        children: "Appsmith"
                      }),
                      /* @__PURE__ */ jsx3("th", {
                        className: "px-4 py-3 font-semibold",
                        children: "ToolJet"
                      }),
                      /* @__PURE__ */ jsx3("th", {
                        className: "px-4 py-3 font-semibold",
                        children: "Budibase"
                      })
                    ]
                  })
                }),
                /* @__PURE__ */ jsxs3("tbody", {
                  className: "divide-border/50 divide-y",
                  children: [
                    /* @__PURE__ */ jsxs3("tr", {
                      children: [
                        /* @__PURE__ */ jsx3("td", {
                          className: "px-4 py-3 align-top font-semibold",
                          children: "UI builder"
                        }),
                        /* @__PURE__ */ jsx3("td", {
                          className: "px-4 py-3 align-top",
                          children: "Drag-and-drop canvas; shape UI components easily"
                        }),
                        /* @__PURE__ */ jsx3("td", {
                          className: "px-4 py-3 align-top",
                          children: "Visual builder with drag-and-drop widgets"
                        }),
                        /* @__PURE__ */ jsx3("td", {
                          className: "px-4 py-3 align-top",
                          children: "Drag-and-drop UI widgets (tables, charts, forms)"
                        }),
                        /* @__PURE__ */ jsx3("td", {
                          className: "px-4 py-3 align-top",
                          children: "Pre-built components and templates for mobile/desktop"
                        })
                      ]
                    }),
                    /* @__PURE__ */ jsxs3("tr", {
                      children: [
                        /* @__PURE__ */ jsx3("td", {
                          className: "px-4 py-3 align-top font-semibold",
                          children: "Custom code & logic"
                        }),
                        /* @__PURE__ */ jsx3("td", {
                          className: "px-4 py-3 align-top",
                          children: "Full code insertion anywhere via IDE"
                        }),
                        /* @__PURE__ */ jsx3("td", {
                          className: "px-4 py-3 align-top",
                          children: "Logic via JavaScript or natural-language prompts in a central IDE"
                        }),
                        /* @__PURE__ */ jsx3("td", {
                          className: "px-4 py-3 align-top",
                          children: "Supports business logic in JavaScript or Python queries"
                        }),
                        /* @__PURE__ */ jsx3("td", {
                          className: "px-4 py-3 align-top",
                          children: "Custom logic via JavaScript; plugins and external embeds"
                        })
                      ]
                    }),
                    /* @__PURE__ */ jsxs3("tr", {
                      children: [
                        /* @__PURE__ */ jsx3("td", {
                          className: "px-4 py-3 align-top font-semibold",
                          children: "Data connectors"
                        }),
                        /* @__PURE__ */ jsx3("td", {
                          className: "px-4 py-3 align-top",
                          children: "Wide support for databases and APIs (PostgreSQL, MongoDB, GraphQL, etc.)."
                        }),
                        /* @__PURE__ */ jsx3("td", {
                          className: "px-4 py-3 align-top",
                          children: "Connects to LLMs and databases"
                        }),
                        /* @__PURE__ */ jsx3("td", {
                          className: "px-4 py-3 align-top",
                          children: "Built-in database; connects to PostgreSQL, MongoDB, APIs, GraphQL, SaaS"
                        }),
                        /* @__PURE__ */ jsx3("td", {
                          className: "px-4 py-3 align-top",
                          children: "Connects to external databases, REST, CSV or built-in DB"
                        })
                      ]
                    }),
                    /* @__PURE__ */ jsxs3("tr", {
                      children: [
                        /* @__PURE__ */ jsx3("td", {
                          className: "px-4 py-3 align-top font-semibold",
                          children: "Open source & self-host"
                        }),
                        /* @__PURE__ */ jsx3("td", {
                          className: "px-4 py-3 align-top",
                          children: "Proprietary; cloud or on-prem subscription."
                        }),
                        /* @__PURE__ */ jsx3("td", {
                          className: "px-4 py-3 align-top",
                          children: "Open source (Apache-2.0); self-host or cloud."
                        }),
                        /* @__PURE__ */ jsx3("td", {
                          className: "px-4 py-3 align-top",
                          children: "Open source; self-host via Docker or cloud."
                        }),
                        /* @__PURE__ */ jsx3("td", {
                          className: "px-4 py-3 align-top",
                          children: "Open source; self-host via Docker/Kubernetes"
                        })
                      ]
                    }),
                    /* @__PURE__ */ jsxs3("tr", {
                      children: [
                        /* @__PURE__ */ jsx3("td", {
                          className: "px-4 py-3 align-top font-semibold",
                          children: "Policy & personalisation"
                        }),
                        /* @__PURE__ */ jsx3("td", {
                          className: "px-4 py-3 align-top",
                          children: "No built-in policy engine; personalisation limited to user roles."
                        }),
                        /* @__PURE__ */ jsx3("td", {
                          className: "px-4 py-3 align-top",
                          children: "No typed policy engine; customisation depends on user roles."
                        }),
                        /* @__PURE__ */ jsx3("td", {
                          className: "px-4 py-3 align-top",
                          children: "No policy engine; personalisation via user roles."
                        }),
                        /* @__PURE__ */ jsx3("td", {
                          className: "px-4 py-3 align-top",
                          children: "No policy engine; personalisation via RBAC & SSO"
                        })
                      ]
                    })
                  ]
                })
              ]
            })
          })
        ]
      }),
      /* @__PURE__ */ jsxs3("div", {
        className: "space-y-3",
        children: [
          /* @__PURE__ */ jsx3("h2", {
            className: "text-2xl font-bold",
            children: "ContractSpec\u2019s differences"
          }),
          /* @__PURE__ */ jsxs3("ul", {
            className: "text-muted-foreground space-y-2",
            children: [
              /* @__PURE__ */ jsxs3("li", {
                children: [
                  /* @__PURE__ */ jsx3("strong", {
                    children: "Typed specifications"
                  }),
                  " produce both the API and UI. You define capabilities, data views and workflows, and the compiler generates code, forms and screens\u2014no manual widget wiring."
                ]
              }),
              /* @__PURE__ */ jsxs3("li", {
                children: [
                  /* @__PURE__ */ jsx3("strong", {
                    children: "Policy enforcement"
                  }),
                  " at run time ensures PII and ABAC rules across the entire app."
                ]
              }),
              /* @__PURE__ */ jsxs3("li", {
                children: [
                  /* @__PURE__ */ jsx3("strong", {
                    children: "Overlay personalisation"
                  }),
                  " allows tenants and users to change layouts safely without code."
                ]
              }),
              /* @__PURE__ */ jsxs3("li", {
                children: [
                  /* @__PURE__ */ jsx3("strong", {
                    children: "Unified mobile/web runtime"
                  }),
                  " means you don\u2019t need separate builders for React Native vs web."
                ]
              })
            ]
          }),
          /* @__PURE__ */ jsx3("p", {
            className: "text-muted-foreground",
            children: "Internal-tool builders are useful for quick dashboards. ContractSpec extends this by generating the whole stack from specs and enforcing policies throughout."
          })
        ]
      })
    ]
  });
}

// src/components/docs/comparison/ComparisonOverviewPage.tsx
import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
function ComparisonOverviewPage() {
  return /* @__PURE__ */ jsxs4("div", {
    className: "space-y-8",
    children: [
      /* @__PURE__ */ jsxs4("div", {
        className: "space-y-4",
        children: [
          /* @__PURE__ */ jsx4("h1", {
            className: "text-4xl font-bold",
            children: "Comparison overview"
          }),
          /* @__PURE__ */ jsx4("p", {
            className: "text-muted-foreground",
            children: "ContractSpec sits at the intersection of several tool categories. To appreciate its unique offering\u2014typed specifications for back-end, front-end, workflows and policies with a unified web/mobile runtime\u2014this section compares it to related products."
          }),
          /* @__PURE__ */ jsxs4("p", {
            className: "text-muted-foreground",
            children: [
              "ContractSpec uses ",
              /* @__PURE__ */ jsx4("strong", {
                children: "runtime adapters"
              }),
              " to serve typed",
              " ",
              /* @__PURE__ */ jsx4("strong", {
                children: "Operations"
              }),
              " (Commands/Queries),",
              " ",
              /* @__PURE__ */ jsx4("strong", {
                children: "DataViews"
              }),
              ", ",
              /* @__PURE__ */ jsx4("strong", {
                children: "Workflows"
              }),
              ", and",
              " ",
              /* @__PURE__ */ jsx4("strong", {
                children: "Policies"
              }),
              " as REST/GraphQL/MCP endpoints. A",
              " ",
              /* @__PURE__ */ jsx4("strong", {
                children: "policy decision point"
              }),
              " governs every operation, and",
              " ",
              /* @__PURE__ */ jsx4("strong", {
                children: "OverlaySpecs"
              }),
              " allow non-technical users to personalise screens safely. Few competitors offer this combination of runtime type safety, policy enforcement, and end-user customisation."
            ]
          })
        ]
      }),
      /* @__PURE__ */ jsxs4("div", {
        className: "space-y-4",
        children: [
          /* @__PURE__ */ jsx4("h2", {
            className: "text-2xl font-bold",
            children: "Tool categories"
          }),
          /* @__PURE__ */ jsx4("div", {
            className: "border-border/50 overflow-x-auto rounded-lg border",
            children: /* @__PURE__ */ jsxs4("table", {
              className: "w-full text-left text-sm",
              children: [
                /* @__PURE__ */ jsx4("thead", {
                  className: "bg-card/50",
                  children: /* @__PURE__ */ jsxs4("tr", {
                    className: "border-border/50 border-b",
                    children: [
                      /* @__PURE__ */ jsx4("th", {
                        className: "px-4 py-3 font-semibold",
                        children: "Category"
                      }),
                      /* @__PURE__ */ jsx4("th", {
                        className: "px-4 py-3 font-semibold",
                        children: "Examples"
                      }),
                      /* @__PURE__ */ jsx4("th", {
                        className: "px-4 py-3 font-semibold",
                        children: "What they do"
                      }),
                      /* @__PURE__ */ jsx4("th", {
                        className: "px-4 py-3 font-semibold",
                        children: "Limitations"
                      })
                    ]
                  })
                }),
                /* @__PURE__ */ jsxs4("tbody", {
                  className: "divide-border/50 divide-y",
                  children: [
                    /* @__PURE__ */ jsxs4("tr", {
                      children: [
                        /* @__PURE__ */ jsx4("td", {
                          className: "px-4 py-3 align-top",
                          children: /* @__PURE__ */ jsx4("strong", {
                            children: "Workflow engines"
                          })
                        }),
                        /* @__PURE__ */ jsx4("td", {
                          className: "px-4 py-3 align-top",
                          children: "Prefect, Kestra, Temporal, Airflow, Dagster, Hatchet, Windmill"
                        }),
                        /* @__PURE__ */ jsx4("td", {
                          className: "px-4 py-3 align-top",
                          children: "Orchestrate code or data pipelines; handle retries, scheduling and observability"
                        }),
                        /* @__PURE__ */ jsx4("td", {
                          className: "px-4 py-3 align-top",
                          children: "Require writing code; no automatic UI generation or policy enforcement."
                        })
                      ]
                    }),
                    /* @__PURE__ */ jsxs4("tr", {
                      children: [
                        /* @__PURE__ */ jsx4("td", {
                          className: "px-4 py-3 align-top",
                          children: /* @__PURE__ */ jsx4("strong", {
                            children: "Internal-tool builders"
                          })
                        }),
                        /* @__PURE__ */ jsx4("td", {
                          className: "px-4 py-3 align-top",
                          children: "Retool, Appsmith, ToolJet, Budibase"
                        }),
                        /* @__PURE__ */ jsx4("td", {
                          className: "px-4 py-3 align-top",
                          children: "Drag-and-drop dashboards and admin panels; connect to databases/APIs"
                        }),
                        /* @__PURE__ */ jsx4("td", {
                          className: "px-4 py-3 align-top",
                          children: "No typed back-end spec; limited enforcement of policies; custom code glues logic."
                        })
                      ]
                    }),
                    /* @__PURE__ */ jsxs4("tr", {
                      children: [
                        /* @__PURE__ */ jsx4("td", {
                          className: "px-4 py-3 align-top",
                          children: /* @__PURE__ */ jsx4("strong", {
                            children: "Automation platforms"
                          })
                        }),
                        /* @__PURE__ */ jsx4("td", {
                          className: "px-4 py-3 align-top",
                          children: "Zapier, Make, n8n, Pipedream"
                        }),
                        /* @__PURE__ */ jsx4("td", {
                          className: "px-4 py-3 align-top",
                          children: "Connect apps via triggers and actions; visual or low-code interfaces"
                        }),
                        /* @__PURE__ */ jsx4("td", {
                          className: "px-4 py-3 align-top",
                          children: "Automate tasks but do not generate full apps or enforce per-field policies."
                        })
                      ]
                    }),
                    /* @__PURE__ */ jsxs4("tr", {
                      children: [
                        /* @__PURE__ */ jsx4("td", {
                          className: "px-4 py-3 align-top",
                          children: /* @__PURE__ */ jsx4("strong", {
                            children: "Enterprise orchestrators"
                          })
                        }),
                        /* @__PURE__ */ jsx4("td", {
                          className: "px-4 py-3 align-top",
                          children: "Redwood RunMyJobs"
                        }),
                        /* @__PURE__ */ jsx4("td", {
                          className: "px-4 py-3 align-top",
                          children: "Automate mission-critical workloads with self-service portals and SAP integrations"
                        }),
                        /* @__PURE__ */ jsx4("td", {
                          className: "px-4 py-3 align-top",
                          children: "Focus on IT workloads; not built for custom app creation or per-user customisation."
                        })
                      ]
                    })
                  ]
                })
              ]
            })
          }),
          /* @__PURE__ */ jsx4("p", {
            className: "text-muted-foreground",
            children: "Use the pages below to explore each group in detail and see how ContractSpec compares."
          })
        ]
      })
    ]
  });
}

// src/components/docs/comparison/ComparisonWindmillPage.tsx
import { jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
function ComparisonWindmillPage() {
  return /* @__PURE__ */ jsxs5("div", {
    className: "space-y-8",
    children: [
      /* @__PURE__ */ jsxs5("div", {
        className: "space-y-4",
        children: [
          /* @__PURE__ */ jsx5("h1", {
            className: "text-4xl font-bold",
            children: "Windmill"
          }),
          /* @__PURE__ */ jsxs5("p", {
            className: "text-muted-foreground",
            children: [
              "Windmill is an open-source platform that turns",
              " ",
              /* @__PURE__ */ jsx5("strong", {
                children: "scripts"
              }),
              " into endpoints, workflows and UIs. It seeks to remove boilerplate by generating interfaces and workflows around existing code"
            ]
          })
        ]
      }),
      /* @__PURE__ */ jsxs5("div", {
        className: "space-y-4",
        children: [
          /* @__PURE__ */ jsx5("h2", {
            className: "text-2xl font-bold",
            children: "Platform features"
          }),
          /* @__PURE__ */ jsxs5("ul", {
            className: "text-muted-foreground space-y-3",
            children: [
              /* @__PURE__ */ jsxs5("li", {
                children: [
                  /* @__PURE__ */ jsx5("strong", {
                    children: "Script-driven model."
                  }),
                  " Write scripts in TypeScript, Python, Go, PHP, Bash, C#, SQL or Rust; Windmill infers dependencies, creates lockfiles and JSON schemas, then serves minimal UIs automatically"
                ]
              }),
              /* @__PURE__ */ jsxs5("li", {
                children: [
                  /* @__PURE__ */ jsx5("strong", {
                    children: "Visual flow editor."
                  }),
                  " Compose scripts into workflows with retries, error handling, loops, branching, suspending flows and approval steps"
                ]
              }),
              /* @__PURE__ */ jsxs5("li", {
                children: [
                  /* @__PURE__ */ jsx5("strong", {
                    children: "Low-code UI builder."
                  }),
                  " Build dashboards and admin panels using inline scripts and trigger flows from the UI"
                ]
              }),
              /* @__PURE__ */ jsxs5("li", {
                children: [
                  /* @__PURE__ */ jsx5("strong", {
                    children: "Enterprise readiness."
                  }),
                  " Features include RBAC permissions, secret management, OAuth handling, CLI/git sync, scheduling and webhooks"
                ]
              }),
              /* @__PURE__ */ jsxs5("li", {
                children: [
                  /* @__PURE__ */ jsx5("strong", {
                    children: "Use cases."
                  }),
                  " Deploy scripts as webhooks or cron jobs; create \u201Capplicative workflows\u201D combining external APIs; build ETLs and interactive dashboards"
                ]
              }),
              /* @__PURE__ */ jsxs5("li", {
                children: [
                  /* @__PURE__ */ jsx5("strong", {
                    children: "Open source & self-hosting."
                  }),
                  " Windmill emphasises an open-source codebase and self-hosting options"
                ]
              })
            ]
          })
        ]
      }),
      /* @__PURE__ */ jsxs5("div", {
        className: "space-y-4",
        children: [
          /* @__PURE__ */ jsx5("h2", {
            className: "text-2xl font-bold",
            children: "Comparison with ContractSpec"
          }),
          /* @__PURE__ */ jsx5("div", {
            className: "border-border/50 overflow-x-auto rounded-lg border",
            children: /* @__PURE__ */ jsxs5("table", {
              className: "w-full text-left text-sm",
              children: [
                /* @__PURE__ */ jsx5("thead", {
                  className: "bg-card/50",
                  children: /* @__PURE__ */ jsxs5("tr", {
                    className: "border-border/50 border-b",
                    children: [
                      /* @__PURE__ */ jsx5("th", {
                        className: "px-4 py-3 font-semibold",
                        children: "Feature"
                      }),
                      /* @__PURE__ */ jsx5("th", {
                        className: "px-4 py-3 font-semibold",
                        children: "Windmill"
                      }),
                      /* @__PURE__ */ jsx5("th", {
                        className: "px-4 py-3 font-semibold",
                        children: "ContractSpec"
                      })
                    ]
                  })
                }),
                /* @__PURE__ */ jsxs5("tbody", {
                  className: "divide-border/50 divide-y",
                  children: [
                    /* @__PURE__ */ jsxs5("tr", {
                      children: [
                        /* @__PURE__ */ jsx5("td", {
                          className: "px-4 py-3 align-top",
                          children: /* @__PURE__ */ jsx5("strong", {
                            children: "Entry model"
                          })
                        }),
                        /* @__PURE__ */ jsx5("td", {
                          className: "px-4 py-3 align-top",
                          children: "Write scripts; platform auto-generates UI and workflows"
                        }),
                        /* @__PURE__ */ jsx5("td", {
                          className: "px-4 py-3 align-top",
                          children: "Define typed specs (Capabilities, DataViews, Workflows, Policies); compiler outputs back-end, front-end and forms."
                        })
                      ]
                    }),
                    /* @__PURE__ */ jsxs5("tr", {
                      children: [
                        /* @__PURE__ */ jsx5("td", {
                          className: "px-4 py-3 align-top",
                          children: /* @__PURE__ */ jsx5("strong", {
                            children: "Language support"
                          })
                        }),
                        /* @__PURE__ */ jsx5("td", {
                          className: "px-4 py-3 align-top",
                          children: "20+ languages via embedded runtimes"
                        }),
                        /* @__PURE__ */ jsx5("td", {
                          className: "px-4 py-3 align-top",
                          children: "Uses TypeScript/JavaScript for providers; supports other back-ends through capability providers."
                        })
                      ]
                    }),
                    /* @__PURE__ */ jsxs5("tr", {
                      children: [
                        /* @__PURE__ */ jsx5("td", {
                          className: "px-4 py-3 align-top",
                          children: /* @__PURE__ */ jsx5("strong", {
                            children: "UI generation"
                          })
                        }),
                        /* @__PURE__ */ jsx5("td", {
                          className: "px-4 py-3 align-top",
                          children: "Minimal UI forms from script parameters; low-code app builder"
                        }),
                        /* @__PURE__ */ jsx5("td", {
                          className: "px-4 py-3 align-top",
                          children: "Generates full web and mobile UIs from specs; user layouts can be customised via signed overlays."
                        })
                      ]
                    }),
                    /* @__PURE__ */ jsxs5("tr", {
                      children: [
                        /* @__PURE__ */ jsx5("td", {
                          className: "px-4 py-3 align-top",
                          children: /* @__PURE__ */ jsx5("strong", {
                            children: "Policy & personalization"
                          })
                        }),
                        /* @__PURE__ */ jsx5("td", {
                          className: "px-4 py-3 align-top",
                          children: "RBAC and secret management; no per-user overlay concept"
                        }),
                        /* @__PURE__ */ jsx5("td", {
                          className: "px-4 py-3 align-top",
                          children: "Built-in policy engine enforcing ABAC/PII on every render/mutate; overlays allow safe per-user customisation."
                        })
                      ]
                    }),
                    /* @__PURE__ */ jsxs5("tr", {
                      children: [
                        /* @__PURE__ */ jsx5("td", {
                          className: "px-4 py-3 align-top",
                          children: /* @__PURE__ */ jsx5("strong", {
                            children: "Open source"
                          })
                        }),
                        /* @__PURE__ */ jsx5("td", {
                          className: "px-4 py-3 align-top",
                          children: "Fully open source and self-hostable"
                        }),
                        /* @__PURE__ */ jsx5("td", {
                          className: "px-4 py-3 align-top",
                          children: "Closed-source core (SDK is open); offers hosted and on-prem modes."
                        })
                      ]
                    }),
                    /* @__PURE__ */ jsxs5("tr", {
                      children: [
                        /* @__PURE__ */ jsx5("td", {
                          className: "px-4 py-3 align-top",
                          children: /* @__PURE__ */ jsx5("strong", {
                            children: "Ideal for"
                          })
                        }),
                        /* @__PURE__ */ jsx5("td", {
                          className: "px-4 py-3 align-top",
                          children: "Teams wanting to expose scripts as APIs, workflows or dashboards without heavy infrastructure."
                        }),
                        /* @__PURE__ */ jsx5("td", {
                          className: "px-4 py-3 align-top",
                          children: "Teams needing a spec-driven platform that generates code and UI, enforces policies and lets non-technical users tailor the experience."
                        })
                      ]
                    })
                  ]
                })
              ]
            })
          }),
          /* @__PURE__ */ jsxs5("p", {
            className: "text-muted-foreground",
            children: [
              "Windmill excels at converting scripts into workflows and admin panels. ContractSpec takes a ",
              /* @__PURE__ */ jsx5("strong", {
                children: "spec-first"
              }),
              " approach, generating the entire stack and enforcing policies, making it suitable for long-lived applications that must evolve safely."
            ]
          })
        ]
      })
    ]
  });
}

// src/components/docs/comparison/ComparisonWorkflowEnginesPage.tsx
import { jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
function ComparisonWorkflowEnginesPage() {
  return /* @__PURE__ */ jsxs6("div", {
    className: "space-y-8",
    children: [
      /* @__PURE__ */ jsxs6("div", {
        className: "space-y-4",
        children: [
          /* @__PURE__ */ jsx6("h1", {
            className: "text-4xl font-bold",
            children: "Workflow engines"
          }),
          /* @__PURE__ */ jsx6("p", {
            className: "text-muted-foreground",
            children: "Workflow engines orchestrate long-running tasks and data pipelines. They provide retries, scheduling and visibility, but most expect developers to write code and do not generate user interfaces. Here\u2019s how the major engines compare to ContractSpec."
          })
        ]
      }),
      /* @__PURE__ */ jsxs6("div", {
        className: "space-y-4",
        children: [
          /* @__PURE__ */ jsx6("h2", {
            className: "text-2xl font-bold",
            children: "Key differences summary"
          }),
          /* @__PURE__ */ jsx6("div", {
            className: "border-border/50 overflow-x-auto rounded-lg border",
            children: /* @__PURE__ */ jsxs6("table", {
              className: "w-full text-left text-sm",
              children: [
                /* @__PURE__ */ jsx6("thead", {
                  className: "bg-card/50",
                  children: /* @__PURE__ */ jsxs6("tr", {
                    className: "border-border/50 border-b",
                    children: [
                      /* @__PURE__ */ jsx6("th", {
                        className: "px-4 py-3 font-semibold",
                        children: "Engine"
                      }),
                      /* @__PURE__ */ jsx6("th", {
                        className: "px-4 py-3 font-semibold",
                        children: "Core strengths"
                      }),
                      /* @__PURE__ */ jsx6("th", {
                        className: "px-4 py-3 font-semibold",
                        children: "UI generation?"
                      }),
                      /* @__PURE__ */ jsx6("th", {
                        className: "px-4 py-3 font-semibold",
                        children: "Policy/PII enforcement?"
                      }),
                      /* @__PURE__ */ jsx6("th", {
                        className: "px-4 py-3 font-semibold",
                        children: "Self-host?"
                      }),
                      /* @__PURE__ */ jsx6("th", {
                        className: "px-4 py-3 font-semibold",
                        children: "Primary use"
                      })
                    ]
                  })
                }),
                /* @__PURE__ */ jsxs6("tbody", {
                  className: "divide-border/50 divide-y",
                  children: [
                    /* @__PURE__ */ jsxs6("tr", {
                      children: [
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: /* @__PURE__ */ jsx6("strong", {
                            children: "Prefect"
                          })
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "Python-native; dynamic DAGs adapt to change; annotate code without rewriting; strong observability and audit logs"
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "No"
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "No"
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "Yes"
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "Data pipelines and dynamic workflows."
                        })
                      ]
                    }),
                    /* @__PURE__ */ jsxs6("tr", {
                      children: [
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: /* @__PURE__ */ jsx6("strong", {
                            children: "Kestra"
                          })
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "Declarative YAML; event-driven triggers; mix of code and no-code; write logic in Python/R/Java/Julia/Ruby; deploy anywhere"
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "No"
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "No"
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "Yes"
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "Data pipelines and hybrid orchestration."
                        })
                      ]
                    }),
                    /* @__PURE__ */ jsxs6("tr", {
                      children: [
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: /* @__PURE__ */ jsx6("strong", {
                            children: "Temporal"
                          })
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "Durable execution; workflows never lose state; multi-language SDKs; automatic retries"
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "No"
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "No"
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "Yes"
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "Durable microservice and business workflows."
                        })
                      ]
                    }),
                    /* @__PURE__ */ jsxs6("tr", {
                      children: [
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: /* @__PURE__ */ jsx6("strong", {
                            children: "Airflow"
                          })
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "Open-source; define workflows as Python code; schedule and monitor via UI; extensible via custom operators"
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "No"
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "No"
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "Yes"
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "Data ETL pipelines."
                        })
                      ]
                    }),
                    /* @__PURE__ */ jsxs6("tr", {
                      children: [
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: /* @__PURE__ */ jsx6("strong", {
                            children: "Dagster"
                          })
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "Data-asset model; local testing and reusable components; built-in data quality and catalog; orchestrates AI/data pipelines across multiple tools"
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "No"
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "No"
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "Yes"
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "Data/AI pipelines with strong observability."
                        })
                      ]
                    }),
                    /* @__PURE__ */ jsxs6("tr", {
                      children: [
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: /* @__PURE__ */ jsx6("strong", {
                            children: "Hatchet"
                          })
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "Modern engine focused on performance and durability; tasks and workflows as code; durable functions with guardrails and retries"
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "No"
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "No"
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "Yes"
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "High-throughput background jobs and microservices."
                        })
                      ]
                    }),
                    /* @__PURE__ */ jsxs6("tr", {
                      children: [
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: /* @__PURE__ */ jsx6("strong", {
                            children: "Windmill"
                          })
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "Multi-language scripts; auto-generates UI; integrated flow editor"
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "Yes (basic)"
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "RBAC & secrets only"
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "Yes"
                        }),
                        /* @__PURE__ */ jsx6("td", {
                          className: "px-4 py-3 align-top",
                          children: "Scripts into workflows and dashboards."
                        })
                      ]
                    })
                  ]
                })
              ]
            })
          })
        ]
      }),
      /* @__PURE__ */ jsxs6("div", {
        className: "space-y-3",
        children: [
          /* @__PURE__ */ jsx6("h2", {
            className: "text-2xl font-bold",
            children: "Why ContractSpec differs"
          }),
          /* @__PURE__ */ jsxs6("ul", {
            className: "text-muted-foreground space-y-2",
            children: [
              /* @__PURE__ */ jsxs6("li", {
                children: [
                  /* @__PURE__ */ jsx6("strong", {
                    children: "Spec-first generation"
                  }),
                  " \u2013 Instead of writing code, you define typed specs for capabilities, data views and workflows; the compiler outputs both back-end and front-end."
                ]
              }),
              /* @__PURE__ */ jsxs6("li", {
                children: [
                  /* @__PURE__ */ jsx6("strong", {
                    children: "Policy engine"
                  }),
                  " \u2013 Every render and mutate passes through an ABAC/PII policy decision point."
                ]
              }),
              /* @__PURE__ */ jsxs6("li", {
                children: [
                  /* @__PURE__ */ jsx6("strong", {
                    children: "Personalisation"
                  }),
                  " \u2013 Signed OverlaySpecs allow tenant/user-specific UI changes without touching code."
                ]
              }),
              /* @__PURE__ */ jsxs6("li", {
                children: [
                  /* @__PURE__ */ jsx6("strong", {
                    children: "Unified runtime"
                  }),
                  " \u2013 React/React-Native rendering ensures consistent experiences across web and mobile."
                ]
              })
            ]
          }),
          /* @__PURE__ */ jsx6("p", {
            className: "text-muted-foreground",
            children: "Workflow engines are excellent for orchestrating back-end tasks. ContractSpec builds on this by serving complete applications with runtime policy enforcement and user personalisation via TypeScript specs."
          })
        ]
      })
    ]
  });
}
export {
  ComparisonWorkflowEnginesPage,
  ComparisonWindmillPage,
  ComparisonOverviewPage,
  ComparisonInternalToolBuildersPage,
  ComparisonEnterprisePlatformsPage,
  ComparisonAutomationPlatformsPage
};
