feat(mechanic-pwa): use vendor SVG scheme with zone-based markers (1:1 vendor coords for future import)
- Add public/scheme/exterior.svg (131 KB, viewBox 0 0 827 1209, 57 zones class="0"..class="56")
- Add public/scheme/salon.svg (53 KB, Phase 2 reserve)
- New VendorVehicleScheme: fetches SVG as separate asset (?url), strips vendor <script>,
wires click/hover via event delegation, tints zones red/gray/blue by damage state
- AddMarkerDialog: side required, x/y optional (zone-level markers store NULL x/y)
- InspectionEditor/InspectionReview: swap CompositeVehicleScheme -> VendorVehicleScheme,
pendingTap now {side} only, humanizeMarkerSide handles zone-{N} and legacy named zones
- Delete CompositeVehicleScheme (PNG grid + bumper suns)
- No backend changes; side=zone-{N} accepted by existing Optional[str] field
This commit is contained in:
1 parent
bd7665fb1d
commit
ab9ddf7289
7 files changed
+286
-337
No files matched your search
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns = "http://www.w3.org/2000/svg" viewBox = "0 0 827 1209" stroke = "black"><script>function onstart(id){Foo.TouchStart(id)}function onend(id){var result = Foo.TouchEnd(id);if(result !== ""){var elements = document.getElementsByClassName(id);for (var i = 0; i < elements.length; i++){var part = elements[i];part.setAttribute('fill', result);}}}</script><path d = "M349.95 965.01c28.93-2.84 58.07-4.61 87.13-2.75 10.26.58 20.5 1.55 30.75 2.3 9.18.38 16.7 6.54 23.17 12.46 7.66 7.75 13.95 16.73 19.84 25.85 8.35.3 17.74-1.81 25.11 3.22 3.79 2.44 5.09 7.77 2.82 11.69-1.28 2.99-4.85 3.34-7.64 3.82 2.5 3.69 4.86 7.52 6.38 11.74 2.12 5.61 2.66 11.63 3.78 17.48.89 4.79.3 9.89 2.42 14.41 1.67 3.7 1.1 7.82 1.17 11.76.19 9.99-.55 20-2.13 29.86-.57 4.29-2.66 8.11-4.14 12.1-.25 12.3.05 24.61-.12 36.91-.17 3.99-3.25 8.19-7.49 8.28-10.01.11-20.02-.02-30.03.05-4.57.56-8.76-3.69-8.82-8.14-.13-6.63.04-13.26-.05-19.89-54.16-.02-108.32.11-162.48-.06-.25 6.66.03 13.33-.12 19.99-.08 4.29-4.01 8.53-8.45 8.1-10.02-.05-20.04.03-30.05-.04-4.68.07-8.02-4.73-7.87-9.1-.03-11.34-.01-22.68.01-34.02.12-1.78-.43-3.46-1.23-5-3.59-7.14-3.86-15.31-4.63-23.11-.76-6.95-.35-13.95-.48-20.92.03-2.14-.16-4.38.78-6.36 3.1-5.73 1.77-12.49 3.44-18.62 1.06-9.06 3.94-17.95 9.44-25.31-2.65-.68-6.1-.87-7.43-3.69-2.48-4.03-1.13-9.69 2.95-12.12 7.39-4.81 16.62-2.69 24.91-3.06 7.32-11.3 15.11-22.74 25.89-31.05 3.95-2.97 8.3-5.65 13.17-6.78zm-61.89 189.09c-.08 2.07.38 5.13 3.03 5.25 8.64.32 17.31-.01 25.96.15 1.94-.11 4 .25 5.86-.46 1.54-1.14 1.96-3.22 1.92-5.01.03-5.96-.04-11.91.01-17.86-9.94-.03-19.88.08-29.82-.04-4.66-.18-6.27-5.38-6.64-9.23-.59 9.05-.12 18.13-.32 27.2zm245.52-27.29c-1.32 3.68-2.58 9.59-7.57 9.35-9.71.05-19.42-.01-29.13.02.05 6.28-.09 12.58.04 18.87-.09 2.26 1.56 4.83 4.11 4.4 9.64.01 19.28.1 28.91-.04 2.42.18 3.75-2.19 3.62-4.32-.02-9.43 0-18.86.02-28.28zm-228.66-1.42c-3.86.07-7.76.67-11.2 2.51l.51 3.15c8.21.94 16.5.18 24.75.38 11.33-.64 22.67.22 34.02-.04 43 0 86-.01 129.01.01 14.66-.64 29.34.57 44-.06 1.65-.11 1.62-2.13 2.24-3.21-3.67-2.2-7.96-2.66-12.14-2.78-37.67-1.66-75.37-1.07-113.07-1.17-32.72.01-65.43-.29-98.12 1.21zm-22.95-34.22c.6 6.09.92 12.27 2.55 18.21 1.38 5.14 4.87 9.29 7.58 13.77 3.44-1.48 7.08-2.52 10.85-2.54 37.67-1.65 75.39-1.02 113.09-1.14 34.35.06 68.71-.38 103.02 1.16 3.67.05 7.19 1.14 10.57 2.49 2.47-4.37 5.89-8.26 7.33-13.14 1.8-6.08 2.12-12.46 2.68-18.72-6.52.79-13.09.95-19.65.91-27.34-.13-54.66.85-81.99.71-36.96-.01-73.91.18-110.86-.57-15.04-.64-30.19.76-45.17-1.14zm1.96-27.36c-.98 1.97-2.41 3.89-2.39 6.2-.06 5.63-.03 11.26.04 16.9 17.37 2.19 34.96.53 52.4 1.52 55.34.54 110.72.76 166.05-.31 13.33-.19 26.75.52 40-1.21-.34-7.65 1.61-15.91-2.18-22.96-10.62 1.34-21.35 1.26-32.02 1.96-3.47 5.93-8.18 12.95-15.84 13.08-26.25 2.61-52.66 1.51-78.99 2.2-26.69-.71-53.47.46-80.08-2.29-7.39-.4-11.49-7.38-15.17-12.86-10.57-1.13-21.32-.45-31.82-2.23zm23.83-24.98c3.38 7.06 6.84 14.08 10.26 21.13 2.41 5.17 5.02 10.9 10.21 13.8 3.75 1.38 7.85 1.22 11.77 1.67 34.31 2.09 68.7 1.19 103.06 1.41 15.71-.64 31.48-.37 47.12-2.23 5.32-.41 8.59-5.32 10.97-9.56 4.28-8.86 8.75-17.64 12.85-26.58-68.75.16-137.5-.13-206.24.36zm-16.78 1.5c-1.81.57-3.99 1.5-4.38 3.6-1.3 5.11-1.77 10.39-2.36 15.63 9.75 1.84 19.77 1.5 29.65 2.02-3.62-7.6-7.34-15.15-11.05-22.7-3.96.45-7.98.53-11.86 1.45zm216.76 21.14c9.88-.3 19.92-.08 29.66-1.95-.78-5.68-.82-11.64-2.94-17.02-4.16-3.72-10.36-2.88-15.52-3.46-4.07 7.28-7.36 15.01-11.2 22.43zm12.74-43.47c2.58 4.59 2.12 10.22.01 14.91 4.23.42 8.44 1.02 12.59 1.99-3.09-6.34-6.59-12.87-12.6-16.9zm-231.75 16.89c4.09-1 8.27-1.53 12.45-2.01-2.21-4.69-2.3-10.09-.32-14.88-5.57 4.36-9.36 10.47-12.13 16.89zm14.84-10.83c-.28 2.95 1.29 5.66 2.18 8.4 70 .03 140.01 0 210.01.15 1.28-3.34 3.41-7.03 1.75-10.62-1.61-3.49-4.16-7.52-8.4-7.79-3.68-.55-7.41-.37-11.11-.4-61.02 0-122.05-.02-183.07.13-5.91-.44-10.19 4.84-11.36 10.13zm209.86-16.42c.74 1.46 1.74 2.86 3.48 3.19 4.05 1.31 7.58 3.77 10.73 6.6 2.13-.48 4.28-.88 6.44-1.23 1.03-1.96 1.68-4.38-.44-5.86-5.87-4.09-13.51-2.59-20.21-2.7zm-227.08 5.28c.08 4.24 4.8 3.75 7.72 4.49 3.13-2.86 6.67-5.26 10.72-6.6 1.72-.39 2.71-1.72 3.33-3.29-5.06.15-10.19-.46-15.17.62-2.7.6-5.69 1.9-6.6 4.78zm63.55-43.52c-3.57.02-6.39 2.39-9.15 4.34-8.76 6.19-16.07 14.37-21.45 23.63-1.91 3.35-3.97 6.77-4.39 10.7 3.97.95 8.08.49 12.12.57 59.87.01 119.74.11 179.6-.41-.4-4.89-3.15-9.08-5.76-13.07-6.35-10.06-15.18-18.75-25.77-24.25-7.9-1.58-16.02-2-24.04-2.77-33.67-2.16-67.54-1.74-101.16 1.26zm14.07-681.8c31.51-7.7 64.81-6.87 96.19 1.05 3.84 1.02 7.79 1.8 11.36 3.64 12.55 2.75 25.11 5.61 37.49 9.12 7.37 2.23 14.9 5.55 19.73 11.8 3.55 5 6.09 10.69 7.36 16.7 1.79 7.75 5.19 15.07 6.56 22.93 2.53 24.63 1.69 49.43 1.87 74.15.21 15.01-.69 30-1.01 45 .07 11.29-.12 22.57.13 33.86 5 3.08 10.05 6.13 14.62 9.85 4.53 3.84 5.1 10.65 3.31 16.01-.7 1.8-2.63 2.99-4.55 2.37-4.58-1.08-8.76-3.33-13.16-4.9.21 20.71.42 41.43.68 62.14 1.35 1.27 3.02 2.62 2.62 4.73-.01 10.33.07 20.67-.04 31.01.19 1.78-1.49 2.75-2.53 3.9-.24 29.63.12 59.Line truncated
|
||||||
|
After Width: | Height: | Size: 129 KiB |
@@ -0,0 +1,58 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 827 1209">
|
||||||
|
<path onclick="clicked(evt)" class="0" stroke = "#ffffff" fill = "#009966" d="M279.1300000000006,119.04000000000042C278.11000000000064,124.02000000000042,278.4100000000006,129.1700000000004,278.8800000000006,134.20000000000041C283.79000000000065,131.44000000000042,289.3900000000006,130.3400000000004,294.9600000000006,129.94000000000042C302.93000000000063,129.02000000000044,310.9600000000006,128.81000000000043,318.9800000000006,128.47000000000043H489.0300000000006C502.3500000000006,128.35000000000042,515.7000000000006,128.84000000000043,528.9200000000006,130.51000000000042C532.8500000000006,131.01000000000042,536.6200000000007,132.35000000000042,540.1200000000007,134.20000000000041C540.5900000000007,129.1800000000004,540.8500000000007,124.06000000000041,539.9100000000007,119.08000000000041C536.6800000000006,118.20000000000041,533.4100000000007,117.4600000000004,530.0700000000006,117.23000000000042C511.7100000000006,115.90000000000042,493.3200000000006,115.43000000000042,474.92000000000064,115.53000000000041H400.97000000000065C368.97000000000065,115.75000000000041,336.95000000000067,114.95000000000041,304.97000000000065,116.25000000000041C296.34000000000066,116.95000000000041,287.52000000000066,116.59000000000042,279.1300000000007,119.04000000000042Z"/><path onclick="clicked(evt)" class="0" stroke = "#ffffff" fill = "#009966" d="M290.1600000000006,88.97000000000043C287.4800000000006,94.70000000000043,284.1100000000006,100.09000000000043,281.6300000000006,105.93000000000043C280.5700000000006,108.86000000000044,279.6600000000006,111.84000000000043,278.49000000000063,114.73000000000043C281.9400000000006,113.99000000000044,285.41000000000065,113.28000000000043,288.9500000000006,113.07000000000043C303.9500000000006,112.08000000000044,318.9700000000006,111.34000000000043,334.0100000000006,111.47000000000044H455.9700000000006C478.3400000000006,111.55000000000044,500.7300000000006,111.03000000000044,523.0600000000006,112.64000000000044C528.9200000000006,112.91000000000044,534.8000000000006,113.32000000000045,540.5200000000007,114.70000000000044C537.3700000000007,105.78000000000044,533.2500000000007,97.29000000000045,528.9200000000006,88.89000000000044C449.34000000000066,88.93000000000045,369.7500000000007,88.77000000000044,290.16000000000065,88.97000000000044Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="1" stroke = "#ffffff" fill = "#009966" d="M488.5400000000007,132.88000000000042C488.51000000000073,138.73000000000042,488.5500000000007,144.59000000000043,488.5000000000007,150.44000000000042C501.65000000000066,151.63000000000042,514.7800000000007,153.65000000000043,528.0100000000007,153.49000000000044C530.7700000000007,153.45000000000044,533.6300000000007,153.33000000000044,536.2300000000007,152.28000000000043C537.9800000000007,147.98000000000042,539.4200000000008,142.77000000000044,537.6800000000007,138.27000000000044C533.1300000000008,134.98000000000044,527.2600000000008,134.63000000000045,521.8500000000007,134.11000000000044C510.7800000000007,132.99000000000044,499.6500000000007,132.97000000000045,488.5400000000007,132.88000000000045Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="2" stroke = "#ffffff" fill = "#009966" d = "M298.9900000000007,133.96000000000043C292.9800000000007,134.56000000000043,286.3500000000007,134.62000000000043,281.2800000000007,138.32000000000045C279.6100000000007,142.82000000000045,281.0300000000007,147.97000000000045,282.75000000000074,152.27000000000044C287.60000000000076,154.06000000000043,292.88000000000073,153.38000000000045,297.94000000000074,153.45000000000044C308.81000000000074,152.81000000000046,319.6400000000007,151.50000000000045,330.48000000000076,150.46000000000043C330.44000000000074,144.59000000000043,330.54000000000076,138.71000000000043,330.41000000000076,132.84000000000043C319.94000000000074,133.27000000000044,309.43000000000075,132.82000000000042,298.99000000000075,133.96000000000043Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="3" stroke = "#ffffff" fill = "#009966" d = "M350,130L470,130,470,152,350,152Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="4" stroke = "#ffffff" fill = "#009966" d="M348.89 311.89c-0.45 3.65-2.7 7.43-6.7 7.77-13.83 1.12-27.49 3.62-41.18 5.74-.29 44.27-.15 88.57.92 132.82 13.5-11.13 30.24-17.37 47.1-21.35 20.59-5.07 41.92-6.14 63.05-5.95 20.5-.48 41.12 1.42 61.05 6.31 16.36 3.98 32.52 10.23 45.67 21.01.27-17.73.86-35.44.68-53.18.54-26.55.35-53.11.27-79.67-13.62-2.02-27.18-4.64-40.94-5.67-4.23-.25-6.86-4.24-6.99-8.2-1.14.83-2.31 1.81-3.81 1.64l-114.06.04c-1.81.14-3.52-.4-5.06-1.31"/>
|
||||||
|
<path onclick="clicked(evt)" class="5" stroke = "#ffffff" fill = "#009966" d="M342.12 452.14c-12.56 4.06-24.9 9.44-35.57 17.3-1.5 11.52-.47 23.3 2.31 34.56 4.87 22.05 10.89 43.82 15.65 65.89 16.92-6.42 35.02-8.89 52.93-10.78 17.82-1.32 35.72-1.65 53.57-.96 22 1.52 44.2 4.2 65.1 11.57 5.44-24.23 12.03-48.21 17.15-72.52 1.46-9.17 2.46-18.82.59-27.92-11.16-8.21-24.14-13.69-37.32-17.76-25.38-7.76-52.21-8.76-78.55-7.65-18.89-.05-37.82 2.61-55.86 8.27"/>
|
||||||
|
<path onclick="clicked(evt)" class="6" stroke = "#ffffff" fill = "#009966" d="M142.47 314.95c.18 6.69-.05 13.39-.54 20.06-3.09 5.91-10.58 7.53-16.73 7.59.64 9.34 1.15 18.69 1.29 28.05 15.77 14.97 19.72 38.79 15.5 59.4-2.38 12.62-10.12 24.18-21.38 30.5-12.7 7.8-27.9 9.35-42.48 9.67.44 3.25.46 6.53.35 9.81 7.32-2.25 14.92-3.39 22.53-4.09 9.29-.99 18.65-.04 27.95-.77 10.75-.08 21.57.99 31.99 3.66 3.16.68 5.43 3.08 7.92 4.95.31-.39.93-1.17 1.24-1.57-1.96-7.21-2.68-14.74-2.13-22.2.67-5.41-1.2-10.66-1.5-16.02-2.38-16.96-2.62-34.11-4.68-51.09-1.33-14.41-3.33-28.76-6.36-42.9-3.21-12-5.97-24.57-12.97-35.05z"/>
|
||||||
|
<path onclick="clicked(evt)" class="7" stroke = "#ffffff" fill = "#009966" d="M671.9900000000005,331.9700000000005C665.4400000000005,351.4000000000005,662.6000000000005,371.8200000000005,660.6300000000005,392.1600000000005C658.1500000000004,413.4000000000005,657.8600000000005,434.87000000000046,654.1700000000004,455.9700000000005C654.8200000000004,464.9600000000005,654.7200000000004,474.18000000000046,651.9700000000004,482.8500000000005L653.7200000000004,483.7700000000005C656.0500000000004,481.5300000000005,658.6200000000003,479.3500000000005,661.8900000000003,478.6800000000005C674.3000000000003,475.6700000000005,687.1900000000003,474.6200000000005,699.9300000000003,475.4600000000005C714.6400000000003,475.2900000000005,729.7400000000002,475.49000000000046,743.8200000000003,480.2200000000005C743.7800000000003,476.87000000000046,743.8200000000003,473.5300000000005,744.0700000000003,470.1900000000005C735.9500000000003,470.04000000000053,727.8300000000003,469.35000000000053,719.8700000000002,467.8000000000005C707.5900000000003,464.7500000000005,695.3600000000002,458.6800000000005,687.9500000000003,448.0700000000005C680.1400000000003,437.1100000000005,678.4100000000003,423.1000000000005,678.8700000000002,409.9700000000005C679.8400000000003,395.5800000000005,684.9300000000002,380.75000000000045,695.7900000000002,370.8100000000005C695.8300000000002,361.3700000000005,696.8000000000002,351.97000000000054,696.9100000000002,342.53000000000054C690.8300000000002,342.5600000000005,683.4400000000002,340.84000000000054,680.4100000000002,335.01000000000056C679.7500000000002,328.33000000000055,679.9000000000002,321.56000000000057,679.7500000000002,314.84000000000054C676.3500000000003,320.14000000000055,673.9300000000002,326.00000000000057,671.9900000000002,331.97000000000054Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="8" stroke = "#ffffff" fill = "#009966" d="M179.64000000000016,779.9500000000004,166.47000000000017,779.0300000000003,154.31000000000017,775.5200000000003C145.81000000000017,772.8100000000003,141.51000000000016,764.3200000000003,136.25000000000017,757.8200000000003C130.42000000000016,749.8800000000002,122.43000000000018,743.3700000000002,113.05000000000017,740.1500000000003C102.89000000000017,736.7900000000003,92.23000000000016,735.2100000000003,81.58000000000017,734.4300000000003C81.39000000000017,736.3100000000003,81.21000000000016,738.2000000000003,81.05000000000017,740.1100000000002C91.32000000000016,739.8500000000003,101.73000000000016,740.5500000000003,111.62000000000018,743.5200000000002C124.34000000000017,747.7300000000002,134.75000000000017,757.9300000000002,139.78000000000017,770.2800000000002C146.13000000000017,784.9200000000002,146.22000000000017,801.7200000000003,141.91000000000017,816.9300000000002C141.16000000000017,820.2200000000001,141.63000000000017,823.6300000000002,141.53000000000017,826.9800000000001C141.46000000000018,851.6000000000001,141.67000000000016,876.2300000000001,141.42000000000016,900.8500000000001C142.33000000000015,897.6900000000002,142.31000000000014,893.0900000000001,146.06000000000014,891.8800000000001C151.66000000000014,890.6800000000001,157.55000000000015,890.8500000000001,163.18000000000015,891.8100000000001C165.88000000000014,892.4000000000001,169.36000000000016,893.1,170.48000000000016,895.99C171.19000000000017,901.02,171.04000000000016,906.14,171.23000000000016,911.22C173.61000000000016,910.1,176.72000000000017,909,177.16000000000017,906.01C182.11000000000016,882.6899999999999,184.51000000000016,858.87,185.05000000000015,835.06C184.69000000000014,830.05,183.85000000000016,824.9399999999999,184.98000000000016,819.9799999999999Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="9" stroke = "#ffffff" fill = "#009966" d="M634.3400000000001,814.57C639.4800000000001,820.13,637.8100000000002,828.21,637.2500000000001,835.0200000000001C637.8500000000001,858.8400000000001,640.2100000000002,882.6500000000001,645.1500000000001,905.9800000000001C645.58,908.9700000000001,648.6800000000001,910.0500000000002,651.0300000000001,911.2200000000001C651.2400000000001,905.8100000000002,651.2700000000001,900.3800000000001,651.94,895.0100000000001C658.62,890.0200000000001,667.73,890.8300000000002,675.5500000000001,891.6700000000001C679.8800000000001,892.4300000000001,680.09,897.45,680.6,900.9100000000001C681.1,884.2700000000001,680.69,867.6200000000001,680.82,850.9800000000001C680.7,839.9900000000001,681.0500000000001,828.9700000000001,680.6600000000001,818.0000000000001C677.7300000000001,807.6000000000001,676.5500000000001,796.5600000000001,678.19,785.8400000000001C680.1800000000001,771.5800000000002,687.25,757.5200000000001,699.33,749.2500000000001C711.4100000000001,740.7200000000001,726.9200000000001,739.9600000000002,741.2,740.1200000000001L740.85,734.4800000000001C730.95,735.0600000000002,721.09,736.6200000000001,711.57,739.4000000000001C702.1600000000001,742.1500000000001,693.7600000000001,748.0400000000001,687.74,755.7400000000001C682.99,761.3300000000002,679.41,767.9800000000001,673.62,772.6400000000001C669.18,776.07,663.4,776.6700000000001,658.08,777.7500000000001C645.95,779.6000000000001,632.94,778.9700000000001,640.8900000000001,773.2000000000002Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="10" stroke = "#ffffff" fill = "#009966" d="M171,489 220,555 225,605 230,642 168,627 168,614 220,627 210,555 171,500Z"/><path onclick="clicked(evt)" class="10" stroke = "#ffffff" fill = "#009966" d="M87.98000000000025,482.1100000000005C84.93000000000025,482.7600000000005,81.69000000000024,483.29000000000053,79.09000000000024,485.1400000000005C78.52000000000025,489.4100000000005,79.42000000000024,493.7200000000005,79.46000000000025,498.0100000000005C80.35000000000025,542.0000000000005,82.04000000000025,585.9700000000005,82.14000000000026,629.9700000000005C95.44000000000025,626.3500000000005,109.18000000000026,624.2300000000005,122.99000000000026,624.4400000000005C132.68000000000026,623.7300000000005,142.39000000000027,624.3000000000005,152.08000000000027,624.6900000000005C158.15000000000026,624.9800000000005,164.37000000000026,625.0200000000006,170.12000000000026,627.2400000000005C169.01000000000025,580.8300000000005,166.91000000000025,534.4300000000005,166.02000000000027,488.02000000000044C164.94000000000025,485.20000000000044,161.73000000000027,483.5500000000004,158.90000000000026,482.84000000000043C144.28000000000026,478.9800000000004,129.02000000000027,479.1600000000004,114.03000000000026,479.88000000000045C105.29000000000026,479.58000000000044,96.56000000000026,480.50000000000045,87.98000000000026,482.11000000000047Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="11" stroke = "#ffffff" fill = "#009966" d="M662.0900000000003,483.2500000000005C659.7200000000003,483.9300000000005,657.9700000000003,485.72000000000054,656.2100000000003,487.3200000000005C655.5700000000003,534.0300000000005,653.3100000000003,580.7100000000005,652.1600000000003,627.4100000000005C657.7600000000003,624.9000000000005,664.0000000000003,625.0500000000005,670.0100000000003,624.7000000000005C679.9700000000004,624.2900000000005,689.9500000000004,623.7400000000005,699.9200000000003,624.4500000000005C713.5100000000003,624.2400000000005,727.0300000000003,626.4000000000005,740.1200000000003,629.9500000000005C740.0200000000003,608.9800000000005,740.9200000000003,588.0200000000006,741.1300000000003,567.0500000000005C742.0200000000003,540.3700000000006,742.1800000000003,513.6400000000006,743.4700000000004,486.97000000000054C744.0300000000003,484.47000000000054,741.1900000000004,484.07000000000056,739.5200000000003,483.3600000000005C732.5100000000003,481.40000000000055,725.2200000000004,480.6200000000005,718.0000000000003,479.9900000000005C699.3500000000004,479.8300000000005,680.2500000000003,477.8600000000005,662.0900000000004,483.2500000000005Z"/><path onclick="clicked(evt)" class="11" stroke = "#ffffff" fill = "#009966" d="M656,489 600,555 595,605 590,642 652,627 652,614 600,627 610,555 656,500Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="12" stroke = "#ffffff" fill = "#009966" d="M82.14000000000013,634.7700000000002C82.17000000000013,639.8500000000003,82.24000000000012,644.9400000000002,82.12000000000013,650.0200000000002C81.53000000000013,676.7000000000002,82.32000000000014,703.4100000000002,81.57000000000014,730.0800000000002C94.31000000000013,731.1200000000001,107.23000000000013,732.8800000000001,119.07000000000014,737.9200000000002C128.33000000000013,742.0100000000002,135.56000000000014,749.4400000000002,141.51000000000013,757.4500000000002C145.66000000000014,762.6800000000002,149.15000000000012,769.4900000000001,156.02000000000012,771.5100000000001C164.11000000000013,773.6200000000001,172.52000000000012,775.1300000000001,180.91000000000014,774.2400000000001C178.95000000000013,750.0100000000001,177.24000000000015,725.7500000000001,175.06000000000014,701.5300000000001C173.04000000000013,678.4800000000001,171.78000000000014,655.3800000000001,170.45000000000013,632.2900000000001C163.23000000000013,628.4900000000001,154.87000000000012,629.2,147.00000000000014,628.85C133.97000000000014,628.12,120.92000000000014,628.61,107.91000000000014,629.37C99.24000000000014,630.66,90.41000000000014,631.71,82.14000000000014,634.77Z"/><path onclick="clicked(evt)" class="12" stroke = "#ffffff" fill = "#009966" d="M171,633 228,646 225,726 211,760 182,775 182,765 205,752 215,726 218,651 171,641z"/>
|
||||||
|
<path onclick="clicked(evt)" class="13" stroke = "#ffffff" fill = "#009966" d="M652.1500000000001,632.2400000000002C651.2700000000001,636.0700000000003,651.5900000000001,640.0800000000003,651.21,643.9800000000002C649.0500000000001,687.5100000000002,644.38,730.8600000000002,641.5300000000001,774.3400000000003C647.3700000000001,774.7400000000002,653.2600000000001,774.3900000000002,659.0000000000001,773.1700000000003C663.3200000000002,772.2300000000002,668.0800000000002,771.7100000000003,671.5700000000002,768.7100000000003C675.5500000000002,765.2300000000002,678.2800000000002,760.6400000000002,681.5200000000002,756.5300000000003C687.2700000000002,748.9700000000004,694.2200000000003,742.0100000000003,702.9800000000002,738.0500000000003C714.9100000000002,732.8500000000003,727.9800000000002,731.2200000000003,740.8200000000003,730.0100000000003C739.9600000000003,698.3500000000004,740.9500000000003,666.6500000000003,739.9600000000003,635.0000000000003C739.2000000000003,633.9700000000004,737.7300000000002,633.9500000000004,736.6500000000003,633.5000000000003C714.9500000000003,627.6000000000004,692.2500000000003,628.2200000000004,669.9900000000004,628.9900000000004C663.9600000000004,629.2200000000004,657.5500000000003,629.1600000000003,652.1500000000003,632.2400000000004Z"/><path onclick="clicked(evt)" class="13" stroke = "#ffffff" fill = "#009966" d="M651,633 594,646 591,726 595,760 637,775 637,765 608,752 599,726 601,651 651,641z"/>
|
||||||
|
<path onclick="clicked(evt)" class="14" stroke = "#ffffff" fill = "#009966" d="M72.11000000000013,471.3300000000005L72.96000000000012,632.8000000000005L77.00000000000013,632.4500000000005L77.11000000000013,471.3300000000005Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="15" stroke = "#ffffff" fill = "#009966" d="M748,470L744,632.5L748.19,632.5L750,461Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="16" stroke = "#ffffff" fill = "#009966" d="M381.04,565.1600000000003C362.39000000000004,566.8500000000004,343.52000000000004,569.4000000000003,325.94,576.1700000000003C328.2,587.7000000000003,329.96999999999997,599.3300000000003,330.62,611.0800000000003C334.28000000000003,651.9000000000003,335.37,692.9000000000003,336.93,733.8400000000003C337.44,743.8800000000002,336.90000000000003,753.9600000000003,337.93,763.9700000000003C360.27,770.7800000000002,383.83,771.5800000000003,407.01,771.8300000000003C432.42,772.0000000000002,458.31,771.3100000000003,482.81,763.9200000000003C483.68,747.2900000000003,483.62,730.6300000000003,484.43,714.0000000000003C485.8,680.6400000000003,486.79,647.2500000000003,489.84000000000003,613.9900000000004C490.64000000000004,601.3600000000004,491.96000000000004,588.7300000000004,494.87,576.4000000000003C485.46,572.2100000000003,475.25,570.2400000000004,465.18,568.3800000000003C437.42,563.4400000000003,409.09000000000003,563.1100000000004,381.04,565.1600000000003Z"/>
|
||||||
|
<path onclick="clicked(evt)" stroke = "#ffffff" class="17" fill = "#009966" d="M725.4200000000005,371.65000000000043C708.2400000000006,375.02000000000044,694.0000000000006,389.59000000000043,691.1200000000006,406.87000000000046C688.6600000000005,420.2900000000005,692.9900000000006,434.7200000000005,702.4800000000006,444.5300000000004C710.7700000000006,453.3700000000004,722.9000000000005,458.58000000000044,735.0500000000006,458.15000000000043C750.1700000000006,458.1000000000004,764.7700000000007,449.2400000000004,772.1300000000007,436.08000000000044C776.1400000000007,429.12000000000046,778.1700000000006,421.0400000000004,777.8500000000007,413.01000000000045C777.4900000000007,397.5300000000004,768.0400000000008,382.74000000000046,754.2700000000007,375.7300000000005C745.5100000000007,371.0400000000005,735.1300000000007,369.75000000000045,725.4200000000006,371.6500000000005Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="18" stroke = "#ffffff" fill = "#009966" d="M79.47000000000048,371.64000000000044C62.27000000000048,375.00000000000045,48.01000000000048,389.57000000000045,45.12000000000048,406.86000000000047C42.70000000000048,420.06000000000046,46.85000000000048,434.2200000000005,56.00000000000048,444.0300000000005C64.31000000000049,453.1400000000005,76.64000000000048,458.5900000000005,89.0200000000005,458.1500000000005C104.1700000000005,458.1200000000005,118.8000000000005,449.2100000000005,126.1600000000005,436.0300000000005C130.1500000000005,429.0900000000005,132.1700000000005,421.0300000000005,131.8500000000005,413.0300000000005C131.5000000000005,397.5300000000005,122.02000000000051,382.7200000000005,108.2300000000005,375.7000000000005C99.4900000000005,371.0400000000005,89.1500000000005,369.7700000000005,79.4700000000005,371.6400000000005Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="19" stroke = "#ffffff" fill = "#009966" d="M723.5500000000003,753.7500000000003C706.6800000000003,757.8400000000004,693.1300000000003,772.8100000000003,690.8800000000003,790.0500000000003C688.9600000000004,803.1000000000003,693.3900000000003,816.9200000000003,702.6400000000003,826.3400000000003C710.8700000000003,835.0900000000003,722.9100000000003,840.1700000000003,734.9400000000003,839.8600000000002C749.2500000000002,839.7500000000002,763.1600000000003,831.9200000000002,770.8400000000003,819.8800000000002C775.6000000000003,812.5500000000002,778.1600000000003,803.7800000000002,777.8600000000002,795.0300000000002C777.6300000000002,779.2800000000002,767.9600000000003,764.1700000000002,753.8700000000002,757.1900000000002C744.6300000000002,752.3700000000001,733.6300000000002,751.2500000000001,723.5500000000002,753.7500000000001Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="20" stroke = "#ffffff" fill = "#009966" d="M77.59000000000026,753.7400000000004C61.45000000000026,757.6600000000003,48.30000000000026,771.4800000000004,45.250000000000256,787.8200000000004C42.55000000000025,801.2900000000004,46.720000000000255,815.9100000000004,56.19000000000025,825.8800000000003C64.47000000000025,834.9100000000003,76.72000000000025,840.2000000000004,88.99000000000025,839.8600000000004C103.56000000000026,839.7500000000003,117.67000000000024,831.6000000000004,125.27000000000025,819.2100000000004C131.06000000000026,810.0200000000003,133.18000000000026,798.6400000000003,131.11000000000024,787.9900000000004C128.60000000000025,774.6100000000004,119.44000000000024,762.6700000000003,107.13000000000024,756.8300000000004C98.07000000000023,752.3100000000004,87.39000000000024,751.3300000000004,77.59000000000023,753.7400000000004Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="21" stroke = "#ffffff" fill = "#009966" d="M307.76000000000005,1038.83C311.14000000000004,1045.8899999999999,314.6,1052.9099999999999,318.02000000000004,1059.96C320.43000000000006,1065.13,323.04,1070.8600000000001,328.23,1073.76C331.98,1075.14,336.08000000000004,1074.98,340,1075.43C374.31,1077.52,408.7,1076.6200000000001,443.06,1076.8400000000001C458.77,1076.2,474.54,1076.4700000000003,490.18,1074.6100000000001C495.5,1074.2,498.77,1069.2900000000002,501.15000000000003,1065.0500000000002C505.43,1056.1900000000003,509.90000000000003,1047.41,514,1038.4700000000003C445.25,1038.6300000000003,376.5,1038.3400000000001,307.76,1038.8300000000002Z"/><path onclick="clicked(evt)" class="21" stroke = "#ffffff" fill = "#009966" d="M303.57,1024.0600000000002C303.29,1027.0100000000002,304.86,1029.7200000000003,305.75,1032.4600000000003C375.75,1032.4900000000002,445.76,1032.4600000000003,515.76,1032.6100000000004C517.04,1029.2700000000004,519.17,1025.5800000000004,517.51,1021.9900000000004C515.9,1018.5000000000003,513.35,1014.4700000000004,509.11,1014.2000000000004C505.43,1013.6500000000004,501.7,1013.8300000000004,498,1013.8000000000004C436.98,1013.8000000000004,375.95,1013.7800000000004,314.93,1013.9300000000004C309.02,1013.4900000000004,304.74,1018.7700000000004,303.57,1024.0600000000004Z"/><path onclick ="clicked(evt)" class="21" stroke = "#ffffff" fill = "#009966" d="M316.5000000000001,841.3900000000003C316.8400000000001,860.6000000000004,319.10000000000014,879.7200000000004,320.16000000000014,898.8900000000003C330.7400000000001,908.0000000000003,343.6300000000001,915.5800000000004,357.85000000000014,916.5200000000003C376.46000000000015,918.7300000000004,395.22000000000014,919.3100000000003,413.95000000000016,919.1300000000003C432.98000000000013,919.3700000000003,452.0600000000002,918.1500000000003,470.89000000000016,915.3900000000003C481.28000000000014,912.5100000000003,490.89000000000016,907.0500000000003,499.10000000000014,900.1100000000004C500.92000000000013,899.0600000000004,500.51000000000016,896.8000000000004,500.7400000000001,895.0700000000004C501.85000000000014,877.1800000000004,503.8700000000001,859.3300000000004,504.1300000000001,841.4100000000004C496.3300000000001,847.7100000000004,486.7100000000001,851.1000000000005,477.1300000000001,853.6600000000004C453.92000000000013,859.5800000000004,429.8100000000001,860.5700000000004,405.9600000000001,860.1800000000004C384.1400000000001,860.1000000000004,362.0700000000001,858.8200000000004,340.9500000000001,852.9600000000004C332.2500000000001,850.4700000000004,323.6100000000001,847.1400000000003,316.5000000000001,841.3900000000003Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="22" stroke = "#ffffff" fill = "#009966" d="M283.93000000000006,1063.81C282.95000000000005,1065.78,281.52000000000004,1067.7,281.5400000000001,1070.01C281.4800000000001,1075.64,281.5100000000001,1081.27,281.5800000000001,1086.91C298.9500000000001,1089.1000000000001,316.5400000000001,1087.44,333.9800000000001,1088.43C389.32000000000005,1088.97,444.70000000000005,1089.19,500.0300000000001,1088.1200000000001C513.3600000000001,1087.93,526.7800000000001,1088.64,540.0300000000001,1086.91C539.69,1079.26,541.6400000000001,1071,537.8500000000001,1063.95C527.2300000000001,1065.29,516.5000000000001,1065.21,505.83000000000015,1065.91C502.3600000000001,1071.8400000000001,497.65000000000015,1078.8600000000001,489.9900000000002,1078.99C463.7400000000002,1081.6,437.33000000000015,1080.5,411.00000000000017,1081.19C384.3100000000002,1080.48,357.5300000000002,1081.65,330.9200000000002,1078.9C323.5300000000002,1078.5,319.4300000000002,1071.52,315.75000000000017,1066.0400000000002C305.1800000000002,1064.91,294.4300000000002,1065.5900000000001,283.9300000000002,1063.8100000000002Z"/><path onclick ="clicked(evt)" class="22" stroke = "#ffffff" fill = "#009966" d="M281.9700000000001,1091.1699999999998C282.5700000000001,1097.2599999999998,282.8900000000001,1103.4399999999998,284.5200000000001,1109.3799999999999C285.9000000000001,1114.52,289.3900000000001,1118.6699999999998,292.1000000000001,1123.1499999999999C295.5400000000001,1121.6699999999998,299.18000000000006,1120.6299999999999,302.9500000000001,1120.61C340.6200000000001,1118.9599999999998,378.3400000000001,1119.59,416.0400000000001,1119.4699999999998C450.3900000000001,1119.5299999999997,484.75000000000006,1119.0899999999997,519.0600000000001,1120.6299999999999C522.73,1120.6799999999998,526.2500000000001,1121.77,529.6300000000001,1123.12C532.1000000000001,1118.75,535.5200000000001,1114.86,536.9600000000002,1109.9799999999998C538.7600000000001,1103.8999999999999,539.0800000000002,1097.5199999999998,539.6400000000001,1091.2599999999998C533.1200000000001,1092.0499999999997,526.5500000000001,1092.2099999999998,519.9900000000001,1092.1699999999998C492.65000000000015,1092.0399999999997,465.33000000000015,1093.0199999999998,438.0000000000001,1092.8799999999999C401.04000000000013,1092.87,364.09000000000015,1093.06,327.1400000000001,1092.31C312.1000000000001,1091.6699999999998,296.9500000000001,1093.07,281.9700000000001,1091.1699999999998Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="23" stroke = "#ffffff" fill = "#009966" d="M485.51 767.67c-18.23 5.96-37.52 7.47-56.56 8.45-31.79.15-64.39 1-95.06-8.74-2.21-.27-2.71 2.05-3.18 3.68-2.45 9.43-4.95 18.86-7.11 28.36-2.24 10.5-5.21 20.86-6.48 31.54-.1 1.98-.89 4.47 1.02 5.89 6.4 6.39 15.26 9.35 23.72 11.92 18.9 5.23 38.58 6.93 58.13 7.06 19.06.4 38.23.33 57.13-2.56 11.89-1.8 23.84-4.28 34.85-9.29 4.28-2.08 8.57-4.57 11.59-8.33.61-1.47-.03-3.15-.02-4.67-1.25-10.53-4.14-20.76-6.37-31.1-2.37-10.23-4.88-20.43-7.76-30.52-.29-1.79-2.42-2.38-3.9-1.69"/>
|
||||||
|
<path onclick="clicked(evt)" class="24" stroke = "#ffffff" fill = "#009966" d="M191.33000000000015,526.1200000000005C189.73000000000016,527.8500000000005,188.46000000000015,530.1800000000004,185.99000000000015,530.8000000000004C180.93000000000015,531.9900000000005,174.42000000000016,532.6600000000004,171.07000000000016,527.7500000000005C172.59000000000017,557.9100000000004,173.11000000000016,588.1500000000004,174.29000000000016,618.3400000000005C191.19000000000017,622.5500000000005,208.07000000000016,626.8900000000004,224.88000000000017,631.4500000000005C224.67000000000016,617.0600000000005,222.95000000000016,602.7300000000005,220.64000000000016,588.5500000000005C219.15000000000015,578.9500000000005,216.30000000000015,569.5800000000005,212.28000000000014,560.7500000000006C206.75000000000014,548.7800000000005,200.48000000000013,537.0500000000005,192.47000000000014,526.5500000000005L191.33000000000015,526.1200000000006Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="25" stroke = "#ffffff" fill = "#009966" d="M630.2900000000002,526.0600000000005C622.2400000000002,536.3100000000005,616.1100000000002,547.9200000000005,610.5500000000002,559.6600000000005C606.6800000000002,568.0400000000005,603.7000000000002,576.8700000000006,602.1500000000002,585.9900000000006C599.5300000000002,600.9900000000006,597.7300000000002,616.1600000000005,597.4500000000002,631.3900000000006C614.3000000000002,626.8800000000006,631.2400000000001,622.6500000000005,648.1100000000001,618.2000000000005C648.9900000000001,588.1000000000005,650.0900000000001,558.0100000000004,651.0200000000001,527.9200000000005C649.3700000000001,529.6000000000005,647.6000000000001,531.6600000000005,645.0000000000001,531.5300000000005C641.4000000000001,531.6000000000006,637.4400000000002,531.7600000000006,634.2800000000001,529.7800000000005C632.6600000000001,528.8400000000005,632.2700000000001,526.3400000000005,630.2900000000001,526.0600000000005Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="26" stroke = "#ffffff" fill = "#009966" d="M175.47100000000012,644.4100000000004C176.78000000000011,672.3590000000004,179.32800000000012,700.2400000000005,181.61000000000013,728.1200000000005C194.67000000000013,728.1500000000004,207.73000000000013,727.5500000000004,220.79000000000013,727.5600000000005C226.01000000000013,703.0700000000005,224.67000000000013,677.8800000000006,225.40000000000015,653.0200000000006C217.58600000000015,651.6180000000005,209.78300000000016,650.1510000000005,201.98000000000013,648.6790000000005L198.86000000000013,648.0910000000006C191.05700000000013,646.6190000000006,183.25400000000013,645.1520000000006,175.4400000000001,643.7500000000006L175.47100000000012,644.4100000000005Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="27" stroke = "#ffffff" fill = "#009966" d="M596.9300000000001,653.0300000000004C597.5000000000001,677.8700000000005,596.5600000000001,702.9500000000004,601.3800000000001,727.4700000000005C614.5100000000001,727.6600000000005,627.6300000000001,728.1000000000005,640.7600000000001,728.1100000000005C642.9900000000001,700.0100000000004,645.5800000000002,671.9200000000005,646.9300000000001,643.7600000000004C630.24,646.7400000000005,613.61,650.0000000000005,596.9300000000001,653.0300000000004Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="28" stroke = "#ffffff" fill = "#009966" d="M170.45000000000044,496.19000000000057C170.49000000000044,498.31000000000057,170.41000000000045,500.45000000000056,170.59000000000043,502.58000000000055C172.44000000000042,503.66000000000054,174.74000000000044,503.81000000000057,176.76000000000042,504.53000000000054C174.73000000000042,501.69000000000057,172.54000000000042,498.97000000000054,170.45000000000041,496.19000000000057Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="29" stroke = "#ffffff" fill = "#009966" d="M645.2800000000004,504.77000000000055C647.3600000000005,503.95000000000056,649.5200000000004,503.39000000000055,651.7400000000005,503.08000000000055C651.8000000000004,500.78000000000054,651.8100000000005,498.48000000000053,651.7900000000004,496.19000000000057C649.6800000000004,499.1000000000006,647.5100000000004,501.95000000000056,645.2800000000004,504.77000000000055Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="30" stroke = "#ffffff" fill = "#009966" d="M602.9300000000001,734.6100000000004C605.47,743.8000000000004,609.61,752.7300000000004,616.19,759.7500000000003C621.6500000000001,765.7100000000004,629.62,768.3800000000003,637.3900000000001,769.6700000000003C638.4300000000001,758.1800000000003,639.3100000000001,746.6800000000003,640.1100000000001,735.1700000000003C627.7100000000002,735.1900000000003,615.3200000000002,734.7800000000003,602.9300000000002,734.6100000000004Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="31" stroke = "#ffffff" fill = "#009966" d="M182.12000000000006,735.2000000000004L184.90000000000006,769.6300000000003C192.18000000000006,768.5000000000003,199.59000000000006,766.0900000000004,205.02000000000007,760.8900000000003C212.22000000000006,753.7200000000004,216.86000000000007,744.2900000000003,219.34000000000006,734.5000000000003C206.94000000000005,734.9400000000004,194.53000000000006,735.1000000000004,182.12000000000006,735.2000000000004Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="32" stroke = "#ffffff" fill = "#009966" d="M507.74,1061.47C517.62,1061.17,527.66,1061.39,537.4,1059.52C536.62,1053.84,536.5799999999999,1047.8799999999999,534.4599999999999,1042.5C530.3,1038.78,524.0999999999999,1039.62,518.9399999999999,1039.04C514.8699999999999,1046.32,511.5799999999999,1054.05,507.73999999999995,1061.47Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="33" stroke = "#ffffff" fill = "#009966" d="M290.98,1040.33C289.17,1040.8999999999999,286.99,1041.83,286.6,1043.9299999999998C285.3,1049.0399999999997,284.83000000000004,1054.32,284.24,1059.56C293.99,1061.3999999999999,304.01,1061.06,313.89,1061.58C310.27,1053.98,306.55,1046.4299999999998,302.84,1038.8799999999999C298.88,1039.33,294.85999999999996,1039.4099999999999,290.97999999999996,1040.33Z"/>
|
||||||
|
<g transform="translate(490, 85)"><path onclick="clicked(evt)" stroke-width="20" fill = "#009966" stroke="#000" transform = "scale(0.06, 0.06)" class="34" ontouchstart="onstart(34)" ontouchend="onend(34)" fill = "#ffffff" d = "M407,76H105C47.109,76,0,123.109,0,181v150c0,57.891,47.109,105,105,105h302c57.891,0,105-47.109,105-105V181C512,123.109,464.891,76,407,76z"/></g>
|
||||||
|
<g transform="translate(490, 1090)"><path onclick="clicked(evt)" stroke-width="20" stroke="#000" fill = "#009966" transform = "scale(0.06, 0.06)" class="36" ontouchstart="onstart(36)" ontouchend="onend(36)" d = "M407,76H105C47.109,76,0,123.109,0,181v150c0,57.891,47.109,105,105,105h302c57.891,0,105-47.109,105-105V181C512,123.109,464.891,76,407,76z"/></g>
|
||||||
|
<g transform="translate(300, 1090)"><path onclick="clicked(evt)" stroke-width="20" fill = "#009966" stroke="#000" transform = "scale(0.06, 0.06)" class="37" ontouchstart="onstart(37)" ontouchend="onend(37)" d = "M407,76H105C47.109,76,0,123.109,0,181v150c0,57.891,47.109,105,105,105h302c57.891,0,105-47.109,105-105V181C512,123.109,464.891,76,407,76z"/></g>
|
||||||
|
<path onclick="clicked(evt)" class="38" fill = "#009966" d="M510.42000000000064,202.94000000000045C512.3700000000007,204.39000000000044,513.1100000000007,206.72000000000045,514.3500000000006,208.70000000000044C516.6000000000006,210.08000000000044,519.5200000000006,209.33000000000044,522.0500000000006,209.47000000000045C527.8700000000007,209.34000000000046,534.7300000000006,207.16000000000045,537.0900000000006,201.29000000000045C535.8600000000006,200.15000000000046,534.7400000000006,198.62000000000046,532.9500000000006,198.42000000000044C526.9600000000006,197.41000000000045,520.9400000000006,196.55000000000044,514.9200000000006,195.83000000000044C513.4200000000006,198.20000000000044,511.90000000000066,200.56000000000043,510.42000000000064,202.94000000000045Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="39" stroke = "#ffffff" fill = "#009966" d="M286.86000000000064,198.26000000000045C284.7500000000006,198.34000000000046,283.2500000000006,199.87000000000046,281.90000000000066,201.31000000000046C285.5600000000007,209.50000000000045,296.14000000000067,210.18000000000046,303.90000000000066,209.21000000000046C306.02000000000066,207.63000000000045,306.23000000000064,204.45000000000047,308.5700000000007,202.95000000000047C307.0700000000007,200.59000000000046,305.7300000000007,198.11000000000047,303.9800000000007,195.94000000000048C298.2300000000007,196.33000000000047,292.5600000000007,197.47000000000048,286.8600000000007,198.26000000000047Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="40" fill = "#009966" d="M81.51000000000022,767.6500000000003C94.18000000000022,764.4000000000003,108.40000000000022,771.0500000000003,114.21000000000022,782.7300000000004C117.98000000000022,790.0300000000003,118.51000000000022,798.9200000000004,115.54000000000022,806.5900000000004C112.11000000000021,815.8200000000004,103.71000000000022,822.9900000000004,94.03000000000021,824.8600000000004C84.02000000000021,827.0300000000003,73.02000000000021,823.3500000000004,66.28000000000021,815.6400000000003C58.700000000000216,807.3300000000004,56.710000000000214,794.5100000000003,61.40000000000021,784.2800000000003C65.01000000000022,776.0000000000003,72.69000000000021,769.6200000000003,81.51000000000022,767.6500000000003Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="41" fill = "#009966" d="M727.5600000000002,767.6400000000003C743.2000000000002,763.4900000000004,760.6000000000001,774.9700000000004,762.9700000000001,790.9700000000004C766.2500000000001,806.3900000000003,754.6800000000002,822.8200000000004,739.0900000000001,825.0200000000003C724.4000000000001,827.9500000000003,708.7500000000001,817.5600000000003,705.6800000000002,802.9100000000003C701.6000000000001,787.7300000000004,712.1800000000002,770.7700000000003,727.5600000000002,767.6400000000003Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="43" stroke="#ffffff" fill = "#009966" d="M83.49000000000046,385.59000000000043C97.50000000000047,382.9700000000004,112.41000000000047,392.3500000000004,116.21000000000046,406.07000000000045C120.02000000000046,417.9700000000004,115.03000000000046,431.84000000000043,104.65000000000046,438.7300000000005C93.53000000000046,446.57000000000045,77.06000000000046,445.1000000000005,67.57000000000046,435.32000000000045C57.770000000000465,426.00000000000045,56.050000000000466,409.71000000000043,63.61000000000046,398.52000000000044C68.04000000000046,391.6700000000004,75.42000000000046,386.84000000000043,83.49000000000046,385.59000000000043Z"/>
|
||||||
|
<g transform="translate(330, 580)"><path onclick="clicked(evt)" stroke="#ffffff" fill = "#009966" transform = "scale(0.15, 0.15)" class="44" ontouchstart="onstart(44)" ontouchend="onend(44)" fill = "#ffffff" d="M450.08,360.192c-9.237-8.683-19.84-12.907-29.163-15.211c1.749-7.488,3.264-15.467,4.459-23.915c2.091-14.528,1.557-29.333-1.6-44.053l-26.965-126.272c-4.608-16.299-14.315-28.437-26.432-37.675c0.491-0.619,1.131-1.109,1.6-1.771c6.891-9.899,8.832-22.421,5.355-33.899l-8.021-48c-0.213-1.323-0.555-2.624-1.024-3.883C362.635,10.24,347.957,0,331.744,0H180.235c-16.213,0-30.891,10.24-37.141,27.413l-12.629,47.68c-4.48,12.096-2.773,25.6,4.587,36.181c1.152,1.643,2.581,2.987,3.947,4.395c-11.051,9.173-19.883,20.949-24.235,36.437L88.117,277.013c-3.136,14.635-3.669,29.44-1.6,44.075c1.216,8.448,2.709,16.405,4.48,23.893c-9.301,2.325-19.883,6.549-29.099,15.211c-8.789,8.235-19.243,23.424-19.221,49.899C44.405,445.355,71.157,512,159.989,512h192c88.832,0,115.584-66.645,117.333-102.933C469.323,383.616,458.869,368.427,450.08,360.192z M138.656,467.285c-48.64-10.005-52.992-53.739-53.333-58.219c0-12.224,4.267-16.32,5.675-17.664c3.051-2.923,7.339-4.587,11.243-5.461c5.845,9.237,12.587,16.768,20.096,22.485c0.299,0.277,0.619,0.469,0.896,0.747c1.621,1.536,3.285,2.88,4.971,4.224c1.707,1.323,3.456,2.517,5.248,3.648c1.728,1.109,3.392,2.304,5.205,3.221V467.285z M330.656,469.333H181.323v-46.891c1.856-0.619,3.947-1.28,6.379-1.984c0.512-0.149,1.109-0.32,1.643-0.469c2.24-0.64,4.715-1.323,7.339-1.984c0.96-0.256,1.941-0.512,2.965-0.747c2.944-0.725,6.08-1.429,9.408-2.112c0.619-0.128,1.195-0.277,1.835-0.405c3.904-0.768,8.043-1.472,12.331-2.112c1.152-0.171,2.325-0.32,3.499-0.469c3.371-0.448,6.869-0.832,10.411-1.152c1.387-0.128,2.752-0.256,4.139-0.341c4.8-0.341,9.685-0.597,14.677-0.597c4.949,0,9.813,0.256,14.571,0.597c1.408,0.085,2.773,0.213,4.16,0.341c3.541,0.32,6.997,0.704,10.368,1.152c1.173,0.149,2.368,0.299,3.499,0.469c4.288,0.64,8.448,1.344,12.352,2.133c0.597,0.107,1.131,0.235,1.707,0.363c3.349,0.683,6.549,1.408,9.536,2.133c1.024,0.256,2.027,0.512,3.029,0.768c2.56,0.64,4.971,1.301,7.168,1.92c0.597,0.192,1.301,0.363,1.877,0.533c2.453,0.725,4.587,1.408,6.443,2.005V469.333z M270.112,85.333c-3.264-0.064-5.995-0.043-8.171,0h-11.691c-1.344-0.021-2.795-0.021-4.416,0h-74.027l11.285-42.667h145.195l7.125,42.667H270.112z M373.323,467.285v-47.04c1.813-0.917,3.499-2.155,5.227-3.243c1.685-1.088,3.328-2.219,4.949-3.456c1.728-1.365,3.456-2.709,5.099-4.288c0.171-0.149,0.363-0.277,0.533-0.427c7.744-5.76,14.635-13.419,20.608-22.891c3.755,0.853,8,2.411,11.136,5.355c1.429,1.344,5.781,5.44,5.824,16.555C426.315,413.419,421.963,457.259,373.323,467.285z" /></g>
|
||||||
|
<g transform="translate(412, 580)"><path onclick="clicked(evt)" stroke="#ffffff" fill = "#009966" stroke="#000" transform = "scale(0.15, 0.15)" class="45" ontouchstart="onstart(45)" ontouchend="onend(45)" fill = "#ffffff" d="M450.08,360.192c-9.237-8.683-19.84-12.907-29.163-15.211c1.749-7.488,3.264-15.467,4.459-23.915c2.091-14.528,1.557-29.333-1.6-44.053l-26.965-126.272c-4.608-16.299-14.315-28.437-26.432-37.675c0.491-0.619,1.131-1.109,1.6-1.771c6.891-9.899,8.832-22.421,5.355-33.899l-8.021-48c-0.213-1.323-0.555-2.624-1.024-3.883C362.635,10.24,347.957,0,331.744,0H180.235c-16.213,0-30.891,10.24-37.141,27.413l-12.629,47.68c-4.48,12.096-2.773,25.6,4.587,36.181c1.152,1.643,2.581,2.987,3.947,4.395c-11.051,9.173-19.883,20.949-24.235,36.437L88.117,277.013c-3.136,14.635-3.669,29.44-1.6,44.075c1.216,8.448,2.709,16.405,4.48,23.893c-9.301,2.325-19.883,6.549-29.099,15.211c-8.789,8.235-19.243,23.424-19.221,49.899C44.405,445.355,71.157,512,159.989,512h192c88.832,0,115.584-66.645,117.333-102.933C469.323,383.616,458.869,368.427,450.08,360.192z M138.656,467.285c-48.64-10.005-52.992-53.739-53.333-58.219c0-12.224,4.267-16.32,5.675-17.664c3.051-2.923,7.339-4.587,11.243-5.461c5.845,9.237,12.587,16.768,20.096,22.485c0.299,0.277,0.619,0.469,0.896,0.747c1.621,1.536,3.285,2.88,4.971,4.224c1.707,1.323,3.456,2.517,5.248,3.648c1.728,1.109,3.392,2.304,5.205,3.221V467.285z M330.656,469.333H181.323v-46.891c1.856-0.619,3.947-1.28,6.379-1.984c0.512-0.149,1.109-0.32,1.643-0.469c2.24-0.64,4.715-1.323,7.339-1.984c0.96-0.256,1.941-0.512,2.965-0.747c2.944-0.725,6.08-1.429,9.408-2.112c0.619-0.128,1.195-0.277,1.835-0.405c3.904-0.768,8.043-1.472,12.331-2.112c1.152-0.171,2.325-0.32,3.499-0.469c3.371-0.448,6.869-0.832,10.411-1.152c1.387-0.128,2.752-0.256,4.139-0.341c4.8-0.341,9.685-0.597,14.677-0.597c4.949,0,9.813,0.256,14.571,0.597c1.408,0.085,2.773,0.213,4.16,0.341c3.541,0.32,6.997,0.704,10.368,1.152c1.173,0.149,2.368,0.299,3.499,0.469c4.288,0.64,8.448,1.344,12.352,2.133c0.597,0.107,1.131,0.235,1.707,0.363c3.349,0.683,6.549,1.408,9.536,2.133c1.024,0.256,2.027,0.512,3.029,0.768c2.56,0.64,4.971,1.301,7.168,1.92c0.597,0.192,1.301,0.363,1.877,0.533c2.453,0.725,4.587,1.408,6.443,2.005V469.333z M270.112,85.333c-3.264-0.064-5.995-0.043-8.171,0h-11.691c-1.344-0.021-2.795-0.021-4.416,0h-74.027l11.285-42.667h145.195l7.125,42.667H270.112z M373.323,467.285v-47.04c1.813-0.917,3.499-2.155,5.227-3.243c1.685-1.088,3.328-2.219,4.949-3.456c1.728-1.365,3.456-2.709,5.099-4.288c0.171-0.149,0.363-0.277,0.533-0.427c7.744-5.76,14.635-13.419,20.608-22.891c3.755,0.853,8,2.411,11.136,5.355c1.429,1.344,5.781,5.44,5.824,16.555C426.315,413.419,421.963,457.259,373.323,467.285z" /></g>
|
||||||
|
<g transform="translate(330, 680)"><path onclick="clicked(evt)" stroke="#ffffff" fill = "#009966" transform = "scale(0.15, 0.15)" class="46" ontouchstart="onstart(46)" ontouchend="onend(46)" fill = "#ffffff" d="M450.08,360.192c-9.237-8.683-19.84-12.907-29.163-15.211c1.749-7.488,3.264-15.467,4.459-23.915c2.091-14.528,1.557-29.333-1.6-44.053l-26.965-126.272c-4.608-16.299-14.315-28.437-26.432-37.675c0.491-0.619,1.131-1.109,1.6-1.771c6.891-9.899,8.832-22.421,5.355-33.899l-8.021-48c-0.213-1.323-0.555-2.624-1.024-3.883C362.635,10.24,347.957,0,331.744,0H180.235c-16.213,0-30.891,10.24-37.141,27.413l-12.629,47.68c-4.48,12.096-2.773,25.6,4.587,36.181c1.152,1.643,2.581,2.987,3.947,4.395c-11.051,9.173-19.883,20.949-24.235,36.437L88.117,277.013c-3.136,14.635-3.669,29.44-1.6,44.075c1.216,8.448,2.709,16.405,4.48,23.893c-9.301,2.325-19.883,6.549-29.099,15.211c-8.789,8.235-19.243,23.424-19.221,49.899C44.405,445.355,71.157,512,159.989,512h192c88.832,0,115.584-66.645,117.333-102.933C469.323,383.616,458.869,368.427,450.08,360.192z M138.656,467.285c-48.64-10.005-52.992-53.739-53.333-58.219c0-12.224,4.267-16.32,5.675-17.664c3.051-2.923,7.339-4.587,11.243-5.461c5.845,9.237,12.587,16.768,20.096,22.485c0.299,0.277,0.619,0.469,0.896,0.747c1.621,1.536,3.285,2.88,4.971,4.224c1.707,1.323,3.456,2.517,5.248,3.648c1.728,1.109,3.392,2.304,5.205,3.221V467.285z M330.656,469.333H181.323v-46.891c1.856-0.619,3.947-1.28,6.379-1.984c0.512-0.149,1.109-0.32,1.643-0.469c2.24-0.64,4.715-1.323,7.339-1.984c0.96-0.256,1.941-0.512,2.965-0.747c2.944-0.725,6.08-1.429,9.408-2.112c0.619-0.128,1.195-0.277,1.835-0.405c3.904-0.768,8.043-1.472,12.331-2.112c1.152-0.171,2.325-0.32,3.499-0.469c3.371-0.448,6.869-0.832,10.411-1.152c1.387-0.128,2.752-0.256,4.139-0.341c4.8-0.341,9.685-0.597,14.677-0.597c4.949,0,9.813,0.256,14.571,0.597c1.408,0.085,2.773,0.213,4.16,0.341c3.541,0.32,6.997,0.704,10.368,1.152c1.173,0.149,2.368,0.299,3.499,0.469c4.288,0.64,8.448,1.344,12.352,2.133c0.597,0.107,1.131,0.235,1.707,0.363c3.349,0.683,6.549,1.408,9.536,2.133c1.024,0.256,2.027,0.512,3.029,0.768c2.56,0.64,4.971,1.301,7.168,1.92c0.597,0.192,1.301,0.363,1.877,0.533c2.453,0.725,4.587,1.408,6.443,2.005V469.333z M270.112,85.333c-3.264-0.064-5.995-0.043-8.171,0h-11.691c-1.344-0.021-2.795-0.021-4.416,0h-74.027l11.285-42.667h145.195l7.125,42.667H270.112z M373.323,467.285v-47.04c1.813-0.917,3.499-2.155,5.227-3.243c1.685-1.088,3.328-2.219,4.949-3.456c1.728-1.365,3.456-2.709,5.099-4.288c0.171-0.149,0.363-0.277,0.533-0.427c7.744-5.76,14.635-13.419,20.608-22.891c3.755,0.853,8,2.411,11.136,5.355c1.429,1.344,5.781,5.44,5.824,16.555C426.315,413.419,421.963,457.259,373.323,467.285z" /></g><g transform="translate(412, 680)"><path onclick="clicked(evt)" stroke="#ffffff" fill = "#009966" transform = "scale(0.15, 0.15)" class="46" ontouchstart="onstart(46)" ontouchend="onend(46)" fill = "#ffffff" d="M450.08,360.192c-9.237-8.683-19.84-12.907-29.163-15.211c1.749-7.488,3.264-15.467,4.459-23.915c2.091-14.528,1.557-29.333-1.6-44.053l-26.965-126.272c-4.608-16.299-14.315-28.437-26.432-37.675c0.491-0.619,1.131-1.109,1.6-1.771c6.891-9.899,8.832-22.421,5.355-33.899l-8.021-48c-0.213-1.323-0.555-2.624-1.024-3.883C362.635,10.24,347.957,0,331.744,0H180.235c-16.213,0-30.891,10.24-37.141,27.413l-12.629,47.68c-4.48,12.096-2.773,25.6,4.587,36.181c1.152,1.643,2.581,2.987,3.947,4.395c-11.051,9.173-19.883,20.949-24.235,36.437L88.117,277.013c-3.136,14.635-3.669,29.44-1.6,44.075c1.216,8.448,2.709,16.405,4.48,23.893c-9.301,2.325-19.883,6.549-29.099,15.211c-8.789,8.235-19.243,23.424-19.221,49.899C44.405,445.355,71.157,512,159.989,512h192c88.832,0,115.584-66.645,117.333-102.933C469.323,383.616,458.869,368.427,450.08,360.192z M138.656,467.285c-48.64-10.005-52.992-53.739-53.333-58.219c0-12.224,4.267-16.32,5.675-17.664c3.051-2.923,7.339-4.587,11.243-5.461c5.845,9.237,12.587,16.768,20.096,22.485c0.299,0.277,0.619,0.469,0.896,0.747c1.621,1.536,3.285,2.88,4.971,4.224c1.707,1.323,3.456,2.517,5.248,3.648c1.728,1.109,3.392,2.304,5.205,3.221V467.285z M330.656,469.333H181.323v-46.891c1.856-0.619,3.947-1.28,6.379-1.984c0.512-0.149,1.109-0.32,1.643-0.469c2.24-0.64,4.715-1.323,7.339-1.984c0.96-0.256,1.941-0.512,2.965-0.747c2.944-0.725,6.08-1.429,9.408-2.112c0.619-0.128,1.195-0.277,1.835-0.405c3.904-0.768,8.043-1.472,12.331-2.112c1.152-0.171,2.325-0.32,3.499-0.469c3.371-0.448,6.869-0.832,10.411-1.152c1.387-0.128,2.752-0.256,4.139-0.341c4.8-0.341,9.685-0.597,14.677-0.597c4.949,0,9.813,0.256,14.571,0.597c1.408,0.085,2.773,0.213,4.16,0.341c3.541,0.32,6.997,0.704,10.368,1.152c1.173,0.149,2.368,0.299,3.499,0.469c4.288,0.64,8.448,1.344,12.352,2.133c0.597,0.107,1.131,0.235,1.707,0.363c3.349,0.683,6.549,1.408,9.536,2.133c1.024,0.256,2.027,0.512,3.029,0.768c2.56,0.64,4.971,1.301,7.168,1.92c0.597,0.192,1.301,0.363,1.877,0.533c2.453,0.725,4.587,1.408,6.443,2.005V469.333z M270.112,85.333c-3.264-0.064-5.995-0.043-8.171,0h-11.691c-1.344-0.021-2.795-0.021-4.416,0h-74.027l11.285-42.667h145.195l7.125,42.667H270.112z M373.323,467.285v-47.04c1.813-0.917,3.4Line truncated
|
||||||
|
<path onclick="clicked(evt)" class="47" stroke = "#ffffff" fill = "#009966" d="M73.89000000000013,632C74.06000000000013,642.7000000000004,73.44000000000013,658.3400000000004,73.47000000000013,724.0000000000005C73.59000000000013,729.2600000000004,72.83000000000013,734.5200000000004,73.42000000000013,739.7700000000004C74.52000000000012,739.9100000000004,75.62000000000013,740.0700000000004,76.73000000000013,740.2300000000005C78.43000000000013,724.5700000000005,76.78000000000013,708.7600000000004,77.82000000000014,693.0600000000005C77.66000000000014,654.3600000000005,78.32000000000014,615.6400000000006,77.12000000000013,632Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="48" stroke = "#ffffff" fill = "#009966" d="M745,740L744,632.5L748.19,632.5L750,739Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="49" stroke = "#ffffff" fill = "#009966" d="M110.88000000000005,848.8300000000003C103.55000000000005,851.7100000000003,95.64000000000006,853.0800000000003,87.78000000000006,853.2700000000003C87.83000000000006,858.0300000000003,88.54000000000006,862.7700000000003,89.43000000000006,867.4500000000003C93.00000000000006,886.5400000000003,97.27000000000007,905.6200000000002,104.21000000000006,923.8000000000003C105.73000000000006,924.5000000000003,107.17000000000006,925.6000000000003,108.89000000000007,925.7500000000003C113.30000000000007,925.8800000000003,117.99000000000007,926.4800000000004,121.95000000000007,924.1000000000004C126.97000000000007,924.3500000000004,132.57000000000008,922.8900000000003,135.82000000000008,918.8300000000004C138.32000000000008,916.1300000000003,137.30000000000007,912.3000000000004,137.48000000000008,909.0000000000003C137.5300000000001,881.6600000000003,137.35000000000008,854.3200000000004,137.57000000000008,826.9800000000004C131.20000000000007,836.8300000000004,121.44000000000008,844.0200000000003,110.88000000000008,848.8300000000004Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="50" stroke = "#ffffff" fill = "#009966" d="M684.9300000000001,827.2500000000002C684.83,856.5100000000002,684.8800000000001,885.7800000000002,684.9100000000001,915.0400000000002C685.96,921.3000000000002,693.34,924.2700000000002,699.08,924.0200000000002C701.62,923.7000000000002,703.4200000000001,926.2700000000002,706,925.8400000000003C710.23,925.6900000000003,715.97,926.9600000000003,718.57,922.6300000000002C723.59,909.4800000000002,726.95,895.7600000000002,730.0300000000001,882.0500000000002C731.84,872.5200000000002,734.2600000000001,863.0300000000002,734.6100000000001,853.2900000000002C715.0900000000001,853.3800000000002,695.8300000000002,843.4900000000002,684.9300000000002,827.2500000000002Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="51" stroke = "#ffffff" fill = "#009966" d="M90.69000000000051,300.70000000000044C85.06000000000051,303.2800000000004,84.14000000000051,310.11000000000047,82.6800000000005,315.43000000000046C81.0400000000005,329.94000000000045,81.6300000000005,344.6000000000005,81.55000000000051,359.18000000000046C89.39000000000051,358.77000000000044,97.36000000000051,358.61000000000047,105.05000000000051,360.42000000000047C111.25000000000051,361.63000000000045,116.9300000000005,364.50000000000045,122.44000000000051,367.4700000000005C121.75000000000051,350.1400000000005,120.09000000000052,332.87000000000046,118.0400000000005,315.6400000000005C117.44000000000051,311.2600000000005,117.3700000000005,306.8300000000005,117.5000000000005,302.4100000000005C110.1400000000005,295.7900000000005,99.18000000000049,297.3500000000005,90.6900000000005,300.7000000000005Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="52" stroke = "#ffffff" fill = "#009966" d="M704.9500000000005,302.20000000000044C704.8900000000006,306.51000000000045,704.9600000000005,310.84000000000043,704.3400000000005,315.13000000000045C702.2400000000005,332.55000000000047,700.6900000000005,350.0300000000004,699.8000000000005,367.5400000000004C704.9100000000005,364.7300000000004,710.2000000000005,362.08000000000044,715.9200000000005,360.7800000000004C724.0200000000006,358.57000000000045,732.5100000000006,358.77000000000044,740.8300000000005,359.1600000000004C740.7800000000005,345.45000000000044,741.1100000000005,331.71000000000043,740.0000000000005,318.02000000000044C739.5400000000004,313.4700000000004,738.0900000000005,309.0500000000004,736.2000000000005,304.9100000000004C734.0500000000005,300.7200000000004,729.0900000000005,299.5500000000004,724.8700000000005,298.6900000000004C718.1600000000004,296.9300000000004,710.4200000000004,297.6200000000004,704.9500000000005,302.2000000000004Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="53" stroke = "#ffffff" fill = "#009966" d="M228.80000000000018,719.1500000000003L218.80000000000018,748.1500000000003,185.83000000000015,780.5999999999999,188.41000000000017,814.1099999999999,190.55000000000015,811.5099999999999L201.85000000000016,798.2499999999999,210.37000000000015,782.9599999999999,218.77000000000015,767.7799999999999C221.21000000000015,763.5799999999998,222.51000000000016,758.3399999999998,226.96000000000015,755.7199999999999Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="54" stroke = "#ffffff" fill = "#009966" d="M634.3400000000001,824.57L634.3400000000001,814.57,640.8900000000001,778.2000000000002,605.8900000000001,745.2000000000002,594.8900000000001,723.2000000000002,594.8900000000001,756.2000000000002Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="55" stroke = "#ffffff" fill = "#009966" d="M170,490L170,450,230,560,230,580Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="56" stroke = "#ffffff" fill = "#009966" d="M650,490L650,450,595,560,595,580Z"/>
|
||||||
|
<path onclick="clicked(evt)" class="57" stroke = "#ffffff" fill = "#009966" d="M360,130L390,130,400,152,350,152Z"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 52 KiB |
@@ -39,12 +39,20 @@ const SEVERITIES: { value: string; label: string }[] = [
|
|||||||
{ value: "severe", label: "Тяжёлое" },
|
{ value: "severe", label: "Тяжёлое" },
|
||||||
];
|
];
|
||||||
|
|
||||||
|
function humanizeSide(side: string): string {
|
||||||
|
if (side === "tires") return "Резина";
|
||||||
|
const m = /^zone-(\d+)$/.exec(side);
|
||||||
|
if (m) return `Зона ${m[1]}`;
|
||||||
|
// Legacy named sides
|
||||||
|
return side;
|
||||||
|
}
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
open: boolean;
|
open: boolean;
|
||||||
inspectionId: number;
|
inspectionId: number;
|
||||||
view: string;
|
side: string; // already-formatted side string ("zone-23", "tires", etc.)
|
||||||
x: number;
|
x?: number | null; // optional — zone-only markers leave this null
|
||||||
y: number;
|
y?: number | null;
|
||||||
onClose: () => void;
|
onClose: () => void;
|
||||||
onCreated: (marker: MarkerSummary) => void;
|
onCreated: (marker: MarkerSummary) => void;
|
||||||
}
|
}
|
||||||
@@ -52,7 +60,7 @@ interface Props {
|
|||||||
export function AddMarkerDialog({
|
export function AddMarkerDialog({
|
||||||
open,
|
open,
|
||||||
inspectionId,
|
inspectionId,
|
||||||
view,
|
side,
|
||||||
x,
|
x,
|
||||||
y,
|
y,
|
||||||
onClose,
|
onClose,
|
||||||
@@ -114,7 +122,8 @@ export function AddMarkerDialog({
|
|||||||
<div>
|
<div>
|
||||||
<h2 className="text-lg font-semibold">Новая метка</h2>
|
<h2 className="text-lg font-semibold">Новая метка</h2>
|
||||||
<p className="text-xs text-muted-foreground">
|
<p className="text-xs text-muted-foreground">
|
||||||
{view} · {(x * 100).toFixed(1)}%, {(y * 100).toFixed(1)}%
|
{humanizeSide(side)}
|
||||||
|
{x != null && y != null && ` · ${(x * 100).toFixed(1)}%, ${(y * 100).toFixed(1)}%`}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<button
|
<button
|
||||||
@@ -210,9 +219,9 @@ export function AddMarkerDialog({
|
|||||||
disabled={createMut.isPending || uploading}
|
disabled={createMut.isPending || uploading}
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
createMut.mutate({
|
createMut.mutate({
|
||||||
side: view,
|
side,
|
||||||
x,
|
x: x ?? undefined,
|
||||||
y,
|
y: y ?? undefined,
|
||||||
damage_type: damageType,
|
damage_type: damageType,
|
||||||
severity,
|
severity,
|
||||||
description: description.trim() || undefined,
|
description: description.trim() || undefined,
|
||||||
|
|||||||
@@ -1,291 +0,0 @@
|
|||||||
import { useRef } from "react";
|
|
||||||
import { cn } from "@/lib/utils";
|
|
||||||
|
|
||||||
export type ViewName = "top" | "front" | "back" | "left" | "right";
|
|
||||||
export type BumperCornerName = "bumper-fl" | "bumper-fr" | "bumper-rl" | "bumper-rr";
|
|
||||||
export type SchemeSide = ViewName | BumperCornerName | "tires";
|
|
||||||
|
|
||||||
export interface SchemeMarker {
|
|
||||||
id: number;
|
|
||||||
side?: string | null;
|
|
||||||
x?: number | null;
|
|
||||||
y?: number | null;
|
|
||||||
severity?: string | null;
|
|
||||||
damage_type?: string | null;
|
|
||||||
resolved: boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface Props {
|
|
||||||
markers: SchemeMarker[];
|
|
||||||
onViewTap?: (view: ViewName, x: number, y: number) => void;
|
|
||||||
onBumperTap?: (corner: BumperCornerName) => void;
|
|
||||||
onTireWearClick?: () => void;
|
|
||||||
onMarkerClick?: (markerId: number) => void;
|
|
||||||
editable?: boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
const VIEW_AREAS: { key: ViewName; gridArea: string; src: string; label: string }[] = [
|
|
||||||
{ key: "front", gridArea: "front", src: "/scheme/front.png", label: "Перед" },
|
|
||||||
{ key: "left", gridArea: "left", src: "/scheme/left.png", label: "Лево" },
|
|
||||||
{ key: "top", gridArea: "top", src: "/scheme/top.png", label: "Сверху" },
|
|
||||||
{ key: "right", gridArea: "right", src: "/scheme/right.png", label: "Право" },
|
|
||||||
{ key: "back", gridArea: "back", src: "/scheme/back.png", label: "Зад" },
|
|
||||||
];
|
|
||||||
|
|
||||||
const BUMPER_AREAS: {
|
|
||||||
key: BumperCornerName;
|
|
||||||
gridArea: string;
|
|
||||||
label: string;
|
|
||||||
}[] = [
|
|
||||||
{ key: "bumper-fl", gridArea: "blf", label: "ПЛ" },
|
|
||||||
{ key: "bumper-fr", gridArea: "brf", label: "ПП" },
|
|
||||||
{ key: "bumper-rl", gridArea: "blr", label: "ЗЛ" },
|
|
||||||
{ key: "bumper-rr", gridArea: "brr", label: "ЗП" },
|
|
||||||
];
|
|
||||||
|
|
||||||
// Wheel areas (decorative, 4 corners)
|
|
||||||
const WHEEL_AREAS = ["wfl", "wfr", "wrl", "wrr"] as const;
|
|
||||||
|
|
||||||
export function CompositeVehicleScheme({
|
|
||||||
markers,
|
|
||||||
onViewTap,
|
|
||||||
onBumperTap,
|
|
||||||
onTireWearClick,
|
|
||||||
onMarkerClick,
|
|
||||||
editable = true,
|
|
||||||
}: Props) {
|
|
||||||
const viewRefs = useRef<Record<ViewName, HTMLDivElement | null>>({
|
|
||||||
top: null,
|
|
||||||
front: null,
|
|
||||||
back: null,
|
|
||||||
left: null,
|
|
||||||
right: null,
|
|
||||||
});
|
|
||||||
|
|
||||||
function handleViewTap(view: ViewName, e: React.MouseEvent<HTMLDivElement>) {
|
|
||||||
if (!editable) return;
|
|
||||||
if ((e.target as HTMLElement).dataset.markerId) return;
|
|
||||||
const el = viewRefs.current[view];
|
|
||||||
if (!el) return;
|
|
||||||
const rect = el.getBoundingClientRect();
|
|
||||||
const x = Math.max(0, Math.min(1, (e.clientX - rect.left) / rect.width));
|
|
||||||
const y = Math.max(0, Math.min(1, (e.clientY - rect.top) / rect.height));
|
|
||||||
onViewTap?.(view, x, y);
|
|
||||||
}
|
|
||||||
|
|
||||||
const bumperCounts: Record<BumperCornerName, number> = {
|
|
||||||
"bumper-fl": 0,
|
|
||||||
"bumper-fr": 0,
|
|
||||||
"bumper-rl": 0,
|
|
||||||
"bumper-rr": 0,
|
|
||||||
};
|
|
||||||
for (const m of markers) {
|
|
||||||
if (m.side && m.side in bumperCounts) {
|
|
||||||
bumperCounts[m.side as BumperCornerName] += 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
const tireCount = markers.filter((m) => m.side === "tires").length;
|
|
||||||
|
|
||||||
return (
|
|
||||||
<div className="space-y-3">
|
|
||||||
{/*
|
|
||||||
Grid layout — 5 cols × 5 rows (named areas):
|
|
||||||
Row 1: wfl blf front brf wfr
|
|
||||||
Row 2: . . . . . (gap row)
|
|
||||||
Row 3: left . top . right
|
|
||||||
Row 4: . . . . . (gap row)
|
|
||||||
Row 5: wrl blr back brr wrr
|
|
||||||
|
|
||||||
Columns: [wheel] [bumper] [main view — 1fr] [bumper] [wheel]
|
|
||||||
Left/right side views sit in col 1 / col 5 of row 3 (replacing wheels there).
|
|
||||||
Actual wheel decorations sit in cols 1&5 of rows 1&5.
|
|
||||||
*/}
|
|
||||||
<div
|
|
||||||
className="mx-auto w-full max-w-md bg-card border rounded-xl p-3 select-none"
|
|
||||||
style={{
|
|
||||||
display: "grid",
|
|
||||||
gridTemplateAreas: `
|
|
||||||
"wfl blf front brf wfr"
|
|
||||||
". . . . ."
|
|
||||||
"left . top . right"
|
|
||||||
". . . . ."
|
|
||||||
"wrl blr back brr wrr"
|
|
||||||
`,
|
|
||||||
gridTemplateRows: "auto 0.35rem auto 0.35rem auto",
|
|
||||||
gridTemplateColumns: "2.5rem 2.75rem 1fr 2.75rem 2.5rem",
|
|
||||||
gap: "0.4rem",
|
|
||||||
touchAction: "manipulation",
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
{/* Decorative wheels — 4 corners, not clickable */}
|
|
||||||
{WHEEL_AREAS.map((w) => (
|
|
||||||
<div
|
|
||||||
key={w}
|
|
||||||
style={{ gridArea: w }}
|
|
||||||
className="w-9 h-9 rounded-full bg-foreground/80 border-[3px] border-foreground/25 self-center justify-self-center"
|
|
||||||
aria-hidden="true"
|
|
||||||
/>
|
|
||||||
))}
|
|
||||||
|
|
||||||
{/* Bumper corner sun-zones — clickable */}
|
|
||||||
{BUMPER_AREAS.map((b) => (
|
|
||||||
<button
|
|
||||||
key={b.key}
|
|
||||||
type="button"
|
|
||||||
disabled={!editable}
|
|
||||||
onClick={() => onBumperTap?.(b.key)}
|
|
||||||
style={{ gridArea: b.gridArea }}
|
|
||||||
className={cn(
|
|
||||||
"relative w-11 h-11 self-center justify-self-center flex items-center justify-center",
|
|
||||||
"transition-transform duration-100",
|
|
||||||
editable && "hover:scale-110 active:scale-95 cursor-pointer",
|
|
||||||
!editable && "cursor-default"
|
|
||||||
)}
|
|
||||||
aria-label={`Бампер ${b.label}`}
|
|
||||||
>
|
|
||||||
{/* 10-point star SVG (sun shape) */}
|
|
||||||
<svg
|
|
||||||
viewBox="0 0 100 100"
|
|
||||||
className="absolute inset-0 w-full h-full"
|
|
||||||
aria-hidden="true"
|
|
||||||
>
|
|
||||||
<polygon
|
|
||||||
points="50,4 61,35 93,39 70,60 79,93 50,76 21,93 30,60 7,39 39,35"
|
|
||||||
fill="rgb(250 204 21)"
|
|
||||||
stroke="rgb(180 120 0)"
|
|
||||||
strokeWidth="2.5"
|
|
||||||
/>
|
|
||||||
</svg>
|
|
||||||
<span className="relative z-10 text-[10px] font-bold text-foreground leading-none">
|
|
||||||
{b.label}
|
|
||||||
</span>
|
|
||||||
{bumperCounts[b.key] > 0 && (
|
|
||||||
<span className="absolute -top-1 -right-1 z-20 bg-destructive text-destructive-foreground text-[10px] font-bold rounded-full w-4 h-4 flex items-center justify-center border border-white shadow">
|
|
||||||
{bumperCounts[b.key]}
|
|
||||||
</span>
|
|
||||||
)}
|
|
||||||
</button>
|
|
||||||
))}
|
|
||||||
|
|
||||||
{/* 5 PNG view tap targets */}
|
|
||||||
{VIEW_AREAS.map((v) => {
|
|
||||||
// Aspect ratio per view — chosen to approximate actual PNG dimensions
|
|
||||||
// top: 128×128 → square; front: 69×50 → ~4:3 landscape; back: 293×201 → ~3:2;
|
|
||||||
// left: 108×44 → ~5:2 strip; right: 109×44 → ~5:2 strip
|
|
||||||
const aspectStyle: React.CSSProperties =
|
|
||||||
v.key === "top" ? { aspectRatio: "1 / 1.25" } : // slightly taller — gives more tap surface
|
|
||||||
v.key === "front" ? { aspectRatio: "4 / 3" } :
|
|
||||||
v.key === "back" ? { aspectRatio: "4 / 3" } :
|
|
||||||
/* left / right */ { aspectRatio: "5 / 2" };
|
|
||||||
|
|
||||||
return (
|
|
||||||
<div
|
|
||||||
key={v.key}
|
|
||||||
ref={(el) => {
|
|
||||||
viewRefs.current[v.key] = el;
|
|
||||||
}}
|
|
||||||
style={{ gridArea: v.gridArea, ...aspectStyle }}
|
|
||||||
onClick={(e) => handleViewTap(v.key, e)}
|
|
||||||
className={cn(
|
|
||||||
"relative bg-muted/40 rounded-lg overflow-hidden w-full",
|
|
||||||
editable && "cursor-crosshair"
|
|
||||||
)}
|
|
||||||
role={editable ? "button" : undefined}
|
|
||||||
aria-label={editable ? `Добавить метку — ${v.label}` : v.label}
|
|
||||||
>
|
|
||||||
<img
|
|
||||||
src={v.src}
|
|
||||||
alt={v.label}
|
|
||||||
draggable={false}
|
|
||||||
className="absolute inset-0 w-full h-full object-contain p-1.5"
|
|
||||||
style={{ imageRendering: "auto" }}
|
|
||||||
/>
|
|
||||||
|
|
||||||
{/* Marker dots for this view */}
|
|
||||||
{markers
|
|
||||||
.filter(
|
|
||||||
(m) => m.side === v.key && m.x != null && m.y != null
|
|
||||||
)
|
|
||||||
.map((m) => (
|
|
||||||
<button
|
|
||||||
key={m.id}
|
|
||||||
type="button"
|
|
||||||
data-marker-id={m.id}
|
|
||||||
onClick={(e) => {
|
|
||||||
e.stopPropagation();
|
|
||||||
onMarkerClick?.(m.id);
|
|
||||||
}}
|
|
||||||
className={cn(
|
|
||||||
"absolute w-5 h-5 -translate-x-1/2 -translate-y-1/2 rounded-full",
|
|
||||||
"border-2 border-white shadow-md",
|
|
||||||
"flex items-center justify-center text-[9px] font-bold text-white",
|
|
||||||
"transition-transform hover:scale-125",
|
|
||||||
m.resolved
|
|
||||||
? "bg-muted-foreground/70"
|
|
||||||
: "bg-destructive"
|
|
||||||
)}
|
|
||||||
style={{
|
|
||||||
left: `${(m.x ?? 0) * 100}%`,
|
|
||||||
top: `${(m.y ?? 0) * 100}%`,
|
|
||||||
}}
|
|
||||||
title={
|
|
||||||
[m.damage_type, m.severity].filter(Boolean).join(" / ") ||
|
|
||||||
undefined
|
|
||||||
}
|
|
||||||
>
|
|
||||||
●
|
|
||||||
</button>
|
|
||||||
))}
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
})}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{/* Global tire-wear control */}
|
|
||||||
<button
|
|
||||||
type="button"
|
|
||||||
onClick={onTireWearClick}
|
|
||||||
disabled={!onTireWearClick}
|
|
||||||
className={cn(
|
|
||||||
"w-full max-w-md mx-auto flex items-center justify-between gap-3",
|
|
||||||
"rounded-xl border bg-card px-4 py-3",
|
|
||||||
"text-sm font-medium",
|
|
||||||
onTireWearClick
|
|
||||||
? "hover:bg-accent active:bg-accent/80 transition-colors cursor-pointer"
|
|
||||||
: "cursor-default opacity-80"
|
|
||||||
)}
|
|
||||||
>
|
|
||||||
<span className="flex items-center gap-2">
|
|
||||||
{/* Simple wheel / tyre icon using SVG so we don't need an emoji */}
|
|
||||||
<svg
|
|
||||||
viewBox="0 0 24 24"
|
|
||||||
className="w-5 h-5 shrink-0 text-foreground/70"
|
|
||||||
fill="none"
|
|
||||||
stroke="currentColor"
|
|
||||||
strokeWidth="1.75"
|
|
||||||
aria-hidden="true"
|
|
||||||
>
|
|
||||||
<circle cx="12" cy="12" r="9" />
|
|
||||||
<circle cx="12" cy="12" r="3.5" />
|
|
||||||
<line x1="12" y1="3" x2="12" y2="8.5" />
|
|
||||||
<line x1="12" y1="15.5" x2="12" y2="21" />
|
|
||||||
<line x1="3" y1="12" x2="8.5" y2="12" />
|
|
||||||
<line x1="15.5" y1="12" x2="21" y2="12" />
|
|
||||||
</svg>
|
|
||||||
<span>Состояние резины</span>
|
|
||||||
</span>
|
|
||||||
{tireCount > 0 && (
|
|
||||||
<span className="bg-destructive text-destructive-foreground text-xs font-bold rounded-full px-2 py-0.5 shrink-0">
|
|
||||||
{tireCount}
|
|
||||||
</span>
|
|
||||||
)}
|
|
||||||
</button>
|
|
||||||
|
|
||||||
{editable && (
|
|
||||||
<p className="text-xs text-center text-muted-foreground">
|
|
||||||
Тапните по части машины, чтобы добавить метку повреждения.
|
|
||||||
</p>
|
|
||||||
)}
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,191 @@
|
|||||||
|
import { useEffect, useMemo, useRef, useState } from "react";
|
||||||
|
import exteriorSvgUrl from "/scheme/exterior.svg?url";
|
||||||
|
import { cn } from "@/lib/utils";
|
||||||
|
|
||||||
|
// Zone color states
|
||||||
|
const COLOR_DEFAULT_FILL = "rgba(0, 0, 0, 0)"; // transparent
|
||||||
|
const COLOR_HOVER_FILL = "rgba(59, 130, 246, 0.20)"; // soft blue
|
||||||
|
const COLOR_HAS_DAMAGE_FILL = "rgba(239, 68, 68, 0.30)"; // red tint for zones with active damage
|
||||||
|
const COLOR_RESOLVED_FILL = "rgba(156, 163, 175, 0.30)"; // gray for resolved-only zones
|
||||||
|
|
||||||
|
export interface SchemeMarker {
|
||||||
|
id: number;
|
||||||
|
side?: string | null;
|
||||||
|
damage_type?: string | null;
|
||||||
|
severity?: string | null;
|
||||||
|
resolved: boolean;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Props {
|
||||||
|
markers: SchemeMarker[];
|
||||||
|
onZoneTap?: (zoneId: number) => void;
|
||||||
|
onTireWearClick?: () => void;
|
||||||
|
editable?: boolean;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Parse "zone-23" -> 23, anything else -> null */
|
||||||
|
function parseZoneId(side: string | null | undefined): number | null {
|
||||||
|
if (!side) return null;
|
||||||
|
const m = /^zone-(\d+)$/.exec(side);
|
||||||
|
if (!m) return null;
|
||||||
|
const n = Number(m[1]);
|
||||||
|
return Number.isFinite(n) ? n : null;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function VendorVehicleScheme({
|
||||||
|
markers,
|
||||||
|
onZoneTap,
|
||||||
|
onTireWearClick,
|
||||||
|
editable = true,
|
||||||
|
}: Props) {
|
||||||
|
const containerRef = useRef<HTMLDivElement>(null);
|
||||||
|
const [svgText, setSvgText] = useState<string | null>(null);
|
||||||
|
const [hoverZone, setHoverZone] = useState<number | null>(null);
|
||||||
|
|
||||||
|
// Load SVG once from public/scheme/exterior.svg as a separate asset
|
||||||
|
useEffect(() => {
|
||||||
|
let cancelled = false;
|
||||||
|
fetch(exteriorSvgUrl)
|
||||||
|
.then((r) => r.text())
|
||||||
|
.then((t) => {
|
||||||
|
if (!cancelled) setSvgText(t);
|
||||||
|
})
|
||||||
|
.catch(() => {
|
||||||
|
if (!cancelled) setSvgText("<!-- failed to load -->");
|
||||||
|
});
|
||||||
|
return () => {
|
||||||
|
cancelled = true;
|
||||||
|
};
|
||||||
|
}, []);
|
||||||
|
|
||||||
|
// Count damage per zone, separately track has-any vs has-only-resolved
|
||||||
|
const zoneStats = useMemo(() => {
|
||||||
|
const stats = new Map<number, { count: number; activeCount: number }>();
|
||||||
|
for (const m of markers) {
|
||||||
|
const z = parseZoneId(m.side);
|
||||||
|
if (z == null) continue;
|
||||||
|
const s = stats.get(z) ?? { count: 0, activeCount: 0 };
|
||||||
|
s.count += 1;
|
||||||
|
if (!m.resolved) s.activeCount += 1;
|
||||||
|
stats.set(z, s);
|
||||||
|
}
|
||||||
|
return stats;
|
||||||
|
}, [markers]);
|
||||||
|
|
||||||
|
const tireCount = markers.filter((m) => m.side === "tires").length;
|
||||||
|
|
||||||
|
// Apply zone fills after SVG renders or when hover/damage state changes
|
||||||
|
useEffect(() => {
|
||||||
|
if (!svgText) return;
|
||||||
|
const el = containerRef.current;
|
||||||
|
if (!el) return;
|
||||||
|
const svg = el.querySelector("svg");
|
||||||
|
if (!svg) return;
|
||||||
|
|
||||||
|
// Strip any inline <script> the vendor included
|
||||||
|
svg.querySelectorAll("script").forEach((s) => s.remove());
|
||||||
|
|
||||||
|
// Make the SVG fill its container
|
||||||
|
svg.setAttribute("width", "100%");
|
||||||
|
svg.setAttribute("height", "100%");
|
||||||
|
svg.setAttribute("preserveAspectRatio", "xMidYMid meet");
|
||||||
|
|
||||||
|
// Reset all numeric-class paths to appropriate fill
|
||||||
|
const all = svg.querySelectorAll("path[class]");
|
||||||
|
all.forEach((p) => {
|
||||||
|
const cls = p.getAttribute("class") ?? "";
|
||||||
|
const zid = /^\d+$/.test(cls) ? Number(cls) : null;
|
||||||
|
if (zid == null) return;
|
||||||
|
|
||||||
|
const s = zoneStats.get(zid);
|
||||||
|
let fill = COLOR_DEFAULT_FILL;
|
||||||
|
if (s) {
|
||||||
|
fill = s.activeCount > 0 ? COLOR_HAS_DAMAGE_FILL : COLOR_RESOLVED_FILL;
|
||||||
|
}
|
||||||
|
if (hoverZone === zid && editable) fill = COLOR_HOVER_FILL;
|
||||||
|
|
||||||
|
p.setAttribute("fill", fill);
|
||||||
|
(p as SVGElement).style.cursor = editable ? "pointer" : "default";
|
||||||
|
(p as SVGElement).style.transition = "fill 0.15s";
|
||||||
|
});
|
||||||
|
}, [svgText, zoneStats, hoverZone, editable]);
|
||||||
|
|
||||||
|
// Walk up from event.target to find a path[class="N"] (numeric zone id)
|
||||||
|
function zoneFromEvent(e: React.MouseEvent | React.TouchEvent): number | null {
|
||||||
|
let node = e.target as Element | null;
|
||||||
|
while (node && node !== e.currentTarget) {
|
||||||
|
if (node.tagName?.toLowerCase() === "path") {
|
||||||
|
const cls = node.getAttribute("class") ?? "";
|
||||||
|
if (/^\d+$/.test(cls)) return Number(cls);
|
||||||
|
}
|
||||||
|
node = node.parentElement;
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
function handleClick(e: React.MouseEvent<HTMLDivElement>) {
|
||||||
|
if (!editable) return;
|
||||||
|
const z = zoneFromEvent(e);
|
||||||
|
if (z != null) onZoneTap?.(z);
|
||||||
|
}
|
||||||
|
|
||||||
|
function handleMove(e: React.MouseEvent<HTMLDivElement>) {
|
||||||
|
if (!editable) return;
|
||||||
|
setHoverZone(zoneFromEvent(e));
|
||||||
|
}
|
||||||
|
|
||||||
|
return (
|
||||||
|
<div className="space-y-3">
|
||||||
|
{/* SVG container — aspect ratio matches vendor viewBox 827×1209 */}
|
||||||
|
<div
|
||||||
|
ref={containerRef}
|
||||||
|
onClick={handleClick}
|
||||||
|
onMouseMove={handleMove}
|
||||||
|
onMouseLeave={() => setHoverZone(null)}
|
||||||
|
className={cn(
|
||||||
|
"mx-auto w-full max-w-md bg-card border rounded-lg p-2 aspect-[827/1209]",
|
||||||
|
"overflow-hidden",
|
||||||
|
)}
|
||||||
|
style={{ touchAction: "manipulation" }}
|
||||||
|
dangerouslySetInnerHTML={svgText ? { __html: svgText } : undefined}
|
||||||
|
/>
|
||||||
|
|
||||||
|
{/* Summary line: count of zones with damage */}
|
||||||
|
{zoneStats.size > 0 && (
|
||||||
|
<div className="mx-auto max-w-md text-xs text-muted-foreground text-center">
|
||||||
|
Зон с повреждениями:{" "}
|
||||||
|
<span className="font-semibold text-foreground">{zoneStats.size}</span>
|
||||||
|
{" · "}
|
||||||
|
Всего меток:{" "}
|
||||||
|
<span className="font-semibold text-foreground">
|
||||||
|
{markers.filter((m) => parseZoneId(m.side) != null).length}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
|
||||||
|
{/* Global tire-wear button */}
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
onClick={onTireWearClick}
|
||||||
|
disabled={!editable && !onTireWearClick}
|
||||||
|
className="w-full max-w-md mx-auto flex items-center justify-between gap-3 rounded-lg border bg-card px-4 py-3 hover:bg-accent transition-colors text-sm font-medium"
|
||||||
|
>
|
||||||
|
<span className="flex items-center gap-2">
|
||||||
|
<span className="text-xl">⊙</span>
|
||||||
|
<span>Состояние резины</span>
|
||||||
|
</span>
|
||||||
|
{tireCount > 0 && (
|
||||||
|
<span className="bg-destructive text-destructive-foreground text-xs font-bold rounded-full px-2 py-0.5">
|
||||||
|
{tireCount}
|
||||||
|
</span>
|
||||||
|
)}
|
||||||
|
</button>
|
||||||
|
|
||||||
|
{editable && (
|
||||||
|
<p className="text-xs text-center text-muted-foreground">
|
||||||
|
Тапните по зоне машины, чтобы добавить метку повреждения.
|
||||||
|
</p>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -8,11 +8,7 @@ import {
|
|||||||
type MarkerSummary,
|
type MarkerSummary,
|
||||||
} from "@/api/inspections";
|
} from "@/api/inspections";
|
||||||
import { PhotoSlot } from "@/components/camera/PhotoSlot";
|
import { PhotoSlot } from "@/components/camera/PhotoSlot";
|
||||||
import {
|
import { VendorVehicleScheme } from "@/components/vehicle-scheme/VendorVehicleScheme";
|
||||||
CompositeVehicleScheme,
|
|
||||||
type ViewName,
|
|
||||||
type BumperCornerName,
|
|
||||||
} from "@/components/vehicle-scheme/CompositeVehicleScheme";
|
|
||||||
import { AddMarkerDialog } from "@/components/inspection/AddMarkerDialog";
|
import { AddMarkerDialog } from "@/components/inspection/AddMarkerDialog";
|
||||||
import { TireWearDialog } from "@/components/inspection/TireWearDialog";
|
import { TireWearDialog } from "@/components/inspection/TireWearDialog";
|
||||||
import { AuthImg } from "@/components/AuthImg";
|
import { AuthImg } from "@/components/AuthImg";
|
||||||
@@ -58,6 +54,9 @@ const DAMAGE_TYPE_LABELS: Record<string, string> = {
|
|||||||
|
|
||||||
function humanizeMarkerSide(side: string | null | undefined): string {
|
function humanizeMarkerSide(side: string | null | undefined): string {
|
||||||
if (!side) return "—";
|
if (!side) return "—";
|
||||||
|
if (side === "tires") return "Резина";
|
||||||
|
const zm = /^zone-(\d+)$/.exec(side);
|
||||||
|
if (zm) return `Зона ${zm[1]}`;
|
||||||
const map: Record<string, string> = {
|
const map: Record<string, string> = {
|
||||||
top: "Сверху",
|
top: "Сверху",
|
||||||
front: "Перед",
|
front: "Перед",
|
||||||
@@ -68,8 +67,7 @@ function humanizeMarkerSide(side: string | null | undefined): string {
|
|||||||
"bumper-fr": "Бампер ПП",
|
"bumper-fr": "Бампер ПП",
|
||||||
"bumper-rl": "Бампер ЗЛ",
|
"bumper-rl": "Бампер ЗЛ",
|
||||||
"bumper-rr": "Бампер ЗП",
|
"bumper-rr": "Бампер ЗП",
|
||||||
tires: "Резина",
|
// Legacy named zone-* support (data from earlier prod)
|
||||||
// Legacy zone-* support (data from earlier prod)
|
|
||||||
"zone-front": "Передний бампер",
|
"zone-front": "Передний бампер",
|
||||||
"zone-rear": "Задний бампер",
|
"zone-rear": "Задний бампер",
|
||||||
"zone-left": "Левый бок",
|
"zone-left": "Левый бок",
|
||||||
@@ -87,11 +85,7 @@ export default function InspectionEditor() {
|
|||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
const qc = useQueryClient();
|
const qc = useQueryClient();
|
||||||
|
|
||||||
const [pendingTap, setPendingTap] = useState<{
|
const [pendingTap, setPendingTap] = useState<{ side: string } | null>(null);
|
||||||
view: string;
|
|
||||||
x: number;
|
|
||||||
y: number;
|
|
||||||
} | null>(null);
|
|
||||||
const [tireWearOpen, setTireWearOpen] = useState(false);
|
const [tireWearOpen, setTireWearOpen] = useState(false);
|
||||||
|
|
||||||
const { data: ins, isLoading, isError } = useQuery({
|
const { data: ins, isLoading, isError } = useQuery({
|
||||||
@@ -139,29 +133,18 @@ export default function InspectionEditor() {
|
|||||||
|
|
||||||
<Card className="p-4">
|
<Card className="p-4">
|
||||||
<h2 className="text-sm font-semibold text-muted-foreground mb-3">
|
<h2 className="text-sm font-semibold text-muted-foreground mb-3">
|
||||||
Схема — тапните на машину, чтобы добавить метку
|
Схема — тапните на зону, чтобы добавить метку
|
||||||
</h2>
|
</h2>
|
||||||
<CompositeVehicleScheme
|
<VendorVehicleScheme
|
||||||
markers={ins.markers.map((m: MarkerSummary) => ({
|
markers={ins.markers.map((m: MarkerSummary) => ({
|
||||||
id: m.id,
|
id: m.id,
|
||||||
side: m.side,
|
side: m.side,
|
||||||
x: m.x == null ? null : Number(m.x),
|
|
||||||
y: m.y == null ? null : Number(m.y),
|
|
||||||
severity: m.severity,
|
|
||||||
damage_type: m.damage_type,
|
damage_type: m.damage_type,
|
||||||
|
severity: m.severity,
|
||||||
resolved: m.resolved,
|
resolved: m.resolved,
|
||||||
}))}
|
}))}
|
||||||
onViewTap={
|
onZoneTap={
|
||||||
editable
|
editable ? (zid) => setPendingTap({ side: `zone-${zid}` }) : undefined
|
||||||
? (view: ViewName, x: number, y: number) =>
|
|
||||||
setPendingTap({ view, x, y })
|
|
||||||
: undefined
|
|
||||||
}
|
|
||||||
onBumperTap={
|
|
||||||
editable
|
|
||||||
? (corner: BumperCornerName) =>
|
|
||||||
setPendingTap({ view: corner, x: 0.5, y: 0.5 })
|
|
||||||
: undefined
|
|
||||||
}
|
}
|
||||||
onTireWearClick={editable ? () => setTireWearOpen(true) : undefined}
|
onTireWearClick={editable ? () => setTireWearOpen(true) : undefined}
|
||||||
editable={editable}
|
editable={editable}
|
||||||
@@ -172,9 +155,7 @@ export default function InspectionEditor() {
|
|||||||
<AddMarkerDialog
|
<AddMarkerDialog
|
||||||
open
|
open
|
||||||
inspectionId={insId}
|
inspectionId={insId}
|
||||||
view={pendingTap.view}
|
side={pendingTap.side}
|
||||||
x={pendingTap.x}
|
|
||||||
y={pendingTap.y}
|
|
||||||
onClose={() => setPendingTap(null)}
|
onClose={() => setPendingTap(null)}
|
||||||
onCreated={() => {
|
onCreated={() => {
|
||||||
setPendingTap(null);
|
setPendingTap(null);
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import { useParams, useNavigate } from "react-router-dom";
|
|||||||
import { useQuery } from "@tanstack/react-query";
|
import { useQuery } from "@tanstack/react-query";
|
||||||
import { getInspection, type MarkerSummary, type PhotoSummary } from "@/api/inspections";
|
import { getInspection, type MarkerSummary, type PhotoSummary } from "@/api/inspections";
|
||||||
import { AuthImg } from "@/components/AuthImg";
|
import { AuthImg } from "@/components/AuthImg";
|
||||||
import { CompositeVehicleScheme } from "@/components/vehicle-scheme/CompositeVehicleScheme";
|
import { VendorVehicleScheme } from "@/components/vehicle-scheme/VendorVehicleScheme";
|
||||||
import { Card } from "@/components/ui/card";
|
import { Card } from "@/components/ui/card";
|
||||||
|
|
||||||
const STATUS_LABELS: Record<string, string> = {
|
const STATUS_LABELS: Record<string, string> = {
|
||||||
@@ -39,6 +39,9 @@ const DAMAGE_TYPE_LABELS: Record<string, string> = {
|
|||||||
|
|
||||||
function humanizeMarkerSide(side: string | null | undefined): string {
|
function humanizeMarkerSide(side: string | null | undefined): string {
|
||||||
if (!side) return "—";
|
if (!side) return "—";
|
||||||
|
if (side === "tires") return "Резина";
|
||||||
|
const zm = /^zone-(\d+)$/.exec(side);
|
||||||
|
if (zm) return `Зона ${zm[1]}`;
|
||||||
const map: Record<string, string> = {
|
const map: Record<string, string> = {
|
||||||
top: "Сверху",
|
top: "Сверху",
|
||||||
front: "Перед",
|
front: "Перед",
|
||||||
@@ -49,8 +52,7 @@ function humanizeMarkerSide(side: string | null | undefined): string {
|
|||||||
"bumper-fr": "Бампер ПП",
|
"bumper-fr": "Бампер ПП",
|
||||||
"bumper-rl": "Бампер ЗЛ",
|
"bumper-rl": "Бампер ЗЛ",
|
||||||
"bumper-rr": "Бампер ЗП",
|
"bumper-rr": "Бампер ЗП",
|
||||||
tires: "Резина",
|
// Legacy named zone-* support (data from earlier prod)
|
||||||
// Legacy zone-* support (data from earlier prod)
|
|
||||||
"zone-front": "Передний бампер",
|
"zone-front": "Передний бампер",
|
||||||
"zone-rear": "Задний бампер",
|
"zone-rear": "Задний бампер",
|
||||||
"zone-left": "Левый бок",
|
"zone-left": "Левый бок",
|
||||||
@@ -118,14 +120,12 @@ export default function InspectionReview() {
|
|||||||
<h2 className="text-sm font-semibold text-muted-foreground mb-3">
|
<h2 className="text-sm font-semibold text-muted-foreground mb-3">
|
||||||
Схема повреждений
|
Схема повреждений
|
||||||
</h2>
|
</h2>
|
||||||
<CompositeVehicleScheme
|
<VendorVehicleScheme
|
||||||
markers={ins.markers.map((m: MarkerSummary) => ({
|
markers={ins.markers.map((m: MarkerSummary) => ({
|
||||||
id: m.id,
|
id: m.id,
|
||||||
side: m.side,
|
side: m.side,
|
||||||
x: m.x == null ? null : Number(m.x),
|
|
||||||
y: m.y == null ? null : Number(m.y),
|
|
||||||
severity: m.severity,
|
|
||||||
damage_type: m.damage_type,
|
damage_type: m.damage_type,
|
||||||
|
severity: m.severity,
|
||||||
resolved: m.resolved,
|
resolved: m.resolved,
|
||||||
}))}
|
}))}
|
||||||
editable={false}
|
editable={false}
|
||||||
|
|||||||
Reference in new issue
Block a user