package hanson.xyz.vpnhotspotmod.manage;

@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000\u009a\u0001\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\"\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010$\n\u0002\u0010\u000e\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\b\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010 \n\u0002\b\u0002\u0018\u00002\u00020\u00012\u00020\u00022\u00020\u0003:\u0001CB\u0005\u00a2\u0006\u0002\u0010\u0004J$\u0010,\u001a\u00020-2\u0006\u0010.\u001a\u00020/2\b\u00100\u001a\u0004\u0018\u0001012\b\u00102\u001a\u0004\u0018\u000103H\u0016J\b\u00104\u001a\u000205H\u0016J\u0012\u00106\u001a\u00020\b2\b\u00107\u001a\u0004\u0018\u000108H\u0016J\b\u00109\u001a\u000205H\u0016J\u001c\u0010:\u001a\u0002052\b\u0010;\u001a\u0004\u0018\u00010<2\b\u0010=\u001a\u0004\u0018\u00010>H\u0016J\u0012\u0010?\u001a\u0002052\b\u0010;\u001a\u0004\u0018\u00010<H\u0016J\u0018\u0010@\u001a\u0002052\u000e\b\u0002\u0010A\u001a\b\u0012\u0004\u0012\u00020\u001b0BH\u0002R\u0012\u0010\u0005\u001a\u00060\u0006R\u00020\u0000X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0007\u001a\u00020\bX\u0082\u000e\u00a2\u0006\u0002\n\u0000R \u0010\t\u001a\b\u0018\u00010\nR\u00020\u000bX\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\f\u0010\r\"\u0004\b\u000e\u0010\u000fR\u000e\u0010\u0010\u001a\u00020\u0011X\u0082.\u00a2\u0006\u0002\n\u0000R \u0010\u0012\u001a\b\u0012\u0004\u0012\u00020\u00140\u0013X\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\u0015\u0010\u0016\"\u0004\b\u0017\u0010\u0018R&\u0010\u0019\u001a\u000e\u0012\u0004\u0012\u00020\u001b\u0012\u0004\u0012\u00020\u001c0\u001aX\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\u001d\u0010\u001e\"\u0004\b\u001f\u0010 R\u000e\u0010!\u001a\u00020\"X\u0082\u0004\u00a2\u0006\u0002\n\u0000R$\u0010#\u001a\u0010\u0012\f\u0012\n %*\u0004\u0018\u00010\u001b0\u001b0$8\u0006X\u0087\u0004\u00a2\u0006\b\n\u0000\u001a\u0004\b&\u0010\'R\u001f\u0010(\u001a\u0010\u0012\f\u0012\n %*\u0004\u0018\u00010\u001b0\u001b0$\u00a2\u0006\b\n\u0000\u001a\u0004\b)\u0010\'R$\u0010*\u001a\u0010\u0012\f\u0012\n %*\u0004\u0018\u00010\u001b0\u001b0$8\u0006X\u0087\u0004\u00a2\u0006\b\n\u0000\u001a\u0004\b+\u0010\'\u00a8\u0006D"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/TetheringFragment;", "Landroidx/fragment/app/Fragment;", "Landroid/content/ServiceConnection;", "Landroidx/appcompat/widget/Toolbar$OnMenuItemClickListener;", "()V", "adapter", "Lhanson/xyz/vpnhotspotmod/manage/TetheringFragment$ManagerAdapter;", "apConfigurationRunning", "", "binder", "Lhanson/xyz/vpnhotspotmod/TetheringService$Binder;", "Lhanson/xyz/vpnhotspotmod/TetheringService;", "getBinder", "()Lhanson/xyz/vpnhotspotmod/TetheringService$Binder;", "setBinder", "(Lhanson/xyz/vpnhotspotmod/TetheringService$Binder;)V", "binding", "Lhanson/xyz/vpnhotspotmod/databinding/FragmentTetheringBinding;", "enabledTypes", "", "Lhanson/xyz/vpnhotspotmod/net/TetherType;", "getEnabledTypes", "()Ljava/util/Set;", "setEnabledTypes", "(Ljava/util/Set;)V", "ifaceLookup", "", "", "Ljava/net/NetworkInterface;", "getIfaceLookup", "()Ljava/util/Map;", "setIfaceLookup", "(Ljava/util/Map;)V", "receiver", "Landroid/content/BroadcastReceiver;", "requestBluetooth", "Landroidx/activity/result/ActivityResultLauncher;", "kotlin.jvm.PlatformType", "getRequestBluetooth", "()Landroidx/activity/result/ActivityResultLauncher;", "startLocalOnlyHotspot", "getStartLocalOnlyHotspot", "startRepeater", "getStartRepeater", "onCreateView", "Landroid/view/View;", "inflater", "Landroid/view/LayoutInflater;", "container", "Landroid/view/ViewGroup;", "savedInstanceState", "Landroid/os/Bundle;", "onDestroyView", "", "onMenuItemClick", "item", "Landroid/view/MenuItem;", "onResume", "onServiceConnected", "name", "Landroid/content/ComponentName;", "service", "Landroid/os/IBinder;", "onServiceDisconnected", "updateMonitorList", "canMonitor", "", "ManagerAdapter", "mobile_freedomDebug"})
public final class TetheringFragment extends androidx.fragment.app.Fragment implements android.content.ServiceConnection, androidx.appcompat.widget.Toolbar.OnMenuItemClickListener {
    @androidx.annotation.RequiresApi(value = 29)
    @org.jetbrains.annotations.NotNull
    private final androidx.activity.result.ActivityResultLauncher<java.lang.String> startRepeater = null;
    @org.jetbrains.annotations.NotNull
    private final androidx.activity.result.ActivityResultLauncher<java.lang.String> startLocalOnlyHotspot = null;
    @androidx.annotation.RequiresApi(value = 31)
    @org.jetbrains.annotations.NotNull
    private final androidx.activity.result.ActivityResultLauncher<java.lang.String> requestBluetooth = null;
    @org.jetbrains.annotations.NotNull
    private java.util.Map<java.lang.String, java.net.NetworkInterface> ifaceLookup;
    @org.jetbrains.annotations.NotNull
    private java.util.Set<? extends hanson.xyz.vpnhotspotmod.net.TetherType> enabledTypes;
    private hanson.xyz.vpnhotspotmod.databinding.FragmentTetheringBinding binding;
    @org.jetbrains.annotations.Nullable
    private hanson.xyz.vpnhotspotmod.TetheringService.Binder binder;
    @org.jetbrains.annotations.NotNull
    private final hanson.xyz.vpnhotspotmod.manage.TetheringFragment.ManagerAdapter adapter = null;
    @org.jetbrains.annotations.NotNull
    private final android.content.BroadcastReceiver receiver = null;
    private boolean apConfigurationRunning = false;
    
