import React from "react";

function BaseIcon({ size = 20, title, children, ...props }) {
  return (
    <svg
      xmlns="http://www.w3.org/2000/svg"
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      aria-hidden={title ? undefined : true}
      role={title ? "img" : undefined}
      {...props}
    >
      {title ? <title>{title}</title> : null}
      {children}
    </svg>
  );
}

function Slash() {
  return (
    <path
      d="M3 3l18 18"
      stroke="currentColor"
      strokeWidth="2.2"
      strokeLinecap="round"
    />
  );
}

export function IsHealthyIcon({ size = 20, title = "سالم", ...props }) {
  return (
    <BaseIcon size={size} title={title} {...props}>
      <path
        fill="currentColor"
        d="M12 22s8-4.5 8-12V5l-8-3l-8 3v5c0 7.5 8 12 8 12m-1-6l-4-4l1.4-1.4L11 13.2l5.6-5.6L18 9z"
      />
    </BaseIcon>
  );
}

export function IsDisabledIcon({ size = 20, title = "معلول", ...props }) {
  return (
    <BaseIcon size={size} title={title} {...props}>
      <path
        fill="currentColor"
        d="M10.588 5.413Q10 4.825 10 4t.588-1.412T12 2t1.413.588T14 4t-.587 1.413T12 6t-1.412-.587M17 22v-5h-5q-.825 0-1.412-.587T10 15V9q0-.825.588-1.412T12 7q.6 0 1.038.263t.937.837q1.375 1.65 2.488 2.263T19 11v2q-1.325 0-2.675-.575T14 11.05v3.45h3q.825 0 1.413.588T19 16.5V22zm-7 0q-2.075 0-3.537-1.463T5 17q0-1.8 1.138-3.175T9 12.1v2.05q-.875.35-1.437 1.113T7 17q0 1.25.875 2.125T10 20q.975 0 1.738-.562T12.85 18h2.05q-.35 1.725-1.725 2.863T10 22"
      />
    </BaseIcon>
  );
}

export function IsStudentIcon({ size = 20, title = "محصل", ...props }) {
  return (
    <BaseIcon size={size} title={title} {...props}>
      <path
        fill="currentColor"
        d="M21 17v-6.9L12 15L1 9l11-6l11 6v8zm-9 4l-7-3.8v-5l7 3.8l7-3.8v5z"
      />
    </BaseIcon>
  );
}

export function IsNotStudentIcon({ size = 20, title = "غیر محصل", ...props }) {
  return (
    <BaseIcon size={size} title={title} {...props}>
      <path
        fill="currentColor"
        d="M21 17v-6.9L12 15L1 9l11-6l11 6v8zm-9 4l-7-3.8v-5l7 3.8l7-3.8v5z"
      />
      <Slash />
    </BaseIcon>
  );
}

export function HasMosqueAttendanceIcon({
  size = 20,
  title = "رفت و آمد به مساجد و هیئات دارد",
  ...props
}) {
  return (
    <BaseIcon size={size} title={title} {...props}>
      <path
        fill="currentColor"
        d="M6.95 8.05q-.525 0-.737-.213T6 7.1q0-1 .475-1.85t1.275-1.4L12 1l4.25 2.85q.8.55 1.275 1.4T18 7.1q0 .525-.213.738t-.737.212zM1 21V8.725Q.55 8.45.275 8.013T0 7t.6-1.4T2 4q.8.775 1.4 1.6T4 7t-.275 1.013T3 8.724V13h2v-2q0-.625.4-1.2t1.15-.75h10.9q.75.175 1.15.75T19 11v2h2V8.725q-.45-.275-.725-.712T20 7t.6-1.4T22 4q.8.775 1.4 1.6T24 7t-.275 1.013t-.725.712V21h-9v-4q0-.825-.587-1.412T12 15t-1.412.588T10 17v4z"
      />
    </BaseIcon>
  );
}

