
    3i                    T    d dl mZ d dlmZ d dlmZ erd dlmZ  G d de      ZdgZ	y)    )annotations)TYPE_CHECKING)ViaTemplateActivator)Iteratorc                  &    e Zd ZddZedd       Zy)PowerShellActivatorc              #     K   d y w)Nzactivate.ps1 )selfs    \/var/www/opsc/venv/lib/python3.12/site-packages/virtualenv/activation/powershell/__init__.py	templateszPowerShellActivator.templates   s     s   c                2    | j                  dd      } d|  dS )a  This should satisfy PowerShell quoting rules [1], unless the quoted string is passed directly to Windows native commands [2].

        [1]: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_quoting_rules
        [2]:
        https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_parsing#passing-arguments-that-contain-quote-characters

        'z'')replace)strings    r   quotezPowerShellActivator.quote   s"     T*6(!}    N)returnzIterator[str])r   strr   r   )__name__
__module____qualname__r   staticmethodr   r
   r   r   r   r      s     	 	r   r   N)

__future__r   typingr   "virtualenv.activation.via_templater   collections.abcr   r   __all__r
   r   r   <module>r      s-    "   C(. $ r   