export const docEditCopy = {
  NewYork: {
    prelimaryStatement: function (documentType, respondent, servingParty) {
      const docCopy =
        documentType && documentType === "interrogatories"
          ? "Interrogatories"
          : documentType && documentType === "admissions"
          ? "Request for Admissions"
          : documentType && documentType === "production"
          ? "Request for Production"
          : documentType && documentType.includes("combined")
          ? "Interrogatories and Request for Production"
          : null;

      const copyString = `COMES NOW, Respondent(s), ${respondent}, through counsel, in response to the ${docCopy}
        served by ${servingParty}, and states as follows:`;

      return (
        <div className="prelim-statement-container">
          <p>{copyString}</p>
        </div>
      );
    },
    caseNumber: "Index No.",
    versusText: "- against -",
  },
  NewJersey: {
    prelimaryStatement: function (documentType, respondent, servingParty) {
      const docCopy =
        documentType && documentType === "interrogatories"
          ? "Interrogatories"
          : documentType && documentType === "admissions"
          ? "Request for Admissions"
          : documentType && documentType === "production"
          ? "Request for Production"
          : documentType && documentType.includes("combined")
          ? "Interrogatories and Request for Production"
          : null;

      const copyString = `COMES NOW, Respondent(s), ${respondent}, through counsel, in response to the ${docCopy}
        served by ${servingParty}, and states as follows:`;

      return (
        <div className="prelim-statement-container">
          <p>{copyString}</p>
        </div>
      );
    },
    caseNumber: "Docket No.",
    versusText: "vs.",
  },
};
