+
    Tj"                        R t ^ RIHt ^ RIHtHt ^ RIHtHt ^ RI	H
t
 ^ RIHt . R(Ot ! R R]4      t ! R	 R
4      t]! 4       tAR tR tR tR tR t]
! ]]4      t]
! ]]4      tR)R ltR tR)R ltR)R ltR tR t ! R R]4      t R t!R t"R t#R t$R t%R*R lt&R t'R R/R! lt(R" t)R# t*R$ t+]! R%4      t,R& t-R' t.R# )+z
Internationalization support.
)ContextDecorator)ROUND_UPDecimal)autoreload_startedfile_changed)lazy)_lazy_re_compileoverridec                       ] tR t^%tRtR# )TranslatorCommentWarning N)__name__
__module____qualname____firstlineno____static_attributes__r       V/var/www/idalgo/venv/lib/python3.14/site-packages/django/utils/translation/__init__.pyr   r   %   s    r   r   c                   *   a  ] tR t^2t o RtR tRtV tR# )Transa  
The purpose of this class is to store the actual translation function upon
receiving the first call to that function. After this is done, changes to
USE_I18N will have no effect to which function is served upon request. If
your tests rely on changing USE_I18N, you can delete all the functions
from _trans.__dict__.

Note that storing the function with setattr will have a noticeable
performance effect, as access to the function goes the normal path,
instead of using __getattr__.
c                    ^ RI Hp VP                  '       d@   ^ RIHp ^ RIHpHp \        P                  ! VRR7       \        P                  ! VRR7       M^ RIHp \        W\        W14      4       \        W14      # )    )settings)
trans_real)translation_file_changedwatch_for_translation_changesr   )dispatch_uid)
trans_null)django.confr   USE_I18Ndjango.utils.translationr   !django.utils.translation.reloaderr   r   r   connectr   r   setattrgetattr)self	real_namer   transr   r   s   &&    r   __getattr__Trans.__getattr__?   se    (D
 &&-<V   (7Q E!:;u((r   r   N)r   r   r   r   __doc__r(   r   __classdictcell____classdict__s   @r   r   r   2   s     
) )r   r   c                 ,    \         P                  V 4      # N)_transgettext_noopmessages   &r   r1   r1   [   s    w''r   c                 ,    \         P                  V 4      # r/   )r0   gettextr2   s   &r   r5   r5   _   s    >>'""r   c                 .    \         P                  WV4      # r/   )r0   ngettextsingularpluralnumbers   &&&r   r7   r7   c   s    ??8V44r   c                 ,    \         P                  W4      # r/   )r0   pgettext)contextr3   s   &&r   r=   r=   g   s    ??7,,r   c                 .    \         P                  WW#4      # r/   )r0   	npgettextr>   r9   r:   r;   s   &&&&r   r@   r@   k   s    Gv>>r   Nc                    a aaaaa \        S\        4      '       d   SSR &   \        S S4      ! R/ SB pV# SP                  4       o ! V VV3R lRS4      o\        V3R lS4      ! R/ SB pV VVV3R lVn        V# )r;   c                   `   <a  ] tR t^zt o V3R ltV3R ltVV3R ltV3R ltV3R ltRt	V t
R# )&lazy_number.<locals>.NumberAwareStringc                (   < \        SR ,          4      # )r9   )bool)r%   kwargss   &r   __bool__/lazy_number.<locals>.NumberAwareString.__bool__{   s    F:.//r   c                Z   <  VS,          #   \          d    \        R S,          4      hi ; i)z|Your dictionary lacks key '%s'. Please provide it, because it is required to determine whether string is singular or plural.)KeyError)r%   valuesr;   s   &&r   _get_number_value8lazy_number.<locals>.NumberAwareString._get_number_value~   s<    !&>) "8:@A s    *c                   < VSR &   S! R/ SB # )r;   r   r   )r%   number_valuefuncrG   s   &&r   
_translate1lazy_number.<locals>.NumberAwareString._translate   s    #/x ~f~%r   c                   < V'       d   S'       d   V P                  V4      MV^ ,          pV P                  V4      P                  ! V/ VB # )r   )rM   rR   format)r%   argsrG   rP   r;   s   &*, r   rU   -lazy_number.<locals>.NumberAwareString.format   sB    6<D**62TRSW  |4;;TLVLLr   c                   < \        V\        4      '       d   S'       d   V P                  V4      pMTpV P                  V4      p W1,          pV#   \         d     T# i ; ir/   )
isinstancedictrM   rR   	TypeError)r%   rhsrP   
translatedr;   s   &&  r   __mod__.lazy_number.<locals>.NumberAwareString.__mod__   sd    c4((V#'#9#9##>L#&L!__\:
%J "! ! !!s   A AAr   N)r   r   r   r   rH   rM   rR   rU   r^   r   r+   )r-   rQ   rG   r;   s   @r   NumberAwareStringrD   z   s$     0&M" "r   r`   c                     < S! 4       # r/   r   )rG   r`   s   ,r   <lambda>lazy_number.<locals>.<lambda>   s	    &7&9r   c                     < \         S SSS33# r/   )_lazy_number_unpickle)rQ   r;   original_kwargsresultclasss   r   rb   rc      s    !;8$
r   r   )rY   intr   copy
__reduce__)rQ   rg   r;   rG   proxyr`   rf   s   fffl @@r   lazy_numberrl   s   s    &#!xT;'1&1\ LY !++-#	" #	" #	"J 9;LMWPVW
 Lr   c                     \        W3R V/VB # )r;   )rl   )rQ   rg   r;   rG   s   &&&&r   re   re      s    tBB6BBr   c                 0    \        \        \        WVR 7      # )r8   )rl   r7   strr8   s   &&&r   ngettext_lazyrp      s    xxvVVr   c           	      0    \        \        \        WW#R 7      # )rA   )rl   r@   ro   rA   s   &&&&r   npgettext_lazyrr      s    36 r   c                 ,    \         P                  V 4      # r/   )r0   activate)languages   &r   rt   rt      s    ??8$$r   c                  *    \         P                  4       # r/   )r0   
deactivater   r   r   rw   rw      s    r   c                   6   a  ] tR t^t o RR ltR tR tRtV tR# )r	   c                    Wn         W n        R # r/   )ru   rw   )r%   ru   rw   s   &&&r   __init__override.__init__   s     $r   c                    \        4       V n        V P                  e   \        V P                  4       R # \	        4        R # r/   )get_languageold_languageru   rt   deactivate_all)r%   s   &r   	__enter__override.__enter__   s(    (N==$T]]#r   c                    V P                   f   \        4        R # V P                  '       d   \        4        R # \        V P                   4       R # r/   )r~   r   rw   rt   )r%   exc_type	exc_value	tracebacks   &&&&r   __exit__override.__exit__   s0    $___LT&&'r   )rw   ru   r~   NF)	r   r   r   r   rz   r   r   r   r+   r,   s   @r   r	   r	      s     %( (r   c                  *    \         P                  4       # r/   )r0   r}   r   r   r   r}   r}      s      r   c                  *    \         P                  4       # r/   )r0   get_language_bidir   r   r   r   r      s    ##%%r   c                 ,    \         P                  V 4      # r/   )r0   check_for_language)	lang_codes   &r   r   r      s    $$Y//r   c                    V P                  R4      pV^ 8  d9   V RV P                  4       R,           W^,           R P                  4       ,           # V P                  4       # )z8Turn a locale name (en_US) into a language name (en-us)._N-)findlower)localeps   & r   to_languager      sS    CAAvbqz!C'&Q/*?*?*AAA||~r   c                x   V P                  4       P                  R4      w  rpV'       g&   V R,          P                  4       V R,          ,           # VP                  R4      w  r2p\        V4      ^8  d   VP                  4       MVP	                  4       pV'       d   VRV,           ,          pVR,           V,           # )z8Turn a language name (en-us) into a locale name (en_US).r   :N   N:r   NNr   )r   	partitionlentitleupper)ru   langr   countrytails   &    r   	to_localer      s    ~~'11#6DW|!!#hrl22
 ((-G!$W!1gmmow}}G3:#:r   Fc                 ,    \         P                  W4      # r/   )r0   get_language_from_request)request
check_paths   &&r   r   r      s    ++G@@r   c                 ,    \         P                  V 4      # r/   )r0   get_language_from_path)paths   &r   r   r      s    ((..r   strictc                ,    \         P                  W4      # r/   )r0   get_supported_language_variant)r   r   s   &$r   r   r      s    00CCr   c                      ^RI Hp V! V 3/ VB # )   )
templatize)templater   )srcrG   r   s   &, r   r   r     s    $c$V$$r   c                  *    \         P                  4       # r/   )r0   r   r   r   r   r   r   	  s      ""r   c           	         ^ RI Hp  W,          pRV9   d"   RV9  d   \        VR,          ^ ,          4      pMTp V'       d   \        VR,          4      VR	&   V#   \         da    RT 9  d   \        RT ,          4      hT P	                  R4      ^ ,          p Y,          p Lf  \         d    \        RT : RT: R24      hi ; ii ; i)
r   )	LANG_INFOfallbacknamer   zUnknown language code %s.zUnknown language code z and .name_translated)django.conf.localer   get_language_inforK   splitgettext_lazy)r   r   	lang_infoinfogeneric_lang_codes   &    r   r   r     s    ,(	"vY'>$Yz%:1%=>DD ".tF|"<K  	i6BCC%OOC03	/D 	6?ARS 		s"   /A A <CB!! CCz\s*\n\s*c                 J    \         P                  R V P                  4       4      # ) )trim_whitespace_resubstrip)ss   &r   trim_whitespacer   )  s    !!#qwwy11r   c                     \        \        V ^,
          4      P                  \        R4      \        R7      4      ^,           # )r   0)rounding)rh   r   quantizer   )values   &r   round_away_from_oner   -  s/    wuqy!**73<(*KLqPPr   )rt   rw   r	   r   r}   r   r   r   r   r   r   r   r5   r   r1   r7   rp   r=   pgettext_lazyr@   rr   r/   r   )/r*   
contextlibr   decimalr   r   django.utils.autoreloadr   r   django.utils.functionalr   django.utils.regex_helperr   __all__SyntaxWarningr   r   r0   r1   r5   r7   r=   r@   ro   r   r   rl   re   rp   rr   rt   rw   r	   r}   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   <module>r      s   ( % D ( 62	} 	 )  )F 
 
(#5-? GS!Xs#1hCW%( (*!&0  A/D D%#2 &k2 2Qr   