@cybrid/cybrid-api-id-angular 0.115.5 → 0.115.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/README.md +2 -2
  2. package/esm2020/api/bankApplications.service.mjs +2 -2
  3. package/esm2020/api/customerTokens.service.mjs +2 -2
  4. package/esm2020/api/organizationApplications.service.mjs +2 -2
  5. package/esm2020/api/users.service.mjs +2 -2
  6. package/esm2020/model/application.mjs +2 -2
  7. package/esm2020/model/applicationList.mjs +1 -1
  8. package/esm2020/model/applicationWithSecret.mjs +1 -1
  9. package/esm2020/model/applicationWithSecretAllOf.mjs +2 -2
  10. package/esm2020/model/customerToken.mjs +2 -2
  11. package/esm2020/model/errorResponse.mjs +2 -2
  12. package/esm2020/model/postBankApplication.mjs +2 -2
  13. package/esm2020/model/postCustomerToken.mjs +2 -2
  14. package/esm2020/model/postOrganizationApplication.mjs +2 -2
  15. package/esm2020/model/postUser.mjs +2 -2
  16. package/esm2020/model/user.mjs +2 -2
  17. package/esm2020/model/userList.mjs +1 -1
  18. package/fesm2015/cybrid-cybrid-api-id-angular.mjs +6 -6
  19. package/fesm2015/cybrid-cybrid-api-id-angular.mjs.map +1 -1
  20. package/fesm2020/cybrid-cybrid-api-id-angular.mjs +13 -13
  21. package/fesm2020/cybrid-cybrid-api-id-angular.mjs.map +1 -1
  22. package/model/application.d.ts +1 -1
  23. package/model/applicationList.d.ts +1 -1
  24. package/model/applicationWithSecretAllOf.d.ts +1 -1
  25. package/model/customerToken.d.ts +1 -1
  26. package/model/errorResponse.d.ts +1 -1
  27. package/model/postBankApplication.d.ts +1 -1
  28. package/model/postCustomerToken.d.ts +1 -1
  29. package/model/postOrganizationApplication.d.ts +1 -1
  30. package/model/postUser.d.ts +1 -1
  31. package/model/user.d.ts +1 -1
  32. package/model/userList.d.ts +1 -1
  33. package/package.json +1 -1
