storybook-addon-playwright 7.8.0 → 7.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
- 'use strict';var V=require('zod'),yn=require('array-move'),ve=require('lodash/kebabCase'),router=require('@storybook/core/router'),yt=require('normalize-url'),objectPathImmutable=require('object-path-immutable');require('@pixpilot/dom'),require('@storybook/components'),require('@storybook/icons'),require('react'),require('@pixpilot/hash'),require('sonner');var X=require('fs'),jsonfile=require('jsonfile'),M=require('path'),je=require('fast-deep-equal'),nanoid=require('nanoid'),server=require('@trpc/server'),wn=require('deepmerge'),On=require('join-images'),$n=require('sharp'),diffSnapshot=require('jest-image-snapshot/src/diff-snapshot'),zn=require('p-limit'),url=require('url'),Rn=require('fast-glob');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var V__default=/*#__PURE__*/_interopDefault(V);var yn__default=/*#__PURE__*/_interopDefault(yn);var ve__default=/*#__PURE__*/_interopDefault(ve);var yt__default=/*#__PURE__*/_interopDefault(yt);var X__namespace=/*#__PURE__*/_interopNamespace(X);var M__namespace=/*#__PURE__*/_interopNamespace(M);var je__default=/*#__PURE__*/_interopDefault(je);var wn__default=/*#__PURE__*/_interopDefault(wn);var On__default=/*#__PURE__*/_interopDefault(On);var $n__default=/*#__PURE__*/_interopDefault($n);var zn__default=/*#__PURE__*/_interopDefault(zn);var Rn__default=/*#__PURE__*/_interopDefault(Rn);var Ee=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var Ce={filePath:V__default.default.string(),storyId:V__default.default.string()};V__default.default.object(Ce);function E(e){return V__default.default.object({...Ce,...e})}var te=E({}),Fe=V__default.default.object({filePath:V__default.default.string(),id:V__default.default.string(),name:V__default.default.string(),parent:V__default.default.string()});var $r=V.z.object({args:V.z.record(V.z.string(),V.z.unknown()).optional(),id:V.z.string(),labe:V.z.string().optional(),name:V.z.string(),subtitleItems:V.z.array(V.z.string()).optional()}),N=V.z.object({actions:V.z.array($r),id:V.z.string(),temp:V.z.boolean().optional(),title:V.z.string()}),Pe=N.extend({visibleTo:V.z.string().optional()}),Me=te,Be=E({actionSetId:V.z.string()}),We=E({actionSet:N}),Ne=E({newIndex:V.z.number().int().nonnegative(),oldIndex:V.z.number().int().nonnegative()});var ze=Pe,He=V.z.object({actionSetId:V.z.string()});V.z.object({actionSets:V.z.array(Pe)});var Ye=Fe.extend({previousNamedExport:V.z.string().optional()});var F=V.z.record(V.z.string(),V.z.unknown()),Te=V.z.enum(["chromium","firefox","webkit"]),Ge=V.z.enum(["file","story","all","story-screenshot"]),ne=V.z.object({requestId:V.z.string().optional(),requestType:Ge.optional()}),Xe=V.z.custom(e=>e===void 0||typeof e=="object"),Ze=V.z.custom(e=>e===void 0||typeof e=="object"),Qe=V.z.object({actionSets:V.z.array(N).optional(),args:F.optional(),browserOptions:Xe.optional(),browserOptionsId:V.z.string().optional(),browserType:Te,globals:F.optional(),props:F.optional(),screenshotOptions:Ze.optional(),screenshotOptionsId:V.z.string().optional()}),Ke=Qe.extend({id:V.z.string(),index:V.z.number().int().nonnegative().optional(),title:V.z.string()}),Dr=E({screenshotId:V.z.string()}),Je=E({newIndex:V.z.number().int().nonnegative(),oldIndex:V.z.number().int().nonnegative()}),et=Dr,tt=E({}),rt=E({...Ke.shape,base64:V.z.string().optional(),updateScreenshot:Ke.omit({actionSets:true}).optional()}),Vr=V.z.object({actionSets:V.z.array(N).optional(),args:F.optional(),browserOptions:V.z.unknown().optional(),browserOptionsId:V.z.string().optional(),browserType:Te,globals:F.optional(),id:V.z.string(),index:V.z.number().int().nonnegative().optional(),props:F.optional(),screenshotOptions:V.z.unknown().optional(),screenshotOptionsId:V.z.string().optional(),title:V.z.string()}),nt=V.z.object({added:V.z.boolean().optional(),diffDirection:V.z.enum(["horizontal","vertical"]).optional(),diffPixelCount:V.z.number().optional(),diffRatio:V.z.number().optional(),diffSize:V.z.boolean().optional(),error:V.z.string().optional(),filePath:V.z.string().optional(),imageDimensions:V.z.object({baselineHeight:V.z.number(),baselineWidth:V.z.number(),receivedHeight:V.z.number(),receivedWidth:V.z.number()}).optional(),imgSrcString:V.z.string().optional(),index:V.z.number().int().nonnegative().optional(),newScreenshot:V.z.string().optional(),oldScreenShotTitle:V.z.string().optional(),pass:V.z.boolean().optional(),screenshotId:V.z.string().optional(),selected:V.z.boolean().optional(),storyId:V.z.string().optional()}),it=nt,ie=nt.extend({screenshotData:Vr.optional()}),ot=Qe.extend(ne.shape).extend({storyId:V.z.string()}),at=E({...ne.shape,screenshotId:V.z.string()}),st=E({...ne.shape}),pt=E({...ne.shape,requestType:Ge}),ut=E({base64:V.z.string().optional(),screenshotId:V.z.string()}),ct=V.z.object({story:V.z.object({actions:V.z.array(N).optional(),changedArgs:F.optional(),initialArgs:F.optional(),argTypes:V.z.record(V.z.string(),V.z.unknown()).optional(),name:V.z.string(),title:V.z.string(),parameters:V.z.record(V.z.string(),V.z.unknown()).optional(),filePath:V.z.string(),id:V.z.string()}),browser:V.z.object({type:Te.nullable(),options:Xe.optional()}),screenshotOptions:Ze.optional()});function Ae(e){let{screenshotTitle:t,storyId:r,storyTitle:n,browser:i}=e;return `${ve__default.default(`${n} ${r} ${t} ${i}`)}-snap.png`}function oe(e){return !e||Object.keys(e).length===0?"":router.buildArgsParam({},e)}function dt(e){return oe(e)}function lt(e){return oe(e)}function ft(e){if(!e)return "";let r=Object.keys(e).map(n=>{let i=e[n];return Array.isArray(i)?i.length>0&&typeof i[0]=="object"?`knob-${n}=${JSON.stringify(i)}`:`knob-${n}=${i.join(",")}`:typeof i=="object"?`knob-${n}=${JSON.stringify(i)}`:`knob-${n}=${i}`});return encodeURI(r.join("&"))}function mt(e,t,r,n,i){let o;/^\.{0,2}[/\\]/.test(e)?o=`file:///${e.replace(/\\/g,"/").replace(/^\/+/,"")}`:/^https?:\/\//i.test(e)||/^file:\/\//i.test(e)?o=yt__default.default(e):o=yt__default.default(`http://${e}`);let a=`${o}/iframe.html?id=${t}`,s=dt(n);s&&(a=`${a}&args=${s}`);let u=lt(i);if(u&&(a=`${a}&globals=${u}`),r){let c=ft(r);c&&(a=`${a}&${c}`);}return a.replace(/\\/g,"/")}function z(e,t){if(!t)return;let r=t.split(".").join(".properties.");return objectPathImmutable.get(e,r)}function ae(e){if(typeof e=="number")return Number.isNaN(e)?void 0:e;if(typeof e=="string"){let t=e.trim();if(!t)return;let r=Number(t);return Number.isNaN(r)?void 0:r}}function ht(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function se(e){return e===void 0||Array.isArray(e)&&e.length===0||ht(e)&&Object.keys(e).length===0}function pe(e,t){if(!t||typeof t!="object")return e;let r=t.type;if(r==="number"||r==="integer"){if(typeof e=="number"||typeof e=="string"){let n=ae(e);return n!==void 0?n:typeof e=="string"&&e.trim().length>0?e:void 0}return e}if(r==="object"&&ht(e)){let n=t.properties;return Object.entries(e).reduce((i,[o,a])=>{let s=pe(a,n?.[o]);return se(s)||(i[o]=s),i},{})}if(r==="array"&&Array.isArray(e)){let n=t.items;return e.map(i=>pe(i,n)).filter(i=>!se(i))}return e}function Cr(e){return (e&&typeof e=="object"?e.parameters:void 0)||{}}function ue(e,t){if(!e)return;let r=Cr(t),n=Object.entries(e).reduce((i,[o,a])=>{let s=pe(a,r[o]);return se(s)||(i[o]=s),i},{});return Object.keys(n).length?n:void 0}function bt(e,t){let r=z(t,e.name);if(!r)throw new Error(`Unable to find '${e.name}', possibly this action has deprecated/removed from playwright and or from custom definitions.`);let n=r.parameters||{},i=ue(e.args,r);return Object.keys(n).reduce((a,s)=>{let u=r.required&&r.required.includes(s),c=e.args&&Object.keys(e.args).includes(s);if(i&&i[s]!==void 0)a.push(i[s]);else {if(c&&!u)return a;a.push(void 0);}return a},[])}function ce(...e){for(let t=0;t<e.length;t++){let r=e[t];if(r&&Object.keys(r).length>0)return r}}var R=e=>{if(e)return ce(e.globals)};var U=e=>{if(e)return ce(e.args,e.props)};function gt(e,t){if(e===t)return true;let r=e.split(".").slice(0,-2).join(".");return t.split(".").slice(0,-1).join(".").endsWith(r)}function Jr(e,t){let r=z(e,t.name);if(!r||!r.required||!r.required.length)return {};if(!t.args)return {required:r.required};if(Object.keys(t.args).length===0)return {required:r.required};let i=[];for(let o=0;o<r.required.length;o++){let a=r.required[o];t.args[a]||i.push(a);}return {required:i.length===0?void 0:i}}function wt(e,t){return Jr(e,t).required===void 0}function m(){throw new Error("Configuration has not been set.");}var le={clearInput:{kind:"function",type:"Promise",parameters:{selector:{type:"string"},options:{type:"object",properties:{timeout:{type:"number"},blur:{type:"boolean"}},additionalProperties:false}},required:["selector"],description:"This method fetches an element with `selector`, waits for actionability checks, focuses the element, clear it and triggers an input event. If the element matching selector is not an <input>, <textarea> or [contenteditable] element, this method throws an error."},dragDropSelector:{kind:"function",type:"Promise",parameters:{selector:{type:"string"},to:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},mouseDownRelativeToSelector:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},options:{type:"object",properties:{steps:{type:"number",default:1},skipMouseUp:{type:"boolean"}},additionalProperties:false}},required:["selector","to"],description:"This method fetches an element with `selector`, and move it to the position given by user. If there's no element matching `selector`, the method waits until a matching element appears in the DOM."},mouseFromTo:{kind:"function",type:"Promise",parameters:{from:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},to:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},options:{type:"object",properties:{steps:{type:"number",default:1},skipMouseUp:{type:"boolean"}},additionalProperties:false}},required:["from","to"],description:"This method will perform mouse down, move,and up from to selected location."},scrollSelector:{kind:"function",type:"Promise",parameters:{selector:{type:"string"},scrollProperty:{type:"object",properties:{top:{type:"number"},left:{type:"number"}},additionalProperties:false}},required:["selector","scrollProperty"],description:"This method fetches an element with `selector`, and set the selector scrollLeft and scrollTop. If there's no element matching `selector`, the method waits until a matching element appears in the DOM."},mouseDownOnSelector:{kind:"function",type:"Promise",parameters:{selector:{type:"string"},point:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},options:{type:"object",properties:{steps:{type:"number",default:1}},additionalProperties:false}},required:["selector"],description:"This method fetches an element with `selector`, and perform mousedown on the center of selector. If there's no element matching `selector`, the method waits until a matching element appears in the DOM."},mouseMoveToSelector:{kind:"function",type:"Promise",parameters:{selector:{type:"string"},point:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},options:{type:"object",properties:{steps:{type:"number",default:1}},additionalProperties:false}},required:["selector"],description:"This method fetches an element with `selector`, and move the mouse to center of selector. If there's no element matching `selector`, the method waits until a matching element appears in the DOM."},setSelectorSize:{kind:"function",type:"Promise",parameters:{selector:{type:"string"},width:{type:"string"},height:{type:"string"}},required:["selector"],description:"This method fetches an element with `selector`, set the height and with. If there's no element matching `selector`, the method waits until a matching element appears in the DOM."},selectorMouseWheel:{kind:"function",type:"Promise",parameters:{selector:{type:"string"},eventInitDict:{type:"object",properties:{deltaMode:{type:"number"},deltaX:{type:"number"},deltaY:{type:"number"},deltaZ:{type:"number"}},additionalProperties:false}},required:["selector"],description:"This method fetches an element with `selector`, and dispatch WheelEvent. If there's no element matching `selector`, the method waits until a matching element appears in the DOM."},touchStart:{kind:"function",type:"Promise",parameters:{selector:{type:"string"},page:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},screen:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},client:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},options:{type:"object",properties:{bubbles:{type:"boolean",default:true},cancelable:{type:"boolean",default:true}},additionalProperties:false}},required:["selector"],description:"This method fetches an element with `selector`, and dispatch touchstart event. If there's no element matching `selector`, the method waits until a matching element appears in the DOM."},touchMove:{kind:"function",type:"Promise",parameters:{selector:{type:"string"},page:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},screen:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},client:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},options:{type:"object",properties:{bubbles:{type:"boolean",default:true},cancelable:{type:"boolean",default:true}},additionalProperties:false}},required:["selector"],description:"This method fetches an element with `selector`, and dispatch touchmove event. If there's no element matching `selector`, the method waits until a matching element appears in the DOM."},touchEnd:{kind:"function",type:"Promise",parameters:{selector:{type:"string"},page:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},screen:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},client:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},options:{type:"object",properties:{bubbles:{type:"boolean",default:true},cancelable:{type:"boolean",default:true}},additionalProperties:false}},required:["selector"],description:"This method fetches an element with `selector`, and dispatch touchend event. If there's no element matching `selector`, the method waits until a matching element appears in the DOM."},touchCancel:{kind:"function",type:"Promise",parameters:{selector:{type:"string"},page:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},screen:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},client:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},options:{type:"object",properties:{bubbles:{type:"boolean",default:true},cancelable:{type:"boolean",default:true}},additionalProperties:false}},required:["selector"],description:"This method fetches an element with `selector`, and dispatch touchcancel event. If there's no element matching `selector`, the method waits until a matching element appears in the DOM."},touchFromTo:{kind:"function",type:"Promise",parameters:{selector:{type:"string"},pageFrom:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},pageTo:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},clientFrom:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},clientTo:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},screenFrom:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},screenTo:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},options:{type:"object",properties:{bubbles:{type:"boolean",default:true},cancelable:{type:"boolean",default:true}},additionalProperties:false}},required:["selector"],description:"This method fetches an element with `selector`, and dispatch touchstart,touchmove and touchend event. If there's no element matching `selector`, the method waits until a matching element appears in the DOM."},waitForSelector:{kind:"function",type:"Promise",parameters:{selector:{type:"string",description:"A selector to query for."},options:{type:"object",properties:{state:{type:"string",enum:["attached","detached","visible","hidden"],description:"Defaults to `'visible'`. Can be either:\n- `'attached'` - wait for element to be present in DOM.\n- `'detached'` - wait for element to not be present in DOM.\n- `'visible'` - wait for element to have non-empty bounding box and no `visibility:hidden`. Note that element without any content or with `display:none` has an empty bounding box and is not considered visible.\n- `'hidden'` - wait for element to be either detached from DOM, or have an empty bounding box or `visibility:hidden`. This is opposite to the `'visible'` option."},strict:{type:"boolean",description:"When true, the call requires selector to resolve to a single element. If given selector resolves to more than one element, the call throws an exception."},timeout:{type:"number",description:"Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` option in the config, or by using the [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods."}},additionalProperties:false}},required:["selector","options"],description:"**NOTE** Use web assertions that assert visibility or a locator-based [locator.waitFor([options])](https://playwright.dev/docs/api/class-locator#locator-wait-for) instead. Read more about [locators](https://playwright.dev/docs/locators).\n\nReturns when element specified by selector satisfies [`state`](https://playwright.dev/docs/api/class-page#page-wait-for-selector-option-state) option. Returns `null` if waiting for `hidden` or `detached`.\n\n**NOTE** Playwright automatically waits for element to be ready before performing an action. Using [Locator](https://playwright.dev/docs/api/class-locator) objects and web-first assertions makes the code wait-for-selector-free.\n\nWait for the [`selector`](https://playwright.dev/docs/api/class-page#page-wait-for-selector-option-selector) to satisfy [`state`](https://playwright.dev/docs/api/class-page#page-wait-for-selector-option-state) option (either appear/disappear from dom, or become visible/hidden). If at the moment of calling the method [`selector`](https://playwright.dev/docs/api/class-page#page-wait-for-selector-option-selector) already satisfies the condition, the method will return immediately. If the selector doesn't satisfy the condition for the [`timeout`](https://playwright.dev/docs/api/class-page#page-wait-for-selector-option-timeout) milliseconds, the function will throw.\n\n**Usage**\n\nThis method works across navigations:\n\n```js const { chromium } = require('playwright'); // Or 'firefox' or 'webkit'.\n\n(async () => { const browser = await chromium.launch(); const page = await browser.newPage(); for (const currentURL of ['https://google.com', 'https://bbc.com']) { await page.goto(currentURL); const element = await page.waitForSelector('img'); console.log('Loaded image: ' + await element.getAttribute('src')); } await browser.close(); })(); ```"},check:{kind:"function",type:"Promise",parameters:{selector:{type:"string",description:"A selector to search for an element. If there are multiple elements satisfying the selector, the first will be used."},options:{type:"object",properties:{force:{type:"boolean",description:"Whether to bypass the [actionability](https://playwright.dev/docs/actionability) checks. Defaults to `false`."},noWaitAfter:{type:"boolean",description:"This option has no effect.",deprecated:"This option has no effect."},position:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},required:["x","y"],additionalProperties:false,description:"A point to use relative to the top-left corner of element padding box. If not specified, uses some visible point of the element."},strict:{type:"boolean",description:"When true, the call requires selector to resolve to a single element. If given selector resolves to more than one element, the call throws an exception."},timeout:{type:"number",description:"Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` option in the config, or by using the [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods."},trial:{type:"boolean",description:"When set, this method only performs the [actionability](https://playwright.dev/docs/actionability) checks and skips the action. Defaults to `false`. Useful to wait until the element is ready for the action without performing it."}},additionalProperties:false}},required:["selector"],description:"**NOTE** Use locator-based [locator.check([options])](https://playwright.dev/docs/api/class-locator#locator-check) instead. Read more about [locators](https://playwright.dev/docs/locators).\n\nThis method checks an element matching [`selector`](https://playwright.dev/docs/api/class-page#page-check-option-selector) by performing the following steps: 1. Find an element matching [`selector`](https://playwright.dev/docs/api/class-page#page-check-option-selector). If there is none, wait until a matching element is attached to the DOM. 1. Ensure that matched element is a checkbox or a radio input. If not, this method throws. If the element is already checked, this method returns immediately. 1. Wait for [actionability](https://playwright.dev/docs/actionability) checks on the matched element, unless [`force`](https://playwright.dev/docs/api/class-page#page-check-option-force) option is set. If the element is detached during the checks, the whole action is retried. 1. Scroll the element into view if needed. 1. Use [page.mouse](https://playwright.dev/docs/api/class-page#page-mouse) to click in the center of the element. 1. Ensure that the element is now checked. If not, this method throws.\n\nWhen all steps combined have not finished during the specified [`timeout`](https://playwright.dev/docs/api/class-page#page-check-option-timeout), this method throws a [TimeoutError](https://playwright.dev/docs/api/class-timeouterror). Passing zero timeout disables this."},click:{kind:"function",type:"Promise",parameters:{selector:{type:"string",description:"A selector to search for an element. If there are multiple elements satisfying the selector, the first will be used."},options:{type:"object",properties:{button:{type:"string",enum:["left","right","middle"],description:"Defaults to `left`."},clickCount:{type:"number",description:"defaults to 1. See [UIEvent.detail]."},delay:{type:"number",description:"Time to wait between `mousedown` and `mouseup` in milliseconds. Defaults to 0."},force:{type:"boolean",description:"Whether to bypass the [actionability](https://playwright.dev/docs/actionability) checks. Defaults to `false`."},modifiers:{type:"array",items:{type:"string",enum:["Alt","Control","ControlOrMeta","Meta","Shift"]},description:'Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current modifiers back. If not specified, currently pressed modifiers are used. "ControlOrMeta" resolves to "Control" on Windows and Linux and to "Meta" on macOS.'},noWaitAfter:{type:"boolean",description:"Actions that initiate navigations are waiting for these navigations to happen and for pages to start loading. You can opt out of waiting via setting this flag. You would only need this option in the exceptional cases such as navigating to inaccessible pages. Defaults to `false`.",deprecated:"This option will default to `true` in the future."},position:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},required:["x","y"],additionalProperties:false,description:"A point to use relative to the top-left corner of element padding box. If not specified, uses some visible point of the element."},strict:{type:"boolean",description:"When true, the call requires selector to resolve to a single element. If given selector resolves to more than one element, the call throws an exception."},timeout:{type:"number",description:"Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` option in the config, or by using the [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods."},trial:{type:"boolean",description:"When set, this method only performs the [actionability](https://playwright.dev/docs/actionability) checks and skips the action. Defaults to `false`. Useful to wait until the element is ready for the action without performing it. Note that keyboard `modifiers` will be pressed regardless of `trial` to allow testing elements which are only visible when those keys are pressed."}},additionalProperties:false}},required:["selector"],description:"**NOTE** Use locator-based [locator.click([options])](https://playwright.dev/docs/api/class-locator#locator-click) instead. Read more about [locators](https://playwright.dev/docs/locators).\n\nThis method clicks an element matching [`selector`](https://playwright.dev/docs/api/class-page#page-click-option-selector) by performing the following steps: 1. Find an element matching [`selector`](https://playwright.dev/docs/api/class-page#page-click-option-selector). If there is none, wait until a matching element is attached to the DOM. 1. Wait for [actionability](https://playwright.dev/docs/actionability) checks on the matched element, unless [`force`](https://playwright.dev/docs/api/class-page#page-click-option-force) option is set. If the element is detached during the checks, the whole action is retried. 1. Scroll the element into view if needed. 1. Use [page.mouse](https://playwright.dev/docs/api/class-page#page-mouse) to click in the center of the element, or the specified [`position`](https://playwright.dev/docs/api/class-page#page-click-option-position). 1. Wait for initiated navigations to either succeed or fail, unless [`noWaitAfter`](https://playwright.dev/docs/api/class-page#page-click-option-no-wait-after) option is set.\n\nWhen all steps combined have not finished during the specified [`timeout`](https://playwright.dev/docs/api/class-page#page-click-option-timeout), this method throws a [TimeoutError](https://playwright.dev/docs/api/class-timeouterror). Passing zero timeout disables this."},dblclick:{kind:"function",type:"Promise",parameters:{selector:{type:"string",description:"A selector to search for an element. If there are multiple elements satisfying the selector, the first will be used."},options:{type:"object",properties:{button:{type:"string",enum:["left","right","middle"],description:"Defaults to `left`."},delay:{type:"number",description:"Time to wait between `mousedown` and `mouseup` in milliseconds. Defaults to 0."},force:{type:"boolean",description:"Whether to bypass the [actionability](https://playwright.dev/docs/actionability) checks. Defaults to `false`."},modifiers:{type:"array",items:{type:"string",enum:["Alt","Control","ControlOrMeta","Meta","Shift"]},description:'Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current modifiers back. If not specified, currently pressed modifiers are used. "ControlOrMeta" resolves to "Control" on Windows and Linux and to "Meta" on macOS.'},noWaitAfter:{type:"boolean",description:"This option has no effect.",deprecated:"This option has no effect."},position:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},required:["x","y"],additionalProperties:false,description:"A point to use relative to the top-left corner of element padding box. If not specified, uses some visible point of the element."},strict:{type:"boolean",description:"When true, the call requires selector to resolve to a single element. If given selector resolves to more than one element, the call throws an exception."},timeout:{type:"number",description:"Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` option in the config, or by using the [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods."},trial:{type:"boolean",description:"When set, this method only performs the [actionability](https://playwright.dev/docs/actionability) checks and skips the action. Defaults to `false`. Useful to wait until the element is ready for the action without performing it. Note that keyboard `modifiers` will be pressed regardless of `trial` to allow testing elements which are only visible when those keys are pressed."}},additionalProperties:false}},required:["selector"],description:"**NOTE** Use locator-based [locator.dblclick([options])](https://playwright.dev/docs/api/class-locator#locator-dblclick) instead. Read more about [locators](https://playwright.dev/docs/locators).\n\nThis method double clicks an element matching [`selector`](https://playwright.dev/docs/api/class-page#page-dblclick-option-selector) by performing the following steps: 1. Find an element matching [`selector`](https://playwright.dev/docs/api/class-page#page-dblclick-option-selector). If there is none, wait until a matching element is attached to the DOM. 1. Wait for [actionability](https://playwright.dev/docs/actionability) checks on the matched element, unless [`force`](https://playwright.dev/docs/api/class-page#page-dblclick-option-force) option is set. If the element is detached during the checks, the whole action is retried. 1. Scroll the element into view if needed. 1. Use [page.mouse](https://playwright.dev/docs/api/class-page#page-mouse) to double click in the center of the element, or the specified [`position`](https://playwright.dev/docs/api/class-page#page-dblclick-option-position).\n\nWhen all steps combined have not finished during the specified [`timeout`](https://playwright.dev/docs/api/class-page#page-dblclick-option-timeout), this method throws a [TimeoutError](https://playwright.dev/docs/api/class-timeouterror). Passing zero timeout disables this.\n\n**NOTE** `page.dblclick()` dispatches two `click` events and a single `dblclick` event."},fill:{kind:"function",type:"Promise",parameters:{selector:{type:"string",description:"A selector to search for an element. If there are multiple elements satisfying the selector, the first will be used."},value:{type:"string",description:"Value to fill for the `<input>`, `<textarea>` or `[contenteditable]` element."},options:{type:"object",properties:{force:{type:"boolean",description:"Whether to bypass the [actionability](https://playwright.dev/docs/actionability) checks. Defaults to `false`."},noWaitAfter:{type:"boolean",description:"This option has no effect.",deprecated:"This option has no effect."},strict:{type:"boolean",description:"When true, the call requires selector to resolve to a single element. If given selector resolves to more than one element, the call throws an exception."},timeout:{type:"number",description:"Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` option in the config, or by using the [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods."}},additionalProperties:false}},required:["selector","value"],description:"**NOTE** Use locator-based [locator.fill(value[, options])](https://playwright.dev/docs/api/class-locator#locator-fill) instead. Read more about [locators](https://playwright.dev/docs/locators).\n\nThis method waits for an element matching [`selector`](https://playwright.dev/docs/api/class-page#page-fill-option-selector), waits for [actionability](https://playwright.dev/docs/actionability) checks, focuses the element, fills it and triggers an `input` event after filling. Note that you can pass an empty string to clear the input field.\n\nIf the target element is not an `<input>`, `<textarea>` or `[contenteditable]` element, this method throws an error. However, if the element is inside the `<label>` element that has an associated [control](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement/control), the control will be filled instead.\n\nTo send fine-grained keyboard events, use [locator.pressSequentially(text[, options])](https://playwright.dev/docs/api/class-locator#locator-press-sequentially)."},focus:{kind:"function",type:"Promise",parameters:{selector:{type:"string",description:"A selector to search for an element. If there are multiple elements satisfying the selector, the first will be used."},options:{type:"object",properties:{strict:{type:"boolean",description:"When true, the call requires selector to resolve to a single element. If given selector resolves to more than one element, the call throws an exception."},timeout:{type:"number",description:"Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` option in the config, or by using the [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods."}},additionalProperties:false}},required:["selector"],description:"**NOTE** Use locator-based [locator.focus([options])](https://playwright.dev/docs/api/class-locator#locator-focus) instead. Read more about [locators](https://playwright.dev/docs/locators).\n\nThis method fetches an element with [`selector`](https://playwright.dev/docs/api/class-page#page-focus-option-selector) and focuses it. If there's no element matching [`selector`](https://playwright.dev/docs/api/class-page#page-focus-option-selector), the method waits until a matching element appears in the DOM."},hover:{kind:"function",type:"Promise",parameters:{selector:{type:"string",description:"A selector to search for an element. If there are multiple elements satisfying the selector, the first will be used."},options:{type:"object",properties:{force:{type:"boolean",description:"Whether to bypass the [actionability](https://playwright.dev/docs/actionability) checks. Defaults to `false`."},modifiers:{type:"array",items:{type:"string",enum:["Alt","Control","ControlOrMeta","Meta","Shift"]},description:'Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current modifiers back. If not specified, currently pressed modifiers are used. "ControlOrMeta" resolves to "Control" on Windows and Linux and to "Meta" on macOS.'},noWaitAfter:{type:"boolean",description:"This option has no effect.",deprecated:"This option has no effect."},position:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},required:["x","y"],additionalProperties:false,description:"A point to use relative to the top-left corner of element padding box. If not specified, uses some visible point of the element."},strict:{type:"boolean",description:"When true, the call requires selector to resolve to a single element. If given selector resolves to more than one element, the call throws an exception."},timeout:{type:"number",description:"Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` option in the config, or by using the [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods."},trial:{type:"boolean",description:"When set, this method only performs the [actionability](https://playwright.dev/docs/actionability) checks and skips the action. Defaults to `false`. Useful to wait until the element is ready for the action without performing it. Note that keyboard `modifiers` will be pressed regardless of `trial` to allow testing elements which are only visible when those keys are pressed."}},additionalProperties:false}},required:["selector"],description:"**NOTE** Use locator-based [locator.hover([options])](https://playwright.dev/docs/api/class-locator#locator-hover) instead. Read more about [locators](https://playwright.dev/docs/locators).\n\nThis method hovers over an element matching [`selector`](https://playwright.dev/docs/api/class-page#page-hover-option-selector) by performing the following steps: 1. Find an element matching [`selector`](https://playwright.dev/docs/api/class-page#page-hover-option-selector). If there is none, wait until a matching element is attached to the DOM. 1. Wait for [actionability](https://playwright.dev/docs/actionability) checks on the matched element, unless [`force`](https://playwright.dev/docs/api/class-page#page-hover-option-force) option is set. If the element is detached during the checks, the whole action is retried. 1. Scroll the element into view if needed. 1. Use [page.mouse](https://playwright.dev/docs/api/class-page#page-mouse) to hover over the center of the element, or the specified [`position`](https://playwright.dev/docs/api/class-page#page-hover-option-position).\n\nWhen all steps combined have not finished during the specified [`timeout`](https://playwright.dev/docs/api/class-page#page-hover-option-timeout), this method throws a [TimeoutError](https://playwright.dev/docs/api/class-timeouterror). Passing zero timeout disables this."},press:{kind:"function",type:"Promise",parameters:{selector:{type:"string",description:"A selector to search for an element. If there are multiple elements satisfying the selector, the first will be used."},key:{type:"string",description:"Name of the key to press or a character to generate, such as `ArrowLeft` or `a`."},options:{type:"object",properties:{delay:{type:"number",description:"Time to wait between `keydown` and `keyup` in milliseconds. Defaults to 0."},noWaitAfter:{type:"boolean",description:"Actions that initiate navigations are waiting for these navigations to happen and for pages to start loading. You can opt out of waiting via setting this flag. You would only need this option in the exceptional cases such as navigating to inaccessible pages. Defaults to `false`.",deprecated:"This option will default to `true` in the future."},strict:{type:"boolean",description:"When true, the call requires selector to resolve to a single element. If given selector resolves to more than one element, the call throws an exception."},timeout:{type:"number",description:"Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` option in the config, or by using the [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods."}},additionalProperties:false}},required:["selector","key"],description:"**NOTE** Use locator-based [locator.press(key[, options])](https://playwright.dev/docs/api/class-locator#locator-press) instead. Read more about [locators](https://playwright.dev/docs/locators).\n\nFocuses the element, and then uses [keyboard.down(key)](https://playwright.dev/docs/api/class-keyboard#keyboard-down) and [keyboard.up(key)](https://playwright.dev/docs/api/class-keyboard#keyboard-up).\n\n[`key`](https://playwright.dev/docs/api/class-page#page-press-option-key) can specify the intended [keyboardEvent.key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) value or a single character to generate the text for. A superset of the [`key`](https://playwright.dev/docs/api/class-page#page-press-option-key) values can be found [here](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key/Key_Values). Examples of the keys are:\n\n`F1` - `F12`, `Digit0`- `Digit9`, `KeyA`- `KeyZ`, `Backquote`, `Minus`, `Equal`, `Backslash`, `Backspace`, `Tab`, `Delete`, `Escape`, `ArrowDown`, `End`, `Enter`, `Home`, `Insert`, `PageDown`, `PageUp`, `ArrowRight`, `ArrowUp`, etc.\n\nFollowing modification shortcuts are also supported: `Shift`, `Control`, `Alt`, `Meta`, `ShiftLeft`, `ControlOrMeta`. `ControlOrMeta` resolves to `Control` on Windows and Linux and to `Meta` on macOS.\n\nHolding down `Shift` will type the text that corresponds to the [`key`](https://playwright.dev/docs/api/class-page#page-press-option-key) in the upper case.\n\nIf [`key`](https://playwright.dev/docs/api/class-page#page-press-option-key) is a single character, it is case-sensitive, so the values `a` and `A` will generate different respective texts.\n\nShortcuts such as `key: \"Control+o\"`, `key: \"Control++` or `key: \"Control+Shift+T\"` are supported as well. When specified with the modifier, modifier is pressed and being held while the subsequent key is being pressed.\n\n**Usage**\n\n```js const page = await browser.newPage(); await page.goto('https://keycode.info'); await page.press('body', 'A'); await page.screenshot({ path: 'A.png' }); await page.press('body', 'ArrowLeft'); await page.screenshot({ path: 'ArrowLeft.png' }); await page.press('body', 'Shift+O'); await page.screenshot({ path: 'O.png' }); await browser.close(); ```"},type:{kind:"function",type:"Promise",parameters:{selector:{type:"string",description:"A selector to search for an element. If there are multiple elements satisfying the selector, the first will be used."},text:{type:"string",description:"A text to type into a focused element."},options:{type:"object",properties:{delay:{type:"number",description:"Time to wait between key presses in milliseconds. Defaults to 0."},noWaitAfter:{type:"boolean",description:"This option has no effect.",deprecated:"This option has no effect."},strict:{type:"boolean",description:"When true, the call requires selector to resolve to a single element. If given selector resolves to more than one element, the call throws an exception."},timeout:{type:"number",description:"Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` option in the config, or by using the [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods."}},additionalProperties:false}},required:["selector","text"],description:"Sends a `keydown`, `keypress`/`input`, and `keyup` event for each character in the text. `page.type` can be used to send fine-grained keyboard events. To fill values in form fields, use [page.fill(selector, value[, options])](https://playwright.dev/docs/api/class-page#page-fill).\n\nTo press a special key, like `Control` or `ArrowDown`, use [keyboard.press(key[, options])](https://playwright.dev/docs/api/class-keyboard#keyboard-press).\n\n**Usage**",deprecated:`In most cases, you should use
1
+ 'use strict';var V=require('zod'),vn=require('array-move'),xe=require('lodash/kebabCase'),router=require('@storybook/core/router'),gt=require('normalize-url'),objectPathImmutable=require('object-path-immutable');require('@pixpilot/dom'),require('@storybook/components'),require('@storybook/icons'),require('react'),require('@pixpilot/hash'),require('sonner');var X=require('fs'),jsonfile=require('jsonfile'),M=require('path'),Ue=require('fast-deep-equal'),nanoid=require('nanoid'),server=require('@trpc/server'),Tn=require('deepmerge'),Ln=require('join-images'),_n=require('sharp'),diffSnapshot=require('jest-image-snapshot/src/diff-snapshot'),Qn=require('p-limit'),url=require('url'),Bn=require('fast-glob');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var V__default=/*#__PURE__*/_interopDefault(V);var vn__default=/*#__PURE__*/_interopDefault(vn);var xe__default=/*#__PURE__*/_interopDefault(xe);var gt__default=/*#__PURE__*/_interopDefault(gt);var X__namespace=/*#__PURE__*/_interopNamespace(X);var M__namespace=/*#__PURE__*/_interopNamespace(M);var Ue__default=/*#__PURE__*/_interopDefault(Ue);var Tn__default=/*#__PURE__*/_interopDefault(Tn);var Ln__default=/*#__PURE__*/_interopDefault(Ln);var _n__default=/*#__PURE__*/_interopDefault(_n);var Qn__default=/*#__PURE__*/_interopDefault(Qn);var Bn__default=/*#__PURE__*/_interopDefault(Bn);var Ee=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var We={filePath:V__default.default.string(),storyId:V__default.default.string()};V__default.default.object(We);function E(e){return V__default.default.object({...We,...e})}var te=E({}),Ne=V__default.default.object({filePath:V__default.default.string(),id:V__default.default.string(),name:V__default.default.string(),parent:V__default.default.string()});var Rr=V.z.object({args:V.z.record(V.z.string(),V.z.unknown()).optional(),id:V.z.string(),labe:V.z.string().optional(),name:V.z.string(),subtitleItems:V.z.array(V.z.string()).optional()}),N=V.z.object({actions:V.z.array(Rr),id:V.z.string(),temp:V.z.boolean().optional(),title:V.z.string()}),Pe=N.extend({visibleTo:V.z.string().optional()}),ze=te,He=E({actionSetId:V.z.string()}),Ye=E({actionSet:N}),Ke=E({newIndex:V.z.number().int().nonnegative(),oldIndex:V.z.number().int().nonnegative()});var Ge=Pe,Xe=V.z.object({actionSetId:V.z.string()});V.z.object({actionSets:V.z.array(Pe)});var Ze=Ne.extend({previousNamedExport:V.z.string().optional()});var F=V.z.record(V.z.string(),V.z.unknown()),Ae=V.z.enum(["chromium","firefox","webkit"]),Je=V.z.enum(["file","story","all","story-screenshot"]),ne=V.z.object({requestId:V.z.string().optional(),requestType:Je.optional()}),et=V.z.custom(e=>e===void 0||typeof e=="object"),tt=V.z.custom(e=>e===void 0||typeof e=="object"),rt=V.z.object({actionSets:V.z.array(N).optional(),args:F.optional(),browserOptions:et.optional(),browserOptionsId:V.z.string().optional(),browserType:Ae,globals:F.optional(),props:F.optional(),screenshotOptions:tt.optional(),screenshotOptionsId:V.z.string().optional()}),Qe=rt.extend({id:V.z.string(),index:V.z.number().int().nonnegative().optional(),title:V.z.string()}),Lr=E({screenshotId:V.z.string()}),nt=E({newIndex:V.z.number().int().nonnegative(),oldIndex:V.z.number().int().nonnegative()}),it=Lr,ot=E({}),at=E({...Qe.shape,base64:V.z.string().optional(),updateScreenshot:Qe.omit({actionSets:true}).optional()}),_r=V.z.object({actionSets:V.z.array(N).optional(),args:F.optional(),browserOptions:V.z.unknown().optional(),browserOptionsId:V.z.string().optional(),browserType:Ae,globals:F.optional(),id:V.z.string(),index:V.z.number().int().nonnegative().optional(),props:F.optional(),screenshotOptions:V.z.unknown().optional(),screenshotOptionsId:V.z.string().optional(),title:V.z.string()}),st=V.z.object({added:V.z.boolean().optional(),diffDirection:V.z.enum(["horizontal","vertical"]).optional(),diffPixelCount:V.z.number().optional(),diffRatio:V.z.number().optional(),diffSize:V.z.boolean().optional(),error:V.z.string().optional(),filePath:V.z.string().optional(),imageDimensions:V.z.object({baselineHeight:V.z.number(),baselineWidth:V.z.number(),receivedHeight:V.z.number(),receivedWidth:V.z.number()}).optional(),imgSrcString:V.z.string().optional(),index:V.z.number().int().nonnegative().optional(),newScreenshot:V.z.string().optional(),oldScreenShotTitle:V.z.string().optional(),pass:V.z.boolean().optional(),screenshotId:V.z.string().optional(),selected:V.z.boolean().optional(),storyId:V.z.string().optional()}),pt=st,ie=st.extend({screenshotData:_r.optional()}),ut=rt.extend(ne.shape).extend({storyId:V.z.string()}),ct=E({...ne.shape,screenshotId:V.z.string()}),dt=E({...ne.shape}),lt=E({...ne.shape,requestType:Je}),ft=E({base64:V.z.string().optional(),screenshotId:V.z.string()}),yt=V.z.object({story:V.z.object({actions:V.z.array(N).optional(),changedArgs:F.optional(),initialArgs:F.optional(),argTypes:V.z.record(V.z.string(),V.z.unknown()).optional(),name:V.z.string(),title:V.z.string(),parameters:V.z.record(V.z.string(),V.z.unknown()).optional(),filePath:V.z.string(),id:V.z.string()}),browser:V.z.object({type:Ae.nullable(),options:et.optional()}),screenshotOptions:tt.optional()});function Te(e){let{screenshotTitle:t,storyId:r,storyTitle:n,browser:i}=e;return `${xe__default.default(`${n} ${r} ${t} ${i}`)}-snap.png`}var Oe=/^[\w -]*$/,Mr=/^-?\d+(\.\d+)?$/,Br=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,Wr=/^(rgba?|hsla?)\((\d{1,3}),\s?(\d{1,3})%?,\s?(\d{1,3})%?,?\s?(\d(\.\d{1,2})?)?\)$/i;function $e(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function je(e,t){return e===null||e===""||!Oe.test(e)?false:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?true:typeof t=="string"?Oe.test(t)||Mr.test(t)||Br.test(t)||Wr.test(t):Array.isArray(t)?t.every(r=>je(e,r)):$e(t)?Object.entries(t).every(([r,n])=>je(r,n)):false}function De(e){if(Array.isArray(e)){let t=e.map(r=>De(r)).filter(r=>r!==void 0);return t.length>0?t:void 0}if($e(e)){let t=Object.entries(e).reduce((r,[n,i])=>{if(!Oe.test(n))return r;if($e(i)||Array.isArray(i)){let o=De(i);return o!==void 0&&(r[n]=o),r}return je(n,i)&&(r[n]=i),r},{});return Object.keys(t).length>0?t:void 0}}function oe(e){if(!e||Object.keys(e).length===0)return "";let t=De(e);return !t||Object.keys(t).length===0?"":router.buildArgsParam({},t)}function mt(e){return oe(e)}function ht(e){return oe(e)}function bt(e){if(!e)return "";let r=Object.keys(e).map(n=>{let i=e[n];return Array.isArray(i)?i.length>0&&typeof i[0]=="object"?`knob-${n}=${JSON.stringify(i)}`:`knob-${n}=${i.join(",")}`:typeof i=="object"?`knob-${n}=${JSON.stringify(i)}`:`knob-${n}=${i}`});return encodeURI(r.join("&"))}function kt(e,t,r,n,i){let o;/^\.{0,2}[/\\]/.test(e)?o=`file:///${e.replace(/\\/g,"/").replace(/^\/+/,"")}`:/^https?:\/\//i.test(e)||/^file:\/\//i.test(e)?o=gt__default.default(e):o=gt__default.default(`http://${e}`);let a=`${o}/iframe.html?id=${t}`,s=mt(n);s&&(a=`${a}&args=${s}`);let u=ht(i);if(u&&(a=`${a}&globals=${u}`),r){let c=bt(r);c&&(a=`${a}&${c}`);}return a.replace(/\\/g,"/")}function z(e,t){if(!t)return;let r=t.split(".").join(".properties.");return objectPathImmutable.get(e,r)}function ae(e){if(typeof e=="number")return Number.isNaN(e)?void 0:e;if(typeof e=="string"){let t=e.trim();if(!t)return;let r=Number(t);return Number.isNaN(r)?void 0:r}}function xt(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function se(e){return e===void 0||Array.isArray(e)&&e.length===0||xt(e)&&Object.keys(e).length===0}function pe(e,t){if(!t||typeof t!="object")return e;let r=t.type;if(r==="number"||r==="integer"){if(typeof e=="number"||typeof e=="string"){let n=ae(e);return n!==void 0?n:typeof e=="string"&&e.trim().length>0?e:void 0}return e}if(r==="object"&&xt(e)){let n=t.properties;return Object.entries(e).reduce((i,[o,a])=>{let s=pe(a,n?.[o]);return se(s)||(i[o]=s),i},{})}if(r==="array"&&Array.isArray(e)){let n=t.items;return e.map(i=>pe(i,n)).filter(i=>!se(i))}return e}function Hr(e){return (e&&typeof e=="object"?e.parameters:void 0)||{}}function ue(e,t){if(!e)return;let r=Hr(t),n=Object.entries(e).reduce((i,[o,a])=>{let s=pe(a,r[o]);return se(s)||(i[o]=s),i},{});return Object.keys(n).length?n:void 0}function vt(e,t){let r=z(t,e.name);if(!r)throw new Error(`Unable to find '${e.name}', possibly this action has deprecated/removed from playwright and or from custom definitions.`);let n=r.parameters||{},i=ue(e.args,r);return Object.keys(n).reduce((a,s)=>{let u=r.required&&r.required.includes(s),c=e.args&&Object.keys(e.args).includes(s);if(i&&i[s]!==void 0)a.push(i[s]);else {if(c&&!u)return a;a.push(void 0);}return a},[])}function ce(...e){for(let t=0;t<e.length;t++){let r=e[t];if(r&&Object.keys(r).length>0)return r}}var R=e=>{if(e)return ce(e.globals)};var U=e=>{if(e)return ce(e.args,e.props)};function wt(e,t){if(e===t)return true;let r=e.split(".").slice(0,-2).join(".");return t.split(".").slice(0,-1).join(".").endsWith(r)}function sn(e,t){let r=z(e,t.name);if(!r||!r.required||!r.required.length)return {};if(!t.args)return {required:r.required};if(Object.keys(t.args).length===0)return {required:r.required};let i=[];for(let o=0;o<r.required.length;o++){let a=r.required[o];t.args[a]||i.push(a);}return {required:i.length===0?void 0:i}}function Et(e,t){return sn(e,t).required===void 0}function m(){throw new Error("Configuration has not been set.");}var le={clearInput:{kind:"function",type:"Promise",parameters:{selector:{type:"string"},options:{type:"object",properties:{timeout:{type:"number"},blur:{type:"boolean"}},additionalProperties:false}},required:["selector"],description:"This method fetches an element with `selector`, waits for actionability checks, focuses the element, clear it and triggers an input event. If the element matching selector is not an <input>, <textarea> or [contenteditable] element, this method throws an error."},dragDropSelector:{kind:"function",type:"Promise",parameters:{selector:{type:"string"},to:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},mouseDownRelativeToSelector:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},options:{type:"object",properties:{steps:{type:"number",default:1},skipMouseUp:{type:"boolean"}},additionalProperties:false}},required:["selector","to"],description:"This method fetches an element with `selector`, and move it to the position given by user. If there's no element matching `selector`, the method waits until a matching element appears in the DOM."},mouseFromTo:{kind:"function",type:"Promise",parameters:{from:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},to:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},options:{type:"object",properties:{steps:{type:"number",default:1},skipMouseUp:{type:"boolean"}},additionalProperties:false}},required:["from","to"],description:"This method will perform mouse down, move,and up from to selected location."},scrollSelector:{kind:"function",type:"Promise",parameters:{selector:{type:"string"},scrollProperty:{type:"object",properties:{top:{type:"number"},left:{type:"number"}},additionalProperties:false}},required:["selector","scrollProperty"],description:"This method fetches an element with `selector`, and set the selector scrollLeft and scrollTop. If there's no element matching `selector`, the method waits until a matching element appears in the DOM."},mouseDownOnSelector:{kind:"function",type:"Promise",parameters:{selector:{type:"string"},point:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},options:{type:"object",properties:{steps:{type:"number",default:1}},additionalProperties:false}},required:["selector"],description:"This method fetches an element with `selector`, and perform mousedown on the center of selector. If there's no element matching `selector`, the method waits until a matching element appears in the DOM."},mouseMoveToSelector:{kind:"function",type:"Promise",parameters:{selector:{type:"string"},point:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},options:{type:"object",properties:{steps:{type:"number",default:1}},additionalProperties:false}},required:["selector"],description:"This method fetches an element with `selector`, and move the mouse to center of selector. If there's no element matching `selector`, the method waits until a matching element appears in the DOM."},setSelectorSize:{kind:"function",type:"Promise",parameters:{selector:{type:"string"},width:{type:"string"},height:{type:"string"}},required:["selector"],description:"This method fetches an element with `selector`, set the height and with. If there's no element matching `selector`, the method waits until a matching element appears in the DOM."},selectorMouseWheel:{kind:"function",type:"Promise",parameters:{selector:{type:"string"},eventInitDict:{type:"object",properties:{deltaMode:{type:"number"},deltaX:{type:"number"},deltaY:{type:"number"},deltaZ:{type:"number"}},additionalProperties:false}},required:["selector"],description:"This method fetches an element with `selector`, and dispatch WheelEvent. If there's no element matching `selector`, the method waits until a matching element appears in the DOM."},touchStart:{kind:"function",type:"Promise",parameters:{selector:{type:"string"},page:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},screen:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},client:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},options:{type:"object",properties:{bubbles:{type:"boolean",default:true},cancelable:{type:"boolean",default:true}},additionalProperties:false}},required:["selector"],description:"This method fetches an element with `selector`, and dispatch touchstart event. If there's no element matching `selector`, the method waits until a matching element appears in the DOM."},touchMove:{kind:"function",type:"Promise",parameters:{selector:{type:"string"},page:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},screen:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},client:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},options:{type:"object",properties:{bubbles:{type:"boolean",default:true},cancelable:{type:"boolean",default:true}},additionalProperties:false}},required:["selector"],description:"This method fetches an element with `selector`, and dispatch touchmove event. If there's no element matching `selector`, the method waits until a matching element appears in the DOM."},touchEnd:{kind:"function",type:"Promise",parameters:{selector:{type:"string"},page:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},screen:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},client:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},options:{type:"object",properties:{bubbles:{type:"boolean",default:true},cancelable:{type:"boolean",default:true}},additionalProperties:false}},required:["selector"],description:"This method fetches an element with `selector`, and dispatch touchend event. If there's no element matching `selector`, the method waits until a matching element appears in the DOM."},touchCancel:{kind:"function",type:"Promise",parameters:{selector:{type:"string"},page:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},screen:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},client:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},options:{type:"object",properties:{bubbles:{type:"boolean",default:true},cancelable:{type:"boolean",default:true}},additionalProperties:false}},required:["selector"],description:"This method fetches an element with `selector`, and dispatch touchcancel event. If there's no element matching `selector`, the method waits until a matching element appears in the DOM."},touchFromTo:{kind:"function",type:"Promise",parameters:{selector:{type:"string"},pageFrom:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},pageTo:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},clientFrom:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},clientTo:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},screenFrom:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},screenTo:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},additionalProperties:false},options:{type:"object",properties:{bubbles:{type:"boolean",default:true},cancelable:{type:"boolean",default:true}},additionalProperties:false}},required:["selector"],description:"This method fetches an element with `selector`, and dispatch touchstart,touchmove and touchend event. If there's no element matching `selector`, the method waits until a matching element appears in the DOM."},waitForSelector:{kind:"function",type:"Promise",parameters:{selector:{type:"string",description:"A selector to query for."},options:{type:"object",properties:{state:{type:"string",enum:["attached","detached","visible","hidden"],description:"Defaults to `'visible'`. Can be either:\n- `'attached'` - wait for element to be present in DOM.\n- `'detached'` - wait for element to not be present in DOM.\n- `'visible'` - wait for element to have non-empty bounding box and no `visibility:hidden`. Note that element without any content or with `display:none` has an empty bounding box and is not considered visible.\n- `'hidden'` - wait for element to be either detached from DOM, or have an empty bounding box or `visibility:hidden`. This is opposite to the `'visible'` option."},strict:{type:"boolean",description:"When true, the call requires selector to resolve to a single element. If given selector resolves to more than one element, the call throws an exception."},timeout:{type:"number",description:"Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` option in the config, or by using the [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods."}},additionalProperties:false}},required:["selector","options"],description:"**NOTE** Use web assertions that assert visibility or a locator-based [locator.waitFor([options])](https://playwright.dev/docs/api/class-locator#locator-wait-for) instead. Read more about [locators](https://playwright.dev/docs/locators).\n\nReturns when element specified by selector satisfies [`state`](https://playwright.dev/docs/api/class-page#page-wait-for-selector-option-state) option. Returns `null` if waiting for `hidden` or `detached`.\n\n**NOTE** Playwright automatically waits for element to be ready before performing an action. Using [Locator](https://playwright.dev/docs/api/class-locator) objects and web-first assertions makes the code wait-for-selector-free.\n\nWait for the [`selector`](https://playwright.dev/docs/api/class-page#page-wait-for-selector-option-selector) to satisfy [`state`](https://playwright.dev/docs/api/class-page#page-wait-for-selector-option-state) option (either appear/disappear from dom, or become visible/hidden). If at the moment of calling the method [`selector`](https://playwright.dev/docs/api/class-page#page-wait-for-selector-option-selector) already satisfies the condition, the method will return immediately. If the selector doesn't satisfy the condition for the [`timeout`](https://playwright.dev/docs/api/class-page#page-wait-for-selector-option-timeout) milliseconds, the function will throw.\n\n**Usage**\n\nThis method works across navigations:\n\n```js const { chromium } = require('playwright'); // Or 'firefox' or 'webkit'.\n\n(async () => { const browser = await chromium.launch(); const page = await browser.newPage(); for (const currentURL of ['https://google.com', 'https://bbc.com']) { await page.goto(currentURL); const element = await page.waitForSelector('img'); console.log('Loaded image: ' + await element.getAttribute('src')); } await browser.close(); })(); ```"},check:{kind:"function",type:"Promise",parameters:{selector:{type:"string",description:"A selector to search for an element. If there are multiple elements satisfying the selector, the first will be used."},options:{type:"object",properties:{force:{type:"boolean",description:"Whether to bypass the [actionability](https://playwright.dev/docs/actionability) checks. Defaults to `false`."},noWaitAfter:{type:"boolean",description:"This option has no effect.",deprecated:"This option has no effect."},position:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},required:["x","y"],additionalProperties:false,description:"A point to use relative to the top-left corner of element padding box. If not specified, uses some visible point of the element."},strict:{type:"boolean",description:"When true, the call requires selector to resolve to a single element. If given selector resolves to more than one element, the call throws an exception."},timeout:{type:"number",description:"Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` option in the config, or by using the [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods."},trial:{type:"boolean",description:"When set, this method only performs the [actionability](https://playwright.dev/docs/actionability) checks and skips the action. Defaults to `false`. Useful to wait until the element is ready for the action without performing it."}},additionalProperties:false}},required:["selector"],description:"**NOTE** Use locator-based [locator.check([options])](https://playwright.dev/docs/api/class-locator#locator-check) instead. Read more about [locators](https://playwright.dev/docs/locators).\n\nThis method checks an element matching [`selector`](https://playwright.dev/docs/api/class-page#page-check-option-selector) by performing the following steps: 1. Find an element matching [`selector`](https://playwright.dev/docs/api/class-page#page-check-option-selector). If there is none, wait until a matching element is attached to the DOM. 1. Ensure that matched element is a checkbox or a radio input. If not, this method throws. If the element is already checked, this method returns immediately. 1. Wait for [actionability](https://playwright.dev/docs/actionability) checks on the matched element, unless [`force`](https://playwright.dev/docs/api/class-page#page-check-option-force) option is set. If the element is detached during the checks, the whole action is retried. 1. Scroll the element into view if needed. 1. Use [page.mouse](https://playwright.dev/docs/api/class-page#page-mouse) to click in the center of the element. 1. Ensure that the element is now checked. If not, this method throws.\n\nWhen all steps combined have not finished during the specified [`timeout`](https://playwright.dev/docs/api/class-page#page-check-option-timeout), this method throws a [TimeoutError](https://playwright.dev/docs/api/class-timeouterror). Passing zero timeout disables this."},click:{kind:"function",type:"Promise",parameters:{selector:{type:"string",description:"A selector to search for an element. If there are multiple elements satisfying the selector, the first will be used."},options:{type:"object",properties:{button:{type:"string",enum:["left","right","middle"],description:"Defaults to `left`."},clickCount:{type:"number",description:"defaults to 1. See [UIEvent.detail]."},delay:{type:"number",description:"Time to wait between `mousedown` and `mouseup` in milliseconds. Defaults to 0."},force:{type:"boolean",description:"Whether to bypass the [actionability](https://playwright.dev/docs/actionability) checks. Defaults to `false`."},modifiers:{type:"array",items:{type:"string",enum:["Alt","Control","ControlOrMeta","Meta","Shift"]},description:'Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current modifiers back. If not specified, currently pressed modifiers are used. "ControlOrMeta" resolves to "Control" on Windows and Linux and to "Meta" on macOS.'},noWaitAfter:{type:"boolean",description:"Actions that initiate navigations are waiting for these navigations to happen and for pages to start loading. You can opt out of waiting via setting this flag. You would only need this option in the exceptional cases such as navigating to inaccessible pages. Defaults to `false`.",deprecated:"This option will default to `true` in the future."},position:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},required:["x","y"],additionalProperties:false,description:"A point to use relative to the top-left corner of element padding box. If not specified, uses some visible point of the element."},strict:{type:"boolean",description:"When true, the call requires selector to resolve to a single element. If given selector resolves to more than one element, the call throws an exception."},timeout:{type:"number",description:"Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` option in the config, or by using the [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods."},trial:{type:"boolean",description:"When set, this method only performs the [actionability](https://playwright.dev/docs/actionability) checks and skips the action. Defaults to `false`. Useful to wait until the element is ready for the action without performing it. Note that keyboard `modifiers` will be pressed regardless of `trial` to allow testing elements which are only visible when those keys are pressed."}},additionalProperties:false}},required:["selector"],description:"**NOTE** Use locator-based [locator.click([options])](https://playwright.dev/docs/api/class-locator#locator-click) instead. Read more about [locators](https://playwright.dev/docs/locators).\n\nThis method clicks an element matching [`selector`](https://playwright.dev/docs/api/class-page#page-click-option-selector) by performing the following steps: 1. Find an element matching [`selector`](https://playwright.dev/docs/api/class-page#page-click-option-selector). If there is none, wait until a matching element is attached to the DOM. 1. Wait for [actionability](https://playwright.dev/docs/actionability) checks on the matched element, unless [`force`](https://playwright.dev/docs/api/class-page#page-click-option-force) option is set. If the element is detached during the checks, the whole action is retried. 1. Scroll the element into view if needed. 1. Use [page.mouse](https://playwright.dev/docs/api/class-page#page-mouse) to click in the center of the element, or the specified [`position`](https://playwright.dev/docs/api/class-page#page-click-option-position). 1. Wait for initiated navigations to either succeed or fail, unless [`noWaitAfter`](https://playwright.dev/docs/api/class-page#page-click-option-no-wait-after) option is set.\n\nWhen all steps combined have not finished during the specified [`timeout`](https://playwright.dev/docs/api/class-page#page-click-option-timeout), this method throws a [TimeoutError](https://playwright.dev/docs/api/class-timeouterror). Passing zero timeout disables this."},dblclick:{kind:"function",type:"Promise",parameters:{selector:{type:"string",description:"A selector to search for an element. If there are multiple elements satisfying the selector, the first will be used."},options:{type:"object",properties:{button:{type:"string",enum:["left","right","middle"],description:"Defaults to `left`."},delay:{type:"number",description:"Time to wait between `mousedown` and `mouseup` in milliseconds. Defaults to 0."},force:{type:"boolean",description:"Whether to bypass the [actionability](https://playwright.dev/docs/actionability) checks. Defaults to `false`."},modifiers:{type:"array",items:{type:"string",enum:["Alt","Control","ControlOrMeta","Meta","Shift"]},description:'Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current modifiers back. If not specified, currently pressed modifiers are used. "ControlOrMeta" resolves to "Control" on Windows and Linux and to "Meta" on macOS.'},noWaitAfter:{type:"boolean",description:"This option has no effect.",deprecated:"This option has no effect."},position:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},required:["x","y"],additionalProperties:false,description:"A point to use relative to the top-left corner of element padding box. If not specified, uses some visible point of the element."},strict:{type:"boolean",description:"When true, the call requires selector to resolve to a single element. If given selector resolves to more than one element, the call throws an exception."},timeout:{type:"number",description:"Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` option in the config, or by using the [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods."},trial:{type:"boolean",description:"When set, this method only performs the [actionability](https://playwright.dev/docs/actionability) checks and skips the action. Defaults to `false`. Useful to wait until the element is ready for the action without performing it. Note that keyboard `modifiers` will be pressed regardless of `trial` to allow testing elements which are only visible when those keys are pressed."}},additionalProperties:false}},required:["selector"],description:"**NOTE** Use locator-based [locator.dblclick([options])](https://playwright.dev/docs/api/class-locator#locator-dblclick) instead. Read more about [locators](https://playwright.dev/docs/locators).\n\nThis method double clicks an element matching [`selector`](https://playwright.dev/docs/api/class-page#page-dblclick-option-selector) by performing the following steps: 1. Find an element matching [`selector`](https://playwright.dev/docs/api/class-page#page-dblclick-option-selector). If there is none, wait until a matching element is attached to the DOM. 1. Wait for [actionability](https://playwright.dev/docs/actionability) checks on the matched element, unless [`force`](https://playwright.dev/docs/api/class-page#page-dblclick-option-force) option is set. If the element is detached during the checks, the whole action is retried. 1. Scroll the element into view if needed. 1. Use [page.mouse](https://playwright.dev/docs/api/class-page#page-mouse) to double click in the center of the element, or the specified [`position`](https://playwright.dev/docs/api/class-page#page-dblclick-option-position).\n\nWhen all steps combined have not finished during the specified [`timeout`](https://playwright.dev/docs/api/class-page#page-dblclick-option-timeout), this method throws a [TimeoutError](https://playwright.dev/docs/api/class-timeouterror). Passing zero timeout disables this.\n\n**NOTE** `page.dblclick()` dispatches two `click` events and a single `dblclick` event."},fill:{kind:"function",type:"Promise",parameters:{selector:{type:"string",description:"A selector to search for an element. If there are multiple elements satisfying the selector, the first will be used."},value:{type:"string",description:"Value to fill for the `<input>`, `<textarea>` or `[contenteditable]` element."},options:{type:"object",properties:{force:{type:"boolean",description:"Whether to bypass the [actionability](https://playwright.dev/docs/actionability) checks. Defaults to `false`."},noWaitAfter:{type:"boolean",description:"This option has no effect.",deprecated:"This option has no effect."},strict:{type:"boolean",description:"When true, the call requires selector to resolve to a single element. If given selector resolves to more than one element, the call throws an exception."},timeout:{type:"number",description:"Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` option in the config, or by using the [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods."}},additionalProperties:false}},required:["selector","value"],description:"**NOTE** Use locator-based [locator.fill(value[, options])](https://playwright.dev/docs/api/class-locator#locator-fill) instead. Read more about [locators](https://playwright.dev/docs/locators).\n\nThis method waits for an element matching [`selector`](https://playwright.dev/docs/api/class-page#page-fill-option-selector), waits for [actionability](https://playwright.dev/docs/actionability) checks, focuses the element, fills it and triggers an `input` event after filling. Note that you can pass an empty string to clear the input field.\n\nIf the target element is not an `<input>`, `<textarea>` or `[contenteditable]` element, this method throws an error. However, if the element is inside the `<label>` element that has an associated [control](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement/control), the control will be filled instead.\n\nTo send fine-grained keyboard events, use [locator.pressSequentially(text[, options])](https://playwright.dev/docs/api/class-locator#locator-press-sequentially)."},focus:{kind:"function",type:"Promise",parameters:{selector:{type:"string",description:"A selector to search for an element. If there are multiple elements satisfying the selector, the first will be used."},options:{type:"object",properties:{strict:{type:"boolean",description:"When true, the call requires selector to resolve to a single element. If given selector resolves to more than one element, the call throws an exception."},timeout:{type:"number",description:"Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` option in the config, or by using the [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods."}},additionalProperties:false}},required:["selector"],description:"**NOTE** Use locator-based [locator.focus([options])](https://playwright.dev/docs/api/class-locator#locator-focus) instead. Read more about [locators](https://playwright.dev/docs/locators).\n\nThis method fetches an element with [`selector`](https://playwright.dev/docs/api/class-page#page-focus-option-selector) and focuses it. If there's no element matching [`selector`](https://playwright.dev/docs/api/class-page#page-focus-option-selector), the method waits until a matching element appears in the DOM."},hover:{kind:"function",type:"Promise",parameters:{selector:{type:"string",description:"A selector to search for an element. If there are multiple elements satisfying the selector, the first will be used."},options:{type:"object",properties:{force:{type:"boolean",description:"Whether to bypass the [actionability](https://playwright.dev/docs/actionability) checks. Defaults to `false`."},modifiers:{type:"array",items:{type:"string",enum:["Alt","Control","ControlOrMeta","Meta","Shift"]},description:'Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current modifiers back. If not specified, currently pressed modifiers are used. "ControlOrMeta" resolves to "Control" on Windows and Linux and to "Meta" on macOS.'},noWaitAfter:{type:"boolean",description:"This option has no effect.",deprecated:"This option has no effect."},position:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},required:["x","y"],additionalProperties:false,description:"A point to use relative to the top-left corner of element padding box. If not specified, uses some visible point of the element."},strict:{type:"boolean",description:"When true, the call requires selector to resolve to a single element. If given selector resolves to more than one element, the call throws an exception."},timeout:{type:"number",description:"Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` option in the config, or by using the [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods."},trial:{type:"boolean",description:"When set, this method only performs the [actionability](https://playwright.dev/docs/actionability) checks and skips the action. Defaults to `false`. Useful to wait until the element is ready for the action without performing it. Note that keyboard `modifiers` will be pressed regardless of `trial` to allow testing elements which are only visible when those keys are pressed."}},additionalProperties:false}},required:["selector"],description:"**NOTE** Use locator-based [locator.hover([options])](https://playwright.dev/docs/api/class-locator#locator-hover) instead. Read more about [locators](https://playwright.dev/docs/locators).\n\nThis method hovers over an element matching [`selector`](https://playwright.dev/docs/api/class-page#page-hover-option-selector) by performing the following steps: 1. Find an element matching [`selector`](https://playwright.dev/docs/api/class-page#page-hover-option-selector). If there is none, wait until a matching element is attached to the DOM. 1. Wait for [actionability](https://playwright.dev/docs/actionability) checks on the matched element, unless [`force`](https://playwright.dev/docs/api/class-page#page-hover-option-force) option is set. If the element is detached during the checks, the whole action is retried. 1. Scroll the element into view if needed. 1. Use [page.mouse](https://playwright.dev/docs/api/class-page#page-mouse) to hover over the center of the element, or the specified [`position`](https://playwright.dev/docs/api/class-page#page-hover-option-position).\n\nWhen all steps combined have not finished during the specified [`timeout`](https://playwright.dev/docs/api/class-page#page-hover-option-timeout), this method throws a [TimeoutError](https://playwright.dev/docs/api/class-timeouterror). Passing zero timeout disables this."},press:{kind:"function",type:"Promise",parameters:{selector:{type:"string",description:"A selector to search for an element. If there are multiple elements satisfying the selector, the first will be used."},key:{type:"string",description:"Name of the key to press or a character to generate, such as `ArrowLeft` or `a`."},options:{type:"object",properties:{delay:{type:"number",description:"Time to wait between `keydown` and `keyup` in milliseconds. Defaults to 0."},noWaitAfter:{type:"boolean",description:"Actions that initiate navigations are waiting for these navigations to happen and for pages to start loading. You can opt out of waiting via setting this flag. You would only need this option in the exceptional cases such as navigating to inaccessible pages. Defaults to `false`.",deprecated:"This option will default to `true` in the future."},strict:{type:"boolean",description:"When true, the call requires selector to resolve to a single element. If given selector resolves to more than one element, the call throws an exception."},timeout:{type:"number",description:"Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` option in the config, or by using the [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods."}},additionalProperties:false}},required:["selector","key"],description:"**NOTE** Use locator-based [locator.press(key[, options])](https://playwright.dev/docs/api/class-locator#locator-press) instead. Read more about [locators](https://playwright.dev/docs/locators).\n\nFocuses the element, and then uses [keyboard.down(key)](https://playwright.dev/docs/api/class-keyboard#keyboard-down) and [keyboard.up(key)](https://playwright.dev/docs/api/class-keyboard#keyboard-up).\n\n[`key`](https://playwright.dev/docs/api/class-page#page-press-option-key) can specify the intended [keyboardEvent.key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) value or a single character to generate the text for. A superset of the [`key`](https://playwright.dev/docs/api/class-page#page-press-option-key) values can be found [here](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key/Key_Values). Examples of the keys are:\n\n`F1` - `F12`, `Digit0`- `Digit9`, `KeyA`- `KeyZ`, `Backquote`, `Minus`, `Equal`, `Backslash`, `Backspace`, `Tab`, `Delete`, `Escape`, `ArrowDown`, `End`, `Enter`, `Home`, `Insert`, `PageDown`, `PageUp`, `ArrowRight`, `ArrowUp`, etc.\n\nFollowing modification shortcuts are also supported: `Shift`, `Control`, `Alt`, `Meta`, `ShiftLeft`, `ControlOrMeta`. `ControlOrMeta` resolves to `Control` on Windows and Linux and to `Meta` on macOS.\n\nHolding down `Shift` will type the text that corresponds to the [`key`](https://playwright.dev/docs/api/class-page#page-press-option-key) in the upper case.\n\nIf [`key`](https://playwright.dev/docs/api/class-page#page-press-option-key) is a single character, it is case-sensitive, so the values `a` and `A` will generate different respective texts.\n\nShortcuts such as `key: \"Control+o\"`, `key: \"Control++` or `key: \"Control+Shift+T\"` are supported as well. When specified with the modifier, modifier is pressed and being held while the subsequent key is being pressed.\n\n**Usage**\n\n```js const page = await browser.newPage(); await page.goto('https://keycode.info'); await page.press('body', 'A'); await page.screenshot({ path: 'A.png' }); await page.press('body', 'ArrowLeft'); await page.screenshot({ path: 'ArrowLeft.png' }); await page.press('body', 'Shift+O'); await page.screenshot({ path: 'O.png' }); await browser.close(); ```"},type:{kind:"function",type:"Promise",parameters:{selector:{type:"string",description:"A selector to search for an element. If there are multiple elements satisfying the selector, the first will be used."},text:{type:"string",description:"A text to type into a focused element."},options:{type:"object",properties:{delay:{type:"number",description:"Time to wait between key presses in milliseconds. Defaults to 0."},noWaitAfter:{type:"boolean",description:"This option has no effect.",deprecated:"This option has no effect."},strict:{type:"boolean",description:"When true, the call requires selector to resolve to a single element. If given selector resolves to more than one element, the call throws an exception."},timeout:{type:"number",description:"Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` option in the config, or by using the [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods."}},additionalProperties:false}},required:["selector","text"],description:"Sends a `keydown`, `keypress`/`input`, and `keyup` event for each character in the text. `page.type` can be used to send fine-grained keyboard events. To fill values in form fields, use [page.fill(selector, value[, options])](https://playwright.dev/docs/api/class-page#page-fill).\n\nTo press a special key, like `Control` or `ArrowDown`, use [keyboard.press(key[, options])](https://playwright.dev/docs/api/class-keyboard#keyboard-press).\n\n**Usage**",deprecated:`In most cases, you should use
2
2
  [locator.fill(value[, options])](https://playwright.dev/docs/api/class-locator#locator-fill) instead. You only need
3
3
  to press keys one by one if there is special keyboard handling on the page - in this case use
4
- [locator.pressSequentially(text[, options])](https://playwright.dev/docs/api/class-locator#locator-press-sequentially).`},uncheck:{kind:"function",type:"Promise",parameters:{selector:{type:"string",description:"A selector to search for an element. If there are multiple elements satisfying the selector, the first will be used."},options:{type:"object",properties:{force:{type:"boolean",description:"Whether to bypass the [actionability](https://playwright.dev/docs/actionability) checks. Defaults to `false`."},noWaitAfter:{type:"boolean",description:"This option has no effect.",deprecated:"This option has no effect."},position:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},required:["x","y"],additionalProperties:false,description:"A point to use relative to the top-left corner of element padding box. If not specified, uses some visible point of the element."},strict:{type:"boolean",description:"When true, the call requires selector to resolve to a single element. If given selector resolves to more than one element, the call throws an exception."},timeout:{type:"number",description:"Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` option in the config, or by using the [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods."},trial:{type:"boolean",description:"When set, this method only performs the [actionability](https://playwright.dev/docs/actionability) checks and skips the action. Defaults to `false`. Useful to wait until the element is ready for the action without performing it."}},additionalProperties:false}},required:["selector"],description:"**NOTE** Use locator-based [locator.uncheck([options])](https://playwright.dev/docs/api/class-locator#locator-uncheck) instead. Read more about [locators](https://playwright.dev/docs/locators).\n\nThis method unchecks an element matching [`selector`](https://playwright.dev/docs/api/class-page#page-uncheck-option-selector) by performing the following steps: 1. Find an element matching [`selector`](https://playwright.dev/docs/api/class-page#page-uncheck-option-selector). If there is none, wait until a matching element is attached to the DOM. 1. Ensure that matched element is a checkbox or a radio input. If not, this method throws. If the element is already unchecked, this method returns immediately. 1. Wait for [actionability](https://playwright.dev/docs/actionability) checks on the matched element, unless [`force`](https://playwright.dev/docs/api/class-page#page-uncheck-option-force) option is set. If the element is detached during the checks, the whole action is retried. 1. Scroll the element into view if needed. 1. Use [page.mouse](https://playwright.dev/docs/api/class-page#page-mouse) to click in the center of the element. 1. Ensure that the element is now unchecked. If not, this method throws.\n\nWhen all steps combined have not finished during the specified [`timeout`](https://playwright.dev/docs/api/class-page#page-uncheck-option-timeout), this method throws a [TimeoutError](https://playwright.dev/docs/api/class-timeouterror). Passing zero timeout disables this."},waitForTimeout:{kind:"function",type:"Promise",parameters:{timeout:{type:"number",description:"A timeout to wait for"}},required:["timeout"],description:"**NOTE** Never wait for timeout in production. Tests that wait for time are inherently flaky. Use [Locator](https://playwright.dev/docs/api/class-locator) actions and web assertions that wait automatically.\n\nWaits for the given [`timeout`](https://playwright.dev/docs/api/class-page#page-wait-for-timeout-option-timeout) in milliseconds.\n\nNote that `page.waitForTimeout()` should only be used for debugging. Tests using the timer in production are going to be flaky. Use signals such as network events, selectors becoming visible and others instead.\n\n**Usage**\n\n```js // wait for 1 second await page.waitForTimeout(1000); ```"},keyboard:{type:"object",properties:{down:{kind:"function",type:"Promise",parameters:{key:{type:"string",description:"Name of the key to press or a character to generate, such as `ArrowLeft` or `a`."}},required:["key"],description:"Dispatches a `keydown` event.\n\n[`key`](https://playwright.dev/docs/api/class-keyboard#keyboard-down-option-key) can specify the intended [keyboardEvent.key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) value or a single character to generate the text for. A superset of the [`key`](https://playwright.dev/docs/api/class-keyboard#keyboard-down-option-key) values can be found [here](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key/Key_Values). Examples of the keys are:\n\n`F1` - `F12`, `Digit0`- `Digit9`, `KeyA`- `KeyZ`, `Backquote`, `Minus`, `Equal`, `Backslash`, `Backspace`, `Tab`, `Delete`, `Escape`, `ArrowDown`, `End`, `Enter`, `Home`, `Insert`, `PageDown`, `PageUp`, `ArrowRight`, `ArrowUp`, etc.\n\nFollowing modification shortcuts are also supported: `Shift`, `Control`, `Alt`, `Meta`, `ShiftLeft`, `ControlOrMeta`. `ControlOrMeta` resolves to `Control` on Windows and Linux and to `Meta` on macOS.\n\nHolding down `Shift` will type the text that corresponds to the [`key`](https://playwright.dev/docs/api/class-keyboard#keyboard-down-option-key) in the upper case.\n\nIf [`key`](https://playwright.dev/docs/api/class-keyboard#keyboard-down-option-key) is a single character, it is case-sensitive, so the values `a` and `A` will generate different respective texts.\n\nIf [`key`](https://playwright.dev/docs/api/class-keyboard#keyboard-down-option-key) is a modifier key, `Shift`, `Meta`, `Control`, or `Alt`, subsequent key presses will be sent with that modifier active. To release the modifier key, use [keyboard.up(key)](https://playwright.dev/docs/api/class-keyboard#keyboard-up).\n\nAfter the key is pressed once, subsequent calls to [keyboard.down(key)](https://playwright.dev/docs/api/class-keyboard#keyboard-down) will have [repeat](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/repeat) set to true. To release the key, use [keyboard.up(key)](https://playwright.dev/docs/api/class-keyboard#keyboard-up).\n\n**NOTE** Modifier keys DO influence `keyboard.down`. Holding down `Shift` will type the text in upper case."},insertText:{kind:"function",type:"Promise",parameters:{text:{type:"string",description:"Sets input to the specified text value."}},required:["text"],description:"Dispatches only `input` event, does not emit the `keydown`, `keyup` or `keypress` events.\n\n**Usage**\n\n```js page.keyboard.insertText('\u55E8'); ```\n\n**NOTE** Modifier keys DO NOT effect `keyboard.insertText`. Holding down `Shift` will not type the text in upper case."},press:{kind:"function",type:"Promise",parameters:{key:{type:"string",description:"Name of the key to press or a character to generate, such as `ArrowLeft` or `a`."},options:{type:"object",properties:{delay:{type:"number",description:"Time to wait between `keydown` and `keyup` in milliseconds. Defaults to 0."}},additionalProperties:false}},required:["key"],description:"**NOTE** In most cases, you should use [locator.press(key[, options])](https://playwright.dev/docs/api/class-locator#locator-press) instead.\n\n[`key`](https://playwright.dev/docs/api/class-keyboard#keyboard-press-option-key) can specify the intended [keyboardEvent.key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) value or a single character to generate the text for. A superset of the [`key`](https://playwright.dev/docs/api/class-keyboard#keyboard-press-option-key) values can be found [here](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key/Key_Values). Examples of the keys are:\n\n`F1` - `F12`, `Digit0`- `Digit9`, `KeyA`- `KeyZ`, `Backquote`, `Minus`, `Equal`, `Backslash`, `Backspace`, `Tab`, `Delete`, `Escape`, `ArrowDown`, `End`, `Enter`, `Home`, `Insert`, `PageDown`, `PageUp`, `ArrowRight`, `ArrowUp`, etc.\n\nFollowing modification shortcuts are also supported: `Shift`, `Control`, `Alt`, `Meta`, `ShiftLeft`, `ControlOrMeta`. `ControlOrMeta` resolves to `Control` on Windows and Linux and to `Meta` on macOS.\n\nHolding down `Shift` will type the text that corresponds to the [`key`](https://playwright.dev/docs/api/class-keyboard#keyboard-press-option-key) in the upper case.\n\nIf [`key`](https://playwright.dev/docs/api/class-keyboard#keyboard-press-option-key) is a single character, it is case-sensitive, so the values `a` and `A` will generate different respective texts.\n\nShortcuts such as `key: \"Control+o\"`, `key: \"Control++` or `key: \"Control+Shift+T\"` are supported as well. When specified with the modifier, modifier is pressed and being held while the subsequent key is being pressed.\n\n**Usage**\n\n```js const page = await browser.newPage(); await page.goto('https://keycode.info'); await page.keyboard.press('A'); await page.screenshot({ path: 'A.png' }); await page.keyboard.press('ArrowLeft'); await page.screenshot({ path: 'ArrowLeft.png' }); await page.keyboard.press('Shift+O'); await page.screenshot({ path: 'O.png' }); await browser.close(); ```\n\nShortcut for [keyboard.down(key)](https://playwright.dev/docs/api/class-keyboard#keyboard-down) and [keyboard.up(key)](https://playwright.dev/docs/api/class-keyboard#keyboard-up)."},type:{kind:"function",type:"Promise",parameters:{text:{type:"string",description:"A text to type into a focused element."},options:{type:"object",properties:{delay:{type:"number",description:"Time to wait between key presses in milliseconds. Defaults to 0."}},additionalProperties:false}},required:["text"],description:"**NOTE** In most cases, you should use [locator.fill(value[, options])](https://playwright.dev/docs/api/class-locator#locator-fill) instead. You only need to press keys one by one if there is special keyboard handling on the page - in this case use [locator.pressSequentially(text[, options])](https://playwright.dev/docs/api/class-locator#locator-press-sequentially).\n\nSends a `keydown`, `keypress`/`input`, and `keyup` event for each character in the text.\n\nTo press a special key, like `Control` or `ArrowDown`, use [keyboard.press(key[, options])](https://playwright.dev/docs/api/class-keyboard#keyboard-press).\n\n**Usage**\n\n```js await page.keyboard.type('Hello'); // Types instantly await page.keyboard.type('World', { delay: 100 }); // Types slower, like a user ```\n\n**NOTE** Modifier keys DO NOT effect `keyboard.type`. Holding down `Shift` will not type the text in upper case.\n\n**NOTE** For characters that are not on a US keyboard, only an `input` event will be sent."},up:{kind:"function",type:"Promise",parameters:{key:{type:"string",description:"Name of the key to press or a character to generate, such as `ArrowLeft` or `a`."}},required:["key"],description:"Dispatches a `keyup` event."}},required:["down","insertText","press","type","up"],additionalProperties:false,description:"Keyboard provides an api for managing a virtual keyboard. The high level api is [keyboard.type(text[, options])](https://playwright.dev/docs/api/class-keyboard#keyboard-type), which takes raw characters and generates proper `keydown`, `keypress`/`input`, and `keyup` events on your page.\n\nFor finer control, you can use [keyboard.down(key)](https://playwright.dev/docs/api/class-keyboard#keyboard-down), [keyboard.up(key)](https://playwright.dev/docs/api/class-keyboard#keyboard-up), and [keyboard.insertText(text)](https://playwright.dev/docs/api/class-keyboard#keyboard-insert-text) to manually fire events as if they were generated from a real keyboard.\n\nAn example of holding down `Shift` in order to select and delete some text:\n\n```js await page.keyboard.type('Hello World!'); await page.keyboard.press('ArrowLeft');\n\nawait page.keyboard.down('Shift'); for (let i = 0; i < ' World'.length; i++) await page.keyboard.press('ArrowLeft'); await page.keyboard.up('Shift');\n\nawait page.keyboard.press('Backspace'); // Result text will end up saying 'Hello!' ```\n\nAn example of pressing uppercase `A`\n\n```js await page.keyboard.press('Shift+KeyA'); // or await page.keyboard.press('Shift+A'); ```\n\nAn example to trigger select-all with the keyboard\n\n```js await page.keyboard.press('ControlOrMeta+A'); ```"},mouse:{type:"object",properties:{click:{kind:"function",type:"Promise",parameters:{x:{type:"number",description:"X coordinate relative to the main frame's viewport in CSS pixels."},y:{type:"number",description:"Y coordinate relative to the main frame's viewport in CSS pixels."},options:{type:"object",properties:{button:{type:"string",enum:["left","right","middle"],description:"Defaults to `left`."},clickCount:{type:"number",description:"defaults to 1. See [UIEvent.detail]."},delay:{type:"number",description:"Time to wait between `mousedown` and `mouseup` in milliseconds. Defaults to 0."}},additionalProperties:false}},required:["x","y"],description:"Shortcut for [mouse.move(x, y[, options])](https://playwright.dev/docs/api/class-mouse#mouse-move), [mouse.down([options])](https://playwright.dev/docs/api/class-mouse#mouse-down), [mouse.up([options])](https://playwright.dev/docs/api/class-mouse#mouse-up)."},dblclick:{kind:"function",type:"Promise",parameters:{x:{type:"number",description:"X coordinate relative to the main frame's viewport in CSS pixels."},y:{type:"number",description:"Y coordinate relative to the main frame's viewport in CSS pixels."},options:{type:"object",properties:{button:{type:"string",enum:["left","right","middle"],description:"Defaults to `left`."},delay:{type:"number",description:"Time to wait between `mousedown` and `mouseup` in milliseconds. Defaults to 0."}},additionalProperties:false}},required:["x","y"],description:"Shortcut for [mouse.move(x, y[, options])](https://playwright.dev/docs/api/class-mouse#mouse-move), [mouse.down([options])](https://playwright.dev/docs/api/class-mouse#mouse-down), [mouse.up([options])](https://playwright.dev/docs/api/class-mouse#mouse-up), [mouse.down([options])](https://playwright.dev/docs/api/class-mouse#mouse-down) and [mouse.up([options])](https://playwright.dev/docs/api/class-mouse#mouse-up)."},down:{kind:"function",type:"Promise",parameters:{options:{type:"object",properties:{button:{type:"string",enum:["left","right","middle"],description:"Defaults to `left`."},clickCount:{type:"number",description:"defaults to 1. See [UIEvent.detail]."}},additionalProperties:false}},required:[],description:"Dispatches a `mousedown` event."},move:{kind:"function",type:"Promise",parameters:{x:{type:"number",description:"X coordinate relative to the main frame's viewport in CSS pixels."},y:{type:"number",description:"Y coordinate relative to the main frame's viewport in CSS pixels."},options:{type:"object",properties:{steps:{type:"number",description:"Defaults to 1. Sends `n` interpolated `mousemove` events to represent travel between Playwright's current cursor position and the provided destination. When set to 1, emits a single `mousemove` event at the destination location."}},additionalProperties:false}},required:["x","y"],description:"Dispatches a `mousemove` event."},up:{kind:"function",type:"Promise",parameters:{options:{type:"object",properties:{button:{type:"string",enum:["left","right","middle"],description:"Defaults to `left`."},clickCount:{type:"number",description:"defaults to 1. See [UIEvent.detail]."}},additionalProperties:false}},required:[],description:"Dispatches a `mouseup` event."}},required:["click","dblclick","down","move","up"],additionalProperties:false,description:"The Mouse class operates in main-frame CSS pixels relative to the top-left corner of the viewport.\n\n**NOTE** If you want to debug where the mouse moved, you can use the [Trace viewer](https://playwright.dev/docs/trace-viewer-intro) or [Playwright Inspector](https://playwright.dev/docs/running-tests). A red dot showing the location of the mouse will be shown for every mouse action.\n\nEvery `page` object has its own Mouse, accessible with [page.mouse](https://playwright.dev/docs/api/class-page#page-mouse).\n\n```js // Using \u2018page.mouse\u2019 to trace a 100x100 square. await page.mouse.move(0, 0); await page.mouse.down(); await page.mouse.move(0, 100); await page.mouse.move(100, 100); await page.mouse.move(100, 0); await page.mouse.move(0, 0); await page.mouse.up(); ```"},touchscreen:{type:"object",properties:{tap:{kind:"function",type:"Promise",parameters:{x:{type:"number",description:"X coordinate relative to the main frame's viewport in CSS pixels."},y:{type:"number",description:"Y coordinate relative to the main frame's viewport in CSS pixels."}},required:["x","y"],description:"Dispatches a `touchstart` and `touchend` event with a single touch at the position ([`x`](https://playwright.dev/docs/api/class-touchscreen#touchscreen-tap-option-x),[`y`](https://playwright.dev/docs/api/class-touchscreen#touchscreen-tap-option-y)).\n\n**NOTE** [page.tap(selector[, options])](https://playwright.dev/docs/api/class-page#page-tap) the method will throw if [`hasTouch`](https://playwright.dev/docs/api/class-browser#browser-new-context-option-has-touch) option of the browser context is false."}},required:["tap"],additionalProperties:false,description:"The Touchscreen class operates in main-frame CSS pixels relative to the top-left corner of the viewport. Methods on the touchscreen can only be used in browser contexts that have been initialized with `hasTouch` set to true.\n\nThis class is limited to emulating tap gestures. For examples of other gestures simulated by manually dispatching touch events, see the [emulating legacy touch events](https://playwright.dev/docs/touch-events) page."},takeScreenshot:{kind:"function",type:"Promise",parameters:{stitchOptions:{type:"object",properties:{blend:{type:"string",enum:["clear","source","over","in","out","atop","dest","dest-over","dest-in","dest-out","dest-atop","xor","add","saturate","multiply","screen","overlay","darken","lighten","colour-dodge","colour-burn","hard-light","soft-light","difference","exclusion"],description:"How to blend this image with the image below. (optional)",default:"multiply"}},additionalProperties:false}},required:[],description:"This method will take a screenshot at the position that it activated, its useful for taking a screenshot in sequence for events/actions. In the end the screenshots will be merged with the final screenshot."},takeScreenshotAll:{kind:"function",type:"Promise",parameters:{stitchOptions:{type:"object",properties:{blend:{type:"string",enum:["clear","source","over","in","out","atop","dest","dest-over","dest-in","dest-out","dest-atop","xor","add","saturate","multiply","screen","overlay","darken","lighten","colour-dodge","colour-burn","hard-light","soft-light","difference","exclusion"],description:"How to blend this image with the image below. (optional)",default:"multiply"}},additionalProperties:false}},required:[],description:"This method will take a screenshot after each action, its useful for looking at over all action execution. In the end the screenshots will be merged."},takeElementScreenshot:{kind:"function",type:"Promise",parameters:{selector:{type:"string"},options:{type:"object",properties:{timeout:{type:"number",description:"Maximum time in milliseconds to wait for the element selector. Defaults to Playwright's configured timeout (30s), which can be overridden globally via `page.setDefaultTimeout()`"}},additionalProperties:false}},required:["selector"],description:"This method will take a screenshot of an element."},takeScreenshotOptions:{kind:"function",type:"Promise",parameters:{mergeType:{type:"string",enum:["stitch","overlay"]},stitchOptions:{type:"object",properties:{direction:{type:"string",enum:["vertical","horizontal"],description:"Direction of the merged image."},align:{type:"string",enum:["start","center","end"],description:"Aligning of given images. If the images are not all the same size, images will be sorted to largest image. Possible values are `start`, `center` and `end`. Default is `start`."},offset:{type:"number",description:"Offset in pixels between each image. Default is `0`"},margin:{type:"string",description:"Set the margin of image, considered as standard css shorthand properties (e.g. '40 40 0 10')",default:"0 0 0 0"},color:{type:"string",description:"Set the background color of image."}},additionalProperties:false},overlayOptions:{type:"object",properties:{blend:{type:"string",enum:["clear","source","over","in","out","atop","dest","dest-over","dest-in","dest-out","dest-atop","xor","add","saturate","multiply","screen","overlay","darken","lighten","colour-dodge","colour-burn","hard-light","soft-light","difference","exclusion"],description:"How to blend this image with the image below. (optional)",default:"multiply"}},additionalProperties:false}},required:[],description:"The purpose of this action is to have centralized options for all screenshots. This action can be used in conjunction with takeScreenshot action only. Only one instance can be used."}};function fe(){let e=le,t=m().customActionSchema;return t&&(e={...e,...t}),e}async function qt(e,t){let r=fe();if(!wt(r,t))return;let n=bt(t,r),i=t.name.split("."),o=e,a=[o];for(let s=0;s<i.length;s++){let u=i[s];if(typeof o!="object"&&typeof o!="function"||o===null)break;let c=o[u];if(c===void 0)break;o=c,a.push(o);}if(a.length!==1&&typeof o=="function")return await o.call(a[a.length-2],...n)}async function v(e,t,r=true){return new Promise((n,i)=>{if(!X__namespace.default.existsSync(e)){if(!r){n(void 0);return}n(t==="*"?{stories:{}}:{stories:{[t]:{}}});return}jsonfile.readFile(e,(o,a)=>{if(o){i(o);return}let s=a||{stories:{}};s.stories||(s.stories={}),!s.stories[t]&&t!=="*"&&(s.stories[t]={}),n(s);});})}async function It(e){let t=await v(e,"*")||{stories:{}},r=t.stories||{},i=Object.keys(r).map(o=>({data:r[o],storyId:o}));return {playWrightData:t,storyData:i}}function b(e){let t=M__namespace.resolve(e),r=M__namespace.parse(t),n=r.ext===".json"?`${r.name}.json`:`${r.name}.playwright.json`;return {dir:r.dir,name:n,path:M__namespace.join(M__namespace.dirname(t),n),screenShotsDir:M__namespace.join(r.dir,"__screenshots__")}}function nn(e){let t=e;for(;t!==M__namespace.default.dirname(t);){let r=M__namespace.default.join(t,"package.json");try{return Ee.resolve(r),r}catch{}t=M__namespace.default.dirname(t);}throw new Error("Cannot find package.json")}function Et(){let e=nn(process.cwd());return Ee(e).version.split(".")[0].toString()}async function Pt(e){await e.waitForLoadState("load"),await e.evaluate(`
4
+ [locator.pressSequentially(text[, options])](https://playwright.dev/docs/api/class-locator#locator-press-sequentially).`},uncheck:{kind:"function",type:"Promise",parameters:{selector:{type:"string",description:"A selector to search for an element. If there are multiple elements satisfying the selector, the first will be used."},options:{type:"object",properties:{force:{type:"boolean",description:"Whether to bypass the [actionability](https://playwright.dev/docs/actionability) checks. Defaults to `false`."},noWaitAfter:{type:"boolean",description:"This option has no effect.",deprecated:"This option has no effect."},position:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},required:["x","y"],additionalProperties:false,description:"A point to use relative to the top-left corner of element padding box. If not specified, uses some visible point of the element."},strict:{type:"boolean",description:"When true, the call requires selector to resolve to a single element. If given selector resolves to more than one element, the call throws an exception."},timeout:{type:"number",description:"Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` option in the config, or by using the [browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout) or [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods."},trial:{type:"boolean",description:"When set, this method only performs the [actionability](https://playwright.dev/docs/actionability) checks and skips the action. Defaults to `false`. Useful to wait until the element is ready for the action without performing it."}},additionalProperties:false}},required:["selector"],description:"**NOTE** Use locator-based [locator.uncheck([options])](https://playwright.dev/docs/api/class-locator#locator-uncheck) instead. Read more about [locators](https://playwright.dev/docs/locators).\n\nThis method unchecks an element matching [`selector`](https://playwright.dev/docs/api/class-page#page-uncheck-option-selector) by performing the following steps: 1. Find an element matching [`selector`](https://playwright.dev/docs/api/class-page#page-uncheck-option-selector). If there is none, wait until a matching element is attached to the DOM. 1. Ensure that matched element is a checkbox or a radio input. If not, this method throws. If the element is already unchecked, this method returns immediately. 1. Wait for [actionability](https://playwright.dev/docs/actionability) checks on the matched element, unless [`force`](https://playwright.dev/docs/api/class-page#page-uncheck-option-force) option is set. If the element is detached during the checks, the whole action is retried. 1. Scroll the element into view if needed. 1. Use [page.mouse](https://playwright.dev/docs/api/class-page#page-mouse) to click in the center of the element. 1. Ensure that the element is now unchecked. If not, this method throws.\n\nWhen all steps combined have not finished during the specified [`timeout`](https://playwright.dev/docs/api/class-page#page-uncheck-option-timeout), this method throws a [TimeoutError](https://playwright.dev/docs/api/class-timeouterror). Passing zero timeout disables this."},waitForTimeout:{kind:"function",type:"Promise",parameters:{timeout:{type:"number",description:"A timeout to wait for"}},required:["timeout"],description:"**NOTE** Never wait for timeout in production. Tests that wait for time are inherently flaky. Use [Locator](https://playwright.dev/docs/api/class-locator) actions and web assertions that wait automatically.\n\nWaits for the given [`timeout`](https://playwright.dev/docs/api/class-page#page-wait-for-timeout-option-timeout) in milliseconds.\n\nNote that `page.waitForTimeout()` should only be used for debugging. Tests using the timer in production are going to be flaky. Use signals such as network events, selectors becoming visible and others instead.\n\n**Usage**\n\n```js // wait for 1 second await page.waitForTimeout(1000); ```"},keyboard:{type:"object",properties:{down:{kind:"function",type:"Promise",parameters:{key:{type:"string",description:"Name of the key to press or a character to generate, such as `ArrowLeft` or `a`."}},required:["key"],description:"Dispatches a `keydown` event.\n\n[`key`](https://playwright.dev/docs/api/class-keyboard#keyboard-down-option-key) can specify the intended [keyboardEvent.key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) value or a single character to generate the text for. A superset of the [`key`](https://playwright.dev/docs/api/class-keyboard#keyboard-down-option-key) values can be found [here](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key/Key_Values). Examples of the keys are:\n\n`F1` - `F12`, `Digit0`- `Digit9`, `KeyA`- `KeyZ`, `Backquote`, `Minus`, `Equal`, `Backslash`, `Backspace`, `Tab`, `Delete`, `Escape`, `ArrowDown`, `End`, `Enter`, `Home`, `Insert`, `PageDown`, `PageUp`, `ArrowRight`, `ArrowUp`, etc.\n\nFollowing modification shortcuts are also supported: `Shift`, `Control`, `Alt`, `Meta`, `ShiftLeft`, `ControlOrMeta`. `ControlOrMeta` resolves to `Control` on Windows and Linux and to `Meta` on macOS.\n\nHolding down `Shift` will type the text that corresponds to the [`key`](https://playwright.dev/docs/api/class-keyboard#keyboard-down-option-key) in the upper case.\n\nIf [`key`](https://playwright.dev/docs/api/class-keyboard#keyboard-down-option-key) is a single character, it is case-sensitive, so the values `a` and `A` will generate different respective texts.\n\nIf [`key`](https://playwright.dev/docs/api/class-keyboard#keyboard-down-option-key) is a modifier key, `Shift`, `Meta`, `Control`, or `Alt`, subsequent key presses will be sent with that modifier active. To release the modifier key, use [keyboard.up(key)](https://playwright.dev/docs/api/class-keyboard#keyboard-up).\n\nAfter the key is pressed once, subsequent calls to [keyboard.down(key)](https://playwright.dev/docs/api/class-keyboard#keyboard-down) will have [repeat](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/repeat) set to true. To release the key, use [keyboard.up(key)](https://playwright.dev/docs/api/class-keyboard#keyboard-up).\n\n**NOTE** Modifier keys DO influence `keyboard.down`. Holding down `Shift` will type the text in upper case."},insertText:{kind:"function",type:"Promise",parameters:{text:{type:"string",description:"Sets input to the specified text value."}},required:["text"],description:"Dispatches only `input` event, does not emit the `keydown`, `keyup` or `keypress` events.\n\n**Usage**\n\n```js page.keyboard.insertText('\u55E8'); ```\n\n**NOTE** Modifier keys DO NOT effect `keyboard.insertText`. Holding down `Shift` will not type the text in upper case."},press:{kind:"function",type:"Promise",parameters:{key:{type:"string",description:"Name of the key to press or a character to generate, such as `ArrowLeft` or `a`."},options:{type:"object",properties:{delay:{type:"number",description:"Time to wait between `keydown` and `keyup` in milliseconds. Defaults to 0."}},additionalProperties:false}},required:["key"],description:"**NOTE** In most cases, you should use [locator.press(key[, options])](https://playwright.dev/docs/api/class-locator#locator-press) instead.\n\n[`key`](https://playwright.dev/docs/api/class-keyboard#keyboard-press-option-key) can specify the intended [keyboardEvent.key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) value or a single character to generate the text for. A superset of the [`key`](https://playwright.dev/docs/api/class-keyboard#keyboard-press-option-key) values can be found [here](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key/Key_Values). Examples of the keys are:\n\n`F1` - `F12`, `Digit0`- `Digit9`, `KeyA`- `KeyZ`, `Backquote`, `Minus`, `Equal`, `Backslash`, `Backspace`, `Tab`, `Delete`, `Escape`, `ArrowDown`, `End`, `Enter`, `Home`, `Insert`, `PageDown`, `PageUp`, `ArrowRight`, `ArrowUp`, etc.\n\nFollowing modification shortcuts are also supported: `Shift`, `Control`, `Alt`, `Meta`, `ShiftLeft`, `ControlOrMeta`. `ControlOrMeta` resolves to `Control` on Windows and Linux and to `Meta` on macOS.\n\nHolding down `Shift` will type the text that corresponds to the [`key`](https://playwright.dev/docs/api/class-keyboard#keyboard-press-option-key) in the upper case.\n\nIf [`key`](https://playwright.dev/docs/api/class-keyboard#keyboard-press-option-key) is a single character, it is case-sensitive, so the values `a` and `A` will generate different respective texts.\n\nShortcuts such as `key: \"Control+o\"`, `key: \"Control++` or `key: \"Control+Shift+T\"` are supported as well. When specified with the modifier, modifier is pressed and being held while the subsequent key is being pressed.\n\n**Usage**\n\n```js const page = await browser.newPage(); await page.goto('https://keycode.info'); await page.keyboard.press('A'); await page.screenshot({ path: 'A.png' }); await page.keyboard.press('ArrowLeft'); await page.screenshot({ path: 'ArrowLeft.png' }); await page.keyboard.press('Shift+O'); await page.screenshot({ path: 'O.png' }); await browser.close(); ```\n\nShortcut for [keyboard.down(key)](https://playwright.dev/docs/api/class-keyboard#keyboard-down) and [keyboard.up(key)](https://playwright.dev/docs/api/class-keyboard#keyboard-up)."},type:{kind:"function",type:"Promise",parameters:{text:{type:"string",description:"A text to type into a focused element."},options:{type:"object",properties:{delay:{type:"number",description:"Time to wait between key presses in milliseconds. Defaults to 0."}},additionalProperties:false}},required:["text"],description:"**NOTE** In most cases, you should use [locator.fill(value[, options])](https://playwright.dev/docs/api/class-locator#locator-fill) instead. You only need to press keys one by one if there is special keyboard handling on the page - in this case use [locator.pressSequentially(text[, options])](https://playwright.dev/docs/api/class-locator#locator-press-sequentially).\n\nSends a `keydown`, `keypress`/`input`, and `keyup` event for each character in the text.\n\nTo press a special key, like `Control` or `ArrowDown`, use [keyboard.press(key[, options])](https://playwright.dev/docs/api/class-keyboard#keyboard-press).\n\n**Usage**\n\n```js await page.keyboard.type('Hello'); // Types instantly await page.keyboard.type('World', { delay: 100 }); // Types slower, like a user ```\n\n**NOTE** Modifier keys DO NOT effect `keyboard.type`. Holding down `Shift` will not type the text in upper case.\n\n**NOTE** For characters that are not on a US keyboard, only an `input` event will be sent."},up:{kind:"function",type:"Promise",parameters:{key:{type:"string",description:"Name of the key to press or a character to generate, such as `ArrowLeft` or `a`."}},required:["key"],description:"Dispatches a `keyup` event."}},required:["down","insertText","press","type","up"],additionalProperties:false,description:"Keyboard provides an api for managing a virtual keyboard. The high level api is [keyboard.type(text[, options])](https://playwright.dev/docs/api/class-keyboard#keyboard-type), which takes raw characters and generates proper `keydown`, `keypress`/`input`, and `keyup` events on your page.\n\nFor finer control, you can use [keyboard.down(key)](https://playwright.dev/docs/api/class-keyboard#keyboard-down), [keyboard.up(key)](https://playwright.dev/docs/api/class-keyboard#keyboard-up), and [keyboard.insertText(text)](https://playwright.dev/docs/api/class-keyboard#keyboard-insert-text) to manually fire events as if they were generated from a real keyboard.\n\nAn example of holding down `Shift` in order to select and delete some text:\n\n```js await page.keyboard.type('Hello World!'); await page.keyboard.press('ArrowLeft');\n\nawait page.keyboard.down('Shift'); for (let i = 0; i < ' World'.length; i++) await page.keyboard.press('ArrowLeft'); await page.keyboard.up('Shift');\n\nawait page.keyboard.press('Backspace'); // Result text will end up saying 'Hello!' ```\n\nAn example of pressing uppercase `A`\n\n```js await page.keyboard.press('Shift+KeyA'); // or await page.keyboard.press('Shift+A'); ```\n\nAn example to trigger select-all with the keyboard\n\n```js await page.keyboard.press('ControlOrMeta+A'); ```"},mouse:{type:"object",properties:{click:{kind:"function",type:"Promise",parameters:{x:{type:"number",description:"X coordinate relative to the main frame's viewport in CSS pixels."},y:{type:"number",description:"Y coordinate relative to the main frame's viewport in CSS pixels."},options:{type:"object",properties:{button:{type:"string",enum:["left","right","middle"],description:"Defaults to `left`."},clickCount:{type:"number",description:"defaults to 1. See [UIEvent.detail]."},delay:{type:"number",description:"Time to wait between `mousedown` and `mouseup` in milliseconds. Defaults to 0."}},additionalProperties:false}},required:["x","y"],description:"Shortcut for [mouse.move(x, y[, options])](https://playwright.dev/docs/api/class-mouse#mouse-move), [mouse.down([options])](https://playwright.dev/docs/api/class-mouse#mouse-down), [mouse.up([options])](https://playwright.dev/docs/api/class-mouse#mouse-up)."},dblclick:{kind:"function",type:"Promise",parameters:{x:{type:"number",description:"X coordinate relative to the main frame's viewport in CSS pixels."},y:{type:"number",description:"Y coordinate relative to the main frame's viewport in CSS pixels."},options:{type:"object",properties:{button:{type:"string",enum:["left","right","middle"],description:"Defaults to `left`."},delay:{type:"number",description:"Time to wait between `mousedown` and `mouseup` in milliseconds. Defaults to 0."}},additionalProperties:false}},required:["x","y"],description:"Shortcut for [mouse.move(x, y[, options])](https://playwright.dev/docs/api/class-mouse#mouse-move), [mouse.down([options])](https://playwright.dev/docs/api/class-mouse#mouse-down), [mouse.up([options])](https://playwright.dev/docs/api/class-mouse#mouse-up), [mouse.down([options])](https://playwright.dev/docs/api/class-mouse#mouse-down) and [mouse.up([options])](https://playwright.dev/docs/api/class-mouse#mouse-up)."},down:{kind:"function",type:"Promise",parameters:{options:{type:"object",properties:{button:{type:"string",enum:["left","right","middle"],description:"Defaults to `left`."},clickCount:{type:"number",description:"defaults to 1. See [UIEvent.detail]."}},additionalProperties:false}},required:[],description:"Dispatches a `mousedown` event."},move:{kind:"function",type:"Promise",parameters:{x:{type:"number",description:"X coordinate relative to the main frame's viewport in CSS pixels."},y:{type:"number",description:"Y coordinate relative to the main frame's viewport in CSS pixels."},options:{type:"object",properties:{steps:{type:"number",description:"Defaults to 1. Sends `n` interpolated `mousemove` events to represent travel between Playwright's current cursor position and the provided destination. When set to 1, emits a single `mousemove` event at the destination location."}},additionalProperties:false}},required:["x","y"],description:"Dispatches a `mousemove` event."},up:{kind:"function",type:"Promise",parameters:{options:{type:"object",properties:{button:{type:"string",enum:["left","right","middle"],description:"Defaults to `left`."},clickCount:{type:"number",description:"defaults to 1. See [UIEvent.detail]."}},additionalProperties:false}},required:[],description:"Dispatches a `mouseup` event."}},required:["click","dblclick","down","move","up"],additionalProperties:false,description:"The Mouse class operates in main-frame CSS pixels relative to the top-left corner of the viewport.\n\n**NOTE** If you want to debug where the mouse moved, you can use the [Trace viewer](https://playwright.dev/docs/trace-viewer-intro) or [Playwright Inspector](https://playwright.dev/docs/running-tests). A red dot showing the location of the mouse will be shown for every mouse action.\n\nEvery `page` object has its own Mouse, accessible with [page.mouse](https://playwright.dev/docs/api/class-page#page-mouse).\n\n```js // Using \u2018page.mouse\u2019 to trace a 100x100 square. await page.mouse.move(0, 0); await page.mouse.down(); await page.mouse.move(0, 100); await page.mouse.move(100, 100); await page.mouse.move(100, 0); await page.mouse.move(0, 0); await page.mouse.up(); ```"},touchscreen:{type:"object",properties:{tap:{kind:"function",type:"Promise",parameters:{x:{type:"number",description:"X coordinate relative to the main frame's viewport in CSS pixels."},y:{type:"number",description:"Y coordinate relative to the main frame's viewport in CSS pixels."}},required:["x","y"],description:"Dispatches a `touchstart` and `touchend` event with a single touch at the position ([`x`](https://playwright.dev/docs/api/class-touchscreen#touchscreen-tap-option-x),[`y`](https://playwright.dev/docs/api/class-touchscreen#touchscreen-tap-option-y)).\n\n**NOTE** [page.tap(selector[, options])](https://playwright.dev/docs/api/class-page#page-tap) the method will throw if [`hasTouch`](https://playwright.dev/docs/api/class-browser#browser-new-context-option-has-touch) option of the browser context is false."}},required:["tap"],additionalProperties:false,description:"The Touchscreen class operates in main-frame CSS pixels relative to the top-left corner of the viewport. Methods on the touchscreen can only be used in browser contexts that have been initialized with `hasTouch` set to true.\n\nThis class is limited to emulating tap gestures. For examples of other gestures simulated by manually dispatching touch events, see the [emulating legacy touch events](https://playwright.dev/docs/touch-events) page."},takeScreenshot:{kind:"function",type:"Promise",parameters:{stitchOptions:{type:"object",properties:{blend:{type:"string",enum:["clear","source","over","in","out","atop","dest","dest-over","dest-in","dest-out","dest-atop","xor","add","saturate","multiply","screen","overlay","darken","lighten","colour-dodge","colour-burn","hard-light","soft-light","difference","exclusion"],description:"How to blend this image with the image below. (optional)",default:"multiply"}},additionalProperties:false}},required:[],description:"This method will take a screenshot at the position that it activated, its useful for taking a screenshot in sequence for events/actions. In the end the screenshots will be merged with the final screenshot."},takeScreenshotAll:{kind:"function",type:"Promise",parameters:{stitchOptions:{type:"object",properties:{blend:{type:"string",enum:["clear","source","over","in","out","atop","dest","dest-over","dest-in","dest-out","dest-atop","xor","add","saturate","multiply","screen","overlay","darken","lighten","colour-dodge","colour-burn","hard-light","soft-light","difference","exclusion"],description:"How to blend this image with the image below. (optional)",default:"multiply"}},additionalProperties:false}},required:[],description:"This method will take a screenshot after each action, its useful for looking at over all action execution. In the end the screenshots will be merged."},takeElementScreenshot:{kind:"function",type:"Promise",parameters:{selector:{type:"string"},options:{type:"object",properties:{timeout:{type:"number",description:"Maximum time in milliseconds to wait for the element selector. Defaults to Playwright's configured timeout (30s), which can be overridden globally via `page.setDefaultTimeout()`"}},additionalProperties:false}},required:["selector"],description:"This method will take a screenshot of an element."},takeScreenshotOptions:{kind:"function",type:"Promise",parameters:{mergeType:{type:"string",enum:["stitch","overlay"]},stitchOptions:{type:"object",properties:{direction:{type:"string",enum:["vertical","horizontal"],description:"Direction of the merged image."},align:{type:"string",enum:["start","center","end"],description:"Aligning of given images. If the images are not all the same size, images will be sorted to largest image. Possible values are `start`, `center` and `end`. Default is `start`."},offset:{type:"number",description:"Offset in pixels between each image. Default is `0`"},margin:{type:"string",description:"Set the margin of image, considered as standard css shorthand properties (e.g. '40 40 0 10')",default:"0 0 0 0"},color:{type:"string",description:"Set the background color of image."}},additionalProperties:false},overlayOptions:{type:"object",properties:{blend:{type:"string",enum:["clear","source","over","in","out","atop","dest","dest-over","dest-in","dest-out","dest-atop","xor","add","saturate","multiply","screen","overlay","darken","lighten","colour-dodge","colour-burn","hard-light","soft-light","difference","exclusion"],description:"How to blend this image with the image below. (optional)",default:"multiply"}},additionalProperties:false}},required:[],description:"The purpose of this action is to have centralized options for all screenshots. This action can be used in conjunction with takeScreenshot action only. Only one instance can be used."}};function fe(){let e=le,t=m().customActionSchema;return t&&(e={...e,...t}),e}async function At(e,t){let r=fe();if(!Et(r,t))return;let n=vt(t,r),i=t.name.split("."),o=e,a=[o];for(let s=0;s<i.length;s++){let u=i[s];if(typeof o!="object"&&typeof o!="function"||o===null)break;let c=o[u];if(c===void 0)break;o=c,a.push(o);}if(a.length!==1&&typeof o=="function")return await o.call(a[a.length-2],...n)}async function x(e,t,r=true){return new Promise((n,i)=>{if(!X__namespace.default.existsSync(e)){if(!r){n(void 0);return}n(t==="*"?{stories:{}}:{stories:{[t]:{}}});return}jsonfile.readFile(e,(o,a)=>{if(o){i(o);return}let s=a||{stories:{}};s.stories||(s.stories={}),!s.stories[t]&&t!=="*"&&(s.stories[t]={}),n(s);});})}async function Tt(e){let t=await x(e,"*")||{stories:{}},r=t.stories||{},i=Object.keys(r).map(o=>({data:r[o],storyId:o}));return {playWrightData:t,storyData:i}}function b(e){let t=M__namespace.resolve(e),r=M__namespace.parse(t),n=r.ext===".json"?`${r.name}.json`:`${r.name}.playwright.json`;return {dir:r.dir,name:n,path:M__namespace.join(M__namespace.dirname(t),n),screenShotsDir:M__namespace.join(r.dir,"__screenshots__")}}function dn(e){let t=e;for(;t!==M__namespace.default.dirname(t);){let r=M__namespace.default.join(t,"package.json");try{return Ee.resolve(r),r}catch{}t=M__namespace.default.dirname(t);}throw new Error("Cannot find package.json")}function Ot(){let e=dn(process.cwd());return Ee(e).version.split(".")[0].toString()}async function $t(e){await e.waitForLoadState("load"),await e.evaluate(`
5
5
  (() => {
6
6
  if (window !== window.parent) return;
7
7
  const box = document.createElement('playwright-mouse-pointer');
@@ -128,15 +128,15 @@ to press keys one by one if there is special keyboard handling on the page - in
128
128
  true,
129
129
  );
130
130
  })();
131
- `);}function an(){let e=le;try{let t=m().customActionSchema;t&&(e={...e,...t});}catch{}return e}function sn(e){let t=an();e.stories&&Object.values(e.stories).forEach(r=>{r?.actionSets?.length&&(r.actionSets=r.actionSets.map(n=>({...n,actions:n.actions.map(i=>{if(!i.args)return i;let o=z(t,i.name),a=ue(i.args,o);return {...i,...a?{args:a}:{}}})})));});}function T(e,t){t&&sn(t);let r=t?.stories;if(r&&Object.keys(r).forEach(n=>{Object.keys(r[n]||{}).length||delete r[n];}),t&&r&&Object.keys(r).length>0){let n={version:Et(),...t};jsonfile.writeFileSync(e.path,n,{EOL:`\r
132
- `,spaces:2});}else try{X__namespace.unlinkSync(e.path);}catch{}}function S(e,t,r=false){if(e){if(!e.stories){if(!r)return;e.stories={};}if(!(!r&&!e.stories[t]))return e.stories[t]||(e.stories[t]={}),e.stories[t]}}function At(e,t){let r=S(e,t);return r&&e.stories&&!Object.keys(r).length&&delete e.stories[t],e}function $e(e,t,r){let n=`${t}Id`,i=e[t];if(!r||!i)return e;let o=false,a=e.stories||{},s=Object.keys(a);for(let u=0;u<s.length;u++){let c=a[s[u]];if(c.screenshots&&c.screenshots.find(d=>d[n]===r)){o=true;break}}return !o&&i[r]&&delete i[r],Object.keys(i).length||delete e[t],e}function Q(e,t,r){if(!r||!e[t])return;let n=Object.keys(e[t]);for(let i=0;i<n.length;i++){let o=n[i],a=e[t][o];if(je__default.default(a,r))return o}}function Ot(e,t,r){let n=Q(e,"browserOptions",r.browserOptions),i=Q(e,"screenshotOptions",r.screenshotOptions),o=U(r),a=R(r),s=u=>u.actionSets&&u.actionSets.length>0?u.actionSets.map(d=>{let{id:f,...l}=d;return l}):void 0;for(let u=0;u<t.length;u++){let c=t[u];if(c.browserOptionsId===n&&c.screenshotOptionsId===i&&c.browserType===r.browserType&&je__default.default(s(c),s(r))&&je__default.default(U(c),o)&&je__default.default(R(c),a))return c}}function me(e,t){if(!e||!e.length)return;let r=t?.regenerateIds===true;return e.map(n=>({...n,actions:n.actions.map(i=>({...i,id:r?nanoid.nanoid(12):i.id||nanoid.nanoid(12)})),id:r?nanoid.nanoid(12):n.id||nanoid.nanoid(12)}))}function he(e,t){e.browserOptions&&t.browserOptionsId&&(t.browserOptions=e.browserOptions[t.browserOptionsId]),e.screenshotOptions&&t.screenshotOptionsId&&(t.screenshotOptions=e.screenshotOptions[t.screenshotOptionsId]);}async function be(e){let t=b(e.filePath),r=await v(t.path,e.storyId);if(!r)return;let n=S(r,e.storyId);if(!n||!n.screenshots)return;let i=n.screenshots.find(o=>o.id===e.screenshotId);return i&&(he(r,i),{...i,actionSets:me(i.actionSets)})}async function $t(e){let t=b(e);return await v(t.path,"*")}var un=["waitForSelector","waitForTimeout","takeScreenshot","takeScreenshotAll","takeScreenshotOptions"];function ge(e){return !un.includes(e.name)}async function jt(e,t){if(t){let r=["Shift","Meta","Control","Alt"];for(let n=0;n<t.length;n++){let i=t[n];for(let o=0;o<i.actions.length;o++){let a=i.actions[o];a.name==="keyboard.down"&&a.args&&a.args.key&&r.includes(a.args.key)&&await e.keyboard.up(a.args.key);}}}}function De(e,t,r){if(!r||!Object.keys(r).length)return;e[t]||(e[t]={});let n=Q(e,t,r);if(n)return n;let i=nanoid.nanoid(12);return e[t][i]=r,i}function Dt(e,t,r){let n=e[t+1];return r&&e.length>1&&e.length>t+1&&n&&ge(n)}var Ve="storybook-root";var dn=3e4;function ln({targetStoryId:e,storyRootId:t}){let n=globalThis.__STORYBOOK_PREVIEW__?.storyRenders||[],i=n.find(s=>s?.id===e)||n.find(s=>s?.phase==="completed"||s?.phase==="finished");return i?i.phase==="completed"||i.phase==="finished":(document.getElementById(t)?.childElementCount||0)>0?["interactive","complete"].includes(document.readyState):false}async function fn(){let e=async()=>{await new Promise(t=>{requestAnimationFrame(()=>t());});};await e(),await e();try{let t=document.fonts;t?.ready&&await t.ready;}catch{}}async function Vt(e,t,r=dn){try{await e.waitForFunction(ln,{targetStoryId:t,storyRootId:Ve},{timeout:r}),await e.evaluate(fn);}catch{}}async function Rt(e){let t=b(e.filePath),r=await v(t.path,e.storyId),n=S(r,e.storyId,false);!n||!n.actionSets||(n.actionSets=yn__default.default(n.actionSets,e.oldIndex,e.newIndex),await T(t,r));}async function Ut(e){let t=b(e.filePath),r=await v(t.path,e.storyId);if(!r)return;if(!e.actionSetId)throw new Error("Action set id has not been provided!");let n=S(r,e.storyId);!n||!n.actionSets||(n.actionSets=n.actionSets.filter(i=>i.id!==e.actionSetId),n.actionSets.length===0&&delete n.actionSets,r=At(r,e.storyId),await T(t,r));}async function Lt(e){let t=b(e.filePath),r=await v(t.path,e.storyId),n=S(r,e.storyId);return n?n.actionSets?n.actionSets.map(i=>(i.actions.forEach(o=>{o.id=nanoid.nanoid();}),i)):[]:[]}async function _t(e){let t=b(e.filePath),r=await v(t.path,e.storyId),n=S(r,e.storyId,true);if(!n)return;n.actionSets||(n.actionSets=[]),n.actionSets=n.actionSets.filter(o=>o.id!==e.actionSet.id);let i={...e.actionSet,actions:e.actionSet.actions.map(o=>{let{id:a,...s}=o;return s})};n.actionSets.push(i),await T(t,r);}var Re=server.initTRPC.context().create(),{router:A}=Re,y=Re.procedure,{createCallerFactory:ip}=Re;var Ct=A({changeActionSetIndex:y.input(Ne).mutation(async({input:e})=>Rt(e)),deleteActionSet:y.input(Be).mutation(async({input:e})=>Ut(e)),getActionSet:y.input(Me).mutation(async({input:e})=>Lt(e)),saveActionSet:y.input(We).mutation(async({input:e})=>_t(e))});var C=".storybook/playwright-favourite-actions.json";async function Mt(e){e.id=nanoid.nanoid(15);let t=X__namespace.existsSync(C)?jsonfile.readFileSync(C):{actionSets:[]};t.actionSets.push(e),jsonfile.writeFileSync(C,t,{EOL:`\r
133
- `,spaces:2});}async function ke(){return new Promise((e,t)=>{if(!X__namespace.existsSync(C)){e([]);return}jsonfile.readFile(C,(r,n)=>{if(r){t(r);return}e(n?.actionSets??[]);});})}async function Wt(e){let r={actionSets:(await ke()).filter(n=>n.id!==e.actionSetId)};jsonfile.writeFileSync(C,r,{EOL:`\r
134
- `,spaces:2});}var Nt=A({addFavouriteAction:y.input(ze).mutation(async({input:e})=>Mt(e)),deleteFavouriteAction:y.input(He).mutation(async({input:e})=>Wt(e)),getFavouriteActions:y.query(async()=>ke())});async function Yt(e){let t=await $t(e.filePath);if(!t)throw new Error("Unable to load screenshot config file data.");let r=b(e.filePath),n=ve__default.default(e.previousNamedExport),i=e.id.split("--")[1],o=i?ve__default.default(i):"",a="",s="",u=[],c=false,d=t.stories||{};if(t.stories||(t.stories=d),Object.keys(d).forEach(f=>{let l=d[f],x=f.split("--"),w=x[1]||"";a||(a=x[0]),s=e.parent;let h=n&&w===n;!c&&h&&(c=true),u=[...u,...(l.screenshots||[]).map(k=>({browser:k.browserType,newStoryId:h?o:void 0,screenshotTitle:k.title,storyId:w,storyTitle:a}))],x[0]=e.parent,h&&(x[1]=o);let g=x.join("--"),I=d[g];g!==f&&(delete d[f],delete d[g],d[g]=I?wn__default.default(l,I):l);},{}),n&&!c)throw new Error("Unable to locate old stories, make sure the previous named function name entered currently.");if(a&&s){a=ve__default.default(a),s=ve__default.default(s);for(let f=0;f<u.length;f++){let l=u[f],x=Ae(l),w=Ae({...l,storyId:l.newStoryId?l.newStoryId:l.storyId,storyTitle:s}),h=M__namespace.default.join(r.screenShotsDir,x);X__namespace.default.existsSync(h)&&X__namespace.default.renameSync(h,M__namespace.default.join(r.screenShotsDir,w));}}await T(r,t);}var Kt=A({fixScreenshotFileName:y.input(Ye).mutation(async({input:e})=>Yt(e))});var Sn=["id"];function Gt(){return [...Sn]}function qn(e){if(e===void 0||!Array.isArray(e))return Gt();let t=new Set;return e.map(r=>r.trim()).filter(r=>r.length>0).filter(r=>{let n=r.toLowerCase();return t.has(n)?false:(t.add(n),true)})}function Xt(){let{selectorAttributeNames:e}=m();return {selectorAttributeNames:qn(e)}}var Zt={acceptDownloads:{type:"boolean",description:"Whether to automatically download all the attachments. Defaults to `true` where all the downloads are accepted."},baseURL:{type:"string",description:"When using [page.goto(url[, options])](https://playwright.dev/docs/api/class-page#page-goto), [page.route(url, handler[, options])](https://playwright.dev/docs/api/class-page#page-route), [page.waitForURL(url[, options])](https://playwright.dev/docs/api/class-page#page-wait-for-url), [page.waitForRequest(urlOrPredicate[, options])](https://playwright.dev/docs/api/class-page#page-wait-for-request), or [page.waitForResponse(urlOrPredicate[, options])](https://playwright.dev/docs/api/class-page#page-wait-for-response) it takes the base URL in consideration by using the [`URL()`](https://developer.mozilla.org/en-US/docs/Web/API/URL/URL) constructor for building the corresponding URL. Unset by default. Examples:\n- baseURL: `http://localhost:3000` and navigating to `/bar.html` results in `http://localhost:3000/bar.html`\n- baseURL: `http://localhost:3000/foo/` and navigating to `./bar.html` results in `http://localhost:3000/foo/bar.html`\n- baseURL: `http://localhost:3000/foo` (without trailing slash) and navigating to `./bar.html` results in `http://localhost:3000/bar.html`"},bypassCSP:{type:"boolean",description:"Toggles bypassing page's Content-Security-Policy. Defaults to `false`."},clientCertificates:{type:"array",items:{type:"object",properties:{origin:{type:"string",description:"Exact origin that the certificate is valid for. Origin includes `https` protocol, a hostname and optionally a port."},certPath:{type:"string",description:"Path to the file with the certificate in PEM format."},cert:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{$ref:"#/definitions/function-98054"},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{$ref:"#/definitions/function-98054"},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["predicate"],additionalProperties:{type:"number"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}}},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{$ref:"#/definitions/function-98054"},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["callbackfn"],additionalProperties:{type:"number"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}}},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{$ref:"#/definitions/function-98054"},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-68524060-17113-21381-68524060-41-21845-68524060-30-21845-68524060-28-21847-68524060-0-21847-68524060-0-21848"},parameters:{start:{type:"number",description:"Where the new `Buffer` will start."},end:{type:"number",description:"Where the new `Buffer` will end (not inclusive)."}},required:[],description:"Returns a new `Buffer` that references the same memory as the original, but offset and cropped by the `start` and `end` indices.\n\nThis method is not compatible with the `Uint8Array.prototype.slice()`, which is a superclass of `Buffer`. To copy the slice, use`Uint8Array.prototype.slice()`.\n\n```js import { Buffer } from 'node:buffer';\n\nconst buf = Buffer.from('buffer');\n\nconst copiedBuf = Uint8Array.prototype.slice.call(buf); copiedBuf[0]++; console.log(copiedBuf.toString()); // Prints: cuffer\n\nconsole.log(buf.toString()); // Prints: buffer\n\n// With buf.slice(), the original buffer is modified. const notReallyCopiedBuf = buf.slice(); notReallyCopiedBuf[0]++; console.log(notReallyCopiedBuf.toString()); // Prints: cuffer console.log(buf.toString()); // Also prints: cuffer (!) ```",deprecated:"Use `subarray` instead."},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-68524060-17113-21381-68524060-41-21845-68524060-30-21845-68524060-28-21847-68524060-0-21847-68524060-0-21848"},parameters:{start:{type:"number",description:"Where the new `Buffer` will start."},end:{type:"number",description:"Where the new `Buffer` will end (not inclusive)."}},required:[],description:"Returns a new `Buffer` that references the same memory as the original, but offset and cropped by the `start` and `end` indices.\n\nSpecifying `end` greater than `buf.length` will return the same result as that of `end` equal to `buf.length`.\n\nThis method is inherited from [`TypedArray.prototype.subarray()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/subarray).\n\nModifying the new `Buffer` slice will modify the memory in the original `Buffer`because the allocated memory of the two objects overlap.\n\n```js import { Buffer } from 'node:buffer';\n\n// Create a `Buffer` with the ASCII alphabet, take a slice, and modify one byte // from the original `Buffer`.\n\nconst buf1 = Buffer.allocUnsafe(26);\n\nfor (let i = 0; i < 26; i++) { // 97 is the decimal ASCII value for 'a'. buf1[i] = i + 97; }\n\nconst buf2 = buf1.subarray(0, 3);\n\nconsole.log(buf2.toString('ascii', 0, buf2.length)); // Prints: abc\n\nbuf1[0] = 33;\n\nconsole.log(buf2.toString('ascii', 0, buf2.length)); // Prints: !bc ```\n\nSpecifying negative indexes causes the slice to be generated relative to the end of `buf` rather than the beginning.\n\n```js import { Buffer } from 'node:buffer';\n\nconst buf = Buffer.from('buffer');\n\nconsole.log(buf.subarray(-6, -1).toString()); // Prints: buffe // (Equivalent to buf.subarray(0, 5).)\n\nconsole.log(buf.subarray(-6, -2).toString()); // Prints: buff // (Equivalent to buf.subarray(0, 4).)\n\nconsole.log(buf.subarray(-5, -2).toString()); // Prints: uff // (Equivalent to buf.subarray(1, 4).) ```"},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{$ref:"#/definitions/function-98054"},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"},description:"Direct value of the certificate in PEM format."},keyPath:{type:"string",description:"Path to the file with the private key in PEM format."},key:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{$ref:"#/definitions/function-98054"},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{$ref:"#/definitions/function-98054"},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["predicate"],additionalProperties:{type:"number"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}}},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{$ref:"#/definitions/function-98054"},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["callbackfn"],additionalProperties:{type:"number"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}}},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{$ref:"#/definitions/function-98054"},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-68524060-17113-21381-68524060-41-21845-68524060-30-21845-68524060-28-21847-68524060-0-21847-68524060-0-21848"},parameters:{start:{type:"number",description:"Where the new `Buffer` will start."},end:{type:"number",description:"Where the new `Buffer` will end (not inclusive)."}},required:[],description:"Returns a new `Buffer` that references the same memory as the original, but offset and cropped by the `start` and `end` indices.\n\nThis method is not compatible with the `Uint8Array.prototype.slice()`, which is a superclass of `Buffer`. To copy the slice, use`Uint8Array.prototype.slice()`.\n\n```js import { Buffer } from 'node:buffer';\n\nconst buf = Buffer.from('buffer');\n\nconst copiedBuf = Uint8Array.prototype.slice.call(buf); copiedBuf[0]++; console.log(copiedBuf.toString()); // Prints: cuffer\n\nconsole.log(buf.toString()); // Prints: buffer\n\n// With buf.slice(), the original buffer is modified. const notReallyCopiedBuf = buf.slice(); notReallyCopiedBuf[0]++; console.log(notReallyCopiedBuf.toString()); // Prints: cuffer console.log(buf.toString()); // Also prints: cuffer (!) ```",deprecated:"Use `subarray` instead."},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-68524060-17113-21381-68524060-41-21845-68524060-30-21845-68524060-28-21847-68524060-0-21847-68524060-0-21848"},parameters:{start:{type:"number",description:"Where the new `Buffer` will start."},end:{type:"number",description:"Where the new `Buffer` will end (not inclusive)."}},required:[],description:"Returns a new `Buffer` that references the same memory as the original, but offset and cropped by the `start` and `end` indices.\n\nSpecifying `end` greater than `buf.length` will return the same result as that of `end` equal to `buf.length`.\n\nThis method is inherited from [`TypedArray.prototype.subarray()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/subarray).\n\nModifying the new `Buffer` slice will modify the memory in the original `Buffer`because the allocated memory of the two objects overlap.\n\n```js import { Buffer } from 'node:buffer';\n\n// Create a `Buffer` with the ASCII alphabet, take a slice, and modify one byte // from the original `Buffer`.\n\nconst buf1 = Buffer.allocUnsafe(26);\n\nfor (let i = 0; i < 26; i++) { // 97 is the decimal ASCII value for 'a'. buf1[i] = i + 97; }\n\nconst buf2 = buf1.subarray(0, 3);\n\nconsole.log(buf2.toString('ascii', 0, buf2.length)); // Prints: abc\n\nbuf1[0] = 33;\n\nconsole.log(buf2.toString('ascii', 0, buf2.length)); // Prints: !bc ```\n\nSpecifying negative indexes causes the slice to be generated relative to the end of `buf` rather than the beginning.\n\n```js import { Buffer } from 'node:buffer';\n\nconst buf = Buffer.from('buffer');\n\nconsole.log(buf.subarray(-6, -1).toString()); // Prints: buffe // (Equivalent to buf.subarray(0, 5).)\n\nconsole.log(buf.subarray(-6, -2).toString()); // Prints: buff // (Equivalent to buf.subarray(0, 4).)\n\nconsole.log(buf.subarray(-5, -2).toString()); // Prints: uff // (Equivalent to buf.subarray(1, 4).) ```"},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{$ref:"#/definitions/function-98054"},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"},description:"Direct value of the private key in PEM format."},pfxPath:{type:"string",description:"Path to the PFX or PKCS12 encoded private key and certificate chain."},pfx:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{$ref:"#/definitions/function-98054"},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{$ref:"#/definitions/function-98054"},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["predicate"],additionalProperties:{type:"number"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}}},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{$ref:"#/definitions/function-98054"},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["callbackfn"],additionalProperties:{type:"number"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}}},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{$ref:"#/definitions/function-98054"},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-68524060-17113-21381-68524060-41-21845-68524060-30-21845-68524060-28-21847-68524060-0-21847-68524060-0-21848"},parameters:{start:{type:"number",description:"Where the new `Buffer` will start."},end:{type:"number",description:"Where the new `Buffer` will end (not inclusive)."}},required:[],description:"Returns a new `Buffer` that references the same memory as the original, but offset and cropped by the `start` and `end` indices.\n\nThis method is not compatible with the `Uint8Array.prototype.slice()`, which is a superclass of `Buffer`. To copy the slice, use`Uint8Array.prototype.slice()`.\n\n```js import { Buffer } from 'node:buffer';\n\nconst buf = Buffer.from('buffer');\n\nconst copiedBuf = Uint8Array.prototype.slice.call(buf); copiedBuf[0]++; console.log(copiedBuf.toString()); // Prints: cuffer\n\nconsole.log(buf.toString()); // Prints: buffer\n\n// With buf.slice(), the original buffer is modified. const notReallyCopiedBuf = buf.slice(); notReallyCopiedBuf[0]++; console.log(notReallyCopiedBuf.toString()); // Prints: cuffer console.log(buf.toString()); // Also prints: cuffer (!) ```",deprecated:"Use `subarray` instead."},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-68524060-17113-21381-68524060-41-21845-68524060-30-21845-68524060-28-21847-68524060-0-21847-68524060-0-21848"},parameters:{start:{type:"number",description:"Where the new `Buffer` will start."},end:{type:"number",description:"Where the new `Buffer` will end (not inclusive)."}},required:[],description:"Returns a new `Buffer` that references the same memory as the original, but offset and cropped by the `start` and `end` indices.\n\nSpecifying `end` greater than `buf.length` will return the same result as that of `end` equal to `buf.length`.\n\nThis method is inherited from [`TypedArray.prototype.subarray()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/subarray).\n\nModifying the new `Buffer` slice will modify the memory in the original `Buffer`because the allocated memory of the two objects overlap.\n\n```js import { Buffer } from 'node:buffer';\n\n// Create a `Buffer` with the ASCII alphabet, take a slice, and modify one byte // from the original `Buffer`.\n\nconst buf1 = Buffer.allocUnsafe(26);\n\nfor (let i = 0; i < 26; i++) { // 97 is the decimal ASCII value for 'a'. buf1[i] = i + 97; }\n\nconst buf2 = buf1.subarray(0, 3);\n\nconsole.log(buf2.toString('ascii', 0, buf2.length)); // Prints: abc\n\nbuf1[0] = 33;\n\nconsole.log(buf2.toString('ascii', 0, buf2.length)); // Prints: !bc ```\n\nSpecifying negative indexes causes the slice to be generated relative to the end of `buf` rather than the beginning.\n\n```js import { Buffer } from 'node:buffer';\n\nconst buf = Buffer.from('buffer');\n\nconsole.log(buf.subarray(-6, -1).toString()); // Prints: buffe // (Equivalent to buf.subarray(0, 5).)\n\nconsole.log(buf.subarray(-6, -2).toString()); // Prints: buff // (Equivalent to buf.subarray(0, 4).)\n\nconsole.log(buf.subarray(-5, -2).toString()); // Prints: uff // (Equivalent to buf.subarray(1, 4).) ```"},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{$ref:"#/definitions/function-98054"},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"},description:"Direct value of the PFX or PKCS12 encoded private key and certificate chain."},passphrase:{type:"string",description:"Passphrase for the private key (PEM or PFX)."}},required:["origin"],additionalProperties:false},description:"TLS Client Authentication allows the server to request a client certificate and verify it.\n\n**Details**\n\nAn array of client certificates to be used. Each certificate object must have either both `certPath` and `keyPath`, a single `pfxPath`, or their corresponding direct value equivalents (`cert` and `key`, or `pfx`). Optionally, `passphrase` property should be provided if the certificate is encrypted. The `origin` property should be provided with an exact match to the request origin that the certificate is valid for.\n\nClient certificate authentication is only active when at least one client certificate is provided. If you want to reject all client certificates sent by the server, you need to provide a client certificate with an `origin` that does not match any of the domains you plan to visit.\n\n**NOTE** When using WebKit on macOS, accessing `localhost` will not pick up client certificates. You can make it work by replacing `localhost` with `local.playwright`."},colorScheme:{type:["null","string"],enum:[null,"light","dark","no-preference"],description:"Emulates [prefers-colors-scheme](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme) media feature, supported values are `'light'` and `'dark'`. See [page.emulateMedia([options])](https://playwright.dev/docs/api/class-page#page-emulate-media) for more details. Passing `null` resets emulation to system defaults. Defaults to `'light'`."},contrast:{type:["null","string"],enum:[null,"no-preference","more"],description:"Emulates `'prefers-contrast'` media feature, supported values are `'no-preference'`, `'more'`. See [page.emulateMedia([options])](https://playwright.dev/docs/api/class-page#page-emulate-media) for more details. Passing `null` resets emulation to system defaults. Defaults to `'no-preference'`."},deviceScaleFactor:{type:"number",description:"Specify device scale factor (can be thought of as dpr). Defaults to `1`. Learn more about [emulating devices with device scale factor](https://playwright.dev/docs/emulation#devices)."},forcedColors:{type:["null","string"],enum:[null,"active","none"],description:"Emulates `'forced-colors'` media feature, supported values are `'active'`, `'none'`. See [page.emulateMedia([options])](https://playwright.dev/docs/api/class-page#page-emulate-media) for more details. Passing `null` resets emulation to system defaults. Defaults to `'none'`."},geolocation:{type:"object",properties:{latitude:{type:"number",description:"Latitude between -90 and 90."},longitude:{type:"number",description:"Longitude between -180 and 180."},accuracy:{type:"number",description:"Non-negative accuracy value. Defaults to `0`."}},required:["latitude","longitude"],additionalProperties:false},hasTouch:{type:"boolean",description:"Specifies if viewport supports touch events. Defaults to false. Learn more about [mobile emulation](https://playwright.dev/docs/emulation#devices)."},httpCredentials:{type:"object",properties:{username:{type:"string"},password:{type:"string"},origin:{type:"string",description:"Restrain sending http credentials on specific origin (scheme://host:port)."},send:{type:"string",enum:["unauthorized","always"],description:"This option only applies to the requests sent from corresponding [APIRequestContext](https://playwright.dev/docs/api/class-apirequestcontext) and does not affect requests sent from the browser. `'always'` - `Authorization` header with basic authentication credentials will be sent with the each API request. `'unauthorized` - the credentials are only sent when 401 (Unauthorized) response with `WWW-Authenticate` header is received. Defaults to `'unauthorized'`."}},required:["username","password"],additionalProperties:false,description:"Credentials for [HTTP authentication](https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication). If no origin is specified, the username and password are sent to any servers upon unauthorized responses."},ignoreHTTPSErrors:{type:"boolean",description:"Whether to ignore HTTPS errors when sending network requests. Defaults to `false`."},isMobile:{type:"boolean",description:"Whether the `meta viewport` tag is taken into account and touch events are enabled. isMobile is a part of device, so you don't actually need to set it manually. Defaults to `false` and is not supported in Firefox. Learn more about [mobile emulation](https://playwright.dev/docs/emulation#ismobile)."},javaScriptEnabled:{type:"boolean",description:"Whether or not to enable JavaScript in the context. Defaults to `true`. Learn more about [disabling JavaScript](https://playwright.dev/docs/emulation#javascript-enabled)."},locale:{type:"string",description:"Specify user locale, for example `en-GB`, `de-DE`, etc. Locale will affect `navigator.language` value, `Accept-Language` request header value as well as number and date formatting rules. Defaults to the system default locale. Learn more about emulation in our [emulation guide](https://playwright.dev/docs/emulation#locale--timezone)."},offline:{type:"boolean",description:"Whether to emulate network being offline. Defaults to `false`. Learn more about [network emulation](https://playwright.dev/docs/emulation#offline)."},permissions:{type:"array",items:{type:"string"},description:"A list of permissions to grant to all pages in this context. See [browserContext.grantPermissions(permissions[, options])](https://playwright.dev/docs/api/class-browsercontext#browser-context-grant-permissions) for more details. Defaults to none."},proxy:{type:"object",properties:{server:{type:"string",description:"Proxy to be used for all requests. HTTP and SOCKS proxies are supported, for example `http://myproxy.com:3128` or `socks5://myproxy.com:3128`. Short form `myproxy.com:3128` is considered an HTTP proxy."},bypass:{type:"string",description:'Optional comma-separated domains to bypass proxy, for example `".com, chromium.org, .domain.com"`.'},username:{type:"string",description:"Optional username to use if HTTP proxy requires authentication."},password:{type:"string",description:"Optional password to use if HTTP proxy requires authentication."}},required:["server"],additionalProperties:false,description:"Network proxy settings to use with this context. Defaults to none."},recordHar:{type:"object",properties:{omitContent:{type:"boolean",description:"Optional setting to control whether to omit request content from the HAR. Defaults to `false`. Deprecated, use `content` policy instead."},content:{type:"string",enum:["omit","embed","attach"],description:"Optional setting to control resource content management. If `omit` is specified, content is not persisted. If `attach` is specified, resources are persisted as separate files or entries in the ZIP archive. If `embed` is specified, content is stored inline the HAR file as per HAR specification. Defaults to `attach` for `.zip` output files and to `embed` for all other file extensions."},path:{type:"string",description:"Path on the filesystem to write the HAR file to. If the file name ends with `.zip`, `content: 'attach'` is used by default."},mode:{type:"string",enum:["full","minimal"],description:"When set to `minimal`, only record information necessary for routing from HAR. This omits sizes, timing, page, cookies, security and other types of HAR information that are not used when replaying from HAR. Defaults to `full`."},urlFilter:{type:"string",description:"A glob or regex pattern to filter requests that are stored in the HAR. When a [`baseURL`](https://playwright.dev/docs/api/class-browser#browser-new-context-option-base-url) via the context options was provided and the passed URL is a path, it gets merged via the [`new URL()`](https://developer.mozilla.org/en-US/docs/Web/API/URL/URL) constructor. Defaults to none."}},required:["path"],additionalProperties:false,description:"Enables [HAR](http://www.softwareishard.com/blog/har-12-spec) recording for all pages into `recordHar.path` file. If not specified, the HAR is not recorded. Make sure to await [browserContext.close([options])](https://playwright.dev/docs/api/class-browsercontext#browser-context-close) for the HAR to be saved."},recordVideo:{type:"object",properties:{dir:{type:"string",description:"Path to the directory to put videos into. If not specified, the videos will be stored in `artifactsDir` (see [browserType.launch([options])](https://playwright.dev/docs/api/class-browsertype#browser-type-launch) options)."},size:{type:"object",properties:{width:{type:"number",description:"Video frame width."},height:{type:"number",description:"Video frame height."}},required:["width","height"],additionalProperties:false,description:"Optional dimensions of the recorded videos. If not specified the size will be equal to `viewport` scaled down to fit into 800x800. If `viewport` is not configured explicitly the video size defaults to 800x450. Actual picture of each page will be scaled down if necessary to fit the specified size."},showActions:{type:"object",properties:{duration:{type:"number",description:"How long each annotation is displayed in milliseconds. Defaults to `500`."},position:{type:"string",enum:["top-left","top","top-right","bottom-left","bottom","bottom-right"],description:'Position of the action title overlay. Defaults to `"top-right"`.'},fontSize:{type:"number",description:"Font size of the action title in pixels. Defaults to `24`."}},additionalProperties:false,description:"If specified, enables visual annotations on interacted elements during video recording."}},additionalProperties:false,description:"Enables video recording for all pages into `recordVideo.dir` directory. If not specified videos are not recorded. Make sure to await [browserContext.close([options])](https://playwright.dev/docs/api/class-browsercontext#browser-context-close) for videos to be saved."},reducedMotion:{type:["null","string"],enum:[null,"reduce","no-preference"],description:"Emulates `'prefers-reduced-motion'` media feature, supported values are `'reduce'`, `'no-preference'`. See [page.emulateMedia([options])](https://playwright.dev/docs/api/class-page#page-emulate-media) for more details. Passing `null` resets emulation to system defaults. Defaults to `'no-preference'`."},screen:{type:"object",properties:{width:{type:"number",description:"page width in pixels."},height:{type:"number",description:"page height in pixels."}},required:["width","height"],additionalProperties:false,description:"Emulates consistent window screen size available inside web page via `window.screen`. Is only used when the [`viewport`](https://playwright.dev/docs/api/class-browser#browser-new-context-option-viewport) is set."},serviceWorkers:{type:"string",enum:["allow","block"],description:"Whether to allow sites to register Service workers. Defaults to `'allow'`.\n- `'allow'`: [Service Workers](https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API) can be registered.\n- `'block'`: Playwright will block all registration of Service Workers."},storageState:{anyOf:[{type:"string"},{type:"object",properties:{cookies:{type:"array",items:{type:"object",properties:{name:{type:"string"},value:{type:"string"},domain:{type:"string",description:'Domain and path are required. For the cookie to apply to all subdomains as well, prefix domain with a dot, like this: ".example.com"'},path:{type:"string",description:"Domain and path are required"},expires:{type:"number",description:"Unix time in seconds."},httpOnly:{type:"boolean"},secure:{type:"boolean"},sameSite:{type:"string",enum:["Strict","Lax","None"],description:"sameSite flag"}},required:["name","value","domain","path","expires","httpOnly","secure","sameSite"],additionalProperties:false},description:"Cookies to set for context"},origins:{type:"array",items:{type:"object",properties:{origin:{type:"string"},localStorage:{type:"array",items:{type:"object",additionalProperties:false},description:"localStorage to set for context"}},required:["origin","localStorage"],additionalProperties:false}}},required:["cookies","origins"],additionalProperties:false}],description:`Learn more about [storage state and auth](https://playwright.dev/docs/auth).
131
+ `);}function fn(){let e=le;try{let t=m().customActionSchema;t&&(e={...e,...t});}catch{}return e}function yn(e){let t=fn();e.stories&&Object.values(e.stories).forEach(r=>{r?.actionSets?.length&&(r.actionSets=r.actionSets.map(n=>({...n,actions:n.actions.map(i=>{if(!i.args)return i;let o=z(t,i.name),a=ue(i.args,o);return {...i,...a?{args:a}:{}}})})));});}function A(e,t){t&&yn(t);let r=t?.stories;if(r&&Object.keys(r).forEach(n=>{Object.keys(r[n]||{}).length||delete r[n];}),t&&r&&Object.keys(r).length>0){let n={version:Ot(),...t};jsonfile.writeFileSync(e.path,n,{EOL:`\r
132
+ `,spaces:2});}else try{X__namespace.unlinkSync(e.path);}catch{}}function S(e,t,r=false){if(e){if(!e.stories){if(!r)return;e.stories={};}if(!(!r&&!e.stories[t]))return e.stories[t]||(e.stories[t]={}),e.stories[t]}}function Dt(e,t){let r=S(e,t);return r&&e.stories&&!Object.keys(r).length&&delete e.stories[t],e}function Re(e,t,r){let n=`${t}Id`,i=e[t];if(!r||!i)return e;let o=false,a=e.stories||{},s=Object.keys(a);for(let u=0;u<s.length;u++){let c=a[s[u]];if(c.screenshots&&c.screenshots.find(d=>d[n]===r)){o=true;break}}return !o&&i[r]&&delete i[r],Object.keys(i).length||delete e[t],e}function Q(e,t,r){if(!r||!e[t])return;let n=Object.keys(e[t]);for(let i=0;i<n.length;i++){let o=n[i],a=e[t][o];if(Ue__default.default(a,r))return o}}function Vt(e,t,r){let n=Q(e,"browserOptions",r.browserOptions),i=Q(e,"screenshotOptions",r.screenshotOptions),o=U(r),a=R(r),s=u=>u.actionSets&&u.actionSets.length>0?u.actionSets.map(d=>{let{id:f,...l}=d;return l}):void 0;for(let u=0;u<t.length;u++){let c=t[u];if(c.browserOptionsId===n&&c.screenshotOptionsId===i&&c.browserType===r.browserType&&Ue__default.default(s(c),s(r))&&Ue__default.default(U(c),o)&&Ue__default.default(R(c),a))return c}}function me(e,t){if(!e||!e.length)return;let r=t?.regenerateIds===true;return e.map(n=>({...n,actions:n.actions.map(i=>({...i,id:r?nanoid.nanoid(12):i.id||nanoid.nanoid(12)})),id:r?nanoid.nanoid(12):n.id||nanoid.nanoid(12)}))}function he(e,t){e.browserOptions&&t.browserOptionsId&&(t.browserOptions=e.browserOptions[t.browserOptionsId]),e.screenshotOptions&&t.screenshotOptionsId&&(t.screenshotOptions=e.screenshotOptions[t.screenshotOptionsId]);}async function be(e){let t=b(e.filePath),r=await x(t.path,e.storyId);if(!r)return;let n=S(r,e.storyId);if(!n||!n.screenshots)return;let i=n.screenshots.find(o=>o.id===e.screenshotId);return i&&(he(r,i),{...i,actionSets:me(i.actionSets)})}async function Rt(e){let t=b(e);return await x(t.path,"*")}var hn=["waitForSelector","waitForTimeout","takeScreenshot","takeScreenshotAll","takeScreenshotOptions"];function ge(e){return !hn.includes(e.name)}async function Ut(e,t){if(t){let r=["Shift","Meta","Control","Alt"];for(let n=0;n<t.length;n++){let i=t[n];for(let o=0;o<i.actions.length;o++){let a=i.actions[o];a.name==="keyboard.down"&&a.args&&a.args.key&&r.includes(a.args.key)&&await e.keyboard.up(a.args.key);}}}}function Le(e,t,r){if(!r||!Object.keys(r).length)return;e[t]||(e[t]={});let n=Q(e,t,r);if(n)return n;let i=nanoid.nanoid(12);return e[t][i]=r,i}function Lt(e,t,r){let n=e[t+1];return r&&e.length>1&&e.length>t+1&&n&&ge(n)}var _e="storybook-root";var gn=3e4;function kn({targetStoryId:e,storyRootId:t}){let n=globalThis.__STORYBOOK_PREVIEW__?.storyRenders||[],i=n.find(s=>s?.id===e)||n.find(s=>s?.phase==="completed"||s?.phase==="finished");return i?i.phase==="completed"||i.phase==="finished":(document.getElementById(t)?.childElementCount||0)>0?["interactive","complete"].includes(document.readyState):false}async function xn(){let e=async()=>{await new Promise(t=>{requestAnimationFrame(()=>t());});};await e(),await e();try{let t=document.fonts;t?.ready&&await t.ready;}catch{}}async function _t(e,t,r=gn){try{await e.waitForFunction(kn,{targetStoryId:t,storyRootId:_e},{timeout:r}),await e.evaluate(xn);}catch{}}async function Ct(e){let t=b(e.filePath),r=await x(t.path,e.storyId),n=S(r,e.storyId,false);!n||!n.actionSets||(n.actionSets=vn__default.default(n.actionSets,e.oldIndex,e.newIndex),await A(t,r));}async function Ft(e){let t=b(e.filePath),r=await x(t.path,e.storyId);if(!r)return;if(!e.actionSetId)throw new Error("Action set id has not been provided!");let n=S(r,e.storyId);!n||!n.actionSets||(n.actionSets=n.actionSets.filter(i=>i.id!==e.actionSetId),n.actionSets.length===0&&delete n.actionSets,r=Dt(r,e.storyId),await A(t,r));}async function Mt(e){let t=b(e.filePath),r=await x(t.path,e.storyId),n=S(r,e.storyId);return n?n.actionSets?n.actionSets.map(i=>(i.actions.forEach(o=>{o.id=nanoid.nanoid();}),i)):[]:[]}async function Bt(e){let t=b(e.filePath),r=await x(t.path,e.storyId),n=S(r,e.storyId,true);if(!n)return;n.actionSets||(n.actionSets=[]),n.actionSets=n.actionSets.filter(o=>o.id!==e.actionSet.id);let i={...e.actionSet,actions:e.actionSet.actions.map(o=>{let{id:a,...s}=o;return s})};n.actionSets.push(i),await A(t,r);}var Ce=server.initTRPC.context().create(),{router:T}=Ce,y=Ce.procedure,{createCallerFactory:dp}=Ce;var Wt=T({changeActionSetIndex:y.input(Ke).mutation(async({input:e})=>Ct(e)),deleteActionSet:y.input(He).mutation(async({input:e})=>Ft(e)),getActionSet:y.input(ze).mutation(async({input:e})=>Mt(e)),saveActionSet:y.input(Ye).mutation(async({input:e})=>Bt(e))});var C=".storybook/playwright-favourite-actions.json";async function zt(e){e.id=nanoid.nanoid(15);let t=X__namespace.existsSync(C)?jsonfile.readFileSync(C):{actionSets:[]};t.actionSets.push(e),jsonfile.writeFileSync(C,t,{EOL:`\r
133
+ `,spaces:2});}async function ke(){return new Promise((e,t)=>{if(!X__namespace.existsSync(C)){e([]);return}jsonfile.readFile(C,(r,n)=>{if(r){t(r);return}e(n?.actionSets??[]);});})}async function Yt(e){let r={actionSets:(await ke()).filter(n=>n.id!==e.actionSetId)};jsonfile.writeFileSync(C,r,{EOL:`\r
134
+ `,spaces:2});}var Kt=T({addFavouriteAction:y.input(Ge).mutation(async({input:e})=>zt(e)),deleteFavouriteAction:y.input(Xe).mutation(async({input:e})=>Yt(e)),getFavouriteActions:y.query(async()=>ke())});async function Zt(e){let t=await Rt(e.filePath);if(!t)throw new Error("Unable to load screenshot config file data.");let r=b(e.filePath),n=xe__default.default(e.previousNamedExport),i=e.id.split("--")[1],o=i?xe__default.default(i):"",a="",s="",u=[],c=false,d=t.stories||{};if(t.stories||(t.stories=d),Object.keys(d).forEach(f=>{let l=d[f],v=f.split("--"),w=v[1]||"";a||(a=v[0]),s=e.parent;let h=n&&w===n;!c&&h&&(c=true),u=[...u,...(l.screenshots||[]).map(k=>({browser:k.browserType,newStoryId:h?o:void 0,screenshotTitle:k.title,storyId:w,storyTitle:a}))],v[0]=e.parent,h&&(v[1]=o);let g=v.join("--"),I=d[g];g!==f&&(delete d[f],delete d[g],d[g]=I?Tn__default.default(l,I):l);},{}),n&&!c)throw new Error("Unable to locate old stories, make sure the previous named function name entered currently.");if(a&&s){a=xe__default.default(a),s=xe__default.default(s);for(let f=0;f<u.length;f++){let l=u[f],v=Te(l),w=Te({...l,storyId:l.newStoryId?l.newStoryId:l.storyId,storyTitle:s}),h=M__namespace.default.join(r.screenShotsDir,v);X__namespace.default.existsSync(h)&&X__namespace.default.renameSync(h,M__namespace.default.join(r.screenShotsDir,w));}}await A(r,t);}var Qt=T({fixScreenshotFileName:y.input(Ze).mutation(async({input:e})=>Zt(e))});var On=["id"];function Jt(){return [...On]}function $n(e){if(e===void 0||!Array.isArray(e))return Jt();let t=new Set;return e.map(r=>r.trim()).filter(r=>r.length>0).filter(r=>{let n=r.toLowerCase();return t.has(n)?false:(t.add(n),true)})}function er(){let{selectorAttributeNames:e}=m();return {selectorAttributeNames:$n(e)}}var tr={acceptDownloads:{type:"boolean",description:"Whether to automatically download all the attachments. Defaults to `true` where all the downloads are accepted."},baseURL:{type:"string",description:"When using [page.goto(url[, options])](https://playwright.dev/docs/api/class-page#page-goto), [page.route(url, handler[, options])](https://playwright.dev/docs/api/class-page#page-route), [page.waitForURL(url[, options])](https://playwright.dev/docs/api/class-page#page-wait-for-url), [page.waitForRequest(urlOrPredicate[, options])](https://playwright.dev/docs/api/class-page#page-wait-for-request), or [page.waitForResponse(urlOrPredicate[, options])](https://playwright.dev/docs/api/class-page#page-wait-for-response) it takes the base URL in consideration by using the [`URL()`](https://developer.mozilla.org/en-US/docs/Web/API/URL/URL) constructor for building the corresponding URL. Unset by default. Examples:\n- baseURL: `http://localhost:3000` and navigating to `/bar.html` results in `http://localhost:3000/bar.html`\n- baseURL: `http://localhost:3000/foo/` and navigating to `./bar.html` results in `http://localhost:3000/foo/bar.html`\n- baseURL: `http://localhost:3000/foo` (without trailing slash) and navigating to `./bar.html` results in `http://localhost:3000/bar.html`"},bypassCSP:{type:"boolean",description:"Toggles bypassing page's Content-Security-Policy. Defaults to `false`."},clientCertificates:{type:"array",items:{type:"object",properties:{origin:{type:"string",description:"Exact origin that the certificate is valid for. Origin includes `https` protocol, a hostname and optionally a port."},certPath:{type:"string",description:"Path to the file with the certificate in PEM format."},cert:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{$ref:"#/definitions/function-98054"},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{$ref:"#/definitions/function-98054"},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["predicate"],additionalProperties:{type:"number"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}}},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{$ref:"#/definitions/function-98054"},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["callbackfn"],additionalProperties:{type:"number"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}}},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{$ref:"#/definitions/function-98054"},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-68524060-17113-21381-68524060-41-21845-68524060-30-21845-68524060-28-21847-68524060-0-21847-68524060-0-21848"},parameters:{start:{type:"number",description:"Where the new `Buffer` will start."},end:{type:"number",description:"Where the new `Buffer` will end (not inclusive)."}},required:[],description:"Returns a new `Buffer` that references the same memory as the original, but offset and cropped by the `start` and `end` indices.\n\nThis method is not compatible with the `Uint8Array.prototype.slice()`, which is a superclass of `Buffer`. To copy the slice, use`Uint8Array.prototype.slice()`.\n\n```js import { Buffer } from 'node:buffer';\n\nconst buf = Buffer.from('buffer');\n\nconst copiedBuf = Uint8Array.prototype.slice.call(buf); copiedBuf[0]++; console.log(copiedBuf.toString()); // Prints: cuffer\n\nconsole.log(buf.toString()); // Prints: buffer\n\n// With buf.slice(), the original buffer is modified. const notReallyCopiedBuf = buf.slice(); notReallyCopiedBuf[0]++; console.log(notReallyCopiedBuf.toString()); // Prints: cuffer console.log(buf.toString()); // Also prints: cuffer (!) ```",deprecated:"Use `subarray` instead."},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-68524060-17113-21381-68524060-41-21845-68524060-30-21845-68524060-28-21847-68524060-0-21847-68524060-0-21848"},parameters:{start:{type:"number",description:"Where the new `Buffer` will start."},end:{type:"number",description:"Where the new `Buffer` will end (not inclusive)."}},required:[],description:"Returns a new `Buffer` that references the same memory as the original, but offset and cropped by the `start` and `end` indices.\n\nSpecifying `end` greater than `buf.length` will return the same result as that of `end` equal to `buf.length`.\n\nThis method is inherited from [`TypedArray.prototype.subarray()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/subarray).\n\nModifying the new `Buffer` slice will modify the memory in the original `Buffer`because the allocated memory of the two objects overlap.\n\n```js import { Buffer } from 'node:buffer';\n\n// Create a `Buffer` with the ASCII alphabet, take a slice, and modify one byte // from the original `Buffer`.\n\nconst buf1 = Buffer.allocUnsafe(26);\n\nfor (let i = 0; i < 26; i++) { // 97 is the decimal ASCII value for 'a'. buf1[i] = i + 97; }\n\nconst buf2 = buf1.subarray(0, 3);\n\nconsole.log(buf2.toString('ascii', 0, buf2.length)); // Prints: abc\n\nbuf1[0] = 33;\n\nconsole.log(buf2.toString('ascii', 0, buf2.length)); // Prints: !bc ```\n\nSpecifying negative indexes causes the slice to be generated relative to the end of `buf` rather than the beginning.\n\n```js import { Buffer } from 'node:buffer';\n\nconst buf = Buffer.from('buffer');\n\nconsole.log(buf.subarray(-6, -1).toString()); // Prints: buffe // (Equivalent to buf.subarray(0, 5).)\n\nconsole.log(buf.subarray(-6, -2).toString()); // Prints: buff // (Equivalent to buf.subarray(0, 4).)\n\nconsole.log(buf.subarray(-5, -2).toString()); // Prints: uff // (Equivalent to buf.subarray(1, 4).) ```"},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{$ref:"#/definitions/function-98054"},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"},description:"Direct value of the certificate in PEM format."},keyPath:{type:"string",description:"Path to the file with the private key in PEM format."},key:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{$ref:"#/definitions/function-98054"},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{$ref:"#/definitions/function-98054"},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["predicate"],additionalProperties:{type:"number"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}}},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{$ref:"#/definitions/function-98054"},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["callbackfn"],additionalProperties:{type:"number"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}}},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{$ref:"#/definitions/function-98054"},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-68524060-17113-21381-68524060-41-21845-68524060-30-21845-68524060-28-21847-68524060-0-21847-68524060-0-21848"},parameters:{start:{type:"number",description:"Where the new `Buffer` will start."},end:{type:"number",description:"Where the new `Buffer` will end (not inclusive)."}},required:[],description:"Returns a new `Buffer` that references the same memory as the original, but offset and cropped by the `start` and `end` indices.\n\nThis method is not compatible with the `Uint8Array.prototype.slice()`, which is a superclass of `Buffer`. To copy the slice, use`Uint8Array.prototype.slice()`.\n\n```js import { Buffer } from 'node:buffer';\n\nconst buf = Buffer.from('buffer');\n\nconst copiedBuf = Uint8Array.prototype.slice.call(buf); copiedBuf[0]++; console.log(copiedBuf.toString()); // Prints: cuffer\n\nconsole.log(buf.toString()); // Prints: buffer\n\n// With buf.slice(), the original buffer is modified. const notReallyCopiedBuf = buf.slice(); notReallyCopiedBuf[0]++; console.log(notReallyCopiedBuf.toString()); // Prints: cuffer console.log(buf.toString()); // Also prints: cuffer (!) ```",deprecated:"Use `subarray` instead."},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-68524060-17113-21381-68524060-41-21845-68524060-30-21845-68524060-28-21847-68524060-0-21847-68524060-0-21848"},parameters:{start:{type:"number",description:"Where the new `Buffer` will start."},end:{type:"number",description:"Where the new `Buffer` will end (not inclusive)."}},required:[],description:"Returns a new `Buffer` that references the same memory as the original, but offset and cropped by the `start` and `end` indices.\n\nSpecifying `end` greater than `buf.length` will return the same result as that of `end` equal to `buf.length`.\n\nThis method is inherited from [`TypedArray.prototype.subarray()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/subarray).\n\nModifying the new `Buffer` slice will modify the memory in the original `Buffer`because the allocated memory of the two objects overlap.\n\n```js import { Buffer } from 'node:buffer';\n\n// Create a `Buffer` with the ASCII alphabet, take a slice, and modify one byte // from the original `Buffer`.\n\nconst buf1 = Buffer.allocUnsafe(26);\n\nfor (let i = 0; i < 26; i++) { // 97 is the decimal ASCII value for 'a'. buf1[i] = i + 97; }\n\nconst buf2 = buf1.subarray(0, 3);\n\nconsole.log(buf2.toString('ascii', 0, buf2.length)); // Prints: abc\n\nbuf1[0] = 33;\n\nconsole.log(buf2.toString('ascii', 0, buf2.length)); // Prints: !bc ```\n\nSpecifying negative indexes causes the slice to be generated relative to the end of `buf` rather than the beginning.\n\n```js import { Buffer } from 'node:buffer';\n\nconst buf = Buffer.from('buffer');\n\nconsole.log(buf.subarray(-6, -1).toString()); // Prints: buffe // (Equivalent to buf.subarray(0, 5).)\n\nconsole.log(buf.subarray(-6, -2).toString()); // Prints: buff // (Equivalent to buf.subarray(0, 4).)\n\nconsole.log(buf.subarray(-5, -2).toString()); // Prints: uff // (Equivalent to buf.subarray(1, 4).) ```"},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{$ref:"#/definitions/function-98054"},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"},description:"Direct value of the private key in PEM format."},pfxPath:{type:"string",description:"Path to the PFX or PKCS12 encoded private key and certificate chain."},pfx:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{$ref:"#/definitions/function-98054"},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{$ref:"#/definitions/function-98054"},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["predicate"],additionalProperties:{type:"number"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}}},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{$ref:"#/definitions/function-98054"},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["callbackfn"],additionalProperties:{type:"number"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}}},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{$ref:"#/definitions/function-98054"},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-68524060-17113-21381-68524060-41-21845-68524060-30-21845-68524060-28-21847-68524060-0-21847-68524060-0-21848"},parameters:{start:{type:"number",description:"Where the new `Buffer` will start."},end:{type:"number",description:"Where the new `Buffer` will end (not inclusive)."}},required:[],description:"Returns a new `Buffer` that references the same memory as the original, but offset and cropped by the `start` and `end` indices.\n\nThis method is not compatible with the `Uint8Array.prototype.slice()`, which is a superclass of `Buffer`. To copy the slice, use`Uint8Array.prototype.slice()`.\n\n```js import { Buffer } from 'node:buffer';\n\nconst buf = Buffer.from('buffer');\n\nconst copiedBuf = Uint8Array.prototype.slice.call(buf); copiedBuf[0]++; console.log(copiedBuf.toString()); // Prints: cuffer\n\nconsole.log(buf.toString()); // Prints: buffer\n\n// With buf.slice(), the original buffer is modified. const notReallyCopiedBuf = buf.slice(); notReallyCopiedBuf[0]++; console.log(notReallyCopiedBuf.toString()); // Prints: cuffer console.log(buf.toString()); // Also prints: cuffer (!) ```",deprecated:"Use `subarray` instead."},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-68524060-17113-21381-68524060-41-21845-68524060-30-21845-68524060-28-21847-68524060-0-21847-68524060-0-21848"},parameters:{start:{type:"number",description:"Where the new `Buffer` will start."},end:{type:"number",description:"Where the new `Buffer` will end (not inclusive)."}},required:[],description:"Returns a new `Buffer` that references the same memory as the original, but offset and cropped by the `start` and `end` indices.\n\nSpecifying `end` greater than `buf.length` will return the same result as that of `end` equal to `buf.length`.\n\nThis method is inherited from [`TypedArray.prototype.subarray()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/subarray).\n\nModifying the new `Buffer` slice will modify the memory in the original `Buffer`because the allocated memory of the two objects overlap.\n\n```js import { Buffer } from 'node:buffer';\n\n// Create a `Buffer` with the ASCII alphabet, take a slice, and modify one byte // from the original `Buffer`.\n\nconst buf1 = Buffer.allocUnsafe(26);\n\nfor (let i = 0; i < 26; i++) { // 97 is the decimal ASCII value for 'a'. buf1[i] = i + 97; }\n\nconst buf2 = buf1.subarray(0, 3);\n\nconsole.log(buf2.toString('ascii', 0, buf2.length)); // Prints: abc\n\nbuf1[0] = 33;\n\nconsole.log(buf2.toString('ascii', 0, buf2.length)); // Prints: !bc ```\n\nSpecifying negative indexes causes the slice to be generated relative to the end of `buf` rather than the beginning.\n\n```js import { Buffer } from 'node:buffer';\n\nconst buf = Buffer.from('buffer');\n\nconsole.log(buf.subarray(-6, -1).toString()); // Prints: buffe // (Equivalent to buf.subarray(0, 5).)\n\nconsole.log(buf.subarray(-6, -2).toString()); // Prints: buff // (Equivalent to buf.subarray(0, 4).)\n\nconsole.log(buf.subarray(-5, -2).toString()); // Prints: uff // (Equivalent to buf.subarray(1, 4).) ```"},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{type:"object",properties:{BYTES_PER_ELEMENT:{type:"number"},buffer:{type:"object",additionalProperties:false},byteLength:{type:"number"},byteOffset:{type:"number"},copyWithin:{kind:"function",type:"unknown",parameters:{target:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["target"]},every:{kind:"function",type:"boolean",parameters:{predicate:{$ref:"#/definitions/function-98054"},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},fill:{kind:"function",type:"unknown",parameters:{value:{type:"number"},start:{type:"number"},end:{type:"number"}},required:["value"]},filter:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{predicate:{kind:"function",type:"any",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},find:{kind:"function",properties:{anyOf:[{type:"number"},{not:{}}]},parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},findIndex:{kind:"function",type:"number",parameters:{predicate:{kind:"function",type:"boolean",parameters:{value:{type:"number"},index:{type:"number"},obj:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","obj"]},thisArg:{type:"any"}},required:["predicate"]},forEach:{kind:"function",type:"null",parameters:{callbackfn:{kind:"function",type:"null",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},indexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},join:{kind:"function",type:"string",parameters:{separator:{type:"string"}},required:[]},lastIndexOf:{kind:"function",type:"number",parameters:{searchElement:{type:"number"},fromIndex:{type:"number"}},required:["searchElement"]},length:{type:"number"},map:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{callbackfn:{kind:"function",type:"number",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["callbackfn"]},reduce:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reduceRight:{kind:"function",type:"U",parameters:{callbackfn:{kind:"function",type:"U",parameters:{previousValue:{not:{}},currentValue:{type:"number"},currentIndex:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["previousValue","currentValue","currentIndex","array"]},initialValue:{type:"U"}},required:["callbackfn","initialValue"]},reverse:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},set:{kind:"function",type:"null",parameters:{array:{type:"object",properties:{length:{type:"number"}},required:["length"],additionalProperties:{type:"number"}},offset:{type:"number"}},required:["array"]},slice:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{start:{type:"number"},end:{type:"number"}},required:[]},some:{kind:"function",type:"boolean",parameters:{predicate:{kind:"function",type:"unknown",parameters:{value:{type:"number"},index:{type:"number"},array:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}},required:["value","index","array"]},thisArg:{type:"any"}},required:["predicate"]},sort:{kind:"function",type:"unknown",parameters:{compareFn:{kind:"function",type:"number",parameters:{a:{type:"number"},b:{type:"number"}},required:["a","b"]}},required:[]},subarray:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"},parameters:{begin:{type:"number"},end:{type:"number"}},required:[]},toLocaleString:{kind:"function",type:"string"},toString:{kind:"function",type:"string"},valueOf:{kind:"function",properties:{$ref:"#/definitions/interface-1454344775-96279-108697-1454344775-0-213601"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduce","reduce","reduceRight","reduceRight","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"}}},required:["BYTES_PER_ELEMENT","buffer","byteLength","byteOffset","copyWithin","every","fill","filter","find","findIndex","forEach","indexOf","join","lastIndexOf","length","map","reduce","reduceRight","reverse","set","slice","some","sort","subarray","toLocaleString","toString","valueOf"],additionalProperties:{type:"number"},description:"Direct value of the PFX or PKCS12 encoded private key and certificate chain."},passphrase:{type:"string",description:"Passphrase for the private key (PEM or PFX)."}},required:["origin"],additionalProperties:false},description:"TLS Client Authentication allows the server to request a client certificate and verify it.\n\n**Details**\n\nAn array of client certificates to be used. Each certificate object must have either both `certPath` and `keyPath`, a single `pfxPath`, or their corresponding direct value equivalents (`cert` and `key`, or `pfx`). Optionally, `passphrase` property should be provided if the certificate is encrypted. The `origin` property should be provided with an exact match to the request origin that the certificate is valid for.\n\nClient certificate authentication is only active when at least one client certificate is provided. If you want to reject all client certificates sent by the server, you need to provide a client certificate with an `origin` that does not match any of the domains you plan to visit.\n\n**NOTE** When using WebKit on macOS, accessing `localhost` will not pick up client certificates. You can make it work by replacing `localhost` with `local.playwright`."},colorScheme:{type:["null","string"],enum:[null,"light","dark","no-preference"],description:"Emulates [prefers-colors-scheme](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme) media feature, supported values are `'light'` and `'dark'`. See [page.emulateMedia([options])](https://playwright.dev/docs/api/class-page#page-emulate-media) for more details. Passing `null` resets emulation to system defaults. Defaults to `'light'`."},contrast:{type:["null","string"],enum:[null,"no-preference","more"],description:"Emulates `'prefers-contrast'` media feature, supported values are `'no-preference'`, `'more'`. See [page.emulateMedia([options])](https://playwright.dev/docs/api/class-page#page-emulate-media) for more details. Passing `null` resets emulation to system defaults. Defaults to `'no-preference'`."},deviceScaleFactor:{type:"number",description:"Specify device scale factor (can be thought of as dpr). Defaults to `1`. Learn more about [emulating devices with device scale factor](https://playwright.dev/docs/emulation#devices)."},forcedColors:{type:["null","string"],enum:[null,"active","none"],description:"Emulates `'forced-colors'` media feature, supported values are `'active'`, `'none'`. See [page.emulateMedia([options])](https://playwright.dev/docs/api/class-page#page-emulate-media) for more details. Passing `null` resets emulation to system defaults. Defaults to `'none'`."},geolocation:{type:"object",properties:{latitude:{type:"number",description:"Latitude between -90 and 90."},longitude:{type:"number",description:"Longitude between -180 and 180."},accuracy:{type:"number",description:"Non-negative accuracy value. Defaults to `0`."}},required:["latitude","longitude"],additionalProperties:false},hasTouch:{type:"boolean",description:"Specifies if viewport supports touch events. Defaults to false. Learn more about [mobile emulation](https://playwright.dev/docs/emulation#devices)."},httpCredentials:{type:"object",properties:{username:{type:"string"},password:{type:"string"},origin:{type:"string",description:"Restrain sending http credentials on specific origin (scheme://host:port)."},send:{type:"string",enum:["unauthorized","always"],description:"This option only applies to the requests sent from corresponding [APIRequestContext](https://playwright.dev/docs/api/class-apirequestcontext) and does not affect requests sent from the browser. `'always'` - `Authorization` header with basic authentication credentials will be sent with the each API request. `'unauthorized` - the credentials are only sent when 401 (Unauthorized) response with `WWW-Authenticate` header is received. Defaults to `'unauthorized'`."}},required:["username","password"],additionalProperties:false,description:"Credentials for [HTTP authentication](https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication). If no origin is specified, the username and password are sent to any servers upon unauthorized responses."},ignoreHTTPSErrors:{type:"boolean",description:"Whether to ignore HTTPS errors when sending network requests. Defaults to `false`."},isMobile:{type:"boolean",description:"Whether the `meta viewport` tag is taken into account and touch events are enabled. isMobile is a part of device, so you don't actually need to set it manually. Defaults to `false` and is not supported in Firefox. Learn more about [mobile emulation](https://playwright.dev/docs/emulation#ismobile)."},javaScriptEnabled:{type:"boolean",description:"Whether or not to enable JavaScript in the context. Defaults to `true`. Learn more about [disabling JavaScript](https://playwright.dev/docs/emulation#javascript-enabled)."},locale:{type:"string",description:"Specify user locale, for example `en-GB`, `de-DE`, etc. Locale will affect `navigator.language` value, `Accept-Language` request header value as well as number and date formatting rules. Defaults to the system default locale. Learn more about emulation in our [emulation guide](https://playwright.dev/docs/emulation#locale--timezone)."},offline:{type:"boolean",description:"Whether to emulate network being offline. Defaults to `false`. Learn more about [network emulation](https://playwright.dev/docs/emulation#offline)."},permissions:{type:"array",items:{type:"string"},description:"A list of permissions to grant to all pages in this context. See [browserContext.grantPermissions(permissions[, options])](https://playwright.dev/docs/api/class-browsercontext#browser-context-grant-permissions) for more details. Defaults to none."},proxy:{type:"object",properties:{server:{type:"string",description:"Proxy to be used for all requests. HTTP and SOCKS proxies are supported, for example `http://myproxy.com:3128` or `socks5://myproxy.com:3128`. Short form `myproxy.com:3128` is considered an HTTP proxy."},bypass:{type:"string",description:'Optional comma-separated domains to bypass proxy, for example `".com, chromium.org, .domain.com"`.'},username:{type:"string",description:"Optional username to use if HTTP proxy requires authentication."},password:{type:"string",description:"Optional password to use if HTTP proxy requires authentication."}},required:["server"],additionalProperties:false,description:"Network proxy settings to use with this context. Defaults to none."},recordHar:{type:"object",properties:{omitContent:{type:"boolean",description:"Optional setting to control whether to omit request content from the HAR. Defaults to `false`. Deprecated, use `content` policy instead."},content:{type:"string",enum:["omit","embed","attach"],description:"Optional setting to control resource content management. If `omit` is specified, content is not persisted. If `attach` is specified, resources are persisted as separate files or entries in the ZIP archive. If `embed` is specified, content is stored inline the HAR file as per HAR specification. Defaults to `attach` for `.zip` output files and to `embed` for all other file extensions."},path:{type:"string",description:"Path on the filesystem to write the HAR file to. If the file name ends with `.zip`, `content: 'attach'` is used by default."},mode:{type:"string",enum:["full","minimal"],description:"When set to `minimal`, only record information necessary for routing from HAR. This omits sizes, timing, page, cookies, security and other types of HAR information that are not used when replaying from HAR. Defaults to `full`."},urlFilter:{type:"string",description:"A glob or regex pattern to filter requests that are stored in the HAR. When a [`baseURL`](https://playwright.dev/docs/api/class-browser#browser-new-context-option-base-url) via the context options was provided and the passed URL is a path, it gets merged via the [`new URL()`](https://developer.mozilla.org/en-US/docs/Web/API/URL/URL) constructor. Defaults to none."}},required:["path"],additionalProperties:false,description:"Enables [HAR](http://www.softwareishard.com/blog/har-12-spec) recording for all pages into `recordHar.path` file. If not specified, the HAR is not recorded. Make sure to await [browserContext.close([options])](https://playwright.dev/docs/api/class-browsercontext#browser-context-close) for the HAR to be saved."},recordVideo:{type:"object",properties:{dir:{type:"string",description:"Path to the directory to put videos into. If not specified, the videos will be stored in `artifactsDir` (see [browserType.launch([options])](https://playwright.dev/docs/api/class-browsertype#browser-type-launch) options)."},size:{type:"object",properties:{width:{type:"number",description:"Video frame width."},height:{type:"number",description:"Video frame height."}},required:["width","height"],additionalProperties:false,description:"Optional dimensions of the recorded videos. If not specified the size will be equal to `viewport` scaled down to fit into 800x800. If `viewport` is not configured explicitly the video size defaults to 800x450. Actual picture of each page will be scaled down if necessary to fit the specified size."},showActions:{type:"object",properties:{duration:{type:"number",description:"How long each annotation is displayed in milliseconds. Defaults to `500`."},position:{type:"string",enum:["top-left","top","top-right","bottom-left","bottom","bottom-right"],description:'Position of the action title overlay. Defaults to `"top-right"`.'},fontSize:{type:"number",description:"Font size of the action title in pixels. Defaults to `24`."}},additionalProperties:false,description:"If specified, enables visual annotations on interacted elements during video recording."}},additionalProperties:false,description:"Enables video recording for all pages into `recordVideo.dir` directory. If not specified videos are not recorded. Make sure to await [browserContext.close([options])](https://playwright.dev/docs/api/class-browsercontext#browser-context-close) for videos to be saved."},reducedMotion:{type:["null","string"],enum:[null,"reduce","no-preference"],description:"Emulates `'prefers-reduced-motion'` media feature, supported values are `'reduce'`, `'no-preference'`. See [page.emulateMedia([options])](https://playwright.dev/docs/api/class-page#page-emulate-media) for more details. Passing `null` resets emulation to system defaults. Defaults to `'no-preference'`."},screen:{type:"object",properties:{width:{type:"number",description:"page width in pixels."},height:{type:"number",description:"page height in pixels."}},required:["width","height"],additionalProperties:false,description:"Emulates consistent window screen size available inside web page via `window.screen`. Is only used when the [`viewport`](https://playwright.dev/docs/api/class-browser#browser-new-context-option-viewport) is set."},serviceWorkers:{type:"string",enum:["allow","block"],description:"Whether to allow sites to register Service workers. Defaults to `'allow'`.\n- `'allow'`: [Service Workers](https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API) can be registered.\n- `'block'`: Playwright will block all registration of Service Workers."},storageState:{anyOf:[{type:"string"},{type:"object",properties:{cookies:{type:"array",items:{type:"object",properties:{name:{type:"string"},value:{type:"string"},domain:{type:"string",description:'Domain and path are required. For the cookie to apply to all subdomains as well, prefix domain with a dot, like this: ".example.com"'},path:{type:"string",description:"Domain and path are required"},expires:{type:"number",description:"Unix time in seconds."},httpOnly:{type:"boolean"},secure:{type:"boolean"},sameSite:{type:"string",enum:["Strict","Lax","None"],description:"sameSite flag"}},required:["name","value","domain","path","expires","httpOnly","secure","sameSite"],additionalProperties:false},description:"Cookies to set for context"},origins:{type:"array",items:{type:"object",properties:{origin:{type:"string"},localStorage:{type:"array",items:{type:"object",additionalProperties:false},description:"localStorage to set for context"}},required:["origin","localStorage"],additionalProperties:false}}},required:["cookies","origins"],additionalProperties:false}],description:`Learn more about [storage state and auth](https://playwright.dev/docs/auth).
135
135
 
136
- Populates context with given storage state. This option can be used to initialize context with logged-in information obtained via [browserContext.storageState([options])](https://playwright.dev/docs/api/class-browsercontext#browser-context-storage-state).`},strictSelectors:{type:"boolean",description:"If set to true, enables strict selectors mode for this context. In the strict selectors mode all operations on selectors that imply single target DOM element will throw when more than one element matches the selector. This option does not affect any Locator APIs (Locators are always strict). Defaults to `false`. See [Locator](https://playwright.dev/docs/api/class-locator) to learn more about the strict mode."},timezoneId:{type:"string",description:"Changes the timezone of the context. See [ICU's metaZones.txt](https://cs.chromium.org/chromium/src/third_party/icu/source/data/misc/metaZones.txt?rcl=faee8bc70570192d82d2978a71e2a615788597d1) for a list of supported timezone IDs. Defaults to the system timezone."},userAgent:{type:"string",description:"Specific user agent to use in this context."},videoSize:{type:"object",properties:{width:{type:"number",description:"Video frame width."},height:{type:"number",description:"Video frame height."}},required:["width","height"],additionalProperties:false,deprecated:"Use [`recordVideo`](https://playwright.dev/docs/api/class-browser#browser-new-context-option-record-video) instead."},videosPath:{type:"string",deprecated:"Use [`recordVideo`](https://playwright.dev/docs/api/class-browser#browser-new-context-option-record-video) instead."},viewport:{type:"object",properties:{width:{type:"number",description:"page width in pixels."},height:{type:"number",description:"page height in pixels."}},required:["width","height"],additionalProperties:false,description:"Emulates consistent viewport for each page. Defaults to an 1280x720 viewport. Use `null` to disable the consistent viewport emulation. Learn more about [viewport emulation](https://playwright.dev/docs/emulation#viewport).\n\n**NOTE** The `null` value opts out from the default presets, makes viewport depend on the host window size defined by the operating system. It makes the execution of the tests non-deterministic."},cursor:{type:"boolean"}};var Qt={type:{type:"string",enum:["png","jpeg"],description:"Specify screenshot type, defaults to `png`."},quality:{type:"number",description:"The quality of the image, between 0-100. Not applicable to `png` images."},fullPage:{type:"boolean",description:"When true, takes a screenshot of the full scrollable page, instead of the currently visibvle viewport. Defaults to `false`."},clip:{type:"object",properties:{x:{type:"number",description:"x-coordinate of top-left corner of clip area"},y:{type:"number",description:"y-coordinate of top-left corner of clip area"},width:{type:"number",description:"width of clipping area"},height:{type:"number",description:"height of clipping area"}},required:["x","y","width","height"],additionalProperties:false,description:"An object which specifies clipping of the resulting image. Should have the following fields:"},omitBackground:{type:"boolean",description:"Hides default white background and allows capturing screenshots with transparency. Not applicable to `jpeg` images. Defaults to `false`."},timeout:{type:"number",description:"Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed by using the browserContext.setDefaultTimeout(timeout) or page.setDefaultTimeout(timeout) methods."}};function Jt(e){if(e==="browser-options")return Zt;if(e==="screenshot-options")return Qt}var tr=A({getActionsSchema:y.query(()=>fe()),getClientConfig:y.query(()=>Xt()),getSchema:y.input(V.z.object({schemaName:V.z.string()})).mutation(({input:e})=>Jt(e.schemaName))});async function rr(e){let t=b(e.filePath),r=await v(t.path,e.storyId),n=S(r,e.storyId,false);if(!n||!n.screenshots)return;let i=yn__default.default(n.screenshots,e.oldIndex,e.newIndex);n.screenshots=i.map((o,a)=>(o.index=a,o)),await T(t,r);}function Y(e){let t=b(e.filePath),r=ve__default.default(`${M__namespace.default.basename(e.storyId)}--${e.title}--${e.browserType}`),n=M__namespace.default.join(t.screenShotsDir,"__diff_output__"),i=M__namespace.default.join(t.screenShotsDir,`${r}-snap.png`);return {diffDir:n,filePath:i,screenshotIdentifier:r,screenshotsDir:t.screenShotsDir}}function An(e){let t=[e];return e.endsWith("-snap.png")?t.push(e.replace(/-snap\.png$/,".png")):e.endsWith(".png")&&t.push(e.replace(/\.png$/,"-snap.png")),[...new Set(t)]}async function K(e){let t=b(e.filePath),r=await v(t.path,e.storyId,false);if(!r)return;let n=S(r,e.storyId);if(!n||!n.screenshots||!n.screenshots.length)return [];let i=n.screenshots.find(a=>a.id===e.screenshotId);if(!i)return n.screenshots;let o=Y({browserType:i.browserType,filePath:e.filePath,storyId:e.storyId,title:i.title});for(let a of An(o.filePath))X__namespace.existsSync(a)&&X__namespace.unlinkSync(a);return n.screenshots=n.screenshots.filter(a=>a.id!==e.screenshotId),n.screenshots.length||delete n.screenshots,$e(r,"browserOptions",i.browserOptionsId),$e(r,"screenshotOptions",i.screenshotOptionsId),await T(t,r),n.screenshots||[]}async function we(e){let t=b(e.filePath),r=await v(t.path,e.storyId),n=S(r,e.storyId);if(!(!n||!n.screenshots||!n.screenshots.length))return n.screenshots.map(i=>(r&&he(r,i),i))}async function nr(e){let t=await we(e);if(!(!t||!t.length))for(let r=0;r<t.length;r++){let n=t[r];n&&await K({filePath:e.filePath,screenshotId:n.id,storyId:e.storyId});}}async function ir(e){let{getScreenshotTitle:t}=m();if(!t)throw new Error("getScreenshotTitle is not configured.");return t({...e})}function or(){return typeof m().getScreenshotTitle=="function"}async function ar(e,t={}){let{blur:r,timeout:n}=t;await this.fill(e,""),r&&await this.$eval(e,i=>i.blur()),n&&await this.waitForTimeout(n);}async function G(e,t){await e.waitForSelector(t);let r=await e.$(t);if(!r)throw new Error("Unable to find selector!");let n=await r.boundingBox();if(!n)throw new Error("Unable to get boundingBox!");return n}function j(e,t,r){return !r||!r[t]?e:r[t]}async function sr(e,t,r,n){let{steps:i=1,skipMouseUp:o}=n||{},a=await G(this,e),s=j(a.width/2,"x",r),u=j(a.height/2,"y",r),c=j(0,"x",t),d=j(0,"y",t);await this.mouse.move(a.x+s,a.y+u,{steps:i}),await this.mouse.down(),await this.mouse.move(c,d,{steps:i}),o||await this.mouse.up();}async function $(e,t,r,n,i,o,a){await e.$eval(r,(s,u)=>{let c=s.getBoundingClientRect(),{client:d={},page:f={},screen:l={},type:x,options:w}=u,h=new Touch({clientX:d.x,clientY:d.y,identifier:Date.now(),pageX:f.x||(d.x!==void 0?c.left+d.x:void 0),pageY:f.y||(d.y!==void 0?c.top+d.y:void 0),screenX:l.x,screenY:l.y,target:s}),g=new TouchEvent(x,{bubbles:true,cancelable:true,...w,changedTouches:[h],targetTouches:[h],touches:[h]});return s.dispatchEvent(g)},{client:o,options:a,page:n,screen:i,type:t});}async function pr(e,t,r,n,i,o,a,s){await $(this,"touchstart",e,t,o,n,s),await $(this,"touchmove",e,r,a,i,s),await $(this,"touchend",e,r,a,i,s);}function ur(e){let t=e;return t.dragDropSelector=sr,t.scrollSelector=fr,t.mouseDownOnSelector=cr,t.mouseMoveToSelector=lr,t.setSelectorSize=mr,t.clearInput=ar,t.selectorMouseWheel=yr,t.touchCancel=hr,t.touchMove=gr,t.touchEnd=br,t.touchStart=kr,t.touchFromTo=pr,t.mouseFromTo=dr,t}async function cr(e,t,r){let{steps:n=1}=r||{},i=await G(this,e),o=j(i.width/2,"x",t),a=j(i.height/2,"y",t);await this.mouse.move(i.x+o,i.y+a,{steps:n}),await this.mouse.down();}async function dr(e,t,r){let{skipMouseUp:n,steps:i=1}=r||{};if(e.x===void 0||e.y===void 0||t.x===void 0||t.y===void 0)throw new Error("mouseFromTo requires from/to coordinates (x and y).");await this.mouse.move(e.x,e.y,{steps:i}),await this.mouse.down(),await this.mouse.move(t.x,t.y,{steps:i}),n||await this.mouse.up();}async function lr(e,t,r){let{steps:n=1}=r||{},i=await G(this,e),o=j(i.width/2,"x",t),a=j(i.height/2,"y",t);await this.mouse.move(i.x+o,i.y+a,{steps:n});}async function fr(e,t){return await this.waitForSelector(e),await this.$eval(e,(n,i)=>{i.top&&(n.scrollTop=i.top),i.left&&(n.scrollLeft=i.left);},t)}async function yr(e,t){return await this.waitForSelector(e),await this.$eval(e,(n,i)=>{let o=new WheelEvent("wheel",i);n.dispatchEvent(o);},t)}async function mr(e,t,r){await this.$eval(e,(n,i)=>{i.width!==void 0&&(n.style.width=i.width),i.height!==void 0&&(n.style.height=i.height);},{height:r,width:t});}async function hr(e,t,r,n,i){await $(this,"touchcancel",e,t,r,n,i);}async function br(e,t,r,n,i){await $(this,"touchend",e,t,r,n,i);}async function gr(e,t,r,n,i){await $(this,"touchmove",e,t,r,n,i);}async function kr(e,t,r,n,i){await $(this,"touchstart",e,t,r,n,i);}async function J(e,t,r,n){let i={...t,requestId:t.requestId||""};return r.beforeScreenshot&&await r.beforeScreenshot(e,i,i),n?n.screenshot(t.screenshotOptions):e.screenshot(t.screenshotOptions)}async function Se(e,t){let r={...e,requestId:e.requestId||""},n=m(),{screenshotOptions:i={}}=n,o=e.browserOptions,a=await n.getPage(r.browserType,o,r);if(!a)throw new Error("Make sure to return an instance of a page from getPage.");ur(a);let s=U(e),u=R(e),c=mt(n.storybookEndpoint,e.storyId,e.props,s,u);n.afterUrlConstruction&&(c=n.afterUrlConstruction(c,r)),await a.goto(c,n.pageGotoOptions),n.waitForStoryRender!==false&&await Vt(a,e.storyId,n.storyRenderTimeout),n.afterNavigation&&await n.afterNavigation(a,r),o&&o.cursor&&await Pt(a);let d=[],f,l;if(e.actionSets){let h=e.actionSets.reduce((k,O)=>(k=[...k,...O.actions],k),[]);l=h.slice(-1)[0];let g=h.find(k=>k.name==="takeScreenshotAll");f=h.find(k=>k.name==="takeScreenshotOptions");let I=h.filter(k=>!["takeScreenshotAll","takeScreenshotOptions"].includes(k.name));g&&I.filter(k=>ge(k)).length>0&&d.push({buffer:await J(a,e,n),options:g.args});for(let k=0;k<I.length;k++){let O=I[k];if(O.name==="takeElementScreenshot"){let D=O.args;if(D?.selector&&typeof D.selector=="string"){let ee=ae(D.options?.timeout),Or=await a.waitForSelector(D.selector,{state:"attached",...ee!==void 0?{timeout:ee}:{}});d.push({buffer:await J(a,e,n,Or||void 0),options:O.args});}continue}if(O.name==="takeScreenshot"){d.push({buffer:await J(a,e,n),options:O.args});continue}await qt(a,O),Dt(I,k,!!g)&&d.push({buffer:await J(a,e,n),options:g?.args||{}});}}let x=l?.name==="takeScreenshot"||l?.name==="takeElementScreenshot"&&!!(l.args&&l.args.selector),w;if(x||(w=await J(a,e,n)),n.releaseModifierKey&&await jt(a,e.actionSets||[]),n.afterScreenshot&&await n.afterScreenshot(a,r),d.length){let h=e&&e.screenshotOptions&&e.screenshotOptions.type?e.screenshotOptions.type:"png",g=f&&f.args?f.args:{};if(g={mergeType:g.mergeType?g.mergeType:i.mergeType||"stitch",overlayOptions:{...i.overlayOptions,...g.overlayOptions},stitchOptions:{...i.stitchOptions,...g.stitchOptions}},g.mergeType==="stitch"){let I=d.map(k=>k.buffer);w&&I.push(w),w=await(await On__default.default(I,{...g.stitchOptions})).toFormat(h).toBuffer();}else {let I=w||d[0]?.buffer;if(!I)throw new Error("Unable to create screenshot image buffer.");let O=(w===void 0&&d.length===1?d:d.filter((D,ee)=>!(w===void 0&&ee===0))).map(D=>({blend:"multiply",input:D.buffer,...g.overlayOptions,...D.options?D.options.stitchOptions:{}}));w=await $n__default.default(I).composite(O).toFormat(h).toBuffer();}}if(!w)throw new Error("Unable to create screenshot image buffer.");return {base64:t?w.toString("base64"):void 0,browserName:e.browserType,buffer:w}}async function Z(e,t,r){return new Promise((n,i)=>{try{let o=Y(e),a=m(),s=a.imageDiffOptions??{},u=M__namespace.default.resolve(process.cwd(),"__stories__",e.storyId,"__diff_output__");X__namespace.existsSync(u)||X__namespace.mkdirSync(u,{recursive:!0});let c=diffSnapshot.runDiffImageToSnapshot({blur:0,diffDir:u,diffDirection:a.diffDirection?a.diffDirection:"horizontal",failureThreshold:0,failureThresholdType:"pixel",receivedImageBuffer:t,snapshotIdentifier:o.screenshotIdentifier,snapshotsDir:o.screenshotsDir,updatePassedSnapshot:!1,updateSnapshot:!1,...s,...r});c.pass||X__namespace.rmdirSync(u,{recursive:!0}),c.added&&c.pass===!1&&delete c.pass,c.diffDirection=a.diffDirection,s.allowSizeMismatch&&(c.diffSize=!1),n(c);}catch(o){i(o);}})}async function vr(e){let t=b(e.filePath),r=await v(t.path,e.storyId);if(!r)throw new Error("Unable to load story data.");let n=S(r,e.storyId,true);if(!n)throw new Error("Story not found");if(e.updateScreenshot&&(n.screenshots=await K({filePath:e.filePath,screenshotId:e.updateScreenshot.id,storyId:e.storyId})),n.screenshots||(n.screenshots=[]),!e.base64)throw new Error("Unable to save screenshot without image data.");let i=n.screenshots.find(c=>c.id===e.id);if(!i){let c=n.screenshots.find(f=>f.title===e.title&&f.browserType===e.browserType);if(c)throw new Error(`Found screenshot with the same title, title must be unique.
136
+ Populates context with given storage state. This option can be used to initialize context with logged-in information obtained via [browserContext.storageState([options])](https://playwright.dev/docs/api/class-browsercontext#browser-context-storage-state).`},strictSelectors:{type:"boolean",description:"If set to true, enables strict selectors mode for this context. In the strict selectors mode all operations on selectors that imply single target DOM element will throw when more than one element matches the selector. This option does not affect any Locator APIs (Locators are always strict). Defaults to `false`. See [Locator](https://playwright.dev/docs/api/class-locator) to learn more about the strict mode."},timezoneId:{type:"string",description:"Changes the timezone of the context. See [ICU's metaZones.txt](https://cs.chromium.org/chromium/src/third_party/icu/source/data/misc/metaZones.txt?rcl=faee8bc70570192d82d2978a71e2a615788597d1) for a list of supported timezone IDs. Defaults to the system timezone."},userAgent:{type:"string",description:"Specific user agent to use in this context."},videoSize:{type:"object",properties:{width:{type:"number",description:"Video frame width."},height:{type:"number",description:"Video frame height."}},required:["width","height"],additionalProperties:false,deprecated:"Use [`recordVideo`](https://playwright.dev/docs/api/class-browser#browser-new-context-option-record-video) instead."},videosPath:{type:"string",deprecated:"Use [`recordVideo`](https://playwright.dev/docs/api/class-browser#browser-new-context-option-record-video) instead."},viewport:{type:"object",properties:{width:{type:"number",description:"page width in pixels."},height:{type:"number",description:"page height in pixels."}},required:["width","height"],additionalProperties:false,description:"Emulates consistent viewport for each page. Defaults to an 1280x720 viewport. Use `null` to disable the consistent viewport emulation. Learn more about [viewport emulation](https://playwright.dev/docs/emulation#viewport).\n\n**NOTE** The `null` value opts out from the default presets, makes viewport depend on the host window size defined by the operating system. It makes the execution of the tests non-deterministic."},cursor:{type:"boolean"}};var rr={type:{type:"string",enum:["png","jpeg"],description:"Specify screenshot type, defaults to `png`."},quality:{type:"number",description:"The quality of the image, between 0-100. Not applicable to `png` images."},fullPage:{type:"boolean",description:"When true, takes a screenshot of the full scrollable page, instead of the currently visibvle viewport. Defaults to `false`."},clip:{type:"object",properties:{x:{type:"number",description:"x-coordinate of top-left corner of clip area"},y:{type:"number",description:"y-coordinate of top-left corner of clip area"},width:{type:"number",description:"width of clipping area"},height:{type:"number",description:"height of clipping area"}},required:["x","y","width","height"],additionalProperties:false,description:"An object which specifies clipping of the resulting image. Should have the following fields:"},omitBackground:{type:"boolean",description:"Hides default white background and allows capturing screenshots with transparency. Not applicable to `jpeg` images. Defaults to `false`."},timeout:{type:"number",description:"Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed by using the browserContext.setDefaultTimeout(timeout) or page.setDefaultTimeout(timeout) methods."}};function nr(e){if(e==="browser-options")return tr;if(e==="screenshot-options")return rr}var or=T({getActionsSchema:y.query(()=>fe()),getClientConfig:y.query(()=>er()),getSchema:y.input(V.z.object({schemaName:V.z.string()})).mutation(({input:e})=>nr(e.schemaName))});async function ar(e){let t=b(e.filePath),r=await x(t.path,e.storyId),n=S(r,e.storyId,false);if(!n||!n.screenshots)return;let i=vn__default.default(n.screenshots,e.oldIndex,e.newIndex);n.screenshots=i.map((o,a)=>(o.index=a,o)),await A(t,r);}function Y(e){let t=b(e.filePath),r=xe__default.default(`${M__namespace.default.basename(e.storyId)}--${e.title}--${e.browserType}`),n=M__namespace.default.join(t.screenShotsDir,"__diff_output__"),i=M__namespace.default.join(t.screenShotsDir,`${r}-snap.png`);return {diffDir:n,filePath:i,screenshotIdentifier:r,screenshotsDir:t.screenShotsDir}}function Un(e){let t=[e];return e.endsWith("-snap.png")?t.push(e.replace(/-snap\.png$/,".png")):e.endsWith(".png")&&t.push(e.replace(/\.png$/,"-snap.png")),[...new Set(t)]}async function K(e){let t=b(e.filePath),r=await x(t.path,e.storyId,false);if(!r)return;let n=S(r,e.storyId);if(!n||!n.screenshots||!n.screenshots.length)return [];let i=n.screenshots.find(a=>a.id===e.screenshotId);if(!i)return n.screenshots;let o=Y({browserType:i.browserType,filePath:e.filePath,storyId:e.storyId,title:i.title});for(let a of Un(o.filePath))X__namespace.existsSync(a)&&X__namespace.unlinkSync(a);return n.screenshots=n.screenshots.filter(a=>a.id!==e.screenshotId),n.screenshots.length||delete n.screenshots,Re(r,"browserOptions",i.browserOptionsId),Re(r,"screenshotOptions",i.screenshotOptionsId),await A(t,r),n.screenshots||[]}async function we(e){let t=b(e.filePath),r=await x(t.path,e.storyId),n=S(r,e.storyId);if(!(!n||!n.screenshots||!n.screenshots.length))return n.screenshots.map(i=>(r&&he(r,i),i))}async function sr(e){let t=await we(e);if(!(!t||!t.length))for(let r=0;r<t.length;r++){let n=t[r];n&&await K({filePath:e.filePath,screenshotId:n.id,storyId:e.storyId});}}async function pr(e){let{getScreenshotTitle:t}=m();if(!t)throw new Error("getScreenshotTitle is not configured.");return t({...e})}function ur(){return typeof m().getScreenshotTitle=="function"}async function cr(e,t={}){let{blur:r,timeout:n}=t;await this.fill(e,""),r&&await this.$eval(e,i=>i.blur()),n&&await this.waitForTimeout(n);}async function G(e,t){await e.waitForSelector(t);let r=await e.$(t);if(!r)throw new Error("Unable to find selector!");let n=await r.boundingBox();if(!n)throw new Error("Unable to get boundingBox!");return n}function j(e,t,r){return !r||!r[t]?e:r[t]}async function dr(e,t,r,n){let{steps:i=1,skipMouseUp:o}=n||{},a=await G(this,e),s=j(a.width/2,"x",r),u=j(a.height/2,"y",r),c=j(0,"x",t),d=j(0,"y",t);await this.mouse.move(a.x+s,a.y+u,{steps:i}),await this.mouse.down(),await this.mouse.move(c,d,{steps:i}),o||await this.mouse.up();}async function $(e,t,r,n,i,o,a){await e.$eval(r,(s,u)=>{let c=s.getBoundingClientRect(),{client:d={},page:f={},screen:l={},type:v,options:w}=u,h=new Touch({clientX:d.x,clientY:d.y,identifier:Date.now(),pageX:f.x||(d.x!==void 0?c.left+d.x:void 0),pageY:f.y||(d.y!==void 0?c.top+d.y:void 0),screenX:l.x,screenY:l.y,target:s}),g=new TouchEvent(v,{bubbles:true,cancelable:true,...w,changedTouches:[h],targetTouches:[h],touches:[h]});return s.dispatchEvent(g)},{client:o,options:a,page:n,screen:i,type:t});}async function lr(e,t,r,n,i,o,a,s){await $(this,"touchstart",e,t,o,n,s),await $(this,"touchmove",e,r,a,i,s),await $(this,"touchend",e,r,a,i,s);}function fr(e){let t=e;return t.dragDropSelector=dr,t.scrollSelector=br,t.mouseDownOnSelector=yr,t.mouseMoveToSelector=hr,t.setSelectorSize=kr,t.clearInput=cr,t.selectorMouseWheel=gr,t.touchCancel=xr,t.touchMove=wr,t.touchEnd=vr,t.touchStart=Sr,t.touchFromTo=lr,t.mouseFromTo=mr,t}async function yr(e,t,r){let{steps:n=1}=r||{},i=await G(this,e),o=j(i.width/2,"x",t),a=j(i.height/2,"y",t);await this.mouse.move(i.x+o,i.y+a,{steps:n}),await this.mouse.down();}async function mr(e,t,r){let{skipMouseUp:n,steps:i=1}=r||{};if(e.x===void 0||e.y===void 0||t.x===void 0||t.y===void 0)throw new Error("mouseFromTo requires from/to coordinates (x and y).");await this.mouse.move(e.x,e.y,{steps:i}),await this.mouse.down(),await this.mouse.move(t.x,t.y,{steps:i}),n||await this.mouse.up();}async function hr(e,t,r){let{steps:n=1}=r||{},i=await G(this,e),o=j(i.width/2,"x",t),a=j(i.height/2,"y",t);await this.mouse.move(i.x+o,i.y+a,{steps:n});}async function br(e,t){return await this.waitForSelector(e),await this.$eval(e,(n,i)=>{i.top&&(n.scrollTop=i.top),i.left&&(n.scrollLeft=i.left);},t)}async function gr(e,t){return await this.waitForSelector(e),await this.$eval(e,(n,i)=>{let o=new WheelEvent("wheel",i);n.dispatchEvent(o);},t)}async function kr(e,t,r){await this.$eval(e,(n,i)=>{i.width!==void 0&&(n.style.width=i.width),i.height!==void 0&&(n.style.height=i.height);},{height:r,width:t});}async function xr(e,t,r,n,i){await $(this,"touchcancel",e,t,r,n,i);}async function vr(e,t,r,n,i){await $(this,"touchend",e,t,r,n,i);}async function wr(e,t,r,n,i){await $(this,"touchmove",e,t,r,n,i);}async function Sr(e,t,r,n,i){await $(this,"touchstart",e,t,r,n,i);}async function J(e,t,r,n){let i={...t,requestId:t.requestId||""};return r.beforeScreenshot&&await r.beforeScreenshot(e,i,i),n?n.screenshot(t.screenshotOptions):e.screenshot(t.screenshotOptions)}async function Se(e,t){let r={...e,requestId:e.requestId||""},n=m(),{screenshotOptions:i={}}=n,o=e.browserOptions,a=await n.getPage(r.browserType,o,r);if(!a)throw new Error("Make sure to return an instance of a page from getPage.");fr(a);let s=U(e),u=R(e),c=kt(n.storybookEndpoint,e.storyId,e.props,s,u);n.afterUrlConstruction&&(c=n.afterUrlConstruction(c,r)),await a.goto(c,n.pageGotoOptions),n.waitForStoryRender!==false&&await _t(a,e.storyId,n.storyRenderTimeout),n.afterNavigation&&await n.afterNavigation(a,r),o&&o.cursor&&await $t(a);let d=[],f,l;if(e.actionSets){let h=e.actionSets.reduce((k,O)=>(k=[...k,...O.actions],k),[]);l=h.slice(-1)[0];let g=h.find(k=>k.name==="takeScreenshotAll");f=h.find(k=>k.name==="takeScreenshotOptions");let I=h.filter(k=>!["takeScreenshotAll","takeScreenshotOptions"].includes(k.name));g&&I.filter(k=>ge(k)).length>0&&d.push({buffer:await J(a,e,n),options:g.args});for(let k=0;k<I.length;k++){let O=I[k];if(O.name==="takeElementScreenshot"){let D=O.args;if(D?.selector&&typeof D.selector=="string"){let ee=ae(D.options?.timeout),Vr=await a.waitForSelector(D.selector,{state:"attached",...ee!==void 0?{timeout:ee}:{}});d.push({buffer:await J(a,e,n,Vr||void 0),options:O.args});}continue}if(O.name==="takeScreenshot"){d.push({buffer:await J(a,e,n),options:O.args});continue}await At(a,O),Lt(I,k,!!g)&&d.push({buffer:await J(a,e,n),options:g?.args||{}});}}let v=l?.name==="takeScreenshot"||l?.name==="takeElementScreenshot"&&!!(l.args&&l.args.selector),w;if(v||(w=await J(a,e,n)),n.releaseModifierKey&&await Ut(a,e.actionSets||[]),n.afterScreenshot&&await n.afterScreenshot(a,r),d.length){let h=e&&e.screenshotOptions&&e.screenshotOptions.type?e.screenshotOptions.type:"png",g=f&&f.args?f.args:{};if(g={mergeType:g.mergeType?g.mergeType:i.mergeType||"stitch",overlayOptions:{...i.overlayOptions,...g.overlayOptions},stitchOptions:{...i.stitchOptions,...g.stitchOptions}},g.mergeType==="stitch"){let I=d.map(k=>k.buffer);w&&I.push(w),w=await(await Ln__default.default(I,{...g.stitchOptions})).toFormat(h).toBuffer();}else {let I=w||d[0]?.buffer;if(!I)throw new Error("Unable to create screenshot image buffer.");let O=(w===void 0&&d.length===1?d:d.filter((D,ee)=>!(w===void 0&&ee===0))).map(D=>({blend:"multiply",input:D.buffer,...g.overlayOptions,...D.options?D.options.stitchOptions:{}}));w=await _n__default.default(I).composite(O).toFormat(h).toBuffer();}}if(!w)throw new Error("Unable to create screenshot image buffer.");return {base64:t?w.toString("base64"):void 0,browserName:e.browserType,buffer:w}}async function Z(e,t,r){return new Promise((n,i)=>{try{let o=Y(e),a=m(),s=a.imageDiffOptions??{},u=M__namespace.default.resolve(process.cwd(),"__stories__",e.storyId,"__diff_output__");X__namespace.existsSync(u)||X__namespace.mkdirSync(u,{recursive:!0});let c=diffSnapshot.runDiffImageToSnapshot({blur:0,diffDir:u,diffDirection:a.diffDirection?a.diffDirection:"horizontal",failureThreshold:0,failureThresholdType:"pixel",receivedImageBuffer:t,snapshotIdentifier:o.screenshotIdentifier,snapshotsDir:o.screenshotsDir,updatePassedSnapshot:!1,updateSnapshot:!1,...s,...r});c.pass||X__namespace.rmdirSync(u,{recursive:!0}),c.added&&c.pass===!1&&delete c.pass,c.diffDirection=a.diffDirection,s.allowSizeMismatch&&(c.diffSize=!1),n(c);}catch(o){i(o);}})}async function qr(e){let t=b(e.filePath),r=await x(t.path,e.storyId);if(!r)throw new Error("Unable to load story data.");let n=S(r,e.storyId,true);if(!n)throw new Error("Story not found");if(e.updateScreenshot&&(n.screenshots=await K({filePath:e.filePath,screenshotId:e.updateScreenshot.id,storyId:e.storyId})),n.screenshots||(n.screenshots=[]),!e.base64)throw new Error("Unable to save screenshot without image data.");let i=n.screenshots.find(c=>c.id===e.id);if(!i){let c=n.screenshots.find(f=>f.title===e.title&&f.browserType===e.browserType);if(c)throw new Error(`Found screenshot with the same title, title must be unique.
137
137
  Title: ${c.title}
138
- Browser: ${e.browserType}`);let d=Ot(r,n.screenshots,e);if(d)throw new Error(`Found screenshot with the same setting, Screenshot settings must be unique for each screenshot.
138
+ Browser: ${e.browserType}`);let d=Vt(r,n.screenshots,e);if(d)throw new Error(`Found screenshot with the same setting, Screenshot settings must be unique for each screenshot.
139
139
  Title: ${d.title}
140
- Browser: ${d.browserType}`)}let o=await Z(e,Buffer.from(e.base64,"base64")),a=U(e),s=R(e),u=!e.args&&e.props&&Object.keys(e.props).length>0?e.props:void 0;if(o.added&&o.pass===false&&delete o.pass,i)o.oldScreenShotTitle=i.title;else {let c=e.updateScreenshot?e.updateScreenshot.index:n.screenshots.length;n.screenshots.push({actionSets:me(e.actionSets,{regenerateIds:true}),args:a,browserOptionsId:De(r,"browserOptions",e.browserOptions),browserType:e.browserType,globals:s,id:e.id,index:c,props:u,screenshotOptionsId:De(r,"screenshotOptions",e.screenshotOptions),title:e.title}),o.index=c,await T(t,r);}return o}async function qe(e){let t=e.requestId||"",{requestType:r="story-screenshot"}=e,n=m(),i=await be(e);if(!i)throw new Error("Unable to find screenshot data.");let o={},a;try{if(a=await Se({actionSets:i.actionSets,args:U(i),browserOptions:i.browserOptions,browserType:i.browserType,globals:R(i),props:i.props,requestId:e.requestId,requestType:r,screenshotOptions:i.screenshotOptions,storyId:e.storyId},!0),n.compareScreenshot!==void 0){let s=Y({...e,browserType:i.browserType,title:i.title});if(!X__namespace.default.existsSync(s.filePath))throw new Error(`Unable to find the file for '${s.screenshotIdentifier}' screenshot in '${s.screenshotsDir}' directory!`);let u={...s,get base64(){return X__namespace.default.readFileSync(s.filePath,{encoding:"base64"})},get buffer(){return X__namespace.default.readFileSync(s.filePath)}},c=await n.compareScreenshot({...e,requestId:t,...i,baseImage:u,screenshot:a});if(c!==!1){let{diffImageString:d,...f}=c;o={imgSrcString:d,...f,newScreenshot:u.base64};}}Object.keys(o).length===0&&(o=await Z({browserType:i.browserType,filePath:e.filePath,storyId:e.storyId,title:i.title},a.buffer)),o.added&&o.pass===!1&&delete o.pass,o.newScreenshot=a.base64;}catch(s){o.pass=false,o.error=typeof s=="string"?s:s.message;}return o.screenshotId=e.screenshotId,o.storyId=e.storyId,o.screenshotData=i,o.filePath=e.filePath,o}function Un(e){if(e.storybookEndpoint)return e.storybookEndpoint;try{return m().storybookEndpoint}catch{return}}function Ln(e){return e.replace(/\\/g,"/")}function _n(e){return "**/*.playwright.json"}function Cn(e){return e.split("#")[0]?.split("?")[0]??""}function Fn(e,t){return e.startsWith("/@fs/")?M__namespace.default.normalize(e.replace("/@fs/","")):M__namespace.default.resolve(t,e)}function Mn(e){let t=M__namespace.default.parse(e);return M__namespace.default.join(t.dir,`${t.name}.playwright.json`)}function xr(e){if(!e||typeof e!="object")return [];let t=e.entries;return t?Object.values(t).reduce((r,n)=>(typeof n.importPath=="string"&&n.importPath.length>0&&r.push(n.importPath),r),[]):[]}function Bn(e){return /^https?:\/\//i.test(e)}async function Wn(e){if(Bn(e)){let o=e.endsWith("/")?e:`${e}/`,a=new URL("index.json",o).toString(),s=await fetch(a);if(!s.ok)return [];let u=await s.json();return xr(u)}let t=e.startsWith("file://")?url.fileURLToPath(e):M__namespace.default.resolve(e),r=M__namespace.default.join(t,"index.json");if(!X__namespace.default.existsSync(r))return [];let n=await X__namespace.default.promises.readFile(r,"utf8"),i=JSON.parse(n);return xr(i)}async function Nn(e,t){try{let r=await Wn(e),n=new Set;return r.forEach(i=>{let o=Cn(i);if(!o)return;let a=Fn(o,t),s=Mn(a);if(!X__namespace.default.existsSync(s))return;let u=Ln(M__namespace.default.relative(t,s));u.length>0&&n.add(u);}),Array.from(n)}catch{return []}}async function wr(e,t={}){let r=t.cwd?M__namespace.default.resolve(t.cwd):process.cwd(),n=_n(),i=await Rn__default.default([n,"!node_modules/**"],{cwd:r});let o=Un(t);if(!o)return i;let a=await Nn(o,r);return a.length?Array.from(new Set([...i,...a])):i}async function Ie(e){let t=b(e.filePath),r=await v(t.path,e.storyId);e.requestType=e.requestType||"story";let n={...e,requestId:e.requestId||""},i=m(),o=S(r,e.storyId);if(!o||!o.screenshots)throw new Error("Unable to find story screenshots");let a=[];i.beforeStoryImageDiff&&await i.beforeStoryImageDiff(n);for(let s=0;s<o.screenshots.length;s++){let u=o.screenshots[s],c=await qe({filePath:e.filePath,requestId:n.requestId,requestType:e.requestType,screenshotId:u.id,storyId:e.storyId});a.push(c);}return i.afterStoryImageDiff&&await i.afterStoryImageDiff(a,n),a}async function Sr(e){let{filePath:t,onComplete:r,storyId:n,requestType:i}=e,o=m(),a=await It(t),s=(a.storyData[0]?.storyId??n??"").split("--")[0],u=zn__default.default(o.concurrencyLimit?.story??1);o.beforeFileImageDiff&&await o.beforeFileImageDiff({...e,storyId:s});let c=a.storyData.reduce((l,x)=>(i==="story"&&n&&x.storyId!==n||x.data.screenshots&&x.data.screenshots.length&&l.push(u(async()=>Ie({filePath:t,requestId:e.requestId,requestType:e.requestType?e.requestType:n?"story":"file",storyId:x.storyId}))),l),[]),f=(await Promise.all(c)).reduce((l,x)=>{let w=x.map(h=>{if(h.added&&h.pass===false){let g={...h};return delete g.pass,g}return h});return [...l,...w]},[]);return o.afterFileImageDiff&&await o.afterFileImageDiff(f,{...e,storyId:s}),r&&await r(f),f}async function qr(e){let t={...e,requestId:e.requestId||""},{requestType:r}=e,n=await wr(),i=m(),o=zn__default.default(i.concurrencyLimit?.file??1);i.beforeAllImageDiff&&await i.beforeAllImageDiff(t);let a=n.reduce((c,d)=>(r!=="all"&&e.filePath&&!gt(d,e.filePath)||c.push(o(async()=>Sr({disableEvans:true,filePath:d,requestId:e.requestId??"",requestType:r,storyId:e.storyId}))),c),[]),u=(await Promise.all(a)).reduce((c,d)=>{let f=d.map(l=>{if(l.added&&l.pass===false){let x={...l};return delete x.pass,x}return l});return [...c,...f]},[]);return i.afterAllImageDiff&&await i.afterAllImageDiff(u,t),u}async function Ir(e){let t=await be(e);if(!t)throw new Error("Unable to find screenshot data.");if(!e.base64)throw new Error("Unable to update screenshot without image data.");let r=await Z({browserType:t.browserType,filePath:e.filePath,storyId:e.storyId,title:t.title},Buffer.from(e.base64,"base64"),{updatePassedSnapshot:true,updateSnapshot:true}),n=r.added&&r.pass===false?(()=>{let i={...r};return delete i.pass,i})():r;return n.screenshotId=e.screenshotId,n.storyId=e.storyId,n}var Er=A({changeScreenshotIndex:y.input(Je).mutation(async({input:e})=>rr(e)),deleteScreenshot:y.input(et).mutation(async({input:e})=>K(e)),deleteStoryScreenshots:y.input(tt).mutation(async({input:e})=>nr(e)),generateScreenshotTitle:y.input(ct).mutation(async({input:e})=>ir(e)),getStoryScreenshots:y.input(te).mutation(async({input:e})=>we(e)),hasScreenshotTitleGenerator:y.query(()=>or()),saveScreenshot:y.input(rt).output(it).mutation(async({input:e})=>vr(e)),takeScreenshot:y.input(ot).mutation(async({input:e})=>Se(e,true)),testScreenshot:y.input(at).output(ie).mutation(async({input:e})=>qe(e)),testScreenshots:y.input(pt).output(ie.array()).mutation(async({input:e})=>qr(e)),testStoryScreenshots:y.input(st).output(ie.array()).mutation(async({input:e})=>Ie(e)),updateScreenshot:y.input(ut).mutation(async({input:e})=>Ir(e))});function Pr(){return m().theme??null}var Tr=A({getThemeData:y.query(()=>Pr())});var Ar=A({actionSet:Ct,favouriteActions:Nt,fixTitle:Kt,schema:tr,screenshot:Er,theme:Tr});var pl=Ar;
141
- module.exports=pl;//# sourceMappingURL=routes.js.map
140
+ Browser: ${d.browserType}`)}let o=await Z(e,Buffer.from(e.base64,"base64")),a=U(e),s=R(e),u=!e.args&&e.props&&Object.keys(e.props).length>0?e.props:void 0;if(o.added&&o.pass===false&&delete o.pass,i)o.oldScreenShotTitle=i.title;else {let c=e.updateScreenshot?e.updateScreenshot.index:n.screenshots.length;n.screenshots.push({actionSets:me(e.actionSets,{regenerateIds:true}),args:a,browserOptionsId:Le(r,"browserOptions",e.browserOptions),browserType:e.browserType,globals:s,id:e.id,index:c,props:u,screenshotOptionsId:Le(r,"screenshotOptions",e.screenshotOptions),title:e.title}),o.index=c,await A(t,r);}return o}async function qe(e){let t=e.requestId||"",{requestType:r="story-screenshot"}=e,n=m(),i=await be(e);if(!i)throw new Error("Unable to find screenshot data.");let o={},a;try{if(a=await Se({actionSets:i.actionSets,args:U(i),browserOptions:i.browserOptions,browserType:i.browserType,globals:R(i),props:i.props,requestId:e.requestId,requestType:r,screenshotOptions:i.screenshotOptions,storyId:e.storyId},!0),n.compareScreenshot!==void 0){let s=Y({...e,browserType:i.browserType,title:i.title});if(!X__namespace.default.existsSync(s.filePath))throw new Error(`Unable to find the file for '${s.screenshotIdentifier}' screenshot in '${s.screenshotsDir}' directory!`);let u={...s,get base64(){return X__namespace.default.readFileSync(s.filePath,{encoding:"base64"})},get buffer(){return X__namespace.default.readFileSync(s.filePath)}},c=await n.compareScreenshot({...e,requestId:t,...i,baseImage:u,screenshot:a});if(c!==!1){let{diffImageString:d,...f}=c;o={imgSrcString:d,...f,newScreenshot:u.base64};}}Object.keys(o).length===0&&(o=await Z({browserType:i.browserType,filePath:e.filePath,storyId:e.storyId,title:i.title},a.buffer)),o.added&&o.pass===!1&&delete o.pass,o.newScreenshot=a.base64;}catch(s){o.pass=false,o.error=typeof s=="string"?s:s.message;}return o.screenshotId=e.screenshotId,o.storyId=e.storyId,o.screenshotData=i,o.filePath=e.filePath,o}function Wn(e){if(e.storybookEndpoint)return e.storybookEndpoint;try{return m().storybookEndpoint}catch{return}}function Nn(e){return e.replace(/\\/g,"/")}function zn(e){return "**/*.playwright.json"}function Hn(e){return e.split("#")[0]?.split("?")[0]??""}function Yn(e,t){return e.startsWith("/@fs/")?M__namespace.default.normalize(e.replace("/@fs/","")):M__namespace.default.resolve(t,e)}function Kn(e){let t=M__namespace.default.parse(e);return M__namespace.default.join(t.dir,`${t.name}.playwright.json`)}function Ir(e){if(!e||typeof e!="object")return [];let t=e.entries;return t?Object.values(t).reduce((r,n)=>(typeof n.importPath=="string"&&n.importPath.length>0&&r.push(n.importPath),r),[]):[]}function Gn(e){return /^https?:\/\//i.test(e)}async function Xn(e){if(Gn(e)){let o=e.endsWith("/")?e:`${e}/`,a=new URL("index.json",o).toString(),s=await fetch(a);if(!s.ok)return [];let u=await s.json();return Ir(u)}let t=e.startsWith("file://")?url.fileURLToPath(e):M__namespace.default.resolve(e),r=M__namespace.default.join(t,"index.json");if(!X__namespace.default.existsSync(r))return [];let n=await X__namespace.default.promises.readFile(r,"utf8"),i=JSON.parse(n);return Ir(i)}async function Zn(e,t){try{let r=await Xn(e),n=new Set;return r.forEach(i=>{let o=Hn(i);if(!o)return;let a=Yn(o,t),s=Kn(a);if(!X__namespace.default.existsSync(s))return;let u=Nn(M__namespace.default.relative(t,s));u.length>0&&n.add(u);}),Array.from(n)}catch{return []}}async function Er(e,t={}){let r=t.cwd?M__namespace.default.resolve(t.cwd):process.cwd(),n=zn(),i=await Bn__default.default([n,"!node_modules/**"],{cwd:r});let o=Wn(t);if(!o)return i;let a=await Zn(o,r);return a.length?Array.from(new Set([...i,...a])):i}async function Ie(e){let t=b(e.filePath),r=await x(t.path,e.storyId);e.requestType=e.requestType||"story";let n={...e,requestId:e.requestId||""},i=m(),o=S(r,e.storyId);if(!o||!o.screenshots)throw new Error("Unable to find story screenshots");let a=[];i.beforeStoryImageDiff&&await i.beforeStoryImageDiff(n);for(let s=0;s<o.screenshots.length;s++){let u=o.screenshots[s],c=await qe({filePath:e.filePath,requestId:n.requestId,requestType:e.requestType,screenshotId:u.id,storyId:e.storyId});a.push(c);}return i.afterStoryImageDiff&&await i.afterStoryImageDiff(a,n),a}async function Pr(e){let{filePath:t,onComplete:r,storyId:n,requestType:i}=e,o=m(),a=await Tt(t),s=(a.storyData[0]?.storyId??n??"").split("--")[0],u=Qn__default.default(o.concurrencyLimit?.story??1);o.beforeFileImageDiff&&await o.beforeFileImageDiff({...e,storyId:s});let c=a.storyData.reduce((l,v)=>(i==="story"&&n&&v.storyId!==n||v.data.screenshots&&v.data.screenshots.length&&l.push(u(async()=>Ie({filePath:t,requestId:e.requestId,requestType:e.requestType?e.requestType:n?"story":"file",storyId:v.storyId}))),l),[]),f=(await Promise.all(c)).reduce((l,v)=>{let w=v.map(h=>{if(h.added&&h.pass===false){let g={...h};return delete g.pass,g}return h});return [...l,...w]},[]);return o.afterFileImageDiff&&await o.afterFileImageDiff(f,{...e,storyId:s}),r&&await r(f),f}async function Ar(e){let t={...e,requestId:e.requestId||""},{requestType:r}=e,n=await Er(),i=m(),o=Qn__default.default(i.concurrencyLimit?.file??1);i.beforeAllImageDiff&&await i.beforeAllImageDiff(t);let a=n.reduce((c,d)=>(r!=="all"&&e.filePath&&!wt(d,e.filePath)||c.push(o(async()=>Pr({disableEvans:true,filePath:d,requestId:e.requestId??"",requestType:r,storyId:e.storyId}))),c),[]),u=(await Promise.all(a)).reduce((c,d)=>{let f=d.map(l=>{if(l.added&&l.pass===false){let v={...l};return delete v.pass,v}return l});return [...c,...f]},[]);return i.afterAllImageDiff&&await i.afterAllImageDiff(u,t),u}async function Tr(e){let t=await be(e);if(!t)throw new Error("Unable to find screenshot data.");if(!e.base64)throw new Error("Unable to update screenshot without image data.");let r=await Z({browserType:t.browserType,filePath:e.filePath,storyId:e.storyId,title:t.title},Buffer.from(e.base64,"base64"),{updatePassedSnapshot:true,updateSnapshot:true}),n=r.added&&r.pass===false?(()=>{let i={...r};return delete i.pass,i})():r;return n.screenshotId=e.screenshotId,n.storyId=e.storyId,n}var Or=T({changeScreenshotIndex:y.input(nt).mutation(async({input:e})=>ar(e)),deleteScreenshot:y.input(it).mutation(async({input:e})=>K(e)),deleteStoryScreenshots:y.input(ot).mutation(async({input:e})=>sr(e)),generateScreenshotTitle:y.input(yt).mutation(async({input:e})=>pr(e)),getStoryScreenshots:y.input(te).mutation(async({input:e})=>we(e)),hasScreenshotTitleGenerator:y.query(()=>ur()),saveScreenshot:y.input(at).output(pt).mutation(async({input:e})=>qr(e)),takeScreenshot:y.input(ut).mutation(async({input:e})=>Se(e,true)),testScreenshot:y.input(ct).output(ie).mutation(async({input:e})=>qe(e)),testScreenshots:y.input(lt).output(ie.array()).mutation(async({input:e})=>Ar(e)),testStoryScreenshots:y.input(dt).output(ie.array()).mutation(async({input:e})=>Ie(e)),updateScreenshot:y.input(ft).mutation(async({input:e})=>Tr(e))});function $r(){return m().theme??null}var jr=T({getThemeData:y.query(()=>$r())});var Dr=T({actionSet:Wt,favouriteActions:Kt,fixTitle:Qt,schema:or,screenshot:Or,theme:jr});var ml=Dr;
141
+ module.exports=ml;//# sourceMappingURL=routes.js.map
142
142
  //# sourceMappingURL=routes.js.map