+
    VBi                         R t Rt^ RIHt  ^ RIt^ RIH	t	 ^ RI
HtHt ^ RIHt ^ R	IHtHt ^ R
IHt  ! R R]4      t ! R R]4      tR#   ] d*     ^ RIt ! R R4      t]]n         LY  ] d    Rt  Lei ; ii ; i)z+
Directives for figures and simple images.
reStructuredText)url2pathnameNc                       ] tR t^tRtR# )PIL N)__name__
__module____qualname____firstlineno____static_attributes__r       K/usr/lib/python3.14/site-packages/docutils/parsers/rst/directives/images.pyr   r      s    4r   r   )nodes)fully_normalize_namewhitespace_normalize_name)	Directive)
directivesstates)normalize_optionsc                     a  ] tR t^t o RtRt]],           tRtR tR t	^t
^ tRtR]P                  R]P                  R]P                   R]P"                  R]R	]P$                  R
]	R]P&                  R]P                  /	tR tRtV tR# )Imagec                L    \         P                  ! V \        P                  4      # N)r   choicer   align_valuesarguments   &r   alignImage.align%   s       5+=+=>>r   c                L    \         P                  ! V \        P                  4      # r   )r   r   r   loading_valuesr   s   &r   loadingImage.loading+   s      5+?+?@@r   Taltheightwidthscaler   targetr!   classnamec           
     0   R V P                   9   Ed   \        V P                  \        P                  4      '       dv   V P                   R ,          V P
                  9  dS   V P                  RV P                  : RV P                   R ,          : RRP                  V P
                  4      : R24      hMtV P                   R ,          V P                  9  dS   V P                  RV P                  : RV P                   R ,          : RRP                  V P                  4      : R24      h. p\        P                  ! V P                  ^ ,          4      pW P                   R&   RpR	V P                   9   Ed   \        P                  ! V P                   R	,          4      P                  4       p\        V4      pV P                  P!                  W@P"                  V P$                  4      w  rVVR
8X  d   \&        P(                  ! VR7      pMnVR8X  dW   \&        P(                  ! \+        V4      \-        V4      R7      pWcn        V P                  P0                  P3                  V4       MVP5                  V4       V P                   R	 \7        V P                   4      p\&        P8                  ! V P"                  3/ VB pV P:                  P=                  V P$                  4      w  Vn        Vn         V PC                  V4       V'       d   W8,          pW.,           # W.,           # )r   z
Error in "z" directive: "zp" is not a valid value for the "align" option within a substitution definition.  Valid values for "align" are: "z", "z".zO" is not a valid value for the "align" option.  Valid values for "align" are: "uriNr'   refuri)r,   refname)r-   r)   )"options
isinstancestater   SubstitutionDefalign_v_valueserrorr)   joinalign_h_valuesr   r+   	argumentsescape2null
splitlineslistparse_target
block_textlinenor   	referencer   r   indirect_reference_namedocumentnote_refnameappendr   imagestate_machineget_source_and_linesourcelineadd_name)	selfmessagesr=   reference_nodeblocktarget_typedatar.   
image_nodes	   &        r   run	Image.run<   sU   dll"$**f&<&<==<<(0C0CC**  99dll7&;&;!;;t':':;	=> > D g&d.A.AAjj yy$,,w"7"7{{4#6#679: :
 NN4>>!#45	'Ut||#&&X&((2
 KE $

 7 7!5Kh&!&!=	)!&06248": :>6

##00@%X&#DLL1[[<G<
 ..BB4;;O			j!(N...l**r   r   N)leftcenterright)topmiddlebottom)embedlinklazy)r   r   r	   r
   r5   r2   r   r    r   r!   required_argumentsoptional_argumentsfinal_argument_whitespacer   	unchangedlength_or_unitless length_or_percentage_or_unitless