export function NoMosqueAttendanceIcon({
  size = 20,
  title = "رفت و آمد به مساجد و هیئات ندارد",
  ...props
}) {
  return (
    <BaseIcon size={size} title={title} {...props}>
      <path
        fill="currentColor"
        d="M6.95 8.05q-.525 0-.737-.213T6 7.1q0-1 .475-1.85t1.275-1.4L12 1l4.25 2.85q.8.55 1.275 1.4T18 7.1q0 .525-.213.738t-.737.212zM1 21V8.725Q.55 8.45.275 8.013T0 7t.6-1.4T2 4q.8.775 1.4 1.6T4 7t-.275 1.013T3 8.724V13h2v-2q0-.625.4-1.2t1.15-.75h10.9q.75.175 1.15.75T19 11v2h2V8.725q-.45-.275-.725-.712T20 7t.6-1.4T22 4q.8.775 1.4 1.6T24 7t-.275 1.013t-.725.712V21h-9v-4q0-.825-.587-1.412T12 15t-1.412.588T10 17v4z"
      />
      <Slash />
    </BaseIcon>
  );
}

export function HasEstablishmentBeliefIcon({
  size = 20,
  title = "اعتقاد به نظام دارد",
  ...props
}) {
  return (
    <BaseIcon size={size} title={title} {...props}>
      <path fill="currentColor" d="M5 21V3h10l.4 2H21v10h-7l-.4-2H7v8z" />
    </BaseIcon>
  );
}

export function NoEstablishmentBeliefIcon({
  size = 20,
  title = "اعتقاد به نظام ندارد",
  ...props
}) {
  return (
    <BaseIcon size={size} title={title} {...props}>
      <path fill="currentColor" d="M5 21V3h10l.4 2H21v10h-7l-.4-2H7v8z" />
      <Slash />
    </BaseIcon>
  );
}

export function HasMigrationIcon({
  size = 20,
  title = "مهاجرت دارد",
  ...props
}) {
  return (
    <BaseIcon size={size} title={title} {...props}>
      <path
        fill="currentColor"
        d="M20.56 3.91c.59.59.59 1.54 0 2.12l-3.89 3.89l2.12 9.19l-1.41 1.42l-3.88-7.43L9.6 17l.36 2.47l-1.07 1.06l-1.76-3.18l-3.19-1.77L5 14.5l2.5.37L11.37 11L3.94 7.09l1.42-1.41l9.19 2.12l3.89-3.89c.56-.58 1.56-.58 2.12 0"
      />
    </BaseIcon>
  );
}

export function NoMigrationIcon({
  size = 20,
  title = "مهاجرت ندارد",
  ...props
}) {
  return (
    <BaseIcon size={size} title={title} {...props}>
      <path
        fill="currentColor"
        d="M20.56 3.91c.59.59.59 1.54 0 2.12l-3.89 3.89l2.12 9.19l-1.41 1.42l-3.88-7.43L9.6 17l.36 2.47l-1.07 1.06l-1.76-3.18l-3.19-1.77L5 14.5l2.5.37L11.37 11L3.94 7.09l1.42-1.41l9.19 2.12l3.89-3.89c.56-.58 1.56-.58 2.12 0"
      />
      <Slash />
    </BaseIcon>
  );
}

export function HasSystemGatheringIcon({
  size = 20,
  title = "حضور در تجمعات نظام دارد",
  ...props
}) {
  return (
    <BaseIcon size={size} title={title} {...props}>
      <path
        fill="currentColor"
        d="M0 18v-1.575q0-1.075 1.1-1.75T4 14q.325 0 .625.013t.575.062q-.35.525-.525 1.1t-.175 1.2V18zm6 0v-1.625q0-.8.438-1.463t1.237-1.162T9.588 13T12 12.75q1.325 0 2.438.25t1.912.75t1.225 1.163t.425 1.462V18zm13.5 0v-1.625q0-.65-.162-1.225t-.488-1.075q.275-.05.563-.062T20 14q1.8 0 2.9.663t1.1 1.762V18zM4 13q-.825 0-1.412-.587T2 11q0-.85.588-1.425T4 9q.85 0 1.425.575T6 11q0 .825-.575 1.413T4 13m16 0q-.825 0-1.412-.587T18 11q0-.85.588-1.425T20 9q.85 0 1.425.575T22 11q0 .825-.575 1.413T20 13m-8-1q-1.25 0-2.125-.875T9 9q0-1.275.875-2.137T12 6q1.275 0 2.138.863T15 9q0 1.25-.862 2.125T12 12"
      />
    </BaseIcon>
  );
}

