1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
Ë
@ñúhhãó¶—ddlmZddlZddlZddlZddlZddlZddlZddl    Z    ddlm
Z
m Z m Z ddl mZmZmZmZmZmZmZddlZerddlmZddlmZddlmZede¬    «Zned«Zed
«Zed «Zeee
e e    j@fZ!d9d „Z"Gd „dejFj«Z$Gd„de$«Z%d„Z&Gd„deeef«Z'd„Z(e(dfd„Z)Gd„de*«Z+Gd„de+«Z,Gd„d«Z-Gd„d«Z.d„Z/Gd „d!e*«Z0Gd"„d#e1ejFjd«Z3Gd$„d%e*«Z4Gd&„d'ejFjejFjj«Z6Gd(„d)e.e4«Z7Gd*„d+«Z8Gd,„d-ejr«Z:Gd.„d/«Z;Gd0„d1«Z<d2„Z=Gd3„d4ej|«Z?Gd5„d6«Z@Gd7„d8e'«ZAy):é)Ú annotationsN)Ú    ContainerÚIterableÚMapping)Ú TYPE_CHECKINGÚAnyÚCallableÚDictÚTypeVarÚUnionÚoverload)Ú_SupportsComparison)ÚSupportsKeysAndGetItem)ÚSelfÚ _RangeMapKT)ÚboundÚ_TÚ_VTcóÀ—t|tj«r |jSt|t«s't|t
«s t |«}|j}|S©N)Ú
isinstanceÚreÚPatternÚ    fullmatchr    rÚsetÚ __contains__)Úobjs úaH:\Change_password\venv_build\Lib\site-packages\setuptools/_vendor/jaraco/collections/__init__.pyÚ    _dispatchr!sI€ô#”r—z‘zÔ"؏}‰}Ðä cœ8Ô $ܘ#œyÔ)ܐc“(ˆCØ×ÑˆØ €Jócó0—eZdZdZdd„Zd„Zd„Zd„Zd„Zy)    Ú
ProjectionaT
    Project a set of keys over a mapping
 
    >>> sample = {'a': 1, 'b': 2, 'c': 3}
    >>> prj = Projection(['a', 'c', 'd'], sample)
    >>> dict(prj)
    {'a': 1, 'c': 3}
 
    Projection also accepts an iterable or callable or pattern.
 
    >>> iter_prj = Projection(iter('acd'), sample)
    >>> call_prj = Projection(lambda k: ord(k) in (97, 99, 100), sample)
    >>> pat_prj = Projection(re.compile(r'[acd]'), sample)
    >>> prj == iter_prj == call_prj == pat_prj
    True
 
    Keys should only appear if they were specified and exist in the space.
    Order is retained.
 
    >>> list(prj)
    ['a', 'c']
 
    Attempting to access a key not in the projection
    results in a KeyError.
 
    >>> prj['b']
    Traceback (most recent call last):
    ...
    KeyError: 'b'
 
    Use the projection to update another dict.
 
    >>> target = {'a': 2, 'b': 2}
    >>> target.update(prj)
    >>> target
    {'a': 1, 'b': 2, 'c': 3}
 
    Projection keeps a reference to the original dict, so
    modifying the original dict may modify the Projection.
 
    >>> del sample['a']
    >>> dict(prj)
    {'c': 3}
    có2—t|«|_||_yr)rÚ_matchÚ_space)ÚselfÚkeysÚspaces   rÚ__init__zProjection.__init__]s€Ü “oˆŒ ؈ r cóX—|j|«s t|«‚|j|Sr)r$ÚKeyErrorr%©r&Úkeys  rÚ __getitem__zProjection.__getitem__as'€Ø{‰{˜3Ôܘ3“-Р؏{‰{˜3ÑÐr cóB—t|j|j«Sr)Úfilterr$r%©r&s rÚ_keys_resolvedzProjection._keys_resolvedfs€Üd—k‘k 4§;¡;Ó/Ð/r có"—|j«Sr)r2r1s rÚ__iter__zProjection.__iter__is€Ø×"Ñ"Ó$Ð$r cóF—tt|j«««Sr)ÚlenÚtupler2r1s rÚ__len__zProjection.__len__ls€Ü”5˜×,Ñ,Ó.Ó/Ó0Ð0r N)r'Ú
_Matchabler(r)    Ú__name__Ú
__module__Ú __qualname__Ú__doc__r)r.r2r4r8©r rr"r"/s!„ñ+óZò ò
0ò%ó1r r"có"‡—eZdZdZˆfd„ZˆxZS)ÚMaskz·
    The inverse of a :class:`Projection`, masking out keys.
 
    >>> sample = {'a': 1, 'b': 2, 'c': 3}
    >>> msk = Mask(['a', 'c', 'd'], sample)
    >>> dict(msk)
    {'b': 2}
    cóL•—t‰||i|¤Ž|jfd„|_y)Ncó—||« Srr>)r-Úorigs  rú<lambda>zMask.__init__.<locals>.<lambda>}s €¹¸S»    °M€r )Úsuperr)r$©r&ÚargsÚkwargsÚ    __class__s   €rr)z Mask.__init__zs#ø€Ü ‰Ñ˜$Ð) &Ò)à'+§{¡{ÒAˆ r ©r:r;r<r=r)Ú __classcell__©rIs@rr@r@psø„ñ÷BðBr r@cóH‡—tˆfd„|j«D««S)z
    Return a new dict with function applied to values of dictionary.
 
    >>> dict_map(lambda x: x+1, dict(a=1, b=2))
    {'a': 2, 'b': 3}
    c3ó8•K—|]\}}|‰|«f–—Œy­wrr>)Ú.0r-ÚvalueÚfunctions   €rú    <genexpr>zdict_map.<locals>.<genexpr>‡søèø€ÒL©:¨3°‘h˜u“oÔ&ÑLùsƒ)ÚdictÚitems)rQÚ
