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
Ë
hñúh1Kãó¬—dZddlZddlZddlZddlZddlZddlZddlmZm    Z    ddl
m Z m Z m Z ddlmZmZmZGd„d«ZGd„d    «ZGd
„d «Zy) zl
Utilities to create data structures for embedding Python modules and additional files into the executable.
éN)Úget_code_objectÚreplace_filename_in_code_object)ÚBYTECODE_MAGICÚis_winÚstrict_collect_mode)ÚPYZ_ITEM_MODULEÚPYZ_ITEM_NSPKGÚ PYZ_ITEM_PKGcó4—eZdZdZdZdZdZdd„Zed„«Z    y)    ÚZlibArchiveWriterzª
    Writer for PyInstaller's PYZ (ZlibArchive) archive. The archive is used to store collected byte-compiled Python
    modules, as individually-compressed entries.
    sPYZééNcó>—|xsi}t|d«5}|jd|jz«g}|D]&}|j|||«}|j    |«Œ(|j «}t j|«}    |j|    «|jdtj«|j|j«|jt«|jtjd|««ddd«y#1swYyxYw)a*
        filename
            Target filename of the archive.
        entries
            An iterable containing entries in the form of tuples: (name, src_path, typecode), where `name` is the name
            under which the resource is stored (e.g., python module name, without suffix), `src_path` is name of the
            file from which the resource is read, and `typecode` is the Analysis-level TOC typecode (`PYMODULE`).
        code_dict
            Optional code dictionary containing code objects for analyzed/collected python modules.
        Úwbórz!iN)ÚopenÚwriteÚ_HEADER_LENGTHÚ _write_entryÚappendÚtellÚmarshalÚdumpsÚseekÚosÚSEEK_SETÚ_PYZ_MAGIC_PATTERNrÚstructÚpack)
ÚselfÚfilenameÚentriesÚ    code_dictÚfpÚtocÚentryÚ    toc_entryÚ
toc_offsetÚtoc_datas
          úNH:\Change_password\venv_build\Lib\site-packages\PyInstaller/archive/writers.pyÚ__init__zZlibArchiveWriter.__init__$së€ð’O ˆ    ä (˜DÓ !ð    4 Rà H‰HU˜T×0Ñ0Ñ0Ô 1ðˆCØ ò &Ø ×-Ñ-¨b°%¸ÓC    Ø—
‘
˜9Õ%ð &ð
Ÿ™›ˆJÜ—}‘} SÓ)ˆHØ H‰HXÔ ð G‰GA”r—{‘{Ô #à H‰HT×,Ñ,Ô -Ø H‰H”^Ô $Ø H‰H”V—[‘[  zÓ2Ô 3÷1    4÷    4ñ    4ús “C7DÄDcó —|\}}}|dvsJ‚|dvr|t|j«dffS||}tjj    tjj |««\}}    |dk(r7t }tjjg|jd«¢d‘­Ž}
n4t}tjj|jd«Ždz}
t||
«}tj|«} tj| |j«} |||j«t!| «ff} |j#| «| S)N>ú
PYMODULE-1ú
PYMODULE-2ÚPYMODULE>Nú-rr+ú.z __init__.pyú.py)r    rrÚpathÚsplitextÚbasenamer
ÚjoinÚsplitrrrrÚzlibÚcompressÚ_COMPRESSION_LEVELÚlenr)Úclsr$r&r#ÚnameÚsrc_pathÚtypecodeÚ code_objectÚ src_basenameÚ_Ú co_filenameÚdataÚobjr's              r*rzZlibArchiveWriter._write_entryKs(€à#(Ñ ˆˆh˜ØÐCÑCÐCÐCà {Ñ "ðœ>¨2¯7©7«9°aÐ8Ð9Ð 9à ‘oˆ äŸ'™'×*Ñ*¬2¯7©7×+;Ñ+;¸HÓ+EÓF‰ˆ aØ ˜:Ò %Ü#ˆHÜŸ'™'Ÿ,™,ÐG¨¯
©
°3«ÐG¸ÒG‰Kä&ˆHÜŸ'™'Ÿ,™,¨¯
©
°3«Ð8¸5Ñ@ˆKô6°kÀ;ÓOˆ ô}‰}˜[Ó)ˆôm‰m˜D #×"8Ñ"8Ó9ˆð˜H b§g¡g£i´°S³Ð:Ð;ˆ    ð     ‰Œ àÐó)N)
Ú__name__Ú
__module__Ú __qualname__Ú__doc__rrr:r+Ú classmethodr©rFr*r r s4„ñð"ÐØ€NØÐó%4ðNñ#óñ#rFr cóš—eZdZdZdZdZeje«ZdZ    eje    «Z
dZ d„Z d„Z d defd    „Zd d
„Zed „«Zy )ÚCArchiveWriterah
    Writer for PyInstaller's CArchive (PKG) archive.
 
    This archive contains all files that are bundled within an executable; a PYZ (ZlibArchive), DLLs, Python C
    extensions, and other data files that are bundled in onefile mode.
 
    The archive can be read from either C (bootloader code at application's run-time) or Python (for debug purposes).
    sMEI
z
!8sIIII64sz!IIIIBcé    c óL—t«|_t|d«5}g}|D]%}|j||«}|j    |«Œ'|j «}|j |«}    t|    «}
|j|    «||
z|jz} tjddztjdz} tj|j|j| ||
| |j!d««} |j| «ddd«y#1swYyxYw)aH
        filename
            Target filename of the archive.
        entries
            An iterable containing entries in the form of tuples: (dest_name, src_name, compress, typecode), where
            `dest_name` is the name under which the resource is stored in the archive (and name under which it is
            extracted at runtime), `src_name` is name of the file from which the resouce is read, `compress` is a
            boolean compression flag, and `typecode` is the Analysis-level TOC typecode.
        pylib_name
            Name of the python shared library.
        rrédéÚasciiN)ÚsetÚ_collected_namesrrrrÚ_serialize_tocr;rÚ_COOKIE_LENGTHÚsysÚ version_inforrÚ_COOKIE_FORMATÚ_COOKIE_MAGIC_PATTERNÚencode)r r!r"Ú
