§
    öÊc†  ã            	       óÜ  — d dl mZmZmZmZmZmZmZ d dlmZ erüd dl	Z
ede
j        j        f         Zeee
j        j        f         Zeee
j        j        f         Zeee
j        j        f         Zee
j        j        eeef         eeeef                  f         Zee
j        j        eeef         f         Zee
j        j        eee
j        j        ef                  f         Zee
j        j        eee
j        j        eeeef         f                  f         Z  G d„ d¦  «        Z G d„ de¦  «        Z G d„ d	e¦  «        Z G d
„ de¦  «        Zdddedefd„Z!dddedefd„Z"dddedefd„Z#dS )é    )ÚOptionalÚUnionÚAnyÚMappingÚSequenceÚTupleÚTYPE_CHECKING)ÚdatetimeNÚ	OSMObjectc                   óº   — e Zd ZdZ	 	 	 	 	 dded         dee         dee         dee         dee         d	ee         d
ee         ded         dee         ddfd„Z	dS )r   a  Mutable version of ``osmium.osm.OSMObject``. It exposes the following
       attributes ``id``, ``version``, ``visible``, ``changeset``, ``timestamp``,
       ``uid`` and ``tags``. Timestamps may be strings or datetime objects.
       Tags can be an osmium.osm.TagList, a dict-like object
       or a list of tuples, where each tuple contains a (key value) string pair.

       If the ``base`` parameter is given in the constructor, then the object
       will be initialised first from the attributes of this base object.
    NÚbaseÚOSMObjectLikeÚidÚversionÚvisibleÚ	changesetÚ	timestampÚuidÚtagsÚTagSequenceÚuserÚreturnc
                 ó~  — |€:|| _         || _        || _        || _        || _        || _        || _        |	| _        d S |€|j         n|| _         |€|j        n|| _        |€|j        n|| _        |€|j        n|| _        |€|j        n|| _        |€|j        n|| _        |€|j        n|| _        |	€|j        n|	| _        d S )N)r   r   r   r   r   r   r   r   )
Úselfr   r   r   r   r   r   r   r   r   s
             ú4/usr/lib/python3/dist-packages/osmium/osm/mutable.pyÚ__init__zOSMObject.__init__#   sÓ   € ð
 ˆ<ØˆDŒGØ"ˆDŒLØ"ˆDŒLØ&ˆDŒNØ&ˆDŒNØˆDŒHØˆDŒIØˆDŒIˆIˆIà!# �d”g�g°ˆDŒGØ+2¨?˜4œ<˜<ÀˆDŒLØ+2¨?˜4œ<˜<ÀˆDŒLØ/8Ð/@˜Tœ^˜^ÀiˆDŒNØ/8Ð/@˜Tœ^˜^ÀiˆDŒNØ#& ;�t”x�x°CˆDŒHØ%) \˜œ	˜	°tˆDŒIØ%) \˜œ	˜	°tˆDŒIˆIˆIó    )	NNNNNNNNN)
Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   ÚintÚboolr
   Ústrr   © r   r   r   r      sÌ   € € € € € ðð ð :>ØDHØLPØLPØMQð	<ð <˜X oÔ6ð <Ø˜c”]ð<Ø4<¸S´Mð<à" 4œ.ð<à<DÀS¼Mð<ð % XÔ.ð<ð =EÀS¼Mð<ð   Ô.ð	<ð >FÀc¼]ð	<ð W[ð	<ð <ð <ð <ð <ð <r   c            	       óH   — e Zd ZdZ	 	 d
ded         ded         deddfd	„ZdS )ÚNodezëThe mutable version of ``osmium.osm.Node``. It inherits all attributes
       from osmium.osm.mutable.OSMObject and adds a `location` attribute. This
       may either be an `osmium.osm.Location` or a tuple of lon/lat coordinates.
    Nr   ÚNodeLikeÚlocationÚLocationLikeÚattrsr   c                 ód   — t          j        | fd|i|¤Ž |€	|| _        d S |�|n|j        | _        d S ©Nr   )r   r   r)   )r   r   r)   r+   s       r   r   zNode.__init__B   sH   € õ 	Ô˜4Ð4Ð4 dÐ4¨eÐ4Ð4Ð4Øˆ<Ø$ˆDŒMˆMˆMà(0Ð(<˜H˜HÀ$Ä-ˆDŒMˆMˆMr   ©NN©r   r   r    r!   r   r   r   r%   r   r   r'   r'   <   ss   € € € € € ðð ð
 59Ø6:ðPð P˜X jÔ1ð PØ# NÔ3ðPàðPà"&ðPð Pð Pð Pð Pð Pr   r'   c            	       óH   — e Zd ZdZ	 	 d
ded         ded         deddfd	„ZdS )ÚWaya  The mutable version of ``osmium.osm.Way``. It inherits all attributes
       from osmium.osm.mutable.OSMObject and adds a `nodes` attribute. This may
       either be and ``osmium.osm.NodeList`` or a list consisting of
       ``osmium.osm.NodeRef`` or simple node ids.
    Nr   ÚWayLikeÚnodesÚNodeSequencer+   r   c                 ód   — t          j        | fd|i|¤Ž |€	|| _        d S |�|n|j        | _        d S r-   )r   r   r3   )r   r   r3   r+   s       r   r   zWay.__init__S   sF   € åÔ˜4Ð4Ð4 dÐ4¨eÐ4Ð4Ð4Øˆ<ØˆDŒJˆJˆJà"'Ð"3˜˜¸¼ˆDŒJˆJˆJr   r.   r/   r%   r   r   r1   r1   L   ss   € € € € € ðð ð 48Ø37ðDð D˜X iÔ0ð DØ  Ô0ðDØBEðDØJNðDð Dð Dð Dð Dð Dr   r1   c            	       óH   — e Zd ZdZ	 	 d
