Repository: ubiquity-os-marketplace/daemon-pricing
Pull request #89: fix: label generation
Author: login: gentlementlegen
Created: 2025-02-18T01:25:54Z | Merged: 2025-03-08T01:25:30Z

Resolves #64

## TL;DR

- changed the workflow to fully remove / add labels on issues to regenerate the price and use the proper repo config
- stopped running label synchronization on each label addition / removal to save API calls and increase pricing speed
- sync happens during an Action run to avoid being killed mid flight
- various log improvement and bug fixes

## Changes

The workflow updates the labels according to the configuration changes. Instead of forcing an update on all the issues using the updated configuration, now the plugin will remove all the labels from all the issues, update the pricing labels and then add back all the labels except the price. This is because repositories can potentially override the organization configuration thus have different price labels. By updating the set labels, this in turn triggers a run of the plugin that will use the local repository configuration properly.

Logs have been improved, and some bugs have been resolved (all the labels were not fetched on update, and I removed the throw when labels were already present which would stop the workflow).

## Workflow

To achieve this, I removed the synchronisation of labels for each label added and removed, which seemed quite wrong, using a lot of resources for no reason. Now the synchronisation only happens on issue created, and repository created. This also runs in an Action, so we should have no timeout issue, and the Action can exhaust the retries available if we hit a secondary rate limit. The other benefit is that we get instant pricing updates on the issues as well.

The only downside (except if I introduced bugs) is that on issues that do not have labels, we can't use the "good first issue" label add / remove technique to update the labels. This should be okay most of the time since labels get generated on issue creation, but if an issue was created before then it could potentially be a problem (we can always create and delete an empty issue). Eventually if that is needed we could add a command like `/labelRegen` to this plugin, but I don't think that it will be necessary.

## QA

For the QA, I used two different repositories in the same organization, one that has a custom configuration and one that using the organization wide configuration. I created, edited and labeled these at the same time. They have different base rate multipliers which is why the price is different. We can see that both were updated properly, despite running updates on the same repository simultaneously.

<img width="1886" alt="image" src="https://github.com/user-attachments/assets/6625f0e2-eb85-448e-abed-821d799a198b" />

@0x4007 RFC!

<!--
- You must link the issue number e.g. "Resolves #1234"
- Please do not replace the keyword "Resolves" https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword
-->


Linked issue #64: Updating Priority Levels Removes Pricing From Many Issues
This is bad because I have to go back in and manually re-add all the pricing. 


Example: 
- https://github.com/ubiquity-os-marketplace/.ubiquity-os/commit/3635c013b31f35975dffa370369de72d52d2da0b
- causes https://github.com/ubiquity-os-marketplace/command-start-stop/issues/100#event-15637253843

This isn't the first time this happened either, with other "normal" priority levels. 

After a quick look at our https://github.com/orgs/ubiquity/projects/27 I noticed it only seems to do it inside of the @ubiquity-os-marketplace organization. The other two organizations were not affected, even after doing the same config changes.

Due to exceeded rate limits, it is possible that this failed halfway through the process. 

![telegram-cloud-photo-size-5-6258183812232101774-y](https://github.com/user-attachments/assets/9b699790-81bd-4a2f-9ade-f36e54fe62db)


As of this moment I won't fix the price labels but in case they are left as is, these can be useful to review for reference for not being affected:

<img width="647" alt="image" src="https://github.com/user-attachments/assets/66407641-7a6b-4877-b10b-df42c62821d1" />

###### https://devpool.directory/ubiquity-os-marketplace


<img width="656" alt="image" src="https://github.com/user-attachments/assets/77cfb43d-515d-4d57-b487-48e85e9523fb" />

###### https://devpool.directory/ubiquity-os-marketplace?proposal=true


Linked issue comments: user: login: ubiquity-os-beta[bot]
created_at: 2024-12-12T16:17:24Z
body: >[!NOTE]
>The following contributors may be suitable for this task:
>### [gentlementlegen](https://www.github.com/gentlementlegen)
> `78% Match` [ubiquity-os/plugins-wishlist#6](https://www.github.com/ubiquity-os/plugins-wishlist/issues/6)
> `78% Match` [ubiquity-os-marketplace/daemon-pricing#79](https://www.github.com/ubiquity-os-marketplace/daemon-pricing/issues/79)
> `78% Match` [ubiquity-os-marketplace/command-start-stop#129](https://www.github.com/ubiquity-os-marketplace/command-start-stop/issues/129)
>### [Keyrxng](https://www.github.com/Keyrxng)
> `77% Match` [ubiquity-os-marketplace/command-start-stop#79](https://www.github.com/ubiquity-os-marketplace/command-start-stop/issues/79)
author_association: CONTRIBUTOR
user: login: gentlementlegen
created_at: 2024-12-18T18:13:47Z
body: I don't know if it is related but I noticed that this plugin has a very hard time with quick and batch changes of labels, even more when it is not allowed, e.g. I am not allowed to set a price but at the same time I set a price and remove a time. Since both are un-allowed, the bot doesn't know how to revert the changes properly. Second, the other problem is that changing a label triggers two events: "unlabel" and "label". There probably could be a race-condition with the two events.
author_association: MEMBER
user: login: 0x4007
created_at: 2024-12-20T03:52:00Z
body: > the bot doesn't know how to revert the changes properly

We should definitely be leveraging the timeline to understand how to correctly revert

> triggers two events: "unlabel" and "label".

Good observation I suppose we should refactor our logic here to take this into consideration 
author_association: MEMBER
user: login: Sadaf-A
created_at: 2024-12-20T22:26:59Z
body: /start
author_association: NONE
user: login: ubiquity-os-beta[bot]
created_at: 2024-12-20T22:27:03Z
body: ```diff
! You do not have the adequate role to start this task (your role is: member). Allowed roles are: collaborator, admin.
```

<!-- Ubiquity - undefined -  - undefined
{
  "currentLabelConfiguration": {
    "name": "Priority: 4 (Urgent)",
    "roles": [
      "collaborator",
      "admin"
    ]
  },
  "issueLabels": [
    "time: &lt;1 hour",
    "priority: 4 (urgent)",
    "price: 100 usd"
  ],
  "issue": "https://github.com/ubiquity-os-marketplace/daemon-pricing/issues/64",
  "userAssociation": {
    "role": "member",
    "limit": 2
  },
  "caller": "checkRequirements"
}
-->

author_association: CONTRIBUTOR
user: login: gentlementlegen
created_at: 2025-01-09T06:17:18Z
body: @0x4007 I also noticed this has a flaw: if you update the base rate of the organization repository, I think that all the price tags will be updated with that new multiplier. But if a repo overrides this value then it will have the wrong multiplier applied to that repository.
author_association: MEMBER
user: login: 0x4007
created_at: 2025-01-09T10:19:44Z
body: Seems like a complex fix. 

Maybe it's more efficient to check the base rate during another event, perhaps something more localized like if a comment is posted on an issue or something, and to only fix that issues pricing. 

Worst case scenario somebody /start and it changes the price right after they start. Annoying but at least they didn't actually do any work yet? 
author_association: MEMBER
user: login: gentlementlegen
created_at: 2025-01-10T03:55:45Z
body: I think it is similar to the problem we have with `daemon-disqualifier` which uses the configuration of the repo it was triggered on, but actually updates all the repos using that same configuration. I'll try to find a workaround for this.
author_association: MEMBER
user: login: 0x4007
created_at: 2025-01-10T04:41:45Z
body: Sure, but my point is that my proposed approach would solve for that as well. I think it might be a better strategy given how simple it would be to implement. 

I'm also keen to remove base rate update because it is the sole reason why daemon-pricing responds so slow to set a price. 
author_association: MEMBER
user: login: gentlementlegen
created_at: 2025-02-17T07:37:55Z
body: I think this was partially fixed by https://github.com/ubiquity-os-marketplace/daemon-pricing/issues/79 because now it runs as an Action so the worker doesn't explode mid flight. However, the problem I mentioned earlier subsists: it is not updating the proper repositories. Also, it tries to create the same labels multiple times which is wrong as well.
author_association: MEMBER
user: login: gentlementlegen
created_at: 2025-02-17T08:04:59Z
body: /start
author_association: MEMBER
user: login: ubiquity-os-beta[bot]
created_at: 2025-02-17T08:05:11Z
body: <samp>
<table>
<tr>
<td>Warning!</td>
<td>This task was created over 66 days ago. Please confirm that this issue specification is accurate before starting.</td>
</tr>
<tr>
<td>Beneficiary</td>
<td>0x0fC1b909ba9265A846b82CF4CE352fc3e7EeB2ED</td>
</tr>
</table>
</samp>

> [!TIP]
> - Use <code>/wallet 0x0000...0000</code> if you want to update your registered payment wallet address.
> - Be sure to open a draft pull request as soon as possible to communicate updates on your progress.
> - Be sure to provide timely updates to us when requested, or you will be automatically unassigned from the task.
<!-- Ubiquity - Assignment - start - 76e9344
{
  "taskDeadline": null,
  "taskAssignees": [
    9807008
  ],
  "priceLabel": {
    "id": 6973287022,
    "node_id": "LA_kwDOLcmjKM8AAAABn6Pqbg",
    "url": "https://api.github.com/repos/ubiquity-os-marketplace/daemon-pricing/labels/Price:%20100%20USD",
    "name": "Price: 100 USD",
    "color": "1f883d",
    "default": false,
    "description": null
  },
  "revision": "76e9344",
  "caller": "start"
}
-->

<!-- UbiquityOS - start - b4031715-3621-4c9b-997e-6320c55a2118 - @gentlementlegen - https://dash.cloudflare.com/17b9dfa79e16b79dffcb11a66768539c/workers/services/view/ubiquity-os-command-start-stop-development/production/observability/logs?granularity=0&time=%7B%22type%22%3A%22absolute%22%2C%22to%22%3A1739779571138%2C%22from%22%3A1739779451138%7D
{
  "caller": "start"
}
-->

author_association: CONTRIBUTOR
user: login: ubiquity-os-beta[bot]
created_at: 2025-02-17T08:05:25Z
body: > [!IMPORTANT]
> - Be sure to link a pull-request before the first reminder to avoid disqualification.
> - Reminders will be sent every `1 day and 18 hours` if there is no activity.
> - Assignees will be disqualified after `3 days and 12 hours` of inactivity.

<!-- UbiquityOS - watchUserActivity - c70b9add86093fe4d60567e920de1b90baba10b9 - @ubiquity-os-beta[bot] - https://github.com/ubiquity-os-marketplace/daemon-disqualifier/actions/runs/13365562706
{
  "caller": "watchUserActivity"
}
-->

<!-- daemon-disqualifier update Tue Feb 18 2025 01:40:03 GMT+0000 (Coordinated Universal Time) -->
<!-- daemon-disqualifier update Wed Feb 19 2025 01:40:50 GMT+0000 (Coordinated Universal Time) -->
<!-- daemon-disqualifier update Thu Feb 20 2025 01:41:24 GMT+0000 (Coordinated Universal Time) -->
<!-- daemon-disqualifier update Fri Feb 21 2025 01:41:43 GMT+0000 (Coordinated Universal Time) -->
<!-- daemon-disqualifier update Sat Feb 22 2025 01:38:16 GMT+0000 (Coordinated Universal Time) -->
<!-- daemon-disqualifier update Sun Feb 23 2025 01:46:36 GMT+0000 (Coordinated Universal Time) -->
<!-- daemon-disqualifier update Mon Feb 24 2025 01:43:59 GMT+0000 (Coordinated Universal Time) -->
<!-- daemon-disqualifier update Fri Mar 07 2025 01:45:58 GMT+0000 (Coordinated Universal Time) -->
<!-- daemon-disqualifier update Sat Mar 08 2025 01:18:19 GMT+0000 (Coordinated Universal Time) -->
author_association: CONTRIBUTOR
user: login: 0x4007
created_at: 2025-03-01T08:14:01Z
body: Changed time to accommodate the full change to the approach of how the plugin works. 
author_association: MEMBER
user: login: ubiquity-os-beta[bot]
created_at: 2025-03-01T08:14:13Z
body: @shiv810 you have used all available deadline extensions and have been disqualified from this task.

<!-- UbiquityOS - removeAllAssignees - e4ab2e7d07ba1637ff75f4436bce2c606d0c207d - @ubiquity-os-beta[bot] - https://github.com/ubiquity-os-marketplace/daemon-disqualifier/actions/runs/13602817231
{
  "issue": "https://github.com/ubiquity-os-marketplace/daemon-pricing/issues/82",
  "caller": "removeAllAssignees"
}
-->

author_association: CONTRIBUTOR
user: login: 0x4007
created_at: 2025-03-01T09:09:13Z
body: There's obviously a bug #92 

@gentlementlegen i think this is your code. Take a look. 

It seems this specific problem keeps coming up across different plug-ins. I think this is the third isolated instance. 

Couldn't we have a method in the SDK that will check the issue ID number before taking any actions and throw an error if it doesn't match? @whilefoo rfc
author_association: MEMBER
user: login: gentlementlegen
created_at: 2025-03-01T11:24:02Z
body: @0x4007 Interest because the metadata and the logs indicate the proper issue to target, it un-assigned on the correct issue yet it got posted here, I'll investigate.
author_association: MEMBER
user: login: whilefoo
created_at: 2025-03-01T20:05:28Z
body: 

> It seems this specific problem keeps coming up across different plug-ins. I think this is the third isolated instance.

It was mostly a problem where plugins think issues and PR will be in the same repo, but here un-assign was done in the right issue but the comment got posted in the wrong issue. 




author_association: MEMBER
user: login: gentlementlegen
created_at: 2025-03-02T13:53:36Z
body: My guess was that the issue was saved in the logger since it re uses the previous comment to update it. This or some variable that is wrong when defining the issue to post this in.
author_association: MEMBER
user: login: whilefoo
created_at: 2025-03-02T14:27:49Z
body: > My guess was that the issue was saved in the logger since it re uses the previous comment to update it. This or some variable that is wrong when defining the issue to post this in.

Just looked through the code and it seems that `removeAllAssignees` gets `issue` as a parameter, but the commentHandler will post to the issue from the context - that's why it posted to the wrong issue
author_association: MEMBER
user: login: 0x4007
created_at: 2025-03-03T18:32:00Z
body: > > My guess was that the issue was saved in the logger since it re uses the previous comment to update it. This or some variable that is wrong when defining the issue to post this in.
> 
> Just looked through the code and it seems that `removeAllAssignees` gets `issue` as a parameter, but the commentHandler will post to the issue from the context - that's why it posted to the wrong issue

Can you push a fix please. 
author_association: MEMBER
user: login: whilefoo
created_at: 2025-03-03T21:58:32Z
body: > Can you push a fix please.

The fix is https://github.com/ubiquity-os-marketplace/daemon-disqualifier/pull/83
author_association: MEMBER
user: login: ubiquity-os-beta[bot]
created_at: 2025-03-08T01:18:37Z
body: @gentlementlegen you have used all available deadline extensions and have been disqualified from this task.

<!-- UbiquityOS - removeAllAssignees - 994d6aade1a202be2d8b6929a71f7131d0bfd3b2 - @ubiquity-os[bot] - https://github.com/ubiquity-os-marketplace/daemon-disqualifier/actions/runs/13732378907
{
  "issue": "https://github.com/ubiquity-os-marketplace/daemon-pricing/issues/64",
  "caller": "removeAllAssignees"
}
-->

author_association: CONTRIBUTOR
user: login: gentlementlegen
created_at: 2025-03-08T01:23:18Z
body: I guess I should not get un-assigned because the PR was approved. I am sure there is some condition in the code for 5hat,maybe the API sent something unexpected, I'll have a look. 
author_association: MEMBER
user: login: ubiquity-os-beta[bot]
created_at: 2025-03-08T01:23:44Z
body: > [!IMPORTANT]
> - Be sure to link a pull-request before the first reminder to avoid disqualification.
> - Reminders will be sent every `21 hours` if there is no activity.
> - Assignees will be disqualified after `1 day and 18 hours` of inactivity.

<!-- UbiquityOS - watchUserActivity - 6a00545c22ae7a2b61422287511cee93cdf29a4e - @gentlementlegen - https://github.com/ubiquity-os-marketplace/daemon-disqualifier/actions/runs/13732432996
{
  "caller": "watchUserActivity"
}
-->

<!-- daemon-disqualifier update Sun Mar 09 2025 01:24:23 GMT+0000 (Coordinated Universal Time) -->
<!-- daemon-disqualifier update Mon Mar 10 2025 01:22:09 GMT+0000 (Coordinated Universal Time) -->
<!-- daemon-disqualifier update Tue Mar 11 2025 01:45:50 GMT+0000 (Coordinated Universal Time) -->
<!-- daemon-disqualifier update Wed Mar 12 2025 01:44:49 GMT+0000 (Coordinated Universal Time) -->
<!-- daemon-disqualifier update Thu Mar 13 2025 01:46:34 GMT+0000 (Coordinated Universal Time) -->
<!-- daemon-disqualifier update Fri Mar 14 2025 01:44:33 GMT+0000 (Coordinated Universal Time) -->
<!-- daemon-disqualifier update Sat Mar 15 2025 01:43:43 GMT+0000 (Coordinated Universal Time) -->
<!-- daemon-disqualifier update Sun Mar 16 2025 01:51:46 GMT+0000 (Coordinated Universal Time) -->
<!-- daemon-disqualifier update Mon Mar 17 2025 01:49:05 GMT+0000 (Coordinated Universal Time) -->
<!-- daemon-disqualifier update Tue Mar 18 2025 01:47:03 GMT+0000 (Coordinated Universal Time) -->
<!-- daemon-disqualifier update Wed Mar 19 2025 01:46:59 GMT+0000 (Coordinated Universal Time) -->
author_association: CONTRIBUTOR
user: login: ubiquity-os-beta[bot]
created_at: 2025-03-08T01:25:46Z
body: <details><summary><b><h3>&nbsp;<a href="https://pay.ubq.fi?claim=W3sidHlwZSI6ImVyYzIwLXBlcm1pdCIsInBlcm1pdCI6eyJwZXJtaXR0ZWQiOnsidG9rZW4iOiIweGU5MUQxNTNFMGI0MTUxOEEyQ2U4RGQzRDc5NDRGYTg2MzQ2M2E5N2QiLCJhbW91bnQiOiI4MjI4MDAwMDAwMDAwMDAwMDAwMDAifSwibm9uY2UiOiIyMDgyMjc3MjAwMjMyNjYxOTkwNzIyMjU5MjI4OTU2MDY0NDc4NDIxOTU3NTIyMzg1Mzk1NTI5NTUyNTg3MjIzMzAyODg4NjUwNDM5MCIsImRlYWRsaW5lIjoiMTE1NzkyMDg5MjM3MzE2MTk1NDIzNTcwOTg1MDA4Njg3OTA3ODUzMjY5OTg0NjY1NjQwNTY0MDM5NDU3NTg0MDA3OTEzMTI5NjM5OTM1In0sInRyYW5zZmVyRGV0YWlscyI6eyJ0byI6IjB4MGZDMWI5MDliYTkyNjVBODQ2YjgyQ0Y0Q0UzNTJmYzNlN0VlQjJFRCIsInJlcXVlc3RlZEFtb3VudCI6IjgyMjgwMDAwMDAwMDAwMDAwMDAwMCJ9LCJvd25lciI6IjB4OTA1MWVEYTk2ZEI0MTljOTY3MTg5RjRBYzMwM2EyOTBGMzMyNzY4MCIsInNpZ25hdHVyZSI6IjB4OGYwNDMzMDFlYmQyZTY2MThmYTViNjBjODZhZWU1YzQ4N2YwZmRjOWMxNDFkNzRmYmIwMzQ0ZmJkYjBlNzJhNDUwZDQwMTM2ZDZiOGQ5YzJlZDU2NWQ4YjljMGEzNmZmMmFkMTEzYWRmMjA2YjBmYmI0YmIwNjQwZDhkZjdjZTYxYiIsIm5ldHdvcmtJZCI6MTAwfV0=" target="_blank" rel="noopener">[ 822.8 WXDAI ]</a>&nbsp;</h3><h6>@gentlementlegen</h6></b></summary><h6>Contributions Overview</h6><table><thead><tr><th>View</th><th>Contribution</th><th>Count</th><th>Reward</th></tr></thead><tbody><tr><td>Issue</td><td>Task</td><td>1</td><td>800</td></tr><tr><td>Issue</td><td>Comment</td><td>4</td><td>22.8</td></tr></tbody></table><h6>Conversation Incentives</h6><table><thead><tr><th>Comment</th><th>Formatting</th><th>Relevance</th><th>Priority</th><th>Reward</th></tr></thead><tbody><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/issues/64#issuecomment-2551977965" target="_blank" rel="noopener">I don't know if it is related but I noticed that this plugin has&hellip;</a></h6></td><td><details><summary>4.93</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 1&#13;  result: 0&#13;regex:&#13;  wordCount: 98&#13;  wordValue: 0.1&#13;  result: 4.93&#13;</pre></details></td><td>1</td><td>4</td><td>6.08</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/issues/64#issuecomment-2579258772" target="_blank" rel="noopener">@0x4007 I also noticed this has a flaw: if you update the base r&hellip;</a></h6></td><td><details><summary>2.78</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 1&#13;  result: 0&#13;regex:&#13;  wordCount: 50&#13;  wordValue: 0.1&#13;  result: 2.78&#13;</pre></details></td><td>1</td><td>4</td><td>3.56</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/issues/64#issuecomment-2581691640" target="_blank" rel="noopener">I think it is similar to the problem we have with &#96;daemon-di&hellip;</a></h6></td><td><details><summary>2.35</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 1&#13;  result: 0&#13;regex:&#13;  wordCount: 41&#13;  wordValue: 0.1&#13;  result: 2.35&#13;</pre></details></td><td>1</td><td>4</td><td>3.04</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/issues/64#issuecomment-2662283808" target="_blank" rel="noopener">I think this was partially fixed by https://github.com/ubiquity-&hellip;</a></h6></td><td><details><summary>7.83</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 1&#13;    a:&#13;      score: 5&#13;      elementCount: 1&#13;  result: 5&#13;regex:&#13;  wordCount: 51&#13;  wordValue: 0.1&#13;  result: 2.83&#13;</pre></details></td><td>1</td><td>4</td><td>10.12</td></tr></tbody></table></details><details><summary><b><h3>&nbsp;<a href="https://pay.ubq.fi?claim=W3sidHlwZSI6ImVyYzIwLXBlcm1pdCIsInBlcm1pdCI6eyJwZXJtaXR0ZWQiOnsidG9rZW4iOiIweGU5MUQxNTNFMGI0MTUxOEEyQ2U4RGQzRDc5NDRGYTg2MzQ2M2E5N2QiLCJhbW91bnQiOiIxODAzMjYwMDAwMDAwMDAwMDAwMDAifSwibm9uY2UiOiI0MDEzNDUyMzc3ODc3NzQ5NTgxNTQ3MDUyOTE0MTA3ODg0NjU2ODQ2MDAyMjY5MzM1NzI0OTY2MzE1MzQ3NzQ2NzA5NjA0NDk3OTQ0MCIsImRlYWRsaW5lIjoiMTE1NzkyMDg5MjM3MzE2MTk1NDIzNTcwOTg1MDA4Njg3OTA3ODUzMjY5OTg0NjY1NjQwNTY0MDM5NDU3NTg0MDA3OTEzMTI5NjM5OTM1In0sInRyYW5zZmVyRGV0YWlscyI6eyJ0byI6IjB4NDAwN0NFMjA4M2M3RjNFMTgwOTdhZUIzQTM5YmI4ZUMxNDlhMzQxZCIsInJlcXVlc3RlZEFtb3VudCI6IjE4MDMyNjAwMDAwMDAwMDAwMDAwMCJ9LCJvd25lciI6IjB4OTA1MWVEYTk2ZEI0MTljOTY3MTg5RjRBYzMwM2EyOTBGMzMyNzY4MCIsInNpZ25hdHVyZSI6IjB4MTIxZDBiOTYwNjk2OGRhNzY1YjJhYmUwYzg4M2NlNWMxNmZkYzJmMzFiZGUzMTk0YTdkMDEzYTdmMzdlYzAxMjcxOGMyYTkzOTEzYTBmMTg2ZGU5MWY2Y2I5ZjRiZTkxNTlhODk4ZTBjYTIxYjM3YTY4ZDRjYjhiMGExZDljMWUxYyIsIm5ldHdvcmtJZCI6MTAwfV0=" target="_blank" rel="noopener">[ 180.326 WXDAI ]</a>&nbsp;</h3><h6>@0x4007</h6></b></summary><h6>Contributions Overview</h6><table><thead><tr><th>View</th><th>Contribution</th><th>Count</th><th>Reward</th></tr></thead><tbody><tr><td>Review</td><td>Base Review for&nbsp;<a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/pull/89" target="_blank" rel="noopener">#89</a></td><td>1</td><td>25</td></tr><tr><td>Review</td><td>Code Review</td><td>3</td><td>28.72</td></tr><tr><td>Issue</td><td>Specification</td><td>1</td><td>56.07</td></tr><tr><td>Issue</td><td>Comment</td><td>6</td><td>56.14</td></tr><tr><td>Review</td><td>Comment</td><td>6</td><td>14.396</td></tr></tbody></table><h6>Review Details for&nbsp;<a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/pull/89" target="_blank" rel="noopener">#89</a></h6><table><thead><tr><th>Changes</th><th>Priority</th><th>Reward</th></tr></thead><tbody><tr><td>+185 -122</td><td>4</td><td>12.28</td></tr><tr><td>+159 -86</td><td>4</td><td>9.8</td></tr><tr><td>+68 -98</td><td>4</td><td>6.64</td></tr></tbody></table><h6>Conversation Incentives</h6><table><thead><tr><th>Comment</th><th>Formatting</th><th>Relevance</th><th>Priority</th><th>Reward</th></tr></thead><tbody><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/issues/64" target="_blank" rel="noopener">This is bad because I have to go back in and manually re-add all&hellip;</a></h6></td><td><details><summary>43.3</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 11&#13;    ul:&#13;      score: 0&#13;      elementCount: 1&#13;    li:&#13;      score: 0.1&#13;      elementCount: 2&#13;    img:&#13;      score: 5&#13;      elementCount: 1&#13;    h6:&#13;      score: 1&#13;      elementCount: 2&#13;    a:&#13;      score: 5&#13;      elementCount: 6&#13;  result: 37.2&#13;regex:&#13;  wordCount: 126&#13;  wordValue: 0.1&#13;  result: 6.1&#13;</pre></details></td><td>1</td><td>1</td><td>56.07</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/issues/64#issuecomment-2556233089" target="_blank" rel="noopener">We should definitely be leveraging the timeline to understand ho&hellip;</a></h6></td><td><details><summary>1.7</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 1&#13;  result: 0&#13;regex:&#13;  wordCount: 28&#13;  wordValue: 0.1&#13;  result: 1.7&#13;</pre></details></td><td>0.7</td><td>4</td><td>5.544</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/issues/64#issuecomment-2579713729" target="_blank" rel="noopener">Seems like a complex fix. Maybe it's more efficient to check th&hellip;</a></h6></td><td><details><summary>3.52</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 1&#13;  result: 0&#13;regex:&#13;  wordCount: 66&#13;  wordValue: 0.1&#13;  result: 3.52&#13;</pre></details></td><td>0.8</td><td>4</td><td>14.368</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/issues/64#issuecomment-2581730093" target="_blank" rel="noopener">Sure, but my point is that my proposed approach would solve for &hellip;</a></h6></td><td><details><summary>3.06</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 2&#13;  result: 0&#13;regex:&#13;  wordCount: 56&#13;  wordValue: 0.1&#13;  result: 3.06&#13;</pre></details></td><td>0.9</td><td>4</td><td>13.788</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/issues/64#issuecomment-2692061192" target="_blank" rel="noopener">Changed time to accommodate the full change to the approach of h&hellip;</a></h6></td><td><details><summary>1</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 1&#13;  result: 0&#13;regex:&#13;  wordCount: 15&#13;  wordValue: 0.1&#13;  result: 1&#13;</pre></details></td><td>0.5</td><td>4</td><td>2.48</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/issues/64#issuecomment-2692084785" target="_blank" rel="noopener">There's obviously a bug #92 @gentlementlegen i think this is yo&hellip;</a></h6></td><td><details><summary>3.57</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 1&#13;  result: 0&#13;regex:&#13;  wordCount: 67&#13;  wordValue: 0.1&#13;  result: 3.57&#13;</pre></details></td><td>1</td><td>4</td><td>17.8</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/issues/64#issuecomment-2695230187" target="_blank" rel="noopener">Can you push a fix please.</a></h6></td><td><details><summary>0.46</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 1&#13;  result: 0&#13;regex:&#13;  wordCount: 6&#13;  wordValue: 0.1&#13;  result: 0.46&#13;</pre></details></td><td>0.9</td><td>4</td><td>2.16</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/pull/89#pullrequestreview-2635819526" target="_blank" rel="noopener">This seems like it's tricky to test since it addresses a lot of &hellip;</a></h6></td><td><details><summary>1.44</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 1&#13;  result: 0&#13;regex:&#13;  wordCount: 23&#13;  wordValue: 0.1&#13;  result: 1.44&#13;</pre></details></td><td>0.2</td><td>4</td><td>1.384</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/pull/89#discussion_r1976357352" target="_blank" rel="noopener">Interesting workaround</a></h6></td><td><details><summary>0.18</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 1&#13;  result: 0&#13;regex:&#13;  wordCount: 2&#13;  wordValue: 0.1&#13;  result: 0.18&#13;</pre></details></td><td>0.5</td><td>4</td><td>0.36</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/pull/89#discussion_r1980873006" target="_blank" rel="noopener">One of the most invasive features of @ubiquityos is the labels. &hellip;</a></h6></td><td><details><summary>3.11</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 1&#13;  result: 0&#13;regex:&#13;  wordCount: 57&#13;  wordValue: 0.1&#13;  result: 3.11&#13;</pre></details></td><td>0.7</td><td>4</td><td>11.284</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/pull/89#issuecomment-2670518089" target="_blank" rel="noopener">I think you should unassign until actively working on it. Or els&hellip;</a></h6></td><td><details><summary>1.11</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 1&#13;  result: 0&#13;regex:&#13;  wordCount: 17&#13;  wordValue: 0.1&#13;  result: 1.11&#13;</pre></details></td><td>0.1</td><td>4</td><td>0.576</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/pull/89#issuecomment-2692042174" target="_blank" rel="noopener">It's a bit hard for me to tell what's going on from the pictures&hellip;</a></h6></td><td><details><summary>1.8</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 1&#13;  result: 0&#13;regex:&#13;  wordCount: 30&#13;  wordValue: 0.1&#13;  result: 1.8&#13;</pre></details></td><td>0</td><td>4</td><td>0</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/pull/89#issuecomment-2692248967" target="_blank" rel="noopener">We can consider a first responder and safe mode Worker Actions</a></h6></td><td><details><summary>0.77</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 1&#13;  result: 0&#13;regex:&#13;  wordCount: 11&#13;  wordValue: 0.1&#13;  result: 0.77&#13;</pre></details></td><td>0.2</td><td>4</td><td>0.792</td></tr></tbody></table></details><details><summary><b><h3>&nbsp;<a href="https://pay.ubq.fi?claim=W3sidHlwZSI6ImVyYzIwLXBlcm1pdCIsInBlcm1pdCI6eyJwZXJtaXR0ZWQiOnsidG9rZW4iOiIweGU5MUQxNTNFMGI0MTUxOEEyQ2U4RGQzRDc5NDRGYTg2MzQ2M2E5N2QiLCJhbW91bnQiOiIzMDA3MTYwMDAwMDAwMDAwMDAwMDAifSwibm9uY2UiOiI4MTM1ODg4MDQ2MTcyMTc4MDE0NTU0NDQzNTgxNzY4OTAzMzY3ODk0Nzg5NjExNTU4NDQ3NzA3Nzg2MzU2NDMyMTk0OTY4ODM1MDk2MCIsImRlYWRsaW5lIjoiMTE1NzkyMDg5MjM3MzE2MTk1NDIzNTcwOTg1MDA4Njg3OTA3ODUzMjY5OTg0NjY1NjQwNTY0MDM5NDU3NTg0MDA3OTEzMTI5NjM5OTM1In0sInRyYW5zZmVyRGV0YWlscyI6eyJ0byI6IjB4QTBCMTFGNDc0ZDhFQ0UxMjA1ZDM4YzY2ZDVGMmJFODkxNzY3NWQ2MCIsInJlcXVlc3RlZEFtb3VudCI6IjMwMDcxNjAwMDAwMDAwMDAwMDAwMCJ9LCJvd25lciI6IjB4OTA1MWVEYTk2ZEI0MTljOTY3MTg5RjRBYzMwM2EyOTBGMzMyNzY4MCIsInNpZ25hdHVyZSI6IjB4MGUwOTM0MTdkN2YxODU2MmEyOTU2MzM3NjVlOTgyYjBjMWEyMWMwYzM2OWE3ODU2OGYwODk4YTMxNDI1NTY3ODQzYmEwNzRhYTVkMjk1OTEwMjExMDFjNzMxZGZiZDA4OTdjOWZlNjE4MzkwNjg3OTcxN2Q1ODQxZjBkNzc2NTgxYyIsIm5ldHdvcmtJZCI6MTAwfV0=" target="_blank" rel="noopener">[ 300.716 WXDAI ]</a>&nbsp;</h3><h6>@whilefoo</h6></b></summary><h6>Contributions Overview</h6><table><thead><tr><th>View</th><th>Contribution</th><th>Count</th><th>Reward</th></tr></thead><tbody><tr><td>Review</td><td>Base Review for&nbsp;<a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/pull/89" target="_blank" rel="noopener">#89</a></td><td>1</td><td>25</td></tr><tr><td>Review</td><td>Code Review</td><td>4</td><td>26.24</td></tr><tr><td>Issue</td><td>Comment</td><td>3</td><td>43.36</td></tr><tr><td>Review</td><td>Comment</td><td>19</td><td>206.116</td></tr></tbody></table><h6>Review Details for&nbsp;<a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/pull/89" target="_blank" rel="noopener">#89</a></h6><table><thead><tr><th>Changes</th><th>Priority</th><th>Reward</th></tr></thead><tbody><tr><td>+185 -122</td><td>4</td><td>12.28</td></tr><tr><td>+10 -38</td><td>4</td><td>1.92</td></tr><tr><td>+175 -104</td><td>4</td><td>11.16</td></tr><tr><td>+15 -7</td><td>4</td><td>0.88</td></tr></tbody></table><h6>Conversation Incentives</h6><table><thead><tr><th>Comment</th><th>Formatting</th><th>Relevance</th><th>Priority</th><th>Reward</th></tr></thead><tbody><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/issues/64#issuecomment-2692391951" target="_blank" rel="noopener">It was mostly a problem where plugins think issues and PR will b&hellip;</a></h6></td><td><details><summary>2.1</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 1&#13;  result: 0&#13;regex:&#13;  wordCount: 36&#13;  wordValue: 0.1&#13;  result: 2.1&#13;</pre></details></td><td>0.8</td><td>4</td><td>8.64</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/issues/64#issuecomment-2692757786" target="_blank" rel="noopener">Just looked through the code and it seems that &#96;removeAllAss&hellip;</a></h6></td><td><details><summary>1.95</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 1&#13;  result: 0&#13;regex:&#13;  wordCount: 33&#13;  wordValue: 0.1&#13;  result: 1.95&#13;</pre></details></td><td>0.8</td><td>4</td><td>8</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/issues/64#issuecomment-2695656894" target="_blank" rel="noopener">The fix is https://github.com/ubiquity-os-marketplace/daemon-dis&hellip;</a></h6></td><td><details><summary>5.25</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 1&#13;    a:&#13;      score: 5&#13;      elementCount: 1&#13;  result: 5&#13;regex:&#13;  wordCount: 3&#13;  wordValue: 0.1&#13;  result: 0.25&#13;</pre></details></td><td>1</td><td>4</td><td>26.72</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/pull/89#discussion_r1967994265" target="_blank" rel="noopener">isn't this run only in the worker? why run both?</a></h6></td><td><details><summary>0.77</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 1&#13;  result: 0&#13;regex:&#13;  wordCount: 11&#13;  wordValue: 0.1&#13;  result: 0.77&#13;</pre></details></td><td>0.8</td><td>4</td><td>3.2</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/pull/89#discussion_r1967997293" target="_blank" rel="noopener">why did these numbers change?</a></h6></td><td><details><summary>0.39</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 1&#13;  result: 0&#13;regex:&#13;  wordCount: 5&#13;  wordValue: 0.1&#13;  result: 0.39&#13;</pre></details></td><td>0.7</td><td>4</td><td>1.428</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/pull/89#discussion_r1968019853" target="_blank" rel="noopener">I hope this won't cause rate limit issue. Suppose you have a rep&hellip;</a></h6></td><td><details><summary>2.69</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 1&#13;  result: 0&#13;regex:&#13;  wordCount: 48&#13;  wordValue: 0.1&#13;  result: 2.69&#13;</pre></details></td><td>0.9</td><td>4</td><td>12.42</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/pull/89#discussion_r1968027331" target="_blank" rel="noopener">&#96;&#96;&#96;suggestionif (!priceLabels.some((o) =&gt;&hellip;</a></h6></td><td><details><summary>0.94</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 1&#13;  result: 0&#13;regex:&#13;  wordCount: 14&#13;  wordValue: 0.1&#13;  result: 0.94&#13;</pre></details></td><td>0.8</td><td>4</td><td>3.68</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/pull/89#discussion_r1968053006" target="_blank" rel="noopener">&#96;handleGlobalUpdate&#96; will remove incorrect price labels,&hellip;</a></h6></td><td><details><summary>1.65</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 1&#13;  result: 0&#13;regex:&#13;  wordCount: 27&#13;  wordValue: 0.1&#13;  result: 1.65&#13;</pre></details></td><td>0.6</td><td>4</td><td>5.112</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/pull/89#discussion_r1968059694" target="_blank" rel="noopener">is there a scenario where this function runs but price labels st&hellip;</a></h6></td><td><details><summary>1.75</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 1&#13;  result: 0&#13;regex:&#13;  wordCount: 29&#13;  wordValue: 0.1&#13;  result: 1.75&#13;</pre></details></td><td>0.7</td><td>4</td><td>6.272</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/pull/89#discussion_r1968073145" target="_blank" rel="noopener">here only repository is changed but won't config stay the same e&hellip;</a></h6></td><td><details><summary>1.38</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 1&#13;  result: 0&#13;regex:&#13;  wordCount: 22&#13;  wordValue: 0.1&#13;  result: 1.38&#13;</pre></details></td><td>0.6</td><td>4</td><td>4.272</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/pull/89#discussion_r1971156451" target="_blank" rel="noopener">For example you change multiplier from &#96;1&#96; to &#96;1.0&#&hellip;</a></h6></td><td><details><summary>2</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 1&#13;  result: 0&#13;regex:&#13;  wordCount: 34&#13;  wordValue: 0.1&#13;  result: 2&#13;</pre></details></td><td>0.7</td><td>4</td><td>7.14</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/pull/89#discussion_r1971163614" target="_blank" rel="noopener">Yeah there's really no solution and throttler will work fine in &hellip;</a></h6></td><td><details><summary>1.95</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 1&#13;  result: 0&#13;regex:&#13;  wordCount: 33&#13;  wordValue: 0.1&#13;  result: 1.95&#13;</pre></details></td><td>0.5</td><td>4</td><td>5.02</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/pull/89#discussion_r1973464677" target="_blank" rel="noopener">why was this removed now? This is executed on push events which &hellip;</a></h6></td><td><details><summary>1.49</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 1&#13;  result: 0&#13;regex:&#13;  wordCount: 24&#13;  wordValue: 0.1&#13;  result: 1.49&#13;</pre></details></td><td>0.7</td><td>4</td><td>5.152</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/pull/89#discussion_r1976489431" target="_blank" rel="noopener">Couldn't you fetch the correct config since you have Octokit wit&hellip;</a></h6></td><td><details><summary>2.05</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 1&#13;  result: 0&#13;regex:&#13;  wordCount: 35&#13;  wordValue: 0.1&#13;  result: 2.05&#13;</pre></details></td><td>0.7</td><td>4</td><td>7.112</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/pull/89#discussion_r1977758697" target="_blank" rel="noopener">what about deleting incorrect time and priority labels? for exam&hellip;</a></h6></td><td><details><summary>1.11</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 1&#13;  result: 0&#13;regex:&#13;  wordCount: 17&#13;  wordValue: 0.1&#13;  result: 1.11&#13;</pre></details></td><td>0.6</td><td>4</td><td>3.456</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/pull/89#discussion_r1980191939" target="_blank" rel="noopener">Yeah this was never implemented so let's leave that for another &hellip;</a></h6></td><td><details><summary>0.88</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 1&#13;  result: 0&#13;regex:&#13;  wordCount: 13&#13;  wordValue: 0.1&#13;  result: 0.88&#13;</pre></details></td><td>0.5</td><td>4</td><td>2.2</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/pull/89#issuecomment-2694547491" target="_blank" rel="noopener">I realized that the repo config completely overrides org config,&hellip;</a></h6></td><td><details><summary>4.01</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 1&#13;  result: 0&#13;regex:&#13;  wordCount: 77&#13;  wordValue: 0.1&#13;  result: 4.01&#13;</pre></details></td><td>0.5</td><td>4</td><td>10.3</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/pull/89#issuecomment-2694608562" target="_blank" rel="noopener">I guess, but you could also argue that if you have a repo config&hellip;</a></h6></td><td><details><summary>2.1</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 1&#13;  result: 0&#13;regex:&#13;  wordCount: 36&#13;  wordValue: 0.1&#13;  result: 2.1&#13;</pre></details></td><td>0.4</td><td>4</td><td>4.336</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/pull/89#issuecomment-2700665931" target="_blank" rel="noopener">Not sure if I did something wrong but I think this is incorrect &hellip;</a></h6></td><td><details><summary>28.52</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 4&#13;    a:&#13;      score: 5&#13;      elementCount: 5&#13;  result: 25&#13;regex:&#13;  wordCount: 66&#13;  wordValue: 0.1&#13;  result: 3.52&#13;</pre></details></td><td>0.4</td><td>4</td><td>58.416</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/pull/89#issuecomment-2703436544" target="_blank" rel="noopener">![image](https://github.com/user-attachments/assets/35416fcc-b99&hellip;</a></h6></td><td><details><summary>21.95</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 4&#13;    img:&#13;      score: 5&#13;      elementCount: 1&#13;    a:&#13;      score: 5&#13;      elementCount: 3&#13;  result: 20&#13;regex:&#13;  wordCount: 33&#13;  wordValue: 0.1&#13;  result: 1.95&#13;</pre></details></td><td>0.4</td><td>4</td><td>45.456</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/pull/89#issuecomment-2703574909" target="_blank" rel="noopener">The kernel checks for plugins array lengthhttps://github.com/u&hellip;</a></h6></td><td><details><summary>5.52</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 2&#13;    a:&#13;      score: 5&#13;      elementCount: 1&#13;  result: 5&#13;regex:&#13;  wordCount: 7&#13;  wordValue: 0.1&#13;  result: 0.52&#13;</pre></details></td><td>0.5</td><td>4</td><td>14.2</td></tr><tr><td><h6><a href="https://github.com/ubiquity-os-marketplace/daemon-pricing/pull/89#issuecomment-2705046126" target="_blank" rel="noopener">Now it works correctly!But me targeting the Action instead of &hellip;</a></h6></td><td><details><summary>1.95</summary><pre>content:&#13;  content:&#13;    p:&#13;      score: 0&#13;      elementCount: 2&#13;  result: 0&#13;regex:&#13;  wordCount: 33&#13;  wordValue: 0.1&#13;  result: 1.95&#13;</pre></details></td><td>0.7</td><td>4</td><td>6.944</td></tr></tbody></table></details>
<!-- Ubiquity - GithubCommentModule - GithubCommentModule.getBodyContent - 5811d064c37eb3d1587cb179c6abd5fd4580fccf
{
  "workflowUrl": "https://github.com/ubiquity-os-marketplace/text-conversation-rewards/actions/runs/13732454541"
}
-->

<!-- UbiquityOS - GithubCommentModule.transform - 5811d064c37eb3d1587cb179c6abd5fd4580fccf - @gentlementlegen - https://github.com/ubiquity-os-marketplace/text-conversation-rewards/actions/runs/13732454541
{
  "caller": "GithubCommentModule.transform"
}
-->

author_association: CONTRIBUTOR

Diff:
diff --git a/dist/index.js b/dist/index.js
index 803f6cba..460fc9c3 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -1,6 +1,6 @@
 import{createRequire as e}from"module";var t={4914:function(e,t,r){var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var o=Object.getOwnPropertyDescriptor(t,r);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,o)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);o(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.issue=t.issueCommand=void 0;const A=n(r(857));const i=r(302);function issueCommand(e,t,r){const s=new Command(e,t,r);process.stdout.write(s.toString()+A.EOL)}t.issueCommand=issueCommand;function issue(e,t=""){issueCommand(e,{},t)}t.issue=issue;const a="::";class Command{constructor(e,t,r){if(!e){e="missing.command"}this.command=e;this.properties=t;this.message=r}toString(){let e=a+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let t=true;for(const r in this.properties){if(this.properties.hasOwnProperty(r)){const s=this.properties[r];if(s){if(t){t=false}else{e+=","}e+=`${r}=${escapeProperty(s)}`}}}}e+=`${a}${escapeData(this.message)}`;return e}}function escapeData(e){return(0,i.toCommandValue)(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(e){return(0,i.toCommandValue)(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},7484:function(e,t,r){var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var o=Object.getOwnPropertyDescriptor(t,r);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,o)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);o(t,e);return t};var A=this&&this.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(e){try{step(s.next(e))}catch(e){o(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){o(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.platform=t.toPlatformPath=t.toWin32Path=t.toPosixPath=t.markdownSummary=t.summary=t.getIDToken=t.getState=t.saveState=t.group=t.endGroup=t.startGroup=t.info=t.notice=t.warning=t.error=t.debug=t.isDebug=t.setFailed=t.setCommandEcho=t.setOutput=t.getBooleanInput=t.getMultilineInput=t.getInput=t.addPath=t.setSecret=t.exportVariable=t.ExitCode=void 0;const i=r(4914);const a=r(4753);const c=r(302);const l=n(r(857));const u=n(r(6928));const g=r(5306);var p;(function(e){e[e["Success"]=0]="Success";e[e["Failure"]=1]="Failure"})(p||(t.ExitCode=p={}));function exportVariable(e,t){const r=(0,c.toCommandValue)(t);process.env[e]=r;const s=process.env["GITHUB_ENV"]||"";if(s){return(0,a.issueFileCommand)("ENV",(0,a.prepareKeyValueMessage)(e,t))}(0,i.issueCommand)("set-env",{name:e},r)}t.exportVariable=exportVariable;function setSecret(e){(0,i.issueCommand)("add-mask",{},e)}t.setSecret=setSecret;function addPath(e){const t=process.env["GITHUB_PATH"]||"";if(t){(0,a.issueFileCommand)("PATH",e)}else{(0,i.issueCommand)("add-path",{},e)}process.env["PATH"]=`${e}${u.delimiter}${process.env["PATH"]}`}t.addPath=addPath;function getInput(e,t){const r=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!r){throw new Error(`Input required and not supplied: ${e}`)}if(t&&t.trimWhitespace===false){return r}return r.trim()}t.getInput=getInput;function getMultilineInput(e,t){const r=getInput(e,t).split("\n").filter((e=>e!==""));if(t&&t.trimWhitespace===false){return r}return r.map((e=>e.trim()))}t.getMultilineInput=getMultilineInput;function getBooleanInput(e,t){const r=["true","True","TRUE"];const s=["false","False","FALSE"];const o=getInput(e,t);if(r.includes(o))return true;if(s.includes(o))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}t.getBooleanInput=getBooleanInput;function setOutput(e,t){const r=process.env["GITHUB_OUTPUT"]||"";if(r){return(0,a.issueFileCommand)("OUTPUT",(0,a.prepareKeyValueMessage)(e,t))}process.stdout.write(l.EOL);(0,i.issueCommand)("set-output",{name:e},(0,c.toCommandValue)(t))}t.setOutput=setOutput;function setCommandEcho(e){(0,i.issue)("echo",e?"on":"off")}t.setCommandEcho=setCommandEcho;function setFailed(e){process.exitCode=p.Failure;error(e)}t.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}t.isDebug=isDebug;function debug(e){(0,i.issueCommand)("debug",{},e)}t.debug=debug;function error(e,t={}){(0,i.issueCommand)("error",(0,c.toCommandProperties)(t),e instanceof Error?e.toString():e)}t.error=error;function warning(e,t={}){(0,i.issueCommand)("warning",(0,c.toCommandProperties)(t),e instanceof Error?e.toString():e)}t.warning=warning;function notice(e,t={}){(0,i.issueCommand)("notice",(0,c.toCommandProperties)(t),e instanceof Error?e.toString():e)}t.notice=notice;function info(e){process.stdout.write(e+l.EOL)}t.info=info;function startGroup(e){(0,i.issue)("group",e)}t.startGroup=startGroup;function endGroup(){(0,i.issue)("endgroup")}t.endGroup=endGroup;function group(e,t){return A(this,void 0,void 0,(function*(){startGroup(e);let r;try{r=yield t()}finally{endGroup()}return r}))}t.group=group;function saveState(e,t){const r=process.env["GITHUB_STATE"]||"";if(r){return(0,a.issueFileCommand)("STATE",(0,a.prepareKeyValueMessage)(e,t))}(0,i.issueCommand)("save-state",{name:e},(0,c.toCommandValue)(t))}t.saveState=saveState;function getState(e){return process.env[`STATE_${e}`]||""}t.getState=getState;function getIDToken(e){return A(this,void 0,void 0,(function*(){return yield g.OidcClient.getIDToken(e)}))}t.getIDToken=getIDToken;var d=r(1847);Object.defineProperty(t,"summary",{enumerable:true,get:function(){return d.summary}});var E=r(1847);Object.defineProperty(t,"markdownSummary",{enumerable:true,get:function(){return E.markdownSummary}});var h=r(1976);Object.defineProperty(t,"toPosixPath",{enumerable:true,get:function(){return h.toPosixPath}});Object.defineProperty(t,"toWin32Path",{enumerable:true,get:function(){return h.toWin32Path}});Object.defineProperty(t,"toPlatformPath",{enumerable:true,get:function(){return h.toPlatformPath}});t.platform=n(r(8968))},4753:function(e,t,r){var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var o=Object.getOwnPropertyDescriptor(t,r);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,o)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);o(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.prepareKeyValueMessage=t.issueFileCommand=void 0;const A=n(r(6982));const i=n(r(9896));const a=n(r(857));const c=r(302);function issueFileCommand(e,t){const r=process.env[`GITHUB_${e}`];if(!r){throw new Error(`Unable to find environment variable for file command ${e}`)}if(!i.existsSync(r)){throw new Error(`Missing file at path: ${r}`)}i.appendFileSync(r,`${(0,c.toCommandValue)(t)}${a.EOL}`,{encoding:"utf8"})}t.issueFileCommand=issueFileCommand;function prepareKeyValueMessage(e,t){const r=`ghadelimiter_${A.randomUUID()}`;const s=(0,c.toCommandValue)(t);if(e.includes(r)){throw new Error(`Unexpected input: name should not contain the delimiter "${r}"`)}if(s.includes(r)){throw new Error(`Unexpected input: value should not contain the delimiter "${r}"`)}return`${e}<<${r}${a.EOL}${s}${a.EOL}${r}`}t.prepareKeyValueMessage=prepareKeyValueMessage},5306:function(e,t,r){var s=this&&this.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(e){try{step(s.next(e))}catch(e){o(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){o(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.OidcClient=void 0;const o=r(4844);const n=r(4552);const A=r(7484);class OidcClient{static createHttpClient(e=true,t=10){const r={allowRetries:e,maxRetries:t};return new o.HttpClient("actions/oidc-client",[new n.BearerCredentialHandler(OidcClient.getRequestToken())],r)}static getRequestToken(){const e=process.env["ACTIONS_ID_TOKEN_REQUEST_TOKEN"];if(!e){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable")}return e}static getIDTokenUrl(){const e=process.env["ACTIONS_ID_TOKEN_REQUEST_URL"];if(!e){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable")}return e}static getCall(e){var t;return s(this,void 0,void 0,(function*(){const r=OidcClient.createHttpClient();const s=yield r.getJson(e).catch((e=>{throw new Error(`Failed to get ID Token. \n \n        Error Code : ${e.statusCode}\n \n        Error Message: ${e.message}`)}));const o=(t=s.result)===null||t===void 0?void 0:t.value;if(!o){throw new Error("Response json body do not have ID Token field")}return o}))}static getIDToken(e){return s(this,void 0,void 0,(function*(){try{let t=OidcClient.getIDTokenUrl();if(e){const r=encodeURIComponent(e);t=`${t}&audience=${r}`}(0,A.debug)(`ID token url is ${t}`);const r=yield OidcClient.getCall(t);(0,A.setSecret)(r);return r}catch(e){throw new Error(`Error message: ${e.message}`)}}))}}t.OidcClient=OidcClient},1976:function(e,t,r){var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var o=Object.getOwnPropertyDescriptor(t,r);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,o)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);o(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.toPlatformPath=t.toWin32Path=t.toPosixPath=void 0;const A=n(r(6928));function toPosixPath(e){return e.replace(/[\\]/g,"/")}t.toPosixPath=toPosixPath;function toWin32Path(e){return e.replace(/[/]/g,"\\")}t.toWin32Path=toWin32Path;function toPlatformPath(e){return e.replace(/[/\\]/g,A.sep)}t.toPlatformPath=toPlatformPath},8968:function(e,t,r){var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var o=Object.getOwnPropertyDescriptor(t,r);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,o)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);o(t,e);return t};var A=this&&this.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(e){try{step(s.next(e))}catch(e){o(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){o(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())}))};var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.getDetails=t.isLinux=t.isMacOS=t.isWindows=t.arch=t.platform=void 0;const a=i(r(857));const c=n(r(5236));const getWindowsInfo=()=>A(void 0,void 0,void 0,(function*(){const{stdout:e}=yield c.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',undefined,{silent:true});const{stdout:t}=yield c.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',undefined,{silent:true});return{name:t.trim(),version:e.trim()}}));const getMacOsInfo=()=>A(void 0,void 0,void 0,(function*(){var e,t,r,s;const{stdout:o}=yield c.getExecOutput("sw_vers",undefined,{silent:true});const n=(t=(e=o.match(/ProductVersion:\s*(.+)/))===null||e===void 0?void 0:e[1])!==null&&t!==void 0?t:"";const A=(s=(r=o.match(/ProductName:\s*(.+)/))===null||r===void 0?void 0:r[1])!==null&&s!==void 0?s:"";return{name:A,version:n}}));const getLinuxInfo=()=>A(void 0,void 0,void 0,(function*(){const{stdout:e}=yield c.getExecOutput("lsb_release",["-i","-r","-s"],{silent:true});const[t,r]=e.trim().split("\n");return{name:t,version:r}}));t.platform=a.default.platform();t.arch=a.default.arch();t.isWindows=t.platform==="win32";t.isMacOS=t.platform==="darwin";t.isLinux=t.platform==="linux";function getDetails(){return A(this,void 0,void 0,(function*(){return Object.assign(Object.assign({},yield t.isWindows?getWindowsInfo():t.isMacOS?getMacOsInfo():getLinuxInfo()),{platform:t.platform,arch:t.arch,isWindows:t.isWindows,isMacOS:t.isMacOS,isLinux:t.isLinux})}))}t.getDetails=getDetails},1847:function(e,t,r){var s=this&&this.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(e){try{step(s.next(e))}catch(e){o(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){o(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.summary=t.markdownSummary=t.SUMMARY_DOCS_URL=t.SUMMARY_ENV_VAR=void 0;const o=r(857);const n=r(9896);const{access:A,appendFile:i,writeFile:a}=n.promises;t.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";t.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";class Summary{constructor(){this._buffer=""}filePath(){return s(this,void 0,void 0,(function*(){if(this._filePath){return this._filePath}const e=process.env[t.SUMMARY_ENV_VAR];if(!e){throw new Error(`Unable to find environment variable for $${t.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`)}try{yield A(e,n.constants.R_OK|n.constants.W_OK)}catch(t){throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}this._filePath=e;return this._filePath}))}wrap(e,t,r={}){const s=Object.entries(r).map((([e,t])=>` ${e}="${t}"`)).join("");if(!t){return`<${e}${s}>`}return`<${e}${s}>${t}</${e}>`}write(e){return s(this,void 0,void 0,(function*(){const t=!!(e===null||e===void 0?void 0:e.overwrite);const r=yield this.filePath();const s=t?a:i;yield s(r,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return s(this,void 0,void 0,(function*(){return this.emptyBuffer().write({overwrite:true})}))}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){this._buffer="";return this}addRaw(e,t=false){this._buffer+=e;return t?this.addEOL():this}addEOL(){return this.addRaw(o.EOL)}addCodeBlock(e,t){const r=Object.assign({},t&&{lang:t});const s=this.wrap("pre",this.wrap("code",e),r);return this.addRaw(s).addEOL()}addList(e,t=false){const r=t?"ol":"ul";const s=e.map((e=>this.wrap("li",e))).join("");const o=this.wrap(r,s);return this.addRaw(o).addEOL()}addTable(e){const t=e.map((e=>{const t=e.map((e=>{if(typeof e==="string"){return this.wrap("td",e)}const{header:t,data:r,colspan:s,rowspan:o}=e;const n=t?"th":"td";const A=Object.assign(Object.assign({},s&&{colspan:s}),o&&{rowspan:o});return this.wrap(n,r,A)})).join("");return this.wrap("tr",t)})).join("");const r=this.wrap("table",t);return this.addRaw(r).addEOL()}addDetails(e,t){const r=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(r).addEOL()}addImage(e,t,r){const{width:s,height:o}=r||{};const n=Object.assign(Object.assign({},s&&{width:s}),o&&{height:o});const A=this.wrap("img",null,Object.assign({src:e,alt:t},n));return this.addRaw(A).addEOL()}addHeading(e,t){const r=`h${t}`;const s=["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1";const o=this.wrap(s,e);return this.addRaw(o).addEOL()}addSeparator(){const e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){const e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,t){const r=Object.assign({},t&&{cite:t});const s=this.wrap("blockquote",e,r);return this.addRaw(s).addEOL()}addLink(e,t){const r=this.wrap("a",e,{href:t});return this.addRaw(r).addEOL()}}const c=new Summary;t.markdownSummary=c;t.summary=c},302:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.toCommandProperties=t.toCommandValue=void 0;function toCommandValue(e){if(e===null||e===undefined){return""}else if(typeof e==="string"||e instanceof String){return e}return JSON.stringify(e)}t.toCommandValue=toCommandValue;function toCommandProperties(e){if(!Object.keys(e).length){return{}}return{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}}t.toCommandProperties=toCommandProperties},5236:function(e,t,r){var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;Object.defineProperty(e,s,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))s(t,e,r);o(t,e);return t};var A=this&&this.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(e){try{step(s.next(e))}catch(e){o(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){o(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.getExecOutput=t.exec=void 0;const i=r(3193);const a=n(r(6665));function exec(e,t,r){return A(this,void 0,void 0,(function*(){const s=a.argStringToArray(e);if(s.length===0){throw new Error(`Parameter 'commandLine' cannot be null or empty.`)}const o=s[0];t=s.slice(1).concat(t||[]);const n=new a.ToolRunner(o,t,r);return n.exec()}))}t.exec=exec;function getExecOutput(e,t,r){var s,o;return A(this,void 0,void 0,(function*(){let n="";let A="";const a=new i.StringDecoder("utf8");const c=new i.StringDecoder("utf8");const l=(s=r===null||r===void 0?void 0:r.listeners)===null||s===void 0?void 0:s.stdout;const u=(o=r===null||r===void 0?void 0:r.listeners)===null||o===void 0?void 0:o.stderr;const stdErrListener=e=>{A+=c.write(e);if(u){u(e)}};const stdOutListener=e=>{n+=a.write(e);if(l){l(e)}};const g=Object.assign(Object.assign({},r===null||r===void 0?void 0:r.listeners),{stdout:stdOutListener,stderr:stdErrListener});const p=yield exec(e,t,Object.assign(Object.assign({},r),{listeners:g}));n+=a.end();A+=c.end();return{exitCode:p,stdout:n,stderr:A}}))}t.getExecOutput=getExecOutput},6665:function(e,t,r){var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;Object.defineProperty(e,s,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))s(t,e,r);o(t,e);return t};var A=this&&this.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(e){try{step(s.next(e))}catch(e){o(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){o(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.argStringToArray=t.ToolRunner=void 0;const i=n(r(857));const a=n(r(4434));const c=n(r(5317));const l=n(r(6928));const u=n(r(4994));const g=n(r(5207));const p=r(3557);const d=process.platform==="win32";class ToolRunner extends a.EventEmitter{constructor(e,t,r){super();if(!e){throw new Error("Parameter 'toolPath' cannot be null or empty.")}this.toolPath=e;this.args=t||[];this.options=r||{}}_debug(e){if(this.options.listeners&&this.options.listeners.debug){this.options.listeners.debug(e)}}_getCommandString(e,t){const r=this._getSpawnFileName();const s=this._getSpawnArgs(e);let o=t?"":"[command]";if(d){if(this._isCmdFile()){o+=r;for(const e of s){o+=` ${e}`}}else if(e.windowsVerbatimArguments){o+=`"${r}"`;for(const e of s){o+=` ${e}`}}else{o+=this._windowsQuoteCmdArg(r);for(const e of s){o+=` ${this._windowsQuoteCmdArg(e)}`}}}else{o+=r;for(const e of s){o+=` ${e}`}}return o}_processLineBuffer(e,t,r){try{let s=t+e.toString();let o=s.indexOf(i.EOL);while(o>-1){const e=s.substring(0,o);r(e);s=s.substring(o+i.EOL.length);o=s.indexOf(i.EOL)}return s}catch(e){this._debug(`error processing line. Failed with error ${e}`);return""}}_getSpawnFileName(){if(d){if(this._isCmdFile()){return process.env["COMSPEC"]||"cmd.exe"}}return this.toolPath}_getSpawnArgs(e){if(d){if(this._isCmdFile()){let t=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(const r of this.args){t+=" ";t+=e.windowsVerbatimArguments?r:this._windowsQuoteCmdArg(r)}t+='"';return[t]}}return this.args}_endsWith(e,t){return e.endsWith(t)}_isCmdFile(){const e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile()){return this._uvQuoteCmdArg(e)}if(!e){return'""'}const t=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let r=false;for(const s of e){if(t.some((e=>e===s))){r=true;break}}if(!r){return e}let s='"';let o=true;for(let t=e.length;t>0;t--){s+=e[t-1];if(o&&e[t-1]==="\\"){s+="\\"}else if(e[t-1]==='"'){o=true;s+='"'}else{o=false}}s+='"';return s.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e){return'""'}if(!e.includes(" ")&&!e.includes("\t")&&!e.includes('"')){return e}if(!e.includes('"')&&!e.includes("\\")){return`"${e}"`}let t='"';let r=true;for(let s=e.length;s>0;s--){t+=e[s-1];if(r&&e[s-1]==="\\"){t+="\\"}else if(e[s-1]==='"'){r=true;t+="\\"}else{r=false}}t+='"';return t.split("").reverse().join("")}_cloneExecOptions(e){e=e||{};const t={cwd:e.cwd||process.cwd(),env:e.env||process.env,silent:e.silent||false,windowsVerbatimArguments:e.windowsVerbatimArguments||false,failOnStdErr:e.failOnStdErr||false,ignoreReturnCode:e.ignoreReturnCode||false,delay:e.delay||1e4};t.outStream=e.outStream||process.stdout;t.errStream=e.errStream||process.stderr;return t}_getSpawnOptions(e,t){e=e||{};const r={};r.cwd=e.cwd;r.env=e.env;r["windowsVerbatimArguments"]=e.windowsVerbatimArguments||this._isCmdFile();if(e.windowsVerbatimArguments){r.argv0=`"${t}"`}return r}exec(){return A(this,void 0,void 0,(function*(){if(!g.isRooted(this.toolPath)&&(this.toolPath.includes("/")||d&&this.toolPath.includes("\\"))){this.toolPath=l.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)}this.toolPath=yield u.which(this.toolPath,true);return new Promise(((e,t)=>A(this,void 0,void 0,(function*(){this._debug(`exec tool: ${this.toolPath}`);this._debug("arguments:");for(const e of this.args){this._debug(`   ${e}`)}const r=this._cloneExecOptions(this.options);if(!r.silent&&r.outStream){r.outStream.write(this._getCommandString(r)+i.EOL)}const s=new ExecState(r,this.toolPath);s.on("debug",(e=>{this._debug(e)}));if(this.options.cwd&&!(yield g.exists(this.options.cwd))){return t(new Error(`The cwd: ${this.options.cwd} does not exist!`))}const o=this._getSpawnFileName();const n=c.spawn(o,this._getSpawnArgs(r),this._getSpawnOptions(this.options,o));let A="";if(n.stdout){n.stdout.on("data",(e=>{if(this.options.listeners&&this.options.listeners.stdout){this.options.listeners.stdout(e)}if(!r.silent&&r.outStream){r.outStream.write(e)}A=this._processLineBuffer(e,A,(e=>{if(this.options.listeners&&this.options.listeners.stdline){this.options.listeners.stdline(e)}}))}))}let a="";if(n.stderr){n.stderr.on("data",(e=>{s.processStderr=true;if(this.options.listeners&&this.options.listeners.stderr){this.options.listeners.stderr(e)}if(!r.silent&&r.errStream&&r.outStream){const t=r.failOnStdErr?r.errStream:r.outStream;t.write(e)}a=this._processLineBuffer(e,a,(e=>{if(this.options.listeners&&this.options.listeners.errline){this.options.listeners.errline(e)}}))}))}n.on("error",(e=>{s.processError=e.message;s.processExited=true;s.processClosed=true;s.CheckComplete()}));n.on("exit",(e=>{s.processExitCode=e;s.processExited=true;this._debug(`Exit code ${e} received from tool '${this.toolPath}'`);s.CheckComplete()}));n.on("close",(e=>{s.processExitCode=e;s.processExited=true;s.processClosed=true;this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);s.CheckComplete()}));s.on("done",((r,s)=>{if(A.length>0){this.emit("stdline",A)}if(a.length>0){this.emit("errline",a)}n.removeAllListeners();if(r){t(r)}else{e(s)}}));if(this.options.input){if(!n.stdin){throw new Error("child process missing stdin")}n.stdin.end(this.options.input)}}))))}))}}t.ToolRunner=ToolRunner;function argStringToArray(e){const t=[];let r=false;let s=false;let o="";function append(e){if(s&&e!=='"'){o+="\\"}o+=e;s=false}for(let n=0;n<e.length;n++){const A=e.charAt(n);if(A==='"'){if(!s){r=!r}else{append(A)}continue}if(A==="\\"&&s){append(A);continue}if(A==="\\"&&r){s=true;continue}if(A===" "&&!r){if(o.length>0){t.push(o);o=""}continue}append(A)}if(o.length>0){t.push(o.trim())}return t}t.argStringToArray=argStringToArray;class ExecState extends a.EventEmitter{constructor(e,t){super();this.processClosed=false;this.processError="";this.processExitCode=0;this.processExited=false;this.processStderr=false;this.delay=1e4;this.done=false;this.timeout=null;if(!t){throw new Error("toolPath must not be empty")}this.options=e;this.toolPath=t;if(e.delay){this.delay=e.delay}}CheckComplete(){if(this.done){return}if(this.processClosed){this._setResult()}else if(this.processExited){this.timeout=p.setTimeout(ExecState.HandleTimeout,this.delay,this)}}_debug(e){this.emit("debug",e)}_setResult(){let e;if(this.processExited){if(this.processError){e=new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`)}else if(this.processExitCode!==0&&!this.options.ignoreReturnCode){e=new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`)}else if(this.processStderr&&this.options.failOnStdErr){e=new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`)}}if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.done=true;this.emit("done",e,this.processExitCode)}static HandleTimeout(e){if(e.done){return}if(!e.processClosed&&e.processExited){const t=`The STDIO streams did not close within ${e.delay/1e3} seconds of the exit event from process '${e.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;e._debug(t)}e._setResult()}}},1648:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.Context=void 0;const s=r(9896);const o=r(857);class Context{constructor(){var e,t,r;this.payload={};if(process.env.GITHUB_EVENT_PATH){if((0,s.existsSync)(process.env.GITHUB_EVENT_PATH)){this.payload=JSON.parse((0,s.readFileSync)(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}))}else{const e=process.env.GITHUB_EVENT_PATH;process.stdout.write(`GITHUB_EVENT_PATH ${e} does not exist${o.EOL}`)}}this.eventName=process.env.GITHUB_EVENT_NAME;this.sha=process.env.GITHUB_SHA;this.ref=process.env.GITHUB_REF;this.workflow=process.env.GITHUB_WORKFLOW;this.action=process.env.GITHUB_ACTION;this.actor=process.env.GITHUB_ACTOR;this.job=process.env.GITHUB_JOB;this.runNumber=parseInt(process.env.GITHUB_RUN_NUMBER,10);this.runId=parseInt(process.env.GITHUB_RUN_ID,10);this.apiUrl=(e=process.env.GITHUB_API_URL)!==null&&e!==void 0?e:`https://api.github.com`;this.serverUrl=(t=process.env.GITHUB_SERVER_URL)!==null&&t!==void 0?t:`https://github.com`;this.graphqlUrl=(r=process.env.GITHUB_GRAPHQL_URL)!==null&&r!==void 0?r:`https://api.github.com/graphql`}get issue(){const e=this.payload;return Object.assign(Object.assign({},this.repo),{number:(e.issue||e.pull_request||e).number})}get repo(){if(process.env.GITHUB_REPOSITORY){const[e,t]=process.env.GITHUB_REPOSITORY.split("/");return{owner:e,repo:t}}if(this.payload.repository){return{owner:this.payload.repository.owner.login,repo:this.payload.repository.name}}throw new Error("context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'")}}t.Context=Context},3228:function(e,t,r){var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var o=Object.getOwnPropertyDescriptor(t,r);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,o)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);o(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.getOctokit=t.context=void 0;const A=n(r(1648));const i=r(8006);t.context=new A.Context;function getOctokit(e,t,...r){const s=i.GitHub.plugin(...r);return new s((0,i.getOctokitOptions)(e,t))}t.getOctokit=getOctokit},5156:function(e,t,r){var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var o=Object.getOwnPropertyDescriptor(t,r);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,o)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);o(t,e);return t};var A=this&&this.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(e){try{step(s.next(e))}catch(e){o(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){o(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.getApiBaseUrl=t.getProxyFetch=t.getProxyAgentDispatcher=t.getProxyAgent=t.getAuthString=void 0;const i=n(r(4844));const a=r(6752);function getAuthString(e,t){if(!e&&!t.auth){throw new Error("Parameter token or opts.auth is required")}else if(e&&t.auth){throw new Error("Parameters token and opts.auth may not both be specified")}return typeof t.auth==="string"?t.auth:`token ${e}`}t.getAuthString=getAuthString;function getProxyAgent(e){const t=new i.HttpClient;return t.getAgent(e)}t.getProxyAgent=getProxyAgent;function getProxyAgentDispatcher(e){const t=new i.HttpClient;return t.getAgentDispatcher(e)}t.getProxyAgentDispatcher=getProxyAgentDispatcher;function getProxyFetch(e){const t=getProxyAgentDispatcher(e);const proxyFetch=(e,r)=>A(this,void 0,void 0,(function*(){return(0,a.fetch)(e,Object.assign(Object.assign({},r),{dispatcher:t}))}));return proxyFetch}t.getProxyFetch=getProxyFetch;function getApiBaseUrl(){return process.env["GITHUB_API_URL"]||"https://api.github.com"}t.getApiBaseUrl=getApiBaseUrl},8006:function(e,t,r){var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var o=Object.getOwnPropertyDescriptor(t,r);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,o)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);o(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.getOctokitOptions=t.GitHub=t.defaults=t.context=void 0;const A=n(r(1648));const i=n(r(5156));const a=r(1897);const c=r(5726);const l=r(7731);t.context=new A.Context;const u=i.getApiBaseUrl();t.defaults={baseUrl:u,request:{agent:i.getProxyAgent(u),fetch:i.getProxyFetch(u)}};t.GitHub=a.Octokit.plugin(c.restEndpointMethods,l.paginateRest).defaults(t.defaults);function getOctokitOptions(e,t){const r=Object.assign({},t||{});const s=i.getAuthString(e,r);if(s){r.auth=s}return r}t.getOctokitOptions=getOctokitOptions},7731:e=>{var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __export=(e,r)=>{for(var s in r)t(e,s,{get:r[s],enumerable:true})};var __copyProps=(e,n,A,i)=>{if(n&&typeof n==="object"||typeof n==="function"){for(let a of s(n))if(!o.call(e,a)&&a!==A)t(e,a,{get:()=>n[a],enumerable:!(i=r(n,a))||i.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var n={};__export(n,{composePaginateRest:()=>i,isPaginatingEndpoint:()=>isPaginatingEndpoint,paginateRest:()=>paginateRest,paginatingEndpoints:()=>a});e.exports=__toCommonJS(n);var A="9.2.1";function normalizePaginatedListResponse(e){if(!e.data){return{...e,data:[]}}const t="total_count"in e.data&&!("url"in e.data);if(!t)return e;const r=e.data.incomplete_results;const s=e.data.repository_selection;const o=e.data.total_count;delete e.data.incomplete_results;delete e.data.repository_selection;delete e.data.total_count;const n=Object.keys(e.data)[0];const A=e.data[n];e.data=A;if(typeof r!=="undefined"){e.data.incomplete_results=r}if(typeof s!=="undefined"){e.data.repository_selection=s}e.data.total_count=o;return e}function iterator(e,t,r){const s=typeof t==="function"?t.endpoint(r):e.request.endpoint(t,r);const o=typeof t==="function"?t:e.request;const n=s.method;const A=s.headers;let i=s.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!i)return{done:true};try{const e=await o({method:n,url:i,headers:A});const t=normalizePaginatedListResponse(e);i=((t.headers.link||"").match(/<([^>]+)>;\s*rel="next"/)||[])[1];return{value:t}}catch(e){if(e.status!==409)throw e;i="";return{value:{status:200,headers:{},data:[]}}}}})}}function paginate(e,t,r,s){if(typeof r==="function"){s=r;r=void 0}return gather(e,[],iterator(e,t,r)[Symbol.asyncIterator](),s)}function gather(e,t,r,s){return r.next().then((o=>{if(o.done){return t}let n=false;function done(){n=true}t=t.concat(s?s(o.value,done):o.value.data);if(n){return t}return gather(e,t,r,s)}))}var i=Object.assign(paginate,{iterator:iterator});var a=["GET /advisories","GET /app/hook/deliveries","GET /app/installation-requests","GET /app/installations","GET /assignments/{assignment_id}/accepted_assignments","GET /classrooms","GET /classrooms/{classroom_id}/assignments","GET /enterprises/{enterprise}/dependabot/alerts","GET /enterprises/{enterprise}/secret-scanning/alerts","GET /events","GET /gists","GET /gists/public","GET /gists/starred","GET /gists/{gist_id}/comments","GET /gists/{gist_id}/commits","GET /gists/{gist_id}/forks","GET /installation/repositories","GET /issues","GET /licenses","GET /marketplace_listing/plans","GET /marketplace_listing/plans/{plan_id}/accounts","GET /marketplace_listing/stubbed/plans","GET /marketplace_listing/stubbed/plans/{plan_id}/accounts","GET /networks/{owner}/{repo}/events","GET /notifications","GET /organizations","GET /orgs/{org}/actions/cache/usage-by-repository","GET /orgs/{org}/actions/permissions/repositories","GET /orgs/{org}/actions/runners","GET /orgs/{org}/actions/secrets","GET /orgs/{org}/actions/secrets/{secret_name}/repositories","GET /orgs/{org}/actions/variables","GET /orgs/{org}/actions/variables/{name}/repositories","GET /orgs/{org}/blocks","GET /orgs/{org}/code-scanning/alerts","GET /orgs/{org}/codespaces","GET /orgs/{org}/codespaces/secrets","GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories","GET /orgs/{org}/copilot/billing/seats","GET /orgs/{org}/dependabot/alerts","GET /orgs/{org}/dependabot/secrets","GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories","GET /orgs/{org}/events","GET /orgs/{org}/failed_invitations","GET /orgs/{org}/hooks","GET /orgs/{org}/hooks/{hook_id}/deliveries","GET /orgs/{org}/installations","GET /orgs/{org}/invitations","GET /orgs/{org}/invitations/{invitation_id}/teams","GET /orgs/{org}/issues","GET /orgs/{org}/members","GET /orgs/{org}/members/{username}/codespaces","GET /orgs/{org}/migrations","GET /orgs/{org}/migrations/{migration_id}/repositories","GET /orgs/{org}/organization-roles/{role_id}/teams","GET /orgs/{org}/organization-roles/{role_id}/users","GET /orgs/{org}/outside_collaborators","GET /orgs/{org}/packages","GET /orgs/{org}/packages/{package_type}/{package_name}/versions","GET /orgs/{org}/personal-access-token-requests","GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories","GET /orgs/{org}/personal-access-tokens","GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories","GET /orgs/{org}/projects","GET /orgs/{org}/properties/values","GET /orgs/{org}/public_members","GET /orgs/{org}/repos","GET /orgs/{org}/rulesets","GET /orgs/{org}/rulesets/rule-suites","GET /orgs/{org}/secret-scanning/alerts","GET /orgs/{org}/security-advisories","GET /orgs/{org}/teams","GET /orgs/{org}/teams/{team_slug}/discussions","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions","GET /orgs/{org}/teams/{team_slug}/invitations","GET /orgs/{org}/teams/{team_slug}/members","GET /orgs/{org}/teams/{team_slug}/projects","GET /orgs/{org}/teams/{team_slug}/repos","GET /orgs/{org}/teams/{team_slug}/teams","GET /projects/columns/{column_id}/cards","GET /projects/{project_id}/collaborators","GET /projects/{project_id}/columns","GET /repos/{owner}/{repo}/actions/artifacts","GET /repos/{owner}/{repo}/actions/caches","GET /repos/{owner}/{repo}/actions/organization-secrets","GET /repos/{owner}/{repo}/actions/organization-variables","GET /repos/{owner}/{repo}/actions/runners","GET /repos/{owner}/{repo}/actions/runs","GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts","GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs","GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs","GET /repos/{owner}/{repo}/actions/secrets","GET /repos/{owner}/{repo}/actions/variables","GET /repos/{owner}/{repo}/actions/workflows","GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs","GET /repos/{owner}/{repo}/activity","GET /repos/{owner}/{repo}/assignees","GET /repos/{owner}/{repo}/branches","GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations","GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs","GET /repos/{owner}/{repo}/code-scanning/alerts","GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances","GET /repos/{owner}/{repo}/code-scanning/analyses","GET /repos/{owner}/{repo}/codespaces","GET /repos/{owner}/{repo}/codespaces/devcontainers","GET /repos/{owner}/{repo}/codespaces/secrets","GET /repos/{owner}/{repo}/collaborators","GET /repos/{owner}/{repo}/comments","GET /repos/{owner}/{repo}/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/commits","GET /repos/{owner}/{repo}/commits/{commit_sha}/comments","GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls","GET /repos/{owner}/{repo}/commits/{ref}/check-runs","GET /repos/{owner}/{repo}/commits/{ref}/check-suites","GET /repos/{owner}/{repo}/commits/{ref}/status","GET /repos/{owner}/{repo}/commits/{ref}/statuses","GET /repos/{owner}/{repo}/contributors","GET /repos/{owner}/{repo}/dependabot/alerts","GET /repos/{owner}/{repo}/dependabot/secrets","GET /repos/{owner}/{repo}/deployments","GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses","GET /repos/{owner}/{repo}/environments","GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies","GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps","GET /repos/{owner}/{repo}/events","GET /repos/{owner}/{repo}/forks","GET /repos/{owner}/{repo}/hooks","GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries","GET /repos/{owner}/{repo}/invitations","GET /repos/{owner}/{repo}/issues","GET /repos/{owner}/{repo}/issues/comments","GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/issues/events","GET /repos/{owner}/{repo}/issues/{issue_number}/comments","GET /repos/{owner}/{repo}/issues/{issue_number}/events","GET /repos/{owner}/{repo}/issues/{issue_number}/labels","GET /repos/{owner}/{repo}/issues/{issue_number}/reactions","GET /repos/{owner}/{repo}/issues/{issue_number}/timeline","GET /repos/{owner}/{repo}/keys","GET /repos/{owner}/{repo}/labels","GET /repos/{owner}/{repo}/milestones","GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels","GET /repos/{owner}/{repo}/notifications","GET /repos/{owner}/{repo}/pages/builds","GET /repos/{owner}/{repo}/projects","GET /repos/{owner}/{repo}/pulls","GET /repos/{owner}/{repo}/pulls/comments","GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/pulls/{pull_number}/comments","GET /repos/{owner}/{repo}/pulls/{pull_number}/commits","GET /repos/{owner}/{repo}/pulls/{pull_number}/files","GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews","GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments","GET /repos/{owner}/{repo}/releases","GET /repos/{owner}/{repo}/releases/{release_id}/assets","GET /repos/{owner}/{repo}/releases/{release_id}/reactions","GET /repos/{owner}/{repo}/rules/branches/{branch}","GET /repos/{owner}/{repo}/rulesets","GET /repos/{owner}/{repo}/rulesets/rule-suites","GET /repos/{owner}/{repo}/secret-scanning/alerts","GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations","GET /repos/{owner}/{repo}/security-advisories","GET /repos/{owner}/{repo}/stargazers","GET /repos/{owner}/{repo}/subscribers","GET /repos/{owner}/{repo}/tags","GET /repos/{owner}/{repo}/teams","GET /repos/{owner}/{repo}/topics","GET /repositories","GET /repositories/{repository_id}/environments/{environment_name}/secrets","GET /repositories/{repository_id}/environments/{environment_name}/variables","GET /search/code","GET /search/commits","GET /search/issues","GET /search/labels","GET /search/repositories","GET /search/topics","GET /search/users","GET /teams/{team_id}/discussions","GET /teams/{team_id}/discussions/{discussion_number}/comments","GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions","GET /teams/{team_id}/discussions/{discussion_number}/reactions","GET /teams/{team_id}/invitations","GET /teams/{team_id}/members","GET /teams/{team_id}/projects","GET /teams/{team_id}/repos","GET /teams/{team_id}/teams","GET /user/blocks","GET /user/codespaces","GET /user/codespaces/secrets","GET /user/emails","GET /user/followers","GET /user/following","GET /user/gpg_keys","GET /user/installations","GET /user/installations/{installation_id}/repositories","GET /user/issues","GET /user/keys","GET /user/marketplace_purchases","GET /user/marketplace_purchases/stubbed","GET /user/memberships/orgs","GET /user/migrations","GET /user/migrations/{migration_id}/repositories","GET /user/orgs","GET /user/packages","GET /user/packages/{package_type}/{package_name}/versions","GET /user/public_emails","GET /user/repos","GET /user/repository_invitations","GET /user/social_accounts","GET /user/ssh_signing_keys","GET /user/starred","GET /user/subscriptions","GET /user/teams","GET /users","GET /users/{username}/events","GET /users/{username}/events/orgs/{org}","GET /users/{username}/events/public","GET /users/{username}/followers","GET /users/{username}/following","GET /users/{username}/gists","GET /users/{username}/gpg_keys","GET /users/{username}/keys","GET /users/{username}/orgs","GET /users/{username}/packages","GET /users/{username}/projects","GET /users/{username}/received_events","GET /users/{username}/received_events/public","GET /users/{username}/repos","GET /users/{username}/social_accounts","GET /users/{username}/ssh_signing_keys","GET /users/{username}/starred","GET /users/{username}/subscriptions"];function isPaginatingEndpoint(e){if(typeof e==="string"){return a.includes(e)}else{return false}}function paginateRest(e){return{paginate:Object.assign(paginate.bind(null,e),{iterator:iterator.bind(null,e)})}}paginateRest.VERSION=A;0&&0},5726:e=>{var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __export=(e,r)=>{for(var s in r)t(e,s,{get:r[s],enumerable:true})};var __copyProps=(e,n,A,i)=>{if(n&&typeof n==="object"||typeof n==="function"){for(let a of s(n))if(!o.call(e,a)&&a!==A)t(e,a,{get:()=>n[a],enumerable:!(i=r(n,a))||i.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var n={};__export(n,{legacyRestEndpointMethods:()=>legacyRestEndpointMethods,restEndpointMethods:()=>restEndpointMethods});e.exports=__toCommonJS(n);var A="10.4.1";var i={actions:{addCustomLabelsToSelfHostedRunnerForOrg:["POST /orgs/{org}/actions/runners/{runner_id}/labels"],addCustomLabelsToSelfHostedRunnerForRepo:["POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],approveWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve"],cancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"],createEnvironmentVariable:["POST /repositories/{repository_id}/environments/{environment_name}/variables"],createOrUpdateEnvironmentSecret:["PUT /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}"],createOrgVariable:["POST /orgs/{org}/actions/variables"],createRegistrationTokenForOrg:["POST /orgs/{org}/actions/runners/registration-token"],createRegistrationTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/registration-token"],createRemoveTokenForOrg:["POST /orgs/{org}/actions/runners/remove-token"],createRemoveTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/remove-token"],createRepoVariable:["POST /repos/{owner}/{repo}/actions/variables"],createWorkflowDispatch:["POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches"],deleteActionsCacheById:["DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}"],deleteActionsCacheByKey:["DELETE /repos/{owner}/{repo}/actions/caches{?key,ref}"],deleteArtifact:["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],deleteEnvironmentSecret:["DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],deleteEnvironmentVariable:["DELETE /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],deleteOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}"],deleteOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}"],deleteRepoVariable:["DELETE /repos/{owner}/{repo}/actions/variables/{name}"],deleteSelfHostedRunnerFromOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}"],deleteSelfHostedRunnerFromRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}"],deleteWorkflowRun:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"],deleteWorkflowRunLogs:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],disableSelectedRepositoryGithubActionsOrganization:["DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}"],disableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable"],downloadArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"],downloadJobLogsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"],downloadWorkflowRunAttemptLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs"],downloadWorkflowRunLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],enableSelectedRepositoryGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories/{repository_id}"],enableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"],forceCancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel"],generateRunnerJitconfigForOrg:["POST /orgs/{org}/actions/runners/generate-jitconfig"],generateRunnerJitconfigForRepo:["POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig"],getActionsCacheList:["GET /repos/{owner}/{repo}/actions/caches"],getActionsCacheUsage:["GET /repos/{owner}/{repo}/actions/cache/usage"],getActionsCacheUsageByRepoForOrg:["GET /orgs/{org}/actions/cache/usage-by-repository"],getActionsCacheUsageForOrg:["GET /orgs/{org}/actions/cache/usage"],getAllowedActionsOrganization:["GET /orgs/{org}/actions/permissions/selected-actions"],getAllowedActionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/selected-actions"],getArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],getCustomOidcSubClaimForRepo:["GET /repos/{owner}/{repo}/actions/oidc/customization/sub"],getEnvironmentPublicKey:["GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key"],getEnvironmentSecret:["GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],getEnvironmentVariable:["GET /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],getGithubActionsDefaultWorkflowPermissionsOrganization:["GET /orgs/{org}/actions/permissions/workflow"],getGithubActionsDefaultWorkflowPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/workflow"],getGithubActionsPermissionsOrganization:["GET /orgs/{org}/actions/permissions"],getGithubActionsPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions"],getJobForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"],getOrgPublicKey:["GET /orgs/{org}/actions/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}"],getOrgVariable:["GET /orgs/{org}/actions/variables/{name}"],getPendingDeploymentsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],getRepoPermissions:["GET /repos/{owner}/{repo}/actions/permissions",{},{renamed:["actions","getGithubActionsPermissionsRepository"]}],getRepoPublicKey:["GET /repos/{owner}/{repo}/actions/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"],getRepoVariable:["GET /repos/{owner}/{repo}/actions/variables/{name}"],getReviewsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals"],getSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}"],getSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}"],getWorkflow:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"],getWorkflowAccessToRepository:["GET /repos/{owner}/{repo}/actions/permissions/access"],getWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}"],getWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}"],getWorkflowRunUsage:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"],getWorkflowUsage:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"],listArtifactsForRepo:["GET /repos/{owner}/{repo}/actions/artifacts"],listEnvironmentSecrets:["GET /repositories/{repository_id}/environments/{environment_name}/secrets"],listEnvironmentVariables:["GET /repositories/{repository_id}/environments/{environment_name}/variables"],listJobsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"],listJobsForWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs"],listLabelsForSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}/labels"],listLabelsForSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],listOrgSecrets:["GET /orgs/{org}/actions/secrets"],listOrgVariables:["GET /orgs/{org}/actions/variables"],listRepoOrganizationSecrets:["GET /repos/{owner}/{repo}/actions/organization-secrets"],listRepoOrganizationVariables:["GET /repos/{owner}/{repo}/actions/organization-variables"],listRepoSecrets:["GET /repos/{owner}/{repo}/actions/secrets"],listRepoVariables:["GET /repos/{owner}/{repo}/actions/variables"],listRepoWorkflows:["GET /repos/{owner}/{repo}/actions/workflows"],listRunnerApplicationsForOrg:["GET /orgs/{org}/actions/runners/downloads"],listRunnerApplicationsForRepo:["GET /repos/{owner}/{repo}/actions/runners/downloads"],listSelectedReposForOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}/repositories"],listSelectedReposForOrgVariable:["GET /orgs/{org}/actions/variables/{name}/repositories"],listSelectedRepositoriesEnabledGithubActionsOrganization:["GET /orgs/{org}/actions/permissions/repositories"],listSelfHostedRunnersForOrg:["GET /orgs/{org}/actions/runners"],listSelfHostedRunnersForRepo:["GET /repos/{owner}/{repo}/actions/runners"],listWorkflowRunArtifacts:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"],listWorkflowRuns:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"],listWorkflowRunsForRepo:["GET /repos/{owner}/{repo}/actions/runs"],reRunJobForWorkflowRun:["POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun"],reRunWorkflow:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"],reRunWorkflowFailedJobs:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs"],removeAllCustomLabelsFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels"],removeAllCustomLabelsFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],removeCustomLabelFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}"],removeCustomLabelFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],reviewCustomGatesForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule"],reviewPendingDeploymentsForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],setAllowedActionsOrganization:["PUT /orgs/{org}/actions/permissions/selected-actions"],setAllowedActionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/selected-actions"],setCustomLabelsForSelfHostedRunnerForOrg:["PUT /orgs/{org}/actions/runners/{runner_id}/labels"],setCustomLabelsForSelfHostedRunnerForRepo:["PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],setCustomOidcSubClaimForRepo:["PUT /repos/{owner}/{repo}/actions/oidc/customization/sub"],setGithubActionsDefaultWorkflowPermissionsOrganization:["PUT /orgs/{org}/actions/permissions/workflow"],setGithubActionsDefaultWorkflowPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/workflow"],setGithubActionsPermissionsOrganization:["PUT /orgs/{org}/actions/permissions"],setGithubActionsPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"],setSelectedReposForOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories"],setSelectedRepositoriesEnabledGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories"],setWorkflowAccessToRepository:["PUT /repos/{owner}/{repo}/actions/permissions/access"],updateEnvironmentVariable:["PATCH /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],updateOrgVariable:["PATCH /orgs/{org}/actions/variables/{name}"],updateRepoVariable:["PATCH /repos/{owner}/{repo}/actions/variables/{name}"]},activity:{checkRepoIsStarredByAuthenticatedUser:["GET /user/starred/{owner}/{repo}"],deleteRepoSubscription:["DELETE /repos/{owner}/{repo}/subscription"],deleteThreadSubscription:["DELETE /notifications/threads/{thread_id}/subscription"],getFeeds:["GET /feeds"],getRepoSubscription:["GET /repos/{owner}/{repo}/subscription"],getThread:["GET /notifications/threads/{thread_id}"],getThreadSubscriptionForAuthenticatedUser:["GET /notifications/threads/{thread_id}/subscription"],listEventsForAuthenticatedUser:["GET /users/{username}/events"],listNotificationsForAuthenticatedUser:["GET /notifications"],listOrgEventsForAuthenticatedUser:["GET /users/{username}/events/orgs/{org}"],listPublicEvents:["GET /events"],listPublicEventsForRepoNetwork:["GET /networks/{owner}/{repo}/events"],listPublicEventsForUser:["GET /users/{username}/events/public"],listPublicOrgEvents:["GET /orgs/{org}/events"],listReceivedEventsForUser:["GET /users/{username}/received_events"],listReceivedPublicEventsForUser:["GET /users/{username}/received_events/public"],listRepoEvents:["GET /repos/{owner}/{repo}/events"],listRepoNotificationsForAuthenticatedUser:["GET /repos/{owner}/{repo}/notifications"],listReposStarredByAuthenticatedUser:["GET /user/starred"],listReposStarredByUser:["GET /users/{username}/starred"],listReposWatchedByUser:["GET /users/{username}/subscriptions"],listStargazersForRepo:["GET /repos/{owner}/{repo}/stargazers"],listWatchedReposForAuthenticatedUser:["GET /user/subscriptions"],listWatchersForRepo:["GET /repos/{owner}/{repo}/subscribers"],markNotificationsAsRead:["PUT /notifications"],markRepoNotificationsAsRead:["PUT /repos/{owner}/{repo}/notifications"],markThreadAsDone:["DELETE /notifications/threads/{thread_id}"],markThreadAsRead:["PATCH /notifications/threads/{thread_id}"],setRepoSubscription:["PUT /repos/{owner}/{repo}/subscription"],setThreadSubscription:["PUT /notifications/threads/{thread_id}/subscription"],starRepoForAuthenticatedUser:["PUT /user/starred/{owner}/{repo}"],unstarRepoForAuthenticatedUser:["DELETE /user/starred/{owner}/{repo}"]},apps:{addRepoToInstallation:["PUT /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","addRepoToInstallationForAuthenticatedUser"]}],addRepoToInstallationForAuthenticatedUser:["PUT /user/installations/{installation_id}/repositories/{repository_id}"],checkToken:["POST /applications/{client_id}/token"],createFromManifest:["POST /app-manifests/{code}/conversions"],createInstallationAccessToken:["POST /app/installations/{installation_id}/access_tokens"],deleteAuthorization:["DELETE /applications/{client_id}/grant"],deleteInstallation:["DELETE /app/installations/{installation_id}"],deleteToken:["DELETE /applications/{client_id}/token"],getAuthenticated:["GET /app"],getBySlug:["GET /apps/{app_slug}"],getInstallation:["GET /app/installations/{installation_id}"],getOrgInstallation:["GET /orgs/{org}/installation"],getRepoInstallation:["GET /repos/{owner}/{repo}/installation"],getSubscriptionPlanForAccount:["GET /marketplace_listing/accounts/{account_id}"],getSubscriptionPlanForAccountStubbed:["GET /marketplace_listing/stubbed/accounts/{account_id}"],getUserInstallation:["GET /users/{username}/installation"],getWebhookConfigForApp:["GET /app/hook/config"],getWebhookDelivery:["GET /app/hook/deliveries/{delivery_id}"],listAccountsForPlan:["GET /marketplace_listing/plans/{plan_id}/accounts"],listAccountsForPlanStubbed:["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"],listInstallationReposForAuthenticatedUser:["GET /user/installations/{installation_id}/repositories"],listInstallationRequestsForAuthenticatedApp:["GET /app/installation-requests"],listInstallations:["GET /app/installations"],listInstallationsForAuthenticatedUser:["GET /user/installations"],listPlans:["GET /marketplace_listing/plans"],listPlansStubbed:["GET /marketplace_listing/stubbed/plans"],listReposAccessibleToInstallation:["GET /installation/repositories"],listSubscriptionsForAuthenticatedUser:["GET /user/marketplace_purchases"],listSubscriptionsForAuthenticatedUserStubbed:["GET /user/marketplace_purchases/stubbed"],listWebhookDeliveries:["GET /app/hook/deliveries"],redeliverWebhookDelivery:["POST /app/hook/deliveries/{delivery_id}/attempts"],removeRepoFromInstallation:["DELETE /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","removeRepoFromInstallationForAuthenticatedUser"]}],removeRepoFromInstallationForAuthenticatedUser:["DELETE /user/installations/{installation_id}/repositories/{repository_id}"],resetToken:["PATCH /applications/{client_id}/token"],revokeInstallationAccessToken:["DELETE /installation/token"],scopeToken:["POST /applications/{client_id}/token/scoped"],suspendInstallation:["PUT /app/installations/{installation_id}/suspended"],unsuspendInstallation:["DELETE /app/installations/{installation_id}/suspended"],updateWebhookConfigForApp:["PATCH /app/hook/config"]},billing:{getGithubActionsBillingOrg:["GET /orgs/{org}/settings/billing/actions"],getGithubActionsBillingUser:["GET /users/{username}/settings/billing/actions"],getGithubPackagesBillingOrg:["GET /orgs/{org}/settings/billing/packages"],getGithubPackagesBillingUser:["GET /users/{username}/settings/billing/packages"],getSharedStorageBillingOrg:["GET /orgs/{org}/settings/billing/shared-storage"],getSharedStorageBillingUser:["GET /users/{username}/settings/billing/shared-storage"]},checks:{create:["POST /repos/{owner}/{repo}/check-runs"],createSuite:["POST /repos/{owner}/{repo}/check-suites"],get:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}"],getSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}"],listAnnotations:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations"],listForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"],listForSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs"],listSuitesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"],rerequestRun:["POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest"],rerequestSuite:["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest"],setSuitesPreferences:["PATCH /repos/{owner}/{repo}/check-suites/preferences"],update:["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"]},codeScanning:{deleteAnalysis:["DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}"],getAlert:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}",{},{renamedParameters:{alert_id:"alert_number"}}],getAnalysis:["GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}"],getCodeqlDatabase:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}"],getDefaultSetup:["GET /repos/{owner}/{repo}/code-scanning/default-setup"],getSarif:["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"],listAlertInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"],listAlertsForOrg:["GET /orgs/{org}/code-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/code-scanning/alerts"],listAlertsInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances",{},{renamed:["codeScanning","listAlertInstances"]}],listCodeqlDatabases:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases"],listRecentAnalyses:["GET /repos/{owner}/{repo}/code-scanning/analyses"],updateAlert:["PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}"],updateDefaultSetup:["PATCH /repos/{owner}/{repo}/code-scanning/default-setup"],uploadSarif:["POST /repos/{owner}/{repo}/code-scanning/sarifs"]},codesOfConduct:{getAllCodesOfConduct:["GET /codes_of_conduct"],getConductCode:["GET /codes_of_conduct/{key}"]},codespaces:{addRepositoryForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],checkPermissionsForDevcontainer:["GET /repos/{owner}/{repo}/codespaces/permissions_check"],codespaceMachinesForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/machines"],createForAuthenticatedUser:["POST /user/codespaces"],createOrUpdateOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],createOrUpdateSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}"],createWithPrForAuthenticatedUser:["POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces"],createWithRepoForAuthenticatedUser:["POST /repos/{owner}/{repo}/codespaces"],deleteForAuthenticatedUser:["DELETE /user/codespaces/{codespace_name}"],deleteFromOrganization:["DELETE /orgs/{org}/members/{username}/codespaces/{codespace_name}"],deleteOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],deleteSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}"],exportForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/exports"],getCodespacesForUserInOrg:["GET /orgs/{org}/members/{username}/codespaces"],getExportDetailsForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/exports/{export_id}"],getForAuthenticatedUser:["GET /user/codespaces/{codespace_name}"],getOrgPublicKey:["GET /orgs/{org}/codespaces/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}"],getPublicKeyForAuthenticatedUser:["GET /user/codespaces/secrets/public-key"],getRepoPublicKey:["GET /repos/{owner}/{repo}/codespaces/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],getSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}"],listDevcontainersInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/devcontainers"],listForAuthenticatedUser:["GET /user/codespaces"],listInOrganization:["GET /orgs/{org}/codespaces",{},{renamedParameters:{org_id:"org"}}],listInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces"],listOrgSecrets:["GET /orgs/{org}/codespaces/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/codespaces/secrets"],listRepositoriesForSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}/repositories"],listSecretsForAuthenticatedUser:["GET /user/codespaces/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],preFlightWithRepoForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/new"],publishForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/publish"],removeRepositoryForSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],repoMachinesForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/machines"],setRepositoriesForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],startForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/start"],stopForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/stop"],stopInOrganization:["POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop"],updateForAuthenticatedUser:["PATCH /user/codespaces/{codespace_name}"]},copilot:{addCopilotSeatsForTeams:["POST /orgs/{org}/copilot/billing/selected_teams"],addCopilotSeatsForUsers:["POST /orgs/{org}/copilot/billing/selected_users"],cancelCopilotSeatAssignmentForTeams:["DELETE /orgs/{org}/copilot/billing/selected_teams"],cancelCopilotSeatAssignmentForUsers:["DELETE /orgs/{org}/copilot/billing/selected_users"],getCopilotOrganizationDetails:["GET /orgs/{org}/copilot/billing"],getCopilotSeatDetailsForUser:["GET /orgs/{org}/members/{username}/copilot"],listCopilotSeats:["GET /orgs/{org}/copilot/billing/seats"]},dependabot:{addSelectedRepoToOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],deleteOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],getAlert:["GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"],getOrgPublicKey:["GET /orgs/{org}/dependabot/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}"],getRepoPublicKey:["GET /repos/{owner}/{repo}/dependabot/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/dependabot/alerts"],listAlertsForOrg:["GET /orgs/{org}/dependabot/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/dependabot/alerts"],listOrgSecrets:["GET /orgs/{org}/dependabot/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/dependabot/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],updateAlert:["PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"]},dependencyGraph:{createRepositorySnapshot:["POST /repos/{owner}/{repo}/dependency-graph/snapshots"],diffRange:["GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}"],exportSbom:["GET /repos/{owner}/{repo}/dependency-graph/sbom"]},emojis:{get:["GET /emojis"]},gists:{checkIsStarred:["GET /gists/{gist_id}/star"],create:["POST /gists"],createComment:["POST /gists/{gist_id}/comments"],delete:["DELETE /gists/{gist_id}"],deleteComment:["DELETE /gists/{gist_id}/comments/{comment_id}"],fork:["POST /gists/{gist_id}/forks"],get:["GET /gists/{gist_id}"],getComment:["GET /gists/{gist_id}/comments/{comment_id}"],getRevision:["GET /gists/{gist_id}/{sha}"],list:["GET /gists"],listComments:["GET /gists/{gist_id}/comments"],listCommits:["GET /gists/{gist_id}/commits"],listForUser:["GET /users/{username}/gists"],listForks:["GET /gists/{gist_id}/forks"],listPublic:["GET /gists/public"],listStarred:["GET /gists/starred"],star:["PUT /gists/{gist_id}/star"],unstar:["DELETE /gists/{gist_id}/star"],update:["PATCH /gists/{gist_id}"],updateComment:["PATCH /gists/{gist_id}/comments/{comment_id}"]},git:{createBlob:["POST /repos/{owner}/{repo}/git/blobs"],createCommit:["POST /repos/{owner}/{repo}/git/commits"],createRef:["POST /repos/{owner}/{repo}/git/refs"],createTag:["POST /repos/{owner}/{repo}/git/tags"],createTree:["POST /repos/{owner}/{repo}/git/trees"],deleteRef:["DELETE /repos/{owner}/{repo}/git/refs/{ref}"],getBlob:["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"],getCommit:["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"],getRef:["GET /repos/{owner}/{repo}/git/ref/{ref}"],getTag:["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"],getTree:["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"],listMatchingRefs:["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"],updateRef:["PATCH /repos/{owner}/{repo}/git/refs/{ref}"]},gitignore:{getAllTemplates:["GET /gitignore/templates"],getTemplate:["GET /gitignore/templates/{name}"]},interactions:{getRestrictionsForAuthenticatedUser:["GET /user/interaction-limits"],getRestrictionsForOrg:["GET /orgs/{org}/interaction-limits"],getRestrictionsForRepo:["GET /repos/{owner}/{repo}/interaction-limits"],getRestrictionsForYourPublicRepos:["GET /user/interaction-limits",{},{renamed:["interactions","getRestrictionsForAuthenticatedUser"]}],removeRestrictionsForAuthenticatedUser:["DELETE /user/interaction-limits"],removeRestrictionsForOrg:["DELETE /orgs/{org}/interaction-limits"],removeRestrictionsForRepo:["DELETE /repos/{owner}/{repo}/interaction-limits"],removeRestrictionsForYourPublicRepos:["DELETE /user/interaction-limits",{},{renamed:["interactions","removeRestrictionsForAuthenticatedUser"]}],setRestrictionsForAuthenticatedUser:["PUT /user/interaction-limits"],setRestrictionsForOrg:["PUT /orgs/{org}/interaction-limits"],setRestrictionsForRepo:["PUT /repos/{owner}/{repo}/interaction-limits"],setRestrictionsForYourPublicRepos:["PUT /user/interaction-limits",{},{renamed:["interactions","setRestrictionsForAuthenticatedUser"]}]},issues:{addAssignees:["POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"],addLabels:["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"],checkUserCanBeAssigned:["GET /repos/{owner}/{repo}/assignees/{assignee}"],checkUserCanBeAssignedToIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}"],create:["POST /repos/{owner}/{repo}/issues"],createComment:["POST /repos/{owner}/{repo}/issues/{issue_number}/comments"],createLabel:["POST /repos/{owner}/{repo}/labels"],createMilestone:["POST /repos/{owner}/{repo}/milestones"],deleteComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}"],deleteLabel:["DELETE /repos/{owner}/{repo}/labels/{name}"],deleteMilestone:["DELETE /repos/{owner}/{repo}/milestones/{milestone_number}"],get:["GET /repos/{owner}/{repo}/issues/{issue_number}"],getComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"],getEvent:["GET /repos/{owner}/{repo}/issues/events/{event_id}"],getLabel:["GET /repos/{owner}/{repo}/labels/{name}"],getMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}"],list:["GET /issues"],listAssignees:["GET /repos/{owner}/{repo}/assignees"],listComments:["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"],listCommentsForRepo:["GET /repos/{owner}/{repo}/issues/comments"],listEvents:["GET /repos/{owner}/{repo}/issues/{issue_number}/events"],listEventsForRepo:["GET /repos/{owner}/{repo}/issues/events"],listEventsForTimeline:["GET /repos/{owner}/{repo}/issues/{issue_number}/timeline"],listForAuthenticatedUser:["GET /user/issues"],listForOrg:["GET /orgs/{org}/issues"],listForRepo:["GET /repos/{owner}/{repo}/issues"],listLabelsForMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"],listLabelsForRepo:["GET /repos/{owner}/{repo}/labels"],listLabelsOnIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/labels"],listMilestones:["GET /repos/{owner}/{repo}/milestones"],lock:["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"],removeAllLabels:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels"],removeAssignees:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees"],removeLabel:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}"],setLabels:["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"],unlock:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"],update:["PATCH /repos/{owner}/{repo}/issues/{issue_number}"],updateComment:["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"],updateLabel:["PATCH /repos/{owner}/{repo}/labels/{name}"],updateMilestone:["PATCH /repos/{owner}/{repo}/milestones/{milestone_number}"]},licenses:{get:["GET /licenses/{license}"],getAllCommonlyUsed:["GET /licenses"],getForRepo:["GET /repos/{owner}/{repo}/license"]},markdown:{render:["POST /markdown"],renderRaw:["POST /markdown/raw",{headers:{"content-type":"text/plain; charset=utf-8"}}]},meta:{get:["GET /meta"],getAllVersions:["GET /versions"],getOctocat:["GET /octocat"],getZen:["GET /zen"],root:["GET /"]},migrations:{cancelImport:["DELETE /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.cancelImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#cancel-an-import"}],deleteArchiveForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/archive"],deleteArchiveForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/archive"],downloadArchiveForOrg:["GET /orgs/{org}/migrations/{migration_id}/archive"],getArchiveForAuthenticatedUser:["GET /user/migrations/{migration_id}/archive"],getCommitAuthors:["GET /repos/{owner}/{repo}/import/authors",{},{deprecated:"octokit.rest.migrations.getCommitAuthors() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-commit-authors"}],getImportStatus:["GET /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.getImportStatus() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-an-import-status"}],getLargeFiles:["GET /repos/{owner}/{repo}/import/large_files",{},{deprecated:"octokit.rest.migrations.getLargeFiles() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-large-files"}],getStatusForAuthenticatedUser:["GET /user/migrations/{migration_id}"],getStatusForOrg:["GET /orgs/{org}/migrations/{migration_id}"],listForAuthenticatedUser:["GET /user/migrations"],listForOrg:["GET /orgs/{org}/migrations"],listReposForAuthenticatedUser:["GET /user/migrations/{migration_id}/repositories"],listReposForOrg:["GET /orgs/{org}/migrations/{migration_id}/repositories"],listReposForUser:["GET /user/migrations/{migration_id}/repositories",{},{renamed:["migrations","listReposForAuthenticatedUser"]}],mapCommitAuthor:["PATCH /repos/{owner}/{repo}/import/authors/{author_id}",{},{deprecated:"octokit.rest.migrations.mapCommitAuthor() is deprecated, see https://docs.github.com/rest/migrations/source-imports#map-a-commit-author"}],setLfsPreference:["PATCH /repos/{owner}/{repo}/import/lfs",{},{deprecated:"octokit.rest.migrations.setLfsPreference() is deprecated, see https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference"}],startForAuthenticatedUser:["POST /user/migrations"],startForOrg:["POST /orgs/{org}/migrations"],startImport:["PUT /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.startImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#start-an-import"}],unlockRepoForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock"],unlockRepoForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock"],updateImport:["PATCH /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.updateImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#update-an-import"}]},oidc:{getOidcCustomSubTemplateForOrg:["GET /orgs/{org}/actions/oidc/customization/sub"],updateOidcCustomSubTemplateForOrg:["PUT /orgs/{org}/actions/oidc/customization/sub"]},orgs:{addSecurityManagerTeam:["PUT /orgs/{org}/security-managers/teams/{team_slug}"],assignTeamToOrgRole:["PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],assignUserToOrgRole:["PUT /orgs/{org}/organization-roles/users/{username}/{role_id}"],blockUser:["PUT /orgs/{org}/blocks/{username}"],cancelInvitation:["DELETE /orgs/{org}/invitations/{invitation_id}"],checkBlockedUser:["GET /orgs/{org}/blocks/{username}"],checkMembershipForUser:["GET /orgs/{org}/members/{username}"],checkPublicMembershipForUser:["GET /orgs/{org}/public_members/{username}"],convertMemberToOutsideCollaborator:["PUT /orgs/{org}/outside_collaborators/{username}"],createCustomOrganizationRole:["POST /orgs/{org}/organization-roles"],createInvitation:["POST /orgs/{org}/invitations"],createOrUpdateCustomProperties:["PATCH /orgs/{org}/properties/schema"],createOrUpdateCustomPropertiesValuesForRepos:["PATCH /orgs/{org}/properties/values"],createOrUpdateCustomProperty:["PUT /orgs/{org}/properties/schema/{custom_property_name}"],createWebhook:["POST /orgs/{org}/hooks"],delete:["DELETE /orgs/{org}"],deleteCustomOrganizationRole:["DELETE /orgs/{org}/organization-roles/{role_id}"],deleteWebhook:["DELETE /orgs/{org}/hooks/{hook_id}"],enableOrDisableSecurityProductOnAllOrgRepos:["POST /orgs/{org}/{security_product}/{enablement}"],get:["GET /orgs/{org}"],getAllCustomProperties:["GET /orgs/{org}/properties/schema"],getCustomProperty:["GET /orgs/{org}/properties/schema/{custom_property_name}"],getMembershipForAuthenticatedUser:["GET /user/memberships/orgs/{org}"],getMembershipForUser:["GET /orgs/{org}/memberships/{username}"],getOrgRole:["GET /orgs/{org}/organization-roles/{role_id}"],getWebhook:["GET /orgs/{org}/hooks/{hook_id}"],getWebhookConfigForOrg:["GET /orgs/{org}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}"],list:["GET /organizations"],listAppInstallations:["GET /orgs/{org}/installations"],listBlockedUsers:["GET /orgs/{org}/blocks"],listCustomPropertiesValuesForRepos:["GET /orgs/{org}/properties/values"],listFailedInvitations:["GET /orgs/{org}/failed_invitations"],listForAuthenticatedUser:["GET /user/orgs"],listForUser:["GET /users/{username}/orgs"],listInvitationTeams:["GET /orgs/{org}/invitations/{invitation_id}/teams"],listMembers:["GET /orgs/{org}/members"],listMembershipsForAuthenticatedUser:["GET /user/memberships/orgs"],listOrgRoleTeams:["GET /orgs/{org}/organization-roles/{role_id}/teams"],listOrgRoleUsers:["GET /orgs/{org}/organization-roles/{role_id}/users"],listOrgRoles:["GET /orgs/{org}/organization-roles"],listOrganizationFineGrainedPermissions:["GET /orgs/{org}/organization-fine-grained-permissions"],listOutsideCollaborators:["GET /orgs/{org}/outside_collaborators"],listPatGrantRepositories:["GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories"],listPatGrantRequestRepositories:["GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories"],listPatGrantRequests:["GET /orgs/{org}/personal-access-token-requests"],listPatGrants:["GET /orgs/{org}/personal-access-tokens"],listPendingInvitations:["GET /orgs/{org}/invitations"],listPublicMembers:["GET /orgs/{org}/public_members"],listSecurityManagerTeams:["GET /orgs/{org}/security-managers"],listWebhookDeliveries:["GET /orgs/{org}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /orgs/{org}/hooks"],patchCustomOrganizationRole:["PATCH /orgs/{org}/organization-roles/{role_id}"],pingWebhook:["POST /orgs/{org}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeCustomProperty:["DELETE /orgs/{org}/properties/schema/{custom_property_name}"],removeMember:["DELETE /orgs/{org}/members/{username}"],removeMembershipForUser:["DELETE /orgs/{org}/memberships/{username}"],removeOutsideCollaborator:["DELETE /orgs/{org}/outside_collaborators/{username}"],removePublicMembershipForAuthenticatedUser:["DELETE /orgs/{org}/public_members/{username}"],removeSecurityManagerTeam:["DELETE /orgs/{org}/security-managers/teams/{team_slug}"],reviewPatGrantRequest:["POST /orgs/{org}/personal-access-token-requests/{pat_request_id}"],reviewPatGrantRequestsInBulk:["POST /orgs/{org}/personal-access-token-requests"],revokeAllOrgRolesTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}"],revokeAllOrgRolesUser:["DELETE /orgs/{org}/organization-roles/users/{username}"],revokeOrgRoleTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],revokeOrgRoleUser:["DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}"],setMembershipForUser:["PUT /orgs/{org}/memberships/{username}"],setPublicMembershipForAuthenticatedUser:["PUT /orgs/{org}/public_members/{username}"],unblockUser:["DELETE /orgs/{org}/blocks/{username}"],update:["PATCH /orgs/{org}"],updateMembershipForAuthenticatedUser:["PATCH /user/memberships/orgs/{org}"],updatePatAccess:["POST /orgs/{org}/personal-access-tokens/{pat_id}"],updatePatAccesses:["POST /orgs/{org}/personal-access-tokens"],updateWebhook:["PATCH /orgs/{org}/hooks/{hook_id}"],updateWebhookConfigForOrg:["PATCH /orgs/{org}/hooks/{hook_id}/config"]},packages:{deletePackageForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}"],deletePackageForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}"],deletePackageForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}"],deletePackageVersionForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getAllPackageVersionsForAPackageOwnedByAnOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByOrg"]}],getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByAuthenticatedUser"]}],getAllPackageVersionsForPackageOwnedByAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions"],getPackageForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}"],getPackageForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}"],getPackageForUser:["GET /users/{username}/packages/{package_type}/{package_name}"],getPackageVersionForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],listDockerMigrationConflictingPackagesForAuthenticatedUser:["GET /user/docker/conflicts"],listDockerMigrationConflictingPackagesForOrganization:["GET /orgs/{org}/docker/conflicts"],listDockerMigrationConflictingPackagesForUser:["GET /users/{username}/docker/conflicts"],listPackagesForAuthenticatedUser:["GET /user/packages"],listPackagesForOrganization:["GET /orgs/{org}/packages"],listPackagesForUser:["GET /users/{username}/packages"],restorePackageForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForUser:["POST /users/{username}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageVersionForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForUser:["POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"]},projects:{addCollaborator:["PUT /projects/{project_id}/collaborators/{username}"],createCard:["POST /projects/columns/{column_id}/cards"],createColumn:["POST /projects/{project_id}/columns"],createForAuthenticatedUser:["POST /user/projects"],createForOrg:["POST /orgs/{org}/projects"],createForRepo:["POST /repos/{owner}/{repo}/projects"],delete:["DELETE /projects/{project_id}"],deleteCard:["DELETE /projects/columns/cards/{card_id}"],deleteColumn:["DELETE /projects/columns/{column_id}"],get:["GET /projects/{project_id}"],getCard:["GET /projects/columns/cards/{card_id}"],getColumn:["GET /projects/columns/{column_id}"],getPermissionForUser:["GET /projects/{project_id}/collaborators/{username}/permission"],listCards:["GET /projects/columns/{column_id}/cards"],listCollaborators:["GET /projects/{project_id}/collaborators"],listColumns:["GET /projects/{project_id}/columns"],listForOrg:["GET /orgs/{org}/projects"],listForRepo:["GET /repos/{owner}/{repo}/projects"],listForUser:["GET /users/{username}/projects"],moveCard:["POST /projects/columns/cards/{card_id}/moves"],moveColumn:["POST /projects/columns/{column_id}/moves"],removeCollaborator:["DELETE /projects/{project_id}/collaborators/{username}"],update:["PATCH /projects/{project_id}"],updateCard:["PATCH /projects/columns/cards/{card_id}"],updateColumn:["PATCH /projects/columns/{column_id}"]},pulls:{checkIfMerged:["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],create:["POST /repos/{owner}/{repo}/pulls"],createReplyForReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies"],createReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],createReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments"],deletePendingReview:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],deleteReviewComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}"],dismissReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals"],get:["GET /repos/{owner}/{repo}/pulls/{pull_number}"],getReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],getReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"],list:["GET /repos/{owner}/{repo}/pulls"],listCommentsForReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments"],listCommits:["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"],listFiles:["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"],listRequestedReviewers:["GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],listReviewComments:["GET /repos/{owner}/{repo}/pulls/{pull_number}/comments"],listReviewCommentsForRepo:["GET /repos/{owner}/{repo}/pulls/comments"],listReviews:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],merge:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"],removeRequestedReviewers:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],requestReviewers:["POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],submitReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events"],update:["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"],updateBranch:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch"],updateReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],updateReviewComment:["PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}"]},rateLimit:{get:["GET /rate_limit"]},reactions:{createForCommitComment:["POST /repos/{owner}/{repo}/comments/{comment_id}/reactions"],createForIssue:["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions"],createForIssueComment:["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],createForPullRequestReviewComment:["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],createForRelease:["POST /repos/{owner}/{repo}/releases/{release_id}/reactions"],createForTeamDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],createForTeamDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"],deleteForCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}"],deleteForIssue:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}"],deleteForIssueComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}"],deleteForPullRequestComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}"],deleteForRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}"],deleteForTeamDiscussion:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}"],deleteForTeamDiscussionComment:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}"],listForCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions"],listForIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions"],listForIssueComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],listForPullRequestReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],listForRelease:["GET /repos/{owner}/{repo}/releases/{release_id}/reactions"],listForTeamDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],listForTeamDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"]},repos:{acceptInvitation:["PATCH /user/repository_invitations/{invitation_id}",{},{renamed:["repos","acceptInvitationForAuthenticatedUser"]}],acceptInvitationForAuthenticatedUser:["PATCH /user/repository_invitations/{invitation_id}"],addAppAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],addCollaborator:["PUT /repos/{owner}/{repo}/collaborators/{username}"],addStatusCheckContexts:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],addTeamAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],addUserAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],cancelPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel"],checkAutomatedSecurityFixes:["GET /repos/{owner}/{repo}/automated-security-fixes"],checkCollaborator:["GET /repos/{owner}/{repo}/collaborators/{username}"],checkVulnerabilityAlerts:["GET /repos/{owner}/{repo}/vulnerability-alerts"],codeownersErrors:["GET /repos/{owner}/{repo}/codeowners/errors"],compareCommits:["GET /repos/{owner}/{repo}/compare/{base}...{head}"],compareCommitsWithBasehead:["GET /repos/{owner}/{repo}/compare/{basehead}"],createAutolink:["POST /repos/{owner}/{repo}/autolinks"],createCommitComment:["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"],createCommitSignatureProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],createCommitStatus:["POST /repos/{owner}/{repo}/statuses/{sha}"],createDeployKey:["POST /repos/{owner}/{repo}/keys"],createDeployment:["POST /repos/{owner}/{repo}/deployments"],createDeploymentBranchPolicy:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],createDeploymentProtectionRule:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],createDeploymentStatus:["POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],createDispatchEvent:["POST /repos/{owner}/{repo}/dispatches"],createForAuthenticatedUser:["POST /user/repos"],createFork:["POST /repos/{owner}/{repo}/forks"],createInOrg:["POST /orgs/{org}/repos"],createOrUpdateCustomPropertiesValues:["PATCH /repos/{owner}/{repo}/properties/values"],createOrUpdateEnvironment:["PUT /repos/{owner}/{repo}/environments/{environment_name}"],createOrUpdateFileContents:["PUT /repos/{owner}/{repo}/contents/{path}"],createOrgRuleset:["POST /orgs/{org}/rulesets"],createPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments"],createPagesSite:["POST /repos/{owner}/{repo}/pages"],createRelease:["POST /repos/{owner}/{repo}/releases"],createRepoRuleset:["POST /repos/{owner}/{repo}/rulesets"],createTagProtection:["POST /repos/{owner}/{repo}/tags/protection"],createUsingTemplate:["POST /repos/{template_owner}/{template_repo}/generate"],createWebhook:["POST /repos/{owner}/{repo}/hooks"],declineInvitation:["DELETE /user/repository_invitations/{invitation_id}",{},{renamed:["repos","declineInvitationForAuthenticatedUser"]}],declineInvitationForAuthenticatedUser:["DELETE /user/repository_invitations/{invitation_id}"],delete:["DELETE /repos/{owner}/{repo}"],deleteAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],deleteAdminBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],deleteAnEnvironment:["DELETE /repos/{owner}/{repo}/environments/{environment_name}"],deleteAutolink:["DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}"],deleteBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection"],deleteCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}"],deleteCommitSignatureProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],deleteDeployKey:["DELETE /repos/{owner}/{repo}/keys/{key_id}"],deleteDeployment:["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"],deleteDeploymentBranchPolicy:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],deleteFile:["DELETE /repos/{owner}/{repo}/contents/{path}"],deleteInvitation:["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"],deleteOrgRuleset:["DELETE /orgs/{org}/rulesets/{ruleset_id}"],deletePagesSite:["DELETE /repos/{owner}/{repo}/pages"],deletePullRequestReviewProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],deleteRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}"],deleteReleaseAsset:["DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"],deleteRepoRuleset:["DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}"],deleteTagProtection:["DELETE /repos/{owner}/{repo}/tags/protection/{tag_protection_id}"],deleteWebhook:["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"],disableAutomatedSecurityFixes:["DELETE /repos/{owner}/{repo}/automated-security-fixes"],disableDeploymentProtectionRule:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],disablePrivateVulnerabilityReporting:["DELETE /repos/{owner}/{repo}/private-vulnerability-reporting"],disableVulnerabilityAlerts:["DELETE /repos/{owner}/{repo}/vulnerability-alerts"],downloadArchive:["GET /repos/{owner}/{repo}/zipball/{ref}",{},{renamed:["repos","downloadZipballArchive"]}],downloadTarballArchive:["GET /repos/{owner}/{repo}/tarball/{ref}"],downloadZipballArchive:["GET /repos/{owner}/{repo}/zipball/{ref}"],enableAutomatedSecurityFixes:["PUT /repos/{owner}/{repo}/automated-security-fixes"],enablePrivateVulnerabilityReporting:["PUT /repos/{owner}/{repo}/private-vulnerability-reporting"],enableVulnerabilityAlerts:["PUT /repos/{owner}/{repo}/vulnerability-alerts"],generateReleaseNotes:["POST /repos/{owner}/{repo}/releases/generate-notes"],get:["GET /repos/{owner}/{repo}"],getAccessRestrictions:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],getAdminBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],getAllDeploymentProtectionRules:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],getAllEnvironments:["GET /repos/{owner}/{repo}/environments"],getAllStatusCheckContexts:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"],getAllTopics:["GET /repos/{owner}/{repo}/topics"],getAppsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"],getAutolink:["GET /repos/{owner}/{repo}/autolinks/{autolink_id}"],getBranch:["GET /repos/{owner}/{repo}/branches/{branch}"],getBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection"],getBranchRules:["GET /repos/{owner}/{repo}/rules/branches/{branch}"],getClones:["GET /repos/{owner}/{repo}/traffic/clones"],getCodeFrequencyStats:["GET /repos/{owner}/{repo}/stats/code_frequency"],getCollaboratorPermissionLevel:["GET /repos/{owner}/{repo}/collaborators/{username}/permission"],getCombinedStatusForRef:["GET /repos/{owner}/{repo}/commits/{ref}/status"],getCommit:["GET /repos/{owner}/{repo}/commits/{ref}"],getCommitActivityStats:["GET /repos/{owner}/{repo}/stats/commit_activity"],getCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}"],getCommitSignatureProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],getCommunityProfileMetrics:["GET /repos/{owner}/{repo}/community/profile"],getContent:["GET /repos/{owner}/{repo}/contents/{path}"],getContributorsStats:["GET /repos/{owner}/{repo}/stats/contributors"],getCustomDeploymentProtectionRule:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],getCustomPropertiesValues:["GET /repos/{owner}/{repo}/properties/values"],getDeployKey:["GET /repos/{owner}/{repo}/keys/{key_id}"],getDeployment:["GET /repos/{owner}/{repo}/deployments/{deployment_id}"],getDeploymentBranchPolicy:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],getDeploymentStatus:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"],getEnvironment:["GET /repos/{owner}/{repo}/environments/{environment_name}"],getLatestPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/latest"],getLatestRelease:["GET /repos/{owner}/{repo}/releases/latest"],getOrgRuleSuite:["GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id}"],getOrgRuleSuites:["GET /orgs/{org}/rulesets/rule-suites"],getOrgRuleset:["GET /orgs/{org}/rulesets/{ruleset_id}"],getOrgRulesets:["GET /orgs/{org}/rulesets"],getPages:["GET /repos/{owner}/{repo}/pages"],getPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/{build_id}"],getPagesDeployment:["GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}"],getPagesHealthCheck:["GET /repos/{owner}/{repo}/pages/health"],getParticipationStats:["GET /repos/{owner}/{repo}/stats/participation"],getPullRequestReviewProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],getPunchCardStats:["GET /repos/{owner}/{repo}/stats/punch_card"],getReadme:["GET /repos/{owner}/{repo}/readme"],getReadmeInDirectory:["GET /repos/{owner}/{repo}/readme/{dir}"],getRelease:["GET /repos/{owner}/{repo}/releases/{release_id}"],getReleaseAsset:["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"],getReleaseByTag:["GET /repos/{owner}/{repo}/releases/tags/{tag}"],getRepoRuleSuite:["GET /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id}"],getRepoRuleSuites:["GET /repos/{owner}/{repo}/rulesets/rule-suites"],getRepoRuleset:["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"],getRepoRulesets:["GET /repos/{owner}/{repo}/rulesets"],getStatusChecksProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],getTeamsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"],getTopPaths:["GET /repos/{owner}/{repo}/traffic/popular/paths"],getTopReferrers:["GET /repos/{owner}/{repo}/traffic/popular/referrers"],getUsersWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"],getViews:["GET /repos/{owner}/{repo}/traffic/views"],getWebhook:["GET /repos/{owner}/{repo}/hooks/{hook_id}"],getWebhookConfigForRepo:["GET /repos/{owner}/{repo}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}"],listActivities:["GET /repos/{owner}/{repo}/activity"],listAutolinks:["GET /repos/{owner}/{repo}/autolinks"],listBranches:["GET /repos/{owner}/{repo}/branches"],listBranchesForHeadCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head"],listCollaborators:["GET /repos/{owner}/{repo}/collaborators"],listCommentsForCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"],listCommitCommentsForRepo:["GET /repos/{owner}/{repo}/comments"],listCommitStatusesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/statuses"],listCommits:["GET /repos/{owner}/{repo}/commits"],listContributors:["GET /repos/{owner}/{repo}/contributors"],listCustomDeploymentRuleIntegrations:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps"],listDeployKeys:["GET /repos/{owner}/{repo}/keys"],listDeploymentBranchPolicies:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],listDeploymentStatuses:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],listDeployments:["GET /repos/{owner}/{repo}/deployments"],listForAuthenticatedUser:["GET /user/repos"],listForOrg:["GET /orgs/{org}/repos"],listForUser:["GET /users/{username}/repos"],listForks:["GET /repos/{owner}/{repo}/forks"],listInvitations:["GET /repos/{owner}/{repo}/invitations"],listInvitationsForAuthenticatedUser:["GET /user/repository_invitations"],listLanguages:["GET /repos/{owner}/{repo}/languages"],listPagesBuilds:["GET /repos/{owner}/{repo}/pages/builds"],listPublic:["GET /repositories"],listPullRequestsAssociatedWithCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls"],listReleaseAssets:["GET /repos/{owner}/{repo}/releases/{release_id}/assets"],listReleases:["GET /repos/{owner}/{repo}/releases"],listTagProtection:["GET /repos/{owner}/{repo}/tags/protection"],listTags:["GET /repos/{owner}/{repo}/tags"],listTeams:["GET /repos/{owner}/{repo}/teams"],listWebhookDeliveries:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /repos/{owner}/{repo}/hooks"],merge:["POST /repos/{owner}/{repo}/merges"],mergeUpstream:["POST /repos/{owner}/{repo}/merge-upstream"],pingWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeAppAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],removeCollaborator:["DELETE /repos/{owner}/{repo}/collaborators/{username}"],removeStatusCheckContexts:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],removeStatusCheckProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],removeTeamAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],removeUserAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],renameBranch:["POST /repos/{owner}/{repo}/branches/{branch}/rename"],replaceAllTopics:["PUT /repos/{owner}/{repo}/topics"],requestPagesBuild:["POST /repos/{owner}/{repo}/pages/builds"],setAdminBranchProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],setAppAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],setStatusCheckContexts:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],setTeamAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],setUserAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],testPushWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"],transfer:["POST /repos/{owner}/{repo}/transfer"],update:["PATCH /repos/{owner}/{repo}"],updateBranchProtection:["PUT /repos/{owner}/{repo}/branches/{branch}/protection"],updateCommitComment:["PATCH /repos/{owner}/{repo}/comments/{comment_id}"],updateDeploymentBranchPolicy:["PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],updateInformationAboutPagesSite:["PUT /repos/{owner}/{repo}/pages"],updateInvitation:["PATCH /repos/{owner}/{repo}/invitations/{invitation_id}"],updateOrgRuleset:["PUT /orgs/{org}/rulesets/{ruleset_id}"],updatePullRequestReviewProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],updateRelease:["PATCH /repos/{owner}/{repo}/releases/{release_id}"],updateReleaseAsset:["PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}"],updateRepoRuleset:["PUT /repos/{owner}/{repo}/rulesets/{ruleset_id}"],updateStatusCheckPotection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks",{},{renamed:["repos","updateStatusCheckProtection"]}],updateStatusCheckProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],updateWebhook:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"],updateWebhookConfigForRepo:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config"],uploadReleaseAsset:["POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}",{baseUrl:"https://uploads.github.com"}]},search:{code:["GET /search/code"],commits:["GET /search/commits"],issuesAndPullRequests:["GET /search/issues"],labels:["GET /search/labels"],repos:["GET /search/repositories"],topics:["GET /search/topics"],users:["GET /search/users"]},secretScanning:{getAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/secret-scanning/alerts"],listAlertsForOrg:["GET /orgs/{org}/secret-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/secret-scanning/alerts"],listLocationsForAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations"],updateAlert:["PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"]},securityAdvisories:{createFork:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks"],createPrivateVulnerabilityReport:["POST /repos/{owner}/{repo}/security-advisories/reports"],createRepositoryAdvisory:["POST /repos/{owner}/{repo}/security-advisories"],createRepositoryAdvisoryCveRequest:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve"],getGlobalAdvisory:["GET /advisories/{ghsa_id}"],getRepositoryAdvisory:["GET /repos/{owner}/{repo}/security-advisories/{ghsa_id}"],listGlobalAdvisories:["GET /advisories"],listOrgRepositoryAdvisories:["GET /orgs/{org}/security-advisories"],listRepositoryAdvisories:["GET /repos/{owner}/{repo}/security-advisories"],updateRepositoryAdvisory:["PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id}"]},teams:{addOrUpdateMembershipForUserInOrg:["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"],addOrUpdateProjectPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}"],addOrUpdateRepoPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],checkPermissionsForProjectInOrg:["GET /orgs/{org}/teams/{team_slug}/projects/{project_id}"],checkPermissionsForRepoInOrg:["GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],create:["POST /orgs/{org}/teams"],createDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],createDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions"],deleteDiscussionCommentInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],deleteDiscussionInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],deleteInOrg:["DELETE /orgs/{org}/teams/{team_slug}"],getByName:["GET /orgs/{org}/teams/{team_slug}"],getDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],getDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],getMembershipForUserInOrg:["GET /orgs/{org}/teams/{team_slug}/memberships/{username}"],list:["GET /orgs/{org}/teams"],listChildInOrg:["GET /orgs/{org}/teams/{team_slug}/teams"],listDiscussionCommentsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],listDiscussionsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions"],listForAuthenticatedUser:["GET /user/teams"],listMembersInOrg:["GET /orgs/{org}/teams/{team_slug}/members"],listPendingInvitationsInOrg:["GET /orgs/{org}/teams/{team_slug}/invitations"],listProjectsInOrg:["GET /orgs/{org}/teams/{team_slug}/projects"],listReposInOrg:["GET /orgs/{org}/teams/{team_slug}/repos"],removeMembershipForUserInOrg:["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"],removeProjectInOrg:["DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}"],removeRepoInOrg:["DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],updateDiscussionCommentInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],updateDiscussionInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],updateInOrg:["PATCH /orgs/{org}/teams/{team_slug}"]},users:{addEmailForAuthenticated:["POST /user/emails",{},{renamed:["users","addEmailForAuthenticatedUser"]}],addEmailForAuthenticatedUser:["POST /user/emails"],addSocialAccountForAuthenticatedUser:["POST /user/social_accounts"],block:["PUT /user/blocks/{username}"],checkBlocked:["GET /user/blocks/{username}"],checkFollowingForUser:["GET /users/{username}/following/{target_user}"],checkPersonIsFollowedByAuthenticated:["GET /user/following/{username}"],createGpgKeyForAuthenticated:["POST /user/gpg_keys",{},{renamed:["users","createGpgKeyForAuthenticatedUser"]}],createGpgKeyForAuthenticatedUser:["POST /user/gpg_keys"],createPublicSshKeyForAuthenticated:["POST /user/keys",{},{renamed:["users","createPublicSshKeyForAuthenticatedUser"]}],createPublicSshKeyForAuthenticatedUser:["POST /user/keys"],createSshSigningKeyForAuthenticatedUser:["POST /user/ssh_signing_keys"],deleteEmailForAuthenticated:["DELETE /user/emails",{},{renamed:["users","deleteEmailForAuthenticatedUser"]}],deleteEmailForAuthenticatedUser:["DELETE /user/emails"],deleteGpgKeyForAuthenticated:["DELETE /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","deleteGpgKeyForAuthenticatedUser"]}],deleteGpgKeyForAuthenticatedUser:["DELETE /user/gpg_keys/{gpg_key_id}"],deletePublicSshKeyForAuthenticated:["DELETE /user/keys/{key_id}",{},{renamed:["users","deletePublicSshKeyForAuthenticatedUser"]}],deletePublicSshKeyForAuthenticatedUser:["DELETE /user/keys/{key_id}"],deleteSocialAccountForAuthenticatedUser:["DELETE /user/social_accounts"],deleteSshSigningKeyForAuthenticatedUser:["DELETE /user/ssh_signing_keys/{ssh_signing_key_id}"],follow:["PUT /user/following/{username}"],getAuthenticated:["GET /user"],getByUsername:["GET /users/{username}"],getContextForUser:["GET /users/{username}/hovercard"],getGpgKeyForAuthenticated:["GET /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","getGpgKeyForAuthenticatedUser"]}],getGpgKeyForAuthenticatedUser:["GET /user/gpg_keys/{gpg_key_id}"],getPublicSshKeyForAuthenticated:["GET /user/keys/{key_id}",{},{renamed:["users","getPublicSshKeyForAuthenticatedUser"]}],getPublicSshKeyForAuthenticatedUser:["GET /user/keys/{key_id}"],getSshSigningKeyForAuthenticatedUser:["GET /user/ssh_signing_keys/{ssh_signing_key_id}"],list:["GET /users"],listBlockedByAuthenticated:["GET /user/blocks",{},{renamed:["users","listBlockedByAuthenticatedUser"]}],listBlockedByAuthenticatedUser:["GET /user/blocks"],listEmailsForAuthenticated:["GET /user/emails",{},{renamed:["users","listEmailsForAuthenticatedUser"]}],listEmailsForAuthenticatedUser:["GET /user/emails"],listFollowedByAuthenticated:["GET /user/following",{},{renamed:["users","listFollowedByAuthenticatedUser"]}],listFollowedByAuthenticatedUser:["GET /user/following"],listFollowersForAuthenticatedUser:["GET /user/followers"],listFollowersForUser:["GET /users/{username}/followers"],listFollowingForUser:["GET /users/{username}/following"],listGpgKeysForAuthenticated:["GET /user/gpg_keys",{},{renamed:["users","listGpgKeysForAuthenticatedUser"]}],listGpgKeysForAuthenticatedUser:["GET /user/gpg_keys"],listGpgKeysForUser:["GET /users/{username}/gpg_keys"],listPublicEmailsForAuthenticated:["GET /user/public_emails",{},{renamed:["users","listPublicEmailsForAuthenticatedUser"]}],listPublicEmailsForAuthenticatedUser:["GET /user/public_emails"],listPublicKeysForUser:["GET /users/{username}/keys"],listPublicSshKeysForAuthenticated:["GET /user/keys",{},{renamed:["users","listPublicSshKeysForAuthenticatedUser"]}],listPublicSshKeysForAuthenticatedUser:["GET /user/keys"],listSocialAccountsForAuthenticatedUser:["GET /user/social_accounts"],listSocialAccountsForUser:["GET /users/{username}/social_accounts"],listSshSigningKeysForAuthenticatedUser:["GET /user/ssh_signing_keys"],listSshSigningKeysForUser:["GET /users/{username}/ssh_signing_keys"],setPrimaryEmailVisibilityForAuthenticated:["PATCH /user/email/visibility",{},{renamed:["users","setPrimaryEmailVisibilityForAuthenticatedUser"]}],setPrimaryEmailVisibilityForAuthenticatedUser:["PATCH /user/email/visibility"],unblock:["DELETE /user/blocks/{username}"],unfollow:["DELETE /user/following/{username}"],updateAuthenticated:["PATCH /user"]}};var a=i;var c=new Map;for(const[e,t]of Object.entries(a)){for(const[r,s]of Object.entries(t)){const[t,o,n]=s;const[A,i]=t.split(/ /);const a=Object.assign({method:A,url:i},o);if(!c.has(e)){c.set(e,new Map)}c.get(e).set(r,{scope:e,methodName:r,endpointDefaults:a,decorations:n})}}var l={has({scope:e},t){return c.get(e).has(t)},getOwnPropertyDescriptor(e,t){return{value:this.get(e,t),configurable:true,writable:true,enumerable:true}},defineProperty(e,t,r){Object.defineProperty(e.cache,t,r);return true},deleteProperty(e,t){delete e.cache[t];return true},ownKeys({scope:e}){return[...c.get(e).keys()]},set(e,t,r){return e.cache[t]=r},get({octokit:e,scope:t,cache:r},s){if(r[s]){return r[s]}const o=c.get(t).get(s);if(!o){return void 0}const{endpointDefaults:n,decorations:A}=o;if(A){r[s]=decorate(e,t,s,n,A)}else{r[s]=e.request.defaults(n)}return r[s]}};function endpointsToMethods(e){const t={};for(const r of c.keys()){t[r]=new Proxy({octokit:e,scope:r,cache:{}},l)}return t}function decorate(e,t,r,s,o){const n=e.request.defaults(s);function withDecorations(...s){let A=n.endpoint.merge(...s);if(o.mapToData){A=Object.assign({},A,{data:A[o.mapToData],[o.mapToData]:void 0});return n(A)}if(o.renamed){const[s,n]=o.renamed;e.log.warn(`octokit.${t}.${r}() has been renamed to octokit.${s}.${n}()`)}if(o.deprecated){e.log.warn(o.deprecated)}if(o.renamedParameters){const A=n.endpoint.merge(...s);for(const[s,n]of Object.entries(o.renamedParameters)){if(s in A){e.log.warn(`"${s}" parameter is deprecated for "octokit.${t}.${r}()". Use "${n}" instead`);if(!(n in A)){A[n]=A[s]}delete A[s]}}return n(A)}return n(...s)}return Object.assign(withDecorations,n)}function restEndpointMethods(e){const t=endpointsToMethods(e);return{rest:t}}restEndpointMethods.VERSION=A;function legacyRestEndpointMethods(e){const t=endpointsToMethods(e);return{...t,rest:t}}legacyRestEndpointMethods.VERSION=A;0&&0},4552:function(e,t){var r=this&&this.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(e){try{step(s.next(e))}catch(e){o(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){o(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.PersonalAccessTokenCredentialHandler=t.BearerCredentialHandler=t.BasicCredentialHandler=void 0;class BasicCredentialHandler{constructor(e,t){this.username=e;this.password=t}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return r(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.BasicCredentialHandler=BasicCredentialHandler;class BearerCredentialHandler{constructor(e){this.token=e}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Bearer ${this.token}`}canHandleAuthentication(){return false}handleAuthentication(){return r(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.BearerCredentialHandler=BearerCredentialHandler;class PersonalAccessTokenCredentialHandler{constructor(e){this.token=e}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return r(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.PersonalAccessTokenCredentialHandler=PersonalAccessTokenCredentialHandler},4844:function(e,t,r){var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var o=Object.getOwnPropertyDescriptor(t,r);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,o)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);o(t,e);return t};var A=this&&this.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(e){try{step(s.next(e))}catch(e){o(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){o(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.HttpClient=t.isHttps=t.HttpClientResponse=t.HttpClientError=t.getProxyUrl=t.MediaTypes=t.Headers=t.HttpCodes=void 0;const i=n(r(8611));const a=n(r(5692));const c=n(r(4988));const l=n(r(770));const u=r(6752);var g;(function(e){e[e["OK"]=200]="OK";e[e["MultipleChoices"]=300]="MultipleChoices";e[e["MovedPermanently"]=301]="MovedPermanently";e[e["ResourceMoved"]=302]="ResourceMoved";e[e["SeeOther"]=303]="SeeOther";e[e["NotModified"]=304]="NotModified";e[e["UseProxy"]=305]="UseProxy";e[e["SwitchProxy"]=306]="SwitchProxy";e[e["TemporaryRedirect"]=307]="TemporaryRedirect";e[e["PermanentRedirect"]=308]="PermanentRedirect";e[e["BadRequest"]=400]="BadRequest";e[e["Unauthorized"]=401]="Unauthorized";e[e["PaymentRequired"]=402]="PaymentRequired";e[e["Forbidden"]=403]="Forbidden";e[e["NotFound"]=404]="NotFound";e[e["MethodNotAllowed"]=405]="MethodNotAllowed";e[e["NotAcceptable"]=406]="NotAcceptable";e[e["ProxyAuthenticationRequired"]=407]="ProxyAuthenticationRequired";e[e["RequestTimeout"]=408]="RequestTimeout";e[e["Conflict"]=409]="Conflict";e[e["Gone"]=410]="Gone";e[e["TooManyRequests"]=429]="TooManyRequests";e[e["InternalServerError"]=500]="InternalServerError";e[e["NotImplemented"]=501]="NotImplemented";e[e["BadGateway"]=502]="BadGateway";e[e["ServiceUnavailable"]=503]="ServiceUnavailable";e[e["GatewayTimeout"]=504]="GatewayTimeout"})(g||(t.HttpCodes=g={}));var p;(function(e){e["Accept"]="accept";e["ContentType"]="content-type"})(p||(t.Headers=p={}));var d;(function(e){e["ApplicationJson"]="application/json"})(d||(t.MediaTypes=d={}));function getProxyUrl(e){const t=c.getProxyUrl(new URL(e));return t?t.href:""}t.getProxyUrl=getProxyUrl;const E=[g.MovedPermanently,g.ResourceMoved,g.SeeOther,g.TemporaryRedirect,g.PermanentRedirect];const h=[g.BadGateway,g.ServiceUnavailable,g.GatewayTimeout];const I=["OPTIONS","GET","DELETE","HEAD"];const m=10;const C=5;class HttpClientError extends Error{constructor(e,t){super(e);this.name="HttpClientError";this.statusCode=t;Object.setPrototypeOf(this,HttpClientError.prototype)}}t.HttpClientError=HttpClientError;class HttpClientResponse{constructor(e){this.message=e}readBody(){return A(this,void 0,void 0,(function*(){return new Promise((e=>A(this,void 0,void 0,(function*(){let t=Buffer.alloc(0);this.message.on("data",(e=>{t=Buffer.concat([t,e])}));this.message.on("end",(()=>{e(t.toString())}))}))))}))}readBodyBuffer(){return A(this,void 0,void 0,(function*(){return new Promise((e=>A(this,void 0,void 0,(function*(){const t=[];this.message.on("data",(e=>{t.push(e)}));this.message.on("end",(()=>{e(Buffer.concat(t))}))}))))}))}}t.HttpClientResponse=HttpClientResponse;function isHttps(e){const t=new URL(e);return t.protocol==="https:"}t.isHttps=isHttps;class HttpClient{constructor(e,t,r){this._ignoreSslError=false;this._allowRedirects=true;this._allowRedirectDowngrade=false;this._maxRedirects=50;this._allowRetries=false;this._maxRetries=1;this._keepAlive=false;this._disposed=false;this.userAgent=e;this.handlers=t||[];this.requestOptions=r;if(r){if(r.ignoreSslError!=null){this._ignoreSslError=r.ignoreSslError}this._socketTimeout=r.socketTimeout;if(r.allowRedirects!=null){this._allowRedirects=r.allowRedirects}if(r.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=r.allowRedirectDowngrade}if(r.maxRedirects!=null){this._maxRedirects=Math.max(r.maxRedirects,0)}if(r.keepAlive!=null){this._keepAlive=r.keepAlive}if(r.allowRetries!=null){this._allowRetries=r.allowRetries}if(r.maxRetries!=null){this._maxRetries=r.maxRetries}}}options(e,t){return A(this,void 0,void 0,(function*(){return this.request("OPTIONS",e,null,t||{})}))}get(e,t){return A(this,void 0,void 0,(function*(){return this.request("GET",e,null,t||{})}))}del(e,t){return A(this,void 0,void 0,(function*(){return this.request("DELETE",e,null,t||{})}))}post(e,t,r){return A(this,void 0,void 0,(function*(){return this.request("POST",e,t,r||{})}))}patch(e,t,r){return A(this,void 0,void 0,(function*(){return this.request("PATCH",e,t,r||{})}))}put(e,t,r){return A(this,void 0,void 0,(function*(){return this.request("PUT",e,t,r||{})}))}head(e,t){return A(this,void 0,void 0,(function*(){return this.request("HEAD",e,null,t||{})}))}sendStream(e,t,r,s){return A(this,void 0,void 0,(function*(){return this.request(e,t,r,s)}))}getJson(e,t={}){return A(this,void 0,void 0,(function*(){t[p.Accept]=this._getExistingOrDefaultHeader(t,p.Accept,d.ApplicationJson);const r=yield this.get(e,t);return this._processResponse(r,this.requestOptions)}))}postJson(e,t,r={}){return A(this,void 0,void 0,(function*(){const s=JSON.stringify(t,null,2);r[p.Accept]=this._getExistingOrDefaultHeader(r,p.Accept,d.ApplicationJson);r[p.ContentType]=this._getExistingOrDefaultHeader(r,p.ContentType,d.ApplicationJson);const o=yield this.post(e,s,r);return this._processResponse(o,this.requestOptions)}))}putJson(e,t,r={}){return A(this,void 0,void 0,(function*(){const s=JSON.stringify(t,null,2);r[p.Accept]=this._getExistingOrDefaultHeader(r,p.Accept,d.ApplicationJson);r[p.ContentType]=this._getExistingOrDefaultHeader(r,p.ContentType,d.ApplicationJson);const o=yield this.put(e,s,r);return this._processResponse(o,this.requestOptions)}))}patchJson(e,t,r={}){return A(this,void 0,void 0,(function*(){const s=JSON.stringify(t,null,2);r[p.Accept]=this._getExistingOrDefaultHeader(r,p.Accept,d.ApplicationJson);r[p.ContentType]=this._getExistingOrDefaultHeader(r,p.ContentType,d.ApplicationJson);const o=yield this.patch(e,s,r);return this._processResponse(o,this.requestOptions)}))}request(e,t,r,s){return A(this,void 0,void 0,(function*(){if(this._disposed){throw new Error("Client has already been disposed.")}const o=new URL(t);let n=this._prepareRequest(e,o,s);const A=this._allowRetries&&I.includes(e)?this._maxRetries+1:1;let i=0;let a;do{a=yield this.requestRaw(n,r);if(a&&a.message&&a.message.statusCode===g.Unauthorized){let e;for(const t of this.handlers){if(t.canHandleAuthentication(a)){e=t;break}}if(e){return e.handleAuthentication(this,n,r)}else{return a}}let t=this._maxRedirects;while(a.message.statusCode&&E.includes(a.message.statusCode)&&this._allowRedirects&&t>0){const A=a.message.headers["location"];if(!A){break}const i=new URL(A);if(o.protocol==="https:"&&o.protocol!==i.protocol&&!this._allowRedirectDowngrade){throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.")}yield a.readBody();if(i.hostname!==o.hostname){for(const e in s){if(e.toLowerCase()==="authorization"){delete s[e]}}}n=this._prepareRequest(e,i,s);a=yield this.requestRaw(n,r);t--}if(!a.message.statusCode||!h.includes(a.message.statusCode)){return a}i+=1;if(i<A){yield a.readBody();yield this._performExponentialBackoff(i)}}while(i<A);return a}))}dispose(){if(this._agent){this._agent.destroy()}this._disposed=true}requestRaw(e,t){return A(this,void 0,void 0,(function*(){return new Promise(((r,s)=>{function callbackForResult(e,t){if(e){s(e)}else if(!t){s(new Error("Unknown error"))}else{r(t)}}this.requestRawWithCallback(e,t,callbackForResult)}))}))}requestRawWithCallback(e,t,r){if(typeof t==="string"){if(!e.options.headers){e.options.headers={}}e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8")}let s=false;function handleResult(e,t){if(!s){s=true;r(e,t)}}const o=e.httpModule.request(e.options,(e=>{const t=new HttpClientResponse(e);handleResult(undefined,t)}));let n;o.on("socket",(e=>{n=e}));o.setTimeout(this._socketTimeout||3*6e4,(()=>{if(n){n.end()}handleResult(new Error(`Request timeout: ${e.options.path}`))}));o.on("error",(function(e){handleResult(e)}));if(t&&typeof t==="string"){o.write(t,"utf8")}if(t&&typeof t!=="string"){t.on("close",(function(){o.end()}));t.pipe(o)}else{o.end()}}getAgent(e){const t=new URL(e);return this._getAgent(t)}getAgentDispatcher(e){const t=new URL(e);const r=c.getProxyUrl(t);const s=r&&r.hostname;if(!s){return}return this._getProxyAgentDispatcher(t,r)}_prepareRequest(e,t,r){const s={};s.parsedUrl=t;const o=s.parsedUrl.protocol==="https:";s.httpModule=o?a:i;const n=o?443:80;s.options={};s.options.host=s.parsedUrl.hostname;s.options.port=s.parsedUrl.port?parseInt(s.parsedUrl.port):n;s.options.path=(s.parsedUrl.pathname||"")+(s.parsedUrl.search||"");s.options.method=e;s.options.headers=this._mergeHeaders(r);if(this.userAgent!=null){s.options.headers["user-agent"]=this.userAgent}s.options.agent=this._getAgent(s.parsedUrl);if(this.handlers){for(const e of this.handlers){e.prepareRequest(s.options)}}return s}_mergeHeaders(e){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(e||{}))}return lowercaseKeys(e||{})}_getExistingOrDefaultHeader(e,t,r){let s;if(this.requestOptions&&this.requestOptions.headers){s=lowercaseKeys(this.requestOptions.headers)[t]}return e[t]||s||r}_getAgent(e){let t;const r=c.getProxyUrl(e);const s=r&&r.hostname;if(this._keepAlive&&s){t=this._proxyAgent}if(!s){t=this._agent}if(t){return t}const o=e.protocol==="https:";let n=100;if(this.requestOptions){n=this.requestOptions.maxSockets||i.globalAgent.maxSockets}if(r&&r.hostname){const e={maxSockets:n,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(r.username||r.password)&&{proxyAuth:`${r.username}:${r.password}`}),{host:r.hostname,port:r.port})};let s;const A=r.protocol==="https:";if(o){s=A?l.httpsOverHttps:l.httpsOverHttp}else{s=A?l.httpOverHttps:l.httpOverHttp}t=s(e);this._proxyAgent=t}if(!t){const e={keepAlive:this._keepAlive,maxSockets:n};t=o?new a.Agent(e):new i.Agent(e);this._agent=t}if(o&&this._ignoreSslError){t.options=Object.assign(t.options||{},{rejectUnauthorized:false})}return t}_getProxyAgentDispatcher(e,t){let r;if(this._keepAlive){r=this._proxyAgentDispatcher}if(r){return r}const s=e.protocol==="https:";r=new u.ProxyAgent(Object.assign({uri:t.href,pipelining:!this._keepAlive?0:1},(t.username||t.password)&&{token:`Basic ${Buffer.from(`${t.username}:${t.password}`).toString("base64")}`}));this._proxyAgentDispatcher=r;if(s&&this._ignoreSslError){r.options=Object.assign(r.options.requestTls||{},{rejectUnauthorized:false})}return r}_performExponentialBackoff(e){return A(this,void 0,void 0,(function*(){e=Math.min(m,e);const t=C*Math.pow(2,e);return new Promise((e=>setTimeout((()=>e()),t)))}))}_processResponse(e,t){return A(this,void 0,void 0,(function*(){return new Promise(((r,s)=>A(this,void 0,void 0,(function*(){const o=e.message.statusCode||0;const n={statusCode:o,result:null,headers:{}};if(o===g.NotFound){r(n)}function dateTimeDeserializer(e,t){if(typeof t==="string"){const e=new Date(t);if(!isNaN(e.valueOf())){return e}}return t}let A;let i;try{i=yield e.readBody();if(i&&i.length>0){if(t&&t.deserializeDates){A=JSON.parse(i,dateTimeDeserializer)}else{A=JSON.parse(i)}n.result=A}n.headers=e.message.headers}catch(e){}if(o>299){let e;if(A&&A.message){e=A.message}else if(i&&i.length>0){e=i}else{e=`Failed request: (${o})`}const t=new HttpClientError(e,o);t.result=n.result;s(t)}else{r(n)}}))))}))}}t.HttpClient=HttpClient;const lowercaseKeys=e=>Object.keys(e).reduce(((t,r)=>(t[r.toLowerCase()]=e[r],t)),{})},4988:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.checkBypass=t.getProxyUrl=void 0;function getProxyUrl(e){const t=e.protocol==="https:";if(checkBypass(e)){return undefined}const r=(()=>{if(t){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(r){try{return new DecodedURL(r)}catch(e){if(!r.startsWith("http://")&&!r.startsWith("https://"))return new DecodedURL(`http://${r}`)}}else{return undefined}}t.getProxyUrl=getProxyUrl;function checkBypass(e){if(!e.hostname){return false}const t=e.hostname;if(isLoopbackAddress(t)){return true}const r=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!r){return false}let s;if(e.port){s=Number(e.port)}else if(e.protocol==="http:"){s=80}else if(e.protocol==="https:"){s=443}const o=[e.hostname.toUpperCase()];if(typeof s==="number"){o.push(`${o[0]}:${s}`)}for(const e of r.split(",").map((e=>e.trim().toUpperCase())).filter((e=>e))){if(e==="*"||o.some((t=>t===e||t.endsWith(`.${e}`)||e.startsWith(".")&&t.endsWith(`${e}`)))){return true}}return false}t.checkBypass=checkBypass;function isLoopbackAddress(e){const t=e.toLowerCase();return t==="localhost"||t.startsWith("127.")||t.startsWith("[::1]")||t.startsWith("[0:0:0:0:0:0:0:1]")}class DecodedURL extends URL{constructor(e,t){super(e,t);this._decodedUsername=decodeURIComponent(super.username);this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}},5207:function(e,t,r){var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;Object.defineProperty(e,s,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))s(t,e,r);o(t,e);return t};var A=this&&this.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(e){try{step(s.next(e))}catch(e){o(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){o(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())}))};var i;Object.defineProperty(t,"__esModule",{value:true});t.getCmdPath=t.tryGetExecutablePath=t.isRooted=t.isDirectory=t.exists=t.READONLY=t.UV_FS_O_EXLOCK=t.IS_WINDOWS=t.unlink=t.symlink=t.stat=t.rmdir=t.rm=t.rename=t.readlink=t.readdir=t.open=t.mkdir=t.lstat=t.copyFile=t.chmod=void 0;const a=n(r(9896));const c=n(r(6928));i=a.promises,t.chmod=i.chmod,t.copyFile=i.copyFile,t.lstat=i.lstat,t.mkdir=i.mkdir,t.open=i.open,t.readdir=i.readdir,t.readlink=i.readlink,t.rename=i.rename,t.rm=i.rm,t.rmdir=i.rmdir,t.stat=i.stat,t.symlink=i.symlink,t.unlink=i.unlink;t.IS_WINDOWS=process.platform==="win32";t.UV_FS_O_EXLOCK=268435456;t.READONLY=a.constants.O_RDONLY;function exists(e){return A(this,void 0,void 0,(function*(){try{yield t.stat(e)}catch(e){if(e.code==="ENOENT"){return false}throw e}return true}))}t.exists=exists;function isDirectory(e,r=false){return A(this,void 0,void 0,(function*(){const s=r?yield t.stat(e):yield t.lstat(e);return s.isDirectory()}))}t.isDirectory=isDirectory;function isRooted(e){e=normalizeSeparators(e);if(!e){throw new Error('isRooted() parameter "p" cannot be empty')}if(t.IS_WINDOWS){return e.startsWith("\\")||/^[A-Z]:/i.test(e)}return e.startsWith("/")}t.isRooted=isRooted;function tryGetExecutablePath(e,r){return A(this,void 0,void 0,(function*(){let s=undefined;try{s=yield t.stat(e)}catch(t){if(t.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}}if(s&&s.isFile()){if(t.IS_WINDOWS){const t=c.extname(e).toUpperCase();if(r.some((e=>e.toUpperCase()===t))){return e}}else{if(isUnixExecutable(s)){return e}}}const o=e;for(const n of r){e=o+n;s=undefined;try{s=yield t.stat(e)}catch(t){if(t.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}}if(s&&s.isFile()){if(t.IS_WINDOWS){try{const r=c.dirname(e);const s=c.basename(e).toUpperCase();for(const o of yield t.readdir(r)){if(s===o.toUpperCase()){e=c.join(r,o);break}}}catch(t){console.log(`Unexpected error attempting to determine the actual case of the file '${e}': ${t}`)}return e}else{if(isUnixExecutable(s)){return e}}}}return""}))}t.tryGetExecutablePath=tryGetExecutablePath;function normalizeSeparators(e){e=e||"";if(t.IS_WINDOWS){e=e.replace(/\//g,"\\");return e.replace(/\\\\+/g,"\\")}return e.replace(/\/\/+/g,"/")}function isUnixExecutable(e){return(e.mode&1)>0||(e.mode&8)>0&&e.gid===process.getgid()||(e.mode&64)>0&&e.uid===process.getuid()}function getCmdPath(){var e;return(e=process.env["COMSPEC"])!==null&&e!==void 0?e:`cmd.exe`}t.getCmdPath=getCmdPath},4994:function(e,t,r){var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;Object.defineProperty(e,s,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))s(t,e,r);o(t,e);return t};var A=this&&this.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(e){try{step(s.next(e))}catch(e){o(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){o(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.findInPath=t.which=t.mkdirP=t.rmRF=t.mv=t.cp=void 0;const i=r(2613);const a=n(r(6928));const c=n(r(5207));function cp(e,t,r={}){return A(this,void 0,void 0,(function*(){const{force:s,recursive:o,copySourceDirectory:n}=readCopyOptions(r);const A=(yield c.exists(t))?yield c.stat(t):null;if(A&&A.isFile()&&!s){return}const i=A&&A.isDirectory()&&n?a.join(t,a.basename(e)):t;if(!(yield c.exists(e))){throw new Error(`no such file or directory: ${e}`)}const l=yield c.stat(e);if(l.isDirectory()){if(!o){throw new Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`)}else{yield cpDirRecursive(e,i,0,s)}}else{if(a.relative(e,i)===""){throw new Error(`'${i}' and '${e}' are the same file`)}yield copyFile(e,i,s)}}))}t.cp=cp;function mv(e,t,r={}){return A(this,void 0,void 0,(function*(){if(yield c.exists(t)){let s=true;if(yield c.isDirectory(t)){t=a.join(t,a.basename(e));s=yield c.exists(t)}if(s){if(r.force==null||r.force){yield rmRF(t)}else{throw new Error("Destination already exists")}}}yield mkdirP(a.dirname(t));yield c.rename(e,t)}))}t.mv=mv;function rmRF(e){return A(this,void 0,void 0,(function*(){if(c.IS_WINDOWS){if(/[*"<>|]/.test(e)){throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows')}}try{yield c.rm(e,{force:true,maxRetries:3,recursive:true,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}}))}t.rmRF=rmRF;function mkdirP(e){return A(this,void 0,void 0,(function*(){i.ok(e,"a path argument must be provided");yield c.mkdir(e,{recursive:true})}))}t.mkdirP=mkdirP;function which(e,t){return A(this,void 0,void 0,(function*(){if(!e){throw new Error("parameter 'tool' is required")}if(t){const t=yield which(e,false);if(!t){if(c.IS_WINDOWS){throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`)}else{throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`)}}return t}const r=yield findInPath(e);if(r&&r.length>0){return r[0]}return""}))}t.which=which;function findInPath(e){return A(this,void 0,void 0,(function*(){if(!e){throw new Error("parameter 'tool' is required")}const t=[];if(c.IS_WINDOWS&&process.env["PATHEXT"]){for(const e of process.env["PATHEXT"].split(a.delimiter)){if(e){t.push(e)}}}if(c.isRooted(e)){const r=yield c.tryGetExecutablePath(e,t);if(r){return[r]}return[]}if(e.includes(a.sep)){return[]}const r=[];if(process.env.PATH){for(const e of process.env.PATH.split(a.delimiter)){if(e){r.push(e)}}}const s=[];for(const o of r){const r=yield c.tryGetExecutablePath(a.join(o,e),t);if(r){s.push(r)}}return s}))}t.findInPath=findInPath;function readCopyOptions(e){const t=e.force==null?true:e.force;const r=Boolean(e.recursive);const s=e.copySourceDirectory==null?true:Boolean(e.copySourceDirectory);return{force:t,recursive:r,copySourceDirectory:s}}function cpDirRecursive(e,t,r,s){return A(this,void 0,void 0,(function*(){if(r>=255)return;r++;yield mkdirP(t);const o=yield c.readdir(e);for(const n of o){const o=`${e}/${n}`;const A=`${t}/${n}`;const i=yield c.lstat(o);if(i.isDirectory()){yield cpDirRecursive(o,A,r,s)}else{yield copyFile(o,A,s)}}yield c.chmod(t,(yield c.stat(e)).mode)}))}function copyFile(e,t,r){return A(this,void 0,void 0,(function*(){if((yield c.lstat(e)).isSymbolicLink()){try{yield c.lstat(t);yield c.unlink(t)}catch(e){if(e.code==="EPERM"){yield c.chmod(t,"0666");yield c.unlink(t)}}const r=yield c.readlink(e);yield c.symlink(r,t,c.IS_WINDOWS?"junction":null)}else if(!(yield c.exists(t))||r){yield c.copyFile(e,t)}}))}},7864:e=>{var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __export=(e,r)=>{for(var s in r)t(e,s,{get:r[s],enumerable:true})};var __copyProps=(e,n,A,i)=>{if(n&&typeof n==="object"||typeof n==="function"){for(let a of s(n))if(!o.call(e,a)&&a!==A)t(e,a,{get:()=>n[a],enumerable:!(i=r(n,a))||i.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var n={};__export(n,{createTokenAuth:()=>c});e.exports=__toCommonJS(n);var A=/^v1\./;var i=/^ghs_/;var a=/^ghu_/;async function auth(e){const t=e.split(/\./).length===3;const r=A.test(e)||i.test(e);const s=a.test(e);const o=t?"app":r?"installation":s?"user-to-server":"oauth";return{type:"token",token:e,tokenType:o}}function withAuthorizationPrefix(e){if(e.split(/\./).length===3){return`bearer ${e}`}return`token ${e}`}async function hook(e,t,r,s){const o=t.endpoint.merge(r,s);o.headers.authorization=withAuthorizationPrefix(e);return t(o)}var c=function createTokenAuth2(e){if(!e){throw new Error("[@octokit/auth-token] No token passed to createTokenAuth")}if(typeof e!=="string"){throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string")}e=e.replace(/^(token|bearer) +/i,"");return Object.assign(auth.bind(null,e),{hook:hook.bind(null,e)})};0&&0},1897:(e,t,r)=>{var s=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var A=Object.prototype.hasOwnProperty;var __export=(e,t)=>{for(var r in t)s(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,i)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let a of n(t))if(!A.call(e,a)&&a!==r)s(e,a,{get:()=>t[a],enumerable:!(i=o(t,a))||i.enumerable})}return e};var __toCommonJS=e=>__copyProps(s({},"__esModule",{value:true}),e);var i={};__export(i,{Octokit:()=>I});e.exports=__toCommonJS(i);var a=r(862);var c=r(2732);var l=r(4558);var u=r(7);var g=r(7864);var p="5.2.0";var noop=()=>{};var d=console.warn.bind(console);var E=console.error.bind(console);var h=`octokit-core.js/${p} ${(0,a.getUserAgent)()}`;var I=class{static{this.VERSION=p}static defaults(e){const t=class extends(this){constructor(...t){const r=t[0]||{};if(typeof e==="function"){super(e(r));return}super(Object.assign({},e,r,r.userAgent&&e.userAgent?{userAgent:`${r.userAgent} ${e.userAgent}`}:null))}};return t}static{this.plugins=[]}static plugin(...e){const t=this.plugins;const r=class extends(this){static{this.plugins=t.concat(e.filter((e=>!t.includes(e))))}};return r}constructor(e={}){const t=new c.Collection;const r={baseUrl:l.request.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},e.request,{hook:t.bind(null,"request")}),mediaType:{previews:[],format:""}};r.headers["user-agent"]=e.userAgent?`${e.userAgent} ${h}`:h;if(e.baseUrl){r.baseUrl=e.baseUrl}if(e.previews){r.mediaType.previews=e.previews}if(e.timeZone){r.headers["time-zone"]=e.timeZone}this.request=l.request.defaults(r);this.graphql=(0,u.withCustomRequest)(this.request).defaults(r);this.log=Object.assign({debug:noop,info:noop,warn:d,error:E},e.log);this.hook=t;if(!e.authStrategy){if(!e.auth){this.auth=async()=>({type:"unauthenticated"})}else{const r=(0,g.createTokenAuth)(e.auth);t.wrap("request",r.hook);this.auth=r}}else{const{authStrategy:r,...s}=e;const o=r(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:s},e.auth));t.wrap("request",o.hook);this.auth=o}const s=this.constructor;for(let t=0;t<s.plugins.length;++t){Object.assign(this,s.plugins[t](this,e))}}};0&&0},497:(e,t,r)=>{var s=Object.create;var o=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var A=Object.getOwnPropertyNames;var i=Object.getPrototypeOf;var a=Object.prototype.hasOwnProperty;var __export=(e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,s)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let i of A(t))if(!a.call(e,i)&&i!==r)o(e,i,{get:()=>t[i],enumerable:!(s=n(t,i))||s.enumerable})}return e};var __toESM=(e,t,r)=>(r=e!=null?s(i(e)):{},__copyProps(t||!e||!e.__esModule?o(r,"default",{value:e,enumerable:true}):r,e));var __toCommonJS=e=>__copyProps(o({},"__esModule",{value:true}),e);var c={};__export(c,{RequestError:()=>d});e.exports=__toCommonJS(c);var l=r(4150);var u=__toESM(r(5560));var g=(0,u.default)((e=>console.warn(e)));var p=(0,u.default)((e=>console.warn(e)));var d=class extends Error{constructor(e,t,r){super(e);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="HttpError";this.status=t;let s;if("headers"in r&&typeof r.headers!=="undefined"){s=r.headers}if("response"in r){this.response=r.response;s=r.response.headers}const o=Object.assign({},r.request);if(r.request.headers.authorization){o.headers=Object.assign({},r.request.headers,{authorization:r.request.headers.authorization.replace(/ .*$/," [REDACTED]")})}o.url=o.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=o;Object.defineProperty(this,"code",{get(){g(new l.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`."));return t}});Object.defineProperty(this,"headers",{get(){p(new l.Deprecation("[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`."));return s||{}}})}};0&&0},4558:(e,t,r)=>{var s=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var A=Object.prototype.hasOwnProperty;var __export=(e,t)=>{for(var r in t)s(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,i)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let a of n(t))if(!A.call(e,a)&&a!==r)s(e,a,{get:()=>t[a],enumerable:!(i=o(t,a))||i.enumerable})}return e};var __toCommonJS=e=>__copyProps(s({},"__esModule",{value:true}),e);var i={};__export(i,{request:()=>g});e.exports=__toCommonJS(i);var a=r(4293);var c=r(862);var l="8.4.0";function isPlainObject(e){if(typeof e!=="object"||e===null)return false;if(Object.prototype.toString.call(e)!=="[object Object]")return false;const t=Object.getPrototypeOf(e);if(t===null)return true;const r=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof r==="function"&&r instanceof r&&Function.prototype.call(r)===Function.prototype.call(e)}var u=r(497);function getBufferResponse(e){return e.arrayBuffer()}function fetchWrapper(e){var t,r,s,o;const n=e.request&&e.request.log?e.request.log:console;const A=((t=e.request)==null?void 0:t.parseSuccessResponseBody)!==false;if(isPlainObject(e.body)||Array.isArray(e.body)){e.body=JSON.stringify(e.body)}let i={};let a;let c;let{fetch:l}=globalThis;if((r=e.request)==null?void 0:r.fetch){l=e.request.fetch}if(!l){throw new Error("fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing")}return l(e.url,{method:e.method,body:e.body,redirect:(s=e.request)==null?void 0:s.redirect,headers:e.headers,signal:(o=e.request)==null?void 0:o.signal,...e.body&&{duplex:"half"}}).then((async t=>{c=t.url;a=t.status;for(const e of t.headers){i[e[0]]=e[1]}if("deprecation"in i){const t=i.link&&i.link.match(/<([^>]+)>; rel="deprecation"/);const r=t&&t.pop();n.warn(`[@octokit/request] "${e.method} ${e.url}" is deprecated. It is scheduled to be removed on ${i.sunset}${r?`. See ${r}`:""}`)}if(a===204||a===205){return}if(e.method==="HEAD"){if(a<400){return}throw new u.RequestError(t.statusText,a,{response:{url:c,status:a,headers:i,data:void 0},request:e})}if(a===304){throw new u.RequestError("Not modified",a,{response:{url:c,status:a,headers:i,data:await getResponseData(t)},request:e})}if(a>=400){const r=await getResponseData(t);const s=new u.RequestError(toErrorMessage(r),a,{response:{url:c,status:a,headers:i,data:r},request:e});throw s}return A?await getResponseData(t):t.body})).then((e=>({status:a,url:c,headers:i,data:e}))).catch((t=>{if(t instanceof u.RequestError)throw t;else if(t.name==="AbortError")throw t;let r=t.message;if(t.name==="TypeError"&&"cause"in t){if(t.cause instanceof Error){r=t.cause.message}else if(typeof t.cause==="string"){r=t.cause}}throw new u.RequestError(r,500,{request:e})}))}async function getResponseData(e){const t=e.headers.get("content-type");if(/application\/json/.test(t)){return e.json().catch((()=>e.text())).catch((()=>""))}if(!t||/^text\/|charset=utf-8$/.test(t)){return e.text()}return getBufferResponse(e)}function toErrorMessage(e){if(typeof e==="string")return e;let t;if("documentation_url"in e){t=` - ${e.documentation_url}`}else{t=""}if("message"in e){if(Array.isArray(e.errors)){return`${e.message}: ${e.errors.map(JSON.stringify).join(", ")}${t}`}return`${e.message}${t}`}return`Unknown error: ${JSON.stringify(e)}`}function withDefaults(e,t){const r=e.defaults(t);const newApi=function(e,t){const s=r.merge(e,t);if(!s.request||!s.request.hook){return fetchWrapper(r.parse(s))}const request2=(e,t)=>fetchWrapper(r.parse(r.merge(e,t)));Object.assign(request2,{endpoint:r,defaults:withDefaults.bind(null,r)});return s.request.hook(request2,s)};return Object.assign(newApi,{endpoint:r,defaults:withDefaults.bind(null,r)})}var g=withDefaults(a.endpoint,{headers:{"user-agent":`octokit-request.js/${l} ${(0,c.getUserAgent)()}`}});0&&0},4293:(e,t,r)=>{var s=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var A=Object.prototype.hasOwnProperty;var __export=(e,t)=>{for(var r in t)s(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,i)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let a of n(t))if(!A.call(e,a)&&a!==r)s(e,a,{get:()=>t[a],enumerable:!(i=o(t,a))||i.enumerable})}return e};var __toCommonJS=e=>__copyProps(s({},"__esModule",{value:true}),e);var i={};__export(i,{endpoint:()=>p});e.exports=__toCommonJS(i);var a=r(862);var c="9.0.5";var l=`octokit-endpoint.js/${c} ${(0,a.getUserAgent)()}`;var u={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":l},mediaType:{format:""}};function lowercaseKeys(e){if(!e){return{}}return Object.keys(e).reduce(((t,r)=>{t[r.toLowerCase()]=e[r];return t}),{})}function isPlainObject(e){if(typeof e!=="object"||e===null)return false;if(Object.prototype.toString.call(e)!=="[object Object]")return false;const t=Object.getPrototypeOf(e);if(t===null)return true;const r=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof r==="function"&&r instanceof r&&Function.prototype.call(r)===Function.prototype.call(e)}function mergeDeep(e,t){const r=Object.assign({},e);Object.keys(t).forEach((s=>{if(isPlainObject(t[s])){if(!(s in e))Object.assign(r,{[s]:t[s]});else r[s]=mergeDeep(e[s],t[s])}else{Object.assign(r,{[s]:t[s]})}}));return r}function removeUndefinedProperties(e){for(const t in e){if(e[t]===void 0){delete e[t]}}return e}function merge(e,t,r){if(typeof t==="string"){let[e,s]=t.split(" ");r=Object.assign(s?{method:e,url:s}:{url:e},r)}else{r=Object.assign({},t)}r.headers=lowercaseKeys(r.headers);removeUndefinedProperties(r);removeUndefinedProperties(r.headers);const s=mergeDeep(e||{},r);if(r.url==="/graphql"){if(e&&e.mediaType.previews?.length){s.mediaType.previews=e.mediaType.previews.filter((e=>!s.mediaType.previews.includes(e))).concat(s.mediaType.previews)}s.mediaType.previews=(s.mediaType.previews||[]).map((e=>e.replace(/-preview/,"")))}return s}function addQueryParameters(e,t){const r=/\?/.test(e)?"&":"?";const s=Object.keys(t);if(s.length===0){return e}return e+r+s.map((e=>{if(e==="q"){return"q="+t.q.split("+").map(encodeURIComponent).join("+")}return`${e}=${encodeURIComponent(t[e])}`})).join("&")}var g=/\{[^}]+\}/g;function removeNonChars(e){return e.replace(/^\W+|\W+$/g,"").split(/,/)}function extractUrlVariableNames(e){const t=e.match(g);if(!t){return[]}return t.map(removeNonChars).reduce(((e,t)=>e.concat(t)),[])}function omit(e,t){const r={__proto__:null};for(const s of Object.keys(e)){if(t.indexOf(s)===-1){r[s]=e[s]}}return r}function encodeReserved(e){return e.split(/(%[0-9A-Fa-f]{2})/g).map((function(e){if(!/%[0-9A-Fa-f]/.test(e)){e=encodeURI(e).replace(/%5B/g,"[").replace(/%5D/g,"]")}return e})).join("")}function encodeUnreserved(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function encodeValue(e,t,r){t=e==="+"||e==="#"?encodeReserved(t):encodeUnreserved(t);if(r){return encodeUnreserved(r)+"="+t}else{return t}}function isDefined(e){return e!==void 0&&e!==null}function isKeyOperator(e){return e===";"||e==="&"||e==="?"}function getValues(e,t,r,s){var o=e[r],n=[];if(isDefined(o)&&o!==""){if(typeof o==="string"||typeof o==="number"||typeof o==="boolean"){o=o.toString();if(s&&s!=="*"){o=o.substring(0,parseInt(s,10))}n.push(encodeValue(t,o,isKeyOperator(t)?r:""))}else{if(s==="*"){if(Array.isArray(o)){o.filter(isDefined).forEach((function(e){n.push(encodeValue(t,e,isKeyOperator(t)?r:""))}))}else{Object.keys(o).forEach((function(e){if(isDefined(o[e])){n.push(encodeValue(t,o[e],e))}}))}}else{const e=[];if(Array.isArray(o)){o.filter(isDefined).forEach((function(r){e.push(encodeValue(t,r))}))}else{Object.keys(o).forEach((function(r){if(isDefined(o[r])){e.push(encodeUnreserved(r));e.push(encodeValue(t,o[r].toString()))}}))}if(isKeyOperator(t)){n.push(encodeUnreserved(r)+"="+e.join(","))}else if(e.length!==0){n.push(e.join(","))}}}}else{if(t===";"){if(isDefined(o)){n.push(encodeUnreserved(r))}}else if(o===""&&(t==="&"||t==="?")){n.push(encodeUnreserved(r)+"=")}else if(o===""){n.push("")}}return n}function parseUrl(e){return{expand:expand.bind(null,e)}}function expand(e,t){var r=["+","#",".","/",";","?","&"];e=e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,(function(e,s,o){if(s){let e="";const o=[];if(r.indexOf(s.charAt(0))!==-1){e=s.charAt(0);s=s.substr(1)}s.split(/,/g).forEach((function(r){var s=/([^:\*]*)(?::(\d+)|(\*))?/.exec(r);o.push(getValues(t,e,s[1],s[2]||s[3]))}));if(e&&e!=="+"){var n=",";if(e==="?"){n="&"}else if(e!=="#"){n=e}return(o.length!==0?e:"")+o.join(n)}else{return o.join(",")}}else{return encodeReserved(o)}}));if(e==="/"){return e}else{return e.replace(/\/$/,"")}}function parse(e){let t=e.method.toUpperCase();let r=(e.url||"/").replace(/:([a-z]\w+)/g,"{$1}");let s=Object.assign({},e.headers);let o;let n=omit(e,["method","baseUrl","url","headers","request","mediaType"]);const A=extractUrlVariableNames(r);r=parseUrl(r).expand(n);if(!/^http/.test(r)){r=e.baseUrl+r}const i=Object.keys(e).filter((e=>A.includes(e))).concat("baseUrl");const a=omit(n,i);const c=/application\/octet-stream/i.test(s.accept);if(!c){if(e.mediaType.format){s.accept=s.accept.split(/,/).map((t=>t.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${e.mediaType.format}`))).join(",")}if(r.endsWith("/graphql")){if(e.mediaType.previews?.length){const t=s.accept.match(/[\w-]+(?=-preview)/g)||[];s.accept=t.concat(e.mediaType.previews).map((t=>{const r=e.mediaType.format?`.${e.mediaType.format}`:"+json";return`application/vnd.github.${t}-preview${r}`})).join(",")}}}if(["GET","HEAD"].includes(t)){r=addQueryParameters(r,a)}else{if("data"in a){o=a.data}else{if(Object.keys(a).length){o=a}}}if(!s["content-type"]&&typeof o!=="undefined"){s["content-type"]="application/json; charset=utf-8"}if(["PATCH","PUT"].includes(t)&&typeof o==="undefined"){o=""}return Object.assign({method:t,url:r,headers:s},typeof o!=="undefined"?{body:o}:null,e.request?{request:e.request}:null)}function endpointWithDefaults(e,t,r){return parse(merge(e,t,r))}function withDefaults(e,t){const r=merge(e,t);const s=endpointWithDefaults.bind(null,r);return Object.assign(s,{DEFAULTS:r,defaults:withDefaults.bind(null,r),merge:merge.bind(null,r),parse:parse})}var p=withDefaults(null,u);0&&0},862:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});function getUserAgent(){if(typeof navigator==="object"&&"userAgent"in navigator){return navigator.userAgent}if(typeof process==="object"&&process.version!==undefined){return`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`}return"<environment undetectable>"}t.getUserAgent=getUserAgent},7:(e,t,r)=>{var s=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var A=Object.prototype.hasOwnProperty;var __export=(e,t)=>{for(var r in t)s(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,i)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let a of n(t))if(!A.call(e,a)&&a!==r)s(e,a,{get:()=>t[a],enumerable:!(i=o(t,a))||i.enumerable})}return e};var __toCommonJS=e=>__copyProps(s({},"__esModule",{value:true}),e);var i={};__export(i,{GraphqlResponseError:()=>p,graphql:()=>I,withCustomRequest:()=>withCustomRequest});e.exports=__toCommonJS(i);var a=r(2804);var c=r(4768);var l="7.1.0";var u=r(2804);var g=r(2804);function _buildMessageForResponseErrors(e){return`Request failed due to following response errors:\n`+e.errors.map((e=>` - ${e.message}`)).join("\n")}var p=class extends Error{constructor(e,t,r){super(_buildMessageForResponseErrors(r));this.request=e;this.headers=t;this.response=r;this.name="GraphqlResponseError";this.errors=r.errors;this.data=r.data;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}};var d=["method","baseUrl","url","headers","request","query","mediaType"];var E=["query","method","url"];var h=/\/api\/v3\/?$/;function graphql(e,t,r){if(r){if(typeof t==="string"&&"query"in r){return Promise.reject(new Error(`[@octokit/graphql] "query" cannot be used as variable name`))}for(const e in r){if(!E.includes(e))continue;return Promise.reject(new Error(`[@octokit/graphql] "${e}" cannot be used as variable name`))}}const s=typeof t==="string"?Object.assign({query:t},r):t;const o=Object.keys(s).reduce(((e,t)=>{if(d.includes(t)){e[t]=s[t];return e}if(!e.variables){e.variables={}}e.variables[t]=s[t];return e}),{});const n=s.baseUrl||e.endpoint.DEFAULTS.baseUrl;if(h.test(n)){o.url=n.replace(h,"/api/graphql")}return e(o).then((e=>{if(e.data.errors){const t={};for(const r of Object.keys(e.headers)){t[r]=e.headers[r]}throw new p(o,t,e.data)}return e.data.data}))}function withDefaults(e,t){const r=e.defaults(t);const newApi=(e,t)=>graphql(r,e,t);return Object.assign(newApi,{defaults:withDefaults.bind(null,r),endpoint:r.endpoint})}var I=withDefaults(a.request,{headers:{"user-agent":`octokit-graphql.js/${l} ${(0,c.getUserAgent)()}`},method:"POST",url:"/graphql"});function withCustomRequest(e){return withDefaults(e,{method:"POST",url:"/graphql"})}0&&0},2804:(e,t,r)=>{var s=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var A=Object.prototype.hasOwnProperty;var __export=(e,t)=>{for(var r in t)s(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,i)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let a of n(t))if(!A.call(e,a)&&a!==r)s(e,a,{get:()=>t[a],enumerable:!(i=o(t,a))||i.enumerable})}return e};var __toCommonJS=e=>__copyProps(s({},"__esModule",{value:true}),e);var i={};__export(i,{request:()=>g});e.exports=__toCommonJS(i);var a=r(443);var c=r(4768);var l="8.4.0";function isPlainObject(e){if(typeof e!=="object"||e===null)return false;if(Object.prototype.toString.call(e)!=="[object Object]")return false;const t=Object.getPrototypeOf(e);if(t===null)return true;const r=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof r==="function"&&r instanceof r&&Function.prototype.call(r)===Function.prototype.call(e)}var u=r(6592);function getBufferResponse(e){return e.arrayBuffer()}function fetchWrapper(e){var t,r,s,o;const n=e.request&&e.request.log?e.request.log:console;const A=((t=e.request)==null?void 0:t.parseSuccessResponseBody)!==false;if(isPlainObject(e.body)||Array.isArray(e.body)){e.body=JSON.stringify(e.body)}let i={};let a;let c;let{fetch:l}=globalThis;if((r=e.request)==null?void 0:r.fetch){l=e.request.fetch}if(!l){throw new Error("fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing")}return l(e.url,{method:e.method,body:e.body,redirect:(s=e.request)==null?void 0:s.redirect,headers:e.headers,signal:(o=e.request)==null?void 0:o.signal,...e.body&&{duplex:"half"}}).then((async t=>{c=t.url;a=t.status;for(const e of t.headers){i[e[0]]=e[1]}if("deprecation"in i){const t=i.link&&i.link.match(/<([^>]+)>; rel="deprecation"/);const r=t&&t.pop();n.warn(`[@octokit/request] "${e.method} ${e.url}" is deprecated. It is scheduled to be removed on ${i.sunset}${r?`. See ${r}`:""}`)}if(a===204||a===205){return}if(e.method==="HEAD"){if(a<400){return}throw new u.RequestError(t.statusText,a,{response:{url:c,status:a,headers:i,data:void 0},request:e})}if(a===304){throw new u.RequestError("Not modified",a,{response:{url:c,status:a,headers:i,data:await getResponseData(t)},request:e})}if(a>=400){const r=await getResponseData(t);const s=new u.RequestError(toErrorMessage(r),a,{response:{url:c,status:a,headers:i,data:r},request:e});throw s}return A?await getResponseData(t):t.body})).then((e=>({status:a,url:c,headers:i,data:e}))).catch((t=>{if(t instanceof u.RequestError)throw t;else if(t.name==="AbortError")throw t;let r=t.message;if(t.name==="TypeError"&&"cause"in t){if(t.cause instanceof Error){r=t.cause.message}else if(typeof t.cause==="string"){r=t.cause}}throw new u.RequestError(r,500,{request:e})}))}async function getResponseData(e){const t=e.headers.get("content-type");if(/application\/json/.test(t)){return e.json().catch((()=>e.text())).catch((()=>""))}if(!t||/^text\/|charset=utf-8$/.test(t)){return e.text()}return getBufferResponse(e)}function toErrorMessage(e){if(typeof e==="string")return e;let t;if("documentation_url"in e){t=` - ${e.documentation_url}`}else{t=""}if("message"in e){if(Array.isArray(e.errors)){return`${e.message}: ${e.errors.map(JSON.stringify).join(", ")}${t}`}return`${e.message}${t}`}return`Unknown error: ${JSON.stringify(e)}`}function withDefaults(e,t){const r=e.defaults(t);const newApi=function(e,t){const s=r.merge(e,t);if(!s.request||!s.request.hook){return fetchWrapper(r.parse(s))}const request2=(e,t)=>fetchWrapper(r.parse(r.merge(e,t)));Object.assign(request2,{endpoint:r,defaults:withDefaults.bind(null,r)});return s.request.hook(request2,s)};return Object.assign(newApi,{endpoint:r,defaults:withDefaults.bind(null,r)})}var g=withDefaults(a.endpoint,{headers:{"user-agent":`octokit-request.js/${l} ${(0,c.getUserAgent)()}`}});0&&0},443:(e,t,r)=>{var s=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var A=Object.prototype.hasOwnProperty;var __export=(e,t)=>{for(var r in t)s(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,i)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let a of n(t))if(!A.call(e,a)&&a!==r)s(e,a,{get:()=>t[a],enumerable:!(i=o(t,a))||i.enumerable})}return e};var __toCommonJS=e=>__copyProps(s({},"__esModule",{value:true}),e);var i={};__export(i,{endpoint:()=>p});e.exports=__toCommonJS(i);var a=r(4768);var c="9.0.5";var l=`octokit-endpoint.js/${c} ${(0,a.getUserAgent)()}`;var u={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":l},mediaType:{format:""}};function lowercaseKeys(e){if(!e){return{}}return Object.keys(e).reduce(((t,r)=>{t[r.toLowerCase()]=e[r];return t}),{})}function isPlainObject(e){if(typeof e!=="object"||e===null)return false;if(Object.prototype.toString.call(e)!=="[object Object]")return false;const t=Object.getPrototypeOf(e);if(t===null)return true;const r=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof r==="function"&&r instanceof r&&Function.prototype.call(r)===Function.prototype.call(e)}function mergeDeep(e,t){const r=Object.assign({},e);Object.keys(t).forEach((s=>{if(isPlainObject(t[s])){if(!(s in e))Object.assign(r,{[s]:t[s]});else r[s]=mergeDeep(e[s],t[s])}else{Object.assign(r,{[s]:t[s]})}}));return r}function removeUndefinedProperties(e){for(const t in e){if(e[t]===void 0){delete e[t]}}return e}function merge(e,t,r){if(typeof t==="string"){let[e,s]=t.split(" ");r=Object.assign(s?{method:e,url:s}:{url:e},r)}else{r=Object.assign({},t)}r.headers=lowercaseKeys(r.headers);removeUndefinedProperties(r);removeUndefinedProperties(r.headers);const s=mergeDeep(e||{},r);if(r.url==="/graphql"){if(e&&e.mediaType.previews?.length){s.mediaType.previews=e.mediaType.previews.filter((e=>!s.mediaType.previews.includes(e))).concat(s.mediaType.previews)}s.mediaType.previews=(s.mediaType.previews||[]).map((e=>e.replace(/-preview/,"")))}return s}function addQueryParameters(e,t){const r=/\?/.test(e)?"&":"?";const s=Object.keys(t);if(s.length===0){return e}return e+r+s.map((e=>{if(e==="q"){return"q="+t.q.split("+").map(encodeURIComponent).join("+")}return`${e}=${encodeURIComponent(t[e])}`})).join("&")}var g=/\{[^}]+\}/g;function removeNonChars(e){return e.replace(/^\W+|\W+$/g,"").split(/,/)}function extractUrlVariableNames(e){const t=e.match(g);if(!t){return[]}return t.map(removeNonChars).reduce(((e,t)=>e.concat(t)),[])}function omit(e,t){const r={__proto__:null};for(const s of Object.keys(e)){if(t.indexOf(s)===-1){r[s]=e[s]}}return r}function encodeReserved(e){return e.split(/(%[0-9A-Fa-f]{2})/g).map((function(e){if(!/%[0-9A-Fa-f]/.test(e)){e=encodeURI(e).replace(/%5B/g,"[").replace(/%5D/g,"]")}return e})).join("")}function encodeUnreserved(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function encodeValue(e,t,r){t=e==="+"||e==="#"?encodeReserved(t):encodeUnreserved(t);if(r){return encodeUnreserved(r)+"="+t}else{return t}}function isDefined(e){return e!==void 0&&e!==null}function isKeyOperator(e){return e===";"||e==="&"||e==="?"}function getValues(e,t,r,s){var o=e[r],n=[];if(isDefined(o)&&o!==""){if(typeof o==="string"||typeof o==="number"||typeof o==="boolean"){o=o.toString();if(s&&s!=="*"){o=o.substring(0,parseInt(s,10))}n.push(encodeValue(t,o,isKeyOperator(t)?r:""))}else{if(s==="*"){if(Array.isArray(o)){o.filter(isDefined).forEach((function(e){n.push(encodeValue(t,e,isKeyOperator(t)?r:""))}))}else{Object.keys(o).forEach((function(e){if(isDefined(o[e])){n.push(encodeValue(t,o[e],e))}}))}}else{const e=[];if(Array.isArray(o)){o.filter(isDefined).forEach((function(r){e.push(encodeValue(t,r))}))}else{Object.keys(o).forEach((function(r){if(isDefined(o[r])){e.push(encodeUnreserved(r));e.push(encodeValue(t,o[r].toString()))}}))}if(isKeyOperator(t)){n.push(encodeUnreserved(r)+"="+e.join(","))}else if(e.length!==0){n.push(e.join(","))}}}}else{if(t===";"){if(isDefined(o)){n.push(encodeUnreserved(r))}}else if(o===""&&(t==="&"||t==="?")){n.push(encodeUnreserved(r)+"=")}else if(o===""){n.push("")}}return n}function parseUrl(e){return{expand:expand.bind(null,e)}}function expand(e,t){var r=["+","#",".","/",";","?","&"];e=e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,(function(e,s,o){if(s){let e="";const o=[];if(r.indexOf(s.charAt(0))!==-1){e=s.charAt(0);s=s.substr(1)}s.split(/,/g).forEach((function(r){var s=/([^:\*]*)(?::(\d+)|(\*))?/.exec(r);o.push(getValues(t,e,s[1],s[2]||s[3]))}));if(e&&e!=="+"){var n=",";if(e==="?"){n="&"}else if(e!=="#"){n=e}return(o.length!==0?e:"")+o.join(n)}else{return o.join(",")}}else{return encodeReserved(o)}}));if(e==="/"){return e}else{return e.replace(/\/$/,"")}}function parse(e){let t=e.method.toUpperCase();let r=(e.url||"/").replace(/:([a-z]\w+)/g,"{$1}");let s=Object.assign({},e.headers);let o;let n=omit(e,["method","baseUrl","url","headers","request","mediaType"]);const A=extractUrlVariableNames(r);r=parseUrl(r).expand(n);if(!/^http/.test(r)){r=e.baseUrl+r}const i=Object.keys(e).filter((e=>A.includes(e))).concat("baseUrl");const a=omit(n,i);const c=/application\/octet-stream/i.test(s.accept);if(!c){if(e.mediaType.format){s.accept=s.accept.split(/,/).map((t=>t.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${e.mediaType.format}`))).join(",")}if(r.endsWith("/graphql")){if(e.mediaType.previews?.length){const t=s.accept.match(/[\w-]+(?=-preview)/g)||[];s.accept=t.concat(e.mediaType.previews).map((t=>{const r=e.mediaType.format?`.${e.mediaType.format}`:"+json";return`application/vnd.github.${t}-preview${r}`})).join(",")}}}if(["GET","HEAD"].includes(t)){r=addQueryParameters(r,a)}else{if("data"in a){o=a.data}else{if(Object.keys(a).length){o=a}}}if(!s["content-type"]&&typeof o!=="undefined"){s["content-type"]="application/json; charset=utf-8"}if(["PATCH","PUT"].includes(t)&&typeof o==="undefined"){o=""}return Object.assign({method:t,url:r,headers:s},typeof o!=="undefined"?{body:o}:null,e.request?{request:e.request}:null)}function endpointWithDefaults(e,t,r){return parse(merge(e,t,r))}function withDefaults(e,t){const r=merge(e,t);const s=endpointWithDefaults.bind(null,r);return Object.assign(s,{DEFAULTS:r,defaults:withDefaults.bind(null,r),merge:merge.bind(null,r),parse:parse})}var p=withDefaults(null,u);0&&0},6592:(e,t,r)=>{var s=Object.create;var o=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var A=Object.getOwnPropertyNames;var i=Object.getPrototypeOf;var a=Object.prototype.hasOwnProperty;var __export=(e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,s)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let i of A(t))if(!a.call(e,i)&&i!==r)o(e,i,{get:()=>t[i],enumerable:!(s=n(t,i))||s.enumerable})}return e};var __toESM=(e,t,r)=>(r=e!=null?s(i(e)):{},__copyProps(t||!e||!e.__esModule?o(r,"default",{value:e,enumerable:true}):r,e));var __toCommonJS=e=>__copyProps(o({},"__esModule",{value:true}),e);var c={};__export(c,{RequestError:()=>d});e.exports=__toCommonJS(c);var l=r(4150);var u=__toESM(r(5560));var g=(0,u.default)((e=>console.warn(e)));var p=(0,u.default)((e=>console.warn(e)));var d=class extends Error{constructor(e,t,r){super(e);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="HttpError";this.status=t;let s;if("headers"in r&&typeof r.headers!=="undefined"){s=r.headers}if("response"in r){this.response=r.response;s=r.response.headers}const o=Object.assign({},r.request);if(r.request.headers.authorization){o.headers=Object.assign({},r.request.headers,{authorization:r.request.headers.authorization.replace(/ .*$/," [REDACTED]")})}o.url=o.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=o;Object.defineProperty(this,"code",{get(){g(new l.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`."));return t}});Object.defineProperty(this,"headers",{get(){p(new l.Deprecation("[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`."));return s||{}}})}};0&&0},4768:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});function getUserAgent(){if(typeof navigator==="object"&&"userAgent"in navigator){return navigator.userAgent}if(typeof process==="object"&&process.version!==undefined){return`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`}return"<environment undetectable>"}t.getUserAgent=getUserAgent},2732:(e,t,r)=>{var s=r(1063);var o=r(2027);var n=r(9934);var A=Function.bind;var i=A.bind(A);function bindApi(e,t,r){var s=i(n,null).apply(null,r?[t,r]:[t]);e.api={remove:s};e.remove=s;["before","error","after","wrap"].forEach((function(s){var n=r?[t,s,r]:[t,s];e[s]=e.api[s]=i(o,null).apply(null,n)}))}function HookSingular(){var e="h";var t={registry:{}};var r=s.bind(null,t,e);bindApi(r,t,e);return r}function HookCollection(){var e={registry:{}};var t=s.bind(null,e);bindApi(t,e);return t}var a=false;function Hook(){if(!a){console.warn('[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4');a=true}return HookCollection()}Hook.Singular=HookSingular.bind();Hook.Collection=HookCollection.bind();e.exports=Hook;e.exports.Hook=Hook;e.exports.Singular=Hook.Singular;e.exports.Collection=Hook.Collection},2027:e=>{e.exports=addHook;function addHook(e,t,r,s){var o=s;if(!e.registry[r]){e.registry[r]=[]}if(t==="before"){s=function(e,t){return Promise.resolve().then(o.bind(null,t)).then(e.bind(null,t))}}if(t==="after"){s=function(e,t){var r;return Promise.resolve().then(e.bind(null,t)).then((function(e){r=e;return o(r,t)})).then((function(){return r}))}}if(t==="error"){s=function(e,t){return Promise.resolve().then(e.bind(null,t)).catch((function(e){return o(e,t)}))}}e.registry[r].push({hook:s,orig:o})}},1063:e=>{e.exports=register;function register(e,t,r,s){if(typeof r!=="function"){throw new Error("method for before hook must be a function")}if(!s){s={}}if(Array.isArray(t)){return t.reverse().reduce((function(t,r){return register.bind(null,e,r,t,s)}),r)()}return Promise.resolve().then((function(){if(!e.registry[t]){return r(s)}return e.registry[t].reduce((function(e,t){return t.hook.bind(null,e,s)}),r)()}))}},9934:e=>{e.exports=removeHook;function removeHook(e,t,r){if(!e.registry[t]){return}var s=e.registry[t].map((function(e){return e.orig})).indexOf(r);if(s===-1){return}e.registry[t].splice(s,1)}},3251:function(e){(function(t,r){true?e.exports=r():0})(this,(function(){"use strict";var e=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};function getCjsExportFromNamespace(e){return e&&e["default"]||e}var load=function(e,t,r={}){var s,o,n;for(s in t){n=t[s];r[s]=(o=e[s])!=null?o:n}return r};var overwrite=function(e,t,r={}){var s,o;for(s in e){o=e[s];if(t[s]!==void 0){r[s]=o}}return r};var t={load:load,overwrite:overwrite};var r;r=class DLList{constructor(e,t){this.incr=e;this.decr=t;this._first=null;this._last=null;this.length=0}push(e){var t;this.length++;if(typeof this.incr==="function"){this.incr()}t={value:e,prev:this._last,next:null};if(this._last!=null){this._last.next=t;this._last=t}else{this._first=this._last=t}return void 0}shift(){var e;if(this._first==null){return}else{this.length--;if(typeof this.decr==="function"){this.decr()}}e=this._first.value;if((this._first=this._first.next)!=null){this._first.prev=null}else{this._last=null}return e}first(){if(this._first!=null){return this._first.value}}getArray(){var e,t,r;e=this._first;r=[];while(e!=null){r.push((t=e,e=e.next,t.value))}return r}forEachShift(e){var t;t=this.shift();while(t!=null){e(t),t=this.shift()}return void 0}debug(){var e,t,r,s,o;e=this._first;o=[];while(e!=null){o.push((t=e,e=e.next,{value:t.value,prev:(r=t.prev)!=null?r.value:void 0,next:(s=t.next)!=null?s.value:void 0}))}return o}};var s=r;var o;o=class Events{constructor(e){this.instance=e;this._events={};if(this.instance.on!=null||this.instance.once!=null||this.instance.removeAllListeners!=null){throw new Error("An Emitter already exists for this object")}this.instance.on=(e,t)=>this._addListener(e,"many",t);this.instance.once=(e,t)=>this._addListener(e,"once",t);this.instance.removeAllListeners=(e=null)=>{if(e!=null){return delete this._events[e]}else{return this._events={}}}}_addListener(e,t,r){var s;if((s=this._events)[e]==null){s[e]=[]}this._events[e].push({cb:r,status:t});return this.instance}listenerCount(e){if(this._events[e]!=null){return this._events[e].length}else{return 0}}async trigger(e,...t){var r,s;try{if(e!=="debug"){this.trigger("debug",`Event triggered: ${e}`,t)}if(this._events[e]==null){return}this._events[e]=this._events[e].filter((function(e){return e.status!=="none"}));s=this._events[e].map((async e=>{var r,s;if(e.status==="none"){return}if(e.status==="once"){e.status="none"}try{s=typeof e.cb==="function"?e.cb(...t):void 0;if(typeof(s!=null?s.then:void 0)==="function"){return await s}else{return s}}catch(e){r=e;{this.trigger("error",r)}return null}}));return(await Promise.all(s)).find((function(e){return e!=null}))}catch(e){r=e;{this.trigger("error",r)}return null}}};var n=o;var A,i,a;A=s;i=n;a=class Queues{constructor(e){var t;this.Events=new i(this);this._length=0;this._lists=function(){var r,s,o;o=[];for(t=r=1,s=e;1<=s?r<=s:r>=s;t=1<=s?++r:--r){o.push(new A((()=>this.incr()),(()=>this.decr())))}return o}.call(this)}incr(){if(this._length++===0){return this.Events.trigger("leftzero")}}decr(){if(--this._length===0){return this.Events.trigger("zero")}}push(e){return this._lists[e.options.priority].push(e)}queued(e){if(e!=null){return this._lists[e].length}else{return this._length}}shiftAll(e){return this._lists.forEach((function(t){return t.forEachShift(e)}))}getFirst(e=this._lists){var t,r,s;for(t=0,r=e.length;t<r;t++){s=e[t];if(s.length>0){return s}}return[]}shiftLastFrom(e){return this.getFirst(this._lists.slice(e).reverse()).shift()}};var c=a;var l;l=class BottleneckError extends Error{};var u=l;var g,p,d,E,h;E=10;p=5;h=t;g=u;d=class Job{constructor(e,t,r,s,o,n,A,i){this.task=e;this.args=t;this.rejectOnDrop=o;this.Events=n;this._states=A;this.Promise=i;this.options=h.load(r,s);this.options.priority=this._sanitizePriority(this.options.priority);if(this.options.id===s.id){this.options.id=`${this.options.id}-${this._randomIndex()}`}this.promise=new this.Promise(((e,t)=>{this._resolve=e;this._reject=t}));this.retryCount=0}_sanitizePriority(e){var t;t=~~e!==e?p:e;if(t<0){return 0}else if(t>E-1){return E-1}else{return t}}_randomIndex(){return Math.random().toString(36).slice(2)}doDrop({error:e,message:t="This job has been dropped by Bottleneck"}={}){if(this._states.remove(this.options.id)){if(this.rejectOnDrop){this._reject(e!=null?e:new g(t))}this.Events.trigger("dropped",{args:this.args,options:this.options,task:this.task,promise:this.promise});return true}else{return false}}_assertStatus(e){var t;t=this._states.jobStatus(this.options.id);if(!(t===e||e==="DONE"&&t===null)){throw new g(`Invalid job status ${t}, expected ${e}. Please open an issue at https://github.com/SGrondin/bottleneck/issues`)}}doReceive(){this._states.start(this.options.id);return this.Events.trigger("received",{args:this.args,options:this.options})}doQueue(e,t){this._assertStatus("RECEIVED");this._states.next(this.options.id);return this.Events.trigger("queued",{args:this.args,options:this.options,reachedHWM:e,blocked:t})}doRun(){if(this.retryCount===0){this._assertStatus("QUEUED");this._states.next(this.options.id)}else{this._assertStatus("EXECUTING")}return this.Events.trigger("scheduled",{args:this.args,options:this.options})}async doExecute(e,t,r,s){var o,n,A;if(this.retryCount===0){this._assertStatus("RUNNING");this._states.next(this.options.id)}else{this._assertStatus("EXECUTING")}n={args:this.args,options:this.options,retryCount:this.retryCount};this.Events.trigger("executing",n);try{A=await(e!=null?e.schedule(this.options,this.task,...this.args):this.task(...this.args));if(t()){this.doDone(n);await s(this.options,n);this._assertStatus("DONE");return this._resolve(A)}}catch(e){o=e;return this._onFailure(o,n,t,r,s)}}doExpire(e,t,r){var s,o;if(this._states.jobStatus(this.options.id==="RUNNING")){this._states.next(this.options.id)}this._assertStatus("EXECUTING");o={args:this.args,options:this.options,retryCount:this.retryCount};s=new g(`This job timed out after ${this.options.expiration} ms.`);return this._onFailure(s,o,e,t,r)}async _onFailure(e,t,r,s,o){var n,A;if(r()){n=await this.Events.trigger("failed",e,t);if(n!=null){A=~~n;this.Events.trigger("retry",`Retrying ${this.options.id} after ${A} ms`,t);this.retryCount++;return s(A)}else{this.doDone(t);await o(this.options,t);this._assertStatus("DONE");return this._reject(e)}}}doDone(e){this._assertStatus("EXECUTING");this._states.next(this.options.id);return this.Events.trigger("done",e)}};var I=d;var m,C,Q;Q=t;m=u;C=class LocalDatastore{constructor(e,t,r){this.instance=e;this.storeOptions=t;this.clientId=this.instance._randomIndex();Q.load(r,r,this);this._nextRequest=this._lastReservoirRefresh=this._lastReservoirIncrease=Date.now();this._running=0;this._done=0;this._unblockTime=0;this.ready=this.Promise.resolve();this.clients={};this._startHeartbeat()}_startHeartbeat(){var e;if(this.heartbeat==null&&(this.storeOptions.reservoirRefreshInterval!=null&&this.storeOptions.reservoirRefreshAmount!=null||this.storeOptions.reservoirIncreaseInterval!=null&&this.storeOptions.reservoirIncreaseAmount!=null)){return typeof(e=this.heartbeat=setInterval((()=>{var e,t,r,s,o;s=Date.now();if(this.storeOptions.reservoirRefreshInterval!=null&&s>=this._lastReservoirRefresh+this.storeOptions.reservoirRefreshInterval){this._lastReservoirRefresh=s;this.storeOptions.reservoir=this.storeOptions.reservoirRefreshAmount;this.instance._drainAll(this.computeCapacity())}if(this.storeOptions.reservoirIncreaseInterval!=null&&s>=this._lastReservoirIncrease+this.storeOptions.reservoirIncreaseInterval){({reservoirIncreaseAmount:e,reservoirIncreaseMaximum:r,reservoir:o}=this.storeOptions);this._lastReservoirIncrease=s;t=r!=null?Math.min(e,r-o):e;if(t>0){this.storeOptions.reservoir+=t;return this.instance._drainAll(this.computeCapacity())}}}),this.heartbeatInterval)).unref==="function"?e.unref():void 0}else{return clearInterval(this.heartbeat)}}async __publish__(e){await this.yieldLoop();return this.instance.Events.trigger("message",e.toString())}async __disconnect__(e){await this.yieldLoop();clearInterval(this.heartbeat);return this.Promise.resolve()}yieldLoop(e=0){return new this.Promise((function(t,r){return setTimeout(t,e)}))}computePenalty(){var e;return(e=this.storeOptions.penalty)!=null?e:15*this.storeOptions.minTime||5e3}async __updateSettings__(e){await this.yieldLoop();Q.overwrite(e,e,this.storeOptions);this._startHeartbeat();this.instance._drainAll(this.computeCapacity());return true}async __running__(){await this.yieldLoop();return this._running}async __queued__(){await this.yieldLoop();return this.instance.queued()}async __done__(){await this.yieldLoop();return this._done}async __groupCheck__(e){await this.yieldLoop();return this._nextRequest+this.timeout<e}computeCapacity(){var e,t;({maxConcurrent:e,reservoir:t}=this.storeOptions);if(e!=null&&t!=null){return Math.min(e-this._running,t)}else if(e!=null){return e-this._running}else if(t!=null){return t}else{return null}}conditionsCheck(e){var t;t=this.computeCapacity();return t==null||e<=t}async __incrementReservoir__(e){var t;await this.yieldLoop();t=this.storeOptions.reservoir+=e;this.instance._drainAll(this.computeCapacity());return t}async __currentReservoir__(){await this.yieldLoop();return this.storeOptions.reservoir}isBlocked(e){return this._unblockTime>=e}check(e,t){return this.conditionsCheck(e)&&this._nextRequest-t<=0}async __check__(e){var t;await this.yieldLoop();t=Date.now();return this.check(e,t)}async __register__(e,t,r){var s,o;await this.yieldLoop();s=Date.now();if(this.conditionsCheck(t)){this._running+=t;if(this.storeOptions.reservoir!=null){this.storeOptions.reservoir-=t}o=Math.max(this._nextRequest-s,0);this._nextRequest=s+o+this.storeOptions.minTime;return{success:true,wait:o,reservoir:this.storeOptions.reservoir}}else{return{success:false}}}strategyIsBlock(){return this.storeOptions.strategy===3}async __submit__(e,t){var r,s,o;await this.yieldLoop();if(this.storeOptions.maxConcurrent!=null&&t>this.storeOptions.maxConcurrent){throw new m(`Impossible to add a job having a weight of ${t} to a limiter having a maxConcurrent setting of ${this.storeOptions.maxConcurrent}`)}s=Date.now();o=this.storeOptions.highWater!=null&&e===this.storeOptions.highWater&&!this.check(t,s);r=this.strategyIsBlock()&&(o||this.isBlocked(s));if(r){this._unblockTime=s+this.computePenalty();this._nextRequest=this._unblockTime+this.storeOptions.minTime;this.instance._dropAllQueued()}return{reachedHWM:o,blocked:r,strategy:this.storeOptions.strategy}}async __free__(e,t){await this.yieldLoop();this._running-=t;this._done+=t;this.instance._drainAll(this.computeCapacity());return{running:this._running}}};var B=C;var y,w;y=u;w=class States{constructor(e){this.status=e;this._jobs={};this.counts=this.status.map((function(){return 0}))}next(e){var t,r;t=this._jobs[e];r=t+1;if(t!=null&&r<this.status.length){this.counts[t]--;this.counts[r]++;return this._jobs[e]++}else if(t!=null){this.counts[t]--;return delete this._jobs[e]}}start(e){var t;t=0;this._jobs[e]=t;return this.counts[t]++}remove(e){var t;t=this._jobs[e];if(t!=null){this.counts[t]--;delete this._jobs[e]}return t!=null}jobStatus(e){var t;return(t=this.status[this._jobs[e]])!=null?t:null}statusJobs(e){var t,r,s,o,n;if(e!=null){r=this.status.indexOf(e);if(r<0){throw new y(`status must be one of ${this.status.join(", ")}`)}s=this._jobs;o=[];for(t in s){n=s[t];if(n===r){o.push(t)}}return o}else{return Object.keys(this._jobs)}}statusCounts(){return this.counts.reduce(((e,t,r)=>{e[this.status[r]]=t;return e}),{})}};var b=w;var R,T;R=s;T=class Sync{constructor(e,t){this.schedule=this.schedule.bind(this);this.name=e;this.Promise=t;this._running=0;this._queue=new R}isEmpty(){return this._queue.length===0}async _tryToRun(){var e,t,r,s,o,n,A;if(this._running<1&&this._queue.length>0){this._running++;({task:A,args:e,resolve:o,reject:s}=this._queue.shift());t=await async function(){try{n=await A(...e);return function(){return o(n)}}catch(e){r=e;return function(){return s(r)}}}();this._running--;this._tryToRun();return t()}}schedule(e,...t){var r,s,o;o=s=null;r=new this.Promise((function(e,t){o=e;return s=t}));this._queue.push({task:e,args:t,resolve:o,reject:s});this._tryToRun();return r}};var k=T;var D="2.19.5";var _={version:D};var F=Object.freeze({version:D,default:_});var require$$2=()=>console.log("You must import the full version of Bottleneck in order to use this feature.");var require$$3=()=>console.log("You must import the full version of Bottleneck in order to use this feature.");var require$$4=()=>console.log("You must import the full version of Bottleneck in order to use this feature.");var S,v,U,N,O,G;G=t;S=n;N=require$$2;U=require$$3;O=require$$4;v=function(){class Group{constructor(e={}){this.deleteKey=this.deleteKey.bind(this);this.limiterOptions=e;G.load(this.limiterOptions,this.defaults,this);this.Events=new S(this);this.instances={};this.Bottleneck=re;this._startAutoCleanup();this.sharedConnection=this.connection!=null;if(this.connection==null){if(this.limiterOptions.datastore==="redis"){this.connection=new N(Object.assign({},this.limiterOptions,{Events:this.Events}))}else if(this.limiterOptions.datastore==="ioredis"){this.connection=new U(Object.assign({},this.limiterOptions,{Events:this.Events}))}}}key(e=""){var t;return(t=this.instances[e])!=null?t:(()=>{var t;t=this.instances[e]=new this.Bottleneck(Object.assign(this.limiterOptions,{id:`${this.id}-${e}`,timeout:this.timeout,connection:this.connection}));this.Events.trigger("created",t,e);return t})()}async deleteKey(e=""){var t,r;r=this.instances[e];if(this.connection){t=await this.connection.__runCommand__(["del",...O.allKeys(`${this.id}-${e}`)])}if(r!=null){delete this.instances[e];await r.disconnect()}return r!=null||t>0}limiters(){var e,t,r,s;t=this.instances;r=[];for(e in t){s=t[e];r.push({key:e,limiter:s})}return r}keys(){return Object.keys(this.instances)}async clusterKeys(){var e,t,r,s,o,n,A,i,a;if(this.connection==null){return this.Promise.resolve(this.keys())}n=[];e=null;a=`b_${this.id}-`.length;t="_settings".length;while(e!==0){[i,r]=await this.connection.__runCommand__(["scan",e!=null?e:0,"match",`b_${this.id}-*_settings`,"count",1e4]);e=~~i;for(s=0,A=r.length;s<A;s++){o=r[s];n.push(o.slice(a,-t))}}return n}_startAutoCleanup(){var e;clearInterval(this.interval);return typeof(e=this.interval=setInterval((async()=>{var e,t,r,s,o,n;o=Date.now();r=this.instances;s=[];for(t in r){n=r[t];try{if(await n._store.__groupCheck__(o)){s.push(this.deleteKey(t))}else{s.push(void 0)}}catch(t){e=t;s.push(n.Events.trigger("error",e))}}return s}),this.timeout/2)).unref==="function"?e.unref():void 0}updateSettings(e={}){G.overwrite(e,this.defaults,this);G.overwrite(e,e,this.limiterOptions);if(e.timeout!=null){return this._startAutoCleanup()}}disconnect(e=true){var t;if(!this.sharedConnection){return(t=this.connection)!=null?t.disconnect(e):void 0}}}Group.prototype.defaults={timeout:1e3*60*5,connection:null,Promise:Promise,id:"group-key"};return Group}.call(e);var L=v;var P,M,x;x=t;M=n;P=function(){class Batcher{constructor(e={}){this.options=e;x.load(this.options,this.defaults,this);this.Events=new M(this);this._arr=[];this._resetPromise();this._lastFlush=Date.now()}_resetPromise(){return this._promise=new this.Promise(((e,t)=>this._resolve=e))}_flush(){clearTimeout(this._timeout);this._lastFlush=Date.now();this._resolve();this.Events.trigger("batch",this._arr);this._arr=[];return this._resetPromise()}add(e){var t;this._arr.push(e);t=this._promise;if(this._arr.length===this.maxSize){this._flush()}else if(this.maxTime!=null&&this._arr.length===1){this._timeout=setTimeout((()=>this._flush()),this.maxTime)}return t}}Batcher.prototype.defaults={maxTime:null,maxSize:null,Promise:Promise};return Batcher}.call(e);var H=P;var require$$4$1=()=>console.log("You must import the full version of Bottleneck in order to use this feature.");var V=getCjsExportFromNamespace(F);var Y,J,q,j,W,K,z,Z,X,$,ee,te=[].splice;K=10;J=5;ee=t;z=c;j=I;W=B;Z=require$$4$1;q=n;X=b;$=k;Y=function(){class Bottleneck{constructor(e={},...t){var r,s;this._addToQueue=this._addToQueue.bind(this);this._validateOptions(e,t);ee.load(e,this.instanceDefaults,this);this._queues=new z(K);this._scheduled={};this._states=new X(["RECEIVED","QUEUED","RUNNING","EXECUTING"].concat(this.trackDoneStatus?["DONE"]:[]));this._limiter=null;this.Events=new q(this);this._submitLock=new $("submit",this.Promise);this._registerLock=new $("register",this.Promise);s=ee.load(e,this.storeDefaults,{});this._store=function(){if(this.datastore==="redis"||this.datastore==="ioredis"||this.connection!=null){r=ee.load(e,this.redisStoreDefaults,{});return new Z(this,s,r)}else if(this.datastore==="local"){r=ee.load(e,this.localStoreDefaults,{});return new W(this,s,r)}else{throw new Bottleneck.prototype.BottleneckError(`Invalid datastore type: ${this.datastore}`)}}.call(this);this._queues.on("leftzero",(()=>{var e;return(e=this._store.heartbeat)!=null?typeof e.ref==="function"?e.ref():void 0:void 0}));this._queues.on("zero",(()=>{var e;return(e=this._store.heartbeat)!=null?typeof e.unref==="function"?e.unref():void 0:void 0}))}_validateOptions(e,t){if(!(e!=null&&typeof e==="object"&&t.length===0)){throw new Bottleneck.prototype.BottleneckError("Bottleneck v2 takes a single object argument. Refer to https://github.com/SGrondin/bottleneck#upgrading-to-v2 if you're upgrading from Bottleneck v1.")}}ready(){return this._store.ready}clients(){return this._store.clients}channel(){return`b_${this.id}`}channel_client(){return`b_${this.id}_${this._store.clientId}`}publish(e){return this._store.__publish__(e)}disconnect(e=true){return this._store.__disconnect__(e)}chain(e){this._limiter=e;return this}queued(e){return this._queues.queued(e)}clusterQueued(){return this._store.__queued__()}empty(){return this.queued()===0&&this._submitLock.isEmpty()}running(){return this._store.__running__()}done(){return this._store.__done__()}jobStatus(e){return this._states.jobStatus(e)}jobs(e){return this._states.statusJobs(e)}counts(){return this._states.statusCounts()}_randomIndex(){return Math.random().toString(36).slice(2)}check(e=1){return this._store.__check__(e)}_clearGlobalState(e){if(this._scheduled[e]!=null){clearTimeout(this._scheduled[e].expiration);delete this._scheduled[e];return true}else{return false}}async _free(e,t,r,s){var o,n;try{({running:n}=await this._store.__free__(e,r.weight));this.Events.trigger("debug",`Freed ${r.id}`,s);if(n===0&&this.empty()){return this.Events.trigger("idle")}}catch(e){o=e;return this.Events.trigger("error",o)}}_run(e,t,r){var s,o,n;t.doRun();s=this._clearGlobalState.bind(this,e);n=this._run.bind(this,e,t);o=this._free.bind(this,e,t);return this._scheduled[e]={timeout:setTimeout((()=>t.doExecute(this._limiter,s,n,o)),r),expiration:t.options.expiration!=null?setTimeout((function(){return t.doExpire(s,n,o)}),r+t.options.expiration):void 0,job:t}}_drainOne(e){return this._registerLock.schedule((()=>{var t,r,s,o,n;if(this.queued()===0){return this.Promise.resolve(null)}n=this._queues.getFirst();({options:o,args:t}=s=n.first());if(e!=null&&o.weight>e){return this.Promise.resolve(null)}this.Events.trigger("debug",`Draining ${o.id}`,{args:t,options:o});r=this._randomIndex();return this._store.__register__(r,o.weight,o.expiration).then((({success:e,wait:A,reservoir:i})=>{var a;this.Events.trigger("debug",`Drained ${o.id}`,{success:e,args:t,options:o});if(e){n.shift();a=this.empty();if(a){this.Events.trigger("empty")}if(i===0){this.Events.trigger("depleted",a)}this._run(r,s,A);return this.Promise.resolve(o.weight)}else{return this.Promise.resolve(null)}}))}))}_drainAll(e,t=0){return this._drainOne(e).then((r=>{var s;if(r!=null){s=e!=null?e-r:e;return this._drainAll(s,t+r)}else{return this.Promise.resolve(t)}})).catch((e=>this.Events.trigger("error",e)))}_dropAllQueued(e){return this._queues.shiftAll((function(t){return t.doDrop({message:e})}))}stop(e={}){var t,r;e=ee.load(e,this.stopDefaults);r=e=>{var t;t=()=>{var t;t=this._states.counts;return t[0]+t[1]+t[2]+t[3]===e};return new this.Promise(((e,r)=>{if(t()){return e()}else{return this.on("done",(()=>{if(t()){this.removeAllListeners("done");return e()}}))}}))};t=e.dropWaitingJobs?(this._run=function(t,r){return r.doDrop({message:e.dropErrorMessage})},this._drainOne=()=>this.Promise.resolve(null),this._registerLock.schedule((()=>this._submitLock.schedule((()=>{var t,s,o;s=this._scheduled;for(t in s){o=s[t];if(this.jobStatus(o.job.options.id)==="RUNNING"){clearTimeout(o.timeout);clearTimeout(o.expiration);o.job.doDrop({message:e.dropErrorMessage})}}this._dropAllQueued(e.dropErrorMessage);return r(0)}))))):this.schedule({priority:K-1,weight:0},(()=>r(1)));this._receive=function(t){return t._reject(new Bottleneck.prototype.BottleneckError(e.enqueueErrorMessage))};this.stop=()=>this.Promise.reject(new Bottleneck.prototype.BottleneckError("stop() has already been called"));return t}async _addToQueue(e){var t,r,s,o,n,A,i;({args:t,options:o}=e);try{({reachedHWM:n,blocked:r,strategy:i}=await this._store.__submit__(this.queued(),o.weight))}catch(r){s=r;this.Events.trigger("debug",`Could not queue ${o.id}`,{args:t,options:o,error:s});e.doDrop({error:s});return false}if(r){e.doDrop();return true}else if(n){A=i===Bottleneck.prototype.strategy.LEAK?this._queues.shiftLastFrom(o.priority):i===Bottleneck.prototype.strategy.OVERFLOW_PRIORITY?this._queues.shiftLastFrom(o.priority+1):i===Bottleneck.prototype.strategy.OVERFLOW?e:void 0;if(A!=null){A.doDrop()}if(A==null||i===Bottleneck.prototype.strategy.OVERFLOW){if(A==null){e.doDrop()}return n}}e.doQueue(n,r);this._queues.push(e);await this._drainAll();return n}_receive(e){if(this._states.jobStatus(e.options.id)!=null){e._reject(new Bottleneck.prototype.BottleneckError(`A job with the same id already exists (id=${e.options.id})`));return false}else{e.doReceive();return this._submitLock.schedule(this._addToQueue,e)}}submit(...e){var t,r,s,o,n,A,i;if(typeof e[0]==="function"){n=e,[r,...e]=n,[t]=te.call(e,-1);o=ee.load({},this.jobDefaults)}else{A=e,[o,r,...e]=A,[t]=te.call(e,-1);o=ee.load(o,this.jobDefaults)}i=(...e)=>new this.Promise((function(t,s){return r(...e,(function(...e){return(e[0]!=null?s:t)(e)}))}));s=new j(i,e,o,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise);s.promise.then((function(e){return typeof t==="function"?t(...e):void 0})).catch((function(e){if(Array.isArray(e)){return typeof t==="function"?t(...e):void 0}else{return typeof t==="function"?t(e):void 0}}));return this._receive(s)}schedule(...e){var t,r,s;if(typeof e[0]==="function"){[s,...e]=e;r={}}else{[r,s,...e]=e}t=new j(s,e,r,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise);this._receive(t);return t.promise}wrap(e){var t,r;t=this.schedule.bind(this);r=function(...r){return t(e.bind(this),...r)};r.withOptions=function(r,...s){return t(r,e,...s)};return r}async updateSettings(e={}){await this._store.__updateSettings__(ee.overwrite(e,this.storeDefaults));ee.overwrite(e,this.instanceDefaults,this);return this}currentReservoir(){return this._store.__currentReservoir__()}incrementReservoir(e=0){return this._store.__incrementReservoir__(e)}}Bottleneck.default=Bottleneck;Bottleneck.Events=q;Bottleneck.version=Bottleneck.prototype.version=V.version;Bottleneck.strategy=Bottleneck.prototype.strategy={LEAK:1,OVERFLOW:2,OVERFLOW_PRIORITY:4,BLOCK:3};Bottleneck.BottleneckError=Bottleneck.prototype.BottleneckError=u;Bottleneck.Group=Bottleneck.prototype.Group=L;Bottleneck.RedisConnection=Bottleneck.prototype.RedisConnection=require$$2;Bottleneck.IORedisConnection=Bottleneck.prototype.IORedisConnection=require$$3;Bottleneck.Batcher=Bottleneck.prototype.Batcher=H;Bottleneck.prototype.jobDefaults={priority:J,weight:1,expiration:null,id:"<no-id>"};Bottleneck.prototype.storeDefaults={maxConcurrent:null,minTime:0,highWater:null,strategy:Bottleneck.prototype.strategy.LEAK,penalty:null,reservoir:null,reservoirRefreshInterval:null,reservoirRefreshAmount:null,reservoirIncreaseInterval:null,reservoirIncreaseAmount:null,reservoirIncreaseMaximum:null};Bottleneck.prototype.localStoreDefaults={Promise:Promise,timeout:null,heartbeatInterval:250};Bottleneck.prototype.redisStoreDefaults={Promise:Promise,timeout:null,heartbeatInterval:5e3,clientTimeout:1e4,Redis:null,clientOptions:{},clusterNodes:null,clearDatastore:false,connection:null};Bottleneck.prototype.instanceDefaults={datastore:"local",connection:null,id:"<no-id>",rejectOnDrop:true,trackDoneStatus:false,Promise:Promise};Bottleneck.prototype.stopDefaults={enqueueErrorMessage:"This limiter has been stopped and cannot accept new jobs.",dropWaitingJobs:true,dropErrorMessage:"This limiter has been stopped."};return Bottleneck}.call(e);var re=Y;var se=re;return se}))},4150:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});class Deprecation extends Error{constructor(e){super(e);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="Deprecation"}}t.Deprecation=Deprecation},8889:(e,t,r)=>{const s=r(9896);const o=r(6928);const n=r(857);const A=r(6982);const i=r(56);const a=i.version;const c=/(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/gm;function parse(e){const t={};let r=e.toString();r=r.replace(/\r\n?/gm,"\n");let s;while((s=c.exec(r))!=null){const e=s[1];let r=s[2]||"";r=r.trim();const o=r[0];r=r.replace(/^(['"`])([\s\S]*)\1$/gm,"$2");if(o==='"'){r=r.replace(/\\n/g,"\n");r=r.replace(/\\r/g,"\r")}t[e]=r}return t}function _parseVault(e){const t=_vaultPath(e);const r=l.configDotenv({path:t});if(!r.parsed){const e=new Error(`MISSING_DATA: Cannot parse ${t} for an unknown reason`);e.code="MISSING_DATA";throw e}const s=_dotenvKey(e).split(",");const o=s.length;let n;for(let e=0;e<o;e++){try{const t=s[e].trim();const o=_instructions(r,t);n=l.decrypt(o.ciphertext,o.key);break}catch(t){if(e+1>=o){throw t}}}return l.parse(n)}function _log(e){console.log(`[dotenv@${a}][INFO] ${e}`)}function _warn(e){console.log(`[dotenv@${a}][WARN] ${e}`)}function _debug(e){console.log(`[dotenv@${a}][DEBUG] ${e}`)}function _dotenvKey(e){if(e&&e.DOTENV_KEY&&e.DOTENV_KEY.length>0){return e.DOTENV_KEY}if(process.env.DOTENV_KEY&&process.env.DOTENV_KEY.length>0){return process.env.DOTENV_KEY}return""}function _instructions(e,t){let r;try{r=new URL(t)}catch(e){if(e.code==="ERR_INVALID_URL"){const e=new Error("INVALID_DOTENV_KEY: Wrong format. Must be in valid uri format like dotenv://:key_1234@dotenvx.com/vault/.env.vault?environment=development");e.code="INVALID_DOTENV_KEY";throw e}throw e}const s=r.password;if(!s){const e=new Error("INVALID_DOTENV_KEY: Missing key part");e.code="INVALID_DOTENV_KEY";throw e}const o=r.searchParams.get("environment");if(!o){const e=new Error("INVALID_DOTENV_KEY: Missing environment part");e.code="INVALID_DOTENV_KEY";throw e}const n=`DOTENV_VAULT_${o.toUpperCase()}`;const A=e.parsed[n];if(!A){const e=new Error(`NOT_FOUND_DOTENV_ENVIRONMENT: Cannot locate environment ${n} in your .env.vault file.`);e.code="NOT_FOUND_DOTENV_ENVIRONMENT";throw e}return{ciphertext:A,key:s}}function _vaultPath(e){let t=null;if(e&&e.path&&e.path.length>0){if(Array.isArray(e.path)){for(const r of e.path){if(s.existsSync(r)){t=r.endsWith(".vault")?r:`${r}.vault`}}}else{t=e.path.endsWith(".vault")?e.path:`${e.path}.vault`}}else{t=o.resolve(process.cwd(),".env.vault")}if(s.existsSync(t)){return t}return null}function _resolveHome(e){return e[0]==="~"?o.join(n.homedir(),e.slice(1)):e}function _configVault(e){_log("Loading env from encrypted .env.vault");const t=l._parseVault(e);let r=process.env;if(e&&e.processEnv!=null){r=e.processEnv}l.populate(r,t,e);return{parsed:t}}function configDotenv(e){const t=o.resolve(process.cwd(),".env");let r="utf8";const n=Boolean(e&&e.debug);if(e&&e.encoding){r=e.encoding}else{if(n){_debug("No encoding is specified. UTF-8 is used by default")}}let A=[t];if(e&&e.path){if(!Array.isArray(e.path)){A=[_resolveHome(e.path)]}else{A=[];for(const t of e.path){A.push(_resolveHome(t))}}}let i;const a={};for(const t of A){try{const o=l.parse(s.readFileSync(t,{encoding:r}));l.populate(a,o,e)}catch(e){if(n){_debug(`Failed to load ${t} ${e.message}`)}i=e}}let c=process.env;if(e&&e.processEnv!=null){c=e.processEnv}l.populate(c,a,e);if(i){return{parsed:a,error:i}}else{return{parsed:a}}}function config(e){if(_dotenvKey(e).length===0){return l.configDotenv(e)}const t=_vaultPath(e);if(!t){_warn(`You set DOTENV_KEY but you are missing a .env.vault file at ${t}. Did you forget to build it?`);return l.configDotenv(e)}return l._configVault(e)}function decrypt(e,t){const r=Buffer.from(t.slice(-64),"hex");let s=Buffer.from(e,"base64");const o=s.subarray(0,12);const n=s.subarray(-16);s=s.subarray(12,-16);try{const e=A.createDecipheriv("aes-256-gcm",r,o);e.setAuthTag(n);return`${e.update(s)}${e.final()}`}catch(e){const t=e instanceof RangeError;const r=e.message==="Invalid key length";const s=e.message==="Unsupported state or unable to authenticate data";if(t||r){const e=new Error("INVALID_DOTENV_KEY: It must be 64 characters long (or more)");e.code="INVALID_DOTENV_KEY";throw e}else if(s){const e=new Error("DECRYPTION_FAILED: Please check your DOTENV_KEY");e.code="DECRYPTION_FAILED";throw e}else{throw e}}}function populate(e,t,r={}){const s=Boolean(r&&r.debug);const o=Boolean(r&&r.override);if(typeof t!=="object"){const e=new Error("OBJECT_REQUIRED: Please check the processEnv argument being passed to populate");e.code="OBJECT_REQUIRED";throw e}for(const r of Object.keys(t)){if(Object.prototype.hasOwnProperty.call(e,r)){if(o===true){e[r]=t[r]}if(s){if(o===true){_debug(`"${r}" is already defined and WAS overwritten`)}else{_debug(`"${r}" is already defined and was NOT overwritten`)}}}else{e[r]=t[r]}}}const l={configDotenv:configDotenv,_configVault:_configVault,_parseVault:_parseVault,config:config,decrypt:decrypt,parse:parse,populate:populate};e.exports.configDotenv=l.configDotenv;e.exports._configVault=l._configVault;e.exports._parseVault=l._parseVault;e.exports.config=l.config;e.exports.decrypt=l.decrypt;e.exports.parse=l.parse;e.exports.populate=l.populate;e.exports=l},5560:(e,t,r)=>{var s=r(8264);e.exports=s(once);e.exports.strict=s(onceStrict);once.proto=once((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once(this)},configurable:true});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:true})}));function once(e){var f=function(){if(f.called)return f.value;f.called=true;return f.value=e.apply(this,arguments)};f.called=false;return f}function onceStrict(e){var f=function(){if(f.called)throw new Error(f.onceError);f.called=true;return f.value=e.apply(this,arguments)};var t=e.name||"Function wrapped with `once`";f.onceError=t+" shouldn't be called more than once";f.called=false;return f}},770:(e,t,r)=>{e.exports=r(218)},218:(e,t,r)=>{var s=r(9278);var o=r(4756);var n=r(8611);var A=r(5692);var i=r(4434);var a=r(2613);var c=r(9023);t.httpOverHttp=httpOverHttp;t.httpsOverHttp=httpsOverHttp;t.httpOverHttps=httpOverHttps;t.httpsOverHttps=httpsOverHttps;function httpOverHttp(e){var t=new TunnelingAgent(e);t.request=n.request;return t}function httpsOverHttp(e){var t=new TunnelingAgent(e);t.request=n.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function httpOverHttps(e){var t=new TunnelingAgent(e);t.request=A.request;return t}function httpsOverHttps(e){var t=new TunnelingAgent(e);t.request=A.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function TunnelingAgent(e){var t=this;t.options=e||{};t.proxyOptions=t.options.proxy||{};t.maxSockets=t.options.maxSockets||n.Agent.defaultMaxSockets;t.requests=[];t.sockets=[];t.on("free",(function onFree(e,r,s,o){var n=toOptions(r,s,o);for(var A=0,i=t.requests.length;A<i;++A){var a=t.requests[A];if(a.host===n.host&&a.port===n.port){t.requests.splice(A,1);a.request.onSocket(e);return}}e.destroy();t.removeSocket(e)}))}c.inherits(TunnelingAgent,i.EventEmitter);TunnelingAgent.prototype.addRequest=function addRequest(e,t,r,s){var o=this;var n=mergeOptions({request:e},o.options,toOptions(t,r,s));if(o.sockets.length>=this.maxSockets){o.requests.push(n);return}o.createSocket(n,(function(t){t.on("free",onFree);t.on("close",onCloseOrRemove);t.on("agentRemove",onCloseOrRemove);e.onSocket(t);function onFree(){o.emit("free",t,n)}function onCloseOrRemove(e){o.removeSocket(t);t.removeListener("free",onFree);t.removeListener("close",onCloseOrRemove);t.removeListener("agentRemove",onCloseOrRemove)}}))};TunnelingAgent.prototype.createSocket=function createSocket(e,t){var r=this;var s={};r.sockets.push(s);var o=mergeOptions({},r.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:false,headers:{host:e.host+":"+e.port}});if(e.localAddress){o.localAddress=e.localAddress}if(o.proxyAuth){o.headers=o.headers||{};o.headers["Proxy-Authorization"]="Basic "+new Buffer(o.proxyAuth).toString("base64")}l("making CONNECT request");var n=r.request(o);n.useChunkedEncodingByDefault=false;n.once("response",onResponse);n.once("upgrade",onUpgrade);n.once("connect",onConnect);n.once("error",onError);n.end();function onResponse(e){e.upgrade=true}function onUpgrade(e,t,r){process.nextTick((function(){onConnect(e,t,r)}))}function onConnect(o,A,i){n.removeAllListeners();A.removeAllListeners();if(o.statusCode!==200){l("tunneling socket could not be established, statusCode=%d",o.statusCode);A.destroy();var a=new Error("tunneling socket could not be established, "+"statusCode="+o.statusCode);a.code="ECONNRESET";e.request.emit("error",a);r.removeSocket(s);return}if(i.length>0){l("got illegal response body from proxy");A.destroy();var a=new Error("got illegal response body from proxy");a.code="ECONNRESET";e.request.emit("error",a);r.removeSocket(s);return}l("tunneling connection has established");r.sockets[r.sockets.indexOf(s)]=A;return t(A)}function onError(t){n.removeAllListeners();l("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var o=new Error("tunneling socket could not be established, "+"cause="+t.message);o.code="ECONNRESET";e.request.emit("error",o);r.removeSocket(s)}};TunnelingAgent.prototype.removeSocket=function removeSocket(e){var t=this.sockets.indexOf(e);if(t===-1){return}this.sockets.splice(t,1);var r=this.requests.shift();if(r){this.createSocket(r,(function(e){r.request.onSocket(e)}))}};function createSecureSocket(e,t){var r=this;TunnelingAgent.prototype.createSocket.call(r,e,(function(s){var n=e.request.getHeader("host");var A=mergeOptions({},r.options,{socket:s,servername:n?n.replace(/:.*$/,""):e.host});var i=o.connect(0,A);r.sockets[r.sockets.indexOf(s)]=i;t(i)}))}function toOptions(e,t,r){if(typeof e==="string"){return{host:e,port:t,localAddress:r}}return e}function mergeOptions(e){for(var t=1,r=arguments.length;t<r;++t){var s=arguments[t];if(typeof s==="object"){var o=Object.keys(s);for(var n=0,A=o.length;n<A;++n){var i=o[n];if(s[i]!==undefined){e[i]=s[i]}}}}return e}var l;if(process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)){l=function(){var e=Array.prototype.slice.call(arguments);if(typeof e[0]==="string"){e[0]="TUNNEL: "+e[0]}else{e.unshift("TUNNEL:")}console.error.apply(console,e)}}else{l=function(){}}t.debug=l},6752:(e,t,r)=>{const s=r(6197);const o=r(992);const n=r(8707);const A=r(5076);const i=r(1093);const a=r(9965);const c=r(3440);const{InvalidArgumentError:l}=n;const u=r(6615);const g=r(9136);const p=r(7365);const d=r(7501);const E=r(4004);const h=r(2429);const I=r(2720);const m=r(3573);const{getGlobalDispatcher:C,setGlobalDispatcher:Q}=r(2581);const B=r(8840);const y=r(8299);const w=r(4415);let b;try{r(6982);b=true}catch{b=false}Object.assign(o.prototype,u);e.exports.Dispatcher=o;e.exports.Client=s;e.exports.Pool=A;e.exports.BalancedPool=i;e.exports.Agent=a;e.exports.ProxyAgent=I;e.exports.RetryHandler=m;e.exports.DecoratorHandler=B;e.exports.RedirectHandler=y;e.exports.createRedirectInterceptor=w;e.exports.buildConnector=g;e.exports.errors=n;function makeDispatcher(e){return(t,r,s)=>{if(typeof r==="function"){s=r;r=null}if(!t||typeof t!=="string"&&typeof t!=="object"&&!(t instanceof URL)){throw new l("invalid url")}if(r!=null&&typeof r!=="object"){throw new l("invalid opts")}if(r&&r.path!=null){if(typeof r.path!=="string"){throw new l("invalid opts.path")}let e=r.path;if(!r.path.startsWith("/")){e=`/${e}`}t=new URL(c.parseOrigin(t).origin+e)}else{if(!r){r=typeof t==="object"?t:{}}t=c.parseURL(t)}const{agent:o,dispatcher:n=C()}=r;if(o){throw new l("unsupported opts.agent. Did you mean opts.client?")}return e.call(n,{...r,origin:t.origin,path:t.search?`${t.pathname}${t.search}`:t.pathname,method:r.method||(r.body?"PUT":"GET")},s)}}e.exports.setGlobalDispatcher=Q;e.exports.getGlobalDispatcher=C;if(c.nodeMajor>16||c.nodeMajor===16&&c.nodeMinor>=8){let t=null;e.exports.fetch=async function fetch(e){if(!t){t=r(2315).fetch}try{return await t(...arguments)}catch(e){if(typeof e==="object"){Error.captureStackTrace(e,this)}throw e}};e.exports.Headers=r(6349).Headers;e.exports.Response=r(8676).Response;e.exports.Request=r(5194).Request;e.exports.FormData=r(3073).FormData;e.exports.File=r(3041).File;e.exports.FileReader=r(2160).FileReader;const{setGlobalOrigin:s,getGlobalOrigin:o}=r(5628);e.exports.setGlobalOrigin=s;e.exports.getGlobalOrigin=o;const{CacheStorage:n}=r(4738);const{kConstruct:A}=r(296);e.exports.caches=new n(A)}if(c.nodeMajor>=16){const{deleteCookie:t,getCookies:s,getSetCookies:o,setCookie:n}=r(3168);e.exports.deleteCookie=t;e.exports.getCookies=s;e.exports.getSetCookies=o;e.exports.setCookie=n;const{parseMIMEType:A,serializeAMimeType:i}=r(4322);e.exports.parseMIMEType=A;e.exports.serializeAMimeType=i}if(c.nodeMajor>=18&&b){const{WebSocket:t}=r(5171);e.exports.WebSocket=t}e.exports.request=makeDispatcher(u.request);e.exports.stream=makeDispatcher(u.stream);e.exports.pipeline=makeDispatcher(u.pipeline);e.exports.connect=makeDispatcher(u.connect);e.exports.upgrade=makeDispatcher(u.upgrade);e.exports.MockClient=p;e.exports.MockPool=E;e.exports.MockAgent=d;e.exports.mockErrors=h},9965:(e,t,r)=>{const{InvalidArgumentError:s}=r(8707);const{kClients:o,kRunning:n,kClose:A,kDestroy:i,kDispatch:a,kInterceptors:c}=r(6443);const l=r(1);const u=r(5076);const g=r(6197);const p=r(3440);const d=r(4415);const{WeakRef:E,FinalizationRegistry:h}=r(3194)();const I=Symbol("onConnect");const m=Symbol("onDisconnect");const C=Symbol("onConnectionError");const Q=Symbol("maxRedirections");const B=Symbol("onDrain");const y=Symbol("factory");const w=Symbol("finalizer");const b=Symbol("options");function defaultFactory(e,t){return t&&t.connections===1?new g(e,t):new u(e,t)}class Agent extends l{constructor({factory:e=defaultFactory,maxRedirections:t=0,connect:r,...n}={}){super();if(typeof e!=="function"){throw new s("factory must be a function.")}if(r!=null&&typeof r!=="function"&&typeof r!=="object"){throw new s("connect must be a function or an object")}if(!Number.isInteger(t)||t<0){throw new s("maxRedirections must be a positive number")}if(r&&typeof r!=="function"){r={...r}}this[c]=n.interceptors&&n.interceptors.Agent&&Array.isArray(n.interceptors.Agent)?n.interceptors.Agent:[d({maxRedirections:t})];this[b]={...p.deepClone(n),connect:r};this[b].interceptors=n.interceptors?{...n.interceptors}:undefined;this[Q]=t;this[y]=e;this[o]=new Map;this[w]=new h((e=>{const t=this[o].get(e);if(t!==undefined&&t.deref()===undefined){this[o].delete(e)}}));const A=this;this[B]=(e,t)=>{A.emit("drain",e,[A,...t])};this[I]=(e,t)=>{A.emit("connect",e,[A,...t])};this[m]=(e,t,r)=>{A.emit("disconnect",e,[A,...t],r)};this[C]=(e,t,r)=>{A.emit("connectionError",e,[A,...t],r)}}get[n](){let e=0;for(const t of this[o].values()){const r=t.deref();if(r){e+=r[n]}}return e}[a](e,t){let r;if(e.origin&&(typeof e.origin==="string"||e.origin instanceof URL)){r=String(e.origin)}else{throw new s("opts.origin must be a non-empty string or URL.")}const n=this[o].get(r);let A=n?n.deref():null;if(!A){A=this[y](e.origin,this[b]).on("drain",this[B]).on("connect",this[I]).on("disconnect",this[m]).on("connectionError",this[C]);this[o].set(r,new E(A));this[w].register(A,r)}return A.dispatch(e,t)}async[A](){const e=[];for(const t of this[o].values()){const r=t.deref();if(r){e.push(r.close())}}await Promise.all(e)}async[i](e){const t=[];for(const r of this[o].values()){const s=r.deref();if(s){t.push(s.destroy(e))}}await Promise.all(t)}}e.exports=Agent},158:(e,t,r)=>{const{addAbortListener:s}=r(3440);const{RequestAbortedError:o}=r(8707);const n=Symbol("kListener");const A=Symbol("kSignal");function abort(e){if(e.abort){e.abort()}else{e.onError(new o)}}function addSignal(e,t){e[A]=null;e[n]=null;if(!t){return}if(t.aborted){abort(e);return}e[A]=t;e[n]=()=>{abort(e)};s(e[A],e[n])}function removeSignal(e){if(!e[A]){return}if("removeEventListener"in e[A]){e[A].removeEventListener("abort",e[n])}else{e[A].removeListener("abort",e[n])}e[A]=null;e[n]=null}e.exports={addSignal:addSignal,removeSignal:removeSignal}},4660:(e,t,r)=>{const{AsyncResource:s}=r(290);const{InvalidArgumentError:o,RequestAbortedError:n,SocketError:A}=r(8707);const i=r(3440);const{addSignal:a,removeSignal:c}=r(158);class ConnectHandler extends s{constructor(e,t){if(!e||typeof e!=="object"){throw new o("invalid opts")}if(typeof t!=="function"){throw new o("invalid callback")}const{signal:r,opaque:s,responseHeaders:n}=e;if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function"){throw new o("signal must be an EventEmitter or EventTarget")}super("UNDICI_CONNECT");this.opaque=s||null;this.responseHeaders=n||null;this.callback=t;this.abort=null;a(this,r)}onConnect(e,t){if(!this.callback){throw new n}this.abort=e;this.context=t}onHeaders(){throw new A("bad connect",null)}onUpgrade(e,t,r){const{callback:s,opaque:o,context:n}=this;c(this);this.callback=null;let A=t;if(A!=null){A=this.responseHeaders==="raw"?i.parseRawHeaders(t):i.parseHeaders(t)}this.runInAsyncScope(s,null,null,{statusCode:e,headers:A,socket:r,opaque:o,context:n})}onError(e){const{callback:t,opaque:r}=this;c(this);if(t){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(t,null,e,{opaque:r})}))}}}function connect(e,t){if(t===undefined){return new Promise(((t,r)=>{connect.call(this,e,((e,s)=>e?r(e):t(s)))}))}try{const r=new ConnectHandler(e,t);this.dispatch({...e,method:"CONNECT"},r)}catch(r){if(typeof t!=="function"){throw r}const s=e&&e.opaque;queueMicrotask((()=>t(r,{opaque:s})))}}e.exports=connect},6862:(e,t,r)=>{const{Readable:s,Duplex:o,PassThrough:n}=r(2203);const{InvalidArgumentError:A,InvalidReturnValueError:i,RequestAbortedError:a}=r(8707);const c=r(3440);const{AsyncResource:l}=r(290);const{addSignal:u,removeSignal:g}=r(158);const p=r(2613);const d=Symbol("resume");class PipelineRequest extends s{constructor(){super({autoDestroy:true});this[d]=null}_read(){const{[d]:e}=this;if(e){this[d]=null;e()}}_destroy(e,t){this._read();t(e)}}class PipelineResponse extends s{constructor(e){super({autoDestroy:true});this[d]=e}_read(){this[d]()}_destroy(e,t){if(!e&&!this._readableState.endEmitted){e=new a}t(e)}}class PipelineHandler extends l{constructor(e,t){if(!e||typeof e!=="object"){throw new A("invalid opts")}if(typeof t!=="function"){throw new A("invalid handler")}const{signal:r,method:s,opaque:n,onInfo:i,responseHeaders:l}=e;if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function"){throw new A("signal must be an EventEmitter or EventTarget")}if(s==="CONNECT"){throw new A("invalid method")}if(i&&typeof i!=="function"){throw new A("invalid onInfo callback")}super("UNDICI_PIPELINE");this.opaque=n||null;this.responseHeaders=l||null;this.handler=t;this.abort=null;this.context=null;this.onInfo=i||null;this.req=(new PipelineRequest).on("error",c.nop);this.ret=new o({readableObjectMode:e.objectMode,autoDestroy:true,read:()=>{const{body:e}=this;if(e&&e.resume){e.resume()}},write:(e,t,r)=>{const{req:s}=this;if(s.push(e,t)||s._readableState.destroyed){r()}else{s[d]=r}},destroy:(e,t)=>{const{body:r,req:s,res:o,ret:n,abort:A}=this;if(!e&&!n._readableState.endEmitted){e=new a}if(A&&e){A()}c.destroy(r,e);c.destroy(s,e);c.destroy(o,e);g(this);t(e)}}).on("prefinish",(()=>{const{req:e}=this;e.push(null)}));this.res=null;u(this,r)}onConnect(e,t){const{ret:r,res:s}=this;p(!s,"pipeline cannot be retried");if(r.destroyed){throw new a}this.abort=e;this.context=t}onHeaders(e,t,r){const{opaque:s,handler:o,context:n}=this;if(e<200){if(this.onInfo){const r=this.responseHeaders==="raw"?c.parseRawHeaders(t):c.parseHeaders(t);this.onInfo({statusCode:e,headers:r})}return}this.res=new PipelineResponse(r);let A;try{this.handler=null;const r=this.responseHeaders==="raw"?c.parseRawHeaders(t):c.parseHeaders(t);A=this.runInAsyncScope(o,null,{statusCode:e,headers:r,opaque:s,body:this.res,context:n})}catch(e){this.res.on("error",c.nop);throw e}if(!A||typeof A.on!=="function"){throw new i("expected Readable")}A.on("data",(e=>{const{ret:t,body:r}=this;if(!t.push(e)&&r.pause){r.pause()}})).on("error",(e=>{const{ret:t}=this;c.destroy(t,e)})).on("end",(()=>{const{ret:e}=this;e.push(null)})).on("close",(()=>{const{ret:e}=this;if(!e._readableState.ended){c.destroy(e,new a)}}));this.body=A}onData(e){const{res:t}=this;return t.push(e)}onComplete(e){const{res:t}=this;t.push(null)}onError(e){const{ret:t}=this;this.handler=null;c.destroy(t,e)}}function pipeline(e,t){try{const r=new PipelineHandler(e,t);this.dispatch({...e,body:r.req},r);return r.ret}catch(e){return(new n).destroy(e)}}e.exports=pipeline},4043:(e,t,r)=>{const s=r(9927);const{InvalidArgumentError:o,RequestAbortedError:n}=r(8707);const A=r(3440);const{getResolveErrorBodyCallback:i}=r(7655);const{AsyncResource:a}=r(290);const{addSignal:c,removeSignal:l}=r(158);class RequestHandler extends a{constructor(e,t){if(!e||typeof e!=="object"){throw new o("invalid opts")}const{signal:r,method:s,opaque:n,body:i,onInfo:a,responseHeaders:l,throwOnError:u,highWaterMark:g}=e;try{if(typeof t!=="function"){throw new o("invalid callback")}if(g&&(typeof g!=="number"||g<0)){throw new o("invalid highWaterMark")}if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function"){throw new o("signal must be an EventEmitter or EventTarget")}if(s==="CONNECT"){throw new o("invalid method")}if(a&&typeof a!=="function"){throw new o("invalid onInfo callback")}super("UNDICI_REQUEST")}catch(e){if(A.isStream(i)){A.destroy(i.on("error",A.nop),e)}throw e}this.responseHeaders=l||null;this.opaque=n||null;this.callback=t;this.res=null;this.abort=null;this.body=i;this.trailers={};this.context=null;this.onInfo=a||null;this.throwOnError=u;this.highWaterMark=g;if(A.isStream(i)){i.on("error",(e=>{this.onError(e)}))}c(this,r)}onConnect(e,t){if(!this.callback){throw new n}this.abort=e;this.context=t}onHeaders(e,t,r,o){const{callback:n,opaque:a,abort:c,context:l,responseHeaders:u,highWaterMark:g}=this;const p=u==="raw"?A.parseRawHeaders(t):A.parseHeaders(t);if(e<200){if(this.onInfo){this.onInfo({statusCode:e,headers:p})}return}const d=u==="raw"?A.parseHeaders(t):p;const E=d["content-type"];const h=new s({resume:r,abort:c,contentType:E,highWaterMark:g});this.callback=null;this.res=h;if(n!==null){if(this.throwOnError&&e>=400){this.runInAsyncScope(i,null,{callback:n,body:h,contentType:E,statusCode:e,statusMessage:o,headers:p})}else{this.runInAsyncScope(n,null,null,{statusCode:e,headers:p,trailers:this.trailers,opaque:a,body:h,context:l})}}}onData(e){const{res:t}=this;return t.push(e)}onComplete(e){const{res:t}=this;l(this);A.parseHeaders(e,this.trailers);t.push(null)}onError(e){const{res:t,callback:r,body:s,opaque:o}=this;l(this);if(r){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(r,null,e,{opaque:o})}))}if(t){this.res=null;queueMicrotask((()=>{A.destroy(t,e)}))}if(s){this.body=null;A.destroy(s,e)}}}function request(e,t){if(t===undefined){return new Promise(((t,r)=>{request.call(this,e,((e,s)=>e?r(e):t(s)))}))}try{this.dispatch(e,new RequestHandler(e,t))}catch(r){if(typeof t!=="function"){throw r}const s=e&&e.opaque;queueMicrotask((()=>t(r,{opaque:s})))}}e.exports=request;e.exports.RequestHandler=RequestHandler},3560:(e,t,r)=>{const{finished:s,PassThrough:o}=r(2203);const{InvalidArgumentError:n,InvalidReturnValueError:A,RequestAbortedError:i}=r(8707);const a=r(3440);const{getResolveErrorBodyCallback:c}=r(7655);const{AsyncResource:l}=r(290);const{addSignal:u,removeSignal:g}=r(158);class StreamHandler extends l{constructor(e,t,r){if(!e||typeof e!=="object"){throw new n("invalid opts")}const{signal:s,method:o,opaque:A,body:i,onInfo:c,responseHeaders:l,throwOnError:g}=e;try{if(typeof r!=="function"){throw new n("invalid callback")}if(typeof t!=="function"){throw new n("invalid factory")}if(s&&typeof s.on!=="function"&&typeof s.addEventListener!=="function"){throw new n("signal must be an EventEmitter or EventTarget")}if(o==="CONNECT"){throw new n("invalid method")}if(c&&typeof c!=="function"){throw new n("invalid onInfo callback")}super("UNDICI_STREAM")}catch(e){if(a.isStream(i)){a.destroy(i.on("error",a.nop),e)}throw e}this.responseHeaders=l||null;this.opaque=A||null;this.factory=t;this.callback=r;this.res=null;this.abort=null;this.context=null;this.trailers=null;this.body=i;this.onInfo=c||null;this.throwOnError=g||false;if(a.isStream(i)){i.on("error",(e=>{this.onError(e)}))}u(this,s)}onConnect(e,t){if(!this.callback){throw new i}this.abort=e;this.context=t}onHeaders(e,t,r,n){const{factory:i,opaque:l,context:u,callback:g,responseHeaders:p}=this;const d=p==="raw"?a.parseRawHeaders(t):a.parseHeaders(t);if(e<200){if(this.onInfo){this.onInfo({statusCode:e,headers:d})}return}this.factory=null;let E;if(this.throwOnError&&e>=400){const r=p==="raw"?a.parseHeaders(t):d;const s=r["content-type"];E=new o;this.callback=null;this.runInAsyncScope(c,null,{callback:g,body:E,contentType:s,statusCode:e,statusMessage:n,headers:d})}else{if(i===null){return}E=this.runInAsyncScope(i,null,{statusCode:e,headers:d,opaque:l,context:u});if(!E||typeof E.write!=="function"||typeof E.end!=="function"||typeof E.on!=="function"){throw new A("expected Writable")}s(E,{readable:false},(e=>{const{callback:t,res:r,opaque:s,trailers:o,abort:n}=this;this.res=null;if(e||!r.readable){a.destroy(r,e)}this.callback=null;this.runInAsyncScope(t,null,e||null,{opaque:s,trailers:o});if(e){n()}}))}E.on("drain",r);this.res=E;const h=E.writableNeedDrain!==undefined?E.writableNeedDrain:E._writableState&&E._writableState.needDrain;return h!==true}onData(e){const{res:t}=this;return t?t.write(e):true}onComplete(e){const{res:t}=this;g(this);if(!t){return}this.trailers=a.parseHeaders(e);t.end()}onError(e){const{res:t,callback:r,opaque:s,body:o}=this;g(this);this.factory=null;if(t){this.res=null;a.destroy(t,e)}else if(r){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(r,null,e,{opaque:s})}))}if(o){this.body=null;a.destroy(o,e)}}}function stream(e,t,r){if(r===undefined){return new Promise(((r,s)=>{stream.call(this,e,t,((e,t)=>e?s(e):r(t)))}))}try{this.dispatch(e,new StreamHandler(e,t,r))}catch(t){if(typeof r!=="function"){throw t}const s=e&&e.opaque;queueMicrotask((()=>r(t,{opaque:s})))}}e.exports=stream},1882:(e,t,r)=>{const{InvalidArgumentError:s,RequestAbortedError:o,SocketError:n}=r(8707);const{AsyncResource:A}=r(290);const i=r(3440);const{addSignal:a,removeSignal:c}=r(158);const l=r(2613);class UpgradeHandler extends A{constructor(e,t){if(!e||typeof e!=="object"){throw new s("invalid opts")}if(typeof t!=="function"){throw new s("invalid callback")}const{signal:r,opaque:o,responseHeaders:n}=e;if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function"){throw new s("signal must be an EventEmitter or EventTarget")}super("UNDICI_UPGRADE");this.responseHeaders=n||null;this.opaque=o||null;this.callback=t;this.abort=null;this.context=null;a(this,r)}onConnect(e,t){if(!this.callback){throw new o}this.abort=e;this.context=null}onHeaders(){throw new n("bad upgrade",null)}onUpgrade(e,t,r){const{callback:s,opaque:o,context:n}=this;l.strictEqual(e,101);c(this);this.callback=null;const A=this.responseHeaders==="raw"?i.parseRawHeaders(t):i.parseHeaders(t);this.runInAsyncScope(s,null,null,{headers:A,socket:r,opaque:o,context:n})}onError(e){const{callback:t,opaque:r}=this;c(this);if(t){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(t,null,e,{opaque:r})}))}}}function upgrade(e,t){if(t===undefined){return new Promise(((t,r)=>{upgrade.call(this,e,((e,s)=>e?r(e):t(s)))}))}try{const r=new UpgradeHandler(e,t);this.dispatch({...e,method:e.method||"GET",upgrade:e.protocol||"Websocket"},r)}catch(r){if(typeof t!=="function"){throw r}const s=e&&e.opaque;queueMicrotask((()=>t(r,{opaque:s})))}}e.exports=upgrade},6615:(e,t,r)=>{e.exports.request=r(4043);e.exports.stream=r(3560);e.exports.pipeline=r(6862);e.exports.upgrade=r(1882);e.exports.connect=r(4660)},9927:(e,t,r)=>{const s=r(2613);const{Readable:o}=r(2203);const{RequestAbortedError:n,NotSupportedError:A,InvalidArgumentError:i}=r(8707);const a=r(3440);const{ReadableStreamFrom:c,toUSVString:l}=r(3440);let u;const g=Symbol("kConsume");const p=Symbol("kReading");const d=Symbol("kBody");const E=Symbol("abort");const h=Symbol("kContentType");const noop=()=>{};e.exports=class BodyReadable extends o{constructor({resume:e,abort:t,contentType:r="",highWaterMark:s=64*1024}){super({autoDestroy:true,read:e,highWaterMark:s});this._readableState.dataEmitted=false;this[E]=t;this[g]=null;this[d]=null;this[h]=r;this[p]=false}destroy(e){if(this.destroyed){return this}if(!e&&!this._readableState.endEmitted){e=new n}if(e){this[E]()}return super.destroy(e)}emit(e,...t){if(e==="data"){this._readableState.dataEmitted=true}else if(e==="error"){this._readableState.errorEmitted=true}return super.emit(e,...t)}on(e,...t){if(e==="data"||e==="readable"){this[p]=true}return super.on(e,...t)}addListener(e,...t){return this.on(e,...t)}off(e,...t){const r=super.off(e,...t);if(e==="data"||e==="readable"){this[p]=this.listenerCount("data")>0||this.listenerCount("readable")>0}return r}removeListener(e,...t){return this.off(e,...t)}push(e){if(this[g]&&e!==null&&this.readableLength===0){consumePush(this[g],e);return this[p]?super.push(e):true}return super.push(e)}async text(){return consume(this,"text")}async json(){return consume(this,"json")}async blob(){return consume(this,"blob")}async arrayBuffer(){return consume(this,"arrayBuffer")}async formData(){throw new A}get bodyUsed(){return a.isDisturbed(this)}get body(){if(!this[d]){this[d]=c(this);if(this[g]){this[d].getReader();s(this[d].locked)}}return this[d]}dump(e){let t=e&&Number.isFinite(e.limit)?e.limit:262144;const r=e&&e.signal;if(r){try{if(typeof r!=="object"||!("aborted"in r)){throw new i("signal must be an AbortSignal")}a.throwIfAborted(r)}catch(e){return Promise.reject(e)}}if(this.closed){return Promise.resolve(null)}return new Promise(((e,s)=>{const o=r?a.addAbortListener(r,(()=>{this.destroy()})):noop;this.on("close",(function(){o();if(r&&r.aborted){s(r.reason||Object.assign(new Error("The operation was aborted"),{name:"AbortError"}))}else{e(null)}})).on("error",noop).on("data",(function(e){t-=e.length;if(t<=0){this.destroy()}})).resume()}))}};function isLocked(e){return e[d]&&e[d].locked===true||e[g]}function isUnusable(e){return a.isDisturbed(e)||isLocked(e)}async function consume(e,t){if(isUnusable(e)){throw new TypeError("unusable")}s(!e[g]);return new Promise(((r,s)=>{e[g]={type:t,stream:e,resolve:r,reject:s,length:0,body:[]};e.on("error",(function(e){consumeFinish(this[g],e)})).on("close",(function(){if(this[g].body!==null){consumeFinish(this[g],new n)}}));process.nextTick(consumeStart,e[g])}))}function consumeStart(e){if(e.body===null){return}const{_readableState:t}=e.stream;for(const r of t.buffer){consumePush(e,r)}if(t.endEmitted){consumeEnd(this[g])}else{e.stream.on("end",(function(){consumeEnd(this[g])}))}e.stream.resume();while(e.stream.read()!=null){}}function consumeEnd(e){const{type:t,body:s,resolve:o,stream:n,length:A}=e;try{if(t==="text"){o(l(Buffer.concat(s)))}else if(t==="json"){o(JSON.parse(Buffer.concat(s)))}else if(t==="arrayBuffer"){const e=new Uint8Array(A);let t=0;for(const r of s){e.set(r,t);t+=r.byteLength}o(e.buffer)}else if(t==="blob"){if(!u){u=r(181).Blob}o(new u(s,{type:n[h]}))}consumeFinish(e)}catch(e){n.destroy(e)}}function consumePush(e,t){e.length+=t.length;e.body.push(t)}function consumeFinish(e,t){if(e.body===null){return}if(t){e.reject(t)}else{e.resolve()}e.type=null;e.stream=null;e.resolve=null;e.reject=null;e.length=0;e.body=null}},7655:(e,t,r)=>{const s=r(2613);const{ResponseStatusCodeError:o}=r(8707);const{toUSVString:n}=r(3440);async function getResolveErrorBodyCallback({callback:e,body:t,contentType:r,statusCode:A,statusMessage:i,headers:a}){s(t);let c=[];let l=0;for await(const e of t){c.push(e);l+=e.length;if(l>128*1024){c=null;break}}if(A===204||!r||!c){process.nextTick(e,new o(`Response status code ${A}${i?`: ${i}`:""}`,A,a));return}try{if(r.startsWith("application/json")){const t=JSON.parse(n(Buffer.concat(c)));process.nextTick(e,new o(`Response status code ${A}${i?`: ${i}`:""}`,A,a,t));return}if(r.startsWith("text/")){const t=n(Buffer.concat(c));process.nextTick(e,new o(`Response status code ${A}${i?`: ${i}`:""}`,A,a,t));return}}catch(e){}process.nextTick(e,new o(`Response status code ${A}${i?`: ${i}`:""}`,A,a))}e.exports={getResolveErrorBodyCallback:getResolveErrorBodyCallback}},1093:(e,t,r)=>{const{BalancedPoolMissingUpstreamError:s,InvalidArgumentError:o}=r(8707);const{PoolBase:n,kClients:A,kNeedDrain:i,kAddClient:a,kRemoveClient:c,kGetDispatcher:l}=r(8640);const u=r(5076);const{kUrl:g,kInterceptors:p}=r(6443);const{parseOrigin:d}=r(3440);const E=Symbol("factory");const h=Symbol("options");const I=Symbol("kGreatestCommonDivisor");const m=Symbol("kCurrentWeight");const C=Symbol("kIndex");const Q=Symbol("kWeight");const B=Symbol("kMaxWeightPerServer");const y=Symbol("kErrorPenalty");function getGreatestCommonDivisor(e,t){if(t===0)return e;return getGreatestCommonDivisor(t,e%t)}function defaultFactory(e,t){return new u(e,t)}class BalancedPool extends n{constructor(e=[],{factory:t=defaultFactory,...r}={}){super();this[h]=r;this[C]=-1;this[m]=0;this[B]=this[h].maxWeightPerServer||100;this[y]=this[h].errorPenalty||15;if(!Array.isArray(e)){e=[e]}if(typeof t!=="function"){throw new o("factory must be a function.")}this[p]=r.interceptors&&r.interceptors.BalancedPool&&Array.isArray(r.interceptors.BalancedPool)?r.interceptors.BalancedPool:[];this[E]=t;for(const t of e){this.addUpstream(t)}this._updateBalancedPoolStats()}addUpstream(e){const t=d(e).origin;if(this[A].find((e=>e[g].origin===t&&e.closed!==true&&e.destroyed!==true))){return this}const r=this[E](t,Object.assign({},this[h]));this[a](r);r.on("connect",(()=>{r[Q]=Math.min(this[B],r[Q]+this[y])}));r.on("connectionError",(()=>{r[Q]=Math.max(1,r[Q]-this[y]);this._updateBalancedPoolStats()}));r.on("disconnect",((...e)=>{const t=e[2];if(t&&t.code==="UND_ERR_SOCKET"){r[Q]=Math.max(1,r[Q]-this[y]);this._updateBalancedPoolStats()}}));for(const e of this[A]){e[Q]=this[B]}this._updateBalancedPoolStats();return this}_updateBalancedPoolStats(){this[I]=this[A].map((e=>e[Q])).reduce(getGreatestCommonDivisor,0)}removeUpstream(e){const t=d(e).origin;const r=this[A].find((e=>e[g].origin===t&&e.closed!==true&&e.destroyed!==true));if(r){this[c](r)}return this}get upstreams(){return this[A].filter((e=>e.closed!==true&&e.destroyed!==true)).map((e=>e[g].origin))}[l](){if(this[A].length===0){throw new s}const e=this[A].find((e=>!e[i]&&e.closed!==true&&e.destroyed!==true));if(!e){return}const t=this[A].map((e=>e[i])).reduce(((e,t)=>e&&t),true);if(t){return}let r=0;let o=this[A].findIndex((e=>!e[i]));while(r++<this[A].length){this[C]=(this[C]+1)%this[A].length;const e=this[A][this[C]];if(e[Q]>this[A][o][Q]&&!e[i]){o=this[C]}if(this[C]===0){this[m]=this[m]-this[I];if(this[m]<=0){this[m]=this[B]}}if(e[Q]>=this[m]&&!e[i]){return e}}this[m]=this[A][o][Q];this[C]=o;return this[A][o]}}e.exports=BalancedPool},479:(e,t,r)=>{const{kConstruct:s}=r(296);const{urlEquals:o,fieldValues:n}=r(3993);const{kEnumerableProperty:A,isDisturbed:i}=r(3440);const{kHeadersList:a}=r(6443);const{webidl:c}=r(4222);const{Response:l,cloneResponse:u}=r(8676);const{Request:g}=r(5194);const{kState:p,kHeaders:d,kGuard:E,kRealm:h}=r(9710);const{fetching:I}=r(2315);const{urlIsHttpHttpsScheme:m,createDeferredPromise:C,readAllBytes:Q}=r(5523);const B=r(2613);const{getGlobalDispatcher:y}=r(2581);class Cache{#e;constructor(){if(arguments[0]!==s){c.illegalConstructor()}this.#e=arguments[1]}async match(e,t={}){c.brandCheck(this,Cache);c.argumentLengthCheck(arguments,1,{header:"Cache.match"});e=c.converters.RequestInfo(e);t=c.converters.CacheQueryOptions(t);const r=await this.matchAll(e,t);if(r.length===0){return}return r[0]}async matchAll(e=undefined,t={}){c.brandCheck(this,Cache);if(e!==undefined)e=c.converters.RequestInfo(e);t=c.converters.CacheQueryOptions(t);let r=null;if(e!==undefined){if(e instanceof g){r=e[p];if(r.method!=="GET"&&!t.ignoreMethod){return[]}}else if(typeof e==="string"){r=new g(e)[p]}}const s=[];if(e===undefined){for(const e of this.#e){s.push(e[1])}}else{const e=this.#t(r,t);for(const t of e){s.push(t[1])}}const o=[];for(const e of s){const t=new l(e.body?.source??null);const r=t[p].body;t[p]=e;t[p].body=r;t[d][a]=e.headersList;t[d][E]="immutable";o.push(t)}return Object.freeze(o)}async add(e){c.brandCheck(this,Cache);c.argumentLengthCheck(arguments,1,{header:"Cache.add"});e=c.converters.RequestInfo(e);const t=[e];const r=this.addAll(t);return await r}async addAll(e){c.brandCheck(this,Cache);c.argumentLengthCheck(arguments,1,{header:"Cache.addAll"});e=c.converters["sequence<RequestInfo>"](e);const t=[];const r=[];for(const t of e){if(typeof t==="string"){continue}const e=t[p];if(!m(e.url)||e.method!=="GET"){throw c.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme when method is not GET."})}}const s=[];for(const o of e){const e=new g(o)[p];if(!m(e.url)){throw c.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme."})}e.initiator="fetch";e.destination="subresource";r.push(e);const A=C();s.push(I({request:e,dispatcher:y(),processResponse(e){if(e.type==="error"||e.status===206||e.status<200||e.status>299){A.reject(c.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}))}else if(e.headersList.contains("vary")){const t=n(e.headersList.get("vary"));for(const e of t){if(e==="*"){A.reject(c.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(const e of s){e.abort()}return}}}},processResponseEndOfBody(e){if(e.aborted){A.reject(new DOMException("aborted","AbortError"));return}A.resolve(e)}}));t.push(A.promise)}const o=Promise.all(t);const A=await o;const i=[];let a=0;for(const e of A){const t={type:"put",request:r[a],response:e};i.push(t);a++}const l=C();let u=null;try{this.#r(i)}catch(e){u=e}queueMicrotask((()=>{if(u===null){l.resolve(undefined)}else{l.reject(u)}}));return l.promise}async put(e,t){c.brandCheck(this,Cache);c.argumentLengthCheck(arguments,2,{header:"Cache.put"});e=c.converters.RequestInfo(e);t=c.converters.Response(t);let r=null;if(e instanceof g){r=e[p]}else{r=new g(e)[p]}if(!m(r.url)||r.method!=="GET"){throw c.errors.exception({header:"Cache.put",message:"Expected an http/s scheme when method is not GET"})}const s=t[p];if(s.status===206){throw c.errors.exception({header:"Cache.put",message:"Got 206 status"})}if(s.headersList.contains("vary")){const e=n(s.headersList.get("vary"));for(const t of e){if(t==="*"){throw c.errors.exception({header:"Cache.put",message:"Got * vary field value"})}}}if(s.body&&(i(s.body.stream)||s.body.stream.locked)){throw c.errors.exception({header:"Cache.put",message:"Response body is locked or disturbed"})}const o=u(s);const A=C();if(s.body!=null){const e=s.body.stream;const t=e.getReader();Q(t).then(A.resolve,A.reject)}else{A.resolve(undefined)}const a=[];const l={type:"put",request:r,response:o};a.push(l);const d=await A.promise;if(o.body!=null){o.body.source=d}const E=C();let h=null;try{this.#r(a)}catch(e){h=e}queueMicrotask((()=>{if(h===null){E.resolve()}else{E.reject(h)}}));return E.promise}async delete(e,t={}){c.brandCheck(this,Cache);c.argumentLengthCheck(arguments,1,{header:"Cache.delete"});e=c.converters.RequestInfo(e);t=c.converters.CacheQueryOptions(t);let r=null;if(e instanceof g){r=e[p];if(r.method!=="GET"&&!t.ignoreMethod){return false}}else{B(typeof e==="string");r=new g(e)[p]}const s=[];const o={type:"delete",request:r,options:t};s.push(o);const n=C();let A=null;let i;try{i=this.#r(s)}catch(e){A=e}queueMicrotask((()=>{if(A===null){n.resolve(!!i?.length)}else{n.reject(A)}}));return n.promise}async keys(e=undefined,t={}){c.brandCheck(this,Cache);if(e!==undefined)e=c.converters.RequestInfo(e);t=c.converters.CacheQueryOptions(t);let r=null;if(e!==undefined){if(e instanceof g){r=e[p];if(r.method!=="GET"&&!t.ignoreMethod){return[]}}else if(typeof e==="string"){r=new g(e)[p]}}const s=C();const o=[];if(e===undefined){for(const e of this.#e){o.push(e[0])}}else{const e=this.#t(r,t);for(const t of e){o.push(t[0])}}queueMicrotask((()=>{const e=[];for(const t of o){const r=new g("https://a");r[p]=t;r[d][a]=t.headersList;r[d][E]="immutable";r[h]=t.client;e.push(r)}s.resolve(Object.freeze(e))}));return s.promise}#r(e){const t=this.#e;const r=[...t];const s=[];const o=[];try{for(const r of e){if(r.type!=="delete"&&r.type!=="put"){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'})}if(r.type==="delete"&&r.response!=null){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"})}if(this.#t(r.request,r.options,s).length){throw new DOMException("???","InvalidStateError")}let e;if(r.type==="delete"){e=this.#t(r.request,r.options);if(e.length===0){return[]}for(const r of e){const e=t.indexOf(r);B(e!==-1);t.splice(e,1)}}else if(r.type==="put"){if(r.response==null){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"})}const o=r.request;if(!m(o.url)){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"})}if(o.method!=="GET"){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"})}if(r.options!=null){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"})}e=this.#t(r.request);for(const r of e){const e=t.indexOf(r);B(e!==-1);t.splice(e,1)}t.push([r.request,r.response]);s.push([r.request,r.response])}o.push([r.request,r.response])}return o}catch(e){this.#e.length=0;this.#e=r;throw e}}#t(e,t,r){const s=[];const o=r??this.#e;for(const r of o){const[o,n]=r;if(this.#s(e,o,n,t)){s.push(r)}}return s}#s(e,t,r=null,s){const A=new URL(e.url);const i=new URL(t.url);if(s?.ignoreSearch){i.search="";A.search=""}if(!o(A,i,true)){return false}if(r==null||s?.ignoreVary||!r.headersList.contains("vary")){return true}const a=n(r.headersList.get("vary"));for(const r of a){if(r==="*"){return false}const s=t.headersList.get(r);const o=e.headersList.get(r);if(s!==o){return false}}return true}}Object.defineProperties(Cache.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:true},match:A,matchAll:A,add:A,addAll:A,put:A,delete:A,keys:A});const w=[{key:"ignoreSearch",converter:c.converters.boolean,defaultValue:false},{key:"ignoreMethod",converter:c.converters.boolean,defaultValue:false},{key:"ignoreVary",converter:c.converters.boolean,defaultValue:false}];c.converters.CacheQueryOptions=c.dictionaryConverter(w);c.converters.MultiCacheQueryOptions=c.dictionaryConverter([...w,{key:"cacheName",converter:c.converters.DOMString}]);c.converters.Response=c.interfaceConverter(l);c.converters["sequence<RequestInfo>"]=c.sequenceConverter(c.converters.RequestInfo);e.exports={Cache:Cache}},4738:(e,t,r)=>{const{kConstruct:s}=r(296);const{Cache:o}=r(479);const{webidl:n}=r(4222);const{kEnumerableProperty:A}=r(3440);class CacheStorage{#o=new Map;constructor(){if(arguments[0]!==s){n.illegalConstructor()}}async match(e,t={}){n.brandCheck(this,CacheStorage);n.argumentLengthCheck(arguments,1,{header:"CacheStorage.match"});e=n.converters.RequestInfo(e);t=n.converters.MultiCacheQueryOptions(t);if(t.cacheName!=null){if(this.#o.has(t.cacheName)){const r=this.#o.get(t.cacheName);const n=new o(s,r);return await n.match(e,t)}}else{for(const r of this.#o.values()){const n=new o(s,r);const A=await n.match(e,t);if(A!==undefined){return A}}}}async has(e){n.brandCheck(this,CacheStorage);n.argumentLengthCheck(arguments,1,{header:"CacheStorage.has"});e=n.converters.DOMString(e);return this.#o.has(e)}async open(e){n.brandCheck(this,CacheStorage);n.argumentLengthCheck(arguments,1,{header:"CacheStorage.open"});e=n.converters.DOMString(e);if(this.#o.has(e)){const t=this.#o.get(e);return new o(s,t)}const t=[];this.#o.set(e,t);return new o(s,t)}async delete(e){n.brandCheck(this,CacheStorage);n.argumentLengthCheck(arguments,1,{header:"CacheStorage.delete"});e=n.converters.DOMString(e);return this.#o.delete(e)}async keys(){n.brandCheck(this,CacheStorage);const e=this.#o.keys();return[...e]}}Object.defineProperties(CacheStorage.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:true},match:A,has:A,open:A,delete:A,keys:A});e.exports={CacheStorage:CacheStorage}},296:(e,t,r)=>{e.exports={kConstruct:r(6443).kConstruct}},3993:(e,t,r)=>{const s=r(2613);const{URLSerializer:o}=r(4322);const{isValidHeaderName:n}=r(5523);function urlEquals(e,t,r=false){const s=o(e,r);const n=o(t,r);return s===n}function fieldValues(e){s(e!==null);const t=[];for(let r of e.split(",")){r=r.trim();if(!r.length){continue}else if(!n(r)){continue}t.push(r)}return t}e.exports={urlEquals:urlEquals,fieldValues:fieldValues}},6197:(e,t,r)=>{const s=r(2613);const o=r(9278);const n=r(8611);const{pipeline:A}=r(2203);const i=r(3440);const a=r(8804);const c=r(4655);const l=r(1);const{RequestContentLengthMismatchError:u,ResponseContentLengthMismatchError:g,InvalidArgumentError:p,RequestAbortedError:d,HeadersTimeoutError:E,HeadersOverflowError:h,SocketError:I,InformationalError:m,BodyTimeoutError:C,HTTPParserError:Q,ResponseExceededMaxSizeError:B,ClientDestroyedError:y}=r(8707);const w=r(9136);const{kUrl:b,kReset:R,kServerName:T,kClient:k,kBusy:D,kParser:_,kConnect:F,kBlocking:S,kResuming:v,kRunning:U,kPending:N,kSize:O,kWriting:G,kQueue:L,kConnected:P,kConnecting:M,kNeedDrain:x,kNoRef:H,kKeepAliveDefaultTimeout:V,kHostHeader:Y,kPendingIdx:J,kRunningIdx:q,kError:j,kPipelining:W,kSocket:K,kKeepAliveTimeoutValue:z,kMaxHeadersSize:Z,kKeepAliveMaxTimeout:X,kKeepAliveTimeoutThreshold:$,kHeadersTimeout:ee,kBodyTimeout:te,kStrictContentLength:re,kConnector:se,kMaxRedirections:oe,kMaxRequests:ne,kCounter:Ae,kClose:ie,kDestroy:ae,kDispatch:ce,kInterceptors:le,kLocalAddress:ue,kMaxResponseSize:ge,kHTTPConnVersion:pe,kHost:de,kHTTP2Session:Ee,kHTTP2SessionState:he,kHTTP2BuildRequest:fe,kHTTP2CopyHeaders:Ie,kHTTP1BuildRequest:me}=r(6443);let Ce;try{Ce=r(5675)}catch{Ce={constants:{}}}const{constants:{HTTP2_HEADER_AUTHORITY:Qe,HTTP2_HEADER_METHOD:Be,HTTP2_HEADER_PATH:ye,HTTP2_HEADER_SCHEME:we,HTTP2_HEADER_CONTENT_LENGTH:be,HTTP2_HEADER_EXPECT:Re,HTTP2_HEADER_STATUS:Te}}=Ce;let ke=false;const De=Buffer[Symbol.species];const _e=Symbol("kClosedResolve");const Fe={};try{const e=r(1637);Fe.sendHeaders=e.channel("undici:client:sendHeaders");Fe.beforeConnect=e.channel("undici:client:beforeConnect");Fe.connectError=e.channel("undici:client:connectError");Fe.connected=e.channel("undici:client:connected")}catch{Fe.sendHeaders={hasSubscribers:false};Fe.beforeConnect={hasSubscribers:false};Fe.connectError={hasSubscribers:false};Fe.connected={hasSubscribers:false}}class Client extends l{constructor(e,{interceptors:t,maxHeaderSize:r,headersTimeout:s,socketTimeout:A,requestTimeout:a,connectTimeout:c,bodyTimeout:l,idleTimeout:u,keepAlive:g,keepAliveTimeout:d,maxKeepAliveTimeout:E,keepAliveMaxTimeout:h,keepAliveTimeoutThreshold:I,socketPath:m,pipelining:C,tls:Q,strictContentLength:B,maxCachedSessions:y,maxRedirections:R,connect:k,maxRequestsPerClient:D,localAddress:_,maxResponseSize:F,autoSelectFamily:S,autoSelectFamilyAttemptTimeout:U,allowH2:N,maxConcurrentStreams:O}={}){super();if(g!==undefined){throw new p("unsupported keepAlive, use pipelining=0 instead")}if(A!==undefined){throw new p("unsupported socketTimeout, use headersTimeout & bodyTimeout instead")}if(a!==undefined){throw new p("unsupported requestTimeout, use headersTimeout & bodyTimeout instead")}if(u!==undefined){throw new p("unsupported idleTimeout, use keepAliveTimeout instead")}if(E!==undefined){throw new p("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead")}if(r!=null&&!Number.isFinite(r)){throw new p("invalid maxHeaderSize")}if(m!=null&&typeof m!=="string"){throw new p("invalid socketPath")}if(c!=null&&(!Number.isFinite(c)||c<0)){throw new p("invalid connectTimeout")}if(d!=null&&(!Number.isFinite(d)||d<=0)){throw new p("invalid keepAliveTimeout")}if(h!=null&&(!Number.isFinite(h)||h<=0)){throw new p("invalid keepAliveMaxTimeout")}if(I!=null&&!Number.isFinite(I)){throw new p("invalid keepAliveTimeoutThreshold")}if(s!=null&&(!Number.isInteger(s)||s<0)){throw new p("headersTimeout must be a positive integer or zero")}if(l!=null&&(!Number.isInteger(l)||l<0)){throw new p("bodyTimeout must be a positive integer or zero")}if(k!=null&&typeof k!=="function"&&typeof k!=="object"){throw new p("connect must be a function or an object")}if(R!=null&&(!Number.isInteger(R)||R<0)){throw new p("maxRedirections must be a positive number")}if(D!=null&&(!Number.isInteger(D)||D<0)){throw new p("maxRequestsPerClient must be a positive number")}if(_!=null&&(typeof _!=="string"||o.isIP(_)===0)){throw new p("localAddress must be valid string IP address")}if(F!=null&&(!Number.isInteger(F)||F<-1)){throw new p("maxResponseSize must be a positive number")}if(U!=null&&(!Number.isInteger(U)||U<-1)){throw new p("autoSelectFamilyAttemptTimeout must be a positive number")}if(N!=null&&typeof N!=="boolean"){throw new p("allowH2 must be a valid boolean value")}if(O!=null&&(typeof O!=="number"||O<1)){throw new p("maxConcurrentStreams must be a possitive integer, greater than 0")}if(typeof k!=="function"){k=w({...Q,maxCachedSessions:y,allowH2:N,socketPath:m,timeout:c,...i.nodeHasAutoSelectFamily&&S?{autoSelectFamily:S,autoSelectFamilyAttemptTimeout:U}:undefined,...k})}this[le]=t&&t.Client&&Array.isArray(t.Client)?t.Client:[ve({maxRedirections:R})];this[b]=i.parseOrigin(e);this[se]=k;this[K]=null;this[W]=C!=null?C:1;this[Z]=r||n.maxHeaderSize;this[V]=d==null?4e3:d;this[X]=h==null?6e5:h;this[$]=I==null?1e3:I;this[z]=this[V];this[T]=null;this[ue]=_!=null?_:null;this[v]=0;this[x]=0;this[Y]=`host: ${this[b].hostname}${this[b].port?`:${this[b].port}`:""}\r\n`;this[te]=l!=null?l:3e5;this[ee]=s!=null?s:3e5;this[re]=B==null?true:B;this[oe]=R;this[ne]=D;this[_e]=null;this[ge]=F>-1?F:-1;this[pe]="h1";this[Ee]=null;this[he]=!N?null:{openStreams:0,maxConcurrentStreams:O!=null?O:100};this[de]=`${this[b].hostname}${this[b].port?`:${this[b].port}`:""}`;this[L]=[];this[q]=0;this[J]=0}get pipelining(){return this[W]}set pipelining(e){this[W]=e;resume(this,true)}get[N](){return this[L].length-this[J]}get[U](){return this[J]-this[q]}get[O](){return this[L].length-this[q]}get[P](){return!!this[K]&&!this[M]&&!this[K].destroyed}get[D](){const e=this[K];return e&&(e[R]||e[G]||e[S])||this[O]>=(this[W]||1)||this[N]>0}[F](e){connect(this);this.once("connect",e)}[ce](e,t){const r=e.origin||this[b].origin;const s=this[pe]==="h2"?c[fe](r,e,t):c[me](r,e,t);this[L].push(s);if(this[v]){}else if(i.bodyLength(s.body)==null&&i.isIterable(s.body)){this[v]=1;process.nextTick(resume,this)}else{resume(this,true)}if(this[v]&&this[x]!==2&&this[D]){this[x]=2}return this[x]<2}async[ie](){return new Promise((e=>{if(!this[O]){e(null)}else{this[_e]=e}}))}async[ae](e){return new Promise((t=>{const r=this[L].splice(this[J]);for(let t=0;t<r.length;t++){const s=r[t];errorRequest(this,s,e)}const callback=()=>{if(this[_e]){this[_e]();this[_e]=null}t()};if(this[Ee]!=null){i.destroy(this[Ee],e);this[Ee]=null;this[he]=null}if(!this[K]){queueMicrotask(callback)}else{i.destroy(this[K].on("close",callback),e)}resume(this)}))}}function onHttp2SessionError(e){s(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID");this[K][j]=e;onError(this[k],e)}function onHttp2FrameError(e,t,r){const s=new m(`HTTP/2: "frameError" received - type ${e}, code ${t}`);if(r===0){this[K][j]=s;onError(this[k],s)}}function onHttp2SessionEnd(){i.destroy(this,new I("other side closed"));i.destroy(this[K],new I("other side closed"))}function onHTTP2GoAway(e){const t=this[k];const r=new m(`HTTP/2: "GOAWAY" frame received with code ${e}`);t[K]=null;t[Ee]=null;if(t.destroyed){s(this[N]===0);const e=t[L].splice(t[q]);for(let t=0;t<e.length;t++){const s=e[t];errorRequest(this,s,r)}}else if(t[U]>0){const e=t[L][t[q]];t[L][t[q]++]=null;errorRequest(t,e,r)}t[J]=t[q];s(t[U]===0);t.emit("disconnect",t[b],[t],r);resume(t)}const Se=r(2824);const ve=r(4415);const Ue=Buffer.alloc(0);async function lazyllhttp(){const e=process.env.JEST_WORKER_ID?r(3870):undefined;let t;try{t=await WebAssembly.compile(Buffer.from(r(3434),"base64"))}catch(s){t=await WebAssembly.compile(Buffer.from(e||r(3870),"base64"))}return await WebAssembly.instantiate(t,{env:{wasm_on_url:(e,t,r)=>0,wasm_on_status:(e,t,r)=>{s.strictEqual(Ge.ptr,e);const o=t-Me+Le.byteOffset;return Ge.onStatus(new De(Le.buffer,o,r))||0},wasm_on_message_begin:e=>{s.strictEqual(Ge.ptr,e);return Ge.onMessageBegin()||0},wasm_on_header_field:(e,t,r)=>{s.strictEqual(Ge.ptr,e);const o=t-Me+Le.byteOffset;return Ge.onHeaderField(new De(Le.buffer,o,r))||0},wasm_on_header_value:(e,t,r)=>{s.strictEqual(Ge.ptr,e);const o=t-Me+Le.byteOffset;return Ge.onHeaderValue(new De(Le.buffer,o,r))||0},wasm_on_headers_complete:(e,t,r,o)=>{s.strictEqual(Ge.ptr,e);return Ge.onHeadersComplete(t,Boolean(r),Boolean(o))||0},wasm_on_body:(e,t,r)=>{s.strictEqual(Ge.ptr,e);const o=t-Me+Le.byteOffset;return Ge.onBody(new De(Le.buffer,o,r))||0},wasm_on_message_complete:e=>{s.strictEqual(Ge.ptr,e);return Ge.onMessageComplete()||0}}})}let Ne=null;let Oe=lazyllhttp();Oe.catch();let Ge=null;let Le=null;let Pe=0;let Me=null;const xe=1;const He=2;const Ve=3;class Parser{constructor(e,t,{exports:r}){s(Number.isFinite(e[Z])&&e[Z]>0);this.llhttp=r;this.ptr=this.llhttp.llhttp_alloc(Se.TYPE.RESPONSE);this.client=e;this.socket=t;this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.statusCode=null;this.statusText="";this.upgrade=false;this.headers=[];this.headersSize=0;this.headersMaxSize=e[Z];this.shouldKeepAlive=false;this.paused=false;this.resume=this.resume.bind(this);this.bytesRead=0;this.keepAlive="";this.contentLength="";this.connection="";this.maxResponseSize=e[ge]}setTimeout(e,t){this.timeoutType=t;if(e!==this.timeoutValue){a.clearTimeout(this.timeout);if(e){this.timeout=a.setTimeout(onParserTimeout,e,this);if(this.timeout.unref){this.timeout.unref()}}else{this.timeout=null}this.timeoutValue=e}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}}resume(){if(this.socket.destroyed||!this.paused){return}s(this.ptr!=null);s(Ge==null);this.llhttp.llhttp_resume(this.ptr);s(this.timeoutType===He);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.paused=false;this.execute(this.socket.read()||Ue);this.readMore()}readMore(){while(!this.paused&&this.ptr){const e=this.socket.read();if(e===null){break}this.execute(e)}}execute(e){s(this.ptr!=null);s(Ge==null);s(!this.paused);const{socket:t,llhttp:r}=this;if(e.length>Pe){if(Me){r.free(Me)}Pe=Math.ceil(e.length/4096)*4096;Me=r.malloc(Pe)}new Uint8Array(r.memory.buffer,Me,Pe).set(e);try{let s;try{Le=e;Ge=this;s=r.llhttp_execute(this.ptr,Me,e.length)}catch(e){throw e}finally{Ge=null;Le=null}const o=r.llhttp_get_error_pos(this.ptr)-Me;if(s===Se.ERROR.PAUSED_UPGRADE){this.onUpgrade(e.slice(o))}else if(s===Se.ERROR.PAUSED){this.paused=true;t.unshift(e.slice(o))}else if(s!==Se.ERROR.OK){const t=r.llhttp_get_error_reason(this.ptr);let n="";if(t){const e=new Uint8Array(r.memory.buffer,t).indexOf(0);n="Response does not match the HTTP/1.1 protocol ("+Buffer.from(r.memory.buffer,t,e).toString()+")"}throw new Q(n,Se.ERROR[s],e.slice(o))}}catch(e){i.destroy(t,e)}}destroy(){s(this.ptr!=null);s(Ge==null);this.llhttp.llhttp_free(this.ptr);this.ptr=null;a.clearTimeout(this.timeout);this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.paused=false}onStatus(e){this.statusText=e.toString()}onMessageBegin(){const{socket:e,client:t}=this;if(e.destroyed){return-1}const r=t[L][t[q]];if(!r){return-1}}onHeaderField(e){const t=this.headers.length;if((t&1)===0){this.headers.push(e)}else{this.headers[t-1]=Buffer.concat([this.headers[t-1],e])}this.trackHeader(e.length)}onHeaderValue(e){let t=this.headers.length;if((t&1)===1){this.headers.push(e);t+=1}else{this.headers[t-1]=Buffer.concat([this.headers[t-1],e])}const r=this.headers[t-2];if(r.length===10&&r.toString().toLowerCase()==="keep-alive"){this.keepAlive+=e.toString()}else if(r.length===10&&r.toString().toLowerCase()==="connection"){this.connection+=e.toString()}else if(r.length===14&&r.toString().toLowerCase()==="content-length"){this.contentLength+=e.toString()}this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e;if(this.headersSize>=this.headersMaxSize){i.destroy(this.socket,new h)}}onUpgrade(e){const{upgrade:t,client:r,socket:o,headers:n,statusCode:A}=this;s(t);const a=r[L][r[q]];s(a);s(!o.destroyed);s(o===r[K]);s(!this.paused);s(a.upgrade||a.method==="CONNECT");this.statusCode=null;this.statusText="";this.shouldKeepAlive=null;s(this.headers.length%2===0);this.headers=[];this.headersSize=0;o.unshift(e);o[_].destroy();o[_]=null;o[k]=null;o[j]=null;o.removeListener("error",onSocketError).removeListener("readable",onSocketReadable).removeListener("end",onSocketEnd).removeListener("close",onSocketClose);r[K]=null;r[L][r[q]++]=null;r.emit("disconnect",r[b],[r],new m("upgrade"));try{a.onUpgrade(A,n,o)}catch(e){i.destroy(o,e)}resume(r)}onHeadersComplete(e,t,r){const{client:o,socket:n,headers:A,statusText:a}=this;if(n.destroyed){return-1}const c=o[L][o[q]];if(!c){return-1}s(!this.upgrade);s(this.statusCode<200);if(e===100){i.destroy(n,new I("bad response",i.getSocketInfo(n)));return-1}if(t&&!c.upgrade){i.destroy(n,new I("bad upgrade",i.getSocketInfo(n)));return-1}s.strictEqual(this.timeoutType,xe);this.statusCode=e;this.shouldKeepAlive=r||c.method==="HEAD"&&!n[R]&&this.connection.toLowerCase()==="keep-alive";if(this.statusCode>=200){const e=c.bodyTimeout!=null?c.bodyTimeout:o[te];this.setTimeout(e,He)}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}if(c.method==="CONNECT"){s(o[U]===1);this.upgrade=true;return 2}if(t){s(o[U]===1);this.upgrade=true;return 2}s(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(this.shouldKeepAlive&&o[W]){const e=this.keepAlive?i.parseKeepAliveTimeout(this.keepAlive):null;if(e!=null){const t=Math.min(e-o[$],o[X]);if(t<=0){n[R]=true}else{o[z]=t}}else{o[z]=o[V]}}else{n[R]=true}const l=c.onHeaders(e,A,this.resume,a)===false;if(c.aborted){return-1}if(c.method==="HEAD"){return 1}if(e<200){return 1}if(n[S]){n[S]=false;resume(o)}return l?Se.ERROR.PAUSED:0}onBody(e){const{client:t,socket:r,statusCode:o,maxResponseSize:n}=this;if(r.destroyed){return-1}const A=t[L][t[q]];s(A);s.strictEqual(this.timeoutType,He);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}s(o>=200);if(n>-1&&this.bytesRead+e.length>n){i.destroy(r,new B);return-1}this.bytesRead+=e.length;if(A.onData(e)===false){return Se.ERROR.PAUSED}}onMessageComplete(){const{client:e,socket:t,statusCode:r,upgrade:o,headers:n,contentLength:A,bytesRead:a,shouldKeepAlive:c}=this;if(t.destroyed&&(!r||c)){return-1}if(o){return}const l=e[L][e[q]];s(l);s(r>=100);this.statusCode=null;this.statusText="";this.bytesRead=0;this.contentLength="";this.keepAlive="";this.connection="";s(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(r<200){return}if(l.method!=="HEAD"&&A&&a!==parseInt(A,10)){i.destroy(t,new g);return-1}l.onComplete(n);e[L][e[q]++]=null;if(t[G]){s.strictEqual(e[U],0);i.destroy(t,new m("reset"));return Se.ERROR.PAUSED}else if(!c){i.destroy(t,new m("reset"));return Se.ERROR.PAUSED}else if(t[R]&&e[U]===0){i.destroy(t,new m("reset"));return Se.ERROR.PAUSED}else if(e[W]===1){setImmediate(resume,e)}else{resume(e)}}}function onParserTimeout(e){const{socket:t,timeoutType:r,client:o}=e;if(r===xe){if(!t[G]||t.writableNeedDrain||o[U]>1){s(!e.paused,"cannot be paused while waiting for headers");i.destroy(t,new E)}}else if(r===He){if(!e.paused){i.destroy(t,new C)}}else if(r===Ve){s(o[U]===0&&o[z]);i.destroy(t,new m("socket idle timeout"))}}function onSocketReadable(){const{[_]:e}=this;if(e){e.readMore()}}function onSocketError(e){const{[k]:t,[_]:r}=this;s(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID");if(t[pe]!=="h2"){if(e.code==="ECONNRESET"&&r.statusCode&&!r.shouldKeepAlive){r.onMessageComplete();return}}this[j]=e;onError(this[k],e)}function onError(e,t){if(e[U]===0&&t.code!=="UND_ERR_INFO"&&t.code!=="UND_ERR_SOCKET"){s(e[J]===e[q]);const r=e[L].splice(e[q]);for(let s=0;s<r.length;s++){const o=r[s];errorRequest(e,o,t)}s(e[O]===0)}}function onSocketEnd(){const{[_]:e,[k]:t}=this;if(t[pe]!=="h2"){if(e.statusCode&&!e.shouldKeepAlive){e.onMessageComplete();return}}i.destroy(this,new I("other side closed",i.getSocketInfo(this)))}function onSocketClose(){const{[k]:e,[_]:t}=this;if(e[pe]==="h1"&&t){if(!this[j]&&t.statusCode&&!t.shouldKeepAlive){t.onMessageComplete()}this[_].destroy();this[_]=null}const r=this[j]||new I("closed",i.getSocketInfo(this));e[K]=null;if(e.destroyed){s(e[N]===0);const t=e[L].splice(e[q]);for(let s=0;s<t.length;s++){const o=t[s];errorRequest(e,o,r)}}else if(e[U]>0&&r.code!=="UND_ERR_INFO"){const t=e[L][e[q]];e[L][e[q]++]=null;errorRequest(e,t,r)}e[J]=e[q];s(e[U]===0);e.emit("disconnect",e[b],[e],r);resume(e)}async function connect(e){s(!e[M]);s(!e[K]);let{host:t,hostname:r,protocol:n,port:A}=e[b];if(r[0]==="["){const e=r.indexOf("]");s(e!==-1);const t=r.substring(1,e);s(o.isIP(t));r=t}e[M]=true;if(Fe.beforeConnect.hasSubscribers){Fe.beforeConnect.publish({connectParams:{host:t,hostname:r,protocol:n,port:A,servername:e[T],localAddress:e[ue]},connector:e[se]})}try{const o=await new Promise(((s,o)=>{e[se]({host:t,hostname:r,protocol:n,port:A,servername:e[T],localAddress:e[ue]},((e,t)=>{if(e){o(e)}else{s(t)}}))}));if(e.destroyed){i.destroy(o.on("error",(()=>{})),new y);return}e[M]=false;s(o);const a=o.alpnProtocol==="h2";if(a){if(!ke){ke=true;process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"})}const t=Ce.connect(e[b],{createConnection:()=>o,peerMaxConcurrentStreams:e[he].maxConcurrentStreams});e[pe]="h2";t[k]=e;t[K]=o;t.on("error",onHttp2SessionError);t.on("frameError",onHttp2FrameError);t.on("end",onHttp2SessionEnd);t.on("goaway",onHTTP2GoAway);t.on("close",onSocketClose);t.unref();e[Ee]=t;o[Ee]=t}else{if(!Ne){Ne=await Oe;Oe=null}o[H]=false;o[G]=false;o[R]=false;o[S]=false;o[_]=new Parser(e,o,Ne)}o[Ae]=0;o[ne]=e[ne];o[k]=e;o[j]=null;o.on("error",onSocketError).on("readable",onSocketReadable).on("end",onSocketEnd).on("close",onSocketClose);e[K]=o;if(Fe.connected.hasSubscribers){Fe.connected.publish({connectParams:{host:t,hostname:r,protocol:n,port:A,servername:e[T],localAddress:e[ue]},connector:e[se],socket:o})}e.emit("connect",e[b],[e])}catch(o){if(e.destroyed){return}e[M]=false;if(Fe.connectError.hasSubscribers){Fe.connectError.publish({connectParams:{host:t,hostname:r,protocol:n,port:A,servername:e[T],localAddress:e[ue]},connector:e[se],error:o})}if(o.code==="ERR_TLS_CERT_ALTNAME_INVALID"){s(e[U]===0);while(e[N]>0&&e[L][e[J]].servername===e[T]){const t=e[L][e[J]++];errorRequest(e,t,o)}}else{onError(e,o)}e.emit("connectionError",e[b],[e],o)}resume(e)}function emitDrain(e){e[x]=0;e.emit("drain",e[b],[e])}function resume(e,t){if(e[v]===2){return}e[v]=2;_resume(e,t);e[v]=0;if(e[q]>256){e[L].splice(0,e[q]);e[J]-=e[q];e[q]=0}}function _resume(e,t){while(true){if(e.destroyed){s(e[N]===0);return}if(e[_e]&&!e[O]){e[_e]();e[_e]=null;return}const r=e[K];if(r&&!r.destroyed&&r.alpnProtocol!=="h2"){if(e[O]===0){if(!r[H]&&r.unref){r.unref();r[H]=true}}else if(r[H]&&r.ref){r.ref();r[H]=false}if(e[O]===0){if(r[_].timeoutType!==Ve){r[_].setTimeout(e[z],Ve)}}else if(e[U]>0&&r[_].statusCode<200){if(r[_].timeoutType!==xe){const t=e[L][e[q]];const s=t.headersTimeout!=null?t.headersTimeout:e[ee];r[_].setTimeout(s,xe)}}}if(e[D]){e[x]=2}else if(e[x]===2){if(t){e[x]=1;process.nextTick(emitDrain,e)}else{emitDrain(e)}continue}if(e[N]===0){return}if(e[U]>=(e[W]||1)){return}const o=e[L][e[J]];if(e[b].protocol==="https:"&&e[T]!==o.servername){if(e[U]>0){return}e[T]=o.servername;if(r&&r.servername!==o.servername){i.destroy(r,new m("servername changed"));return}}if(e[M]){return}if(!r&&!e[Ee]){connect(e);return}if(r.destroyed||r[G]||r[R]||r[S]){return}if(e[U]>0&&!o.idempotent){return}if(e[U]>0&&(o.upgrade||o.method==="CONNECT")){return}if(e[U]>0&&i.bodyLength(o.body)!==0&&(i.isStream(o.body)||i.isAsyncIterable(o.body))){return}if(!o.aborted&&write(e,o)){e[J]++}else{e[L].splice(e[J],1)}}}function shouldSendContentLength(e){return e!=="GET"&&e!=="HEAD"&&e!=="OPTIONS"&&e!=="TRACE"&&e!=="CONNECT"}function write(e,t){if(e[pe]==="h2"){writeH2(e,e[Ee],t);return}const{body:r,method:o,path:n,host:A,upgrade:a,headers:c,blocking:l,reset:g}=t;const p=o==="PUT"||o==="POST"||o==="PATCH";if(r&&typeof r.read==="function"){r.read(0)}const E=i.bodyLength(r);let h=E;if(h===null){h=t.contentLength}if(h===0&&!p){h=null}if(shouldSendContentLength(o)&&h>0&&t.contentLength!==null&&t.contentLength!==h){if(e[re]){errorRequest(e,t,new u);return false}process.emitWarning(new u)}const I=e[K];try{t.onConnect((r=>{if(t.aborted||t.completed){return}errorRequest(e,t,r||new d);i.destroy(I,new m("aborted"))}))}catch(r){errorRequest(e,t,r)}if(t.aborted){return false}if(o==="HEAD"){I[R]=true}if(a||o==="CONNECT"){I[R]=true}if(g!=null){I[R]=g}if(e[ne]&&I[Ae]++>=e[ne]){I[R]=true}if(l){I[S]=true}let C=`${o} ${n} HTTP/1.1\r\n`;if(typeof A==="string"){C+=`host: ${A}\r\n`}else{C+=e[Y]}if(a){C+=`connection: upgrade\r\nupgrade: ${a}\r\n`}else if(e[W]&&!I[R]){C+="connection: keep-alive\r\n"}else{C+="connection: close\r\n"}if(c){C+=c}if(Fe.sendHeaders.hasSubscribers){Fe.sendHeaders.publish({request:t,headers:C,socket:I})}if(!r||E===0){if(h===0){I.write(`${C}content-length: 0\r\n\r\n`,"latin1")}else{s(h===null,"no body must not have content length");I.write(`${C}\r\n`,"latin1")}t.onRequestSent()}else if(i.isBuffer(r)){s(h===r.byteLength,"buffer body must have content length");I.cork();I.write(`${C}content-length: ${h}\r\n\r\n`,"latin1");I.write(r);I.uncork();t.onBodySent(r);t.onRequestSent();if(!p){I[R]=true}}else if(i.isBlobLike(r)){if(typeof r.stream==="function"){writeIterable({body:r.stream(),client:e,request:t,socket:I,contentLength:h,header:C,expectsPayload:p})}else{writeBlob({body:r,client:e,request:t,socket:I,contentLength:h,header:C,expectsPayload:p})}}else if(i.isStream(r)){writeStream({body:r,client:e,request:t,socket:I,contentLength:h,header:C,expectsPayload:p})}else if(i.isIterable(r)){writeIterable({body:r,client:e,request:t,socket:I,contentLength:h,header:C,expectsPayload:p})}else{s(false)}return true}function writeH2(e,t,r){const{body:o,method:n,path:A,host:a,upgrade:l,expectContinue:g,signal:p,headers:E}=r;let h;if(typeof E==="string")h=c[Ie](E.trim());else h=E;if(l){errorRequest(e,r,new Error("Upgrade not supported for H2"));return false}try{r.onConnect((t=>{if(r.aborted||r.completed){return}errorRequest(e,r,t||new d)}))}catch(t){errorRequest(e,r,t)}if(r.aborted){return false}let I;const C=e[he];h[Qe]=a||e[de];h[Be]=n;if(n==="CONNECT"){t.ref();I=t.request(h,{endStream:false,signal:p});if(I.id&&!I.pending){r.onUpgrade(null,null,I);++C.openStreams}else{I.once("ready",(()=>{r.onUpgrade(null,null,I);++C.openStreams}))}I.once("close",(()=>{C.openStreams-=1;if(C.openStreams===0)t.unref()}));return true}h[ye]=A;h[we]="https";const Q=n==="PUT"||n==="POST"||n==="PATCH";if(o&&typeof o.read==="function"){o.read(0)}let B=i.bodyLength(o);if(B==null){B=r.contentLength}if(B===0||!Q){B=null}if(shouldSendContentLength(n)&&B>0&&r.contentLength!=null&&r.contentLength!==B){if(e[re]){errorRequest(e,r,new u);return false}process.emitWarning(new u)}if(B!=null){s(o,"no body must not have content length");h[be]=`${B}`}t.ref();const y=n==="GET"||n==="HEAD";if(g){h[Re]="100-continue";I=t.request(h,{endStream:y,signal:p});I.once("continue",writeBodyH2)}else{I=t.request(h,{endStream:y,signal:p});writeBodyH2()}++C.openStreams;I.once("response",(e=>{const{[Te]:t,...s}=e;if(r.onHeaders(Number(t),s,I.resume.bind(I),"")===false){I.pause()}}));I.once("end",(()=>{r.onComplete([])}));I.on("data",(e=>{if(r.onData(e)===false){I.pause()}}));I.once("close",(()=>{C.openStreams-=1;if(C.openStreams===0){t.unref()}}));I.once("error",(function(t){if(e[Ee]&&!e[Ee].destroyed&&!this.closed&&!this.destroyed){C.streams-=1;i.destroy(I,t)}}));I.once("frameError",((t,s)=>{const o=new m(`HTTP/2: "frameError" received - type ${t}, code ${s}`);errorRequest(e,r,o);if(e[Ee]&&!e[Ee].destroyed&&!this.closed&&!this.destroyed){C.streams-=1;i.destroy(I,o)}}));return true;function writeBodyH2(){if(!o){r.onRequestSent()}else if(i.isBuffer(o)){s(B===o.byteLength,"buffer body must have content length");I.cork();I.write(o);I.uncork();I.end();r.onBodySent(o);r.onRequestSent()}else if(i.isBlobLike(o)){if(typeof o.stream==="function"){writeIterable({client:e,request:r,contentLength:B,h2stream:I,expectsPayload:Q,body:o.stream(),socket:e[K],header:""})}else{writeBlob({body:o,client:e,request:r,contentLength:B,expectsPayload:Q,h2stream:I,header:"",socket:e[K]})}}else if(i.isStream(o)){writeStream({body:o,client:e,request:r,contentLength:B,expectsPayload:Q,socket:e[K],h2stream:I,header:""})}else if(i.isIterable(o)){writeIterable({body:o,client:e,request:r,contentLength:B,expectsPayload:Q,header:"",h2stream:I,socket:e[K]})}else{s(false)}}}function writeStream({h2stream:e,body:t,client:r,request:o,socket:n,contentLength:a,header:c,expectsPayload:l}){s(a!==0||r[U]===0,"stream body cannot be pipelined");if(r[pe]==="h2"){const p=A(t,e,(r=>{if(r){i.destroy(t,r);i.destroy(e,r)}else{o.onRequestSent()}}));p.on("data",onPipeData);p.once("end",(()=>{p.removeListener("data",onPipeData);i.destroy(p)}));function onPipeData(e){o.onBodySent(e)}return}let u=false;const g=new AsyncWriter({socket:n,request:o,contentLength:a,client:r,expectsPayload:l,header:c});const onData=function(e){if(u){return}try{if(!g.write(e)&&this.pause){this.pause()}}catch(e){i.destroy(this,e)}};const onDrain=function(){if(u){return}if(t.resume){t.resume()}};const onAbort=function(){if(u){return}const e=new d;queueMicrotask((()=>onFinished(e)))};const onFinished=function(e){if(u){return}u=true;s(n.destroyed||n[G]&&r[U]<=1);n.off("drain",onDrain).off("error",onFinished);t.removeListener("data",onData).removeListener("end",onFinished).removeListener("error",onFinished).removeListener("close",onAbort);if(!e){try{g.end()}catch(t){e=t}}g.destroy(e);if(e&&(e.code!=="UND_ERR_INFO"||e.message!=="reset")){i.destroy(t,e)}else{i.destroy(t)}};t.on("data",onData).on("end",onFinished).on("error",onFinished).on("close",onAbort);if(t.resume){t.resume()}n.on("drain",onDrain).on("error",onFinished)}async function writeBlob({h2stream:e,body:t,client:r,request:o,socket:n,contentLength:A,header:a,expectsPayload:c}){s(A===t.size,"blob body must have content length");const l=r[pe]==="h2";try{if(A!=null&&A!==t.size){throw new u}const s=Buffer.from(await t.arrayBuffer());if(l){e.cork();e.write(s);e.uncork()}else{n.cork();n.write(`${a}content-length: ${A}\r\n\r\n`,"latin1");n.write(s);n.uncork()}o.onBodySent(s);o.onRequestSent();if(!c){n[R]=true}resume(r)}catch(t){i.destroy(l?e:n,t)}}async function writeIterable({h2stream:e,body:t,client:r,request:o,socket:n,contentLength:A,header:i,expectsPayload:a}){s(A!==0||r[U]===0,"iterator body cannot be pipelined");let c=null;function onDrain(){if(c){const e=c;c=null;e()}}const waitForDrain=()=>new Promise(((e,t)=>{s(c===null);if(n[j]){t(n[j])}else{c=e}}));if(r[pe]==="h2"){e.on("close",onDrain).on("drain",onDrain);try{for await(const r of t){if(n[j]){throw n[j]}const t=e.write(r);o.onBodySent(r);if(!t){await waitForDrain()}}}catch(t){e.destroy(t)}finally{o.onRequestSent();e.end();e.off("close",onDrain).off("drain",onDrain)}return}n.on("close",onDrain).on("drain",onDrain);const l=new AsyncWriter({socket:n,request:o,contentLength:A,client:r,expectsPayload:a,header:i});try{for await(const e of t){if(n[j]){throw n[j]}if(!l.write(e)){await waitForDrain()}}l.end()}catch(e){l.destroy(e)}finally{n.off("close",onDrain).off("drain",onDrain)}}class AsyncWriter{constructor({socket:e,request:t,contentLength:r,client:s,expectsPayload:o,header:n}){this.socket=e;this.request=t;this.contentLength=r;this.client=s;this.bytesWritten=0;this.expectsPayload=o;this.header=n;e[G]=true}write(e){const{socket:t,request:r,contentLength:s,client:o,bytesWritten:n,expectsPayload:A,header:i}=this;if(t[j]){throw t[j]}if(t.destroyed){return false}const a=Buffer.byteLength(e);if(!a){return true}if(s!==null&&n+a>s){if(o[re]){throw new u}process.emitWarning(new u)}t.cork();if(n===0){if(!A){t[R]=true}if(s===null){t.write(`${i}transfer-encoding: chunked\r\n`,"latin1")}else{t.write(`${i}content-length: ${s}\r\n\r\n`,"latin1")}}if(s===null){t.write(`\r\n${a.toString(16)}\r\n`,"latin1")}this.bytesWritten+=a;const c=t.write(e);t.uncork();r.onBodySent(e);if(!c){if(t[_].timeout&&t[_].timeoutType===xe){if(t[_].timeout.refresh){t[_].timeout.refresh()}}}return c}end(){const{socket:e,contentLength:t,client:r,bytesWritten:s,expectsPayload:o,header:n,request:A}=this;A.onRequestSent();e[G]=false;if(e[j]){throw e[j]}if(e.destroyed){return}if(s===0){if(o){e.write(`${n}content-length: 0\r\n\r\n`,"latin1")}else{e.write(`${n}\r\n`,"latin1")}}else if(t===null){e.write("\r\n0\r\n\r\n","latin1")}if(t!==null&&s!==t){if(r[re]){throw new u}else{process.emitWarning(new u)}}if(e[_].timeout&&e[_].timeoutType===xe){if(e[_].timeout.refresh){e[_].timeout.refresh()}}resume(r)}destroy(e){const{socket:t,client:r}=this;t[G]=false;if(e){s(r[U]<=1,"pipeline should only contain this request");i.destroy(t,e)}}}function errorRequest(e,t,r){try{t.onError(r);s(t.aborted)}catch(r){e.emit("error",r)}}e.exports=Client},3194:(e,t,r)=>{const{kConnected:s,kSize:o}=r(6443);class CompatWeakRef{constructor(e){this.value=e}deref(){return this.value[s]===0&&this.value[o]===0?undefined:this.value}}class CompatFinalizer{constructor(e){this.finalizer=e}register(e,t){if(e.on){e.on("disconnect",(()=>{if(e[s]===0&&e[o]===0){this.finalizer(t)}}))}}}e.exports=function(){if(process.env.NODE_V8_COVERAGE){return{WeakRef:CompatWeakRef,FinalizationRegistry:CompatFinalizer}}return{WeakRef:global.WeakRef||CompatWeakRef,FinalizationRegistry:global.FinalizationRegistry||CompatFinalizer}}},9237:e=>{const t=1024;const r=4096;e.exports={maxAttributeValueSize:t,maxNameValuePairSize:r}},3168:(e,t,r)=>{const{parseSetCookie:s}=r(8915);const{stringify:o,getHeadersList:n}=r(3834);const{webidl:A}=r(4222);const{Headers:i}=r(6349);function getCookies(e){A.argumentLengthCheck(arguments,1,{header:"getCookies"});A.brandCheck(e,i,{strict:false});const t=e.get("cookie");const r={};if(!t){return r}for(const e of t.split(";")){const[t,...s]=e.split("=");r[t.trim()]=s.join("=")}return r}function deleteCookie(e,t,r){A.argumentLengthCheck(arguments,2,{header:"deleteCookie"});A.brandCheck(e,i,{strict:false});t=A.converters.DOMString(t);r=A.converters.DeleteCookieAttributes(r);setCookie(e,{name:t,value:"",expires:new Date(0),...r})}function getSetCookies(e){A.argumentLengthCheck(arguments,1,{header:"getSetCookies"});A.brandCheck(e,i,{strict:false});const t=n(e).cookies;if(!t){return[]}return t.map((e=>s(Array.isArray(e)?e[1]:e)))}function setCookie(e,t){A.argumentLengthCheck(arguments,2,{header:"setCookie"});A.brandCheck(e,i,{strict:false});t=A.converters.Cookie(t);const r=o(t);if(r){e.append("Set-Cookie",o(t))}}A.converters.DeleteCookieAttributes=A.dictionaryConverter([{converter:A.nullableConverter(A.converters.DOMString),key:"path",defaultValue:null},{converter:A.nullableConverter(A.converters.DOMString),key:"domain",defaultValue:null}]);A.converters.Cookie=A.dictionaryConverter([{converter:A.converters.DOMString,key:"name"},{converter:A.converters.DOMString,key:"value"},{converter:A.nullableConverter((e=>{if(typeof e==="number"){return A.converters["unsigned long long"](e)}return new Date(e)})),key:"expires",defaultValue:null},{converter:A.nullableConverter(A.converters["long long"]),key:"maxAge",defaultValue:null},{converter:A.nullableConverter(A.converters.DOMString),key:"domain",defaultValue:null},{converter:A.nullableConverter(A.converters.DOMString),key:"path",defaultValue:null},{converter:A.nullableConverter(A.converters.boolean),key:"secure",defaultValue:null},{converter:A.nullableConverter(A.converters.boolean),key:"httpOnly",defaultValue:null},{converter:A.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:A.sequenceConverter(A.converters.DOMString),key:"unparsed",defaultValue:[]}]);e.exports={getCookies:getCookies,deleteCookie:deleteCookie,getSetCookies:getSetCookies,setCookie:setCookie}},8915:(e,t,r)=>{const{maxNameValuePairSize:s,maxAttributeValueSize:o}=r(9237);const{isCTLExcludingHtab:n}=r(3834);const{collectASequenceOfCodePointsFast:A}=r(4322);const i=r(2613);function parseSetCookie(e){if(n(e)){return null}let t="";let r="";let o="";let i="";if(e.includes(";")){const s={position:0};t=A(";",e,s);r=e.slice(s.position)}else{t=e}if(!t.includes("=")){i=t}else{const e={position:0};o=A("=",t,e);i=t.slice(e.position+1)}o=o.trim();i=i.trim();if(o.length+i.length>s){return null}return{name:o,value:i,...parseUnparsedAttributes(r)}}function parseUnparsedAttributes(e,t={}){if(e.length===0){return t}i(e[0]===";");e=e.slice(1);let r="";if(e.includes(";")){r=A(";",e,{position:0});e=e.slice(r.length)}else{r=e;e=""}let s="";let n="";if(r.includes("=")){const e={position:0};s=A("=",r,e);n=r.slice(e.position+1)}else{s=r}s=s.trim();n=n.trim();if(n.length>o){return parseUnparsedAttributes(e,t)}const a=s.toLowerCase();if(a==="expires"){const e=new Date(n);t.expires=e}else if(a==="max-age"){const r=n.charCodeAt(0);if((r<48||r>57)&&n[0]!=="-"){return parseUnparsedAttributes(e,t)}if(!/^\d+$/.test(n)){return parseUnparsedAttributes(e,t)}const s=Number(n);t.maxAge=s}else if(a==="domain"){let e=n;if(e[0]==="."){e=e.slice(1)}e=e.toLowerCase();t.domain=e}else if(a==="path"){let e="";if(n.length===0||n[0]!=="/"){e="/"}else{e=n}t.path=e}else if(a==="secure"){t.secure=true}else if(a==="httponly"){t.httpOnly=true}else if(a==="samesite"){let e="Default";const r=n.toLowerCase();if(r.includes("none")){e="None"}if(r.includes("strict")){e="Strict"}if(r.includes("lax")){e="Lax"}t.sameSite=e}else{t.unparsed??=[];t.unparsed.push(`${s}=${n}`)}return parseUnparsedAttributes(e,t)}e.exports={parseSetCookie:parseSetCookie,parseUnparsedAttributes:parseUnparsedAttributes}},3834:(e,t,r)=>{const s=r(2613);const{kHeadersList:o}=r(6443);function isCTLExcludingHtab(e){if(e.length===0){return false}for(const t of e){const e=t.charCodeAt(0);if(e>=0||e<=8||(e>=10||e<=31)||e===127){return false}}}function validateCookieName(e){for(const t of e){const e=t.charCodeAt(0);if(e<=32||e>127||t==="("||t===")"||t===">"||t==="<"||t==="@"||t===","||t===";"||t===":"||t==="\\"||t==='"'||t==="/"||t==="["||t==="]"||t==="?"||t==="="||t==="{"||t==="}"){throw new Error("Invalid cookie name")}}}function validateCookieValue(e){for(const t of e){const e=t.charCodeAt(0);if(e<33||e===34||e===44||e===59||e===92||e>126){throw new Error("Invalid header value")}}}function validateCookiePath(e){for(const t of e){const e=t.charCodeAt(0);if(e<33||t===";"){throw new Error("Invalid cookie path")}}}function validateCookieDomain(e){if(e.startsWith("-")||e.endsWith(".")||e.endsWith("-")){throw new Error("Invalid cookie domain")}}function toIMFDate(e){if(typeof e==="number"){e=new Date(e)}const t=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];const r=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];const s=t[e.getUTCDay()];const o=e.getUTCDate().toString().padStart(2,"0");const n=r[e.getUTCMonth()];const A=e.getUTCFullYear();const i=e.getUTCHours().toString().padStart(2,"0");const a=e.getUTCMinutes().toString().padStart(2,"0");const c=e.getUTCSeconds().toString().padStart(2,"0");return`${s}, ${o} ${n} ${A} ${i}:${a}:${c} GMT`}function validateCookieMaxAge(e){if(e<0){throw new Error("Invalid cookie max-age")}}function stringify(e){if(e.name.length===0){return null}validateCookieName(e.name);validateCookieValue(e.value);const t=[`${e.name}=${e.value}`];if(e.name.startsWith("__Secure-")){e.secure=true}if(e.name.startsWith("__Host-")){e.secure=true;e.domain=null;e.path="/"}if(e.secure){t.push("Secure")}if(e.httpOnly){t.push("HttpOnly")}if(typeof e.maxAge==="number"){validateCookieMaxAge(e.maxAge);t.push(`Max-Age=${e.maxAge}`)}if(e.domain){validateCookieDomain(e.domain);t.push(`Domain=${e.domain}`)}if(e.path){validateCookiePath(e.path);t.push(`Path=${e.path}`)}if(e.expires&&e.expires.toString()!=="Invalid Date"){t.push(`Expires=${toIMFDate(e.expires)}`)}if(e.sameSite){t.push(`SameSite=${e.sameSite}`)}for(const r of e.unparsed){if(!r.includes("=")){throw new Error("Invalid unparsed")}const[e,...s]=r.split("=");t.push(`${e.trim()}=${s.join("=")}`)}return t.join("; ")}let n;function getHeadersList(e){if(e[o]){return e[o]}if(!n){n=Object.getOwnPropertySymbols(e).find((e=>e.description==="headers list"));s(n,"Headers cannot be parsed")}const t=e[n];s(t);return t}e.exports={isCTLExcludingHtab:isCTLExcludingHtab,stringify:stringify,getHeadersList:getHeadersList}},9136:(e,t,r)=>{const s=r(9278);const o=r(2613);const n=r(3440);const{InvalidArgumentError:A,ConnectTimeoutError:i}=r(8707);let a;let c;if(global.FinalizationRegistry&&!process.env.NODE_V8_COVERAGE){c=class WeakSessionCache{constructor(e){this._maxCachedSessions=e;this._sessionCache=new Map;this._sessionRegistry=new global.FinalizationRegistry((e=>{if(this._sessionCache.size<this._maxCachedSessions){return}const t=this._sessionCache.get(e);if(t!==undefined&&t.deref()===undefined){this._sessionCache.delete(e)}}))}get(e){const t=this._sessionCache.get(e);return t?t.deref():null}set(e,t){if(this._maxCachedSessions===0){return}this._sessionCache.set(e,new WeakRef(t));this._sessionRegistry.register(t,e)}}}else{c=class SimpleSessionCache{constructor(e){this._maxCachedSessions=e;this._sessionCache=new Map}get(e){return this._sessionCache.get(e)}set(e,t){if(this._maxCachedSessions===0){return}if(this._sessionCache.size>=this._maxCachedSessions){const{value:e}=this._sessionCache.keys().next();this._sessionCache.delete(e)}this._sessionCache.set(e,t)}}}function buildConnector({allowH2:e,maxCachedSessions:t,socketPath:i,timeout:l,...u}){if(t!=null&&(!Number.isInteger(t)||t<0)){throw new A("maxCachedSessions must be a positive integer or zero")}const g={path:i,...u};const p=new c(t==null?100:t);l=l==null?1e4:l;e=e!=null?e:false;return function connect({hostname:t,host:A,protocol:i,port:c,servername:u,localAddress:d,httpSocket:E},h){let I;if(i==="https:"){if(!a){a=r(4756)}u=u||g.servername||n.getServerName(A)||null;const s=u||t;const i=p.get(s)||null;o(s);I=a.connect({highWaterMark:16384,...g,servername:u,session:i,localAddress:d,ALPNProtocols:e?["http/1.1","h2"]:["http/1.1"],socket:E,port:c||443,host:t});I.on("session",(function(e){p.set(s,e)}))}else{o(!E,"httpSocket can only be sent on TLS update");I=s.connect({highWaterMark:64*1024,...g,localAddress:d,port:c||80,host:t})}if(g.keepAlive==null||g.keepAlive){const e=g.keepAliveInitialDelay===undefined?6e4:g.keepAliveInitialDelay;I.setKeepAlive(true,e)}const m=setupTimeout((()=>onConnectTimeout(I)),l);I.setNoDelay(true).once(i==="https:"?"secureConnect":"connect",(function(){m();if(h){const e=h;h=null;e(null,this)}})).on("error",(function(e){m();if(h){const t=h;h=null;t(e)}}));return I}}function setupTimeout(e,t){if(!t){return()=>{}}let r=null;let s=null;const o=setTimeout((()=>{r=setImmediate((()=>{if(process.platform==="win32"){s=setImmediate((()=>e()))}else{e()}}))}),t);return()=>{clearTimeout(o);clearImmediate(r);clearImmediate(s)}}function onConnectTimeout(e){n.destroy(e,new i)}e.exports=buildConnector},735:e=>{const t={};const r=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"];for(let e=0;e<r.length;++e){const s=r[e];const o=s.toLowerCase();t[s]=t[o]=o}Object.setPrototypeOf(t,null);e.exports={wellknownHeaderNames:r,headerNameLowerCasedRecord:t}},8707:e=>{class UndiciError extends Error{constructor(e){super(e);this.name="UndiciError";this.code="UND_ERR"}}class ConnectTimeoutError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ConnectTimeoutError);this.name="ConnectTimeoutError";this.message=e||"Connect Timeout Error";this.code="UND_ERR_CONNECT_TIMEOUT"}}class HeadersTimeoutError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,HeadersTimeoutError);this.name="HeadersTimeoutError";this.message=e||"Headers Timeout Error";this.code="UND_ERR_HEADERS_TIMEOUT"}}class HeadersOverflowError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,HeadersOverflowError);this.name="HeadersOverflowError";this.message=e||"Headers Overflow Error";this.code="UND_ERR_HEADERS_OVERFLOW"}}class BodyTimeoutError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,BodyTimeoutError);this.name="BodyTimeoutError";this.message=e||"Body Timeout Error";this.code="UND_ERR_BODY_TIMEOUT"}}class ResponseStatusCodeError extends UndiciError{constructor(e,t,r,s){super(e);Error.captureStackTrace(this,ResponseStatusCodeError);this.name="ResponseStatusCodeError";this.message=e||"Response Status Code Error";this.code="UND_ERR_RESPONSE_STATUS_CODE";this.body=s;this.status=t;this.statusCode=t;this.headers=r}}class InvalidArgumentError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,InvalidArgumentError);this.name="InvalidArgumentError";this.message=e||"Invalid Argument Error";this.code="UND_ERR_INVALID_ARG"}}class InvalidReturnValueError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,InvalidReturnValueError);this.name="InvalidReturnValueError";this.message=e||"Invalid Return Value Error";this.code="UND_ERR_INVALID_RETURN_VALUE"}}class RequestAbortedError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,RequestAbortedError);this.name="AbortError";this.message=e||"Request aborted";this.code="UND_ERR_ABORTED"}}class InformationalError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,InformationalError);this.name="InformationalError";this.message=e||"Request information";this.code="UND_ERR_INFO"}}class RequestContentLengthMismatchError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,RequestContentLengthMismatchError);this.name="RequestContentLengthMismatchError";this.message=e||"Request body length does not match content-length header";this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}}class ResponseContentLengthMismatchError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ResponseContentLengthMismatchError);this.name="ResponseContentLengthMismatchError";this.message=e||"Response body length does not match content-length header";this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}}class ClientDestroyedError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ClientDestroyedError);this.name="ClientDestroyedError";this.message=e||"The client is destroyed";this.code="UND_ERR_DESTROYED"}}class ClientClosedError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ClientClosedError);this.name="ClientClosedError";this.message=e||"The client is closed";this.code="UND_ERR_CLOSED"}}class SocketError extends UndiciError{constructor(e,t){super(e);Error.captureStackTrace(this,SocketError);this.name="SocketError";this.message=e||"Socket error";this.code="UND_ERR_SOCKET";this.socket=t}}class NotSupportedError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,NotSupportedError);this.name="NotSupportedError";this.message=e||"Not supported error";this.code="UND_ERR_NOT_SUPPORTED"}}class BalancedPoolMissingUpstreamError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,NotSupportedError);this.name="MissingUpstreamError";this.message=e||"No upstream has been added to the BalancedPool";this.code="UND_ERR_BPL_MISSING_UPSTREAM"}}class HTTPParserError extends Error{constructor(e,t,r){super(e);Error.captureStackTrace(this,HTTPParserError);this.name="HTTPParserError";this.code=t?`HPE_${t}`:undefined;this.data=r?r.toString():undefined}}class ResponseExceededMaxSizeError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ResponseExceededMaxSizeError);this.name="ResponseExceededMaxSizeError";this.message=e||"Response content exceeded max size";this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}}class RequestRetryError extends UndiciError{constructor(e,t,{headers:r,data:s}){super(e);Error.captureStackTrace(this,RequestRetryError);this.name="RequestRetryError";this.message=e||"Request retry error";this.code="UND_ERR_REQ_RETRY";this.statusCode=t;this.data=s;this.headers=r}}e.exports={HTTPParserError:HTTPParserError,UndiciError:UndiciError,HeadersTimeoutError:HeadersTimeoutError,HeadersOverflowError:HeadersOverflowError,BodyTimeoutError:BodyTimeoutError,RequestContentLengthMismatchError:RequestContentLengthMismatchError,ConnectTimeoutError:ConnectTimeoutError,ResponseStatusCodeError:ResponseStatusCodeError,InvalidArgumentError:InvalidArgumentError,InvalidReturnValueError:InvalidReturnValueError,RequestAbortedError:RequestAbortedError,ClientDestroyedError:ClientDestroyedError,ClientClosedError:ClientClosedError,InformationalError:InformationalError,SocketError:SocketError,NotSupportedError:NotSupportedError,ResponseContentLengthMismatchError:ResponseContentLengthMismatchError,BalancedPoolMissingUpstreamError:BalancedPoolMissingUpstreamError,ResponseExceededMaxSizeError:ResponseExceededMaxSizeError,RequestRetryError:RequestRetryError}},4655:(e,t,r)=>{const{InvalidArgumentError:s,NotSupportedError:o}=r(8707);const n=r(2613);const{kHTTP2BuildRequest:A,kHTTP2CopyHeaders:i,kHTTP1BuildRequest:a}=r(6443);const c=r(3440);const l=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/;const u=/[^\t\x20-\x7e\x80-\xff]/;const g=/[^\u0021-\u00ff]/;const p=Symbol("handler");const d={};let E;try{const e=r(1637);d.create=e.channel("undici:request:create");d.bodySent=e.channel("undici:request:bodySent");d.headers=e.channel("undici:request:headers");d.trailers=e.channel("undici:request:trailers");d.error=e.channel("undici:request:error")}catch{d.create={hasSubscribers:false};d.bodySent={hasSubscribers:false};d.headers={hasSubscribers:false};d.trailers={hasSubscribers:false};d.error={hasSubscribers:false}}class Request{constructor(e,{path:t,method:o,body:n,headers:A,query:i,idempotent:a,blocking:u,upgrade:h,headersTimeout:I,bodyTimeout:m,reset:C,throwOnError:Q,expectContinue:B},y){if(typeof t!=="string"){throw new s("path must be a string")}else if(t[0]!=="/"&&!(t.startsWith("http://")||t.startsWith("https://"))&&o!=="CONNECT"){throw new s("path must be an absolute URL or start with a slash")}else if(g.exec(t)!==null){throw new s("invalid request path")}if(typeof o!=="string"){throw new s("method must be a string")}else if(l.exec(o)===null){throw new s("invalid request method")}if(h&&typeof h!=="string"){throw new s("upgrade must be a string")}if(I!=null&&(!Number.isFinite(I)||I<0)){throw new s("invalid headersTimeout")}if(m!=null&&(!Number.isFinite(m)||m<0)){throw new s("invalid bodyTimeout")}if(C!=null&&typeof C!=="boolean"){throw new s("invalid reset")}if(B!=null&&typeof B!=="boolean"){throw new s("invalid expectContinue")}this.headersTimeout=I;this.bodyTimeout=m;this.throwOnError=Q===true;this.method=o;this.abort=null;if(n==null){this.body=null}else if(c.isStream(n)){this.body=n;const e=this.body._readableState;if(!e||!e.autoDestroy){this.endHandler=function autoDestroy(){c.destroy(this)};this.body.on("end",this.endHandler)}this.errorHandler=e=>{if(this.abort){this.abort(e)}else{this.error=e}};this.body.on("error",this.errorHandler)}else if(c.isBuffer(n)){this.body=n.byteLength?n:null}else if(ArrayBuffer.isView(n)){this.body=n.buffer.byteLength?Buffer.from(n.buffer,n.byteOffset,n.byteLength):null}else if(n instanceof ArrayBuffer){this.body=n.byteLength?Buffer.from(n):null}else if(typeof n==="string"){this.body=n.length?Buffer.from(n):null}else if(c.isFormDataLike(n)||c.isIterable(n)||c.isBlobLike(n)){this.body=n}else{throw new s("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable")}this.completed=false;this.aborted=false;this.upgrade=h||null;this.path=i?c.buildURL(t,i):t;this.origin=e;this.idempotent=a==null?o==="HEAD"||o==="GET":a;this.blocking=u==null?false:u;this.reset=C==null?null:C;this.host=null;this.contentLength=null;this.contentType=null;this.headers="";this.expectContinue=B!=null?B:false;if(Array.isArray(A)){if(A.length%2!==0){throw new s("headers array must be even")}for(let e=0;e<A.length;e+=2){processHeader(this,A[e],A[e+1])}}else if(A&&typeof A==="object"){const e=Object.keys(A);for(let t=0;t<e.length;t++){const r=e[t];processHeader(this,r,A[r])}}else if(A!=null){throw new s("headers must be an object or an array")}if(c.isFormDataLike(this.body)){if(c.nodeMajor<16||c.nodeMajor===16&&c.nodeMinor<8){throw new s("Form-Data bodies are only supported in node v16.8 and newer.")}if(!E){E=r(8923).extractBody}const[e,t]=E(n);if(this.contentType==null){this.contentType=t;this.headers+=`content-type: ${t}\r\n`}this.body=e.stream;this.contentLength=e.length}else if(c.isBlobLike(n)&&this.contentType==null&&n.type){this.contentType=n.type;this.headers+=`content-type: ${n.type}\r\n`}c.validateHandler(y,o,h);this.servername=c.getServerName(this.host);this[p]=y;if(d.create.hasSubscribers){d.create.publish({request:this})}}onBodySent(e){if(this[p].onBodySent){try{return this[p].onBodySent(e)}catch(e){this.abort(e)}}}onRequestSent(){if(d.bodySent.hasSubscribers){d.bodySent.publish({request:this})}if(this[p].onRequestSent){try{return this[p].onRequestSent()}catch(e){this.abort(e)}}}onConnect(e){n(!this.aborted);n(!this.completed);if(this.error){e(this.error)}else{this.abort=e;return this[p].onConnect(e)}}onHeaders(e,t,r,s){n(!this.aborted);n(!this.completed);if(d.headers.hasSubscribers){d.headers.publish({request:this,response:{statusCode:e,headers:t,statusText:s}})}try{return this[p].onHeaders(e,t,r,s)}catch(e){this.abort(e)}}onData(e){n(!this.aborted);n(!this.completed);try{return this[p].onData(e)}catch(e){this.abort(e);return false}}onUpgrade(e,t,r){n(!this.aborted);n(!this.completed);return this[p].onUpgrade(e,t,r)}onComplete(e){this.onFinally();n(!this.aborted);this.completed=true;if(d.trailers.hasSubscribers){d.trailers.publish({request:this,trailers:e})}try{return this[p].onComplete(e)}catch(e){this.onError(e)}}onError(e){this.onFinally();if(d.error.hasSubscribers){d.error.publish({request:this,error:e})}if(this.aborted){return}this.aborted=true;return this[p].onError(e)}onFinally(){if(this.errorHandler){this.body.off("error",this.errorHandler);this.errorHandler=null}if(this.endHandler){this.body.off("end",this.endHandler);this.endHandler=null}}addHeader(e,t){processHeader(this,e,t);return this}static[a](e,t,r){return new Request(e,t,r)}static[A](e,t,r){const o=t.headers;t={...t,headers:null};const n=new Request(e,t,r);n.headers={};if(Array.isArray(o)){if(o.length%2!==0){throw new s("headers array must be even")}for(let e=0;e<o.length;e+=2){processHeader(n,o[e],o[e+1],true)}}else if(o&&typeof o==="object"){const e=Object.keys(o);for(let t=0;t<e.length;t++){const r=e[t];processHeader(n,r,o[r],true)}}else if(o!=null){throw new s("headers must be an object or an array")}return n}static[i](e){const t=e.split("\r\n");const r={};for(const e of t){const[t,s]=e.split(": ");if(s==null||s.length===0)continue;if(r[t])r[t]+=`,${s}`;else r[t]=s}return r}}function processHeaderValue(e,t,r){if(t&&typeof t==="object"){throw new s(`invalid ${e} header`)}t=t!=null?`${t}`:"";if(u.exec(t)!==null){throw new s(`invalid ${e} header`)}return r?t:`${e}: ${t}\r\n`}function processHeader(e,t,r,n=false){if(r&&(typeof r==="object"&&!Array.isArray(r))){throw new s(`invalid ${t} header`)}else if(r===undefined){return}if(e.host===null&&t.length===4&&t.toLowerCase()==="host"){if(u.exec(r)!==null){throw new s(`invalid ${t} header`)}e.host=r}else if(e.contentLength===null&&t.length===14&&t.toLowerCase()==="content-length"){e.contentLength=parseInt(r,10);if(!Number.isFinite(e.contentLength)){throw new s("invalid content-length header")}}else if(e.contentType===null&&t.length===12&&t.toLowerCase()==="content-type"){e.contentType=r;if(n)e.headers[t]=processHeaderValue(t,r,n);else e.headers+=processHeaderValue(t,r)}else if(t.length===17&&t.toLowerCase()==="transfer-encoding"){throw new s("invalid transfer-encoding header")}else if(t.length===10&&t.toLowerCase()==="connection"){const t=typeof r==="string"?r.toLowerCase():null;if(t!=="close"&&t!=="keep-alive"){throw new s("invalid connection header")}else if(t==="close"){e.reset=true}}else if(t.length===10&&t.toLowerCase()==="keep-alive"){throw new s("invalid keep-alive header")}else if(t.length===7&&t.toLowerCase()==="upgrade"){throw new s("invalid upgrade header")}else if(t.length===6&&t.toLowerCase()==="expect"){throw new o("expect header not supported")}else if(l.exec(t)===null){throw new s("invalid header key")}else{if(Array.isArray(r)){for(let s=0;s<r.length;s++){if(n){if(e.headers[t])e.headers[t]+=`,${processHeaderValue(t,r[s],n)}`;else e.headers[t]=processHeaderValue(t,r[s],n)}else{e.headers+=processHeaderValue(t,r[s])}}}else{if(n)e.headers[t]=processHeaderValue(t,r,n);else e.headers+=processHeaderValue(t,r)}}}e.exports=Request},6443:e=>{e.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kHeadersList:Symbol("headers list"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kHTTP2BuildRequest:Symbol("http2 build request"),kHTTP1BuildRequest:Symbol("http1 build request"),kHTTP2CopyHeaders:Symbol("http2 copy headers"),kHTTPConnVersion:Symbol("http connection version"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable")}},3440:(e,t,r)=>{const s=r(2613);const{kDestroyed:o,kBodyUsed:n}=r(6443);const{IncomingMessage:A}=r(8611);const i=r(2203);const a=r(9278);const{InvalidArgumentError:c}=r(8707);const{Blob:l}=r(181);const u=r(9023);const{stringify:g}=r(3480);const{headerNameLowerCasedRecord:p}=r(735);const[d,E]=process.versions.node.split(".").map((e=>Number(e)));function nop(){}function isStream(e){return e&&typeof e==="object"&&typeof e.pipe==="function"&&typeof e.on==="function"}function isBlobLike(e){return l&&e instanceof l||e&&typeof e==="object"&&(typeof e.stream==="function"||typeof e.arrayBuffer==="function")&&/^(Blob|File)$/.test(e[Symbol.toStringTag])}function buildURL(e,t){if(e.includes("?")||e.includes("#")){throw new Error('Query params cannot be passed when url already contains "?" or "#".')}const r=g(t);if(r){e+="?"+r}return e}function parseURL(e){if(typeof e==="string"){e=new URL(e);if(!/^https?:/.test(e.origin||e.protocol)){throw new c("Invalid URL protocol: the URL must start with `http:` or `https:`.")}return e}if(!e||typeof e!=="object"){throw new c("Invalid URL: The URL argument must be a non-null object.")}if(!/^https?:/.test(e.origin||e.protocol)){throw new c("Invalid URL protocol: the URL must start with `http:` or `https:`.")}if(!(e instanceof URL)){if(e.port!=null&&e.port!==""&&!Number.isFinite(parseInt(e.port))){throw new c("Invalid URL: port must be a valid integer or a string representation of an integer.")}if(e.path!=null&&typeof e.path!=="string"){throw new c("Invalid URL path: the path must be a string or null/undefined.")}if(e.pathname!=null&&typeof e.pathname!=="string"){throw new c("Invalid URL pathname: the pathname must be a string or null/undefined.")}if(e.hostname!=null&&typeof e.hostname!=="string"){throw new c("Invalid URL hostname: the hostname must be a string or null/undefined.")}if(e.origin!=null&&typeof e.origin!=="string"){throw new c("Invalid URL origin: the origin must be a string or null/undefined.")}const t=e.port!=null?e.port:e.protocol==="https:"?443:80;let r=e.origin!=null?e.origin:`${e.protocol}//${e.hostname}:${t}`;let s=e.path!=null?e.path:`${e.pathname||""}${e.search||""}`;if(r.endsWith("/")){r=r.substring(0,r.length-1)}if(s&&!s.startsWith("/")){s=`/${s}`}e=new URL(r+s)}return e}function parseOrigin(e){e=parseURL(e);if(e.pathname!=="/"||e.search||e.hash){throw new c("invalid url")}return e}function getHostname(e){if(e[0]==="["){const t=e.indexOf("]");s(t!==-1);return e.substring(1,t)}const t=e.indexOf(":");if(t===-1)return e;return e.substring(0,t)}function getServerName(e){if(!e){return null}s.strictEqual(typeof e,"string");const t=getHostname(e);if(a.isIP(t)){return""}return t}function deepClone(e){return JSON.parse(JSON.stringify(e))}function isAsyncIterable(e){return!!(e!=null&&typeof e[Symbol.asyncIterator]==="function")}function isIterable(e){return!!(e!=null&&(typeof e[Symbol.iterator]==="function"||typeof e[Symbol.asyncIterator]==="function"))}function bodyLength(e){if(e==null){return 0}else if(isStream(e)){const t=e._readableState;return t&&t.objectMode===false&&t.ended===true&&Number.isFinite(t.length)?t.length:null}else if(isBlobLike(e)){return e.size!=null?e.size:null}else if(isBuffer(e)){return e.byteLength}return null}function isDestroyed(e){return!e||!!(e.destroyed||e[o])}function isReadableAborted(e){const t=e&&e._readableState;return isDestroyed(e)&&t&&!t.endEmitted}function destroy(e,t){if(e==null||!isStream(e)||isDestroyed(e)){return}if(typeof e.destroy==="function"){if(Object.getPrototypeOf(e).constructor===A){e.socket=null}e.destroy(t)}else if(t){process.nextTick(((e,t)=>{e.emit("error",t)}),e,t)}if(e.destroyed!==true){e[o]=true}}const h=/timeout=(\d+)/;function parseKeepAliveTimeout(e){const t=e.toString().match(h);return t?parseInt(t[1],10)*1e3:null}function headerNameToString(e){return p[e]||e.toLowerCase()}function parseHeaders(e,t={}){if(!Array.isArray(e))return e;for(let r=0;r<e.length;r+=2){const s=e[r].toString().toLowerCase();let o=t[s];if(!o){if(Array.isArray(e[r+1])){t[s]=e[r+1].map((e=>e.toString("utf8")))}else{t[s]=e[r+1].toString("utf8")}}else{if(!Array.isArray(o)){o=[o];t[s]=o}o.push(e[r+1].toString("utf8"))}}if("content-length"in t&&"content-disposition"in t){t["content-disposition"]=Buffer.from(t["content-disposition"]).toString("latin1")}return t}function parseRawHeaders(e){const t=[];let r=false;let s=-1;for(let o=0;o<e.length;o+=2){const n=e[o+0].toString();const A=e[o+1].toString("utf8");if(n.length===14&&(n==="content-length"||n.toLowerCase()==="content-length")){t.push(n,A);r=true}else if(n.length===19&&(n==="content-disposition"||n.toLowerCase()==="content-disposition")){s=t.push(n,A)-1}else{t.push(n,A)}}if(r&&s!==-1){t[s]=Buffer.from(t[s]).toString("latin1")}return t}function isBuffer(e){return e instanceof Uint8Array||Buffer.isBuffer(e)}function validateHandler(e,t,r){if(!e||typeof e!=="object"){throw new c("handler must be an object")}if(typeof e.onConnect!=="function"){throw new c("invalid onConnect method")}if(typeof e.onError!=="function"){throw new c("invalid onError method")}if(typeof e.onBodySent!=="function"&&e.onBodySent!==undefined){throw new c("invalid onBodySent method")}if(r||t==="CONNECT"){if(typeof e.onUpgrade!=="function"){throw new c("invalid onUpgrade method")}}else{if(typeof e.onHeaders!=="function"){throw new c("invalid onHeaders method")}if(typeof e.onData!=="function"){throw new c("invalid onData method")}if(typeof e.onComplete!=="function"){throw new c("invalid onComplete method")}}}function isDisturbed(e){return!!(e&&(i.isDisturbed?i.isDisturbed(e)||e[n]:e[n]||e.readableDidRead||e._readableState&&e._readableState.dataEmitted||isReadableAborted(e)))}function isErrored(e){return!!(e&&(i.isErrored?i.isErrored(e):/state: 'errored'/.test(u.inspect(e))))}function isReadable(e){return!!(e&&(i.isReadable?i.isReadable(e):/state: 'readable'/.test(u.inspect(e))))}function getSocketInfo(e){return{localAddress:e.localAddress,localPort:e.localPort,remoteAddress:e.remoteAddress,remotePort:e.remotePort,remoteFamily:e.remoteFamily,timeout:e.timeout,bytesWritten:e.bytesWritten,bytesRead:e.bytesRead}}async function*convertIterableToBuffer(e){for await(const t of e){yield Buffer.isBuffer(t)?t:Buffer.from(t)}}let I;function ReadableStreamFrom(e){if(!I){I=r(3774).ReadableStream}if(I.from){return I.from(convertIterableToBuffer(e))}let t;return new I({async start(){t=e[Symbol.asyncIterator]()},async pull(e){const{done:r,value:s}=await t.next();if(r){queueMicrotask((()=>{e.close()}))}else{const t=Buffer.isBuffer(s)?s:Buffer.from(s);e.enqueue(new Uint8Array(t))}return e.desiredSize>0},async cancel(e){await t.return()}},0)}function isFormDataLike(e){return e&&typeof e==="object"&&typeof e.append==="function"&&typeof e.delete==="function"&&typeof e.get==="function"&&typeof e.getAll==="function"&&typeof e.has==="function"&&typeof e.set==="function"&&e[Symbol.toStringTag]==="FormData"}function throwIfAborted(e){if(!e){return}if(typeof e.throwIfAborted==="function"){e.throwIfAborted()}else{if(e.aborted){const e=new Error("The operation was aborted");e.name="AbortError";throw e}}}function addAbortListener(e,t){if("addEventListener"in e){e.addEventListener("abort",t,{once:true});return()=>e.removeEventListener("abort",t)}e.addListener("abort",t);return()=>e.removeListener("abort",t)}const m=!!String.prototype.toWellFormed;function toUSVString(e){if(m){return`${e}`.toWellFormed()}else if(u.toUSVString){return u.toUSVString(e)}return`${e}`}function parseRangeHeader(e){if(e==null||e==="")return{start:0,end:null,size:null};const t=e?e.match(/^bytes (\d+)-(\d+)\/(\d+)?$/):null;return t?{start:parseInt(t[1]),end:t[2]?parseInt(t[2]):null,size:t[3]?parseInt(t[3]):null}:null}const C=Object.create(null);C.enumerable=true;e.exports={kEnumerableProperty:C,nop:nop,isDisturbed:isDisturbed,isErrored:isErrored,isReadable:isReadable,toUSVString:toUSVString,isReadableAborted:isReadableAborted,isBlobLike:isBlobLike,parseOrigin:parseOrigin,parseURL:parseURL,getServerName:getServerName,isStream:isStream,isIterable:isIterable,isAsyncIterable:isAsyncIterable,isDestroyed:isDestroyed,headerNameToString:headerNameToString,parseRawHeaders:parseRawHeaders,parseHeaders:parseHeaders,parseKeepAliveTimeout:parseKeepAliveTimeout,destroy:destroy,bodyLength:bodyLength,deepClone:deepClone,ReadableStreamFrom:ReadableStreamFrom,isBuffer:isBuffer,validateHandler:validateHandler,getSocketInfo:getSocketInfo,isFormDataLike:isFormDataLike,buildURL:buildURL,throwIfAborted:throwIfAborted,addAbortListener:addAbortListener,parseRangeHeader:parseRangeHeader,nodeMajor:d,nodeMinor:E,nodeHasAutoSelectFamily:d>18||d===18&&E>=13,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"]}},1:(e,t,r)=>{const s=r(992);const{ClientDestroyedError:o,ClientClosedError:n,InvalidArgumentError:A}=r(8707);const{kDestroy:i,kClose:a,kDispatch:c,kInterceptors:l}=r(6443);const u=Symbol("destroyed");const g=Symbol("closed");const p=Symbol("onDestroyed");const d=Symbol("onClosed");const E=Symbol("Intercepted Dispatch");class DispatcherBase extends s{constructor(){super();this[u]=false;this[p]=null;this[g]=false;this[d]=[]}get destroyed(){return this[u]}get closed(){return this[g]}get interceptors(){return this[l]}set interceptors(e){if(e){for(let t=e.length-1;t>=0;t--){const e=this[l][t];if(typeof e!=="function"){throw new A("interceptor must be an function")}}}this[l]=e}close(e){if(e===undefined){return new Promise(((e,t)=>{this.close(((r,s)=>r?t(r):e(s)))}))}if(typeof e!=="function"){throw new A("invalid callback")}if(this[u]){queueMicrotask((()=>e(new o,null)));return}if(this[g]){if(this[d]){this[d].push(e)}else{queueMicrotask((()=>e(null,null)))}return}this[g]=true;this[d].push(e);const onClosed=()=>{const e=this[d];this[d]=null;for(let t=0;t<e.length;t++){e[t](null,null)}};this[a]().then((()=>this.destroy())).then((()=>{queueMicrotask(onClosed)}))}destroy(e,t){if(typeof e==="function"){t=e;e=null}if(t===undefined){return new Promise(((t,r)=>{this.destroy(e,((e,s)=>e?r(e):t(s)))}))}if(typeof t!=="function"){throw new A("invalid callback")}if(this[u]){if(this[p]){this[p].push(t)}else{queueMicrotask((()=>t(null,null)))}return}if(!e){e=new o}this[u]=true;this[p]=this[p]||[];this[p].push(t);const onDestroyed=()=>{const e=this[p];this[p]=null;for(let t=0;t<e.length;t++){e[t](null,null)}};this[i](e).then((()=>{queueMicrotask(onDestroyed)}))}[E](e,t){if(!this[l]||this[l].length===0){this[E]=this[c];return this[c](e,t)}let r=this[c].bind(this);for(let e=this[l].length-1;e>=0;e--){r=this[l][e](r)}this[E]=r;return r(e,t)}dispatch(e,t){if(!t||typeof t!=="object"){throw new A("handler must be an object")}try{if(!e||typeof e!=="object"){throw new A("opts must be an object.")}if(this[u]||this[p]){throw new o}if(this[g]){throw new n}return this[E](e,t)}catch(e){if(typeof t.onError!=="function"){throw new A("invalid onError method")}t.onError(e);return false}}}e.exports=DispatcherBase},992:(e,t,r)=>{const s=r(4434);class Dispatcher extends s{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}}e.exports=Dispatcher},8923:(e,t,r)=>{const s=r(9581);const o=r(3440);const{ReadableStreamFrom:n,isBlobLike:A,isReadableStreamLike:i,readableStreamClose:a,createDeferredPromise:c,fullyReadBody:l}=r(5523);const{FormData:u}=r(3073);const{kState:g}=r(9710);const{webidl:p}=r(4222);const{DOMException:d,structuredClone:E}=r(7326);const{Blob:h,File:I}=r(181);const{kBodyUsed:m}=r(6443);const C=r(2613);const{isErrored:Q}=r(3440);const{isUint8Array:B,isArrayBuffer:y}=r(8253);const{File:w}=r(3041);const{parseMIMEType:b,serializeAMimeType:R}=r(4322);let T;try{const e=r(7598);T=t=>e.randomInt(0,t)}catch{T=e=>Math.floor(Math.random(e))}let k=globalThis.ReadableStream;const D=I??w;const _=new TextEncoder;const F=new TextDecoder;function extractBody(e,t=false){if(!k){k=r(3774).ReadableStream}let s=null;if(e instanceof k){s=e}else if(A(e)){s=e.stream()}else{s=new k({async pull(e){e.enqueue(typeof l==="string"?_.encode(l):l);queueMicrotask((()=>a(e)))},start(){},type:undefined})}C(i(s));let c=null;let l=null;let u=null;let g=null;if(typeof e==="string"){l=e;g="text/plain;charset=UTF-8"}else if(e instanceof URLSearchParams){l=e.toString();g="application/x-www-form-urlencoded;charset=UTF-8"}else if(y(e)){l=new Uint8Array(e.slice())}else if(ArrayBuffer.isView(e)){l=new Uint8Array(e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength))}else if(o.isFormDataLike(e)){const t=`----formdata-undici-0${`${T(1e11)}`.padStart(11,"0")}`;const r=`--${t}\r\nContent-Disposition: form-data`
 /*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;const escape=e=>e.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=e=>e.replace(/\r?\n|\r/g,"\r\n");const s=[];const o=new Uint8Array([13,10]);u=0;let n=false;for(const[t,A]of e){if(typeof A==="string"){const e=_.encode(r+`; name="${escape(normalizeLinefeeds(t))}"`+`\r\n\r\n${normalizeLinefeeds(A)}\r\n`);s.push(e);u+=e.byteLength}else{const e=_.encode(`${r}; name="${escape(normalizeLinefeeds(t))}"`+(A.name?`; filename="${escape(A.name)}"`:"")+"\r\n"+`Content-Type: ${A.type||"application/octet-stream"}\r\n\r\n`);s.push(e,A,o);if(typeof A.size==="number"){u+=e.byteLength+A.size+o.byteLength}else{n=true}}}const A=_.encode(`--${t}--`);s.push(A);u+=A.byteLength;if(n){u=null}l=e;c=async function*(){for(const e of s){if(e.stream){yield*e.stream()}else{yield e}}};g="multipart/form-data; boundary="+t}else if(A(e)){l=e;u=e.size;if(e.type){g=e.type}}else if(typeof e[Symbol.asyncIterator]==="function"){if(t){throw new TypeError("keepalive")}if(o.isDisturbed(e)||e.locked){throw new TypeError("Response body object should not be disturbed or locked")}s=e instanceof k?e:n(e)}if(typeof l==="string"||o.isBuffer(l)){u=Buffer.byteLength(l)}if(c!=null){let t;s=new k({async start(){t=c(e)[Symbol.asyncIterator]()},async pull(e){const{value:r,done:o}=await t.next();if(o){queueMicrotask((()=>{e.close()}))}else{if(!Q(s)){e.enqueue(new Uint8Array(r))}}return e.desiredSize>0},async cancel(e){await t.return()},type:undefined})}const p={stream:s,source:l,length:u};return[p,g]}function safelyExtractBody(e,t=false){if(!k){k=r(3774).ReadableStream}if(e instanceof k){C(!o.isDisturbed(e),"The body has already been consumed.");C(!e.locked,"The stream is locked.")}return extractBody(e,t)}function cloneBody(e){const[t,r]=e.stream.tee();const s=E(r,{transfer:[r]});const[,o]=s.tee();e.stream=t;return{stream:o,length:e.length,source:e.source}}async function*consumeBody(e){if(e){if(B(e)){yield e}else{const t=e.stream;if(o.isDisturbed(t)){throw new TypeError("The body has already been consumed.")}if(t.locked){throw new TypeError("The stream is locked.")}t[m]=true;yield*t}}}function throwIfAborted(e){if(e.aborted){throw new d("The operation was aborted.","AbortError")}}function bodyMixinMethods(e){const t={blob(){return specConsumeBody(this,(e=>{let t=bodyMimeType(this);if(t==="failure"){t=""}else if(t){t=R(t)}return new h([e],{type:t})}),e)},arrayBuffer(){return specConsumeBody(this,(e=>new Uint8Array(e).buffer),e)},text(){return specConsumeBody(this,utf8DecodeBytes,e)},json(){return specConsumeBody(this,parseJSONFromBytes,e)},async formData(){p.brandCheck(this,e);throwIfAborted(this[g]);const t=this.headers.get("Content-Type");if(/multipart\/form-data/.test(t)){const e={};for(const[t,r]of this.headers)e[t.toLowerCase()]=r;const t=new u;let r;try{r=new s({headers:e,preservePath:true})}catch(e){throw new d(`${e}`,"AbortError")}r.on("field",((e,r)=>{t.append(e,r)}));r.on("file",((e,r,s,o,n)=>{const A=[];if(o==="base64"||o.toLowerCase()==="base64"){let o="";r.on("data",(e=>{o+=e.toString().replace(/[\r\n]/gm,"");const t=o.length-o.length%4;A.push(Buffer.from(o.slice(0,t),"base64"));o=o.slice(t)}));r.on("end",(()=>{A.push(Buffer.from(o,"base64"));t.append(e,new D(A,s,{type:n}))}))}else{r.on("data",(e=>{A.push(e)}));r.on("end",(()=>{t.append(e,new D(A,s,{type:n}))}))}}));const o=new Promise(((e,t)=>{r.on("finish",e);r.on("error",(e=>t(new TypeError(e))))}));if(this.body!==null)for await(const e of consumeBody(this[g].body))r.write(e);r.end();await o;return t}else if(/application\/x-www-form-urlencoded/.test(t)){let e;try{let t="";const r=new TextDecoder("utf-8",{ignoreBOM:true});for await(const e of consumeBody(this[g].body)){if(!B(e)){throw new TypeError("Expected Uint8Array chunk")}t+=r.decode(e,{stream:true})}t+=r.decode();e=new URLSearchParams(t)}catch(e){throw Object.assign(new TypeError,{cause:e})}const t=new u;for(const[r,s]of e){t.append(r,s)}return t}else{await Promise.resolve();throwIfAborted(this[g]);throw p.errors.exception({header:`${e.name}.formData`,message:"Could not parse content as FormData."})}}};return t}function mixinBody(e){Object.assign(e.prototype,bodyMixinMethods(e))}async function specConsumeBody(e,t,r){p.brandCheck(e,r);throwIfAborted(e[g]);if(bodyUnusable(e[g].body)){throw new TypeError("Body is unusable")}const s=c();const errorSteps=e=>s.reject(e);const successSteps=e=>{try{s.resolve(t(e))}catch(e){errorSteps(e)}};if(e[g].body==null){successSteps(new Uint8Array);return s.promise}await l(e[g].body,successSteps,errorSteps);return s.promise}function bodyUnusable(e){return e!=null&&(e.stream.locked||o.isDisturbed(e.stream))}function utf8DecodeBytes(e){if(e.length===0){return""}if(e[0]===239&&e[1]===187&&e[2]===191){e=e.subarray(3)}const t=F.decode(e);return t}function parseJSONFromBytes(e){return JSON.parse(utf8DecodeBytes(e))}function bodyMimeType(e){const{headersList:t}=e[g];const r=t.get("content-type");if(r===null){return"failure"}return b(r)}e.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody}},7326:(e,t,r)=>{const{MessageChannel:s,receiveMessageOnPort:o}=r(8167);const n=["GET","HEAD","POST"];const A=new Set(n);const i=[101,204,205,304];const a=[301,302,303,307,308];const c=new Set(a);const l=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","5060","5061","6000","6566","6665","6666","6667","6668","6669","6697","10080"];const u=new Set(l);const g=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];const p=new Set(g);const d=["follow","manual","error"];const E=["GET","HEAD","OPTIONS","TRACE"];const h=new Set(E);const I=["navigate","same-origin","no-cors","cors"];const m=["omit","same-origin","include"];const C=["default","no-store","reload","no-cache","force-cache","only-if-cached"];const Q=["content-encoding","content-language","content-location","content-type","content-length"];const B=["half"];const y=["CONNECT","TRACE","TRACK"];const w=new Set(y);const b=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""];const R=new Set(b);const T=globalThis.DOMException??(()=>{try{atob("~")}catch(e){return Object.getPrototypeOf(e).constructor}})();let k;const D=globalThis.structuredClone??function structuredClone(e,t=undefined){if(arguments.length===0){throw new TypeError("missing argument")}if(!k){k=new s}k.port1.unref();k.port2.unref();k.port1.postMessage(e,t?.transfer);return o(k.port2).message};e.exports={DOMException:T,structuredClone:D,subresource:b,forbiddenMethods:y,requestBodyHeader:Q,referrerPolicy:g,requestRedirect:d,requestMode:I,requestCredentials:m,requestCache:C,redirectStatus:a,corsSafeListedMethods:n,nullBodyStatus:i,safeMethods:E,badPorts:l,requestDuplex:B,subresourceSet:R,badPortsSet:u,redirectStatusSet:c,corsSafeListedMethodsSet:A,safeMethodsSet:h,forbiddenMethodsSet:w,referrerPolicySet:p}},4322:(e,t,r)=>{const s=r(2613);const{atob:o}=r(181);const{isomorphicDecode:n}=r(5523);const A=new TextEncoder;const i=/^[!#$%&'*+-.^_|~A-Za-z0-9]+$/;const a=/(\u000A|\u000D|\u0009|\u0020)/;const c=/[\u0009|\u0020-\u007E|\u0080-\u00FF]/;function dataURLProcessor(e){s(e.protocol==="data:");let t=URLSerializer(e,true);t=t.slice(5);const r={position:0};let o=collectASequenceOfCodePointsFast(",",t,r);const A=o.length;o=removeASCIIWhitespace(o,true,true);if(r.position>=t.length){return"failure"}r.position++;const i=t.slice(A+1);let a=stringPercentDecode(i);if(/;(\u0020){0,}base64$/i.test(o)){const e=n(a);a=forgivingBase64(e);if(a==="failure"){return"failure"}o=o.slice(0,-6);o=o.replace(/(\u0020)+$/,"");o=o.slice(0,-1)}if(o.startsWith(";")){o="text/plain"+o}let c=parseMIMEType(o);if(c==="failure"){c=parseMIMEType("text/plain;charset=US-ASCII")}return{mimeType:c,body:a}}function URLSerializer(e,t=false){if(!t){return e.href}const r=e.href;const s=e.hash.length;return s===0?r:r.substring(0,r.length-s)}function collectASequenceOfCodePoints(e,t,r){let s="";while(r.position<t.length&&e(t[r.position])){s+=t[r.position];r.position++}return s}function collectASequenceOfCodePointsFast(e,t,r){const s=t.indexOf(e,r.position);const o=r.position;if(s===-1){r.position=t.length;return t.slice(o)}r.position=s;return t.slice(o,r.position)}function stringPercentDecode(e){const t=A.encode(e);return percentDecode(t)}function percentDecode(e){const t=[];for(let r=0;r<e.length;r++){const s=e[r];if(s!==37){t.push(s)}else if(s===37&&!/^[0-9A-Fa-f]{2}$/i.test(String.fromCharCode(e[r+1],e[r+2]))){t.push(37)}else{const s=String.fromCharCode(e[r+1],e[r+2]);const o=Number.parseInt(s,16);t.push(o);r+=2}}return Uint8Array.from(t)}function parseMIMEType(e){e=removeHTTPWhitespace(e,true,true);const t={position:0};const r=collectASequenceOfCodePointsFast("/",e,t);if(r.length===0||!i.test(r)){return"failure"}if(t.position>e.length){return"failure"}t.position++;let s=collectASequenceOfCodePointsFast(";",e,t);s=removeHTTPWhitespace(s,false,true);if(s.length===0||!i.test(s)){return"failure"}const o=r.toLowerCase();const n=s.toLowerCase();const A={type:o,subtype:n,parameters:new Map,essence:`${o}/${n}`};while(t.position<e.length){t.position++;collectASequenceOfCodePoints((e=>a.test(e)),e,t);let r=collectASequenceOfCodePoints((e=>e!==";"&&e!=="="),e,t);r=r.toLowerCase();if(t.position<e.length){if(e[t.position]===";"){continue}t.position++}if(t.position>e.length){break}let s=null;if(e[t.position]==='"'){s=collectAnHTTPQuotedString(e,t,true);collectASequenceOfCodePointsFast(";",e,t)}else{s=collectASequenceOfCodePointsFast(";",e,t);s=removeHTTPWhitespace(s,false,true);if(s.length===0){continue}}if(r.length!==0&&i.test(r)&&(s.length===0||c.test(s))&&!A.parameters.has(r)){A.parameters.set(r,s)}}return A}function forgivingBase64(e){e=e.replace(/[\u0009\u000A\u000C\u000D\u0020]/g,"");if(e.length%4===0){e=e.replace(/=?=$/,"")}if(e.length%4===1){return"failure"}if(/[^+/0-9A-Za-z]/.test(e)){return"failure"}const t=o(e);const r=new Uint8Array(t.length);for(let e=0;e<t.length;e++){r[e]=t.charCodeAt(e)}return r}function collectAnHTTPQuotedString(e,t,r){const o=t.position;let n="";s(e[t.position]==='"');t.position++;while(true){n+=collectASequenceOfCodePoints((e=>e!=='"'&&e!=="\\"),e,t);if(t.position>=e.length){break}const r=e[t.position];t.position++;if(r==="\\"){if(t.position>=e.length){n+="\\";break}n+=e[t.position];t.position++}else{s(r==='"');break}}if(r){return n}return e.slice(o,t.position)}function serializeAMimeType(e){s(e!=="failure");const{parameters:t,essence:r}=e;let o=r;for(let[e,r]of t.entries()){o+=";";o+=e;o+="=";if(!i.test(r)){r=r.replace(/(\\|")/g,"\\$1");r='"'+r;r+='"'}o+=r}return o}function isHTTPWhiteSpace(e){return e==="\r"||e==="\n"||e==="\t"||e===" "}function removeHTTPWhitespace(e,t=true,r=true){let s=0;let o=e.length-1;if(t){for(;s<e.length&&isHTTPWhiteSpace(e[s]);s++);}if(r){for(;o>0&&isHTTPWhiteSpace(e[o]);o--);}return e.slice(s,o+1)}function isASCIIWhitespace(e){return e==="\r"||e==="\n"||e==="\t"||e==="\f"||e===" "}function removeASCIIWhitespace(e,t=true,r=true){let s=0;let o=e.length-1;if(t){for(;s<e.length&&isASCIIWhitespace(e[s]);s++);}if(r){for(;o>0&&isASCIIWhitespace(e[o]);o--);}return e.slice(s,o+1)}e.exports={dataURLProcessor:dataURLProcessor,URLSerializer:URLSerializer,collectASequenceOfCodePoints:collectASequenceOfCodePoints,collectASequenceOfCodePointsFast:collectASequenceOfCodePointsFast,stringPercentDecode:stringPercentDecode,parseMIMEType:parseMIMEType,collectAnHTTPQuotedString:collectAnHTTPQuotedString,serializeAMimeType:serializeAMimeType}},3041:(e,t,r)=>{const{Blob:s,File:o}=r(181);const{types:n}=r(9023);const{kState:A}=r(9710);const{isBlobLike:i}=r(5523);const{webidl:a}=r(4222);const{parseMIMEType:c,serializeAMimeType:l}=r(4322);const{kEnumerableProperty:u}=r(3440);const g=new TextEncoder;class File extends s{constructor(e,t,r={}){a.argumentLengthCheck(arguments,2,{header:"File constructor"});e=a.converters["sequence<BlobPart>"](e);t=a.converters.USVString(t);r=a.converters.FilePropertyBag(r);const s=t;let o=r.type;let n;e:{if(o){o=c(o);if(o==="failure"){o="";break e}o=l(o).toLowerCase()}n=r.lastModified}super(processBlobParts(e,r),{type:o});this[A]={name:s,lastModified:n,type:o}}get name(){a.brandCheck(this,File);return this[A].name}get lastModified(){a.brandCheck(this,File);return this[A].lastModified}get type(){a.brandCheck(this,File);return this[A].type}}class FileLike{constructor(e,t,r={}){const s=t;const o=r.type;const n=r.lastModified??Date.now();this[A]={blobLike:e,name:s,type:o,lastModified:n}}stream(...e){a.brandCheck(this,FileLike);return this[A].blobLike.stream(...e)}arrayBuffer(...e){a.brandCheck(this,FileLike);return this[A].blobLike.arrayBuffer(...e)}slice(...e){a.brandCheck(this,FileLike);return this[A].blobLike.slice(...e)}text(...e){a.brandCheck(this,FileLike);return this[A].blobLike.text(...e)}get size(){a.brandCheck(this,FileLike);return this[A].blobLike.size}get type(){a.brandCheck(this,FileLike);return this[A].blobLike.type}get name(){a.brandCheck(this,FileLike);return this[A].name}get lastModified(){a.brandCheck(this,FileLike);return this[A].lastModified}get[Symbol.toStringTag](){return"File"}}Object.defineProperties(File.prototype,{[Symbol.toStringTag]:{value:"File",configurable:true},name:u,lastModified:u});a.converters.Blob=a.interfaceConverter(s);a.converters.BlobPart=function(e,t){if(a.util.Type(e)==="Object"){if(i(e)){return a.converters.Blob(e,{strict:false})}if(ArrayBuffer.isView(e)||n.isAnyArrayBuffer(e)){return a.converters.BufferSource(e,t)}}return a.converters.USVString(e,t)};a.converters["sequence<BlobPart>"]=a.sequenceConverter(a.converters.BlobPart);a.converters.FilePropertyBag=a.dictionaryConverter([{key:"lastModified",converter:a.converters["long long"],get defaultValue(){return Date.now()}},{key:"type",converter:a.converters.DOMString,defaultValue:""},{key:"endings",converter:e=>{e=a.converters.DOMString(e);e=e.toLowerCase();if(e!=="native"){e="transparent"}return e},defaultValue:"transparent"}]);function processBlobParts(e,t){const r=[];for(const s of e){if(typeof s==="string"){let e=s;if(t.endings==="native"){e=convertLineEndingsNative(e)}r.push(g.encode(e))}else if(n.isAnyArrayBuffer(s)||n.isTypedArray(s)){if(!s.buffer){r.push(new Uint8Array(s))}else{r.push(new Uint8Array(s.buffer,s.byteOffset,s.byteLength))}}else if(i(s)){r.push(s)}}return r}function convertLineEndingsNative(e){let t="\n";if(process.platform==="win32"){t="\r\n"}return e.replace(/\r?\n/g,t)}function isFileLike(e){return o&&e instanceof o||e instanceof File||e&&(typeof e.stream==="function"||typeof e.arrayBuffer==="function")&&e[Symbol.toStringTag]==="File"}e.exports={File:File,FileLike:FileLike,isFileLike:isFileLike}},3073:(e,t,r)=>{const{isBlobLike:s,toUSVString:o,makeIterator:n}=r(5523);const{kState:A}=r(9710);const{File:i,FileLike:a,isFileLike:c}=r(3041);const{webidl:l}=r(4222);const{Blob:u,File:g}=r(181);const p=g??i;class FormData{constructor(e){if(e!==undefined){throw l.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}this[A]=[]}append(e,t,r=undefined){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,2,{header:"FormData.append"});if(arguments.length===3&&!s(t)){throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'")}e=l.converters.USVString(e);t=s(t)?l.converters.Blob(t,{strict:false}):l.converters.USVString(t);r=arguments.length===3?l.converters.USVString(r):undefined;const o=makeEntry(e,t,r);this[A].push(o)}delete(e){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,1,{header:"FormData.delete"});e=l.converters.USVString(e);this[A]=this[A].filter((t=>t.name!==e))}get(e){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,1,{header:"FormData.get"});e=l.converters.USVString(e);const t=this[A].findIndex((t=>t.name===e));if(t===-1){return null}return this[A][t].value}getAll(e){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,1,{header:"FormData.getAll"});e=l.converters.USVString(e);return this[A].filter((t=>t.name===e)).map((e=>e.value))}has(e){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,1,{header:"FormData.has"});e=l.converters.USVString(e);return this[A].findIndex((t=>t.name===e))!==-1}set(e,t,r=undefined){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,2,{header:"FormData.set"});if(arguments.length===3&&!s(t)){throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'")}e=l.converters.USVString(e);t=s(t)?l.converters.Blob(t,{strict:false}):l.converters.USVString(t);r=arguments.length===3?o(r):undefined;const n=makeEntry(e,t,r);const i=this[A].findIndex((t=>t.name===e));if(i!==-1){this[A]=[...this[A].slice(0,i),n,...this[A].slice(i+1).filter((t=>t.name!==e))]}else{this[A].push(n)}}entries(){l.brandCheck(this,FormData);return n((()=>this[A].map((e=>[e.name,e.value]))),"FormData","key+value")}keys(){l.brandCheck(this,FormData);return n((()=>this[A].map((e=>[e.name,e.value]))),"FormData","key")}values(){l.brandCheck(this,FormData);return n((()=>this[A].map((e=>[e.name,e.value]))),"FormData","value")}forEach(e,t=globalThis){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,1,{header:"FormData.forEach"});if(typeof e!=="function"){throw new TypeError("Failed to execute 'forEach' on 'FormData': parameter 1 is not of type 'Function'.")}for(const[r,s]of this){e.apply(t,[s,r,this])}}}FormData.prototype[Symbol.iterator]=FormData.prototype.entries;Object.defineProperties(FormData.prototype,{[Symbol.toStringTag]:{value:"FormData",configurable:true}});function makeEntry(e,t,r){e=Buffer.from(e).toString("utf8");if(typeof t==="string"){t=Buffer.from(t).toString("utf8")}else{if(!c(t)){t=t instanceof u?new p([t],"blob",{type:t.type}):new a(t,"blob",{type:t.type})}if(r!==undefined){const e={type:t.type,lastModified:t.lastModified};t=g&&t instanceof g||t instanceof i?new p([t],r,e):new a(t,r,e)}}return{name:e,value:t}}e.exports={FormData:FormData}},5628:e=>{const t=Symbol.for("undici.globalOrigin.1");function getGlobalOrigin(){return globalThis[t]}function setGlobalOrigin(e){if(e===undefined){Object.defineProperty(globalThis,t,{value:undefined,writable:true,enumerable:false,configurable:false});return}const r=new URL(e);if(r.protocol!=="http:"&&r.protocol!=="https:"){throw new TypeError(`Only http & https urls are allowed, received ${r.protocol}`)}Object.defineProperty(globalThis,t,{value:r,writable:true,enumerable:false,configurable:false})}e.exports={getGlobalOrigin:getGlobalOrigin,setGlobalOrigin:setGlobalOrigin}},6349:(e,t,r)=>{const{kHeadersList:s,kConstruct:o}=r(6443);const{kGuard:n}=r(9710);const{kEnumerableProperty:A}=r(3440);const{makeIterator:i,isValidHeaderName:a,isValidHeaderValue:c}=r(5523);const{webidl:l}=r(4222);const u=r(2613);const g=Symbol("headers map");const p=Symbol("headers map sorted");function isHTTPWhiteSpaceCharCode(e){return e===10||e===13||e===9||e===32}function headerValueNormalize(e){let t=0;let r=e.length;while(r>t&&isHTTPWhiteSpaceCharCode(e.charCodeAt(r-1)))--r;while(r>t&&isHTTPWhiteSpaceCharCode(e.charCodeAt(t)))++t;return t===0&&r===e.length?e:e.substring(t,r)}function fill(e,t){if(Array.isArray(t)){for(let r=0;r<t.length;++r){const s=t[r];if(s.length!==2){throw l.errors.exception({header:"Headers constructor",message:`expected name/value pair to be length 2, found ${s.length}.`})}appendHeader(e,s[0],s[1])}}else if(typeof t==="object"&&t!==null){const r=Object.keys(t);for(let s=0;s<r.length;++s){appendHeader(e,r[s],t[r[s]])}}else{throw l.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})}}function appendHeader(e,t,r){r=headerValueNormalize(r);if(!a(t)){throw l.errors.invalidArgument({prefix:"Headers.append",value:t,type:"header name"})}else if(!c(r)){throw l.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}if(e[n]==="immutable"){throw new TypeError("immutable")}else if(e[n]==="request-no-cors"){}return e[s].append(t,r)}class HeadersList{cookies=null;constructor(e){if(e instanceof HeadersList){this[g]=new Map(e[g]);this[p]=e[p];this.cookies=e.cookies===null?null:[...e.cookies]}else{this[g]=new Map(e);this[p]=null}}contains(e){e=e.toLowerCase();return this[g].has(e)}clear(){this[g].clear();this[p]=null;this.cookies=null}append(e,t){this[p]=null;const r=e.toLowerCase();const s=this[g].get(r);if(s){const e=r==="cookie"?"; ":", ";this[g].set(r,{name:s.name,value:`${s.value}${e}${t}`})}else{this[g].set(r,{name:e,value:t})}if(r==="set-cookie"){this.cookies??=[];this.cookies.push(t)}}set(e,t){this[p]=null;const r=e.toLowerCase();if(r==="set-cookie"){this.cookies=[t]}this[g].set(r,{name:e,value:t})}delete(e){this[p]=null;e=e.toLowerCase();if(e==="set-cookie"){this.cookies=null}this[g].delete(e)}get(e){const t=this[g].get(e.toLowerCase());return t===undefined?null:t.value}*[Symbol.iterator](){for(const[e,{value:t}]of this[g]){yield[e,t]}}get entries(){const e={};if(this[g].size){for(const{name:t,value:r}of this[g].values()){e[t]=r}}return e}}class Headers{constructor(e=undefined){if(e===o){return}this[s]=new HeadersList;this[n]="none";if(e!==undefined){e=l.converters.HeadersInit(e);fill(this,e)}}append(e,t){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,2,{header:"Headers.append"});e=l.converters.ByteString(e);t=l.converters.ByteString(t);return appendHeader(this,e,t)}delete(e){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,1,{header:"Headers.delete"});e=l.converters.ByteString(e);if(!a(e)){throw l.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"})}if(this[n]==="immutable"){throw new TypeError("immutable")}else if(this[n]==="request-no-cors"){}if(!this[s].contains(e)){return}this[s].delete(e)}get(e){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,1,{header:"Headers.get"});e=l.converters.ByteString(e);if(!a(e)){throw l.errors.invalidArgument({prefix:"Headers.get",value:e,type:"header name"})}return this[s].get(e)}has(e){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,1,{header:"Headers.has"});e=l.converters.ByteString(e);if(!a(e)){throw l.errors.invalidArgument({prefix:"Headers.has",value:e,type:"header name"})}return this[s].contains(e)}set(e,t){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,2,{header:"Headers.set"});e=l.converters.ByteString(e);t=l.converters.ByteString(t);t=headerValueNormalize(t);if(!a(e)){throw l.errors.invalidArgument({prefix:"Headers.set",value:e,type:"header name"})}else if(!c(t)){throw l.errors.invalidArgument({prefix:"Headers.set",value:t,type:"header value"})}if(this[n]==="immutable"){throw new TypeError("immutable")}else if(this[n]==="request-no-cors"){}this[s].set(e,t)}getSetCookie(){l.brandCheck(this,Headers);const e=this[s].cookies;if(e){return[...e]}return[]}get[p](){if(this[s][p]){return this[s][p]}const e=[];const t=[...this[s]].sort(((e,t)=>e[0]<t[0]?-1:1));const r=this[s].cookies;for(let s=0;s<t.length;++s){const[o,n]=t[s];if(o==="set-cookie"){for(let t=0;t<r.length;++t){e.push([o,r[t]])}}else{u(n!==null);e.push([o,n])}}this[s][p]=e;return e}keys(){l.brandCheck(this,Headers);if(this[n]==="immutable"){const e=this[p];return i((()=>e),"Headers","key")}return i((()=>[...this[p].values()]),"Headers","key")}values(){l.brandCheck(this,Headers);if(this[n]==="immutable"){const e=this[p];return i((()=>e),"Headers","value")}return i((()=>[...this[p].values()]),"Headers","value")}entries(){l.brandCheck(this,Headers);if(this[n]==="immutable"){const e=this[p];return i((()=>e),"Headers","key+value")}return i((()=>[...this[p].values()]),"Headers","key+value")}forEach(e,t=globalThis){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,1,{header:"Headers.forEach"});if(typeof e!=="function"){throw new TypeError("Failed to execute 'forEach' on 'Headers': parameter 1 is not of type 'Function'.")}for(const[r,s]of this){e.apply(t,[s,r,this])}}[Symbol.for("nodejs.util.inspect.custom")](){l.brandCheck(this,Headers);return this[s]}}Headers.prototype[Symbol.iterator]=Headers.prototype.entries;Object.defineProperties(Headers.prototype,{append:A,delete:A,get:A,has:A,set:A,getSetCookie:A,keys:A,values:A,entries:A,forEach:A,[Symbol.iterator]:{enumerable:false},[Symbol.toStringTag]:{value:"Headers",configurable:true}});l.converters.HeadersInit=function(e){if(l.util.Type(e)==="Object"){if(e[Symbol.iterator]){return l.converters["sequence<sequence<ByteString>>"](e)}return l.converters["record<ByteString, ByteString>"](e)}throw l.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})};e.exports={fill:fill,Headers:Headers,HeadersList:HeadersList}},2315:(e,t,r)=>{const{Response:s,makeNetworkError:o,makeAppropriateNetworkError:n,filterResponse:A,makeResponse:i}=r(8676);const{Headers:a}=r(6349);const{Request:c,makeRequest:l}=r(5194);const u=r(3106);const{bytesMatch:g,makePolicyContainer:p,clonePolicyContainer:d,requestBadPort:E,TAOCheck:h,appendRequestOriginHeader:I,responseLocationURL:m,requestCurrentURL:C,setRequestReferrerPolicyOnRedirect:Q,tryUpgradeRequestToAPotentiallyTrustworthyURL:B,createOpaqueTimingInfo:y,appendFetchMetadata:w,corsCheck:b,crossOriginResourcePolicyCheck:R,determineRequestsReferrer:T,coarsenedSharedCurrentTime:k,createDeferredPromise:D,isBlobLike:_,sameOrigin:F,isCancelled:S,isAborted:v,isErrorLike:U,fullyReadBody:N,readableStreamClose:O,isomorphicEncode:G,urlIsLocal:L,urlIsHttpHttpsScheme:P,urlHasHttpsScheme:M}=r(5523);const{kState:x,kHeaders:H,kGuard:V,kRealm:Y}=r(9710);const J=r(2613);const{safelyExtractBody:q}=r(8923);const{redirectStatusSet:j,nullBodyStatus:W,safeMethodsSet:K,requestBodyHeader:z,subresourceSet:Z,DOMException:X}=r(7326);const{kHeadersList:$}=r(6443);const ee=r(4434);const{Readable:te,pipeline:re}=r(2203);const{addAbortListener:se,isErrored:oe,isReadable:ne,nodeMajor:Ae,nodeMinor:ie}=r(3440);const{dataURLProcessor:ae,serializeAMimeType:ce}=r(4322);const{TransformStream:le}=r(3774);const{getGlobalDispatcher:ue}=r(2581);const{webidl:ge}=r(4222);const{STATUS_CODES:pe}=r(8611);const de=["GET","HEAD"];let Ee;let he=globalThis.ReadableStream;class Fetch extends ee{constructor(e){super();this.dispatcher=e;this.connection=null;this.dump=false;this.state="ongoing";this.setMaxListeners(21)}terminate(e){if(this.state!=="ongoing"){return}this.state="terminated";this.connection?.destroy(e);this.emit("terminated",e)}abort(e){if(this.state!=="ongoing"){return}this.state="aborted";if(!e){e=new X("The operation was aborted.","AbortError")}this.serializedAbortReason=e;this.connection?.destroy(e);this.emit("terminated",e)}}function fetch(e,t={}){ge.argumentLengthCheck(arguments,1,{header:"globalThis.fetch"});const r=D();let o;try{o=new c(e,t)}catch(e){r.reject(e);return r.promise}const n=o[x];if(o.signal.aborted){abortFetch(r,n,null,o.signal.reason);return r.promise}const A=n.client.globalObject;if(A?.constructor?.name==="ServiceWorkerGlobalScope"){n.serviceWorkers="none"}let i=null;const a=null;let l=false;let u=null;se(o.signal,(()=>{l=true;J(u!=null);u.abort(o.signal.reason);abortFetch(r,n,i,o.signal.reason)}));const handleFetchDone=e=>finalizeAndReportTiming(e,"fetch");const processResponse=e=>{if(l){return Promise.resolve()}if(e.aborted){abortFetch(r,n,i,u.serializedAbortReason);return Promise.resolve()}if(e.type==="error"){r.reject(Object.assign(new TypeError("fetch failed"),{cause:e.error}));return Promise.resolve()}i=new s;i[x]=e;i[Y]=a;i[H][$]=e.headersList;i[H][V]="immutable";i[H][Y]=a;r.resolve(i)};u=fetching({request:n,processResponseEndOfBody:handleFetchDone,processResponse:processResponse,dispatcher:t.dispatcher??ue()});return r.promise}function finalizeAndReportTiming(e,t="other"){if(e.type==="error"&&e.aborted){return}if(!e.urlList?.length){return}const r=e.urlList[0];let s=e.timingInfo;let o=e.cacheState;if(!P(r)){return}if(s===null){return}if(!e.timingAllowPassed){s=y({startTime:s.startTime});o=""}s.endTime=k();e.timingInfo=s;markResourceTiming(s,r,t,globalThis,o)}function markResourceTiming(e,t,r,s,o){if(Ae>18||Ae===18&&ie>=2){performance.markResourceTiming(e,t.href,r,s,o)}}function abortFetch(e,t,r,s){if(!s){s=new X("The operation was aborted.","AbortError")}e.reject(s);if(t.body!=null&&ne(t.body?.stream)){t.body.stream.cancel(s).catch((e=>{if(e.code==="ERR_INVALID_STATE"){return}throw e}))}if(r==null){return}const o=r[x];if(o.body!=null&&ne(o.body?.stream)){o.body.stream.cancel(s).catch((e=>{if(e.code==="ERR_INVALID_STATE"){return}throw e}))}}function fetching({request:e,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:s,processResponseEndOfBody:o,processResponseConsumeBody:n,useParallelQueue:A=false,dispatcher:i}){let a=null;let c=false;if(e.client!=null){a=e.client.globalObject;c=e.client.crossOriginIsolatedCapability}const l=k(c);const u=y({startTime:l});const g={controller:new Fetch(i),request:e,timingInfo:u,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:s,processResponseConsumeBody:n,processResponseEndOfBody:o,taskDestination:a,crossOriginIsolatedCapability:c};J(!e.body||e.body.stream);if(e.window==="client"){e.window=e.client?.globalObject?.constructor?.name==="Window"?e.client:"no-window"}if(e.origin==="client"){e.origin=e.client?.origin}if(e.policyContainer==="client"){if(e.client!=null){e.policyContainer=d(e.client.policyContainer)}else{e.policyContainer=p()}}if(!e.headersList.contains("accept")){const t="*/*";e.headersList.append("accept",t)}if(!e.headersList.contains("accept-language")){e.headersList.append("accept-language","*")}if(e.priority===null){}if(Z.has(e.destination)){}mainFetch(g).catch((e=>{g.controller.terminate(e)}));return g.controller}async function mainFetch(e,t=false){const r=e.request;let s=null;if(r.localURLsOnly&&!L(C(r))){s=o("local URLs only")}B(r);if(E(r)==="blocked"){s=o("bad port")}if(r.referrerPolicy===""){r.referrerPolicy=r.policyContainer.referrerPolicy}if(r.referrer!=="no-referrer"){r.referrer=T(r)}if(s===null){s=await(async()=>{const t=C(r);if(F(t,r.url)&&r.responseTainting==="basic"||t.protocol==="data:"||(r.mode==="navigate"||r.mode==="websocket")){r.responseTainting="basic";return await schemeFetch(e)}if(r.mode==="same-origin"){return o('request mode cannot be "same-origin"')}if(r.mode==="no-cors"){if(r.redirect!=="follow"){return o('redirect mode cannot be "follow" for "no-cors" request')}r.responseTainting="opaque";return await schemeFetch(e)}if(!P(C(r))){return o("URL scheme must be a HTTP(S) scheme")}r.responseTainting="cors";return await httpFetch(e)})()}if(t){return s}if(s.status!==0&&!s.internalResponse){if(r.responseTainting==="cors"){}if(r.responseTainting==="basic"){s=A(s,"basic")}else if(r.responseTainting==="cors"){s=A(s,"cors")}else if(r.responseTainting==="opaque"){s=A(s,"opaque")}else{J(false)}}let n=s.status===0?s:s.internalResponse;if(n.urlList.length===0){n.urlList.push(...r.urlList)}if(!r.timingAllowFailed){s.timingAllowPassed=true}if(s.type==="opaque"&&n.status===206&&n.rangeRequested&&!r.headers.contains("range")){s=n=o()}if(s.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||W.includes(n.status))){n.body=null;e.controller.dump=true}if(r.integrity){const processBodyError=t=>fetchFinale(e,o(t));if(r.responseTainting==="opaque"||s.body==null){processBodyError(s.error);return}const processBody=t=>{if(!g(t,r.integrity)){processBodyError("integrity mismatch");return}s.body=q(t)[0];fetchFinale(e,s)};await N(s.body,processBody,processBodyError)}else{fetchFinale(e,s)}}function schemeFetch(e){if(S(e)&&e.request.redirectCount===0){return Promise.resolve(n(e))}const{request:t}=e;const{protocol:s}=C(t);switch(s){case"about:":{return Promise.resolve(o("about scheme is not supported"))}case"blob:":{if(!Ee){Ee=r(181).resolveObjectURL}const e=C(t);if(e.search.length!==0){return Promise.resolve(o("NetworkError when attempting to fetch resource."))}const s=Ee(e.toString());if(t.method!=="GET"||!_(s)){return Promise.resolve(o("invalid method"))}const n=q(s);const A=n[0];const a=G(`${A.length}`);const c=n[1]??"";const l=i({statusText:"OK",headersList:[["content-length",{name:"Content-Length",value:a}],["content-type",{name:"Content-Type",value:c}]]});l.body=A;return Promise.resolve(l)}case"data:":{const e=C(t);const r=ae(e);if(r==="failure"){return Promise.resolve(o("failed to fetch the data URL"))}const s=ce(r.mimeType);return Promise.resolve(i({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:s}]],body:q(r.body)[0]}))}case"file:":{return Promise.resolve(o("not implemented... yet..."))}case"http:":case"https:":{return httpFetch(e).catch((e=>o(e)))}default:{return Promise.resolve(o("unknown scheme"))}}}function finalizeResponse(e,t){e.request.done=true;if(e.processResponseDone!=null){queueMicrotask((()=>e.processResponseDone(t)))}}function fetchFinale(e,t){if(t.type==="error"){t.urlList=[e.request.urlList[0]];t.timingInfo=y({startTime:e.timingInfo.startTime})}const processResponseEndOfBody=()=>{e.request.done=true;if(e.processResponseEndOfBody!=null){queueMicrotask((()=>e.processResponseEndOfBody(t)))}};if(e.processResponse!=null){queueMicrotask((()=>e.processResponse(t)))}if(t.body==null){processResponseEndOfBody()}else{const identityTransformAlgorithm=(e,t)=>{t.enqueue(e)};const e=new le({start(){},transform:identityTransformAlgorithm,flush:processResponseEndOfBody},{size(){return 1}},{size(){return 1}});t.body={stream:t.body.stream.pipeThrough(e)}}if(e.processResponseConsumeBody!=null){const processBody=r=>e.processResponseConsumeBody(t,r);const processBodyError=r=>e.processResponseConsumeBody(t,r);if(t.body==null){queueMicrotask((()=>processBody(null)))}else{return N(t.body,processBody,processBodyError)}return Promise.resolve()}}async function httpFetch(e){const t=e.request;let r=null;let s=null;const n=e.timingInfo;if(t.serviceWorkers==="all"){}if(r===null){if(t.redirect==="follow"){t.serviceWorkers="none"}s=r=await httpNetworkOrCacheFetch(e);if(t.responseTainting==="cors"&&b(t,r)==="failure"){return o("cors failure")}if(h(t,r)==="failure"){t.timingAllowFailed=true}}if((t.responseTainting==="opaque"||r.type==="opaque")&&R(t.origin,t.client,t.destination,s)==="blocked"){return o("blocked")}if(j.has(s.status)){if(t.redirect!=="manual"){e.controller.connection.destroy()}if(t.redirect==="error"){r=o("unexpected redirect")}else if(t.redirect==="manual"){r=s}else if(t.redirect==="follow"){r=await httpRedirectFetch(e,r)}else{J(false)}}r.timingInfo=n;return r}function httpRedirectFetch(e,t){const r=e.request;const s=t.internalResponse?t.internalResponse:t;let n;try{n=m(s,C(r).hash);if(n==null){return t}}catch(e){return Promise.resolve(o(e))}if(!P(n)){return Promise.resolve(o("URL scheme must be a HTTP(S) scheme"))}if(r.redirectCount===20){return Promise.resolve(o("redirect count exceeded"))}r.redirectCount+=1;if(r.mode==="cors"&&(n.username||n.password)&&!F(r,n)){return Promise.resolve(o('cross origin not allowed for request mode "cors"'))}if(r.responseTainting==="cors"&&(n.username||n.password)){return Promise.resolve(o('URL cannot contain credentials for request mode "cors"'))}if(s.status!==303&&r.body!=null&&r.body.source==null){return Promise.resolve(o())}if([301,302].includes(s.status)&&r.method==="POST"||s.status===303&&!de.includes(r.method)){r.method="GET";r.body=null;for(const e of z){r.headersList.delete(e)}}if(!F(C(r),n)){r.headersList.delete("authorization");r.headersList.delete("proxy-authorization",true);r.headersList.delete("cookie");r.headersList.delete("host")}if(r.body!=null){J(r.body.source!=null);r.body=q(r.body.source)[0]}const A=e.timingInfo;A.redirectEndTime=A.postRedirectStartTime=k(e.crossOriginIsolatedCapability);if(A.redirectStartTime===0){A.redirectStartTime=A.startTime}r.urlList.push(n);Q(r,s);return mainFetch(e,true)}async function httpNetworkOrCacheFetch(e,t=false,r=false){const s=e.request;let A=null;let i=null;let a=null;const c=null;const u=false;if(s.window==="no-window"&&s.redirect==="error"){A=e;i=s}else{i=l(s);A={...e};A.request=i}const g=s.credentials==="include"||s.credentials==="same-origin"&&s.responseTainting==="basic";const p=i.body?i.body.length:null;let d=null;if(i.body==null&&["POST","PUT"].includes(i.method)){d="0"}if(p!=null){d=G(`${p}`)}if(d!=null){i.headersList.append("content-length",d)}if(p!=null&&i.keepalive){}if(i.referrer instanceof URL){i.headersList.append("referer",G(i.referrer.href))}I(i);w(i);if(!i.headersList.contains("user-agent")){i.headersList.append("user-agent",typeof esbuildDetection==="undefined"?"undici":"node")}if(i.cache==="default"&&(i.headersList.contains("if-modified-since")||i.headersList.contains("if-none-match")||i.headersList.contains("if-unmodified-since")||i.headersList.contains("if-match")||i.headersList.contains("if-range"))){i.cache="no-store"}if(i.cache==="no-cache"&&!i.preventNoCacheCacheControlHeaderModification&&!i.headersList.contains("cache-control")){i.headersList.append("cache-control","max-age=0")}if(i.cache==="no-store"||i.cache==="reload"){if(!i.headersList.contains("pragma")){i.headersList.append("pragma","no-cache")}if(!i.headersList.contains("cache-control")){i.headersList.append("cache-control","no-cache")}}if(i.headersList.contains("range")){i.headersList.append("accept-encoding","identity")}if(!i.headersList.contains("accept-encoding")){if(M(C(i))){i.headersList.append("accept-encoding","br, gzip, deflate")}else{i.headersList.append("accept-encoding","gzip, deflate")}}i.headersList.delete("host");if(g){}if(c==null){i.cache="no-store"}if(i.mode!=="no-store"&&i.mode!=="reload"){}if(a==null){if(i.mode==="only-if-cached"){return o("only if cached")}const e=await httpNetworkFetch(A,g,r);if(!K.has(i.method)&&e.status>=200&&e.status<=399){}if(u&&e.status===304){}if(a==null){a=e}}a.urlList=[...i.urlList];if(i.headersList.contains("range")){a.rangeRequested=true}a.requestIncludesCredentials=g;if(a.status===407){if(s.window==="no-window"){return o()}if(S(e)){return n(e)}return o("proxy authentication required")}if(a.status===421&&!r&&(s.body==null||s.body.source!=null)){if(S(e)){return n(e)}e.controller.connection.destroy();a=await httpNetworkOrCacheFetch(e,t,true)}if(t){}return a}async function httpNetworkFetch(e,t=false,s=false){J(!e.controller.connection||e.controller.connection.destroyed);e.controller.connection={abort:null,destroyed:false,destroy(e){if(!this.destroyed){this.destroyed=true;this.abort?.(e??new X("The operation was aborted.","AbortError"))}}};const A=e.request;let c=null;const l=e.timingInfo;const g=null;if(g==null){A.cache="no-store"}const p=s?"yes":"no";if(A.mode==="websocket"){}else{}let d=null;if(A.body==null&&e.processRequestEndOfBody){queueMicrotask((()=>e.processRequestEndOfBody()))}else if(A.body!=null){const processBodyChunk=async function*(t){if(S(e)){return}yield t;e.processRequestBodyChunkLength?.(t.byteLength)};const processEndOfBody=()=>{if(S(e)){return}if(e.processRequestEndOfBody){e.processRequestEndOfBody()}};const processBodyError=t=>{if(S(e)){return}if(t.name==="AbortError"){e.controller.abort()}else{e.controller.terminate(t)}};d=async function*(){try{for await(const e of A.body.stream){yield*processBodyChunk(e)}processEndOfBody()}catch(e){processBodyError(e)}}()}try{const{body:t,status:r,statusText:s,headersList:o,socket:n}=await dispatch({body:d});if(n){c=i({status:r,statusText:s,headersList:o,socket:n})}else{const n=t[Symbol.asyncIterator]();e.controller.next=()=>n.next();c=i({status:r,statusText:s,headersList:o})}}catch(t){if(t.name==="AbortError"){e.controller.connection.destroy();return n(e,t)}return o(t)}const pullAlgorithm=()=>{e.controller.resume()};const cancelAlgorithm=t=>{e.controller.abort(t)};if(!he){he=r(3774).ReadableStream}const E=new he({async start(t){e.controller.controller=t},async pull(e){await pullAlgorithm(e)},async cancel(e){await cancelAlgorithm(e)}},{highWaterMark:0,size(){return 1}});c.body={stream:E};e.controller.on("terminated",onAborted);e.controller.resume=async()=>{while(true){let t;let r;try{const{done:r,value:s}=await e.controller.next();if(v(e)){break}t=r?undefined:s}catch(s){if(e.controller.ended&&!l.encodedBodySize){t=undefined}else{t=s;r=true}}if(t===undefined){O(e.controller.controller);finalizeResponse(e,c);return}l.decodedBodySize+=t?.byteLength??0;if(r){e.controller.terminate(t);return}e.controller.controller.enqueue(new Uint8Array(t));if(oe(E)){e.controller.terminate();return}if(!e.controller.controller.desiredSize){return}}};function onAborted(t){if(v(e)){c.aborted=true;if(ne(E)){e.controller.controller.error(e.controller.serializedAbortReason)}}else{if(ne(E)){e.controller.controller.error(new TypeError("terminated",{cause:U(t)?t:undefined}))}}e.controller.connection.destroy()}return c;async function dispatch({body:t}){const r=C(A);const s=e.controller.dispatcher;return new Promise(((o,n)=>s.dispatch({path:r.pathname+r.search,origin:r.origin,method:A.method,body:e.controller.dispatcher.isMockActive?A.body&&(A.body.source||A.body.stream):t,headers:A.headersList.entries,maxRedirections:0,upgrade:A.mode==="websocket"?"websocket":undefined},{body:null,abort:null,onConnect(t){const{connection:r}=e.controller;if(r.destroyed){t(new X("The operation was aborted.","AbortError"))}else{e.controller.on("terminated",t);this.abort=r.abort=t}},onHeaders(e,t,r,s){if(e<200){return}let n=[];let i="";const c=new a;if(Array.isArray(t)){for(let e=0;e<t.length;e+=2){const r=t[e+0].toString("latin1");const s=t[e+1].toString("latin1");if(r.toLowerCase()==="content-encoding"){n=s.toLowerCase().split(",").map((e=>e.trim()))}else if(r.toLowerCase()==="location"){i=s}c[$].append(r,s)}}else{const e=Object.keys(t);for(const r of e){const e=t[r];if(r.toLowerCase()==="content-encoding"){n=e.toLowerCase().split(",").map((e=>e.trim())).reverse()}else if(r.toLowerCase()==="location"){i=e}c[$].append(r,e)}}this.body=new te({read:r});const l=[];const g=A.redirect==="follow"&&i&&j.has(e);if(A.method!=="HEAD"&&A.method!=="CONNECT"&&!W.includes(e)&&!g){for(const e of n){if(e==="x-gzip"||e==="gzip"){l.push(u.createGunzip({flush:u.constants.Z_SYNC_FLUSH,finishFlush:u.constants.Z_SYNC_FLUSH}))}else if(e==="deflate"){l.push(u.createInflate())}else if(e==="br"){l.push(u.createBrotliDecompress())}else{l.length=0;break}}}o({status:e,statusText:s,headersList:c[$],body:l.length?re(this.body,...l,(()=>{})):this.body.on("error",(()=>{}))});return true},onData(t){if(e.controller.dump){return}const r=t;l.encodedBodySize+=r.byteLength;return this.body.push(r)},onComplete(){if(this.abort){e.controller.off("terminated",this.abort)}e.controller.ended=true;this.body.push(null)},onError(t){if(this.abort){e.controller.off("terminated",this.abort)}this.body?.destroy(t);e.controller.terminate(t);n(t)},onUpgrade(e,t,r){if(e!==101){return}const s=new a;for(let e=0;e<t.length;e+=2){const r=t[e+0].toString("latin1");const o=t[e+1].toString("latin1");s[$].append(r,o)}o({status:e,statusText:pe[e],headersList:s[$],socket:r});return true}})))}}e.exports={fetch:fetch,Fetch:Fetch,fetching:fetching,finalizeAndReportTiming:finalizeAndReportTiming}},5194:(e,t,r)=>{const{extractBody:s,mixinBody:o,cloneBody:n}=r(8923);const{Headers:A,fill:i,HeadersList:a}=r(6349);const{FinalizationRegistry:c}=r(3194)();const l=r(3440);const{isValidHTTPToken:u,sameOrigin:g,normalizeMethod:p,makePolicyContainer:d,normalizeMethodRecord:E}=r(5523);const{forbiddenMethodsSet:h,corsSafeListedMethodsSet:I,referrerPolicy:m,requestRedirect:C,requestMode:Q,requestCredentials:B,requestCache:y,requestDuplex:w}=r(7326);const{kEnumerableProperty:b}=l;const{kHeaders:R,kSignal:T,kState:k,kGuard:D,kRealm:_}=r(9710);const{webidl:F}=r(4222);const{getGlobalOrigin:S}=r(5628);const{URLSerializer:v}=r(4322);const{kHeadersList:U,kConstruct:N}=r(6443);const O=r(2613);const{getMaxListeners:G,setMaxListeners:L,getEventListeners:P,defaultMaxListeners:M}=r(4434);let x=globalThis.TransformStream;const H=Symbol("abortController");const V=new c((({signal:e,abort:t})=>{e.removeEventListener("abort",t)}));class Request{constructor(e,t={}){if(e===N){return}F.argumentLengthCheck(arguments,1,{header:"Request constructor"});e=F.converters.RequestInfo(e);t=F.converters.RequestInit(t);this[_]={settingsObject:{baseUrl:S(),get origin(){return this.baseUrl?.origin},policyContainer:d()}};let o=null;let n=null;const c=this[_].settingsObject.baseUrl;let m=null;if(typeof e==="string"){let t;try{t=new URL(e,c)}catch(t){throw new TypeError("Failed to parse URL from "+e,{cause:t})}if(t.username||t.password){throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e)}o=makeRequest({urlList:[t]});n="cors"}else{O(e instanceof Request);o=e[k];m=e[T]}const C=this[_].settingsObject.origin;let Q="client";if(o.window?.constructor?.name==="EnvironmentSettingsObject"&&g(o.window,C)){Q=o.window}if(t.window!=null){throw new TypeError(`'window' option '${Q}' must be null`)}if("window"in t){Q="no-window"}o=makeRequest({method:o.method,headersList:o.headersList,unsafeRequest:o.unsafeRequest,client:this[_].settingsObject,window:Q,priority:o.priority,origin:o.origin,referrer:o.referrer,referrerPolicy:o.referrerPolicy,mode:o.mode,credentials:o.credentials,cache:o.cache,redirect:o.redirect,integrity:o.integrity,keepalive:o.keepalive,reloadNavigation:o.reloadNavigation,historyNavigation:o.historyNavigation,urlList:[...o.urlList]});const B=Object.keys(t).length!==0;if(B){if(o.mode==="navigate"){o.mode="same-origin"}o.reloadNavigation=false;o.historyNavigation=false;o.origin="client";o.referrer="client";o.referrerPolicy="";o.url=o.urlList[o.urlList.length-1];o.urlList=[o.url]}if(t.referrer!==undefined){const e=t.referrer;if(e===""){o.referrer="no-referrer"}else{let t;try{t=new URL(e,c)}catch(t){throw new TypeError(`Referrer "${e}" is not a valid URL.`,{cause:t})}if(t.protocol==="about:"&&t.hostname==="client"||C&&!g(t,this[_].settingsObject.baseUrl)){o.referrer="client"}else{o.referrer=t}}}if(t.referrerPolicy!==undefined){o.referrerPolicy=t.referrerPolicy}let y;if(t.mode!==undefined){y=t.mode}else{y=n}if(y==="navigate"){throw F.errors.exception({header:"Request constructor",message:"invalid request mode navigate."})}if(y!=null){o.mode=y}if(t.credentials!==undefined){o.credentials=t.credentials}if(t.cache!==undefined){o.cache=t.cache}if(o.cache==="only-if-cached"&&o.mode!=="same-origin"){throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode")}if(t.redirect!==undefined){o.redirect=t.redirect}if(t.integrity!=null){o.integrity=String(t.integrity)}if(t.keepalive!==undefined){o.keepalive=Boolean(t.keepalive)}if(t.method!==undefined){let e=t.method;if(!u(e)){throw new TypeError(`'${e}' is not a valid HTTP method.`)}if(h.has(e.toUpperCase())){throw new TypeError(`'${e}' HTTP method is unsupported.`)}e=E[e]??p(e);o.method=e}if(t.signal!==undefined){m=t.signal}this[k]=o;const w=new AbortController;this[T]=w.signal;this[T][_]=this[_];if(m!=null){if(!m||typeof m.aborted!=="boolean"||typeof m.addEventListener!=="function"){throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.")}if(m.aborted){w.abort(m.reason)}else{this[H]=w;const e=new WeakRef(w);const abort=function(){const t=e.deref();if(t!==undefined){t.abort(this.reason)}};try{if(typeof G==="function"&&G(m)===M){L(100,m)}else if(P(m,"abort").length>=M){L(100,m)}}catch{}l.addAbortListener(m,abort);V.register(w,{signal:m,abort:abort})}}this[R]=new A(N);this[R][U]=o.headersList;this[R][D]="request";this[R][_]=this[_];if(y==="no-cors"){if(!I.has(o.method)){throw new TypeError(`'${o.method} is unsupported in no-cors mode.`)}this[R][D]="request-no-cors"}if(B){const e=this[R][U];const r=t.headers!==undefined?t.headers:new a(e);e.clear();if(r instanceof a){for(const[t,s]of r){e.append(t,s)}e.cookies=r.cookies}else{i(this[R],r)}}const b=e instanceof Request?e[k].body:null;if((t.body!=null||b!=null)&&(o.method==="GET"||o.method==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body.")}let v=null;if(t.body!=null){const[e,r]=s(t.body,o.keepalive);v=e;if(r&&!this[R][U].contains("content-type")){this[R].append("content-type",r)}}const Y=v??b;if(Y!=null&&Y.source==null){if(v!=null&&t.duplex==null){throw new TypeError("RequestInit: duplex option is required when sending a body.")}if(o.mode!=="same-origin"&&o.mode!=="cors"){throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"')}o.useCORSPreflightFlag=true}let J=Y;if(v==null&&b!=null){if(l.isDisturbed(b.stream)||b.stream.locked){throw new TypeError("Cannot construct a Request with a Request object that has already been used.")}if(!x){x=r(3774).TransformStream}const e=new x;b.stream.pipeThrough(e);J={source:b.source,length:b.length,stream:e.readable}}this[k].body=J}get method(){F.brandCheck(this,Request);return this[k].method}get url(){F.brandCheck(this,Request);return v(this[k].url)}get headers(){F.brandCheck(this,Request);return this[R]}get destination(){F.brandCheck(this,Request);return this[k].destination}get referrer(){F.brandCheck(this,Request);if(this[k].referrer==="no-referrer"){return""}if(this[k].referrer==="client"){return"about:client"}return this[k].referrer.toString()}get referrerPolicy(){F.brandCheck(this,Request);return this[k].referrerPolicy}get mode(){F.brandCheck(this,Request);return this[k].mode}get credentials(){return this[k].credentials}get cache(){F.brandCheck(this,Request);return this[k].cache}get redirect(){F.brandCheck(this,Request);return this[k].redirect}get integrity(){F.brandCheck(this,Request);return this[k].integrity}get keepalive(){F.brandCheck(this,Request);return this[k].keepalive}get isReloadNavigation(){F.brandCheck(this,Request);return this[k].reloadNavigation}get isHistoryNavigation(){F.brandCheck(this,Request);return this[k].historyNavigation}get signal(){F.brandCheck(this,Request);return this[T]}get body(){F.brandCheck(this,Request);return this[k].body?this[k].body.stream:null}get bodyUsed(){F.brandCheck(this,Request);return!!this[k].body&&l.isDisturbed(this[k].body.stream)}get duplex(){F.brandCheck(this,Request);return"half"}clone(){F.brandCheck(this,Request);if(this.bodyUsed||this.body?.locked){throw new TypeError("unusable")}const e=cloneRequest(this[k]);const t=new Request(N);t[k]=e;t[_]=this[_];t[R]=new A(N);t[R][U]=e.headersList;t[R][D]=this[R][D];t[R][_]=this[R][_];const r=new AbortController;if(this.signal.aborted){r.abort(this.signal.reason)}else{l.addAbortListener(this.signal,(()=>{r.abort(this.signal.reason)}))}t[T]=r.signal;return t}}o(Request);function makeRequest(e){const t={method:"GET",localURLsOnly:false,unsafeRequest:false,body:null,client:null,reservedClient:null,replacesClientId:"",window:"client",keepalive:false,serviceWorkers:"all",initiator:"",destination:"",priority:null,origin:"client",policyContainer:"client",referrer:"client",referrerPolicy:"",mode:"no-cors",useCORSPreflightFlag:false,credentials:"same-origin",useCredentials:false,cache:"default",redirect:"follow",integrity:"",cryptoGraphicsNonceMetadata:"",parserMetadata:"",reloadNavigation:false,historyNavigation:false,userActivation:false,taintedOrigin:false,redirectCount:0,responseTainting:"basic",preventNoCacheCacheControlHeaderModification:false,done:false,timingAllowFailed:false,...e,headersList:e.headersList?new a(e.headersList):new a};t.url=t.urlList[0];return t}function cloneRequest(e){const t=makeRequest({...e,body:null});if(e.body!=null){t.body=n(e.body)}return t}Object.defineProperties(Request.prototype,{method:b,url:b,headers:b,redirect:b,clone:b,signal:b,duplex:b,destination:b,body:b,bodyUsed:b,isHistoryNavigation:b,isReloadNavigation:b,keepalive:b,integrity:b,cache:b,credentials:b,attribute:b,referrerPolicy:b,referrer:b,mode:b,[Symbol.toStringTag]:{value:"Request",configurable:true}});F.converters.Request=F.interfaceConverter(Request);F.converters.RequestInfo=function(e){if(typeof e==="string"){return F.converters.USVString(e)}if(e instanceof Request){return F.converters.Request(e)}return F.converters.USVString(e)};F.converters.AbortSignal=F.interfaceConverter(AbortSignal);F.converters.RequestInit=F.dictionaryConverter([{key:"method",converter:F.converters.ByteString},{key:"headers",converter:F.converters.HeadersInit},{key:"body",converter:F.nullableConverter(F.converters.BodyInit)},{key:"referrer",converter:F.converters.USVString},{key:"referrerPolicy",converter:F.converters.DOMString,allowedValues:m},{key:"mode",converter:F.converters.DOMString,allowedValues:Q},{key:"credentials",converter:F.converters.DOMString,allowedValues:B},{key:"cache",converter:F.converters.DOMString,allowedValues:y},{key:"redirect",converter:F.converters.DOMString,allowedValues:C},{key:"integrity",converter:F.converters.DOMString},{key:"keepalive",converter:F.converters.boolean},{key:"signal",converter:F.nullableConverter((e=>F.converters.AbortSignal(e,{strict:false})))},{key:"window",converter:F.converters.any},{key:"duplex",converter:F.converters.DOMString,allowedValues:w}]);e.exports={Request:Request,makeRequest:makeRequest}},8676:(e,t,r)=>{const{Headers:s,HeadersList:o,fill:n}=r(6349);const{extractBody:A,cloneBody:i,mixinBody:a}=r(8923);const c=r(3440);const{kEnumerableProperty:l}=c;const{isValidReasonPhrase:u,isCancelled:g,isAborted:p,isBlobLike:d,serializeJavascriptValueToJSONString:E,isErrorLike:h,isomorphicEncode:I}=r(5523);const{redirectStatusSet:m,nullBodyStatus:C,DOMException:Q}=r(7326);const{kState:B,kHeaders:y,kGuard:w,kRealm:b}=r(9710);const{webidl:R}=r(4222);const{FormData:T}=r(3073);const{getGlobalOrigin:k}=r(5628);const{URLSerializer:D}=r(4322);const{kHeadersList:_,kConstruct:F}=r(6443);const S=r(2613);const{types:v}=r(9023);const U=globalThis.ReadableStream||r(3774).ReadableStream;const N=new TextEncoder("utf-8");class Response{static error(){const e={settingsObject:{}};const t=new Response;t[B]=makeNetworkError();t[b]=e;t[y][_]=t[B].headersList;t[y][w]="immutable";t[y][b]=e;return t}static json(e,t={}){R.argumentLengthCheck(arguments,1,{header:"Response.json"});if(t!==null){t=R.converters.ResponseInit(t)}const r=N.encode(E(e));const s=A(r);const o={settingsObject:{}};const n=new Response;n[b]=o;n[y][w]="response";n[y][b]=o;initializeResponse(n,t,{body:s[0],type:"application/json"});return n}static redirect(e,t=302){const r={settingsObject:{}};R.argumentLengthCheck(arguments,1,{header:"Response.redirect"});e=R.converters.USVString(e);t=R.converters["unsigned short"](t);let s;try{s=new URL(e,k())}catch(t){throw Object.assign(new TypeError("Failed to parse URL from "+e),{cause:t})}if(!m.has(t)){throw new RangeError("Invalid status code "+t)}const o=new Response;o[b]=r;o[y][w]="immutable";o[y][b]=r;o[B].status=t;const n=I(D(s));o[B].headersList.append("location",n);return o}constructor(e=null,t={}){if(e!==null){e=R.converters.BodyInit(e)}t=R.converters.ResponseInit(t);this[b]={settingsObject:{}};this[B]=makeResponse({});this[y]=new s(F);this[y][w]="response";this[y][_]=this[B].headersList;this[y][b]=this[b];let r=null;if(e!=null){const[t,s]=A(e);r={body:t,type:s}}initializeResponse(this,t,r)}get type(){R.brandCheck(this,Response);return this[B].type}get url(){R.brandCheck(this,Response);const e=this[B].urlList;const t=e[e.length-1]??null;if(t===null){return""}return D(t,true)}get redirected(){R.brandCheck(this,Response);return this[B].urlList.length>1}get status(){R.brandCheck(this,Response);return this[B].status}get ok(){R.brandCheck(this,Response);return this[B].status>=200&&this[B].status<=299}get statusText(){R.brandCheck(this,Response);return this[B].statusText}get headers(){R.brandCheck(this,Response);return this[y]}get body(){R.brandCheck(this,Response);return this[B].body?this[B].body.stream:null}get bodyUsed(){R.brandCheck(this,Response);return!!this[B].body&&c.isDisturbed(this[B].body.stream)}clone(){R.brandCheck(this,Response);if(this.bodyUsed||this.body&&this.body.locked){throw R.errors.exception({header:"Response.clone",message:"Body has already been consumed."})}const e=cloneResponse(this[B]);const t=new Response;t[B]=e;t[b]=this[b];t[y][_]=e.headersList;t[y][w]=this[y][w];t[y][b]=this[y][b];return t}}a(Response);Object.defineProperties(Response.prototype,{type:l,url:l,status:l,ok:l,redirected:l,statusText:l,headers:l,clone:l,body:l,bodyUsed:l,[Symbol.toStringTag]:{value:"Response",configurable:true}});Object.defineProperties(Response,{json:l,redirect:l,error:l});function cloneResponse(e){if(e.internalResponse){return filterResponse(cloneResponse(e.internalResponse),e.type)}const t=makeResponse({...e,body:null});if(e.body!=null){t.body=i(e.body)}return t}function makeResponse(e){return{aborted:false,rangeRequested:false,timingAllowPassed:false,requestIncludesCredentials:false,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...e,headersList:e.headersList?new o(e.headersList):new o,urlList:e.urlList?[...e.urlList]:[]}}function makeNetworkError(e){const t=h(e);return makeResponse({type:"error",status:0,error:t?e:new Error(e?String(e):e),aborted:e&&e.name==="AbortError"})}function makeFilteredResponse(e,t){t={internalResponse:e,...t};return new Proxy(e,{get(e,r){return r in t?t[r]:e[r]},set(e,r,s){S(!(r in t));e[r]=s;return true}})}function filterResponse(e,t){if(t==="basic"){return makeFilteredResponse(e,{type:"basic",headersList:e.headersList})}else if(t==="cors"){return makeFilteredResponse(e,{type:"cors",headersList:e.headersList})}else if(t==="opaque"){return makeFilteredResponse(e,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null})}else if(t==="opaqueredirect"){return makeFilteredResponse(e,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null})}else{S(false)}}function makeAppropriateNetworkError(e,t=null){S(g(e));return p(e)?makeNetworkError(Object.assign(new Q("The operation was aborted.","AbortError"),{cause:t})):makeNetworkError(Object.assign(new Q("Request was cancelled."),{cause:t}))}function initializeResponse(e,t,r){if(t.status!==null&&(t.status<200||t.status>599)){throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.')}if("statusText"in t&&t.statusText!=null){if(!u(String(t.statusText))){throw new TypeError("Invalid statusText")}}if("status"in t&&t.status!=null){e[B].status=t.status}if("statusText"in t&&t.statusText!=null){e[B].statusText=t.statusText}if("headers"in t&&t.headers!=null){n(e[y],t.headers)}if(r){if(C.includes(e.status)){throw R.errors.exception({header:"Response constructor",message:"Invalid response status code "+e.status})}e[B].body=r.body;if(r.type!=null&&!e[B].headersList.contains("Content-Type")){e[B].headersList.append("content-type",r.type)}}}R.converters.ReadableStream=R.interfaceConverter(U);R.converters.FormData=R.interfaceConverter(T);R.converters.URLSearchParams=R.interfaceConverter(URLSearchParams);R.converters.XMLHttpRequestBodyInit=function(e){if(typeof e==="string"){return R.converters.USVString(e)}if(d(e)){return R.converters.Blob(e,{strict:false})}if(v.isArrayBuffer(e)||v.isTypedArray(e)||v.isDataView(e)){return R.converters.BufferSource(e)}if(c.isFormDataLike(e)){return R.converters.FormData(e,{strict:false})}if(e instanceof URLSearchParams){return R.converters.URLSearchParams(e)}return R.converters.DOMString(e)};R.converters.BodyInit=function(e){if(e instanceof U){return R.converters.ReadableStream(e)}if(e?.[Symbol.asyncIterator]){return e}return R.converters.XMLHttpRequestBodyInit(e)};R.converters.ResponseInit=R.dictionaryConverter([{key:"status",converter:R.converters["unsigned short"],defaultValue:200},{key:"statusText",converter:R.converters.ByteString,defaultValue:""},{key:"headers",converter:R.converters.HeadersInit}]);e.exports={makeNetworkError:makeNetworkError,makeResponse:makeResponse,makeAppropriateNetworkError:makeAppropriateNetworkError,filterResponse:filterResponse,Response:Response,cloneResponse:cloneResponse}},9710:e=>{e.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kGuard:Symbol("guard"),kRealm:Symbol("realm")}},5523:(e,t,r)=>{const{redirectStatusSet:s,referrerPolicySet:o,badPortsSet:n}=r(7326);const{getGlobalOrigin:A}=r(5628);const{performance:i}=r(2987);const{isBlobLike:a,toUSVString:c,ReadableStreamFrom:l}=r(3440);const u=r(2613);const{isUint8Array:g}=r(8253);let p=[];let d;try{d=r(6982);const e=["sha256","sha384","sha512"];p=d.getHashes().filter((t=>e.includes(t)))}catch{}function responseURL(e){const t=e.urlList;const r=t.length;return r===0?null:t[r-1].toString()}function responseLocationURL(e,t){if(!s.has(e.status)){return null}let r=e.headersList.get("location");if(r!==null&&isValidHeaderValue(r)){r=new URL(r,responseURL(e))}if(r&&!r.hash){r.hash=t}return r}function requestCurrentURL(e){return e.urlList[e.urlList.length-1]}function requestBadPort(e){const t=requestCurrentURL(e);if(urlIsHttpHttpsScheme(t)&&n.has(t.port)){return"blocked"}return"allowed"}function isErrorLike(e){return e instanceof Error||(e?.constructor?.name==="Error"||e?.constructor?.name==="DOMException")}function isValidReasonPhrase(e){for(let t=0;t<e.length;++t){const r=e.charCodeAt(t);if(!(r===9||r>=32&&r<=126||r>=128&&r<=255)){return false}}return true}function isTokenCharCode(e){switch(e){case 34:case 40:case 41:case 44:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 123:case 125:return false;default:return e>=33&&e<=126}}function isValidHTTPToken(e){if(e.length===0){return false}for(let t=0;t<e.length;++t){if(!isTokenCharCode(e.charCodeAt(t))){return false}}return true}function isValidHeaderName(e){return isValidHTTPToken(e)}function isValidHeaderValue(e){if(e.startsWith("\t")||e.startsWith(" ")||e.endsWith("\t")||e.endsWith(" ")){return false}if(e.includes("\0")||e.includes("\r")||e.includes("\n")){return false}return true}function setRequestReferrerPolicyOnRedirect(e,t){const{headersList:r}=t;const s=(r.get("referrer-policy")??"").split(",");let n="";if(s.length>0){for(let e=s.length;e!==0;e--){const t=s[e-1].trim();if(o.has(t)){n=t;break}}}if(n!==""){e.referrerPolicy=n}}function crossOriginResourcePolicyCheck(){return"allowed"}function corsCheck(){return"success"}function TAOCheck(){return"success"}function appendFetchMetadata(e){let t=null;t=e.mode;e.headersList.set("sec-fetch-mode",t)}function appendRequestOriginHeader(e){let t=e.origin;if(e.responseTainting==="cors"||e.mode==="websocket"){if(t){e.headersList.append("origin",t)}}else if(e.method!=="GET"&&e.method!=="HEAD"){switch(e.referrerPolicy){case"no-referrer":t=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":if(e.origin&&urlHasHttpsScheme(e.origin)&&!urlHasHttpsScheme(requestCurrentURL(e))){t=null}break;case"same-origin":if(!sameOrigin(e,requestCurrentURL(e))){t=null}break;default:}if(t){e.headersList.append("origin",t)}}}function coarsenedSharedCurrentTime(e){return i.now()}function createOpaqueTimingInfo(e){return{startTime:e.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:e.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}function makePolicyContainer(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function clonePolicyContainer(e){return{referrerPolicy:e.referrerPolicy}}function determineRequestsReferrer(e){const t=e.referrerPolicy;u(t);let r=null;if(e.referrer==="client"){const e=A();if(!e||e.origin==="null"){return"no-referrer"}r=new URL(e)}else if(e.referrer instanceof URL){r=e.referrer}let s=stripURLForReferrer(r);const o=stripURLForReferrer(r,true);if(s.toString().length>4096){s=o}const n=sameOrigin(e,s);const i=isURLPotentiallyTrustworthy(s)&&!isURLPotentiallyTrustworthy(e.url);switch(t){case"origin":return o!=null?o:stripURLForReferrer(r,true);case"unsafe-url":return s;case"same-origin":return n?o:"no-referrer";case"origin-when-cross-origin":return n?s:o;case"strict-origin-when-cross-origin":{const t=requestCurrentURL(e);if(sameOrigin(s,t)){return s}if(isURLPotentiallyTrustworthy(s)&&!isURLPotentiallyTrustworthy(t)){return"no-referrer"}return o}case"strict-origin":case"no-referrer-when-downgrade":default:return i?"no-referrer":o}}function stripURLForReferrer(e,t){u(e instanceof URL);if(e.protocol==="file:"||e.protocol==="about:"||e.protocol==="blank:"){return"no-referrer"}e.username="";e.password="";e.hash="";if(t){e.pathname="";e.search=""}return e}function isURLPotentiallyTrustworthy(e){if(!(e instanceof URL)){return false}if(e.href==="about:blank"||e.href==="about:srcdoc"){return true}if(e.protocol==="data:")return true;if(e.protocol==="file:")return true;return isOriginPotentiallyTrustworthy(e.origin);function isOriginPotentiallyTrustworthy(e){if(e==null||e==="null")return false;const t=new URL(e);if(t.protocol==="https:"||t.protocol==="wss:"){return true}if(/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(t.hostname)||(t.hostname==="localhost"||t.hostname.includes("localhost."))||t.hostname.endsWith(".localhost")){return true}return false}}function bytesMatch(e,t){if(d===undefined){return true}const r=parseMetadata(t);if(r==="no metadata"){return true}if(r.length===0){return true}const s=getStrongestMetadata(r);const o=filterMetadataListByAlgorithm(r,s);for(const t of o){const r=t.algo;const s=t.hash;let o=d.createHash(r).update(e).digest("base64");if(o[o.length-1]==="="){if(o[o.length-2]==="="){o=o.slice(0,-2)}else{o=o.slice(0,-1)}}if(compareBase64Mixed(o,s)){return true}}return false}const E=/(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function parseMetadata(e){const t=[];let r=true;for(const s of e.split(" ")){r=false;const e=E.exec(s);if(e===null||e.groups===undefined||e.groups.algo===undefined){continue}const o=e.groups.algo.toLowerCase();if(p.includes(o)){t.push(e.groups)}}if(r===true){return"no metadata"}return t}function getStrongestMetadata(e){let t=e[0].algo;if(t[3]==="5"){return t}for(let r=1;r<e.length;++r){const s=e[r];if(s.algo[3]==="5"){t="sha512";break}else if(t[3]==="3"){continue}else if(s.algo[3]==="3"){t="sha384"}}return t}function filterMetadataListByAlgorithm(e,t){if(e.length===1){return e}let r=0;for(let s=0;s<e.length;++s){if(e[s].algo===t){e[r++]=e[s]}}e.length=r;return e}function compareBase64Mixed(e,t){if(e.length!==t.length){return false}for(let r=0;r<e.length;++r){if(e[r]!==t[r]){if(e[r]==="+"&&t[r]==="-"||e[r]==="/"&&t[r]==="_"){continue}return false}}return true}function tryUpgradeRequestToAPotentiallyTrustworthyURL(e){}function sameOrigin(e,t){if(e.origin===t.origin&&e.origin==="null"){return true}if(e.protocol===t.protocol&&e.hostname===t.hostname&&e.port===t.port){return true}return false}function createDeferredPromise(){let e;let t;const r=new Promise(((r,s)=>{e=r;t=s}));return{promise:r,resolve:e,reject:t}}function isAborted(e){return e.controller.state==="aborted"}function isCancelled(e){return e.controller.state==="aborted"||e.controller.state==="terminated"}const h={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"};Object.setPrototypeOf(h,null);function normalizeMethod(e){return h[e.toLowerCase()]??e}function serializeJavascriptValueToJSONString(e){const t=JSON.stringify(e);if(t===undefined){throw new TypeError("Value is not JSON serializable")}u(typeof t==="string");return t}const I=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function makeIterator(e,t,r){const s={index:0,kind:r,target:e};const o={next(){if(Object.getPrototypeOf(this)!==o){throw new TypeError(`'next' called on an object that does not implement interface ${t} Iterator.`)}const{index:e,kind:r,target:n}=s;const A=n();const i=A.length;if(e>=i){return{value:undefined,done:true}}const a=A[e];s.index=e+1;return iteratorResult(a,r)},[Symbol.toStringTag]:`${t} Iterator`};Object.setPrototypeOf(o,I);return Object.setPrototypeOf({},o)}function iteratorResult(e,t){let r;switch(t){case"key":{r=e[0];break}case"value":{r=e[1];break}case"key+value":{r=e;break}}return{value:r,done:false}}async function fullyReadBody(e,t,r){const s=t;const o=r;let n;try{n=e.stream.getReader()}catch(e){o(e);return}try{const e=await readAllBytes(n);s(e)}catch(e){o(e)}}let m=globalThis.ReadableStream;function isReadableStreamLike(e){if(!m){m=r(3774).ReadableStream}return e instanceof m||e[Symbol.toStringTag]==="ReadableStream"&&typeof e.tee==="function"}const C=65535;function isomorphicDecode(e){if(e.length<C){return String.fromCharCode(...e)}return e.reduce(((e,t)=>e+String.fromCharCode(t)),"")}function readableStreamClose(e){try{e.close()}catch(e){if(!e.message.includes("Controller is already closed")){throw e}}}function isomorphicEncode(e){for(let t=0;t<e.length;t++){u(e.charCodeAt(t)<=255)}return e}async function readAllBytes(e){const t=[];let r=0;while(true){const{done:s,value:o}=await e.read();if(s){return Buffer.concat(t,r)}if(!g(o)){throw new TypeError("Received non-Uint8Array chunk")}t.push(o);r+=o.length}}function urlIsLocal(e){u("protocol"in e);const t=e.protocol;return t==="about:"||t==="blob:"||t==="data:"}function urlHasHttpsScheme(e){if(typeof e==="string"){return e.startsWith("https:")}return e.protocol==="https:"}function urlIsHttpHttpsScheme(e){u("protocol"in e);const t=e.protocol;return t==="http:"||t==="https:"}const Q=Object.hasOwn||((e,t)=>Object.prototype.hasOwnProperty.call(e,t));e.exports={isAborted:isAborted,isCancelled:isCancelled,createDeferredPromise:createDeferredPromise,ReadableStreamFrom:l,toUSVString:c,tryUpgradeRequestToAPotentiallyTrustworthyURL:tryUpgradeRequestToAPotentiallyTrustworthyURL,coarsenedSharedCurrentTime:coarsenedSharedCurrentTime,determineRequestsReferrer:determineRequestsReferrer,makePolicyContainer:makePolicyContainer,clonePolicyContainer:clonePolicyContainer,appendFetchMetadata:appendFetchMetadata,appendRequestOriginHeader:appendRequestOriginHeader,TAOCheck:TAOCheck,corsCheck:corsCheck,crossOriginResourcePolicyCheck:crossOriginResourcePolicyCheck,createOpaqueTimingInfo:createOpaqueTimingInfo,setRequestReferrerPolicyOnRedirect:setRequestReferrerPolicyOnRedirect,isValidHTTPToken:isValidHTTPToken,requestBadPort:requestBadPort,requestCurrentURL:requestCurrentURL,responseURL:responseURL,responseLocationURL:responseLocationURL,isBlobLike:a,isURLPotentiallyTrustworthy:isURLPotentiallyTrustworthy,isValidReasonPhrase:isValidReasonPhrase,sameOrigin:sameOrigin,normalizeMethod:normalizeMethod,serializeJavascriptValueToJSONString:serializeJavascriptValueToJSONString,makeIterator:makeIterator,isValidHeaderName:isValidHeaderName,isValidHeaderValue:isValidHeaderValue,hasOwn:Q,isErrorLike:isErrorLike,fullyReadBody:fullyReadBody,bytesMatch:bytesMatch,isReadableStreamLike:isReadableStreamLike,readableStreamClose:readableStreamClose,isomorphicEncode:isomorphicEncode,isomorphicDecode:isomorphicDecode,urlIsLocal:urlIsLocal,urlHasHttpsScheme:urlHasHttpsScheme,urlIsHttpHttpsScheme:urlIsHttpHttpsScheme,readAllBytes:readAllBytes,normalizeMethodRecord:h,parseMetadata:parseMetadata}},4222:(e,t,r)=>{const{types:s}=r(9023);const{hasOwn:o,toUSVString:n}=r(5523);const A={};A.converters={};A.util={};A.errors={};A.errors.exception=function(e){return new TypeError(`${e.header}: ${e.message}`)};A.errors.conversionFailed=function(e){const t=e.types.length===1?"":" one of";const r=`${e.argument} could not be converted to`+`${t}: ${e.types.join(", ")}.`;return A.errors.exception({header:e.prefix,message:r})};A.errors.invalidArgument=function(e){return A.errors.exception({header:e.prefix,message:`"${e.value}" is an invalid ${e.type}.`})};A.brandCheck=function(e,t,r=undefined){if(r?.strict!==false&&!(e instanceof t)){throw new TypeError("Illegal invocation")}else{return e?.[Symbol.toStringTag]===t.prototype[Symbol.toStringTag]}};A.argumentLengthCheck=function({length:e},t,r){if(e<t){throw A.errors.exception({message:`${t} argument${t!==1?"s":""} required, `+`but${e?" only":""} ${e} found.`,...r})}};A.illegalConstructor=function(){throw A.errors.exception({header:"TypeError",message:"Illegal constructor"})};A.util.Type=function(e){switch(typeof e){case"undefined":return"Undefined";case"boolean":return"Boolean";case"string":return"String";case"symbol":return"Symbol";case"number":return"Number";case"bigint":return"BigInt";case"function":case"object":{if(e===null){return"Null"}return"Object"}}};A.util.ConvertToInt=function(e,t,r,s={}){let o;let n;if(t===64){o=Math.pow(2,53)-1;if(r==="unsigned"){n=0}else{n=Math.pow(-2,53)+1}}else if(r==="unsigned"){n=0;o=Math.pow(2,t)-1}else{n=Math.pow(-2,t)-1;o=Math.pow(2,t-1)-1}let i=Number(e);if(i===0){i=0}if(s.enforceRange===true){if(Number.isNaN(i)||i===Number.POSITIVE_INFINITY||i===Number.NEGATIVE_INFINITY){throw A.errors.exception({header:"Integer conversion",message:`Could not convert ${e} to an integer.`})}i=A.util.IntegerPart(i);if(i<n||i>o){throw A.errors.exception({header:"Integer conversion",message:`Value must be between ${n}-${o}, got ${i}.`})}return i}if(!Number.isNaN(i)&&s.clamp===true){i=Math.min(Math.max(i,n),o);if(Math.floor(i)%2===0){i=Math.floor(i)}else{i=Math.ceil(i)}return i}if(Number.isNaN(i)||i===0&&Object.is(0,i)||i===Number.POSITIVE_INFINITY||i===Number.NEGATIVE_INFINITY){return 0}i=A.util.IntegerPart(i);i=i%Math.pow(2,t);if(r==="signed"&&i>=Math.pow(2,t)-1){return i-Math.pow(2,t)}return i};A.util.IntegerPart=function(e){const t=Math.floor(Math.abs(e));if(e<0){return-1*t}return t};A.sequenceConverter=function(e){return t=>{if(A.util.Type(t)!=="Object"){throw A.errors.exception({header:"Sequence",message:`Value of type ${A.util.Type(t)} is not an Object.`})}const r=t?.[Symbol.iterator]?.();const s=[];if(r===undefined||typeof r.next!=="function"){throw A.errors.exception({header:"Sequence",message:"Object is not an iterator."})}while(true){const{done:t,value:o}=r.next();if(t){break}s.push(e(o))}return s}};A.recordConverter=function(e,t){return r=>{if(A.util.Type(r)!=="Object"){throw A.errors.exception({header:"Record",message:`Value of type ${A.util.Type(r)} is not an Object.`})}const o={};if(!s.isProxy(r)){const s=Object.keys(r);for(const n of s){const s=e(n);const A=t(r[n]);o[s]=A}return o}const n=Reflect.ownKeys(r);for(const s of n){const n=Reflect.getOwnPropertyDescriptor(r,s);if(n?.enumerable){const n=e(s);const A=t(r[s]);o[n]=A}}return o}};A.interfaceConverter=function(e){return(t,r={})=>{if(r.strict!==false&&!(t instanceof e)){throw A.errors.exception({header:e.name,message:`Expected ${t} to be an instance of ${e.name}.`})}return t}};A.dictionaryConverter=function(e){return t=>{const r=A.util.Type(t);const s={};if(r==="Null"||r==="Undefined"){return s}else if(r!=="Object"){throw A.errors.exception({header:"Dictionary",message:`Expected ${t} to be one of: Null, Undefined, Object.`})}for(const r of e){const{key:e,defaultValue:n,required:i,converter:a}=r;if(i===true){if(!o(t,e)){throw A.errors.exception({header:"Dictionary",message:`Missing required key "${e}".`})}}let c=t[e];const l=o(r,"defaultValue");if(l&&c!==null){c=c??n}if(i||l||c!==undefined){c=a(c);if(r.allowedValues&&!r.allowedValues.includes(c)){throw A.errors.exception({header:"Dictionary",message:`${c} is not an accepted type. Expected one of ${r.allowedValues.join(", ")}.`})}s[e]=c}}return s}};A.nullableConverter=function(e){return t=>{if(t===null){return t}return e(t)}};A.converters.DOMString=function(e,t={}){if(e===null&&t.legacyNullToEmptyString){return""}if(typeof e==="symbol"){throw new TypeError("Could not convert argument of type symbol to string.")}return String(e)};A.converters.ByteString=function(e){const t=A.converters.DOMString(e);for(let e=0;e<t.length;e++){if(t.charCodeAt(e)>255){throw new TypeError("Cannot convert argument to a ByteString because the character at "+`index ${e} has a value of ${t.charCodeAt(e)} which is greater than 255.`)}}return t};A.converters.USVString=n;A.converters.boolean=function(e){const t=Boolean(e);return t};A.converters.any=function(e){return e};A.converters["long long"]=function(e){const t=A.util.ConvertToInt(e,64,"signed");return t};A.converters["unsigned long long"]=function(e){const t=A.util.ConvertToInt(e,64,"unsigned");return t};A.converters["unsigned long"]=function(e){const t=A.util.ConvertToInt(e,32,"unsigned");return t};A.converters["unsigned short"]=function(e,t){const r=A.util.ConvertToInt(e,16,"unsigned",t);return r};A.converters.ArrayBuffer=function(e,t={}){if(A.util.Type(e)!=="Object"||!s.isAnyArrayBuffer(e)){throw A.errors.conversionFailed({prefix:`${e}`,argument:`${e}`,types:["ArrayBuffer"]})}if(t.allowShared===false&&s.isSharedArrayBuffer(e)){throw A.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return e};A.converters.TypedArray=function(e,t,r={}){if(A.util.Type(e)!=="Object"||!s.isTypedArray(e)||e.constructor.name!==t.name){throw A.errors.conversionFailed({prefix:`${t.name}`,argument:`${e}`,types:[t.name]})}if(r.allowShared===false&&s.isSharedArrayBuffer(e.buffer)){throw A.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return e};A.converters.DataView=function(e,t={}){if(A.util.Type(e)!=="Object"||!s.isDataView(e)){throw A.errors.exception({header:"DataView",message:"Object is not a DataView."})}if(t.allowShared===false&&s.isSharedArrayBuffer(e.buffer)){throw A.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return e};A.converters.BufferSource=function(e,t={}){if(s.isAnyArrayBuffer(e)){return A.converters.ArrayBuffer(e,t)}if(s.isTypedArray(e)){return A.converters.TypedArray(e,e.constructor)}if(s.isDataView(e)){return A.converters.DataView(e,t)}throw new TypeError(`Could not convert ${e} to a BufferSource.`)};A.converters["sequence<ByteString>"]=A.sequenceConverter(A.converters.ByteString);A.converters["sequence<sequence<ByteString>>"]=A.sequenceConverter(A.converters["sequence<ByteString>"]);A.converters["record<ByteString, ByteString>"]=A.recordConverter(A.converters.ByteString,A.converters.ByteString);e.exports={webidl:A}},396:e=>{function getEncoding(e){if(!e){return"failure"}switch(e.trim().toLowerCase()){case"unicode-1-1-utf-8":case"unicode11utf8":case"unicode20utf8":case"utf-8":case"utf8":case"x-unicode20utf8":return"UTF-8";case"866":case"cp866":case"csibm866":case"ibm866":return"IBM866";case"csisolatin2":case"iso-8859-2":case"iso-ir-101":case"iso8859-2":case"iso88592":case"iso_8859-2":case"iso_8859-2:1987":case"l2":case"latin2":return"ISO-8859-2";case"csisolatin3":case"iso-8859-3":case"iso-ir-109":case"iso8859-3":case"iso88593":case"iso_8859-3":case"iso_8859-3:1988":case"l3":case"latin3":return"ISO-8859-3";case"csisolatin4":case"iso-8859-4":case"iso-ir-110":case"iso8859-4":case"iso88594":case"iso_8859-4":case"iso_8859-4:1988":case"l4":case"latin4":return"ISO-8859-4";case"csisolatincyrillic":case"cyrillic":case"iso-8859-5":case"iso-ir-144":case"iso8859-5":case"iso88595":case"iso_8859-5":case"iso_8859-5:1988":return"ISO-8859-5";case"arabic":case"asmo-708":case"csiso88596e":case"csiso88596i":case"csisolatinarabic":case"ecma-114":case"iso-8859-6":case"iso-8859-6-e":case"iso-8859-6-i":case"iso-ir-127":case"iso8859-6":case"iso88596":case"iso_8859-6":case"iso_8859-6:1987":return"ISO-8859-6";case"csisolatingreek":case"ecma-118":case"elot_928":case"greek":case"greek8":case"iso-8859-7":case"iso-ir-126":case"iso8859-7":case"iso88597":case"iso_8859-7":case"iso_8859-7:1987":case"sun_eu_greek":return"ISO-8859-7";case"csiso88598e":case"csisolatinhebrew":case"hebrew":case"iso-8859-8":case"iso-8859-8-e":case"iso-ir-138":case"iso8859-8":case"iso88598":case"iso_8859-8":case"iso_8859-8:1988":case"visual":return"ISO-8859-8";case"csiso88598i":case"iso-8859-8-i":case"logical":return"ISO-8859-8-I";case"csisolatin6":case"iso-8859-10":case"iso-ir-157":case"iso8859-10":case"iso885910":case"l6":case"latin6":return"ISO-8859-10";case"iso-8859-13":case"iso8859-13":case"iso885913":return"ISO-8859-13";case"iso-8859-14":case"iso8859-14":case"iso885914":return"ISO-8859-14";case"csisolatin9":case"iso-8859-15":case"iso8859-15":case"iso885915":case"iso_8859-15":case"l9":return"ISO-8859-15";case"iso-8859-16":return"ISO-8859-16";case"cskoi8r":case"koi":case"koi8":case"koi8-r":case"koi8_r":return"KOI8-R";case"koi8-ru":case"koi8-u":return"KOI8-U";case"csmacintosh":case"mac":case"macintosh":case"x-mac-roman":return"macintosh";case"iso-8859-11":case"iso8859-11":case"iso885911":case"tis-620":case"windows-874":return"windows-874";case"cp1250":case"windows-1250":case"x-cp1250":return"windows-1250";case"cp1251":case"windows-1251":case"x-cp1251":return"windows-1251";case"ansi_x3.4-1968":case"ascii":case"cp1252":case"cp819":case"csisolatin1":case"ibm819":case"iso-8859-1":case"iso-ir-100":case"iso8859-1":case"iso88591":case"iso_8859-1":case"iso_8859-1:1987":case"l1":case"latin1":case"us-ascii":case"windows-1252":case"x-cp1252":return"windows-1252";case"cp1253":case"windows-1253":case"x-cp1253":return"windows-1253";case"cp1254":case"csisolatin5":case"iso-8859-9":case"iso-ir-148":case"iso8859-9":case"iso88599":case"iso_8859-9":case"iso_8859-9:1989":case"l5":case"latin5":case"windows-1254":case"x-cp1254":return"windows-1254";case"cp1255":case"windows-1255":case"x-cp1255":return"windows-1255";case"cp1256":case"windows-1256":case"x-cp1256":return"windows-1256";case"cp1257":case"windows-1257":case"x-cp1257":return"windows-1257";case"cp1258":case"windows-1258":case"x-cp1258":return"windows-1258";case"x-mac-cyrillic":case"x-mac-ukrainian":return"x-mac-cyrillic";case"chinese":case"csgb2312":case"csiso58gb231280":case"gb2312":case"gb_2312":case"gb_2312-80":case"gbk":case"iso-ir-58":case"x-gbk":return"GBK";case"gb18030":return"gb18030";case"big5":case"big5-hkscs":case"cn-big5":case"csbig5":case"x-x-big5":return"Big5";case"cseucpkdfmtjapanese":case"euc-jp":case"x-euc-jp":return"EUC-JP";case"csiso2022jp":case"iso-2022-jp":return"ISO-2022-JP";case"csshiftjis":case"ms932":case"ms_kanji":case"shift-jis":case"shift_jis":case"sjis":case"windows-31j":case"x-sjis":return"Shift_JIS";case"cseuckr":case"csksc56011987":case"euc-kr":case"iso-ir-149":case"korean":case"ks_c_5601-1987":case"ks_c_5601-1989":case"ksc5601":case"ksc_5601":case"windows-949":return"EUC-KR";case"csiso2022kr":case"hz-gb-2312":case"iso-2022-cn":case"iso-2022-cn-ext":case"iso-2022-kr":case"replacement":return"replacement";case"unicodefffe":case"utf-16be":return"UTF-16BE";case"csunicode":case"iso-10646-ucs-2":case"ucs-2":case"unicode":case"unicodefeff":case"utf-16":case"utf-16le":return"UTF-16LE";case"x-user-defined":return"x-user-defined";default:return"failure"}}e.exports={getEncoding:getEncoding}},2160:(e,t,r)=>{const{staticPropertyDescriptors:s,readOperation:o,fireAProgressEvent:n}=r(165);const{kState:A,kError:i,kResult:a,kEvents:c,kAborted:l}=r(6812);const{webidl:u}=r(4222);const{kEnumerableProperty:g}=r(3440);class FileReader extends EventTarget{constructor(){super();this[A]="empty";this[a]=null;this[i]=null;this[c]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,{header:"FileReader.readAsArrayBuffer"});e=u.converters.Blob(e,{strict:false});o(this,e,"ArrayBuffer")}readAsBinaryString(e){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,{header:"FileReader.readAsBinaryString"});e=u.converters.Blob(e,{strict:false});o(this,e,"BinaryString")}readAsText(e,t=undefined){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,{header:"FileReader.readAsText"});e=u.converters.Blob(e,{strict:false});if(t!==undefined){t=u.converters.DOMString(t)}o(this,e,"Text",t)}readAsDataURL(e){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,{header:"FileReader.readAsDataURL"});e=u.converters.Blob(e,{strict:false});o(this,e,"DataURL")}abort(){if(this[A]==="empty"||this[A]==="done"){this[a]=null;return}if(this[A]==="loading"){this[A]="done";this[a]=null}this[l]=true;n("abort",this);if(this[A]!=="loading"){n("loadend",this)}}get readyState(){u.brandCheck(this,FileReader);switch(this[A]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){u.brandCheck(this,FileReader);return this[a]}get error(){u.brandCheck(this,FileReader);return this[i]}get onloadend(){u.brandCheck(this,FileReader);return this[c].loadend}set onloadend(e){u.brandCheck(this,FileReader);if(this[c].loadend){this.removeEventListener("loadend",this[c].loadend)}if(typeof e==="function"){this[c].loadend=e;this.addEventListener("loadend",e)}else{this[c].loadend=null}}get onerror(){u.brandCheck(this,FileReader);return this[c].error}set onerror(e){u.brandCheck(this,FileReader);if(this[c].error){this.removeEventListener("error",this[c].error)}if(typeof e==="function"){this[c].error=e;this.addEventListener("error",e)}else{this[c].error=null}}get onloadstart(){u.brandCheck(this,FileReader);return this[c].loadstart}set onloadstart(e){u.brandCheck(this,FileReader);if(this[c].loadstart){this.removeEventListener("loadstart",this[c].loadstart)}if(typeof e==="function"){this[c].loadstart=e;this.addEventListener("loadstart",e)}else{this[c].loadstart=null}}get onprogress(){u.brandCheck(this,FileReader);return this[c].progress}set onprogress(e){u.brandCheck(this,FileReader);if(this[c].progress){this.removeEventListener("progress",this[c].progress)}if(typeof e==="function"){this[c].progress=e;this.addEventListener("progress",e)}else{this[c].progress=null}}get onload(){u.brandCheck(this,FileReader);return this[c].load}set onload(e){u.brandCheck(this,FileReader);if(this[c].load){this.removeEventListener("load",this[c].load)}if(typeof e==="function"){this[c].load=e;this.addEventListener("load",e)}else{this[c].load=null}}get onabort(){u.brandCheck(this,FileReader);return this[c].abort}set onabort(e){u.brandCheck(this,FileReader);if(this[c].abort){this.removeEventListener("abort",this[c].abort)}if(typeof e==="function"){this[c].abort=e;this.addEventListener("abort",e)}else{this[c].abort=null}}}FileReader.EMPTY=FileReader.prototype.EMPTY=0;FileReader.LOADING=FileReader.prototype.LOADING=1;FileReader.DONE=FileReader.prototype.DONE=2;Object.defineProperties(FileReader.prototype,{EMPTY:s,LOADING:s,DONE:s,readAsArrayBuffer:g,readAsBinaryString:g,readAsText:g,readAsDataURL:g,abort:g,readyState:g,result:g,error:g,onloadstart:g,onprogress:g,onload:g,onabort:g,onerror:g,onloadend:g,[Symbol.toStringTag]:{value:"FileReader",writable:false,enumerable:false,configurable:true}});Object.defineProperties(FileReader,{EMPTY:s,LOADING:s,DONE:s});e.exports={FileReader:FileReader}},5976:(e,t,r)=>{const{webidl:s}=r(4222);const o=Symbol("ProgressEvent state");class ProgressEvent extends Event{constructor(e,t={}){e=s.converters.DOMString(e);t=s.converters.ProgressEventInit(t??{});super(e,t);this[o]={lengthComputable:t.lengthComputable,loaded:t.loaded,total:t.total}}get lengthComputable(){s.brandCheck(this,ProgressEvent);return this[o].lengthComputable}get loaded(){s.brandCheck(this,ProgressEvent);return this[o].loaded}get total(){s.brandCheck(this,ProgressEvent);return this[o].total}}s.converters.ProgressEventInit=s.dictionaryConverter([{key:"lengthComputable",converter:s.converters.boolean,defaultValue:false},{key:"loaded",converter:s.converters["unsigned long long"],defaultValue:0},{key:"total",converter:s.converters["unsigned long long"],defaultValue:0},{key:"bubbles",converter:s.converters.boolean,defaultValue:false},{key:"cancelable",converter:s.converters.boolean,defaultValue:false},{key:"composed",converter:s.converters.boolean,defaultValue:false}]);e.exports={ProgressEvent:ProgressEvent}},6812:e=>{e.exports={kState:Symbol("FileReader state"),kResult:Symbol("FileReader result"),kError:Symbol("FileReader error"),kLastProgressEventFired:Symbol("FileReader last progress event fired timestamp"),kEvents:Symbol("FileReader events"),kAborted:Symbol("FileReader aborted")}},165:(e,t,r)=>{const{kState:s,kError:o,kResult:n,kAborted:A,kLastProgressEventFired:i}=r(6812);const{ProgressEvent:a}=r(5976);const{getEncoding:c}=r(396);const{DOMException:l}=r(7326);const{serializeAMimeType:u,parseMIMEType:g}=r(4322);const{types:p}=r(9023);const{StringDecoder:d}=r(3193);const{btoa:E}=r(181);const h={enumerable:true,writable:false,configurable:false};function readOperation(e,t,r,a){if(e[s]==="loading"){throw new l("Invalid state","InvalidStateError")}e[s]="loading";e[n]=null;e[o]=null;const c=t.stream();const u=c.getReader();const g=[];let d=u.read();let E=true;(async()=>{while(!e[A]){try{const{done:c,value:l}=await d;if(E&&!e[A]){queueMicrotask((()=>{fireAProgressEvent("loadstart",e)}))}E=false;if(!c&&p.isUint8Array(l)){g.push(l);if((e[i]===undefined||Date.now()-e[i]>=50)&&!e[A]){e[i]=Date.now();queueMicrotask((()=>{fireAProgressEvent("progress",e)}))}d=u.read()}else if(c){queueMicrotask((()=>{e[s]="done";try{const s=packageData(g,r,t.type,a);if(e[A]){return}e[n]=s;fireAProgressEvent("load",e)}catch(t){e[o]=t;fireAProgressEvent("error",e)}if(e[s]!=="loading"){fireAProgressEvent("loadend",e)}}));break}}catch(t){if(e[A]){return}queueMicrotask((()=>{e[s]="done";e[o]=t;fireAProgressEvent("error",e);if(e[s]!=="loading"){fireAProgressEvent("loadend",e)}}));break}}})()}function fireAProgressEvent(e,t){const r=new a(e,{bubbles:false,cancelable:false});t.dispatchEvent(r)}function packageData(e,t,r,s){switch(t){case"DataURL":{let t="data:";const s=g(r||"application/octet-stream");if(s!=="failure"){t+=u(s)}t+=";base64,";const o=new d("latin1");for(const r of e){t+=E(o.write(r))}t+=E(o.end());return t}case"Text":{let t="failure";if(s){t=c(s)}if(t==="failure"&&r){const e=g(r);if(e!=="failure"){t=c(e.parameters.get("charset"))}}if(t==="failure"){t="UTF-8"}return decode(e,t)}case"ArrayBuffer":{const t=combineByteSequences(e);return t.buffer}case"BinaryString":{let t="";const r=new d("latin1");for(const s of e){t+=r.write(s)}t+=r.end();return t}}}function decode(e,t){const r=combineByteSequences(e);const s=BOMSniffing(r);let o=0;if(s!==null){t=s;o=s==="UTF-8"?3:2}const n=r.slice(o);return new TextDecoder(t).decode(n)}function BOMSniffing(e){const[t,r,s]=e;if(t===239&&r===187&&s===191){return"UTF-8"}else if(t===254&&r===255){return"UTF-16BE"}else if(t===255&&r===254){return"UTF-16LE"}return null}function combineByteSequences(e){const t=e.reduce(((e,t)=>e+t.byteLength),0);let r=0;return e.reduce(((e,t)=>{e.set(t,r);r+=t.byteLength;return e}),new Uint8Array(t))}e.exports={staticPropertyDescriptors:h,readOperation:readOperation,fireAProgressEvent:fireAProgressEvent}},2581:(e,t,r)=>{const s=Symbol.for("undici.globalDispatcher.1");const{InvalidArgumentError:o}=r(8707);const n=r(9965);if(getGlobalDispatcher()===undefined){setGlobalDispatcher(new n)}function setGlobalDispatcher(e){if(!e||typeof e.dispatch!=="function"){throw new o("Argument agent must implement Agent")}Object.defineProperty(globalThis,s,{value:e,writable:true,enumerable:false,configurable:false})}function getGlobalDispatcher(){return globalThis[s]}e.exports={setGlobalDispatcher:setGlobalDispatcher,getGlobalDispatcher:getGlobalDispatcher}},8840:e=>{e.exports=class DecoratorHandler{constructor(e){this.handler=e}onConnect(...e){return this.handler.onConnect(...e)}onError(...e){return this.handler.onError(...e)}onUpgrade(...e){return this.handler.onUpgrade(...e)}onHeaders(...e){return this.handler.onHeaders(...e)}onData(...e){return this.handler.onData(...e)}onComplete(...e){return this.handler.onComplete(...e)}onBodySent(...e){return this.handler.onBodySent(...e)}}},8299:(e,t,r)=>{const s=r(3440);const{kBodyUsed:o}=r(6443);const n=r(2613);const{InvalidArgumentError:A}=r(8707);const i=r(4434);const a=[300,301,302,303,307,308];const c=Symbol("body");class BodyAsyncIterable{constructor(e){this[c]=e;this[o]=false}async*[Symbol.asyncIterator](){n(!this[o],"disturbed");this[o]=true;yield*this[c]}}class RedirectHandler{constructor(e,t,r,a){if(t!=null&&(!Number.isInteger(t)||t<0)){throw new A("maxRedirections must be a positive number")}s.validateHandler(a,r.method,r.upgrade);this.dispatch=e;this.location=null;this.abort=null;this.opts={...r,maxRedirections:0};this.maxRedirections=t;this.handler=a;this.history=[];if(s.isStream(this.opts.body)){if(s.bodyLength(this.opts.body)===0){this.opts.body.on("data",(function(){n(false)}))}if(typeof this.opts.body.readableDidRead!=="boolean"){this.opts.body[o]=false;i.prototype.on.call(this.opts.body,"data",(function(){this[o]=true}))}}else if(this.opts.body&&typeof this.opts.body.pipeTo==="function"){this.opts.body=new BodyAsyncIterable(this.opts.body)}else if(this.opts.body&&typeof this.opts.body!=="string"&&!ArrayBuffer.isView(this.opts.body)&&s.isIterable(this.opts.body)){this.opts.body=new BodyAsyncIterable(this.opts.body)}}onConnect(e){this.abort=e;this.handler.onConnect(e,{history:this.history})}onUpgrade(e,t,r){this.handler.onUpgrade(e,t,r)}onError(e){this.handler.onError(e)}onHeaders(e,t,r,o){this.location=this.history.length>=this.maxRedirections||s.isDisturbed(this.opts.body)?null:parseLocation(e,t);if(this.opts.origin){this.history.push(new URL(this.opts.path,this.opts.origin))}if(!this.location){return this.handler.onHeaders(e,t,r,o)}const{origin:n,pathname:A,search:i}=s.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin)));const a=i?`${A}${i}`:A;this.opts.headers=cleanRequestHeaders(this.opts.headers,e===303,this.opts.origin!==n);this.opts.path=a;this.opts.origin=n;this.opts.maxRedirections=0;this.opts.query=null;if(e===303&&this.opts.method!=="HEAD"){this.opts.method="GET";this.opts.body=null}}onData(e){if(this.location){}else{return this.handler.onData(e)}}onComplete(e){if(this.location){this.location=null;this.abort=null;this.dispatch(this.opts,this)}else{this.handler.onComplete(e)}}onBodySent(e){if(this.handler.onBodySent){this.handler.onBodySent(e)}}}function parseLocation(e,t){if(a.indexOf(e)===-1){return null}for(let e=0;e<t.length;e+=2){if(t[e].toString().toLowerCase()==="location"){return t[e+1]}}}function shouldRemoveHeader(e,t,r){if(e.length===4){return s.headerNameToString(e)==="host"}if(t&&s.headerNameToString(e).startsWith("content-")){return true}if(r&&(e.length===13||e.length===6||e.length===19)){const t=s.headerNameToString(e);return t==="authorization"||t==="cookie"||t==="proxy-authorization"}return false}function cleanRequestHeaders(e,t,r){const s=[];if(Array.isArray(e)){for(let o=0;o<e.length;o+=2){if(!shouldRemoveHeader(e[o],t,r)){s.push(e[o],e[o+1])}}}else if(e&&typeof e==="object"){for(const o of Object.keys(e)){if(!shouldRemoveHeader(o,t,r)){s.push(o,e[o])}}}else{n(e==null,"headers must be an object or an array")}return s}e.exports=RedirectHandler},3573:(e,t,r)=>{const s=r(2613);const{kRetryHandlerDefaultRetry:o}=r(6443);const{RequestRetryError:n}=r(8707);const{isDisturbed:A,parseHeaders:i,parseRangeHeader:a}=r(3440);function calculateRetryAfterHeader(e){const t=Date.now();const r=new Date(e).getTime()-t;return r}class RetryHandler{constructor(e,t){const{retryOptions:r,...s}=e;const{retry:n,maxRetries:A,maxTimeout:i,minTimeout:a,timeoutFactor:c,methods:l,errorCodes:u,retryAfter:g,statusCodes:p}=r??{};this.dispatch=t.dispatch;this.handler=t.handler;this.opts=s;this.abort=null;this.aborted=false;this.retryOpts={retry:n??RetryHandler[o],retryAfter:g??true,maxTimeout:i??30*1e3,timeout:a??500,timeoutFactor:c??2,maxRetries:A??5,methods:l??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:p??[500,502,503,504,429],errorCodes:u??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE"]};this.retryCount=0;this.start=0;this.end=null;this.etag=null;this.resume=null;this.handler.onConnect((e=>{this.aborted=true;if(this.abort){this.abort(e)}else{this.reason=e}}))}onRequestSent(){if(this.handler.onRequestSent){this.handler.onRequestSent()}}onUpgrade(e,t,r){if(this.handler.onUpgrade){this.handler.onUpgrade(e,t,r)}}onConnect(e){if(this.aborted){e(this.reason)}else{this.abort=e}}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[o](e,{state:t,opts:r},s){const{statusCode:o,code:n,headers:A}=e;const{method:i,retryOptions:a}=r;const{maxRetries:c,timeout:l,maxTimeout:u,timeoutFactor:g,statusCodes:p,errorCodes:d,methods:E}=a;let{counter:h,currentTimeout:I}=t;I=I!=null&&I>0?I:l;if(n&&n!=="UND_ERR_REQ_RETRY"&&n!=="UND_ERR_SOCKET"&&!d.includes(n)){s(e);return}if(Array.isArray(E)&&!E.includes(i)){s(e);return}if(o!=null&&Array.isArray(p)&&!p.includes(o)){s(e);return}if(h>c){s(e);return}let m=A!=null&&A["retry-after"];if(m){m=Number(m);m=isNaN(m)?calculateRetryAfterHeader(m):m*1e3}const C=m>0?Math.min(m,u):Math.min(I*g**h,u);t.currentTimeout=C;setTimeout((()=>s(null)),C)}onHeaders(e,t,r,o){const A=i(t);this.retryCount+=1;if(e>=300){this.abort(new n("Request failed",e,{headers:A,count:this.retryCount}));return false}if(this.resume!=null){this.resume=null;if(e!==206){return true}const t=a(A["content-range"]);if(!t){this.abort(new n("Content-Range mismatch",e,{headers:A,count:this.retryCount}));return false}if(this.etag!=null&&this.etag!==A.etag){this.abort(new n("ETag mismatch",e,{headers:A,count:this.retryCount}));return false}const{start:o,size:i,end:c=i}=t;s(this.start===o,"content-range mismatch");s(this.end==null||this.end===c,"content-range mismatch");this.resume=r;return true}if(this.end==null){if(e===206){const n=a(A["content-range"]);if(n==null){return this.handler.onHeaders(e,t,r,o)}const{start:i,size:c,end:l=c}=n;s(i!=null&&Number.isFinite(i)&&this.start!==i,"content-range mismatch");s(Number.isFinite(i));s(l!=null&&Number.isFinite(l)&&this.end!==l,"invalid content-length");this.start=i;this.end=l}if(this.end==null){const e=A["content-length"];this.end=e!=null?Number(e):null}s(Number.isFinite(this.start));s(this.end==null||Number.isFinite(this.end),"invalid content-length");this.resume=r;this.etag=A.etag!=null?A.etag:null;return this.handler.onHeaders(e,t,r,o)}const c=new n("Request failed",e,{headers:A,count:this.retryCount});this.abort(c);return false}onData(e){this.start+=e.length;return this.handler.onData(e)}onComplete(e){this.retryCount=0;return this.handler.onComplete(e)}onError(e){if(this.aborted||A(this.opts.body)){return this.handler.onError(e)}this.retryOpts.retry(e,{state:{counter:this.retryCount++,currentTimeout:this.retryAfter},opts:{retryOptions:this.retryOpts,...this.opts}},onRetry.bind(this));function onRetry(e){if(e!=null||this.aborted||A(this.opts.body)){return this.handler.onError(e)}if(this.start!==0){this.opts={...this.opts,headers:{...this.opts.headers,range:`bytes=${this.start}-${this.end??""}`}}}try{this.dispatch(this.opts,this)}catch(e){this.handler.onError(e)}}}}e.exports=RetryHandler},4415:(e,t,r)=>{const s=r(8299);function createRedirectInterceptor({maxRedirections:e}){return t=>function Intercept(r,o){const{maxRedirections:n=e}=r;if(!n){return t(r,o)}const A=new s(t,n,r,o);r={...r,maxRedirections:0};return t(r,A)}}e.exports=createRedirectInterceptor},2824:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.SPECIAL_HEADERS=t.HEADER_STATE=t.MINOR=t.MAJOR=t.CONNECTION_TOKEN_CHARS=t.HEADER_CHARS=t.TOKEN=t.STRICT_TOKEN=t.HEX=t.URL_CHAR=t.STRICT_URL_CHAR=t.USERINFO_CHARS=t.MARK=t.ALPHANUM=t.NUM=t.HEX_MAP=t.NUM_MAP=t.ALPHA=t.FINISH=t.H_METHOD_MAP=t.METHOD_MAP=t.METHODS_RTSP=t.METHODS_ICE=t.METHODS_HTTP=t.METHODS=t.LENIENT_FLAGS=t.FLAGS=t.TYPE=t.ERROR=void 0;const s=r(172);var o;(function(e){e[e["OK"]=0]="OK";e[e["INTERNAL"]=1]="INTERNAL";e[e["STRICT"]=2]="STRICT";e[e["LF_EXPECTED"]=3]="LF_EXPECTED";e[e["UNEXPECTED_CONTENT_LENGTH"]=4]="UNEXPECTED_CONTENT_LENGTH";e[e["CLOSED_CONNECTION"]=5]="CLOSED_CONNECTION";e[e["INVALID_METHOD"]=6]="INVALID_METHOD";e[e["INVALID_URL"]=7]="INVALID_URL";e[e["INVALID_CONSTANT"]=8]="INVALID_CONSTANT";e[e["INVALID_VERSION"]=9]="INVALID_VERSION";e[e["INVALID_HEADER_TOKEN"]=10]="INVALID_HEADER_TOKEN";e[e["INVALID_CONTENT_LENGTH"]=11]="INVALID_CONTENT_LENGTH";e[e["INVALID_CHUNK_SIZE"]=12]="INVALID_CHUNK_SIZE";e[e["INVALID_STATUS"]=13]="INVALID_STATUS";e[e["INVALID_EOF_STATE"]=14]="INVALID_EOF_STATE";e[e["INVALID_TRANSFER_ENCODING"]=15]="INVALID_TRANSFER_ENCODING";e[e["CB_MESSAGE_BEGIN"]=16]="CB_MESSAGE_BEGIN";e[e["CB_HEADERS_COMPLETE"]=17]="CB_HEADERS_COMPLETE";e[e["CB_MESSAGE_COMPLETE"]=18]="CB_MESSAGE_COMPLETE";e[e["CB_CHUNK_HEADER"]=19]="CB_CHUNK_HEADER";e[e["CB_CHUNK_COMPLETE"]=20]="CB_CHUNK_COMPLETE";e[e["PAUSED"]=21]="PAUSED";e[e["PAUSED_UPGRADE"]=22]="PAUSED_UPGRADE";e[e["PAUSED_H2_UPGRADE"]=23]="PAUSED_H2_UPGRADE";e[e["USER"]=24]="USER"})(o=t.ERROR||(t.ERROR={}));var n;(function(e){e[e["BOTH"]=0]="BOTH";e[e["REQUEST"]=1]="REQUEST";e[e["RESPONSE"]=2]="RESPONSE"})(n=t.TYPE||(t.TYPE={}));var A;(function(e){e[e["CONNECTION_KEEP_ALIVE"]=1]="CONNECTION_KEEP_ALIVE";e[e["CONNECTION_CLOSE"]=2]="CONNECTION_CLOSE";e[e["CONNECTION_UPGRADE"]=4]="CONNECTION_UPGRADE";e[e["CHUNKED"]=8]="CHUNKED";e[e["UPGRADE"]=16]="UPGRADE";e[e["CONTENT_LENGTH"]=32]="CONTENT_LENGTH";e[e["SKIPBODY"]=64]="SKIPBODY";e[e["TRAILING"]=128]="TRAILING";e[e["TRANSFER_ENCODING"]=512]="TRANSFER_ENCODING"})(A=t.FLAGS||(t.FLAGS={}));var i;(function(e){e[e["HEADERS"]=1]="HEADERS";e[e["CHUNKED_LENGTH"]=2]="CHUNKED_LENGTH";e[e["KEEP_ALIVE"]=4]="KEEP_ALIVE"})(i=t.LENIENT_FLAGS||(t.LENIENT_FLAGS={}));var a;(function(e){e[e["DELETE"]=0]="DELETE";e[e["GET"]=1]="GET";e[e["HEAD"]=2]="HEAD";e[e["POST"]=3]="POST";e[e["PUT"]=4]="PUT";e[e["CONNECT"]=5]="CONNECT";e[e["OPTIONS"]=6]="OPTIONS";e[e["TRACE"]=7]="TRACE";e[e["COPY"]=8]="COPY";e[e["LOCK"]=9]="LOCK";e[e["MKCOL"]=10]="MKCOL";e[e["MOVE"]=11]="MOVE";e[e["PROPFIND"]=12]="PROPFIND";e[e["PROPPATCH"]=13]="PROPPATCH";e[e["SEARCH"]=14]="SEARCH";e[e["UNLOCK"]=15]="UNLOCK";e[e["BIND"]=16]="BIND";e[e["REBIND"]=17]="REBIND";e[e["UNBIND"]=18]="UNBIND";e[e["ACL"]=19]="ACL";e[e["REPORT"]=20]="REPORT";e[e["MKACTIVITY"]=21]="MKACTIVITY";e[e["CHECKOUT"]=22]="CHECKOUT";e[e["MERGE"]=23]="MERGE";e[e["M-SEARCH"]=24]="M-SEARCH";e[e["NOTIFY"]=25]="NOTIFY";e[e["SUBSCRIBE"]=26]="SUBSCRIBE";e[e["UNSUBSCRIBE"]=27]="UNSUBSCRIBE";e[e["PATCH"]=28]="PATCH";e[e["PURGE"]=29]="PURGE";e[e["MKCALENDAR"]=30]="MKCALENDAR";e[e["LINK"]=31]="LINK";e[e["UNLINK"]=32]="UNLINK";e[e["SOURCE"]=33]="SOURCE";e[e["PRI"]=34]="PRI";e[e["DESCRIBE"]=35]="DESCRIBE";e[e["ANNOUNCE"]=36]="ANNOUNCE";e[e["SETUP"]=37]="SETUP";e[e["PLAY"]=38]="PLAY";e[e["PAUSE"]=39]="PAUSE";e[e["TEARDOWN"]=40]="TEARDOWN";e[e["GET_PARAMETER"]=41]="GET_PARAMETER";e[e["SET_PARAMETER"]=42]="SET_PARAMETER";e[e["REDIRECT"]=43]="REDIRECT";e[e["RECORD"]=44]="RECORD";e[e["FLUSH"]=45]="FLUSH"})(a=t.METHODS||(t.METHODS={}));t.METHODS_HTTP=[a.DELETE,a.GET,a.HEAD,a.POST,a.PUT,a.CONNECT,a.OPTIONS,a.TRACE,a.COPY,a.LOCK,a.MKCOL,a.MOVE,a.PROPFIND,a.PROPPATCH,a.SEARCH,a.UNLOCK,a.BIND,a.REBIND,a.UNBIND,a.ACL,a.REPORT,a.MKACTIVITY,a.CHECKOUT,a.MERGE,a["M-SEARCH"],a.NOTIFY,a.SUBSCRIBE,a.UNSUBSCRIBE,a.PATCH,a.PURGE,a.MKCALENDAR,a.LINK,a.UNLINK,a.PRI,a.SOURCE];t.METHODS_ICE=[a.SOURCE];t.METHODS_RTSP=[a.OPTIONS,a.DESCRIBE,a.ANNOUNCE,a.SETUP,a.PLAY,a.PAUSE,a.TEARDOWN,a.GET_PARAMETER,a.SET_PARAMETER,a.REDIRECT,a.RECORD,a.FLUSH,a.GET,a.POST];t.METHOD_MAP=s.enumToMap(a);t.H_METHOD_MAP={};Object.keys(t.METHOD_MAP).forEach((e=>{if(/^H/.test(e)){t.H_METHOD_MAP[e]=t.METHOD_MAP[e]}}));var c;(function(e){e[e["SAFE"]=0]="SAFE";e[e["SAFE_WITH_CB"]=1]="SAFE_WITH_CB";e[e["UNSAFE"]=2]="UNSAFE"})(c=t.FINISH||(t.FINISH={}));t.ALPHA=[];for(let e="A".charCodeAt(0);e<="Z".charCodeAt(0);e++){t.ALPHA.push(String.fromCharCode(e));t.ALPHA.push(String.fromCharCode(e+32))}t.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};t.HEX_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15};t.NUM=["0","1","2","3","4","5","6","7","8","9"];t.ALPHANUM=t.ALPHA.concat(t.NUM);t.MARK=["-","_",".","!","~","*","'","(",")"];t.USERINFO_CHARS=t.ALPHANUM.concat(t.MARK).concat(["%",";",":","&","=","+","$",","]);t.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(t.ALPHANUM);t.URL_CHAR=t.STRICT_URL_CHAR.concat(["\t","\f"]);for(let e=128;e<=255;e++){t.URL_CHAR.push(e)}t.HEX=t.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);t.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(t.ALPHANUM);t.TOKEN=t.STRICT_TOKEN.concat([" "]);t.HEADER_CHARS=["\t"];for(let e=32;e<=255;e++){if(e!==127){t.HEADER_CHARS.push(e)}}t.CONNECTION_TOKEN_CHARS=t.HEADER_CHARS.filter((e=>e!==44));t.MAJOR=t.NUM_MAP;t.MINOR=t.MAJOR;var l;(function(e){e[e["GENERAL"]=0]="GENERAL";e[e["CONNECTION"]=1]="CONNECTION";e[e["CONTENT_LENGTH"]=2]="CONTENT_LENGTH";e[e["TRANSFER_ENCODING"]=3]="TRANSFER_ENCODING";e[e["UPGRADE"]=4]="UPGRADE";e[e["CONNECTION_KEEP_ALIVE"]=5]="CONNECTION_KEEP_ALIVE";e[e["CONNECTION_CLOSE"]=6]="CONNECTION_CLOSE";e[e["CONNECTION_UPGRADE"]=7]="CONNECTION_UPGRADE";e[e["TRANSFER_ENCODING_CHUNKED"]=8]="TRANSFER_ENCODING_CHUNKED"})(l=t.HEADER_STATE||(t.HEADER_STATE={}));t.SPECIAL_HEADERS={connection:l.CONNECTION,"content-length":l.CONTENT_LENGTH,"proxy-connection":l.CONNECTION,"transfer-encoding":l.TRANSFER_ENCODING,upgrade:l.UPGRADE}},3870:e=>{e.exports="AGFzbQEAAAABMAhgAX8Bf2ADf39/AX9gBH9/f38Bf2AAAGADf39/AGABfwBgAn9/AGAGf39/f39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQACA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAE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ZW5pZW50X3RyYW5zZmVyX2VuY29kaW5nACUYbGxodHRwX21lc3NhZ2VfbmVlZHNfZW9mAD8JFwEAQQELEQECAwQFCwYHNTk3MS8tJyspCsLgAkUCAAsIABCIgICAAAsZACAAEMKAgIAAGiAAIAI2AjggACABOgAoCxwAIAAgAC8BMiAALQAuIAAQwYCAgAAQgICAgAALKgEBf0HAABDGgICAACIBEMKAgIAAGiABQYCIgIAANgI4IAEgADoAKCABCwoAIAAQyICAgAALBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LRQEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABDCgICAABogACAENgI4IAAgAzoAKCAAIAI6AC0gACABNgIYCxEAIAAgASABIAJqEMOAgIAACxAAIABBAEHcABDMgICAABoLZwEBf0EAIQECQCAAKAIMDQACQAJAAkACQCAALQAvDgMBAAMCCyAAKAI4IgFFDQAgASgCLCIBRQ0AIAAgARGAgICAAAAiAQ0DC0EADwsQyoCAgAAACyAAQcOWgIAANgIQQQ4hAQsgAQseAAJAIAAoAgwNACAAQdGbgIAANgIQIABBFTYCDAsLFgACQCAAKAIMQRVHDQAgAEEANgIMCwsWAAJAIAAoAgxBFkcNACAAQQA2AgwLCwcAIAAoAgwLBwAgACgCEAsJACAAIAE2AhALBwAgACgCFAsiAAJAIABBJEkNABDKgICAAAALIABBAnRBoLOAgABqKAIACyIAAkAgAEEuSQ0AEMqAgIAAAAsgAEECdEGwtICAAGooAgAL7gsBAX9B66iAgAAhAQJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJA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DQAgAC8BMkH//wNxIgVBnH9qQeQASQ0AIAVBzAFGDQAgBUGwAkYNACAEQcAAcQ0AQQAhAyAEQYgEcUGABEYNACAEQShxQQBHIQMLIABBADsBMCAAQQA6AC8gAwuZAQECfwJAAkACQCAALQAqRQ0AIAAtACtFDQBBACEBIAAvATAiAkECcUUNAQwCC0EAIQEgAC8BMCICQQFxRQ0BC0EBIQEgAC0AKEEBRg0AIAAvATJB//8DcSIAQZx/akHkAEkNACAAQcwBRg0AIABBsAJGDQAgAkHAAHENAEEAIQEgAkGIBHFBgARGDQAgAkEocUEARyEBCyABC1kAIABBGGpCADcDACAAQgA3AwAgAEE4akIANwMAIABBMGpCADcDACAAQShqQgA3AwAgAEEgakIANwMAIABBEGpCADcDACAAQQhqQgA3AwAgAEHdATYCHEEAC3sBAX8CQCAAKAIMIgMNAAJAIAAoAgRFDQAgACABNgIECwJAIAAgASACEMSAgIAAIgMNACAAKAIMDwsgACADNgIcQQAhAyAAKAIEIgFFDQAgACABIAIgACgCCBGBgICAAAAiAUUNACAAIAI2AhQgACABNgIMIAEhAwsgAwvk8wEDDn8DfgR/I4CAgIAAQRBrIgMkgICAgAAgASEEIAEhBSABIQYgASEHIAEhCCABIQkgASEKIAEhCyABIQwgASENIAEhDiABIQ8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAA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ACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAQDscBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxweHyAhIyUoP0BBREVGR0hJSktMTU9QUVJT3gNXWVtcXWBiZWZnaGlqa2xtb3BxcnN0dXZ3eHl6e3x9foABggGFAYYBhwGJAYsBjAGNAY4BjwGQAZEBlAGVAZYBlwGYAZkBmgGbAZwBnQGeAZ8BoAGhAaIBowGkAaUBpgGnAagBqQGqAasBrAGtAa4BrwGwAbEBsgGzAbQBtQG2AbcBuAG5AboBuwG8Ab0BvgG/AcABwQHCAcMBxAHFAcYBxwHIAckBygHLAcwBzQHOAc8B0AHRAdIB0wHUAdUB1gHXAdgB2QHaAds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IRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxRCyAAQeUANgIcIAAgATYCFCAAIBA2AgxBACEQDLABCyAAQQA2AhwgACABNgIUIABBxoqAgAA2AhAgAEEHNgIMQQAhEAyvAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHSADYCHCAAIAE2AhQgACAQNgIMQQAhEAyuAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHTADYCHCAAIAE2AhQgACAQNgIMQQAhEAytAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMTQsgAEHlADYCHCAAIAE2AhQgACAQNgIMQQAhEAysAQsgAEEANgIcIAAgATYCFCAAQdyIgIAANgIQIABBBzYCDEEAIRAMqwELIBBBP0cNASABQQFqIQELQQUhEAyQAQtBACEQIABBADYCHCAAIAE2AhQgAEH9koCAADYCECAAQQc2AgwMqAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMpwELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMpgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEYLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMpQELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0gA2AhwgACAUNgIUIAAgATYCDEEAIRAMpAELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0wA2AhwgACAUNgIUIAAgATYCDEEAIRAMowELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDEMLIABB5QA2AhwgACAUNgIUIAAgATYCDEEAIRAMogELIABBADYCHCAAIBQ2AhQgAEHDj4CAADYCECAAQ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AAoAgwiAw0AAkAgACgCBEUNACAAIAE2AgQLAkAgACABIAIQxICAgAAiAw0AIAAoAgwPCyAAIAM2AhxBACEDIAAoAgQiAUUNACAAIAEgAiAAKAIIEYGAgIAAACIBRQ0AIAAgAjYCFCAAIAE2AgwgASEDCyADC+TzAQMOfwN+BH8jgICAgABBEGsiAySAgICAACABIQQgASEFIAEhBiABIQcgASEIIAEhCSABIQogASELIAEhDCABIQ0gASEOIAEhDwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAAKAIcIhBBf2oO3QHaAQHZAQIDBAUGBwgJCgsMDQ7YAQ8Q1wEREtYBExQVFhcYGRob4AHfARwdHtUBHyAhIiMkJdQBJicoKSorLNMB0gEtLtEB0AEvMDEyMzQ1Njc4OTo7PD0+P0BBQkNERUbbAUdISUrPAc4BS80BTMwBTU5PUFFSU1RVVldYWVpbXF1eX2BhYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ent8fX5/gAGBAYIBgwGEAYUBhgGHAYgBiQGKAYsBjAGNAY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QbYBIRAMDQtBtwEhEAwMC0G4ASEQDAsLQbkBIRAMCgtBugEhEAwJC0G7ASEQDAgLQcYBIRAMBwtBvAEhEAwGC0G9ASEQDAULQb4BIRAMBAtBvwEhEAwDC0HAASEQDAILQcIBIRAMAQtBwQEhEAsDQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAA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gICAACIQDecBIAEhAQz1AgsCQCABIgEgAkcNAEEGIRAM8AMLIAAgAUEBaiIBIAIQu4CAgAAiEA3oASABIQEMMQsgAEIANwMgQRIhEAzVAwsgASIQIAJHDStBHSEQDO0DCwJAIAEiASACRg0AIAFBAWohAUEQIRAM1AMLQQchEAzsAwsgAEIAIAApAyAiESACIAEiEGutIhJ9IhMgEyARVhs3AyAgESASViIURQ3lAUEIIRAM6wMLAkAgASIBIAJGDQAgAEGJgICAADYCCCAAIAE2AgQgASEBQRQhEAzSAwtBCSEQDOoDCyABIQEgACkDIFAN5AEgASEBDPICCwJAIAEiASACRw0AQQshEAzpAwsgACABQQFqIgEgAhC2gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeYBIAEhAQwNCyAAIAEiASACELqAgIAAIhAN5wEgASEBDPACCwJAIAEiASACRw0AQQ8hEAzlAwsgAS0AACIQQTtGDQggEEENRw3oASABQQFqIQEM7wILIAAgASIBIAIQuoCAgAAiEA3oASABIQEM8gILA0ACQCABLQAAQfC1gIAAai0AACIQQQFGDQAgEEECRw3rASAAKAIEIRAgAEEANgIEIAAgECABQQFqIgEQuYCAgAAiEA3qASABIQEM9AILIAFBAWoiASACRw0AC0ESIRAM4gMLIAAgASIBIAIQuoCAgAAiEA3pASABIQEMCgsgASIBIAJHDQZBGyEQDOADCwJAIAEiASACRw0AQRYhEAzgAwsgAEGKgICAADYCCCAAIAE2AgQgACABIAIQuICAgAAiEA3qASABIQFBICEQDMYDCwJAIAEiASACRg0AA0ACQCABLQAAQfC3gIAAai0AACIQQQJGDQACQCAQQX9qDgTlAewBAOsB7AELIAFBAWohAUEIIRAMyAMLIAFBAWoiASACRw0AC0EVIRAM3wMLQRUhEAzeAwsDQAJAIAEtAABB8LmAgABqLQAAIhBBAkYNACAQQX9qDgTeAewB4AHrAewBCyABQQFqIgEgAkcNAAtBGCEQDN0DCwJAIAEiASACRg0AIABBi4C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QsgAEEANgIAIBdBAWohAQJAIAAtAClBIUcNACABIQEMVgsgAEEANgIcIAAgATYCFCAAQZuKgIAANgIQIABBCDYCDEEAIRAMtgELIABBADYCACAXQQFqIQECQCAALQApIhBBXWpBC08NACABIQEMVQsCQCAQQQZLDQBBASAQdEHKAHFFDQAgASEBDFULQQAhECAAQQA2AhwgACABNgIUIABB94mAgAA2AhAgAEEINgIMDLUBCyAQQRVGDXEgAEEANgIcIAAgATYCFCAAQbmNgIAANgIQIABBGjYCDEEAIRAMtAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFQLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMswELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMsgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMsQELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFELIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMsAELIABBADYCHCAAIAE2AhQgAEHGioCAADYCECAAQQc2AgxBACEQDK8BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxJCyAAQdIANgIcIAAgATYCFCAAIBA2AgxBACEQDK4BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxJCyAAQdMANgIcIAAgATYCFCAAIBA2AgxBACEQDK0BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxNCyAAQeUANgIcIAAgATYCFCAAIBA2AgxBACEQDKwBCyAAQQA2AhwgACABNgIUIABB3IiAgAA2AhAgAEEHNgIMQQAhEAyrAQsgEEE/Rw0BIAFBAWohAQtBBSEQDJABC0EAIRAgAEEANgIcIAAgATYCFCAAQf2SgIAANgIQIABBB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AAAAAAAAAAAAAAAAAAAAAQAAAQAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAEAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAgAAAAACAAAAAAAAAAAAAAAAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw=="},172:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.enumToMap=void 0;function enumToMap(e){const t={};Object.keys(e).forEach((r=>{const s=e[r];if(typeof s==="number"){t[r]=s}}));return t}t.enumToMap=enumToMap},7501:(e,t,r)=>{const{kClients:s}=r(6443);const o=r(9965);const{kAgent:n,kMockAgentSet:A,kMockAgentGet:i,kDispatches:a,kIsMockActive:c,kNetConnect:l,kGetNetConnect:u,kOptions:g,kFactory:p}=r(1117);const d=r(7365);const E=r(4004);const{matchValue:h,buildMockOptions:I}=r(3397);const{InvalidArgumentError:m,UndiciError:C}=r(8707);const Q=r(992);const B=r(1529);const y=r(6142);class FakeWeakRef{constructor(e){this.value=e}deref(){return this.value}}class MockAgent extends Q{constructor(e){super(e);this[l]=true;this[c]=true;if(e&&e.agent&&typeof e.agent.dispatch!=="function"){throw new m("Argument opts.agent must implement Agent")}const t=e&&e.agent?e.agent:new o(e);this[n]=t;this[s]=t[s];this[g]=I(e)}get(e){let t=this[i](e);if(!t){t=this[p](e);this[A](e,t)}return t}dispatch(e,t){this.get(e.origin);return this[n].dispatch(e,t)}async close(){await this[n].close();this[s].clear()}deactivate(){this[c]=false}activate(){this[c]=true}enableNetConnect(e){if(typeof e==="string"||typeof e==="function"||e instanceof RegExp){if(Array.isArray(this[l])){this[l].push(e)}else{this[l]=[e]}}else if(typeof e==="undefined"){this[l]=true}else{throw new m("Unsupported matcher. Must be one of String|Function|RegExp.")}}disableNetConnect(){this[l]=false}get isMockActive(){return this[c]}[A](e,t){this[s].set(e,new FakeWeakRef(t))}[p](e){const t=Object.assign({agent:this},this[g]);return this[g]&&this[g].connections===1?new d(e,t):new E(e,t)}[i](e){const t=this[s].get(e);if(t){return t.deref()}if(typeof e!=="string"){const t=this[p]("http://localhost:9999");this[A](e,t);return t}for(const[t,r]of Array.from(this[s])){const s=r.deref();if(s&&typeof t!=="string"&&h(t,e)){const t=this[p](e);this[A](e,t);t[a]=s[a];return t}}}[u](){return this[l]}pendingInterceptors(){const e=this[s];return Array.from(e.entries()).flatMap((([e,t])=>t.deref()[a].map((t=>({...t,origin:e}))))).filter((({pending:e})=>e))}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new y}={}){const t=this.pendingInterceptors();if(t.length===0){return}const r=new B("interceptor","interceptors").pluralize(t.length);throw new C(`\n${r.count} ${r.noun} ${r.is} pending:\n\n${e.format(t)}\n`.trim())}}e.exports=MockAgent},7365:(e,t,r)=>{const{promisify:s}=r(9023);const o=r(6197);const{buildMockDispatch:n}=r(3397);const{kDispatches:A,kMockAgent:i,kClose:a,kOriginalClose:c,kOrigin:l,kOriginalDispatch:u,kConnected:g}=r(1117);const{MockInterceptor:p}=r(1511);const d=r(6443);const{InvalidArgumentError:E}=r(8707);class MockClient extends o{constructor(e,t){super(e,t);if(!t||!t.agent||typeof t.agent.dispatch!=="function"){throw new E("Argument opts.agent must implement Agent")}this[i]=t.agent;this[l]=e;this[A]=[];this[g]=1;this[u]=this.dispatch;this[c]=this.close.bind(this);this.dispatch=n.call(this);this.close=this[a]}get[d.kConnected](){return this[g]}intercept(e){return new p(e,this[A])}async[a](){await s(this[c])();this[g]=0;this[i][d.kClients].delete(this[l])}}e.exports=MockClient},2429:(e,t,r)=>{const{UndiciError:s}=r(8707);class MockNotMatchedError extends s{constructor(e){super(e);Error.captureStackTrace(this,MockNotMatchedError);this.name="MockNotMatchedError";this.message=e||"The request does not match any registered mock dispatches";this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}}e.exports={MockNotMatchedError:MockNotMatchedError}},1511:(e,t,r)=>{const{getResponseData:s,buildKey:o,addMockDispatch:n}=r(3397);const{kDispatches:A,kDispatchKey:i,kDefaultHeaders:a,kDefaultTrailers:c,kContentLength:l,kMockDispatch:u}=r(1117);const{InvalidArgumentError:g}=r(8707);const{buildURL:p}=r(3440);class MockScope{constructor(e){this[u]=e}delay(e){if(typeof e!=="number"||!Number.isInteger(e)||e<=0){throw new g("waitInMs must be a valid integer > 0")}this[u].delay=e;return this}persist(){this[u].persist=true;return this}times(e){if(typeof e!=="number"||!Number.isInteger(e)||e<=0){throw new g("repeatTimes must be a valid integer > 0")}this[u].times=e;return this}}class MockInterceptor{constructor(e,t){if(typeof e!=="object"){throw new g("opts must be an object")}if(typeof e.path==="undefined"){throw new g("opts.path must be defined")}if(typeof e.method==="undefined"){e.method="GET"}if(typeof e.path==="string"){if(e.query){e.path=p(e.path,e.query)}else{const t=new URL(e.path,"data://");e.path=t.pathname+t.search}}if(typeof e.method==="string"){e.method=e.method.toUpperCase()}this[i]=o(e);this[A]=t;this[a]={};this[c]={};this[l]=false}createMockScopeDispatchData(e,t,r={}){const o=s(t);const n=this[l]?{"content-length":o.length}:{};const A={...this[a],...n,...r.headers};const i={...this[c],...r.trailers};return{statusCode:e,data:t,headers:A,trailers:i}}validateReplyParameters(e,t,r){if(typeof e==="undefined"){throw new g("statusCode must be defined")}if(typeof t==="undefined"){throw new g("data must be defined")}if(typeof r!=="object"){throw new g("responseOptions must be an object")}}reply(e){if(typeof e==="function"){const wrappedDefaultsCallback=t=>{const r=e(t);if(typeof r!=="object"){throw new g("reply options callback must return an object")}const{statusCode:s,data:o="",responseOptions:n={}}=r;this.validateReplyParameters(s,o,n);return{...this.createMockScopeDispatchData(s,o,n)}};const t=n(this[A],this[i],wrappedDefaultsCallback);return new MockScope(t)}const[t,r="",s={}]=[...arguments];this.validateReplyParameters(t,r,s);const o=this.createMockScopeDispatchData(t,r,s);const a=n(this[A],this[i],o);return new MockScope(a)}replyWithError(e){if(typeof e==="undefined"){throw new g("error must be defined")}const t=n(this[A],this[i],{error:e});return new MockScope(t)}defaultReplyHeaders(e){if(typeof e==="undefined"){throw new g("headers must be defined")}this[a]=e;return this}defaultReplyTrailers(e){if(typeof e==="undefined"){throw new g("trailers must be defined")}this[c]=e;return this}replyContentLength(){this[l]=true;return this}}e.exports.MockInterceptor=MockInterceptor;e.exports.MockScope=MockScope},4004:(e,t,r)=>{const{promisify:s}=r(9023);const o=r(5076);const{buildMockDispatch:n}=r(3397);const{kDispatches:A,kMockAgent:i,kClose:a,kOriginalClose:c,kOrigin:l,kOriginalDispatch:u,kConnected:g}=r(1117);const{MockInterceptor:p}=r(1511);const d=r(6443);const{InvalidArgumentError:E}=r(8707);class MockPool extends o{constructor(e,t){super(e,t);if(!t||!t.agent||typeof t.agent.dispatch!=="function"){throw new E("Argument opts.agent must implement Agent")}this[i]=t.agent;this[l]=e;this[A]=[];this[g]=1;this[u]=this.dispatch;this[c]=this.close.bind(this);this.dispatch=n.call(this);this.close=this[a]}get[d.kConnected](){return this[g]}intercept(e){return new p(e,this[A])}async[a](){await s(this[c])();this[g]=0;this[i][d.kClients].delete(this[l])}}e.exports=MockPool},1117:e=>{e.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected")}},3397:(e,t,r)=>{const{MockNotMatchedError:s}=r(2429);const{kDispatches:o,kMockAgent:n,kOriginalDispatch:A,kOrigin:i,kGetNetConnect:a}=r(1117);const{buildURL:c,nop:l}=r(3440);const{STATUS_CODES:u}=r(8611);const{types:{isPromise:g}}=r(9023);function matchValue(e,t){if(typeof e==="string"){return e===t}if(e instanceof RegExp){return e.test(t)}if(typeof e==="function"){return e(t)===true}return false}function lowerCaseEntries(e){return Object.fromEntries(Object.entries(e).map((([e,t])=>[e.toLocaleLowerCase(),t])))}function getHeaderByName(e,t){if(Array.isArray(e)){for(let r=0;r<e.length;r+=2){if(e[r].toLocaleLowerCase()===t.toLocaleLowerCase()){return e[r+1]}}return undefined}else if(typeof e.get==="function"){return e.get(t)}else{return lowerCaseEntries(e)[t.toLocaleLowerCase()]}}function buildHeadersFromArray(e){const t=e.slice();const r=[];for(let e=0;e<t.length;e+=2){r.push([t[e],t[e+1]])}return Object.fromEntries(r)}function matchHeaders(e,t){if(typeof e.headers==="function"){if(Array.isArray(t)){t=buildHeadersFromArray(t)}return e.headers(t?lowerCaseEntries(t):{})}if(typeof e.headers==="undefined"){return true}if(typeof t!=="object"||typeof e.headers!=="object"){return false}for(const[r,s]of Object.entries(e.headers)){const e=getHeaderByName(t,r);if(!matchValue(s,e)){return false}}return true}function safeUrl(e){if(typeof e!=="string"){return e}const t=e.split("?");if(t.length!==2){return e}const r=new URLSearchParams(t.pop());r.sort();return[...t,r.toString()].join("?")}function matchKey(e,{path:t,method:r,body:s,headers:o}){const n=matchValue(e.path,t);const A=matchValue(e.method,r);const i=typeof e.body!=="undefined"?matchValue(e.body,s):true;const a=matchHeaders(e,o);return n&&A&&i&&a}function getResponseData(e){if(Buffer.isBuffer(e)){return e}else if(typeof e==="object"){return JSON.stringify(e)}else{return e.toString()}}function getMockDispatch(e,t){const r=t.query?c(t.path,t.query):t.path;const o=typeof r==="string"?safeUrl(r):r;let n=e.filter((({consumed:e})=>!e)).filter((({path:e})=>matchValue(safeUrl(e),o)));if(n.length===0){throw new s(`Mock dispatch not matched for path '${o}'`)}n=n.filter((({method:e})=>matchValue(e,t.method)));if(n.length===0){throw new s(`Mock dispatch not matched for method '${t.method}'`)}n=n.filter((({body:e})=>typeof e!=="undefined"?matchValue(e,t.body):true));if(n.length===0){throw new s(`Mock dispatch not matched for body '${t.body}'`)}n=n.filter((e=>matchHeaders(e,t.headers)));if(n.length===0){throw new s(`Mock dispatch not matched for headers '${typeof t.headers==="object"?JSON.stringify(t.headers):t.headers}'`)}return n[0]}function addMockDispatch(e,t,r){const s={timesInvoked:0,times:1,persist:false,consumed:false};const o=typeof r==="function"?{callback:r}:{...r};const n={...s,...t,pending:true,data:{error:null,...o}};e.push(n);return n}function deleteMockDispatch(e,t){const r=e.findIndex((e=>{if(!e.consumed){return false}return matchKey(e,t)}));if(r!==-1){e.splice(r,1)}}function buildKey(e){const{path:t,method:r,body:s,headers:o,query:n}=e;return{path:t,method:r,body:s,headers:o,query:n}}function generateKeyValues(e){return Object.entries(e).reduce(((e,[t,r])=>[...e,Buffer.from(`${t}`),Array.isArray(r)?r.map((e=>Buffer.from(`${e}`))):Buffer.from(`${r}`)]),[])}function getStatusText(e){return u[e]||"unknown"}async function getResponse(e){const t=[];for await(const r of e){t.push(r)}return Buffer.concat(t).toString("utf8")}function mockDispatch(e,t){const r=buildKey(e);const s=getMockDispatch(this[o],r);s.timesInvoked++;if(s.data.callback){s.data={...s.data,...s.data.callback(e)}}const{data:{statusCode:n,data:A,headers:i,trailers:a,error:c},delay:u,persist:p}=s;const{timesInvoked:d,times:E}=s;s.consumed=!p&&d>=E;s.pending=d<E;if(c!==null){deleteMockDispatch(this[o],r);t.onError(c);return true}if(typeof u==="number"&&u>0){setTimeout((()=>{handleReply(this[o])}),u)}else{handleReply(this[o])}function handleReply(s,o=A){const c=Array.isArray(e.headers)?buildHeadersFromArray(e.headers):e.headers;const u=typeof o==="function"?o({...e,headers:c}):o;if(g(u)){u.then((e=>handleReply(s,e)));return}const p=getResponseData(u);const d=generateKeyValues(i);const E=generateKeyValues(a);t.abort=l;t.onHeaders(n,d,resume,getStatusText(n));t.onData(Buffer.from(p));t.onComplete(E);deleteMockDispatch(s,r)}function resume(){}return true}function buildMockDispatch(){const e=this[n];const t=this[i];const r=this[A];return function dispatch(o,n){if(e.isMockActive){try{mockDispatch.call(this,o,n)}catch(A){if(A instanceof s){const i=e[a]();if(i===false){throw new s(`${A.message}: subsequent request to origin ${t} was not allowed (net.connect disabled)`)}if(checkNetConnect(i,t)){r.call(this,o,n)}else{throw new s(`${A.message}: subsequent request to origin ${t} was not allowed (net.connect is not enabled for this origin)`)}}else{throw A}}}else{r.call(this,o,n)}}}function checkNetConnect(e,t){const r=new URL(t);if(e===true){return true}else if(Array.isArray(e)&&e.some((e=>matchValue(e,r.host)))){return true}return false}function buildMockOptions(e){if(e){const{agent:t,...r}=e;return r}}e.exports={getResponseData:getResponseData,getMockDispatch:getMockDispatch,addMockDispatch:addMockDispatch,deleteMockDispatch:deleteMockDispatch,buildKey:buildKey,generateKeyValues:generateKeyValues,matchValue:matchValue,getResponse:getResponse,getStatusText:getStatusText,mockDispatch:mockDispatch,buildMockDispatch:buildMockDispatch,checkNetConnect:checkNetConnect,buildMockOptions:buildMockOptions,getHeaderByName:getHeaderByName}},6142:(e,t,r)=>{const{Transform:s}=r(2203);const{Console:o}=r(4236);e.exports=class PendingInterceptorsFormatter{constructor({disableColors:e}={}){this.transform=new s({transform(e,t,r){r(null,e)}});this.logger=new o({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){const t=e.map((({method:e,path:t,data:{statusCode:r},persist:s,times:o,timesInvoked:n,origin:A})=>({Method:e,Origin:A,Path:t,"Status code":r,Persistent:s?"✅":"❌",Invocations:n,Remaining:s?Infinity:o-n})));this.logger.table(t);return this.transform.read().toString()}}},1529:e=>{const t={pronoun:"it",is:"is",was:"was",this:"this"};const r={pronoun:"they",is:"are",was:"were",this:"these"};e.exports=class Pluralizer{constructor(e,t){this.singular=e;this.plural=t}pluralize(e){const s=e===1;const o=s?t:r;const n=s?this.singular:this.plural;return{...o,count:e,noun:n}}}},4869:e=>{const t=2048;const r=t-1;class FixedCircularBuffer{constructor(){this.bottom=0;this.top=0;this.list=new Array(t);this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&r)===this.bottom}push(e){this.list[this.top]=e;this.top=this.top+1&r}shift(){const e=this.list[this.bottom];if(e===undefined)return null;this.list[this.bottom]=undefined;this.bottom=this.bottom+1&r;return e}}e.exports=class FixedQueue{constructor(){this.head=this.tail=new FixedCircularBuffer}isEmpty(){return this.head.isEmpty()}push(e){if(this.head.isFull()){this.head=this.head.next=new FixedCircularBuffer}this.head.push(e)}shift(){const e=this.tail;const t=e.shift();if(e.isEmpty()&&e.next!==null){this.tail=e.next}return t}}},8640:(e,t,r)=>{const s=r(1);const o=r(4869);const{kConnected:n,kSize:A,kRunning:i,kPending:a,kQueued:c,kBusy:l,kFree:u,kUrl:g,kClose:p,kDestroy:d,kDispatch:E}=r(6443);const h=r(4622);const I=Symbol("clients");const m=Symbol("needDrain");const C=Symbol("queue");const Q=Symbol("closed resolve");const B=Symbol("onDrain");const y=Symbol("onConnect");const w=Symbol("onDisconnect");const b=Symbol("onConnectionError");const R=Symbol("get dispatcher");const T=Symbol("add client");const k=Symbol("remove client");const D=Symbol("stats");class PoolBase extends s{constructor(){super();this[C]=new o;this[I]=[];this[c]=0;const e=this;this[B]=function onDrain(t,r){const s=e[C];let o=false;while(!o){const t=s.shift();if(!t){break}e[c]--;o=!this.dispatch(t.opts,t.handler)}this[m]=o;if(!this[m]&&e[m]){e[m]=false;e.emit("drain",t,[e,...r])}if(e[Q]&&s.isEmpty()){Promise.all(e[I].map((e=>e.close()))).then(e[Q])}};this[y]=(t,r)=>{e.emit("connect",t,[e,...r])};this[w]=(t,r,s)=>{e.emit("disconnect",t,[e,...r],s)};this[b]=(t,r,s)=>{e.emit("connectionError",t,[e,...r],s)};this[D]=new h(this)}get[l](){return this[m]}get[n](){return this[I].filter((e=>e[n])).length}get[u](){return this[I].filter((e=>e[n]&&!e[m])).length}get[a](){let e=this[c];for(const{[a]:t}of this[I]){e+=t}return e}get[i](){let e=0;for(const{[i]:t}of this[I]){e+=t}return e}get[A](){let e=this[c];for(const{[A]:t}of this[I]){e+=t}return e}get stats(){return this[D]}async[p](){if(this[C].isEmpty()){return Promise.all(this[I].map((e=>e.close())))}else{return new Promise((e=>{this[Q]=e}))}}async[d](e){while(true){const t=this[C].shift();if(!t){break}t.handler.onError(e)}return Promise.all(this[I].map((t=>t.destroy(e))))}[E](e,t){const r=this[R]();if(!r){this[m]=true;this[C].push({opts:e,handler:t});this[c]++}else if(!r.dispatch(e,t)){r[m]=true;this[m]=!this[R]()}return!this[m]}[T](e){e.on("drain",this[B]).on("connect",this[y]).on("disconnect",this[w]).on("connectionError",this[b]);this[I].push(e);if(this[m]){process.nextTick((()=>{if(this[m]){this[B](e[g],[this,e])}}))}return this}[k](e){e.close((()=>{const t=this[I].indexOf(e);if(t!==-1){this[I].splice(t,1)}}));this[m]=this[I].some((e=>!e[m]&&e.closed!==true&&e.destroyed!==true))}}e.exports={PoolBase:PoolBase,kClients:I,kNeedDrain:m,kAddClient:T,kRemoveClient:k,kGetDispatcher:R}},4622:(e,t,r)=>{const{kFree:s,kConnected:o,kPending:n,kQueued:A,kRunning:i,kSize:a}=r(6443);const c=Symbol("pool");class PoolStats{constructor(e){this[c]=e}get connected(){return this[c][o]}get free(){return this[c][s]}get pending(){return this[c][n]}get queued(){return this[c][A]}get running(){return this[c][i]}get size(){return this[c][a]}}e.exports=PoolStats},5076:(e,t,r)=>{const{PoolBase:s,kClients:o,kNeedDrain:n,kAddClient:A,kGetDispatcher:i}=r(8640);const a=r(6197);const{InvalidArgumentError:c}=r(8707);const l=r(3440);const{kUrl:u,kInterceptors:g}=r(6443);const p=r(9136);const d=Symbol("options");const E=Symbol("connections");const h=Symbol("factory");function defaultFactory(e,t){return new a(e,t)}class Pool extends s{constructor(e,{connections:t,factory:r=defaultFactory,connect:s,connectTimeout:o,tls:n,maxCachedSessions:A,socketPath:i,autoSelectFamily:a,autoSelectFamilyAttemptTimeout:I,allowH2:m,...C}={}){super();if(t!=null&&(!Number.isFinite(t)||t<0)){throw new c("invalid connections")}if(typeof r!=="function"){throw new c("factory must be a function.")}if(s!=null&&typeof s!=="function"&&typeof s!=="object"){throw new c("connect must be a function or an object")}if(typeof s!=="function"){s=p({...n,maxCachedSessions:A,allowH2:m,socketPath:i,timeout:o,...l.nodeHasAutoSelectFamily&&a?{autoSelectFamily:a,autoSelectFamilyAttemptTimeout:I}:undefined,...s})}this[g]=C.interceptors&&C.interceptors.Pool&&Array.isArray(C.interceptors.Pool)?C.interceptors.Pool:[];this[E]=t||null;this[u]=l.parseOrigin(e);this[d]={...l.deepClone(C),connect:s,allowH2:m};this[d].interceptors=C.interceptors?{...C.interceptors}:undefined;this[h]=r}[i](){let e=this[o].find((e=>!e[n]));if(e){return e}if(!this[E]||this[o].length<this[E]){e=this[h](this[u],this[d]);this[A](e)}return e}}e.exports=Pool},2720:(e,t,r)=>{const{kProxy:s,kClose:o,kDestroy:n,kInterceptors:A}=r(6443);const{URL:i}=r(7016);const a=r(9965);const c=r(5076);const l=r(1);const{InvalidArgumentError:u,RequestAbortedError:g}=r(8707);const p=r(9136);const d=Symbol("proxy agent");const E=Symbol("proxy client");const h=Symbol("proxy headers");const I=Symbol("request tls settings");const m=Symbol("proxy tls settings");const C=Symbol("connect endpoint function");function defaultProtocolPort(e){return e==="https:"?443:80}function buildProxyOptions(e){if(typeof e==="string"){e={uri:e}}if(!e||!e.uri){throw new u("Proxy opts.uri is mandatory")}return{uri:e.uri,protocol:e.protocol||"https"}}function defaultFactory(e,t){return new c(e,t)}class ProxyAgent extends l{constructor(e){super(e);this[s]=buildProxyOptions(e);this[d]=new a(e);this[A]=e.interceptors&&e.interceptors.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[];if(typeof e==="string"){e={uri:e}}if(!e||!e.uri){throw new u("Proxy opts.uri is mandatory")}const{clientFactory:t=defaultFactory}=e;if(typeof t!=="function"){throw new u("Proxy opts.clientFactory must be a function.")}this[I]=e.requestTls;this[m]=e.proxyTls;this[h]=e.headers||{};const r=new i(e.uri);const{origin:o,port:n,host:c,username:l,password:Q}=r;if(e.auth&&e.token){throw new u("opts.auth cannot be used in combination with opts.token")}else if(e.auth){this[h]["proxy-authorization"]=`Basic ${e.auth}`}else if(e.token){this[h]["proxy-authorization"]=e.token}else if(l&&Q){this[h]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(l)}:${decodeURIComponent(Q)}`).toString("base64")}`}const B=p({...e.proxyTls});this[C]=p({...e.requestTls});this[E]=t(r,{connect:B});this[d]=new a({...e,connect:async(e,t)=>{let r=e.host;if(!e.port){r+=`:${defaultProtocolPort(e.protocol)}`}try{const{socket:s,statusCode:A}=await this[E].connect({origin:o,port:n,path:r,signal:e.signal,headers:{...this[h],host:c}});if(A!==200){s.on("error",(()=>{})).destroy();t(new g(`Proxy response (${A}) !== 200 when HTTP Tunneling`))}if(e.protocol!=="https:"){t(null,s);return}let i;if(this[I]){i=this[I].servername}else{i=e.servername}this[C]({...e,servername:i,httpSocket:s},t)}catch(e){t(e)}}})}dispatch(e,t){const{host:r}=new i(e.origin);const s=buildHeaders(e.headers);throwIfProxyAuthIsSent(s);return this[d].dispatch({...e,headers:{...s,host:r}},t)}async[o](){await this[d].close();await this[E].close()}async[n](){await this[d].destroy();await this[E].destroy()}}function buildHeaders(e){if(Array.isArray(e)){const t={};for(let r=0;r<e.length;r+=2){t[e[r]]=e[r+1]}return t}return e}function throwIfProxyAuthIsSent(e){const t=e&&Object.keys(e).find((e=>e.toLowerCase()==="proxy-authorization"));if(t){throw new u("Proxy-Authorization should be sent in ProxyAgent constructor")}}e.exports=ProxyAgent},8804:e=>{let t=Date.now();let r;const s=[];function onTimeout(){t=Date.now();let e=s.length;let r=0;while(r<e){const o=s[r];if(o.state===0){o.state=t+o.delay}else if(o.state>0&&t>=o.state){o.state=-1;o.callback(o.opaque)}if(o.state===-1){o.state=-2;if(r!==e-1){s[r]=s.pop()}else{s.pop()}e-=1}else{r+=1}}if(s.length>0){refreshTimeout()}}function refreshTimeout(){if(r&&r.refresh){r.refresh()}else{clearTimeout(r);r=setTimeout(onTimeout,1e3);if(r.unref){r.unref()}}}class Timeout{constructor(e,t,r){this.callback=e;this.delay=t;this.opaque=r;this.state=-2;this.refresh()}refresh(){if(this.state===-2){s.push(this);if(!r||s.length===1){refreshTimeout()}}this.state=0}clear(){this.state=-1}}e.exports={setTimeout(e,t,r){return t<1e3?setTimeout(e,t,r):new Timeout(e,t,r)},clearTimeout(e){if(e instanceof Timeout){e.clear()}else{clearTimeout(e)}}}},8550:(e,t,r)=>{const s=r(1637);const{uid:o,states:n}=r(5913);const{kReadyState:A,kSentClose:i,kByteParser:a,kReceivedClose:c}=r(2933);const{fireEvent:l,failWebsocketConnection:u}=r(3574);const{CloseEvent:g}=r(6255);const{makeRequest:p}=r(5194);const{fetching:d}=r(2315);const{Headers:E}=r(6349);const{getGlobalDispatcher:h}=r(2581);const{kHeadersList:I}=r(6443);const m={};m.open=s.channel("undici:websocket:open");m.close=s.channel("undici:websocket:close");m.socketError=s.channel("undici:websocket:socket_error");let C;try{C=r(6982)}catch{}function establishWebSocketConnection(e,t,r,s,n){const A=e;A.protocol=e.protocol==="ws:"?"http:":"https:";const i=p({urlList:[A],serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(n.headers){const e=new E(n.headers)[I];i.headersList=e}const a=C.randomBytes(16).toString("base64");i.headersList.append("sec-websocket-key",a);i.headersList.append("sec-websocket-version","13");for(const e of t){i.headersList.append("sec-websocket-protocol",e)}const c="";const l=d({request:i,useParallelQueue:true,dispatcher:n.dispatcher??h(),processResponse(e){if(e.type==="error"||e.status!==101){u(r,"Received network error or non-101 status code.");return}if(t.length!==0&&!e.headersList.get("Sec-WebSocket-Protocol")){u(r,"Server did not respond with sent protocols.");return}if(e.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){u(r,'Server did not set Upgrade header to "websocket".');return}if(e.headersList.get("Connection")?.toLowerCase()!=="upgrade"){u(r,'Server did not set Connection header to "upgrade".');return}const n=e.headersList.get("Sec-WebSocket-Accept");const A=C.createHash("sha1").update(a+o).digest("base64");if(n!==A){u(r,"Incorrect hash received in Sec-WebSocket-Accept header.");return}const l=e.headersList.get("Sec-WebSocket-Extensions");if(l!==null&&l!==c){u(r,"Received different permessage-deflate than the one set.");return}const g=e.headersList.get("Sec-WebSocket-Protocol");if(g!==null&&g!==i.headersList.get("Sec-WebSocket-Protocol")){u(r,"Protocol was not set in the opening handshake.");return}e.socket.on("data",onSocketData);e.socket.on("close",onSocketClose);e.socket.on("error",onSocketError);if(m.open.hasSubscribers){m.open.publish({address:e.socket.address(),protocol:g,extensions:l})}s(e)}});return l}function onSocketData(e){if(!this.ws[a].write(e)){this.pause()}}function onSocketClose(){const{ws:e}=this;const t=e[i]&&e[c];let r=1005;let s="";const o=e[a].closingInfo;if(o){r=o.code??1005;s=o.reason}else if(!e[i]){r=1006}e[A]=n.CLOSED;l("close",e,g,{wasClean:t,code:r,reason:s});if(m.close.hasSubscribers){m.close.publish({websocket:e,code:r,reason:s})}}function onSocketError(e){const{ws:t}=this;t[A]=n.CLOSING;if(m.socketError.hasSubscribers){m.socketError.publish(e)}this.destroy()}e.exports={establishWebSocketConnection:establishWebSocketConnection}},5913:e=>{const t="258EAFA5-E914-47DA-95CA-C5AB0DC85B11";const r={enumerable:true,writable:false,configurable:false};const s={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3};const o={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10};const n=2**16-1;const A={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4};const i=Buffer.allocUnsafe(0);e.exports={uid:t,staticPropertyDescriptors:r,states:s,opcodes:o,maxUnsigned16Bit:n,parserStates:A,emptyBuffer:i}},6255:(e,t,r)=>{const{webidl:s}=r(4222);const{kEnumerableProperty:o}=r(3440);const{MessagePort:n}=r(8167);class MessageEvent extends Event{#n;constructor(e,t={}){s.argumentLengthCheck(arguments,1,{header:"MessageEvent constructor"});e=s.converters.DOMString(e);t=s.converters.MessageEventInit(t);super(e,t);this.#n=t}get data(){s.brandCheck(this,MessageEvent);return this.#n.data}get origin(){s.brandCheck(this,MessageEvent);return this.#n.origin}get lastEventId(){s.brandCheck(this,MessageEvent);return this.#n.lastEventId}get source(){s.brandCheck(this,MessageEvent);return this.#n.source}get ports(){s.brandCheck(this,MessageEvent);if(!Object.isFrozen(this.#n.ports)){Object.freeze(this.#n.ports)}return this.#n.ports}initMessageEvent(e,t=false,r=false,o=null,n="",A="",i=null,a=[]){s.brandCheck(this,MessageEvent);s.argumentLengthCheck(arguments,1,{header:"MessageEvent.initMessageEvent"});return new MessageEvent(e,{bubbles:t,cancelable:r,data:o,origin:n,lastEventId:A,source:i,ports:a})}}class CloseEvent extends Event{#n;constructor(e,t={}){s.argumentLengthCheck(arguments,1,{header:"CloseEvent constructor"});e=s.converters.DOMString(e);t=s.converters.CloseEventInit(t);super(e,t);this.#n=t}get wasClean(){s.brandCheck(this,CloseEvent);return this.#n.wasClean}get code(){s.brandCheck(this,CloseEvent);return this.#n.code}get reason(){s.brandCheck(this,CloseEvent);return this.#n.reason}}class ErrorEvent extends Event{#n;constructor(e,t){s.argumentLengthCheck(arguments,1,{header:"ErrorEvent constructor"});super(e,t);e=s.converters.DOMString(e);t=s.converters.ErrorEventInit(t??{});this.#n=t}get message(){s.brandCheck(this,ErrorEvent);return this.#n.message}get filename(){s.brandCheck(this,ErrorEvent);return this.#n.filename}get lineno(){s.brandCheck(this,ErrorEvent);return this.#n.lineno}get colno(){s.brandCheck(this,ErrorEvent);return this.#n.colno}get error(){s.brandCheck(this,ErrorEvent);return this.#n.error}}Object.defineProperties(MessageEvent.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:true},data:o,origin:o,lastEventId:o,source:o,ports:o,initMessageEvent:o});Object.defineProperties(CloseEvent.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:true},reason:o,code:o,wasClean:o});Object.defineProperties(ErrorEvent.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:true},message:o,filename:o,lineno:o,colno:o,error:o});s.converters.MessagePort=s.interfaceConverter(n);s.converters["sequence<MessagePort>"]=s.sequenceConverter(s.converters.MessagePort);const A=[{key:"bubbles",converter:s.converters.boolean,defaultValue:false},{key:"cancelable",converter:s.converters.boolean,defaultValue:false},{key:"composed",converter:s.converters.boolean,defaultValue:false}];s.converters.MessageEventInit=s.dictionaryConverter([...A,{key:"data",converter:s.converters.any,defaultValue:null},{key:"origin",converter:s.converters.USVString,defaultValue:""},{key:"lastEventId",converter:s.converters.DOMString,defaultValue:""},{key:"source",converter:s.nullableConverter(s.converters.MessagePort),defaultValue:null},{key:"ports",converter:s.converters["sequence<MessagePort>"],get defaultValue(){return[]}}]);s.converters.CloseEventInit=s.dictionaryConverter([...A,{key:"wasClean",converter:s.converters.boolean,defaultValue:false},{key:"code",converter:s.converters["unsigned short"],defaultValue:0},{key:"reason",converter:s.converters.USVString,defaultValue:""}]);s.converters.ErrorEventInit=s.dictionaryConverter([...A,{key:"message",converter:s.converters.DOMString,defaultValue:""},{key:"filename",converter:s.converters.USVString,defaultValue:""},{key:"lineno",converter:s.converters["unsigned long"],defaultValue:0},{key:"colno",converter:s.converters["unsigned long"],defaultValue:0},{key:"error",converter:s.converters.any}]);e.exports={MessageEvent:MessageEvent,CloseEvent:CloseEvent,ErrorEvent:ErrorEvent}},1237:(e,t,r)=>{const{maxUnsigned16Bit:s}=r(5913);let o;try{o=r(6982)}catch{}class WebsocketFrameSend{constructor(e){this.frameData=e;this.maskKey=o.randomBytes(4)}createFrame(e){const t=this.frameData?.byteLength??0;let r=t;let o=6;if(t>s){o+=8;r=127}else if(t>125){o+=2;r=126}const n=Buffer.allocUnsafe(t+o);n[0]=n[1]=0;n[0]|=128;n[0]=(n[0]&240)+e;
-/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */n[o-4]=this.maskKey[0];n[o-3]=this.maskKey[1];n[o-2]=this.maskKey[2];n[o-1]=this.maskKey[3];n[1]=r;if(r===126){n.writeUInt16BE(t,2)}else if(r===127){n[2]=n[3]=0;n.writeUIntBE(t,4,6)}n[1]|=128;for(let e=0;e<t;e++){n[o+e]=this.frameData[e]^this.maskKey[e%4]}return n}}e.exports={WebsocketFrameSend:WebsocketFrameSend}},3171:(e,t,r)=>{const{Writable:s}=r(2203);const o=r(1637);const{parserStates:n,opcodes:A,states:i,emptyBuffer:a}=r(5913);const{kReadyState:c,kSentClose:l,kResponse:u,kReceivedClose:g}=r(2933);const{isValidStatusCode:p,failWebsocketConnection:d,websocketMessageReceived:E}=r(3574);const{WebsocketFrameSend:h}=r(1237);const I={};I.ping=o.channel("undici:websocket:ping");I.pong=o.channel("undici:websocket:pong");class ByteParser extends s{#A=[];#i=0;#a=n.INFO;#c={};#l=[];constructor(e){super();this.ws=e}_write(e,t,r){this.#A.push(e);this.#i+=e.length;this.run(r)}run(e){while(true){if(this.#a===n.INFO){if(this.#i<2){return e()}const t=this.consume(2);this.#c.fin=(t[0]&128)!==0;this.#c.opcode=t[0]&15;this.#c.originalOpcode??=this.#c.opcode;this.#c.fragmented=!this.#c.fin&&this.#c.opcode!==A.CONTINUATION;if(this.#c.fragmented&&this.#c.opcode!==A.BINARY&&this.#c.opcode!==A.TEXT){d(this.ws,"Invalid frame type was fragmented.");return}const r=t[1]&127;if(r<=125){this.#c.payloadLength=r;this.#a=n.READ_DATA}else if(r===126){this.#a=n.PAYLOADLENGTH_16}else if(r===127){this.#a=n.PAYLOADLENGTH_64}if(this.#c.fragmented&&r>125){d(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#c.opcode===A.PING||this.#c.opcode===A.PONG||this.#c.opcode===A.CLOSE)&&r>125){d(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#c.opcode===A.CLOSE){if(r===1){d(this.ws,"Received close frame with a 1-byte body.");return}const e=this.consume(r);this.#c.closeInfo=this.parseCloseBody(false,e);if(!this.ws[l]){const e=Buffer.allocUnsafe(2);e.writeUInt16BE(this.#c.closeInfo.code,0);const t=new h(e);this.ws[u].socket.write(t.createFrame(A.CLOSE),(e=>{if(!e){this.ws[l]=true}}))}this.ws[c]=i.CLOSING;this.ws[g]=true;this.end();return}else if(this.#c.opcode===A.PING){const t=this.consume(r);if(!this.ws[g]){const e=new h(t);this.ws[u].socket.write(e.createFrame(A.PONG));if(I.ping.hasSubscribers){I.ping.publish({payload:t})}}this.#a=n.INFO;if(this.#i>0){continue}else{e();return}}else if(this.#c.opcode===A.PONG){const t=this.consume(r);if(I.pong.hasSubscribers){I.pong.publish({payload:t})}if(this.#i>0){continue}else{e();return}}}else if(this.#a===n.PAYLOADLENGTH_16){if(this.#i<2){return e()}const t=this.consume(2);this.#c.payloadLength=t.readUInt16BE(0);this.#a=n.READ_DATA}else if(this.#a===n.PAYLOADLENGTH_64){if(this.#i<8){return e()}const t=this.consume(8);const r=t.readUInt32BE(0);if(r>2**31-1){d(this.ws,"Received payload length > 2^31 bytes.");return}const s=t.readUInt32BE(4);this.#c.payloadLength=(r<<8)+s;this.#a=n.READ_DATA}else if(this.#a===n.READ_DATA){if(this.#i<this.#c.payloadLength){return e()}else if(this.#i>=this.#c.payloadLength){const e=this.consume(this.#c.payloadLength);this.#l.push(e);if(!this.#c.fragmented||this.#c.fin&&this.#c.opcode===A.CONTINUATION){const e=Buffer.concat(this.#l);E(this.ws,this.#c.originalOpcode,e);this.#c={};this.#l.length=0}this.#a=n.INFO}}if(this.#i>0){continue}else{e();break}}}consume(e){if(e>this.#i){return null}else if(e===0){return a}if(this.#A[0].length===e){this.#i-=this.#A[0].length;return this.#A.shift()}const t=Buffer.allocUnsafe(e);let r=0;while(r!==e){const s=this.#A[0];const{length:o}=s;if(o+r===e){t.set(this.#A.shift(),r);break}else if(o+r>e){t.set(s.subarray(0,e-r),r);this.#A[0]=s.subarray(e-r);break}else{t.set(this.#A.shift(),r);r+=s.length}}this.#i-=e;return t}parseCloseBody(e,t){let r;if(t.length>=2){r=t.readUInt16BE(0)}if(e){if(!p(r)){return null}return{code:r}}let s=t.subarray(2);if(s[0]===239&&s[1]===187&&s[2]===191){s=s.subarray(3)}if(r!==undefined&&!p(r)){return null}try{s=new TextDecoder("utf-8",{fatal:true}).decode(s)}catch{return null}return{code:r,reason:s}}get closingInfo(){return this.#c.closeInfo}}e.exports={ByteParser:ByteParser}},2933:e=>{e.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},3574:(e,t,r)=>{const{kReadyState:s,kController:o,kResponse:n,kBinaryType:A,kWebSocketURL:i}=r(2933);const{states:a,opcodes:c}=r(5913);const{MessageEvent:l,ErrorEvent:u}=r(6255);function isEstablished(e){return e[s]===a.OPEN}function isClosing(e){return e[s]===a.CLOSING}function isClosed(e){return e[s]===a.CLOSED}function fireEvent(e,t,r=Event,s){const o=new r(e,s);t.dispatchEvent(o)}function websocketMessageReceived(e,t,r){if(e[s]!==a.OPEN){return}let o;if(t===c.TEXT){try{o=new TextDecoder("utf-8",{fatal:true}).decode(r)}catch{failWebsocketConnection(e,"Received invalid UTF-8 in text frame.");return}}else if(t===c.BINARY){if(e[A]==="blob"){o=new Blob([r])}else{o=new Uint8Array(r).buffer}}fireEvent("message",e,l,{origin:e[i].origin,data:o})}function isValidSubprotocol(e){if(e.length===0){return false}for(const t of e){const e=t.charCodeAt(0);if(e<33||e>126||t==="("||t===")"||t==="<"||t===">"||t==="@"||t===","||t===";"||t===":"||t==="\\"||t==='"'||t==="/"||t==="["||t==="]"||t==="?"||t==="="||t==="{"||t==="}"||e===32||e===9){return false}}return true}function isValidStatusCode(e){if(e>=1e3&&e<1015){return e!==1004&&e!==1005&&e!==1006}return e>=3e3&&e<=4999}function failWebsocketConnection(e,t){const{[o]:r,[n]:s}=e;r.abort();if(s?.socket&&!s.socket.destroyed){s.socket.destroy()}if(t){fireEvent("error",e,u,{error:new Error(t)})}}e.exports={isEstablished:isEstablished,isClosing:isClosing,isClosed:isClosed,fireEvent:fireEvent,isValidSubprotocol:isValidSubprotocol,isValidStatusCode:isValidStatusCode,failWebsocketConnection:failWebsocketConnection,websocketMessageReceived:websocketMessageReceived}},5171:(e,t,r)=>{const{webidl:s}=r(4222);const{DOMException:o}=r(7326);const{URLSerializer:n}=r(4322);const{getGlobalOrigin:A}=r(5628);const{staticPropertyDescriptors:i,states:a,opcodes:c,emptyBuffer:l}=r(5913);const{kWebSocketURL:u,kReadyState:g,kController:p,kBinaryType:d,kResponse:E,kSentClose:h,kByteParser:I}=r(2933);const{isEstablished:m,isClosing:C,isValidSubprotocol:Q,failWebsocketConnection:B,fireEvent:y}=r(3574);const{establishWebSocketConnection:w}=r(8550);const{WebsocketFrameSend:b}=r(1237);const{ByteParser:R}=r(3171);const{kEnumerableProperty:T,isBlobLike:k}=r(3440);const{getGlobalDispatcher:D}=r(2581);const{types:_}=r(9023);let F=false;class WebSocket extends EventTarget{#u={open:null,error:null,close:null,message:null};#g=0;#p="";#d="";constructor(e,t=[]){super();s.argumentLengthCheck(arguments,1,{header:"WebSocket constructor"});if(!F){F=true;process.emitWarning("WebSockets are experimental, expect them to change at any time.",{code:"UNDICI-WS"})}const r=s.converters["DOMString or sequence<DOMString> or WebSocketInit"](t);e=s.converters.USVString(e);t=r.protocols;const n=A();let i;try{i=new URL(e,n)}catch(e){throw new o(e,"SyntaxError")}if(i.protocol==="http:"){i.protocol="ws:"}else if(i.protocol==="https:"){i.protocol="wss:"}if(i.protocol!=="ws:"&&i.protocol!=="wss:"){throw new o(`Expected a ws: or wss: protocol, got ${i.protocol}`,"SyntaxError")}if(i.hash||i.href.endsWith("#")){throw new o("Got fragment","SyntaxError")}if(typeof t==="string"){t=[t]}if(t.length!==new Set(t.map((e=>e.toLowerCase()))).size){throw new o("Invalid Sec-WebSocket-Protocol value","SyntaxError")}if(t.length>0&&!t.every((e=>Q(e)))){throw new o("Invalid Sec-WebSocket-Protocol value","SyntaxError")}this[u]=new URL(i.href);this[p]=w(i,t,this,(e=>this.#E(e)),r);this[g]=WebSocket.CONNECTING;this[d]="blob"}close(e=undefined,t=undefined){s.brandCheck(this,WebSocket);if(e!==undefined){e=s.converters["unsigned short"](e,{clamp:true})}if(t!==undefined){t=s.converters.USVString(t)}if(e!==undefined){if(e!==1e3&&(e<3e3||e>4999)){throw new o("invalid code","InvalidAccessError")}}let r=0;if(t!==undefined){r=Buffer.byteLength(t);if(r>123){throw new o(`Reason must be less than 123 bytes; received ${r}`,"SyntaxError")}}if(this[g]===WebSocket.CLOSING||this[g]===WebSocket.CLOSED){}else if(!m(this)){B(this,"Connection was closed before it was established.");this[g]=WebSocket.CLOSING}else if(!C(this)){const s=new b;if(e!==undefined&&t===undefined){s.frameData=Buffer.allocUnsafe(2);s.frameData.writeUInt16BE(e,0)}else if(e!==undefined&&t!==undefined){s.frameData=Buffer.allocUnsafe(2+r);s.frameData.writeUInt16BE(e,0);s.frameData.write(t,2,"utf-8")}else{s.frameData=l}const o=this[E].socket;o.write(s.createFrame(c.CLOSE),(e=>{if(!e){this[h]=true}}));this[g]=a.CLOSING}else{this[g]=WebSocket.CLOSING}}send(e){s.brandCheck(this,WebSocket);s.argumentLengthCheck(arguments,1,{header:"WebSocket.send"});e=s.converters.WebSocketSendData(e);if(this[g]===WebSocket.CONNECTING){throw new o("Sent before connected.","InvalidStateError")}if(!m(this)||C(this)){return}const t=this[E].socket;if(typeof e==="string"){const r=Buffer.from(e);const s=new b(r);const o=s.createFrame(c.TEXT);this.#g+=r.byteLength;t.write(o,(()=>{this.#g-=r.byteLength}))}else if(_.isArrayBuffer(e)){const r=Buffer.from(e);const s=new b(r);const o=s.createFrame(c.BINARY);this.#g+=r.byteLength;t.write(o,(()=>{this.#g-=r.byteLength}))}else if(ArrayBuffer.isView(e)){const r=Buffer.from(e,e.byteOffset,e.byteLength);const s=new b(r);const o=s.createFrame(c.BINARY);this.#g+=r.byteLength;t.write(o,(()=>{this.#g-=r.byteLength}))}else if(k(e)){const r=new b;e.arrayBuffer().then((e=>{const s=Buffer.from(e);r.frameData=s;const o=r.createFrame(c.BINARY);this.#g+=s.byteLength;t.write(o,(()=>{this.#g-=s.byteLength}))}))}}get readyState(){s.brandCheck(this,WebSocket);return this[g]}get bufferedAmount(){s.brandCheck(this,WebSocket);return this.#g}get url(){s.brandCheck(this,WebSocket);return n(this[u])}get extensions(){s.brandCheck(this,WebSocket);return this.#d}get protocol(){s.brandCheck(this,WebSocket);return this.#p}get onopen(){s.brandCheck(this,WebSocket);return this.#u.open}set onopen(e){s.brandCheck(this,WebSocket);if(this.#u.open){this.removeEventListener("open",this.#u.open)}if(typeof e==="function"){this.#u.open=e;this.addEventListener("open",e)}else{this.#u.open=null}}get onerror(){s.brandCheck(this,WebSocket);return this.#u.error}set onerror(e){s.brandCheck(this,WebSocket);if(this.#u.error){this.removeEventListener("error",this.#u.error)}if(typeof e==="function"){this.#u.error=e;this.addEventListener("error",e)}else{this.#u.error=null}}get onclose(){s.brandCheck(this,WebSocket);return this.#u.close}set onclose(e){s.brandCheck(this,WebSocket);if(this.#u.close){this.removeEventListener("close",this.#u.close)}if(typeof e==="function"){this.#u.close=e;this.addEventListener("close",e)}else{this.#u.close=null}}get onmessage(){s.brandCheck(this,WebSocket);return this.#u.message}set onmessage(e){s.brandCheck(this,WebSocket);if(this.#u.message){this.removeEventListener("message",this.#u.message)}if(typeof e==="function"){this.#u.message=e;this.addEventListener("message",e)}else{this.#u.message=null}}get binaryType(){s.brandCheck(this,WebSocket);return this[d]}set binaryType(e){s.brandCheck(this,WebSocket);if(e!=="blob"&&e!=="arraybuffer"){this[d]="blob"}else{this[d]=e}}#E(e){this[E]=e;const t=new R(this);t.on("drain",(function onParserDrain(){this.ws[E].socket.resume()}));e.socket.ws=this;this[I]=t;this[g]=a.OPEN;const r=e.headersList.get("sec-websocket-extensions");if(r!==null){this.#d=r}const s=e.headersList.get("sec-websocket-protocol");if(s!==null){this.#p=s}y("open",this)}}WebSocket.CONNECTING=WebSocket.prototype.CONNECTING=a.CONNECTING;WebSocket.OPEN=WebSocket.prototype.OPEN=a.OPEN;WebSocket.CLOSING=WebSocket.prototype.CLOSING=a.CLOSING;WebSocket.CLOSED=WebSocket.prototype.CLOSED=a.CLOSED;Object.defineProperties(WebSocket.prototype,{CONNECTING:i,OPEN:i,CLOSING:i,CLOSED:i,url:T,readyState:T,bufferedAmount:T,onopen:T,onerror:T,onclose:T,close:T,onmessage:T,binaryType:T,send:T,extensions:T,protocol:T,[Symbol.toStringTag]:{value:"WebSocket",writable:false,enumerable:false,configurable:true}});Object.defineProperties(WebSocket,{CONNECTING:i,OPEN:i,CLOSING:i,CLOSED:i});s.converters["sequence<DOMString>"]=s.sequenceConverter(s.converters.DOMString);s.converters["DOMString or sequence<DOMString>"]=function(e){if(s.util.Type(e)==="Object"&&Symbol.iterator in e){return s.converters["sequence<DOMString>"](e)}return s.converters.DOMString(e)};s.converters.WebSocketInit=s.dictionaryConverter([{key:"protocols",converter:s.converters["DOMString or sequence<DOMString>"],get defaultValue(){return[]}},{key:"dispatcher",converter:e=>e,get defaultValue(){return D()}},{key:"headers",converter:s.nullableConverter(s.converters.HeadersInit)}]);s.converters["DOMString or sequence<DOMString> or WebSocketInit"]=function(e){if(s.util.Type(e)==="Object"&&!(Symbol.iterator in e)){return s.converters.WebSocketInit(e)}return{protocols:s.converters["DOMString or sequence<DOMString>"](e)}};s.converters.WebSocketSendData=function(e){if(s.util.Type(e)==="Object"){if(k(e)){return s.converters.Blob(e,{strict:false})}if(ArrayBuffer.isView(e)||_.isAnyArrayBuffer(e)){return s.converters.BufferSource(e)}}return s.converters.USVString(e)};e.exports={WebSocket:WebSocket}},8264:e=>{e.exports=wrappy;function wrappy(e,t){if(e&&t)return wrappy(e)(t);if(typeof e!=="function")throw new TypeError("need wrapper function");Object.keys(e).forEach((function(t){wrapper[t]=e[t]}));return wrapper;function wrapper(){var t=new Array(arguments.length);for(var r=0;r<t.length;r++){t[r]=arguments[r]}var s=e.apply(this,t);var o=t[t.length-1];if(typeof s==="function"&&s!==o){Object.keys(o).forEach((function(e){s[e]=o[e]}))}return s}}},2613:t=>{t.exports=e(import.meta.url)("assert")},290:t=>{t.exports=e(import.meta.url)("async_hooks")},181:t=>{t.exports=e(import.meta.url)("buffer")},5317:t=>{t.exports=e(import.meta.url)("child_process")},4236:t=>{t.exports=e(import.meta.url)("console")},6982:t=>{t.exports=e(import.meta.url)("crypto")},1637:t=>{t.exports=e(import.meta.url)("diagnostics_channel")},4434:t=>{t.exports=e(import.meta.url)("events")},9896:t=>{t.exports=e(import.meta.url)("fs")},8611:t=>{t.exports=e(import.meta.url)("http")},5675:t=>{t.exports=e(import.meta.url)("http2")},5692:t=>{t.exports=e(import.meta.url)("https")},9278:t=>{t.exports=e(import.meta.url)("net")},7598:t=>{t.exports=e(import.meta.url)("node:crypto")},8474:t=>{t.exports=e(import.meta.url)("node:events")},7075:t=>{t.exports=e(import.meta.url)("node:stream")},7975:t=>{t.exports=e(import.meta.url)("node:util")},857:t=>{t.exports=e(import.meta.url)("os")},6928:t=>{t.exports=e(import.meta.url)("path")},2987:t=>{t.exports=e(import.meta.url)("perf_hooks")},3480:t=>{t.exports=e(import.meta.url)("querystring")},2203:t=>{t.exports=e(import.meta.url)("stream")},3774:t=>{t.exports=e(import.meta.url)("stream/web")},3193:t=>{t.exports=e(import.meta.url)("string_decoder")},3557:t=>{t.exports=e(import.meta.url)("timers")},4756:t=>{t.exports=e(import.meta.url)("tls")},7016:t=>{t.exports=e(import.meta.url)("url")},9023:t=>{t.exports=e(import.meta.url)("util")},8253:t=>{t.exports=e(import.meta.url)("util/types")},8167:t=>{t.exports=e(import.meta.url)("worker_threads")},3106:t=>{t.exports=e(import.meta.url)("zlib")},7182:(e,t,r)=>{const s=r(7075).Writable;const o=r(7975).inherits;const n=r(4136);const A=r(612);const i=r(2271);const a=45;const c=Buffer.from("-");const l=Buffer.from("\r\n");const EMPTY_FN=function(){};function Dicer(e){if(!(this instanceof Dicer)){return new Dicer(e)}s.call(this,e);if(!e||!e.headerFirst&&typeof e.boundary!=="string"){throw new TypeError("Boundary required")}if(typeof e.boundary==="string"){this.setBoundary(e.boundary)}else{this._bparser=undefined}this._headerFirst=e.headerFirst;this._dashes=0;this._parts=0;this._finished=false;this._realFinish=false;this._isPreamble=true;this._justMatched=false;this._firstWrite=true;this._inHeader=true;this._part=undefined;this._cb=undefined;this._ignoreData=false;this._partOpts={highWaterMark:e.partHwm};this._pause=false;const t=this;this._hparser=new i(e);this._hparser.on("header",(function(e){t._inHeader=false;t._part.emit("header",e)}))}o(Dicer,s);Dicer.prototype.emit=function(e){if(e==="finish"&&!this._realFinish){if(!this._finished){const e=this;process.nextTick((function(){e.emit("error",new Error("Unexpected end of multipart data"));if(e._part&&!e._ignoreData){const t=e._isPreamble?"Preamble":"Part";e._part.emit("error",new Error(t+" terminated early due to unexpected end of multipart data"));e._part.push(null);process.nextTick((function(){e._realFinish=true;e.emit("finish");e._realFinish=false}));return}e._realFinish=true;e.emit("finish");e._realFinish=false}))}}else{s.prototype.emit.apply(this,arguments)}};Dicer.prototype._write=function(e,t,r){if(!this._hparser&&!this._bparser){return r()}if(this._headerFirst&&this._isPreamble){if(!this._part){this._part=new A(this._partOpts);if(this.listenerCount("preamble")!==0){this.emit("preamble",this._part)}else{this._ignore()}}const t=this._hparser.push(e);if(!this._inHeader&&t!==undefined&&t<e.length){e=e.slice(t)}else{return r()}}if(this._firstWrite){this._bparser.push(l);this._firstWrite=false}this._bparser.push(e);if(this._pause){this._cb=r}else{r()}};Dicer.prototype.reset=function(){this._part=undefined;this._bparser=undefined;this._hparser=undefined};Dicer.prototype.setBoundary=function(e){const t=this;this._bparser=new n("\r\n--"+e);this._bparser.on("info",(function(e,r,s,o){t._oninfo(e,r,s,o)}))};Dicer.prototype._ignore=function(){if(this._part&&!this._ignoreData){this._ignoreData=true;this._part.on("error",EMPTY_FN);this._part.resume()}};Dicer.prototype._oninfo=function(e,t,r,s){let o;const n=this;let i=0;let l;let u=true;if(!this._part&&this._justMatched&&t){while(this._dashes<2&&r+i<s){if(t[r+i]===a){++i;++this._dashes}else{if(this._dashes){o=c}this._dashes=0;break}}if(this._dashes===2){if(r+i<s&&this.listenerCount("trailer")!==0){this.emit("trailer",t.slice(r+i,s))}this.reset();this._finished=true;if(n._parts===0){n._realFinish=true;n.emit("finish");n._realFinish=false}}if(this._dashes){return}}if(this._justMatched){this._justMatched=false}if(!this._part){this._part=new A(this._partOpts);this._part._read=function(e){n._unpause()};if(this._isPreamble&&this.listenerCount("preamble")!==0){this.emit("preamble",this._part)}else if(this._isPreamble!==true&&this.listenerCount("part")!==0){this.emit("part",this._part)}else{this._ignore()}if(!this._isPreamble){this._inHeader=true}}if(t&&r<s&&!this._ignoreData){if(this._isPreamble||!this._inHeader){if(o){u=this._part.push(o)}u=this._part.push(t.slice(r,s));if(!u){this._pause=true}}else if(!this._isPreamble&&this._inHeader){if(o){this._hparser.push(o)}l=this._hparser.push(t.slice(r,s));if(!this._inHeader&&l!==undefined&&l<s){this._oninfo(false,t,r+l,s)}}}if(e){this._hparser.reset();if(this._isPreamble){this._isPreamble=false}else{if(r!==s){++this._parts;this._part.on("end",(function(){if(--n._parts===0){if(n._finished){n._realFinish=true;n.emit("finish");n._realFinish=false}else{n._unpause()}}}))}}this._part.push(null);this._part=undefined;this._ignoreData=false;this._justMatched=true;this._dashes=0}};Dicer.prototype._unpause=function(){if(!this._pause){return}this._pause=false;if(this._cb){const e=this._cb;this._cb=undefined;e()}};e.exports=Dicer},2271:(e,t,r)=>{const s=r(8474).EventEmitter;const o=r(7975).inherits;const n=r(2393);const A=r(4136);const i=Buffer.from("\r\n\r\n");const a=/\r\n/g;const c=/^([^:]+):[ \t]?([\x00-\xFF]+)?$/;function HeaderParser(e){s.call(this);e=e||{};const t=this;this.nread=0;this.maxed=false;this.npairs=0;this.maxHeaderPairs=n(e,"maxHeaderPairs",2e3);this.maxHeaderSize=n(e,"maxHeaderSize",80*1024);this.buffer="";this.header={};this.finished=false;this.ss=new A(i);this.ss.on("info",(function(e,r,s,o){if(r&&!t.maxed){if(t.nread+o-s>=t.maxHeaderSize){o=t.maxHeaderSize-t.nread+s;t.nread=t.maxHeaderSize;t.maxed=true}else{t.nread+=o-s}t.buffer+=r.toString("binary",s,o)}if(e){t._finish()}}))}o(HeaderParser,s);HeaderParser.prototype.push=function(e){const t=this.ss.push(e);if(this.finished){return t}};HeaderParser.prototype.reset=function(){this.finished=false;this.buffer="";this.header={};this.ss.reset()};HeaderParser.prototype._finish=function(){if(this.buffer){this._parseHeader()}this.ss.matches=this.ss.maxMatches;const e=this.header;this.header={};this.buffer="";this.finished=true;this.nread=this.npairs=0;this.maxed=false;this.emit("header",e)};HeaderParser.prototype._parseHeader=function(){if(this.npairs===this.maxHeaderPairs){return}const e=this.buffer.split(a);const t=e.length;let r,s;for(var o=0;o<t;++o){if(e[o].length===0){continue}if(e[o][0]==="\t"||e[o][0]===" "){if(s){this.header[s][this.header[s].length-1]+=e[o];continue}}const t=e[o].indexOf(":");if(t===-1||t===0){return}r=c.exec(e[o]);s=r[1].toLowerCase();this.header[s]=this.header[s]||[];this.header[s].push(r[2]||"");if(++this.npairs===this.maxHeaderPairs){break}}};e.exports=HeaderParser},612:(e,t,r)=>{const s=r(7975).inherits;const o=r(7075).Readable;function PartStream(e){o.call(this,e)}s(PartStream,o);PartStream.prototype._read=function(e){};e.exports=PartStream},4136:(e,t,r)=>{const s=r(8474).EventEmitter;const o=r(7975).inherits;function SBMH(e){if(typeof e==="string"){e=Buffer.from(e)}if(!Buffer.isBuffer(e)){throw new TypeError("The needle has to be a String or a Buffer.")}const t=e.length;if(t===0){throw new Error("The needle cannot be an empty String/Buffer.")}if(t>256){throw new Error("The needle cannot have a length bigger than 256.")}this.maxMatches=Infinity;this.matches=0;this._occ=new Array(256).fill(t);this._lookbehind_size=0;this._needle=e;this._bufpos=0;this._lookbehind=Buffer.alloc(t);for(var r=0;r<t-1;++r){this._occ[e[r]]=t-1-r}}o(SBMH,s);SBMH.prototype.reset=function(){this._lookbehind_size=0;this.matches=0;this._bufpos=0};SBMH.prototype.push=function(e,t){if(!Buffer.isBuffer(e)){e=Buffer.from(e,"binary")}const r=e.length;this._bufpos=t||0;let s;while(s!==r&&this.matches<this.maxMatches){s=this._sbmh_feed(e)}return s};SBMH.prototype._sbmh_feed=function(e){const t=e.length;const r=this._needle;const s=r.length;const o=r[s-1];let n=-this._lookbehind_size;let A;if(n<0){while(n<0&&n<=t-s){A=this._sbmh_lookup_char(e,n+s-1);if(A===o&&this._sbmh_memcmp(e,n,s-1)){this._lookbehind_size=0;++this.matches;this.emit("info",true);return this._bufpos=n+s}n+=this._occ[A]}if(n<0){while(n<0&&!this._sbmh_memcmp(e,n,t-n)){++n}}if(n>=0){this.emit("info",false,this._lookbehind,0,this._lookbehind_size);this._lookbehind_size=0}else{const r=this._lookbehind_size+n;if(r>0){this.emit("info",false,this._lookbehind,0,r)}this._lookbehind.copy(this._lookbehind,0,r,this._lookbehind_size-r);this._lookbehind_size-=r;e.copy(this._lookbehind,this._lookbehind_size);this._lookbehind_size+=t;this._bufpos=t;return t}}n+=(n>=0)*this._bufpos;if(e.indexOf(r,n)!==-1){n=e.indexOf(r,n);++this.matches;if(n>0){this.emit("info",true,e,this._bufpos,n)}else{this.emit("info",true)}return this._bufpos=n+s}else{n=t-s}while(n<t&&(e[n]!==r[0]||Buffer.compare(e.subarray(n,n+t-n),r.subarray(0,t-n))!==0)){++n}if(n<t){e.copy(this._lookbehind,0,n,n+(t-n));this._lookbehind_size=t-n}if(n>0){this.emit("info",false,e,this._bufpos,n<t?n:t)}this._bufpos=t;return t};SBMH.prototype._sbmh_lookup_char=function(e,t){return t<0?this._lookbehind[this._lookbehind_size+t]:e[t]};SBMH.prototype._sbmh_memcmp=function(e,t,r){for(var s=0;s<r;++s){if(this._sbmh_lookup_char(e,t+s)!==this._needle[s]){return false}}return true};e.exports=SBMH},9581:(e,t,r)=>{const s=r(7075).Writable;const{inherits:o}=r(7975);const n=r(7182);const A=r(1192);const i=r(855);const a=r(8929);function Busboy(e){if(!(this instanceof Busboy)){return new Busboy(e)}if(typeof e!=="object"){throw new TypeError("Busboy expected an options-Object.")}if(typeof e.headers!=="object"){throw new TypeError("Busboy expected an options-Object with headers-attribute.")}if(typeof e.headers["content-type"]!=="string"){throw new TypeError("Missing Content-Type-header.")}const{headers:t,...r}=e;this.opts={autoDestroy:false,...r};s.call(this,this.opts);this._done=false;this._parser=this.getParserByHeaders(t);this._finished=false}o(Busboy,s);Busboy.prototype.emit=function(e){if(e==="finish"){if(!this._done){this._parser?.end();return}else if(this._finished){return}this._finished=true}s.prototype.emit.apply(this,arguments)};Busboy.prototype.getParserByHeaders=function(e){const t=a(e["content-type"]);const r={defCharset:this.opts.defCharset,fileHwm:this.opts.fileHwm,headers:e,highWaterMark:this.opts.highWaterMark,isPartAFile:this.opts.isPartAFile,limits:this.opts.limits,parsedConType:t,preservePath:this.opts.preservePath};if(A.detect.test(t[0])){return new A(this,r)}if(i.detect.test(t[0])){return new i(this,r)}throw new Error("Unsupported Content-Type.")};Busboy.prototype._write=function(e,t,r){this._parser.write(e,r)};e.exports=Busboy;e.exports["default"]=Busboy;e.exports.Busboy=Busboy;e.exports.Dicer=n},1192:(e,t,r)=>{const{Readable:s}=r(7075);const{inherits:o}=r(7975);const n=r(7182);const A=r(8929);const i=r(2747);const a=r(692);const c=r(2393);const l=/^boundary$/i;const u=/^form-data$/i;const g=/^charset$/i;const p=/^filename$/i;const d=/^name$/i;Multipart.detect=/^multipart\/form-data/i;function Multipart(e,t){let r;let s;const o=this;let E;const h=t.limits;const I=t.isPartAFile||((e,t,r)=>t==="application/octet-stream"||r!==undefined);const m=t.parsedConType||[];const C=t.defCharset||"utf8";const Q=t.preservePath;const B={highWaterMark:t.fileHwm};for(r=0,s=m.length;r<s;++r){if(Array.isArray(m[r])&&l.test(m[r][0])){E=m[r][1];break}}function checkFinished(){if(S===0&&N&&!e._done){N=false;o.end()}}if(typeof E!=="string"){throw new Error("Multipart: Boundary not found")}const y=c(h,"fieldSize",1*1024*1024);const w=c(h,"fileSize",Infinity);const b=c(h,"files",Infinity);const R=c(h,"fields",Infinity);const T=c(h,"parts",Infinity);const k=c(h,"headerPairs",2e3);const D=c(h,"headerSize",80*1024);let _=0;let F=0;let S=0;let v;let U;let N=false;this._needDrain=false;this._pause=false;this._cb=undefined;this._nparts=0;this._boy=e;const O={boundary:E,maxHeaderPairs:k,maxHeaderSize:D,partHwm:B.highWaterMark,highWaterMark:t.highWaterMark};this.parser=new n(O);this.parser.on("drain",(function(){o._needDrain=false;if(o._cb&&!o._pause){const e=o._cb;o._cb=undefined;e()}})).on("part",(function onPart(t){if(++o._nparts>T){o.parser.removeListener("part",onPart);o.parser.on("part",skipPart);e.hitPartsLimit=true;e.emit("partsLimit");return skipPart(t)}if(U){const e=U;e.emit("end");e.removeAllListeners("end")}t.on("header",(function(n){let c;let l;let E;let h;let m;let T;let k=0;if(n["content-type"]){E=A(n["content-type"][0]);if(E[0]){c=E[0].toLowerCase();for(r=0,s=E.length;r<s;++r){if(g.test(E[r][0])){h=E[r][1].toLowerCase();break}}}}if(c===undefined){c="text/plain"}if(h===undefined){h=C}if(n["content-disposition"]){E=A(n["content-disposition"][0]);if(!u.test(E[0])){return skipPart(t)}for(r=0,s=E.length;r<s;++r){if(d.test(E[r][0])){l=E[r][1]}else if(p.test(E[r][0])){T=E[r][1];if(!Q){T=a(T)}}}}else{return skipPart(t)}if(n["content-transfer-encoding"]){m=n["content-transfer-encoding"][0].toLowerCase()}else{m="7bit"}let D,N;if(I(l,c,T)){if(_===b){if(!e.hitFilesLimit){e.hitFilesLimit=true;e.emit("filesLimit")}return skipPart(t)}++_;if(e.listenerCount("file")===0){o.parser._ignore();return}++S;const r=new FileStream(B);v=r;r.on("end",(function(){--S;o._pause=false;checkFinished();if(o._cb&&!o._needDrain){const e=o._cb;o._cb=undefined;e()}}));r._read=function(e){if(!o._pause){return}o._pause=false;if(o._cb&&!o._needDrain){const e=o._cb;o._cb=undefined;e()}};e.emit("file",l,r,T,m,c);D=function(e){if((k+=e.length)>w){const s=w-k+e.length;if(s>0){r.push(e.slice(0,s))}r.truncated=true;r.bytesRead=w;t.removeAllListeners("data");r.emit("limit");return}else if(!r.push(e)){o._pause=true}r.bytesRead=k};N=function(){v=undefined;r.push(null)}}else{if(F===R){if(!e.hitFieldsLimit){e.hitFieldsLimit=true;e.emit("fieldsLimit")}return skipPart(t)}++F;++S;let r="";let s=false;U=t;D=function(e){if((k+=e.length)>y){const o=y-(k-e.length);r+=e.toString("binary",0,o);s=true;t.removeAllListeners("data")}else{r+=e.toString("binary")}};N=function(){U=undefined;if(r.length){r=i(r,"binary",h)}e.emit("field",l,r,false,s,m,c);--S;checkFinished()}}t._readableState.sync=false;t.on("data",D);t.on("end",N)})).on("error",(function(e){if(v){v.emit("error",e)}}))})).on("error",(function(t){e.emit("error",t)})).on("finish",(function(){N=true;checkFinished()}))}Multipart.prototype.write=function(e,t){const r=this.parser.write(e);if(r&&!this._pause){t()}else{this._needDrain=!r;this._cb=t}};Multipart.prototype.end=function(){const e=this;if(e.parser.writable){e.parser.end()}else if(!e._boy._done){process.nextTick((function(){e._boy._done=true;e._boy.emit("finish")}))}};function skipPart(e){e.resume()}function FileStream(e){s.call(this,e);this.bytesRead=0;this.truncated=false}o(FileStream,s);FileStream.prototype._read=function(e){};e.exports=Multipart},855:(e,t,r)=>{const s=r(1496);const o=r(2747);const n=r(2393);const A=/^charset$/i;UrlEncoded.detect=/^application\/x-www-form-urlencoded/i;function UrlEncoded(e,t){const r=t.limits;const o=t.parsedConType;this.boy=e;this.fieldSizeLimit=n(r,"fieldSize",1*1024*1024);this.fieldNameSizeLimit=n(r,"fieldNameSize",100);this.fieldsLimit=n(r,"fields",Infinity);let i;for(var a=0,c=o.length;a<c;++a){if(Array.isArray(o[a])&&A.test(o[a][0])){i=o[a][1].toLowerCase();break}}if(i===undefined){i=t.defCharset||"utf8"}this.decoder=new s;this.charset=i;this._fields=0;this._state="key";this._checkingBytes=true;this._bytesKey=0;this._bytesVal=0;this._key="";this._val="";this._keyTrunc=false;this._valTrunc=false;this._hitLimit=false}UrlEncoded.prototype.write=function(e,t){if(this._fields===this.fieldsLimit){if(!this.boy.hitFieldsLimit){this.boy.hitFieldsLimit=true;this.boy.emit("fieldsLimit")}return t()}let r;let s;let n;let A=0;const i=e.length;while(A<i){if(this._state==="key"){r=s=undefined;for(n=A;n<i;++n){if(!this._checkingBytes){++A}if(e[n]===61){r=n;break}else if(e[n]===38){s=n;break}if(this._checkingBytes&&this._bytesKey===this.fieldNameSizeLimit){this._hitLimit=true;break}else if(this._checkingBytes){++this._bytesKey}}if(r!==undefined){if(r>A){this._key+=this.decoder.write(e.toString("binary",A,r))}this._state="val";this._hitLimit=false;this._checkingBytes=true;this._val="";this._bytesVal=0;this._valTrunc=false;this.decoder.reset();A=r+1}else if(s!==undefined){++this._fields;let r;const n=this._keyTrunc;if(s>A){r=this._key+=this.decoder.write(e.toString("binary",A,s))}else{r=this._key}this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();if(r.length){this.boy.emit("field",o(r,"binary",this.charset),"",n,false)}A=s+1;if(this._fields===this.fieldsLimit){return t()}}else if(this._hitLimit){if(n>A){this._key+=this.decoder.write(e.toString("binary",A,n))}A=n;if((this._bytesKey=this._key.length)===this.fieldNameSizeLimit){this._checkingBytes=false;this._keyTrunc=true}}else{if(A<i){this._key+=this.decoder.write(e.toString("binary",A))}A=i}}else{s=undefined;for(n=A;n<i;++n){if(!this._checkingBytes){++A}if(e[n]===38){s=n;break}if(this._checkingBytes&&this._bytesVal===this.fieldSizeLimit){this._hitLimit=true;break}else if(this._checkingBytes){++this._bytesVal}}if(s!==undefined){++this._fields;if(s>A){this._val+=this.decoder.write(e.toString("binary",A,s))}this.boy.emit("field",o(this._key,"binary",this.charset),o(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc);this._state="key";this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();A=s+1;if(this._fields===this.fieldsLimit){return t()}}else if(this._hitLimit){if(n>A){this._val+=this.decoder.write(e.toString("binary",A,n))}A=n;if(this._val===""&&this.fieldSizeLimit===0||(this._bytesVal=this._val.length)===this.fieldSizeLimit){this._checkingBytes=false;this._valTrunc=true}}else{if(A<i){this._val+=this.decoder.write(e.toString("binary",A))}A=i}}}t()};UrlEncoded.prototype.end=function(){if(this.boy._done){return}if(this._state==="key"&&this._key.length>0){this.boy.emit("field",o(this._key,"binary",this.charset),"",this._keyTrunc,false)}else if(this._state==="val"){this.boy.emit("field",o(this._key,"binary",this.charset),o(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc)}this.boy._done=true;this.boy.emit("finish")};e.exports=UrlEncoded},1496:e=>{const t=/\+/g;const r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];function Decoder(){this.buffer=undefined}Decoder.prototype.write=function(e){e=e.replace(t," ");let s="";let o=0;let n=0;const A=e.length;for(;o<A;++o){if(this.buffer!==undefined){if(!r[e.charCodeAt(o)]){s+="%"+this.buffer;this.buffer=undefined;--o}else{this.buffer+=e[o];++n;if(this.buffer.length===2){s+=String.fromCharCode(parseInt(this.buffer,16));this.buffer=undefined}}}else if(e[o]==="%"){if(o>n){s+=e.substring(n,o);n=o}this.buffer="";++n}}if(n<A&&this.buffer===undefined){s+=e.substring(n)}return s};Decoder.prototype.reset=function(){this.buffer=undefined};e.exports=Decoder},692:e=>{e.exports=function basename(e){if(typeof e!=="string"){return""}for(var t=e.length-1;t>=0;--t){switch(e.charCodeAt(t)){case 47:case 92:e=e.slice(t+1);return e===".."||e==="."?"":e}}return e===".."||e==="."?"":e}},2747:function(e){const t=new TextDecoder("utf-8");const r=new Map([["utf-8",t],["utf8",t]]);function getDecoder(e){let t;while(true){switch(e){case"utf-8":case"utf8":return s.utf8;case"latin1":case"ascii":case"us-ascii":case"iso-8859-1":case"iso8859-1":case"iso88591":case"iso_8859-1":case"windows-1252":case"iso_8859-1:1987":case"cp1252":case"x-cp1252":return s.latin1;case"utf16le":case"utf-16le":case"ucs2":case"ucs-2":return s.utf16le;case"base64":return s.base64;default:if(t===undefined){t=true;e=e.toLowerCase();continue}return s.other.bind(e)}}}const s={utf8:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,t)}return e.utf8Slice(0,e.length)},latin1:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){return e}return e.latin1Slice(0,e.length)},utf16le:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,t)}return e.ucs2Slice(0,e.length)},base64:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,t)}return e.base64Slice(0,e.length)},other:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,t)}if(r.has(this.toString())){try{return r.get(this).decode(e)}catch{}}return typeof e==="string"?e:e.toString()}};function decodeText(e,t,r){if(e){return getDecoder(r)(e,t)}return e}e.exports=decodeText},2393:e=>{e.exports=function getLimit(e,t,r){if(!e||e[t]===undefined||e[t]===null){return r}if(typeof e[t]!=="number"||isNaN(e[t])){throw new TypeError("Limit "+t+" is not a valid number")}return e[t]}},8929:(e,t,r)=>{const s=r(2747);const o=/%[a-fA-F0-9][a-fA-F0-9]/g;const n={"%00":"\0","%01":"","%02":"","%03":"","%04":"","%05":"","%06":"","%07":"","%08":"\b","%09":"\t","%0a":"\n","%0A":"\n","%0b":"\v","%0B":"\v","%0c":"\f","%0C":"\f","%0d":"\r","%0D":"\r","%0e":"","%0E":"","%0f":"","%0F":"","%10":"","%11":"","%12":"","%13":"","%14":"","%15":"","%16":"","%17":"","%18":"","%19":"","%1a":"","%1A":"","%1b":"","%1B":"","%1c":"","%1C":"","%1d":"","%1D":"","%1e":"","%1E":"","%1f":"","%1F":"","%20":" ","%21":"!","%22":'"',"%23":"#","%24":"$","%25":"%","%26":"&","%27":"'","%28":"(","%29":")","%2a":"*","%2A":"*","%2b":"+","%2B":"+","%2c":",","%2C":",","%2d":"-","%2D":"-","%2e":".","%2E":".","%2f":"/","%2F":"/","%30":"0","%31":"1","%32":"2","%33":"3","%34":"4","%35":"5","%36":"6","%37":"7","%38":"8","%39":"9","%3a":":","%3A":":","%3b":";","%3B":";","%3c":"<","%3C":"<","%3d":"=","%3D":"=","%3e":">","%3E":">","%3f":"?","%3F":"?","%40":"@","%41":"A","%42":"B","%43":"C","%44":"D","%45":"E","%46":"F","%47":"G","%48":"H","%49":"I","%4a":"J","%4A":"J","%4b":"K","%4B":"K","%4c":"L","%4C":"L","%4d":"M","%4D":"M","%4e":"N","%4E":"N","%4f":"O","%4F":"O","%50":"P","%51":"Q","%52":"R","%53":"S","%54":"T","%55":"U","%56":"V","%57":"W","%58":"X","%59":"Y","%5a":"Z","%5A":"Z","%5b":"[","%5B":"[","%5c":"\\","%5C":"\\","%5d":"]","%5D":"]","%5e":"^","%5E":"^","%5f":"_","%5F":"_","%60":"`","%61":"a","%62":"b","%63":"c","%64":"d","%65":"e","%66":"f","%67":"g","%68":"h","%69":"i","%6a":"j","%6A":"j","%6b":"k","%6B":"k","%6c":"l","%6C":"l","%6d":"m","%6D":"m","%6e":"n","%6E":"n","%6f":"o","%6F":"o","%70":"p","%71":"q","%72":"r","%73":"s","%74":"t","%75":"u","%76":"v","%77":"w","%78":"x","%79":"y","%7a":"z","%7A":"z","%7b":"{","%7B":"{","%7c":"|","%7C":"|","%7d":"}","%7D":"}","%7e":"~","%7E":"~","%7f":"","%7F":"","%80":"","%81":"","%82":"","%83":"","%84":"","%85":"","%86":"","%87":"","%88":"","%89":"","%8a":"","%8A":"","%8b":"","%8B":"","%8c":"","%8C":"","%8d":"","%8D":"","%8e":"","%8E":"","%8f":"","%8F":"","%90":"","%91":"","%92":"","%93":"","%94":"","%95":"","%96":"","%97":"","%98":"","%99":"","%9a":"","%9A":"","%9b":"","%9B":"","%9c":"","%9C":"","%9d":"","%9D":"","%9e":"","%9E":"","%9f":"","%9F":"","%a0":" ","%A0":" ","%a1":"¡","%A1":"¡","%a2":"¢","%A2":"¢","%a3":"£","%A3":"£","%a4":"¤","%A4":"¤","%a5":"¥","%A5":"¥","%a6":"¦","%A6":"¦","%a7":"§","%A7":"§","%a8":"¨","%A8":"¨","%a9":"©","%A9":"©","%aa":"ª","%Aa":"ª","%aA":"ª","%AA":"ª","%ab":"«","%Ab":"«","%aB":"«","%AB":"«","%ac":"¬","%Ac":"¬","%aC":"¬","%AC":"¬","%ad":"­","%Ad":"­","%aD":"­","%AD":"­","%ae":"®","%Ae":"®","%aE":"®","%AE":"®","%af":"¯","%Af":"¯","%aF":"¯","%AF":"¯","%b0":"°","%B0":"°","%b1":"±","%B1":"±","%b2":"²","%B2":"²","%b3":"³","%B3":"³","%b4":"´","%B4":"´","%b5":"µ","%B5":"µ","%b6":"¶","%B6":"¶","%b7":"·","%B7":"·","%b8":"¸","%B8":"¸","%b9":"¹","%B9":"¹","%ba":"º","%Ba":"º","%bA":"º","%BA":"º","%bb":"»","%Bb":"»","%bB":"»","%BB":"»","%bc":"¼","%Bc":"¼","%bC":"¼","%BC":"¼","%bd":"½","%Bd":"½","%bD":"½","%BD":"½","%be":"¾","%Be":"¾","%bE":"¾","%BE":"¾","%bf":"¿","%Bf":"¿","%bF":"¿","%BF":"¿","%c0":"À","%C0":"À","%c1":"Á","%C1":"Á","%c2":"Â","%C2":"Â","%c3":"Ã","%C3":"Ã","%c4":"Ä","%C4":"Ä","%c5":"Å","%C5":"Å","%c6":"Æ","%C6":"Æ","%c7":"Ç","%C7":"Ç","%c8":"È","%C8":"È","%c9":"É","%C9":"É","%ca":"Ê","%Ca":"Ê","%cA":"Ê","%CA":"Ê","%cb":"Ë","%Cb":"Ë","%cB":"Ë","%CB":"Ë","%cc":"Ì","%Cc":"Ì","%cC":"Ì","%CC":"Ì","%cd":"Í","%Cd":"Í","%cD":"Í","%CD":"Í","%ce":"Î","%Ce":"Î","%cE":"Î","%CE":"Î","%cf":"Ï","%Cf":"Ï","%cF":"Ï","%CF":"Ï","%d0":"Ð","%D0":"Ð","%d1":"Ñ","%D1":"Ñ","%d2":"Ò","%D2":"Ò","%d3":"Ó","%D3":"Ó","%d4":"Ô","%D4":"Ô","%d5":"Õ","%D5":"Õ","%d6":"Ö","%D6":"Ö","%d7":"×","%D7":"×","%d8":"Ø","%D8":"Ø","%d9":"Ù","%D9":"Ù","%da":"Ú","%Da":"Ú","%dA":"Ú","%DA":"Ú","%db":"Û","%Db":"Û","%dB":"Û","%DB":"Û","%dc":"Ü","%Dc":"Ü","%dC":"Ü","%DC":"Ü","%dd":"Ý","%Dd":"Ý","%dD":"Ý","%DD":"Ý","%de":"Þ","%De":"Þ","%dE":"Þ","%DE":"Þ","%df":"ß","%Df":"ß","%dF":"ß","%DF":"ß","%e0":"à","%E0":"à","%e1":"á","%E1":"á","%e2":"â","%E2":"â","%e3":"ã","%E3":"ã","%e4":"ä","%E4":"ä","%e5":"å","%E5":"å","%e6":"æ","%E6":"æ","%e7":"ç","%E7":"ç","%e8":"è","%E8":"è","%e9":"é","%E9":"é","%ea":"ê","%Ea":"ê","%eA":"ê","%EA":"ê","%eb":"ë","%Eb":"ë","%eB":"ë","%EB":"ë","%ec":"ì","%Ec":"ì","%eC":"ì","%EC":"ì","%ed":"í","%Ed":"í","%eD":"í","%ED":"í","%ee":"î","%Ee":"î","%eE":"î","%EE":"î","%ef":"ï","%Ef":"ï","%eF":"ï","%EF":"ï","%f0":"ð","%F0":"ð","%f1":"ñ","%F1":"ñ","%f2":"ò","%F2":"ò","%f3":"ó","%F3":"ó","%f4":"ô","%F4":"ô","%f5":"õ","%F5":"õ","%f6":"ö","%F6":"ö","%f7":"÷","%F7":"÷","%f8":"ø","%F8":"ø","%f9":"ù","%F9":"ù","%fa":"ú","%Fa":"ú","%fA":"ú","%FA":"ú","%fb":"û","%Fb":"û","%fB":"û","%FB":"û","%fc":"ü","%Fc":"ü","%fC":"ü","%FC":"ü","%fd":"ý","%Fd":"ý","%fD":"ý","%FD":"ý","%fe":"þ","%Fe":"þ","%fE":"þ","%FE":"þ","%ff":"ÿ","%Ff":"ÿ","%fF":"ÿ","%FF":"ÿ"};function encodedReplacer(e){return n[e]}const A=0;const i=1;const a=2;const c=3;function parseParams(e){const t=[];let r=A;let n="";let l=false;let u=false;let g=0;let p="";const d=e.length;for(var E=0;E<d;++E){const d=e[E];if(d==="\\"&&l){if(u){u=false}else{u=true;continue}}else if(d==='"'){if(!u){if(l){l=false;r=A}else{l=true}continue}else{u=false}}else{if(u&&l){p+="\\"}u=false;if((r===a||r===c)&&d==="'"){if(r===a){r=c;n=p.substring(1)}else{r=i}p="";continue}else if(r===A&&(d==="*"||d==="=")&&t.length){r=d==="*"?a:i;t[g]=[p,undefined];p="";continue}else if(!l&&d===";"){r=A;if(n){if(p.length){p=s(p.replace(o,encodedReplacer),"binary",n)}n=""}else if(p.length){p=s(p,"binary","utf8")}if(t[g]===undefined){t[g]=p}else{t[g][1]=p}p="";++g;continue}else if(!l&&(d===" "||d==="\t")){continue}}p+=d}if(n&&p.length){p=s(p.replace(o,encodedReplacer),"binary",n)}else if(p){p=s(p,"binary","utf8")}if(t[g]===undefined){if(p){t[g]=p}}else{t[g][1]=p}return t}e.exports=parseParams},1120:e=>{var t;const r=function NullObject(){};r.prototype=Object.create(null);const s=/; *([!#$%&'*+.^\w`|~-]+)=("(?:[\v\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\v\u0020-\u00ff])*"|[!#$%&'*+.^\w`|~-]+) */gu;const o=/\\([\v\u0020-\u00ff])/gu;const n=/^[!#$%&'*+.^\w|~-]+\/[!#$%&'*+.^\w|~-]+$/u;const A={type:"",parameters:new r};Object.freeze(A.parameters);Object.freeze(A);function parse(e){if(typeof e!=="string"){throw new TypeError("argument header is required and must be a string")}let t=e.indexOf(";");const A=t!==-1?e.slice(0,t).trim():e.trim();if(n.test(A)===false){throw new TypeError("invalid media type")}const i={type:A.toLowerCase(),parameters:new r};if(t===-1){return i}let a;let c;let l;s.lastIndex=t;while(c=s.exec(e)){if(c.index!==t){throw new TypeError("invalid parameter format")}t+=c[0].length;a=c[1].toLowerCase();l=c[2];if(l[0]==='"'){l=l.slice(1,l.length-1);o.test(l)&&(l=l.replace(o,"$1"))}i.parameters[a]=l}if(t!==e.length){throw new TypeError("invalid parameter format")}return i}function safeParse(e){if(typeof e!=="string"){return A}let t=e.indexOf(";");const i=t!==-1?e.slice(0,t).trim():e.trim();if(n.test(i)===false){return A}const a={type:i.toLowerCase(),parameters:new r};if(t===-1){return a}let c;let l;let u;s.lastIndex=t;while(l=s.exec(e)){if(l.index!==t){return A}t+=l[0].length;c=l[1].toLowerCase();u=l[2];if(u[0]==='"'){u=u.slice(1,u.length-1);o.test(u)&&(u=u.replace(o,"$1"))}a.parameters[c]=u}if(t!==e.length){return A}return a}t={parse:parse,safeParse:safeParse};t=parse;e.exports.xL=safeParse;t=A},56:e=>{e.exports=JSON.parse('{"name":"dotenv","version":"16.4.7","description":"Loads environment variables from .env file","main":"lib/main.js","types":"lib/main.d.ts","exports":{".":{"types":"./lib/main.d.ts","require":"./lib/main.js","default":"./lib/main.js"},"./config":"./config.js","./config.js":"./config.js","./lib/env-options":"./lib/env-options.js","./lib/env-options.js":"./lib/env-options.js","./lib/cli-options":"./lib/cli-options.js","./lib/cli-options.js":"./lib/cli-options.js","./package.json":"./package.json"},"scripts":{"dts-check":"tsc --project tests/types/tsconfig.json","lint":"standard","pretest":"npm run lint && npm run dts-check","test":"tap run --allow-empty-coverage --disable-coverage --timeout=60000","test:coverage":"tap run --show-full-coverage --timeout=60000 --coverage-report=lcov","prerelease":"npm test","release":"standard-version"},"repository":{"type":"git","url":"git://github.com/motdotla/dotenv.git"},"funding":"https://dotenvx.com","keywords":["dotenv","env",".env","environment","variables","config","settings"],"readmeFilename":"README.md","license":"BSD-2-Clause","devDependencies":{"@types/node":"^18.11.3","decache":"^4.6.2","sinon":"^14.0.1","standard":"^17.0.0","standard-version":"^9.5.0","tap":"^19.2.0","typescript":"^4.8.4"},"engines":{"node":">=12"},"browser":{"fs":false}}')}};var r={};function __nccwpck_require__(e){var s=r[e];if(s!==undefined){return s.exports}var o=r[e]={exports:{}};var n=true;try{t[e].call(o.exports,o,o.exports,__nccwpck_require__);n=false}finally{if(n)delete r[e]}return o.exports}(()=>{__nccwpck_require__.d=(e,t)=>{for(var r in t){if(__nccwpck_require__.o(t,r)&&!__nccwpck_require__.o(e,r)){Object.defineProperty(e,r,{enumerable:true,get:t[r]})}}}})();(()=>{__nccwpck_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})();(()=>{__nccwpck_require__.r=e=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(e,"__esModule",{value:true})}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=new URL(".",import.meta.url).pathname.slice(import.meta.url.match(/^file:\/\/\/\w:/)?1:0,-1)+"/";var s={};var o={};__nccwpck_require__.r(o);__nccwpck_require__.d(o,{Any:()=>Any,Array:()=>array_Array,AsyncIterator:()=>AsyncIterator,Awaited:()=>Awaited,BigInt:()=>bigint_BigInt,Boolean:()=>boolean_Boolean,Capitalize:()=>Capitalize,Composite:()=>Composite,Const:()=>Const,Constructor:()=>Constructor,ConstructorParameters:()=>ConstructorParameters,Date:()=>date_Date,Enum:()=>Enum,Exclude:()=>Exclude,Extends:()=>Extends,Extract:()=>Extract,Function:()=>function_Function,Index:()=>Index,InstanceType:()=>InstanceType,Integer:()=>Integer,Intersect:()=>Intersect,Iterator:()=>Iterator,KeyOf:()=>KeyOf,Literal:()=>Literal,Lowercase:()=>Lowercase,Mapped:()=>Mapped,Module:()=>Module,Never:()=>Never,Not:()=>Not,Null:()=>Null,Number:()=>number_Number,Object:()=>Ye,Omit:()=>Omit,Optional:()=>Optional,Parameters:()=>Parameters,Partial:()=>Partial,Pick:()=>Pick,Promise:()=>promise_Promise,Readonly:()=>Readonly,ReadonlyOptional:()=>ReadonlyOptional,Record:()=>Record,Recursive:()=>Recursive,Ref:()=>Ref,RegExp:()=>regexp_RegExp,Required:()=>Required,Rest:()=>Rest,ReturnType:()=>ReturnType,String:()=>string_String,Symbol:()=>symbol_Symbol,TemplateLiteral:()=>TemplateLiteral,Transform:()=>Transform,Tuple:()=>Tuple,Uint8Array:()=>uint8array_Uint8Array,Uncapitalize:()=>Uncapitalize,Undefined:()=>Undefined,Union:()=>Union,Unknown:()=>Unknown,Unsafe:()=>Unsafe,Uppercase:()=>Uppercase,Void:()=>Void});var n={reset:"[0m",bright:"[1m",dim:"[2m",underscore:"[4m",blink:"[5m",reverse:"[7m",hidden:"[8m",fgBlack:"[30m",fgRed:"[31m",fgGreen:"[32m",fgYellow:"[33m",fgBlue:"[34m",fgMagenta:"[35m",fgCyan:"[36m",fgWhite:"[37m",bgBlack:"[40m",bgRed:"[41m",bgGreen:"[42m",bgYellow:"[43m",bgBlue:"[44m",bgMagenta:"[45m",bgCyan:"[46m",bgWhite:"[47m"};var A={FATAL:"fatal",ERROR:"error",WARN:"warn",INFO:"info",VERBOSE:"verbose",DEBUG:"debug"};var i=class{constructor(){this.ok=this.ok.bind(this);this.info=this.info.bind(this);this.error=this.error.bind(this);this.fatal=this.fatal.bind(this);this.warn=this.warn.bind(this);this.debug=this.debug.bind(this);this.verbose=this.verbose.bind(this)}fatal(e,t){this._logWithStack(A.FATAL,e,t)}error(e,t){this._logWithStack(A.ERROR,e,t)}warn(e,t){this._logWithStack(A.WARN,e,t)}ok(e,t){this._logWithStack("ok",e,t)}info(e,t){this._logWithStack(A.INFO,e,t)}debug(e,t){this._logWithStack(A.DEBUG,e,t)}verbose(e,t){this._logWithStack(A.VERBOSE,e,t)}_logWithStack(e,t,r){this._log(e,t);if(typeof r==="string"){this._log(e,r);return}if(r){const t=r;let s=t?.error?.stack||t?.stack;if(!s){const e=(new Error).stack?.split("\n");if(e){e.splice(0,4);s=e.filter((e=>e.includes(".ts:"))).join("\n")}}const o={...t};delete o.message;delete o.name;delete o.stack;if(!this._isEmpty(o)){this._log(e,o)}if(typeof s=="string"){const t=this._formatStackTrace(s,1);const r=this._colorizeText(t,n.dim);this._log(e,r)}else if(s){const t=this._formatStackTrace(s.join("\n"),1);const r=this._colorizeText(t,n.dim);this._log(e,r)}else{throw new Error("Stack is null")}}}_colorizeText(e,t){if(!t){throw new Error(`Invalid color: ${t}`)}return t.concat(e).concat(n.reset)}_formatStackTrace(e,t=0,r=""){const s=e.split("\n");for(let e=0;e<t;e++){s.shift()}return s.map((e=>`${r}${e.replace(/\s*at\s*/,"  ↳  ")}`)).join("\n")}_isEmpty(e){return!Reflect.ownKeys(e).some((t=>typeof e[String(t)]!=="function"))}_log(e,t){const r={fatal:"×",ok:"✓",warn:"⚠",error:"⚠",info:"›",debug:"››",verbose:"💬"};const s=r[e];const o=typeof t==="string"?t:JSON.stringify(t,null,2);const A=o.split("\n");const i=A.map(((e,t)=>{const r=t===0?`\t${s}`:`\t${" ".repeat(s.length)}`;return`${r} ${e}`})).join("\n");const a=i;const c={fatal:["error",n.fgRed],ok:["log",n.fgGreen],warn:["warn",n.fgYellow],error:["warn",n.fgYellow],info:["info",n.dim],debug:["debug",n.fgMagenta],verbose:["debug",n.dim]};const l=console[c[e][0]];if(typeof l==="function"&&a.length>12){l(this._colorizeText(a,c[e][1]))}else if(a.length<=12){return}else{throw new Error(a)}}};var a=class{logMessage;metadata;constructor(e,t){this.logMessage=e;this.metadata=t}};var c=class _Logs{_maxLevel=-1;static console;_log({level:e,consoleLog:t,logMessage:r,metadata:s,type:o}){if(this._getNumericLevel(e)<=this._maxLevel){t(r,s)}return new a({raw:r,diff:this._diffColorCommentMessage(o,r),type:o,level:e},s)}_addDiagnosticInformation(e){if(!e){e={}}else if(typeof e!=="object"){e={message:e}}const t=(new Error).stack?.split("\n")||[];if(t.length>3){const r=t[3];const s=r.match(/at (\S+)/);if(s){e.caller=s[1]}}return e}ok(e,t){t=this._addDiagnosticInformation(t);return this._log({level:A.INFO,consoleLog:_Logs.console.ok,logMessage:e,metadata:t,type:"ok"})}info(e,t){t=this._addDiagnosticInformation(t);return this._log({level:A.INFO,consoleLog:_Logs.console.info,logMessage:e,metadata:t,type:"info"})}warn(e,t){t=this._addDiagnosticInformation(t);return this._log({level:A.WARN,consoleLog:_Logs.console.warn,logMessage:e,metadata:t,type:"warn"})}error(e,t){t=this._addDiagnosticInformation(t);return this._log({level:A.ERROR,consoleLog:_Logs.console.error,logMessage:e,metadata:t,type:"error"})}debug(e,t){t=this._addDiagnosticInformation(t);return this._log({level:A.DEBUG,consoleLog:_Logs.console.debug,logMessage:e,metadata:t,type:"debug"})}fatal(e,t){if(!t){t=_Logs.convertErrorsIntoObjects(new Error(e));const r=t.stack;r.splice(1,1);t.stack=r}if(t instanceof Error){t=_Logs.convertErrorsIntoObjects(t);const e=t.stack;e.splice(1,1);t.stack=e}t=this._addDiagnosticInformation(t);return this._log({level:A.FATAL,consoleLog:_Logs.console.fatal,logMessage:e,metadata:t,type:"fatal"})}verbose(e,t){t=this._addDiagnosticInformation(t);return this._log({level:A.VERBOSE,consoleLog:_Logs.console.verbose,logMessage:e,metadata:t,type:"verbose"})}constructor(e){this._maxLevel=this._getNumericLevel(e);_Logs.console=new i}_diffColorCommentMessage(e,t){const r={fatal:"> [!CAUTION]",error:"> [!CAUTION]",warn:"> [!WARNING]",ok:"> [!TIP]",info:"> [!NOTE]",debug:"> [!IMPORTANT]",verbose:"> [!NOTE]"};const s=r[e];if(s){t=t.trim().split("\n").map((e=>`> ${e}`)).join("\n")}return[s,t].join("\n")}_getNumericLevel(e){switch(e){case A.FATAL:return 0;case A.ERROR:return 1;case A.WARN:return 2;case A.INFO:return 3;case A.VERBOSE:return 4;case A.DEBUG:return 5;default:return-1}}static convertErrorsIntoObjects(e){if(e instanceof Error){return{message:e.message,name:e.name,stack:e.stack?e.stack.split("\n"):null}}else if(typeof e==="object"&&e!==null){const t=Object.keys(e);t.forEach((t=>{e[t]=this.convertErrorsIntoObjects(e[t])}))}return e}};var l=/\x1b\[\d+m|\s/g;function cleanLogs(e){const t=e.mock.calls.map((e=>e.map((e=>e?.toString())).join(" ")));return t.flat().map((e=>cleanLogString(e)))}function cleanLogString(e){return e.replaceAll(l,"").replaceAll(/\n/g,"").replaceAll(/\r/g,"").replaceAll(/\t/g,"").trim()}function cleanSpyLogs(e){return cleanLogs(e)}var parseBody=async(e,t=Object.create(null))=>{const{all:r=false,dot:s=false}=t;const o=e instanceof d?e.raw.headers:e.headers;const n=o.get("Content-Type");if(n?.startsWith("multipart/form-data")||n?.startsWith("application/x-www-form-urlencoded")){return parseFormData(e,{all:r,dot:s})}return{}};async function parseFormData(e,t){const r=await e.formData();if(r){return convertFormDataToBodyData(r,t)}return{}}function convertFormDataToBodyData(e,t){const r=Object.create(null);e.forEach(((e,s)=>{const o=t.all||s.endsWith("[]");if(!o){r[s]=e}else{handleParsingAllValues(r,s,e)}}));if(t.dot){Object.entries(r).forEach((([e,t])=>{const s=e.includes(".");if(s){handleParsingNestedValues(r,e,t);delete r[e]}}))}return r}var handleParsingAllValues=(e,t,r)=>{if(e[t]!==void 0){if(Array.isArray(e[t])){e[t].push(r)}else{e[t]=[e[t],r]}}else{e[t]=r}};var handleParsingNestedValues=(e,t,r)=>{let s=e;const o=t.split(".");o.forEach(((e,t)=>{if(t===o.length-1){s[e]=r}else{if(!s[e]||typeof s[e]!=="object"||Array.isArray(s[e])||s[e]instanceof File){s[e]=Object.create(null)}s=s[e]}}))};var splitPath=e=>{const t=e.split("/");if(t[0]===""){t.shift()}return t};var splitRoutingPath=e=>{const{groups:t,path:r}=extractGroupsFromPath(e);const s=splitPath(r);return replaceGroupMarks(s,t)};var extractGroupsFromPath=e=>{const t=[];e=e.replace(/\{[^}]+\}/g,((e,r)=>{const s=`@${r}`;t.push([s,e]);return s}));return{groups:t,path:e}};var replaceGroupMarks=(e,t)=>{for(let r=t.length-1;r>=0;r--){const[s]=t[r];for(let o=e.length-1;o>=0;o--){if(e[o].includes(s)){e[o]=e[o].replace(s,t[r][1]);break}}}return e};var u={};var getPattern=(e,t)=>{if(e==="*"){return"*"}const r=e.match(/^\:([^\{\}]+)(?:\{(.+)\})?$/);if(r){const s=`${e}#${t}`;if(!u[s]){if(r[2]){u[s]=t&&t[0]!==":"&&t[0]!=="*"?[s,r[1],new RegExp(`^${r[2]}(?=/${t})`)]:[e,r[1],new RegExp(`^${r[2]}$`)]}else{u[s]=[e,r[1],true]}}return u[s]}return null};var tryDecode=(e,t)=>{try{return t(e)}catch{return e.replace(/(?:%[0-9A-Fa-f]{2})+/g,(e=>{try{return t(e)}catch{return e}}))}};var tryDecodeURI=e=>tryDecode(e,decodeURI);var getPath=e=>{const t=e.url;const r=t.indexOf("/",8);let s=r;for(;s<t.length;s++){const e=t.charCodeAt(s);if(e===37){const e=t.indexOf("?",s);const o=t.slice(r,e===-1?void 0:e);return tryDecodeURI(o.includes("%25")?o.replace(/%25/g,"%2525"):o)}else if(e===63){break}}return t.slice(r,s)};var getQueryStrings=e=>{const t=e.indexOf("?",8);return t===-1?"":"?"+e.slice(t+1)};var getPathNoStrict=e=>{const t=getPath(e);return t.length>1&&t.at(-1)==="/"?t.slice(0,-1):t};var mergePath=(...e)=>{let t="";let r=false;for(let s of e){if(t.at(-1)==="/"){t=t.slice(0,-1);r=true}if(s[0]!=="/"){s=`/${s}`}if(s==="/"&&r){t=`${t}/`}else if(s!=="/"){t=`${t}${s}`}if(s==="/"&&t===""){t="/"}}return t};var checkOptionalParameter=e=>{if(!e.match(/\:.+\?$/)){return null}const t=e.split("/");const r=[];let s="";t.forEach((e=>{if(e!==""&&!/\:/.test(e)){s+="/"+e}else if(/\:/.test(e)){if(/\?/.test(e)){if(r.length===0&&s===""){r.push("/")}else{r.push(s)}const t=e.replace("?","");s+="/"+t;r.push(s)}else{s+="/"+e}}}));return r.filter(((e,t,r)=>r.indexOf(e)===t))};var _decodeURI=e=>{if(!/[%+]/.test(e)){return e}if(e.indexOf("+")!==-1){e=e.replace(/\+/g," ")}return e.indexOf("%")!==-1?p(e):e};var _getQueryParam=(e,t,r)=>{let s;if(!r&&t&&!/[%+]/.test(t)){let r=e.indexOf(`?${t}`,8);if(r===-1){r=e.indexOf(`&${t}`,8)}while(r!==-1){const s=e.charCodeAt(r+t.length+1);if(s===61){const s=r+t.length+2;const o=e.indexOf("&",s);return _decodeURI(e.slice(s,o===-1?void 0:o))}else if(s==38||isNaN(s)){return""}r=e.indexOf(`&${t}`,r+1)}s=/[%+]/.test(e);if(!s){return void 0}}const o={};s??=/[%+]/.test(e);let n=e.indexOf("?",8);while(n!==-1){const t=e.indexOf("&",n+1);let A=e.indexOf("=",n);if(A>t&&t!==-1){A=-1}let i=e.slice(n+1,A===-1?t===-1?void 0:t:A);if(s){i=_decodeURI(i)}n=t;if(i===""){continue}let a;if(A===-1){a=""}else{a=e.slice(A+1,t===-1?void 0:t);if(s){a=_decodeURI(a)}}if(r){if(!(o[i]&&Array.isArray(o[i]))){o[i]=[]}o[i].push(a)}else{o[i]??=a}}return t?o[t]:o};var g=_getQueryParam;var getQueryParams=(e,t)=>_getQueryParam(e,t,true);var p=decodeURIComponent;var tryDecodeURIComponent=e=>tryDecode(e,p);var d=class{raw;#h;#f;routeIndex=0;path;bodyCache={};constructor(e,t="/",r=[[]]){this.raw=e;this.path=t;this.#f=r;this.#h={}}param(e){return e?this.#I(e):this.#m()}#I(e){const t=this.#f[0][this.routeIndex][1][e];const r=this.#C(t);return r?/\%/.test(r)?tryDecodeURIComponent(r):r:void 0}#m(){const e={};const t=Object.keys(this.#f[0][this.routeIndex][1]);for(const r of t){const t=this.#C(this.#f[0][this.routeIndex][1][r]);if(t&&typeof t==="string"){e[r]=/\%/.test(t)?tryDecodeURIComponent(t):t}}return e}#C(e){return this.#f[1]?this.#f[1][e]:e}query(e){return g(this.url,e)}queries(e){return getQueryParams(this.url,e)}header(e){if(e){return this.raw.headers.get(e)??void 0}const t={};this.raw.headers.forEach(((e,r)=>{t[r]=e}));return t}async parseBody(e){return this.bodyCache.parsedBody??=await parseBody(this,e)}#Q=e=>{const{bodyCache:t,raw:r}=this;const s=t[e];if(s){return s}const o=Object.keys(t)[0];if(o){return t[o].then((t=>{if(o==="json"){t=JSON.stringify(t)}return new Response(t)[e]()}))}return t[e]=r[e]()};json(){return this.#Q("json")}text(){return this.#Q("text")}arrayBuffer(){return this.#Q("arrayBuffer")}blob(){return this.#Q("blob")}formData(){return this.#Q("formData")}addValidatedData(e,t){this.#h[e]=t}valid(e){return this.#h[e]}get url(){return this.raw.url}get method(){return this.raw.method}get matchedRoutes(){return this.#f[0].map((([[,e]])=>e))}get routePath(){return this.#f[0].map((([[,e]])=>e))[this.routeIndex].path}};var E={Stringify:1,BeforeStream:2,Stream:3};var raw=(e,t)=>{const r=new String(e);r.isEscaped=true;r.callbacks=t;return r};var h=/[&<>'"]/;var stringBufferToString=async(e,t)=>{let r="";t||=[];const s=await Promise.all(e);for(let e=s.length-1;;e--){r+=s[e];e--;if(e<0){break}let o=s[e];if(typeof o==="object"){t.push(...o.callbacks||[])}const n=o.isEscaped;o=await(typeof o==="object"?o.toString():o);if(typeof o==="object"){t.push(...o.callbacks||[])}if(o.isEscaped??n){r+=o}else{const e=[r];escapeToBuffer(o,e);r=e[0]}}return raw(r,t)};var escapeToBuffer=(e,t)=>{const r=e.search(h);if(r===-1){t[0]+=e;return}let s;let o;let n=0;for(o=r;o<e.length;o++){switch(e.charCodeAt(o)){case 34:s="&quot;";break;case 39:s="&#39;";break;case 38:s="&amp;";break;case 60:s="&lt;";break;case 62:s="&gt;";break;default:continue}t[0]+=e.substring(n,o)+s;n=o+1}t[0]+=e.substring(n,o)};var resolveCallbackSync=e=>{const t=e.callbacks;if(!t?.length){return e}const r=[e];const s={};t.forEach((e=>e({phase:E.Stringify,buffer:r,context:s})));return r[0]};var resolveCallback=async(e,t,r,s,o)=>{if(typeof e==="object"&&!(e instanceof String)){if(!(e instanceof Promise)){e=e.toString()}if(e instanceof Promise){e=await e}}const n=e.callbacks;if(!n?.length){return Promise.resolve(e)}if(o){o[0]+=e}else{o=[e]}const A=Promise.all(n.map((e=>e({phase:t,buffer:o,context:s})))).then((e=>Promise.all(e.filter(Boolean).map((e=>resolveCallback(e,t,false,s,o)))).then((()=>o[0]))));if(r){return raw(await A,n)}else{return A}};var I="text/plain; charset=UTF-8";var setHeaders=(e,t={})=>{for(const r of Object.keys(t)){e.set(r,t[r])}return e};var m=class{#B;#y;env={};#w;finalized=false;error;#b=200;#R;#T;#k;#D;#_=true;#F;#S;#v;#f;#U;constructor(e,t){this.#B=e;if(t){this.#R=t.executionCtx;this.env=t.env;this.#v=t.notFoundHandler;this.#U=t.path;this.#f=t.matchResult}}get req(){this.#y??=new d(this.#B,this.#U,this.#f);return this.#y}get event(){if(this.#R&&"respondWith"in this.#R){return this.#R}else{throw Error("This context has no FetchEvent")}}get executionCtx(){if(this.#R){return this.#R}else{throw Error("This context has no ExecutionContext")}}get res(){this.#_=false;return this.#D||=new Response("404 Not Found",{status:404})}set res(e){this.#_=false;if(this.#D&&e){try{for(const[t,r]of this.#D.headers.entries()){if(t==="content-type"){continue}if(t==="set-cookie"){const t=this.#D.headers.getSetCookie();e.headers.delete("set-cookie");for(const r of t){e.headers.append("set-cookie",r)}}else{e.headers.set(t,r)}}}catch(t){if(t instanceof TypeError&&t.message.includes("immutable")){this.res=new Response(e.body,{headers:e.headers,status:e.status});return}else{throw t}}}this.#D=e;this.finalized=true}render=(...e)=>{this.#S??=e=>this.html(e);return this.#S(...e)};setLayout=e=>this.#F=e;getLayout=()=>this.#F;setRenderer=e=>{this.#S=e};header=(e,t,r)=>{if(t===void 0){if(this.#T){this.#T.delete(e)}else if(this.#k){delete this.#k[e.toLocaleLowerCase()]}if(this.finalized){this.res.headers.delete(e)}return}if(r?.append){if(!this.#T){this.#_=false;this.#T=new Headers(this.#k);this.#k={}}this.#T.append(e,t)}else{if(this.#T){this.#T.set(e,t)}else{this.#k??={};this.#k[e.toLowerCase()]=t}}if(this.finalized){if(r?.append){this.res.headers.append(e,t)}else{this.res.headers.set(e,t)}}};status=e=>{this.#_=false;this.#b=e};set=(e,t)=>{this.#w??=new Map;this.#w.set(e,t)};get=e=>this.#w?this.#w.get(e):void 0;get var(){if(!this.#w){return{}}return Object.fromEntries(this.#w)}#N(e,t,r){if(this.#_&&!r&&!t&&this.#b===200){return new Response(e,{headers:this.#k})}if(t&&typeof t!=="number"){const r=new Headers(t.headers);if(this.#T){this.#T.forEach(((e,t)=>{if(t==="set-cookie"){r.append(t,e)}else{r.set(t,e)}}))}const s=setHeaders(r,this.#k);return new Response(e,{headers:s,status:t.status??this.#b})}const s=typeof t==="number"?t:this.#b;this.#k??={};this.#T??=new Headers;setHeaders(this.#T,this.#k);if(this.#D){this.#D.headers.forEach(((e,t)=>{if(t==="set-cookie"){this.#T?.append(t,e)}else{this.#T?.set(t,e)}}));setHeaders(this.#T,this.#k)}r??={};for(const[e,t]of Object.entries(r)){if(typeof t==="string"){this.#T.set(e,t)}else{this.#T.delete(e);for(const r of t){this.#T.append(e,r)}}}return new Response(e,{status:s,headers:this.#T})}newResponse=(...e)=>this.#N(...e);body=(e,t,r)=>typeof t==="number"?this.#N(e,t,r):this.#N(e,t);text=(e,t,r)=>{if(!this.#k){if(this.#_&&!r&&!t){return new Response(e)}this.#k={}}this.#k["content-type"]=I;if(typeof t==="number"){return this.#N(e,t,r)}return this.#N(e,t)};json=(e,t,r)=>{const s=JSON.stringify(e);this.#k??={};this.#k["content-type"]="application/json";return typeof t==="number"?this.#N(s,t,r):this.#N(s,t)};html=(e,t,r)=>{this.#k??={};this.#k["content-type"]="text/html; charset=UTF-8";if(typeof e==="object"){return resolveCallback(e,E.Stringify,false,{}).then((e=>typeof t==="number"?this.#N(e,t,r):this.#N(e,t)))}return typeof t==="number"?this.#N(e,t,r):this.#N(e,t)};redirect=(e,t)=>{this.#T??=new Headers;this.#T.set("Location",String(e));return this.newResponse(null,t??302)};notFound=()=>{this.#v??=()=>new Response;return this.#v(this)}};var compose=(e,t,r)=>(s,o)=>{let n=-1;const A=s instanceof m;return dispatch(0);async function dispatch(i){if(i<=n){throw new Error("next() called multiple times")}n=i;let a;let c=false;let l;if(e[i]){l=e[i][0][0];if(A){s.req.routeIndex=i}}else{l=i===e.length&&o||void 0}if(!l){if(A&&s.finalized===false&&r){a=await r(s)}}else{try{a=await l(s,(()=>dispatch(i+1)))}catch(e){if(e instanceof Error&&A&&t){s.error=e;a=await t(e,s);c=true}else{throw e}}}if(a&&(s.finalized===false||c)){s.res=a}return s}};var C="ALL";var Q="all";var B=["get","post","put","delete","options","patch"];var y="Can not add a route since the matcher is already built.";var w=class extends Error{};var b="__COMPOSED_HANDLER";var notFoundHandler=e=>e.text("404 Not Found",404);var errorHandler=(e,t)=>{if("getResponse"in e){return e.getResponse()}console.error(e);return t.text("Internal Server Error",500)};var R=class{get;post;put;delete;options;patch;all;on;use;router;getPath;_basePath="/";#U="/";routes=[];constructor(e={}){const t=[...B,Q];t.forEach((e=>{this[e]=(t,...r)=>{if(typeof t==="string"){this.#U=t}else{this.#O(e,this.#U,t)}r.forEach((t=>{this.#O(e,this.#U,t)}));return this}}));this.on=(e,t,...r)=>{for(const s of[t].flat()){this.#U=s;for(const t of[e].flat()){r.map((e=>{this.#O(t.toUpperCase(),this.#U,e)}))}}return this};this.use=(e,...t)=>{if(typeof e==="string"){this.#U=e}else{this.#U="*";t.unshift(e)}t.forEach((e=>{this.#O(C,this.#U,e)}));return this};const r=e.strict??true;delete e.strict;Object.assign(this,e);this.getPath=r?e.getPath??getPath:getPathNoStrict}#G(){const e=new R({router:this.router,getPath:this.getPath});e.routes=this.routes;return e}#v=notFoundHandler;errorHandler=errorHandler;route(e,t){const r=this.basePath(e);t.routes.map((e=>{let s;if(t.errorHandler===errorHandler){s=e.handler}else{s=async(r,s)=>(await compose([],t.errorHandler)(r,(()=>e.handler(r,s)))).res;s[b]=e.handler}r.#O(e.method,e.path,s)}));return this}basePath(e){const t=this.#G();t._basePath=mergePath(this._basePath,e);return t}onError=e=>{this.errorHandler=e;return this};notFound=e=>{this.#v=e;return this};mount(e,t,r){let s;let o;if(r){if(typeof r==="function"){o=r}else{o=r.optionHandler;s=r.replaceRequest}}const n=o?e=>{const t=o(e);return Array.isArray(t)?t:[t]}:e=>{let t=void 0;try{t=e.executionCtx}catch{}return[e.env,t]};s||=(()=>{const t=mergePath(this._basePath,e);const r=t==="/"?0:t.length;return e=>{const t=new URL(e.url);t.pathname=t.pathname.slice(r)||"/";return new Request(t,e)}})();const handler=async(e,r)=>{const o=await t(s(e.req.raw),...n(e));if(o){return o}await r()};this.#O(C,mergePath(e,"*"),handler);return this}#O(e,t,r){e=e.toUpperCase();t=mergePath(this._basePath,t);const s={path:t,method:e,handler:r};this.router.add(e,t,[r,s]);this.routes.push(s)}#L(e,t){if(e instanceof Error){return this.errorHandler(e,t)}throw e}#P(e,t,r,s){if(s==="HEAD"){return(async()=>new Response(null,await this.#P(e,t,r,"GET")))()}const o=this.getPath(e,{env:r});const n=this.router.match(s,o);const A=new m(e,{path:o,matchResult:n,env:r,executionCtx:t,notFoundHandler:this.#v});if(n[0].length===1){let e;try{e=n[0][0][0][0](A,(async()=>{A.res=await this.#v(A)}))}catch(e){return this.#L(e,A)}return e instanceof Promise?e.then((e=>e||(A.finalized?A.res:this.#v(A)))).catch((e=>this.#L(e,A))):e??this.#v(A)}const i=compose(n[0],this.errorHandler,this.#v);return(async()=>{try{const e=await i(A);if(!e.finalized){throw new Error("Context is not finalized. Did you forget to return a Response object or `await next()`?")}return e.res}catch(e){return this.#L(e,A)}})()}fetch=(e,...t)=>this.#P(e,t[1],t[0],e.method);request=(e,t,r,s)=>{if(e instanceof Request){return this.fetch(t?new Request(e,t):e,r,s)}e=e.toString();return this.fetch(new Request(/^https?:\/\//.test(e)?e:`http://localhost${mergePath("/",e)}`,t),r,s)};fire=()=>{addEventListener("fetch",(e=>{e.respondWith(this.#P(e.request,e,void 0,e.request.method))}))}};var T="[^/]+";var k=".*";var D="(?:|/.*)";var _=Symbol();var F=new Set(".\\+*[^]$()");function compareKey(e,t){if(e.length===1){return t.length===1?e<t?-1:1:-1}if(t.length===1){return 1}if(e===k||e===D){return 1}else if(t===k||t===D){return-1}if(e===T){return 1}else if(t===T){return-1}return e.length===t.length?e<t?-1:1:t.length-e.length}var S=class{#M;#x;#H=Object.create(null);insert(e,t,r,s,o){if(e.length===0){if(this.#M!==void 0){throw _}if(o){return}this.#M=t;return}const[n,...A]=e;const i=n==="*"?A.length===0?["","",k]:["","",T]:n==="/*"?["","",D]:n.match(/^\:([^\{\}]+)(?:\{(.+)\})?$/);let a;if(i){const e=i[1];let t=i[2]||T;if(e&&i[2]){t=t.replace(/^\((?!\?:)(?=[^)]+\)$)/,"(?:");if(/\((?!\?:)/.test(t)){throw _}}a=this.#H[t];if(!a){if(Object.keys(this.#H).some((e=>e!==k&&e!==D))){throw _}if(o){return}a=this.#H[t]=new S;if(e!==""){a.#x=s.varIndex++}}if(!o&&e!==""){r.push([e,a.#x])}}else{a=this.#H[n];if(!a){if(Object.keys(this.#H).some((e=>e.length>1&&e!==k&&e!==D))){throw _}if(o){return}a=this.#H[n]=new S}}a.insert(A,t,r,s,o)}buildRegExpStr(){const e=Object.keys(this.#H).sort(compareKey);const t=e.map((e=>{const t=this.#H[e];return(typeof t.#x==="number"?`(${e})@${t.#x}`:F.has(e)?`\\${e}`:e)+t.buildRegExpStr()}));if(typeof this.#M==="number"){t.unshift(`#${this.#M}`)}if(t.length===0){return""}if(t.length===1){return t[0]}return"(?:"+t.join("|")+")"}};var v=class{#V={varIndex:0};#Y=new S;insert(e,t,r){const s=[];const o=[];for(let t=0;;){let r=false;e=e.replace(/\{[^}]+\}/g,(e=>{const s=`@\\${t}`;o[t]=[s,e];t++;r=true;return s}));if(!r){break}}const n=e.match(/(?::[^\/]+)|(?:\/\*$)|./g)||[];for(let e=o.length-1;e>=0;e--){const[t]=o[e];for(let r=n.length-1;r>=0;r--){if(n[r].indexOf(t)!==-1){n[r]=n[r].replace(t,o[e][1]);break}}}this.#Y.insert(n,t,s,this.#V,r);return s}buildRegExp(){let e=this.#Y.buildRegExpStr();if(e===""){return[/^$/,[],[]]}let t=0;const r=[];const s=[];e=e.replace(/#(\d+)|@(\d+)|\.\*\$/g,((e,o,n)=>{if(o!==void 0){r[++t]=Number(o);return"$()"}if(n!==void 0){s[Number(n)]=++t;return""}return""}));return[new RegExp(`^${e}`),r,s]}};var U=[];var N=[/^$/,[],Object.create(null)];var O=Object.create(null);function buildWildcardRegExp(e){return O[e]??=new RegExp(e==="*"?"":`^${e.replace(/\/\*$|([.\\+*[^\]$()])/g,((e,t)=>t?`\\${t}`:"(?:|/.*)"))}$`)}function clearWildcardRegExpCache(){O=Object.create(null)}function buildMatcherFromPreprocessedRoutes(e){const t=new v;const r=[];if(e.length===0){return N}const s=e.map((e=>[!/\*|\/:/.test(e[0]),...e])).sort((([e,t],[r,s])=>e?1:r?-1:t.length-s.length));const o=Object.create(null);for(let e=0,n=-1,A=s.length;e<A;e++){const[A,i,a]=s[e];if(A){o[i]=[a.map((([e])=>[e,Object.create(null)])),U]}else{n++}let c;try{c=t.insert(i,n,A)}catch(e){throw e===_?new w(i):e}if(A){continue}r[n]=a.map((([e,t])=>{const r=Object.create(null);t-=1;for(;t>=0;t--){const[e,s]=c[t];r[e]=s}return[e,r]}))}const[n,A,i]=t.buildRegExp();for(let e=0,t=r.length;e<t;e++){for(let t=0,s=r[e].length;t<s;t++){const s=r[e][t]?.[1];if(!s){continue}const o=Object.keys(s);for(let e=0,t=o.length;e<t;e++){s[o[e]]=i[s[o[e]]]}}}const a=[];for(const e in A){a[e]=r[A[e]]}return[n,a,o]}function findMiddleware(e,t){if(!e){return void 0}for(const r of Object.keys(e).sort(((e,t)=>t.length-e.length))){if(buildWildcardRegExp(r).test(t)){return[...e[r]]}}return void 0}var G=class{name="RegExpRouter";#J;#q;constructor(){this.#J={[C]:Object.create(null)};this.#q={[C]:Object.create(null)}}add(e,t,r){const s=this.#J;const o=this.#q;if(!s||!o){throw new Error(y)}if(!s[e]){[s,o].forEach((t=>{t[e]=Object.create(null);Object.keys(t[C]).forEach((r=>{t[e][r]=[...t[C][r]]}))}))}if(t==="/*"){t="*"}const n=(t.match(/\/:/g)||[]).length;if(/\*$/.test(t)){const A=buildWildcardRegExp(t);if(e===C){Object.keys(s).forEach((e=>{s[e][t]||=findMiddleware(s[e],t)||findMiddleware(s[C],t)||[]}))}else{s[e][t]||=findMiddleware(s[e],t)||findMiddleware(s[C],t)||[]}Object.keys(s).forEach((t=>{if(e===C||e===t){Object.keys(s[t]).forEach((e=>{A.test(e)&&s[t][e].push([r,n])}))}}));Object.keys(o).forEach((t=>{if(e===C||e===t){Object.keys(o[t]).forEach((e=>A.test(e)&&o[t][e].push([r,n])))}}));return}const A=checkOptionalParameter(t)||[t];for(let t=0,i=A.length;t<i;t++){const a=A[t];Object.keys(o).forEach((A=>{if(e===C||e===A){o[A][a]||=[...findMiddleware(s[A],a)||findMiddleware(s[C],a)||[]];o[A][a].push([r,n-i+t+1])}}))}}match(e,t){clearWildcardRegExpCache();const r=this.#j();this.match=(e,t)=>{const s=r[e]||r[C];const o=s[2][t];if(o){return o}const n=t.match(s[0]);if(!n){return[[],U]}const A=n.indexOf("",1);return[s[1][A],n]};return this.match(e,t)}#j(){const e=Object.create(null);Object.keys(this.#q).concat(Object.keys(this.#J)).forEach((t=>{e[t]||=this.#W(t)}));this.#J=this.#q=void 0;return e}#W(e){const t=[];let r=e===C;[this.#J,this.#q].forEach((s=>{const o=s[e]?Object.keys(s[e]).map((t=>[t,s[e][t]])):[];if(o.length!==0){r||=true;t.push(...o)}else if(e!==C){t.push(...Object.keys(s[C]).map((e=>[e,s[C][e]])))}}));if(!r){return null}else{return buildMatcherFromPreprocessedRoutes(t)}}};var L=class{name="SmartRouter";#K=[];#q=[];constructor(e){this.#K=e.routers}add(e,t,r){if(!this.#q){throw new Error(y)}this.#q.push([e,t,r])}match(e,t){if(!this.#q){throw new Error("Fatal error")}const r=this.#K;const s=this.#q;const o=r.length;let n=0;let A;for(;n<o;n++){const o=r[n];try{for(let e=0,t=s.length;e<t;e++){o.add(...s[e])}A=o.match(e,t)}catch(e){if(e instanceof w){continue}throw e}this.match=o.match.bind(o);this.#K=[o];this.#q=void 0;break}if(n===o){throw new Error("Fatal error")}this.name=`SmartRouter + ${this.activeRouter.name}`;return A}get activeRouter(){if(this.#q||this.#K.length!==1){throw new Error("No active router has been determined yet.")}return this.#K[0]}};var P=Object.create(null);var M=class{#z;#H;#Z;#X=0;#$=P;constructor(e,t,r){this.#H=r||Object.create(null);this.#z=[];if(e&&t){const r=Object.create(null);r[e]={handler:t,possibleKeys:[],score:0};this.#z=[r]}this.#Z=[]}insert(e,t,r){this.#X=++this.#X;let s=this;const o=splitRoutingPath(t);const n=[];for(let e=0,t=o.length;e<t;e++){const t=o[e];const r=o[e+1];const A=getPattern(t,r);const i=Array.isArray(A)?A[0]:t;if(Object.keys(s.#H).includes(i)){s=s.#H[i];const e=getPattern(t,r);if(e){n.push(e[1])}continue}s.#H[i]=new M;if(A){s.#Z.push(A);n.push(A[1])}s=s.#H[i]}const A=Object.create(null);const i={handler:r,possibleKeys:n.filter(((e,t,r)=>r.indexOf(e)===t)),score:this.#X};A[e]=i;s.#z.push(A);return s}#ee(e,t,r,s){const o=[];for(let n=0,A=e.#z.length;n<A;n++){const A=e.#z[n];const i=A[t]||A[C];const a={};if(i!==void 0){i.params=Object.create(null);o.push(i);if(r!==P||s&&s!==P){for(let e=0,t=i.possibleKeys.length;e<t;e++){const t=i.possibleKeys[e];const o=a[i.score];i.params[t]=s?.[t]&&!o?s[t]:r[t]??s?.[t];a[i.score]=true}}}}return o}search(e,t){const r=[];this.#$=P;const s=this;let o=[s];const n=splitPath(t);const A=[];for(let t=0,s=n.length;t<s;t++){const i=n[t];const a=t===s-1;const c=[];for(let s=0,l=o.length;s<l;s++){const l=o[s];const u=l.#H[i];if(u){u.#$=l.#$;if(a){if(u.#H["*"]){r.push(...this.#ee(u.#H["*"],e,l.#$))}r.push(...this.#ee(u,e,l.#$))}else{c.push(u)}}for(let s=0,o=l.#Z.length;s<o;s++){const o=l.#Z[s];const u=l.#$===P?{}:{...l.#$};if(o==="*"){const t=l.#H["*"];if(t){r.push(...this.#ee(t,e,l.#$));t.#$=u;c.push(t)}continue}if(i===""){continue}const[g,p,d]=o;const E=l.#H[g];const h=n.slice(t).join("/");if(d instanceof RegExp){const t=d.exec(h);if(t){u[p]=t[0];r.push(...this.#ee(E,e,l.#$,u));if(Object.keys(E.#H).length){E.#$=u;const e=t[0].match(/\//)?.length??0;const r=A[e]||=[];r.push(E)}continue}}if(d===true||d.test(i)){u[p]=i;if(a){r.push(...this.#ee(E,e,u,l.#$));if(E.#H["*"]){r.push(...this.#ee(E.#H["*"],e,u,l.#$))}}else{E.#$=u;c.push(E)}}}}o=c.concat(A.shift()??[])}if(r.length>1){r.sort(((e,t)=>e.score-t.score))}return[r.map((({handler:e,params:t})=>[e,t]))]}};var x=class{name="TrieRouter";#te;constructor(){this.#te=new M}add(e,t,r){const s=checkOptionalParameter(t);if(s){for(let t=0,o=s.length;t<o;t++){this.#te.insert(e,s[t],r)}return}this.#te.insert(e,t,r)}match(e,t){return this.#te.search(e,t)}};var H=class extends R{constructor(e={}){super(e);this.router=e.router??new L({routers:[new G,new x]})}};var env=(e,t)=>{const r=globalThis;const s=r?.process?.env;t??=getRuntimeKey();const o={bun:()=>s,node:()=>s,"edge-light":()=>s,deno:()=>Deno.env.toObject(),workerd:()=>e.env,fastly:()=>({}),other:()=>({})};return o[t]()};var V={deno:"Deno",bun:"Bun",workerd:"Cloudflare-Workers",node:"Node.js"};var getRuntimeKey=()=>{const e=globalThis;const t=typeof navigator!=="undefined"&&typeof navigator.userAgent==="string";if(t){for(const[e,t]of Object.entries(V)){if(checkUserAgentEquals(t)){return e}}}if(typeof e?.EdgeRuntime==="string"){return"edge-light"}if(e?.fastly!==void 0){return"fastly"}if(e?.process?.release?.name==="node"){return"node"}return"other"};var checkUserAgentEquals=e=>{const t=navigator.userAgent;return t.startsWith(e)};var Y=class extends Error{res;status;constructor(e=500,t){super(t?.message,{cause:t?.cause});this.res=t?.res;this.status=e}getResponse(){if(this.res){const e=new Response(this.res.body,{status:this.status,headers:this.res.headers});return e}return new Response(this.message,{status:this.status})}};var J=__nccwpck_require__(3228);function getUserAgent(){if(typeof navigator==="object"&&"userAgent"in navigator){return navigator.userAgent}if(typeof process==="object"&&process.version!==undefined){return`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`}return"<environment undetectable>"}function register(e,t,r,s){if(typeof r!=="function"){throw new Error("method for before hook must be a function")}if(!s){s={}}if(Array.isArray(t)){return t.reverse().reduce(((t,r)=>register.bind(null,e,r,t,s)),r)()}return Promise.resolve().then((()=>{if(!e.registry[t]){return r(s)}return e.registry[t].reduce(((e,t)=>t.hook.bind(null,e,s)),r)()}))}function addHook(e,t,r,s){const o=s;if(!e.registry[r]){e.registry[r]=[]}if(t==="before"){s=(e,t)=>Promise.resolve().then(o.bind(null,t)).then(e.bind(null,t))}if(t==="after"){s=(e,t)=>{let r;return Promise.resolve().then(e.bind(null,t)).then((e=>{r=e;return o(r,t)})).then((()=>r))}}if(t==="error"){s=(e,t)=>Promise.resolve().then(e.bind(null,t)).catch((e=>o(e,t)))}e.registry[r].push({hook:s,orig:o})}function removeHook(e,t,r){if(!e.registry[t]){return}const s=e.registry[t].map((e=>e.orig)).indexOf(r);if(s===-1){return}e.registry[t].splice(s,1)}const q=Function.bind;const j=q.bind(q);function bindApi(e,t,r){const s=j(removeHook,null).apply(null,r?[t,r]:[t]);e.api={remove:s};e.remove=s;["before","error","after","wrap"].forEach((s=>{const o=r?[t,s,r]:[t,s];e[s]=e.api[s]=j(addHook,null).apply(null,o)}))}function Singular(){const e=Symbol("Singular");const t={registry:{}};const r=register.bind(null,t,e);bindApi(r,t,e);return r}function Collection(){const e={registry:{}};const t=register.bind(null,e);bindApi(t,e);return t}const W={Singular:Singular,Collection:Collection};var K="0.0.0-development";var z=`octokit-endpoint.js/${K} ${getUserAgent()}`;var Z={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":z},mediaType:{format:""}};function lowercaseKeys(e){if(!e){return{}}return Object.keys(e).reduce(((t,r)=>{t[r.toLowerCase()]=e[r];return t}),{})}function isPlainObject(e){if(typeof e!=="object"||e===null)return false;if(Object.prototype.toString.call(e)!=="[object Object]")return false;const t=Object.getPrototypeOf(e);if(t===null)return true;const r=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof r==="function"&&r instanceof r&&Function.prototype.call(r)===Function.prototype.call(e)}function mergeDeep(e,t){const r=Object.assign({},e);Object.keys(t).forEach((s=>{if(isPlainObject(t[s])){if(!(s in e))Object.assign(r,{[s]:t[s]});else r[s]=mergeDeep(e[s],t[s])}else{Object.assign(r,{[s]:t[s]})}}));return r}function removeUndefinedProperties(e){for(const t in e){if(e[t]===void 0){delete e[t]}}return e}function merge(e,t,r){if(typeof t==="string"){let[e,s]=t.split(" ");r=Object.assign(s?{method:e,url:s}:{url:e},r)}else{r=Object.assign({},t)}r.headers=lowercaseKeys(r.headers);removeUndefinedProperties(r);removeUndefinedProperties(r.headers);const s=mergeDeep(e||{},r);if(r.url==="/graphql"){if(e&&e.mediaType.previews?.length){s.mediaType.previews=e.mediaType.previews.filter((e=>!s.mediaType.previews.includes(e))).concat(s.mediaType.previews)}s.mediaType.previews=(s.mediaType.previews||[]).map((e=>e.replace(/-preview/,"")))}return s}function addQueryParameters(e,t){const r=/\?/.test(e)?"&":"?";const s=Object.keys(t);if(s.length===0){return e}return e+r+s.map((e=>{if(e==="q"){return"q="+t.q.split("+").map(encodeURIComponent).join("+")}return`${e}=${encodeURIComponent(t[e])}`})).join("&")}var X=/\{[^}]+\}/g;function removeNonChars(e){return e.replace(/^\W+|\W+$/g,"").split(/,/)}function extractUrlVariableNames(e){const t=e.match(X);if(!t){return[]}return t.map(removeNonChars).reduce(((e,t)=>e.concat(t)),[])}function omit(e,t){const r={__proto__:null};for(const s of Object.keys(e)){if(t.indexOf(s)===-1){r[s]=e[s]}}return r}function encodeReserved(e){return e.split(/(%[0-9A-Fa-f]{2})/g).map((function(e){if(!/%[0-9A-Fa-f]/.test(e)){e=encodeURI(e).replace(/%5B/g,"[").replace(/%5D/g,"]")}return e})).join("")}function encodeUnreserved(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function encodeValue(e,t,r){t=e==="+"||e==="#"?encodeReserved(t):encodeUnreserved(t);if(r){return encodeUnreserved(r)+"="+t}else{return t}}function isDefined(e){return e!==void 0&&e!==null}function isKeyOperator(e){return e===";"||e==="&"||e==="?"}function getValues(e,t,r,s){var o=e[r],n=[];if(isDefined(o)&&o!==""){if(typeof o==="string"||typeof o==="number"||typeof o==="boolean"){o=o.toString();if(s&&s!=="*"){o=o.substring(0,parseInt(s,10))}n.push(encodeValue(t,o,isKeyOperator(t)?r:""))}else{if(s==="*"){if(Array.isArray(o)){o.filter(isDefined).forEach((function(e){n.push(encodeValue(t,e,isKeyOperator(t)?r:""))}))}else{Object.keys(o).forEach((function(e){if(isDefined(o[e])){n.push(encodeValue(t,o[e],e))}}))}}else{const e=[];if(Array.isArray(o)){o.filter(isDefined).forEach((function(r){e.push(encodeValue(t,r))}))}else{Object.keys(o).forEach((function(r){if(isDefined(o[r])){e.push(encodeUnreserved(r));e.push(encodeValue(t,o[r].toString()))}}))}if(isKeyOperator(t)){n.push(encodeUnreserved(r)+"="+e.join(","))}else if(e.length!==0){n.push(e.join(","))}}}}else{if(t===";"){if(isDefined(o)){n.push(encodeUnreserved(r))}}else if(o===""&&(t==="&"||t==="?")){n.push(encodeUnreserved(r)+"=")}else if(o===""){n.push("")}}return n}function parseUrl(e){return{expand:expand.bind(null,e)}}function expand(e,t){var r=["+","#",".","/",";","?","&"];e=e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,(function(e,s,o){if(s){let e="";const o=[];if(r.indexOf(s.charAt(0))!==-1){e=s.charAt(0);s=s.substr(1)}s.split(/,/g).forEach((function(r){var s=/([^:\*]*)(?::(\d+)|(\*))?/.exec(r);o.push(getValues(t,e,s[1],s[2]||s[3]))}));if(e&&e!=="+"){var n=",";if(e==="?"){n="&"}else if(e!=="#"){n=e}return(o.length!==0?e:"")+o.join(n)}else{return o.join(",")}}else{return encodeReserved(o)}}));if(e==="/"){return e}else{return e.replace(/\/$/,"")}}function parse(e){let t=e.method.toUpperCase();let r=(e.url||"/").replace(/:([a-z]\w+)/g,"{$1}");let s=Object.assign({},e.headers);let o;let n=omit(e,["method","baseUrl","url","headers","request","mediaType"]);const A=extractUrlVariableNames(r);r=parseUrl(r).expand(n);if(!/^http/.test(r)){r=e.baseUrl+r}const i=Object.keys(e).filter((e=>A.includes(e))).concat("baseUrl");const a=omit(n,i);const c=/application\/octet-stream/i.test(s.accept);if(!c){if(e.mediaType.format){s.accept=s.accept.split(/,/).map((t=>t.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${e.mediaType.format}`))).join(",")}if(r.endsWith("/graphql")){if(e.mediaType.previews?.length){const t=s.accept.match(/[\w-]+(?=-preview)/g)||[];s.accept=t.concat(e.mediaType.previews).map((t=>{const r=e.mediaType.format?`.${e.mediaType.format}`:"+json";return`application/vnd.github.${t}-preview${r}`})).join(",")}}}if(["GET","HEAD"].includes(t)){r=addQueryParameters(r,a)}else{if("data"in a){o=a.data}else{if(Object.keys(a).length){o=a}}}if(!s["content-type"]&&typeof o!=="undefined"){s["content-type"]="application/json; charset=utf-8"}if(["PATCH","PUT"].includes(t)&&typeof o==="undefined"){o=""}return Object.assign({method:t,url:r,headers:s},typeof o!=="undefined"?{body:o}:null,e.request?{request:e.request}:null)}function endpointWithDefaults(e,t,r){return parse(merge(e,t,r))}function withDefaults(e,t){const r=merge(e,t);const s=endpointWithDefaults.bind(null,r);return Object.assign(s,{DEFAULTS:r,defaults:withDefaults.bind(null,r),merge:merge.bind(null,r),parse:parse})}var $=withDefaults(null,Z);var ee=__nccwpck_require__(1120);class RequestError extends Error{name;status;request;response;constructor(e,t,r){super(e);this.name="HttpError";this.status=Number.parseInt(t);if(Number.isNaN(this.status)){this.status=0}if("response"in r){this.response=r.response}const s=Object.assign({},r.request);if(r.request.headers.authorization){s.headers=Object.assign({},r.request.headers,{authorization:r.request.headers.authorization.replace(/ .*$/," [REDACTED]")})}s.url=s.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=s}}var te="0.0.0-development";var re={headers:{"user-agent":`octokit-request.js/${te} ${getUserAgent()}`}};function dist_bundle_isPlainObject(e){if(typeof e!=="object"||e===null)return false;if(Object.prototype.toString.call(e)!=="[object Object]")return false;const t=Object.getPrototypeOf(e);if(t===null)return true;const r=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof r==="function"&&r instanceof r&&Function.prototype.call(r)===Function.prototype.call(e)}async function fetchWrapper(e){const t=e.request?.fetch||globalThis.fetch;if(!t){throw new Error("fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing")}const r=e.request?.log||console;const s=e.request?.parseSuccessResponseBody!==false;const o=dist_bundle_isPlainObject(e.body)||Array.isArray(e.body)?JSON.stringify(e.body):e.body;const n=Object.fromEntries(Object.entries(e.headers).map((([e,t])=>[e,String(t)])));let A;try{A=await t(e.url,{method:e.method,body:o,redirect:e.request?.redirect,headers:n,signal:e.request?.signal,...e.body&&{duplex:"half"}})}catch(t){let r="Unknown Error";if(t instanceof Error){if(t.name==="AbortError"){t.status=500;throw t}r=t.message;if(t.name==="TypeError"&&"cause"in t){if(t.cause instanceof Error){r=t.cause.message}else if(typeof t.cause==="string"){r=t.cause}}}const s=new RequestError(r,500,{request:e});s.cause=t;throw s}const i=A.status;const a=A.url;const c={};for(const[e,t]of A.headers){c[e]=t}const l={url:a,status:i,headers:c,data:""};if("deprecation"in c){const t=c.link&&c.link.match(/<([^>]+)>; rel="deprecation"/);const s=t&&t.pop();r.warn(`[@octokit/request] "${e.method} ${e.url}" is deprecated. It is scheduled to be removed on ${c.sunset}${s?`. See ${s}`:""}`)}if(i===204||i===205){return l}if(e.method==="HEAD"){if(i<400){return l}throw new RequestError(A.statusText,i,{response:l,request:e})}if(i===304){l.data=await getResponseData(A);throw new RequestError("Not modified",i,{response:l,request:e})}if(i>=400){l.data=await getResponseData(A);throw new RequestError(toErrorMessage(l.data),i,{response:l,request:e})}l.data=s?await getResponseData(A):A.body;return l}async function getResponseData(e){const t=e.headers.get("content-type");if(!t){return e.text().catch((()=>""))}const r=(0,ee.xL)(t);if(isJSONResponse(r)){let t="";try{t=await e.text();return JSON.parse(t)}catch(e){return t}}else if(r.type.startsWith("text/")||r.parameters.charset?.toLowerCase()==="utf-8"){return e.text().catch((()=>""))}else{return e.arrayBuffer().catch((()=>new ArrayBuffer(0)))}}function isJSONResponse(e){return e.type==="application/json"||e.type==="application/scim+json"}function toErrorMessage(e){if(typeof e==="string"){return e}if(e instanceof ArrayBuffer){return"Unknown error"}if("message"in e){const t="documentation_url"in e?` - ${e.documentation_url}`:"";return Array.isArray(e.errors)?`${e.message}: ${e.errors.map((e=>JSON.stringify(e))).join(", ")}${t}`:`${e.message}${t}`}return`Unknown error: ${JSON.stringify(e)}`}function dist_bundle_withDefaults(e,t){const r=e.defaults(t);const newApi=function(e,t){const s=r.merge(e,t);if(!s.request||!s.request.hook){return fetchWrapper(r.parse(s))}const request2=(e,t)=>fetchWrapper(r.parse(r.merge(e,t)));Object.assign(request2,{endpoint:r,defaults:dist_bundle_withDefaults.bind(null,r)});return s.request.hook(request2,s)};return Object.assign(newApi,{endpoint:r,defaults:dist_bundle_withDefaults.bind(null,r)})}var se=dist_bundle_withDefaults($,re);var oe="0.0.0-development";function _buildMessageForResponseErrors(e){return`Request failed due to following response errors:\n`+e.errors.map((e=>` - ${e.message}`)).join("\n")}var ne=class extends Error{constructor(e,t,r){super(_buildMessageForResponseErrors(r));this.request=e;this.headers=t;this.response=r;this.errors=r.errors;this.data=r.data;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}name="GraphqlResponseError";errors;data};var Ae=["method","baseUrl","url","headers","request","query","mediaType","operationName"];var ie=["query","method","url"];var ae=/\/api\/v3\/?$/;function graphql(e,t,r){if(r){if(typeof t==="string"&&"query"in r){return Promise.reject(new Error(`[@octokit/graphql] "query" cannot be used as variable name`))}for(const e in r){if(!ie.includes(e))continue;return Promise.reject(new Error(`[@octokit/graphql] "${e}" cannot be used as variable name`))}}const s=typeof t==="string"?Object.assign({query:t},r):t;const o=Object.keys(s).reduce(((e,t)=>{if(Ae.includes(t)){e[t]=s[t];return e}if(!e.variables){e.variables={}}e.variables[t]=s[t];return e}),{});const n=s.baseUrl||e.endpoint.DEFAULTS.baseUrl;if(ae.test(n)){o.url=n.replace(ae,"/api/graphql")}return e(o).then((e=>{if(e.data.errors){const t={};for(const r of Object.keys(e.headers)){t[r]=e.headers[r]}throw new ne(o,t,e.data)}return e.data.data}))}function graphql_dist_bundle_withDefaults(e,t){const r=e.defaults(t);const newApi=(e,t)=>graphql(r,e,t);return Object.assign(newApi,{defaults:graphql_dist_bundle_withDefaults.bind(null,r),endpoint:r.endpoint})}var ce=graphql_dist_bundle_withDefaults(se,{headers:{"user-agent":`octokit-graphql.js/${oe} ${getUserAgent()}`},method:"POST",url:"/graphql"});function withCustomRequest(e){return graphql_dist_bundle_withDefaults(e,{method:"POST",url:"/graphql"})}var le="(?:[a-zA-Z0-9_-]+)";var ue="\\.";var ge=new RegExp(`^${le}${ue}${le}${ue}${le}$`);var pe=ge.test.bind(ge);async function auth(e){const t=pe(e);const r=e.startsWith("v1.")||e.startsWith("ghs_");const s=e.startsWith("ghu_");const o=t?"app":r?"installation":s?"user-to-server":"oauth";return{type:"token",token:e,tokenType:o}}function withAuthorizationPrefix(e){if(e.split(/\./).length===3){return`bearer ${e}`}return`token ${e}`}async function hook(e,t,r,s){const o=t.endpoint.merge(r,s);o.headers.authorization=withAuthorizationPrefix(e);return t(o)}var de=function createTokenAuth2(e){if(!e){throw new Error("[@octokit/auth-token] No token passed to createTokenAuth")}if(typeof e!=="string"){throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string")}e=e.replace(/^(token|bearer) +/i,"");return Object.assign(auth.bind(null,e),{hook:hook.bind(null,e)})};const Ee="6.1.3";const noop=()=>{};const he=console.warn.bind(console);const fe=console.error.bind(console);const Ie=`octokit-core.js/${Ee} ${getUserAgent()}`;class Octokit{static VERSION=Ee;static defaults(e){const t=class extends(this){constructor(...t){const r=t[0]||{};if(typeof e==="function"){super(e(r));return}super(Object.assign({},e,r,r.userAgent&&e.userAgent?{userAgent:`${r.userAgent} ${e.userAgent}`}:null))}};return t}static plugins=[];static plugin(...e){const t=this.plugins;const r=class extends(this){static plugins=t.concat(e.filter((e=>!t.includes(e))))};return r}constructor(e={}){const t=new W.Collection;const r={baseUrl:se.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},e.request,{hook:t.bind(null,"request")}),mediaType:{previews:[],format:""}};r.headers["user-agent"]=e.userAgent?`${e.userAgent} ${Ie}`:Ie;if(e.baseUrl){r.baseUrl=e.baseUrl}if(e.previews){r.mediaType.previews=e.previews}if(e.timeZone){r.headers["time-zone"]=e.timeZone}this.request=se.defaults(r);this.graphql=withCustomRequest(this.request).defaults(r);this.log=Object.assign({debug:noop,info:noop,warn:he,error:fe},e.log);this.hook=t;if(!e.authStrategy){if(!e.auth){this.auth=async()=>({type:"unauthenticated"})}else{const r=de(e.auth);t.wrap("request",r.hook);this.auth=r}}else{const{authStrategy:r,...s}=e;const o=r(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:s},e.auth));t.wrap("request",o.hook);this.auth=o}const s=this.constructor;for(let t=0;t<s.plugins.length;++t){Object.assign(this,s.plugins[t](this,e))}}request;graphql;log;hook;auth}var me="0.0.0-development";function normalizePaginatedListResponse(e){if(!e.data){return{...e,data:[]}}const t="total_count"in e.data&&!("url"in e.data);if(!t)return e;const r=e.data.incomplete_results;const s=e.data.repository_selection;const o=e.data.total_count;delete e.data.incomplete_results;delete e.data.repository_selection;delete e.data.total_count;const n=Object.keys(e.data)[0];const A=e.data[n];e.data=A;if(typeof r!=="undefined"){e.data.incomplete_results=r}if(typeof s!=="undefined"){e.data.repository_selection=s}e.data.total_count=o;return e}function iterator(e,t,r){const s=typeof t==="function"?t.endpoint(r):e.request.endpoint(t,r);const o=typeof t==="function"?t:e.request;const n=s.method;const A=s.headers;let i=s.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!i)return{done:true};try{const e=await o({method:n,url:i,headers:A});const t=normalizePaginatedListResponse(e);i=((t.headers.link||"").match(/<([^>]+)>;\s*rel="next"/)||[])[1];return{value:t}}catch(e){if(e.status!==409)throw e;i="";return{value:{status:200,headers:{},data:[]}}}}})}}function paginate(e,t,r,s){if(typeof r==="function"){s=r;r=void 0}return gather(e,[],iterator(e,t,r)[Symbol.asyncIterator](),s)}function gather(e,t,r,s){return r.next().then((o=>{if(o.done){return t}let n=false;function done(){n=true}t=t.concat(s?s(o.value,done):o.value.data);if(n){return t}return gather(e,t,r,s)}))}var Ce=Object.assign(paginate,{iterator:iterator});var Qe=null&&["GET /advisories","GET /app/hook/deliveries","GET /app/installation-requests","GET /app/installations","GET /assignments/{assignment_id}/accepted_assignments","GET /classrooms","GET /classrooms/{classroom_id}/assignments","GET /enterprises/{enterprise}/code-security/configurations","GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories","GET /enterprises/{enterprise}/dependabot/alerts","GET /enterprises/{enterprise}/secret-scanning/alerts","GET /events","GET /gists","GET /gists/public","GET /gists/starred","GET /gists/{gist_id}/comments","GET /gists/{gist_id}/commits","GET /gists/{gist_id}/forks","GET /installation/repositories","GET /issues","GET /licenses","GET /marketplace_listing/plans","GET /marketplace_listing/plans/{plan_id}/accounts","GET /marketplace_listing/stubbed/plans","GET /marketplace_listing/stubbed/plans/{plan_id}/accounts","GET /networks/{owner}/{repo}/events","GET /notifications","GET /organizations","GET /orgs/{org}/actions/cache/usage-by-repository","GET /orgs/{org}/actions/permissions/repositories","GET /orgs/{org}/actions/runner-groups","GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories","GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners","GET /orgs/{org}/actions/runners","GET /orgs/{org}/actions/secrets","GET /orgs/{org}/actions/secrets/{secret_name}/repositories","GET /orgs/{org}/actions/variables","GET /orgs/{org}/actions/variables/{name}/repositories","GET /orgs/{org}/attestations/{subject_digest}","GET /orgs/{org}/blocks","GET /orgs/{org}/code-scanning/alerts","GET /orgs/{org}/code-security/configurations","GET /orgs/{org}/code-security/configurations/{configuration_id}/repositories","GET /orgs/{org}/codespaces","GET /orgs/{org}/codespaces/secrets","GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories","GET /orgs/{org}/copilot/billing/seats","GET /orgs/{org}/copilot/metrics","GET /orgs/{org}/copilot/usage","GET /orgs/{org}/dependabot/alerts","GET /orgs/{org}/dependabot/secrets","GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories","GET /orgs/{org}/events","GET /orgs/{org}/failed_invitations","GET /orgs/{org}/hooks","GET /orgs/{org}/hooks/{hook_id}/deliveries","GET /orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}","GET /orgs/{org}/insights/api/subject-stats","GET /orgs/{org}/insights/api/user-stats/{user_id}","GET /orgs/{org}/installations","GET /orgs/{org}/invitations","GET /orgs/{org}/invitations/{invitation_id}/teams","GET /orgs/{org}/issues","GET /orgs/{org}/members","GET /orgs/{org}/members/{username}/codespaces","GET /orgs/{org}/migrations","GET /orgs/{org}/migrations/{migration_id}/repositories","GET /orgs/{org}/organization-roles/{role_id}/teams","GET /orgs/{org}/organization-roles/{role_id}/users","GET /orgs/{org}/outside_collaborators","GET /orgs/{org}/packages","GET /orgs/{org}/packages/{package_type}/{package_name}/versions","GET /orgs/{org}/personal-access-token-requests","GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories","GET /orgs/{org}/personal-access-tokens","GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories","GET /orgs/{org}/private-registries","GET /orgs/{org}/projects","GET /orgs/{org}/properties/values","GET /orgs/{org}/public_members","GET /orgs/{org}/repos","GET /orgs/{org}/rulesets","GET /orgs/{org}/rulesets/rule-suites","GET /orgs/{org}/secret-scanning/alerts","GET /orgs/{org}/security-advisories","GET /orgs/{org}/team/{team_slug}/copilot/metrics","GET /orgs/{org}/team/{team_slug}/copilot/usage","GET /orgs/{org}/teams","GET /orgs/{org}/teams/{team_slug}/discussions","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions","GET /orgs/{org}/teams/{team_slug}/invitations","GET /orgs/{org}/teams/{team_slug}/members","GET /orgs/{org}/teams/{team_slug}/projects","GET /orgs/{org}/teams/{team_slug}/repos","GET /orgs/{org}/teams/{team_slug}/teams","GET /projects/columns/{column_id}/cards","GET /projects/{project_id}/collaborators","GET /projects/{project_id}/columns","GET /repos/{owner}/{repo}/actions/artifacts","GET /repos/{owner}/{repo}/actions/caches","GET /repos/{owner}/{repo}/actions/organization-secrets","GET /repos/{owner}/{repo}/actions/organization-variables","GET /repos/{owner}/{repo}/actions/runners","GET /repos/{owner}/{repo}/actions/runs","GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts","GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs","GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs","GET /repos/{owner}/{repo}/actions/secrets","GET /repos/{owner}/{repo}/actions/variables","GET /repos/{owner}/{repo}/actions/workflows","GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs","GET /repos/{owner}/{repo}/activity","GET /repos/{owner}/{repo}/assignees","GET /repos/{owner}/{repo}/attestations/{subject_digest}","GET /repos/{owner}/{repo}/branches","GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations","GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs","GET /repos/{owner}/{repo}/code-scanning/alerts","GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances","GET /repos/{owner}/{repo}/code-scanning/analyses","GET /repos/{owner}/{repo}/codespaces","GET /repos/{owner}/{repo}/codespaces/devcontainers","GET /repos/{owner}/{repo}/codespaces/secrets","GET /repos/{owner}/{repo}/collaborators","GET /repos/{owner}/{repo}/comments","GET /repos/{owner}/{repo}/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/commits","GET /repos/{owner}/{repo}/commits/{commit_sha}/comments","GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls","GET /repos/{owner}/{repo}/commits/{ref}/check-runs","GET /repos/{owner}/{repo}/commits/{ref}/check-suites","GET /repos/{owner}/{repo}/commits/{ref}/status","GET /repos/{owner}/{repo}/commits/{ref}/statuses","GET /repos/{owner}/{repo}/contributors","GET /repos/{owner}/{repo}/dependabot/alerts","GET /repos/{owner}/{repo}/dependabot/secrets","GET /repos/{owner}/{repo}/deployments","GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses","GET /repos/{owner}/{repo}/environments","GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies","GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps","GET /repos/{owner}/{repo}/environments/{environment_name}/secrets","GET /repos/{owner}/{repo}/environments/{environment_name}/variables","GET /repos/{owner}/{repo}/events","GET /repos/{owner}/{repo}/forks","GET /repos/{owner}/{repo}/hooks","GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries","GET /repos/{owner}/{repo}/invitations","GET /repos/{owner}/{repo}/issues","GET /repos/{owner}/{repo}/issues/comments","GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/issues/events","GET /repos/{owner}/{repo}/issues/{issue_number}/comments","GET /repos/{owner}/{repo}/issues/{issue_number}/events","GET /repos/{owner}/{repo}/issues/{issue_number}/labels","GET /repos/{owner}/{repo}/issues/{issue_number}/reactions","GET /repos/{owner}/{repo}/issues/{issue_number}/sub_issues","GET /repos/{owner}/{repo}/issues/{issue_number}/timeline","GET /repos/{owner}/{repo}/keys","GET /repos/{owner}/{repo}/labels","GET /repos/{owner}/{repo}/milestones","GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels","GET /repos/{owner}/{repo}/notifications","GET /repos/{owner}/{repo}/pages/builds","GET /repos/{owner}/{repo}/projects","GET /repos/{owner}/{repo}/pulls","GET /repos/{owner}/{repo}/pulls/comments","GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/pulls/{pull_number}/comments","GET /repos/{owner}/{repo}/pulls/{pull_number}/commits","GET /repos/{owner}/{repo}/pulls/{pull_number}/files","GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews","GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments","GET /repos/{owner}/{repo}/releases","GET /repos/{owner}/{repo}/releases/{release_id}/assets","GET /repos/{owner}/{repo}/releases/{release_id}/reactions","GET /repos/{owner}/{repo}/rules/branches/{branch}","GET /repos/{owner}/{repo}/rulesets","GET /repos/{owner}/{repo}/rulesets/rule-suites","GET /repos/{owner}/{repo}/secret-scanning/alerts","GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations","GET /repos/{owner}/{repo}/security-advisories","GET /repos/{owner}/{repo}/stargazers","GET /repos/{owner}/{repo}/subscribers","GET /repos/{owner}/{repo}/tags","GET /repos/{owner}/{repo}/teams","GET /repos/{owner}/{repo}/topics","GET /repositories","GET /search/code","GET /search/commits","GET /search/issues","GET /search/labels","GET /search/repositories","GET /search/topics","GET /search/users","GET /teams/{team_id}/discussions","GET /teams/{team_id}/discussions/{discussion_number}/comments","GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions","GET /teams/{team_id}/discussions/{discussion_number}/reactions","GET /teams/{team_id}/invitations","GET /teams/{team_id}/members","GET /teams/{team_id}/projects","GET /teams/{team_id}/repos","GET /teams/{team_id}/teams","GET /user/blocks","GET /user/codespaces","GET /user/codespaces/secrets","GET /user/emails","GET /user/followers","GET /user/following","GET /user/gpg_keys","GET /user/installations","GET /user/installations/{installation_id}/repositories","GET /user/issues","GET /user/keys","GET /user/marketplace_purchases","GET /user/marketplace_purchases/stubbed","GET /user/memberships/orgs","GET /user/migrations","GET /user/migrations/{migration_id}/repositories","GET /user/orgs","GET /user/packages","GET /user/packages/{package_type}/{package_name}/versions","GET /user/public_emails","GET /user/repos","GET /user/repository_invitations","GET /user/social_accounts","GET /user/ssh_signing_keys","GET /user/starred","GET /user/subscriptions","GET /user/teams","GET /users","GET /users/{username}/attestations/{subject_digest}","GET /users/{username}/events","GET /users/{username}/events/orgs/{org}","GET /users/{username}/events/public","GET /users/{username}/followers","GET /users/{username}/following","GET /users/{username}/gists","GET /users/{username}/gpg_keys","GET /users/{username}/keys","GET /users/{username}/orgs","GET /users/{username}/packages","GET /users/{username}/projects","GET /users/{username}/received_events","GET /users/{username}/received_events/public","GET /users/{username}/repos","GET /users/{username}/social_accounts","GET /users/{username}/ssh_signing_keys","GET /users/{username}/starred","GET /users/{username}/subscriptions"];function isPaginatingEndpoint(e){if(typeof e==="string"){return Qe.includes(e)}else{return false}}function paginateRest(e){return{paginate:Object.assign(paginate.bind(null,e),{iterator:iterator.bind(null,e)})}}paginateRest.VERSION=me;const Be="13.3.1";const ye={actions:{addCustomLabelsToSelfHostedRunnerForOrg:["POST /orgs/{org}/actions/runners/{runner_id}/labels"],addCustomLabelsToSelfHostedRunnerForRepo:["POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],addRepoAccessToSelfHostedRunnerGroupInOrg:["PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],approveWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve"],cancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"],createEnvironmentVariable:["POST /repos/{owner}/{repo}/environments/{environment_name}/variables"],createOrUpdateEnvironmentSecret:["PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}"],createOrgVariable:["POST /orgs/{org}/actions/variables"],createRegistrationTokenForOrg:["POST /orgs/{org}/actions/runners/registration-token"],createRegistrationTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/registration-token"],createRemoveTokenForOrg:["POST /orgs/{org}/actions/runners/remove-token"],createRemoveTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/remove-token"],createRepoVariable:["POST /repos/{owner}/{repo}/actions/variables"],createWorkflowDispatch:["POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches"],deleteActionsCacheById:["DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}"],deleteActionsCacheByKey:["DELETE /repos/{owner}/{repo}/actions/caches{?key,ref}"],deleteArtifact:["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],deleteEnvironmentSecret:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"],deleteEnvironmentVariable:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"],deleteOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}"],deleteOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}"],deleteRepoVariable:["DELETE /repos/{owner}/{repo}/actions/variables/{name}"],deleteSelfHostedRunnerFromOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}"],deleteSelfHostedRunnerFromRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}"],deleteWorkflowRun:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"],deleteWorkflowRunLogs:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],disableSelectedRepositoryGithubActionsOrganization:["DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}"],disableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable"],downloadArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"],downloadJobLogsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"],downloadWorkflowRunAttemptLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs"],downloadWorkflowRunLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],enableSelectedRepositoryGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories/{repository_id}"],enableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"],forceCancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel"],generateRunnerJitconfigForOrg:["POST /orgs/{org}/actions/runners/generate-jitconfig"],generateRunnerJitconfigForRepo:["POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig"],getActionsCacheList:["GET /repos/{owner}/{repo}/actions/caches"],getActionsCacheUsage:["GET /repos/{owner}/{repo}/actions/cache/usage"],getActionsCacheUsageByRepoForOrg:["GET /orgs/{org}/actions/cache/usage-by-repository"],getActionsCacheUsageForOrg:["GET /orgs/{org}/actions/cache/usage"],getAllowedActionsOrganization:["GET /orgs/{org}/actions/permissions/selected-actions"],getAllowedActionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/selected-actions"],getArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],getCustomOidcSubClaimForRepo:["GET /repos/{owner}/{repo}/actions/oidc/customization/sub"],getEnvironmentPublicKey:["GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key"],getEnvironmentSecret:["GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"],getEnvironmentVariable:["GET /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"],getGithubActionsDefaultWorkflowPermissionsOrganization:["GET /orgs/{org}/actions/permissions/workflow"],getGithubActionsDefaultWorkflowPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/workflow"],getGithubActionsPermissionsOrganization:["GET /orgs/{org}/actions/permissions"],getGithubActionsPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions"],getJobForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"],getOrgPublicKey:["GET /orgs/{org}/actions/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}"],getOrgVariable:["GET /orgs/{org}/actions/variables/{name}"],getPendingDeploymentsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],getRepoPermissions:["GET /repos/{owner}/{repo}/actions/permissions",{},{renamed:["actions","getGithubActionsPermissionsRepository"]}],getRepoPublicKey:["GET /repos/{owner}/{repo}/actions/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"],getRepoVariable:["GET /repos/{owner}/{repo}/actions/variables/{name}"],getReviewsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals"],getSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}"],getSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}"],getWorkflow:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"],getWorkflowAccessToRepository:["GET /repos/{owner}/{repo}/actions/permissions/access"],getWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}"],getWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}"],getWorkflowRunUsage:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"],getWorkflowUsage:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"],listArtifactsForRepo:["GET /repos/{owner}/{repo}/actions/artifacts"],listEnvironmentSecrets:["GET /repos/{owner}/{repo}/environments/{environment_name}/secrets"],listEnvironmentVariables:["GET /repos/{owner}/{repo}/environments/{environment_name}/variables"],listJobsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"],listJobsForWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs"],listLabelsForSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}/labels"],listLabelsForSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],listOrgSecrets:["GET /orgs/{org}/actions/secrets"],listOrgVariables:["GET /orgs/{org}/actions/variables"],listRepoOrganizationSecrets:["GET /repos/{owner}/{repo}/actions/organization-secrets"],listRepoOrganizationVariables:["GET /repos/{owner}/{repo}/actions/organization-variables"],listRepoSecrets:["GET /repos/{owner}/{repo}/actions/secrets"],listRepoVariables:["GET /repos/{owner}/{repo}/actions/variables"],listRepoWorkflows:["GET /repos/{owner}/{repo}/actions/workflows"],listRunnerApplicationsForOrg:["GET /orgs/{org}/actions/runners/downloads"],listRunnerApplicationsForRepo:["GET /repos/{owner}/{repo}/actions/runners/downloads"],listSelectedReposForOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}/repositories"],listSelectedReposForOrgVariable:["GET /orgs/{org}/actions/variables/{name}/repositories"],listSelectedRepositoriesEnabledGithubActionsOrganization:["GET /orgs/{org}/actions/permissions/repositories"],listSelfHostedRunnersForOrg:["GET /orgs/{org}/actions/runners"],listSelfHostedRunnersForRepo:["GET /repos/{owner}/{repo}/actions/runners"],listWorkflowRunArtifacts:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"],listWorkflowRuns:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"],listWorkflowRunsForRepo:["GET /repos/{owner}/{repo}/actions/runs"],reRunJobForWorkflowRun:["POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun"],reRunWorkflow:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"],reRunWorkflowFailedJobs:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs"],removeAllCustomLabelsFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels"],removeAllCustomLabelsFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],removeCustomLabelFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}"],removeCustomLabelFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],reviewCustomGatesForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule"],reviewPendingDeploymentsForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],setAllowedActionsOrganization:["PUT /orgs/{org}/actions/permissions/selected-actions"],setAllowedActionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/selected-actions"],setCustomLabelsForSelfHostedRunnerForOrg:["PUT /orgs/{org}/actions/runners/{runner_id}/labels"],setCustomLabelsForSelfHostedRunnerForRepo:["PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],setCustomOidcSubClaimForRepo:["PUT /repos/{owner}/{repo}/actions/oidc/customization/sub"],setGithubActionsDefaultWorkflowPermissionsOrganization:["PUT /orgs/{org}/actions/permissions/workflow"],setGithubActionsDefaultWorkflowPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/workflow"],setGithubActionsPermissionsOrganization:["PUT /orgs/{org}/actions/permissions"],setGithubActionsPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"],setSelectedReposForOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories"],setSelectedRepositoriesEnabledGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories"],setWorkflowAccessToRepository:["PUT /repos/{owner}/{repo}/actions/permissions/access"],updateEnvironmentVariable:["PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"],updateOrgVariable:["PATCH /orgs/{org}/actions/variables/{name}"],updateRepoVariable:["PATCH /repos/{owner}/{repo}/actions/variables/{name}"]},activity:{checkRepoIsStarredByAuthenticatedUser:["GET /user/starred/{owner}/{repo}"],deleteRepoSubscription:["DELETE /repos/{owner}/{repo}/subscription"],deleteThreadSubscription:["DELETE /notifications/threads/{thread_id}/subscription"],getFeeds:["GET /feeds"],getRepoSubscription:["GET /repos/{owner}/{repo}/subscription"],getThread:["GET /notifications/threads/{thread_id}"],getThreadSubscriptionForAuthenticatedUser:["GET /notifications/threads/{thread_id}/subscription"],listEventsForAuthenticatedUser:["GET /users/{username}/events"],listNotificationsForAuthenticatedUser:["GET /notifications"],listOrgEventsForAuthenticatedUser:["GET /users/{username}/events/orgs/{org}"],listPublicEvents:["GET /events"],listPublicEventsForRepoNetwork:["GET /networks/{owner}/{repo}/events"],listPublicEventsForUser:["GET /users/{username}/events/public"],listPublicOrgEvents:["GET /orgs/{org}/events"],listReceivedEventsForUser:["GET /users/{username}/received_events"],listReceivedPublicEventsForUser:["GET /users/{username}/received_events/public"],listRepoEvents:["GET /repos/{owner}/{repo}/events"],listRepoNotificationsForAuthenticatedUser:["GET /repos/{owner}/{repo}/notifications"],listReposStarredByAuthenticatedUser:["GET /user/starred"],listReposStarredByUser:["GET /users/{username}/starred"],listReposWatchedByUser:["GET /users/{username}/subscriptions"],listStargazersForRepo:["GET /repos/{owner}/{repo}/stargazers"],listWatchedReposForAuthenticatedUser:["GET /user/subscriptions"],listWatchersForRepo:["GET /repos/{owner}/{repo}/subscribers"],markNotificationsAsRead:["PUT /notifications"],markRepoNotificationsAsRead:["PUT /repos/{owner}/{repo}/notifications"],markThreadAsDone:["DELETE /notifications/threads/{thread_id}"],markThreadAsRead:["PATCH /notifications/threads/{thread_id}"],setRepoSubscription:["PUT /repos/{owner}/{repo}/subscription"],setThreadSubscription:["PUT /notifications/threads/{thread_id}/subscription"],starRepoForAuthenticatedUser:["PUT /user/starred/{owner}/{repo}"],unstarRepoForAuthenticatedUser:["DELETE /user/starred/{owner}/{repo}"]},apps:{addRepoToInstallation:["PUT /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","addRepoToInstallationForAuthenticatedUser"]}],addRepoToInstallationForAuthenticatedUser:["PUT /user/installations/{installation_id}/repositories/{repository_id}"],checkToken:["POST /applications/{client_id}/token"],createFromManifest:["POST /app-manifests/{code}/conversions"],createInstallationAccessToken:["POST /app/installations/{installation_id}/access_tokens"],deleteAuthorization:["DELETE /applications/{client_id}/grant"],deleteInstallation:["DELETE /app/installations/{installation_id}"],deleteToken:["DELETE /applications/{client_id}/token"],getAuthenticated:["GET /app"],getBySlug:["GET /apps/{app_slug}"],getInstallation:["GET /app/installations/{installation_id}"],getOrgInstallation:["GET /orgs/{org}/installation"],getRepoInstallation:["GET /repos/{owner}/{repo}/installation"],getSubscriptionPlanForAccount:["GET /marketplace_listing/accounts/{account_id}"],getSubscriptionPlanForAccountStubbed:["GET /marketplace_listing/stubbed/accounts/{account_id}"],getUserInstallation:["GET /users/{username}/installation"],getWebhookConfigForApp:["GET /app/hook/config"],getWebhookDelivery:["GET /app/hook/deliveries/{delivery_id}"],listAccountsForPlan:["GET /marketplace_listing/plans/{plan_id}/accounts"],listAccountsForPlanStubbed:["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"],listInstallationReposForAuthenticatedUser:["GET /user/installations/{installation_id}/repositories"],listInstallationRequestsForAuthenticatedApp:["GET /app/installation-requests"],listInstallations:["GET /app/installations"],listInstallationsForAuthenticatedUser:["GET /user/installations"],listPlans:["GET /marketplace_listing/plans"],listPlansStubbed:["GET /marketplace_listing/stubbed/plans"],listReposAccessibleToInstallation:["GET /installation/repositories"],listSubscriptionsForAuthenticatedUser:["GET /user/marketplace_purchases"],listSubscriptionsForAuthenticatedUserStubbed:["GET /user/marketplace_purchases/stubbed"],listWebhookDeliveries:["GET /app/hook/deliveries"],redeliverWebhookDelivery:["POST /app/hook/deliveries/{delivery_id}/attempts"],removeRepoFromInstallation:["DELETE /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","removeRepoFromInstallationForAuthenticatedUser"]}],removeRepoFromInstallationForAuthenticatedUser:["DELETE /user/installations/{installation_id}/repositories/{repository_id}"],resetToken:["PATCH /applications/{client_id}/token"],revokeInstallationAccessToken:["DELETE /installation/token"],scopeToken:["POST /applications/{client_id}/token/scoped"],suspendInstallation:["PUT /app/installations/{installation_id}/suspended"],unsuspendInstallation:["DELETE /app/installations/{installation_id}/suspended"],updateWebhookConfigForApp:["PATCH /app/hook/config"]},billing:{getGithubActionsBillingOrg:["GET /orgs/{org}/settings/billing/actions"],getGithubActionsBillingUser:["GET /users/{username}/settings/billing/actions"],getGithubBillingUsageReportOrg:["GET /organizations/{org}/settings/billing/usage"],getGithubPackagesBillingOrg:["GET /orgs/{org}/settings/billing/packages"],getGithubPackagesBillingUser:["GET /users/{username}/settings/billing/packages"],getSharedStorageBillingOrg:["GET /orgs/{org}/settings/billing/shared-storage"],getSharedStorageBillingUser:["GET /users/{username}/settings/billing/shared-storage"]},checks:{create:["POST /repos/{owner}/{repo}/check-runs"],createSuite:["POST /repos/{owner}/{repo}/check-suites"],get:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}"],getSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}"],listAnnotations:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations"],listForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"],listForSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs"],listSuitesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"],rerequestRun:["POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest"],rerequestSuite:["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest"],setSuitesPreferences:["PATCH /repos/{owner}/{repo}/check-suites/preferences"],update:["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"]},codeScanning:{commitAutofix:["POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix/commits"],createAutofix:["POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix"],createVariantAnalysis:["POST /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses"],deleteAnalysis:["DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}"],deleteCodeqlDatabase:["DELETE /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}"],getAlert:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}",{},{renamedParameters:{alert_id:"alert_number"}}],getAnalysis:["GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}"],getAutofix:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix"],getCodeqlDatabase:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}"],getDefaultSetup:["GET /repos/{owner}/{repo}/code-scanning/default-setup"],getSarif:["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"],getVariantAnalysis:["GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}"],getVariantAnalysisRepoTask:["GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}/repos/{repo_owner}/{repo_name}"],listAlertInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"],listAlertsForOrg:["GET /orgs/{org}/code-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/code-scanning/alerts"],listAlertsInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances",{},{renamed:["codeScanning","listAlertInstances"]}],listCodeqlDatabases:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases"],listRecentAnalyses:["GET /repos/{owner}/{repo}/code-scanning/analyses"],updateAlert:["PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}"],updateDefaultSetup:["PATCH /repos/{owner}/{repo}/code-scanning/default-setup"],uploadSarif:["POST /repos/{owner}/{repo}/code-scanning/sarifs"]},codeSecurity:{attachConfiguration:["POST /orgs/{org}/code-security/configurations/{configuration_id}/attach"],attachEnterpriseConfiguration:["POST /enterprises/{enterprise}/code-security/configurations/{configuration_id}/attach"],createConfiguration:["POST /orgs/{org}/code-security/configurations"],createConfigurationForEnterprise:["POST /enterprises/{enterprise}/code-security/configurations"],deleteConfiguration:["DELETE /orgs/{org}/code-security/configurations/{configuration_id}"],deleteConfigurationForEnterprise:["DELETE /enterprises/{enterprise}/code-security/configurations/{configuration_id}"],detachConfiguration:["DELETE /orgs/{org}/code-security/configurations/detach"],getConfiguration:["GET /orgs/{org}/code-security/configurations/{configuration_id}"],getConfigurationForRepository:["GET /repos/{owner}/{repo}/code-security-configuration"],getConfigurationsForEnterprise:["GET /enterprises/{enterprise}/code-security/configurations"],getConfigurationsForOrg:["GET /orgs/{org}/code-security/configurations"],getDefaultConfigurations:["GET /orgs/{org}/code-security/configurations/defaults"],getDefaultConfigurationsForEnterprise:["GET /enterprises/{enterprise}/code-security/configurations/defaults"],getRepositoriesForConfiguration:["GET /orgs/{org}/code-security/configurations/{configuration_id}/repositories"],getRepositoriesForEnterpriseConfiguration:["GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories"],getSingleConfigurationForEnterprise:["GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}"],setConfigurationAsDefault:["PUT /orgs/{org}/code-security/configurations/{configuration_id}/defaults"],setConfigurationAsDefaultForEnterprise:["PUT /enterprises/{enterprise}/code-security/configurations/{configuration_id}/defaults"],updateConfiguration:["PATCH /orgs/{org}/code-security/configurations/{configuration_id}"],updateEnterpriseConfiguration:["PATCH /enterprises/{enterprise}/code-security/configurations/{configuration_id}"]},codesOfConduct:{getAllCodesOfConduct:["GET /codes_of_conduct"],getConductCode:["GET /codes_of_conduct/{key}"]},codespaces:{addRepositoryForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],checkPermissionsForDevcontainer:["GET /repos/{owner}/{repo}/codespaces/permissions_check"],codespaceMachinesForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/machines"],createForAuthenticatedUser:["POST /user/codespaces"],createOrUpdateOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],createOrUpdateSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}"],createWithPrForAuthenticatedUser:["POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces"],createWithRepoForAuthenticatedUser:["POST /repos/{owner}/{repo}/codespaces"],deleteForAuthenticatedUser:["DELETE /user/codespaces/{codespace_name}"],deleteFromOrganization:["DELETE /orgs/{org}/members/{username}/codespaces/{codespace_name}"],deleteOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],deleteSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}"],exportForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/exports"],getCodespacesForUserInOrg:["GET /orgs/{org}/members/{username}/codespaces"],getExportDetailsForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/exports/{export_id}"],getForAuthenticatedUser:["GET /user/codespaces/{codespace_name}"],getOrgPublicKey:["GET /orgs/{org}/codespaces/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}"],getPublicKeyForAuthenticatedUser:["GET /user/codespaces/secrets/public-key"],getRepoPublicKey:["GET /repos/{owner}/{repo}/codespaces/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],getSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}"],listDevcontainersInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/devcontainers"],listForAuthenticatedUser:["GET /user/codespaces"],listInOrganization:["GET /orgs/{org}/codespaces",{},{renamedParameters:{org_id:"org"}}],listInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces"],listOrgSecrets:["GET /orgs/{org}/codespaces/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/codespaces/secrets"],listRepositoriesForSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}/repositories"],listSecretsForAuthenticatedUser:["GET /user/codespaces/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],preFlightWithRepoForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/new"],publishForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/publish"],removeRepositoryForSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],repoMachinesForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/machines"],setRepositoriesForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],startForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/start"],stopForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/stop"],stopInOrganization:["POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop"],updateForAuthenticatedUser:["PATCH /user/codespaces/{codespace_name}"]},copilot:{addCopilotSeatsForTeams:["POST /orgs/{org}/copilot/billing/selected_teams"],addCopilotSeatsForUsers:["POST /orgs/{org}/copilot/billing/selected_users"],cancelCopilotSeatAssignmentForTeams:["DELETE /orgs/{org}/copilot/billing/selected_teams"],cancelCopilotSeatAssignmentForUsers:["DELETE /orgs/{org}/copilot/billing/selected_users"],copilotMetricsForOrganization:["GET /orgs/{org}/copilot/metrics"],copilotMetricsForTeam:["GET /orgs/{org}/team/{team_slug}/copilot/metrics"],getCopilotOrganizationDetails:["GET /orgs/{org}/copilot/billing"],getCopilotSeatDetailsForUser:["GET /orgs/{org}/members/{username}/copilot"],listCopilotSeats:["GET /orgs/{org}/copilot/billing/seats"],usageMetricsForOrg:["GET /orgs/{org}/copilot/usage"],usageMetricsForTeam:["GET /orgs/{org}/team/{team_slug}/copilot/usage"]},dependabot:{addSelectedRepoToOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],deleteOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],getAlert:["GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"],getOrgPublicKey:["GET /orgs/{org}/dependabot/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}"],getRepoPublicKey:["GET /repos/{owner}/{repo}/dependabot/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/dependabot/alerts"],listAlertsForOrg:["GET /orgs/{org}/dependabot/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/dependabot/alerts"],listOrgSecrets:["GET /orgs/{org}/dependabot/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/dependabot/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],updateAlert:["PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"]},dependencyGraph:{createRepositorySnapshot:["POST /repos/{owner}/{repo}/dependency-graph/snapshots"],diffRange:["GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}"],exportSbom:["GET /repos/{owner}/{repo}/dependency-graph/sbom"]},emojis:{get:["GET /emojis"]},gists:{checkIsStarred:["GET /gists/{gist_id}/star"],create:["POST /gists"],createComment:["POST /gists/{gist_id}/comments"],delete:["DELETE /gists/{gist_id}"],deleteComment:["DELETE /gists/{gist_id}/comments/{comment_id}"],fork:["POST /gists/{gist_id}/forks"],get:["GET /gists/{gist_id}"],getComment:["GET /gists/{gist_id}/comments/{comment_id}"],getRevision:["GET /gists/{gist_id}/{sha}"],list:["GET /gists"],listComments:["GET /gists/{gist_id}/comments"],listCommits:["GET /gists/{gist_id}/commits"],listForUser:["GET /users/{username}/gists"],listForks:["GET /gists/{gist_id}/forks"],listPublic:["GET /gists/public"],listStarred:["GET /gists/starred"],star:["PUT /gists/{gist_id}/star"],unstar:["DELETE /gists/{gist_id}/star"],update:["PATCH /gists/{gist_id}"],updateComment:["PATCH /gists/{gist_id}/comments/{comment_id}"]},git:{createBlob:["POST /repos/{owner}/{repo}/git/blobs"],createCommit:["POST /repos/{owner}/{repo}/git/commits"],createRef:["POST /repos/{owner}/{repo}/git/refs"],createTag:["POST /repos/{owner}/{repo}/git/tags"],createTree:["POST /repos/{owner}/{repo}/git/trees"],deleteRef:["DELETE /repos/{owner}/{repo}/git/refs/{ref}"],getBlob:["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"],getCommit:["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"],getRef:["GET /repos/{owner}/{repo}/git/ref/{ref}"],getTag:["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"],getTree:["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"],listMatchingRefs:["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"],updateRef:["PATCH /repos/{owner}/{repo}/git/refs/{ref}"]},gitignore:{getAllTemplates:["GET /gitignore/templates"],getTemplate:["GET /gitignore/templates/{name}"]},interactions:{getRestrictionsForAuthenticatedUser:["GET /user/interaction-limits"],getRestrictionsForOrg:["GET /orgs/{org}/interaction-limits"],getRestrictionsForRepo:["GET /repos/{owner}/{repo}/interaction-limits"],getRestrictionsForYourPublicRepos:["GET /user/interaction-limits",{},{renamed:["interactions","getRestrictionsForAuthenticatedUser"]}],removeRestrictionsForAuthenticatedUser:["DELETE /user/interaction-limits"],removeRestrictionsForOrg:["DELETE /orgs/{org}/interaction-limits"],removeRestrictionsForRepo:["DELETE /repos/{owner}/{repo}/interaction-limits"],removeRestrictionsForYourPublicRepos:["DELETE /user/interaction-limits",{},{renamed:["interactions","removeRestrictionsForAuthenticatedUser"]}],setRestrictionsForAuthenticatedUser:["PUT /user/interaction-limits"],setRestrictionsForOrg:["PUT /orgs/{org}/interaction-limits"],setRestrictionsForRepo:["PUT /repos/{owner}/{repo}/interaction-limits"],setRestrictionsForYourPublicRepos:["PUT /user/interaction-limits",{},{renamed:["interactions","setRestrictionsForAuthenticatedUser"]}]},issues:{addAssignees:["POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"],addLabels:["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"],addSubIssue:["POST /repos/{owner}/{repo}/issues/{issue_number}/sub_issues"],checkUserCanBeAssigned:["GET /repos/{owner}/{repo}/assignees/{assignee}"],checkUserCanBeAssignedToIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}"],create:["POST /repos/{owner}/{repo}/issues"],createComment:["POST /repos/{owner}/{repo}/issues/{issue_number}/comments"],createLabel:["POST /repos/{owner}/{repo}/labels"],createMilestone:["POST /repos/{owner}/{repo}/milestones"],deleteComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}"],deleteLabel:["DELETE /repos/{owner}/{repo}/labels/{name}"],deleteMilestone:["DELETE /repos/{owner}/{repo}/milestones/{milestone_number}"],get:["GET /repos/{owner}/{repo}/issues/{issue_number}"],getComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"],getEvent:["GET /repos/{owner}/{repo}/issues/events/{event_id}"],getLabel:["GET /repos/{owner}/{repo}/labels/{name}"],getMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}"],list:["GET /issues"],listAssignees:["GET /repos/{owner}/{repo}/assignees"],listComments:["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"],listCommentsForRepo:["GET /repos/{owner}/{repo}/issues/comments"],listEvents:["GET /repos/{owner}/{repo}/issues/{issue_number}/events"],listEventsForRepo:["GET /repos/{owner}/{repo}/issues/events"],listEventsForTimeline:["GET /repos/{owner}/{repo}/issues/{issue_number}/timeline"],listForAuthenticatedUser:["GET /user/issues"],listForOrg:["GET /orgs/{org}/issues"],listForRepo:["GET /repos/{owner}/{repo}/issues"],listLabelsForMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"],listLabelsForRepo:["GET /repos/{owner}/{repo}/labels"],listLabelsOnIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/labels"],listMilestones:["GET /repos/{owner}/{repo}/milestones"],listSubIssues:["GET /repos/{owner}/{repo}/issues/{issue_number}/sub_issues"],lock:["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"],removeAllLabels:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels"],removeAssignees:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees"],removeLabel:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}"],removeSubIssue:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/sub_issue"],reprioritizeSubIssue:["PATCH /repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority"],setLabels:["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"],unlock:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"],update:["PATCH /repos/{owner}/{repo}/issues/{issue_number}"],updateComment:["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"],updateLabel:["PATCH /repos/{owner}/{repo}/labels/{name}"],updateMilestone:["PATCH /repos/{owner}/{repo}/milestones/{milestone_number}"]},licenses:{get:["GET /licenses/{license}"],getAllCommonlyUsed:["GET /licenses"],getForRepo:["GET /repos/{owner}/{repo}/license"]},markdown:{render:["POST /markdown"],renderRaw:["POST /markdown/raw",{headers:{"content-type":"text/plain; charset=utf-8"}}]},meta:{get:["GET /meta"],getAllVersions:["GET /versions"],getOctocat:["GET /octocat"],getZen:["GET /zen"],root:["GET /"]},migrations:{deleteArchiveForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/archive"],deleteArchiveForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/archive"],downloadArchiveForOrg:["GET /orgs/{org}/migrations/{migration_id}/archive"],getArchiveForAuthenticatedUser:["GET /user/migrations/{migration_id}/archive"],getStatusForAuthenticatedUser:["GET /user/migrations/{migration_id}"],getStatusForOrg:["GET /orgs/{org}/migrations/{migration_id}"],listForAuthenticatedUser:["GET /user/migrations"],listForOrg:["GET /orgs/{org}/migrations"],listReposForAuthenticatedUser:["GET /user/migrations/{migration_id}/repositories"],listReposForOrg:["GET /orgs/{org}/migrations/{migration_id}/repositories"],listReposForUser:["GET /user/migrations/{migration_id}/repositories",{},{renamed:["migrations","listReposForAuthenticatedUser"]}],startForAuthenticatedUser:["POST /user/migrations"],startForOrg:["POST /orgs/{org}/migrations"],unlockRepoForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock"],unlockRepoForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock"]},oidc:{getOidcCustomSubTemplateForOrg:["GET /orgs/{org}/actions/oidc/customization/sub"],updateOidcCustomSubTemplateForOrg:["PUT /orgs/{org}/actions/oidc/customization/sub"]},orgs:{addSecurityManagerTeam:["PUT /orgs/{org}/security-managers/teams/{team_slug}",{},{deprecated:"octokit.rest.orgs.addSecurityManagerTeam() is deprecated, see https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team"}],assignTeamToOrgRole:["PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],assignUserToOrgRole:["PUT /orgs/{org}/organization-roles/users/{username}/{role_id}"],blockUser:["PUT /orgs/{org}/blocks/{username}"],cancelInvitation:["DELETE /orgs/{org}/invitations/{invitation_id}"],checkBlockedUser:["GET /orgs/{org}/blocks/{username}"],checkMembershipForUser:["GET /orgs/{org}/members/{username}"],checkPublicMembershipForUser:["GET /orgs/{org}/public_members/{username}"],convertMemberToOutsideCollaborator:["PUT /orgs/{org}/outside_collaborators/{username}"],createInvitation:["POST /orgs/{org}/invitations"],createOrUpdateCustomProperties:["PATCH /orgs/{org}/properties/schema"],createOrUpdateCustomPropertiesValuesForRepos:["PATCH /orgs/{org}/properties/values"],createOrUpdateCustomProperty:["PUT /orgs/{org}/properties/schema/{custom_property_name}"],createWebhook:["POST /orgs/{org}/hooks"],delete:["DELETE /orgs/{org}"],deleteWebhook:["DELETE /orgs/{org}/hooks/{hook_id}"],enableOrDisableSecurityProductOnAllOrgRepos:["POST /orgs/{org}/{security_product}/{enablement}",{},{deprecated:"octokit.rest.orgs.enableOrDisableSecurityProductOnAllOrgRepos() is deprecated, see https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization"}],get:["GET /orgs/{org}"],getAllCustomProperties:["GET /orgs/{org}/properties/schema"],getCustomProperty:["GET /orgs/{org}/properties/schema/{custom_property_name}"],getMembershipForAuthenticatedUser:["GET /user/memberships/orgs/{org}"],getMembershipForUser:["GET /orgs/{org}/memberships/{username}"],getOrgRole:["GET /orgs/{org}/organization-roles/{role_id}"],getWebhook:["GET /orgs/{org}/hooks/{hook_id}"],getWebhookConfigForOrg:["GET /orgs/{org}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}"],list:["GET /organizations"],listAppInstallations:["GET /orgs/{org}/installations"],listAttestations:["GET /orgs/{org}/attestations/{subject_digest}"],listBlockedUsers:["GET /orgs/{org}/blocks"],listCustomPropertiesValuesForRepos:["GET /orgs/{org}/properties/values"],listFailedInvitations:["GET /orgs/{org}/failed_invitations"],listForAuthenticatedUser:["GET /user/orgs"],listForUser:["GET /users/{username}/orgs"],listInvitationTeams:["GET /orgs/{org}/invitations/{invitation_id}/teams"],listMembers:["GET /orgs/{org}/members"],listMembershipsForAuthenticatedUser:["GET /user/memberships/orgs"],listOrgRoleTeams:["GET /orgs/{org}/organization-roles/{role_id}/teams"],listOrgRoleUsers:["GET /orgs/{org}/organization-roles/{role_id}/users"],listOrgRoles:["GET /orgs/{org}/organization-roles"],listOrganizationFineGrainedPermissions:["GET /orgs/{org}/organization-fine-grained-permissions"],listOutsideCollaborators:["GET /orgs/{org}/outside_collaborators"],listPatGrantRepositories:["GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories"],listPatGrantRequestRepositories:["GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories"],listPatGrantRequests:["GET /orgs/{org}/personal-access-token-requests"],listPatGrants:["GET /orgs/{org}/personal-access-tokens"],listPendingInvitations:["GET /orgs/{org}/invitations"],listPublicMembers:["GET /orgs/{org}/public_members"],listSecurityManagerTeams:["GET /orgs/{org}/security-managers",{},{deprecated:"octokit.rest.orgs.listSecurityManagerTeams() is deprecated, see https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams"}],listWebhookDeliveries:["GET /orgs/{org}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /orgs/{org}/hooks"],pingWebhook:["POST /orgs/{org}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeCustomProperty:["DELETE /orgs/{org}/properties/schema/{custom_property_name}"],removeMember:["DELETE /orgs/{org}/members/{username}"],removeMembershipForUser:["DELETE /orgs/{org}/memberships/{username}"],removeOutsideCollaborator:["DELETE /orgs/{org}/outside_collaborators/{username}"],removePublicMembershipForAuthenticatedUser:["DELETE /orgs/{org}/public_members/{username}"],removeSecurityManagerTeam:["DELETE /orgs/{org}/security-managers/teams/{team_slug}",{},{deprecated:"octokit.rest.orgs.removeSecurityManagerTeam() is deprecated, see https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team"}],reviewPatGrantRequest:["POST /orgs/{org}/personal-access-token-requests/{pat_request_id}"],reviewPatGrantRequestsInBulk:["POST /orgs/{org}/personal-access-token-requests"],revokeAllOrgRolesTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}"],revokeAllOrgRolesUser:["DELETE /orgs/{org}/organization-roles/users/{username}"],revokeOrgRoleTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],revokeOrgRoleUser:["DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}"],setMembershipForUser:["PUT /orgs/{org}/memberships/{username}"],setPublicMembershipForAuthenticatedUser:["PUT /orgs/{org}/public_members/{username}"],unblockUser:["DELETE /orgs/{org}/blocks/{username}"],update:["PATCH /orgs/{org}"],updateMembershipForAuthenticatedUser:["PATCH /user/memberships/orgs/{org}"],updatePatAccess:["POST /orgs/{org}/personal-access-tokens/{pat_id}"],updatePatAccesses:["POST /orgs/{org}/personal-access-tokens"],updateWebhook:["PATCH /orgs/{org}/hooks/{hook_id}"],updateWebhookConfigForOrg:["PATCH /orgs/{org}/hooks/{hook_id}/config"]},packages:{deletePackageForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}"],deletePackageForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}"],deletePackageForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}"],deletePackageVersionForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getAllPackageVersionsForAPackageOwnedByAnOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByOrg"]}],getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByAuthenticatedUser"]}],getAllPackageVersionsForPackageOwnedByAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions"],getPackageForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}"],getPackageForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}"],getPackageForUser:["GET /users/{username}/packages/{package_type}/{package_name}"],getPackageVersionForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],listDockerMigrationConflictingPackagesForAuthenticatedUser:["GET /user/docker/conflicts"],listDockerMigrationConflictingPackagesForOrganization:["GET /orgs/{org}/docker/conflicts"],listDockerMigrationConflictingPackagesForUser:["GET /users/{username}/docker/conflicts"],listPackagesForAuthenticatedUser:["GET /user/packages"],listPackagesForOrganization:["GET /orgs/{org}/packages"],listPackagesForUser:["GET /users/{username}/packages"],restorePackageForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForUser:["POST /users/{username}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageVersionForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForUser:["POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"]},privateRegistries:{createOrgPrivateRegistry:["POST /orgs/{org}/private-registries"],deleteOrgPrivateRegistry:["DELETE /orgs/{org}/private-registries/{secret_name}"],getOrgPrivateRegistry:["GET /orgs/{org}/private-registries/{secret_name}"],getOrgPublicKey:["GET /orgs/{org}/private-registries/public-key"],listOrgPrivateRegistries:["GET /orgs/{org}/private-registries"],updateOrgPrivateRegistry:["PATCH /orgs/{org}/private-registries/{secret_name}"]},projects:{addCollaborator:["PUT /projects/{project_id}/collaborators/{username}"],createCard:["POST /projects/columns/{column_id}/cards"],createColumn:["POST /projects/{project_id}/columns"],createForAuthenticatedUser:["POST /user/projects"],createForOrg:["POST /orgs/{org}/projects"],createForRepo:["POST /repos/{owner}/{repo}/projects"],delete:["DELETE /projects/{project_id}"],deleteCard:["DELETE /projects/columns/cards/{card_id}"],deleteColumn:["DELETE /projects/columns/{column_id}"],get:["GET /projects/{project_id}"],getCard:["GET /projects/columns/cards/{card_id}"],getColumn:["GET /projects/columns/{column_id}"],getPermissionForUser:["GET /projects/{project_id}/collaborators/{username}/permission"],listCards:["GET /projects/columns/{column_id}/cards"],listCollaborators:["GET /projects/{project_id}/collaborators"],listColumns:["GET /projects/{project_id}/columns"],listForOrg:["GET /orgs/{org}/projects"],listForRepo:["GET /repos/{owner}/{repo}/projects"],listForUser:["GET /users/{username}/projects"],moveCard:["POST /projects/columns/cards/{card_id}/moves"],moveColumn:["POST /projects/columns/{column_id}/moves"],removeCollaborator:["DELETE /projects/{project_id}/collaborators/{username}"],update:["PATCH /projects/{project_id}"],updateCard:["PATCH /projects/columns/cards/{card_id}"],updateColumn:["PATCH /projects/columns/{column_id}"]},pulls:{checkIfMerged:["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],create:["POST /repos/{owner}/{repo}/pulls"],createReplyForReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies"],createReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],createReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments"],deletePendingReview:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],deleteReviewComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}"],dismissReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals"],get:["GET /repos/{owner}/{repo}/pulls/{pull_number}"],getReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],getReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"],list:["GET /repos/{owner}/{repo}/pulls"],listCommentsForReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments"],listCommits:["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"],listFiles:["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"],listRequestedReviewers:["GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],listReviewComments:["GET /repos/{owner}/{repo}/pulls/{pull_number}/comments"],listReviewCommentsForRepo:["GET /repos/{owner}/{repo}/pulls/comments"],listReviews:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],merge:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"],removeRequestedReviewers:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],requestReviewers:["POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],submitReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events"],update:["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"],updateBranch:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch"],updateReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],updateReviewComment:["PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}"]},rateLimit:{get:["GET /rate_limit"]},reactions:{createForCommitComment:["POST /repos/{owner}/{repo}/comments/{comment_id}/reactions"],createForIssue:["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions"],createForIssueComment:["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],createForPullRequestReviewComment:["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],createForRelease:["POST /repos/{owner}/{repo}/releases/{release_id}/reactions"],createForTeamDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],createForTeamDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"],deleteForCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}"],deleteForIssue:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}"],deleteForIssueComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}"],deleteForPullRequestComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}"],deleteForRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}"],deleteForTeamDiscussion:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}"],deleteForTeamDiscussionComment:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}"],listForCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions"],listForIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions"],listForIssueComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],listForPullRequestReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],listForRelease:["GET /repos/{owner}/{repo}/releases/{release_id}/reactions"],listForTeamDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],listForTeamDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"]},repos:{acceptInvitation:["PATCH /user/repository_invitations/{invitation_id}",{},{renamed:["repos","acceptInvitationForAuthenticatedUser"]}],acceptInvitationForAuthenticatedUser:["PATCH /user/repository_invitations/{invitation_id}"],addAppAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],addCollaborator:["PUT /repos/{owner}/{repo}/collaborators/{username}"],addStatusCheckContexts:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],addTeamAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],addUserAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],cancelPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel"],checkAutomatedSecurityFixes:["GET /repos/{owner}/{repo}/automated-security-fixes"],checkCollaborator:["GET /repos/{owner}/{repo}/collaborators/{username}"],checkPrivateVulnerabilityReporting:["GET /repos/{owner}/{repo}/private-vulnerability-reporting"],checkVulnerabilityAlerts:["GET /repos/{owner}/{repo}/vulnerability-alerts"],codeownersErrors:["GET /repos/{owner}/{repo}/codeowners/errors"],compareCommits:["GET /repos/{owner}/{repo}/compare/{base}...{head}"],compareCommitsWithBasehead:["GET /repos/{owner}/{repo}/compare/{basehead}"],createAttestation:["POST /repos/{owner}/{repo}/attestations"],createAutolink:["POST /repos/{owner}/{repo}/autolinks"],createCommitComment:["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"],createCommitSignatureProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],createCommitStatus:["POST /repos/{owner}/{repo}/statuses/{sha}"],createDeployKey:["POST /repos/{owner}/{repo}/keys"],createDeployment:["POST /repos/{owner}/{repo}/deployments"],createDeploymentBranchPolicy:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],createDeploymentProtectionRule:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],createDeploymentStatus:["POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],createDispatchEvent:["POST /repos/{owner}/{repo}/dispatches"],createForAuthenticatedUser:["POST /user/repos"],createFork:["POST /repos/{owner}/{repo}/forks"],createInOrg:["POST /orgs/{org}/repos"],createOrUpdateCustomPropertiesValues:["PATCH /repos/{owner}/{repo}/properties/values"],createOrUpdateEnvironment:["PUT /repos/{owner}/{repo}/environments/{environment_name}"],createOrUpdateFileContents:["PUT /repos/{owner}/{repo}/contents/{path}"],createOrgRuleset:["POST /orgs/{org}/rulesets"],createPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments"],createPagesSite:["POST /repos/{owner}/{repo}/pages"],createRelease:["POST /repos/{owner}/{repo}/releases"],createRepoRuleset:["POST /repos/{owner}/{repo}/rulesets"],createUsingTemplate:["POST /repos/{template_owner}/{template_repo}/generate"],createWebhook:["POST /repos/{owner}/{repo}/hooks"],declineInvitation:["DELETE /user/repository_invitations/{invitation_id}",{},{renamed:["repos","declineInvitationForAuthenticatedUser"]}],declineInvitationForAuthenticatedUser:["DELETE /user/repository_invitations/{invitation_id}"],delete:["DELETE /repos/{owner}/{repo}"],deleteAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],deleteAdminBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],deleteAnEnvironment:["DELETE /repos/{owner}/{repo}/environments/{environment_name}"],deleteAutolink:["DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}"],deleteBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection"],deleteCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}"],deleteCommitSignatureProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],deleteDeployKey:["DELETE /repos/{owner}/{repo}/keys/{key_id}"],deleteDeployment:["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"],deleteDeploymentBranchPolicy:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],deleteFile:["DELETE /repos/{owner}/{repo}/contents/{path}"],deleteInvitation:["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"],deleteOrgRuleset:["DELETE /orgs/{org}/rulesets/{ruleset_id}"],deletePagesSite:["DELETE /repos/{owner}/{repo}/pages"],deletePullRequestReviewProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],deleteRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}"],deleteReleaseAsset:["DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"],deleteRepoRuleset:["DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}"],deleteWebhook:["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"],disableAutomatedSecurityFixes:["DELETE /repos/{owner}/{repo}/automated-security-fixes"],disableDeploymentProtectionRule:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],disablePrivateVulnerabilityReporting:["DELETE /repos/{owner}/{repo}/private-vulnerability-reporting"],disableVulnerabilityAlerts:["DELETE /repos/{owner}/{repo}/vulnerability-alerts"],downloadArchive:["GET /repos/{owner}/{repo}/zipball/{ref}",{},{renamed:["repos","downloadZipballArchive"]}],downloadTarballArchive:["GET /repos/{owner}/{repo}/tarball/{ref}"],downloadZipballArchive:["GET /repos/{owner}/{repo}/zipball/{ref}"],enableAutomatedSecurityFixes:["PUT /repos/{owner}/{repo}/automated-security-fixes"],enablePrivateVulnerabilityReporting:["PUT /repos/{owner}/{repo}/private-vulnerability-reporting"],enableVulnerabilityAlerts:["PUT /repos/{owner}/{repo}/vulnerability-alerts"],generateReleaseNotes:["POST /repos/{owner}/{repo}/releases/generate-notes"],get:["GET /repos/{owner}/{repo}"],getAccessRestrictions:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],getAdminBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],getAllDeploymentProtectionRules:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],getAllEnvironments:["GET /repos/{owner}/{repo}/environments"],getAllStatusCheckContexts:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"],getAllTopics:["GET /repos/{owner}/{repo}/topics"],getAppsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"],getAutolink:["GET /repos/{owner}/{repo}/autolinks/{autolink_id}"],getBranch:["GET /repos/{owner}/{repo}/branches/{branch}"],getBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection"],getBranchRules:["GET /repos/{owner}/{repo}/rules/branches/{branch}"],getClones:["GET /repos/{owner}/{repo}/traffic/clones"],getCodeFrequencyStats:["GET /repos/{owner}/{repo}/stats/code_frequency"],getCollaboratorPermissionLevel:["GET /repos/{owner}/{repo}/collaborators/{username}/permission"],getCombinedStatusForRef:["GET /repos/{owner}/{repo}/commits/{ref}/status"],getCommit:["GET /repos/{owner}/{repo}/commits/{ref}"],getCommitActivityStats:["GET /repos/{owner}/{repo}/stats/commit_activity"],getCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}"],getCommitSignatureProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],getCommunityProfileMetrics:["GET /repos/{owner}/{repo}/community/profile"],getContent:["GET /repos/{owner}/{repo}/contents/{path}"],getContributorsStats:["GET /repos/{owner}/{repo}/stats/contributors"],getCustomDeploymentProtectionRule:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],getCustomPropertiesValues:["GET /repos/{owner}/{repo}/properties/values"],getDeployKey:["GET /repos/{owner}/{repo}/keys/{key_id}"],getDeployment:["GET /repos/{owner}/{repo}/deployments/{deployment_id}"],getDeploymentBranchPolicy:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],getDeploymentStatus:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"],getEnvironment:["GET /repos/{owner}/{repo}/environments/{environment_name}"],getLatestPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/latest"],getLatestRelease:["GET /repos/{owner}/{repo}/releases/latest"],getOrgRuleSuite:["GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id}"],getOrgRuleSuites:["GET /orgs/{org}/rulesets/rule-suites"],getOrgRuleset:["GET /orgs/{org}/rulesets/{ruleset_id}"],getOrgRulesets:["GET /orgs/{org}/rulesets"],getPages:["GET /repos/{owner}/{repo}/pages"],getPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/{build_id}"],getPagesDeployment:["GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}"],getPagesHealthCheck:["GET /repos/{owner}/{repo}/pages/health"],getParticipationStats:["GET /repos/{owner}/{repo}/stats/participation"],getPullRequestReviewProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],getPunchCardStats:["GET /repos/{owner}/{repo}/stats/punch_card"],getReadme:["GET /repos/{owner}/{repo}/readme"],getReadmeInDirectory:["GET /repos/{owner}/{repo}/readme/{dir}"],getRelease:["GET /repos/{owner}/{repo}/releases/{release_id}"],getReleaseAsset:["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"],getReleaseByTag:["GET /repos/{owner}/{repo}/releases/tags/{tag}"],getRepoRuleSuite:["GET /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id}"],getRepoRuleSuites:["GET /repos/{owner}/{repo}/rulesets/rule-suites"],getRepoRuleset:["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"],getRepoRulesets:["GET /repos/{owner}/{repo}/rulesets"],getStatusChecksProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],getTeamsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"],getTopPaths:["GET /repos/{owner}/{repo}/traffic/popular/paths"],getTopReferrers:["GET /repos/{owner}/{repo}/traffic/popular/referrers"],getUsersWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"],getViews:["GET /repos/{owner}/{repo}/traffic/views"],getWebhook:["GET /repos/{owner}/{repo}/hooks/{hook_id}"],getWebhookConfigForRepo:["GET /repos/{owner}/{repo}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}"],listActivities:["GET /repos/{owner}/{repo}/activity"],listAttestations:["GET /repos/{owner}/{repo}/attestations/{subject_digest}"],listAutolinks:["GET /repos/{owner}/{repo}/autolinks"],listBranches:["GET /repos/{owner}/{repo}/branches"],listBranchesForHeadCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head"],listCollaborators:["GET /repos/{owner}/{repo}/collaborators"],listCommentsForCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"],listCommitCommentsForRepo:["GET /repos/{owner}/{repo}/comments"],listCommitStatusesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/statuses"],listCommits:["GET /repos/{owner}/{repo}/commits"],listContributors:["GET /repos/{owner}/{repo}/contributors"],listCustomDeploymentRuleIntegrations:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps"],listDeployKeys:["GET /repos/{owner}/{repo}/keys"],listDeploymentBranchPolicies:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],listDeploymentStatuses:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],listDeployments:["GET /repos/{owner}/{repo}/deployments"],listForAuthenticatedUser:["GET /user/repos"],listForOrg:["GET /orgs/{org}/repos"],listForUser:["GET /users/{username}/repos"],listForks:["GET /repos/{owner}/{repo}/forks"],listInvitations:["GET /repos/{owner}/{repo}/invitations"],listInvitationsForAuthenticatedUser:["GET /user/repository_invitations"],listLanguages:["GET /repos/{owner}/{repo}/languages"],listPagesBuilds:["GET /repos/{owner}/{repo}/pages/builds"],listPublic:["GET /repositories"],listPullRequestsAssociatedWithCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls"],listReleaseAssets:["GET /repos/{owner}/{repo}/releases/{release_id}/assets"],listReleases:["GET /repos/{owner}/{repo}/releases"],listTags:["GET /repos/{owner}/{repo}/tags"],listTeams:["GET /repos/{owner}/{repo}/teams"],listWebhookDeliveries:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /repos/{owner}/{repo}/hooks"],merge:["POST /repos/{owner}/{repo}/merges"],mergeUpstream:["POST /repos/{owner}/{repo}/merge-upstream"],pingWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeAppAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],removeCollaborator:["DELETE /repos/{owner}/{repo}/collaborators/{username}"],removeStatusCheckContexts:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],removeStatusCheckProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],removeTeamAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],removeUserAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],renameBranch:["POST /repos/{owner}/{repo}/branches/{branch}/rename"],replaceAllTopics:["PUT /repos/{owner}/{repo}/topics"],requestPagesBuild:["POST /repos/{owner}/{repo}/pages/builds"],setAdminBranchProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],setAppAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],setStatusCheckContexts:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],setTeamAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],setUserAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],testPushWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"],transfer:["POST /repos/{owner}/{repo}/transfer"],update:["PATCH /repos/{owner}/{repo}"],updateBranchProtection:["PUT /repos/{owner}/{repo}/branches/{branch}/protection"],updateCommitComment:["PATCH /repos/{owner}/{repo}/comments/{comment_id}"],updateDeploymentBranchPolicy:["PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],updateInformationAboutPagesSite:["PUT /repos/{owner}/{repo}/pages"],updateInvitation:["PATCH /repos/{owner}/{repo}/invitations/{invitation_id}"],updateOrgRuleset:["PUT /orgs/{org}/rulesets/{ruleset_id}"],updatePullRequestReviewProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],updateRelease:["PATCH /repos/{owner}/{repo}/releases/{release_id}"],updateReleaseAsset:["PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}"],updateRepoRuleset:["PUT /repos/{owner}/{repo}/rulesets/{ruleset_id}"],updateStatusCheckPotection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks",{},{renamed:["repos","updateStatusCheckProtection"]}],updateStatusCheckProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],updateWebhook:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"],updateWebhookConfigForRepo:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config"],uploadReleaseAsset:["POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}",{baseUrl:"https://uploads.github.com"}]},search:{code:["GET /search/code"],commits:["GET /search/commits"],issuesAndPullRequests:["GET /search/issues"],labels:["GET /search/labels"],repos:["GET /search/repositories"],topics:["GET /search/topics"],users:["GET /search/users"]},secretScanning:{createPushProtectionBypass:["POST /repos/{owner}/{repo}/secret-scanning/push-protection-bypasses"],getAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"],getScanHistory:["GET /repos/{owner}/{repo}/secret-scanning/scan-history"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/secret-scanning/alerts"],listAlertsForOrg:["GET /orgs/{org}/secret-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/secret-scanning/alerts"],listLocationsForAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations"],updateAlert:["PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"]},securityAdvisories:{createFork:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks"],createPrivateVulnerabilityReport:["POST /repos/{owner}/{repo}/security-advisories/reports"],createRepositoryAdvisory:["POST /repos/{owner}/{repo}/security-advisories"],createRepositoryAdvisoryCveRequest:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve"],getGlobalAdvisory:["GET /advisories/{ghsa_id}"],getRepositoryAdvisory:["GET /repos/{owner}/{repo}/security-advisories/{ghsa_id}"],listGlobalAdvisories:["GET /advisories"],listOrgRepositoryAdvisories:["GET /orgs/{org}/security-advisories"],listRepositoryAdvisories:["GET /repos/{owner}/{repo}/security-advisories"],updateRepositoryAdvisory:["PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id}"]},teams:{addOrUpdateMembershipForUserInOrg:["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"],addOrUpdateProjectPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}"],addOrUpdateRepoPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],checkPermissionsForProjectInOrg:["GET /orgs/{org}/teams/{team_slug}/projects/{project_id}"],checkPermissionsForRepoInOrg:["GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],create:["POST /orgs/{org}/teams"],createDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],createDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions"],deleteDiscussionCommentInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],deleteDiscussionInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],deleteInOrg:["DELETE /orgs/{org}/teams/{team_slug}"],getByName:["GET /orgs/{org}/teams/{team_slug}"],getDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],getDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],getMembershipForUserInOrg:["GET /orgs/{org}/teams/{team_slug}/memberships/{username}"],list:["GET /orgs/{org}/teams"],listChildInOrg:["GET /orgs/{org}/teams/{team_slug}/teams"],listDiscussionCommentsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],listDiscussionsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions"],listForAuthenticatedUser:["GET /user/teams"],listMembersInOrg:["GET /orgs/{org}/teams/{team_slug}/members"],listPendingInvitationsInOrg:["GET /orgs/{org}/teams/{team_slug}/invitations"],listProjectsInOrg:["GET /orgs/{org}/teams/{team_slug}/projects"],listReposInOrg:["GET /orgs/{org}/teams/{team_slug}/repos"],removeMembershipForUserInOrg:["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"],removeProjectInOrg:["DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}"],removeRepoInOrg:["DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],updateDiscussionCommentInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],updateDiscussionInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],updateInOrg:["PATCH /orgs/{org}/teams/{team_slug}"]},users:{addEmailForAuthenticated:["POST /user/emails",{},{renamed:["users","addEmailForAuthenticatedUser"]}],addEmailForAuthenticatedUser:["POST /user/emails"],addSocialAccountForAuthenticatedUser:["POST /user/social_accounts"],block:["PUT /user/blocks/{username}"],checkBlocked:["GET /user/blocks/{username}"],checkFollowingForUser:["GET /users/{username}/following/{target_user}"],checkPersonIsFollowedByAuthenticated:["GET /user/following/{username}"],createGpgKeyForAuthenticated:["POST /user/gpg_keys",{},{renamed:["users","createGpgKeyForAuthenticatedUser"]}],createGpgKeyForAuthenticatedUser:["POST /user/gpg_keys"],createPublicSshKeyForAuthenticated:["POST /user/keys",{},{renamed:["users","createPublicSshKeyForAuthenticatedUser"]}],createPublicSshKeyForAuthenticatedUser:["POST /user/keys"],createSshSigningKeyForAuthenticatedUser:["POST /user/ssh_signing_keys"],deleteEmailForAuthenticated:["DELETE /user/emails",{},{renamed:["users","deleteEmailForAuthenticatedUser"]}],deleteEmailForAuthenticatedUser:["DELETE /user/emails"],deleteGpgKeyForAuthenticated:["DELETE /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","deleteGpgKeyForAuthenticatedUser"]}],deleteGpgKeyForAuthenticatedUser:["DELETE /user/gpg_keys/{gpg_key_id}"],deletePublicSshKeyForAuthenticated:["DELETE /user/keys/{key_id}",{},{renamed:["users","deletePublicSshKeyForAuthenticatedUser"]}],deletePublicSshKeyForAuthenticatedUser:["DELETE /user/keys/{key_id}"],deleteSocialAccountForAuthenticatedUser:["DELETE /user/social_accounts"],deleteSshSigningKeyForAuthenticatedUser:["DELETE /user/ssh_signing_keys/{ssh_signing_key_id}"],follow:["PUT /user/following/{username}"],getAuthenticated:["GET /user"],getById:["GET /user/{account_id}"],getByUsername:["GET /users/{username}"],getContextForUser:["GET /users/{username}/hovercard"],getGpgKeyForAuthenticated:["GET /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","getGpgKeyForAuthenticatedUser"]}],getGpgKeyForAuthenticatedUser:["GET /user/gpg_keys/{gpg_key_id}"],getPublicSshKeyForAuthenticated:["GET /user/keys/{key_id}",{},{renamed:["users","getPublicSshKeyForAuthenticatedUser"]}],getPublicSshKeyForAuthenticatedUser:["GET /user/keys/{key_id}"],getSshSigningKeyForAuthenticatedUser:["GET /user/ssh_signing_keys/{ssh_signing_key_id}"],list:["GET /users"],listAttestations:["GET /users/{username}/attestations/{subject_digest}"],listBlockedByAuthenticated:["GET /user/blocks",{},{renamed:["users","listBlockedByAuthenticatedUser"]}],listBlockedByAuthenticatedUser:["GET /user/blocks"],listEmailsForAuthenticated:["GET /user/emails",{},{renamed:["users","listEmailsForAuthenticatedUser"]}],listEmailsForAuthenticatedUser:["GET /user/emails"],listFollowedByAuthenticated:["GET /user/following",{},{renamed:["users","listFollowedByAuthenticatedUser"]}],listFollowedByAuthenticatedUser:["GET /user/following"],listFollowersForAuthenticatedUser:["GET /user/followers"],listFollowersForUser:["GET /users/{username}/followers"],listFollowingForUser:["GET /users/{username}/following"],listGpgKeysForAuthenticated:["GET /user/gpg_keys",{},{renamed:["users","listGpgKeysForAuthenticatedUser"]}],listGpgKeysForAuthenticatedUser:["GET /user/gpg_keys"],listGpgKeysForUser:["GET /users/{username}/gpg_keys"],listPublicEmailsForAuthenticated:["GET /user/public_emails",{},{renamed:["users","listPublicEmailsForAuthenticatedUser"]}],listPublicEmailsForAuthenticatedUser:["GET /user/public_emails"],listPublicKeysForUser:["GET /users/{username}/keys"],listPublicSshKeysForAuthenticated:["GET /user/keys",{},{renamed:["users","listPublicSshKeysForAuthenticatedUser"]}],listPublicSshKeysForAuthenticatedUser:["GET /user/keys"],listSocialAccountsForAuthenticatedUser:["GET /user/social_accounts"],listSocialAccountsForUser:["GET /users/{username}/social_accounts"],listSshSigningKeysForAuthenticatedUser:["GET /user/ssh_signing_keys"],listSshSigningKeysForUser:["GET /users/{username}/ssh_signing_keys"],setPrimaryEmailVisibilityForAuthenticated:["PATCH /user/email/visibility",{},{renamed:["users","setPrimaryEmailVisibilityForAuthenticatedUser"]}],setPrimaryEmailVisibilityForAuthenticatedUser:["PATCH /user/email/visibility"],unblock:["DELETE /user/blocks/{username}"],unfollow:["DELETE /user/following/{username}"],updateAuthenticated:["PATCH /user"]}};var we=ye;const be=new Map;for(const[e,t]of Object.entries(we)){for(const[r,s]of Object.entries(t)){const[t,o,n]=s;const[A,i]=t.split(/ /);const a=Object.assign({method:A,url:i},o);if(!be.has(e)){be.set(e,new Map)}be.get(e).set(r,{scope:e,methodName:r,endpointDefaults:a,decorations:n})}}const Re={has({scope:e},t){return be.get(e).has(t)},getOwnPropertyDescriptor(e,t){return{value:this.get(e,t),configurable:true,writable:true,enumerable:true}},defineProperty(e,t,r){Object.defineProperty(e.cache,t,r);return true},deleteProperty(e,t){delete e.cache[t];return true},ownKeys({scope:e}){return[...be.get(e).keys()]},set(e,t,r){return e.cache[t]=r},get({octokit:e,scope:t,cache:r},s){if(r[s]){return r[s]}const o=be.get(t).get(s);if(!o){return void 0}const{endpointDefaults:n,decorations:A}=o;if(A){r[s]=decorate(e,t,s,n,A)}else{r[s]=e.request.defaults(n)}return r[s]}};function endpointsToMethods(e){const t={};for(const r of be.keys()){t[r]=new Proxy({octokit:e,scope:r,cache:{}},Re)}return t}function decorate(e,t,r,s,o){const n=e.request.defaults(s);function withDecorations(...s){let A=n.endpoint.merge(...s);if(o.mapToData){A=Object.assign({},A,{data:A[o.mapToData],[o.mapToData]:void 0});return n(A)}if(o.renamed){const[s,n]=o.renamed;e.log.warn(`octokit.${t}.${r}() has been renamed to octokit.${s}.${n}()`)}if(o.deprecated){e.log.warn(o.deprecated)}if(o.renamedParameters){const A=n.endpoint.merge(...s);for(const[s,n]of Object.entries(o.renamedParameters)){if(s in A){e.log.warn(`"${s}" parameter is deprecated for "octokit.${t}.${r}()". Use "${n}" instead`);if(!(n in A)){A[n]=A[s]}delete A[s]}}return n(A)}return n(...s)}return Object.assign(withDecorations,n)}function restEndpointMethods(e){const t=endpointsToMethods(e);return{rest:t}}restEndpointMethods.VERSION=Be;function legacyRestEndpointMethods(e){const t=endpointsToMethods(e);return{...t,rest:t}}legacyRestEndpointMethods.VERSION=Be;var Te=__nccwpck_require__(3251);var ke="0.0.0-development";async function errorRequest(e,t,r,s){if(!r.request||!r.request.request){throw r}if(r.status>=400&&!e.doNotRetry.includes(r.status)){const o=s.request.retries!=null?s.request.retries:e.retries;const n=Math.pow((s.request.retryCount||0)+1,2);throw t.retry.retryRequest(r,o,n)}throw r}async function wrapRequest(e,t,r,s){const o=new Te;o.on("failed",(function(t,r){const o=~~t.request.request.retries;const n=~~t.request.request.retryAfter;s.request.retryCount=r.retryCount+1;if(o>r.retryCount){return n*e.retryAfterBaseValue}}));return o.schedule(requestWithGraphqlErrorHandling.bind(null,e,t,r),s)}async function requestWithGraphqlErrorHandling(e,t,r,s){const o=await r(r,s);if(o.data&&o.data.errors&&o.data.errors.length>0&&/Something went wrong while executing your query/.test(o.data.errors[0].message)){const r=new RequestError(o.data.errors[0].message,500,{request:s,response:o});return errorRequest(e,t,r,s)}return o}function retry(e,t){const r=Object.assign({enabled:true,retryAfterBaseValue:1e3,doNotRetry:[400,401,403,404,422,451],retries:3},t.retry);if(r.enabled){e.hook.error("request",errorRequest.bind(null,r,e));e.hook.wrap("request",wrapRequest.bind(null,r,e))}return{retry:{retryRequest:(e,t,r)=>{e.request.request=Object.assign({},e.request.request,{retries:t,retryAfter:r});return e}}}}retry.VERSION=ke;var De="0.0.0-development";var dist_bundle_noop=()=>Promise.resolve();function dist_bundle_wrapRequest(e,t,r){return e.retryLimiter.schedule(doRequest,e,t,r)}async function doRequest(e,t,r){const s=r.method!=="GET"&&r.method!=="HEAD";const{pathname:o}=new URL(r.url,"http://github.test");const n=r.method==="GET"&&o.startsWith("/search/");const A=o.startsWith("/graphql");const i=~~t.retryCount;const a=i>0?{priority:0,weight:0}:{};if(e.clustering){a.expiration=1e3*60}if(s||A){await e.write.key(e.id).schedule(a,dist_bundle_noop)}if(s&&e.triggersNotification(o)){await e.notifications.key(e.id).schedule(a,dist_bundle_noop)}if(n){await e.search.key(e.id).schedule(a,dist_bundle_noop)}const c=e.global.key(e.id).schedule(a,t,r);if(A){const e=await c;if(e.data.errors!=null&&e.data.errors.some((e=>e.type==="RATE_LIMITED"))){const t=Object.assign(new Error("GraphQL Rate Limit Exceeded"),{response:e,data:e.data});throw t}}return c}var _e=["/orgs/{org}/invitations","/orgs/{org}/invitations/{invitation_id}","/orgs/{org}/teams/{team_slug}/discussions","/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments","/repos/{owner}/{repo}/collaborators/{username}","/repos/{owner}/{repo}/commits/{commit_sha}/comments","/repos/{owner}/{repo}/issues","/repos/{owner}/{repo}/issues/{issue_number}/comments","/repos/{owner}/{repo}/issues/{issue_number}/sub_issue","/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority","/repos/{owner}/{repo}/pulls","/repos/{owner}/{repo}/pulls/{pull_number}/comments","/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies","/repos/{owner}/{repo}/pulls/{pull_number}/merge","/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers","/repos/{owner}/{repo}/pulls/{pull_number}/reviews","/repos/{owner}/{repo}/releases","/teams/{team_id}/discussions","/teams/{team_id}/discussions/{discussion_number}/comments"];function routeMatcher(e){const t=e.map((e=>e.split("/").map((e=>e.startsWith("{")?"(?:.+?)":e)).join("/")));const r=`^(?:${t.map((e=>`(?:${e})`)).join("|")})[^/]*$`;return new RegExp(r,"i")}var Fe=routeMatcher(_e);var Se=Fe.test.bind(Fe);var ve={};var createGroups=function(e,t){ve.global=new e.Group({id:"octokit-global",maxConcurrent:10,...t});ve.search=new e.Group({id:"octokit-search",maxConcurrent:1,minTime:2e3,...t});ve.write=new e.Group({id:"octokit-write",maxConcurrent:1,minTime:1e3,...t});ve.notifications=new e.Group({id:"octokit-notifications",maxConcurrent:1,minTime:3e3,...t})};function throttling(e,t){const{enabled:r=true,Bottleneck:s=Te,id:o="no-id",timeout:n=1e3*60*2,connection:A}=t.throttle||{};if(!r){return{}}const i={timeout:n};if(typeof A!=="undefined"){i.connection=A}if(ve.global==null){createGroups(s,i)}const a=Object.assign({clustering:A!=null,triggersNotification:Se,fallbackSecondaryRateRetryAfter:60,retryAfterBaseValue:1e3,retryLimiter:new s,id:o,...ve},t.throttle);if(typeof a.onSecondaryRateLimit!=="function"||typeof a.onRateLimit!=="function"){throw new Error(`octokit/plugin-throttling error:\n        You must pass the onSecondaryRateLimit and onRateLimit error handlers.\n        See https://octokit.github.io/rest.js/#throttling\n\n        const octokit = new Octokit({\n          throttle: {\n            onSecondaryRateLimit: (retryAfter, options) => {/* ... */},\n            onRateLimit: (retryAfter, options) => {/* ... */}\n          }\n        })\n    `)}const c={};const l=new s.Events(c);c.on("secondary-limit",a.onSecondaryRateLimit);c.on("rate-limit",a.onRateLimit);c.on("error",(t=>e.log.warn("Error in throttling-plugin limit handler",t)));a.retryLimiter.on("failed",(async function(t,r){const[s,o,n]=r.args;const{pathname:A}=new URL(n.url,"http://github.test");const i=A.startsWith("/graphql")&&t.status!==401;if(!(i||t.status===403||t.status===429)){return}const a=~~o.retryCount;o.retryCount=a;n.request.retryCount=a;const{wantRetry:c,retryAfter:u=0}=await async function(){if(/\bsecondary rate\b/i.test(t.message)){const r=Number(t.response.headers["retry-after"])||s.fallbackSecondaryRateRetryAfter;const o=await l.trigger("secondary-limit",r,n,e,a);return{wantRetry:o,retryAfter:r}}if(t.response.headers!=null&&t.response.headers["x-ratelimit-remaining"]==="0"||(t.response.data?.errors??[]).some((e=>e.type==="RATE_LIMITED"))){const r=new Date(~~t.response.headers["x-ratelimit-reset"]*1e3).getTime();const s=Math.max(Math.ceil((r-Date.now())/1e3)+1,0);const o=await l.trigger("rate-limit",s,n,e,a);return{wantRetry:o,retryAfter:s}}return{}}();if(c){o.retryCount++;return u*s.retryAfterBaseValue}}));e.hook.wrap("request",dist_bundle_wrapRequest.bind(null,a));return{}}throttling.VERSION=De;throttling.triggersNotification=Se;var generateMessage=(e,t)=>`The cursor at "${e.join(",")}" did not change its value "${t}" after a page transition. Please make sure your that your query is set up correctly.`;var Ue=class extends Error{constructor(e,t){super(generateMessage(e.pathInQuery,t));this.pageInfo=e;this.cursorValue=t;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}name="MissingCursorChangeError"};var Ne=class extends Error{constructor(e){super(`No pageInfo property found in response. Please make sure to specify the pageInfo in your query. Response-Data: ${JSON.stringify(e,null,2)}`);this.response=e;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}name="MissingPageInfo"};var isObject=e=>Object.prototype.toString.call(e)==="[object Object]";function findPaginatedResourcePath(e){const t=deepFindPathToProperty(e,"pageInfo");if(t.length===0){throw new Ne(e)}return t}var deepFindPathToProperty=(e,t,r=[])=>{for(const s of Object.keys(e)){const o=[...r,s];const n=e[s];if(isObject(n)){if(n.hasOwnProperty(t)){return o}const e=deepFindPathToProperty(n,t,o);if(e.length>0){return e}}}return[]};var get=(e,t)=>t.reduce(((e,t)=>e[t]),e);var set=(e,t,r)=>{const s=t[t.length-1];const o=[...t].slice(0,-1);const n=get(e,o);if(typeof r==="function"){n[s]=r(n[s])}else{n[s]=r}};var extractPageInfos=e=>{const t=findPaginatedResourcePath(e);return{pathInQuery:t,pageInfo:get(e,[...t,"pageInfo"])}};var isForwardSearch=e=>e.hasOwnProperty("hasNextPage");var getCursorFrom=e=>isForwardSearch(e)?e.endCursor:e.startCursor;var hasAnotherPage=e=>isForwardSearch(e)?e.hasNextPage:e.hasPreviousPage;var createIterator=e=>(t,r={})=>{let s=true;let o={...r};return{[Symbol.asyncIterator]:()=>({async next(){if(!s)return{done:true,value:{}};const r=await e.graphql(t,o);const n=extractPageInfos(r);const A=getCursorFrom(n.pageInfo);s=hasAnotherPage(n.pageInfo);if(s&&A===o.cursor){throw new Ue(n,A)}o={...o,cursor:A};return{done:false,value:r}}})}};var mergeResponses=(e,t)=>{if(Object.keys(e).length===0){return Object.assign(e,t)}const r=findPaginatedResourcePath(e);const s=[...r,"nodes"];const o=get(t,s);if(o){set(e,s,(e=>[...e,...o]))}const n=[...r,"edges"];const A=get(t,n);if(A){set(e,n,(e=>[...e,...A]))}const i=[...r,"pageInfo"];set(e,i,get(t,i));return e};var createPaginate=e=>{const t=createIterator(e);return async(e,r={})=>{let s={};for await(const o of t(e,r)){s=mergeResponses(s,o)}return s}};var Oe="0.0.0-development";function paginateGraphQL(e){return{graphql:Object.assign(e.graphql,{paginate:Object.assign(createPaginate(e),{iterator:createIterator(e)})})}}function IsAsyncIterator(e){return IsObject(e)&&Symbol.asyncIterator in e}function IsIterator(e){return IsObject(e)&&Symbol.iterator in e}function IsStandardObject(e){return IsObject(e)&&(Object.getPrototypeOf(e)===Object.prototype||Object.getPrototypeOf(e)===null)}function IsInstanceObject(e){return IsObject(e)&&!IsArray(e)&&IsFunction(e.constructor)&&e.constructor.name!=="Object"}function IsPromise(e){return e instanceof Promise}function IsDate(e){return e instanceof Date&&Number.isFinite(e.getTime())}function IsMap(e){return e instanceof globalThis.Map}function IsSet(e){return e instanceof globalThis.Set}function IsRegExp(e){return e instanceof globalThis.RegExp}function IsTypedArray(e){return ArrayBuffer.isView(e)}function IsInt8Array(e){return e instanceof globalThis.Int8Array}function IsUint8Array(e){return e instanceof globalThis.Uint8Array}function IsUint8ClampedArray(e){return e instanceof globalThis.Uint8ClampedArray}function IsInt16Array(e){return e instanceof globalThis.Int16Array}function IsUint16Array(e){return e instanceof globalThis.Uint16Array}function IsInt32Array(e){return e instanceof globalThis.Int32Array}function IsUint32Array(e){return e instanceof globalThis.Uint32Array}function IsFloat32Array(e){return e instanceof globalThis.Float32Array}function IsFloat64Array(e){return e instanceof globalThis.Float64Array}function IsBigInt64Array(e){return e instanceof globalThis.BigInt64Array}function IsBigUint64Array(e){return e instanceof globalThis.BigUint64Array}function HasPropertyKey(e,t){return t in e}function IsObject(e){return e!==null&&typeof e==="object"}function IsArray(e){return Array.isArray(e)&&!ArrayBuffer.isView(e)}function IsUndefined(e){return e===undefined}function IsNull(e){return e===null}function IsBoolean(e){return typeof e==="boolean"}function IsNumber(e){return typeof e==="number"}function IsInteger(e){return Number.isInteger(e)}function IsBigInt(e){return typeof e==="bigint"}function IsString(e){return typeof e==="string"}function IsFunction(e){return typeof e==="function"}function IsSymbol(e){return typeof e==="symbol"}function IsValueType(e){return IsBigInt(e)||IsBoolean(e)||IsNull(e)||IsNumber(e)||IsString(e)||IsSymbol(e)||IsUndefined(e)}var Ge;(function(e){e.InstanceMode="default";e.ExactOptionalPropertyTypes=false;e.AllowArrayObject=false;e.AllowNaN=false;e.AllowNullVoid=false;function IsExactOptionalProperty(t,r){return e.ExactOptionalPropertyTypes?r in t:t[r]!==undefined}e.IsExactOptionalProperty=IsExactOptionalProperty;function IsObjectLike(t){const r=IsObject(t);return e.AllowArrayObject?r:r&&!IsArray(t)}e.IsObjectLike=IsObjectLike;function IsRecordLike(e){return IsObjectLike(e)&&!(e instanceof Date)&&!(e instanceof Uint8Array)}e.IsRecordLike=IsRecordLike;function IsNumberLike(t){return e.AllowNaN?IsNumber(t):Number.isFinite(t)}e.IsNumberLike=IsNumberLike;function IsVoidLike(t){const r=IsUndefined(t);return e.AllowNullVoid?r||t===null:r}e.IsVoidLike=IsVoidLike})(Ge||(Ge={}));function value_HasPropertyKey(e,t){return t in e}function value_IsAsyncIterator(e){return value_IsObject(e)&&!value_IsArray(e)&&!value_IsUint8Array(e)&&Symbol.asyncIterator in e}function value_IsArray(e){return Array.isArray(e)}function value_IsBigInt(e){return typeof e==="bigint"}function value_IsBoolean(e){return typeof e==="boolean"}function value_IsDate(e){return e instanceof globalThis.Date}function value_IsFunction(e){return typeof e==="function"}function value_IsIterator(e){return value_IsObject(e)&&!value_IsArray(e)&&!value_IsUint8Array(e)&&Symbol.iterator in e}function value_IsNull(e){return e===null}function value_IsNumber(e){return typeof e==="number"}function value_IsObject(e){return typeof e==="object"&&e!==null}function value_IsRegExp(e){return e instanceof globalThis.RegExp}function value_IsString(e){return typeof e==="string"}function value_IsSymbol(e){return typeof e==="symbol"}function value_IsUint8Array(e){return e instanceof globalThis.Uint8Array}function value_IsUndefined(e){return e===undefined}function ImmutableArray(e){return globalThis.Object.freeze(e).map((e=>Immutable(e)))}function ImmutableDate(e){return e}function ImmutableUint8Array(e){return e}function ImmutableRegExp(e){return e}function ImmutableObject(e){const t={};for(const r of Object.getOwnPropertyNames(e)){t[r]=Immutable(e[r])}for(const r of Object.getOwnPropertySymbols(e)){t[r]=Immutable(e[r])}return globalThis.Object.freeze(t)}function Immutable(e){return value_IsArray(e)?ImmutableArray(e):value_IsDate(e)?ImmutableDate(e):value_IsUint8Array(e)?ImmutableUint8Array(e):value_IsRegExp(e)?ImmutableRegExp(e):value_IsObject(e)?ImmutableObject(e):e}function ArrayType(e){return e.map((e=>Visit(e)))}function DateType(e){return new Date(e.getTime())}function Uint8ArrayType(e){return new Uint8Array(e)}function RegExpType(e){return new RegExp(e.source,e.flags)}function ObjectType(e){const t={};for(const r of Object.getOwnPropertyNames(e)){t[r]=Visit(e[r])}for(const r of Object.getOwnPropertySymbols(e)){t[r]=Visit(e[r])}return t}function Visit(e){return value_IsArray(e)?ArrayType(e):value_IsDate(e)?DateType(e):value_IsUint8Array(e)?Uint8ArrayType(e):value_IsRegExp(e)?RegExpType(e):value_IsObject(e)?ObjectType(e):e}function Clone(e){return Visit(e)}function CreateType(e,t){const r=t!==undefined?{...t,...e}:e;switch(Ge.InstanceMode){case"freeze":return Immutable(r);case"clone":return Clone(r);default:return r}}const Le=Symbol.for("TypeBox.Transform");const Pe=Symbol.for("TypeBox.Readonly");const Me=Symbol.for("TypeBox.Optional");const xe=Symbol.for("TypeBox.Hint");const He=Symbol.for("TypeBox.Kind");function Any(e){return CreateType({[He]:"Any"},e)}function array_Array(e,t){return CreateType({[He]:"Array",type:"array",items:e},t)}function AsyncIterator(e,t){return CreateType({[He]:"AsyncIterator",type:"AsyncIterator",items:e},t)}function Computed(e,t,r){return CreateType({[He]:"Computed",target:e,parameters:t},r)}function Never(e){return CreateType({[He]:"Never",not:{}},e)}function IsReadonly(e){return value_IsObject(e)&&e[Pe]==="Readonly"}function IsOptional(e){return value_IsObject(e)&&e[Me]==="Optional"}function IsAny(e){return IsKindOf(e,"Any")}function kind_IsArray(e){return IsKindOf(e,"Array")}function kind_IsAsyncIterator(e){return IsKindOf(e,"AsyncIterator")}function kind_IsBigInt(e){return IsKindOf(e,"BigInt")}function kind_IsBoolean(e){return IsKindOf(e,"Boolean")}function IsComputed(e){return IsKindOf(e,"Computed")}function IsConstructor(e){return IsKindOf(e,"Constructor")}function kind_IsDate(e){return IsKindOf(e,"Date")}function kind_IsFunction(e){return IsKindOf(e,"Function")}function IsImport(e){return IsKindOf(e,"Import")}function kind_IsInteger(e){return IsKindOf(e,"Integer")}function IsProperties(e){return ValueGuard.IsObject(e)}function IsIntersect(e){return IsKindOf(e,"Intersect")}function kind_IsIterator(e){return IsKindOf(e,"Iterator")}function IsKindOf(e,t){return value_IsObject(e)&&He in e&&e[He]===t}function IsLiteralString(e){return IsLiteral(e)&&ValueGuard.IsString(e.const)}function IsLiteralNumber(e){return IsLiteral(e)&&ValueGuard.IsNumber(e.const)}function IsLiteralBoolean(e){return IsLiteral(e)&&ValueGuard.IsBoolean(e.const)}function IsLiteralValue(e){return value_IsBoolean(e)||value_IsNumber(e)||value_IsString(e)}function IsLiteral(e){return IsKindOf(e,"Literal")}function IsMappedKey(e){return IsKindOf(e,"MappedKey")}function IsMappedResult(e){return IsKindOf(e,"MappedResult")}function IsNever(e){return IsKindOf(e,"Never")}function IsNot(e){return IsKindOf(e,"Not")}function kind_IsNull(e){return IsKindOf(e,"Null")}function kind_IsNumber(e){return IsKindOf(e,"Number")}function kind_IsObject(e){return IsKindOf(e,"Object")}function kind_IsPromise(e){return IsKindOf(e,"Promise")}function IsRecord(e){return IsKindOf(e,"Record")}function IsRecursive(e){return ValueGuard.IsObject(e)&&Hint in e&&e[Hint]==="Recursive"}function IsRef(e){return IsKindOf(e,"Ref")}function kind_IsRegExp(e){return IsKindOf(e,"RegExp")}function kind_IsString(e){return IsKindOf(e,"String")}function kind_IsSymbol(e){return IsKindOf(e,"Symbol")}function IsTemplateLiteral(e){return IsKindOf(e,"TemplateLiteral")}function IsThis(e){return IsKindOf(e,"This")}function IsTransform(e){return value_IsObject(e)&&Le in e}function IsTuple(e){return IsKindOf(e,"Tuple")}function kind_IsUndefined(e){return IsKindOf(e,"Undefined")}function IsUnion(e){return IsKindOf(e,"Union")}function kind_IsUint8Array(e){return IsKindOf(e,"Uint8Array")}function IsUnknown(e){return IsKindOf(e,"Unknown")}function IsUnsafe(e){return IsKindOf(e,"Unsafe")}function IsVoid(e){return IsKindOf(e,"Void")}function IsKind(e){return value_IsObject(e)&&He in e&&value_IsString(e[He])}function IsSchema(e){return IsAny(e)||kind_IsArray(e)||kind_IsBoolean(e)||kind_IsBigInt(e)||kind_IsAsyncIterator(e)||IsConstructor(e)||kind_IsDate(e)||kind_IsFunction(e)||kind_IsInteger(e)||IsIntersect(e)||kind_IsIterator(e)||IsLiteral(e)||IsMappedKey(e)||IsMappedResult(e)||IsNever(e)||IsNot(e)||kind_IsNull(e)||kind_IsNumber(e)||kind_IsObject(e)||kind_IsPromise(e)||IsRecord(e)||IsRef(e)||kind_IsRegExp(e)||kind_IsString(e)||kind_IsSymbol(e)||IsTemplateLiteral(e)||IsThis(e)||IsTuple(e)||kind_IsUndefined(e)||IsUnion(e)||kind_IsUint8Array(e)||IsUnknown(e)||IsUnsafe(e)||IsVoid(e)||IsKind(e)}function IntersectCreate(e,t={}){const r=e.every((e=>kind_IsObject(e)));const s=IsSchema(t.unevaluatedProperties)?{unevaluatedProperties:t.unevaluatedProperties}:{};return CreateType(t.unevaluatedProperties===false||IsSchema(t.unevaluatedProperties)||r?{...s,[He]:"Intersect",type:"object",allOf:e}:{...s,[He]:"Intersect",allOf:e},t)}function Intersect(e,t){if(e.length===1)return CreateType(e[0],t);if(e.length===0)return Never(t);if(e.some((e=>IsTransform(e))))throw new Error("Cannot intersect transform types");return IntersectCreate(e,t)}function UnionCreate(e,t){return CreateType({[He]:"Union",anyOf:e},t)}function Union(e,t){return e.length===0?Never(t):e.length===1?CreateType(e[0],t):UnionCreate(e,t)}function Ref(e,t){return CreateType({[He]:"Ref",$ref:e},t)}function FromComputed(e,t){return Computed("Awaited",[Computed(e,t)])}function FromRef(e){return Computed("Awaited",[Ref(e)])}function FromIntersect(e){return Intersect(FromRest(e))}function FromUnion(e){return Union(FromRest(e))}function FromPromise(e){return Awaited(e)}function FromRest(e){return e.map((e=>Awaited(e)))}function Awaited(e,t){return CreateType(IsComputed(e)?FromComputed(e.target,e.parameters):IsIntersect(e)?FromIntersect(e.allOf):IsUnion(e)?FromUnion(e.anyOf):kind_IsPromise(e)?FromPromise(e.item):IsRef(e)?FromRef(e.$ref):e,t)}function bigint_BigInt(e){return CreateType({[He]:"BigInt",type:"bigint"},e)}function boolean_Boolean(e){return CreateType({[He]:"Boolean",type:"boolean"},e)}function DiscardKey(e,t){const{[t]:r,...s}=e;return s}function Discard(e,t){return t.reduce(((e,t)=>DiscardKey(e,t)),e)}function MappedResult(e){return CreateType({[He]:"MappedResult",properties:e})}function FromProperties(e,t){const r={};for(const s of globalThis.Object.getOwnPropertyNames(e))r[s]=Optional(e[s],t);return r}function FromMappedResult(e,t){return FromProperties(e.properties,t)}function OptionalFromMappedResult(e,t){const r=FromMappedResult(e,t);return MappedResult(r)}function RemoveOptional(e){return CreateType(Discard(e,[Me]))}function AddOptional(e){return CreateType({...e,[Me]:"Optional"})}function OptionalWithFlag(e,t){return t===false?RemoveOptional(e):AddOptional(e)}function Optional(e,t){const r=t??true;return IsMappedResult(e)?OptionalFromMappedResult(e,r):OptionalWithFlag(e,r)}function IsIntersectOptional(e){return e.every((e=>IsOptional(e)))}function RemoveOptionalFromType(e){return Discard(e,[Me])}function RemoveOptionalFromRest(e){return e.map((e=>IsOptional(e)?RemoveOptionalFromType(e):e))}function ResolveIntersect(e,t){return IsIntersectOptional(e)?Optional(IntersectCreate(RemoveOptionalFromRest(e),t)):IntersectCreate(RemoveOptionalFromRest(e),t)}function IntersectEvaluated(e,t={}){if(e.length===1)return CreateType(e[0],t);if(e.length===0)return Never(t);if(e.some((e=>IsTransform(e))))throw new Error("Cannot intersect transform types");return ResolveIntersect(e,t)}function Literal(e,t){return CreateType({[He]:"Literal",const:e,type:typeof e},t)}function IsUnionOptional(e){return e.some((e=>IsOptional(e)))}function union_evaluated_RemoveOptionalFromRest(e){return e.map((e=>IsOptional(e)?union_evaluated_RemoveOptionalFromType(e):e))}function union_evaluated_RemoveOptionalFromType(e){return Discard(e,[Me])}function ResolveUnion(e,t){const r=IsUnionOptional(e);return r?Optional(UnionCreate(union_evaluated_RemoveOptionalFromRest(e),t)):UnionCreate(union_evaluated_RemoveOptionalFromRest(e),t)}function UnionEvaluated(e,t){return e.length===1?CreateType(e[0],t):e.length===0?Never(t):ResolveUnion(e,t)}class error_TypeBoxError extends Error{constructor(e){super(e)}}class TemplateLiteralParserError extends error_TypeBoxError{}function Unescape(e){return e.replace(/\\\$/g,"$").replace(/\\\*/g,"*").replace(/\\\^/g,"^").replace(/\\\|/g,"|").replace(/\\\(/g,"(").replace(/\\\)/g,")")}function IsNonEscaped(e,t,r){return e[t]===r&&e.charCodeAt(t-1)!==92}function IsOpenParen(e,t){return IsNonEscaped(e,t,"(")}function IsCloseParen(e,t){return IsNonEscaped(e,t,")")}function IsSeparator(e,t){return IsNonEscaped(e,t,"|")}function IsGroup(e){if(!(IsOpenParen(e,0)&&IsCloseParen(e,e.length-1)))return false;let t=0;for(let r=0;r<e.length;r++){if(IsOpenParen(e,r))t+=1;if(IsCloseParen(e,r))t-=1;if(t===0&&r!==e.length-1)return false}return true}function InGroup(e){return e.slice(1,e.length-1)}function IsPrecedenceOr(e){let t=0;for(let r=0;r<e.length;r++){if(IsOpenParen(e,r))t+=1;if(IsCloseParen(e,r))t-=1;if(IsSeparator(e,r)&&t===0)return true}return false}function IsPrecedenceAnd(e){for(let t=0;t<e.length;t++){if(IsOpenParen(e,t))return true}return false}function Or(e){let[t,r]=[0,0];const s=[];for(let o=0;o<e.length;o++){if(IsOpenParen(e,o))t+=1;if(IsCloseParen(e,o))t-=1;if(IsSeparator(e,o)&&t===0){const t=e.slice(r,o);if(t.length>0)s.push(TemplateLiteralParse(t));r=o+1}}const o=e.slice(r);if(o.length>0)s.push(TemplateLiteralParse(o));if(s.length===0)return{type:"const",const:""};if(s.length===1)return s[0];return{type:"or",expr:s}}function And(e){function Group(e,t){if(!IsOpenParen(e,t))throw new TemplateLiteralParserError(`TemplateLiteralParser: Index must point to open parens`);let r=0;for(let s=t;s<e.length;s++){if(IsOpenParen(e,s))r+=1;if(IsCloseParen(e,s))r-=1;if(r===0)return[t,s]}throw new TemplateLiteralParserError(`TemplateLiteralParser: Unclosed group parens in expression`)}function Range(e,t){for(let r=t;r<e.length;r++){if(IsOpenParen(e,r))return[t,r]}return[t,e.length]}const t=[];for(let r=0;r<e.length;r++){if(IsOpenParen(e,r)){const[s,o]=Group(e,r);const n=e.slice(s,o+1);t.push(TemplateLiteralParse(n));r=o}else{const[s,o]=Range(e,r);const n=e.slice(s,o);if(n.length>0)t.push(TemplateLiteralParse(n));r=o-1}}return t.length===0?{type:"const",const:""}:t.length===1?t[0]:{type:"and",expr:t}}function TemplateLiteralParse(e){return IsGroup(e)?TemplateLiteralParse(InGroup(e)):IsPrecedenceOr(e)?Or(e):IsPrecedenceAnd(e)?And(e):{type:"const",const:Unescape(e)}}function TemplateLiteralParseExact(e){return TemplateLiteralParse(e.slice(1,e.length-1))}class TemplateLiteralFiniteError extends error_TypeBoxError{}function IsNumberExpression(e){return e.type==="or"&&e.expr.length===2&&e.expr[0].type==="const"&&e.expr[0].const==="0"&&e.expr[1].type==="const"&&e.expr[1].const==="[1-9][0-9]*"}function IsBooleanExpression(e){return e.type==="or"&&e.expr.length===2&&e.expr[0].type==="const"&&e.expr[0].const==="true"&&e.expr[1].type==="const"&&e.expr[1].const==="false"}function IsStringExpression(e){return e.type==="const"&&e.const===".*"}function IsTemplateLiteralExpressionFinite(e){return IsNumberExpression(e)||IsStringExpression(e)?false:IsBooleanExpression(e)?true:e.type==="and"?e.expr.every((e=>IsTemplateLiteralExpressionFinite(e))):e.type==="or"?e.expr.every((e=>IsTemplateLiteralExpressionFinite(e))):e.type==="const"?true:(()=>{throw new TemplateLiteralFiniteError(`Unknown expression type`)})()}function IsTemplateLiteralFinite(e){const t=TemplateLiteralParseExact(e.pattern);return IsTemplateLiteralExpressionFinite(t)}class TemplateLiteralGenerateError extends error_TypeBoxError{}function*GenerateReduce(e){if(e.length===1)return yield*e[0];for(const t of e[0]){for(const r of GenerateReduce(e.slice(1))){yield`${t}${r}`}}}function*GenerateAnd(e){return yield*GenerateReduce(e.expr.map((e=>[...TemplateLiteralExpressionGenerate(e)])))}function*GenerateOr(e){for(const t of e.expr)yield*TemplateLiteralExpressionGenerate(t)}function*GenerateConst(e){return yield e.const}function*TemplateLiteralExpressionGenerate(e){return e.type==="and"?yield*GenerateAnd(e):e.type==="or"?yield*GenerateOr(e):e.type==="const"?yield*GenerateConst(e):(()=>{throw new TemplateLiteralGenerateError("Unknown expression")})()}function TemplateLiteralGenerate(e){const t=TemplateLiteralParseExact(e.pattern);return IsTemplateLiteralExpressionFinite(t)?[...TemplateLiteralExpressionGenerate(t)]:[]}function FromTemplateLiteral(e){const t=TemplateLiteralGenerate(e);return t.map((e=>e.toString()))}function indexed_property_keys_FromUnion(e){const t=[];for(const r of e)t.push(...IndexPropertyKeys(r));return t}function FromLiteral(e){return[e.toString()]}function IndexPropertyKeys(e){return[...new Set(IsTemplateLiteral(e)?FromTemplateLiteral(e):IsUnion(e)?indexed_property_keys_FromUnion(e.anyOf):IsLiteral(e)?FromLiteral(e.const):kind_IsNumber(e)?["[number]"]:kind_IsInteger(e)?["[number]"]:[])]}function MappedIndexPropertyKey(e,t,r){return{[t]:Index(e,[t],Clone(r))}}function MappedIndexPropertyKeys(e,t,r){return t.reduce(((t,s)=>({...t,...MappedIndexPropertyKey(e,s,r)})),{})}function MappedIndexProperties(e,t,r){return MappedIndexPropertyKeys(e,t.keys,r)}function IndexFromMappedKey(e,t,r){const s=MappedIndexProperties(e,t,r);return MappedResult(s)}function indexed_from_mapped_result_FromProperties(e,t,r){const s={};for(const o of Object.getOwnPropertyNames(t)){const n=IndexPropertyKeys(t[o]);s[o]=Index(e,n,r)}return s}function indexed_from_mapped_result_FromMappedResult(e,t,r){return indexed_from_mapped_result_FromProperties(e,t.properties,r)}function IndexFromMappedResult(e,t,r){const s=indexed_from_mapped_result_FromMappedResult(e,t,r);return MappedResult(s)}function indexed_FromRest(e,t){return e.map((e=>IndexFromPropertyKey(e,t)))}function FromIntersectRest(e){return e.filter((e=>!IsNever(e)))}function indexed_FromIntersect(e,t){return IntersectEvaluated(FromIntersectRest(indexed_FromRest(e,t)))}function FromUnionRest(e){return e.some((e=>IsNever(e)))?[]:e}function indexed_FromUnion(e,t){return UnionEvaluated(FromUnionRest(indexed_FromRest(e,t)))}function FromTuple(e,t){return t==="[number]"?UnionEvaluated(e):t in e?e[t]:Never()}function FromArray(e,t){return t==="[number]"?e:Never()}function FromProperty(e,t){return t in e?e[t]:Never()}function IndexFromPropertyKey(e,t){return IsIntersect(e)?indexed_FromIntersect(e.allOf,t):IsUnion(e)?indexed_FromUnion(e.anyOf,t):IsTuple(e)?FromTuple(e.items??[],t):kind_IsArray(e)?FromArray(e.items,t):kind_IsObject(e)?FromProperty(e.properties,t):Never()}function IndexFromPropertyKeys(e,t){return t.map((t=>IndexFromPropertyKey(e,t)))}function FromType(e,t){const r=IndexFromPropertyKeys(e,t);return UnionEvaluated(r)}function UnionFromPropertyKeys(e){const t=e.reduce(((e,t)=>IsLiteralValue(t)?[...e,Literal(t)]:e),[]);return UnionEvaluated(t)}function Index(e,t,r){const s=value_IsArray(t)?UnionFromPropertyKeys(t):t;const o=IsSchema(t)?IndexPropertyKeys(t):t;const n=IsRef(e);const A=IsRef(t);return IsMappedResult(t)?IndexFromMappedResult(e,t,r):IsMappedKey(t)?IndexFromMappedKey(e,t,r):n&&A?Computed("Index",[e,s],r):!n&&A?Computed("Index",[e,s],r):n&&!A?Computed("Index",[e,s],r):CreateType(FromType(e,o),r)}function SetIncludes(e,t){return e.includes(t)}function SetIsSubset(e,t){return e.every((e=>SetIncludes(t,e)))}function SetDistinct(e){return[...new Set(e)]}function SetIntersect(e,t){return e.filter((e=>t.includes(e)))}function SetUnion(e,t){return[...e,...t]}function SetComplement(e,t){return e.filter((e=>!t.includes(e)))}function SetIntersectManyResolve(e,t){return e.reduce(((e,t)=>SetIntersect(e,t)),t)}function SetIntersectMany(e){return e.length===1?e[0]:e.length>1?SetIntersectManyResolve(e.slice(1),e[0]):[]}function SetUnionMany(e){const t=[];for(const r of e)t.push(...r);return t}function keyof_property_keys_FromRest(e){const t=[];for(const r of e)t.push(KeyOfPropertyKeys(r));return t}function keyof_property_keys_FromIntersect(e){const t=keyof_property_keys_FromRest(e);const r=SetUnionMany(t);return r}function keyof_property_keys_FromUnion(e){const t=keyof_property_keys_FromRest(e);const r=SetIntersectMany(t);return r}function keyof_property_keys_FromTuple(e){return e.map(((e,t)=>t.toString()))}function keyof_property_keys_FromArray(e){return["[number]"]}function keyof_property_keys_FromProperties(e){return globalThis.Object.getOwnPropertyNames(e)}function FromPatternProperties(e){if(!Ve)return[];const t=globalThis.Object.getOwnPropertyNames(e);return t.map((e=>e[0]==="^"&&e[e.length-1]==="$"?e.slice(1,e.length-1):e))}function KeyOfPropertyKeys(e){return IsIntersect(e)?keyof_property_keys_FromIntersect(e.allOf):IsUnion(e)?keyof_property_keys_FromUnion(e.anyOf):IsTuple(e)?keyof_property_keys_FromTuple(e.items??[]):kind_IsArray(e)?keyof_property_keys_FromArray(e.items):kind_IsObject(e)?keyof_property_keys_FromProperties(e.properties):IsRecord(e)?FromPatternProperties(e.patternProperties):[]}let Ve=false;function KeyOfPattern(e){Ve=true;const t=KeyOfPropertyKeys(e);Ve=false;const r=t.map((e=>`(${e})`));return`^(${r.join("|")})$`}function RequiredKeys(e){const t=[];for(let r in e){if(!IsOptional(e[r]))t.push(r)}return t}function _Object(e,t){const r=RequiredKeys(e);const s=r.length>0?{[He]:"Object",type:"object",properties:e,required:r}:{[He]:"Object",type:"object",properties:e};return CreateType(s,t)}var Ye=_Object;function CompositeKeys(e){const t=[];for(const r of e)t.push(...KeyOfPropertyKeys(r));return SetDistinct(t)}function FilterNever(e){return e.filter((e=>!IsNever(e)))}function CompositeProperty(e,t){const r=[];for(const s of e)r.push(...IndexFromPropertyKeys(s,[t]));return FilterNever(r)}function CompositeProperties(e,t){const r={};for(const s of t){r[s]=IntersectEvaluated(CompositeProperty(e,s))}return r}function Composite(e,t){const r=CompositeKeys(e);const s=CompositeProperties(e,r);const o=Ye(s,t);return o}function date_Date(e){return CreateType({[He]:"Date",type:"Date"},e)}function function_Function(e,t,r){return CreateType({[He]:"Function",type:"Function",parameters:e,returns:t},r)}function Null(e){return CreateType({[He]:"Null",type:"null"},e)}function symbol_Symbol(e){return CreateType({[He]:"Symbol",type:"symbol"},e)}function Tuple(e,t){return CreateType(e.length>0?{[He]:"Tuple",type:"array",items:e,additionalItems:false,minItems:e.length,maxItems:e.length}:{[He]:"Tuple",type:"array",minItems:e.length,maxItems:e.length},t)}function readonly_from_mapped_result_FromProperties(e,t){const r={};for(const s of globalThis.Object.getOwnPropertyNames(e))r[s]=Readonly(e[s],t);return r}function readonly_from_mapped_result_FromMappedResult(e,t){return readonly_from_mapped_result_FromProperties(e.properties,t)}function ReadonlyFromMappedResult(e,t){const r=readonly_from_mapped_result_FromMappedResult(e,t);return MappedResult(r)}function RemoveReadonly(e){return CreateType(Discard(e,[Pe]))}function AddReadonly(e){return CreateType({...e,[Pe]:"Readonly"})}function ReadonlyWithFlag(e,t){return t===false?RemoveReadonly(e):AddReadonly(e)}function Readonly(e,t){const r=t??true;return IsMappedResult(e)?ReadonlyFromMappedResult(e,r):ReadonlyWithFlag(e,r)}function Undefined(e){return CreateType({[He]:"Undefined",type:"undefined"},e)}function uint8array_Uint8Array(e){return CreateType({[He]:"Uint8Array",type:"Uint8Array"},e)}function Unknown(e){return CreateType({[He]:"Unknown"},e)}function const_FromArray(e){return e.map((e=>FromValue(e,false)))}function const_FromProperties(e){const t={};for(const r of globalThis.Object.getOwnPropertyNames(e))t[r]=Readonly(FromValue(e[r],false));return t}function ConditionalReadonly(e,t){return t===true?e:Readonly(e)}function FromValue(e,t){return value_IsAsyncIterator(e)?ConditionalReadonly(Any(),t):value_IsIterator(e)?ConditionalReadonly(Any(),t):value_IsArray(e)?Readonly(Tuple(const_FromArray(e))):value_IsUint8Array(e)?uint8array_Uint8Array():value_IsDate(e)?date_Date():value_IsObject(e)?ConditionalReadonly(Ye(const_FromProperties(e)),t):value_IsFunction(e)?ConditionalReadonly(function_Function([],Unknown()),t):value_IsUndefined(e)?Undefined():value_IsNull(e)?Null():value_IsSymbol(e)?symbol_Symbol():value_IsBigInt(e)?bigint_BigInt():value_IsNumber(e)?Literal(e):value_IsBoolean(e)?Literal(e):value_IsString(e)?Literal(e):Ye({})}function Const(e,t){return CreateType(FromValue(e,true),t)}function Constructor(e,t,r){return CreateType({[He]:"Constructor",type:"Constructor",parameters:e,returns:t},r)}function ConstructorParameters(e,t){return Tuple(e.parameters,t)}function Enum(e,t){if(value_IsUndefined(e))throw new Error("Enum undefined or empty");const r=globalThis.Object.getOwnPropertyNames(e).filter((e=>isNaN(e))).map((t=>e[t]));const s=[...new Set(r)];const o=s.map((e=>Literal(e)));return Union(o,{...t,[xe]:"Enum"})}function number_Number(e){return CreateType({[He]:"Number",type:"number"},e)}function string_String(e){return CreateType({[He]:"String",type:"string"},e)}function TemplateLiteralToUnion(e){const t=TemplateLiteralGenerate(e);const r=t.map((e=>Literal(e)));return UnionEvaluated(r)}const Je="(true|false)";const qe="(0|[1-9][0-9]*)";const je="(.*)";const We="(?!.*)";const Ke=null&&`^${Je}$`;const ze=`^${qe}$`;const Ze=`^${je}$`;const Xe=`^${We}$`;class TypeGuardUnknownTypeError extends(null&&TypeBoxError){}const $e=["Any","Array","AsyncIterator","BigInt","Boolean","Computed","Constructor","Date","Enum","Function","Integer","Intersect","Iterator","Literal","MappedKey","MappedResult","Not","Null","Number","Object","Promise","Record","Ref","RegExp","String","Symbol","TemplateLiteral","This","Tuple","Undefined","Union","Uint8Array","Unknown","Void"];function IsPattern(e){try{new RegExp(e);return true}catch{return false}}function IsControlCharacterFree(e){if(!value_IsString(e))return false;for(let t=0;t<e.length;t++){const r=e.charCodeAt(t);if(r>=7&&r<=13||r===27||r===127){return false}}return true}function IsAdditionalProperties(e){return IsOptionalBoolean(e)||type_IsSchema(e)}function IsOptionalBigInt(e){return value_IsUndefined(e)||value_IsBigInt(e)}function IsOptionalNumber(e){return value_IsUndefined(e)||value_IsNumber(e)}function IsOptionalBoolean(e){return value_IsUndefined(e)||value_IsBoolean(e)}function IsOptionalString(e){return value_IsUndefined(e)||value_IsString(e)}function IsOptionalPattern(e){return value_IsUndefined(e)||value_IsString(e)&&IsControlCharacterFree(e)&&IsPattern(e)}function IsOptionalFormat(e){return value_IsUndefined(e)||value_IsString(e)&&IsControlCharacterFree(e)}function IsOptionalSchema(e){return value_IsUndefined(e)||type_IsSchema(e)}function type_IsReadonly(e){return ValueGuard.IsObject(e)&&e[ReadonlyKind]==="Readonly"}function type_IsOptional(e){return value_IsObject(e)&&e[Me]==="Optional"}function type_IsAny(e){return type_IsKindOf(e,"Any")&&IsOptionalString(e.$id)}function type_IsArray(e){return type_IsKindOf(e,"Array")&&e.type==="array"&&IsOptionalString(e.$id)&&type_IsSchema(e.items)&&IsOptionalNumber(e.minItems)&&IsOptionalNumber(e.maxItems)&&IsOptionalBoolean(e.uniqueItems)&&IsOptionalSchema(e.contains)&&IsOptionalNumber(e.minContains)&&IsOptionalNumber(e.maxContains)}function type_IsAsyncIterator(e){return type_IsKindOf(e,"AsyncIterator")&&e.type==="AsyncIterator"&&IsOptionalString(e.$id)&&type_IsSchema(e.items)}function type_IsBigInt(e){return type_IsKindOf(e,"BigInt")&&e.type==="bigint"&&IsOptionalString(e.$id)&&IsOptionalBigInt(e.exclusiveMaximum)&&IsOptionalBigInt(e.exclusiveMinimum)&&IsOptionalBigInt(e.maximum)&&IsOptionalBigInt(e.minimum)&&IsOptionalBigInt(e.multipleOf)}function type_IsBoolean(e){return type_IsKindOf(e,"Boolean")&&e.type==="boolean"&&IsOptionalString(e.$id)}function type_IsComputed(e){return type_IsKindOf(e,"Computed")&&type_IsString(e.target)&&ValueGuard.IsArray(e.parameters)&&e.parameters.every((e=>type_IsSchema(e)))}function type_IsConstructor(e){return type_IsKindOf(e,"Constructor")&&e.type==="Constructor"&&IsOptionalString(e.$id)&&value_IsArray(e.parameters)&&e.parameters.every((e=>type_IsSchema(e)))&&type_IsSchema(e.returns)}function type_IsDate(e){return type_IsKindOf(e,"Date")&&e.type==="Date"&&IsOptionalString(e.$id)&&IsOptionalNumber(e.exclusiveMaximumTimestamp)&&IsOptionalNumber(e.exclusiveMinimumTimestamp)&&IsOptionalNumber(e.maximumTimestamp)&&IsOptionalNumber(e.minimumTimestamp)&&IsOptionalNumber(e.multipleOfTimestamp)}function type_IsFunction(e){return type_IsKindOf(e,"Function")&&e.type==="Function"&&IsOptionalString(e.$id)&&value_IsArray(e.parameters)&&e.parameters.every((e=>type_IsSchema(e)))&&type_IsSchema(e.returns)}function type_IsImport(e){return type_IsKindOf(e,"Import")&&ValueGuard.HasPropertyKey(e,"$defs")&&ValueGuard.IsObject(e.$defs)&&type_IsProperties(e.$defs)&&ValueGuard.HasPropertyKey(e,"$ref")&&ValueGuard.IsString(e.$ref)&&e.$ref in e.$defs}function type_IsInteger(e){return type_IsKindOf(e,"Integer")&&e.type==="integer"&&IsOptionalString(e.$id)&&IsOptionalNumber(e.exclusiveMaximum)&&IsOptionalNumber(e.exclusiveMinimum)&&IsOptionalNumber(e.maximum)&&IsOptionalNumber(e.minimum)&&IsOptionalNumber(e.multipleOf)}function type_IsProperties(e){return value_IsObject(e)&&Object.entries(e).every((([e,t])=>IsControlCharacterFree(e)&&type_IsSchema(t)))}function type_IsIntersect(e){return type_IsKindOf(e,"Intersect")&&(value_IsString(e.type)&&e.type!=="object"?false:true)&&value_IsArray(e.allOf)&&e.allOf.every((e=>type_IsSchema(e)&&!type_IsTransform(e)))&&IsOptionalString(e.type)&&(IsOptionalBoolean(e.unevaluatedProperties)||IsOptionalSchema(e.unevaluatedProperties))&&IsOptionalString(e.$id)}function type_IsIterator(e){return type_IsKindOf(e,"Iterator")&&e.type==="Iterator"&&IsOptionalString(e.$id)&&type_IsSchema(e.items)}function type_IsKindOf(e,t){return value_IsObject(e)&&He in e&&e[He]===t}function type_IsLiteralString(e){return type_IsLiteral(e)&&value_IsString(e.const)}function type_IsLiteralNumber(e){return type_IsLiteral(e)&&value_IsNumber(e.const)}function type_IsLiteralBoolean(e){return type_IsLiteral(e)&&value_IsBoolean(e.const)}function type_IsLiteral(e){return type_IsKindOf(e,"Literal")&&IsOptionalString(e.$id)&&type_IsLiteralValue(e.const)}function type_IsLiteralValue(e){return value_IsBoolean(e)||value_IsNumber(e)||value_IsString(e)}function type_IsMappedKey(e){return type_IsKindOf(e,"MappedKey")&&value_IsArray(e.keys)&&e.keys.every((e=>value_IsNumber(e)||value_IsString(e)))}function type_IsMappedResult(e){return type_IsKindOf(e,"MappedResult")&&type_IsProperties(e.properties)}function type_IsNever(e){return type_IsKindOf(e,"Never")&&value_IsObject(e.not)&&Object.getOwnPropertyNames(e.not).length===0}function type_IsNot(e){return type_IsKindOf(e,"Not")&&type_IsSchema(e.not)}function type_IsNull(e){return type_IsKindOf(e,"Null")&&e.type==="null"&&IsOptionalString(e.$id)}function type_IsNumber(e){return type_IsKindOf(e,"Number")&&e.type==="number"&&IsOptionalString(e.$id)&&IsOptionalNumber(e.exclusiveMaximum)&&IsOptionalNumber(e.exclusiveMinimum)&&IsOptionalNumber(e.maximum)&&IsOptionalNumber(e.minimum)&&IsOptionalNumber(e.multipleOf)}function type_IsObject(e){return type_IsKindOf(e,"Object")&&e.type==="object"&&IsOptionalString(e.$id)&&type_IsProperties(e.properties)&&IsAdditionalProperties(e.additionalProperties)&&IsOptionalNumber(e.minProperties)&&IsOptionalNumber(e.maxProperties)}function type_IsPromise(e){return type_IsKindOf(e,"Promise")&&e.type==="Promise"&&IsOptionalString(e.$id)&&type_IsSchema(e.item)}function type_IsRecord(e){return type_IsKindOf(e,"Record")&&e.type==="object"&&IsOptionalString(e.$id)&&IsAdditionalProperties(e.additionalProperties)&&value_IsObject(e.patternProperties)&&(e=>{const t=Object.getOwnPropertyNames(e.patternProperties);return t.length===1&&IsPattern(t[0])&&value_IsObject(e.patternProperties)&&type_IsSchema(e.patternProperties[t[0]])})(e)}function type_IsRecursive(e){return ValueGuard.IsObject(e)&&Hint in e&&e[Hint]==="Recursive"}function type_IsRef(e){return type_IsKindOf(e,"Ref")&&IsOptionalString(e.$id)&&value_IsString(e.$ref)}function type_IsRegExp(e){return type_IsKindOf(e,"RegExp")&&IsOptionalString(e.$id)&&value_IsString(e.source)&&value_IsString(e.flags)&&IsOptionalNumber(e.maxLength)&&IsOptionalNumber(e.minLength)}function type_IsString(e){return type_IsKindOf(e,"String")&&e.type==="string"&&IsOptionalString(e.$id)&&IsOptionalNumber(e.minLength)&&IsOptionalNumber(e.maxLength)&&IsOptionalPattern(e.pattern)&&IsOptionalFormat(e.format)}function type_IsSymbol(e){return type_IsKindOf(e,"Symbol")&&e.type==="symbol"&&IsOptionalString(e.$id)}function type_IsTemplateLiteral(e){return type_IsKindOf(e,"TemplateLiteral")&&e.type==="string"&&value_IsString(e.pattern)&&e.pattern[0]==="^"&&e.pattern[e.pattern.length-1]==="$"}function type_IsThis(e){return type_IsKindOf(e,"This")&&IsOptionalString(e.$id)&&value_IsString(e.$ref)}function type_IsTransform(e){return value_IsObject(e)&&Le in e}function type_IsTuple(e){return type_IsKindOf(e,"Tuple")&&e.type==="array"&&IsOptionalString(e.$id)&&value_IsNumber(e.minItems)&&value_IsNumber(e.maxItems)&&e.minItems===e.maxItems&&(value_IsUndefined(e.items)&&value_IsUndefined(e.additionalItems)&&e.minItems===0||value_IsArray(e.items)&&e.items.every((e=>type_IsSchema(e))))}function type_IsUndefined(e){return type_IsKindOf(e,"Undefined")&&e.type==="undefined"&&IsOptionalString(e.$id)}function IsUnionLiteral(e){return type_IsUnion(e)&&e.anyOf.every((e=>type_IsLiteralString(e)||type_IsLiteralNumber(e)))}function type_IsUnion(e){return type_IsKindOf(e,"Union")&&IsOptionalString(e.$id)&&value_IsObject(e)&&value_IsArray(e.anyOf)&&e.anyOf.every((e=>type_IsSchema(e)))}function type_IsUint8Array(e){return type_IsKindOf(e,"Uint8Array")&&e.type==="Uint8Array"&&IsOptionalString(e.$id)&&IsOptionalNumber(e.minByteLength)&&IsOptionalNumber(e.maxByteLength)}function type_IsUnknown(e){return type_IsKindOf(e,"Unknown")&&IsOptionalString(e.$id)}function type_IsUnsafe(e){return type_IsKindOf(e,"Unsafe")}function type_IsVoid(e){return type_IsKindOf(e,"Void")&&e.type==="void"&&IsOptionalString(e.$id)}function type_IsKind(e){return value_IsObject(e)&&He in e&&value_IsString(e[He])&&!$e.includes(e[He])}function type_IsSchema(e){return value_IsObject(e)&&(type_IsAny(e)||type_IsArray(e)||type_IsBoolean(e)||type_IsBigInt(e)||type_IsAsyncIterator(e)||type_IsConstructor(e)||type_IsDate(e)||type_IsFunction(e)||type_IsInteger(e)||type_IsIntersect(e)||type_IsIterator(e)||type_IsLiteral(e)||type_IsMappedKey(e)||type_IsMappedResult(e)||type_IsNever(e)||type_IsNot(e)||type_IsNull(e)||type_IsNumber(e)||type_IsObject(e)||type_IsPromise(e)||type_IsRecord(e)||type_IsRef(e)||type_IsRegExp(e)||type_IsString(e)||type_IsSymbol(e)||type_IsTemplateLiteral(e)||type_IsThis(e)||type_IsTuple(e)||type_IsUndefined(e)||type_IsUnion(e)||type_IsUint8Array(e)||type_IsUnknown(e)||type_IsUnsafe(e)||type_IsVoid(e)||type_IsKind(e))}class ExtendsResolverError extends error_TypeBoxError{}var et;(function(e){e[e["Union"]=0]="Union";e[e["True"]=1]="True";e[e["False"]=2]="False"})(et||(et={}));function IntoBooleanResult(e){return e===et.False?e:et.True}function Throw(e){throw new ExtendsResolverError(e)}function IsStructuralRight(e){return type_IsNever(e)||type_IsIntersect(e)||type_IsUnion(e)||type_IsUnknown(e)||type_IsAny(e)}function StructuralRight(e,t){return type_IsNever(t)?FromNeverRight(e,t):type_IsIntersect(t)?FromIntersectRight(e,t):type_IsUnion(t)?FromUnionRight(e,t):type_IsUnknown(t)?FromUnknownRight(e,t):type_IsAny(t)?FromAnyRight(e,t):Throw("StructuralRight")}function FromAnyRight(e,t){return et.True}function FromAny(e,t){return type_IsIntersect(t)?FromIntersectRight(e,t):type_IsUnion(t)&&t.anyOf.some((e=>type_IsAny(e)||type_IsUnknown(e)))?et.True:type_IsUnion(t)?et.Union:type_IsUnknown(t)?et.True:type_IsAny(t)?et.True:et.Union}function FromArrayRight(e,t){return type_IsUnknown(e)?et.False:type_IsAny(e)?et.Union:type_IsNever(e)?et.True:et.False}function extends_check_FromArray(e,t){return type_IsObject(t)&&IsObjectArrayLike(t)?et.True:IsStructuralRight(t)?StructuralRight(e,t):!type_IsArray(t)?et.False:IntoBooleanResult(extends_check_Visit(e.items,t.items))}function FromAsyncIterator(e,t){return IsStructuralRight(t)?StructuralRight(e,t):!type_IsAsyncIterator(t)?et.False:IntoBooleanResult(extends_check_Visit(e.items,t.items))}function FromBigInt(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsBigInt(t)?et.True:et.False}function FromBooleanRight(e,t){return type_IsLiteralBoolean(e)?et.True:type_IsBoolean(e)?et.True:et.False}function FromBoolean(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsBoolean(t)?et.True:et.False}function FromConstructor(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):!type_IsConstructor(t)?et.False:e.parameters.length>t.parameters.length?et.False:!e.parameters.every(((e,r)=>IntoBooleanResult(extends_check_Visit(t.parameters[r],e))===et.True))?et.False:IntoBooleanResult(extends_check_Visit(e.returns,t.returns))}function FromDate(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsDate(t)?et.True:et.False}function FromFunction(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):!type_IsFunction(t)?et.False:e.parameters.length>t.parameters.length?et.False:!e.parameters.every(((e,r)=>IntoBooleanResult(extends_check_Visit(t.parameters[r],e))===et.True))?et.False:IntoBooleanResult(extends_check_Visit(e.returns,t.returns))}function FromIntegerRight(e,t){return type_IsLiteral(e)&&value_IsNumber(e.const)?et.True:type_IsNumber(e)||type_IsInteger(e)?et.True:et.False}function FromInteger(e,t){return type_IsInteger(t)||type_IsNumber(t)?et.True:IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):et.False}function FromIntersectRight(e,t){return t.allOf.every((t=>extends_check_Visit(e,t)===et.True))?et.True:et.False}function extends_check_FromIntersect(e,t){return e.allOf.some((e=>extends_check_Visit(e,t)===et.True))?et.True:et.False}function FromIterator(e,t){return IsStructuralRight(t)?StructuralRight(e,t):!type_IsIterator(t)?et.False:IntoBooleanResult(extends_check_Visit(e.items,t.items))}function extends_check_FromLiteral(e,t){return type_IsLiteral(t)&&t.const===e.const?et.True:IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsString(t)?FromStringRight(e,t):type_IsNumber(t)?FromNumberRight(e,t):type_IsInteger(t)?FromIntegerRight(e,t):type_IsBoolean(t)?FromBooleanRight(e,t):et.False}function FromNeverRight(e,t){return et.False}function FromNever(e,t){return et.True}function UnwrapTNot(e){let[t,r]=[e,0];while(true){if(!type_IsNot(t))break;t=t.not;r+=1}return r%2===0?t:Unknown()}function FromNot(e,t){return type_IsNot(e)?extends_check_Visit(UnwrapTNot(e),t):type_IsNot(t)?extends_check_Visit(e,UnwrapTNot(t)):Throw("Invalid fallthrough for Not")}function FromNull(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsNull(t)?et.True:et.False}function FromNumberRight(e,t){return type_IsLiteralNumber(e)?et.True:type_IsNumber(e)||type_IsInteger(e)?et.True:et.False}function FromNumber(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsInteger(t)||type_IsNumber(t)?et.True:et.False}function IsObjectPropertyCount(e,t){return Object.getOwnPropertyNames(e.properties).length===t}function IsObjectStringLike(e){return IsObjectArrayLike(e)}function IsObjectSymbolLike(e){return IsObjectPropertyCount(e,0)||IsObjectPropertyCount(e,1)&&"description"in e.properties&&type_IsUnion(e.properties.description)&&e.properties.description.anyOf.length===2&&(type_IsString(e.properties.description.anyOf[0])&&type_IsUndefined(e.properties.description.anyOf[1])||type_IsString(e.properties.description.anyOf[1])&&type_IsUndefined(e.properties.description.anyOf[0]))}function IsObjectNumberLike(e){return IsObjectPropertyCount(e,0)}function IsObjectBooleanLike(e){return IsObjectPropertyCount(e,0)}function IsObjectBigIntLike(e){return IsObjectPropertyCount(e,0)}function IsObjectDateLike(e){return IsObjectPropertyCount(e,0)}function IsObjectUint8ArrayLike(e){return IsObjectArrayLike(e)}function IsObjectFunctionLike(e){const t=number_Number();return IsObjectPropertyCount(e,0)||IsObjectPropertyCount(e,1)&&"length"in e.properties&&IntoBooleanResult(extends_check_Visit(e.properties["length"],t))===et.True}function IsObjectConstructorLike(e){return IsObjectPropertyCount(e,0)}function IsObjectArrayLike(e){const t=number_Number();return IsObjectPropertyCount(e,0)||IsObjectPropertyCount(e,1)&&"length"in e.properties&&IntoBooleanResult(extends_check_Visit(e.properties["length"],t))===et.True}function IsObjectPromiseLike(e){const t=function_Function([Any()],Any());return IsObjectPropertyCount(e,0)||IsObjectPropertyCount(e,1)&&"then"in e.properties&&IntoBooleanResult(extends_check_Visit(e.properties["then"],t))===et.True}function Property(e,t){return extends_check_Visit(e,t)===et.False?et.False:type_IsOptional(e)&&!type_IsOptional(t)?et.False:et.True}function FromObjectRight(e,t){return type_IsUnknown(e)?et.False:type_IsAny(e)?et.Union:type_IsNever(e)||type_IsLiteralString(e)&&IsObjectStringLike(t)||type_IsLiteralNumber(e)&&IsObjectNumberLike(t)||type_IsLiteralBoolean(e)&&IsObjectBooleanLike(t)||type_IsSymbol(e)&&IsObjectSymbolLike(t)||type_IsBigInt(e)&&IsObjectBigIntLike(t)||type_IsString(e)&&IsObjectStringLike(t)||type_IsSymbol(e)&&IsObjectSymbolLike(t)||type_IsNumber(e)&&IsObjectNumberLike(t)||type_IsInteger(e)&&IsObjectNumberLike(t)||type_IsBoolean(e)&&IsObjectBooleanLike(t)||type_IsUint8Array(e)&&IsObjectUint8ArrayLike(t)||type_IsDate(e)&&IsObjectDateLike(t)||type_IsConstructor(e)&&IsObjectConstructorLike(t)||type_IsFunction(e)&&IsObjectFunctionLike(t)?et.True:type_IsRecord(e)&&type_IsString(RecordKey(e))?(()=>t[xe]==="Record"?et.True:et.False)():type_IsRecord(e)&&type_IsNumber(RecordKey(e))?(()=>IsObjectPropertyCount(t,0)?et.True:et.False)():et.False}function FromObject(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):!type_IsObject(t)?et.False:(()=>{for(const r of Object.getOwnPropertyNames(t.properties)){if(!(r in e.properties)&&!type_IsOptional(t.properties[r])){return et.False}if(type_IsOptional(t.properties[r])){return et.True}if(Property(e.properties[r],t.properties[r])===et.False){return et.False}}return et.True})()}function extends_check_FromPromise(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)&&IsObjectPromiseLike(t)?et.True:!type_IsPromise(t)?et.False:IntoBooleanResult(extends_check_Visit(e.item,t.item))}function RecordKey(e){return ze in e.patternProperties?number_Number():Ze in e.patternProperties?string_String():Throw("Unknown record key pattern")}function RecordValue(e){return ze in e.patternProperties?e.patternProperties[ze]:Ze in e.patternProperties?e.patternProperties[Ze]:Throw("Unable to get record value schema")}function FromRecordRight(e,t){const[r,s]=[RecordKey(t),RecordValue(t)];return type_IsLiteralString(e)&&type_IsNumber(r)&&IntoBooleanResult(extends_check_Visit(e,s))===et.True?et.True:type_IsUint8Array(e)&&type_IsNumber(r)?extends_check_Visit(e,s):type_IsString(e)&&type_IsNumber(r)?extends_check_Visit(e,s):type_IsArray(e)&&type_IsNumber(r)?extends_check_Visit(e,s):type_IsObject(e)?(()=>{for(const t of Object.getOwnPropertyNames(e.properties)){if(Property(s,e.properties[t])===et.False){return et.False}}return et.True})():et.False}function FromRecord(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):!type_IsRecord(t)?et.False:extends_check_Visit(RecordValue(e),RecordValue(t))}function FromRegExp(e,t){const r=type_IsRegExp(e)?string_String():e;const s=type_IsRegExp(t)?string_String():t;return extends_check_Visit(r,s)}function FromStringRight(e,t){return type_IsLiteral(e)&&value_IsString(e.const)?et.True:type_IsString(e)?et.True:et.False}function FromString(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsString(t)?et.True:et.False}function FromSymbol(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsSymbol(t)?et.True:et.False}function extends_check_FromTemplateLiteral(e,t){return type_IsTemplateLiteral(e)?extends_check_Visit(TemplateLiteralToUnion(e),t):type_IsTemplateLiteral(t)?extends_check_Visit(e,TemplateLiteralToUnion(t)):Throw("Invalid fallthrough for TemplateLiteral")}function IsArrayOfTuple(e,t){return type_IsArray(t)&&e.items!==undefined&&e.items.every((e=>extends_check_Visit(e,t.items)===et.True))}function FromTupleRight(e,t){return type_IsNever(e)?et.True:type_IsUnknown(e)?et.False:type_IsAny(e)?et.Union:et.False}function extends_check_FromTuple(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)&&IsObjectArrayLike(t)?et.True:type_IsArray(t)&&IsArrayOfTuple(e,t)?et.True:!type_IsTuple(t)?et.False:value_IsUndefined(e.items)&&!value_IsUndefined(t.items)||!value_IsUndefined(e.items)&&value_IsUndefined(t.items)?et.False:value_IsUndefined(e.items)&&!value_IsUndefined(t.items)?et.True:e.items.every(((e,r)=>extends_check_Visit(e,t.items[r])===et.True))?et.True:et.False}function FromUint8Array(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsUint8Array(t)?et.True:et.False}function FromUndefined(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsVoid(t)?FromVoidRight(e,t):type_IsUndefined(t)?et.True:et.False}function FromUnionRight(e,t){return t.anyOf.some((t=>extends_check_Visit(e,t)===et.True))?et.True:et.False}function extends_check_FromUnion(e,t){return e.anyOf.every((e=>extends_check_Visit(e,t)===et.True))?et.True:et.False}function FromUnknownRight(e,t){return et.True}function FromUnknown(e,t){return type_IsNever(t)?FromNeverRight(e,t):type_IsIntersect(t)?FromIntersectRight(e,t):type_IsUnion(t)?FromUnionRight(e,t):type_IsAny(t)?FromAnyRight(e,t):type_IsString(t)?FromStringRight(e,t):type_IsNumber(t)?FromNumberRight(e,t):type_IsInteger(t)?FromIntegerRight(e,t):type_IsBoolean(t)?FromBooleanRight(e,t):type_IsArray(t)?FromArrayRight(e,t):type_IsTuple(t)?FromTupleRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsUnknown(t)?et.True:et.False}function FromVoidRight(e,t){return type_IsUndefined(e)?et.True:type_IsUndefined(e)?et.True:et.False}function FromVoid(e,t){return type_IsIntersect(t)?FromIntersectRight(e,t):type_IsUnion(t)?FromUnionRight(e,t):type_IsUnknown(t)?FromUnknownRight(e,t):type_IsAny(t)?FromAnyRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsVoid(t)?et.True:et.False}function extends_check_Visit(e,t){return type_IsTemplateLiteral(e)||type_IsTemplateLiteral(t)?extends_check_FromTemplateLiteral(e,t):type_IsRegExp(e)||type_IsRegExp(t)?FromRegExp(e,t):type_IsNot(e)||type_IsNot(t)?FromNot(e,t):type_IsAny(e)?FromAny(e,t):type_IsArray(e)?extends_check_FromArray(e,t):type_IsBigInt(e)?FromBigInt(e,t):type_IsBoolean(e)?FromBoolean(e,t):type_IsAsyncIterator(e)?FromAsyncIterator(e,t):type_IsConstructor(e)?FromConstructor(e,t):type_IsDate(e)?FromDate(e,t):type_IsFunction(e)?FromFunction(e,t):type_IsInteger(e)?FromInteger(e,t):type_IsIntersect(e)?extends_check_FromIntersect(e,t):type_IsIterator(e)?FromIterator(e,t):type_IsLiteral(e)?extends_check_FromLiteral(e,t):type_IsNever(e)?FromNever(e,t):type_IsNull(e)?FromNull(e,t):type_IsNumber(e)?FromNumber(e,t):type_IsObject(e)?FromObject(e,t):type_IsRecord(e)?FromRecord(e,t):type_IsString(e)?FromString(e,t):type_IsSymbol(e)?FromSymbol(e,t):type_IsTuple(e)?extends_check_FromTuple(e,t):type_IsPromise(e)?extends_check_FromPromise(e,t):type_IsUint8Array(e)?FromUint8Array(e,t):type_IsUndefined(e)?FromUndefined(e,t):type_IsUnion(e)?extends_check_FromUnion(e,t):type_IsUnknown(e)?FromUnknown(e,t):type_IsVoid(e)?FromVoid(e,t):Throw(`Unknown left type operand '${e[He]}'`)}function ExtendsCheck(e,t){return extends_check_Visit(e,t)}function exclude_from_mapped_result_FromProperties(e,t){const r={};for(const s of globalThis.Object.getOwnPropertyNames(e))r[s]=Exclude(e[s],t);return r}function exclude_from_mapped_result_FromMappedResult(e,t){return exclude_from_mapped_result_FromProperties(e.properties,t)}function ExcludeFromMappedResult(e,t){const r=exclude_from_mapped_result_FromMappedResult(e,t);return MappedResult(r)}function ExcludeFromTemplateLiteral(e,t){return Exclude(TemplateLiteralToUnion(e),t)}function ExcludeRest(e,t){const r=e.filter((e=>ExtendsCheck(e,t)===et.False));return r.length===1?r[0]:Union(r)}function Exclude(e,t,r={}){if(IsTemplateLiteral(e))return CreateType(ExcludeFromTemplateLiteral(e,t),r);if(IsMappedResult(e))return CreateType(ExcludeFromMappedResult(e,t),r);return CreateType(IsUnion(e)?ExcludeRest(e.anyOf,t):ExtendsCheck(e,t)!==et.False?Never():e,r)}function FromPropertyKey(e,t,r,s,o){return{[e]:Extends(Literal(e),t,r,s,Clone(o))}}function FromPropertyKeys(e,t,r,s,o){return e.reduce(((e,n)=>({...e,...FromPropertyKey(n,t,r,s,o)})),{})}function FromMappedKey(e,t,r,s,o){return FromPropertyKeys(e.keys,t,r,s,o)}function ExtendsFromMappedKey(e,t,r,s,o){const n=FromMappedKey(e,t,r,s,o);return MappedResult(n)}function extends_from_mapped_result_FromProperties(e,t,r,s,o){const n={};for(const A of globalThis.Object.getOwnPropertyNames(e))n[A]=Extends(e[A],t,r,s,Clone(o));return n}function extends_from_mapped_result_FromMappedResult(e,t,r,s,o){return extends_from_mapped_result_FromProperties(e.properties,t,r,s,o)}function ExtendsFromMappedResult(e,t,r,s,o){const n=extends_from_mapped_result_FromMappedResult(e,t,r,s,o);return MappedResult(n)}function ExtendsResolve(e,t,r,s){const o=ExtendsCheck(e,t);return o===et.Union?Union([r,s]):o===et.True?r:s}function Extends(e,t,r,s,o){return IsMappedResult(e)?ExtendsFromMappedResult(e,t,r,s,o):IsMappedKey(e)?CreateType(ExtendsFromMappedKey(e,t,r,s,o)):CreateType(ExtendsResolve(e,t,r,s),o)}function extract_from_mapped_result_FromProperties(e,t){const r={};for(const s of globalThis.Object.getOwnPropertyNames(e))r[s]=Extract(e[s],t);return r}function extract_from_mapped_result_FromMappedResult(e,t){return extract_from_mapped_result_FromProperties(e.properties,t)}function ExtractFromMappedResult(e,t){const r=extract_from_mapped_result_FromMappedResult(e,t);return MappedResult(r)}function ExtractFromTemplateLiteral(e,t){return Extract(TemplateLiteralToUnion(e),t)}function ExtractRest(e,t){const r=e.filter((e=>ExtendsCheck(e,t)!==et.False));return r.length===1?r[0]:Union(r)}function Extract(e,t,r){if(IsTemplateLiteral(e))return CreateType(ExtractFromTemplateLiteral(e,t),r);if(IsMappedResult(e))return CreateType(ExtractFromMappedResult(e,t),r);return CreateType(IsUnion(e)?ExtractRest(e.anyOf,t):ExtendsCheck(e,t)!==et.False?e:Never(),r)}function InstanceType(e,t){return CreateType(e.returns,t)}function Integer(e){return CreateType({[He]:"Integer",type:"integer"},e)}function*syntax_FromUnion(e){const t=e.trim().replace(/"|'/g,"");return t==="boolean"?yield boolean_Boolean():t==="number"?yield number_Number():t==="bigint"?yield bigint_BigInt():t==="string"?yield string_String():yield(()=>{const e=t.split("|").map((e=>Literal(e.trim())));return e.length===0?Never():e.length===1?e[0]:UnionEvaluated(e)})()}function*FromTerminal(e){if(e[1]!=="{"){const t=Literal("$");const r=FromSyntax(e.slice(1));return yield*[t,...r]}for(let t=2;t<e.length;t++){if(e[t]==="}"){const r=syntax_FromUnion(e.slice(2,t));const s=FromSyntax(e.slice(t+1));return yield*[...r,...s]}}yield Literal(e)}function*FromSyntax(e){for(let t=0;t<e.length;t++){if(e[t]==="$"){const r=Literal(e.slice(0,t));const s=FromTerminal(e.slice(t));return yield*[r,...s]}}yield Literal(e)}function TemplateLiteralSyntax(e){return[...FromSyntax(e)]}class TemplateLiteralPatternError extends error_TypeBoxError{}function Escape(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function pattern_Visit(e,t){return IsTemplateLiteral(e)?e.pattern.slice(1,e.pattern.length-1):IsUnion(e)?`(${e.anyOf.map((e=>pattern_Visit(e,t))).join("|")})`:kind_IsNumber(e)?`${t}${qe}`:kind_IsInteger(e)?`${t}${qe}`:kind_IsBigInt(e)?`${t}${qe}`:kind_IsString(e)?`${t}${je}`:IsLiteral(e)?`${t}${Escape(e.const.toString())}`:kind_IsBoolean(e)?`${t}${Je}`:(()=>{throw new TemplateLiteralPatternError(`Unexpected Kind '${e[He]}'`)})()}function TemplateLiteralPattern(e){return`^${e.map((e=>pattern_Visit(e,""))).join("")}$`}function TemplateLiteral(e,t){const r=value_IsString(e)?TemplateLiteralPattern(TemplateLiteralSyntax(e)):TemplateLiteralPattern(e);return CreateType({[He]:"TemplateLiteral",type:"string",pattern:r},t)}function MappedIntrinsicPropertyKey(e,t,r){return{[e]:Intrinsic(Literal(e),t,Clone(r))}}function MappedIntrinsicPropertyKeys(e,t,r){const s=e.reduce(((e,s)=>({...e,...MappedIntrinsicPropertyKey(s,t,r)})),{});return s}function MappedIntrinsicProperties(e,t,r){return MappedIntrinsicPropertyKeys(e["keys"],t,r)}function IntrinsicFromMappedKey(e,t,r){const s=MappedIntrinsicProperties(e,t,r);return MappedResult(s)}function ApplyUncapitalize(e){const[t,r]=[e.slice(0,1),e.slice(1)];return[t.toLowerCase(),r].join("")}function ApplyCapitalize(e){const[t,r]=[e.slice(0,1),e.slice(1)];return[t.toUpperCase(),r].join("")}function ApplyUppercase(e){return e.toUpperCase()}function ApplyLowercase(e){return e.toLowerCase()}function intrinsic_FromTemplateLiteral(e,t,r){const s=TemplateLiteralParseExact(e.pattern);const o=IsTemplateLiteralExpressionFinite(s);if(!o)return{...e,pattern:FromLiteralValue(e.pattern,t)};const n=[...TemplateLiteralExpressionGenerate(s)];const A=n.map((e=>Literal(e)));const i=intrinsic_FromRest(A,t);const a=Union(i);return TemplateLiteral([a],r)}function FromLiteralValue(e,t){return typeof e==="string"?t==="Uncapitalize"?ApplyUncapitalize(e):t==="Capitalize"?ApplyCapitalize(e):t==="Uppercase"?ApplyUppercase(e):t==="Lowercase"?ApplyLowercase(e):e:e.toString()}function intrinsic_FromRest(e,t){return e.map((e=>Intrinsic(e,t)))}function Intrinsic(e,t,r={}){return IsMappedKey(e)?IntrinsicFromMappedKey(e,t,r):IsTemplateLiteral(e)?intrinsic_FromTemplateLiteral(e,t,r):IsUnion(e)?Union(intrinsic_FromRest(e.anyOf,t),r):IsLiteral(e)?Literal(FromLiteralValue(e.const,t),r):CreateType(e,r)}function Capitalize(e,t={}){return Intrinsic(e,"Capitalize",t)}function Uncapitalize(e,t={}){return Intrinsic(e,"Uncapitalize",t)}function Lowercase(e,t={}){return Intrinsic(e,"Lowercase",t)}function Uppercase(e,t={}){return Intrinsic(e,"Uppercase",t)}function Iterator(e,t){return CreateType({[He]:"Iterator",type:"Iterator",items:e},t)}function keyof_from_mapped_result_FromProperties(e,t){const r={};for(const s of globalThis.Object.getOwnPropertyNames(e))r[s]=KeyOf(e[s],Clone(t));return r}function keyof_from_mapped_result_FromMappedResult(e,t){return keyof_from_mapped_result_FromProperties(e.properties,t)}function KeyOfFromMappedResult(e,t){const r=keyof_from_mapped_result_FromMappedResult(e,t);return MappedResult(r)}function keyof_FromComputed(e,t){return Computed("KeyOf",[Computed(e,t)])}function keyof_FromRef(e){return Computed("KeyOf",[Ref(e)])}function KeyOfFromType(e,t){const r=KeyOfPropertyKeys(e);const s=KeyOfPropertyKeysToRest(r);const o=UnionEvaluated(s);return CreateType(o,t)}function KeyOfPropertyKeysToRest(e){return e.map((e=>e==="[number]"?number_Number():Literal(e)))}function KeyOf(e,t){return IsComputed(e)?keyof_FromComputed(e.target,e.parameters):IsRef(e)?keyof_FromRef(e.$ref):IsMappedResult(e)?KeyOfFromMappedResult(e,t):KeyOfFromType(e,t)}function promise_Promise(e,t){return CreateType({[He]:"Promise",type:"Promise",item:e},t)}function mapped_FromMappedResult(e,t){return e in t?FromSchemaType(e,t[e]):MappedResult(t)}function MappedKeyToKnownMappedResultProperties(e){return{[e]:Literal(e)}}function MappedKeyToUnknownMappedResultProperties(e){const t={};for(const r of e)t[r]=Literal(r);return t}function MappedKeyToMappedResultProperties(e,t){return SetIncludes(t,e)?MappedKeyToKnownMappedResultProperties(e):MappedKeyToUnknownMappedResultProperties(t)}function mapped_FromMappedKey(e,t){const r=MappedKeyToMappedResultProperties(e,t);return mapped_FromMappedResult(e,r)}function mapped_FromRest(e,t){return t.map((t=>FromSchemaType(e,t)))}function mapped_FromProperties(e,t){const r={};for(const s of globalThis.Object.getOwnPropertyNames(t))r[s]=FromSchemaType(e,t[s]);return r}function FromSchemaType(e,t){const r={...t};return IsOptional(t)?Optional(FromSchemaType(e,Discard(t,[Me]))):IsReadonly(t)?Readonly(FromSchemaType(e,Discard(t,[Pe]))):IsMappedResult(t)?mapped_FromMappedResult(e,t.properties):IsMappedKey(t)?mapped_FromMappedKey(e,t.keys):IsConstructor(t)?Constructor(mapped_FromRest(e,t.parameters),FromSchemaType(e,t.returns),r):kind_IsFunction(t)?function_Function(mapped_FromRest(e,t.parameters),FromSchemaType(e,t.returns),r):kind_IsAsyncIterator(t)?AsyncIterator(FromSchemaType(e,t.items),r):kind_IsIterator(t)?Iterator(FromSchemaType(e,t.items),r):IsIntersect(t)?Intersect(mapped_FromRest(e,t.allOf),r):IsUnion(t)?Union(mapped_FromRest(e,t.anyOf),r):IsTuple(t)?Tuple(mapped_FromRest(e,t.items??[]),r):kind_IsObject(t)?Ye(mapped_FromProperties(e,t.properties),r):kind_IsArray(t)?array_Array(FromSchemaType(e,t.items),r):kind_IsPromise(t)?promise_Promise(FromSchemaType(e,t.item),r):t}function MappedFunctionReturnType(e,t){const r={};for(const s of e)r[s]=FromSchemaType(s,t);return r}function Mapped(e,t,r){const s=IsSchema(e)?IndexPropertyKeys(e):e;const o=t({[He]:"MappedKey",keys:s});const n=MappedFunctionReturnType(s,o);return Ye(n,r)}function omit_from_mapped_key_FromPropertyKey(e,t,r){return{[t]:Omit(e,[t],Clone(r))}}function omit_from_mapped_key_FromPropertyKeys(e,t,r){return t.reduce(((t,s)=>({...t,...omit_from_mapped_key_FromPropertyKey(e,s,r)})),{})}function omit_from_mapped_key_FromMappedKey(e,t,r){return omit_from_mapped_key_FromPropertyKeys(e,t.keys,r)}function OmitFromMappedKey(e,t,r){const s=omit_from_mapped_key_FromMappedKey(e,t,r);return MappedResult(s)}function omit_from_mapped_result_FromProperties(e,t,r){const s={};for(const o of globalThis.Object.getOwnPropertyNames(e))s[o]=Omit(e[o],t,Clone(r));return s}function omit_from_mapped_result_FromMappedResult(e,t,r){return omit_from_mapped_result_FromProperties(e.properties,t,r)}function OmitFromMappedResult(e,t,r){const s=omit_from_mapped_result_FromMappedResult(e,t,r);return MappedResult(s)}function omit_FromIntersect(e,t){return e.map((e=>OmitResolve(e,t)))}function omit_FromUnion(e,t){return e.map((e=>OmitResolve(e,t)))}function omit_FromProperty(e,t){const{[t]:r,...s}=e;return s}function omit_FromProperties(e,t){return t.reduce(((e,t)=>omit_FromProperty(e,t)),e)}function omit_FromObject(e,t){const r=Discard(e,[Le,"$id","required","properties"]);const s=omit_FromProperties(e["properties"],t);return Ye(s,r)}function omit_UnionFromPropertyKeys(e){const t=e.reduce(((e,t)=>IsLiteralValue(t)?[...e,Literal(t)]:e),[]);return Union(t)}function OmitResolve(e,t){return IsIntersect(e)?Intersect(omit_FromIntersect(e.allOf,t)):IsUnion(e)?Union(omit_FromUnion(e.anyOf,t)):kind_IsObject(e)?omit_FromObject(e,t):Ye({})}function Omit(e,t,r){const s=value_IsArray(t)?omit_UnionFromPropertyKeys(t):t;const o=IsSchema(t)?IndexPropertyKeys(t):t;const n=IsRef(e);const A=IsRef(t);return IsMappedResult(e)?OmitFromMappedResult(e,o,r):IsMappedKey(t)?OmitFromMappedKey(e,t,r):n&&A?Computed("Omit",[e,s],r):!n&&A?Computed("Omit",[e,s],r):n&&!A?Computed("Omit",[e,s],r):CreateType({...OmitResolve(e,o),...r})}function pick_from_mapped_key_FromPropertyKey(e,t,r){return{[t]:Pick(e,[t],Clone(r))}}function pick_from_mapped_key_FromPropertyKeys(e,t,r){return t.reduce(((t,s)=>({...t,...pick_from_mapped_key_FromPropertyKey(e,s,r)})),{})}function pick_from_mapped_key_FromMappedKey(e,t,r){return pick_from_mapped_key_FromPropertyKeys(e,t.keys,r)}function PickFromMappedKey(e,t,r){const s=pick_from_mapped_key_FromMappedKey(e,t,r);return MappedResult(s)}function pick_from_mapped_result_FromProperties(e,t,r){const s={};for(const o of globalThis.Object.getOwnPropertyNames(e))s[o]=Pick(e[o],t,Clone(r));return s}function pick_from_mapped_result_FromMappedResult(e,t,r){return pick_from_mapped_result_FromProperties(e.properties,t,r)}function PickFromMappedResult(e,t,r){const s=pick_from_mapped_result_FromMappedResult(e,t,r);return MappedResult(s)}function pick_FromIntersect(e,t){return e.map((e=>PickResolve(e,t)))}function pick_FromUnion(e,t){return e.map((e=>PickResolve(e,t)))}function pick_FromProperties(e,t){const r={};for(const s of t)if(s in e)r[s]=e[s];return r}function pick_FromObject(e,t){const r=Discard(e,[Le,"$id","required","properties"]);const s=pick_FromProperties(e["properties"],t);return Ye(s,r)}function pick_UnionFromPropertyKeys(e){const t=e.reduce(((e,t)=>IsLiteralValue(t)?[...e,Literal(t)]:e),[]);return Union(t)}function PickResolve(e,t){return IsIntersect(e)?Intersect(pick_FromIntersect(e.allOf,t)):IsUnion(e)?Union(pick_FromUnion(e.anyOf,t)):kind_IsObject(e)?pick_FromObject(e,t):Ye({})}function Pick(e,t,r){const s=value_IsArray(t)?pick_UnionFromPropertyKeys(t):t;const o=IsSchema(t)?IndexPropertyKeys(t):t;const n=IsRef(e);const A=IsRef(t);return IsMappedResult(e)?PickFromMappedResult(e,o,r):IsMappedKey(t)?PickFromMappedKey(e,t,r):n&&A?Computed("Pick",[e,s],r):!n&&A?Computed("Pick",[e,s],r):n&&!A?Computed("Pick",[e,s],r):CreateType({...PickResolve(e,o),...r})}function partial_from_mapped_result_FromProperties(e,t){const r={};for(const s of globalThis.Object.getOwnPropertyNames(e))r[s]=Partial(e[s],Clone(t));return r}function partial_from_mapped_result_FromMappedResult(e,t){return partial_from_mapped_result_FromProperties(e.properties,t)}function PartialFromMappedResult(e,t){const r=partial_from_mapped_result_FromMappedResult(e,t);return MappedResult(r)}function partial_FromComputed(e,t){return Computed("Partial",[Computed(e,t)])}function partial_FromRef(e){return Computed("Partial",[Ref(e)])}function partial_FromProperties(e){const t={};for(const r of globalThis.Object.getOwnPropertyNames(e))t[r]=Optional(e[r]);return t}function partial_FromObject(e){const t=Discard(e,[Le,"$id","required","properties"]);const r=partial_FromProperties(e["properties"]);return Ye(r,t)}function partial_FromRest(e){return e.map((e=>PartialResolve(e)))}function PartialResolve(e){return IsComputed(e)?partial_FromComputed(e.target,e.parameters):IsRef(e)?partial_FromRef(e.$ref):IsIntersect(e)?Intersect(partial_FromRest(e.allOf)):IsUnion(e)?Union(partial_FromRest(e.anyOf)):kind_IsObject(e)?partial_FromObject(e):Ye({})}function Partial(e,t){if(IsMappedResult(e)){return PartialFromMappedResult(e,t)}else{return CreateType({...PartialResolve(e),...t})}}function RecordCreateFromPattern(e,t,r){return CreateType({[He]:"Record",type:"object",patternProperties:{[e]:t}},r)}function RecordCreateFromKeys(e,t,r){const s={};for(const r of e)s[r]=t;return Ye(s,{...r,[xe]:"Record"})}function FromTemplateLiteralKey(e,t,r){return IsTemplateLiteralFinite(e)?RecordCreateFromKeys(IndexPropertyKeys(e),t,r):RecordCreateFromPattern(e.pattern,t,r)}function FromUnionKey(e,t,r){return RecordCreateFromKeys(IndexPropertyKeys(Union(e)),t,r)}function FromLiteralKey(e,t,r){return RecordCreateFromKeys([e.toString()],t,r)}function FromRegExpKey(e,t,r){return RecordCreateFromPattern(e.source,t,r)}function FromStringKey(e,t,r){const s=value_IsUndefined(e.pattern)?Ze:e.pattern;return RecordCreateFromPattern(s,t,r)}function FromAnyKey(e,t,r){return RecordCreateFromPattern(Ze,t,r)}function FromNeverKey(e,t,r){return RecordCreateFromPattern(Xe,t,r)}function FromIntegerKey(e,t,r){return RecordCreateFromPattern(ze,t,r)}function FromNumberKey(e,t,r){return RecordCreateFromPattern(ze,t,r)}function Record(e,t,r={}){return IsRef(t)?Computed("Record",[e,t]):IsRef(e)?Computed("Record",[e,t]):IsUnion(e)?FromUnionKey(e.anyOf,t,r):IsTemplateLiteral(e)?FromTemplateLiteralKey(e,t,r):IsLiteral(e)?FromLiteralKey(e.const,t,r):kind_IsInteger(e)?FromIntegerKey(e,t,r):kind_IsNumber(e)?FromNumberKey(e,t,r):kind_IsRegExp(e)?FromRegExpKey(e,t,r):kind_IsString(e)?FromStringKey(e,t,r):IsAny(e)?FromAnyKey(e,t,r):IsNever(e)?FromNeverKey(e,t,r):Never(r)}function required_from_mapped_result_FromProperties(e,t){const r={};for(const s of globalThis.Object.getOwnPropertyNames(e))r[s]=Required(e[s],t);return r}function required_from_mapped_result_FromMappedResult(e,t){return required_from_mapped_result_FromProperties(e.properties,t)}function RequiredFromMappedResult(e,t){const r=required_from_mapped_result_FromMappedResult(e,t);return MappedResult(r)}function required_FromComputed(e,t){return Computed("Required",[Computed(e,t)])}function required_FromRef(e){return Computed("Required",[Ref(e)])}function required_FromProperties(e){const t={};for(const r of globalThis.Object.getOwnPropertyNames(e))t[r]=Discard(e[r],[Me]);return t}function required_FromObject(e){const t=Discard(e,[Le,"$id","required","properties"]);const r=required_FromProperties(e["properties"]);return Ye(r,t)}function required_FromRest(e){return e.map((e=>RequiredResolve(e)))}function RequiredResolve(e){return IsComputed(e)?required_FromComputed(e.target,e.parameters):IsRef(e)?required_FromRef(e.$ref):IsIntersect(e)?Intersect(required_FromRest(e.allOf)):IsUnion(e)?Union(required_FromRest(e.anyOf)):kind_IsObject(e)?required_FromObject(e):Ye({})}function Required(e,t){if(IsMappedResult(e)){return RequiredFromMappedResult(e,t)}else{return CreateType({...RequiredResolve(e),...t})}}function DerefParameters(e,t){return t.map((t=>IsRef(t)?Deref(e,t.$ref):compute_FromType(e,t)))}function Deref(e,t){return t in e?IsRef(e[t])?Deref(e,e[t].$ref):compute_FromType(e,e[t]):Never()}function FromAwaited(e){return Awaited(e[0])}function FromIndex(e){return Index(e[0],e[1])}function FromKeyOf(e){return KeyOf(e[0])}function FromPartial(e){return Partial(e[0])}function FromOmit(e){return Omit(e[0],e[1])}function FromPick(e){return Pick(e[0],e[1])}function compute_FromRecord(e){return Record(e[0],e[1])}function FromRequired(e){return Required(e[0])}function compute_FromComputed(e,t,r){const s=DerefParameters(e,r);return t==="Awaited"?FromAwaited(s):t==="Index"?FromIndex(s):t==="KeyOf"?FromKeyOf(s):t==="Partial"?FromPartial(s):t==="Omit"?FromOmit(s):t==="Pick"?FromPick(s):t==="Record"?compute_FromRecord(s):t==="Required"?FromRequired(s):Never()}function compute_FromObject(e,t){return Ye(globalThis.Object.keys(t).reduce(((r,s)=>({...r,[s]:compute_FromType(e,t[s])})),{}))}function compute_FromConstructor(e,t,r){return Constructor(compute_FromRest(e,t),compute_FromType(e,r))}function compute_FromFunction(e,t,r){return function_Function(compute_FromRest(e,t),compute_FromType(e,r))}function compute_FromTuple(e,t){return Tuple(compute_FromRest(e,t))}function compute_FromIntersect(e,t){return Intersect(compute_FromRest(e,t))}function compute_FromUnion(e,t){return Union(compute_FromRest(e,t))}function compute_FromArray(e,t){return array_Array(compute_FromType(e,t))}function compute_FromAsyncIterator(e,t){return AsyncIterator(compute_FromType(e,t))}function compute_FromIterator(e,t){return Iterator(compute_FromType(e,t))}function compute_FromRest(e,t){return t.map((t=>compute_FromType(e,t)))}function compute_FromType(e,t){return IsComputed(t)?CreateType(compute_FromComputed(e,t.target,t.parameters)):kind_IsObject(t)?CreateType(compute_FromObject(e,t.properties),t):IsConstructor(t)?CreateType(compute_FromConstructor(e,t.parameters,t.returns),t):kind_IsFunction(t)?CreateType(compute_FromFunction(e,t.parameters,t.returns),t):IsTuple(t)?CreateType(compute_FromTuple(e,t.items||[]),t):IsIntersect(t)?CreateType(compute_FromIntersect(e,t.allOf),t):IsUnion(t)?CreateType(compute_FromUnion(e,t.anyOf),t):kind_IsArray(t)?CreateType(compute_FromArray(e,t.items),t):kind_IsAsyncIterator(t)?CreateType(compute_FromAsyncIterator(e,t.items),t):kind_IsIterator(t)?CreateType(compute_FromIterator(e,t.items),t):t}function ComputeType(e,t){return t in e?compute_FromType(e,e[t]):Never()}function ComputeModuleProperties(e){return globalThis.Object.getOwnPropertyNames(e).reduce(((t,r)=>({...t,[r]:ComputeType(e,r)})),{})}class TModule{constructor(e){const t=ComputeModuleProperties(e);const r=this.WithIdentifiers(t);this.$defs=r}Import(e,t){return CreateType({[He]:"Import",$defs:this.$defs,$ref:e},t)}WithIdentifiers(e){return globalThis.Object.getOwnPropertyNames(e).reduce(((t,r)=>({...t,[r]:{...e[r],$id:r}})),{})}}function Module(e){return new TModule(e)}function Not(e,t){return CreateType({[He]:"Not",not:e},t)}function Parameters(e,t){return Tuple(e.parameters,t)}function ReadonlyOptional(e){return Readonly(Optional(e))}function CloneRest(e){return e.map((e=>CloneType(e)))}function CloneType(e,t){return t===undefined?Clone(e):Clone({...t,...e})}let tt=0;function Recursive(e,t={}){if(value_IsUndefined(t.$id))t.$id=`T${tt++}`;const r=CloneType(e({[He]:"This",$ref:`${t.$id}`}));r.$id=t.$id;return CreateType({[xe]:"Recursive",...r},t)}function regexp_RegExp(e,t){const r=value_IsString(e)?new globalThis.RegExp(e):e;return CreateType({[He]:"RegExp",type:"RegExp",source:r.source,flags:r.flags},t)}function RestResolve(e){return IsIntersect(e)?e.allOf:IsUnion(e)?e.anyOf:IsTuple(e)?e.items??[]:[]}function Rest(e){return RestResolve(e)}function ReturnType(e,t){return CreateType(e.returns,t)}class TransformDecodeBuilder{constructor(e){this.schema=e}Decode(e){return new TransformEncodeBuilder(this.schema,e)}}class TransformEncodeBuilder{constructor(e,t){this.schema=e;this.decode=t}EncodeTransform(e,t){const Encode=r=>t[Le].Encode(e(r));const Decode=e=>this.decode(t[Le].Decode(e));const r={Encode:Encode,Decode:Decode};return{...t,[Le]:r}}EncodeSchema(e,t){const r={Decode:this.decode,Encode:e};return{...t,[Le]:r}}Encode(e){return IsTransform(this.schema)?this.EncodeTransform(e,this.schema):this.EncodeSchema(e,this.schema)}}function Transform(e){return new TransformDecodeBuilder(e)}function Unsafe(e={}){return CreateType({[He]:e[He]??"Unsafe"},e)}function Void(e){return CreateType({[He]:"Void",type:"void"},e)}const rt=o;function KeyOfPropertyEntries(e){const t=KeyOfPropertyKeys(e);const r=IndexFromPropertyKeys(e,t);return t.map(((e,s)=>[t[s],r[s]]))}class TypeDereferenceError extends error_TypeBoxError{constructor(e){super(`Unable to dereference schema with $id '${e.$ref}'`);this.schema=e}}function Resolve(e,t){const r=t.find((t=>t.$id===e.$ref));if(r===undefined)throw new TypeDereferenceError(e);return deref_Deref(r,t)}function Pushref(e,t){if(!IsString(e.$id)||t.some((t=>t.$id===e.$id)))return t;t.push(e);return t}function deref_Deref(e,t){return e[He]==="This"||e[He]==="Ref"?Resolve(e,t):e}class ValueHashError extends error_TypeBoxError{constructor(e){super(`Unable to hash value`);this.value=e}}var st;(function(e){e[e["Undefined"]=0]="Undefined";e[e["Null"]=1]="Null";e[e["Boolean"]=2]="Boolean";e[e["Number"]=3]="Number";e[e["String"]=4]="String";e[e["Object"]=5]="Object";e[e["Array"]=6]="Array";e[e["Date"]=7]="Date";e[e["Uint8Array"]=8]="Uint8Array";e[e["Symbol"]=9]="Symbol";e[e["BigInt"]=10]="BigInt"})(st||(st={}));let ot=BigInt("14695981039346656037");const[nt,At]=[BigInt("1099511628211"),BigInt("18446744073709551616")];const it=Array.from({length:256}).map(((e,t)=>BigInt(t)));const at=new Float64Array(1);const ct=new DataView(at.buffer);const lt=new Uint8Array(at.buffer);function*NumberToBytes(e){const t=e===0?1:Math.ceil(Math.floor(Math.log2(e)+1)/8);for(let r=0;r<t;r++){yield e>>8*(t-1-r)&255}}function hash_ArrayType(e){FNV1A64(st.Array);for(const t of e){hash_Visit(t)}}function BooleanType(e){FNV1A64(st.Boolean);FNV1A64(e?1:0)}function BigIntType(e){FNV1A64(st.BigInt);ct.setBigInt64(0,e);for(const e of lt){FNV1A64(e)}}function hash_DateType(e){FNV1A64(st.Date);hash_Visit(e.getTime())}function NullType(e){FNV1A64(st.Null)}function NumberType(e){FNV1A64(st.Number);ct.setFloat64(0,e);for(const e of lt){FNV1A64(e)}}function hash_ObjectType(e){FNV1A64(st.Object);for(const t of globalThis.Object.getOwnPropertyNames(e).sort()){hash_Visit(t);hash_Visit(e[t])}}function StringType(e){FNV1A64(st.String);for(let t=0;t<e.length;t++){for(const r of NumberToBytes(e.charCodeAt(t))){FNV1A64(r)}}}function SymbolType(e){FNV1A64(st.Symbol);hash_Visit(e.description)}function hash_Uint8ArrayType(e){FNV1A64(st.Uint8Array);for(let t=0;t<e.length;t++){FNV1A64(e[t])}}function UndefinedType(e){return FNV1A64(st.Undefined)}function hash_Visit(e){if(IsArray(e))return hash_ArrayType(e);if(IsBoolean(e))return BooleanType(e);if(IsBigInt(e))return BigIntType(e);if(IsDate(e))return hash_DateType(e);if(IsNull(e))return NullType(e);if(IsNumber(e))return NumberType(e);if(IsObject(e))return hash_ObjectType(e);if(IsString(e))return StringType(e);if(IsSymbol(e))return SymbolType(e);if(IsUint8Array(e))return hash_Uint8ArrayType(e);if(IsUndefined(e))return UndefinedType(e);throw new ValueHashError(e)}function FNV1A64(e){ot=ot^it[e];ot=ot*nt%At}function Hash(e){ot=BigInt("14695981039346656037");hash_Visit(e);return ot}function extends_undefined_Intersect(e){return e.allOf.every((e=>ExtendsUndefinedCheck(e)))}function extends_undefined_Union(e){return e.anyOf.some((e=>ExtendsUndefinedCheck(e)))}function extends_undefined_Not(e){return!ExtendsUndefinedCheck(e.not)}function ExtendsUndefinedCheck(e){return e[He]==="Intersect"?extends_undefined_Intersect(e):e[He]==="Union"?extends_undefined_Union(e):e[He]==="Not"?extends_undefined_Not(e):e[He]==="Undefined"?true:false}const ut=new Map;function Entries(){return new Map(ut)}function Clear(){return ut.clear()}function Delete(e){return ut.delete(e)}function Has(e){return ut.has(e)}function format_Set(e,t){ut.set(e,t)}function Get(e){return ut.get(e)}const gt=new Map;function type_Entries(){return new Map(gt)}function type_Clear(){return gt.clear()}function type_Delete(e){return gt.delete(e)}function type_Has(e){return gt.has(e)}function type_Set(e,t){gt.set(e,t)}function type_Get(e){return gt.get(e)}class ValueCheckUnknownTypeError extends error_TypeBoxError{constructor(e){super(`Unknown type`);this.schema=e}}function IsAnyOrUnknown(e){return e[He]==="Any"||e[He]==="Unknown"}function IsDefined(e){return e!==undefined}function check_FromAny(e,t,r){return true}function check_FromArray(e,t,r){if(!IsArray(r))return false;if(IsDefined(e.minItems)&&!(r.length>=e.minItems)){return false}if(IsDefined(e.maxItems)&&!(r.length<=e.maxItems)){return false}if(!r.every((r=>check_Visit(e.items,t,r)))){return false}if(e.uniqueItems===true&&!function(){const e=new Set;for(const t of r){const r=Hash(t);if(e.has(r)){return false}else{e.add(r)}}return true}()){return false}if(!(IsDefined(e.contains)||IsNumber(e.minContains)||IsNumber(e.maxContains))){return true}const s=IsDefined(e.contains)?e.contains:Never();const o=r.reduce(((e,r)=>check_Visit(s,t,r)?e+1:e),0);if(o===0){return false}if(IsNumber(e.minContains)&&o<e.minContains){return false}if(IsNumber(e.maxContains)&&o>e.maxContains){return false}return true}function check_FromAsyncIterator(e,t,r){return IsAsyncIterator(r)}function check_FromBigInt(e,t,r){if(!IsBigInt(r))return false;if(IsDefined(e.exclusiveMaximum)&&!(r<e.exclusiveMaximum)){return false}if(IsDefined(e.exclusiveMinimum)&&!(r>e.exclusiveMinimum)){return false}if(IsDefined(e.maximum)&&!(r<=e.maximum)){return false}if(IsDefined(e.minimum)&&!(r>=e.minimum)){return false}if(IsDefined(e.multipleOf)&&!(r%e.multipleOf===BigInt(0))){return false}return true}function check_FromBoolean(e,t,r){return IsBoolean(r)}function check_FromConstructor(e,t,r){return check_Visit(e.returns,t,r.prototype)}function check_FromDate(e,t,r){if(!IsDate(r))return false;if(IsDefined(e.exclusiveMaximumTimestamp)&&!(r.getTime()<e.exclusiveMaximumTimestamp)){return false}if(IsDefined(e.exclusiveMinimumTimestamp)&&!(r.getTime()>e.exclusiveMinimumTimestamp)){return false}if(IsDefined(e.maximumTimestamp)&&!(r.getTime()<=e.maximumTimestamp)){return false}if(IsDefined(e.minimumTimestamp)&&!(r.getTime()>=e.minimumTimestamp)){return false}if(IsDefined(e.multipleOfTimestamp)&&!(r.getTime()%e.multipleOfTimestamp===0)){return false}return true}function check_FromFunction(e,t,r){return IsFunction(r)}function FromImport(e,t,r){const s=globalThis.Object.values(e.$defs);const o=e.$defs[e.$ref];return check_Visit(o,[...t,...s],r)}function check_FromInteger(e,t,r){if(!IsInteger(r)){return false}if(IsDefined(e.exclusiveMaximum)&&!(r<e.exclusiveMaximum)){return false}if(IsDefined(e.exclusiveMinimum)&&!(r>e.exclusiveMinimum)){return false}if(IsDefined(e.maximum)&&!(r<=e.maximum)){return false}if(IsDefined(e.minimum)&&!(r>=e.minimum)){return false}if(IsDefined(e.multipleOf)&&!(r%e.multipleOf===0)){return false}return true}function check_FromIntersect(e,t,r){const s=e.allOf.every((e=>check_Visit(e,t,r)));if(e.unevaluatedProperties===false){const t=new RegExp(KeyOfPattern(e));const o=Object.getOwnPropertyNames(r).every((e=>t.test(e)));return s&&o}else if(IsSchema(e.unevaluatedProperties)){const o=new RegExp(KeyOfPattern(e));const n=Object.getOwnPropertyNames(r).every((s=>o.test(s)||check_Visit(e.unevaluatedProperties,t,r[s])));return s&&n}else{return s}}function check_FromIterator(e,t,r){return IsIterator(r)}function check_FromLiteral(e,t,r){return r===e.const}function check_FromNever(e,t,r){return false}function check_FromNot(e,t,r){return!check_Visit(e.not,t,r)}function check_FromNull(e,t,r){return IsNull(r)}function check_FromNumber(e,t,r){if(!Ge.IsNumberLike(r))return false;if(IsDefined(e.exclusiveMaximum)&&!(r<e.exclusiveMaximum)){return false}if(IsDefined(e.exclusiveMinimum)&&!(r>e.exclusiveMinimum)){return false}if(IsDefined(e.minimum)&&!(r>=e.minimum)){return false}if(IsDefined(e.maximum)&&!(r<=e.maximum)){return false}if(IsDefined(e.multipleOf)&&!(r%e.multipleOf===0)){return false}return true}function check_FromObject(e,t,r){if(!Ge.IsObjectLike(r))return false;if(IsDefined(e.minProperties)&&!(Object.getOwnPropertyNames(r).length>=e.minProperties)){return false}if(IsDefined(e.maxProperties)&&!(Object.getOwnPropertyNames(r).length<=e.maxProperties)){return false}const s=Object.getOwnPropertyNames(e.properties);for(const o of s){const s=e.properties[o];if(e.required&&e.required.includes(o)){if(!check_Visit(s,t,r[o])){return false}if((ExtendsUndefinedCheck(s)||IsAnyOrUnknown(s))&&!(o in r)){return false}}else{if(Ge.IsExactOptionalProperty(r,o)&&!check_Visit(s,t,r[o])){return false}}}if(e.additionalProperties===false){const t=Object.getOwnPropertyNames(r);if(e.required&&e.required.length===s.length&&t.length===s.length){return true}else{return t.every((e=>s.includes(e)))}}else if(typeof e.additionalProperties==="object"){const o=Object.getOwnPropertyNames(r);return o.every((o=>s.includes(o)||check_Visit(e.additionalProperties,t,r[o])))}else{return true}}function check_FromPromise(e,t,r){return IsPromise(r)}function check_FromRecord(e,t,r){if(!Ge.IsRecordLike(r)){return false}if(IsDefined(e.minProperties)&&!(Object.getOwnPropertyNames(r).length>=e.minProperties)){return false}if(IsDefined(e.maxProperties)&&!(Object.getOwnPropertyNames(r).length<=e.maxProperties)){return false}const[s,o]=Object.entries(e.patternProperties)[0];const n=new RegExp(s);const A=Object.entries(r).every((([e,r])=>n.test(e)?check_Visit(o,t,r):true));const i=typeof e.additionalProperties==="object"?Object.entries(r).every((([r,s])=>!n.test(r)?check_Visit(e.additionalProperties,t,s):true)):true;const a=e.additionalProperties===false?Object.getOwnPropertyNames(r).every((e=>n.test(e))):true;return A&&i&&a}function check_FromRef(e,t,r){return check_Visit(deref_Deref(e,t),t,r)}function check_FromRegExp(e,t,r){const s=new RegExp(e.source,e.flags);if(IsDefined(e.minLength)){if(!(r.length>=e.minLength))return false}if(IsDefined(e.maxLength)){if(!(r.length<=e.maxLength))return false}return s.test(r)}function check_FromString(e,t,r){if(!IsString(r)){return false}if(IsDefined(e.minLength)){if(!(r.length>=e.minLength))return false}if(IsDefined(e.maxLength)){if(!(r.length<=e.maxLength))return false}if(IsDefined(e.pattern)){const t=new RegExp(e.pattern);if(!t.test(r))return false}if(IsDefined(e.format)){if(!Has(e.format))return false;const t=Get(e.format);return t(r)}return true}function check_FromSymbol(e,t,r){return IsSymbol(r)}function check_FromTemplateLiteral(e,t,r){return IsString(r)&&new RegExp(e.pattern).test(r)}function FromThis(e,t,r){return check_Visit(deref_Deref(e,t),t,r)}function check_FromTuple(e,t,r){if(!IsArray(r)){return false}if(e.items===undefined&&!(r.length===0)){return false}if(!(r.length===e.maxItems)){return false}if(!e.items){return true}for(let s=0;s<e.items.length;s++){if(!check_Visit(e.items[s],t,r[s]))return false}return true}function check_FromUndefined(e,t,r){return IsUndefined(r)}function check_FromUnion(e,t,r){return e.anyOf.some((e=>check_Visit(e,t,r)))}function check_FromUint8Array(e,t,r){if(!IsUint8Array(r)){return false}if(IsDefined(e.maxByteLength)&&!(r.length<=e.maxByteLength)){return false}if(IsDefined(e.minByteLength)&&!(r.length>=e.minByteLength)){return false}return true}function check_FromUnknown(e,t,r){return true}function check_FromVoid(e,t,r){return Ge.IsVoidLike(r)}function FromKind(e,t,r){if(!type_Has(e[He]))return false;const s=type_Get(e[He]);return s(e,r)}function check_Visit(e,t,r){const s=IsDefined(e.$id)?Pushref(e,t):t;const o=e;switch(o[He]){case"Any":return check_FromAny(o,s,r);case"Array":return check_FromArray(o,s,r);case"AsyncIterator":return check_FromAsyncIterator(o,s,r);case"BigInt":return check_FromBigInt(o,s,r);case"Boolean":return check_FromBoolean(o,s,r);case"Constructor":return check_FromConstructor(o,s,r);case"Date":return check_FromDate(o,s,r);case"Function":return check_FromFunction(o,s,r);case"Import":return FromImport(o,s,r);case"Integer":return check_FromInteger(o,s,r);case"Intersect":return check_FromIntersect(o,s,r);case"Iterator":return check_FromIterator(o,s,r);case"Literal":return check_FromLiteral(o,s,r);case"Never":return check_FromNever(o,s,r);case"Not":return check_FromNot(o,s,r);case"Null":return check_FromNull(o,s,r);case"Number":return check_FromNumber(o,s,r);case"Object":return check_FromObject(o,s,r);case"Promise":return check_FromPromise(o,s,r);case"Record":return check_FromRecord(o,s,r);case"Ref":return check_FromRef(o,s,r);case"RegExp":return check_FromRegExp(o,s,r);case"String":return check_FromString(o,s,r);case"Symbol":return check_FromSymbol(o,s,r);case"TemplateLiteral":return check_FromTemplateLiteral(o,s,r);case"This":return FromThis(o,s,r);case"Tuple":return check_FromTuple(o,s,r);case"Undefined":return check_FromUndefined(o,s,r);case"Union":return check_FromUnion(o,s,r);case"Uint8Array":return check_FromUint8Array(o,s,r);case"Unknown":return check_FromUnknown(o,s,r);case"Void":return check_FromVoid(o,s,r);default:if(!type_Has(o[He]))throw new ValueCheckUnknownTypeError(o);return FromKind(o,s,r)}}function Check(...e){return e.length===3?check_Visit(e[0],e[1],e[2]):check_Visit(e[0],[],e[1])}class TransformDecodeCheckError extends error_TypeBoxError{constructor(e,t,r){super(`Unable to decode value as it does not match the expected schema`);this.schema=e;this.value=t;this.error=r}}class TransformDecodeError extends error_TypeBoxError{constructor(e,t,r,s){super(s instanceof Error?s.message:"Unknown error");this.schema=e;this.path=t;this.value=r;this.error=s}}function Default(e,t,r){try{return IsTransform(e)?e[Le].Decode(r):r}catch(s){throw new TransformDecodeError(e,t,r,s)}}function decode_FromArray(e,t,r,s){return IsArray(s)?Default(e,r,s.map(((s,o)=>decode_Visit(e.items,t,`${r}/${o}`,s)))):Default(e,r,s)}function decode_FromIntersect(e,t,r,s){if(!IsObject(s)||IsValueType(s))return Default(e,r,s);const o=KeyOfPropertyEntries(e);const n=o.map((e=>e[0]));const A={...s};for(const[e,s]of o)if(e in A){A[e]=decode_Visit(s,t,`${r}/${e}`,A[e])}if(!IsTransform(e.unevaluatedProperties)){return Default(e,r,A)}const i=Object.getOwnPropertyNames(A);const a=e.unevaluatedProperties;const c={...A};for(const e of i)if(!n.includes(e)){c[e]=Default(a,`${r}/${e}`,c[e])}return Default(e,r,c)}function decode_FromImport(e,t,r,s){const o=globalThis.Object.values(e.$defs);const n=e.$defs[e.$ref];const A=e[Le];const i={[Le]:A,...n};return decode_Visit(i,[...t,...o],r,s)}function decode_FromNot(e,t,r,s){return Default(e,r,decode_Visit(e.not,t,r,s))}function decode_FromObject(e,t,r,s){if(!IsObject(s))return Default(e,r,s);const o=KeyOfPropertyKeys(e);const n={...s};for(const s of o){if(!HasPropertyKey(n,s))continue;if(IsUndefined(n[s])&&(!kind_IsUndefined(e.properties[s])||Ge.IsExactOptionalProperty(n,s)))continue;n[s]=decode_Visit(e.properties[s],t,`${r}/${s}`,n[s])}if(!IsSchema(e.additionalProperties)){return Default(e,r,n)}const A=Object.getOwnPropertyNames(n);const i=e.additionalProperties;const a={...n};for(const e of A)if(!o.includes(e)){a[e]=Default(i,`${r}/${e}`,a[e])}return Default(e,r,a)}function decode_FromRecord(e,t,r,s){if(!IsObject(s))return Default(e,r,s);const o=Object.getOwnPropertyNames(e.patternProperties)[0];const n=new RegExp(o);const A={...s};for(const i of Object.getOwnPropertyNames(s))if(n.test(i)){A[i]=decode_Visit(e.patternProperties[o],t,`${r}/${i}`,A[i])}if(!IsSchema(e.additionalProperties)){return Default(e,r,A)}const i=Object.getOwnPropertyNames(A);const a=e.additionalProperties;const c={...A};for(const e of i)if(!n.test(e)){c[e]=Default(a,`${r}/${e}`,c[e])}return Default(e,r,c)}function decode_FromRef(e,t,r,s){const o=deref_Deref(e,t);return Default(e,r,decode_Visit(o,t,r,s))}function decode_FromThis(e,t,r,s){const o=deref_Deref(e,t);return Default(e,r,decode_Visit(o,t,r,s))}function decode_FromTuple(e,t,r,s){return IsArray(s)&&IsArray(e.items)?Default(e,r,e.items.map(((e,o)=>decode_Visit(e,t,`${r}/${o}`,s[o])))):Default(e,r,s)}function decode_FromUnion(e,t,r,s){for(const o of e.anyOf){if(!Check(o,t,s))continue;const n=decode_Visit(o,t,r,s);return Default(e,r,n)}return Default(e,r,s)}function decode_Visit(e,t,r,s){const o=Pushref(e,t);const n=e;switch(e[He]){case"Array":return decode_FromArray(n,o,r,s);case"Import":return decode_FromImport(n,o,r,s);case"Intersect":return decode_FromIntersect(n,o,r,s);case"Not":return decode_FromNot(n,o,r,s);case"Object":return decode_FromObject(n,o,r,s);case"Record":return decode_FromRecord(n,o,r,s);case"Ref":return decode_FromRef(n,o,r,s);case"Symbol":return Default(n,r,s);case"This":return decode_FromThis(n,o,r,s);case"Tuple":return decode_FromTuple(n,o,r,s);case"Union":return decode_FromUnion(n,o,r,s);default:return Default(n,r,s)}}function TransformDecode(e,t,r){return decode_Visit(e,t,"",r)}function has_FromArray(e,t){return IsTransform(e)||has_Visit(e.items,t)}function has_FromAsyncIterator(e,t){return IsTransform(e)||has_Visit(e.items,t)}function has_FromConstructor(e,t){return IsTransform(e)||has_Visit(e.returns,t)||e.parameters.some((e=>has_Visit(e,t)))}function has_FromFunction(e,t){return IsTransform(e)||has_Visit(e.returns,t)||e.parameters.some((e=>has_Visit(e,t)))}function has_FromIntersect(e,t){return IsTransform(e)||IsTransform(e.unevaluatedProperties)||e.allOf.some((e=>has_Visit(e,t)))}function has_FromIterator(e,t){return IsTransform(e)||has_Visit(e.items,t)}function has_FromNot(e,t){return IsTransform(e)||has_Visit(e.not,t)}function has_FromObject(e,t){return IsTransform(e)||Object.values(e.properties).some((e=>has_Visit(e,t)))||IsSchema(e.additionalProperties)&&has_Visit(e.additionalProperties,t)}function has_FromPromise(e,t){return IsTransform(e)||has_Visit(e.item,t)}function has_FromRecord(e,t){const r=Object.getOwnPropertyNames(e.patternProperties)[0];const s=e.patternProperties[r];return IsTransform(e)||has_Visit(s,t)||IsSchema(e.additionalProperties)&&IsTransform(e.additionalProperties)}function has_FromRef(e,t){if(IsTransform(e))return true;return has_Visit(deref_Deref(e,t),t)}function has_FromThis(e,t){if(IsTransform(e))return true;return has_Visit(deref_Deref(e,t),t)}function has_FromTuple(e,t){return IsTransform(e)||!IsUndefined(e.items)&&e.items.some((e=>has_Visit(e,t)))}function has_FromUnion(e,t){return IsTransform(e)||e.anyOf.some((e=>has_Visit(e,t)))}function has_Visit(e,t){const r=Pushref(e,t);const s=e;if(e.$id&&pt.has(e.$id))return false;if(e.$id)pt.add(e.$id);switch(e[He]){case"Array":return has_FromArray(s,r);case"AsyncIterator":return has_FromAsyncIterator(s,r);case"Constructor":return has_FromConstructor(s,r);case"Function":return has_FromFunction(s,r);case"Intersect":return has_FromIntersect(s,r);case"Iterator":return has_FromIterator(s,r);case"Not":return has_FromNot(s,r);case"Object":return has_FromObject(s,r);case"Promise":return has_FromPromise(s,r);case"Record":return has_FromRecord(s,r);case"Ref":return has_FromRef(s,r);case"This":return has_FromThis(s,r);case"Tuple":return has_FromTuple(s,r);case"Union":return has_FromUnion(s,r);default:return IsTransform(e)}}const pt=new Set;function HasTransform(e,t){pt.clear();return has_Visit(e,t)}function DefaultErrorFunction(e){switch(e.errorType){case Et.ArrayContains:return"Expected array to contain at least one matching value";case Et.ArrayMaxContains:return`Expected array to contain no more than ${e.schema.maxContains} matching values`;case Et.ArrayMinContains:return`Expected array to contain at least ${e.schema.minContains} matching values`;case Et.ArrayMaxItems:return`Expected array length to be less or equal to ${e.schema.maxItems}`;case Et.ArrayMinItems:return`Expected array length to be greater or equal to ${e.schema.minItems}`;case Et.ArrayUniqueItems:return"Expected array elements to be unique";case Et.Array:return"Expected array";case Et.AsyncIterator:return"Expected AsyncIterator";case Et.BigIntExclusiveMaximum:return`Expected bigint to be less than ${e.schema.exclusiveMaximum}`;case Et.BigIntExclusiveMinimum:return`Expected bigint to be greater than ${e.schema.exclusiveMinimum}`;case Et.BigIntMaximum:return`Expected bigint to be less or equal to ${e.schema.maximum}`;case Et.BigIntMinimum:return`Expected bigint to be greater or equal to ${e.schema.minimum}`;case Et.BigIntMultipleOf:return`Expected bigint to be a multiple of ${e.schema.multipleOf}`;case Et.BigInt:return"Expected bigint";case Et.Boolean:return"Expected boolean";case Et.DateExclusiveMinimumTimestamp:return`Expected Date timestamp to be greater than ${e.schema.exclusiveMinimumTimestamp}`;case Et.DateExclusiveMaximumTimestamp:return`Expected Date timestamp to be less than ${e.schema.exclusiveMaximumTimestamp}`;case Et.DateMinimumTimestamp:return`Expected Date timestamp to be greater or equal to ${e.schema.minimumTimestamp}`;case Et.DateMaximumTimestamp:return`Expected Date timestamp to be less or equal to ${e.schema.maximumTimestamp}`;case Et.DateMultipleOfTimestamp:return`Expected Date timestamp to be a multiple of ${e.schema.multipleOfTimestamp}`;case Et.Date:return"Expected Date";case Et.Function:return"Expected function";case Et.IntegerExclusiveMaximum:return`Expected integer to be less than ${e.schema.exclusiveMaximum}`;case Et.IntegerExclusiveMinimum:return`Expected integer to be greater than ${e.schema.exclusiveMinimum}`;case Et.IntegerMaximum:return`Expected integer to be less or equal to ${e.schema.maximum}`;case Et.IntegerMinimum:return`Expected integer to be greater or equal to ${e.schema.minimum}`;case Et.IntegerMultipleOf:return`Expected integer to be a multiple of ${e.schema.multipleOf}`;case Et.Integer:return"Expected integer";case Et.IntersectUnevaluatedProperties:return"Unexpected property";case Et.Intersect:return"Expected all values to match";case Et.Iterator:return"Expected Iterator";case Et.Literal:return`Expected ${typeof e.schema.const==="string"?`'${e.schema.const}'`:e.schema.const}`;case Et.Never:return"Never";case Et.Not:return"Value should not match";case Et.Null:return"Expected null";case Et.NumberExclusiveMaximum:return`Expected number to be less than ${e.schema.exclusiveMaximum}`;case Et.NumberExclusiveMinimum:return`Expected number to be greater than ${e.schema.exclusiveMinimum}`;case Et.NumberMaximum:return`Expected number to be less or equal to ${e.schema.maximum}`;case Et.NumberMinimum:return`Expected number to be greater or equal to ${e.schema.minimum}`;case Et.NumberMultipleOf:return`Expected number to be a multiple of ${e.schema.multipleOf}`;case Et.Number:return"Expected number";case Et.Object:return"Expected object";case Et.ObjectAdditionalProperties:return"Unexpected property";case Et.ObjectMaxProperties:return`Expected object to have no more than ${e.schema.maxProperties} properties`;case Et.ObjectMinProperties:return`Expected object to have at least ${e.schema.minProperties} properties`;case Et.ObjectRequiredProperty:return"Expected required property";case Et.Promise:return"Expected Promise";case Et.RegExp:return"Expected string to match regular expression";case Et.StringFormatUnknown:return`Unknown format '${e.schema.format}'`;case Et.StringFormat:return`Expected string to match '${e.schema.format}' format`;case Et.StringMaxLength:return`Expected string length less or equal to ${e.schema.maxLength}`;case Et.StringMinLength:return`Expected string length greater or equal to ${e.schema.minLength}`;case Et.StringPattern:return`Expected string to match '${e.schema.pattern}'`;case Et.String:return"Expected string";case Et.Symbol:return"Expected symbol";case Et.TupleLength:return`Expected tuple to have ${e.schema.maxItems||0} elements`;case Et.Tuple:return"Expected tuple";case Et.Uint8ArrayMaxByteLength:return`Expected byte length less or equal to ${e.schema.maxByteLength}`;case Et.Uint8ArrayMinByteLength:return`Expected byte length greater or equal to ${e.schema.minByteLength}`;case Et.Uint8Array:return"Expected Uint8Array";case Et.Undefined:return"Expected undefined";case Et.Union:return"Expected union value";case Et.Void:return"Expected void";case Et.Kind:return`Expected kind '${e.schema[He]}'`;default:return"Unknown error type"}}let dt=DefaultErrorFunction;function SetErrorFunction(e){dt=e}function GetErrorFunction(){return dt}var Et;(function(e){e[e["ArrayContains"]=0]="ArrayContains";e[e["ArrayMaxContains"]=1]="ArrayMaxContains";e[e["ArrayMaxItems"]=2]="ArrayMaxItems";e[e["ArrayMinContains"]=3]="ArrayMinContains";e[e["ArrayMinItems"]=4]="ArrayMinItems";e[e["ArrayUniqueItems"]=5]="ArrayUniqueItems";e[e["Array"]=6]="Array";e[e["AsyncIterator"]=7]="AsyncIterator";e[e["BigIntExclusiveMaximum"]=8]="BigIntExclusiveMaximum";e[e["BigIntExclusiveMinimum"]=9]="BigIntExclusiveMinimum";e[e["BigIntMaximum"]=10]="BigIntMaximum";e[e["BigIntMinimum"]=11]="BigIntMinimum";e[e["BigIntMultipleOf"]=12]="BigIntMultipleOf";e[e["BigInt"]=13]="BigInt";e[e["Boolean"]=14]="Boolean";e[e["DateExclusiveMaximumTimestamp"]=15]="DateExclusiveMaximumTimestamp";e[e["DateExclusiveMinimumTimestamp"]=16]="DateExclusiveMinimumTimestamp";e[e["DateMaximumTimestamp"]=17]="DateMaximumTimestamp";e[e["DateMinimumTimestamp"]=18]="DateMinimumTimestamp";e[e["DateMultipleOfTimestamp"]=19]="DateMultipleOfTimestamp";e[e["Date"]=20]="Date";e[e["Function"]=21]="Function";e[e["IntegerExclusiveMaximum"]=22]="IntegerExclusiveMaximum";e[e["IntegerExclusiveMinimum"]=23]="IntegerExclusiveMinimum";e[e["IntegerMaximum"]=24]="IntegerMaximum";e[e["IntegerMinimum"]=25]="IntegerMinimum";e[e["IntegerMultipleOf"]=26]="IntegerMultipleOf";e[e["Integer"]=27]="Integer";e[e["IntersectUnevaluatedProperties"]=28]="IntersectUnevaluatedProperties";e[e["Intersect"]=29]="Intersect";e[e["Iterator"]=30]="Iterator";e[e["Kind"]=31]="Kind";e[e["Literal"]=32]="Literal";e[e["Never"]=33]="Never";e[e["Not"]=34]="Not";e[e["Null"]=35]="Null";e[e["NumberExclusiveMaximum"]=36]="NumberExclusiveMaximum";e[e["NumberExclusiveMinimum"]=37]="NumberExclusiveMinimum";e[e["NumberMaximum"]=38]="NumberMaximum";e[e["NumberMinimum"]=39]="NumberMinimum";e[e["NumberMultipleOf"]=40]="NumberMultipleOf";e[e["Number"]=41]="Number";e[e["ObjectAdditionalProperties"]=42]="ObjectAdditionalProperties";e[e["ObjectMaxProperties"]=43]="ObjectMaxProperties";e[e["ObjectMinProperties"]=44]="ObjectMinProperties";e[e["ObjectRequiredProperty"]=45]="ObjectRequiredProperty";e[e["Object"]=46]="Object";e[e["Promise"]=47]="Promise";e[e["RegExp"]=48]="RegExp";e[e["StringFormatUnknown"]=49]="StringFormatUnknown";e[e["StringFormat"]=50]="StringFormat";e[e["StringMaxLength"]=51]="StringMaxLength";e[e["StringMinLength"]=52]="StringMinLength";e[e["StringPattern"]=53]="StringPattern";e[e["String"]=54]="String";e[e["Symbol"]=55]="Symbol";e[e["TupleLength"]=56]="TupleLength";e[e["Tuple"]=57]="Tuple";e[e["Uint8ArrayMaxByteLength"]=58]="Uint8ArrayMaxByteLength";e[e["Uint8ArrayMinByteLength"]=59]="Uint8ArrayMinByteLength";e[e["Uint8Array"]=60]="Uint8Array";e[e["Undefined"]=61]="Undefined";e[e["Union"]=62]="Union";e[e["Void"]=63]="Void"})(Et||(Et={}));class ValueErrorsUnknownTypeError extends error_TypeBoxError{constructor(e){super("Unknown type");this.schema=e}}function EscapeKey(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function errors_IsDefined(e){return e!==undefined}class ValueErrorIterator{constructor(e){this.iterator=e}[Symbol.iterator](){return this.iterator}First(){const e=this.iterator.next();return e.done?undefined:e.value}}function Create(e,t,r,s,o=[]){return{type:e,schema:t,path:r,value:s,message:GetErrorFunction()({errorType:e,path:r,schema:t,value:s,errors:o}),errors:o}}function*errors_FromAny(e,t,r,s){}function*errors_FromArray(e,t,r,s){if(!IsArray(s)){return yield Create(Et.Array,e,r,s)}if(errors_IsDefined(e.minItems)&&!(s.length>=e.minItems)){yield Create(Et.ArrayMinItems,e,r,s)}if(errors_IsDefined(e.maxItems)&&!(s.length<=e.maxItems)){yield Create(Et.ArrayMaxItems,e,r,s)}for(let o=0;o<s.length;o++){yield*errors_Visit(e.items,t,`${r}/${o}`,s[o])}if(e.uniqueItems===true&&!function(){const e=new Set;for(const t of s){const r=Hash(t);if(e.has(r)){return false}else{e.add(r)}}return true}()){yield Create(Et.ArrayUniqueItems,e,r,s)}if(!(errors_IsDefined(e.contains)||errors_IsDefined(e.minContains)||errors_IsDefined(e.maxContains))){return}const o=errors_IsDefined(e.contains)?e.contains:Never();const n=s.reduce(((e,s,n)=>errors_Visit(o,t,`${r}${n}`,s).next().done===true?e+1:e),0);if(n===0){yield Create(Et.ArrayContains,e,r,s)}if(IsNumber(e.minContains)&&n<e.minContains){yield Create(Et.ArrayMinContains,e,r,s)}if(IsNumber(e.maxContains)&&n>e.maxContains){yield Create(Et.ArrayMaxContains,e,r,s)}}function*errors_FromAsyncIterator(e,t,r,s){if(!IsAsyncIterator(s))yield Create(Et.AsyncIterator,e,r,s)}function*errors_FromBigInt(e,t,r,s){if(!IsBigInt(s))return yield Create(Et.BigInt,e,r,s);if(errors_IsDefined(e.exclusiveMaximum)&&!(s<e.exclusiveMaximum)){yield Create(Et.BigIntExclusiveMaximum,e,r,s)}if(errors_IsDefined(e.exclusiveMinimum)&&!(s>e.exclusiveMinimum)){yield Create(Et.BigIntExclusiveMinimum,e,r,s)}if(errors_IsDefined(e.maximum)&&!(s<=e.maximum)){yield Create(Et.BigIntMaximum,e,r,s)}if(errors_IsDefined(e.minimum)&&!(s>=e.minimum)){yield Create(Et.BigIntMinimum,e,r,s)}if(errors_IsDefined(e.multipleOf)&&!(s%e.multipleOf===BigInt(0))){yield Create(Et.BigIntMultipleOf,e,r,s)}}function*errors_FromBoolean(e,t,r,s){if(!IsBoolean(s))yield Create(Et.Boolean,e,r,s)}function*errors_FromConstructor(e,t,r,s){yield*errors_Visit(e.returns,t,r,s.prototype)}function*errors_FromDate(e,t,r,s){if(!IsDate(s))return yield Create(Et.Date,e,r,s);if(errors_IsDefined(e.exclusiveMaximumTimestamp)&&!(s.getTime()<e.exclusiveMaximumTimestamp)){yield Create(Et.DateExclusiveMaximumTimestamp,e,r,s)}if(errors_IsDefined(e.exclusiveMinimumTimestamp)&&!(s.getTime()>e.exclusiveMinimumTimestamp)){yield Create(Et.DateExclusiveMinimumTimestamp,e,r,s)}if(errors_IsDefined(e.maximumTimestamp)&&!(s.getTime()<=e.maximumTimestamp)){yield Create(Et.DateMaximumTimestamp,e,r,s)}if(errors_IsDefined(e.minimumTimestamp)&&!(s.getTime()>=e.minimumTimestamp)){yield Create(Et.DateMinimumTimestamp,e,r,s)}if(errors_IsDefined(e.multipleOfTimestamp)&&!(s.getTime()%e.multipleOfTimestamp===0)){yield Create(Et.DateMultipleOfTimestamp,e,r,s)}}function*errors_FromFunction(e,t,r,s){if(!IsFunction(s))yield Create(Et.Function,e,r,s)}function*errors_FromImport(e,t,r,s){const o=globalThis.Object.values(e.$defs);const n=e.$defs[e.$ref];yield*errors_Visit(n,[...t,...o],r,s)}function*errors_FromInteger(e,t,r,s){if(!IsInteger(s))return yield Create(Et.Integer,e,r,s);if(errors_IsDefined(e.exclusiveMaximum)&&!(s<e.exclusiveMaximum)){yield Create(Et.IntegerExclusiveMaximum,e,r,s)}if(errors_IsDefined(e.exclusiveMinimum)&&!(s>e.exclusiveMinimum)){yield Create(Et.IntegerExclusiveMinimum,e,r,s)}if(errors_IsDefined(e.maximum)&&!(s<=e.maximum)){yield Create(Et.IntegerMaximum,e,r,s)}if(errors_IsDefined(e.minimum)&&!(s>=e.minimum)){yield Create(Et.IntegerMinimum,e,r,s)}if(errors_IsDefined(e.multipleOf)&&!(s%e.multipleOf===0)){yield Create(Et.IntegerMultipleOf,e,r,s)}}function*errors_FromIntersect(e,t,r,s){let o=false;for(const n of e.allOf){for(const e of errors_Visit(n,t,r,s)){o=true;yield e}}if(o){return yield Create(Et.Intersect,e,r,s)}if(e.unevaluatedProperties===false){const t=new RegExp(KeyOfPattern(e));for(const o of Object.getOwnPropertyNames(s)){if(!t.test(o)){yield Create(Et.IntersectUnevaluatedProperties,e,`${r}/${o}`,s)}}}if(typeof e.unevaluatedProperties==="object"){const o=new RegExp(KeyOfPattern(e));for(const n of Object.getOwnPropertyNames(s)){if(!o.test(n)){const o=errors_Visit(e.unevaluatedProperties,t,`${r}/${n}`,s[n]).next();if(!o.done)yield o.value}}}}function*errors_FromIterator(e,t,r,s){if(!IsIterator(s))yield Create(Et.Iterator,e,r,s)}function*errors_FromLiteral(e,t,r,s){if(!(s===e.const))yield Create(Et.Literal,e,r,s)}function*errors_FromNever(e,t,r,s){yield Create(Et.Never,e,r,s)}function*errors_FromNot(e,t,r,s){if(errors_Visit(e.not,t,r,s).next().done===true)yield Create(Et.Not,e,r,s)}function*errors_FromNull(e,t,r,s){if(!IsNull(s))yield Create(Et.Null,e,r,s)}function*errors_FromNumber(e,t,r,s){if(!Ge.IsNumberLike(s))return yield Create(Et.Number,e,r,s);if(errors_IsDefined(e.exclusiveMaximum)&&!(s<e.exclusiveMaximum)){yield Create(Et.NumberExclusiveMaximum,e,r,s)}if(errors_IsDefined(e.exclusiveMinimum)&&!(s>e.exclusiveMinimum)){yield Create(Et.NumberExclusiveMinimum,e,r,s)}if(errors_IsDefined(e.maximum)&&!(s<=e.maximum)){yield Create(Et.NumberMaximum,e,r,s)}if(errors_IsDefined(e.minimum)&&!(s>=e.minimum)){yield Create(Et.NumberMinimum,e,r,s)}if(errors_IsDefined(e.multipleOf)&&!(s%e.multipleOf===0)){yield Create(Et.NumberMultipleOf,e,r,s)}}function*errors_FromObject(e,t,r,s){if(!Ge.IsObjectLike(s))return yield Create(Et.Object,e,r,s);if(errors_IsDefined(e.minProperties)&&!(Object.getOwnPropertyNames(s).length>=e.minProperties)){yield Create(Et.ObjectMinProperties,e,r,s)}if(errors_IsDefined(e.maxProperties)&&!(Object.getOwnPropertyNames(s).length<=e.maxProperties)){yield Create(Et.ObjectMaxProperties,e,r,s)}const o=Array.isArray(e.required)?e.required:[];const n=Object.getOwnPropertyNames(e.properties);const A=Object.getOwnPropertyNames(s);for(const t of o){if(A.includes(t))continue;yield Create(Et.ObjectRequiredProperty,e.properties[t],`${r}/${EscapeKey(t)}`,undefined)}if(e.additionalProperties===false){for(const t of A){if(!n.includes(t)){yield Create(Et.ObjectAdditionalProperties,e,`${r}/${EscapeKey(t)}`,s[t])}}}if(typeof e.additionalProperties==="object"){for(const o of A){if(n.includes(o))continue;yield*errors_Visit(e.additionalProperties,t,`${r}/${EscapeKey(o)}`,s[o])}}for(const o of n){const n=e.properties[o];if(e.required&&e.required.includes(o)){yield*errors_Visit(n,t,`${r}/${EscapeKey(o)}`,s[o]);if(ExtendsUndefinedCheck(e)&&!(o in s)){yield Create(Et.ObjectRequiredProperty,n,`${r}/${EscapeKey(o)}`,undefined)}}else{if(Ge.IsExactOptionalProperty(s,o)){yield*errors_Visit(n,t,`${r}/${EscapeKey(o)}`,s[o])}}}}function*errors_FromPromise(e,t,r,s){if(!IsPromise(s))yield Create(Et.Promise,e,r,s)}function*errors_FromRecord(e,t,r,s){if(!Ge.IsRecordLike(s))return yield Create(Et.Object,e,r,s);if(errors_IsDefined(e.minProperties)&&!(Object.getOwnPropertyNames(s).length>=e.minProperties)){yield Create(Et.ObjectMinProperties,e,r,s)}if(errors_IsDefined(e.maxProperties)&&!(Object.getOwnPropertyNames(s).length<=e.maxProperties)){yield Create(Et.ObjectMaxProperties,e,r,s)}const[o,n]=Object.entries(e.patternProperties)[0];const A=new RegExp(o);for(const[e,o]of Object.entries(s)){if(A.test(e))yield*errors_Visit(n,t,`${r}/${EscapeKey(e)}`,o)}if(typeof e.additionalProperties==="object"){for(const[o,n]of Object.entries(s)){if(!A.test(o))yield*errors_Visit(e.additionalProperties,t,`${r}/${EscapeKey(o)}`,n)}}if(e.additionalProperties===false){for(const[t,o]of Object.entries(s)){if(A.test(t))continue;return yield Create(Et.ObjectAdditionalProperties,e,`${r}/${EscapeKey(t)}`,o)}}}function*errors_FromRef(e,t,r,s){yield*errors_Visit(deref_Deref(e,t),t,r,s)}function*errors_FromRegExp(e,t,r,s){if(!IsString(s))return yield Create(Et.String,e,r,s);if(errors_IsDefined(e.minLength)&&!(s.length>=e.minLength)){yield Create(Et.StringMinLength,e,r,s)}if(errors_IsDefined(e.maxLength)&&!(s.length<=e.maxLength)){yield Create(Et.StringMaxLength,e,r,s)}const o=new RegExp(e.source,e.flags);if(!o.test(s)){return yield Create(Et.RegExp,e,r,s)}}function*errors_FromString(e,t,r,s){if(!IsString(s))return yield Create(Et.String,e,r,s);if(errors_IsDefined(e.minLength)&&!(s.length>=e.minLength)){yield Create(Et.StringMinLength,e,r,s)}if(errors_IsDefined(e.maxLength)&&!(s.length<=e.maxLength)){yield Create(Et.StringMaxLength,e,r,s)}if(IsString(e.pattern)){const t=new RegExp(e.pattern);if(!t.test(s)){yield Create(Et.StringPattern,e,r,s)}}if(IsString(e.format)){if(!Has(e.format)){yield Create(Et.StringFormatUnknown,e,r,s)}else{const t=Get(e.format);if(!t(s)){yield Create(Et.StringFormat,e,r,s)}}}}function*errors_FromSymbol(e,t,r,s){if(!IsSymbol(s))yield Create(Et.Symbol,e,r,s)}function*errors_FromTemplateLiteral(e,t,r,s){if(!IsString(s))return yield Create(Et.String,e,r,s);const o=new RegExp(e.pattern);if(!o.test(s)){yield Create(Et.StringPattern,e,r,s)}}function*errors_FromThis(e,t,r,s){yield*errors_Visit(deref_Deref(e,t),t,r,s)}function*errors_FromTuple(e,t,r,s){if(!IsArray(s))return yield Create(Et.Tuple,e,r,s);if(e.items===undefined&&!(s.length===0)){return yield Create(Et.TupleLength,e,r,s)}if(!(s.length===e.maxItems)){return yield Create(Et.TupleLength,e,r,s)}if(!e.items){return}for(let o=0;o<e.items.length;o++){yield*errors_Visit(e.items[o],t,`${r}/${o}`,s[o])}}function*errors_FromUndefined(e,t,r,s){if(!IsUndefined(s))yield Create(Et.Undefined,e,r,s)}function*errors_FromUnion(e,t,r,s){if(Check(e,t,s))return;const o=e.anyOf.map((e=>new ValueErrorIterator(errors_Visit(e,t,r,s))));yield Create(Et.Union,e,r,s,o)}function*errors_FromUint8Array(e,t,r,s){if(!IsUint8Array(s))return yield Create(Et.Uint8Array,e,r,s);if(errors_IsDefined(e.maxByteLength)&&!(s.length<=e.maxByteLength)){yield Create(Et.Uint8ArrayMaxByteLength,e,r,s)}if(errors_IsDefined(e.minByteLength)&&!(s.length>=e.minByteLength)){yield Create(Et.Uint8ArrayMinByteLength,e,r,s)}}function*errors_FromUnknown(e,t,r,s){}function*errors_FromVoid(e,t,r,s){if(!Ge.IsVoidLike(s))yield Create(Et.Void,e,r,s)}function*errors_FromKind(e,t,r,s){const o=type_Get(e[He]);if(!o(e,s))yield Create(Et.Kind,e,r,s)}function*errors_Visit(e,t,r,s){const o=errors_IsDefined(e.$id)?[...t,e]:t;const n=e;switch(n[He]){case"Any":return yield*errors_FromAny(n,o,r,s);case"Array":return yield*errors_FromArray(n,o,r,s);case"AsyncIterator":return yield*errors_FromAsyncIterator(n,o,r,s);case"BigInt":return yield*errors_FromBigInt(n,o,r,s);case"Boolean":return yield*errors_FromBoolean(n,o,r,s);case"Constructor":return yield*errors_FromConstructor(n,o,r,s);case"Date":return yield*errors_FromDate(n,o,r,s);case"Function":return yield*errors_FromFunction(n,o,r,s);case"Import":return yield*errors_FromImport(n,o,r,s);case"Integer":return yield*errors_FromInteger(n,o,r,s);case"Intersect":return yield*errors_FromIntersect(n,o,r,s);case"Iterator":return yield*errors_FromIterator(n,o,r,s);case"Literal":return yield*errors_FromLiteral(n,o,r,s);case"Never":return yield*errors_FromNever(n,o,r,s);case"Not":return yield*errors_FromNot(n,o,r,s);case"Null":return yield*errors_FromNull(n,o,r,s);case"Number":return yield*errors_FromNumber(n,o,r,s);case"Object":return yield*errors_FromObject(n,o,r,s);case"Promise":return yield*errors_FromPromise(n,o,r,s);case"Record":return yield*errors_FromRecord(n,o,r,s);case"Ref":return yield*errors_FromRef(n,o,r,s);case"RegExp":return yield*errors_FromRegExp(n,o,r,s);case"String":return yield*errors_FromString(n,o,r,s);case"Symbol":return yield*errors_FromSymbol(n,o,r,s);case"TemplateLiteral":return yield*errors_FromTemplateLiteral(n,o,r,s);case"This":return yield*errors_FromThis(n,o,r,s);case"Tuple":return yield*errors_FromTuple(n,o,r,s);case"Undefined":return yield*errors_FromUndefined(n,o,r,s);case"Union":return yield*errors_FromUnion(n,o,r,s);case"Uint8Array":return yield*errors_FromUint8Array(n,o,r,s);case"Unknown":return yield*errors_FromUnknown(n,o,r,s);case"Void":return yield*errors_FromVoid(n,o,r,s);default:if(!type_Has(n[He]))throw new ValueErrorsUnknownTypeError(e);return yield*errors_FromKind(n,o,r,s)}}function Errors(...e){const t=e.length===3?errors_Visit(e[0],e[1],"",e[2]):errors_Visit(e[0],[],"",e[1]);return new ValueErrorIterator(t)}function Decode(...e){const[t,r,s]=e.length===3?[e[0],e[1],e[2]]:[e[0],[],e[1]];if(!Check(t,r,s))throw new TransformDecodeCheckError(t,s,Errors(t,r,s).First());return HasTransform(t,r)?TransformDecode(t,r,s):s}function clone_FromObject(e){const t={};for(const r of Object.getOwnPropertyNames(e)){t[r]=clone_Clone(e[r])}for(const r of Object.getOwnPropertySymbols(e)){t[r]=clone_Clone(e[r])}return t}function clone_FromArray(e){return e.map((e=>clone_Clone(e)))}function FromTypedArray(e){return e.slice()}function FromMap(e){return new Map(clone_Clone([...e.entries()]))}function FromSet(e){return new Set(clone_Clone([...e.entries()]))}function clone_FromDate(e){return new Date(e.toISOString())}function clone_FromValue(e){return e}function clone_Clone(e){if(IsArray(e))return clone_FromArray(e);if(IsDate(e))return clone_FromDate(e);if(IsTypedArray(e))return FromTypedArray(e);if(IsMap(e))return FromMap(e);if(IsSet(e))return FromSet(e);if(IsObject(e))return clone_FromObject(e);if(IsValueType(e))return clone_FromValue(e);throw new Error("ValueClone: Unable to clone value")}function ValueOrDefault(e,t){const r=HasPropertyKey(e,"default")?e.default:undefined;const s=IsFunction(r)?r():clone_Clone(r);return IsUndefined(t)?s:IsObject(t)&&IsObject(s)?Object.assign(s,t):t}function HasDefaultProperty(e){return IsKind(e)&&"default"in e}function default_FromArray(e,t,r){if(IsArray(r)){for(let s=0;s<r.length;s++){r[s]=default_Visit(e.items,t,r[s])}return r}const s=ValueOrDefault(e,r);if(!IsArray(s))return s;for(let r=0;r<s.length;r++){s[r]=default_Visit(e.items,t,s[r])}return s}function default_FromDate(e,t,r){return IsDate(r)?r:ValueOrDefault(e,r)}function default_FromImport(e,t,r){const s=globalThis.Object.values(e.$defs);const o=e.$defs[e.$ref];return default_Visit(o,[...t,...s],r)}function default_FromIntersect(e,t,r){const s=ValueOrDefault(e,r);return e.allOf.reduce(((e,r)=>{const o=default_Visit(r,t,s);return IsObject(o)?{...e,...o}:o}),{})}function default_FromObject(e,t,r){const s=ValueOrDefault(e,r);if(!IsObject(s))return s;const o=Object.getOwnPropertyNames(e.properties);for(const r of o){const o=default_Visit(e.properties[r],t,s[r]);if(IsUndefined(o))continue;s[r]=default_Visit(e.properties[r],t,s[r])}if(!HasDefaultProperty(e.additionalProperties))return s;for(const r of Object.getOwnPropertyNames(s)){if(o.includes(r))continue;s[r]=default_Visit(e.additionalProperties,t,s[r])}return s}function default_FromRecord(e,t,r){const s=ValueOrDefault(e,r);if(!IsObject(s))return s;const o=e.additionalProperties;const[n,A]=Object.entries(e.patternProperties)[0];const i=new RegExp(n);for(const e of Object.getOwnPropertyNames(s)){if(!(i.test(e)&&HasDefaultProperty(A)))continue;s[e]=default_Visit(A,t,s[e])}if(!HasDefaultProperty(o))return s;for(const e of Object.getOwnPropertyNames(s)){if(i.test(e))continue;s[e]=default_Visit(o,t,s[e])}return s}function default_FromRef(e,t,r){return default_Visit(deref_Deref(e,t),t,ValueOrDefault(e,r))}function default_FromThis(e,t,r){return default_Visit(deref_Deref(e,t),t,r)}function default_FromTuple(e,t,r){const s=ValueOrDefault(e,r);if(!IsArray(s)||IsUndefined(e.items))return s;const[o,n]=[e.items,Math.max(e.items.length,s.length)];for(let e=0;e<n;e++){if(e<o.length)s[e]=default_Visit(o[e],t,s[e])}return s}function default_FromUnion(e,t,r){const s=ValueOrDefault(e,r);for(const r of e.anyOf){const e=default_Visit(r,t,clone_Clone(s));if(Check(r,t,e)){return e}}return s}function default_Visit(e,t,r){const s=Pushref(e,t);const o=e;switch(o[He]){case"Array":return default_FromArray(o,s,r);case"Date":return default_FromDate(o,s,r);case"Import":return default_FromImport(o,s,r);case"Intersect":return default_FromIntersect(o,s,r);case"Object":return default_FromObject(o,s,r);case"Record":return default_FromRecord(o,s,r);case"Ref":return default_FromRef(o,s,r);case"This":return default_FromThis(o,s,r);case"Tuple":return default_FromTuple(o,s,r);case"Union":return default_FromUnion(o,s,r);default:return ValueOrDefault(o,r)}}function default_Default(...e){return e.length===3?default_Visit(e[0],e[1],e[2]):default_Visit(e[0],[],e[1])}var ht=__nccwpck_require__(7484);var ft=__nccwpck_require__(8889);var It=class _PluginRuntimeInfo{static _instance=null;_env={};constructor(e){if(e){this._env=e}}static getInstance(e){if(!_PluginRuntimeInfo._instance){_PluginRuntimeInfo._instance=getRuntimeKey()==="workerd"?new mt(e):new Ct(e)}return _PluginRuntimeInfo._instance}};var mt=class extends It{get version(){return Promise.resolve(this._env.CLOUDFLARE_VERSION_METADATA?.id??"CLOUDFLARE_VERSION_METADATA")}get runUrl(){const e=this._env.CLOUDFLARE_ACCOUNT_ID??"<missing-cloudflare-account-id>";const t=this._env.CLOUDFLARE_WORKER_NAME;const r=Date.now()+6e4;const s=Date.now()-6e4;const o=encodeURIComponent(`{"type":"absolute","to":${r},"from":${s}}`);return`https://dash.cloudflare.com/${e}/workers/services/view/${t}/production/observability/logs?granularity=0&time=${o}`}};var Ct=class extends It{get version(){return Promise.resolve(J.context.sha)}get runUrl(){return J.context.payload.repository?`${J.context.payload.repository?.html_url}/actions/runs/${J.context.runId}`:"http://localhost"}};var Qt=`-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAs96DOU+JqM8SyNXOB6u3\nuBKIFiyrcST/LZTYN6y7LeJlyCuGPqSDrWCfjU9Ph5PLf9TWiNmeM8DGaOpwEFC7\nU3NRxOSglo4plnQ5zRwIHHXvxyK400sQP2oISXymISuBQWjEIqkC9DybQrKwNzf+\nI0JHWPqmwMIw26UvVOtXGOOWBqTkk+N2+/9f8eDIJP5QQVwwszc8s1rXOsLMlVIf\nwShw7GO4E2jyK8TSJKpyjV8eb1JJMDwFhPiRrtZfQJUtDf2mV/67shQww61BH2Y/\nPlnalo58kWIbkqZoq1yJrL5sFb73osM5+vADTXVn79bkvea7W19nSkdMiarYt4Hq\nJQIDAQAB\n-----END PUBLIC KEY-----\n`;function sanitizeMetadata(e){return JSON.stringify(e,null,2).replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/--/g,"&#45;&#45;")}function getPluginOptions(e){return{kernelPublicKey:e?.kernelPublicKey||Qt,logLevel:e?.logLevel||A.INFO,postCommentOnError:e?.postCommentOnError??true,settingsSchema:e?.settingsSchema,envSchema:e?.envSchema,commandSchema:e?.commandSchema,bypassSignatureVerification:e?.bypassSignatureVerification||false}}var Bt=class _CommentHandler{static HEADER_NAME="UbiquityOS";_lastCommentId={reviewCommentId:null,issueCommentId:null};async _updateIssueComment(e,t){if(!this._lastCommentId.issueCommentId){throw e.logger.error("issueCommentId is missing")}const r=await e.octokit.rest.issues.updateComment({owner:t.owner,repo:t.repo,comment_id:this._lastCommentId.issueCommentId,body:t.body});return{...r.data,issueNumber:t.issueNumber}}async _updateReviewComment(e,t){if(!this._lastCommentId.reviewCommentId){throw e.logger.error("reviewCommentId is missing")}const r=await e.octokit.rest.pulls.updateReviewComment({owner:t.owner,repo:t.repo,comment_id:this._lastCommentId.reviewCommentId,body:t.body});return{...r.data,issueNumber:t.issueNumber}}async _createNewComment(e,t){if(t.commentId){const r=await e.octokit.rest.pulls.createReplyForReviewComment({owner:t.owner,repo:t.repo,pull_number:t.issueNumber,comment_id:t.commentId,body:t.body});this._lastCommentId.reviewCommentId=r.data.id;return{...r.data,issueNumber:t.issueNumber}}const r=await e.octokit.rest.issues.createComment({owner:t.owner,repo:t.repo,issue_number:t.issueNumber,body:t.body});this._lastCommentId.issueCommentId=r.data.id;return{...r.data,issueNumber:t.issueNumber}}_getIssueNumber(e){if("issue"in e.payload)return e.payload.issue.number;if("pull_request"in e.payload)return e.payload.pull_request.number;if("discussion"in e.payload)return e.payload.discussion.number;return void 0}_getCommentId(e){return"pull_request"in e.payload&&"comment"in e.payload?e.payload.comment.id:void 0}_extractIssueContext(e){if(!("repository"in e.payload)||!e.payload.repository?.owner?.login){return null}const t=this._getIssueNumber(e);if(!t)return null;return{issueNumber:t,commentId:this._getCommentId(e),owner:e.payload.repository.owner.login,repo:e.payload.repository.name}}async _processMessage(e,t){if(t instanceof Error){const r={message:t.message,name:t.name,stack:t.stack};return{metadata:r,logMessage:e.logger.error(t.message).logMessage}}const r=t.metadata?{...t.metadata,message:t.metadata.message,stack:t.metadata.stack||t.metadata.error?.stack,caller:t.metadata.caller||t.metadata.error?.stack?.split("\n")[2]?.match(/at (\S+)/)?.[1]}:{...t};return{metadata:r,logMessage:t.logMessage}}_getInstigatorName(e){if("installation"in e.payload&&e.payload.installation&&"account"in e.payload.installation&&e.payload.installation?.account?.name){return e.payload.installation?.account?.name}return e.payload.sender?.login||_CommentHandler.HEADER_NAME}async _createMetadataContent(e,t){const r=sanitizeMetadata(t);const s=this._getInstigatorName(e);const o=It.getInstance().runUrl;const n=await It.getInstance().version;const A=t.caller||"anonymous";return{header:`\x3c!-- ${_CommentHandler.HEADER_NAME} - ${A} - ${n} - @${s} - ${o}`,jsonPretty:r}}_formatMetadataContent(e,t,r){const s=["```json",r,"```"].join("\n");const o=[t,r,"--\x3e"].join("\n");return e?.type==="fatal"?[s,o].join("\n"):o}async _createCommentBody(e,t,r){const{metadata:s,logMessage:o}=await this._processMessage(e,t);const{header:n,jsonPretty:A}=await this._createMetadataContent(e,s);const i=this._formatMetadataContent(o,n,A);return`${r.raw?o?.raw:o?.diff}\n\n${i}\n`}async postComment(e,t,r={updateComment:true,raw:false}){const s=this._extractIssueContext(e);if(!s){e.logger.info("Cannot post comment: missing issue context in payload");return null}const o=await this._createCommentBody(e,t,r);const{issueNumber:n,commentId:A,owner:i,repo:a}=s;const c={owner:i,repo:a,body:o,issueNumber:n};if(r.updateComment){if(this._lastCommentId.issueCommentId&&!("pull_request"in e.payload&&"comment"in e.payload)){return this._updateIssueComment(e,c)}if(this._lastCommentId.reviewCommentId&&"pull_request"in e.payload&&"comment"in e.payload){return this._updateReviewComment(e,c)}}return this._createNewComment(e,{...c,commentId:A})}};var yt={throttle:{onAbuseLimit:(e,t,r)=>{r.log.warn(`Abuse limit hit with "${t.method} ${t.url}", retrying in ${e} seconds.`);return true},onRateLimit:(e,t,r)=>{r.log.warn(`Rate limit hit with "${t.method} ${t.url}", retrying in ${e} seconds.`);return true},onSecondaryRateLimit:(e,t,r)=>{r.log.warn(`Secondary rate limit hit with "${t.method} ${t.url}", retrying in ${e} seconds.`);return true}}};var wt=Octokit.plugin(throttling,retry,paginateRest,restEndpointMethods,paginateGraphQL).defaults((e=>({...yt,...e})));async function verifySignature(e,t,r){try{const s={stateId:t.stateId,eventName:t.eventName,eventPayload:t.eventPayload,settings:t.settings,authToken:t.authToken,ref:t.ref,command:t.command};const o=e.replace("-----BEGIN PUBLIC KEY-----","").replace("-----END PUBLIC KEY-----","").trim();const n=Uint8Array.from(atob(o),(e=>e.charCodeAt(0)));const A=await crypto.subtle.importKey("spki",n,{name:"RSASSA-PKCS1-v1_5",hash:"SHA-256"},true,["verify"]);const i=Uint8Array.from(atob(r),(e=>e.charCodeAt(0)));const a=(new TextEncoder).encode(JSON.stringify(s));return await crypto.subtle.verify("RSASSA-PKCS1-v1_5",A,i,a)}catch(e){console.error(e);return false}}var bt=rt.Union([rt.Null(),rt.Object({name:rt.String(),parameters:rt.Unknown()})]);function jsonType(e){return rt.Transform(rt.String()).Decode((t=>{const r=JSON.parse(t);return Decode(e,default_Default(e,r))})).Encode((e=>JSON.stringify(e)))}var Rt=rt.Object({stateId:rt.String(),eventName:rt.String(),eventPayload:jsonType(rt.Record(rt.String(),rt.Any())),command:jsonType(bt),authToken:rt.String(),settings:jsonType(rt.Record(rt.String(),rt.Any())),ref:rt.String(),signature:rt.String()});function createPlugin(e,t,r){const s=getPluginOptions(r);const o=new Hono;o.get("/manifest.json",(e=>e.json(t)));o.post("/",(async function appPost(t){if(t.req.header("content-type")!=="application/json"){throw new HTTPException(400,{message:"Content-Type must be application/json"})}const r=await t.req.json();const o=[...Value2.Errors(Rt,r)];if(o.length){console.dir(o,{depth:null});throw new HTTPException(400,{message:"Invalid body"})}const n=r.signature;if(!s.bypassSignatureVerification&&!await verifySignature(s.kernelPublicKey,r,n)){throw new HTTPException(400,{message:"Invalid signature"})}const A=Value2.Decode(Rt,r);let i;if(s.settingsSchema){try{i=Value2.Decode(s.settingsSchema,Value2.Default(s.settingsSchema,A.settings))}catch(e){console.dir(...Value2.Errors(s.settingsSchema,A.settings),{depth:null});throw e}}else{i=A.settings}let a;const c=honoEnv(t);if(s.envSchema){try{a=Value2.Decode(s.envSchema,Value2.Default(s.envSchema,c))}catch(e){console.dir(...Value2.Errors(s.envSchema,c),{depth:null});throw e}}else{a=t.env}const l=new URL(A.ref).hostname.split(".")[0];It.getInstance({...a,CLOUDFLARE_WORKER_NAME:l});let u=null;if(A.command&&s.commandSchema){try{u=Value2.Decode(s.commandSchema,Value2.Default(s.commandSchema,A.command))}catch(e){console.log(...Value2.Errors(s.commandSchema,A.command),{depth:null});throw e}}else if(A.command){u=A.command}const g={eventName:A.eventName,payload:A.eventPayload,command:u,octokit:new wt({auth:A.authToken}),config:i,env:a,logger:new Logs(s.logLevel),commentHandler:new Bt};try{const r=await e(g);return t.json({stateId:A.stateId,output:r??{}})}catch(e){console.error(e);let t;if(e instanceof Error||e instanceof LogReturn2){t=e}else{t=g.logger.error(`Error: ${e}`)}if(s.postCommentOnError&&t){await g.commentHandler.postComment(g,t)}throw new HTTPException(500,{message:"Unexpected error"})}}));return o}(0,ft.config)();async function createActionsPlugin(e,t){const r=getPluginOptions(t);const s=process.env.PLUGIN_GITHUB_TOKEN;if(!s){ht.setFailed("Error: PLUGIN_GITHUB_TOKEN env is not set");return}const o=J.context.payload.inputs;const n=[...Errors(Rt,o)];if(n.length){console.dir(n,{depth:null});ht.setFailed(`Error: Invalid inputs payload: ${n.map((e=>e.message)).join(", ")}`);return}const A=o.signature;if(!r.bypassSignatureVerification&&!await verifySignature(r.kernelPublicKey,o,A)){ht.setFailed(`Error: Invalid signature`);return}const i=Decode(Rt,o);let l;if(r.settingsSchema){try{l=Decode(r.settingsSchema,default_Default(r.settingsSchema,i.settings))}catch(e){console.dir(...Errors(r.settingsSchema,i.settings),{depth:null});ht.setFailed(`Error: Invalid settings provided.`);throw e}}else{l=i.settings}let u;if(r.envSchema){try{u=Decode(r.envSchema,default_Default(r.envSchema,process.env))}catch(e){console.dir(...Errors(r.envSchema,process.env),{depth:null});ht.setFailed(`Error: Invalid environment provided.`);throw e}}else{u=process.env}let g=null;if(i.command&&r.commandSchema){try{g=Decode(r.commandSchema,default_Default(r.commandSchema,i.command))}catch(e){console.dir(...Errors(r.commandSchema,i.command),{depth:null});throw e}}else if(i.command){g=i.command}const p={eventName:i.eventName,payload:i.eventPayload,command:g,octokit:new wt({auth:i.authToken}),config:l,env:u,logger:new c(r.logLevel),commentHandler:new Bt};try{const t=await e(p);ht.setOutput("result",t);await returnDataToKernel(s,i.stateId,t)}catch(e){console.error(e);let t;if(e instanceof Error){ht.setFailed(e);t=p.logger.error(`Error: ${e}`,{error:e})}else if(e instanceof a){ht.setFailed(e.logMessage.raw);t=e}else{ht.setFailed(`Error: ${e}`);t=p.logger.error(`Error: ${e}`)}if(r.postCommentOnError&&t){await p.commentHandler.postComment(p,t)}}}async function returnDataToKernel(e,t,r){const s=new wt({auth:e});await s.rest.repos.createDispatchEvent({owner:J.context.repo.owner,repo:J.context.repo.repo,event_type:"return-data-to-ubiquity-os-kernel",client_payload:{state_id:t,output:r?JSON.stringify(r):null}})}async function checkIfIsAdmin(e,t){const r=e.payload.repository.owner?.login;if(!r)throw e.logger.error("No owner found in the repository!");const s=await e.octokit.rest.repos.getCollaboratorPermissionLevel({owner:r,repo:e.payload.repository.name,username:t});return s.data.permission==="admin"}async function checkIfIsBillingManager(e,t){if(!e.payload.organization)throw e.logger.error(`No organization found in payload!`);try{await e.octokit.rest.orgs.checkMembershipForUser({org:e.payload.organization.login,username:t})}catch{return false}const{data:r}=await e.octokit.rest.orgs.getMembershipForUser({org:e.payload.organization.login,username:t});return r.role==="billing_manager"}async function isUserAdminOrBillingManager(e,t){if(!t)return false;const r=await checkIfIsAdmin(e,t);if(r)return"admin";const s=await checkIfIsBillingManager(e,t);if(s)return"billing_manager";return false}async function listOrgRepos(e){const t=e.payload.organization?.login;if(!t)throw e.logger.error("No organization found in payload!",{payload:e.payload});try{const r=await e.octokit.rest.repos.listForOrg({org:t});return r.data.filter((t=>!t.archived&&!t.disabled&&!e.config.globalConfigUpdate?.excludeRepos.includes(t.name)))}catch(t){throw e.logger.error("Listing org repos failed!",{err:t})}}async function listRepoIssues(e,t,r){try{const s=await e.octokit.rest.issues.listForRepo({owner:t,repo:r});return s.data}catch(t){throw e.logger.error("Listing repo issues failed!",{err:t})}}function isIssueLabelEvent(e){return e.eventName==="issues.labeled"||e.eventName==="issues.unlabeled"}function isPushEvent(e){return e.eventName==="push"}var Tt=".github/.ubiquity-os.config.yml";var kt=".github/.ubiquity-os.config.dev.yml";var Dt=".ubiquity-os";var _t=null&&`-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAs96DOU+JqM8SyNXOB6u3\nuBKIFiyrcST/LZTYN6y7LeJlyCuGPqSDrWCfjU9Ph5PLf9TWiNmeM8DGaOpwEFC7\nU3NRxOSglo4plnQ5zRwIHHXvxyK400sQP2oISXymISuBQWjEIqkC9DybQrKwNzf+\nI0JHWPqmwMIw26UvVOtXGOOWBqTkk+N2+/9f8eDIJP5QQVwwszc8s1rXOsLMlVIf\nwShw7GO4E2jyK8TSJKpyjV8eb1JJMDwFhPiRrtZfQJUtDf2mV/67shQww61BH2Y/\nPlnalo58kWIbkqZoq1yJrL5sFb73osM5+vADTXVn79bkvea7W19nSkdMiarYt4Hq\nJQIDAQAB\n-----END PUBLIC KEY-----\n`;var Ft=975031;var St=178941584;function getCommitChanges(e){const t=[];for(const r of e){if(r.modified?.length){for(const e of r.modified){t.push(e)}}if(r.added?.length){for(const e of r.added){t.push(e)}}}return t}const vt="0000000000000000000000000000000000000000";const Ut=[kt,Tt];async function isConfigModified(e){if(!isPushEvent(e)){e.logger.debug("Not a push event");return false}const{logger:t,payload:r}=e;if(r.before===vt){t.info("Skipping push events. A new branch was created");return false}const s=getCommitChanges(r.commits);if(s&&s.length===0){t.info("No files were changed in the commits, so no action is required.");return false}let o=false;for(const e of Ut){if(s.includes(e)){t.info(`${e} was modified or added in the commits`);o=true;break}}return o}async function getBaseRateChanges(e){if(!isPushEvent(e)){e.logger.debug("Not a push event");return{previousBaseRate:null,newBaseRate:null}}const{logger:t,payload:{repository:r,head_commit:s}}=e;const o=s?.id;let n;if(!o){throw new Error("No commit sha found")}const A=r.owner?.login;if(!A){throw t.error("No owner found in the repository")}try{n=await e.octokit.rest.repos.getCommit({owner:A,repo:r.name,ref:o,mediaType:{format:"diff"}})}catch(e){t.debug("Commit sha error.",{err:e})}if(!n){throw new Error("No commit data found")}const i=n.data;const a=i.split("\n");const c=/\+\s*basePriceMultiplier:\s*(\S+)/;const l=/-\s*basePriceMultiplier:\s*(\S+)/;const u=extractBaseRate(a,c);const g=extractBaseRate(a,l);if(!g&&!u){t.error("No base rate changes found in the diff")}return{previousBaseRate:g?parseFloat(g):null,newBaseRate:u?parseFloat(u):null}}function extractBaseRate(e,t){const r=e?.find((e=>t.test(e)));const s=r?.match(t);return s?s[1]:undefined}async function getLabelsChanges(e){if(!isPushEvent(e)){e.logger.debug("Not a push event");return false}const{logger:t,payload:{repository:r,head_commit:s}}=e;const o=s?.id;let n;if(!o){throw new Error("No commit sha found")}const A=r.owner?.login;if(!A){throw t.error("No owner found in the repository")}try{n=await e.octokit.rest.repos.getCommit({owner:A,repo:r.name,ref:o,mediaType:{format:"diff"}})}catch(e){t.debug("Commit sha error.",{err:e})}if(!n){throw new Error("No commit data found")}const i=n.data;const a=i.split("\n");const c=/\+\s*collaboratorOnly:\s*(\S+)/;const l=/-\s*collaboratorOnly:\s*(\S+)/;const u=extractLabels(a,c);const g=extractLabels(a,l);if(!g&&!u){t.error("No label changes found in the diff")}return!!g?.length||!!u?.length}function extractLabels(e,t){const r=e?.find((e=>t.test(e)));const s=r?.match(t);return s?s[1]:undefined}const Nt={default:"ededed",price:"1f883d"};const Ot="No owner found in the repository!";async function listLabelsForRepo(e){const{payload:t,octokit:r}=e;const s=t.repository.owner?.login;if(!s){throw e.logger.error(Ot)}const o=await r.paginate(r.rest.issues.listLabelsForRepo,{owner:s,repo:t.repository.name,per_page:100});if(o.length>0){await new Promise((e=>setTimeout(e,5e3)));return o}return[]}async function createLabel(e,t,r="default",s){const o=e.payload;const n=t.startsWith("Price: ")?Nt.price:Nt[r];const A=o.repository.owner?.login;if(!A){throw e.logger.error(Ot)}try{const r={owner:A,repo:o.repository.name,name:t,color:n,description:s};e.logger.debug("Trying to create label",{createLabelsOptions:r});await e.octokit.rest.issues.createLabel(r)}catch(t){throw e.logger.error("Creating a label failed!",{err:t})}}async function clearAllPriceLabelsOnIssue(e){const t=e.payload;if(!("issue"in t)||!t.issue){return}const r=t.issue.labels;if(!r)return;const s=r.filter((e=>e.name.toString().startsWith("Price: ")||e.name.toString().startsWith("Pricing: ")));if(!s.length)return;for(const r of s){try{await e.octokit.rest.issues.removeLabel({owner:t.repository.owner.login,repo:t.repository.name,issue_number:t.issue.number,name:r.name})}catch(s){if(s&&typeof s==="object"&&"status"in s&&s.status===404){e.logger.error(`Label ${r.name} not found on issue ${t.issue.html_url}, ignoring.`)}else{throw e.logger.error(`Removing label on issue ${t.issue.html_url} failed!`,{label:r,err:s})}}}}async function addLabelToIssue(e,t){const r=e.payload;if(!("issue"in r)||!r.issue){return}try{await e.octokit.rest.issues.addLabels({owner:r.repository.owner.login,repo:r.repository.name,issue_number:r.issue.number,labels:[t]})}catch(t){throw e.logger.error("Adding a label to issue failed!",{err:t})}}async function removeLabelFromIssue(e,t){const r=e.payload;if(!("issue"in r)||!r.issue){return}try{await e.octokit.rest.issues.removeLabel({owner:r.repository.owner.login,repo:r.repository.name,issue_number:r.issue.number,name:t})}catch(t){throw e.logger.error("Adding a label to issue failed!",{err:t})}}
+/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */n[o-4]=this.maskKey[0];n[o-3]=this.maskKey[1];n[o-2]=this.maskKey[2];n[o-1]=this.maskKey[3];n[1]=r;if(r===126){n.writeUInt16BE(t,2)}else if(r===127){n[2]=n[3]=0;n.writeUIntBE(t,4,6)}n[1]|=128;for(let e=0;e<t;e++){n[o+e]=this.frameData[e]^this.maskKey[e%4]}return n}}e.exports={WebsocketFrameSend:WebsocketFrameSend}},3171:(e,t,r)=>{const{Writable:s}=r(2203);const o=r(1637);const{parserStates:n,opcodes:A,states:i,emptyBuffer:a}=r(5913);const{kReadyState:c,kSentClose:l,kResponse:u,kReceivedClose:g}=r(2933);const{isValidStatusCode:p,failWebsocketConnection:d,websocketMessageReceived:E}=r(3574);const{WebsocketFrameSend:h}=r(1237);const I={};I.ping=o.channel("undici:websocket:ping");I.pong=o.channel("undici:websocket:pong");class ByteParser extends s{#A=[];#i=0;#a=n.INFO;#c={};#l=[];constructor(e){super();this.ws=e}_write(e,t,r){this.#A.push(e);this.#i+=e.length;this.run(r)}run(e){while(true){if(this.#a===n.INFO){if(this.#i<2){return e()}const t=this.consume(2);this.#c.fin=(t[0]&128)!==0;this.#c.opcode=t[0]&15;this.#c.originalOpcode??=this.#c.opcode;this.#c.fragmented=!this.#c.fin&&this.#c.opcode!==A.CONTINUATION;if(this.#c.fragmented&&this.#c.opcode!==A.BINARY&&this.#c.opcode!==A.TEXT){d(this.ws,"Invalid frame type was fragmented.");return}const r=t[1]&127;if(r<=125){this.#c.payloadLength=r;this.#a=n.READ_DATA}else if(r===126){this.#a=n.PAYLOADLENGTH_16}else if(r===127){this.#a=n.PAYLOADLENGTH_64}if(this.#c.fragmented&&r>125){d(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#c.opcode===A.PING||this.#c.opcode===A.PONG||this.#c.opcode===A.CLOSE)&&r>125){d(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#c.opcode===A.CLOSE){if(r===1){d(this.ws,"Received close frame with a 1-byte body.");return}const e=this.consume(r);this.#c.closeInfo=this.parseCloseBody(false,e);if(!this.ws[l]){const e=Buffer.allocUnsafe(2);e.writeUInt16BE(this.#c.closeInfo.code,0);const t=new h(e);this.ws[u].socket.write(t.createFrame(A.CLOSE),(e=>{if(!e){this.ws[l]=true}}))}this.ws[c]=i.CLOSING;this.ws[g]=true;this.end();return}else if(this.#c.opcode===A.PING){const t=this.consume(r);if(!this.ws[g]){const e=new h(t);this.ws[u].socket.write(e.createFrame(A.PONG));if(I.ping.hasSubscribers){I.ping.publish({payload:t})}}this.#a=n.INFO;if(this.#i>0){continue}else{e();return}}else if(this.#c.opcode===A.PONG){const t=this.consume(r);if(I.pong.hasSubscribers){I.pong.publish({payload:t})}if(this.#i>0){continue}else{e();return}}}else if(this.#a===n.PAYLOADLENGTH_16){if(this.#i<2){return e()}const t=this.consume(2);this.#c.payloadLength=t.readUInt16BE(0);this.#a=n.READ_DATA}else if(this.#a===n.PAYLOADLENGTH_64){if(this.#i<8){return e()}const t=this.consume(8);const r=t.readUInt32BE(0);if(r>2**31-1){d(this.ws,"Received payload length > 2^31 bytes.");return}const s=t.readUInt32BE(4);this.#c.payloadLength=(r<<8)+s;this.#a=n.READ_DATA}else if(this.#a===n.READ_DATA){if(this.#i<this.#c.payloadLength){return e()}else if(this.#i>=this.#c.payloadLength){const e=this.consume(this.#c.payloadLength);this.#l.push(e);if(!this.#c.fragmented||this.#c.fin&&this.#c.opcode===A.CONTINUATION){const e=Buffer.concat(this.#l);E(this.ws,this.#c.originalOpcode,e);this.#c={};this.#l.length=0}this.#a=n.INFO}}if(this.#i>0){continue}else{e();break}}}consume(e){if(e>this.#i){return null}else if(e===0){return a}if(this.#A[0].length===e){this.#i-=this.#A[0].length;return this.#A.shift()}const t=Buffer.allocUnsafe(e);let r=0;while(r!==e){const s=this.#A[0];const{length:o}=s;if(o+r===e){t.set(this.#A.shift(),r);break}else if(o+r>e){t.set(s.subarray(0,e-r),r);this.#A[0]=s.subarray(e-r);break}else{t.set(this.#A.shift(),r);r+=s.length}}this.#i-=e;return t}parseCloseBody(e,t){let r;if(t.length>=2){r=t.readUInt16BE(0)}if(e){if(!p(r)){return null}return{code:r}}let s=t.subarray(2);if(s[0]===239&&s[1]===187&&s[2]===191){s=s.subarray(3)}if(r!==undefined&&!p(r)){return null}try{s=new TextDecoder("utf-8",{fatal:true}).decode(s)}catch{return null}return{code:r,reason:s}}get closingInfo(){return this.#c.closeInfo}}e.exports={ByteParser:ByteParser}},2933:e=>{e.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},3574:(e,t,r)=>{const{kReadyState:s,kController:o,kResponse:n,kBinaryType:A,kWebSocketURL:i}=r(2933);const{states:a,opcodes:c}=r(5913);const{MessageEvent:l,ErrorEvent:u}=r(6255);function isEstablished(e){return e[s]===a.OPEN}function isClosing(e){return e[s]===a.CLOSING}function isClosed(e){return e[s]===a.CLOSED}function fireEvent(e,t,r=Event,s){const o=new r(e,s);t.dispatchEvent(o)}function websocketMessageReceived(e,t,r){if(e[s]!==a.OPEN){return}let o;if(t===c.TEXT){try{o=new TextDecoder("utf-8",{fatal:true}).decode(r)}catch{failWebsocketConnection(e,"Received invalid UTF-8 in text frame.");return}}else if(t===c.BINARY){if(e[A]==="blob"){o=new Blob([r])}else{o=new Uint8Array(r).buffer}}fireEvent("message",e,l,{origin:e[i].origin,data:o})}function isValidSubprotocol(e){if(e.length===0){return false}for(const t of e){const e=t.charCodeAt(0);if(e<33||e>126||t==="("||t===")"||t==="<"||t===">"||t==="@"||t===","||t===";"||t===":"||t==="\\"||t==='"'||t==="/"||t==="["||t==="]"||t==="?"||t==="="||t==="{"||t==="}"||e===32||e===9){return false}}return true}function isValidStatusCode(e){if(e>=1e3&&e<1015){return e!==1004&&e!==1005&&e!==1006}return e>=3e3&&e<=4999}function failWebsocketConnection(e,t){const{[o]:r,[n]:s}=e;r.abort();if(s?.socket&&!s.socket.destroyed){s.socket.destroy()}if(t){fireEvent("error",e,u,{error:new Error(t)})}}e.exports={isEstablished:isEstablished,isClosing:isClosing,isClosed:isClosed,fireEvent:fireEvent,isValidSubprotocol:isValidSubprotocol,isValidStatusCode:isValidStatusCode,failWebsocketConnection:failWebsocketConnection,websocketMessageReceived:websocketMessageReceived}},5171:(e,t,r)=>{const{webidl:s}=r(4222);const{DOMException:o}=r(7326);const{URLSerializer:n}=r(4322);const{getGlobalOrigin:A}=r(5628);const{staticPropertyDescriptors:i,states:a,opcodes:c,emptyBuffer:l}=r(5913);const{kWebSocketURL:u,kReadyState:g,kController:p,kBinaryType:d,kResponse:E,kSentClose:h,kByteParser:I}=r(2933);const{isEstablished:m,isClosing:C,isValidSubprotocol:Q,failWebsocketConnection:B,fireEvent:y}=r(3574);const{establishWebSocketConnection:w}=r(8550);const{WebsocketFrameSend:b}=r(1237);const{ByteParser:R}=r(3171);const{kEnumerableProperty:T,isBlobLike:k}=r(3440);const{getGlobalDispatcher:D}=r(2581);const{types:_}=r(9023);let F=false;class WebSocket extends EventTarget{#u={open:null,error:null,close:null,message:null};#g=0;#p="";#d="";constructor(e,t=[]){super();s.argumentLengthCheck(arguments,1,{header:"WebSocket constructor"});if(!F){F=true;process.emitWarning("WebSockets are experimental, expect them to change at any time.",{code:"UNDICI-WS"})}const r=s.converters["DOMString or sequence<DOMString> or WebSocketInit"](t);e=s.converters.USVString(e);t=r.protocols;const n=A();let i;try{i=new URL(e,n)}catch(e){throw new o(e,"SyntaxError")}if(i.protocol==="http:"){i.protocol="ws:"}else if(i.protocol==="https:"){i.protocol="wss:"}if(i.protocol!=="ws:"&&i.protocol!=="wss:"){throw new o(`Expected a ws: or wss: protocol, got ${i.protocol}`,"SyntaxError")}if(i.hash||i.href.endsWith("#")){throw new o("Got fragment","SyntaxError")}if(typeof t==="string"){t=[t]}if(t.length!==new Set(t.map((e=>e.toLowerCase()))).size){throw new o("Invalid Sec-WebSocket-Protocol value","SyntaxError")}if(t.length>0&&!t.every((e=>Q(e)))){throw new o("Invalid Sec-WebSocket-Protocol value","SyntaxError")}this[u]=new URL(i.href);this[p]=w(i,t,this,(e=>this.#E(e)),r);this[g]=WebSocket.CONNECTING;this[d]="blob"}close(e=undefined,t=undefined){s.brandCheck(this,WebSocket);if(e!==undefined){e=s.converters["unsigned short"](e,{clamp:true})}if(t!==undefined){t=s.converters.USVString(t)}if(e!==undefined){if(e!==1e3&&(e<3e3||e>4999)){throw new o("invalid code","InvalidAccessError")}}let r=0;if(t!==undefined){r=Buffer.byteLength(t);if(r>123){throw new o(`Reason must be less than 123 bytes; received ${r}`,"SyntaxError")}}if(this[g]===WebSocket.CLOSING||this[g]===WebSocket.CLOSED){}else if(!m(this)){B(this,"Connection was closed before it was established.");this[g]=WebSocket.CLOSING}else if(!C(this)){const s=new b;if(e!==undefined&&t===undefined){s.frameData=Buffer.allocUnsafe(2);s.frameData.writeUInt16BE(e,0)}else if(e!==undefined&&t!==undefined){s.frameData=Buffer.allocUnsafe(2+r);s.frameData.writeUInt16BE(e,0);s.frameData.write(t,2,"utf-8")}else{s.frameData=l}const o=this[E].socket;o.write(s.createFrame(c.CLOSE),(e=>{if(!e){this[h]=true}}));this[g]=a.CLOSING}else{this[g]=WebSocket.CLOSING}}send(e){s.brandCheck(this,WebSocket);s.argumentLengthCheck(arguments,1,{header:"WebSocket.send"});e=s.converters.WebSocketSendData(e);if(this[g]===WebSocket.CONNECTING){throw new o("Sent before connected.","InvalidStateError")}if(!m(this)||C(this)){return}const t=this[E].socket;if(typeof e==="string"){const r=Buffer.from(e);const s=new b(r);const o=s.createFrame(c.TEXT);this.#g+=r.byteLength;t.write(o,(()=>{this.#g-=r.byteLength}))}else if(_.isArrayBuffer(e)){const r=Buffer.from(e);const s=new b(r);const o=s.createFrame(c.BINARY);this.#g+=r.byteLength;t.write(o,(()=>{this.#g-=r.byteLength}))}else if(ArrayBuffer.isView(e)){const r=Buffer.from(e,e.byteOffset,e.byteLength);const s=new b(r);const o=s.createFrame(c.BINARY);this.#g+=r.byteLength;t.write(o,(()=>{this.#g-=r.byteLength}))}else if(k(e)){const r=new b;e.arrayBuffer().then((e=>{const s=Buffer.from(e);r.frameData=s;const o=r.createFrame(c.BINARY);this.#g+=s.byteLength;t.write(o,(()=>{this.#g-=s.byteLength}))}))}}get readyState(){s.brandCheck(this,WebSocket);return this[g]}get bufferedAmount(){s.brandCheck(this,WebSocket);return this.#g}get url(){s.brandCheck(this,WebSocket);return n(this[u])}get extensions(){s.brandCheck(this,WebSocket);return this.#d}get protocol(){s.brandCheck(this,WebSocket);return this.#p}get onopen(){s.brandCheck(this,WebSocket);return this.#u.open}set onopen(e){s.brandCheck(this,WebSocket);if(this.#u.open){this.removeEventListener("open",this.#u.open)}if(typeof e==="function"){this.#u.open=e;this.addEventListener("open",e)}else{this.#u.open=null}}get onerror(){s.brandCheck(this,WebSocket);return this.#u.error}set onerror(e){s.brandCheck(this,WebSocket);if(this.#u.error){this.removeEventListener("error",this.#u.error)}if(typeof e==="function"){this.#u.error=e;this.addEventListener("error",e)}else{this.#u.error=null}}get onclose(){s.brandCheck(this,WebSocket);return this.#u.close}set onclose(e){s.brandCheck(this,WebSocket);if(this.#u.close){this.removeEventListener("close",this.#u.close)}if(typeof e==="function"){this.#u.close=e;this.addEventListener("close",e)}else{this.#u.close=null}}get onmessage(){s.brandCheck(this,WebSocket);return this.#u.message}set onmessage(e){s.brandCheck(this,WebSocket);if(this.#u.message){this.removeEventListener("message",this.#u.message)}if(typeof e==="function"){this.#u.message=e;this.addEventListener("message",e)}else{this.#u.message=null}}get binaryType(){s.brandCheck(this,WebSocket);return this[d]}set binaryType(e){s.brandCheck(this,WebSocket);if(e!=="blob"&&e!=="arraybuffer"){this[d]="blob"}else{this[d]=e}}#E(e){this[E]=e;const t=new R(this);t.on("drain",(function onParserDrain(){this.ws[E].socket.resume()}));e.socket.ws=this;this[I]=t;this[g]=a.OPEN;const r=e.headersList.get("sec-websocket-extensions");if(r!==null){this.#d=r}const s=e.headersList.get("sec-websocket-protocol");if(s!==null){this.#p=s}y("open",this)}}WebSocket.CONNECTING=WebSocket.prototype.CONNECTING=a.CONNECTING;WebSocket.OPEN=WebSocket.prototype.OPEN=a.OPEN;WebSocket.CLOSING=WebSocket.prototype.CLOSING=a.CLOSING;WebSocket.CLOSED=WebSocket.prototype.CLOSED=a.CLOSED;Object.defineProperties(WebSocket.prototype,{CONNECTING:i,OPEN:i,CLOSING:i,CLOSED:i,url:T,readyState:T,bufferedAmount:T,onopen:T,onerror:T,onclose:T,close:T,onmessage:T,binaryType:T,send:T,extensions:T,protocol:T,[Symbol.toStringTag]:{value:"WebSocket",writable:false,enumerable:false,configurable:true}});Object.defineProperties(WebSocket,{CONNECTING:i,OPEN:i,CLOSING:i,CLOSED:i});s.converters["sequence<DOMString>"]=s.sequenceConverter(s.converters.DOMString);s.converters["DOMString or sequence<DOMString>"]=function(e){if(s.util.Type(e)==="Object"&&Symbol.iterator in e){return s.converters["sequence<DOMString>"](e)}return s.converters.DOMString(e)};s.converters.WebSocketInit=s.dictionaryConverter([{key:"protocols",converter:s.converters["DOMString or sequence<DOMString>"],get defaultValue(){return[]}},{key:"dispatcher",converter:e=>e,get defaultValue(){return D()}},{key:"headers",converter:s.nullableConverter(s.converters.HeadersInit)}]);s.converters["DOMString or sequence<DOMString> or WebSocketInit"]=function(e){if(s.util.Type(e)==="Object"&&!(Symbol.iterator in e)){return s.converters.WebSocketInit(e)}return{protocols:s.converters["DOMString or sequence<DOMString>"](e)}};s.converters.WebSocketSendData=function(e){if(s.util.Type(e)==="Object"){if(k(e)){return s.converters.Blob(e,{strict:false})}if(ArrayBuffer.isView(e)||_.isAnyArrayBuffer(e)){return s.converters.BufferSource(e)}}return s.converters.USVString(e)};e.exports={WebSocket:WebSocket}},8264:e=>{e.exports=wrappy;function wrappy(e,t){if(e&&t)return wrappy(e)(t);if(typeof e!=="function")throw new TypeError("need wrapper function");Object.keys(e).forEach((function(t){wrapper[t]=e[t]}));return wrapper;function wrapper(){var t=new Array(arguments.length);for(var r=0;r<t.length;r++){t[r]=arguments[r]}var s=e.apply(this,t);var o=t[t.length-1];if(typeof s==="function"&&s!==o){Object.keys(o).forEach((function(e){s[e]=o[e]}))}return s}}},2613:t=>{t.exports=e(import.meta.url)("assert")},290:t=>{t.exports=e(import.meta.url)("async_hooks")},181:t=>{t.exports=e(import.meta.url)("buffer")},5317:t=>{t.exports=e(import.meta.url)("child_process")},4236:t=>{t.exports=e(import.meta.url)("console")},6982:t=>{t.exports=e(import.meta.url)("crypto")},1637:t=>{t.exports=e(import.meta.url)("diagnostics_channel")},4434:t=>{t.exports=e(import.meta.url)("events")},9896:t=>{t.exports=e(import.meta.url)("fs")},8611:t=>{t.exports=e(import.meta.url)("http")},5675:t=>{t.exports=e(import.meta.url)("http2")},5692:t=>{t.exports=e(import.meta.url)("https")},9278:t=>{t.exports=e(import.meta.url)("net")},7598:t=>{t.exports=e(import.meta.url)("node:crypto")},8474:t=>{t.exports=e(import.meta.url)("node:events")},7075:t=>{t.exports=e(import.meta.url)("node:stream")},7975:t=>{t.exports=e(import.meta.url)("node:util")},857:t=>{t.exports=e(import.meta.url)("os")},6928:t=>{t.exports=e(import.meta.url)("path")},2987:t=>{t.exports=e(import.meta.url)("perf_hooks")},3480:t=>{t.exports=e(import.meta.url)("querystring")},2203:t=>{t.exports=e(import.meta.url)("stream")},3774:t=>{t.exports=e(import.meta.url)("stream/web")},3193:t=>{t.exports=e(import.meta.url)("string_decoder")},3557:t=>{t.exports=e(import.meta.url)("timers")},4756:t=>{t.exports=e(import.meta.url)("tls")},7016:t=>{t.exports=e(import.meta.url)("url")},9023:t=>{t.exports=e(import.meta.url)("util")},8253:t=>{t.exports=e(import.meta.url)("util/types")},8167:t=>{t.exports=e(import.meta.url)("worker_threads")},3106:t=>{t.exports=e(import.meta.url)("zlib")},7182:(e,t,r)=>{const s=r(7075).Writable;const o=r(7975).inherits;const n=r(4136);const A=r(612);const i=r(2271);const a=45;const c=Buffer.from("-");const l=Buffer.from("\r\n");const EMPTY_FN=function(){};function Dicer(e){if(!(this instanceof Dicer)){return new Dicer(e)}s.call(this,e);if(!e||!e.headerFirst&&typeof e.boundary!=="string"){throw new TypeError("Boundary required")}if(typeof e.boundary==="string"){this.setBoundary(e.boundary)}else{this._bparser=undefined}this._headerFirst=e.headerFirst;this._dashes=0;this._parts=0;this._finished=false;this._realFinish=false;this._isPreamble=true;this._justMatched=false;this._firstWrite=true;this._inHeader=true;this._part=undefined;this._cb=undefined;this._ignoreData=false;this._partOpts={highWaterMark:e.partHwm};this._pause=false;const t=this;this._hparser=new i(e);this._hparser.on("header",(function(e){t._inHeader=false;t._part.emit("header",e)}))}o(Dicer,s);Dicer.prototype.emit=function(e){if(e==="finish"&&!this._realFinish){if(!this._finished){const e=this;process.nextTick((function(){e.emit("error",new Error("Unexpected end of multipart data"));if(e._part&&!e._ignoreData){const t=e._isPreamble?"Preamble":"Part";e._part.emit("error",new Error(t+" terminated early due to unexpected end of multipart data"));e._part.push(null);process.nextTick((function(){e._realFinish=true;e.emit("finish");e._realFinish=false}));return}e._realFinish=true;e.emit("finish");e._realFinish=false}))}}else{s.prototype.emit.apply(this,arguments)}};Dicer.prototype._write=function(e,t,r){if(!this._hparser&&!this._bparser){return r()}if(this._headerFirst&&this._isPreamble){if(!this._part){this._part=new A(this._partOpts);if(this.listenerCount("preamble")!==0){this.emit("preamble",this._part)}else{this._ignore()}}const t=this._hparser.push(e);if(!this._inHeader&&t!==undefined&&t<e.length){e=e.slice(t)}else{return r()}}if(this._firstWrite){this._bparser.push(l);this._firstWrite=false}this._bparser.push(e);if(this._pause){this._cb=r}else{r()}};Dicer.prototype.reset=function(){this._part=undefined;this._bparser=undefined;this._hparser=undefined};Dicer.prototype.setBoundary=function(e){const t=this;this._bparser=new n("\r\n--"+e);this._bparser.on("info",(function(e,r,s,o){t._oninfo(e,r,s,o)}))};Dicer.prototype._ignore=function(){if(this._part&&!this._ignoreData){this._ignoreData=true;this._part.on("error",EMPTY_FN);this._part.resume()}};Dicer.prototype._oninfo=function(e,t,r,s){let o;const n=this;let i=0;let l;let u=true;if(!this._part&&this._justMatched&&t){while(this._dashes<2&&r+i<s){if(t[r+i]===a){++i;++this._dashes}else{if(this._dashes){o=c}this._dashes=0;break}}if(this._dashes===2){if(r+i<s&&this.listenerCount("trailer")!==0){this.emit("trailer",t.slice(r+i,s))}this.reset();this._finished=true;if(n._parts===0){n._realFinish=true;n.emit("finish");n._realFinish=false}}if(this._dashes){return}}if(this._justMatched){this._justMatched=false}if(!this._part){this._part=new A(this._partOpts);this._part._read=function(e){n._unpause()};if(this._isPreamble&&this.listenerCount("preamble")!==0){this.emit("preamble",this._part)}else if(this._isPreamble!==true&&this.listenerCount("part")!==0){this.emit("part",this._part)}else{this._ignore()}if(!this._isPreamble){this._inHeader=true}}if(t&&r<s&&!this._ignoreData){if(this._isPreamble||!this._inHeader){if(o){u=this._part.push(o)}u=this._part.push(t.slice(r,s));if(!u){this._pause=true}}else if(!this._isPreamble&&this._inHeader){if(o){this._hparser.push(o)}l=this._hparser.push(t.slice(r,s));if(!this._inHeader&&l!==undefined&&l<s){this._oninfo(false,t,r+l,s)}}}if(e){this._hparser.reset();if(this._isPreamble){this._isPreamble=false}else{if(r!==s){++this._parts;this._part.on("end",(function(){if(--n._parts===0){if(n._finished){n._realFinish=true;n.emit("finish");n._realFinish=false}else{n._unpause()}}}))}}this._part.push(null);this._part=undefined;this._ignoreData=false;this._justMatched=true;this._dashes=0}};Dicer.prototype._unpause=function(){if(!this._pause){return}this._pause=false;if(this._cb){const e=this._cb;this._cb=undefined;e()}};e.exports=Dicer},2271:(e,t,r)=>{const s=r(8474).EventEmitter;const o=r(7975).inherits;const n=r(2393);const A=r(4136);const i=Buffer.from("\r\n\r\n");const a=/\r\n/g;const c=/^([^:]+):[ \t]?([\x00-\xFF]+)?$/;function HeaderParser(e){s.call(this);e=e||{};const t=this;this.nread=0;this.maxed=false;this.npairs=0;this.maxHeaderPairs=n(e,"maxHeaderPairs",2e3);this.maxHeaderSize=n(e,"maxHeaderSize",80*1024);this.buffer="";this.header={};this.finished=false;this.ss=new A(i);this.ss.on("info",(function(e,r,s,o){if(r&&!t.maxed){if(t.nread+o-s>=t.maxHeaderSize){o=t.maxHeaderSize-t.nread+s;t.nread=t.maxHeaderSize;t.maxed=true}else{t.nread+=o-s}t.buffer+=r.toString("binary",s,o)}if(e){t._finish()}}))}o(HeaderParser,s);HeaderParser.prototype.push=function(e){const t=this.ss.push(e);if(this.finished){return t}};HeaderParser.prototype.reset=function(){this.finished=false;this.buffer="";this.header={};this.ss.reset()};HeaderParser.prototype._finish=function(){if(this.buffer){this._parseHeader()}this.ss.matches=this.ss.maxMatches;const e=this.header;this.header={};this.buffer="";this.finished=true;this.nread=this.npairs=0;this.maxed=false;this.emit("header",e)};HeaderParser.prototype._parseHeader=function(){if(this.npairs===this.maxHeaderPairs){return}const e=this.buffer.split(a);const t=e.length;let r,s;for(var o=0;o<t;++o){if(e[o].length===0){continue}if(e[o][0]==="\t"||e[o][0]===" "){if(s){this.header[s][this.header[s].length-1]+=e[o];continue}}const t=e[o].indexOf(":");if(t===-1||t===0){return}r=c.exec(e[o]);s=r[1].toLowerCase();this.header[s]=this.header[s]||[];this.header[s].push(r[2]||"");if(++this.npairs===this.maxHeaderPairs){break}}};e.exports=HeaderParser},612:(e,t,r)=>{const s=r(7975).inherits;const o=r(7075).Readable;function PartStream(e){o.call(this,e)}s(PartStream,o);PartStream.prototype._read=function(e){};e.exports=PartStream},4136:(e,t,r)=>{const s=r(8474).EventEmitter;const o=r(7975).inherits;function SBMH(e){if(typeof e==="string"){e=Buffer.from(e)}if(!Buffer.isBuffer(e)){throw new TypeError("The needle has to be a String or a Buffer.")}const t=e.length;if(t===0){throw new Error("The needle cannot be an empty String/Buffer.")}if(t>256){throw new Error("The needle cannot have a length bigger than 256.")}this.maxMatches=Infinity;this.matches=0;this._occ=new Array(256).fill(t);this._lookbehind_size=0;this._needle=e;this._bufpos=0;this._lookbehind=Buffer.alloc(t);for(var r=0;r<t-1;++r){this._occ[e[r]]=t-1-r}}o(SBMH,s);SBMH.prototype.reset=function(){this._lookbehind_size=0;this.matches=0;this._bufpos=0};SBMH.prototype.push=function(e,t){if(!Buffer.isBuffer(e)){e=Buffer.from(e,"binary")}const r=e.length;this._bufpos=t||0;let s;while(s!==r&&this.matches<this.maxMatches){s=this._sbmh_feed(e)}return s};SBMH.prototype._sbmh_feed=function(e){const t=e.length;const r=this._needle;const s=r.length;const o=r[s-1];let n=-this._lookbehind_size;let A;if(n<0){while(n<0&&n<=t-s){A=this._sbmh_lookup_char(e,n+s-1);if(A===o&&this._sbmh_memcmp(e,n,s-1)){this._lookbehind_size=0;++this.matches;this.emit("info",true);return this._bufpos=n+s}n+=this._occ[A]}if(n<0){while(n<0&&!this._sbmh_memcmp(e,n,t-n)){++n}}if(n>=0){this.emit("info",false,this._lookbehind,0,this._lookbehind_size);this._lookbehind_size=0}else{const r=this._lookbehind_size+n;if(r>0){this.emit("info",false,this._lookbehind,0,r)}this._lookbehind.copy(this._lookbehind,0,r,this._lookbehind_size-r);this._lookbehind_size-=r;e.copy(this._lookbehind,this._lookbehind_size);this._lookbehind_size+=t;this._bufpos=t;return t}}n+=(n>=0)*this._bufpos;if(e.indexOf(r,n)!==-1){n=e.indexOf(r,n);++this.matches;if(n>0){this.emit("info",true,e,this._bufpos,n)}else{this.emit("info",true)}return this._bufpos=n+s}else{n=t-s}while(n<t&&(e[n]!==r[0]||Buffer.compare(e.subarray(n,n+t-n),r.subarray(0,t-n))!==0)){++n}if(n<t){e.copy(this._lookbehind,0,n,n+(t-n));this._lookbehind_size=t-n}if(n>0){this.emit("info",false,e,this._bufpos,n<t?n:t)}this._bufpos=t;return t};SBMH.prototype._sbmh_lookup_char=function(e,t){return t<0?this._lookbehind[this._lookbehind_size+t]:e[t]};SBMH.prototype._sbmh_memcmp=function(e,t,r){for(var s=0;s<r;++s){if(this._sbmh_lookup_char(e,t+s)!==this._needle[s]){return false}}return true};e.exports=SBMH},9581:(e,t,r)=>{const s=r(7075).Writable;const{inherits:o}=r(7975);const n=r(7182);const A=r(1192);const i=r(855);const a=r(8929);function Busboy(e){if(!(this instanceof Busboy)){return new Busboy(e)}if(typeof e!=="object"){throw new TypeError("Busboy expected an options-Object.")}if(typeof e.headers!=="object"){throw new TypeError("Busboy expected an options-Object with headers-attribute.")}if(typeof e.headers["content-type"]!=="string"){throw new TypeError("Missing Content-Type-header.")}const{headers:t,...r}=e;this.opts={autoDestroy:false,...r};s.call(this,this.opts);this._done=false;this._parser=this.getParserByHeaders(t);this._finished=false}o(Busboy,s);Busboy.prototype.emit=function(e){if(e==="finish"){if(!this._done){this._parser?.end();return}else if(this._finished){return}this._finished=true}s.prototype.emit.apply(this,arguments)};Busboy.prototype.getParserByHeaders=function(e){const t=a(e["content-type"]);const r={defCharset:this.opts.defCharset,fileHwm:this.opts.fileHwm,headers:e,highWaterMark:this.opts.highWaterMark,isPartAFile:this.opts.isPartAFile,limits:this.opts.limits,parsedConType:t,preservePath:this.opts.preservePath};if(A.detect.test(t[0])){return new A(this,r)}if(i.detect.test(t[0])){return new i(this,r)}throw new Error("Unsupported Content-Type.")};Busboy.prototype._write=function(e,t,r){this._parser.write(e,r)};e.exports=Busboy;e.exports["default"]=Busboy;e.exports.Busboy=Busboy;e.exports.Dicer=n},1192:(e,t,r)=>{const{Readable:s}=r(7075);const{inherits:o}=r(7975);const n=r(7182);const A=r(8929);const i=r(2747);const a=r(692);const c=r(2393);const l=/^boundary$/i;const u=/^form-data$/i;const g=/^charset$/i;const p=/^filename$/i;const d=/^name$/i;Multipart.detect=/^multipart\/form-data/i;function Multipart(e,t){let r;let s;const o=this;let E;const h=t.limits;const I=t.isPartAFile||((e,t,r)=>t==="application/octet-stream"||r!==undefined);const m=t.parsedConType||[];const C=t.defCharset||"utf8";const Q=t.preservePath;const B={highWaterMark:t.fileHwm};for(r=0,s=m.length;r<s;++r){if(Array.isArray(m[r])&&l.test(m[r][0])){E=m[r][1];break}}function checkFinished(){if(S===0&&N&&!e._done){N=false;o.end()}}if(typeof E!=="string"){throw new Error("Multipart: Boundary not found")}const y=c(h,"fieldSize",1*1024*1024);const w=c(h,"fileSize",Infinity);const b=c(h,"files",Infinity);const R=c(h,"fields",Infinity);const T=c(h,"parts",Infinity);const k=c(h,"headerPairs",2e3);const D=c(h,"headerSize",80*1024);let _=0;let F=0;let S=0;let v;let U;let N=false;this._needDrain=false;this._pause=false;this._cb=undefined;this._nparts=0;this._boy=e;const O={boundary:E,maxHeaderPairs:k,maxHeaderSize:D,partHwm:B.highWaterMark,highWaterMark:t.highWaterMark};this.parser=new n(O);this.parser.on("drain",(function(){o._needDrain=false;if(o._cb&&!o._pause){const e=o._cb;o._cb=undefined;e()}})).on("part",(function onPart(t){if(++o._nparts>T){o.parser.removeListener("part",onPart);o.parser.on("part",skipPart);e.hitPartsLimit=true;e.emit("partsLimit");return skipPart(t)}if(U){const e=U;e.emit("end");e.removeAllListeners("end")}t.on("header",(function(n){let c;let l;let E;let h;let m;let T;let k=0;if(n["content-type"]){E=A(n["content-type"][0]);if(E[0]){c=E[0].toLowerCase();for(r=0,s=E.length;r<s;++r){if(g.test(E[r][0])){h=E[r][1].toLowerCase();break}}}}if(c===undefined){c="text/plain"}if(h===undefined){h=C}if(n["content-disposition"]){E=A(n["content-disposition"][0]);if(!u.test(E[0])){return skipPart(t)}for(r=0,s=E.length;r<s;++r){if(d.test(E[r][0])){l=E[r][1]}else if(p.test(E[r][0])){T=E[r][1];if(!Q){T=a(T)}}}}else{return skipPart(t)}if(n["content-transfer-encoding"]){m=n["content-transfer-encoding"][0].toLowerCase()}else{m="7bit"}let D,N;if(I(l,c,T)){if(_===b){if(!e.hitFilesLimit){e.hitFilesLimit=true;e.emit("filesLimit")}return skipPart(t)}++_;if(e.listenerCount("file")===0){o.parser._ignore();return}++S;const r=new FileStream(B);v=r;r.on("end",(function(){--S;o._pause=false;checkFinished();if(o._cb&&!o._needDrain){const e=o._cb;o._cb=undefined;e()}}));r._read=function(e){if(!o._pause){return}o._pause=false;if(o._cb&&!o._needDrain){const e=o._cb;o._cb=undefined;e()}};e.emit("file",l,r,T,m,c);D=function(e){if((k+=e.length)>w){const s=w-k+e.length;if(s>0){r.push(e.slice(0,s))}r.truncated=true;r.bytesRead=w;t.removeAllListeners("data");r.emit("limit");return}else if(!r.push(e)){o._pause=true}r.bytesRead=k};N=function(){v=undefined;r.push(null)}}else{if(F===R){if(!e.hitFieldsLimit){e.hitFieldsLimit=true;e.emit("fieldsLimit")}return skipPart(t)}++F;++S;let r="";let s=false;U=t;D=function(e){if((k+=e.length)>y){const o=y-(k-e.length);r+=e.toString("binary",0,o);s=true;t.removeAllListeners("data")}else{r+=e.toString("binary")}};N=function(){U=undefined;if(r.length){r=i(r,"binary",h)}e.emit("field",l,r,false,s,m,c);--S;checkFinished()}}t._readableState.sync=false;t.on("data",D);t.on("end",N)})).on("error",(function(e){if(v){v.emit("error",e)}}))})).on("error",(function(t){e.emit("error",t)})).on("finish",(function(){N=true;checkFinished()}))}Multipart.prototype.write=function(e,t){const r=this.parser.write(e);if(r&&!this._pause){t()}else{this._needDrain=!r;this._cb=t}};Multipart.prototype.end=function(){const e=this;if(e.parser.writable){e.parser.end()}else if(!e._boy._done){process.nextTick((function(){e._boy._done=true;e._boy.emit("finish")}))}};function skipPart(e){e.resume()}function FileStream(e){s.call(this,e);this.bytesRead=0;this.truncated=false}o(FileStream,s);FileStream.prototype._read=function(e){};e.exports=Multipart},855:(e,t,r)=>{const s=r(1496);const o=r(2747);const n=r(2393);const A=/^charset$/i;UrlEncoded.detect=/^application\/x-www-form-urlencoded/i;function UrlEncoded(e,t){const r=t.limits;const o=t.parsedConType;this.boy=e;this.fieldSizeLimit=n(r,"fieldSize",1*1024*1024);this.fieldNameSizeLimit=n(r,"fieldNameSize",100);this.fieldsLimit=n(r,"fields",Infinity);let i;for(var a=0,c=o.length;a<c;++a){if(Array.isArray(o[a])&&A.test(o[a][0])){i=o[a][1].toLowerCase();break}}if(i===undefined){i=t.defCharset||"utf8"}this.decoder=new s;this.charset=i;this._fields=0;this._state="key";this._checkingBytes=true;this._bytesKey=0;this._bytesVal=0;this._key="";this._val="";this._keyTrunc=false;this._valTrunc=false;this._hitLimit=false}UrlEncoded.prototype.write=function(e,t){if(this._fields===this.fieldsLimit){if(!this.boy.hitFieldsLimit){this.boy.hitFieldsLimit=true;this.boy.emit("fieldsLimit")}return t()}let r;let s;let n;let A=0;const i=e.length;while(A<i){if(this._state==="key"){r=s=undefined;for(n=A;n<i;++n){if(!this._checkingBytes){++A}if(e[n]===61){r=n;break}else if(e[n]===38){s=n;break}if(this._checkingBytes&&this._bytesKey===this.fieldNameSizeLimit){this._hitLimit=true;break}else if(this._checkingBytes){++this._bytesKey}}if(r!==undefined){if(r>A){this._key+=this.decoder.write(e.toString("binary",A,r))}this._state="val";this._hitLimit=false;this._checkingBytes=true;this._val="";this._bytesVal=0;this._valTrunc=false;this.decoder.reset();A=r+1}else if(s!==undefined){++this._fields;let r;const n=this._keyTrunc;if(s>A){r=this._key+=this.decoder.write(e.toString("binary",A,s))}else{r=this._key}this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();if(r.length){this.boy.emit("field",o(r,"binary",this.charset),"",n,false)}A=s+1;if(this._fields===this.fieldsLimit){return t()}}else if(this._hitLimit){if(n>A){this._key+=this.decoder.write(e.toString("binary",A,n))}A=n;if((this._bytesKey=this._key.length)===this.fieldNameSizeLimit){this._checkingBytes=false;this._keyTrunc=true}}else{if(A<i){this._key+=this.decoder.write(e.toString("binary",A))}A=i}}else{s=undefined;for(n=A;n<i;++n){if(!this._checkingBytes){++A}if(e[n]===38){s=n;break}if(this._checkingBytes&&this._bytesVal===this.fieldSizeLimit){this._hitLimit=true;break}else if(this._checkingBytes){++this._bytesVal}}if(s!==undefined){++this._fields;if(s>A){this._val+=this.decoder.write(e.toString("binary",A,s))}this.boy.emit("field",o(this._key,"binary",this.charset),o(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc);this._state="key";this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();A=s+1;if(this._fields===this.fieldsLimit){return t()}}else if(this._hitLimit){if(n>A){this._val+=this.decoder.write(e.toString("binary",A,n))}A=n;if(this._val===""&&this.fieldSizeLimit===0||(this._bytesVal=this._val.length)===this.fieldSizeLimit){this._checkingBytes=false;this._valTrunc=true}}else{if(A<i){this._val+=this.decoder.write(e.toString("binary",A))}A=i}}}t()};UrlEncoded.prototype.end=function(){if(this.boy._done){return}if(this._state==="key"&&this._key.length>0){this.boy.emit("field",o(this._key,"binary",this.charset),"",this._keyTrunc,false)}else if(this._state==="val"){this.boy.emit("field",o(this._key,"binary",this.charset),o(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc)}this.boy._done=true;this.boy.emit("finish")};e.exports=UrlEncoded},1496:e=>{const t=/\+/g;const r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];function Decoder(){this.buffer=undefined}Decoder.prototype.write=function(e){e=e.replace(t," ");let s="";let o=0;let n=0;const A=e.length;for(;o<A;++o){if(this.buffer!==undefined){if(!r[e.charCodeAt(o)]){s+="%"+this.buffer;this.buffer=undefined;--o}else{this.buffer+=e[o];++n;if(this.buffer.length===2){s+=String.fromCharCode(parseInt(this.buffer,16));this.buffer=undefined}}}else if(e[o]==="%"){if(o>n){s+=e.substring(n,o);n=o}this.buffer="";++n}}if(n<A&&this.buffer===undefined){s+=e.substring(n)}return s};Decoder.prototype.reset=function(){this.buffer=undefined};e.exports=Decoder},692:e=>{e.exports=function basename(e){if(typeof e!=="string"){return""}for(var t=e.length-1;t>=0;--t){switch(e.charCodeAt(t)){case 47:case 92:e=e.slice(t+1);return e===".."||e==="."?"":e}}return e===".."||e==="."?"":e}},2747:function(e){const t=new TextDecoder("utf-8");const r=new Map([["utf-8",t],["utf8",t]]);function getDecoder(e){let t;while(true){switch(e){case"utf-8":case"utf8":return s.utf8;case"latin1":case"ascii":case"us-ascii":case"iso-8859-1":case"iso8859-1":case"iso88591":case"iso_8859-1":case"windows-1252":case"iso_8859-1:1987":case"cp1252":case"x-cp1252":return s.latin1;case"utf16le":case"utf-16le":case"ucs2":case"ucs-2":return s.utf16le;case"base64":return s.base64;default:if(t===undefined){t=true;e=e.toLowerCase();continue}return s.other.bind(e)}}}const s={utf8:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,t)}return e.utf8Slice(0,e.length)},latin1:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){return e}return e.latin1Slice(0,e.length)},utf16le:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,t)}return e.ucs2Slice(0,e.length)},base64:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,t)}return e.base64Slice(0,e.length)},other:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,t)}if(r.has(this.toString())){try{return r.get(this).decode(e)}catch{}}return typeof e==="string"?e:e.toString()}};function decodeText(e,t,r){if(e){return getDecoder(r)(e,t)}return e}e.exports=decodeText},2393:e=>{e.exports=function getLimit(e,t,r){if(!e||e[t]===undefined||e[t]===null){return r}if(typeof e[t]!=="number"||isNaN(e[t])){throw new TypeError("Limit "+t+" is not a valid number")}return e[t]}},8929:(e,t,r)=>{const s=r(2747);const o=/%[a-fA-F0-9][a-fA-F0-9]/g;const n={"%00":"\0","%01":"","%02":"","%03":"","%04":"","%05":"","%06":"","%07":"","%08":"\b","%09":"\t","%0a":"\n","%0A":"\n","%0b":"\v","%0B":"\v","%0c":"\f","%0C":"\f","%0d":"\r","%0D":"\r","%0e":"","%0E":"","%0f":"","%0F":"","%10":"","%11":"","%12":"","%13":"","%14":"","%15":"","%16":"","%17":"","%18":"","%19":"","%1a":"","%1A":"","%1b":"","%1B":"","%1c":"","%1C":"","%1d":"","%1D":"","%1e":"","%1E":"","%1f":"","%1F":"","%20":" ","%21":"!","%22":'"',"%23":"#","%24":"$","%25":"%","%26":"&","%27":"'","%28":"(","%29":")","%2a":"*","%2A":"*","%2b":"+","%2B":"+","%2c":",","%2C":",","%2d":"-","%2D":"-","%2e":".","%2E":".","%2f":"/","%2F":"/","%30":"0","%31":"1","%32":"2","%33":"3","%34":"4","%35":"5","%36":"6","%37":"7","%38":"8","%39":"9","%3a":":","%3A":":","%3b":";","%3B":";","%3c":"<","%3C":"<","%3d":"=","%3D":"=","%3e":">","%3E":">","%3f":"?","%3F":"?","%40":"@","%41":"A","%42":"B","%43":"C","%44":"D","%45":"E","%46":"F","%47":"G","%48":"H","%49":"I","%4a":"J","%4A":"J","%4b":"K","%4B":"K","%4c":"L","%4C":"L","%4d":"M","%4D":"M","%4e":"N","%4E":"N","%4f":"O","%4F":"O","%50":"P","%51":"Q","%52":"R","%53":"S","%54":"T","%55":"U","%56":"V","%57":"W","%58":"X","%59":"Y","%5a":"Z","%5A":"Z","%5b":"[","%5B":"[","%5c":"\\","%5C":"\\","%5d":"]","%5D":"]","%5e":"^","%5E":"^","%5f":"_","%5F":"_","%60":"`","%61":"a","%62":"b","%63":"c","%64":"d","%65":"e","%66":"f","%67":"g","%68":"h","%69":"i","%6a":"j","%6A":"j","%6b":"k","%6B":"k","%6c":"l","%6C":"l","%6d":"m","%6D":"m","%6e":"n","%6E":"n","%6f":"o","%6F":"o","%70":"p","%71":"q","%72":"r","%73":"s","%74":"t","%75":"u","%76":"v","%77":"w","%78":"x","%79":"y","%7a":"z","%7A":"z","%7b":"{","%7B":"{","%7c":"|","%7C":"|","%7d":"}","%7D":"}","%7e":"~","%7E":"~","%7f":"","%7F":"","%80":"","%81":"","%82":"","%83":"","%84":"","%85":"","%86":"","%87":"","%88":"","%89":"","%8a":"","%8A":"","%8b":"","%8B":"","%8c":"","%8C":"","%8d":"","%8D":"","%8e":"","%8E":"","%8f":"","%8F":"","%90":"","%91":"","%92":"","%93":"","%94":"","%95":"","%96":"","%97":"","%98":"","%99":"","%9a":"","%9A":"","%9b":"","%9B":"","%9c":"","%9C":"","%9d":"","%9D":"","%9e":"","%9E":"","%9f":"","%9F":"","%a0":" ","%A0":" ","%a1":"¡","%A1":"¡","%a2":"¢","%A2":"¢","%a3":"£","%A3":"£","%a4":"¤","%A4":"¤","%a5":"¥","%A5":"¥","%a6":"¦","%A6":"¦","%a7":"§","%A7":"§","%a8":"¨","%A8":"¨","%a9":"©","%A9":"©","%aa":"ª","%Aa":"ª","%aA":"ª","%AA":"ª","%ab":"«","%Ab":"«","%aB":"«","%AB":"«","%ac":"¬","%Ac":"¬","%aC":"¬","%AC":"¬","%ad":"­","%Ad":"­","%aD":"­","%AD":"­","%ae":"®","%Ae":"®","%aE":"®","%AE":"®","%af":"¯","%Af":"¯","%aF":"¯","%AF":"¯","%b0":"°","%B0":"°","%b1":"±","%B1":"±","%b2":"²","%B2":"²","%b3":"³","%B3":"³","%b4":"´","%B4":"´","%b5":"µ","%B5":"µ","%b6":"¶","%B6":"¶","%b7":"·","%B7":"·","%b8":"¸","%B8":"¸","%b9":"¹","%B9":"¹","%ba":"º","%Ba":"º","%bA":"º","%BA":"º","%bb":"»","%Bb":"»","%bB":"»","%BB":"»","%bc":"¼","%Bc":"¼","%bC":"¼","%BC":"¼","%bd":"½","%Bd":"½","%bD":"½","%BD":"½","%be":"¾","%Be":"¾","%bE":"¾","%BE":"¾","%bf":"¿","%Bf":"¿","%bF":"¿","%BF":"¿","%c0":"À","%C0":"À","%c1":"Á","%C1":"Á","%c2":"Â","%C2":"Â","%c3":"Ã","%C3":"Ã","%c4":"Ä","%C4":"Ä","%c5":"Å","%C5":"Å","%c6":"Æ","%C6":"Æ","%c7":"Ç","%C7":"Ç","%c8":"È","%C8":"È","%c9":"É","%C9":"É","%ca":"Ê","%Ca":"Ê","%cA":"Ê","%CA":"Ê","%cb":"Ë","%Cb":"Ë","%cB":"Ë","%CB":"Ë","%cc":"Ì","%Cc":"Ì","%cC":"Ì","%CC":"Ì","%cd":"Í","%Cd":"Í","%cD":"Í","%CD":"Í","%ce":"Î","%Ce":"Î","%cE":"Î","%CE":"Î","%cf":"Ï","%Cf":"Ï","%cF":"Ï","%CF":"Ï","%d0":"Ð","%D0":"Ð","%d1":"Ñ","%D1":"Ñ","%d2":"Ò","%D2":"Ò","%d3":"Ó","%D3":"Ó","%d4":"Ô","%D4":"Ô","%d5":"Õ","%D5":"Õ","%d6":"Ö","%D6":"Ö","%d7":"×","%D7":"×","%d8":"Ø","%D8":"Ø","%d9":"Ù","%D9":"Ù","%da":"Ú","%Da":"Ú","%dA":"Ú","%DA":"Ú","%db":"Û","%Db":"Û","%dB":"Û","%DB":"Û","%dc":"Ü","%Dc":"Ü","%dC":"Ü","%DC":"Ü","%dd":"Ý","%Dd":"Ý","%dD":"Ý","%DD":"Ý","%de":"Þ","%De":"Þ","%dE":"Þ","%DE":"Þ","%df":"ß","%Df":"ß","%dF":"ß","%DF":"ß","%e0":"à","%E0":"à","%e1":"á","%E1":"á","%e2":"â","%E2":"â","%e3":"ã","%E3":"ã","%e4":"ä","%E4":"ä","%e5":"å","%E5":"å","%e6":"æ","%E6":"æ","%e7":"ç","%E7":"ç","%e8":"è","%E8":"è","%e9":"é","%E9":"é","%ea":"ê","%Ea":"ê","%eA":"ê","%EA":"ê","%eb":"ë","%Eb":"ë","%eB":"ë","%EB":"ë","%ec":"ì","%Ec":"ì","%eC":"ì","%EC":"ì","%ed":"í","%Ed":"í","%eD":"í","%ED":"í","%ee":"î","%Ee":"î","%eE":"î","%EE":"î","%ef":"ï","%Ef":"ï","%eF":"ï","%EF":"ï","%f0":"ð","%F0":"ð","%f1":"ñ","%F1":"ñ","%f2":"ò","%F2":"ò","%f3":"ó","%F3":"ó","%f4":"ô","%F4":"ô","%f5":"õ","%F5":"õ","%f6":"ö","%F6":"ö","%f7":"÷","%F7":"÷","%f8":"ø","%F8":"ø","%f9":"ù","%F9":"ù","%fa":"ú","%Fa":"ú","%fA":"ú","%FA":"ú","%fb":"û","%Fb":"û","%fB":"û","%FB":"û","%fc":"ü","%Fc":"ü","%fC":"ü","%FC":"ü","%fd":"ý","%Fd":"ý","%fD":"ý","%FD":"ý","%fe":"þ","%Fe":"þ","%fE":"þ","%FE":"þ","%ff":"ÿ","%Ff":"ÿ","%fF":"ÿ","%FF":"ÿ"};function encodedReplacer(e){return n[e]}const A=0;const i=1;const a=2;const c=3;function parseParams(e){const t=[];let r=A;let n="";let l=false;let u=false;let g=0;let p="";const d=e.length;for(var E=0;E<d;++E){const d=e[E];if(d==="\\"&&l){if(u){u=false}else{u=true;continue}}else if(d==='"'){if(!u){if(l){l=false;r=A}else{l=true}continue}else{u=false}}else{if(u&&l){p+="\\"}u=false;if((r===a||r===c)&&d==="'"){if(r===a){r=c;n=p.substring(1)}else{r=i}p="";continue}else if(r===A&&(d==="*"||d==="=")&&t.length){r=d==="*"?a:i;t[g]=[p,undefined];p="";continue}else if(!l&&d===";"){r=A;if(n){if(p.length){p=s(p.replace(o,encodedReplacer),"binary",n)}n=""}else if(p.length){p=s(p,"binary","utf8")}if(t[g]===undefined){t[g]=p}else{t[g][1]=p}p="";++g;continue}else if(!l&&(d===" "||d==="\t")){continue}}p+=d}if(n&&p.length){p=s(p.replace(o,encodedReplacer),"binary",n)}else if(p){p=s(p,"binary","utf8")}if(t[g]===undefined){if(p){t[g]=p}}else{t[g][1]=p}return t}e.exports=parseParams},1120:e=>{var t;const r=function NullObject(){};r.prototype=Object.create(null);const s=/; *([!#$%&'*+.^\w`|~-]+)=("(?:[\v\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\v\u0020-\u00ff])*"|[!#$%&'*+.^\w`|~-]+) */gu;const o=/\\([\v\u0020-\u00ff])/gu;const n=/^[!#$%&'*+.^\w|~-]+\/[!#$%&'*+.^\w|~-]+$/u;const A={type:"",parameters:new r};Object.freeze(A.parameters);Object.freeze(A);function parse(e){if(typeof e!=="string"){throw new TypeError("argument header is required and must be a string")}let t=e.indexOf(";");const A=t!==-1?e.slice(0,t).trim():e.trim();if(n.test(A)===false){throw new TypeError("invalid media type")}const i={type:A.toLowerCase(),parameters:new r};if(t===-1){return i}let a;let c;let l;s.lastIndex=t;while(c=s.exec(e)){if(c.index!==t){throw new TypeError("invalid parameter format")}t+=c[0].length;a=c[1].toLowerCase();l=c[2];if(l[0]==='"'){l=l.slice(1,l.length-1);o.test(l)&&(l=l.replace(o,"$1"))}i.parameters[a]=l}if(t!==e.length){throw new TypeError("invalid parameter format")}return i}function safeParse(e){if(typeof e!=="string"){return A}let t=e.indexOf(";");const i=t!==-1?e.slice(0,t).trim():e.trim();if(n.test(i)===false){return A}const a={type:i.toLowerCase(),parameters:new r};if(t===-1){return a}let c;let l;let u;s.lastIndex=t;while(l=s.exec(e)){if(l.index!==t){return A}t+=l[0].length;c=l[1].toLowerCase();u=l[2];if(u[0]==='"'){u=u.slice(1,u.length-1);o.test(u)&&(u=u.replace(o,"$1"))}a.parameters[c]=u}if(t!==e.length){return A}return a}t={parse:parse,safeParse:safeParse};t=parse;e.exports.xL=safeParse;t=A},56:e=>{e.exports=JSON.parse('{"name":"dotenv","version":"16.4.7","description":"Loads environment variables from .env file","main":"lib/main.js","types":"lib/main.d.ts","exports":{".":{"types":"./lib/main.d.ts","require":"./lib/main.js","default":"./lib/main.js"},"./config":"./config.js","./config.js":"./config.js","./lib/env-options":"./lib/env-options.js","./lib/env-options.js":"./lib/env-options.js","./lib/cli-options":"./lib/cli-options.js","./lib/cli-options.js":"./lib/cli-options.js","./package.json":"./package.json"},"scripts":{"dts-check":"tsc --project tests/types/tsconfig.json","lint":"standard","pretest":"npm run lint && npm run dts-check","test":"tap run --allow-empty-coverage --disable-coverage --timeout=60000","test:coverage":"tap run --show-full-coverage --timeout=60000 --coverage-report=lcov","prerelease":"npm test","release":"standard-version"},"repository":{"type":"git","url":"git://github.com/motdotla/dotenv.git"},"funding":"https://dotenvx.com","keywords":["dotenv","env",".env","environment","variables","config","settings"],"readmeFilename":"README.md","license":"BSD-2-Clause","devDependencies":{"@types/node":"^18.11.3","decache":"^4.6.2","sinon":"^14.0.1","standard":"^17.0.0","standard-version":"^9.5.0","tap":"^19.2.0","typescript":"^4.8.4"},"engines":{"node":">=12"},"browser":{"fs":false}}')}};var r={};function __nccwpck_require__(e){var s=r[e];if(s!==undefined){return s.exports}var o=r[e]={exports:{}};var n=true;try{t[e].call(o.exports,o,o.exports,__nccwpck_require__);n=false}finally{if(n)delete r[e]}return o.exports}(()=>{__nccwpck_require__.d=(e,t)=>{for(var r in t){if(__nccwpck_require__.o(t,r)&&!__nccwpck_require__.o(e,r)){Object.defineProperty(e,r,{enumerable:true,get:t[r]})}}}})();(()=>{__nccwpck_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})();(()=>{__nccwpck_require__.r=e=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(e,"__esModule",{value:true})}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=new URL(".",import.meta.url).pathname.slice(import.meta.url.match(/^file:\/\/\/\w:/)?1:0,-1)+"/";var s={};var o={};__nccwpck_require__.r(o);__nccwpck_require__.d(o,{Any:()=>Any,Array:()=>array_Array,AsyncIterator:()=>AsyncIterator,Awaited:()=>Awaited,BigInt:()=>bigint_BigInt,Boolean:()=>boolean_Boolean,Capitalize:()=>Capitalize,Composite:()=>Composite,Const:()=>Const,Constructor:()=>Constructor,ConstructorParameters:()=>ConstructorParameters,Date:()=>date_Date,Enum:()=>Enum,Exclude:()=>Exclude,Extends:()=>Extends,Extract:()=>Extract,Function:()=>function_Function,Index:()=>Index,InstanceType:()=>InstanceType,Integer:()=>Integer,Intersect:()=>Intersect,Iterator:()=>Iterator,KeyOf:()=>KeyOf,Literal:()=>Literal,Lowercase:()=>Lowercase,Mapped:()=>Mapped,Module:()=>Module,Never:()=>Never,Not:()=>Not,Null:()=>Null,Number:()=>number_Number,Object:()=>Ye,Omit:()=>Omit,Optional:()=>Optional,Parameters:()=>Parameters,Partial:()=>Partial,Pick:()=>Pick,Promise:()=>promise_Promise,Readonly:()=>Readonly,ReadonlyOptional:()=>ReadonlyOptional,Record:()=>Record,Recursive:()=>Recursive,Ref:()=>Ref,RegExp:()=>regexp_RegExp,Required:()=>Required,Rest:()=>Rest,ReturnType:()=>ReturnType,String:()=>string_String,Symbol:()=>symbol_Symbol,TemplateLiteral:()=>TemplateLiteral,Transform:()=>Transform,Tuple:()=>Tuple,Uint8Array:()=>uint8array_Uint8Array,Uncapitalize:()=>Uncapitalize,Undefined:()=>Undefined,Union:()=>Union,Unknown:()=>Unknown,Unsafe:()=>Unsafe,Uppercase:()=>Uppercase,Void:()=>Void});var n={reset:"[0m",bright:"[1m",dim:"[2m",underscore:"[4m",blink:"[5m",reverse:"[7m",hidden:"[8m",fgBlack:"[30m",fgRed:"[31m",fgGreen:"[32m",fgYellow:"[33m",fgBlue:"[34m",fgMagenta:"[35m",fgCyan:"[36m",fgWhite:"[37m",bgBlack:"[40m",bgRed:"[41m",bgGreen:"[42m",bgYellow:"[43m",bgBlue:"[44m",bgMagenta:"[45m",bgCyan:"[46m",bgWhite:"[47m"};var A={FATAL:"fatal",ERROR:"error",WARN:"warn",INFO:"info",VERBOSE:"verbose",DEBUG:"debug"};var i=class{constructor(){this.ok=this.ok.bind(this);this.info=this.info.bind(this);this.error=this.error.bind(this);this.fatal=this.fatal.bind(this);this.warn=this.warn.bind(this);this.debug=this.debug.bind(this);this.verbose=this.verbose.bind(this)}fatal(e,t){this._logWithStack(A.FATAL,e,t)}error(e,t){this._logWithStack(A.ERROR,e,t)}warn(e,t){this._logWithStack(A.WARN,e,t)}ok(e,t){this._logWithStack("ok",e,t)}info(e,t){this._logWithStack(A.INFO,e,t)}debug(e,t){this._logWithStack(A.DEBUG,e,t)}verbose(e,t){this._logWithStack(A.VERBOSE,e,t)}_logWithStack(e,t,r){this._log(e,t);if(typeof r==="string"){this._log(e,r);return}if(r){const t=r;let s=t?.error?.stack||t?.stack;if(!s){const e=(new Error).stack?.split("\n");if(e){e.splice(0,4);s=e.filter((e=>e.includes(".ts:"))).join("\n")}}const o={...t};delete o.message;delete o.name;delete o.stack;if(!this._isEmpty(o)){this._log(e,o)}if(typeof s=="string"){const t=this._formatStackTrace(s,1);const r=this._colorizeText(t,n.dim);this._log(e,r)}else if(s){const t=this._formatStackTrace(s.join("\n"),1);const r=this._colorizeText(t,n.dim);this._log(e,r)}else{throw new Error("Stack is null")}}}_colorizeText(e,t){if(!t){throw new Error(`Invalid color: ${t}`)}return t.concat(e).concat(n.reset)}_formatStackTrace(e,t=0,r=""){const s=e.split("\n");for(let e=0;e<t;e++){s.shift()}return s.map((e=>`${r}${e.replace(/\s*at\s*/,"  ↳  ")}`)).join("\n")}_isEmpty(e){return!Reflect.ownKeys(e).some((t=>typeof e[String(t)]!=="function"))}_log(e,t){const r={fatal:"×",ok:"✓",warn:"⚠",error:"⚠",info:"›",debug:"››",verbose:"💬"};const s=r[e];const o=typeof t==="string"?t:JSON.stringify(t,null,2);const A=o.split("\n");const i=A.map(((e,t)=>{const r=t===0?`\t${s}`:`\t${" ".repeat(s.length)}`;return`${r} ${e}`})).join("\n");const a=i;const c={fatal:["error",n.fgRed],ok:["log",n.fgGreen],warn:["warn",n.fgYellow],error:["warn",n.fgYellow],info:["info",n.dim],debug:["debug",n.fgMagenta],verbose:["debug",n.dim]};const l=console[c[e][0]];if(typeof l==="function"&&a.length>12){l(this._colorizeText(a,c[e][1]))}else if(a.length<=12){return}else{throw new Error(a)}}};var a=class{logMessage;metadata;constructor(e,t){this.logMessage=e;this.metadata=t}};var c=class _Logs{_maxLevel=-1;static console;_log({level:e,consoleLog:t,logMessage:r,metadata:s,type:o}){if(this._getNumericLevel(e)<=this._maxLevel){t(r,s)}return new a({raw:r,diff:this._diffColorCommentMessage(o,r),type:o,level:e},s)}_addDiagnosticInformation(e){if(!e){e={}}else if(typeof e!=="object"){e={message:e}}const t=(new Error).stack?.split("\n")||[];if(t.length>3){const r=t[3];const s=r.match(/at (\S+)/);if(s){e.caller=s[1]}}return e}ok(e,t){t=this._addDiagnosticInformation(t);return this._log({level:A.INFO,consoleLog:_Logs.console.ok,logMessage:e,metadata:t,type:"ok"})}info(e,t){t=this._addDiagnosticInformation(t);return this._log({level:A.INFO,consoleLog:_Logs.console.info,logMessage:e,metadata:t,type:"info"})}warn(e,t){t=this._addDiagnosticInformation(t);return this._log({level:A.WARN,consoleLog:_Logs.console.warn,logMessage:e,metadata:t,type:"warn"})}error(e,t){t=this._addDiagnosticInformation(t);return this._log({level:A.ERROR,consoleLog:_Logs.console.error,logMessage:e,metadata:t,type:"error"})}debug(e,t){t=this._addDiagnosticInformation(t);return this._log({level:A.DEBUG,consoleLog:_Logs.console.debug,logMessage:e,metadata:t,type:"debug"})}fatal(e,t){if(!t){t=_Logs.convertErrorsIntoObjects(new Error(e));const r=t.stack;r.splice(1,1);t.stack=r}if(t instanceof Error){t=_Logs.convertErrorsIntoObjects(t);const e=t.stack;e.splice(1,1);t.stack=e}t=this._addDiagnosticInformation(t);return this._log({level:A.FATAL,consoleLog:_Logs.console.fatal,logMessage:e,metadata:t,type:"fatal"})}verbose(e,t){t=this._addDiagnosticInformation(t);return this._log({level:A.VERBOSE,consoleLog:_Logs.console.verbose,logMessage:e,metadata:t,type:"verbose"})}constructor(e){this._maxLevel=this._getNumericLevel(e);_Logs.console=new i}_diffColorCommentMessage(e,t){const r={fatal:"> [!CAUTION]",error:"> [!CAUTION]",warn:"> [!WARNING]",ok:"> [!TIP]",info:"> [!NOTE]",debug:"> [!IMPORTANT]",verbose:"> [!NOTE]"};const s=r[e];if(s){t=t.trim().split("\n").map((e=>`> ${e}`)).join("\n")}return[s,t].join("\n")}_getNumericLevel(e){switch(e){case A.FATAL:return 0;case A.ERROR:return 1;case A.WARN:return 2;case A.INFO:return 3;case A.VERBOSE:return 4;case A.DEBUG:return 5;default:return-1}}static convertErrorsIntoObjects(e){if(e instanceof Error){return{message:e.message,name:e.name,stack:e.stack?e.stack.split("\n"):null}}else if(typeof e==="object"&&e!==null){const t=Object.keys(e);t.forEach((t=>{e[t]=this.convertErrorsIntoObjects(e[t])}))}return e}};var l=/\x1b\[\d+m|\s/g;function cleanLogs(e){const t=e.mock.calls.map((e=>e.map((e=>e?.toString())).join(" ")));return t.flat().map((e=>cleanLogString(e)))}function cleanLogString(e){return e.replaceAll(l,"").replaceAll(/\n/g,"").replaceAll(/\r/g,"").replaceAll(/\t/g,"").trim()}function cleanSpyLogs(e){return cleanLogs(e)}var parseBody=async(e,t=Object.create(null))=>{const{all:r=false,dot:s=false}=t;const o=e instanceof d?e.raw.headers:e.headers;const n=o.get("Content-Type");if(n?.startsWith("multipart/form-data")||n?.startsWith("application/x-www-form-urlencoded")){return parseFormData(e,{all:r,dot:s})}return{}};async function parseFormData(e,t){const r=await e.formData();if(r){return convertFormDataToBodyData(r,t)}return{}}function convertFormDataToBodyData(e,t){const r=Object.create(null);e.forEach(((e,s)=>{const o=t.all||s.endsWith("[]");if(!o){r[s]=e}else{handleParsingAllValues(r,s,e)}}));if(t.dot){Object.entries(r).forEach((([e,t])=>{const s=e.includes(".");if(s){handleParsingNestedValues(r,e,t);delete r[e]}}))}return r}var handleParsingAllValues=(e,t,r)=>{if(e[t]!==void 0){if(Array.isArray(e[t])){e[t].push(r)}else{e[t]=[e[t],r]}}else{e[t]=r}};var handleParsingNestedValues=(e,t,r)=>{let s=e;const o=t.split(".");o.forEach(((e,t)=>{if(t===o.length-1){s[e]=r}else{if(!s[e]||typeof s[e]!=="object"||Array.isArray(s[e])||s[e]instanceof File){s[e]=Object.create(null)}s=s[e]}}))};var splitPath=e=>{const t=e.split("/");if(t[0]===""){t.shift()}return t};var splitRoutingPath=e=>{const{groups:t,path:r}=extractGroupsFromPath(e);const s=splitPath(r);return replaceGroupMarks(s,t)};var extractGroupsFromPath=e=>{const t=[];e=e.replace(/\{[^}]+\}/g,((e,r)=>{const s=`@${r}`;t.push([s,e]);return s}));return{groups:t,path:e}};var replaceGroupMarks=(e,t)=>{for(let r=t.length-1;r>=0;r--){const[s]=t[r];for(let o=e.length-1;o>=0;o--){if(e[o].includes(s)){e[o]=e[o].replace(s,t[r][1]);break}}}return e};var u={};var getPattern=(e,t)=>{if(e==="*"){return"*"}const r=e.match(/^\:([^\{\}]+)(?:\{(.+)\})?$/);if(r){const s=`${e}#${t}`;if(!u[s]){if(r[2]){u[s]=t&&t[0]!==":"&&t[0]!=="*"?[s,r[1],new RegExp(`^${r[2]}(?=/${t})`)]:[e,r[1],new RegExp(`^${r[2]}$`)]}else{u[s]=[e,r[1],true]}}return u[s]}return null};var tryDecode=(e,t)=>{try{return t(e)}catch{return e.replace(/(?:%[0-9A-Fa-f]{2})+/g,(e=>{try{return t(e)}catch{return e}}))}};var tryDecodeURI=e=>tryDecode(e,decodeURI);var getPath=e=>{const t=e.url;const r=t.indexOf("/",8);let s=r;for(;s<t.length;s++){const e=t.charCodeAt(s);if(e===37){const e=t.indexOf("?",s);const o=t.slice(r,e===-1?void 0:e);return tryDecodeURI(o.includes("%25")?o.replace(/%25/g,"%2525"):o)}else if(e===63){break}}return t.slice(r,s)};var getQueryStrings=e=>{const t=e.indexOf("?",8);return t===-1?"":"?"+e.slice(t+1)};var getPathNoStrict=e=>{const t=getPath(e);return t.length>1&&t.at(-1)==="/"?t.slice(0,-1):t};var mergePath=(...e)=>{let t="";let r=false;for(let s of e){if(t.at(-1)==="/"){t=t.slice(0,-1);r=true}if(s[0]!=="/"){s=`/${s}`}if(s==="/"&&r){t=`${t}/`}else if(s!=="/"){t=`${t}${s}`}if(s==="/"&&t===""){t="/"}}return t};var checkOptionalParameter=e=>{if(!e.match(/\:.+\?$/)){return null}const t=e.split("/");const r=[];let s="";t.forEach((e=>{if(e!==""&&!/\:/.test(e)){s+="/"+e}else if(/\:/.test(e)){if(/\?/.test(e)){if(r.length===0&&s===""){r.push("/")}else{r.push(s)}const t=e.replace("?","");s+="/"+t;r.push(s)}else{s+="/"+e}}}));return r.filter(((e,t,r)=>r.indexOf(e)===t))};var _decodeURI=e=>{if(!/[%+]/.test(e)){return e}if(e.indexOf("+")!==-1){e=e.replace(/\+/g," ")}return e.indexOf("%")!==-1?p(e):e};var _getQueryParam=(e,t,r)=>{let s;if(!r&&t&&!/[%+]/.test(t)){let r=e.indexOf(`?${t}`,8);if(r===-1){r=e.indexOf(`&${t}`,8)}while(r!==-1){const s=e.charCodeAt(r+t.length+1);if(s===61){const s=r+t.length+2;const o=e.indexOf("&",s);return _decodeURI(e.slice(s,o===-1?void 0:o))}else if(s==38||isNaN(s)){return""}r=e.indexOf(`&${t}`,r+1)}s=/[%+]/.test(e);if(!s){return void 0}}const o={};s??=/[%+]/.test(e);let n=e.indexOf("?",8);while(n!==-1){const t=e.indexOf("&",n+1);let A=e.indexOf("=",n);if(A>t&&t!==-1){A=-1}let i=e.slice(n+1,A===-1?t===-1?void 0:t:A);if(s){i=_decodeURI(i)}n=t;if(i===""){continue}let a;if(A===-1){a=""}else{a=e.slice(A+1,t===-1?void 0:t);if(s){a=_decodeURI(a)}}if(r){if(!(o[i]&&Array.isArray(o[i]))){o[i]=[]}o[i].push(a)}else{o[i]??=a}}return t?o[t]:o};var g=_getQueryParam;var getQueryParams=(e,t)=>_getQueryParam(e,t,true);var p=decodeURIComponent;var tryDecodeURIComponent=e=>tryDecode(e,p);var d=class{raw;#h;#f;routeIndex=0;path;bodyCache={};constructor(e,t="/",r=[[]]){this.raw=e;this.path=t;this.#f=r;this.#h={}}param(e){return e?this.#I(e):this.#m()}#I(e){const t=this.#f[0][this.routeIndex][1][e];const r=this.#C(t);return r?/\%/.test(r)?tryDecodeURIComponent(r):r:void 0}#m(){const e={};const t=Object.keys(this.#f[0][this.routeIndex][1]);for(const r of t){const t=this.#C(this.#f[0][this.routeIndex][1][r]);if(t&&typeof t==="string"){e[r]=/\%/.test(t)?tryDecodeURIComponent(t):t}}return e}#C(e){return this.#f[1]?this.#f[1][e]:e}query(e){return g(this.url,e)}queries(e){return getQueryParams(this.url,e)}header(e){if(e){return this.raw.headers.get(e)??void 0}const t={};this.raw.headers.forEach(((e,r)=>{t[r]=e}));return t}async parseBody(e){return this.bodyCache.parsedBody??=await parseBody(this,e)}#Q=e=>{const{bodyCache:t,raw:r}=this;const s=t[e];if(s){return s}const o=Object.keys(t)[0];if(o){return t[o].then((t=>{if(o==="json"){t=JSON.stringify(t)}return new Response(t)[e]()}))}return t[e]=r[e]()};json(){return this.#Q("json")}text(){return this.#Q("text")}arrayBuffer(){return this.#Q("arrayBuffer")}blob(){return this.#Q("blob")}formData(){return this.#Q("formData")}addValidatedData(e,t){this.#h[e]=t}valid(e){return this.#h[e]}get url(){return this.raw.url}get method(){return this.raw.method}get matchedRoutes(){return this.#f[0].map((([[,e]])=>e))}get routePath(){return this.#f[0].map((([[,e]])=>e))[this.routeIndex].path}};var E={Stringify:1,BeforeStream:2,Stream:3};var raw=(e,t)=>{const r=new String(e);r.isEscaped=true;r.callbacks=t;return r};var h=/[&<>'"]/;var stringBufferToString=async(e,t)=>{let r="";t||=[];const s=await Promise.all(e);for(let e=s.length-1;;e--){r+=s[e];e--;if(e<0){break}let o=s[e];if(typeof o==="object"){t.push(...o.callbacks||[])}const n=o.isEscaped;o=await(typeof o==="object"?o.toString():o);if(typeof o==="object"){t.push(...o.callbacks||[])}if(o.isEscaped??n){r+=o}else{const e=[r];escapeToBuffer(o,e);r=e[0]}}return raw(r,t)};var escapeToBuffer=(e,t)=>{const r=e.search(h);if(r===-1){t[0]+=e;return}let s;let o;let n=0;for(o=r;o<e.length;o++){switch(e.charCodeAt(o)){case 34:s="&quot;";break;case 39:s="&#39;";break;case 38:s="&amp;";break;case 60:s="&lt;";break;case 62:s="&gt;";break;default:continue}t[0]+=e.substring(n,o)+s;n=o+1}t[0]+=e.substring(n,o)};var resolveCallbackSync=e=>{const t=e.callbacks;if(!t?.length){return e}const r=[e];const s={};t.forEach((e=>e({phase:E.Stringify,buffer:r,context:s})));return r[0]};var resolveCallback=async(e,t,r,s,o)=>{if(typeof e==="object"&&!(e instanceof String)){if(!(e instanceof Promise)){e=e.toString()}if(e instanceof Promise){e=await e}}const n=e.callbacks;if(!n?.length){return Promise.resolve(e)}if(o){o[0]+=e}else{o=[e]}const A=Promise.all(n.map((e=>e({phase:t,buffer:o,context:s})))).then((e=>Promise.all(e.filter(Boolean).map((e=>resolveCallback(e,t,false,s,o)))).then((()=>o[0]))));if(r){return raw(await A,n)}else{return A}};var I="text/plain; charset=UTF-8";var setHeaders=(e,t={})=>{for(const r of Object.keys(t)){e.set(r,t[r])}return e};var m=class{#B;#y;env={};#w;finalized=false;error;#b=200;#R;#T;#k;#D;#_=true;#F;#S;#v;#f;#U;constructor(e,t){this.#B=e;if(t){this.#R=t.executionCtx;this.env=t.env;this.#v=t.notFoundHandler;this.#U=t.path;this.#f=t.matchResult}}get req(){this.#y??=new d(this.#B,this.#U,this.#f);return this.#y}get event(){if(this.#R&&"respondWith"in this.#R){return this.#R}else{throw Error("This context has no FetchEvent")}}get executionCtx(){if(this.#R){return this.#R}else{throw Error("This context has no ExecutionContext")}}get res(){this.#_=false;return this.#D||=new Response("404 Not Found",{status:404})}set res(e){this.#_=false;if(this.#D&&e){try{for(const[t,r]of this.#D.headers.entries()){if(t==="content-type"){continue}if(t==="set-cookie"){const t=this.#D.headers.getSetCookie();e.headers.delete("set-cookie");for(const r of t){e.headers.append("set-cookie",r)}}else{e.headers.set(t,r)}}}catch(t){if(t instanceof TypeError&&t.message.includes("immutable")){this.res=new Response(e.body,{headers:e.headers,status:e.status});return}else{throw t}}}this.#D=e;this.finalized=true}render=(...e)=>{this.#S??=e=>this.html(e);return this.#S(...e)};setLayout=e=>this.#F=e;getLayout=()=>this.#F;setRenderer=e=>{this.#S=e};header=(e,t,r)=>{if(t===void 0){if(this.#T){this.#T.delete(e)}else if(this.#k){delete this.#k[e.toLocaleLowerCase()]}if(this.finalized){this.res.headers.delete(e)}return}if(r?.append){if(!this.#T){this.#_=false;this.#T=new Headers(this.#k);this.#k={}}this.#T.append(e,t)}else{if(this.#T){this.#T.set(e,t)}else{this.#k??={};this.#k[e.toLowerCase()]=t}}if(this.finalized){if(r?.append){this.res.headers.append(e,t)}else{this.res.headers.set(e,t)}}};status=e=>{this.#_=false;this.#b=e};set=(e,t)=>{this.#w??=new Map;this.#w.set(e,t)};get=e=>this.#w?this.#w.get(e):void 0;get var(){if(!this.#w){return{}}return Object.fromEntries(this.#w)}#N(e,t,r){if(this.#_&&!r&&!t&&this.#b===200){return new Response(e,{headers:this.#k})}if(t&&typeof t!=="number"){const r=new Headers(t.headers);if(this.#T){this.#T.forEach(((e,t)=>{if(t==="set-cookie"){r.append(t,e)}else{r.set(t,e)}}))}const s=setHeaders(r,this.#k);return new Response(e,{headers:s,status:t.status??this.#b})}const s=typeof t==="number"?t:this.#b;this.#k??={};this.#T??=new Headers;setHeaders(this.#T,this.#k);if(this.#D){this.#D.headers.forEach(((e,t)=>{if(t==="set-cookie"){this.#T?.append(t,e)}else{this.#T?.set(t,e)}}));setHeaders(this.#T,this.#k)}r??={};for(const[e,t]of Object.entries(r)){if(typeof t==="string"){this.#T.set(e,t)}else{this.#T.delete(e);for(const r of t){this.#T.append(e,r)}}}return new Response(e,{status:s,headers:this.#T})}newResponse=(...e)=>this.#N(...e);body=(e,t,r)=>typeof t==="number"?this.#N(e,t,r):this.#N(e,t);text=(e,t,r)=>{if(!this.#k){if(this.#_&&!r&&!t){return new Response(e)}this.#k={}}this.#k["content-type"]=I;if(typeof t==="number"){return this.#N(e,t,r)}return this.#N(e,t)};json=(e,t,r)=>{const s=JSON.stringify(e);this.#k??={};this.#k["content-type"]="application/json";return typeof t==="number"?this.#N(s,t,r):this.#N(s,t)};html=(e,t,r)=>{this.#k??={};this.#k["content-type"]="text/html; charset=UTF-8";if(typeof e==="object"){return resolveCallback(e,E.Stringify,false,{}).then((e=>typeof t==="number"?this.#N(e,t,r):this.#N(e,t)))}return typeof t==="number"?this.#N(e,t,r):this.#N(e,t)};redirect=(e,t)=>{this.#T??=new Headers;this.#T.set("Location",String(e));return this.newResponse(null,t??302)};notFound=()=>{this.#v??=()=>new Response;return this.#v(this)}};var compose=(e,t,r)=>(s,o)=>{let n=-1;const A=s instanceof m;return dispatch(0);async function dispatch(i){if(i<=n){throw new Error("next() called multiple times")}n=i;let a;let c=false;let l;if(e[i]){l=e[i][0][0];if(A){s.req.routeIndex=i}}else{l=i===e.length&&o||void 0}if(!l){if(A&&s.finalized===false&&r){a=await r(s)}}else{try{a=await l(s,(()=>dispatch(i+1)))}catch(e){if(e instanceof Error&&A&&t){s.error=e;a=await t(e,s);c=true}else{throw e}}}if(a&&(s.finalized===false||c)){s.res=a}return s}};var C="ALL";var Q="all";var B=["get","post","put","delete","options","patch"];var y="Can not add a route since the matcher is already built.";var w=class extends Error{};var b="__COMPOSED_HANDLER";var notFoundHandler=e=>e.text("404 Not Found",404);var errorHandler=(e,t)=>{if("getResponse"in e){return e.getResponse()}console.error(e);return t.text("Internal Server Error",500)};var R=class{get;post;put;delete;options;patch;all;on;use;router;getPath;_basePath="/";#U="/";routes=[];constructor(e={}){const t=[...B,Q];t.forEach((e=>{this[e]=(t,...r)=>{if(typeof t==="string"){this.#U=t}else{this.#O(e,this.#U,t)}r.forEach((t=>{this.#O(e,this.#U,t)}));return this}}));this.on=(e,t,...r)=>{for(const s of[t].flat()){this.#U=s;for(const t of[e].flat()){r.map((e=>{this.#O(t.toUpperCase(),this.#U,e)}))}}return this};this.use=(e,...t)=>{if(typeof e==="string"){this.#U=e}else{this.#U="*";t.unshift(e)}t.forEach((e=>{this.#O(C,this.#U,e)}));return this};const r=e.strict??true;delete e.strict;Object.assign(this,e);this.getPath=r?e.getPath??getPath:getPathNoStrict}#G(){const e=new R({router:this.router,getPath:this.getPath});e.routes=this.routes;return e}#v=notFoundHandler;errorHandler=errorHandler;route(e,t){const r=this.basePath(e);t.routes.map((e=>{let s;if(t.errorHandler===errorHandler){s=e.handler}else{s=async(r,s)=>(await compose([],t.errorHandler)(r,(()=>e.handler(r,s)))).res;s[b]=e.handler}r.#O(e.method,e.path,s)}));return this}basePath(e){const t=this.#G();t._basePath=mergePath(this._basePath,e);return t}onError=e=>{this.errorHandler=e;return this};notFound=e=>{this.#v=e;return this};mount(e,t,r){let s;let o;if(r){if(typeof r==="function"){o=r}else{o=r.optionHandler;s=r.replaceRequest}}const n=o?e=>{const t=o(e);return Array.isArray(t)?t:[t]}:e=>{let t=void 0;try{t=e.executionCtx}catch{}return[e.env,t]};s||=(()=>{const t=mergePath(this._basePath,e);const r=t==="/"?0:t.length;return e=>{const t=new URL(e.url);t.pathname=t.pathname.slice(r)||"/";return new Request(t,e)}})();const handler=async(e,r)=>{const o=await t(s(e.req.raw),...n(e));if(o){return o}await r()};this.#O(C,mergePath(e,"*"),handler);return this}#O(e,t,r){e=e.toUpperCase();t=mergePath(this._basePath,t);const s={path:t,method:e,handler:r};this.router.add(e,t,[r,s]);this.routes.push(s)}#L(e,t){if(e instanceof Error){return this.errorHandler(e,t)}throw e}#P(e,t,r,s){if(s==="HEAD"){return(async()=>new Response(null,await this.#P(e,t,r,"GET")))()}const o=this.getPath(e,{env:r});const n=this.router.match(s,o);const A=new m(e,{path:o,matchResult:n,env:r,executionCtx:t,notFoundHandler:this.#v});if(n[0].length===1){let e;try{e=n[0][0][0][0](A,(async()=>{A.res=await this.#v(A)}))}catch(e){return this.#L(e,A)}return e instanceof Promise?e.then((e=>e||(A.finalized?A.res:this.#v(A)))).catch((e=>this.#L(e,A))):e??this.#v(A)}const i=compose(n[0],this.errorHandler,this.#v);return(async()=>{try{const e=await i(A);if(!e.finalized){throw new Error("Context is not finalized. Did you forget to return a Response object or `await next()`?")}return e.res}catch(e){return this.#L(e,A)}})()}fetch=(e,...t)=>this.#P(e,t[1],t[0],e.method);request=(e,t,r,s)=>{if(e instanceof Request){return this.fetch(t?new Request(e,t):e,r,s)}e=e.toString();return this.fetch(new Request(/^https?:\/\//.test(e)?e:`http://localhost${mergePath("/",e)}`,t),r,s)};fire=()=>{addEventListener("fetch",(e=>{e.respondWith(this.#P(e.request,e,void 0,e.request.method))}))}};var T="[^/]+";var k=".*";var D="(?:|/.*)";var _=Symbol();var F=new Set(".\\+*[^]$()");function compareKey(e,t){if(e.length===1){return t.length===1?e<t?-1:1:-1}if(t.length===1){return 1}if(e===k||e===D){return 1}else if(t===k||t===D){return-1}if(e===T){return 1}else if(t===T){return-1}return e.length===t.length?e<t?-1:1:t.length-e.length}var S=class{#M;#x;#H=Object.create(null);insert(e,t,r,s,o){if(e.length===0){if(this.#M!==void 0){throw _}if(o){return}this.#M=t;return}const[n,...A]=e;const i=n==="*"?A.length===0?["","",k]:["","",T]:n==="/*"?["","",D]:n.match(/^\:([^\{\}]+)(?:\{(.+)\})?$/);let a;if(i){const e=i[1];let t=i[2]||T;if(e&&i[2]){t=t.replace(/^\((?!\?:)(?=[^)]+\)$)/,"(?:");if(/\((?!\?:)/.test(t)){throw _}}a=this.#H[t];if(!a){if(Object.keys(this.#H).some((e=>e!==k&&e!==D))){throw _}if(o){return}a=this.#H[t]=new S;if(e!==""){a.#x=s.varIndex++}}if(!o&&e!==""){r.push([e,a.#x])}}else{a=this.#H[n];if(!a){if(Object.keys(this.#H).some((e=>e.length>1&&e!==k&&e!==D))){throw _}if(o){return}a=this.#H[n]=new S}}a.insert(A,t,r,s,o)}buildRegExpStr(){const e=Object.keys(this.#H).sort(compareKey);const t=e.map((e=>{const t=this.#H[e];return(typeof t.#x==="number"?`(${e})@${t.#x}`:F.has(e)?`\\${e}`:e)+t.buildRegExpStr()}));if(typeof this.#M==="number"){t.unshift(`#${this.#M}`)}if(t.length===0){return""}if(t.length===1){return t[0]}return"(?:"+t.join("|")+")"}};var v=class{#V={varIndex:0};#Y=new S;insert(e,t,r){const s=[];const o=[];for(let t=0;;){let r=false;e=e.replace(/\{[^}]+\}/g,(e=>{const s=`@\\${t}`;o[t]=[s,e];t++;r=true;return s}));if(!r){break}}const n=e.match(/(?::[^\/]+)|(?:\/\*$)|./g)||[];for(let e=o.length-1;e>=0;e--){const[t]=o[e];for(let r=n.length-1;r>=0;r--){if(n[r].indexOf(t)!==-1){n[r]=n[r].replace(t,o[e][1]);break}}}this.#Y.insert(n,t,s,this.#V,r);return s}buildRegExp(){let e=this.#Y.buildRegExpStr();if(e===""){return[/^$/,[],[]]}let t=0;const r=[];const s=[];e=e.replace(/#(\d+)|@(\d+)|\.\*\$/g,((e,o,n)=>{if(o!==void 0){r[++t]=Number(o);return"$()"}if(n!==void 0){s[Number(n)]=++t;return""}return""}));return[new RegExp(`^${e}`),r,s]}};var U=[];var N=[/^$/,[],Object.create(null)];var O=Object.create(null);function buildWildcardRegExp(e){return O[e]??=new RegExp(e==="*"?"":`^${e.replace(/\/\*$|([.\\+*[^\]$()])/g,((e,t)=>t?`\\${t}`:"(?:|/.*)"))}$`)}function clearWildcardRegExpCache(){O=Object.create(null)}function buildMatcherFromPreprocessedRoutes(e){const t=new v;const r=[];if(e.length===0){return N}const s=e.map((e=>[!/\*|\/:/.test(e[0]),...e])).sort((([e,t],[r,s])=>e?1:r?-1:t.length-s.length));const o=Object.create(null);for(let e=0,n=-1,A=s.length;e<A;e++){const[A,i,a]=s[e];if(A){o[i]=[a.map((([e])=>[e,Object.create(null)])),U]}else{n++}let c;try{c=t.insert(i,n,A)}catch(e){throw e===_?new w(i):e}if(A){continue}r[n]=a.map((([e,t])=>{const r=Object.create(null);t-=1;for(;t>=0;t--){const[e,s]=c[t];r[e]=s}return[e,r]}))}const[n,A,i]=t.buildRegExp();for(let e=0,t=r.length;e<t;e++){for(let t=0,s=r[e].length;t<s;t++){const s=r[e][t]?.[1];if(!s){continue}const o=Object.keys(s);for(let e=0,t=o.length;e<t;e++){s[o[e]]=i[s[o[e]]]}}}const a=[];for(const e in A){a[e]=r[A[e]]}return[n,a,o]}function findMiddleware(e,t){if(!e){return void 0}for(const r of Object.keys(e).sort(((e,t)=>t.length-e.length))){if(buildWildcardRegExp(r).test(t)){return[...e[r]]}}return void 0}var G=class{name="RegExpRouter";#J;#q;constructor(){this.#J={[C]:Object.create(null)};this.#q={[C]:Object.create(null)}}add(e,t,r){const s=this.#J;const o=this.#q;if(!s||!o){throw new Error(y)}if(!s[e]){[s,o].forEach((t=>{t[e]=Object.create(null);Object.keys(t[C]).forEach((r=>{t[e][r]=[...t[C][r]]}))}))}if(t==="/*"){t="*"}const n=(t.match(/\/:/g)||[]).length;if(/\*$/.test(t)){const A=buildWildcardRegExp(t);if(e===C){Object.keys(s).forEach((e=>{s[e][t]||=findMiddleware(s[e],t)||findMiddleware(s[C],t)||[]}))}else{s[e][t]||=findMiddleware(s[e],t)||findMiddleware(s[C],t)||[]}Object.keys(s).forEach((t=>{if(e===C||e===t){Object.keys(s[t]).forEach((e=>{A.test(e)&&s[t][e].push([r,n])}))}}));Object.keys(o).forEach((t=>{if(e===C||e===t){Object.keys(o[t]).forEach((e=>A.test(e)&&o[t][e].push([r,n])))}}));return}const A=checkOptionalParameter(t)||[t];for(let t=0,i=A.length;t<i;t++){const a=A[t];Object.keys(o).forEach((A=>{if(e===C||e===A){o[A][a]||=[...findMiddleware(s[A],a)||findMiddleware(s[C],a)||[]];o[A][a].push([r,n-i+t+1])}}))}}match(e,t){clearWildcardRegExpCache();const r=this.#j();this.match=(e,t)=>{const s=r[e]||r[C];const o=s[2][t];if(o){return o}const n=t.match(s[0]);if(!n){return[[],U]}const A=n.indexOf("",1);return[s[1][A],n]};return this.match(e,t)}#j(){const e=Object.create(null);Object.keys(this.#q).concat(Object.keys(this.#J)).forEach((t=>{e[t]||=this.#W(t)}));this.#J=this.#q=void 0;return e}#W(e){const t=[];let r=e===C;[this.#J,this.#q].forEach((s=>{const o=s[e]?Object.keys(s[e]).map((t=>[t,s[e][t]])):[];if(o.length!==0){r||=true;t.push(...o)}else if(e!==C){t.push(...Object.keys(s[C]).map((e=>[e,s[C][e]])))}}));if(!r){return null}else{return buildMatcherFromPreprocessedRoutes(t)}}};var L=class{name="SmartRouter";#K=[];#q=[];constructor(e){this.#K=e.routers}add(e,t,r){if(!this.#q){throw new Error(y)}this.#q.push([e,t,r])}match(e,t){if(!this.#q){throw new Error("Fatal error")}const r=this.#K;const s=this.#q;const o=r.length;let n=0;let A;for(;n<o;n++){const o=r[n];try{for(let e=0,t=s.length;e<t;e++){o.add(...s[e])}A=o.match(e,t)}catch(e){if(e instanceof w){continue}throw e}this.match=o.match.bind(o);this.#K=[o];this.#q=void 0;break}if(n===o){throw new Error("Fatal error")}this.name=`SmartRouter + ${this.activeRouter.name}`;return A}get activeRouter(){if(this.#q||this.#K.length!==1){throw new Error("No active router has been determined yet.")}return this.#K[0]}};var P=Object.create(null);var M=class{#z;#H;#Z;#X=0;#$=P;constructor(e,t,r){this.#H=r||Object.create(null);this.#z=[];if(e&&t){const r=Object.create(null);r[e]={handler:t,possibleKeys:[],score:0};this.#z=[r]}this.#Z=[]}insert(e,t,r){this.#X=++this.#X;let s=this;const o=splitRoutingPath(t);const n=[];for(let e=0,t=o.length;e<t;e++){const t=o[e];const r=o[e+1];const A=getPattern(t,r);const i=Array.isArray(A)?A[0]:t;if(Object.keys(s.#H).includes(i)){s=s.#H[i];const e=getPattern(t,r);if(e){n.push(e[1])}continue}s.#H[i]=new M;if(A){s.#Z.push(A);n.push(A[1])}s=s.#H[i]}const A=Object.create(null);const i={handler:r,possibleKeys:n.filter(((e,t,r)=>r.indexOf(e)===t)),score:this.#X};A[e]=i;s.#z.push(A);return s}#ee(e,t,r,s){const o=[];for(let n=0,A=e.#z.length;n<A;n++){const A=e.#z[n];const i=A[t]||A[C];const a={};if(i!==void 0){i.params=Object.create(null);o.push(i);if(r!==P||s&&s!==P){for(let e=0,t=i.possibleKeys.length;e<t;e++){const t=i.possibleKeys[e];const o=a[i.score];i.params[t]=s?.[t]&&!o?s[t]:r[t]??s?.[t];a[i.score]=true}}}}return o}search(e,t){const r=[];this.#$=P;const s=this;let o=[s];const n=splitPath(t);const A=[];for(let t=0,s=n.length;t<s;t++){const i=n[t];const a=t===s-1;const c=[];for(let s=0,l=o.length;s<l;s++){const l=o[s];const u=l.#H[i];if(u){u.#$=l.#$;if(a){if(u.#H["*"]){r.push(...this.#ee(u.#H["*"],e,l.#$))}r.push(...this.#ee(u,e,l.#$))}else{c.push(u)}}for(let s=0,o=l.#Z.length;s<o;s++){const o=l.#Z[s];const u=l.#$===P?{}:{...l.#$};if(o==="*"){const t=l.#H["*"];if(t){r.push(...this.#ee(t,e,l.#$));t.#$=u;c.push(t)}continue}if(i===""){continue}const[g,p,d]=o;const E=l.#H[g];const h=n.slice(t).join("/");if(d instanceof RegExp){const t=d.exec(h);if(t){u[p]=t[0];r.push(...this.#ee(E,e,l.#$,u));if(Object.keys(E.#H).length){E.#$=u;const e=t[0].match(/\//)?.length??0;const r=A[e]||=[];r.push(E)}continue}}if(d===true||d.test(i)){u[p]=i;if(a){r.push(...this.#ee(E,e,u,l.#$));if(E.#H["*"]){r.push(...this.#ee(E.#H["*"],e,u,l.#$))}}else{E.#$=u;c.push(E)}}}}o=c.concat(A.shift()??[])}if(r.length>1){r.sort(((e,t)=>e.score-t.score))}return[r.map((({handler:e,params:t})=>[e,t]))]}};var x=class{name="TrieRouter";#te;constructor(){this.#te=new M}add(e,t,r){const s=checkOptionalParameter(t);if(s){for(let t=0,o=s.length;t<o;t++){this.#te.insert(e,s[t],r)}return}this.#te.insert(e,t,r)}match(e,t){return this.#te.search(e,t)}};var H=class extends R{constructor(e={}){super(e);this.router=e.router??new L({routers:[new G,new x]})}};var env=(e,t)=>{const r=globalThis;const s=r?.process?.env;t??=getRuntimeKey();const o={bun:()=>s,node:()=>s,"edge-light":()=>s,deno:()=>Deno.env.toObject(),workerd:()=>e.env,fastly:()=>({}),other:()=>({})};return o[t]()};var V={deno:"Deno",bun:"Bun",workerd:"Cloudflare-Workers",node:"Node.js"};var getRuntimeKey=()=>{const e=globalThis;const t=typeof navigator!=="undefined"&&typeof navigator.userAgent==="string";if(t){for(const[e,t]of Object.entries(V)){if(checkUserAgentEquals(t)){return e}}}if(typeof e?.EdgeRuntime==="string"){return"edge-light"}if(e?.fastly!==void 0){return"fastly"}if(e?.process?.release?.name==="node"){return"node"}return"other"};var checkUserAgentEquals=e=>{const t=navigator.userAgent;return t.startsWith(e)};var Y=class extends Error{res;status;constructor(e=500,t){super(t?.message,{cause:t?.cause});this.res=t?.res;this.status=e}getResponse(){if(this.res){const e=new Response(this.res.body,{status:this.status,headers:this.res.headers});return e}return new Response(this.message,{status:this.status})}};var J=__nccwpck_require__(3228);function getUserAgent(){if(typeof navigator==="object"&&"userAgent"in navigator){return navigator.userAgent}if(typeof process==="object"&&process.version!==undefined){return`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`}return"<environment undetectable>"}function register(e,t,r,s){if(typeof r!=="function"){throw new Error("method for before hook must be a function")}if(!s){s={}}if(Array.isArray(t)){return t.reverse().reduce(((t,r)=>register.bind(null,e,r,t,s)),r)()}return Promise.resolve().then((()=>{if(!e.registry[t]){return r(s)}return e.registry[t].reduce(((e,t)=>t.hook.bind(null,e,s)),r)()}))}function addHook(e,t,r,s){const o=s;if(!e.registry[r]){e.registry[r]=[]}if(t==="before"){s=(e,t)=>Promise.resolve().then(o.bind(null,t)).then(e.bind(null,t))}if(t==="after"){s=(e,t)=>{let r;return Promise.resolve().then(e.bind(null,t)).then((e=>{r=e;return o(r,t)})).then((()=>r))}}if(t==="error"){s=(e,t)=>Promise.resolve().then(e.bind(null,t)).catch((e=>o(e,t)))}e.registry[r].push({hook:s,orig:o})}function removeHook(e,t,r){if(!e.registry[t]){return}const s=e.registry[t].map((e=>e.orig)).indexOf(r);if(s===-1){return}e.registry[t].splice(s,1)}const q=Function.bind;const j=q.bind(q);function bindApi(e,t,r){const s=j(removeHook,null).apply(null,r?[t,r]:[t]);e.api={remove:s};e.remove=s;["before","error","after","wrap"].forEach((s=>{const o=r?[t,s,r]:[t,s];e[s]=e.api[s]=j(addHook,null).apply(null,o)}))}function Singular(){const e=Symbol("Singular");const t={registry:{}};const r=register.bind(null,t,e);bindApi(r,t,e);return r}function Collection(){const e={registry:{}};const t=register.bind(null,e);bindApi(t,e);return t}const W={Singular:Singular,Collection:Collection};var K="0.0.0-development";var z=`octokit-endpoint.js/${K} ${getUserAgent()}`;var Z={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":z},mediaType:{format:""}};function lowercaseKeys(e){if(!e){return{}}return Object.keys(e).reduce(((t,r)=>{t[r.toLowerCase()]=e[r];return t}),{})}function isPlainObject(e){if(typeof e!=="object"||e===null)return false;if(Object.prototype.toString.call(e)!=="[object Object]")return false;const t=Object.getPrototypeOf(e);if(t===null)return true;const r=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof r==="function"&&r instanceof r&&Function.prototype.call(r)===Function.prototype.call(e)}function mergeDeep(e,t){const r=Object.assign({},e);Object.keys(t).forEach((s=>{if(isPlainObject(t[s])){if(!(s in e))Object.assign(r,{[s]:t[s]});else r[s]=mergeDeep(e[s],t[s])}else{Object.assign(r,{[s]:t[s]})}}));return r}function removeUndefinedProperties(e){for(const t in e){if(e[t]===void 0){delete e[t]}}return e}function merge(e,t,r){if(typeof t==="string"){let[e,s]=t.split(" ");r=Object.assign(s?{method:e,url:s}:{url:e},r)}else{r=Object.assign({},t)}r.headers=lowercaseKeys(r.headers);removeUndefinedProperties(r);removeUndefinedProperties(r.headers);const s=mergeDeep(e||{},r);if(r.url==="/graphql"){if(e&&e.mediaType.previews?.length){s.mediaType.previews=e.mediaType.previews.filter((e=>!s.mediaType.previews.includes(e))).concat(s.mediaType.previews)}s.mediaType.previews=(s.mediaType.previews||[]).map((e=>e.replace(/-preview/,"")))}return s}function addQueryParameters(e,t){const r=/\?/.test(e)?"&":"?";const s=Object.keys(t);if(s.length===0){return e}return e+r+s.map((e=>{if(e==="q"){return"q="+t.q.split("+").map(encodeURIComponent).join("+")}return`${e}=${encodeURIComponent(t[e])}`})).join("&")}var X=/\{[^}]+\}/g;function removeNonChars(e){return e.replace(/^\W+|\W+$/g,"").split(/,/)}function extractUrlVariableNames(e){const t=e.match(X);if(!t){return[]}return t.map(removeNonChars).reduce(((e,t)=>e.concat(t)),[])}function omit(e,t){const r={__proto__:null};for(const s of Object.keys(e)){if(t.indexOf(s)===-1){r[s]=e[s]}}return r}function encodeReserved(e){return e.split(/(%[0-9A-Fa-f]{2})/g).map((function(e){if(!/%[0-9A-Fa-f]/.test(e)){e=encodeURI(e).replace(/%5B/g,"[").replace(/%5D/g,"]")}return e})).join("")}function encodeUnreserved(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function encodeValue(e,t,r){t=e==="+"||e==="#"?encodeReserved(t):encodeUnreserved(t);if(r){return encodeUnreserved(r)+"="+t}else{return t}}function isDefined(e){return e!==void 0&&e!==null}function isKeyOperator(e){return e===";"||e==="&"||e==="?"}function getValues(e,t,r,s){var o=e[r],n=[];if(isDefined(o)&&o!==""){if(typeof o==="string"||typeof o==="number"||typeof o==="boolean"){o=o.toString();if(s&&s!=="*"){o=o.substring(0,parseInt(s,10))}n.push(encodeValue(t,o,isKeyOperator(t)?r:""))}else{if(s==="*"){if(Array.isArray(o)){o.filter(isDefined).forEach((function(e){n.push(encodeValue(t,e,isKeyOperator(t)?r:""))}))}else{Object.keys(o).forEach((function(e){if(isDefined(o[e])){n.push(encodeValue(t,o[e],e))}}))}}else{const e=[];if(Array.isArray(o)){o.filter(isDefined).forEach((function(r){e.push(encodeValue(t,r))}))}else{Object.keys(o).forEach((function(r){if(isDefined(o[r])){e.push(encodeUnreserved(r));e.push(encodeValue(t,o[r].toString()))}}))}if(isKeyOperator(t)){n.push(encodeUnreserved(r)+"="+e.join(","))}else if(e.length!==0){n.push(e.join(","))}}}}else{if(t===";"){if(isDefined(o)){n.push(encodeUnreserved(r))}}else if(o===""&&(t==="&"||t==="?")){n.push(encodeUnreserved(r)+"=")}else if(o===""){n.push("")}}return n}function parseUrl(e){return{expand:expand.bind(null,e)}}function expand(e,t){var r=["+","#",".","/",";","?","&"];e=e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,(function(e,s,o){if(s){let e="";const o=[];if(r.indexOf(s.charAt(0))!==-1){e=s.charAt(0);s=s.substr(1)}s.split(/,/g).forEach((function(r){var s=/([^:\*]*)(?::(\d+)|(\*))?/.exec(r);o.push(getValues(t,e,s[1],s[2]||s[3]))}));if(e&&e!=="+"){var n=",";if(e==="?"){n="&"}else if(e!=="#"){n=e}return(o.length!==0?e:"")+o.join(n)}else{return o.join(",")}}else{return encodeReserved(o)}}));if(e==="/"){return e}else{return e.replace(/\/$/,"")}}function parse(e){let t=e.method.toUpperCase();let r=(e.url||"/").replace(/:([a-z]\w+)/g,"{$1}");let s=Object.assign({},e.headers);let o;let n=omit(e,["method","baseUrl","url","headers","request","mediaType"]);const A=extractUrlVariableNames(r);r=parseUrl(r).expand(n);if(!/^http/.test(r)){r=e.baseUrl+r}const i=Object.keys(e).filter((e=>A.includes(e))).concat("baseUrl");const a=omit(n,i);const c=/application\/octet-stream/i.test(s.accept);if(!c){if(e.mediaType.format){s.accept=s.accept.split(/,/).map((t=>t.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${e.mediaType.format}`))).join(",")}if(r.endsWith("/graphql")){if(e.mediaType.previews?.length){const t=s.accept.match(/[\w-]+(?=-preview)/g)||[];s.accept=t.concat(e.mediaType.previews).map((t=>{const r=e.mediaType.format?`.${e.mediaType.format}`:"+json";return`application/vnd.github.${t}-preview${r}`})).join(",")}}}if(["GET","HEAD"].includes(t)){r=addQueryParameters(r,a)}else{if("data"in a){o=a.data}else{if(Object.keys(a).length){o=a}}}if(!s["content-type"]&&typeof o!=="undefined"){s["content-type"]="application/json; charset=utf-8"}if(["PATCH","PUT"].includes(t)&&typeof o==="undefined"){o=""}return Object.assign({method:t,url:r,headers:s},typeof o!=="undefined"?{body:o}:null,e.request?{request:e.request}:null)}function endpointWithDefaults(e,t,r){return parse(merge(e,t,r))}function withDefaults(e,t){const r=merge(e,t);const s=endpointWithDefaults.bind(null,r);return Object.assign(s,{DEFAULTS:r,defaults:withDefaults.bind(null,r),merge:merge.bind(null,r),parse:parse})}var $=withDefaults(null,Z);var ee=__nccwpck_require__(1120);class RequestError extends Error{name;status;request;response;constructor(e,t,r){super(e);this.name="HttpError";this.status=Number.parseInt(t);if(Number.isNaN(this.status)){this.status=0}if("response"in r){this.response=r.response}const s=Object.assign({},r.request);if(r.request.headers.authorization){s.headers=Object.assign({},r.request.headers,{authorization:r.request.headers.authorization.replace(/ .*$/," [REDACTED]")})}s.url=s.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=s}}var te="0.0.0-development";var re={headers:{"user-agent":`octokit-request.js/${te} ${getUserAgent()}`}};function dist_bundle_isPlainObject(e){if(typeof e!=="object"||e===null)return false;if(Object.prototype.toString.call(e)!=="[object Object]")return false;const t=Object.getPrototypeOf(e);if(t===null)return true;const r=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof r==="function"&&r instanceof r&&Function.prototype.call(r)===Function.prototype.call(e)}async function fetchWrapper(e){const t=e.request?.fetch||globalThis.fetch;if(!t){throw new Error("fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing")}const r=e.request?.log||console;const s=e.request?.parseSuccessResponseBody!==false;const o=dist_bundle_isPlainObject(e.body)||Array.isArray(e.body)?JSON.stringify(e.body):e.body;const n=Object.fromEntries(Object.entries(e.headers).map((([e,t])=>[e,String(t)])));let A;try{A=await t(e.url,{method:e.method,body:o,redirect:e.request?.redirect,headers:n,signal:e.request?.signal,...e.body&&{duplex:"half"}})}catch(t){let r="Unknown Error";if(t instanceof Error){if(t.name==="AbortError"){t.status=500;throw t}r=t.message;if(t.name==="TypeError"&&"cause"in t){if(t.cause instanceof Error){r=t.cause.message}else if(typeof t.cause==="string"){r=t.cause}}}const s=new RequestError(r,500,{request:e});s.cause=t;throw s}const i=A.status;const a=A.url;const c={};for(const[e,t]of A.headers){c[e]=t}const l={url:a,status:i,headers:c,data:""};if("deprecation"in c){const t=c.link&&c.link.match(/<([^>]+)>; rel="deprecation"/);const s=t&&t.pop();r.warn(`[@octokit/request] "${e.method} ${e.url}" is deprecated. It is scheduled to be removed on ${c.sunset}${s?`. See ${s}`:""}`)}if(i===204||i===205){return l}if(e.method==="HEAD"){if(i<400){return l}throw new RequestError(A.statusText,i,{response:l,request:e})}if(i===304){l.data=await getResponseData(A);throw new RequestError("Not modified",i,{response:l,request:e})}if(i>=400){l.data=await getResponseData(A);throw new RequestError(toErrorMessage(l.data),i,{response:l,request:e})}l.data=s?await getResponseData(A):A.body;return l}async function getResponseData(e){const t=e.headers.get("content-type");if(!t){return e.text().catch((()=>""))}const r=(0,ee.xL)(t);if(isJSONResponse(r)){let t="";try{t=await e.text();return JSON.parse(t)}catch(e){return t}}else if(r.type.startsWith("text/")||r.parameters.charset?.toLowerCase()==="utf-8"){return e.text().catch((()=>""))}else{return e.arrayBuffer().catch((()=>new ArrayBuffer(0)))}}function isJSONResponse(e){return e.type==="application/json"||e.type==="application/scim+json"}function toErrorMessage(e){if(typeof e==="string"){return e}if(e instanceof ArrayBuffer){return"Unknown error"}if("message"in e){const t="documentation_url"in e?` - ${e.documentation_url}`:"";return Array.isArray(e.errors)?`${e.message}: ${e.errors.map((e=>JSON.stringify(e))).join(", ")}${t}`:`${e.message}${t}`}return`Unknown error: ${JSON.stringify(e)}`}function dist_bundle_withDefaults(e,t){const r=e.defaults(t);const newApi=function(e,t){const s=r.merge(e,t);if(!s.request||!s.request.hook){return fetchWrapper(r.parse(s))}const request2=(e,t)=>fetchWrapper(r.parse(r.merge(e,t)));Object.assign(request2,{endpoint:r,defaults:dist_bundle_withDefaults.bind(null,r)});return s.request.hook(request2,s)};return Object.assign(newApi,{endpoint:r,defaults:dist_bundle_withDefaults.bind(null,r)})}var se=dist_bundle_withDefaults($,re);var oe="0.0.0-development";function _buildMessageForResponseErrors(e){return`Request failed due to following response errors:\n`+e.errors.map((e=>` - ${e.message}`)).join("\n")}var ne=class extends Error{constructor(e,t,r){super(_buildMessageForResponseErrors(r));this.request=e;this.headers=t;this.response=r;this.errors=r.errors;this.data=r.data;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}name="GraphqlResponseError";errors;data};var Ae=["method","baseUrl","url","headers","request","query","mediaType","operationName"];var ie=["query","method","url"];var ae=/\/api\/v3\/?$/;function graphql(e,t,r){if(r){if(typeof t==="string"&&"query"in r){return Promise.reject(new Error(`[@octokit/graphql] "query" cannot be used as variable name`))}for(const e in r){if(!ie.includes(e))continue;return Promise.reject(new Error(`[@octokit/graphql] "${e}" cannot be used as variable name`))}}const s=typeof t==="string"?Object.assign({query:t},r):t;const o=Object.keys(s).reduce(((e,t)=>{if(Ae.includes(t)){e[t]=s[t];return e}if(!e.variables){e.variables={}}e.variables[t]=s[t];return e}),{});const n=s.baseUrl||e.endpoint.DEFAULTS.baseUrl;if(ae.test(n)){o.url=n.replace(ae,"/api/graphql")}return e(o).then((e=>{if(e.data.errors){const t={};for(const r of Object.keys(e.headers)){t[r]=e.headers[r]}throw new ne(o,t,e.data)}return e.data.data}))}function graphql_dist_bundle_withDefaults(e,t){const r=e.defaults(t);const newApi=(e,t)=>graphql(r,e,t);return Object.assign(newApi,{defaults:graphql_dist_bundle_withDefaults.bind(null,r),endpoint:r.endpoint})}var ce=graphql_dist_bundle_withDefaults(se,{headers:{"user-agent":`octokit-graphql.js/${oe} ${getUserAgent()}`},method:"POST",url:"/graphql"});function withCustomRequest(e){return graphql_dist_bundle_withDefaults(e,{method:"POST",url:"/graphql"})}var le="(?:[a-zA-Z0-9_-]+)";var ue="\\.";var ge=new RegExp(`^${le}${ue}${le}${ue}${le}$`);var pe=ge.test.bind(ge);async function auth(e){const t=pe(e);const r=e.startsWith("v1.")||e.startsWith("ghs_");const s=e.startsWith("ghu_");const o=t?"app":r?"installation":s?"user-to-server":"oauth";return{type:"token",token:e,tokenType:o}}function withAuthorizationPrefix(e){if(e.split(/\./).length===3){return`bearer ${e}`}return`token ${e}`}async function hook(e,t,r,s){const o=t.endpoint.merge(r,s);o.headers.authorization=withAuthorizationPrefix(e);return t(o)}var de=function createTokenAuth2(e){if(!e){throw new Error("[@octokit/auth-token] No token passed to createTokenAuth")}if(typeof e!=="string"){throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string")}e=e.replace(/^(token|bearer) +/i,"");return Object.assign(auth.bind(null,e),{hook:hook.bind(null,e)})};const Ee="6.1.3";const noop=()=>{};const he=console.warn.bind(console);const fe=console.error.bind(console);const Ie=`octokit-core.js/${Ee} ${getUserAgent()}`;class Octokit{static VERSION=Ee;static defaults(e){const t=class extends(this){constructor(...t){const r=t[0]||{};if(typeof e==="function"){super(e(r));return}super(Object.assign({},e,r,r.userAgent&&e.userAgent?{userAgent:`${r.userAgent} ${e.userAgent}`}:null))}};return t}static plugins=[];static plugin(...e){const t=this.plugins;const r=class extends(this){static plugins=t.concat(e.filter((e=>!t.includes(e))))};return r}constructor(e={}){const t=new W.Collection;const r={baseUrl:se.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},e.request,{hook:t.bind(null,"request")}),mediaType:{previews:[],format:""}};r.headers["user-agent"]=e.userAgent?`${e.userAgent} ${Ie}`:Ie;if(e.baseUrl){r.baseUrl=e.baseUrl}if(e.previews){r.mediaType.previews=e.previews}if(e.timeZone){r.headers["time-zone"]=e.timeZone}this.request=se.defaults(r);this.graphql=withCustomRequest(this.request).defaults(r);this.log=Object.assign({debug:noop,info:noop,warn:he,error:fe},e.log);this.hook=t;if(!e.authStrategy){if(!e.auth){this.auth=async()=>({type:"unauthenticated"})}else{const r=de(e.auth);t.wrap("request",r.hook);this.auth=r}}else{const{authStrategy:r,...s}=e;const o=r(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:s},e.auth));t.wrap("request",o.hook);this.auth=o}const s=this.constructor;for(let t=0;t<s.plugins.length;++t){Object.assign(this,s.plugins[t](this,e))}}request;graphql;log;hook;auth}var me="0.0.0-development";function normalizePaginatedListResponse(e){if(!e.data){return{...e,data:[]}}const t="total_count"in e.data&&!("url"in e.data);if(!t)return e;const r=e.data.incomplete_results;const s=e.data.repository_selection;const o=e.data.total_count;delete e.data.incomplete_results;delete e.data.repository_selection;delete e.data.total_count;const n=Object.keys(e.data)[0];const A=e.data[n];e.data=A;if(typeof r!=="undefined"){e.data.incomplete_results=r}if(typeof s!=="undefined"){e.data.repository_selection=s}e.data.total_count=o;return e}function iterator(e,t,r){const s=typeof t==="function"?t.endpoint(r):e.request.endpoint(t,r);const o=typeof t==="function"?t:e.request;const n=s.method;const A=s.headers;let i=s.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!i)return{done:true};try{const e=await o({method:n,url:i,headers:A});const t=normalizePaginatedListResponse(e);i=((t.headers.link||"").match(/<([^>]+)>;\s*rel="next"/)||[])[1];return{value:t}}catch(e){if(e.status!==409)throw e;i="";return{value:{status:200,headers:{},data:[]}}}}})}}function paginate(e,t,r,s){if(typeof r==="function"){s=r;r=void 0}return gather(e,[],iterator(e,t,r)[Symbol.asyncIterator](),s)}function gather(e,t,r,s){return r.next().then((o=>{if(o.done){return t}let n=false;function done(){n=true}t=t.concat(s?s(o.value,done):o.value.data);if(n){return t}return gather(e,t,r,s)}))}var Ce=Object.assign(paginate,{iterator:iterator});var Qe=null&&["GET /advisories","GET /app/hook/deliveries","GET /app/installation-requests","GET /app/installations","GET /assignments/{assignment_id}/accepted_assignments","GET /classrooms","GET /classrooms/{classroom_id}/assignments","GET /enterprises/{enterprise}/code-security/configurations","GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories","GET /enterprises/{enterprise}/dependabot/alerts","GET /enterprises/{enterprise}/secret-scanning/alerts","GET /events","GET /gists","GET /gists/public","GET /gists/starred","GET /gists/{gist_id}/comments","GET /gists/{gist_id}/commits","GET /gists/{gist_id}/forks","GET /installation/repositories","GET /issues","GET /licenses","GET /marketplace_listing/plans","GET /marketplace_listing/plans/{plan_id}/accounts","GET /marketplace_listing/stubbed/plans","GET /marketplace_listing/stubbed/plans/{plan_id}/accounts","GET /networks/{owner}/{repo}/events","GET /notifications","GET /organizations","GET /orgs/{org}/actions/cache/usage-by-repository","GET /orgs/{org}/actions/permissions/repositories","GET /orgs/{org}/actions/runner-groups","GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories","GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners","GET /orgs/{org}/actions/runners","GET /orgs/{org}/actions/secrets","GET /orgs/{org}/actions/secrets/{secret_name}/repositories","GET /orgs/{org}/actions/variables","GET /orgs/{org}/actions/variables/{name}/repositories","GET /orgs/{org}/attestations/{subject_digest}","GET /orgs/{org}/blocks","GET /orgs/{org}/code-scanning/alerts","GET /orgs/{org}/code-security/configurations","GET /orgs/{org}/code-security/configurations/{configuration_id}/repositories","GET /orgs/{org}/codespaces","GET /orgs/{org}/codespaces/secrets","GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories","GET /orgs/{org}/copilot/billing/seats","GET /orgs/{org}/copilot/metrics","GET /orgs/{org}/copilot/usage","GET /orgs/{org}/dependabot/alerts","GET /orgs/{org}/dependabot/secrets","GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories","GET /orgs/{org}/events","GET /orgs/{org}/failed_invitations","GET /orgs/{org}/hooks","GET /orgs/{org}/hooks/{hook_id}/deliveries","GET /orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}","GET /orgs/{org}/insights/api/subject-stats","GET /orgs/{org}/insights/api/user-stats/{user_id}","GET /orgs/{org}/installations","GET /orgs/{org}/invitations","GET /orgs/{org}/invitations/{invitation_id}/teams","GET /orgs/{org}/issues","GET /orgs/{org}/members","GET /orgs/{org}/members/{username}/codespaces","GET /orgs/{org}/migrations","GET /orgs/{org}/migrations/{migration_id}/repositories","GET /orgs/{org}/organization-roles/{role_id}/teams","GET /orgs/{org}/organization-roles/{role_id}/users","GET /orgs/{org}/outside_collaborators","GET /orgs/{org}/packages","GET /orgs/{org}/packages/{package_type}/{package_name}/versions","GET /orgs/{org}/personal-access-token-requests","GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories","GET /orgs/{org}/personal-access-tokens","GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories","GET /orgs/{org}/private-registries","GET /orgs/{org}/projects","GET /orgs/{org}/properties/values","GET /orgs/{org}/public_members","GET /orgs/{org}/repos","GET /orgs/{org}/rulesets","GET /orgs/{org}/rulesets/rule-suites","GET /orgs/{org}/secret-scanning/alerts","GET /orgs/{org}/security-advisories","GET /orgs/{org}/team/{team_slug}/copilot/metrics","GET /orgs/{org}/team/{team_slug}/copilot/usage","GET /orgs/{org}/teams","GET /orgs/{org}/teams/{team_slug}/discussions","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions","GET /orgs/{org}/teams/{team_slug}/invitations","GET /orgs/{org}/teams/{team_slug}/members","GET /orgs/{org}/teams/{team_slug}/projects","GET /orgs/{org}/teams/{team_slug}/repos","GET /orgs/{org}/teams/{team_slug}/teams","GET /projects/columns/{column_id}/cards","GET /projects/{project_id}/collaborators","GET /projects/{project_id}/columns","GET /repos/{owner}/{repo}/actions/artifacts","GET /repos/{owner}/{repo}/actions/caches","GET /repos/{owner}/{repo}/actions/organization-secrets","GET /repos/{owner}/{repo}/actions/organization-variables","GET /repos/{owner}/{repo}/actions/runners","GET /repos/{owner}/{repo}/actions/runs","GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts","GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs","GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs","GET /repos/{owner}/{repo}/actions/secrets","GET /repos/{owner}/{repo}/actions/variables","GET /repos/{owner}/{repo}/actions/workflows","GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs","GET /repos/{owner}/{repo}/activity","GET /repos/{owner}/{repo}/assignees","GET /repos/{owner}/{repo}/attestations/{subject_digest}","GET /repos/{owner}/{repo}/branches","GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations","GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs","GET /repos/{owner}/{repo}/code-scanning/alerts","GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances","GET /repos/{owner}/{repo}/code-scanning/analyses","GET /repos/{owner}/{repo}/codespaces","GET /repos/{owner}/{repo}/codespaces/devcontainers","GET /repos/{owner}/{repo}/codespaces/secrets","GET /repos/{owner}/{repo}/collaborators","GET /repos/{owner}/{repo}/comments","GET /repos/{owner}/{repo}/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/commits","GET /repos/{owner}/{repo}/commits/{commit_sha}/comments","GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls","GET /repos/{owner}/{repo}/commits/{ref}/check-runs","GET /repos/{owner}/{repo}/commits/{ref}/check-suites","GET /repos/{owner}/{repo}/commits/{ref}/status","GET /repos/{owner}/{repo}/commits/{ref}/statuses","GET /repos/{owner}/{repo}/contributors","GET /repos/{owner}/{repo}/dependabot/alerts","GET /repos/{owner}/{repo}/dependabot/secrets","GET /repos/{owner}/{repo}/deployments","GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses","GET /repos/{owner}/{repo}/environments","GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies","GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps","GET /repos/{owner}/{repo}/environments/{environment_name}/secrets","GET /repos/{owner}/{repo}/environments/{environment_name}/variables","GET /repos/{owner}/{repo}/events","GET /repos/{owner}/{repo}/forks","GET /repos/{owner}/{repo}/hooks","GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries","GET /repos/{owner}/{repo}/invitations","GET /repos/{owner}/{repo}/issues","GET /repos/{owner}/{repo}/issues/comments","GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/issues/events","GET /repos/{owner}/{repo}/issues/{issue_number}/comments","GET /repos/{owner}/{repo}/issues/{issue_number}/events","GET /repos/{owner}/{repo}/issues/{issue_number}/labels","GET /repos/{owner}/{repo}/issues/{issue_number}/reactions","GET /repos/{owner}/{repo}/issues/{issue_number}/sub_issues","GET /repos/{owner}/{repo}/issues/{issue_number}/timeline","GET /repos/{owner}/{repo}/keys","GET /repos/{owner}/{repo}/labels","GET /repos/{owner}/{repo}/milestones","GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels","GET /repos/{owner}/{repo}/notifications","GET /repos/{owner}/{repo}/pages/builds","GET /repos/{owner}/{repo}/projects","GET /repos/{owner}/{repo}/pulls","GET /repos/{owner}/{repo}/pulls/comments","GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/pulls/{pull_number}/comments","GET /repos/{owner}/{repo}/pulls/{pull_number}/commits","GET /repos/{owner}/{repo}/pulls/{pull_number}/files","GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews","GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments","GET /repos/{owner}/{repo}/releases","GET /repos/{owner}/{repo}/releases/{release_id}/assets","GET /repos/{owner}/{repo}/releases/{release_id}/reactions","GET /repos/{owner}/{repo}/rules/branches/{branch}","GET /repos/{owner}/{repo}/rulesets","GET /repos/{owner}/{repo}/rulesets/rule-suites","GET /repos/{owner}/{repo}/secret-scanning/alerts","GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations","GET /repos/{owner}/{repo}/security-advisories","GET /repos/{owner}/{repo}/stargazers","GET /repos/{owner}/{repo}/subscribers","GET /repos/{owner}/{repo}/tags","GET /repos/{owner}/{repo}/teams","GET /repos/{owner}/{repo}/topics","GET /repositories","GET /search/code","GET /search/commits","GET /search/issues","GET /search/labels","GET /search/repositories","GET /search/topics","GET /search/users","GET /teams/{team_id}/discussions","GET /teams/{team_id}/discussions/{discussion_number}/comments","GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions","GET /teams/{team_id}/discussions/{discussion_number}/reactions","GET /teams/{team_id}/invitations","GET /teams/{team_id}/members","GET /teams/{team_id}/projects","GET /teams/{team_id}/repos","GET /teams/{team_id}/teams","GET /user/blocks","GET /user/codespaces","GET /user/codespaces/secrets","GET /user/emails","GET /user/followers","GET /user/following","GET /user/gpg_keys","GET /user/installations","GET /user/installations/{installation_id}/repositories","GET /user/issues","GET /user/keys","GET /user/marketplace_purchases","GET /user/marketplace_purchases/stubbed","GET /user/memberships/orgs","GET /user/migrations","GET /user/migrations/{migration_id}/repositories","GET /user/orgs","GET /user/packages","GET /user/packages/{package_type}/{package_name}/versions","GET /user/public_emails","GET /user/repos","GET /user/repository_invitations","GET /user/social_accounts","GET /user/ssh_signing_keys","GET /user/starred","GET /user/subscriptions","GET /user/teams","GET /users","GET /users/{username}/attestations/{subject_digest}","GET /users/{username}/events","GET /users/{username}/events/orgs/{org}","GET /users/{username}/events/public","GET /users/{username}/followers","GET /users/{username}/following","GET /users/{username}/gists","GET /users/{username}/gpg_keys","GET /users/{username}/keys","GET /users/{username}/orgs","GET /users/{username}/packages","GET /users/{username}/projects","GET /users/{username}/received_events","GET /users/{username}/received_events/public","GET /users/{username}/repos","GET /users/{username}/social_accounts","GET /users/{username}/ssh_signing_keys","GET /users/{username}/starred","GET /users/{username}/subscriptions"];function isPaginatingEndpoint(e){if(typeof e==="string"){return Qe.includes(e)}else{return false}}function paginateRest(e){return{paginate:Object.assign(paginate.bind(null,e),{iterator:iterator.bind(null,e)})}}paginateRest.VERSION=me;const Be="13.3.1";const ye={actions:{addCustomLabelsToSelfHostedRunnerForOrg:["POST /orgs/{org}/actions/runners/{runner_id}/labels"],addCustomLabelsToSelfHostedRunnerForRepo:["POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],addRepoAccessToSelfHostedRunnerGroupInOrg:["PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],approveWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve"],cancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"],createEnvironmentVariable:["POST /repos/{owner}/{repo}/environments/{environment_name}/variables"],createOrUpdateEnvironmentSecret:["PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}"],createOrgVariable:["POST /orgs/{org}/actions/variables"],createRegistrationTokenForOrg:["POST /orgs/{org}/actions/runners/registration-token"],createRegistrationTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/registration-token"],createRemoveTokenForOrg:["POST /orgs/{org}/actions/runners/remove-token"],createRemoveTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/remove-token"],createRepoVariable:["POST /repos/{owner}/{repo}/actions/variables"],createWorkflowDispatch:["POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches"],deleteActionsCacheById:["DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}"],deleteActionsCacheByKey:["DELETE /repos/{owner}/{repo}/actions/caches{?key,ref}"],deleteArtifact:["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],deleteEnvironmentSecret:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"],deleteEnvironmentVariable:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"],deleteOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}"],deleteOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}"],deleteRepoVariable:["DELETE /repos/{owner}/{repo}/actions/variables/{name}"],deleteSelfHostedRunnerFromOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}"],deleteSelfHostedRunnerFromRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}"],deleteWorkflowRun:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"],deleteWorkflowRunLogs:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],disableSelectedRepositoryGithubActionsOrganization:["DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}"],disableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable"],downloadArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"],downloadJobLogsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"],downloadWorkflowRunAttemptLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs"],downloadWorkflowRunLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],enableSelectedRepositoryGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories/{repository_id}"],enableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"],forceCancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel"],generateRunnerJitconfigForOrg:["POST /orgs/{org}/actions/runners/generate-jitconfig"],generateRunnerJitconfigForRepo:["POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig"],getActionsCacheList:["GET /repos/{owner}/{repo}/actions/caches"],getActionsCacheUsage:["GET /repos/{owner}/{repo}/actions/cache/usage"],getActionsCacheUsageByRepoForOrg:["GET /orgs/{org}/actions/cache/usage-by-repository"],getActionsCacheUsageForOrg:["GET /orgs/{org}/actions/cache/usage"],getAllowedActionsOrganization:["GET /orgs/{org}/actions/permissions/selected-actions"],getAllowedActionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/selected-actions"],getArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],getCustomOidcSubClaimForRepo:["GET /repos/{owner}/{repo}/actions/oidc/customization/sub"],getEnvironmentPublicKey:["GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key"],getEnvironmentSecret:["GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"],getEnvironmentVariable:["GET /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"],getGithubActionsDefaultWorkflowPermissionsOrganization:["GET /orgs/{org}/actions/permissions/workflow"],getGithubActionsDefaultWorkflowPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/workflow"],getGithubActionsPermissionsOrganization:["GET /orgs/{org}/actions/permissions"],getGithubActionsPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions"],getJobForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"],getOrgPublicKey:["GET /orgs/{org}/actions/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}"],getOrgVariable:["GET /orgs/{org}/actions/variables/{name}"],getPendingDeploymentsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],getRepoPermissions:["GET /repos/{owner}/{repo}/actions/permissions",{},{renamed:["actions","getGithubActionsPermissionsRepository"]}],getRepoPublicKey:["GET /repos/{owner}/{repo}/actions/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"],getRepoVariable:["GET /repos/{owner}/{repo}/actions/variables/{name}"],getReviewsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals"],getSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}"],getSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}"],getWorkflow:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"],getWorkflowAccessToRepository:["GET /repos/{owner}/{repo}/actions/permissions/access"],getWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}"],getWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}"],getWorkflowRunUsage:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"],getWorkflowUsage:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"],listArtifactsForRepo:["GET /repos/{owner}/{repo}/actions/artifacts"],listEnvironmentSecrets:["GET /repos/{owner}/{repo}/environments/{environment_name}/secrets"],listEnvironmentVariables:["GET /repos/{owner}/{repo}/environments/{environment_name}/variables"],listJobsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"],listJobsForWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs"],listLabelsForSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}/labels"],listLabelsForSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],listOrgSecrets:["GET /orgs/{org}/actions/secrets"],listOrgVariables:["GET /orgs/{org}/actions/variables"],listRepoOrganizationSecrets:["GET /repos/{owner}/{repo}/actions/organization-secrets"],listRepoOrganizationVariables:["GET /repos/{owner}/{repo}/actions/organization-variables"],listRepoSecrets:["GET /repos/{owner}/{repo}/actions/secrets"],listRepoVariables:["GET /repos/{owner}/{repo}/actions/variables"],listRepoWorkflows:["GET /repos/{owner}/{repo}/actions/workflows"],listRunnerApplicationsForOrg:["GET /orgs/{org}/actions/runners/downloads"],listRunnerApplicationsForRepo:["GET /repos/{owner}/{repo}/actions/runners/downloads"],listSelectedReposForOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}/repositories"],listSelectedReposForOrgVariable:["GET /orgs/{org}/actions/variables/{name}/repositories"],listSelectedRepositoriesEnabledGithubActionsOrganization:["GET /orgs/{org}/actions/permissions/repositories"],listSelfHostedRunnersForOrg:["GET /orgs/{org}/actions/runners"],listSelfHostedRunnersForRepo:["GET /repos/{owner}/{repo}/actions/runners"],listWorkflowRunArtifacts:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"],listWorkflowRuns:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"],listWorkflowRunsForRepo:["GET /repos/{owner}/{repo}/actions/runs"],reRunJobForWorkflowRun:["POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun"],reRunWorkflow:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"],reRunWorkflowFailedJobs:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs"],removeAllCustomLabelsFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels"],removeAllCustomLabelsFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],removeCustomLabelFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}"],removeCustomLabelFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],reviewCustomGatesForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule"],reviewPendingDeploymentsForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],setAllowedActionsOrganization:["PUT /orgs/{org}/actions/permissions/selected-actions"],setAllowedActionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/selected-actions"],setCustomLabelsForSelfHostedRunnerForOrg:["PUT /orgs/{org}/actions/runners/{runner_id}/labels"],setCustomLabelsForSelfHostedRunnerForRepo:["PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],setCustomOidcSubClaimForRepo:["PUT /repos/{owner}/{repo}/actions/oidc/customization/sub"],setGithubActionsDefaultWorkflowPermissionsOrganization:["PUT /orgs/{org}/actions/permissions/workflow"],setGithubActionsDefaultWorkflowPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/workflow"],setGithubActionsPermissionsOrganization:["PUT /orgs/{org}/actions/permissions"],setGithubActionsPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"],setSelectedReposForOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories"],setSelectedRepositoriesEnabledGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories"],setWorkflowAccessToRepository:["PUT /repos/{owner}/{repo}/actions/permissions/access"],updateEnvironmentVariable:["PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"],updateOrgVariable:["PATCH /orgs/{org}/actions/variables/{name}"],updateRepoVariable:["PATCH /repos/{owner}/{repo}/actions/variables/{name}"]},activity:{checkRepoIsStarredByAuthenticatedUser:["GET /user/starred/{owner}/{repo}"],deleteRepoSubscription:["DELETE /repos/{owner}/{repo}/subscription"],deleteThreadSubscription:["DELETE /notifications/threads/{thread_id}/subscription"],getFeeds:["GET /feeds"],getRepoSubscription:["GET /repos/{owner}/{repo}/subscription"],getThread:["GET /notifications/threads/{thread_id}"],getThreadSubscriptionForAuthenticatedUser:["GET /notifications/threads/{thread_id}/subscription"],listEventsForAuthenticatedUser:["GET /users/{username}/events"],listNotificationsForAuthenticatedUser:["GET /notifications"],listOrgEventsForAuthenticatedUser:["GET /users/{username}/events/orgs/{org}"],listPublicEvents:["GET /events"],listPublicEventsForRepoNetwork:["GET /networks/{owner}/{repo}/events"],listPublicEventsForUser:["GET /users/{username}/events/public"],listPublicOrgEvents:["GET /orgs/{org}/events"],listReceivedEventsForUser:["GET /users/{username}/received_events"],listReceivedPublicEventsForUser:["GET /users/{username}/received_events/public"],listRepoEvents:["GET /repos/{owner}/{repo}/events"],listRepoNotificationsForAuthenticatedUser:["GET /repos/{owner}/{repo}/notifications"],listReposStarredByAuthenticatedUser:["GET /user/starred"],listReposStarredByUser:["GET /users/{username}/starred"],listReposWatchedByUser:["GET /users/{username}/subscriptions"],listStargazersForRepo:["GET /repos/{owner}/{repo}/stargazers"],listWatchedReposForAuthenticatedUser:["GET /user/subscriptions"],listWatchersForRepo:["GET /repos/{owner}/{repo}/subscribers"],markNotificationsAsRead:["PUT /notifications"],markRepoNotificationsAsRead:["PUT /repos/{owner}/{repo}/notifications"],markThreadAsDone:["DELETE /notifications/threads/{thread_id}"],markThreadAsRead:["PATCH /notifications/threads/{thread_id}"],setRepoSubscription:["PUT /repos/{owner}/{repo}/subscription"],setThreadSubscription:["PUT /notifications/threads/{thread_id}/subscription"],starRepoForAuthenticatedUser:["PUT /user/starred/{owner}/{repo}"],unstarRepoForAuthenticatedUser:["DELETE /user/starred/{owner}/{repo}"]},apps:{addRepoToInstallation:["PUT /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","addRepoToInstallationForAuthenticatedUser"]}],addRepoToInstallationForAuthenticatedUser:["PUT /user/installations/{installation_id}/repositories/{repository_id}"],checkToken:["POST /applications/{client_id}/token"],createFromManifest:["POST /app-manifests/{code}/conversions"],createInstallationAccessToken:["POST /app/installations/{installation_id}/access_tokens"],deleteAuthorization:["DELETE /applications/{client_id}/grant"],deleteInstallation:["DELETE /app/installations/{installation_id}"],deleteToken:["DELETE /applications/{client_id}/token"],getAuthenticated:["GET /app"],getBySlug:["GET /apps/{app_slug}"],getInstallation:["GET /app/installations/{installation_id}"],getOrgInstallation:["GET /orgs/{org}/installation"],getRepoInstallation:["GET /repos/{owner}/{repo}/installation"],getSubscriptionPlanForAccount:["GET /marketplace_listing/accounts/{account_id}"],getSubscriptionPlanForAccountStubbed:["GET /marketplace_listing/stubbed/accounts/{account_id}"],getUserInstallation:["GET /users/{username}/installation"],getWebhookConfigForApp:["GET /app/hook/config"],getWebhookDelivery:["GET /app/hook/deliveries/{delivery_id}"],listAccountsForPlan:["GET /marketplace_listing/plans/{plan_id}/accounts"],listAccountsForPlanStubbed:["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"],listInstallationReposForAuthenticatedUser:["GET /user/installations/{installation_id}/repositories"],listInstallationRequestsForAuthenticatedApp:["GET /app/installation-requests"],listInstallations:["GET /app/installations"],listInstallationsForAuthenticatedUser:["GET /user/installations"],listPlans:["GET /marketplace_listing/plans"],listPlansStubbed:["GET /marketplace_listing/stubbed/plans"],listReposAccessibleToInstallation:["GET /installation/repositories"],listSubscriptionsForAuthenticatedUser:["GET /user/marketplace_purchases"],listSubscriptionsForAuthenticatedUserStubbed:["GET /user/marketplace_purchases/stubbed"],listWebhookDeliveries:["GET /app/hook/deliveries"],redeliverWebhookDelivery:["POST /app/hook/deliveries/{delivery_id}/attempts"],removeRepoFromInstallation:["DELETE /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","removeRepoFromInstallationForAuthenticatedUser"]}],removeRepoFromInstallationForAuthenticatedUser:["DELETE /user/installations/{installation_id}/repositories/{repository_id}"],resetToken:["PATCH /applications/{client_id}/token"],revokeInstallationAccessToken:["DELETE /installation/token"],scopeToken:["POST /applications/{client_id}/token/scoped"],suspendInstallation:["PUT /app/installations/{installation_id}/suspended"],unsuspendInstallation:["DELETE /app/installations/{installation_id}/suspended"],updateWebhookConfigForApp:["PATCH /app/hook/config"]},billing:{getGithubActionsBillingOrg:["GET /orgs/{org}/settings/billing/actions"],getGithubActionsBillingUser:["GET /users/{username}/settings/billing/actions"],getGithubBillingUsageReportOrg:["GET /organizations/{org}/settings/billing/usage"],getGithubPackagesBillingOrg:["GET /orgs/{org}/settings/billing/packages"],getGithubPackagesBillingUser:["GET /users/{username}/settings/billing/packages"],getSharedStorageBillingOrg:["GET /orgs/{org}/settings/billing/shared-storage"],getSharedStorageBillingUser:["GET /users/{username}/settings/billing/shared-storage"]},checks:{create:["POST /repos/{owner}/{repo}/check-runs"],createSuite:["POST /repos/{owner}/{repo}/check-suites"],get:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}"],getSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}"],listAnnotations:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations"],listForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"],listForSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs"],listSuitesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"],rerequestRun:["POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest"],rerequestSuite:["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest"],setSuitesPreferences:["PATCH /repos/{owner}/{repo}/check-suites/preferences"],update:["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"]},codeScanning:{commitAutofix:["POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix/commits"],createAutofix:["POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix"],createVariantAnalysis:["POST /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses"],deleteAnalysis:["DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}"],deleteCodeqlDatabase:["DELETE /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}"],getAlert:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}",{},{renamedParameters:{alert_id:"alert_number"}}],getAnalysis:["GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}"],getAutofix:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix"],getCodeqlDatabase:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}"],getDefaultSetup:["GET /repos/{owner}/{repo}/code-scanning/default-setup"],getSarif:["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"],getVariantAnalysis:["GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}"],getVariantAnalysisRepoTask:["GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}/repos/{repo_owner}/{repo_name}"],listAlertInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"],listAlertsForOrg:["GET /orgs/{org}/code-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/code-scanning/alerts"],listAlertsInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances",{},{renamed:["codeScanning","listAlertInstances"]}],listCodeqlDatabases:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases"],listRecentAnalyses:["GET /repos/{owner}/{repo}/code-scanning/analyses"],updateAlert:["PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}"],updateDefaultSetup:["PATCH /repos/{owner}/{repo}/code-scanning/default-setup"],uploadSarif:["POST /repos/{owner}/{repo}/code-scanning/sarifs"]},codeSecurity:{attachConfiguration:["POST /orgs/{org}/code-security/configurations/{configuration_id}/attach"],attachEnterpriseConfiguration:["POST /enterprises/{enterprise}/code-security/configurations/{configuration_id}/attach"],createConfiguration:["POST /orgs/{org}/code-security/configurations"],createConfigurationForEnterprise:["POST /enterprises/{enterprise}/code-security/configurations"],deleteConfiguration:["DELETE /orgs/{org}/code-security/configurations/{configuration_id}"],deleteConfigurationForEnterprise:["DELETE /enterprises/{enterprise}/code-security/configurations/{configuration_id}"],detachConfiguration:["DELETE /orgs/{org}/code-security/configurations/detach"],getConfiguration:["GET /orgs/{org}/code-security/configurations/{configuration_id}"],getConfigurationForRepository:["GET /repos/{owner}/{repo}/code-security-configuration"],getConfigurationsForEnterprise:["GET /enterprises/{enterprise}/code-security/configurations"],getConfigurationsForOrg:["GET /orgs/{org}/code-security/configurations"],getDefaultConfigurations:["GET /orgs/{org}/code-security/configurations/defaults"],getDefaultConfigurationsForEnterprise:["GET /enterprises/{enterprise}/code-security/configurations/defaults"],getRepositoriesForConfiguration:["GET /orgs/{org}/code-security/configurations/{configuration_id}/repositories"],getRepositoriesForEnterpriseConfiguration:["GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories"],getSingleConfigurationForEnterprise:["GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}"],setConfigurationAsDefault:["PUT /orgs/{org}/code-security/configurations/{configuration_id}/defaults"],setConfigurationAsDefaultForEnterprise:["PUT /enterprises/{enterprise}/code-security/configurations/{configuration_id}/defaults"],updateConfiguration:["PATCH /orgs/{org}/code-security/configurations/{configuration_id}"],updateEnterpriseConfiguration:["PATCH /enterprises/{enterprise}/code-security/configurations/{configuration_id}"]},codesOfConduct:{getAllCodesOfConduct:["GET /codes_of_conduct"],getConductCode:["GET /codes_of_conduct/{key}"]},codespaces:{addRepositoryForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],checkPermissionsForDevcontainer:["GET /repos/{owner}/{repo}/codespaces/permissions_check"],codespaceMachinesForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/machines"],createForAuthenticatedUser:["POST /user/codespaces"],createOrUpdateOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],createOrUpdateSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}"],createWithPrForAuthenticatedUser:["POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces"],createWithRepoForAuthenticatedUser:["POST /repos/{owner}/{repo}/codespaces"],deleteForAuthenticatedUser:["DELETE /user/codespaces/{codespace_name}"],deleteFromOrganization:["DELETE /orgs/{org}/members/{username}/codespaces/{codespace_name}"],deleteOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],deleteSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}"],exportForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/exports"],getCodespacesForUserInOrg:["GET /orgs/{org}/members/{username}/codespaces"],getExportDetailsForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/exports/{export_id}"],getForAuthenticatedUser:["GET /user/codespaces/{codespace_name}"],getOrgPublicKey:["GET /orgs/{org}/codespaces/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}"],getPublicKeyForAuthenticatedUser:["GET /user/codespaces/secrets/public-key"],getRepoPublicKey:["GET /repos/{owner}/{repo}/codespaces/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],getSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}"],listDevcontainersInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/devcontainers"],listForAuthenticatedUser:["GET /user/codespaces"],listInOrganization:["GET /orgs/{org}/codespaces",{},{renamedParameters:{org_id:"org"}}],listInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces"],listOrgSecrets:["GET /orgs/{org}/codespaces/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/codespaces/secrets"],listRepositoriesForSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}/repositories"],listSecretsForAuthenticatedUser:["GET /user/codespaces/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],preFlightWithRepoForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/new"],publishForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/publish"],removeRepositoryForSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],repoMachinesForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/machines"],setRepositoriesForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],startForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/start"],stopForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/stop"],stopInOrganization:["POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop"],updateForAuthenticatedUser:["PATCH /user/codespaces/{codespace_name}"]},copilot:{addCopilotSeatsForTeams:["POST /orgs/{org}/copilot/billing/selected_teams"],addCopilotSeatsForUsers:["POST /orgs/{org}/copilot/billing/selected_users"],cancelCopilotSeatAssignmentForTeams:["DELETE /orgs/{org}/copilot/billing/selected_teams"],cancelCopilotSeatAssignmentForUsers:["DELETE /orgs/{org}/copilot/billing/selected_users"],copilotMetricsForOrganization:["GET /orgs/{org}/copilot/metrics"],copilotMetricsForTeam:["GET /orgs/{org}/team/{team_slug}/copilot/metrics"],getCopilotOrganizationDetails:["GET /orgs/{org}/copilot/billing"],getCopilotSeatDetailsForUser:["GET /orgs/{org}/members/{username}/copilot"],listCopilotSeats:["GET /orgs/{org}/copilot/billing/seats"],usageMetricsForOrg:["GET /orgs/{org}/copilot/usage"],usageMetricsForTeam:["GET /orgs/{org}/team/{team_slug}/copilot/usage"]},dependabot:{addSelectedRepoToOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],deleteOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],getAlert:["GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"],getOrgPublicKey:["GET /orgs/{org}/dependabot/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}"],getRepoPublicKey:["GET /repos/{owner}/{repo}/dependabot/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/dependabot/alerts"],listAlertsForOrg:["GET /orgs/{org}/dependabot/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/dependabot/alerts"],listOrgSecrets:["GET /orgs/{org}/dependabot/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/dependabot/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],updateAlert:["PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"]},dependencyGraph:{createRepositorySnapshot:["POST /repos/{owner}/{repo}/dependency-graph/snapshots"],diffRange:["GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}"],exportSbom:["GET /repos/{owner}/{repo}/dependency-graph/sbom"]},emojis:{get:["GET /emojis"]},gists:{checkIsStarred:["GET /gists/{gist_id}/star"],create:["POST /gists"],createComment:["POST /gists/{gist_id}/comments"],delete:["DELETE /gists/{gist_id}"],deleteComment:["DELETE /gists/{gist_id}/comments/{comment_id}"],fork:["POST /gists/{gist_id}/forks"],get:["GET /gists/{gist_id}"],getComment:["GET /gists/{gist_id}/comments/{comment_id}"],getRevision:["GET /gists/{gist_id}/{sha}"],list:["GET /gists"],listComments:["GET /gists/{gist_id}/comments"],listCommits:["GET /gists/{gist_id}/commits"],listForUser:["GET /users/{username}/gists"],listForks:["GET /gists/{gist_id}/forks"],listPublic:["GET /gists/public"],listStarred:["GET /gists/starred"],star:["PUT /gists/{gist_id}/star"],unstar:["DELETE /gists/{gist_id}/star"],update:["PATCH /gists/{gist_id}"],updateComment:["PATCH /gists/{gist_id}/comments/{comment_id}"]},git:{createBlob:["POST /repos/{owner}/{repo}/git/blobs"],createCommit:["POST /repos/{owner}/{repo}/git/commits"],createRef:["POST /repos/{owner}/{repo}/git/refs"],createTag:["POST /repos/{owner}/{repo}/git/tags"],createTree:["POST /repos/{owner}/{repo}/git/trees"],deleteRef:["DELETE /repos/{owner}/{repo}/git/refs/{ref}"],getBlob:["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"],getCommit:["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"],getRef:["GET /repos/{owner}/{repo}/git/ref/{ref}"],getTag:["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"],getTree:["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"],listMatchingRefs:["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"],updateRef:["PATCH /repos/{owner}/{repo}/git/refs/{ref}"]},gitignore:{getAllTemplates:["GET /gitignore/templates"],getTemplate:["GET /gitignore/templates/{name}"]},interactions:{getRestrictionsForAuthenticatedUser:["GET /user/interaction-limits"],getRestrictionsForOrg:["GET /orgs/{org}/interaction-limits"],getRestrictionsForRepo:["GET /repos/{owner}/{repo}/interaction-limits"],getRestrictionsForYourPublicRepos:["GET /user/interaction-limits",{},{renamed:["interactions","getRestrictionsForAuthenticatedUser"]}],removeRestrictionsForAuthenticatedUser:["DELETE /user/interaction-limits"],removeRestrictionsForOrg:["DELETE /orgs/{org}/interaction-limits"],removeRestrictionsForRepo:["DELETE /repos/{owner}/{repo}/interaction-limits"],removeRestrictionsForYourPublicRepos:["DELETE /user/interaction-limits",{},{renamed:["interactions","removeRestrictionsForAuthenticatedUser"]}],setRestrictionsForAuthenticatedUser:["PUT /user/interaction-limits"],setRestrictionsForOrg:["PUT /orgs/{org}/interaction-limits"],setRestrictionsForRepo:["PUT /repos/{owner}/{repo}/interaction-limits"],setRestrictionsForYourPublicRepos:["PUT /user/interaction-limits",{},{renamed:["interactions","setRestrictionsForAuthenticatedUser"]}]},issues:{addAssignees:["POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"],addLabels:["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"],addSubIssue:["POST /repos/{owner}/{repo}/issues/{issue_number}/sub_issues"],checkUserCanBeAssigned:["GET /repos/{owner}/{repo}/assignees/{assignee}"],checkUserCanBeAssignedToIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}"],create:["POST /repos/{owner}/{repo}/issues"],createComment:["POST /repos/{owner}/{repo}/issues/{issue_number}/comments"],createLabel:["POST /repos/{owner}/{repo}/labels"],createMilestone:["POST /repos/{owner}/{repo}/milestones"],deleteComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}"],deleteLabel:["DELETE /repos/{owner}/{repo}/labels/{name}"],deleteMilestone:["DELETE /repos/{owner}/{repo}/milestones/{milestone_number}"],get:["GET /repos/{owner}/{repo}/issues/{issue_number}"],getComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"],getEvent:["GET /repos/{owner}/{repo}/issues/events/{event_id}"],getLabel:["GET /repos/{owner}/{repo}/labels/{name}"],getMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}"],list:["GET /issues"],listAssignees:["GET /repos/{owner}/{repo}/assignees"],listComments:["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"],listCommentsForRepo:["GET /repos/{owner}/{repo}/issues/comments"],listEvents:["GET /repos/{owner}/{repo}/issues/{issue_number}/events"],listEventsForRepo:["GET /repos/{owner}/{repo}/issues/events"],listEventsForTimeline:["GET /repos/{owner}/{repo}/issues/{issue_number}/timeline"],listForAuthenticatedUser:["GET /user/issues"],listForOrg:["GET /orgs/{org}/issues"],listForRepo:["GET /repos/{owner}/{repo}/issues"],listLabelsForMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"],listLabelsForRepo:["GET /repos/{owner}/{repo}/labels"],listLabelsOnIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/labels"],listMilestones:["GET /repos/{owner}/{repo}/milestones"],listSubIssues:["GET /repos/{owner}/{repo}/issues/{issue_number}/sub_issues"],lock:["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"],removeAllLabels:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels"],removeAssignees:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees"],removeLabel:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}"],removeSubIssue:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/sub_issue"],reprioritizeSubIssue:["PATCH /repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority"],setLabels:["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"],unlock:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"],update:["PATCH /repos/{owner}/{repo}/issues/{issue_number}"],updateComment:["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"],updateLabel:["PATCH /repos/{owner}/{repo}/labels/{name}"],updateMilestone:["PATCH /repos/{owner}/{repo}/milestones/{milestone_number}"]},licenses:{get:["GET /licenses/{license}"],getAllCommonlyUsed:["GET /licenses"],getForRepo:["GET /repos/{owner}/{repo}/license"]},markdown:{render:["POST /markdown"],renderRaw:["POST /markdown/raw",{headers:{"content-type":"text/plain; charset=utf-8"}}]},meta:{get:["GET /meta"],getAllVersions:["GET /versions"],getOctocat:["GET /octocat"],getZen:["GET /zen"],root:["GET /"]},migrations:{deleteArchiveForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/archive"],deleteArchiveForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/archive"],downloadArchiveForOrg:["GET /orgs/{org}/migrations/{migration_id}/archive"],getArchiveForAuthenticatedUser:["GET /user/migrations/{migration_id}/archive"],getStatusForAuthenticatedUser:["GET /user/migrations/{migration_id}"],getStatusForOrg:["GET /orgs/{org}/migrations/{migration_id}"],listForAuthenticatedUser:["GET /user/migrations"],listForOrg:["GET /orgs/{org}/migrations"],listReposForAuthenticatedUser:["GET /user/migrations/{migration_id}/repositories"],listReposForOrg:["GET /orgs/{org}/migrations/{migration_id}/repositories"],listReposForUser:["GET /user/migrations/{migration_id}/repositories",{},{renamed:["migrations","listReposForAuthenticatedUser"]}],startForAuthenticatedUser:["POST /user/migrations"],startForOrg:["POST /orgs/{org}/migrations"],unlockRepoForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock"],unlockRepoForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock"]},oidc:{getOidcCustomSubTemplateForOrg:["GET /orgs/{org}/actions/oidc/customization/sub"],updateOidcCustomSubTemplateForOrg:["PUT /orgs/{org}/actions/oidc/customization/sub"]},orgs:{addSecurityManagerTeam:["PUT /orgs/{org}/security-managers/teams/{team_slug}",{},{deprecated:"octokit.rest.orgs.addSecurityManagerTeam() is deprecated, see https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team"}],assignTeamToOrgRole:["PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],assignUserToOrgRole:["PUT /orgs/{org}/organization-roles/users/{username}/{role_id}"],blockUser:["PUT /orgs/{org}/blocks/{username}"],cancelInvitation:["DELETE /orgs/{org}/invitations/{invitation_id}"],checkBlockedUser:["GET /orgs/{org}/blocks/{username}"],checkMembershipForUser:["GET /orgs/{org}/members/{username}"],checkPublicMembershipForUser:["GET /orgs/{org}/public_members/{username}"],convertMemberToOutsideCollaborator:["PUT /orgs/{org}/outside_collaborators/{username}"],createInvitation:["POST /orgs/{org}/invitations"],createOrUpdateCustomProperties:["PATCH /orgs/{org}/properties/schema"],createOrUpdateCustomPropertiesValuesForRepos:["PATCH /orgs/{org}/properties/values"],createOrUpdateCustomProperty:["PUT /orgs/{org}/properties/schema/{custom_property_name}"],createWebhook:["POST /orgs/{org}/hooks"],delete:["DELETE /orgs/{org}"],deleteWebhook:["DELETE /orgs/{org}/hooks/{hook_id}"],enableOrDisableSecurityProductOnAllOrgRepos:["POST /orgs/{org}/{security_product}/{enablement}",{},{deprecated:"octokit.rest.orgs.enableOrDisableSecurityProductOnAllOrgRepos() is deprecated, see https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization"}],get:["GET /orgs/{org}"],getAllCustomProperties:["GET /orgs/{org}/properties/schema"],getCustomProperty:["GET /orgs/{org}/properties/schema/{custom_property_name}"],getMembershipForAuthenticatedUser:["GET /user/memberships/orgs/{org}"],getMembershipForUser:["GET /orgs/{org}/memberships/{username}"],getOrgRole:["GET /orgs/{org}/organization-roles/{role_id}"],getWebhook:["GET /orgs/{org}/hooks/{hook_id}"],getWebhookConfigForOrg:["GET /orgs/{org}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}"],list:["GET /organizations"],listAppInstallations:["GET /orgs/{org}/installations"],listAttestations:["GET /orgs/{org}/attestations/{subject_digest}"],listBlockedUsers:["GET /orgs/{org}/blocks"],listCustomPropertiesValuesForRepos:["GET /orgs/{org}/properties/values"],listFailedInvitations:["GET /orgs/{org}/failed_invitations"],listForAuthenticatedUser:["GET /user/orgs"],listForUser:["GET /users/{username}/orgs"],listInvitationTeams:["GET /orgs/{org}/invitations/{invitation_id}/teams"],listMembers:["GET /orgs/{org}/members"],listMembershipsForAuthenticatedUser:["GET /user/memberships/orgs"],listOrgRoleTeams:["GET /orgs/{org}/organization-roles/{role_id}/teams"],listOrgRoleUsers:["GET /orgs/{org}/organization-roles/{role_id}/users"],listOrgRoles:["GET /orgs/{org}/organization-roles"],listOrganizationFineGrainedPermissions:["GET /orgs/{org}/organization-fine-grained-permissions"],listOutsideCollaborators:["GET /orgs/{org}/outside_collaborators"],listPatGrantRepositories:["GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories"],listPatGrantRequestRepositories:["GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories"],listPatGrantRequests:["GET /orgs/{org}/personal-access-token-requests"],listPatGrants:["GET /orgs/{org}/personal-access-tokens"],listPendingInvitations:["GET /orgs/{org}/invitations"],listPublicMembers:["GET /orgs/{org}/public_members"],listSecurityManagerTeams:["GET /orgs/{org}/security-managers",{},{deprecated:"octokit.rest.orgs.listSecurityManagerTeams() is deprecated, see https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams"}],listWebhookDeliveries:["GET /orgs/{org}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /orgs/{org}/hooks"],pingWebhook:["POST /orgs/{org}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeCustomProperty:["DELETE /orgs/{org}/properties/schema/{custom_property_name}"],removeMember:["DELETE /orgs/{org}/members/{username}"],removeMembershipForUser:["DELETE /orgs/{org}/memberships/{username}"],removeOutsideCollaborator:["DELETE /orgs/{org}/outside_collaborators/{username}"],removePublicMembershipForAuthenticatedUser:["DELETE /orgs/{org}/public_members/{username}"],removeSecurityManagerTeam:["DELETE /orgs/{org}/security-managers/teams/{team_slug}",{},{deprecated:"octokit.rest.orgs.removeSecurityManagerTeam() is deprecated, see https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team"}],reviewPatGrantRequest:["POST /orgs/{org}/personal-access-token-requests/{pat_request_id}"],reviewPatGrantRequestsInBulk:["POST /orgs/{org}/personal-access-token-requests"],revokeAllOrgRolesTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}"],revokeAllOrgRolesUser:["DELETE /orgs/{org}/organization-roles/users/{username}"],revokeOrgRoleTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],revokeOrgRoleUser:["DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}"],setMembershipForUser:["PUT /orgs/{org}/memberships/{username}"],setPublicMembershipForAuthenticatedUser:["PUT /orgs/{org}/public_members/{username}"],unblockUser:["DELETE /orgs/{org}/blocks/{username}"],update:["PATCH /orgs/{org}"],updateMembershipForAuthenticatedUser:["PATCH /user/memberships/orgs/{org}"],updatePatAccess:["POST /orgs/{org}/personal-access-tokens/{pat_id}"],updatePatAccesses:["POST /orgs/{org}/personal-access-tokens"],updateWebhook:["PATCH /orgs/{org}/hooks/{hook_id}"],updateWebhookConfigForOrg:["PATCH /orgs/{org}/hooks/{hook_id}/config"]},packages:{deletePackageForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}"],deletePackageForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}"],deletePackageForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}"],deletePackageVersionForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getAllPackageVersionsForAPackageOwnedByAnOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByOrg"]}],getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByAuthenticatedUser"]}],getAllPackageVersionsForPackageOwnedByAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions"],getPackageForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}"],getPackageForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}"],getPackageForUser:["GET /users/{username}/packages/{package_type}/{package_name}"],getPackageVersionForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],listDockerMigrationConflictingPackagesForAuthenticatedUser:["GET /user/docker/conflicts"],listDockerMigrationConflictingPackagesForOrganization:["GET /orgs/{org}/docker/conflicts"],listDockerMigrationConflictingPackagesForUser:["GET /users/{username}/docker/conflicts"],listPackagesForAuthenticatedUser:["GET /user/packages"],listPackagesForOrganization:["GET /orgs/{org}/packages"],listPackagesForUser:["GET /users/{username}/packages"],restorePackageForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForUser:["POST /users/{username}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageVersionForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForUser:["POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"]},privateRegistries:{createOrgPrivateRegistry:["POST /orgs/{org}/private-registries"],deleteOrgPrivateRegistry:["DELETE /orgs/{org}/private-registries/{secret_name}"],getOrgPrivateRegistry:["GET /orgs/{org}/private-registries/{secret_name}"],getOrgPublicKey:["GET /orgs/{org}/private-registries/public-key"],listOrgPrivateRegistries:["GET /orgs/{org}/private-registries"],updateOrgPrivateRegistry:["PATCH /orgs/{org}/private-registries/{secret_name}"]},projects:{addCollaborator:["PUT /projects/{project_id}/collaborators/{username}"],createCard:["POST /projects/columns/{column_id}/cards"],createColumn:["POST /projects/{project_id}/columns"],createForAuthenticatedUser:["POST /user/projects"],createForOrg:["POST /orgs/{org}/projects"],createForRepo:["POST /repos/{owner}/{repo}/projects"],delete:["DELETE /projects/{project_id}"],deleteCard:["DELETE /projects/columns/cards/{card_id}"],deleteColumn:["DELETE /projects/columns/{column_id}"],get:["GET /projects/{project_id}"],getCard:["GET /projects/columns/cards/{card_id}"],getColumn:["GET /projects/columns/{column_id}"],getPermissionForUser:["GET /projects/{project_id}/collaborators/{username}/permission"],listCards:["GET /projects/columns/{column_id}/cards"],listCollaborators:["GET /projects/{project_id}/collaborators"],listColumns:["GET /projects/{project_id}/columns"],listForOrg:["GET /orgs/{org}/projects"],listForRepo:["GET /repos/{owner}/{repo}/projects"],listForUser:["GET /users/{username}/projects"],moveCard:["POST /projects/columns/cards/{card_id}/moves"],moveColumn:["POST /projects/columns/{column_id}/moves"],removeCollaborator:["DELETE /projects/{project_id}/collaborators/{username}"],update:["PATCH /projects/{project_id}"],updateCard:["PATCH /projects/columns/cards/{card_id}"],updateColumn:["PATCH /projects/columns/{column_id}"]},pulls:{checkIfMerged:["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],create:["POST /repos/{owner}/{repo}/pulls"],createReplyForReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies"],createReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],createReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments"],deletePendingReview:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],deleteReviewComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}"],dismissReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals"],get:["GET /repos/{owner}/{repo}/pulls/{pull_number}"],getReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],getReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"],list:["GET /repos/{owner}/{repo}/pulls"],listCommentsForReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments"],listCommits:["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"],listFiles:["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"],listRequestedReviewers:["GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],listReviewComments:["GET /repos/{owner}/{repo}/pulls/{pull_number}/comments"],listReviewCommentsForRepo:["GET /repos/{owner}/{repo}/pulls/comments"],listReviews:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],merge:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"],removeRequestedReviewers:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],requestReviewers:["POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],submitReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events"],update:["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"],updateBranch:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch"],updateReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],updateReviewComment:["PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}"]},rateLimit:{get:["GET /rate_limit"]},reactions:{createForCommitComment:["POST /repos/{owner}/{repo}/comments/{comment_id}/reactions"],createForIssue:["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions"],createForIssueComment:["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],createForPullRequestReviewComment:["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],createForRelease:["POST /repos/{owner}/{repo}/releases/{release_id}/reactions"],createForTeamDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],createForTeamDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"],deleteForCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}"],deleteForIssue:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}"],deleteForIssueComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}"],deleteForPullRequestComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}"],deleteForRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}"],deleteForTeamDiscussion:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}"],deleteForTeamDiscussionComment:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}"],listForCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions"],listForIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions"],listForIssueComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],listForPullRequestReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],listForRelease:["GET /repos/{owner}/{repo}/releases/{release_id}/reactions"],listForTeamDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],listForTeamDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"]},repos:{acceptInvitation:["PATCH /user/repository_invitations/{invitation_id}",{},{renamed:["repos","acceptInvitationForAuthenticatedUser"]}],acceptInvitationForAuthenticatedUser:["PATCH /user/repository_invitations/{invitation_id}"],addAppAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],addCollaborator:["PUT /repos/{owner}/{repo}/collaborators/{username}"],addStatusCheckContexts:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],addTeamAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],addUserAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],cancelPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel"],checkAutomatedSecurityFixes:["GET /repos/{owner}/{repo}/automated-security-fixes"],checkCollaborator:["GET /repos/{owner}/{repo}/collaborators/{username}"],checkPrivateVulnerabilityReporting:["GET /repos/{owner}/{repo}/private-vulnerability-reporting"],checkVulnerabilityAlerts:["GET /repos/{owner}/{repo}/vulnerability-alerts"],codeownersErrors:["GET /repos/{owner}/{repo}/codeowners/errors"],compareCommits:["GET /repos/{owner}/{repo}/compare/{base}...{head}"],compareCommitsWithBasehead:["GET /repos/{owner}/{repo}/compare/{basehead}"],createAttestation:["POST /repos/{owner}/{repo}/attestations"],createAutolink:["POST /repos/{owner}/{repo}/autolinks"],createCommitComment:["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"],createCommitSignatureProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],createCommitStatus:["POST /repos/{owner}/{repo}/statuses/{sha}"],createDeployKey:["POST /repos/{owner}/{repo}/keys"],createDeployment:["POST /repos/{owner}/{repo}/deployments"],createDeploymentBranchPolicy:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],createDeploymentProtectionRule:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],createDeploymentStatus:["POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],createDispatchEvent:["POST /repos/{owner}/{repo}/dispatches"],createForAuthenticatedUser:["POST /user/repos"],createFork:["POST /repos/{owner}/{repo}/forks"],createInOrg:["POST /orgs/{org}/repos"],createOrUpdateCustomPropertiesValues:["PATCH /repos/{owner}/{repo}/properties/values"],createOrUpdateEnvironment:["PUT /repos/{owner}/{repo}/environments/{environment_name}"],createOrUpdateFileContents:["PUT /repos/{owner}/{repo}/contents/{path}"],createOrgRuleset:["POST /orgs/{org}/rulesets"],createPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments"],createPagesSite:["POST /repos/{owner}/{repo}/pages"],createRelease:["POST /repos/{owner}/{repo}/releases"],createRepoRuleset:["POST /repos/{owner}/{repo}/rulesets"],createUsingTemplate:["POST /repos/{template_owner}/{template_repo}/generate"],createWebhook:["POST /repos/{owner}/{repo}/hooks"],declineInvitation:["DELETE /user/repository_invitations/{invitation_id}",{},{renamed:["repos","declineInvitationForAuthenticatedUser"]}],declineInvitationForAuthenticatedUser:["DELETE /user/repository_invitations/{invitation_id}"],delete:["DELETE /repos/{owner}/{repo}"],deleteAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],deleteAdminBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],deleteAnEnvironment:["DELETE /repos/{owner}/{repo}/environments/{environment_name}"],deleteAutolink:["DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}"],deleteBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection"],deleteCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}"],deleteCommitSignatureProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],deleteDeployKey:["DELETE /repos/{owner}/{repo}/keys/{key_id}"],deleteDeployment:["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"],deleteDeploymentBranchPolicy:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],deleteFile:["DELETE /repos/{owner}/{repo}/contents/{path}"],deleteInvitation:["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"],deleteOrgRuleset:["DELETE /orgs/{org}/rulesets/{ruleset_id}"],deletePagesSite:["DELETE /repos/{owner}/{repo}/pages"],deletePullRequestReviewProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],deleteRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}"],deleteReleaseAsset:["DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"],deleteRepoRuleset:["DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}"],deleteWebhook:["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"],disableAutomatedSecurityFixes:["DELETE /repos/{owner}/{repo}/automated-security-fixes"],disableDeploymentProtectionRule:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],disablePrivateVulnerabilityReporting:["DELETE /repos/{owner}/{repo}/private-vulnerability-reporting"],disableVulnerabilityAlerts:["DELETE /repos/{owner}/{repo}/vulnerability-alerts"],downloadArchive:["GET /repos/{owner}/{repo}/zipball/{ref}",{},{renamed:["repos","downloadZipballArchive"]}],downloadTarballArchive:["GET /repos/{owner}/{repo}/tarball/{ref}"],downloadZipballArchive:["GET /repos/{owner}/{repo}/zipball/{ref}"],enableAutomatedSecurityFixes:["PUT /repos/{owner}/{repo}/automated-security-fixes"],enablePrivateVulnerabilityReporting:["PUT /repos/{owner}/{repo}/private-vulnerability-reporting"],enableVulnerabilityAlerts:["PUT /repos/{owner}/{repo}/vulnerability-alerts"],generateReleaseNotes:["POST /repos/{owner}/{repo}/releases/generate-notes"],get:["GET /repos/{owner}/{repo}"],getAccessRestrictions:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],getAdminBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],getAllDeploymentProtectionRules:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],getAllEnvironments:["GET /repos/{owner}/{repo}/environments"],getAllStatusCheckContexts:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"],getAllTopics:["GET /repos/{owner}/{repo}/topics"],getAppsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"],getAutolink:["GET /repos/{owner}/{repo}/autolinks/{autolink_id}"],getBranch:["GET /repos/{owner}/{repo}/branches/{branch}"],getBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection"],getBranchRules:["GET /repos/{owner}/{repo}/rules/branches/{branch}"],getClones:["GET /repos/{owner}/{repo}/traffic/clones"],getCodeFrequencyStats:["GET /repos/{owner}/{repo}/stats/code_frequency"],getCollaboratorPermissionLevel:["GET /repos/{owner}/{repo}/collaborators/{username}/permission"],getCombinedStatusForRef:["GET /repos/{owner}/{repo}/commits/{ref}/status"],getCommit:["GET /repos/{owner}/{repo}/commits/{ref}"],getCommitActivityStats:["GET /repos/{owner}/{repo}/stats/commit_activity"],getCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}"],getCommitSignatureProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],getCommunityProfileMetrics:["GET /repos/{owner}/{repo}/community/profile"],getContent:["GET /repos/{owner}/{repo}/contents/{path}"],getContributorsStats:["GET /repos/{owner}/{repo}/stats/contributors"],getCustomDeploymentProtectionRule:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],getCustomPropertiesValues:["GET /repos/{owner}/{repo}/properties/values"],getDeployKey:["GET /repos/{owner}/{repo}/keys/{key_id}"],getDeployment:["GET /repos/{owner}/{repo}/deployments/{deployment_id}"],getDeploymentBranchPolicy:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],getDeploymentStatus:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"],getEnvironment:["GET /repos/{owner}/{repo}/environments/{environment_name}"],getLatestPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/latest"],getLatestRelease:["GET /repos/{owner}/{repo}/releases/latest"],getOrgRuleSuite:["GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id}"],getOrgRuleSuites:["GET /orgs/{org}/rulesets/rule-suites"],getOrgRuleset:["GET /orgs/{org}/rulesets/{ruleset_id}"],getOrgRulesets:["GET /orgs/{org}/rulesets"],getPages:["GET /repos/{owner}/{repo}/pages"],getPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/{build_id}"],getPagesDeployment:["GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}"],getPagesHealthCheck:["GET /repos/{owner}/{repo}/pages/health"],getParticipationStats:["GET /repos/{owner}/{repo}/stats/participation"],getPullRequestReviewProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],getPunchCardStats:["GET /repos/{owner}/{repo}/stats/punch_card"],getReadme:["GET /repos/{owner}/{repo}/readme"],getReadmeInDirectory:["GET /repos/{owner}/{repo}/readme/{dir}"],getRelease:["GET /repos/{owner}/{repo}/releases/{release_id}"],getReleaseAsset:["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"],getReleaseByTag:["GET /repos/{owner}/{repo}/releases/tags/{tag}"],getRepoRuleSuite:["GET /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id}"],getRepoRuleSuites:["GET /repos/{owner}/{repo}/rulesets/rule-suites"],getRepoRuleset:["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"],getRepoRulesets:["GET /repos/{owner}/{repo}/rulesets"],getStatusChecksProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],getTeamsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"],getTopPaths:["GET /repos/{owner}/{repo}/traffic/popular/paths"],getTopReferrers:["GET /repos/{owner}/{repo}/traffic/popular/referrers"],getUsersWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"],getViews:["GET /repos/{owner}/{repo}/traffic/views"],getWebhook:["GET /repos/{owner}/{repo}/hooks/{hook_id}"],getWebhookConfigForRepo:["GET /repos/{owner}/{repo}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}"],listActivities:["GET /repos/{owner}/{repo}/activity"],listAttestations:["GET /repos/{owner}/{repo}/attestations/{subject_digest}"],listAutolinks:["GET /repos/{owner}/{repo}/autolinks"],listBranches:["GET /repos/{owner}/{repo}/branches"],listBranchesForHeadCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head"],listCollaborators:["GET /repos/{owner}/{repo}/collaborators"],listCommentsForCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"],listCommitCommentsForRepo:["GET /repos/{owner}/{repo}/comments"],listCommitStatusesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/statuses"],listCommits:["GET /repos/{owner}/{repo}/commits"],listContributors:["GET /repos/{owner}/{repo}/contributors"],listCustomDeploymentRuleIntegrations:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps"],listDeployKeys:["GET /repos/{owner}/{repo}/keys"],listDeploymentBranchPolicies:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],listDeploymentStatuses:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],listDeployments:["GET /repos/{owner}/{repo}/deployments"],listForAuthenticatedUser:["GET /user/repos"],listForOrg:["GET /orgs/{org}/repos"],listForUser:["GET /users/{username}/repos"],listForks:["GET /repos/{owner}/{repo}/forks"],listInvitations:["GET /repos/{owner}/{repo}/invitations"],listInvitationsForAuthenticatedUser:["GET /user/repository_invitations"],listLanguages:["GET /repos/{owner}/{repo}/languages"],listPagesBuilds:["GET /repos/{owner}/{repo}/pages/builds"],listPublic:["GET /repositories"],listPullRequestsAssociatedWithCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls"],listReleaseAssets:["GET /repos/{owner}/{repo}/releases/{release_id}/assets"],listReleases:["GET /repos/{owner}/{repo}/releases"],listTags:["GET /repos/{owner}/{repo}/tags"],listTeams:["GET /repos/{owner}/{repo}/teams"],listWebhookDeliveries:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /repos/{owner}/{repo}/hooks"],merge:["POST /repos/{owner}/{repo}/merges"],mergeUpstream:["POST /repos/{owner}/{repo}/merge-upstream"],pingWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeAppAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],removeCollaborator:["DELETE /repos/{owner}/{repo}/collaborators/{username}"],removeStatusCheckContexts:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],removeStatusCheckProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],removeTeamAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],removeUserAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],renameBranch:["POST /repos/{owner}/{repo}/branches/{branch}/rename"],replaceAllTopics:["PUT /repos/{owner}/{repo}/topics"],requestPagesBuild:["POST /repos/{owner}/{repo}/pages/builds"],setAdminBranchProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],setAppAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],setStatusCheckContexts:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],setTeamAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],setUserAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],testPushWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"],transfer:["POST /repos/{owner}/{repo}/transfer"],update:["PATCH /repos/{owner}/{repo}"],updateBranchProtection:["PUT /repos/{owner}/{repo}/branches/{branch}/protection"],updateCommitComment:["PATCH /repos/{owner}/{repo}/comments/{comment_id}"],updateDeploymentBranchPolicy:["PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],updateInformationAboutPagesSite:["PUT /repos/{owner}/{repo}/pages"],updateInvitation:["PATCH /repos/{owner}/{repo}/invitations/{invitation_id}"],updateOrgRuleset:["PUT /orgs/{org}/rulesets/{ruleset_id}"],updatePullRequestReviewProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],updateRelease:["PATCH /repos/{owner}/{repo}/releases/{release_id}"],updateReleaseAsset:["PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}"],updateRepoRuleset:["PUT /repos/{owner}/{repo}/rulesets/{ruleset_id}"],updateStatusCheckPotection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks",{},{renamed:["repos","updateStatusCheckProtection"]}],updateStatusCheckProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],updateWebhook:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"],updateWebhookConfigForRepo:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config"],uploadReleaseAsset:["POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}",{baseUrl:"https://uploads.github.com"}]},search:{code:["GET /search/code"],commits:["GET /search/commits"],issuesAndPullRequests:["GET /search/issues"],labels:["GET /search/labels"],repos:["GET /search/repositories"],topics:["GET /search/topics"],users:["GET /search/users"]},secretScanning:{createPushProtectionBypass:["POST /repos/{owner}/{repo}/secret-scanning/push-protection-bypasses"],getAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"],getScanHistory:["GET /repos/{owner}/{repo}/secret-scanning/scan-history"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/secret-scanning/alerts"],listAlertsForOrg:["GET /orgs/{org}/secret-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/secret-scanning/alerts"],listLocationsForAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations"],updateAlert:["PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"]},securityAdvisories:{createFork:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks"],createPrivateVulnerabilityReport:["POST /repos/{owner}/{repo}/security-advisories/reports"],createRepositoryAdvisory:["POST /repos/{owner}/{repo}/security-advisories"],createRepositoryAdvisoryCveRequest:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve"],getGlobalAdvisory:["GET /advisories/{ghsa_id}"],getRepositoryAdvisory:["GET /repos/{owner}/{repo}/security-advisories/{ghsa_id}"],listGlobalAdvisories:["GET /advisories"],listOrgRepositoryAdvisories:["GET /orgs/{org}/security-advisories"],listRepositoryAdvisories:["GET /repos/{owner}/{repo}/security-advisories"],updateRepositoryAdvisory:["PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id}"]},teams:{addOrUpdateMembershipForUserInOrg:["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"],addOrUpdateProjectPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}"],addOrUpdateRepoPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],checkPermissionsForProjectInOrg:["GET /orgs/{org}/teams/{team_slug}/projects/{project_id}"],checkPermissionsForRepoInOrg:["GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],create:["POST /orgs/{org}/teams"],createDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],createDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions"],deleteDiscussionCommentInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],deleteDiscussionInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],deleteInOrg:["DELETE /orgs/{org}/teams/{team_slug}"],getByName:["GET /orgs/{org}/teams/{team_slug}"],getDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],getDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],getMembershipForUserInOrg:["GET /orgs/{org}/teams/{team_slug}/memberships/{username}"],list:["GET /orgs/{org}/teams"],listChildInOrg:["GET /orgs/{org}/teams/{team_slug}/teams"],listDiscussionCommentsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],listDiscussionsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions"],listForAuthenticatedUser:["GET /user/teams"],listMembersInOrg:["GET /orgs/{org}/teams/{team_slug}/members"],listPendingInvitationsInOrg:["GET /orgs/{org}/teams/{team_slug}/invitations"],listProjectsInOrg:["GET /orgs/{org}/teams/{team_slug}/projects"],listReposInOrg:["GET /orgs/{org}/teams/{team_slug}/repos"],removeMembershipForUserInOrg:["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"],removeProjectInOrg:["DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}"],removeRepoInOrg:["DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],updateDiscussionCommentInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],updateDiscussionInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],updateInOrg:["PATCH /orgs/{org}/teams/{team_slug}"]},users:{addEmailForAuthenticated:["POST /user/emails",{},{renamed:["users","addEmailForAuthenticatedUser"]}],addEmailForAuthenticatedUser:["POST /user/emails"],addSocialAccountForAuthenticatedUser:["POST /user/social_accounts"],block:["PUT /user/blocks/{username}"],checkBlocked:["GET /user/blocks/{username}"],checkFollowingForUser:["GET /users/{username}/following/{target_user}"],checkPersonIsFollowedByAuthenticated:["GET /user/following/{username}"],createGpgKeyForAuthenticated:["POST /user/gpg_keys",{},{renamed:["users","createGpgKeyForAuthenticatedUser"]}],createGpgKeyForAuthenticatedUser:["POST /user/gpg_keys"],createPublicSshKeyForAuthenticated:["POST /user/keys",{},{renamed:["users","createPublicSshKeyForAuthenticatedUser"]}],createPublicSshKeyForAuthenticatedUser:["POST /user/keys"],createSshSigningKeyForAuthenticatedUser:["POST /user/ssh_signing_keys"],deleteEmailForAuthenticated:["DELETE /user/emails",{},{renamed:["users","deleteEmailForAuthenticatedUser"]}],deleteEmailForAuthenticatedUser:["DELETE /user/emails"],deleteGpgKeyForAuthenticated:["DELETE /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","deleteGpgKeyForAuthenticatedUser"]}],deleteGpgKeyForAuthenticatedUser:["DELETE /user/gpg_keys/{gpg_key_id}"],deletePublicSshKeyForAuthenticated:["DELETE /user/keys/{key_id}",{},{renamed:["users","deletePublicSshKeyForAuthenticatedUser"]}],deletePublicSshKeyForAuthenticatedUser:["DELETE /user/keys/{key_id}"],deleteSocialAccountForAuthenticatedUser:["DELETE /user/social_accounts"],deleteSshSigningKeyForAuthenticatedUser:["DELETE /user/ssh_signing_keys/{ssh_signing_key_id}"],follow:["PUT /user/following/{username}"],getAuthenticated:["GET /user"],getById:["GET /user/{account_id}"],getByUsername:["GET /users/{username}"],getContextForUser:["GET /users/{username}/hovercard"],getGpgKeyForAuthenticated:["GET /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","getGpgKeyForAuthenticatedUser"]}],getGpgKeyForAuthenticatedUser:["GET /user/gpg_keys/{gpg_key_id}"],getPublicSshKeyForAuthenticated:["GET /user/keys/{key_id}",{},{renamed:["users","getPublicSshKeyForAuthenticatedUser"]}],getPublicSshKeyForAuthenticatedUser:["GET /user/keys/{key_id}"],getSshSigningKeyForAuthenticatedUser:["GET /user/ssh_signing_keys/{ssh_signing_key_id}"],list:["GET /users"],listAttestations:["GET /users/{username}/attestations/{subject_digest}"],listBlockedByAuthenticated:["GET /user/blocks",{},{renamed:["users","listBlockedByAuthenticatedUser"]}],listBlockedByAuthenticatedUser:["GET /user/blocks"],listEmailsForAuthenticated:["GET /user/emails",{},{renamed:["users","listEmailsForAuthenticatedUser"]}],listEmailsForAuthenticatedUser:["GET /user/emails"],listFollowedByAuthenticated:["GET /user/following",{},{renamed:["users","listFollowedByAuthenticatedUser"]}],listFollowedByAuthenticatedUser:["GET /user/following"],listFollowersForAuthenticatedUser:["GET /user/followers"],listFollowersForUser:["GET /users/{username}/followers"],listFollowingForUser:["GET /users/{username}/following"],listGpgKeysForAuthenticated:["GET /user/gpg_keys",{},{renamed:["users","listGpgKeysForAuthenticatedUser"]}],listGpgKeysForAuthenticatedUser:["GET /user/gpg_keys"],listGpgKeysForUser:["GET /users/{username}/gpg_keys"],listPublicEmailsForAuthenticated:["GET /user/public_emails",{},{renamed:["users","listPublicEmailsForAuthenticatedUser"]}],listPublicEmailsForAuthenticatedUser:["GET /user/public_emails"],listPublicKeysForUser:["GET /users/{username}/keys"],listPublicSshKeysForAuthenticated:["GET /user/keys",{},{renamed:["users","listPublicSshKeysForAuthenticatedUser"]}],listPublicSshKeysForAuthenticatedUser:["GET /user/keys"],listSocialAccountsForAuthenticatedUser:["GET /user/social_accounts"],listSocialAccountsForUser:["GET /users/{username}/social_accounts"],listSshSigningKeysForAuthenticatedUser:["GET /user/ssh_signing_keys"],listSshSigningKeysForUser:["GET /users/{username}/ssh_signing_keys"],setPrimaryEmailVisibilityForAuthenticated:["PATCH /user/email/visibility",{},{renamed:["users","setPrimaryEmailVisibilityForAuthenticatedUser"]}],setPrimaryEmailVisibilityForAuthenticatedUser:["PATCH /user/email/visibility"],unblock:["DELETE /user/blocks/{username}"],unfollow:["DELETE /user/following/{username}"],updateAuthenticated:["PATCH /user"]}};var we=ye;const be=new Map;for(const[e,t]of Object.entries(we)){for(const[r,s]of Object.entries(t)){const[t,o,n]=s;const[A,i]=t.split(/ /);const a=Object.assign({method:A,url:i},o);if(!be.has(e)){be.set(e,new Map)}be.get(e).set(r,{scope:e,methodName:r,endpointDefaults:a,decorations:n})}}const Re={has({scope:e},t){return be.get(e).has(t)},getOwnPropertyDescriptor(e,t){return{value:this.get(e,t),configurable:true,writable:true,enumerable:true}},defineProperty(e,t,r){Object.defineProperty(e.cache,t,r);return true},deleteProperty(e,t){delete e.cache[t];return true},ownKeys({scope:e}){return[...be.get(e).keys()]},set(e,t,r){return e.cache[t]=r},get({octokit:e,scope:t,cache:r},s){if(r[s]){return r[s]}const o=be.get(t).get(s);if(!o){return void 0}const{endpointDefaults:n,decorations:A}=o;if(A){r[s]=decorate(e,t,s,n,A)}else{r[s]=e.request.defaults(n)}return r[s]}};function endpointsToMethods(e){const t={};for(const r of be.keys()){t[r]=new Proxy({octokit:e,scope:r,cache:{}},Re)}return t}function decorate(e,t,r,s,o){const n=e.request.defaults(s);function withDecorations(...s){let A=n.endpoint.merge(...s);if(o.mapToData){A=Object.assign({},A,{data:A[o.mapToData],[o.mapToData]:void 0});return n(A)}if(o.renamed){const[s,n]=o.renamed;e.log.warn(`octokit.${t}.${r}() has been renamed to octokit.${s}.${n}()`)}if(o.deprecated){e.log.warn(o.deprecated)}if(o.renamedParameters){const A=n.endpoint.merge(...s);for(const[s,n]of Object.entries(o.renamedParameters)){if(s in A){e.log.warn(`"${s}" parameter is deprecated for "octokit.${t}.${r}()". Use "${n}" instead`);if(!(n in A)){A[n]=A[s]}delete A[s]}}return n(A)}return n(...s)}return Object.assign(withDecorations,n)}function restEndpointMethods(e){const t=endpointsToMethods(e);return{rest:t}}restEndpointMethods.VERSION=Be;function legacyRestEndpointMethods(e){const t=endpointsToMethods(e);return{...t,rest:t}}legacyRestEndpointMethods.VERSION=Be;var Te=__nccwpck_require__(3251);var ke="0.0.0-development";async function errorRequest(e,t,r,s){if(!r.request||!r.request.request){throw r}if(r.status>=400&&!e.doNotRetry.includes(r.status)){const o=s.request.retries!=null?s.request.retries:e.retries;const n=Math.pow((s.request.retryCount||0)+1,2);throw t.retry.retryRequest(r,o,n)}throw r}async function wrapRequest(e,t,r,s){const o=new Te;o.on("failed",(function(t,r){const o=~~t.request.request.retries;const n=~~t.request.request.retryAfter;s.request.retryCount=r.retryCount+1;if(o>r.retryCount){return n*e.retryAfterBaseValue}}));return o.schedule(requestWithGraphqlErrorHandling.bind(null,e,t,r),s)}async function requestWithGraphqlErrorHandling(e,t,r,s){const o=await r(r,s);if(o.data&&o.data.errors&&o.data.errors.length>0&&/Something went wrong while executing your query/.test(o.data.errors[0].message)){const r=new RequestError(o.data.errors[0].message,500,{request:s,response:o});return errorRequest(e,t,r,s)}return o}function retry(e,t){const r=Object.assign({enabled:true,retryAfterBaseValue:1e3,doNotRetry:[400,401,403,404,422,451],retries:3},t.retry);if(r.enabled){e.hook.error("request",errorRequest.bind(null,r,e));e.hook.wrap("request",wrapRequest.bind(null,r,e))}return{retry:{retryRequest:(e,t,r)=>{e.request.request=Object.assign({},e.request.request,{retries:t,retryAfter:r});return e}}}}retry.VERSION=ke;var De="0.0.0-development";var dist_bundle_noop=()=>Promise.resolve();function dist_bundle_wrapRequest(e,t,r){return e.retryLimiter.schedule(doRequest,e,t,r)}async function doRequest(e,t,r){const s=r.method!=="GET"&&r.method!=="HEAD";const{pathname:o}=new URL(r.url,"http://github.test");const n=r.method==="GET"&&o.startsWith("/search/");const A=o.startsWith("/graphql");const i=~~t.retryCount;const a=i>0?{priority:0,weight:0}:{};if(e.clustering){a.expiration=1e3*60}if(s||A){await e.write.key(e.id).schedule(a,dist_bundle_noop)}if(s&&e.triggersNotification(o)){await e.notifications.key(e.id).schedule(a,dist_bundle_noop)}if(n){await e.search.key(e.id).schedule(a,dist_bundle_noop)}const c=e.global.key(e.id).schedule(a,t,r);if(A){const e=await c;if(e.data.errors!=null&&e.data.errors.some((e=>e.type==="RATE_LIMITED"))){const t=Object.assign(new Error("GraphQL Rate Limit Exceeded"),{response:e,data:e.data});throw t}}return c}var _e=["/orgs/{org}/invitations","/orgs/{org}/invitations/{invitation_id}","/orgs/{org}/teams/{team_slug}/discussions","/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments","/repos/{owner}/{repo}/collaborators/{username}","/repos/{owner}/{repo}/commits/{commit_sha}/comments","/repos/{owner}/{repo}/issues","/repos/{owner}/{repo}/issues/{issue_number}/comments","/repos/{owner}/{repo}/issues/{issue_number}/sub_issue","/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority","/repos/{owner}/{repo}/pulls","/repos/{owner}/{repo}/pulls/{pull_number}/comments","/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies","/repos/{owner}/{repo}/pulls/{pull_number}/merge","/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers","/repos/{owner}/{repo}/pulls/{pull_number}/reviews","/repos/{owner}/{repo}/releases","/teams/{team_id}/discussions","/teams/{team_id}/discussions/{discussion_number}/comments"];function routeMatcher(e){const t=e.map((e=>e.split("/").map((e=>e.startsWith("{")?"(?:.+?)":e)).join("/")));const r=`^(?:${t.map((e=>`(?:${e})`)).join("|")})[^/]*$`;return new RegExp(r,"i")}var Fe=routeMatcher(_e);var Se=Fe.test.bind(Fe);var ve={};var createGroups=function(e,t){ve.global=new e.Group({id:"octokit-global",maxConcurrent:10,...t});ve.search=new e.Group({id:"octokit-search",maxConcurrent:1,minTime:2e3,...t});ve.write=new e.Group({id:"octokit-write",maxConcurrent:1,minTime:1e3,...t});ve.notifications=new e.Group({id:"octokit-notifications",maxConcurrent:1,minTime:3e3,...t})};function throttling(e,t){const{enabled:r=true,Bottleneck:s=Te,id:o="no-id",timeout:n=1e3*60*2,connection:A}=t.throttle||{};if(!r){return{}}const i={timeout:n};if(typeof A!=="undefined"){i.connection=A}if(ve.global==null){createGroups(s,i)}const a=Object.assign({clustering:A!=null,triggersNotification:Se,fallbackSecondaryRateRetryAfter:60,retryAfterBaseValue:1e3,retryLimiter:new s,id:o,...ve},t.throttle);if(typeof a.onSecondaryRateLimit!=="function"||typeof a.onRateLimit!=="function"){throw new Error(`octokit/plugin-throttling error:\n        You must pass the onSecondaryRateLimit and onRateLimit error handlers.\n        See https://octokit.github.io/rest.js/#throttling\n\n        const octokit = new Octokit({\n          throttle: {\n            onSecondaryRateLimit: (retryAfter, options) => {/* ... */},\n            onRateLimit: (retryAfter, options) => {/* ... */}\n          }\n        })\n    `)}const c={};const l=new s.Events(c);c.on("secondary-limit",a.onSecondaryRateLimit);c.on("rate-limit",a.onRateLimit);c.on("error",(t=>e.log.warn("Error in throttling-plugin limit handler",t)));a.retryLimiter.on("failed",(async function(t,r){const[s,o,n]=r.args;const{pathname:A}=new URL(n.url,"http://github.test");const i=A.startsWith("/graphql")&&t.status!==401;if(!(i||t.status===403||t.status===429)){return}const a=~~o.retryCount;o.retryCount=a;n.request.retryCount=a;const{wantRetry:c,retryAfter:u=0}=await async function(){if(/\bsecondary rate\b/i.test(t.message)){const r=Number(t.response.headers["retry-after"])||s.fallbackSecondaryRateRetryAfter;const o=await l.trigger("secondary-limit",r,n,e,a);return{wantRetry:o,retryAfter:r}}if(t.response.headers!=null&&t.response.headers["x-ratelimit-remaining"]==="0"||(t.response.data?.errors??[]).some((e=>e.type==="RATE_LIMITED"))){const r=new Date(~~t.response.headers["x-ratelimit-reset"]*1e3).getTime();const s=Math.max(Math.ceil((r-Date.now())/1e3)+1,0);const o=await l.trigger("rate-limit",s,n,e,a);return{wantRetry:o,retryAfter:s}}return{}}();if(c){o.retryCount++;return u*s.retryAfterBaseValue}}));e.hook.wrap("request",dist_bundle_wrapRequest.bind(null,a));return{}}throttling.VERSION=De;throttling.triggersNotification=Se;var generateMessage=(e,t)=>`The cursor at "${e.join(",")}" did not change its value "${t}" after a page transition. Please make sure your that your query is set up correctly.`;var Ue=class extends Error{constructor(e,t){super(generateMessage(e.pathInQuery,t));this.pageInfo=e;this.cursorValue=t;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}name="MissingCursorChangeError"};var Ne=class extends Error{constructor(e){super(`No pageInfo property found in response. Please make sure to specify the pageInfo in your query. Response-Data: ${JSON.stringify(e,null,2)}`);this.response=e;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}name="MissingPageInfo"};var isObject=e=>Object.prototype.toString.call(e)==="[object Object]";function findPaginatedResourcePath(e){const t=deepFindPathToProperty(e,"pageInfo");if(t.length===0){throw new Ne(e)}return t}var deepFindPathToProperty=(e,t,r=[])=>{for(const s of Object.keys(e)){const o=[...r,s];const n=e[s];if(isObject(n)){if(n.hasOwnProperty(t)){return o}const e=deepFindPathToProperty(n,t,o);if(e.length>0){return e}}}return[]};var get=(e,t)=>t.reduce(((e,t)=>e[t]),e);var set=(e,t,r)=>{const s=t[t.length-1];const o=[...t].slice(0,-1);const n=get(e,o);if(typeof r==="function"){n[s]=r(n[s])}else{n[s]=r}};var extractPageInfos=e=>{const t=findPaginatedResourcePath(e);return{pathInQuery:t,pageInfo:get(e,[...t,"pageInfo"])}};var isForwardSearch=e=>e.hasOwnProperty("hasNextPage");var getCursorFrom=e=>isForwardSearch(e)?e.endCursor:e.startCursor;var hasAnotherPage=e=>isForwardSearch(e)?e.hasNextPage:e.hasPreviousPage;var createIterator=e=>(t,r={})=>{let s=true;let o={...r};return{[Symbol.asyncIterator]:()=>({async next(){if(!s)return{done:true,value:{}};const r=await e.graphql(t,o);const n=extractPageInfos(r);const A=getCursorFrom(n.pageInfo);s=hasAnotherPage(n.pageInfo);if(s&&A===o.cursor){throw new Ue(n,A)}o={...o,cursor:A};return{done:false,value:r}}})}};var mergeResponses=(e,t)=>{if(Object.keys(e).length===0){return Object.assign(e,t)}const r=findPaginatedResourcePath(e);const s=[...r,"nodes"];const o=get(t,s);if(o){set(e,s,(e=>[...e,...o]))}const n=[...r,"edges"];const A=get(t,n);if(A){set(e,n,(e=>[...e,...A]))}const i=[...r,"pageInfo"];set(e,i,get(t,i));return e};var createPaginate=e=>{const t=createIterator(e);return async(e,r={})=>{let s={};for await(const o of t(e,r)){s=mergeResponses(s,o)}return s}};var Oe="0.0.0-development";function paginateGraphQL(e){return{graphql:Object.assign(e.graphql,{paginate:Object.assign(createPaginate(e),{iterator:createIterator(e)})})}}function IsAsyncIterator(e){return IsObject(e)&&Symbol.asyncIterator in e}function IsIterator(e){return IsObject(e)&&Symbol.iterator in e}function IsStandardObject(e){return IsObject(e)&&(Object.getPrototypeOf(e)===Object.prototype||Object.getPrototypeOf(e)===null)}function IsInstanceObject(e){return IsObject(e)&&!IsArray(e)&&IsFunction(e.constructor)&&e.constructor.name!=="Object"}function IsPromise(e){return e instanceof Promise}function IsDate(e){return e instanceof Date&&Number.isFinite(e.getTime())}function IsMap(e){return e instanceof globalThis.Map}function IsSet(e){return e instanceof globalThis.Set}function IsRegExp(e){return e instanceof globalThis.RegExp}function IsTypedArray(e){return ArrayBuffer.isView(e)}function IsInt8Array(e){return e instanceof globalThis.Int8Array}function IsUint8Array(e){return e instanceof globalThis.Uint8Array}function IsUint8ClampedArray(e){return e instanceof globalThis.Uint8ClampedArray}function IsInt16Array(e){return e instanceof globalThis.Int16Array}function IsUint16Array(e){return e instanceof globalThis.Uint16Array}function IsInt32Array(e){return e instanceof globalThis.Int32Array}function IsUint32Array(e){return e instanceof globalThis.Uint32Array}function IsFloat32Array(e){return e instanceof globalThis.Float32Array}function IsFloat64Array(e){return e instanceof globalThis.Float64Array}function IsBigInt64Array(e){return e instanceof globalThis.BigInt64Array}function IsBigUint64Array(e){return e instanceof globalThis.BigUint64Array}function HasPropertyKey(e,t){return t in e}function IsObject(e){return e!==null&&typeof e==="object"}function IsArray(e){return Array.isArray(e)&&!ArrayBuffer.isView(e)}function IsUndefined(e){return e===undefined}function IsNull(e){return e===null}function IsBoolean(e){return typeof e==="boolean"}function IsNumber(e){return typeof e==="number"}function IsInteger(e){return Number.isInteger(e)}function IsBigInt(e){return typeof e==="bigint"}function IsString(e){return typeof e==="string"}function IsFunction(e){return typeof e==="function"}function IsSymbol(e){return typeof e==="symbol"}function IsValueType(e){return IsBigInt(e)||IsBoolean(e)||IsNull(e)||IsNumber(e)||IsString(e)||IsSymbol(e)||IsUndefined(e)}var Ge;(function(e){e.InstanceMode="default";e.ExactOptionalPropertyTypes=false;e.AllowArrayObject=false;e.AllowNaN=false;e.AllowNullVoid=false;function IsExactOptionalProperty(t,r){return e.ExactOptionalPropertyTypes?r in t:t[r]!==undefined}e.IsExactOptionalProperty=IsExactOptionalProperty;function IsObjectLike(t){const r=IsObject(t);return e.AllowArrayObject?r:r&&!IsArray(t)}e.IsObjectLike=IsObjectLike;function IsRecordLike(e){return IsObjectLike(e)&&!(e instanceof Date)&&!(e instanceof Uint8Array)}e.IsRecordLike=IsRecordLike;function IsNumberLike(t){return e.AllowNaN?IsNumber(t):Number.isFinite(t)}e.IsNumberLike=IsNumberLike;function IsVoidLike(t){const r=IsUndefined(t);return e.AllowNullVoid?r||t===null:r}e.IsVoidLike=IsVoidLike})(Ge||(Ge={}));function value_HasPropertyKey(e,t){return t in e}function value_IsAsyncIterator(e){return value_IsObject(e)&&!value_IsArray(e)&&!value_IsUint8Array(e)&&Symbol.asyncIterator in e}function value_IsArray(e){return Array.isArray(e)}function value_IsBigInt(e){return typeof e==="bigint"}function value_IsBoolean(e){return typeof e==="boolean"}function value_IsDate(e){return e instanceof globalThis.Date}function value_IsFunction(e){return typeof e==="function"}function value_IsIterator(e){return value_IsObject(e)&&!value_IsArray(e)&&!value_IsUint8Array(e)&&Symbol.iterator in e}function value_IsNull(e){return e===null}function value_IsNumber(e){return typeof e==="number"}function value_IsObject(e){return typeof e==="object"&&e!==null}function value_IsRegExp(e){return e instanceof globalThis.RegExp}function value_IsString(e){return typeof e==="string"}function value_IsSymbol(e){return typeof e==="symbol"}function value_IsUint8Array(e){return e instanceof globalThis.Uint8Array}function value_IsUndefined(e){return e===undefined}function ImmutableArray(e){return globalThis.Object.freeze(e).map((e=>Immutable(e)))}function ImmutableDate(e){return e}function ImmutableUint8Array(e){return e}function ImmutableRegExp(e){return e}function ImmutableObject(e){const t={};for(const r of Object.getOwnPropertyNames(e)){t[r]=Immutable(e[r])}for(const r of Object.getOwnPropertySymbols(e)){t[r]=Immutable(e[r])}return globalThis.Object.freeze(t)}function Immutable(e){return value_IsArray(e)?ImmutableArray(e):value_IsDate(e)?ImmutableDate(e):value_IsUint8Array(e)?ImmutableUint8Array(e):value_IsRegExp(e)?ImmutableRegExp(e):value_IsObject(e)?ImmutableObject(e):e}function ArrayType(e){return e.map((e=>Visit(e)))}function DateType(e){return new Date(e.getTime())}function Uint8ArrayType(e){return new Uint8Array(e)}function RegExpType(e){return new RegExp(e.source,e.flags)}function ObjectType(e){const t={};for(const r of Object.getOwnPropertyNames(e)){t[r]=Visit(e[r])}for(const r of Object.getOwnPropertySymbols(e)){t[r]=Visit(e[r])}return t}function Visit(e){return value_IsArray(e)?ArrayType(e):value_IsDate(e)?DateType(e):value_IsUint8Array(e)?Uint8ArrayType(e):value_IsRegExp(e)?RegExpType(e):value_IsObject(e)?ObjectType(e):e}function Clone(e){return Visit(e)}function CreateType(e,t){const r=t!==undefined?{...t,...e}:e;switch(Ge.InstanceMode){case"freeze":return Immutable(r);case"clone":return Clone(r);default:return r}}const Le=Symbol.for("TypeBox.Transform");const Pe=Symbol.for("TypeBox.Readonly");const Me=Symbol.for("TypeBox.Optional");const xe=Symbol.for("TypeBox.Hint");const He=Symbol.for("TypeBox.Kind");function Any(e){return CreateType({[He]:"Any"},e)}function array_Array(e,t){return CreateType({[He]:"Array",type:"array",items:e},t)}function AsyncIterator(e,t){return CreateType({[He]:"AsyncIterator",type:"AsyncIterator",items:e},t)}function Computed(e,t,r){return CreateType({[He]:"Computed",target:e,parameters:t},r)}function Never(e){return CreateType({[He]:"Never",not:{}},e)}function IsReadonly(e){return value_IsObject(e)&&e[Pe]==="Readonly"}function IsOptional(e){return value_IsObject(e)&&e[Me]==="Optional"}function IsAny(e){return IsKindOf(e,"Any")}function kind_IsArray(e){return IsKindOf(e,"Array")}function kind_IsAsyncIterator(e){return IsKindOf(e,"AsyncIterator")}function kind_IsBigInt(e){return IsKindOf(e,"BigInt")}function kind_IsBoolean(e){return IsKindOf(e,"Boolean")}function IsComputed(e){return IsKindOf(e,"Computed")}function IsConstructor(e){return IsKindOf(e,"Constructor")}function kind_IsDate(e){return IsKindOf(e,"Date")}function kind_IsFunction(e){return IsKindOf(e,"Function")}function IsImport(e){return IsKindOf(e,"Import")}function kind_IsInteger(e){return IsKindOf(e,"Integer")}function IsProperties(e){return ValueGuard.IsObject(e)}function IsIntersect(e){return IsKindOf(e,"Intersect")}function kind_IsIterator(e){return IsKindOf(e,"Iterator")}function IsKindOf(e,t){return value_IsObject(e)&&He in e&&e[He]===t}function IsLiteralString(e){return IsLiteral(e)&&ValueGuard.IsString(e.const)}function IsLiteralNumber(e){return IsLiteral(e)&&ValueGuard.IsNumber(e.const)}function IsLiteralBoolean(e){return IsLiteral(e)&&ValueGuard.IsBoolean(e.const)}function IsLiteralValue(e){return value_IsBoolean(e)||value_IsNumber(e)||value_IsString(e)}function IsLiteral(e){return IsKindOf(e,"Literal")}function IsMappedKey(e){return IsKindOf(e,"MappedKey")}function IsMappedResult(e){return IsKindOf(e,"MappedResult")}function IsNever(e){return IsKindOf(e,"Never")}function IsNot(e){return IsKindOf(e,"Not")}function kind_IsNull(e){return IsKindOf(e,"Null")}function kind_IsNumber(e){return IsKindOf(e,"Number")}function kind_IsObject(e){return IsKindOf(e,"Object")}function kind_IsPromise(e){return IsKindOf(e,"Promise")}function IsRecord(e){return IsKindOf(e,"Record")}function IsRecursive(e){return ValueGuard.IsObject(e)&&Hint in e&&e[Hint]==="Recursive"}function IsRef(e){return IsKindOf(e,"Ref")}function kind_IsRegExp(e){return IsKindOf(e,"RegExp")}function kind_IsString(e){return IsKindOf(e,"String")}function kind_IsSymbol(e){return IsKindOf(e,"Symbol")}function IsTemplateLiteral(e){return IsKindOf(e,"TemplateLiteral")}function IsThis(e){return IsKindOf(e,"This")}function IsTransform(e){return value_IsObject(e)&&Le in e}function IsTuple(e){return IsKindOf(e,"Tuple")}function kind_IsUndefined(e){return IsKindOf(e,"Undefined")}function IsUnion(e){return IsKindOf(e,"Union")}function kind_IsUint8Array(e){return IsKindOf(e,"Uint8Array")}function IsUnknown(e){return IsKindOf(e,"Unknown")}function IsUnsafe(e){return IsKindOf(e,"Unsafe")}function IsVoid(e){return IsKindOf(e,"Void")}function IsKind(e){return value_IsObject(e)&&He in e&&value_IsString(e[He])}function IsSchema(e){return IsAny(e)||kind_IsArray(e)||kind_IsBoolean(e)||kind_IsBigInt(e)||kind_IsAsyncIterator(e)||IsConstructor(e)||kind_IsDate(e)||kind_IsFunction(e)||kind_IsInteger(e)||IsIntersect(e)||kind_IsIterator(e)||IsLiteral(e)||IsMappedKey(e)||IsMappedResult(e)||IsNever(e)||IsNot(e)||kind_IsNull(e)||kind_IsNumber(e)||kind_IsObject(e)||kind_IsPromise(e)||IsRecord(e)||IsRef(e)||kind_IsRegExp(e)||kind_IsString(e)||kind_IsSymbol(e)||IsTemplateLiteral(e)||IsThis(e)||IsTuple(e)||kind_IsUndefined(e)||IsUnion(e)||kind_IsUint8Array(e)||IsUnknown(e)||IsUnsafe(e)||IsVoid(e)||IsKind(e)}function IntersectCreate(e,t={}){const r=e.every((e=>kind_IsObject(e)));const s=IsSchema(t.unevaluatedProperties)?{unevaluatedProperties:t.unevaluatedProperties}:{};return CreateType(t.unevaluatedProperties===false||IsSchema(t.unevaluatedProperties)||r?{...s,[He]:"Intersect",type:"object",allOf:e}:{...s,[He]:"Intersect",allOf:e},t)}function Intersect(e,t){if(e.length===1)return CreateType(e[0],t);if(e.length===0)return Never(t);if(e.some((e=>IsTransform(e))))throw new Error("Cannot intersect transform types");return IntersectCreate(e,t)}function UnionCreate(e,t){return CreateType({[He]:"Union",anyOf:e},t)}function Union(e,t){return e.length===0?Never(t):e.length===1?CreateType(e[0],t):UnionCreate(e,t)}function Ref(e,t){return CreateType({[He]:"Ref",$ref:e},t)}function FromComputed(e,t){return Computed("Awaited",[Computed(e,t)])}function FromRef(e){return Computed("Awaited",[Ref(e)])}function FromIntersect(e){return Intersect(FromRest(e))}function FromUnion(e){return Union(FromRest(e))}function FromPromise(e){return Awaited(e)}function FromRest(e){return e.map((e=>Awaited(e)))}function Awaited(e,t){return CreateType(IsComputed(e)?FromComputed(e.target,e.parameters):IsIntersect(e)?FromIntersect(e.allOf):IsUnion(e)?FromUnion(e.anyOf):kind_IsPromise(e)?FromPromise(e.item):IsRef(e)?FromRef(e.$ref):e,t)}function bigint_BigInt(e){return CreateType({[He]:"BigInt",type:"bigint"},e)}function boolean_Boolean(e){return CreateType({[He]:"Boolean",type:"boolean"},e)}function DiscardKey(e,t){const{[t]:r,...s}=e;return s}function Discard(e,t){return t.reduce(((e,t)=>DiscardKey(e,t)),e)}function MappedResult(e){return CreateType({[He]:"MappedResult",properties:e})}function FromProperties(e,t){const r={};for(const s of globalThis.Object.getOwnPropertyNames(e))r[s]=Optional(e[s],t);return r}function FromMappedResult(e,t){return FromProperties(e.properties,t)}function OptionalFromMappedResult(e,t){const r=FromMappedResult(e,t);return MappedResult(r)}function RemoveOptional(e){return CreateType(Discard(e,[Me]))}function AddOptional(e){return CreateType({...e,[Me]:"Optional"})}function OptionalWithFlag(e,t){return t===false?RemoveOptional(e):AddOptional(e)}function Optional(e,t){const r=t??true;return IsMappedResult(e)?OptionalFromMappedResult(e,r):OptionalWithFlag(e,r)}function IsIntersectOptional(e){return e.every((e=>IsOptional(e)))}function RemoveOptionalFromType(e){return Discard(e,[Me])}function RemoveOptionalFromRest(e){return e.map((e=>IsOptional(e)?RemoveOptionalFromType(e):e))}function ResolveIntersect(e,t){return IsIntersectOptional(e)?Optional(IntersectCreate(RemoveOptionalFromRest(e),t)):IntersectCreate(RemoveOptionalFromRest(e),t)}function IntersectEvaluated(e,t={}){if(e.length===1)return CreateType(e[0],t);if(e.length===0)return Never(t);if(e.some((e=>IsTransform(e))))throw new Error("Cannot intersect transform types");return ResolveIntersect(e,t)}function Literal(e,t){return CreateType({[He]:"Literal",const:e,type:typeof e},t)}function IsUnionOptional(e){return e.some((e=>IsOptional(e)))}function union_evaluated_RemoveOptionalFromRest(e){return e.map((e=>IsOptional(e)?union_evaluated_RemoveOptionalFromType(e):e))}function union_evaluated_RemoveOptionalFromType(e){return Discard(e,[Me])}function ResolveUnion(e,t){const r=IsUnionOptional(e);return r?Optional(UnionCreate(union_evaluated_RemoveOptionalFromRest(e),t)):UnionCreate(union_evaluated_RemoveOptionalFromRest(e),t)}function UnionEvaluated(e,t){return e.length===1?CreateType(e[0],t):e.length===0?Never(t):ResolveUnion(e,t)}class error_TypeBoxError extends Error{constructor(e){super(e)}}class TemplateLiteralParserError extends error_TypeBoxError{}function Unescape(e){return e.replace(/\\\$/g,"$").replace(/\\\*/g,"*").replace(/\\\^/g,"^").replace(/\\\|/g,"|").replace(/\\\(/g,"(").replace(/\\\)/g,")")}function IsNonEscaped(e,t,r){return e[t]===r&&e.charCodeAt(t-1)!==92}function IsOpenParen(e,t){return IsNonEscaped(e,t,"(")}function IsCloseParen(e,t){return IsNonEscaped(e,t,")")}function IsSeparator(e,t){return IsNonEscaped(e,t,"|")}function IsGroup(e){if(!(IsOpenParen(e,0)&&IsCloseParen(e,e.length-1)))return false;let t=0;for(let r=0;r<e.length;r++){if(IsOpenParen(e,r))t+=1;if(IsCloseParen(e,r))t-=1;if(t===0&&r!==e.length-1)return false}return true}function InGroup(e){return e.slice(1,e.length-1)}function IsPrecedenceOr(e){let t=0;for(let r=0;r<e.length;r++){if(IsOpenParen(e,r))t+=1;if(IsCloseParen(e,r))t-=1;if(IsSeparator(e,r)&&t===0)return true}return false}function IsPrecedenceAnd(e){for(let t=0;t<e.length;t++){if(IsOpenParen(e,t))return true}return false}function Or(e){let[t,r]=[0,0];const s=[];for(let o=0;o<e.length;o++){if(IsOpenParen(e,o))t+=1;if(IsCloseParen(e,o))t-=1;if(IsSeparator(e,o)&&t===0){const t=e.slice(r,o);if(t.length>0)s.push(TemplateLiteralParse(t));r=o+1}}const o=e.slice(r);if(o.length>0)s.push(TemplateLiteralParse(o));if(s.length===0)return{type:"const",const:""};if(s.length===1)return s[0];return{type:"or",expr:s}}function And(e){function Group(e,t){if(!IsOpenParen(e,t))throw new TemplateLiteralParserError(`TemplateLiteralParser: Index must point to open parens`);let r=0;for(let s=t;s<e.length;s++){if(IsOpenParen(e,s))r+=1;if(IsCloseParen(e,s))r-=1;if(r===0)return[t,s]}throw new TemplateLiteralParserError(`TemplateLiteralParser: Unclosed group parens in expression`)}function Range(e,t){for(let r=t;r<e.length;r++){if(IsOpenParen(e,r))return[t,r]}return[t,e.length]}const t=[];for(let r=0;r<e.length;r++){if(IsOpenParen(e,r)){const[s,o]=Group(e,r);const n=e.slice(s,o+1);t.push(TemplateLiteralParse(n));r=o}else{const[s,o]=Range(e,r);const n=e.slice(s,o);if(n.length>0)t.push(TemplateLiteralParse(n));r=o-1}}return t.length===0?{type:"const",const:""}:t.length===1?t[0]:{type:"and",expr:t}}function TemplateLiteralParse(e){return IsGroup(e)?TemplateLiteralParse(InGroup(e)):IsPrecedenceOr(e)?Or(e):IsPrecedenceAnd(e)?And(e):{type:"const",const:Unescape(e)}}function TemplateLiteralParseExact(e){return TemplateLiteralParse(e.slice(1,e.length-1))}class TemplateLiteralFiniteError extends error_TypeBoxError{}function IsNumberExpression(e){return e.type==="or"&&e.expr.length===2&&e.expr[0].type==="const"&&e.expr[0].const==="0"&&e.expr[1].type==="const"&&e.expr[1].const==="[1-9][0-9]*"}function IsBooleanExpression(e){return e.type==="or"&&e.expr.length===2&&e.expr[0].type==="const"&&e.expr[0].const==="true"&&e.expr[1].type==="const"&&e.expr[1].const==="false"}function IsStringExpression(e){return e.type==="const"&&e.const===".*"}function IsTemplateLiteralExpressionFinite(e){return IsNumberExpression(e)||IsStringExpression(e)?false:IsBooleanExpression(e)?true:e.type==="and"?e.expr.every((e=>IsTemplateLiteralExpressionFinite(e))):e.type==="or"?e.expr.every((e=>IsTemplateLiteralExpressionFinite(e))):e.type==="const"?true:(()=>{throw new TemplateLiteralFiniteError(`Unknown expression type`)})()}function IsTemplateLiteralFinite(e){const t=TemplateLiteralParseExact(e.pattern);return IsTemplateLiteralExpressionFinite(t)}class TemplateLiteralGenerateError extends error_TypeBoxError{}function*GenerateReduce(e){if(e.length===1)return yield*e[0];for(const t of e[0]){for(const r of GenerateReduce(e.slice(1))){yield`${t}${r}`}}}function*GenerateAnd(e){return yield*GenerateReduce(e.expr.map((e=>[...TemplateLiteralExpressionGenerate(e)])))}function*GenerateOr(e){for(const t of e.expr)yield*TemplateLiteralExpressionGenerate(t)}function*GenerateConst(e){return yield e.const}function*TemplateLiteralExpressionGenerate(e){return e.type==="and"?yield*GenerateAnd(e):e.type==="or"?yield*GenerateOr(e):e.type==="const"?yield*GenerateConst(e):(()=>{throw new TemplateLiteralGenerateError("Unknown expression")})()}function TemplateLiteralGenerate(e){const t=TemplateLiteralParseExact(e.pattern);return IsTemplateLiteralExpressionFinite(t)?[...TemplateLiteralExpressionGenerate(t)]:[]}function FromTemplateLiteral(e){const t=TemplateLiteralGenerate(e);return t.map((e=>e.toString()))}function indexed_property_keys_FromUnion(e){const t=[];for(const r of e)t.push(...IndexPropertyKeys(r));return t}function FromLiteral(e){return[e.toString()]}function IndexPropertyKeys(e){return[...new Set(IsTemplateLiteral(e)?FromTemplateLiteral(e):IsUnion(e)?indexed_property_keys_FromUnion(e.anyOf):IsLiteral(e)?FromLiteral(e.const):kind_IsNumber(e)?["[number]"]:kind_IsInteger(e)?["[number]"]:[])]}function MappedIndexPropertyKey(e,t,r){return{[t]:Index(e,[t],Clone(r))}}function MappedIndexPropertyKeys(e,t,r){return t.reduce(((t,s)=>({...t,...MappedIndexPropertyKey(e,s,r)})),{})}function MappedIndexProperties(e,t,r){return MappedIndexPropertyKeys(e,t.keys,r)}function IndexFromMappedKey(e,t,r){const s=MappedIndexProperties(e,t,r);return MappedResult(s)}function indexed_from_mapped_result_FromProperties(e,t,r){const s={};for(const o of Object.getOwnPropertyNames(t)){const n=IndexPropertyKeys(t[o]);s[o]=Index(e,n,r)}return s}function indexed_from_mapped_result_FromMappedResult(e,t,r){return indexed_from_mapped_result_FromProperties(e,t.properties,r)}function IndexFromMappedResult(e,t,r){const s=indexed_from_mapped_result_FromMappedResult(e,t,r);return MappedResult(s)}function indexed_FromRest(e,t){return e.map((e=>IndexFromPropertyKey(e,t)))}function FromIntersectRest(e){return e.filter((e=>!IsNever(e)))}function indexed_FromIntersect(e,t){return IntersectEvaluated(FromIntersectRest(indexed_FromRest(e,t)))}function FromUnionRest(e){return e.some((e=>IsNever(e)))?[]:e}function indexed_FromUnion(e,t){return UnionEvaluated(FromUnionRest(indexed_FromRest(e,t)))}function FromTuple(e,t){return t==="[number]"?UnionEvaluated(e):t in e?e[t]:Never()}function FromArray(e,t){return t==="[number]"?e:Never()}function FromProperty(e,t){return t in e?e[t]:Never()}function IndexFromPropertyKey(e,t){return IsIntersect(e)?indexed_FromIntersect(e.allOf,t):IsUnion(e)?indexed_FromUnion(e.anyOf,t):IsTuple(e)?FromTuple(e.items??[],t):kind_IsArray(e)?FromArray(e.items,t):kind_IsObject(e)?FromProperty(e.properties,t):Never()}function IndexFromPropertyKeys(e,t){return t.map((t=>IndexFromPropertyKey(e,t)))}function FromType(e,t){const r=IndexFromPropertyKeys(e,t);return UnionEvaluated(r)}function UnionFromPropertyKeys(e){const t=e.reduce(((e,t)=>IsLiteralValue(t)?[...e,Literal(t)]:e),[]);return UnionEvaluated(t)}function Index(e,t,r){const s=value_IsArray(t)?UnionFromPropertyKeys(t):t;const o=IsSchema(t)?IndexPropertyKeys(t):t;const n=IsRef(e);const A=IsRef(t);return IsMappedResult(t)?IndexFromMappedResult(e,t,r):IsMappedKey(t)?IndexFromMappedKey(e,t,r):n&&A?Computed("Index",[e,s],r):!n&&A?Computed("Index",[e,s],r):n&&!A?Computed("Index",[e,s],r):CreateType(FromType(e,o),r)}function SetIncludes(e,t){return e.includes(t)}function SetIsSubset(e,t){return e.every((e=>SetIncludes(t,e)))}function SetDistinct(e){return[...new Set(e)]}function SetIntersect(e,t){return e.filter((e=>t.includes(e)))}function SetUnion(e,t){return[...e,...t]}function SetComplement(e,t){return e.filter((e=>!t.includes(e)))}function SetIntersectManyResolve(e,t){return e.reduce(((e,t)=>SetIntersect(e,t)),t)}function SetIntersectMany(e){return e.length===1?e[0]:e.length>1?SetIntersectManyResolve(e.slice(1),e[0]):[]}function SetUnionMany(e){const t=[];for(const r of e)t.push(...r);return t}function keyof_property_keys_FromRest(e){const t=[];for(const r of e)t.push(KeyOfPropertyKeys(r));return t}function keyof_property_keys_FromIntersect(e){const t=keyof_property_keys_FromRest(e);const r=SetUnionMany(t);return r}function keyof_property_keys_FromUnion(e){const t=keyof_property_keys_FromRest(e);const r=SetIntersectMany(t);return r}function keyof_property_keys_FromTuple(e){return e.map(((e,t)=>t.toString()))}function keyof_property_keys_FromArray(e){return["[number]"]}function keyof_property_keys_FromProperties(e){return globalThis.Object.getOwnPropertyNames(e)}function FromPatternProperties(e){if(!Ve)return[];const t=globalThis.Object.getOwnPropertyNames(e);return t.map((e=>e[0]==="^"&&e[e.length-1]==="$"?e.slice(1,e.length-1):e))}function KeyOfPropertyKeys(e){return IsIntersect(e)?keyof_property_keys_FromIntersect(e.allOf):IsUnion(e)?keyof_property_keys_FromUnion(e.anyOf):IsTuple(e)?keyof_property_keys_FromTuple(e.items??[]):kind_IsArray(e)?keyof_property_keys_FromArray(e.items):kind_IsObject(e)?keyof_property_keys_FromProperties(e.properties):IsRecord(e)?FromPatternProperties(e.patternProperties):[]}let Ve=false;function KeyOfPattern(e){Ve=true;const t=KeyOfPropertyKeys(e);Ve=false;const r=t.map((e=>`(${e})`));return`^(${r.join("|")})$`}function RequiredKeys(e){const t=[];for(let r in e){if(!IsOptional(e[r]))t.push(r)}return t}function _Object(e,t){const r=RequiredKeys(e);const s=r.length>0?{[He]:"Object",type:"object",properties:e,required:r}:{[He]:"Object",type:"object",properties:e};return CreateType(s,t)}var Ye=_Object;function CompositeKeys(e){const t=[];for(const r of e)t.push(...KeyOfPropertyKeys(r));return SetDistinct(t)}function FilterNever(e){return e.filter((e=>!IsNever(e)))}function CompositeProperty(e,t){const r=[];for(const s of e)r.push(...IndexFromPropertyKeys(s,[t]));return FilterNever(r)}function CompositeProperties(e,t){const r={};for(const s of t){r[s]=IntersectEvaluated(CompositeProperty(e,s))}return r}function Composite(e,t){const r=CompositeKeys(e);const s=CompositeProperties(e,r);const o=Ye(s,t);return o}function date_Date(e){return CreateType({[He]:"Date",type:"Date"},e)}function function_Function(e,t,r){return CreateType({[He]:"Function",type:"Function",parameters:e,returns:t},r)}function Null(e){return CreateType({[He]:"Null",type:"null"},e)}function symbol_Symbol(e){return CreateType({[He]:"Symbol",type:"symbol"},e)}function Tuple(e,t){return CreateType(e.length>0?{[He]:"Tuple",type:"array",items:e,additionalItems:false,minItems:e.length,maxItems:e.length}:{[He]:"Tuple",type:"array",minItems:e.length,maxItems:e.length},t)}function readonly_from_mapped_result_FromProperties(e,t){const r={};for(const s of globalThis.Object.getOwnPropertyNames(e))r[s]=Readonly(e[s],t);return r}function readonly_from_mapped_result_FromMappedResult(e,t){return readonly_from_mapped_result_FromProperties(e.properties,t)}function ReadonlyFromMappedResult(e,t){const r=readonly_from_mapped_result_FromMappedResult(e,t);return MappedResult(r)}function RemoveReadonly(e){return CreateType(Discard(e,[Pe]))}function AddReadonly(e){return CreateType({...e,[Pe]:"Readonly"})}function ReadonlyWithFlag(e,t){return t===false?RemoveReadonly(e):AddReadonly(e)}function Readonly(e,t){const r=t??true;return IsMappedResult(e)?ReadonlyFromMappedResult(e,r):ReadonlyWithFlag(e,r)}function Undefined(e){return CreateType({[He]:"Undefined",type:"undefined"},e)}function uint8array_Uint8Array(e){return CreateType({[He]:"Uint8Array",type:"Uint8Array"},e)}function Unknown(e){return CreateType({[He]:"Unknown"},e)}function const_FromArray(e){return e.map((e=>FromValue(e,false)))}function const_FromProperties(e){const t={};for(const r of globalThis.Object.getOwnPropertyNames(e))t[r]=Readonly(FromValue(e[r],false));return t}function ConditionalReadonly(e,t){return t===true?e:Readonly(e)}function FromValue(e,t){return value_IsAsyncIterator(e)?ConditionalReadonly(Any(),t):value_IsIterator(e)?ConditionalReadonly(Any(),t):value_IsArray(e)?Readonly(Tuple(const_FromArray(e))):value_IsUint8Array(e)?uint8array_Uint8Array():value_IsDate(e)?date_Date():value_IsObject(e)?ConditionalReadonly(Ye(const_FromProperties(e)),t):value_IsFunction(e)?ConditionalReadonly(function_Function([],Unknown()),t):value_IsUndefined(e)?Undefined():value_IsNull(e)?Null():value_IsSymbol(e)?symbol_Symbol():value_IsBigInt(e)?bigint_BigInt():value_IsNumber(e)?Literal(e):value_IsBoolean(e)?Literal(e):value_IsString(e)?Literal(e):Ye({})}function Const(e,t){return CreateType(FromValue(e,true),t)}function Constructor(e,t,r){return CreateType({[He]:"Constructor",type:"Constructor",parameters:e,returns:t},r)}function ConstructorParameters(e,t){return Tuple(e.parameters,t)}function Enum(e,t){if(value_IsUndefined(e))throw new Error("Enum undefined or empty");const r=globalThis.Object.getOwnPropertyNames(e).filter((e=>isNaN(e))).map((t=>e[t]));const s=[...new Set(r)];const o=s.map((e=>Literal(e)));return Union(o,{...t,[xe]:"Enum"})}function number_Number(e){return CreateType({[He]:"Number",type:"number"},e)}function string_String(e){return CreateType({[He]:"String",type:"string"},e)}function TemplateLiteralToUnion(e){const t=TemplateLiteralGenerate(e);const r=t.map((e=>Literal(e)));return UnionEvaluated(r)}const Je="(true|false)";const qe="(0|[1-9][0-9]*)";const je="(.*)";const We="(?!.*)";const Ke=null&&`^${Je}$`;const ze=`^${qe}$`;const Ze=`^${je}$`;const Xe=`^${We}$`;class TypeGuardUnknownTypeError extends(null&&TypeBoxError){}const $e=["Any","Array","AsyncIterator","BigInt","Boolean","Computed","Constructor","Date","Enum","Function","Integer","Intersect","Iterator","Literal","MappedKey","MappedResult","Not","Null","Number","Object","Promise","Record","Ref","RegExp","String","Symbol","TemplateLiteral","This","Tuple","Undefined","Union","Uint8Array","Unknown","Void"];function IsPattern(e){try{new RegExp(e);return true}catch{return false}}function IsControlCharacterFree(e){if(!value_IsString(e))return false;for(let t=0;t<e.length;t++){const r=e.charCodeAt(t);if(r>=7&&r<=13||r===27||r===127){return false}}return true}function IsAdditionalProperties(e){return IsOptionalBoolean(e)||type_IsSchema(e)}function IsOptionalBigInt(e){return value_IsUndefined(e)||value_IsBigInt(e)}function IsOptionalNumber(e){return value_IsUndefined(e)||value_IsNumber(e)}function IsOptionalBoolean(e){return value_IsUndefined(e)||value_IsBoolean(e)}function IsOptionalString(e){return value_IsUndefined(e)||value_IsString(e)}function IsOptionalPattern(e){return value_IsUndefined(e)||value_IsString(e)&&IsControlCharacterFree(e)&&IsPattern(e)}function IsOptionalFormat(e){return value_IsUndefined(e)||value_IsString(e)&&IsControlCharacterFree(e)}function IsOptionalSchema(e){return value_IsUndefined(e)||type_IsSchema(e)}function type_IsReadonly(e){return ValueGuard.IsObject(e)&&e[ReadonlyKind]==="Readonly"}function type_IsOptional(e){return value_IsObject(e)&&e[Me]==="Optional"}function type_IsAny(e){return type_IsKindOf(e,"Any")&&IsOptionalString(e.$id)}function type_IsArray(e){return type_IsKindOf(e,"Array")&&e.type==="array"&&IsOptionalString(e.$id)&&type_IsSchema(e.items)&&IsOptionalNumber(e.minItems)&&IsOptionalNumber(e.maxItems)&&IsOptionalBoolean(e.uniqueItems)&&IsOptionalSchema(e.contains)&&IsOptionalNumber(e.minContains)&&IsOptionalNumber(e.maxContains)}function type_IsAsyncIterator(e){return type_IsKindOf(e,"AsyncIterator")&&e.type==="AsyncIterator"&&IsOptionalString(e.$id)&&type_IsSchema(e.items)}function type_IsBigInt(e){return type_IsKindOf(e,"BigInt")&&e.type==="bigint"&&IsOptionalString(e.$id)&&IsOptionalBigInt(e.exclusiveMaximum)&&IsOptionalBigInt(e.exclusiveMinimum)&&IsOptionalBigInt(e.maximum)&&IsOptionalBigInt(e.minimum)&&IsOptionalBigInt(e.multipleOf)}function type_IsBoolean(e){return type_IsKindOf(e,"Boolean")&&e.type==="boolean"&&IsOptionalString(e.$id)}function type_IsComputed(e){return type_IsKindOf(e,"Computed")&&type_IsString(e.target)&&ValueGuard.IsArray(e.parameters)&&e.parameters.every((e=>type_IsSchema(e)))}function type_IsConstructor(e){return type_IsKindOf(e,"Constructor")&&e.type==="Constructor"&&IsOptionalString(e.$id)&&value_IsArray(e.parameters)&&e.parameters.every((e=>type_IsSchema(e)))&&type_IsSchema(e.returns)}function type_IsDate(e){return type_IsKindOf(e,"Date")&&e.type==="Date"&&IsOptionalString(e.$id)&&IsOptionalNumber(e.exclusiveMaximumTimestamp)&&IsOptionalNumber(e.exclusiveMinimumTimestamp)&&IsOptionalNumber(e.maximumTimestamp)&&IsOptionalNumber(e.minimumTimestamp)&&IsOptionalNumber(e.multipleOfTimestamp)}function type_IsFunction(e){return type_IsKindOf(e,"Function")&&e.type==="Function"&&IsOptionalString(e.$id)&&value_IsArray(e.parameters)&&e.parameters.every((e=>type_IsSchema(e)))&&type_IsSchema(e.returns)}function type_IsImport(e){return type_IsKindOf(e,"Import")&&ValueGuard.HasPropertyKey(e,"$defs")&&ValueGuard.IsObject(e.$defs)&&type_IsProperties(e.$defs)&&ValueGuard.HasPropertyKey(e,"$ref")&&ValueGuard.IsString(e.$ref)&&e.$ref in e.$defs}function type_IsInteger(e){return type_IsKindOf(e,"Integer")&&e.type==="integer"&&IsOptionalString(e.$id)&&IsOptionalNumber(e.exclusiveMaximum)&&IsOptionalNumber(e.exclusiveMinimum)&&IsOptionalNumber(e.maximum)&&IsOptionalNumber(e.minimum)&&IsOptionalNumber(e.multipleOf)}function type_IsProperties(e){return value_IsObject(e)&&Object.entries(e).every((([e,t])=>IsControlCharacterFree(e)&&type_IsSchema(t)))}function type_IsIntersect(e){return type_IsKindOf(e,"Intersect")&&(value_IsString(e.type)&&e.type!=="object"?false:true)&&value_IsArray(e.allOf)&&e.allOf.every((e=>type_IsSchema(e)&&!type_IsTransform(e)))&&IsOptionalString(e.type)&&(IsOptionalBoolean(e.unevaluatedProperties)||IsOptionalSchema(e.unevaluatedProperties))&&IsOptionalString(e.$id)}function type_IsIterator(e){return type_IsKindOf(e,"Iterator")&&e.type==="Iterator"&&IsOptionalString(e.$id)&&type_IsSchema(e.items)}function type_IsKindOf(e,t){return value_IsObject(e)&&He in e&&e[He]===t}function type_IsLiteralString(e){return type_IsLiteral(e)&&value_IsString(e.const)}function type_IsLiteralNumber(e){return type_IsLiteral(e)&&value_IsNumber(e.const)}function type_IsLiteralBoolean(e){return type_IsLiteral(e)&&value_IsBoolean(e.const)}function type_IsLiteral(e){return type_IsKindOf(e,"Literal")&&IsOptionalString(e.$id)&&type_IsLiteralValue(e.const)}function type_IsLiteralValue(e){return value_IsBoolean(e)||value_IsNumber(e)||value_IsString(e)}function type_IsMappedKey(e){return type_IsKindOf(e,"MappedKey")&&value_IsArray(e.keys)&&e.keys.every((e=>value_IsNumber(e)||value_IsString(e)))}function type_IsMappedResult(e){return type_IsKindOf(e,"MappedResult")&&type_IsProperties(e.properties)}function type_IsNever(e){return type_IsKindOf(e,"Never")&&value_IsObject(e.not)&&Object.getOwnPropertyNames(e.not).length===0}function type_IsNot(e){return type_IsKindOf(e,"Not")&&type_IsSchema(e.not)}function type_IsNull(e){return type_IsKindOf(e,"Null")&&e.type==="null"&&IsOptionalString(e.$id)}function type_IsNumber(e){return type_IsKindOf(e,"Number")&&e.type==="number"&&IsOptionalString(e.$id)&&IsOptionalNumber(e.exclusiveMaximum)&&IsOptionalNumber(e.exclusiveMinimum)&&IsOptionalNumber(e.maximum)&&IsOptionalNumber(e.minimum)&&IsOptionalNumber(e.multipleOf)}function type_IsObject(e){return type_IsKindOf(e,"Object")&&e.type==="object"&&IsOptionalString(e.$id)&&type_IsProperties(e.properties)&&IsAdditionalProperties(e.additionalProperties)&&IsOptionalNumber(e.minProperties)&&IsOptionalNumber(e.maxProperties)}function type_IsPromise(e){return type_IsKindOf(e,"Promise")&&e.type==="Promise"&&IsOptionalString(e.$id)&&type_IsSchema(e.item)}function type_IsRecord(e){return type_IsKindOf(e,"Record")&&e.type==="object"&&IsOptionalString(e.$id)&&IsAdditionalProperties(e.additionalProperties)&&value_IsObject(e.patternProperties)&&(e=>{const t=Object.getOwnPropertyNames(e.patternProperties);return t.length===1&&IsPattern(t[0])&&value_IsObject(e.patternProperties)&&type_IsSchema(e.patternProperties[t[0]])})(e)}function type_IsRecursive(e){return ValueGuard.IsObject(e)&&Hint in e&&e[Hint]==="Recursive"}function type_IsRef(e){return type_IsKindOf(e,"Ref")&&IsOptionalString(e.$id)&&value_IsString(e.$ref)}function type_IsRegExp(e){return type_IsKindOf(e,"RegExp")&&IsOptionalString(e.$id)&&value_IsString(e.source)&&value_IsString(e.flags)&&IsOptionalNumber(e.maxLength)&&IsOptionalNumber(e.minLength)}function type_IsString(e){return type_IsKindOf(e,"String")&&e.type==="string"&&IsOptionalString(e.$id)&&IsOptionalNumber(e.minLength)&&IsOptionalNumber(e.maxLength)&&IsOptionalPattern(e.pattern)&&IsOptionalFormat(e.format)}function type_IsSymbol(e){return type_IsKindOf(e,"Symbol")&&e.type==="symbol"&&IsOptionalString(e.$id)}function type_IsTemplateLiteral(e){return type_IsKindOf(e,"TemplateLiteral")&&e.type==="string"&&value_IsString(e.pattern)&&e.pattern[0]==="^"&&e.pattern[e.pattern.length-1]==="$"}function type_IsThis(e){return type_IsKindOf(e,"This")&&IsOptionalString(e.$id)&&value_IsString(e.$ref)}function type_IsTransform(e){return value_IsObject(e)&&Le in e}function type_IsTuple(e){return type_IsKindOf(e,"Tuple")&&e.type==="array"&&IsOptionalString(e.$id)&&value_IsNumber(e.minItems)&&value_IsNumber(e.maxItems)&&e.minItems===e.maxItems&&(value_IsUndefined(e.items)&&value_IsUndefined(e.additionalItems)&&e.minItems===0||value_IsArray(e.items)&&e.items.every((e=>type_IsSchema(e))))}function type_IsUndefined(e){return type_IsKindOf(e,"Undefined")&&e.type==="undefined"&&IsOptionalString(e.$id)}function IsUnionLiteral(e){return type_IsUnion(e)&&e.anyOf.every((e=>type_IsLiteralString(e)||type_IsLiteralNumber(e)))}function type_IsUnion(e){return type_IsKindOf(e,"Union")&&IsOptionalString(e.$id)&&value_IsObject(e)&&value_IsArray(e.anyOf)&&e.anyOf.every((e=>type_IsSchema(e)))}function type_IsUint8Array(e){return type_IsKindOf(e,"Uint8Array")&&e.type==="Uint8Array"&&IsOptionalString(e.$id)&&IsOptionalNumber(e.minByteLength)&&IsOptionalNumber(e.maxByteLength)}function type_IsUnknown(e){return type_IsKindOf(e,"Unknown")&&IsOptionalString(e.$id)}function type_IsUnsafe(e){return type_IsKindOf(e,"Unsafe")}function type_IsVoid(e){return type_IsKindOf(e,"Void")&&e.type==="void"&&IsOptionalString(e.$id)}function type_IsKind(e){return value_IsObject(e)&&He in e&&value_IsString(e[He])&&!$e.includes(e[He])}function type_IsSchema(e){return value_IsObject(e)&&(type_IsAny(e)||type_IsArray(e)||type_IsBoolean(e)||type_IsBigInt(e)||type_IsAsyncIterator(e)||type_IsConstructor(e)||type_IsDate(e)||type_IsFunction(e)||type_IsInteger(e)||type_IsIntersect(e)||type_IsIterator(e)||type_IsLiteral(e)||type_IsMappedKey(e)||type_IsMappedResult(e)||type_IsNever(e)||type_IsNot(e)||type_IsNull(e)||type_IsNumber(e)||type_IsObject(e)||type_IsPromise(e)||type_IsRecord(e)||type_IsRef(e)||type_IsRegExp(e)||type_IsString(e)||type_IsSymbol(e)||type_IsTemplateLiteral(e)||type_IsThis(e)||type_IsTuple(e)||type_IsUndefined(e)||type_IsUnion(e)||type_IsUint8Array(e)||type_IsUnknown(e)||type_IsUnsafe(e)||type_IsVoid(e)||type_IsKind(e))}class ExtendsResolverError extends error_TypeBoxError{}var et;(function(e){e[e["Union"]=0]="Union";e[e["True"]=1]="True";e[e["False"]=2]="False"})(et||(et={}));function IntoBooleanResult(e){return e===et.False?e:et.True}function Throw(e){throw new ExtendsResolverError(e)}function IsStructuralRight(e){return type_IsNever(e)||type_IsIntersect(e)||type_IsUnion(e)||type_IsUnknown(e)||type_IsAny(e)}function StructuralRight(e,t){return type_IsNever(t)?FromNeverRight(e,t):type_IsIntersect(t)?FromIntersectRight(e,t):type_IsUnion(t)?FromUnionRight(e,t):type_IsUnknown(t)?FromUnknownRight(e,t):type_IsAny(t)?FromAnyRight(e,t):Throw("StructuralRight")}function FromAnyRight(e,t){return et.True}function FromAny(e,t){return type_IsIntersect(t)?FromIntersectRight(e,t):type_IsUnion(t)&&t.anyOf.some((e=>type_IsAny(e)||type_IsUnknown(e)))?et.True:type_IsUnion(t)?et.Union:type_IsUnknown(t)?et.True:type_IsAny(t)?et.True:et.Union}function FromArrayRight(e,t){return type_IsUnknown(e)?et.False:type_IsAny(e)?et.Union:type_IsNever(e)?et.True:et.False}function extends_check_FromArray(e,t){return type_IsObject(t)&&IsObjectArrayLike(t)?et.True:IsStructuralRight(t)?StructuralRight(e,t):!type_IsArray(t)?et.False:IntoBooleanResult(extends_check_Visit(e.items,t.items))}function FromAsyncIterator(e,t){return IsStructuralRight(t)?StructuralRight(e,t):!type_IsAsyncIterator(t)?et.False:IntoBooleanResult(extends_check_Visit(e.items,t.items))}function FromBigInt(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsBigInt(t)?et.True:et.False}function FromBooleanRight(e,t){return type_IsLiteralBoolean(e)?et.True:type_IsBoolean(e)?et.True:et.False}function FromBoolean(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsBoolean(t)?et.True:et.False}function FromConstructor(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):!type_IsConstructor(t)?et.False:e.parameters.length>t.parameters.length?et.False:!e.parameters.every(((e,r)=>IntoBooleanResult(extends_check_Visit(t.parameters[r],e))===et.True))?et.False:IntoBooleanResult(extends_check_Visit(e.returns,t.returns))}function FromDate(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsDate(t)?et.True:et.False}function FromFunction(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):!type_IsFunction(t)?et.False:e.parameters.length>t.parameters.length?et.False:!e.parameters.every(((e,r)=>IntoBooleanResult(extends_check_Visit(t.parameters[r],e))===et.True))?et.False:IntoBooleanResult(extends_check_Visit(e.returns,t.returns))}function FromIntegerRight(e,t){return type_IsLiteral(e)&&value_IsNumber(e.const)?et.True:type_IsNumber(e)||type_IsInteger(e)?et.True:et.False}function FromInteger(e,t){return type_IsInteger(t)||type_IsNumber(t)?et.True:IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):et.False}function FromIntersectRight(e,t){return t.allOf.every((t=>extends_check_Visit(e,t)===et.True))?et.True:et.False}function extends_check_FromIntersect(e,t){return e.allOf.some((e=>extends_check_Visit(e,t)===et.True))?et.True:et.False}function FromIterator(e,t){return IsStructuralRight(t)?StructuralRight(e,t):!type_IsIterator(t)?et.False:IntoBooleanResult(extends_check_Visit(e.items,t.items))}function extends_check_FromLiteral(e,t){return type_IsLiteral(t)&&t.const===e.const?et.True:IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsString(t)?FromStringRight(e,t):type_IsNumber(t)?FromNumberRight(e,t):type_IsInteger(t)?FromIntegerRight(e,t):type_IsBoolean(t)?FromBooleanRight(e,t):et.False}function FromNeverRight(e,t){return et.False}function FromNever(e,t){return et.True}function UnwrapTNot(e){let[t,r]=[e,0];while(true){if(!type_IsNot(t))break;t=t.not;r+=1}return r%2===0?t:Unknown()}function FromNot(e,t){return type_IsNot(e)?extends_check_Visit(UnwrapTNot(e),t):type_IsNot(t)?extends_check_Visit(e,UnwrapTNot(t)):Throw("Invalid fallthrough for Not")}function FromNull(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsNull(t)?et.True:et.False}function FromNumberRight(e,t){return type_IsLiteralNumber(e)?et.True:type_IsNumber(e)||type_IsInteger(e)?et.True:et.False}function FromNumber(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsInteger(t)||type_IsNumber(t)?et.True:et.False}function IsObjectPropertyCount(e,t){return Object.getOwnPropertyNames(e.properties).length===t}function IsObjectStringLike(e){return IsObjectArrayLike(e)}function IsObjectSymbolLike(e){return IsObjectPropertyCount(e,0)||IsObjectPropertyCount(e,1)&&"description"in e.properties&&type_IsUnion(e.properties.description)&&e.properties.description.anyOf.length===2&&(type_IsString(e.properties.description.anyOf[0])&&type_IsUndefined(e.properties.description.anyOf[1])||type_IsString(e.properties.description.anyOf[1])&&type_IsUndefined(e.properties.description.anyOf[0]))}function IsObjectNumberLike(e){return IsObjectPropertyCount(e,0)}function IsObjectBooleanLike(e){return IsObjectPropertyCount(e,0)}function IsObjectBigIntLike(e){return IsObjectPropertyCount(e,0)}function IsObjectDateLike(e){return IsObjectPropertyCount(e,0)}function IsObjectUint8ArrayLike(e){return IsObjectArrayLike(e)}function IsObjectFunctionLike(e){const t=number_Number();return IsObjectPropertyCount(e,0)||IsObjectPropertyCount(e,1)&&"length"in e.properties&&IntoBooleanResult(extends_check_Visit(e.properties["length"],t))===et.True}function IsObjectConstructorLike(e){return IsObjectPropertyCount(e,0)}function IsObjectArrayLike(e){const t=number_Number();return IsObjectPropertyCount(e,0)||IsObjectPropertyCount(e,1)&&"length"in e.properties&&IntoBooleanResult(extends_check_Visit(e.properties["length"],t))===et.True}function IsObjectPromiseLike(e){const t=function_Function([Any()],Any());return IsObjectPropertyCount(e,0)||IsObjectPropertyCount(e,1)&&"then"in e.properties&&IntoBooleanResult(extends_check_Visit(e.properties["then"],t))===et.True}function Property(e,t){return extends_check_Visit(e,t)===et.False?et.False:type_IsOptional(e)&&!type_IsOptional(t)?et.False:et.True}function FromObjectRight(e,t){return type_IsUnknown(e)?et.False:type_IsAny(e)?et.Union:type_IsNever(e)||type_IsLiteralString(e)&&IsObjectStringLike(t)||type_IsLiteralNumber(e)&&IsObjectNumberLike(t)||type_IsLiteralBoolean(e)&&IsObjectBooleanLike(t)||type_IsSymbol(e)&&IsObjectSymbolLike(t)||type_IsBigInt(e)&&IsObjectBigIntLike(t)||type_IsString(e)&&IsObjectStringLike(t)||type_IsSymbol(e)&&IsObjectSymbolLike(t)||type_IsNumber(e)&&IsObjectNumberLike(t)||type_IsInteger(e)&&IsObjectNumberLike(t)||type_IsBoolean(e)&&IsObjectBooleanLike(t)||type_IsUint8Array(e)&&IsObjectUint8ArrayLike(t)||type_IsDate(e)&&IsObjectDateLike(t)||type_IsConstructor(e)&&IsObjectConstructorLike(t)||type_IsFunction(e)&&IsObjectFunctionLike(t)?et.True:type_IsRecord(e)&&type_IsString(RecordKey(e))?(()=>t[xe]==="Record"?et.True:et.False)():type_IsRecord(e)&&type_IsNumber(RecordKey(e))?(()=>IsObjectPropertyCount(t,0)?et.True:et.False)():et.False}function FromObject(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):!type_IsObject(t)?et.False:(()=>{for(const r of Object.getOwnPropertyNames(t.properties)){if(!(r in e.properties)&&!type_IsOptional(t.properties[r])){return et.False}if(type_IsOptional(t.properties[r])){return et.True}if(Property(e.properties[r],t.properties[r])===et.False){return et.False}}return et.True})()}function extends_check_FromPromise(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)&&IsObjectPromiseLike(t)?et.True:!type_IsPromise(t)?et.False:IntoBooleanResult(extends_check_Visit(e.item,t.item))}function RecordKey(e){return ze in e.patternProperties?number_Number():Ze in e.patternProperties?string_String():Throw("Unknown record key pattern")}function RecordValue(e){return ze in e.patternProperties?e.patternProperties[ze]:Ze in e.patternProperties?e.patternProperties[Ze]:Throw("Unable to get record value schema")}function FromRecordRight(e,t){const[r,s]=[RecordKey(t),RecordValue(t)];return type_IsLiteralString(e)&&type_IsNumber(r)&&IntoBooleanResult(extends_check_Visit(e,s))===et.True?et.True:type_IsUint8Array(e)&&type_IsNumber(r)?extends_check_Visit(e,s):type_IsString(e)&&type_IsNumber(r)?extends_check_Visit(e,s):type_IsArray(e)&&type_IsNumber(r)?extends_check_Visit(e,s):type_IsObject(e)?(()=>{for(const t of Object.getOwnPropertyNames(e.properties)){if(Property(s,e.properties[t])===et.False){return et.False}}return et.True})():et.False}function FromRecord(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):!type_IsRecord(t)?et.False:extends_check_Visit(RecordValue(e),RecordValue(t))}function FromRegExp(e,t){const r=type_IsRegExp(e)?string_String():e;const s=type_IsRegExp(t)?string_String():t;return extends_check_Visit(r,s)}function FromStringRight(e,t){return type_IsLiteral(e)&&value_IsString(e.const)?et.True:type_IsString(e)?et.True:et.False}function FromString(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsString(t)?et.True:et.False}function FromSymbol(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsSymbol(t)?et.True:et.False}function extends_check_FromTemplateLiteral(e,t){return type_IsTemplateLiteral(e)?extends_check_Visit(TemplateLiteralToUnion(e),t):type_IsTemplateLiteral(t)?extends_check_Visit(e,TemplateLiteralToUnion(t)):Throw("Invalid fallthrough for TemplateLiteral")}function IsArrayOfTuple(e,t){return type_IsArray(t)&&e.items!==undefined&&e.items.every((e=>extends_check_Visit(e,t.items)===et.True))}function FromTupleRight(e,t){return type_IsNever(e)?et.True:type_IsUnknown(e)?et.False:type_IsAny(e)?et.Union:et.False}function extends_check_FromTuple(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)&&IsObjectArrayLike(t)?et.True:type_IsArray(t)&&IsArrayOfTuple(e,t)?et.True:!type_IsTuple(t)?et.False:value_IsUndefined(e.items)&&!value_IsUndefined(t.items)||!value_IsUndefined(e.items)&&value_IsUndefined(t.items)?et.False:value_IsUndefined(e.items)&&!value_IsUndefined(t.items)?et.True:e.items.every(((e,r)=>extends_check_Visit(e,t.items[r])===et.True))?et.True:et.False}function FromUint8Array(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsUint8Array(t)?et.True:et.False}function FromUndefined(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsVoid(t)?FromVoidRight(e,t):type_IsUndefined(t)?et.True:et.False}function FromUnionRight(e,t){return t.anyOf.some((t=>extends_check_Visit(e,t)===et.True))?et.True:et.False}function extends_check_FromUnion(e,t){return e.anyOf.every((e=>extends_check_Visit(e,t)===et.True))?et.True:et.False}function FromUnknownRight(e,t){return et.True}function FromUnknown(e,t){return type_IsNever(t)?FromNeverRight(e,t):type_IsIntersect(t)?FromIntersectRight(e,t):type_IsUnion(t)?FromUnionRight(e,t):type_IsAny(t)?FromAnyRight(e,t):type_IsString(t)?FromStringRight(e,t):type_IsNumber(t)?FromNumberRight(e,t):type_IsInteger(t)?FromIntegerRight(e,t):type_IsBoolean(t)?FromBooleanRight(e,t):type_IsArray(t)?FromArrayRight(e,t):type_IsTuple(t)?FromTupleRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsUnknown(t)?et.True:et.False}function FromVoidRight(e,t){return type_IsUndefined(e)?et.True:type_IsUndefined(e)?et.True:et.False}function FromVoid(e,t){return type_IsIntersect(t)?FromIntersectRight(e,t):type_IsUnion(t)?FromUnionRight(e,t):type_IsUnknown(t)?FromUnknownRight(e,t):type_IsAny(t)?FromAnyRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsVoid(t)?et.True:et.False}function extends_check_Visit(e,t){return type_IsTemplateLiteral(e)||type_IsTemplateLiteral(t)?extends_check_FromTemplateLiteral(e,t):type_IsRegExp(e)||type_IsRegExp(t)?FromRegExp(e,t):type_IsNot(e)||type_IsNot(t)?FromNot(e,t):type_IsAny(e)?FromAny(e,t):type_IsArray(e)?extends_check_FromArray(e,t):type_IsBigInt(e)?FromBigInt(e,t):type_IsBoolean(e)?FromBoolean(e,t):type_IsAsyncIterator(e)?FromAsyncIterator(e,t):type_IsConstructor(e)?FromConstructor(e,t):type_IsDate(e)?FromDate(e,t):type_IsFunction(e)?FromFunction(e,t):type_IsInteger(e)?FromInteger(e,t):type_IsIntersect(e)?extends_check_FromIntersect(e,t):type_IsIterator(e)?FromIterator(e,t):type_IsLiteral(e)?extends_check_FromLiteral(e,t):type_IsNever(e)?FromNever(e,t):type_IsNull(e)?FromNull(e,t):type_IsNumber(e)?FromNumber(e,t):type_IsObject(e)?FromObject(e,t):type_IsRecord(e)?FromRecord(e,t):type_IsString(e)?FromString(e,t):type_IsSymbol(e)?FromSymbol(e,t):type_IsTuple(e)?extends_check_FromTuple(e,t):type_IsPromise(e)?extends_check_FromPromise(e,t):type_IsUint8Array(e)?FromUint8Array(e,t):type_IsUndefined(e)?FromUndefined(e,t):type_IsUnion(e)?extends_check_FromUnion(e,t):type_IsUnknown(e)?FromUnknown(e,t):type_IsVoid(e)?FromVoid(e,t):Throw(`Unknown left type operand '${e[He]}'`)}function ExtendsCheck(e,t){return extends_check_Visit(e,t)}function exclude_from_mapped_result_FromProperties(e,t){const r={};for(const s of globalThis.Object.getOwnPropertyNames(e))r[s]=Exclude(e[s],t);return r}function exclude_from_mapped_result_FromMappedResult(e,t){return exclude_from_mapped_result_FromProperties(e.properties,t)}function ExcludeFromMappedResult(e,t){const r=exclude_from_mapped_result_FromMappedResult(e,t);return MappedResult(r)}function ExcludeFromTemplateLiteral(e,t){return Exclude(TemplateLiteralToUnion(e),t)}function ExcludeRest(e,t){const r=e.filter((e=>ExtendsCheck(e,t)===et.False));return r.length===1?r[0]:Union(r)}function Exclude(e,t,r={}){if(IsTemplateLiteral(e))return CreateType(ExcludeFromTemplateLiteral(e,t),r);if(IsMappedResult(e))return CreateType(ExcludeFromMappedResult(e,t),r);return CreateType(IsUnion(e)?ExcludeRest(e.anyOf,t):ExtendsCheck(e,t)!==et.False?Never():e,r)}function FromPropertyKey(e,t,r,s,o){return{[e]:Extends(Literal(e),t,r,s,Clone(o))}}function FromPropertyKeys(e,t,r,s,o){return e.reduce(((e,n)=>({...e,...FromPropertyKey(n,t,r,s,o)})),{})}function FromMappedKey(e,t,r,s,o){return FromPropertyKeys(e.keys,t,r,s,o)}function ExtendsFromMappedKey(e,t,r,s,o){const n=FromMappedKey(e,t,r,s,o);return MappedResult(n)}function extends_from_mapped_result_FromProperties(e,t,r,s,o){const n={};for(const A of globalThis.Object.getOwnPropertyNames(e))n[A]=Extends(e[A],t,r,s,Clone(o));return n}function extends_from_mapped_result_FromMappedResult(e,t,r,s,o){return extends_from_mapped_result_FromProperties(e.properties,t,r,s,o)}function ExtendsFromMappedResult(e,t,r,s,o){const n=extends_from_mapped_result_FromMappedResult(e,t,r,s,o);return MappedResult(n)}function ExtendsResolve(e,t,r,s){const o=ExtendsCheck(e,t);return o===et.Union?Union([r,s]):o===et.True?r:s}function Extends(e,t,r,s,o){return IsMappedResult(e)?ExtendsFromMappedResult(e,t,r,s,o):IsMappedKey(e)?CreateType(ExtendsFromMappedKey(e,t,r,s,o)):CreateType(ExtendsResolve(e,t,r,s),o)}function extract_from_mapped_result_FromProperties(e,t){const r={};for(const s of globalThis.Object.getOwnPropertyNames(e))r[s]=Extract(e[s],t);return r}function extract_from_mapped_result_FromMappedResult(e,t){return extract_from_mapped_result_FromProperties(e.properties,t)}function ExtractFromMappedResult(e,t){const r=extract_from_mapped_result_FromMappedResult(e,t);return MappedResult(r)}function ExtractFromTemplateLiteral(e,t){return Extract(TemplateLiteralToUnion(e),t)}function ExtractRest(e,t){const r=e.filter((e=>ExtendsCheck(e,t)!==et.False));return r.length===1?r[0]:Union(r)}function Extract(e,t,r){if(IsTemplateLiteral(e))return CreateType(ExtractFromTemplateLiteral(e,t),r);if(IsMappedResult(e))return CreateType(ExtractFromMappedResult(e,t),r);return CreateType(IsUnion(e)?ExtractRest(e.anyOf,t):ExtendsCheck(e,t)!==et.False?e:Never(),r)}function InstanceType(e,t){return CreateType(e.returns,t)}function Integer(e){return CreateType({[He]:"Integer",type:"integer"},e)}function*syntax_FromUnion(e){const t=e.trim().replace(/"|'/g,"");return t==="boolean"?yield boolean_Boolean():t==="number"?yield number_Number():t==="bigint"?yield bigint_BigInt():t==="string"?yield string_String():yield(()=>{const e=t.split("|").map((e=>Literal(e.trim())));return e.length===0?Never():e.length===1?e[0]:UnionEvaluated(e)})()}function*FromTerminal(e){if(e[1]!=="{"){const t=Literal("$");const r=FromSyntax(e.slice(1));return yield*[t,...r]}for(let t=2;t<e.length;t++){if(e[t]==="}"){const r=syntax_FromUnion(e.slice(2,t));const s=FromSyntax(e.slice(t+1));return yield*[...r,...s]}}yield Literal(e)}function*FromSyntax(e){for(let t=0;t<e.length;t++){if(e[t]==="$"){const r=Literal(e.slice(0,t));const s=FromTerminal(e.slice(t));return yield*[r,...s]}}yield Literal(e)}function TemplateLiteralSyntax(e){return[...FromSyntax(e)]}class TemplateLiteralPatternError extends error_TypeBoxError{}function Escape(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function pattern_Visit(e,t){return IsTemplateLiteral(e)?e.pattern.slice(1,e.pattern.length-1):IsUnion(e)?`(${e.anyOf.map((e=>pattern_Visit(e,t))).join("|")})`:kind_IsNumber(e)?`${t}${qe}`:kind_IsInteger(e)?`${t}${qe}`:kind_IsBigInt(e)?`${t}${qe}`:kind_IsString(e)?`${t}${je}`:IsLiteral(e)?`${t}${Escape(e.const.toString())}`:kind_IsBoolean(e)?`${t}${Je}`:(()=>{throw new TemplateLiteralPatternError(`Unexpected Kind '${e[He]}'`)})()}function TemplateLiteralPattern(e){return`^${e.map((e=>pattern_Visit(e,""))).join("")}$`}function TemplateLiteral(e,t){const r=value_IsString(e)?TemplateLiteralPattern(TemplateLiteralSyntax(e)):TemplateLiteralPattern(e);return CreateType({[He]:"TemplateLiteral",type:"string",pattern:r},t)}function MappedIntrinsicPropertyKey(e,t,r){return{[e]:Intrinsic(Literal(e),t,Clone(r))}}function MappedIntrinsicPropertyKeys(e,t,r){const s=e.reduce(((e,s)=>({...e,...MappedIntrinsicPropertyKey(s,t,r)})),{});return s}function MappedIntrinsicProperties(e,t,r){return MappedIntrinsicPropertyKeys(e["keys"],t,r)}function IntrinsicFromMappedKey(e,t,r){const s=MappedIntrinsicProperties(e,t,r);return MappedResult(s)}function ApplyUncapitalize(e){const[t,r]=[e.slice(0,1),e.slice(1)];return[t.toLowerCase(),r].join("")}function ApplyCapitalize(e){const[t,r]=[e.slice(0,1),e.slice(1)];return[t.toUpperCase(),r].join("")}function ApplyUppercase(e){return e.toUpperCase()}function ApplyLowercase(e){return e.toLowerCase()}function intrinsic_FromTemplateLiteral(e,t,r){const s=TemplateLiteralParseExact(e.pattern);const o=IsTemplateLiteralExpressionFinite(s);if(!o)return{...e,pattern:FromLiteralValue(e.pattern,t)};const n=[...TemplateLiteralExpressionGenerate(s)];const A=n.map((e=>Literal(e)));const i=intrinsic_FromRest(A,t);const a=Union(i);return TemplateLiteral([a],r)}function FromLiteralValue(e,t){return typeof e==="string"?t==="Uncapitalize"?ApplyUncapitalize(e):t==="Capitalize"?ApplyCapitalize(e):t==="Uppercase"?ApplyUppercase(e):t==="Lowercase"?ApplyLowercase(e):e:e.toString()}function intrinsic_FromRest(e,t){return e.map((e=>Intrinsic(e,t)))}function Intrinsic(e,t,r={}){return IsMappedKey(e)?IntrinsicFromMappedKey(e,t,r):IsTemplateLiteral(e)?intrinsic_FromTemplateLiteral(e,t,r):IsUnion(e)?Union(intrinsic_FromRest(e.anyOf,t),r):IsLiteral(e)?Literal(FromLiteralValue(e.const,t),r):CreateType(e,r)}function Capitalize(e,t={}){return Intrinsic(e,"Capitalize",t)}function Uncapitalize(e,t={}){return Intrinsic(e,"Uncapitalize",t)}function Lowercase(e,t={}){return Intrinsic(e,"Lowercase",t)}function Uppercase(e,t={}){return Intrinsic(e,"Uppercase",t)}function Iterator(e,t){return CreateType({[He]:"Iterator",type:"Iterator",items:e},t)}function keyof_from_mapped_result_FromProperties(e,t){const r={};for(const s of globalThis.Object.getOwnPropertyNames(e))r[s]=KeyOf(e[s],Clone(t));return r}function keyof_from_mapped_result_FromMappedResult(e,t){return keyof_from_mapped_result_FromProperties(e.properties,t)}function KeyOfFromMappedResult(e,t){const r=keyof_from_mapped_result_FromMappedResult(e,t);return MappedResult(r)}function keyof_FromComputed(e,t){return Computed("KeyOf",[Computed(e,t)])}function keyof_FromRef(e){return Computed("KeyOf",[Ref(e)])}function KeyOfFromType(e,t){const r=KeyOfPropertyKeys(e);const s=KeyOfPropertyKeysToRest(r);const o=UnionEvaluated(s);return CreateType(o,t)}function KeyOfPropertyKeysToRest(e){return e.map((e=>e==="[number]"?number_Number():Literal(e)))}function KeyOf(e,t){return IsComputed(e)?keyof_FromComputed(e.target,e.parameters):IsRef(e)?keyof_FromRef(e.$ref):IsMappedResult(e)?KeyOfFromMappedResult(e,t):KeyOfFromType(e,t)}function promise_Promise(e,t){return CreateType({[He]:"Promise",type:"Promise",item:e},t)}function mapped_FromMappedResult(e,t){return e in t?FromSchemaType(e,t[e]):MappedResult(t)}function MappedKeyToKnownMappedResultProperties(e){return{[e]:Literal(e)}}function MappedKeyToUnknownMappedResultProperties(e){const t={};for(const r of e)t[r]=Literal(r);return t}function MappedKeyToMappedResultProperties(e,t){return SetIncludes(t,e)?MappedKeyToKnownMappedResultProperties(e):MappedKeyToUnknownMappedResultProperties(t)}function mapped_FromMappedKey(e,t){const r=MappedKeyToMappedResultProperties(e,t);return mapped_FromMappedResult(e,r)}function mapped_FromRest(e,t){return t.map((t=>FromSchemaType(e,t)))}function mapped_FromProperties(e,t){const r={};for(const s of globalThis.Object.getOwnPropertyNames(t))r[s]=FromSchemaType(e,t[s]);return r}function FromSchemaType(e,t){const r={...t};return IsOptional(t)?Optional(FromSchemaType(e,Discard(t,[Me]))):IsReadonly(t)?Readonly(FromSchemaType(e,Discard(t,[Pe]))):IsMappedResult(t)?mapped_FromMappedResult(e,t.properties):IsMappedKey(t)?mapped_FromMappedKey(e,t.keys):IsConstructor(t)?Constructor(mapped_FromRest(e,t.parameters),FromSchemaType(e,t.returns),r):kind_IsFunction(t)?function_Function(mapped_FromRest(e,t.parameters),FromSchemaType(e,t.returns),r):kind_IsAsyncIterator(t)?AsyncIterator(FromSchemaType(e,t.items),r):kind_IsIterator(t)?Iterator(FromSchemaType(e,t.items),r):IsIntersect(t)?Intersect(mapped_FromRest(e,t.allOf),r):IsUnion(t)?Union(mapped_FromRest(e,t.anyOf),r):IsTuple(t)?Tuple(mapped_FromRest(e,t.items??[]),r):kind_IsObject(t)?Ye(mapped_FromProperties(e,t.properties),r):kind_IsArray(t)?array_Array(FromSchemaType(e,t.items),r):kind_IsPromise(t)?promise_Promise(FromSchemaType(e,t.item),r):t}function MappedFunctionReturnType(e,t){const r={};for(const s of e)r[s]=FromSchemaType(s,t);return r}function Mapped(e,t,r){const s=IsSchema(e)?IndexPropertyKeys(e):e;const o=t({[He]:"MappedKey",keys:s});const n=MappedFunctionReturnType(s,o);return Ye(n,r)}function omit_from_mapped_key_FromPropertyKey(e,t,r){return{[t]:Omit(e,[t],Clone(r))}}function omit_from_mapped_key_FromPropertyKeys(e,t,r){return t.reduce(((t,s)=>({...t,...omit_from_mapped_key_FromPropertyKey(e,s,r)})),{})}function omit_from_mapped_key_FromMappedKey(e,t,r){return omit_from_mapped_key_FromPropertyKeys(e,t.keys,r)}function OmitFromMappedKey(e,t,r){const s=omit_from_mapped_key_FromMappedKey(e,t,r);return MappedResult(s)}function omit_from_mapped_result_FromProperties(e,t,r){const s={};for(const o of globalThis.Object.getOwnPropertyNames(e))s[o]=Omit(e[o],t,Clone(r));return s}function omit_from_mapped_result_FromMappedResult(e,t,r){return omit_from_mapped_result_FromProperties(e.properties,t,r)}function OmitFromMappedResult(e,t,r){const s=omit_from_mapped_result_FromMappedResult(e,t,r);return MappedResult(s)}function omit_FromIntersect(e,t){return e.map((e=>OmitResolve(e,t)))}function omit_FromUnion(e,t){return e.map((e=>OmitResolve(e,t)))}function omit_FromProperty(e,t){const{[t]:r,...s}=e;return s}function omit_FromProperties(e,t){return t.reduce(((e,t)=>omit_FromProperty(e,t)),e)}function omit_FromObject(e,t){const r=Discard(e,[Le,"$id","required","properties"]);const s=omit_FromProperties(e["properties"],t);return Ye(s,r)}function omit_UnionFromPropertyKeys(e){const t=e.reduce(((e,t)=>IsLiteralValue(t)?[...e,Literal(t)]:e),[]);return Union(t)}function OmitResolve(e,t){return IsIntersect(e)?Intersect(omit_FromIntersect(e.allOf,t)):IsUnion(e)?Union(omit_FromUnion(e.anyOf,t)):kind_IsObject(e)?omit_FromObject(e,t):Ye({})}function Omit(e,t,r){const s=value_IsArray(t)?omit_UnionFromPropertyKeys(t):t;const o=IsSchema(t)?IndexPropertyKeys(t):t;const n=IsRef(e);const A=IsRef(t);return IsMappedResult(e)?OmitFromMappedResult(e,o,r):IsMappedKey(t)?OmitFromMappedKey(e,t,r):n&&A?Computed("Omit",[e,s],r):!n&&A?Computed("Omit",[e,s],r):n&&!A?Computed("Omit",[e,s],r):CreateType({...OmitResolve(e,o),...r})}function pick_from_mapped_key_FromPropertyKey(e,t,r){return{[t]:Pick(e,[t],Clone(r))}}function pick_from_mapped_key_FromPropertyKeys(e,t,r){return t.reduce(((t,s)=>({...t,...pick_from_mapped_key_FromPropertyKey(e,s,r)})),{})}function pick_from_mapped_key_FromMappedKey(e,t,r){return pick_from_mapped_key_FromPropertyKeys(e,t.keys,r)}function PickFromMappedKey(e,t,r){const s=pick_from_mapped_key_FromMappedKey(e,t,r);return MappedResult(s)}function pick_from_mapped_result_FromProperties(e,t,r){const s={};for(const o of globalThis.Object.getOwnPropertyNames(e))s[o]=Pick(e[o],t,Clone(r));return s}function pick_from_mapped_result_FromMappedResult(e,t,r){return pick_from_mapped_result_FromProperties(e.properties,t,r)}function PickFromMappedResult(e,t,r){const s=pick_from_mapped_result_FromMappedResult(e,t,r);return MappedResult(s)}function pick_FromIntersect(e,t){return e.map((e=>PickResolve(e,t)))}function pick_FromUnion(e,t){return e.map((e=>PickResolve(e,t)))}function pick_FromProperties(e,t){const r={};for(const s of t)if(s in e)r[s]=e[s];return r}function pick_FromObject(e,t){const r=Discard(e,[Le,"$id","required","properties"]);const s=pick_FromProperties(e["properties"],t);return Ye(s,r)}function pick_UnionFromPropertyKeys(e){const t=e.reduce(((e,t)=>IsLiteralValue(t)?[...e,Literal(t)]:e),[]);return Union(t)}function PickResolve(e,t){return IsIntersect(e)?Intersect(pick_FromIntersect(e.allOf,t)):IsUnion(e)?Union(pick_FromUnion(e.anyOf,t)):kind_IsObject(e)?pick_FromObject(e,t):Ye({})}function Pick(e,t,r){const s=value_IsArray(t)?pick_UnionFromPropertyKeys(t):t;const o=IsSchema(t)?IndexPropertyKeys(t):t;const n=IsRef(e);const A=IsRef(t);return IsMappedResult(e)?PickFromMappedResult(e,o,r):IsMappedKey(t)?PickFromMappedKey(e,t,r):n&&A?Computed("Pick",[e,s],r):!n&&A?Computed("Pick",[e,s],r):n&&!A?Computed("Pick",[e,s],r):CreateType({...PickResolve(e,o),...r})}function partial_from_mapped_result_FromProperties(e,t){const r={};for(const s of globalThis.Object.getOwnPropertyNames(e))r[s]=Partial(e[s],Clone(t));return r}function partial_from_mapped_result_FromMappedResult(e,t){return partial_from_mapped_result_FromProperties(e.properties,t)}function PartialFromMappedResult(e,t){const r=partial_from_mapped_result_FromMappedResult(e,t);return MappedResult(r)}function partial_FromComputed(e,t){return Computed("Partial",[Computed(e,t)])}function partial_FromRef(e){return Computed("Partial",[Ref(e)])}function partial_FromProperties(e){const t={};for(const r of globalThis.Object.getOwnPropertyNames(e))t[r]=Optional(e[r]);return t}function partial_FromObject(e){const t=Discard(e,[Le,"$id","required","properties"]);const r=partial_FromProperties(e["properties"]);return Ye(r,t)}function partial_FromRest(e){return e.map((e=>PartialResolve(e)))}function PartialResolve(e){return IsComputed(e)?partial_FromComputed(e.target,e.parameters):IsRef(e)?partial_FromRef(e.$ref):IsIntersect(e)?Intersect(partial_FromRest(e.allOf)):IsUnion(e)?Union(partial_FromRest(e.anyOf)):kind_IsObject(e)?partial_FromObject(e):Ye({})}function Partial(e,t){if(IsMappedResult(e)){return PartialFromMappedResult(e,t)}else{return CreateType({...PartialResolve(e),...t})}}function RecordCreateFromPattern(e,t,r){return CreateType({[He]:"Record",type:"object",patternProperties:{[e]:t}},r)}function RecordCreateFromKeys(e,t,r){const s={};for(const r of e)s[r]=t;return Ye(s,{...r,[xe]:"Record"})}function FromTemplateLiteralKey(e,t,r){return IsTemplateLiteralFinite(e)?RecordCreateFromKeys(IndexPropertyKeys(e),t,r):RecordCreateFromPattern(e.pattern,t,r)}function FromUnionKey(e,t,r){return RecordCreateFromKeys(IndexPropertyKeys(Union(e)),t,r)}function FromLiteralKey(e,t,r){return RecordCreateFromKeys([e.toString()],t,r)}function FromRegExpKey(e,t,r){return RecordCreateFromPattern(e.source,t,r)}function FromStringKey(e,t,r){const s=value_IsUndefined(e.pattern)?Ze:e.pattern;return RecordCreateFromPattern(s,t,r)}function FromAnyKey(e,t,r){return RecordCreateFromPattern(Ze,t,r)}function FromNeverKey(e,t,r){return RecordCreateFromPattern(Xe,t,r)}function FromIntegerKey(e,t,r){return RecordCreateFromPattern(ze,t,r)}function FromNumberKey(e,t,r){return RecordCreateFromPattern(ze,t,r)}function Record(e,t,r={}){return IsRef(t)?Computed("Record",[e,t]):IsRef(e)?Computed("Record",[e,t]):IsUnion(e)?FromUnionKey(e.anyOf,t,r):IsTemplateLiteral(e)?FromTemplateLiteralKey(e,t,r):IsLiteral(e)?FromLiteralKey(e.const,t,r):kind_IsInteger(e)?FromIntegerKey(e,t,r):kind_IsNumber(e)?FromNumberKey(e,t,r):kind_IsRegExp(e)?FromRegExpKey(e,t,r):kind_IsString(e)?FromStringKey(e,t,r):IsAny(e)?FromAnyKey(e,t,r):IsNever(e)?FromNeverKey(e,t,r):Never(r)}function required_from_mapped_result_FromProperties(e,t){const r={};for(const s of globalThis.Object.getOwnPropertyNames(e))r[s]=Required(e[s],t);return r}function required_from_mapped_result_FromMappedResult(e,t){return required_from_mapped_result_FromProperties(e.properties,t)}function RequiredFromMappedResult(e,t){const r=required_from_mapped_result_FromMappedResult(e,t);return MappedResult(r)}function required_FromComputed(e,t){return Computed("Required",[Computed(e,t)])}function required_FromRef(e){return Computed("Required",[Ref(e)])}function required_FromProperties(e){const t={};for(const r of globalThis.Object.getOwnPropertyNames(e))t[r]=Discard(e[r],[Me]);return t}function required_FromObject(e){const t=Discard(e,[Le,"$id","required","properties"]);const r=required_FromProperties(e["properties"]);return Ye(r,t)}function required_FromRest(e){return e.map((e=>RequiredResolve(e)))}function RequiredResolve(e){return IsComputed(e)?required_FromComputed(e.target,e.parameters):IsRef(e)?required_FromRef(e.$ref):IsIntersect(e)?Intersect(required_FromRest(e.allOf)):IsUnion(e)?Union(required_FromRest(e.anyOf)):kind_IsObject(e)?required_FromObject(e):Ye({})}function Required(e,t){if(IsMappedResult(e)){return RequiredFromMappedResult(e,t)}else{return CreateType({...RequiredResolve(e),...t})}}function DerefParameters(e,t){return t.map((t=>IsRef(t)?Deref(e,t.$ref):compute_FromType(e,t)))}function Deref(e,t){return t in e?IsRef(e[t])?Deref(e,e[t].$ref):compute_FromType(e,e[t]):Never()}function FromAwaited(e){return Awaited(e[0])}function FromIndex(e){return Index(e[0],e[1])}function FromKeyOf(e){return KeyOf(e[0])}function FromPartial(e){return Partial(e[0])}function FromOmit(e){return Omit(e[0],e[1])}function FromPick(e){return Pick(e[0],e[1])}function compute_FromRecord(e){return Record(e[0],e[1])}function FromRequired(e){return Required(e[0])}function compute_FromComputed(e,t,r){const s=DerefParameters(e,r);return t==="Awaited"?FromAwaited(s):t==="Index"?FromIndex(s):t==="KeyOf"?FromKeyOf(s):t==="Partial"?FromPartial(s):t==="Omit"?FromOmit(s):t==="Pick"?FromPick(s):t==="Record"?compute_FromRecord(s):t==="Required"?FromRequired(s):Never()}function compute_FromObject(e,t){return Ye(globalThis.Object.keys(t).reduce(((r,s)=>({...r,[s]:compute_FromType(e,t[s])})),{}))}function compute_FromConstructor(e,t,r){return Constructor(compute_FromRest(e,t),compute_FromType(e,r))}function compute_FromFunction(e,t,r){return function_Function(compute_FromRest(e,t),compute_FromType(e,r))}function compute_FromTuple(e,t){return Tuple(compute_FromRest(e,t))}function compute_FromIntersect(e,t){return Intersect(compute_FromRest(e,t))}function compute_FromUnion(e,t){return Union(compute_FromRest(e,t))}function compute_FromArray(e,t){return array_Array(compute_FromType(e,t))}function compute_FromAsyncIterator(e,t){return AsyncIterator(compute_FromType(e,t))}function compute_FromIterator(e,t){return Iterator(compute_FromType(e,t))}function compute_FromRest(e,t){return t.map((t=>compute_FromType(e,t)))}function compute_FromType(e,t){return IsComputed(t)?CreateType(compute_FromComputed(e,t.target,t.parameters)):kind_IsObject(t)?CreateType(compute_FromObject(e,t.properties),t):IsConstructor(t)?CreateType(compute_FromConstructor(e,t.parameters,t.returns),t):kind_IsFunction(t)?CreateType(compute_FromFunction(e,t.parameters,t.returns),t):IsTuple(t)?CreateType(compute_FromTuple(e,t.items||[]),t):IsIntersect(t)?CreateType(compute_FromIntersect(e,t.allOf),t):IsUnion(t)?CreateType(compute_FromUnion(e,t.anyOf),t):kind_IsArray(t)?CreateType(compute_FromArray(e,t.items),t):kind_IsAsyncIterator(t)?CreateType(compute_FromAsyncIterator(e,t.items),t):kind_IsIterator(t)?CreateType(compute_FromIterator(e,t.items),t):t}function ComputeType(e,t){return t in e?compute_FromType(e,e[t]):Never()}function ComputeModuleProperties(e){return globalThis.Object.getOwnPropertyNames(e).reduce(((t,r)=>({...t,[r]:ComputeType(e,r)})),{})}class TModule{constructor(e){const t=ComputeModuleProperties(e);const r=this.WithIdentifiers(t);this.$defs=r}Import(e,t){return CreateType({[He]:"Import",$defs:this.$defs,$ref:e},t)}WithIdentifiers(e){return globalThis.Object.getOwnPropertyNames(e).reduce(((t,r)=>({...t,[r]:{...e[r],$id:r}})),{})}}function Module(e){return new TModule(e)}function Not(e,t){return CreateType({[He]:"Not",not:e},t)}function Parameters(e,t){return Tuple(e.parameters,t)}function ReadonlyOptional(e){return Readonly(Optional(e))}function CloneRest(e){return e.map((e=>CloneType(e)))}function CloneType(e,t){return t===undefined?Clone(e):Clone({...t,...e})}let tt=0;function Recursive(e,t={}){if(value_IsUndefined(t.$id))t.$id=`T${tt++}`;const r=CloneType(e({[He]:"This",$ref:`${t.$id}`}));r.$id=t.$id;return CreateType({[xe]:"Recursive",...r},t)}function regexp_RegExp(e,t){const r=value_IsString(e)?new globalThis.RegExp(e):e;return CreateType({[He]:"RegExp",type:"RegExp",source:r.source,flags:r.flags},t)}function RestResolve(e){return IsIntersect(e)?e.allOf:IsUnion(e)?e.anyOf:IsTuple(e)?e.items??[]:[]}function Rest(e){return RestResolve(e)}function ReturnType(e,t){return CreateType(e.returns,t)}class TransformDecodeBuilder{constructor(e){this.schema=e}Decode(e){return new TransformEncodeBuilder(this.schema,e)}}class TransformEncodeBuilder{constructor(e,t){this.schema=e;this.decode=t}EncodeTransform(e,t){const Encode=r=>t[Le].Encode(e(r));const Decode=e=>this.decode(t[Le].Decode(e));const r={Encode:Encode,Decode:Decode};return{...t,[Le]:r}}EncodeSchema(e,t){const r={Decode:this.decode,Encode:e};return{...t,[Le]:r}}Encode(e){return IsTransform(this.schema)?this.EncodeTransform(e,this.schema):this.EncodeSchema(e,this.schema)}}function Transform(e){return new TransformDecodeBuilder(e)}function Unsafe(e={}){return CreateType({[He]:e[He]??"Unsafe"},e)}function Void(e){return CreateType({[He]:"Void",type:"void"},e)}const rt=o;function KeyOfPropertyEntries(e){const t=KeyOfPropertyKeys(e);const r=IndexFromPropertyKeys(e,t);return t.map(((e,s)=>[t[s],r[s]]))}class TypeDereferenceError extends error_TypeBoxError{constructor(e){super(`Unable to dereference schema with $id '${e.$ref}'`);this.schema=e}}function Resolve(e,t){const r=t.find((t=>t.$id===e.$ref));if(r===undefined)throw new TypeDereferenceError(e);return deref_Deref(r,t)}function Pushref(e,t){if(!IsString(e.$id)||t.some((t=>t.$id===e.$id)))return t;t.push(e);return t}function deref_Deref(e,t){return e[He]==="This"||e[He]==="Ref"?Resolve(e,t):e}class ValueHashError extends error_TypeBoxError{constructor(e){super(`Unable to hash value`);this.value=e}}var st;(function(e){e[e["Undefined"]=0]="Undefined";e[e["Null"]=1]="Null";e[e["Boolean"]=2]="Boolean";e[e["Number"]=3]="Number";e[e["String"]=4]="String";e[e["Object"]=5]="Object";e[e["Array"]=6]="Array";e[e["Date"]=7]="Date";e[e["Uint8Array"]=8]="Uint8Array";e[e["Symbol"]=9]="Symbol";e[e["BigInt"]=10]="BigInt"})(st||(st={}));let ot=BigInt("14695981039346656037");const[nt,At]=[BigInt("1099511628211"),BigInt("18446744073709551616")];const it=Array.from({length:256}).map(((e,t)=>BigInt(t)));const at=new Float64Array(1);const ct=new DataView(at.buffer);const lt=new Uint8Array(at.buffer);function*NumberToBytes(e){const t=e===0?1:Math.ceil(Math.floor(Math.log2(e)+1)/8);for(let r=0;r<t;r++){yield e>>8*(t-1-r)&255}}function hash_ArrayType(e){FNV1A64(st.Array);for(const t of e){hash_Visit(t)}}function BooleanType(e){FNV1A64(st.Boolean);FNV1A64(e?1:0)}function BigIntType(e){FNV1A64(st.BigInt);ct.setBigInt64(0,e);for(const e of lt){FNV1A64(e)}}function hash_DateType(e){FNV1A64(st.Date);hash_Visit(e.getTime())}function NullType(e){FNV1A64(st.Null)}function NumberType(e){FNV1A64(st.Number);ct.setFloat64(0,e);for(const e of lt){FNV1A64(e)}}function hash_ObjectType(e){FNV1A64(st.Object);for(const t of globalThis.Object.getOwnPropertyNames(e).sort()){hash_Visit(t);hash_Visit(e[t])}}function StringType(e){FNV1A64(st.String);for(let t=0;t<e.length;t++){for(const r of NumberToBytes(e.charCodeAt(t))){FNV1A64(r)}}}function SymbolType(e){FNV1A64(st.Symbol);hash_Visit(e.description)}function hash_Uint8ArrayType(e){FNV1A64(st.Uint8Array);for(let t=0;t<e.length;t++){FNV1A64(e[t])}}function UndefinedType(e){return FNV1A64(st.Undefined)}function hash_Visit(e){if(IsArray(e))return hash_ArrayType(e);if(IsBoolean(e))return BooleanType(e);if(IsBigInt(e))return BigIntType(e);if(IsDate(e))return hash_DateType(e);if(IsNull(e))return NullType(e);if(IsNumber(e))return NumberType(e);if(IsObject(e))return hash_ObjectType(e);if(IsString(e))return StringType(e);if(IsSymbol(e))return SymbolType(e);if(IsUint8Array(e))return hash_Uint8ArrayType(e);if(IsUndefined(e))return UndefinedType(e);throw new ValueHashError(e)}function FNV1A64(e){ot=ot^it[e];ot=ot*nt%At}function Hash(e){ot=BigInt("14695981039346656037");hash_Visit(e);return ot}function extends_undefined_Intersect(e){return e.allOf.every((e=>ExtendsUndefinedCheck(e)))}function extends_undefined_Union(e){return e.anyOf.some((e=>ExtendsUndefinedCheck(e)))}function extends_undefined_Not(e){return!ExtendsUndefinedCheck(e.not)}function ExtendsUndefinedCheck(e){return e[He]==="Intersect"?extends_undefined_Intersect(e):e[He]==="Union"?extends_undefined_Union(e):e[He]==="Not"?extends_undefined_Not(e):e[He]==="Undefined"?true:false}const ut=new Map;function Entries(){return new Map(ut)}function Clear(){return ut.clear()}function Delete(e){return ut.delete(e)}function Has(e){return ut.has(e)}function format_Set(e,t){ut.set(e,t)}function Get(e){return ut.get(e)}const gt=new Map;function type_Entries(){return new Map(gt)}function type_Clear(){return gt.clear()}function type_Delete(e){return gt.delete(e)}function type_Has(e){return gt.has(e)}function type_Set(e,t){gt.set(e,t)}function type_Get(e){return gt.get(e)}class ValueCheckUnknownTypeError extends error_TypeBoxError{constructor(e){super(`Unknown type`);this.schema=e}}function IsAnyOrUnknown(e){return e[He]==="Any"||e[He]==="Unknown"}function IsDefined(e){return e!==undefined}function check_FromAny(e,t,r){return true}function check_FromArray(e,t,r){if(!IsArray(r))return false;if(IsDefined(e.minItems)&&!(r.length>=e.minItems)){return false}if(IsDefined(e.maxItems)&&!(r.length<=e.maxItems)){return false}if(!r.every((r=>check_Visit(e.items,t,r)))){return false}if(e.uniqueItems===true&&!function(){const e=new Set;for(const t of r){const r=Hash(t);if(e.has(r)){return false}else{e.add(r)}}return true}()){return false}if(!(IsDefined(e.contains)||IsNumber(e.minContains)||IsNumber(e.maxContains))){return true}const s=IsDefined(e.contains)?e.contains:Never();const o=r.reduce(((e,r)=>check_Visit(s,t,r)?e+1:e),0);if(o===0){return false}if(IsNumber(e.minContains)&&o<e.minContains){return false}if(IsNumber(e.maxContains)&&o>e.maxContains){return false}return true}function check_FromAsyncIterator(e,t,r){return IsAsyncIterator(r)}function check_FromBigInt(e,t,r){if(!IsBigInt(r))return false;if(IsDefined(e.exclusiveMaximum)&&!(r<e.exclusiveMaximum)){return false}if(IsDefined(e.exclusiveMinimum)&&!(r>e.exclusiveMinimum)){return false}if(IsDefined(e.maximum)&&!(r<=e.maximum)){return false}if(IsDefined(e.minimum)&&!(r>=e.minimum)){return false}if(IsDefined(e.multipleOf)&&!(r%e.multipleOf===BigInt(0))){return false}return true}function check_FromBoolean(e,t,r){return IsBoolean(r)}function check_FromConstructor(e,t,r){return check_Visit(e.returns,t,r.prototype)}function check_FromDate(e,t,r){if(!IsDate(r))return false;if(IsDefined(e.exclusiveMaximumTimestamp)&&!(r.getTime()<e.exclusiveMaximumTimestamp)){return false}if(IsDefined(e.exclusiveMinimumTimestamp)&&!(r.getTime()>e.exclusiveMinimumTimestamp)){return false}if(IsDefined(e.maximumTimestamp)&&!(r.getTime()<=e.maximumTimestamp)){return false}if(IsDefined(e.minimumTimestamp)&&!(r.getTime()>=e.minimumTimestamp)){return false}if(IsDefined(e.multipleOfTimestamp)&&!(r.getTime()%e.multipleOfTimestamp===0)){return false}return true}function check_FromFunction(e,t,r){return IsFunction(r)}function FromImport(e,t,r){const s=globalThis.Object.values(e.$defs);const o=e.$defs[e.$ref];return check_Visit(o,[...t,...s],r)}function check_FromInteger(e,t,r){if(!IsInteger(r)){return false}if(IsDefined(e.exclusiveMaximum)&&!(r<e.exclusiveMaximum)){return false}if(IsDefined(e.exclusiveMinimum)&&!(r>e.exclusiveMinimum)){return false}if(IsDefined(e.maximum)&&!(r<=e.maximum)){return false}if(IsDefined(e.minimum)&&!(r>=e.minimum)){return false}if(IsDefined(e.multipleOf)&&!(r%e.multipleOf===0)){return false}return true}function check_FromIntersect(e,t,r){const s=e.allOf.every((e=>check_Visit(e,t,r)));if(e.unevaluatedProperties===false){const t=new RegExp(KeyOfPattern(e));const o=Object.getOwnPropertyNames(r).every((e=>t.test(e)));return s&&o}else if(IsSchema(e.unevaluatedProperties)){const o=new RegExp(KeyOfPattern(e));const n=Object.getOwnPropertyNames(r).every((s=>o.test(s)||check_Visit(e.unevaluatedProperties,t,r[s])));return s&&n}else{return s}}function check_FromIterator(e,t,r){return IsIterator(r)}function check_FromLiteral(e,t,r){return r===e.const}function check_FromNever(e,t,r){return false}function check_FromNot(e,t,r){return!check_Visit(e.not,t,r)}function check_FromNull(e,t,r){return IsNull(r)}function check_FromNumber(e,t,r){if(!Ge.IsNumberLike(r))return false;if(IsDefined(e.exclusiveMaximum)&&!(r<e.exclusiveMaximum)){return false}if(IsDefined(e.exclusiveMinimum)&&!(r>e.exclusiveMinimum)){return false}if(IsDefined(e.minimum)&&!(r>=e.minimum)){return false}if(IsDefined(e.maximum)&&!(r<=e.maximum)){return false}if(IsDefined(e.multipleOf)&&!(r%e.multipleOf===0)){return false}return true}function check_FromObject(e,t,r){if(!Ge.IsObjectLike(r))return false;if(IsDefined(e.minProperties)&&!(Object.getOwnPropertyNames(r).length>=e.minProperties)){return false}if(IsDefined(e.maxProperties)&&!(Object.getOwnPropertyNames(r).length<=e.maxProperties)){return false}const s=Object.getOwnPropertyNames(e.properties);for(const o of s){const s=e.properties[o];if(e.required&&e.required.includes(o)){if(!check_Visit(s,t,r[o])){return false}if((ExtendsUndefinedCheck(s)||IsAnyOrUnknown(s))&&!(o in r)){return false}}else{if(Ge.IsExactOptionalProperty(r,o)&&!check_Visit(s,t,r[o])){return false}}}if(e.additionalProperties===false){const t=Object.getOwnPropertyNames(r);if(e.required&&e.required.length===s.length&&t.length===s.length){return true}else{return t.every((e=>s.includes(e)))}}else if(typeof e.additionalProperties==="object"){const o=Object.getOwnPropertyNames(r);return o.every((o=>s.includes(o)||check_Visit(e.additionalProperties,t,r[o])))}else{return true}}function check_FromPromise(e,t,r){return IsPromise(r)}function check_FromRecord(e,t,r){if(!Ge.IsRecordLike(r)){return false}if(IsDefined(e.minProperties)&&!(Object.getOwnPropertyNames(r).length>=e.minProperties)){return false}if(IsDefined(e.maxProperties)&&!(Object.getOwnPropertyNames(r).length<=e.maxProperties)){return false}const[s,o]=Object.entries(e.patternProperties)[0];const n=new RegExp(s);const A=Object.entries(r).every((([e,r])=>n.test(e)?check_Visit(o,t,r):true));const i=typeof e.additionalProperties==="object"?Object.entries(r).every((([r,s])=>!n.test(r)?check_Visit(e.additionalProperties,t,s):true)):true;const a=e.additionalProperties===false?Object.getOwnPropertyNames(r).every((e=>n.test(e))):true;return A&&i&&a}function check_FromRef(e,t,r){return check_Visit(deref_Deref(e,t),t,r)}function check_FromRegExp(e,t,r){const s=new RegExp(e.source,e.flags);if(IsDefined(e.minLength)){if(!(r.length>=e.minLength))return false}if(IsDefined(e.maxLength)){if(!(r.length<=e.maxLength))return false}return s.test(r)}function check_FromString(e,t,r){if(!IsString(r)){return false}if(IsDefined(e.minLength)){if(!(r.length>=e.minLength))return false}if(IsDefined(e.maxLength)){if(!(r.length<=e.maxLength))return false}if(IsDefined(e.pattern)){const t=new RegExp(e.pattern);if(!t.test(r))return false}if(IsDefined(e.format)){if(!Has(e.format))return false;const t=Get(e.format);return t(r)}return true}function check_FromSymbol(e,t,r){return IsSymbol(r)}function check_FromTemplateLiteral(e,t,r){return IsString(r)&&new RegExp(e.pattern).test(r)}function FromThis(e,t,r){return check_Visit(deref_Deref(e,t),t,r)}function check_FromTuple(e,t,r){if(!IsArray(r)){return false}if(e.items===undefined&&!(r.length===0)){return false}if(!(r.length===e.maxItems)){return false}if(!e.items){return true}for(let s=0;s<e.items.length;s++){if(!check_Visit(e.items[s],t,r[s]))return false}return true}function check_FromUndefined(e,t,r){return IsUndefined(r)}function check_FromUnion(e,t,r){return e.anyOf.some((e=>check_Visit(e,t,r)))}function check_FromUint8Array(e,t,r){if(!IsUint8Array(r)){return false}if(IsDefined(e.maxByteLength)&&!(r.length<=e.maxByteLength)){return false}if(IsDefined(e.minByteLength)&&!(r.length>=e.minByteLength)){return false}return true}function check_FromUnknown(e,t,r){return true}function check_FromVoid(e,t,r){return Ge.IsVoidLike(r)}function FromKind(e,t,r){if(!type_Has(e[He]))return false;const s=type_Get(e[He]);return s(e,r)}function check_Visit(e,t,r){const s=IsDefined(e.$id)?Pushref(e,t):t;const o=e;switch(o[He]){case"Any":return check_FromAny(o,s,r);case"Array":return check_FromArray(o,s,r);case"AsyncIterator":return check_FromAsyncIterator(o,s,r);case"BigInt":return check_FromBigInt(o,s,r);case"Boolean":return check_FromBoolean(o,s,r);case"Constructor":return check_FromConstructor(o,s,r);case"Date":return check_FromDate(o,s,r);case"Function":return check_FromFunction(o,s,r);case"Import":return FromImport(o,s,r);case"Integer":return check_FromInteger(o,s,r);case"Intersect":return check_FromIntersect(o,s,r);case"Iterator":return check_FromIterator(o,s,r);case"Literal":return check_FromLiteral(o,s,r);case"Never":return check_FromNever(o,s,r);case"Not":return check_FromNot(o,s,r);case"Null":return check_FromNull(o,s,r);case"Number":return check_FromNumber(o,s,r);case"Object":return check_FromObject(o,s,r);case"Promise":return check_FromPromise(o,s,r);case"Record":return check_FromRecord(o,s,r);case"Ref":return check_FromRef(o,s,r);case"RegExp":return check_FromRegExp(o,s,r);case"String":return check_FromString(o,s,r);case"Symbol":return check_FromSymbol(o,s,r);case"TemplateLiteral":return check_FromTemplateLiteral(o,s,r);case"This":return FromThis(o,s,r);case"Tuple":return check_FromTuple(o,s,r);case"Undefined":return check_FromUndefined(o,s,r);case"Union":return check_FromUnion(o,s,r);case"Uint8Array":return check_FromUint8Array(o,s,r);case"Unknown":return check_FromUnknown(o,s,r);case"Void":return check_FromVoid(o,s,r);default:if(!type_Has(o[He]))throw new ValueCheckUnknownTypeError(o);return FromKind(o,s,r)}}function Check(...e){return e.length===3?check_Visit(e[0],e[1],e[2]):check_Visit(e[0],[],e[1])}class TransformDecodeCheckError extends error_TypeBoxError{constructor(e,t,r){super(`Unable to decode value as it does not match the expected schema`);this.schema=e;this.value=t;this.error=r}}class TransformDecodeError extends error_TypeBoxError{constructor(e,t,r,s){super(s instanceof Error?s.message:"Unknown error");this.schema=e;this.path=t;this.value=r;this.error=s}}function Default(e,t,r){try{return IsTransform(e)?e[Le].Decode(r):r}catch(s){throw new TransformDecodeError(e,t,r,s)}}function decode_FromArray(e,t,r,s){return IsArray(s)?Default(e,r,s.map(((s,o)=>decode_Visit(e.items,t,`${r}/${o}`,s)))):Default(e,r,s)}function decode_FromIntersect(e,t,r,s){if(!IsObject(s)||IsValueType(s))return Default(e,r,s);const o=KeyOfPropertyEntries(e);const n=o.map((e=>e[0]));const A={...s};for(const[e,s]of o)if(e in A){A[e]=decode_Visit(s,t,`${r}/${e}`,A[e])}if(!IsTransform(e.unevaluatedProperties)){return Default(e,r,A)}const i=Object.getOwnPropertyNames(A);const a=e.unevaluatedProperties;const c={...A};for(const e of i)if(!n.includes(e)){c[e]=Default(a,`${r}/${e}`,c[e])}return Default(e,r,c)}function decode_FromImport(e,t,r,s){const o=globalThis.Object.values(e.$defs);const n=e.$defs[e.$ref];const A=e[Le];const i={[Le]:A,...n};return decode_Visit(i,[...t,...o],r,s)}function decode_FromNot(e,t,r,s){return Default(e,r,decode_Visit(e.not,t,r,s))}function decode_FromObject(e,t,r,s){if(!IsObject(s))return Default(e,r,s);const o=KeyOfPropertyKeys(e);const n={...s};for(const s of o){if(!HasPropertyKey(n,s))continue;if(IsUndefined(n[s])&&(!kind_IsUndefined(e.properties[s])||Ge.IsExactOptionalProperty(n,s)))continue;n[s]=decode_Visit(e.properties[s],t,`${r}/${s}`,n[s])}if(!IsSchema(e.additionalProperties)){return Default(e,r,n)}const A=Object.getOwnPropertyNames(n);const i=e.additionalProperties;const a={...n};for(const e of A)if(!o.includes(e)){a[e]=Default(i,`${r}/${e}`,a[e])}return Default(e,r,a)}function decode_FromRecord(e,t,r,s){if(!IsObject(s))return Default(e,r,s);const o=Object.getOwnPropertyNames(e.patternProperties)[0];const n=new RegExp(o);const A={...s};for(const i of Object.getOwnPropertyNames(s))if(n.test(i)){A[i]=decode_Visit(e.patternProperties[o],t,`${r}/${i}`,A[i])}if(!IsSchema(e.additionalProperties)){return Default(e,r,A)}const i=Object.getOwnPropertyNames(A);const a=e.additionalProperties;const c={...A};for(const e of i)if(!n.test(e)){c[e]=Default(a,`${r}/${e}`,c[e])}return Default(e,r,c)}function decode_FromRef(e,t,r,s){const o=deref_Deref(e,t);return Default(e,r,decode_Visit(o,t,r,s))}function decode_FromThis(e,t,r,s){const o=deref_Deref(e,t);return Default(e,r,decode_Visit(o,t,r,s))}function decode_FromTuple(e,t,r,s){return IsArray(s)&&IsArray(e.items)?Default(e,r,e.items.map(((e,o)=>decode_Visit(e,t,`${r}/${o}`,s[o])))):Default(e,r,s)}function decode_FromUnion(e,t,r,s){for(const o of e.anyOf){if(!Check(o,t,s))continue;const n=decode_Visit(o,t,r,s);return Default(e,r,n)}return Default(e,r,s)}function decode_Visit(e,t,r,s){const o=Pushref(e,t);const n=e;switch(e[He]){case"Array":return decode_FromArray(n,o,r,s);case"Import":return decode_FromImport(n,o,r,s);case"Intersect":return decode_FromIntersect(n,o,r,s);case"Not":return decode_FromNot(n,o,r,s);case"Object":return decode_FromObject(n,o,r,s);case"Record":return decode_FromRecord(n,o,r,s);case"Ref":return decode_FromRef(n,o,r,s);case"Symbol":return Default(n,r,s);case"This":return decode_FromThis(n,o,r,s);case"Tuple":return decode_FromTuple(n,o,r,s);case"Union":return decode_FromUnion(n,o,r,s);default:return Default(n,r,s)}}function TransformDecode(e,t,r){return decode_Visit(e,t,"",r)}function has_FromArray(e,t){return IsTransform(e)||has_Visit(e.items,t)}function has_FromAsyncIterator(e,t){return IsTransform(e)||has_Visit(e.items,t)}function has_FromConstructor(e,t){return IsTransform(e)||has_Visit(e.returns,t)||e.parameters.some((e=>has_Visit(e,t)))}function has_FromFunction(e,t){return IsTransform(e)||has_Visit(e.returns,t)||e.parameters.some((e=>has_Visit(e,t)))}function has_FromIntersect(e,t){return IsTransform(e)||IsTransform(e.unevaluatedProperties)||e.allOf.some((e=>has_Visit(e,t)))}function has_FromIterator(e,t){return IsTransform(e)||has_Visit(e.items,t)}function has_FromNot(e,t){return IsTransform(e)||has_Visit(e.not,t)}function has_FromObject(e,t){return IsTransform(e)||Object.values(e.properties).some((e=>has_Visit(e,t)))||IsSchema(e.additionalProperties)&&has_Visit(e.additionalProperties,t)}function has_FromPromise(e,t){return IsTransform(e)||has_Visit(e.item,t)}function has_FromRecord(e,t){const r=Object.getOwnPropertyNames(e.patternProperties)[0];const s=e.patternProperties[r];return IsTransform(e)||has_Visit(s,t)||IsSchema(e.additionalProperties)&&IsTransform(e.additionalProperties)}function has_FromRef(e,t){if(IsTransform(e))return true;return has_Visit(deref_Deref(e,t),t)}function has_FromThis(e,t){if(IsTransform(e))return true;return has_Visit(deref_Deref(e,t),t)}function has_FromTuple(e,t){return IsTransform(e)||!IsUndefined(e.items)&&e.items.some((e=>has_Visit(e,t)))}function has_FromUnion(e,t){return IsTransform(e)||e.anyOf.some((e=>has_Visit(e,t)))}function has_Visit(e,t){const r=Pushref(e,t);const s=e;if(e.$id&&pt.has(e.$id))return false;if(e.$id)pt.add(e.$id);switch(e[He]){case"Array":return has_FromArray(s,r);case"AsyncIterator":return has_FromAsyncIterator(s,r);case"Constructor":return has_FromConstructor(s,r);case"Function":return has_FromFunction(s,r);case"Intersect":return has_FromIntersect(s,r);case"Iterator":return has_FromIterator(s,r);case"Not":return has_FromNot(s,r);case"Object":return has_FromObject(s,r);case"Promise":return has_FromPromise(s,r);case"Record":return has_FromRecord(s,r);case"Ref":return has_FromRef(s,r);case"This":return has_FromThis(s,r);case"Tuple":return has_FromTuple(s,r);case"Union":return has_FromUnion(s,r);default:return IsTransform(e)}}const pt=new Set;function HasTransform(e,t){pt.clear();return has_Visit(e,t)}function DefaultErrorFunction(e){switch(e.errorType){case Et.ArrayContains:return"Expected array to contain at least one matching value";case Et.ArrayMaxContains:return`Expected array to contain no more than ${e.schema.maxContains} matching values`;case Et.ArrayMinContains:return`Expected array to contain at least ${e.schema.minContains} matching values`;case Et.ArrayMaxItems:return`Expected array length to be less or equal to ${e.schema.maxItems}`;case Et.ArrayMinItems:return`Expected array length to be greater or equal to ${e.schema.minItems}`;case Et.ArrayUniqueItems:return"Expected array elements to be unique";case Et.Array:return"Expected array";case Et.AsyncIterator:return"Expected AsyncIterator";case Et.BigIntExclusiveMaximum:return`Expected bigint to be less than ${e.schema.exclusiveMaximum}`;case Et.BigIntExclusiveMinimum:return`Expected bigint to be greater than ${e.schema.exclusiveMinimum}`;case Et.BigIntMaximum:return`Expected bigint to be less or equal to ${e.schema.maximum}`;case Et.BigIntMinimum:return`Expected bigint to be greater or equal to ${e.schema.minimum}`;case Et.BigIntMultipleOf:return`Expected bigint to be a multiple of ${e.schema.multipleOf}`;case Et.BigInt:return"Expected bigint";case Et.Boolean:return"Expected boolean";case Et.DateExclusiveMinimumTimestamp:return`Expected Date timestamp to be greater than ${e.schema.exclusiveMinimumTimestamp}`;case Et.DateExclusiveMaximumTimestamp:return`Expected Date timestamp to be less than ${e.schema.exclusiveMaximumTimestamp}`;case Et.DateMinimumTimestamp:return`Expected Date timestamp to be greater or equal to ${e.schema.minimumTimestamp}`;case Et.DateMaximumTimestamp:return`Expected Date timestamp to be less or equal to ${e.schema.maximumTimestamp}`;case Et.DateMultipleOfTimestamp:return`Expected Date timestamp to be a multiple of ${e.schema.multipleOfTimestamp}`;case Et.Date:return"Expected Date";case Et.Function:return"Expected function";case Et.IntegerExclusiveMaximum:return`Expected integer to be less than ${e.schema.exclusiveMaximum}`;case Et.IntegerExclusiveMinimum:return`Expected integer to be greater than ${e.schema.exclusiveMinimum}`;case Et.IntegerMaximum:return`Expected integer to be less or equal to ${e.schema.maximum}`;case Et.IntegerMinimum:return`Expected integer to be greater or equal to ${e.schema.minimum}`;case Et.IntegerMultipleOf:return`Expected integer to be a multiple of ${e.schema.multipleOf}`;case Et.Integer:return"Expected integer";case Et.IntersectUnevaluatedProperties:return"Unexpected property";case Et.Intersect:return"Expected all values to match";case Et.Iterator:return"Expected Iterator";case Et.Literal:return`Expected ${typeof e.schema.const==="string"?`'${e.schema.const}'`:e.schema.const}`;case Et.Never:return"Never";case Et.Not:return"Value should not match";case Et.Null:return"Expected null";case Et.NumberExclusiveMaximum:return`Expected number to be less than ${e.schema.exclusiveMaximum}`;case Et.NumberExclusiveMinimum:return`Expected number to be greater than ${e.schema.exclusiveMinimum}`;case Et.NumberMaximum:return`Expected number to be less or equal to ${e.schema.maximum}`;case Et.NumberMinimum:return`Expected number to be greater or equal to ${e.schema.minimum}`;case Et.NumberMultipleOf:return`Expected number to be a multiple of ${e.schema.multipleOf}`;case Et.Number:return"Expected number";case Et.Object:return"Expected object";case Et.ObjectAdditionalProperties:return"Unexpected property";case Et.ObjectMaxProperties:return`Expected object to have no more than ${e.schema.maxProperties} properties`;case Et.ObjectMinProperties:return`Expected object to have at least ${e.schema.minProperties} properties`;case Et.ObjectRequiredProperty:return"Expected required property";case Et.Promise:return"Expected Promise";case Et.RegExp:return"Expected string to match regular expression";case Et.StringFormatUnknown:return`Unknown format '${e.schema.format}'`;case Et.StringFormat:return`Expected string to match '${e.schema.format}' format`;case Et.StringMaxLength:return`Expected string length less or equal to ${e.schema.maxLength}`;case Et.StringMinLength:return`Expected string length greater or equal to ${e.schema.minLength}`;case Et.StringPattern:return`Expected string to match '${e.schema.pattern}'`;case Et.String:return"Expected string";case Et.Symbol:return"Expected symbol";case Et.TupleLength:return`Expected tuple to have ${e.schema.maxItems||0} elements`;case Et.Tuple:return"Expected tuple";case Et.Uint8ArrayMaxByteLength:return`Expected byte length less or equal to ${e.schema.maxByteLength}`;case Et.Uint8ArrayMinByteLength:return`Expected byte length greater or equal to ${e.schema.minByteLength}`;case Et.Uint8Array:return"Expected Uint8Array";case Et.Undefined:return"Expected undefined";case Et.Union:return"Expected union value";case Et.Void:return"Expected void";case Et.Kind:return`Expected kind '${e.schema[He]}'`;default:return"Unknown error type"}}let dt=DefaultErrorFunction;function SetErrorFunction(e){dt=e}function GetErrorFunction(){return dt}var Et;(function(e){e[e["ArrayContains"]=0]="ArrayContains";e[e["ArrayMaxContains"]=1]="ArrayMaxContains";e[e["ArrayMaxItems"]=2]="ArrayMaxItems";e[e["ArrayMinContains"]=3]="ArrayMinContains";e[e["ArrayMinItems"]=4]="ArrayMinItems";e[e["ArrayUniqueItems"]=5]="ArrayUniqueItems";e[e["Array"]=6]="Array";e[e["AsyncIterator"]=7]="AsyncIterator";e[e["BigIntExclusiveMaximum"]=8]="BigIntExclusiveMaximum";e[e["BigIntExclusiveMinimum"]=9]="BigIntExclusiveMinimum";e[e["BigIntMaximum"]=10]="BigIntMaximum";e[e["BigIntMinimum"]=11]="BigIntMinimum";e[e["BigIntMultipleOf"]=12]="BigIntMultipleOf";e[e["BigInt"]=13]="BigInt";e[e["Boolean"]=14]="Boolean";e[e["DateExclusiveMaximumTimestamp"]=15]="DateExclusiveMaximumTimestamp";e[e["DateExclusiveMinimumTimestamp"]=16]="DateExclusiveMinimumTimestamp";e[e["DateMaximumTimestamp"]=17]="DateMaximumTimestamp";e[e["DateMinimumTimestamp"]=18]="DateMinimumTimestamp";e[e["DateMultipleOfTimestamp"]=19]="DateMultipleOfTimestamp";e[e["Date"]=20]="Date";e[e["Function"]=21]="Function";e[e["IntegerExclusiveMaximum"]=22]="IntegerExclusiveMaximum";e[e["IntegerExclusiveMinimum"]=23]="IntegerExclusiveMinimum";e[e["IntegerMaximum"]=24]="IntegerMaximum";e[e["IntegerMinimum"]=25]="IntegerMinimum";e[e["IntegerMultipleOf"]=26]="IntegerMultipleOf";e[e["Integer"]=27]="Integer";e[e["IntersectUnevaluatedProperties"]=28]="IntersectUnevaluatedProperties";e[e["Intersect"]=29]="Intersect";e[e["Iterator"]=30]="Iterator";e[e["Kind"]=31]="Kind";e[e["Literal"]=32]="Literal";e[e["Never"]=33]="Never";e[e["Not"]=34]="Not";e[e["Null"]=35]="Null";e[e["NumberExclusiveMaximum"]=36]="NumberExclusiveMaximum";e[e["NumberExclusiveMinimum"]=37]="NumberExclusiveMinimum";e[e["NumberMaximum"]=38]="NumberMaximum";e[e["NumberMinimum"]=39]="NumberMinimum";e[e["NumberMultipleOf"]=40]="NumberMultipleOf";e[e["Number"]=41]="Number";e[e["ObjectAdditionalProperties"]=42]="ObjectAdditionalProperties";e[e["ObjectMaxProperties"]=43]="ObjectMaxProperties";e[e["ObjectMinProperties"]=44]="ObjectMinProperties";e[e["ObjectRequiredProperty"]=45]="ObjectRequiredProperty";e[e["Object"]=46]="Object";e[e["Promise"]=47]="Promise";e[e["RegExp"]=48]="RegExp";e[e["StringFormatUnknown"]=49]="StringFormatUnknown";e[e["StringFormat"]=50]="StringFormat";e[e["StringMaxLength"]=51]="StringMaxLength";e[e["StringMinLength"]=52]="StringMinLength";e[e["StringPattern"]=53]="StringPattern";e[e["String"]=54]="String";e[e["Symbol"]=55]="Symbol";e[e["TupleLength"]=56]="TupleLength";e[e["Tuple"]=57]="Tuple";e[e["Uint8ArrayMaxByteLength"]=58]="Uint8ArrayMaxByteLength";e[e["Uint8ArrayMinByteLength"]=59]="Uint8ArrayMinByteLength";e[e["Uint8Array"]=60]="Uint8Array";e[e["Undefined"]=61]="Undefined";e[e["Union"]=62]="Union";e[e["Void"]=63]="Void"})(Et||(Et={}));class ValueErrorsUnknownTypeError extends error_TypeBoxError{constructor(e){super("Unknown type");this.schema=e}}function EscapeKey(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function errors_IsDefined(e){return e!==undefined}class ValueErrorIterator{constructor(e){this.iterator=e}[Symbol.iterator](){return this.iterator}First(){const e=this.iterator.next();return e.done?undefined:e.value}}function Create(e,t,r,s,o=[]){return{type:e,schema:t,path:r,value:s,message:GetErrorFunction()({errorType:e,path:r,schema:t,value:s,errors:o}),errors:o}}function*errors_FromAny(e,t,r,s){}function*errors_FromArray(e,t,r,s){if(!IsArray(s)){return yield Create(Et.Array,e,r,s)}if(errors_IsDefined(e.minItems)&&!(s.length>=e.minItems)){yield Create(Et.ArrayMinItems,e,r,s)}if(errors_IsDefined(e.maxItems)&&!(s.length<=e.maxItems)){yield Create(Et.ArrayMaxItems,e,r,s)}for(let o=0;o<s.length;o++){yield*errors_Visit(e.items,t,`${r}/${o}`,s[o])}if(e.uniqueItems===true&&!function(){const e=new Set;for(const t of s){const r=Hash(t);if(e.has(r)){return false}else{e.add(r)}}return true}()){yield Create(Et.ArrayUniqueItems,e,r,s)}if(!(errors_IsDefined(e.contains)||errors_IsDefined(e.minContains)||errors_IsDefined(e.maxContains))){return}const o=errors_IsDefined(e.contains)?e.contains:Never();const n=s.reduce(((e,s,n)=>errors_Visit(o,t,`${r}${n}`,s).next().done===true?e+1:e),0);if(n===0){yield Create(Et.ArrayContains,e,r,s)}if(IsNumber(e.minContains)&&n<e.minContains){yield Create(Et.ArrayMinContains,e,r,s)}if(IsNumber(e.maxContains)&&n>e.maxContains){yield Create(Et.ArrayMaxContains,e,r,s)}}function*errors_FromAsyncIterator(e,t,r,s){if(!IsAsyncIterator(s))yield Create(Et.AsyncIterator,e,r,s)}function*errors_FromBigInt(e,t,r,s){if(!IsBigInt(s))return yield Create(Et.BigInt,e,r,s);if(errors_IsDefined(e.exclusiveMaximum)&&!(s<e.exclusiveMaximum)){yield Create(Et.BigIntExclusiveMaximum,e,r,s)}if(errors_IsDefined(e.exclusiveMinimum)&&!(s>e.exclusiveMinimum)){yield Create(Et.BigIntExclusiveMinimum,e,r,s)}if(errors_IsDefined(e.maximum)&&!(s<=e.maximum)){yield Create(Et.BigIntMaximum,e,r,s)}if(errors_IsDefined(e.minimum)&&!(s>=e.minimum)){yield Create(Et.BigIntMinimum,e,r,s)}if(errors_IsDefined(e.multipleOf)&&!(s%e.multipleOf===BigInt(0))){yield Create(Et.BigIntMultipleOf,e,r,s)}}function*errors_FromBoolean(e,t,r,s){if(!IsBoolean(s))yield Create(Et.Boolean,e,r,s)}function*errors_FromConstructor(e,t,r,s){yield*errors_Visit(e.returns,t,r,s.prototype)}function*errors_FromDate(e,t,r,s){if(!IsDate(s))return yield Create(Et.Date,e,r,s);if(errors_IsDefined(e.exclusiveMaximumTimestamp)&&!(s.getTime()<e.exclusiveMaximumTimestamp)){yield Create(Et.DateExclusiveMaximumTimestamp,e,r,s)}if(errors_IsDefined(e.exclusiveMinimumTimestamp)&&!(s.getTime()>e.exclusiveMinimumTimestamp)){yield Create(Et.DateExclusiveMinimumTimestamp,e,r,s)}if(errors_IsDefined(e.maximumTimestamp)&&!(s.getTime()<=e.maximumTimestamp)){yield Create(Et.DateMaximumTimestamp,e,r,s)}if(errors_IsDefined(e.minimumTimestamp)&&!(s.getTime()>=e.minimumTimestamp)){yield Create(Et.DateMinimumTimestamp,e,r,s)}if(errors_IsDefined(e.multipleOfTimestamp)&&!(s.getTime()%e.multipleOfTimestamp===0)){yield Create(Et.DateMultipleOfTimestamp,e,r,s)}}function*errors_FromFunction(e,t,r,s){if(!IsFunction(s))yield Create(Et.Function,e,r,s)}function*errors_FromImport(e,t,r,s){const o=globalThis.Object.values(e.$defs);const n=e.$defs[e.$ref];yield*errors_Visit(n,[...t,...o],r,s)}function*errors_FromInteger(e,t,r,s){if(!IsInteger(s))return yield Create(Et.Integer,e,r,s);if(errors_IsDefined(e.exclusiveMaximum)&&!(s<e.exclusiveMaximum)){yield Create(Et.IntegerExclusiveMaximum,e,r,s)}if(errors_IsDefined(e.exclusiveMinimum)&&!(s>e.exclusiveMinimum)){yield Create(Et.IntegerExclusiveMinimum,e,r,s)}if(errors_IsDefined(e.maximum)&&!(s<=e.maximum)){yield Create(Et.IntegerMaximum,e,r,s)}if(errors_IsDefined(e.minimum)&&!(s>=e.minimum)){yield Create(Et.IntegerMinimum,e,r,s)}if(errors_IsDefined(e.multipleOf)&&!(s%e.multipleOf===0)){yield Create(Et.IntegerMultipleOf,e,r,s)}}function*errors_FromIntersect(e,t,r,s){let o=false;for(const n of e.allOf){for(const e of errors_Visit(n,t,r,s)){o=true;yield e}}if(o){return yield Create(Et.Intersect,e,r,s)}if(e.unevaluatedProperties===false){const t=new RegExp(KeyOfPattern(e));for(const o of Object.getOwnPropertyNames(s)){if(!t.test(o)){yield Create(Et.IntersectUnevaluatedProperties,e,`${r}/${o}`,s)}}}if(typeof e.unevaluatedProperties==="object"){const o=new RegExp(KeyOfPattern(e));for(const n of Object.getOwnPropertyNames(s)){if(!o.test(n)){const o=errors_Visit(e.unevaluatedProperties,t,`${r}/${n}`,s[n]).next();if(!o.done)yield o.value}}}}function*errors_FromIterator(e,t,r,s){if(!IsIterator(s))yield Create(Et.Iterator,e,r,s)}function*errors_FromLiteral(e,t,r,s){if(!(s===e.const))yield Create(Et.Literal,e,r,s)}function*errors_FromNever(e,t,r,s){yield Create(Et.Never,e,r,s)}function*errors_FromNot(e,t,r,s){if(errors_Visit(e.not,t,r,s).next().done===true)yield Create(Et.Not,e,r,s)}function*errors_FromNull(e,t,r,s){if(!IsNull(s))yield Create(Et.Null,e,r,s)}function*errors_FromNumber(e,t,r,s){if(!Ge.IsNumberLike(s))return yield Create(Et.Number,e,r,s);if(errors_IsDefined(e.exclusiveMaximum)&&!(s<e.exclusiveMaximum)){yield Create(Et.NumberExclusiveMaximum,e,r,s)}if(errors_IsDefined(e.exclusiveMinimum)&&!(s>e.exclusiveMinimum)){yield Create(Et.NumberExclusiveMinimum,e,r,s)}if(errors_IsDefined(e.maximum)&&!(s<=e.maximum)){yield Create(Et.NumberMaximum,e,r,s)}if(errors_IsDefined(e.minimum)&&!(s>=e.minimum)){yield Create(Et.NumberMinimum,e,r,s)}if(errors_IsDefined(e.multipleOf)&&!(s%e.multipleOf===0)){yield Create(Et.NumberMultipleOf,e,r,s)}}function*errors_FromObject(e,t,r,s){if(!Ge.IsObjectLike(s))return yield Create(Et.Object,e,r,s);if(errors_IsDefined(e.minProperties)&&!(Object.getOwnPropertyNames(s).length>=e.minProperties)){yield Create(Et.ObjectMinProperties,e,r,s)}if(errors_IsDefined(e.maxProperties)&&!(Object.getOwnPropertyNames(s).length<=e.maxProperties)){yield Create(Et.ObjectMaxProperties,e,r,s)}const o=Array.isArray(e.required)?e.required:[];const n=Object.getOwnPropertyNames(e.properties);const A=Object.getOwnPropertyNames(s);for(const t of o){if(A.includes(t))continue;yield Create(Et.ObjectRequiredProperty,e.properties[t],`${r}/${EscapeKey(t)}`,undefined)}if(e.additionalProperties===false){for(const t of A){if(!n.includes(t)){yield Create(Et.ObjectAdditionalProperties,e,`${r}/${EscapeKey(t)}`,s[t])}}}if(typeof e.additionalProperties==="object"){for(const o of A){if(n.includes(o))continue;yield*errors_Visit(e.additionalProperties,t,`${r}/${EscapeKey(o)}`,s[o])}}for(const o of n){const n=e.properties[o];if(e.required&&e.required.includes(o)){yield*errors_Visit(n,t,`${r}/${EscapeKey(o)}`,s[o]);if(ExtendsUndefinedCheck(e)&&!(o in s)){yield Create(Et.ObjectRequiredProperty,n,`${r}/${EscapeKey(o)}`,undefined)}}else{if(Ge.IsExactOptionalProperty(s,o)){yield*errors_Visit(n,t,`${r}/${EscapeKey(o)}`,s[o])}}}}function*errors_FromPromise(e,t,r,s){if(!IsPromise(s))yield Create(Et.Promise,e,r,s)}function*errors_FromRecord(e,t,r,s){if(!Ge.IsRecordLike(s))return yield Create(Et.Object,e,r,s);if(errors_IsDefined(e.minProperties)&&!(Object.getOwnPropertyNames(s).length>=e.minProperties)){yield Create(Et.ObjectMinProperties,e,r,s)}if(errors_IsDefined(e.maxProperties)&&!(Object.getOwnPropertyNames(s).length<=e.maxProperties)){yield Create(Et.ObjectMaxProperties,e,r,s)}const[o,n]=Object.entries(e.patternProperties)[0];const A=new RegExp(o);for(const[e,o]of Object.entries(s)){if(A.test(e))yield*errors_Visit(n,t,`${r}/${EscapeKey(e)}`,o)}if(typeof e.additionalProperties==="object"){for(const[o,n]of Object.entries(s)){if(!A.test(o))yield*errors_Visit(e.additionalProperties,t,`${r}/${EscapeKey(o)}`,n)}}if(e.additionalProperties===false){for(const[t,o]of Object.entries(s)){if(A.test(t))continue;return yield Create(Et.ObjectAdditionalProperties,e,`${r}/${EscapeKey(t)}`,o)}}}function*errors_FromRef(e,t,r,s){yield*errors_Visit(deref_Deref(e,t),t,r,s)}function*errors_FromRegExp(e,t,r,s){if(!IsString(s))return yield Create(Et.String,e,r,s);if(errors_IsDefined(e.minLength)&&!(s.length>=e.minLength)){yield Create(Et.StringMinLength,e,r,s)}if(errors_IsDefined(e.maxLength)&&!(s.length<=e.maxLength)){yield Create(Et.StringMaxLength,e,r,s)}const o=new RegExp(e.source,e.flags);if(!o.test(s)){return yield Create(Et.RegExp,e,r,s)}}function*errors_FromString(e,t,r,s){if(!IsString(s))return yield Create(Et.String,e,r,s);if(errors_IsDefined(e.minLength)&&!(s.length>=e.minLength)){yield Create(Et.StringMinLength,e,r,s)}if(errors_IsDefined(e.maxLength)&&!(s.length<=e.maxLength)){yield Create(Et.StringMaxLength,e,r,s)}if(IsString(e.pattern)){const t=new RegExp(e.pattern);if(!t.test(s)){yield Create(Et.StringPattern,e,r,s)}}if(IsString(e.format)){if(!Has(e.format)){yield Create(Et.StringFormatUnknown,e,r,s)}else{const t=Get(e.format);if(!t(s)){yield Create(Et.StringFormat,e,r,s)}}}}function*errors_FromSymbol(e,t,r,s){if(!IsSymbol(s))yield Create(Et.Symbol,e,r,s)}function*errors_FromTemplateLiteral(e,t,r,s){if(!IsString(s))return yield Create(Et.String,e,r,s);const o=new RegExp(e.pattern);if(!o.test(s)){yield Create(Et.StringPattern,e,r,s)}}function*errors_FromThis(e,t,r,s){yield*errors_Visit(deref_Deref(e,t),t,r,s)}function*errors_FromTuple(e,t,r,s){if(!IsArray(s))return yield Create(Et.Tuple,e,r,s);if(e.items===undefined&&!(s.length===0)){return yield Create(Et.TupleLength,e,r,s)}if(!(s.length===e.maxItems)){return yield Create(Et.TupleLength,e,r,s)}if(!e.items){return}for(let o=0;o<e.items.length;o++){yield*errors_Visit(e.items[o],t,`${r}/${o}`,s[o])}}function*errors_FromUndefined(e,t,r,s){if(!IsUndefined(s))yield Create(Et.Undefined,e,r,s)}function*errors_FromUnion(e,t,r,s){if(Check(e,t,s))return;const o=e.anyOf.map((e=>new ValueErrorIterator(errors_Visit(e,t,r,s))));yield Create(Et.Union,e,r,s,o)}function*errors_FromUint8Array(e,t,r,s){if(!IsUint8Array(s))return yield Create(Et.Uint8Array,e,r,s);if(errors_IsDefined(e.maxByteLength)&&!(s.length<=e.maxByteLength)){yield Create(Et.Uint8ArrayMaxByteLength,e,r,s)}if(errors_IsDefined(e.minByteLength)&&!(s.length>=e.minByteLength)){yield Create(Et.Uint8ArrayMinByteLength,e,r,s)}}function*errors_FromUnknown(e,t,r,s){}function*errors_FromVoid(e,t,r,s){if(!Ge.IsVoidLike(s))yield Create(Et.Void,e,r,s)}function*errors_FromKind(e,t,r,s){const o=type_Get(e[He]);if(!o(e,s))yield Create(Et.Kind,e,r,s)}function*errors_Visit(e,t,r,s){const o=errors_IsDefined(e.$id)?[...t,e]:t;const n=e;switch(n[He]){case"Any":return yield*errors_FromAny(n,o,r,s);case"Array":return yield*errors_FromArray(n,o,r,s);case"AsyncIterator":return yield*errors_FromAsyncIterator(n,o,r,s);case"BigInt":return yield*errors_FromBigInt(n,o,r,s);case"Boolean":return yield*errors_FromBoolean(n,o,r,s);case"Constructor":return yield*errors_FromConstructor(n,o,r,s);case"Date":return yield*errors_FromDate(n,o,r,s);case"Function":return yield*errors_FromFunction(n,o,r,s);case"Import":return yield*errors_FromImport(n,o,r,s);case"Integer":return yield*errors_FromInteger(n,o,r,s);case"Intersect":return yield*errors_FromIntersect(n,o,r,s);case"Iterator":return yield*errors_FromIterator(n,o,r,s);case"Literal":return yield*errors_FromLiteral(n,o,r,s);case"Never":return yield*errors_FromNever(n,o,r,s);case"Not":return yield*errors_FromNot(n,o,r,s);case"Null":return yield*errors_FromNull(n,o,r,s);case"Number":return yield*errors_FromNumber(n,o,r,s);case"Object":return yield*errors_FromObject(n,o,r,s);case"Promise":return yield*errors_FromPromise(n,o,r,s);case"Record":return yield*errors_FromRecord(n,o,r,s);case"Ref":return yield*errors_FromRef(n,o,r,s);case"RegExp":return yield*errors_FromRegExp(n,o,r,s);case"String":return yield*errors_FromString(n,o,r,s);case"Symbol":return yield*errors_FromSymbol(n,o,r,s);case"TemplateLiteral":return yield*errors_FromTemplateLiteral(n,o,r,s);case"This":return yield*errors_FromThis(n,o,r,s);case"Tuple":return yield*errors_FromTuple(n,o,r,s);case"Undefined":return yield*errors_FromUndefined(n,o,r,s);case"Union":return yield*errors_FromUnion(n,o,r,s);case"Uint8Array":return yield*errors_FromUint8Array(n,o,r,s);case"Unknown":return yield*errors_FromUnknown(n,o,r,s);case"Void":return yield*errors_FromVoid(n,o,r,s);default:if(!type_Has(n[He]))throw new ValueErrorsUnknownTypeError(e);return yield*errors_FromKind(n,o,r,s)}}function Errors(...e){const t=e.length===3?errors_Visit(e[0],e[1],"",e[2]):errors_Visit(e[0],[],"",e[1]);return new ValueErrorIterator(t)}function Decode(...e){const[t,r,s]=e.length===3?[e[0],e[1],e[2]]:[e[0],[],e[1]];if(!Check(t,r,s))throw new TransformDecodeCheckError(t,s,Errors(t,r,s).First());return HasTransform(t,r)?TransformDecode(t,r,s):s}function clone_FromObject(e){const t={};for(const r of Object.getOwnPropertyNames(e)){t[r]=clone_Clone(e[r])}for(const r of Object.getOwnPropertySymbols(e)){t[r]=clone_Clone(e[r])}return t}function clone_FromArray(e){return e.map((e=>clone_Clone(e)))}function FromTypedArray(e){return e.slice()}function FromMap(e){return new Map(clone_Clone([...e.entries()]))}function FromSet(e){return new Set(clone_Clone([...e.entries()]))}function clone_FromDate(e){return new Date(e.toISOString())}function clone_FromValue(e){return e}function clone_Clone(e){if(IsArray(e))return clone_FromArray(e);if(IsDate(e))return clone_FromDate(e);if(IsTypedArray(e))return FromTypedArray(e);if(IsMap(e))return FromMap(e);if(IsSet(e))return FromSet(e);if(IsObject(e))return clone_FromObject(e);if(IsValueType(e))return clone_FromValue(e);throw new Error("ValueClone: Unable to clone value")}function ValueOrDefault(e,t){const r=HasPropertyKey(e,"default")?e.default:undefined;const s=IsFunction(r)?r():clone_Clone(r);return IsUndefined(t)?s:IsObject(t)&&IsObject(s)?Object.assign(s,t):t}function HasDefaultProperty(e){return IsKind(e)&&"default"in e}function default_FromArray(e,t,r){if(IsArray(r)){for(let s=0;s<r.length;s++){r[s]=default_Visit(e.items,t,r[s])}return r}const s=ValueOrDefault(e,r);if(!IsArray(s))return s;for(let r=0;r<s.length;r++){s[r]=default_Visit(e.items,t,s[r])}return s}function default_FromDate(e,t,r){return IsDate(r)?r:ValueOrDefault(e,r)}function default_FromImport(e,t,r){const s=globalThis.Object.values(e.$defs);const o=e.$defs[e.$ref];return default_Visit(o,[...t,...s],r)}function default_FromIntersect(e,t,r){const s=ValueOrDefault(e,r);return e.allOf.reduce(((e,r)=>{const o=default_Visit(r,t,s);return IsObject(o)?{...e,...o}:o}),{})}function default_FromObject(e,t,r){const s=ValueOrDefault(e,r);if(!IsObject(s))return s;const o=Object.getOwnPropertyNames(e.properties);for(const r of o){const o=default_Visit(e.properties[r],t,s[r]);if(IsUndefined(o))continue;s[r]=default_Visit(e.properties[r],t,s[r])}if(!HasDefaultProperty(e.additionalProperties))return s;for(const r of Object.getOwnPropertyNames(s)){if(o.includes(r))continue;s[r]=default_Visit(e.additionalProperties,t,s[r])}return s}function default_FromRecord(e,t,r){const s=ValueOrDefault(e,r);if(!IsObject(s))return s;const o=e.additionalProperties;const[n,A]=Object.entries(e.patternProperties)[0];const i=new RegExp(n);for(const e of Object.getOwnPropertyNames(s)){if(!(i.test(e)&&HasDefaultProperty(A)))continue;s[e]=default_Visit(A,t,s[e])}if(!HasDefaultProperty(o))return s;for(const e of Object.getOwnPropertyNames(s)){if(i.test(e))continue;s[e]=default_Visit(o,t,s[e])}return s}function default_FromRef(e,t,r){return default_Visit(deref_Deref(e,t),t,ValueOrDefault(e,r))}function default_FromThis(e,t,r){return default_Visit(deref_Deref(e,t),t,r)}function default_FromTuple(e,t,r){const s=ValueOrDefault(e,r);if(!IsArray(s)||IsUndefined(e.items))return s;const[o,n]=[e.items,Math.max(e.items.length,s.length)];for(let e=0;e<n;e++){if(e<o.length)s[e]=default_Visit(o[e],t,s[e])}return s}function default_FromUnion(e,t,r){const s=ValueOrDefault(e,r);for(const r of e.anyOf){const e=default_Visit(r,t,clone_Clone(s));if(Check(r,t,e)){return e}}return s}function default_Visit(e,t,r){const s=Pushref(e,t);const o=e;switch(o[He]){case"Array":return default_FromArray(o,s,r);case"Date":return default_FromDate(o,s,r);case"Import":return default_FromImport(o,s,r);case"Intersect":return default_FromIntersect(o,s,r);case"Object":return default_FromObject(o,s,r);case"Record":return default_FromRecord(o,s,r);case"Ref":return default_FromRef(o,s,r);case"This":return default_FromThis(o,s,r);case"Tuple":return default_FromTuple(o,s,r);case"Union":return default_FromUnion(o,s,r);default:return ValueOrDefault(o,r)}}function default_Default(...e){return e.length===3?default_Visit(e[0],e[1],e[2]):default_Visit(e[0],[],e[1])}var ht=__nccwpck_require__(7484);var ft=__nccwpck_require__(8889);var It=class _PluginRuntimeInfo{static _instance=null;_env={};constructor(e){if(e){this._env=e}}static getInstance(e){if(!_PluginRuntimeInfo._instance){_PluginRuntimeInfo._instance=getRuntimeKey()==="workerd"?new mt(e):new Ct(e)}return _PluginRuntimeInfo._instance}};var mt=class extends It{get version(){return Promise.resolve(this._env.CLOUDFLARE_VERSION_METADATA?.id??"CLOUDFLARE_VERSION_METADATA")}get runUrl(){const e=this._env.CLOUDFLARE_ACCOUNT_ID??"<missing-cloudflare-account-id>";const t=this._env.CLOUDFLARE_WORKER_NAME;const r=Date.now()+6e4;const s=Date.now()-6e4;const o=encodeURIComponent(`{"type":"absolute","to":${r},"from":${s}}`);return`https://dash.cloudflare.com/${e}/workers/services/view/${t}/production/observability/logs?granularity=0&time=${o}`}};var Ct=class extends It{get version(){return Promise.resolve(J.context.sha)}get runUrl(){return J.context.payload.repository?`${J.context.payload.repository?.html_url}/actions/runs/${J.context.runId}`:"http://localhost"}};var Qt=`-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAs96DOU+JqM8SyNXOB6u3\nuBKIFiyrcST/LZTYN6y7LeJlyCuGPqSDrWCfjU9Ph5PLf9TWiNmeM8DGaOpwEFC7\nU3NRxOSglo4plnQ5zRwIHHXvxyK400sQP2oISXymISuBQWjEIqkC9DybQrKwNzf+\nI0JHWPqmwMIw26UvVOtXGOOWBqTkk+N2+/9f8eDIJP5QQVwwszc8s1rXOsLMlVIf\nwShw7GO4E2jyK8TSJKpyjV8eb1JJMDwFhPiRrtZfQJUtDf2mV/67shQww61BH2Y/\nPlnalo58kWIbkqZoq1yJrL5sFb73osM5+vADTXVn79bkvea7W19nSkdMiarYt4Hq\nJQIDAQAB\n-----END PUBLIC KEY-----\n`;function sanitizeMetadata(e){return JSON.stringify(e,null,2).replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/--/g,"&#45;&#45;")}function getPluginOptions(e){return{kernelPublicKey:e?.kernelPublicKey||Qt,logLevel:e?.logLevel||A.INFO,postCommentOnError:e?.postCommentOnError??true,settingsSchema:e?.settingsSchema,envSchema:e?.envSchema,commandSchema:e?.commandSchema,bypassSignatureVerification:e?.bypassSignatureVerification||false}}var Bt=class _CommentHandler{static HEADER_NAME="UbiquityOS";_lastCommentId={reviewCommentId:null,issueCommentId:null};async _updateIssueComment(e,t){if(!this._lastCommentId.issueCommentId){throw e.logger.error("issueCommentId is missing")}const r=await e.octokit.rest.issues.updateComment({owner:t.owner,repo:t.repo,comment_id:this._lastCommentId.issueCommentId,body:t.body});return{...r.data,issueNumber:t.issueNumber}}async _updateReviewComment(e,t){if(!this._lastCommentId.reviewCommentId){throw e.logger.error("reviewCommentId is missing")}const r=await e.octokit.rest.pulls.updateReviewComment({owner:t.owner,repo:t.repo,comment_id:this._lastCommentId.reviewCommentId,body:t.body});return{...r.data,issueNumber:t.issueNumber}}async _createNewComment(e,t){if(t.commentId){const r=await e.octokit.rest.pulls.createReplyForReviewComment({owner:t.owner,repo:t.repo,pull_number:t.issueNumber,comment_id:t.commentId,body:t.body});this._lastCommentId.reviewCommentId=r.data.id;return{...r.data,issueNumber:t.issueNumber}}const r=await e.octokit.rest.issues.createComment({owner:t.owner,repo:t.repo,issue_number:t.issueNumber,body:t.body});this._lastCommentId.issueCommentId=r.data.id;return{...r.data,issueNumber:t.issueNumber}}_getIssueNumber(e){if("issue"in e.payload)return e.payload.issue.number;if("pull_request"in e.payload)return e.payload.pull_request.number;if("discussion"in e.payload)return e.payload.discussion.number;return void 0}_getCommentId(e){return"pull_request"in e.payload&&"comment"in e.payload?e.payload.comment.id:void 0}_extractIssueContext(e){if(!("repository"in e.payload)||!e.payload.repository?.owner?.login){return null}const t=this._getIssueNumber(e);if(!t)return null;return{issueNumber:t,commentId:this._getCommentId(e),owner:e.payload.repository.owner.login,repo:e.payload.repository.name}}async _processMessage(e,t){if(t instanceof Error){const r={message:t.message,name:t.name,stack:t.stack};return{metadata:r,logMessage:e.logger.error(t.message).logMessage}}const r=t.metadata?{...t.metadata,message:t.metadata.message,stack:t.metadata.stack||t.metadata.error?.stack,caller:t.metadata.caller||t.metadata.error?.stack?.split("\n")[2]?.match(/at (\S+)/)?.[1]}:{...t};return{metadata:r,logMessage:t.logMessage}}_getInstigatorName(e){if("installation"in e.payload&&e.payload.installation&&"account"in e.payload.installation&&e.payload.installation?.account?.name){return e.payload.installation?.account?.name}return e.payload.sender?.login||_CommentHandler.HEADER_NAME}async _createMetadataContent(e,t){const r=sanitizeMetadata(t);const s=this._getInstigatorName(e);const o=It.getInstance().runUrl;const n=await It.getInstance().version;const A=t.caller||"anonymous";return{header:`\x3c!-- ${_CommentHandler.HEADER_NAME} - ${A} - ${n} - @${s} - ${o}`,jsonPretty:r}}_formatMetadataContent(e,t,r){const s=["```json",r,"```"].join("\n");const o=[t,r,"--\x3e"].join("\n");return e?.type==="fatal"?[s,o].join("\n"):o}async _createCommentBody(e,t,r){const{metadata:s,logMessage:o}=await this._processMessage(e,t);const{header:n,jsonPretty:A}=await this._createMetadataContent(e,s);const i=this._formatMetadataContent(o,n,A);return`${r.raw?o?.raw:o?.diff}\n\n${i}\n`}async postComment(e,t,r={updateComment:true,raw:false}){const s=this._extractIssueContext(e);if(!s){e.logger.info("Cannot post comment: missing issue context in payload");return null}const o=await this._createCommentBody(e,t,r);const{issueNumber:n,commentId:A,owner:i,repo:a}=s;const c={owner:i,repo:a,body:o,issueNumber:n};if(r.updateComment){if(this._lastCommentId.issueCommentId&&!("pull_request"in e.payload&&"comment"in e.payload)){return this._updateIssueComment(e,c)}if(this._lastCommentId.reviewCommentId&&"pull_request"in e.payload&&"comment"in e.payload){return this._updateReviewComment(e,c)}}return this._createNewComment(e,{...c,commentId:A})}};var yt={throttle:{onAbuseLimit:(e,t,r)=>{r.log.warn(`Abuse limit hit with "${t.method} ${t.url}", retrying in ${e} seconds.`);return true},onRateLimit:(e,t,r)=>{r.log.warn(`Rate limit hit with "${t.method} ${t.url}", retrying in ${e} seconds.`);return true},onSecondaryRateLimit:(e,t,r)=>{r.log.warn(`Secondary rate limit hit with "${t.method} ${t.url}", retrying in ${e} seconds.`);return true}}};var wt=Octokit.plugin(throttling,retry,paginateRest,restEndpointMethods,paginateGraphQL).defaults((e=>({...yt,...e})));async function verifySignature(e,t,r){try{const s={stateId:t.stateId,eventName:t.eventName,eventPayload:t.eventPayload,settings:t.settings,authToken:t.authToken,ref:t.ref,command:t.command};const o=e.replace("-----BEGIN PUBLIC KEY-----","").replace("-----END PUBLIC KEY-----","").trim();const n=Uint8Array.from(atob(o),(e=>e.charCodeAt(0)));const A=await crypto.subtle.importKey("spki",n,{name:"RSASSA-PKCS1-v1_5",hash:"SHA-256"},true,["verify"]);const i=Uint8Array.from(atob(r),(e=>e.charCodeAt(0)));const a=(new TextEncoder).encode(JSON.stringify(s));return await crypto.subtle.verify("RSASSA-PKCS1-v1_5",A,i,a)}catch(e){console.error(e);return false}}var bt=rt.Union([rt.Null(),rt.Object({name:rt.String(),parameters:rt.Unknown()})]);function jsonType(e){return rt.Transform(rt.String()).Decode((t=>{const r=JSON.parse(t);return Decode(e,default_Default(e,r))})).Encode((e=>JSON.stringify(e)))}var Rt=rt.Object({stateId:rt.String(),eventName:rt.String(),eventPayload:jsonType(rt.Record(rt.String(),rt.Any())),command:jsonType(bt),authToken:rt.String(),settings:jsonType(rt.Record(rt.String(),rt.Any())),ref:rt.String(),signature:rt.String()});function createPlugin(e,t,r){const s=getPluginOptions(r);const o=new Hono;o.get("/manifest.json",(e=>e.json(t)));o.post("/",(async function appPost(t){if(t.req.header("content-type")!=="application/json"){throw new HTTPException(400,{message:"Content-Type must be application/json"})}const r=await t.req.json();const o=[...Value2.Errors(Rt,r)];if(o.length){console.dir(o,{depth:null});throw new HTTPException(400,{message:"Invalid body"})}const n=r.signature;if(!s.bypassSignatureVerification&&!await verifySignature(s.kernelPublicKey,r,n)){throw new HTTPException(400,{message:"Invalid signature"})}const A=Value2.Decode(Rt,r);let i;if(s.settingsSchema){try{i=Value2.Decode(s.settingsSchema,Value2.Default(s.settingsSchema,A.settings))}catch(e){console.dir(...Value2.Errors(s.settingsSchema,A.settings),{depth:null});throw e}}else{i=A.settings}let a;const c=honoEnv(t);if(s.envSchema){try{a=Value2.Decode(s.envSchema,Value2.Default(s.envSchema,c))}catch(e){console.dir(...Value2.Errors(s.envSchema,c),{depth:null});throw e}}else{a=t.env}const l=new URL(A.ref).hostname.split(".")[0];It.getInstance({...a,CLOUDFLARE_WORKER_NAME:l});let u=null;if(A.command&&s.commandSchema){try{u=Value2.Decode(s.commandSchema,Value2.Default(s.commandSchema,A.command))}catch(e){console.log(...Value2.Errors(s.commandSchema,A.command),{depth:null});throw e}}else if(A.command){u=A.command}const g={eventName:A.eventName,payload:A.eventPayload,command:u,octokit:new wt({auth:A.authToken}),config:i,env:a,logger:new Logs(s.logLevel),commentHandler:new Bt};try{const r=await e(g);return t.json({stateId:A.stateId,output:r??{}})}catch(e){console.error(e);let t;if(e instanceof Error||e instanceof LogReturn2){t=e}else{t=g.logger.error(`Error: ${e}`)}if(s.postCommentOnError&&t){await g.commentHandler.postComment(g,t)}throw new HTTPException(500,{message:"Unexpected error"})}}));return o}(0,ft.config)();async function createActionsPlugin(e,t){const r=getPluginOptions(t);const s=process.env.PLUGIN_GITHUB_TOKEN;if(!s){ht.setFailed("Error: PLUGIN_GITHUB_TOKEN env is not set");return}const o=J.context.payload.inputs;const n=[...Errors(Rt,o)];if(n.length){console.dir(n,{depth:null});ht.setFailed(`Error: Invalid inputs payload: ${n.map((e=>e.message)).join(", ")}`);return}const A=o.signature;if(!r.bypassSignatureVerification&&!await verifySignature(r.kernelPublicKey,o,A)){ht.setFailed(`Error: Invalid signature`);return}const i=Decode(Rt,o);let l;if(r.settingsSchema){try{l=Decode(r.settingsSchema,default_Default(r.settingsSchema,i.settings))}catch(e){console.dir(...Errors(r.settingsSchema,i.settings),{depth:null});ht.setFailed(`Error: Invalid settings provided.`);throw e}}else{l=i.settings}let u;if(r.envSchema){try{u=Decode(r.envSchema,default_Default(r.envSchema,process.env))}catch(e){console.dir(...Errors(r.envSchema,process.env),{depth:null});ht.setFailed(`Error: Invalid environment provided.`);throw e}}else{u=process.env}let g=null;if(i.command&&r.commandSchema){try{g=Decode(r.commandSchema,default_Default(r.commandSchema,i.command))}catch(e){console.dir(...Errors(r.commandSchema,i.command),{depth:null});throw e}}else if(i.command){g=i.command}const p={eventName:i.eventName,payload:i.eventPayload,command:g,octokit:new wt({auth:i.authToken}),config:l,env:u,logger:new c(r.logLevel),commentHandler:new Bt};try{const t=await e(p);ht.setOutput("result",t);await returnDataToKernel(s,i.stateId,t)}catch(e){console.error(e);let t;if(e instanceof Error){ht.setFailed(e);t=p.logger.error(`Error: ${e}`,{error:e})}else if(e instanceof a){ht.setFailed(e.logMessage.raw);t=e}else{ht.setFailed(`Error: ${e}`);t=p.logger.error(`Error: ${e}`)}if(r.postCommentOnError&&t){await p.commentHandler.postComment(p,t)}}}async function returnDataToKernel(e,t,r){const s=new wt({auth:e});await s.rest.repos.createDispatchEvent({owner:J.context.repo.owner,repo:J.context.repo.repo,event_type:"return-data-to-ubiquity-os-kernel",client_payload:{state_id:t,output:r?JSON.stringify(r):null}})}var Tt=".github/.ubiquity-os.config.yml";var kt=".github/.ubiquity-os.config.dev.yml";var Dt=".ubiquity-os";var _t=null&&`-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAs96DOU+JqM8SyNXOB6u3\nuBKIFiyrcST/LZTYN6y7LeJlyCuGPqSDrWCfjU9Ph5PLf9TWiNmeM8DGaOpwEFC7\nU3NRxOSglo4plnQ5zRwIHHXvxyK400sQP2oISXymISuBQWjEIqkC9DybQrKwNzf+\nI0JHWPqmwMIw26UvVOtXGOOWBqTkk+N2+/9f8eDIJP5QQVwwszc8s1rXOsLMlVIf\nwShw7GO4E2jyK8TSJKpyjV8eb1JJMDwFhPiRrtZfQJUtDf2mV/67shQww61BH2Y/\nPlnalo58kWIbkqZoq1yJrL5sFb73osM5+vADTXVn79bkvea7W19nSkdMiarYt4Hq\nJQIDAQAB\n-----END PUBLIC KEY-----\n`;var Ft=975031;var St=178941584;const vt="chore: [skip ci] update labels configuration";async function pushEmptyCommit(e){const{octokit:t,payload:r,logger:s}=e;const o=r.repository.owner?.login;const n=r.repository.name;const A=`heads/${r.repository.default_branch}`;if(!o){throw s.error("No owner was found in the repository, a commit / push action cannot be performed.",{payload:r})}const i=await t.rest.git.getRef({owner:o,repo:n,ref:A});const a=i.data.object.sha;const c=await t.rest.git.getCommit({owner:o,repo:n,commit_sha:a});const l=c.data.tree.sha;const u=await t.rest.git.createCommit({owner:o,repo:n,message:vt,tree:l,parents:[a]});const g=u.data.sha;const{data:p}=await t.rest.git.updateRef({owner:o,repo:n,ref:A,sha:g});s.info(`Pushed an empty commit to ${r.repository.html_url}`,{commitUrl:p.url})}async function checkIfIsAdmin(e,t){const r=e.payload.repository.owner?.login;if(!r)throw e.logger.error("No owner found in the repository!");const s=await e.octokit.rest.repos.getCollaboratorPermissionLevel({owner:r,repo:e.payload.repository.name,username:t});return s.data.permission==="admin"}async function checkIfIsBillingManager(e,t){if(!e.payload.organization)throw e.logger.error(`No organization found in payload!`);try{await e.octokit.rest.orgs.checkMembershipForUser({org:e.payload.organization.login,username:t})}catch{return false}const{data:r}=await e.octokit.rest.orgs.getMembershipForUser({org:e.payload.organization.login,username:t});return r.role==="billing_manager"}function isUserOrganizationBot(e){const{payload:t}=e;return t.sender?.type==="Bot"}async function isUserAdminOrBillingManager(e,t){if(!t)return false;const r=await checkIfIsAdmin(e,t)||isUserOrganizationBot(e);if(r)return"admin";const s=await checkIfIsBillingManager(e,t);if(s)return"billing_manager";return false}async function listOrgRepos(e){const t=e.payload.organization?.login;if(!t)throw e.logger.error("No organization found in payload!",{payload:e.payload});try{const r=await e.octokit.rest.repos.listForOrg({org:t});return r.data.filter((t=>!t.archived&&!t.disabled&&!e.config.globalConfigUpdate?.excludeRepos.includes(t.name)))}catch(t){throw e.logger.error("Listing org repos failed!",{err:t})}}async function listRepoIssues(e,t,r){try{return await e.octokit.paginate(e.octokit.rest.issues.listForRepo,{owner:t,repo:r})}catch(t){throw e.logger.error("Listing repo issues failed!",{err:t})}}function isIssueLabelEvent(e){return e.eventName==="issues.labeled"||e.eventName==="issues.unlabeled"}function isPushEvent(e){return e.eventName==="push"}function getCommitChanges(e){const t=[];for(const r of e){if(r.modified?.length){for(const e of r.modified){t.push(e)}}if(r.added?.length){for(const e of r.added){t.push(e)}}}return t}const Ut="0000000000000000000000000000000000000000";const Nt=[kt,Tt];async function isConfigModified(e){if(!isPushEvent(e)){e.logger.debug("Not a push event");return false}const{logger:t,payload:r}=e;if(r.before===Ut){t.info("Skipping push events. A new branch was created");return false}const s=getCommitChanges(r.commits);if(s&&s.length===0){t.info("No files were changed in the commits, so no action is required.");return false}let o=false;for(const e of Nt){if(s.includes(e)){t.info(`${e} was modified or added in the commits`);o=true;break}}return o}async function getLabelsChanges(e){if(!isPushEvent(e)){e.logger.debug("Not a push event");return false}const{logger:t,payload:{repository:r,head_commit:s}}=e;const o=s?.id;let n;if(!o){throw new Error("No commit sha found")}const A=r.owner?.login;if(!A){throw t.error("No owner found in the repository")}try{n=await e.octokit.rest.repos.getCommit({owner:A,repo:r.name,ref:o,mediaType:{format:"diff"}})}catch(e){t.debug("Commit sha error.",{err:e})}if(!n){throw new Error("No commit data found")}const i=n.data;const a=i.split("\n");const c=/\+\s*collaboratorOnly:\s*(\S+)/;const l=/-\s*collaboratorOnly:\s*(\S+)/;const u=extractLabels(a,c);const g=extractLabels(a,l);if(!g&&!u){t.error("No label changes found in the diff")}return!!g?.length||!!u?.length}function extractLabels(e,t){const r=e?.find((e=>t.test(e)));const s=r?.match(t);return s?s[1]:undefined}const Ot={default:"ededed",price:"1f883d"};const Gt="No owner found in the repository!";async function listLabelsForRepo(e){const{payload:t,octokit:r}=e;const s=t.repository.owner?.login;if(!s){throw e.logger.error(Gt)}const o=await r.paginate(r.rest.issues.listLabelsForRepo,{owner:s,repo:t.repository.name,per_page:100});e.logger.debug(`Fetching labels for repository ${t.repository.html_url}`,{owner:s,repo:t.repository.name,labels:o.map((e=>e.name))});if(o.length>0){await new Promise((e=>setTimeout(e,5e3)));return o}return[]}async function createLabel(e,t,r="default",s){const o=e.payload;const n=t.startsWith("Price: ")?Ot.price:Ot[r];const A=o.repository.owner?.login;if(!A){throw e.logger.error(Gt)}try{const r={owner:A,repo:o.repository.name,name:t,color:n,description:s};e.logger.debug("Trying to create label",{createLabelsOptions:r});await e.octokit.rest.issues.createLabel(r)}catch(t){e.logger.error("Creating a label failed!",{err:t})}}async function clearAllPriceLabelsOnIssue(e){const t=e.payload;if(!("issue"in t)||!t.issue){return}const r=t.issue.labels;if(!r)return;const s=r.filter((e=>e.name.toString().startsWith("Price: ")||e.name.toString().startsWith("Pricing: ")));if(!s.length)return;for(const r of s){try{await e.octokit.rest.issues.removeLabel({owner:t.repository.owner.login,repo:t.repository.name,issue_number:t.issue.number,name:r.name})}catch(s){if(s&&typeof s==="object"&&"status"in s&&s.status===404){e.logger.error(`Label [${r.name}] not found on issue ${t.issue.html_url}, ignoring.`,{err:s})}else{throw e.logger.error(`Removing label on issue ${t.issue.html_url} failed!`,{label:r,err:s})}}}}async function addLabelToIssue(e,t){const r=e.payload;if(!("issue"in r)||!r.issue){return}try{await e.octokit.rest.issues.addLabels({owner:r.repository.owner.login,repo:r.repository.name,issue_number:r.issue.number,labels:[t]})}catch(t){throw e.logger.error("Adding a label to issue failed!",{err:t})}}async function removeLabelFromIssue(e,t){const r=e.payload;if(!("issue"in r)||!r.issue){return}try{await e.octokit.rest.issues.removeLabel({owner:r.repository.owner.login,repo:r.repository.name,issue_number:r.issue.number,name:t})}catch(t){throw e.logger.error("Removing a label from an issue failed!",{err:t})}}var Lt;(function(e){e["User"]="User";e["Bot"]="Bot"})(Lt||(Lt={}));async function labelAccessPermissionsCheck(e){if(!isIssueLabelEvent(e)){e.logger.debug("Not an issue event");return false}const{logger:t,payload:r}=e;const{publicAccessControl:s}=e.config;if(!r.label?.name)return false;if(s.setLabel){t.info("Public access control is enabled for setting labels");return true}if(r.sender?.type===Lt.Bot){t.info("Bot has full control over all labels");return true}const o=r.sender?.login;if(!o){throw t.error("No sender found in the payload")}const n=r.repository;const A=await isUserAdminOrBillingManager(e,o);const i=r.label.name;const a=r.label?.name?.split(":");if(a.length<=1)return false;const c=a[0].toLowerCase();let l;if("action"in r){l=r.action}else{throw new Error("No action found in payload")}if(A){t.info("Admin and billing managers have full control over all labels",{repo:n.full_name,user:o,labelType:c});return true}else{return handleInsufficientPrivileges(e,c,o,n,l,i)}}async function handleInsufficientPrivileges(e,t,r,s,o,n){const{logger:A,config:i,commentHandler:a}=e;A.info("Checking access for labels",{repo:s.full_name,user:r,labelType:t});if(i.publicAccessControl.protectLabels.some((e=>e.toLowerCase()===t.toLowerCase()))){await a.postComment(e,A.error(`You do not have permissions to adjust ${i.publicAccessControl.protectLabels.map((e=>`\`${e}\``)).join(", ")} labels.`,{sender:r,label:n}));if(o==="labeled"){await removeLabelFromIssue(e,n)}else if(o==="unlabeled"){await addLabelToIssue(e,n)}return false}return true}
 /*!
  *  decimal.js v10.5.0
  *  An arbitrary-precision Decimal type for JavaScript.
@@ -8,4 +8,4 @@ import{createRequire as e}from"module";var t={4914:function(e,t,r){var s=this&&t
  *  Copyright (c) 2025 Michael Mclaughlin <M8ch88l@gmail.com>
  *  MIT Licence
  */
-var Gt=9e15,Lt=1e9,Pt="0123456789abcdef",Mt="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",xt="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",Ht={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-Gt,maxE:Gt,crypto:false},Vt,Yt,Jt=true,qt="[DecimalError] ",jt=qt+"Invalid argument: ",Wt=qt+"Precision limit exceeded",Kt=qt+"crypto unavailable",zt="[object Decimal]",Zt=Math.floor,Xt=Math.pow,$t=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,er=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,tr=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,rr=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,sr=1e7,or=7,nr=9007199254740991,Ar=Mt.length-1,ir=xt.length-1,ar={toStringTag:zt};ar.absoluteValue=ar.abs=function(){var e=new this.constructor(this);if(e.s<0)e.s=1;return finalise(e)};ar.ceil=function(){return finalise(new this.constructor(this),this.e+1,2)};ar.clampedTo=ar.clamp=function(e,t){var r,s=this,o=s.constructor;e=new o(e);t=new o(t);if(!e.s||!t.s)return new o(NaN);if(e.gt(t))throw Error(jt+t);r=s.cmp(e);return r<0?e:s.cmp(t)>0?t:new o(s)};ar.comparedTo=ar.cmp=function(e){var t,r,s,o,n=this,A=n.d,i=(e=new n.constructor(e)).d,a=n.s,c=e.s;if(!A||!i){return!a||!c?NaN:a!==c?a:A===i?0:!A^a<0?1:-1}if(!A[0]||!i[0])return A[0]?a:i[0]?-c:0;if(a!==c)return a;if(n.e!==e.e)return n.e>e.e^a<0?1:-1;s=A.length;o=i.length;for(t=0,r=s<o?s:o;t<r;++t){if(A[t]!==i[t])return A[t]>i[t]^a<0?1:-1}return s===o?0:s>o^a<0?1:-1};ar.cosine=ar.cos=function(){var e,t,r=this,s=r.constructor;if(!r.d)return new s(NaN);if(!r.d[0])return new s(1);e=s.precision;t=s.rounding;s.precision=e+Math.max(r.e,r.sd())+or;s.rounding=1;r=cosine(s,toLessThanHalfPi(s,r));s.precision=e;s.rounding=t;return finalise(Yt==2||Yt==3?r.neg():r,e,t,true)};ar.cubeRoot=ar.cbrt=function(){var e,t,r,s,o,n,A,i,a,c,l=this,u=l.constructor;if(!l.isFinite()||l.isZero())return new u(l);Jt=false;n=l.s*Xt(l.s*l,1/3);if(!n||Math.abs(n)==1/0){r=digitsToString(l.d);e=l.e;if(n=(e-r.length+1)%3)r+=n==1||n==-2?"0":"00";n=Xt(r,1/3);e=Zt((e+1)/3)-(e%3==(e<0?-1:2));if(n==1/0){r="5e"+e}else{r=n.toExponential();r=r.slice(0,r.indexOf("e")+1)+e}s=new u(r);s.s=l.s}else{s=new u(n.toString())}A=(e=u.precision)+3;for(;;){i=s;a=i.times(i).times(i);c=a.plus(l);s=cr(c.plus(l).times(i),c.plus(a),A+2,1);if(digitsToString(i.d).slice(0,A)===(r=digitsToString(s.d)).slice(0,A)){r=r.slice(A-3,A+1);if(r=="9999"||!o&&r=="4999"){if(!o){finalise(i,e+1,0);if(i.times(i).times(i).eq(l)){s=i;break}}A+=4;o=1}else{if(!+r||!+r.slice(1)&&r.charAt(0)=="5"){finalise(s,e+1,1);t=!s.times(s).times(s).eq(l)}break}}}Jt=true;return finalise(s,e,u.rounding,t)};ar.decimalPlaces=ar.dp=function(){var e,t=this.d,r=NaN;if(t){e=t.length-1;r=(e-Zt(this.e/or))*or;e=t[e];if(e)for(;e%10==0;e/=10)r--;if(r<0)r=0}return r};ar.dividedBy=ar.div=function(e){return cr(this,new this.constructor(e))};ar.dividedToIntegerBy=ar.divToInt=function(e){var t=this,r=t.constructor;return finalise(cr(t,new r(e),0,1,1),r.precision,r.rounding)};ar.equals=ar.eq=function(e){return this.cmp(e)===0};ar.floor=function(){return finalise(new this.constructor(this),this.e+1,3)};ar.greaterThan=ar.gt=function(e){return this.cmp(e)>0};ar.greaterThanOrEqualTo=ar.gte=function(e){var t=this.cmp(e);return t==1||t===0};ar.hyperbolicCosine=ar.cosh=function(){var e,t,r,s,o,n=this,A=n.constructor,i=new A(1);if(!n.isFinite())return new A(n.s?1/0:NaN);if(n.isZero())return i;r=A.precision;s=A.rounding;A.precision=r+Math.max(n.e,n.sd())+4;A.rounding=1;o=n.d.length;if(o<32){e=Math.ceil(o/3);t=(1/tinyPow(4,e)).toString()}else{e=16;t="2.3283064365386962890625e-10"}n=taylorSeries(A,1,n.times(t),new A(1),true);var a,c=e,l=new A(8);for(;c--;){a=n.times(n);n=i.minus(a.times(l.minus(a.times(l))))}return finalise(n,A.precision=r,A.rounding=s,true)};ar.hyperbolicSine=ar.sinh=function(){var e,t,r,s,o=this,n=o.constructor;if(!o.isFinite()||o.isZero())return new n(o);t=n.precision;r=n.rounding;n.precision=t+Math.max(o.e,o.sd())+4;n.rounding=1;s=o.d.length;if(s<3){o=taylorSeries(n,2,o,o,true)}else{e=1.4*Math.sqrt(s);e=e>16?16:e|0;o=o.times(1/tinyPow(5,e));o=taylorSeries(n,2,o,o,true);var A,i=new n(5),a=new n(16),c=new n(20);for(;e--;){A=o.times(o);o=o.times(i.plus(A.times(a.times(A).plus(c))))}}n.precision=t;n.rounding=r;return finalise(o,t,r,true)};ar.hyperbolicTangent=ar.tanh=function(){var e,t,r=this,s=r.constructor;if(!r.isFinite())return new s(r.s);if(r.isZero())return new s(r);e=s.precision;t=s.rounding;s.precision=e+7;s.rounding=1;return cr(r.sinh(),r.cosh(),s.precision=e,s.rounding=t)};ar.inverseCosine=ar.acos=function(){var e=this,t=e.constructor,r=e.abs().cmp(1),s=t.precision,o=t.rounding;if(r!==-1){return r===0?e.isNeg()?getPi(t,s,o):new t(0):new t(NaN)}if(e.isZero())return getPi(t,s+4,o).times(.5);t.precision=s+6;t.rounding=1;e=new t(1).minus(e).div(e.plus(1)).sqrt().atan();t.precision=s;t.rounding=o;return e.times(2)};ar.inverseHyperbolicCosine=ar.acosh=function(){var e,t,r=this,s=r.constructor;if(r.lte(1))return new s(r.eq(1)?0:NaN);if(!r.isFinite())return new s(r);e=s.precision;t=s.rounding;s.precision=e+Math.max(Math.abs(r.e),r.sd())+4;s.rounding=1;Jt=false;r=r.times(r).minus(1).sqrt().plus(r);Jt=true;s.precision=e;s.rounding=t;return r.ln()};ar.inverseHyperbolicSine=ar.asinh=function(){var e,t,r=this,s=r.constructor;if(!r.isFinite()||r.isZero())return new s(r);e=s.precision;t=s.rounding;s.precision=e+2*Math.max(Math.abs(r.e),r.sd())+6;s.rounding=1;Jt=false;r=r.times(r).plus(1).sqrt().plus(r);Jt=true;s.precision=e;s.rounding=t;return r.ln()};ar.inverseHyperbolicTangent=ar.atanh=function(){var e,t,r,s,o=this,n=o.constructor;if(!o.isFinite())return new n(NaN);if(o.e>=0)return new n(o.abs().eq(1)?o.s/0:o.isZero()?o:NaN);e=n.precision;t=n.rounding;s=o.sd();if(Math.max(s,e)<2*-o.e-1)return finalise(new n(o),e,t,true);n.precision=r=s-o.e;o=cr(o.plus(1),new n(1).minus(o),r+e,1);n.precision=e+4;n.rounding=1;o=o.ln();n.precision=e;n.rounding=t;return o.times(.5)};ar.inverseSine=ar.asin=function(){var e,t,r,s,o=this,n=o.constructor;if(o.isZero())return new n(o);t=o.abs().cmp(1);r=n.precision;s=n.rounding;if(t!==-1){if(t===0){e=getPi(n,r+4,s).times(.5);e.s=o.s;return e}return new n(NaN)}n.precision=r+6;n.rounding=1;o=o.div(new n(1).minus(o.times(o)).sqrt().plus(1)).atan();n.precision=r;n.rounding=s;return o.times(2)};ar.inverseTangent=ar.atan=function(){var e,t,r,s,o,n,A,i,a,c=this,l=c.constructor,u=l.precision,g=l.rounding;if(!c.isFinite()){if(!c.s)return new l(NaN);if(u+4<=ir){A=getPi(l,u+4,g).times(.5);A.s=c.s;return A}}else if(c.isZero()){return new l(c)}else if(c.abs().eq(1)&&u+4<=ir){A=getPi(l,u+4,g).times(.25);A.s=c.s;return A}l.precision=i=u+10;l.rounding=1;r=Math.min(28,i/or+2|0);for(e=r;e;--e)c=c.div(c.times(c).plus(1).sqrt().plus(1));Jt=false;t=Math.ceil(i/or);s=1;a=c.times(c);A=new l(c);o=c;for(;e!==-1;){o=o.times(a);n=A.minus(o.div(s+=2));o=o.times(a);A=n.plus(o.div(s+=2));if(A.d[t]!==void 0)for(e=t;A.d[e]===n.d[e]&&e--;);}if(r)A=A.times(2<<r-1);Jt=true;return finalise(A,l.precision=u,l.rounding=g,true)};ar.isFinite=function(){return!!this.d};ar.isInteger=ar.isInt=function(){return!!this.d&&Zt(this.e/or)>this.d.length-2};ar.isNaN=function(){return!this.s};ar.isNegative=ar.isNeg=function(){return this.s<0};ar.isPositive=ar.isPos=function(){return this.s>0};ar.isZero=function(){return!!this.d&&this.d[0]===0};ar.lessThan=ar.lt=function(e){return this.cmp(e)<0};ar.lessThanOrEqualTo=ar.lte=function(e){return this.cmp(e)<1};ar.logarithm=ar.log=function(e){var t,r,s,o,n,A,i,a,c=this,l=c.constructor,u=l.precision,g=l.rounding,p=5;if(e==null){e=new l(10);t=true}else{e=new l(e);r=e.d;if(e.s<0||!r||!r[0]||e.eq(1))return new l(NaN);t=e.eq(10)}r=c.d;if(c.s<0||!r||!r[0]||c.eq(1)){return new l(r&&!r[0]?-1/0:c.s!=1?NaN:r?0:1/0)}if(t){if(r.length>1){n=true}else{for(o=r[0];o%10===0;)o/=10;n=o!==1}}Jt=false;i=u+p;A=naturalLogarithm(c,i);s=t?getLn10(l,i+10):naturalLogarithm(e,i);a=cr(A,s,i,1);if(checkRoundingDigits(a.d,o=u,g)){do{i+=10;A=naturalLogarithm(c,i);s=t?getLn10(l,i+10):naturalLogarithm(e,i);a=cr(A,s,i,1);if(!n){if(+digitsToString(a.d).slice(o+1,o+15)+1==1e14){a=finalise(a,u+1,0)}break}}while(checkRoundingDigits(a.d,o+=10,g))}Jt=true;return finalise(a,u,g)};ar.minus=ar.sub=function(e){var t,r,s,o,n,A,i,a,c,l,u,g,p=this,d=p.constructor;e=new d(e);if(!p.d||!e.d){if(!p.s||!e.s)e=new d(NaN);else if(p.d)e.s=-e.s;else e=new d(e.d||p.s!==e.s?p:NaN);return e}if(p.s!=e.s){e.s=-e.s;return p.plus(e)}c=p.d;g=e.d;i=d.precision;a=d.rounding;if(!c[0]||!g[0]){if(g[0])e.s=-e.s;else if(c[0])e=new d(p);else return new d(a===3?-0:0);return Jt?finalise(e,i,a):e}r=Zt(e.e/or);l=Zt(p.e/or);c=c.slice();n=l-r;if(n){u=n<0;if(u){t=c;n=-n;A=g.length}else{t=g;r=l;A=c.length}s=Math.max(Math.ceil(i/or),A)+2;if(n>s){n=s;t.length=1}t.reverse();for(s=n;s--;)t.push(0);t.reverse()}else{s=c.length;A=g.length;u=s<A;if(u)A=s;for(s=0;s<A;s++){if(c[s]!=g[s]){u=c[s]<g[s];break}}n=0}if(u){t=c;c=g;g=t;e.s=-e.s}A=c.length;for(s=g.length-A;s>0;--s)c[A++]=0;for(s=g.length;s>n;){if(c[--s]<g[s]){for(o=s;o&&c[--o]===0;)c[o]=sr-1;--c[o];c[s]+=sr}c[s]-=g[s]}for(;c[--A]===0;)c.pop();for(;c[0]===0;c.shift())--r;if(!c[0])return new d(a===3?-0:0);e.d=c;e.e=getBase10Exponent(c,r);return Jt?finalise(e,i,a):e};ar.modulo=ar.mod=function(e){var t,r=this,s=r.constructor;e=new s(e);if(!r.d||!e.s||e.d&&!e.d[0])return new s(NaN);if(!e.d||r.d&&!r.d[0]){return finalise(new s(r),s.precision,s.rounding)}Jt=false;if(s.modulo==9){t=cr(r,e.abs(),0,3,1);t.s*=e.s}else{t=cr(r,e,0,s.modulo,1)}t=t.times(e);Jt=true;return r.minus(t)};ar.naturalExponential=ar.exp=function(){return naturalExponential(this)};ar.naturalLogarithm=ar.ln=function(){return naturalLogarithm(this)};ar.negated=ar.neg=function(){var e=new this.constructor(this);e.s=-e.s;return finalise(e)};ar.plus=ar.add=function(e){var t,r,s,o,n,A,i,a,c,l,u=this,g=u.constructor;e=new g(e);if(!u.d||!e.d){if(!u.s||!e.s)e=new g(NaN);else if(!u.d)e=new g(e.d||u.s===e.s?u:NaN);return e}if(u.s!=e.s){e.s=-e.s;return u.minus(e)}c=u.d;l=e.d;i=g.precision;a=g.rounding;if(!c[0]||!l[0]){if(!l[0])e=new g(u);return Jt?finalise(e,i,a):e}n=Zt(u.e/or);s=Zt(e.e/or);c=c.slice();o=n-s;if(o){if(o<0){r=c;o=-o;A=l.length}else{r=l;s=n;A=c.length}n=Math.ceil(i/or);A=n>A?n+1:A+1;if(o>A){o=A;r.length=1}r.reverse();for(;o--;)r.push(0);r.reverse()}A=c.length;o=l.length;if(A-o<0){o=A;r=l;l=c;c=r}for(t=0;o;){t=(c[--o]=c[o]+l[o]+t)/sr|0;c[o]%=sr}if(t){c.unshift(t);++s}for(A=c.length;c[--A]==0;)c.pop();e.d=c;e.e=getBase10Exponent(c,s);return Jt?finalise(e,i,a):e};ar.precision=ar.sd=function(e){var t,r=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(jt+e);if(r.d){t=getPrecision(r.d);if(e&&r.e+1>t)t=r.e+1}else{t=NaN}return t};ar.round=function(){var e=this,t=e.constructor;return finalise(new t(e),e.e+1,t.rounding)};ar.sine=ar.sin=function(){var e,t,r=this,s=r.constructor;if(!r.isFinite())return new s(NaN);if(r.isZero())return new s(r);e=s.precision;t=s.rounding;s.precision=e+Math.max(r.e,r.sd())+or;s.rounding=1;r=sine(s,toLessThanHalfPi(s,r));s.precision=e;s.rounding=t;return finalise(Yt>2?r.neg():r,e,t,true)};ar.squareRoot=ar.sqrt=function(){var e,t,r,s,o,n,A=this,i=A.d,a=A.e,c=A.s,l=A.constructor;if(c!==1||!i||!i[0]){return new l(!c||c<0&&(!i||i[0])?NaN:i?A:1/0)}Jt=false;c=Math.sqrt(+A);if(c==0||c==1/0){t=digitsToString(i);if((t.length+a)%2==0)t+="0";c=Math.sqrt(t);a=Zt((a+1)/2)-(a<0||a%2);if(c==1/0){t="5e"+a}else{t=c.toExponential();t=t.slice(0,t.indexOf("e")+1)+a}s=new l(t)}else{s=new l(c.toString())}r=(a=l.precision)+3;for(;;){n=s;s=n.plus(cr(A,n,r+2,1)).times(.5);if(digitsToString(n.d).slice(0,r)===(t=digitsToString(s.d)).slice(0,r)){t=t.slice(r-3,r+1);if(t=="9999"||!o&&t=="4999"){if(!o){finalise(n,a+1,0);if(n.times(n).eq(A)){s=n;break}}r+=4;o=1}else{if(!+t||!+t.slice(1)&&t.charAt(0)=="5"){finalise(s,a+1,1);e=!s.times(s).eq(A)}break}}}Jt=true;return finalise(s,a,l.rounding,e)};ar.tangent=ar.tan=function(){var e,t,r=this,s=r.constructor;if(!r.isFinite())return new s(NaN);if(r.isZero())return new s(r);e=s.precision;t=s.rounding;s.precision=e+10;s.rounding=1;r=r.sin();r.s=1;r=cr(r,new s(1).minus(r.times(r)).sqrt(),e+10,0);s.precision=e;s.rounding=t;return finalise(Yt==2||Yt==4?r.neg():r,e,t,true)};ar.times=ar.mul=function(e){var t,r,s,o,n,A,i,a,c,l=this,u=l.constructor,g=l.d,p=(e=new u(e)).d;e.s*=l.s;if(!g||!g[0]||!p||!p[0]){return new u(!e.s||g&&!g[0]&&!p||p&&!p[0]&&!g?NaN:!g||!p?e.s/0:e.s*0)}r=Zt(l.e/or)+Zt(e.e/or);a=g.length;c=p.length;if(a<c){n=g;g=p;p=n;A=a;a=c;c=A}n=[];A=a+c;for(s=A;s--;)n.push(0);for(s=c;--s>=0;){t=0;for(o=a+s;o>s;){i=n[o]+p[s]*g[o-s-1]+t;n[o--]=i%sr|0;t=i/sr|0}n[o]=(n[o]+t)%sr|0}for(;!n[--A];)n.pop();if(t)++r;else n.shift();e.d=n;e.e=getBase10Exponent(n,r);return Jt?finalise(e,u.precision,u.rounding):e};ar.toBinary=function(e,t){return toStringBinary(this,2,e,t)};ar.toDecimalPlaces=ar.toDP=function(e,t){var r=this,s=r.constructor;r=new s(r);if(e===void 0)return r;checkInt32(e,0,Lt);if(t===void 0)t=s.rounding;else checkInt32(t,0,8);return finalise(r,e+r.e+1,t)};ar.toExponential=function(e,t){var r,s=this,o=s.constructor;if(e===void 0){r=finiteToString(s,true)}else{checkInt32(e,0,Lt);if(t===void 0)t=o.rounding;else checkInt32(t,0,8);s=finalise(new o(s),e+1,t);r=finiteToString(s,true,e+1)}return s.isNeg()&&!s.isZero()?"-"+r:r};ar.toFixed=function(e,t){var r,s,o=this,n=o.constructor;if(e===void 0){r=finiteToString(o)}else{checkInt32(e,0,Lt);if(t===void 0)t=n.rounding;else checkInt32(t,0,8);s=finalise(new n(o),e+o.e+1,t);r=finiteToString(s,false,e+s.e+1)}return o.isNeg()&&!o.isZero()?"-"+r:r};ar.toFraction=function(e){var t,r,s,o,n,A,i,a,c,l,u,g,p=this,d=p.d,E=p.constructor;if(!d)return new E(p);c=r=new E(1);s=a=new E(0);t=new E(s);n=t.e=getPrecision(d)-p.e-1;A=n%or;t.d[0]=Xt(10,A<0?or+A:A);if(e==null){e=n>0?t:c}else{i=new E(e);if(!i.isInt()||i.lt(c))throw Error(jt+i);e=i.gt(t)?n>0?t:c:i}Jt=false;i=new E(digitsToString(d));l=E.precision;E.precision=n=d.length*or*2;for(;;){u=cr(i,t,0,1,1);o=r.plus(u.times(s));if(o.cmp(e)==1)break;r=s;s=o;o=c;c=a.plus(u.times(o));a=o;o=t;t=i.minus(u.times(o));i=o}o=cr(e.minus(r),s,0,1,1);a=a.plus(o.times(c));r=r.plus(o.times(s));a.s=c.s=p.s;g=cr(c,s,n,1).minus(p).abs().cmp(cr(a,r,n,1).minus(p).abs())<1?[c,s]:[a,r];E.precision=l;Jt=true;return g};ar.toHexadecimal=ar.toHex=function(e,t){return toStringBinary(this,16,e,t)};ar.toNearest=function(e,t){var r=this,s=r.constructor;r=new s(r);if(e==null){if(!r.d)return r;e=new s(1);t=s.rounding}else{e=new s(e);if(t===void 0){t=s.rounding}else{checkInt32(t,0,8)}if(!r.d)return e.s?r:e;if(!e.d){if(e.s)e.s=r.s;return e}}if(e.d[0]){Jt=false;r=cr(r,e,0,t,1).times(e);Jt=true;finalise(r)}else{e.s=r.s;r=e}return r};ar.toNumber=function(){return+this};ar.toOctal=function(e,t){return toStringBinary(this,8,e,t)};ar.toPower=ar.pow=function(e){var t,r,s,o,n,A,i=this,a=i.constructor,c=+(e=new a(e));if(!i.d||!e.d||!i.d[0]||!e.d[0])return new a(Xt(+i,c));i=new a(i);if(i.eq(1))return i;s=a.precision;n=a.rounding;if(e.eq(1))return finalise(i,s,n);t=Zt(e.e/or);if(t>=e.d.length-1&&(r=c<0?-c:c)<=nr){o=intPow(a,i,r,s);return e.s<0?new a(1).div(o):finalise(o,s,n)}A=i.s;if(A<0){if(t<e.d.length-1)return new a(NaN);if((e.d[t]&1)==0)A=1;if(i.e==0&&i.d[0]==1&&i.d.length==1){i.s=A;return i}}r=Xt(+i,c);t=r==0||!isFinite(r)?Zt(c*(Math.log("0."+digitsToString(i.d))/Math.LN10+i.e+1)):new a(r+"").e;if(t>a.maxE+1||t<a.minE-1)return new a(t>0?A/0:0);Jt=false;a.rounding=i.s=1;r=Math.min(12,(t+"").length);o=naturalExponential(e.times(naturalLogarithm(i,s+r)),s);if(o.d){o=finalise(o,s+5,1);if(checkRoundingDigits(o.d,s,n)){t=s+10;o=finalise(naturalExponential(e.times(naturalLogarithm(i,t+r)),t),t+5,1);if(+digitsToString(o.d).slice(s+1,s+15)+1==1e14){o=finalise(o,s+1,0)}}}o.s=A;Jt=true;a.rounding=n;return finalise(o,s,n)};ar.toPrecision=function(e,t){var r,s=this,o=s.constructor;if(e===void 0){r=finiteToString(s,s.e<=o.toExpNeg||s.e>=o.toExpPos)}else{checkInt32(e,1,Lt);if(t===void 0)t=o.rounding;else checkInt32(t,0,8);s=finalise(new o(s),e,t);r=finiteToString(s,e<=s.e||s.e<=o.toExpNeg,e)}return s.isNeg()&&!s.isZero()?"-"+r:r};ar.toSignificantDigits=ar.toSD=function(e,t){var r=this,s=r.constructor;if(e===void 0){e=s.precision;t=s.rounding}else{checkInt32(e,1,Lt);if(t===void 0)t=s.rounding;else checkInt32(t,0,8)}return finalise(new s(r),e,t)};ar.toString=function(){var e=this,t=e.constructor,r=finiteToString(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()&&!e.isZero()?"-"+r:r};ar.truncated=ar.trunc=function(){return finalise(new this.constructor(this),this.e+1,1)};ar.valueOf=ar.toJSON=function(){var e=this,t=e.constructor,r=finiteToString(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()?"-"+r:r};function digitsToString(e){var t,r,s,o=e.length-1,n="",A=e[0];if(o>0){n+=A;for(t=1;t<o;t++){s=e[t]+"";r=or-s.length;if(r)n+=getZeroString(r);n+=s}A=e[t];s=A+"";r=or-s.length;if(r)n+=getZeroString(r)}else if(A===0){return"0"}for(;A%10===0;)A/=10;return n+A}function checkInt32(e,t,r){if(e!==~~e||e<t||e>r){throw Error(jt+e)}}function checkRoundingDigits(e,t,r,s){var o,n,A,i;for(n=e[0];n>=10;n/=10)--t;if(--t<0){t+=or;o=0}else{o=Math.ceil((t+1)/or);t%=or}n=Xt(10,or-t);i=e[o]%n|0;if(s==null){if(t<3){if(t==0)i=i/100|0;else if(t==1)i=i/10|0;A=r<4&&i==99999||r>3&&i==49999||i==5e4||i==0}else{A=(r<4&&i+1==n||r>3&&i+1==n/2)&&(e[o+1]/n/100|0)==Xt(10,t-2)-1||(i==n/2||i==0)&&(e[o+1]/n/100|0)==0}}else{if(t<4){if(t==0)i=i/1e3|0;else if(t==1)i=i/100|0;else if(t==2)i=i/10|0;A=(s||r<4)&&i==9999||!s&&r>3&&i==4999}else{A=((s||r<4)&&i+1==n||!s&&r>3&&i+1==n/2)&&(e[o+1]/n/1e3|0)==Xt(10,t-3)-1}}return A}function convertBase(e,t,r){var s,o=[0],n,A=0,i=e.length;for(;A<i;){for(n=o.length;n--;)o[n]*=t;o[0]+=Pt.indexOf(e.charAt(A++));for(s=0;s<o.length;s++){if(o[s]>r-1){if(o[s+1]===void 0)o[s+1]=0;o[s+1]+=o[s]/r|0;o[s]%=r}}}return o.reverse()}function cosine(e,t){var r,s,o;if(t.isZero())return t;s=t.d.length;if(s<32){r=Math.ceil(s/3);o=(1/tinyPow(4,r)).toString()}else{r=16;o="2.3283064365386962890625e-10"}e.precision+=r;t=taylorSeries(e,1,t.times(o),new e(1));for(var n=r;n--;){var A=t.times(t);t=A.times(A).minus(A).times(8).plus(1)}e.precision-=r;return t}var cr=function(){function multiplyInteger(e,t,r){var s,o=0,n=e.length;for(e=e.slice();n--;){s=e[n]*t+o;e[n]=s%r|0;o=s/r|0}if(o)e.unshift(o);return e}function compare(e,t,r,s){var o,n;if(r!=s){n=r>s?1:-1}else{for(o=n=0;o<r;o++){if(e[o]!=t[o]){n=e[o]>t[o]?1:-1;break}}}return n}function subtract(e,t,r,s){var o=0;for(;r--;){e[r]-=o;o=e[r]<t[r]?1:0;e[r]=o*s+e[r]-t[r]}for(;!e[0]&&e.length>1;)e.shift()}return function(e,t,r,s,o,n){var A,i,a,c,l,u,g,p,d,E,h,I,m,C,Q,B,y,w,b,R,T=e.constructor,k=e.s==t.s?1:-1,D=e.d,_=t.d;if(!D||!D[0]||!_||!_[0]){return new T(!e.s||!t.s||(D?_&&D[0]==_[0]:!_)?NaN:D&&D[0]==0||!_?k*0:k/0)}if(n){l=1;i=e.e-t.e}else{n=sr;l=or;i=Zt(e.e/l)-Zt(t.e/l)}b=_.length;y=D.length;d=new T(k);E=d.d=[];for(a=0;_[a]==(D[a]||0);a++);if(_[a]>(D[a]||0))i--;if(r==null){C=r=T.precision;s=T.rounding}else if(o){C=r+(e.e-t.e)+1}else{C=r}if(C<0){E.push(1);u=true}else{C=C/l+2|0;a=0;if(b==1){c=0;_=_[0];C++;for(;(a<y||c)&&C--;a++){Q=c*n+(D[a]||0);E[a]=Q/_|0;c=Q%_|0}u=c||a<y}else{c=n/(_[0]+1)|0;if(c>1){_=multiplyInteger(_,c,n);D=multiplyInteger(D,c,n);b=_.length;y=D.length}B=b;h=D.slice(0,b);I=h.length;for(;I<b;)h[I++]=0;R=_.slice();R.unshift(0);w=_[0];if(_[1]>=n/2)++w;do{c=0;A=compare(_,h,b,I);if(A<0){m=h[0];if(b!=I)m=m*n+(h[1]||0);c=m/w|0;if(c>1){if(c>=n)c=n-1;g=multiplyInteger(_,c,n);p=g.length;I=h.length;A=compare(g,h,p,I);if(A==1){c--;subtract(g,b<p?R:_,p,n)}}else{if(c==0)A=c=1;g=_.slice()}p=g.length;if(p<I)g.unshift(0);subtract(h,g,I,n);if(A==-1){I=h.length;A=compare(_,h,b,I);if(A<1){c++;subtract(h,b<I?R:_,I,n)}}I=h.length}else if(A===0){c++;h=[0]}E[a++]=c;if(A&&h[0]){h[I++]=D[B]||0}else{h=[D[B]];I=1}}while((B++<y||h[0]!==void 0)&&C--);u=h[0]!==void 0}if(!E[0])E.shift()}if(l==1){d.e=i;Vt=u}else{for(a=1,c=E[0];c>=10;c/=10)a++;d.e=a+i*l-1;finalise(d,o?r+d.e+1:r,s,u)}return d}}();function finalise(e,t,r,s){var o,n,A,i,a,c,l,u,g,p=e.constructor;e:if(t!=null){u=e.d;if(!u)return e;for(o=1,i=u[0];i>=10;i/=10)o++;n=t-o;if(n<0){n+=or;A=t;l=u[g=0];a=l/Xt(10,o-A-1)%10|0}else{g=Math.ceil((n+1)/or);i=u.length;if(g>=i){if(s){for(;i++<=g;)u.push(0);l=a=0;o=1;n%=or;A=n-or+1}else{break e}}else{l=i=u[g];for(o=1;i>=10;i/=10)o++;n%=or;A=n-or+o;a=A<0?0:l/Xt(10,o-A-1)%10|0}}s=s||t<0||u[g+1]!==void 0||(A<0?l:l%Xt(10,o-A-1));c=r<4?(a||s)&&(r==0||r==(e.s<0?3:2)):a>5||a==5&&(r==4||s||r==6&&(n>0?A>0?l/Xt(10,o-A):0:u[g-1])%10&1||r==(e.s<0?8:7));if(t<1||!u[0]){u.length=0;if(c){t-=e.e+1;u[0]=Xt(10,(or-t%or)%or);e.e=-t||0}else{u[0]=e.e=0}return e}if(n==0){u.length=g;i=1;g--}else{u.length=g+1;i=Xt(10,or-n);u[g]=A>0?(l/Xt(10,o-A)%Xt(10,A)|0)*i:0}if(c){for(;;){if(g==0){for(n=1,A=u[0];A>=10;A/=10)n++;A=u[0]+=i;for(i=1;A>=10;A/=10)i++;if(n!=i){e.e++;if(u[0]==sr)u[0]=1}break}else{u[g]+=i;if(u[g]!=sr)break;u[g--]=0;i=1}}}for(n=u.length;u[--n]===0;)u.pop()}if(Jt){if(e.e>p.maxE){e.d=null;e.e=NaN}else if(e.e<p.minE){e.e=0;e.d=[0]}}return e}function finiteToString(e,t,r){if(!e.isFinite())return nonFiniteToString(e);var s,o=e.e,n=digitsToString(e.d),A=n.length;if(t){if(r&&(s=r-A)>0){n=n.charAt(0)+"."+n.slice(1)+getZeroString(s)}else if(A>1){n=n.charAt(0)+"."+n.slice(1)}n=n+(e.e<0?"e":"e+")+e.e}else if(o<0){n="0."+getZeroString(-o-1)+n;if(r&&(s=r-A)>0)n+=getZeroString(s)}else if(o>=A){n+=getZeroString(o+1-A);if(r&&(s=r-o-1)>0)n=n+"."+getZeroString(s)}else{if((s=o+1)<A)n=n.slice(0,s)+"."+n.slice(s);if(r&&(s=r-A)>0){if(o+1===A)n+=".";n+=getZeroString(s)}}return n}function getBase10Exponent(e,t){var r=e[0];for(t*=or;r>=10;r/=10)t++;return t}function getLn10(e,t,r){if(t>Ar){Jt=true;if(r)e.precision=r;throw Error(Wt)}return finalise(new e(Mt),t,1,true)}function getPi(e,t,r){if(t>ir)throw Error(Wt);return finalise(new e(xt),t,r,true)}function getPrecision(e){var t=e.length-1,r=t*or+1;t=e[t];if(t){for(;t%10==0;t/=10)r--;for(t=e[0];t>=10;t/=10)r++}return r}function getZeroString(e){var t="";for(;e--;)t+="0";return t}function intPow(e,t,r,s){var o,n=new e(1),A=Math.ceil(s/or+4);Jt=false;for(;;){if(r%2){n=n.times(t);if(truncate(n.d,A))o=true}r=Zt(r/2);if(r===0){r=n.d.length-1;if(o&&n.d[r]===0)++n.d[r];break}t=t.times(t);truncate(t.d,A)}Jt=true;return n}function isOdd(e){return e.d[e.d.length-1]&1}function maxOrMin(e,t,r){var s,o,n=new e(t[0]),A=0;for(;++A<t.length;){o=new e(t[A]);if(!o.s){n=o;break}s=n.cmp(o);if(s===r||s===0&&n.s===r){n=o}}return n}function naturalExponential(e,t){var r,s,o,n,A,i,a,c=0,l=0,u=0,g=e.constructor,p=g.rounding,d=g.precision;if(!e.d||!e.d[0]||e.e>17){return new g(e.d?!e.d[0]?1:e.s<0?0:1/0:e.s?e.s<0?0:e:0/0)}if(t==null){Jt=false;a=d}else{a=t}i=new g(.03125);while(e.e>-2){e=e.times(i);u+=5}s=Math.log(Xt(2,u))/Math.LN10*2+5|0;a+=s;r=n=A=new g(1);g.precision=a;for(;;){n=finalise(n.times(e),a,1);r=r.times(++l);i=A.plus(cr(n,r,a,1));if(digitsToString(i.d).slice(0,a)===digitsToString(A.d).slice(0,a)){o=u;while(o--)A=finalise(A.times(A),a,1);if(t==null){if(c<3&&checkRoundingDigits(A.d,a-s,p,c)){g.precision=a+=10;r=n=i=new g(1);l=0;c++}else{return finalise(A,g.precision=d,p,Jt=true)}}else{g.precision=d;return A}}A=i}}function naturalLogarithm(e,t){var r,s,o,n,A,i,a,c,l,u,g,p=1,d=10,E=e,h=E.d,I=E.constructor,m=I.rounding,C=I.precision;if(E.s<0||!h||!h[0]||!E.e&&h[0]==1&&h.length==1){return new I(h&&!h[0]?-1/0:E.s!=1?NaN:h?0:E)}if(t==null){Jt=false;l=C}else{l=t}I.precision=l+=d;r=digitsToString(h);s=r.charAt(0);if(Math.abs(n=E.e)<15e14){while(s<7&&s!=1||s==1&&r.charAt(1)>3){E=E.times(e);r=digitsToString(E.d);s=r.charAt(0);p++}n=E.e;if(s>1){E=new I("0."+r);n++}else{E=new I(s+"."+r.slice(1))}}else{c=getLn10(I,l+2,C).times(n+"");E=naturalLogarithm(new I(s+"."+r.slice(1)),l-d).plus(c);I.precision=C;return t==null?finalise(E,C,m,Jt=true):E}u=E;a=A=E=cr(E.minus(1),E.plus(1),l,1);g=finalise(E.times(E),l,1);o=3;for(;;){A=finalise(A.times(g),l,1);c=a.plus(cr(A,new I(o),l,1));if(digitsToString(c.d).slice(0,l)===digitsToString(a.d).slice(0,l)){a=a.times(2);if(n!==0)a=a.plus(getLn10(I,l+2,C).times(n+""));a=cr(a,new I(p),l,1);if(t==null){if(checkRoundingDigits(a.d,l-d,m,i)){I.precision=l+=d;c=A=E=cr(u.minus(1),u.plus(1),l,1);g=finalise(E.times(E),l,1);o=i=1}else{return finalise(a,I.precision=C,m,Jt=true)}}else{I.precision=C;return a}}a=c;o+=2}}function nonFiniteToString(e){return String(e.s*e.s/0)}function parseDecimal(e,t){var r,s,o;if((r=t.indexOf("."))>-1)t=t.replace(".","");if((s=t.search(/e/i))>0){if(r<0)r=s;r+=+t.slice(s+1);t=t.substring(0,s)}else if(r<0){r=t.length}for(s=0;t.charCodeAt(s)===48;s++);for(o=t.length;t.charCodeAt(o-1)===48;--o);t=t.slice(s,o);if(t){o-=s;e.e=r=r-s-1;e.d=[];s=(r+1)%or;if(r<0)s+=or;if(s<o){if(s)e.d.push(+t.slice(0,s));for(o-=or;s<o;)e.d.push(+t.slice(s,s+=or));t=t.slice(s);s=or-t.length}else{s-=o}for(;s--;)t+="0";e.d.push(+t);if(Jt){if(e.e>e.constructor.maxE){e.d=null;e.e=NaN}else if(e.e<e.constructor.minE){e.e=0;e.d=[0]}}}else{e.e=0;e.d=[0]}return e}function parseOther(e,t){var r,s,o,n,A,i,a,c,l;if(t.indexOf("_")>-1){t=t.replace(/(\d)_(?=\d)/g,"$1");if(rr.test(t))return parseDecimal(e,t)}else if(t==="Infinity"||t==="NaN"){if(!+t)e.s=NaN;e.e=NaN;e.d=null;return e}if(er.test(t)){r=16;t=t.toLowerCase()}else if($t.test(t)){r=2}else if(tr.test(t)){r=8}else{throw Error(jt+t)}n=t.search(/p/i);if(n>0){a=+t.slice(n+1);t=t.substring(2,n)}else{t=t.slice(2)}n=t.indexOf(".");A=n>=0;s=e.constructor;if(A){t=t.replace(".","");i=t.length;n=i-n;o=intPow(s,new s(r),n,n*2)}c=convertBase(t,r,sr);l=c.length-1;for(n=l;c[n]===0;--n)c.pop();if(n<0)return new s(e.s*0);e.e=getBase10Exponent(c,l);e.d=c;Jt=false;if(A)e=cr(e,o,i*4);if(a)e=e.times(Math.abs(a)<54?Xt(2,a):lr.pow(2,a));Jt=true;return e}function sine(e,t){var r,s=t.d.length;if(s<3){return t.isZero()?t:taylorSeries(e,2,t,t)}r=1.4*Math.sqrt(s);r=r>16?16:r|0;t=t.times(1/tinyPow(5,r));t=taylorSeries(e,2,t,t);var o,n=new e(5),A=new e(16),i=new e(20);for(;r--;){o=t.times(t);t=t.times(n.plus(o.times(A.times(o).minus(i))))}return t}function taylorSeries(e,t,r,s,o){var n,A,i,a,c=1,l=e.precision,u=Math.ceil(l/or);Jt=false;a=r.times(r);i=new e(s);for(;;){A=cr(i.times(a),new e(t++*t++),l,1);i=o?s.plus(A):s.minus(A);s=cr(A.times(a),new e(t++*t++),l,1);A=i.plus(s);if(A.d[u]!==void 0){for(n=u;A.d[n]===i.d[n]&&n--;);if(n==-1)break}n=i;i=s;s=A;A=n;c++}Jt=true;A.d.length=u+1;return A}function tinyPow(e,t){var r=e;while(--t)r*=e;return r}function toLessThanHalfPi(e,t){var r,s=t.s<0,o=getPi(e,e.precision,1),n=o.times(.5);t=t.abs();if(t.lte(n)){Yt=s?4:1;return t}r=t.divToInt(o);if(r.isZero()){Yt=s?3:2}else{t=t.minus(r.times(o));if(t.lte(n)){Yt=isOdd(r)?s?2:3:s?4:1;return t}Yt=isOdd(r)?s?1:4:s?3:2}return t.minus(o).abs()}function toStringBinary(e,t,r,s){var o,n,A,i,a,c,l,u,g,p=e.constructor,d=r!==void 0;if(d){checkInt32(r,1,Lt);if(s===void 0)s=p.rounding;else checkInt32(s,0,8)}else{r=p.precision;s=p.rounding}if(!e.isFinite()){l=nonFiniteToString(e)}else{l=finiteToString(e);A=l.indexOf(".");if(d){o=2;if(t==16){r=r*4-3}else if(t==8){r=r*3-2}}else{o=t}if(A>=0){l=l.replace(".","");g=new p(1);g.e=l.length-A;g.d=convertBase(finiteToString(g),10,o);g.e=g.d.length}u=convertBase(l,10,o);n=a=u.length;for(;u[--a]==0;)u.pop();if(!u[0]){l=d?"0p+0":"0"}else{if(A<0){n--}else{e=new p(e);e.d=u;e.e=n;e=cr(e,g,r,s,0,o);u=e.d;n=e.e;c=Vt}A=u[r];i=o/2;c=c||u[r+1]!==void 0;c=s<4?(A!==void 0||c)&&(s===0||s===(e.s<0?3:2)):A>i||A===i&&(s===4||c||s===6&&u[r-1]&1||s===(e.s<0?8:7));u.length=r;if(c){for(;++u[--r]>o-1;){u[r]=0;if(!r){++n;u.unshift(1)}}}for(a=u.length;!u[a-1];--a);for(A=0,l="";A<a;A++)l+=Pt.charAt(u[A]);if(d){if(a>1){if(t==16||t==8){A=t==16?4:3;for(--a;a%A;a++)l+="0";u=convertBase(l,o,t);for(a=u.length;!u[a-1];--a);for(A=1,l="1.";A<a;A++)l+=Pt.charAt(u[A])}else{l=l.charAt(0)+"."+l.slice(1)}}l=l+(n<0?"p":"p+")+n}else if(n<0){for(;++n;)l="0"+l;l="0."+l}else{if(++n>a)for(n-=a;n--;)l+="0";else if(n<a)l=l.slice(0,n)+"."+l.slice(n)}}l=(t==16?"0x":t==2?"0b":t==8?"0o":"")+l}return e.s<0?"-"+l:l}function truncate(e,t){if(e.length>t){e.length=t;return true}}function abs(e){return new this(e).abs()}function acos(e){return new this(e).acos()}function acosh(e){return new this(e).acosh()}function add(e,t){return new this(e).plus(t)}function asin(e){return new this(e).asin()}function asinh(e){return new this(e).asinh()}function atan(e){return new this(e).atan()}function atanh(e){return new this(e).atanh()}function atan2(e,t){e=new this(e);t=new this(t);var r,s=this.precision,o=this.rounding,n=s+4;if(!e.s||!t.s){r=new this(NaN)}else if(!e.d&&!t.d){r=getPi(this,n,1).times(t.s>0?.25:.75);r.s=e.s}else if(!t.d||e.isZero()){r=t.s<0?getPi(this,s,o):new this(0);r.s=e.s}else if(!e.d||t.isZero()){r=getPi(this,n,1).times(.5);r.s=e.s}else if(t.s<0){this.precision=n;this.rounding=1;r=this.atan(cr(e,t,n,1));t=getPi(this,n,1);this.precision=s;this.rounding=o;r=e.s<0?r.minus(t):r.plus(t)}else{r=this.atan(cr(e,t,n,1))}return r}function cbrt(e){return new this(e).cbrt()}function ceil(e){return finalise(e=new this(e),e.e+1,2)}function clamp(e,t,r){return new this(e).clamp(t,r)}function config(e){if(!e||typeof e!=="object")throw Error(qt+"Object expected");var t,r,s,o=e.defaults===true,n=["precision",1,Lt,"rounding",0,8,"toExpNeg",-Gt,0,"toExpPos",0,Gt,"maxE",0,Gt,"minE",-Gt,0,"modulo",0,9];for(t=0;t<n.length;t+=3){if(r=n[t],o)this[r]=Ht[r];if((s=e[r])!==void 0){if(Zt(s)===s&&s>=n[t+1]&&s<=n[t+2])this[r]=s;else throw Error(jt+r+": "+s)}}if(r="crypto",o)this[r]=Ht[r];if((s=e[r])!==void 0){if(s===true||s===false||s===0||s===1){if(s){if(typeof crypto!="undefined"&&crypto&&(crypto.getRandomValues||crypto.randomBytes)){this[r]=true}else{throw Error(Kt)}}else{this[r]=false}}else{throw Error(jt+r+": "+s)}}return this}function cos(e){return new this(e).cos()}function cosh(e){return new this(e).cosh()}function clone(e){var t,r,s;function Decimal(e){var t,r,s,o=this;if(!(o instanceof Decimal))return new Decimal(e);o.constructor=Decimal;if(isDecimalInstance(e)){o.s=e.s;if(Jt){if(!e.d||e.e>Decimal.maxE){o.e=NaN;o.d=null}else if(e.e<Decimal.minE){o.e=0;o.d=[0]}else{o.e=e.e;o.d=e.d.slice()}}else{o.e=e.e;o.d=e.d?e.d.slice():e.d}return}s=typeof e;if(s==="number"){if(e===0){o.s=1/e<0?-1:1;o.e=0;o.d=[0];return}if(e<0){e=-e;o.s=-1}else{o.s=1}if(e===~~e&&e<1e7){for(t=0,r=e;r>=10;r/=10)t++;if(Jt){if(t>Decimal.maxE){o.e=NaN;o.d=null}else if(t<Decimal.minE){o.e=0;o.d=[0]}else{o.e=t;o.d=[e]}}else{o.e=t;o.d=[e]}return}if(e*0!==0){if(!e)o.s=NaN;o.e=NaN;o.d=null;return}return parseDecimal(o,e.toString())}if(s==="string"){if((r=e.charCodeAt(0))===45){e=e.slice(1);o.s=-1}else{if(r===43)e=e.slice(1);o.s=1}return rr.test(e)?parseDecimal(o,e):parseOther(o,e)}if(s==="bigint"){if(e<0){e=-e;o.s=-1}else{o.s=1}return parseDecimal(o,e.toString())}throw Error(jt+e)}Decimal.prototype=ar;Decimal.ROUND_UP=0;Decimal.ROUND_DOWN=1;Decimal.ROUND_CEIL=2;Decimal.ROUND_FLOOR=3;Decimal.ROUND_HALF_UP=4;Decimal.ROUND_HALF_DOWN=5;Decimal.ROUND_HALF_EVEN=6;Decimal.ROUND_HALF_CEIL=7;Decimal.ROUND_HALF_FLOOR=8;Decimal.EUCLID=9;Decimal.config=Decimal.set=config;Decimal.clone=clone;Decimal.isDecimal=isDecimalInstance;Decimal.abs=abs;Decimal.acos=acos;Decimal.acosh=acosh;Decimal.add=add;Decimal.asin=asin;Decimal.asinh=asinh;Decimal.atan=atan;Decimal.atanh=atanh;Decimal.atan2=atan2;Decimal.cbrt=cbrt;Decimal.ceil=ceil;Decimal.clamp=clamp;Decimal.cos=cos;Decimal.cosh=cosh;Decimal.div=div;Decimal.exp=exp;Decimal.floor=floor;Decimal.hypot=hypot;Decimal.ln=ln;Decimal.log=log;Decimal.log10=log10;Decimal.log2=log2;Decimal.max=max;Decimal.min=min;Decimal.mod=mod;Decimal.mul=mul;Decimal.pow=pow;Decimal.random=random;Decimal.round=round;Decimal.sign=sign;Decimal.sin=sin;Decimal.sinh=sinh;Decimal.sqrt=sqrt;Decimal.sub=sub;Decimal.sum=sum;Decimal.tan=tan;Decimal.tanh=tanh;Decimal.trunc=trunc;if(e===void 0)e={};if(e){if(e.defaults!==true){s=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"];for(t=0;t<s.length;)if(!e.hasOwnProperty(r=s[t++]))e[r]=this[r]}}Decimal.config(e);return Decimal}function div(e,t){return new this(e).div(t)}function exp(e){return new this(e).exp()}function floor(e){return finalise(e=new this(e),e.e+1,3)}function hypot(){var e,t,r=new this(0);Jt=false;for(e=0;e<arguments.length;){t=new this(arguments[e++]);if(!t.d){if(t.s){Jt=true;return new this(1/0)}r=t}else if(r.d){r=r.plus(t.times(t))}}Jt=true;return r.sqrt()}function isDecimalInstance(e){return e instanceof lr||e&&e.toStringTag===zt||false}function ln(e){return new this(e).ln()}function log(e,t){return new this(e).log(t)}function log2(e){return new this(e).log(2)}function log10(e){return new this(e).log(10)}function max(){return maxOrMin(this,arguments,-1)}function min(){return maxOrMin(this,arguments,1)}function mod(e,t){return new this(e).mod(t)}function mul(e,t){return new this(e).mul(t)}function pow(e,t){return new this(e).pow(t)}function random(e){var t,r,s,o,n=0,A=new this(1),i=[];if(e===void 0)e=this.precision;else checkInt32(e,1,Lt);s=Math.ceil(e/or);if(!this.crypto){for(;n<s;)i[n++]=Math.random()*1e7|0}else if(crypto.getRandomValues){t=crypto.getRandomValues(new Uint32Array(s));for(;n<s;){o=t[n];if(o>=429e7){t[n]=crypto.getRandomValues(new Uint32Array(1))[0]}else{i[n++]=o%1e7}}}else if(crypto.randomBytes){t=crypto.randomBytes(s*=4);for(;n<s;){o=t[n]+(t[n+1]<<8)+(t[n+2]<<16)+((t[n+3]&127)<<24);if(o>=214e7){crypto.randomBytes(4).copy(t,n)}else{i.push(o%1e7);n+=4}}n=s/4}else{throw Error(Kt)}s=i[--n];e%=or;if(s&&e){o=Xt(10,or-e);i[n]=(s/o|0)*o}for(;i[n]===0;n--)i.pop();if(n<0){r=0;i=[0]}else{r=-1;for(;i[0]===0;r-=or)i.shift();for(s=1,o=i[0];o>=10;o/=10)s++;if(s<or)r-=or-s}A.e=r;A.d=i;return A}function round(e){return finalise(e=new this(e),e.e+1,this.rounding)}function sign(e){e=new this(e);return e.d?e.d[0]?e.s:0*e.s:e.s||NaN}function sin(e){return new this(e).sin()}function sinh(e){return new this(e).sinh()}function sqrt(e){return new this(e).sqrt()}function sub(e,t){return new this(e).sub(t)}function sum(){var e=0,t=arguments,r=new this(t[e]);Jt=false;for(;r.s&&++e<t.length;)r=r.plus(t[e]);Jt=true;return finalise(r,this.precision,this.rounding)}function tan(e){return new this(e).tan()}function tanh(e){return new this(e).tanh()}function trunc(e){return finalise(e=new this(e),e.e+1,1)}ar[Symbol.for("nodejs.util.inspect.custom")]=ar.toString;ar[Symbol.toStringTag]="Decimal";var lr=ar.constructor=clone(Ht);Mt=new lr(Mt);xt=new lr(xt);const ur=null&&lr;function calculateTaskPrice(e,t,r,s){const o=s??e.config.basePriceMultiplier;const n=new lr(r).div(10);return new lr(o).mul(1e3).mul(t).mul(n).toDecimalPlaces(2).toString()}function getPrice(e,t,r){const s=e.logger;const{labels:o}=e.config;if(!t||!r)throw s.error("Time or priority label is not defined");const n=o.time.find((e=>e.name===t.name));if(!n)throw s.error("Time label is not recognized");const A=o.priority.find((e=>e.name===r.name));if(!A)throw s.error("Priority label is not recognized");const i=calculateLabelValue(n.name);if(i===null)throw s.error("Time value is not defined");const a=calculateLabelValue(A.name);if(a===null)throw s.error("Priority value is not defined");const c=calculateTaskPrice(e,i,a);return`Price: ${c} USD`}function calculateLabelValue(e){const t=e.match(/\d+/);if(!t?.length)return null;const r=parseInt(t[0]);if(e.toLowerCase().includes("priority"))return r;if(e.toLowerCase().includes("minute"))return r*.002;if(e.toLowerCase().includes("hour"))return r*.125;if(e.toLowerCase().includes("day"))return 1+(r-1)*.25;if(e.toLowerCase().includes("week"))return r+1;if(e.toLowerCase().includes("month"))return 5+(r-1)*8;return null}const gr="No owner found in the repository!";async function syncPriceLabelsToConfig(e){const{config:t,logger:r}=e;const s=[];for(const o of t.labels.time){for(const n of t.labels.priority){const A=calculateLabelValue(o.name);const i=calculateLabelValue(n.name);if(A===null||i===null){r.info("Time or Priority label is not defined, skipping.",{timeLabel:o,priorityLabel:n});continue}const a=calculateTaskPrice(e,A,i,t.basePriceMultiplier);const c=`Price: ${a} USD`;s.push({name:c})}}const o=[...s,...t.labels.time,...t.labels.priority];const n=await listLabelsForRepo(e);const A=n.filter((e=>e.name.startsWith("Price: ")&&!s.some((t=>t.name===e.name))));if(A.length>0&&t.globalConfigUpdate){await handleGlobalUpdate(e,r,A)}const i=n.filter((e=>e.name.startsWith("Price: ")&&e.color!==Nt.price));if(i.length>0){r.info("Incorrect color labels found, updating them",{incorrectColorPriceLabels:i.map((e=>e.name))});const t=e.payload.repository.owner?.login;if(!t){throw r.error(gr)}await Promise.allSettled(i.map((r=>e.octokit.rest.issues.updateLabel({owner:t,repo:e.payload.repository.name,name:r.name,color:Nt.price}))));r.info(`Updating incorrect color labels done`)}const a=[...new Set(o.filter((e=>!n.map((e=>e.name)).includes(e.name))))];if(a.length>0){r.info("Missing labels found, creating them",{missingLabels:a});await Promise.allSettled(a.map((t=>createLabel(e,t.name,"default"))));r.info(`Creating missing labels done`)}}async function handleGlobalUpdate(e,t,r){t.info("Incorrect price labels found, removing them",{incorrectPriceLabels:r.map((e=>e.name))});const s=e.payload.repository.owner?.login;if(!s){throw t.error("No owner found in the repository!")}for(const o of r){t.info(`Removing incorrect price label ${o.name}`);try{await e.octokit.rest.issues.deleteLabel({owner:s,repo:e.payload.repository.name,name:o.name})}catch(e){t.error("Error deleting label",{er:e})}}t.info(`Removing incorrect price labels done`)}var pr;(function(e){e["User"]="User";e["Bot"]="Bot"})(pr||(pr={}));async function labelAccessPermissionsCheck(e){if(!isIssueLabelEvent(e)){e.logger.debug("Not an issue event");return false}const{logger:t,payload:r}=e;const{publicAccessControl:s}=e.config;if(!r.label?.name)return false;if(s.setLabel){t.info("Public access control is enabled for setting labels");return true}if(r.sender?.type===pr.Bot){t.info("Bot has full control over all labels");return true}const o=r.sender?.login;if(!o){throw t.error("No sender found in the payload")}const n=r.repository;const A=await isUserAdminOrBillingManager(e,o);const i=r.label.name;const a=r.label?.name?.split(":");if(a.length<=1)return false;const c=a[0].toLowerCase();let l;if("action"in r){l=r.action}else{throw new Error("No action found in payload")}if(A){t.info("Admin and billing managers have full control over all labels",{repo:n.full_name,user:o,labelType:c});return true}else{return handleInsufficientPrivileges(e,c,o,n,l,i)}}async function handleInsufficientPrivileges(e,t,r,s,o,n){const{logger:A,config:i,commentHandler:a}=e;A.info("Checking access for labels",{repo:s.full_name,user:r,labelType:t});if(i.publicAccessControl.protectLabels.some((e=>e.toLowerCase()===t.toLowerCase()))){await a.postComment(e,A.error(`You do not have permissions to adjust ${i.publicAccessControl.protectLabels.map((e=>`\`${e}\``)).join(", ")} labels.`,{sender:r,label:n}));if(o==="labeled"){await removeLabelFromIssue(e,n)}else if(o==="unlabeled"){await addLabelToIssue(e,n)}return false}return true}async function handleParentIssue(e,t){const r=t.filter((e=>e.name.toString().startsWith("Price:")));if(r.length){await clearAllPriceLabelsOnIssue(e)}throw e.logger.error("Pricing is disabled on parent issues.")}function sortLabelsByValue(e){return e.sort(((e,t)=>(calculateLabelValue(e.name)||0)-(calculateLabelValue(t.name)||0)))}function isParentIssue(e){const t=/-\s+\[([ x])]\s+#\d+/;return RegExp(t).exec(e)}async function onLabelChangeSetPricing(e){if(!isIssueLabelEvent(e)){e.logger.debug("Not an issue event");return}const t=e.config;const r=e.logger;const s=e.payload;const o=s.repository.owner?.login;if(!o){r.error("No owner found in the repository");return}const n=s.issue.labels;if(!n){r.info(`No labels to calculate price`);return}if(s.issue.body&&isParentIssue(s.issue.body)){await handleParentIssue(e,n);return}const A=await labelAccessPermissionsCheck(e);if(!A){return}const i=s.label?.name.includes("Price: ");if(i){r.info("This is setting the price label directly so skipping the rest of the action.");const t=n.filter((e=>e.name.includes("Price: ")));const A=sortLabelsByValue(t);const i=A.shift();const a=i?.name;if(a){for(const t of A){await e.octokit.rest.issues.removeLabel({owner:o,repo:s.repository.name,issue_number:s.issue.number,name:t.name})}}return}await setPriceLabel(e,n,t)}async function setPriceLabel(e,t,r){const s=e.logger;const o=t.map((e=>e.name));const n=getRecognizedLabels(t,r);if(!n.time.length||!n.priority.length){s.error("No recognized labels to calculate price");await clearAllPriceLabelsOnIssue(e);return}const A=getMinLabels(n);if(!A.time||!A.priority){s.error("No label to calculate price");return}for(const t of n.priority){if(t.name!==A.time?.name){await removeLabelFromIssue(e,t.name)}}const i=getPrice(e,A.time,A.priority);if(i){await handleTargetPriceLabel(e,{name:i,description:null},o);await clearAllPriceLabelsOnIssue(e);s.info(`Skipping action...`)}}function getRecognizedLabels(e,t){function isRecognizedLabel(e,t){return(typeof e==="string"||typeof e==="object")&&t.some((t=>t===e.name))}const r=e.filter((e=>isRecognizedLabel(e,t.labels.time.map((e=>e.name)))));const s=e.filter((e=>isRecognizedLabel(e,t.labels.priority.map((e=>e.name)))));return{time:r,priority:s}}function getMinLabels(e){const t=sortLabelsByValue(e.time).shift();const r=sortLabelsByValue(e.priority).shift();return{time:t,priority:r}}async function handleTargetPriceLabel(e,t,r){const{repository:s}=e.payload;if(s.name==="devpool-directory"){t.name=t.name.replace("Price: ","Pricing: ")}const o=r.find((e=>e.includes(t.name)));if(o){await handleExistingPriceLabel(e,t.name)}else{const r=await listLabelsForRepo(e);if(r.filter((e=>e.name.includes(t.name))).length===0){await createLabel(e,t.name,"price")}await addPriceLabelToIssue(e,t.name)}}async function handleExistingPriceLabel(e,t){const r=e.logger;let s=await getAllLabeledEvents(e);if(!s)return r.error("No labeled events found");s=s.filter((e=>"label"in e&&e.label.name.includes("Price")));if(!s.length)return r.error("No price labeled events found");if(s[s.length-1].actor?.type==pr.User){r.info(`Skipping... already exists`)}else{await addPriceLabelToIssue(e,t)}}async function addPriceLabelToIssue(e,t){await clearAllPriceLabelsOnIssue(e);await addLabelToIssue(e,t)}async function getAllLabeledEvents(e){const t=await getAllIssueEvents(e);if(!t)return null;return t.filter((e=>e.event==="labeled"))}async function getAllIssueEvents(e){if(!("issue"in e.payload)||!e.payload.issue){e.logger.debug("Not an issue event");return}try{return await e.octokit.paginate(e.octokit.rest.issues.listEvents,{owner:e.payload.repository.owner.login,repo:e.payload.repository.name,issue_number:e.payload.issue.number,per_page:100})}catch(t){e.logger.error("Failed to fetch lists of events",{err:t});return[]}}async function isAuthed(e){if(!isPushEvent(e)){e.logger.debug("Not a push event");return false}const{payload:t,logger:r}=e;const s=t.sender?.login;const o=t.pusher?.name;const n=await isUserAdminOrBillingManager(e,o);const A=await isUserAdminOrBillingManager(e,s);if(!n){r.error("Pusher is not an admin or billing manager")}if(!A){r.error("Sender is not an admin or billing manager")}return!!(n&&A)}async function globalLabelUpdate(e){if(!isPushEvent(e)){e.logger.debug("Not a push event");return}const{logger:t,config:r}=e;if(!await isAuthed(e)){t.error("Changes should be pushed and triggered by an admin or billing manager.");return}if(!await isConfigModified(e)){return}const s=await getBaseRateChanges(e);const o=await getLabelsChanges(e);if(s.newBaseRate===null&&!o){t.error("No changes found in the diff, skipping.");return}if(s.newBaseRate!==null){t.info(`Updating base rate from ${s.previousBaseRate} to ${s.newBaseRate}`);r.basePriceMultiplier=s.newBaseRate}const n=await listOrgRepos(e);for(const t of n){const r={...e,payload:{repository:t}};await syncPriceLabelsToConfig(r)}if(r.globalConfigUpdate){await updateAllIssuePriceLabels(e)}}async function updateAllIssuePriceLabels(e){const{logger:t,config:r}=e;const s=await listOrgRepos(e);for(const o of s){t.info(`Fetching issues for ${o.name}`);const s=await listRepoIssues(e,o.owner.login,o.name);for(const n of s){t.info(`Updating issue ${n.number} in ${o.name}`);await setPriceLabel({...e,payload:{repository:o,issue:n}},n.labels,r);await new Promise((e=>setTimeout(e,50)))}}}function isGithubOrLocalEnvironment(){return process.env.NODE_ENV==="local"||!!process.env.GITHUB_ACTIONS}function isWorkerOrLocalEnvironment(){return process.env.NODE_ENV==="local"||!process.env.GITHUB_ACTIONS}async function run(e){const{eventName:t,logger:r}=e;switch(t){case"issues.opened":case"repository.created":if(isGithubOrLocalEnvironment()){await syncPriceLabelsToConfig(e)}break;case"issues.labeled":case"issues.unlabeled":if(isIssueLabelEvent(e)){if(isGithubOrLocalEnvironment()){await syncPriceLabelsToConfig(e)}if(isWorkerOrLocalEnvironment()){await onLabelChangeSetPricing(e)}}break;case"push":if(isGithubOrLocalEnvironment()){await globalLabelUpdate(e)}break;default:r.error(`Event ${t} is not supported`)}return{message:"OK"}}const dr=rt.Object({LOG_LEVEL:rt.Optional(rt.Enum(A)),KERNEL_PUBLIC_KEY:rt.Optional(rt.String()),ACTION_REF:rt.Optional(rt.String()),APP_ID:rt.Optional(rt.String()),APP_PRIVATE_KEY:rt.Optional(rt.String()),APP_INSTALLATION_ID:rt.Optional(rt.String())});const Er=rt.Object({globalConfigUpdate:rt.Optional(rt.Object({excludeRepos:rt.Array(rt.String(),{examples:["repo-name","no-owner-required"],description:"List of repositories to exclude from being updated"})},{description:"Updates all price labels across all tasks based on `baseRateMultiplier` changes within the config file."})),labels:rt.Object({time:rt.Array(rt.Object({name:rt.String({examples:["Time: <2 Hours","Time: <1 Week"],description:"The display name of the label representing estimated task length"})}),{default:[{name:"Time: <15 Minutes",collaboratorOnly:false},{name:"Time: <1 Hour",collaboratorOnly:false},{name:"Time: <2 Hours",collaboratorOnly:false},{name:"Time: <4 Hours",collaboratorOnly:false},{name:"Time: <1 Day",collaboratorOnly:false},{name:"Time: <1 Week",collaboratorOnly:false}]}),priority:rt.Array(rt.Object({name:rt.String({examples:["Priority: 1 (Normal)","Priority: 5 (Emergency)"],description:"The display name of the label representing task priority"}),collaboratorOnly:rt.Boolean({default:false,description:"Whether the task is only available for collaborators to be assigned"})}),{default:[{name:"Priority: 0 (Regression)",collaboratorOnly:false},{name:"Priority: 1 (Normal)",collaboratorOnly:false},{name:"Priority: 2 (Medium)",collaboratorOnly:false},{name:"Priority: 3 (High)",collaboratorOnly:false},{name:"Priority: 4 (Urgent)",collaboratorOnly:false},{name:"Priority: 5 (Emergency)",collaboratorOnly:false}]})},{default:{}}),basePriceMultiplier:rt.Number({examples:[1.5],default:1,description:"The base price multiplier for all tasks"}),publicAccessControl:rt.Object({setLabel:rt.Boolean({default:false,description:"Whether to allow anyone to set labels, false to perform permission validation"}),fundExternalClosedIssue:rt.Boolean({default:false,description:"Whether to allow funding external closed issues"}),protectLabels:rt.Array(rt.String(),{default:["priority","price","time"],uniqueItems:true})},{default:{}})},{default:{}});createActionsPlugin((e=>run(e)),{envSchema:dr,postCommentOnError:true,settingsSchema:Er,logLevel:process.env.LOG_LEVEL||A.INFO,kernelPublicKey:process.env.KERNEL_PUBLIC_KEY,bypassSignatureVerification:process.env.NODE_ENV==="local"}).catch(console.error);
\ No newline at end of file
+var Pt=9e15,Mt=1e9,xt="0123456789abcdef",Ht="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",Vt="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",Yt={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-Pt,maxE:Pt,crypto:false},Jt,qt,jt=true,Wt="[DecimalError] ",Kt=Wt+"Invalid argument: ",zt=Wt+"Precision limit exceeded",Zt=Wt+"crypto unavailable",Xt="[object Decimal]",$t=Math.floor,er=Math.pow,tr=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,rr=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,sr=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,or=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,nr=1e7,Ar=7,ir=9007199254740991,ar=Ht.length-1,cr=Vt.length-1,lr={toStringTag:Xt};lr.absoluteValue=lr.abs=function(){var e=new this.constructor(this);if(e.s<0)e.s=1;return finalise(e)};lr.ceil=function(){return finalise(new this.constructor(this),this.e+1,2)};lr.clampedTo=lr.clamp=function(e,t){var r,s=this,o=s.constructor;e=new o(e);t=new o(t);if(!e.s||!t.s)return new o(NaN);if(e.gt(t))throw Error(Kt+t);r=s.cmp(e);return r<0?e:s.cmp(t)>0?t:new o(s)};lr.comparedTo=lr.cmp=function(e){var t,r,s,o,n=this,A=n.d,i=(e=new n.constructor(e)).d,a=n.s,c=e.s;if(!A||!i){return!a||!c?NaN:a!==c?a:A===i?0:!A^a<0?1:-1}if(!A[0]||!i[0])return A[0]?a:i[0]?-c:0;if(a!==c)return a;if(n.e!==e.e)return n.e>e.e^a<0?1:-1;s=A.length;o=i.length;for(t=0,r=s<o?s:o;t<r;++t){if(A[t]!==i[t])return A[t]>i[t]^a<0?1:-1}return s===o?0:s>o^a<0?1:-1};lr.cosine=lr.cos=function(){var e,t,r=this,s=r.constructor;if(!r.d)return new s(NaN);if(!r.d[0])return new s(1);e=s.precision;t=s.rounding;s.precision=e+Math.max(r.e,r.sd())+Ar;s.rounding=1;r=cosine(s,toLessThanHalfPi(s,r));s.precision=e;s.rounding=t;return finalise(qt==2||qt==3?r.neg():r,e,t,true)};lr.cubeRoot=lr.cbrt=function(){var e,t,r,s,o,n,A,i,a,c,l=this,u=l.constructor;if(!l.isFinite()||l.isZero())return new u(l);jt=false;n=l.s*er(l.s*l,1/3);if(!n||Math.abs(n)==1/0){r=digitsToString(l.d);e=l.e;if(n=(e-r.length+1)%3)r+=n==1||n==-2?"0":"00";n=er(r,1/3);e=$t((e+1)/3)-(e%3==(e<0?-1:2));if(n==1/0){r="5e"+e}else{r=n.toExponential();r=r.slice(0,r.indexOf("e")+1)+e}s=new u(r);s.s=l.s}else{s=new u(n.toString())}A=(e=u.precision)+3;for(;;){i=s;a=i.times(i).times(i);c=a.plus(l);s=ur(c.plus(l).times(i),c.plus(a),A+2,1);if(digitsToString(i.d).slice(0,A)===(r=digitsToString(s.d)).slice(0,A)){r=r.slice(A-3,A+1);if(r=="9999"||!o&&r=="4999"){if(!o){finalise(i,e+1,0);if(i.times(i).times(i).eq(l)){s=i;break}}A+=4;o=1}else{if(!+r||!+r.slice(1)&&r.charAt(0)=="5"){finalise(s,e+1,1);t=!s.times(s).times(s).eq(l)}break}}}jt=true;return finalise(s,e,u.rounding,t)};lr.decimalPlaces=lr.dp=function(){var e,t=this.d,r=NaN;if(t){e=t.length-1;r=(e-$t(this.e/Ar))*Ar;e=t[e];if(e)for(;e%10==0;e/=10)r--;if(r<0)r=0}return r};lr.dividedBy=lr.div=function(e){return ur(this,new this.constructor(e))};lr.dividedToIntegerBy=lr.divToInt=function(e){var t=this,r=t.constructor;return finalise(ur(t,new r(e),0,1,1),r.precision,r.rounding)};lr.equals=lr.eq=function(e){return this.cmp(e)===0};lr.floor=function(){return finalise(new this.constructor(this),this.e+1,3)};lr.greaterThan=lr.gt=function(e){return this.cmp(e)>0};lr.greaterThanOrEqualTo=lr.gte=function(e){var t=this.cmp(e);return t==1||t===0};lr.hyperbolicCosine=lr.cosh=function(){var e,t,r,s,o,n=this,A=n.constructor,i=new A(1);if(!n.isFinite())return new A(n.s?1/0:NaN);if(n.isZero())return i;r=A.precision;s=A.rounding;A.precision=r+Math.max(n.e,n.sd())+4;A.rounding=1;o=n.d.length;if(o<32){e=Math.ceil(o/3);t=(1/tinyPow(4,e)).toString()}else{e=16;t="2.3283064365386962890625e-10"}n=taylorSeries(A,1,n.times(t),new A(1),true);var a,c=e,l=new A(8);for(;c--;){a=n.times(n);n=i.minus(a.times(l.minus(a.times(l))))}return finalise(n,A.precision=r,A.rounding=s,true)};lr.hyperbolicSine=lr.sinh=function(){var e,t,r,s,o=this,n=o.constructor;if(!o.isFinite()||o.isZero())return new n(o);t=n.precision;r=n.rounding;n.precision=t+Math.max(o.e,o.sd())+4;n.rounding=1;s=o.d.length;if(s<3){o=taylorSeries(n,2,o,o,true)}else{e=1.4*Math.sqrt(s);e=e>16?16:e|0;o=o.times(1/tinyPow(5,e));o=taylorSeries(n,2,o,o,true);var A,i=new n(5),a=new n(16),c=new n(20);for(;e--;){A=o.times(o);o=o.times(i.plus(A.times(a.times(A).plus(c))))}}n.precision=t;n.rounding=r;return finalise(o,t,r,true)};lr.hyperbolicTangent=lr.tanh=function(){var e,t,r=this,s=r.constructor;if(!r.isFinite())return new s(r.s);if(r.isZero())return new s(r);e=s.precision;t=s.rounding;s.precision=e+7;s.rounding=1;return ur(r.sinh(),r.cosh(),s.precision=e,s.rounding=t)};lr.inverseCosine=lr.acos=function(){var e=this,t=e.constructor,r=e.abs().cmp(1),s=t.precision,o=t.rounding;if(r!==-1){return r===0?e.isNeg()?getPi(t,s,o):new t(0):new t(NaN)}if(e.isZero())return getPi(t,s+4,o).times(.5);t.precision=s+6;t.rounding=1;e=new t(1).minus(e).div(e.plus(1)).sqrt().atan();t.precision=s;t.rounding=o;return e.times(2)};lr.inverseHyperbolicCosine=lr.acosh=function(){var e,t,r=this,s=r.constructor;if(r.lte(1))return new s(r.eq(1)?0:NaN);if(!r.isFinite())return new s(r);e=s.precision;t=s.rounding;s.precision=e+Math.max(Math.abs(r.e),r.sd())+4;s.rounding=1;jt=false;r=r.times(r).minus(1).sqrt().plus(r);jt=true;s.precision=e;s.rounding=t;return r.ln()};lr.inverseHyperbolicSine=lr.asinh=function(){var e,t,r=this,s=r.constructor;if(!r.isFinite()||r.isZero())return new s(r);e=s.precision;t=s.rounding;s.precision=e+2*Math.max(Math.abs(r.e),r.sd())+6;s.rounding=1;jt=false;r=r.times(r).plus(1).sqrt().plus(r);jt=true;s.precision=e;s.rounding=t;return r.ln()};lr.inverseHyperbolicTangent=lr.atanh=function(){var e,t,r,s,o=this,n=o.constructor;if(!o.isFinite())return new n(NaN);if(o.e>=0)return new n(o.abs().eq(1)?o.s/0:o.isZero()?o:NaN);e=n.precision;t=n.rounding;s=o.sd();if(Math.max(s,e)<2*-o.e-1)return finalise(new n(o),e,t,true);n.precision=r=s-o.e;o=ur(o.plus(1),new n(1).minus(o),r+e,1);n.precision=e+4;n.rounding=1;o=o.ln();n.precision=e;n.rounding=t;return o.times(.5)};lr.inverseSine=lr.asin=function(){var e,t,r,s,o=this,n=o.constructor;if(o.isZero())return new n(o);t=o.abs().cmp(1);r=n.precision;s=n.rounding;if(t!==-1){if(t===0){e=getPi(n,r+4,s).times(.5);e.s=o.s;return e}return new n(NaN)}n.precision=r+6;n.rounding=1;o=o.div(new n(1).minus(o.times(o)).sqrt().plus(1)).atan();n.precision=r;n.rounding=s;return o.times(2)};lr.inverseTangent=lr.atan=function(){var e,t,r,s,o,n,A,i,a,c=this,l=c.constructor,u=l.precision,g=l.rounding;if(!c.isFinite()){if(!c.s)return new l(NaN);if(u+4<=cr){A=getPi(l,u+4,g).times(.5);A.s=c.s;return A}}else if(c.isZero()){return new l(c)}else if(c.abs().eq(1)&&u+4<=cr){A=getPi(l,u+4,g).times(.25);A.s=c.s;return A}l.precision=i=u+10;l.rounding=1;r=Math.min(28,i/Ar+2|0);for(e=r;e;--e)c=c.div(c.times(c).plus(1).sqrt().plus(1));jt=false;t=Math.ceil(i/Ar);s=1;a=c.times(c);A=new l(c);o=c;for(;e!==-1;){o=o.times(a);n=A.minus(o.div(s+=2));o=o.times(a);A=n.plus(o.div(s+=2));if(A.d[t]!==void 0)for(e=t;A.d[e]===n.d[e]&&e--;);}if(r)A=A.times(2<<r-1);jt=true;return finalise(A,l.precision=u,l.rounding=g,true)};lr.isFinite=function(){return!!this.d};lr.isInteger=lr.isInt=function(){return!!this.d&&$t(this.e/Ar)>this.d.length-2};lr.isNaN=function(){return!this.s};lr.isNegative=lr.isNeg=function(){return this.s<0};lr.isPositive=lr.isPos=function(){return this.s>0};lr.isZero=function(){return!!this.d&&this.d[0]===0};lr.lessThan=lr.lt=function(e){return this.cmp(e)<0};lr.lessThanOrEqualTo=lr.lte=function(e){return this.cmp(e)<1};lr.logarithm=lr.log=function(e){var t,r,s,o,n,A,i,a,c=this,l=c.constructor,u=l.precision,g=l.rounding,p=5;if(e==null){e=new l(10);t=true}else{e=new l(e);r=e.d;if(e.s<0||!r||!r[0]||e.eq(1))return new l(NaN);t=e.eq(10)}r=c.d;if(c.s<0||!r||!r[0]||c.eq(1)){return new l(r&&!r[0]?-1/0:c.s!=1?NaN:r?0:1/0)}if(t){if(r.length>1){n=true}else{for(o=r[0];o%10===0;)o/=10;n=o!==1}}jt=false;i=u+p;A=naturalLogarithm(c,i);s=t?getLn10(l,i+10):naturalLogarithm(e,i);a=ur(A,s,i,1);if(checkRoundingDigits(a.d,o=u,g)){do{i+=10;A=naturalLogarithm(c,i);s=t?getLn10(l,i+10):naturalLogarithm(e,i);a=ur(A,s,i,1);if(!n){if(+digitsToString(a.d).slice(o+1,o+15)+1==1e14){a=finalise(a,u+1,0)}break}}while(checkRoundingDigits(a.d,o+=10,g))}jt=true;return finalise(a,u,g)};lr.minus=lr.sub=function(e){var t,r,s,o,n,A,i,a,c,l,u,g,p=this,d=p.constructor;e=new d(e);if(!p.d||!e.d){if(!p.s||!e.s)e=new d(NaN);else if(p.d)e.s=-e.s;else e=new d(e.d||p.s!==e.s?p:NaN);return e}if(p.s!=e.s){e.s=-e.s;return p.plus(e)}c=p.d;g=e.d;i=d.precision;a=d.rounding;if(!c[0]||!g[0]){if(g[0])e.s=-e.s;else if(c[0])e=new d(p);else return new d(a===3?-0:0);return jt?finalise(e,i,a):e}r=$t(e.e/Ar);l=$t(p.e/Ar);c=c.slice();n=l-r;if(n){u=n<0;if(u){t=c;n=-n;A=g.length}else{t=g;r=l;A=c.length}s=Math.max(Math.ceil(i/Ar),A)+2;if(n>s){n=s;t.length=1}t.reverse();for(s=n;s--;)t.push(0);t.reverse()}else{s=c.length;A=g.length;u=s<A;if(u)A=s;for(s=0;s<A;s++){if(c[s]!=g[s]){u=c[s]<g[s];break}}n=0}if(u){t=c;c=g;g=t;e.s=-e.s}A=c.length;for(s=g.length-A;s>0;--s)c[A++]=0;for(s=g.length;s>n;){if(c[--s]<g[s]){for(o=s;o&&c[--o]===0;)c[o]=nr-1;--c[o];c[s]+=nr}c[s]-=g[s]}for(;c[--A]===0;)c.pop();for(;c[0]===0;c.shift())--r;if(!c[0])return new d(a===3?-0:0);e.d=c;e.e=getBase10Exponent(c,r);return jt?finalise(e,i,a):e};lr.modulo=lr.mod=function(e){var t,r=this,s=r.constructor;e=new s(e);if(!r.d||!e.s||e.d&&!e.d[0])return new s(NaN);if(!e.d||r.d&&!r.d[0]){return finalise(new s(r),s.precision,s.rounding)}jt=false;if(s.modulo==9){t=ur(r,e.abs(),0,3,1);t.s*=e.s}else{t=ur(r,e,0,s.modulo,1)}t=t.times(e);jt=true;return r.minus(t)};lr.naturalExponential=lr.exp=function(){return naturalExponential(this)};lr.naturalLogarithm=lr.ln=function(){return naturalLogarithm(this)};lr.negated=lr.neg=function(){var e=new this.constructor(this);e.s=-e.s;return finalise(e)};lr.plus=lr.add=function(e){var t,r,s,o,n,A,i,a,c,l,u=this,g=u.constructor;e=new g(e);if(!u.d||!e.d){if(!u.s||!e.s)e=new g(NaN);else if(!u.d)e=new g(e.d||u.s===e.s?u:NaN);return e}if(u.s!=e.s){e.s=-e.s;return u.minus(e)}c=u.d;l=e.d;i=g.precision;a=g.rounding;if(!c[0]||!l[0]){if(!l[0])e=new g(u);return jt?finalise(e,i,a):e}n=$t(u.e/Ar);s=$t(e.e/Ar);c=c.slice();o=n-s;if(o){if(o<0){r=c;o=-o;A=l.length}else{r=l;s=n;A=c.length}n=Math.ceil(i/Ar);A=n>A?n+1:A+1;if(o>A){o=A;r.length=1}r.reverse();for(;o--;)r.push(0);r.reverse()}A=c.length;o=l.length;if(A-o<0){o=A;r=l;l=c;c=r}for(t=0;o;){t=(c[--o]=c[o]+l[o]+t)/nr|0;c[o]%=nr}if(t){c.unshift(t);++s}for(A=c.length;c[--A]==0;)c.pop();e.d=c;e.e=getBase10Exponent(c,s);return jt?finalise(e,i,a):e};lr.precision=lr.sd=function(e){var t,r=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(Kt+e);if(r.d){t=getPrecision(r.d);if(e&&r.e+1>t)t=r.e+1}else{t=NaN}return t};lr.round=function(){var e=this,t=e.constructor;return finalise(new t(e),e.e+1,t.rounding)};lr.sine=lr.sin=function(){var e,t,r=this,s=r.constructor;if(!r.isFinite())return new s(NaN);if(r.isZero())return new s(r);e=s.precision;t=s.rounding;s.precision=e+Math.max(r.e,r.sd())+Ar;s.rounding=1;r=sine(s,toLessThanHalfPi(s,r));s.precision=e;s.rounding=t;return finalise(qt>2?r.neg():r,e,t,true)};lr.squareRoot=lr.sqrt=function(){var e,t,r,s,o,n,A=this,i=A.d,a=A.e,c=A.s,l=A.constructor;if(c!==1||!i||!i[0]){return new l(!c||c<0&&(!i||i[0])?NaN:i?A:1/0)}jt=false;c=Math.sqrt(+A);if(c==0||c==1/0){t=digitsToString(i);if((t.length+a)%2==0)t+="0";c=Math.sqrt(t);a=$t((a+1)/2)-(a<0||a%2);if(c==1/0){t="5e"+a}else{t=c.toExponential();t=t.slice(0,t.indexOf("e")+1)+a}s=new l(t)}else{s=new l(c.toString())}r=(a=l.precision)+3;for(;;){n=s;s=n.plus(ur(A,n,r+2,1)).times(.5);if(digitsToString(n.d).slice(0,r)===(t=digitsToString(s.d)).slice(0,r)){t=t.slice(r-3,r+1);if(t=="9999"||!o&&t=="4999"){if(!o){finalise(n,a+1,0);if(n.times(n).eq(A)){s=n;break}}r+=4;o=1}else{if(!+t||!+t.slice(1)&&t.charAt(0)=="5"){finalise(s,a+1,1);e=!s.times(s).eq(A)}break}}}jt=true;return finalise(s,a,l.rounding,e)};lr.tangent=lr.tan=function(){var e,t,r=this,s=r.constructor;if(!r.isFinite())return new s(NaN);if(r.isZero())return new s(r);e=s.precision;t=s.rounding;s.precision=e+10;s.rounding=1;r=r.sin();r.s=1;r=ur(r,new s(1).minus(r.times(r)).sqrt(),e+10,0);s.precision=e;s.rounding=t;return finalise(qt==2||qt==4?r.neg():r,e,t,true)};lr.times=lr.mul=function(e){var t,r,s,o,n,A,i,a,c,l=this,u=l.constructor,g=l.d,p=(e=new u(e)).d;e.s*=l.s;if(!g||!g[0]||!p||!p[0]){return new u(!e.s||g&&!g[0]&&!p||p&&!p[0]&&!g?NaN:!g||!p?e.s/0:e.s*0)}r=$t(l.e/Ar)+$t(e.e/Ar);a=g.length;c=p.length;if(a<c){n=g;g=p;p=n;A=a;a=c;c=A}n=[];A=a+c;for(s=A;s--;)n.push(0);for(s=c;--s>=0;){t=0;for(o=a+s;o>s;){i=n[o]+p[s]*g[o-s-1]+t;n[o--]=i%nr|0;t=i/nr|0}n[o]=(n[o]+t)%nr|0}for(;!n[--A];)n.pop();if(t)++r;else n.shift();e.d=n;e.e=getBase10Exponent(n,r);return jt?finalise(e,u.precision,u.rounding):e};lr.toBinary=function(e,t){return toStringBinary(this,2,e,t)};lr.toDecimalPlaces=lr.toDP=function(e,t){var r=this,s=r.constructor;r=new s(r);if(e===void 0)return r;checkInt32(e,0,Mt);if(t===void 0)t=s.rounding;else checkInt32(t,0,8);return finalise(r,e+r.e+1,t)};lr.toExponential=function(e,t){var r,s=this,o=s.constructor;if(e===void 0){r=finiteToString(s,true)}else{checkInt32(e,0,Mt);if(t===void 0)t=o.rounding;else checkInt32(t,0,8);s=finalise(new o(s),e+1,t);r=finiteToString(s,true,e+1)}return s.isNeg()&&!s.isZero()?"-"+r:r};lr.toFixed=function(e,t){var r,s,o=this,n=o.constructor;if(e===void 0){r=finiteToString(o)}else{checkInt32(e,0,Mt);if(t===void 0)t=n.rounding;else checkInt32(t,0,8);s=finalise(new n(o),e+o.e+1,t);r=finiteToString(s,false,e+s.e+1)}return o.isNeg()&&!o.isZero()?"-"+r:r};lr.toFraction=function(e){var t,r,s,o,n,A,i,a,c,l,u,g,p=this,d=p.d,E=p.constructor;if(!d)return new E(p);c=r=new E(1);s=a=new E(0);t=new E(s);n=t.e=getPrecision(d)-p.e-1;A=n%Ar;t.d[0]=er(10,A<0?Ar+A:A);if(e==null){e=n>0?t:c}else{i=new E(e);if(!i.isInt()||i.lt(c))throw Error(Kt+i);e=i.gt(t)?n>0?t:c:i}jt=false;i=new E(digitsToString(d));l=E.precision;E.precision=n=d.length*Ar*2;for(;;){u=ur(i,t,0,1,1);o=r.plus(u.times(s));if(o.cmp(e)==1)break;r=s;s=o;o=c;c=a.plus(u.times(o));a=o;o=t;t=i.minus(u.times(o));i=o}o=ur(e.minus(r),s,0,1,1);a=a.plus(o.times(c));r=r.plus(o.times(s));a.s=c.s=p.s;g=ur(c,s,n,1).minus(p).abs().cmp(ur(a,r,n,1).minus(p).abs())<1?[c,s]:[a,r];E.precision=l;jt=true;return g};lr.toHexadecimal=lr.toHex=function(e,t){return toStringBinary(this,16,e,t)};lr.toNearest=function(e,t){var r=this,s=r.constructor;r=new s(r);if(e==null){if(!r.d)return r;e=new s(1);t=s.rounding}else{e=new s(e);if(t===void 0){t=s.rounding}else{checkInt32(t,0,8)}if(!r.d)return e.s?r:e;if(!e.d){if(e.s)e.s=r.s;return e}}if(e.d[0]){jt=false;r=ur(r,e,0,t,1).times(e);jt=true;finalise(r)}else{e.s=r.s;r=e}return r};lr.toNumber=function(){return+this};lr.toOctal=function(e,t){return toStringBinary(this,8,e,t)};lr.toPower=lr.pow=function(e){var t,r,s,o,n,A,i=this,a=i.constructor,c=+(e=new a(e));if(!i.d||!e.d||!i.d[0]||!e.d[0])return new a(er(+i,c));i=new a(i);if(i.eq(1))return i;s=a.precision;n=a.rounding;if(e.eq(1))return finalise(i,s,n);t=$t(e.e/Ar);if(t>=e.d.length-1&&(r=c<0?-c:c)<=ir){o=intPow(a,i,r,s);return e.s<0?new a(1).div(o):finalise(o,s,n)}A=i.s;if(A<0){if(t<e.d.length-1)return new a(NaN);if((e.d[t]&1)==0)A=1;if(i.e==0&&i.d[0]==1&&i.d.length==1){i.s=A;return i}}r=er(+i,c);t=r==0||!isFinite(r)?$t(c*(Math.log("0."+digitsToString(i.d))/Math.LN10+i.e+1)):new a(r+"").e;if(t>a.maxE+1||t<a.minE-1)return new a(t>0?A/0:0);jt=false;a.rounding=i.s=1;r=Math.min(12,(t+"").length);o=naturalExponential(e.times(naturalLogarithm(i,s+r)),s);if(o.d){o=finalise(o,s+5,1);if(checkRoundingDigits(o.d,s,n)){t=s+10;o=finalise(naturalExponential(e.times(naturalLogarithm(i,t+r)),t),t+5,1);if(+digitsToString(o.d).slice(s+1,s+15)+1==1e14){o=finalise(o,s+1,0)}}}o.s=A;jt=true;a.rounding=n;return finalise(o,s,n)};lr.toPrecision=function(e,t){var r,s=this,o=s.constructor;if(e===void 0){r=finiteToString(s,s.e<=o.toExpNeg||s.e>=o.toExpPos)}else{checkInt32(e,1,Mt);if(t===void 0)t=o.rounding;else checkInt32(t,0,8);s=finalise(new o(s),e,t);r=finiteToString(s,e<=s.e||s.e<=o.toExpNeg,e)}return s.isNeg()&&!s.isZero()?"-"+r:r};lr.toSignificantDigits=lr.toSD=function(e,t){var r=this,s=r.constructor;if(e===void 0){e=s.precision;t=s.rounding}else{checkInt32(e,1,Mt);if(t===void 0)t=s.rounding;else checkInt32(t,0,8)}return finalise(new s(r),e,t)};lr.toString=function(){var e=this,t=e.constructor,r=finiteToString(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()&&!e.isZero()?"-"+r:r};lr.truncated=lr.trunc=function(){return finalise(new this.constructor(this),this.e+1,1)};lr.valueOf=lr.toJSON=function(){var e=this,t=e.constructor,r=finiteToString(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()?"-"+r:r};function digitsToString(e){var t,r,s,o=e.length-1,n="",A=e[0];if(o>0){n+=A;for(t=1;t<o;t++){s=e[t]+"";r=Ar-s.length;if(r)n+=getZeroString(r);n+=s}A=e[t];s=A+"";r=Ar-s.length;if(r)n+=getZeroString(r)}else if(A===0){return"0"}for(;A%10===0;)A/=10;return n+A}function checkInt32(e,t,r){if(e!==~~e||e<t||e>r){throw Error(Kt+e)}}function checkRoundingDigits(e,t,r,s){var o,n,A,i;for(n=e[0];n>=10;n/=10)--t;if(--t<0){t+=Ar;o=0}else{o=Math.ceil((t+1)/Ar);t%=Ar}n=er(10,Ar-t);i=e[o]%n|0;if(s==null){if(t<3){if(t==0)i=i/100|0;else if(t==1)i=i/10|0;A=r<4&&i==99999||r>3&&i==49999||i==5e4||i==0}else{A=(r<4&&i+1==n||r>3&&i+1==n/2)&&(e[o+1]/n/100|0)==er(10,t-2)-1||(i==n/2||i==0)&&(e[o+1]/n/100|0)==0}}else{if(t<4){if(t==0)i=i/1e3|0;else if(t==1)i=i/100|0;else if(t==2)i=i/10|0;A=(s||r<4)&&i==9999||!s&&r>3&&i==4999}else{A=((s||r<4)&&i+1==n||!s&&r>3&&i+1==n/2)&&(e[o+1]/n/1e3|0)==er(10,t-3)-1}}return A}function convertBase(e,t,r){var s,o=[0],n,A=0,i=e.length;for(;A<i;){for(n=o.length;n--;)o[n]*=t;o[0]+=xt.indexOf(e.charAt(A++));for(s=0;s<o.length;s++){if(o[s]>r-1){if(o[s+1]===void 0)o[s+1]=0;o[s+1]+=o[s]/r|0;o[s]%=r}}}return o.reverse()}function cosine(e,t){var r,s,o;if(t.isZero())return t;s=t.d.length;if(s<32){r=Math.ceil(s/3);o=(1/tinyPow(4,r)).toString()}else{r=16;o="2.3283064365386962890625e-10"}e.precision+=r;t=taylorSeries(e,1,t.times(o),new e(1));for(var n=r;n--;){var A=t.times(t);t=A.times(A).minus(A).times(8).plus(1)}e.precision-=r;return t}var ur=function(){function multiplyInteger(e,t,r){var s,o=0,n=e.length;for(e=e.slice();n--;){s=e[n]*t+o;e[n]=s%r|0;o=s/r|0}if(o)e.unshift(o);return e}function compare(e,t,r,s){var o,n;if(r!=s){n=r>s?1:-1}else{for(o=n=0;o<r;o++){if(e[o]!=t[o]){n=e[o]>t[o]?1:-1;break}}}return n}function subtract(e,t,r,s){var o=0;for(;r--;){e[r]-=o;o=e[r]<t[r]?1:0;e[r]=o*s+e[r]-t[r]}for(;!e[0]&&e.length>1;)e.shift()}return function(e,t,r,s,o,n){var A,i,a,c,l,u,g,p,d,E,h,I,m,C,Q,B,y,w,b,R,T=e.constructor,k=e.s==t.s?1:-1,D=e.d,_=t.d;if(!D||!D[0]||!_||!_[0]){return new T(!e.s||!t.s||(D?_&&D[0]==_[0]:!_)?NaN:D&&D[0]==0||!_?k*0:k/0)}if(n){l=1;i=e.e-t.e}else{n=nr;l=Ar;i=$t(e.e/l)-$t(t.e/l)}b=_.length;y=D.length;d=new T(k);E=d.d=[];for(a=0;_[a]==(D[a]||0);a++);if(_[a]>(D[a]||0))i--;if(r==null){C=r=T.precision;s=T.rounding}else if(o){C=r+(e.e-t.e)+1}else{C=r}if(C<0){E.push(1);u=true}else{C=C/l+2|0;a=0;if(b==1){c=0;_=_[0];C++;for(;(a<y||c)&&C--;a++){Q=c*n+(D[a]||0);E[a]=Q/_|0;c=Q%_|0}u=c||a<y}else{c=n/(_[0]+1)|0;if(c>1){_=multiplyInteger(_,c,n);D=multiplyInteger(D,c,n);b=_.length;y=D.length}B=b;h=D.slice(0,b);I=h.length;for(;I<b;)h[I++]=0;R=_.slice();R.unshift(0);w=_[0];if(_[1]>=n/2)++w;do{c=0;A=compare(_,h,b,I);if(A<0){m=h[0];if(b!=I)m=m*n+(h[1]||0);c=m/w|0;if(c>1){if(c>=n)c=n-1;g=multiplyInteger(_,c,n);p=g.length;I=h.length;A=compare(g,h,p,I);if(A==1){c--;subtract(g,b<p?R:_,p,n)}}else{if(c==0)A=c=1;g=_.slice()}p=g.length;if(p<I)g.unshift(0);subtract(h,g,I,n);if(A==-1){I=h.length;A=compare(_,h,b,I);if(A<1){c++;subtract(h,b<I?R:_,I,n)}}I=h.length}else if(A===0){c++;h=[0]}E[a++]=c;if(A&&h[0]){h[I++]=D[B]||0}else{h=[D[B]];I=1}}while((B++<y||h[0]!==void 0)&&C--);u=h[0]!==void 0}if(!E[0])E.shift()}if(l==1){d.e=i;Jt=u}else{for(a=1,c=E[0];c>=10;c/=10)a++;d.e=a+i*l-1;finalise(d,o?r+d.e+1:r,s,u)}return d}}();function finalise(e,t,r,s){var o,n,A,i,a,c,l,u,g,p=e.constructor;e:if(t!=null){u=e.d;if(!u)return e;for(o=1,i=u[0];i>=10;i/=10)o++;n=t-o;if(n<0){n+=Ar;A=t;l=u[g=0];a=l/er(10,o-A-1)%10|0}else{g=Math.ceil((n+1)/Ar);i=u.length;if(g>=i){if(s){for(;i++<=g;)u.push(0);l=a=0;o=1;n%=Ar;A=n-Ar+1}else{break e}}else{l=i=u[g];for(o=1;i>=10;i/=10)o++;n%=Ar;A=n-Ar+o;a=A<0?0:l/er(10,o-A-1)%10|0}}s=s||t<0||u[g+1]!==void 0||(A<0?l:l%er(10,o-A-1));c=r<4?(a||s)&&(r==0||r==(e.s<0?3:2)):a>5||a==5&&(r==4||s||r==6&&(n>0?A>0?l/er(10,o-A):0:u[g-1])%10&1||r==(e.s<0?8:7));if(t<1||!u[0]){u.length=0;if(c){t-=e.e+1;u[0]=er(10,(Ar-t%Ar)%Ar);e.e=-t||0}else{u[0]=e.e=0}return e}if(n==0){u.length=g;i=1;g--}else{u.length=g+1;i=er(10,Ar-n);u[g]=A>0?(l/er(10,o-A)%er(10,A)|0)*i:0}if(c){for(;;){if(g==0){for(n=1,A=u[0];A>=10;A/=10)n++;A=u[0]+=i;for(i=1;A>=10;A/=10)i++;if(n!=i){e.e++;if(u[0]==nr)u[0]=1}break}else{u[g]+=i;if(u[g]!=nr)break;u[g--]=0;i=1}}}for(n=u.length;u[--n]===0;)u.pop()}if(jt){if(e.e>p.maxE){e.d=null;e.e=NaN}else if(e.e<p.minE){e.e=0;e.d=[0]}}return e}function finiteToString(e,t,r){if(!e.isFinite())return nonFiniteToString(e);var s,o=e.e,n=digitsToString(e.d),A=n.length;if(t){if(r&&(s=r-A)>0){n=n.charAt(0)+"."+n.slice(1)+getZeroString(s)}else if(A>1){n=n.charAt(0)+"."+n.slice(1)}n=n+(e.e<0?"e":"e+")+e.e}else if(o<0){n="0."+getZeroString(-o-1)+n;if(r&&(s=r-A)>0)n+=getZeroString(s)}else if(o>=A){n+=getZeroString(o+1-A);if(r&&(s=r-o-1)>0)n=n+"."+getZeroString(s)}else{if((s=o+1)<A)n=n.slice(0,s)+"."+n.slice(s);if(r&&(s=r-A)>0){if(o+1===A)n+=".";n+=getZeroString(s)}}return n}function getBase10Exponent(e,t){var r=e[0];for(t*=Ar;r>=10;r/=10)t++;return t}function getLn10(e,t,r){if(t>ar){jt=true;if(r)e.precision=r;throw Error(zt)}return finalise(new e(Ht),t,1,true)}function getPi(e,t,r){if(t>cr)throw Error(zt);return finalise(new e(Vt),t,r,true)}function getPrecision(e){var t=e.length-1,r=t*Ar+1;t=e[t];if(t){for(;t%10==0;t/=10)r--;for(t=e[0];t>=10;t/=10)r++}return r}function getZeroString(e){var t="";for(;e--;)t+="0";return t}function intPow(e,t,r,s){var o,n=new e(1),A=Math.ceil(s/Ar+4);jt=false;for(;;){if(r%2){n=n.times(t);if(truncate(n.d,A))o=true}r=$t(r/2);if(r===0){r=n.d.length-1;if(o&&n.d[r]===0)++n.d[r];break}t=t.times(t);truncate(t.d,A)}jt=true;return n}function isOdd(e){return e.d[e.d.length-1]&1}function maxOrMin(e,t,r){var s,o,n=new e(t[0]),A=0;for(;++A<t.length;){o=new e(t[A]);if(!o.s){n=o;break}s=n.cmp(o);if(s===r||s===0&&n.s===r){n=o}}return n}function naturalExponential(e,t){var r,s,o,n,A,i,a,c=0,l=0,u=0,g=e.constructor,p=g.rounding,d=g.precision;if(!e.d||!e.d[0]||e.e>17){return new g(e.d?!e.d[0]?1:e.s<0?0:1/0:e.s?e.s<0?0:e:0/0)}if(t==null){jt=false;a=d}else{a=t}i=new g(.03125);while(e.e>-2){e=e.times(i);u+=5}s=Math.log(er(2,u))/Math.LN10*2+5|0;a+=s;r=n=A=new g(1);g.precision=a;for(;;){n=finalise(n.times(e),a,1);r=r.times(++l);i=A.plus(ur(n,r,a,1));if(digitsToString(i.d).slice(0,a)===digitsToString(A.d).slice(0,a)){o=u;while(o--)A=finalise(A.times(A),a,1);if(t==null){if(c<3&&checkRoundingDigits(A.d,a-s,p,c)){g.precision=a+=10;r=n=i=new g(1);l=0;c++}else{return finalise(A,g.precision=d,p,jt=true)}}else{g.precision=d;return A}}A=i}}function naturalLogarithm(e,t){var r,s,o,n,A,i,a,c,l,u,g,p=1,d=10,E=e,h=E.d,I=E.constructor,m=I.rounding,C=I.precision;if(E.s<0||!h||!h[0]||!E.e&&h[0]==1&&h.length==1){return new I(h&&!h[0]?-1/0:E.s!=1?NaN:h?0:E)}if(t==null){jt=false;l=C}else{l=t}I.precision=l+=d;r=digitsToString(h);s=r.charAt(0);if(Math.abs(n=E.e)<15e14){while(s<7&&s!=1||s==1&&r.charAt(1)>3){E=E.times(e);r=digitsToString(E.d);s=r.charAt(0);p++}n=E.e;if(s>1){E=new I("0."+r);n++}else{E=new I(s+"."+r.slice(1))}}else{c=getLn10(I,l+2,C).times(n+"");E=naturalLogarithm(new I(s+"."+r.slice(1)),l-d).plus(c);I.precision=C;return t==null?finalise(E,C,m,jt=true):E}u=E;a=A=E=ur(E.minus(1),E.plus(1),l,1);g=finalise(E.times(E),l,1);o=3;for(;;){A=finalise(A.times(g),l,1);c=a.plus(ur(A,new I(o),l,1));if(digitsToString(c.d).slice(0,l)===digitsToString(a.d).slice(0,l)){a=a.times(2);if(n!==0)a=a.plus(getLn10(I,l+2,C).times(n+""));a=ur(a,new I(p),l,1);if(t==null){if(checkRoundingDigits(a.d,l-d,m,i)){I.precision=l+=d;c=A=E=ur(u.minus(1),u.plus(1),l,1);g=finalise(E.times(E),l,1);o=i=1}else{return finalise(a,I.precision=C,m,jt=true)}}else{I.precision=C;return a}}a=c;o+=2}}function nonFiniteToString(e){return String(e.s*e.s/0)}function parseDecimal(e,t){var r,s,o;if((r=t.indexOf("."))>-1)t=t.replace(".","");if((s=t.search(/e/i))>0){if(r<0)r=s;r+=+t.slice(s+1);t=t.substring(0,s)}else if(r<0){r=t.length}for(s=0;t.charCodeAt(s)===48;s++);for(o=t.length;t.charCodeAt(o-1)===48;--o);t=t.slice(s,o);if(t){o-=s;e.e=r=r-s-1;e.d=[];s=(r+1)%Ar;if(r<0)s+=Ar;if(s<o){if(s)e.d.push(+t.slice(0,s));for(o-=Ar;s<o;)e.d.push(+t.slice(s,s+=Ar));t=t.slice(s);s=Ar-t.length}else{s-=o}for(;s--;)t+="0";e.d.push(+t);if(jt){if(e.e>e.constructor.maxE){e.d=null;e.e=NaN}else if(e.e<e.constructor.minE){e.e=0;e.d=[0]}}}else{e.e=0;e.d=[0]}return e}function parseOther(e,t){var r,s,o,n,A,i,a,c,l;if(t.indexOf("_")>-1){t=t.replace(/(\d)_(?=\d)/g,"$1");if(or.test(t))return parseDecimal(e,t)}else if(t==="Infinity"||t==="NaN"){if(!+t)e.s=NaN;e.e=NaN;e.d=null;return e}if(rr.test(t)){r=16;t=t.toLowerCase()}else if(tr.test(t)){r=2}else if(sr.test(t)){r=8}else{throw Error(Kt+t)}n=t.search(/p/i);if(n>0){a=+t.slice(n+1);t=t.substring(2,n)}else{t=t.slice(2)}n=t.indexOf(".");A=n>=0;s=e.constructor;if(A){t=t.replace(".","");i=t.length;n=i-n;o=intPow(s,new s(r),n,n*2)}c=convertBase(t,r,nr);l=c.length-1;for(n=l;c[n]===0;--n)c.pop();if(n<0)return new s(e.s*0);e.e=getBase10Exponent(c,l);e.d=c;jt=false;if(A)e=ur(e,o,i*4);if(a)e=e.times(Math.abs(a)<54?er(2,a):gr.pow(2,a));jt=true;return e}function sine(e,t){var r,s=t.d.length;if(s<3){return t.isZero()?t:taylorSeries(e,2,t,t)}r=1.4*Math.sqrt(s);r=r>16?16:r|0;t=t.times(1/tinyPow(5,r));t=taylorSeries(e,2,t,t);var o,n=new e(5),A=new e(16),i=new e(20);for(;r--;){o=t.times(t);t=t.times(n.plus(o.times(A.times(o).minus(i))))}return t}function taylorSeries(e,t,r,s,o){var n,A,i,a,c=1,l=e.precision,u=Math.ceil(l/Ar);jt=false;a=r.times(r);i=new e(s);for(;;){A=ur(i.times(a),new e(t++*t++),l,1);i=o?s.plus(A):s.minus(A);s=ur(A.times(a),new e(t++*t++),l,1);A=i.plus(s);if(A.d[u]!==void 0){for(n=u;A.d[n]===i.d[n]&&n--;);if(n==-1)break}n=i;i=s;s=A;A=n;c++}jt=true;A.d.length=u+1;return A}function tinyPow(e,t){var r=e;while(--t)r*=e;return r}function toLessThanHalfPi(e,t){var r,s=t.s<0,o=getPi(e,e.precision,1),n=o.times(.5);t=t.abs();if(t.lte(n)){qt=s?4:1;return t}r=t.divToInt(o);if(r.isZero()){qt=s?3:2}else{t=t.minus(r.times(o));if(t.lte(n)){qt=isOdd(r)?s?2:3:s?4:1;return t}qt=isOdd(r)?s?1:4:s?3:2}return t.minus(o).abs()}function toStringBinary(e,t,r,s){var o,n,A,i,a,c,l,u,g,p=e.constructor,d=r!==void 0;if(d){checkInt32(r,1,Mt);if(s===void 0)s=p.rounding;else checkInt32(s,0,8)}else{r=p.precision;s=p.rounding}if(!e.isFinite()){l=nonFiniteToString(e)}else{l=finiteToString(e);A=l.indexOf(".");if(d){o=2;if(t==16){r=r*4-3}else if(t==8){r=r*3-2}}else{o=t}if(A>=0){l=l.replace(".","");g=new p(1);g.e=l.length-A;g.d=convertBase(finiteToString(g),10,o);g.e=g.d.length}u=convertBase(l,10,o);n=a=u.length;for(;u[--a]==0;)u.pop();if(!u[0]){l=d?"0p+0":"0"}else{if(A<0){n--}else{e=new p(e);e.d=u;e.e=n;e=ur(e,g,r,s,0,o);u=e.d;n=e.e;c=Jt}A=u[r];i=o/2;c=c||u[r+1]!==void 0;c=s<4?(A!==void 0||c)&&(s===0||s===(e.s<0?3:2)):A>i||A===i&&(s===4||c||s===6&&u[r-1]&1||s===(e.s<0?8:7));u.length=r;if(c){for(;++u[--r]>o-1;){u[r]=0;if(!r){++n;u.unshift(1)}}}for(a=u.length;!u[a-1];--a);for(A=0,l="";A<a;A++)l+=xt.charAt(u[A]);if(d){if(a>1){if(t==16||t==8){A=t==16?4:3;for(--a;a%A;a++)l+="0";u=convertBase(l,o,t);for(a=u.length;!u[a-1];--a);for(A=1,l="1.";A<a;A++)l+=xt.charAt(u[A])}else{l=l.charAt(0)+"."+l.slice(1)}}l=l+(n<0?"p":"p+")+n}else if(n<0){for(;++n;)l="0"+l;l="0."+l}else{if(++n>a)for(n-=a;n--;)l+="0";else if(n<a)l=l.slice(0,n)+"."+l.slice(n)}}l=(t==16?"0x":t==2?"0b":t==8?"0o":"")+l}return e.s<0?"-"+l:l}function truncate(e,t){if(e.length>t){e.length=t;return true}}function abs(e){return new this(e).abs()}function acos(e){return new this(e).acos()}function acosh(e){return new this(e).acosh()}function add(e,t){return new this(e).plus(t)}function asin(e){return new this(e).asin()}function asinh(e){return new this(e).asinh()}function atan(e){return new this(e).atan()}function atanh(e){return new this(e).atanh()}function atan2(e,t){e=new this(e);t=new this(t);var r,s=this.precision,o=this.rounding,n=s+4;if(!e.s||!t.s){r=new this(NaN)}else if(!e.d&&!t.d){r=getPi(this,n,1).times(t.s>0?.25:.75);r.s=e.s}else if(!t.d||e.isZero()){r=t.s<0?getPi(this,s,o):new this(0);r.s=e.s}else if(!e.d||t.isZero()){r=getPi(this,n,1).times(.5);r.s=e.s}else if(t.s<0){this.precision=n;this.rounding=1;r=this.atan(ur(e,t,n,1));t=getPi(this,n,1);this.precision=s;this.rounding=o;r=e.s<0?r.minus(t):r.plus(t)}else{r=this.atan(ur(e,t,n,1))}return r}function cbrt(e){return new this(e).cbrt()}function ceil(e){return finalise(e=new this(e),e.e+1,2)}function clamp(e,t,r){return new this(e).clamp(t,r)}function config(e){if(!e||typeof e!=="object")throw Error(Wt+"Object expected");var t,r,s,o=e.defaults===true,n=["precision",1,Mt,"rounding",0,8,"toExpNeg",-Pt,0,"toExpPos",0,Pt,"maxE",0,Pt,"minE",-Pt,0,"modulo",0,9];for(t=0;t<n.length;t+=3){if(r=n[t],o)this[r]=Yt[r];if((s=e[r])!==void 0){if($t(s)===s&&s>=n[t+1]&&s<=n[t+2])this[r]=s;else throw Error(Kt+r+": "+s)}}if(r="crypto",o)this[r]=Yt[r];if((s=e[r])!==void 0){if(s===true||s===false||s===0||s===1){if(s){if(typeof crypto!="undefined"&&crypto&&(crypto.getRandomValues||crypto.randomBytes)){this[r]=true}else{throw Error(Zt)}}else{this[r]=false}}else{throw Error(Kt+r+": "+s)}}return this}function cos(e){return new this(e).cos()}function cosh(e){return new this(e).cosh()}function clone(e){var t,r,s;function Decimal(e){var t,r,s,o=this;if(!(o instanceof Decimal))return new Decimal(e);o.constructor=Decimal;if(isDecimalInstance(e)){o.s=e.s;if(jt){if(!e.d||e.e>Decimal.maxE){o.e=NaN;o.d=null}else if(e.e<Decimal.minE){o.e=0;o.d=[0]}else{o.e=e.e;o.d=e.d.slice()}}else{o.e=e.e;o.d=e.d?e.d.slice():e.d}return}s=typeof e;if(s==="number"){if(e===0){o.s=1/e<0?-1:1;o.e=0;o.d=[0];return}if(e<0){e=-e;o.s=-1}else{o.s=1}if(e===~~e&&e<1e7){for(t=0,r=e;r>=10;r/=10)t++;if(jt){if(t>Decimal.maxE){o.e=NaN;o.d=null}else if(t<Decimal.minE){o.e=0;o.d=[0]}else{o.e=t;o.d=[e]}}else{o.e=t;o.d=[e]}return}if(e*0!==0){if(!e)o.s=NaN;o.e=NaN;o.d=null;return}return parseDecimal(o,e.toString())}if(s==="string"){if((r=e.charCodeAt(0))===45){e=e.slice(1);o.s=-1}else{if(r===43)e=e.slice(1);o.s=1}return or.test(e)?parseDecimal(o,e):parseOther(o,e)}if(s==="bigint"){if(e<0){e=-e;o.s=-1}else{o.s=1}return parseDecimal(o,e.toString())}throw Error(Kt+e)}Decimal.prototype=lr;Decimal.ROUND_UP=0;Decimal.ROUND_DOWN=1;Decimal.ROUND_CEIL=2;Decimal.ROUND_FLOOR=3;Decimal.ROUND_HALF_UP=4;Decimal.ROUND_HALF_DOWN=5;Decimal.ROUND_HALF_EVEN=6;Decimal.ROUND_HALF_CEIL=7;Decimal.ROUND_HALF_FLOOR=8;Decimal.EUCLID=9;Decimal.config=Decimal.set=config;Decimal.clone=clone;Decimal.isDecimal=isDecimalInstance;Decimal.abs=abs;Decimal.acos=acos;Decimal.acosh=acosh;Decimal.add=add;Decimal.asin=asin;Decimal.asinh=asinh;Decimal.atan=atan;Decimal.atanh=atanh;Decimal.atan2=atan2;Decimal.cbrt=cbrt;Decimal.ceil=ceil;Decimal.clamp=clamp;Decimal.cos=cos;Decimal.cosh=cosh;Decimal.div=div;Decimal.exp=exp;Decimal.floor=floor;Decimal.hypot=hypot;Decimal.ln=ln;Decimal.log=log;Decimal.log10=log10;Decimal.log2=log2;Decimal.max=max;Decimal.min=min;Decimal.mod=mod;Decimal.mul=mul;Decimal.pow=pow;Decimal.random=random;Decimal.round=round;Decimal.sign=sign;Decimal.sin=sin;Decimal.sinh=sinh;Decimal.sqrt=sqrt;Decimal.sub=sub;Decimal.sum=sum;Decimal.tan=tan;Decimal.tanh=tanh;Decimal.trunc=trunc;if(e===void 0)e={};if(e){if(e.defaults!==true){s=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"];for(t=0;t<s.length;)if(!e.hasOwnProperty(r=s[t++]))e[r]=this[r]}}Decimal.config(e);return Decimal}function div(e,t){return new this(e).div(t)}function exp(e){return new this(e).exp()}function floor(e){return finalise(e=new this(e),e.e+1,3)}function hypot(){var e,t,r=new this(0);jt=false;for(e=0;e<arguments.length;){t=new this(arguments[e++]);if(!t.d){if(t.s){jt=true;return new this(1/0)}r=t}else if(r.d){r=r.plus(t.times(t))}}jt=true;return r.sqrt()}function isDecimalInstance(e){return e instanceof gr||e&&e.toStringTag===Xt||false}function ln(e){return new this(e).ln()}function log(e,t){return new this(e).log(t)}function log2(e){return new this(e).log(2)}function log10(e){return new this(e).log(10)}function max(){return maxOrMin(this,arguments,-1)}function min(){return maxOrMin(this,arguments,1)}function mod(e,t){return new this(e).mod(t)}function mul(e,t){return new this(e).mul(t)}function pow(e,t){return new this(e).pow(t)}function random(e){var t,r,s,o,n=0,A=new this(1),i=[];if(e===void 0)e=this.precision;else checkInt32(e,1,Mt);s=Math.ceil(e/Ar);if(!this.crypto){for(;n<s;)i[n++]=Math.random()*1e7|0}else if(crypto.getRandomValues){t=crypto.getRandomValues(new Uint32Array(s));for(;n<s;){o=t[n];if(o>=429e7){t[n]=crypto.getRandomValues(new Uint32Array(1))[0]}else{i[n++]=o%1e7}}}else if(crypto.randomBytes){t=crypto.randomBytes(s*=4);for(;n<s;){o=t[n]+(t[n+1]<<8)+(t[n+2]<<16)+((t[n+3]&127)<<24);if(o>=214e7){crypto.randomBytes(4).copy(t,n)}else{i.push(o%1e7);n+=4}}n=s/4}else{throw Error(Zt)}s=i[--n];e%=Ar;if(s&&e){o=er(10,Ar-e);i[n]=(s/o|0)*o}for(;i[n]===0;n--)i.pop();if(n<0){r=0;i=[0]}else{r=-1;for(;i[0]===0;r-=Ar)i.shift();for(s=1,o=i[0];o>=10;o/=10)s++;if(s<Ar)r-=Ar-s}A.e=r;A.d=i;return A}function round(e){return finalise(e=new this(e),e.e+1,this.rounding)}function sign(e){e=new this(e);return e.d?e.d[0]?e.s:0*e.s:e.s||NaN}function sin(e){return new this(e).sin()}function sinh(e){return new this(e).sinh()}function sqrt(e){return new this(e).sqrt()}function sub(e,t){return new this(e).sub(t)}function sum(){var e=0,t=arguments,r=new this(t[e]);jt=false;for(;r.s&&++e<t.length;)r=r.plus(t[e]);jt=true;return finalise(r,this.precision,this.rounding)}function tan(e){return new this(e).tan()}function tanh(e){return new this(e).tanh()}function trunc(e){return finalise(e=new this(e),e.e+1,1)}lr[Symbol.for("nodejs.util.inspect.custom")]=lr.toString;lr[Symbol.toStringTag]="Decimal";var gr=lr.constructor=clone(Yt);Ht=new gr(Ht);Vt=new gr(Vt);const pr=null&&gr;function calculateTaskPrice(e,t,r,s){const o=s??e.config.basePriceMultiplier;const n=new gr(r).div(10);return new gr(o).mul(1e3).mul(t).mul(n).toDecimalPlaces(2).toString()}function getPrice(e,t,r){const s=e.logger;const{labels:o}=e.config;if(!t||!r)throw s.error("Time or priority label is not defined");const n=o.time.find((e=>e.name===t.name));if(!n)throw s.error("Time label is not recognized");const A=o.priority.find((e=>e.name===r.name));if(!A)throw s.error("Priority label is not recognized");const i=calculateLabelValue(n.name);if(i===null)throw s.error("Time value is not defined");const a=calculateLabelValue(A.name);if(a===null)throw s.error("Priority value is not defined");const c=calculateTaskPrice(e,i,a);return`Price: ${c} USD`}function calculateLabelValue(e){const t=e.match(/\d+/);if(!t?.length)return null;const r=parseInt(t[0]);if(e.toLowerCase().includes("priority"))return r;if(e.toLowerCase().includes("minute"))return r*.002;if(e.toLowerCase().includes("hour"))return r*.125;if(e.toLowerCase().includes("day"))return 1+(r-1)*.25;if(e.toLowerCase().includes("week"))return r+1;if(e.toLowerCase().includes("month"))return 5+(r-1)*8;return null}async function handleParentIssue(e,t){const r=t.filter((e=>e.name.toString().startsWith("Price:")));if(r.length){await clearAllPriceLabelsOnIssue(e)}throw e.logger.error("Pricing is disabled on parent issues.")}function sortLabelsByValue(e){return e.sort(((e,t)=>(calculateLabelValue(e.name)||0)-(calculateLabelValue(t.name)||0)))}function isParentIssue(e){const t=/-\s+\[([ x])]\s+#\d+/;return RegExp(t).exec(e)}async function onLabelChangeSetPricing(e){if(!isIssueLabelEvent(e)){e.logger.debug("Not an issue event");return}const t=e.config;const r=e.logger;const s=e.payload;const o=s.repository.owner?.login;if(!o){r.error("No owner found in the repository");return}const n=s.issue.labels;if(!n){r.info(`No labels to calculate price`);return}if(s.issue.body&&isParentIssue(s.issue.body)){await handleParentIssue(e,n);return}const A=await labelAccessPermissionsCheck(e);if(!A){return}const i=s.label?.name.includes("Price: ");if(i){r.info("This is setting the price label directly so skipping the rest of the action.");const t=n.filter((e=>e.name.includes("Price: ")));const A=sortLabelsByValue(t);const i=A.shift();const a=i?.name;if(a){for(const t of A){await e.octokit.rest.issues.removeLabel({owner:o,repo:s.repository.name,issue_number:s.issue.number,name:t.name})}}return}await setPriceLabel(e,n,t)}async function setPriceLabel(e,t,r){const s=e.logger;const o=t.map((e=>e.name));const n=getRecognizedLabels(t,r);if(!n.time.length||!n.priority.length){const t=s.error("No recognized labels were found to set the price of this task.",{repo:e.payload.repository.html_url,recognizedLabels:n});if(e.eventName==="issues.labeled"){await e.commentHandler.postComment(e,t)}await clearAllPriceLabelsOnIssue(e);return}const A=getMinLabels(n);if(!A.time||!A.priority){s.error("No label to calculate price",{repo:e.payload.repository.html_url});return}for(const t of n.priority){if(t.name!==A.time?.name){await removeLabelFromIssue(e,t.name)}}const i=getPrice(e,A.time,A.priority);if(i){await handleTargetPriceLabel(e,{name:i,description:null},o);await clearAllPriceLabelsOnIssue(e);s.info(`Skipping action...`,{repo:e.payload.repository.html_url})}}function getRecognizedLabels(e,t){function isRecognizedLabel(e,t){return(typeof e==="string"||typeof e==="object")&&t.some((t=>t===e.name))}const r=e.filter((e=>isRecognizedLabel(e,t.labels.time.map((e=>e.name)))));const s=e.filter((e=>isRecognizedLabel(e,t.labels.priority.map((e=>e.name)))));return{time:r,priority:s}}function getMinLabels(e){const t=sortLabelsByValue(e.time).shift();const r=sortLabelsByValue(e.priority).shift();return{time:t,priority:r}}async function handleTargetPriceLabel(e,t,r){const{repository:s}=e.payload;if(s.name==="devpool-directory"){t.name=t.name.replace("Price: ","Pricing: ")}const o=r.find((e=>e.includes(t.name)));if(o){await handleExistingPriceLabel(e,t.name)}else{const r=await listLabelsForRepo(e);if(r.filter((e=>e.name.includes(t.name))).length===0){await createLabel(e,t.name,"price")}await addPriceLabelToIssue(e,t.name)}}async function handleExistingPriceLabel(e,t){const r=e.logger;let s=await getAllLabeledEvents(e);if(!s)return r.error("No labeled events found");s=s.filter((e=>"label"in e&&e.label.name.includes("Price")));if(!s.length)return r.error("No price labeled events found");if(s[s.length-1].actor?.type==Lt.User){r.info(`Skipping... already exists`)}else{await addPriceLabelToIssue(e,t)}}async function addPriceLabelToIssue(e,t){await clearAllPriceLabelsOnIssue(e);await addLabelToIssue(e,t)}async function getAllLabeledEvents(e){const t=await getAllIssueEvents(e);if(!t)return null;return t.filter((e=>e.event==="labeled"))}async function getAllIssueEvents(e){if(!("issue"in e.payload)||!e.payload.issue){e.logger.debug("Not an issue event");return}try{return await e.octokit.paginate(e.octokit.rest.issues.listEvents,{owner:e.payload.repository.owner.login,repo:e.payload.repository.name,issue_number:e.payload.issue.number,per_page:100})}catch(t){e.logger.error("Failed to fetch lists of events",{err:t});return[]}}const dr="No owner found in the repository!";async function generatePriceLabels(e){const{config:t,logger:r}=e;const s=[];for(const o of t.labels.time){for(const n of t.labels.priority){const A=calculateLabelValue(o.name);const i=calculateLabelValue(n.name);if(A===null||i===null){r.info("Time or Priority label is not defined, skipping.",{timeLabel:o,priorityLabel:n});continue}const a=calculateTaskPrice(e,A,i,t.basePriceMultiplier);const c=`Price: ${a} USD`;if(!s.some((e=>e.name===c))){s.push({name:c})}}}r.debug("Generated price labels",{basePriceMultiplier:t.basePriceMultiplier,priceLabels:s.map((e=>e.name)),timeLabels:t.labels.time.map((e=>e.name)),priorityLabels:t.labels.priority.map((e=>e.name))});return{priceLabels:s,pricingLabels:[...s,...t.labels.time,...t.labels.priority]}}async function getPriceLabels(e){const{pricingLabels:t,priceLabels:r}=await generatePriceLabels(e);const s=await listLabelsForRepo(e);const o=s.filter((e=>e.name.startsWith("Price: ")&&!r.some((t=>t.name===e.name))));return{incorrectPriceLabels:o,allLabels:s,pricingLabels:t}}async function syncPriceLabelsToConfig(e){const{logger:t}=e;const r=e.payload.repository.owner?.login;if(!r){throw t.error(dr)}const{allLabels:s,pricingLabels:o,incorrectPriceLabels:n}=await getPriceLabels(e);const A=s.filter((e=>e.name.startsWith("Price: ")&&e.color!==Ot.price));if(A.length>0){t.info("Incorrect color labels found, updating them",{incorrectColorPriceLabels:A.map((e=>e.name))});await Promise.allSettled(A.map((t=>e.octokit.rest.issues.updateLabel({owner:r,repo:e.payload.repository.name,name:t.name,color:Ot.price}))));t.info(`Updating incorrect color labels done`)}const i=[...new Set(o.filter((e=>!s.map((e=>e.name)).includes(e.name))).map((e=>e.name)))];if(i.length>0){await deleteLabelsFromRepository(e,n);t.info(`Missing labels found in ${e.payload.repository.html_url}, creating them`,{missingLabels:i});await Promise.allSettled(i.map((t=>createLabel(e,t,"default"))));t.info(`Creating missing labels done`)}else if(n.length>0){await deleteLabelsFromRepository(e,n)}}async function deleteLabelsFromRepository(e,t){const{logger:r}=e;const s=e.payload.repository.owner?.login;if(!s){throw r.error("No owner found in the repository!")}if(t.length>0){r.info(`Will attempt to remove incorrect price labels within ${e.payload.repository.html_url}`,{incorrectPriceLabels:t.map((e=>e.name))});await Promise.allSettled(t.map((t=>e.octokit.rest.issues.deleteLabel({owner:s,repo:e.payload.repository.name,name:t.name}))))}r.info(`Incorrect price labels removal done`)}async function isAuthed(e){if(!isPushEvent(e)){e.logger.debug("Not a push event");return false}const{payload:t,logger:r}=e;const s=t.sender?.login;const o=t.pusher?.name;const n=await isUserAdminOrBillingManager(e,o);const A=await isUserAdminOrBillingManager(e,s);if(!n){r.error("Pusher is not an admin or billing manager",{login:o})}if(!A){r.error("Sender is not an admin or billing manager",{login:s})}return!!(n&&A)}async function sendEmptyCommits(e){const{logger:t,config:{globalConfigUpdate:r}}=e;const s=[];const{repository:o}=e.payload;if(o.name===Dt){s.push(...(await listOrgRepos(e)).filter((e=>!r?.excludeRepos.includes(e.name))))}else{s.push(e.payload.repository)}t.info("Will send an empty commit to the following list of repositories",{repos:s.map((e=>e.html_url))});for(const r of s){const s={...e,payload:{repository:r}};try{await pushEmptyCommit(s)}catch(e){t.warn(`Could not push an empty commit to ${r.html_url}`,{err:e})}}}async function globalLabelUpdate(e){if(!isPushEvent(e)){e.logger.debug("Not a push event");return}const{logger:t}=e;if(!await isAuthed(e)){t.error("Changes should be pushed and triggered by an admin or billing manager.");return}const r=await isConfigModified(e)||await getLabelsChanges(e);if(r&&isPushEvent(e)){await sendEmptyCommits(e);return}else if(e.payload.head_commit?.message!==vt){t.info("The commit name does not match the label update commit message, won't update labels.",{url:e.payload.repository.html_url});return}const{incorrectPriceLabels:s,allLabels:o,pricingLabels:n}=await getPriceLabels(e);const A=[...new Set(n.filter((e=>!o.map((e=>e.name)).includes(e.name))).map((e=>e.name)))];if(s.length<=0&&A.length<=0){t.info("No incorrect price label to delete and no labels are missing, skipping.",{url:e.payload.repository.html_url});return}const i=e.payload.repository;t.info(`Updating pricing labels in ${i.html_url}`,{incorrectPriceLabels:s,missingLabels:A});const a=i.owner?.login;const c=i.name;if(!a){throw t.error("No owner was found in the payload.")}await syncPriceLabelsToConfig(e);const l=await listRepoIssues(e,a,c);for(const t of l){const r={...e,payload:{...e.payload,issue:t}};await setPriceLabel(r,t.labels,r.config)}}function isLocalEnvironment(){return process.env.NODE_ENV==="local"}function isGithubOrLocalEnvironment(){return isLocalEnvironment()||!!process.env.GITHUB_ACTIONS}function isWorkerOrLocalEnvironment(){return isLocalEnvironment()||!process.env.GITHUB_ACTIONS}async function run(e){const{eventName:t,logger:r}=e;switch(t){case"issues.opened":case"repository.created":if(isGithubOrLocalEnvironment()){await syncPriceLabelsToConfig(e)}break;case"issues.labeled":case"issues.unlabeled":if(isIssueLabelEvent(e)&&isWorkerOrLocalEnvironment()){await onLabelChangeSetPricing(e)}break;case"push":if(isGithubOrLocalEnvironment()){await globalLabelUpdate(e)}break;default:r.error(`Event ${t} is not supported`)}return{message:"OK"}}const Er=rt.Object({LOG_LEVEL:rt.Optional(rt.Enum(A)),KERNEL_PUBLIC_KEY:rt.Optional(rt.String()),ACTION_REF:rt.Optional(rt.String()),APP_ID:rt.Optional(rt.String()),APP_PRIVATE_KEY:rt.Optional(rt.String()),APP_INSTALLATION_ID:rt.Optional(rt.String())});const hr=rt.Object({globalConfigUpdate:rt.Optional(rt.Object({excludeRepos:rt.Array(rt.String(),{examples:["repo-name","no-owner-required"],description:"List of repositories to exclude from being updated"})},{description:"Updates all price labels across all tasks based on `baseRateMultiplier` changes within the config file."})),labels:rt.Object({time:rt.Array(rt.Object({name:rt.String({examples:["Time: <2 Hours","Time: <1 Week"],description:"The display name of the label representing estimated task length"})}),{default:[{name:"Time: <15 Minutes",collaboratorOnly:false},{name:"Time: <1 Hour",collaboratorOnly:false},{name:"Time: <2 Hours",collaboratorOnly:false},{name:"Time: <4 Hours",collaboratorOnly:false},{name:"Time: <1 Day",collaboratorOnly:false},{name:"Time: <1 Week",collaboratorOnly:false}]}),priority:rt.Array(rt.Object({name:rt.String({examples:["Priority: 1 (Normal)","Priority: 5 (Emergency)"],description:"The display name of the label representing task priority"}),collaboratorOnly:rt.Boolean({default:false,description:"Whether the task is only available for collaborators to be assigned"})}),{default:[{name:"Priority: 0 (Regression)",collaboratorOnly:false},{name:"Priority: 1 (Normal)",collaboratorOnly:false},{name:"Priority: 2 (Medium)",collaboratorOnly:false},{name:"Priority: 3 (High)",collaboratorOnly:false},{name:"Priority: 4 (Urgent)",collaboratorOnly:false},{name:"Priority: 5 (Emergency)",collaboratorOnly:false}]})},{default:{}}),basePriceMultiplier:rt.Number({examples:[1.5],default:1,description:"The base price multiplier for all tasks"}),publicAccessControl:rt.Object({setLabel:rt.Boolean({default:false,description:"Whether to allow anyone to set labels, false to perform permission validation"}),fundExternalClosedIssue:rt.Boolean({default:false,description:"Whether to allow funding external closed issues"}),protectLabels:rt.Array(rt.String(),{default:["priority","price","time"],uniqueItems:true})},{default:{}})},{default:{}});createActionsPlugin((e=>run(e)),{envSchema:Er,postCommentOnError:true,settingsSchema:hr,logLevel:process.env.LOG_LEVEL||A.INFO,kernelPublicKey:process.env.KERNEL_PUBLIC_KEY,bypassSignatureVerification:process.env.NODE_ENV==="local"}).catch(console.error);
\ No newline at end of file
diff --git a/manifest.json b/manifest.json
index 54b7cb89..be840638 100644
--- a/manifest.json
+++ b/manifest.json
@@ -2,6 +2,7 @@
   "name": "Assistive pricing",
   "description": "Handles assistive pricing, and allows for users to modify labels.",
   "ubiquity:listeners": ["repository.created", "issues.opened", "issues.labeled", "issues.unlabeled", "label.edited", "issue_comment.created", "push"],
+  "skipBotEvents": false,
   "configuration": {
     "default": {},
     "type": "object",
diff --git a/package.json b/package.json
index 41e17620..ebb32a40 100644
--- a/package.json
+++ b/package.json
@@ -18,7 +18,8 @@
     "knip": "knip --config .github/knip.ts",
     "knip-ci": "knip --no-exit-code --reporter json --config .github/knip.ts",
     "prepare": "husky install",
-    "test": "cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest --setupFiles dotenv/config --coverage"
+    "test": "cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest --setupFiles dotenv/config --coverage",
+    "run": "bun run --watch --no-clear-screen src/worker.ts"
   },
   "keywords": [
     "typescript",
diff --git a/src/handlers/get-base-rate-changes.ts b/src/handlers/get-base-rate-changes.ts
deleted file mode 100644
index 1e2eb1b2..00000000
--- a/src/handlers/get-base-rate-changes.ts
+++ /dev/null
@@ -1,78 +0,0 @@
-import { Context } from "../types/context";
-import { isPushEvent } from "../types/typeguards";
-
-export type Rates = {
-  previousBaseRate: number | null;
-  newBaseRate: number | null;
-};
-
-/**
- * Parses the diff of changes to the org config file to find the old and new base rates.
- *
- * This will capture changes to either the plugin's config or the global basePriceMultiplier.
- */
-export async function getBaseRateChanges(context: Context): Promise<Rates> {
-  if (!isPushEvent(context)) {
-    context.logger.debug("Not a push event");
-    return {
-      previousBaseRate: null,
-      newBaseRate: null,
-    };
-  }
-  const {
-    logger,
-    payload: { repository, head_commit: headCommit },
-  } = context;
-  const commitSha = headCommit?.id;
-  let commitData;
-
-  if (!commitSha) {
-    throw new Error("No commit sha found");
-  }
-  const owner = repository.owner?.login;
-
-  if (!owner) {
-    throw logger.error("No owner found in the repository");
-  }
-
-  try {
-    commitData = await context.octokit.rest.repos.getCommit({
-      owner,
-      repo: repository.name,
-      ref: commitSha,
-      mediaType: {
-        format: "diff",
-      },
-    });
-  } catch (err: unknown) {
-    logger.debug("Commit sha error.", { err });
-  }
-
-  if (!commitData) {
-    throw new Error("No commit data found");
-  }
-
-  const data = commitData.data as unknown as string;
-  const changes = data.split("\n");
-
-  const newValue = /\+\s*basePriceMultiplier:\s*(\S+)/;
-  const oldValue = /-\s*basePriceMultiplier:\s*(\S+)/;
-
-  const newBaseRate = extractBaseRate(changes, newValue);
-  const previousBaseRate = extractBaseRate(changes, oldValue);
-
-  if (!previousBaseRate && !newBaseRate) {
-    logger.error("No base rate changes found in the diff");
-  }
-
-  return {
-    previousBaseRate: previousBaseRate ? parseFloat(previousBaseRate) : null,
-    newBaseRate: newBaseRate ? parseFloat(newBaseRate) : null,
-  };
-}
-
-function extractBaseRate(changes: string[], regex: RegExp): string | undefined {
-  const matchedLine = changes?.find((line) => regex.test(line));
-  const match = matchedLine?.match(regex);
-  return match ? match[1] : undefined;
-}
diff --git a/src/handlers/global-config-update.ts b/src/handlers/global-config-update.ts
index 927f3dbd..7c358548 100644
--- a/src/handlers/global-config-update.ts
+++ b/src/handlers/global-config-update.ts
@@ -1,12 +1,16 @@
+import { CONFIG_ORG_REPO } from "@ubiquity-os/plugin-sdk/constants";
+import { pushEmptyCommit } from "../shared/commits";
 import { isUserAdminOrBillingManager, listOrgRepos, listRepoIssues } from "../shared/issue";
-import { Label } from "../types/github";
+import { COMMIT_MESSAGE } from "../types/constants";
 import { Context } from "../types/context";
+import { Label } from "../types/github";
 import { isPushEvent } from "../types/typeguards";
 import { isConfigModified } from "./check-modified-base-rate";
-import { getBaseRateChanges } from "./get-base-rate-changes";
 import { getLabelsChanges } from "./get-label-changes";
-import { syncPriceLabelsToConfig } from "./sync-labels-to-config";
 import { setPriceLabel } from "./pricing-label";
+import { getPriceLabels, syncPriceLabelsToConfig } from "./sync-labels-to-config";
+
+type Repositories = Awaited<ReturnType<typeof listOrgRepos>>;
 
 async function isAuthed(context: Context): Promise<boolean> {
   if (!isPushEvent(context)) {
@@ -24,89 +28,113 @@ async function isAuthed(context: Context): Promise<boolean> {
   const isSenderAuthed = await isUserAdminOrBillingManager(context, sender);
 
   if (!isPusherAuthed) {
-    logger.error("Pusher is not an admin or billing manager");
+    logger.error("Pusher is not an admin or billing manager", {
+      login: pusher,
+    });
   }
 
   if (!isSenderAuthed) {
-    logger.error("Sender is not an admin or billing manager");
+    logger.error("Sender is not an admin or billing manager", {
+      login: sender,
+    });
   }
 
   return !!(isPusherAuthed && isSenderAuthed);
 }
 
+async function sendEmptyCommits(context: Context<"push">) {
+  const {
+    logger,
+    config: { globalConfigUpdate },
+  } = context;
+
+  const repos: Repositories = [];
+  const { repository } = context.payload;
+
+  // If the configuration was modified from the configuration repo, chances are we want to update many repository labels
+  if (repository.name === CONFIG_ORG_REPO) {
+    repos.push(...(await listOrgRepos(context)).filter((repo) => !globalConfigUpdate?.excludeRepos.includes(repo.name)));
+  } else {
+    // Otherwise the configuration should only impact the hosting repository itself
+    repos.push(context.payload.repository as Repositories[0]);
+  }
+
+  logger.info("Will send an empty commit to the following list of repositories", { repos: repos.map((repo) => repo.html_url) });
+  for (const repository of repos) {
+    const ctx = {
+      ...context,
+      payload: {
+        repository: repository,
+      },
+    } as Context;
+    try {
+      // Pushing an empty commit will trigger a label update on the repository using its local configuration.
+      await pushEmptyCommit(ctx);
+    } catch (err) {
+      logger.warn(`Could not push an empty commit to ${repository.html_url}`, { err });
+    }
+  }
+}
+
 export async function globalLabelUpdate(context: Context) {
   if (!isPushEvent(context)) {
     context.logger.debug("Not a push event");
     return;
   }
 
-  const { logger, config } = context;
+  const { logger } = context;
 
   if (!(await isAuthed(context))) {
     logger.error("Changes should be pushed and triggered by an admin or billing manager.");
     return;
   }
 
-  if (!(await isConfigModified(context))) {
+  const didConfigurationChange = (await isConfigModified(context)) || (await getLabelsChanges(context));
+
+  if (didConfigurationChange && isPushEvent(context)) {
+    await sendEmptyCommits(context as Context<"push">);
+    return;
+  } else if (context.payload.head_commit?.message !== COMMIT_MESSAGE) {
+    logger.info("The commit name does not match the label update commit message, won't update labels.", {
+      url: context.payload.repository.html_url,
+    });
     return;
   }
 
-  const rates = await getBaseRateChanges(context);
-  const didLabelsChange = await getLabelsChanges(context);
+  const { incorrectPriceLabels, allLabels, pricingLabels } = await getPriceLabels(context);
+  const missingLabels = [...new Set(pricingLabels.filter((label) => !allLabels.map((i) => i.name).includes(label.name)).map((o) => o.name))];
 
-  if (rates.newBaseRate === null && !didLabelsChange) {
-    logger.error("No changes found in the diff, skipping.");
+  if (incorrectPriceLabels.length <= 0 && missingLabels.length <= 0) {
+    logger.info("No incorrect price label to delete and no labels are missing, skipping.", {
+      url: context.payload.repository.html_url,
+    });
     return;
   }
 
-  if (rates.newBaseRate !== null) {
-    logger.info(`Updating base rate from ${rates.previousBaseRate} to ${rates.newBaseRate}`);
-    config.basePriceMultiplier = rates.newBaseRate;
-  }
+  const repository = context.payload.repository;
+
+  logger.info(`Updating pricing labels in ${repository.html_url}`, {
+    incorrectPriceLabels,
+    missingLabels,
+  });
 
-  const repos = await listOrgRepos(context);
+  const owner = repository.owner?.login;
+  const repo = repository.name;
 
-  for (const repo of repos) {
+  if (!owner) {
+    throw logger.error("No owner was found in the payload.");
+  }
+
+  await syncPriceLabelsToConfig(context);
+  const issues = await listRepoIssues(context, owner, repo);
+  for (const issue of issues) {
     const ctx = {
       ...context,
       payload: {
-        repository: repo,
+        ...context.payload,
+        issue,
       },
-    } as Context;
-
-    // this should create labels on the repos that are missing
-    await syncPriceLabelsToConfig(ctx);
-  }
-
-  // update all issues with the new pricing
-  if (config.globalConfigUpdate) {
-    await updateAllIssuePriceLabels(context);
-  }
-}
-
-async function updateAllIssuePriceLabels(context: Context) {
-  const { logger, config } = context;
-  const repos = await listOrgRepos(context);
-
-  for (const repo of repos) {
-    logger.info(`Fetching issues for ${repo.name}`);
-    const issues = await listRepoIssues(context, repo.owner.login, repo.name);
-
-    for (const issue of issues) {
-      logger.info(`Updating issue ${issue.number} in ${repo.name}`);
-      await setPriceLabel(
-        {
-          ...context,
-          payload: {
-            repository: repo,
-            issue,
-          },
-        } as Context,
-        issue.labels as Label[],
-        config
-      );
-
-      await new Promise((resolve) => setTimeout(resolve, 50));
-    }
+    };
+    await setPriceLabel(ctx, issue.labels as Label[], ctx.config);
   }
 }
diff --git a/src/handlers/pricing-label.ts b/src/handlers/pricing-label.ts
index 21b6fb49..916c3103 100644
--- a/src/handlers/pricing-label.ts
+++ b/src/handlers/pricing-label.ts
@@ -71,7 +71,14 @@ export async function setPriceLabel(context: Context, issueLabels: Label[], conf
   const recognizedLabels = getRecognizedLabels(issueLabels, config);
 
   if (!recognizedLabels.time.length || !recognizedLabels.priority.length) {
-    logger.error("No recognized labels to calculate price");
+    const message = logger.error("No recognized labels were found to set the price of this task.", {
+      repo: context.payload.repository.html_url,
+      recognizedLabels,
+    });
+    // We only want to send that message on labeling, because un-label will trigger this during compute
+    if (context.eventName === "issues.labeled") {
+      await context.commentHandler.postComment(context, message);
+    }
     await clearAllPriceLabelsOnIssue(context);
     return;
   }
@@ -79,7 +86,9 @@ export async function setPriceLabel(context: Context, issueLabels: Label[], conf
   const minLabels = getMinLabels(recognizedLabels);
 
   if (!minLabels.time || !minLabels.priority) {
-    logger.error("No label to calculate price");
+    logger.error("No label to calculate price", {
+      repo: context.payload.repository.html_url,
+    });
     return;
   }
 
@@ -94,7 +103,9 @@ export async function setPriceLabel(context: Context, issueLabels: Label[], conf
   if (targetPriceLabel) {
     await handleTargetPriceLabel(context, { name: targetPriceLabel, description: null }, labelNames);
     await clearAllPriceLabelsOnIssue(context);
-    logger.info(`Skipping action...`);
+    logger.info(`Skipping action...`, {
+      repo: context.payload.repository.html_url,
+    });
   }
 }
 
diff --git a/src/handlers/sync-labels-to-config.ts b/src/handlers/sync-labels-to-config.ts
index 195079c9..16f47caa 100644
--- a/src/handlers/sync-labels-to-config.ts
+++ b/src/handlers/sync-labels-to-config.ts
@@ -8,9 +8,8 @@ import { Label } from "../types/github";
 
 const NO_OWNER_FOUND = "No owner found in the repository!";
 
-export async function syncPriceLabelsToConfig(context: Context): Promise<void> {
+async function generatePriceLabels(context: Context) {
   const { config, logger } = context;
-
   const priceLabels: { name: string }[] = [];
   for (const timeLabel of config.labels.time) {
     for (const priorityLabel of config.labels.priority) {
@@ -22,30 +21,47 @@ export async function syncPriceLabelsToConfig(context: Context): Promise<void> {
       }
       const targetPrice = calculateTaskPrice(context, timeValue, priorityValue, config.basePriceMultiplier);
       const targetPriceLabel = `Price: ${targetPrice} USD`;
-      priceLabels.push({ name: targetPriceLabel });
+      // Make sure we do not push the same price twice
+      if (!priceLabels.some((o) => o.name === targetPriceLabel)) {
+        priceLabels.push({ name: targetPriceLabel });
+      }
     }
   }
 
-  const pricingLabels = [...priceLabels, ...config.labels.time, ...config.labels.priority];
+  logger.debug("Generated price labels", {
+    basePriceMultiplier: config.basePriceMultiplier,
+    priceLabels: priceLabels.map((o) => o.name),
+    timeLabels: config.labels.time.map((o) => o.name),
+    priorityLabels: config.labels.priority.map((o) => o.name),
+  });
+  return { priceLabels, pricingLabels: [...priceLabels, ...config.labels.time, ...config.labels.priority] };
+}
+
+export async function getPriceLabels(context: Context) {
+  const { pricingLabels, priceLabels } = await generatePriceLabels(context);
 
   // List all the labels for a repository
   const allLabels = await listLabelsForRepo(context);
 
   const incorrectPriceLabels = allLabels.filter((label) => label.name.startsWith("Price: ") && !priceLabels.some((o) => o.name === label.name));
+  return { incorrectPriceLabels, allLabels, pricingLabels };
+}
 
-  if (incorrectPriceLabels.length > 0 && config.globalConfigUpdate) {
-    await handleGlobalUpdate(context, logger, incorrectPriceLabels);
+export async function syncPriceLabelsToConfig(context: Context): Promise<void> {
+  const { logger } = context;
+  const owner = context.payload.repository.owner?.login;
+
+  if (!owner) {
+    throw logger.error(NO_OWNER_FOUND);
   }
 
+  const { allLabels, pricingLabels, incorrectPriceLabels } = await getPriceLabels(context);
+
   const incorrectColorPriceLabels = allLabels.filter((label) => label.name.startsWith("Price: ") && label.color !== COLORS.price);
 
   // Update incorrect color labels
   if (incorrectColorPriceLabels.length > 0) {
     logger.info("Incorrect color labels found, updating them", { incorrectColorPriceLabels: incorrectColorPriceLabels.map((label) => label.name) });
-    const owner = context.payload.repository.owner?.login;
-    if (!owner) {
-      throw logger.error(NO_OWNER_FOUND);
-    }
     await Promise.allSettled(
       incorrectColorPriceLabels.map((label) =>
         context.octokit.rest.issues.updateLabel({
@@ -60,34 +76,41 @@ export async function syncPriceLabelsToConfig(context: Context): Promise<void> {
   }
 
   // Get the missing labels
-  const missingLabels = [...new Set(pricingLabels.filter((label) => !allLabels.map((i) => i.name).includes(label.name)))];
+  const missingLabels = [...new Set(pricingLabels.filter((label) => !allLabels.map((i) => i.name).includes(label.name)).map((o) => o.name))];
 
   // Create missing labels
   if (missingLabels.length > 0) {
-    logger.info("Missing labels found, creating them", { missingLabels });
-    await Promise.allSettled(missingLabels.map((label) => createLabel(context, label.name, "default")));
+    // Delete incorrect price labels
+    await deleteLabelsFromRepository(context, incorrectPriceLabels);
+    logger.info(`Missing labels found in ${context.payload.repository.html_url}, creating them`, { missingLabels });
+    await Promise.allSettled(missingLabels.map((label) => createLabel(context, label, "default")));
     logger.info(`Creating missing labels done`);
+  } else if (incorrectPriceLabels.length > 0) {
+    await deleteLabelsFromRepository(context, incorrectPriceLabels);
   }
 }
 
-async function handleGlobalUpdate(context: Context, logger: Context["logger"], incorrectPriceLabels: Label[]) {
-  logger.info("Incorrect price labels found, removing them", { incorrectPriceLabels: incorrectPriceLabels.map((label) => label.name) });
+async function deleteLabelsFromRepository(context: Context, incorrectPriceLabels: Label[]) {
+  const { logger } = context;
   const owner = context.payload.repository.owner?.login;
   if (!owner) {
     throw logger.error("No owner found in the repository!");
   }
 
-  for (const label of incorrectPriceLabels) {
-    logger.info(`Removing incorrect price label ${label.name}`);
-    try {
-      await context.octokit.rest.issues.deleteLabel({
-        owner,
-        repo: context.payload.repository.name,
-        name: label.name,
-      });
-    } catch (er) {
-      logger.error("Error deleting label", { er });
-    }
+  if (incorrectPriceLabels.length > 0) {
+    logger.info(`Will attempt to remove incorrect price labels within ${context.payload.repository.html_url}`, {
+      incorrectPriceLabels: incorrectPriceLabels.map((o) => o.name),
+    });
+    await Promise.allSettled(
+      incorrectPriceLabels.map((label) =>
+        context.octokit.rest.issues.deleteLabel({
+          owner,
+          repo: context.payload.repository.name,
+          name: label.name,
+        })
+      )
+    );
   }
-  logger.info(`Removing incorrect price labels done`);
+
+  logger.info(`Incorrect price labels removal done`);
 }
diff --git a/src/run.ts b/src/run.ts
index 91a889b8..25dbc128 100644
--- a/src/run.ts
+++ b/src/run.ts
@@ -4,12 +4,16 @@ import { syncPriceLabelsToConfig } from "./handlers/sync-labels-to-config";
 import { Context } from "./types/context";
 import { isIssueLabelEvent } from "./types/typeguards";
 
-function isGithubOrLocalEnvironment() {
-  return process.env.NODE_ENV === "local" || !!process.env.GITHUB_ACTIONS;
+export function isLocalEnvironment() {
+  return process.env.NODE_ENV === "local";
 }
 
-function isWorkerOrLocalEnvironment() {
-  return process.env.NODE_ENV === "local" || !process.env.GITHUB_ACTIONS;
+export function isGithubOrLocalEnvironment() {
+  return isLocalEnvironment() || !!process.env.GITHUB_ACTIONS;
+}
+
+export function isWorkerOrLocalEnvironment() {
+  return isLocalEnvironment() || !process.env.GITHUB_ACTIONS;
 }
 
 export async function run(context: Context) {
@@ -24,13 +28,8 @@ export async function run(context: Context) {
       break;
     case "issues.labeled":
     case "issues.unlabeled":
-      if (isIssueLabelEvent(context)) {
-        if (isGithubOrLocalEnvironment()) {
-          await syncPriceLabelsToConfig(context);
-        }
-        if (isWorkerOrLocalEnvironment()) {
-          await onLabelChangeSetPricing(context);
-        }
+      if (isIssueLabelEvent(context) && isWorkerOrLocalEnvironment()) {
+        await onLabelChangeSetPricing(context);
       }
       break;
     case "push":
diff --git a/src/shared/commits.ts b/src/shared/commits.ts
new file mode 100644
index 00000000..200e604f
--- /dev/null
+++ b/src/shared/commits.ts
@@ -0,0 +1,46 @@
+import { COMMIT_MESSAGE } from "../types/constants";
+import { Context } from "../types/context";
+
+export async function pushEmptyCommit(context: Context) {
+  const { octokit, payload, logger } = context;
+
+  const owner = payload.repository.owner?.login;
+  const repo = payload.repository.name;
+  const ref = `heads/${payload.repository.default_branch}`;
+
+  if (!owner) {
+    throw logger.error("No owner was found in the repository, a commit / push action cannot be performed.", {
+      payload,
+    });
+  }
+
+  const refResponse = await octokit.rest.git.getRef({
+    owner,
+    repo,
+    ref,
+  });
+  const latestCommitSha = refResponse.data.object.sha;
+  const commitResponse = await octokit.rest.git.getCommit({
+    owner,
+    repo,
+    commit_sha: latestCommitSha,
+  });
+  const treeSha = commitResponse.data.tree.sha;
+  const newCommitResponse = await octokit.rest.git.createCommit({
+    owner,
+    repo,
+    message: COMMIT_MESSAGE,
+    tree: treeSha,
+    parents: [latestCommitSha],
+  });
+  const newCommitSha = newCommitResponse.data.sha;
+  const { data } = await octokit.rest.git.updateRef({
+    owner,
+    repo,
+    ref,
+    sha: newCommitSha,
+  });
+  logger.info(`Pushed an empty commit to ${payload.repository.html_url}`, {
+    commitUrl: data.url,
+  });
+}
diff --git a/src/shared/issue.ts b/src/shared/issue.ts
index f8cf3d81..15da7c2a 100644
--- a/src/shared/issue.ts
+++ b/src/shared/issue.ts
@@ -30,9 +30,15 @@ async function checkIfIsBillingManager(context: Context, username: string) {
   return membership.role === "billing_manager";
 }
 
+function isUserOrganizationBot(context: Context) {
+  const { payload } = context;
+
+  return payload.sender?.type === "Bot";
+}
+
 export async function isUserAdminOrBillingManager(context: Context, username?: string): Promise<"admin" | "billing_manager" | false> {
   if (!username) return false;
-  const isAdmin = await checkIfIsAdmin(context, username);
+  const isAdmin = (await checkIfIsAdmin(context, username)) || isUserOrganizationBot(context);
   if (isAdmin) return "admin";
 
   const isBillingManager = await checkIfIsBillingManager(context, username);
@@ -57,11 +63,10 @@ export async function listOrgRepos(context: Context) {
 
 export async function listRepoIssues(context: Context, owner: string, repo: string) {
   try {
-    const response = await context.octokit.rest.issues.listForRepo({
+    return await context.octokit.paginate(context.octokit.rest.issues.listForRepo, {
       owner,
       repo,
     });
-    return response.data;
   } catch (err) {
     throw context.logger.error("Listing repo issues failed!", { err });
   }
diff --git a/src/shared/label.ts b/src/shared/label.ts
index 21ab303d..5d33a1c3 100644
--- a/src/shared/label.ts
+++ b/src/shared/label.ts
@@ -20,7 +20,11 @@ export async function listLabelsForRepo(context: Context): Promise<Label[]> {
     repo: payload.repository.name,
     per_page: 100,
   });
-
+  context.logger.debug(`Fetching labels for repository ${payload.repository.html_url}`, {
+    owner,
+    repo: payload.repository.name,
+    labels: res.map((o) => o.name),
+  });
   if (res.length > 0) {
     // we'll hit a secondary rate limit if using the runner token
     await new Promise((resolve) => setTimeout(resolve, 5000));
@@ -50,7 +54,7 @@ export async function createLabel(context: Context, name: string, labelType = "d
     context.logger.debug("Trying to create label", { createLabelsOptions });
     await context.octokit.rest.issues.createLabel(createLabelsOptions);
   } catch (err) {
-    throw context.logger.error("Creating a label failed!", { err });
+    context.logger.error("Creating a label failed!", { err });
   }
 }
 
@@ -77,7 +81,7 @@ export async function clearAllPriceLabelsOnIssue(context: Context) {
       // Sometimes labels are out of sync or the price was manually added, which is safe to ignore since we are
       // updating all the labels.
       if (err && typeof err === "object" && "status" in err && err.status === 404) {
-        context.logger.error(`Label ${label.name} not found on issue ${payload.issue.html_url}, ignoring.`);
+        context.logger.error(`Label [${label.name}] not found on issue ${payload.issue.html_url}, ignoring.`, { err });
       } else {
         throw context.logger.error(`Removing label on issue ${payload.issue.html_url} failed!`, { label, err });
       }
@@ -116,6 +120,6 @@ export async function removeLabelFromIssue(context: Context, labelName: string)
       name: labelName,
     });
   } catch (err: unknown) {
-    throw context.logger.error("Adding a label to issue failed!", { err });
+    throw context.logger.error("Removing a label from an issue failed!", { err });
   }
 }
diff --git a/src/types/constants.ts b/src/types/constants.ts
new file mode 100644
index 00000000..47eb84eb
--- /dev/null
+++ b/src/types/constants.ts
@@ -0,0 +1 @@
+export const COMMIT_MESSAGE = "chore: [skip ci] update labels configuration";
diff --git a/src/worker.ts b/src/worker.ts
index 507de35b..7720cad6 100644
--- a/src/worker.ts
+++ b/src/worker.ts
@@ -6,7 +6,7 @@ import { Manifest } from "@ubiquity-os/plugin-sdk/manifest";
 import { LOG_LEVEL, LogLevel } from "@ubiquity-os/ubiquity-os-logger";
 import type { ExecutionContext } from "hono";
 import manifest from "../manifest.json";
-import { run } from "./run";
+import { isLocalEnvironment, run } from "./run";
 import { Context, SupportedEvents } from "./types/context";
 import { Env, envSchema } from "./types/env";
 import { AssistivePricingSettings, pluginSettingsSchema } from "./types/plugin-input";
@@ -80,13 +80,15 @@ export default {
           case "issues.opened":
           case "repository.created":
           case "push": {
-            const text = (await responseClone.json()) as Record<string, unknown>;
-            return startAction(context, text);
+            if (isLocalEnvironment()) {
+              return run(context);
+            } else {
+              const text = (await responseClone.json()) as Record<string, unknown>;
+              return startAction(context, text);
+            }
           }
           case "issues.labeled":
           case "issues.unlabeled": {
-            const text = (await responseClone.json()) as Record<string, unknown>;
-            await startAction(context, text);
             return run(context);
           }
           default: {
diff --git a/tests/__mocks__/handlers.ts b/tests/__mocks__/handlers.ts
index 94c74fdb..59b3171b 100644
--- a/tests/__mocks__/handlers.ts
+++ b/tests/__mocks__/handlers.ts
@@ -196,6 +196,8 @@ export const handlers = [
     return HttpResponse.json(labels);
   }),
   http.post("http://localhost:65432/rest/v1/access", () => HttpResponse.json()),
+  http.get("https://api.github.com/repos/:owner/:repo/issues/:issue_number/labels", () => HttpResponse.json()),
+  http.get("https://api.github.com/repos/:owner/:repo/git/ref/heads**", () => HttpResponse.json()),
 ];
 
 async function getLabel(body: ReadableStream<Uint8Array> | null) {
diff --git a/tests/__mocks__/helpers.ts b/tests/__mocks__/helpers.ts
index 3e368933..063d743e 100644
--- a/tests/__mocks__/helpers.ts
+++ b/tests/__mocks__/helpers.ts
@@ -112,7 +112,7 @@ export async function setupTests() {
 
   db.repo.create({
     id: 1,
-    html_url: "",
+    html_url: `https://github.com/repos/${STRINGS.UBIQUITY}/${STRINGS.TEST_REPO}`,
     name: STRINGS.TEST_REPO,
     owner: {
       login: STRINGS.UBIQUITY,
diff --git a/tests/__mocks__/strings.ts b/tests/__mocks__/strings.ts
index ce26826a..1653be46 100644
--- a/tests/__mocks__/strings.ts
+++ b/tests/__mocks__/strings.ts
@@ -9,11 +9,14 @@ export const STRINGS = {
   EMAIL: "ubiquity@dao",
   CONFIG_CHANGED_IN_COMMIT: `${CONFIG_FULL_PATH} was modified or added in the commits`,
   CREATED_NEW_LABEL: "Created new price label",
-  UPDATING_ISSUE_1_IN_TEST_REPO: "Updating issue 1 in test-repo",
-  UPDATING_ISSUE_2_IN_TEST_REPO: "Updating issue 2 in test-repo",
-  UPDATING_ISSUE_3_IN_TEST_REPO: "Updating issue 3 in test-repo",
+  UPDATING_ISSUE_1_IN_TEST_REPO: "Updating pricing labels in https://github.com/repos/ubiquity/test-repo",
+  UPDATING_ISSUE_2_IN_TEST_REPO: "Updating pricing labels in https://github.com/repos/ubiquity/test-repo",
+  UPDATING_ISSUE_3_IN_TEST_REPO: "Updating pricing labels in https://github.com/repos/ubiquity/test-repo",
+  PUSH_UPDATE_IN_TEST_REPO: "Could not push an empty commit to https://github.com/repos/ubiquity/test-repo",
   UPDATING_FROM_1_TO_5: "Updating base rate from 1 to 5",
   CREATING_MISSING_LABELS: "Creating missing labels done",
+  DELETING_LABELS: "Removing all labels in issue",
+  EMPTY_COMMITS: "Will send an empty commit to the following list of repositories",
   PUSHER_NOT_AUTHED: "Pusher is not an admin or billing manager",
   SENDER_NOT_AUTHED: "Sender is not an admin or billing manager",
   NO_RECOGNIZED_LABELS: "No recognized labels to calculate price",
diff --git a/tests/global-update.test.ts b/tests/global-update.test.ts
index 9c5df4fc..4f58003d 100644
--- a/tests/global-update.test.ts
+++ b/tests/global-update.test.ts
@@ -1,17 +1,18 @@
+import { afterAll, afterEach, beforeAll, beforeEach, describe, expect, it, jest } from "@jest/globals";
 import { drop } from "@mswjs/data";
+import { customOctokit as Octokit } from "@ubiquity-os/plugin-sdk/octokit";
+import { Logs } from "@ubiquity-os/ubiquity-os-logger";
+import dotenv from "dotenv";
+import { ZERO_SHA } from "../src/handlers/check-modified-base-rate";
+import { globalLabelUpdate } from "../src/handlers/global-config-update";
 import { Context } from "../src/types/context";
+import { Label } from "../src/types/github";
+import { priceMap, PRIORITY_LABELS, TIME_LABELS } from "./__mocks__/constants";
 import { db } from "./__mocks__/db";
+import { createCommit, inMemoryCommits, setupTests } from "./__mocks__/helpers";
 import { server } from "./__mocks__/node";
-import { it, describe, beforeAll, beforeEach, afterAll, expect, afterEach, jest } from "@jest/globals";
-import { ZERO_SHA } from "../src/handlers/check-modified-base-rate";
-import dotenv from "dotenv";
-import { priceMap, PRIORITY_LABELS, TIME_LABELS } from "./__mocks__/constants";
 import { STRINGS } from "./__mocks__/strings";
-import { Label } from "../src/types/github";
-import { globalLabelUpdate } from "../src/handlers/global-config-update";
-import { setupTests, inMemoryCommits, createCommit } from "./__mocks__/helpers";
-import { Logs } from "@ubiquity-os/ubiquity-os-logger";
-import { customOctokit as Octokit } from "@ubiquity-os/plugin-sdk/octokit";
+
 dotenv.config();
 
 const TEST_TIMEOUT = 30 * 1000;
@@ -63,18 +64,18 @@ describe("Label Base Rate Changes", () => {
       const updatedIssue = db.issue.findFirst({ where: { id: { equals: 1 } } });
       const updatedIssue2 = db.issue.findFirst({ where: { id: { equals: 3 } } });
 
-      expect(updatedRepo?.labels).toHaveLength(28);
+      expect(updatedRepo?.labels).toHaveLength(29);
       expect(updatedIssue?.labels).toHaveLength(3);
-      expect(updatedIssue2?.labels).toHaveLength(3);
+      expect(updatedIssue2?.labels).toHaveLength(2);
 
       const priceLabels = updatedIssue?.labels.filter((label) => (label as Label).name.includes("Price:"));
       const priceLabels2 = updatedIssue2?.labels.filter((label) => (label as Label).name.includes("Price:"));
 
       expect(priceLabels).toHaveLength(1);
-      expect(priceLabels2).toHaveLength(1);
+      expect(priceLabels2).toHaveLength(0);
 
-      expect(priceLabels?.map((label) => (label as Label).name)).toContain(`Price: ${priceMap[1] * 5} USD`);
-      expect(priceLabels2?.map((label) => (label as Label).name)).toContain(`Price: ${priceMap[1] * 5} USD`);
+      expect(priceLabels?.map((label) => (label as Label).name)).toContain(`Price: ${priceMap[1] * 2} USD`);
+      expect(priceLabels2?.map((label) => (label as Label).name)).toHaveLength(0);
 
       const noTandP = db.issue.findFirst({ where: { id: { equals: 2 } } });
       expect(noTandP?.labels).toHaveLength(0);
@@ -87,7 +88,7 @@ describe("Label Base Rate Changes", () => {
     async () => {
       const pusher = db.users.findFirst({ where: { id: { equals: 4 } } }) as unknown as Context["payload"]["sender"];
       const commits = inMemoryCommits(STRINGS.SHA_1, true, true);
-      const { context, errorSpy, infoSpy } = innerSetup(
+      const { context, infoSpy, warnSpy } = innerSetup(
         1,
         commits,
         STRINGS.SHA_1,
@@ -104,15 +105,9 @@ describe("Label Base Rate Changes", () => {
         },
         pusher
       );
-
       await globalLabelUpdate(context);
-      expect(errorSpy).toHaveBeenCalledWith(STRINGS.NO_RECOGNIZED_LABELS);
       expect(infoSpy).toHaveBeenCalledWith(STRINGS.CONFIG_CHANGED_IN_COMMIT);
-      expect(infoSpy).toHaveBeenCalledWith(STRINGS.UPDATING_FROM_1_TO_5);
-      expect(infoSpy).toHaveBeenCalledWith(STRINGS.CREATING_MISSING_LABELS);
-      expect(infoSpy).toHaveBeenCalledWith(STRINGS.UPDATING_ISSUE_1_IN_TEST_REPO);
-      expect(infoSpy).toHaveBeenCalledWith(STRINGS.UPDATING_ISSUE_3_IN_TEST_REPO);
-      expect(infoSpy).toHaveBeenCalledWith(STRINGS.UPDATING_ISSUE_2_IN_TEST_REPO);
+      expect(warnSpy).toHaveBeenCalledWith(STRINGS.PUSH_UPDATE_IN_TEST_REPO, expect.anything());
     },
     TEST_TIMEOUT
   );
@@ -122,7 +117,7 @@ describe("Label Base Rate Changes", () => {
     async () => {
       const pusher = db.users.findFirst({ where: { id: { equals: 1 } } }) as unknown as Context["payload"]["sender"];
       const commits = inMemoryCommits(STRINGS.SHA_1, true, true);
-      const { context, errorSpy, infoSpy } = innerSetup(
+      const { context, infoSpy, warnSpy } = innerSetup(
         1,
         commits,
         STRINGS.SHA_1,
@@ -142,13 +137,7 @@ describe("Label Base Rate Changes", () => {
 
       await globalLabelUpdate(context);
       expect(infoSpy).toHaveBeenCalledWith(STRINGS.CONFIG_CHANGED_IN_COMMIT);
-      expect(infoSpy).toHaveBeenCalledWith(STRINGS.UPDATING_FROM_1_TO_5);
-
-      expect(infoSpy).toHaveBeenCalledWith(STRINGS.CREATING_MISSING_LABELS);
-      expect(infoSpy).toHaveBeenCalledWith(STRINGS.UPDATING_ISSUE_1_IN_TEST_REPO);
-      expect(infoSpy).toHaveBeenCalledWith(STRINGS.UPDATING_ISSUE_3_IN_TEST_REPO);
-      expect(infoSpy).toHaveBeenCalledWith(STRINGS.UPDATING_ISSUE_2_IN_TEST_REPO);
-      expect(errorSpy).toHaveBeenCalledWith(STRINGS.NO_RECOGNIZED_LABELS);
+      expect(warnSpy).toHaveBeenCalledWith(STRINGS.PUSH_UPDATE_IN_TEST_REPO, expect.anything());
     },
     TEST_TIMEOUT
   );
@@ -184,18 +173,18 @@ describe("Label Base Rate Changes", () => {
 
       expect(infoSpy).toHaveBeenNthCalledWith(1, STRINGS.CONFIG_CHANGED_IN_COMMIT);
 
-      expect(updatedRepo?.labels).toHaveLength(35);
+      expect(updatedRepo?.labels).toHaveLength(29);
       expect(updatedIssue?.labels).toHaveLength(3);
-      expect(updatedIssue2?.labels).toHaveLength(3);
+      expect(updatedIssue2?.labels).toHaveLength(2);
 
       const priceLabels = updatedIssue?.labels.filter((label) => (label as Label).name.includes("Price:"));
       const priceLabels2 = updatedIssue2?.labels.filter((label) => (label as Label).name.includes("Price:"));
 
       expect(priceLabels).toHaveLength(1);
-      expect(priceLabels2).toHaveLength(1);
+      expect(priceLabels2).toHaveLength(0);
 
-      expect(priceLabels?.map((label) => (label as Label).name)).toContain(`Price: ${priceMap[1] * 27} USD`);
-      expect(priceLabels2?.map((label) => (label as Label).name)).toContain(`Price: ${priceMap[1] * 27} USD`);
+      expect(priceLabels?.map((label) => (label as Label).name)).toContain(`Price: ${priceMap[1] * 2} USD`);
+      expect(priceLabels2?.map((label) => (label as Label).name)).toHaveLength(0);
 
       const sender_ = context.payload.sender;
 
@@ -234,18 +223,18 @@ describe("Label Base Rate Changes", () => {
       const updatedIssue = db.issue.findFirst({ where: { id: { equals: 1 } } });
       const updatedIssue2 = db.issue.findFirst({ where: { id: { equals: 3 } } });
 
-      expect(updatedRepo?.labels).toHaveLength(35);
+      expect(updatedRepo?.labels).toHaveLength(29);
       expect(updatedIssue?.labels).toHaveLength(3);
-      expect(updatedIssue2?.labels).toHaveLength(3);
+      expect(updatedIssue2?.labels).toHaveLength(2);
 
       const priceLabels = updatedIssue?.labels.filter((label) => (label as Label).name.includes("Price:"));
       const priceLabels2 = updatedIssue2?.labels.filter((label) => (label as Label).name.includes("Price:"));
 
       expect(priceLabels).toHaveLength(1);
-      expect(priceLabels2).toHaveLength(1);
+      expect(priceLabels2).toHaveLength(0);
 
-      expect(priceLabels?.map((label) => (label as Label).name)).toContain(`Price: ${priceMap[1] * 8.5} USD`);
-      expect(priceLabels2?.map((label) => (label as Label).name)).toContain(`Price: ${priceMap[1] * 8.5} USD`);
+      expect(priceLabels?.map((label) => (label as Label).name)).toContain(`Price: ${priceMap[1] * 2} USD`);
+      expect(priceLabels2?.map((label) => (label as Label).name)).toHaveLength(0);
     },
     TEST_TIMEOUT
   );
@@ -255,7 +244,7 @@ describe("Label Base Rate Changes", () => {
     async () => {
       const pusher = db.users.findFirst({ where: { id: { equals: 1 } } }) as unknown as Context["payload"]["sender"];
       const commits = inMemoryCommits(STRINGS.SHA_1);
-      const { context, infoSpy, errorSpy } = innerSetup(
+      const { context, infoSpy } = innerSetup(
         1,
         commits,
         STRINGS.SHA_1,
@@ -279,9 +268,7 @@ describe("Label Base Rate Changes", () => {
       await globalLabelUpdate(context);
 
       expect(infoSpy).toHaveBeenNthCalledWith(1, STRINGS.CONFIG_CHANGED_IN_COMMIT);
-      expect(infoSpy).toHaveBeenNthCalledWith(2, STRINGS.UPDATING_FROM_1_TO_5);
       expect(infoSpy).toHaveBeenCalledTimes(2);
-      expect(errorSpy).toHaveBeenCalledTimes(1);
     },
     TEST_TIMEOUT
   );
@@ -308,13 +295,11 @@ describe("Label Base Rate Changes", () => {
         },
         pusher
       );
-
       context.config.globalConfigUpdate = undefined;
       await globalLabelUpdate(context);
 
       expect(infoSpy).toHaveBeenNthCalledWith(1, STRINGS.CONFIG_CHANGED_IN_COMMIT);
-      expect(infoSpy).toHaveBeenNthCalledWith(2, STRINGS.UPDATING_FROM_1_TO_5);
-      expect(infoSpy).toHaveBeenNthCalledWith(4, STRINGS.CREATING_MISSING_LABELS);
+      expect(infoSpy).toHaveBeenNthCalledWith(2, STRINGS.EMPTY_COMMITS, expect.anything());
     },
     TEST_TIMEOUT
   );
@@ -343,8 +328,8 @@ describe("Label Base Rate Changes", () => {
       );
 
       await globalLabelUpdate(context);
-      expect(errorSpy).toHaveBeenNthCalledWith(1, STRINGS.PUSHER_NOT_AUTHED);
-      expect(errorSpy).toHaveBeenNthCalledWith(2, STRINGS.SENDER_NOT_AUTHED);
+      expect(errorSpy).toHaveBeenNthCalledWith(1, STRINGS.PUSHER_NOT_AUTHED, expect.anything());
+      expect(errorSpy).toHaveBeenNthCalledWith(2, STRINGS.SENDER_NOT_AUTHED, expect.anything());
     },
     TEST_TIMEOUT
   );
@@ -402,7 +387,7 @@ describe("Label Base Rate Changes", () => {
       );
 
       await globalLabelUpdate(context);
-      expect(errorSpy).toHaveBeenNthCalledWith(1, STRINGS.PUSHER_NOT_AUTHED);
+      expect(errorSpy).toHaveBeenNthCalledWith(1, STRINGS.PUSHER_NOT_AUTHED, expect.anything());
       expect(errorSpy).toHaveBeenCalledWith(STRINGS.NEEDS_TRIGGERED_BY_ADMIN_OR_BILLING_MANAGER);
       expect(infoSpy).not.toHaveBeenCalled();
     },
@@ -433,7 +418,7 @@ describe("Label Base Rate Changes", () => {
       );
 
       await globalLabelUpdate(context);
-      expect(errorSpy).toHaveBeenNthCalledWith(1, STRINGS.PUSHER_NOT_AUTHED);
+      expect(errorSpy).toHaveBeenNthCalledWith(1, STRINGS.PUSHER_NOT_AUTHED, expect.anything());
       expect(errorSpy).toHaveBeenCalledWith(STRINGS.NEEDS_TRIGGERED_BY_ADMIN_OR_BILLING_MANAGER);
     },
     TEST_TIMEOUT
@@ -463,7 +448,7 @@ describe("Label Base Rate Changes", () => {
       );
 
       await globalLabelUpdate(context);
-      expect(errorSpy).toHaveBeenCalledWith(STRINGS.SENDER_NOT_AUTHED);
+      expect(errorSpy).toHaveBeenCalledWith(STRINGS.SENDER_NOT_AUTHED, expect.anything());
       expect(errorSpy).toHaveBeenCalledWith(STRINGS.NEEDS_TRIGGERED_BY_ADMIN_OR_BILLING_MANAGER);
     },
     TEST_TIMEOUT
@@ -493,10 +478,10 @@ describe("Label Base Rate Changes", () => {
       );
 
       await globalLabelUpdate(context);
-      expect(infoSpy).toHaveBeenCalledTimes(1);
+      expect(infoSpy).toHaveBeenCalledTimes(2);
       expect(infoSpy).toHaveBeenCalledWith("Skipping push events. A new branch was created");
 
-      expect(errorSpy).not.toHaveBeenCalled();
+      expect(errorSpy).toHaveBeenCalledWith("No label changes found in the diff");
     },
     TEST_TIMEOUT
   );
@@ -520,6 +505,7 @@ function innerSetup(
   const context = createContext(sender, commits, before, after, pusher, globalConfigUpdate);
 
   const infoSpy = jest.spyOn(context.logger, "info");
+  const warnSpy = jest.spyOn(context.logger, "warn");
   const errorSpy = jest.spyOn(context.logger, "error");
 
   const repo = db.repo.findFirst({ where: { id: { equals: 1 } } });
@@ -534,6 +520,7 @@ function innerSetup(
     context,
     infoSpy,
     errorSpy,
+    warnSpy,
     repo,
     issue1,
     issue2,
diff --git a/tests/price-labels.test.ts b/tests/price-labels.test.ts
index 4c49b68e..1ca81a1d 100644
--- a/tests/price-labels.test.ts
+++ b/tests/price-labels.test.ts
@@ -15,6 +15,7 @@ jest.unstable_mockModule("../src/shared/label", () => ({
 const mockLogger = {
   info: jest.fn(),
   error: jest.fn(),
+  debug: jest.fn(),
 };
 
 const mockOctokit = {


Reviews:
user: login: 0x4007
body: This seems like it's tricky to test since it addresses a lot of odds and ends. Perhaps we can test in production. 
state: APPROVED
author_association: MEMBER
submitted_at: 2025-02-23T23:33:26Z
user: login: whilefoo
state: CHANGES_REQUESTED
author_association: MEMBER
submitted_at: 2025-02-24T17:10:30Z
user: login: gentlementlegen
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-02-26T06:15:50Z
user: login: gentlementlegen
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-02-26T07:57:11Z
user: login: gentlementlegen
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-02-26T08:03:56Z
user: login: gentlementlegen
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-02-26T08:26:45Z
user: login: gentlementlegen
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-02-26T08:27:17Z
user: login: whilefoo
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-02-26T08:36:43Z
user: login: whilefoo
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-02-26T08:41:36Z
user: login: gentlementlegen
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-02-26T09:06:55Z
user: login: gentlementlegen
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-02-26T10:12:55Z
user: login: whilefoo
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-02-27T12:25:13Z
user: login: gentlementlegen
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-02-28T05:01:34Z
user: login: 0x4007
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-03-01T07:44:13Z
user: login: gentlementlegen
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-03-01T07:47:01Z
user: login: whilefoo
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-03-01T20:49:02Z
user: login: gentlementlegen
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-03-02T13:45:51Z
user: login: whilefoo
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-03-03T15:52:43Z
user: login: gentlementlegen
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-03-04T06:08:58Z
user: login: whilefoo
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-03-04T20:37:08Z
user: login: 0x4007
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-03-05T07:52:53Z
user: login: whilefoo
state: APPROVED
author_association: MEMBER
submitted_at: 2025-03-07T16:03:21Z

Review comments:
diff_hunk: @@ -80,14 +80,22 @@ export default {
           case "issues.opened":
           case "repository.created":
           case "push": {
-            const text = (await responseClone.json()) as Record<string, unknown>;
-            return startAction(context, text);
+            if (isLocalEnvironment()) {
+              return run(context);
+            } else {
+              const text = (await responseClone.json()) as Record<string, unknown>;
+              return startAction(context, text);
+            }
           }
           case "issues.labeled":
           case "issues.unlabeled": {
-            const text = (await responseClone.json()) as Record<string, unknown>;
-            await startAction(context, text);
-            return run(context);
+            if (isLocalEnvironment()) {
+              return run(context);
+            } else {
+              const text = (await responseClone.json()) as Record<string, unknown>;
+              await startAction(context, text);
+              return run(context);
+            }
           }
path: src/worker.ts
user: login: whilefoo
body: isn't this run only in the worker? why run both?
created_at: 2025-02-24T16:25:25Z
author_association: MEMBER
diff_hunk: @@ -63,18 +64,18 @@ describe("Label Base Rate Changes", () => {
       const updatedIssue = db.issue.findFirst({ where: { id: { equals: 1 } } });
       const updatedIssue2 = db.issue.findFirst({ where: { id: { equals: 3 } } });
 
-      expect(updatedRepo?.labels).toHaveLength(28);
+      expect(updatedRepo?.labels).toHaveLength(29);
       expect(updatedIssue?.labels).toHaveLength(3);
-      expect(updatedIssue2?.labels).toHaveLength(3);
+      expect(updatedIssue2?.labels).toHaveLength(2);
 
       const priceLabels = updatedIssue?.labels.filter((label) => (label as Label).name.includes("Price:"));
       const priceLabels2 = updatedIssue2?.labels.filter((label) => (label as Label).name.includes("Price:"));
 
       expect(priceLabels).toHaveLength(1);
-      expect(priceLabels2).toHaveLength(1);
+      expect(priceLabels2).toHaveLength(0);
 
-      expect(priceLabels?.map((label) => (label as Label).name)).toContain(`Price: ${priceMap[1] * 5} USD`);
-      expect(priceLabels2?.map((label) => (label as Label).name)).toContain(`Price: ${priceMap[1] * 5} USD`);
path: tests/global-update.test.ts
user: login: whilefoo
body: why did these numbers change?
created_at: 2025-02-24T16:27:14Z
author_association: MEMBER
diff_hunk: @@ -66,47 +64,50 @@ export async function globalLabelUpdate(context: Context) {
 
   const repos = await listOrgRepos(context);
 
-  for (const repo of repos) {
+  for (const repository of repos) {
     const ctx = {
       ...context,
       payload: {
-        repository: repo,
+        repository: repository,
       },
     } as Context;
 
-    // this should create labels on the repos that are missing
-    await syncPriceLabelsToConfig(ctx);
-  }
-
-  // update all issues with the new pricing
-  if (config.globalConfigUpdate) {
-    await updateAllIssuePriceLabels(context);
-  }
-}
-
-async function updateAllIssuePriceLabels(context: Context) {
-  const { logger, config } = context;
-  const repos = await listOrgRepos(context);
-
-  for (const repo of repos) {
-    logger.info(`Fetching issues for ${repo.name}`);
-    const issues = await listRepoIssues(context, repo.owner.login, repo.name);
+    logger.info(`Updating pricing labels in ${repository.html_url}`);
 
+    const owner = repository.owner.login;
+    const repo = repository.name;
+    const issues = await listRepoIssues(context, owner, repo);
+    // For each issue inside the repository, we want to save the currently set labels except the price,
+    // then remove all these labels, trigger a synchronization so up-to-date Price labels are generated,
+    // and finally we want to add back all the previously set labels (except the price).
+    // This way, the plugin gets triggered by the "issues.labeled" event, and recreates the price, using the proper
+    // configuration.
     for (const issue of issues) {
-      logger.info(`Updating issue ${issue.number} in ${repo.name}`);
-      await setPriceLabel(
-        {
-          ...context,
-          payload: {
-            repository: repo,
-            issue,
-          },
-        } as Context,
-        issue.labels as Label[],
-        config
-      );
-
-      await new Promise((resolve) => setTimeout(resolve, 50));
+      const currentLabels = (
+        await context.octokit.paginate(context.octokit.rest.issues.listLabelsOnIssue, {
+          owner,
+          repo,
+          issue_number: issue.number,
+        })
+      )
+        .filter((o) => !o.name.startsWith("Price:"))
+        .map((o) => o.name);
+      logger.info(`Removing all labels in issue ${issue.html_url}`, { currentLabels });
+      if (currentLabels.length) {
+        await context.octokit.rest.issues.removeAllLabels({
+          owner,
+          repo,
+          issue_number: issue.number,
+        });
+        // this should create labels on the repos that are missing
+        await syncPriceLabelsToConfig(ctx);
+        await context.octokit.rest.issues.addLabels({
+          repo,
+          owner,
+          issue_number: issue.number,
+          labels: currentLabels,
+        });
path: src/handlers/global-config-update.ts
user: login: whilefoo
body: I hope this won't cause rate limit issue. Suppose you have a repo with 100 issues and then you remove all labels triggering this plugin to run 100 times and then you add back labels again triggering 100 runs, even worse if you have multiple big repos
created_at: 2025-02-24T16:40:02Z
author_association: MEMBER
diff_hunk: @@ -22,11 +21,25 @@ export async function syncPriceLabelsToConfig(context: Context): Promise<void> {
       }
       const targetPrice = calculateTaskPrice(context, timeValue, priorityValue, config.basePriceMultiplier);
       const targetPriceLabel = `Price: ${targetPrice} USD`;
-      priceLabels.push({ name: targetPriceLabel });
+      // Make sure we do not push the same price twice
+      if (!priceLabels.some((o) => o.name === targetPrice)) {
+        priceLabels.push({ name: targetPriceLabel });
+      }
path: src/handlers/sync-labels-to-config.ts
user: login: whilefoo
body: ```suggestion
      if (!priceLabels.some((o) => o.name === targetPriceLabel)) {
        priceLabels.push({ name: targetPriceLabel });
      }
```
shouldn't you compare the whole label name and not just the price value?
created_at: 2025-02-24T16:44:42Z
author_association: MEMBER
diff_hunk: @@ -35,17 +48,21 @@ export async function syncPriceLabelsToConfig(context: Context): Promise<void> {
 
   if (incorrectPriceLabels.length > 0 && config.globalConfigUpdate) {
     await handleGlobalUpdate(context, logger, incorrectPriceLabels);
path: src/handlers/sync-labels-to-config.ts
user: login: whilefoo
body: `handleGlobalUpdate` will remove incorrect price labels, but later in this function (`syncPriceLabelsToConfig`) you also remove all current price labels, so is there any reason to have `handleGlobalUpdate` or vice versa?
created_at: 2025-02-24T16:57:33Z
author_association: MEMBER
diff_hunk: @@ -60,34 +77,56 @@ export async function syncPriceLabelsToConfig(context: Context): Promise<void> {
   }
 
   // Get the missing labels
-  const missingLabels = [...new Set(pricingLabels.filter((label) => !allLabels.map((i) => i.name).includes(label.name)))];
+  const missingLabels = [...new Set(pricingLabels.filter((label) => !allLabels.map((i) => i.name).includes(label.name)).map((o) => o.name))];
+
+  // Delete current price labels
+  const labelsToDelete = allLabels.filter((o) => o.name.startsWith("Price: "));
+  if (labelsToDelete.length > 0) {
+    logger.info("Deleting current list of price labels", {
+      labels: labelsToDelete.map((o) => o.name),
+    });
+    await Promise.allSettled(
+      labelsToDelete.map((label) =>
+        context.octokit.rest.issues.deleteLabel({
+          owner,
+          repo: context.payload.repository.name,
+          name: label.name,
+        })
+      )
+    );
+  }
path: src/handlers/sync-labels-to-config.ts
user: login: whilefoo
body: is there a scenario where this function runs but price labels stay the same, because in that scenario it will delete them but they won't be created again
created_at: 2025-02-24T17:01:54Z
author_association: MEMBER
diff_hunk: @@ -66,47 +64,50 @@ export async function globalLabelUpdate(context: Context) {
 
   const repos = await listOrgRepos(context);
 
-  for (const repo of repos) {
+  for (const repository of repos) {
     const ctx = {
       ...context,
       payload: {
-        repository: repo,
+        repository: repository,
       },
     } as Context;
path: src/handlers/global-config-update.ts
user: login: whilefoo
body: here only repository is changed but won't config stay the same even though the repo may have different config than org?
created_at: 2025-02-24T17:09:06Z
author_association: MEMBER
diff_hunk: @@ -66,47 +64,50 @@ export async function globalLabelUpdate(context: Context) {
 
   const repos = await listOrgRepos(context);
 
-  for (const repo of repos) {
+  for (const repository of repos) {
     const ctx = {
       ...context,
       payload: {
-        repository: repo,
+        repository: repository,
       },
     } as Context;
 
-    // this should create labels on the repos that are missing
-    await syncPriceLabelsToConfig(ctx);
-  }
-
-  // update all issues with the new pricing
-  if (config.globalConfigUpdate) {
-    await updateAllIssuePriceLabels(context);
-  }
-}
-
-async function updateAllIssuePriceLabels(context: Context) {
-  const { logger, config } = context;
-  const repos = await listOrgRepos(context);
-
-  for (const repo of repos) {
-    logger.info(`Fetching issues for ${repo.name}`);
-    const issues = await listRepoIssues(context, repo.owner.login, repo.name);
+    logger.info(`Updating pricing labels in ${repository.html_url}`);
 
+    const owner = repository.owner.login;
+    const repo = repository.name;
+    const issues = await listRepoIssues(context, owner, repo);
+    // For each issue inside the repository, we want to save the currently set labels except the price,
+    // then remove all these labels, trigger a synchronization so up-to-date Price labels are generated,
+    // and finally we want to add back all the previously set labels (except the price).
+    // This way, the plugin gets triggered by the "issues.labeled" event, and recreates the price, using the proper
+    // configuration.
     for (const issue of issues) {
-      logger.info(`Updating issue ${issue.number} in ${repo.name}`);
-      await setPriceLabel(
-        {
-          ...context,
-          payload: {
-            repository: repo,
-            issue,
-          },
-        } as Context,
-        issue.labels as Label[],
-        config
-      );
-
-      await new Promise((resolve) => setTimeout(resolve, 50));
+      const currentLabels = (
+        await context.octokit.paginate(context.octokit.rest.issues.listLabelsOnIssue, {
+          owner,
+          repo,
+          issue_number: issue.number,
+        })
+      )
+        .filter((o) => !o.name.startsWith("Price:"))
+        .map((o) => o.name);
+      logger.info(`Removing all labels in issue ${issue.html_url}`, { currentLabels });
+      if (currentLabels.length) {
+        await context.octokit.rest.issues.removeAllLabels({
+          owner,
+          repo,
+          issue_number: issue.number,
+        });
+        // this should create labels on the repos that are missing
+        await syncPriceLabelsToConfig(ctx);
+        await context.octokit.rest.issues.addLabels({
+          repo,
+          owner,
+          issue_number: issue.number,
+          labels: currentLabels,
+        });
path: src/handlers/global-config-update.ts
user: login: gentlementlegen
body: I tried within the org I use that has has many repositories as `ubiquity-os-marketplace` (but ofc has less issues). I've seen the Action hit secondary rate limits, but the throttler has retried the API calls and it eventually finished the run. Because issues are processed in order, worst case would be that it stops mid run, but probably would only leave one issue without price.

I am not sure how we can get around this problem, because that it is the only way I found to actually trigger updates properly on each repository using the proper configuration.
created_at: 2025-02-26T06:15:50Z
author_association: MEMBER
diff_hunk: @@ -60,34 +77,56 @@ export async function syncPriceLabelsToConfig(context: Context): Promise<void> {
   }
 
   // Get the missing labels
-  const missingLabels = [...new Set(pricingLabels.filter((label) => !allLabels.map((i) => i.name).includes(label.name)))];
+  const missingLabels = [...new Set(pricingLabels.filter((label) => !allLabels.map((i) => i.name).includes(label.name)).map((o) => o.name))];
+
+  // Delete current price labels
+  const labelsToDelete = allLabels.filter((o) => o.name.startsWith("Price: "));
+  if (labelsToDelete.length > 0) {
+    logger.info("Deleting current list of price labels", {
+      labels: labelsToDelete.map((o) => o.name),
+    });
+    await Promise.allSettled(
+      labelsToDelete.map((label) =>
+        context.octokit.rest.issues.deleteLabel({
+          owner,
+          repo: context.payload.repository.name,
+          name: label.name,
+        })
+      )
+    );
+  }
path: src/handlers/sync-labels-to-config.ts
user: login: gentlementlegen
body: Even if the labels remain the same, they would be listed within the `missingLabels` list so would get added back either way. You can try this by changing the configuration from `1` to `1.0` multiplier for example. Otherwise, if there is no multiplier change, nothing should be ran either way.
created_at: 2025-02-26T07:57:11Z
author_association: MEMBER
diff_hunk: @@ -35,17 +48,21 @@ export async function syncPriceLabelsToConfig(context: Context): Promise<void> {
 
   if (incorrectPriceLabels.length > 0 && config.globalConfigUpdate) {
     await handleGlobalUpdate(context, logger, incorrectPriceLabels);
path: src/handlers/sync-labels-to-config.ts
user: login: gentlementlegen
body: Since I removed the logic to apply this on every repo of the organization you are right. I will rename it to reflect what it does and remove the duplicated code. https://github.com/ubiquity-os-marketplace/daemon-pricing/pull/89/commits/f5f19660a8f8e28066406139f32bce62873cfa09
created_at: 2025-02-26T08:03:56Z
author_association: MEMBER
diff_hunk: @@ -63,18 +64,18 @@ describe("Label Base Rate Changes", () => {
       const updatedIssue = db.issue.findFirst({ where: { id: { equals: 1 } } });
       const updatedIssue2 = db.issue.findFirst({ where: { id: { equals: 3 } } });
 
-      expect(updatedRepo?.labels).toHaveLength(28);
+      expect(updatedRepo?.labels).toHaveLength(29);
       expect(updatedIssue?.labels).toHaveLength(3);
-      expect(updatedIssue2?.labels).toHaveLength(3);
+      expect(updatedIssue2?.labels).toHaveLength(2);
 
       const priceLabels = updatedIssue?.labels.filter((label) => (label as Label).name.includes("Price:"));
       const priceLabels2 = updatedIssue2?.labels.filter((label) => (label as Label).name.includes("Price:"));
 
       expect(priceLabels).toHaveLength(1);
-      expect(priceLabels2).toHaveLength(1);
+      expect(priceLabels2).toHaveLength(0);
 
-      expect(priceLabels?.map((label) => (label as Label).name)).toContain(`Price: ${priceMap[1] * 5} USD`);
-      expect(priceLabels2?.map((label) => (label as Label).name)).toContain(`Price: ${priceMap[1] * 5} USD`);
path: tests/global-update.test.ts
user: login: gentlementlegen
body: Since the re-pricing has moved to the label event, these tests do not update the price labels anymore, which is why the numbers changed.
created_at: 2025-02-26T08:26:44Z
author_association: MEMBER
diff_hunk: @@ -80,14 +80,22 @@ export default {
           case "issues.opened":
           case "repository.created":
           case "push": {
-            const text = (await responseClone.json()) as Record<string, unknown>;
-            return startAction(context, text);
+            if (isLocalEnvironment()) {
+              return run(context);
+            } else {
+              const text = (await responseClone.json()) as Record<string, unknown>;
+              return startAction(context, text);
+            }
           }
           case "issues.labeled":
           case "issues.unlabeled": {
-            const text = (await responseClone.json()) as Record<string, unknown>;
-            await startAction(context, text);
-            return run(context);
+            if (isLocalEnvironment()) {
+              return run(context);
+            } else {
+              const text = (await responseClone.json()) as Record<string, unknown>;
+              await startAction(context, text);
+              return run(context);
+            }
           }
path: src/worker.ts
user: login: gentlementlegen
body: Had changed these before completely removing the logic inside of the worker, changed this to only call `run`.
created_at: 2025-02-26T08:27:16Z
author_association: MEMBER
diff_hunk: @@ -60,34 +77,56 @@ export async function syncPriceLabelsToConfig(context: Context): Promise<void> {
   }
 
   // Get the missing labels
-  const missingLabels = [...new Set(pricingLabels.filter((label) => !allLabels.map((i) => i.name).includes(label.name)))];
+  const missingLabels = [...new Set(pricingLabels.filter((label) => !allLabels.map((i) => i.name).includes(label.name)).map((o) => o.name))];
+
+  // Delete current price labels
+  const labelsToDelete = allLabels.filter((o) => o.name.startsWith("Price: "));
+  if (labelsToDelete.length > 0) {
+    logger.info("Deleting current list of price labels", {
+      labels: labelsToDelete.map((o) => o.name),
+    });
+    await Promise.allSettled(
+      labelsToDelete.map((label) =>
+        context.octokit.rest.issues.deleteLabel({
+          owner,
+          repo: context.payload.repository.name,
+          name: label.name,
+        })
+      )
+    );
+  }
path: src/handlers/sync-labels-to-config.ts
user: login: whilefoo
body: For example you change multiplier from `1` to `1.0`, `allLabels` have `Price: 100 USD` and `pricingLabels` have `Price: 100 USD` so it means `missingLabels` will filter out `Price: 100 USD` so then it will remove all price labels but only create the ones in `missingLabels` which doesn't have `Price: 100 USD`
created_at: 2025-02-26T08:36:43Z
author_association: MEMBER
diff_hunk: @@ -66,47 +64,50 @@ export async function globalLabelUpdate(context: Context) {
 
   const repos = await listOrgRepos(context);
 
-  for (const repo of repos) {
+  for (const repository of repos) {
     const ctx = {
       ...context,
       payload: {
-        repository: repo,
+        repository: repository,
       },
     } as Context;
 
-    // this should create labels on the repos that are missing
-    await syncPriceLabelsToConfig(ctx);
-  }
-
-  // update all issues with the new pricing
-  if (config.globalConfigUpdate) {
-    await updateAllIssuePriceLabels(context);
-  }
-}
-
-async function updateAllIssuePriceLabels(context: Context) {
-  const { logger, config } = context;
-  const repos = await listOrgRepos(context);
-
-  for (const repo of repos) {
-    logger.info(`Fetching issues for ${repo.name}`);
-    const issues = await listRepoIssues(context, repo.owner.login, repo.name);
+    logger.info(`Updating pricing labels in ${repository.html_url}`);
 
+    const owner = repository.owner.login;
+    const repo = repository.name;
+    const issues = await listRepoIssues(context, owner, repo);
+    // For each issue inside the repository, we want to save the currently set labels except the price,
+    // then remove all these labels, trigger a synchronization so up-to-date Price labels are generated,
+    // and finally we want to add back all the previously set labels (except the price).
+    // This way, the plugin gets triggered by the "issues.labeled" event, and recreates the price, using the proper
+    // configuration.
     for (const issue of issues) {
-      logger.info(`Updating issue ${issue.number} in ${repo.name}`);
-      await setPriceLabel(
-        {
-          ...context,
-          payload: {
-            repository: repo,
-            issue,
-          },
-        } as Context,
-        issue.labels as Label[],
-        config
-      );
-
-      await new Promise((resolve) => setTimeout(resolve, 50));
+      const currentLabels = (
+        await context.octokit.paginate(context.octokit.rest.issues.listLabelsOnIssue, {
+          owner,
+          repo,
+          issue_number: issue.number,
+        })
+      )
+        .filter((o) => !o.name.startsWith("Price:"))
+        .map((o) => o.name);
+      logger.info(`Removing all labels in issue ${issue.html_url}`, { currentLabels });
+      if (currentLabels.length) {
+        await context.octokit.rest.issues.removeAllLabels({
+          owner,
+          repo,
+          issue_number: issue.number,
+        });
+        // this should create labels on the repos that are missing
+        await syncPriceLabelsToConfig(ctx);
+        await context.octokit.rest.issues.addLabels({
+          repo,
+          owner,
+          issue_number: issue.number,
+          labels: currentLabels,
+        });
path: src/handlers/global-config-update.ts
user: login: whilefoo
body: Yeah there's really no solution and throttler will work fine in the Action because it has 6 hours to run (I think), Worker side that runs on labeled event will possibly timeout 
created_at: 2025-02-26T08:41:36Z
author_association: MEMBER
diff_hunk: @@ -66,47 +64,50 @@ export async function globalLabelUpdate(context: Context) {
 
   const repos = await listOrgRepos(context);
 
-  for (const repo of repos) {
+  for (const repository of repos) {
     const ctx = {
       ...context,
       payload: {
-        repository: repo,
+        repository: repository,
       },
     } as Context;
 
-    // this should create labels on the repos that are missing
-    await syncPriceLabelsToConfig(ctx);
-  }
-
-  // update all issues with the new pricing
-  if (config.globalConfigUpdate) {
-    await updateAllIssuePriceLabels(context);
-  }
-}
-
-async function updateAllIssuePriceLabels(context: Context) {
-  const { logger, config } = context;
-  const repos = await listOrgRepos(context);
-
-  for (const repo of repos) {
-    logger.info(`Fetching issues for ${repo.name}`);
-    const issues = await listRepoIssues(context, repo.owner.login, repo.name);
+    logger.info(`Updating pricing labels in ${repository.html_url}`);
 
+    const owner = repository.owner.login;
+    const repo = repository.name;
+    const issues = await listRepoIssues(context, owner, repo);
+    // For each issue inside the repository, we want to save the currently set labels except the price,
+    // then remove all these labels, trigger a synchronization so up-to-date Price labels are generated,
+    // and finally we want to add back all the previously set labels (except the price).
+    // This way, the plugin gets triggered by the "issues.labeled" event, and recreates the price, using the proper
+    // configuration.
     for (const issue of issues) {
-      logger.info(`Updating issue ${issue.number} in ${repo.name}`);
-      await setPriceLabel(
-        {
-          ...context,
-          payload: {
-            repository: repo,
-            issue,
-          },
-        } as Context,
-        issue.labels as Label[],
-        config
-      );
-
-      await new Promise((resolve) => setTimeout(resolve, 50));
+      const currentLabels = (
+        await context.octokit.paginate(context.octokit.rest.issues.listLabelsOnIssue, {
+          owner,
+          repo,
+          issue_number: issue.number,
+        })
+      )
+        .filter((o) => !o.name.startsWith("Price:"))
+        .map((o) => o.name);
+      logger.info(`Removing all labels in issue ${issue.html_url}`, { currentLabels });
+      if (currentLabels.length) {
+        await context.octokit.rest.issues.removeAllLabels({
+          owner,
+          repo,
+          issue_number: issue.number,
+        });
+        // this should create labels on the repos that are missing
+        await syncPriceLabelsToConfig(ctx);
+        await context.octokit.rest.issues.addLabels({
+          repo,
+          owner,
+          issue_number: issue.number,
+          labels: currentLabels,
+        });
path: src/handlers/global-config-update.ts
user: login: gentlementlegen
body: I would be more concerned about Cloudflare (Azure wouldn't mind). But I suppose that's not something we run often.
created_at: 2025-02-26T09:06:55Z
author_association: MEMBER
diff_hunk: @@ -60,34 +77,56 @@ export async function syncPriceLabelsToConfig(context: Context): Promise<void> {
   }
 
   // Get the missing labels
-  const missingLabels = [...new Set(pricingLabels.filter((label) => !allLabels.map((i) => i.name).includes(label.name)))];
+  const missingLabels = [...new Set(pricingLabels.filter((label) => !allLabels.map((i) => i.name).includes(label.name)).map((o) => o.name))];
+
+  // Delete current price labels
+  const labelsToDelete = allLabels.filter((o) => o.name.startsWith("Price: "));
+  if (labelsToDelete.length > 0) {
+    logger.info("Deleting current list of price labels", {
+      labels: labelsToDelete.map((o) => o.name),
+    });
+    await Promise.allSettled(
+      labelsToDelete.map((label) =>
+        context.octokit.rest.issues.deleteLabel({
+          owner,
+          repo: context.payload.repository.name,
+          name: label.name,
+        })
+      )
+    );
+  }
path: src/handlers/sync-labels-to-config.ts
user: login: gentlementlegen
body: QA with `1` to `1.0` https://github.com/Meniole/daemon-disqualifier/issues/24

Since no incorrect label is found (they are all the same) no label gets deleted either.
created_at: 2025-02-26T10:12:55Z
author_association: MEMBER
diff_hunk: @@ -99,8 +91,6 @@ export async function globalLabelUpdate(context: Context) {
           repo,
           issue_number: issue.number,
         });
-        // this should create labels on the repos that are missing
-        await syncPriceLabelsToConfig(ctx);
path: src/handlers/global-config-update.ts
user: login: whilefoo
body: why was this removed now? This is executed on push events which mean that labels/multiplier could change so it should sync labels, no?
created_at: 2025-02-27T12:15:24Z
author_association: MEMBER
diff_hunk: @@ -99,8 +91,6 @@ export async function globalLabelUpdate(context: Context) {
           repo,
           issue_number: issue.number,
         });
-        // this should create labels on the repos that are missing
-        await syncPriceLabelsToConfig(ctx);
path: src/handlers/global-config-update.ts
user: login: gentlementlegen
body: It was to address https://github.com/ubiquity-os-marketplace/daemon-pricing/pull/89#discussion_r1968073145 but I realize it wouldn't work either.

One technique I can think of would be to change the push logic as follow:
"issues.opened" and "repository.created" events would make the plugin push one empty commit to each repo
"push" event would be responsible to call `syncPriceLabelsToConfig` only for its own repo. This way we would use the proper configuration.

Only downside is that it is getting quite expensive to update labels, in terms of API calls.
created_at: 2025-02-28T05:01:34Z
author_association: MEMBER
diff_hunk: @@ -24,16 +24,40 @@ async function isAuthed(context: Context): Promise<boolean> {
   const isSenderAuthed = await isUserAdminOrBillingManager(context, sender);
 
   if (!isPusherAuthed) {
-    logger.error("Pusher is not an admin or billing manager");
+    logger.error("Pusher is not an admin or billing manager", {
+      login: pusher,
+    });
   }
 
   if (!isSenderAuthed) {
-    logger.error("Sender is not an admin or billing manager");
+    logger.error("Sender is not an admin or billing manager", {
+      login: sender,
+    });
   }
 
   return !!(isPusherAuthed && isSenderAuthed);
 }
 
+async function sendEmptyCommits(context: Context) {
+  const { logger } = context;
+
+  const repos = await listOrgRepos(context);
+  for (const repository of repos) {
+    const ctx = {
+      ...context,
+      payload: {
+        repository: repository,
+      },
+    } as Context;
+    // Pushing an empty commit will trigger a label update on the repository using its local configuration.
path: src/handlers/global-config-update.ts
user: login: 0x4007
body: Interesting workaround
created_at: 2025-03-01T07:42:51Z
author_association: MEMBER
diff_hunk: @@ -24,16 +24,40 @@ async function isAuthed(context: Context): Promise<boolean> {
   const isSenderAuthed = await isUserAdminOrBillingManager(context, sender);
 
   if (!isPusherAuthed) {
-    logger.error("Pusher is not an admin or billing manager");
+    logger.error("Pusher is not an admin or billing manager", {
+      login: pusher,
+    });
   }
 
   if (!isSenderAuthed) {
-    logger.error("Sender is not an admin or billing manager");
+    logger.error("Sender is not an admin or billing manager", {
+      login: sender,
+    });
   }
 
   return !!(isPusherAuthed && isSenderAuthed);
 }
 
+async function sendEmptyCommits(context: Context) {
+  const { logger } = context;
+
+  const repos = await listOrgRepos(context);
+  for (const repository of repos) {
+    const ctx = {
+      ...context,
+      payload: {
+        repository: repository,
+      },
+    } as Context;
+    // Pushing an empty commit will trigger a label update on the repository using its local configuration.
path: src/handlers/global-config-update.ts
user: login: gentlementlegen
body: The main issue we always face is to use the local configuration if it is overridden so it is preferable to trigger any sort of events directly inside of the repo itself
created_at: 2025-03-01T07:47:01Z
author_association: MEMBER
diff_hunk: @@ -99,8 +91,6 @@ export async function globalLabelUpdate(context: Context) {
           repo,
           issue_number: issue.number,
         });
-        // this should create labels on the repos that are missing
-        await syncPriceLabelsToConfig(ctx);
path: src/handlers/global-config-update.ts
user: login: whilefoo
body: Couldn't you fetch the correct config since you have Octokit with org's token so you have access to all repos? Then you could sync labels and add new price labels in the Action.
created_at: 2025-03-01T20:49:02Z
author_association: MEMBER
diff_hunk: @@ -99,8 +91,6 @@ export async function globalLabelUpdate(context: Context) {
           repo,
           issue_number: issue.number,
         });
-        // this should create labels on the repos that are missing
-        await syncPriceLabelsToConfig(ctx);
path: src/handlers/global-config-update.ts
user: login: gentlementlegen
body: I think this would complexify a lot the plug-in and might not be necessary. I had an idea that might help reducing a lot API calls and use the proper configuration file. 
created_at: 2025-03-02T13:45:51Z
author_association: MEMBER
diff_hunk: @@ -79,30 +72,28 @@ export async function syncPriceLabelsToConfig(context: Context): Promise<void> {
   // Get the missing labels
   const missingLabels = [...new Set(pricingLabels.filter((label) => !allLabels.map((i) => i.name).includes(label.name)).map((o) => o.name))];
 
-  // Delete current price labels
-  const labelsToDelete = allLabels.filter((o) => o.name.startsWith("Price: "));
-  await deleteLabelsFromRepository(context, labelsToDelete);
-
   // Create missing labels
   if (missingLabels.length > 0) {
+    // Delete current price labels
+    const labelsToDelete = allLabels.filter((o) => o.name.startsWith("Price: "));
+    await deleteLabelsFromRepository(context, labelsToDelete);
     logger.info(`Missing labels found in ${context.payload.repository.html_url}, creating them`, { missingLabels });
     await Promise.allSettled(missingLabels.map((label) => createLabel(context, label, "default")));
     logger.info(`Creating missing labels done`);
+  } else if (incorrectPriceLabels.length > 0) {
+    await deleteLabelsFromRepository(context, incorrectPriceLabels);
   }
path: src/handlers/sync-labels-to-config.ts
user: login: whilefoo
body: what about deleting incorrect time and priority labels? for example if you change them in the config
created_at: 2025-03-03T15:52:38Z
author_association: MEMBER
diff_hunk: @@ -79,30 +72,28 @@ export async function syncPriceLabelsToConfig(context: Context): Promise<void> {
   // Get the missing labels
   const missingLabels = [...new Set(pricingLabels.filter((label) => !allLabels.map((i) => i.name).includes(label.name)).map((o) => o.name))];
 
-  // Delete current price labels
-  const labelsToDelete = allLabels.filter((o) => o.name.startsWith("Price: "));
-  await deleteLabelsFromRepository(context, labelsToDelete);
-
   // Create missing labels
   if (missingLabels.length > 0) {
+    // Delete current price labels
+    const labelsToDelete = allLabels.filter((o) => o.name.startsWith("Price: "));
+    await deleteLabelsFromRepository(context, labelsToDelete);
     logger.info(`Missing labels found in ${context.payload.repository.html_url}, creating them`, { missingLabels });
     await Promise.allSettled(missingLabels.map((label) => createLabel(context, label, "default")));
     logger.info(`Creating missing labels done`);
+  } else if (incorrectPriceLabels.length > 0) {
+    await deleteLabelsFromRepository(context, incorrectPriceLabels);
   }
path: src/handlers/sync-labels-to-config.ts
user: login: gentlementlegen
body: Yes I saw that this was not implemented and the Priority and Labels keep stacking up. I also think that we might want to enforce a naming pattern for "Priority" and "Labels" because technically right now you can name these anything you like.

However if you delete some labels that were use in the issue, the price is just removed and nothing else happens, which is intended sine the pricing cannot be calculated.
created_at: 2025-03-04T06:08:58Z
author_association: MEMBER
diff_hunk: @@ -79,30 +72,28 @@ export async function syncPriceLabelsToConfig(context: Context): Promise<void> {
   // Get the missing labels
   const missingLabels = [...new Set(pricingLabels.filter((label) => !allLabels.map((i) => i.name).includes(label.name)).map((o) => o.name))];
 
-  // Delete current price labels
-  const labelsToDelete = allLabels.filter((o) => o.name.startsWith("Price: "));
-  await deleteLabelsFromRepository(context, labelsToDelete);
-
   // Create missing labels
   if (missingLabels.length > 0) {
+    // Delete current price labels
+    const labelsToDelete = allLabels.filter((o) => o.name.startsWith("Price: "));
+    await deleteLabelsFromRepository(context, labelsToDelete);
     logger.info(`Missing labels found in ${context.payload.repository.html_url}, creating them`, { missingLabels });
     await Promise.allSettled(missingLabels.map((label) => createLabel(context, label, "default")));
     logger.info(`Creating missing labels done`);
+  } else if (incorrectPriceLabels.length > 0) {
+    await deleteLabelsFromRepository(context, incorrectPriceLabels);
   }
path: src/handlers/sync-labels-to-config.ts
user: login: whilefoo
body: Yeah this was never implemented so let's leave that for another task
created_at: 2025-03-04T20:37:08Z
author_association: MEMBER
diff_hunk: @@ -79,30 +72,28 @@ export async function syncPriceLabelsToConfig(context: Context): Promise<void> {
   // Get the missing labels
   const missingLabels = [...new Set(pricingLabels.filter((label) => !allLabels.map((i) => i.name).includes(label.name)).map((o) => o.name))];
 
-  // Delete current price labels
-  const labelsToDelete = allLabels.filter((o) => o.name.startsWith("Price: "));
-  await deleteLabelsFromRepository(context, labelsToDelete);
-
   // Create missing labels
   if (missingLabels.length > 0) {
+    // Delete current price labels
+    const labelsToDelete = allLabels.filter((o) => o.name.startsWith("Price: "));
+    await deleteLabelsFromRepository(context, labelsToDelete);
     logger.info(`Missing labels found in ${context.payload.repository.html_url}, creating them`, { missingLabels });
     await Promise.allSettled(missingLabels.map((label) => createLabel(context, label, "default")));
     logger.info(`Creating missing labels done`);
+  } else if (incorrectPriceLabels.length > 0) {
+    await deleteLabelsFromRepository(context, incorrectPriceLabels);
   }
path: src/handlers/sync-labels-to-config.ts
user: login: 0x4007
body: > Yes I saw that this was not implemented and the Priority and Labels keep stacking up. I also think that we might want to enforce a naming pattern for "Priority" and "Labels" because technically right now you can name these anything you like.

One of the most invasive features of @ubiquityos is the labels. That's precisely what received the complaint from Rick. These labels should be fully customizable to make the integration far more seamless. This was always the plan from day one. 

In addition we should only retain the actively used price labels instead of pre populating them. 

created_at: 2025-03-05T07:52:53Z
author_association: MEMBER

PR comments:
user: login: ubiquity-os-beta[bot]
created_at: 2025-02-20T01:41:45Z
body: @gentlementlegen, this task has been idle for a while. Please provide an update.


<!-- Ubiquity - Followup - remindAssignees - undefined
{
  "taskAssignees": [
    9807008
  ],
  "caller": "remindAssignees"
}
-->
author_association: CONTRIBUTOR
user: login: gentlementlegen
created_at: 2025-02-20T02:23:06Z
body: Working on it 😄 
author_association: MEMBER
user: login: 0x4007
created_at: 2025-02-20T05:42:42Z
body: I think you should unassign until actively working on it. Or else @ubiquityos wouldn't follow up 
author_association: MEMBER
user: login: gentlementlegen
created_at: 2025-02-20T05:54:37Z
body: @0x4007 I am working on it, was busy with the demo the last two days.
author_association: MEMBER
user: login: ubiquity-os-beta[bot]
created_at: 2025-02-23T01:46:57Z
body: @gentlementlegen, this task has been idle for a while. Please provide an update.


<!-- Ubiquity - Followup - remindAssignees - undefined
{
  "taskAssignees": [
    9807008
  ],
  "caller": "remindAssignees"
}
-->
author_association: CONTRIBUTOR
user: login: gentlementlegen
created_at: 2025-02-23T11:04:41Z
body: I need to fix the test, otherwise this would be ready for review.
author_association: MEMBER
user: login: ubiquity-os-beta[bot]
created_at: 2025-02-25T12:30:12Z
body: @gentlementlegen, this task has been idle for a while. Please provide an update.


<!-- Ubiquity - Followup - remindAssignees - undefined
{
  "taskAssignees": [
    9807008
  ],
  "caller": "remindAssignees"
}
-->
author_association: CONTRIBUTOR
user: login: ubiquity-os-beta[bot]
created_at: 2025-02-28T01:43:47Z
body: @gentlementlegen, you have used <code>**2**</code> of <code>**3**</code> available deadline extensions. Please provide an update on your progress.
<!-- Ubiquity - Followup - constructBodyWithMetadata - undefined
{
  "taskAssignees": [
    9807008
  ],
  "url": "https://github.com/ubiquity-os-marketplace/daemon-pricing/issues/64",
  "extensionsLimit": 3,
  "remainingExtensions": 2,
  "caller": "constructBodyWithMetadata"
}
-->
author_association: CONTRIBUTOR
user: login: github-actions[bot]
created_at: 2025-03-01T06:15:12Z
body: <!-- Knip-reporter-reporter-0 -->

### Unused files (1)

`src/handlers/get-base-rate-changes.ts`
author_association: CONTRIBUTOR
user: login: 0x4007
created_at: 2025-03-01T07:40:39Z
body: > @0x4007 RFC!

It's a bit hard for me to tell what's going on from the pictures but I trust you and I are on the same page with the problems. 
author_association: MEMBER
user: login: gentlementlegen
created_at: 2025-03-01T11:27:35Z
body: I tested changing the configuration a lot of times in a large organization, and it works fine until the worker gets stuck and then no more updates occur on the labels (yet actions work fine because they can wait for 6h before setting labels). Since I already started changing all the logic to use the proper configuration, I'll check for a workaround and spend more time on this to have something reliable.
author_association: MEMBER
user: login: 0x4007
created_at: 2025-03-01T14:03:47Z
body: We can consider a first responder and safe mode 

Worker 

Actions

author_association: MEMBER
user: login: gentlementlegen
created_at: 2025-03-03T12:12:05Z
body: ## Version 2 proposal

The more I tried to fix the issue the more I had to change the whole logic, which went far beyond the spec.
So here is the new behavior I would implement here:

- `globalConfigUpdate` would only be used to ignore repositories
- to update the repositories properly, I would push an empty commit (that also skips CI to avoid useless runs)
- when the push notification is received, two scenarios: one is that the configuration changed, which in turn will make the plugin send empty commits; second is that the commit name is the one to update the labels, so the label update will run; otherwise, do nothing.
- if the configuration is changed within any other repo than `.ubiquity-os`, then only send that push commit to itself. Otherwise, send it to the whole organization repos except the ones ignored in `globalConfigUpdate`
- because the push event occurs within the repo itself, we can safely do the whole update in one run, no more need to unset / reset labels like in my first approach, saving lots of API calls.

So far, it is working great. However it is still easy to hit API limits as @whilefoo warned because GitHub does not offer a way to batch create / update labels, so you have to delete and create 1 label at a time. That means around 30 calls per repo depending on the amount of priority / time combinations in the configuration. Because it is run in an action, it's okay it will retry until it works (within 6 hour for sure it will run). However when the limit is hit, the Workers will also deny label updates because they also have reached the limit.

We don't change the base multiplier every 10 minutes so I believe we are in the clear. Any suggestions welcome, but I think this workflow covers all the configuration problems we had.
author_association: MEMBER
user: login: gentlementlegen
created_at: 2025-03-03T12:15:07Z
body: /help
author_association: MEMBER
user: login: ubiquity-os-beta[bot]
created_at: 2025-03-03T12:15:11Z
body: ### Available Commands


| Command | Description | Example |
|---|---|---|
| `/help` | List all available commands. | `/help` |
| `/ask` | Ask any question about the repository, issue or pull request | `/ask` |
| `/query` | Returns the user's wallet, access, and multiplier information. | `/query @UbiquityOS` |
| `/start` | Assign yourself and/or others to the issue/task. | `/start` |
| `/stop` | Unassign yourself from the issue/task. | `/stop` |
| `/wallet` | Register your wallet address for payments. Use '/wallet unset' to unlink your wallet. | `/wallet ubq.eth` |
author_association: CONTRIBUTOR
user: login: whilefoo
created_at: 2025-03-03T14:18:47Z
body: I realized that the repo config completely overrides org config, so when you push an empty commit to a repo that doesn't have a config then it will have org config so it will correctly work but if it has a config which doesn't have pricing plugin (only other plugins), the plugin won't even run. Is this intended? I guess we can't do much because of the way config merging works right now.
author_association: MEMBER
user: login: ubiquity-os-beta[bot]
created_at: 2025-03-03T14:20:16Z
body: @shiv810 you have used all available deadline extensions and have been disqualified from this task.

<!-- UbiquityOS - removeAllAssignees - 8db855e4bd70644ca9c6bb04555131370cf9f2c1 - @whilefoo - https://github.com/ubiquity-os-marketplace/daemon-disqualifier/actions/runs/13633007914
{
  "issue": "https://github.com/ubiquity-os-marketplace/daemon-pricing/issues/82",
  "caller": "removeAllAssignees"
}
-->

author_association: CONTRIBUTOR
user: login: gentlementlegen
created_at: 2025-03-03T14:29:35Z
body: > I realized that the repo config completely overrides org config, so when you push an empty commit to a repo that doesn't have a config then it will have org config so it will correctly work but if it has a config which doesn't have pricing plugin (only other plugins), the plugin won't even run. Is this intended? I guess we can't do much because of the way config merging works right now.

It seems to make sense to me, since the intent would have been to disable the pricing plugin by not setting it in the configuration. And if someday we change that logic, because we trigger the event in the repository directly, that would change accordingly without any needed changes (config merging for example).
author_association: MEMBER
user: login: whilefoo
created_at: 2025-03-03T14:35:09Z
body: > It seems to make sense to me, since the intent would have been to disable the pricing plugin by not setting it in the configuration.

I guess, but you could also argue that if you have a repo config with one plugin (for example you only want this plugin in this repo) you still want to run plugins from org config
author_association: MEMBER
user: login: ubiquity-os-beta[bot]
created_at: 2025-03-05T01:45:16Z
body: @gentlementlegen, you have used <code>**1**</code> of <code>**3**</code> available deadline extensions. Please provide an update on your progress.
<!-- Ubiquity - Followup - constructBodyWithMetadata - undefined
{
  "taskAssignees": [
    9807008
  ],
  "url": "https://github.com/ubiquity-os-marketplace/daemon-pricing/issues/64",
  "extensionsLimit": 3,
  "remainingExtensions": 3,
  "caller": "constructBodyWithMetadata"
}
-->
author_association: CONTRIBUTOR
user: login: gentlementlegen
created_at: 2025-03-05T04:43:28Z
body: I thoroughly tested it against the two orgs I have, and everything seemed fined, except if you run it 10+ times and eventually hit API limits. It is a bit hard to show the QA but basically:
- [instigator run](https://github.com/Meniole/daemon-pricing/actions/runs/13668620935/job/38214557688)
- [related repo run](https://github.com/Meniole/daemon-pricing/actions/runs/13668624784/job/38214566907)

You can even see that it restores pricing tags when the missing labels are set:
- https://github.com/mentlegen-2/.ubiquity-os/issues/6
author_association: MEMBER
user: login: whilefoo
created_at: 2025-03-05T11:32:25Z
body: Not sure if I did something wrong but I think this is incorrect behavior:
I have an org with org-wide config, one [repo](https://github.com/ubiquibot-whilefoo-testing/testing) with its own pricing config, and another [repo](https://github.com/ubiquibot-whilefoo-testing/test) with empty config. I triggered the run by [commiting](https://github.com/ubiquibot-whilefoo-testing/test/commit/dd3508519dc13e88e3f8c5f67d225174a071d7ab) an empty line in the config and what happened was that it removed all price labels but only added three labels.
[First run](https://github.com/ubiquity-whilefoo/daemon-pricing/actions/runs/13674875926/job/38233054036)
[Second run](https://github.com/ubiquity-whilefoo/daemon-pricing/actions/runs/13674880201/job/38233068948)
author_association: MEMBER
user: login: gentlementlegen
created_at: 2025-03-06T08:06:04Z
body: @whilefoo if you could set the LOG_LEVEL to debug to have more run info it might help. Also I can't see, what price labels are now left in the `test` repo after the run? Because the price labels removed are the ones that would not match the current configuration. It would only create the ones missing, so creating only 3 might be correct if all the other labels are already present in your repo (which is something we can see with `debug` log level).
author_association: MEMBER
user: login: whilefoo
created_at: 2025-03-06T10:27:59Z
body: > Also I can't see, what price labels are now left in the `test` repo after the run?

![image](https://github.com/user-attachments/assets/35416fcc-b997-484e-9f12-1838947a6a32)

Tried to [trigger](https://github.com/ubiquibot-whilefoo-testing/test/commit/f4b0330be4bae299a0d47f1b9f9ee89d66e40d35) again and now it removed those 3 labels and added other labels: https://github.com/ubiquity-whilefoo/daemon-pricing/actions/runs/13697088627/job/38301892557
Triggering for [3rd time](https://github.com/ubiquity-whilefoo/daemon-pricing/actions/runs/13697235685/job/38302360185) makes it go back to those 3 labels.
Something weird is definitely going on
author_association: MEMBER
user: login: gentlementlegen
created_at: 2025-03-06T11:23:35Z
body: Okay I will try to reproduce this. What bothers me is that your config within `test` seems empty which in turn should mean nothing happens in the repository, the labels should not even be running there.
author_association: MEMBER
user: login: whilefoo
created_at: 2025-03-06T11:27:13Z
body: > Okay I will try to reproduce this. What bothers me is that your config within `test` seems empty which in turn should mean nothing happens in the repository, the labels should not even be running there.

The kernel checks for plugins array length
https://github.com/ubiquity-os/ubiquity-os-kernel/blob/d9ae7482477dbe9d07c367ddb795f66250b97e69/src/github/utils/config.ts#L54
author_association: MEMBER
user: login: gentlementlegen
created_at: 2025-03-06T11:30:42Z
body: Right, forgot about this, and not sure if that makes much sense but ok. This in turns means it should technically be using https://github.com/ubiquibot-whilefoo-testing/.ubiquity-os/blob/main/.github/.ubiquity-os.config.yml configuration then.

https://github.com/ubiquity-whilefoo/daemon-pricing/actions/runs/13697088627/job/38301892557 makes sense, and subsequent runs should basically do nothing because labels have been created already.

So the setup seems to be:
- `.ubiquity-os` org config with basic settings and global update enabled
- `test` with an empty array of plugins

I will add some more debug info with the multiplier and list of considered priorities and time to help debugging.
author_association: MEMBER
user: login: gentlementlegen
created_at: 2025-03-06T13:54:40Z
body: @whilefoo I think I found the root of the problem. Here is your configuration:
https://github.com/ubiquibot-whilefoo-testing/.ubiquity-os/blob/main/.github/.ubiquity-os.config.yml#L3
 
You should target the Worker not the Action. Please let me know if that helped.

---

Changed all the price tags being deleted to only the wrong price tags and creating the missing ones, which should solve the problem.
author_association: MEMBER
user: login: whilefoo
created_at: 2025-03-06T22:05:13Z
body: Now it works correctly!
But me targeting the Action instead of the Worker wasn't the root problem though? It was the plugin deleting all price labels instead of just incorrect labels, right?
author_association: MEMBER
user: login: gentlementlegen
created_at: 2025-03-07T03:03:13Z
body: @whilefoo Correct, I thought that was the reason because I had cases where giving the action instead of the worker would cause problem, since some parts of the workflow check if they are running on a Worker or locally (in this case for label / unlabel), thus wouldn't run at all in this case (no label updates occurring anymore). But this was unrelated to this problem.
author_association: MEMBER