+
    ^eòjÅ  ã                  óò   € R t ^ RIHt ^ RIHt ^ RIHt ^ RIHtH	t	H
t
 ^ RIHt ^ RIHt ^ RIHt ]'       d   ^ RIHt ^ R	IHt ^ R
IHt  ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      tR# )zAShapes based on the `p:pic` element, including Picture and Movie.)Úannotations)ÚTYPE_CHECKING©Ú
LineFormat)Ú	MSO_SHAPEÚMSO_SHAPE_TYPEÚPP_MEDIA_TYPE)Ú	BaseShape)ÚParentedElementProxy)Úlazyproperty)Ú
CT_Picture)ÚCT_LineProperties)ÚProvidesPartc                  ód  a € ] tR t^tRtR V 3R llt]R R l4       t]P                  R R l4       t]R R	 l4       t	]	P                  R
 R l4       t	]R R l4       t
]
P                  R R l4       t
]R R l4       t]P                  R R l4       tR t]R R l4       t]R R l4       tRtV ;t# )Ú_BasePicturez1Base class for shapes based on a `p:pic` element.c               ó    € V ^8„  d   QhRRRR/# )é   Úpicr   Úparentr   © )Úformats   "ÚŠ/opt/data/installs/351f81cc06284494/environments/aa258815729c481f8402f54f4c368f83/venv/lib/python3.14/site-packages/pptx/shapes/picture.pyÚ__annotate__Ú_BasePicture.__annotate__   s   € ÷ ñ ˜Jð °ñ ó    c                	ó:   <€ \         \        V `  W4       Wn        R # ©N)Úsuperr   Ú__init__Ú_pic)Úselfr   r   Ú	__class__s   &&&€r   r   Ú_BasePicture.__init__   s   ø€ ÜŒl˜DÑ*¨3Ô7ØŽ	r   c               ó   € V ^8„  d   QhRR/# ©r   ÚreturnÚfloatr   )r   s   "r   r   r      s   € ÷ #ñ #˜Uñ #r   c                ó.   € V P                   P                  # )zÆ|float| representing relative portion cropped from shape bottom.

Read/write. 1.0 represents 100%. For example, 25% is represented by 0.25. Negative values
are valid as are values greater than 1.0.
©r   Ú	srcRect_b©r    s   &r   Úcrop_bottomÚ_BasePicture.crop_bottom   ó   € ð �y‰y×"Ñ"Ð"r   c               ó   € V ^8„  d   QhRR/# ©r   Úvaluer&   r   )r   s   "r   r   r   $   s   € ÷ $ñ $ ñ $r   c                	ó&   € WP                   n        R # r   r(   ©r    r0   s   &&r   r+   r,   #   ó   € à#�	‰	Ör   c               ó   € V ^8„  d   QhRR/# r$   r   )r   s   "r   r   r   (   s   € ÷ #ñ #˜5ñ #r   c                ó.   € V P                   P                  # )z¡|float| representing relative portion cropped from left of shape.

Read/write. 1.0 represents 100%. A negative value extends the side beyond the image
boundary.
©r   Ú	srcRect_lr*   s   &r   Ú	crop_leftÚ_BasePicture.crop_left'   r-   r   c               ó   € V ^8„  d   QhRR/# r/   r   )r   s   "r   r   r   1   s   € ÷ $ñ $˜uñ $r   c                	ó&   € WP                   n        R # r   r6   r2   s   &&r   r8   r9   0   r3   r   c               ó   € V ^8„  d   QhRR/# r$   r   )r   s   "r   r   r   5   s   € ÷ #ñ #˜Eñ #r   c                ó.   € V P                   P                  # )ze|float| representing relative portion cropped from right of shape.

Read/write. 1.0 represents 100%.
©r   Ú	srcRect_rr*   s   &r   Ú
crop_rightÚ_BasePicture.crop_right4   ó   € ð �y‰y×"Ñ"Ð"r   c               ó   € V ^8„  d   QhRR/# r/   r   )r   s   "r   r   r   =   s   € ÷ $ñ $ ñ $r   c                	ó&   € WP                   n        R # r   r>   r2   s   &&r   r@   rA   <   r3   r   c               ó   € V ^8„  d   QhRR/# r$   r   )r   s   "r   r   r   A   s   € ÷ #ñ #˜%ñ #r   c                ó.   € V P                   P                  # )z`|float| representing relative portion cropped from shape top.

