Activate.ps1 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413
  1. <#
  2. .Synopsis
  3. Activate a Python virtual environment for the current PowerShell session.
  4. .Description
  5. Pushes the python executable for a virtual environment to the front of the
  6. $Env:PATH environment variable and sets the prompt to signify that you are
  7. in a Python virtual environment. Makes use of the command line switches as
  8. well as the `pyvenv.cfg` file values present in the virtual environment.
  9. .Parameter VenvDir
  10. Path to the directory that contains the virtual environment to activate. The
  11. default value for this is the parent of the directory that the Activate.ps1
  12. script is located within.
  13. .Parameter Prompt
  14. The prompt prefix to display when this virtual environment is activated. By
  15. default, this prompt is the name of the virtual environment folder (VenvDir)
  16. surrounded by parentheses and followed by a single space (ie. '(.venv) ').
  17. .Example
  18. Activate.ps1
  19. Activates the Python virtual environment that contains the Activate.ps1 script.
  20. .Example
  21. Activate.ps1 -Verbose
  22. Activates the Python virtual environment that contains the Activate.ps1 script,
  23. and shows extra information about the activation as it executes.
  24. .Example
  25. Activate.ps1 -VenvDir C:\Users\MyUser\Common\.venv
  26. Activates the Python virtual environment located in the specified location.
  27. .Example
  28. Activate.ps1 -Prompt "MyPython"
  29. Activates the Python virtual environment that contains the Activate.ps1 script,
  30. and prefixes the current prompt with the specified string (surrounded in
  31. parentheses) while the virtual environment is active.
  32. .Notes
  33. On Windows, it may be required to enable this Activate.ps1 script by setting the
  34. execution policy for the user. You can do this by issuing the following PowerShell
  35. command:
  36. PS C:\> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
  37. For more information on Execution Policies:
  38. https://go.microsoft.com/fwlink/?LinkID=135170
  39. #>
  40. Param(
  41. [Parameter(Mandatory = $false)]
  42. [String]
  43. $VenvDir,
  44. [Parameter(Mandatory = $false)]
  45. [String]
  46. $Prompt
  47. )
  48. <# Function declarations --------------------------------------------------- #>
  49. <#
  50. .Synopsis
  51. Remove all shell session elements added by the Activate script, including the
  52. addition of the virtual environment's Python executable from the beginning of
  53. the PATH variable.
  54. .Parameter NonDestructive
  55. If present, do not remove this function from the global namespace for the
  56. session.
  57. #>
  58. function global:deactivate ([switch]$NonDestructive) {
  59. # Revert to original values
  60. # The prior prompt:
  61. if (Test-Path -Path Function:_OLD_VIRTUAL_PROMPT) {
  62. Copy-Item -Path Function:_OLD_VIRTUAL_PROMPT -Destination Function:prompt
  63. Remove-Item -Path Function:_OLD_VIRTUAL_PROMPT
  64. }
  65. # The prior PYTHONHOME:
  66. if (Test-Path -Path Env:_OLD_VIRTUAL_PYTHONHOME) {
  67. Copy-Item -Path Env:_OLD_VIRTUAL_PYTHONHOME -Destination Env:PYTHONHOME
  68. Remove-Item -Path Env:_OLD_VIRTUAL_PYTHONHOME
  69. }
  70. # The prior PATH:
  71. if (Test-Path -Path Env:_OLD_VIRTUAL_PATH) {
  72. Copy-Item -Path Env:_OLD_VIRTUAL_PATH -Destination Env:PATH
  73. Remove-Item -Path Env:_OLD_VIRTUAL_PATH
  74. }
  75. # Just remove the VIRTUAL_ENV altogether:
  76. if (Test-Path -Path Env:VIRTUAL_ENV) {
  77. Remove-Item -Path env:VIRTUAL_ENV
  78. }
  79. # Just remove the _PYTHON_VENV_PROMPT_PREFIX altogether:
  80. if (Get-Variable -Name "_PYTHON_VENV_PROMPT_PREFIX" -ErrorAction SilentlyContinue) {
  81. Remove-Variable -Name _PYTHON_VENV_PROMPT_PREFIX -Scope Global -Force
  82. }
  83. # Leave deactivate function in the global namespace if requested:
  84. if (-not $NonDestructive) {
  85. Remove-Item -Path function:deactivate
  86. }
  87. }
  88. <#
  89. .Description
  90. Get-PyVenvConfig parses the values from the pyvenv.cfg file located in the
  91. given folder, and returns them in a map.
  92. For each line in the pyvenv.cfg file, if that line can be parsed into exactly
  93. two strings separated by `=` (with any amount of whitespace surrounding the =)
  94. then it is considered a `key = value` line. The left hand string is the key,
  95. the right hand is the value.
  96. If the value starts with a `'` or a `"` then the first and last character is
  97. stripped from the value before being captured.
  98. .Parameter ConfigDir
  99. Path to the directory that contains the `pyvenv.cfg` file.
  100. #>
  101. function Get-PyVenvConfig(
  102. [String]
  103. $ConfigDir
  104. ) {
  105. Write-Verbose "Given ConfigDir=$ConfigDir, obtain values in pyvenv.cfg"
  106. # Ensure the file exists, and issue a warning if it doesn't (but still allow the function to continue).
  107. $pyvenvConfigPath = Join-Path -Resolve -Path $ConfigDir -ChildPath 'pyvenv.cfg' -ErrorAction Continue
  108. # An empty map will be returned if no config file is found.
  109. $pyvenvConfig = @{ }
  110. if ($pyvenvConfigPath) {
  111. Write-Verbose "File exists, parse `key = value` lines"
  112. $pyvenvConfigContent = Get-Content -Path $pyvenvConfigPath
  113. $pyvenvConfigContent | ForEach-Object {
  114. $keyval = $PSItem -split "\s*=\s*", 2
  115. if ($keyval[0] -and $keyval[1]) {
  116. $val = $keyval[1]
  117. # Remove extraneous quotations around a string value.
  118. if ("'""".Contains($val.Substring(0, 1))) {
  119. $val = $val.Substring(1, $val.Length - 2)
  120. }
  121. $pyvenvConfig[$keyval[0]] = $val
  122. Write-Verbose "Adding Key: '$($keyval[0])'='$val'"
  123. }
  124. }
  125. }
  126. return $pyvenvConfig
  127. }
  128. <# Begin Activate script --------------------------------------------------- #>
  129. # Determine the containing directory of this script
  130. $VenvExecPath = Split-Path -Parent $MyInvocation.MyCommand.Definition
  131. $VenvExecDir = Get-Item -Path $VenvExecPath
  132. Write-Verbose "Activation script is located in path: '$VenvExecPath'"
  133. Write-Verbose "VenvExecDir Fullname: '$($VenvExecDir.FullName)"
  134. Write-Verbose "VenvExecDir Name: '$($VenvExecDir.Name)"
  135. # Set values required in priority: CmdLine, ConfigFile, Default
  136. # First, get the location of the virtual environment, it might not be
  137. # VenvExecDir if specified on the command line.
  138. if ($VenvDir) {
  139. Write-Verbose "VenvDir given as parameter, using '$VenvDir' to determine values"
  140. }
  141. else {
  142. Write-Verbose "VenvDir not given as a parameter, using parent directory name as VenvDir."
  143. $VenvDir = $VenvExecDir.Parent.FullName.TrimEnd("\\/")
  144. Write-Verbose "VenvDir=$VenvDir"
  145. }
  146. # Next, read the `pyvenv.cfg` file to determine any required value such
  147. # as `prompt`.
  148. $pyvenvCfg = Get-PyVenvConfig -ConfigDir $VenvDir
  149. # Next, set the prompt from the command line, or the config file, or
  150. # just use the name of the virtual environment folder.
  151. if ($Prompt) {
  152. Write-Verbose "Prompt specified as argument, using '$Prompt'"
  153. }
  154. else {
  155. Write-Verbose "Prompt not specified as argument to script, checking pyvenv.cfg value"
  156. if ($pyvenvCfg -and $pyvenvCfg['prompt']) {
  157. Write-Verbose " Setting based on value in pyvenv.cfg='$($pyvenvCfg['prompt'])'"
  158. $Prompt = $pyvenvCfg['prompt'];
  159. }
  160. else {
  161. Write-Verbose " Setting prompt based on parent's directory's name. (Is the directory name passed to venv module when creating the virtual environment)"
  162. Write-Verbose " Got leaf-name of $VenvDir='$(Split-Path -Path $venvDir -Leaf)'"
  163. $Prompt = Split-Path -Path $venvDir -Leaf
  164. }
  165. }
  166. Write-Verbose "Prompt = '$Prompt'"
  167. Write-Verbose "VenvDir='$VenvDir'"
  168. # Deactivate any currently active virtual environment, but leave the
  169. # deactivate function in place.
  170. deactivate -nondestructive
  171. # Now set the environment variable VIRTUAL_ENV, used by many tools to determine
  172. # that there is an activated venv.
  173. $env:VIRTUAL_ENV = $VenvDir
  174. if (-not $Env:VIRTUAL_ENV_DISABLE_PROMPT) {
  175. Write-Verbose "Setting prompt to '$Prompt'"
  176. # Set the prompt to include the env name
  177. # Make sure _OLD_VIRTUAL_PROMPT is global
  178. function global:_OLD_VIRTUAL_PROMPT { "" }
  179. Copy-Item -Path function:prompt -Destination function:_OLD_VIRTUAL_PROMPT
  180. New-Variable -Name _PYTHON_VENV_PROMPT_PREFIX -Description "Python virtual environment prompt prefix" -Scope Global -Option ReadOnly -Visibility Public -Value $Prompt
  181. function global:prompt {
  182. Write-Host -NoNewline -ForegroundColor Green "($_PYTHON_VENV_PROMPT_PREFIX) "
  183. _OLD_VIRTUAL_PROMPT
  184. }
  185. }
  186. # Clear PYTHONHOME
  187. if (Test-Path -Path Env:PYTHONHOME) {
  188. Copy-Item -Path Env:PYTHONHOME -Destination Env:_OLD_VIRTUAL_PYTHONHOME
  189. Remove-Item -Path Env:PYTHONHOME
  190. }
  191. # Add the venv to the PATH
  192. Copy-Item -Path Env:PATH -Destination Env:_OLD_VIRTUAL_PATH
  193. $Env:PATH = "$VenvExecDir$([System.IO.Path]::PathSeparator)$Env:PATH"
  194. # SIG # Begin signature block
  195. # MIIfoAYJKoZIhvcNAQcCoIIfkTCCH40CAQExDzANBglghkgBZQMEAgEFADB5Bgor
  196. # BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
  197. # KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCD50itNqbOCCDp6
  198. # 9ZnhKce5X7vV6KL67iKMbGTUZ4nf36CCDi8wggawMIIEmKADAgECAhAIrUCyYNKc
  199. # TJ9ezam9k67ZMA0GCSqGSIb3DQEBDAUAMGIxCzAJBgNVBAYTAlVTMRUwEwYDVQQK
  200. # EwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5jb20xITAfBgNV
  201. # BAMTGERpZ2lDZXJ0IFRydXN0ZWQgUm9vdCBHNDAeFw0yMTA0MjkwMDAwMDBaFw0z
  202. # NjA0MjgyMzU5NTlaMGkxCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5EaWdpQ2VydCwg
  203. # SW5jLjFBMD8GA1UEAxM4RGlnaUNlcnQgVHJ1c3RlZCBHNCBDb2RlIFNpZ25pbmcg
  204. # UlNBNDA5NiBTSEEzODQgMjAyMSBDQTEwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAw
  205. # ggIKAoICAQDVtC9C0CiteLdd1TlZG7GIQvUzjOs9gZdwxbvEhSYwn6SOaNhc9es0
  206. # JAfhS0/TeEP0F9ce2vnS1WcaUk8OoVf8iJnBkcyBAz5NcCRks43iCH00fUyAVxJr
  207. # Q5qZ8sU7H/Lvy0daE6ZMswEgJfMQ04uy+wjwiuCdCcBlp/qYgEk1hz1RGeiQIXhF
  208. # LqGfLOEYwhrMxe6TSXBCMo/7xuoc82VokaJNTIIRSFJo3hC9FFdd6BgTZcV/sk+F
  209. # LEikVoQ11vkunKoAFdE3/hoGlMJ8yOobMubKwvSnowMOdKWvObarYBLj6Na59zHh
  210. # 3K3kGKDYwSNHR7OhD26jq22YBoMbt2pnLdK9RBqSEIGPsDsJ18ebMlrC/2pgVItJ
  211. # wZPt4bRc4G/rJvmM1bL5OBDm6s6R9b7T+2+TYTRcvJNFKIM2KmYoX7BzzosmJQay
  212. # g9Rc9hUZTO1i4F4z8ujo7AqnsAMrkbI2eb73rQgedaZlzLvjSFDzd5Ea/ttQokbI
  213. # YViY9XwCFjyDKK05huzUtw1T0PhH5nUwjewwk3YUpltLXXRhTT8SkXbev1jLchAp
  214. # QfDVxW0mdmgRQRNYmtwmKwH0iU1Z23jPgUo+QEdfyYFQc4UQIyFZYIpkVMHMIRro
  215. # OBl8ZhzNeDhFMJlP/2NPTLuqDQhTQXxYPUez+rbsjDIJAsxsPAxWEQIDAQABo4IB
  216. # WTCCAVUwEgYDVR0TAQH/BAgwBgEB/wIBADAdBgNVHQ4EFgQUaDfg67Y7+F8Rhvv+
  217. # YXsIiGX0TkIwHwYDVR0jBBgwFoAU7NfjgtJxXWRM3y5nP+e6mK4cD08wDgYDVR0P
  218. # AQH/BAQDAgGGMBMGA1UdJQQMMAoGCCsGAQUFBwMDMHcGCCsGAQUFBwEBBGswaTAk
  219. # BggrBgEFBQcwAYYYaHR0cDovL29jc3AuZGlnaWNlcnQuY29tMEEGCCsGAQUFBzAC
  220. # hjVodHRwOi8vY2FjZXJ0cy5kaWdpY2VydC5jb20vRGlnaUNlcnRUcnVzdGVkUm9v
  221. # dEc0LmNydDBDBgNVHR8EPDA6MDigNqA0hjJodHRwOi8vY3JsMy5kaWdpY2VydC5j
  222. # b20vRGlnaUNlcnRUcnVzdGVkUm9vdEc0LmNybDAcBgNVHSAEFTATMAcGBWeBDAED
  223. # MAgGBmeBDAEEATANBgkqhkiG9w0BAQwFAAOCAgEAOiNEPY0Idu6PvDqZ01bgAhql
  224. # +Eg08yy25nRm95RysQDKr2wwJxMSnpBEn0v9nqN8JtU3vDpdSG2V1T9J9Ce7FoFF
  225. # UP2cvbaF4HZ+N3HLIvdaqpDP9ZNq4+sg0dVQeYiaiorBtr2hSBh+3NiAGhEZGM1h
  226. # mYFW9snjdufE5BtfQ/g+lP92OT2e1JnPSt0o618moZVYSNUa/tcnP/2Q0XaG3Ryw
  227. # YFzzDaju4ImhvTnhOE7abrs2nfvlIVNaw8rpavGiPttDuDPITzgUkpn13c5Ubdld
  228. # AhQfQDN8A+KVssIhdXNSy0bYxDQcoqVLjc1vdjcshT8azibpGL6QB7BDf5WIIIJw
  229. # 8MzK7/0pNVwfiThV9zeKiwmhywvpMRr/LhlcOXHhvpynCgbWJme3kuZOX956rEnP
  230. # LqR0kq3bPKSchh/jwVYbKyP/j7XqiHtwa+aguv06P0WmxOgWkVKLQcBIhEuWTatE
  231. # QOON8BUozu3xGFYHKi8QxAwIZDwzj64ojDzLj4gLDb879M4ee47vtevLt/B3E+bn
  232. # KD+sEq6lLyJsQfmCXBVmzGwOysWGw/YmMwwHS6DTBwJqakAwSEs0qFEgu60bhQji
  233. # WQ1tygVQK+pKHJ6l/aCnHwZ05/LWUpD9r4VIIflXO7ScA+2GRfS0YW6/aOImYIbq
  234. # yK+p/pQd52MbOoZWeE4wggd3MIIFX6ADAgECAhAHHxQbizANJfMU6yMM0NHdMA0G
  235. # CSqGSIb3DQEBCwUAMGkxCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5EaWdpQ2VydCwg
  236. # SW5jLjFBMD8GA1UEAxM4RGlnaUNlcnQgVHJ1c3RlZCBHNCBDb2RlIFNpZ25pbmcg
  237. # UlNBNDA5NiBTSEEzODQgMjAyMSBDQTEwHhcNMjIwMTE3MDAwMDAwWhcNMjUwMTE1
  238. # MjM1OTU5WjB8MQswCQYDVQQGEwJVUzEPMA0GA1UECBMGT3JlZ29uMRIwEAYDVQQH
  239. # EwlCZWF2ZXJ0b24xIzAhBgNVBAoTGlB5dGhvbiBTb2Z0d2FyZSBGb3VuZGF0aW9u
  240. # MSMwIQYDVQQDExpQeXRob24gU29mdHdhcmUgRm91bmRhdGlvbjCCAiIwDQYJKoZI
  241. # hvcNAQEBBQADggIPADCCAgoCggIBAKgc0BTT+iKbtK6f2mr9pNMUTcAJxKdsuOiS
  242. # YgDFfwhjQy89koM7uP+QV/gwx8MzEt3c9tLJvDccVWQ8H7mVsk/K+X+IufBLCgUi
  243. # 0GGAZUegEAeRlSXxxhYScr818ma8EvGIZdiSOhqjYc4KnfgfIS4RLtZSrDFG2tN1
  244. # 6yS8skFa3IHyvWdbD9PvZ4iYNAS4pjYDRjT/9uzPZ4Pan+53xZIcDgjiTwOh8VGu
  245. # ppxcia6a7xCyKoOAGjvCyQsj5223v1/Ig7Dp9mGI+nh1E3IwmyTIIuVHyK6Lqu35
  246. # 2diDY+iCMpk9ZanmSjmB+GMVs+H/gOiofjjtf6oz0ki3rb7sQ8fTnonIL9dyGTJ0
  247. # ZFYKeb6BLA66d2GALwxZhLe5WH4Np9HcyXHACkppsE6ynYjTOd7+jN1PRJahN1oE
  248. # RzTzEiV6nCO1M3U1HbPTGyq52IMFSBM2/07WTJSbOeXjvYR7aUxK9/ZkJiacl2iZ
  249. # I7IWe7JKhHohqKuceQNyOzxTakLcRkzynvIrk33R9YVqtB4L6wtFxhUjvDnQg16x
  250. # ot2KVPdfyPAWd81wtZADmrUtsZ9qG79x1hBdyOl4vUtVPECuyhCxaw+faVjumapP
  251. # Unwo8ygflJJ74J+BYxf6UuD7m8yzsfXWkdv52DjL74TxzuFTLHPyARWCSCAbzn3Z
  252. # Ily+qIqDAgMBAAGjggIGMIICAjAfBgNVHSMEGDAWgBRoN+Drtjv4XxGG+/5hewiI
  253. # ZfROQjAdBgNVHQ4EFgQUt/1Teh2XDuUj2WW3siYWJgkZHA8wDgYDVR0PAQH/BAQD
  254. # AgeAMBMGA1UdJQQMMAoGCCsGAQUFBwMDMIG1BgNVHR8Ega0wgaowU6BRoE+GTWh0
  255. # dHA6Ly9jcmwzLmRpZ2ljZXJ0LmNvbS9EaWdpQ2VydFRydXN0ZWRHNENvZGVTaWdu
  256. # aW5nUlNBNDA5NlNIQTM4NDIwMjFDQTEuY3JsMFOgUaBPhk1odHRwOi8vY3JsNC5k
  257. # aWdpY2VydC5jb20vRGlnaUNlcnRUcnVzdGVkRzRDb2RlU2lnbmluZ1JTQTQwOTZT
  258. # SEEzODQyMDIxQ0ExLmNybDA+BgNVHSAENzA1MDMGBmeBDAEEATApMCcGCCsGAQUF
  259. # BwIBFhtodHRwOi8vd3d3LmRpZ2ljZXJ0LmNvbS9DUFMwgZQGCCsGAQUFBwEBBIGH
  260. # MIGEMCQGCCsGAQUFBzABhhhodHRwOi8vb2NzcC5kaWdpY2VydC5jb20wXAYIKwYB
  261. # BQUHMAKGUGh0dHA6Ly9jYWNlcnRzLmRpZ2ljZXJ0LmNvbS9EaWdpQ2VydFRydXN0
  262. # ZWRHNENvZGVTaWduaW5nUlNBNDA5NlNIQTM4NDIwMjFDQTEuY3J0MAwGA1UdEwEB
  263. # /wQCMAAwDQYJKoZIhvcNAQELBQADggIBABxv4AeV/5ltkELHSC63fXAFYS5tadcW
  264. # TiNc2rskrNLrfH1Ns0vgSZFoQxYBFKI159E8oQQ1SKbTEubZ/B9kmHPhprHya08+
  265. # VVzxC88pOEvz68nA82oEM09584aILqYmj8Pj7h/kmZNzuEL7WiwFa/U1hX+XiWfL
  266. # IJQsAHBla0i7QRF2de8/VSF0XXFa2kBQ6aiTsiLyKPNbaNtbcucaUdn6vVUS5izW
  267. # OXM95BSkFSKdE45Oq3FForNJXjBvSCpwcP36WklaHL+aHu1upIhCTUkzTHMh8b86
  268. # WmjRUqbrnvdyR2ydI5l1OqcMBjkpPpIV6wcc+KY/RH2xvVuuoHjlUjwq2bHiNoX+
  269. # W1scCpnA8YTs2d50jDHUgwUo+ciwpffH0Riq132NFmrH3r67VaN3TuBxjI8SIZM5
  270. # 8WEDkbeoriDk3hxU8ZWV7b8AW6oyVBGfM06UgkfMb58h+tJPrFx8VI/WLq1dTqMf
  271. # ZOm5cuclMnUHs2uqrRNtnV8UfidPBL4ZHkTcClQbCoz0UbLhkiDvIS00Dn+BBcxw
  272. # /TKqVL4Oaz3bkMSsM46LciTeucHY9ExRVt3zy7i149sd+F4QozPqn7FrSVHXmem3
  273. # r7bjyHTxOgqxRCVa18Vtx7P/8bYSBeS+WHCKcliFCecspusCDSlnRUjZwyPdP0VH
  274. # xaZg2unjHY3rMYIQxzCCEMMCAQEwfTBpMQswCQYDVQQGEwJVUzEXMBUGA1UEChMO
  275. # RGlnaUNlcnQsIEluYy4xQTA/BgNVBAMTOERpZ2lDZXJ0IFRydXN0ZWQgRzQgQ29k
  276. # ZSBTaWduaW5nIFJTQTQwOTYgU0hBMzg0IDIwMjEgQ0ExAhAHHxQbizANJfMU6yMM
  277. # 0NHdMA0GCWCGSAFlAwQCAQUAoIGaMBkGCSqGSIb3DQEJAzEMBgorBgEEAYI3AgEE
  278. # MBwGCisGAQQBgjcCAQsxDjAMBgorBgEEAYI3AgEVMC4GCisGAQQBgjcCAQwxIDAe
  279. # oByAGgBQAHkAdABoAG8AbgAgADMALgA5AC4AMQAwMC8GCSqGSIb3DQEJBDEiBCBW
  280. # STMEpY5oTqEtnhE8rXHTfUpY7MZMEfDbBKbS1J0cLTANBgkqhkiG9w0BAQEFAASC
  281. # AgAPzlwbodN8MHW8YdekShG0qP3JBHOiS/34BAZDjSlF+zFgZ0mj7Ve1M5jh2rwX
  282. # etpEDZVtibeDX5E844JWk696lLd6/I+W1z/lXChrg4LLZvAs5KyBbrsfTlvMmEDJ
  283. # onhCKNodHk/11vWbvZKHFOl/1DrkTPi02FLlgvG9APGRy6bRHEjSntv7vbxHIdmO
  284. # 6n4sY3Kr370PPkS1tsvVikuiyB5xHb3Hp7t2b9vu1ljgUuljP0ZPdAJQrBRaY5Fx
  285. # ur20lxJRhzfw0ZERQpv5ckNWN772yIE9oN4F/fQdXiJr93yC/obbOS4DHT+6fDQI
  286. # uvu07XEUVABBI+ZFYT96BTkAK+J9aC3Ego8SkUZG3OVuLzm46ZxtUrOW9udwIsKk
  287. # eo8/swB0KTqPS7wPh6S48dzeOMtLLwy7CdoV8g7zICSlpZCtATAFzbezGJIMAkD0
  288. # 5z2sC4Sh0w2L/YdyCJYCHx8x9zvWflz7mwzQaMkcjf6tDlASzB2CHzHGqvTxG3pS
  289. # 45VNz+AqMqc/8qOYkj5RBALjwqYZgkhnJV3kjo8RhLXtC17/XWK7uG9GRG9iSgKk
  290. # vjD4ZZSzXqqxjMowHst8nX40Qk9vgcDCwt+A+5/p/leMEz6Ke/Dda18cUcnQJ2vi
  291. # gdt9tEw3eyOJfi4YEATe/OebdvuLMbkBStDjoXUUfk94g6GCDX4wgg16BgorBgEE
  292. # AYI3AwMBMYINajCCDWYGCSqGSIb3DQEHAqCCDVcwgg1TAgEDMQ8wDQYJYIZIAWUD
  293. # BAIBBQAweAYLKoZIhvcNAQkQAQSgaQRnMGUCAQEGCWCGSAGG/WwHATAxMA0GCWCG
  294. # SAFlAwQCAQUABCBgohShZG6GGnEC2VNFzpMj8SFLZ+uwOrVJR9x1nrutHAIRAM01
  295. # q7AObTeGY7SVhi6kp7AYDzIwMjIwMTE3MTUyOTE3WqCCCjcwggT+MIID5qADAgEC
  296. # AhANQkrgvjqI/2BAIc4UAPDdMA0GCSqGSIb3DQEBCwUAMHIxCzAJBgNVBAYTAlVT
  297. # MRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5j
  298. # b20xMTAvBgNVBAMTKERpZ2lDZXJ0IFNIQTIgQXNzdXJlZCBJRCBUaW1lc3RhbXBp
  299. # bmcgQ0EwHhcNMjEwMTAxMDAwMDAwWhcNMzEwMTA2MDAwMDAwWjBIMQswCQYDVQQG
  300. # EwJVUzEXMBUGA1UEChMORGlnaUNlcnQsIEluYy4xIDAeBgNVBAMTF0RpZ2lDZXJ0
  301. # IFRpbWVzdGFtcCAyMDIxMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA
  302. # wuZhhGfFivUNCKRFymNrUdc6EUK9CnV1TZS0DFC1JhD+HchvkWsMlucaXEjvROW/
  303. # m2HNFZFiWrj/ZwucY/02aoH6KfjdK3CF3gIY83htvH35x20JPb5qdofpir34hF0e
  304. # dsnkxnZ2OlPR0dNaNo/Go+EvGzq3YdZz7E5tM4p8XUUtS7FQ5kE6N1aG3JMjjfdQ
  305. # Jehk5t3Tjy9XtYcg6w6OLNUj2vRNeEbjA4MxKUpcDDGKSoyIxfcwWvkUrxVfbENJ
  306. # Cf0mI1P2jWPoGqtbsR0wwptpgrTb/FZUvB+hh6u+elsKIC9LCcmVp42y+tZji06l
  307. # chzun3oBc/gZ1v4NSYS9AQIDAQABo4IBuDCCAbQwDgYDVR0PAQH/BAQDAgeAMAwG
  308. # A1UdEwEB/wQCMAAwFgYDVR0lAQH/BAwwCgYIKwYBBQUHAwgwQQYDVR0gBDowODA2
  309. # BglghkgBhv1sBwEwKTAnBggrBgEFBQcCARYbaHR0cDovL3d3dy5kaWdpY2VydC5j
  310. # b20vQ1BTMB8GA1UdIwQYMBaAFPS24SAd/imu0uRhpbKiJbLIFzVuMB0GA1UdDgQW
  311. # BBQ2RIaOpLqwZr68KC0dRDbd42p6vDBxBgNVHR8EajBoMDKgMKAuhixodHRwOi8v
  312. # Y3JsMy5kaWdpY2VydC5jb20vc2hhMi1hc3N1cmVkLXRzLmNybDAyoDCgLoYsaHR0
  313. # cDovL2NybDQuZGlnaWNlcnQuY29tL3NoYTItYXNzdXJlZC10cy5jcmwwgYUGCCsG
  314. # AQUFBwEBBHkwdzAkBggrBgEFBQcwAYYYaHR0cDovL29jc3AuZGlnaWNlcnQuY29t
  315. # ME8GCCsGAQUFBzAChkNodHRwOi8vY2FjZXJ0cy5kaWdpY2VydC5jb20vRGlnaUNl
  316. # cnRTSEEyQXNzdXJlZElEVGltZXN0YW1waW5nQ0EuY3J0MA0GCSqGSIb3DQEBCwUA
  317. # A4IBAQBIHNy16ZojvOca5yAOjmdG/UJyUXQKI0ejq5LSJcRwWb4UoOUngaVNFBUZ
  318. # B3nw0QTDhtk7vf5EAmZN7WmkD/a4cM9i6PVRSnh5Nnont/PnUp+Tp+1DnnvntN1B
  319. # Ion7h6JGA0789P63ZHdjXyNSaYOC+hpT7ZDMjaEXcw3082U5cEvznNZ6e9oMvD0y
  320. # 0BvL9WH8dQgAdryBDvjA4VzPxBFy5xtkSdgimnUVQvUtMjiB2vRgorq0Uvtc4GEk
  321. # JU+y38kpqHNDUdq9Y9YfW5v3LhtPEx33Sg1xfpe39D+E68Hjo0mh+s6nv1bPull2
  322. # YYlffqe0jmd4+TaY4cso2luHpoovMIIFMTCCBBmgAwIBAgIQCqEl1tYyG35B5AXa
  323. # NpfCFTANBgkqhkiG9w0BAQsFADBlMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGln
  324. # aUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSQwIgYDVQQDExtE
  325. # aWdpQ2VydCBBc3N1cmVkIElEIFJvb3QgQ0EwHhcNMTYwMTA3MTIwMDAwWhcNMzEw
  326. # MTA3MTIwMDAwWjByMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5j
  327. # MRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMTEwLwYDVQQDEyhEaWdpQ2VydCBT
  328. # SEEyIEFzc3VyZWQgSUQgVGltZXN0YW1waW5nIENBMIIBIjANBgkqhkiG9w0BAQEF
  329. # AAOCAQ8AMIIBCgKCAQEAvdAy7kvNj3/dqbqCmcU5VChXtiNKxA4HRTNREH3Q+X1N
  330. # aH7ntqD0jbOI5Je/YyGQmL8TvFfTw+F+CNZqFAA49y4eO+7MpvYyWf5fZT/gm+vj
  331. # RkcGGlV+Cyd+wKL1oODeIj8O/36V+/OjuiI+GKwR5PCZA207hXwJ0+5dyJoLVOOo
  332. # CXFr4M8iEA91z3FyTgqt30A6XLdR4aF5FMZNJCMwXbzsPGBqrC8HzP3w6kfZiFBe
  333. # /WZuVmEnKYmEUeaC50ZQ/ZQqLKfkdT66mA+Ef58xFNat1fJky3seBdCEGXIX8RcG
  334. # 7z3N1k3vBkL9olMqT4UdxB08r8/arBD13ays6Vb/kwIDAQABo4IBzjCCAcowHQYD
  335. # VR0OBBYEFPS24SAd/imu0uRhpbKiJbLIFzVuMB8GA1UdIwQYMBaAFEXroq/0ksuC
  336. # MS1Ri6enIZ3zbcgPMBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgGG
  337. # MBMGA1UdJQQMMAoGCCsGAQUFBwMIMHkGCCsGAQUFBwEBBG0wazAkBggrBgEFBQcw
  338. # AYYYaHR0cDovL29jc3AuZGlnaWNlcnQuY29tMEMGCCsGAQUFBzAChjdodHRwOi8v
  339. # Y2FjZXJ0cy5kaWdpY2VydC5jb20vRGlnaUNlcnRBc3N1cmVkSURSb290Q0EuY3J0
  340. # MIGBBgNVHR8EejB4MDqgOKA2hjRodHRwOi8vY3JsNC5kaWdpY2VydC5jb20vRGln
  341. # aUNlcnRBc3N1cmVkSURSb290Q0EuY3JsMDqgOKA2hjRodHRwOi8vY3JsMy5kaWdp
  342. # Y2VydC5jb20vRGlnaUNlcnRBc3N1cmVkSURSb290Q0EuY3JsMFAGA1UdIARJMEcw
  343. # OAYKYIZIAYb9bAACBDAqMCgGCCsGAQUFBwIBFhxodHRwczovL3d3dy5kaWdpY2Vy
  344. # dC5jb20vQ1BTMAsGCWCGSAGG/WwHATANBgkqhkiG9w0BAQsFAAOCAQEAcZUS6VGH
  345. # VmnN793afKpjerN4zwY3QITvS4S/ys8DAv3Fp8MOIEIsr3fzKx8MIVoqtwU0HWqu
  346. # mfgnoma/Capg33akOpMP+LLR2HwZYuhegiUexLoceywh4tZbLBQ1QwRostt1AuBy
  347. # x5jWPGTlH0gQGF+JOGFNYkYkh2OMkVIsrymJ5Xgf1gsUpYDXEkdws3XVk4WTfraS
  348. # Z/tTYYmo9WuWwPRYaQ18yAGxuSh1t5ljhSKMYcp5lH5Z/IwP42+1ASa2bKXuh1Eh
  349. # 5Fhgm7oMLSttosR+u8QlK0cCCHxJrhO24XxCQijGGFbPQTS2Zl22dHv1VjMiLyI2
  350. # skuiSpXY9aaOUjGCAoYwggKCAgEBMIGGMHIxCzAJBgNVBAYTAlVTMRUwEwYDVQQK
  351. # EwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5jb20xMTAvBgNV
  352. # BAMTKERpZ2lDZXJ0IFNIQTIgQXNzdXJlZCBJRCBUaW1lc3RhbXBpbmcgQ0ECEA1C
  353. # SuC+Ooj/YEAhzhQA8N0wDQYJYIZIAWUDBAIBBQCggdEwGgYJKoZIhvcNAQkDMQ0G
  354. # CyqGSIb3DQEJEAEEMBwGCSqGSIb3DQEJBTEPFw0yMjAxMTcxNTI5MTdaMCsGCyqG
  355. # SIb3DQEJEAIMMRwwGjAYMBYEFOHXgqjhkb7va8oWkbWqtJSmJJvzMC8GCSqGSIb3
  356. # DQEJBDEiBCDtBHQ+tXcL8vDjT0OquW5811EitOjdQ5cZZkefXLoOCjA3BgsqhkiG
  357. # 9w0BCRACLzEoMCYwJDAiBCCzEJAGvArZgweRVyngRANBXIPjKSthTyaWTI01cez1
  358. # qTANBgkqhkiG9w0BAQEFAASCAQC9Dapy/eTCob+N7zNLMJMw4UVb6+eV3WuS7Xy3
  359. # cCo8YtpstK4msBBqvTgt31POIRIELa4SgN5Lgl91IyhrxZS0EGmnH23Dh5FNFh/Q
  360. # PKcIe6F0NGA2xEaIbPgHe384AHPSbtl87dxtFtpfbPxkttw5OlF7kdbNmCgvZL9d
  361. # Ji+xckrCjV8qGdDwDjjRi65beUHCvk6yKvM+6uwCipZ15EAeVmxIbb/5ZwYeYsg1
  362. # os6RakuNVPNOx80IR0JYum+I5U+6lpYtsGFnRCFyh3Abd6OU+Mkyj7Q40R9Qq/ka
  363. # +gCrmLJB6IF2aewXTKWlLstCevIsOSsZwEKIhAN6T7jUHDz4
  364. # SIG # End signature block