dictionarys` rÚdict_maprV€sø€ô ÓL¸×9IÑ9IÓ9KÔLÓ LÐLr cóþ—eZdZdZiej
f                    dd„Ze                dd„«Zdd„Z    e
dd„«Z e
ddd„«Z ddd„Z                         dd    „Z dd
„Z ed d i««ZGd „de«Zed«Zed«Zy)ÚRangeMapaP
    A dictionary-like object that uses the keys as bounds for a range.
    Inclusion of the value for that range is determined by the
    key_match_comparator, which defaults to less-than-or-equal.
    A value is returned for a key if it is the first key that matches in
    the sorted list of keys.
 
    One may supply keyword parameters to be passed to the sort function used
    to sort keys (i.e. key, reverse) as sort_params.
 
    Create a map that maps 1-3 -> 'a', 4-6 -> 'b'
 
    >>> r = RangeMap({3: 'a', 6: 'b'})  # boy, that was easy
    >>> r[1], r[2], r[3], r[4], r[5], r[6]
    ('a', 'a', 'a', 'b', 'b', 'b')
 
    Even float values should work so long as the comparison operator
    supports it.
 
    >>> r[4.5]
    'b'
 
    Notice that the way rangemap is defined, it must be open-ended
    on one side.
 
    >>> r[0]
    'a'
    >>> r[-1]
    'a'
 
    One can close the open-end of the RangeMap by using undefined_value
 
    >>> r = RangeMap({0: RangeMap.undefined_value, 3: 'a', 6: 'b'})
    >>> r[0]
    Traceback (most recent call last):
    ...
    KeyError: 0
 
    One can get the first or last elements in the range by using RangeMap.Item
 
    >>> last_item = RangeMap.Item(-1)
    >>> r[last_item]
    'b'
 
    .last_item is a shortcut for Item(-1)
 
    >>> r[RangeMap.last_item]
    'b'
 
    Sometimes it's useful to find the bounds for a RangeMap
 
    >>> r.bounds()
    (0, 6)
 
    RangeMap supports .get(key, default)
 
    >>> r.get(0, 'not found')
    'not found'
 
    >>> r.get(7, 'not found')
    'not found'
 
    One often wishes to define the ranges by their left-most values,
    which requires use of sort params and a key_match_comparator.
 
    >>> r = RangeMap({1: 'a', 4: 'b'},
    ...     sort_params=dict(reverse=True),
    ...     key_match_comparator=operator.ge)
    >>> r[1], r[2], r[3], r[4], r[5], r[6]
    ('a', 'a', 'a', 'b', 'b', 'b')
 
    That wasn't nearly as easy as before, so an alternate constructor
    is provided:
 
    >>> r = RangeMap.left({1: 'a', 4: 'b', 7: RangeMap.undefined_value})
    >>> r[1], r[2], r[3], r[4], r[5], r[6]
    ('a', 'a', 'a', 'b', 'b', 'b')
 
    cóL—tj||«||_||_yr)rSr)Ú sort_paramsÚmatch)r&ÚsourcerZÚkey_match_comparators    rr)zRangeMap.__init__Ûs!€ô      ‰ d˜FÔ#Ø&ˆÔØ)ˆ
r cóH—||td¬«tj¬«S)NT)Úreverse)rZr])rSÚoperatorÚge)Úclsr\s  rÚleftz RangeMap.leftçs!€ñØ ¤¨TÔ 2ÌÏÉô
ð    
r có8—t|j«fi|j¤Ž}t|tj
«r|j ||«}|S|j||«}tj ||«}|tjur t|«‚|Sr) Úsortedr'rZrrXÚItemr.Ú_find_first_match_rSÚundefined_valuer+)r&ÚitemÚ sorted_keysÚresultr-s     rr.zRangeMap.__getitem__òsŠ€Ü˜TŸY™Y›[Ñ=¨D×,<Ñ,<Ñ=ˆ Ü dœHŸM™MÔ *Ø×%Ñ% k°$Ñ&7Ó8ˆFð ˆ ð    ×)Ñ)¨+°tÓ<ˆCÜ×%Ñ% d¨CÓ0ˆFØœ×1Ñ1Ñ1ܘs“mÐ#؈ r có—yrr>©r&r-Údefaults   rÚgetz RangeMap.getýs€Ø>Ar Ncó—yrr>rms   rroz RangeMap.getÿs€ØILr có0—    ||S#t$r|cYSwxYw)zÀ
        Return the value for key if key is in the dictionary, else default.
        If default is not given, it defaults to None, so that this method
        never raises a KeyError.
        ©r+rms   rroz RangeMap.gets%€ð     Ø˜‘9Ð øÜò    ØŠNð    úó ‚‡ ”có¤—tj|j|«}t||«}    t    |«S#t
$r t |«d‚wxYwr)Ú    functoolsÚpartialr[r0ÚnextÚ StopIterationr+)r&r'riÚis_matchÚmatchess     rrgzRangeMap._find_first_match_ sP€ô×$Ñ$ T§Z¡Z°Ó6ˆÜ˜ 4Ó(ˆð    +ܘ“=Ð  øÜò    +ܘ4“. dÐ *ð    +ús    ®
9¹Acó–—t|j«fi|j¤Ž}|tj|tj
fSr)rer'rZrXÚ
first_itemÚ    last_item)r&rjs  rÚboundszRangeMap.boundss>€Ü˜TŸY™Y›[Ñ=¨D×,<Ñ,<Ñ=ˆ ØœH×/Ñ/Ñ0°+¼h×>PÑ>PÑ2QÐRÐRr ÚRangeValueUndefinedr>có—eZdZdZy)ú RangeMap.Itemz RangeMap ItemN)r:r;r<r=r>r rrfrs„Úr rfréÿÿÿÿ)r\úLSupportsKeysAndGetItem[_RangeMapKT, _VT] | Iterable[tuple[_RangeMapKT, _VT]]rZzMapping[str, Any]r]z*Callable[[_RangeMapKT, _RangeMapKT], bool])r\rƒÚreturnr)rirr„r)r-rrnrr„z_VT | _Tr)r-rrnÚNoner„z
_VT | None)r-rrnz    _T | Noner„z_VT | _T | None)r'zIterable[_RangeMapKT]rirr„r)r„ztuple[_RangeMapKT, _RangeMapKT])r:r;r<r=r`Úler)Ú classmethodrcr.r rorgr~ÚtyperhÚintrfr|r}r>r rrXrXŠsä„ñNðj*,ØKSÏ;É;ð
*ð Yð
*ð
'ð
*ð Ió
*ðð
ð Yð
ð
 
