###############
# Device Detector - The Universal Device Detection library for parsing User Agents
#
# @link https://matomo.org
# @license http://www.gnu.org/licenses/lgpl.html LGPL v3 or later
###############

##########
# RedOS (https://redos.red-soft.ru/)
##########
- regex: 'RED OS; Linux'
  name: 'RedOS'
  version: ''

##########
# RouterOS (https://help.mikrotik.com/docs/display/ROS/RouterOS)
##########
- regex: 'Mikrotik/(\d).x'
  name: 'RouterOS'
  version: '$1'

##########
# Sirin OS (https://sirinlabs.com/sirin-os/)
##########
- regex: 'FINNEY U1'
  name: 'Sirin OS'
  version: ''

##########
# Nova (https://www.nova.cu/)
##########
- regex: 'Nova; Linux'
  name: 'Nova'
  version: ''

##########
# Bliss OS (https://blissos.org/)
##########
- regex: 'Android 10.+bliss_maple'
  name: 'Bliss OS'
  version: '12'

##########
# TencentOS (https://github.com/Tencent/TencentOS-kernel)
##########
- regex: 'Linux/(\d+[\.\d]*).+tlinux'
  name: 'TencentOS'
  version: '$1'

##########
# Amazon Linux (https://docs.aws.amazon.com/AL2/latest/relnotes/relnotes-al2.html)
##########
- regex: '.+.amzn(\d).x86_64'
  name: 'Amazon Linux'
  version: '$1'

##########
# COS (China Operating System - https://web.archive.org/web/20170825001023/http://www.china-cos.com/)
##########
- regex: ' COS like Android'
  name: 'China OS'
  version: ''

##########
# ClearOS Mobile (https://www.clearos.com/products/clearos-editions/clearos-mobile)
##########
- regex: 'Android (\d+[\.\d]*); ClearPHONE'
  name: 'ClearOS Mobile'
  version: '$1'

##########
# Plasma Mobile (https://plasma-mobile.org/)
##########
- regex: 'Plasma Mobile'
  name: 'Plasma Mobile'
  version: ''

##########
# KreaTV
##########
- regex: 'KreaTV/0.0.0.0'
  name: 'KreaTV'
  version: ''

- regex: 'KreaTV/(\d+[\.\d]+)'
  name: 'KreaTV'
  version: '$1'

##########
# Opera TV (https://blogs.opera.com/news/2016/01/ces-2016-meet-opera-tv/)
##########
- regex: 'Linux (?:[^;]+); Opera TV(?: Store)?/|^Opera/\d+\.\d+ \(Linux mips'
  name: 'Opera TV'
  version: ''

##########
# GridOS (https://web.archive.org/web/20111123141630/http://fusiongarage.com/grid-os/about)
##########
- regex: 'Grid OS (\d+[\.\d]+)'
  name: 'GridOS'
  version: '$1'

##########
# Caixa Mágica (https://caixamagica.pt/)
##########
- regex: 'CaixaMagica'
  name: 'Caixa Mágica'
  version: ''

##########
# Mageia (https://www.mageia.org/en/)
##########
- regex: 'Mageia; Linux'
  name: 'Mageia'
  version: ''

##########
# Whale OS (https://www.zeasn.com/)
##########
- regex: '(?:WH|WhaleTV/)(\d+[\.\d]+)'
  name: 'Whale OS'
  version: '$1'

##########
# Tizen
##########
- regex: 'Tizen[ /]?(\d+[\.\d]+)?'
  name: 'Tizen'
  version: '$1'


##########
# YunOS (Android based)
##########
- regex: '(?:Ali)?YunOS[ /]?(\d+[\.\d]+)?'
  name: 'YunOS'
  version: '$1'

##########
# Windows Mobile
##########
- regex: 'Windows Phone;FBSV/(\d+[\.\d]+)'
  name: 'Windows Phone'
  version: '$1'

- regex: '(?:Windows Phone (?:OS)?|wds)[ /]?(\d+[\.\d]+)'
  name: 'Windows Phone'
  version: '$1'

- regex: 'XBLWP7|Windows Phone'
  name: 'Windows Phone'
  version: ''

- regex: 'Windows CE(?: (\d+[\.\d]+))?'
  name: 'Windows CE'
  version: '$1'

- regex: '(?:IEMobile|Windows ?Mobile)(?: (\d+[\.\d]+))?'
  name: 'Windows Mobile'
  version: '$1'

- regex: 'Windows NT 6.2; ARM;'
  name: 'Windows RT'
  version: ''

- regex: 'Windows NT 6.3; ARM;'
  name: 'Windows RT'
  version: '8.1'

##########
# Windows IoT
##########
- regex: 'Windows IoT 10.0'
  name: 'Windows IoT'
  version: '10'

##########
# KaiOS
##########
- regex: 'KAIOS(?:/(\d+[\.\d]+))?'
  name: 'KaiOS'
  version: '$1'

##########
# Custom Android Roms
##########
- regex: 'HarmonyOS(?:[/ ](\d+[\.\d]+))?'
  name: 'HarmonyOS'
  version: '$1'
- regex: 'Hmos/1'
  name: 'HarmonyOS'
  version: '1.0.0'

- regex: 'RazoDroiD(?: v(\d+[\.\d]*))?'
  name: 'RazoDroiD'
  version: '$1'

- regex: 'MildWild(?: CM-(\d+[\.\d]*))?'
  name: 'MildWild'
  version: '$1'

- regex: 'CyanogenMod(?:[\-/](?:CM)?(\d+[\.\d]*))?'
  name: 'CyanogenMod'
  version: '$1'

- regex: '(?:.*_)?MocorDroid(?:(\d+[\.\d]*))?'
  name: 'MocorDroid'
  version: '$1'

- regex: 'Fire OS(?:/(\d+[\.\d]*))?'
  name: 'Fire OS'
  version: '$1'

- regex: '.+FIRETVSTICK2018'
  name: 'Fire OS'
  version: '6'

- regex: 'AFTSO001'
  name: 'Fire OS'
  version: '7'

- regex: 'FydeOS'
  name: 'FydeOS'
  version: ''