percentageunchanged_requiredclass_optionoption_specrO   r   __classdictcell____classdict__s   @r   r   r      s     0N0N!N2L.N?A  $*..Z::JGGJ11EZ::gJ33://1K/+ /+r   r   c                      a  ] tR t^nt o R tR t]P                  P                  4       t]]R&   ]	P                  ]R&   ]	P                  ]R&   ]]R&   RtR tR	tV tR
# )Figurec                L    \         P                  ! V \        P                  4      # r   )r   r   rh   r5   r   s   &r   r   Figure.alignp   s      6+@+@AAr   c                ^    V P                  4       R 8X  d   R # \        P                  ! V R4      # )rB   px)lowerr   r_   r   s   &r   figwidth_valueFigure.figwidth_values   s'    >>w&>>xNNr   figwidthfigclassfignamer   Tc                	   V P                   P                  R R4      pV P                   P                  RR4      pV P                   P                  RR4      pV P                   P                  RR4      p\        P                  ! V 4      w  p\	        V\
        P                  4      '       d   V.# \
        P                  ! RV4      pV P                  P                  V P                  4      w  Vn        Vn        VR8X  d   \        '       d   V P                  P                  P                   P"                  '       d   \%        VR,          4      p \        P                  P'                  V4      ;_uu_ 4       pRVP(                  ^ ,          ,          VR	&   RRR4       V P                  P                  P                   P*                  P-                  VP/                  R
R4      4       M	MVe   WR	&   V'       d   VR;;,          V,          uu&   V'       dR   VR,          P5                  \
        P6                  ! V4      4       V P                  P                  P9                  Wf4       V'       d   WFR&   V P:                  '       Ed   \
        P<                  ! 4       p	V P                  P?                  V P:                  V P@                  V	4       \C        V	4       EF>  w  r\	        V\
        PD                  \
        PF                  34      '       d   Wk,          pK@  \	        V\
        PH                  4      '       dZ   \
        PJ                  ! VPL                  R.VPN                  O5!  pVP                  Vn        VP                  Vn        Wl,          p M\	        V\
        PP                  4      '       d   \S        V4      ^ 8X  d    MXV PT                  PW                  R\
        PX                  ! V PZ                  V PZ                  4      V P                  R7      pWm.u # 	  \S        V	4      X
^,           8  d)   V\
        P\                  ! R.W^,           R O5!  ,          pV.#   + '       g   i     EL; i  \0        \2        3 d     ELi ; i)rp   Nrq   rr   r    rB   r+   z%dpxr%   \/classesnamesz4Figure caption must be a paragraph or empty comment.)rF   )/r.   popr   rO   r/   r   system_messagefigurerC   rD   r<   rE   rF   r   r0   r?   settingsfile_insertion_enabledr   opensizerecord_dependenciesaddreplaceOSErrorUnicodeEncodeErrorrA   r   note_explicit_targetcontentElementnested_parsecontent_offset	enumerater'   pending	paragraphcaption	rawsourcechildrencommentlenreporterr3   literal_blockr;   legend)rH   rp   
figclassesrr   r   rN   figure_node	imagepathimgnodeichildr   r3   s   &             r   rO   
Figure.run   sD   <<##J5\\%%j$7
,,""9d3  $/		$j%"6"677<ll2z233DKK@		[-wstzz**33JJJ(E):;	6	22c/5/CG, 3
 JJ''00DDHH!))$46!#+ 	"j0" ''(B(B7(KLJJ44[N#( <<< ==?DJJ##DLL$2E2EtL%dOeellEMM%BCC(KeU__55#mmEOOR =-2^^=G%*\\GN#(::GL*KeU]]33E
a++J''I , & $++% ,& 4y1Q3u||B<cd<<}U 322!34 s*   'Q* 2QQ* Q'	!	Q* *Q?>Q?r   N)r   r   r	   r
   r   rn   r   rc   copyr   rb   r]   has_contentrO   r   rd   re   s   @r   rh   rh   n   sj     BO ##((*K,K
(55K
'11K	 KK9 9r   rh   )__doc____docformat__urllib.requestr   	PIL.Imager   ImportErrorr   docutilsr   docutils.nodesr   r   docutils.parsers.rstr   r   r   docutils.parsers.rst.rolesr   rh   r   r   r   <module>r      s   
 # '  J * 3 8M+I M+`LU L  	 s)   A
 
A:A))	A62A:5A66A: