From 20cf7ba0c495cab90a741f092596e877ae4b4e8c Mon Sep 17 00:00:00 2001 From: janeswingler <165973604+janeswingler@users.noreply.github.com> Date: Fri, 13 Sep 2024 06:37:21 +0000 Subject: [PATCH] First hour --- Dev/trydjango/src/db.sqlite3 | Bin 0 -> 139264 bytes Dev/trydjango/src/manage.py | 15 +++ Dev/trydjango/src/pages/__init__.py | 0 .../pages/__pycache__/__init__.cpython-38.pyc | Bin 0 -> 149 bytes .../pages/__pycache__/admin.cpython-38.pyc | Bin 0 -> 190 bytes .../pages/__pycache__/models.cpython-38.pyc | Bin 0 -> 187 bytes .../pages/__pycache__/views.cpython-38.pyc | Bin 0 -> 384 bytes Dev/trydjango/src/pages/admin.py | 3 + Dev/trydjango/src/pages/apps.py | 5 + .../src/pages/migrations/__init__.py | 0 .../__pycache__/__init__.cpython-38.pyc | Bin 0 -> 160 bytes Dev/trydjango/src/pages/models.py | 3 + Dev/trydjango/src/pages/tests.py | 3 + Dev/trydjango/src/pages/views.py | 6 + Dev/trydjango/src/products/__init__.py | 0 .../__pycache__/__init__.cpython-38.pyc | Bin 0 -> 152 bytes .../products/__pycache__/admin.cpython-38.pyc | Bin 0 -> 266 bytes .../__pycache__/models.cpython-38.pyc | Bin 0 -> 631 bytes Dev/trydjango/src/products/admin.py | 6 + Dev/trydjango/src/products/apps.py | 5 + .../src/products/migrations/0001_initial.py | 24 ++++ .../migrations/0002_product_featured.py | 18 +++ .../src/products/migrations/__init__.py | 0 .../__pycache__/0001_initial.cpython-38.pyc | Bin 0 -> 844 bytes .../0002_product_featured.cpython-38.pyc | Bin 0 -> 593 bytes .../__pycache__/__init__.cpython-38.pyc | Bin 0 -> 163 bytes Dev/trydjango/src/products/models.py | 9 ++ Dev/trydjango/src/products/tests.py | 3 + Dev/trydjango/src/products/views.py | 3 + Dev/trydjango/src/trydjango/__init__.py | 0 .../__pycache__/__init__.cpython-38.pyc | Bin 0 -> 153 bytes .../__pycache__/settings.cpython-38.pyc | Bin 0 -> 2323 bytes .../trydjango/__pycache__/urls.cpython-38.pyc | Bin 0 -> 1007 bytes .../trydjango/__pycache__/wsgi.cpython-38.pyc | Bin 0 -> 560 bytes Dev/trydjango/src/trydjango/settings.py | 122 ++++++++++++++++++ Dev/trydjango/src/trydjango/urls.py | 23 ++++ Dev/trydjango/src/trydjango/wsgi.py | 16 +++ 37 files changed, 264 insertions(+) create mode 100644 Dev/trydjango/src/db.sqlite3 create mode 100755 Dev/trydjango/src/manage.py create mode 100644 Dev/trydjango/src/pages/__init__.py create mode 100644 Dev/trydjango/src/pages/__pycache__/__init__.cpython-38.pyc create mode 100644 Dev/trydjango/src/pages/__pycache__/admin.cpython-38.pyc create mode 100644 Dev/trydjango/src/pages/__pycache__/models.cpython-38.pyc create mode 100644 Dev/trydjango/src/pages/__pycache__/views.cpython-38.pyc create mode 100644 Dev/trydjango/src/pages/admin.py create mode 100644 Dev/trydjango/src/pages/apps.py create mode 100644 Dev/trydjango/src/pages/migrations/__init__.py create mode 100644 Dev/trydjango/src/pages/migrations/__pycache__/__init__.cpython-38.pyc create mode 100644 Dev/trydjango/src/pages/models.py create mode 100644 Dev/trydjango/src/pages/tests.py create mode 100644 Dev/trydjango/src/pages/views.py create mode 100644 Dev/trydjango/src/products/__init__.py create mode 100644 Dev/trydjango/src/products/__pycache__/__init__.cpython-38.pyc create mode 100644 Dev/trydjango/src/products/__pycache__/admin.cpython-38.pyc create mode 100644 Dev/trydjango/src/products/__pycache__/models.cpython-38.pyc create mode 100644 Dev/trydjango/src/products/admin.py create mode 100644 Dev/trydjango/src/products/apps.py create mode 100644 Dev/trydjango/src/products/migrations/0001_initial.py create mode 100644 Dev/trydjango/src/products/migrations/0002_product_featured.py create mode 100644 Dev/trydjango/src/products/migrations/__init__.py create mode 100644 Dev/trydjango/src/products/migrations/__pycache__/0001_initial.cpython-38.pyc create mode 100644 Dev/trydjango/src/products/migrations/__pycache__/0002_product_featured.cpython-38.pyc create mode 100644 Dev/trydjango/src/products/migrations/__pycache__/__init__.cpython-38.pyc create mode 100644 Dev/trydjango/src/products/models.py create mode 100644 Dev/trydjango/src/products/tests.py create mode 100644 Dev/trydjango/src/products/views.py create mode 100644 Dev/trydjango/src/trydjango/__init__.py create mode 100644 Dev/trydjango/src/trydjango/__pycache__/__init__.cpython-38.pyc create mode 100644 Dev/trydjango/src/trydjango/__pycache__/settings.cpython-38.pyc create mode 100644 Dev/trydjango/src/trydjango/__pycache__/urls.cpython-38.pyc create mode 100644 Dev/trydjango/src/trydjango/__pycache__/wsgi.cpython-38.pyc create mode 100644 Dev/trydjango/src/trydjango/settings.py create mode 100644 Dev/trydjango/src/trydjango/urls.py create mode 100644 Dev/trydjango/src/trydjango/wsgi.py diff --git a/Dev/trydjango/src/db.sqlite3 b/Dev/trydjango/src/db.sqlite3 new file mode 100644 index 0000000000000000000000000000000000000000..f72a3b20f2abbef91be050b17289429d777996ae GIT binary patch literal 139264 zcmeI5du$s=e#dvkmuZn4$+FDEkC>9J*n}dRyUV3Wr)f^HB}cYJ#j^O>1l&Li3@moJ%BBeGH|7xZdG5e5WN6h0G) z2!f!{-%009sH0T2KI z5C8!X009sH0TB4)2n_EJQfGtxe<+Z@AfG2WG7|dx(65GG3jS~K&x5yv@xb>3Zw0Oe zM*9Dqn&1Ed5C8!X009sH0T2KI5cshY_^CmUaAb07qg=|>veil~7LzsWLR&HPYOQSK z~UERV(TRLo4Waw7gMV zt*-UTT}>&HG&vKbj;=HvC7q6#x1IP=6e*=%3{XF>HvLRmem3>InbWJKaz)c~In5}S zOJ%J<@#w2YrI)C8q{PcU>g0OUiEKI9FvWCY9K%$0LNPrd+`+QWuIwdD5CGZ}EE8vsK#uwUxZSs%6(o zX0~@_OEFoJC#T%h6{T#sl5JO(EZWFR%xy0}kn%nRmfS!Z(~ zmBGC>fKNI(I}kK6`@h;bA^6!1jB%L+;@)zgjJqY8$R0_wWe6 zwC4=^2HoK!em+^y+z`R`|NBTyAn%j+$hXK>$y?-?=_L*j009sH0T2KI5C8!X009sH z0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5y8-<0n<;B&lbYVHZ zTv#aFC|s4&g}J-wa|`C&-L=Bp;*5D?ar(||G4?`pi-0_7Z4r=Dr;@4^OC}os|NnRC z`v0f6iXjaIKmY_l00ck)1V8`;KmY_l00cl_TLQ;ibN+|TiZsUm-xJ99wsnID5C8!X z009sH0T2KI5C8!X009sHflobwBd)2|p9tt)|8M;LzxM?4-lx7G5C{Sw00JNY0w4ea zAOHd&00JNY0wB;yU`+H0;bGqiA*Y*_t!%Aoy!e$bvg5a^Yi1=vf3l@ge&qiEqfJwA literal 0 HcmV?d00001 diff --git a/Dev/trydjango/src/manage.py b/Dev/trydjango/src/manage.py new file mode 100755 index 0000000000..ddce531536 --- /dev/null +++ b/Dev/trydjango/src/manage.py @@ -0,0 +1,15 @@ +#!/usr/bin/env python +import os +import sys + +if __name__ == '__main__': + os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'trydjango.settings') + try: + from django.core.management import execute_from_command_line + except ImportError as exc: + raise ImportError( + "Couldn't import Django. Are you sure it's installed and " + "available on your PYTHONPATH environment variable? Did you " + "forget to activate a virtual environment?" + ) from exc + execute_from_command_line(sys.argv) diff --git a/Dev/trydjango/src/pages/__init__.py b/Dev/trydjango/src/pages/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/Dev/trydjango/src/pages/__pycache__/__init__.cpython-38.pyc b/Dev/trydjango/src/pages/__pycache__/__init__.cpython-38.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8e40f5a35bb571110f678bd60d9e5252ea84fc00 GIT binary patch literal 149 zcmWIL<>g`kg1NUIr-A6lAOaaM0yz#qT+9L_QW%06G#UL?G8BP?5yUSm{qp>x?BasN zm;nHPlOzKG literal 0 HcmV?d00001 diff --git a/Dev/trydjango/src/pages/__pycache__/admin.cpython-38.pyc b/Dev/trydjango/src/pages/__pycache__/admin.cpython-38.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c14ce96f70e2579d9468fb85db0b98c61af4b285 GIT binary patch literal 190 zcmWIL<>g`kg1NUIr`ZGP#~=l+ BFHHad literal 0 HcmV?d00001 diff --git a/Dev/trydjango/src/pages/__pycache__/models.cpython-38.pyc b/Dev/trydjango/src/pages/__pycache__/models.cpython-38.pyc new file mode 100644 index 0000000000000000000000000000000000000000..fc5016a859d70d283372d9c343f611e745d6a8d6 GIT binary patch literal 187 zcmWIL<>g`kg1NUIr&$8&#~=hf&8lZ%MJ`dhW z5%BPyq|p~BNlIO$MaPBSQx`9-?eB!?RcAzn&;N$w(Qm=c1cHSx-YAUmR<9RXbG1m8 zLQ0hkN=u$(3>fW$F7;ec>e{$yJz(AweFF6NH3Q|^^kpRs%U{Z_R=H>u%f*&iz2hUp zjILN;)*#tFi^0tMotrkQ6^{r*+y$2+R8JwU(y%!HZJe7%XV9q YVcg^>;9YK#wTf?~SWrL)wK0wTAL*-FHvj+t literal 0 HcmV?d00001 diff --git a/Dev/trydjango/src/pages/admin.py b/Dev/trydjango/src/pages/admin.py new file mode 100644 index 0000000000..8c38f3f3da --- /dev/null +++ b/Dev/trydjango/src/pages/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/Dev/trydjango/src/pages/apps.py b/Dev/trydjango/src/pages/apps.py new file mode 100644 index 0000000000..acdb960739 --- /dev/null +++ b/Dev/trydjango/src/pages/apps.py @@ -0,0 +1,5 @@ +from django.apps import AppConfig + + +class PagesConfig(AppConfig): + name = 'pages' diff --git a/Dev/trydjango/src/pages/migrations/__init__.py b/Dev/trydjango/src/pages/migrations/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/Dev/trydjango/src/pages/migrations/__pycache__/__init__.cpython-38.pyc b/Dev/trydjango/src/pages/migrations/__pycache__/__init__.cpython-38.pyc new file mode 100644 index 0000000000000000000000000000000000000000..50d067340ed1e8b25e15db3938db1cbec2de7cda GIT binary patch literal 160 zcmWIL<>g`kg1NUIr-A6lAOaaM0yz#qT+9L_QW%06G#UL?G8BP?5yUT7{qp>x?BasN z Hello world ") diff --git a/Dev/trydjango/src/products/__init__.py b/Dev/trydjango/src/products/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/Dev/trydjango/src/products/__pycache__/__init__.cpython-38.pyc b/Dev/trydjango/src/products/__pycache__/__init__.cpython-38.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0303a4aff61737da3d0d562b43fb5628e275338a GIT binary patch literal 152 zcmWIL<>g`kf{B+Nr-A6lAOaaM0yz#qT+9L_QW%06G#UL?G8BP?5yUTB{qp>x?BasN zd}dx|NqoFsLFFwD Rn_Qr1PO2Tq*v~-B008s7B~}0c literal 0 HcmV?d00001 diff --git a/Dev/trydjango/src/products/__pycache__/admin.cpython-38.pyc b/Dev/trydjango/src/products/__pycache__/admin.cpython-38.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b8e985099a08fe2c6dc03e61afcf1d19ce577806 GIT binary patch literal 266 zcmYk0v1-FW42JJ~c4A7>=ZKdabS$NG@Ei)Ii#Nxo1gAcqkuD8>n`X@Wbn==huh6MF zd&v)y_=M2^e=e5~g7x%!-Ss@L0q&(3-neMR%?KkKVPzquFp*JBWL2T00C|Xi5>V%` zk3U3~-1u5#a!5*J>-Humn!lqn$I5TAS@CENWxIFl%C#QrEk=AY%&are5XJ#wsyz%T z!oDUCcoCTLdTf8s`sDD7y0QY&`S>XZ>vRs^+G9Wc)`XSrCQH&|l6BV)=?l9Y8+Z+= KC|E7jBKik!?L=Sz literal 0 HcmV?d00001 diff --git a/Dev/trydjango/src/products/__pycache__/models.cpython-38.pyc b/Dev/trydjango/src/products/__pycache__/models.cpython-38.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ff532427416efc9b0e92d3f54edb684b578817a5 GIT binary patch literal 631 zcmYjPxsnqx5S8Ze93F27DUeOF^8rv41ulqiQN@x>qS8*ww!E4HNdq=1r28TK3V(po zP4F)e(KD)Awsll@zgD06v|8l^>DTYOt)_(BO~ONpPK1JeLYZa~AJVn9?3I#5<(kkJyD{-`5vjkxpEe9+6&J}B)%M8`= zpk*UmV#c=R`s9k&n1$e-N7Jp~cGLoX68#9n%-7%N)z@C%m|-fVS|50~>(`>~tF`!2 zS$%?8QyJYfjN5Othnce9&a3KWSW96;I&DR)3cT@@kG3W;*bB}y~1skhDtc2c^%!gYTL zKZZNE7k*siH zr{FPn*c%2M+^-B=bXM*cH+I4Mz~=rH`La1T<3i*rZA4XSGbk!RsWW?Zd)V~5v~)uT zS?mCdIXJPKv)Ds_HLxjgxEg^&(*qv{8*j;BNM`|zAlNvB#)QV5$7I6^hlD3Eg&ExG z@K$$!7w%c_+=u%co;z^}+eG()2@d}AJTk-gs)9Ca3>UC(_}j(YGhx~`Rgx)88w4|{ zl_*lRPEK)c0*y+fQe2=3&rls#8j~_D(D;pLBwn3URda`wNY4|AW!{{a382oDsI4v} zl7B4I^3-@`E2Z%%c7|8f2_}BJorp8QjPl8(mT88%4+SC@jW$Ew7M9Azv^f#_5q()z z$;Xs%2)ImJ*-!$n<1<(al%NmiQ!`3Bib-O|NkVODCDJ}jl22_atuvvaC`ChsnGmqX z60pn!YGsL;$zG?#fo-TFlFS6JNuYh3zyy0Isk+`C;d#?Mn2i^*j3`n9++~w^z1& JZB^NF{{c6h^ezAZ literal 0 HcmV?d00001 diff --git a/Dev/trydjango/src/products/migrations/__pycache__/0002_product_featured.cpython-38.pyc b/Dev/trydjango/src/products/migrations/__pycache__/0002_product_featured.cpython-38.pyc new file mode 100644 index 0000000000000000000000000000000000000000..297422e02a7ef018ed842a26f51d5bf59eb5b2ab GIT binary patch literal 593 zcmYjO!EW0y43#W7ae@@+W&4ByzQozi!_W=Ec3Ll8FTMz_$plVi$&>62J+Ie(NIz-1 z_Ou`9VZhK)PJ)&K36hT>`KZg2lQ|=K{Qa=G<%~VV;H5|k&Pe?mGQfaq*7B0KNttl= zg+T)1mVrRN6Td_$Kwhvs{X?}ZPr|%ywyx?MYkZir7Et>-LN8@X!5OJvl0jB-U}XY) z%S(ZBm&O4&*-b&xOYahx+zG-mn9`su%)TBc(73E~7KXa_VX<1R-m1nleN*W$J>)~S z!Kxn|!Z)f;uXJUugEWKIxu9L+e#%rWQZCwb)1Zd)d=@e_=9LO_rKoPuNd7{p??a_y zZHxdrG=QdV(7S}lgzO{0=h(xE7%o0ptFba;D$H$%huhpU_lgQe^Y^m&Y2CH&sv3Q< z-c@F6*Vx)(jX#Rs-N2YBysL{N+v54k1@V5T4uCqcU3NDv{^NwypOVQ$@+4Eq6MBn( o@@YiRa~Wp)_Di@L8H{_6;PZle?=^J^+57!1K16yxQa%;`0W#5{XaE2J literal 0 HcmV?d00001 diff --git a/Dev/trydjango/src/products/migrations/__pycache__/__init__.cpython-38.pyc b/Dev/trydjango/src/products/migrations/__pycache__/__init__.cpython-38.pyc new file mode 100644 index 0000000000000000000000000000000000000000..be6ddbabf1e17de7feeeebeeb4ae0bb2256d9322 GIT binary patch literal 163 zcmWIL<>g`kf{B+Nr-A6lAOaaM0yz#qT+9L_QW%06G#UL?G8BP?5yUSK{qp>x?BasN zV!Z literal 0 HcmV?d00001 diff --git a/Dev/trydjango/src/products/models.py b/Dev/trydjango/src/products/models.py new file mode 100644 index 0000000000..6ff403995b --- /dev/null +++ b/Dev/trydjango/src/products/models.py @@ -0,0 +1,9 @@ +from django.db import models + +# Create your models here. +class Product(models.Model): + title = models.CharField(max_length=120) + description = models.TextField(blank=True, null=True) + price = models.DecimalField(decimal_places=2, max_digits=1000) + summary = models.TextField(default="this is cool!") + featured = models.BooleanField(blank=True, null=True) diff --git a/Dev/trydjango/src/products/tests.py b/Dev/trydjango/src/products/tests.py new file mode 100644 index 0000000000..7ce503c2dd --- /dev/null +++ b/Dev/trydjango/src/products/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/Dev/trydjango/src/products/views.py b/Dev/trydjango/src/products/views.py new file mode 100644 index 0000000000..91ea44a218 --- /dev/null +++ b/Dev/trydjango/src/products/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/Dev/trydjango/src/trydjango/__init__.py b/Dev/trydjango/src/trydjango/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/Dev/trydjango/src/trydjango/__pycache__/__init__.cpython-38.pyc b/Dev/trydjango/src/trydjango/__pycache__/__init__.cpython-38.pyc new file mode 100644 index 0000000000000000000000000000000000000000..69f3dc6ad3f67ce69ed405b10eb3404ea8996e3a GIT binary patch literal 153 zcmWIL<>g`kf>TExr-A6lAOaaM0yz#qT+9L_QW%06G#UL?G8BP?5yUS${qp>x?BasN zL7J~J<~BtBlRpz;=nO>TZlX-=vg K$lT9B%m4s1V^R0@rm5sT-aYsI_MBC#R4SzK`89gm*(jz`Z{x-E zlgGsq9PBqFkTOz`hK!vy(j>i~`FU=N3S|CGI)05T%o#ZljC?m`EWkWuAqRO_fC8L> zVmEITpahF>7M9=~oQLIZ&Nu@Xj3Qj@ra*v8a2c+^CvdeZ&@^0oEp*dH39cK9@F{$j z#5+r}@cEkzh_5p=Z7jhJ_yRR=z?TWVnb5Cjx+@sx;A`VN+%lFin+rHD;9I z3|^Z_qZmgSv^_^Au8a<4?hR<0$ww*6Blo;V#7hWz0UELEEg~kp}u%v*#Tky zCzek-Q-OZRGDtPTdt?Y3hkfW#tz3|!$Gd3YE=feSE;pG`2Ba9)MCj|})tS(wy zoweYIe>+B<8F|DPf;MNy{2)=jJ63imfK3i9pGb_f1E2Dtq>U%_i7b3D>wBDyG-a=i zcvDuZCxhVmI-V<)lfVB^WqwC0BY8o|;gssbnOrQyaykzM*9aqRC*?O~IJ=1>5HZK6#0K!oxdb-AT>HhusykYgSGKp!WR`1g>(ypM3$GpncF4L^vIYah zIXT2A2c%;KHlGwZ>>cCBUfPtC`(Xi@#0s%>I6=WxLw{mw*TR@_M=AG z9_M)M;K^wnGy;eCw0+XUJaO*^EShWSh__e4|uU0BGbywL@qvB4pshh2xTDjTSj23jYzFkvvRg0E(wXJHbU#pgt zxKbiv-=l7{P*HRx4z5L4l$QR?+*UMgx4Ba>UnsRI3Y%DFrJB;%YAIW)S#DNTbX%>f zrqRT*$hR=<>iVO`XjWTaYed7)JT;9lV8Y@)*C!DfSA9P|VL=&k1uvM#yH;AH07G#Shkh p2?aq&IGG9mUFLn}o$y{*5^^!G_z%uYnG|w`6Z8*Z8KaEe?7!QY6ZQZA literal 0 HcmV?d00001 diff --git a/Dev/trydjango/src/trydjango/__pycache__/urls.cpython-38.pyc b/Dev/trydjango/src/trydjango/__pycache__/urls.cpython-38.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d3c0f9e25747022003174e618c377fef5eb67bed GIT binary patch literal 1007 zcma)5%Z}496m`<{l}_OoylW$sSTh@>3ecb_qZtXY0A`a-#*N)JC5|K8ouO=5^CA3F zBv!NH7g!*!-4sPgNaHH*wR3asIp^9p<8g>!1V0{D&pQY`*hPEvU~vwQzJiIN1Tl~K zg(v*P_iWrLIwD8{7Y9XG^pc*3c)+^c-}bkIuRg>*-eY|>_|{qb$&d{{peUruN64r> z+tP9^@y+|U_(GPee7#fD_d3Rx zQehz#$9cJuN;n8y6`X30HRtmX!`K*8={X@xW;#9;u9V#J%*2@#gqP$jJ|#w0d8Ua? zCQx3J@Xco`087uq%UzjSc89VK^fbn=8N;;1xu~QvbBtF?3M}?1t*U0Tm4DXcJINrR zr4T*^v76~+GHY~gq~J4LQo&zNY&?m=i-KzXYze|x3-y02q}gy~iNwyRBb_V2a_k?; z#^%RVrxs)y{lnRD+SH1p`swKE0-6=;vm<H(K zP43K@@@TfpLaqrIc&s$B8xD68Md434#3=IWE@dJwAqcGF@ISQnI(=Vy?j5O79oS8q zWIOOK3hREF!r@8NICwoP+f7KXJ@zNy z*#GE>Kfu?X_ytaQ6H#R(&**tH^WKboad423V88C}%bSRh`xfk4H-O`C?CanJnGz9+ zSVhw)#Ey#V&a@K|h!))+d!j4$e#QZHuE}&?#1k^uzxthgnG8p?KwZj;mT0ImYq8+E zLfRNyK;hCP8955y8?<1ln*-gJaHaTH1(aLLX^rAi!7BwzP;|+S+@v(GLD1QZH;s}7 zcM|n%7W$nAo*E5MsRL!bNl?_GxwN#D3SLqRkj$NH>=9!E3!835{nu1r%|Nra=^Hl3 zl|v?=QMj%_JGQcwWXYef5HcP_{;&d