@cybrid/cybrid-api-organization-angular 0.119.52 → 0.119.53

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. package/README.md +2 -2
  2. package/esm2020/api/organizations.service.mjs +2 -2
  3. package/esm2020/api/subscriptionDeliveries.service.mjs +2 -2
  4. package/esm2020/api/subscriptionEvents.service.mjs +2 -2
  5. package/esm2020/api/subscriptions.service.mjs +2 -2
  6. package/esm2020/model/errorResponse.mjs +2 -2
  7. package/esm2020/model/organization.mjs +2 -2
  8. package/esm2020/model/patchOrganization.mjs +2 -2
  9. package/esm2020/model/postSubscription.mjs +2 -2
  10. package/esm2020/model/postSubscriptionDelivery.mjs +2 -2
  11. package/esm2020/model/subscription.mjs +2 -2
  12. package/esm2020/model/subscriptionDelivery.mjs +2 -2
  13. package/esm2020/model/subscriptionDeliveryList.mjs +1 -1
  14. package/esm2020/model/subscriptionEnvironment.mjs +2 -2
  15. package/esm2020/model/subscriptionEvent.mjs +2 -2
  16. package/esm2020/model/subscriptionEventList.mjs +1 -1
  17. package/esm2020/model/subscriptionList.mjs +1 -1
  18. package/esm2020/model/subscriptionState.mjs +2 -2
  19. package/esm2020/model/subscriptionType.mjs +2 -2
  20. package/fesm2015/cybrid-cybrid-api-organization-angular.mjs +10 -10
  21. package/fesm2015/cybrid-cybrid-api-organization-angular.mjs.map +1 -1
  22. package/fesm2020/cybrid-cybrid-api-organization-angular.mjs +15 -15
  23. package/fesm2020/cybrid-cybrid-api-organization-angular.mjs.map +1 -1
  24. package/model/errorResponse.d.ts +1 -1
  25. package/model/organization.d.ts +1 -1
  26. package/model/patchOrganization.d.ts +1 -1
  27. package/model/postSubscription.d.ts +1 -1
  28. package/model/postSubscriptionDelivery.d.ts +1 -1
  29. package/model/subscription.d.ts +1 -1
  30. package/model/subscriptionDelivery.d.ts +1 -1
  31. package/model/subscriptionDeliveryList.d.ts +1 -1
  32. package/model/subscriptionEnvironment.d.ts +1 -1
  33. package/model/subscriptionEvent.d.ts +1 -1
  34. package/model/subscriptionEventList.d.ts +1 -1
  35. package/model/subscriptionList.d.ts +1 -1
  36. package/model/subscriptionState.d.ts +1 -1
  37. package/model/subscriptionType.d.ts +1 -1
  38. package/package.json +1 -1
package/README.md CHANGED
@@ -149,7 +149,7 @@ An `Organization` can have multiple `banks`, in either `Sandbox` or `Production`
149
149
  `Customers` must also have an `Account` to be able to transact, in the desired asset class. See the Accounts APIs for more details on setting up accounts for the customer.
150
150
 
151
151
 
152
- ## @cybrid/cybrid-api-organization-angular@0.119.52
152
+ ## @cybrid/cybrid-api-organization-angular@0.119.53
153
153
 
154
154
  ### Building
155
155
 
@@ -170,7 +170,7 @@ Navigate to the folder of your consuming project and run one of next commands.
170
170
  _published:_
171
171
 
172
172
  ```
173
- npm install @cybrid/cybrid-api-organization-angular@0.119.52 --save
173
+ npm install @cybrid/cybrid-api-organization-angular@0.119.53 --save
174
174
  ```
175
175
 
176
176
  _without publishing (not recommended):_
@@ -2,7 +2,7 @@
2
2
  * Cybrid Organization API