export function NoSystemGatheringIcon({
  size = 20,
  title = "حضور در تجمعات نظام ندارد",
  ...props
}) {
  return (
    <BaseIcon size={size} title={title} {...props}>
      <path
        fill="currentColor"
        d="M0 18v-1.575q0-1.075 1.1-1.75T4 14q.325 0 .625.013t.575.062q-.35.525-.525 1.1t-.175 1.2V18zm6 0v-1.625q0-.8.438-1.463t1.237-1.162T9.588 13T12 12.75q1.325 0 2.438.25t1.912.75t1.225 1.163t.425 1.462V18zm13.5 0v-1.625q0-.65-.162-1.225t-.488-1.075q.275-.05.563-.062T20 14q1.8 0 2.9.663t1.1 1.762V18zM4 13q-.825 0-1.412-.587T2 11q0-.85.588-1.425T4 9q.85 0 1.425.575T6 11q0 .825-.575 1.413T4 13m16 0q-.825 0-1.412-.587T18 11q0-.85.588-1.425T20 9q.85 0 1.425.575T22 11q0 .825-.575 1.413T20 13m-8-1q-1.25 0-2.125-.875T9 9q0-1.275.875-2.137T12 6q1.275 0 2.138.863T15 9q0 1.25-.862 2.125T12 12"
      />
      <Slash />
    </BaseIcon>
  );
}

export function HasReligiousBeliefIcon({
  size = 20,
  title = "اعتقادات مذهبی دارد",
  ...props
}) {
  return (
    <BaseIcon size={size} title={title} {...props}>
      <path
        fill="currentColor"
        d="M17 9h-1.03c.14-1.81-.69-3.58-2.29-4.68l-3.12-2.14c-.34-.23-.79-.23-1.13 0L6.31 4.32C4.71 5.42 3.88 7.2 4.02 9H2.99c-.55 0-1 .45-1 1v2h15v1H2v8c0 .55.45 1 1 1h2v-4c0-2 1.5-3 1.5-3S8 16 8 18v4h4v-4c0-2 1.5-3 1.5-3s1.5 1 1.5 3v4h6c.55 0 1-.45 1-1V7h-5z"
      />
      <path
        fill="currentColor"
        d="M19.5 2A2.5 2.5 0 0 0 17 4.5V6h5V4.5A2.5 2.5 0 0 0 19.5 2"
      />
    </BaseIcon>
  );
}

export function NoReligiousBeliefIcon({
  size = 20,
  title = "اعتقادات مذهبی ندارد",
  ...props
}) {
  return (
    <BaseIcon size={size} title={title} {...props}>
      <path
        fill="currentColor"
        d="M17 9h-1.03c.14-1.81-.69-3.58-2.29-4.68l-3.12-2.14c-.34-.23-.79-.23-1.13 0L6.31 4.32C4.71 5.42 3.88 7.2 4.02 9H2.99c-.55 0-1 .45-1 1v2h15v1H2v8c0 .55.45 1 1 1h2v-4c0-2 1.5-3 1.5-3S8 16 8 18v4h4v-4c0-2 1.5-3 1.5-3s1.5 1 1.5 3v4h6c.55 0 1-.45 1-1V7h-5z"
      />
      <path
        fill="currentColor"
        d="M19.5 2A2.5 2.5 0 0 0 17 4.5V6h5V4.5A2.5 2.5 0 0 0 19.5 2"
      />
      <Slash />
    </BaseIcon>
  );
}