##########
# Revenge OS
##########
- regex: 'revengeos_x2'
  name: 'Revenge OS'
  version: '2'

##########
# Lineage OS
##########
- regex: 'lineage_\w+'
  name: 'Lineage OS'
  version: ''

#########
# Resurrection Remix OS (https://resurrectionremix.com/)
##########
- regex: 'Android 8(?:[\d.]*);(?: [\w-]+;)? rr_fortuna3g'
  name: 'Resurrection Remix OS'
  version: '6'

##########
# Remix OS
##########
- regex: 'RemixOS|Remix (?:Pro|Mini)'
  name: 'Remix OS'
  versions:
    - regex: 'RemixOS 5'
      version: '1'
    - regex: 'RemixOS 6|Remix Mini'
      version: '2'
    - regex: 'Remix Pro'
      version: '3'

##########
# FreeBSD
##########
- regex: 'FreeBSD.+Android'
  name: 'FreeBSD'
  version: ''

##########
# Android TV (https://android.com/tv/)
##########
- regex: 'Linux; Andr0id[; ](\d+[\.\d]*)'
  name: 'Android TV'
  version: '$1'

- regex: 'Android[; ](\d+[\.\d]*).+(?:(?:Android|AT&T) TV|AOSP on r33a0)'
  name: 'Android TV'
  version: '$1'

- regex: 'Windows.+Andr0id TV|.+K_?Android_?TV_'
  name: 'Android TV'
  version: ''

##########
# Android SDK Level Api
##########
- regex: '\d+/tclwebkit(?:\d+[\.\d]*)'
  name: 'Android'
  versions:
    - regex: '33/tclwebkit'
      version: '13'
    - regex: '3[12]/tclwebkit'
      version: '12'
    - regex: '30/tclwebkit'
      version: '11'
    - regex: '29/tclwebkit'
      version: '10'
    - regex: '28/tclwebkit'
      version: '9'
    - regex: '27/tclwebkit'
      version: '8.1'
    - regex: '26/tclwebkit'
      version: '8'
    - regex: '25/tclwebkit'
      version: '7.1'
    - regex: '24/tclwebkit'
      version: '7'
    - regex: '23/tclwebkit'
      version: '6'
    - regex: '22/tclwebkit'
      version: '5.1'
    - regex: '21/tclwebkit'
      version: '5'
    - regex: '(?:20|19)/tclwebkit'
      version: '4.4'
    - regex: '18/tclwebkit'
      version: '4.3'
    - regex: '17/tclwebkit'
      version: '4.2'
    - regex: '16/tclwebkit'
      version: '4.2'
    - regex: '15/tclwebkit'
      version: '4.0.3'
    - regex: '15/tclwebkit'
      version: '4.0.1'

##########
# Android
##########
- regex: 'Android Marshmallow'
  name: 'Android'
  version: '6'

- regex: '(?:Podbean|Podimo)(?:.*)/Android'
  name: 'Android'
  version: ''

- regex: '(?:Android OS|OMDroid)[ /](\d+[\.\d]*)'
  name: 'Android'
  version: '$1'

- regex: 'Pinterest for Android/.*; (\d(?:[\d\.]*))\)$'
  name: 'Android'
  version: '$1'

- regex: 'Android; (\d+[\.\d]*); Mobile;'
  name: 'Android'
  version: '$1'

- regex: '[ ]([\d\.]+)\) AppleWebKit.*ROBLOX Android App'
  name: 'Android'
  version: '$1'

- regex: '(?:(?:Orca-)?(?<!like )Android|Adr|AOSP)[ /]?(?:[a-z]+ )?(\d+[\.\d]*)'
  name: 'Android'
  version: '$1'

- regex: '(?:Allview_TX1_Quasar|Cosmote_My_mini_Tab) (\d+[\.\d]*)'
  name: 'Android'
  version: '$1'

- regex: 'Android ?(?:jelly bean|Kit Kat|S.O. Ginger Bread|The FireCyano|:) (\d+[\.\d]*)'
  name: 'Android'
  version: '$1'

- regex: '(?:Orca-Android|FB4A).*FBSV/(\d+[\.\d]*);'
  name: 'Android'
  version: '$1'

- regex: ' Adr |DDG-Android|(?<!like )Android|Silk-Accelerated=[a-z]{4,5}'
  name: 'Android'
  version: ''

- regex: '(?:TwitterAndroid).*[ /](?:[a-z]+ )?(\d+[\.\d]*)'
  name: 'Android'
  version: '$1'

- regex: 'BeyondPod|AntennaPod|Podkicker|DoggCatcher|Player FM|okhttp|Podcatcher Deluxe|Sonos/.+\(ACR_|Linux x86_64; Quest'
  name: 'Android'
  version: ''

# Inverted Android
- regex: 'Linux; diordnA[; ](\d+[\.\d]*)'
  name: 'Android'
  version: '$1'

- regex: '^A/(\d+[\.\d]*)/'
  name: 'Android'
  version: '$1'

##########
## Sailfish OS
###########
- regex: 'Sailfish|Jolla'
  name: 'Sailfish OS'
  version: ''

##########
# AmigaOS
##########
- regex: 'AmigaOS[ ]?(\d+[\.\d]+)'
  name: 'AmigaOS'
  version: '$1'

- regex: 'AmigaOS|AmigaVoyager|Amiga-AWeb'
  name: 'AmigaOS'
  version: ''

##########
# ThreadX
##########
- regex: 'ThreadX(?:/(\d+[\.\d]*))?'
  name: 'ThreadX'
  version: '$1'

##########
# MTK / Nucleus
##########
- regex: 'Nucleus(?:(?: |/v?)(\d+[\.\d]*))?'
  name: 'MTK / Nucleus'
  version: '$1'
- regex: 'MTK(?:(?: |/v?)(\d+[\.\d]*))?'
  name: 'MTK / Nucleus'
  version: '$1'

##########
# MRE / MAUI Runtime Environment
##########
- regex: 'MRE/(\d+)\.(\d+).*;MAUI'
  name: 'MRE'
  version: '$1.$2'