pylib_namer$r%r&r'r(r)Ú
toc_lengthÚarchive_lengthÚpyversÚ cookie_datas              r*r+zCArchiveWriter.__init__†s€ô!$£ˆÔä (˜DÓ !ð    " RàˆCØ ò &Ø ×-Ñ-¨b°%Ó8    Ø—
‘
˜9Õ%ð &ð
Ÿ™›ˆJØ×*Ñ*¨3Ó/ˆHܘX›ˆJà H‰HXÔ ð(¨*Ñ4°t×7JÑ7JÑJˆNÜ×%Ñ% aÑ(¨3Ñ.´×1AÑ1AÀ!Ñ1DÑDˆFÜ Ÿ+™+Ø×#Ñ#Ø×*Ñ*ØØØØØ×!Ñ! 'Ó*óˆKð H‰H[Ô !÷7    "÷    "ñ    "ús œC5DÄD#có$—|\}}}}|dk(r|j|d||«Stjj|«}trvtjj
dk(rY|j tjj
d«}|dk(r*|j tjj
d«}trcd}|dvrntjj|«}|r;||jvrtd|›d|›d    «‚|jj|«|d
k(r|j|d|›d |›|«S|d vrqd dddœ|}t|||¬«}    |tjj|«dz}
t|    |
«}    |j|tj |    «|d|¬«S|dvr…t#|d«5} | j%«} ddd« ddt&k(sJ‚tj(| dd«}    |dz}
t|    |
«}    |j|tj |    «|||¬«S|dk(r*|j+d«dz} |j|| |||¬«S|j-|||||¬«S#1swYŒ®xYw)NÚorFú/ú\Ún>ÚMÚmÚsÚs1Ús2z7Attempting to collect a duplicated file into CArchive: z (type: ú)Údú:>rirjrkrrRé)rirjrk)Úoptimizeri)r9)rhrgÚrbéér2úutf-8r)Ú _write_blobrr3ÚnormpathrÚsepÚreplacerÚnormcaserUÚ
ValueErrorÚaddrr4rrrrÚreadrÚloadsr\Ú _write_file) r r$r&Ú    dest_nameÚsrc_namer9r?Únormalized_destÚ optim_levelÚcoderCÚin_fprDs              r*rzCArchiveWriter._write_entry±s£€Ø27Ñ/ˆ    8˜X xð sŠ?Ø×#Ñ# B¨¨Y¸ÓAÐ Aô—G‘G×$Ñ$ YÓ/ˆ    Ý ”b—g‘g—k‘k SÒ(ð"×)Ñ)¬"¯'©'¯+©+°tÓ<ˆIð˜3ŠØ#×+Ñ+¬B¯G©G¯K©K¸Ó>õ Ø"ˆOØÐ6Ñ6àô#%§'¡'×"2Ñ"2°9Ó"=áØ" d×&;Ñ&;Ñ;Ü$ØQÐRaÐQbÐbjÐksÐjtÐtuÐvóðð×%Ñ%×)Ñ)¨/Ô:à sŠ?ð×#Ñ# B¨°¨z¸¸9¸+Ð-FÈÓQÐ QØ Ð*Ñ *ð!"¨°!Ñ4°XÑ>ˆKÜ" 9¨hÀÔMˆDØ#¤b§g¡g×&6Ñ&6°xÓ&@ÀÑ&CÑCˆKÜ2°4¸ÓEˆDØ×#Ñ# B¬¯ © °dÓ(;¸YÈÐV^Ð#Ó_Ð _Ø ˜Ñ #ôh Ó%ð $¨Ø—z‘z“|÷ $à˜˜8œ~Ò-Ð -Ð-ä—=‘=  b c Ó+ˆDØ# eÑ+ˆKÜ2°4¸ÓEˆDð×#Ñ# B¬¯ © °dÓ(;¸YÈÐ[cÐ#ÓdÐ dØ ˜Š_à—?‘? 7Ó+¨gÑ5ˆDØ×#Ñ# B¨¨i¸ÈHÐ#ÓUÐ Uà×#Ñ# B¨°)¸XÐPXÐ#ÓYÐ Y÷ $ð $ús ÇJÊJÚblobcóԗ|j«}t|«}|r!tj||j¬«}|j |«|t|«|t |«||fS)zŽ
        Write the binary contents (**blob**) of a small file to the archive and return the corresponding CArchive TOC
        entry.
        )Úlevel)rr;r8r9r:rÚint)r Úout_fpr…rr?r9Ú data_offsetÚ data_lengths        r*ruzCArchiveWriter._write_blobøsX€ð
