{
    "mapConfig": {
        "background": {
            "type": "image",
            "url": "map_Q0.jpg"
        },
        "zoneDecorator": {
            "imageUrl": "personnages/loupe.png",
            "size": {
                "x": 50,
                "y": 50
            },
            "sortingOrder": 10
        },
        "header": {
            "show": true,
            "height": 120,
            "backgroundColor": "#00000000",
            "leftElement": {
                "imageUrl": "UI_jauge_phase1.png",
                "position": {
                    "x": 50,
                    "y": -60
                },
                "size": {
                    "x": 200,
                    "y": 100
                },
                "clickable": false,
                "targetAction": ""
            },
            "rightElement": {
                "imageUrl": "UI_Icon_Setting.png",
                "position": {
                    "x": -50,
                    "y": -60
                },
                "size": {
                    "x": 100,
                    "y": 100
                },
                "clickable": true,
                "targetAction": "settings"
            }
        },
        "popupConfig": {
            "width": 400,
            "height": 400,
            "backgroundColor": "#000000EE",
            "borderColor": "#cc9442",
            "borderWidth": 3,
            "textPosition": "top",
            "textPaddingTop": 10,
            "textPaddingBottom": 10,
            "textPaddingLeft": 20,
            "textPaddingRight": 20,
            "textHeight": 80,
            "textFontSize": 18,
            "textColor": "#FFFFFF",
            "textBackgroundColor": "#2A2A2A99",
            "textPaddingHorizontal": 0,
            "showDelay": 0.3,
            "fadeSpeed": 0.2,
            "buttonText": "N/A",
            "buttonHeight": 40,
            "buttonWidth": 160,
            "buttonFontSize": 18,
            "buttonTextColor": "#FFFFFF",
            "buttonBackgroundColor": "#4CAF50FF",
            "buttonBottomMargin": 20
        },
        "decorativeVideos": [
            {
                "id": "decors_stade",
                "videoUrl": "focus/Q0_focus_stade_A.mp4",
                "position": {
                    "x": 630,
                    "y": 2005
                },
                "size": {
                    "x": 1050,
                    "y": 1160
                },
                "loop": true,
                "autoPlay": true
            },
            {
                "id": "decors_bassin",
                "videoUrl": "focus/Q0_focus_bassin_A.mp4",
                "position": {
                    "x": 4240,
                    "y": 255
                },
                "size": {
                    "x": 460,
                    "y": 490
                },
                "loop": true,
                "autoPlay": true
            },
            {
                "id": "decors_voiture",
                "videoUrl": "focus/Q0_focus_voiture_A.mp4",
                "position": {
                    "x": 797,
                    "y": 895
                },
                "size": {
                    "x": 720,
                    "y": 785
                },
                "loop": true,
                "autoPlay": true
            },
            {
                "id": "decors_cheminee",
                "videoUrl": "focus/Q0_focus_cheminee_A.mp4",
                "position": {
                    "x": 4475,
                    "y": 2155
                },
                "size": {
                    "x": 755,
                    "y": 800
                },
                "loop": true,
                "autoPlay": true
            },
            {
                "id": "decors_yummi",
                "videoUrl": "focus/Q0_focus_yummi_A.mp4",
                "position": {
                    "x": 2860,
                    "y": 1673
                },
                "size": {
                    "x": 515,
                    "y": 595
                },
                "loop": true,
                "autoPlay": true
            }
        ],
        "steps": [
            {
                "id": "intro",
                "type": "fullscreen_video",
                "videoUrl": "Q00_intro.mp4",
                "skipable": true,
                "autoAdvance": true,
                "nextStepId": "step_smouth"
            },
            {
                "id": "step_smouth",
                "type": "zones",
                "nextStepId": "step_marinefarine",
                "decorativeImages": [
                    {
                        "id": "fleche_direction",
                        "imageUrl": "focus.png",
                        "position": {
                            "x": 2600,
                            "y": 1500
                        },
                        "size": {
                            "x": 150,
                            "y": 150
                        },
                        "sortingOrder": 8
                    }
                ],
                "zones": [
                    {
                        "id": "zone_smouth",
                        "position": {
                            "x": 2400,
                            "y": 1950
                        },
                        "size": {
                            "x": 250,
                            "y": 250
                        },
                        "targetLevelId": "Q0J1",
                        "debugColor": "#00FF0080",
                        "hasPopup": true,
                        "popupVideo": "focus/Q0_focus_smouth.mp4",
                        "popupText": "Je dois rester discret\n et c’est pour cela que je fais\n appel à vous pour sauver la ville !",
                        "popupClickable": true,
                        "buttonText": "JOUER",
                        "decoratorImageUrl": "personnages/monsieur_smouth.png",
                        "decoratorSize": {
                            "x": 250,
                            "y": 250
                        }
                    },
                    {
                        "id": "zone_monsieur_houbere.png",
                        "position": {
                            "x": 3830,
                            "y": 850
                        },
                        "size": {
                            "x": 250,
                            "y": 250
                        },
                        "targetLevelId": "",
                        "debugColor": "#00FF0080",
                        "hasPopup": true,
                        "popupVideo": "focus/Q0_focus_monsieur_houbere.mp4",
                        "popupText": "Plus rien ne fonctionne \ndepuis la grande disparition.",
                        "popupClickable": false,
                        "buttonText": "",
                        "decoratorImageUrl": "personnages/monsieur_houbere.png",
                        "decoratorSize": {
                            "x": 250,
                            "y": 250
                        }
                    },
                    {
                        "id": "zone_monsieur_aigle",
                        "position": {
                            "x": 4140,
                            "y": 635
                        },
                        "size": {
                            "x": 250,
                            "y": 250
                        },
                        "targetLevelId": "",
                        "debugColor": "#00FF0080",
                        "hasPopup": true,
                        "popupVideo": "focus/Q0_focus_monsieur_aigle.mp4",
                        "popupText": "A cette heure-ci la cuisine\nn'est pas encore ouverte.",
                        "popupClickable": false,
                        "buttonText": "",
                        "decoratorImageUrl": "personnages/monsieur_aigle.png",
                        "decoratorSize": {
                            "x": 250,
                            "y": 250
                        }
                    },
                    {
                        "id": "zone_don_cornichone",
                        "position": {
                            "x": 1800,
                            "y": 315
                        },
                        "size": {
                            "x": 250,
                            "y": 250
                        },
                        "targetLevelId": "",
                        "debugColor": "#00FF0080",
                        "hasPopup": true,
                        "popupVideo": "focus/Q0_focus__don_cornichone.mp4",
                        "popupText": "A cette heure-ci la cuisine\nn'est pas encore ouverte.",
                        "popupClickable": false,
                        "buttonText": "",
                        "decoratorImageUrl": "personnages/don_cornichone.png",
                        "decoratorSize": {
                            "x": 250,
                            "y": 250
                        }
                    },
                    {
                        "id": "zone_martin_passoire",
                        "position": {
                            "x": 550,
                            "y": 1500
                        },
                        "size": {
                            "x": 250,
                            "y": 250
                        },
                        "targetLevelId": "",
                        "debugColor": "#00FF0080",
                        "hasPopup": true,
                        "popupVideo": "focus/Q0_focus_martin_passoire.mp4",
                        "popupText": "A cette heure-ci la cuisine\nn'est pas encore ouverte.",
                        "popupClickable": false,
                        "buttonText": "",
                        "decoratorImageUrl": "personnages/martin_passoire.png",
                        "decoratorSize": {
                            "x": 250,
                            "y": 250
                        }
                    },
                    {
                        "id": "zone_marine_farine",
                        "position": {
                            "x": 4400,
                            "y": 900
                        },
                        "size": {
                            "x": 250,
                            "y": 250
                        },
                        "targetLevelId": "",
                        "debugColor": "#00FF0080",
                        "hasPopup": true,
                        "popupVideo": "focus/Q0_focus_marine_farine.mp4",
                        "popupText": "A cette heure-ci la cuisine\nn'est pas encore ouverte.",
                        "popupClickable": false,
                        "buttonText": "",
                        "decoratorImageUrl": "personnages/marine_farine.png",
                        "decoratorSize": {
                            "x": 250,
                            "y": 250
                        }
                    },
                    {
                        "id": "zone_jeanne_moulin",
                        "position": {
                            "x": 5580,
                            "y": 1850
                        },
                        "size": {
                            "x": 250,
                            "y": 250
                        },
                        "targetLevelId": "",
                        "debugColor": "#00FF0080",
                        "hasPopup": true,
                        "popupVideo": "focus/Q0_focus_jeanne_moulin.mp4",
                        "popupText": "A cette heure-ci la cuisine\nn'est pas encore ouverte.",
                        "popupClickable": false,
                        "buttonText": "",
                        "decoratorImageUrl": "personnages/jeanne_moulin.png",
                        "decoratorSize": {
                            "x": 250,
                            "y": 250
                        }
                    },
                    {
                        "id": "zone_tante_annie",
                        "position": {
                            "x": 4040,
                            "y": 2100
                        },
                        "size": {
                            "x": 250,
                            "y": 250
                        },
                        "targetLevelId": "",
                        "debugColor": "#00FF0080",
                        "hasPopup": true,
                        "popupVideo": "focus/Q0_focus_tante_annie.mp4",
                        "popupText": "A cette heure-ci la cuisine\nn'est pas encore ouverte.",
                        "popupClickable": false,
                        "buttonText": "",
                        "decoratorImageUrl": "personnages/tante_annie.png",
                        "decoratorSize": {
                            "x": 250,
                            "y": 250
                        }
                    },
                    {
                        "id": "zone_jeff_molaire",
                        "position": {
                            "x": 2625,
                            "y": 892
                        },
                        "size": {
                            "x": 250,
                            "y": 250
                        },
                        "targetLevelId": "",
                        "debugColor": "#00FF0080",
                        "hasPopup": true,
                        "popupVideo": "focus/Q0_focus_jeff_molaire.mp4",
                        "popupText": "A cette heure-ci la cuisine\nn'est pas encore ouverte.",
                        "popupClickable": false,
                        "buttonText": "",
                        "decoratorImageUrl": "personnages/jeff_molaire.png",
                        "decoratorSize": {
                            "x": 250,
                            "y": 250
                        }
                    },
                    {
                        "id": "zone_assurio",
                        "position": {
                            "x": 4880,
                            "y": 312
                        },
                        "size": {
                            "x": 250,
                            "y": 250
                        },
                        "targetLevelId": "",
                        "debugColor": "#00FF0080",
                        "hasPopup": true,
                        "popupVideo": "focus/Q0_focus_assurio.mp4",
                        "popupText": "A cette heure-ci la cuisine\nn'est pas encore ouverte.",
                        "popupClickable": false,
                        "buttonText": "",
                        "decoratorImageUrl": "personnages/assurio.png",
                        "decoratorSize": {
                            "x": 250,
                            "y": 250
                        }
                    }
                ]
            },
            {
                "id": "outro",
                "type": "fullscreen_video",
                "videoUrl": "Q00_outro.mp4",
                "skipable": false,
                "autoAdvance": false,
                "nextStepId": null
            }
        ]
    }
}