


'''simple docstring'''



import math
from datetime import datetime, timedelta



def      UpperCAmelCase__   (      UpperCAmelCase_       :							int				)	->						datetime:
     __lowerCamelCase  :      Union[str, Any]														=						year % 19
     __lowerCamelCase  :      List[str]														=						year % 4
     __lowerCamelCase  :      Union[str, Any]														=						year % 7
     __lowerCamelCase  :      Tuple														=						math.floor(year / 1_00				)
     __lowerCamelCase  :      str														=						math.floor((13 + 8 * leap_day_inhibits) / 25				)
     __lowerCamelCase  :      Dict														=						leap_day_inhibits / 4
     __lowerCamelCase  :      Optional[Any]														=						(
         15 - lunar_orbit_correction + leap_day_inhibits - leap_day_reinstall_number
     ) % 30
     __lowerCamelCase  :      int														=						(4 + leap_day_inhibits - leap_day_reinstall_number) % 7

     # days to be added to March 21
     __lowerCamelCase  :      Dict														=						(19 * metonic_cycle + secular_moon_shift) % 30

     # PHM -> Paschal Full Moon
     __lowerCamelCase  :      Union[str, Any]														=						(
         2 * julian_leap_year
         + 4 * non_leap_year
         + 6 * days_to_add
         + century_starting_point
     ) % 7

     if days_to_add == 29 and days_from_phm_to_sunday == 6:
          return datetime(UpperCAmelCase_ ,       4 ,       19				)
     elif days_to_add == 28 and days_from_phm_to_sunday == 6:
          return datetime(UpperCAmelCase_ ,       4 ,       18				)
     else:
          return datetime(UpperCAmelCase_ ,       3 ,       22				) + timedelta(
              days=int(days_to_add + days_from_phm_to_sunday				)				)


if __name__ == "__main__":
      for year in (1994, 2000, 2010, 2021, 2023):
            A__						:   Optional[int]				=    """will be""" if year > datetime.now().year else """was"""
            print(f'''Easter in {year} {tense} {gauss_easter(year)}''')










'''simple docstring'''



import argparse


A__						:   Optional[Any]				=    """docs/source/_static/js/custom.js"""



def      UpperCAmelCase__   (      UpperCAmelCase_       :							Optional[int]				)	->						int:
     with open(UpperCAmelCase_ ,       encoding='utf-8' ,       newline='\n'				) as f:
          __lowerCamelCase  :      Dict														=						f.readlines()
     __lowerCamelCase  :      Tuple														=						0

     # First let's put the right version
     while not lines[index].startswith('const stableVersion ='				):
          index += 1
     __lowerCamelCase  :      Dict														=						F'const stableVersion = "v{version}"\n'

     # Then update the dictionary
     while not lines[index].startswith('const versionMapping = {'				):
          index += 1

     # We go until the end
     while not lines[index].startswith('}'				):
          index += 1
     # We add the new version at the end
     lines[index - 1] += F'    "v{version}": "v{version}",\n'

     with open(UpperCAmelCase_ ,       'w' ,       encoding='utf-8' ,       newline='\n'				) as f:
          f.writelines(UpperCAmelCase_				)


if __name__ == "__main__":
      A__						:   str				=    argparse.ArgumentParser()
      parser.add_argument("""--version""", help="""Release version.""")
      A__						:   Any				=    parser.parse_args()
      update_custom_js(args.version)






