=8com/ustadmobile/countrylookupserver/service/GeoIpServicejava/lang/Object(Ljava/lang/String;)V#Lorg/jetbrains/annotations/NotNull; databasePathkotlin/jvm/internal/Intrinsics checkNotNullParameter'(Ljava/lang/Object;Ljava/lang/String;)V ()V  org/slf4j/LoggerFactory getLogger%(Ljava/lang/Class;)Lorg/slf4j/Logger;  loggerLorg/slf4j/Logger;  0Initializing GeoIP service with database path: $java/lang/invoke/StringConcatFactorymakeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; !" #$&(Ljava/lang/String;)Ljava/lang/String; !&'org/slf4j/Logger)info + *, java/io/File.  /0exists()Z 23 /4java/lang/IllegalStateException6&GeoLite2 database file not found at: 8' 70)com/maxmind/geoip2/DatabaseReader$Builder<(Ljava/io/File;)V > =?build%()Lcom/maxmind/geoip2/DatabaseReader; AB =C build(...)EcheckNotNullExpressionValue G HdatabaseReader#Lcom/maxmind/geoip2/DatabaseReader; JK L&GeoIP service initialized successfullyNdbFileLjava/io/File;this:Lcom/ustadmobile/countrylookupserver/service/GeoIpService;Ljava/lang/String;java/lang/StringUgetCountryForIpN(Ljava/lang/String;)Lcom/ustadmobile/countrylookupserver/data/CountryResponse;5com/maxmind/geoip2/exception/AddressNotFoundExceptionYjava/lang/Exception[ ipAddress]Getting country for IP: _'debug b *cjava/net/InetAddresse getByName*(Ljava/lang/String;)Ljava/net/InetAddress; gh fiisLoopbackAddress k3 flisSiteLocalAddress n3 fo IP address  is local or privateq'warn t *u8com/ustadmobile/countrylookupserver/data/CountryResponsewfaily private range{(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V } x~!com/maxmind/geoip2/DatabaseReadercountryB(Ljava/net/InetAddress;)Lcom/maxmind/geoip2/model/CountryResponse; (com/maxmind/geoip2/model/CountryResponse getCountry%()Lcom/maxmind/geoip2/record/Country; !com/maxmind/geoip2/record/Country getIsoCode()Ljava/lang/String; (Successfully resolved IP  to country: 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; !successgetName +IP  resolved but no country data available'reserved range&Address not found in GeoIP database: 'java/lang/Throwable*(Ljava/lang/String;Ljava/lang/Throwable;)V t *-Unexpected error looking up country for IP: 'error * Query failed inetAddressLjava/net/InetAddress;response*Lcom/maxmind/geoip2/model/CountryResponse; countryCodee7Lcom/maxmind/geoip2/exception/AddressNotFoundException;Ljava/lang/Exception;closeClosing GeoIP service  Lkotlin/Metadata;mv kxi0d1.          20B 0¢J 0 J 0 20R0X‚¢ R *00X‚¢ ¨d2kotlin.jvm.PlatformType:Lcom/ustadmobile/countrylookupserver/data/CountryResponse;ipaddr-country-lookup-serverBuilderGeoIpService.ktRuntimeInvisibleAnnotationsCode StackMapTableLineNumberTableLocalVariableTable$RuntimeInvisibleParameterAnnotations InnerClasses SourceFileRuntimeVisibleAnnotationsBootstrapMethods1JKc+ ***+(-/Y+1M,57Y+:;*=Y,@DYFIM*O-AV/.  #,3AVab ,5PQcRScTWX  +^*+ad+jM,m ,p$*+svxYz|+*M,N-Y W:7*+dxY-Y W+#*+dxYz+M*+,xYz+M*+,xYz+Z\ )f VfAV-VfV{{VVVfV{{VVV _xVZe\. )!8"<#>"@$B%C"J)S*e,j-{./01.2.5676896,=>?@?AB?DEFGFHIFHSleZT%% RS ]TE*-*MO PQ RS =[[IIIII[s[sSsssssJsKssssssWss]s2%%9%`%r%%%%