##########
# Linux
##########
# Linspire (https://www.linspirelinux.com/)
- regex: 'Linspire'
  name: 'Linspire'
  version: ''

# LindowsOS (https://web.archive.org/web/20040304161245/http://www.lindows.com/)
- regex: 'LindowsOS'
  name: 'LindowsOS'
  version: ''

# Zenwalk (http://www.zenwalk.org/)
- regex: 'Zenwalk GNU Linux'
  name: 'Zenwalk'
  version: ''

# Kanotix (http://www.kanotix.com/)
- regex: 'Linux.+kanotix'
  name: 'Kanotix'
  version: ''

# moonOS (https://www.moonos.org/)
- regex: 'moonOS/(\d+.[\d.]+)'
  name: 'moonOS'
  version: '$1'

# Foresight Linux (https://www.foresightlinux.org/)
- regex: 'Foresight Linux'
  name: 'Foresight Linux'
  version: ''

# Pardus (https://www.pardus.org.tr/)
- regex: 'Pardus/(\d+.[\d.]+)'
  name: 'Pardus'
  version: '$1'

# Pure OS (https://pureos.net/)
- regex: 'Librem 5'
  name: 'PureOS'
  version: ''

# OpenWrt (https://openwrt.org/)
- regex: 'uclient-fetch'
  name: 'OpenWrt'
  version: ''

# Roku OS (https://www.roku.com/how-it-works/roku-os)
- regex: 'RokuOS/.+RokuOS (\d+.[\d.]+)'
  name: 'Roku OS'
  version: '$1'

- regex: 'Roku(?:OS|4640X)?/(?:DVP|Pluto)?-?(\d+[\.\d]+)?'
  name: 'Roku OS'
  version: '$1'

- regex: 'Roku; (?:AP|UI); (\d+[\.\d]+)'
  name: 'Roku OS'
  version: '$1'

# DVKBuntu (https://www.dvkbuntu.org/)
- regex: 'dvkbuntu'
  name: 'DVKBuntu'
  version: ''

# Lumin OS (https://developer.magicleap.com/en-us/learn/guides/lumin-os-release-notes-summary)
- regex: 'Helio/(\d+[\.\d]+)'
  name: 'Lumin OS'
  version: '$1'

# HasCodingOS (https://forum.hascoding.com/HasCodingOS)
- regex: 'HasCodingOs (\d+[\.\d]+)'
  name: 'HasCodingOS'
  version: '$1'

# PCLinuxOS (https://www.pclinuxos.com/)
- regex: 'PCLinuxOS/(\d+[\.\d]+)'
  name: 'PCLinuxOS'
  version: '$1'

- regex: '(Ordissimo|webissimo3)'
  name: 'Ordissimo'
  version: ''

# Fenix (https://fenixlinux.com/)
- regex: '(?:Win|Sistema )Fenix'
  name: 'Fenix'
  version: ''

- regex: 'TOS; Linux'
  name: 'TmaxOS'
  version: ''

- regex: 'Maemo'
  name: 'Maemo'
  version: ''

- regex: 'Arch ?Linux(?:[ /\-](\d+[\.\d]+))?'
  name: 'Arch Linux'
  version: '$1'

- regex: 'VectorLinux(?: package)?(?:[ /\-](\d+[\.\d]+))?'
  name: 'VectorLinux'
  version: '$1'

- regex: 'CentOS Stream (\d)'
  name: 'CentOS Stream'
  version: '$1'

- regex: '.+.el(\d+(?:[_\.]\d+)*).(?:centos|x86_64)'
  name: 'CentOS'
  version: '$1'

- regex: 'CentOS Linux (\d)'
  name: 'CentOS'
  version: '$1'

- regex: 'Fedora/.+.fc(\d+)'
  name: 'Fedora'
  version: '$1'

- regex: 'Mandriva(?: Linux)?/.+mdv(\d+[\.\d]+)'
  name: 'Mandriva'
  version: '$1'

- regex: 'Linux Mint/(\d)'
  name: 'Mint'
  version: '$1'

- regex: 'Zorin OS (\d+)'
  name: 'ZorinOS'
  version: '$1'

- regex: 'Linux; .*((?:Debian|Knoppix|Mint|Ubuntu|Kubuntu|Xubuntu|Lubuntu|Fedora|Red Hat|Mandriva|Gentoo|Sabayon|Slackware|SUSE|CentOS|BackTrack))[ /](\d+[\.\d]+)'
  name: '$1'
  version: '$2'

- regex: 'Deepin[ /](\d+[\.\d]+)'
  name: 'Deepin'
  version: '$1'

- regex: '(Debian|Knoppix|Mint(?! Browser)|Ubuntu|Kubuntu|Xubuntu|Lubuntu|Fedora|Red Hat|Mandriva|Gentoo|Sabayon|Slackware|SUSE|CentOS|BackTrack|Freebox)(?:(?: Enterprise)? Linux)?(?:[ /\-](\d+[\.\d]+))?'
  name: '$1'
  version: '$2'

- regex: '.+redhat-linux-gnu'
  name: 'Red Hat'
  version: ''

- regex: 'OS ROSA; Linux'
  name: 'Rosa'
  version: ''

##########
# webOS
##########
- regex: '(?:Web0S; .*WEBOS|webOS|web0S|Palm webOS|hpwOS)(?:[/]?(\d+[\.\d]+))?'
  name: 'webOS'
  version: '$1'
  versions:
    - regex: 'WEBOS(\d+[\.\d]+)'
      version: '$1'
    - regex: 'Web0S; Linux/SmartTV.+Chr[o0]me/79'
      version: '6'
    - regex: 'Web0S; Linux/SmartTV.+Chr[o0]me/68'
      version: '5'
    - regex: 'Web0S; Linux/SmartTV.+Chr[o0]me/53'
      version: '4'
    - regex: 'Web0S; Linux/SmartTV.+Chr[o0]me/38'
      version: '3'
    - regex: 'WEBOS1'
      version: '1'
    - regex: 'Web0S; Linux/SmartTV.+Safari/538'
      version: '2'
    - regex: 'Web0S; Linux/SmartTV.+Safari/537'
      version: '1'