3
3
  * # Cybrid API documentation Welcome to Cybrid, an all-in-one crypto platform that enables you to easily **build** and **launch** white-label crypto products or services. In these documents, you\'ll find details on how our REST API operates and generally how our platform functions. If you\'re looking for our UI SDK Widgets for Web or Mobile (iOS/Android), generated API clients, or demo applications, head over to our [Github repo](https://github.com/Cybrid-app). 💡 We recommend bookmarking the [Cybrid LinkTree](https://linktr.ee/cybridtechnologies) which contains many helpful links to platform resources. ## Getting Started This is Cybrid\'s public interactive API documentation, which allows you to fully test our APIs. If you\'d like to use a different tool to exercise our APIs, you can download the [Open API 3.0 yaml](https://bank.production.cybrid.app/api/schema/v1/swagger.yaml) for import. If you\'re new to our APIs and the Cybrid Platform, follow the below guides to get set up and familiar with the platform: 1. [Understanding the Platform](https://kb.cybrid.xyz/understanding-the-platform) 2. [Getting Started in the Cybrid Sandbox](https://kb.cybrid.xyz/getting-started-guide) 3. [Getting Ready for Trading](https://kb.cybrid.xyz/getting-ready-for-trading) 4. [Running the Web Demo App](https://kb.cybrid.xyz/locally-running-the-web-demo-app) (or, alternatively, [Testing with Hosted Web Demo App](https://kb.cybrid.xyz/testing-with-hosted-web-demo-app)) In [Getting Started in the Cybrid Sandbox](https://kb.cybrid.xyz/getting-started-guide), we walk you through how to use the [Cybrid Sandbox](https://id.sandbox.cybrid.app/) to create a test bank and generate API keys. In [Getting Ready for Trading](https://kb.cybrid.xyz/getting-ready-for-trading), we walk through creating customers, customer identities, accounts, as well as executing quotes and trades. If you\'ve already run through the first two guides, you can follow the [Running the Web Demo App](https://kb.cybrid.xyz/locally-running-the-web-demo-app) guide to test our web SDK with your sandbox `bank` and `customer`. ## Working with the Cybrid Platform There are three primary ways you can interact with the Cybrid platform: 1. Directly via our RESTful API (this documentation) 2. Using our API clients available in a variety of languages ([Angular](https://github.com/Cybrid-app/cybrid-api-bank-angular), [Java](https://github.com/Cybrid-app/cybrid-api-bank-java), [Kotlin](https://github.com/Cybrid-app/cybrid-api-bank-kotlin), [Python](https://github.com/Cybrid-app/cybrid-api-bank-python), [Ruby](https://github.com/Cybrid-app/cybrid-api-bank-ruby), [Swift](https://github.com/Cybrid-app/cybrid-api-bank-swift) or [Typescript](https://github.com/Cybrid-app/cybrid-api-bank-typescript)) 3. Integrating a platform specific SDK ([Web](https://github.com/Cybrid-app/cybrid-sdk-web), [Android](https://github.com/Cybrid-app/cybrid-sdk-android), [iOS](https://github.com/Cybrid-app/cybrid-sdk-ios)) Our complete set of APIs allows you to manage resources across three distinct areas: your `Organization`, your `Banks` and your `Identities`. For most of your testing and interaction you\'ll be using the `Bank` API, which is where the majority of APIs reside. *The complete set of APIs can be found on the following pages:* | API | Description | |------------------------------------------------------------------|-------------------------------------------------------------| | [Organization API](https://organization.production.cybrid.app/api/schema/swagger-ui) | APIs to manage organizations | | [Bank API](https://bank.production.cybrid.app/api/schema/swagger-ui) | APIs to manage banks (and all downstream customer activity) | | [Identities API](https://id.production.cybrid.app/api/schema/swagger-ui) | APIs to manage organization and bank identities | For questions please contact [Support](mailto:support@cybrid.xyz) at any time for assistance, or contact the [Product Team](mailto:product@cybrid.xyz) for product suggestions. ## Authenticating with the API The Cybrid Platform uses OAuth 2.0 Bearer Tokens to authenticate requests to the platform. Credentials to create `Organization` and `Bank` tokens can be generated via the [Cybrid Sandbox](https://id.production.cybrid.app). Access tokens can be generated for a `Customer` as well via the [Cybrid IdP](https://id.production.cybrid.app) as well. An `Organization` access token applies broadly to the whole Organization and all of its `Banks`, whereas, a `Bank` access token is specific to an individual Bank. `Customer` tokens, similarly, are scoped to a specific customer in a bank. Both `Organization` and `Bank` tokens can be created using the OAuth Client Credential Grant flow. Each Organization and Bank has its own unique `Client ID` and `Secret` that allows for machine-to-machine authentication. A `Bank` can then generate `Customer` access tokens via API using our [Identities API](https://id.production.cybrid.app/api/schema/swagger-ui). <font color=\"orange\">**⚠️ Never share your Client ID or Secret publicly or in your source code repository.**</font> Your `Client ID` and `Secret` can be exchanged for a time-limited `Bearer Token` by interacting with the Cybrid Identity Provider or through interacting with the **Authorize** button in this document. The following curl command can be used to quickly generate a `Bearer Token` for use in testing the API or demo applications. ``` # Example request when using Bank credentials curl -X POST https://id.production.cybrid.app/oauth/token -d \'{ \"grant_type\": \"client_credentials\", \"client_id\": \"<Your Client ID>\", \"client_secret\": \"<Your Secret>\", \"scope\": \"banks:read banks:write bank_applications:execute accounts:read accounts:execute counterparties:read counterparties:write counterparties:execute customers:read customers:write customers:execute prices:read quotes:execute quotes:read trades:execute trades:read transfers:execute transfers:read external_bank_accounts:read external_bank_accounts:write external_bank_accounts:execute external_wallets:read external_wallets:execute workflows:read workflows:execute deposit_addresses:read deposit_addresses:execute deposit_bank_accounts:read deposit_bank_accounts:execute invoices:read invoices:write invoices:execute identity_verifications:read identity_verifications:write identity_verifications:execute\" }\' -H \"Content-Type: application/json\" # When using Organization credentials set `scope` to \'organizations:read organizations:write organization_applications:execute banks:read banks:write banks:execute bank_applications:execute users:read users:execute counterparties:read customers:read accounts:read prices:read quotes:execute quotes:read trades:execute trades:read transfers:read transfers:execute external_bank_accounts:read external_wallets:read workflows:read deposit_addresses:read deposit_bank_accounts:read invoices:read subscriptions:read subscriptions:write subscriptions:execute subscription_events:read subscription_events:execute identity_verifications:read\' ``` <font color=\"orange\">**⚠️ Note: The above curl will create a bearer token with full scope access. Delete scopes if you\'d like to restrict access.**</font> ## Authentication Scopes The Cybrid platform supports the use of scopes to control the level of access a token is limited to. Scopes do not grant access to resources; instead, they provide limits, in support of the least privilege principal. The following scopes are available on the platform and can be requested when generating either an Organization, Bank or Customer token. Generally speaking, the _Read_ scope is required to read and list resources, the _Write_ scope is required to update a resource and the _Execute_ scope is required to create a resource. | Resource | Read scope (Token Type) | Write scope (Token Type) | Execute scope (Token Type) | |-----------------------|------------------------------------------------------------|-----------------------------------------------|--------------------------------------------------| | Account | accounts:read (Organization, Bank, Customer) | | accounts:execute (Bank, Customer) | | Bank | banks:read (Organization, Bank) | banks:write (Organization, Bank) | banks:execute (Organization) | | Customer | customers:read (Organization, Bank, Customer) | customers:write (Bank, Customer) | customers:execute (Bank) | | Counterparty | counterparties:read (Organization, Bank, Customer) | counterparties:write (Bank, Customer) | counterparties:execute (Bank) | | Deposit Address | deposit_addresses:read (Organization, Bank, Customer) | deposit_addresses:write (Bank, Customer) | deposit_addresses:execute (Bank, Customer) | | External Bank Account | external_bank_accounts:read (Organization, Bank, Customer) | external_bank_accounts:write (Bank, Customer) | external_bank_accounts:execute (Bank, Customer) | | External Wallet | external_wallet:read (Organization, Bank, Customer) | | external_wallet:execute (Bank, Customer) | | Organization | organizations:read (Organization) | organizations:write (Organization) | | | User | users:read (Organization) | | users:execute (Organization) | | Price | prices:read (Bank, Customer) | | | | Quote | quotes:read (Organization, Bank, Customer) | | quotes:execute (Organization, Bank, Customer) | | Trade | trades:read (Organization, Bank, Customer) | | trades:execute (Organization, Bank, Customer) | | Transfer | transfers:read (Organization, Bank, Customer) | | transfers:execute (Organization, Bank, Customer) | | Workflow | workflows:read (Organization, Bank, Customer) | | workflows:execute (Bank, Customer) | | Invoice | invoices:read (Organization, Bank, Customer) | invoices:write (Bank, Customer) | invoices:execute (Bank, Customer) | ## Available Endpoints The available APIs for the [Identity](https://id.production.cybrid.app/api/schema/swagger-ui), [Organization](https://organization.production.cybrid.app/api/schema/swagger-ui) and [Bank](https://bank.production.cybrid.app/api/schema/swagger-ui) API services are listed below: | API Service | Model | API Endpoint Path | Description | |--------------|----------------------|--------------------------------|---------------------------------------------------------------------------------------------------| | Identity | Bank | /api/bank_applications | Create and list banks | | Identity | CustomerToken | /api/customer_tokens | Create customer JWT access tokens | | Identity | Organization | /api/organization_applications | Create and list organizations | | Identity | Organization | /api/users | Create and list organization users | | Organization | Organization | /api/organizations | APIs to retrieve and update organization name | | Bank | Account | /api/accounts | Create and list accounts, which hold a specific asset for a customers | | Bank | Asset | /api/assets | Get a list of assets supported by the platform (ex: BTC, ETH) | | Bank | Bank | /api/banks | Create, update and list banks, the parent to customers, accounts, etc | | Bank | Customer | /api/customers | Create and list customers | | Bank | Counterparty | /api/counterparties | Create and list counterparties | | Bank | DepositAddress | /api/deposit_addresses | Create, get and list deposit addresses | | Bank | ExternalBankAccount | /api/external_bank_accounts | Create, get and list external bank accounts, which connect customer bank accounts to the platform | | Bank | ExternalWallet | /api/external_wallets | Create, get, list and delete external wallets, which connect customer wallets to the platform | | Bank | IdentityVerification | /api/identity_verifications | Create and list identity verifications, which are performed on customers for KYC | | Bank | Invoice | /api/invoices | Create, get, cancel and list invoices | | Bank | PaymentInstruction | /api/payment_instructions | Create, get and list payment instructions for invoices | | Bank | Price | /api/prices | Get the current prices for assets on the platform | | Bank | Quote | /api/quotes | Create and list quotes, which are required to execute trades | | Bank | Symbol | /api/symbols | Get a list of symbols supported for trade (ex: BTC-USD) | | Bank | Trade | /api/trades | Create and list trades, which buy or sell cryptocurrency | | Bank | Transfer | /api/transfers | Create, get and list transfers (e.g., funding, book) | | Bank | Workflow | /api/workflows | Create, get and list workflows | ## Understanding Object Models & Endpoints **Organizations** An `Organization` is meant to represent the organization partnering with Cybrid to use our platform. An `Organization` typically does not directly interact with `customers`. Instead, an Organization has one or more `banks`, which encompass the financial service offerings of the platform. **Banks** A `Bank` is owned by an `Organization` and can be thought of as an environment or container for `customers` and product offerings. Banks are created in either `Sandbox` or `Production` mode, where `Sandbox` is the environment that you would test, prototype and build in prior to moving to `Production`. An `Organization` can have multiple `banks`, in either `Sandbox` or `Production` environments. A `Sandbox Bank` will be backed by stubbed data and process flows. For instance, funding source transfer processes as well as trades will be simulated rather than performed, however asset prices are representative of real-world values. You have an unlimited amount of simulated fiat currency for testing purposes. **Customers** `Customers` represent your banking users on the platform. At present, we offer support for `Individuals` as Customers. `Customers` must be verified (i.e., KYC\'d) in our system before they can play any part on the platform, which means they must have an associated and a passing `Identity Verification`. See the Identity Verifications section for more details on how a customer can be verified. `Customers` must also have an `Account` to be able to transact, in the desired asset class. See the Accounts APIs for more details on setting up accounts for the customer.