Read/write. 1.0 represents 100%.
©r   Ú	srcRect_tr*   s   &r   Úcrop_topÚ_BasePicture.crop_top@   rB   r   c               ó   € V ^8„  d   QhRR/# r/   r   )r   s   "r   r   r   I   s   € ÷ $ñ $˜eñ $r   c                	ó&   € WP                   n        R # r   rG   r2   s   &&r   rI   rJ   H   r3   r   c                ó6   € V P                   P                  4       # )zuReturn the `a:ln` element for this `p:pic`-based image.

The `a:ln` element contains the line format properties XML.
)r   Úget_or_add_lnr*   s   &r   rN   Ú_BasePicture.get_or_add_lnL   s   € ð
 �y‰y×&Ñ&Ó(Ð(r   c               ó   € V ^8„  d   QhRR/# )r   r%   r   r   )r   s   "r   r   r   T   s   € ÷  ñ  �jñ  r   c                ó   € \        V 4      # )zRProvides access to properties of the picture outline, such as its color and width.r   r*   s   &r   ÚlineÚ_BasePicture.lineS   s   € ô ˜$ÓÐr   c               ó   € V ^8„  d   QhRR/# )r   r%   zCT_LineProperties | Noner   )r   s   "r   r   r   Y   s   € ÷ ñ Ð,ñ r   c                ó.   € V P                   P                  # )z�The `a:ln` element for this `p:pic`.

Contains the line format properties such as line color and width. |None| if no `a:ln`
element is present.
)r   Úlnr*   s   &r   rV   Ú_BasePicture.lnX   s   € ð �y‰y�|‰|Ðr   )r   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   Úpropertyr+   Úsetterr8   r@   rI   rN   r   rR   rV   Ú__static_attributes__Ú__classcell__)r!   s   @r   r   r      só   ø† Ù;÷ð ð ô#ó ð#ð ×Ñô$ó ð$ð ô#ó ð#ð ×Ñô$ó ð$ð ô#ó ð#ð ×Ñô$ó ð$ð ô#ó ð#ð ‡_�_ô$ó ð$ò)ð ô ó ð ð ôó ör   r   c                  ól   € ] tR t^btRt]R R l4       t]R R l4       t]R 4       t	]R R l4       t
R	tR
# )ÚMoviezíA movie shape, one that places a video on a slide.

Like |Picture|, a movie shape is based on the `p:pic` element. A movie is composed of a video
and a *poster frame*, the placeholder image that represents the video before it is played.
c               ó   € V ^8„  d   QhRR/# )r   r%   Ú_MediaFormatr   )r   s   "r   r   ÚMovie.__annotate__j   s   € ÷ -ñ -˜lñ -r   c                ó.   € \        V P                  V 4      # )z}The |_MediaFormat| object for this movie.

The |_MediaFormat| object provides access to formatting properties for the movie.
)rd   r   r*   s   &r   Úmedia_formatÚMovie.media_formati   s   € ô ˜DŸI™I tÓ,Ð,r   c               ó   € V ^8„  d   QhRR/# )r   r%   r   r   )r   s   "r   r   re   r   s   € ÷ #ñ #˜Mñ #r   c                ó"   € \         P                  # )z}Member of :ref:`PpMediaType` describing this shape.

The return value is unconditionally `PP_MEDIA_TYPE.MOVIE` in this case.
)r   ÚMOVIEr*   s   &r   Ú
media_typeÚMovie.media_typeq   s   € ô ×"Ñ"Ð"r   c                ór   € V P                   V P                  P                  r!Vf   R# VP                  V4      # )z|Return |Image| object containing poster frame for this movie.

Returns |None| if this movie has no poster frame (uncommon).
N)Úpartr   Úblip_rIdÚ	get_image©r    Ú
slide_partÚrIds   &  r   Úposter_frameÚMovie.poster_framey   s2   € ð Ÿ)™) T§Y¡Y×%7Ñ%7�CØŠ;ÙØ×#Ñ# CÓ(Ð(r   c               ó   € V ^8„  d   QhRR/# ©r   r%   r   r   )r   s   "r   r   re   …   s   € ÷ $ñ $˜Nñ $r   c                ó"   € \         P                  # )z†Return member of :ref:`MsoShapeType` describing this shape.

The return value is unconditionally `MSO_SHAPE_TYPE.MEDIA` in this
case.
)r   ÚMEDIAr*   s   &r   Ú
shape_typeÚMovie.shape_type„   s   € ô ×#Ñ#Ð#r   r   N)rX   rY   rZ   r[   r\   r   rg   r]   rl   ru   r{   r_   r   r   r   rb   rb   b   sW   † ñð ô-ó ð-ð ô#ó ð#ð ñ)ó ð)ð ô$ó ô$r   rb   c                  ó€   € ] tR t^ŽtRt]R R l4       t]P                  R R l4       t]R 4       t]R R l4       t	R	t
R
# )ÚPicturezUA picture shape, one that places an image on a slide.