- regex: '(?:PalmOS|Palm OS)(?:[/ ](\d+[\.\d]+))?|Palm'
  name: 'palmOS'
  version: '$1'

- regex: 'Xiino(?:.*v\. (\d+[\.\d]+))?'  # palmOS only browser
  name: 'palmOS'
  version: '$1'

- regex: 'MorphOS(?:[ /](\d+[\.\d]+))?'
  name: 'MorphOS'
  version: '$1'

##########
# Windows
##########
- regex: 'FBW.+FBSV/(\d+[\.\d]*);'
  name: 'Windows'
  version: '$1'

- regex: 'Windows.+OS: (\d+[\.\d]*)'
  name: 'Windows'
  version: '$1'

- regex: 'Windows;(\d+[\.\d]*);'
  name: 'Windows'
  version: '$1'

- regex: 'mingw32|winhttp'
  name: 'Windows'
  version: ''

- regex: '(?:Windows(?:-Update-Agent)?|Microsoft-(?:CryptoAPI|Delivery-Optimization|WebDAV-MiniRedir|WNS)|WINDOWS_64)/(\d+\.\d+)'
  name: 'Windows'
  version: '$1'

- regex: 'CYGWIN_NT-10.0|Windows NT 10.0|Windows 10'
  name: 'Windows'
  version: '10'

- regex: 'CYGWIN_NT-6.4|Windows NT 6.4|Windows 10|win10'
  name: 'Windows'
  version: '10'

- regex: 'CYGWIN_NT-6.3|Windows NT 6.3|Windows 8.1'
  name: 'Windows'
  version: '8.1'

- regex: 'CYGWIN_NT-6.2|Windows NT 6.2|Windows 8'
  name: 'Windows'
  version: '8'

- regex: 'CYGWIN_NT-6.1|Windows NT 6.1|Windows 7|win7|Windows \(6.1'
  name: 'Windows'
  version: '7'

- regex: 'CYGWIN_NT-6.0|Windows NT 6.0|Windows Vista'
  name: 'Windows'
  version: 'Vista'

- regex: 'CYGWIN_NT-5.2|Windows NT 5.2|Windows Server 2003 / XP x64'
  name: 'Windows'
  version: 'Server 2003'

- regex: 'CYGWIN_NT-5.1|Windows NT 5.1|Windows XP'
  name: 'Windows'
  version: 'XP'

- regex: 'CYGWIN_NT-5.0|Windows NT 5.0|Windows 2000'
  name: 'Windows'
  version: '2000'

- regex: 'CYGWIN_NT-4.0|Windows NT 4.0|WinNT|Windows NT'
  name: 'Windows'
  version: 'NT'

- regex: 'CYGWIN_ME-4.90|Win 9x 4.90|Windows ME'
  name: 'Windows'
  version: 'ME'

- regex: 'CYGWIN_98-4.10|Win98|Windows 98'
  name: 'Windows'
  version: '98'

- regex: 'CYGWIN_95-4.0|Win32|Win95|Windows 95|Windows_95'
  name: 'Windows'
  version: '95'

- regex: 'Windows 3.1'
  name: 'Windows'
  version: '3.1'

- regex: 'Windows|.+win32|Win64|MSDW|HandBrake Win Upd|Microsoft BITS|ms-office; MSOffice'
  name: 'Windows'
  version: ''

- regex: 'OS/Microsoft_Windows_NT_(\d+\.\d+)'
  name: 'Windows'
  version: '$1'

##########
# Haiku OS
##########
- regex: 'Haiku'
  name: 'Haiku OS'
  version: ''

##########
# tvOS (https://developer.apple.com/tvos/)
##########
- regex: 'Apple ?TV.*CPU (?:iPhone )?OS ((?:9|1[0-6])[_\.]\d+(?:[_.]\d+)*)'
  name: 'tvOS'
  version: '$1'

- regex: 'iOS(?:; |/)((?:9|1[0-6]).\d+(?:[_\.]\d+)*) (?:model/)?AppleTV'
  name: 'tvOS'
  version: '$1'

##########
# watchOS (https://developer.apple.com/watchos/)
##########
- regex: '(?:Watch1,[12]/|Watch OS,|watchOS[ /])(\d+[\.\d]*)'
  name: 'watchOS'
  version: '$1'
- regex: 'Apple Watch(?!;)'
  name: 'watchOS'
  version: ''

##########
# iPadOS (https://www.apple.com/ipados/)
##########
- regex: 'FBMD/iPad;.*FBSV/ ?(1[3-6]).(\d+[\.\d]*);'
  name: 'iPadOS'
  version: '$1.$2'

- regex: 'iPad(?:OS)?/(1[3-6]).(\d+[\.\d]*)'
  name: 'iPadOS'
  version: '$1.$2'

- regex: '^iPad(?:\d+[\,\d]*)/(1[3-6]).(\d+[\.\d]*)'
  name: 'iPadOS'
  version: '$1.$2'

- regex: 'iPad(?:; (?:iOS|iPadOS|iPhone OS)|.+CPU OS) ((1[3-6])+(?:[_\.]\d+)*)'
  name: 'iPadOS'
  version: '$1'

- regex: 'iOS/(1[3-6]).(\d+[\.\d]*).+Apple/iPad'
  name: 'iPadOS'
  version: '$1.$2'

- regex: 'iPhone OS,(1[3-6]).(\d+[\.\d]*).+iPad'
  name: 'iPadOS'
  version: '$1.$2'

##########
# iOS
##########
- regex: 'iPad/([89]|1[012]).(\d+[\.\d]*)'
  name: 'iOS'
  version: '$1.$2'

- regex: '^(?:iPad|iPhone)(?:\d+[\,\d]*)[/_](\d+[\.\d]+)'
  name: 'iOS'
  version: '$1'

- regex: 'Pinterest for iOS/.*; (\d(?:[\d\.]*))[)]$'
  name: 'iOS'
  version: '$1'

- regex: 'iOS (\d+[\.\d]+)\)'
  name: 'iOS'
  version: '$1'