ò 
óð
ó    ðÚAóØAØ ÛLóØLô    ð+Ø)ð+Ø1<ð+à    ó+óSð
:‘dÐ0°"°bÓ9Ó;€Oôˆsôña“€JِR“Ir rXcó—|Srr>)Úxs rÚ
__identityrŒ$s€Ø €Hr FcóF‡—ˆfd„}t|j«||¬«S)a»
    Return the items of the dictionary sorted by the keys.
 
    >>> sample = dict(foo=20, bar=42, baz=10)
    >>> tuple(sorted_items(sample))
    (('bar', 42), ('baz', 10), ('foo', 20))
 
    >>> reverse_string = lambda s: ''.join(reversed(s))
    >>> tuple(sorted_items(sample, key=reverse_string))
    (('foo', 20), ('bar', 42), ('baz', 10))
 
    >>> tuple(sorted_items(sample, reverse=True))
    (('foo', 20), ('baz', 10), ('bar', 42))
    có•—‰|d«S)Nrr>)rir-s €rÚ pairkey_keyz!sorted_items.<locals>.pairkey_key9sø€Ù4˜‘7‹|Ðr )r-r_)rerT)Údr-r_rs `  rÚ sorted_itemsr‘(sø€ô"ô !—'‘'“) °gÔ >Ð>r có~‡—eZdZdZed„«Zˆfd„Zˆfd„Zˆfd„Zˆfd„Z    ˆfd„Z
ˆfd„Z ˆfd    „Z ˆfd
„Z d „ZˆxZS) ÚKeyTransformingDictz”
    A dict subclass that transforms the keys before they're used.
    Subclasses may override the default transform_key to customize behavior.
    có—|Srr>©r-s rÚ transform_keyz!KeyTransformingDict.transform_keyEs€àˆ
r c󀕗t‰|«t|i|¤Ž}|j«D]}|j|ŽŒyr)rEr)rSrTÚ __setitem__)r&rGÚkargsrrirIs     €rr)zKeyTransformingDict.__init__IsBø€Ü ‰ÑÔä $Ð  ˜%Ñ  ˆà—G‘G“Iò    $ˆDØ ˆD× Ñ ˜dÒ #ñ    $r cóH•—|j|«}t‰|    ||«yr)r–rEr˜)r&r-ÚvalrIs   €rr˜zKeyTransformingDict.__setitem__Qs"ø€Ø× Ñ  Ó%ˆÜ ‰Ñ˜C Õ%r cóD•—|j|«}t‰|    |«Sr)r–rEr.©r&r-rIs  €rr.zKeyTransformingDict.__getitem__Uó#ø€Ø× Ñ  Ó%ˆÜ‰wÑ" 3Ó'Ð'r cóD•—|j|«}t‰|    |«Sr)r–rErrs  €rrz KeyTransformingDict.__contains__Ys#ø€Ø× Ñ  Ó%ˆÜ‰wÑ# CÓ(Ð(r cóD•—|j|«}t‰|    |«Sr)r–rEÚ __delitem__rs  €rr¡zKeyTransformingDict.__delitem__]ržr cóL•—|j|«}t‰||g|¢­i|¤ŽSr)r–rEro©r&r-rGrHrIs    €rrozKeyTransformingDict.getaó,ø€Ø× Ñ  Ó%ˆÜ‰w‰{˜3Ð0 Ò0¨Ñ0Ð0r cóL•—|j|«}t‰||g|¢­i|¤ŽSr)r–rEÚ
setdefaultr£s    €rr¦zKeyTransformingDict.setdefaultes-ø€Ø× Ñ  Ó%ˆÜ‰wÑ! #Ð7¨Ò7°Ñ7Ð7r cóL•—|j|«}t‰||g|¢­i|¤ŽSr)r–rEÚpopr£s    €rr¨zKeyTransformingDict.popir¤r c󄇗    tˆfd„|j«D««S#t$r}t‰«|‚d}~wwxYw)z€
        Given a key, return the actual key stored in self that matches.
        Raise KeyError if the key isn't found.
        c3ó.•K—|] }|‰k(sŒ    |–—Œy­wrr>)rOÚe_keyr-s  €rrRz7KeyTransformingDict.matching_key_for.<locals>.<genexpr>ssøèø€ÒG %¸%À3»,œÑGùsƒ
ŽN)rwr'rxr+)r&r-Úerrs ` rÚmatching_key_forz$KeyTransformingDict.matching_key_forms;ø€ð
    )ÜÓG¨4¯9©9«;ÔGÓGÐ GøÜò    )ܘ3“- SÐ (ûð    )úsƒ!%¥    ?® :º?)r:r;r<r=Ú staticmethodr–r)r˜r.rr¡ror¦r¨r­rKrLs@rr“r“?sIø„ñð