@@ -2,7 +2,7 @@
2
2
  * Cybrid Identity 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.sandbox.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.sandbox.cybrid.app/api/schema/swagger-ui) | APIs to manage organizations | | [Bank API](https://bank.sandbox.cybrid.app/api/schema/swagger-ui) | APIs to manage banks (and all downstream customer activity) | | [Identities API](https://id.sandbox.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.sandbox.cybrid.app). Access tokens can be generated for a `Customer` as well via the [Cybrid IdP](https://id.sandbox.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.sandbox.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.sandbox.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 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\" }\' -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 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\' ``` <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) | | 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.sandbox.cybrid.app/api/schema/swagger-ui), [Organization](https://organization.sandbox.cybrid.app/api/schema/swagger-ui) and [Bank](https://bank.sandbox.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 | 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.115.5
5
+ * The version of the OpenAPI document: v0.115.7
6
6
  * Contact: support@cybrid.app
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -206,4 +206,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
206
206
  }]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2FuIGJlIGZvdW5kIG9uIHRoZSBmb2xsb3dpbmcgcGFnZXM6KiAgfCBBUEkgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgRGVzY3JpcHRpb24gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tfC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS18IHwgW09yZ2FuaXphdGlvbiBBUEldKGh0dHBzOi8vb3JnYW5pemF0aW9uLnNhbmRib3guY3licmlkLmFwcC9hcGkvc2NoZW1hL3N3YWdnZXItdWkpICAgfCBBUElzIHRvIG1hbmFnZSBvcmdhbml6YXRpb25zICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgW0JhbmsgQVBJXShodHRwczovL2Jhbmsuc2FuZGJveC5jeWJyaWQuYXBwL2FwaS9zY2hlbWEvc3dhZ2dlci11aSkgICAgICAgICAgICAgICAgICAgfCBBUElzIHRvIG1hbmFnZSBiYW5rcyAoYW5kIGFsbCBkb3duc3RyZWFtIGN1c3RvbWVyIGFjdGl2aXR5KSB8IHwgW0lkZW50aXRpZXMgQVBJXShodHRwczovL2lkLnNhbmRib3guY3licmlkLmFwcC9hcGkvc2NoZW1hL3N3YWdnZXItdWkpICAgICAgICAgICAgICAgICAgICAgICB8IEFQSXMgdG8gbWFuYWdlIG9yZ2FuaXphdGlvbiBhbmQgYmFuayBpZGVudGl0aWVzICAgICAgICAgICAgIHwgIEZvciBxdWVzdGlvbnMgcGxlYXNlIGNvbnRhY3QgW1N1cHBvcnRdKG1haWx0bzpzdXBwb3J0QGN5YnJpZC54eXopIGF0IGFueSB0aW1lIGZvciBhc3Npc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0tLS0tLXwgfCBBY2NvdW50ICAgICAgICAgICAgICAgfCBhY2NvdW50czpyZWFkIChPcmdhbml6YXRpb24sIEJhbmssIEN1c3RvbWVyKSAgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgYWNjb3VudHM6ZXhlY3V0ZSAoQmFuaywgQ3VzdG9tZXIpICAgICAgICAgICAgICAgIHwgfCBCYW5rICAgICAgICAgICAgICAgICAgfCBiYW5rczpyZWFkIChPcmdhbml6YXRpb24sIEJhbmspICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgYmFua3M6d3JpdGUgKE9yZ2FuaXphdGlvbiwgQmFuaykgICAgICAgICAgICAgIHwgYmFua3M6ZXhlY3V0ZSAoT3JnYW5pemF0aW9uKSAgICAgICAgICAgICAgICAgICAgIHwgfCBDdXN0b21lciAgICAgICAgICAgICAgfCBjdXN0b21lcnM6cmVhZCAoT3JnYW5pemF0aW9uLCBCYW5rLCBDdXN0b21lcikgICAgICAgICAgICAgIHwgY3VzdG9tZXJzOndyaXRlIChCYW5rLCBDdXN0b21lcikgICAgICAgICAgICAgIHwgY3VzdG9tZXJzOmV4ZWN1dGUgKEJhbmspICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBEZXBvc2l0IEFkZHJlc3MgICAgICAgfCBkZXBvc2l0X2FkZHJlc3NlczpyZWFkIChPcmdhbml6YXRpb24sIEJhbmssIEN1c3RvbWVyKSAgICAgIHwgZGVwb3NpdF9hZGRyZXNzZXM6d3JpdGUgKEJhbmssIEN1c3RvbWVyKSAgICAgIHwgZGVwb3NpdF9hZGRyZXNzZXM6ZXhlY3V0ZSAoQmFuaywgQ3VzdG9tZXIpICAgICAgIHwgfCBFeHRlcm5hbCBCYW5rIEFjY291bnQgfCBleHRlcm5hbF9iYW5rX2FjY291bnRzOnJlYWQgKE9yZ2FuaXphdGlvbiwgQmFuaywgQ3VzdG9tZXIpIHwgZXh0ZXJuYWxfYmFua19hY2NvdW50czp3cml0ZSAoQmFuaywgQ3VzdG9tZXIpIHwgZXh0ZXJuYWxfYmFua19hY2NvdW50czpleGVjdXRlIChCYW5rLCBDdXN0b21lcikgIHwgfCBFeHRlcm5hbCBXYWxsZXQgICAgICAgfCBleHRlcm5hbF93YWxsZXQ6cmVhZCAoT3JnYW5pemF0aW9uLCBCYW5rLCBDdXN0b21lcikgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgZXh0ZXJuYWxfd2FsbGV0OmV4ZWN1dGUgKEJhbmssIEN1c3RvbWVyKSAgICAgICAgIHwgfCBPcmdhbml6YXRpb24gICAgICAgICAgfCBvcmdhbml6YXRpb25zOnJlYWQgKE9yZ2FuaXphdGlvbikgICAgICAgICAgICAgICAgICAgICAgICAgIHwgb3JnYW5pemF0aW9uczp3cml0ZSAoT3JnYW5pemF0aW9uKSAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBVc2VyICAgICAgICAgICAgICAgICAgfCB1c2VyczpyZWFkIChPcmdhbml6YXRpb24pICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgdXNlcnM6ZXhlY3V0ZSAoT3JnYW5pemF0aW9uKSAgICAgICAgICAgICAgICAgICAgIHwgfCBQcmljZSAgICAgICAgICAgICAgICAgfCBwcmljZXM6cmVhZCAoQmFuaywgQ3VzdG9tZXIpICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBRdW90ZSAgICAgICAgICAgICAgICAgfCBxdW90ZXM6cmVhZCAoT3JnYW5pemF0aW9uLCBCYW5rLCBDdXN0b21lcikgICAgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgcXVvdGVzOmV4ZWN1dGUgKE9yZ2FuaXphdGlvbiwgQmFuaywgQ3VzdG9tZXIpICAgIHwgfCBUcmFkZSAgICAgICAgICAgICAgICAgfCB0cmFkZXM6cmVhZCAoT3JnYW5pemF0aW9uLCBCYW5rLCBDdXN0b21lcikgICAgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgdHJhZGVzOmV4ZWN1dGUgKE9yZ2FuaXphdGlvbiwgQmFuaywgQ3VzdG9tZXIpICAgIHwgfCBUcmFuc2ZlciAgICAgICAgICAgICAgfCB0cmFuc2ZlcnM6cmVhZCAoT3JnYW5pemF0aW9uLCBCYW5rLCBDdXN0b21lcikgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgdHJhbnNmZXJzOmV4ZWN1dGUgKE9yZ2FuaXphdGlvbiwgQmFuaywgQ3VzdG9tZXIpIHwgfCBXb3JrZmxvdyAgICAgICAgICAgICAgfCB3b3JrZmxvd3M6cmVhZCAoT3JnYW5pemF0aW9uLCBCYW5rLCBDdXN0b21lcikgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgd29ya2Zsb3dzOmV4ZWN1dGUgKEJhbmssIEN1c3RvbWVyKSAgICAgICAgICAgICAgIHwgfCBJbnZvaWNlICAgICAgICAgICAgICAgfCBpbnZvaWNlczpyZWFkIChPcmdhbml6YXRpb24sIEJhbmssIEN1c3RvbWVyKSAgICAgICAgICAgICAgIHwgaW52b2ljZXM6d3JpdGUgKEJhbmssIEN1c3RvbWVyKSAgICAgICAgICAgICAgIHwgaW52b2ljZXM6ZXhlY3V0ZSAoQmFuaywgQ3VzdG9tZXIpICAgICAgICAgICAgICAg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WVyVG9rZW4gICAgICAgIHwgL2FwaS9jdXN0b21lcl90b2tlbnMgICAgICAgICAgIHwgQ3JlYXRlIGN1c3RvbWVyIEpXVCBhY2Nlc3MgdG9rZW5zICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgSWRlbnRpdHkgICAgIHwgT3JnYW5pemF0aW9uICAgICAgICAgfCAvYXBpL29yZ2FuaXphdGlvbl9hcHBsaWNhdGlvbnMgfCBDcmVhdGUgYW5kIGxpc3Qgb3JnYW5pemF0aW9ucyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBJZGVudGl0eSAgICAgfCBPcmdhbml6YXRpb24gICAgICAgICB8IC9hcGkvdXNlcnMgICAgICAgICAgICAgICAgICAgICB8IENyZWF0ZSBhbmQgbGlzdCBvcmdhbml6YXRpb24gdXNlcnMgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IE9yZ2FuaXphdGlvbiB8IE9yZ2FuaXphdGlvbiAgICAgICAgIHwgL2FwaS9vcmdhbml6YXRpb25zICAgICAgICAgICAgIHwgQVBJcyB0byByZXRyaWV2ZSBhbmQgdXBkYXRlIG9yZ2FuaXphdGlvbiBuYW1lICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgQmFuayAgICAgICAgIHwgQWNjb3VudCAgICAgICAgICAgICAgfCAvYXBpL2FjY291bnRzICAgICAgICAgICAgICAgICAgfCBDcmVhdGUgYW5kIGxpc3QgYWNjb3VudHMsIHdoaWNoIGhvbGQgYSBzcGVjaWZpYyBhc3NldCBmb3IgYSBjdXN0b21lcnMgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBCYW5rICAgICAgICAgfCBBc3NldCAgICAgICAgICAgICAgICB8IC9hcGkvYXNzZXRzICAgICAgICAgICAgICAgICAgICB8IEdldCBhIGxpc3Qgb2YgYXNzZXRzIHN1cHBvcnRlZCBieSB0aGUgcGxhdGZvcm0gKGV4OiBCVEMsIEVUSCkgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IEJhbmsgICAgICAgICB8IEJhbmsgICAgICAgICAgICAgICAgIHwgL2FwaS9iYW5rcyAgICAgICAgICAgICAgICAgICAgIHwgQ3JlYXRlLCB1cGRhdGUgYW5kIGxpc3QgYmFua3MsIHRoZSBwYXJlbnQgdG8gY3VzdG9tZXJzLCBhY2NvdW50cywgZXRjICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgQmFuayAgICAgICAgIHwgQ3VzdG9tZXIgICAgICAgICAgICAgfCAvYXBpL2N1c3RvbWVycyAgICAgICAgICAgICAgICAgfCBDcmVhdGUgYW5kIGxpc3QgY3VzdG9tZXJzICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBCYW5rICAgICAgICAgfCBEZXBvc2l0QWRkcmVzcyAgICAgICB8IC9hcGkvZGVwb3NpdF9hZGRyZXNzZXMgICAgICAgICB8IENyZWF0ZSwgZ2V0IGFuZCBsaXN0IGRlcG9zaXQgYWRkcmVzc2VzICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IEJhbmsgICAgICAgICB8IEV4dGVybmFsQmFua0FjY291bnQgIHwgL2FwaS9leHRlcm5hbF9iYW5rX2FjY291bnRzICAgIHwgQ3JlYXRlLCBnZXQgYW5kIGxpc3QgZXh0ZXJuYWwgYmFuayBhY2NvdW50cywgd2hpY2ggY29ubmVjdCBjdXN0b21lciBiYW5rIGFjY291bnRzIHRvIHRoZSBwbGF0Zm9ybSB8IHwgQmFuayAgICAgICAgIHwgRXh0ZXJuYWxXYWxsZXQgICAgICAgfCAvYXBpL2V4dGVybmFsX3dhbGxldHMgICAgICAgICAgfCBDcmVhdGUsIGdldCwgbGlzdCBhbmQgZGVsZXRlIGV4dGVybmFsIHdhbGxldHMsIHdoaWNoIGNvbm5lY3QgY3VzdG9tZXIgd2FsbGV0cyB0byB0aGUgcGxhdGZvcm0gICAgIHwgfCBCYW5rICAgICAgICAgfCBJZGVudGl0eVZlcmlmaWNhdGlvbiB8IC9hcGkvaWRlbnRpdHlfdmVyaWZpY2F0aW9ucyAgICB8IENyZWF0ZSBhbmQgbGlzdCBpZGVudGl0eSB2ZXJpZmljYXRpb25zLCB3aGljaCBhcmUgcGVyZm9ybWVkIG9uIGN1c3RvbWVycyBmb3IgS1lDICAgICAgICAgICAgICAgICAgfCB8IEJhbmsgICAgICAgICB8IEludm9pY2UgICAgICAgICAgICAgIHwgL2FwaS9pbnZvaWNlcyAgICAgICAgICAgICAgICAgIHwgQ3JlYXRlLCBnZXQsIGNhbmNlbCBhbmQgbGlzdCBpbnZvaWNlcyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgQmFuayAgICAgICAgIHwgUGF5bWVudEluc3RydWN0aW9uICAgfCAvYXBpL3BheW1lbnRfaW5zdHJ1Y3Rpb25zICAgICAgfCBDcmVhdGUsIGdldCBhbmQgbGlzdCBwYXltZW50IGluc3RydWN0aW9ucyBmb3IgaW52b2ljZXMgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBCYW5rICAgICAgICAgfCBQcmljZSAgICAgICAgICAgICAgICB8IC9hcGkvcHJpY2VzICAgICAgICAgICAgICAgICAgICB8IEdldCB0aGUgY3VycmVudCBwcmljZXMgZm9yIGFzc2V0cyBvbiB0aGUgcGxhdGZvcm0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IEJhbmsgICAgICAgICB8IFF1b3RlICAgICAgICAgICAgICAgIHwgL2FwaS9xdW90ZXMgICAgICAgICAgICAgICAgICAgIHwgQ3JlYXRlIGFuZCBsaXN0IHF1b3Rlcywgd2hpY2ggYXJlIHJlcXVpcmVkIHRvIGV4ZWN1dGUgdHJhZGVzICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgQmFuayAgICAgICAgIHwgU3ltYm9sICAgICAgICAgICAgICAgfCAvYXBpL3N5bWJvbHMgICAgICAgICAgICAgICAgICAgfCBHZXQgYSBsaXN0IG9mIHN5bWJvbHMgc3VwcG9ydGVkIGZvciB0cmFkZSAoZXg6IEJUQy1VU0QpICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBCYW5rICAgICAgICAgfCBUcmFkZSAgICAgICAgICAgICAgICB8IC9hcGkvdHJhZGVzICAgICAgICAgICAgICAgICAgICB8IENyZWF0ZSBhbmQgbGlzdCB0cmFkZXMsIHdoaWNoIGJ1eSBvciBzZWxsIGNyeXB0b2N1cnJlbmN5ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IEJhbmsgICAgICAgICB8IFRyYW5zZmVyICAgICAgICAgICAgIHwgL2FwaS90cmFuc2ZlcnMgICAgICAgICAgICAgICAgIHwgQ3JlYXRlLCBnZXQgYW5kIGxpc3QgdHJhbnNmZXJzIChlLmcuLCBmdW5kaW5nLCBib29rKSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgQmFuayAgICAgICAgIHwgV29ya2Zsb3cgICAgICAgICAgICAgfCAvYXBpL3dvcmtmbG93cyAgICAgICAgICAgICAgICAgfCBDcmVhdGUsIGdldCBhbmQgbGlzdCB3b3JrZmxvd3MgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgICMjIFVuZGVyc3RhbmRpbmcgT2JqZWN0IE1vZGVscyAmIEVuZHBvaW50cyAgKipPcmdhbml6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AgICBwcml2YXRlIGFkZFRvSHR0cFBhcmFtc1JlY3Vyc2l2ZShodHRwUGFyYW1zOiBIdHRwUGFyYW1zLCB2YWx1ZT86IGFueSwga2V5Pzogc3RyaW5nKTogSHR0cFBhcmFtcyB7XG4gICAgICAgIGlmICh2YWx1ZSA9PSBudWxsKSB7XG4gICAgICAgICAgICByZXR1cm4gaHR0cFBhcmFtcztcbiAgICAgICAgfVxuXG4gICAgICAgIGlmICh0eXBlb2YgdmFsdWUgPT09IFwib2JqZWN0XCIpIHtcbiAgICAgICAgICAgIGlmIChBcnJheS5pc0FycmF5KHZhbHVlKSkge1xuICAgICAgICAgICAgICAgICh2YWx1ZSBhcyBhbnlbXSkuZm9yRWFjaCggZWxlbSA9PiBodHRwUGFyYW1zID0gdGhpcy5hZGRUb0h0dHBQYXJhbXNSZWN1cnNpdmUoaHR0cFBhcmFtcywgZWxlbSwga2V5KSk7XG4gICAgICAgICAgICB9IGVsc2UgaWYgKHZhbHVlIGluc3RhbmNlb2YgRGF0ZSkge1xuICAgICAgICAgICAgICAgIGlmIChrZXkgIT0gbnVsbCkge1xuICAgICAgICAgICAgICAgICAgICBodHRwUGFyYW1zID0gaHR0cFBhcmFtcy5hcHBlbmQoa2V5LCAodmFsdWUgYXMgRGF0ZSkudG9JU09TdHJpbmcoKS5zdWJzdHIoMCwgMTApKTtcbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgIHRocm93IEVycm9yKFwia2V5IG1heSBub3QgYmUgbnVsbCBpZiB2YWx1ZSBpcyBEYXRlXCIpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgT2JqZWN0LmtleXModmFsdWUpLmZvckVhY2goIGsgPT4gaHR0cFBhcmFtcyA9IHRoaXMuYWRkVG9IdHRwUGFyYW1zUmVjdXJzaXZlKFxuICAgICAgICAgICAgICAgICAgICBodHRwUGFyYW1zLCB2YWx1ZVtrX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BpZiAobG9jYWxWYXJIdHRwSGVhZGVyQWNjZXB0U2VsZWN0ZWQuc3RhcnRzV2l0aCgndGV4dCcpKSB7XG4gICAgICAgICAgICAgICAgcmVzcG9uc2VUeXBlXyA9ICd0ZXh0JztcbiAgICAgICAgICAgIH0gZWxzZSBpZiAodGhpcy5jb25maWd1cmF0aW9uLmlzSnNvbk1pbWUobG9jYWxWYXJIdHRwSGVhZGVyQWNjZXB0U2VsZWN0ZWQpKSB7XG4gICAgICAgICAgICAgICAgcmVzcG9uc2VUeXBlXyA9ICdqc29uJztcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgcmVzcG9uc2VUeXBlXyA9ICdibG9iJztcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIHJldHVybiB0aGlzLmh0dHBDbGllbnQucG9zdDxBcHBsaWNhdGlvbldpdGhTZWNyZXRJZHBNb2RlbD4oYCR7dGhpcy5jb25maWd1cmF0aW9uLmJhc2VQYXRofS9hcGkvb3JnYW5pemF0aW9uX2FwcGxpY2F0aW9uc2AsXG4gICAgICAgICAgICBwb3N0T3JnYW5pemF0aW9uQXBwbGljYXRpb25JZHBNb2RlbCxcbiAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICBjb250ZXh0OiBsb2NhbFZhckh0dHBDb250ZXh0LFxuICAgICAgICAgICAgICAgIHJlc3BvbnNlVHlwZTogPGFueT5yZXNwb25zZVR5cGVfLFxuICAgICAgICAgICAgICAgIHdpdGhDcmVkZW50aWFsczogdGhpcy5jb25maWd1cmF0aW9uLndpdGhDcmVkZW50aWFscyxcbiAgICAgICAgICAgICAgICBoZWFkZXJzOiBsb2NhbFZhckhlYWRlcnMsXG4gICAgICAgICAgICAgICAgb2JzZXJ2ZTogb2JzZXJ2ZSxcbiAgICAgICAgICAgICAgICByZXBvcnRQcm9ncmVzczogcmVwb3J0UHJvZ3Jlc3NcbiAgICAgICAgICAgIH1cbiAgICAgICAgKTtcbiAgIC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VkKSB7XG4gICAgICAgICAgICBsb2NhbFZhckh0dHBDb250ZXh0ID0gbmV3IEh0dHBDb250ZXh0KCk7XG4gICAgICAgIH1cblxuXG4gICAgICAgIGxldCByZXNwb25zZVR5cGVfOiAndGV4dCcgfCAnanNvbicgfCAnYmxvYicgPSAnanNvbic7XG4gICAgICAgIGlmIChsb2NhbFZhckh0dHBIZWFkZXJBY2NlcHRTZWxlY3RlZCkge1xuICAgICAgICAgICAgaWYgKGxvY2FsVmFySHR0cEhlYWRlckFjY2VwdFNlbGVjdGVkLnN0YXJ0c1dpdGgoJ3RleHQnKSkge1xuICAgICAgICAgICAgICAgIHJlc3BvbnNlVHlwZV8gPSAndGV4dCc7XG4gICAgICAgICAgICB9IGVsc2UgaWYgKHRoaXMuY29uZmlndXJhdGlvbi5pc0pzb25NaW1lKGxvY2FsVmFySHR0cEhlYWRlckFjY2VwdFNlbGVjdGVkKSkge1xuICAgICAgICAgICAgICAgIHJlc3BvbnNlVHlwZV8gPSAnanNvbic7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIHJlc3BvbnNlVHlwZV8gPSAnYmxvYic7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4gdGhpcy5odHRwQ2xpZW50LmdldDxBcHBsaWNhdGlvbkxpc3RJZHBNb2RlbD4oYCR7dGhpcy5jb25maWd1cmF0aW9uLmJhc2VQYXRofS9hcGkvb3JnYW5pemF0aW9uX2FwcGxpY2F0aW9uc2AsXG4gICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgY29udGV4dDogbG9jYWxWYXJIdHRwQ29udGV4dCxcbiAgICAgICAgICAgICAgICBwYXJhbXM6IGxvY2FsVmFyUXVlcnlQYXJhbWV0ZXJzLFxuICAgICAgICAgICAgICAgIHJlc3BvbnNlVHlwZTogPGFueT5yZXNwb25zZVR5cGVfLFxuICAgICAgICAgICAgICAgIHdpdGhDcmVkZW50aWFsczogdGhpcy5jb25maWd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0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLXwtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLXwtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLXwgfCBBY2NvdW50ICAgICAgICAgICAgICAgfCBhY2NvdW50czpyZWFkIChPcmdhbml6YXRpb24sIEJhbmssIEN1c3RvbWVyKSAgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgYWNjb3VudHM6ZXhlY3V0ZSAoQmFuaywgQ3VzdG9tZXIpICAgICAgICAgICAgICAgIHwgfCBCYW5rICAgICAgICAgICAgICAgICAgfCBiYW5rczpyZWFkIChPcmdhbml6YXRpb24sIEJhbmspICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgYmFua3M6d3JpdGUgKE9yZ2FuaXphdGlvbiwgQmFuaykgICAgICAgICAgICAgIHwgYmFua3M6ZXhlY3V0ZSAoT3JnYW5pemF0aW9uKSAgICAgICAgICAgICAgICAgICAgIHwgfCBDdXN0b21lciAgICAgICAgICAgICAgfCBjdXN0b21lcnM6cmVhZCAoT3JnYW5pemF0aW9uLCBCYW5rLCBDdXN0b21lcikgICAgICAgICAgICAgIHwgY3VzdG9tZXJzOndyaXRlIChCYW5rLCBDdXN0b21lcikgICAgICAgICAgICAgIHwgY3VzdG9tZXJzOmV4ZWN1dGUgKEJhbmspICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBEZXBvc2l0IEFkZHJlc3MgICAgICAgfCBkZXBvc2l0X2FkZHJlc3NlczpyZWFkIChPcmdhbml6YXRpb24sIEJhbmssIEN1c3RvbWVyKSAgICAgIHwgZGVwb3NpdF9hZGRyZXNzZXM6d3JpdGUgKEJhbmssIEN1c3RvbWVyKSAgICAgIHwgZGVwb3NpdF9hZGRyZXNzZXM6ZXhlY3V0ZSAoQmFuaywgQ3VzdG9tZXIpICAgICAgIHwgfCBFeHRlcm5hbCBCYW5rIEFjY291bnQgfCBleHRlcm5hbF9iYW5rX2FjY291bnRzOnJlYWQgKE9yZ2FuaXphdGlvbiwgQmFuaywgQ3VzdG9tZXIpIHwgZXh0ZXJuYWxfYmFua19hY2NvdW50czp3cml0ZSAoQmFuaywgQ3VzdG9tZXIpIHwgZXh0ZXJuYWxfYmFua19hY2NvdW50czpleGVjdXRlIChCYW5rLCBDdXN0b21lcikgIHwgfCBFeHRlcm5hbCBXYWxsZXQgICAgICAgfCBleHRlcm5hbF93YWxsZXQ6cmVhZCAoT3JnYW5pemF0aW9uLCBCYW5rLCBDdXN0b21lcikgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgZXh0ZXJuYWxfd2FsbGV0OmV4ZWN1dGUgKEJhbmssIEN1c3RvbWVyKSAgICAgICAgIHwgfCBPcmdhbml6YXRpb24gICAgICAgICAgfCBvcmdhbml6YXRpb25zOnJlYWQgKE9yZ2FuaXphdGlvbikgICAgICAgICAgICAgICAgICAgICAgICAgIHwgb3JnYW5pemF0aW9uczp3cml0ZSAoT3JnYW5pemF0aW9uKSAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBVc2VyICAgICAgICAgICAgICAgICAgfCB1c2VyczpyZWFkIChPcmdhbml6YXRpb24pICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgdXNlcnM6ZXhlY3V0ZSAoT3JnYW5pemF0aW9uKSAgICAgICAgICAgICAgICAgICAgIHwgfCBQcmljZSAgICAgICAgICAgICAgICAgfCBwcmljZXM6cmVhZCAoQmFuaywgQ3VzdG9tZXIpICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBRdW90ZSAgICAgICAgICAgICAgICAgfCBxdW90ZXM6cmVhZCAoT3JnYW5pemF0aW9uLCBCYW5rLCBDdXN0b21lcikgICAgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgcXVvdGVzOmV4ZWN1dGUgKE9yZ2FuaXphdGlvbiwgQmFuaywgQ3VzdG9tZXIpICAgIHwgfCBUcmFkZSAgICAgICAgICAgICAgICAgfCB0cmFkZXM6cmVhZCAoT3JnYW5pemF0aW9uLCBCYW5rLCBDdXN0b21lcikgICAgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgdHJhZGVzOmV4ZWN1dGUgKE9yZ2FuaXphdGlvbiwgQmFuaywgQ3VzdG9tZXIpICAgIHwgfCBUcmFuc2ZlciAgICAgICAgICAgICAgfCB0cmFuc2ZlcnM6cmVhZCAoT3JnYW5pemF0aW9uLCBCYW5rLCBDdXN0b21lcikgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgdHJhbnNmZXJzOmV4ZWN1dGUgKE9yZ2FuaXphdGlvbiwgQmFuaywgQ3VzdG9tZXIpIHwgfCBXb3JrZmxvdyAgICAgICAgICAgICAgfCB3b3JrZmxvd3M6cmVhZCAoT3JnYW5pemF0aW9uLCBCYW5rLCBDdXN0b21lcikgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgd29ya2Zsb3dzOmV4ZWN1dGUgKEJhbmssIEN1c3RvbWVyKSAgICAgICAgICAgICAgIHwgfCBJbnZvaWNlICAgICAgICAgICAg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5rICAgICAgICAgICAgICAgICB8IC9hcGkvYmFua19hcHBsaWNhdGlvbnMgICAgICAgICB8IENyZWF0ZSBhbmQgbGlzdCBiYW5rcyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IElkZW50aXR5ICAgICB8IEN1c3RvbWVyVG9rZW4gICAgICAgIHwgL2FwaS9jdXN0b21lcl90b2tlbnMgICAgICAgICAgIHwgQ3JlYXRlIGN1c3RvbWVyIEpXVCBhY2Nlc3MgdG9rZW5zICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgSWRlbnRpdHkgICAgIHwgT3JnYW5pemF0aW9uICAgICAgICAgfCAvYXBpL29yZ2FuaXphdGlvbl9hcHBsaWNhdGlvbnMgfCBDcmVhdGUgYW5kIGxpc3Qgb3JnYW5pemF0aW9ucyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBJZGVudGl0eSAgICAgfCBPcmdhbml6YXRpb24gICAgICAgICB8IC9hcGkvdXNlcnMgICAgICAgICAgICAgICAgICAgICB8IENyZWF0ZSBhbmQgbGlzdCBvcmdhbml6YXRpb24gdXNlcnMgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IE9yZ2FuaXphdGlvbiB8IE9yZ2FuaXphdGlvbiAgICAgICAgIHwgL2FwaS9vcmdhbml6YXRpb25zICAgICAgICAgICAgIHwgQVBJcyB0byByZXRyaWV2ZSBhbmQgdXBkYXRlIG9yZ2FuaXphdGlvbiBuYW1lICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgQmFuayAgICAgICAgIHwgQWNjb3VudCAgICAgICAgICAgICAgfCAvYXBpL2FjY291bnRzICAgICAgICAgICAgICAgICAgfCBDcmVhdGUgYW5kIGxpc3QgYWNjb3VudHMsIHdoaWNoIGhvbGQgYSBzcGVjaWZpYyBhc3NldCBmb3IgYSBjdXN0b21lcnMgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBCYW5rICAgICAgICAgfCBBc3NldCAgICAgICAgICAgICAgICB8IC9hcGkvYXNzZXRzICAgICAgICAgICAgICAgICAgICB8IEdldCBhIGxpc3Qgb2YgYXNzZXRzIHN1cHBvcnRlZCBieSB0aGUgcGxhdGZvcm0gKGV4OiBCVEMsIEVUSCkgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IEJhbmsgICAgICAgICB8IEJhbmsgICAgICAgICAgICAgICAgIHwgL2FwaS9iYW5rcyAgICAgICAgICAgICAgICAgICAgIHwgQ3JlYXRlLCB1cGRhdGUgYW5kIGxpc3QgYmFua3MsIHRoZSBwYXJlbnQgdG8gY3VzdG9tZXJzLCBhY2NvdW50cywgZXRjICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgQmFuayAgICAgICAgIHwgQ3VzdG9tZXIgICAgICAgICAgICAgfCAvYXBpL2N1c3RvbWVycyAgICAgICAgICAgICAgICAgfCBDcmVhdGUgYW5kIGxpc3QgY3VzdG9tZXJzICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBCYW5rICAgICAgICAgfCBEZXBvc2l0QWRkcmVzcyAgICAgICB8IC9hcGkvZGVwb3NpdF9hZGRyZXNzZXMgICAgICAgICB8IENyZWF0ZSwgZ2V0IGFuZCBsaXN0IGRlcG9zaXQgYWRkcmVzc2VzICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IEJhbmsgICAgICAgICB8IEV4dGVybmFsQmFua0FjY291bnQgIHwgL2FwaS9leHRlcm5hbF9iYW5rX2FjY291bnRzICAgIHwgQ3JlYXRlLCBnZXQgYW5kIGxpc3QgZXh0ZXJuYWwgYmFuayBhY2NvdW50cywgd2hpY2ggY29ubmVjdCBjdXN0b21lciBiYW5rIGFjY291bnRzIHRvIHRoZSBwbGF0Zm9ybSB8IHwgQmFuayAgICAgICAgIHwgRXh0ZXJuYWxXYWxsZXQgICAgICAgfCAvYXBpL2V4dGVybmFsX3dhbGxldHMgICAgICAgICAgfCBDcmVhdGUsIGdldCwgbGlzdCBhbmQgZGVsZXRlIGV4dGVybmFsIHdhbGxldHMsIHdoaWNoIGNvbm5lY3QgY3VzdG9tZXIgd2FsbGV0cyB0byB0aGUgcGxhdGZvcm0gICAgIHwgfCBCYW5rICAgICAgICAgfCBJZGVudGl0eVZlcmlmaWNhdGlvbiB8IC9hcGkvaWRlbnRpdHlfdmVyaWZpY2F0aW9ucyAgICB8IENyZWF0ZSBhbmQgbGlzdCBpZGVudGl0eSB2ZXJpZmljYXRpb25zLCB3aGljaCBhcmUgcGVyZm9ybWVkIG9uIGN1c3RvbWVycyBmb3IgS1lDICAgICAgICAgICAgICAgICAgfCB8IEJhbmsgICAgICAgICB8IEludm9pY2UgICAgICAgICAgICAgIHwgL2FwaS9pbnZvaWNlcyAgICAgICAgICAgICAgICAgIHwgQ3JlYXRlLCBnZXQsIGNhbmNlbCBhbmQgbGlzdCBpbnZvaWNlcyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgQmFuayAgICAgICAgIHwgUGF5bWVudEluc3RydWN0aW9uICAgfCAvYXBpL3BheW1lbnRfaW5zdHJ1Y3Rpb25zICAgICAgfCBDcmVhdGUsIGdldCBhbmQgbGlzdCBwYXltZW50IGluc3RydWN0aW9ucyBmb3IgaW52b2ljZXMgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBCYW5rICAgICAgICAgfCBQcmljZSAgICAgICAgICAgICAgICB8IC9hcGkvcHJpY2VzICAgICAgICAgICAgICAgICAgICB8IEdldCB0aGUgY3VycmVudCBwcmljZXMgZm9yIGFzc2V0cyBvbiB0aGUgcGxhdGZvcm0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IEJhbmsgICAgICAgICB8IFF1b3RlICAgICAgICAgICAgICAgIHwgL2FwaS9xdW90ZXMgICAgICAgICAgICAgICAgICAgIHwgQ3JlYXRlIGFuZCBsaXN0IHF1b3Rlcywgd2hpY2ggYXJlIHJlcXVpcmVkIHRvIGV4ZWN1dGUgdHJhZGVzICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgQmFuayAgICAgICAgIHwgU3ltYm9sICAgICAgICAgICAgICAgfCAvYXBpL3N5bWJvbHMgICAgICAgICAgICAgICAgICAgfCBHZXQgYSBsaXN0IG9mIHN5bWJvbHMgc3VwcG9ydGVkIGZvciB0cmFkZSAoZXg6IEJUQy1VU0QpICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgfCBCYW5rICAgICAgICAgfCBUcmFkZSAgICAgICAgICAgICAgICB8IC9hcGkvdHJhZGVzICAgICAgICAgICAgICAgICAgICB8IENyZWF0ZSBhbmQgbGlzdCB0cmFkZXMsIHdoaWNoIGJ1eSBvciBzZWxsIGNyeXB0b2N1cnJlbmN5ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8IEJhbmsgICAgICAgICB8IFRyYW5zZmVyICAgICAgICAgICAgIHwgL2FwaS90cmFuc2ZlcnMgICAgICAgICAgICAgICAgIHwgQ3JlYXRlLCBnZXQgYW5kIGxpc3QgdHJhbnNmZXJzIChlLmcuLCBmdW5kaW5nLCBib29rKSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwgQmFuayAgICAgICAgIHwgV29ya2Zsb3cgICAgICAgICAgICAgfCAvYXBpL3dvcmtmbG93cyA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dFNlbGVjdGVkKTtcbiAgICAgICAgfVxuXG4gICAgICAgIGxldCBsb2NhbFZhckh0dHBDb250ZXh0OiBIdHRwQ29udGV4dCB8IHVuZGVmaW5lZCA9IG9wdGlvbnMgJiYgb3B0aW9ucy5jb250ZXh0O1xuICAgICAgICBpZiAobG9jYWxWYXJIdHRwQ29udGV4dCA9PT0gdW5kZWZpbmVkKSB7XG4gICAgICAgICAgICBsb2NhbFZhckh0dHBDb250ZXh0ID0gbmV3IEh0dHBDb250ZXh0KCk7XG4gICAgICAgIH1cblxuXG4gICAgICAgIGxldCByZXNwb25zZVR5cGVfOiAndGV4dCcgfCAnanNvbicgfCAnYmxvYicgPSAnanNvbic7XG4gICAgICAgIGlmIChsb2NhbFZhckh0dHBIZWFkZXJBY2NlcHRTZWxlY3RlZCkge1xuICAgICAgICAgICAgaWYgKGxvY2FsVmFySHR0cEhlYWRlckFjY2VwdFNlbGVjdGVkLnN0YXJ0c1dpdGgoJ3RleHQnKSkge1xuICAgICAgICAgICAgICAgIHJlc3BvbnNlVHlwZV8gPSAndGV4dCc7XG4gICAgICAgICAgICB9IGVsc2UgaWYgKHRoaXMuY29uZmlndXJhdGlvbi5pc0pzb25NaW1lKGxvY2FsVmFySHR0cEhlYWRlckFjY2VwdFNlbGVjdGVkKSkge1xuICAgICAgICAgICAgICAgIHJlc3BvbnNlVHlwZV8gPSAnanNvbic7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIHJlc3BvbnNlVHlwZV8gPSAnYmxvYic7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4gdGhpcy5odHRwQ2xpZW50LmdldDxBcHBsaWNhdGlvbkxpc3RJZHBNb2RlbD4oYCR7dGhpcy5jb25maWd1cmF0aW9uLmJhc2VQYXRofS9hcGkvb3JnYW5pemF0aW9uX2FwcGxpY2F0aW9uc2AsXG4gICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgY29udGV4dDogbG9jYWxWYXJIdHRwQ29udGV4dCxcbiAgICAgICAgICAgICAgICBwYXJhbXM6IGxvY2FsVmFyUXVlcnlQYXJhbWV0ZXJzLFxuICAgICAgICAgICAgICAgIHJlc3BvbnNlVHlwZTogPGFueT5yZXNwb25zZVR5cGVfLFxuICAgICAgICAgICAgICAgIHdpdGhDcmVkZW50aWFsczogdGhpcy5jb25maWd1cmF0aW9uLndpdGhDcmVkZW50aWFscyxcbiAgICAgICAgICAgICAgICBoZWFkZXJzOiBsb2NhbFZhckhlYWRlcnMsXG4gICAgICAgICAgICAgICAgb2JzZXJ2ZTogb2JzZXJ2ZSxcbiAgICAgICAgICAgICAgICByZXBvcnRQcm9ncmVzczogcmVwb3J0UHJvZ3Jlc3NcbiAgICAgICAgICAgIH1cbiAgICAgICAgKTtcbiAgICB9XG5cbn1cbiJdfQ==