- regex: '(?:iPhone ?OS|iOS(?: Version)?)(?:/|; |,)(\d+[\.\d]+)'
  name: 'iOS'
  version: '$1'

- regex: '^(?!com.apple.Safari.SearchHelper).*CFNetwork/.+ Darwin/(\d+[\.\d]+)(?!.*(?:x86_64|i386|PowerMac|Power%20Macintosh))'
  name: 'iOS'
  versions:
    - regex: 'Darwin/22.3.0'
      version: '16.3'
    - regex: 'Darwin/22.2.0'
      version: '16.2'
    - regex: 'Darwin/22.1.0'
      version: '16.1'
    - regex: 'Darwin/22.0.0'
      version: '16.0'
    - regex: 'Darwin/21.6.0'
      version: '15.6'
    - regex: 'Darwin/21.5.0'
      version: '15.5'
    - regex: 'Darwin/21.4.0'
      version: '15.4'
    - regex: 'Darwin/21.3.0'
      version: '15.3'
    - regex: 'Darwin/21.2.0'
      version: '15.2'
    - regex: 'Darwin/21.1.0'
      version: '15.1'
    - regex: 'Darwin/21.0.0'
      version: '15.0'
    - regex: 'Darwin/20.6.0'
      version: '14.7'
    - regex: 'Darwin/20.5.0'
      version: '14.6'
    - regex: 'Darwin/20.4.0'
      version: '14.5'
    - regex: 'Darwin/20.3.0'
      version: '14.4'
    - regex: 'Darwin/20.2.0'
      version: '14.3'
    - regex: 'Darwin/20.1.0'
      version: '14.2'
    - regex: 'Darwin/20.0.0'
      version: '14.0'
    - regex: 'Darwin/19.6.0'
      version: '13.6'
    - regex: 'Darwin/19.5.0'
      version: '13.5'
    - regex: 'Darwin/19.4.0'
      version: '13.4'
    - regex: 'Darwin/19.3.0'
      version: '13.3.1'
    - regex: 'Darwin/19.2.0'
      version: '13.3'
    - regex: 'Darwin/19.0.0'
      version: '13.0'
    - regex: 'Darwin/18.7.0'
      version: '12.4'
    - regex: 'Darwin/18.6.0'
      version: '12.3'
    - regex: 'Darwin/18.5.0'
      version: '12.2'
    - regex: 'Darwin/18.2.0'
      version: '12.1'
    - regex: 'Darwin/18.0.0'
      version: '12.0'
    - regex: 'Darwin/17.7.0'
      version: '11.4.1'
    - regex: 'Darwin/17.6.0'
      version: '11.4'
    - regex: 'Darwin/17.5.0'
      version: '11.3'
    - regex: 'Darwin/17.4.0'
      version: '11.2.6'
    - regex: 'Darwin/17.3.0'
      version: '11.2'
    - regex: 'CFNetwork/889'
      version: '11.1'
    - regex: 'CFNetwork/887'
      version: '11.0'
    - regex: 'CFNetwork/811'
      version: '10.3'
    - regex: 'CFNetwork/808\.3'
      version: '10.3'
    - regex: 'CFNetwork/808\.2'
      version: '10.2'
    - regex: 'CFNetwork/808\.1'
      version: '10.1'
    - regex: 'CFNetwork/808\.0'
      version: '10.0'
    - regex: 'CFNetwork/808'
      version: '10'
    - regex: 'CFNetwork/758\.5\.3'
      version: '9.3.5'
    - regex: 'CFNetwork/758\.4\.3'
      version: '9.3.2'
    - regex: 'CFNetwork/758\.3\.15'
      version: '9.3'
    - regex: 'CFNetwork/758\.2\.[78]'
      version: '9.2'
    - regex: 'CFNetwork/758\.1\.6'
      version: '9.1'
    - regex: 'CFNetwork/758\.0\.2'
      version: '9.0'
    - regex: 'CFNetwork/711\.5\.6'
      version: '8.4.1'
    - regex: 'CFNetwork/711\.4\.6'
      version: '8.4'
    - regex: 'CFNetwork/711\.3\.18'
      version: '8.3'
    - regex: 'CFNetwork/711\.2\.23'
      version: '8.2'
    - regex: 'CFNetwork/711\.1\.1[26]'
      version: '8.1'
    - regex: 'CFNetwork/711\.0\.6'
      version: '8.0'
    - regex: 'CFNetwork/672\.1'
      version: '7.1'
    - regex: 'CFNetwork/672\.0'
      version: '7.0'
    - regex: 'CFNetwork/609\.1'
      version: '6.1'
    - regex: 'CFNetwork/60[29]'
      version: '6.0'
    - regex: 'CFNetwork/548\.1'
      version: '5.1'
    - regex: 'CFNetwork/548\.0'
      version: '5.0'
    - regex: 'CFNetwork/485\.13'
      version: '4.3'
    - regex: 'CFNetwork/485\.12'
      version: '4.2'
    - regex: 'CFNetwork/485\.10'
      version: '4.1'
    - regex: 'CFNetwork/485\.2'
      version: '4.0'
    - regex: 'CFNetwork/467\.12'
      version: '3.2'
    - regex: 'CFNetwork/459'
      version: '3.1'

- regex: '(?:iPhone|iPod_touch)/(\d+[\.\d]*) hw/'
  name: 'iOS'
  version: '$1'

- regex: 'iOS(\d+\.\d+\.\d+)'
  name: 'iOS'
  version: '$1'

- regex: 'iOS(\d+)\.(\d+)0'
  name: 'iOS'
  version: '$1.$2'

- regex: 'iPhone OS ([0-9]{1})([0-9]{1})([0-9]{1})'
  name: 'iOS'
  version: '$1.$2.$3'

- regex: '(?:CPU OS|iPh(?:one)?[ _]OS|iPhone.+ OS|iOS)[ _/](\d+(?:[_\.]\d+)*)'
  name: 'iOS'
  version: '$1'

- regex: 'FBMD/iPhone;.*FBSV/ ?(\d+[\.\d]+);'
  name: 'iOS'
  version: '$1'

