+
    iL                        ^ RI Ht ^ RIHtHt ^ RIHtHt ^ RIH	t	H
t
HtHt ^ RIHtHt ^ RIHtHt ]'       d   ^ RIHt R R	 ltR
 R ltR R ltR R ltR# )    )annotations)TYPE_CHECKINGcast)FillTypeLineType)concat_codes_or_noneconcat_offsets_or_noneconcat_points_or_noneconcat_points_or_none_with_nan)as_fill_typeas_line_type)check_filledcheck_linesNc               $    V ^8  d   QhRRRRRR/# )   filledzcpy.FillReturn	fill_typeFillType | strreturn )formats   "q/Users/tonyclaw/.openclaw/workspace/skills/math-calculator/venv/lib/python3.14/site-packages/contourpy/dechunk.py__annotate__r      s&     D: D:> D:n D: D:    c                   \        V4      pV\        P                  \        P                  39   d   V # \	        W4       \        V ^ ,          4      ^8  d   V # \        '       d   \        \        P                  V 4      p \        V ^ ,          4      pV\        P                  8X  dK   \        '       d   \        \        P                  V 4      p Vf	   R.R.3pV# V.\        V ^,          4      .3pV# V\        P                  8X  dK   \        '       d   \        \        P                  V 4      p Vf	   R.R.3pV# V.\!        V ^,          4      .3pV# V\        P"                  8X  da   \        '       d   \        \        P$                  V 4      p Vf   R.R.R.3pV# \!        V ^,          4      pV.\        V ^,          4      .V.3pV# V\        P&                  8X  da   \        '       d   \        \        P(                  V 4      p Vf   R.R.R.3pV# \!        V ^,          4      pV.\!        V ^,          4      .V.3pV# \+        RV 24      h)ax  Return the specified filled contours with chunked data moved into the first chunk.

Filled contours that are not chunked (``FillType.OuterCode`` and ``FillType.OuterOffset``) and
those that are but only contain a single chunk are returned unmodified. Individual polygons are
unchanged, they are not geometrically combined.

Args:
    filled (sequence of arrays): Filled contour data, such as returned by
        :meth:`.ContourGenerator.filled`.
    fill_type (FillType or str): Type of :meth:`~.ContourGenerator.filled` as enum or string
        equivalent.

Return:
    Filled contours in a single chunk.

.. versionadded:: 1.2.0
NzInvalid FillType )r   r   	OuterCodeOuterOffsetr   lenr   r   cpyFillReturn_Chunkr
   ChunkCombinedCodeFillReturn_ChunkCombinedCoder   ChunkCombinedOffsetFillReturn_ChunkCombinedOffsetr	   ChunkCombinedCodeOffset"FillReturn_ChunkCombinedCodeOffsetChunkCombinedOffsetOffset$FillReturn_ChunkCombinedOffsetOffset
ValueError)r   r   pointsret1ret2ret3outer_offsetsret4s   &&      r   dechunk_filledr0      s)   $ Y'IX'')=)=>>#
6!9~}c**F3"6!9-FH...=#::FCF>7;ftf5ED  H3F1I>?@D	h22	2=#<<fEF>9=7GD  H5fQi@ABD	h66	6=#@@&IF>=AFTFTF;SD  36!9=MH3F1I>?-QD	h88	8=#BBFKF>?Cftftf=UD  36!9=MH5fQi@AM?SD,YK899r   c               $    V ^8  d   QhRRRRRR/# )r   lineszcpy.LineReturn	line_typeLineType | strr   r   )r   s   "r   r   r   Z   s!     9: 9: 9:N 9:~ 9:r   c                   \        V4      pV\        P                  \        P                  39   d   V # \	        W4       \        V ^ ,          4      ^8  d   V # \        '       d   \        \        P                  V 4      p V\        P                  8X  d]   \        '       d   \        \        P                  V 4      p \        V ^ ,          4      pVf	   R.R.3pV# V.\        V ^,          4      .3pV# V\        P                  8X  d]   \        '       d   \        \        P                  V 4      p \        V ^ ,          4      pVf	   R.R.3pV# V.\!        V ^,          4      .3pV# V\        P"                  8X  d?   \        '       d   \        \        P$                  V 4      p \'        V ^ ,          4      pV.3pV# \)        RV 24      h)aj  Return the specified contour lines with chunked data moved into the first chunk.