ñóðô$ô&ô(ô)ô(ô1ô8ô1ö)r r“có —eZdZdZed„«Zy)ÚFoldedCaseKeyedDictaû
    A case-insensitive dictionary (keys are compared as insensitive
    if they are strings).
 
    >>> d = FoldedCaseKeyedDict()
    >>> d['heLlo'] = 'world'
    >>> list(d.keys()) == ['heLlo']
    True
    >>> list(d.values()) == ['world']
    True
    >>> d['hello'] == 'world'
    True
    >>> 'hello' in d
    True
    >>> 'HELLO' in d
    True
    >>> print(repr(FoldedCaseKeyedDict({'heLlo': 'world'})))
    {'heLlo': 'world'}
    >>> d = FoldedCaseKeyedDict({'heLlo': 'world'})
    >>> print(d['hello'])
    world
    >>> print(d['Hello'])
    world
    >>> list(d.keys())
    ['heLlo']
    >>> d = FoldedCaseKeyedDict({'heLlo': 'world', 'Hello': 'world'})
    >>> list(d.values())
    ['world']
    >>> key, = d.keys()
    >>> key in ['heLlo', 'Hello']
    True
    >>> del d['HELLO']
    >>> d
    {}
 
    get should work
 
    >>> d['Sumthin'] = 'else'
    >>> d.get('SUMTHIN')
    'else'
    >>> d.get('OTHER', 'thing')
    'thing'
    >>> del d['sumthin']
 
    setdefault should also work
 
    >>> d['This'] = 'that'
    >>> print(d.setdefault('this', 'other'))
    that
    >>> len(d)
    1
    >>> print(d['this'])
    that
    >>> print(d.setdefault('That', 'other'))
    other
    >>> print(d['THAT'])
    other
 
    Make it pop!
 
    >>> print(d.pop('THAT'))
    other
 
    To retrieve the key in its originally-supplied form, use matching_key_for
 
    >>> print(d.matching_key_for('this'))
    This
 
    >>> d.matching_key_for('missing')
    Traceback (most recent call last):
    ...
    KeyError: 'missing'
    có@—tjj|«Sr)ÚjaracoÚtextÚ
FoldedCaser•s rr–z!FoldedCaseKeyedDict.transform_keyÃs€ä{‰{×%Ñ% cÓ*Ð*r N)r:r;r<r=r®r–r>r rr°r°xs„ñHðTñ+óñ+r r°có—eZdZdZd„Zd„Zy)Ú DictAdapteraD
    Provide a getitem interface for attributes of an object.
 
    Let's say you want to get at the string.lowercase property in a formatted
    string. It's easy with DictAdapter.
 
    >>> import string
    >>> print("lowercase is %(ascii_lowercase)s" % DictAdapter(string))
    lowercase is abcdefghijklmnopqrstuvwxyz
    có—||_yr)Úobject)r&Ú
wrapped_obs  rr)zDictAdapter.__init__Ôs    €Ø ˆ r có.—t|j|«Sr)Úgetattrr¸)r&Únames  rr.zDictAdapter.__getitem__×s€Üt—{‘{ DÓ)Ð)r N)r:r;r<r=r)r.r>r rr¶r¶Ès„ñ    ò!ó*r r¶có"‡—eZdZdZˆfd„ZˆxZS)ÚItemsAsAttributesa¼
    Mix-in class to enable a mapping object to provide items as
    attributes.
 
    >>> C = type('C', (dict, ItemsAsAttributes), dict())
    >>> i = C()
    >>> i['foo'] = 'bar'
    >>> i.foo
    'bar'
 
    Natural attribute access takes precedence
 
    >>> i.foo = 'henry'
    >>> i.foo
    'henry'
 
    But as you might expect, the mapping functionality is preserved.
 
    >>> i['foo']
    'bar'
 
    A normal attribute error should be raised if an attribute is
    requested that doesn't exist.
 
    >>> i.missing
    Traceback (most recent call last):
    ...
    AttributeError: 'C' object has no attribute 'missing'
 
    It also works on dicts that customize __getitem__
 
    >>> missing_func = lambda self, key: 'missing item'
    >>> C = type(
    ...     'C',
    ...     (dict, ItemsAsAttributes),
    ...     dict(__missing__ = missing_func),
    ... )
    >>> i = C()
    >>> i.missing
    'missing item'
    >>> i.foo
    'missing item'
    có•—    tt«|«S#t$re}t«}d„}||||«}||ur|cYd}~S|j\}|j d|j jd«}|f|_‚d}~wwxYw)Ncó0—    ||S#t$r|cYSwxYwrrr)Úcontr-Úmissing_results   rÚ _safe_getitemz4ItemsAsAttributes.__getattr__.<locals>._safe_getitems&€ð*Ø ™9Ð$øÜò*Ø)Ò)ð*úrsrEé)r»rEÚAttributeErrorr¸rGÚreplacerIr:)r&r-ÚeÚnovalrÃrkÚmessagerIs       €rÚ __getattr__zItemsAsAttributes.__getattr__s‡ø€ð    Üœ5›7 CÓ(Ð (øÜò    ô“HˆEò *ñ # 4¨¨eÓ4ˆFؘUÑ"Ø• 🙉JˆWØ—o‘o g¨t¯~©~×/FÑ/FÈÓJˆGؐZˆAŒFØ ûð'    úsƒ—    B B¼BÁ>BÂB)r:r;r<r=rÊrKrLs@rr¾r¾Ûsø„ñ*÷Xðr r¾cóŠ—td„|j«D««}t|«t|«k(s td«‚|S)až
    Given a dictionary, return another dictionary with keys and values
    switched. If any of the values resolve to the same key, raises
    a ValueError.
 
    >>> numbers = dict(a=1, b=2, c=3)
    >>> letters = invert_map(numbers)
    >>> letters[1]
    'a'
    >>> numbers['d'] = 3
    >>> invert_map(numbers)
    Traceback (most recent call last):
    ...
    ValueError: Key conflict in inverted mapping
    c3ó*K—|] \}}||f–—Œ y­wrr>)rOÚkÚvs   rrRzinvert_map.<locals>.<genexpr>1sèø€Ò.™$˜!˜Q1ŒvÑ.ùs‚z Key conflict in inverted mapping)rSrTr6Ú
