You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
12 KiB
1 line
12 KiB
2 years ago
|
{"version":3,"sources":["../sources/getRole.ts"],"names":["getLocalName","element","localName","tagName","toLowerCase","localNameToRoleMappings","article","aside","button","datalist","dd","details","dialog","dt","fieldset","figure","form","footer","h1","h2","h3","h4","h5","h6","header","hr","html","legend","li","math","main","menu","nav","ol","optgroup","option","output","progress","section","summary","table","tbody","textarea","tfoot","td","th","thead","tr","ul","prohibitedAttributes","caption","Set","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript","hasGlobalAriaAttributes","role","some","attributeName","hasAttribute","has","ignorePresentationalRole","implicitRole","getRole","explicitRole","getExplicitRole","getImplicitRole","mappedByTag","undefined","getAttribute","type","size","trim","split","length"],"mappings":"AAAA;;AAEA;AACA;AACA;AACA;AACA,OAAO,SAASA,YAAT,CAAsBC,OAAtB,EAAgD;AAAA;;AACtD,SACC;AADD,0BAECA,OAAO,CAACC,SAFT,mEAGC;AACAD,IAAAA,OAAO,CAACE,OAAR,CAAgBC,WAAhB;AAJD;AAMA;AAED,IAAMC,uBAA2D,GAAG;AACnEC,EAAAA,OAAO,EAAE,SAD0D;AAEnEC,EAAAA,KAAK,EAAE,eAF4D;AAGnEC,EAAAA,MAAM,EAAE,QAH2D;AAInEC,EAAAA,QAAQ,EAAE,SAJyD;AAKnEC,EAAAA,EAAE,EAAE,YAL+D;AAMnEC,EAAAA,OAAO,EAAE,OAN0D;AAOnEC,EAAAA,MAAM,EAAE,QAP2D;AAQnEC,EAAAA,EAAE,EAAE,MAR+D;AASnEC,EAAAA,QAAQ,EAAE,OATyD;AAUnEC,EAAAA,MAAM,EAAE,QAV2D;AAWnE;AACAC,EAAAA,IAAI,EAAE,MAZ6D;AAanEC,EAAAA,MAAM,EAAE,aAb2D;AAcnEC,EAAAA,EAAE,EAAE,SAd+D;AAenEC,EAAAA,EAAE,EAAE,SAf+D;AAgBnEC,EAAAA,EAA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