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6dd6dd6d&d6dd6d(d6dd6dd6d;d6dd 6dd 6d*d 6dd 6d6d 6dd6dd6dd6dd6dd6d4d6d8d6d*d6d&d6dd6d,d6d2d6dd6dd6dd6d&d6dd6d(d6dd 6dd!6d;d"6dd#6dd$6d*d%6dd&6d6d'6dd(6dd)6dd*6dd+6dd,6d4d-6d8d.6d*d/6d&d06dd16d,d26d2d36dd46dd56dd66d&d76dd86d(d96dd:6dd;6d;d<6dd=6dd>6d*d?6dd@6d6dA6ddB6ddC6ddD6ddE6ddF6d4dG6d8dH6d*dI6d&dJ6ddK6d,dL6d2dM6ddN6ddO6ddP6d&dQ6ZdRZ dSZ dTZ dUZ dVZ dWZedXdYdZd d d[d\dged d]ed^d_ed`daedbdcZddZdeZdfZdgZdhZeed`diZdjZeedkdlZdmZedndodpdqgedrdsed^d_ZdtZedugedvdwZdxZdyZdzZd{S(|sLibrary that exposes various tables found in the StringPrep RFC 3454. There are two kinds of tables: sets, for which a member test is provided, and mappings, for which a mapping function is provided. i(t ucd_3_2_0cCsStj|dkrtSt|}d|ko<dknrEtS|d@dkS(NtCniiii(ii(t unicodedatatcategorytFalsetord(tcodetc((s /usr/lib/python2.7/stringprep.pyt in_table_a1 s  iiOii i i i i i i` iiicCst|tkS(N(Rtb1_set(R((s /usr/lib/python2.7/stringprep.pyt in_table_b1suμiussiui̇i0uʼniIusiuǰiuιiEu ιizuΐiuΰiuσiuβiuθiuυiuύiuϋiuφiuπiuκiuρiiuεiuեւiuẖiuẗiuẘiuẙiuaʾiuṡiuὐiPuὒiRuὔiTuὖiVuἀιiuἁιiuἂιiuἃιiuἄιiuἅιiuἆιiuἇιiiiiiiiiiuἠιiuἡιiuἢιiuἣιiuἤιiuἥιiuἦιiuἧιiiiiiiiiiuὠιiuὡιiuὢιiuὣιiuὤιiuὥιiuὦιiuὧιiiiiiiiiiuὰιiuαιiuάιiuᾶiuᾶιiiiuὴιiuηιiuήιiuῆiuῆιiiuῒiiuῖiuῗiuῢiiuῤiuῦiuῧiuὼιiuωιiuώιiuῶiuῶιiiursi uci!u°ci!uɛi!u°fi !uhi !i !i !uii!i!uli!uni!unoi!upi!uqi!uri!i!i!usmi !uteli!!utmi"!uzi$!i(!ubi,!i-!uei0!ufi1!umi3!uγi>!i?!udiE!uhpaiq3uauis3uoviu3upai3unai3uμai3umai3ukai3ukbi3umbi3ugbi3upfi3unfi3uμfi3uhzi3ukhzi3umhzi3ughzi3uthzi3i3ukpai3umpai3ugpai3upvi3unvi3uμvi3umvi3ukvi3i3upwi3unwi3uμwi3umwi3ukwi3i3ukωi3umωi3ubqi3uc∕kgi3uco.i3udbi3ugyi3uhpi3ukki3ukmi3uphi3uppmi3upri3usvi3uwbi3uffiufiiufliuffiiuffliustiiuմնiuմեiuմիiuվնiuմխiuaiiiiiiugiiiuji uki i i i uoiiiiiutiuuiuviuwiuxiuyiii4i5i6i7i8i9i:i;i<i=i>i?i@iAiBiCiDiEiFiGiHiIiJiKiLiMihiiijikiliminioipiqirisitiuiviwixiyizi{i|i}i~iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii i i iiiiiiiiiiiiiii8i9i;i<i=i>i@iAiBiCiDiFiJiKiLiMiNiOiPiliminioipiqirisitiuiviwixiyizi{i|i}i~iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii i i i i iiiiiiiiiiiiiiiiiii i!i<i=i>i?i@iAiBiCiDiEiFiGiHiIiJiKiLiMiNiOiPiQiRiSiTiUipiqirisitiuiviwixiyizi{i|i}i~iiiiiiiiiiiuαiiiuδiiuζiuηiiiiuλiiuνiuξiuοiiiiiuτiiiuχiuψiuωiiiiiiiiiiiiiiiiiiiiiiiiiiii iiiii i!i"i#i$i%i&i'i(i)i*i+i,i-i.i/i0i1i2i3i4iGiViWiXiYiZi[i\i]i^i_i`iaibicidieifigihiiijikiliminiiiiiiiiiiiiiiiiiiiiiiiiiiicCs/tjt|}|dk r%|S|jS(N(t b3_exceptionstgetRtNonetlower(Rtr((s /usr/lib/python2.7/stringprep.pyt map_table_b3s cCspt|}tjd|}djg|D]}t|^q+}tjd|}||krh|S|SdS(NtNFKCu(RRt normalizetjoin(tataltbtchtblR((s /usr/lib/python2.7/stringprep.pyt map_table_b2s ( cCs |dkS(Nu ((R((s /usr/lib/python2.7/stringprep.pyt in_table_c11scCstj|dko|dkS(NtZsu (RR(R((s /usr/lib/python2.7/stringprep.pyt in_table_c12scCstj|dkS(NR(RR(R((s /usr/lib/python2.7/stringprep.pytin_table_c11_c12scCs%t|dko$tj|dkS(NitCc(RRR(R((s /usr/lib/python2.7/stringprep.pyt in_table_c21siiii( i) id ij ip iiisi{cCs?t|}|dkrtStj|dkr5tS|tkS(NiR(RRRRtTruet c22_specials(RR((s /usr/lib/python2.7/stringprep.pyt in_table_c22s   cCs%tj|dkp$t|tkS(NR(RRRR!(R((s /usr/lib/python2.7/stringprep.pytin_table_c21_c22scCstj|dkS(NtCo(RR(R((s /usr/lib/python2.7/stringprep.pyt in_table_c3scCs@t|}|dkrtS|dkr,tSt|d@dkS(Niiii(ii(RRR (RR((s /usr/lib/python2.7/stringprep.pyt in_table_c4s    cCstj|dkS(NtCs(RR(R((s /usr/lib/python2.7/stringprep.pyt in_table_c5sicCst|tkS(N(Rtc6_set(R((s /usr/lib/python2.7/stringprep.pyt in_table_c6si/i/cCst|tkS(N(Rtc7_set(R((s /usr/lib/python2.7/stringprep.pyt in_table_c7si@iAi i i* i/ cCst|tkS(N(Rtc8_set(R((s /usr/lib/python2.7/stringprep.pyt in_table_c8sii icCst|tkS(N(Rtc9_set(R((s /usr/lib/python2.7/stringprep.pyt in_table_c9scCstj|dkS(NtRtAL(R1R2(Rt bidirectional(R((s /usr/lib/python2.7/stringprep.pyt in_table_d1 scCstj|dkS(NtL(RR3(R((s /usr/lib/python2.7/stringprep.pyt in_table_d2sN(t__doc__RRRtsettrangeR R R RRRRRRR!R"R#R%R&R(R)R*R+R,R-R.R/R0R4R6(((s /usr/lib/python2.7/stringprep.pyts| :      X       2