ValueError)ÚmapÚress  rÚ
invert_maprÒ!s;€ô  Ñ. #§)¡)£+Ô.Ó
.€CÜ ˆs‹8”s˜3“xÒ ÜÐ;Ó<Ð<Ø €Jr có—eZdZdZd„Zy)ÚIdentityOverrideMapzë
    A dictionary that by default maps each key to itself, but otherwise
    acts like a normal dictionary.
 
    >>> d = IdentityOverrideMap()
    >>> d[42]
    42
    >>> d['speed'] = 'speedo'
    >>> print(d['speed'])
    speedo
    có—|Srr>r,s  rÚ __missing__zIdentityOverrideMap.__missing__Ds€Øˆ
r N)r:r;r<r=rÖr>r rrÔrÔ7s „ñ
ór rÔcóR—eZdZdZd„Zd„ZejZd„Z    d„Z
d„Z d„Z d„Z y    )
Ú    DictStacka
    A stack of dictionaries that behaves as a view on those dictionaries,
    giving preference to the last.
 
    >>> stack = DictStack([dict(a=1, c=2), dict(b=2, a=2)])
    >>> stack['a']
    2
    >>> stack['b']
    2
    >>> stack['c']
    2
    >>> len(stack)
    3
    >>> stack.push(dict(a=3))
    >>> stack['a']
    3
    >>> stack['a'] = 4
    >>> set(stack.keys()) == set(['a', 'b', 'c'])
    True
    >>> set(stack.items()) == set([('a', 4), ('b', 2), ('c', 2)])
    True
    >>> dict(**stack) == dict(stack) == dict(a=4, c=2, b=2)
    True
    >>> d = stack.pop()
    >>> stack['a']
    2
    >>> d = stack.pop()
    >>> stack['a']
    1
    >>> stack.get('b', None)
    >>> 'c' in stack
    True
    >>> del stack['c']
    >>> dict(stack)
    {'a': 1}
    cóœ—tj|«}tttj
