/* Ċ Ġ* Ġ ĠCopyright Ġ 2 0 1 9 ĠArc us ĠProject . Ċ Ġ* Ċ Ġ* Ġ ĠLicensed Ġunder Ġthe ĠApache ĠLicense , ĠVersion Ġ 2 . 0 Ġ( the Ġ" License "); Ċ Ġ* Ġ Ġyou Ġmay Ġnot Ġuse Ġthis Ġfile Ġexcept Ġin Ġcompliance Ġwith Ġthe ĠLicense . Ċ Ġ* Ġ ĠYou Ġmay Ġobtain Ġa Ġcopy Ġof Ġthe ĠLicense Ġat Ċ Ġ* Ċ Ġ* ĠĠĠĠĠ Ġhttp :// www . apache . org / licenses / LICENSE - 2 . 0 Ċ Ġ* Ċ Ġ* Ġ ĠUnless Ġrequired Ġby Ġapplicable Ġlaw Ġor Ġagreed Ġto Ġin Ġwriting , Ġsoftware Ċ Ġ* Ġ Ġdistributed Ġunder Ġthe ĠLicense Ġis Ġdistributed Ġon Ġan Ġ" AS ĠIS " ĠBASIS , Ċ Ġ* Ġ ĠWITHOUT ĠWARRANTIES ĠOR ĠCONDITIONS ĠOF ĠANY ĠKIND , Ġeither Ġexpress Ġor Ġimplied . Ċ Ġ* Ġ ĠSee Ġthe ĠLicense Ġfor Ġthe Ġspecific Ġlanguage Ġgoverning Ġpermissions Ġand Ċ Ġ* Ġ Ġlimitations Ġunder Ġthe ĠLicense . Ċ Ġ*/ Ċ @ file : Jvm Name (" Kit Common Ext ") Ċ package Ġar cus . presentation . pair ing . hub . activation Ċ Ċ import Ġcom . iris . client . model . Device Model Ċ import Ġcom . iris . client . model . Pair ing Device Model Ċ import Ġar cus . presentation . pair ing . CUSTOM IZATION _ COMPLETE ĊĊ Ċ type alias ĠProtocol Address Ġ= ĠString Ċ type alias ĠProduct Address Ġ Ġ= ĠString Ċ type alias ĠInitial Meta Devices Ġ= ĠTrip le < Map < Protocol Address , ĠProduct Address >, ĠList < Pair ing Device Model >, ĠList < Device Model >> Ċ type alias ĠPair Dev Pair Ġ= ĠPair < Product Address , ĠPair ing Device Model > Ċ type alias ĠParsed Meta Devices Ġ= ĠTrip le < Map < Protocol Address , ĠProduct Address >, ĠList < Pair Dev Pair >, ĠList < Device Model >> Ċ Ċ internal Ġconst Ġval ĠK IT _ TAG Ġ= Ġ" KIT " Ċ internal Ġfun ĠPair ing Device Model . is Kit Device () Ġ: ĠBoolean Ġ= Ġtags ?. any Ġ{ ĠK IT _ TAG . equals ( it , Ġtrue ) Ġ} Ġ== Ġtrue Ċ internal Ġfun ĠPair ing Device Model . is Custom ized () Ġ: ĠBoolean Ġ= Ġcustom izations ?. contains ( CUSTOM IZATION _ COMPLETE ) Ġ== Ġtrue Ċ