§
    ÎÑßj¿  ã                   ó    — d Z ddgZdd„Zd„ ZdS )zH
Common methods for obtaining a reference to the provider driver class.
Ú
get_driverÚ
set_driverNc                 óø  — |pi }||v rA||         d         }||         d         }d                      ||¦  «        }t          |¦  «        ‚|pi }||v rJ|                     ¦   «         }||                              ¦   «         }d}d|›d|›d|›�}t          |¦  «        ‚|| v rF| |         \  }	}
t          |	t	          ¦   «         t          ¦   «         |
g¦  «        }t          ||
¦  «        S |                      ¦   «         D ]o\  }\  }	}
|                     ¦   «         |                     ¦   «         k    r=t          |	t	          ¦   «         t          ¦   «         |
g¦  «        }t          ||
¦  «        c S Œpt          d|z  ¦  «        ‚)	a  
    Get a driver.

    :param drivers: Dictionary containing valid providers.
    :type drivers: ``dict``

    :param provider: Id (constant) of provider to get the driver for.
    :type provider: :class:`libcloud.types.Provider`

    :param: deprecated_providers: Dictionary with information about the
            deprecated drivers.
    :type deprecated_providers: ``dict``

    :param: deprecated_constants: Dictionary with information about the
            deprecated provider constants.
    :type deprecated_constants: ``dict``
    ÚurlÚreasonz2Provider no longer supported: {}, please visit: {}zhttps://s.apache.org/lc0140unzProvider constant "z0" has been removed. New constant is now called "zb".
For more information on this change and how to modify your code to work with it, please visit: zProvider %s does not exist)
ÚformatÚ	ExceptionÚupperÚ
__import__ÚglobalsÚlocalsÚgetattrÚitemsÚlowerÚAttributeError)ÚdriversÚproviderÚdeprecated_providersÚdeprecated_constantsr   r   ÚmsgÚold_nameÚnew_nameÚmod_nameÚdriver_nameÚ_modÚprovider_names                úM/opt/saltstack/salt/lib/python3.11/site-packages/libcloud/common/providers.pyr   r      s¥  € ð& 0Ð5°2ÐØÐ'Ð'Ð'Ø" 8Ô,¨UÔ3ˆØ% hÔ/°Ô9ˆØB×IÒIÈ#ÈvÑVÔVˆÝ˜‰nŒnÐð 0Ð5°2ÐØÐ'Ð'Ð'Ø—>’>Ñ#Ô#ˆØ'¨Ô1×7Ò7Ñ9Ô9ˆà-ˆˆð
 9A¸¸À(À(À(ÈCÈCðQð 	õ ˜‰nŒnÐà�7ÐÐØ '¨Ô 1Ñˆ�+Ý˜(¥G¡I¤I­v©x¬x¸+¸ÑGÔGˆÝ�t˜[Ñ)Ô)Ð)ð
 3:·-²-±/´/ð .ð .Ñ.ˆÑ.˜ +à�>Š>ÑÔ˜}×2Ò2Ñ4Ô4Ò4Ð4Ý˜h­©	¬	µ6±8´8¸k¸]ÑKÔKˆDÝ˜4 Ñ-Ô-Ð-Ð-Ð-ð 5õ Ð5¸ÑBÑ
CÔ
CÐCó    c                 óÄ   — || v rt          d|z  ¦  «        ‚||f| |<   	 t          | |¦  «        }n0# t          t           f$ r}|                      |¦  «         |‚d}~ww xY w|S )a?  
    Sets a driver.

    :param drivers: Dictionary to store providers.
    :param provider: Id of provider to set driver for

    :type provider: :class:`libcloud.types.Provider`
    :param module: The module which contains the driver

    :type module: L
    :param klass: The driver class name

    :type klass:
    zProvider %s already registeredN)r   r   ÚImportErrorÚpop)r   r   ÚmoduleÚklassÚdriverÚexps         r   r   r   Q   s‰   € ð  �7ÐÐÝÐ=ÀÑJÑKÔKÐKà ˜€GˆHÑðÝ˜G XÑ.Ô.ˆˆøÝ�Ð(ð ð ð Ø�Š�HÑÔÐØˆ	øøøøðøøøð €Ms   Ÿ0 °AÁAÁA)NN)Ú__doc__Ú__all__r   r   © r   r   ú<module>r(      sM   ðð ð ð ˜Ð
&€ð7Dð 7Dð 7Dð 7Dðtð ð ð ð r   