j d„|D««««S)Nc3ó<K—|]}|j«–—Œy­wr)r')rOÚcs  rrRz%DictStack.__iter__.<locals>.<genexpr>psèø€Ò5NÀ1°a·f±f·hÑ5Nùs‚)Úlistr4ÚiterrÚ    itertoolsÚchainÚ from_iterable)r&Údictss  rr4zDictStack.__iter__ns5€Ü— ‘ ˜dÓ#ˆÜ”Cœ    Ÿ™×5Ñ5Ñ5NÈÔ5NÓNÓOÓPÐPr có†—tttj|«««D] }||vsŒ||cSt    |«‚r)Úreversedr7rÜr4r+)r&r-Úscopes   rr.zDictStack.__getitem__rsA€Üœe¤D§M¡M°$Ó$7Ó8Ó9ò    "ˆEؐeŠ|ؘS‘zÒ!ð    "ôs‹mÐr cóV—tjjj||«Sr)Ú collectionsÚabcrr©r&Úothers  rrzDictStack.__contains__zs€Ü‰×&Ñ&×3Ñ3°D¸%Ó@Ð@r có<—ttt|«««Sr)r6rÜrÝr1s rr8zDictStack.__len__}s€Ü”4œ˜T›
Ó#Ó$Ð$r cóR—tj|d«}|j||«S©Nr‚)rÜr.r˜)r&r-riÚlasts    rr˜zDictStack.__setitem__€s'€Ü×Ñ  bÓ)ˆØ×Ñ  TÓ*Ð*r cóP—tj|d«}|j|«Srì)rÜr.r¡)r&r-rís   rr¡zDictStack.__delitem__„s%€Ü×Ñ  bÓ)ˆØ×Ñ Ó$Ð$r có4—tj|g|¢­i|¤ŽSr)rÜr¨©r&rGrHs   rr¨z DictStack.pop‰s€Üx‰x˜Ð.˜tÒ. vÑ.Ð.r N)r:r;r<r=r4r.rÜÚappendÚpushrr8r˜r¡r¨r>r rrØrØHs8„ñ#òJQòð ;‰;€DòAò%ò+ò%ó
/r rØcóL‡—eZdZdZˆfd„Zˆfd„Zd„Zˆfd„Zˆfd„Zd„Z    ˆxZ
S)Ú BijectiveMapaÙ
    A Bijective Map (two-way mapping).
 
    Implemented as a simple dictionary of 2x the size, mapping values back
    to keys.
 
    Note, this implementation may be incomplete. If there's not a test for
    your use case below, it's likely to fail, so please test and send pull
    requests or patches for additional functionality needed.
 
 
    >>> m = BijectiveMap()
    >>> m['a'] = 'b'
    >>> m == {'a': 'b', 'b': 'a'}
    True
    >>> print(m['b'])
    a
 
    >>> m['c'] = 'd'
    >>> len(m)
    2
 
    Some weird things happen if you map an item to itself or overwrite a
    single key of a pair, so it's disallowed.
 
    >>> m['e'] = 'e'
    Traceback (most recent call last):
    ValueError: Key cannot map to itself
 
    >>> m['d'] = 'e'
    Traceback (most recent call last):
    ValueError: Key/Value pairs may not overlap
 
    >>> m['e'] = 'd'
    Traceback (most recent call last):
    ValueError: Key/Value pairs may not overlap
 
    >>> print(m.pop('d'))
    c
 
    >>> 'c' in m
    False
 
    >>> m = BijectiveMap(dict(a='b'))
    >>> len(m)
    1
    >>> print(m['b'])
    a
 
    >>> m = BijectiveMap()
    >>> m.update(a='b')
    >>> m['b']
    'a'
 
    >>> del m['b']
    >>> len(m)
    0
    >>> 'a' in m
    False
    cóF•—t‰|«|j|i|¤Žyr)rEr)ÚupdaterFs   €rr)zBijectiveMap.__init__Ës!ø€Ü ‰ÑÔØˆ ‰ TÐ$˜VÓ$r c󼕗||k(r td«‚||vxr|||k7xs||vxr|||k7}|r td«‚t‰|    ||«t‰|    ||«y)NzKey cannot map to itselfzKey/Value pairs may not overlap)rÏrEr˜)r&rirPÚoverlaprIs    €rr˜zBijectiveMap.__setitem__Ïsø€Ø 5Š=ÜÐ7Ó8Ð 8à DˆLò $ؐT‘
˜eÑ#ò $à˜ˆ}ò$ؐU‘ ˜tÑ#ð        ñ ÜÐ>Ó?Ð ?Ü ‰Ñ˜D %Ô(Ü ‰Ñ˜E 4Õ(r có&—|j|«yr)r¨)r&ris  rr¡zBijectiveMap.__delitem__Ýs €Ø ‰r có&•—t‰|«dzS)Né)rEr8)r&rIs €rr8zBijectiveMap.__len__àsø€Ü‰w‰Ó  AÑ%Ð%r cóR•—||}t‰||«t‰||g|¢­i|¤ŽSr)rEr¡r¨)r&r-rGrHÚmirrorrIs     €rr¨zBijectiveMap.popãs2ø€Øc‘ˆÜ ‰Ñ˜FÔ#܉w‰{˜3Ð0 Ò0¨Ñ0Ð0r cób—t|i|¤Ž}|j«D]}|j|ŽŒyr)rSrTr˜)r&rGrHrris     rrözBijectiveMap.updateès6€ä $Ð !˜&Ñ !ˆà—G‘G“Iò    $ˆDØ ˆD× Ñ ˜dÒ #ñ    $r ) r:r;r<r=r)r˜r¡r8r¨rörKrLs@rrôrôs'ø„ñ;ôz%ô )òô&ô1ö
$r rôcóX‡—eZdZdZdgZˆfd„Zd„Zd„Zd„Zd„Z    d„Z
d    „Z d
„Z d „Z ˆxZS) Ú
FrozenDictaÄ
    An immutable mapping.
 
    >>> a = FrozenDict(a=1, b=2)
    >>> b = FrozenDict(a=1, b=2)
    >>> a == b
    True
 
    >>> a == dict(a=1, b=2)
    True
    >>> dict(a=1, b=2) == a
    True
    >>> 'a' in a
    True
    >>> type(hash(a)) is type(0)
    True
    >>> set(iter(a)) == {'a', 'b'}
    True
    >>> len(a)
    2
    >>> a['a'] == a.get('a') == 1
    True
 
    >>> a['c'] = 3
    Traceback (most recent call last):
    ...
    TypeError: 'FrozenDict' object does not support item assignment
 
    >>> a.update(y=3)
    Traceback (most recent call last):
    ...
    AttributeError: 'FrozenDict' object has no attribute 'update'
 
    Copies should compare equal
 
    >>> copy.copy(a) == a
    True
 
    Copies should be the same type
 
    >>> isinstance(copy.copy(a), FrozenDict)
    True
 
    FrozenDict supplies .copy(), even though
    collections.abc.Mapping doesn't demand it.
 
    >>> a.copy() == a
    True
    >>> a.copy() is not a
    True
    Ú__datacóF•—t‰||«}t|i|¤Ž|_|Sr)rEÚ__new__rSÚ_FrozenDict__data)rbrGrHr&rIs    €rrzFrozenDict.__new__'s'ø€Ü‰w‰˜sÓ#ˆÜ˜DÐ+ FÑ+ˆŒ ؈ r có—||jvSr©rr,s  rrzFrozenDict.__contains__-s€Ød—k‘kÐ!Ð!r cól—ttt|jj    ««««Sr)Úhashr7rerrTr1s rÚ__hash__zFrozenDict.__hash__1s$€Ü”Eœ& §¡×!2Ñ!2Ó!4Ó5Ó6Ó7Ð7r có,—t|j«Sr)rÝrr1s rr4zFrozenDict.__iter__5s€ÜD—K‘KӠРr có,—t|j«Sr)r6rr1s rr8zFrozenDict.__len__8s€Ü4—;‘;ÓÐr có —|j|Srrr,s  rr.zFrozenDict.__getitem__;s€Ø{‰{˜3ÑÐr có:—|jj|i|¤ŽSr)rrorðs   rrozFrozenDict.get?s€Øˆt{‰{‰ Ð/¨Ñ/Ð/r cóp—t|t«r |j}|jj|«Sr)rrrÚ__eq__rès  rrzFrozenDict.__eq__Cs*€Ü eœZÔ (Ø—L‘LˆE؏{‰{×!Ñ! %Ó(Ð(r có,—tj|«S)zReturn a shallow copy of self)Úcopyr1s rrzFrozenDict.copyHs€äy‰y˜‹Ðr )r:r;r<r=Ú    __slots__rrr    r4r8r.rorrrKrLs@rrrðs?ø„ñ2ðh