    public TetheringFragment() {
        super();
    }
    
    @org.jetbrains.annotations.NotNull
    public final androidx.activity.result.ActivityResultLauncher<java.lang.String> getStartRepeater() {
        return null;
    }
    
    @org.jetbrains.annotations.NotNull
    public final androidx.activity.result.ActivityResultLauncher<java.lang.String> getStartLocalOnlyHotspot() {
        return null;
    }
    
    @org.jetbrains.annotations.NotNull
    public final androidx.activity.result.ActivityResultLauncher<java.lang.String> getRequestBluetooth() {
        return null;
    }
    
    @org.jetbrains.annotations.NotNull
    public final java.util.Map<java.lang.String, java.net.NetworkInterface> getIfaceLookup() {
        return null;
    }
    
    public final void setIfaceLookup(@org.jetbrains.annotations.NotNull
    java.util.Map<java.lang.String, java.net.NetworkInterface> p0) {
    }
    
    @org.jetbrains.annotations.NotNull
    public final java.util.Set<hanson.xyz.vpnhotspotmod.net.TetherType> getEnabledTypes() {
        return null;
    }
    
    public final void setEnabledTypes(@org.jetbrains.annotations.NotNull
    java.util.Set<? extends hanson.xyz.vpnhotspotmod.net.TetherType> p0) {
    }
    
    @org.jetbrains.annotations.Nullable
    public final hanson.xyz.vpnhotspotmod.TetheringService.Binder getBinder() {
        return null;
    }
    
    public final void setBinder(@org.jetbrains.annotations.Nullable
    hanson.xyz.vpnhotspotmod.TetheringService.Binder p0) {
    }
    
