Update app/services/pdf_service.py
Browse files- app/services/pdf_service.py +267 -323
app/services/pdf_service.py
CHANGED
|
@@ -1,323 +1,267 @@
|
|
| 1 |
-
"""
|
| 2 |
-
PDF
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
import
|
| 7 |
-
from
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
from
|
| 11 |
-
from
|
| 12 |
-
from reportlab.lib import
|
| 13 |
-
from reportlab.
|
| 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 |
-
return {"pdf_path": filepath, "pdf_url": pdf_url}
|
| 269 |
-
|
| 270 |
-
except Exception as e:
|
| 271 |
-
logger.error(f"Error generating PDF: {str(e)}")
|
| 272 |
-
raise
|
| 273 |
-
|
| 274 |
-
def get_pdf_path(self, loan_id: str) -> str:
|
| 275 |
-
"""
|
| 276 |
-
Get the file path for a sanction letter PDF.
|
| 277 |
-
|
| 278 |
-
Args:
|
| 279 |
-
loan_id: Loan application ID
|
| 280 |
-
|
| 281 |
-
Returns:
|
| 282 |
-
Full file path to the PDF
|
| 283 |
-
"""
|
| 284 |
-
filename = f"{loan_id}.pdf"
|
| 285 |
-
return os.path.join(self.output_dir, filename)
|
| 286 |
-
|
| 287 |
-
def pdf_exists(self, loan_id: str) -> bool:
|
| 288 |
-
"""
|
| 289 |
-
Check if a sanction letter PDF exists.
|
| 290 |
-
|
| 291 |
-
Args:
|
| 292 |
-
loan_id: Loan application ID
|
| 293 |
-
|
| 294 |
-
Returns:
|
| 295 |
-
True if PDF exists, False otherwise
|
| 296 |
-
"""
|
| 297 |
-
filepath = self.get_pdf_path(loan_id)
|
| 298 |
-
return os.path.exists(filepath)
|
| 299 |
-
|
| 300 |
-
def delete_pdf(self, loan_id: str) -> bool:
|
| 301 |
-
"""
|
| 302 |
-
Delete a sanction letter PDF.
|
| 303 |
-
|
| 304 |
-
Args:
|
| 305 |
-
loan_id: Loan application ID
|
| 306 |
-
|
| 307 |
-
Returns:
|
| 308 |
-
True if deleted successfully, False otherwise
|
| 309 |
-
"""
|
| 310 |
-
try:
|
| 311 |
-
filepath = self.get_pdf_path(loan_id)
|
| 312 |
-
if os.path.exists(filepath):
|
| 313 |
-
os.remove(filepath)
|
| 314 |
-
logger.info(f"Deleted PDF: {filepath}")
|
| 315 |
-
return True
|
| 316 |
-
return False
|
| 317 |
-
except Exception as e:
|
| 318 |
-
logger.error(f"Error deleting PDF: {str(e)}")
|
| 319 |
-
return False
|
| 320 |
-
|
| 321 |
-
|
| 322 |
-
# Singleton instance
|
| 323 |
-
pdf_service = PdfService()
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
PDF Service for generating professional sanction letters.
|
| 3 |
+
"""
|
| 4 |
+
|
| 5 |
+
import os
|
| 6 |
+
from datetime import datetime, timedelta
|
| 7 |
+
from typing import Optional
|
| 8 |
+
|
| 9 |
+
from reportlab.lib import colors
|
| 10 |
+
from reportlab.lib.pagesizes import A4, letter
|
| 11 |
+
from reportlab.lib.styles import ParagraphStyle, getSampleStyleSheet
|
| 12 |
+
from reportlab.lib.units import inch
|
| 13 |
+
from reportlab.platypus import (
|
| 14 |
+
Paragraph,
|
| 15 |
+
SimpleDocTemplate,
|
| 16 |
+
Spacer,
|
| 17 |
+
Table,
|
| 18 |
+
TableStyle,
|
| 19 |
+
)
|
| 20 |
+
|
| 21 |
+
from app.config import settings
|
| 22 |
+
from app.utils.logger import setup_logger
|
| 23 |
+
|
| 24 |
+
logger = setup_logger("pdf_service")
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
class PDFService:
|
| 28 |
+
"""Service for generating loan sanction letters."""
|
| 29 |
+
|
| 30 |
+
def __init__(self):
|
| 31 |
+
"""Initialize PDF service."""
|
| 32 |
+
self.output_dir = settings.PDF_OUTPUT_DIR
|
| 33 |
+
os.makedirs(self.output_dir, exist_ok=True)
|
| 34 |
+
|
| 35 |
+
def generate_sanction_letter(
|
| 36 |
+
self,
|
| 37 |
+
loan_id: str,
|
| 38 |
+
user_name: str,
|
| 39 |
+
loan_amount: float,
|
| 40 |
+
tenure_months: int,
|
| 41 |
+
emi: float,
|
| 42 |
+
interest_rate: float,
|
| 43 |
+
risk_band: str = "A",
|
| 44 |
+
) -> str:
|
| 45 |
+
"""
|
| 46 |
+
Generate professional sanction letter PDF.
|
| 47 |
+
|
| 48 |
+
Args:
|
| 49 |
+
loan_id: Unique loan identifier
|
| 50 |
+
user_name: Borrower's full name
|
| 51 |
+
loan_amount: Approved loan amount
|
| 52 |
+
tenure_months: Loan tenure in months
|
| 53 |
+
emi: Monthly EMI amount
|
| 54 |
+
interest_rate: Annual interest rate
|
| 55 |
+
risk_band: Risk classification (A/B/C)
|
| 56 |
+
|
| 57 |
+
Returns:
|
| 58 |
+
Path to generated PDF file
|
| 59 |
+
"""
|
| 60 |
+
try:
|
| 61 |
+
logger.info(f"Generating sanction letter for loan {loan_id}")
|
| 62 |
+
|
| 63 |
+
# Create filename
|
| 64 |
+
filename = f"sanction_{loan_id}_{datetime.now().strftime('%Y%m%d')}.pdf"
|
| 65 |
+
filepath = os.path.join(self.output_dir, filename)
|
| 66 |
+
|
| 67 |
+
# Create PDF document
|
| 68 |
+
doc = SimpleDocTemplate(
|
| 69 |
+
filepath,
|
| 70 |
+
pagesize=A4,
|
| 71 |
+
rightMargin=72,
|
| 72 |
+
leftMargin=72,
|
| 73 |
+
topMargin=72,
|
| 74 |
+
bottomMargin=72,
|
| 75 |
+
)
|
| 76 |
+
|
| 77 |
+
# Build PDF content
|
| 78 |
+
story = []
|
| 79 |
+
styles = getSampleStyleSheet()
|
| 80 |
+
|
| 81 |
+
# Custom styles
|
| 82 |
+
title_style = ParagraphStyle(
|
| 83 |
+
'CustomTitle',
|
| 84 |
+
parent=styles['Heading1'],
|
| 85 |
+
fontSize=24,
|
| 86 |
+
textColor=colors.HexColor('#1a1a1a'),
|
| 87 |
+
spaceAfter=30,
|
| 88 |
+
alignment=1, # Center
|
| 89 |
+
fontName='Helvetica-Bold'
|
| 90 |
+
)
|
| 91 |
+
|
| 92 |
+
heading_style = ParagraphStyle(
|
| 93 |
+
'CustomHeading',
|
| 94 |
+
parent=styles['Heading2'],
|
| 95 |
+
fontSize=14,
|
| 96 |
+
textColor=colors.HexColor('#2c5aa0'),
|
| 97 |
+
spaceAfter=12,
|
| 98 |
+
fontName='Helvetica-Bold'
|
| 99 |
+
)
|
| 100 |
+
|
| 101 |
+
body_style = ParagraphStyle(
|
| 102 |
+
'CustomBody',
|
| 103 |
+
parent=styles['Normal'],
|
| 104 |
+
fontSize=11,
|
| 105 |
+
textColor=colors.HexColor('#333333'),
|
| 106 |
+
spaceAfter=12,
|
| 107 |
+
leading=16
|
| 108 |
+
)
|
| 109 |
+
|
| 110 |
+
# Header with logo placeholder
|
| 111 |
+
story.append(Spacer(1, 0.5 * inch))
|
| 112 |
+
|
| 113 |
+
# Company name/logo
|
| 114 |
+
company_name = Paragraph(
|
| 115 |
+
"<b>FinAgent</b><br/>Personal Loan Division",
|
| 116 |
+
ParagraphStyle('Company', parent=styles['Normal'], fontSize=16, textColor=colors.HexColor('#2c5aa0'), alignment=1)
|
| 117 |
+
)
|
| 118 |
+
story.append(company_name)
|
| 119 |
+
story.append(Spacer(1, 0.3 * inch))
|
| 120 |
+
|
| 121 |
+
# Title
|
| 122 |
+
title = Paragraph("LOAN SANCTION LETTER", title_style)
|
| 123 |
+
story.append(title)
|
| 124 |
+
story.append(Spacer(1, 0.3 * inch))
|
| 125 |
+
|
| 126 |
+
# Date and Reference
|
| 127 |
+
current_date = datetime.now().strftime("%B %d, %Y")
|
| 128 |
+
validity_date = (datetime.now() + timedelta(days=settings.PDF_VALIDITY_DAYS)).strftime("%B %d, %Y")
|
| 129 |
+
|
| 130 |
+
ref_data = [
|
| 131 |
+
["Reference No:", loan_id],
|
| 132 |
+
["Date:", current_date],
|
| 133 |
+
["Valid Until:", validity_date],
|
| 134 |
+
]
|
| 135 |
+
|
| 136 |
+
ref_table = Table(ref_data, colWidths=[2*inch, 4*inch])
|
| 137 |
+
ref_table.setStyle(TableStyle([
|
| 138 |
+
('FONTNAME', (0, 0), (0, -1), 'Helvetica-Bold'),
|
| 139 |
+
('FONTSIZE', (0, 0), (-1, -1), 10),
|
| 140 |
+
('TEXTCOLOR', (0, 0), (-1, -1), colors.HexColor('#333333')),
|
| 141 |
+
('ALIGN', (0, 0), (-1, -1), 'LEFT'),
|
| 142 |
+
('VALIGN', (0, 0), (-1, -1), 'MIDDLE'),
|
| 143 |
+
]))
|
| 144 |
+
|
| 145 |
+
story.append(ref_table)
|
| 146 |
+
story.append(Spacer(1, 0.4 * inch))
|
| 147 |
+
|
| 148 |
+
# Addressee
|
| 149 |
+
addressee = Paragraph(f"Dear <b>{user_name}</b>,", body_style)
|
| 150 |
+
story.append(addressee)
|
| 151 |
+
story.append(Spacer(1, 0.2 * inch))
|
| 152 |
+
|
| 153 |
+
# Congratulations message
|
| 154 |
+
congrats = Paragraph(
|
| 155 |
+
"We are pleased to inform you that your personal loan application has been <b>APPROVED</b>. "
|
| 156 |
+
"We congratulate you on this milestone and look forward to serving your financial needs.",
|
| 157 |
+
body_style
|
| 158 |
+
)
|
| 159 |
+
story.append(congrats)
|
| 160 |
+
story.append(Spacer(1, 0.3 * inch))
|
| 161 |
+
|
| 162 |
+
# Loan Details Section
|
| 163 |
+
heading = Paragraph("Loan Sanction Details", heading_style)
|
| 164 |
+
story.append(heading)
|
| 165 |
+
|
| 166 |
+
# Calculate total amounts
|
| 167 |
+
total_payable = emi * tenure_months
|
| 168 |
+
processing_fee = loan_amount * 0.02 # 2% processing fee
|
| 169 |
+
|
| 170 |
+
# Loan details table
|
| 171 |
+
loan_data = [
|
| 172 |
+
["Loan Amount Sanctioned", f"₹{loan_amount:,.2f}"],
|
| 173 |
+
["Loan Tenure", f"{tenure_months} months ({tenure_months//12} years {tenure_months%12} months)"],
|
| 174 |
+
["Interest Rate (Annual)", f"{interest_rate}% p.a."],
|
| 175 |
+
["Monthly EMI", f"₹{emi:,.2f}"],
|
| 176 |
+
["Total Amount Payable", f"₹{total_payable:,.2f}"],
|
| 177 |
+
["Processing Fee (2%)", f"₹{processing_fee:,.2f}"],
|
| 178 |
+
["Risk Classification", risk_band],
|
| 179 |
+
]
|
| 180 |
+
|
| 181 |
+
loan_table = Table(loan_data, colWidths=[3*inch, 3*inch])
|
| 182 |
+
loan_table.setStyle(TableStyle([
|
| 183 |
+
('BACKGROUND', (0, 0), (-1, 0), colors.HexColor('#f0f0f0')),
|
| 184 |
+
('TEXTCOLOR', (0, 0), (-1, -1), colors.HexColor('#333333')),
|
| 185 |
+
('ALIGN', (0, 0), (-1, -1), 'LEFT'),
|
| 186 |
+
('FONTNAME', (0, 0), (0, -1), 'Helvetica-Bold'),
|
| 187 |
+
('FONTNAME', (1, 0), (1, -1), 'Helvetica'),
|
| 188 |
+
('FONTSIZE', (0, 0), (-1, -1), 11),
|
| 189 |
+
('GRID', (0, 0), (-1, -1), 1, colors.HexColor('#cccccc')),
|
| 190 |
+
('VALIGN', (0, 0), (-1, -1), 'MIDDLE'),
|
| 191 |
+
('ROWBACKGROUNDS', (0, 0), (-1, -1), [colors.white, colors.HexColor('#fafafa')]),
|
| 192 |
+
('LEFTPADDING', (0, 0), (-1, -1), 12),
|
| 193 |
+
('RIGHTPADDING', (0, 0), (-1, -1), 12),
|
| 194 |
+
('TOPPADDING', (0, 0), (-1, -1), 10),
|
| 195 |
+
('BOTTOMPADDING', (0, 0), (-1, -1), 10),
|
| 196 |
+
]))
|
| 197 |
+
|
| 198 |
+
story.append(loan_table)
|
| 199 |
+
story.append(Spacer(1, 0.3 * inch))
|
| 200 |
+
|
| 201 |
+
# Terms and Conditions
|
| 202 |
+
terms_heading = Paragraph("Terms and Conditions", heading_style)
|
| 203 |
+
story.append(terms_heading)
|
| 204 |
+
|
| 205 |
+
terms = [
|
| 206 |
+
"This sanction is valid for 7 days from the date of issue.",
|
| 207 |
+
"The loan is subject to verification of all submitted documents.",
|
| 208 |
+
"Processing fee of 2% (non-refundable) will be deducted from the loan amount.",
|
| 209 |
+
"EMI will be auto-debited from your registered bank account on the 5th of every month.",
|
| 210 |
+
"Prepayment is allowed after 6 months with no prepayment charges.",
|
| 211 |
+
"Late payment charges of ₹500 per month will apply for delayed EMI payments.",
|
| 212 |
+
"This is a system-generated letter and does not require a physical signature.",
|
| 213 |
+
]
|
| 214 |
+
|
| 215 |
+
for i, term in enumerate(terms, 1):
|
| 216 |
+
term_text = Paragraph(f"{i}. {term}", body_style)
|
| 217 |
+
story.append(term_text)
|
| 218 |
+
|
| 219 |
+
story.append(Spacer(1, 0.3 * inch))
|
| 220 |
+
|
| 221 |
+
# Next Steps
|
| 222 |
+
next_steps_heading = Paragraph("Next Steps", heading_style)
|
| 223 |
+
story.append(next_steps_heading)
|
| 224 |
+
|
| 225 |
+
next_steps = Paragraph(
|
| 226 |
+
"Please visit your nearest FinAgent branch with the following documents within 7 days:<br/>"
|
| 227 |
+
"• Original ID proof (Aadhaar/PAN/Passport)<br/>"
|
| 228 |
+
"• Bank statements (last 6 months)<br/>"
|
| 229 |
+
"• Salary slips (last 3 months)<br/>"
|
| 230 |
+
"• This sanction letter<br/><br/>"
|
| 231 |
+
"Our team will verify your documents and disburse the loan within 24 hours of successful verification.",
|
| 232 |
+
body_style
|
| 233 |
+
)
|
| 234 |
+
story.append(next_steps)
|
| 235 |
+
story.append(Spacer(1, 0.4 * inch))
|
| 236 |
+
|
| 237 |
+
# Closing
|
| 238 |
+
closing = Paragraph(
|
| 239 |
+
"Thank you for choosing FinAgent. We wish you success in your financial journey!<br/><br/>"
|
| 240 |
+
"Warm regards,<br/>"
|
| 241 |
+
"<b>FinAgent Loan Processing Team</b><br/>"
|
| 242 |
+
"Email: loans@finagent.com | Phone: 1800-123-4567",
|
| 243 |
+
body_style
|
| 244 |
+
)
|
| 245 |
+
story.append(closing)
|
| 246 |
+
|
| 247 |
+
# Footer
|
| 248 |
+
story.append(Spacer(1, 0.5 * inch))
|
| 249 |
+
footer = Paragraph(
|
| 250 |
+
"<i>This is a computer-generated document and does not require a signature.</i>",
|
| 251 |
+
ParagraphStyle('Footer', parent=styles['Normal'], fontSize=8, textColor=colors.grey, alignment=1)
|
| 252 |
+
)
|
| 253 |
+
story.append(footer)
|
| 254 |
+
|
| 255 |
+
# Build PDF
|
| 256 |
+
doc.build(story)
|
| 257 |
+
|
| 258 |
+
logger.info(f"Generated sanction letter: {filepath}")
|
| 259 |
+
return filepath
|
| 260 |
+
|
| 261 |
+
except Exception as e:
|
| 262 |
+
logger.error(f"Error generating PDF: {str(e)}", exc_info=True)
|
| 263 |
+
raise
|
| 264 |
+
|
| 265 |
+
|
| 266 |
+
# Global instance
|
| 267 |
+
pdf_service = PDFService()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|