package com.l7tech.external.assertions.gatewaymanagement.server;

import com.l7tech.gateway.api.PrivateKeyMO;
import com.l7tech.gateway.api.impl.PrivateKeySpecialPurposeContext;
import com.l7tech.objectmodel.ObjectModelException;
import com.l7tech.util.Eithers.E2;
import java.util.Map;

class b6
   implements ResourceFactorySupport.TransactionalCallback<E2<ResourceFactory.ResourceNotFoundException, ResourceFactory.InvalidResourceException, PrivateKeyMO>> {
   final Map val$selectorMap;
   final PrivateKeySpecialPurposeContext val$resource;
   final PrivateKeyResourceFactory this$0;
   private static final String[] a;

   b6(PrivateKeyResourceFactory var1, Map var2, PrivateKeySpecialPurposeContext var3) {
      this.this$0 = var1;
      this.val$selectorMap = var2;
      this.val$resource = var3;
   }

   public E2<ResourceFactory.ResourceNotFoundException, ResourceFactory.InvalidResourceException, PrivateKeyMO> execute() throws ObjectModelException {
      // $VF: Couldn't be decompiled
      // Please report this to the Vineflower issue tracker, at https://github.com/Vineflower/vineflower/issues with a copy of the class file (if you have the rights to distribute it!)
      // java.lang.RuntimeException: parsing failure!
      //   at org.jetbrains.java.decompiler.modules.decompiler.decompose.DomHelper.parseGraph(DomHelper.java:211)
      //   at org.jetbrains.java.decompiler.main.rels.MethodProcessor.codeToJava(MethodProcessor.java:174)
      //
      // Bytecode:
      // 000: aload 0
      // 001: getfield com/l7tech/external/assertions/gatewaymanagement/server/b6.this$0 Lcom/l7tech/external/assertions/gatewaymanagement/server/PrivateKeyResourceFactory;
      // 004: aload 0
      // 005: getfield com/l7tech/external/assertions/gatewaymanagement/server/b6.this$0 Lcom/l7tech/external/assertions/gatewaymanagement/server/PrivateKeyResourceFactory;
      // 008: aload 0
      // 009: getfield com/l7tech/external/assertions/gatewaymanagement/server/b6.val$selectorMap Ljava/util/Map;
      // 00c: invokevirtual com/l7tech/external/assertions/gatewaymanagement/server/PrivateKeyResourceFactory.a (Ljava/util/Map;)Lcom/l7tech/util/Pair;
      // 00f: invokevirtual com/l7tech/external/assertions/gatewaymanagement/server/PrivateKeyResourceFactory.a (Lcom/l7tech/util/Pair;)Lcom/l7tech/gateway/common/security/keystore/SsgKeyEntry;
      // 012: astore 1
      // 013: aload 0
      // 014: getfield com/l7tech/external/assertions/gatewaymanagement/server/b6.this$0 Lcom/l7tech/external/assertions/gatewaymanagement/server/PrivateKeyResourceFactory;
      // 017: getstatic com/l7tech/gateway/common/security/rbac/OperationType.DELETE Lcom/l7tech/gateway/common/security/rbac/OperationType;
      // 01a: getstatic com/l7tech/objectmodel/EntityType.SSG_KEY_ENTRY Lcom/l7tech/objectmodel/EntityType;
      // 01d: invokevirtual com/l7tech/external/assertions/gatewaymanagement/server/PrivateKeyResourceFactory.checkPermittedForAnyEntity (Lcom/l7tech/gateway/common/security/rbac/OperationType;Lcom/l7tech/objectmodel/EntityType;)V
      // 020: aload 0
      // 021: getfield com/l7tech/external/assertions/gatewaymanagement/server/b6.val$resource Lcom/l7tech/gateway/api/impl/PrivateKeySpecialPurposeContext;
      // 024: invokevirtual com/l7tech/gateway/api/impl/PrivateKeySpecialPurposeContext.getSpecialPurposes ()Ljava/util/List;
      // 027: astore 2
      // 028: aload 2
      // 029: new com/l7tech/external/assertions/gatewaymanagement/server/b7
      // 02c: dup
      // 02d: aload 0
      // 02e: invokespecial com/l7tech/external/assertions/gatewaymanagement/server/b7.<init> (Lcom/l7tech/external/assertions/gatewaymanagement/server/b6;)V
      // 031: invokestatic com/l7tech/util/Functions.map (Ljava/lang/Iterable;Lcom/l7tech/util/Functions$Unary;)Ljava/util/List;
      // 034: astore 3
      // 035: aload 3
      // 036: invokestatic com/l7tech/util/Eithers.lefts (Ljava/util/List;)Ljava/util/List;
      // 039: astore 4
      // 03b: aload 4
      // 03d: invokeinterface java/util/List.isEmpty ()Z 1
      // 042: ifne 064
      // 045: new com/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$InvalidResourceException
      // 048: dup
      // 049: getstatic com/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$InvalidResourceException$ExceptionType.INVALID_VALUES Lcom/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$InvalidResourceException$ExceptionType;
      // 04c: aload 4
      // 04e: invokestatic java/lang/String.valueOf (Ljava/lang/Object;)Ljava/lang/String;
      // 051: getstatic com/l7tech/external/assertions/gatewaymanagement/server/b6.a [Ljava/lang/String;
      // 054: bipush 1
      // 055: aaload
      // 056: swap
      // 057: invokedynamic makeConcatWithConstants (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; bsm=java/lang/invoke/StringConcatFactory.makeConcatWithConstants (Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; args=[ "\u0001\u0001" ]
      // 05c: invokespecial com/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$InvalidResourceException.<init> (Lcom/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$InvalidResourceException$ExceptionType;Ljava/lang/String;)V
      // 05f: athrow
      // 060: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/b6.a (Lcom/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException;)Lcom/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException;
      // 063: athrow
      // 064: aload 3
      // 065: invokestatic com/l7tech/util/Eithers.rights (Ljava/util/List;)Ljava/util/List;
      // 068: astore 5
      // 06a: aload 5
      // 06c: bipush 0
      // 06d: new com/l7tech/external/assertions/gatewaymanagement/server/b8
      // 070: dup
      // 071: aload 0
      // 072: aload 1
      // 073: invokespecial com/l7tech/external/assertions/gatewaymanagement/server/b8.<init> (Lcom/l7tech/external/assertions/gatewaymanagement/server/b6;Lcom/l7tech/gateway/common/security/keystore/SsgKeyEntry;)V
      // 076: invokestatic com/l7tech/util/CollectionUtils.foreach (Ljava/lang/Iterable;ZLcom/l7tech/util/Functions$UnaryVoidThrows;)V
      // 079: new java/util/ArrayList
      // 07c: dup
      // 07d: invokespecial java/util/ArrayList.<init> ()V
      // 080: astore 6
      // 082: aload 0
      // 083: getfield com/l7tech/external/assertions/gatewaymanagement/server/b6.this$0 Lcom/l7tech/external/assertions/gatewaymanagement/server/PrivateKeyResourceFactory;
      // 086: aload 1
      // 087: invokevirtual com/l7tech/gateway/common/security/keystore/SsgKeyEntry.getKeystoreId ()Lcom/l7tech/objectmodel/Goid;
      // 08a: aload 1
      // 08b: invokevirtual com/l7tech/gateway/common/security/keystore/SsgKeyEntry.getAlias ()Ljava/lang/String;
      // 08e: invokevirtual com/l7tech/external/assertions/gatewaymanagement/server/PrivateKeyResourceFactory.b (Lcom/l7tech/objectmodel/Goid;Ljava/lang/String;)Ljava/lang/String;
      // 091: astore 7
      // 093: aload 0
      // 094: getfield com/l7tech/external/assertions/gatewaymanagement/server/b6.this$0 Lcom/l7tech/external/assertions/gatewaymanagement/server/PrivateKeyResourceFactory;
      // 097: aload 7
      // 099: invokevirtual com/l7tech/external/assertions/gatewaymanagement/server/PrivateKeyResourceFactory.a (Ljava/lang/String;)Lcom/l7tech/util/Functions$Unary;
      // 09c: astore 8
      // 09e: new java/util/ArrayList
      // 0a1: dup
      // 0a2: invokespecial java/util/ArrayList.<init> ()V
      // 0a5: astore 9
      // 0a7: aload 0
      // 0a8: getfield com/l7tech/external/assertions/gatewaymanagement/server/b6.this$0 Lcom/l7tech/external/assertions/gatewaymanagement/server/PrivateKeyResourceFactory;
      // 0ab: aload 0
      // 0ac: getfield com/l7tech/external/assertions/gatewaymanagement/server/b6.this$0 Lcom/l7tech/external/assertions/gatewaymanagement/server/PrivateKeyResourceFactory;
      // 0af: invokevirtual com/l7tech/external/assertions/gatewaymanagement/server/PrivateKeyResourceFactory.b ()Lcom/l7tech/util/Functions$Unary;
      // 0b2: invokevirtual com/l7tech/external/assertions/gatewaymanagement/server/PrivateKeyResourceFactory.a (Lcom/l7tech/util/Functions$Unary;)Ljava/util/Collection;
      // 0b5: bipush 0
      // 0b6: new com/l7tech/external/assertions/gatewaymanagement/server/b9
      // 0b9: dup
      // 0ba: aload 0
      // 0bb: aload 8
      // 0bd: aload 6
      // 0bf: aload 5
      // 0c1: aload 9
      // 0c3: invokespecial com/l7tech/external/assertions/gatewaymanagement/server/b9.<init> (Lcom/l7tech/external/assertions/gatewaymanagement/server/b6;Lcom/l7tech/util/Functions$Unary;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;)V
      // 0c6: invokestatic com/l7tech/util/CollectionUtils.foreach (Ljava/lang/Iterable;ZLcom/l7tech/util/Functions$UnaryVoidThrows;)V
      // 0c9: aload 5
      // 0cb: getstatic com/l7tech/gateway/common/security/SpecialKeyType.SSL Lcom/l7tech/gateway/common/security/SpecialKeyType;
      // 0ce: invokeinterface java/util/Collection.contains (Ljava/lang/Object;)Z 2
      // 0d3: ifeq 113
      // 0d6: aload 0
      // 0d7: getfield com/l7tech/external/assertions/gatewaymanagement/server/b6.this$0 Lcom/l7tech/external/assertions/gatewaymanagement/server/PrivateKeyResourceFactory;
      // 0da: getstatic com/l7tech/gateway/common/security/SpecialKeyType.SERVER_SSL Lcom/l7tech/gateway/common/security/SpecialKeyType;
      // 0dd: aload 7
      // 0df: aload 9
      // 0e1: aload 8
      // 0e3: invokevirtual com/l7tech/external/assertions/gatewaymanagement/server/PrivateKeyResourceFactory.a (Lcom/l7tech/gateway/common/security/SpecialKeyType;Ljava/lang/String;Ljava/util/Collection;Lcom/l7tech/util/Functions$Unary;)V
      // 0e6: aload 0
      // 0e7: getfield com/l7tech/external/assertions/gatewaymanagement/server/b6.this$0 Lcom/l7tech/external/assertions/gatewaymanagement/server/PrivateKeyResourceFactory;
      // 0ea: getstatic com/l7tech/gateway/common/security/SpecialKeyType.CLIENT_SSL Lcom/l7tech/gateway/common/security/SpecialKeyType;
      // 0ed: aload 7
      // 0ef: aload 9
      // 0f1: aload 8
      // 0f3: invokevirtual com/l7tech/external/assertions/gatewaymanagement/server/PrivateKeyResourceFactory.a (Lcom/l7tech/gateway/common/security/SpecialKeyType;Ljava/lang/String;Ljava/util/Collection;Lcom/l7tech/util/Functions$Unary;)V
      // 0f6: aload 5
      // 0f8: getstatic com/l7tech/gateway/common/security/SpecialKeyType.SERVER_SSL Lcom/l7tech/gateway/common/security/SpecialKeyType;
      // 0fb: invokeinterface java/util/Collection.add (Ljava/lang/Object;)Z 2
      // 100: pop
      // 101: aload 5
      // 103: getstatic com/l7tech/gateway/common/security/SpecialKeyType.CLIENT_SSL Lcom/l7tech/gateway/common/security/SpecialKeyType;
      // 106: invokeinterface java/util/Collection.add (Ljava/lang/Object;)Z 2
      // 10b: pop
      // 10c: goto 201
      // 10f: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/b6.a (Lcom/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException;)Lcom/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException;
      // 112: athrow
      // 113: aload 5
      // 115: getstatic com/l7tech/gateway/common/security/SpecialKeyType.SERVER_SSL Lcom/l7tech/gateway/common/security/SpecialKeyType;
      // 118: invokeinterface java/util/Collection.contains (Ljava/lang/Object;)Z 2
      // 11d: ifne 134
      // 120: aload 5
      // 122: getstatic com/l7tech/gateway/common/security/SpecialKeyType.CLIENT_SSL Lcom/l7tech/gateway/common/security/SpecialKeyType;
      // 125: invokeinterface java/util/Collection.contains (Ljava/lang/Object;)Z 2
      // 12a: ifeq 201
      // 12d: goto 134
      // 130: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/b6.a (Lcom/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException;)Lcom/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException;
      // 133: athrow
      // 134: aload 0
      // 135: getfield com/l7tech/external/assertions/gatewaymanagement/server/b6.this$0 Lcom/l7tech/external/assertions/gatewaymanagement/server/PrivateKeyResourceFactory;
      // 138: getstatic com/l7tech/gateway/common/security/SpecialKeyType.SERVER_SSL Lcom/l7tech/gateway/common/security/SpecialKeyType;
      // 13b: aload 5
      // 13d: aload 7
      // 13f: invokevirtual com/l7tech/external/assertions/gatewaymanagement/server/PrivateKeyResourceFactory.a (Lcom/l7tech/gateway/common/security/SpecialKeyType;Ljava/util/Collection;Ljava/lang/String;)Ljava/lang/String;
      // 142: astore 10
      // 144: aload 0
      // 145: getfield com/l7tech/external/assertions/gatewaymanagement/server/b6.this$0 Lcom/l7tech/external/assertions/gatewaymanagement/server/PrivateKeyResourceFactory;
      // 148: getstatic com/l7tech/gateway/common/security/SpecialKeyType.CLIENT_SSL Lcom/l7tech/gateway/common/security/SpecialKeyType;
      // 14b: aload 5
      // 14d: aload 7
      // 14f: invokevirtual com/l7tech/external/assertions/gatewaymanagement/server/PrivateKeyResourceFactory.a (Lcom/l7tech/gateway/common/security/SpecialKeyType;Ljava/util/Collection;Ljava/lang/String;)Ljava/lang/String;
      // 152: astore 11
      // 154: aconst_null
      // 155: astore 12
      // 157: aload 5
      // 159: getstatic com/l7tech/gateway/common/security/SpecialKeyType.SERVER_SSL Lcom/l7tech/gateway/common/security/SpecialKeyType;
      // 15c: invokeinterface java/util/Collection.contains (Ljava/lang/Object;)Z 2
      // 161: ifeq 16b
      // 164: aload 10
      // 166: astore 12
      // 168: goto 1c9
      // 16b: aload 5
      // 16d: getstatic com/l7tech/gateway/common/security/SpecialKeyType.CLIENT_SSL Lcom/l7tech/gateway/common/security/SpecialKeyType;
      // 170: invokeinterface java/util/Collection.contains (Ljava/lang/Object;)Z 2
      // 175: ifeq 1c9
      // 178: aload 10
      // 17a: ifnull 1c9
      // 17d: goto 184
      // 180: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/b6.a (Lcom/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException;)Lcom/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException;
      // 183: athrow
      // 184: aload 10
      // 186: invokevirtual java/lang/String.trim ()Ljava/lang/String;
      // 189: invokevirtual java/lang/String.isEmpty ()Z
      // 18c: ifne 1c9
      // 18f: goto 196
      // 192: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/b6.a (Lcom/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException;)Lcom/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException;
      // 195: athrow
      // 196: aload 11
      // 198: ifnull 1c9
      // 19b: goto 1a2
      // 19e: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/b6.a (Lcom/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException;)Lcom/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException;
      // 1a1: athrow
      // 1a2: aload 11
      // 1a4: invokevirtual java/lang/String.trim ()Ljava/lang/String;
      // 1a7: invokevirtual java/lang/String.isEmpty ()Z
      // 1aa: ifne 1c9
      // 1ad: goto 1b4
      // 1b0: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/b6.a (Lcom/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException;)Lcom/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException;
      // 1b3: athrow
      // 1b4: aload 10
      // 1b6: aload 11
      // 1b8: invokevirtual java/lang/String.equals (Ljava/lang/Object;)Z
      // 1bb: ifeq 1c9
      // 1be: goto 1c5
      // 1c1: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/b6.a (Lcom/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException;)Lcom/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException;
      // 1c4: athrow
      // 1c5: aload 11
      // 1c7: astore 12
      // 1c9: aload 12
      // 1cb: ifnull 201
      // 1ce: aload 12
      // 1d0: invokevirtual java/lang/String.trim ()Ljava/lang/String;
      // 1d3: invokevirtual java/lang/String.isEmpty ()Z
      // 1d6: ifne 201
      // 1d9: goto 1e0
      // 1dc: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/b6.a (Lcom/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException;)Lcom/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException;
      // 1df: athrow
      // 1e0: aload 0
      // 1e1: getfield com/l7tech/external/assertions/gatewaymanagement/server/b6.this$0 Lcom/l7tech/external/assertions/gatewaymanagement/server/PrivateKeyResourceFactory;
      // 1e4: getstatic com/l7tech/gateway/common/security/SpecialKeyType.SSL Lcom/l7tech/gateway/common/security/SpecialKeyType;
      // 1e7: aload 12
      // 1e9: aload 9
      // 1eb: aconst_null
      // 1ec: invokevirtual com/l7tech/external/assertions/gatewaymanagement/server/PrivateKeyResourceFactory.a (Lcom/l7tech/gateway/common/security/SpecialKeyType;Ljava/lang/String;Ljava/util/Collection;Lcom/l7tech/util/Functions$Unary;)V
      // 1ef: aload 5
      // 1f1: getstatic com/l7tech/gateway/common/security/SpecialKeyType.SSL Lcom/l7tech/gateway/common/security/SpecialKeyType;
      // 1f4: invokeinterface java/util/Collection.add (Ljava/lang/Object;)Z 2
      // 1f9: pop
      // 1fa: goto 201
      // 1fd: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/b6.a (Lcom/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException;)Lcom/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException;
      // 200: athrow
      // 201: bipush 2
      // 202: anewarray 179
      // 205: dup
      // 206: bipush 0
      // 207: aload 5
      // 209: aastore
      // 20a: dup
      // 20b: bipush 1
      // 20c: aload 6
      // 20e: aastore
      // 20f: invokestatic com/l7tech/util/CollectionUtils.iterable ([Ljava/lang/Iterable;)Ljava/lang/Iterable;
      // 212: astore 10
      // 214: aload 10
      // 216: new com/l7tech/external/assertions/gatewaymanagement/server/ca
      // 219: dup
      // 21a: aload 0
      // 21b: invokespecial com/l7tech/external/assertions/gatewaymanagement/server/ca.<init> (Lcom/l7tech/external/assertions/gatewaymanagement/server/b6;)V
      // 21e: invokestatic com/l7tech/util/Functions.exists (Ljava/lang/Iterable;Lcom/l7tech/util/Functions$Unary;)Z
      // 221: istore 11
      // 223: iload 11
      // 225: ifeq 267
      // 228: aload 5
      // 22a: invokeinterface java/util/Collection.size ()I 1
      // 22f: aload 6
      // 231: invokeinterface java/util/Collection.size ()I 1
      // 236: iadd
      // 237: bipush 1
      // 238: if_icmple 267
      // 23b: goto 242
      // 23e: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/b6.a (Lcom/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException;)Lcom/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException;
      // 241: athrow
      // 242: new com/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$InvalidResourceException
      // 245: dup
      // 246: getstatic com/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$InvalidResourceException$ExceptionType.INVALID_VALUES Lcom/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$InvalidResourceException$ExceptionType;
      // 249: aload 10
      // 24b: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/ao.getEnumText ()Lcom/l7tech/util/Functions$Unary;
      // 24e: invokestatic com/l7tech/util/Functions.map (Ljava/lang/Iterable;Lcom/l7tech/util/Functions$Unary;)Ljava/util/List;
      // 251: invokestatic java/lang/String.valueOf (Ljava/lang/Object;)Ljava/lang/String;
      // 254: getstatic com/l7tech/external/assertions/gatewaymanagement/server/b6.a [Ljava/lang/String;
      // 257: bipush 0
      // 258: aaload
      // 259: swap
      // 25a: invokedynamic makeConcatWithConstants (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; bsm=java/lang/invoke/StringConcatFactory.makeConcatWithConstants (Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; args=[ "\u0001\u0001" ]
      // 25f: invokespecial com/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$InvalidResourceException.<init> (Lcom/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$InvalidResourceException$ExceptionType;Ljava/lang/String;)V
      // 262: athrow
      // 263: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/b6.a (Lcom/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException;)Lcom/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException;
      // 266: athrow
      // 267: aload 9
      // 269: bipush 0
      // 26a: new com/l7tech/external/assertions/gatewaymanagement/server/cb
      // 26d: dup
      // 26e: aload 0
      // 26f: aload 7
      // 271: invokespecial com/l7tech/external/assertions/gatewaymanagement/server/cb.<init> (Lcom/l7tech/external/assertions/gatewaymanagement/server/b6;Ljava/lang/String;)V
      // 274: invokestatic com/l7tech/util/CollectionUtils.foreach (Ljava/lang/Iterable;ZLcom/l7tech/util/Functions$UnaryVoidThrows;)V
      // 277: aload 0
      // 278: getfield com/l7tech/external/assertions/gatewaymanagement/server/b6.this$0 Lcom/l7tech/external/assertions/gatewaymanagement/server/PrivateKeyResourceFactory;
      // 27b: aload 0
      // 27c: getfield com/l7tech/external/assertions/gatewaymanagement/server/b6.val$selectorMap Ljava/util/Map;
      // 27f: aload 5
      // 281: invokestatic com/l7tech/util/Option.some (Ljava/lang/Object;)Lcom/l7tech/util/Option;
      // 284: invokevirtual com/l7tech/external/assertions/gatewaymanagement/server/PrivateKeyResourceFactory.a (Ljava/util/Map;Lcom/l7tech/util/Option;)Lcom/l7tech/gateway/api/PrivateKeyMO;
      // 287: invokestatic com/l7tech/util/Eithers.right2 (Ljava/lang/Object;)Lcom/l7tech/util/Eithers$E2;
      // 28a: areturn
      // 28b: astore 1
      // 28c: aload 1
      // 28d: invokestatic com/l7tech/util/Eithers.left2_1 (Ljava/lang/Object;)Lcom/l7tech/util/Eithers$E2;
      // 290: areturn
      // 291: astore 1
      // 292: aload 1
      // 293: invokestatic com/l7tech/util/Eithers.left2_2 (Ljava/lang/Object;)Lcom/l7tech/util/Eithers$E2;
      // 296: areturn
      // try (237 -> 261): 261 com/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException
      // try (235 -> 244): 245 com/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException
      // try (195 -> 213): 214 com/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException
      // try (193 -> 199): 200 com/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException
      // try (177 -> 188): 189 com/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException
      // try (172 -> 181): 182 com/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException
      // try (165 -> 174): 175 com/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException
      // try (160 -> 169): 170 com/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException
      // try (156 -> 162): 163 com/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException
      // try (122 -> 130): 131 com/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException
      // try (77 -> 120): 120 com/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException
      // try (28 -> 43): 43 com/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException
      // try (0 -> 279): 280 com/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$ResourceNotFoundException
      // try (0 -> 279): 284 com/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$InvalidResourceException
   }

   private static ResourceFactory.ResourceNotFoundException a(ResourceFactory.ResourceNotFoundException var0) {
      return var0;
   }

   static {
      String[] var5 = new String[2];
      int var3 = 0;
      String var2 = "a\u001dQf| N\b\u0000Wbs KDSWrb9E[\u0016\u000ft9e\nA\u001dDh}9K\\\u001aEkuiK[\u0000N`~$OF\u0007T=0\u001ca\u001dQf| N\b\u0000Wbs KDSWrb9E[\u0016\u000ft9s\n";
      int var4 = "a\u001dQf| N\b\u0000Wbs KDSWrb9E[\u0016\u000ft9e\nA\u001dDh}9K\\\u001aEkuiK[\u0000N`~$OF\u0007T=0\u001ca\u001dQf| N\b\u0000Wbs KDSWrb9E[\u0016\u000ft9s\n"
         .length();
      char var1 = '6';
      int var0 = -1;

      while (true) {
         String var10002 = a(78, a(var2.substring(++var0, var0 + var1)));
         byte var10001 = -1;
         var5[var3++] = var10002;
         if ((var0 += var1) >= var4) {
            a = var5;
            return;
         }

         var1 = var2.charAt(var0);
      }
   }

   private static char[] a(String var0) {
      char[] var10000 = var0.toCharArray();
      if (var10000.length < 2) {
         var10000[0] = (char)(var10000[0] ^ 100);
      }

      return var10000;
   }

   private static String a(int var0, char[] var1) {
      int var10003 = var1.length;
      int var10002 = var0;
      char[] var10001 = var1;
      int var10000 = var10003;

      for (int var2 = 0; var10000 > var2; var2++) {
         var10001[var2] = (char)(var10001[var2] ^ var10002 ^ switch (var2 % 7) {
            case 0 -> 102;
            case 1 -> 61;
            case 2 -> 105;
            case 3 -> 73;
            case 4 -> 94;
            case 5 -> 7;
            default -> 100;
         });
      }

      return new String(var10001).intern();
   }
}