- regex: '(?:FBIOS|Messenger(?:Lite)?ForiOS).*FBSV/ ?(\d+[\.\d]*);'
  name: 'iOS'
  version: '$1'

- regex: 'iPhone OS,([\d\.]+).+(?:iPhone|iPod)'
  name: 'iOS'
  version: '$1'

- regex: 'iPad.+; (\d+[\.\d]+);'
  name: 'iOS'
  version: '$1'

- regex: 'iPhone.+; Version (\d+[\.\d]+)'
  name: 'iOS'
  version: '$1'

- regex: 'OS=iOS;OSVer=(\d+[\.\d]+);'
  name: 'iOS'
  version: '$1'

- regex: 'os=Apple-iOS.+osversion=(\d+[\.\d]+)/'
  name: 'iOS'
  version: '$1'

- regex: '(?:Apple-)?(?<!like )(?:iPhone|iPad|iPod)(?:.*Mac OS X.*Version/(\d+\.\d+)|; Opera)?'
  name: 'iOS'
  version: '$1'

- regex: 'dv\(iPh.+ov\((\d+(?:[_\.]\d+)*)\);'
  name: 'iOS'
  version: '$1'

- regex: '(?:Podcasts/(?:[\d\.]+)|Instacast(?:HD)?/(?:\d\.[\d\.abc]+)|Pocket Casts, iOS|\(iOS\)|iOS; Opera|Overcast|Castro|Podcat|iCatcher|RSSRadio/|MobileSafari/)(?!.*x86_64)'
  name: 'iOS'
  version: ''

- regex: 'iTunes-(AppleTV|iPod|iPad|iPhone)/(?:[\d\.]+)'
  name: 'iOS'
  version: ''

- regex: 'iOS/Version ([\d\.]+)'
  name: 'iOS'
  version: '$1'

- regex: 'Sonos/.+\(ICRU_'
  name: 'iOS'
  version: ''

- regex: 'CaptiveNetworkSupport|AirPlay'
  name: 'iOS'
  version: ''

