Created At: 2026-06-14T16:21:04Z
Completed At: 2026-06-14T16:21:04Z
File Path: `file:///c:/Users/HP/Downloads/climate-system/climate-system/index.php`
Total Lines: 4038
Total Bytes: 171665
Showing lines 2330 to 2355
The following code has been modified to include a line number before every line, in the format: <line_number>: <original_line>. Please note that any changes targeting the original code should remove the line number, colon, and leading space.
2330:       if (!url) return '';
2331:       const trimmed = url.trim();
2332: 
2333:       let id = null;
2334:       const fileDMatch = trimmed.match(/(?:drive|docs)\.google\.com\/file\/d\/([a-zA-Z0-9_-]+)/);
2335:       if (fileDMatch) {
2336:         id = fileDMatch[1];
2337:       } else {
2338:         const idMatch = trimmed.match(/[?&]id=([a-zA-Z0-9_-]+)/);
2339:         if (idMatch && (trimmed.includes('drive.google.com') || trimmed.includes('docs.google.com'))) {
2340:           id = idMatch[1];
2341:         }
2342:       }
2343: 
2344:       if (id) {
2345:         return `https://lh3.googleusercontent.com/d/${id}`;
2346:       }
2347:       return trimmed;
2348:     }
2349: 
2350:     // ======================================================
2351:     // ============ DINAMIS: DROPDOWN & API DB ===============
2352:     // ======================================================
2353: 
2354:     async function loadFilters() {
2355:       try {
The above content does NOT show the entire file contents. If you need to view any lines of the file which were not shown to complete your task, call this tool again to view those lines.
