1. 初始化

flowchart TB
    initPage --> setBussinessName["setBussinessName (from query)"]
    setBussinessName --> getBusinessInfo
    subgraph getBusinessInfo
        getClientInfo["getClientInfo - GET/grooming/bookOnline/client/info"]
        getClientProfile["getClientProfile - GET/grooming/bookOnline/client/profile"]
        getClientPreference["getClientPreference - GET/grooming/bookOnline/client/business/preference"]
    end
    getBusinessInfo --> getInfo
    subgraph getInfo
        direction TB
        getServices["getServices - POST/grooming/bookOnline/client/services"]
        getAddOnsList["getAddOnsList - POST/grooming/bookOnline/client/services"]
        getServices --> filterServices
        getAddOnsList --> filterServices
    end
    getInfo --> getGallery["getGallery - GET/grooming/bookOnline/client/gallery"]

2. Information

3. Services List & AddOn List

4. Book

flowchart TB
    init --> initModal
    subgraph initModal
        direction TB
        fetchPetOptions["fetchPetOptions - GET/customer/bookOnline/client/pet/options"]
        fetchPetOptions --> getRelavantBusiness["getRelevantBurelevantsiness - GET/grooming/bookOnline/client/company/locations"]
    end
    initModal --> watchBusinessEnable["watchBusinessEnable - (for multi unit ???)"]
    watchBusinessEnable --> hasMultiBusinessList{businessList.length > 1?}
    hasMultiBusinessList -- Yes --> handleListSelect
    hasMultiBusinessList -- No --> clientChoose