—k‘k“mˆ ܘ$“iˆ Ù Ü—=‘= ¨T×-DÑ-DÔEˆD؏ ‰ TÔàœS ›Y¨ ´S¸³]ÀHÈiÐXÐXrFcó—|j«}tj|«j}t    |d«5}|rƒt d«}    t j|j«}
    |j|    «} | sn$|j|
j|    d| ««Œ8|j|
j««ntj||«ddd«||j«|z
|t|«||fS#1swYŒ+xYw)zl
        Stream copy a large file into the archive and return the corresponding CArchive TOC entry.
        rqi@N)rrÚstatÚst_sizerÚ    bytearrayr8Ú compressobjr:Úreadintorr9ÚflushÚshutilÚ copyfileobjrˆ) r r‰r€rr?r9rŠr‹r„Ú
tmp_bufferÚ
compressorÚnum_reads             r*r~zCArchiveWriter._write_filesî€ð—k‘k“mˆ Ü—g‘g˜hÓ'×/Ñ/ˆ Ü (˜DÓ !ð     2 UÙÜ& yÓ1
Ü!×-Ñ-¨d×.EÑ.EÓF
ØØ$Ÿ~™~¨jÓ9HÙ#ØØ—L‘L ×!4Ñ!4°ZÀ    ÀÐ5JÓ!KÔLð    ð
— ‘ ˜Z×-Ñ-Ó/Õ0ä×"Ñ" 5¨&Ô1÷     2ð˜VŸ[™[›]¨[Ñ8¸+ÄsÈ8Ã}ÐV^Ð`iÐjÐj÷     2ð     2ús ¼BDÄD c ó€—g}|D]§}|\}}}}}}    |    jd«}    t|    «dz}
|j|
z} | dzdk7r d| dzz
} |
| z }
tj|j
|
›dz|j|
z|||||jd«|    «} |j | «Œ©dj|«S)NrtrRrsrrirSrF)r\r;Ú_TOC_ENTRY_LENGTHrrÚ_TOC_ENTRY_FORMATrr6)r<r%Úserialized_tocr'rŠÚcompressed_lengthr‹r9r?r=Ú name_lengthÚ entry_lengthÚpadding_lengthÚserialized_entrys              r*rVzCArchiveWriter._serialize_tocsï€àˆØò    4ˆIØT]Ñ QˆKÐ*¨K¸À8ÈTð—;‘;˜wÓ'ˆDܘd›) a™-ˆKð
×0Ñ0°;Ñ>ˆLؘbÑ  AÒ%Ø!# |°bÑ'8Ñ!9Ø˜~Ñ- ô &Ÿ{™{Ø×%Ñ%¨;¨-°qÐ(9Ñ9Ø×%Ñ%¨ Ñ3ØØ!ØØØ—‘ Ó(Øó     Ð ð × !Ñ !Ð"2Õ 3ð7    4ð:x‰x˜Ó'Ð'rFN)F)rGrHrIrJr[rZrÚcalcsizerWršr™r:r+rÚbytesrur~rKrVrLrFr*rNrNrsz„ñð7Ðð"€NØ$V—_‘_ ^Ó4€Nà!ÐØ'˜Ÿ™Ð(9Ó:ÐàÐò)"òVEZñN Y¨ó Yókð*ñ(óñ(rFrNcó>—eZdZdZdZej e«Zd„Zy)Ú SplashWriterzž
    Writer for the splash screen resources archive.
 
    The resulting archive is added as an entry into the CArchive with the typecode PKG_ITEM_SPLASH.
    z!32s 32s 16s II II IIc óÈ—d„}|D    cgc]
}    ||    «‘Œ }}    t|d«5}
|
jd|jz«d} |
j«} |D]5}    |    j    d«dz}    |
j|    «| t |    «z } Œ7|
j«} t |«}|
j|j    d««|
j«}t |t«rt |«}|
j|«nBt|d«5}|j«}ddd«t «}|
j|«~d„}tj|j||d    d
«||d d
«||d d «|| ||| | «
}|
jdtj«|
j|«ddd«ycc}    w#1swYŒ¨xYw#1swYyxYw)a?
        Writer for splash screen resources that are bundled into the CArchive as a single archive/entry.
 
        :param filename: The filename of the archive to create
        :param name_list: List of filenames for the requirements array
        :param str tcl_libname: Name of the tcl shared library file
        :param str tk_libname: Name of the tk shared library file
        :param str tklib: Root of tk library (e.g. tk/)
        :param Union[str, bytes] image: Image like object
        :param str script: The tcl/tk script to execute to create the screen.
        cóޗtjj|«}trGtjjdk(r*|j tjjd«}|S)Nrdre)rr3rvrrwrx)r!s r*Ú_normalize_filenamez2SplashWriter.__init__.<locals>._normalize_filenamelsI€Ü—w‘w×'Ñ'¨Ó1ˆHÝœ"Ÿ'™'Ÿ+™+¨Ò,ð$×+Ñ+¬B¯G©G¯K©K¸Ó>ØˆOrFrrrrtrqNc    ó€—|jd«}t|«|k\rtd|›dt|«›d|›d«‚|S)NrtzLength of the encoded field z (z&) is greater or equal to the limit of z  characters!)r\r;rz)ÚvalueÚ
field_nameÚlimitÚ    enc_values    r*Ú _encode_strz*SplashWriter.__init__.<locals>._encode_str›sU€Ø!ŸL™L¨Ó1    Üy“> UÒ*Ü$Ø6°z°nÀBÄsÈ9Ã~ÐFVðW$Ø$) 7¨,ð8óðð
!РrFÚ tcl_libnameé Ú
tk_libnameÚtklibrs)rrrrr\r;Ú
isinstancer¢r|rrÚ_HEADER_FORMATrrr)r r!Ú    name_listr®r°r±ÚimageÚscriptr§r=r$Úrequirements_lenÚrequirements_offsetÚ script_offsetÚ
script_lenÚ image_offsetÚ    image_lenÚimage_fpÚ
image_datar­Ú header_datas                     r*r+zSplashWriter.__init__]sÇ€ò    ð<EÖE°4Ñ(¨Õ.ÐEˆ    ÐEä (˜DÓ !ð>    " Rà H‰HU˜T×0Ñ0Ñ0Ô 1ð
 !Ð Ø"$§'¡'£)Ð Ø!ò .Ø—{‘{ 7Ó+¨eÑ3Ø—‘˜”Ø ¤C¨£IÑ-Ñ ð .ð ŸG™G›IˆMܘV›ˆJØ H‰HV—]‘] 7Ó+Ô ,ðŸ7™7›9ˆLܘ%¤Ô'ä ›J    Ø—‘˜•ô˜% Ó&ð1¨(Ø!)§¡£J÷1ä 
›O    Ø—‘˜Ô$Øò
 !ô!Ÿ+™+Ø×#Ñ#Ù˜K¨¸Ó;Ù˜J¨ °bÓ9Ù˜E 7¨BÓ/ØØØØØ Ø#ó ˆKð G‰GA”r—{‘{Ô #Ø H‰H[Ô !÷}>    "ð>    "ùòF÷<1ð1ú÷9>    "ð>    "ús*ˆG¥C/GÄG Ä%BGÇ G    ÇGÇG!N)    rGrHrIrJr³rr¡rr+rLrFr*r¤r¤=s$„ñð4-€NØ$V—_‘_ ^Ó4€NóW"rFr¤)rJrrr“rrXr8ÚPyInstaller.building.utilsrrÚPyInstaller.compatrrrÚ#PyInstaller.loader.pyimod01_archiverr    r
r rNr¤rLrFr*ú<module>rÃsSðñóÛ    Û Û Û
Û çWßJÑJß]Ñ]÷TñT÷nH(ñH(÷Vw"òw"rF