Configuration
/**
* Sidecar Config for middleware/platformextractors/overfuel.ts
*/
module.exports = {
title: "overfuel.ts",
description: "Auto-generated draft",
};
---
title: "Route Flow: ssutil/src/middleware/platformextractors/overfuel.ts"
---
flowchart TD
title["Route Flow: ssutil/src/middleware/platformextractors/overfuel.ts"]
style title fill:none,stroke:none,color:#B4976A,font-size:18px
extractOverfuel{{"extractOverfuel"}}
style extractOverfuel fill:#161b22,color:#fff,stroke:#c2a35d
linkStyle default stroke:#c2a35d,stroke-width:2px,color:#fff
classDef default color:#fff
---
title: "AST Structure: ssutil/src/middleware/platformextractors/overfuel.ts"
---
graph TD
n0["SF"]
n1["ID"]
n0 --> n1
n3["ScrapeResult"]
n1 --> n3
n3 --> n2
style n3 stroke-dasharray:5,stroke:#B4976A
n2["../platformscrape"]
style n2 fill:#ffffff10,stroke:#ffffff33,color:#a1a1a1
n4["ID"]
n0 --> n4
n6["cleanDealerName"]
n4 --> n6
n6 --> n5
style n6 stroke-dasharray:5,stroke:#B4976A
n7["cleanAddressField"]
n4 --> n7
n7 --> n5
style n7 stroke-dasharray:5,stroke:#B4976A
n5["./utils"]
style n5 fill:#ffffff10,stroke:#ffffff33,color:#a1a1a1
n8["VS"]
n0 --> n8
n11["VD: OVERFUEL_PATTERNS"]
n8 --> n11
n20["FD: extractOverfuel"]
n0 --> n20
n31["VS"]
n20 --> n31
n33["VD: extracted"]
n31 --> n33
n40["VS"]
n20 --> n40
n42["VD: nextDataMatch"]
n40 --> n42
n44["CE: html.match"]
n42 --> n44
n51["IS"]
n20 --> n51
n54["TS"]
n51 --> n54
n56["VS"]
n54 --> n56
n58["VD: jsonData"]
n56 --> n58
n60["CE: JSON.parse"]
n58 --> n60
n61["VS"]
n54 --> n61
n63["VD: dealer"]
n61 --> n63
n75["VS"]
n54 --> n75
n77["VD: dealerResults"]
n75 --> n77
n83["VS"]
n54 --> n83
n85["VD: related"]
n83 --> n85
n91["IS"]
n54 --> n91
n98["BE"]
n91 --> n98
n103["CE: String"]
n98 --> n103
n104["IS"]
n54 --> n104
n105["BE"]
n104 --> n105
n111["CE: Array.isArray"]
n105 --> n111
n113["VS"]
n104 --> n113
n115["VD: domains"]
n113 --> n115
n116["IS"]
n104 --> n116
n117["BE"]
n116 --> n117
n120["BE"]
n116 --> n120
n121["IS"]
n54 --> n121
n128["BE"]
n121 --> n128
n133["CE: cleanDealerName"]
n128 --> n133
n134["IS"]
n121 --> n134
n135["BE"]
n134 --> n135
n138["BE"]
n134 --> n138
n139["VS"]
n54 --> n139
n141["VD: phoneFields"]
n139 --> n141
n151["VD: field"]
n54 --> n151
n155["IS"]
n54 --> n155
n162["BE"]
n155 --> n162
n171["IS"]
n54 --> n171
n172["BE"]
n171 --> n172
n173["BE"]
n172 --> n173
n175["BE"]
n172 --> n175
n179["VD: field"]
n171 --> n179
n183["IS"]
n171 --> n183
n191["BE"]
n183 --> n191
n193["VS"]
n54 --> n193
n195["VD: emailFields"]
n193 --> n195
n205["VD: field"]
n54 --> n205
n209["IS"]
n54 --> n209
n216["BE"]
n209 --> n216
n225["IS"]
n54 --> n225
n226["BE"]
n225 --> n226
n227["BE"]
n226 --> n227
n229["BE"]
n226 --> n229
n233["VD: field"]
n225 --> n233
n237["IS"]
n225 --> n237
n245["BE"]
n237 --> n245
n247["VS"]
n54 --> n247
n249["VD: addressData"]
n247 --> n249
n252["IS"]
n54 --> n252
n253["BE"]
n252 --> n253
n265["BE"]
n252 --> n265
n269["IS"]
n252 --> n269
n270["BE"]
n269 --> n270
n273["BE"]
n269 --> n273
n274["IS"]
n54 --> n274
n278["BE"]
n274 --> n278
n287["CE: cleanAddressField"]
n278 --> n287
n290["CE: cleanAddressField"]
n278 --> n290
n293["CE: cleanAddressField"]
n278 --> n293
n296["CE: cleanAddressField"]
n278 --> n296
n299["CE: cleanAddressField"]
n278 --> n299
n300["IS"]
n54 --> n300
n301["BE"]
n300 --> n301
n307["CE: Array.isArray"]
n301 --> n307
n309["VS"]
n300 --> n309
n311["VD: defaultDomain"]
n309 --> n311
n312["IS"]
n300 --> n312
n319["BE"]
n312 --> n319
n320["IS"]
n312 --> n320
n321["IS"]
n54 --> n321
n322["BE"]
n321 --> n322
n337["BE"]
n321 --> n337
n351["IS"]
n54 --> n351
n361["BE"]
n351 --> n361
n372["VD: e"]
n54 --> n372
n375["VS"]
n20 --> n375
n377["VD: jsonLdPattern"]
n375 --> n377
n379["NE"]
n377 --> n379
n386["BE"]
n379 --> n386
n394["VS"]
n20 --> n394
n396["VD: jsonLdMatch"]
n394 --> n396
n399["BE"]
n20 --> n399
n401["BE"]
n399 --> n401
n404["CE: jsonLdPattern.exec"]
n401 --> n404
n412["TS"]
n20 --> n412
n414["VS"]
n412 --> n414
n416["VD: jsonData"]
n414 --> n416
n418["CE: JSON.parse"]
n416 --> n418
n425["VS"]
n412 --> n425
n427["VD: types"]
n425 --> n427
n430["CE: Array.isArray"]
n427 --> n430
n446["VS"]
n412 --> n446
n448["VD: isDealerType"]
n446 --> n448
n450["BE"]
n448 --> n450
n451["BE"]
n450 --> n451
n453["CE: types.includes"]
n450 --> n453
n454["IS"]
n412 --> n454
n457["IS"]
n454 --> n457
n458["BE"]
n457 --> n458
n464["BE"]
n458 --> n464
n467["BE"]
n457 --> n467
n472["CE: cleanDealerName"]
n467 --> n472
n473["IS"]
n454 --> n473
n474["BE"]
n473 --> n474
n485["BE"]
n473 --> n485
n493["IS"]
n473 --> n493
n494["BE"]
n493 --> n494
n497["BE"]
n493 --> n497
n498["IS"]
n454 --> n498
n499["BE"]
n498 --> n499
n510["BE"]
n498 --> n510
n515["CE: jsonData.telephone.replace"]
n510 --> n515
n516["IS"]
n454 --> n516
n517["BE"]
n516 --> n517
n527["VS"]
n516 --> n527
n529["VD: addr"]
n527 --> n529
n531["BE"]
n516 --> n531
n540["CE: cleanAddressField"]
n531 --> n540
n543["CE: cleanAddressField"]
n531 --> n543
n546["CE: cleanAddressField"]
n531 --> n546
n549["CE: cleanAddressField"]
n531 --> n549
n552["CE: cleanAddressField"]
n531 --> n552
n553["IS"]
n454 --> n553
n554["BE"]
n553 --> n554
n565["BE"]
n553 --> n565
n573["IS"]
n553 --> n573
n574["BE"]
n573 --> n574
n577["BE"]
n573 --> n577
n579["VD: e"]
n412 --> n579
n583["RS"]
n20 --> n583
style n0 fill:#5E377B,color:#fff,stroke:#B4976A
linkStyle default stroke:#c2a35d,stroke-width:1px,opacity:0.6
BE BinaryExpressionCE CallExpressionFD FunctionDeclarationIS IfStatementID ImportDeclarationNE NewExpressionRS ReturnStatementSF SourceFileTS TryStatementVD VariableDeclarationVS VariableStatement