4
4
  *
5
- * The version of the OpenAPI document: v0.119.52
5
+ * The version of the OpenAPI document: v0.119.53
6
6
  * Contact: support@cybrid.app
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -204,4 +204,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
204
204
  }] }, { type: i2.Configuration, decorators: [{
205
205
  type: Optional
206
206
  }] }]; } });
207
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JnYW5pemF0aW9ucy5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vYXBpL29yZ2FuaXphdGlvbnMuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7OztHQVVHO0FBQ0gsdURBQXVEO0FBRXZELE9BQU8sRUFBRSxNQUFNLEVBQUUsVUFBVSxFQUFFLFFBQVEsRUFBRSxNQUEyQixlQUFlLENBQ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AgICAgICAgICAgICAgfCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCBhY2NvdW50czpleGVjdXRlIChCYW5rLCBDdXN0b21lcikgICAgICAgICAgICAgICAgfCB8IEJhbmsgICAgICAgICAgICAgICAgICB8IGJhbmtzOnJlYWQgKE9yZ2FuaXphdGlvbiwgQmFuaykgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCBiYW5rczp3cml0ZSAoT3JnYW5pemF0aW9uLCBCYW5rKSAgICAgICAgICAgICAgfCBiYW5rczpleGVjdXRlIChPcmdhbml6YXRpb24pICAgICAgICAgICAgICAgICAgICAgfCB8IEN1c3RvbWVyICAgICAgICAgICAgICB8IGN1c3RvbWVyczpyZWFkIChPcmdhbml6YXRpb24sIEJhbmssIEN1c3RvbWVyKSAgICAgICAgICAgICAgfCBjdXN0b21lcnM6d3JpdGUgKEJhbmssIEN1c3RvbWVyKSAgICAgICAgICAgICAgfCBjdXN0b21lcnM6ZXhlY3V0ZSAoQmFuaykgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IENvdW50ZXJwYXJ0eSAgICAgICAgICB8IGNvdW50ZXJwYXJ0aWVzOnJlYWQgKE9yZ2FuaXphdGlvbiwgQmFuaywgQ3VzdG9tZXIpICAgICAgICAgfCBjb3VudGVycGFydGllczp3cml0ZSAoQmFuaywgQ3VzdG9tZXIpICAgICAgICAgfCBjb3VudGVycGFydGllczpleGVjdXRlIChCYW5rKSAgICAgICAgICAgICAgICAgICAgfCB8IERlcG9zaXQgQWRkcmVzcyAgICAgICB8IGRlcG9zaXRfYWRkcmVzc2VzOnJlYWQgKE9yZ2FuaXphdGlvbiwgQmFuaywgQ3VzdG9tZXIpICAgICAgfCBkZXBvc2l0X2FkZHJlc3Nlczp3cml0ZSAoQmFuaywgQ3VzdG9tZXIpICAgICAgfCBkZXBvc2l0X2FkZHJlc3NlczpleGVjdXRlIChCYW5rLCBDdXN0b21lcikgICAgICAgfCB8IEV4dGVybmFsIEJhbmsgQWNjb3VudCB8IGV4dGVybmFsX2JhbmtfYWNjb3VudHM6cmVhZCAoT3JnYW5pemF0aW9uLCBCYW5rLCBDdXN0b21lcikgfCBleHRlcm5hbF9iYW5rX2FjY291bnRzOndyaXRlIChCYW5rLCBDdXN0b21lcikgfCBleHRlcm5hbF9iYW5rX2FjY291bnRzOmV4ZWN1dGUgKEJhbmssIEN1c3RvbWVyKSAgfCB8IEV4dGVybmFsIFdhbGxldCAgICAgICB8IGV4dGVybmFsX3dhbGxldDpyZWFkIChPcmdhbml6YXRpb24sIEJhbmssIEN1c3RvbWVyKSAgICAgICAgfCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCBleHRlcm5hbF93YWxsZXQ6ZXhlY3V0ZSAoQmFuaywgQ3VzdG9tZXIpICAgICAgICAgfCB8IE9yZ2FuaXphdGlvbiAgICAgICAgICB8IG9yZ2FuaXphdGlvbnM6cmVhZCAoT3JnYW5pemF0aW9uKSAgICAgICAgICAgICAgICAgICAgICAgICAgfCBvcmdhbml6YXRpb25zOndyaXRlIChPcmdhbml6YXRpb24pICAgICAgICAgICAgfCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IFVzZXIgICAgICAgICAgICAgICAgICB8IHVzZXJzOnJlYWQgKE9yZ2FuaXphdGlvbikgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB1c2VyczpleGVjdXRlIChPcmdhbml6YXRpb24pICAgICAgICAgICAgICAgICAgICAgfCB8IFByaWNlICAgICAgICAgICAgICAgICB8IHByaWNlczpyZWFkIChCYW5rLCBDdXN0b21lcikgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IFF1b3RlICAgICAgICAgICAgICAgICB8IHF1b3RlczpyZWFkIChPcmdhbml6YXRpb24sIEJhbmssIEN1c3RvbWVyKSAgICAgICAgICAgICAgICAgfCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCBxdW90ZXM6ZXhlY3V0ZSAoT3JnYW5pemF0aW9uLCBCYW5rLCBDdXN0b21lcikgICAgfCB8IFRyYWRlICAgICAgICAgICAgICAgICB8IHRyYWRlczpyZWFkIChPcmdhbml6YXRpb24sIEJhbmssIEN1c3RvbWVyKSAgICAgICAgICAgICAgICAgfCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB0cmFkZXM6ZXhlY3V0ZSAoT3JnYW5pemF0aW9uLCBCYW5rLCBDdXN0b21lcikgICAgfCB8IFRyYW5zZmVyICAgICAgICAgICAgICB8IHRyYW5zZmVyczpyZWFkIChPcmdhbml6YXRpb24sIEJhbmssIEN1c3RvbWVyKSAgICAgICAgICAgICAgfCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB0cmFuc2ZlcnM6ZXhlY3V0ZSAoT3JnYW5pemF0aW9uLCBCYW5rLCBDdXN0b21lcikgfCB8IFdvcmtmbG93ICAgICAgICAgICAgICB8IHdvcmtmbG93czpyZWFkIChPcmdhbml6YXRpb24sIEJhbmssIEN1c3RvbWVyKSAgICAgICAgICAgICAgfCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB3b3JrZmxvd3M6ZXhlY3V0ZSAoQmFuaywgQ3VzdG9tZXIpICAgICAgICAgICAgICAgfCB8IEludm9pY2UgICAgICAgICAgICAgICB8IGludm9pY2VzOnJlYWQgKE9yZ2FuaXphdGlvbiwgQmFuaywgQ3VzdG9tZXIpICAgICAgICAgICAgICAgfCBpbnZvaWNlczp3cml0ZSAoQmFuaywgQ3VzdG9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ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgSWRlbnRpdHkgICAgIHwgQ3VzdG9tZXJUb2tlbiAgICAgICAgfCAvYXBpL2N1c3RvbWVyX3Rva2VucyAgICAgICAgICAgfCBDcmVhdGUgY3VzdG9tZXIgSldUIGFjY2VzcyB0b2tlbnMgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBJZGVudGl0eSAgICAgfCBPcmdhbml6YXRpb24gICAgICAgICB8IC9hcGkvb3JnYW5pemF0aW9uX2FwcGxpY2F0aW9ucyB8IENyZWF0ZSBhbmQgbGlzdCBvcmdhbml6YXRpb25zICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IElkZW50aXR5ICAgICB8IE9yZ2FuaXphdGlvbiAgICAgICAgIHwgL2FwaS91c2VycyAgICAgICAgICAgICAgICAgICAgIHwgQ3JlYXRlIGFuZCBsaXN0IG9yZ2FuaXphdGlvbiB1c2VycyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgT3JnYW5pemF0aW9uIHwgT3JnYW5pemF0aW9uICAgICAgICAgfCAvYXBpL29yZ2FuaXphdGlvbnMgICAgICAgICAgICAgfCBBUElzIHRvIHJldHJpZXZlIGFuZCB1cGRhdGUgb3JnYW5pemF0aW9uIG5hbWUgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBCYW5rICAgICAgICAgfCBBY2NvdW50ICAgICAgICAgICAgICB8IC9hcGkvYWNjb3VudHMgICAgICAgICAgICAgICAgICB8IENyZWF0ZSBhbmQgbGlzdCBhY2NvdW50cywgd2hpY2ggaG9sZCBhIHNwZWNpZmljIGFzc2V0IGZvciBhIGN1c3RvbWVycyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IEJhbmsgICAgICAgICB8IEFzc2V0ICAgICAgICAgICAgICAgIHwgL2FwaS9hc3NldHMgICAgICAgICAgICAgICAgICAgIHwgR2V0IGEgbGlzdCBvZiBhc3NldHMgc3VwcG9ydGVkIGJ5IHRoZSBwbGF0Zm9ybSAoZXg6IEJUQywgRVRIKSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgQmFuayAgICAgICAgIHwgQmFuayAgICAgICAgICAgICAgICAgfCAvYXBpL2JhbmtzICAgICAgICAgICAgICAgICAgICAgfCBDcmVhdGUsIHVwZGF0ZSBhbmQgbGlzdCBiYW5rcywgdGhlIHBhcmVudCB0byBjdXN0b21lcnMsIGFjY291bnRzLCBldGMgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBCYW5rICAgICAgICAgfCBDdXN0b21lciAgICAgICAgICAgICB8IC9hcGkvY3VzdG9tZXJzICAgICAgICAgICAgICAgICB8IENyZWF0ZSBhbmQgbGlzdCBjdXN0b21lcnMgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IEJhbmsgICAgICAgICB8IENvdW50ZXJwYXJ0eSAgICAgICAgIHwgL2FwaS9jb3VudGVycGFydGllcyAgICAgICAgICAgIHwgQ3JlYXRlIGFuZCBsaXN0IGNvdW50ZXJwYXJ0aWVzICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgQmFuayAgICAgICAgIHwgRGVwb3NpdEFkZHJlc3MgICAgICAgfCAvYXBpL2RlcG9zaXRfYWRkcmVzc2VzICAgICAgICAgfCBDcmVhdGUsIGdldCBhbmQgbGlzdCBkZXBvc2l0IGFkZHJlc3NlcyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA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gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgQmFuayAgICAgICAgIHwgUHJpY2UgICAgICAgICAgICAgICAgfCAvYXBpL3ByaWNlcyAgICAgICAgICAgICAgICAgICAgfCBHZXQgdGhlIGN1cnJlbnQgcHJpY2VzIGZvciBhc3NldHMgb24gdGhlIHBsYXRmb3JtICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBCYW5rICAgICAgICAgfCBRdW90ZSAgICAgICAgICAgICAgICB8IC9hcGkvcXVvdGVzICAgICAgICAgICAgICAgICAgICB8IENyZWF0ZSBhbmQgbGlzdCBxdW90ZXMsIHdoaWNoIGFyZSByZXF1aXJlZCB0byBleGVjdXRlIHRyYWRlcyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IEJhbmsgICAgICAgICB8IFN5bWJvbCAgICAgICAgICAgICAgIHwgL2FwaS9zeW1ib2xzICAgICAgICAgICAgICAgICAgIHwgR2V0IGEgbGlzdCBvZiBzeW1ib2xzIHN1cHBvcnRlZCBmb3IgdHJhZGUgKGV4OiBCVEMtVVNEKSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgQmFuayAgICAgICAgIHwgVHJhZGUgICAgICAgICAgICAgICAgfCAvYXBpL3RyYWRlcyAgICAgICAgICAgICAgICAgICAgfCBDcmVhdGUgYW5kIGxpc3QgdHJhZGVzLCB3aGljaCBidXkgb3Igc2VsbCBjcnlwdG9jdXJyZW5jeSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBCYW5rICAgICAgICAgfCBUcmFuc2ZlciAgICAgICAgICAgICB8IC9hcGkvdHJhbnNmZXJzICAgICAgICAgICAgICAgICB8IENyZWF0ZSwgZ2V0IGFuZCBsaXN0IHRyYW5zZmVycyAoZS5nLiwgZnVuZGluZywgYm9vaykgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg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bFZhckh0dHBDb250ZXh0OiBIdHRwQ29udGV4dCB8IHVuZGVmaW5lZCA9IG9wdGlvbnMgJiYgb3B0aW9ucy5jb250ZXh0O1xuICAgICAgICBpZiAobG9jYWxWYXJIdHRwQ29udGV4dCA9PT0gdW5kZWZpbmVkKSB7XG4gICAgICAgICAgICBsb2NhbFZhckh0dHBDb250ZXh0ID0gbmV3IEh0dHBDb250ZXh0KCk7XG4gICAgICAgIH1cblxuXG4gICAgICAgIGxldCByZXNwb25zZVR5cGVfOiAndGV4dCcgfCAnanNvbicgfCAnYmxvYicgPSAnanNvbic7XG4gICAgICAgIGlmIChsb2NhbFZhckh0dHBIZWFkZXJBY2NlcHRTZWxlY3RlZCkge1xuICAgICAgICAgICAgaWYgKGxvY2FsVmFySHR0cEhlYWRlckFjY2VwdFNlbGVjdGVkLnN0YXJ0c1dpdGgoJ3RleHQnKSkge1xuICAgICAgICAgICAgICAgIHJlc3BvbnNlVHlwZV8gPSAndGV4dCc7XG4gICAgICAgICAgICB9IGVsc2UgaWYgKHRoaXMuY29uZmlndXJhdGlvbi5pc0pzb25NaW1lKGxvY2FsVmFySHR0cEhlYWRlckFjY2VwdFNlbGVjdGVkKSkge1xuICAgICAgICAgICAgICAgIHJlc3BvbnNlVHlwZV8gPSAnanNvbic7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIHJlc3BvbnNlVHlwZV8gPSAnYmxvYic7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4gdGhpcy5odHRwQ2xpZW50LmdldDxPcmdhbml6YXRpb25Pcmdhbml6YXRpb25Nb2RlbD4oYCR7dGhpcy5jb25maWd1cmF0aW9uLmJhc2VQYXRofS9hcGkvb3JnYW5pemF0aW9ucy8ke2VuY29kZVVSSUNvbXBvbmVudChTdHJpbmcob3JnYW5pemF0aW9uR3VpZCkpfWAsXG4gICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgY29udGV4dDogbG9jYW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ByZWFkIGFuZCBsaXN0IHJlc291cmNlcywgdGhlIF9Xcml0ZV8gc2NvcGUgaXMgcmVxdWlyZWQgdG8gdXBkYXRlIGEgcmVzb3VyY2UgYW5kIHRoZSBfRXhlY3V0ZV8gc2NvcGUgaXMgcmVxdWlyZWQgdG8gY3JlYXRlIGEgcmVzb3VyY2UuICB8IFJlc291cmNlICAgICAgICAgICAgICB8IFJlYWQgc2NvcGUgKFRva2VuIFR5cGUpICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCBXcml0ZSBzY29wZSAoVG9rZW4gVHlwZSkgICAgICAgICAgICAgICAgICAgICAgfCBFeGVjdXRlIHNjb3BlIChUb2tlbiBUeXBlKSAgICAgICAgICAgICAgICAgICAgICAgfCB8LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS18LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tfC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tfC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tfCB8IEFjY291bnQgICAgICAgICAgICAgICB8IGFjY291bnRzOnJlYWQgKE9yZ2FuaXphdGlvbiwgQmFuaywgQ3VzdG9tZXIpICAgICAgICAgICAgICAgfCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCBhY2NvdW50czpleGVjdXRlIChCYW5rLCBDdXN0b21lcikgICAgICAgICAgICAgICAgfCB8IEJhbmsgICAgICAgICAgICAgICAgICB8IGJhbmtzOnJlYWQgKE9yZ2FuaXphdGlvbiwgQmFuaykgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCBiYW5rczp3cml0ZSAoT3JnYW5pemF0aW9uLCBCYW5rKSAgICAgICAgICAgICAgfCBiYW5rczpleGVjdXRlIChPcmdhbml6YXRpb24pICAgICAgICAgICAgICAgICAgICAgfCB8IEN1c3RvbWVyICAgICAgICAgICAgICB8IGN1c3RvbWVyczpyZWFkIChPcmdhbml6YXRpb24sIEJhbmssIEN1c3RvbWVyKSAgICAgICAgICAgICAgfCBjdXN0b21lcnM6d3JpdGUgKEJhbmssIEN1c3RvbWVyKSAgICAgICAgICAgICAgfCBjdXN0b21lcnM6ZXhlY3V0ZSAoQmFuaykgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IENvdW50ZXJwYXJ0eSAgICAgICAgICB8IGNvdW50ZXJwYXJ0aWVzOnJlYWQgKE9yZ2FuaXphdGlvbiwgQmFuaywgQ3VzdG9tZXIpICAgICAgICAgfCBjb3VudGVycGFydGllczp3cml0ZSAoQmFuaywgQ3VzdG9tZXIpICAgICAgICAgfCBjb3VudGVycGFydGllczpleGVjdXRlIChCYW5rKSAgICAgICAgICAgICAgICAgICAgfCB8IERlcG9zaXQgQWRkcmVzcyAgICAgICB8IGRlcG9zaXRfYWRkcmVzc2VzOnJlYWQgKE9yZ2FuaXphdGlvbiwgQmFuaywgQ3VzdG9tZXIpICAgICAgfCBkZXBvc2l0X2FkZHJlc3Nlczp3cml0ZSAoQmFuaywgQ3VzdG9tZXIpICAgICAgfCBkZXBvc2l0X2FkZHJlc3NlczpleGVjdXRlIChCYW5rLCBDdXN0b21lcikgICAgICAgfCB8IEV4dGVybmFsIEJhbmsgQWNjb3VudCB8IGV4dGVybmFsX2JhbmtfYWNjb3VudHM6cmVhZCAoT3JnYW5pemF0aW9uLCBCYW5rLCBDdXN0b21lcikgfCBleHRlcm5hbF9iYW5rX2FjY291bnRzOndyaXRlIChCYW5rLCBDdXN0b21lcikgfCBleHRlcm5hbF9iYW5rX2FjY291bnRzOmV4ZWN1dGUgKEJhbmssIEN1c3RvbWVyKSAgfCB8IEV4dGVybmFsIFdhbGxldCAgICAgICB8IGV4dGVybmFsX3dhbGxldDpyZWFkIChPcmdhbml6YXRpb24sIEJhbmssIEN1c3RvbWVyKSAgICAgICAgfCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCBleHRlcm5hbF93YWxsZXQ6ZXhlY3V0ZSAoQmFuaywgQ3VzdG9tZXIpICAgICAgICAgfCB8IE9yZ2FuaXphdGlvbiAgICAgICAgICB8IG9yZ2FuaXphdGlvbnM6cmVhZCAoT3JnYW5pemF0aW9uKSAgICAgICAgICAgICAgICAgICAgICAgICAgfCBvcmdhbml6YXRpb25zOndyaXRlIChPcmdhbml6YXRpb24pICAgICAgICAgICAgfCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IFVzZXIgICAgICAgICAgICAgICAgICB8IHVzZXJzOnJlYWQgKE9yZ2FuaXphdGlvbikgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB1c2VyczpleGVjdXRlIChPcmdhbml6YXRpb24pICAgICAgICAgICAgICAgICAgICAgfCB8IFByaWNlICAgICAgICAgICAgICAgICB8IHByaWNlczpyZWFkIChCYW5rLCBDdXN0b21lcikgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IFF1b3RlICAgICAgICAgICAgICAgICB8IHF1b3RlczpyZWFkIChPcmdhbml6YXRpb24sIEJhbmssIEN1c3RvbWVyKSAgICAgICAgICAgICAgICAgfCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCBxdW90ZXM6ZXhlY3V0ZSAoT3JnYW5pemF0aW9uLCBCYW5rLCBDdXN0b21lcikgICAgfCB8IFRyYWRlICAgICAgICAgICAgICAgICB8IHRyYWRlczpyZWFkIChPcmdhbml6YXRpb24sIEJhbmssIEN1c3RvbWVyKSAgICAgICAgICAgICAgICAgfCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB0cmFkZXM6ZXhlY3V0ZSAoT3JnYW5pemF0aW9uLCBCYW5rLCBDdXN0b21lcikgICAgfCB8IFRyYW5zZmVyICAgICAgICAgICAgICB8IHRyYW5zZmVyczpyZWFkIChPcmdhbml6YXRpb24sIEJhbmssIEN1c3RvbWVyKSAgICAgICAgICAgICAgfCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB0cmFuc2ZlcnM6ZXhlY3V0ZSAoT3JnYW5pemF0aW9uLCBCYW5rLCBDdXN0b21lcikgfCB8IFdvcmtmbG93ICAgICAgICAgICAgICB8IHdvcmtmbG93czpyZWFkIChPcmdhbml6YXRpb24sIEJhbmssIEN1c3RvbWVyKSAgICAgICAgICAgICAgfCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB3b3JrZmxvd3M6ZXhlY3V0ZSAoQmFuaywgQ3VzdG9tZXIpICAgICAgICAgICAgICAgfCB8IEludm9pY2UgICAgICAgICAgICAgICB8IGludm9pY2VzOnJlYWQgKE9yZ2FuaXphdGlvbiwgQmFuaywgQ3VzdG9tZXIpICAgICAgICAgICAgICAgfCBpbnZvaWNlczp3cml0ZSAoQmFuaywgQ3VzdG9tZXIpICAgICAgICAgICAgICAgfCBpbnZvaWNlczpleGVjdXRlIChCYW5rLCBDdXN0b21lcikgICAgICAgICAgICAgICAgfCAgIyMgQXZhaWxhYmxlIEVuZHBvaW50cyAgVGhlIGF2YWlsYWJsZSBBUElzIGZvciB0aGUgW0lkZW50aXR5XShodHRwczovL2lkLnByb2R1Y3Rpb24uY3licmlkLmFwcC9hcGkvc2NoZW1hL3N3YWdnZXItdWkpLCBbT3JnYW5pemF0aW9uXShodHRwczovL29yZ2FuaXphdGlvbi5wcm9kdWN0aW9uLmN5YnJpZC5hcHAvYXBpL3NjaGVtYS9zd2FnZ2VyLXVpKSBhbmQgW0JhbmtdKGh0dHBzOi8vYmFuay5wcm9kdWN0aW9uLmN5YnJpZC5hcHAvYXBpL3NjaGVtYS9zd2FnZ2VyLXVpKSBBUEkgc2VydmljZXMgYXJlIGxpc3RlZCBiZWxvdzogIHwgQVBJIFNlcnZpY2UgIHwgTW9kZWwgICAgICAgICAgICAgICAgfCBBUEkgRW5kcG9pbnQgUGF0aCAgICAgICAgICAgICAgfCBEZXNjcmlwdGlvbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfC0tLS0tLS0tLS0tLS0tfC0tLS0tLS0tLS0tLS0tLS0tLS0tLS18LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS18LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tfCB8IElkZW50aXR5ICAgICB8IEJhbmsgICAgICAgICAgICAgICAgIHwgL2FwaS9iYW5rX2FwcGxpY2F0aW9ucyAgICAgICAgIHwgQ3JlYXRlIGFuZCBsaXN0IGJhbmtzICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgSWRlbnRpdHkgICAgIHwgQ3VzdG9tZXJUb2tlbiAgICAgICAgfCAvYXBpL2N1c3RvbWVyX3Rva2VucyAgICAgICAgICAgfCBDcmVhdGUgY3VzdG9tZXIgSldUIGFjY2VzcyB0b2tlbnMgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBJZGVudGl0eSAgICAgfCBPcmdhbml6YXRpb24gICAgICAgICB8IC9hcGkvb3JnYW5pemF0aW9uX2FwcGxpY2F0aW9ucyB8IENyZWF0ZSBhbmQgbGlzdCBvcmdhbml6YXRpb25zICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IElkZW50aXR5ICAgICB8IE9yZ2FuaXphdGlvbiAgICAgICAgIHwgL2FwaS91c2VycyAgICAgICAgICAgICAgICAgICAgIHwgQ3JlYXRlIGFuZCBsaXN0IG9yZ2FuaXphdGlvbiB1c2VycyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgT3JnYW5pemF0aW9uIHwgT3JnYW5pemF0aW9uICAgICAgICAgfCAvYXBpL29yZ2FuaXphdGlvbnMgICAgICAgICAgICAgfCBBUElzIHRvIHJldHJpZXZlIGFuZCB1cGRhdGUgb3JnYW5pemF0aW9uIG5hbWUgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBCYW5rICAgICAgICAgfCBBY2NvdW50ICAgICAgICAgICAgICB8IC9hcGkvYWNjb3VudHMgICAgICAgICAgICAgICAgICB8IENyZWF0ZSBhbmQgbGlzdCBhY2NvdW50cywgd2hpY2ggaG9sZCBhIHNwZWNpZmljIGFzc2V0IGZvciBhIGN1c3RvbWVycyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IEJhbmsgICAgICAgICB8IEFzc2V0ICAgICAgICAgICAgICAgIHwgL2FwaS9hc3NldHMgICAgICAgICAgICAgICAgICAgIHwgR2V0IGEgbGlzdCBvZiBhc3NldHMgc3VwcG9ydGVkIGJ5IHRoZSBwbGF0Zm9ybSAoZXg6IEJUQywgRVRIKSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgQmFuayAgICAgICAgIHwgQmFuayAgICAgICAgICAgICAgICAgfCAvYXBpL2JhbmtzICAgICAgICAgICAgICAgICAgICAgfCBDcmVhdGUsIHVwZGF0ZSBhbmQgbGlzdCBiYW5rcywgdGhlIHBhcmVudCB0byBjdXN0b21lcnMsIGFjY291bnRzLCBldGMgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBCYW5rICAgICAgICAgfCBDdXN0b21lciAgICAgICAgICAgICB8IC9hcGkvY3VzdG9tZXJzICAgICAgICAgICAgICAgICB8IENyZWF0ZSBhbmQgbGlzdCBjdXN0b21lcnMgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IEJhbmsgICAgICAgICB8IENvdW50ZXJwYXJ0eSAgICAgICAgIHwgL2FwaS9jb3VudGVycGFydGllcyAgICAgICAgICAgIHwgQ3JlYXRlIGFuZCBsaXN0IGNvdW50ZXJwYXJ0aWVzICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgQmFuayAgICAgICAgIHwgRGVwb3NpdEFkZHJlc3MgICAgICAgfCAvYXBpL2RlcG9zaXRfYWRkcmVzc2VzICAgICAgICAgfCBDcmVhdGUsIGdldCBhbmQgbGlzdCBkZXBvc2l0IGFkZHJlc3NlcyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBCYW5rICAgICAgICAgfCBFeHRlcm5hbEJhbmtBY2NvdW50ICB8IC9hcGkvZXh0ZXJuYWxfYmFua19hY2NvdW50cyAgICB8IENyZWF0ZSwgZ2V0IGFuZCBsaXN0IGV4dGVybmFsIGJhbmsgYWNjb3VudHMsIHdoaWNoIGNvbm5lY3QgY3VzdG9tZXIgYmFuayBhY2NvdW50cyB0byB0aGUgcGxhdGZvcm0gfCB8IEJhbmsgICAgICAgICB8IEV4dGVybmFsV2FsbGV0ICAgICAgIHwgL2FwaS9leHRlcm5hbF93YWxsZXRzICAgICAgICAgIHwgQ3JlYXRlLCBnZXQsIGxpc3QgYW5kIGRlbGV0ZSBleHRlcm5hbCB3YWxsZXRzLCB3aGljaCBjb25uZWN0IGN1c3RvbWVyIHdhbGxldHMgdG8gdGhlIHBsYXRmb3JtICAgICB8IHwgQmFuayAgICAgICAgIHwgSWRlbnRpdHlWZXJpZmljYXRpb24gfCAvYXBpL2lkZW50aXR5X3ZlcmlmaWNhdGlvbnMgICAgfCBDcmVhdGUgYW5kIGxpc3QgaWRlbnRpdHkgdmVyaWZpY2F0aW9ucywgd2hpY2ggYXJlIHBlcmZvcm1lZCBvbiBjdXN0b21lcnMgZm9yIEtZQyAgICAgICAgICAgICAgICAgIHwgfCBCYW5rICAgICAgICAgfCBJbnZvaWNlICAgICAgICAgICAgICB8IC9hcGkvaW52b2ljZXMgICAgICAgICAgICAgICAgICB8IENyZWF0ZSwgZ2V0LCBjYW5jZWwgYW5kIGxpc3QgaW52b2ljZXMgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IEJhbmsgICAgICAgICB8IFBheW1lbnRJbnN0cnVjdGlvbiAgIHwgL2FwaS9wYXltZW50X2luc3RydWN0aW9ucyAgICAgIHwgQ3JlYXRlLCBnZXQgYW5kIGxpc3QgcGF5bWVudCBpbnN0cnVjdGlvbnMgZm9yIGludm9pY2VzICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgQmFuayAgICAgICAgIHwgUHJpY2UgICAgICAgICAgICAgICAgfCAvYXBpL3ByaWNlcyAgICAgICAgICAgICAgICAgICAgfCBHZXQgdGhlIGN1cnJlbnQgcHJpY2VzIGZvciBhc3NldHMgb24gdGhlIHBsYXRmb3JtICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBCYW5rICAgICAgICAgfCBRdW90ZSAgICAgICAgICAgICAgICB8IC9hcGkvcXVvdGVzICAgICAgICAgICAgICAgICAgICB8IENyZWF0ZSBhbmQgbGlzdCBxdW90ZXMsIHdoaWNoIGFyZSByZXF1aXJlZCB0byBleGVjdXRlIHRyYWRlcyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IEJhbmsgICAgICAgICB8IFN5bWJvbCAgICAgICAgICAgICAgIHwgL2FwaS9zeW1ib2xzICAgICAgICAgICAgICAgICAgIHwgR2V0IGEgbGlzdCBvZiBzeW1ib2xzIHN1cHBvcnRlZCBmb3IgdHJhZGUgKGV4OiBCVEMtVVNEKSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgQmFuayAgICAgICAgIHwgVHJhZGUgICAgICAgICAgICAgICAgfCAvYXBpL3RyYWRlcyAgICAgICAgICAgICAgICAgICAgfCBDcmVhdGUgYW5kIGxpc3QgdHJhZGVzLCB3aGljaCBidXkgb3Igc2VsbCBjcnlwdG9jdXJyZW5jeSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBCYW5rICAgICAgICAgfCBUcmFuc2ZlciAgICAgICAgICAgICB8IC9hcGkvdHJhbnNmZXJzICAgICAgICAgICAgICAgICB8IENyZWF0ZSwgZ2V0IGFuZCBsaXN0IHRyYW5zZmVycyAoZS5nLiwgZnVuZGluZywgYm9vaykgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IEJhbmsgICAgICAgICB8IFdvcmtmbG93ICAgICAgICAgICAgIHwgL2FwaS93b3JrZmxvd3MgICAgICAgICAgICAgICAgIHwgQ3JlYXRlLCBnZXQgYW5kIGxpc3Qgd29ya2Zsb3dzICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8ICAjIyBVbmRlcnN0YW5kaW5nIE9iamVjdCBNb2RlbHMgJiBFbmRwb2ludHMgICoqT3JnYW5pemF0aW9ucyoqICBBbiBgT3JnY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JhbXNSZWN1cnNpdmUoaHR0cFBhcmFtczogSHR0cFBhcmFtcywgdmFsdWU/OiBhbnksIGtleT86IHN0cmluZyk6IEh0dHBQYXJhbXMge1xuICAgICAgICBpZiAodmFsdWUgPT0gbnVsbCkge1xuICAgICAgICAgICAgcmV0dXJuIGh0dHBQYXJhbXM7XG4gICAgICAgIH1cblxuICAgICAgICBpZiAodHlwZW9mIHZhbHVlID09PSBcIm9iamVjdFwiKSB7XG4gICAgICAgICAgICBpZiAoQXJyYXkuaXNBcnJheSh2YWx1ZSkpIHtcbiAgICAgICAgICAgICAgICAodmFsdWUgYXMgYW55W10pLmZvckVhY2goIGVsZW0gPT4gaHR0cFBhcmFtcyA9IHRoaXMuYWRkVG9IdHRwUGFyYW1zUmVjdXJzaXZlKGh0dHBQYXJhbXMsIGVsZW0sIGtleSkpO1xuICAgICAgICAgICAgfSBlbHNlIGlmICh2YWx1ZSBpbnN0YW5jZW9mIERhdGUpIHtcbiAgICAgICAgICAgICAgICBpZiAoa2V5ICE9IG51bGwpIHtcbiAgICAgICAgICAgICAgICAgICAgaHR0cFBhcmFtcyA9IGh0dHBQYXJhbXMuYXBwZW5kKGtleSwgKHZhbHVlIGFzIERhdGUpLnRvSVNPU3RyaW5nKCkuc3Vic3RyKDAsIDEwKSk7XG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICB0aHJvdyBFcnJvcihcImtleSBtYXkgbm90IGJlIG51bGwgaWYgdmFsdWUgaXMgRGF0ZVwiKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIE9iamVjdC5rZXlzKHZhbHVlKS5mb3JFYWNoKCBrID0+IGh0dHBQYXJhbXMgPSB0aGlzLmFkZFRvSHR0cFBhcmFtc1JlY3Vyc2l2ZShcbiAgICAgICAgICAgICAgICAgICAgaHR0cFBhcmFtcywgdmFsdWVba10sIGtleSAhPSBudWxsID8gYCR7a2V5f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vbic7XG4gICAgICAgIGlmIChsb2NhbFZhckh0dHBIZWFkZXJBY2NlcHRTZWxlY3RlZCkge1xuICAgICAgICAgICAgaWYgKGxvY2FsVmFySHR0cEhlYWRlckFjY2VwdFNlbGVjdGVkLnN0YXJ0c1dpdGgoJ3RleHQnKSkge1xuICAgICAgICAgICAgICAgIHJlc3BvbnNlVHlwZV8gPSAndGV4dCc7XG4gICAgICAgICAgICB9IGVsc2UgaWYgKHRoaXMuY29uZmlndXJhdGlvbi5pc0pzb25NaW1lKGxvY2FsVmFySHR0cEhlYWRlckFjY2VwdFNlbGVjdGVkKSkge1xuICAgICAgICAgICAgICAgIHJlc3BvbnNlVHlwZV8gPSAnanNvbic7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIHJlc3BvbnNlVHlwZV8gPSAnYmxvYic7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4gdGhpcy5odHRwQ2xpZW50LmdldDxPcmdhbml6YXRpb25Pcmdhbml6YXRpb25Nb2RlbD4oYCR7dGhpcy5jb25maWd1cmF0aW9uLmJhc2VQYXRofS9hcGkvb3JnYW5pemF0aW9ucy8ke2VuY29kZVVSSUNvbXBvbmVudChTdHJpbmcob3JnYW5pemF0aW9uR3VpZCkpfWAsXG4gICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgY29udGV4dDogbG9jYWxWYXJIdHRwQ29udGV4dCxcbiAgICAgICAgICAgICAgICByZXNwb25zZVR5cGU6IDxhbnk+cmVzcG9uc2VUeXBlXyxcbiAgICAgICAgICAgICAgICB3aXRoQ3JlZGVudGlhbHM6IHRoaXMuY29uZmlndXJhdGlvbi53aXRoQ3JlZGVudGlhbHMsXG4gICAgICAgICAgICAgICAgaGVhZGVyczogbG9jYWxWYXJIZWFkZXJzLFxuICAgICAgICAgICAgICAgIG9ic2VydmU6IG9ic2VydmUsXG4gICAgICAgICAgICAgICAgcmVwb3J0UHJvZ3Jlc3M6IHJlc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HBIZWFkZXJBY2NlcHRTZWxlY3RlZCkge1xuICAgICAgICAgICAgaWYgKGxvY2FsVmFySHR0cEhlYWRlckFjY2VwdFNlbGVjdGVkLnN0YXJ0c1dpdGgoJ3RleHQnKSkge1xuICAgICAgICAgICAgICAgIHJlc3BvbnNlVHlwZV8gPSAndGV4dCc7XG4gICAgICAgICAgICB9IGVsc2UgaWYgKHRoaXMuY29uZmlndXJhdGlvbi5pc0pzb25NaW1lKGxvY2FsVmFySHR0cEhlYWRlckFjY2VwdFNlbGVjdGVkKSkge1xuICAgICAgICAgICAgICAgIHJlc3BvbnNlVHlwZV8gPSAnanNvbic7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIHJlc3BvbnNlVHlwZV8gPSAnYmxvYic7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4gdGhpcy5odHRwQ2xpZW50LnBhdGNoPE9yZ2FuaXphdGlvbk9yZ2FuaXphdGlvbk1vZGVsPihgJHt0aGlzLmNvbmZpZ3VyYXRpb24uYmFzZVBhdGh9L2FwaS9vcmdhbml6YXRpb25zLyR7ZW5jb2RlVVJJQ29tcG9uZW50KFN0cmluZyhvcmdhbml6YXRpb25HdWlkKSl9YCxcbiAgICAgICAgICAgIHBhdGNoT3JnYW5pemF0aW9uT3JnYW5pemF0aW9uTW9kZWwsXG4gICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgY29udGV4dDogbG9jYWxWYXJIdHRwQ29udGV4dCxcbiAgICAgICAgICAgICAgICByZXNwb25zZVR5cGU6IDxhbnk+cmVzcG9uc2VUeXBlXyxcbiAgICAgICAgICAgICAgICB3aXRoQ3JlZGVudGlhbHM6IHRoaXMuY29uZmlndXJhdGlvbi53aXRoQ3JlZGVudGlhbHMsXG4gICAgICAgICAgICAgICAgaGVhZGVyczogbG9jYWxWYXJIZWFkZXJzLFxuICAgICAgICAgICAgICAgIG9ic2VydmU6IG9ic2VydmUsXG4gICAgICAgICAgICAgICAgcmVwb3J0UHJvZ3Jlc3M6IHJlcG9ydFByb2dyZXNzXG4gICAgICAgICAgICB9XG4gICAgICAgICk7XG4gICAgfVxuXG59XG4iXX0=