    private final void updateMonitorList(java.util.List<java.lang.String> canMonitor) {
    }
    
    @java.lang.Override
    public boolean onMenuItemClick(@org.jetbrains.annotations.Nullable
    android.view.MenuItem item) {
        return false;
    }
    
    @java.lang.Override
    @org.jetbrains.annotations.NotNull
    public android.view.View onCreateView(@org.jetbrains.annotations.NotNull
    android.view.LayoutInflater inflater, @org.jetbrains.annotations.Nullable
    android.view.ViewGroup container, @org.jetbrains.annotations.Nullable
    android.os.Bundle savedInstanceState) {
        return null;
    }
    
    @java.lang.Override
    public void onDestroyView() {
    }
    
    @java.lang.Override
    public void onResume() {
    }
    
    @java.lang.Override
    public void onServiceConnected(@org.jetbrains.annotations.Nullable
    android.content.ComponentName name, @org.jetbrains.annotations.Nullable
    android.os.IBinder service) {
    }
    
    @java.lang.Override
    public void onServiceDisconnected(@org.jetbrains.annotations.Nullable
    android.content.ComponentName name) {
    }
    
    @kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000n\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010 \n\u0002\u0010\u000e\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\b\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010%\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0007\b\u0086\u0004\u0018\u00002\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00030\u00012\u00020\u0004B\u0005\u00a2\u0006\u0002\u0010\u0005J\u0010\u00103\u001a\u00020\u001d2\u0006\u00104\u001a\u00020\u001dH\u0016J\u0011\u00105\u001a\u000206H\u0086@\u00f8\u0001\u0000\u00a2\u0006\u0002\u00107J\u0018\u00108\u001a\u0002062\u0006\u00109\u001a\u00020\u00032\u0006\u00104\u001a\u00020\u001dH\u0016J\u0018\u0010:\u001a\u00020\u00032\u0006\u0010;\u001a\u00020<2\u0006\u0010=\u001a\u00020\u001dH\u0016J\u0018\u0010>\u001a\u0002062\u0006\u0010?\u001a\u00020\b2\u0006\u0010@\u001a\u00020\u001dH\u0016J\u0006\u0010A\u001a\u000206J\u0006\u0010B\u001a\u000206R \u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\b0\u0007X\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\t\u0010\n\"\u0004\b\u000b\u0010\fR\u001d\u0010\r\u001a\u0004\u0018\u00010\u000e8@X\u0080\u0084\u0002\u00a2\u0006\f\n\u0004\b\u0011\u0010\u0012\u001a\u0004\b\u000f\u0010\u0010R \u0010\u0013\u001a\b\u0012\u0004\u0012\u00020\b0\u0007X\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\u0014\u0010\n\"\u0004\b\u0015\u0010\fR\u001b\u0010\u0016\u001a\u00020\u00178CX\u0082\u0084\u0002\u00a2\u0006\f\n\u0004\b\u001a\u0010\u0012\u001a\u0004\b\u0018\u0010\u0019R\u001d\u0010\u001b\u001a\u000e\u0012\u0004\u0012\u00020\b\u0012\u0004\u0012\u00020\u001d0\u001c\u00a2\u0006\b\n\u0000\u001a\u0004\b\u001e\u0010\u001fR\u001a\u0010 \u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00020\u00070!X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u001b\u0010\"\u001a\u00020#8@X\u0080\u0084\u0002\u00a2\u0006\f\n\u0004\b&\u0010\u0012\u001a\u0004\b$\u0010%R \u0010\'\u001a\b\u0012\u0004\u0012\u00020\b0\u0007X\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b(\u0010\n\"\u0004\b)\u0010\fR\u001b\u0010*\u001a\u00020+8@X\u0080\u0084\u0002\u00a2\u0006\f\n\u0004\b.\u0010\u0012\u001a\u0004\b,\u0010-R!\u0010/\u001a\b\u0012\u0004\u0012\u0002000\u00078BX\u0082\u0084\u0002\u00a2\u0006\f\n\u0004\b2\u0010\u0012\u001a\u0004\b1\u0010\n\u0082\u0002\u0004\n\u0002\b\u0019\u00a8\u0006C"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/TetheringFragment$ManagerAdapter;", "Landroidx/recyclerview/widget/ListAdapter;", "Lhanson/xyz/vpnhotspotmod/manage/Manager;", "Landroidx/recyclerview/widget/RecyclerView$ViewHolder;", "Lhanson/xyz/vpnhotspotmod/net/TetheringManager$TetheringEventCallback;", "(Lhanson/xyz/vpnhotspotmod/manage/TetheringFragment;)V", "activeIfaces", "", "", "getActiveIfaces", "()Ljava/util/List;", "setActiveIfaces", "(Ljava/util/List;)V", "bluetoothManager", "Lhanson/xyz/vpnhotspotmod/manage/TetherManager$Bluetooth;", "getBluetoothManager$mobile_freedomDebug", "()Lhanson/xyz/vpnhotspotmod/manage/TetherManager$Bluetooth;", "bluetoothManager$delegate", "Lkotlin/Lazy;", "erroredIfaces", "getErroredIfaces", "setErroredIfaces", "ethernetManager", "Lhanson/xyz/vpnhotspotmod/manage/TetherManager$Ethernet;", "getEthernetManager", "()Lhanson/xyz/vpnhotspotmod/manage/TetherManager$Ethernet;", "ethernetManager$delegate", "lastErrors", "", "", "getLastErrors", "()Ljava/util/Map;", "listDeferred", "Lkotlinx/coroutines/CompletableDeferred;", "localOnlyHotspotManager", "Lhanson/xyz/vpnhotspotmod/manage/LocalOnlyHotspotManager;", "getLocalOnlyHotspotManager$mobile_freedomDebug", "()Lhanson/xyz/vpnhotspotmod/manage/LocalOnlyHotspotManager;", "localOnlyHotspotManager$delegate", "localOnlyIfaces", "getLocalOnlyIfaces", "setLocalOnlyIfaces", "repeaterManager", "Lhanson/xyz/vpnhotspotmod/manage/RepeaterManager;", "getRepeaterManager$mobile_freedomDebug", "()Lhanson/xyz/vpnhotspotmod/manage/RepeaterManager;", "repeaterManager$delegate", "tetherManagers", "Lhanson/xyz/vpnhotspotmod/manage/TetherManager;", "getTetherManagers", "tetherManagers$delegate", "getItemViewType", "position", "notifyTetherTypeChanged", "", "(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "onBindViewHolder", "holder", "onCreateViewHolder", "parent", "Landroid/view/ViewGroup;", "viewType", "onError", "ifName", "error", "update", "updateEnabledTypes", "mobile_freedomDebug"})
    public final class ManagerAdapter extends androidx.recyclerview.widget.ListAdapter<hanson.xyz.vpnhotspotmod.manage.Manager, androidx.recyclerview.widget.RecyclerView.ViewHolder> implements hanson.xyz.vpnhotspotmod.net.TetheringManager.TetheringEventCallback {
        @org.jetbrains.annotations.NotNull
        private final kotlin.Lazy repeaterManager$delegate = null;
        @org.jetbrains.annotations.NotNull
        private final kotlin.Lazy localOnlyHotspotManager$delegate = null;
        @org.jetbrains.annotations.NotNull
        private final kotlin.Lazy bluetoothManager$delegate = null;
        @org.jetbrains.annotations.NotNull
        private final kotlin.Lazy tetherManagers$delegate = null;
        @org.jetbrains.annotations.NotNull
        private final kotlin.Lazy ethernetManager$delegate = null;
        @org.jetbrains.annotations.NotNull
        private java.util.List<java.lang.String> activeIfaces;
        @org.jetbrains.annotations.NotNull
        private java.util.List<java.lang.String> localOnlyIfaces;
        @org.jetbrains.annotations.NotNull
        private java.util.List<java.lang.String> erroredIfaces;
        @org.jetbrains.annotations.NotNull
        private kotlinx.coroutines.CompletableDeferred<java.util.List<hanson.xyz.vpnhotspotmod.manage.Manager>> listDeferred;
        @org.jetbrains.annotations.NotNull
        private final java.util.Map<java.lang.String, java.lang.Integer> lastErrors = null;
        
        public ManagerAdapter() {
            super(null);
        }
        
        @org.jetbrains.annotations.NotNull
        public final hanson.xyz.vpnhotspotmod.manage.RepeaterManager getRepeaterManager$mobile_freedomDebug() {
            return null;
        }
        
        @org.jetbrains.annotations.NotNull
        public final hanson.xyz.vpnhotspotmod.manage.LocalOnlyHotspotManager getLocalOnlyHotspotManager$mobile_freedomDebug() {
            return null;
        }
        
        @org.jetbrains.annotations.Nullable
        public final hanson.xyz.vpnhotspotmod.manage.TetherManager.Bluetooth getBluetoothManager$mobile_freedomDebug() {
            return null;
        }
        
        private final java.util.List<hanson.xyz.vpnhotspotmod.manage.TetherManager> getTetherManagers() {
            return null;
        }
        
        @androidx.annotation.RequiresApi(value = 30)
        private final hanson.xyz.vpnhotspotmod.manage.TetherManager.Ethernet getEthernetManager() {
            return null;
        }
        
        @org.jetbrains.annotations.NotNull
        public final java.util.List<java.lang.String> getActiveIfaces() {
            return null;
        }
        
        public final void setActiveIfaces(@org.jetbrains.annotations.NotNull
        java.util.List<java.lang.String> p0) {
        }
        
        @org.jetbrains.annotations.NotNull
        public final java.util.List<java.lang.String> getLocalOnlyIfaces() {
            return null;
        }
        
        public final void setLocalOnlyIfaces(@org.jetbrains.annotations.NotNull
        java.util.List<java.lang.String> p0) {
        }
        
        @org.jetbrains.annotations.NotNull
        public final java.util.List<java.lang.String> getErroredIfaces() {
            return null;
        }
        
        public final void setErroredIfaces(@org.jetbrains.annotations.NotNull
        java.util.List<java.lang.String> p0) {
        }
        
        public final void updateEnabledTypes() {
        }
        
        @org.jetbrains.annotations.NotNull
        public final java.util.Map<java.lang.String, java.lang.Integer> getLastErrors() {
            return null;
        }
        
        @java.lang.Override
        public void onError(@org.jetbrains.annotations.NotNull
        java.lang.String ifName, int error) {
        }
        
        @org.jetbrains.annotations.Nullable
        public final java.lang.Object notifyTetherTypeChanged(@org.jetbrains.annotations.NotNull
        kotlin.coroutines.Continuation<? super kotlin.Unit> $completion) {
            return null;
        }
        
        public final void update() {
        }
        
        @java.lang.Override
        public int getItemViewType(int position) {
            return 0;
        }
        
        @java.lang.Override
        @org.jetbrains.annotations.NotNull
        public androidx.recyclerview.widget.RecyclerView.ViewHolder onCreateViewHolder(@org.jetbrains.annotations.NotNull
        android.view.ViewGroup parent, int viewType) {
            return null;
        }
        
        @java.lang.Override
        public void onBindViewHolder(@org.jetbrains.annotations.NotNull
        androidx.recyclerview.widget.RecyclerView.ViewHolder holder, int position) {
        }
        
        @java.lang.Override
        public void onClientsChanged(@org.jetbrains.annotations.NotNull
        java.util.Collection<?> clients) {
        }
        
        @java.lang.Override
        public void onOffloadStatusChanged(int status) {
        }
        
        @java.lang.Override
        @android.annotation.TargetApi(value = 31)
        public void onSupportedTetheringTypes(@org.jetbrains.annotations.NotNull
        java.util.Set<java.lang.Integer> supportedTypes) {
        }
        
        @java.lang.Override
        public void onTetherableInterfaceRegexpsChanged(@org.jetbrains.annotations.Nullable
        java.lang.Object reg) {
        }
        
        @java.lang.Override
        public void onTetherableInterfacesChanged(@org.jetbrains.annotations.NotNull
        java.util.List<java.lang.String> interfaces) {
        }
        
        @java.lang.Override
        public void onTetheredInterfacesChanged(@org.jetbrains.annotations.NotNull
        java.util.List<java.lang.String> interfaces) {
        }
        
        @java.lang.Override
        public void onTetheringSupported(boolean supported) {
        }
        
        @java.lang.Override
        public void onUpstreamChanged(@org.jetbrains.annotations.Nullable
        android.net.Network network) {
        }
    }
}