{
  "name": "Synergi: سينرجي",
  "short_name": "Synergi",
  "description": "Personal wealth management for Egyptians: salary, gold, Gam'iya, Zakat, all in one place.",
  "id": "synergi-pwa",
  "start_url": "/?source=pwa",
  "scope": "/",
  "display": "standalone",
  "display_override": [
    "standalone",
    "minimal-ui"
  ],
  "orientation": "portrait",
  "theme_color": "#000000",
  "background_color": "#000000",
  "lang": "ar",
  "dir": "auto",
  "icons": [
    {
      "src": "/icons/icon-192.png",
      "sizes": "192x192",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "/icons/icon-192-maskable.png",
      "sizes": "192x192",
      "type": "image/png",
      "purpose": "maskable"
    },
    {
      "src": "/icons/icon-512.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "/icons/icon-512-maskable.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "maskable"
    }
  ],
  "categories": [
    "finance",
    "productivity"
  ],
  "related_applications": [
    { "platform": "webapp", "url": "/manifest.json", "id": "synergi-pwa" }
  ],
  "prefer_related_applications": false,
  "shortcuts": [
    {
      "name": "إضافة من رسالة",
      "short_name": "من رسالة",
      "description": "الصق رسالة البنك وسجّل الحركة",
      "url": "/?action=message&source=shortcut",
      "icons": [
        {
          "src": "/icons/icon-192.png",
          "sizes": "192x192",
          "type": "image/png"
        }
      ]
    },
    {
      "name": "إضافة مصروف",
      "short_name": "مصروف",
      "description": "أضف مصروف جديد بسرعة",
      "url": "/?action=add-expense&source=shortcut",
      "icons": [
        {
          "src": "/icons/icon-192.png",
          "sizes": "192x192",
          "type": "image/png"
        }
      ]
    },
    {
      "name": "اسأل Genius",
      "short_name": "Genius",
      "description": "اسأل مساعدك المالي الذكي",
      "url": "/?action=genius&source=shortcut",
      "icons": [
        {
          "src": "/icons/icon-192.png",
          "sizes": "192x192",
          "type": "image/png"
        }
      ]
    },
    {
      "name": "الأهداف",
      "short_name": "الأهداف",
      "description": "تابع أهدافك المالية",
      "url": "/?action=goals&source=shortcut",
      "icons": [
        {
          "src": "/icons/icon-192.png",
          "sizes": "192x192",
          "type": "image/png"
        }
      ]
    },
    {
      "name": "الميزانية",
      "short_name": "الميزانية",
      "description": "افتح الميزانية الشهرية",
      "url": "/?action=budget&source=shortcut",
      "icons": [
        {
          "src": "/icons/icon-192.png",
          "sizes": "192x192",
          "type": "image/png"
        }
      ]
    }
  ],
  "share_target": {
    "action": "/share",
    "method": "POST",
    "enctype": "multipart/form-data",
    "params": {
      "title": "title",
      "text": "text",
      "url": "url",
      "files": [
        {
          "name": "statement",
          "accept": ["text/csv", ".csv", "text/plain", ".txt", "text/tab-separated-values", ".tsv", "application/vnd.ms-excel"]
        },
        {
          "name": "attachment",
          "accept": ["image/*", "application/pdf", ".pdf"]
        }
      ]
    }
  },
  "launch_handler": {
    "client_mode": ["navigate-existing", "auto"]
  },
  "file_handlers": [
    {
      "action": "/open-file",
      "accept": {
        "text/csv": [
          ".csv"
        ],
        "application/vnd.ms-excel": [
          ".csv"
        ],
        "text/plain": [
          ".txt"
        ]
      },
      "icons": [
        {
          "src": "/icons/icon-192.png",
          "sizes": "192x192",
          "type": "image/png"
        }
      ]
    }
  ]
}
