




"""simple docstring"""

import argparse


a							      =     '''docs/source/_static/js/custom.js'''






def 		_snake_case	(   _snake_case				:   Dict				)       ->   Any:






      '''simple docstring'''


      with open(_snake_case							,    encoding='utf-8'							,    newline='\n'				) as f:
            _A     =  f.readlines()
      _A     =  0

      # First let's put the right version
      while not lines[index].startswith('const stableVersion ='				):
            index += 1
      _A     =  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(_snake_case							,    'w'							,    encoding='utf-8'							,    newline='\n'				) as f:
            f.writelines(_snake_case				)


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








import os




def  __UpperCAmelCase(   ):
       with open(os.path.dirname(lowercase_   ) + '''/p022_names.txt'''   ) as file:
              _lowerCamelCase				:  Optional[int]						=		str(file.readlines()[0]   )
              _lowerCamelCase				:  List[Any]						=		names.replace('''"'''			,     ''''''   ).split(''','''   )

       names.sort()

       _lowerCamelCase				:  Optional[int]						=		0
       _lowerCamelCase				:  Tuple						=		0

       for i, name in enumerate(lowercase_   ):
              for letter in name:
                     name_score += ord(lowercase_   ) - 64

              total_score += (i + 1) * name_score
              _lowerCamelCase				:  Optional[int]						=		0
       return total_score


if __name__ == "__main__":
       print(solution())

