"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.getServerSideProps = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const footer_1 = __importDefault(require("components/landing/footer"));
const header_1 = __importDefault(require("components/landing/header"));
const head_1 = __importDefault(require("components/landing/head"));
const antd_1 = require("antd");
const with_customize_1 = __importDefault(require("lib/with-customize"));
const customize_1 = require("lib/customize");
const config_1 = require("lib/config");
function FERPA({ customize }) {
    return ((0, jsx_runtime_1.jsxs)(customize_1.Customize, { value: customize, children: [(0, jsx_runtime_1.jsx)(head_1.default, { title: "FERPA Policy" }), (0, jsx_runtime_1.jsxs)(antd_1.Layout, { children: [(0, jsx_runtime_1.jsx)(header_1.default, { page: "policies", subPage: "ferpa" }), (0, jsx_runtime_1.jsxs)(antd_1.Layout.Content, { style: {
                            backgroundColor: "white",
                        }, children: [(0, jsx_runtime_1.jsxs)("div", { style: {
                                    maxWidth: config_1.MAX_WIDTH,
                                    margin: "15px auto",
                                    padding: "15px",
                                    backgroundColor: "white",
                                }, children: [(0, jsx_runtime_1.jsxs)("div", { style: { textAlign: "center", color: "#444" }, children: [(0, jsx_runtime_1.jsx)("h1", { style: { fontSize: "28pt" }, children: "CoCalc - FERPA Compliance Statement" }), (0, jsx_runtime_1.jsx)("h2", { children: "Last Updated: September 1, 2020" })] }), (0, jsx_runtime_1.jsx)("div", { style: { fontSize: "12pt" }, children: (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("p", { children: "Educational institutions must take steps to ensure that the companies that they work with will help comply with FERPA. FERPA requires that reasonable measures be taken to ensure the security of personally identifiable information (PII) from student academic records. PII may only be shared with a student's instructor or other school officials (the school is responsible for responding to parent requests for information). Schools and educators are allowed to divulge 'directory information', such as name and email address, unless a student has asked to opt-out of directory information disclosure, which means that in most cases instructors may submit student email addresses when adding students to a course." }), (0, jsx_runtime_1.jsxs)("p", { children: ["SageMath, Inc. will make every effort to comply with FERPA disclosures policies. If you represent an academic institution and require access to a student's PII under FERPA, please contact", " ", (0, jsx_runtime_1.jsx)("a", { href: "mailto:office@sagemath.com", children: "office@sagemath.com" }), "."] })] }) })] }), (0, jsx_runtime_1.jsx)(footer_1.default, {})] })] })] }));
}
exports.default = FERPA;
async function getServerSideProps(context) {
    return await (0, with_customize_1.default)({ context });
}
exports.getServerSideProps = getServerSideProps;
//# sourceMappingURL=ferpa.js.map