docs: 仓库链接指向本镜像仓库
Build NapCat Artifacts / Type Check & Test (push) Waiting to run

This commit is contained in:
TanTan committed 2026-11-13 09:25:58 +08:00
1 parent f954252a34
commit e311ca3275
35554 files changed
+6229626 -4

No files matched your search

@@ -0,0 +1,9 @@
import { Parser } from "../index.js";
export declare const parsers: {
angular: Parser;
html: Parser;
lwc: Parser;
mjml: Parser;
vue: Parser;
};
@@ -0,0 +1 @@
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isoWeeksInYear=n()}(this,(function(){"use strict";return function(e,n){n.prototype.isoWeeksInYear=function(){var e=this.isLeapYear(),n=this.endOf("y").day();return 4===n||e&&5===n?53:52}}}));
@@ -0,0 +1 @@
module.exports={A:{A:{"1":"F A B","2":"wC","8":"K D E"},B:{"1":"0 1 2 3 4 5 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 TC J ZB K D E F A B C L M G N O P aB AB BB CB DB EB FB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B UC 4B VC 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC Q H R WC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB I XC MC YC yC zC 0C 1C","8":"xC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J ZB K D E F A B C L M G N O P aB AB BB CB DB EB FB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B UC 4B VC 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB I XC MC YC"},E:{"1":"J ZB K D E F A B C L M G 2C ZC 3C 4C 5C 6C aC NC OC 7C 8C 9C bC cC PC AD QC dC eC fC gC hC BD RC iC jC kC lC mC CD SC nC oC pC qC rC sC tC DD ED"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C G N O P aB AB BB CB DB EB FB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC Q H R WC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z FD GD HD ID NC uC JD OC","2":"F"},G:{"1":"E ZC KD vC LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD aD bD cD dD bC cC PC eD QC dC eC fC gC hC fD RC iC jC kC lC mC gD SC nC oC pC qC rC sC tC"},H:{"1":"hD"},I:{"1":"TC J I iD jD kD lD vC mD nD"},J:{"1":"D A"},K:{"1":"A B C H NC uC OC"},L:{"1":"I"},M:{"1":"MC"},N:{"1":"A B"},O:{"1":"PC"},P:{"1":"6 7 8 9 J AB BB CB DB EB FB oD pD qD rD sD aC tD uD vD wD xD QC RC SC yD"},Q:{"1":"zD"},R:{"1":"0D"},S:{"1":"1D 2D"}},B:1,C:"getElementsByClassName",D:true};
@@ -0,0 +1,30 @@
/**
Import a module while bypassing the cache.
@example
```
// foo.js
let i = 0;
module.exports = () => ++i;
// index.js
import importFresh = require('import-fresh');
require('./foo')();
//=> 1
require('./foo')();
//=> 2
importFresh('./foo')();
//=> 1
importFresh('./foo')();
//=> 1
const foo = importFresh<typeof import('./foo')>('./foo');
```
*/
declare function importFresh<T>(moduleId: string): T;
export = importFresh;
@@ -0,0 +1,6 @@
import {
CopyDocumentBulkIcon
} from "../chunk-F2DAVTM3.mjs";
export {
CopyDocumentBulkIcon
};
@@ -0,0 +1,44 @@
// src/loading.tsx
import { jsx, jsxs } from "react/jsx-runtime";
var LoadingIcon = (props) => /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 200 200", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
/* @__PURE__ */ jsx("circle", { cx: "40", cy: "65", fill: "#3871FF", r: "15", stroke: "#3871FF", strokeWidth: "15", children: /* @__PURE__ */ jsx(
"animate",
{
attributeName: "cy",
begin: "-.4",
calcMode: "spline",
dur: "2",
keySplines: ".5 0 .5 1;.5 0 .5 1",
repeatCount: "indefinite",
values: "65;135;65;"
}
) }),
/* @__PURE__ */ jsx("circle", { cx: "100", cy: "65", fill: "#3871FF", r: "15", stroke: "#3871FF", strokeWidth: "15", children: /* @__PURE__ */ jsx(
"animate",
{
attributeName: "cy",
begin: "-.2",
calcMode: "spline",
dur: "2",
keySplines: ".5 0 .5 1;.5 0 .5 1",
repeatCount: "indefinite",
values: "65;135;65;"
}
) }),
/* @__PURE__ */ jsx("circle", { cx: "160", cy: "65", fill: "#3871FF", r: "15", stroke: "#3871FF", strokeWidth: "15", children: /* @__PURE__ */ jsx(
"animate",
{
attributeName: "cy",
begin: "0",
calcMode: "spline",
dur: "2",
keySplines: ".5 0 .5 1;.5 0 .5 1",
repeatCount: "indefinite",
values: "65;135;65;"
}
) })
] });
export {
LoadingIcon
};
@@ -0,0 +1 @@
module.exports={C:{"115":0.01331,"128":0.00666,"140":0.0932,"142":0.00666,"143":0.48596,"144":0.46599,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 124 125 126 127 129 130 131 132 133 134 135 136 137 138 139 141 145 146 147 3.5 3.6"},D:{"39":0.03329,"40":0.03329,"41":0.02663,"42":0.02663,"43":0.01997,"44":0.02663,"45":0.02663,"46":0.02663,"47":0.03329,"48":0.02663,"49":0.02663,"50":0.02663,"51":0.02663,"52":0.02663,"53":0.01997,"54":0.02663,"55":0.02663,"56":0.03329,"57":0.02663,"58":0.02663,"59":0.02663,"60":0.02663,"80":0.03329,"87":0.01331,"89":0.00666,"94":0.00666,"103":0.22634,"109":0.17974,"111":0.00666,"116":0.00666,"119":0.01331,"122":0.00666,"124":0.00666,"125":34.5698,"126":0.01331,"127":0.00666,"128":0.0466,"129":0.01997,"130":0.00666,"131":0.0932,"132":0.01997,"133":0.00666,"134":0.01331,"135":0.01331,"136":0.01331,"137":1.45123,"138":0.28625,"139":0.51259,"140":4.59999,"141":10.29172,"142":0.12648,"143":0.00666,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 81 83 84 85 86 88 90 91 92 93 95 96 97 98 99 100 101 102 104 105 106 107 108 110 112 113 114 115 117 118 120 121 123 144 145"},F:{"91":0.00666,"92":0.01331,"95":0.01997,"120":0.01997,"121":0.17308,"122":0.41273,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"109":0.00666,"114":0.03329,"130":0.00666,"134":0.01331,"137":0.01331,"138":0.01331,"139":0.01331,"140":1.23155,"141":4.83964,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 113 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 131 132 133 135 136 142"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 15.1 15.2-15.3 15.4 15.5 16.0 16.2 16.3 16.5 17.0 17.2 26.2","14.1":0.00666,"15.6":0.02663,"16.1":0.24631,"16.4":0.02663,"16.6":0.05326,"17.1":0.09986,"17.3":0.00666,"17.4":0.01331,"17.5":0.01997,"17.6":0.11983,"18.0":0.07323,"18.1":0.37945,"18.2":0.01331,"18.3":0.05991,"18.4":0.01331,"18.5-18.6":0.10651,"26.0":0.33951,"26.1":0.01331},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00065,"5.0-5.1":0,"6.0-6.1":0.0026,"7.0-7.1":0.00195,"8.1-8.4":0,"9.0-9.2":0,"9.3":0.00584,"10.0-10.2":0.00065,"10.3":0.01104,"11.0-11.2":0.1636,"11.3-11.4":0.0039,"12.0-12.1":0.0013,"12.2-12.5":0.03181,"13.0-13.1":0,"13.2":0.00325,"13.3":0.0013,"13.4-13.7":0.00519,"14.0-14.4":0.01104,"14.5-14.8":0.01169,"15.0-15.1":0.01104,"15.2-15.3":0.00844,"15.4":0.00974,"15.5":0.01104,"15.6-15.8":0.14412,"16.0":0.01948,"16.1":0.03636,"16.2":0.01883,"16.3":0.03376,"16.4":0.00844,"16.5":0.01493,"16.6-16.7":0.19282,"17.0":0.01363,"17.1":0.02077,"17.2":0.01493,"17.3":0.02207,"17.4":0.03895,"17.5":0.06687,"17.6-17.7":0.16879,"18.0":0.0383,"18.1":0.0792,"18.2":0.04285,"18.3":0.13763,"18.4":0.07076,"18.5-18.6":3.60831,"26.0":0.44601,"26.1":0.01623},P:{"21":0.03194,"22":0.06387,"23":0.01065,"24":0.03194,"25":0.01065,"26":0.03194,"27":0.03194,"28":2.72529,"29":0.33002,_:"4 20 5.0-5.4 6.2-6.4 8.2 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 18.0 19.0","7.2-7.4":0.01065,"17.0":0.01065},I:{"0":0.01001,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.00001},K:{"0":0.08023,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},R:{_:"0"},M:{"0":1.3606},Q:{_:"14.9"},O:{"0":0.01672},H:{"0":0},L:{"0":24.73931}};
@@ -0,0 +1,901 @@
export default `flf2a$ 6 5 76 15 14 1 16271
Ivrit (Hebrew) Unicode font assembled by John Cowan <cowan@ccil.org>
Latin chars from Standard by G. Chappell & Ian Chai
Hebrew chars from Jerusalem by Gedaliah Friedenberg <gfrieden@nyx.cs.du.edu>
Use "ilhebrew.flc" for Hebrew keyboard mapping
Use "ushebrew.flc" for U.S.-style keyboard mapping ("febrew" script)
Use "8859-8.flc" for ISO 8859-8 text
Or use UTF-8
WARNING! FIGfonts aren't bidirectional; this is strictly right-to-left
(by default) even for the Latin characters.
figlet release 2.2 -- November 1996
Modified by Paul Burton <solution@earthlink.net> 12/96 to include new parameter
supported by FIGlet and FIGWin. May also be slightly modified for better use
of new full-width/kern/smush alternatives, but default output is NOT changed.
$@
$@
$@
$@
$@
$@@
_ @
| |@
| |@
|_|@
(_)@
@@
_ _ @
( | )@
V V @
$ @
$ @
@@
_ _ @
_| || |_ @
|_ .. _|@
|_ _|@
|_||_| @
@@
_ @
| | @
/ __)@
\\__ \\@
( /@
|_| @@
_ __@
(_)/ /@
/ / @
/ /_ @
/_/(_)@
@@
___ @
( _ ) @
/ _ \\/\\@
| (_> <@
\\___/\\/@
@@
_ @
( )@
|/ @
$ @
$ @
@@
__@
/ /@
| | @
| | @
| | @
\\_\\@@
__ @
\\ \\ @
| |@
| |@
| |@
/_/ @@
@
__/\\__@
\\ /@
/_ _\\@
\\/ @
@@
@
_ @
_| |_ @
|_ _|@
|_| @
@@
@
@
@
_ @
( )@
|/ @@
@
@
_____ @
|_____|@
$ @
@@
@
@
@
_ @
(_)@
@@
__@
/ /@
/ / @
/ / @
/_/ @
@@
___ @
/ _ \\ @
| | | |@
| |_| |@
\\___/ @
@@
_ @
/ |@
| |@
| |@
|_|@
@@
____ @
|___ \\ @
__) |@
/ __/ @
|_____|@
@@
_____ @
|___ / @
|_ \\ @
___) |@
|____/ @
@@
_ _ @
| || | @
| || |_ @
|__ _|@
|_| @
@@
____ @
| ___| @
|___ \\ @
___) |@
|____/ @
@@
__ @
/ /_ @
| '_ \\ @
| (_) |@
\\___/ @
@@
_____ @
|___ |@
/ / @
/ / @
/_/ @
@@
___ @
( _ ) @
/ _ \\ @
| (_) |@
\\___/ @
@@
___ @
/ _ \\ @
| (_) |@
\\__, |@
/_/ @
@@
@
_ @
(_)@
_ @
(_)@
@@
@
_ @
(_)@
_ @
( )@
|/ @@
__@
/ /@
/ / @
\\ \\ @
\\_\\@
@@
@
_____ @
|_____|@
|_____|@
$ @
@@
__ @
\\ \\ @
\\ \\@
/ /@
/_/ @
@@
___ @
|__ \\@
/ /@
|_| @
(_) @
@@
____ @
/ __ \\ @
/ / _\` |@
| | (_| |@
\\ \\__,_|@
\\____/ @@
_ @
/ \\ @
/ _ \\ @
/ ___ \\ @
/_/ \\_\\@
@@
____ @
| __ ) @
| _ \\ @
| |_) |@
|____/ @
@@
____ @
/ ___|@
| | @
| |___ @
\\____|@
@@
____ @
| _ \\ @
| | | |@
| |_| |@
|____/ @
@@
_____ @
| ____|@
| _| @
| |___ @
|_____|@
@@
_____ @
| ___|@
| |_ @
| _| @
|_| @
@@
____ @
/ ___|@
| | _ @
| |_| |@
\\____|@
@@
_ _ @
| | | |@
| |_| |@
| _ |@
|_| |_|@
@@
___ @
|_ _|@
| | @
| | @
|___|@
@@
_ @
| |@
_ | |@
| |_| |@
\\___/ @
@@
_ __@
| |/ /@
| ' / @
| . \\ @
|_|\\_\\@
@@
_ @
| | @
| | @
| |___ @
|_____|@
@@
__ __ @
| \\/ |@
| |\\/| |@
| | | |@
|_| |_|@
@@
_ _ @
| \\ | |@
| \\| |@
| |\\ |@
|_| \\_|@
@@
___ @
/ _ \\ @
| | | |@
| |_| |@
\\___/ @
@@
____ @
| _ \\ @
| |_) |@
| __/ @
|_| @
@@
___ @
/ _ \\ @
| | | |@
| |_| |@
\\__\\_\\@
@@
____ @
| _ \\ @
| |_) |@
| _ < @
|_| \\_\\@
@@
____ @
/ ___| @
\\___ \\ @
___) |@
|____/ @
@@
_____ @
|_ _|@
| | @
| | @
|_| @
@@
_ _ @
| | | |@
| | | |@
| |_| |@
\\___/ @
@@
__ __@
\\ \\ / /@
\\ \\ / / @
\\ V / @
\\_/ @
@@
__ __@
\\ \\ / /@
\\ \\ /\\ / / @
\\ V V / @
\\_/\\_/ @
@@
__ __@
\\ \\/ /@
\\ / @
/ \\ @
/_/\\_\\@
@@
__ __@
\\ \\ / /@
\\ V / @
| | @
|_| @
@@
_____@
|__ /@
/ / @
/ /_ @
/____|@
@@
__ @
| _|@
| | @
| | @
| | @
|__|@@
__ @
\\ \\ @
\\ \\ @
\\ \\ @
\\_\\@
@@
__ @
|_ |@
| |@
| |@
| |@
|__|@@
/\\ @
|/\\|@
$ @
$ @
$ @
@@
@
@
@
@
_____ @
|_____|@@
_ @
( )@
\\|@
$ @
$ @
@@
@
__ _ @
/ _\` |@
| (_| |@
\\__,_|@
@@
_ @
| |__ @
| '_ \\ @
| |_) |@
|_.__/ @
@@
@
___ @
/ __|@
| (__ @
\\___|@
@@
_ @
__| |@
/ _\` |@
| (_| |@
\\__,_|@
@@
@
___ @
/ _ \\@
| __/@
\\___|@
@@
__ @
/ _|@
| |_ @
| _|@
|_| @
@@
@
__ _ @
/ _\` |@
| (_| |@
\\__, |@
|___/ @@
_ @
| |__ @
| '_ \\ @
| | | |@
|_| |_|@
@@
_ @
(_)@
| |@
| |@
|_|@
@@
_ @
(_)@
| |@
| |@
_/ |@
|__/ @@
_ @
| | __@
| |/ /@
| < @
|_|\\_\\@
@@
_ @
| |@
| |@
| |@
|_|@
@@
@
_ __ ___ @
| '_ \` _ \\ @
| | | | | |@
|_| |_| |_|@
@@
@
_ __ @
| '_ \\ @
| | | |@
|_| |_|@
@@
@
___ @
/ _ \\ @
| (_) |@
\\___/ @
@@
@
_ __ @
| '_ \\ @
| |_) |@
| .__/ @
|_| @@
@
__ _ @
/ _\` |@
| (_| |@
\\__, |@
|_|@@
@
_ __ @
| '__|@
| | @
|_| @
@@
@
___ @
/ __|@
\\__ \\@
|___/@
@@
_ @
| |_ @
| __|@
| |_ @
\\__|@
@@
@
_ _ @
| | | |@
| |_| |@
\\__,_|@
@@
@
__ __@
\\ \\ / /@
\\ V / @
\\_/ @
@@
@
__ __@
\\ \\ /\\ / /@
\\ V V / @
\\_/\\_/ @
@@
@
__ __@
\\ \\/ /@
> < @
/_/\\_\\@
@@
@
_ _ @
| | | |@
| |_| |@
\\__, |@
|___/ @@
@
____@
|_ /@
/ / @
/___|@
@@
__@
/ /@
| | @
< < @
| | @
\\_\\@@
_ @
| |@
| |@
| |@
| |@
|_|@@
__ @
\\ \\ @
| | @
> >@
| | @
/_/ @@
/\\/|@
|/\\/ @
$ @
$ @
$ @
@@
_ _ @
(_)_(_)@
/_\\ @
/ _ \\ @
/_/ \\_\\@
@@
_ _ @
(_)_(_)@
/ _ \\ @
| |_| |@
\\___/ @
@@
_ _ @
(_) (_)@
| | | |@
| |_| |@
\\___/ @
@@
_ _ @
(_)_(_)@
/ _\` |@
| (_| |@
\\__,_|@
@@
_ _ @
(_)_(_)@
/ _ \\ @
| (_) |@
\\___/ @
@@
_ _ @
(_) (_)@
| | | |@
| |_| |@
\\__,_|@
@@
___ @
/ _ \\@
| |/ /@
| |\\ \\@
| ||_/@
|_| @@
160 NO-BREAK SPACE
$@
$@
$@
$@
$@
$@@
173 SOFT HYPHEN
@
@
_____ @
|_____|@
$ @
@@
196 LATIN CAPITAL LETTER A WITH DIAERESIS
_ _ @
(_)_(_)@
/_\\ @
/ _ \\ @
/_/ \\_\\@
@@
214 LATIN CAPITAL LETTER O WITH DIAERESIS
_ _ @
(_)_(_)@
/ _ \\ @
| |_| |@
\\___/ @
@@
220 LATIN CAPITAL LETTER U WITH DIAERESIS
_ _ @
(_) (_)@
| | | |@
| |_| |@
\\___/ @
@@
223 LATIN SMALL LETTER SHARP S
___ @
/ _ \\@
| |/ /@
| |\\ \\@
| ||_/@
|_| @@
228 LATIN SMALL LETTER A WITH DIAERESIS
_ _ @
(_)_(_)@
/ _\` |@
| (_| |@
\\__,_|@
@@
246 LATIN SMALL LETTER O WITH DIAERESIS
_ _ @
(_)_(_)@
/ _ \\ @
| (_) |@
\\___/ @
@@
252 LATIN SMALL LETTER U WITH DIAERESIS
_ _ @
(_) (_)@
| | | |@
| |_| |@
\\__,_|@
@@
0x05D0 HEBREW LETTER ALEF
__ __@
\\ \\ / /@
| V / @
| |\\ \\ @
|_| \\_\\@
@@
0x05D1 HEBREW LETTER BET
______ @
|____ | @
| | @
_____| |_@
/________/@
@@
0x05D2 HEBREW LETTER GIMEL
____ @
|__ | @
| | @
____| | @
/____/\\_\\@
@@
0x05D3 HEBREW LETTER DALET
_______ @
|____ |@
| | @
| | @
|_| @
@@
0x05D4 HEBREW LETTER HE
_______ @
|_____ |@
_ | |@
| | | |@
|_| |_|@
@@
0x05D5 HEBREW LETTER VAV
___ @
|_ |@
| |@
| |@
|_|@
@@
0x05D6 HEBREW LETTER ZAYIN
________ @
\\__ __\\@
| | @
| | @
|_| @
@@
0x05D7 HEBREW LETTER HET
_______ @
|. __ |@
| | | |@
| | | |@
|_| |_|@
@@
0x05D8 HEBREW LETTER TET
__ ___ @
|. | /_ |@
| | | |@
| |___| |@
|_______|@
@@
0x05D9 HEBREW LETTER YOD
___ @
|_ |@
|_|@
$ @
$ @
@@
0x05DA HEBREW LETTER FINAL KAF
_______ @
|____ .|@
| | @
| | @
| | @
|_| @@
0x05DB HEBREW LETTER KAF
_____ @
|____ \\ @
| |@
____| |@
|_____/ @
@@
0x05DC HEBREW LETTER LAMED
|=|____ @
|____ |@
/ / @
/ / @
/_/ @
@@
0x05DD HEBREW LETTER FINAL MEM
________ @
|. ___ |@
| | | |@
| |___| |@
|_______|@
@@
0x05DE HEBREW LETTER MEM
_______ @
|. __ |@
| | | |@
| | _| |@
|_||___|@
@@
0x05DF HEBREW LETTER FINAL NUN
___ @
|_ |@
| |@
| |@
| |@
|_|@@
0x05E0 HEBREW LETTER NUN
___ @
|_ |@
| |@
__| |@
|____|@
@@
0x05E1 HEBREW LETTER SAMEKH
_______ @
|. __ |@
| | | |@
| |__/ |@
|_____/ @
@@
0x05E2 HEBREW LETTER AYIN
__ _ @
\\ \\ | |@
\\ \\| |@
__\\ \` |@
|______|@
@@
0x05E3 HEBREW LETTER FINAL PE
______ @
| __ |@
| |_ | |@
|___|| |@
| |@
|_|@@
0x05E4 HEBREW LETTER PE
_______ @
| ___ |@
\\_\\ | |@
_____| |@
|_______|@
@@
0x05E5 HEBREW LETTER FINAL TSADI
__ _ @
|. | | |@
| | // @
| |// @
| | @
|_| @@
0x05E6 HEBREW LETTER TSADI
__ __.@
\\ \\ / / @
\\ V / @
___\\ \\ @
|______| @
@@
0x05E7 HEBREW LETTER QOF
______ @
|____ |@
_ | |@
| | |_|@
| | @
|_| @@
0x05E8 HEBREW LETTER RESH
______ @
|____ |@
| |@
| |@
|_|@
@@
0x05E9 HEBREW LETTER SHIN
_ _ _ @
| | | | | |@
| | | | | |@
| |/ /_/ / @
|_______/ @
@@
0x05EA HEBREW LETTER TAV
______ @
| __ |@
| | | |@
_| | | |@
|___| |_|@
@@
0x2721 STAR OF DAVID
@
__/\\__@
\\ /@
/_ _\\@
\\/ @
@@
-0x0002
aleph = t, bet/vet = c, gimel = d, dalet = s, he = v, vav = u, zayin = z @
het = j, tet = y, yod = h, kaf/chaf = f, final kaf = l, lamed = k, mem = n@
final mem = o, nun = b, final nun = i, samekh = x, ayin = g, pe/fe = p, @
final pe = ;, tsadi = m, final tsadi = ., qof = e, resh = r, shin/sin = a @
tav = , comma = ', period = /, semicolon = \`, slash = q, apostrophe = w @
Star of David = * @@
-0x0003
aleph = a, bet/vet = b, gimel = g, dalet = d, he = h, vav = v, zayin = z @
het = c, tet = t, yod = y, kaf/chaf = k, final kaf = f, lamed = l, mem = m@
final mem = o, nun = n, final nun = i, samekh = e, ayin = _, pe/fe = p, @
final pe = u, tsadi = j, final tsadi = w, qof = q, resh = r, shin/sin = s @
tav = x @
Star of David = * @@
`
@@ -0,0 +1 @@
{"mappings":"AAAA,iBAAiB;IAAG,eAAe,CAAC,gBAAa,CAAC;AAClD","sources":["packages/@react-aria/breadcrumbs/intl/ro-RO.json"],"sourcesContent":["{\n \"breadcrumbs\": \"Miez de pâine\"\n}\n"],"names":[],"version":3,"file":"ro-RO.main.js.map"}
@@ -0,0 +1,17 @@
import * as _heroui_system from '@heroui/system';
import { UseAccordionItemProps } from './use-accordion-item.js';
import 'framer-motion';
import './base/accordion-item-base.js';
import '@heroui/theme';
import '@heroui/aria-utils';
import '@react-types/shared';
import 'react';
import 'tailwind-variants';
import '@heroui/react-utils';
import '@react-stately/tree';
interface AccordionItemProps extends UseAccordionItemProps {
}
declare const AccordionItem: _heroui_system.InternalForwardRefRenderFunction<"button", AccordionItemProps, never>;
export { type AccordionItemProps, AccordionItem as default };
@@ -0,0 +1,54 @@
import { Parser, type ParserOptions } from "./Parser.js";
export type { Handler, ParserOptions } from "./Parser.js";
export { Parser } from "./Parser.js";
import { type DomHandlerOptions, type ChildNode, type Element, type Document } from "domhandler";
export { DomHandler, DomHandler as DefaultHandler, type DomHandlerOptions, } from "domhandler";
export type Options = ParserOptions & DomHandlerOptions;
/**
* Parses the data, returns the resulting document.
*
* @param data The data that should be parsed.
* @param options Optional options for the parser and DOM handler.
*/
export declare function parseDocument(data: string, options?: Options): Document;
/**
* Parses data, returns an array of the root nodes.
*
* Note that the root nodes still have a `Document` node as their parent.
* Use `parseDocument` to get the `Document` node instead.
*
* @param data The data that should be parsed.
* @param options Optional options for the parser and DOM handler.
* @deprecated Use `parseDocument` instead.
*/
export declare function parseDOM(data: string, options?: Options): ChildNode[];
/**
* Creates a parser instance, with an attached DOM handler.
*
* @param callback A callback that will be called once parsing has been completed, with the resulting document.
* @param options Optional options for the parser and DOM handler.
* @param elementCallback An optional callback that will be called every time a tag has been completed inside of the DOM.
*/
export declare function createDocumentStream(callback: (error: Error | null, document: Document) => void, options?: Options, elementCallback?: (element: Element) => void): Parser;
/**
* Creates a parser instance, with an attached DOM handler.
*
* @param callback A callback that will be called once parsing has been completed, with an array of root nodes.
* @param options Optional options for the parser and DOM handler.
* @param elementCallback An optional callback that will be called every time a tag has been completed inside of the DOM.
* @deprecated Use `createDocumentStream` instead.
*/
export declare function createDomStream(callback: (error: Error | null, dom: ChildNode[]) => void, options?: Options, elementCallback?: (element: Element) => void): Parser;
export { default as Tokenizer, type Callbacks as TokenizerCallbacks, QuoteType, } from "./Tokenizer.js";
export * as ElementType from "domelementtype";
import { type Feed } from "domutils";
export { getFeed, type Feed } from "domutils";
/**
* Parse a feed.
*
* @param feed The feed that should be parsed, as a string.
* @param options Optionally, options for parsing. When using this, you should set `xmlMode` to `true`.
*/
export declare function parseFeed(feed: string, options?: Options): Feed | null;
export * as DomUtils from "domutils";
//# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
{"name":"estree-walker","version":"3.0.3","requiresBuild":false,"files":{"LICENSE":{"checkedAt":1794532092054,"integrity":"sha512-mdTnqiX0mA8qk+1MfrgiJaV7fgPQ7GTIcOq7CJ9RnW8+TxiHNtaGXQYIUXKcuT3BxaQnhNfxwL3ISzgthmupVw==","mode":420,"size":1126},"src/async.js":{"checkedAt":1794532092054,"integrity":"sha512-E9q1WjXSz65sQ2/QWCBkqn1dZsi9IydnrDe/Be9TfBJ/eD3XLqiXdXBRSeoO6HOtVo5WkSrnDNebGMJopn67Uw==","mode":420,"size":3474},"src/index.js":{"checkedAt":1794532092054,"integrity":"sha512-KzZ4oy3T3uF5sp5sZjaO/tDJGfF1uy2gXYCS6bpjg1mCUY63iolG5sqD6Y/b4J9KVcQPKqwvBtij8AflF24OnA==","mode":420,"size":806},"src/sync.js":{"checkedAt":1794532092054,"integrity":"sha512-9hnDA/Tzy9SqaI/RK+KhI2R4GbxRODX2oTTUWwWQOu7BZYBkIWXJQgp3Nrn4Cl03v1d/LRFiDaVdSF75fGqTvg==","mode":420,"size":3418},"src/walker.js":{"checkedAt":1794532092054,"integrity":"sha512-uKIlW4xSjOFj4eBFUZoe4zR3gpUxKEgDmSeJLwzm3L9yzeq0TGDlUu7pBCJNidp+KvaWUKh7+57A0CPki3Kevw==","mode":420,"size":1393},"package.json":{"checkedAt":1794532092055,"integrity":"sha512-dl7O1tWBAOTX7BddA2X2toQf1XjS7/ceQc0TfjUafHL09e2TKaBKOiXtHOOiSCmzqaVA+6/G+mNPb4/ND8lK9g==","mode":420,"size":720},"README.md":{"checkedAt":1794532092055,"integrity":"sha512-z51F5WPSUBRAZicWiNLnHQBId0jqHZVuDc9AM5yJXzdM1eu9YTHSaP8KsqFsJ81Cm0BQLL+/kO+n4p2BPkkT7Q==","mode":420,"size":1591},"types/async.d.ts":{"checkedAt":1794532092055,"integrity":"sha512-ZMF+E/4aZJNjNZBXLsbUaKQCcqipdF0NZpgpoGmimCXk9aggAMgZVSBw5jKyreLbv1MeLW78OPmTHmc3AfFPFQ==","mode":420,"size":1455},"types/index.d.ts":{"checkedAt":1794532092055,"integrity":"sha512-LvQdu2nHuezkggGFYeVZfqr2UDjJVqt888TcfU0Y+WZlmoLyMDRRg5dro+08N1izWbQLe+Lgq1jW71hksoWStQ==","mode":420,"size":858},"types/sync.d.ts":{"checkedAt":1794532092055,"integrity":"sha512-hdOqWLYtri1NBoWv6zzGHsUF0K8JrCbjPT+de0ftdSO8+wwrFG433YzGmb0LqZNy4dkESQhUTeChXMe35nSQpg==","mode":420,"size":1408},"types/walker.d.ts":{"checkedAt":1794532092055,"integrity":"sha512-jIJEGd9Bm9GHFicC8aglohmJZvsoVwwPOuiPP5eyu+eIDfA4eyxBok/7cHJLB61KZ/BwULgTczVPrWUAvNt7sQ==","mode":420,"size":1350}}}
@@ -0,0 +1,47 @@
import $20k3Y$react from "react";
/*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/
function $312ae3b56a94a86e$var$TableHeader(props) {
return null;
}
$312ae3b56a94a86e$var$TableHeader.getCollectionNode = function* getCollectionNode(props, context) {
let { children: children, columns: columns } = props;
// Clear columns so they aren't double added in strict mode.
context.columns = [];
if (typeof children === 'function') {
if (!columns) throw new Error('props.children was a function but props.columns is missing');
for (let column of columns)yield {
type: 'column',
value: column,
renderer: children
};
} else {
let columns = [];
(0, $20k3Y$react).Children.forEach(children, (column)=>{
columns.push({
type: 'column',
element: column
});
});
yield* columns;
}
};
/**
* A TableHeader is a container for the Column elements in a Table. Columns can be statically defined
* as children, or generated dynamically using a function based on the data passed to the `columns` prop.
*/ // We don't want getCollectionNode to show up in the type definition
let $312ae3b56a94a86e$export$f850895b287ef28e = $312ae3b56a94a86e$var$TableHeader;
export {$312ae3b56a94a86e$export$f850895b287ef28e as TableHeader};
//# sourceMappingURL=TableHeader.module.js.map
@@ -0,0 +1,52 @@
'use strict';
/*
* @api public
* @property {function} format
* Both the construction method and set of exposed
* formats.
*/
const format = exports.format = require('./format');
/*
* @api public
* @method {function} levels
* Registers the specified levels with logform.
*/
exports.levels = require('./levels');
/*
* @api private
* method {function} exposeFormat
* Exposes a sub-format on the main format object
* as a lazy-loaded getter.
*/
function exposeFormat(name, requireFormat) {
Object.defineProperty(format, name, {
get() {
return requireFormat();
},
configurable: true
});
}
//
// Setup all transports as lazy-loaded getters.
//
exposeFormat('align', function () { return require('./align'); });
exposeFormat('errors', function () { return require('./errors'); });
exposeFormat('cli', function () { return require('./cli'); });
exposeFormat('combine', function () { return require('./combine'); });
exposeFormat('colorize', function () { return require('./colorize'); });
exposeFormat('json', function () { return require('./json'); });
exposeFormat('label', function () { return require('./label'); });
exposeFormat('logstash', function () { return require('./logstash'); });
exposeFormat('metadata', function () { return require('./metadata'); });
exposeFormat('ms', function () { return require('./ms'); });
exposeFormat('padLevels', function () { return require('./pad-levels'); });
exposeFormat('prettyPrint', function () { return require('./pretty-print'); });
exposeFormat('printf', function () { return require('./printf'); });
exposeFormat('simple', function () { return require('./simple'); });
exposeFormat('splat', function () { return require('./splat'); });
exposeFormat('timestamp', function () { return require('./timestamp'); });
exposeFormat('uncolorize', function () { return require('./uncolorize'); });
@@ -0,0 +1,72 @@
var $27a5ce66022270ad$exports = require("./useCollator.main.js");
var $c0oFg$react = require("react");
function $parcel$export(e, n, v, s) {
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
}
$parcel$export(module.exports, "useFilter", () => $832d079b867c7223$export$3274cf84b703fff);
/*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/
function $832d079b867c7223$export$3274cf84b703fff(options) {
let collator = (0, $27a5ce66022270ad$exports.useCollator)({
usage: 'search',
...options
});
// TODO(later): these methods don't currently support the ignorePunctuation option.
let startsWith = (0, $c0oFg$react.useCallback)((string, substring)=>{
if (substring.length === 0) return true;
// Normalize both strings so we can slice safely
// TODO: take into account the ignorePunctuation option as well...
string = string.normalize('NFC');
substring = substring.normalize('NFC');
return collator.compare(string.slice(0, substring.length), substring) === 0;
}, [
collator
]);
let endsWith = (0, $c0oFg$react.useCallback)((string, substring)=>{
if (substring.length === 0) return true;
string = string.normalize('NFC');
substring = substring.normalize('NFC');
return collator.compare(string.slice(-substring.length), substring) === 0;
}, [
collator
]);
let contains = (0, $c0oFg$react.useCallback)((string, substring)=>{
if (substring.length === 0) return true;
string = string.normalize('NFC');
substring = substring.normalize('NFC');
let scan = 0;
let sliceLen = substring.length;
for(; scan + sliceLen <= string.length; scan++){
let slice = string.slice(scan, scan + sliceLen);
if (collator.compare(substring, slice) === 0) return true;
}
return false;
}, [
collator
]);
return (0, $c0oFg$react.useMemo)(()=>({
startsWith: startsWith,
endsWith: endsWith,
contains: contains
}), [
startsWith,
endsWith,
contains
]);
}
//# sourceMappingURL=useFilter.main.js.map
@@ -0,0 +1,634 @@
flf2a$ 6 5 18 4 21
Figlet conversion by Kent Nassen, knassen@umich.edu, 1/1/95
rowancap.flf
From spectre@uiuc.edu
Date: Sat, 11 Dec 1993 12:59:18 -0600
From: Ian Chai <spectre@uiuc.edu>
Reply to: "Discussions about the multi-font large-letter program, FIGLET."
<FIGLET-L@vmd.cso.uiuc.edu>
To: Multiple recipients of list FIGLET-L <FIGLET-L@vmd.cso.uiuc.edu>
Subject: Something for someone somewhere . ..
>From: Lockerpalooza <PIRILLC2770@cobra.uni.edu>
Found the caps for a possible font for Figlet, if anyone would care to expand?
From: s1171180@giaeb.cc.monash.edu.au (Rowan Crawford)
Subject:A Font.
Date: 10 Dec 1993 16:54:18 GMT
$ $@
$ $@
$ $@
$ $@
$ $@
$ $@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
$ amr$@
$dMP $@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
.aMMMb$@
dMP"dMP$@
dMMMMMP @
dMP dMP @
dMP dMP @
@@
dMMMMb$@
dMP"dMP$@
dMMMMK" @
dMP.aMF @
dMMMMP" @
@@
.aMMMb$@
dMP"VMP$@
dMP @
dMP.aMP @
VMMMP" @
@@
dMMMMb$@
dMP VMP$@
dMP dMP @
dMP.aMP @
dMMMMP" @
@@
dMMMMMP$@
dMP @
dMMMP @
dMP @
dMMMMMP @
@@
dMMMMMP$@
dMP @
dMMMP @
dMP @
dMP @
@@
.aMMMMP$@
dMP" @
dMP MMP" @
dMP.dMP @
VMMMP" @
@@
dMP dMP$@
dMP dMP @
dMMMMMP @
dMP dMP @
dMP dMP @
@@
dMP$@
amr @
dMP @
dMP @
dMP @
@@
dMMMMMP$@
dMP @
dMP @
dK .dMP @
VMMMP" @
@@
dMP dMP$@
dMP.dMP @
dMMMMK" @
dMP"AMF @
dMP dMP @
@@
dMP$@
dMP @
dMP @
dMP @
dMMMMMP$@
@@
dMMMMMMMMb$@
dMP"dMP"dMP$@
dMP dMP dMP @
dMP dMP dMP @
dMP dMP dMP @
@@
dMMMMb$@
dMP dMP$@
dMP dMP @
dMP dMP @
dMP dMP @
@@
.aMMMb$@
dMP"dMP$@
dMP dMP @
dMP.aMP @
VMMMP" @
@@
dMMMMb$@
dMP.dMP$@
dMMMMP" @
dMP @
dMP @
@@
.aMMMb$@
dMP"dMP$@
dMP.dMP @
dMP.MMP @
VMMP"MP @
@@
dMMMMb$@
dMP.dMP$@
dMMMMK" @
dMP"AMF @
dMP dMP @
@@
.dMMMb$@
dMP" VP$@
VMMMb @
dP .dMP @
VMMMP" @
@@
dMMMMMMP$@
dMP @
dMP @
dMP @
dMP @
@@
dMP dMP$@
dMP dMP @
dMP dMP @
dMP.aMP @
VMMMP" @
@@
dMP dMP$@
dMP dMP @
dMP dMP @
YMvAP" @
VP" @
@@
dMP dMP dMP$@
dMP dMP dMP @
dMP dMP dMP @
dMP.dMP.dMP @
VMMMPVMMP" @
@@
dMP dMP$@
dMK.dMP @
.dMMMK" @
dMP"AMF @
dMP dMP @
@@
dMP dMP$@
dMP.dMP @
VMMMMP @
dA .dMP @
VMMMP" @
@@
dMMMMMP$@
.dMP" @
.dMP" @
.dMP" @
dMMMMMP @
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
.aMMMb$@
dMP"dMP$@
dMMMMMP @
dMP dMP @
dMP dMP @
@@
dMMMMb$@
dMP"dMP$@
dMMMMK" @
dMP.aMF @
dMMMMP" @
@@
.aMMMb$@
dMP"VMP$@
dMP @
dMP.aMP @
VMMMP" @
@@
dMMMMb$@
dMP VMP$@
dMP dMP @
dMP.aMP @
dMMMMP" @
@@
dMMMMMP$@
dMP @
dMMMP @
dMP @
dMMMMMP @
@@
dMMMMMP$@
dMP @
dMMMP @
dMP @
dMP @
@@
.aMMMMP$@
dMP" @
dMP MMP" @
dMP.dMP @
VMMMP" @
@@
dMP dMP$@
dMP dMP @
dMMMMMP @
dMP dMP @
dMP dMP @
@@
dMP$@
amr @
dMP @
dMP @
dMP @
@@
dMMMMMP$@
dMP @
dMP @
dK .dMP @
VMMMP" @
@@
dMP dMP$@
dMP.dMP @
dMMMMK" @
dMP"AMF @
dMP dMP @
@@
dMP$@
dMP @
dMP @
dMP @
dMMMMMP$@
@@
dMMMMMMMMb$@
dMP"dMP"dMP @
dMP dMP dMP @
dMP dMP dMP @
dMP dMP dMP @
@@
dMMMMb$@
dMP dMP$@
dMP dMP @
dMP dMP @
dMP dMP @
@@
.aMMMb$@
dMP"dMP$@
dMP dMP @
dMP.aMP @
VMMMP" @
@@
dMMMMb$@
dMP.dMP$@
dMMMMP" @
dMP @
dMP @
@@
.aMMMb$@
dMP"dMP$@
dMP.dMP @
dMP.MMP @
VMMP"MP @
@@
dMMMMb$@
dMP.dMP$@
dMMMMK" @
dMP"AMF @
dMP dMP @
@@
.dMMMb$@
dMP" VP$@
VMMMb @
dP .dMP @
VMMMP" @
@@
dMMMMMMP$@
dMP @
dMP @
dMP @
dMP @
@@
dMP dMP$@
dMP dMP @
dMP dMP @
dMP.aMP @
VMMMP" @
@@
dMP dMP$@
dMP dMP @
dMP dMP @
YMvAP" @
VP" @
@@
dMP dMP dMP$@
dMP dMP dMP @
dMP dMP dMP @
dMP.dMP.dMP @
VMMMPVMMP" @
@@
dMP dMP$@
dMK.dMP @
.dMMMK" @
dMP"AMF @
dMP dMP @
@@
dMP dMP$@
dMP.dMP @
VMMMMP @
dA .dMP @
VMMMP" @
@@
dMMMMMP$@
.dMP" @
.dMP" @
.dMP" @
dMMMMMP @
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@
@
@
@
@
@@
@@ -0,0 +1,30 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var statusRole = {
abstract: false,
accessibleNameRequired: false,
baseConcepts: [],
childrenPresentational: false,
nameFrom: ['author'],
prohibitedProps: [],
props: {
'aria-atomic': 'true',
'aria-live': 'polite'
},
relatedConcepts: [{
concept: {
name: 'output'
},
module: 'HTML'
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [['roletype', 'structure', 'section']]
};
var _default = exports.default = statusRole;
@@ -0,0 +1,30 @@
// Copyright (c) 2011-2012 Ryan Prichard
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
// sell copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
// IN THE SOFTWARE.
#ifndef DSRSENDER_H
#define DSRSENDER_H
class DsrSender
{
public:
virtual void sendDsr() = 0;
};
#endif // DSRSENDER_H
@@ -0,0 +1,4 @@
function _checkPrivateRedeclaration(e, t) {
if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object");
}
export { _checkPrivateRedeclaration as default };
@@ -0,0 +1 @@
{"mappings":"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","sources":["packages/@internationalized/date/src/queries.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the ALine truncated
@@ -0,0 +1,142 @@
"use client";
"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// src/index.ts
var index_exports = {};
__export(index_exports, {
HeroUIProvider: () => HeroUIProvider,
ProviderContext: () => ProviderContext,
extendVariants: () => import_system_rsc.extendVariants,
forwardRef: () => import_system_rsc.forwardRef,
isHeroUIEl: () => import_system_rsc.isHeroUIEl,
mapPropsVariants: () => import_system_rsc.mapPropsVariants,
mapPropsVariantsWithCommon: () => import_system_rsc.mapPropsVariantsWithCommon,
toIterator: () => import_system_rsc.toIterator,
useInputLabelPlacement: () => useInputLabelPlacement,
useLabelPlacement: () => useLabelPlacement,
useProviderContext: () => useProviderContext
});
module.exports = __toCommonJS(index_exports);
var import_system_rsc = require("@heroui/system-rsc");
// src/provider.tsx
var import_i18n = require("@react-aria/i18n");
var import_react = require("react");
var import_framer_motion = require("framer-motion");
var import_utils = require("@react-aria/utils");
var import_overlays = require("@react-aria/overlays");
// src/provider-context.ts
var import_react_utils = require("@heroui/react-utils");
var [ProviderContext, useProviderContext] = (0, import_react_utils.createContext)({
name: "ProviderContext",
strict: false
});
// src/provider.tsx
var import_jsx_runtime = require("react/jsx-runtime");
var HeroUIProvider = ({
children,
navigate,
disableAnimation,
useHref,
disableRipple = false,
skipFramerMotionAnimations = disableAnimation,
reducedMotion = "never",
validationBehavior,
locale = "en-US",
labelPlacement,
// if minDate / maxDate are not specified in `defaultDates`
// then they will be set in `use-date-input.ts` or `use-calendar-base.ts`
defaultDates,
createCalendar,
spinnerVariant,
...otherProps
}) => {
let contents = children;
if (navigate) {
contents = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_utils.RouterProvider, { navigate, useHref, children: contents });
}
const context = (0, import_react.useMemo)(() => {
if (disableAnimation && skipFramerMotionAnimations) {
import_framer_motion.MotionGlobalConfig.skipAnimations = true;
}
return {
createCalendar,
defaultDates,
disableAnimation,
disableRipple,
validationBehavior,
labelPlacement,
spinnerVariant
};
}, [
createCalendar,
defaultDates == null ? void 0 : defaultDates.maxDate,
defaultDates == null ? void 0 : defaultDates.minDate,
disableAnimation,
disableRipple,
validationBehavior,
labelPlacement,
spinnerVariant
]);
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ProviderContext, { value: context, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_i18n.I18nProvider, { locale, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_framer_motion.MotionConfig, { reducedMotion, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_overlays.OverlayProvider, { ...otherProps, children: contents }) }) }) });
};
// src/hooks/use-label-placement.ts
var import_react2 = require("react");
function useLabelPlacement(props) {
const globalContext = useProviderContext();
const globalLabelPlacement = globalContext == null ? void 0 : globalContext.labelPlacement;
return (0, import_react2.useMemo)(() => {
var _a, _b;
const labelPlacement = (_b = (_a = props.labelPlacement) != null ? _a : globalLabelPlacement) != null ? _b : "inside";
if (labelPlacement === "inside" && !props.label) {
return "outside";
}
return labelPlacement;
}, [props.labelPlacement, globalLabelPlacement, props.label]);
}
function useInputLabelPlacement(props) {
const globalContext = useProviderContext();
const globalLabelPlacement = globalContext == null ? void 0 : globalContext.labelPlacement;
return (0, import_react2.useMemo)(() => {
var _a, _b;
const labelPlacement = (_b = (_a = props.labelPlacement) != null ? _a : globalLabelPlacement) != null ? _b : "inside";
if (labelPlacement === "inside" && !props.label) {
return "outside";
}
return labelPlacement;
}, [props.labelPlacement, globalLabelPlacement, props.label]);
}
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
HeroUIProvider,
ProviderContext,
extendVariants,
forwardRef,
isHeroUIEl,
mapPropsVariants,
mapPropsVariantsWithCommon,
toIterator,
useInputLabelPlacement,
useLabelPlacement,
useProviderContext
});
@@ -0,0 +1 @@
!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_ug_cn=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"ug-cn",weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekStart:1,weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"}};return t.default.locale(d,null,!0),d}));
@@ -0,0 +1,5 @@
import assertClassBrand from "./assertClassBrand.js";
function _classPrivateFieldGet2(s, a) {
return s.get(assertClassBrand(s, a));
}
export { _classPrivateFieldGet2 as default };
@@ -0,0 +1 @@
{"version":3,"file":"buildDeactivationParams.d.ts","sourceRoot":"","sources":["../../../../src/container/calculations/buildDeactivationParams.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAoB,MAAM,mBAAmB,CAAC;AAEzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAE9E,wBAAgB,uBAAuB,CACrC,uBAAuB,EAAE,uBAAuB,GAC/C,kBAAkB,CAcpB"}
@@ -0,0 +1 @@
{"name":"@react-types/menu","version":"3.9.13","requiresBuild":false,"files":{"LICENSE":{"checkedAt":1794532105972,"integrity":"sha512-cil7stSp3ik41Hdv2Dj+GMcbvUfs1q+MZ2Yte0804py9i6oJJN/diCiIr/brcQOZ5ZqwAI6dgaHA7l8FZheQBw==","mode":420,"size":11335},"package.json":{"checkedAt":1794532108043,"integrity":"sha512-vHXpEVOJRqDK6wE//Zzr8Nrulxokx06er40ChrlJSRr+k0bGyIMl38P8gUQKolyUVNrJN+MhssYY92fTLoztAQ==","mode":420,"size":563},"README.md":{"checkedAt":1794532108043,"integrity":"sha512-tjP7v7syeFVrI8qyaNq6RUiCOnY0F9aphuNXyQJn6uiDGV9VHc+EHou6rQQ0ufURm3N3mfgKyqrZLJ9LtTTH/A==","mode":420,"size":134},"src/index.d.ts":{"checkedAt":1794532108043,"integrity":"sha512-243UFe6nDISn6sUQWwBhehHQ9ABEIh2tiJV79ZbRxFMVKwSf0l443qKoX7J2el4pLTkPzNejHUVHSQoRlqjIIA==","mode":420,"size":2903}}}
@@ -0,0 +1,3 @@
declare function mod(number: number, modulo: number): number;
export = mod;
@@ -0,0 +1,19 @@
# @babel/code-frame
> Generate errors that contain a code frame that point to source locations.
See our website [@babel/code-frame](https://babeljs.io/docs/babel-code-frame) for more information.
## Install
Using npm:
```sh
npm install --save-dev @babel/code-frame
```
or using yarn:
```sh
yarn add @babel/code-frame --dev
```
@@ -0,0 +1,41 @@
// Copyright (c) 2015 Ryan Prichard
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
// sell copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
// IN THE SOFTWARE.
#ifndef CONSOLE_LINE_H
#define CONSOLE_LINE_H
#include <windows.h>
#include <vector>
class ConsoleLine
{
public:
ConsoleLine();
void reset();
bool detectChangeAndSetLine(const CHAR_INFO *line, int newLength);
void setLine(const CHAR_INFO *line, int newLength);
void blank(WORD attributes);
private:
int m_prevLength;
std::vector<CHAR_INFO> m_prevData;
};
#endif // CONSOLE_LINE_H
@@ -0,0 +1,41 @@
import isSymbol from './isSymbol.js';
/**
* Compares values to sort them in ascending order.
*
* @private
* @param {*} value The value to compare.
* @param {*} other The other value to compare.
* @returns {number} Returns the sort order indicator for `value`.
*/
function compareAscending(value, other) {
if (value !== other) {
var valIsDefined = value !== undefined,
valIsNull = value === null,
valIsReflexive = value === value,
valIsSymbol = isSymbol(value);
var othIsDefined = other !== undefined,
othIsNull = other === null,
othIsReflexive = other === other,
othIsSymbol = isSymbol(other);
if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) ||
(valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) ||
(valIsNull && othIsDefined && othIsReflexive) ||
(!valIsDefined && othIsReflexive) ||
!valIsReflexive) {
return 1;
}
if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) ||
(othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) ||
(othIsNull && valIsDefined && valIsReflexive) ||
(!othIsDefined && valIsReflexive) ||
!othIsReflexive) {
return -1;
}
}
return 0;
}
export default compareAscending;
@@ -0,0 +1,330 @@
/**
* DON'T EDIT THIS FILE.
* This file was generated automatically by 'scripts/update-lib-index.js'.
*/
"use strict"
const { printWarningOfDeprecatedConfig } = require("./utils")
const { version, name } = require("../package.json")
module.exports = {
meta: { version, name },
configs: {
"flat/no-new-in-es5": require("./configs/flat/no-new-in-es5"),
"flat/no-new-in-es2015": require("./configs/flat/no-new-in-es2015"),
"flat/no-new-in-es2015-intl-api": require("./configs/flat/no-new-in-es2015-intl-api"),
"flat/no-new-in-es2016": require("./configs/flat/no-new-in-es2016"),
"flat/no-new-in-es2016-intl-api": require("./configs/flat/no-new-in-es2016-intl-api"),
"flat/no-new-in-es2017": require("./configs/flat/no-new-in-es2017"),
"flat/no-new-in-es2017-intl-api": require("./configs/flat/no-new-in-es2017-intl-api"),
"flat/no-new-in-es2018": require("./configs/flat/no-new-in-es2018"),
"flat/no-new-in-es2018-intl-api": require("./configs/flat/no-new-in-es2018-intl-api"),
"flat/no-new-in-es2019": require("./configs/flat/no-new-in-es2019"),
"flat/no-new-in-es2019-intl-api": require("./configs/flat/no-new-in-es2019-intl-api"),
"flat/no-new-in-es2020": require("./configs/flat/no-new-in-es2020"),
"flat/no-new-in-es2020-intl-api": require("./configs/flat/no-new-in-es2020-intl-api"),
"flat/no-new-in-es2021": require("./configs/flat/no-new-in-es2021"),
"flat/no-new-in-es2021-intl-api": require("./configs/flat/no-new-in-es2021-intl-api"),
"flat/no-new-in-es2022": require("./configs/flat/no-new-in-es2022"),
"flat/no-new-in-es2022-intl-api": require("./configs/flat/no-new-in-es2022-intl-api"),
"flat/no-new-in-es2023": require("./configs/flat/no-new-in-es2023"),
"flat/no-new-in-es2023-intl-api": require("./configs/flat/no-new-in-es2023-intl-api"),
"flat/no-new-in-esnext": require("./configs/flat/no-new-in-esnext"),
"flat/no-new-in-esnext-intl-api": require("./configs/flat/no-new-in-esnext-intl-api"),
"flat/no-set-methods": require("./configs/flat/no-set-methods"),
"flat/restrict-to-es-intl-api-1st-edition": require("./configs/flat/restrict-to-es-intl-api-1st-edition"),
"flat/restrict-to-es3": require("./configs/flat/restrict-to-es3"),
"flat/restrict-to-es5": require("./configs/flat/restrict-to-es5"),
"flat/restrict-to-es2015": require("./configs/flat/restrict-to-es2015"),
"flat/restrict-to-es2015-intl-api": require("./configs/flat/restrict-to-es2015-intl-api"),
"flat/restrict-to-es2016": require("./configs/flat/restrict-to-es2016"),
"flat/restrict-to-es2016-intl-api": require("./configs/flat/restrict-to-es2016-intl-api"),
"flat/restrict-to-es2017": require("./configs/flat/restrict-to-es2017"),
"flat/restrict-to-es2017-intl-api": require("./configs/flat/restrict-to-es2017-intl-api"),
"flat/restrict-to-es2018": require("./configs/flat/restrict-to-es2018"),
"flat/restrict-to-es2018-intl-api": require("./configs/flat/restrict-to-es2018-intl-api"),
"flat/restrict-to-es2019": require("./configs/flat/restrict-to-es2019"),
"flat/restrict-to-es2019-intl-api": require("./configs/flat/restrict-to-es2019-intl-api"),
"flat/restrict-to-es2020": require("./configs/flat/restrict-to-es2020"),
"flat/restrict-to-es2020-intl-api": require("./configs/flat/restrict-to-es2020-intl-api"),
"flat/restrict-to-es2021": require("./configs/flat/restrict-to-es2021"),
"flat/restrict-to-es2021-intl-api": require("./configs/flat/restrict-to-es2021-intl-api"),
"flat/restrict-to-es2022": require("./configs/flat/restrict-to-es2022"),
"flat/restrict-to-es2022-intl-api": require("./configs/flat/restrict-to-es2022-intl-api"),
"no-new-in-es5": require("./configs/no-new-in-es5"),
"no-new-in-es2015": require("./configs/no-new-in-es2015"),
"no-new-in-es2015-intl-api": require("./configs/no-new-in-es2015-intl-api"),
"no-new-in-es2016": require("./configs/no-new-in-es2016"),
"no-new-in-es2016-intl-api": require("./configs/no-new-in-es2016-intl-api"),
"no-new-in-es2017": require("./configs/no-new-in-es2017"),
"no-new-in-es2017-intl-api": require("./configs/no-new-in-es2017-intl-api"),
"no-new-in-es2018": require("./configs/no-new-in-es2018"),
"no-new-in-es2018-intl-api": require("./configs/no-new-in-es2018-intl-api"),
"no-new-in-es2019": require("./configs/no-new-in-es2019"),
"no-new-in-es2019-intl-api": require("./configs/no-new-in-es2019-intl-api"),
"no-new-in-es2020": require("./configs/no-new-in-es2020"),
"no-new-in-es2020-intl-api": require("./configs/no-new-in-es2020-intl-api"),
"no-new-in-es2021": require("./configs/no-new-in-es2021"),
"no-new-in-es2021-intl-api": require("./configs/no-new-in-es2021-intl-api"),
"no-new-in-es2022": require("./configs/no-new-in-es2022"),
"no-new-in-es2022-intl-api": require("./configs/no-new-in-es2022-intl-api"),
"no-new-in-es2023": require("./configs/no-new-in-es2023"),
"no-new-in-es2023-intl-api": require("./configs/no-new-in-es2023-intl-api"),
"no-new-in-esnext": require("./configs/no-new-in-esnext"),
"no-new-in-esnext-intl-api": require("./configs/no-new-in-esnext-intl-api"),
"no-set-methods": require("./configs/no-set-methods"),
"restrict-to-es-intl-api-1st-edition": require("./configs/restrict-to-es-intl-api-1st-edition"),
"restrict-to-es3": require("./configs/restrict-to-es3"),
"restrict-to-es5": require("./configs/restrict-to-es5"),
"restrict-to-es2015": require("./configs/restrict-to-es2015"),
"restrict-to-es2015-intl-api": require("./configs/restrict-to-es2015-intl-api"),
"restrict-to-es2016": require("./configs/restrict-to-es2016"),
"restrict-to-es2016-intl-api": require("./configs/restrict-to-es2016-intl-api"),
"restrict-to-es2017": require("./configs/restrict-to-es2017"),
"restrict-to-es2017-intl-api": require("./configs/restrict-to-es2017-intl-api"),
"restrict-to-es2018": require("./configs/restrict-to-es2018"),
"restrict-to-es2018-intl-api": require("./configs/restrict-to-es2018-intl-api"),
"restrict-to-es2019": require("./configs/restrict-to-es2019"),
"restrict-to-es2019-intl-api": require("./configs/restrict-to-es2019-intl-api"),
"restrict-to-es2020": require("./configs/restrict-to-es2020"),
"restrict-to-es2020-intl-api": require("./configs/restrict-to-es2020-intl-api"),
"restrict-to-es2021": require("./configs/restrict-to-es2021"),
"restrict-to-es2021-intl-api": require("./configs/restrict-to-es2021-intl-api"),
"restrict-to-es2022": require("./configs/restrict-to-es2022"),
"restrict-to-es2022-intl-api": require("./configs/restrict-to-es2022-intl-api"),
get "no-5"() {
printWarningOfDeprecatedConfig("no-5")
return this["no-new-in-es5"]
},
get "no-2015"() {
printWarningOfDeprecatedConfig("no-2015")
return this["no-new-in-es2015"]
},
get "no-2016"() {
printWarningOfDeprecatedConfig("no-2016")
return this["no-new-in-es2016"]
},
get "no-2017"() {
printWarningOfDeprecatedConfig("no-2017")
return this["no-new-in-es2017"]
},
get "no-2018"() {
printWarningOfDeprecatedConfig("no-2018")
return this["no-new-in-es2018"]
},
get "no-2019"() {
printWarningOfDeprecatedConfig("no-2019")
return this["no-new-in-es2019"]
},
},
rules: {
"no-accessor-properties": require("./rules/no-accessor-properties"),
"no-arbitrary-module-namespace-names": require("./rules/no-arbitrary-module-namespace-names"),
"no-array-from": require("./rules/no-array-from"),
"no-array-isarray": require("./rules/no-array-isarray"),
"no-array-of": require("./rules/no-array-of"),
"no-array-prototype-copywithin": require("./rules/no-array-prototype-copywithin"),
"no-array-prototype-entries": require("./rules/no-array-prototype-entries"),
"no-array-prototype-every": require("./rules/no-array-prototype-every"),
"no-array-prototype-fill": require("./rules/no-array-prototype-fill"),
"no-array-prototype-filter": require("./rules/no-array-prototype-filter"),
"no-array-prototype-find": require("./rules/no-array-prototype-find"),
"no-array-prototype-findindex": require("./rules/no-array-prototype-findindex"),
"no-array-prototype-findlast-findlastindex": require("./rules/no-array-prototype-findlast-findlastindex"),
"no-array-prototype-flat": require("./rules/no-array-prototype-flat"),
"no-array-prototype-foreach": require("./rules/no-array-prototype-foreach"),
"no-array-prototype-includes": require("./rules/no-array-prototype-includes"),
"no-array-prototype-indexof": require("./rules/no-array-prototype-indexof"),
"no-array-prototype-keys": require("./rules/no-array-prototype-keys"),
"no-array-prototype-lastindexof": require("./rules/no-array-prototype-lastindexof"),
"no-array-prototype-map": require("./rules/no-array-prototype-map"),
"no-array-prototype-reduce": require("./rules/no-array-prototype-reduce"),
"no-array-prototype-reduceright": require("./rules/no-array-prototype-reduceright"),
"no-array-prototype-some": require("./rules/no-array-prototype-some"),
"no-array-prototype-toreversed": require("./rules/no-array-prototype-toreversed"),
"no-array-prototype-tosorted": require("./rules/no-array-prototype-tosorted"),
"no-array-prototype-tospliced": require("./rules/no-array-prototype-tospliced"),
"no-array-prototype-values": require("./rules/no-array-prototype-values"),
"no-array-prototype-with": require("./rules/no-array-prototype-with"),
"no-array-string-prototype-at": require("./rules/no-array-string-prototype-at"),
"no-arraybuffer-prototype-transfer": require("./rules/no-arraybuffer-prototype-transfer"),
"no-arrow-functions": require("./rules/no-arrow-functions"),
"no-async-functions": require("./rules/no-async-functions"),
"no-async-iteration": require("./rules/no-async-iteration"),
"no-atomics": require("./rules/no-atomics"),
"no-atomics-waitasync": require("./rules/no-atomics-waitasync"),
"no-bigint": require("./rules/no-bigint"),
"no-binary-numeric-literals": require("./rules/no-binary-numeric-literals"),
"no-block-scoped-functions": require("./rules/no-block-scoped-functions"),
"no-block-scoped-variables": require("./rules/no-block-scoped-variables"),
"no-class-fields": require("./rules/no-class-fields"),
"no-class-static-block": require("./rules/no-class-static-block"),
"no-classes": require("./rules/no-classes"),
"no-computed-properties": require("./rules/no-computed-properties"),
"no-date-now": require("./rules/no-date-now"),
"no-date-prototype-getyear-setyear": require("./rules/no-date-prototype-getyear-setyear"),
"no-date-prototype-togmtstring": require("./rules/no-date-prototype-togmtstring"),
"no-default-parameters": require("./rules/no-default-parameters"),
"no-destructuring": require("./rules/no-destructuring"),
"no-dynamic-import": require("./rules/no-dynamic-import"),
"no-error-cause": require("./rules/no-error-cause"),
"no-escape-unescape": require("./rules/no-escape-unescape"),
"no-exponential-operators": require("./rules/no-exponential-operators"),
"no-export-ns-from": require("./rules/no-export-ns-from"),
"no-for-of-loops": require("./rules/no-for-of-loops"),
"no-function-declarations-in-if-statement-clauses-without-block": require("./rules/no-function-declarations-in-if-statement-clauses-without-block"),
"no-function-prototype-bind": require("./rules/no-function-prototype-bind"),
"no-generators": require("./rules/no-generators"),
"no-global-this": require("./rules/no-global-this"),
"no-hashbang": require("./rules/no-hashbang"),
"no-import-meta": require("./rules/no-import-meta"),
"no-initializers-in-for-in": require("./rules/no-initializers-in-for-in"),
"no-intl-datetimeformat-prototype-formatrange": require("./rules/no-intl-datetimeformat-prototype-formatrange"),
"no-intl-datetimeformat-prototype-formattoparts": require("./rules/no-intl-datetimeformat-prototype-formattoparts"),
"no-intl-displaynames": require("./rules/no-intl-displaynames"),
"no-intl-getcanonicallocales": require("./rules/no-intl-getcanonicallocales"),
"no-intl-listformat": require("./rules/no-intl-listformat"),
"no-intl-locale": require("./rules/no-intl-locale"),
"no-intl-numberformat-prototype-formatrange": require("./rules/no-intl-numberformat-prototype-formatrange"),
"no-intl-numberformat-prototype-formatrangetoparts": require("./rules/no-intl-numberformat-prototype-formatrangetoparts"),
"no-intl-numberformat-prototype-formattoparts": require("./rules/no-intl-numberformat-prototype-formattoparts"),
"no-intl-pluralrules": require("./rules/no-intl-pluralrules"),
"no-intl-pluralrules-prototype-selectrange": require("./rules/no-intl-pluralrules-prototype-selectrange"),
"no-intl-relativetimeformat": require("./rules/no-intl-relativetimeformat"),
"no-intl-segmenter": require("./rules/no-intl-segmenter"),
"no-intl-supportedvaluesof": require("./rules/no-intl-supportedvaluesof"),
"no-json": require("./rules/no-json"),
"no-json-superset": require("./rules/no-json-superset"),
"no-keyword-properties": require("./rules/no-keyword-properties"),
"no-labelled-function-declarations": require("./rules/no-labelled-function-declarations"),
"no-legacy-object-prototype-accessor-methods": require("./rules/no-legacy-object-prototype-accessor-methods"),
"no-logical-assignment-operators": require("./rules/no-logical-assignment-operators"),
"no-malformed-template-literals": require("./rules/no-malformed-template-literals"),
"no-map": require("./rules/no-map"),
"no-math-acosh": require("./rules/no-math-acosh"),
"no-math-asinh": require("./rules/no-math-asinh"),
"no-math-atanh": require("./rules/no-math-atanh"),
"no-math-cbrt": require("./rules/no-math-cbrt"),
"no-math-clz32": require("./rules/no-math-clz32"),
"no-math-cosh": require("./rules/no-math-cosh"),
"no-math-expm1": require("./rules/no-math-expm1"),
"no-math-fround": require("./rules/no-math-fround"),
"no-math-hypot": require("./rules/no-math-hypot"),
"no-math-imul": require("./rules/no-math-imul"),
"no-math-log1p": require("./rules/no-math-log1p"),
"no-math-log2": require("./rules/no-math-log2"),
"no-math-log10": require("./rules/no-math-log10"),
"no-math-sign": require("./rules/no-math-sign"),
"no-math-sinh": require("./rules/no-math-sinh"),
"no-math-tanh": require("./rules/no-math-tanh"),
"no-math-trunc": require("./rules/no-math-trunc"),
"no-modules": require("./rules/no-modules"),
"no-new-target": require("./rules/no-new-target"),
"no-nullish-coalescing-operators": require("./rules/no-nullish-coalescing-operators"),
"no-number-epsilon": require("./rules/no-number-epsilon"),
"no-number-isfinite": require("./rules/no-number-isfinite"),
"no-number-isinteger": require("./rules/no-number-isinteger"),
"no-number-isnan": require("./rules/no-number-isnan"),
"no-number-issafeinteger": require("./rules/no-number-issafeinteger"),
"no-number-maxsafeinteger": require("./rules/no-number-maxsafeinteger"),
"no-number-minsafeinteger": require("./rules/no-number-minsafeinteger"),
"no-number-parsefloat": require("./rules/no-number-parsefloat"),
"no-number-parseint": require("./rules/no-number-parseint"),
"no-numeric-separators": require("./rules/no-numeric-separators"),
"no-object-assign": require("./rules/no-object-assign"),
"no-object-create": require("./rules/no-object-create"),
"no-object-defineproperties": require("./rules/no-object-defineproperties"),
"no-object-defineproperty": require("./rules/no-object-defineproperty"),
"no-object-entries": require("./rules/no-object-entries"),
"no-object-freeze": require("./rules/no-object-freeze"),
"no-object-fromentries": require("./rules/no-object-fromentries"),
"no-object-getownpropertydescriptor": require("./rules/no-object-getownpropertydescriptor"),
"no-object-getownpropertydescriptors": require("./rules/no-object-getownpropertydescriptors"),
"no-object-getownpropertynames": require("./rules/no-object-getownpropertynames"),
"no-object-getownpropertysymbols": require("./rules/no-object-getownpropertysymbols"),
"no-object-getprototypeof": require("./rules/no-object-getprototypeof"),
"no-object-hasown": require("./rules/no-object-hasown"),
"no-object-is": require("./rules/no-object-is"),
"no-object-isextensible": require("./rules/no-object-isextensible"),
"no-object-isfrozen": require("./rules/no-object-isfrozen"),
"no-object-issealed": require("./rules/no-object-issealed"),
"no-object-keys": require("./rules/no-object-keys"),
"no-object-map-groupby": require("./rules/no-object-map-groupby"),
"no-object-preventextensions": require("./rules/no-object-preventextensions"),
"no-object-seal": require("./rules/no-object-seal"),
"no-object-setprototypeof": require("./rules/no-object-setprototypeof"),
"no-object-super-properties": require("./rules/no-object-super-properties"),
"no-object-values": require("./rules/no-object-values"),
"no-octal-numeric-literals": require("./rules/no-octal-numeric-literals"),
"no-optional-catch-binding": require("./rules/no-optional-catch-binding"),
"no-optional-chaining": require("./rules/no-optional-chaining"),
"no-private-in": require("./rules/no-private-in"),
"no-promise": require("./rules/no-promise"),
"no-promise-all-settled": require("./rules/no-promise-all-settled"),
"no-promise-any": require("./rules/no-promise-any"),
"no-promise-prototype-finally": require("./rules/no-promise-prototype-finally"),
"no-promise-withresolvers": require("./rules/no-promise-withresolvers"),
"no-property-shorthands": require("./rules/no-property-shorthands"),
"no-proxy": require("./rules/no-proxy"),
"no-reflect": require("./rules/no-reflect"),
"no-regexp-d-flag": require("./rules/no-regexp-d-flag"),
"no-regexp-duplicate-named-capturing-groups": require("./rules/no-regexp-duplicate-named-capturing-groups"),
"no-regexp-lookbehind-assertions": require("./rules/no-regexp-lookbehind-assertions"),
"no-regexp-named-capture-groups": require("./rules/no-regexp-named-capture-groups"),
"no-regexp-prototype-compile": require("./rules/no-regexp-prototype-compile"),
"no-regexp-prototype-flags": require("./rules/no-regexp-prototype-flags"),
"no-regexp-s-flag": require("./rules/no-regexp-s-flag"),
"no-regexp-u-flag": require("./rules/no-regexp-u-flag"),
"no-regexp-unicode-property-escapes": require("./rules/no-regexp-unicode-property-escapes"),
"no-regexp-unicode-property-escapes-2019": require("./rules/no-regexp-unicode-property-escapes-2019"),
"no-regexp-unicode-property-escapes-2020": require("./rules/no-regexp-unicode-property-escapes-2020"),
"no-regexp-unicode-property-escapes-2021": require("./rules/no-regexp-unicode-property-escapes-2021"),
"no-regexp-unicode-property-escapes-2022": require("./rules/no-regexp-unicode-property-escapes-2022"),
"no-regexp-unicode-property-escapes-2023": require("./rules/no-regexp-unicode-property-escapes-2023"),
"no-regexp-v-flag": require("./rules/no-regexp-v-flag"),
"no-regexp-y-flag": require("./rules/no-regexp-y-flag"),
"no-resizable-and-growable-arraybuffers": require("./rules/no-resizable-and-growable-arraybuffers"),
"no-rest-parameters": require("./rules/no-rest-parameters"),
"no-rest-spread-properties": require("./rules/no-rest-spread-properties"),
"no-set": require("./rules/no-set"),
"no-set-prototype-difference": require("./rules/no-set-prototype-difference"),
"no-set-prototype-intersection": require("./rules/no-set-prototype-intersection"),
"no-set-prototype-isdisjointfrom": require("./rules/no-set-prototype-isdisjointfrom"),
"no-set-prototype-issubsetof": require("./rules/no-set-prototype-issubsetof"),
"no-set-prototype-issupersetof": require("./rules/no-set-prototype-issupersetof"),
"no-set-prototype-symmetricdifference": require("./rules/no-set-prototype-symmetricdifference"),
"no-set-prototype-union": require("./rules/no-set-prototype-union"),
"no-shadow-catch-param": require("./rules/no-shadow-catch-param"),
"no-shared-array-buffer": require("./rules/no-shared-array-buffer"),
"no-spread-elements": require("./rules/no-spread-elements"),
"no-string-create-html-methods": require("./rules/no-string-create-html-methods"),
"no-string-fromcodepoint": require("./rules/no-string-fromcodepoint"),
"no-string-prototype-codepointat": require("./rules/no-string-prototype-codepointat"),
"no-string-prototype-endswith": require("./rules/no-string-prototype-endswith"),
"no-string-prototype-includes": require("./rules/no-string-prototype-includes"),
"no-string-prototype-iswellformed-towellformed": require("./rules/no-string-prototype-iswellformed-towellformed"),
"no-string-prototype-matchall": require("./rules/no-string-prototype-matchall"),
"no-string-prototype-normalize": require("./rules/no-string-prototype-normalize"),
"no-string-prototype-padstart-padend": require("./rules/no-string-prototype-padstart-padend"),
"no-string-prototype-repeat": require("./rules/no-string-prototype-repeat"),
"no-string-prototype-replaceall": require("./rules/no-string-prototype-replaceall"),
"no-string-prototype-startswith": require("./rules/no-string-prototype-startswith"),
"no-string-prototype-substr": require("./rules/no-string-prototype-substr"),
"no-string-prototype-trim": require("./rules/no-string-prototype-trim"),
"no-string-prototype-trimleft-trimright": require("./rules/no-string-prototype-trimleft-trimright"),
"no-string-prototype-trimstart-trimend": require("./rules/no-string-prototype-trimstart-trimend"),
"no-string-raw": require("./rules/no-string-raw"),
"no-subclassing-builtins": require("./rules/no-subclassing-builtins"),
"no-symbol": require("./rules/no-symbol"),
"no-symbol-prototype-description": require("./rules/no-symbol-prototype-description"),
"no-template-literals": require("./rules/no-template-literals"),
"no-top-level-await": require("./rules/no-top-level-await"),
"no-trailing-commas": require("./rules/no-trailing-commas"),
"no-trailing-function-commas": require("./rules/no-trailing-function-commas"),
"no-typed-arrays": require("./rules/no-typed-arrays"),
"no-unicode-codepoint-escapes": require("./rules/no-unicode-codepoint-escapes"),
"no-weak-map": require("./rules/no-weak-map"),
"no-weak-set": require("./rules/no-weak-set"),
"no-weakrefs": require("./rules/no-weakrefs"),
},
}
@@ -0,0 +1,42 @@
# import/no-nodejs-modules
<!-- end auto-generated rule header -->
Forbid the use of Node.js builtin modules. Can be useful for client-side web projects that do not have access to those modules.
## Options
This rule supports the following options:
- `allow`: Array of names of allowed modules. Defaults to an empty array.
## Rule Details
### Fail
```js
import fs from 'fs';
import path from 'path';
var fs = require('fs');
var path = require('path');
```
### Pass
```js
import _ from 'lodash';
import foo from 'foo';
import foo from './foo';
var _ = require('lodash');
var foo = require('foo');
var foo = require('./foo');
/* eslint import/no-nodejs-modules: ["error", {"allow": ["path"]}] */
import path from 'path';
```
## When Not To Use It
If you have a project that is run mainly or partially using Node.js.
@@ -0,0 +1,16 @@
import {
semanticColors
} from "./chunk-G4RCK475.mjs";
import {
commonColors
} from "./chunk-IAS3SFA4.mjs";
// src/colors/index.ts
var colors = {
...commonColors,
...semanticColors
};
export {
colors
};
@@ -0,0 +1,42 @@
import toNumber from './toNumber.js';
/** Used as references for various `Number` constants. */
var INFINITY = 1 / 0,
MAX_INTEGER = 1.7976931348623157e+308;
/**
* Converts `value` to a finite number.
*
* @static
* @memberOf _
* @since 4.12.0
* @category Lang
* @param {*} value The value to convert.
* @returns {number} Returns the converted number.
* @example
*
* _.toFinite(3.2);
* // => 3.2
*
* _.toFinite(Number.MIN_VALUE);
* // => 5e-324
*
* _.toFinite(Infinity);
* // => 1.7976931348623157e+308
*
* _.toFinite('3.2');
* // => 3.2
*/
function toFinite(value) {
if (!value) {
return value === 0 ? value : 0;
}
value = toNumber(value);
if (value === INFINITY || value === -INFINITY) {
var sign = (value < 0 ? -1 : 1);
return sign * MAX_INTEGER;
}
return value === value ? value : 0;
}
export default toFinite;
@@ -0,0 +1,5 @@
export interface ClassMetadataLifecycle {
postConstructMethodNames: Set<string | symbol>;
preDestroyMethodNames: Set<string | symbol>;
}
//# sourceMappingURL=ClassMetadataLifecycle.d.ts.map
@@ -0,0 +1,28 @@
'use strict';
var $TypeError = require('es-errors/type');
var isObject = require('es-object-atoms/isObject');
var Call = require('./Call');
var isIteratorRecord = require('../helpers/records/iterator-record-2023');
// https://262.ecma-international.org/14.0/#sec-iteratornext
module.exports = function IteratorNext(iteratorRecord) {
if (!isIteratorRecord(iteratorRecord)) {
throw new $TypeError('Assertion failed: `iteratorRecord` must be an Iterator Record'); // step 1
}
var result;
if (arguments.length < 2) { // step 1
result = Call(iteratorRecord['[[NextMethod]]'], iteratorRecord['[[Iterator]]']); // step 1.a
} else { // step 2
result = Call(iteratorRecord['[[NextMethod]]'], iteratorRecord['[[Iterator]]'], [arguments[1]]); // step 2.a
}
if (!isObject(result)) {
throw new $TypeError('iterator next must return an object'); // step 3
}
return result; // step 4
};
@@ -0,0 +1,34 @@
'use strict';
var test = require('tape');
var gPO = require('reflect.getprototypeof/polyfill')();
var gOPD = require('gopd');
var hasProto = require('../');
var hasProtoAccessor = require('../accessor');
var getter = require('dunder-proto/get');
test('hasProtoAccessor', function (t) {
var result = hasProtoAccessor();
t.equal(typeof result, 'boolean', 'returns a boolean (' + result + ')');
var obj = { __proto__: null };
if (result) {
t.notOk('toString' in obj, 'null object lacks toString');
t.equal(gPO(obj), null);
if (gOPD && getter) {
t.equal(getter(obj), null);
}
} else if (hasProto()) {
t.notOk('toString' in obj, 'null object lacks toString');
if (gOPD && getter) {
t.equal(getter(obj), null);
}
} else {
t.ok('toString' in obj, 'without proto, null object has toString');
t.equal(gPO(obj), Object.prototype);
}
t.end();
});
@@ -0,0 +1,9 @@
export * from 'motion-dom';
export * from 'motion-utils';
export { animate, createScopedAnimate } from './animation/animate/index.mjs';
export { animateMini } from './animation/animators/waapi/animate-style.mjs';
export { scroll } from './render/dom/scroll/index.mjs';
export { scrollInfo } from './render/dom/scroll/track.mjs';
export { inView } from './render/dom/viewport/index.mjs';
export { delayInSeconds as delay } from './utils/delay.mjs';
export { distance, distance2D } from './utils/distance.mjs';
@@ -0,0 +1,7 @@
import * as react_jsx_runtime from 'react/jsx-runtime';
import { IconSvgProps } from './types.js';
import 'react';
declare const MonitorMobileIcon: (props: IconSvgProps) => react_jsx_runtime.JSX.Element;
export { MonitorMobileIcon };
@@ -0,0 +1,152 @@
var $4MDXc$reactariautils = require("@react-aria/utils");
function $parcel$export(e, n, v, s) {
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
}
$parcel$export(module.exports, "ariaHideOutside", () => $08ef1685902b6011$export$1c3ebcada18427bf);
$parcel$export(module.exports, "keepVisible", () => $08ef1685902b6011$export$1020fa7f77e17884);
/*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/
const $08ef1685902b6011$var$supportsInert = typeof HTMLElement !== 'undefined' && 'inert' in HTMLElement.prototype;
// Keeps a ref count of all hidden elements. Added to when hiding an element, and
// subtracted from when showing it again. When it reaches zero, aria-hidden is removed.
let $08ef1685902b6011$var$refCountMap = new WeakMap();
let $08ef1685902b6011$var$observerStack = [];
function $08ef1685902b6011$export$1c3ebcada18427bf(targets, options) {
let windowObj = (0, $4MDXc$reactariautils.getOwnerWindow)(targets === null || targets === void 0 ? void 0 : targets[0]);
let opts = options instanceof windowObj.Element ? {
root: options
} : options;
var _opts_root;
let root = (_opts_root = opts === null || opts === void 0 ? void 0 : opts.root) !== null && _opts_root !== void 0 ? _opts_root : document.body;
let shouldUseInert = (opts === null || opts === void 0 ? void 0 : opts.shouldUseInert) && $08ef1685902b6011$var$supportsInert;
let visibleNodes = new Set(targets);
let hiddenNodes = new Set();
let getHidden = (element)=>{
return shouldUseInert && element instanceof windowObj.HTMLElement ? element.inert : element.getAttribute('aria-hidden') === 'true';
};
let setHidden = (element, hidden)=>{
if (shouldUseInert && element instanceof windowObj.HTMLElement) element.inert = hidden;
else if (hidden) element.setAttribute('aria-hidden', 'true');
else {
element.removeAttribute('aria-hidden');
if (element instanceof windowObj.HTMLElement) // We only ever call setHidden with hidden = false when the nodeCount is 1 aka
// we are trying to make the element visible to screen readers again, so remove inert as well
element.inert = false;
}
};
let walk = (root)=>{
// Keep live announcer and top layer elements (e.g. toasts) visible.
for (let element of root.querySelectorAll('[data-live-announcer], [data-react-aria-top-layer]'))visibleNodes.add(element);
let acceptNode = (node)=>{
// Skip this node and its children if it is one of the target nodes, or a live announcer.
// Also skip children of already hidden nodes, as aria-hidden is recursive. An exception is
// made for elements with role="row" since VoiceOver on iOS has issues hiding elements with role="row".
// For that case we want to hide the cells inside as well (https://bugs.webkit.org/show_bug.cgi?id=222623).
if (hiddenNodes.has(node) || visibleNodes.has(node) || node.parentElement && hiddenNodes.has(node.parentElement) && node.parentElement.getAttribute('role') !== 'row') return NodeFilter.FILTER_REJECT;
// Skip this node but continue to children if one of the targets is inside the node.
for (let target of visibleNodes){
if (node.contains(target)) return NodeFilter.FILTER_SKIP;
}
return NodeFilter.FILTER_ACCEPT;
};
let walker = document.createTreeWalker(root, NodeFilter.SHOW_ELEMENT, {
acceptNode: acceptNode
});
// TreeWalker does not include the root.
let acceptRoot = acceptNode(root);
if (acceptRoot === NodeFilter.FILTER_ACCEPT) hide(root);
if (acceptRoot !== NodeFilter.FILTER_REJECT) {
let node = walker.nextNode();
while(node != null){
hide(node);
node = walker.nextNode();
}
}
};
let hide = (node)=>{
var _refCountMap_get;
let refCount = (_refCountMap_get = $08ef1685902b6011$var$refCountMap.get(node)) !== null && _refCountMap_get !== void 0 ? _refCountMap_get : 0;
// If already aria-hidden, and the ref count is zero, then this element
// was already hidden and there's nothing for us to do.
if (getHidden(node) && refCount === 0) return;
if (refCount === 0) setHidden(node, true);
hiddenNodes.add(node);
$08ef1685902b6011$var$refCountMap.set(node, refCount + 1);
};
// If there is already a MutationObserver listening from a previous call,
// disconnect it so the new on takes over.
if ($08ef1685902b6011$var$observerStack.length) $08ef1685902b6011$var$observerStack[$08ef1685902b6011$var$observerStack.length - 1].disconnect();
walk(root);
let observer = new MutationObserver((changes)=>{
for (let change of changes){
if (change.type !== 'childList') continue;
// If the parent element of the added nodes is not within one of the targets,
// and not already inside a hidden node, hide all of the new children.
if (![
...visibleNodes,
...hiddenNodes
].some((node)=>node.contains(change.target))) for (let node of change.addedNodes){
if ((node instanceof HTMLElement || node instanceof SVGElement) && (node.dataset.liveAnnouncer === 'true' || node.dataset.reactAriaTopLayer === 'true')) visibleNodes.add(node);
else if (node instanceof Element) walk(node);
}
}
});
observer.observe(root, {
childList: true,
subtree: true
});
let observerWrapper = {
visibleNodes: visibleNodes,
hiddenNodes: hiddenNodes,
observe () {
observer.observe(root, {
childList: true,
subtree: true
});
},
disconnect () {
observer.disconnect();
}
};
$08ef1685902b6011$var$observerStack.push(observerWrapper);
return ()=>{
observer.disconnect();
for (let node of hiddenNodes){
let count = $08ef1685902b6011$var$refCountMap.get(node);
if (count == null) continue;
if (count === 1) {
setHidden(node, false);
$08ef1685902b6011$var$refCountMap.delete(node);
} else $08ef1685902b6011$var$refCountMap.set(node, count - 1);
}
// Remove this observer from the stack, and start the previous one.
if (observerWrapper === $08ef1685902b6011$var$observerStack[$08ef1685902b6011$var$observerStack.length - 1]) {
$08ef1685902b6011$var$observerStack.pop();
if ($08ef1685902b6011$var$observerStack.length) $08ef1685902b6011$var$observerStack[$08ef1685902b6011$var$observerStack.length - 1].observe();
} else $08ef1685902b6011$var$observerStack.splice($08ef1685902b6011$var$observerStack.indexOf(observerWrapper), 1);
};
}
function $08ef1685902b6011$export$1020fa7f77e17884(element) {
let observer = $08ef1685902b6011$var$observerStack[$08ef1685902b6011$var$observerStack.length - 1];
if (observer && !observer.visibleNodes.has(element)) {
observer.visibleNodes.add(element);
return ()=>{
observer.visibleNodes.delete(element);
};
}
}
//# sourceMappingURL=ariaHideOutside.main.js.map
@@ -0,0 +1,8 @@
var $625df06cecc70764$exports = {};
$625df06cecc70764$exports = {
"breadcrumbs": `\u{41D}\u{430}\u{432}\u{438}\u{433}\u{430}\u{446}\u{438}\u{44F}`
};
export {$625df06cecc70764$exports as default};
//# sourceMappingURL=ru-RU.module.js.map
@@ -0,0 +1,58 @@
/*
* Copyright 2022 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/
import {isAndroid} from './platform';
// Original licensing for the following method can be found in the
// NOTICE file in the root directory of this source tree.
// See https://github.com/facebook/react/blob/3c713d513195a53788b3f8bb4b70279d68b15bcc/packages/react-interactions/events/src/dom/shared/index.js#L74-L87
// Keyboards, Assistive Technologies, and element.click() all produce a "virtual"
// click event. This is a method of inferring such clicks. Every browser except
// IE 11 only sets a zero value of "detail" for click events that are "virtual".
// However, IE 11 uses a zero value for all click events. For IE 11 we rely on
// the quirk that it produces click events that are of type PointerEvent, and
// where only the "virtual" click lacks a pointerType field.
export function isVirtualClick(event: MouseEvent | PointerEvent): boolean {
// JAWS/NVDA with Firefox.
if ((event as any).mozInputSource === 0 && event.isTrusted) {
return true;
}
// Android TalkBack's detail value varies depending on the event listener providing the event so we have specific logic here instead
// If pointerType is defined, event is from a click listener. For events from mousedown listener, detail === 0 is a sufficient check
// to detect TalkBack virtual clicks.
if (isAndroid() && (event as PointerEvent).pointerType) {
return event.type === 'click' && event.buttons === 1;
}
return event.detail === 0 && !(event as PointerEvent).pointerType;
}
export function isVirtualPointerEvent(event: PointerEvent) {
// If the pointer size is zero, then we assume it's from a screen reader.
// Android TalkBack double tap will sometimes return a event with width and height of 1
// and pointerType === 'mouse' so we need to check for a specific combination of event attributes.
// Cannot use "event.pressure === 0" as the sole check due to Safari pointer events always returning pressure === 0
// instead of .5, see https://bugs.webkit.org/show_bug.cgi?id=206216. event.pointerType === 'mouse' is to distingush
// Talkback double tap from Windows Firefox touch screen press
return (
(!isAndroid() && event.width === 0 && event.height === 0) ||
(event.width === 1 &&
event.height === 1 &&
event.pressure === 0 &&
event.detail === 0 &&
event.pointerType === 'mouse'
)
);
}
@@ -0,0 +1,26 @@
"use strict";
exports.__esModule = true;
exports["default"] = void 0;
var _container = _interopRequireDefault(require("./container"));
var _types = require("./types");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
var Pseudo = /*#__PURE__*/function (_Container) {
_inheritsLoose(Pseudo, _Container);
function Pseudo(opts) {
var _this;
_this = _Container.call(this, opts) || this;
_this.type = _types.PSEUDO;
return _this;
}
var _proto = Pseudo.prototype;
_proto.toString = function toString() {
var params = this.length ? '(' + this.map(String).join(',') + ')' : '';
return [this.rawSpaceBefore, this.stringifyProperty("value"), params, this.rawSpaceAfter].join('');
};
return Pseudo;
}(_container["default"]);
exports["default"] = Pseudo;
module.exports = exports.default;
@@ -0,0 +1 @@
{"version":3,"file":"no-self-import.js","sourceRoot":"","sources":["../../src/rules/no-self-import.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAItE,SAAS,eAAe,CACtB,OAA+B,EAC/B,IAAmB,EACnB,WAAmB;IAEnB,MAAM,QAAQ,GAAG,OAAO,CAAC,gBAAgB,CAAA;IAGzC,IAAI,QAAQ,KAAK,QAAQ,IAAI,QAAQ,KAAK,OAAO,CAAC,WAAW,EAAE,OAAO,CAAC,EAAE,CAAC;QACxE,OAAO,CAAC,MAAM,CAAC;YACb,IAAI;YACJ,SAAS,EAAE,MAAM;SAClB,CAAC,CAAA;IACJ,CAAC;AACH,CAAC;AAED,eAAe,UAAU,CAAgB;IACvC,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,QAAQ,EAAE,iBAAiB;YAC3B,WAAW,EAAE,wCAAwC;YACrD,WAAW,EAAE,IAAI;SAClB;QACD,MAAM,EAAE,EAAE;QACV,QAAQ,EAAE;YACR,IAAI,EAAE,wBAAwB;SAC/B;KACF;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,OAAO,aAAa,CAClB,CAAC,MAAM,EAAE,IAAI,EAAE,EAAE;YACf,eAAe,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,CAAA;QAC9C,CAAC,EACD,EAAE,QAAQ,EAAE,IAAI,EAAE,CACnB,CAAA;IACH,CAAC;CACF,CAAC,CAAA"}
@@ -0,0 +1,41 @@
var baseIsMatch = require('./_baseIsMatch'),
getMatchData = require('./_getMatchData');
/**
* This method is like `_.isMatch` except that it accepts `customizer` which
* is invoked to compare values. If `customizer` returns `undefined`, comparisons
* are handled by the method instead. The `customizer` is invoked with five
* arguments: (objValue, srcValue, index|key, object, source).
*
* @static
* @memberOf _
* @since 4.0.0
* @category Lang
* @param {Object} object The object to inspect.
* @param {Object} source The object of property values to match.
* @param {Function} [customizer] The function to customize comparisons.
* @returns {boolean} Returns `true` if `object` is a match, else `false`.
* @example
*
* function isGreeting(value) {
* return /^h(?:i|ello)$/.test(value);
* }
*
* function customizer(objValue, srcValue) {
* if (isGreeting(objValue) && isGreeting(srcValue)) {
* return true;
* }
* }
*
* var object = { 'greeting': 'hello' };
* var source = { 'greeting': 'hi' };
*
* _.isMatchWith(object, source, customizer);
* // => true
*/
function isMatchWith(object, source, customizer) {
customizer = typeof customizer == 'function' ? customizer : undefined;
return baseIsMatch(object, source, getMatchData(source), customizer);
}
module.exports = isMatchWith;
@@ -0,0 +1,64 @@
{
"name": "agent-base",
"version": "6.0.2",
"description": "Turn a function into an `http.Agent` instance",
"main": "dist/src/index",
"typings": "dist/src/index",
"files": [
"dist/src",
"src"
],
"scripts": {
"prebuild": "rimraf dist",
"build": "tsc",
"postbuild": "cpy --parents src test '!**/*.ts' dist",
"test": "mocha --reporter spec dist/test/*.js",
"test-lint": "eslint src --ext .js,.ts",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
"url": "git://github.com/TooTallNate/node-agent-base.git"
},
"keywords": [
"http",
"agent",
"base",
"barebones",
"https"
],
"author": "Nathan Rajlich <nathan@tootallnate.net> (http://n8.io/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/TooTallNate/node-agent-base/issues"
},
"dependencies": {
"debug": "4"
},
"devDependencies": {
"@types/debug": "4",
"@types/mocha": "^5.2.7",
"@types/node": "^14.0.20",
"@types/semver": "^7.1.0",
"@types/ws": "^6.0.3",
"@typescript-eslint/eslint-plugin": "1.6.0",
"@typescript-eslint/parser": "1.1.0",
"async-listen": "^1.2.0",
"cpy-cli": "^2.0.0",
"eslint": "5.16.0",
"eslint-config-airbnb": "17.1.0",
"eslint-config-prettier": "4.1.0",
"eslint-import-resolver-typescript": "1.1.1",
"eslint-plugin-import": "2.16.0",
"eslint-plugin-jsx-a11y": "6.2.1",
"eslint-plugin-react": "7.12.4",
"mocha": "^6.2.0",
"rimraf": "^3.0.0",
"semver": "^7.1.2",
"typescript": "^3.5.3",
"ws": "^3.0.0"
},
"engines": {
"node": ">= 6.0.0"
}
}
@@ -0,0 +1 @@
{"name":"any-promise","version":"1.3.0","requiresBuild":false,"files":{"package.json":{"checkedAt":1794532105834,"integrity":"sha512-us83txX2KBYtzOcOqi3iwzx5aClqyFN9CehmP7/SywHk5r2+M8MxLmzCGYy2WVFNxmaHhukPpDQt0Kal6Axy6Q==","mode":436,"size":1017},".npmignore":{"checkedAt":1794532105834,"integrity":"sha512-w6EHpobg5CXoq1jIx7yvJvbfexnPp3q6/NbCmL/mVAALIzYOwgxvMs3zKJEtL4T8yRILSvBMOtZ/pw7FgiIi8g==","mode":436,"size":60},"README.md":{"checkedAt":1794532105835,"integrity":"sha512-WOM0UJNlDS3t8dwHY5TCdWFiSivEdnByRzpgDBXkV05YgsLyl9N4hVIKnZCjMGVEgxCMQPza3kEB9hSgDvVacQ==","mode":436,"size":7066},"LICENSE":{"checkedAt":1794532105835,"integrity":"sha512-sSdr2yQ3RYYKc0R4Gc5jYxIeu1QohYGI8UsvVJxsLWchLDsRJtwGUCqp+WkLjKII/8ZgxxT+lgFwuQCn0HYB0w==","mode":436,"size":1060},"index.js":{"checkedAt":1794532105835,"integrity":"sha512-qBeDxcayOVsfnhTeLdkLU/lvPgQtrKuuyEhdPCrjAG+sBpPDZ97SEOsQCgOp2NMClT3F/5CteS3GPr/jKOiL2w==","mode":436,"size":49},"implementation.js":{"checkedAt":1794532105835,"integrity":"sha512-izwZTLIcvfrU+q9DrNMwbstHxNqzdHhTNCfn2kgtNLAY3is4+bSPY4Hr1lkWiOV590R6uUsXBunLLPIfHiZ4zQ==","mode":436,"size":56},"loader.js":{"checkedAt":1794532105835,"integrity":"sha512-jLiCt+Jf/Y33dUTLYZKpHRr2nBKM9cfZ5fzjq1l2tSz8jlKcvim/gDW9wts1nFewlW2HWQm3O6bCLfiU3IWctg==","mode":436,"size":2581},"optional.js":{"checkedAt":1794532105835,"integrity":"sha512-GvS/Pzba99e8/5GoNwzA2iuN5z5aPKKbgUKTu14hBKnUngYDxoQiM3E1J44JQCwKV8qpiJ4007rPUlyMj2Afgg==","mode":436,"size":118},"register-shim.js":{"checkedAt":1794532105835,"integrity":"sha512-CcRtLDS+nXbCl56HDs4Se7DS6dyc3o9v962to9No5F+EPqaLK3Fif/Bn5/0H+Fc19iOuIOCMCZ9XvQSHD+ovuQ==","mode":436,"size":545},"register.js":{"checkedAt":1794532105836,"integrity":"sha512-60+wazCkMW4tEbR+C7JvDC8ZRLdVYWlHP4st8SKY4ce99UrU4IOLSJhRR21bMp/B7Oe7sZMJD8whcxNHcD8/Bg==","mode":436,"size":2910},".jshintrc":{"checkedAt":1794532105836,"integrity":"sha512-NCJRHNMfBvqfheF2/sggiuM3tHsdugLlCMH9SEJm8V/G/A0oCBuKjqJF3mAdibA2gPPuFmV3xNKocs5jq4fg7Q==","mode":436,"size":35},"implementation.d.ts":{"checkedAt":1794532105836,"integrity":"sha512-PIYQ4Jsmcr41tHRyqo7uuHCZG/YJXjSc50vadDlE2LRsejFDRitj1Oyjc60/bx/tuwQZ3ToWMbY706y8XUucnw==","mode":436,"size":62},"register/when.js":{"checkedAt":1794532105836,"integrity":"sha512-pSyarnNfcZ5lssgfc5Ta6KmNt3e0MwkI8EohyjIqByhQczmretI+bhmVJ3lPBLa5QK2L0pjvVQvSSAweXc3j3g==","mode":436,"size":81},"register/es6-promise.js":{"checkedAt":1794532105836,"integrity":"sha512-y6Yz4rl4WMtOt7GuBYCX7GRvmxvnX/miVlOw+y5JHDqXpFK0EiLc8jOMyeLMi+J98/e8pTOw76vVrAr2UVYIJA==","mode":436,"size":95},"register/lie.js":{"checkedAt":1794532105836,"integrity":"sha512-Mw9JaqloE5wcOyyULhTXTM16aq2oQgdM0JuIV2HXVwQXRBk5AMrZYsO4cV/cSqlReQwhupzmmeAxRx4UOLA+xQ==","mode":436,"size":71},"register/native-promise-only.js":{"checkedAt":1794532105836,"integrity":"sha512-m305Cto3qxliieFLiJ1PF+vCMnBMhG8x2kYVxau8lhL/+hD7NOymgbpK4k1PYPlzl2U5tY4/iKr2RxIIUkFATw==","mode":436,"size":103},"register/pinkie.js":{"checkedAt":1794532105836,"integrity":"sha512-fr7f/p80YJ5uASNM+bCYgxQHe6L5hcSmd2w/K2v3MPqWfIf2h5giNYBh73vmvVZ8qXgUUGWylBiby3rH7FpNAw==","mode":436,"size":77},"register/bluebird.js":{"checkedAt":1794532105837,"integrity":"sha512-E+fdjEDaJtnrYHfbyNEVyY0VDI6mr32UW75AHsa1KQbsSIxUK27Tlodst6+cParjcLXsHGEGuifzH/3IQytWkg==","mode":436,"size":81},"register/promise.js":{"checkedAt":1794532105837,"integrity":"sha512-4S/nsd0aRYjsizml180ZzhWVu8CyP/Lg//THJvk/98ZWMIIbDRh/notXMXKVQSoLGnxzAdx4yO1Ygl6D9WBebA==","mode":436,"size":79},"register/q.js":{"checkedAt":1794532105837,"integrity":"sha512-4nI85EULnngnIEX2heiO13s9Y+JubsWyUErO/+aTn/rFfi8TM7LKcdwToHC/dUH6NnZ+8hlowzp2XR/p/ktRfQ==","mode":436,"size":75},"register/rsvp.js":{"checkedAt":1794532105837,"integrity":"sha512-FOehDsjPexpz0Plto/5pryF7y70m0931iP4KziHqPeUJclz9VZkfbpwwLWGOrE5ArJMdpOpV32C2ELB3L5PhTA==","mode":436,"size":81},"register/vow.js":{"checkedAt":1794532105837,"integrity":"sha512-4ejH8x6NN3aWcGWkkz2KfiJPr9zlqXZFdbIdLQpIxNUp1GMm/6dsAgr1jrbM/uF54ihK3kiIyZD3m6fCioRfYg==","mode":436,"size":79},"register/es6-promise.d.ts":{"checkedAt":1794532105837,"integrity":"sha512-u//3rNEmSdy6pkyVJeSYCLPCFGCWNbCqIsNeWyG5I6lTXADsqrvEv9T+VJGxWOn2oifPHjXHKN1NYGz2B16bNA==","mode":436,"size":10},"register/native-promise-only.d.ts":{"checkedAt":1794532105837,"integrity":"sha512-u//3rNEmSdy6pkyVJeSYCLPCFGCWNbCqIsNeWyG5I6lTXADsqrvEv9T+VJGxWOn2oifPHjXHKN1NYGz2B16bNA==","mode":436,"size":10},"register/q.d.ts":{"checkedAt":1794532105837,"integrity":"sha512-u//3rNEmSdy6pkyVJeSYCLPCFGCWNbCqIsNeWyG5I6lTXADsqrvEv9T+VJGxWOn2oifPHjXHKN1NYGz2B16bNA==","mode":436,"size":10},"register/bluebird.d.ts":{"checkedAt":1794532105837,"integrity":"sha512-u//3rNEmSdy6pkyVJeSYCLPCFGCWNbCqIsNeWyG5I6lTXADsqrvEv9T+VJGxWOn2oifPHjXHKN1NYGz2B16bNA==","mode":436,"size":10},"register/rsvp.d.ts":{"checkedAt":1794532105837,"integrity":"sha512-u//3rNEmSdy6pkyVJeSYCLPCFGCWNbCqIsNeWyG5I6lTXADsqrvEv9T+VJGxWOn2oifPHjXHKN1NYGz2B16bNA==","mode":436,"size":10},"register/pinkie.d.ts":{"checkedAt":1794532105837,"integrity":"sha512-u//3rNEmSdy6pkyVJeSYCLPCFGCWNbCqIsLine truncated
@@ -0,0 +1,578 @@
import { createRequire as __tinyexec_cr } from "node:module";const require = __tinyexec_cr(import.meta.url);
var St = Object.create;
var $ = Object.defineProperty;
var kt = Object.getOwnPropertyDescriptor;
var Tt = Object.getOwnPropertyNames;
var At = Object.getPrototypeOf, Rt = Object.prototype.hasOwnProperty;
var h = /* @__PURE__ */ ((t) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(t, {
get: (e, n) => (typeof require < "u" ? require : e)[n]
}) : t)(function(t) {
if (typeof require < "u") return require.apply(this, arguments);
throw Error('Dynamic require of "' + t + '" is not supported');
});
var l = (t, e) => () => (e || t((e = { exports: {} }).exports, e), e.exports);
var $t = (t, e, n, r) => {
if (e && typeof e == "object" || typeof e == "function")
for (let s of Tt(e))
!Rt.call(t, s) && s !== n && $(t, s, { get: () => e[s], enumerable: !(r = kt(e, s)) || r.enumerable });
return t;
};
var Nt = (t, e, n) => (n = t != null ? St(At(t)) : {}, $t(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
e || !t || !t.__esModule ? $(n, "default", { value: t, enumerable: !0 }) : n,
t
));
// node_modules/isexe/windows.js
var W = l((Se, H) => {
"use strict";
H.exports = z;
z.sync = Wt;
var j = h("fs");
function Ht(t, e) {
var n = e.pathExt !== void 0 ? e.pathExt : process.env.PATHEXT;
if (!n || (n = n.split(";"), n.indexOf("") !== -1))
return !0;
for (var r = 0; r < n.length; r++) {
var s = n[r].toLowerCase();
if (s && t.substr(-s.length).toLowerCase() === s)
return !0;
}
return !1;
}
function F(t, e, n) {
return !t.isSymbolicLink() && !t.isFile() ? !1 : Ht(e, n);
}
function z(t, e, n) {
j.stat(t, function(r, s) {
n(r, r ? !1 : F(s, t, e));
});
}
function Wt(t, e) {
return F(j.statSync(t), t, e);
}
});
// node_modules/isexe/mode.js
var X = l((ke, B) => {
"use strict";
B.exports = K;
K.sync = Dt;
var D = h("fs");
function K(t, e, n) {
D.stat(t, function(r, s) {
n(r, r ? !1 : M(s, e));
});
}
function Dt(t, e) {
return M(D.statSync(t), e);
}
function M(t, e) {
return t.isFile() && Kt(t, e);
}
function Kt(t, e) {
var n = t.mode, r = t.uid, s = t.gid, o = e.uid !== void 0 ? e.uid : process.getuid && process.getuid(), i = e.gid !== void 0 ? e.gid : process.getgid && process.getgid(), a = parseInt("100", 8), c = parseInt("010", 8), u = parseInt("001", 8), f = a | c, p = n & u || n & c && s === i || n & a && r === o || n & f && o === 0;
return p;
}
});
// node_modules/isexe/index.js
var U = l((Ae, G) => {
"use strict";
var Te = h("fs"), v;
process.platform === "win32" || global.TESTING_WINDOWS ? v = W() : v = X();
G.exports = y;
y.sync = Mt;
function y(t, e, n) {
if (typeof e == "function" && (n = e, e = {}), !n) {
if (typeof Promise != "function")
throw new TypeError("callback not provided");
return new Promise(function(r, s) {
y(t, e || {}, function(o, i) {
o ? s(o) : r(i);
});
});
}
v(t, e || {}, function(r, s) {
r && (r.code === "EACCES" || e && e.ignoreErrors) && (r = null, s = !1), n(r, s);
});
}
function Mt(t, e) {
try {
return v.sync(t, e || {});
} catch (n) {
if (e && e.ignoreErrors || n.code === "EACCES")
return !1;
throw n;
}
}
});
// node_modules/which/which.js
var et = l((Re, tt) => {
"use strict";
var g = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys", Y = h("path"), Bt = g ? ";" : ":", V = U(), J = (t) => Object.assign(new Error(`not found: ${t}`), { code: "ENOENT" }), Q = (t, e) => {
let n = e.colon || Bt, r = t.match(/\//) || g && t.match(/\\/) ? [""] : [
// windows always checks the cwd first
...g ? [process.cwd()] : [],
...(e.path || process.env.PATH || /* istanbul ignore next: very unusual */
"").split(n)
], s = g ? e.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM" : "", o = g ? s.split(n) : [""];
return g && t.indexOf(".") !== -1 && o[0] !== "" && o.unshift(""), {
pathEnv: r,
pathExt: o,
pathExtExe: s
};
}, Z = (t, e, n) => {
typeof e == "function" && (n = e, e = {}), e || (e = {});
let { pathEnv: r, pathExt: s, pathExtExe: o } = Q(t, e), i = [], a = (u) => new Promise((f, p) => {
if (u === r.length)
return e.all && i.length ? f(i) : p(J(t));
let d = r[u], w = /^".*"$/.test(d) ? d.slice(1, -1) : d, m = Y.join(w, t), b = !w && /^\.[\\\/]/.test(t) ? t.slice(0, 2) + m : m;
f(c(b, u, 0));
}), c = (u, f, p) => new Promise((d, w) => {
if (p === s.length)
return d(a(f + 1));
let m = s[p];
V(u + m, { pathExt: o }, (b, Ot) => {
if (!b && Ot)
if (e.all)
i.push(u + m);
else
return d(u + m);
return d(c(u, f, p + 1));
});
});
return n ? a(0).then((u) => n(null, u), n) : a(0);
}, Xt = (t, e) => {
e = e || {};
let { pathEnv: n, pathExt: r, pathExtExe: s } = Q(t, e), o = [];
for (let i = 0; i < n.length; i++) {
let a = n[i], c = /^".*"$/.test(a) ? a.slice(1, -1) : a, u = Y.join(c, t), f = !c && /^\.[\\\/]/.test(t) ? t.slice(0, 2) + u : u;
for (let p = 0; p < r.length; p++) {
let d = f + r[p];
try {
if (V.sync(d, { pathExt: s }))
if (e.all)
o.push(d);
else
return d;
} catch {
}
}
}
if (e.all && o.length)
return o;
if (e.nothrow)
return null;
throw J(t);
};
tt.exports = Z;
Z.sync = Xt;
});
// node_modules/path-key/index.js
var rt = l(($e, _) => {
"use strict";
var nt = (t = {}) => {
let e = t.env || process.env;
return (t.platform || process.platform) !== "win32" ? "PATH" : Object.keys(e).reverse().find((r) => r.toUpperCase() === "PATH") || "Path";
};
_.exports = nt;
_.exports.default = nt;
});
// node_modules/cross-spawn/lib/util/resolveCommand.js
var ct = l((Ne, it) => {
"use strict";
var st = h("path"), Gt = et(), Ut = rt();
function ot(t, e) {
let n = t.options.env || process.env, r = process.cwd(), s = t.options.cwd != null, o = s && process.chdir !== void 0 && !process.chdir.disabled;
if (o)
try {
process.chdir(t.options.cwd);
} catch {
}
let i;
try {
i = Gt.sync(t.command, {
path: n[Ut({ env: n })],
pathExt: e ? st.delimiter : void 0
});
} catch {
} finally {
o && process.chdir(r);
}
return i && (i = st.resolve(s ? t.options.cwd : "", i)), i;
}
function Yt(t) {
return ot(t) || ot(t, !0);
}
it.exports = Yt;
});
// node_modules/cross-spawn/lib/util/escape.js
var ut = l((qe, P) => {
"use strict";
var C = /([()\][%!^"`<>&|;, *?])/g;
function Vt(t) {
return t = t.replace(C, "^$1"), t;
}
function Jt(t, e) {
return t = `${t}`, t = t.replace(/(\\*)"/g, '$1$1\\"'), t = t.replace(/(\\*)$/, "$1$1"), t = `"${t}"`, t = t.replace(C, "^$1"), e && (t = t.replace(C, "^$1")), t;
}
P.exports.command = Vt;
P.exports.argument = Jt;
});
// node_modules/shebang-regex/index.js
var lt = l((Ie, at) => {
"use strict";
at.exports = /^#!(.*)/;
});
// node_modules/shebang-command/index.js
var dt = l((Le, pt) => {
"use strict";
var Qt = lt();
pt.exports = (t = "") => {
let e = t.match(Qt);
if (!e)
return null;
let [n, r] = e[0].replace(/#! ?/, "").split(" "), s = n.split("/").pop();
return s === "env" ? r : r ? `${s} ${r}` : s;
};
});
// node_modules/cross-spawn/lib/util/readShebang.js
var ht = l((je, ft) => {
"use strict";
var O = h("fs"), Zt = dt();
function te(t) {
let n = Buffer.alloc(150), r;
try {
r = O.openSync(t, "r"), O.readSync(r, n, 0, 150, 0), O.closeSync(r);
} catch {
}
return Zt(n.toString());
}
ft.exports = te;
});
// node_modules/cross-spawn/lib/parse.js
var wt = l((Fe, Et) => {
"use strict";
var ee = h("path"), mt = ct(), gt = ut(), ne = ht(), re = process.platform === "win32", se = /\.(?:com|exe)$/i, oe = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
function ie(t) {
t.file = mt(t);
let e = t.file && ne(t.file);
return e ? (t.args.unshift(t.file), t.command = e, mt(t)) : t.file;
}
function ce(t) {
if (!re)
return t;
let e = ie(t), n = !se.test(e);
if (t.options.forceShell || n) {
let r = oe.test(e);
t.command = ee.normalize(t.command), t.command = gt.command(t.command), t.args = t.args.map((o) => gt.argument(o, r));
let s = [t.command].concat(t.args).join(" ");
t.args = ["/d", "/s", "/c", `"${s}"`], t.command = process.env.comspec || "cmd.exe", t.options.windowsVerbatimArguments = !0;
}
return t;
}
function ue(t, e, n) {
e && !Array.isArray(e) && (n = e, e = null), e = e ? e.slice(0) : [], n = Object.assign({}, n);
let r = {
command: t,
args: e,
options: n,
file: void 0,
original: {
command: t,
args: e
}
};
return n.shell ? r : ce(r);
}
Et.exports = ue;
});
// node_modules/cross-spawn/lib/enoent.js
var bt = l((ze, vt) => {
"use strict";
var S = process.platform === "win32";
function k(t, e) {
return Object.assign(new Error(`${e} ${t.command} ENOENT`), {
code: "ENOENT",
errno: "ENOENT",
syscall: `${e} ${t.command}`,
path: t.command,
spawnargs: t.args
});
}
function ae(t, e) {
if (!S)
return;
let n = t.emit;
t.emit = function(r, s) {
if (r === "exit") {
let o = xt(s, e, "spawn");
if (o)
return n.call(t, "error", o);
}
return n.apply(t, arguments);
};
}
function xt(t, e) {
return S && t === 1 && !e.file ? k(e.original, "spawn") : null;
}
function le(t, e) {
return S && t === 1 && !e.file ? k(e.original, "spawnSync") : null;
}
vt.exports = {
hookChildProcess: ae,
verifyENOENT: xt,
verifyENOENTSync: le,
notFoundError: k
};
});
// node_modules/cross-spawn/index.js
var Ct = l((He, E) => {
"use strict";
var yt = h("child_process"), T = wt(), A = bt();
function _t(t, e, n) {
let r = T(t, e, n), s = yt.spawn(r.command, r.args, r.options);
return A.hookChildProcess(s, r), s;
}
function pe(t, e, n) {
let r = T(t, e, n), s = yt.spawnSync(r.command, r.args, r.options);
return s.error = s.error || A.verifyENOENTSync(s.status, r), s;
}
E.exports = _t;
E.exports.spawn = _t;
E.exports.sync = pe;
E.exports._parse = T;
E.exports._enoent = A;
});
// src/main.ts
import { spawn as de } from "child_process";
import { normalize as fe } from "path";
import { cwd as he } from "process";
// src/env.ts
import {
delimiter as N,
resolve as qt,
dirname as It
} from "path";
var Lt = /^path$/i, q = { key: "PATH", value: "" };
function jt(t) {
for (let e in t) {
if (!Object.prototype.hasOwnProperty.call(t, e) || !Lt.test(e))
continue;
let n = t[e];
return n ? { key: e, value: n } : q;
}
return q;
}
function Ft(t, e) {
let n = e.value.split(N), r = t, s;
do
n.push(qt(r, "node_modules", ".bin")), s = r, r = It(r);
while (r !== s);
return { key: e.key, value: n.join(N) };
}
function I(t, e) {
let n = {
...process.env,
...e
}, r = Ft(t, jt(n));
return n[r.key] = r.value, n;
}
// src/stream.ts
import { PassThrough as zt } from "stream";
var L = (t) => {
let e = t.length, n = new zt(), r = () => {
--e === 0 && n.emit("end");
};
for (let s of t)
s.pipe(n, { end: !1 }), s.on("end", r);
return n;
};
// src/main.ts
var Pt = Nt(Ct(), 1);
import me from "readline";
// src/non-zero-exit-error.ts
var x = class extends Error {
result;
output;
get exitCode() {
if (this.result.exitCode !== null)
return this.result.exitCode;
}
constructor(e, n) {
super(`Process exited with non-zero status (${e.exitCode})`), this.result = e, this.output = n;
}
};
// src/main.ts
var ge = {
timeout: void 0,
persist: !1
}, Ee = {
windowsHide: !0
};
function we(t, e) {
return {
command: fe(t),
args: e ?? []
};
}
function xe(t) {
let e = new AbortController();
for (let n of t) {
if (n.aborted)
return e.abort(), n;
let r = () => {
e.abort(n.reason);
};
n.addEventListener("abort", r, {
signal: e.signal
});
}
return e.signal;
}
var R = class {
_process;
_aborted = !1;
_options;
_command;
_args;
_resolveClose;
_processClosed;
_thrownError;
get process() {
return this._process;
}
get pid() {
return this._process?.pid;
}
get exitCode() {
if (this._process && this._process.exitCode !== null)
return this._process.exitCode;
}
constructor(e, n, r) {
this._options = {
...ge,
...r
}, this._command = e, this._args = n ?? [], this._processClosed = new Promise((s) => {
this._resolveClose = s;
});
}
kill(e) {
return this._process?.kill(e) === !0;
}
get aborted() {
return this._aborted;
}
get killed() {
return this._process?.killed === !0;
}
pipe(e, n, r) {
return be(e, n, {
...r,
stdin: this
});
}
async *[Symbol.asyncIterator]() {
let e = this._process;
if (!e)
return;
let n = [];
this._streamErr && n.push(this._streamErr), this._streamOut && n.push(this._streamOut);
let r = L(n), s = me.createInterface({
input: r
});
for await (let o of s)
yield o.toString();
if (await this._processClosed, e.removeAllListeners(), this._thrownError)
throw this._thrownError;
if (this._options?.throwOnError && this.exitCode !== 0 && this.exitCode !== void 0)
throw new x(this);
}
async _waitForOutput() {
let e = this._process;
if (!e)
throw new Error("No process was started");
let n = "", r = "";
if (this._streamOut)
for await (let o of this._streamOut)
r += o.toString();
if (this._streamErr)
for await (let o of this._streamErr)
n += o.toString();
if (await this._processClosed, this._options?.stdin && await this._options.stdin, e.removeAllListeners(), this._thrownError)
throw this._thrownError;
let s = {
stderr: n,
stdout: r,
exitCode: this.exitCode
};
if (this._options.throwOnError && this.exitCode !== 0 && this.exitCode !== void 0)
throw new x(this, s);
return s;
}
then(e, n) {
return this._waitForOutput().then(e, n);
}
_streamOut;
_streamErr;
spawn() {
let e = he(), n = this._options, r = {
...Ee,
...n.nodeOptions
}, s = [];
this._resetState(), n.timeout !== void 0 && s.push(AbortSignal.timeout(n.timeout)), n.signal !== void 0 && s.push(n.signal), n.persist === !0 && (r.detached = !0), s.length > 0 && (r.signal = xe(s)), r.env = I(e, r.env);
let { command: o, args: i } = we(this._command, this._args), a = (0, Pt._parse)(o, i, r), c = de(
a.command,
a.args,
a.options
);
if (c.stderr && (this._streamErr = c.stderr), c.stdout && (this._streamOut = c.stdout), this._process = c, c.once("error", this._onError), c.once("close", this._onClose), n.stdin !== void 0 && c.stdin && n.stdin.process) {
let { stdout: u } = n.stdin.process;
u && u.pipe(c.stdin);
}
}
_resetState() {
this._aborted = !1, this._processClosed = new Promise((e) => {
this._resolveClose = e;
}), this._thrownError = void 0;
}
_onError = (e) => {
if (e.name === "AbortError" && (!(e.cause instanceof Error) || e.cause.name !== "TimeoutError")) {
this._aborted = !0;
return;
}
this._thrownError = e;
};
_onClose = () => {
this._resolveClose && this._resolveClose();
};
}, ve = (t, e, n) => {
let r = new R(t, e, n);
return r.spawn(), r;
}, be = ve;
export {
R as ExecProcess,
x as NonZeroExitError,
be as exec,
ve as x
};
@@ -0,0 +1,2 @@
import type { LibDefinition } from '../variable';
export declare const es2021_intl: LibDefinition;
@@ -0,0 +1 @@
{"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;;;;;AAcM,SAAS,0CAAe,IAAwB;IACrD,OAAQ;QACN,KAAK;YACH,OAAO,IAAI,CAAA,GAAA,0CAAe;QAC5B,KAAK;YACH,OAAO,IAAI,CAAA,GAAA,0CAAe;QAC5B,KAAK;YACH,OAAO,IAAI,CAAA,GAAA,mDAAwB;QACrC,KAAK;YACH,OAAO,IAAI,CAAA,GAAA,wCAAa;QAC1B,KAAK;YACH,OAAO,IAAI,CAAA,GAAA,wCAAa;QAC1B,KAAK;YACH,OAAO,IAAI,CAAA,GAAA,wCAAa;QAC1B,KAAK;YACH,OAAO,IAAI,CAAA,GAAA,8CAAmB;QAChC,KAAK;YACH,OAAO,IAAI,CAAA,GAAA,gDAAqB;QAClC,KAAK;YACH,OAAO,IAAI,CAAA,GAAA,iDAAsB;QACnC,KAAK;YACH,OAAO,IAAI,CAAA,GAAA,0CAAe;QAC5B,KAAK;YACH,OAAO,IAAI,CAAA,GAAA,yCAAc;QAC3B,KAAK;YACH,OAAO,IAAI,CAAA,GAAA,wCAAa;QAC1B,KAAK;QACL;YACE,OAAO,IAAI,CAAA,GAAA,2CAAgB;IAC/B;AACF","sources":["packages/@internationalized/date/src/createCalendar.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {BuddhistCalendar} from './calendars/BuddhistCalendar';\nimport {Calendar, CalendarIdentifier} from './types';\nimport {CopticCalendar, EthiopicAmeteAlemCalendar, EthiopicCalendar} from './calendars/EthiopicCalendar';\nimport {GregorianCalendar} from './calendars/GregorianCalendar';\nimport {HebrewCalendar} from './calendars/HebrewCalendar';\nimport {IndianCalendar} from './calendars/IndianCalendar';\nimport {IslamicCivilCalendar, IslamicTabularCalendar, IslamicUmalquraCalendar} from './calendars/IslamicCalendar';\nimport {JapaneseCalendar} from './calendars/JapaneseCalendar';\nimport {PersianCalendar} from './calendars/PersianCalendar';\nimport {TaiwanCalendar} from './calendars/TaiwanCalendar';\n\n/** Creates a `Calendar` instance from a Unicode calendar identifier string. */\nexport function createCalendar(name: CalendarIdentifier): Calendar {\n switch (name) {\n case 'buddhist':\n return new BuddhistCalendar();\n case 'ethiopic':\n return new EthiopicCalendar();\n case 'ethioaa':\n return new EthiopicAmeteAlemCalendar();\n case 'coptic':\n return new CopticCalendar();\n case 'hebrew':\n return new HebrewCalendar();\n case 'indian':\n return new IndianCalendar();\n case 'islamic-civil':\n return new IslamicCivilCalendar();\n case 'islamic-tbla':\n return new IslamicTabularCalendar();\n case 'islamic-umalqura':\n return new IslamicUmalquraCalendar();\n case 'japanese':\n return new JapaneseCalendar();\n case 'persian':\n return new PersianCalendar();\n case 'roc':\n return new TaiwanCalendar();\n case 'gregory':\n default:\n return new GregorianCalendar();\n }\n}\n"],"names":[],"version":3,"file":"createCalendar.main.js.map"}
@@ -0,0 +1,37 @@
"use client";
"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// src/modal-context.ts
var modal_context_exports = {};
__export(modal_context_exports, {
ModalProvider: () => ModalProvider,
useModalContext: () => useModalContext
});
module.exports = __toCommonJS(modal_context_exports);
var import_react_utils = require("@heroui/react-utils");
var [ModalProvider, useModalContext] = (0, import_react_utils.createContext)({
name: "ModalContext",
errorMessage: "useModalContext: `context` is undefined. Seems you forgot to wrap all popover components within `<Modal />`"
});
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
ModalProvider,
useModalContext
});
@@ -0,0 +1 @@
{"name":"chokidar","version":"3.6.0","requiresBuild":false,"files":{"LICENSE":{"checkedAt":1794532102496,"integrity":"sha512-ggsqGO01HdjtHwG0G5OpQLw3Iuk6P6+OFiv2ljykADNDq9IoNfzrC52xLpHwqhcScm/jlevDg4QzLis28gPs1g==","mode":420,"size":1129},"lib/constants.js":{"checkedAt":1794532102496,"integrity":"sha512-aOD4ZJIJyNMdf6ncxyIEYDWAtWwzP4cpSz7PBjvSTWL+ZCPLwqplxDlnsM3RGl5rijz3Vv6I0Ftchi5cHEJsLg==","mode":420,"size":1878},"lib/fsevents-handler.js":{"checkedAt":1794532102497,"integrity":"sha512-Pwc+JfbOzaMp/l+YNncPFfOdlQzPg0YqiWlKo0IVKjVtwWjf+CUbnLzUrsEGGFFQ5MnvcA1kOaKCdd40Y0T5Sw==","mode":420,"size":16368},"index.js":{"checkedAt":1794532102497,"integrity":"sha512-DYkxxylkC85v2ma5G9Y1ZDNmn2tsqveybvgdNyImrM/C4XlunNTYVXPFRgl4CT8WxmnDukXk2VVFwnY7aqAamQ==","mode":420,"size":28379},"lib/nodefs-handler.js":{"checkedAt":1794532102497,"integrity":"sha512-Yn34I3CQTMcylWunYpo28W81O6BvoD6sggWJg8B5bke50Mm3FEIkvl/9n5OzNQzdmslo5kSl6CMzaFPYQ/dBRQ==","mode":420,"size":20067},"package.json":{"checkedAt":1794532102497,"integrity":"sha512-xO1tUiw0EspMEABk6f71SbHHqGtBJ80vuYRotNUF9sebwLm7U5yjdfNU/HXrviANX4E4RaNvVPWYbj5j6pfqOg==","mode":420,"size":1648},"README.md":{"checkedAt":1794532102497,"integrity":"sha512-MiXXQG9aG/vCKT4evUgIye3o4GsdsHisAxIJoNGnX2At1RhZXXBkZLbOwiaQITXs0DFeWmjK4VrWzY/HVjIquQ==","mode":420,"size":14392},"types/index.d.ts":{"checkedAt":1794532102498,"integrity":"sha512-1Jr8lPyhv0kIIGfQSEHZ4MXDQ9xnJFD1NQnYqF2Dc84Ic6rWlTaymc3SFVJ7puVQlSSwxtyJbOpd7ku8L7UdrQ==","mode":420,"size":6339}}}
@@ -0,0 +1,22 @@
import { FormProps as FormProps$1 } from '@react-types/form';
import { DOMProps, ContextValue } from './utils.mjs';
import React__default from 'react';
import '@react-types/shared';
interface FormProps extends FormProps$1, DOMProps {
/**
* Whether to use native HTML form validation to prevent form submission
* when a field value is missing or invalid, or mark fields as required
* or invalid via ARIA.
* @default 'native'
*/
validationBehavior?: "aria" | "native";
}
declare const FormContext: React__default.Context<ContextValue<FormProps, HTMLFormElement>>;
/**
* A form is a group of inputs that allows users to submit data to a server,
* with support for providing field validation errors.
*/
declare const Form: React__default.ForwardRefExoticComponent<FormProps & React__default.RefAttributes<HTMLFormElement>>;
export { Form, FormContext, type FormProps };
@@ -0,0 +1,28 @@
import { Ensure } from '../helpers/index';
import type { SchemaOptions, TSchema } from '../schema/index';
import type { Static } from '../static/index';
import { Kind } from '../symbols/index';
export interface ArrayOptions extends SchemaOptions {
/** The minimum number of items in this array */
minItems?: number;
/** The maximum number of items in this array */
maxItems?: number;
/** Should this schema contain unique items */
uniqueItems?: boolean;
/** A schema for which some elements should match */
contains?: TSchema;
/** A minimum number of contains schema matches */
minContains?: number;
/** A maximum number of contains schema matches */
maxContains?: number;
}
type ArrayStatic<T extends TSchema, P extends unknown[]> = Ensure<Static<T, P>[]>;
export interface TArray<T extends TSchema = TSchema> extends TSchema, ArrayOptions {
[Kind]: 'Array';
static: ArrayStatic<T, this['params']>;
type: 'array';
items: T;
}
/** `[Json]` Creates an Array type */
export declare function Array<Type extends TSchema>(items: Type, options?: ArrayOptions): TArray<Type>;
export {};
@@ -0,0 +1,45 @@
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || (function () {
var ownKeys = function(o) {
ownKeys = Object.getOwnPropertyNames || function (o) {
var ar = [];
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
};
return function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
__setModuleDefault(result, mod);
return result;
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.checkNullishAndReport = checkNullishAndReport;
const type_utils_1 = require("@typescript-eslint/type-utils");
const ts_api_utils_1 = require("ts-api-utils");
const ts = __importStar(require("typescript"));
function checkNullishAndReport(context, parserServices, { requireNullish }, maybeNullishNodes, descriptor) {
if (!requireNullish ||
maybeNullishNodes.some(node => (0, ts_api_utils_1.unionConstituents)(parserServices.getTypeAtLocation(node)).some(t => (0, type_utils_1.isTypeFlagSet)(t, ts.TypeFlags.Null | ts.TypeFlags.Undefined)))) {
context.report(descriptor);
}
}
@@ -0,0 +1,33 @@
import {getChildNodes as $c5a24bc478652b5f$export$1005530eda016c13} from "./getChildNodes.module.js";
/*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/
const $453cc9f0df89c0a5$var$cache = new WeakMap();
function $453cc9f0df89c0a5$export$77d5aafae4e095b2(collection) {
let count = $453cc9f0df89c0a5$var$cache.get(collection);
if (count != null) return count;
// TS isn't smart enough to know we've ensured count is a number, so use a new variable
let counter = 0;
let countItems = (items)=>{
for (let item of items){
if (item.type === 'section') countItems((0, $c5a24bc478652b5f$export$1005530eda016c13)(item, collection));
else if (item.type === 'item') counter++;
}
};
countItems(collection);
$453cc9f0df89c0a5$var$cache.set(collection, counter);
return counter;
}
export {$453cc9f0df89c0a5$export$77d5aafae4e095b2 as getItemCount};
//# sourceMappingURL=getItemCount.module.js.map
@@ -0,0 +1,38 @@
"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// src/index.ts
var src_exports = {};
__export(src_exports, {
useIsMobile: () => useIsMobile
});
module.exports = __toCommonJS(src_exports);
var import_ssr = require("@react-aria/ssr");
var MOBILE_SCREEN_WIDTH = 700;
function useIsMobile() {
let isSSR = (0, import_ssr.useIsSSR)();
if (isSSR || typeof window === "undefined") {
return false;
}
return window.screen.width <= MOBILE_SCREEN_WIDTH;
}
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
useIsMobile
});
@@ -0,0 +1,10 @@
import { HasTransform, TransformDecode, TransformDecodeCheckError } from '../transform/index.mjs';
import { Check } from '../check/index.mjs';
import { Errors } from '../../errors/index.mjs';
/** Decodes a value or throws if error */
export function Decode(...args) {
const [schema, references, value] = args.length === 3 ? [args[0], args[1], args[2]] : [args[0], [], args[1]];
if (!Check(schema, references, value))
throw new TransformDecodeCheckError(schema, value, Errors(schema, references, value).First());
return HasTransform(schema, references) ? TransformDecode(schema, references, value) : value;
}
@@ -0,0 +1 @@
module.exports={C:{"4":0.00217,"43":0.00217,"57":0.00217,"60":0.00217,"72":0.00652,"77":0.00217,"85":0.00217,"100":0.00435,"109":0.00869,"115":0.06519,"127":0.01304,"128":0.00435,"129":0.00652,"131":0.00217,"137":0.00217,"138":0.00217,"139":0.01087,"140":0.0239,"141":0.00869,"142":0.01521,"143":0.50631,"144":0.48675,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 44 45 46 47 48 49 50 51 52 53 54 55 56 58 59 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 78 79 80 81 82 83 84 86 87 88 89 90 91 92 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 112 113 114 116 117 118 119 120 121 122 123 124 125 126 130 132 133 134 135 136 145 146 147 3.5 3.6"},D:{"39":0.00217,"40":0.00217,"41":0.00652,"42":0.00217,"43":0.00652,"44":0.00217,"45":0.00435,"46":0.00435,"47":0.00435,"48":0.00217,"49":0.00652,"50":0.00435,"51":0.00435,"52":0.00217,"53":0.00652,"54":0.00435,"55":0.00435,"56":0.00869,"57":0.00435,"58":0.00435,"59":0.00652,"60":0.00435,"62":0.00217,"65":0.00435,"66":0.00217,"68":0.00217,"69":0.00652,"70":0.00217,"72":0.00869,"73":0.00652,"74":0.00435,"75":0.00435,"76":0.00217,"77":0.00217,"79":0.01304,"80":0.00435,"81":0.00217,"83":0.00217,"84":0.00217,"85":0.00217,"86":0.00217,"87":0.01521,"91":0.00652,"92":0.00435,"93":0.00217,"95":0.00217,"98":0.00869,"99":0.00435,"103":0.00869,"105":0.00217,"106":0.00217,"107":0.00435,"109":0.1043,"110":0.00435,"111":0.00435,"112":2.07739,"113":0.00217,"114":0.01304,"116":0.00869,"117":0.00217,"119":0.01087,"120":0.00869,"122":0.01304,"123":0.03477,"124":0.00217,"125":1.0626,"126":0.21513,"127":0.00435,"128":0.05433,"129":0.00435,"130":0.01521,"131":0.04998,"132":0.01521,"133":0.01956,"134":0.01738,"135":0.04346,"136":0.01738,"137":0.0326,"138":0.19992,"139":0.15646,"140":1.47764,"141":3.44203,"142":0.04781,"143":0.00217,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 61 63 64 67 71 78 88 89 90 94 96 97 100 101 102 104 108 115 118 121 144 145"},F:{"64":0.02608,"91":0.00869,"92":0.00217,"95":0.01304,"106":0.00217,"113":0.00217,"114":0.00435,"120":0.04563,"121":0.01087,"122":0.3781,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 93 94 96 97 98 99 100 101 102 103 104 105 107 108 109 110 111 112 115 116 117 118 119 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"12":0.00217,"13":0.00217,"14":0.00217,"16":0.01087,"17":0.00652,"18":0.01304,"84":0.00217,"89":0.01087,"90":0.01956,"92":0.06084,"95":0.00217,"100":0.00869,"109":0.00435,"112":0.00217,"114":0.10213,"116":0.00217,"121":0.00217,"122":0.01087,"124":0.00217,"126":0.00217,"128":0.00217,"131":0.00435,"133":0.00435,"134":0.00435,"135":0.00217,"136":0.03042,"137":0.00869,"138":0.03042,"139":0.04563,"140":0.31726,"141":1.38203,"142":0.00217,_:"15 79 80 81 83 85 86 87 88 91 93 94 96 97 98 99 101 102 103 104 105 106 107 108 110 111 113 115 117 118 119 120 123 125 127 129 130 132"},E:{"7":0.00435,"13":0.00869,_:"0 4 5 6 8 9 10 11 12 14 15 3.1 3.2 6.1 7.1 9.1 10.1 15.1 15.2-15.3 15.5 16.0 16.1 16.2 16.3 17.0 17.1 17.3 17.4 18.0 18.2 26.2","5.1":0.00869,"11.1":0.01304,"12.1":0.01087,"13.1":0.02173,"14.1":0.00217,"15.4":0.00217,"15.6":0.06519,"16.4":0.00217,"16.5":0.00217,"16.6":0.02825,"17.2":0.00217,"17.5":0.00435,"17.6":0.04129,"18.1":0.01521,"18.3":0.00435,"18.4":0.00217,"18.5-18.6":0.01521,"26.0":0.11952,"26.1":0.00435},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00061,"5.0-5.1":0,"6.0-6.1":0.00245,"7.0-7.1":0.00184,"8.1-8.4":0,"9.0-9.2":0,"9.3":0.00552,"10.0-10.2":0.00061,"10.3":0.01042,"11.0-11.2":0.15444,"11.3-11.4":0.00368,"12.0-12.1":0.00123,"12.2-12.5":0.03003,"13.0-13.1":0,"13.2":0.00306,"13.3":0.00123,"13.4-13.7":0.0049,"14.0-14.4":0.01042,"14.5-14.8":0.01103,"15.0-15.1":0.01042,"15.2-15.3":0.00797,"15.4":0.00919,"15.5":0.01042,"15.6-15.8":0.13605,"16.0":0.01839,"16.1":0.03432,"16.2":0.01777,"16.3":0.03187,"16.4":0.00797,"16.5":0.0141,"16.6-16.7":0.18202,"17.0":0.01287,"17.1":0.01961,"17.2":0.0141,"17.3":0.02084,"17.4":0.03677,"17.5":0.06312,"17.6-17.7":0.15934,"18.0":0.03616,"18.1":0.07477,"18.2":0.04045,"18.3":0.12993,"18.4":0.0668,"18.5-18.6":3.40624,"26.0":0.42103,"26.1":0.01532},P:{"21":0.01024,"22":0.03071,"23":0.174,"24":0.12282,"25":0.12282,"26":0.06141,"27":0.28659,"28":1.03377,"29":0.04094,_:"4 20 6.2-6.4 8.2 9.2 10.1 12.0 13.0 14.0 15.0 16.0 17.0 18.0","5.0-5.4":0.01024,"7.2-7.4":0.08188,"11.1-11.2":0.01024,"19.0":0.01024},I:{"0":0.0469,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00002},K:{"0":0.79228,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00435,_:"6 7 8 9 10 5.5"},S:{"2.5":0.00783,_:"3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},R:{_:"0"},M:{"0":0.05479},Q:{"14.9":0.04696},O:{"0":0.15654},H:{"0":0.1},L:{"0":75.97907}};
@@ -0,0 +1,15 @@
'use strict';
var callBound = require('call-bound');
var $replace = callBound('String.prototype.replace');
var mvsIsWS = (/^\s$/).test('\u180E');
/* eslint-disable no-control-regex */
var endWhitespace = mvsIsWS
? /[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/
: /[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/;
/* eslint-enable no-control-regex */
module.exports = function trimEnd() {
return $replace(this, endWhitespace, '');
};
@@ -0,0 +1,2 @@
declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<"end", [], import("../utils/create-rule.ts").ImportXPluginDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
export default _default;
@@ -0,0 +1 @@
module.exports={A:{A:{"2":"K D E F A B wC"},B:{"1":"0 1 2 3 4 5 o p q r s t u v w x y z GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB I","2":"C L M G N O P","194":"Q H R S T U","260":"V W X Y Z a b c d e f g h i j k l m n"},C:{"2":"0 1 2 3 4 5 6 7 8 9 xC TC J ZB K D E F A B C L M G N O P aB AB BB CB DB EB FB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B UC 4B VC 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC Q H R WC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB I XC MC YC yC zC 0C 1C"},D:{"1":"0 1 2 3 4 5 o p q r s t u v w x y z GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB I XC MC YC","2":"6 7 8 9 J ZB K D E F A B C L M G N O P aB AB BB CB DB EB FB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B UC 4B VC 5B 6B 7B 8B 9B AC BC CC DC EC FC GC","194":"HC IC JC KC LC Q H R S T U","260":"V W X Y Z a b c d e f g h i j k l m n"},E:{"2":"J ZB K D E F A B C L M G 2C ZC 3C 4C 5C 6C aC NC OC 7C 8C 9C bC cC PC AD QC dC eC fC gC hC BD RC iC jC kC lC mC CD SC nC oC pC qC rC sC tC DD ED"},F:{"1":"0 1 2 3 4 5 a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"6 7 8 9 F B C G N O P aB AB BB CB DB EB FB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B FD GD HD ID NC uC JD OC","194":"5B 6B 7B 8B 9B AC BC CC DC EC","260":"FC GC HC IC JC KC LC Q H R WC S T U V W X Y Z"},G:{"2":"E ZC KD vC LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD aD bD cD dD bC cC PC eD QC dC eC fC gC hC fD RC iC jC kC lC mC gD SC nC oC pC qC rC sC tC"},H:{"2":"hD"},I:{"2":"TC J I iD jD kD lD vC mD nD"},J:{"2":"D A"},K:{"2":"A B C H NC uC OC"},L:{"2":"I"},M:{"2":"MC"},N:{"2":"A B"},O:{"2":"PC"},P:{"2":"6 7 8 9 J AB BB CB DB EB FB oD pD qD rD sD aC tD uD vD wD xD QC RC SC yD"},Q:{"2":"zD"},R:{"2":"0D"},S:{"2":"1D 2D"}},B:7,C:"File System Access API",D:true};
@@ -0,0 +1,32 @@
"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// src/demi/react18/getInertValue.ts
var getInertValue_exports = {};
__export(getInertValue_exports, {
getInertValue: () => getInertValue
});
module.exports = __toCommonJS(getInertValue_exports);
var getInertValue = (v) => {
return v ? "" : void 0;
};
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
getInertValue
});
@@ -0,0 +1,17 @@
var $c28c98d58ee9ff6f$exports = {};
$c28c98d58ee9ff6f$exports = {
"deselectedItem": (args)=>`${args.item} n\xe3o selecionado.`,
"longPressToSelect": `Mantenha pressionado para entrar no modo de sele\xe7\xe3o.`,
"select": `Selecionar`,
"selectedAll": `Todos os itens selecionados.`,
"selectedCount": (args, formatter)=>`${formatter.plural(args.count, {
"=0": `Nenhum item selecionado`,
one: ()=>`${formatter.number(args.count)} item selecionado`,
other: ()=>`${formatter.number(args.count)} itens selecionados`
})}.`,
"selectedItem": (args)=>`${args.item} selecionado.`
};
export {$c28c98d58ee9ff6f$exports as default};
//# sourceMappingURL=pt-BR.module.js.map
@@ -0,0 +1 @@
{"name":"function-bind","version":"1.1.2","requiresBuild":false,"files":{".eslintrc":{"checkedAt":1794532089291,"integrity":"sha512-+P8+jyEG1Qij5vVw4QSPHd9VgCrkuSyHc6eLKwhZ68T39NUF0wmKhjDy5DYokRr0aYk3BHYUzPPtZbzMYl9NIA==","mode":420,"size":253},"test/.eslintrc":{"checkedAt":1794532089291,"integrity":"sha512-u0bDlhyxIq20wKmwiKK40D2c/vZOKPkMB43bLgmV3Vonp1q3peE+Aqi+zY+f9UdHqe3/tUtovh7Ul01HmWnVvA==","mode":420,"size":176},".nycrc":{"checkedAt":1794532089292,"integrity":"sha512-42sgwWzusJB1Dzhl78jX/Zg65Oi0HDDMOGXS/Uklv1kCYn4fHtRsD/JFPwdu+d40vome9XdUspzRWEQAcTGEeQ==","mode":420,"size":216},"LICENSE":{"checkedAt":1794532089292,"integrity":"sha512-DP736TUvxRfO5k0dKGb3amZTZVVIPs9+rz0VjoAN54f92zXRiVXm6NWjnKKpE0dmT2Ejf1lX81mVnduJW7cigw==","mode":420,"size":1052},"implementation.js":{"checkedAt":1794532089292,"integrity":"sha512-6EJ4RotKZT5AjgSDaJmQntjlyUIlltJe/zXWJ/UTb64Bn/pojdX8hTQ928oC47enmOP0b5QM6aZCiuyNfBGpBA==","mode":420,"size":2043},"index.js":{"checkedAt":1794532089292,"integrity":"sha512-nQ+tiyupbZSI41R2+fR8oNgaLdcAL47y7yVj+GF4mm8ElZCwvvIybC5RPp4evwBdcf7W+PbNVPkbdt6QMGVPPQ==","mode":420,"size":126},"test/index.js":{"checkedAt":1794532089292,"integrity":"sha512-m5Gb3Fr1E/8jhpUcum2j1d6dZtkHxNUCeIBZu1i1GPZm/WxfBENh1iUZEtVPhCpcMef8jvauBPHYnWjjgHHVIA==","mode":420,"size":8991},"package.json":{"checkedAt":1794532089293,"integrity":"sha512-ZLnCZk3AOCaksD5Q/nOgLHqijoZLU3zYNN/j8FxOMdsy5LN4nXu6pTHAGNmmA1QHtIee3rm0kngZid+TLjsbmw==","mode":420,"size":2262},"CHANGELOG.md":{"checkedAt":1794532089293,"integrity":"sha512-edKiD3Ufd/ABPriNdnU0XYb8ELgsgbyKHPf3rnEyOyx0froeU5kTYMqXpFZO9s0RTr12U+gWZUIPUVH9bdCuQA==","mode":420,"size":13812},"README.md":{"checkedAt":1794532089293,"integrity":"sha512-lJiWwHP/3jcjd+1L7l/cWM1GQvCanR9BV3/qUguC8pGGB0bUbGIkvS7bGRVVYcoP4trbPyTQIPms2oTkGEcUIQ==","mode":420,"size":1755},".github/SECURITY.md":{"checkedAt":1794532089293,"integrity":"sha512-snVKwoCFWKOPLXBcd2Z34hAPkUJmhJz5IhRQTIuPIQiJsTEH+++4CUjoxTGdAXAEUO+Bx31WW/vnb0rjSRQMPA==","mode":420,"size":157},".github/FUNDING.yml":{"checkedAt":1794532089293,"integrity":"sha512-vTRjNcd2E7+H0mx7juJINgA0uAph8c6FO2Oj/4RS62RQZmltVLLU90qb+MUTOGEmlqoJd9R9oPu31j5w8iM4Kw==","mode":420,"size":584}}}
@@ -0,0 +1,42 @@
#!/usr/bin/env node
const fs = require('fs')
const path = require('path')
const readline = require('readline')
const flat = require('./index')
const filepath = process.argv.slice(2)[0]
if (filepath) {
// Read from file
const file = path.resolve(process.cwd(), filepath)
fs.accessSync(file, fs.constants.R_OK) // allow to throw if not readable
out(require(file))
} else if (process.stdin.isTTY) {
usage(0)
} else {
// Read from newline-delimited STDIN
const lines = []
readline.createInterface({
input: process.stdin,
output: process.stdout,
terminal: false
})
.on('line', line => lines.push(line))
.on('close', () => out(JSON.parse(lines.join('\n'))))
}
function out (data) {
process.stdout.write(JSON.stringify(flat(data), null, 2))
}
function usage (code) {
console.log(`
Usage:
flat foo.json
cat foo.json | flat
`)
process.exit(code || 0)
}
@@ -0,0 +1 @@
module.exports={C:{"52":0.03879,"115":0.08867,"125":0.00554,"128":0.02771,"133":0.00554,"135":0.00554,"136":0.00554,"140":0.03879,"141":0.01663,"142":0.03325,"143":0.41011,"144":0.25493,"145":0.00554,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 124 126 127 129 130 131 132 134 137 138 139 146 147 3.5 3.6"},D:{"39":0.02217,"40":0.02217,"41":0.02217,"42":0.02771,"43":0.02217,"44":0.02217,"45":0.02217,"46":0.02217,"47":0.02217,"48":0.02217,"49":0.05542,"50":0.02217,"51":0.02771,"52":0.02217,"53":0.02217,"54":0.02217,"55":0.02217,"56":0.02217,"57":0.02771,"58":0.02217,"59":0.02771,"60":0.02217,"66":0.01108,"69":0.00554,"71":0.00554,"73":0.00554,"79":0.09976,"80":0.00554,"81":0.00554,"83":0.01108,"84":0.01108,"85":0.00554,"86":0.01108,"87":0.02771,"89":0.01108,"91":0.02217,"94":0.00554,"95":0.00554,"98":0.02217,"99":0.01108,"101":0.00554,"102":0.00554,"103":0.00554,"104":0.02217,"106":0.03325,"107":0.09976,"108":0.01663,"109":1.5961,"110":0.00554,"111":0.00554,"112":1.90645,"113":0.01108,"114":0.01108,"115":0.00554,"116":0.05542,"118":0.00554,"119":0.01663,"120":0.02217,"121":0.01663,"122":0.08313,"123":0.01108,"124":0.01663,"125":12.77985,"126":0.19951,"127":0.01663,"128":0.02217,"129":0.02771,"130":0.02217,"131":0.11084,"132":0.18289,"133":0.05542,"134":0.0665,"135":0.04434,"136":0.06096,"137":0.07759,"138":0.18843,"139":0.30481,"140":5.20948,"141":13.67211,"142":0.2106,"143":0.01108,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 61 62 63 64 65 67 68 70 72 74 75 76 77 78 88 90 92 93 96 97 100 105 117 144 145"},F:{"76":0.00554,"79":0.01108,"87":0.01108,"91":0.00554,"92":0.01108,"95":0.04434,"114":0.00554,"120":0.1053,"121":0.00554,"122":0.50986,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 77 78 80 81 82 83 84 85 86 88 89 90 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 115 116 117 118 119 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"14":0.00554,"17":0.00554,"18":0.02217,"89":0.00554,"92":0.03325,"100":0.00554,"108":0.00554,"109":0.01108,"114":1.29683,"115":0.00554,"120":0.00554,"122":0.01108,"124":0.00554,"125":0.00554,"129":0.00554,"130":0.00554,"131":0.02217,"132":0.01108,"133":0.01663,"134":0.01663,"135":0.02771,"136":0.01663,"137":0.01108,"138":0.01663,"139":0.02771,"140":0.43782,"141":2.31656,"142":0.00554,_:"12 13 15 16 79 80 81 83 84 85 86 87 88 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 110 111 112 113 116 117 118 119 121 123 126 127 128"},E:{_:"0 4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 6.1 7.1 9.1 10.1 11.1 12.1 13.1 14.1 15.1 15.2-15.3 15.4 15.5 16.0 16.1 16.2 16.4 16.5 17.0 17.2 26.2","5.1":0.01663,"15.6":0.02771,"16.3":0.00554,"16.6":0.02771,"17.1":0.00554,"17.3":0.00554,"17.4":0.01108,"17.5":0.01663,"17.6":0.03325,"18.0":0.00554,"18.1":0.01663,"18.2":0.01663,"18.3":0.01663,"18.4":0.00554,"18.5-18.6":0.04434,"26.0":0.22722,"26.1":0.00554},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00048,"5.0-5.1":0,"6.0-6.1":0.00192,"7.0-7.1":0.00144,"8.1-8.4":0,"9.0-9.2":0,"9.3":0.00431,"10.0-10.2":0.00048,"10.3":0.00815,"11.0-11.2":0.12074,"11.3-11.4":0.00287,"12.0-12.1":0.00096,"12.2-12.5":0.02348,"13.0-13.1":0,"13.2":0.0024,"13.3":0.00096,"13.4-13.7":0.00383,"14.0-14.4":0.00815,"14.5-14.8":0.00862,"15.0-15.1":0.00815,"15.2-15.3":0.00623,"15.4":0.00719,"15.5":0.00815,"15.6-15.8":0.10637,"16.0":0.01437,"16.1":0.02683,"16.2":0.01389,"16.3":0.02491,"16.4":0.00623,"16.5":0.01102,"16.6-16.7":0.1423,"17.0":0.01006,"17.1":0.01533,"17.2":0.01102,"17.3":0.01629,"17.4":0.02875,"17.5":0.04935,"17.6-17.7":0.12457,"18.0":0.02827,"18.1":0.05845,"18.2":0.03162,"18.3":0.10158,"18.4":0.05222,"18.5-18.6":2.66299,"26.0":0.32916,"26.1":0.01198},P:{"4":0.07149,"20":0.01021,"21":0.01021,"22":0.01021,"23":0.02043,"24":0.03064,"25":0.06128,"26":0.06128,"27":0.10213,"28":1.19491,"29":0.06128,_:"5.0-5.4 8.2 9.2 10.1 12.0 15.0 16.0 18.0 19.0","6.2-6.4":0.02043,"7.2-7.4":0.0817,"11.1-11.2":0.02043,"13.0":0.01021,"14.0":0.01021,"17.0":0.01021},I:{"0":0.0089,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":0.62844,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.02217,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},N:{_:"10 11"},R:{_:"0"},M:{"0":0.08914},Q:{"14.9":0.01337},O:{"0":0.94934},H:{"0":0},L:{"0":39.32668}};
@@ -0,0 +1,40 @@
{
"name": "synckit",
"version": "0.9.3",
"type": "module",
"description": "Perform async work synchronously in Node.js using `worker_threads` with first-class TypeScript support.",
"repository": "git+https://github.com/un-ts/synckit.git",
"author": "JounQin (https://www.1stG.me) <admin@1stg.me>",
"funding": "https://opencollective.com/unts",
"license": "MIT",
"engines": {
"node": "^14.18.0 || >=16.0.0"
},
"main": "./lib/index.cjs",
"module": "./lib/index.js",
"exports": {
"types": "./lib/index.d.ts",
"import": "./lib/index.js",
"require": "./lib/index.cjs"
},
"types": "./lib/index.d.ts",
"files": [
"lib",
"!**/*.tsbuildinfo"
],
"keywords": [
"deasync",
"make-synchronized",
"make-synchronous",
"sync",
"sync-exec",
"sync-rpc",
"sync-threads",
"synchronize",
"synckit"
],
"dependencies": {
"@pkgr/core": "^0.1.0",
"tslib": "^2.6.2"
}
}
@@ -0,0 +1,139 @@
// Copied directly from:
// https://github.com/mridgway/hoist-non-react-statics/blob/main/src/index.js
// https://unpkg.com/browse/@types/hoist-non-react-statics@3.3.6/index.d.ts
/**
* Copyright 2015, Yahoo! Inc.
* Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
*/
import type { ForwardRefExoticComponent, MemoExoticComponent } from 'react'
import { ForwardRef, Memo, isMemo } from '../utils/react-is'
const REACT_STATICS = {
childContextTypes: true,
contextType: true,
contextTypes: true,
defaultProps: true,
displayName: true,
getDefaultProps: true,
getDerivedStateFromError: true,
getDerivedStateFromProps: true,
mixins: true,
propTypes: true,
type: true,
} as const
const KNOWN_STATICS = {
name: true,
length: true,
prototype: true,
caller: true,
callee: true,
arguments: true,
arity: true,
} as const
const FORWARD_REF_STATICS = {
$$typeof: true,
render: true,
defaultProps: true,
displayName: true,
propTypes: true,
} as const
const MEMO_STATICS = {
$$typeof: true,
compare: true,
defaultProps: true,
displayName: true,
propTypes: true,
type: true,
} as const
const TYPE_STATICS = {
[ForwardRef]: FORWARD_REF_STATICS,
[Memo]: MEMO_STATICS,
} as const
function getStatics(component: any) {
// React v16.11 and below
if (isMemo(component)) {
return MEMO_STATICS
}
// React v16.12 and above
return TYPE_STATICS[component['$$typeof']] || REACT_STATICS
}
export type NonReactStatics<
Source,
C extends {
[key: string]: true
} = {},
> = {
[key in Exclude<
keyof Source,
Source extends MemoExoticComponent<any>
? keyof typeof MEMO_STATICS | keyof C
: Source extends ForwardRefExoticComponent<any>
? keyof typeof FORWARD_REF_STATICS | keyof C
: keyof typeof REACT_STATICS | keyof typeof KNOWN_STATICS | keyof C
>]: Source[key]
}
const defineProperty = Object.defineProperty
const getOwnPropertyNames = Object.getOwnPropertyNames
const getOwnPropertySymbols = Object.getOwnPropertySymbols
const getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor
const getPrototypeOf = Object.getPrototypeOf
const objectPrototype = Object.prototype
export default function hoistNonReactStatics<
Target,
Source,
CustomStatic extends {
[key: string]: true
} = {},
>(
targetComponent: Target,
sourceComponent: Source,
): Target & NonReactStatics<Source, CustomStatic> {
if (typeof sourceComponent !== 'string') {
// don't hoist over string (html) components
if (objectPrototype) {
const inheritedComponent = getPrototypeOf(sourceComponent)
if (inheritedComponent && inheritedComponent !== objectPrototype) {
hoistNonReactStatics(targetComponent, inheritedComponent)
}
}
let keys: (string | symbol)[] = getOwnPropertyNames(sourceComponent)
if (getOwnPropertySymbols) {
keys = keys.concat(getOwnPropertySymbols(sourceComponent))
}
const targetStatics = getStatics(targetComponent)
const sourceStatics = getStatics(sourceComponent)
for (let i = 0; i < keys.length; ++i) {
const key = keys[i]
if (
!KNOWN_STATICS[key as keyof typeof KNOWN_STATICS] &&
!(sourceStatics && sourceStatics[key as keyof typeof sourceStatics]) &&
!(targetStatics && targetStatics[key as keyof typeof targetStatics])
) {
const descriptor = getOwnPropertyDescriptor(sourceComponent, key)
try {
// Avoid failures from read-only properties
defineProperty(targetComponent, key, descriptor!)
} catch (e) {
// ignore
}
}
}
}
return targetComponent as any
}
@@ -0,0 +1 @@
{"version":3,"file":"unixTerminal.test.js","sourceRoot":"","sources":["../src/unixTerminal.test.ts"],"names":[],"mappings":"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 truncated
@@ -0,0 +1,4 @@
declare module 'fast-json-stable-stringify' {
function stringify(obj: any): string;
export = stringify;
}
@@ -0,0 +1,94 @@
# delegates
Node method and accessor delegation utilty.
## Installation
```
$ npm install delegates
```
## Example
```js
var delegate = require('delegates');
...
delegate(proto, 'request')
.method('acceptsLanguages')
.method('acceptsEncodings')
.method('acceptsCharsets')
.method('accepts')
.method('is')
.access('querystring')
.access('idempotent')
.access('socket')
.access('length')
.access('query')
.access('search')
.access('status')
.access('method')
.access('path')
.access('body')
.access('host')
.access('url')
.getter('subdomains')
.getter('protocol')
.getter('header')
.getter('stale')
.getter('fresh')
.getter('secure')
.getter('ips')
.getter('ip')
```
# API
## Delegate(proto, prop)
Creates a delegator instance used to configure using the `prop` on the given
`proto` object. (which is usually a prototype)
## Delegate#method(name)
Allows the given method `name` to be accessed on the host.
## Delegate#getter(name)
Creates a "getter" for the property with the given `name` on the delegated
object.
## Delegate#setter(name)
Creates a "setter" for the property with the given `name` on the delegated
object.
## Delegate#access(name)
Creates an "accessor" (ie: both getter *and* setter) for the property with the
given `name` on the delegated object.
## Delegate#fluent(name)
A unique type of "accessor" that works for a "fluent" API. When called as a
getter, the method returns the expected value. However, if the method is called
with a value, it will return itself so it can be chained. For example:
```js
delegate(proto, 'request')
.fluent('query')
// getter
var q = request.query();
// setter (chainable)
request
.query({ a: 1 })
.query({ b: 2 });
```
# License
MIT
@@ -0,0 +1,28 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = _regeneratorKeys;
function _regeneratorKeys(val) {
var object = Object(val);
var keys = [];
var key;
for (var key in object) {
keys.unshift(key);
}
return function next() {
while (keys.length) {
key = keys.pop();
if (key in object) {
next.value = key;
next.done = false;
return next;
}
}
next.done = true;
return next;
};
}
//# sourceMappingURL=regeneratorKeys.js.map
@@ -0,0 +1,7 @@
"use client";
import {
LinkIcon
} from "./chunk-7LH7ZARU.mjs";
export {
LinkIcon
};
@@ -0,0 +1,19 @@
'use strict';
import utils from '../utils.js';
import toFormData from './toFormData.js';
import platform from '../platform/index.js';
export default function toURLEncodedForm(data, options) {
return toFormData(data, new platform.classes.URLSearchParams(), {
visitor: function(value, key, path, helpers) {
if (platform.isNode && utils.isBuffer(value)) {
this.append(key, value.toString('base64'));
return false;
}
return helpers.defaultVisitor.apply(this, arguments);
},
...options
});
}
@@ -0,0 +1,98 @@
// Setting / Unsetting timeouts for every keystroke was a significant overhead
// Inspired from https://github.com/iostreamer-X/timeout-latch
export class TimeoutLatch {
private timeLeftMS: number;
private timeoutMS: number;
private isCancelled = false;
private isTimeExhausted = false;
private callbacks: Function[] = [];
constructor(callback: Function, timeoutMS: number) {
this.timeLeftMS = timeoutMS;
this.timeoutMS = timeoutMS;
this.callbacks.push(callback);
}
tick(): void {
if (!this.isCancelled && !this.isTimeExhausted) {
this.timeLeftMS--;
if (this.timeLeftMS <= 0) {
this.isTimeExhausted = true;
const callbacks = this.callbacks.slice();
this.callbacks.length = 0;
callbacks.forEach((callback) => {
try {
callback();
} catch (error) {
console.error('TimeoutLatch callback error:', error);
}
});
}
}
}
cancel(): void {
this.isCancelled = true;
this.callbacks.length = 0;
}
reset(): void {
this.timeLeftMS = this.timeoutMS;
this.isCancelled = false;
this.isTimeExhausted = false;
}
get isDone(): boolean {
return this.isCancelled || this.isTimeExhausted;
}
}
class Scheduler {
private interval: NodeJS.Timeout | null = null;
private latches = new Set<TimeoutLatch>();
add(latch: TimeoutLatch): void {
this.latches.add(latch);
this.start();
}
remove(latch: TimeoutLatch): void {
this.latches.delete(latch);
if (this.latches.size === 0) {
this.stop();
}
}
private start(): void {
if (this.interval === null) {
this.interval = setInterval(() => {
this.latches.forEach((latch) => {
latch.tick();
if (latch.isDone) {
this.remove(latch);
}
});
}, 1);
}
}
private stop(): void {
if (this.interval !== null) {
clearInterval(this.interval);
this.interval = null;
}
}
}
let globalScheduler: Scheduler | null = null;
export const getScheduler = (): Scheduler => {
if (typeof window === 'undefined') {
return new Scheduler();
}
if (!globalScheduler) {
globalScheduler = new Scheduler();
}
return globalScheduler;
};
@@ -0,0 +1,3 @@
declare const reflectApply: false | typeof Reflect.apply;
export = reflectApply;
@@ -0,0 +1,31 @@
{
"name": "@babel/helpers",
"version": "7.28.4",
"description": "Collection of helper functions used by Babel transforms.",
"author": "The Babel Team (https://babel.dev/team)",
"homepage": "https://babel.dev/docs/en/next/babel-helpers",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/babel/babel.git",
"directory": "packages/babel-helpers"
},
"main": "./lib/index.js",
"dependencies": {
"@babel/template": "^7.27.2",
"@babel/types": "^7.28.4"
},
"devDependencies": {
"@babel/generator": "^7.28.3",
"@babel/helper-plugin-test-runner": "^7.27.1",
"@babel/parser": "^7.28.4",
"regenerator-runtime": "^0.14.0"
},
"engines": {
"node": ">=6.9.0"
},
"type": "commonjs"
}
@@ -0,0 +1,16 @@
export interface CompatibleParser {
parseForESLint(text: string): {
ast: unknown;
scopeManager: unknown;
};
}
export interface CompatibleConfig {
name?: string;
rules?: object;
}
export type CompatibleConfigArray = CompatibleConfig[];
export interface CompatiblePlugin {
meta: {
name: string;
};
}
@@ -0,0 +1,339 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = generateMissingPluginMessage;
const pluginNameMap = {
asyncDoExpressions: {
syntax: {
name: "@babel/plugin-syntax-async-do-expressions",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-async-do-expressions"
}
},
decimal: {
syntax: {
name: "@babel/plugin-syntax-decimal",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-decimal"
}
},
decorators: {
syntax: {
name: "@babel/plugin-syntax-decorators",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-decorators"
},
transform: {
name: "@babel/plugin-proposal-decorators",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-decorators"
}
},
doExpressions: {
syntax: {
name: "@babel/plugin-syntax-do-expressions",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-do-expressions"
},
transform: {
name: "@babel/plugin-proposal-do-expressions",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-do-expressions"
}
},
exportDefaultFrom: {
syntax: {
name: "@babel/plugin-syntax-export-default-from",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-export-default-from"
},
transform: {
name: "@babel/plugin-proposal-export-default-from",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-export-default-from"
}
},
flow: {
syntax: {
name: "@babel/plugin-syntax-flow",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-flow"
},
transform: {
name: "@babel/preset-flow",
url: "https://github.com/babel/babel/tree/main/packages/babel-preset-flow"
}
},
functionBind: {
syntax: {
name: "@babel/plugin-syntax-function-bind",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-function-bind"
},
transform: {
name: "@babel/plugin-proposal-function-bind",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-function-bind"
}
},
functionSent: {
syntax: {
name: "@babel/plugin-syntax-function-sent",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-function-sent"
},
transform: {
name: "@babel/plugin-proposal-function-sent",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-function-sent"
}
},
jsx: {
syntax: {
name: "@babel/plugin-syntax-jsx",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-jsx"
},
transform: {
name: "@babel/preset-react",
url: "https://github.com/babel/babel/tree/main/packages/babel-preset-react"
}
},
pipelineOperator: {
syntax: {
name: "@babel/plugin-syntax-pipeline-operator",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-pipeline-operator"
},
transform: {
name: "@babel/plugin-proposal-pipeline-operator",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-pipeline-operator"
}
},
recordAndTuple: {
syntax: {
name: "@babel/plugin-syntax-record-and-tuple",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-record-and-tuple"
}
},
throwExpressions: {
syntax: {
name: "@babel/plugin-syntax-throw-expressions",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-throw-expressions"
},
transform: {
name: "@babel/plugin-proposal-throw-expressions",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-throw-expressions"
}
},
typescript: {
syntax: {
name: "@babel/plugin-syntax-typescript",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-typescript"
},
transform: {
name: "@babel/preset-typescript",
url: "https://github.com/babel/babel/tree/main/packages/babel-preset-typescript"
}
}
};
{
Object.assign(pluginNameMap, {
asyncGenerators: {
syntax: {
name: "@babel/plugin-syntax-async-generators",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-async-generators"
},
transform: {
name: "@babel/plugin-transform-async-generator-functions",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-async-generator-functions"
}
},
classProperties: {
syntax: {
name: "@babel/plugin-syntax-class-properties",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"
},
transform: {
name: "@babel/plugin-transform-class-properties",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-class-properties"
}
},
classPrivateProperties: {
syntax: {
name: "@babel/plugin-syntax-class-properties",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"
},
transform: {
name: "@babel/plugin-transform-class-properties",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-class-properties"
}
},
classPrivateMethods: {
syntax: {
name: "@babel/plugin-syntax-class-properties",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"
},
transform: {
name: "@babel/plugin-transform-private-methods",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-private-methods"
}
},
classStaticBlock: {
syntax: {
name: "@babel/plugin-syntax-class-static-block",
url: "https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-syntax-class-static-block"
},
transform: {
name: "@babel/plugin-transform-class-static-block",
url: "https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-class-static-block"
}
},
dynamicImport: {
syntax: {
name: "@babel/plugin-syntax-dynamic-import",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-dynamic-import"
}
},
exportNamespaceFrom: {
syntax: {
name: "@babel/plugin-syntax-export-namespace-from",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-export-namespace-from"
},
transform: {
name: "@babel/plugin-transform-export-namespace-from",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-export-namespace-from"
}
},
importAssertions: {
syntax: {
name: "@babel/plugin-syntax-import-assertions",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-assertions"
}
},
importAttributes: {
syntax: {
name: "@babel/plugin-syntax-import-attributes",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-attributes"
}
},
importMeta: {
syntax: {
name: "@babel/plugin-syntax-import-meta",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-meta"
}
},
logicalAssignment: {
syntax: {
name: "@babel/plugin-syntax-logical-assignment-operators",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-logical-assignment-operators"
},
transform: {
name: "@babel/plugin-transform-logical-assignment-operators",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-logical-assignment-operators"
}
},
moduleStringNames: {
syntax: {
name: "@babel/plugin-syntax-module-string-names",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-module-string-names"
}
},
numericSeparator: {
syntax: {
name: "@babel/plugin-syntax-numeric-separator",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-numeric-separator"
},
transform: {
name: "@babel/plugin-transform-numeric-separator",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-numeric-separator"
}
},
nullishCoalescingOperator: {
syntax: {
name: "@babel/plugin-syntax-nullish-coalescing-operator",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-nullish-coalescing-operator"
},
transform: {
name: "@babel/plugin-transform-nullish-coalescing-operator",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-nullish-coalescing-opearator"
}
},
objectRestSpread: {
syntax: {
name: "@babel/plugin-syntax-object-rest-spread",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-object-rest-spread"
},
transform: {
name: "@babel/plugin-transform-object-rest-spread",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-object-rest-spread"
}
},
optionalCatchBinding: {
syntax: {
name: "@babel/plugin-syntax-optional-catch-binding",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-optional-catch-binding"
},
transform: {
name: "@babel/plugin-transform-optional-catch-binding",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-optional-catch-binding"
}
},
optionalChaining: {
syntax: {
name: "@babel/plugin-syntax-optional-chaining",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-optional-chaining"
},
transform: {
name: "@babel/plugin-transform-optional-chaining",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-optional-chaining"
}
},
privateIn: {
syntax: {
name: "@babel/plugin-syntax-private-property-in-object",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-private-property-in-object"
},
transform: {
name: "@babel/plugin-transform-private-property-in-object",
url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-private-property-in-object"
}
},
regexpUnicodeSets: {
syntax: {
name: "@babel/plugin-syntax-unicode-sets-regex",
url: "https://github.com/babel/babel/blob/main/packages/babel-plugin-syntax-unicode-sets-regex/README.md"
},
transform: {
name: "@babel/plugin-transform-unicode-sets-regex",
url: "https://github.com/babel/babel/blob/main/packages/babel-plugin-proposalunicode-sets-regex/README.md"
}
}
});
}
const getNameURLCombination = ({
name,
url
}) => `${name} (${url})`;
function generateMissingPluginMessage(missingPluginName, loc, codeFrame, filename) {
let helpMessage = `Support for the experimental syntax '${missingPluginName}' isn't currently enabled ` + `(${loc.line}:${loc.column + 1}):\n\n` + codeFrame;
const pluginInfo = pluginNameMap[missingPluginName];
if (pluginInfo) {
const {
syntax: syntaxPlugin,
transform: transformPlugin
} = pluginInfo;
if (syntaxPlugin) {
const syntaxPluginInfo = getNameURLCombination(syntaxPlugin);
if (transformPlugin) {
const transformPluginInfo = getNameURLCombination(transformPlugin);
const sectionType = transformPlugin.name.startsWith("@babel/plugin") ? "plugins" : "presets";
helpMessage += `\n\nAdd ${transformPluginInfo} to the '${sectionType}' section of your Babel config to enable transformation.
If you want to leave it as-is, add ${syntaxPluginInfo} to the 'plugins' section to enable parsing.`;
} else {
helpMessage += `\n\nAdd ${syntaxPluginInfo} to the 'plugins' section of your Babel config ` + `to enable parsing.`;
}
}
}
const msgFilename = filename === "unknown" ? "<name of the input file>" : filename;
helpMessage += `
If you already added the plugin for this syntax to your config, it's possible that your config \
isn't being loaded.
You can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded \
configuration:
\tnpx cross-env BABEL_SHOW_CONFIG_FOR=${msgFilename} <your build command>
See https://babeljs.io/docs/configuration#print-effective-configs for more info.
`;
return helpMessage;
}
0 && 0;
//# sourceMappingURL=missing-plugin-helper.js.map
@@ -0,0 +1,124 @@
import type { UnknownAction } from '@reduxjs/toolkit'
import type { BaseQueryFn } from './baseQueryTypes'
import type { CombinedState, CoreModule, QueryKeys } from './core'
import type { ApiModules } from './core/module'
import type { CreateApiOptions } from './createApi'
import type {
EndpointBuilder,
EndpointDefinition,
EndpointDefinitions,
UpdateDefinitions,
} from './endpointDefinitions'
import type {
NoInfer,
UnionToIntersection,
WithRequiredProp,
} from './tsHelpers'
export type ModuleName = keyof ApiModules<any, any, any, any>
export type Module<Name extends ModuleName> = {
name: Name
init<
BaseQuery extends BaseQueryFn,
Definitions extends EndpointDefinitions,
ReducerPath extends string,
TagTypes extends string,
>(
api: Api<BaseQuery, EndpointDefinitions, ReducerPath, TagTypes, ModuleName>,
options: WithRequiredProp<
CreateApiOptions<BaseQuery, Definitions, ReducerPath, TagTypes>,
| 'reducerPath'
| 'serializeQueryArgs'
| 'keepUnusedDataFor'
| 'refetchOnMountOrArgChange'
| 'refetchOnFocus'
| 'refetchOnReconnect'
| 'invalidationBehavior'
| 'tagTypes'
>,
context: ApiContext<Definitions>,
): {
injectEndpoint(
endpointName: string,
definition: EndpointDefinition<any, any, any, any>,
): void
}
}
export interface ApiContext<Definitions extends EndpointDefinitions> {
apiUid: string
endpointDefinitions: Definitions
batch(cb: () => void): void
extractRehydrationInfo: (
action: UnknownAction,
) => CombinedState<any, any, any> | undefined
hasRehydrationInfo: (action: UnknownAction) => boolean
}
export const getEndpointDefinition = <
Definitions extends EndpointDefinitions,
EndpointName extends keyof Definitions,
>(
context: ApiContext<Definitions>,
endpointName: EndpointName,
) => context.endpointDefinitions[endpointName]
export type Api<
BaseQuery extends BaseQueryFn,
Definitions extends EndpointDefinitions,
ReducerPath extends string,
TagTypes extends string,
Enhancers extends ModuleName = CoreModule,
> = UnionToIntersection<
ApiModules<BaseQuery, Definitions, ReducerPath, TagTypes>[Enhancers]
> & {
/**
* A function to inject the endpoints into the original API, but also give you that same API with correct types for these endpoints back. Useful with code-splitting.
*/
injectEndpoints<NewDefinitions extends EndpointDefinitions>(_: {
endpoints: (
build: EndpointBuilder<BaseQuery, TagTypes, ReducerPath>,
) => NewDefinitions
/**
* Optionally allows endpoints to be overridden if defined by multiple `injectEndpoints` calls.
*
* If set to `true`, will override existing endpoints with the new definition.
* If set to `'throw'`, will throw an error if an endpoint is redefined with a different definition.
* If set to `false` (or unset), will not override existing endpoints with the new definition, and log a warning in development.
*/
overrideExisting?: boolean | 'throw'
}): Api<
BaseQuery,
Definitions & NewDefinitions,
ReducerPath,
TagTypes,
Enhancers
>
/**
*A function to enhance a generated API with additional information. Useful with code-generation.
*/
enhanceEndpoints<
NewTagTypes extends string = never,
NewDefinitions extends EndpointDefinitions = never,
>(_: {
addTagTypes?: readonly NewTagTypes[]
endpoints?: UpdateDefinitions<
Definitions,
TagTypes | NoInfer<NewTagTypes>,
NewDefinitions
> extends infer NewDefinitions
? {
[K in keyof NewDefinitions]?:
| Partial<NewDefinitions[K]>
| ((definition: NewDefinitions[K]) => void)
}
: never
}): Api<
BaseQuery,
UpdateDefinitions<Definitions, TagTypes | NewTagTypes, NewDefinitions>,
ReducerPath,
TagTypes | NewTagTypes,
Enhancers
>
}
@@ -0,0 +1,13 @@
'use strict';
var $strSlice = require('call-bound')('String.prototype.slice');
module.exports = function isPrefixOf(prefix, string) {
if (prefix === string) {
return true;
}
if (prefix.length > string.length) {
return false;
}
return $strSlice(string, 0, prefix.length) === prefix;
};
@@ -0,0 +1,81 @@
/**
* @file cff名字设置
* @author mengke01(kekee000@gmail.com)
*/
const cffStandardEncoding = [
'', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
'', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
'space', 'exclam', 'quotedbl', 'numbersign', 'dollar', 'percent', 'ampersand', 'quoteright',
'parenleft', 'parenright', 'asterisk', 'plus', 'comma', 'hyphen',
'period', 'slash', 'zero', 'one', 'two',
'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'colon', 'semicolon', 'less', 'equal', 'greater',
'question', 'at', 'A', 'B', 'C', 'D', 'E', 'F',
'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S',
'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'bracketleft',
'backslash', 'bracketright', 'asciicircum', 'underscore',
'quoteleft', 'a', 'b', 'c', 'd', 'e', 'f', 'g',
'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't',
'u', 'v', 'w', 'x', 'y', 'z', 'braceleft', 'bar',
'braceright', 'asciitilde', '', '', '', '', '', '', '', '',
'', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
'exclamdown', 'cent', 'sterling', 'fraction', 'yen', 'florin', 'section', 'currency', 'quotesingle',
'quotedblleft', 'guillemotleft', 'guilsinglleft', 'guilsinglright', 'fi', 'fl', '', 'endash', 'dagger',
'daggerdbl', 'periodcentered', '', 'paragraph', 'bullet', 'quotesinglbase', 'quotedblbase', 'quotedblright',
'guillemotright', 'ellipsis', 'perthousand', '',
'questiondown', '', 'grave', 'acute', 'circumflex', 'tilde',
'macron', 'breve', 'dotaccent', 'dieresis', '',
'ring', 'cedilla', '', 'hungarumlaut', 'ogonek', 'caron',
'emdash', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
'AE', '', 'ordfeminine', '', '', '',
'', 'Lslash', 'Oslash', 'OE', 'ordmasculine', '', '', '', '', '', 'ae', '', '', '', 'dotlessi', '', '',
'lslash', 'oslash', 'oe', 'germandbls'
];
const cffExpertEncoding = [
'', '', '', '', '', '', '', '', '', '', '', '', '', '',
'', '', '', '', '', '', '', '', '', '', '', '', '', '',
'', '', '', '', 'space', 'exclamsmall', 'Hungarumlautsmall', '', 'dollaroldstyle', 'dollarsuperior',
'ampersandsmall', 'Acutesmall', 'parenleftsuperior',
'parenrightsuperior', 'twodotenleader', 'onedotenleader',
'comma', 'hyphen', 'period', 'fraction', 'zerooldstyle', 'oneoldstyle', 'twooldstyle', 'threeoldstyle',
'fouroldstyle', 'fiveoldstyle', 'sixoldstyle', 'sevenoldstyle', 'eightoldstyle', 'nineoldstyle', 'colon',
'semicolon', 'commasuperior', 'threequartersemdash', 'periodsuperior', 'questionsmall', '', 'asuperior',
'bsuperior', 'centsuperior', 'dsuperior', 'esuperior',
'', '', 'isuperior', '', '', 'lsuperior', 'msuperior',
'nsuperior', 'osuperior', '', '', 'rsuperior', 'ssuperior', 'tsuperior', '', 'ff', 'fi', 'fl', 'ffi', 'ffl',
'parenleftinferior', '', 'parenrightinferior', 'Circumflexsmall', 'hyphensuperior', 'Gravesmall', 'Asmall',
'Bsmall', 'Csmall', 'Dsmall', 'Esmall', 'Fsmall', 'Gsmall',
'Hsmall', 'Ismall', 'Jsmall', 'Ksmall', 'Lsmall',
'Msmall', 'Nsmall', 'Osmall', 'Psmall', 'Qsmall', 'Rsmall',
'Ssmall', 'Tsmall', 'Usmall', 'Vsmall', 'Wsmall',
'Xsmall', 'Ysmall', 'Zsmall', 'colonmonetary', 'onefitted', 'rupiah', 'Tildesmall',
'', '', '', '', '', '', '',
'', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
'exclamdownsmall', 'centoldstyle', 'Lslashsmall', '', '', 'Scaronsmall', 'Zcaronsmall', 'Dieresissmall',
'Brevesmall', 'Caronsmall', '', 'Dotaccentsmall', '', '',
'Macronsmall', '', '', 'figuredash', 'hypheninferior',
'', '', 'Ogoneksmall', 'Ringsmall', 'Cedillasmall', '', '', '', 'onequarter', 'onehalf', 'threequarters',
'questiondownsmall', 'oneeighth', 'threeeighths',
'fiveeighths', 'seveneighths', 'onethird', 'twothirds', '',
'', 'zerosuperior', 'onesuperior', 'twosuperior', 'threesuperior', 'foursuperior', 'fivesuperior',
'sixsuperior', 'sevensuperior', 'eightsuperior',
'ninesuperior', 'zeroinferior', 'oneinferior', 'twoinferior',
'threeinferior', 'fourinferior', 'fiveinferior', 'sixinferior', 'seveninferior', 'eightinferior',
'nineinferior', 'centinferior', 'dollarinferior', 'periodinferior', 'commainferior', 'Agravesmall',
'Aacutesmall', 'Acircumflexsmall', 'Atildesmall',
'Adieresissmall', 'Aringsmall', 'AEsmall', 'Ccedillasmall',
'Egravesmall', 'Eacutesmall', 'Ecircumflexsmall', 'Edieresissmall', 'Igravesmall', 'Iacutesmall',
'Icircumflexsmall', 'Idieresissmall', 'Ethsmall', 'Ntildesmall', 'Ogravesmall', 'Oacutesmall',
'Ocircumflexsmall', 'Otildesmall', 'Odieresissmall',
'OEsmall', 'Oslashsmall', 'Ugravesmall', 'Uacutesmall',
'Ucircumflexsmall', 'Udieresissmall', 'Yacutesmall', 'Thornsmall', 'Ydieresissmall'
];
export default {
standardEncoding: cffStandardEncoding,
expertEncoding: cffExpertEncoding
};
@@ -0,0 +1,6 @@
export declare function merge(...sets: Array<string>): string;
export declare function subexp(str: string): string;
export declare function typeOf(o: any): string;
export declare function toUpperCase(str: string): string;
export declare function toArray(obj: any): Array<any>;
export declare function assign(target: object, source: any): any;
@@ -0,0 +1,22 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.buildFilteredServiceBindings = buildFilteredServiceBindings;
const buildInstanceBinding_1 = require("../../binding/calculations/buildInstanceBinding");
function buildFilteredServiceBindings(params, bindingConstraints, options) {
const serviceIdentifier = options?.customServiceIdentifier ?? bindingConstraints.serviceIdentifier;
const serviceBindings = options?.chained === true
? [...params.operations.getBindingsChained(serviceIdentifier)]
: [...(params.operations.getBindings(serviceIdentifier) ?? [])];
const filteredBindings = serviceBindings.filter((binding) => binding.isSatisfiedBy(bindingConstraints));
if (filteredBindings.length === 0 &&
params.autobindOptions !== undefined &&
typeof serviceIdentifier === 'function') {
const binding = (0, buildInstanceBinding_1.buildInstanceBinding)(params.autobindOptions, serviceIdentifier);
params.operations.setBinding(binding);
if (binding.isSatisfiedBy(bindingConstraints)) {
filteredBindings.push(binding);
}
}
return filteredBindings;
}
//# sourceMappingURL=buildFilteredServiceBindings.js.map
@@ -0,0 +1,68 @@
import { GeneralCallResult } from './common';
export interface NodeIKernelCollectionService {
addKernelCollectionListener(...args: unknown[]): void;
removeKernelCollectionListener(listenerId: number): void;
getCollectionItemList(param: {
category: number;
groupId: number;
forceSync: boolean;
forceFromDb: boolean;
timeStamp: string;
count: number;
searchDown: boolean;
}): Promise<GeneralCallResult & {
collectionSearchList: {
collectionItemList: Array<{
cid: string;
type: number;
status: number;
author: {
type: number;
numId: string;
strId: string;
groupId: string;
groupName: string;
uid: string;
};
bid: number;
category: number;
createTime: string;
collectTime: string;
modifyTime: string;
sequence: string;
shareUrl: string;
customGroupId: number;
securityBeat: boolean;
summary: {
textSummary: unknown;
linkSummary: unknown;
gallerySummary: unknown;
audioSummary: unknown;
videoSummary: unknown;
fileSummary: unknown;
locationSummary: unknown;
richMediaSummary: unknown;
};
}>;
hasMore: boolean;
bottomTimeStamp: string;
};
}>;
getCollectionContent(...args: unknown[]): unknown;
getCollectionCustomGroupList(...args: unknown[]): unknown;
getCollectionUserInfo(...args: unknown[]): unknown;
searchCollectionItemList(...args: unknown[]): unknown;
addMsgToCollection(...args: unknown[]): unknown;
collectionArkShare(...args: unknown[]): unknown;
collectionFileForward(...args: unknown[]): unknown;
downloadCollectionFile(...args: unknown[]): unknown;
downloadCollectionFileThumbPic(...args: unknown[]): unknown;
downloadCollectionPic(...args: unknown[]): unknown;
cancelDownloadCollectionFile(...args: unknown[]): unknown;
deleteCollectionItemList(...args: unknown[]): unknown;
editCollectionItem(...args: unknown[]): unknown;
getEditPicInfoByPath(...args: unknown[]): unknown;
collectionFastUpload(...args: unknown[]): unknown;
editCollectionItemAfterFastUpload(...args: unknown[]): unknown;
createNewCollectionItem(...args: unknown[]): unknown;
}
@@ -0,0 +1,8 @@
"use strict";
const isAfter = require("./isAfter.js");
const isBefore = require("./isBefore.js");
function isBetween(date, from, to, unit, inclusivity) {
inclusivity = inclusivity || "()";
return (inclusivity.startsWith("(") ? isAfter(date, from, unit) : !isBefore(date, from, unit)) && (inclusivity.charAt(1) === ")" ? isBefore(date, to, unit) : !isAfter(date, to, unit));
}
module.exports = isBetween;
@@ -0,0 +1,327 @@
import { parse } from '../parse';
describe('parse', () => {
it('regular', () => {
const out = parse(
{
display: 'value',
button: {
border: '0'
},
'&.nested': {
foo: '1px',
baz: 'scale(1), translate(1)'
}
},
'hush'
);
expect(out).toEqual(
[
'hush{display:value;}',
'hush button{border:0;}',
'hush.nested{foo:1px;baz:scale(1), translate(1);}'
].join('')
);
});
it('camelCase', () => {
const out = parse(
{
fooBarProperty: 'value',
button: {
webkitPressSomeButton: '0'
},
'&.nested': {
foo: '1px',
backgroundEffect: 'scale(1), translate(1)'
}
},
'hush'
);
expect(out).toEqual(
[
'hush{foo-bar-property:value;}',
'hush button{webkit-press-some-button:0;}',
'hush.nested{foo:1px;background-effect:scale(1), translate(1);}'
].join('')
);
});
it('keyframes', () => {
const out = parse(
{
'@keyframes superAnimation': {
'11.1%': {
opacity: '0.9999'
},
'111%': {
opacity: '1'
}
},
'@keyframes foo': {
to: {
baz: '1px',
foo: '1px'
}
},
'@keyframes complex': {
'from, 20%, 53%, 80%, to': {
transform: 'translate3d(0,0,0)'
},
'40%, 43%': {
transform: 'translate3d(0, -30px, 0)'
},
'70%': {
transform: 'translate3d(0, -15px, 0)'
},
'90%': {
transform: 'translate3d(0,-4px,0)'
}
}
},
'hush'
);
expect(out).toEqual(
[
'@keyframes superAnimation{11.1%{opacity:0.9999;}111%{opacity:1;}}',
'@keyframes foo{to{baz:1px;foo:1px;}}',
'@keyframes complex{from, 20%, 53%, 80%, to{transform:translate3d(0,0,0);}40%, 43%{transform:translate3d(0, -30px, 0);}70%{transform:translate3d(0, -15px, 0);}90%{transform:translate3d(0,-4px,0);}}'
].join('')
);
});
it('font-face', () => {
const out = parse(
{
'@font-face': {
'font-weight': 100
}
},
'FONTFACE'
);
expect(out).toEqual(['@font-face{font-weight:100;}'].join(''));
});
it('@media', () => {
const out = parse(
{
'@media any all (no-really-anything)': {
position: 'super-absolute'
}
},
'hush'
);
expect(out).toEqual(
['@media any all (no-really-anything){hush{position:super-absolute;}}'].join('')
);
});
it('@import', () => {
const out = parse(
{
'@import': "url('https://domain.com/path?1=s')"
},
'hush'
);
expect(out).toEqual(["@import url('https://domain.com/path?1=s');"].join(''));
});
it('cra', () => {
expect(
parse(
{
'@import': "url('path/to')",
'@font-face': {
'font-weight': 100
},
'text-align': 'center',
'.logo': {
animation: 'App-logo-spin infinite 20s linear',
height: '40vmin',
'pointer-events': 'none'
},
'.header': {
'background-color': '#282c34',
'min-height': '100vh',
display: 'flex',
'flex-direction': 'column',
'align-items': 'center',
'justify-content': 'center',
'font-size': 'calc(10px + 2vmin)',
color: 'white'
},
'.link': {
color: '#61dafb'
},
'@keyframes App-logo-spin': {
from: {
transform: 'rotate(0deg)'
},
to: {
transform: 'rotate(360deg)'
}
}
},
'App'
)
).toEqual(
[
"@import url('path/to');",
'App{text-align:center;}',
'@font-face{font-weight:100;}',
'App .logo{animation:App-logo-spin infinite 20s linear;height:40vmin;pointer-events:none;}',
'App .header{background-color:#282c34;min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:calc(10px + 2vmin);color:white;}',
'App .link{color:#61dafb;}',
'@keyframes App-logo-spin{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}'
].join('')
);
});
it('@supports', () => {
expect(
parse(
{
'@supports (some: 1px)': {
'@media (s: 1)': {
display: 'flex'
}
},
'@supports': {
opacity: 1
}
},
'hush'
)
).toEqual(
[
'@supports (some: 1px){@media (s: 1){hush{display:flex;}}}',
'@supports{hush{opacity:1;}}'
].join('')
);
});
it('unwrapp', () => {
expect(
parse(
{
'--foo': 1,
opacity: 1,
'@supports': {
'--bar': 'none'
},
html: {
background: 'goober'
}
},
''
)
).toEqual(
['--foo:1;opacity:1;', '@supports{--bar:none;}', 'html{background:goober;}'].join('')
);
});
it('nested with multiple selector', () => {
const out = parse(
{
display: 'value',
'&:hover,&:focus': {
border: '0',
span: {
index: 'unset'
}
},
'p,b,i': {
display: 'block',
'&:focus,input': {
opacity: 1,
'div,span': {
opacity: 0
}
}
}
},
'hush'
);
expect(out).toEqual(
[
'hush{display:value;}',
'hush:hover,hush:focus{border:0;}',
'hush:hover span,hush:focus span{index:unset;}',
'hush p,hush b,hush i{display:block;}',
'hush p:focus,hush p input,hush b:focus,hush b input,hush i:focus,hush i input{opacity:1;}',
'hush p:focus div,hush p:focus span,hush p input div,hush p input span,hush b:focus div,hush b:focus span,hush b input div,hush b input span,hush i:focus div,hush i:focus span,hush i input div,hush i input span{opacity:0;}'
].join('')
);
});
it('should handle the :where(a,b) cases', () => {
expect(
parse(
{
div: {
':where(a, b)': {
color: 'blue'
}
}
},
''
)
).toEqual('div :where(a, b){color:blue;}');
});
it('should handle null and undefined values', () => {
expect(
parse(
{
div: {
opacity: 0,
color: null
}
},
''
)
).toEqual('div{opacity:0;}');
expect(
parse(
{
div: {
opacity: 0,
color: undefined // or `void 0` when minified
}
},
''
)
).toEqual('div{opacity:0;}');
});
it('does not transform the case of custom CSS variables', () => {
expect(
parse({
'--cP': 'red'
})
).toEqual('--cP:red;');
expect(
parse({
'--c-P': 'red'
})
).toEqual('--c-P:red;');
expect(
parse({
'--cp': 'red'
})
).toEqual('--cp:red;');
expect(
parse({
':root': {
'--cP': 'red'
}
})
).toEqual(':root{--cP:red;}');
});
});
@@ -0,0 +1,15 @@
let Declaration = require('../declaration')
class BorderImage extends Declaration {
/**
* Remove fill parameter for prefixed declarations
*/
set(decl, prefix) {
decl.value = decl.value.replace(/\s+fill(\s)/, '$1')
return super.set(decl, prefix)
}
}
BorderImage.names = ['border-image']
module.exports = BorderImage
@@ -0,0 +1,112 @@
import { isCOSEAlg } from '../../helpers/cose.js';
import { convertCertBufferToPEM } from '../../helpers/convertCertBufferToPEM.js';
import { validateCertificatePath } from '../../helpers/validateCertificatePath.js';
import { getCertificateInfo } from '../../helpers/getCertificateInfo.js';
import { verifySignature } from '../../helpers/verifySignature.js';
import { isoUint8Array } from '../../helpers/iso/index.js';
import { validateExtFIDOGenCEAAGUID } from '../../helpers/validateExtFIDOGenCEAAGUID.js';
import { MetadataService } from '../../services/metadataService.js';
import { verifyAttestationWithMetadata } from '../../metadata/verifyAttestationWithMetadata.js';
/**
* Verify an attestation response with fmt 'packed'
*/
export async function verifyAttestationPacked(options) {
const { attStmt, clientDataHash, authData, credentialPublicKey, aaguid, rootCertificates, } = options;
const sig = attStmt.get('sig');
const x5c = attStmt.get('x5c');
const alg = attStmt.get('alg');
if (!sig) {
throw new Error('No attestation signature provided in attestation statement (Packed)');
}
if (!alg) {
throw new Error('Attestation statement did not contain alg (Packed)');
}
if (!isCOSEAlg(alg)) {
throw new Error(`Attestation statement contained invalid alg ${alg} (Packed)`);
}
const signatureBase = isoUint8Array.concat([authData, clientDataHash]);
let verified = false;
if (x5c) {
const { subject, basicConstraintsCA, version, notBefore, notAfter, parsedCertificate, } = getCertificateInfo(x5c[0]);
const { OU, CN, O, C } = subject;
if (OU !== 'Authenticator Attestation') {
throw new Error('Certificate OU was not "Authenticator Attestation" (Packed|Full)');
}
if (!CN) {
throw new Error('Certificate CN was empty (Packed|Full)');
}
if (!O) {
throw new Error('Certificate O was empty (Packed|Full)');
}
if (!C || C.length !== 2) {
throw new Error('Certificate C was not two-character ISO 3166 code (Packed|Full)');
}
if (basicConstraintsCA) {
throw new Error('Certificate basic constraints CA was not `false` (Packed|Full)');
}
if (version !== 2) {
throw new Error('Certificate version was not `3` (ASN.1 value of 2) (Packed|Full)');
}
let now = new Date();
if (notBefore > now) {
throw new Error(`Certificate not good before "${notBefore.toString()}" (Packed|Full)`);
}
now = new Date();
if (notAfter < now) {
throw new Error(`Certificate not good after "${notAfter.toString()}" (Packed|Full)`);
}
// Validate attestation statement AAGUID against leaf cert AAGUID
try {
await validateExtFIDOGenCEAAGUID(parsedCertificate.tbsCertificate.extensions, aaguid);
}
catch (err) {
const _err = err;
throw new Error(`${_err.message} (Packed|Full)`);
}
// If available, validate attestation alg and x5c with info in the metadata statement
const statement = await MetadataService.getStatement(aaguid);
if (statement) {
// The presence of x5c means this is a full attestation. Check to see if attestationTypes
// includes packed attestations.
if (statement.attestationTypes.indexOf('basic_full') < 0) {
throw new Error('Metadata does not indicate support for full attestations (Packed|Full)');
}
try {
await verifyAttestationWithMetadata({
statement,
credentialPublicKey,
x5c,
attestationStatementAlg: alg,
});
}
catch (err) {
const _err = err;
throw new Error(`${_err.message} (Packed|Full)`);
}
}
else {
try {
// Try validating the certificate path using the root certificates set via SettingsService
await validateCertificatePath(x5c.map(convertCertBufferToPEM), rootCertificates);
}
catch (err) {
const _err = err;
throw new Error(`${_err.message} (Packed|Full)`);
}
}
verified = await verifySignature({
signature: sig,
data: signatureBase,
x509Certificate: x5c[0],
});
}
else {
verified = await verifySignature({
signature: sig,
data: signatureBase,
credentialPublicKey,
hashAlgorithm: alg,
});
}
return verified;
}
@@ -0,0 +1,7 @@
import type { FlatConfig } from '@typescript-eslint/utils/ts-eslint';
/**
* Contains all of `recommended`, `recommended-type-checked`, and `strict`, along with additional strict rules that require type information.
* @see {@link https://typescript-eslint.io/users/configs#strict-type-checked}
*/
declare const _default: (plugin: FlatConfig.Plugin, parser: FlatConfig.Parser) => FlatConfig.ConfigArray;
export default _default;
@@ -0,0 +1,140 @@
'use strict';
module.exports = function generate_items(it, $keyword, $ruleType) {
var out = ' ';
var $lvl = it.level;
var $dataLvl = it.dataLevel;
var $schema = it.schema[$keyword];
var $schemaPath = it.schemaPath + it.util.getProperty($keyword);
var $errSchemaPath = it.errSchemaPath + '/' + $keyword;
var $breakOnError = !it.opts.allErrors;
var $data = 'data' + ($dataLvl || '');
var $valid = 'valid' + $lvl;
var $errs = 'errs__' + $lvl;
var $it = it.util.copy(it);
var $closingBraces = '';
$it.level++;
var $nextValid = 'valid' + $it.level;
var $idx = 'i' + $lvl,
$dataNxt = $it.dataLevel = it.dataLevel + 1,
$nextData = 'data' + $dataNxt,
$currentBaseId = it.baseId;
out += 'var ' + ($errs) + ' = errors;var ' + ($valid) + ';';
if (Array.isArray($schema)) {
var $additionalItems = it.schema.additionalItems;
if ($additionalItems === false) {
out += ' ' + ($valid) + ' = ' + ($data) + '.length <= ' + ($schema.length) + '; ';
var $currErrSchemaPath = $errSchemaPath;
$errSchemaPath = it.errSchemaPath + '/additionalItems';
out += ' if (!' + ($valid) + ') { ';
var $$outStack = $$outStack || [];
$$outStack.push(out);
out = ''; /* istanbul ignore else */
if (it.createErrors !== false) {
out += ' { keyword: \'' + ('additionalItems') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { limit: ' + ($schema.length) + ' } ';
if (it.opts.messages !== false) {
out += ' , message: \'should NOT have more than ' + ($schema.length) + ' items\' ';
}
if (it.opts.verbose) {
out += ' , schema: false , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';
}
out += ' } ';
} else {
out += ' {} ';
}
var __err = out;
out = $$outStack.pop();
if (!it.compositeRule && $breakOnError) {
/* istanbul ignore if */
if (it.async) {
out += ' throw new ValidationError([' + (__err) + ']); ';
} else {
out += ' validate.errors = [' + (__err) + ']; return false; ';
}
} else {
out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';
}
out += ' } ';
$errSchemaPath = $currErrSchemaPath;
if ($breakOnError) {
$closingBraces += '}';
out += ' else { ';
}
}
var arr1 = $schema;
if (arr1) {
var $sch, $i = -1,
l1 = arr1.length - 1;
while ($i < l1) {
$sch = arr1[$i += 1];
if ((it.opts.strictKeywords ? (typeof $sch == 'object' && Object.keys($sch).length > 0) || $sch === false : it.util.schemaHasRules($sch, it.RULES.all))) {
out += ' ' + ($nextValid) + ' = true; if (' + ($data) + '.length > ' + ($i) + ') { ';
var $passData = $data + '[' + $i + ']';
$it.schema = $sch;
$it.schemaPath = $schemaPath + '[' + $i + ']';
$it.errSchemaPath = $errSchemaPath + '/' + $i;
$it.errorPath = it.util.getPathExpr(it.errorPath, $i, it.opts.jsonPointers, true);
$it.dataPathArr[$dataNxt] = $i;
var $code = it.validate($it);
$it.baseId = $currentBaseId;
if (it.util.varOccurences($code, $nextData) < 2) {
out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';
} else {
out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';
}
out += ' } ';
if ($breakOnError) {
out += ' if (' + ($nextValid) + ') { ';
$closingBraces += '}';
}
}
}
}
if (typeof $additionalItems == 'object' && (it.opts.strictKeywords ? (typeof $additionalItems == 'object' && Object.keys($additionalItems).length > 0) || $additionalItems === false : it.util.schemaHasRules($additionalItems, it.RULES.all))) {
$it.schema = $additionalItems;
$it.schemaPath = it.schemaPath + '.additionalItems';
$it.errSchemaPath = it.errSchemaPath + '/additionalItems';
out += ' ' + ($nextValid) + ' = true; if (' + ($data) + '.length > ' + ($schema.length) + ') { for (var ' + ($idx) + ' = ' + ($schema.length) + '; ' + ($idx) + ' < ' + ($data) + '.length; ' + ($idx) + '++) { ';
$it.errorPath = it.util.getPathExpr(it.errorPath, $idx, it.opts.jsonPointers, true);
var $passData = $data + '[' + $idx + ']';
$it.dataPathArr[$dataNxt] = $idx;
var $code = it.validate($it);
$it.baseId = $currentBaseId;
if (it.util.varOccurences($code, $nextData) < 2) {
out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';
} else {
out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';
}
if ($breakOnError) {
out += ' if (!' + ($nextValid) + ') break; ';
}
out += ' } } ';
if ($breakOnError) {
out += ' if (' + ($nextValid) + ') { ';
$closingBraces += '}';
}
}
} else if ((it.opts.strictKeywords ? (typeof $schema == 'object' && Object.keys($schema).length > 0) || $schema === false : it.util.schemaHasRules($schema, it.RULES.all))) {
$it.schema = $schema;
$it.schemaPath = $schemaPath;
$it.errSchemaPath = $errSchemaPath;
out += ' for (var ' + ($idx) + ' = ' + (0) + '; ' + ($idx) + ' < ' + ($data) + '.length; ' + ($idx) + '++) { ';
$it.errorPath = it.util.getPathExpr(it.errorPath, $idx, it.opts.jsonPointers, true);
var $passData = $data + '[' + $idx + ']';
$it.dataPathArr[$dataNxt] = $idx;
var $code = it.validate($it);
$it.baseId = $currentBaseId;
if (it.util.varOccurences($code, $nextData) < 2) {
out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';
} else {
out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';
}
if ($breakOnError) {
out += ' if (!' + ($nextValid) + ') break; ';
}
out += ' }';
}
if ($breakOnError) {
out += ' ' + ($closingBraces) + ' if (' + ($errs) + ' == errors) {';
}
return out;
}
@@ -0,0 +1,56 @@
/** @typedef { import('estree').BaseNode} BaseNode */
/** @typedef { import('./sync.js').SyncHandler} SyncHandler */
/** @typedef { import('./async.js').AsyncHandler} AsyncHandler */
/**
*
* @param {BaseNode} ast
* @param {{
* enter?: SyncHandler
* leave?: SyncHandler
* }} walker
* @returns {BaseNode}
*/
export function walk(ast: import("estree").BaseNode, { enter, leave }: {
enter?: (this: {
skip: () => void;
remove: () => void;
replace: (node: import("estree").BaseNode) => void;
}, node: import("estree").BaseNode, parent: import("estree").BaseNode, key: string, index: number) => void;
leave?: (this: {
skip: () => void;
remove: () => void;
replace: (node: import("estree").BaseNode) => void;
}, node: import("estree").BaseNode, parent: import("estree").BaseNode, key: string, index: number) => void;
}): import("estree").BaseNode;
/**
*
* @param {BaseNode} ast
* @param {{
* enter?: AsyncHandler
* leave?: AsyncHandler
* }} walker
* @returns {Promise<BaseNode>}
*/
export function asyncWalk(ast: import("estree").BaseNode, { enter, leave }: {
enter?: (this: {
skip: () => void;
remove: () => void;
replace: (node: import("estree").BaseNode) => void;
}, node: import("estree").BaseNode, parent: import("estree").BaseNode, key: string, index: number) => Promise<void>;
leave?: (this: {
skip: () => void;
remove: () => void;
replace: (node: import("estree").BaseNode) => void;
}, node: import("estree").BaseNode, parent: import("estree").BaseNode, key: string, index: number) => Promise<void>;
}): Promise<import("estree").BaseNode>;
export type BaseNode = import("estree").BaseNode;
export type SyncHandler = (this: {
skip: () => void;
remove: () => void;
replace: (node: import("estree").BaseNode) => void;
}, node: import("estree").BaseNode, parent: import("estree").BaseNode, key: string, index: number) => void;
export type AsyncHandler = (this: {
skip: () => void;
remove: () => void;
replace: (node: import("estree").BaseNode) => void;
}, node: import("estree").BaseNode, parent: import("estree").BaseNode, key: string, index: number) => Promise<void>;
@@ -0,0 +1,4 @@
function _nonIterableSpread() {
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
module.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports["default"] = module.exports;
@@ -0,0 +1 @@
{"version":3,"file":"incrementPendingClassMetadataCount.spec.d.ts","sourceRoot":"","sources":["../../../../src/metadata/actions/incrementPendingClassMetadataCount.spec.ts"],"names":[],"mappings":""}
@@ -0,0 +1,36 @@
import {isMac as $c87311424ea30a05$export$9ac100e40613ea10} from "./platform.module.js";
/*
* Copyright 2024 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/
function $21f1aa98acb08317$export$16792effe837dba3(e) {
if ((0, $c87311424ea30a05$export$9ac100e40613ea10)()) return e.metaKey;
return e.ctrlKey;
}
// HTML input types that do not cause the software keyboard to appear.
const $21f1aa98acb08317$var$nonTextInputTypes = new Set([
'checkbox',
'radio',
'range',
'color',
'file',
'image',
'button',
'submit',
'reset'
]);
function $21f1aa98acb08317$export$c57958e35f31ed73(target) {
return target instanceof HTMLInputElement && !$21f1aa98acb08317$var$nonTextInputTypes.has(target.type) || target instanceof HTMLTextAreaElement || target instanceof HTMLElement && target.isContentEditable;
}
export {$21f1aa98acb08317$export$16792effe837dba3 as isCtrlKeyPressed, $21f1aa98acb08317$export$c57958e35f31ed73 as willOpenKeyboard};
//# sourceMappingURL=keyboard.module.js.map
@@ -0,0 +1,243 @@
import {ignoreFocusEvent as $8a9cb279dc87e130$export$fda7da73ab5d4c48} from "./utils.module.js";
import {isMac as $28AnR$isMac, isVirtualClick as $28AnR$isVirtualClick, getOwnerWindow as $28AnR$getOwnerWindow, getOwnerDocument as $28AnR$getOwnerDocument} from "@react-aria/utils";
import {useState as $28AnR$useState, useEffect as $28AnR$useEffect} from "react";
import {useIsSSR as $28AnR$useIsSSR} from "@react-aria/ssr";
/*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/ // Portions of the code in this file are based on code from react.
// Original licensing for the following can be found in the
// NOTICE file in the root directory of this source tree.
// See https://github.com/facebook/react/tree/cc7c1aece46a6b69b41958d731e0fd27c94bfc6c/packages/react-interactions
let $507fabe10e71c6fb$var$currentModality = null;
let $507fabe10e71c6fb$var$changeHandlers = new Set();
let $507fabe10e71c6fb$export$d90243b58daecda7 = new Map(); // We use a map here to support setting event listeners across multiple document objects.
let $507fabe10e71c6fb$var$hasEventBeforeFocus = false;
let $507fabe10e71c6fb$var$hasBlurredWindowRecently = false;
// Only Tab or Esc keys will make focus visible on text input elements
const $507fabe10e71c6fb$var$FOCUS_VISIBLE_INPUT_KEYS = {
Tab: true,
Escape: true
};
function $507fabe10e71c6fb$var$triggerChangeHandlers(modality, e) {
for (let handler of $507fabe10e71c6fb$var$changeHandlers)handler(modality, e);
}
/**
* Helper function to determine if a KeyboardEvent is unmodified and could make keyboard focus styles visible.
*/ function $507fabe10e71c6fb$var$isValidKey(e) {
// Control and Shift keys trigger when navigating back to the tab with keyboard.
return !(e.metaKey || !(0, $28AnR$isMac)() && e.altKey || e.ctrlKey || e.key === 'Control' || e.key === 'Shift' || e.key === 'Meta');
}
function $507fabe10e71c6fb$var$handleKeyboardEvent(e) {
$507fabe10e71c6fb$var$hasEventBeforeFocus = true;
if ($507fabe10e71c6fb$var$isValidKey(e)) {
$507fabe10e71c6fb$var$currentModality = 'keyboard';
$507fabe10e71c6fb$var$triggerChangeHandlers('keyboard', e);
}
}
function $507fabe10e71c6fb$var$handlePointerEvent(e) {
$507fabe10e71c6fb$var$currentModality = 'pointer';
if (e.type === 'mousedown' || e.type === 'pointerdown') {
$507fabe10e71c6fb$var$hasEventBeforeFocus = true;
$507fabe10e71c6fb$var$triggerChangeHandlers('pointer', e);
}
}
function $507fabe10e71c6fb$var$handleClickEvent(e) {
if ((0, $28AnR$isVirtualClick)(e)) {
$507fabe10e71c6fb$var$hasEventBeforeFocus = true;
$507fabe10e71c6fb$var$currentModality = 'virtual';
}
}
function $507fabe10e71c6fb$var$handleFocusEvent(e) {
// Firefox fires two extra focus events when the user first clicks into an iframe:
// first on the window, then on the document. We ignore these events so they don't
// cause keyboard focus rings to appear.
if (e.target === window || e.target === document || (0, $8a9cb279dc87e130$export$fda7da73ab5d4c48) || !e.isTrusted) return;
// If a focus event occurs without a preceding keyboard or pointer event, switch to virtual modality.
// This occurs, for example, when navigating a form with the next/previous buttons on iOS.
if (!$507fabe10e71c6fb$var$hasEventBeforeFocus && !$507fabe10e71c6fb$var$hasBlurredWindowRecently) {
$507fabe10e71c6fb$var$currentModality = 'virtual';
$507fabe10e71c6fb$var$triggerChangeHandlers('virtual', e);
}
$507fabe10e71c6fb$var$hasEventBeforeFocus = false;
$507fabe10e71c6fb$var$hasBlurredWindowRecently = false;
}
function $507fabe10e71c6fb$var$handleWindowBlur() {
if (0, $8a9cb279dc87e130$export$fda7da73ab5d4c48) return;
// When the window is blurred, reset state. This is necessary when tabbing out of the window,
// for example, since a subsequent focus event won't be fired.
$507fabe10e71c6fb$var$hasEventBeforeFocus = false;
$507fabe10e71c6fb$var$hasBlurredWindowRecently = true;
}
/**
* Setup global event listeners to control when keyboard focus style should be visible.
*/ function $507fabe10e71c6fb$var$setupGlobalFocusEvents(element) {
if (typeof window === 'undefined' || typeof document === 'undefined' || $507fabe10e71c6fb$export$d90243b58daecda7.get((0, $28AnR$getOwnerWindow)(element))) return;
const windowObject = (0, $28AnR$getOwnerWindow)(element);
const documentObject = (0, $28AnR$getOwnerDocument)(element);
// Programmatic focus() calls shouldn't affect the current input modality.
// However, we need to detect other cases when a focus event occurs without
// a preceding user event (e.g. screen reader focus). Overriding the focus
// method on HTMLElement.prototype is a bit hacky, but works.
let focus = windowObject.HTMLElement.prototype.focus;
windowObject.HTMLElement.prototype.focus = function() {
$507fabe10e71c6fb$var$hasEventBeforeFocus = true;
focus.apply(this, arguments);
};
documentObject.addEventListener('keydown', $507fabe10e71c6fb$var$handleKeyboardEvent, true);
documentObject.addEventListener('keyup', $507fabe10e71c6fb$var$handleKeyboardEvent, true);
documentObject.addEventListener('click', $507fabe10e71c6fb$var$handleClickEvent, true);
// Register focus events on the window so they are sure to happen
// before React's event listeners (registered on the document).
windowObject.addEventListener('focus', $507fabe10e71c6fb$var$handleFocusEvent, true);
windowObject.addEventListener('blur', $507fabe10e71c6fb$var$handleWindowBlur, false);
if (typeof PointerEvent !== 'undefined') {
documentObject.addEventListener('pointerdown', $507fabe10e71c6fb$var$handlePointerEvent, true);
documentObject.addEventListener('pointermove', $507fabe10e71c6fb$var$handlePointerEvent, true);
documentObject.addEventListener('pointerup', $507fabe10e71c6fb$var$handlePointerEvent, true);
} else if (process.env.NODE_ENV === 'test') {
documentObject.addEventListener('mousedown', $507fabe10e71c6fb$var$handlePointerEvent, true);
documentObject.addEventListener('mousemove', $507fabe10e71c6fb$var$handlePointerEvent, true);
documentObject.addEventListener('mouseup', $507fabe10e71c6fb$var$handlePointerEvent, true);
}
// Add unmount handler
windowObject.addEventListener('beforeunload', ()=>{
$507fabe10e71c6fb$var$tearDownWindowFocusTracking(element);
}, {
once: true
});
$507fabe10e71c6fb$export$d90243b58daecda7.set(windowObject, {
focus: focus
});
}
const $507fabe10e71c6fb$var$tearDownWindowFocusTracking = (element, loadListener)=>{
const windowObject = (0, $28AnR$getOwnerWindow)(element);
const documentObject = (0, $28AnR$getOwnerDocument)(element);
if (loadListener) documentObject.removeEventListener('DOMContentLoaded', loadListener);
if (!$507fabe10e71c6fb$export$d90243b58daecda7.has(windowObject)) return;
windowObject.HTMLElement.prototype.focus = $507fabe10e71c6fb$export$d90243b58daecda7.get(windowObject).focus;
documentObject.removeEventListener('keydown', $507fabe10e71c6fb$var$handleKeyboardEvent, true);
documentObject.removeEventListener('keyup', $507fabe10e71c6fb$var$handleKeyboardEvent, true);
documentObject.removeEventListener('click', $507fabe10e71c6fb$var$handleClickEvent, true);
windowObject.removeEventListener('focus', $507fabe10e71c6fb$var$handleFocusEvent, true);
windowObject.removeEventListener('blur', $507fabe10e71c6fb$var$handleWindowBlur, false);
if (typeof PointerEvent !== 'undefined') {
documentObject.removeEventListener('pointerdown', $507fabe10e71c6fb$var$handlePointerEvent, true);
documentObject.removeEventListener('pointermove', $507fabe10e71c6fb$var$handlePointerEvent, true);
documentObject.removeEventListener('pointerup', $507fabe10e71c6fb$var$handlePointerEvent, true);
} else if (process.env.NODE_ENV === 'test') {
documentObject.removeEventListener('mousedown', $507fabe10e71c6fb$var$handlePointerEvent, true);
documentObject.removeEventListener('mousemove', $507fabe10e71c6fb$var$handlePointerEvent, true);
documentObject.removeEventListener('mouseup', $507fabe10e71c6fb$var$handlePointerEvent, true);
}
$507fabe10e71c6fb$export$d90243b58daecda7.delete(windowObject);
};
function $507fabe10e71c6fb$export$2f1888112f558a7d(element) {
const documentObject = (0, $28AnR$getOwnerDocument)(element);
let loadListener;
if (documentObject.readyState !== 'loading') $507fabe10e71c6fb$var$setupGlobalFocusEvents(element);
else {
loadListener = ()=>{
$507fabe10e71c6fb$var$setupGlobalFocusEvents(element);
};
documentObject.addEventListener('DOMContentLoaded', loadListener);
}
return ()=>$507fabe10e71c6fb$var$tearDownWindowFocusTracking(element, loadListener);
}
// Server-side rendering does not have the document object defined
// eslint-disable-next-line no-restricted-globals
if (typeof document !== 'undefined') $507fabe10e71c6fb$export$2f1888112f558a7d();
function $507fabe10e71c6fb$export$b9b3dfddab17db27() {
return $507fabe10e71c6fb$var$currentModality !== 'pointer';
}
function $507fabe10e71c6fb$export$630ff653c5ada6a9() {
return $507fabe10e71c6fb$var$currentModality;
}
function $507fabe10e71c6fb$export$8397ddfc504fdb9a(modality) {
$507fabe10e71c6fb$var$currentModality = modality;
$507fabe10e71c6fb$var$triggerChangeHandlers(modality, null);
}
function $507fabe10e71c6fb$export$98e20ec92f614cfe() {
$507fabe10e71c6fb$var$setupGlobalFocusEvents();
let [modality, setModality] = (0, $28AnR$useState)($507fabe10e71c6fb$var$currentModality);
(0, $28AnR$useEffect)(()=>{
let handler = ()=>{
setModality($507fabe10e71c6fb$var$currentModality);
};
$507fabe10e71c6fb$var$changeHandlers.add(handler);
return ()=>{
$507fabe10e71c6fb$var$changeHandlers.delete(handler);
};
}, []);
return (0, $28AnR$useIsSSR)() ? null : modality;
}
const $507fabe10e71c6fb$var$nonTextInputTypes = new Set([
'checkbox',
'radio',
'range',
'color',
'file',
'image',
'button',
'submit',
'reset'
]);
/**
* If this is attached to text input component, return if the event is a focus event (Tab/Escape keys pressed) so that
* focus visible style can be properly set.
*/ function $507fabe10e71c6fb$var$isKeyboardFocusEvent(isTextInput, modality, e) {
let document1 = (0, $28AnR$getOwnerDocument)(e === null || e === void 0 ? void 0 : e.target);
const IHTMLInputElement = typeof window !== 'undefined' ? (0, $28AnR$getOwnerWindow)(e === null || e === void 0 ? void 0 : e.target).HTMLInputElement : HTMLInputElement;
const IHTMLTextAreaElement = typeof window !== 'undefined' ? (0, $28AnR$getOwnerWindow)(e === null || e === void 0 ? void 0 : e.target).HTMLTextAreaElement : HTMLTextAreaElement;
const IHTMLElement = typeof window !== 'undefined' ? (0, $28AnR$getOwnerWindow)(e === null || e === void 0 ? void 0 : e.target).HTMLElement : HTMLElement;
const IKeyboardEvent = typeof window !== 'undefined' ? (0, $28AnR$getOwnerWindow)(e === null || e === void 0 ? void 0 : e.target).KeyboardEvent : KeyboardEvent;
// For keyboard events that occur on a non-input element that will move focus into input element (aka ArrowLeft going from Datepicker button to the main input group)
// we need to rely on the user passing isTextInput into here. This way we can skip toggling focus visiblity for said input element
isTextInput = isTextInput || document1.activeElement instanceof IHTMLInputElement && !$507fabe10e71c6fb$var$nonTextInputTypes.has(document1.activeElement.type) || document1.activeElement instanceof IHTMLTextAreaElement || document1.activeElement instanceof IHTMLElement && document1.activeElement.isContentEditable;
return !(isTextInput && modality === 'keyboard' && e instanceof IKeyboardEvent && !$507fabe10e71c6fb$var$FOCUS_VISIBLE_INPUT_KEYS[e.key]);
}
function $507fabe10e71c6fb$export$ffd9e5021c1fb2d6(props = {}) {
let { isTextInput: isTextInput, autoFocus: autoFocus } = props;
let [isFocusVisibleState, setFocusVisible] = (0, $28AnR$useState)(autoFocus || $507fabe10e71c6fb$export$b9b3dfddab17db27());
$507fabe10e71c6fb$export$ec71b4b83ac08ec3((isFocusVisible)=>{
setFocusVisible(isFocusVisible);
}, [
isTextInput
], {
isTextInput: isTextInput
});
return {
isFocusVisible: isFocusVisibleState
};
}
function $507fabe10e71c6fb$export$ec71b4b83ac08ec3(fn, deps, opts) {
$507fabe10e71c6fb$var$setupGlobalFocusEvents();
(0, $28AnR$useEffect)(()=>{
let handler = (modality, e)=>{
// We want to early return for any keyboard events that occur inside text inputs EXCEPT for Tab and Escape
if (!$507fabe10e71c6fb$var$isKeyboardFocusEvent(!!(opts === null || opts === void 0 ? void 0 : opts.isTextInput), modality, e)) return;
fn($507fabe10e71c6fb$export$b9b3dfddab17db27());
};
$507fabe10e71c6fb$var$changeHandlers.add(handler);
return ()=>{
$507fabe10e71c6fb$var$changeHandlers.delete(handler);
};
// eslint-disable-next-line react-hooks/exhaustive-deps
}, deps);
}
export {$507fabe10e71c6fb$export$d90243b58daecda7 as hasSetupGlobalListeners, $507fabe10e71c6fb$export$2f1888112f558a7d as addWindowFocusTracking, $507fabe10e71c6fb$export$b9b3dfddab17db27 as isFocusVisible, $507fabe10e71c6fb$export$630ff653c5ada6a9 as getInteractionModality, $507fabe10e71c6fb$export$8397ddfc504fdb9a as setInteractionModality, $507fabe10e71c6fb$export$98e20ec92f614cfe as useInteractionModality, $507fabe10e71c6fb$export$ffd9e5021c1fb2d6 as useFocusVisible, $507fabe10e71c6fb$export$ec71b4b83ac08ec3 as useFocusVisibleListener};
//# sourceMappingURL=useFocusVisible.module.js.map
@@ -0,0 +1,39 @@
import { AsnArray } from "@peculiar/asn1-schema";
import { Certificate } from "@peculiar/asn1-x509";
import { AttributeCertificate } from "@peculiar/asn1-x509-attr";
/**
* ```asn
* OtherCertificateFormat ::= SEQUENCE {
* otherCertFormat OBJECT IDENTIFIER,
* otherCert ANY DEFINED BY otherCertFormat }
* ```
*/
export declare class OtherCertificateFormat {
otherCertFormat: string;
otherCert: ArrayBuffer;
constructor(params?: Partial<OtherCertificateFormat>);
}
/**
* ```asn
* CertificateChoices ::= CHOICE {
* certificate Certificate,
* extendedCertificate [0] IMPLICIT ExtendedCertificate, -- Obsolete
* v1AttrCert [1] IMPLICIT AttributeCertificateV1, -- Obsolete
* v2AttrCert [2] IMPLICIT AttributeCertificateV2,
* other [3] IMPLICIT OtherCertificateFormat }
* ```
*/
export declare class CertificateChoices {
certificate?: Certificate;
v2AttrCert?: AttributeCertificate;
other?: OtherCertificateFormat;
constructor(params?: Partial<CertificateChoices>);
}
/**
* ```asn
* CertificateSet ::= SET OF CertificateChoices
* ```
*/
export declare class CertificateSet extends AsnArray<CertificateChoices> {
constructor(items?: CertificateChoices[]);
}
Loaded 100 of 35554 files, more files were not shown because too many files have changed in this diff. Show more