##########
# Mac
##########
- regex: 'CFNetwork/.+ Darwin/(?:[\d\.]+).+(?:x86_64|i386|Power%20Macintosh)|(?:x86_64-apple-)?darwin(?:[\d\.]+)|PowerMac|com.apple.Safari.SearchHelper'
  name: 'Mac'
  versions:
    - regex: '(?:x86_64-apple-)?Darwin/?22.3.0'
      version: '13.2'
    - regex: '(?:x86_64-apple-)?Darwin/?22.2.0'
      version: '13.1'
    - regex: '(?:x86_64-apple-)?Darwin/?22.1.0'
      version: '13.0.1'
    - regex: '(?:x86_64-apple-)?Darwin/?22.0.0'
      version: '13.0'
    - regex: '(?:x86_64-apple-)?Darwin/?21.6.0'
      version: '12.5'
    - regex: '(?:x86_64-apple-)?Darwin/?21.5.0'
      version: '12.4'
    - regex: '(?:x86_64-apple-)?Darwin/?21.4.0'
      version: '12.3'
    - regex: '(?:x86_64-apple-)?Darwin/?21.3.0'
      version: '12.2'
    - regex: '(?:x86_64-apple-)?Darwin/?21.2.0'
      version: '12.1'
    - regex: '(?:x86_64-apple-)?Darwin/?21.1.0'
      version: '12.0.1'
    - regex: '(?:x86_64-apple-)?Darwin/?21.0.0'
      version: '12.0'
    - regex: '(?:x86_64-apple-)?Darwin/?20.6.0'
      version: '11.5'
    - regex: '(?:x86_64-apple-)?Darwin/?20.5.0'
      version: '11.4'
    - regex: '(?:x86_64-apple-)?Darwin/?20.4.0'
      version: '11.3'
    - regex: '(?:x86_64-apple-)?Darwin/?20.3.0'
      version: '11.2'
    - regex: '(?:x86_64-apple-)?Darwin/?20.2.0.*'
      version: '11.1'
    - regex: '(?:x86_64-apple-)?Darwin/?20.[01].0'
      version: '11.0'
    - regex: '(?:x86_64-apple-)?Darwin/?19.6.0'
      version: '10.15.6'
    - regex: '(?:x86_64-apple-)?Darwin/?19.5.0'
      version: '10.15.5'
    - regex: '(?:x86_64-apple-)?Darwin/?19.4.0'
      version: '10.15.4'
    - regex: '(?:x86_64-apple-)?Darwin/?19.3.0'
      version: '10.15.3'
    - regex: '(?:x86_64-apple-)?Darwin/?19.2.0'
      version: '10.15.2'
    - regex: '(?:x86_64-apple-)?Darwin/?19.0.0'
      version: '10.15'
    - regex: '(?:x86_64-apple-)?Darwin/?18.7.0'
      version: '10.14'
    - regex: '(?:x86_64-apple-)?Darwin/?18.6.0'
      version: '10.14.5'
    - regex: '(?:x86_64-apple-)?Darwin/?18.5.0'
      version: '10.14.4'
    - regex: '(?:x86_64-apple-)?Darwin/?18.2.0'
      version: '10.14.1'
    - regex: '(?:x86_64-apple-)?Darwin/?18.0.0'
      version: '10.14'
    - regex: '(?:x86_64-apple-)?Darwin/?17.7.0'
      version: '10.13.6'
    - regex: '(?:x86_64-apple-)?Darwin/?17.6.0'
      version: '10.13.5'
    - regex: '(?:x86_64-apple-)?Darwin/?17.5.0'
      version: '10.13.4'
    - regex: '(?:x86_64-apple-)?Darwin/?17.4.0'
      version: '10.13.3'
    - regex: '(?:x86_64-apple-)?Darwin/?17.3.0'
      version: '10.13.2'
    - regex: '(?:x86_64-apple-)?Darwin/?17.2.0'
      version: '10.13.1'
    - regex: '(?:x86_64-apple-)?Darwin/?17.0.0'
      version: '10.13'
    - regex: '(?:x86_64-apple-)?Darwin/?16.7.0'
      version: '10.12.6'
    - regex: '(?:x86_64-apple-)?Darwin/?16.6.0'
      version: '10.12.5'
    - regex: '(?:x86_64-apple-)?Darwin/?16.5.0'
      version: '10.12.4'
    - regex: '(?:x86_64-apple-)?Darwin/?16.4.0'
      version: '10.12.3'
    - regex: '(?:x86_64-apple-)?Darwin/?16.3.0'
      version: '10.12.2'
    - regex: '(?:x86_64-apple-)?Darwin/?16.2.0'
      version: '10.12.2'
    - regex: '(?:x86_64-apple-)?Darwin/?16.1.0'
      version: '10.12.1'
    - regex: '(?:x86_64-apple-)?Darwin/?16.0.0'
      version: '10.12'
    - regex: '(?:x86_64-apple-)?Darwin/?15.6.0'
      version: '10.11.6'
    - regex: '(?:x86_64-apple-)?Darwin/?15.5.0'
      version: '10.11.5'
    - regex: '(?:x86_64-apple-)?Darwin/?15.4.0'
      version: '10.11.4'
    - regex: '(?:x86_64-apple-)?Darwin/?15.3.0'
      version: '10.11.3'
    - regex: '(?:x86_64-apple-)?Darwin/?15.2.0'
      version: '10.11.2'
    - regex: 'CFNetwork/760'
      version: '10.11'
    - regex: '(?:x86_64-apple-)?Darwin/?14.5.0'
      version: '10.10.5'
    - regex: '(?:x86_64-apple-)?Darwin/?14.4.0'
      version: '10.10.4'
    - regex: '(?:x86_64-apple-)?Darwin/?14.3.0'
      version: '10.10.3'
    - regex: '(?:x86_64-apple-)?Darwin/?14.1.0'
      version: '10.10.2'
    - regex: '(?:x86_64-apple-)?Darwin/?14.0.0'
      version: '10.10'
    - regex: '(?:x86_64-apple-)?Darwin/?13.4.0'
      version: '10.9.5'
    - regex: '(?:x86_64-apple-)?Darwin/?13.3.0'
      version: '10.9.4'
    - regex: '(?:x86_64-apple-)?Darwin/?13.2.0'
      version: '10.9.3'
    - regex: '(?:x86_64-apple-)?Darwin/?13.1.0'
      version: '10.9.2'
    - regex: '(?:x86_64-apple-)?Darwin/?13.0.0'
      version: '10.9.0'
    - regex: '(?:x86_64-apple-)?Darwin/?12.6.0'
      version: '10.8.5'
    - regex: '(?:x86_64-apple-)?Darwin/?12.5.0'
      version: '10.8.5'
    - regex: '(?:x86_64-apple-)?Darwin/?12.4.0'
      version: '10.8.4'
    - regex: '(?:x86_64-apple-)?Darwin/?12.3.0'
      version: '10.8.3'
    - regex: '(?:x86_64-apple-)?Darwin/?12.2.0'
      version: '10.8.2'
    - regex: '(?:x86_64-apple-)?Darwin/?12.1.0'
      version: '10.8.1'
    - regex: '(?:x86_64-apple-)?Darwin/?11.5.0'
      version: '10.7.5'
    - regex: '(?:x86_64-apple-)?Darwin/?11.4.2'
      version: '10.7.5'
    - regex: '(?:x86_64-apple-)?Darwin/?11.4.0'
      version: '10.7.4'
    - regex: '(?:x86_64-apple-)?Darwin/?11.3.0'
      version: '10.7.3'
    - regex: '(?:x86_64-apple-)?Darwin/?11.2.0'
      version: '10.7.2'
    - regex: '(?:x86_64-apple-)?Darwin/?11.1.0'
      version: '10.7.1'
    - regex: '(?:x86_64-apple-)?Darwin/?10.8.0'
      version: '10.6.8'
    - regex: '(?:x86_64-apple-)?Darwin/?10.7.[34]'
      version: '10.6.7'
    - regex: '(?:x86_64-apple-)?Darwin/?10.3.0'
      version: '10.6.3'
    - regex: '(?:x86_64-apple-)?Darwin/?10.0.0'
      version: '10.6'
    - regex: '(?:x86_64-apple-)?Darwin/?9.8.0'
      version: '10.5.8'
    - regex: '(?:x86_64-apple-)?Darwin/?9.7.1'
      version: '10.5.7'
    - regex: '(?:x86_64-apple-)?Darwin/?9.6.2'
      version: '10.5.6'
    - regex: '(?:x86_64-apple-)?Darwin/?9.5.[05]'
      version: '10.5.5'

- regex: 'Macintosh;Mac OS X \((\d+[\.\d]+)\);'
  name: 'Mac'
  version: '$1'

- regex: 'Mac[ +]OS[ +]?X(?:[ /,](?:Version )?(\d+(?:[_\.]\d+)+))?'
  name: 'Mac'
  version: '$1'

- regex: 'Mac (?:OS/)?(\d+(?:[_\.]\d+)+)'
  name: 'Mac'
  version: '$1'

- regex: '(?:macOS[ /,]|Mac-)(\d+[\.\d]+)'
  name: 'Mac'
  version: '$1'

- regex: 'Macintosh; OS X (\d+[\.\d]+)'
  name: 'Mac'
  version: '$1'

- regex: 'Darwin|Macintosh|Mac_PowerPC|PPC|Mac PowerPC|iMac|MacBook|macOS|AppleExchangeWebServices|com.apple.trustd|Sonos/.+\(MDCR_'
  name: 'Mac'
  version: ''

##########
# SeewoOS
##########
- regex: 'SeewoOS x86_64 (\d+[\.\d]+)'
  name: 'SeewoOS'
  version: '$1'

##########
# ChromeOS
##########
- regex: 'CrOS [a-z0-9_]+ (\d+[\.\d]+)'
  name: 'Chrome OS'
  version: '$1'

##########
# Fuchsia
##########
- regex: 'Fuchsia'
  name: 'Fuchsia'
  version: ''

##########
# BlackBerry
##########
- regex: '(?:BB10;.+Version|Black[Bb]erry[0-9a-z]+|Black[Bb]erry.+Version)/(\d+[\.\d]+)'
  name: 'BlackBerry OS'
  version: '$1'