Based on the `p:pic` element.
c               ó   € V ^8„  d   QhRR/# )r   r%   zMSO_SHAPE | Noner   )r   s   "r   r   ÚPicture.__annotate__•   s   € ÷ ñ Ð!1ñ r   c                óf   € V P                   P                  P                  pVf   R# VP                  # )aµ  Member of MSO_SHAPE indicating masking shape.

A picture can be masked by any of the so-called "auto-shapes" available in PowerPoint,
such as an ellipse or triangle. When a picture is masked by a shape, the shape assumes the
same dimensions as the picture and the portion of the picture outside the shape boundaries
does not appear. Note the default value for a newly-inserted picture is
`MSO_AUTO_SHAPE_TYPE.RECTANGLE`, which performs no cropping because the extents of the
rectangle exactly correspond to the extents of the picture.

The available shapes correspond to the members of :ref:`MsoAutoShapeType`.

The return value can also be |None|, indicating the picture either has no geometry (not
expected) or has custom geometry, like a freeform shape. A picture with no geometry will
have no visible representation on the slide, although it can be selected. This is because
without geometry, there is no "inside-the-shape" for it to appear in.
N)r   ÚspPrÚprstGeomÚprst)r    rƒ   s   & r   Úauto_shape_typeÚPicture.auto_shape_type”   s*   € ð$ —9‘9—>‘>×*Ñ*ˆØÒÙØ�}‰}Ðr   c               ó   € V ^8„  d   QhRR/# )r   Úmemberr   r   )r   s   "r   r   r€   ¬   s   € ÷ ñ  iñ r   c                	óÊ   € \         P                  ! V4       V P                  P                  pVP                  pVf!   VP                  4        VP                  4       pWn        R # r   )r   Úvalidater   r‚   rƒ   Ú_remove_custGeomÚ_add_prstGeomr„   )r    rˆ   r‚   rƒ   s   &&  r   r…   r†   «   sK   € ä×Ò˜6Ô"Ø�y‰y�~‰~ˆØ—=‘=ˆØÒØ×!Ñ!Ô#Ø×)Ñ)Ó+ˆHØŽr   c                ó„   € V P                   V P                  P                  r!Vf   \        R4      hVP	                  V4      # )zvThe |Image| object for this picture.

Provides access to the properties and bytes of the image in this picture shape.
zno embedded image)ro   r   rp   Ú
ValueErrorrq   rr   s   &  r   ÚimageÚPicture.imageµ   s;   € ð Ÿ)™) T§Y¡Y×%7Ñ%7�CØŠ;ÜÐ0Ó1Ð1Ø×#Ñ# CÓ(Ð(r   c               ó   € V ^8„  d   QhRR/# rx   r   )r   s   "r   r   r€   Á   s   € ÷ &ñ &˜Nñ &r   c                ó"   € \         P                  # )z6Unconditionally `MSO_SHAPE_TYPE.PICTURE` in this case.)r   ÚPICTUREr*   s   &r   r{   ÚPicture.shape_typeÀ   s   € ô ×%Ñ%Ð%r   r   N)rX   rY   rZ   r[   r\   r]   r…   r^   r�   r{   r_   r   r   r   r~   r~   Ž   s]   † ñð
 ôó ðð, ×Ñôó ðð ñ)ó ð)ð ô&ó ô&r   r~   c                  ó   € ] tR t^ÆtRtRtR# )rd   z‘Provides access to formatting properties for a Media object.

Media format properties are things like start point, volume, and
compression type.
r   N)rX   rY   rZ   r[   r\   r_   r   r   r   rd   rd   Æ   s   † õr   rd   N)r\   Ú
__future__r   Útypingr   Úpptx.dml.liner   Úpptx.enum.shapesr   r   r   Úpptx.shapes.baser	   Úpptx.sharedr
   Ú	pptx.utilr   Úpptx.oxml.shapes.picturer   Úpptx.oxml.shapes.sharedr   Ú
pptx.typesr   r   rb   r~   rd   r   r   r   Ú<module>r       sb   ðÙ Gå "å  å $ß EÑ EÝ &Ý ,Ý "çÝ3Ý9Ý'ôL�9ô Lô^)$ˆLô )$ôX5&ˆlô 5&ôpÐ'ö r   