€Iôò "ò8ò!ò ò ò0ò)ö
r rcóD‡—eZdZdZdˆfd„    Zed„«Zed„«ZˆxZS)Ú Enumerationa”
    A convenient way to provide enumerated values
 
    >>> e = Enumeration('a b c')
    >>> e['a']
    0
 
    >>> e.a
    0
 
    >>> e[1]
    'b'
 
    >>> set(e.names) == set('abc')
    True
 
    >>> set(e.codes) == set(range(3))
    True
 
    >>> e.get('d') is None
    True
 
    Codes need not start with 0
 
    >>> e = Enumeration('a b c', range(1, 4))
    >>> e['a']
    1
 
    >>> e[3]
    'c'
    c󤕗t|t«r|j«}|€tj«}t
‰|t||««yr)rÚstrÚsplitrÞÚcountrEr)Úzip)r&ÚnamesÚcodesrIs   €rr)zEnumeration.__init__ns=ø€Ü eœSÔ !Ø—K‘K“MˆEØ ˆ=Ü—O‘OÓ%ˆEÜ ‰Ñœ˜U EÓ*Õ+r có—d„|D«S)Nc3óBK—|]}t|t«sŒ|–—Œy­wr)rr)rOr-s  rrRz$Enumeration.names.<locals>.<genexpr>wsèø€Ò<˜¤z°#´sÕ';”Ñ<ùs‚˜r>r1s rrzEnumeration.namesus €á<˜tÔ<Ð<r có.‡—ˆfd„‰jD«S)Nc3ó(•K—|]    }‰|–—Œ y­wrr>)rOr¼r&s  €rrRz$Enumeration.codes.<locals>.<genexpr>{søèø€Ò2˜tT•
Ñ2ùsƒ)rr1s`rrzEnumeration.codesysø€ã2 t§z¡zÔ2Ð2r r)    r:r;r<r=r)ÚpropertyrrrKrLs@rrrMs6ø„ñõ@,ðñ=óð=ðñ3óô3r rcó—eZdZdZd„Zy)Ú
Everythinga
    A collection "containing" every possible thing.
 
    >>> 'foo' in Everything()
    True
 
    >>> import random
    >>> random.randint(1, 999) in Everything()
    True
 
    >>> random.choice([None, 'foo', 42, ('a', 'b', 'c')]) in Everything()
    True
    có—y©NTr>rès  rrzEverything.__contains__ó€Ør N)r:r;r<r=rr>r rr"r"~s „ñ ór r"có"‡—eZdZdZˆfd„ZˆxZS)ÚInstrumentedDictaD
    Instrument an existing dictionary with additional
    functionality, but always reference and mutate
    the original dictionary.
 
    >>> orig = {'a': 1, 'b': 2}
    >>> inst = InstrumentedDict(orig)
    >>> inst['a']
    1
    >>> inst['c'] = 3
    >>> orig['c']
    3
    >>> inst.keys() == orig.keys()
    True
    có0•—t‰|«||_yr)rEr)Údata)r&r)rIs  €rr)zInstrumentedDict.__init__¢sø€Ü ‰ÑÔØˆ    r rJrLs@rr'r'‘sø„ñ÷ ðr r'có$—eZdZdZd„ZeZd„ZeZy)ÚLeasta
    A value that is always lesser than any other
 
    >>> least = Least()
    >>> 3 < least
    False
    >>> 3 > least
    True
    >>> least < 3
    True
    >>> least <= 3
    True
    >>> least > 3
    False
    >>> 'x' > least
    True
    >>> None > least
    True
    có—yr$r>rès  rÚ__le__z Least.__le__¼r%r có—y©NFr>rès  rÚ__ge__z Least.__ge__Áó€Ør N)r:r;r<r=r-Ú__lt__r0Ú__gt__r>r rr+r+§ó„ñò(ð€FòðFr r+có$—eZdZdZd„ZeZd„ZeZy)ÚGreatesta2
    A value that is always greater than any other
 
    >>> greatest = Greatest()
    >>> 3 < greatest
    True
    >>> 3 > greatest
    False
    >>> greatest < 3
    False
    >>> greatest > 3
    True
    >>> greatest >= 3
    True
    >>> 'x' > greatest
    False
    >>> None > greatest
    False
    có—yr$r>rès  rr0zGreatest.__ge__Ür%r có—yr/r>rès  rr-zGreatest.__le__ár1r N)r:r;r<r=r0r3r-r2r>r rr6r6Çr4r r6có—|ddgc}|dd|S)zÉ
    Clear items in place and return a copy of items.
 
    >>> items = [1, 2, 3]
    >>> popped = pop_all(items)
    >>> popped is items
    False
    >>> popped
    [1, 2, 3]
    >>> items
    []
    Nr>)rTrks  rÚpop_allr:çs€ð™Qx Ð€FˆE‘!ˆHØ €Mr có(‡—eZdZdZˆfd„Zd„ZˆxZS)ÚFreezableDefaultDicta!
    Often it is desirable to prevent the mutation of
    a default dict after its initial construction, such
    as to prevent mutation during iteration.
 
    >>> dd = FreezableDefaultDict(list)
    >>> dd[0].append('1')
    >>> dd.freeze()
    >>> dd[1]
    []
    >>> len(dd)
    1
    có:•—t|dt‰|«|«S)NÚ_frozen)r»rErÖrs  €rrÖz FreezableDefaultDict.__missing__sø€Ø<Œwt˜Y¬©Ñ(;Ó<¸SÓAÐAr có‡—ˆfd„‰_y)Ncó$•—‰j«Sr)Údefault_factory)r-r&s €rrDz-FreezableDefaultDict.freeze.<locals>.<lambda> sø€ 4×#7Ñ#7Ó#9€r )r>r1s`rÚfreezezFreezableDefaultDict.freeze