Contour lines that are not chunked (``LineType.Separate`` and ``LineType.SeparateCode``) and
those that are but only contain a single chunk are returned unmodified. Individual lines are
unchanged, they are not geometrically combined.

Args:
    lines (sequence of arrays): Contour line data, such as returned by
        :meth:`.ContourGenerator.lines`.
    line_type (LineType or str): Type of :meth:`~.ContourGenerator.lines` as enum or string
        equivalent.

Return:
    Contour lines in a single chunk.

.. versionadded:: 1.2.0
NzInvalid LineType )r   r   SeparateSeparateCoder   r   r   r   r   LineReturn_Chunkr!   LineReturn_ChunkCombinedCoder
   r   r#   LineReturn_ChunkCombinedOffsetr	   ChunkCombinedNanLineReturn_ChunkCombinedNanr   r)   )r2   r3   r*   r+   r,   r-   s   &&    r   dechunk_linesr=   Z   s   $ Y'IX&&(=(=>>!
58}q}S))51H...=995AE&uQx0>7;ftf5ED  H3E!H=>?D	h22	2=;;UCE&uQx0>9=7GD  H5eAh?@AD	h//	/=88%@E/a928,YK899r   c               $    V ^8  d   QhRRRRRR/# )r   multi_filledzlist[cpy.FillReturn]r   r   r   r   )r   s   "r   r   r      s+     J J&JJ Jr   c                    \        V4      pV\        P                  \        P                  39   d   V # V  Uu. uF  p\	        W!4      NK  	  up# u upi )a  Return multiple sets of filled contours with chunked data moved into the first chunks.

Filled contours that are not chunked (``FillType.OuterCode`` and ``FillType.OuterOffset``) and
those that are but only contain a single chunk are returned unmodified. Individual polygons are
unchanged, they are not geometrically combined.

Args:
    multi_filled (nested sequence of arrays): Filled contour data, such as returned by
        :meth:`.ContourGenerator.multi_filled`.
    fill_type (FillType or str): Type of :meth:`~.ContourGenerator.filled` as enum or string
        equivalent.

Return:
    Multiple sets of filled contours in a single chunk.

.. versionadded:: 1.3.0
)r   r   r   r   r0   )r?   r   r   s   && r   dechunk_multi_filledrA      sJ    * Y'IX'')=)=>><HIL&N6-LIII   Ac               $    V ^8  d   QhRRRRRR/# )r   multi_lineszlist[cpy.LineReturn]r3   r4   r   r   )r   s   "r   r   r      s+     F F%FF Fr   c                    \        V4      pV\        P                  \        P                  39   d   V # V  Uu. uF  p\	        W!4      NK  	  up# u upi )a  Return multiple sets of contour lines with all chunked data moved into the first chunks.

Contour lines that are not chunked (``LineType.Separate`` and ``LineType.SeparateCode``) and
those that are but only contain a single chunk are returned unmodified. Individual lines are
unchanged, they are not geometrically combined.

Args:
    multi_lines (nested sequence of arrays): Contour line data, such as returned by
        :meth:`.ContourGenerator.multi_lines`.
    line_type (LineType or str): Type of :meth:`~.ContourGenerator.lines` as enum or string
        equivalent.

Return:
    Multiple sets of contour lines in a single chunk.

.. versionadded:: 1.3.0
)r   r   r6   r7   r=   )rD   r3   r2   s   && r   dechunk_multi_linesrF      sJ    * Y'IX&&(=(=>>9DEM%+EEErB   )
__future__r   typingr   r   contourpy._contourpyr   r   contourpy.arrayr   r	   r
   r   contourpy.enum_utilr   r   contourpy.typecheckr   r   
_contourpyr   r0   r=   rA   rF   r   r   r   <module>rN      s?    " & 3  ; 9&D:N9:xJ<Fr   