Ë
    œ…j,  ã                  óØ   — d Z ddlmZ ddlmZmZ ddlmZ ddlm	Z	 ddl
mZ ddlmZmZ ddlmZmZmZmZ erdd	l
mZ  G d
„ de«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Zy)zLlxml custom element classes for XML elements related to the Connector shape.é    )Úannotations)ÚTYPE_CHECKINGÚcast)Ú	parse_xml)Únsdecls)ÚBaseShapeElement)ÚST_DrawingElementIdÚXsdUnsignedInt)ÚBaseOxmlElementÚOneAndOnlyOneÚRequiredAttributeÚ	ZeroOrOne)ÚCT_ShapePropertiesc                  ó4   — e Zd ZdZ ede«      Z ede«      Zy)ÚCT_Connectionz…A `a:stCxn` or `a:endCxn` element.

    Specifies a connection between an end-point of a connector and a shape connection point.
    ÚidÚidxN)	Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r	   r   r
   r   © ó    ú[/root/aria/tools/markitdown-venv/lib/python3.12/site-packages/pptx/oxml/shapes/connector.pyr   r      s"   „ ññ
 
˜4Ð!4Ó	5€BÙ
˜E >Ó
2�Cr   r   c                  ó|   — e Zd ZU dZdZ ed«      Z ed«      Zded<   [e		 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d	d„«       Z
y)
ÚCT_Connectorz(A line/connector shape `p:cxnSp` element)úp:nvCxnSpPrúp:spPrzp:stylezp:extLstr   r   r   ÚspPrc
                óš   — |rdnd|	rdndz   }
t        t        t        dt        dd«      › d|› d|› d	|
› d
|› d|› d|› d|› d|› d�«      «      S )zCReturn a new `p:cxnSp` element tree configured as a base connector.z
 flipH="1"Ú z
 flipV="1"z	<p:cxnSp ÚaÚpz#>
  <p:nvCxnSpPr>
    <p:cNvPr id="z" name="zM"/>
    <p:cNvCxnSpPr/>
    <p:nvPr/>
  </p:nvCxnSpPr>
  <p:spPr>
    <a:xfrmz>
      <a:off x="z" y="z"/>
      <a:ext cx="z" cy="z("/>
    </a:xfrm>
    <a:prstGeom prst="a…  ">
      <a:avLst/>
    </a:prstGeom>
  </p:spPr>
  <p:style>
    <a:lnRef idx="2">
      <a:schemeClr val="accent1"/>
    </a:lnRef>
    <a:fillRef idx="0">
      <a:schemeClr val="accent1"/>
    </a:fillRef>
    <a:effectRef idx="1">
      <a:schemeClr val="accent1"/>
    </a:effectRef>
    <a:fontRef idx="minor">
      <a:schemeClr val="tx1"/>
    </a:fontRef>
  </p:style>
</p:cxnSp>)r   r   r   r   )ÚclsÚid_ÚnameÚprstÚxÚyÚcxÚcyÚflipHÚflipVÚflips              r   Ú	new_cxnSpzCT_Connector.new_cxnSp#   s�   € ñ !&‘¨2Á%±,ÈRÑPˆÜÜÜØœG C¨Ó-Ð.ð /$à$' 5¨°°ð 7ð
 #˜Vð $#Ø#$ # U¨1¨#ð .$Ø$& 4 v¨b¨Tð 2)à)-¨ð /ðóó"
ð "	
r   N)r%   Úintr&   Ústrr'   r1   r(   r0   r)   r0   r*   r0   r+   r0   r,   Úboolr-   r2   Úreturnr   )r   r   r   r   Ú_tag_seqr   Ú	nvCxnSpPrr   Ú__annotations__Úclassmethodr/   r   r   r   r   r      s›   … Ù2à?€HÙ˜mÓ,€IÙ,¨XÓ6€DÐ
Ó6Øàð0
àð0
ð ð0
ð ð	0
ð
 ð0
ð ð0
ð ð0
ð ð0
ð ð0
ð ð0
ð 
ò0
ó ñ0
r   r   c                  ó@   — e Zd ZdZ ed«      Z ed«      Z ed«      Zy)ÚCT_ConnectorNonVisualzs
    `p:nvCxnSpPr` element, container for the non-visual properties of
    a connector, such as name, id, etc.
    zp:cNvPrzp:cNvCxnSpPrzp:nvPrN)r   r   r   r   r   ÚcNvPrÚ
cNvCxnSpPrÚnvPrr   r   r   r9   r9   W   s'   „ ññ
 ˜)Ó$€EÙ˜~Ó.€JÙ˜Ó"�Dr   r9   c                  óJ   — e Zd ZdZdZ ededd ¬«      Z ededd ¬«      Z[y)	ÚCT_NonVisualConnectorPropertiesz—
    `p:cNvCxnSpPr` element, container for the non-visual properties specific
    to a connector shape, such as connections and connector locking.
    )za:cxnSpLocksúa:stCxnúa:endCxnza:extLstr?   é   N)Ú
successorsr@   é   )r   r   r   r   r4   r   ÚstCxnÚendCxnr   r   r   r>   r>   b   s6   „ ñð
 C€HÙ�i¨H°Q°R¨LÔ9€EÙ�z¨h°q°r¨lÔ;€FÙr   r>   N)r   Ú
__future__r   Útypingr   r   Ú	pptx.oxmlr   Úpptx.oxml.nsr   Úpptx.oxml.shapes.sharedr   Úpptx.oxml.simpletypesr	   r
   Úpptx.oxml.xmlchemyr   r   r   r   r   r   r   r9   r>   r   r   r   ú<module>rM      sY   ðÙ Rå "ç &å Ý  Ý 4ß Eß [Ó [áÝ:ô3Ð$ô 3ô9
Ð#ô 9
ôx#˜Oô #ô	 oõ 	r   