+
    Ĝi                     :    ^ RI t  ! R R]4      t ! R R]4      tR# )    Nc                   B   a a ] tR t^t oRtV 3R ltV 3R ltRtVtV ;t	# )	Singletonz
Singleton metaclass
Based on Python Cookbook 3rd Edition Recipe 9.13
Only one instance of a class can exist. Does not work with __slots__
c                6   < \         SV `  ! V/ VB  R V n        R # N)super__init___Singleton__instanceselfargskw	__class__s   &*,b/Users/mibo/.openclaw/workspace/.venv-ak/lib/python3.14/site-packages/openpyxl/compat/singleton.pyr   Singleton.__init__   s    $%"%    c                b   < V P                   f   \        SV `  ! V/ VB V n         V P                   # r   )r	   r   __call__r
   s   &*,r   r   Singleton.__call__   s-    ??"#g.;;DOr   )
__instance
__name__
__module____qualname____firstlineno____doc__r   r   __static_attributes____classdictcell____classcell__r   __classdict__s   @@r   r   r      s      r   r   c                   B   a a ] tR t^t oRtV 3R ltV 3R ltRtVtV ;t	# )Cachedz
Caching metaclass
Child classes will only create new instances of themselves if
one doesn't already exist. Does not work with __slots__
c                \   < \         SV `  ! V/ VB  \        P                  ! 4       V n        R # r   )r   r   weakrefWeakValueDictionary_Cached__cacher
   s   &*,r   r   Cached.__init__   s%    $%"%224r   c                   < WP                   9   d   V P                   V,          # \        SV `  ! V!  pW P                   V&   V# r   )r&   r   r   )r   r   objr   s   &* r   r   Cached.__call__"   s<    <<<<%%g% T
r   )__cacher   r   s   @@r   r"   r"      s     5 r   r"   )r$   typer   r"    r   r   <module>r.      s"     "T r   