- regex: 'RIM Tablet OS (\d+[\.\d]+)'
  name: 'BlackBerry Tablet OS'
  version: '$1'

- regex: 'RIM Tablet OS|QNX|Play[Bb]ook'
  name: 'BlackBerry Tablet OS'
  version: ''

- regex: 'BlackBerry'
  name: 'BlackBerry OS'
  version: ''

- regex: 'bPod'
  name: 'BlackBerry OS'
  version: ''

##########
# BeOS
##########
- regex: 'BeOS'
  name: 'BeOS'
  version: ''

##########
# Symbian
##########
- regex: 'Symbian/3.+NokiaBrowser/7\.3'
  name: 'Symbian^3'
  version: 'Anna'

- regex: 'Symbian/3.+NokiaBrowser/7\.4'
  name: 'Symbian^3'
  version: 'Belle'

- regex: 'Symbian/3'
  name: 'Symbian^3'
  version: ''

- regex: '(?:Series ?60|SymbOS|S60)(?:[ /]?(\d+[\.\d]+|V\d+))?'
  name: 'Symbian OS Series 60'
  version: '$1'

- regex: 'Series40'
  name: 'Symbian OS Series 40'
  version: ''

- regex: 'SymbianOS/(\d+[\.\d]+)'
  name: 'Symbian OS'
  version: '$1'

- regex: 'MeeGo|WeTab'
  name: 'MeeGo'
  version: ''

- regex: 'Symbian(?: OS)?|SymbOS'
  name: 'Symbian OS'
  version: ''

- regex: 'Nokia'
  name: 'Symbian'
  version: ''

##########
# Firefox OS
##########
- regex: '(?:Mobile|Tablet);.+Firefox/\d+\.\d+'
  name: 'Firefox OS'
  version: ''

##########
# RISC OS
##########
- regex: 'RISC OS(?:-NC)?(?:[ /](\d+[\.\d]+))?'
  name: 'RISC OS'
  version: '$1'

##########
# Inferno
##########
- regex: 'Inferno(?:[ /](\d+[\.\d]+))?'
  name: 'Inferno'
  version: '$1'

##########
# Bada
##########
- regex: 'bada(?:[ /](\d+[\.\d]+))?'
  name: 'Bada'
  version: '$1'

##########
# REX
##########
- regex: 'REX; U;'
  name: 'REX'
  version: ''

##########
# Brew
##########
- regex: '(?:Brew(?!-Applet)(?: MP)?|BMP)(?:[ /](\d+[\.\d]+))?'
  name: 'Brew'
  version: '$1'

##########
# Web TV
##########
- regex: 'GoogleTV(?:[ /](\d+[\.\d]+))?'
  name: 'Google TV'
  version: '$1'

- regex: 'AppleTV(?:/?(\d+[\.\d]+))?'
  name: 'tvOS'
  version: '$1'

- regex: 'WebTV/(\d+[\.\d]+)'
  name: 'WebTV'
  version: '$1'


##########
# Unix
##########
- regex: '(?:SunOS|Solaris)(?:[/ ](\d+[\.\d]+))?'
  name: 'Solaris'
  version: '$1'

- regex: 'AIX(?:[/ ]?(\d+[\.\d]+))?'
  name: 'AIX'
  version: '$1'

- regex: 'HP-UX(?:[/ ]?(\d+[\.\d]+))?'
  name: 'HP-UX'
  version: '$1'

- regex: 'FreeBSD(?:[/ ]?(\d+[\.\d]+))?'
  name: 'FreeBSD'
  version: '$1'

- regex: 'NetBSD(?:[/ ]?(\d+[\.\d]+))?'
  name: 'NetBSD'
  version: '$1'

- regex: 'OpenBSD(?:[/ ]?(\d+[\.\d]+))?'
  name: 'OpenBSD'
  version: '$1'

- regex: 'DragonFly(?:[/ ]?(\d+[\.\d]+))?'
  name: 'DragonFly'
  version: '$1'

- regex: 'Syllable(?:[/ ]?(\d+[\.\d]+))?'
  name: 'Syllable'
  version: '$1'

- regex: 'IRIX(?:;64)?(?:[/ ]?(\d+[\.\d]+))'
  name: 'IRIX'
  version: '$1'

- regex: 'OSF1(?:[/ ]?v?(\d+[\.\d]+))?'
  name: 'OSF1'
  version: '$1'

##########
# Gaming Console
##########
- regex: 'Nintendo (Wii|Switch)'
  name: 'Nintendo'
  version: '$1'

- regex: 'PlayStation.+; Linux (\d+[\.\d]+)'
  name: 'PlayStation'
  version: '$1'

- regex: 'PlayStation ?(\d)(?:[/ ](?:Pro )?(\d+[\.\d]+))?'
  name: 'PlayStation'
  version: '$1.$2'

- regex: 'Xbox|KIN\.(?:One|Two)'
  name: 'Xbox'
  version: '360'

##########
# Mobile Gaming Console
##########
- regex: 'Nitro|Nintendo ([3]?DS[i]?)'
  name: 'Nintendo Mobile'
  version: '$1'

- regex: 'PlayStation ((?:Portable|Vita))'
  name: 'PlayStation Portable'
  version: '$1'

##########
# IBM
##########
- regex: 'OS/2'
  name: 'OS/2'
  version: ''

###########
# Linux (Generic)
###########
- regex: 'Linux/(\d+[\.\d]+)'
  name: 'GNU/Linux'
  version: '$1'

- regex: 'Linux(?:OS)?[^a-z]|Cinnamon/(?:\d+[\.\d]+)|.+(?:pc|unknown)-linux-gnu'
  name: 'GNU/Linux'
  version: ''

##########
# Java ME (Java Platform, Micro Edition)
##########
- regex: 'Java ME|(J2ME|Profile)/MIDP|MIDP-(?:\d+[\.\d]+)/CLDC|Configuration/CLDC|Java; U; MIDP|MMP/\d.\d'
  name: 'Java ME'
  version: ''