ded         ded         deddfd	„ZdS )ÚRelationax  The mutable version of ``osmium.osm.Relation``. It inherits all attributes
       from osmium.osm.mutable.OSMObject and adds a `members` attribute. This
       may either be an ``osmium.osm.RelationMemberList`` or a list consisting
       of ``osmium.osm.RelationMember`` or tuples of (type, id, role). The
       member type should be a single character 'n', 'w' or 'r'.
    Nr   ÚRelationLikeÚmembersÚMemberSequencer+   r   c                 ód   — t          j        | fd|i|¤Ž |€	|| _        d S |�|n|j        | _        d S r-   )r   r   r9   )r   r   r9   r+   s       r   r   zRelation.__init__c   sF   € åÔ˜4Ð4Ð4 dÐ4¨eÐ4Ð4Ð4Øˆ<Ø"ˆDŒLˆLˆLà&-Ð&9˜7˜7¸t¼|ˆDŒLˆLˆLr   r.   r/   r%   r   r   r7   r7   [   st   € € € € € ðð ð 9=Ø7;ðLð L˜X nÔ5ð LØ"Ð#3Ô4ðLØFIðLØNRðLð Lð Lð Lð Lð Lr   r7   Únoder(   Úargsr   c                 ó   — t          dd| i|¤ŽS )zÑ Create a mutable node replacing the properties given in the
        named parameters. Note that this function only creates a shallow
        copy which is still bound to the scope of the original object.
    r   r%   )r'   )r<   r=   s     r   Úcreate_mutable_noder?   l   s   € õ
 Ð"Ð"�TÐ"˜TÐ"Ð"Ð"r   Úwayr2   c                 ó   — t          dd| i|¤ŽS )zÐ Create a mutable way replacing the properties given in the
        named parameters. Note that this function only creates a shallow
        copy which is still bound to the scope of the original object.
    r   r%   )r1   )r@   r=   s     r   Úcreate_mutable_wayrB   s   s   € õ
 Ð Ð �CÐ ˜4Ð Ð Ð r   Úrelr8   c                 ó   — t          dd| i|¤ŽS )zÕ Create a mutable relation replacing the properties given in the
        named parameters. Note that this function only creates a shallow
        copy which is still bound to the scope of the original object.
    r   r%   )r7   )rC   r=   s     r   Úcreate_mutable_relationrE   z   s   € õ
 Ð%Ð%˜Ð% Ð%Ð%Ð%r   )$Útypingr   r   r   r   r   r   r	   r
   Ú
osmium.osmÚosmiumÚosmr   r   r'   r(   r1   r2   r7   r8   ÚTagListr$   r   ÚLocationÚfloatr*   ÚNodeRefListÚNodeRefr"   r4   ÚRelationMemberListÚRelationMemberr:   r?   rB   rE   r%   r   r   ú<module>rQ      s¥  ðð QÐ PÐ PÐ PÐ PÐ PÐ PÐ PÐ PÐ PÐ PÐ PÐ PÐ PÐ PÐ PÐ PÐ PØ Ð Ð Ð Ð Ð àð YØÐÐÐà˜+ v¤zÔ';Ð;Ô<€MØ�T˜6œ:œ?Ð*Ô+€HØ�C˜œœÐ'Ô(€GØ˜ 6¤:Ô#6Ð6Ô7€Là˜œ
Ô*¨G°C¸°HÔ,=¸xÈÈcÐSVÈhÌÔ?XÐXÔY€KØ˜œÔ,¨e°E¸5°LÔ.AÐAÔB€LØ˜œÔ/°¸%ÀÄ
Ô@RÐTWÐ@WÔ:XÔ1YÐYÔZ€LØ˜6œ:Ô8Ø  f¤jÔ&?ÀÀsÈCÐQTÀ}ÔAUÐ&UÔ VÔWðXô Y€Nð!<ð !<ð !<ð !<ð !<ñ !<ô !<ð !<ðHPð Pð Pð Pð Pˆ9ñ Pô Pð Pð Dð Dð Dð Dð Dˆ)ñ Dô Dð DðLð Lð Lð Lð Lˆyñ Lô Lð Lð"#˜jð #°#ð #¸$ð #ð #ð #ð #ð!˜Ið !¨sð !°sð !ð !ð !ð !ð& ð &¸ð &Àð &ð &ð &ð &ð &ð &r   