s
ø€Û9ˆ r )r:r;r<r=rÖrBrKrLs@rr<r<øsø„ñ ôBö:r r<có—eZdZdd„Zd„Zy)Ú Accumulatorcó—||_yr©r›)r&Úinitials  rr)zAccumulator.__init__s    €Øˆr cóD—|xj|z c_|jSrrF)r&r›s  rÚ__call__zAccumulator.__call__s€Ø ŠC‰Øx‰xˆr N)r)r:r;r<r)rIr>r rrDrDs „óór rDcó(‡—eZdZdZˆfd„Zd„ZˆxZS)ÚWeightedLookupa›
    Given parameters suitable for a dict representing keys
    and a weighted proportion, return a RangeMap representing
    spans of values proportial to the weights:
 
    >>> even = WeightedLookup(a=1, b=1)
 
    [0, 1) -> a
    [1, 2) -> b
 
    >>> lk = WeightedLookup(a=1, b=2)
 
    [0, 1) -> a
    [1, 3) -> b
 
    >>> lk[.5]
    'a'
    >>> lk[1.5]
    'b'
 
    Adds ``.random()`` to select a random weighted value:
 
    >>> lk.random() in ['a', 'b']
    True
 
    >>> choices = [lk.random() for x in range(1000)]
 
    Statistically speaking, choices should be .5 a:b
    >>> ratio = choices.count('a') / choices.count('b')
    >>> .4 < ratio < .6
    True
    cóΕ—t|i|¤Ž}tt«|j««}t‰|t ||j««tj¬«y)N)r])
rSrÐrDÚvaluesrEr)rr'r`Últ)r&rGrHÚrawÚindexesrIs     €rr)zWeightedLookup.__init__9sKø€ÜDÐ#˜FÑ#ˆô”k“m S§Z¡Z£\Ó2ˆÜ ‰Ñœ˜W c§h¡h£jÓ1ÌÏ É ÐÕTr có`—|j«\}}tj«|z}||Sr)r~Úrandom)r&ÚlowerÚupperÚselectors    rrRzWeightedLookup.random@s+€Ø—{‘{“}‰ ˆˆuÜ—=‘=“? UÑ*ˆØH‰~Ðr )r:r;r<r=r)rRrKrLs@rrKrKsø„ñôBUör rK)rr9r„r    )BÚ
__future__rÚcollections.abcrærrurÞr`rRrrrrÚtypingrrr    r
r r r Ú jaraco.textr²Ú    _operatorrÚ    _typeshedrÚtyping_extensionsrrrrrr9rrçr"r@rVrXrŒr‘rSr“r°r¶r¾rÒrÔrÜÚMutableMappingrØrôÚHashablerrr"ÚUserDictr'r+r6r:Ú defaultdictr<rDrKr>r rú<module>rasÚðÝ"ãÛ ÛÛÛÛ Û    ß8Ñ8ßO×OÑOãáÝ-å0Ý&á˜-Ð/BÔCKñ˜-Ó(€Ká ˆTƒ]€Ù ˆeƒn€à 8˜Y¨°"·*±*Ð<Ñ =€
ó ô>1—‘×(Ñ(ô>1ôB Bˆ:ô Bò MôWˆtK Ð$Ñ%ôWòt ð#¨Eó?ô.6)˜$ô6)ôrM+Ð-ôM+÷`*ñ*÷&CñCòLô,˜$ôô"B/k—o‘o×4Ñ4ôB/ôJ`$4ô`$ôFZ—‘×(Ñ(¨+¯/©/×*BÑ*BôZôz.3Ð# \ô.3÷bñô&{×+Ñ+ô÷,ñ÷@ñò@ô":˜;×2Ñ2ô:÷,ñô,Xõ,r