export function HasHijabIcon({ size = 20, title = "حجاب دارد", ...props }) {
  return (
    <BaseIcon size={size} title={title} {...props}>
      <path
        fill="currentColor"
        d="M12 18q3.35 0 5.675-2.337T20 10q0-.775-.125-1.487t-.4-1.388q-.675.425-1.425.65T16.5 8q-1.35 0-2.537-.612T12 5.65q-.775 1.125-1.963 1.738T7.5 8q-.8 0-1.55-.225t-1.425-.65q-.275.675-.4 1.388T4 10q0 3.325 2.338 5.663T12 18m-2.113-6.113q.363-.362.363-.887t-.363-.888T9 9.75t-.888.363T7.75 11t.363.888t.887.362t.888-.363m6 0q.362-.362.362-.887t-.363-.888T15 9.75t-.888.363t-.362.887t.363.888t.887.362t.888-.363M2.2 22q-.875 0-1.475-.65T.2 19.825l.9-9.875q.2-2.1 1.138-3.925t2.4-3.162t3.35-2.1T12 0t4.013.763t3.35 2.1t2.4 3.162T22.9 9.95l.9 9.875q.075.875-.525 1.525T21.8 22z"
      />
    </BaseIcon>
  );
}

export function NoHijabIcon({ size = 20, title = "حجاب ندارد", ...props }) {
  return (
    <BaseIcon size={size} title={title} {...props}>
      <path
        fill="currentColor"
        d="M8.113 13.888Q7.75 13.525 7.75 13t.363-.888T9 11.75t.888.363t.362.887t-.363.888T9 14.25t-.888-.363m6 0q-.362-.362-.362-.887t.363-.888t.887-.362t.888.363t.362.887t-.363.888t-.887.362t-.888-.363M12 20q3.35 0 5.675-2.325T20 12q0-.6-.075-1.162T19.65 9.75q-.525.125-1.05.188T17.5 10q-2.275 0-4.3-.975T9.75 6.3q-.8 1.95-2.287 3.388T4 11.85V12q0 3.35 2.325 5.675T12 20m0 2q-2.075 0-3.9-.787t-3.175-2.138T2.788 15.9T2 12t.788-3.9t2.137-3.175T8.1 2.788T12 2t3.9.788t3.175 2.137T21.213 8.1T22 12t-.788 3.9t-2.137 3.175t-3.175 2.138T12 22"
      />
    </BaseIcon>
  );
}

export function HasSocialAccountIcon({
  size = 20,
  title = "شبکه اجتماعی دارد",
  ...props
}) {
  return (
    <BaseIcon size={size} title={title} {...props}>
      <path
        fill="currentColor"
        d="M12 22q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12t.788-3.9t2.137-3.175T8.1 2.788T12 2t3.9.788t3.175 2.137T21.213 8.1T22 12v1.45q0 1.475-1.012 2.513T18.5 17q-.875 0-1.65-.375t-1.3-1.075q-.725.725-1.638 1.088T12 17q-2.075 0-3.537-1.463T7 12t1.463-3.537T12 7t3.538 1.463T17 12v1.45q0 .65.425 1.1T18.5 15t1.075-.45t.425-1.1V12q0-3.35-2.325-5.675T12 4T6.325 6.325T4 12t2.325 5.675T12 20h5v2zm2.125-7.875Q15 13.25 15 12t-.875-2.125T12 9t-2.125.875T9 12t.875 2.125T12 15t2.125-.875"
      />
    </BaseIcon>
  );
}

export function NoSocialAccountIcon({
  size = 20,
  title = "شبکه اجتماعی ندارد",
  ...props
}) {
  return (
    <BaseIcon size={size} title={title} {...props}>
      <path
        fill="currentColor"
        d="M12 22q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12t.788-3.9t2.137-3.175T8.1 2.788T12 2t3.9.788t3.175 2.137T21.213 8.1T22 12v1.45q0 1.475-1.012 2.513T18.5 17q-.875 0-1.65-.375t-1.3-1.075q-.725.725-1.638 1.088T12 17q-2.075 0-3.537-1.463T7 12t1.463-3.537T12 7t3.538 1.463T17 12v1.45q0 .65.425 1.1T18.5 15t1.075-.45t.425-1.1V12q0-3.35-2.325-5.675T12 4T6.325 6.325T4 12t2.325 5.675T12 20h5v2zm2.125-7.875Q15 13.25 15 12t-.875-2.125T12 9t-2.125.875T9 12t.875 2.125T12 15t2.125-.875"
      />
      <Slash />
    </BaseIcon>
  );
}
